@srimandir/kundli-generator 5.3.0 → 5.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,22 +1,22 @@
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-vp1HBbKL.js";
2
- import { useRef as y, useState as F, useEffect as k, useCallback as K } from "react";
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
- 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 = {
5
- container: Te,
6
- main: Se,
7
- langDropdownWrap: Re,
8
- langTrigger: $e,
9
- langIcon: Ee,
10
- langLabel: Fe,
11
- langMenu: De,
12
- langOption: Oe
13
- }, Ue = "_hero_1vvjv_1", Ke = "_title_1vvjv_5", Ae = "_subtitle_1vvjv_10", Me = "_topicTags_1vvjv_23", Ge = "_tag_1vvjv_27", M = {
14
- hero: Ue,
15
- title: Ke,
16
- subtitle: Ae,
17
- topicTags: Me,
18
- tag: Ge
19
- }, Be = [
1
+ import { k as e, h as A, D as W, d as ae, j as Y, c as we, u as oe, L as q, S as ie, l as le, t as re, P as ve, F as Ie, U as Ne, m as ke, n as Pe } from "./analytics-vp1HBbKL.js";
2
+ import { useRef as j, useState as E, useEffect as w, useCallback as M } from "react";
3
+ import { UserReviewsSection as Ce, FAQAccordion as Le, ContactUsSection as Te, FooterShell as Se, FooterCTAButton as Re, CircularMarquee as $e, footerShellStyles as U } from "@srimandir/astrology-common";
4
+ const Ee = "_container_nm3gb_1", Fe = "_main_nm3gb_6", De = "_langDropdownWrap_nm3gb_12", Oe = "_langTrigger_nm3gb_16", Ue = "_langIcon_nm3gb_28", Me = "_langLabel_nm3gb_35", Ke = "_langMenu_nm3gb_40", Ae = "_langOption_nm3gb_46", D = {
5
+ container: Ee,
6
+ main: Fe,
7
+ langDropdownWrap: De,
8
+ langTrigger: Oe,
9
+ langIcon: Ue,
10
+ langLabel: Me,
11
+ langMenu: Ke,
12
+ langOption: Ae
13
+ }, Ge = "_hero_1vvjv_1", Be = "_title_1vvjv_5", We = "_subtitle_1vvjv_10", qe = "_topicTags_1vvjv_23", He = "_tag_1vvjv_27", G = {
14
+ hero: Ge,
15
+ title: Be,
16
+ subtitle: We,
17
+ topicTags: qe,
18
+ tag: He
19
+ }, Ve = [
20
20
  "topicMarriage",
21
21
  "topicRelationship",
22
22
  "topicBusiness",
@@ -24,39 +24,39 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
24
24
  "topicCareer",
25
25
  "topicEducation",
26
26
  "topicMoney"
27
- ], oe = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${M.hero} ${o}`, "aria-labelledby": "hero-title", children: [
28
- /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: M.title, children: n("heroTitle") }),
29
- /* @__PURE__ */ e.jsx("p", { className: M.subtitle, children: n("heroSubtitle") }),
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
- section: We,
33
- backgroundLayer: He,
34
- backgroundImg: qe,
35
- inner: Ve,
36
- content: ze,
37
- headline: Ye,
38
- headlineLine: Qe,
39
- headlinePill: Je,
40
- headlinePlain: Xe,
41
- featureList: Ze,
42
- featureItem: en,
43
- featureIcon: nn,
44
- reportImage: sn,
45
- reportImg: tn
46
- }, an = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", on = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", ln = [
27
+ ], ce = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${G.hero} ${o}`, "aria-labelledby": "hero-title", children: [
28
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: G.title, children: n("heroTitle") }),
29
+ /* @__PURE__ */ e.jsx("p", { className: G.subtitle, children: n("heroSubtitle") }),
30
+ /* @__PURE__ */ e.jsx("div", { className: G.topicTags, role: "list", children: Ve.map((a) => /* @__PURE__ */ e.jsx("span", { className: G.tag, role: "listitem", children: n(a) }, a)) })
31
+ ] }), ze = "_section_1285h_1", Ye = "_backgroundLayer_1285h_9", Qe = "_backgroundImg_1285h_16", Je = "_inner_1285h_23", Xe = "_content_1285h_29", Ze = "_headline_1285h_33", en = "_headlineLine_1285h_38", nn = "_headlinePill_1285h_43", sn = "_headlinePlain_1285h_58", tn = "_featureList_1285h_69", an = "_featureItem_1285h_76", on = "_featureIcon_1285h_81", ln = "_reportImage_1285h_88", rn = "_reportImg_1285h_98", g = {
32
+ section: ze,
33
+ backgroundLayer: Ye,
34
+ backgroundImg: Qe,
35
+ inner: Je,
36
+ content: Xe,
37
+ headline: Ze,
38
+ headlineLine: en,
39
+ headlinePill: nn,
40
+ headlinePlain: sn,
41
+ featureList: tn,
42
+ featureItem: an,
43
+ featureIcon: on,
44
+ reportImage: ln,
45
+ reportImg: rn
46
+ }, cn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", dn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", mn = [
47
47
  "premiumFeature1",
48
48
  "premiumFeature2",
49
49
  "premiumFeature3",
50
50
  "premiumFeature4"
51
- ], rn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", ie = ({
51
+ ], un = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", de = ({
52
52
  t: n,
53
- reportImageUrl: o = rn,
53
+ reportImageUrl: o = un,
54
54
  reportImagePriority: a,
55
55
  backgroundImagePriority: i = !1,
56
56
  analytics: t,
57
57
  className: s = ""
58
58
  }) => {
59
- const m = A()?.config.imageComponent ?? B, u = () => {
59
+ const m = A()?.config.imageComponent ?? W, h = () => {
60
60
  t?.trackBannerClicked?.();
61
61
  };
62
62
  return /* @__PURE__ */ e.jsxs(
@@ -66,13 +66,13 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
66
66
  "aria-labelledby": "premium-headline",
67
67
  role: "button",
68
68
  tabIndex: 0,
69
- onClick: u,
69
+ onClick: h,
70
70
  "data-hero": !0,
71
71
  children: [
72
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
- src: on,
75
+ src: dn,
76
76
  alt: "",
77
77
  className: g.backgroundImg,
78
78
  width: 412,
@@ -99,11 +99,11 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
99
99
  /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("astrologyGuidance") })
100
100
  ] })
101
101
  ] }),
102
- /* @__PURE__ */ e.jsx("ul", { className: g.featureList, children: ln.map((h) => /* @__PURE__ */ e.jsxs("li", { className: g.featureItem, children: [
102
+ /* @__PURE__ */ e.jsx("ul", { className: g.featureList, children: mn.map((u) => /* @__PURE__ */ e.jsxs("li", { className: g.featureItem, children: [
103
103
  /* @__PURE__ */ e.jsx(
104
104
  m,
105
105
  {
106
- src: an,
106
+ src: cn,
107
107
  alt: "",
108
108
  className: g.featureIcon,
109
109
  width: 16,
@@ -111,8 +111,8 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
111
111
  loading: "lazy"
112
112
  }
113
113
  ),
114
- n(h)
115
- ] }, h)) })
114
+ n(u)
115
+ ] }, u)) })
116
116
  ] }),
117
117
  /* @__PURE__ */ e.jsx("div", { className: g.reportImage, children: /* @__PURE__ */ e.jsx(
118
118
  m,
@@ -132,40 +132,40 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
132
132
  ]
133
133
  }
134
134
  );
135
- }, cn = "_section_1kxsy_1", dn = "_heading_1kxsy_6", mn = "_logoImg_1kxsy_10", V = {
136
- section: cn,
137
- heading: dn,
138
- logoImg: mn
139
- }, hn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", le = ({
135
+ }, hn = "_section_1kxsy_1", pn = "_heading_1kxsy_6", gn = "_logoImg_1kxsy_10", z = {
136
+ section: hn,
137
+ heading: pn,
138
+ logoImg: gn
139
+ }, _n = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", me = ({
140
140
  t: n,
141
- logoUrl: o = hn,
141
+ logoUrl: o = _n,
142
142
  className: a = ""
143
143
  }) => {
144
- const t = A()?.config.imageComponent ?? B;
145
- return /* @__PURE__ */ e.jsxs("section", { className: `${V.section} ${a}`, "aria-labelledby": "certified-heading", children: [
146
- /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: V.heading, children: n("certifiedBy") }),
144
+ const t = A()?.config.imageComponent ?? W;
145
+ return /* @__PURE__ */ e.jsxs("section", { className: `${z.section} ${a}`, "aria-labelledby": "certified-heading", children: [
146
+ /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: z.heading, children: n("certifiedBy") }),
147
147
  /* @__PURE__ */ e.jsx(
148
148
  t,
149
149
  {
150
150
  src: o,
151
151
  alt: "University Certification",
152
- className: V.logoImg,
152
+ className: z.logoImg,
153
153
  width: 380,
154
154
  height: 70,
155
155
  loading: "lazy"
156
156
  }
157
157
  )
158
158
  ] });
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,
163
- stepList: _n,
164
- stepItem: xn,
165
- stepNumber: fn,
166
- stepText: bn,
167
- step3Days: jn
168
- }, yn = ["step1", "step2"], re = ({
159
+ }, xn = "_section_1d9aa_1", fn = "_heading_1d9aa_6", bn = "_subtitle_1d9aa_11", jn = "_stepList_1d9aa_16", yn = "_stepItem_1d9aa_20", wn = "_stepNumber_1d9aa_24", vn = "_stepText_1d9aa_30", In = "_step3Days_1d9aa_35", N = {
160
+ section: xn,
161
+ heading: fn,
162
+ subtitle: bn,
163
+ stepList: jn,
164
+ stepItem: yn,
165
+ stepNumber: wn,
166
+ stepText: vn,
167
+ step3Days: In
168
+ }, Nn = ["step1", "step2"], ue = ({
169
169
  t: n,
170
170
  locale: o = "en",
171
171
  isGlobal: a = !0,
@@ -175,94 +175,94 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
175
175
  return /* @__PURE__ */ e.jsxs(
176
176
  "section",
177
177
  {
178
- className: `${v.section} ${i}`,
178
+ className: `${N.section} ${i}`,
179
179
  "aria-labelledby": "steps-heading",
180
180
  children: [
181
- /* @__PURE__ */ e.jsx("p", { className: v.heading, children: n("yourThreeSteps") }),
182
- /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: v.subtitle, children: n("threeStepsSubtitle") }),
183
- /* @__PURE__ */ e.jsxs("ol", { className: v.stepList, children: [
184
- yn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: v.stepItem, children: [
185
- /* @__PURE__ */ e.jsx("span", { className: v.stepNumber, "aria-hidden": !0, children: r + 1 }),
186
- /* @__PURE__ */ e.jsx("span", { className: v.stepText, children: n(s) })
181
+ /* @__PURE__ */ e.jsx("p", { className: N.heading, children: n("yourThreeSteps") }),
182
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: N.subtitle, children: n("threeStepsSubtitle") }),
183
+ /* @__PURE__ */ e.jsxs("ol", { className: N.stepList, children: [
184
+ Nn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: N.stepItem, children: [
185
+ /* @__PURE__ */ e.jsx("span", { className: N.stepNumber, "aria-hidden": !0, children: r + 1 }),
186
+ /* @__PURE__ */ e.jsx("span", { className: N.stepText, children: n(s) })
187
187
  ] }, s)),
188
- /* @__PURE__ */ e.jsxs("li", { className: v.stepItem, children: [
189
- /* @__PURE__ */ e.jsx("span", { className: v.stepNumber, "aria-hidden": !0, children: "3" }),
190
- /* @__PURE__ */ e.jsxs("span", { className: v.stepText, children: [
188
+ /* @__PURE__ */ e.jsxs("li", { className: N.stepItem, children: [
189
+ /* @__PURE__ */ e.jsx("span", { className: N.stepNumber, "aria-hidden": !0, children: "3" }),
190
+ /* @__PURE__ */ e.jsxs("span", { className: N.stepText, children: [
191
191
  n(t),
192
192
  /* @__PURE__ */ e.jsx("br", {}),
193
193
  o === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
194
194
  "in ",
195
- /* @__PURE__ */ e.jsx("strong", { className: v.step3Days, children: n("step3Days") })
196
- ] }) : /* @__PURE__ */ e.jsx("strong", { className: v.step3Days, children: n("step3Days") })
195
+ /* @__PURE__ */ e.jsx("strong", { className: N.step3Days, children: n("step3Days") })
196
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: N.step3Days, children: n("step3Days") })
197
197
  ] })
198
198
  ] })
199
199
  ] })
200
200
  ]
201
201
  }
202
202
  );
203
- }, wn = "_section_1jea1_1", In = "_button_1jea1_7", Q = {
204
- section: wn,
205
- button: In
206
- }, vn = "_backdrop_pekod_1", kn = "_modal_pekod_21", Nn = "_header_pekod_40", Pn = "_title_pekod_49", Cn = "_closeBtn_pekod_56", Ln = "_content_pekod_76", Tn = "_pdfFrame_pekod_84", Sn = "_pdfPages_pekod_92", Rn = "_pdfError_pekod_97", $n = "_openInNewTab_pekod_123", L = {
207
- backdrop: vn,
208
- modal: kn,
209
- header: Nn,
210
- title: Pn,
211
- closeBtn: Cn,
212
- content: Ln,
213
- pdfFrame: Tn,
214
- pdfPages: Sn,
215
- pdfError: Rn,
216
- openInNewTab: $n
203
+ }, kn = "_section_1jea1_1", Pn = "_button_1jea1_7", ee = {
204
+ section: kn,
205
+ button: Pn
206
+ }, Cn = "_backdrop_pekod_1", Ln = "_modal_pekod_21", Tn = "_header_pekod_40", Sn = "_title_pekod_49", Rn = "_closeBtn_pekod_56", $n = "_content_pekod_76", En = "_pdfFrame_pekod_84", Fn = "_pdfPages_pekod_92", Dn = "_pdfError_pekod_97", On = "_openInNewTab_pekod_123", S = {
207
+ backdrop: Cn,
208
+ modal: Ln,
209
+ header: Tn,
210
+ title: Sn,
211
+ closeBtn: Rn,
212
+ content: $n,
213
+ pdfFrame: En,
214
+ pdfPages: Fn,
215
+ pdfError: Dn,
216
+ openInNewTab: On
217
217
  };
218
- function En(n) {
218
+ function Un(n) {
219
219
  typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
220
220
  }
221
- const Fn = ({
221
+ const Mn = ({
222
222
  isOpen: n,
223
223
  onClose: o,
224
224
  title: a,
225
225
  pdfUrl: i
226
226
  }) => {
227
- const t = y(null), [s, r] = F(!0), [m, u] = F(null), [h, _] = F(null);
228
- return k(() => {
227
+ const t = j(null), [s, r] = E(!0), [m, h] = E(null), [u, _] = E(null);
228
+ return w(() => {
229
229
  if (!n) return;
230
- const c = (x) => {
230
+ const d = (x) => {
231
231
  x.key === "Escape" && o();
232
232
  };
233
- return document.addEventListener("keydown", c), document.body.style.overflow = "hidden", () => {
234
- document.removeEventListener("keydown", c), document.body.style.overflow = "";
233
+ return document.addEventListener("keydown", d), document.body.style.overflow = "hidden", () => {
234
+ document.removeEventListener("keydown", d), document.body.style.overflow = "";
235
235
  };
236
- }, [n, o]), k(() => {
237
- n && import("pdfjs-dist").then((c) => {
238
- _(c);
239
- }).catch((c) => {
240
- u("Failed to load PDF viewer"), r(!1);
236
+ }, [n, o]), w(() => {
237
+ n && import("pdfjs-dist").then((d) => {
238
+ _(d);
239
+ }).catch((d) => {
240
+ h("Failed to load PDF viewer"), r(!1);
241
241
  });
242
- }, [n]), k(() => {
243
- if (!n || !i || !t.current || !h) return;
244
- r(!0), u(null), t.current.innerHTML = "", (async () => {
242
+ }, [n]), w(() => {
243
+ if (!n || !i || !t.current || !u) return;
244
+ r(!0), h(null), t.current.innerHTML = "", (async () => {
245
245
  try {
246
- En(h);
247
- const C = await h.getDocument({ url: i }).promise, w = t.current;
248
- if (!w) return;
249
- const I = w.clientWidth || 600, p = Math.min(I / 612, 2);
250
- for (let l = 1; l <= C.numPages; l++) {
251
- const j = await C.getPage(l), $ = j.getViewport({ scale: p }), b = document.createElement("canvas");
252
- b.height = $.height, b.width = $.width, b.style.display = "block", b.style.margin = "0 auto 1rem", b.style.maxWidth = "100%";
253
- const E = b.getContext("2d");
254
- E && await j.render({ canvasContext: E, viewport: $ }).promise, w.appendChild(b);
246
+ Un(u);
247
+ const L = await u.getDocument({ url: i }).promise, v = t.current;
248
+ if (!v) return;
249
+ const I = v.clientWidth || 600, p = Math.min(I / 612, 2);
250
+ for (let l = 1; l <= L.numPages; l++) {
251
+ const y = await L.getPage(l), T = y.getViewport({ scale: p }), b = document.createElement("canvas");
252
+ b.height = T.height, b.width = T.width, b.style.display = "block", b.style.margin = "0 auto 1rem", b.style.maxWidth = "100%";
253
+ const F = b.getContext("2d");
254
+ F && await y.render({ canvasContext: F, viewport: T }).promise, v.appendChild(b);
255
255
  }
256
256
  } catch (x) {
257
- u(x instanceof Error ? x.message : "Failed to load PDF");
257
+ h(x instanceof Error ? x.message : "Failed to load PDF");
258
258
  } finally {
259
259
  r(!1);
260
260
  }
261
261
  })();
262
- }, [n, i, h]), n ? /* @__PURE__ */ e.jsx(
262
+ }, [n, i, u]), n ? /* @__PURE__ */ e.jsx(
263
263
  "div",
264
264
  {
265
- className: L.backdrop,
265
+ className: S.backdrop,
266
266
  onClick: o,
267
267
  role: "dialog",
268
268
  "aria-modal": "true",
@@ -270,29 +270,29 @@ const Fn = ({
270
270
  children: /* @__PURE__ */ e.jsxs(
271
271
  "div",
272
272
  {
273
- className: L.modal,
274
- onClick: (c) => c.stopPropagation(),
273
+ className: S.modal,
274
+ onClick: (d) => d.stopPropagation(),
275
275
  children: [
276
- /* @__PURE__ */ e.jsxs("div", { className: L.header, children: [
277
- /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: L.title, children: a }),
276
+ /* @__PURE__ */ e.jsxs("div", { className: S.header, children: [
277
+ /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: S.title, children: a }),
278
278
  /* @__PURE__ */ e.jsx(
279
279
  "button",
280
280
  {
281
281
  type: "button",
282
- className: L.closeBtn,
282
+ className: S.closeBtn,
283
283
  onClick: o,
284
284
  "aria-label": "Close",
285
285
  children: "×"
286
286
  }
287
287
  )
288
288
  ] }),
289
- /* @__PURE__ */ e.jsxs("div", { className: L.content, children: [
290
- /* @__PURE__ */ e.jsxs("div", { className: L.pdfFrame, children: [
291
- m && /* @__PURE__ */ e.jsxs("div", { className: L.pdfError, children: [
289
+ /* @__PURE__ */ e.jsxs("div", { className: S.content, children: [
290
+ /* @__PURE__ */ e.jsxs("div", { className: S.pdfFrame, children: [
291
+ m && /* @__PURE__ */ e.jsxs("div", { className: S.pdfError, children: [
292
292
  /* @__PURE__ */ e.jsx("span", { children: m }),
293
293
  /* @__PURE__ */ e.jsx("a", { href: i, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
294
294
  ] }),
295
- /* @__PURE__ */ e.jsx("div", { ref: t, className: L.pdfPages })
295
+ /* @__PURE__ */ e.jsx("div", { ref: t, className: S.pdfPages })
296
296
  ] }),
297
297
  /* @__PURE__ */ e.jsx(
298
298
  "a",
@@ -300,7 +300,7 @@ const Fn = ({
300
300
  href: i,
301
301
  target: "_blank",
302
302
  rel: "noopener noreferrer",
303
- className: L.openInNewTab,
303
+ className: S.openInNewTab,
304
304
  children: "Open in new tab"
305
305
  }
306
306
  )
@@ -310,110 +310,110 @@ const Fn = ({
310
310
  )
311
311
  }
312
312
  ) : null;
313
- }, Dn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ce = ({
313
+ }, Kn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", he = ({
314
314
  t: n,
315
- pdfUrl: o = Dn,
315
+ pdfUrl: o = Kn,
316
316
  onClick: a,
317
317
  analytics: i,
318
318
  className: t = ""
319
319
  }) => {
320
- const [s, r] = F(!1), m = n("viewSampleReport"), u = n("sampleReportModalTitle"), h = () => {
320
+ const [s, r] = E(!1), m = n("viewSampleReport"), h = n("sampleReportModalTitle"), u = () => {
321
321
  i?.trackViewSampleReportClicked?.(), a?.(), r(!0);
322
322
  }, _ = () => {
323
323
  i?.trackViewSampleReportClosed?.(), r(!1);
324
324
  };
325
- return /* @__PURE__ */ e.jsxs("section", { className: `${Q.section} ${t}`, children: [
326
- /* @__PURE__ */ e.jsx("button", { type: "button", className: Q.button, onClick: h, children: m }),
325
+ return /* @__PURE__ */ e.jsxs("section", { className: `${ee.section} ${t}`, children: [
326
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: ee.button, onClick: u, children: m }),
327
327
  /* @__PURE__ */ e.jsx(
328
- Fn,
328
+ Mn,
329
329
  {
330
330
  isOpen: s,
331
331
  onClose: _,
332
- title: u,
332
+ title: h,
333
333
  pdfUrl: o
334
334
  }
335
335
  )
336
336
  ] });
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 = {
338
- section: On,
339
- heading: Un,
340
- list: Kn,
341
- item: An,
342
- imageWrap: Mn,
343
- image: Gn,
344
- imagePlaceholder: Bn,
345
- text: Wn,
346
- itemTitle: Hn,
347
- itemDesc: qn
348
- }, Vn = [
337
+ }, An = "_section_1ds1w_1", Gn = "_heading_1ds1w_5", Bn = "_list_1ds1w_10", Wn = "_item_1ds1w_17", qn = "_imageWrap_1ds1w_21", Hn = "_image_1ds1w_21", Vn = "_imagePlaceholder_1ds1w_30", zn = "_text_1ds1w_36", Yn = "_itemTitle_1ds1w_40", Qn = "_itemDesc_1ds1w_51", R = {
338
+ section: An,
339
+ heading: Gn,
340
+ list: Bn,
341
+ item: Wn,
342
+ imageWrap: qn,
343
+ image: Hn,
344
+ imagePlaceholder: Vn,
345
+ text: zn,
346
+ itemTitle: Yn,
347
+ itemDesc: Qn
348
+ }, Jn = [
349
349
  { titleKey: "findDasha", descKey: "findDashaDesc" },
350
350
  { titleKey: "findYoga", descKey: "findYogaDesc" },
351
351
  { titleKey: "findGemstone", descKey: "findGemstoneDesc" },
352
352
  { titleKey: "findPooja", descKey: "findPoojaDesc" },
353
353
  { titleKey: "findMonthly", descKey: "findMonthlyDesc" },
354
354
  { titleKey: "findStrength", descKey: "findStrengthDesc" }
355
- ], zn = [
355
+ ], Xn = [
356
356
  "https://srm-cdn.a4b.io/yoda/1772619204758.webp",
357
357
  "https://srm-cdn.a4b.io/yoda/1772619215121.webp",
358
358
  "https://srm-cdn.a4b.io/yoda/1772619232241.webp",
359
359
  "https://srm-cdn.a4b.io/yoda/1772619253699.webp",
360
360
  "https://srm-cdn.a4b.io/yoda/1772619272322.webp",
361
361
  "https://srm-cdn.a4b.io/yoda/1772619284662.webp"
362
- ], de = ({
362
+ ], pe = ({
363
363
  t: n,
364
- imageUrls: o = zn,
364
+ imageUrls: o = Xn,
365
365
  className: a = ""
366
366
  }) => {
367
- const t = A()?.config.imageComponent ?? B;
367
+ const t = A()?.config.imageComponent ?? W;
368
368
  return /* @__PURE__ */ e.jsxs(
369
369
  "section",
370
370
  {
371
- className: `${T.section} ${a}`,
371
+ className: `${R.section} ${a}`,
372
372
  "aria-labelledby": "find-heading",
373
373
  children: [
374
- /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: T.heading, children: n("whatYoullFindTitle") }),
375
- /* @__PURE__ */ e.jsx("ul", { className: T.list, children: Vn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: T.item, children: [
376
- /* @__PURE__ */ e.jsx("div", { className: T.imageWrap, children: o[r] ? /* @__PURE__ */ e.jsx(
374
+ /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: R.heading, children: n("whatYoullFindTitle") }),
375
+ /* @__PURE__ */ e.jsx("ul", { className: R.list, children: Jn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: R.item, children: [
376
+ /* @__PURE__ */ e.jsx("div", { className: R.imageWrap, children: o[r] ? /* @__PURE__ */ e.jsx(
377
377
  t,
378
378
  {
379
379
  src: o[r],
380
380
  alt: "",
381
- className: T.image,
381
+ className: R.image,
382
382
  width: 96,
383
383
  height: 96,
384
384
  loading: "lazy",
385
385
  sizes: "96px"
386
386
  }
387
- ) : /* @__PURE__ */ e.jsx("div", { className: T.imagePlaceholder, "aria-hidden": !0 }) }),
388
- /* @__PURE__ */ e.jsxs("div", { className: T.text, children: [
389
- /* @__PURE__ */ e.jsx("h3", { className: T.itemTitle, children: n(s.titleKey) }),
390
- /* @__PURE__ */ e.jsx("p", { className: T.itemDesc, children: n(s.descKey) })
387
+ ) : /* @__PURE__ */ e.jsx("div", { className: R.imagePlaceholder, "aria-hidden": !0 }) }),
388
+ /* @__PURE__ */ e.jsxs("div", { className: R.text, children: [
389
+ /* @__PURE__ */ e.jsx("h3", { className: R.itemTitle, children: n(s.titleKey) }),
390
+ /* @__PURE__ */ e.jsx("p", { className: R.itemDesc, children: n(s.descKey) })
391
391
  ] })
392
392
  ] }, s.titleKey)) })
393
393
  ]
394
394
  }
395
395
  );
396
- }, Yn = "_section_75s76_1", Qn = "_heading_75s76_6", Jn = "_subtitle_75s76_11", Xn = "_list_75s76_16", Zn = "_item_75s76_20", G = {
397
- section: Yn,
398
- heading: Qn,
399
- subtitle: Jn,
400
- list: Xn,
401
- item: Zn
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)) })
406
- ] }), ns = "_headingBold_g8xg7_1", ss = {
407
- headingBold: ns
408
- }, he = ({
396
+ }, Zn = "_section_75s76_1", es = "_heading_75s76_6", ns = "_subtitle_75s76_11", ss = "_list_75s76_16", ts = "_item_75s76_20", B = {
397
+ section: Zn,
398
+ heading: es,
399
+ subtitle: ns,
400
+ list: ss,
401
+ item: ts
402
+ }, as = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], ge = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${B.section} ${o}`, "aria-labelledby": "why-heading", children: [
403
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: B.heading, children: n("whyUsTitle") }),
404
+ /* @__PURE__ */ e.jsx("p", { className: B.subtitle, children: n("whyUsSubtitle") }),
405
+ /* @__PURE__ */ e.jsx("ul", { className: B.list, children: as.map((a) => /* @__PURE__ */ e.jsx("li", { className: B.item, children: n(a) }, a)) })
406
+ ] }), os = "_headingBold_g8xg7_1", is = {
407
+ headingBold: os
408
+ }, _e = ({
409
409
  t: n,
410
410
  testimonials: o,
411
411
  readMoreHref: a,
412
412
  onReadMore: i,
413
413
  className: t = "",
414
- headingClassName: s = ss.headingBold
414
+ headingClassName: s = is.headingBold
415
415
  }) => /* @__PURE__ */ e.jsx(
416
- ve,
416
+ Ce,
417
417
  {
418
418
  t: n,
419
419
  testimonials: o,
@@ -422,29 +422,29 @@ const Fn = ({
422
422
  className: t,
423
423
  headingClassName: s
424
424
  }
425
- ), ts = "_headingBold_g8xg7_1", as = {
426
- headingBold: ts
427
- }, os = [
425
+ ), ls = "_headingBold_g8xg7_1", rs = {
426
+ headingBold: ls
427
+ }, cs = [
428
428
  { qKey: "faqQ1", aKey: "faqA1" },
429
429
  { qKey: "faqQ3", aKey: "faqA3" }
430
- ], ue = ({
430
+ ], xe = ({
431
431
  t: n,
432
432
  className: o = "",
433
- headingClassName: a = as.headingBold
433
+ headingClassName: a = rs.headingBold
434
434
  }) => {
435
435
  const t = A()?.config.isGlobal ?? !0, s = (r) => r === "faqA1" ? t ? "faqA1Global" : "faqA1Domestic" : r;
436
436
  return /* @__PURE__ */ e.jsx(
437
- ke,
437
+ Le,
438
438
  {
439
439
  t: n,
440
- items: os,
440
+ items: cs,
441
441
  resolveAnswerKey: s,
442
442
  defaultOpenIndex: 1,
443
443
  className: o,
444
444
  headingClassName: a
445
445
  }
446
446
  );
447
- }, J = "8296947757", X = "08071174417", Z = "pujaseva@appsforbharat.com", pe = ({
447
+ }, ne = "8296947757", se = "08071174417", te = "pujaseva@appsforbharat.com", fe = ({
448
448
  t: n,
449
449
  whatsAppGlobal: o,
450
450
  whatsAppDomestic: a,
@@ -452,34 +452,34 @@ const Fn = ({
452
452
  brandName: t,
453
453
  className: s = ""
454
454
  }) => {
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, _);
455
+ const m = A()?.config.isGlobal ?? !0, h = o ?? ne, u = a ?? se, _ = i ?? te, d = m ? n("contactWhatsAppGlobal").replace(ne, h) : n("contactWhatsAppDomestic").replace(se, u), x = n("contactEmail").replace(te, _);
456
456
  return /* @__PURE__ */ e.jsx(
457
- Ne,
457
+ Te,
458
458
  {
459
459
  title: n("contactTitle"),
460
460
  brandName: t ?? n("contactBrandName"),
461
- whatsAppLine: c,
461
+ whatsAppLine: d,
462
462
  emailLine: x,
463
463
  className: s
464
464
  }
465
465
  );
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 }) => {
467
- const a = A()?.config.imageComponent ?? B;
468
- return /* @__PURE__ */ e.jsxs("div", { className: O.marqueeContent, children: [
469
- /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
470
- /* @__PURE__ */ e.jsx(a, { src: is, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
466
+ }, ds = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ms = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", us = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", hs = ({ t: n }) => {
467
+ const a = A()?.config.imageComponent ?? W;
468
+ return /* @__PURE__ */ e.jsxs("div", { className: U.marqueeContent, children: [
469
+ /* @__PURE__ */ e.jsxs("span", { className: U.badge, children: [
470
+ /* @__PURE__ */ e.jsx(a, { src: ds, alt: "", className: U.badgeIcon, width: 16, height: 16, loading: "lazy" }),
471
471
  n("ctaKundliCreated")
472
472
  ] }),
473
- /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
474
- /* @__PURE__ */ e.jsx(a, { src: ls, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
473
+ /* @__PURE__ */ e.jsxs("span", { className: U.badge, children: [
474
+ /* @__PURE__ */ e.jsx(a, { src: ms, alt: "", className: U.badgeIcon, width: 16, height: 16, loading: "lazy" }),
475
475
  n("ctaCertified")
476
476
  ] }),
477
- /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
478
- /* @__PURE__ */ e.jsx(a, { src: rs, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
477
+ /* @__PURE__ */ e.jsxs("span", { className: U.badge, children: [
478
+ /* @__PURE__ */ e.jsx(a, { src: us, alt: "", className: U.badgeIcon, width: 16, height: 16, loading: "lazy" }),
479
479
  n("ctaSecurePayment")
480
480
  ] })
481
481
  ] });
482
- }, ds = ({
482
+ }, ps = ({
483
483
  t: n,
484
484
  onCtaClick: o,
485
485
  ctaHref: a,
@@ -487,21 +487,21 @@ const Fn = ({
487
487
  }) => {
488
488
  const t = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
489
489
  return /* @__PURE__ */ e.jsx(
490
- Pe,
490
+ Se,
491
491
  {
492
492
  className: i,
493
- marquee: /* @__PURE__ */ e.jsx(Le, { children: /* @__PURE__ */ e.jsx(cs, { t: n }) }),
494
- children: /* @__PURE__ */ e.jsx(Ce, { href: a, onClick: o, children: t })
493
+ marquee: /* @__PURE__ */ e.jsx($e, { children: /* @__PURE__ */ e.jsx(hs, { t: n }) }),
494
+ children: /* @__PURE__ */ e.jsx(Re, { href: a, onClick: o, children: t })
495
495
  }
496
496
  );
497
- }, ms = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", hs = (n, o) => ae[n]?.[o] ?? o, us = 112;
498
- function S({
497
+ }, gs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", _s = (n, o) => re[n]?.[o] ?? o, xs = 112;
498
+ function $({
499
499
  section: n,
500
500
  children: o,
501
501
  onImpression: a
502
502
  }) {
503
- const i = y(null), t = y(!1);
504
- return k(() => {
503
+ const i = j(null), t = j(!1);
504
+ return w(() => {
505
505
  const s = i.current;
506
506
  if (!s) return;
507
507
  const r = new IntersectionObserver(
@@ -511,39 +511,39 @@ function S({
511
511
  {
512
512
  threshold: 0.1,
513
513
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
514
- rootMargin: `0px 0px -${us}px 0px`
514
+ rootMargin: `0px 0px -${xs}px 0px`
515
515
  }
516
516
  );
517
517
  return r.observe(s), () => r.disconnect();
518
518
  }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
519
519
  }
520
- function ps({ className: n }) {
521
- const { view: o } = z();
522
- return o === "form" ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx(gs, { className: n });
520
+ function fs({ className: n }) {
521
+ const { view: o } = Y();
522
+ return o === "form" ? /* @__PURE__ */ e.jsx(we, {}) : /* @__PURE__ */ e.jsx(bs, { className: n });
523
523
  }
524
- function gs({ className: n }) {
525
- const o = ne(), {
524
+ function bs({ className: n }) {
525
+ const o = oe(), {
526
526
  locale: a,
527
527
  setLocale: i,
528
528
  config: t,
529
529
  goToForm: s
530
- } = z(), [r, m] = F(!1), u = y(null), h = y(t.locale), _ = y(
530
+ } = Y(), [r, m] = E(!1), h = j(null), u = j(t.locale), _ = j(
531
531
  o?.locale
532
532
  );
533
- k(() => {
534
- t.locale && h.current !== t.locale && i(t.locale), h.current = t.locale;
535
- }, [t.locale, i]), k(() => {
533
+ w(() => {
534
+ t.locale && u.current !== t.locale && i(t.locale), u.current = t.locale;
535
+ }, [t.locale, i]), w(() => {
536
536
  if (t.locale) return;
537
537
  const l = o?.locale;
538
538
  l && _.current !== l && i(l), _.current = l;
539
- }, [o?.locale, t.locale, i]), k(() => {
539
+ }, [o?.locale, t.locale, i]), w(() => {
540
540
  if (!r) return;
541
- const l = (j) => {
542
- u.current && !u.current.contains(j.target) && m(!1);
541
+ const l = (y) => {
542
+ h.current && !h.current.contains(y.target) && m(!1);
543
543
  };
544
544
  return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
545
545
  }, [r]);
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: [
546
+ const d = (l) => _s(a, l), x = t.showLanguageSelector ?? !0, L = t.imageComponent ?? W, v = x ? /* @__PURE__ */ e.jsxs("div", { className: D.langDropdownWrap, ref: h, children: [
547
547
  /* @__PURE__ */ e.jsxs(
548
548
  "button",
549
549
  {
@@ -555,12 +555,12 @@ function gs({ className: n }) {
555
555
  "aria-expanded": r,
556
556
  "aria-haspopup": "listbox",
557
557
  id: "kundli-lang",
558
- "aria-label": c("language"),
558
+ "aria-label": d("language"),
559
559
  children: [
560
560
  /* @__PURE__ */ e.jsx(
561
- C,
561
+ L,
562
562
  {
563
- src: ms,
563
+ src: gs,
564
564
  alt: "",
565
565
  className: D.langIcon,
566
566
  width: 16,
@@ -568,7 +568,7 @@ function gs({ className: n }) {
568
568
  loading: "eager"
569
569
  }
570
570
  ),
571
- /* @__PURE__ */ e.jsx("span", { className: D.langLabel, children: W[a] })
571
+ /* @__PURE__ */ e.jsx("span", { className: D.langLabel, children: q[a] })
572
572
  ]
573
573
  }
574
574
  ),
@@ -579,7 +579,7 @@ function gs({ className: n }) {
579
579
  role: "listbox",
580
580
  "aria-labelledby": "kundli-lang",
581
581
  "aria-activedescendant": `kundli-lang-option-${a}`,
582
- children: se.map((l) => /* @__PURE__ */ e.jsx(
582
+ children: ie.map((l) => /* @__PURE__ */ e.jsx(
583
583
  "li",
584
584
  {
585
585
  id: `kundli-lang-option-${l}`,
@@ -589,16 +589,16 @@ function gs({ className: n }) {
589
589
  onClick: () => {
590
590
  t.analytics?.trackLanguageChangedFe?.({ newLanguage: l }), i(l), m(!1);
591
591
  },
592
- children: W[l]
592
+ children: q[l]
593
593
  },
594
594
  l
595
595
  ))
596
596
  }
597
597
  )
598
598
  ] }) : null, I = (l) => {
599
- const j = l.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
600
- t.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: j }), s(), t.onCtaClick?.();
601
- }, p = K(
599
+ const y = l.currentTarget.innerText?.trim() ?? d("ctaButtonAfter");
600
+ t.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: y }), s(), t.onCtaClick?.();
601
+ }, p = M(
602
602
  (l) => {
603
603
  t.analytics?.trackDetailedKundliReportImpressionFe?.({
604
604
  section: l,
@@ -609,31 +609,31 @@ function gs({ className: n }) {
609
609
  );
610
610
  return /* @__PURE__ */ e.jsxs("div", { className: `${D.container} ${n}`, children: [
611
611
  /* @__PURE__ */ e.jsx(
612
- te,
612
+ le,
613
613
  {
614
- t: c,
614
+ t: d,
615
615
  logoUrl: t.logoUrl,
616
- languageSelector: w
616
+ languageSelector: v
617
617
  }
618
618
  ),
619
619
  /* @__PURE__ */ e.jsxs("main", { className: D.main, children: [
620
620
  /* @__PURE__ */ e.jsx(
621
- S,
621
+ $,
622
622
  {
623
623
  section: "hero",
624
624
  onImpression: p,
625
- children: /* @__PURE__ */ e.jsx(oe, { t: c })
625
+ children: /* @__PURE__ */ e.jsx(ce, { t: d })
626
626
  }
627
627
  ),
628
628
  /* @__PURE__ */ e.jsx(
629
- S,
629
+ $,
630
630
  {
631
631
  section: "premium_report_overview",
632
632
  onImpression: p,
633
633
  children: /* @__PURE__ */ e.jsx(
634
- ie,
634
+ de,
635
635
  {
636
- t: c,
636
+ t: d,
637
637
  reportImageUrl: t.reportImageUrl,
638
638
  reportImagePriority: t.reportImagePriority,
639
639
  backgroundImagePriority: t.backgroundImagePriority,
@@ -643,36 +643,36 @@ function gs({ className: n }) {
643
643
  }
644
644
  ),
645
645
  /* @__PURE__ */ e.jsx(
646
- S,
646
+ $,
647
647
  {
648
648
  section: "university_certification",
649
649
  onImpression: p,
650
650
  children: /* @__PURE__ */ e.jsx(
651
- le,
651
+ me,
652
652
  {
653
- t: c,
653
+ t: d,
654
654
  logoUrl: t.universityLogoUrls?.find((l) => !!l)
655
655
  }
656
656
  )
657
657
  }
658
658
  ),
659
659
  /* @__PURE__ */ e.jsx(
660
- S,
660
+ $,
661
661
  {
662
662
  section: "three_steps_process",
663
663
  onImpression: p,
664
- children: /* @__PURE__ */ e.jsx(re, { t: c, locale: a, isGlobal: t.isGlobal })
664
+ children: /* @__PURE__ */ e.jsx(ue, { t: d, locale: a, isGlobal: t.isGlobal })
665
665
  }
666
666
  ),
667
667
  /* @__PURE__ */ e.jsx(
668
- S,
668
+ $,
669
669
  {
670
670
  section: "view_sample_report",
671
671
  onImpression: p,
672
672
  children: /* @__PURE__ */ e.jsx(
673
- ce,
673
+ he,
674
674
  {
675
- t: c,
675
+ t: d,
676
676
  pdfUrl: t.sampleReportHref,
677
677
  onClick: t.onViewSampleReport,
678
678
  analytics: t.analytics
@@ -681,30 +681,30 @@ function gs({ className: n }) {
681
681
  }
682
682
  ),
683
683
  /* @__PURE__ */ e.jsx(
684
- S,
684
+ $,
685
685
  {
686
686
  section: "what_youll_find",
687
687
  onImpression: p,
688
- children: /* @__PURE__ */ e.jsx(de, { t: c })
688
+ children: /* @__PURE__ */ e.jsx(pe, { t: d })
689
689
  }
690
690
  ),
691
691
  /* @__PURE__ */ e.jsx(
692
- S,
692
+ $,
693
693
  {
694
694
  section: "why_us",
695
695
  onImpression: p,
696
- children: /* @__PURE__ */ e.jsx(me, { t: c })
696
+ children: /* @__PURE__ */ e.jsx(ge, { t: d })
697
697
  }
698
698
  ),
699
699
  /* @__PURE__ */ e.jsx(
700
- S,
700
+ $,
701
701
  {
702
702
  section: "feedback",
703
703
  onImpression: p,
704
704
  children: /* @__PURE__ */ e.jsx(
705
- he,
705
+ _e,
706
706
  {
707
- t: c,
707
+ t: d,
708
708
  readMoreHref: t.readMoreReviewsHref,
709
709
  onReadMore: t.analytics?.trackReadMoreReviewsClicked ? () => t.analytics.trackReadMoreReviewsClicked() : void 0
710
710
  }
@@ -712,33 +712,33 @@ function gs({ className: n }) {
712
712
  }
713
713
  ),
714
714
  /* @__PURE__ */ e.jsx(
715
- S,
715
+ $,
716
716
  {
717
717
  section: "faq",
718
718
  onImpression: p,
719
- children: /* @__PURE__ */ e.jsx(ue, { t: c })
719
+ children: /* @__PURE__ */ e.jsx(xe, { t: d })
720
720
  }
721
721
  ),
722
722
  /* @__PURE__ */ e.jsx(
723
- S,
723
+ $,
724
724
  {
725
725
  section: "contact_us",
726
726
  onImpression: p,
727
- children: /* @__PURE__ */ e.jsx(pe, { t: c })
727
+ children: /* @__PURE__ */ e.jsx(fe, { t: d })
728
728
  }
729
729
  )
730
730
  ] }),
731
731
  /* @__PURE__ */ e.jsx(
732
- ds,
732
+ ps,
733
733
  {
734
- t: c,
734
+ t: d,
735
735
  ctaHref: t.ctaHref,
736
736
  onCtaClick: t.ctaHref ? void 0 : I
737
737
  }
738
738
  )
739
739
  ] });
740
740
  }
741
- const _s = ({
741
+ const js = ({
742
742
  className: n = "",
743
743
  locale: o,
744
744
  showLanguageSelector: a = !0,
@@ -747,23 +747,23 @@ const _s = ({
747
747
  isGlobal: s,
748
748
  atlasSearchLocalities: r,
749
749
  logoUrl: m,
750
- reportImageUrl: u,
751
- universityLogoUrls: h,
750
+ reportImageUrl: h,
751
+ universityLogoUrls: u,
752
752
  sampleReportHref: _,
753
- onViewSampleReport: c,
753
+ onViewSampleReport: d,
754
754
  ctaHref: x,
755
- onCtaClick: C,
756
- readMoreReviewsHref: w,
755
+ onCtaClick: L,
756
+ readMoreReviewsHref: v,
757
757
  onProceed: I,
758
758
  onProceedGuidance: p,
759
759
  proceedHref: l,
760
- originalPriceLabel: j,
761
- discountedPriceLabel: $,
760
+ originalPriceLabel: y,
761
+ discountedPriceLabel: T,
762
762
  discountPillLabel: b,
763
- analytics: E,
764
- onLocaleChange: U
763
+ analytics: F,
764
+ onLocaleChange: O
765
765
  }) => /* @__PURE__ */ e.jsx(
766
- ee,
766
+ ae,
767
767
  {
768
768
  locale: o,
769
769
  showLanguageSelector: a,
@@ -772,42 +772,43 @@ const _s = ({
772
772
  isGlobal: s,
773
773
  atlasSearchLocalities: r,
774
774
  logoUrl: m,
775
- reportImageUrl: u,
776
- universityLogoUrls: h,
775
+ reportImageUrl: h,
776
+ universityLogoUrls: u,
777
777
  sampleReportHref: _,
778
- onViewSampleReport: c,
778
+ onViewSampleReport: d,
779
779
  ctaHref: x,
780
- onCtaClick: C,
781
- readMoreReviewsHref: w,
780
+ onCtaClick: L,
781
+ readMoreReviewsHref: v,
782
782
  onProceed: I,
783
783
  onProceedGuidance: p,
784
784
  proceedHref: l,
785
- originalPriceLabel: j,
786
- discountedPriceLabel: $,
785
+ originalPriceLabel: y,
786
+ discountedPriceLabel: T,
787
787
  discountPillLabel: b,
788
- analytics: E,
789
- onLocaleChange: U,
790
- children: /* @__PURE__ */ e.jsx(ps, { className: n })
788
+ analytics: F,
789
+ onLocaleChange: O,
790
+ children: /* @__PURE__ */ e.jsx(fs, { className: n })
791
791
  }
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 = {
793
- container: xs,
794
- main: fs,
795
- langDropdownWrap: bs,
796
- langTrigger: js,
797
- langIcon: ys,
798
- langLabel: ws,
799
- langMenu: Is,
800
- langOption: vs,
801
- inlineFormWrap: ks,
802
- inlineProceedFooter: Ns
803
- }, Ps = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cs = (n, o) => ae[n]?.[o] ?? o, Ls = 112;
804
- function P({
792
+ ), ys = "_container_1s38q_1", ws = "_main_1s38q_6", vs = "_langDropdownWrap_1s38q_12", Is = "_langTrigger_1s38q_16", Ns = "_langIcon_1s38q_28", ks = "_langLabel_1s38q_35", Ps = "_langMenu_1s38q_40", Cs = "_langOption_1s38q_46", Ls = "_inlineFormWrap_1s38q_57", Ts = "_inlineProceedFooter_1s38q_74", Ss = "_validationToast_1s38q_78", P = {
793
+ container: ys,
794
+ main: ws,
795
+ langDropdownWrap: vs,
796
+ langTrigger: Is,
797
+ langIcon: Ns,
798
+ langLabel: ks,
799
+ langMenu: Ps,
800
+ langOption: Cs,
801
+ inlineFormWrap: Ls,
802
+ inlineProceedFooter: Ts,
803
+ validationToast: Ss
804
+ }, Rs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", $s = (n, o) => re[n]?.[o] ?? o, Es = 112;
805
+ function C({
805
806
  section: n,
806
807
  children: o,
807
808
  onImpression: a
808
809
  }) {
809
- const i = y(null), t = y(!1);
810
- return k(() => {
810
+ const i = j(null), t = j(!1);
811
+ return w(() => {
811
812
  const s = i.current;
812
813
  if (!s) return;
813
814
  const r = new IntersectionObserver(
@@ -817,62 +818,68 @@ function P({
817
818
  {
818
819
  threshold: 0.1,
819
820
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
820
- rootMargin: `0px 0px -${Ls}px 0px`
821
+ rootMargin: `0px 0px -${Es}px 0px`
821
822
  }
822
823
  );
823
824
  return r.observe(s), () => r.disconnect();
824
825
  }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
825
826
  }
826
- function Ts({ className: n }) {
827
- return /* @__PURE__ */ e.jsx(Ss, { className: n, showInlineForm: !0 });
827
+ function Fs({ className: n }) {
828
+ return /* @__PURE__ */ e.jsx(Ds, { className: n, showInlineForm: !0 });
828
829
  }
829
- function Ss({
830
+ function Ds({
830
831
  className: n,
831
832
  showInlineForm: o = !1
832
833
  }) {
833
- const a = ne(), {
834
+ const a = oe(), {
834
835
  locale: i,
835
836
  setLocale: t,
836
837
  config: s,
837
838
  formValues: r,
838
839
  setFormValues: m
839
- } = z(), [u, h] = F(!1), [_, c] = F(null), x = y(null), C = K((d) => {
840
- x.current = d, h(!0);
841
- }, []), w = K(() => {
840
+ } = Y(), [h, u] = E(!1), [_, d] = E(null), x = j(null), L = M((c) => {
841
+ x.current = c, u(!0);
842
+ }, []), v = M(() => {
842
843
  if (!x.current || !_) return;
843
- const d = {
844
+ const c = {
844
845
  ...x.current,
845
846
  _selectedPlan: _
846
847
  };
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(
848
+ _.id === ve && s.onProceedGuidance ? s.onProceedGuidance(c) : s.onProceed?.(c), u(!1), x.current = null;
849
+ }, [_, s.onProceed, s.onProceedGuidance]), [I, p] = E(!1), [l, y] = E(""), [T, b] = E(
849
850
  s.isGlobal ?? !0 ? "+1" : "+91"
850
- ), $ = y(null), b = y(null), E = y(s.locale), U = y(
851
+ ), F = j(null), O = j(null), K = j(null), Q = j(s.locale), J = j(
851
852
  a?.locale
852
853
  );
853
- k(() => {
854
- s.locale && E.current !== s.locale && t(s.locale), E.current = s.locale;
855
- }, [s.locale, t]), k(() => {
854
+ w(() => {
855
+ s.locale && Q.current !== s.locale && t(s.locale), Q.current = s.locale;
856
+ }, [s.locale, t]), w(() => {
856
857
  if (s.locale) return;
857
- const d = a?.locale;
858
- d && U.current !== d && t(d), U.current = d;
859
- }, [a?.locale, s.locale, t]), k(() => {
860
- j(s.isGlobal ?? !0 ? "+1" : "+91");
861
- }, [s.isGlobal]), k(() => {
858
+ const c = a?.locale;
859
+ c && J.current !== c && t(c), J.current = c;
860
+ }, [a?.locale, s.locale, t]), w(() => {
861
+ b(s.isGlobal ?? !0 ? "+1" : "+91");
862
+ }, [s.isGlobal]), w(() => {
862
863
  if (!I) return;
863
- const d = (Y) => {
864
- b.current && !b.current.contains(Y.target) && p(!1);
864
+ const c = (Z) => {
865
+ O.current && !O.current.contains(Z.target) && p(!1);
865
866
  };
866
- return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
867
- }, [I]);
868
- const f = (d) => Cs(i, d), ge = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: R.langDropdownWrap, ref: b, children: [
867
+ return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
868
+ }, [I]), w(() => () => {
869
+ K.current !== null && window.clearTimeout(K.current);
870
+ }, []);
871
+ const X = M((c) => {
872
+ y(c), K.current !== null && window.clearTimeout(K.current), K.current = window.setTimeout(() => {
873
+ y(""), K.current = null;
874
+ }, 2200);
875
+ }, []), f = (c) => $s(i, c), be = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: P.langDropdownWrap, ref: O, children: [
869
876
  /* @__PURE__ */ e.jsxs(
870
877
  "button",
871
878
  {
872
879
  type: "button",
873
- className: R.langTrigger,
880
+ className: P.langTrigger,
874
881
  onClick: () => {
875
- s.analytics?.trackLanguageClickedFe?.({ language: i }), p((d) => !d);
882
+ s.analytics?.trackLanguageClickedFe?.({ language: i }), p((c) => !c);
876
883
  },
877
884
  "aria-expanded": I,
878
885
  "aria-haspopup": "listbox",
@@ -882,51 +889,51 @@ function Ss({
882
889
  /* @__PURE__ */ e.jsx(
883
890
  "img",
884
891
  {
885
- src: Ps,
892
+ src: Rs,
886
893
  alt: "",
887
- className: R.langIcon,
894
+ className: P.langIcon,
888
895
  width: 16,
889
896
  height: 16,
890
897
  "aria-hidden": !0
891
898
  }
892
899
  ),
893
- /* @__PURE__ */ e.jsx("span", { className: R.langLabel, children: W[i] })
900
+ /* @__PURE__ */ e.jsx("span", { className: P.langLabel, children: q[i] })
894
901
  ]
895
902
  }
896
903
  ),
897
904
  I && /* @__PURE__ */ e.jsx(
898
905
  "ul",
899
906
  {
900
- className: R.langMenu,
907
+ className: P.langMenu,
901
908
  role: "listbox",
902
909
  "aria-labelledby": "kundli-lang",
903
910
  "aria-activedescendant": `kundli-lang-option-${i}`,
904
- children: se.map((d) => /* @__PURE__ */ e.jsx(
911
+ children: ie.map((c) => /* @__PURE__ */ e.jsx(
905
912
  "li",
906
913
  {
907
- id: `kundli-lang-option-${d}`,
914
+ id: `kundli-lang-option-${c}`,
908
915
  role: "option",
909
- "aria-selected": d === i,
910
- className: R.langOption,
916
+ "aria-selected": c === i,
917
+ className: P.langOption,
911
918
  onClick: () => {
912
- s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), t(d), p(!1);
919
+ s.analytics?.trackLanguageChangedFe?.({ newLanguage: c }), t(c), p(!1);
913
920
  },
914
- children: W[d]
921
+ children: q[c]
915
922
  },
916
- d
923
+ c
917
924
  ))
918
925
  }
919
926
  )
920
- ] }) : null, N = K(
921
- (d) => {
927
+ ] }) : null, k = M(
928
+ (c) => {
922
929
  s.analytics?.trackDetailedKundliReportImpressionFe?.({
923
- section: d,
930
+ section: c,
924
931
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
925
932
  });
926
933
  },
927
934
  [s.analytics]
928
- ), H = K((d) => {
929
- const _e = {
935
+ ), H = M((c) => {
936
+ const je = {
930
937
  fullName: "kundli-full-name",
931
938
  phone: "kundli-phone",
932
939
  email: "kundli-email",
@@ -935,42 +942,43 @@ function Ss({
935
942
  birthPlace: "kundli-birth-place",
936
943
  gender: "kundli-gender-male",
937
944
  language_code: "kundli-report-lang-hi"
938
- }[d] ?? "kundli-full-name", q = document.getElementById(_e);
939
- if (q) {
940
- const xe = q.getBoundingClientRect().top + window.scrollY - 120;
945
+ }[c] ?? "kundli-full-name", V = document.getElementById(je);
946
+ if (V) {
947
+ const ye = V.getBoundingClientRect().top + window.scrollY - 120;
941
948
  window.scrollTo({
942
- top: xe,
949
+ top: ye,
943
950
  behavior: "smooth"
944
- }), setTimeout(() => q.focus(), 500);
951
+ }), setTimeout(() => V.focus(), 500);
945
952
  }
946
- }, []);
947
- return K(() => {
953
+ X("Please fill all the fields");
954
+ }, [X]);
955
+ return M(() => {
948
956
  H("fullName");
949
- }, [H]), /* @__PURE__ */ e.jsxs("div", { className: `${R.container} ${n}`, children: [
957
+ }, [H]), /* @__PURE__ */ e.jsxs("div", { className: `${P.container} ${n}`, children: [
950
958
  /* @__PURE__ */ e.jsx(
951
- te,
959
+ le,
952
960
  {
953
961
  t: f,
954
962
  logoUrl: s.logoUrl,
955
- languageSelector: ge
963
+ languageSelector: be
956
964
  }
957
965
  ),
958
- /* @__PURE__ */ e.jsxs("main", { className: R.main, children: [
966
+ /* @__PURE__ */ e.jsxs("main", { className: P.main, children: [
959
967
  /* @__PURE__ */ e.jsx(
960
- P,
968
+ C,
961
969
  {
962
970
  section: "hero",
963
- onImpression: N,
964
- children: /* @__PURE__ */ e.jsx(oe, { t: f })
971
+ onImpression: k,
972
+ children: /* @__PURE__ */ e.jsx(ce, { t: f })
965
973
  }
966
974
  ),
967
975
  /* @__PURE__ */ e.jsx(
968
- P,
976
+ C,
969
977
  {
970
978
  section: "premium_report_overview",
971
- onImpression: N,
979
+ onImpression: k,
972
980
  children: /* @__PURE__ */ e.jsx(
973
- ie,
981
+ de,
974
982
  {
975
983
  t: f,
976
984
  reportImageUrl: s.reportImageUrl,
@@ -980,34 +988,34 @@ function Ss({
980
988
  }
981
989
  ),
982
990
  /* @__PURE__ */ e.jsx(
983
- P,
991
+ C,
984
992
  {
985
993
  section: "university_certification",
986
- onImpression: N,
994
+ onImpression: k,
987
995
  children: /* @__PURE__ */ e.jsx(
988
- le,
996
+ me,
989
997
  {
990
998
  t: f,
991
- logoUrl: s.universityLogoUrls?.find((d) => !!d)
999
+ logoUrl: s.universityLogoUrls?.find((c) => !!c)
992
1000
  }
993
1001
  )
994
1002
  }
995
1003
  ),
996
1004
  /* @__PURE__ */ e.jsx(
997
- P,
1005
+ C,
998
1006
  {
999
1007
  section: "three_steps_process",
1000
- onImpression: N,
1001
- children: /* @__PURE__ */ e.jsx(re, { t: f, locale: i, isGlobal: s.isGlobal })
1008
+ onImpression: k,
1009
+ children: /* @__PURE__ */ e.jsx(ue, { t: f, locale: i, isGlobal: s.isGlobal })
1002
1010
  }
1003
1011
  ),
1004
1012
  /* @__PURE__ */ e.jsx(
1005
- P,
1013
+ C,
1006
1014
  {
1007
1015
  section: "view_sample_report",
1008
- onImpression: N,
1016
+ onImpression: k,
1009
1017
  children: /* @__PURE__ */ e.jsx(
1010
- ce,
1018
+ he,
1011
1019
  {
1012
1020
  t: f,
1013
1021
  pdfUrl: s.sampleReportHref,
@@ -1018,30 +1026,30 @@ function Ss({
1018
1026
  }
1019
1027
  ),
1020
1028
  o && /* @__PURE__ */ e.jsx(
1021
- P,
1029
+ C,
1022
1030
  {
1023
1031
  section: "inline_form",
1024
- onImpression: N,
1025
- children: /* @__PURE__ */ e.jsxs("div", { className: R.inlineFormWrap, ref: $, children: [
1026
- /* @__PURE__ */ e.jsx(je, { t: f, align: "center" }),
1032
+ onImpression: k,
1033
+ children: /* @__PURE__ */ e.jsxs("div", { className: P.inlineFormWrap, ref: F, children: [
1034
+ /* @__PURE__ */ e.jsx(Ie, { t: f, align: "center" }),
1027
1035
  /* @__PURE__ */ e.jsx(
1028
- ye,
1036
+ Ne,
1029
1037
  {
1030
1038
  t: f,
1031
1039
  values: r,
1032
1040
  onChange: m,
1033
- phoneIsdCode: l,
1034
- onPhoneIsdCodeChange: j,
1041
+ phoneIsdCode: T,
1042
+ onPhoneIsdCodeChange: b,
1035
1043
  showV1ExtraFields: !0,
1036
1044
  analytics: s.analytics
1037
1045
  }
1038
1046
  ),
1039
1047
  /* @__PURE__ */ e.jsx(
1040
- we,
1048
+ ke,
1041
1049
  {
1042
1050
  t: f,
1043
1051
  values: r,
1044
- phoneIsdCode: l,
1052
+ phoneIsdCode: T,
1045
1053
  hideOriginalPrice: !0,
1046
1054
  requireV1ExtraFields: !0,
1047
1055
  onValidationFailed: H,
@@ -1051,11 +1059,11 @@ function Ss({
1051
1059
  discountedPriceLabel: s.discountedPriceLabel,
1052
1060
  discountPillLabel: s.discountPillLabel,
1053
1061
  analytics: s.analytics,
1054
- className: R.inlineProceedFooter,
1062
+ className: P.inlineProceedFooter,
1055
1063
  onProceedGuidance: s.onProceedGuidance,
1056
- showPlanSheet: C,
1057
- confirmPlan: w,
1058
- planSheetOpen: u,
1064
+ showPlanSheet: L,
1065
+ confirmPlan: v,
1066
+ planSheetOpen: h,
1059
1067
  selectedPlan: _
1060
1068
  }
1061
1069
  )
@@ -1063,28 +1071,28 @@ function Ss({
1063
1071
  }
1064
1072
  ),
1065
1073
  /* @__PURE__ */ e.jsx(
1066
- P,
1074
+ C,
1067
1075
  {
1068
1076
  section: "what_youll_find",
1069
- onImpression: N,
1070
- children: /* @__PURE__ */ e.jsx(de, { t: f })
1077
+ onImpression: k,
1078
+ children: /* @__PURE__ */ e.jsx(pe, { t: f })
1071
1079
  }
1072
1080
  ),
1073
1081
  /* @__PURE__ */ e.jsx(
1074
- P,
1082
+ C,
1075
1083
  {
1076
1084
  section: "why_us",
1077
- onImpression: N,
1078
- children: /* @__PURE__ */ e.jsx(me, { t: f })
1085
+ onImpression: k,
1086
+ children: /* @__PURE__ */ e.jsx(ge, { t: f })
1079
1087
  }
1080
1088
  ),
1081
1089
  /* @__PURE__ */ e.jsx(
1082
- P,
1090
+ C,
1083
1091
  {
1084
1092
  section: "feedback",
1085
- onImpression: N,
1093
+ onImpression: k,
1086
1094
  children: /* @__PURE__ */ e.jsx(
1087
- he,
1095
+ _e,
1088
1096
  {
1089
1097
  t: f,
1090
1098
  readMoreHref: s.readMoreReviewsHref,
@@ -1094,39 +1102,40 @@ function Ss({
1094
1102
  }
1095
1103
  ),
1096
1104
  /* @__PURE__ */ e.jsx(
1097
- P,
1105
+ C,
1098
1106
  {
1099
1107
  section: "faq",
1100
- onImpression: N,
1101
- children: /* @__PURE__ */ e.jsx(ue, { t: f })
1108
+ onImpression: k,
1109
+ children: /* @__PURE__ */ e.jsx(xe, { t: f })
1102
1110
  }
1103
1111
  ),
1104
1112
  /* @__PURE__ */ e.jsx(
1105
- P,
1113
+ C,
1106
1114
  {
1107
1115
  section: "contact_us",
1108
- onImpression: N,
1109
- children: /* @__PURE__ */ e.jsx(pe, { t: f })
1116
+ onImpression: k,
1117
+ children: /* @__PURE__ */ e.jsx(fe, { t: f })
1110
1118
  }
1111
1119
  )
1112
1120
  ] }),
1113
1121
  /* @__PURE__ */ e.jsx(
1114
- Ie,
1122
+ Pe,
1115
1123
  {
1116
- isOpen: u,
1117
- onClose: () => h(!1),
1124
+ isOpen: h,
1125
+ onClose: () => u(!1),
1118
1126
  selectedPlan: _,
1119
- onSelectPlan: c,
1120
- onProceed: (d) => {
1121
- w?.(d);
1127
+ onSelectPlan: d,
1128
+ onProceed: (c) => {
1129
+ v?.(c);
1122
1130
  },
1123
1131
  t: f,
1124
1132
  analytics: s.analytics
1125
1133
  }
1126
- )
1134
+ ),
1135
+ l && /* @__PURE__ */ e.jsx("div", { className: P.validationToast, role: "alert", "aria-live": "assertive", children: l })
1127
1136
  ] });
1128
1137
  }
1129
- const Rs = ({
1138
+ const Os = ({
1130
1139
  className: n = "",
1131
1140
  locale: o,
1132
1141
  showLanguageSelector: a = !0,
@@ -1135,23 +1144,23 @@ const Rs = ({
1135
1144
  isGlobal: s,
1136
1145
  atlasSearchLocalities: r,
1137
1146
  logoUrl: m,
1138
- reportImageUrl: u,
1139
- universityLogoUrls: h,
1147
+ reportImageUrl: h,
1148
+ universityLogoUrls: u,
1140
1149
  sampleReportHref: _,
1141
- onViewSampleReport: c,
1150
+ onViewSampleReport: d,
1142
1151
  ctaHref: x,
1143
- onCtaClick: C,
1144
- readMoreReviewsHref: w,
1152
+ onCtaClick: L,
1153
+ readMoreReviewsHref: v,
1145
1154
  onProceed: I,
1146
1155
  proceedHref: p,
1147
1156
  originalPriceLabel: l,
1148
- discountedPriceLabel: j,
1149
- discountPillLabel: $,
1157
+ discountedPriceLabel: y,
1158
+ discountPillLabel: T,
1150
1159
  analytics: b,
1151
- onProceedGuidance: E,
1152
- onLocaleChange: U
1160
+ onProceedGuidance: F,
1161
+ onLocaleChange: O
1153
1162
  }) => /* @__PURE__ */ e.jsx(
1154
- ee,
1163
+ ae,
1155
1164
  {
1156
1165
  locale: o,
1157
1166
  showLanguageSelector: a,
@@ -1161,32 +1170,32 @@ const Rs = ({
1161
1170
  variant: "v1",
1162
1171
  atlasSearchLocalities: r,
1163
1172
  logoUrl: m,
1164
- reportImageUrl: u,
1165
- universityLogoUrls: h,
1173
+ reportImageUrl: h,
1174
+ universityLogoUrls: u,
1166
1175
  sampleReportHref: _,
1167
- onViewSampleReport: c,
1176
+ onViewSampleReport: d,
1168
1177
  ctaHref: x,
1169
- onCtaClick: C,
1170
- readMoreReviewsHref: w,
1178
+ onCtaClick: L,
1179
+ readMoreReviewsHref: v,
1171
1180
  onProceed: I,
1172
- onProceedGuidance: E,
1181
+ onProceedGuidance: F,
1173
1182
  proceedHref: p,
1174
1183
  originalPriceLabel: l,
1175
- discountedPriceLabel: j,
1176
- discountPillLabel: $,
1184
+ discountedPriceLabel: y,
1185
+ discountPillLabel: T,
1177
1186
  analytics: b,
1178
- onLocaleChange: U,
1179
- children: /* @__PURE__ */ e.jsx(Ts, { className: n })
1187
+ onLocaleChange: O,
1188
+ children: /* @__PURE__ */ e.jsx(Fs, { className: n })
1180
1189
  }
1181
- ), Us = ({ variant: n, ...o }) => {
1190
+ ), Bs = ({ variant: n, ...o }) => {
1182
1191
  const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
1183
- return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Rs, { ...o }) : /* @__PURE__ */ e.jsx(_s, { ...o });
1184
- }, Ks = "[data-hero]{min-height:200px}[data-background-layer]{position:absolute;inset:0;z-index:0;overflow:hidden}[data-form-container]{min-height:400px}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap}img{max-width:100%;height:auto}.kundli-page-root{contain:layout}";
1192
+ return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Os, { ...o }) : /* @__PURE__ */ e.jsx(js, { ...o });
1193
+ }, Ws = "[data-hero]{min-height:200px}[data-background-layer]{position:absolute;inset:0;z-index:0;overflow:hidden}[data-form-container]{min-height:400px}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap}img{max-width:100%;height:auto}.kundli-page-root{contain:layout}";
1185
1194
  export {
1186
- Ks as K,
1187
- on as P,
1188
- Us as a,
1189
- _s as b,
1190
- Rs as c
1195
+ Ws as K,
1196
+ dn as P,
1197
+ Bs as a,
1198
+ js as b,
1199
+ Os as c
1191
1200
  };
1192
- //# sourceMappingURL=criticalCss-Czpe76JD.js.map
1201
+ //# sourceMappingURL=criticalCss-BtvOLwST.js.map