@srimandir/kundli-generator 5.30.20 → 5.30.21

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 X, D as te, d as _e, j as re, c as Ae, u as je, L as ne, S as ye, l as we, t as ve, C as De, P as $e, F as Ue, U as Oe, m as Me, n as Ke } from "./analytics-BDueklE6.js";
2
- import { useRef as b, useState as L, useEffect as I, useCallback as V, useMemo as ce } from "react";
3
- import { UserReviewsSection as Qe, FAQAccordion as Be, ContactUsSection as qe, FooterShell as He, FooterCTAButton as Ge, CircularMarquee as We, footerShellStyles as W } from "@srimandir/astrology-common";
4
- const Ve = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ye = "_langDropdownWrap_nm3gb_12", Xe = "_langTrigger_nm3gb_16", Je = "_langIcon_nm3gb_28", Ze = "_langLabel_nm3gb_35", et = "_langMenu_nm3gb_40", tt = "_langOption_nm3gb_46", B = {
5
- container: Ve,
1
+ import { k as e, h as X, D as ne, d as _e, j as re, c as Ee, u as be, L as te, S as je, l as ye, t as we, C as Ae, P as De, F as Ue, U as $e, m as Oe, n as Me } from "./analytics-BDueklE6.js";
2
+ import { useRef as _, useState as L, useEffect as I, useCallback as z, useMemo as ce } from "react";
3
+ import { UserReviewsSection as Ke, FAQAccordion as Qe, ContactUsSection as Be, FooterShell as qe, FooterCTAButton as He, CircularMarquee as Ge, footerShellStyles as W } from "@srimandir/astrology-common";
4
+ const We = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ve = "_langDropdownWrap_nm3gb_12", Ye = "_langTrigger_nm3gb_16", Xe = "_langIcon_nm3gb_28", Je = "_langLabel_nm3gb_35", Ze = "_langMenu_nm3gb_40", en = "_langOption_nm3gb_46", B = {
5
+ container: We,
6
6
  main: ze,
7
- langDropdownWrap: Ye,
8
- langTrigger: Xe,
9
- langIcon: Je,
10
- langLabel: Ze,
11
- langMenu: et,
12
- langOption: tt
13
- }, nt = "_hero_1vvjv_1", st = "_title_1vvjv_5", at = "_subtitle_1vvjv_10", ot = "_topicTags_1vvjv_23", lt = "_tag_1vvjv_27", Z = {
14
- hero: nt,
15
- title: st,
16
- subtitle: at,
17
- topicTags: ot,
18
- tag: lt
19
- }, it = [
7
+ langDropdownWrap: Ve,
8
+ langTrigger: Ye,
9
+ langIcon: Xe,
10
+ langLabel: Je,
11
+ langMenu: Ze,
12
+ langOption: en
13
+ }, nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn = "_topicTags_1vvjv_23", on = "_tag_1vvjv_27", Z = {
14
+ hero: nn,
15
+ title: tn,
16
+ subtitle: an,
17
+ topicTags: sn,
18
+ tag: on
19
+ }, ln = [
20
20
  "topicMarriage",
21
21
  "topicRelationship",
22
22
  "topicBusiness",
@@ -24,107 +24,107 @@ const Ve = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
24
24
  "topicCareer",
25
25
  "topicEducation",
26
26
  "topicMoney"
27
- ], Ne = ({ t, className: s = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Z.hero} ${s}`, "aria-labelledby": "hero-title", children: [
28
- /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Z.title, children: t("heroTitle") }),
29
- /* @__PURE__ */ e.jsx("p", { className: Z.subtitle, children: t("heroSubtitle") }),
30
- /* @__PURE__ */ e.jsx("div", { className: Z.topicTags, role: "list", children: it.map((n) => /* @__PURE__ */ e.jsx("span", { className: Z.tag, role: "listitem", children: t(n) }, n)) })
31
- ] }), rt = "_section_1285h_1", ct = "_backgroundLayer_1285h_9", dt = "_backgroundImg_1285h_16", pt = "_inner_1285h_23", ut = "_content_1285h_29", mt = "_headline_1285h_33", ht = "_headlineLine_1285h_38", xt = "_headlinePill_1285h_43", gt = "_headlinePlain_1285h_58", ft = "_featureList_1285h_69", bt = "_featureItem_1285h_76", _t = "_featureIcon_1285h_81", jt = "_reportImage_1285h_88", yt = "_reportImg_1285h_98", _ = {
32
- section: rt,
33
- backgroundLayer: ct,
34
- backgroundImg: dt,
35
- inner: pt,
36
- content: ut,
37
- headline: mt,
38
- headlineLine: ht,
39
- headlinePill: xt,
40
- headlinePlain: gt,
41
- featureList: ft,
42
- featureItem: bt,
43
- featureIcon: _t,
44
- reportImage: jt,
45
- reportImg: yt
46
- }, wt = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", vt = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", Nt = [
27
+ ], ve = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Z.hero} ${a}`, "aria-labelledby": "hero-title", children: [
28
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Z.title, children: n("heroTitle") }),
29
+ /* @__PURE__ */ e.jsx("p", { className: Z.subtitle, children: n("heroSubtitle") }),
30
+ /* @__PURE__ */ e.jsx("div", { className: Z.topicTags, role: "list", children: ln.map((t) => /* @__PURE__ */ e.jsx("span", { className: Z.tag, role: "listitem", children: n(t) }, t)) })
31
+ ] }), rn = "_section_1285h_1", cn = "_backgroundLayer_1285h_9", dn = "_backgroundImg_1285h_16", un = "_inner_1285h_23", pn = "_content_1285h_29", mn = "_headline_1285h_33", hn = "_headlineLine_1285h_38", gn = "_headlinePill_1285h_43", xn = "_headlinePlain_1285h_58", fn = "_featureList_1285h_69", _n = "_featureItem_1285h_76", bn = "_featureIcon_1285h_81", jn = "_reportImage_1285h_88", yn = "_reportImg_1285h_98", b = {
32
+ section: rn,
33
+ backgroundLayer: cn,
34
+ backgroundImg: dn,
35
+ inner: un,
36
+ content: pn,
37
+ headline: mn,
38
+ headlineLine: hn,
39
+ headlinePill: gn,
40
+ headlinePlain: xn,
41
+ featureList: fn,
42
+ featureItem: _n,
43
+ featureIcon: bn,
44
+ reportImage: jn,
45
+ reportImg: yn
46
+ }, wn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", vn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", Cn = [
47
47
  "premiumFeature1",
48
48
  "premiumFeature2",
49
49
  "premiumFeature3",
50
50
  "premiumFeature4"
51
- ], kt = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", ke = ({
52
- t,
53
- reportImageUrl: s = kt,
54
- reportImagePriority: n,
55
- backgroundImagePriority: l = !1,
56
- analytics: a,
57
- className: i = ""
51
+ ], Nn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ce = ({
52
+ t: n,
53
+ reportImageUrl: a = Nn,
54
+ reportImagePriority: t,
55
+ backgroundImagePriority: o = !1,
56
+ analytics: s,
57
+ className: l = ""
58
58
  }) => {
59
- const c = X()?.config.imageComponent ?? te, o = () => {
60
- a?.trackBannerClicked?.();
59
+ const u = X()?.config.imageComponent ?? ne, i = () => {
60
+ s?.trackBannerClicked?.();
61
61
  };
62
62
  return /* @__PURE__ */ e.jsxs(
63
63
  "section",
64
64
  {
65
- className: `${_.section} ${i}`,
65
+ className: `${b.section} ${l}`,
66
66
  "aria-labelledby": "premium-headline",
67
67
  role: "button",
68
68
  tabIndex: 0,
69
- onClick: o,
69
+ onClick: i,
70
70
  "data-hero": !0,
71
71
  children: [
72
- /* @__PURE__ */ e.jsx("div", { className: _.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
73
- c,
72
+ /* @__PURE__ */ e.jsx("div", { className: b.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
73
+ u,
74
74
  {
75
- src: vt,
75
+ src: vn,
76
76
  alt: "",
77
- className: _.backgroundImg,
77
+ className: b.backgroundImg,
78
78
  width: 412,
79
79
  height: 215,
80
80
  sizes: "(max-width: 768px) 412px, 412px",
81
81
  loading: "eager",
82
- priority: l,
82
+ priority: o,
83
83
  fetchPriority: "high"
84
84
  }
85
85
  ) }),
86
- /* @__PURE__ */ e.jsxs("div", { className: _.inner, children: [
87
- /* @__PURE__ */ e.jsxs("div", { className: _.content, children: [
88
- /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: _.headline, children: [
89
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
90
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: t("premiumHeadlinePill1") }),
91
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: t("premiumHeadlinePlain1") })
86
+ /* @__PURE__ */ e.jsxs("div", { className: b.inner, children: [
87
+ /* @__PURE__ */ e.jsxs("div", { className: b.content, children: [
88
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: b.headline, children: [
89
+ /* @__PURE__ */ e.jsxs("span", { className: b.headlineLine, children: [
90
+ /* @__PURE__ */ e.jsx("span", { className: b.headlinePill, children: n("premiumHeadlinePill1") }),
91
+ /* @__PURE__ */ e.jsx("span", { className: b.headlinePlain, children: n("premiumHeadlinePlain1") })
92
92
  ] }),
93
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
94
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: t("premiumHeadlinePlain2") }),
95
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: t("premiumHeadlinePill2") })
93
+ /* @__PURE__ */ e.jsxs("span", { className: b.headlineLine, children: [
94
+ /* @__PURE__ */ e.jsx("span", { className: b.headlinePlain, children: n("premiumHeadlinePlain2") }),
95
+ /* @__PURE__ */ e.jsx("span", { className: b.headlinePill, children: n("premiumHeadlinePill2") })
96
96
  ] }),
97
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
98
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: t("and") }),
99
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: t("astrologyGuidance") })
97
+ /* @__PURE__ */ e.jsxs("span", { className: b.headlineLine, children: [
98
+ /* @__PURE__ */ e.jsx("span", { className: b.headlinePlain, children: n("and") }),
99
+ /* @__PURE__ */ e.jsx("span", { className: b.headlinePill, children: n("astrologyGuidance") })
100
100
  ] })
101
101
  ] }),
102
- /* @__PURE__ */ e.jsx("ul", { className: _.featureList, children: Nt.map((m) => /* @__PURE__ */ e.jsxs("li", { className: _.featureItem, children: [
102
+ /* @__PURE__ */ e.jsx("ul", { className: b.featureList, children: Cn.map((m) => /* @__PURE__ */ e.jsxs("li", { className: b.featureItem, children: [
103
103
  /* @__PURE__ */ e.jsx(
104
- c,
104
+ u,
105
105
  {
106
- src: wt,
106
+ src: wn,
107
107
  alt: "",
108
- className: _.featureIcon,
108
+ className: b.featureIcon,
109
109
  width: 16,
110
110
  height: 16,
111
111
  loading: "lazy"
112
112
  }
113
113
  ),
114
- t(m)
114
+ n(m)
115
115
  ] }, m)) })
116
116
  ] }),
117
- /* @__PURE__ */ e.jsx("div", { className: _.reportImage, children: /* @__PURE__ */ e.jsx(
118
- c,
117
+ /* @__PURE__ */ e.jsx("div", { className: b.reportImage, children: /* @__PURE__ */ e.jsx(
118
+ u,
119
119
  {
120
- src: s,
120
+ src: a,
121
121
  alt: "",
122
- className: _.reportImg,
122
+ className: b.reportImg,
123
123
  width: 120,
124
124
  height: 160,
125
- priority: n,
126
- fetchPriority: n ? "high" : void 0,
127
- loading: n ? "eager" : "lazy",
125
+ priority: t,
126
+ fetchPriority: t ? "high" : void 0,
127
+ loading: t ? "eager" : "lazy",
128
128
  sizes: "120px"
129
129
  }
130
130
  ) })
@@ -132,175 +132,175 @@ const Ve = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
132
132
  ]
133
133
  }
134
134
  );
135
- }, Ct = "_section_1kxsy_1", Pt = "_heading_1kxsy_6", It = "_logoImg_1kxsy_10", le = {
136
- section: Ct,
137
- heading: Pt,
138
- logoImg: It
139
- }, Lt = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Ce = ({
140
- t,
141
- logoUrl: s = Lt,
142
- className: n = ""
135
+ }, kn = "_section_1kxsy_1", Pn = "_heading_1kxsy_6", In = "_logoImg_1kxsy_10", oe = {
136
+ section: kn,
137
+ heading: Pn,
138
+ logoImg: In
139
+ }, Ln = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Ne = ({
140
+ t: n,
141
+ logoUrl: a = Ln,
142
+ className: t = ""
143
143
  }) => {
144
- const a = X()?.config.imageComponent ?? te;
145
- return /* @__PURE__ */ e.jsxs("section", { className: `${le.section} ${n}`, "aria-labelledby": "certified-heading", children: [
146
- /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: le.heading, children: t("certifiedBy") }),
144
+ const s = X()?.config.imageComponent ?? ne;
145
+ return /* @__PURE__ */ e.jsxs("section", { className: `${oe.section} ${t}`, "aria-labelledby": "certified-heading", children: [
146
+ /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: oe.heading, children: n("certifiedBy") }),
147
147
  /* @__PURE__ */ e.jsx(
148
- a,
148
+ s,
149
149
  {
150
- src: s,
150
+ src: a,
151
151
  alt: "University Certification",
152
- className: le.logoImg,
152
+ className: oe.logoImg,
153
153
  width: 380,
154
154
  height: 70,
155
155
  loading: "lazy"
156
156
  }
157
157
  )
158
158
  ] });
159
- }, Rt = "_section_1d9aa_1", Ft = "_heading_1d9aa_6", Tt = "_subtitle_1d9aa_11", St = "_stepList_1d9aa_16", Et = "_stepItem_1d9aa_20", At = "_stepNumber_1d9aa_24", Dt = "_stepText_1d9aa_30", $t = "_step3Days_1d9aa_35", S = {
160
- section: Rt,
161
- heading: Ft,
162
- subtitle: Tt,
163
- stepList: St,
164
- stepItem: Et,
165
- stepNumber: At,
166
- stepText: Dt,
167
- step3Days: $t
168
- }, Ut = ["step1", "step2"], Pe = ({
169
- t,
170
- locale: s = "en",
171
- isGlobal: n = !0,
172
- className: l = ""
159
+ }, Rn = "_section_1d9aa_1", Tn = "_heading_1d9aa_6", Fn = "_subtitle_1d9aa_11", Sn = "_stepList_1d9aa_16", En = "_stepItem_1d9aa_20", An = "_stepNumber_1d9aa_24", Dn = "_stepText_1d9aa_30", Un = "_step3Days_1d9aa_35", S = {
160
+ section: Rn,
161
+ heading: Tn,
162
+ subtitle: Fn,
163
+ stepList: Sn,
164
+ stepItem: En,
165
+ stepNumber: An,
166
+ stepText: Dn,
167
+ step3Days: Un
168
+ }, $n = ["step1", "step2"], ke = ({
169
+ t: n,
170
+ locale: a = "en",
171
+ isGlobal: t = !0,
172
+ className: o = ""
173
173
  }) => {
174
- const a = n ? "step3IntroGlobal" : "step3IntroDomestic";
174
+ const s = t ? "step3IntroGlobal" : "step3IntroDomestic";
175
175
  return /* @__PURE__ */ e.jsxs(
176
176
  "section",
177
177
  {
178
- className: `${S.section} ${l}`,
178
+ className: `${S.section} ${o}`,
179
179
  "aria-labelledby": "steps-heading",
180
180
  children: [
181
- /* @__PURE__ */ e.jsx("p", { className: S.heading, children: t("yourThreeSteps") }),
182
- /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: S.subtitle, children: t("threeStepsSubtitle") }),
181
+ /* @__PURE__ */ e.jsx("p", { className: S.heading, children: n("yourThreeSteps") }),
182
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: S.subtitle, children: n("threeStepsSubtitle") }),
183
183
  /* @__PURE__ */ e.jsxs("ol", { className: S.stepList, children: [
184
- Ut.map((i, r) => /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
184
+ $n.map((l, r) => /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
185
185
  /* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: r + 1 }),
186
- /* @__PURE__ */ e.jsx("span", { className: S.stepText, children: t(i) })
187
- ] }, i)),
186
+ /* @__PURE__ */ e.jsx("span", { className: S.stepText, children: n(l) })
187
+ ] }, l)),
188
188
  /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
189
189
  /* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: "3" }),
190
190
  /* @__PURE__ */ e.jsxs("span", { className: S.stepText, children: [
191
- t(a),
191
+ n(s),
192
192
  /* @__PURE__ */ e.jsx("br", {}),
193
- s === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
193
+ a === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
194
194
  "in ",
195
- /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: t("step3Days") })
196
- ] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: t("step3Days") })
195
+ /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
196
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
197
197
  ] })
198
198
  ] })
199
199
  ] })
200
200
  ]
201
201
  }
202
202
  );
203
- }, Ot = "_section_1jea1_1", Mt = "_button_1jea1_7", de = {
204
- section: Ot,
205
- button: Mt
206
- }, Kt = "_backdrop_pekod_1", Qt = "_modal_pekod_21", Bt = "_header_pekod_40", qt = "_title_pekod_49", Ht = "_closeBtn_pekod_56", Gt = "_content_pekod_76", Wt = "_pdfFrame_pekod_84", Vt = "_pdfPages_pekod_92", zt = "_pdfError_pekod_97", Yt = "_openInNewTab_pekod_123", $ = {
207
- backdrop: Kt,
208
- modal: Qt,
209
- header: Bt,
210
- title: qt,
211
- closeBtn: Ht,
212
- content: Gt,
213
- pdfFrame: Wt,
214
- pdfPages: Vt,
215
- pdfError: zt,
216
- openInNewTab: Yt
203
+ }, On = "_section_1jea1_1", Mn = "_button_1jea1_7", de = {
204
+ section: On,
205
+ button: Mn
206
+ }, Kn = "_backdrop_pekod_1", Qn = "_modal_pekod_21", Bn = "_header_pekod_40", qn = "_title_pekod_49", Hn = "_closeBtn_pekod_56", Gn = "_content_pekod_76", Wn = "_pdfFrame_pekod_84", zn = "_pdfPages_pekod_92", Vn = "_pdfError_pekod_97", Yn = "_openInNewTab_pekod_123", U = {
207
+ backdrop: Kn,
208
+ modal: Qn,
209
+ header: Bn,
210
+ title: qn,
211
+ closeBtn: Hn,
212
+ content: Gn,
213
+ pdfFrame: Wn,
214
+ pdfPages: zn,
215
+ pdfError: Vn,
216
+ openInNewTab: Yn
217
217
  };
218
- function Xt(t) {
219
- typeof t < "u" && t.GlobalWorkerOptions && (t.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${t.version}/build/pdf.worker.min.js`);
218
+ function Xn(n) {
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 ie = ({
222
- isOpen: t,
223
- onClose: s,
224
- title: n,
225
- pdfUrl: l
221
+ const le = ({
222
+ isOpen: n,
223
+ onClose: a,
224
+ title: t,
225
+ pdfUrl: o
226
226
  }) => {
227
- const a = b(null), [i, r] = L(!0), [c, o] = L(null), [m, h] = L(null);
227
+ const s = _(null), [l, r] = L(!0), [u, i] = L(null), [m, h] = L(null);
228
228
  return I(() => {
229
- if (!t) return;
230
- const d = (f) => {
231
- f.key === "Escape" && s();
229
+ if (!n) return;
230
+ const c = (f) => {
231
+ f.key === "Escape" && a();
232
232
  };
233
- return document.addEventListener("keydown", d), document.body.style.overflow = "hidden", () => {
234
- document.removeEventListener("keydown", d), document.body.style.overflow = "";
233
+ return document.addEventListener("keydown", c), document.body.style.overflow = "hidden", () => {
234
+ document.removeEventListener("keydown", c), document.body.style.overflow = "";
235
235
  };
236
- }, [t, s]), I(() => {
237
- t && import("pdfjs-dist").then((d) => {
238
- h(d);
239
- }).catch((d) => {
240
- o("Failed to load PDF viewer"), r(!1);
236
+ }, [n, a]), I(() => {
237
+ n && import("pdfjs-dist").then((c) => {
238
+ h(c);
239
+ }).catch((c) => {
240
+ i("Failed to load PDF viewer"), r(!1);
241
241
  });
242
- }, [t]), I(() => {
243
- if (!t || !l || !a.current || !m) return;
244
- r(!0), o(null), a.current.innerHTML = "", (async () => {
242
+ }, [n]), I(() => {
243
+ if (!n || !o || !s.current || !m) return;
244
+ r(!0), i(null), s.current.innerHTML = "", (async () => {
245
245
  try {
246
- Xt(m);
247
- const y = await m.getDocument({ url: l }).promise, k = a.current;
248
- if (!k) return;
249
- const C = k.clientWidth || 600, g = Math.min(C / 612, 2);
250
- for (let p = 1; p <= y.numPages; p++) {
251
- const N = await y.getPage(p), T = N.getViewport({ scale: g }), w = document.createElement("canvas");
252
- w.height = T.height, w.width = T.width, w.style.display = "block", w.style.margin = "0 auto 1rem", w.style.maxWidth = "100%";
246
+ Xn(m);
247
+ const y = await m.getDocument({ url: o }).promise, N = s.current;
248
+ if (!N) return;
249
+ const k = N.clientWidth || 600, x = Math.min(k / 612, 2);
250
+ for (let d = 1; d <= y.numPages; d++) {
251
+ const C = await y.getPage(d), F = C.getViewport({ scale: x }), w = document.createElement("canvas");
252
+ w.height = F.height, w.width = F.width, w.style.display = "block", w.style.margin = "0 auto 1rem", w.style.maxWidth = "100%";
253
253
  const R = w.getContext("2d");
254
- R && await N.render({ canvasContext: R, viewport: T }).promise, k.appendChild(w);
254
+ R && await C.render({ canvasContext: R, viewport: F }).promise, N.appendChild(w);
255
255
  }
256
256
  } catch (f) {
257
- o(f instanceof Error ? f.message : "Failed to load PDF");
257
+ i(f instanceof Error ? f.message : "Failed to load PDF");
258
258
  } finally {
259
259
  r(!1);
260
260
  }
261
261
  })();
262
- }, [t, l, m]), t ? /* @__PURE__ */ e.jsx(
262
+ }, [n, o, m]), n ? /* @__PURE__ */ e.jsx(
263
263
  "div",
264
264
  {
265
- className: $.backdrop,
266
- onClick: s,
265
+ className: U.backdrop,
266
+ onClick: a,
267
267
  role: "dialog",
268
268
  "aria-modal": "true",
269
269
  "aria-labelledby": "sample-report-modal-title",
270
270
  children: /* @__PURE__ */ e.jsxs(
271
271
  "div",
272
272
  {
273
- className: $.modal,
274
- onClick: (d) => d.stopPropagation(),
273
+ className: U.modal,
274
+ onClick: (c) => c.stopPropagation(),
275
275
  children: [
276
- /* @__PURE__ */ e.jsxs("div", { className: $.header, children: [
277
- /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: $.title, children: n }),
276
+ /* @__PURE__ */ e.jsxs("div", { className: U.header, children: [
277
+ /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: U.title, children: t }),
278
278
  /* @__PURE__ */ e.jsx(
279
279
  "button",
280
280
  {
281
281
  type: "button",
282
- className: $.closeBtn,
283
- onClick: s,
282
+ className: U.closeBtn,
283
+ onClick: a,
284
284
  "aria-label": "Close",
285
285
  children: "×"
286
286
  }
287
287
  )
288
288
  ] }),
289
- /* @__PURE__ */ e.jsxs("div", { className: $.content, children: [
290
- /* @__PURE__ */ e.jsxs("div", { className: $.pdfFrame, children: [
291
- c && /* @__PURE__ */ e.jsxs("div", { className: $.pdfError, children: [
292
- /* @__PURE__ */ e.jsx("span", { children: c }),
293
- /* @__PURE__ */ e.jsx("a", { href: l, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
289
+ /* @__PURE__ */ e.jsxs("div", { className: U.content, children: [
290
+ /* @__PURE__ */ e.jsxs("div", { className: U.pdfFrame, children: [
291
+ u && /* @__PURE__ */ e.jsxs("div", { className: U.pdfError, children: [
292
+ /* @__PURE__ */ e.jsx("span", { children: u }),
293
+ /* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
294
294
  ] }),
295
- /* @__PURE__ */ e.jsx("div", { ref: a, className: $.pdfPages })
295
+ /* @__PURE__ */ e.jsx("div", { ref: s, className: U.pdfPages })
296
296
  ] }),
297
297
  /* @__PURE__ */ e.jsx(
298
298
  "a",
299
299
  {
300
- href: l,
300
+ href: o,
301
301
  target: "_blank",
302
302
  rel: "noopener noreferrer",
303
- className: $.openInNewTab,
303
+ className: U.openInNewTab,
304
304
  children: "Open in new tab"
305
305
  }
306
306
  )
@@ -310,257 +310,257 @@ const ie = ({
310
310
  )
311
311
  }
312
312
  ) : null;
313
- }, Jt = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Ie = ({
314
- t,
315
- pdfUrl: s = Jt,
316
- onClick: n,
317
- analytics: l,
318
- className: a = ""
313
+ }, Jn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Pe = ({
314
+ t: n,
315
+ pdfUrl: a = Jn,
316
+ onClick: t,
317
+ analytics: o,
318
+ className: s = ""
319
319
  }) => {
320
- const [i, r] = L(!1), c = t("viewSampleReport"), o = t("sampleReportModalTitle"), m = () => {
321
- l?.trackViewSampleReportClicked?.(), n?.(), r(!0);
320
+ const [l, r] = L(!1), u = n("viewSampleReport"), i = n("sampleReportModalTitle"), m = () => {
321
+ o?.trackViewSampleReportClicked?.(), t?.(), r(!0);
322
322
  }, h = () => {
323
- l?.trackViewSampleReportClosed?.(), r(!1);
323
+ o?.trackViewSampleReportClosed?.(), r(!1);
324
324
  };
325
- return /* @__PURE__ */ e.jsxs("section", { className: `${de.section} ${a}`, children: [
326
- /* @__PURE__ */ e.jsx("button", { type: "button", className: de.button, onClick: m, children: c }),
325
+ return /* @__PURE__ */ e.jsxs("section", { className: `${de.section} ${s}`, children: [
326
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: de.button, onClick: m, children: u }),
327
327
  /* @__PURE__ */ e.jsx(
328
- ie,
328
+ le,
329
329
  {
330
- isOpen: i,
330
+ isOpen: l,
331
331
  onClose: h,
332
- title: o,
333
- pdfUrl: s
332
+ title: i,
333
+ pdfUrl: a
334
334
  }
335
335
  )
336
336
  ] });
337
- }, Zt = "_section_1ds1w_1", en = "_heading_1ds1w_5", tn = "_list_1ds1w_10", nn = "_item_1ds1w_17", sn = "_imageWrap_1ds1w_21", an = "_image_1ds1w_21", on = "_imagePlaceholder_1ds1w_30", ln = "_text_1ds1w_36", rn = "_itemTitle_1ds1w_40", cn = "_itemDesc_1ds1w_51", U = {
338
- section: Zt,
339
- heading: en,
340
- list: tn,
341
- item: nn,
342
- imageWrap: sn,
343
- image: an,
344
- imagePlaceholder: on,
345
- text: ln,
346
- itemTitle: rn,
347
- itemDesc: cn
348
- }, dn = [
337
+ }, Zn = "_section_1ds1w_1", et = "_heading_1ds1w_5", nt = "_list_1ds1w_10", tt = "_item_1ds1w_17", at = "_imageWrap_1ds1w_21", st = "_image_1ds1w_21", it = "_imagePlaceholder_1ds1w_30", ot = "_text_1ds1w_36", lt = "_itemTitle_1ds1w_40", rt = "_itemDesc_1ds1w_51", $ = {
338
+ section: Zn,
339
+ heading: et,
340
+ list: nt,
341
+ item: tt,
342
+ imageWrap: at,
343
+ image: st,
344
+ imagePlaceholder: it,
345
+ text: ot,
346
+ itemTitle: lt,
347
+ itemDesc: rt
348
+ }, ct = [
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
- ], pn = [
355
+ ], dt = [
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
- ], Le = ({
363
- t,
364
- imageUrls: s = pn,
365
- className: n = ""
362
+ ], Ie = ({
363
+ t: n,
364
+ imageUrls: a = dt,
365
+ className: t = ""
366
366
  }) => {
367
- const a = X()?.config.imageComponent ?? te;
367
+ const s = X()?.config.imageComponent ?? ne;
368
368
  return /* @__PURE__ */ e.jsxs(
369
369
  "section",
370
370
  {
371
- className: `${U.section} ${n}`,
371
+ className: `${$.section} ${t}`,
372
372
  "aria-labelledby": "find-heading",
373
373
  children: [
374
- /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: U.heading, children: t("whatYoullFindTitle") }),
375
- /* @__PURE__ */ e.jsx("ul", { className: U.list, children: dn.map((i, r) => /* @__PURE__ */ e.jsxs("li", { className: U.item, children: [
376
- /* @__PURE__ */ e.jsx("div", { className: U.imageWrap, children: s[r] ? /* @__PURE__ */ e.jsx(
377
- a,
374
+ /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: $.heading, children: n("whatYoullFindTitle") }),
375
+ /* @__PURE__ */ e.jsx("ul", { className: $.list, children: ct.map((l, r) => /* @__PURE__ */ e.jsxs("li", { className: $.item, children: [
376
+ /* @__PURE__ */ e.jsx("div", { className: $.imageWrap, children: a[r] ? /* @__PURE__ */ e.jsx(
377
+ s,
378
378
  {
379
- src: s[r],
379
+ src: a[r],
380
380
  alt: "",
381
- className: U.image,
381
+ className: $.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: U.imagePlaceholder, "aria-hidden": !0 }) }),
388
- /* @__PURE__ */ e.jsxs("div", { className: U.text, children: [
389
- /* @__PURE__ */ e.jsx("h3", { className: U.itemTitle, children: t(i.titleKey) }),
390
- /* @__PURE__ */ e.jsx("p", { className: U.itemDesc, children: t(i.descKey) })
387
+ ) : /* @__PURE__ */ e.jsx("div", { className: $.imagePlaceholder, "aria-hidden": !0 }) }),
388
+ /* @__PURE__ */ e.jsxs("div", { className: $.text, children: [
389
+ /* @__PURE__ */ e.jsx("h3", { className: $.itemTitle, children: n(l.titleKey) }),
390
+ /* @__PURE__ */ e.jsx("p", { className: $.itemDesc, children: n(l.descKey) })
391
391
  ] })
392
- ] }, i.titleKey)) })
392
+ ] }, l.titleKey)) })
393
393
  ]
394
394
  }
395
395
  );
396
- }, un = "_section_75s76_1", mn = "_heading_75s76_6", hn = "_subtitle_75s76_11", xn = "_list_75s76_16", gn = "_item_75s76_20", ee = {
397
- section: un,
398
- heading: mn,
399
- subtitle: hn,
400
- list: xn,
401
- item: gn
402
- }, fn = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Re = ({ t, className: s = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ee.section} ${s}`, "aria-labelledby": "why-heading", children: [
403
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: ee.heading, children: t("whyUsTitle") }),
404
- /* @__PURE__ */ e.jsx("p", { className: ee.subtitle, children: t("whyUsSubtitle") }),
405
- /* @__PURE__ */ e.jsx("ul", { className: ee.list, children: fn.map((n) => /* @__PURE__ */ e.jsx("li", { className: ee.item, children: t(n) }, n)) })
406
- ] }), bn = "_headingBold_g8xg7_1", _n = {
407
- headingBold: bn
408
- }, Fe = ({
409
- t,
410
- testimonials: s,
411
- readMoreHref: n,
412
- onReadMore: l,
413
- className: a = "",
414
- headingClassName: i = _n.headingBold
396
+ }, ut = "_section_75s76_1", pt = "_heading_75s76_6", mt = "_subtitle_75s76_11", ht = "_list_75s76_16", gt = "_item_75s76_20", ee = {
397
+ section: ut,
398
+ heading: pt,
399
+ subtitle: mt,
400
+ list: ht,
401
+ item: gt
402
+ }, xt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Le = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ee.section} ${a}`, "aria-labelledby": "why-heading", children: [
403
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: ee.heading, children: n("whyUsTitle") }),
404
+ /* @__PURE__ */ e.jsx("p", { className: ee.subtitle, children: n("whyUsSubtitle") }),
405
+ /* @__PURE__ */ e.jsx("ul", { className: ee.list, children: xt.map((t) => /* @__PURE__ */ e.jsx("li", { className: ee.item, children: n(t) }, t)) })
406
+ ] }), ft = "_headingBold_g8xg7_1", _t = {
407
+ headingBold: ft
408
+ }, Re = ({
409
+ t: n,
410
+ testimonials: a,
411
+ readMoreHref: t,
412
+ onReadMore: o,
413
+ className: s = "",
414
+ headingClassName: l = _t.headingBold
415
415
  }) => /* @__PURE__ */ e.jsx(
416
- Qe,
416
+ Ke,
417
417
  {
418
- t,
419
- testimonials: s,
420
- readMoreHref: n,
421
- onReadMore: l,
422
- className: a,
423
- headingClassName: i
418
+ t: n,
419
+ testimonials: a,
420
+ readMoreHref: t,
421
+ onReadMore: o,
422
+ className: s,
423
+ headingClassName: l
424
424
  }
425
- ), jn = "_headingBold_g8xg7_1", yn = {
426
- headingBold: jn
427
- }, wn = [
425
+ ), bt = "_headingBold_g8xg7_1", jt = {
426
+ headingBold: bt
427
+ }, yt = [
428
428
  { qKey: "faqQ1", aKey: "faqA1" },
429
429
  { qKey: "faqQ3", aKey: "faqA3" }
430
430
  ], Te = ({
431
- t,
432
- className: s = "",
433
- headingClassName: n = yn.headingBold
431
+ t: n,
432
+ className: a = "",
433
+ headingClassName: t = jt.headingBold
434
434
  }) => {
435
- const a = X()?.config.isGlobal ?? !0, i = (r) => r === "faqA1" ? a ? "faqA1Global" : "faqA1Domestic" : r;
435
+ const s = X()?.config.isGlobal ?? !0, l = (r) => r === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : r;
436
436
  return /* @__PURE__ */ e.jsx(
437
- Be,
437
+ Qe,
438
438
  {
439
- t,
440
- items: wn,
441
- resolveAnswerKey: i,
439
+ t: n,
440
+ items: yt,
441
+ resolveAnswerKey: l,
442
442
  defaultOpenIndex: 1,
443
- className: s,
444
- headingClassName: n
443
+ className: a,
444
+ headingClassName: t
445
445
  }
446
446
  );
447
- }, pe = "8296947757", ue = "08071174417", me = "pujaseva@appsforbharat.com", Se = ({
448
- t,
449
- whatsAppGlobal: s,
450
- whatsAppDomestic: n,
451
- email: l,
452
- brandName: a,
453
- className: i = ""
447
+ }, ue = "8296947757", pe = "08071174417", me = "pujaseva@appsforbharat.com", Fe = ({
448
+ t: n,
449
+ whatsAppGlobal: a,
450
+ whatsAppDomestic: t,
451
+ email: o,
452
+ brandName: s,
453
+ className: l = ""
454
454
  }) => {
455
- const c = X()?.config.isGlobal ?? !0, o = s ?? pe, m = n ?? ue, h = l ?? me, d = c ? t("contactWhatsAppGlobal").replace(pe, o) : t("contactWhatsAppDomestic").replace(ue, m), f = t("contactEmail").replace(me, h);
455
+ const u = X()?.config.isGlobal ?? !0, i = a ?? ue, m = t ?? pe, h = o ?? me, c = u ? n("contactWhatsAppGlobal").replace(ue, i) : n("contactWhatsAppDomestic").replace(pe, m), f = n("contactEmail").replace(me, h);
456
456
  return /* @__PURE__ */ e.jsx(
457
- qe,
457
+ Be,
458
458
  {
459
- title: t("contactTitle"),
460
- brandName: a ?? t("contactBrandName"),
461
- whatsAppLine: d,
459
+ title: n("contactTitle"),
460
+ brandName: s ?? n("contactBrandName"),
461
+ whatsAppLine: c,
462
462
  emailLine: f,
463
- className: i
463
+ className: l
464
464
  }
465
465
  );
466
- }, vn = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Nn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", kn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Cn = ({ t }) => {
467
- const n = X()?.config.imageComponent ?? te;
466
+ }, wt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", vt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Ct = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Nt = ({ t: n }) => {
467
+ const t = X()?.config.imageComponent ?? ne;
468
468
  return /* @__PURE__ */ e.jsxs("div", { className: W.marqueeContent, children: [
469
469
  /* @__PURE__ */ e.jsxs("span", { className: W.badge, children: [
470
- /* @__PURE__ */ e.jsx(n, { src: vn, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
471
- t("ctaKundliCreated")
470
+ /* @__PURE__ */ e.jsx(t, { src: wt, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
471
+ n("ctaKundliCreated")
472
472
  ] }),
473
473
  /* @__PURE__ */ e.jsxs("span", { className: W.badge, children: [
474
- /* @__PURE__ */ e.jsx(n, { src: Nn, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
475
- t("ctaCertified")
474
+ /* @__PURE__ */ e.jsx(t, { src: vt, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
475
+ n("ctaCertified")
476
476
  ] }),
477
477
  /* @__PURE__ */ e.jsxs("span", { className: W.badge, children: [
478
- /* @__PURE__ */ e.jsx(n, { src: kn, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
479
- t("ctaSecurePayment")
478
+ /* @__PURE__ */ e.jsx(t, { src: Ct, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
479
+ n("ctaSecurePayment")
480
480
  ] })
481
481
  ] });
482
- }, Pn = ({
483
- t,
484
- onCtaClick: s,
485
- ctaHref: n,
486
- className: l = ""
482
+ }, kt = ({
483
+ t: n,
484
+ onCtaClick: a,
485
+ ctaHref: t,
486
+ className: o = ""
487
487
  }) => {
488
- const a = t("ctaButtonBefore").replace(/\s+in\s*$/i, "");
488
+ const s = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
489
489
  return /* @__PURE__ */ e.jsx(
490
- He,
490
+ qe,
491
491
  {
492
- className: l,
493
- marquee: /* @__PURE__ */ e.jsx(We, { children: /* @__PURE__ */ e.jsx(Cn, { t }) }),
494
- children: /* @__PURE__ */ e.jsx(Ge, { href: n, onClick: s, children: a })
492
+ className: o,
493
+ marquee: /* @__PURE__ */ e.jsx(Ge, { children: /* @__PURE__ */ e.jsx(Nt, { t: n }) }),
494
+ children: /* @__PURE__ */ e.jsx(He, { href: t, onClick: a, children: s })
495
495
  }
496
496
  );
497
- }, In = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ln = (t, s) => ve[t]?.[s] ?? s, Rn = 112;
497
+ }, Pt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", It = (n, a) => we[n]?.[a] ?? a, Lt = 112;
498
498
  function O({
499
- section: t,
500
- children: s,
501
- onImpression: n
499
+ section: n,
500
+ children: a,
501
+ onImpression: t
502
502
  }) {
503
- const l = b(null), a = b(!1);
503
+ const o = _(null), s = _(!1);
504
504
  return I(() => {
505
- const i = l.current;
506
- if (!i) return;
505
+ const l = o.current;
506
+ if (!l) return;
507
507
  const r = new IntersectionObserver(
508
- ([c]) => {
509
- !c?.isIntersecting || a.current || (a.current = !0, n(t));
508
+ ([u]) => {
509
+ !u?.isIntersecting || s.current || (s.current = !0, t(n));
510
510
  },
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 -${Rn}px 0px`
514
+ rootMargin: `0px 0px -${Lt}px 0px`
515
515
  }
516
516
  );
517
- return r.observe(i), () => r.disconnect();
518
- }, [t, n]), /* @__PURE__ */ e.jsx("div", { ref: l, children: s });
517
+ return r.observe(l), () => r.disconnect();
518
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
519
519
  }
520
- function Fn({ className: t }) {
521
- const { view: s } = re();
522
- return s === "form" ? /* @__PURE__ */ e.jsx(Ae, {}) : /* @__PURE__ */ e.jsx(Tn, { className: t });
520
+ function Rt({ className: n }) {
521
+ const { view: a } = re();
522
+ return a === "form" ? /* @__PURE__ */ e.jsx(Ee, {}) : /* @__PURE__ */ e.jsx(Tt, { className: n });
523
523
  }
524
- function Tn({ className: t }) {
525
- const s = je(), {
526
- locale: n,
527
- setLocale: l,
528
- config: a,
529
- goToForm: i
530
- } = re(), [r, c] = L(!1), o = b(null), m = b(a.locale), h = b(
531
- s?.locale
524
+ function Tt({ className: n }) {
525
+ const a = be(), {
526
+ locale: t,
527
+ setLocale: o,
528
+ config: s,
529
+ goToForm: l
530
+ } = re(), [r, u] = L(!1), i = _(null), m = _(s.locale), h = _(
531
+ a?.locale
532
532
  );
533
533
  I(() => {
534
- a.locale && m.current !== a.locale && l(a.locale), m.current = a.locale;
535
- }, [a.locale, l]), I(() => {
536
- if (a.locale) return;
537
- const p = s?.locale;
538
- p && h.current !== p && l(p), h.current = p;
539
- }, [s?.locale, a.locale, l]), I(() => {
534
+ s.locale && m.current !== s.locale && o(s.locale), m.current = s.locale;
535
+ }, [s.locale, o]), I(() => {
536
+ if (s.locale) return;
537
+ const d = a?.locale;
538
+ d && h.current !== d && o(d), h.current = d;
539
+ }, [a?.locale, s.locale, o]), I(() => {
540
540
  if (!r) return;
541
- const p = (N) => {
542
- o.current && !o.current.contains(N.target) && c(!1);
541
+ const d = (C) => {
542
+ i.current && !i.current.contains(C.target) && u(!1);
543
543
  };
544
- return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
544
+ return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
545
545
  }, [r]);
546
- const d = (p) => Ln(n, p), f = a.showLanguageSelector ?? !0, y = a.imageComponent ?? te, k = f ? /* @__PURE__ */ e.jsxs("div", { className: B.langDropdownWrap, ref: o, children: [
546
+ const c = (d) => It(t, d), f = s.showLanguageSelector ?? !0, y = s.imageComponent ?? ne, N = f ? /* @__PURE__ */ e.jsxs("div", { className: B.langDropdownWrap, ref: i, children: [
547
547
  /* @__PURE__ */ e.jsxs(
548
548
  "button",
549
549
  {
550
550
  type: "button",
551
551
  className: B.langTrigger,
552
552
  onClick: () => {
553
- a.analytics?.trackLanguageClickedFe?.({ language: n }), c((p) => !p);
553
+ s.analytics?.trackLanguageClickedFe?.({ language: t }), u((d) => !d);
554
554
  },
555
555
  "aria-expanded": r,
556
556
  "aria-haspopup": "listbox",
557
557
  id: "kundli-lang",
558
- "aria-label": d("language"),
558
+ "aria-label": c("language"),
559
559
  children: [
560
560
  /* @__PURE__ */ e.jsx(
561
561
  y,
562
562
  {
563
- src: In,
563
+ src: Pt,
564
564
  alt: "",
565
565
  className: B.langIcon,
566
566
  width: 16,
@@ -568,7 +568,7 @@ function Tn({ className: t }) {
568
568
  loading: "eager"
569
569
  }
570
570
  ),
571
- /* @__PURE__ */ e.jsx("span", { className: B.langLabel, children: ne[n] })
571
+ /* @__PURE__ */ e.jsx("span", { className: B.langLabel, children: te[t] })
572
572
  ]
573
573
  }
574
574
  ),
@@ -578,42 +578,42 @@ function Tn({ className: t }) {
578
578
  className: B.langMenu,
579
579
  role: "listbox",
580
580
  "aria-labelledby": "kundli-lang",
581
- "aria-activedescendant": `kundli-lang-option-${n}`,
582
- children: ye.map((p) => /* @__PURE__ */ e.jsx(
581
+ "aria-activedescendant": `kundli-lang-option-${t}`,
582
+ children: je.map((d) => /* @__PURE__ */ e.jsx(
583
583
  "li",
584
584
  {
585
- id: `kundli-lang-option-${p}`,
585
+ id: `kundli-lang-option-${d}`,
586
586
  role: "option",
587
- "aria-selected": p === n,
587
+ "aria-selected": d === t,
588
588
  className: B.langOption,
589
589
  onClick: () => {
590
- a.analytics?.trackLanguageChangedFe?.({ newLanguage: p }), l(p), c(!1);
590
+ s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), o(d), u(!1);
591
591
  },
592
- children: ne[p]
592
+ children: te[d]
593
593
  },
594
- p
594
+ d
595
595
  ))
596
596
  }
597
597
  )
598
- ] }) : null, C = (p) => {
599
- const N = p.currentTarget.innerText?.trim() ?? d("ctaButtonAfter");
600
- a.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: N }), i(), a.onCtaClick?.();
601
- }, g = V(
602
- (p) => {
603
- a.analytics?.trackDetailedKundliReportImpressionFe?.({
604
- section: p,
598
+ ] }) : null, k = (d) => {
599
+ const C = d.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
600
+ s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: C }), l(), s.onCtaClick?.();
601
+ }, x = z(
602
+ (d) => {
603
+ s.analytics?.trackDetailedKundliReportImpressionFe?.({
604
+ section: d,
605
605
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
606
606
  });
607
607
  },
608
- [a.analytics]
608
+ [s.analytics]
609
609
  );
610
- return /* @__PURE__ */ e.jsxs("div", { className: `${B.container} ${t}`, children: [
610
+ return /* @__PURE__ */ e.jsxs("div", { className: `${B.container} ${n}`, children: [
611
611
  /* @__PURE__ */ e.jsx(
612
- we,
612
+ ye,
613
613
  {
614
- t: d,
615
- logoUrl: a.logoUrl,
616
- languageSelector: k
614
+ t: c,
615
+ logoUrl: s.logoUrl,
616
+ languageSelector: N
617
617
  }
618
618
  ),
619
619
  /* @__PURE__ */ e.jsxs("main", { className: B.main, children: [
@@ -621,23 +621,23 @@ function Tn({ className: t }) {
621
621
  O,
622
622
  {
623
623
  section: "hero",
624
- onImpression: g,
625
- children: /* @__PURE__ */ e.jsx(Ne, { t: d })
624
+ onImpression: x,
625
+ children: /* @__PURE__ */ e.jsx(ve, { t: c })
626
626
  }
627
627
  ),
628
628
  /* @__PURE__ */ e.jsx(
629
629
  O,
630
630
  {
631
631
  section: "premium_report_overview",
632
- onImpression: g,
632
+ onImpression: x,
633
633
  children: /* @__PURE__ */ e.jsx(
634
- ke,
634
+ Ce,
635
635
  {
636
- t: d,
637
- reportImageUrl: a.reportImageUrl,
638
- reportImagePriority: a.reportImagePriority,
639
- backgroundImagePriority: a.backgroundImagePriority,
640
- analytics: a.analytics
636
+ t: c,
637
+ reportImageUrl: s.reportImageUrl,
638
+ reportImagePriority: s.reportImagePriority,
639
+ backgroundImagePriority: s.backgroundImagePriority,
640
+ analytics: s.analytics
641
641
  }
642
642
  )
643
643
  }
@@ -646,12 +646,12 @@ function Tn({ className: t }) {
646
646
  O,
647
647
  {
648
648
  section: "university_certification",
649
- onImpression: g,
649
+ onImpression: x,
650
650
  children: /* @__PURE__ */ e.jsx(
651
- Ce,
651
+ Ne,
652
652
  {
653
- t: d,
654
- logoUrl: a.universityLogoUrls?.find((p) => !!p)
653
+ t: c,
654
+ logoUrl: s.universityLogoUrls?.find((d) => !!d)
655
655
  }
656
656
  )
657
657
  }
@@ -660,22 +660,22 @@ function Tn({ className: t }) {
660
660
  O,
661
661
  {
662
662
  section: "three_steps_process",
663
- onImpression: g,
664
- children: /* @__PURE__ */ e.jsx(Pe, { t: d, locale: n, isGlobal: a.isGlobal })
663
+ onImpression: x,
664
+ children: /* @__PURE__ */ e.jsx(ke, { t: c, locale: t, isGlobal: s.isGlobal })
665
665
  }
666
666
  ),
667
667
  /* @__PURE__ */ e.jsx(
668
668
  O,
669
669
  {
670
670
  section: "view_sample_report",
671
- onImpression: g,
671
+ onImpression: x,
672
672
  children: /* @__PURE__ */ e.jsx(
673
- Ie,
673
+ Pe,
674
674
  {
675
- t: d,
676
- pdfUrl: a.sampleReportHref,
677
- onClick: a.onViewSampleReport,
678
- analytics: a.analytics
675
+ t: c,
676
+ pdfUrl: s.sampleReportHref,
677
+ onClick: s.onViewSampleReport,
678
+ analytics: s.analytics
679
679
  }
680
680
  )
681
681
  }
@@ -684,29 +684,29 @@ function Tn({ className: t }) {
684
684
  O,
685
685
  {
686
686
  section: "what_youll_find",
687
- onImpression: g,
688
- children: /* @__PURE__ */ e.jsx(Le, { t: d })
687
+ onImpression: x,
688
+ children: /* @__PURE__ */ e.jsx(Ie, { t: c })
689
689
  }
690
690
  ),
691
691
  /* @__PURE__ */ e.jsx(
692
692
  O,
693
693
  {
694
694
  section: "why_us",
695
- onImpression: g,
696
- children: /* @__PURE__ */ e.jsx(Re, { t: d })
695
+ onImpression: x,
696
+ children: /* @__PURE__ */ e.jsx(Le, { t: c })
697
697
  }
698
698
  ),
699
699
  /* @__PURE__ */ e.jsx(
700
700
  O,
701
701
  {
702
702
  section: "feedback",
703
- onImpression: g,
703
+ onImpression: x,
704
704
  children: /* @__PURE__ */ e.jsx(
705
- Fe,
705
+ Re,
706
706
  {
707
- t: d,
708
- readMoreHref: a.readMoreReviewsHref,
709
- onReadMore: a.analytics?.trackReadMoreReviewsClicked ? () => a.analytics.trackReadMoreReviewsClicked() : void 0
707
+ t: c,
708
+ readMoreHref: s.readMoreReviewsHref,
709
+ onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
710
710
  }
711
711
  )
712
712
  }
@@ -715,92 +715,92 @@ function Tn({ className: t }) {
715
715
  O,
716
716
  {
717
717
  section: "faq",
718
- onImpression: g,
719
- children: /* @__PURE__ */ e.jsx(Te, { t: d })
718
+ onImpression: x,
719
+ children: /* @__PURE__ */ e.jsx(Te, { t: c })
720
720
  }
721
721
  ),
722
722
  /* @__PURE__ */ e.jsx(
723
723
  O,
724
724
  {
725
725
  section: "contact_us",
726
- onImpression: g,
727
- children: /* @__PURE__ */ e.jsx(Se, { t: d })
726
+ onImpression: x,
727
+ children: /* @__PURE__ */ e.jsx(Fe, { t: c })
728
728
  }
729
729
  )
730
730
  ] }),
731
731
  /* @__PURE__ */ e.jsx(
732
- Pn,
732
+ kt,
733
733
  {
734
- t: d,
735
- ctaHref: a.ctaHref,
736
- onCtaClick: a.ctaHref ? void 0 : C
734
+ t: c,
735
+ ctaHref: s.ctaHref,
736
+ onCtaClick: s.ctaHref ? void 0 : k
737
737
  }
738
738
  )
739
739
  ] });
740
740
  }
741
- const Sn = ({
742
- className: t = "",
743
- locale: s,
744
- showLanguageSelector: n = !0,
745
- showSheet: l,
746
- userId: a,
747
- isGlobal: i,
741
+ const Ft = ({
742
+ className: n = "",
743
+ locale: a,
744
+ showLanguageSelector: t = !0,
745
+ showSheet: o,
746
+ userId: s,
747
+ isGlobal: l,
748
748
  atlasSearchLocalities: r,
749
- logoUrl: c,
750
- reportImageUrl: o,
749
+ logoUrl: u,
750
+ reportImageUrl: i,
751
751
  universityLogoUrls: m,
752
752
  sampleReportHref: h,
753
- onViewSampleReport: d,
753
+ onViewSampleReport: c,
754
754
  ctaHref: f,
755
755
  onCtaClick: y,
756
- readMoreReviewsHref: k,
757
- onProceed: C,
758
- onProceedGuidance: g,
759
- proceedHref: p,
760
- originalPriceLabel: N,
761
- discountedPriceLabel: T,
756
+ readMoreReviewsHref: N,
757
+ onProceed: k,
758
+ onProceedGuidance: x,
759
+ proceedHref: d,
760
+ originalPriceLabel: C,
761
+ discountedPriceLabel: F,
762
762
  discountPillLabel: w,
763
763
  analytics: R,
764
764
  onLocaleChange: K
765
765
  }) => /* @__PURE__ */ e.jsx(
766
766
  _e,
767
767
  {
768
- locale: s,
769
- showLanguageSelector: n,
770
- showSheet: l,
771
- userId: a,
772
- isGlobal: i,
768
+ locale: a,
769
+ showLanguageSelector: t,
770
+ showSheet: o,
771
+ userId: s,
772
+ isGlobal: l,
773
773
  atlasSearchLocalities: r,
774
- logoUrl: c,
775
- reportImageUrl: o,
774
+ logoUrl: u,
775
+ reportImageUrl: i,
776
776
  universityLogoUrls: m,
777
777
  sampleReportHref: h,
778
- onViewSampleReport: d,
778
+ onViewSampleReport: c,
779
779
  ctaHref: f,
780
780
  onCtaClick: y,
781
- readMoreReviewsHref: k,
782
- onProceed: C,
783
- onProceedGuidance: g,
784
- proceedHref: p,
785
- originalPriceLabel: N,
786
- discountedPriceLabel: T,
781
+ readMoreReviewsHref: N,
782
+ onProceed: k,
783
+ onProceedGuidance: x,
784
+ proceedHref: d,
785
+ originalPriceLabel: C,
786
+ discountedPriceLabel: F,
787
787
  discountPillLabel: w,
788
788
  analytics: R,
789
789
  onLocaleChange: K,
790
- children: /* @__PURE__ */ e.jsx(Fn, { className: t })
790
+ children: /* @__PURE__ */ e.jsx(Rt, { className: n })
791
791
  }
792
- ), En = "_container_1b9qe_1", An = "_main_1b9qe_6", Dn = "_langDropdownWrap_1b9qe_12", $n = "_langTrigger_1b9qe_16", Un = "_langIcon_1b9qe_28", On = "_langLabel_1b9qe_35", Mn = "_langMenu_1b9qe_40", Kn = "_langOption_1b9qe_46", Qn = "_inlineFormWrap_1b9qe_57", Bn = "_inlineProceedFooter_1b9qe_74", M = {
793
- container: En,
794
- main: An,
795
- langDropdownWrap: Dn,
796
- langTrigger: $n,
797
- langIcon: Un,
798
- langLabel: On,
799
- langMenu: Mn,
800
- langOption: Kn,
801
- inlineFormWrap: Qn,
802
- inlineProceedFooter: Bn
803
- }, Ee = [
792
+ ), St = "_container_1b9qe_1", Et = "_main_1b9qe_6", At = "_langDropdownWrap_1b9qe_12", Dt = "_langTrigger_1b9qe_16", Ut = "_langIcon_1b9qe_28", $t = "_langLabel_1b9qe_35", Ot = "_langMenu_1b9qe_40", Mt = "_langOption_1b9qe_46", Kt = "_inlineFormWrap_1b9qe_57", Qt = "_inlineProceedFooter_1b9qe_74", M = {
793
+ container: St,
794
+ main: Et,
795
+ langDropdownWrap: At,
796
+ langTrigger: Dt,
797
+ langIcon: Ut,
798
+ langLabel: $t,
799
+ langMenu: Ot,
800
+ langOption: Mt,
801
+ inlineFormWrap: Kt,
802
+ inlineProceedFooter: Qt
803
+ }, Se = [
804
804
  {
805
805
  id: "samiksha",
806
806
  name: "Acharya Rama Sarma",
@@ -890,11 +890,11 @@ const Sn = ({
890
890
  planQuestionChip4: "क्या मेरी मौजूदा नौकरी मेरे लिए सही है?",
891
891
  planAstrologerExp: "साल का अनुभव"
892
892
  }
893
- }, qn = (t) => [
893
+ }, Bt = (n) => [
894
894
  {
895
895
  id: "kundli-report",
896
896
  title: "planNameBasic",
897
- price: t ? "$25" : "₹499",
897
+ price: n ? "$25" : "₹499",
898
898
  features: [
899
899
  { text: "planFeatureDetailedInsights", included: !0 },
900
900
  { text: "planFeaturePracticalRemedies", included: !0 },
@@ -906,7 +906,7 @@ const Sn = ({
906
906
  {
907
907
  id: "kundli-report-question",
908
908
  title: "planNameQuestion",
909
- price: t ? "$31" : "₹749",
909
+ price: n ? "$31" : "₹749",
910
910
  supportsQuestion: !0,
911
911
  newBadge: "planLimitedTimeCombo",
912
912
  features: [
@@ -918,8 +918,8 @@ const Sn = ({
918
918
  {
919
919
  id: "kundli-report-astrologer",
920
920
  title: "planNameGuidance",
921
- price: t ? "$41" : "₹999",
922
- originalPrice: t ? "$25+$25" : "₹499+₹850",
921
+ price: n ? "$41" : "₹999",
922
+ originalPrice: n ? "$25+$25" : "₹499+₹850",
923
923
  savingsLabel: "planSaveLabel",
924
924
  badge: "planMostPopular",
925
925
  features: [
@@ -928,22 +928,22 @@ const Sn = ({
928
928
  { text: "planFeatureRealTimeAnswers", included: !0 },
929
929
  { text: "planFeatureTailoredRemedies", included: !0 }
930
930
  ],
931
- astrologers: Ee.filter(
932
- (n) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(n.id)
931
+ astrologers: Se.filter(
932
+ (t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
933
933
  )
934
934
  }
935
- ], xe = [
935
+ ], ge = [
936
936
  "planQuestionChip1",
937
937
  "planQuestionChip2",
938
938
  "planQuestionChip3",
939
939
  "planQuestionChip4"
940
940
  ];
941
- Ee.slice(0, 3).map((t) => ({
942
- id: t.id,
943
- imageUrl: t.imageUrl,
944
- name: t.name
941
+ Se.slice(0, 3).map((n) => ({
942
+ id: n.id,
943
+ imageUrl: n.imageUrl,
944
+ name: n.name
945
945
  }));
946
- const Hn = 5e3, Gn = 84, Wn = `
946
+ const qt = 5e3, Ht = 84, Gt = `
947
947
  @keyframes three-sku-slide-up {
948
948
  from { transform: translateY(100%); opacity: 0; }
949
949
  to { transform: translateY(0); opacity: 1; }
@@ -953,19 +953,19 @@ const Hn = 5e3, Gn = 84, Wn = `
953
953
  60% { left: 125%; }
954
954
  100% { left: 125%; }
955
955
  }
956
- `, Vn = ({ title: t, onClose: s }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
956
+ `, Wt = ({ title: n, onClose: a }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
957
957
  /* @__PURE__ */ e.jsx(
958
958
  "button",
959
959
  {
960
960
  type: "button",
961
- onClick: s,
961
+ onClick: a,
962
962
  "aria-label": "Go back",
963
963
  className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
964
- children: /* @__PURE__ */ e.jsx(De, {})
964
+ children: /* @__PURE__ */ e.jsx(Ae, {})
965
965
  }
966
966
  ),
967
- /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: t })
968
- ] }), zn = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.5C11.5901 1.5 14.5 4.40986 14.5 8C14.5 11.5901 11.5901 14.5 8 14.5C4.40986 14.5 1.5 11.5901 1.5 8C1.5 4.40986 4.40986 1.5 8 1.5ZM11.71 5.6709C11.5284 5.46331 11.2128 5.44187 11.0049 5.62305L6.75 9.33594L4.99609 7.80469C4.78809 7.62318 4.47163 7.64562 4.29004 7.85352C4.10887 8.06152 4.13011 8.37711 4.33789 8.55859L6.42188 10.377C6.61019 10.5409 6.89091 10.5411 7.0791 10.377L11.6621 6.37695C11.8699 6.1954 11.8913 5.87889 11.71 5.6709Z", fill: "#159169" }) }), Yn = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.38086C11.6558 1.38086 14.619 4.34424 14.6191 8C14.6191 11.6559 11.6559 14.6191 8 14.6191C4.34424 14.619 1.38086 11.6558 1.38086 8C1.38101 4.34433 4.34433 1.38101 8 1.38086ZM11.1055 4.89648C10.8637 4.65473 10.4712 4.65473 10.2295 4.89648L8 7.125L5.77148 4.89648C5.52973 4.65473 5.13824 4.65473 4.89648 4.89648C4.65473 5.13824 4.65473 5.52973 4.89648 5.77148L7.125 8L4.89648 10.2295C4.65473 10.4712 4.65473 10.8637 4.89648 11.1055C5.13819 11.3464 5.52994 11.3467 5.77148 11.1055L8 8.87598L10.2295 11.1055C10.4713 11.3467 10.8639 11.347 11.1055 11.1055C11.347 10.8639 11.3467 10.4713 11.1055 10.2295L8.87598 8L11.1055 5.77148C11.3467 5.52994 11.3464 5.13819 11.1055 4.89648Z", fill: "#D93640" }) }), Xn = () => /* @__PURE__ */ e.jsxs(
967
+ /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: n })
968
+ ] }), zt = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.5C11.5901 1.5 14.5 4.40986 14.5 8C14.5 11.5901 11.5901 14.5 8 14.5C4.40986 14.5 1.5 11.5901 1.5 8C1.5 4.40986 4.40986 1.5 8 1.5ZM11.71 5.6709C11.5284 5.46331 11.2128 5.44187 11.0049 5.62305L6.75 9.33594L4.99609 7.80469C4.78809 7.62318 4.47163 7.64562 4.29004 7.85352C4.10887 8.06152 4.13011 8.37711 4.33789 8.55859L6.42188 10.377C6.61019 10.5409 6.89091 10.5411 7.0791 10.377L11.6621 6.37695C11.8699 6.1954 11.8913 5.87889 11.71 5.6709Z", fill: "#159169" }) }), Vt = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.38086C11.6558 1.38086 14.619 4.34424 14.6191 8C14.6191 11.6559 11.6559 14.6191 8 14.6191C4.34424 14.619 1.38086 11.6558 1.38086 8C1.38101 4.34433 4.34433 1.38101 8 1.38086ZM11.1055 4.89648C10.8637 4.65473 10.4712 4.65473 10.2295 4.89648L8 7.125L5.77148 4.89648C5.52973 4.65473 5.13824 4.65473 4.89648 4.89648C4.65473 5.13824 4.65473 5.52973 4.89648 5.77148L7.125 8L4.89648 10.2295C4.65473 10.4712 4.65473 10.8637 4.89648 11.1055C5.13819 11.3464 5.52994 11.3467 5.77148 11.1055L8 8.87598L10.2295 11.1055C10.4713 11.3467 10.8639 11.347 11.1055 11.1055C11.347 10.8639 11.3467 10.4713 11.1055 10.2295L8.87598 8L11.1055 5.77148C11.3467 5.52994 11.3464 5.13819 11.1055 4.89648Z", fill: "#D93640" }) }), Yt = () => /* @__PURE__ */ e.jsxs(
969
969
  "svg",
970
970
  {
971
971
  width: "14",
@@ -982,35 +982,35 @@ const Hn = 5e3, Gn = 84, Wn = `
982
982
  /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
983
983
  ]
984
984
  }
985
- ), Jn = ({ plan: t, t: s }) => /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: t.features.map((n, l) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
986
- /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: n.included ? /* @__PURE__ */ e.jsx(zn, {}) : /* @__PURE__ */ e.jsx(Yn, {}) }),
987
- /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: s(n.text) })
988
- ] }, l)) }) }), Zn = ({
989
- chipKeys: t,
990
- t: s,
991
- onChipClick: n
985
+ ), Xt = ({ plan: n, t: a }) => /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: n.features.map((t, o) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
986
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(zt, {}) : /* @__PURE__ */ e.jsx(Vt, {}) }),
987
+ /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a(t.text) })
988
+ ] }, o)) }) }), Jt = ({
989
+ chipKeys: n,
990
+ t: a,
991
+ onChipClick: t
992
992
  }) => {
993
- const l = Math.ceil(t.length / 2), a = [t.slice(0, l), t.slice(l)];
994
- return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: a.map((i, r) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: i.map((c) => /* @__PURE__ */ e.jsx(
993
+ const o = Math.ceil(n.length / 2), s = [n.slice(0, o), n.slice(o)];
994
+ return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: s.map((l, r) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((u) => /* @__PURE__ */ e.jsx(
995
995
  "button",
996
996
  {
997
997
  type: "button",
998
998
  className: "inline-flex w-auto px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-[14px] font-medium cursor-pointer whitespace-nowrap active:opacity-70 transition-opacity",
999
- onClick: () => n(c, t.indexOf(c)),
1000
- children: s(c)
999
+ onClick: () => t(u, n.indexOf(u)),
1000
+ children: a(u)
1001
1001
  },
1002
- c
1002
+ u
1003
1003
  )) }, r)) }) });
1004
- }, es = ({
1005
- textareaRef: t,
1006
- value: s,
1007
- label: n,
1008
- placeholder: l,
1009
- chipKeys: a,
1010
- t: i,
1004
+ }, Zt = ({
1005
+ textareaRef: n,
1006
+ value: a,
1007
+ label: t,
1008
+ placeholder: o,
1009
+ chipKeys: s,
1010
+ t: l,
1011
1011
  onFocus: r,
1012
- onClick: c,
1013
- onChange: o,
1012
+ onClick: u,
1013
+ onChange: i,
1014
1014
  onChipClick: m
1015
1015
  }) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
1016
1016
  /* @__PURE__ */ e.jsx(
@@ -1023,56 +1023,56 @@ const Hn = 5e3, Gn = 84, Wn = `
1023
1023
  }
1024
1024
  ),
1025
1025
  /* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
1026
- n,
1026
+ t,
1027
1027
  /* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
1028
1028
  ] }),
1029
1029
  /* @__PURE__ */ e.jsx(
1030
1030
  "textarea",
1031
1031
  {
1032
1032
  id: "kundli-question",
1033
- ref: t,
1033
+ ref: n,
1034
1034
  className: "w-full resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] p-4 text-left align-top text-[14px] text-gray-900 leading-5 box-border outline-none focus:border-[#e05c2a] focus:shadow-[0_0_0_3px_rgba(224,92,42,0.12)] placeholder:text-left placeholder:text-gray-400",
1035
1035
  style: { height: "100px" },
1036
- placeholder: l,
1037
- value: s,
1036
+ placeholder: o,
1037
+ value: a,
1038
1038
  onFocus: r,
1039
- onClick: c,
1040
- onChange: o
1039
+ onClick: u,
1040
+ onChange: i
1041
1041
  }
1042
1042
  ),
1043
- /* @__PURE__ */ e.jsx(Zn, { chipKeys: a, t: i, onChipClick: m })
1044
- ] }), ts = "_card_62fy9_1", ns = "_top_62fy9_15", ss = "_avatar_62fy9_21", as = "_avatarPlaceholder_62fy9_38", os = "_basicInfo_62fy9_44", ls = "_name_62fy9_51", is = "_exp_62fy9_61", rs = "_langs_62fy9_62", cs = "_divider_62fy9_69", ds = "_certList_62fy9_75", ps = "_certItem_62fy9_81", us = "_bullet_62fy9_90", E = {
1045
- card: ts,
1046
- top: ns,
1047
- avatar: ss,
1048
- avatarPlaceholder: as,
1049
- basicInfo: os,
1050
- name: ls,
1051
- exp: is,
1052
- langs: rs,
1053
- divider: cs,
1054
- certList: ds,
1055
- certItem: ps,
1056
- bullet: us
1057
- }, ms = ({ astrologer: t, t: s }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1043
+ /* @__PURE__ */ e.jsx(Jt, { chipKeys: s, t: l, onChipClick: m })
1044
+ ] }), ea = "_card_62fy9_1", na = "_top_62fy9_15", ta = "_avatar_62fy9_21", aa = "_avatarPlaceholder_62fy9_38", sa = "_basicInfo_62fy9_44", ia = "_name_62fy9_51", oa = "_exp_62fy9_61", la = "_langs_62fy9_62", ra = "_divider_62fy9_69", ca = "_certList_62fy9_75", da = "_certItem_62fy9_81", ua = "_bullet_62fy9_90", E = {
1045
+ card: ea,
1046
+ top: na,
1047
+ avatar: ta,
1048
+ avatarPlaceholder: aa,
1049
+ basicInfo: sa,
1050
+ name: ia,
1051
+ exp: oa,
1052
+ langs: la,
1053
+ divider: ra,
1054
+ certList: ca,
1055
+ certItem: da,
1056
+ bullet: ua
1057
+ }, pa = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1058
1058
  /* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
1059
- /* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: t.imageUrl, alt: s?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: t.name.charAt(0) }) }),
1059
+ /* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: a?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
1060
1060
  /* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
1061
- /* @__PURE__ */ e.jsx("p", { className: E.name, children: s?.(t.name) ?? t.name }),
1062
- /* @__PURE__ */ e.jsx("p", { className: E.exp, children: s?.(t.experience) ?? t.experience }),
1063
- t.languages && t.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: t.languages.map((n) => s?.(n) ?? n).join(" • ") })
1061
+ /* @__PURE__ */ e.jsx("p", { className: E.name, children: a?.(n.name) ?? n.name }),
1062
+ /* @__PURE__ */ e.jsx("p", { className: E.exp, children: a?.(n.experience) ?? n.experience }),
1063
+ n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
1064
1064
  ] })
1065
1065
  ] }),
1066
1066
  /* @__PURE__ */ e.jsx("div", { className: E.divider }),
1067
- /* @__PURE__ */ e.jsx("div", { className: E.certList, children: t.certifications.map((n, l) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1067
+ /* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1068
1068
  /* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
1069
1069
  " ",
1070
- s?.(n) ?? n
1071
- ] }, l)) })
1072
- ] }), hs = ({
1073
- astrologers: t,
1074
- heading: s,
1075
- t: n
1070
+ a?.(t) ?? t
1071
+ ] }, o)) })
1072
+ ] }), ma = ({
1073
+ astrologers: n,
1074
+ heading: a,
1075
+ t
1076
1076
  }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1077
1077
  /* @__PURE__ */ e.jsx(
1078
1078
  "div",
@@ -1083,21 +1083,21 @@ const Hn = 5e3, Gn = 84, Wn = `
1083
1083
  }
1084
1084
  }
1085
1085
  ),
1086
- /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: s }),
1086
+ /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: a }),
1087
1087
  /* @__PURE__ */ e.jsx(
1088
1088
  "div",
1089
1089
  {
1090
1090
  className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
1091
1091
  role: "list",
1092
- children: t.map((l, a) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ms, { astrologer: l, t: n }) }, a))
1092
+ children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(pa, { astrologer: o, t }) }, s))
1093
1093
  }
1094
1094
  )
1095
- ] }), xs = ({
1096
- plans: t,
1097
- selectedId: s,
1098
- t: n,
1099
- analytics: l,
1100
- onSelectPlan: a
1095
+ ] }), ha = ({
1096
+ plans: n,
1097
+ selectedId: a,
1098
+ t,
1099
+ analytics: o,
1100
+ onSelectPlan: s
1101
1101
  }) => (
1102
1102
  /*
1103
1103
  * pt-[18px] reserves space for the badge that floats above the card.
@@ -1106,34 +1106,34 @@ const Hn = 5e3, Gn = 84, Wn = `
1106
1106
  * overflow-hidden (the badge's nearest `overflow-hidden` ancestor is
1107
1107
  * now the sticky footer, not the sheet, which doesn't clip it).
1108
1108
  */
1109
- /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: t.map((i) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
1110
- i.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[18px] left-0 right-0 inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-t-xl bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-2 py-[6px] text-[11px] font-bold text-white z-10", children: [
1111
- /* @__PURE__ */ e.jsx(Xn, {}),
1112
- n(i.badge)
1109
+ /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((l) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
1110
+ l.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[18px] left-0 right-0 inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-t-xl bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-2 py-[6px] text-[11px] font-bold text-white z-10", children: [
1111
+ /* @__PURE__ */ e.jsx(Yt, {}),
1112
+ t(l.badge)
1113
1113
  ] }),
1114
1114
  /* @__PURE__ */ e.jsxs(
1115
1115
  "button",
1116
1116
  {
1117
1117
  type: "button",
1118
1118
  role: "radio",
1119
- "aria-checked": i.id === s,
1119
+ "aria-checked": l.id === a,
1120
1120
  className: [
1121
1121
  "relative w-full flex flex-col items-center justify-center gap-1 px-1 pt-3 pb-6 min-h-[125px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors overflow-hidden",
1122
- i.id === s ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1122
+ l.id === a ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1123
1123
  ].join(" "),
1124
1124
  onClick: () => {
1125
- l?.trackPlanSelected?.({ planId: i.id, planName: i.title }), a(i);
1125
+ o?.trackPlanSelected?.({ planId: l.id, planName: l.title }), s(l);
1126
1126
  },
1127
1127
  children: [
1128
1128
  /* @__PURE__ */ e.jsx(
1129
1129
  "span",
1130
1130
  {
1131
- className: `text-[14px] leading-snug ${i.id === s ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1132
- children: n(i.title)
1131
+ className: `text-[14px] leading-snug ${l.id === a ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1132
+ children: t(l.title)
1133
1133
  }
1134
1134
  ),
1135
- /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: i.price }),
1136
- i.newBadge && /* @__PURE__ */ e.jsxs(
1135
+ /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: l.price }),
1136
+ l.newBadge && /* @__PURE__ */ e.jsxs(
1137
1137
  "span",
1138
1138
  {
1139
1139
  className: "absolute bottom-[6px] left-0 right-0 inline-flex items-center justify-center gap-[3px] text-[10px] font-bold leading-tight",
@@ -1145,34 +1145,34 @@ const Hn = 5e3, Gn = 84, Wn = `
1145
1145
  },
1146
1146
  children: [
1147
1147
  "⏳ ",
1148
- n(i.newBadge)
1148
+ t(l.newBadge)
1149
1149
  ]
1150
1150
  }
1151
1151
  )
1152
1152
  ]
1153
1153
  }
1154
1154
  )
1155
- ] }, i.id)) })
1156
- ), gs = ({
1157
- canProceed: t,
1158
- label: s,
1159
- showDisabledHint: n,
1160
- hintText: l,
1161
- onClick: a
1155
+ ] }, l.id)) })
1156
+ ), ga = ({
1157
+ canProceed: n,
1158
+ label: a,
1159
+ showDisabledHint: t,
1160
+ hintText: o,
1161
+ onClick: s
1162
1162
  }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1163
- n && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: l }),
1163
+ t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: o }),
1164
1164
  /* @__PURE__ */ e.jsxs(
1165
1165
  "button",
1166
1166
  {
1167
1167
  className: [
1168
1168
  "relative overflow-hidden w-full h-[50px] rounded-[14px] border-0 text-white text-[17px] font-bold cursor-pointer flex items-center justify-center transition-all duration-200",
1169
- t ? "bg-gradient-to-b from-[#F97316] to-[#EA580C] shadow-[0_6px_14px_rgba(234,88,12,0.25)] hover:from-[#fb923c] hover:to-[#f97316] active:scale-[0.98] active:shadow-[0_3px_8px_rgba(234,88,12,0.2)]" : "bg-gray-300 text-gray-400 shadow-none cursor-not-allowed"
1169
+ n ? "bg-gradient-to-b from-[#F97316] to-[#EA580C] shadow-[0_6px_14px_rgba(234,88,12,0.25)] hover:from-[#fb923c] hover:to-[#f97316] active:scale-[0.98] active:shadow-[0_3px_8px_rgba(234,88,12,0.2)]" : "bg-gray-300 text-gray-400 shadow-none cursor-not-allowed"
1170
1170
  ].join(" "),
1171
1171
  style: { fontFamily: "inherit" },
1172
- "aria-disabled": !t,
1173
- onClick: a,
1172
+ "aria-disabled": !n,
1173
+ onClick: s,
1174
1174
  children: [
1175
- t && /* @__PURE__ */ e.jsx(
1175
+ n && /* @__PURE__ */ e.jsx(
1176
1176
  "span",
1177
1177
  {
1178
1178
  className: "absolute top-0 w-1/2 h-full pointer-events-none",
@@ -1185,84 +1185,84 @@ const Hn = 5e3, Gn = 84, Wn = `
1185
1185
  }
1186
1186
  }
1187
1187
  ),
1188
- /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: s })
1188
+ /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: a })
1189
1189
  ]
1190
1190
  }
1191
1191
  )
1192
- ] }), fs = ({
1193
- isOpen: t,
1194
- onClose: s,
1195
- selectedPlan: n,
1196
- onSelectPlan: l,
1197
- plans: a,
1198
- onProceed: i,
1192
+ ] }), xa = ({
1193
+ isOpen: n,
1194
+ onClose: a,
1195
+ selectedPlan: t,
1196
+ onSelectPlan: o,
1197
+ plans: s,
1198
+ onProceed: l,
1199
1199
  locale: r = "en",
1200
- t: c,
1201
- analytics: o,
1200
+ t: u,
1201
+ analytics: i,
1202
1202
  isGlobal: m = !0
1203
1203
  }) => {
1204
- const h = V((x) => (he[r] ?? he.en)[x] ?? c?.(x) ?? x, [r, c]), d = ce(() => a ?? qn(m), [a, m]), f = n?.id || d.find((x) => x.badge)?.id || d[0]?.id || "", y = b(null), k = b(null), C = b(null), g = b(!1), [p, N] = L(""), [T, w] = L("custom"), [R, K] = L(null), [q, H] = L(!1), G = b(!1), z = b(null), P = ce(() => d.find((x) => x.id === f) ?? d[0], [d, f]), D = !!P?.supportsQuestion, j = !D || p.trim().length > 0, se = V(() => {
1205
- const x = z.current;
1206
- x && (x.style.height = "auto", x.style.height = Math.max(100, Math.min(x.scrollHeight, Gn)) + "px");
1204
+ const h = z((g) => (he[r] ?? he.en)[g] ?? u?.(g) ?? g, [r, u]), c = ce(() => s ?? Bt(m), [s, m]), f = t?.id || c.find((g) => g.badge)?.id || c[0]?.id || "", y = _(null), N = _(null), k = _(null), x = _(!1), [d, C] = L(""), [F, w] = L("custom"), [R, K] = L(null), [q, H] = L(!1), G = _(!1), V = _(null), P = ce(() => c.find((g) => g.id === f) ?? c[0], [c, f]), D = !!P?.supportsQuestion, j = !D || d.trim().length > 0, ae = z(() => {
1205
+ const g = V.current;
1206
+ g && (g.style.height = "auto", g.style.height = Math.max(100, Math.min(g.scrollHeight, Ht)) + "px");
1207
1207
  }, []);
1208
1208
  I(() => {
1209
- if (t) {
1210
- if (!n) {
1211
- const x = d.find((v) => v.badge) ?? d[0];
1212
- x && l(x);
1209
+ if (n) {
1210
+ if (!t) {
1211
+ const g = c.find((v) => v.badge) ?? c[0];
1212
+ g && o(g);
1213
1213
  }
1214
- g.current || (o?.trackPlanPageViewed?.(), g.current = !0);
1214
+ x.current || (i?.trackPlanPageViewed?.(), x.current = !0);
1215
1215
  } else
1216
- g.current = !1;
1217
- }, [t, d, n, l, o]), I(() => {
1218
- if (!t) return;
1219
- const x = document.body.style.overflow;
1216
+ x.current = !1;
1217
+ }, [n, c, t, o, i]), I(() => {
1218
+ if (!n) return;
1219
+ const g = document.body.style.overflow;
1220
1220
  return document.body.style.overflow = "hidden", () => {
1221
- document.body.style.overflow = x;
1221
+ document.body.style.overflow = g;
1222
1222
  };
1223
- }, [t]);
1224
- const ae = () => {
1225
- o?.trackPlanPageClosed?.(), s();
1226
- }, F = (x) => {
1227
- const v = k.current, Y = C.current;
1223
+ }, [n]);
1224
+ const se = () => {
1225
+ i?.trackPlanPageClosed?.(), a();
1226
+ }, T = (g) => {
1227
+ const v = N.current, Y = k.current;
1228
1228
  if (v && Y) {
1229
1229
  const J = Y.getBoundingClientRect().top - v.getBoundingClientRect().top + v.scrollTop;
1230
1230
  v.scrollTo({ top: J, behavior: "smooth" });
1231
1231
  }
1232
- G.current || (G.current = !0, o?.trackQuestionTextboxClicked?.({
1233
- entry_method: x,
1234
- textbox_empty: p.length === 0
1232
+ G.current || (G.current = !0, i?.trackQuestionTextboxClicked?.({
1233
+ entry_method: g,
1234
+ textbox_empty: d.length === 0
1235
1235
  }));
1236
- }, oe = (x) => {
1237
- const v = x.target.value.slice(0, Hn);
1238
- T === "chip" && v !== h(xe[R ?? 0]) && w("chip_edited"), N(v), se(), q && H(!1);
1239
- }, u = (x, v) => {
1240
- const Y = h(x), J = p.length > 0 && T !== "chip";
1241
- o?.trackPreSuggestedQuestionSelected?.({
1236
+ }, ie = (g) => {
1237
+ const v = g.target.value.slice(0, qt);
1238
+ F === "chip" && v !== h(ge[R ?? 0]) && w("chip_edited"), C(v), ae(), q && H(!1);
1239
+ }, p = (g, v) => {
1240
+ const Y = h(g), J = d.length > 0 && F !== "chip";
1241
+ i?.trackPreSuggestedQuestionSelected?.({
1242
1242
  question_text_loaded: Y,
1243
1243
  chip_index: v,
1244
1244
  previous_chip_index: R,
1245
1245
  user_had_custom_text: J
1246
- }), N(Y), w("chip"), K(v), G.current = !1, setTimeout(se, 0);
1246
+ }), C(Y), w("chip"), K(v), G.current = !1, setTimeout(ae, 0);
1247
1247
  }, Q = () => {
1248
1248
  if (P) {
1249
- if (D && !p.trim()) {
1249
+ if (D && !d.trim()) {
1250
1250
  H(!0);
1251
1251
  return;
1252
1252
  }
1253
- o?.trackPlanProceedClicked?.({
1253
+ i?.trackPlanProceedClicked?.({
1254
1254
  planId: P.id,
1255
1255
  planName: P.title,
1256
1256
  price: P.price,
1257
1257
  currency: m ? "USD" : "INR",
1258
1258
  question_asked: D ? !0 : void 0,
1259
- question_text: D ? p.trim() : void 0,
1260
- question_source: D ? T : void 0
1261
- }), i(P, D ? p.trim() : void 0), s();
1259
+ question_text: D ? d.trim() : void 0,
1260
+ question_source: D ? F : void 0
1261
+ }), l(P, D ? d.trim() : void 0), a();
1262
1262
  }
1263
1263
  };
1264
- return t ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1265
- /* @__PURE__ */ e.jsx("style", { children: Wn }),
1264
+ return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1265
+ /* @__PURE__ */ e.jsx("style", { children: Gt }),
1266
1266
  /* @__PURE__ */ e.jsx(
1267
1267
  "div",
1268
1268
  {
@@ -1277,27 +1277,27 @@ const Hn = 5e3, Gn = 84, Wn = `
1277
1277
  className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
1278
1278
  style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
1279
1279
  children: [
1280
- /* @__PURE__ */ e.jsx(Vn, { title: h("planSheetTitle"), onClose: ae }),
1281
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: k, children: [
1280
+ /* @__PURE__ */ e.jsx(Wt, { title: h("planSheetTitle"), onClose: se }),
1281
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: N, children: [
1282
1282
  /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: h(P?.title ?? "") }),
1283
- P && /* @__PURE__ */ e.jsx(Jn, { plan: P, t: h }),
1284
- D && /* @__PURE__ */ e.jsx("div", { ref: C, children: /* @__PURE__ */ e.jsx(
1285
- es,
1283
+ P && /* @__PURE__ */ e.jsx(Xt, { plan: P, t: h }),
1284
+ D && /* @__PURE__ */ e.jsx("div", { ref: k, children: /* @__PURE__ */ e.jsx(
1285
+ Zt,
1286
1286
  {
1287
- textareaRef: z,
1288
- value: p,
1287
+ textareaRef: V,
1288
+ value: d,
1289
1289
  label: h("planQuestionLabel"),
1290
1290
  placeholder: h("planQuestionPlaceholder"),
1291
- chipKeys: xe,
1291
+ chipKeys: ge,
1292
1292
  t: h,
1293
- onFocus: () => F("keyboard_focus"),
1294
- onClick: () => F("tap"),
1295
- onChange: oe,
1296
- onChipClick: u
1293
+ onFocus: () => T("keyboard_focus"),
1294
+ onClick: () => T("tap"),
1295
+ onChange: ie,
1296
+ onChipClick: p
1297
1297
  }
1298
1298
  ) }),
1299
1299
  P?.astrologers && P.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1300
- hs,
1300
+ ma,
1301
1301
  {
1302
1302
  astrologers: P.astrologers,
1303
1303
  heading: h("planAstrologerHeading"),
@@ -1312,17 +1312,17 @@ const Hn = 5e3, Gn = 84, Wn = `
1312
1312
  style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
1313
1313
  children: [
1314
1314
  /* @__PURE__ */ e.jsx(
1315
- xs,
1315
+ ha,
1316
1316
  {
1317
- plans: d,
1317
+ plans: c,
1318
1318
  selectedId: f,
1319
1319
  t: h,
1320
- analytics: o,
1321
- onSelectPlan: l
1320
+ analytics: i,
1321
+ onSelectPlan: o
1322
1322
  }
1323
1323
  ),
1324
1324
  /* @__PURE__ */ e.jsx(
1325
- gs,
1325
+ ga,
1326
1326
  {
1327
1327
  canProceed: j,
1328
1328
  label: h("planProceedToPayment"),
@@ -1340,7 +1340,7 @@ const Hn = 5e3, Gn = 84, Wn = `
1340
1340
  }
1341
1341
  )
1342
1342
  ] }) : null;
1343
- }, bs = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", _s = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", ge = {
1343
+ }, fa = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", _a = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", xe = {
1344
1344
  en: {
1345
1345
  sectionTitle: "Kundli Packages for you",
1346
1346
  sampleReportsTitle: "View Sample Reports",
@@ -1396,27 +1396,7 @@ call`
1396
1396
  ज्योतिषी कॉल`
1397
1397
  ]
1398
1398
  }
1399
- }, js = (t) => ge[t] ?? ge.en, fe = {
1400
- global: ["$25", "$31", "$41"],
1401
- domestic: ["₹499", "₹749", "₹999"]
1402
- }, ys = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#14946b] font-bold text-white", children: "✓" }), ws = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#e23f4e] font-bold text-white", children: "✕" }), vs = () => /* @__PURE__ */ e.jsxs(
1403
- "svg",
1404
- {
1405
- width: "14",
1406
- height: "14",
1407
- viewBox: "0 0 24 24",
1408
- fill: "none",
1409
- stroke: "currentColor",
1410
- strokeWidth: "2.5",
1411
- strokeLinecap: "round",
1412
- strokeLinejoin: "round",
1413
- "aria-hidden": !0,
1414
- children: [
1415
- /* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
1416
- /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
1417
- ]
1418
- }
1419
- ), be = () => /* @__PURE__ */ e.jsx(
1399
+ }, ba = (n) => xe[n] ?? xe.en, fe = () => /* @__PURE__ */ e.jsx(
1420
1400
  "svg",
1421
1401
  {
1422
1402
  width: "20",
@@ -1436,75 +1416,28 @@ call`
1436
1416
  }
1437
1417
  )
1438
1418
  }
1439
- ), Ns = ({ s: t }) => /* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
1440
- /* @__PURE__ */ e.jsx("th", { className: "h-[84px] box-border rounded-tl-[12px] align-middle border-r border-b border-[#e5ccb9] bg-[#fff6eb] py-2 pl-2 pr-1 text-left text-[12px] text-[#7b3f17]", children: t.uniqueFeatures }),
1441
- /* @__PURE__ */ e.jsx("th", { className: "h-[84px] box-border align-middle border-r border-b border-[#e5ccb9] bg-[#fff6eb] px-1 py-2 text-center text-[11px] text-[#7b3f17]", children: t.columnKundliReport }),
1442
- /* @__PURE__ */ e.jsxs("th", { className: "h-[84px] box-border align-middle border-r border-b border-[#e5ccb9] bg-[#fff6eb] px-1 py-2 text-center text-[11px] text-[#7b3f17]", children: [
1443
- t.columnReportPlusQuestion,
1444
- /* @__PURE__ */ e.jsx("small", { className: "mt-1 block text-[10px] font-normal italic", children: t.columnReportPlusQuestionSubtext })
1445
- ] }),
1446
- /* @__PURE__ */ e.jsxs("th", { className: "relative h-[84px] box-border rounded-tr-[12px] align-middle border-b border-[#e5ccb9] bg-[#fff8f1] px-1 pt-6 pb-2 text-center text-[11px] font-bold text-[#9a3f1b]", children: [
1447
- /* @__PURE__ */ e.jsxs("div", { className: "absolute left-0 right-0 -top-[16px] z-2 flex items-center justify-center gap-1 whitespace-nowrap rounded-t-[12px] bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-3 py-[6px] text-[11px] font-bold text-white shadow-[0_-4px_10px_rgba(187,42,93,0.2)]", children: [
1448
- /* @__PURE__ */ e.jsx(vs, {}),
1449
- /* @__PURE__ */ e.jsx("span", { children: t.popularBadge })
1450
- ] }),
1451
- t.columnReportPlusConsultation
1452
- ] })
1453
- ] }) }), ks = ({ prices: t, s }) => /* @__PURE__ */ e.jsxs("tbody", { children: [
1454
- s.rowLabels.map((n, l) => {
1455
- const i = [
1456
- ["check", "check", "check"],
1457
- ["check", "check", "check"],
1458
- ["cross", "check", "check"],
1459
- ["cross", "cross", "check"],
1460
- ["cross", "cross", "check"]
1461
- ][l];
1462
- return /* @__PURE__ */ e.jsxs("tr", { children: [
1463
- /* @__PURE__ */ e.jsx("td", { className: "h-[64px] box-border border-r border-b border-[#e5ccb9] py-1 pl-2 text-left text-[11px] font-semibold text-[#7b3f17] align-middle leading-tight", children: n.split(`
1464
- `).map((r) => /* @__PURE__ */ e.jsx("div", { children: r }, r)) }),
1465
- i.map((r, c) => /* @__PURE__ */ e.jsx(
1466
- "td",
1467
- {
1468
- className: `h-[64px] box-border bg-white py-1 text-center border-b border-[#e5ccb9] align-middle ${c !== 2 ? "border-r border-[#e5ccb9]" : ""}`,
1469
- children: /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center", children: r === "check" ? /* @__PURE__ */ e.jsx(ys, {}) : /* @__PURE__ */ e.jsx(ws, {}) })
1470
- },
1471
- `${l}-${c}`
1472
- ))
1473
- ] }, l);
1474
- }),
1475
- /* @__PURE__ */ e.jsxs("tr", { className: "bg-[#fff8ef]", children: [
1476
- /* @__PURE__ */ e.jsx("td", { className: "h-[64px] box-border border-r border-[#e5ccb9] py-1 pl-2 text-left text-[12px] font-semibold text-[#7b3f17] rounded-bl-[12px] align-middle", children: s.onlyFor }),
1477
- t.map((n, l) => /* @__PURE__ */ e.jsx(
1478
- "td",
1479
- {
1480
- className: `h-[64px] box-border bg-[#fff8ef] py-1 text-center align-middle ${l !== 2 ? "border-r border-[#e5ccb9]" : ""} ${l === 2 ? "rounded-br-[12px]" : ""}`,
1481
- children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] text-[#9a3f1b]", children: n })
1482
- },
1483
- n
1484
- ))
1485
- ] })
1486
- ] }), Cs = ({
1487
- kundliReportSampleHref: t,
1488
- oneQuestionSampleHref: s,
1489
- analytics: n,
1490
- s: l
1419
+ ), ja = ({
1420
+ kundliReportSampleHref: n,
1421
+ oneQuestionSampleHref: a,
1422
+ analytics: t,
1423
+ s: o
1491
1424
  }) => {
1492
- const [a, i] = L(!1), [r, c] = L(!1);
1425
+ const [s, l] = L(!1), [r, u] = L(!1);
1493
1426
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1494
- /* @__PURE__ */ e.jsx("h3", { className: "mt-5 mb-3 text-center text-[18px] font-bold leading-[1.1] text-[#f75e22] max-[380px]:text-[16px]", children: l.sampleReportsTitle }),
1427
+ /* @__PURE__ */ e.jsx("h3", { className: "mb-3 text-center text-[18px] font-bold leading-[1.1] text-[#f75e22] max-[380px]:text-[16px]", children: o.sampleReportsTitle }),
1495
1428
  /* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-2 gap-[10px]", children: [
1496
1429
  /* @__PURE__ */ e.jsxs(
1497
1430
  "button",
1498
1431
  {
1499
1432
  type: "button",
1500
1433
  onClick: () => {
1501
- n?.trackKundliViewSampleImageClicked?.(), i(!0);
1434
+ t?.trackKundliViewSampleImageClicked?.(), l(!0);
1502
1435
  },
1503
1436
  className: "justify-center items-center relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
1504
1437
  children: [
1505
- l.sampleLabelKundliReport.split(`
1506
- `).map((o, m) => /* @__PURE__ */ e.jsx("span", { className: m > 0 ? "block" : void 0, children: o }, m)),
1507
- /* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(be, {}) })
1438
+ o.sampleLabelKundliReport.split(`
1439
+ `).map((i, m) => /* @__PURE__ */ e.jsx("span", { className: m > 0 ? "block" : void 0, children: i }, m)),
1440
+ /* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(fe, {}) })
1508
1441
  ]
1509
1442
  }
1510
1443
  ),
@@ -1513,158 +1446,127 @@ call`
1513
1446
  {
1514
1447
  type: "button",
1515
1448
  onClick: () => {
1516
- n?.trackOneQuestionViewSampleReportClicked?.(), c(!0);
1449
+ t?.trackOneQuestionViewSampleReportClicked?.(), u(!0);
1517
1450
  },
1518
1451
  className: "justify-center items-center relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
1519
1452
  children: [
1520
- l.sampleLabelOneQuestion.split(`
1521
- `).map((o, m) => /* @__PURE__ */ e.jsx("span", { className: m > 0 ? "block" : void 0, children: o }, m)),
1522
- /* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(be, {}) })
1453
+ o.sampleLabelOneQuestion.split(`
1454
+ `).map((i, m) => /* @__PURE__ */ e.jsx("span", { className: m > 0 ? "block" : void 0, children: i }, m)),
1455
+ /* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(fe, {}) })
1523
1456
  ]
1524
1457
  }
1525
1458
  )
1526
1459
  ] }),
1527
1460
  /* @__PURE__ */ e.jsx(
1528
- ie,
1461
+ le,
1529
1462
  {
1530
- isOpen: a,
1463
+ isOpen: s,
1531
1464
  onClose: () => {
1532
- n?.trackKundliViewSampleImageClosed?.(), i(!1);
1465
+ t?.trackKundliViewSampleImageClosed?.(), l(!1);
1533
1466
  },
1534
- title: l.sampleLabelKundliReport.replace(`
1467
+ title: o.sampleLabelKundliReport.replace(`
1535
1468
  `, " "),
1536
- pdfUrl: t
1469
+ pdfUrl: n
1537
1470
  }
1538
1471
  ),
1539
1472
  /* @__PURE__ */ e.jsx(
1540
- ie,
1473
+ le,
1541
1474
  {
1542
1475
  isOpen: r,
1543
1476
  onClose: () => {
1544
- n?.trackOneQuestionViewSampleReportClosed?.(), c(!1);
1477
+ t?.trackOneQuestionViewSampleReportClosed?.(), u(!1);
1545
1478
  },
1546
- title: l.sampleLabelOneQuestion.replace(`
1479
+ title: o.sampleLabelOneQuestion.replace(`
1547
1480
  `, " "),
1548
- pdfUrl: s
1549
- }
1550
- )
1551
- ] });
1552
- }, Ps = ({
1553
- isGlobal: t = !1,
1554
- locale: s = "en",
1555
- kundliReportSampleHref: n = bs,
1556
- oneQuestionSampleHref: l = _s,
1557
- analytics: a,
1558
- className: i = ""
1559
- }) => {
1560
- const r = t ? fe.global : fe.domestic, c = js(s);
1561
- return /* @__PURE__ */ e.jsxs("section", { className: `bg-white px-3 py-4 ${i}`, children: [
1562
- /* @__PURE__ */ e.jsx("h2", { className: "mb-3 font-bold text-center text-[18px] leading-6 text-[#f75e22] max-[380px]:text-[16px]", children: c.sectionTitle }),
1563
- /* @__PURE__ */ e.jsx("div", { className: "relative mt-5 rounded-[14px] border-[1.5px] border-[#e5ccb9] shadow-[0_4px_16px_rgba(111,58,17,0.08)]", children: /* @__PURE__ */ e.jsxs("table", { className: "w-full table-fixed border-collapse", children: [
1564
- /* @__PURE__ */ e.jsxs("colgroup", { children: [
1565
- /* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
1566
- /* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
1567
- /* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
1568
- /* @__PURE__ */ e.jsx("col", { className: "w-1/4" })
1569
- ] }),
1570
- /* @__PURE__ */ e.jsx(Ns, { s: c }),
1571
- /* @__PURE__ */ e.jsx(ks, { prices: r, s: c })
1572
- ] }) }),
1573
- /* @__PURE__ */ e.jsx(
1574
- Cs,
1575
- {
1576
- kundliReportSampleHref: n,
1577
- oneQuestionSampleHref: l,
1578
- analytics: a,
1579
- s: c
1481
+ pdfUrl: a
1580
1482
  }
1581
1483
  )
1582
1484
  ] });
1583
- }, Is = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ls = (t, s) => ve[t]?.[s] ?? s, Rs = 112;
1485
+ }, ya = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", wa = (n, a) => we[n]?.[a] ?? a, va = 112;
1584
1486
  function A({
1585
- section: t,
1586
- children: s,
1587
- onImpression: n
1487
+ section: n,
1488
+ children: a,
1489
+ onImpression: t
1588
1490
  }) {
1589
- const l = b(null), a = b(!1);
1491
+ const o = _(null), s = _(!1);
1590
1492
  return I(() => {
1591
- const i = l.current;
1592
- if (!i) return;
1493
+ const l = o.current;
1494
+ if (!l) return;
1593
1495
  const r = new IntersectionObserver(
1594
- ([c]) => {
1595
- !c?.isIntersecting || a.current || (a.current = !0, n(t));
1496
+ ([u]) => {
1497
+ !u?.isIntersecting || s.current || (s.current = !0, t(n));
1596
1498
  },
1597
1499
  {
1598
1500
  threshold: 0.1,
1599
1501
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
1600
- rootMargin: `0px 0px -${Rs}px 0px`
1502
+ rootMargin: `0px 0px -${va}px 0px`
1601
1503
  }
1602
1504
  );
1603
- return r.observe(i), () => r.disconnect();
1604
- }, [t, n]), /* @__PURE__ */ e.jsx("div", { ref: l, children: s });
1505
+ return r.observe(l), () => r.disconnect();
1506
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
1605
1507
  }
1606
- function Fs({
1607
- className: t,
1608
- showInlineForm: s = !1,
1609
- enableThreeSkuFlow: n = !1,
1610
- kundliReportSampleHref: l,
1611
- oneQuestionSampleHref: a
1508
+ function Ca({
1509
+ className: n,
1510
+ showInlineForm: a = !1,
1511
+ enableThreeSkuFlow: t = !1,
1512
+ kundliReportSampleHref: o = fa,
1513
+ oneQuestionSampleHref: s = _a
1612
1514
  }) {
1613
- const i = je(), {
1515
+ const l = be(), {
1614
1516
  locale: r,
1615
- setLocale: c,
1616
- config: o,
1517
+ setLocale: u,
1518
+ config: i,
1617
1519
  formValues: m,
1618
1520
  setFormValues: h
1619
- } = re(), [d, f] = L(!1), [y, k] = L(null), C = b(null), g = b(void 0), p = b(null), N = b(!1), T = V((u) => {
1620
- C.current = u, f(!0);
1621
- }, []), w = V(() => {
1622
- if (!C.current || !y) return;
1623
- const u = {
1624
- ...C.current,
1521
+ } = re(), [c, f] = L(!1), [y, N] = L(null), k = _(null), x = _(void 0), d = _(null), C = _(!1), F = z((p) => {
1522
+ k.current = p, f(!0);
1523
+ }, []), w = z(() => {
1524
+ if (!k.current || !y) return;
1525
+ const p = {
1526
+ ...k.current,
1625
1527
  _selectedPlan: y,
1626
- ...g.current !== void 0 ? { _question: g.current } : {}
1528
+ ...x.current !== void 0 ? { _question: x.current } : {}
1627
1529
  };
1628
- g.current = void 0, y.id === $e && o.onProceedGuidance ? o.onProceedGuidance(u) : o.onProceed?.(u), f(!1), C.current = null;
1629
- }, [y, o.onProceed, o.onProceedGuidance]), [R, K] = L(!1), [q, H] = L(
1630
- o.isGlobal ?? !0 ? "+1" : "+91"
1631
- ), G = b(null), z = b(null), P = b(o.locale), D = b(
1632
- i?.locale
1530
+ x.current = void 0, y.id === De && i.onProceedGuidance ? i.onProceedGuidance(p) : i.onProceed?.(p), f(!1), k.current = null;
1531
+ }, [y, i.onProceed, i.onProceedGuidance]), [R, K] = L(!1), [q, H] = L(
1532
+ i.isGlobal ?? !0 ? "+1" : "+91"
1533
+ ), G = _(null), V = _(null), P = _(i.locale), D = _(
1534
+ l?.locale
1633
1535
  );
1634
1536
  I(() => {
1635
- o.locale && P.current !== o.locale && c(o.locale), P.current = o.locale;
1636
- }, [o.locale, c]), I(() => {
1637
- if (o.locale) return;
1638
- const u = i?.locale;
1639
- u && D.current !== u && c(u), D.current = u;
1640
- }, [i?.locale, o.locale, c]), I(() => {
1641
- H(o.isGlobal ?? !0 ? "+1" : "+91");
1642
- }, [o.isGlobal]), I(() => {
1537
+ i.locale && P.current !== i.locale && u(i.locale), P.current = i.locale;
1538
+ }, [i.locale, u]), I(() => {
1539
+ if (i.locale) return;
1540
+ const p = l?.locale;
1541
+ p && D.current !== p && u(p), D.current = p;
1542
+ }, [l?.locale, i.locale, u]), I(() => {
1543
+ H(i.isGlobal ?? !0 ? "+1" : "+91");
1544
+ }, [i.isGlobal]), I(() => {
1643
1545
  if (!R) return;
1644
- const u = (Q) => {
1645
- z.current && !z.current.contains(Q.target) && K(!1);
1546
+ const p = (Q) => {
1547
+ V.current && !V.current.contains(Q.target) && K(!1);
1646
1548
  };
1647
- return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
1549
+ return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
1648
1550
  }, [R]), I(() => {
1649
- if (!n) return;
1650
- const u = p.current;
1651
- if (!u) return;
1551
+ if (!t) return;
1552
+ const p = d.current;
1553
+ if (!p) return;
1652
1554
  const Q = new IntersectionObserver(
1653
- ([x]) => {
1654
- N.current || !x?.isIntersecting || (x.intersectionRatio ?? 0) < 0.5 || (N.current = !0, o.analytics?.trackComparisonTableImpression?.());
1555
+ ([g]) => {
1556
+ C.current || !g?.isIntersecting || (g.intersectionRatio ?? 0) < 0.5 || (C.current = !0, i.analytics?.trackComparisonTableImpression?.());
1655
1557
  },
1656
1558
  { threshold: 0.5 }
1657
1559
  );
1658
- return Q.observe(u), () => Q.disconnect();
1659
- }, [n, o.analytics]);
1660
- const j = (u) => Ls(r, u), ae = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: M.langDropdownWrap, ref: z, children: [
1560
+ return Q.observe(p), () => Q.disconnect();
1561
+ }, [t, i.analytics]);
1562
+ const j = (p) => wa(r, p), se = i.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: M.langDropdownWrap, ref: V, children: [
1661
1563
  /* @__PURE__ */ e.jsxs(
1662
1564
  "button",
1663
1565
  {
1664
1566
  type: "button",
1665
1567
  className: M.langTrigger,
1666
1568
  onClick: () => {
1667
- o.analytics?.trackLanguageClickedFe?.({ language: r }), K((u) => !u);
1569
+ i.analytics?.trackLanguageClickedFe?.({ language: r }), K((p) => !p);
1668
1570
  },
1669
1571
  "aria-expanded": R,
1670
1572
  "aria-haspopup": "listbox",
@@ -1674,7 +1576,7 @@ function Fs({
1674
1576
  /* @__PURE__ */ e.jsx(
1675
1577
  "img",
1676
1578
  {
1677
- src: Is,
1579
+ src: ya,
1678
1580
  alt: "",
1679
1581
  className: M.langIcon,
1680
1582
  width: 16,
@@ -1682,7 +1584,7 @@ function Fs({
1682
1584
  "aria-hidden": !0
1683
1585
  }
1684
1586
  ),
1685
- /* @__PURE__ */ e.jsx("span", { className: M.langLabel, children: ne[r] })
1587
+ /* @__PURE__ */ e.jsx("span", { className: M.langLabel, children: te[r] })
1686
1588
  ]
1687
1589
  }
1688
1590
  ),
@@ -1693,32 +1595,32 @@ function Fs({
1693
1595
  role: "listbox",
1694
1596
  "aria-labelledby": "kundli-lang",
1695
1597
  "aria-activedescendant": `kundli-lang-option-${r}`,
1696
- children: ye.map((u) => /* @__PURE__ */ e.jsx(
1598
+ children: je.map((p) => /* @__PURE__ */ e.jsx(
1697
1599
  "li",
1698
1600
  {
1699
- id: `kundli-lang-option-${u}`,
1601
+ id: `kundli-lang-option-${p}`,
1700
1602
  role: "option",
1701
- "aria-selected": u === r,
1603
+ "aria-selected": p === r,
1702
1604
  className: M.langOption,
1703
1605
  onClick: () => {
1704
- o.analytics?.trackLanguageChangedFe?.({ newLanguage: u }), c(u), K(!1);
1606
+ i.analytics?.trackLanguageChangedFe?.({ newLanguage: p }), u(p), K(!1);
1705
1607
  },
1706
- children: ne[u]
1608
+ children: te[p]
1707
1609
  },
1708
- u
1610
+ p
1709
1611
  ))
1710
1612
  }
1711
1613
  )
1712
- ] }) : null, F = V(
1713
- (u) => {
1714
- o.analytics?.trackDetailedKundliReportImpressionFe?.({
1715
- section: u,
1614
+ ] }) : null, T = z(
1615
+ (p) => {
1616
+ i.analytics?.trackDetailedKundliReportImpressionFe?.({
1617
+ section: p,
1716
1618
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
1717
1619
  });
1718
1620
  },
1719
- [o.analytics]
1720
- ), oe = V((u) => {
1721
- const x = {
1621
+ [i.analytics]
1622
+ ), ie = z((p) => {
1623
+ const g = {
1722
1624
  fullName: "kundli-full-name",
1723
1625
  phone: "kundli-phone",
1724
1626
  email: "kundli-email",
@@ -1727,7 +1629,7 @@ function Fs({
1727
1629
  birthPlace: "kundli-birth-place",
1728
1630
  gender: "kundli-gender-male",
1729
1631
  language_code: "kundli-report-lang-hi"
1730
- }[u] ?? "kundli-full-name", v = document.getElementById(x);
1632
+ }[p] ?? "kundli-full-name", v = document.getElementById(g);
1731
1633
  if (v) {
1732
1634
  const J = v.getBoundingClientRect().top + window.scrollY - 120;
1733
1635
  window.scrollTo({
@@ -1736,13 +1638,13 @@ function Fs({
1736
1638
  }), setTimeout(() => v.focus(), 500);
1737
1639
  }
1738
1640
  }, []);
1739
- return /* @__PURE__ */ e.jsxs("div", { className: `${M.container} ${t}`, children: [
1641
+ return /* @__PURE__ */ e.jsxs("div", { className: `${M.container} ${n}`, children: [
1740
1642
  /* @__PURE__ */ e.jsx(
1741
- we,
1643
+ ye,
1742
1644
  {
1743
1645
  t: j,
1744
- logoUrl: o.logoUrl,
1745
- languageSelector: ae
1646
+ logoUrl: i.logoUrl,
1647
+ languageSelector: se
1746
1648
  }
1747
1649
  ),
1748
1650
  /* @__PURE__ */ e.jsxs("main", { className: M.main, children: [
@@ -1750,21 +1652,21 @@ function Fs({
1750
1652
  A,
1751
1653
  {
1752
1654
  section: "hero",
1753
- onImpression: F,
1754
- children: /* @__PURE__ */ e.jsx(Ne, { t: j })
1655
+ onImpression: T,
1656
+ children: /* @__PURE__ */ e.jsx(ve, { t: j })
1755
1657
  }
1756
1658
  ),
1757
1659
  /* @__PURE__ */ e.jsx(
1758
1660
  A,
1759
1661
  {
1760
1662
  section: "premium_report_overview",
1761
- onImpression: F,
1663
+ onImpression: T,
1762
1664
  children: /* @__PURE__ */ e.jsx(
1763
- ke,
1665
+ Ce,
1764
1666
  {
1765
1667
  t: j,
1766
- reportImageUrl: o.reportImageUrl,
1767
- analytics: o.analytics
1668
+ reportImageUrl: i.reportImageUrl,
1669
+ analytics: i.analytics
1768
1670
  }
1769
1671
  )
1770
1672
  }
@@ -1773,12 +1675,12 @@ function Fs({
1773
1675
  A,
1774
1676
  {
1775
1677
  section: "university_certification",
1776
- onImpression: F,
1678
+ onImpression: T,
1777
1679
  children: /* @__PURE__ */ e.jsx(
1778
- Ce,
1680
+ Ne,
1779
1681
  {
1780
1682
  t: j,
1781
- logoUrl: o.universityLogoUrls?.find((u) => !!u)
1683
+ logoUrl: i.universityLogoUrls?.find((p) => !!p)
1782
1684
  }
1783
1685
  )
1784
1686
  }
@@ -1787,44 +1689,43 @@ function Fs({
1787
1689
  A,
1788
1690
  {
1789
1691
  section: "three_steps_process",
1790
- onImpression: F,
1791
- children: /* @__PURE__ */ e.jsx(Pe, { t: j, locale: r, isGlobal: o.isGlobal })
1692
+ onImpression: T,
1693
+ children: /* @__PURE__ */ e.jsx(ke, { t: j, locale: r, isGlobal: i.isGlobal })
1792
1694
  }
1793
1695
  ),
1794
1696
  /* @__PURE__ */ e.jsx(
1795
1697
  A,
1796
1698
  {
1797
1699
  section: "view_sample_report",
1798
- onImpression: F,
1799
- children: n ? /* @__PURE__ */ e.jsx("div", { ref: p, children: /* @__PURE__ */ e.jsx(
1800
- Ps,
1700
+ onImpression: T,
1701
+ children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
1702
+ ja,
1801
1703
  {
1802
- isGlobal: o.isGlobal,
1803
- locale: r,
1804
- kundliReportSampleHref: l,
1805
- oneQuestionSampleHref: a,
1806
- analytics: o.analytics
1704
+ kundliReportSampleHref: o,
1705
+ oneQuestionSampleHref: s,
1706
+ analytics: i.analytics,
1707
+ s: ba(r)
1807
1708
  }
1808
1709
  ) }) : /* @__PURE__ */ e.jsx(
1809
- Ie,
1710
+ Pe,
1810
1711
  {
1811
1712
  t: j,
1812
- pdfUrl: o.sampleReportHref,
1813
- onClick: o.onViewSampleReport,
1814
- analytics: o.analytics
1713
+ pdfUrl: i.sampleReportHref,
1714
+ onClick: i.onViewSampleReport,
1715
+ analytics: i.analytics
1815
1716
  }
1816
1717
  )
1817
1718
  }
1818
1719
  ),
1819
- s && /* @__PURE__ */ e.jsx(
1720
+ a && /* @__PURE__ */ e.jsx(
1820
1721
  A,
1821
1722
  {
1822
1723
  section: "inline_form",
1823
- onImpression: F,
1724
+ onImpression: T,
1824
1725
  children: /* @__PURE__ */ e.jsxs("div", { className: M.inlineFormWrap, ref: G, children: [
1825
1726
  /* @__PURE__ */ e.jsx(Ue, { t: j, align: "center" }),
1826
1727
  /* @__PURE__ */ e.jsx(
1827
- Oe,
1728
+ $e,
1828
1729
  {
1829
1730
  t: j,
1830
1731
  values: m,
@@ -1832,28 +1733,28 @@ function Fs({
1832
1733
  phoneIsdCode: q,
1833
1734
  onPhoneIsdCodeChange: H,
1834
1735
  showV1ExtraFields: !0,
1835
- analytics: o.analytics
1736
+ analytics: i.analytics
1836
1737
  }
1837
1738
  ),
1838
1739
  /* @__PURE__ */ e.jsx(
1839
- Me,
1740
+ Oe,
1840
1741
  {
1841
1742
  t: j,
1842
1743
  values: m,
1843
1744
  phoneIsdCode: q,
1844
1745
  hideOriginalPrice: !0,
1845
1746
  requireV1ExtraFields: !0,
1846
- onValidationFailed: oe,
1847
- onProceed: o.onProceed,
1848
- href: o.proceedHref,
1849
- originalPriceLabel: o.originalPriceLabel,
1850
- discountedPriceLabel: o.discountedPriceLabel,
1851
- analytics: o.analytics,
1747
+ onValidationFailed: ie,
1748
+ onProceed: i.onProceed,
1749
+ href: i.proceedHref,
1750
+ originalPriceLabel: i.originalPriceLabel,
1751
+ discountedPriceLabel: i.discountedPriceLabel,
1752
+ analytics: i.analytics,
1852
1753
  className: M.inlineProceedFooter,
1853
- onProceedGuidance: o.onProceedGuidance,
1854
- showPlanSheet: T,
1754
+ onProceedGuidance: i.onProceedGuidance,
1755
+ showPlanSheet: F,
1855
1756
  confirmPlan: w,
1856
- planSheetOpen: d,
1757
+ planSheetOpen: c,
1857
1758
  selectedPlan: y
1858
1759
  }
1859
1760
  )
@@ -1864,29 +1765,29 @@ function Fs({
1864
1765
  A,
1865
1766
  {
1866
1767
  section: "what_youll_find",
1867
- onImpression: F,
1868
- children: /* @__PURE__ */ e.jsx(Le, { t: j })
1768
+ onImpression: T,
1769
+ children: /* @__PURE__ */ e.jsx(Ie, { t: j })
1869
1770
  }
1870
1771
  ),
1871
1772
  /* @__PURE__ */ e.jsx(
1872
1773
  A,
1873
1774
  {
1874
1775
  section: "why_us",
1875
- onImpression: F,
1876
- children: /* @__PURE__ */ e.jsx(Re, { t: j })
1776
+ onImpression: T,
1777
+ children: /* @__PURE__ */ e.jsx(Le, { t: j })
1877
1778
  }
1878
1779
  ),
1879
1780
  /* @__PURE__ */ e.jsx(
1880
1781
  A,
1881
1782
  {
1882
1783
  section: "feedback",
1883
- onImpression: F,
1784
+ onImpression: T,
1884
1785
  children: /* @__PURE__ */ e.jsx(
1885
- Fe,
1786
+ Re,
1886
1787
  {
1887
1788
  t: j,
1888
- readMoreHref: o.readMoreReviewsHref,
1889
- onReadMore: o.analytics?.trackReadMoreReviewsClicked ? () => o.analytics.trackReadMoreReviewsClicked() : void 0
1789
+ readMoreHref: i.readMoreReviewsHref,
1790
+ onReadMore: i.analytics?.trackReadMoreReviewsClicked ? () => i.analytics.trackReadMoreReviewsClicked() : void 0
1890
1791
  }
1891
1792
  )
1892
1793
  }
@@ -1895,7 +1796,7 @@ function Fs({
1895
1796
  A,
1896
1797
  {
1897
1798
  section: "faq",
1898
- onImpression: F,
1799
+ onImpression: T,
1899
1800
  children: /* @__PURE__ */ e.jsx(Te, { t: j })
1900
1801
  }
1901
1802
  ),
@@ -1903,63 +1804,63 @@ function Fs({
1903
1804
  A,
1904
1805
  {
1905
1806
  section: "contact_us",
1906
- onImpression: F,
1907
- children: /* @__PURE__ */ e.jsx(Se, { t: j })
1807
+ onImpression: T,
1808
+ children: /* @__PURE__ */ e.jsx(Fe, { t: j })
1908
1809
  }
1909
1810
  )
1910
1811
  ] }),
1911
- n ? /* @__PURE__ */ e.jsx(
1912
- fs,
1812
+ t ? /* @__PURE__ */ e.jsx(
1813
+ xa,
1913
1814
  {
1914
- isOpen: d,
1815
+ isOpen: c,
1915
1816
  onClose: () => f(!1),
1916
1817
  selectedPlan: y,
1917
- onSelectPlan: (u) => k(u),
1918
- isGlobal: o.isGlobal,
1818
+ onSelectPlan: (p) => N(p),
1819
+ isGlobal: i.isGlobal,
1919
1820
  locale: r,
1920
- onProceed: (u, Q) => {
1921
- g.current = Q, w();
1821
+ onProceed: (p, Q) => {
1822
+ x.current = Q, w();
1922
1823
  },
1923
1824
  t: j,
1924
- analytics: o.analytics
1825
+ analytics: i.analytics
1925
1826
  }
1926
1827
  ) : /* @__PURE__ */ e.jsx(
1927
- Ke,
1828
+ Me,
1928
1829
  {
1929
- isOpen: d,
1830
+ isOpen: c,
1930
1831
  onClose: () => f(!1),
1931
1832
  selectedPlan: y,
1932
- onSelectPlan: (u) => k(u),
1833
+ onSelectPlan: (p) => N(p),
1933
1834
  onProceed: () => {
1934
1835
  w();
1935
1836
  },
1936
1837
  t: j,
1937
- analytics: o.analytics
1838
+ analytics: i.analytics
1938
1839
  }
1939
1840
  )
1940
1841
  ] });
1941
1842
  }
1942
- const Ts = ({
1943
- className: t = "",
1944
- locale: s,
1945
- showLanguageSelector: n = !0,
1946
- showSheet: l,
1947
- userId: a,
1948
- isGlobal: i,
1843
+ const Na = ({
1844
+ className: n = "",
1845
+ locale: a,
1846
+ showLanguageSelector: t = !0,
1847
+ showSheet: o,
1848
+ userId: s,
1849
+ isGlobal: l,
1949
1850
  atlasSearchLocalities: r,
1950
- enableThreeSkuFlow: c = !1,
1951
- kundliReportSampleHref: o,
1851
+ enableThreeSkuFlow: u = !1,
1852
+ kundliReportSampleHref: i,
1952
1853
  oneQuestionSampleHref: m,
1953
1854
  logoUrl: h,
1954
- reportImageUrl: d,
1855
+ reportImageUrl: c,
1955
1856
  universityLogoUrls: f,
1956
1857
  sampleReportHref: y,
1957
- onViewSampleReport: k,
1958
- ctaHref: C,
1959
- onCtaClick: g,
1960
- readMoreReviewsHref: p,
1961
- onProceed: N,
1962
- proceedHref: T,
1858
+ onViewSampleReport: N,
1859
+ ctaHref: k,
1860
+ onCtaClick: x,
1861
+ readMoreReviewsHref: d,
1862
+ onProceed: C,
1863
+ proceedHref: F,
1963
1864
  originalPriceLabel: w,
1964
1865
  discountedPriceLabel: R,
1965
1866
  discountPillLabel: K,
@@ -1969,49 +1870,49 @@ const Ts = ({
1969
1870
  }) => /* @__PURE__ */ e.jsx(
1970
1871
  _e,
1971
1872
  {
1972
- locale: s,
1973
- showLanguageSelector: n,
1974
- showSheet: l,
1975
- userId: a,
1976
- isGlobal: i,
1873
+ locale: a,
1874
+ showLanguageSelector: t,
1875
+ showSheet: o,
1876
+ userId: s,
1877
+ isGlobal: l,
1977
1878
  variant: "v1",
1978
1879
  atlasSearchLocalities: r,
1979
1880
  logoUrl: h,
1980
- reportImageUrl: d,
1881
+ reportImageUrl: c,
1981
1882
  universityLogoUrls: f,
1982
1883
  sampleReportHref: y,
1983
- onViewSampleReport: k,
1984
- ctaHref: C,
1985
- onCtaClick: g,
1986
- readMoreReviewsHref: p,
1987
- onProceed: N,
1884
+ onViewSampleReport: N,
1885
+ ctaHref: k,
1886
+ onCtaClick: x,
1887
+ readMoreReviewsHref: d,
1888
+ onProceed: C,
1988
1889
  onProceedGuidance: H,
1989
- proceedHref: T,
1890
+ proceedHref: F,
1990
1891
  originalPriceLabel: w,
1991
1892
  discountedPriceLabel: R,
1992
1893
  discountPillLabel: K,
1993
1894
  analytics: q,
1994
1895
  onLocaleChange: G,
1995
1896
  children: /* @__PURE__ */ e.jsx(
1996
- Fs,
1897
+ Ca,
1997
1898
  {
1998
- className: t,
1899
+ className: n,
1999
1900
  showInlineForm: !0,
2000
- enableThreeSkuFlow: c,
2001
- kundliReportSampleHref: o,
1901
+ enableThreeSkuFlow: u,
1902
+ kundliReportSampleHref: i,
2002
1903
  oneQuestionSampleHref: m
2003
1904
  }
2004
1905
  )
2005
1906
  }
2006
- ), Ds = ({ variant: t, ...s }) => {
2007
- const n = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
2008
- return (t ?? (n === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ts, { ...s }) : /* @__PURE__ */ e.jsx(Sn, { ...s });
2009
- }, $s = "[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}";
1907
+ ), La = ({ variant: n, ...a }) => {
1908
+ const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
1909
+ return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Na, { ...a }) : /* @__PURE__ */ e.jsx(Ft, { ...a });
1910
+ }, Ra = "[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}";
2010
1911
  export {
2011
- $s as K,
2012
- vt as P,
2013
- Ds as a,
2014
- Sn as b,
2015
- Ts as c
1912
+ Ra as K,
1913
+ vn as P,
1914
+ La as a,
1915
+ Ft as b,
1916
+ Na as c
2016
1917
  };
2017
- //# sourceMappingURL=criticalCss-DqEEk4yI.js.map
1918
+ //# sourceMappingURL=criticalCss-BLid95lh.js.map