@srimandir/kundli-generator 4.4.0 → 4.4.2

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