@srimandir/kundli-generator 9.6.0 → 9.6.2

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