@srimandir/kundli-generator 7.5.2 → 7.5.4

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,7 +1,7 @@
1
- import { k as e, h as Z, D as se, d as je, j as de, c as De, u as ye, L as ie, S as we, l as ve, t as Ce, C as Ue, P as $e, F as Be, U as qe, m as Oe, n as Me } from "./analytics-Fyq-Amgh.js";
2
- import { useRef as b, useState as R, useEffect as P, useCallback as X, useMemo as pe } from "react";
3
- import { UserReviewsSection as Ke, FAQAccordion as Qe, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as ze, CircularMarquee as We, footerShellStyles as Y } from "@srimandir/astrology-common";
4
- const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je = "_topicTags_1vvjv_23", Ze = "_tag_1vvjv_27", te = {
1
+ import { k as e, h as Z, D as ae, d as je, j as de, c as De, u as ye, L as oe, S as we, l as ve, t as Ce, C as Ue, P as $e, F as Be, U as Oe, m as qe, n as Me } from "./analytics-Fyq-Amgh.js";
2
+ import { useRef as b, useState as T, useEffect as C, useCallback as J, useMemo as pe } from "react";
3
+ import { UserReviewsSection as Ke, FAQAccordion as Qe, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as ze, CircularMarquee as We, footerShellStyles as X } from "@srimandir/astrology-common";
4
+ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je = "_topicTags_1vvjv_23", Ze = "_tag_1vvjv_27", ne = {
5
5
  hero: Ve,
6
6
  title: Ye,
7
7
  subtitle: Xe,
@@ -15,11 +15,11 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
15
15
  "topicCareer",
16
16
  "topicEducation",
17
17
  "topicMoney"
18
- ], ke = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.hero} ${a}`, "aria-labelledby": "hero-title", children: [
19
- /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: te.title, children: n("heroTitle") }),
20
- /* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("heroSubtitle") }),
21
- /* @__PURE__ */ e.jsx("div", { className: te.topicTags, role: "list", children: en.map((t) => /* @__PURE__ */ e.jsx("span", { className: te.tag, role: "listitem", children: n(t) }, t)) })
22
- ] }), nn = "_section_iqucz_1", tn = "_utmBanner_iqucz_9", an = "_utmBannerImg_iqucz_13", sn = "_backgroundLayer_iqucz_18", on = "_backgroundImg_iqucz_25", ln = "_inner_iqucz_32", rn = "_content_iqucz_38", cn = "_headline_iqucz_42", dn = "_headlineLine_iqucz_47", un = "_headlinePill_iqucz_52", pn = "_headlinePlain_iqucz_67", mn = "_featureList_iqucz_78", hn = "_featureItem_iqucz_85", gn = "_featureIcon_iqucz_90", xn = "_reportImage_iqucz_97", fn = "_reportImg_iqucz_107", _ = {
18
+ ], ke = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ne.hero} ${a}`, "aria-labelledby": "hero-title", children: [
19
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: ne.title, children: n("heroTitle") }),
20
+ /* @__PURE__ */ e.jsx("p", { className: ne.subtitle, children: n("heroSubtitle") }),
21
+ /* @__PURE__ */ e.jsx("div", { className: ne.topicTags, role: "list", children: en.map((t) => /* @__PURE__ */ e.jsx("span", { className: ne.tag, role: "listitem", children: n(t) }, t)) })
22
+ ] }), nn = "_section_iqucz_1", tn = "_utmBanner_iqucz_9", an = "_utmBannerImg_iqucz_13", sn = "_backgroundLayer_iqucz_18", on = "_backgroundImg_iqucz_25", ln = "_inner_iqucz_32", rn = "_content_iqucz_38", cn = "_headline_iqucz_42", dn = "_headlineLine_iqucz_47", un = "_headlinePill_iqucz_52", pn = "_headlinePlain_iqucz_67", mn = "_featureList_iqucz_78", hn = "_featureItem_iqucz_85", gn = "_featureIcon_iqucz_90", xn = "_reportImage_iqucz_97", fn = "_reportImg_iqucz_107", j = {
23
23
  section: nn,
24
24
  utmBanner: tn,
25
25
  utmBannerImg: an,
@@ -48,22 +48,22 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
48
48
  backgroundImagePriority: o = !1,
49
49
  analytics: s,
50
50
  utmBannerImageUrl: l,
51
- utmBannerAltText: r = "",
51
+ utmBannerAltText: c = "",
52
52
  className: m = ""
53
53
  }) => {
54
- const h = Z()?.config.imageComponent ?? se;
54
+ const h = Z()?.config.imageComponent ?? ae;
55
55
  if (l)
56
56
  return /* @__PURE__ */ e.jsx(
57
57
  "section",
58
58
  {
59
- className: `${_.utmBanner} ${m}`,
60
- "aria-label": r,
59
+ className: `${j.utmBanner} ${m}`,
60
+ "aria-label": c,
61
61
  children: /* @__PURE__ */ e.jsx(
62
62
  h,
63
63
  {
64
64
  src: l,
65
- alt: r,
66
- className: _.utmBannerImg,
65
+ alt: c,
66
+ className: j.utmBannerImg,
67
67
  priority: !0,
68
68
  fetchPriority: "high",
69
69
  loading: "eager",
@@ -72,25 +72,25 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
72
72
  )
73
73
  }
74
74
  );
75
- const f = () => {
75
+ const _ = () => {
76
76
  s?.trackBannerClicked?.();
77
77
  };
78
78
  return /* @__PURE__ */ e.jsxs(
79
79
  "section",
80
80
  {
81
- className: `${_.section} ${m}`,
81
+ className: `${j.section} ${m}`,
82
82
  "aria-labelledby": "premium-headline",
83
83
  role: "button",
84
84
  tabIndex: 0,
85
- onClick: f,
85
+ onClick: _,
86
86
  "data-hero": !0,
87
87
  children: [
88
- /* @__PURE__ */ e.jsx("div", { className: _.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
88
+ /* @__PURE__ */ e.jsx("div", { className: j.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
89
89
  h,
90
90
  {
91
91
  src: bn,
92
92
  alt: "",
93
- className: _.backgroundImg,
93
+ className: j.backgroundImg,
94
94
  width: 412,
95
95
  height: 215,
96
96
  sizes: "(max-width: 768px) 412px, 412px",
@@ -99,29 +99,29 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
99
99
  fetchPriority: "high"
100
100
  }
101
101
  ) }),
102
- /* @__PURE__ */ e.jsxs("div", { className: _.inner, children: [
103
- /* @__PURE__ */ e.jsxs("div", { className: _.content, children: [
104
- /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: _.headline, children: [
105
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
106
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("premiumHeadlinePill1") }),
107
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("premiumHeadlinePlain1") })
102
+ /* @__PURE__ */ e.jsxs("div", { className: j.inner, children: [
103
+ /* @__PURE__ */ e.jsxs("div", { className: j.content, children: [
104
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: j.headline, children: [
105
+ /* @__PURE__ */ e.jsxs("span", { className: j.headlineLine, children: [
106
+ /* @__PURE__ */ e.jsx("span", { className: j.headlinePill, children: n("premiumHeadlinePill1") }),
107
+ /* @__PURE__ */ e.jsx("span", { className: j.headlinePlain, children: n("premiumHeadlinePlain1") })
108
108
  ] }),
109
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
110
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("premiumHeadlinePlain2") }),
111
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("premiumHeadlinePill2") })
109
+ /* @__PURE__ */ e.jsxs("span", { className: j.headlineLine, children: [
110
+ /* @__PURE__ */ e.jsx("span", { className: j.headlinePlain, children: n("premiumHeadlinePlain2") }),
111
+ /* @__PURE__ */ e.jsx("span", { className: j.headlinePill, children: n("premiumHeadlinePill2") })
112
112
  ] }),
113
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
114
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("and") }),
115
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("astrologyGuidance") })
113
+ /* @__PURE__ */ e.jsxs("span", { className: j.headlineLine, children: [
114
+ /* @__PURE__ */ e.jsx("span", { className: j.headlinePlain, children: n("and") }),
115
+ /* @__PURE__ */ e.jsx("span", { className: j.headlinePill, children: n("astrologyGuidance") })
116
116
  ] })
117
117
  ] }),
118
- /* @__PURE__ */ e.jsx("ul", { className: _.featureList, children: jn.map((p) => /* @__PURE__ */ e.jsxs("li", { className: _.featureItem, children: [
118
+ /* @__PURE__ */ e.jsx("ul", { className: j.featureList, children: jn.map((p) => /* @__PURE__ */ e.jsxs("li", { className: j.featureItem, children: [
119
119
  /* @__PURE__ */ e.jsx(
120
120
  h,
121
121
  {
122
122
  src: _n,
123
123
  alt: "",
124
- className: _.featureIcon,
124
+ className: j.featureIcon,
125
125
  width: 16,
126
126
  height: 16,
127
127
  loading: "lazy"
@@ -130,12 +130,12 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
130
130
  n(p)
131
131
  ] }, p)) })
132
132
  ] }),
133
- /* @__PURE__ */ e.jsx("div", { className: _.reportImage, children: /* @__PURE__ */ e.jsx(
133
+ /* @__PURE__ */ e.jsx("div", { className: j.reportImage, children: /* @__PURE__ */ e.jsx(
134
134
  h,
135
135
  {
136
136
  src: a,
137
137
  alt: "",
138
- className: _.reportImg,
138
+ className: j.reportImg,
139
139
  width: 120,
140
140
  height: 160,
141
141
  priority: t,
@@ -157,7 +157,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
157
157
  logoUrl: a = kn,
158
158
  className: t = ""
159
159
  }) => {
160
- const s = Z()?.config.imageComponent ?? se;
160
+ const s = Z()?.config.imageComponent ?? ae;
161
161
  return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${t}`, "aria-labelledby": "certified-heading", children: [
162
162
  /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ce.heading, children: n("certifiedBy") }),
163
163
  /* @__PURE__ */ e.jsx(
@@ -172,7 +172,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
172
172
  }
173
173
  )
174
174
  ] });
175
- }, Nn = "_section_1d9aa_1", Pn = "_heading_1d9aa_6", In = "_subtitle_1d9aa_11", Ln = "_stepList_1d9aa_16", Tn = "_stepItem_1d9aa_20", Fn = "_stepNumber_1d9aa_24", Rn = "_stepText_1d9aa_30", Sn = "_step3Days_1d9aa_35", S = {
175
+ }, Nn = "_section_1d9aa_1", Pn = "_heading_1d9aa_6", In = "_subtitle_1d9aa_11", Ln = "_stepList_1d9aa_16", Tn = "_stepItem_1d9aa_20", Fn = "_stepNumber_1d9aa_24", Rn = "_stepText_1d9aa_30", Sn = "_step3Days_1d9aa_35", R = {
176
176
  section: Nn,
177
177
  heading: Pn,
178
178
  subtitle: In,
@@ -191,25 +191,25 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
191
191
  return /* @__PURE__ */ e.jsxs(
192
192
  "section",
193
193
  {
194
- className: `${S.section} ${o}`,
194
+ className: `${R.section} ${o}`,
195
195
  "aria-labelledby": "steps-heading",
196
196
  children: [
197
- /* @__PURE__ */ e.jsx("p", { className: S.heading, children: n("yourThreeSteps") }),
198
- /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: S.subtitle, children: n("threeStepsSubtitle") }),
199
- /* @__PURE__ */ e.jsxs("ol", { className: S.stepList, children: [
200
- En.map((l, r) => /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
201
- /* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: r + 1 }),
202
- /* @__PURE__ */ e.jsx("span", { className: S.stepText, children: n(l) })
197
+ /* @__PURE__ */ e.jsx("p", { className: R.heading, children: n("yourThreeSteps") }),
198
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: R.subtitle, children: n("threeStepsSubtitle") }),
199
+ /* @__PURE__ */ e.jsxs("ol", { className: R.stepList, children: [
200
+ En.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
201
+ /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: c + 1 }),
202
+ /* @__PURE__ */ e.jsx("span", { className: R.stepText, children: n(l) })
203
203
  ] }, l)),
204
- /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
205
- /* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: "3" }),
206
- /* @__PURE__ */ e.jsxs("span", { className: S.stepText, children: [
204
+ /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
205
+ /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: "3" }),
206
+ /* @__PURE__ */ e.jsxs("span", { className: R.stepText, children: [
207
207
  n(s),
208
208
  /* @__PURE__ */ e.jsx("br", {}),
209
209
  a === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
210
210
  "in ",
211
- /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
212
- ] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
211
+ /* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: n("step3Days") })
212
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: n("step3Days") })
213
213
  ] })
214
214
  ] })
215
215
  ] })
@@ -219,12 +219,12 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
219
219
  }, An = "_section_1jea1_1", Dn = "_button_1jea1_7", me = {
220
220
  section: An,
221
221
  button: Dn
222
- }, Un = "_backdrop_pekod_1", $n = "_modal_pekod_21", Bn = "_header_pekod_40", qn = "_title_pekod_49", On = "_closeBtn_pekod_56", Mn = "_content_pekod_76", Kn = "_pdfFrame_pekod_84", Qn = "_pdfPages_pekod_92", Hn = "_pdfError_pekod_97", Gn = "_openInNewTab_pekod_123", U = {
222
+ }, Un = "_backdrop_pekod_1", $n = "_modal_pekod_21", Bn = "_header_pekod_40", On = "_title_pekod_49", qn = "_closeBtn_pekod_56", Mn = "_content_pekod_76", Kn = "_pdfFrame_pekod_84", Qn = "_pdfPages_pekod_92", Hn = "_pdfError_pekod_97", Gn = "_openInNewTab_pekod_123", U = {
223
223
  backdrop: Un,
224
224
  modal: $n,
225
225
  header: Bn,
226
- title: qn,
227
- closeBtn: On,
226
+ title: On,
227
+ closeBtn: qn,
228
228
  content: Mn,
229
229
  pdfFrame: Kn,
230
230
  pdfPages: Qn,
@@ -240,39 +240,39 @@ const Le = ({
240
240
  title: t,
241
241
  pdfUrl: o
242
242
  }) => {
243
- const s = b(null), [l, r] = R(!0), [m, i] = R(null), [h, f] = R(null);
244
- return P(() => {
243
+ const s = b(null), [l, c] = T(!0), [m, i] = T(null), [h, _] = T(null);
244
+ return C(() => {
245
245
  if (!n) return;
246
- const p = (d) => {
247
- d.key === "Escape" && a();
246
+ const p = (u) => {
247
+ u.key === "Escape" && a();
248
248
  };
249
249
  return document.addEventListener("keydown", p), document.body.style.overflow = "hidden", () => {
250
250
  document.removeEventListener("keydown", p), document.body.style.overflow = "";
251
251
  };
252
- }, [n, a]), P(() => {
252
+ }, [n, a]), C(() => {
253
253
  n && import("pdfjs-dist").then((p) => {
254
- f(p);
254
+ _(p);
255
255
  }).catch((p) => {
256
- i("Failed to load PDF viewer"), r(!1);
256
+ i("Failed to load PDF viewer"), c(!1);
257
257
  });
258
- }, [n]), P(() => {
258
+ }, [n]), C(() => {
259
259
  if (!n || !o || !s.current || !h) return;
260
- r(!0), i(null), s.current.innerHTML = "", (async () => {
260
+ c(!0), i(null), s.current.innerHTML = "", (async () => {
261
261
  try {
262
262
  zn(h);
263
- const j = await h.getDocument({ url: o }).promise, I = s.current;
264
- if (!I) return;
265
- const C = I.clientWidth || 600, k = Math.min(C / 612, 2);
266
- for (let g = 1; g <= j.numPages; g++) {
267
- const c = await j.getPage(g), v = c.getViewport({ scale: k }), w = document.createElement("canvas");
263
+ const y = await h.getDocument({ url: o }).promise, P = s.current;
264
+ if (!P) return;
265
+ const k = P.clientWidth || 600, N = Math.min(k / 612, 2);
266
+ for (let f = 1; f <= y.numPages; f++) {
267
+ const d = await y.getPage(f), v = d.getViewport({ scale: N }), w = document.createElement("canvas");
268
268
  w.height = v.height, w.width = v.width, w.style.display = "block", w.style.margin = "0 auto 1rem", w.style.maxWidth = "100%";
269
- const L = w.getContext("2d");
270
- L && await c.render({ canvasContext: L, viewport: v }).promise, I.appendChild(w);
269
+ const I = w.getContext("2d");
270
+ I && await d.render({ canvasContext: I, viewport: v }).promise, P.appendChild(w);
271
271
  }
272
- } catch (d) {
273
- i(d instanceof Error ? d.message : "Failed to load PDF");
272
+ } catch (u) {
273
+ i(u instanceof Error ? u.message : "Failed to load PDF");
274
274
  } finally {
275
- r(!1);
275
+ c(!1);
276
276
  }
277
277
  })();
278
278
  }, [n, o, h]), n ? /* @__PURE__ */ e.jsx(
@@ -333,10 +333,10 @@ const Le = ({
333
333
  analytics: o,
334
334
  className: s = ""
335
335
  }) => {
336
- const [l, r] = R(!1), m = n("viewSampleReport"), i = n("sampleReportModalTitle"), h = () => {
337
- o?.trackViewSampleReportClicked?.(), t?.(), r(!0);
338
- }, f = () => {
339
- o?.trackViewSampleReportClosed?.(), r(!1);
336
+ const [l, c] = T(!1), m = n("viewSampleReport"), i = n("sampleReportModalTitle"), h = () => {
337
+ o?.trackViewSampleReportClicked?.(), t?.(), c(!0);
338
+ }, _ = () => {
339
+ o?.trackViewSampleReportClosed?.(), c(!1);
340
340
  };
341
341
  return /* @__PURE__ */ e.jsxs("section", { className: `${me.section} ${s}`, children: [
342
342
  /* @__PURE__ */ e.jsx("button", { type: "button", className: me.button, onClick: h, children: m }),
@@ -344,7 +344,7 @@ const Le = ({
344
344
  Le,
345
345
  {
346
346
  isOpen: l,
347
- onClose: f,
347
+ onClose: _,
348
348
  title: i,
349
349
  pdfUrl: a
350
350
  }
@@ -380,7 +380,7 @@ const Le = ({
380
380
  imageUrls: a = ot,
381
381
  className: t = ""
382
382
  }) => {
383
- const s = Z()?.config.imageComponent ?? se;
383
+ const s = Z()?.config.imageComponent ?? ae;
384
384
  return /* @__PURE__ */ e.jsxs(
385
385
  "section",
386
386
  {
@@ -388,11 +388,11 @@ const Le = ({
388
388
  "aria-labelledby": "find-heading",
389
389
  children: [
390
390
  /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: $.heading, children: n("whatYoullFindTitle") }),
391
- /* @__PURE__ */ e.jsx("ul", { className: $.list, children: it.map((l, r) => /* @__PURE__ */ e.jsxs("li", { className: $.item, children: [
392
- /* @__PURE__ */ e.jsx("div", { className: $.imageWrap, children: a[r] ? /* @__PURE__ */ e.jsx(
391
+ /* @__PURE__ */ e.jsx("ul", { className: $.list, children: it.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: $.item, children: [
392
+ /* @__PURE__ */ e.jsx("div", { className: $.imageWrap, children: a[c] ? /* @__PURE__ */ e.jsx(
393
393
  s,
394
394
  {
395
- src: a[r],
395
+ src: a[c],
396
396
  alt: "",
397
397
  className: $.image,
398
398
  width: 96,
@@ -409,16 +409,16 @@ const Le = ({
409
409
  ]
410
410
  }
411
411
  );
412
- }, lt = "_section_75s76_1", rt = "_heading_75s76_6", ct = "_subtitle_75s76_11", dt = "_list_75s76_16", ut = "_item_75s76_20", ae = {
412
+ }, lt = "_section_75s76_1", rt = "_heading_75s76_6", ct = "_subtitle_75s76_11", dt = "_list_75s76_16", ut = "_item_75s76_20", te = {
413
413
  section: lt,
414
414
  heading: rt,
415
415
  subtitle: ct,
416
416
  list: dt,
417
417
  item: ut
418
- }, pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ae.section} ${a}`, "aria-labelledby": "why-heading", children: [
419
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: ae.heading, children: n("whyUsTitle") }),
420
- /* @__PURE__ */ e.jsx("p", { className: ae.subtitle, children: n("whyUsSubtitle") }),
421
- /* @__PURE__ */ e.jsx("ul", { className: ae.list, children: pt.map((t) => /* @__PURE__ */ e.jsx("li", { className: ae.item, children: n(t) }, t)) })
418
+ }, pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.section} ${a}`, "aria-labelledby": "why-heading", children: [
419
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: te.heading, children: n("whyUsTitle") }),
420
+ /* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("whyUsSubtitle") }),
421
+ /* @__PURE__ */ e.jsx("ul", { className: te.list, children: pt.map((t) => /* @__PURE__ */ e.jsx("li", { className: te.item, children: n(t) }, t)) })
422
422
  ] }), mt = "_headingBold_g8xg7_1", ht = {
423
423
  headingBold: mt
424
424
  }, Re = ({
@@ -448,7 +448,7 @@ const Le = ({
448
448
  className: a = "",
449
449
  headingClassName: t = xt.headingBold
450
450
  }) => {
451
- const s = Z()?.config.isGlobal ?? !0, l = (r) => r === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : r;
451
+ const s = Z()?.config.isGlobal ?? !0, l = (c) => c === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : c;
452
452
  return /* @__PURE__ */ e.jsx(
453
453
  Qe,
454
454
  {
@@ -468,30 +468,30 @@ const Le = ({
468
468
  brandName: s,
469
469
  className: l = ""
470
470
  }) => {
471
- const m = Z()?.config.isGlobal ?? !0, i = a ?? he, h = t ?? ge, f = o ?? xe, p = m ? n("contactWhatsAppGlobal").replace(he, i) : n("contactWhatsAppDomestic").replace(ge, h), d = n("contactEmail").replace(xe, f);
471
+ const m = Z()?.config.isGlobal ?? !0, i = a ?? he, h = t ?? ge, _ = o ?? xe, p = m ? n("contactWhatsAppGlobal").replace(he, i) : n("contactWhatsAppDomestic").replace(ge, h), u = n("contactEmail").replace(xe, _);
472
472
  return /* @__PURE__ */ e.jsx(
473
473
  He,
474
474
  {
475
475
  title: n("contactTitle"),
476
476
  brandName: s ?? n("contactBrandName"),
477
477
  whatsAppLine: p,
478
- emailLine: d,
478
+ emailLine: u,
479
479
  className: l
480
480
  }
481
481
  );
482
482
  }, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", jt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", yt = ({ t: n }) => {
483
- const t = Z()?.config.imageComponent ?? se;
484
- return /* @__PURE__ */ e.jsxs("div", { className: Y.marqueeContent, children: [
485
- /* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
486
- /* @__PURE__ */ e.jsx(t, { src: _t, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
483
+ const t = Z()?.config.imageComponent ?? ae;
484
+ return /* @__PURE__ */ e.jsxs("div", { className: X.marqueeContent, children: [
485
+ /* @__PURE__ */ e.jsxs("span", { className: X.badge, children: [
486
+ /* @__PURE__ */ e.jsx(t, { src: _t, alt: "", className: X.badgeIcon, width: 16, height: 16, loading: "lazy" }),
487
487
  n("ctaKundliCreated")
488
488
  ] }),
489
- /* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
490
- /* @__PURE__ */ e.jsx(t, { src: bt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
489
+ /* @__PURE__ */ e.jsxs("span", { className: X.badge, children: [
490
+ /* @__PURE__ */ e.jsx(t, { src: bt, alt: "", className: X.badgeIcon, width: 16, height: 16, loading: "lazy" }),
491
491
  n("ctaCertified")
492
492
  ] }),
493
- /* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
494
- /* @__PURE__ */ e.jsx(t, { src: jt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
493
+ /* @__PURE__ */ e.jsxs("span", { className: X.badge, children: [
494
+ /* @__PURE__ */ e.jsx(t, { src: jt, alt: "", className: X.badgeIcon, width: 16, height: 16, loading: "lazy" }),
495
495
  n("ctaSecurePayment")
496
496
  ] })
497
497
  ] });
@@ -510,7 +510,7 @@ const Le = ({
510
510
  children: /* @__PURE__ */ e.jsx(ze, { href: t, onClick: a, children: s })
511
511
  }
512
512
  );
513
- }, vt = "_container_nm3gb_1", Ct = "_main_nm3gb_6", kt = "_langDropdownWrap_nm3gb_12", Nt = "_langTrigger_nm3gb_16", Pt = "_langIcon_nm3gb_28", It = "_langLabel_nm3gb_35", Lt = "_langMenu_nm3gb_40", Tt = "_langOption_nm3gb_46", z = {
513
+ }, vt = "_container_nm3gb_1", Ct = "_main_nm3gb_6", kt = "_langDropdownWrap_nm3gb_12", Nt = "_langTrigger_nm3gb_16", Pt = "_langIcon_nm3gb_28", It = "_langLabel_nm3gb_35", Lt = "_langMenu_nm3gb_40", Tt = "_langOption_nm3gb_46", W = {
514
514
  container: vt,
515
515
  main: Ct,
516
516
  langDropdownWrap: kt,
@@ -526,10 +526,10 @@ function B({
526
526
  onImpression: t
527
527
  }) {
528
528
  const o = b(null), s = b(!1);
529
- return P(() => {
529
+ return C(() => {
530
530
  const l = o.current;
531
531
  if (!l) return;
532
- const r = new IntersectionObserver(
532
+ const c = new IntersectionObserver(
533
533
  ([m]) => {
534
534
  !m?.isIntersecting || s.current || (s.current = !0, t(n));
535
535
  },
@@ -539,7 +539,7 @@ function B({
539
539
  rootMargin: `0px 0px -${St}px 0px`
540
540
  }
541
541
  );
542
- return r.observe(l), () => r.disconnect();
542
+ return c.observe(l), () => c.disconnect();
543
543
  }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
544
544
  }
545
545
  function Et({ className: n }) {
@@ -552,118 +552,118 @@ function At({ className: n }) {
552
552
  setLocale: o,
553
553
  config: s,
554
554
  goToForm: l
555
- } = de(), r = s.resolvedUtmBannerImageUrl || void 0, [m, i] = R(!1), h = b(null), f = b(s.locale), p = b(
555
+ } = de(), c = s.resolvedUtmBannerImageUrl || void 0, [m, i] = T(!1), h = b(null), _ = b(s.locale), p = b(
556
556
  a?.locale
557
557
  );
558
- P(() => {
559
- s.locale && f.current !== s.locale && o(s.locale), f.current = s.locale;
560
- }, [s.locale, o]), P(() => {
558
+ C(() => {
559
+ s.locale && _.current !== s.locale && o(s.locale), _.current = s.locale;
560
+ }, [s.locale, o]), C(() => {
561
561
  if (s.locale) return;
562
- const c = a?.locale;
563
- c && p.current !== c && o(c), p.current = c;
564
- }, [a?.locale, s.locale, o]), P(() => {
562
+ const d = a?.locale;
563
+ d && p.current !== d && o(d), p.current = d;
564
+ }, [a?.locale, s.locale, o]), C(() => {
565
565
  if (!m) return;
566
- const c = (v) => {
566
+ const d = (v) => {
567
567
  h.current && !h.current.contains(v.target) && i(!1);
568
568
  };
569
- return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
569
+ return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
570
570
  }, [m]);
571
- const d = (c) => Rt(t, c), j = s.showLanguageSelector ?? !0, I = s.imageComponent ?? se, C = j ? /* @__PURE__ */ e.jsxs("div", { className: z.langDropdownWrap, ref: h, children: [
571
+ const u = (d) => Rt(t, d), y = s.showLanguageSelector ?? !0, P = s.imageComponent ?? ae, k = y ? /* @__PURE__ */ e.jsxs("div", { className: W.langDropdownWrap, ref: h, children: [
572
572
  /* @__PURE__ */ e.jsxs(
573
573
  "button",
574
574
  {
575
575
  type: "button",
576
- className: z.langTrigger,
576
+ className: W.langTrigger,
577
577
  onClick: () => {
578
- s.analytics?.trackLanguageClickedFe?.({ language: t }), i((c) => !c);
578
+ s.analytics?.trackLanguageClickedFe?.({ language: t }), i((d) => !d);
579
579
  },
580
580
  "aria-expanded": m,
581
581
  "aria-haspopup": "listbox",
582
582
  id: "kundli-lang",
583
- "aria-label": d("language"),
583
+ "aria-label": u("language"),
584
584
  children: [
585
585
  /* @__PURE__ */ e.jsx(
586
- I,
586
+ P,
587
587
  {
588
588
  src: Ft,
589
589
  alt: "",
590
- className: z.langIcon,
590
+ className: W.langIcon,
591
591
  width: 16,
592
592
  height: 16,
593
593
  loading: "eager"
594
594
  }
595
595
  ),
596
- /* @__PURE__ */ e.jsx("span", { className: z.langLabel, children: ie[t] })
596
+ /* @__PURE__ */ e.jsx("span", { className: W.langLabel, children: oe[t] })
597
597
  ]
598
598
  }
599
599
  ),
600
600
  m && /* @__PURE__ */ e.jsx(
601
601
  "ul",
602
602
  {
603
- className: z.langMenu,
603
+ className: W.langMenu,
604
604
  role: "listbox",
605
605
  "aria-labelledby": "kundli-lang",
606
606
  "aria-activedescendant": `kundli-lang-option-${t}`,
607
- children: we.map((c) => /* @__PURE__ */ e.jsx(
607
+ children: we.map((d) => /* @__PURE__ */ e.jsx(
608
608
  "li",
609
609
  {
610
- id: `kundli-lang-option-${c}`,
610
+ id: `kundli-lang-option-${d}`,
611
611
  role: "option",
612
- "aria-selected": c === t,
613
- className: z.langOption,
612
+ "aria-selected": d === t,
613
+ className: W.langOption,
614
614
  onClick: () => {
615
- s.analytics?.trackLanguageChangedFe?.({ newLanguage: c }), o(c), i(!1);
615
+ s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), o(d), i(!1);
616
616
  },
617
- children: ie[c]
617
+ children: oe[d]
618
618
  },
619
- c
619
+ d
620
620
  ))
621
621
  }
622
622
  )
623
- ] }) : null, k = (c) => {
624
- const v = c.currentTarget.innerText?.trim() ?? d("ctaButtonAfter");
623
+ ] }) : null, N = (d) => {
624
+ const v = d.currentTarget.innerText?.trim() ?? u("ctaButtonAfter");
625
625
  s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v }), l(), s.onCtaClick?.();
626
- }, g = X(
627
- (c) => {
626
+ }, f = J(
627
+ (d) => {
628
628
  s.analytics?.trackDetailedKundliReportImpressionFe?.({
629
- section: c,
629
+ section: d,
630
630
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
631
631
  });
632
632
  },
633
633
  [s.analytics]
634
634
  );
635
- return /* @__PURE__ */ e.jsxs("div", { className: `${z.container} ${n}`, children: [
635
+ return /* @__PURE__ */ e.jsxs("div", { className: `${W.container} ${n}`, children: [
636
636
  /* @__PURE__ */ e.jsx(
637
637
  ve,
638
638
  {
639
- t: d,
639
+ t: u,
640
640
  logoUrl: s.logoUrl,
641
- languageSelector: C
641
+ languageSelector: k
642
642
  }
643
643
  ),
644
- /* @__PURE__ */ e.jsxs("main", { className: z.main, children: [
644
+ /* @__PURE__ */ e.jsxs("main", { className: W.main, children: [
645
645
  /* @__PURE__ */ e.jsx(
646
646
  B,
647
647
  {
648
648
  section: "hero",
649
- onImpression: g,
650
- children: /* @__PURE__ */ e.jsx(ke, { t: d })
649
+ onImpression: f,
650
+ children: /* @__PURE__ */ e.jsx(ke, { t: u })
651
651
  }
652
652
  ),
653
653
  /* @__PURE__ */ e.jsx(
654
654
  B,
655
655
  {
656
656
  section: "premium_report_overview",
657
- onImpression: g,
657
+ onImpression: f,
658
658
  children: /* @__PURE__ */ e.jsx(
659
659
  Ne,
660
660
  {
661
- t: d,
661
+ t: u,
662
662
  reportImageUrl: s.reportImageUrl,
663
663
  reportImagePriority: s.reportImagePriority,
664
664
  backgroundImagePriority: s.backgroundImagePriority,
665
665
  analytics: s.analytics,
666
- utmBannerImageUrl: r,
666
+ utmBannerImageUrl: c,
667
667
  utmBannerAltText: ""
668
668
  }
669
669
  )
@@ -673,12 +673,12 @@ function At({ className: n }) {
673
673
  B,
674
674
  {
675
675
  section: "university_certification",
676
- onImpression: g,
676
+ onImpression: f,
677
677
  children: /* @__PURE__ */ e.jsx(
678
678
  Pe,
679
679
  {
680
- t: d,
681
- logoUrl: s.universityLogoUrls?.find((c) => !!c)
680
+ t: u,
681
+ logoUrl: s.universityLogoUrls?.find((d) => !!d)
682
682
  }
683
683
  )
684
684
  }
@@ -687,19 +687,19 @@ function At({ className: n }) {
687
687
  B,
688
688
  {
689
689
  section: "three_steps_process",
690
- onImpression: g,
691
- children: /* @__PURE__ */ e.jsx(Ie, { t: d, locale: t, isGlobal: s.isGlobal })
690
+ onImpression: f,
691
+ children: /* @__PURE__ */ e.jsx(Ie, { t: u, locale: t, isGlobal: s.isGlobal })
692
692
  }
693
693
  ),
694
694
  /* @__PURE__ */ e.jsx(
695
695
  B,
696
696
  {
697
697
  section: "view_sample_report",
698
- onImpression: g,
698
+ onImpression: f,
699
699
  children: /* @__PURE__ */ e.jsx(
700
700
  ue,
701
701
  {
702
- t: d,
702
+ t: u,
703
703
  pdfUrl: s.sampleReportHref,
704
704
  onClick: s.onViewSampleReport,
705
705
  analytics: s.analytics
@@ -711,27 +711,27 @@ function At({ className: n }) {
711
711
  B,
712
712
  {
713
713
  section: "what_youll_find",
714
- onImpression: g,
715
- children: /* @__PURE__ */ e.jsx(Te, { t: d })
714
+ onImpression: f,
715
+ children: /* @__PURE__ */ e.jsx(Te, { t: u })
716
716
  }
717
717
  ),
718
718
  /* @__PURE__ */ e.jsx(
719
719
  B,
720
720
  {
721
721
  section: "why_us",
722
- onImpression: g,
723
- children: /* @__PURE__ */ e.jsx(Fe, { t: d })
722
+ onImpression: f,
723
+ children: /* @__PURE__ */ e.jsx(Fe, { t: u })
724
724
  }
725
725
  ),
726
726
  /* @__PURE__ */ e.jsx(
727
727
  B,
728
728
  {
729
729
  section: "feedback",
730
- onImpression: g,
730
+ onImpression: f,
731
731
  children: /* @__PURE__ */ e.jsx(
732
732
  Re,
733
733
  {
734
- t: d,
734
+ t: u,
735
735
  readMoreHref: s.readMoreReviewsHref,
736
736
  onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
737
737
  }
@@ -742,25 +742,25 @@ function At({ className: n }) {
742
742
  B,
743
743
  {
744
744
  section: "faq",
745
- onImpression: g,
746
- children: /* @__PURE__ */ e.jsx(Se, { t: d })
745
+ onImpression: f,
746
+ children: /* @__PURE__ */ e.jsx(Se, { t: u })
747
747
  }
748
748
  ),
749
749
  /* @__PURE__ */ e.jsx(
750
750
  B,
751
751
  {
752
752
  section: "contact_us",
753
- onImpression: g,
754
- children: /* @__PURE__ */ e.jsx(Ee, { t: d })
753
+ onImpression: f,
754
+ children: /* @__PURE__ */ e.jsx(Ee, { t: u })
755
755
  }
756
756
  )
757
757
  ] }),
758
758
  /* @__PURE__ */ e.jsx(
759
759
  wt,
760
760
  {
761
- t: d,
761
+ t: u,
762
762
  ctaHref: s.ctaHref,
763
- onCtaClick: s.ctaHref ? void 0 : k
763
+ onCtaClick: s.ctaHref ? void 0 : N
764
764
  }
765
765
  )
766
766
  ] });
@@ -772,26 +772,26 @@ const Dt = ({
772
772
  showSheet: o,
773
773
  userId: s,
774
774
  isGlobal: l,
775
- googleMapsApiKey: r,
775
+ googleMapsApiKey: c,
776
776
  atlasSearchLocalities: m,
777
777
  googleMapsAutocompleteEnabled: i,
778
778
  logoUrl: h,
779
- reportImageUrl: f,
779
+ reportImageUrl: _,
780
780
  universityLogoUrls: p,
781
- sampleReportHref: d,
782
- onViewSampleReport: j,
783
- ctaHref: I,
784
- onCtaClick: C,
785
- readMoreReviewsHref: k,
786
- onProceed: g,
787
- onProceedGuidance: c,
781
+ sampleReportHref: u,
782
+ onViewSampleReport: y,
783
+ ctaHref: P,
784
+ onCtaClick: k,
785
+ readMoreReviewsHref: N,
786
+ onProceed: f,
787
+ onProceedGuidance: d,
788
788
  proceedHref: v,
789
789
  originalPriceLabel: w,
790
- discountedPriceLabel: L,
791
- discountPillLabel: A,
792
- analytics: O,
790
+ discountedPriceLabel: I,
791
+ discountPillLabel: E,
792
+ analytics: q,
793
793
  onLocaleChange: M,
794
- resolvedUtmBannerImageUrl: W
794
+ resolvedUtmBannerImageUrl: Q
795
795
  }) => /* @__PURE__ */ e.jsx(
796
796
  je,
797
797
  {
@@ -800,34 +800,34 @@ const Dt = ({
800
800
  showSheet: o,
801
801
  userId: s,
802
802
  isGlobal: l,
803
- googleMapsApiKey: r,
803
+ googleMapsApiKey: c,
804
804
  atlasSearchLocalities: m,
805
805
  googleMapsAutocompleteEnabled: i,
806
806
  logoUrl: h,
807
- reportImageUrl: f,
807
+ reportImageUrl: _,
808
808
  universityLogoUrls: p,
809
- sampleReportHref: d,
810
- onViewSampleReport: j,
811
- ctaHref: I,
812
- onCtaClick: C,
813
- readMoreReviewsHref: k,
814
- onProceed: g,
815
- onProceedGuidance: c,
809
+ sampleReportHref: u,
810
+ onViewSampleReport: y,
811
+ ctaHref: P,
812
+ onCtaClick: k,
813
+ readMoreReviewsHref: N,
814
+ onProceed: f,
815
+ onProceedGuidance: d,
816
816
  proceedHref: v,
817
817
  originalPriceLabel: w,
818
- discountedPriceLabel: L,
819
- discountPillLabel: A,
820
- analytics: O,
818
+ discountedPriceLabel: I,
819
+ discountPillLabel: E,
820
+ analytics: q,
821
821
  onLocaleChange: M,
822
- resolvedUtmBannerImageUrl: W,
822
+ resolvedUtmBannerImageUrl: Q,
823
823
  children: /* @__PURE__ */ e.jsx(Et, { className: n })
824
824
  }
825
- ), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", qt = "_langTrigger_1b9qe_16", Ot = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74", q = {
825
+ ), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", Ot = "_langTrigger_1b9qe_16", qt = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74", O = {
826
826
  container: Ut,
827
827
  main: $t,
828
828
  langDropdownWrap: Bt,
829
- langTrigger: qt,
830
- langIcon: Ot,
829
+ langTrigger: Ot,
830
+ langIcon: qt,
831
831
  langLabel: Mt,
832
832
  langMenu: Kt,
833
833
  langOption: Qt,
@@ -1024,7 +1024,7 @@ const Wt = 5e3, Vt = 84, Yt = `
1024
1024
  onChipClick: t
1025
1025
  }) => {
1026
1026
  const o = Math.ceil(n.length / 2), s = [n.slice(0, o), n.slice(o)];
1027
- return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: s.map((l, r) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((m) => /* @__PURE__ */ e.jsx(
1027
+ return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: s.map((l, c) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((m) => /* @__PURE__ */ e.jsx(
1028
1028
  "button",
1029
1029
  {
1030
1030
  type: "button",
@@ -1033,7 +1033,7 @@ const Wt = 5e3, Vt = 84, Yt = `
1033
1033
  children: a(m)
1034
1034
  },
1035
1035
  m
1036
- )) }, r)) }) });
1036
+ )) }, c)) }) });
1037
1037
  }, aa = ({
1038
1038
  textareaRef: n,
1039
1039
  value: a,
@@ -1041,11 +1041,11 @@ const Wt = 5e3, Vt = 84, Yt = `
1041
1041
  placeholder: o,
1042
1042
  chipKeys: s,
1043
1043
  t: l,
1044
- onFocus: r,
1044
+ onFocus: c,
1045
1045
  onClick: m,
1046
1046
  onChange: i,
1047
1047
  onChipClick: h,
1048
- onViewSample: f
1048
+ onViewSample: _
1049
1049
  }) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
1050
1050
  /* @__PURE__ */ e.jsx(
1051
1051
  "div",
@@ -1061,11 +1061,11 @@ const Wt = 5e3, Vt = 84, Yt = `
1061
1061
  t,
1062
1062
  /* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
1063
1063
  ] }),
1064
- f && /* @__PURE__ */ e.jsxs(
1064
+ _ && /* @__PURE__ */ e.jsxs(
1065
1065
  "button",
1066
1066
  {
1067
1067
  type: "button",
1068
- onClick: f,
1068
+ onClick: _,
1069
1069
  className: "flex items-center gap-1 text-[13px] font-semibold text-[#e05c2a] underline underline-offset-2",
1070
1070
  children: [
1071
1071
  /* @__PURE__ */ e.jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
@@ -1088,13 +1088,13 @@ const Wt = 5e3, Vt = 84, Yt = `
1088
1088
  style: { height: "100px" },
1089
1089
  placeholder: o,
1090
1090
  value: a,
1091
- onFocus: r,
1091
+ onFocus: c,
1092
1092
  onClick: m,
1093
1093
  onChange: i
1094
1094
  }
1095
1095
  ),
1096
1096
  /* @__PURE__ */ e.jsx(ta, { chipKeys: s, t: l, onChipClick: h })
1097
- ] }), sa = "_card_62fy9_1", ia = "_top_62fy9_15", oa = "_avatar_62fy9_21", la = "_avatarPlaceholder_62fy9_38", ra = "_basicInfo_62fy9_44", ca = "_name_62fy9_51", da = "_exp_62fy9_61", ua = "_langs_62fy9_62", pa = "_divider_62fy9_69", ma = "_certList_62fy9_75", ha = "_certItem_62fy9_81", ga = "_bullet_62fy9_90", E = {
1097
+ ] }), sa = "_card_62fy9_1", ia = "_top_62fy9_15", oa = "_avatar_62fy9_21", la = "_avatarPlaceholder_62fy9_38", ra = "_basicInfo_62fy9_44", ca = "_name_62fy9_51", da = "_exp_62fy9_61", ua = "_langs_62fy9_62", pa = "_divider_62fy9_69", ma = "_certList_62fy9_75", ha = "_certItem_62fy9_81", ga = "_bullet_62fy9_90", S = {
1098
1098
  card: sa,
1099
1099
  top: ia,
1100
1100
  avatar: oa,
@@ -1107,18 +1107,18 @@ const Wt = 5e3, Vt = 84, Yt = `
1107
1107
  certList: ma,
1108
1108
  certItem: ha,
1109
1109
  bullet: ga
1110
- }, xa = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1111
- /* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
1112
- /* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: a?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
1113
- /* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
1114
- /* @__PURE__ */ e.jsx("p", { className: E.name, children: a?.(n.name) ?? n.name }),
1115
- /* @__PURE__ */ e.jsx("p", { className: E.exp, children: a?.(n.experience) ?? n.experience }),
1116
- n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
1110
+ }, xa = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: S.card, children: [
1111
+ /* @__PURE__ */ e.jsxs("div", { className: S.top, children: [
1112
+ /* @__PURE__ */ e.jsx("div", { className: S.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: a?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: S.avatarPlaceholder, children: n.name.charAt(0) }) }),
1113
+ /* @__PURE__ */ e.jsxs("div", { className: S.basicInfo, children: [
1114
+ /* @__PURE__ */ e.jsx("p", { className: S.name, children: a?.(n.name) ?? n.name }),
1115
+ /* @__PURE__ */ e.jsx("p", { className: S.exp, children: a?.(n.experience) ?? n.experience }),
1116
+ n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: S.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
1117
1117
  ] })
1118
1118
  ] }),
1119
- /* @__PURE__ */ e.jsx("div", { className: E.divider }),
1120
- /* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1121
- /* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
1119
+ /* @__PURE__ */ e.jsx("div", { className: S.divider }),
1120
+ /* @__PURE__ */ e.jsx("div", { className: S.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: S.certItem, children: [
1121
+ /* @__PURE__ */ e.jsx("span", { className: S.bullet, children: "✓" }),
1122
1122
  " ",
1123
1123
  a?.(t) ?? t
1124
1124
  ] }, o)) })
@@ -1249,70 +1249,70 @@ const Wt = 5e3, Vt = 84, Yt = `
1249
1249
  onSelectPlan: o,
1250
1250
  plans: s,
1251
1251
  onProceed: l,
1252
- locale: r = "en",
1252
+ locale: c = "en",
1253
1253
  t: m,
1254
1254
  analytics: i,
1255
1255
  isGlobal: h = !0,
1256
- oneQuestionSampleHref: f
1256
+ oneQuestionSampleHref: _
1257
1257
  }) => {
1258
- const p = X((x) => (fe[r] ?? fe.en)[x] ?? m?.(x) ?? x, [r, m]), d = pe(() => s ?? zt(h), [s, h]), j = t?.id || d.find((x) => x.badge)?.id || d[0]?.id || "", I = b(null), C = b(null), k = b(null), g = b(!1), [c, v] = R(""), [w, L] = R(!1), [A, O] = R("custom"), [M, W] = R(null), [H, V] = R(!1), G = b(!1), y = b(null), T = pe(() => d.find((x) => x.id === j) ?? d[0], [d, j]), K = !!T?.supportsQuestion, oe = !K || c.trim().length > 0, F = X(() => {
1259
- const x = y.current;
1258
+ const p = J((x) => (fe[c] ?? fe.en)[x] ?? m?.(x) ?? x, [c, m]), u = pe(() => s ?? zt(h), [s, h]), y = t?.id || u.find((x) => x.badge)?.id || u[0]?.id || "", P = b(null), k = b(null), N = b(null), f = b(!1), [d, v] = T(""), [w, I] = T(!1), [E, q] = T("custom"), [M, Q] = T(null), [H, V] = T(!1), G = b(!1), ee = b(null), g = pe(() => u.find((x) => x.id === y) ?? u[0], [u, y]), K = !!g?.supportsQuestion, le = !K || d.trim().length > 0, se = J(() => {
1259
+ const x = ee.current;
1260
1260
  x && (x.style.height = "auto", x.style.height = Math.max(100, Math.min(x.scrollHeight, Vt)) + "px");
1261
1261
  }, []);
1262
- P(() => {
1262
+ C(() => {
1263
1263
  if (n) {
1264
1264
  if (!t) {
1265
- const x = d.find((N) => N.badge) ?? d[0];
1265
+ const x = u.find((L) => L.badge) ?? u[0];
1266
1266
  x && o(x);
1267
1267
  }
1268
- g.current || (i?.trackPlanPageViewed?.(), g.current = !0);
1268
+ f.current || (i?.trackPlanPageViewed?.(), f.current = !0);
1269
1269
  } else
1270
- g.current = !1;
1271
- }, [n, d, t, o, i]), P(() => {
1270
+ f.current = !1;
1271
+ }, [n, u, t, o, i]), C(() => {
1272
1272
  if (!n) return;
1273
1273
  const x = document.body.style.overflow;
1274
1274
  return document.body.style.overflow = "hidden", () => {
1275
1275
  document.body.style.overflow = x;
1276
1276
  };
1277
1277
  }, [n]);
1278
- const le = () => {
1278
+ const F = () => {
1279
1279
  i?.trackPlanPageClosed?.(), a();
1280
- }, u = (x) => {
1281
- const N = C.current, ne = k.current;
1282
- if (N && ne) {
1283
- const re = ne.getBoundingClientRect().top - N.getBoundingClientRect().top + N.scrollTop;
1284
- N.scrollTo({ top: re, behavior: "smooth" });
1280
+ }, ie = (x) => {
1281
+ const L = k.current, Y = N.current;
1282
+ if (L && Y) {
1283
+ const re = Y.getBoundingClientRect().top - L.getBoundingClientRect().top + L.scrollTop;
1284
+ L.scrollTo({ top: re, behavior: "smooth" });
1285
1285
  }
1286
1286
  G.current || (G.current = !0, i?.trackQuestionTextboxClicked?.({
1287
1287
  entry_method: x,
1288
- textbox_empty: c.length === 0
1288
+ textbox_empty: d.length === 0
1289
1289
  }));
1290
- }, Q = (x) => {
1291
- const N = x.target.value.slice(0, Wt);
1292
- A === "chip" && N !== p(_e[M ?? 0]) && O("chip_edited"), v(N), F(), H && V(!1);
1293
- }, J = (x, N) => {
1294
- const ne = p(x), re = c.length > 0 && A !== "chip";
1290
+ }, r = (x) => {
1291
+ const L = x.target.value.slice(0, Wt);
1292
+ E === "chip" && L !== p(_e[M ?? 0]) && q("chip_edited"), v(L), se(), H && V(!1);
1293
+ }, D = (x, L) => {
1294
+ const Y = p(x), re = d.length > 0 && E !== "chip";
1295
1295
  i?.trackPreSuggestedQuestionSelected?.({
1296
- question_text_loaded: ne,
1297
- chip_index: N,
1296
+ question_text_loaded: Y,
1297
+ chip_index: L,
1298
1298
  previous_chip_index: M,
1299
1299
  user_had_custom_text: re
1300
- }), v(ne), O("chip"), W(N), G.current = !1, setTimeout(F, 0);
1301
- }, ee = () => {
1302
- if (T) {
1303
- if (K && !c.trim()) {
1300
+ }), v(Y), q("chip"), Q(L), G.current = !1, setTimeout(se, 0);
1301
+ }, z = () => {
1302
+ if (g) {
1303
+ if (K && !d.trim()) {
1304
1304
  V(!0);
1305
1305
  return;
1306
1306
  }
1307
1307
  i?.trackPlanProceedClicked?.({
1308
- planId: T.id,
1309
- planName: T.title,
1310
- price: T.price,
1308
+ planId: g.id,
1309
+ planName: g.title,
1310
+ price: g.price,
1311
1311
  currency: h ? "USD" : "INR",
1312
1312
  question_asked: K ? !0 : void 0,
1313
- question_text: K ? c.trim() : void 0,
1314
- question_source: K ? A : void 0
1315
- }), l(T, K ? c.trim() : void 0), a();
1313
+ question_text: K ? d.trim() : void 0,
1314
+ question_source: K ? E : void 0
1315
+ }), l(g, K ? d.trim() : void 0), a();
1316
1316
  }
1317
1317
  };
1318
1318
  return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -1327,36 +1327,36 @@ const Wt = 5e3, Vt = 84, Yt = `
1327
1327
  children: /* @__PURE__ */ e.jsxs(
1328
1328
  "div",
1329
1329
  {
1330
- ref: I,
1330
+ ref: P,
1331
1331
  className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
1332
1332
  style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
1333
1333
  children: [
1334
- /* @__PURE__ */ e.jsx(Xt, { title: p("planSheetTitle"), onClose: le }),
1335
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: C, children: [
1336
- /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: p(T?.title ?? "") }),
1337
- T && /* @__PURE__ */ e.jsx(na, { plan: T, t: p }),
1338
- K && /* @__PURE__ */ e.jsx("div", { ref: k, children: /* @__PURE__ */ e.jsx(
1334
+ /* @__PURE__ */ e.jsx(Xt, { title: p("planSheetTitle"), onClose: F }),
1335
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: k, children: [
1336
+ /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: p(g?.title ?? "") }),
1337
+ g && /* @__PURE__ */ e.jsx(na, { plan: g, t: p }),
1338
+ K && /* @__PURE__ */ e.jsx("div", { ref: N, children: /* @__PURE__ */ e.jsx(
1339
1339
  aa,
1340
1340
  {
1341
- textareaRef: y,
1342
- value: c,
1341
+ textareaRef: ee,
1342
+ value: d,
1343
1343
  label: p("planQuestionLabel"),
1344
1344
  placeholder: p("planQuestionPlaceholder"),
1345
1345
  chipKeys: _e,
1346
1346
  t: p,
1347
- onFocus: () => u("keyboard_focus"),
1348
- onClick: () => u("tap"),
1349
- onChange: Q,
1350
- onChipClick: J,
1351
- onViewSample: f ? () => {
1352
- i?.trackOneQuestionViewSampleReportClicked?.(), L(!0);
1347
+ onFocus: () => ie("keyboard_focus"),
1348
+ onClick: () => ie("tap"),
1349
+ onChange: r,
1350
+ onChipClick: D,
1351
+ onViewSample: _ ? () => {
1352
+ i?.trackOneQuestionViewSampleReportClicked?.(), I(!0);
1353
1353
  } : void 0
1354
1354
  }
1355
1355
  ) }),
1356
- T?.astrologers && T.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1356
+ g?.astrologers && g.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1357
1357
  fa,
1358
1358
  {
1359
- astrologers: T.astrologers,
1359
+ astrologers: g.astrologers,
1360
1360
  heading: p("planAstrologerHeading"),
1361
1361
  t: p
1362
1362
  }
@@ -1371,8 +1371,8 @@ const Wt = 5e3, Vt = 84, Yt = `
1371
1371
  /* @__PURE__ */ e.jsx(
1372
1372
  _a,
1373
1373
  {
1374
- plans: d,
1375
- selectedId: j,
1374
+ plans: u,
1375
+ selectedId: y,
1376
1376
  t: p,
1377
1377
  analytics: i,
1378
1378
  onSelectPlan: o
@@ -1381,11 +1381,11 @@ const Wt = 5e3, Vt = 84, Yt = `
1381
1381
  /* @__PURE__ */ e.jsx(
1382
1382
  ba,
1383
1383
  {
1384
- canProceed: oe,
1384
+ canProceed: le,
1385
1385
  label: p("planProceedToPayment"),
1386
1386
  showDisabledHint: H,
1387
1387
  hintText: p("planQuestionHint"),
1388
- onClick: ee
1388
+ onClick: z
1389
1389
  }
1390
1390
  )
1391
1391
  ]
@@ -1396,13 +1396,13 @@ const Wt = 5e3, Vt = 84, Yt = `
1396
1396
  )
1397
1397
  }
1398
1398
  ),
1399
- f && /* @__PURE__ */ e.jsx(
1399
+ _ && /* @__PURE__ */ e.jsx(
1400
1400
  Le,
1401
1401
  {
1402
1402
  isOpen: w,
1403
- onClose: () => L(!1),
1403
+ onClose: () => I(!1),
1404
1404
  title: "1 Question Sample Answer",
1405
- pdfUrl: f
1405
+ pdfUrl: _
1406
1406
  }
1407
1407
  )
1408
1408
  ] }) : null;
@@ -1479,16 +1479,16 @@ call`
1479
1479
  ]
1480
1480
  }
1481
1481
  }, Ca = (n) => be[n] ?? be.en, ka = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Na = (n, a) => Ce[n]?.[a] ?? a, Pa = 112;
1482
- function D({
1482
+ function A({
1483
1483
  section: n,
1484
1484
  children: a,
1485
1485
  onImpression: t
1486
1486
  }) {
1487
1487
  const o = b(null), s = b(!1);
1488
- return P(() => {
1488
+ return C(() => {
1489
1489
  const l = o.current;
1490
1490
  if (!l) return;
1491
- const r = new IntersectionObserver(
1491
+ const c = new IntersectionObserver(
1492
1492
  ([m]) => {
1493
1493
  !m?.isIntersecting || s.current || (s.current = !0, t(n));
1494
1494
  },
@@ -1498,7 +1498,7 @@ function D({
1498
1498
  rootMargin: `0px 0px -${Pa}px 0px`
1499
1499
  }
1500
1500
  );
1501
- return r.observe(l), () => r.disconnect();
1501
+ return c.observe(l), () => c.disconnect();
1502
1502
  }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
1503
1503
  }
1504
1504
  function Ia({
@@ -1509,114 +1509,125 @@ function Ia({
1509
1509
  oneQuestionSampleHref: s = va
1510
1510
  }) {
1511
1511
  const l = ye(), {
1512
- locale: r,
1512
+ locale: c,
1513
1513
  setLocale: m,
1514
1514
  config: i,
1515
1515
  formValues: h,
1516
- setFormValues: f
1517
- } = de(), [p, d] = R(!1), [j, I] = R(null), C = b(null), k = b(void 0), g = b(null), c = b(!1), v = X((u) => {
1518
- C.current = u, d(!0);
1519
- }, []), w = X(() => {
1520
- if (!C.current || !j) return;
1521
- const u = {
1522
- ...C.current,
1523
- _selectedPlan: j,
1524
- ...k.current !== void 0 ? { _question: k.current } : {}
1516
+ setFormValues: _
1517
+ } = de(), [p, u] = T(!1), [y, P] = T(null), k = b(null), N = b(void 0), f = b(null), d = b(!1), v = J((r) => {
1518
+ k.current = r, u(!0);
1519
+ }, []), w = J(() => {
1520
+ if (!k.current || !y) return;
1521
+ const r = {
1522
+ ...k.current,
1523
+ _selectedPlan: y,
1524
+ ...N.current !== void 0 ? { _question: N.current } : {}
1525
1525
  };
1526
- k.current = void 0, j.id === $e && i.onProceedGuidance ? i.onProceedGuidance(u) : i.onProceed?.(u), d(!1), C.current = null;
1527
- }, [j, i.onProceed, i.onProceedGuidance]), [L, A] = R(!1), [O, M] = R(
1526
+ N.current = void 0, y.id === $e && i.onProceedGuidance ? i.onProceedGuidance(r) : i.onProceed?.(r), u(!1), k.current = null;
1527
+ }, [y, i.onProceed, i.onProceedGuidance]), [I, E] = T(!1), [q, M] = T(
1528
1528
  i.isGlobal ?? !0 ? "+1" : "+91"
1529
- ), W = b(null), H = b(null), V = b(i.locale), G = b(
1529
+ ), Q = b(null), H = b(null), V = b(i.locale), G = b(
1530
1530
  l?.locale
1531
1531
  );
1532
- P(() => {
1532
+ C(() => {
1533
1533
  i.locale && V.current !== i.locale && m(i.locale), V.current = i.locale;
1534
- }, [i.locale, m]), P(() => {
1534
+ }, [i.locale, m]), C(() => {
1535
1535
  if (i.locale) return;
1536
- const u = l?.locale;
1537
- u && G.current !== u && m(u), G.current = u;
1538
- }, [l?.locale, i.locale, m]), P(() => {
1536
+ const r = l?.locale;
1537
+ r && G.current !== r && m(r), G.current = r;
1538
+ }, [l?.locale, i.locale, m]), C(() => {
1539
1539
  M(i.isGlobal ?? !0 ? "+1" : "+91");
1540
- }, [i.isGlobal]), P(() => {
1541
- if (!L) return;
1542
- const u = (Q) => {
1543
- H.current && !H.current.contains(Q.target) && A(!1);
1540
+ }, [i.isGlobal]);
1541
+ const ee = b(!1);
1542
+ C(() => {
1543
+ if (ee.current || !a || i.autoOpenPlanSheet) return;
1544
+ const r = i.initialFormValues;
1545
+ if (!(!!r && (!!r.fullName || !!r.phone || !!r.email || !!r.gender || !!r.language_code || !!r.dateOfBirth || !!r.birthTime || !!r.birthPlace))) return;
1546
+ ee.current = !0;
1547
+ const z = requestAnimationFrame(() => {
1548
+ Q.current?.scrollIntoView({ behavior: "smooth", block: "start" });
1549
+ });
1550
+ return () => cancelAnimationFrame(z);
1551
+ }, [a, i.autoOpenPlanSheet, i.initialFormValues]), C(() => {
1552
+ if (!I) return;
1553
+ const r = (D) => {
1554
+ H.current && !H.current.contains(D.target) && E(!1);
1544
1555
  };
1545
- return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
1546
- }, [L]), P(() => {
1556
+ return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
1557
+ }, [I]), C(() => {
1547
1558
  if (!t) return;
1548
- const u = g.current;
1549
- if (!u) return;
1550
- const Q = new IntersectionObserver(
1551
- ([J]) => {
1552
- c.current || !J?.isIntersecting || (J.intersectionRatio ?? 0) < 0.5 || (c.current = !0, i.analytics?.trackComparisonTableImpression?.());
1559
+ const r = f.current;
1560
+ if (!r) return;
1561
+ const D = new IntersectionObserver(
1562
+ ([z]) => {
1563
+ d.current || !z?.isIntersecting || (z.intersectionRatio ?? 0) < 0.5 || (d.current = !0, i.analytics?.trackComparisonTableImpression?.());
1553
1564
  },
1554
1565
  { threshold: 0.5 }
1555
1566
  );
1556
- return Q.observe(u), () => Q.disconnect();
1567
+ return D.observe(r), () => D.disconnect();
1557
1568
  }, [t, i.analytics]);
1558
- const y = (u) => Na(r, u), T = i.showLanguageSelector ?? !0, K = i.resolvedUtmBannerImageUrl || void 0, oe = T ? /* @__PURE__ */ e.jsxs("div", { className: q.langDropdownWrap, ref: H, children: [
1569
+ const g = (r) => Na(c, r), K = i.showLanguageSelector ?? !0, le = i.resolvedUtmBannerImageUrl || void 0, se = K ? /* @__PURE__ */ e.jsxs("div", { className: O.langDropdownWrap, ref: H, children: [
1559
1570
  /* @__PURE__ */ e.jsxs(
1560
1571
  "button",
1561
1572
  {
1562
1573
  type: "button",
1563
- className: q.langTrigger,
1574
+ className: O.langTrigger,
1564
1575
  onClick: () => {
1565
- i.analytics?.trackLanguageClickedFe?.({ language: r }), A((u) => !u);
1576
+ i.analytics?.trackLanguageClickedFe?.({ language: c }), E((r) => !r);
1566
1577
  },
1567
- "aria-expanded": L,
1578
+ "aria-expanded": I,
1568
1579
  "aria-haspopup": "listbox",
1569
1580
  id: "kundli-lang",
1570
- "aria-label": y("language"),
1581
+ "aria-label": g("language"),
1571
1582
  children: [
1572
1583
  /* @__PURE__ */ e.jsx(
1573
1584
  "img",
1574
1585
  {
1575
1586
  src: ka,
1576
1587
  alt: "",
1577
- className: q.langIcon,
1588
+ className: O.langIcon,
1578
1589
  width: 16,
1579
1590
  height: 16,
1580
1591
  "aria-hidden": !0
1581
1592
  }
1582
1593
  ),
1583
- /* @__PURE__ */ e.jsx("span", { className: q.langLabel, children: ie[r] })
1594
+ /* @__PURE__ */ e.jsx("span", { className: O.langLabel, children: oe[c] })
1584
1595
  ]
1585
1596
  }
1586
1597
  ),
1587
- L && /* @__PURE__ */ e.jsx(
1598
+ I && /* @__PURE__ */ e.jsx(
1588
1599
  "ul",
1589
1600
  {
1590
- className: q.langMenu,
1601
+ className: O.langMenu,
1591
1602
  role: "listbox",
1592
1603
  "aria-labelledby": "kundli-lang",
1593
- "aria-activedescendant": `kundli-lang-option-${r}`,
1594
- children: we.map((u) => /* @__PURE__ */ e.jsx(
1604
+ "aria-activedescendant": `kundli-lang-option-${c}`,
1605
+ children: we.map((r) => /* @__PURE__ */ e.jsx(
1595
1606
  "li",
1596
1607
  {
1597
- id: `kundli-lang-option-${u}`,
1608
+ id: `kundli-lang-option-${r}`,
1598
1609
  role: "option",
1599
- "aria-selected": u === r,
1600
- className: q.langOption,
1610
+ "aria-selected": r === c,
1611
+ className: O.langOption,
1601
1612
  onClick: () => {
1602
- i.analytics?.trackLanguageChangedFe?.({ newLanguage: u }), m(u), A(!1);
1613
+ i.analytics?.trackLanguageChangedFe?.({ newLanguage: r }), m(r), E(!1);
1603
1614
  },
1604
- children: ie[u]
1615
+ children: oe[r]
1605
1616
  },
1606
- u
1617
+ r
1607
1618
  ))
1608
1619
  }
1609
1620
  )
1610
- ] }) : null, F = X(
1611
- (u) => {
1621
+ ] }) : null, F = J(
1622
+ (r) => {
1612
1623
  i.analytics?.trackDetailedKundliReportImpressionFe?.({
1613
- section: u,
1624
+ section: r,
1614
1625
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
1615
1626
  });
1616
1627
  },
1617
1628
  [i.analytics]
1618
- ), le = X((u) => {
1619
- const J = {
1629
+ ), ie = J((r) => {
1630
+ const z = {
1620
1631
  fullName: "kundli-full-name",
1621
1632
  phone: "kundli-phone",
1622
1633
  email: "kundli-email",
@@ -1625,74 +1636,74 @@ function Ia({
1625
1636
  birthPlace: "kundli-birth-place",
1626
1637
  gender: "kundli-gender-male",
1627
1638
  language_code: "kundli-report-lang-hi"
1628
- }[u] ?? "kundli-full-name", ee = document.getElementById(J);
1629
- if (ee) {
1630
- const N = ee.getBoundingClientRect().top + window.scrollY - 120;
1639
+ }[r] ?? "kundli-full-name", x = document.getElementById(z);
1640
+ if (x) {
1641
+ const Y = x.getBoundingClientRect().top + window.scrollY - 120;
1631
1642
  window.scrollTo({
1632
- top: N,
1643
+ top: Y,
1633
1644
  behavior: "smooth"
1634
- }), setTimeout(() => ee.focus(), 500);
1645
+ }), setTimeout(() => x.focus(), 500);
1635
1646
  }
1636
1647
  }, []);
1637
- return /* @__PURE__ */ e.jsxs("div", { className: `${q.container} ${n}`, children: [
1648
+ return /* @__PURE__ */ e.jsxs("div", { className: `${O.container} ${n}`, children: [
1638
1649
  /* @__PURE__ */ e.jsx(
1639
1650
  ve,
1640
1651
  {
1641
- t: y,
1652
+ t: g,
1642
1653
  logoUrl: i.logoUrl,
1643
- languageSelector: oe
1654
+ languageSelector: se
1644
1655
  }
1645
1656
  ),
1646
- /* @__PURE__ */ e.jsxs("main", { className: q.main, children: [
1657
+ /* @__PURE__ */ e.jsxs("main", { className: O.main, children: [
1647
1658
  /* @__PURE__ */ e.jsx(
1648
- D,
1659
+ A,
1649
1660
  {
1650
1661
  section: "hero",
1651
1662
  onImpression: F,
1652
- children: /* @__PURE__ */ e.jsx(ke, { t: y })
1663
+ children: /* @__PURE__ */ e.jsx(ke, { t: g })
1653
1664
  }
1654
1665
  ),
1655
1666
  /* @__PURE__ */ e.jsx(
1656
- D,
1667
+ A,
1657
1668
  {
1658
1669
  section: "premium_report_overview",
1659
1670
  onImpression: F,
1660
1671
  children: /* @__PURE__ */ e.jsx(
1661
1672
  Ne,
1662
1673
  {
1663
- t: y,
1674
+ t: g,
1664
1675
  reportImageUrl: i.reportImageUrl,
1665
1676
  analytics: i.analytics,
1666
- utmBannerImageUrl: K,
1677
+ utmBannerImageUrl: le,
1667
1678
  utmBannerAltText: ""
1668
1679
  }
1669
1680
  )
1670
1681
  }
1671
1682
  ),
1672
1683
  /* @__PURE__ */ e.jsx(
1673
- D,
1684
+ A,
1674
1685
  {
1675
1686
  section: "university_certification",
1676
1687
  onImpression: F,
1677
1688
  children: /* @__PURE__ */ e.jsx(
1678
1689
  Pe,
1679
1690
  {
1680
- t: y,
1681
- logoUrl: i.universityLogoUrls?.find((u) => !!u)
1691
+ t: g,
1692
+ logoUrl: i.universityLogoUrls?.find((r) => !!r)
1682
1693
  }
1683
1694
  )
1684
1695
  }
1685
1696
  ),
1686
1697
  /* @__PURE__ */ e.jsx(
1687
- D,
1698
+ A,
1688
1699
  {
1689
1700
  section: "three_steps_process",
1690
1701
  onImpression: F,
1691
- children: /* @__PURE__ */ e.jsx(Ie, { t: y, locale: r, isGlobal: i.isGlobal })
1702
+ children: /* @__PURE__ */ e.jsx(Ie, { t: g, locale: c, isGlobal: i.isGlobal })
1692
1703
  }
1693
1704
  ),
1694
1705
  /* @__PURE__ */ e.jsx(
1695
- D,
1706
+ A,
1696
1707
  {
1697
1708
  section: "view_sample_report",
1698
1709
  onImpression: F,
@@ -1701,12 +1712,12 @@ function Ia({
1701
1712
  {
1702
1713
  kundliReportSampleHref: o,
1703
1714
  analytics: i.analytics,
1704
- s: Ca(r)
1715
+ s: Ca(c)
1705
1716
  }
1706
1717
  ) }) : /* @__PURE__ */ e.jsx(
1707
1718
  ue,
1708
1719
  {
1709
- t: y,
1720
+ t: g,
1710
1721
  pdfUrl: i.sampleReportHref,
1711
1722
  onClick: i.onViewSampleReport,
1712
1723
  analytics: i.analytics
@@ -1715,74 +1726,74 @@ function Ia({
1715
1726
  }
1716
1727
  ),
1717
1728
  a && /* @__PURE__ */ e.jsx(
1718
- D,
1729
+ A,
1719
1730
  {
1720
1731
  section: "inline_form",
1721
1732
  onImpression: F,
1722
- children: /* @__PURE__ */ e.jsxs("div", { className: q.inlineFormWrap, ref: W, children: [
1723
- /* @__PURE__ */ e.jsx(Be, { t: y, align: "center" }),
1733
+ children: /* @__PURE__ */ e.jsxs("div", { className: O.inlineFormWrap, ref: Q, children: [
1734
+ /* @__PURE__ */ e.jsx(Be, { t: g, align: "center" }),
1724
1735
  /* @__PURE__ */ e.jsx(
1725
- qe,
1736
+ Oe,
1726
1737
  {
1727
- t: y,
1738
+ t: g,
1728
1739
  values: h,
1729
- onChange: f,
1730
- phoneIsdCode: O,
1740
+ onChange: _,
1741
+ phoneIsdCode: q,
1731
1742
  onPhoneIsdCodeChange: M,
1732
1743
  showV1ExtraFields: !0,
1733
1744
  analytics: i.analytics
1734
1745
  }
1735
1746
  ),
1736
1747
  /* @__PURE__ */ e.jsx(
1737
- Oe,
1748
+ qe,
1738
1749
  {
1739
- t: y,
1750
+ t: g,
1740
1751
  values: h,
1741
- phoneIsdCode: O,
1752
+ phoneIsdCode: q,
1742
1753
  hideOriginalPrice: !0,
1743
1754
  requireV1ExtraFields: !0,
1744
- onValidationFailed: le,
1755
+ onValidationFailed: ie,
1745
1756
  onProceed: i.onProceed,
1746
1757
  href: i.proceedHref,
1747
1758
  originalPriceLabel: i.originalPriceLabel,
1748
1759
  discountedPriceLabel: i.discountedPriceLabel,
1749
1760
  analytics: i.analytics,
1750
- className: q.inlineProceedFooter,
1761
+ className: O.inlineProceedFooter,
1751
1762
  onProceedGuidance: i.onProceedGuidance,
1752
1763
  showPlanSheet: v,
1753
1764
  confirmPlan: w,
1754
1765
  planSheetOpen: p,
1755
- selectedPlan: j
1766
+ selectedPlan: y
1756
1767
  }
1757
1768
  )
1758
1769
  ] })
1759
1770
  }
1760
1771
  ),
1761
1772
  /* @__PURE__ */ e.jsx(
1762
- D,
1773
+ A,
1763
1774
  {
1764
1775
  section: "what_youll_find",
1765
1776
  onImpression: F,
1766
- children: /* @__PURE__ */ e.jsx(Te, { t: y })
1777
+ children: /* @__PURE__ */ e.jsx(Te, { t: g })
1767
1778
  }
1768
1779
  ),
1769
1780
  /* @__PURE__ */ e.jsx(
1770
- D,
1781
+ A,
1771
1782
  {
1772
1783
  section: "why_us",
1773
1784
  onImpression: F,
1774
- children: /* @__PURE__ */ e.jsx(Fe, { t: y })
1785
+ children: /* @__PURE__ */ e.jsx(Fe, { t: g })
1775
1786
  }
1776
1787
  ),
1777
1788
  /* @__PURE__ */ e.jsx(
1778
- D,
1789
+ A,
1779
1790
  {
1780
1791
  section: "feedback",
1781
1792
  onImpression: F,
1782
1793
  children: /* @__PURE__ */ e.jsx(
1783
1794
  Re,
1784
1795
  {
1785
- t: y,
1796
+ t: g,
1786
1797
  readMoreHref: i.readMoreReviewsHref,
1787
1798
  onReadMore: i.analytics?.trackReadMoreReviewsClicked ? () => i.analytics.trackReadMoreReviewsClicked() : void 0
1788
1799
  }
@@ -1790,19 +1801,19 @@ function Ia({
1790
1801
  }
1791
1802
  ),
1792
1803
  /* @__PURE__ */ e.jsx(
1793
- D,
1804
+ A,
1794
1805
  {
1795
1806
  section: "faq",
1796
1807
  onImpression: F,
1797
- children: /* @__PURE__ */ e.jsx(Se, { t: y })
1808
+ children: /* @__PURE__ */ e.jsx(Se, { t: g })
1798
1809
  }
1799
1810
  ),
1800
1811
  /* @__PURE__ */ e.jsx(
1801
- D,
1812
+ A,
1802
1813
  {
1803
1814
  section: "contact_us",
1804
1815
  onImpression: F,
1805
- children: /* @__PURE__ */ e.jsx(Ee, { t: y })
1816
+ children: /* @__PURE__ */ e.jsx(Ee, { t: g })
1806
1817
  }
1807
1818
  )
1808
1819
  ] }),
@@ -1810,15 +1821,15 @@ function Ia({
1810
1821
  ja,
1811
1822
  {
1812
1823
  isOpen: p,
1813
- onClose: () => d(!1),
1814
- selectedPlan: j,
1815
- onSelectPlan: (u) => I(u),
1824
+ onClose: () => u(!1),
1825
+ selectedPlan: y,
1826
+ onSelectPlan: (r) => P(r),
1816
1827
  isGlobal: i.isGlobal,
1817
- locale: r,
1818
- onProceed: (u, Q) => {
1819
- k.current = Q, w();
1828
+ locale: c,
1829
+ onProceed: (r, D) => {
1830
+ N.current = D, w();
1820
1831
  },
1821
- t: y,
1832
+ t: g,
1822
1833
  analytics: i.analytics,
1823
1834
  oneQuestionSampleHref: s
1824
1835
  }
@@ -1826,13 +1837,13 @@ function Ia({
1826
1837
  Me,
1827
1838
  {
1828
1839
  isOpen: p,
1829
- onClose: () => d(!1),
1830
- selectedPlan: j,
1831
- onSelectPlan: (u) => I(u),
1840
+ onClose: () => u(!1),
1841
+ selectedPlan: y,
1842
+ onSelectPlan: (r) => P(r),
1832
1843
  onProceed: () => {
1833
1844
  w();
1834
1845
  },
1835
- t: y,
1846
+ t: g,
1836
1847
  analytics: i.analytics
1837
1848
  }
1838
1849
  )
@@ -1845,26 +1856,26 @@ const La = ({
1845
1856
  showSheet: o,
1846
1857
  userId: s,
1847
1858
  isGlobal: l,
1848
- googleMapsApiKey: r,
1859
+ googleMapsApiKey: c,
1849
1860
  atlasSearchLocalities: m,
1850
1861
  googleMapsAutocompleteEnabled: i,
1851
1862
  enableThreeSkuFlow: h = !1,
1852
- kundliReportSampleHref: f,
1863
+ kundliReportSampleHref: _,
1853
1864
  oneQuestionSampleHref: p,
1854
- logoUrl: d,
1855
- reportImageUrl: j,
1856
- universityLogoUrls: I,
1857
- sampleReportHref: C,
1858
- onViewSampleReport: k,
1859
- ctaHref: g,
1860
- onCtaClick: c,
1865
+ logoUrl: u,
1866
+ reportImageUrl: y,
1867
+ universityLogoUrls: P,
1868
+ sampleReportHref: k,
1869
+ onViewSampleReport: N,
1870
+ ctaHref: f,
1871
+ onCtaClick: d,
1861
1872
  readMoreReviewsHref: v,
1862
1873
  onProceed: w,
1863
- proceedHref: L,
1864
- originalPriceLabel: A,
1865
- discountedPriceLabel: O,
1874
+ proceedHref: I,
1875
+ originalPriceLabel: E,
1876
+ discountedPriceLabel: q,
1866
1877
  discountPillLabel: M,
1867
- analytics: W,
1878
+ analytics: Q,
1868
1879
  onProceedGuidance: H,
1869
1880
  onLocaleChange: V,
1870
1881
  resolvedUtmBannerImageUrl: G
@@ -1877,24 +1888,24 @@ const La = ({
1877
1888
  userId: s,
1878
1889
  isGlobal: l,
1879
1890
  variant: "v1",
1880
- googleMapsApiKey: r,
1891
+ googleMapsApiKey: c,
1881
1892
  atlasSearchLocalities: m,
1882
1893
  googleMapsAutocompleteEnabled: i,
1883
- logoUrl: d,
1884
- reportImageUrl: j,
1885
- universityLogoUrls: I,
1886
- sampleReportHref: C,
1887
- onViewSampleReport: k,
1888
- ctaHref: g,
1889
- onCtaClick: c,
1894
+ logoUrl: u,
1895
+ reportImageUrl: y,
1896
+ universityLogoUrls: P,
1897
+ sampleReportHref: k,
1898
+ onViewSampleReport: N,
1899
+ ctaHref: f,
1900
+ onCtaClick: d,
1890
1901
  readMoreReviewsHref: v,
1891
1902
  onProceed: w,
1892
1903
  onProceedGuidance: H,
1893
- proceedHref: L,
1894
- originalPriceLabel: A,
1895
- discountedPriceLabel: O,
1904
+ proceedHref: I,
1905
+ originalPriceLabel: E,
1906
+ discountedPriceLabel: q,
1896
1907
  discountPillLabel: M,
1897
- analytics: W,
1908
+ analytics: Q,
1898
1909
  onLocaleChange: V,
1899
1910
  resolvedUtmBannerImageUrl: G,
1900
1911
  children: /* @__PURE__ */ e.jsx(
@@ -1903,7 +1914,7 @@ const La = ({
1903
1914
  className: n,
1904
1915
  showInlineForm: !0,
1905
1916
  enableThreeSkuFlow: h,
1906
- kundliReportSampleHref: f,
1917
+ kundliReportSampleHref: _,
1907
1918
  oneQuestionSampleHref: p
1908
1919
  }
1909
1920
  )
@@ -1919,4 +1930,4 @@ export {
1919
1930
  Dt as b,
1920
1931
  La as c
1921
1932
  };
1922
- //# sourceMappingURL=criticalCss-ZT-kr9NW.js.map
1933
+ //# sourceMappingURL=criticalCss-1Wnk1SAN.js.map