@srimandir/kundli-generator 7.6.6 → 7.6.7

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,13 +1,13 @@
1
- import { l as e, h as te, D as re, d as Ce, j as he, c as Me, u as ke, L as ce, S as Ne, m as Pe, t as Ie, n as Oe, C as qe, P as Ke, F as Qe, U as He, o as Ge, p as We } from "./analytics-DOMI7QBu.js";
2
- import { useRef as _, useState as I, useEffect as k, useCallback as Z, useMemo as xe } from "react";
3
- import { UserReviewsSection as ze, FAQAccordion as Ve, ContactUsSection as Ye, FooterShell as Xe, FooterCTAButton as Je, CircularMarquee as Ze, footerShellStyles as J } from "@srimandir/astrology-common";
4
- const en = "_hero_1vvjv_1", nn = "_title_1vvjv_5", tn = "_subtitle_1vvjv_10", an = "_topicTags_1vvjv_23", sn = "_tag_1vvjv_27", ie = {
5
- hero: en,
6
- title: nn,
7
- subtitle: tn,
8
- topicTags: an,
9
- tag: sn
10
- }, on = [
1
+ import { l as e, h as ae, D as le, d as Ce, j as ge, c as Oe, u as Ne, L as de, S as Pe, m as Ie, t as Le, n as qe, C as Ke, P as Qe, F as He, U as Ge, o as We, p as ze } from "./analytics-DLrFlWtj.js";
2
+ import { useRef as j, useState as I, useEffect as N, useCallback as ne, useMemo as fe } from "react";
3
+ import { UserReviewsSection as Ve, FAQAccordion as Ye, ContactUsSection as Xe, FooterShell as Je, FooterCTAButton as Ze, CircularMarquee as en, footerShellStyles as ee } from "@srimandir/astrology-common";
4
+ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn = "_topicTags_1vvjv_23", on = "_tag_1vvjv_27", oe = {
5
+ hero: nn,
6
+ title: tn,
7
+ subtitle: an,
8
+ topicTags: sn,
9
+ tag: on
10
+ }, ln = [
11
11
  "topicMarriage",
12
12
  "topicRelationship",
13
13
  "topicBusiness",
@@ -15,55 +15,55 @@ const en = "_hero_1vvjv_1", nn = "_title_1vvjv_5", tn = "_subtitle_1vvjv_10", an
15
15
  "topicCareer",
16
16
  "topicEducation",
17
17
  "topicMoney"
18
- ], Le = ({ t: n, className: t = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ie.hero} ${t}`, "aria-labelledby": "hero-title", children: [
19
- /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: ie.title, children: n("heroTitle") }),
20
- /* @__PURE__ */ e.jsx("p", { className: ie.subtitle, children: n("heroSubtitle") }),
21
- /* @__PURE__ */ e.jsx("div", { className: ie.topicTags, role: "list", children: on.map((a) => /* @__PURE__ */ e.jsx("span", { className: ie.tag, role: "listitem", children: n(a) }, a)) })
22
- ] }), ln = "_section_iqucz_1", rn = "_utmBanner_iqucz_9", cn = "_utmBannerImg_iqucz_13", dn = "_backgroundLayer_iqucz_18", un = "_backgroundImg_iqucz_25", pn = "_inner_iqucz_32", mn = "_content_iqucz_38", hn = "_headline_iqucz_42", gn = "_headlineLine_iqucz_47", xn = "_headlinePill_iqucz_52", fn = "_headlinePlain_iqucz_67", _n = "_featureList_iqucz_78", bn = "_featureItem_iqucz_85", jn = "_featureIcon_iqucz_90", yn = "_reportImage_iqucz_97", vn = "_reportImg_iqucz_107", y = {
23
- section: ln,
24
- utmBanner: rn,
25
- utmBannerImg: cn,
26
- backgroundLayer: dn,
27
- backgroundImg: un,
28
- inner: pn,
29
- content: mn,
30
- headline: hn,
31
- headlineLine: gn,
32
- headlinePill: xn,
33
- headlinePlain: fn,
34
- featureList: _n,
35
- featureItem: bn,
36
- featureIcon: jn,
37
- reportImage: yn,
38
- reportImg: vn
39
- }, wn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", Cn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", kn = [
18
+ ], Se = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${oe.hero} ${a}`, "aria-labelledby": "hero-title", children: [
19
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: oe.title, children: n("heroTitle") }),
20
+ /* @__PURE__ */ e.jsx("p", { className: oe.subtitle, children: n("heroSubtitle") }),
21
+ /* @__PURE__ */ e.jsx("div", { className: oe.topicTags, role: "list", children: ln.map((t) => /* @__PURE__ */ e.jsx("span", { className: oe.tag, role: "listitem", children: n(t) }, t)) })
22
+ ] }), rn = "_section_iqucz_1", cn = "_utmBanner_iqucz_9", dn = "_utmBannerImg_iqucz_13", un = "_backgroundLayer_iqucz_18", pn = "_backgroundImg_iqucz_25", mn = "_inner_iqucz_32", hn = "_content_iqucz_38", gn = "_headline_iqucz_42", xn = "_headlineLine_iqucz_47", fn = "_headlinePill_iqucz_52", _n = "_headlinePlain_iqucz_67", bn = "_featureList_iqucz_78", jn = "_featureItem_iqucz_85", yn = "_featureIcon_iqucz_90", vn = "_reportImage_iqucz_97", wn = "_reportImg_iqucz_107", w = {
23
+ section: rn,
24
+ utmBanner: cn,
25
+ utmBannerImg: dn,
26
+ backgroundLayer: un,
27
+ backgroundImg: pn,
28
+ inner: mn,
29
+ content: hn,
30
+ headline: gn,
31
+ headlineLine: xn,
32
+ headlinePill: fn,
33
+ headlinePlain: _n,
34
+ featureList: bn,
35
+ featureItem: jn,
36
+ featureIcon: yn,
37
+ reportImage: vn,
38
+ reportImg: wn
39
+ }, kn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", Cn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", Nn = [
40
40
  "premiumFeature1",
41
41
  "premiumFeature2",
42
42
  "premiumFeature3",
43
43
  "premiumFeature4"
44
- ], Nn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Te = ({
44
+ ], Pn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Te = ({
45
45
  t: n,
46
- reportImageUrl: t = Nn,
47
- reportImagePriority: a,
46
+ reportImageUrl: a = Pn,
47
+ reportImagePriority: t,
48
48
  backgroundImagePriority: i = !1,
49
49
  analytics: o,
50
50
  utmBannerImageUrl: r,
51
51
  utmBannerAltText: u = "",
52
- className: p = ""
52
+ className: d = ""
53
53
  }) => {
54
- const s = te()?.config.imageComponent ?? re;
54
+ const s = ae()?.config.imageComponent ?? le;
55
55
  if (r)
56
56
  return /* @__PURE__ */ e.jsx(
57
57
  "section",
58
58
  {
59
- className: `${y.utmBanner} ${p}`,
59
+ className: `${w.utmBanner} ${d}`,
60
60
  "aria-label": u,
61
61
  children: /* @__PURE__ */ e.jsx(
62
62
  s,
63
63
  {
64
64
  src: r,
65
65
  alt: u,
66
- className: y.utmBannerImg,
66
+ className: w.utmBannerImg,
67
67
  priority: !0,
68
68
  fetchPriority: "high",
69
69
  loading: "eager",
@@ -78,19 +78,19 @@ const en = "_hero_1vvjv_1", nn = "_title_1vvjv_5", tn = "_subtitle_1vvjv_10", an
78
78
  return /* @__PURE__ */ e.jsxs(
79
79
  "section",
80
80
  {
81
- className: `${y.section} ${p}`,
81
+ className: `${w.section} ${d}`,
82
82
  "aria-labelledby": "premium-headline",
83
83
  role: "button",
84
84
  tabIndex: 0,
85
85
  onClick: g,
86
86
  "data-hero": !0,
87
87
  children: [
88
- /* @__PURE__ */ e.jsx("div", { className: y.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
88
+ /* @__PURE__ */ e.jsx("div", { className: w.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
89
89
  s,
90
90
  {
91
91
  src: Cn,
92
92
  alt: "",
93
- className: y.backgroundImg,
93
+ className: w.backgroundImg,
94
94
  width: 412,
95
95
  height: 215,
96
96
  sizes: "(max-width: 768px) 412px, 412px",
@@ -99,48 +99,48 @@ const en = "_hero_1vvjv_1", nn = "_title_1vvjv_5", tn = "_subtitle_1vvjv_10", an
99
99
  fetchPriority: "high"
100
100
  }
101
101
  ) }),
102
- /* @__PURE__ */ e.jsxs("div", { className: y.inner, children: [
103
- /* @__PURE__ */ e.jsxs("div", { className: y.content, children: [
104
- /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: y.headline, children: [
105
- /* @__PURE__ */ e.jsxs("span", { className: y.headlineLine, children: [
106
- /* @__PURE__ */ e.jsx("span", { className: y.headlinePill, children: n("premiumHeadlinePill1") }),
107
- /* @__PURE__ */ e.jsx("span", { className: y.headlinePlain, children: n("premiumHeadlinePlain1") })
102
+ /* @__PURE__ */ e.jsxs("div", { className: w.inner, children: [
103
+ /* @__PURE__ */ e.jsxs("div", { className: w.content, children: [
104
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: w.headline, children: [
105
+ /* @__PURE__ */ e.jsxs("span", { className: w.headlineLine, children: [
106
+ /* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("premiumHeadlinePill1") }),
107
+ /* @__PURE__ */ e.jsx("span", { className: w.headlinePlain, children: n("premiumHeadlinePlain1") })
108
108
  ] }),
109
- /* @__PURE__ */ e.jsxs("span", { className: y.headlineLine, children: [
110
- /* @__PURE__ */ e.jsx("span", { className: y.headlinePlain, children: n("premiumHeadlinePlain2") }),
111
- /* @__PURE__ */ e.jsx("span", { className: y.headlinePill, children: n("premiumHeadlinePill2") })
109
+ /* @__PURE__ */ e.jsxs("span", { className: w.headlineLine, children: [
110
+ /* @__PURE__ */ e.jsx("span", { className: w.headlinePlain, children: n("premiumHeadlinePlain2") }),
111
+ /* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("premiumHeadlinePill2") })
112
112
  ] }),
113
- /* @__PURE__ */ e.jsxs("span", { className: y.headlineLine, children: [
114
- /* @__PURE__ */ e.jsx("span", { className: y.headlinePlain, children: n("and") }),
115
- /* @__PURE__ */ e.jsx("span", { className: y.headlinePill, children: n("astrologyGuidance") })
113
+ /* @__PURE__ */ e.jsxs("span", { className: w.headlineLine, children: [
114
+ /* @__PURE__ */ e.jsx("span", { className: w.headlinePlain, children: n("and") }),
115
+ /* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("astrologyGuidance") })
116
116
  ] })
117
117
  ] }),
118
- /* @__PURE__ */ e.jsx("ul", { className: y.featureList, children: kn.map((b) => /* @__PURE__ */ e.jsxs("li", { className: y.featureItem, children: [
118
+ /* @__PURE__ */ e.jsx("ul", { className: w.featureList, children: Nn.map((y) => /* @__PURE__ */ e.jsxs("li", { className: w.featureItem, children: [
119
119
  /* @__PURE__ */ e.jsx(
120
120
  s,
121
121
  {
122
- src: wn,
122
+ src: kn,
123
123
  alt: "",
124
- className: y.featureIcon,
124
+ className: w.featureIcon,
125
125
  width: 16,
126
126
  height: 16,
127
127
  loading: "lazy"
128
128
  }
129
129
  ),
130
- n(b)
131
- ] }, b)) })
130
+ n(y)
131
+ ] }, y)) })
132
132
  ] }),
133
- /* @__PURE__ */ e.jsx("div", { className: y.reportImage, children: /* @__PURE__ */ e.jsx(
133
+ /* @__PURE__ */ e.jsx("div", { className: w.reportImage, children: /* @__PURE__ */ e.jsx(
134
134
  s,
135
135
  {
136
- src: t,
136
+ src: a,
137
137
  alt: "",
138
- className: y.reportImg,
138
+ className: w.reportImg,
139
139
  width: 120,
140
140
  height: 160,
141
- priority: a,
142
- fetchPriority: a ? "high" : void 0,
143
- loading: a ? "eager" : "lazy",
141
+ priority: t,
142
+ fetchPriority: t ? "high" : void 0,
143
+ loading: t ? "eager" : "lazy",
144
144
  sizes: "120px"
145
145
  }
146
146
  ) })
@@ -148,129 +148,129 @@ const en = "_hero_1vvjv_1", nn = "_title_1vvjv_5", tn = "_subtitle_1vvjv_10", an
148
148
  ]
149
149
  }
150
150
  );
151
- }, Pn = "_section_1kxsy_1", In = "_heading_1kxsy_6", Ln = "_logoImg_1kxsy_10", me = {
152
- section: Pn,
153
- heading: In,
154
- logoImg: Ln
155
- }, Tn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Se = ({
151
+ }, In = "_section_1kxsy_1", Ln = "_heading_1kxsy_6", Sn = "_logoImg_1kxsy_10", he = {
152
+ section: In,
153
+ heading: Ln,
154
+ logoImg: Sn
155
+ }, Tn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Re = ({
156
156
  t: n,
157
- logoUrl: t = Tn,
158
- className: a = ""
157
+ logoUrl: a = Tn,
158
+ className: t = ""
159
159
  }) => {
160
- const o = te()?.config.imageComponent ?? re;
161
- return /* @__PURE__ */ e.jsxs("section", { className: `${me.section} ${a}`, "aria-labelledby": "certified-heading", children: [
162
- /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: me.heading, children: n("certifiedBy") }),
160
+ const o = ae()?.config.imageComponent ?? le;
161
+ return /* @__PURE__ */ e.jsxs("section", { className: `${he.section} ${t}`, "aria-labelledby": "certified-heading", children: [
162
+ /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: he.heading, children: n("certifiedBy") }),
163
163
  /* @__PURE__ */ e.jsx(
164
164
  o,
165
165
  {
166
- src: t,
166
+ src: a,
167
167
  alt: "University Certification",
168
- className: me.logoImg,
168
+ className: he.logoImg,
169
169
  width: 380,
170
170
  height: 70,
171
171
  loading: "lazy"
172
172
  }
173
173
  )
174
174
  ] });
175
- }, Sn = "_section_1d9aa_1", Fn = "_heading_1d9aa_6", Rn = "_subtitle_1d9aa_11", En = "_stepList_1d9aa_16", An = "_stepItem_1d9aa_20", Dn = "_stepNumber_1d9aa_24", Un = "_stepText_1d9aa_30", $n = "_step3Days_1d9aa_35", R = {
176
- section: Sn,
175
+ }, Rn = "_section_1d9aa_1", Fn = "_heading_1d9aa_6", En = "_subtitle_1d9aa_11", An = "_stepList_1d9aa_16", Dn = "_stepItem_1d9aa_20", Un = "_stepNumber_1d9aa_24", $n = "_stepText_1d9aa_30", Bn = "_step3Days_1d9aa_35", F = {
176
+ section: Rn,
177
177
  heading: Fn,
178
- subtitle: Rn,
179
- stepList: En,
180
- stepItem: An,
181
- stepNumber: Dn,
182
- stepText: Un,
183
- step3Days: $n
184
- }, Bn = ["step1", "step2"], Fe = ({
178
+ subtitle: En,
179
+ stepList: An,
180
+ stepItem: Dn,
181
+ stepNumber: Un,
182
+ stepText: $n,
183
+ step3Days: Bn
184
+ }, Mn = ["step1", "step2"], Fe = ({
185
185
  t: n,
186
- locale: t = "en",
187
- isGlobal: a = !0,
186
+ locale: a = "en",
187
+ isGlobal: t = !0,
188
188
  className: i = ""
189
189
  }) => {
190
- const o = a ? "step3IntroGlobal" : "step3IntroDomestic";
190
+ const o = t ? "step3IntroGlobal" : "step3IntroDomestic";
191
191
  return /* @__PURE__ */ e.jsxs(
192
192
  "section",
193
193
  {
194
- className: `${R.section} ${i}`,
194
+ className: `${F.section} ${i}`,
195
195
  "aria-labelledby": "steps-heading",
196
196
  children: [
197
- /* @__PURE__ */ e.jsx("p", { className: R.heading, children: n("yourThreeSteps") }),
198
- /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: R.subtitle, children: n("threeStepsSubtitle") }),
199
- /* @__PURE__ */ e.jsxs("ol", { className: R.stepList, children: [
200
- Bn.map((r, u) => /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
201
- /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: u + 1 }),
202
- /* @__PURE__ */ e.jsx("span", { className: R.stepText, children: n(r) })
197
+ /* @__PURE__ */ e.jsx("p", { className: F.heading, children: n("yourThreeSteps") }),
198
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: F.subtitle, children: n("threeStepsSubtitle") }),
199
+ /* @__PURE__ */ e.jsxs("ol", { className: F.stepList, children: [
200
+ Mn.map((r, u) => /* @__PURE__ */ e.jsxs("li", { className: F.stepItem, children: [
201
+ /* @__PURE__ */ e.jsx("span", { className: F.stepNumber, "aria-hidden": !0, children: u + 1 }),
202
+ /* @__PURE__ */ e.jsx("span", { className: F.stepText, children: n(r) })
203
203
  ] }, r)),
204
- /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
205
- /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: "3" }),
206
- /* @__PURE__ */ e.jsxs("span", { className: R.stepText, children: [
204
+ /* @__PURE__ */ e.jsxs("li", { className: F.stepItem, children: [
205
+ /* @__PURE__ */ e.jsx("span", { className: F.stepNumber, "aria-hidden": !0, children: "3" }),
206
+ /* @__PURE__ */ e.jsxs("span", { className: F.stepText, children: [
207
207
  n(o),
208
208
  /* @__PURE__ */ e.jsx("br", {}),
209
- t === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
209
+ a === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
210
210
  "in ",
211
- /* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: n("step3Days") })
212
- ] }) : /* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: n("step3Days") })
211
+ /* @__PURE__ */ e.jsx("strong", { className: F.step3Days, children: n("step3Days") })
212
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: F.step3Days, children: n("step3Days") })
213
213
  ] })
214
214
  ] })
215
215
  ] })
216
216
  ]
217
217
  }
218
218
  );
219
- }, Mn = "_section_1jea1_1", On = "_button_1jea1_7", fe = {
220
- section: Mn,
221
- button: On
222
- }, qn = "_backdrop_pekod_1", Kn = "_modal_pekod_21", Qn = "_header_pekod_40", Hn = "_title_pekod_49", Gn = "_closeBtn_pekod_56", Wn = "_content_pekod_76", zn = "_pdfFrame_pekod_84", Vn = "_pdfPages_pekod_92", Yn = "_pdfError_pekod_97", Xn = "_openInNewTab_pekod_123", O = {
223
- backdrop: qn,
224
- modal: Kn,
225
- header: Qn,
226
- title: Hn,
227
- closeBtn: Gn,
228
- content: Wn,
229
- pdfFrame: zn,
230
- pdfPages: Vn,
231
- pdfError: Yn,
232
- openInNewTab: Xn
219
+ }, On = "_section_1jea1_1", qn = "_button_1jea1_7", _e = {
220
+ section: On,
221
+ button: qn
222
+ }, Kn = "_backdrop_pekod_1", Qn = "_modal_pekod_21", Hn = "_header_pekod_40", Gn = "_title_pekod_49", Wn = "_closeBtn_pekod_56", zn = "_content_pekod_76", Vn = "_pdfFrame_pekod_84", Yn = "_pdfPages_pekod_92", Xn = "_pdfError_pekod_97", Jn = "_openInNewTab_pekod_123", O = {
223
+ backdrop: Kn,
224
+ modal: Qn,
225
+ header: Hn,
226
+ title: Gn,
227
+ closeBtn: Wn,
228
+ content: zn,
229
+ pdfFrame: Vn,
230
+ pdfPages: Yn,
231
+ pdfError: Xn,
232
+ openInNewTab: Jn
233
233
  };
234
- function Jn(n) {
234
+ function Zn(n) {
235
235
  typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
236
236
  }
237
- const Re = ({
237
+ const Ee = ({
238
238
  isOpen: n,
239
- onClose: t,
240
- title: a,
239
+ onClose: a,
240
+ title: t,
241
241
  pdfUrl: i
242
242
  }) => {
243
- const o = _(null), [r, u] = I(!0), [p, h] = I(null), [s, g] = I(null);
244
- return k(() => {
243
+ const o = j(null), [r, u] = I(!0), [d, m] = I(null), [s, g] = I(null);
244
+ return N(() => {
245
245
  if (!n) return;
246
- const b = (c) => {
247
- c.key === "Escape" && t();
246
+ const y = (c) => {
247
+ c.key === "Escape" && a();
248
248
  };
249
- return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
250
- document.removeEventListener("keydown", b), document.body.style.overflow = "";
249
+ return document.addEventListener("keydown", y), document.body.style.overflow = "hidden", () => {
250
+ document.removeEventListener("keydown", y), document.body.style.overflow = "";
251
251
  };
252
- }, [n, t]), k(() => {
253
- n && import("pdfjs-dist").then((b) => {
254
- g(b);
255
- }).catch((b) => {
256
- h("Failed to load PDF viewer"), u(!1);
252
+ }, [n, a]), N(() => {
253
+ n && import("pdfjs-dist").then((y) => {
254
+ g(y);
255
+ }).catch((y) => {
256
+ m("Failed to load PDF viewer"), u(!1);
257
257
  });
258
- }, [n]), k(() => {
258
+ }, [n]), N(() => {
259
259
  if (!n || !i || !o.current || !s) return;
260
- u(!0), h(null), o.current.innerHTML = "", (async () => {
260
+ u(!0), m(null), o.current.innerHTML = "", (async () => {
261
261
  try {
262
- Jn(s);
263
- const j = await s.getDocument({ url: i }).promise, v = o.current;
264
- if (!v) return;
265
- const T = v.clientWidth || 600, N = Math.min(T / 612, 2);
266
- for (let x = 1; x <= j.numPages; x++) {
267
- const m = await j.getPage(x), w = m.getViewport({ scale: N }), C = document.createElement("canvas");
268
- C.height = w.height, C.width = w.width, C.style.display = "block", C.style.margin = "0 auto 1rem", C.style.maxWidth = "100%";
269
- const A = C.getContext("2d");
270
- A && await m.render({ canvasContext: A, viewport: w }).promise, v.appendChild(C);
262
+ Zn(s);
263
+ const v = await s.getDocument({ url: i }).promise, k = o.current;
264
+ if (!k) return;
265
+ const C = k.clientWidth || 600, S = Math.min(C / 612, 2);
266
+ for (let f = 1; f <= v.numPages; f++) {
267
+ const p = await v.getPage(f), _ = p.getViewport({ scale: S }), P = document.createElement("canvas");
268
+ P.height = _.height, P.width = _.width, P.style.display = "block", P.style.margin = "0 auto 1rem", P.style.maxWidth = "100%";
269
+ const A = P.getContext("2d");
270
+ A && await p.render({ canvasContext: A, viewport: _ }).promise, k.appendChild(P);
271
271
  }
272
272
  } catch (c) {
273
- h(c instanceof Error ? c.message : "Failed to load PDF");
273
+ m(c instanceof Error ? c.message : "Failed to load PDF");
274
274
  } finally {
275
275
  u(!1);
276
276
  }
@@ -279,7 +279,7 @@ const Re = ({
279
279
  "div",
280
280
  {
281
281
  className: O.backdrop,
282
- onClick: t,
282
+ onClick: a,
283
283
  role: "dialog",
284
284
  "aria-modal": "true",
285
285
  "aria-labelledby": "sample-report-modal-title",
@@ -287,16 +287,16 @@ const Re = ({
287
287
  "div",
288
288
  {
289
289
  className: O.modal,
290
- onClick: (b) => b.stopPropagation(),
290
+ onClick: (y) => y.stopPropagation(),
291
291
  children: [
292
292
  /* @__PURE__ */ e.jsxs("div", { className: O.header, children: [
293
- /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: O.title, children: a }),
293
+ /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: O.title, children: t }),
294
294
  /* @__PURE__ */ e.jsx(
295
295
  "button",
296
296
  {
297
297
  type: "button",
298
298
  className: O.closeBtn,
299
- onClick: t,
299
+ onClick: a,
300
300
  "aria-label": "Close",
301
301
  children: "×"
302
302
  }
@@ -304,8 +304,8 @@ const Re = ({
304
304
  ] }),
305
305
  /* @__PURE__ */ e.jsxs("div", { className: O.content, children: [
306
306
  /* @__PURE__ */ e.jsxs("div", { className: O.pdfFrame, children: [
307
- p && /* @__PURE__ */ e.jsxs("div", { className: O.pdfError, children: [
308
- /* @__PURE__ */ e.jsx("span", { children: p }),
307
+ d && /* @__PURE__ */ e.jsxs("div", { className: O.pdfError, children: [
308
+ /* @__PURE__ */ e.jsx("span", { children: d }),
309
309
  /* @__PURE__ */ e.jsx("a", { href: i, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
310
310
  ] }),
311
311
  /* @__PURE__ */ e.jsx("div", { ref: o, className: O.pdfPages })
@@ -326,73 +326,73 @@ const Re = ({
326
326
  )
327
327
  }
328
328
  ) : null;
329
- }, Zn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ge = ({
329
+ }, et = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", xe = ({
330
330
  t: n,
331
- pdfUrl: t = Zn,
332
- onClick: a,
331
+ pdfUrl: a = et,
332
+ onClick: t,
333
333
  analytics: i,
334
334
  className: o = ""
335
335
  }) => {
336
- const [r, u] = I(!1), p = n("viewSampleReport"), h = n("sampleReportModalTitle"), s = () => {
337
- i?.trackViewSampleReportClicked?.(), a?.(), u(!0);
336
+ const [r, u] = I(!1), d = n("viewSampleReport"), m = n("sampleReportModalTitle"), s = () => {
337
+ i?.trackViewSampleReportClicked?.(), t?.(), u(!0);
338
338
  }, g = () => {
339
339
  i?.trackViewSampleReportClosed?.(), u(!1);
340
340
  };
341
- return /* @__PURE__ */ e.jsxs("section", { className: `${fe.section} ${o}`, children: [
342
- /* @__PURE__ */ e.jsx("button", { type: "button", className: fe.button, onClick: s, children: p }),
341
+ return /* @__PURE__ */ e.jsxs("section", { className: `${_e.section} ${o}`, children: [
342
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: _e.button, onClick: s, children: d }),
343
343
  /* @__PURE__ */ e.jsx(
344
- Re,
344
+ Ee,
345
345
  {
346
346
  isOpen: r,
347
347
  onClose: g,
348
- title: h,
349
- pdfUrl: t
348
+ title: m,
349
+ pdfUrl: a
350
350
  }
351
351
  )
352
352
  ] });
353
- }, et = "_section_1ds1w_1", nt = "_heading_1ds1w_5", tt = "_list_1ds1w_10", at = "_item_1ds1w_17", st = "_imageWrap_1ds1w_21", ot = "_image_1ds1w_21", it = "_imagePlaceholder_1ds1w_30", lt = "_text_1ds1w_36", rt = "_itemTitle_1ds1w_40", ct = "_itemDesc_1ds1w_51", q = {
354
- section: et,
355
- heading: nt,
356
- list: tt,
357
- item: at,
358
- imageWrap: st,
359
- image: ot,
360
- imagePlaceholder: it,
361
- text: lt,
362
- itemTitle: rt,
363
- itemDesc: ct
364
- }, dt = [
353
+ }, nt = "_section_1ds1w_1", tt = "_heading_1ds1w_5", at = "_list_1ds1w_10", st = "_item_1ds1w_17", ot = "_imageWrap_1ds1w_21", it = "_image_1ds1w_21", lt = "_imagePlaceholder_1ds1w_30", rt = "_text_1ds1w_36", ct = "_itemTitle_1ds1w_40", dt = "_itemDesc_1ds1w_51", q = {
354
+ section: nt,
355
+ heading: tt,
356
+ list: at,
357
+ item: st,
358
+ imageWrap: ot,
359
+ image: it,
360
+ imagePlaceholder: lt,
361
+ text: rt,
362
+ itemTitle: ct,
363
+ itemDesc: dt
364
+ }, ut = [
365
365
  { titleKey: "findDasha", descKey: "findDashaDesc" },
366
366
  { titleKey: "findYoga", descKey: "findYogaDesc" },
367
367
  { titleKey: "findGemstone", descKey: "findGemstoneDesc" },
368
368
  { titleKey: "findPooja", descKey: "findPoojaDesc" },
369
369
  { titleKey: "findMonthly", descKey: "findMonthlyDesc" },
370
370
  { titleKey: "findStrength", descKey: "findStrengthDesc" }
371
- ], ut = [
371
+ ], pt = [
372
372
  "https://srm-cdn.a4b.io/yoda/1772619204758.webp",
373
373
  "https://srm-cdn.a4b.io/yoda/1772619215121.webp",
374
374
  "https://srm-cdn.a4b.io/yoda/1772619232241.webp",
375
375
  "https://srm-cdn.a4b.io/yoda/1772619253699.webp",
376
376
  "https://srm-cdn.a4b.io/yoda/1772619272322.webp",
377
377
  "https://srm-cdn.a4b.io/yoda/1772619284662.webp"
378
- ], Ee = ({
378
+ ], Ae = ({
379
379
  t: n,
380
- imageUrls: t = ut,
381
- className: a = ""
380
+ imageUrls: a = pt,
381
+ className: t = ""
382
382
  }) => {
383
- const o = te()?.config.imageComponent ?? re;
383
+ const o = ae()?.config.imageComponent ?? le;
384
384
  return /* @__PURE__ */ e.jsxs(
385
385
  "section",
386
386
  {
387
- className: `${q.section} ${a}`,
387
+ className: `${q.section} ${t}`,
388
388
  "aria-labelledby": "find-heading",
389
389
  children: [
390
390
  /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: q.heading, children: n("whatYoullFindTitle") }),
391
- /* @__PURE__ */ e.jsx("ul", { className: q.list, children: dt.map((r, u) => /* @__PURE__ */ e.jsxs("li", { className: q.item, children: [
392
- /* @__PURE__ */ e.jsx("div", { className: q.imageWrap, children: t[u] ? /* @__PURE__ */ e.jsx(
391
+ /* @__PURE__ */ e.jsx("ul", { className: q.list, children: ut.map((r, u) => /* @__PURE__ */ e.jsxs("li", { className: q.item, children: [
392
+ /* @__PURE__ */ e.jsx("div", { className: q.imageWrap, children: a[u] ? /* @__PURE__ */ e.jsx(
393
393
  o,
394
394
  {
395
- src: t[u],
395
+ src: a[u],
396
396
  alt: "",
397
397
  className: q.image,
398
398
  width: 96,
@@ -409,249 +409,329 @@ const Re = ({
409
409
  ]
410
410
  }
411
411
  );
412
- }, pt = "_section_75s76_1", mt = "_heading_75s76_6", ht = "_subtitle_75s76_11", gt = "_list_75s76_16", xt = "_item_75s76_20", le = {
413
- section: pt,
414
- heading: mt,
415
- subtitle: ht,
416
- list: gt,
417
- item: xt
418
- }, ft = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Ae = ({ t: n, className: t = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${le.section} ${t}`, "aria-labelledby": "why-heading", children: [
419
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: le.heading, children: n("whyUsTitle") }),
420
- /* @__PURE__ */ e.jsx("p", { className: le.subtitle, children: n("whyUsSubtitle") }),
421
- /* @__PURE__ */ e.jsx("ul", { className: le.list, children: ft.map((a) => /* @__PURE__ */ e.jsx("li", { className: le.item, children: n(a) }, a)) })
422
- ] }), _t = "_headingBold_g8xg7_1", bt = {
423
- headingBold: _t
424
- }, De = ({
412
+ }, mt = "_section_75s76_1", ht = "_heading_75s76_6", gt = "_subtitle_75s76_11", xt = "_list_75s76_16", ft = "_item_75s76_20", ie = {
413
+ section: mt,
414
+ heading: ht,
415
+ subtitle: gt,
416
+ list: xt,
417
+ item: ft
418
+ }, _t = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], De = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ie.section} ${a}`, "aria-labelledby": "why-heading", children: [
419
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: ie.heading, children: n("whyUsTitle") }),
420
+ /* @__PURE__ */ e.jsx("p", { className: ie.subtitle, children: n("whyUsSubtitle") }),
421
+ /* @__PURE__ */ e.jsx("ul", { className: ie.list, children: _t.map((t) => /* @__PURE__ */ e.jsx("li", { className: ie.item, children: n(t) }, t)) })
422
+ ] }), bt = "_headingBold_g8xg7_1", jt = {
423
+ headingBold: bt
424
+ }, Ue = ({
425
425
  t: n,
426
- testimonials: t,
427
- readMoreHref: a,
426
+ testimonials: a,
427
+ readMoreHref: t,
428
428
  onReadMore: i,
429
429
  className: o = "",
430
- headingClassName: r = bt.headingBold
430
+ headingClassName: r = jt.headingBold
431
431
  }) => /* @__PURE__ */ e.jsx(
432
- ze,
432
+ Ve,
433
433
  {
434
434
  t: n,
435
- testimonials: t,
436
- readMoreHref: a,
435
+ testimonials: a,
436
+ readMoreHref: t,
437
437
  onReadMore: i,
438
438
  className: o,
439
439
  headingClassName: r
440
440
  }
441
- ), jt = "_headingBold_g8xg7_1", yt = {
442
- headingBold: jt
443
- }, vt = [
441
+ ), yt = "_headingBold_g8xg7_1", vt = {
442
+ headingBold: yt
443
+ }, wt = [
444
444
  { qKey: "faqQ1", aKey: "faqA1" },
445
445
  { qKey: "faqQ3", aKey: "faqA3" }
446
- ], Ue = ({
446
+ ], $e = ({
447
447
  t: n,
448
- className: t = "",
449
- headingClassName: a = yt.headingBold
448
+ className: a = "",
449
+ headingClassName: t = vt.headingBold
450
450
  }) => {
451
- const o = te()?.config.isGlobal ?? !0, r = (u) => u === "faqA1" ? o ? "faqA1Global" : "faqA1Domestic" : u;
451
+ const o = ae()?.config.isGlobal ?? !0, r = (u) => u === "faqA1" ? o ? "faqA1Global" : "faqA1Domestic" : u;
452
452
  return /* @__PURE__ */ e.jsx(
453
- Ve,
453
+ Ye,
454
454
  {
455
455
  t: n,
456
- items: vt,
456
+ items: wt,
457
457
  resolveAnswerKey: r,
458
458
  defaultOpenIndex: 1,
459
- className: t,
460
- headingClassName: a
459
+ className: a,
460
+ headingClassName: t
461
461
  }
462
462
  );
463
- }, _e = "8296947757", be = "08071174417", je = "pujaseva@appsforbharat.com", $e = ({
463
+ }, be = "8296947757", je = "08071174417", ye = "pujaseva@appsforbharat.com", Be = ({
464
464
  t: n,
465
- whatsAppGlobal: t,
466
- whatsAppDomestic: a,
465
+ whatsAppGlobal: a,
466
+ whatsAppDomestic: t,
467
467
  email: i,
468
468
  brandName: o,
469
469
  className: r = ""
470
470
  }) => {
471
- const p = te()?.config.isGlobal ?? !0, h = t ?? _e, s = a ?? be, g = i ?? je, b = p ? n("contactWhatsAppGlobal").replace(_e, h) : n("contactWhatsAppDomestic").replace(be, s), c = n("contactEmail").replace(je, g);
471
+ const d = ae()?.config.isGlobal ?? !0, m = a ?? be, s = t ?? je, g = i ?? ye, y = d ? n("contactWhatsAppGlobal").replace(be, m) : n("contactWhatsAppDomestic").replace(je, s), c = n("contactEmail").replace(ye, g);
472
472
  return /* @__PURE__ */ e.jsx(
473
- Ye,
473
+ Xe,
474
474
  {
475
475
  title: n("contactTitle"),
476
476
  brandName: o ?? n("contactBrandName"),
477
- whatsAppLine: b,
477
+ whatsAppLine: y,
478
478
  emailLine: c,
479
479
  className: r
480
480
  }
481
481
  );
482
- }, wt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Ct = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", kt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Nt = ({ t: n }) => {
483
- const a = te()?.config.imageComponent ?? re;
484
- return /* @__PURE__ */ e.jsxs("div", { className: J.marqueeContent, children: [
485
- /* @__PURE__ */ e.jsxs("span", { className: J.badge, children: [
486
- /* @__PURE__ */ e.jsx(a, { src: wt, alt: "", className: J.badgeIcon, width: 16, height: 16, loading: "lazy" }),
482
+ }, kt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Ct = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Nt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Pt = ({ t: n }) => {
483
+ const t = ae()?.config.imageComponent ?? le;
484
+ return /* @__PURE__ */ e.jsxs("div", { className: ee.marqueeContent, children: [
485
+ /* @__PURE__ */ e.jsxs("span", { className: ee.badge, children: [
486
+ /* @__PURE__ */ e.jsx(t, { src: kt, alt: "", className: ee.badgeIcon, width: 16, height: 16, loading: "lazy" }),
487
487
  n("ctaKundliCreated")
488
488
  ] }),
489
- /* @__PURE__ */ e.jsxs("span", { className: J.badge, children: [
490
- /* @__PURE__ */ e.jsx(a, { src: Ct, alt: "", className: J.badgeIcon, width: 16, height: 16, loading: "lazy" }),
489
+ /* @__PURE__ */ e.jsxs("span", { className: ee.badge, children: [
490
+ /* @__PURE__ */ e.jsx(t, { src: Ct, alt: "", className: ee.badgeIcon, width: 16, height: 16, loading: "lazy" }),
491
491
  n("ctaCertified")
492
492
  ] }),
493
- /* @__PURE__ */ e.jsxs("span", { className: J.badge, children: [
494
- /* @__PURE__ */ e.jsx(a, { src: kt, alt: "", className: J.badgeIcon, width: 16, height: 16, loading: "lazy" }),
493
+ /* @__PURE__ */ e.jsxs("span", { className: ee.badge, children: [
494
+ /* @__PURE__ */ e.jsx(t, { src: Nt, alt: "", className: ee.badgeIcon, width: 16, height: 16, loading: "lazy" }),
495
495
  n("ctaSecurePayment")
496
496
  ] })
497
497
  ] });
498
- }, Pt = ({
498
+ }, It = ({
499
499
  t: n,
500
- onCtaClick: t,
501
- ctaHref: a,
500
+ onCtaClick: a,
501
+ ctaHref: t,
502
502
  className: i = ""
503
503
  }) => {
504
504
  const o = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
505
505
  return /* @__PURE__ */ e.jsx(
506
- Xe,
506
+ Je,
507
507
  {
508
508
  className: i,
509
- marquee: /* @__PURE__ */ e.jsx(Ze, { children: /* @__PURE__ */ e.jsx(Nt, { t: n }) }),
510
- children: /* @__PURE__ */ e.jsx(Je, { href: a, onClick: t, children: o })
509
+ marquee: /* @__PURE__ */ e.jsx(en, { children: /* @__PURE__ */ e.jsx(Pt, { t: n }) }),
510
+ children: /* @__PURE__ */ e.jsx(Ze, { href: t, onClick: a, children: o })
511
511
  }
512
512
  );
513
- }, It = "_container_nm3gb_1", Lt = "_main_nm3gb_6", Tt = "_langDropdownWrap_nm3gb_12", St = "_langTrigger_nm3gb_16", Ft = "_langIcon_nm3gb_28", Rt = "_langLabel_nm3gb_35", Et = "_langMenu_nm3gb_40", At = "_langOption_nm3gb_46", Y = {
514
- container: It,
515
- main: Lt,
513
+ }, Lt = "_container_nm3gb_1", St = "_main_nm3gb_6", Tt = "_langDropdownWrap_nm3gb_12", Rt = "_langTrigger_nm3gb_16", Ft = "_langIcon_nm3gb_28", Et = "_langLabel_nm3gb_35", At = "_langMenu_nm3gb_40", Dt = "_langOption_nm3gb_46", V = {
514
+ container: Lt,
515
+ main: St,
516
516
  langDropdownWrap: Tt,
517
- langTrigger: St,
517
+ langTrigger: Rt,
518
518
  langIcon: Ft,
519
- langLabel: Rt,
520
- langMenu: Et,
521
- langOption: At
522
- }, Dt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ut = (n, t) => Ie[n]?.[t] ?? t, $t = 112;
519
+ langLabel: Et,
520
+ langMenu: At,
521
+ langOption: Dt
522
+ }, Ut = ({
523
+ kundliReportSampleHref: n,
524
+ analytics: a,
525
+ s: t
526
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
527
+ /* @__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: t.sampleReportsTitle }),
528
+ /* @__PURE__ */ e.jsx(
529
+ xe,
530
+ {
531
+ t: () => t.sampleLabelKundliReport.replace(`
532
+ `, " "),
533
+ pdfUrl: n,
534
+ analytics: a,
535
+ onClick: () => a?.trackKundliViewSampleImageClicked?.()
536
+ }
537
+ )
538
+ ] }), ue = {
539
+ en: "https://srm-cdn.a4b.io/yoda/1773317492292.pdf",
540
+ hi: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/8f8a59b9-90cf-48ac-a9de-3277cd3967ac/report.pdf",
541
+ gu: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/7718085b-c611-4033-b59a-0207487a746b/report.pdf",
542
+ mr: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/6aa44e7a-233a-401f-a140-3ff028860ec9/report.pdf",
543
+ ta: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/32ac4c76-8469-4514-8332-064a3932cc1c/report.pdf",
544
+ te: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/f6ec7e40-f0f0-4e3a-9562-1c8d3341fc5e/report.pdf",
545
+ kn: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/c6db20f5-1e10-445f-8cb4-aeca28dd454d/report.pdf"
546
+ }, $t = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", ve = {
547
+ en: {
548
+ sectionTitle: "Kundli Packages for you",
549
+ sampleReportsTitle: "View Sample Report",
550
+ onlyFor: "Only for",
551
+ uniqueFeatures: "Unique Features",
552
+ popularBadge: "Popular",
553
+ columnKundliReport: "Kundli Report",
554
+ columnReportPlusQuestion: "Report + 1 Question",
555
+ columnReportPlusQuestionSubtext: "(Answered by Astrologer)",
556
+ columnReportPlusConsultation: "Report + 30 min consultation",
557
+ sampleLabelKundliReport: "200+ page Kundli Report",
558
+ sampleLabelOneQuestion: "1 Question Sample Report",
559
+ rowLabels: [
560
+ `Personalised
561
+ Report`,
562
+ `Remedies:
563
+ gemstone,
564
+ pujas`,
565
+ `Detailed
566
+ question to
567
+ expert`,
568
+ `Relationship
569
+ manager`,
570
+ `30-min
571
+ astrologer
572
+ call`
573
+ ]
574
+ },
575
+ hi: {
576
+ sectionTitle: "आपके लिए कुंडली पैकेज",
577
+ sampleReportsTitle: "सैम्पल रिपोर्ट देखें",
578
+ onlyFor: "कीमत",
579
+ uniqueFeatures: "खास सुविधाएं",
580
+ popularBadge: "लोकप्रिय",
581
+ columnKundliReport: "कुंडली रिपोर्ट",
582
+ columnReportPlusQuestion: "रिपोर्ट + 1 सवाल",
583
+ columnReportPlusQuestionSubtext: "(ज्योतिषी से जवाब)",
584
+ columnReportPlusConsultation: "रिपोर्ट + 30 मिनट परामर्श",
585
+ sampleLabelKundliReport: `200+ पेज की
586
+ कुंडली रिपोर्ट`,
587
+ sampleLabelOneQuestion: `1 सवाल वाली
588
+ सैम्पल रिपोर्ट`,
589
+ rowLabels: [
590
+ `व्यक्तिगत
591
+ रिपोर्ट`,
592
+ `उपाय: रत्न,
593
+ पूजा`,
594
+ `विशेषज्ञ से
595
+ विस्तृत सवाल`,
596
+ `रिलेशनशिप
597
+ मैनेजर`,
598
+ `30 मिनट
599
+ ज्योतिषी कॉल`
600
+ ]
601
+ }
602
+ }, Bt = (n) => ve[n] ?? ve.en, Mt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ot = (n, a) => Le[n]?.[a] ?? a, qt = 112;
523
603
  function K({
524
604
  section: n,
525
- children: t,
526
- onImpression: a
605
+ children: a,
606
+ onImpression: t
527
607
  }) {
528
- const i = _(null), o = _(!1);
529
- return k(() => {
608
+ const i = j(null), o = j(!1);
609
+ return N(() => {
530
610
  const r = i.current;
531
611
  if (!r) return;
532
612
  const u = new IntersectionObserver(
533
- ([p]) => {
534
- !p?.isIntersecting || o.current || (o.current = !0, a(n));
613
+ ([d]) => {
614
+ !d?.isIntersecting || o.current || (o.current = !0, t(n));
535
615
  },
536
616
  {
537
617
  threshold: 0.1,
538
618
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
539
- rootMargin: `0px 0px -${$t}px 0px`
619
+ rootMargin: `0px 0px -${qt}px 0px`
540
620
  }
541
621
  );
542
622
  return u.observe(r), () => u.disconnect();
543
- }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
623
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: i, children: a });
544
624
  }
545
- function Bt({ className: n }) {
546
- const { view: t } = he();
547
- return t === "form" ? /* @__PURE__ */ e.jsx(Me, {}) : /* @__PURE__ */ e.jsx(Mt, { className: n });
625
+ function Kt({ className: n }) {
626
+ const { view: a } = ge();
627
+ return a === "form" ? /* @__PURE__ */ e.jsx(Oe, {}) : /* @__PURE__ */ e.jsx(Qt, { className: n });
548
628
  }
549
- function Mt({ className: n }) {
550
- const t = ke(), { locale: a, setLocale: i, config: o, goToForm: r } = he(), u = o.resolvedUtmBannerImageUrl || void 0, [p, h] = I(!1), s = _(null), g = _(o.locale), b = _(
551
- t?.locale
629
+ function Qt({ className: n }) {
630
+ const a = Ne(), { locale: t, setLocale: i, config: o, goToForm: r } = ge(), u = o.resolvedUtmBannerImageUrl || void 0, [d, m] = I(!1), s = j(null), g = j(o.locale), y = j(
631
+ a?.locale
552
632
  );
553
- k(() => {
633
+ N(() => {
554
634
  o.locale && g.current !== o.locale && i(o.locale), g.current = o.locale;
555
- }, [o.locale, i]), k(() => {
635
+ }, [o.locale, i]), N(() => {
556
636
  if (o.locale) return;
557
- const m = t?.locale;
558
- m && b.current !== m && i(m), b.current = m;
559
- }, [t?.locale, o.locale, i]), k(() => {
560
- if (!p) return;
561
- const m = (w) => {
562
- s.current && !s.current.contains(w.target) && h(!1);
637
+ const p = a?.locale;
638
+ p && y.current !== p && i(p), y.current = p;
639
+ }, [a?.locale, o.locale, i]), N(() => {
640
+ if (!d) return;
641
+ const p = (_) => {
642
+ s.current && !s.current.contains(_.target) && m(!1);
563
643
  };
564
- return document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
565
- }, [p]);
566
- const c = (m) => Ut(a, m), j = o.showLanguageSelector ?? !0, v = o.imageComponent ?? re, T = j ? /* @__PURE__ */ e.jsxs("div", { className: Y.langDropdownWrap, ref: s, children: [
644
+ return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
645
+ }, [d]);
646
+ const c = (p) => Ot(t, p), v = o.showLanguageSelector ?? !0, k = o.imageComponent ?? le, C = v ? /* @__PURE__ */ e.jsxs("div", { className: V.langDropdownWrap, ref: s, children: [
567
647
  /* @__PURE__ */ e.jsxs(
568
648
  "button",
569
649
  {
570
650
  type: "button",
571
- className: Y.langTrigger,
651
+ className: V.langTrigger,
572
652
  onClick: () => {
573
- o.analytics?.trackLanguageClickedFe?.({ language: a }), h((m) => !m);
653
+ o.analytics?.trackLanguageClickedFe?.({ language: t }), m((p) => !p);
574
654
  },
575
- "aria-expanded": p,
655
+ "aria-expanded": d,
576
656
  "aria-haspopup": "listbox",
577
657
  id: "kundli-lang",
578
658
  "aria-label": c("language"),
579
659
  children: [
580
660
  /* @__PURE__ */ e.jsx(
581
- v,
661
+ k,
582
662
  {
583
- src: Dt,
663
+ src: Mt,
584
664
  alt: "",
585
- className: Y.langIcon,
665
+ className: V.langIcon,
586
666
  width: 16,
587
667
  height: 16,
588
668
  loading: "eager"
589
669
  }
590
670
  ),
591
- /* @__PURE__ */ e.jsx("span", { className: Y.langLabel, children: ce[a] })
671
+ /* @__PURE__ */ e.jsx("span", { className: V.langLabel, children: de[t] })
592
672
  ]
593
673
  }
594
674
  ),
595
- p && /* @__PURE__ */ e.jsx(
675
+ d && /* @__PURE__ */ e.jsx(
596
676
  "ul",
597
677
  {
598
- className: Y.langMenu,
678
+ className: V.langMenu,
599
679
  role: "listbox",
600
680
  "aria-labelledby": "kundli-lang",
601
- "aria-activedescendant": `kundli-lang-option-${a}`,
602
- children: Ne.map((m) => /* @__PURE__ */ e.jsx(
681
+ "aria-activedescendant": `kundli-lang-option-${t}`,
682
+ children: Pe.map((p) => /* @__PURE__ */ e.jsx(
603
683
  "li",
604
684
  {
605
- id: `kundli-lang-option-${m}`,
685
+ id: `kundli-lang-option-${p}`,
606
686
  role: "option",
607
- "aria-selected": m === a,
608
- className: Y.langOption,
687
+ "aria-selected": p === t,
688
+ className: V.langOption,
609
689
  onClick: () => {
610
690
  o.analytics?.trackLanguageChangedFe?.({
611
- newLanguage: m
612
- }), i(m), h(!1);
691
+ newLanguage: p
692
+ }), i(p), m(!1);
613
693
  },
614
- children: ce[m]
694
+ children: de[p]
615
695
  },
616
- m
696
+ p
617
697
  ))
618
698
  }
619
699
  )
620
- ] }) : null, N = (m) => {
621
- const w = m.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
622
- o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: w }), r(), o.onCtaClick?.();
623
- }, x = Z(
624
- (m) => {
700
+ ] }) : null, S = (p) => {
701
+ const _ = p.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
702
+ o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: _ }), r(), o.onCtaClick?.();
703
+ }, f = ne(
704
+ (p) => {
625
705
  o.analytics?.trackDetailedKundliReportImpressionFe?.({
626
- section: m,
706
+ section: p,
627
707
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
628
708
  });
629
709
  },
630
710
  [o.analytics]
631
711
  );
632
- return /* @__PURE__ */ e.jsxs("div", { className: `${Y.container} ${n}`, children: [
712
+ return /* @__PURE__ */ e.jsxs("div", { className: `${V.container} ${n}`, children: [
633
713
  /* @__PURE__ */ e.jsx(
634
- Pe,
714
+ Ie,
635
715
  {
636
716
  t: c,
637
717
  logoUrl: o.logoUrl,
638
- languageSelector: T
718
+ languageSelector: C
639
719
  }
640
720
  ),
641
- /* @__PURE__ */ e.jsxs("main", { className: Y.main, children: [
721
+ /* @__PURE__ */ e.jsxs("main", { className: V.main, children: [
642
722
  /* @__PURE__ */ e.jsx(
643
723
  K,
644
724
  {
645
725
  section: "hero",
646
- onImpression: x,
647
- children: /* @__PURE__ */ e.jsx(Le, { t: c })
726
+ onImpression: f,
727
+ children: /* @__PURE__ */ e.jsx(Se, { t: c })
648
728
  }
649
729
  ),
650
730
  /* @__PURE__ */ e.jsx(
651
731
  K,
652
732
  {
653
733
  section: "premium_report_overview",
654
- onImpression: x,
734
+ onImpression: f,
655
735
  children: /* @__PURE__ */ e.jsx(
656
736
  Te,
657
737
  {
@@ -670,13 +750,13 @@ function Mt({ className: n }) {
670
750
  K,
671
751
  {
672
752
  section: "university_certification",
673
- onImpression: x,
753
+ onImpression: f,
674
754
  children: /* @__PURE__ */ e.jsx(
675
- Se,
755
+ Re,
676
756
  {
677
757
  t: c,
678
758
  logoUrl: o.universityLogoUrls?.find(
679
- (m) => !!m
759
+ (p) => !!p
680
760
  )
681
761
  }
682
762
  )
@@ -686,20 +766,20 @@ function Mt({ className: n }) {
686
766
  K,
687
767
  {
688
768
  section: "three_steps_process",
689
- onImpression: x,
690
- children: /* @__PURE__ */ e.jsx(Fe, { t: c, locale: a, isGlobal: o.isGlobal })
769
+ onImpression: f,
770
+ children: /* @__PURE__ */ e.jsx(Fe, { t: c, locale: t, isGlobal: o.isGlobal })
691
771
  }
692
772
  ),
693
773
  /* @__PURE__ */ e.jsx(
694
774
  K,
695
775
  {
696
776
  section: "view_sample_report",
697
- onImpression: x,
777
+ onImpression: f,
698
778
  children: /* @__PURE__ */ e.jsx(
699
- ge,
779
+ xe,
700
780
  {
701
781
  t: c,
702
- pdfUrl: o.sampleReportHref,
782
+ pdfUrl: o.sampleReportHref ?? ue[t] ?? ue.en,
703
783
  onClick: o.onViewSampleReport,
704
784
  analytics: o.analytics
705
785
  }
@@ -710,25 +790,25 @@ function Mt({ className: n }) {
710
790
  K,
711
791
  {
712
792
  section: "what_youll_find",
713
- onImpression: x,
714
- children: /* @__PURE__ */ e.jsx(Ee, { t: c })
793
+ onImpression: f,
794
+ children: /* @__PURE__ */ e.jsx(Ae, { t: c })
715
795
  }
716
796
  ),
717
797
  /* @__PURE__ */ e.jsx(
718
798
  K,
719
799
  {
720
800
  section: "why_us",
721
- onImpression: x,
722
- children: /* @__PURE__ */ e.jsx(Ae, { t: c })
801
+ onImpression: f,
802
+ children: /* @__PURE__ */ e.jsx(De, { t: c })
723
803
  }
724
804
  ),
725
805
  /* @__PURE__ */ e.jsx(
726
806
  K,
727
807
  {
728
808
  section: "feedback",
729
- onImpression: x,
809
+ onImpression: f,
730
810
  children: /* @__PURE__ */ e.jsx(
731
- De,
811
+ Ue,
732
812
  {
733
813
  t: c,
734
814
  readMoreHref: o.readMoreReviewsHref,
@@ -741,98 +821,98 @@ function Mt({ className: n }) {
741
821
  K,
742
822
  {
743
823
  section: "faq",
744
- onImpression: x,
745
- children: /* @__PURE__ */ e.jsx(Ue, { t: c })
824
+ onImpression: f,
825
+ children: /* @__PURE__ */ e.jsx($e, { t: c })
746
826
  }
747
827
  ),
748
828
  /* @__PURE__ */ e.jsx(
749
829
  K,
750
830
  {
751
831
  section: "contact_us",
752
- onImpression: x,
753
- children: /* @__PURE__ */ e.jsx($e, { t: c })
832
+ onImpression: f,
833
+ children: /* @__PURE__ */ e.jsx(Be, { t: c })
754
834
  }
755
835
  )
756
836
  ] }),
757
837
  /* @__PURE__ */ e.jsx(
758
- Pt,
838
+ It,
759
839
  {
760
840
  t: c,
761
841
  ctaHref: o.ctaHref,
762
- onCtaClick: o.ctaHref ? void 0 : N
842
+ onCtaClick: o.ctaHref ? void 0 : S
763
843
  }
764
844
  )
765
845
  ] });
766
846
  }
767
- const Ot = ({
847
+ const Ht = ({
768
848
  className: n = "",
769
- locale: t,
770
- showLanguageSelector: a = !0,
849
+ locale: a,
850
+ showLanguageSelector: t = !0,
771
851
  showSheet: i,
772
852
  userId: o,
773
853
  isGlobal: r,
774
854
  googleMapsApiKey: u,
775
- atlasSearchLocalities: p,
776
- googleMapsAutocompleteEnabled: h,
855
+ atlasSearchLocalities: d,
856
+ googleMapsAutocompleteEnabled: m,
777
857
  logoUrl: s,
778
858
  reportImageUrl: g,
779
- universityLogoUrls: b,
859
+ universityLogoUrls: y,
780
860
  sampleReportHref: c,
781
- onViewSampleReport: j,
782
- ctaHref: v,
783
- onCtaClick: T,
784
- readMoreReviewsHref: N,
785
- onProceed: x,
786
- onProceedGuidance: m,
787
- proceedHref: w,
788
- originalPriceLabel: C,
861
+ onViewSampleReport: v,
862
+ ctaHref: k,
863
+ onCtaClick: C,
864
+ readMoreReviewsHref: S,
865
+ onProceed: f,
866
+ onProceedGuidance: p,
867
+ proceedHref: _,
868
+ originalPriceLabel: P,
789
869
  discountedPriceLabel: A,
790
- discountPillLabel: U,
791
- analytics: S,
792
- onLocaleChange: $,
870
+ discountPillLabel: H,
871
+ analytics: D,
872
+ onLocaleChange: U,
793
873
  resolvedUtmBannerImageUrl: B
794
874
  }) => /* @__PURE__ */ e.jsx(
795
875
  Ce,
796
876
  {
797
- locale: t,
798
- showLanguageSelector: a,
877
+ locale: a,
878
+ showLanguageSelector: t,
799
879
  showSheet: i,
800
880
  userId: o,
801
881
  isGlobal: r,
802
882
  googleMapsApiKey: u,
803
- atlasSearchLocalities: p,
804
- googleMapsAutocompleteEnabled: h,
883
+ atlasSearchLocalities: d,
884
+ googleMapsAutocompleteEnabled: m,
805
885
  logoUrl: s,
806
886
  reportImageUrl: g,
807
- universityLogoUrls: b,
887
+ universityLogoUrls: y,
808
888
  sampleReportHref: c,
809
- onViewSampleReport: j,
810
- ctaHref: v,
811
- onCtaClick: T,
812
- readMoreReviewsHref: N,
813
- onProceed: x,
814
- onProceedGuidance: m,
815
- proceedHref: w,
816
- originalPriceLabel: C,
889
+ onViewSampleReport: v,
890
+ ctaHref: k,
891
+ onCtaClick: C,
892
+ readMoreReviewsHref: S,
893
+ onProceed: f,
894
+ onProceedGuidance: p,
895
+ proceedHref: _,
896
+ originalPriceLabel: P,
817
897
  discountedPriceLabel: A,
818
- discountPillLabel: U,
819
- analytics: S,
820
- onLocaleChange: $,
898
+ discountPillLabel: H,
899
+ analytics: D,
900
+ onLocaleChange: U,
821
901
  resolvedUtmBannerImageUrl: B,
822
- children: /* @__PURE__ */ e.jsx(Bt, { className: n })
902
+ children: /* @__PURE__ */ e.jsx(Kt, { className: n })
823
903
  }
824
- ), qt = "_container_1b9qe_1", Kt = "_main_1b9qe_6", Qt = "_langDropdownWrap_1b9qe_12", Ht = "_langTrigger_1b9qe_16", Gt = "_langIcon_1b9qe_28", Wt = "_langLabel_1b9qe_35", zt = "_langMenu_1b9qe_40", Vt = "_langOption_1b9qe_46", Yt = "_inlineFormWrap_1b9qe_57", Xt = "_inlineProceedFooter_1b9qe_74", Q = {
825
- container: qt,
826
- main: Kt,
827
- langDropdownWrap: Qt,
828
- langTrigger: Ht,
829
- langIcon: Gt,
830
- langLabel: Wt,
831
- langMenu: zt,
832
- langOption: Vt,
833
- inlineFormWrap: Yt,
834
- inlineProceedFooter: Xt
835
- }, Be = [
904
+ ), Gt = "_container_1b9qe_1", Wt = "_main_1b9qe_6", zt = "_langDropdownWrap_1b9qe_12", Vt = "_langTrigger_1b9qe_16", Yt = "_langIcon_1b9qe_28", Xt = "_langLabel_1b9qe_35", Jt = "_langMenu_1b9qe_40", Zt = "_langOption_1b9qe_46", ea = "_inlineFormWrap_1b9qe_57", na = "_inlineProceedFooter_1b9qe_74", Q = {
905
+ container: Gt,
906
+ main: Wt,
907
+ langDropdownWrap: zt,
908
+ langTrigger: Vt,
909
+ langIcon: Yt,
910
+ langLabel: Xt,
911
+ langMenu: Jt,
912
+ langOption: Zt,
913
+ inlineFormWrap: ea,
914
+ inlineProceedFooter: na
915
+ }, Me = [
836
916
  {
837
917
  id: "samiksha",
838
918
  name: "Acharya Rama Sarma",
@@ -855,7 +935,7 @@ const Ot = ({
855
935
  "Result-Oriented Spiritual Guidance"
856
936
  ]
857
937
  }
858
- ], ye = {
938
+ ], we = {
859
939
  en: {
860
940
  planSheetTitle: "Choose your Kundli Plan",
861
941
  planProceedToPayment: "Proceed to Payment",
@@ -950,7 +1030,7 @@ const Ot = ({
950
1030
  planTopicLoveMarriage: "प्यार और शादी",
951
1031
  planTopicMoneyFinance: "पैसा और वित्त"
952
1032
  }
953
- }, Jt = (n) => [
1033
+ }, ta = (n) => [
954
1034
  {
955
1035
  id: "kundli-report",
956
1036
  title: "planNameBasic",
@@ -988,22 +1068,22 @@ const Ot = ({
988
1068
  { text: "planFeatureRealTimeAnswers", included: !0 },
989
1069
  { text: "planFeatureTailoredRemedies", included: !0 }
990
1070
  ],
991
- astrologers: Be.filter(
992
- (a) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(a.id)
1071
+ astrologers: Me.filter(
1072
+ (t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
993
1073
  )
994
1074
  }
995
- ], ve = [
1075
+ ], ke = [
996
1076
  "planQuestionChip1",
997
1077
  "planQuestionChip2",
998
1078
  "planQuestionChip3",
999
1079
  "planQuestionChip4"
1000
1080
  ];
1001
- Be.slice(0, 3).map((n) => ({
1081
+ Me.slice(0, 3).map((n) => ({
1002
1082
  id: n.id,
1003
1083
  imageUrl: n.imageUrl,
1004
1084
  name: n.name
1005
1085
  }));
1006
- const Zt = 5e3, ea = 84, na = `
1086
+ const aa = 5e3, sa = 84, oa = `
1007
1087
  @keyframes three-sku-slide-up {
1008
1088
  from { transform: translateY(100%); opacity: 0; }
1009
1089
  to { transform: translateY(0); opacity: 1; }
@@ -1013,19 +1093,19 @@ const Zt = 5e3, ea = 84, na = `
1013
1093
  60% { left: 125%; }
1014
1094
  100% { left: 125%; }
1015
1095
  }
1016
- `, ta = ({ title: n, onClose: t }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
1096
+ `, ia = ({ 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: [
1017
1097
  /* @__PURE__ */ e.jsx(
1018
1098
  "button",
1019
1099
  {
1020
1100
  type: "button",
1021
- onClick: t,
1101
+ onClick: a,
1022
1102
  "aria-label": "Go back",
1023
1103
  className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
1024
- children: /* @__PURE__ */ e.jsx(Oe, {})
1104
+ children: /* @__PURE__ */ e.jsx(qe, {})
1025
1105
  }
1026
1106
  ),
1027
1107
  /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: n })
1028
- ] }), aa = () => /* @__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" }) }), sa = () => /* @__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" }) }), oa = () => /* @__PURE__ */ e.jsxs(
1108
+ ] }), la = () => /* @__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" }) }), ra = () => /* @__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" }) }), ca = () => /* @__PURE__ */ e.jsxs(
1029
1109
  "svg",
1030
1110
  {
1031
1111
  width: "14",
@@ -1042,35 +1122,35 @@ const Zt = 5e3, ea = 84, na = `
1042
1122
  /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
1043
1123
  ]
1044
1124
  }
1045
- ), ia = ({ plan: n, t }) => /* @__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((a, i) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
1046
- /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: a.included ? /* @__PURE__ */ e.jsx(aa, {}) : /* @__PURE__ */ e.jsx(sa, {}) }),
1047
- /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: t(a.text) })
1048
- ] }, i)) }) }), la = ({
1125
+ ), da = ({ 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, i) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
1126
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(la, {}) : /* @__PURE__ */ e.jsx(ra, {}) }),
1127
+ /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a(t.text) })
1128
+ ] }, i)) }) }), ua = ({
1049
1129
  chipKeys: n,
1050
- t,
1051
- onChipClick: a
1130
+ t: a,
1131
+ onChipClick: t
1052
1132
  }) => {
1053
1133
  const i = Math.ceil(n.length / 2), o = [n.slice(0, i), n.slice(i)];
1054
- 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: o.map((r, u) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: r.map((p) => /* @__PURE__ */ e.jsx(
1134
+ 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: o.map((r, u) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: r.map((d) => /* @__PURE__ */ e.jsx(
1055
1135
  "button",
1056
1136
  {
1057
1137
  type: "button",
1058
1138
  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",
1059
- onClick: () => a(p, n.indexOf(p)),
1060
- children: t(p)
1139
+ onClick: () => t(d, n.indexOf(d)),
1140
+ children: a(d)
1061
1141
  },
1062
- p
1142
+ d
1063
1143
  )) }, u)) }) });
1064
- }, ra = ({
1144
+ }, pa = ({
1065
1145
  textareaRef: n,
1066
- value: t,
1067
- label: a,
1146
+ value: a,
1147
+ label: t,
1068
1148
  placeholder: i,
1069
1149
  chipKeys: o,
1070
1150
  t: r,
1071
1151
  onFocus: u,
1072
- onClick: p,
1073
- onChange: h,
1152
+ onClick: d,
1153
+ onChange: m,
1074
1154
  onChipClick: s,
1075
1155
  onViewSample: g
1076
1156
  }) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
@@ -1085,7 +1165,7 @@ const Zt = 5e3, ea = 84, na = `
1085
1165
  ),
1086
1166
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
1087
1167
  /* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
1088
- a,
1168
+ t,
1089
1169
  /* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
1090
1170
  ] }),
1091
1171
  g && /* @__PURE__ */ e.jsxs(
@@ -1114,45 +1194,45 @@ const Zt = 5e3, ea = 84, na = `
1114
1194
  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",
1115
1195
  style: { height: "100px" },
1116
1196
  placeholder: i,
1117
- value: t,
1197
+ value: a,
1118
1198
  onFocus: u,
1119
- onClick: p,
1120
- onChange: h
1199
+ onClick: d,
1200
+ onChange: m
1121
1201
  }
1122
1202
  ),
1123
- /* @__PURE__ */ e.jsx(la, { chipKeys: o, t: r, onChipClick: s })
1124
- ] }), ca = "_card_62fy9_1", da = "_top_62fy9_15", ua = "_avatar_62fy9_21", pa = "_avatarPlaceholder_62fy9_38", ma = "_basicInfo_62fy9_44", ha = "_name_62fy9_51", ga = "_exp_62fy9_61", xa = "_langs_62fy9_62", fa = "_divider_62fy9_69", _a = "_certList_62fy9_75", ba = "_certItem_62fy9_81", ja = "_bullet_62fy9_90", E = {
1125
- card: ca,
1126
- top: da,
1127
- avatar: ua,
1128
- avatarPlaceholder: pa,
1129
- basicInfo: ma,
1130
- name: ha,
1131
- exp: ga,
1132
- langs: xa,
1133
- divider: fa,
1134
- certList: _a,
1135
- certItem: ba,
1136
- bullet: ja
1137
- }, ya = ({ astrologer: n, t }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1203
+ /* @__PURE__ */ e.jsx(ua, { chipKeys: o, t: r, onChipClick: s })
1204
+ ] }), ma = "_card_62fy9_1", ha = "_top_62fy9_15", ga = "_avatar_62fy9_21", xa = "_avatarPlaceholder_62fy9_38", fa = "_basicInfo_62fy9_44", _a = "_name_62fy9_51", ba = "_exp_62fy9_61", ja = "_langs_62fy9_62", ya = "_divider_62fy9_69", va = "_certList_62fy9_75", wa = "_certItem_62fy9_81", ka = "_bullet_62fy9_90", E = {
1205
+ card: ma,
1206
+ top: ha,
1207
+ avatar: ga,
1208
+ avatarPlaceholder: xa,
1209
+ basicInfo: fa,
1210
+ name: _a,
1211
+ exp: ba,
1212
+ langs: ja,
1213
+ divider: ya,
1214
+ certList: va,
1215
+ certItem: wa,
1216
+ bullet: ka
1217
+ }, Ca = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1138
1218
  /* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
1139
- /* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: t?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
1219
+ /* @__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) }) }),
1140
1220
  /* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
1141
- /* @__PURE__ */ e.jsx("p", { className: E.name, children: t?.(n.name) ?? n.name }),
1142
- /* @__PURE__ */ e.jsx("p", { className: E.exp, children: t?.(n.experience) ?? n.experience }),
1143
- n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((a) => t?.(a) ?? a).join(" • ") })
1221
+ /* @__PURE__ */ e.jsx("p", { className: E.name, children: a?.(n.name) ?? n.name }),
1222
+ /* @__PURE__ */ e.jsx("p", { className: E.exp, children: a?.(n.experience) ?? n.experience }),
1223
+ n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
1144
1224
  ] })
1145
1225
  ] }),
1146
1226
  /* @__PURE__ */ e.jsx("div", { className: E.divider }),
1147
- /* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((a, i) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1227
+ /* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, i) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1148
1228
  /* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
1149
1229
  " ",
1150
- t?.(a) ?? a
1230
+ a?.(t) ?? t
1151
1231
  ] }, i)) })
1152
- ] }), va = ({
1232
+ ] }), Na = ({
1153
1233
  astrologers: n,
1154
- heading: t,
1155
- t: a
1234
+ heading: a,
1235
+ t
1156
1236
  }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1157
1237
  /* @__PURE__ */ e.jsx(
1158
1238
  "div",
@@ -1163,19 +1243,19 @@ const Zt = 5e3, ea = 84, na = `
1163
1243
  }
1164
1244
  }
1165
1245
  ),
1166
- /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: t }),
1246
+ /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: a }),
1167
1247
  /* @__PURE__ */ e.jsx(
1168
1248
  "div",
1169
1249
  {
1170
1250
  className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
1171
1251
  role: "list",
1172
- children: n.map((i, o) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ya, { astrologer: i, t: a }) }, o))
1252
+ children: n.map((i, o) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Ca, { astrologer: i, t }) }, o))
1173
1253
  }
1174
1254
  )
1175
- ] }), wa = ({
1255
+ ] }), Pa = ({
1176
1256
  plans: n,
1177
- selectedId: t,
1178
- t: a,
1257
+ selectedId: a,
1258
+ t,
1179
1259
  analytics: i,
1180
1260
  onSelectPlan: o
1181
1261
  }) => (
@@ -1188,18 +1268,18 @@ const Zt = 5e3, ea = 84, na = `
1188
1268
  */
1189
1269
  /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((r) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
1190
1270
  r.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: [
1191
- /* @__PURE__ */ e.jsx(oa, {}),
1192
- a(r.badge)
1271
+ /* @__PURE__ */ e.jsx(ca, {}),
1272
+ t(r.badge)
1193
1273
  ] }),
1194
1274
  /* @__PURE__ */ e.jsxs(
1195
1275
  "button",
1196
1276
  {
1197
1277
  type: "button",
1198
1278
  role: "radio",
1199
- "aria-checked": r.id === t,
1279
+ "aria-checked": r.id === a,
1200
1280
  className: [
1201
1281
  "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",
1202
- r.id === t ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1282
+ r.id === a ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1203
1283
  ].join(" "),
1204
1284
  onClick: () => {
1205
1285
  i?.trackPlanSelected?.({ planId: r.id, planName: r.title }), o(r);
@@ -1208,8 +1288,8 @@ const Zt = 5e3, ea = 84, na = `
1208
1288
  /* @__PURE__ */ e.jsx(
1209
1289
  "span",
1210
1290
  {
1211
- className: `text-[14px] leading-snug ${r.id === t ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1212
- children: a(r.title)
1291
+ className: `text-[14px] leading-snug ${r.id === a ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1292
+ children: t(r.title)
1213
1293
  }
1214
1294
  ),
1215
1295
  /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: r.price }),
@@ -1225,7 +1305,7 @@ const Zt = 5e3, ea = 84, na = `
1225
1305
  },
1226
1306
  children: [
1227
1307
  "⏳ ",
1228
- a(r.newBadge)
1308
+ t(r.newBadge)
1229
1309
  ]
1230
1310
  }
1231
1311
  )
@@ -1233,14 +1313,14 @@ const Zt = 5e3, ea = 84, na = `
1233
1313
  }
1234
1314
  )
1235
1315
  ] }, r.id)) })
1236
- ), Ca = ({
1316
+ ), Ia = ({
1237
1317
  canProceed: n,
1238
- label: t,
1239
- showDisabledHint: a,
1318
+ label: a,
1319
+ showDisabledHint: t,
1240
1320
  hintText: i,
1241
1321
  onClick: o
1242
1322
  }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1243
- a && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: i }),
1323
+ t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: i }),
1244
1324
  /* @__PURE__ */ e.jsxs(
1245
1325
  "button",
1246
1326
  {
@@ -1265,100 +1345,100 @@ const Zt = 5e3, ea = 84, na = `
1265
1345
  }
1266
1346
  }
1267
1347
  ),
1268
- /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: t })
1348
+ /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: a })
1269
1349
  ]
1270
1350
  }
1271
1351
  )
1272
- ] }), ka = ({
1352
+ ] }), La = ({
1273
1353
  isOpen: n,
1274
- onClose: t,
1275
- selectedPlan: a,
1354
+ onClose: a,
1355
+ selectedPlan: t,
1276
1356
  onSelectPlan: i,
1277
1357
  plans: o,
1278
1358
  onProceed: r,
1279
1359
  locale: u = "en",
1280
- t: p,
1281
- analytics: h,
1360
+ t: d,
1361
+ analytics: m,
1282
1362
  isGlobal: s = !0,
1283
1363
  oneQuestionSampleHref: g,
1284
- reportLanguage: b
1364
+ reportLanguage: y
1285
1365
  }) => {
1286
- const c = Z((f) => (ye[u] ?? ye.en)[f] ?? p?.(f) ?? f, [u, p]), j = xe(() => o ?? Jt(s), [o, s]), v = a?.id || j.find((f) => f.badge)?.id || j[0]?.id || "", T = _(null), N = _(null), x = _(null), m = _(!1), [w, C] = I(""), [A, U] = I(!1), [S, $] = I("custom"), [B, ee] = I(null), [G, W] = I(!1), z = _(!1), X = _(null), [ne, V] = I(!1), d = xe(() => j.find((f) => f.id === v) ?? j[0], [j, v]), H = !!d?.supportsQuestion, ae = !!(d?.astrologers && d.astrologers.length > 0), de = !H || w.trim().length > 0, L = Z(() => {
1287
- const f = X.current;
1288
- f && (f.style.height = "auto", f.style.height = Math.max(100, Math.min(f.scrollHeight, ea)) + "px");
1366
+ const c = ne((h) => (we[u] ?? we.en)[h] ?? d?.(h) ?? h, [u, d]), v = fe(() => o ?? ta(s), [o, s]), k = t?.id || v.find((h) => h.badge)?.id || v[0]?.id || "", C = j(null), S = j(null), f = j(null), p = j(!1), [_, P] = I(""), [A, H] = I(!1), [D, U] = I("custom"), [B, Y] = I(null), [X, W] = I(!1), G = j(!1), J = j(null), [te, z] = I(!1), x = fe(() => v.find((h) => h.id === k) ?? v[0], [v, k]), b = !!x?.supportsQuestion, se = !!(x?.astrologers && x.astrologers.length > 0), pe = !b || _.trim().length > 0, re = ne(() => {
1367
+ const h = J.current;
1368
+ h && (h.style.height = "auto", h.style.height = Math.max(100, Math.min(h.scrollHeight, sa)) + "px");
1289
1369
  }, []);
1290
- k(() => {
1370
+ N(() => {
1291
1371
  if (n) {
1292
- if (!a) {
1293
- const f = j.find((P) => P.badge) ?? j[0];
1294
- f && i(f);
1372
+ if (!t) {
1373
+ const h = v.find((L) => L.badge) ?? v[0];
1374
+ h && i(h);
1295
1375
  }
1296
- m.current || (h?.trackPlanPageViewed?.(), m.current = !0);
1376
+ p.current || (m?.trackPlanPageViewed?.(), p.current = !0);
1297
1377
  } else
1298
- m.current = !1;
1299
- }, [n, j, a, i, h]), k(() => {
1378
+ p.current = !1;
1379
+ }, [n, v, t, i, m]), N(() => {
1300
1380
  if (!n) return;
1301
- const f = document.body.style.overflow;
1381
+ const h = document.body.style.overflow;
1302
1382
  return document.body.style.overflow = "hidden", () => {
1303
- document.body.style.overflow = f;
1383
+ document.body.style.overflow = h;
1304
1384
  };
1305
1385
  }, [n]);
1306
- const ue = () => {
1307
- h?.trackPlanPageClosed?.(), t();
1308
- }, l = (f) => {
1309
- const P = N.current, oe = x.current;
1310
- if (P && oe) {
1311
- const pe = oe.getBoundingClientRect().top - P.getBoundingClientRect().top + P.scrollTop;
1312
- P.scrollTo({ top: pe, behavior: "smooth" });
1386
+ const T = () => {
1387
+ m?.trackPlanPageClosed?.(), a();
1388
+ }, ce = (h) => {
1389
+ const L = S.current, Z = f.current;
1390
+ if (L && Z) {
1391
+ const me = Z.getBoundingClientRect().top - L.getBoundingClientRect().top + L.scrollTop;
1392
+ L.scrollTo({ top: me, behavior: "smooth" });
1313
1393
  }
1314
- z.current || (z.current = !0, h?.trackQuestionTextboxClicked?.({
1315
- entry_method: f,
1316
- textbox_empty: w.length === 0
1394
+ G.current || (G.current = !0, m?.trackQuestionTextboxClicked?.({
1395
+ entry_method: h,
1396
+ textbox_empty: _.length === 0
1317
1397
  }));
1318
- }, F = (f) => {
1319
- const P = f.target.value.slice(0, Zt);
1320
- S === "chip" && P !== c(ve[B ?? 0]) && $("chip_edited"), C(P), L(), G && W(!1);
1321
- }, M = (f, P) => {
1322
- const oe = c(f), pe = w.length > 0 && S !== "chip";
1323
- h?.trackPreSuggestedQuestionSelected?.({
1324
- question_text_loaded: oe,
1325
- chip_index: P,
1398
+ }, l = (h) => {
1399
+ const L = h.target.value.slice(0, aa);
1400
+ D === "chip" && L !== c(ke[B ?? 0]) && U("chip_edited"), P(L), re(), X && W(!1);
1401
+ }, R = (h, L) => {
1402
+ const Z = c(h), me = _.length > 0 && D !== "chip";
1403
+ m?.trackPreSuggestedQuestionSelected?.({
1404
+ question_text_loaded: Z,
1405
+ chip_index: L,
1326
1406
  previous_chip_index: B,
1327
- user_had_custom_text: pe
1328
- }), C(oe), $("chip"), ee(P), z.current = !1, setTimeout(L, 0);
1329
- }, se = () => {
1330
- if (d) {
1331
- if (H && !w.trim()) {
1407
+ user_had_custom_text: me
1408
+ }), P(Z), U("chip"), Y(L), G.current = !1, setTimeout(re, 0);
1409
+ }, M = () => {
1410
+ if (x) {
1411
+ if (b && !_.trim()) {
1332
1412
  W(!0);
1333
1413
  return;
1334
1414
  }
1335
- if (ae) {
1336
- h?.trackSelectConsultationSlotClicked?.({
1337
- planId: d.id,
1338
- planName: d.title
1339
- }), h?.trackPlanProceedClicked?.({
1340
- planId: d.id,
1341
- planName: d.title,
1415
+ if (se) {
1416
+ m?.trackSelectConsultationSlotClicked?.({
1417
+ planId: x.id,
1418
+ planName: x.title
1419
+ }), m?.trackPlanProceedClicked?.({
1420
+ planId: x.id,
1421
+ planName: x.title,
1342
1422
  cta_type: "confirm_consultation_slot",
1343
1423
  next_step: "slot_selection"
1344
- }), V(!0);
1424
+ }), z(!0);
1345
1425
  return;
1346
1426
  }
1347
- h?.trackPlanProceedClicked?.({
1348
- planId: d.id,
1349
- planName: d.title,
1350
- price: d.price,
1427
+ m?.trackPlanProceedClicked?.({
1428
+ planId: x.id,
1429
+ planName: x.title,
1430
+ price: x.price,
1351
1431
  currency: s ? "USD" : "INR",
1352
- question_asked: H ? !0 : void 0,
1353
- question_text: H ? w.trim() : void 0,
1354
- question_source: H ? S : void 0,
1432
+ question_asked: b ? !0 : void 0,
1433
+ question_text: b ? _.trim() : void 0,
1434
+ question_source: b ? D : void 0,
1355
1435
  cta_type: "proceed",
1356
1436
  next_step: "payment"
1357
- }), r(d, H ? w.trim() : void 0), t();
1437
+ }), r(x, b ? _.trim() : void 0), a();
1358
1438
  }
1359
1439
  };
1360
1440
  return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1361
- /* @__PURE__ */ e.jsx("style", { children: na }),
1441
+ /* @__PURE__ */ e.jsx("style", { children: oa }),
1362
1442
  /* @__PURE__ */ e.jsx(
1363
1443
  "div",
1364
1444
  {
@@ -1369,36 +1449,36 @@ const Zt = 5e3, ea = 84, na = `
1369
1449
  children: /* @__PURE__ */ e.jsxs(
1370
1450
  "div",
1371
1451
  {
1372
- ref: T,
1452
+ ref: C,
1373
1453
  className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
1374
1454
  style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
1375
1455
  children: [
1376
- /* @__PURE__ */ e.jsx(ta, { title: c("planSheetTitle"), onClose: ue }),
1377
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: N, children: [
1378
- /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: c(d?.title ?? "") }),
1379
- d && /* @__PURE__ */ e.jsx(ia, { plan: d, t: c }),
1380
- H && /* @__PURE__ */ e.jsx("div", { ref: x, children: /* @__PURE__ */ e.jsx(
1381
- ra,
1456
+ /* @__PURE__ */ e.jsx(ia, { title: c("planSheetTitle"), onClose: T }),
1457
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: S, children: [
1458
+ /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: c(x?.title ?? "") }),
1459
+ x && /* @__PURE__ */ e.jsx(da, { plan: x, t: c }),
1460
+ b && /* @__PURE__ */ e.jsx("div", { ref: f, children: /* @__PURE__ */ e.jsx(
1461
+ pa,
1382
1462
  {
1383
- textareaRef: X,
1384
- value: w,
1463
+ textareaRef: J,
1464
+ value: _,
1385
1465
  label: c("planQuestionLabel"),
1386
1466
  placeholder: c("planQuestionPlaceholder"),
1387
- chipKeys: ve,
1467
+ chipKeys: ke,
1388
1468
  t: c,
1389
- onFocus: () => l("keyboard_focus"),
1390
- onClick: () => l("tap"),
1391
- onChange: F,
1392
- onChipClick: M,
1469
+ onFocus: () => ce("keyboard_focus"),
1470
+ onClick: () => ce("tap"),
1471
+ onChange: l,
1472
+ onChipClick: R,
1393
1473
  onViewSample: g ? () => {
1394
- h?.trackOneQuestionViewSampleReportClicked?.(), U(!0);
1474
+ m?.trackOneQuestionViewSampleReportClicked?.(), H(!0);
1395
1475
  } : void 0
1396
1476
  }
1397
1477
  ) }),
1398
- d?.astrologers && d.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1399
- va,
1478
+ x?.astrologers && x.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1479
+ Na,
1400
1480
  {
1401
- astrologers: d.astrologers,
1481
+ astrologers: x.astrologers,
1402
1482
  heading: c("planAstrologerHeading"),
1403
1483
  t: c
1404
1484
  }
@@ -1411,23 +1491,23 @@ const Zt = 5e3, ea = 84, na = `
1411
1491
  style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
1412
1492
  children: [
1413
1493
  /* @__PURE__ */ e.jsx(
1414
- wa,
1494
+ Pa,
1415
1495
  {
1416
- plans: j,
1417
- selectedId: v,
1496
+ plans: v,
1497
+ selectedId: k,
1418
1498
  t: c,
1419
- analytics: h,
1499
+ analytics: m,
1420
1500
  onSelectPlan: i
1421
1501
  }
1422
1502
  ),
1423
1503
  /* @__PURE__ */ e.jsx(
1424
- Ca,
1504
+ Ia,
1425
1505
  {
1426
- canProceed: de,
1427
- label: c(ae ? "planSelectConsultationSlot" : "planProceedToPayment"),
1428
- showDisabledHint: G,
1506
+ canProceed: pe,
1507
+ label: c(se ? "planSelectConsultationSlot" : "planProceedToPayment"),
1508
+ showDisabledHint: X,
1429
1509
  hintText: c("planQuestionHint"),
1430
- onClick: se
1510
+ onClick: M
1431
1511
  }
1432
1512
  )
1433
1513
  ]
@@ -1438,221 +1518,149 @@ const Zt = 5e3, ea = 84, na = `
1438
1518
  )
1439
1519
  }
1440
1520
  ),
1441
- ae && d?.astrologers && /* @__PURE__ */ e.jsx(
1442
- qe,
1521
+ se && x?.astrologers && /* @__PURE__ */ e.jsx(
1522
+ Ke,
1443
1523
  {
1444
- isOpen: ne,
1445
- onClose: () => V(!1),
1446
- astrologers: d.astrologers,
1524
+ isOpen: te,
1525
+ onClose: () => z(!1),
1526
+ astrologers: x.astrologers,
1447
1527
  t: c,
1448
- analytics: h,
1449
- reportLanguage: b,
1450
- onProceed: (f) => {
1451
- h?.trackPlanProceedClicked?.({
1452
- planId: d.id,
1453
- planName: d.title,
1454
- price: d.price,
1528
+ analytics: m,
1529
+ reportLanguage: y,
1530
+ onProceed: (h) => {
1531
+ m?.trackPlanProceedClicked?.({
1532
+ planId: x.id,
1533
+ planName: x.title,
1534
+ price: x.price,
1455
1535
  currency: s ? "USD" : "INR",
1456
1536
  cta_type: "proceed",
1457
1537
  next_step: "payment"
1458
- }), r(d, void 0, f), V(!1), t();
1538
+ }), r(x, void 0, h), z(!1), a();
1459
1539
  }
1460
1540
  }
1461
1541
  ),
1462
1542
  g && /* @__PURE__ */ e.jsx(
1463
- Re,
1543
+ Ee,
1464
1544
  {
1465
1545
  isOpen: A,
1466
- onClose: () => U(!1),
1546
+ onClose: () => H(!1),
1467
1547
  title: "1 Question Sample Answer",
1468
1548
  pdfUrl: g
1469
1549
  }
1470
1550
  )
1471
1551
  ] }) : null;
1472
- }, Na = ({
1473
- kundliReportSampleHref: n,
1474
- analytics: t,
1475
- s: a
1476
- }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1477
- /* @__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: a.sampleReportsTitle }),
1478
- /* @__PURE__ */ e.jsx(
1479
- ge,
1480
- {
1481
- t: () => a.sampleLabelKundliReport.replace(`
1482
- `, " "),
1483
- pdfUrl: n,
1484
- analytics: t,
1485
- onClick: () => t?.trackKundliViewSampleImageClicked?.()
1486
- }
1487
- )
1488
- ] }), Pa = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Ia = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", we = {
1489
- en: {
1490
- sectionTitle: "Kundli Packages for you",
1491
- sampleReportsTitle: "View Sample Report",
1492
- onlyFor: "Only for",
1493
- uniqueFeatures: "Unique Features",
1494
- popularBadge: "Popular",
1495
- columnKundliReport: "Kundli Report",
1496
- columnReportPlusQuestion: "Report + 1 Question",
1497
- columnReportPlusQuestionSubtext: "(Answered by Astrologer)",
1498
- columnReportPlusConsultation: "Report + 30 min consultation",
1499
- sampleLabelKundliReport: "200+ page Kundli Report",
1500
- sampleLabelOneQuestion: "1 Question Sample Report",
1501
- rowLabels: [
1502
- `Personalised
1503
- Report`,
1504
- `Remedies:
1505
- gemstone,
1506
- pujas`,
1507
- `Detailed
1508
- question to
1509
- expert`,
1510
- `Relationship
1511
- manager`,
1512
- `30-min
1513
- astrologer
1514
- call`
1515
- ]
1516
- },
1517
- hi: {
1518
- sectionTitle: "आपके लिए कुंडली पैकेज",
1519
- sampleReportsTitle: "सैम्पल रिपोर्ट देखें",
1520
- onlyFor: "कीमत",
1521
- uniqueFeatures: "खास सुविधाएं",
1522
- popularBadge: "लोकप्रिय",
1523
- columnKundliReport: "कुंडली रिपोर्ट",
1524
- columnReportPlusQuestion: "रिपोर्ट + 1 सवाल",
1525
- columnReportPlusQuestionSubtext: "(ज्योतिषी से जवाब)",
1526
- columnReportPlusConsultation: "रिपोर्ट + 30 मिनट परामर्श",
1527
- sampleLabelKundliReport: `200+ पेज की
1528
- कुंडली रिपोर्ट`,
1529
- sampleLabelOneQuestion: `1 सवाल वाली
1530
- सैम्पल रिपोर्ट`,
1531
- rowLabels: [
1532
- `व्यक्तिगत
1533
- रिपोर्ट`,
1534
- `उपाय: रत्न,
1535
- पूजा`,
1536
- `विशेषज्ञ से
1537
- विस्तृत सवाल`,
1538
- `रिलेशनशिप
1539
- मैनेजर`,
1540
- `30 मिनट
1541
- ज्योतिषी कॉल`
1542
- ]
1543
- }
1544
- }, La = (n) => we[n] ?? we.en, Ta = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Sa = (n, t) => Ie[n]?.[t] ?? t, Fa = 112;
1545
- function D({
1552
+ }, Sa = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ta = (n, a) => Le[n]?.[a] ?? a, Ra = 112;
1553
+ function $({
1546
1554
  section: n,
1547
- children: t,
1548
- onImpression: a
1555
+ children: a,
1556
+ onImpression: t
1549
1557
  }) {
1550
- const i = _(null), o = _(!1);
1551
- return k(() => {
1558
+ const i = j(null), o = j(!1);
1559
+ return N(() => {
1552
1560
  const r = i.current;
1553
1561
  if (!r) return;
1554
1562
  const u = new IntersectionObserver(
1555
- ([p]) => {
1556
- !p?.isIntersecting || o.current || (o.current = !0, a(n));
1563
+ ([d]) => {
1564
+ !d?.isIntersecting || o.current || (o.current = !0, t(n));
1557
1565
  },
1558
1566
  {
1559
1567
  threshold: 0.1,
1560
1568
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
1561
- rootMargin: `0px 0px -${Fa}px 0px`
1569
+ rootMargin: `0px 0px -${Ra}px 0px`
1562
1570
  }
1563
1571
  );
1564
1572
  return u.observe(r), () => u.disconnect();
1565
- }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
1573
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: i, children: a });
1566
1574
  }
1567
- function Ra({
1575
+ function Fa({
1568
1576
  className: n,
1569
- showInlineForm: t = !1,
1570
- enableThreeSkuFlow: a = !1,
1577
+ showInlineForm: a = !1,
1578
+ enableThreeSkuFlow: t = !1,
1571
1579
  enableConsultationScheduling: i = !1,
1572
- kundliReportSampleHref: o = Pa,
1573
- oneQuestionSampleHref: r = Ia
1580
+ kundliReportSampleHref: o,
1581
+ oneQuestionSampleHref: r = $t
1574
1582
  }) {
1575
- const u = ke(), { locale: p, setLocale: h, config: s, formValues: g, setFormValues: b } = he(), [c, j] = I(!1), [v, T] = I(null), N = _(null), x = _(void 0), m = _(void 0), w = _(null), C = _(!1), A = Z((l) => {
1576
- N.current = l, j(!0);
1577
- }, []), U = Z(() => {
1578
- if (!N.current || !v) return;
1583
+ const u = Ne(), { locale: d, setLocale: m, config: s, formValues: g, setFormValues: y } = ge(), c = o ?? ue[d] ?? ue.en, [v, k] = I(!1), [C, S] = I(null), f = j(null), p = j(void 0), _ = j(void 0), P = j(null), A = j(!1), H = ne((l) => {
1584
+ f.current = l, k(!0);
1585
+ }, []), D = ne(() => {
1586
+ if (!f.current || !C) return;
1579
1587
  const l = {
1580
- ...N.current,
1581
- _selectedPlan: v,
1582
- ...x.current !== void 0 ? { _question: x.current } : {},
1583
- ...m.current !== void 0 ? { _consultationSlot: m.current } : {}
1588
+ ...f.current,
1589
+ _selectedPlan: C,
1590
+ ...p.current !== void 0 ? { _question: p.current } : {},
1591
+ ..._.current !== void 0 ? { _consultationSlot: _.current } : {}
1584
1592
  };
1585
- x.current = void 0, m.current = void 0, v.id === Ke && s.onProceedGuidance ? s.onProceedGuidance(l) : s.onProceed?.(l), j(!1), N.current = null;
1586
- }, [v, s.onProceed, s.onProceedGuidance]), [S, $] = I(!1), [B, ee] = I(
1593
+ p.current = void 0, _.current = void 0, C.id === Qe && s.onProceedGuidance ? s.onProceedGuidance(l) : s.onProceed?.(l), k(!1), f.current = null;
1594
+ }, [C, s.onProceed, s.onProceedGuidance]), [U, B] = I(!1), [Y, X] = I(
1587
1595
  s.isGlobal ?? !0 ? "+1" : "+91"
1588
- ), G = _(null), W = _(null), z = _(s.locale), X = _(
1596
+ ), W = j(null), G = j(null), J = j(s.locale), te = j(
1589
1597
  u?.locale
1590
1598
  );
1591
- k(() => {
1592
- s.locale && z.current !== s.locale && h(s.locale), z.current = s.locale;
1593
- }, [s.locale, h]), k(() => {
1599
+ N(() => {
1600
+ s.locale && J.current !== s.locale && m(s.locale), J.current = s.locale;
1601
+ }, [s.locale, m]), N(() => {
1594
1602
  if (s.locale) return;
1595
1603
  const l = u?.locale;
1596
- l && X.current !== l && h(l), X.current = l;
1597
- }, [u?.locale, s.locale, h]), k(() => {
1598
- ee(s.isGlobal ?? !0 ? "+1" : "+91");
1604
+ l && te.current !== l && m(l), te.current = l;
1605
+ }, [u?.locale, s.locale, m]), N(() => {
1606
+ X(s.isGlobal ?? !0 ? "+1" : "+91");
1599
1607
  }, [s.isGlobal]);
1600
- const ne = _(!1);
1601
- k(() => {
1602
- if (ne.current || !t || s.autoOpenPlanSheet) return;
1608
+ const z = j(!1);
1609
+ N(() => {
1610
+ if (z.current || !a || s.autoOpenPlanSheet) return;
1603
1611
  const l = s.initialFormValues;
1604
1612
  if (!(!!l && (!!l.fullName || !!l.phone || !!l.email || !!l.gender || !!l.language_code || !!l.dateOfBirth || !!l.birthTime || !!l.birthPlace))) return;
1605
- ne.current = !0;
1613
+ z.current = !0;
1606
1614
  const M = requestAnimationFrame(() => {
1607
- G.current?.scrollIntoView({ behavior: "smooth", block: "start" });
1615
+ W.current?.scrollIntoView({ behavior: "smooth", block: "start" });
1608
1616
  });
1609
1617
  return () => cancelAnimationFrame(M);
1610
- }, [t, s.autoOpenPlanSheet, s.initialFormValues]);
1611
- const V = _(!1);
1612
- k(() => {
1613
- if (V.current || !s.autoOpenPlanSheet) return;
1614
- V.current = !0, G.current?.scrollIntoView({ behavior: "auto", block: "start" });
1618
+ }, [a, s.autoOpenPlanSheet, s.initialFormValues]);
1619
+ const x = j(!1);
1620
+ N(() => {
1621
+ if (x.current || !s.autoOpenPlanSheet) return;
1622
+ x.current = !0, W.current?.scrollIntoView({ behavior: "auto", block: "start" });
1615
1623
  const l = (g.phone ?? "").trim();
1616
- A({
1624
+ H({
1617
1625
  ...g,
1618
- phone: l && `${B}-${l}`
1626
+ phone: l && `${Y}-${l}`
1619
1627
  });
1620
- }, [s.autoOpenPlanSheet]), k(() => {
1621
- if (!S) return;
1622
- const l = (F) => {
1623
- W.current && !W.current.contains(F.target) && $(!1);
1628
+ }, [s.autoOpenPlanSheet]), N(() => {
1629
+ if (!U) return;
1630
+ const l = (R) => {
1631
+ G.current && !G.current.contains(R.target) && B(!1);
1624
1632
  };
1625
1633
  return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
1626
- }, [S]), k(() => {
1627
- if (!a) return;
1628
- const l = w.current;
1634
+ }, [U]), N(() => {
1635
+ if (!t) return;
1636
+ const l = P.current;
1629
1637
  if (!l) return;
1630
- const F = new IntersectionObserver(
1638
+ const R = new IntersectionObserver(
1631
1639
  ([M]) => {
1632
- C.current || !M?.isIntersecting || (M.intersectionRatio ?? 0) < 0.5 || (C.current = !0, s.analytics?.trackComparisonTableImpression?.());
1640
+ A.current || !M?.isIntersecting || (M.intersectionRatio ?? 0) < 0.5 || (A.current = !0, s.analytics?.trackComparisonTableImpression?.());
1633
1641
  },
1634
1642
  { threshold: 0.5 }
1635
1643
  );
1636
- return F.observe(l), () => F.disconnect();
1637
- }, [a, s.analytics]);
1638
- const d = (l) => Sa(p, l), H = s.showLanguageSelector ?? !0, ae = s.resolvedUtmBannerImageUrl || void 0, de = H ? /* @__PURE__ */ e.jsxs("div", { className: Q.langDropdownWrap, ref: W, children: [
1644
+ return R.observe(l), () => R.disconnect();
1645
+ }, [t, s.analytics]);
1646
+ const b = (l) => Ta(d, l), se = s.showLanguageSelector ?? !0, pe = s.resolvedUtmBannerImageUrl || void 0, re = se ? /* @__PURE__ */ e.jsxs("div", { className: Q.langDropdownWrap, ref: G, children: [
1639
1647
  /* @__PURE__ */ e.jsxs(
1640
1648
  "button",
1641
1649
  {
1642
1650
  type: "button",
1643
1651
  className: Q.langTrigger,
1644
1652
  onClick: () => {
1645
- s.analytics?.trackLanguageClickedFe?.({ language: p }), $((l) => !l);
1653
+ s.analytics?.trackLanguageClickedFe?.({ language: d }), B((l) => !l);
1646
1654
  },
1647
- "aria-expanded": S,
1655
+ "aria-expanded": U,
1648
1656
  "aria-haspopup": "listbox",
1649
1657
  id: "kundli-lang",
1650
- "aria-label": d("language"),
1658
+ "aria-label": b("language"),
1651
1659
  children: [
1652
1660
  /* @__PURE__ */ e.jsx(
1653
1661
  "img",
1654
1662
  {
1655
- src: Ta,
1663
+ src: Sa,
1656
1664
  alt: "",
1657
1665
  className: Q.langIcon,
1658
1666
  width: 16,
@@ -1660,36 +1668,36 @@ function Ra({
1660
1668
  "aria-hidden": !0
1661
1669
  }
1662
1670
  ),
1663
- /* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children: ce[p] })
1671
+ /* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children: de[d] })
1664
1672
  ]
1665
1673
  }
1666
1674
  ),
1667
- S && /* @__PURE__ */ e.jsx(
1675
+ U && /* @__PURE__ */ e.jsx(
1668
1676
  "ul",
1669
1677
  {
1670
1678
  className: Q.langMenu,
1671
1679
  role: "listbox",
1672
1680
  "aria-labelledby": "kundli-lang",
1673
- "aria-activedescendant": `kundli-lang-option-${p}`,
1674
- children: Ne.map((l) => /* @__PURE__ */ e.jsx(
1681
+ "aria-activedescendant": `kundli-lang-option-${d}`,
1682
+ children: Pe.map((l) => /* @__PURE__ */ e.jsx(
1675
1683
  "li",
1676
1684
  {
1677
1685
  id: `kundli-lang-option-${l}`,
1678
1686
  role: "option",
1679
- "aria-selected": l === p,
1687
+ "aria-selected": l === d,
1680
1688
  className: Q.langOption,
1681
1689
  onClick: () => {
1682
1690
  s.analytics?.trackLanguageChangedFe?.({
1683
1691
  newLanguage: l
1684
- }), h(l), $(!1);
1692
+ }), m(l), B(!1);
1685
1693
  },
1686
- children: ce[l]
1694
+ children: de[l]
1687
1695
  },
1688
1696
  l
1689
1697
  ))
1690
1698
  }
1691
1699
  )
1692
- ] }) : null, L = Z(
1700
+ ] }) : null, T = ne(
1693
1701
  (l) => {
1694
1702
  s.analytics?.trackDetailedKundliReportImpressionFe?.({
1695
1703
  section: l,
@@ -1697,7 +1705,7 @@ function Ra({
1697
1705
  });
1698
1706
  },
1699
1707
  [s.analytics]
1700
- ), ue = Z((l) => {
1708
+ ), ce = ne((l) => {
1701
1709
  const M = {
1702
1710
  fullName: "kundli-full-name",
1703
1711
  phone: "kundli-phone",
@@ -1707,59 +1715,59 @@ function Ra({
1707
1715
  birthPlace: "kundli-birth-place",
1708
1716
  gender: "kundli-gender-male",
1709
1717
  language_code: "kundli-report-lang-hi"
1710
- }[l] ?? "kundli-full-name", se = document.getElementById(M);
1711
- if (se) {
1712
- const P = se.getBoundingClientRect().top + window.scrollY - 120;
1718
+ }[l] ?? "kundli-full-name", h = document.getElementById(M);
1719
+ if (h) {
1720
+ const Z = h.getBoundingClientRect().top + window.scrollY - 120;
1713
1721
  window.scrollTo({
1714
- top: P,
1722
+ top: Z,
1715
1723
  behavior: "smooth"
1716
- }), setTimeout(() => se.focus(), 500);
1724
+ }), setTimeout(() => h.focus(), 500);
1717
1725
  }
1718
1726
  }, []);
1719
1727
  return /* @__PURE__ */ e.jsxs("div", { className: `${Q.container} ${n}`, children: [
1720
1728
  /* @__PURE__ */ e.jsx(
1721
- Pe,
1729
+ Ie,
1722
1730
  {
1723
- t: d,
1731
+ t: b,
1724
1732
  logoUrl: s.logoUrl,
1725
- languageSelector: de
1733
+ languageSelector: re
1726
1734
  }
1727
1735
  ),
1728
1736
  /* @__PURE__ */ e.jsxs("main", { className: Q.main, children: [
1729
1737
  /* @__PURE__ */ e.jsx(
1730
- D,
1738
+ $,
1731
1739
  {
1732
1740
  section: "hero",
1733
- onImpression: L,
1734
- children: /* @__PURE__ */ e.jsx(Le, { t: d })
1741
+ onImpression: T,
1742
+ children: /* @__PURE__ */ e.jsx(Se, { t: b })
1735
1743
  }
1736
1744
  ),
1737
1745
  /* @__PURE__ */ e.jsx(
1738
- D,
1746
+ $,
1739
1747
  {
1740
1748
  section: "premium_report_overview",
1741
- onImpression: L,
1749
+ onImpression: T,
1742
1750
  children: /* @__PURE__ */ e.jsx(
1743
1751
  Te,
1744
1752
  {
1745
- t: d,
1753
+ t: b,
1746
1754
  reportImageUrl: s.reportImageUrl,
1747
1755
  analytics: s.analytics,
1748
- utmBannerImageUrl: ae,
1756
+ utmBannerImageUrl: pe,
1749
1757
  utmBannerAltText: ""
1750
1758
  }
1751
1759
  )
1752
1760
  }
1753
1761
  ),
1754
1762
  /* @__PURE__ */ e.jsx(
1755
- D,
1763
+ $,
1756
1764
  {
1757
1765
  section: "university_certification",
1758
- onImpression: L,
1766
+ onImpression: T,
1759
1767
  children: /* @__PURE__ */ e.jsx(
1760
- Se,
1768
+ Re,
1761
1769
  {
1762
- t: d,
1770
+ t: b,
1763
1771
  logoUrl: s.universityLogoUrls?.find(
1764
1772
  (l) => !!l
1765
1773
  )
@@ -1768,64 +1776,64 @@ function Ra({
1768
1776
  }
1769
1777
  ),
1770
1778
  /* @__PURE__ */ e.jsx(
1771
- D,
1779
+ $,
1772
1780
  {
1773
1781
  section: "three_steps_process",
1774
- onImpression: L,
1775
- children: /* @__PURE__ */ e.jsx(Fe, { t: d, locale: p, isGlobal: s.isGlobal })
1782
+ onImpression: T,
1783
+ children: /* @__PURE__ */ e.jsx(Fe, { t: b, locale: d, isGlobal: s.isGlobal })
1776
1784
  }
1777
1785
  ),
1778
1786
  /* @__PURE__ */ e.jsx(
1779
- D,
1787
+ $,
1780
1788
  {
1781
1789
  section: "view_sample_report",
1782
- onImpression: L,
1783
- children: a ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
1784
- Na,
1790
+ onImpression: T,
1791
+ children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
1792
+ Ut,
1785
1793
  {
1786
- kundliReportSampleHref: o,
1794
+ kundliReportSampleHref: c,
1787
1795
  analytics: s.analytics,
1788
- s: La(p)
1796
+ s: Bt(d)
1789
1797
  }
1790
1798
  ) }) : /* @__PURE__ */ e.jsx(
1791
- ge,
1799
+ xe,
1792
1800
  {
1793
- t: d,
1794
- pdfUrl: s.sampleReportHref,
1801
+ t: b,
1802
+ pdfUrl: s.sampleReportHref ?? c,
1795
1803
  onClick: s.onViewSampleReport,
1796
1804
  analytics: s.analytics
1797
1805
  }
1798
1806
  )
1799
1807
  }
1800
1808
  ),
1801
- t && /* @__PURE__ */ e.jsx(
1802
- D,
1809
+ a && /* @__PURE__ */ e.jsx(
1810
+ $,
1803
1811
  {
1804
1812
  section: "inline_form",
1805
- onImpression: L,
1806
- children: /* @__PURE__ */ e.jsxs("div", { className: Q.inlineFormWrap, ref: G, children: [
1807
- /* @__PURE__ */ e.jsx(Qe, { t: d, align: "center" }),
1813
+ onImpression: T,
1814
+ children: /* @__PURE__ */ e.jsxs("div", { className: Q.inlineFormWrap, ref: W, children: [
1815
+ /* @__PURE__ */ e.jsx(He, { t: b, align: "center" }),
1808
1816
  /* @__PURE__ */ e.jsx(
1809
- He,
1817
+ Ge,
1810
1818
  {
1811
- t: d,
1819
+ t: b,
1812
1820
  values: g,
1813
- onChange: b,
1814
- phoneIsdCode: B,
1815
- onPhoneIsdCodeChange: ee,
1821
+ onChange: y,
1822
+ phoneIsdCode: Y,
1823
+ onPhoneIsdCodeChange: X,
1816
1824
  showV1ExtraFields: !0,
1817
1825
  analytics: s.analytics
1818
1826
  }
1819
1827
  ),
1820
1828
  /* @__PURE__ */ e.jsx(
1821
- Ge,
1829
+ We,
1822
1830
  {
1823
- t: d,
1831
+ t: b,
1824
1832
  values: g,
1825
- phoneIsdCode: B,
1833
+ phoneIsdCode: Y,
1826
1834
  hideOriginalPrice: !0,
1827
1835
  requireV1ExtraFields: !0,
1828
- onValidationFailed: ue,
1836
+ onValidationFailed: ce,
1829
1837
  onProceed: s.onProceed,
1830
1838
  href: s.proceedHref,
1831
1839
  originalPriceLabel: s.originalPriceLabel,
@@ -1833,40 +1841,40 @@ function Ra({
1833
1841
  analytics: s.analytics,
1834
1842
  className: Q.inlineProceedFooter,
1835
1843
  onProceedGuidance: s.onProceedGuidance,
1836
- showPlanSheet: A,
1837
- confirmPlan: U,
1838
- planSheetOpen: c,
1839
- selectedPlan: v
1844
+ showPlanSheet: H,
1845
+ confirmPlan: D,
1846
+ planSheetOpen: v,
1847
+ selectedPlan: C
1840
1848
  }
1841
1849
  )
1842
1850
  ] })
1843
1851
  }
1844
1852
  ),
1845
1853
  /* @__PURE__ */ e.jsx(
1846
- D,
1854
+ $,
1847
1855
  {
1848
1856
  section: "what_youll_find",
1849
- onImpression: L,
1850
- children: /* @__PURE__ */ e.jsx(Ee, { t: d })
1857
+ onImpression: T,
1858
+ children: /* @__PURE__ */ e.jsx(Ae, { t: b })
1851
1859
  }
1852
1860
  ),
1853
1861
  /* @__PURE__ */ e.jsx(
1854
- D,
1862
+ $,
1855
1863
  {
1856
1864
  section: "why_us",
1857
- onImpression: L,
1858
- children: /* @__PURE__ */ e.jsx(Ae, { t: d })
1865
+ onImpression: T,
1866
+ children: /* @__PURE__ */ e.jsx(De, { t: b })
1859
1867
  }
1860
1868
  ),
1861
1869
  /* @__PURE__ */ e.jsx(
1862
- D,
1870
+ $,
1863
1871
  {
1864
1872
  section: "feedback",
1865
- onImpression: L,
1873
+ onImpression: T,
1866
1874
  children: /* @__PURE__ */ e.jsx(
1867
- De,
1875
+ Ue,
1868
1876
  {
1869
- t: d,
1877
+ t: b,
1870
1878
  readMoreHref: s.readMoreReviewsHref,
1871
1879
  onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
1872
1880
  }
@@ -1874,50 +1882,50 @@ function Ra({
1874
1882
  }
1875
1883
  ),
1876
1884
  /* @__PURE__ */ e.jsx(
1877
- D,
1885
+ $,
1878
1886
  {
1879
1887
  section: "faq",
1880
- onImpression: L,
1881
- children: /* @__PURE__ */ e.jsx(Ue, { t: d })
1888
+ onImpression: T,
1889
+ children: /* @__PURE__ */ e.jsx($e, { t: b })
1882
1890
  }
1883
1891
  ),
1884
1892
  /* @__PURE__ */ e.jsx(
1885
- D,
1893
+ $,
1886
1894
  {
1887
1895
  section: "contact_us",
1888
- onImpression: L,
1889
- children: /* @__PURE__ */ e.jsx($e, { t: d })
1896
+ onImpression: T,
1897
+ children: /* @__PURE__ */ e.jsx(Be, { t: b })
1890
1898
  }
1891
1899
  )
1892
1900
  ] }),
1893
- a ? /* @__PURE__ */ e.jsx(
1894
- ka,
1901
+ t ? /* @__PURE__ */ e.jsx(
1902
+ La,
1895
1903
  {
1896
- isOpen: c,
1897
- onClose: () => j(!1),
1898
- selectedPlan: v,
1899
- onSelectPlan: (l) => T(l),
1904
+ isOpen: v,
1905
+ onClose: () => k(!1),
1906
+ selectedPlan: C,
1907
+ onSelectPlan: (l) => S(l),
1900
1908
  isGlobal: s.isGlobal,
1901
- locale: p,
1902
- onProceed: (l, F, M) => {
1903
- x.current = F, m.current = M, U();
1909
+ locale: d,
1910
+ onProceed: (l, R, M) => {
1911
+ p.current = R, _.current = M, D();
1904
1912
  },
1905
- t: d,
1913
+ t: b,
1906
1914
  analytics: s.analytics,
1907
1915
  oneQuestionSampleHref: r,
1908
1916
  reportLanguage: g.language_code
1909
1917
  }
1910
1918
  ) : /* @__PURE__ */ e.jsx(
1911
- We,
1919
+ ze,
1912
1920
  {
1913
- isOpen: c,
1914
- onClose: () => j(!1),
1915
- selectedPlan: v,
1916
- onSelectPlan: (l) => T(l),
1917
- onProceed: (l, F) => {
1918
- m.current = F, U();
1921
+ isOpen: v,
1922
+ onClose: () => k(!1),
1923
+ selectedPlan: C,
1924
+ onSelectPlan: (l) => S(l),
1925
+ onProceed: (l, R) => {
1926
+ _.current = R, D();
1919
1927
  },
1920
- t: d,
1928
+ t: b,
1921
1929
  analytics: s.analytics,
1922
1930
  enableConsultationScheduling: i
1923
1931
  }
@@ -1926,92 +1934,92 @@ function Ra({
1926
1934
  }
1927
1935
  const Ea = ({
1928
1936
  className: n = "",
1929
- locale: t,
1930
- showLanguageSelector: a = !0,
1937
+ locale: a,
1938
+ showLanguageSelector: t = !0,
1931
1939
  showSheet: i,
1932
1940
  userId: o,
1933
1941
  isGlobal: r,
1934
1942
  initialFormValues: u,
1935
- autoOpenPlanSheet: p,
1936
- googleMapsApiKey: h,
1943
+ autoOpenPlanSheet: d,
1944
+ googleMapsApiKey: m,
1937
1945
  atlasSearchLocalities: s,
1938
1946
  googleMapsAutocompleteEnabled: g,
1939
- enableThreeSkuFlow: b = !1,
1947
+ enableThreeSkuFlow: y = !1,
1940
1948
  enableConsultationScheduling: c = !1,
1941
- fetchConsultationSlots: j,
1942
- kundliReportSampleHref: v,
1943
- oneQuestionSampleHref: T,
1944
- logoUrl: N,
1945
- reportImageUrl: x,
1946
- universityLogoUrls: m,
1947
- sampleReportHref: w,
1948
- onViewSampleReport: C,
1949
+ fetchConsultationSlots: v,
1950
+ kundliReportSampleHref: k,
1951
+ oneQuestionSampleHref: C,
1952
+ logoUrl: S,
1953
+ reportImageUrl: f,
1954
+ universityLogoUrls: p,
1955
+ sampleReportHref: _,
1956
+ onViewSampleReport: P,
1949
1957
  ctaHref: A,
1950
- onCtaClick: U,
1951
- readMoreReviewsHref: S,
1952
- onProceed: $,
1958
+ onCtaClick: H,
1959
+ readMoreReviewsHref: D,
1960
+ onProceed: U,
1953
1961
  proceedHref: B,
1954
- originalPriceLabel: ee,
1955
- discountedPriceLabel: G,
1962
+ originalPriceLabel: Y,
1963
+ discountedPriceLabel: X,
1956
1964
  discountPillLabel: W,
1957
- analytics: z,
1958
- onProceedGuidance: X,
1959
- onLocaleChange: ne,
1960
- resolvedUtmBannerImageUrl: V
1965
+ analytics: G,
1966
+ onProceedGuidance: J,
1967
+ onLocaleChange: te,
1968
+ resolvedUtmBannerImageUrl: z
1961
1969
  }) => /* @__PURE__ */ e.jsx(
1962
1970
  Ce,
1963
1971
  {
1964
- locale: t,
1965
- showLanguageSelector: a,
1972
+ locale: a,
1973
+ showLanguageSelector: t,
1966
1974
  showSheet: i,
1967
1975
  userId: o,
1968
1976
  isGlobal: r,
1969
1977
  variant: "v1",
1970
1978
  initialFormValues: u,
1971
- autoOpenPlanSheet: p,
1972
- googleMapsApiKey: h,
1979
+ autoOpenPlanSheet: d,
1980
+ googleMapsApiKey: m,
1973
1981
  atlasSearchLocalities: s,
1974
1982
  googleMapsAutocompleteEnabled: g,
1975
1983
  enableConsultationScheduling: c,
1976
- fetchConsultationSlots: j,
1977
- logoUrl: N,
1978
- reportImageUrl: x,
1979
- universityLogoUrls: m,
1980
- sampleReportHref: w,
1981
- onViewSampleReport: C,
1984
+ fetchConsultationSlots: v,
1985
+ logoUrl: S,
1986
+ reportImageUrl: f,
1987
+ universityLogoUrls: p,
1988
+ sampleReportHref: _,
1989
+ onViewSampleReport: P,
1982
1990
  ctaHref: A,
1983
- onCtaClick: U,
1984
- readMoreReviewsHref: S,
1985
- onProceed: $,
1986
- onProceedGuidance: X,
1991
+ onCtaClick: H,
1992
+ readMoreReviewsHref: D,
1993
+ onProceed: U,
1994
+ onProceedGuidance: J,
1987
1995
  proceedHref: B,
1988
- originalPriceLabel: ee,
1989
- discountedPriceLabel: G,
1996
+ originalPriceLabel: Y,
1997
+ discountedPriceLabel: X,
1990
1998
  discountPillLabel: W,
1991
- analytics: z,
1992
- onLocaleChange: ne,
1993
- resolvedUtmBannerImageUrl: V,
1999
+ analytics: G,
2000
+ onLocaleChange: te,
2001
+ resolvedUtmBannerImageUrl: z,
1994
2002
  children: /* @__PURE__ */ e.jsx(
1995
- Ra,
2003
+ Fa,
1996
2004
  {
1997
2005
  className: n,
1998
2006
  showInlineForm: !0,
1999
- enableThreeSkuFlow: b,
2007
+ enableThreeSkuFlow: y,
2000
2008
  enableConsultationScheduling: c,
2001
- kundliReportSampleHref: v,
2002
- oneQuestionSampleHref: T
2009
+ kundliReportSampleHref: k,
2010
+ oneQuestionSampleHref: C
2003
2011
  }
2004
2012
  )
2005
2013
  }
2006
- ), $a = ({ variant: n, ...t }) => {
2007
- const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
2008
- return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ea, { ...t }) : /* @__PURE__ */ e.jsx(Ot, { ...t });
2014
+ ), $a = ({ variant: n, ...a }) => {
2015
+ const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
2016
+ return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ea, { ...a }) : /* @__PURE__ */ e.jsx(Ht, { ...a });
2009
2017
  }, Ba = "[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
2018
  export {
2011
2019
  Ba as K,
2012
2020
  Cn as P,
2013
2021
  $a as a,
2014
- Ot as b,
2022
+ Ht as b,
2015
2023
  Ea as c
2016
2024
  };
2017
- //# sourceMappingURL=criticalCss-88cUGBe_.js.map
2025
+ //# sourceMappingURL=criticalCss-CcJyWXO-.js.map