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