@srimandir/kundli-generator 5.30.7 → 5.30.8
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.
- package/dist/{analytics-BG38rt5Y.js → analytics-diKNl1eC.js} +97 -87
- package/dist/{analytics-BG38rt5Y.js.map → analytics-diKNl1eC.js.map} +1 -1
- package/dist/analytics.d.ts +28 -0
- package/dist/components/KundliPage/sections/KundliTableSection/KundliTableSection.d.ts +1 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.d.ts +6 -1
- package/dist/criticalCss-BPp6vjGG.js +1831 -0
- package/dist/criticalCss-BPp6vjGG.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +2 -2
- package/dist/criticalCss-B9D0uhTW.js +0 -1786
- package/dist/criticalCss-B9D0uhTW.js.map +0 -1
|
@@ -0,0 +1,1831 @@
|
|
|
1
|
+
import { k as e, h as V, D as te, d as be, j as re, c as De, u as _e, L as se, S as je, l as ye, t as we, C as $e, P as Ae, F as Ue, U as Me, m as Ke, n as Oe } from "./analytics-diKNl1eC.js";
|
|
2
|
+
import { useRef as b, useState as T, useEffect as C, useCallback as B, useMemo as ce } from "react";
|
|
3
|
+
import { UserReviewsSection as Qe, FAQAccordion as Be, ContactUsSection as Ge, FooterShell as He, FooterCTAButton as qe, CircularMarquee as We, footerShellStyles as W } from "@srimandir/astrology-common";
|
|
4
|
+
const ze = "_container_nm3gb_1", Ve = "_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", G = {
|
|
5
|
+
container: ze,
|
|
6
|
+
main: Ve,
|
|
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", rt = "_topicTags_1vvjv_23", it = "_tag_1vvjv_27", Z = {
|
|
14
|
+
hero: nt,
|
|
15
|
+
title: st,
|
|
16
|
+
subtitle: at,
|
|
17
|
+
topicTags: rt,
|
|
18
|
+
tag: it
|
|
19
|
+
}, ot = [
|
|
20
|
+
"topicMarriage",
|
|
21
|
+
"topicRelationship",
|
|
22
|
+
"topicBusiness",
|
|
23
|
+
"topicHealth",
|
|
24
|
+
"topicCareer",
|
|
25
|
+
"topicEducation",
|
|
26
|
+
"topicMoney"
|
|
27
|
+
], ve = ({ t, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Z.hero} ${r}`, "aria-labelledby": "hero-title", children: [
|
|
28
|
+
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Z.title, children: t("heroTitle") }),
|
|
29
|
+
/* @__PURE__ */ e.jsx("p", { className: Z.subtitle, children: t("heroSubtitle") }),
|
|
30
|
+
/* @__PURE__ */ e.jsx("div", { className: Z.topicTags, role: "list", children: ot.map((a) => /* @__PURE__ */ e.jsx("span", { className: Z.tag, role: "listitem", children: t(a) }, a)) })
|
|
31
|
+
] }), lt = "_section_1285h_1", ct = "_backgroundLayer_1285h_9", dt = "_backgroundImg_1285h_16", pt = "_inner_1285h_23", ut = "_content_1285h_29", ht = "_headline_1285h_33", mt = "_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", j = {
|
|
32
|
+
section: lt,
|
|
33
|
+
backgroundLayer: ct,
|
|
34
|
+
backgroundImg: dt,
|
|
35
|
+
inner: pt,
|
|
36
|
+
content: ut,
|
|
37
|
+
headline: ht,
|
|
38
|
+
headlineLine: mt,
|
|
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
|
+
"premiumFeature1",
|
|
48
|
+
"premiumFeature2",
|
|
49
|
+
"premiumFeature3",
|
|
50
|
+
"premiumFeature4"
|
|
51
|
+
], kt = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ne = ({
|
|
52
|
+
t,
|
|
53
|
+
reportImageUrl: r = kt,
|
|
54
|
+
reportImagePriority: a,
|
|
55
|
+
backgroundImagePriority: o = !1,
|
|
56
|
+
analytics: s,
|
|
57
|
+
className: p = ""
|
|
58
|
+
}) => {
|
|
59
|
+
const x = V()?.config.imageComponent ?? te, n = () => {
|
|
60
|
+
s?.trackBannerClicked?.();
|
|
61
|
+
};
|
|
62
|
+
return /* @__PURE__ */ e.jsxs(
|
|
63
|
+
"section",
|
|
64
|
+
{
|
|
65
|
+
className: `${j.section} ${p}`,
|
|
66
|
+
"aria-labelledby": "premium-headline",
|
|
67
|
+
role: "button",
|
|
68
|
+
tabIndex: 0,
|
|
69
|
+
onClick: n,
|
|
70
|
+
"data-hero": !0,
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ e.jsx("div", { className: j.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
|
|
73
|
+
x,
|
|
74
|
+
{
|
|
75
|
+
src: vt,
|
|
76
|
+
alt: "",
|
|
77
|
+
className: j.backgroundImg,
|
|
78
|
+
width: 412,
|
|
79
|
+
height: 215,
|
|
80
|
+
sizes: "(max-width: 768px) 412px, 412px",
|
|
81
|
+
loading: "eager",
|
|
82
|
+
priority: o,
|
|
83
|
+
fetchPriority: "high"
|
|
84
|
+
}
|
|
85
|
+
) }),
|
|
86
|
+
/* @__PURE__ */ e.jsxs("div", { className: j.inner, children: [
|
|
87
|
+
/* @__PURE__ */ e.jsxs("div", { className: j.content, children: [
|
|
88
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: j.headline, children: [
|
|
89
|
+
/* @__PURE__ */ e.jsxs("span", { className: j.headlineLine, children: [
|
|
90
|
+
/* @__PURE__ */ e.jsx("span", { className: j.headlinePill, children: t("premiumHeadlinePill1") }),
|
|
91
|
+
/* @__PURE__ */ e.jsx("span", { className: j.headlinePlain, children: t("premiumHeadlinePlain1") })
|
|
92
|
+
] }),
|
|
93
|
+
/* @__PURE__ */ e.jsxs("span", { className: j.headlineLine, children: [
|
|
94
|
+
/* @__PURE__ */ e.jsx("span", { className: j.headlinePlain, children: t("premiumHeadlinePlain2") }),
|
|
95
|
+
/* @__PURE__ */ e.jsx("span", { className: j.headlinePill, children: t("premiumHeadlinePill2") })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ e.jsxs("span", { className: j.headlineLine, children: [
|
|
98
|
+
/* @__PURE__ */ e.jsx("span", { className: j.headlinePlain, children: t("and") }),
|
|
99
|
+
/* @__PURE__ */ e.jsx("span", { className: j.headlinePill, children: t("astrologyGuidance") })
|
|
100
|
+
] })
|
|
101
|
+
] }),
|
|
102
|
+
/* @__PURE__ */ e.jsx("ul", { className: j.featureList, children: Nt.map((h) => /* @__PURE__ */ e.jsxs("li", { className: j.featureItem, children: [
|
|
103
|
+
/* @__PURE__ */ e.jsx(
|
|
104
|
+
x,
|
|
105
|
+
{
|
|
106
|
+
src: wt,
|
|
107
|
+
alt: "",
|
|
108
|
+
className: j.featureIcon,
|
|
109
|
+
width: 16,
|
|
110
|
+
height: 16,
|
|
111
|
+
loading: "lazy"
|
|
112
|
+
}
|
|
113
|
+
),
|
|
114
|
+
t(h)
|
|
115
|
+
] }, h)) })
|
|
116
|
+
] }),
|
|
117
|
+
/* @__PURE__ */ e.jsx("div", { className: j.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
118
|
+
x,
|
|
119
|
+
{
|
|
120
|
+
src: r,
|
|
121
|
+
alt: "",
|
|
122
|
+
className: j.reportImg,
|
|
123
|
+
width: 120,
|
|
124
|
+
height: 160,
|
|
125
|
+
priority: a,
|
|
126
|
+
fetchPriority: a ? "high" : void 0,
|
|
127
|
+
loading: a ? "eager" : "lazy",
|
|
128
|
+
sizes: "120px"
|
|
129
|
+
}
|
|
130
|
+
) })
|
|
131
|
+
] })
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
}, Ct = "_section_1kxsy_1", Pt = "_heading_1kxsy_6", It = "_logoImg_1kxsy_10", ae = {
|
|
136
|
+
section: Ct,
|
|
137
|
+
heading: Pt,
|
|
138
|
+
logoImg: It
|
|
139
|
+
}, Lt = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", ke = ({
|
|
140
|
+
t,
|
|
141
|
+
logoUrl: r = Lt,
|
|
142
|
+
className: a = ""
|
|
143
|
+
}) => {
|
|
144
|
+
const s = V()?.config.imageComponent ?? te;
|
|
145
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${ae.section} ${a}`, "aria-labelledby": "certified-heading", children: [
|
|
146
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ae.heading, children: t("certifiedBy") }),
|
|
147
|
+
/* @__PURE__ */ e.jsx(
|
|
148
|
+
s,
|
|
149
|
+
{
|
|
150
|
+
src: r,
|
|
151
|
+
alt: "University Certification",
|
|
152
|
+
className: ae.logoImg,
|
|
153
|
+
width: 380,
|
|
154
|
+
height: 70,
|
|
155
|
+
loading: "lazy"
|
|
156
|
+
}
|
|
157
|
+
)
|
|
158
|
+
] });
|
|
159
|
+
}, Ft = "_section_1d9aa_1", Tt = "_heading_1d9aa_6", St = "_subtitle_1d9aa_11", Rt = "_stepList_1d9aa_16", Et = "_stepItem_1d9aa_20", Dt = "_stepNumber_1d9aa_24", $t = "_stepText_1d9aa_30", At = "_step3Days_1d9aa_35", R = {
|
|
160
|
+
section: Ft,
|
|
161
|
+
heading: Tt,
|
|
162
|
+
subtitle: St,
|
|
163
|
+
stepList: Rt,
|
|
164
|
+
stepItem: Et,
|
|
165
|
+
stepNumber: Dt,
|
|
166
|
+
stepText: $t,
|
|
167
|
+
step3Days: At
|
|
168
|
+
}, Ut = ["step1", "step2"], Ce = ({
|
|
169
|
+
t,
|
|
170
|
+
locale: r = "en",
|
|
171
|
+
isGlobal: a = !0,
|
|
172
|
+
className: o = ""
|
|
173
|
+
}) => {
|
|
174
|
+
const s = a ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
175
|
+
return /* @__PURE__ */ e.jsxs(
|
|
176
|
+
"section",
|
|
177
|
+
{
|
|
178
|
+
className: `${R.section} ${o}`,
|
|
179
|
+
"aria-labelledby": "steps-heading",
|
|
180
|
+
children: [
|
|
181
|
+
/* @__PURE__ */ e.jsx("p", { className: R.heading, children: t("yourThreeSteps") }),
|
|
182
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: R.subtitle, children: t("threeStepsSubtitle") }),
|
|
183
|
+
/* @__PURE__ */ e.jsxs("ol", { className: R.stepList, children: [
|
|
184
|
+
Ut.map((p, c) => /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
|
|
185
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: c + 1 }),
|
|
186
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepText, children: t(p) })
|
|
187
|
+
] }, p)),
|
|
188
|
+
/* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
|
|
189
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
190
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.stepText, children: [
|
|
191
|
+
t(s),
|
|
192
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
193
|
+
r === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
194
|
+
"in ",
|
|
195
|
+
/* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: t("step3Days") })
|
|
196
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: t("step3Days") })
|
|
197
|
+
] })
|
|
198
|
+
] })
|
|
199
|
+
] })
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
}, Mt = "_section_1jea1_1", Kt = "_button_1jea1_7", de = {
|
|
204
|
+
section: Mt,
|
|
205
|
+
button: Kt
|
|
206
|
+
}, Ot = "_backdrop_pekod_1", Qt = "_modal_pekod_21", Bt = "_header_pekod_40", Gt = "_title_pekod_49", Ht = "_closeBtn_pekod_56", qt = "_content_pekod_76", Wt = "_pdfFrame_pekod_84", zt = "_pdfPages_pekod_92", Vt = "_pdfError_pekod_97", Yt = "_openInNewTab_pekod_123", A = {
|
|
207
|
+
backdrop: Ot,
|
|
208
|
+
modal: Qt,
|
|
209
|
+
header: Bt,
|
|
210
|
+
title: Gt,
|
|
211
|
+
closeBtn: Ht,
|
|
212
|
+
content: qt,
|
|
213
|
+
pdfFrame: Wt,
|
|
214
|
+
pdfPages: zt,
|
|
215
|
+
pdfError: Vt,
|
|
216
|
+
openInNewTab: Yt
|
|
217
|
+
};
|
|
218
|
+
function Xt(t) {
|
|
219
|
+
typeof t < "u" && t.GlobalWorkerOptions && (t.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${t.version}/build/pdf.worker.min.js`);
|
|
220
|
+
}
|
|
221
|
+
const Jt = ({
|
|
222
|
+
isOpen: t,
|
|
223
|
+
onClose: r,
|
|
224
|
+
title: a,
|
|
225
|
+
pdfUrl: o
|
|
226
|
+
}) => {
|
|
227
|
+
const s = b(null), [p, c] = T(!0), [x, n] = T(null), [h, m] = T(null);
|
|
228
|
+
return C(() => {
|
|
229
|
+
if (!t) return;
|
|
230
|
+
const l = (f) => {
|
|
231
|
+
f.key === "Escape" && r();
|
|
232
|
+
};
|
|
233
|
+
return document.addEventListener("keydown", l), document.body.style.overflow = "hidden", () => {
|
|
234
|
+
document.removeEventListener("keydown", l), document.body.style.overflow = "";
|
|
235
|
+
};
|
|
236
|
+
}, [t, r]), C(() => {
|
|
237
|
+
t && import("pdfjs-dist").then((l) => {
|
|
238
|
+
m(l);
|
|
239
|
+
}).catch((l) => {
|
|
240
|
+
n("Failed to load PDF viewer"), c(!1);
|
|
241
|
+
});
|
|
242
|
+
}, [t]), C(() => {
|
|
243
|
+
if (!t || !o || !s.current || !h) return;
|
|
244
|
+
c(!0), n(null), s.current.innerHTML = "", (async () => {
|
|
245
|
+
try {
|
|
246
|
+
Xt(h);
|
|
247
|
+
const w = await h.getDocument({ url: o }).promise, I = s.current;
|
|
248
|
+
if (!I) return;
|
|
249
|
+
const k = I.clientWidth || 600, g = Math.min(k / 612, 2);
|
|
250
|
+
for (let d = 1; d <= w.numPages; d++) {
|
|
251
|
+
const v = await w.getPage(d), L = v.getViewport({ scale: g }), y = document.createElement("canvas");
|
|
252
|
+
y.height = L.height, y.width = L.width, y.style.display = "block", y.style.margin = "0 auto 1rem", y.style.maxWidth = "100%";
|
|
253
|
+
const S = y.getContext("2d");
|
|
254
|
+
S && await v.render({ canvasContext: S, viewport: L }).promise, I.appendChild(y);
|
|
255
|
+
}
|
|
256
|
+
} catch (f) {
|
|
257
|
+
n(f instanceof Error ? f.message : "Failed to load PDF");
|
|
258
|
+
} finally {
|
|
259
|
+
c(!1);
|
|
260
|
+
}
|
|
261
|
+
})();
|
|
262
|
+
}, [t, o, h]), t ? /* @__PURE__ */ e.jsx(
|
|
263
|
+
"div",
|
|
264
|
+
{
|
|
265
|
+
className: A.backdrop,
|
|
266
|
+
onClick: r,
|
|
267
|
+
role: "dialog",
|
|
268
|
+
"aria-modal": "true",
|
|
269
|
+
"aria-labelledby": "sample-report-modal-title",
|
|
270
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
271
|
+
"div",
|
|
272
|
+
{
|
|
273
|
+
className: A.modal,
|
|
274
|
+
onClick: (l) => l.stopPropagation(),
|
|
275
|
+
children: [
|
|
276
|
+
/* @__PURE__ */ e.jsxs("div", { className: A.header, children: [
|
|
277
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: A.title, children: a }),
|
|
278
|
+
/* @__PURE__ */ e.jsx(
|
|
279
|
+
"button",
|
|
280
|
+
{
|
|
281
|
+
type: "button",
|
|
282
|
+
className: A.closeBtn,
|
|
283
|
+
onClick: r,
|
|
284
|
+
"aria-label": "Close",
|
|
285
|
+
children: "×"
|
|
286
|
+
}
|
|
287
|
+
)
|
|
288
|
+
] }),
|
|
289
|
+
/* @__PURE__ */ e.jsxs("div", { className: A.content, children: [
|
|
290
|
+
/* @__PURE__ */ e.jsxs("div", { className: A.pdfFrame, children: [
|
|
291
|
+
x && /* @__PURE__ */ e.jsxs("div", { className: A.pdfError, children: [
|
|
292
|
+
/* @__PURE__ */ e.jsx("span", { children: x }),
|
|
293
|
+
/* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
294
|
+
] }),
|
|
295
|
+
/* @__PURE__ */ e.jsx("div", { ref: s, className: A.pdfPages })
|
|
296
|
+
] }),
|
|
297
|
+
/* @__PURE__ */ e.jsx(
|
|
298
|
+
"a",
|
|
299
|
+
{
|
|
300
|
+
href: o,
|
|
301
|
+
target: "_blank",
|
|
302
|
+
rel: "noopener noreferrer",
|
|
303
|
+
className: A.openInNewTab,
|
|
304
|
+
children: "Open in new tab"
|
|
305
|
+
}
|
|
306
|
+
)
|
|
307
|
+
] })
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
)
|
|
311
|
+
}
|
|
312
|
+
) : null;
|
|
313
|
+
}, Zt = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Pe = ({
|
|
314
|
+
t,
|
|
315
|
+
pdfUrl: r = Zt,
|
|
316
|
+
onClick: a,
|
|
317
|
+
analytics: o,
|
|
318
|
+
className: s = ""
|
|
319
|
+
}) => {
|
|
320
|
+
const [p, c] = T(!1), x = t("viewSampleReport"), n = t("sampleReportModalTitle"), h = () => {
|
|
321
|
+
o?.trackViewSampleReportClicked?.(), a?.(), c(!0);
|
|
322
|
+
}, m = () => {
|
|
323
|
+
o?.trackViewSampleReportClosed?.(), c(!1);
|
|
324
|
+
};
|
|
325
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${de.section} ${s}`, children: [
|
|
326
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: de.button, onClick: h, children: x }),
|
|
327
|
+
/* @__PURE__ */ e.jsx(
|
|
328
|
+
Jt,
|
|
329
|
+
{
|
|
330
|
+
isOpen: p,
|
|
331
|
+
onClose: m,
|
|
332
|
+
title: n,
|
|
333
|
+
pdfUrl: r
|
|
334
|
+
}
|
|
335
|
+
)
|
|
336
|
+
] });
|
|
337
|
+
}, en = "_section_1ds1w_1", tn = "_heading_1ds1w_5", nn = "_list_1ds1w_10", sn = "_item_1ds1w_17", an = "_imageWrap_1ds1w_21", rn = "_image_1ds1w_21", on = "_imagePlaceholder_1ds1w_30", ln = "_text_1ds1w_36", cn = "_itemTitle_1ds1w_40", dn = "_itemDesc_1ds1w_51", U = {
|
|
338
|
+
section: en,
|
|
339
|
+
heading: tn,
|
|
340
|
+
list: nn,
|
|
341
|
+
item: sn,
|
|
342
|
+
imageWrap: an,
|
|
343
|
+
image: rn,
|
|
344
|
+
imagePlaceholder: on,
|
|
345
|
+
text: ln,
|
|
346
|
+
itemTitle: cn,
|
|
347
|
+
itemDesc: dn
|
|
348
|
+
}, pn = [
|
|
349
|
+
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
350
|
+
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
351
|
+
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
352
|
+
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
353
|
+
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
354
|
+
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
355
|
+
], un = [
|
|
356
|
+
"https://srm-cdn.a4b.io/yoda/1772619204758.webp",
|
|
357
|
+
"https://srm-cdn.a4b.io/yoda/1772619215121.webp",
|
|
358
|
+
"https://srm-cdn.a4b.io/yoda/1772619232241.webp",
|
|
359
|
+
"https://srm-cdn.a4b.io/yoda/1772619253699.webp",
|
|
360
|
+
"https://srm-cdn.a4b.io/yoda/1772619272322.webp",
|
|
361
|
+
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
362
|
+
], Ie = ({
|
|
363
|
+
t,
|
|
364
|
+
imageUrls: r = un,
|
|
365
|
+
className: a = ""
|
|
366
|
+
}) => {
|
|
367
|
+
const s = V()?.config.imageComponent ?? te;
|
|
368
|
+
return /* @__PURE__ */ e.jsxs(
|
|
369
|
+
"section",
|
|
370
|
+
{
|
|
371
|
+
className: `${U.section} ${a}`,
|
|
372
|
+
"aria-labelledby": "find-heading",
|
|
373
|
+
children: [
|
|
374
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: U.heading, children: t("whatYoullFindTitle") }),
|
|
375
|
+
/* @__PURE__ */ e.jsx("ul", { className: U.list, children: pn.map((p, c) => /* @__PURE__ */ e.jsxs("li", { className: U.item, children: [
|
|
376
|
+
/* @__PURE__ */ e.jsx("div", { className: U.imageWrap, children: r[c] ? /* @__PURE__ */ e.jsx(
|
|
377
|
+
s,
|
|
378
|
+
{
|
|
379
|
+
src: r[c],
|
|
380
|
+
alt: "",
|
|
381
|
+
className: U.image,
|
|
382
|
+
width: 96,
|
|
383
|
+
height: 96,
|
|
384
|
+
loading: "lazy",
|
|
385
|
+
sizes: "96px"
|
|
386
|
+
}
|
|
387
|
+
) : /* @__PURE__ */ e.jsx("div", { className: U.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
388
|
+
/* @__PURE__ */ e.jsxs("div", { className: U.text, children: [
|
|
389
|
+
/* @__PURE__ */ e.jsx("h3", { className: U.itemTitle, children: t(p.titleKey) }),
|
|
390
|
+
/* @__PURE__ */ e.jsx("p", { className: U.itemDesc, children: t(p.descKey) })
|
|
391
|
+
] })
|
|
392
|
+
] }, p.titleKey)) })
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
);
|
|
396
|
+
}, hn = "_section_75s76_1", mn = "_heading_75s76_6", xn = "_subtitle_75s76_11", gn = "_list_75s76_16", fn = "_item_75s76_20", ee = {
|
|
397
|
+
section: hn,
|
|
398
|
+
heading: mn,
|
|
399
|
+
subtitle: xn,
|
|
400
|
+
list: gn,
|
|
401
|
+
item: fn
|
|
402
|
+
}, bn = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Le = ({ t, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ee.section} ${r}`, "aria-labelledby": "why-heading", children: [
|
|
403
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: ee.heading, children: t("whyUsTitle") }),
|
|
404
|
+
/* @__PURE__ */ e.jsx("p", { className: ee.subtitle, children: t("whyUsSubtitle") }),
|
|
405
|
+
/* @__PURE__ */ e.jsx("ul", { className: ee.list, children: bn.map((a) => /* @__PURE__ */ e.jsx("li", { className: ee.item, children: t(a) }, a)) })
|
|
406
|
+
] }), _n = "_headingBold_g8xg7_1", jn = {
|
|
407
|
+
headingBold: _n
|
|
408
|
+
}, Fe = ({
|
|
409
|
+
t,
|
|
410
|
+
testimonials: r,
|
|
411
|
+
readMoreHref: a,
|
|
412
|
+
onReadMore: o,
|
|
413
|
+
className: s = "",
|
|
414
|
+
headingClassName: p = jn.headingBold
|
|
415
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
416
|
+
Qe,
|
|
417
|
+
{
|
|
418
|
+
t,
|
|
419
|
+
testimonials: r,
|
|
420
|
+
readMoreHref: a,
|
|
421
|
+
onReadMore: o,
|
|
422
|
+
className: s,
|
|
423
|
+
headingClassName: p
|
|
424
|
+
}
|
|
425
|
+
), yn = "_headingBold_g8xg7_1", wn = {
|
|
426
|
+
headingBold: yn
|
|
427
|
+
}, vn = [
|
|
428
|
+
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
429
|
+
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
430
|
+
], Te = ({
|
|
431
|
+
t,
|
|
432
|
+
className: r = "",
|
|
433
|
+
headingClassName: a = wn.headingBold
|
|
434
|
+
}) => {
|
|
435
|
+
const s = V()?.config.isGlobal ?? !0, p = (c) => c === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : c;
|
|
436
|
+
return /* @__PURE__ */ e.jsx(
|
|
437
|
+
Be,
|
|
438
|
+
{
|
|
439
|
+
t,
|
|
440
|
+
items: vn,
|
|
441
|
+
resolveAnswerKey: p,
|
|
442
|
+
defaultOpenIndex: 1,
|
|
443
|
+
className: r,
|
|
444
|
+
headingClassName: a
|
|
445
|
+
}
|
|
446
|
+
);
|
|
447
|
+
}, pe = "8296947757", ue = "08071174417", he = "pujaseva@appsforbharat.com", Se = ({
|
|
448
|
+
t,
|
|
449
|
+
whatsAppGlobal: r,
|
|
450
|
+
whatsAppDomestic: a,
|
|
451
|
+
email: o,
|
|
452
|
+
brandName: s,
|
|
453
|
+
className: p = ""
|
|
454
|
+
}) => {
|
|
455
|
+
const x = V()?.config.isGlobal ?? !0, n = r ?? pe, h = a ?? ue, m = o ?? he, l = x ? t("contactWhatsAppGlobal").replace(pe, n) : t("contactWhatsAppDomestic").replace(ue, h), f = t("contactEmail").replace(he, m);
|
|
456
|
+
return /* @__PURE__ */ e.jsx(
|
|
457
|
+
Ge,
|
|
458
|
+
{
|
|
459
|
+
title: t("contactTitle"),
|
|
460
|
+
brandName: s ?? t("contactBrandName"),
|
|
461
|
+
whatsAppLine: l,
|
|
462
|
+
emailLine: f,
|
|
463
|
+
className: p
|
|
464
|
+
}
|
|
465
|
+
);
|
|
466
|
+
}, Nn = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", kn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Cn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Pn = ({ t }) => {
|
|
467
|
+
const a = V()?.config.imageComponent ?? te;
|
|
468
|
+
return /* @__PURE__ */ e.jsxs("div", { className: W.marqueeContent, children: [
|
|
469
|
+
/* @__PURE__ */ e.jsxs("span", { className: W.badge, children: [
|
|
470
|
+
/* @__PURE__ */ e.jsx(a, { src: Nn, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
471
|
+
t("ctaKundliCreated")
|
|
472
|
+
] }),
|
|
473
|
+
/* @__PURE__ */ e.jsxs("span", { className: W.badge, children: [
|
|
474
|
+
/* @__PURE__ */ e.jsx(a, { src: kn, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
475
|
+
t("ctaCertified")
|
|
476
|
+
] }),
|
|
477
|
+
/* @__PURE__ */ e.jsxs("span", { className: W.badge, children: [
|
|
478
|
+
/* @__PURE__ */ e.jsx(a, { src: Cn, alt: "", className: W.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
479
|
+
t("ctaSecurePayment")
|
|
480
|
+
] })
|
|
481
|
+
] });
|
|
482
|
+
}, In = ({
|
|
483
|
+
t,
|
|
484
|
+
onCtaClick: r,
|
|
485
|
+
ctaHref: a,
|
|
486
|
+
className: o = ""
|
|
487
|
+
}) => {
|
|
488
|
+
const s = t("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
489
|
+
return /* @__PURE__ */ e.jsx(
|
|
490
|
+
He,
|
|
491
|
+
{
|
|
492
|
+
className: o,
|
|
493
|
+
marquee: /* @__PURE__ */ e.jsx(We, { children: /* @__PURE__ */ e.jsx(Pn, { t }) }),
|
|
494
|
+
children: /* @__PURE__ */ e.jsx(qe, { href: a, onClick: r, children: s })
|
|
495
|
+
}
|
|
496
|
+
);
|
|
497
|
+
}, Ln = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Fn = (t, r) => we[t]?.[r] ?? r, Tn = 112;
|
|
498
|
+
function M({
|
|
499
|
+
section: t,
|
|
500
|
+
children: r,
|
|
501
|
+
onImpression: a
|
|
502
|
+
}) {
|
|
503
|
+
const o = b(null), s = b(!1);
|
|
504
|
+
return C(() => {
|
|
505
|
+
const p = o.current;
|
|
506
|
+
if (!p) return;
|
|
507
|
+
const c = new IntersectionObserver(
|
|
508
|
+
([x]) => {
|
|
509
|
+
!x?.isIntersecting || s.current || (s.current = !0, a(t));
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
threshold: 0.1,
|
|
513
|
+
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
514
|
+
rootMargin: `0px 0px -${Tn}px 0px`
|
|
515
|
+
}
|
|
516
|
+
);
|
|
517
|
+
return c.observe(p), () => c.disconnect();
|
|
518
|
+
}, [t, a]), /* @__PURE__ */ e.jsx("div", { ref: o, children: r });
|
|
519
|
+
}
|
|
520
|
+
function Sn({ className: t }) {
|
|
521
|
+
const { view: r } = re();
|
|
522
|
+
return r === "form" ? /* @__PURE__ */ e.jsx(De, {}) : /* @__PURE__ */ e.jsx(Rn, { className: t });
|
|
523
|
+
}
|
|
524
|
+
function Rn({ className: t }) {
|
|
525
|
+
const r = _e(), {
|
|
526
|
+
locale: a,
|
|
527
|
+
setLocale: o,
|
|
528
|
+
config: s,
|
|
529
|
+
goToForm: p
|
|
530
|
+
} = re(), [c, x] = T(!1), n = b(null), h = b(s.locale), m = b(
|
|
531
|
+
r?.locale
|
|
532
|
+
);
|
|
533
|
+
C(() => {
|
|
534
|
+
s.locale && h.current !== s.locale && o(s.locale), h.current = s.locale;
|
|
535
|
+
}, [s.locale, o]), C(() => {
|
|
536
|
+
if (s.locale) return;
|
|
537
|
+
const d = r?.locale;
|
|
538
|
+
d && m.current !== d && o(d), m.current = d;
|
|
539
|
+
}, [r?.locale, s.locale, o]), C(() => {
|
|
540
|
+
if (!c) return;
|
|
541
|
+
const d = (v) => {
|
|
542
|
+
n.current && !n.current.contains(v.target) && x(!1);
|
|
543
|
+
};
|
|
544
|
+
return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
|
|
545
|
+
}, [c]);
|
|
546
|
+
const l = (d) => Fn(a, d), f = s.showLanguageSelector ?? !0, w = s.imageComponent ?? te, I = f ? /* @__PURE__ */ e.jsxs("div", { className: G.langDropdownWrap, ref: n, children: [
|
|
547
|
+
/* @__PURE__ */ e.jsxs(
|
|
548
|
+
"button",
|
|
549
|
+
{
|
|
550
|
+
type: "button",
|
|
551
|
+
className: G.langTrigger,
|
|
552
|
+
onClick: () => {
|
|
553
|
+
s.analytics?.trackLanguageClickedFe?.({ language: a }), x((d) => !d);
|
|
554
|
+
},
|
|
555
|
+
"aria-expanded": c,
|
|
556
|
+
"aria-haspopup": "listbox",
|
|
557
|
+
id: "kundli-lang",
|
|
558
|
+
"aria-label": l("language"),
|
|
559
|
+
children: [
|
|
560
|
+
/* @__PURE__ */ e.jsx(
|
|
561
|
+
w,
|
|
562
|
+
{
|
|
563
|
+
src: Ln,
|
|
564
|
+
alt: "",
|
|
565
|
+
className: G.langIcon,
|
|
566
|
+
width: 16,
|
|
567
|
+
height: 16,
|
|
568
|
+
loading: "eager"
|
|
569
|
+
}
|
|
570
|
+
),
|
|
571
|
+
/* @__PURE__ */ e.jsx("span", { className: G.langLabel, children: se[a] })
|
|
572
|
+
]
|
|
573
|
+
}
|
|
574
|
+
),
|
|
575
|
+
c && /* @__PURE__ */ e.jsx(
|
|
576
|
+
"ul",
|
|
577
|
+
{
|
|
578
|
+
className: G.langMenu,
|
|
579
|
+
role: "listbox",
|
|
580
|
+
"aria-labelledby": "kundli-lang",
|
|
581
|
+
"aria-activedescendant": `kundli-lang-option-${a}`,
|
|
582
|
+
children: je.map((d) => /* @__PURE__ */ e.jsx(
|
|
583
|
+
"li",
|
|
584
|
+
{
|
|
585
|
+
id: `kundli-lang-option-${d}`,
|
|
586
|
+
role: "option",
|
|
587
|
+
"aria-selected": d === a,
|
|
588
|
+
className: G.langOption,
|
|
589
|
+
onClick: () => {
|
|
590
|
+
s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), o(d), x(!1);
|
|
591
|
+
},
|
|
592
|
+
children: se[d]
|
|
593
|
+
},
|
|
594
|
+
d
|
|
595
|
+
))
|
|
596
|
+
}
|
|
597
|
+
)
|
|
598
|
+
] }) : null, k = (d) => {
|
|
599
|
+
const v = d.currentTarget.innerText?.trim() ?? l("ctaButtonAfter");
|
|
600
|
+
s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v }), p(), s.onCtaClick?.();
|
|
601
|
+
}, g = B(
|
|
602
|
+
(d) => {
|
|
603
|
+
s.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
604
|
+
section: d,
|
|
605
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
606
|
+
});
|
|
607
|
+
},
|
|
608
|
+
[s.analytics]
|
|
609
|
+
);
|
|
610
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${G.container} ${t}`, children: [
|
|
611
|
+
/* @__PURE__ */ e.jsx(
|
|
612
|
+
ye,
|
|
613
|
+
{
|
|
614
|
+
t: l,
|
|
615
|
+
logoUrl: s.logoUrl,
|
|
616
|
+
languageSelector: I
|
|
617
|
+
}
|
|
618
|
+
),
|
|
619
|
+
/* @__PURE__ */ e.jsxs("main", { className: G.main, children: [
|
|
620
|
+
/* @__PURE__ */ e.jsx(
|
|
621
|
+
M,
|
|
622
|
+
{
|
|
623
|
+
section: "hero",
|
|
624
|
+
onImpression: g,
|
|
625
|
+
children: /* @__PURE__ */ e.jsx(ve, { t: l })
|
|
626
|
+
}
|
|
627
|
+
),
|
|
628
|
+
/* @__PURE__ */ e.jsx(
|
|
629
|
+
M,
|
|
630
|
+
{
|
|
631
|
+
section: "premium_report_overview",
|
|
632
|
+
onImpression: g,
|
|
633
|
+
children: /* @__PURE__ */ e.jsx(
|
|
634
|
+
Ne,
|
|
635
|
+
{
|
|
636
|
+
t: l,
|
|
637
|
+
reportImageUrl: s.reportImageUrl,
|
|
638
|
+
reportImagePriority: s.reportImagePriority,
|
|
639
|
+
backgroundImagePriority: s.backgroundImagePriority,
|
|
640
|
+
analytics: s.analytics
|
|
641
|
+
}
|
|
642
|
+
)
|
|
643
|
+
}
|
|
644
|
+
),
|
|
645
|
+
/* @__PURE__ */ e.jsx(
|
|
646
|
+
M,
|
|
647
|
+
{
|
|
648
|
+
section: "university_certification",
|
|
649
|
+
onImpression: g,
|
|
650
|
+
children: /* @__PURE__ */ e.jsx(
|
|
651
|
+
ke,
|
|
652
|
+
{
|
|
653
|
+
t: l,
|
|
654
|
+
logoUrl: s.universityLogoUrls?.find((d) => !!d)
|
|
655
|
+
}
|
|
656
|
+
)
|
|
657
|
+
}
|
|
658
|
+
),
|
|
659
|
+
/* @__PURE__ */ e.jsx(
|
|
660
|
+
M,
|
|
661
|
+
{
|
|
662
|
+
section: "three_steps_process",
|
|
663
|
+
onImpression: g,
|
|
664
|
+
children: /* @__PURE__ */ e.jsx(Ce, { t: l, locale: a, isGlobal: s.isGlobal })
|
|
665
|
+
}
|
|
666
|
+
),
|
|
667
|
+
/* @__PURE__ */ e.jsx(
|
|
668
|
+
M,
|
|
669
|
+
{
|
|
670
|
+
section: "view_sample_report",
|
|
671
|
+
onImpression: g,
|
|
672
|
+
children: /* @__PURE__ */ e.jsx(
|
|
673
|
+
Pe,
|
|
674
|
+
{
|
|
675
|
+
t: l,
|
|
676
|
+
pdfUrl: s.sampleReportHref,
|
|
677
|
+
onClick: s.onViewSampleReport,
|
|
678
|
+
analytics: s.analytics
|
|
679
|
+
}
|
|
680
|
+
)
|
|
681
|
+
}
|
|
682
|
+
),
|
|
683
|
+
/* @__PURE__ */ e.jsx(
|
|
684
|
+
M,
|
|
685
|
+
{
|
|
686
|
+
section: "what_youll_find",
|
|
687
|
+
onImpression: g,
|
|
688
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: l })
|
|
689
|
+
}
|
|
690
|
+
),
|
|
691
|
+
/* @__PURE__ */ e.jsx(
|
|
692
|
+
M,
|
|
693
|
+
{
|
|
694
|
+
section: "why_us",
|
|
695
|
+
onImpression: g,
|
|
696
|
+
children: /* @__PURE__ */ e.jsx(Le, { t: l })
|
|
697
|
+
}
|
|
698
|
+
),
|
|
699
|
+
/* @__PURE__ */ e.jsx(
|
|
700
|
+
M,
|
|
701
|
+
{
|
|
702
|
+
section: "feedback",
|
|
703
|
+
onImpression: g,
|
|
704
|
+
children: /* @__PURE__ */ e.jsx(
|
|
705
|
+
Fe,
|
|
706
|
+
{
|
|
707
|
+
t: l,
|
|
708
|
+
readMoreHref: s.readMoreReviewsHref,
|
|
709
|
+
onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
|
|
710
|
+
}
|
|
711
|
+
)
|
|
712
|
+
}
|
|
713
|
+
),
|
|
714
|
+
/* @__PURE__ */ e.jsx(
|
|
715
|
+
M,
|
|
716
|
+
{
|
|
717
|
+
section: "faq",
|
|
718
|
+
onImpression: g,
|
|
719
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: l })
|
|
720
|
+
}
|
|
721
|
+
),
|
|
722
|
+
/* @__PURE__ */ e.jsx(
|
|
723
|
+
M,
|
|
724
|
+
{
|
|
725
|
+
section: "contact_us",
|
|
726
|
+
onImpression: g,
|
|
727
|
+
children: /* @__PURE__ */ e.jsx(Se, { t: l })
|
|
728
|
+
}
|
|
729
|
+
)
|
|
730
|
+
] }),
|
|
731
|
+
/* @__PURE__ */ e.jsx(
|
|
732
|
+
In,
|
|
733
|
+
{
|
|
734
|
+
t: l,
|
|
735
|
+
ctaHref: s.ctaHref,
|
|
736
|
+
onCtaClick: s.ctaHref ? void 0 : k
|
|
737
|
+
}
|
|
738
|
+
)
|
|
739
|
+
] });
|
|
740
|
+
}
|
|
741
|
+
const En = ({
|
|
742
|
+
className: t = "",
|
|
743
|
+
locale: r,
|
|
744
|
+
showLanguageSelector: a = !0,
|
|
745
|
+
showSheet: o,
|
|
746
|
+
userId: s,
|
|
747
|
+
isGlobal: p,
|
|
748
|
+
atlasSearchLocalities: c,
|
|
749
|
+
logoUrl: x,
|
|
750
|
+
reportImageUrl: n,
|
|
751
|
+
universityLogoUrls: h,
|
|
752
|
+
sampleReportHref: m,
|
|
753
|
+
onViewSampleReport: l,
|
|
754
|
+
ctaHref: f,
|
|
755
|
+
onCtaClick: w,
|
|
756
|
+
readMoreReviewsHref: I,
|
|
757
|
+
onProceed: k,
|
|
758
|
+
onProceedGuidance: g,
|
|
759
|
+
proceedHref: d,
|
|
760
|
+
originalPriceLabel: v,
|
|
761
|
+
discountedPriceLabel: L,
|
|
762
|
+
discountPillLabel: y,
|
|
763
|
+
analytics: S,
|
|
764
|
+
onLocaleChange: O
|
|
765
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
766
|
+
be,
|
|
767
|
+
{
|
|
768
|
+
locale: r,
|
|
769
|
+
showLanguageSelector: a,
|
|
770
|
+
showSheet: o,
|
|
771
|
+
userId: s,
|
|
772
|
+
isGlobal: p,
|
|
773
|
+
atlasSearchLocalities: c,
|
|
774
|
+
logoUrl: x,
|
|
775
|
+
reportImageUrl: n,
|
|
776
|
+
universityLogoUrls: h,
|
|
777
|
+
sampleReportHref: m,
|
|
778
|
+
onViewSampleReport: l,
|
|
779
|
+
ctaHref: f,
|
|
780
|
+
onCtaClick: w,
|
|
781
|
+
readMoreReviewsHref: I,
|
|
782
|
+
onProceed: k,
|
|
783
|
+
onProceedGuidance: g,
|
|
784
|
+
proceedHref: d,
|
|
785
|
+
originalPriceLabel: v,
|
|
786
|
+
discountedPriceLabel: L,
|
|
787
|
+
discountPillLabel: y,
|
|
788
|
+
analytics: S,
|
|
789
|
+
onLocaleChange: O,
|
|
790
|
+
children: /* @__PURE__ */ e.jsx(Sn, { className: t })
|
|
791
|
+
}
|
|
792
|
+
), Dn = "_container_1b9qe_1", $n = "_main_1b9qe_6", An = "_langDropdownWrap_1b9qe_12", Un = "_langTrigger_1b9qe_16", Mn = "_langIcon_1b9qe_28", Kn = "_langLabel_1b9qe_35", On = "_langMenu_1b9qe_40", Qn = "_langOption_1b9qe_46", Bn = "_inlineFormWrap_1b9qe_57", Gn = "_inlineProceedFooter_1b9qe_74", K = {
|
|
793
|
+
container: Dn,
|
|
794
|
+
main: $n,
|
|
795
|
+
langDropdownWrap: An,
|
|
796
|
+
langTrigger: Un,
|
|
797
|
+
langIcon: Mn,
|
|
798
|
+
langLabel: Kn,
|
|
799
|
+
langMenu: On,
|
|
800
|
+
langOption: Qn,
|
|
801
|
+
inlineFormWrap: Bn,
|
|
802
|
+
inlineProceedFooter: Gn
|
|
803
|
+
}, Hn = "_card_62fy9_1", qn = "_top_62fy9_15", Wn = "_avatar_62fy9_21", zn = "_avatarPlaceholder_62fy9_38", Vn = "_basicInfo_62fy9_44", Yn = "_name_62fy9_51", Xn = "_exp_62fy9_61", Jn = "_langs_62fy9_62", Zn = "_divider_62fy9_69", es = "_certList_62fy9_75", ts = "_certItem_62fy9_81", ns = "_bullet_62fy9_90", E = {
|
|
804
|
+
card: Hn,
|
|
805
|
+
top: qn,
|
|
806
|
+
avatar: Wn,
|
|
807
|
+
avatarPlaceholder: zn,
|
|
808
|
+
basicInfo: Vn,
|
|
809
|
+
name: Yn,
|
|
810
|
+
exp: Xn,
|
|
811
|
+
langs: Jn,
|
|
812
|
+
divider: Zn,
|
|
813
|
+
certList: es,
|
|
814
|
+
certItem: ts,
|
|
815
|
+
bullet: ns
|
|
816
|
+
}, ss = ({ astrologer: t, t: r }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
|
|
817
|
+
/* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
|
|
818
|
+
/* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: t.imageUrl, alt: r?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
819
|
+
/* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
|
|
820
|
+
/* @__PURE__ */ e.jsx("p", { className: E.name, children: r?.(t.name) ?? t.name }),
|
|
821
|
+
/* @__PURE__ */ e.jsx("p", { className: E.exp, children: r?.(t.experience) ?? t.experience }),
|
|
822
|
+
t.languages && t.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: t.languages.map((a) => r?.(a) ?? a).join(" • ") })
|
|
823
|
+
] })
|
|
824
|
+
] }),
|
|
825
|
+
/* @__PURE__ */ e.jsx("div", { className: E.divider }),
|
|
826
|
+
/* @__PURE__ */ e.jsx("div", { className: E.certList, children: t.certifications.map((a, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
|
|
827
|
+
/* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
|
|
828
|
+
" ",
|
|
829
|
+
r?.(a) ?? a
|
|
830
|
+
] }, o)) })
|
|
831
|
+
] }), Re = [
|
|
832
|
+
{
|
|
833
|
+
id: "samiksha",
|
|
834
|
+
name: "Astro Samiksha",
|
|
835
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1781123256347.webp",
|
|
836
|
+
experience: "21+ Years of experience",
|
|
837
|
+
languages: ["Hindi", "English", "Telugu"],
|
|
838
|
+
certifications: [
|
|
839
|
+
"Certified Jyotish Acharya",
|
|
840
|
+
"Guaranteed accurate solutions"
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
id: "jyoti",
|
|
845
|
+
name: "Astro Sadhana",
|
|
846
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1781123290643.webp",
|
|
847
|
+
experience: "21+ Years of experience",
|
|
848
|
+
languages: ["Hindi", "English", "Telugu"],
|
|
849
|
+
certifications: [
|
|
850
|
+
"25+ Years Vedic Astrology",
|
|
851
|
+
"Result-Oriented Spiritual Guidance"
|
|
852
|
+
]
|
|
853
|
+
}
|
|
854
|
+
], me = {
|
|
855
|
+
en: {
|
|
856
|
+
planSheetTitle: "Choose your Kundli Plan",
|
|
857
|
+
planProceedToPayment: "Proceed to Payment",
|
|
858
|
+
planAstrologerHeading: "Top astrologers who will consult you",
|
|
859
|
+
planMostPopular: "Most popular",
|
|
860
|
+
planNameBasic: "Kundli Report",
|
|
861
|
+
planNameQuestion: "Kundli + 1 Question",
|
|
862
|
+
planNameGuidance: "Kundli + Consultation",
|
|
863
|
+
planSaveLabel: "Save ~25%",
|
|
864
|
+
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
865
|
+
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
866
|
+
planFeatureClearLanguage: "Clear, easy-to-understand language by expert astrologers",
|
|
867
|
+
planFeatureAstrologyConsultant: "Astrology consultant",
|
|
868
|
+
planFeaturePersonalizedReading: "Personalized reading",
|
|
869
|
+
planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
|
|
870
|
+
planFeatureExpertAnswers: "PLUS: Expert Astrologer will answer your question in detail and suggest actionable remedies",
|
|
871
|
+
planFeatureFollowUpQuestions: "Go deeper into asking follow up questions",
|
|
872
|
+
planFeatureNoConsultation: "No personal consultation call",
|
|
873
|
+
planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
|
|
874
|
+
planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
|
|
875
|
+
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
876
|
+
planQuestionLabel: "Ask your Question",
|
|
877
|
+
planQuestionHeader: "Ask our top astrologers",
|
|
878
|
+
planQuestionPlaceholder: "Ask follow up question",
|
|
879
|
+
planQuestionHint: "Please enter your question to continue.",
|
|
880
|
+
planQuestionChip1: "When will I get married?",
|
|
881
|
+
planQuestionChip2: "Will my marriage be love, arranged, or both?",
|
|
882
|
+
planQuestionChip3: "Is there any Dosha in my Kundli?",
|
|
883
|
+
planQuestionChip4: "Is my current relationship right for me?",
|
|
884
|
+
planAstrologerExp: "{{years}} Years of experience"
|
|
885
|
+
},
|
|
886
|
+
hi: {
|
|
887
|
+
planSheetTitle: "अपनी कुंडली प्लान चुनें",
|
|
888
|
+
planProceedToPayment: "पेमेंट करें",
|
|
889
|
+
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
890
|
+
planMostPopular: "सबसे लोकप्रिय",
|
|
891
|
+
planNameBasic: "कुंडली रिपोर्ट",
|
|
892
|
+
planNameQuestion: "कुंडली + 1 सवाल",
|
|
893
|
+
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
894
|
+
planSaveLabel: "~25% बचाएं",
|
|
895
|
+
planFeatureDetailedInsights: "प्यार, विवाह, करियर, स्वास्थ्य और वित्त पर गहरी जानकारी",
|
|
896
|
+
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्रों जैसे व्यावहारिक उपाय",
|
|
897
|
+
planFeatureClearLanguage: "विशेषज्ञ ज्योतिषियों द्वारा स्पष्ट और आसान भाषा में",
|
|
898
|
+
planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
|
|
899
|
+
planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
|
|
900
|
+
planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
|
|
901
|
+
planFeatureExpertAnswers: "PLUS: विशेषज्ञ ज्योतिषी आपके सवाल का विस्तार से जवाब देंगे और समाधान बताएंगे",
|
|
902
|
+
planFeatureFollowUpQuestions: "आगे के सवाल पूछने की सुविधा",
|
|
903
|
+
planFeatureNoConsultation: "कोई व्यक्तिगत परामर्श कॉल नहीं",
|
|
904
|
+
planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
|
|
905
|
+
planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
|
|
906
|
+
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
907
|
+
planQuestionLabel: "अपना सवाल पूछें",
|
|
908
|
+
planQuestionHeader: "अपने सवाल हमारे टॉप ज्योतिषियों से पूछें",
|
|
909
|
+
planQuestionPlaceholder: "फॉलो अप सवाल लिखें",
|
|
910
|
+
planQuestionHint: "जारी रखने के लिए अपना सवाल लिखें।",
|
|
911
|
+
planQuestionChip1: "मेरी शादी कब होगी?",
|
|
912
|
+
planQuestionChip2: "मेरी शादी प्रेम, अरेंज, या दोनों में से कैसी होगी?",
|
|
913
|
+
planQuestionChip3: "क्या मेरी कुंडली में कोई दोष है?",
|
|
914
|
+
planQuestionChip4: "क्या मेरा मौजूदा रिश्ता मेरे लिए सही है?",
|
|
915
|
+
planAstrologerExp: "साल का अनुभव"
|
|
916
|
+
}
|
|
917
|
+
}, as = (t) => [
|
|
918
|
+
{
|
|
919
|
+
id: "kundli-report",
|
|
920
|
+
title: "planNameBasic",
|
|
921
|
+
price: t ? "$25" : "₹499",
|
|
922
|
+
features: [
|
|
923
|
+
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
924
|
+
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
925
|
+
{ text: "planFeatureClearLanguage", included: !0 },
|
|
926
|
+
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
927
|
+
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
id: "kundli-report-question",
|
|
932
|
+
title: "planNameQuestion",
|
|
933
|
+
price: t ? "$31" : "₹749",
|
|
934
|
+
supportsQuestion: !0,
|
|
935
|
+
features: [
|
|
936
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
937
|
+
{ text: "planFeatureExpertAnswers", included: !0 },
|
|
938
|
+
{ text: "planFeatureFollowUpQuestions", included: !0 },
|
|
939
|
+
{ text: "planFeatureNoConsultation", included: !1 }
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
id: "kundli-report-astrologer",
|
|
944
|
+
title: "planNameGuidance",
|
|
945
|
+
price: t ? "$41" : "₹999",
|
|
946
|
+
originalPrice: t ? "$25+$25" : "₹499+₹850",
|
|
947
|
+
savingsLabel: "planSaveLabel",
|
|
948
|
+
badge: "planMostPopular",
|
|
949
|
+
features: [
|
|
950
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
951
|
+
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
952
|
+
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
953
|
+
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
954
|
+
],
|
|
955
|
+
astrologers: Re.filter(
|
|
956
|
+
(a) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(a.id)
|
|
957
|
+
)
|
|
958
|
+
}
|
|
959
|
+
], xe = [
|
|
960
|
+
"planQuestionChip1",
|
|
961
|
+
"planQuestionChip2",
|
|
962
|
+
"planQuestionChip3",
|
|
963
|
+
"planQuestionChip4"
|
|
964
|
+
];
|
|
965
|
+
Re.slice(0, 3).map((t) => ({
|
|
966
|
+
id: t.id,
|
|
967
|
+
imageUrl: t.imageUrl,
|
|
968
|
+
name: t.name
|
|
969
|
+
}));
|
|
970
|
+
const rs = 5e3, is = 84, os = () => /* @__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" }) }), ls = () => /* @__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" }) }), cs = () => /* @__PURE__ */ e.jsxs(
|
|
971
|
+
"svg",
|
|
972
|
+
{
|
|
973
|
+
width: "14",
|
|
974
|
+
height: "14",
|
|
975
|
+
viewBox: "0 0 24 24",
|
|
976
|
+
fill: "none",
|
|
977
|
+
stroke: "currentColor",
|
|
978
|
+
strokeWidth: "2.5",
|
|
979
|
+
strokeLinecap: "round",
|
|
980
|
+
strokeLinejoin: "round",
|
|
981
|
+
"aria-hidden": !0,
|
|
982
|
+
children: [
|
|
983
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
984
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
985
|
+
]
|
|
986
|
+
}
|
|
987
|
+
), ds = ({
|
|
988
|
+
isOpen: t,
|
|
989
|
+
onClose: r,
|
|
990
|
+
selectedPlan: a,
|
|
991
|
+
onSelectPlan: o,
|
|
992
|
+
plans: s,
|
|
993
|
+
onProceed: p,
|
|
994
|
+
locale: c = "en",
|
|
995
|
+
t: x,
|
|
996
|
+
analytics: n,
|
|
997
|
+
isGlobal: h = !0
|
|
998
|
+
}) => {
|
|
999
|
+
const m = B((i) => (me[c] ?? me.en)[i] ?? x?.(i) ?? i, [c, x]), l = ce(() => s ?? as(h), [s, h]), f = a?.id || l.find((i) => i.badge)?.id || l[0]?.id || "", w = b(null), I = b(null), k = b(!1), [g, d] = T(""), [v, L] = T("custom"), [y, S] = T(null), [O, H] = T(!1), q = b(!1), Q = b("keyboard_focus"), Y = b(null), N = ce(() => l.find((i) => i.id === f) ?? l[0], [l, f]), _ = B(
|
|
1000
|
+
(i) => i.id === "kundli-report-question" ? "report_question" : i.id === "kundli-report-astrologer" ? "report_consultation" : "report",
|
|
1001
|
+
[]
|
|
1002
|
+
), ie = B((i) => i?.trim().startsWith("$") ? "USD" : "INR", []), $ = !!N?.supportsQuestion, P = !$ || g.trim().length > 0, ne = B(() => {
|
|
1003
|
+
const i = Y.current;
|
|
1004
|
+
i && (i.style.height = "auto", i.style.height = Math.min(i.scrollHeight, is) + "px");
|
|
1005
|
+
}, []);
|
|
1006
|
+
C(() => {
|
|
1007
|
+
if (t) {
|
|
1008
|
+
if (!a) {
|
|
1009
|
+
const i = l.find((F) => F.badge) ?? l[0];
|
|
1010
|
+
i && o(i);
|
|
1011
|
+
}
|
|
1012
|
+
k.current || (n?.trackPlanPageViewed?.(), k.current = !0);
|
|
1013
|
+
} else
|
|
1014
|
+
k.current = !1;
|
|
1015
|
+
}, [t, l, a, o, n]), C(() => {
|
|
1016
|
+
q.current = !1;
|
|
1017
|
+
}, [f]);
|
|
1018
|
+
const u = () => {
|
|
1019
|
+
n?.trackPlanPageClosed?.(), r();
|
|
1020
|
+
};
|
|
1021
|
+
C(() => {
|
|
1022
|
+
if (!t) return;
|
|
1023
|
+
const i = document.body.style.overflow;
|
|
1024
|
+
return document.body.style.overflow = "hidden", () => {
|
|
1025
|
+
document.body.style.overflow = i;
|
|
1026
|
+
};
|
|
1027
|
+
}, [t]);
|
|
1028
|
+
const z = (i) => {
|
|
1029
|
+
q.current || (q.current = !0, n?.trackQuestionTextboxClicked?.({
|
|
1030
|
+
entry_method: i,
|
|
1031
|
+
textbox_empty: g.length === 0
|
|
1032
|
+
}));
|
|
1033
|
+
}, X = (i) => {
|
|
1034
|
+
const F = i.target.value.slice(0, rs);
|
|
1035
|
+
v === "chip" && F !== m(xe[y ?? 0]) && L("chip_edited"), d(F), ne(), O && H(!1);
|
|
1036
|
+
}, J = (i, F) => {
|
|
1037
|
+
const le = m(i), Ee = g.length > 0 && v !== "chip";
|
|
1038
|
+
n?.trackPreSuggestedQuestionSelected?.({
|
|
1039
|
+
question_text_loaded: le,
|
|
1040
|
+
chip_index: F,
|
|
1041
|
+
previous_chip_index: y,
|
|
1042
|
+
user_had_custom_text: Ee
|
|
1043
|
+
}), d(le), L("chip"), S(F), setTimeout(ne, 0);
|
|
1044
|
+
}, oe = () => {
|
|
1045
|
+
if (N) {
|
|
1046
|
+
if ($ && !g.trim()) {
|
|
1047
|
+
H(!0);
|
|
1048
|
+
return;
|
|
1049
|
+
}
|
|
1050
|
+
n?.trackPlanProceedClicked?.({
|
|
1051
|
+
planId: N.id,
|
|
1052
|
+
planName: N.title,
|
|
1053
|
+
sku_type: _(N),
|
|
1054
|
+
price: N.price,
|
|
1055
|
+
currency: ie(N.price),
|
|
1056
|
+
question_asked: $ ? !0 : void 0,
|
|
1057
|
+
question_text: $ ? g.trim() : void 0,
|
|
1058
|
+
question_source: $ ? v : void 0
|
|
1059
|
+
}), p(
|
|
1060
|
+
N,
|
|
1061
|
+
$ ? g.trim() : void 0,
|
|
1062
|
+
$ ? v : void 0
|
|
1063
|
+
), r();
|
|
1064
|
+
}
|
|
1065
|
+
};
|
|
1066
|
+
return t ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1067
|
+
/* @__PURE__ */ e.jsx("style", { children: `
|
|
1068
|
+
@keyframes three-sku-slide-up {
|
|
1069
|
+
from { transform: translateY(100%); opacity: 0; }
|
|
1070
|
+
to { transform: translateY(0); opacity: 1; }
|
|
1071
|
+
}
|
|
1072
|
+
@keyframes three-sku-shimmer {
|
|
1073
|
+
0% { left: -75%; }
|
|
1074
|
+
60% { left: 125%; }
|
|
1075
|
+
100% { left: 125%; }
|
|
1076
|
+
}
|
|
1077
|
+
` }),
|
|
1078
|
+
/* @__PURE__ */ e.jsx(
|
|
1079
|
+
"div",
|
|
1080
|
+
{
|
|
1081
|
+
className: "fixed inset-0 z-[1000] flex items-end justify-center",
|
|
1082
|
+
role: "dialog",
|
|
1083
|
+
"aria-modal": "true",
|
|
1084
|
+
"aria-label": m("planSheetTitle"),
|
|
1085
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
1086
|
+
"div",
|
|
1087
|
+
{
|
|
1088
|
+
ref: w,
|
|
1089
|
+
className: "pt-8 w-full max-w-[480px] h-dvh max-h-dvh bg-white flex flex-col overflow-hidden",
|
|
1090
|
+
style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
|
|
1091
|
+
children: [
|
|
1092
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
|
|
1093
|
+
/* @__PURE__ */ e.jsx(
|
|
1094
|
+
"button",
|
|
1095
|
+
{
|
|
1096
|
+
type: "button",
|
|
1097
|
+
onClick: u,
|
|
1098
|
+
"aria-label": "Go back",
|
|
1099
|
+
className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
|
|
1100
|
+
children: /* @__PURE__ */ e.jsx($e, {})
|
|
1101
|
+
}
|
|
1102
|
+
),
|
|
1103
|
+
/* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: m("planSheetTitle") })
|
|
1104
|
+
] }),
|
|
1105
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: I, children: [
|
|
1106
|
+
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-5 text-[16px] font-bold leading-snug text-gray-900", children: m(N?.title ?? "") }),
|
|
1107
|
+
/* @__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: N && /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: N.features.map((i, F) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
|
|
1108
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: i.included ? /* @__PURE__ */ e.jsx(os, {}) : /* @__PURE__ */ e.jsx(ls, {}) }),
|
|
1109
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-[1.4] text-gray-700", children: m(i.text) })
|
|
1110
|
+
] }, F)) }) }),
|
|
1111
|
+
$ && /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
|
|
1112
|
+
/* @__PURE__ */ e.jsx(
|
|
1113
|
+
"div",
|
|
1114
|
+
{
|
|
1115
|
+
className: "w-full h-px mb-2",
|
|
1116
|
+
style: {
|
|
1117
|
+
backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
),
|
|
1121
|
+
/* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
|
|
1122
|
+
m("planQuestionLabel"),
|
|
1123
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
|
|
1124
|
+
] }),
|
|
1125
|
+
/* @__PURE__ */ e.jsx(
|
|
1126
|
+
"textarea",
|
|
1127
|
+
{
|
|
1128
|
+
id: "kundli-question",
|
|
1129
|
+
ref: Y,
|
|
1130
|
+
className: "w-full h-[100px] max-h-[100px] resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] px-6 pt-8 pb-4 text-left 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",
|
|
1131
|
+
placeholder: m("planQuestionPlaceholder"),
|
|
1132
|
+
value: g,
|
|
1133
|
+
onPointerDown: () => {
|
|
1134
|
+
Q.current = "tap";
|
|
1135
|
+
},
|
|
1136
|
+
onFocus: () => {
|
|
1137
|
+
z(Q.current), Q.current = "keyboard_focus";
|
|
1138
|
+
},
|
|
1139
|
+
onChange: X,
|
|
1140
|
+
rows: 1
|
|
1141
|
+
}
|
|
1142
|
+
),
|
|
1143
|
+
/* @__PURE__ */ e.jsx("div", { className: "grid grid-rows-2 grid-flow-col auto-cols-max gap-2 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: xe.map((i, F) => /* @__PURE__ */ e.jsx(
|
|
1144
|
+
"button",
|
|
1145
|
+
{
|
|
1146
|
+
type: "button",
|
|
1147
|
+
className: "inline-flex w-auto px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-[12px] font-medium cursor-pointer text-left whitespace-nowrap active:opacity-70 transition-opacity",
|
|
1148
|
+
onClick: () => J(i, F),
|
|
1149
|
+
children: m(i)
|
|
1150
|
+
},
|
|
1151
|
+
i
|
|
1152
|
+
)) })
|
|
1153
|
+
] }),
|
|
1154
|
+
N?.astrologers && N.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1155
|
+
/* @__PURE__ */ e.jsx(
|
|
1156
|
+
"div",
|
|
1157
|
+
{
|
|
1158
|
+
className: "w-full h-px my-3",
|
|
1159
|
+
style: {
|
|
1160
|
+
backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
),
|
|
1164
|
+
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-sm font-semibold text-gray-500", children: m("planAstrologerHeading") }),
|
|
1165
|
+
/* @__PURE__ */ e.jsx(
|
|
1166
|
+
"div",
|
|
1167
|
+
{
|
|
1168
|
+
className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1169
|
+
role: "list",
|
|
1170
|
+
children: N.astrologers.map((i, F) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ss, { astrologer: i, t: m }) }, F))
|
|
1171
|
+
}
|
|
1172
|
+
)
|
|
1173
|
+
] })
|
|
1174
|
+
] }),
|
|
1175
|
+
/* @__PURE__ */ e.jsxs(
|
|
1176
|
+
"div",
|
|
1177
|
+
{
|
|
1178
|
+
className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5]",
|
|
1179
|
+
style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
|
|
1180
|
+
children: [
|
|
1181
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-4 pb-3 overflow-visible", role: "radiogroup", "aria-label": "Select plan", children: l.map((i) => /* @__PURE__ */ e.jsxs(
|
|
1182
|
+
"button",
|
|
1183
|
+
{
|
|
1184
|
+
type: "button",
|
|
1185
|
+
role: "radio",
|
|
1186
|
+
"aria-checked": i.id === f,
|
|
1187
|
+
className: [
|
|
1188
|
+
"flex-1 relative overflow-visible flex flex-col items-center justify-center gap-1 px-1 py-3 min-h-[125px] min-w-[106px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors",
|
|
1189
|
+
i.id === f ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
|
|
1190
|
+
].join(" "),
|
|
1191
|
+
onClick: () => {
|
|
1192
|
+
i.id !== f && (n?.trackPlanSelected?.({
|
|
1193
|
+
planId: i.id,
|
|
1194
|
+
planName: i.title,
|
|
1195
|
+
sku_type: _(i)
|
|
1196
|
+
}), o(i));
|
|
1197
|
+
},
|
|
1198
|
+
children: [
|
|
1199
|
+
i.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[14px] 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", children: [
|
|
1200
|
+
/* @__PURE__ */ e.jsx(cs, {}),
|
|
1201
|
+
m(i.badge)
|
|
1202
|
+
] }),
|
|
1203
|
+
/* @__PURE__ */ e.jsx("span", { className: `text-[14px] leading-snug ${i.id === f ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`, children: m(i.title) }),
|
|
1204
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: i.price })
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
i.id
|
|
1208
|
+
)) }),
|
|
1209
|
+
O && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: m("planQuestionHint") }),
|
|
1210
|
+
/* @__PURE__ */ e.jsxs(
|
|
1211
|
+
"button",
|
|
1212
|
+
{
|
|
1213
|
+
className: [
|
|
1214
|
+
"relative overflow-hidden w-full h-[50px] rounded-[14px] border-0 text-white text-[17px] font-bold cursor-pointer flex items-center justify-center transition-all duration-200",
|
|
1215
|
+
P ? "bg-gradient-to-b from-[#F97316] to-[#EA580C] shadow-[0_6px_14px_rgba(234,88,12,0.25)] hover:from-[#fb923c] hover:to-[#f97316] active:scale-[0.98] active:shadow-[0_3px_8px_rgba(234,88,12,0.2)]" : "bg-gray-300 text-gray-400 shadow-none cursor-not-allowed"
|
|
1216
|
+
].join(" "),
|
|
1217
|
+
style: { fontFamily: "inherit" },
|
|
1218
|
+
"aria-disabled": !P,
|
|
1219
|
+
onClick: oe,
|
|
1220
|
+
children: [
|
|
1221
|
+
P && /* @__PURE__ */ e.jsx(
|
|
1222
|
+
"span",
|
|
1223
|
+
{
|
|
1224
|
+
className: "absolute top-0 w-1/2 h-full pointer-events-none",
|
|
1225
|
+
"aria-hidden": "true",
|
|
1226
|
+
style: {
|
|
1227
|
+
background: "linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%)",
|
|
1228
|
+
transform: "skewX(-20deg)",
|
|
1229
|
+
animation: "three-sku-shimmer 3s ease-in-out infinite",
|
|
1230
|
+
left: "-75%"
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
),
|
|
1234
|
+
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: m("planProceedToPayment") })
|
|
1235
|
+
]
|
|
1236
|
+
}
|
|
1237
|
+
)
|
|
1238
|
+
]
|
|
1239
|
+
}
|
|
1240
|
+
)
|
|
1241
|
+
]
|
|
1242
|
+
}
|
|
1243
|
+
)
|
|
1244
|
+
}
|
|
1245
|
+
)
|
|
1246
|
+
] }) : null;
|
|
1247
|
+
}, ge = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ps = [
|
|
1248
|
+
{ label: `Personalised
|
|
1249
|
+
Report`, values: ["check", "check", "check"] },
|
|
1250
|
+
{ label: `Remedies:
|
|
1251
|
+
gemstone,
|
|
1252
|
+
pujas`, values: ["check", "check", "check"] },
|
|
1253
|
+
{ label: `Detailed
|
|
1254
|
+
question to
|
|
1255
|
+
expert`, values: ["cross", "check", "check"] },
|
|
1256
|
+
{ label: `Relationship
|
|
1257
|
+
manager`, values: ["cross", "cross", "check"] },
|
|
1258
|
+
{ label: `30-min
|
|
1259
|
+
astrologer
|
|
1260
|
+
call`, values: ["cross", "cross", "check"] }
|
|
1261
|
+
], us = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#14946b] font-bold text-white", children: "✓" }), hs = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#e23f4e] font-bold text-white", children: "✕" }), ms = () => /* @__PURE__ */ e.jsxs(
|
|
1262
|
+
"svg",
|
|
1263
|
+
{
|
|
1264
|
+
width: "14",
|
|
1265
|
+
height: "14",
|
|
1266
|
+
viewBox: "0 0 24 24",
|
|
1267
|
+
fill: "none",
|
|
1268
|
+
stroke: "currentColor",
|
|
1269
|
+
strokeWidth: "2.5",
|
|
1270
|
+
strokeLinecap: "round",
|
|
1271
|
+
strokeLinejoin: "round",
|
|
1272
|
+
"aria-hidden": !0,
|
|
1273
|
+
children: [
|
|
1274
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
1275
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1276
|
+
]
|
|
1277
|
+
}
|
|
1278
|
+
), fe = () => /* @__PURE__ */ e.jsx(
|
|
1279
|
+
"svg",
|
|
1280
|
+
{
|
|
1281
|
+
width: "20",
|
|
1282
|
+
height: "20",
|
|
1283
|
+
viewBox: "0 0 24 24",
|
|
1284
|
+
fill: "none",
|
|
1285
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1286
|
+
"aria-hidden": !0,
|
|
1287
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1288
|
+
"path",
|
|
1289
|
+
{
|
|
1290
|
+
d: "M8 4L16 12L8 20",
|
|
1291
|
+
stroke: "white",
|
|
1292
|
+
strokeWidth: "4",
|
|
1293
|
+
strokeLinecap: "round",
|
|
1294
|
+
strokeLinejoin: "round"
|
|
1295
|
+
}
|
|
1296
|
+
)
|
|
1297
|
+
}
|
|
1298
|
+
), xs = ({
|
|
1299
|
+
isGlobal: t = !1,
|
|
1300
|
+
kundliReportSampleHref: r = ge,
|
|
1301
|
+
oneQuestionSampleHref: a = ge,
|
|
1302
|
+
onComparisonTableImpression: o,
|
|
1303
|
+
className: s = ""
|
|
1304
|
+
}) => {
|
|
1305
|
+
const p = b(null), c = b(!1);
|
|
1306
|
+
C(() => {
|
|
1307
|
+
const n = p.current;
|
|
1308
|
+
if (!n) return;
|
|
1309
|
+
const h = new IntersectionObserver(
|
|
1310
|
+
(m) => {
|
|
1311
|
+
const l = m[0];
|
|
1312
|
+
!l || c.current || l.isIntersecting && l.intersectionRatio >= 0.5 && (c.current = !0, o?.());
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
threshold: [0.5]
|
|
1316
|
+
}
|
|
1317
|
+
);
|
|
1318
|
+
return h.observe(n), () => h.disconnect();
|
|
1319
|
+
}, [o]);
|
|
1320
|
+
const x = t ? ["$25", "$31", "$41"] : ["₹499", "₹749", "₹999"];
|
|
1321
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `bg-white px-3 py-4 ${s}`, children: [
|
|
1322
|
+
/* @__PURE__ */ e.jsx("h2", { className: "mb-3 text-center text-[18px] leading-6 text-[#f75e22] max-[380px]:text-[16px]", children: "Kundli Packages for you" }),
|
|
1323
|
+
/* @__PURE__ */ e.jsx(
|
|
1324
|
+
"div",
|
|
1325
|
+
{
|
|
1326
|
+
ref: p,
|
|
1327
|
+
className: "relative mt-5 rounded-[14px] border-[1.5px] border-[#e5ccb9] shadow-[0_4px_16px_rgba(111,58,17,0.08)]",
|
|
1328
|
+
children: /* @__PURE__ */ e.jsxs("table", { className: "w-full table-fixed border-collapse", children: [
|
|
1329
|
+
/* @__PURE__ */ e.jsxs("colgroup", { children: [
|
|
1330
|
+
/* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
|
|
1331
|
+
/* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
|
|
1332
|
+
/* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
|
|
1333
|
+
/* @__PURE__ */ e.jsx("col", { className: "w-1/4" })
|
|
1334
|
+
] }),
|
|
1335
|
+
/* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
1336
|
+
/* @__PURE__ */ e.jsx("th", { className: "h-[84px] box-border rounded-tl-[12px] align-middle border-r border-b border-[#e5ccb9] bg-[#fff6eb] py-2 pl-2 pr-1 text-left text-[12px] text-[#7b3f17]", children: "Unique Features" }),
|
|
1337
|
+
/* @__PURE__ */ e.jsx("th", { className: "h-[84px] box-border align-middle border-r border-b border-[#e5ccb9] bg-[#fff6eb] px-1 py-2 text-center text-[11px] text-[#7b3f17]", children: "Kundli Report" }),
|
|
1338
|
+
/* @__PURE__ */ e.jsxs("th", { className: "h-[84px] box-border align-middle border-r border-b border-[#e5ccb9] bg-[#fff6eb] px-1 py-2 text-center text-[11px] text-[#7b3f17]", children: [
|
|
1339
|
+
"Report + 1 Question",
|
|
1340
|
+
/* @__PURE__ */ e.jsx("small", { className: "mt-1 block text-[10px] font-normal italic", children: "(Answered by Astrologer)" })
|
|
1341
|
+
] }),
|
|
1342
|
+
/* @__PURE__ */ e.jsxs("th", { className: "relative h-[84px] box-border rounded-tr-[12px] align-middle border-b border-[#e5ccb9] bg-[#fff8f1] px-1 pt-6 pb-2 text-center text-[11px] font-bold text-[#9a3f1b]", children: [
|
|
1343
|
+
/* @__PURE__ */ e.jsxs("div", { className: "absolute left-0 right-0 -top-[16px] z-2 flex items-center justify-center gap-1 whitespace-nowrap rounded-t-[12px] bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-3 py-[6px] text-[11px] font-bold text-white shadow-[0_-4px_10px_rgba(187,42,93,0.2)]", children: [
|
|
1344
|
+
/* @__PURE__ */ e.jsx(ms, {}),
|
|
1345
|
+
/* @__PURE__ */ e.jsx("span", { children: "Popular" })
|
|
1346
|
+
] }),
|
|
1347
|
+
"Report + 30 min consultation"
|
|
1348
|
+
] })
|
|
1349
|
+
] }) }),
|
|
1350
|
+
/* @__PURE__ */ e.jsxs("tbody", { children: [
|
|
1351
|
+
ps.map((n) => /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
1352
|
+
/* @__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.label.split(`
|
|
1353
|
+
`).map((h) => /* @__PURE__ */ e.jsx("div", { children: h }, h)) }),
|
|
1354
|
+
n.values.map((h, m) => /* @__PURE__ */ e.jsx(
|
|
1355
|
+
"td",
|
|
1356
|
+
{
|
|
1357
|
+
className: `h-[64px] box-border bg-white py-1 text-center border-b border-[#e5ccb9] align-middle ${m !== 2 ? "border-r border-[#e5ccb9]" : ""}`,
|
|
1358
|
+
children: /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center", children: h === "check" ? /* @__PURE__ */ e.jsx(us, {}) : /* @__PURE__ */ e.jsx(hs, {}) })
|
|
1359
|
+
},
|
|
1360
|
+
`${n.label}-${m}`
|
|
1361
|
+
))
|
|
1362
|
+
] }, n.label)),
|
|
1363
|
+
/* @__PURE__ */ e.jsxs("tr", { className: "bg-[#fff8ef]", children: [
|
|
1364
|
+
/* @__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: "Only for" }),
|
|
1365
|
+
x.map((n, h) => /* @__PURE__ */ e.jsx(
|
|
1366
|
+
"td",
|
|
1367
|
+
{
|
|
1368
|
+
className: `h-[64px] box-border bg-[#fff8ef] py-1 text-center align-middle ${h !== 2 ? "border-r border-[#e5ccb9]" : ""} ${h === 2 ? "rounded-br-[12px]" : ""}`,
|
|
1369
|
+
children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] text-[#9a3f1b] max-[380px]:text-[16px]", children: n })
|
|
1370
|
+
},
|
|
1371
|
+
n
|
|
1372
|
+
))
|
|
1373
|
+
] })
|
|
1374
|
+
] })
|
|
1375
|
+
] })
|
|
1376
|
+
}
|
|
1377
|
+
),
|
|
1378
|
+
/* @__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: "View Sample Reports" }),
|
|
1379
|
+
/* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-2 gap-[10px]", children: [
|
|
1380
|
+
/* @__PURE__ */ e.jsxs(
|
|
1381
|
+
"a",
|
|
1382
|
+
{
|
|
1383
|
+
href: r,
|
|
1384
|
+
target: "_blank",
|
|
1385
|
+
rel: "noopener noreferrer",
|
|
1386
|
+
className: "relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white no-underline shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
|
|
1387
|
+
children: [
|
|
1388
|
+
"200+ page Kundli Report",
|
|
1389
|
+
/* @__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, {}) })
|
|
1390
|
+
]
|
|
1391
|
+
}
|
|
1392
|
+
),
|
|
1393
|
+
/* @__PURE__ */ e.jsxs(
|
|
1394
|
+
"a",
|
|
1395
|
+
{
|
|
1396
|
+
href: a,
|
|
1397
|
+
target: "_blank",
|
|
1398
|
+
rel: "noopener noreferrer",
|
|
1399
|
+
className: "relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white no-underline shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
|
|
1400
|
+
children: [
|
|
1401
|
+
"1 Question Sample Report",
|
|
1402
|
+
/* @__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, {}) })
|
|
1403
|
+
]
|
|
1404
|
+
}
|
|
1405
|
+
)
|
|
1406
|
+
] })
|
|
1407
|
+
] });
|
|
1408
|
+
}, gs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", fs = (t, r) => we[t]?.[r] ?? r, bs = 112;
|
|
1409
|
+
function D({
|
|
1410
|
+
section: t,
|
|
1411
|
+
children: r,
|
|
1412
|
+
onImpression: a
|
|
1413
|
+
}) {
|
|
1414
|
+
const o = b(null), s = b(!1);
|
|
1415
|
+
return C(() => {
|
|
1416
|
+
const p = o.current;
|
|
1417
|
+
if (!p) return;
|
|
1418
|
+
const c = new IntersectionObserver(
|
|
1419
|
+
([x]) => {
|
|
1420
|
+
!x?.isIntersecting || s.current || (s.current = !0, a(t));
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
threshold: 0.1,
|
|
1424
|
+
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
1425
|
+
rootMargin: `0px 0px -${bs}px 0px`
|
|
1426
|
+
}
|
|
1427
|
+
);
|
|
1428
|
+
return c.observe(p), () => c.disconnect();
|
|
1429
|
+
}, [t, a]), /* @__PURE__ */ e.jsx("div", { ref: o, children: r });
|
|
1430
|
+
}
|
|
1431
|
+
function _s({
|
|
1432
|
+
className: t,
|
|
1433
|
+
showInlineForm: r = !1,
|
|
1434
|
+
enableThreeSkuFlow: a = !1,
|
|
1435
|
+
kundliReportSampleHref: o,
|
|
1436
|
+
oneQuestionSampleHref: s
|
|
1437
|
+
}) {
|
|
1438
|
+
const p = _e(), {
|
|
1439
|
+
locale: c,
|
|
1440
|
+
setLocale: x,
|
|
1441
|
+
config: n,
|
|
1442
|
+
formValues: h,
|
|
1443
|
+
setFormValues: m
|
|
1444
|
+
} = re(), [l, f] = T(!1), [w, I] = T(null), k = b(null), g = b(void 0), d = b(void 0), v = B((u) => {
|
|
1445
|
+
k.current = u, f(!0);
|
|
1446
|
+
}, []), L = B(() => {
|
|
1447
|
+
if (!k.current || !w) return;
|
|
1448
|
+
const u = {
|
|
1449
|
+
...k.current,
|
|
1450
|
+
_selectedPlan: w,
|
|
1451
|
+
...g.current !== void 0 ? { _question: g.current } : {},
|
|
1452
|
+
...d.current !== void 0 ? { _question_source: d.current } : {}
|
|
1453
|
+
};
|
|
1454
|
+
g.current = void 0, d.current = void 0, w.id === Ae && n.onProceedGuidance ? n.onProceedGuidance(u) : n.onProceed?.(u), f(!1), k.current = null;
|
|
1455
|
+
}, [w, n.onProceed, n.onProceedGuidance]), [y, S] = T(!1), [O, H] = T(
|
|
1456
|
+
n.isGlobal ?? !0 ? "+1" : "+91"
|
|
1457
|
+
), q = b(null), Q = b(null), Y = b(n.locale), N = b(
|
|
1458
|
+
p?.locale
|
|
1459
|
+
);
|
|
1460
|
+
C(() => {
|
|
1461
|
+
n.locale && Y.current !== n.locale && x(n.locale), Y.current = n.locale;
|
|
1462
|
+
}, [n.locale, x]), C(() => {
|
|
1463
|
+
if (n.locale) return;
|
|
1464
|
+
const u = p?.locale;
|
|
1465
|
+
u && N.current !== u && x(u), N.current = u;
|
|
1466
|
+
}, [p?.locale, n.locale, x]), C(() => {
|
|
1467
|
+
H(n.isGlobal ?? !0 ? "+1" : "+91");
|
|
1468
|
+
}, [n.isGlobal]), C(() => {
|
|
1469
|
+
if (!y) return;
|
|
1470
|
+
const u = (z) => {
|
|
1471
|
+
Q.current && !Q.current.contains(z.target) && S(!1);
|
|
1472
|
+
};
|
|
1473
|
+
return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
|
|
1474
|
+
}, [y]);
|
|
1475
|
+
const _ = (u) => fs(c, u), $ = n.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: K.langDropdownWrap, ref: Q, children: [
|
|
1476
|
+
/* @__PURE__ */ e.jsxs(
|
|
1477
|
+
"button",
|
|
1478
|
+
{
|
|
1479
|
+
type: "button",
|
|
1480
|
+
className: K.langTrigger,
|
|
1481
|
+
onClick: () => {
|
|
1482
|
+
n.analytics?.trackLanguageClickedFe?.({ language: c }), S((u) => !u);
|
|
1483
|
+
},
|
|
1484
|
+
"aria-expanded": y,
|
|
1485
|
+
"aria-haspopup": "listbox",
|
|
1486
|
+
id: "kundli-lang",
|
|
1487
|
+
"aria-label": _("language"),
|
|
1488
|
+
children: [
|
|
1489
|
+
/* @__PURE__ */ e.jsx(
|
|
1490
|
+
"img",
|
|
1491
|
+
{
|
|
1492
|
+
src: gs,
|
|
1493
|
+
alt: "",
|
|
1494
|
+
className: K.langIcon,
|
|
1495
|
+
width: 16,
|
|
1496
|
+
height: 16,
|
|
1497
|
+
"aria-hidden": !0
|
|
1498
|
+
}
|
|
1499
|
+
),
|
|
1500
|
+
/* @__PURE__ */ e.jsx("span", { className: K.langLabel, children: se[c] })
|
|
1501
|
+
]
|
|
1502
|
+
}
|
|
1503
|
+
),
|
|
1504
|
+
y && /* @__PURE__ */ e.jsx(
|
|
1505
|
+
"ul",
|
|
1506
|
+
{
|
|
1507
|
+
className: K.langMenu,
|
|
1508
|
+
role: "listbox",
|
|
1509
|
+
"aria-labelledby": "kundli-lang",
|
|
1510
|
+
"aria-activedescendant": `kundli-lang-option-${c}`,
|
|
1511
|
+
children: je.map((u) => /* @__PURE__ */ e.jsx(
|
|
1512
|
+
"li",
|
|
1513
|
+
{
|
|
1514
|
+
id: `kundli-lang-option-${u}`,
|
|
1515
|
+
role: "option",
|
|
1516
|
+
"aria-selected": u === c,
|
|
1517
|
+
className: K.langOption,
|
|
1518
|
+
onClick: () => {
|
|
1519
|
+
n.analytics?.trackLanguageChangedFe?.({ newLanguage: u }), x(u), S(!1);
|
|
1520
|
+
},
|
|
1521
|
+
children: se[u]
|
|
1522
|
+
},
|
|
1523
|
+
u
|
|
1524
|
+
))
|
|
1525
|
+
}
|
|
1526
|
+
)
|
|
1527
|
+
] }) : null, P = B(
|
|
1528
|
+
(u) => {
|
|
1529
|
+
n.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
1530
|
+
section: u,
|
|
1531
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1532
|
+
});
|
|
1533
|
+
},
|
|
1534
|
+
[n.analytics]
|
|
1535
|
+
), ne = B((u) => {
|
|
1536
|
+
const X = {
|
|
1537
|
+
fullName: "kundli-full-name",
|
|
1538
|
+
phone: "kundli-phone",
|
|
1539
|
+
email: "kundli-email",
|
|
1540
|
+
dateOfBirth: "kundli-dob",
|
|
1541
|
+
birthTime: "kundli-birth-time",
|
|
1542
|
+
birthPlace: "kundli-birth-place",
|
|
1543
|
+
gender: "kundli-gender-male",
|
|
1544
|
+
language_code: "kundli-report-lang-hi"
|
|
1545
|
+
}[u] ?? "kundli-full-name", J = document.getElementById(X);
|
|
1546
|
+
if (J) {
|
|
1547
|
+
const i = J.getBoundingClientRect().top + window.scrollY - 120;
|
|
1548
|
+
window.scrollTo({
|
|
1549
|
+
top: i,
|
|
1550
|
+
behavior: "smooth"
|
|
1551
|
+
}), setTimeout(() => J.focus(), 500);
|
|
1552
|
+
}
|
|
1553
|
+
}, []);
|
|
1554
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${K.container} ${t}`, children: [
|
|
1555
|
+
/* @__PURE__ */ e.jsx(
|
|
1556
|
+
ye,
|
|
1557
|
+
{
|
|
1558
|
+
t: _,
|
|
1559
|
+
logoUrl: n.logoUrl,
|
|
1560
|
+
languageSelector: $
|
|
1561
|
+
}
|
|
1562
|
+
),
|
|
1563
|
+
/* @__PURE__ */ e.jsxs("main", { className: K.main, children: [
|
|
1564
|
+
/* @__PURE__ */ e.jsx(
|
|
1565
|
+
D,
|
|
1566
|
+
{
|
|
1567
|
+
section: "hero",
|
|
1568
|
+
onImpression: P,
|
|
1569
|
+
children: /* @__PURE__ */ e.jsx(ve, { t: _ })
|
|
1570
|
+
}
|
|
1571
|
+
),
|
|
1572
|
+
/* @__PURE__ */ e.jsx(
|
|
1573
|
+
D,
|
|
1574
|
+
{
|
|
1575
|
+
section: "premium_report_overview",
|
|
1576
|
+
onImpression: P,
|
|
1577
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1578
|
+
Ne,
|
|
1579
|
+
{
|
|
1580
|
+
t: _,
|
|
1581
|
+
reportImageUrl: n.reportImageUrl,
|
|
1582
|
+
analytics: n.analytics
|
|
1583
|
+
}
|
|
1584
|
+
)
|
|
1585
|
+
}
|
|
1586
|
+
),
|
|
1587
|
+
/* @__PURE__ */ e.jsx(
|
|
1588
|
+
D,
|
|
1589
|
+
{
|
|
1590
|
+
section: "university_certification",
|
|
1591
|
+
onImpression: P,
|
|
1592
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1593
|
+
ke,
|
|
1594
|
+
{
|
|
1595
|
+
t: _,
|
|
1596
|
+
logoUrl: n.universityLogoUrls?.find((u) => !!u)
|
|
1597
|
+
}
|
|
1598
|
+
)
|
|
1599
|
+
}
|
|
1600
|
+
),
|
|
1601
|
+
/* @__PURE__ */ e.jsx(
|
|
1602
|
+
D,
|
|
1603
|
+
{
|
|
1604
|
+
section: "three_steps_process",
|
|
1605
|
+
onImpression: P,
|
|
1606
|
+
children: /* @__PURE__ */ e.jsx(Ce, { t: _, locale: c, isGlobal: n.isGlobal })
|
|
1607
|
+
}
|
|
1608
|
+
),
|
|
1609
|
+
/* @__PURE__ */ e.jsx(
|
|
1610
|
+
D,
|
|
1611
|
+
{
|
|
1612
|
+
section: "view_sample_report",
|
|
1613
|
+
onImpression: P,
|
|
1614
|
+
children: a ? /* @__PURE__ */ e.jsx(
|
|
1615
|
+
xs,
|
|
1616
|
+
{
|
|
1617
|
+
isGlobal: n.isGlobal,
|
|
1618
|
+
kundliReportSampleHref: o,
|
|
1619
|
+
oneQuestionSampleHref: s,
|
|
1620
|
+
onComparisonTableImpression: () => n.analytics?.trackComparisonTableImpression?.()
|
|
1621
|
+
}
|
|
1622
|
+
) : /* @__PURE__ */ e.jsx(
|
|
1623
|
+
Pe,
|
|
1624
|
+
{
|
|
1625
|
+
t: _,
|
|
1626
|
+
pdfUrl: n.sampleReportHref,
|
|
1627
|
+
onClick: n.onViewSampleReport,
|
|
1628
|
+
analytics: n.analytics
|
|
1629
|
+
}
|
|
1630
|
+
)
|
|
1631
|
+
}
|
|
1632
|
+
),
|
|
1633
|
+
r && /* @__PURE__ */ e.jsx(
|
|
1634
|
+
D,
|
|
1635
|
+
{
|
|
1636
|
+
section: "inline_form",
|
|
1637
|
+
onImpression: P,
|
|
1638
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: K.inlineFormWrap, ref: q, children: [
|
|
1639
|
+
/* @__PURE__ */ e.jsx(Ue, { t: _, align: "center" }),
|
|
1640
|
+
/* @__PURE__ */ e.jsx(
|
|
1641
|
+
Me,
|
|
1642
|
+
{
|
|
1643
|
+
t: _,
|
|
1644
|
+
values: h,
|
|
1645
|
+
onChange: m,
|
|
1646
|
+
phoneIsdCode: O,
|
|
1647
|
+
onPhoneIsdCodeChange: H,
|
|
1648
|
+
showV1ExtraFields: !0,
|
|
1649
|
+
analytics: n.analytics
|
|
1650
|
+
}
|
|
1651
|
+
),
|
|
1652
|
+
/* @__PURE__ */ e.jsx(
|
|
1653
|
+
Ke,
|
|
1654
|
+
{
|
|
1655
|
+
t: _,
|
|
1656
|
+
values: h,
|
|
1657
|
+
phoneIsdCode: O,
|
|
1658
|
+
hideOriginalPrice: !0,
|
|
1659
|
+
requireV1ExtraFields: !0,
|
|
1660
|
+
onValidationFailed: ne,
|
|
1661
|
+
onProceed: n.onProceed,
|
|
1662
|
+
href: n.proceedHref,
|
|
1663
|
+
originalPriceLabel: n.originalPriceLabel,
|
|
1664
|
+
discountedPriceLabel: n.discountedPriceLabel,
|
|
1665
|
+
analytics: n.analytics,
|
|
1666
|
+
className: K.inlineProceedFooter,
|
|
1667
|
+
onProceedGuidance: n.onProceedGuidance,
|
|
1668
|
+
showPlanSheet: v,
|
|
1669
|
+
confirmPlan: L,
|
|
1670
|
+
planSheetOpen: l,
|
|
1671
|
+
selectedPlan: w
|
|
1672
|
+
}
|
|
1673
|
+
)
|
|
1674
|
+
] })
|
|
1675
|
+
}
|
|
1676
|
+
),
|
|
1677
|
+
/* @__PURE__ */ e.jsx(
|
|
1678
|
+
D,
|
|
1679
|
+
{
|
|
1680
|
+
section: "what_youll_find",
|
|
1681
|
+
onImpression: P,
|
|
1682
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: _ })
|
|
1683
|
+
}
|
|
1684
|
+
),
|
|
1685
|
+
/* @__PURE__ */ e.jsx(
|
|
1686
|
+
D,
|
|
1687
|
+
{
|
|
1688
|
+
section: "why_us",
|
|
1689
|
+
onImpression: P,
|
|
1690
|
+
children: /* @__PURE__ */ e.jsx(Le, { t: _ })
|
|
1691
|
+
}
|
|
1692
|
+
),
|
|
1693
|
+
/* @__PURE__ */ e.jsx(
|
|
1694
|
+
D,
|
|
1695
|
+
{
|
|
1696
|
+
section: "feedback",
|
|
1697
|
+
onImpression: P,
|
|
1698
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1699
|
+
Fe,
|
|
1700
|
+
{
|
|
1701
|
+
t: _,
|
|
1702
|
+
readMoreHref: n.readMoreReviewsHref,
|
|
1703
|
+
onReadMore: n.analytics?.trackReadMoreReviewsClicked ? () => n.analytics.trackReadMoreReviewsClicked() : void 0
|
|
1704
|
+
}
|
|
1705
|
+
)
|
|
1706
|
+
}
|
|
1707
|
+
),
|
|
1708
|
+
/* @__PURE__ */ e.jsx(
|
|
1709
|
+
D,
|
|
1710
|
+
{
|
|
1711
|
+
section: "faq",
|
|
1712
|
+
onImpression: P,
|
|
1713
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: _ })
|
|
1714
|
+
}
|
|
1715
|
+
),
|
|
1716
|
+
/* @__PURE__ */ e.jsx(
|
|
1717
|
+
D,
|
|
1718
|
+
{
|
|
1719
|
+
section: "contact_us",
|
|
1720
|
+
onImpression: P,
|
|
1721
|
+
children: /* @__PURE__ */ e.jsx(Se, { t: _ })
|
|
1722
|
+
}
|
|
1723
|
+
)
|
|
1724
|
+
] }),
|
|
1725
|
+
a ? /* @__PURE__ */ e.jsx(
|
|
1726
|
+
ds,
|
|
1727
|
+
{
|
|
1728
|
+
isOpen: l,
|
|
1729
|
+
onClose: () => f(!1),
|
|
1730
|
+
selectedPlan: w,
|
|
1731
|
+
onSelectPlan: (u) => I(u),
|
|
1732
|
+
isGlobal: n.isGlobal,
|
|
1733
|
+
locale: c,
|
|
1734
|
+
onProceed: (u, z, X) => {
|
|
1735
|
+
g.current = z, d.current = X, L();
|
|
1736
|
+
},
|
|
1737
|
+
t: _,
|
|
1738
|
+
analytics: n.analytics
|
|
1739
|
+
}
|
|
1740
|
+
) : /* @__PURE__ */ e.jsx(
|
|
1741
|
+
Oe,
|
|
1742
|
+
{
|
|
1743
|
+
isOpen: l,
|
|
1744
|
+
onClose: () => f(!1),
|
|
1745
|
+
selectedPlan: w,
|
|
1746
|
+
onSelectPlan: (u) => I(u),
|
|
1747
|
+
onProceed: () => {
|
|
1748
|
+
L();
|
|
1749
|
+
},
|
|
1750
|
+
t: _,
|
|
1751
|
+
analytics: n.analytics
|
|
1752
|
+
}
|
|
1753
|
+
)
|
|
1754
|
+
] });
|
|
1755
|
+
}
|
|
1756
|
+
const js = ({
|
|
1757
|
+
className: t = "",
|
|
1758
|
+
locale: r,
|
|
1759
|
+
showLanguageSelector: a = !0,
|
|
1760
|
+
showSheet: o,
|
|
1761
|
+
userId: s,
|
|
1762
|
+
isGlobal: p,
|
|
1763
|
+
atlasSearchLocalities: c,
|
|
1764
|
+
enableThreeSkuFlow: x = !1,
|
|
1765
|
+
kundliReportSampleHref: n,
|
|
1766
|
+
oneQuestionSampleHref: h,
|
|
1767
|
+
logoUrl: m,
|
|
1768
|
+
reportImageUrl: l,
|
|
1769
|
+
universityLogoUrls: f,
|
|
1770
|
+
sampleReportHref: w,
|
|
1771
|
+
onViewSampleReport: I,
|
|
1772
|
+
ctaHref: k,
|
|
1773
|
+
onCtaClick: g,
|
|
1774
|
+
readMoreReviewsHref: d,
|
|
1775
|
+
onProceed: v,
|
|
1776
|
+
proceedHref: L,
|
|
1777
|
+
originalPriceLabel: y,
|
|
1778
|
+
discountedPriceLabel: S,
|
|
1779
|
+
discountPillLabel: O,
|
|
1780
|
+
analytics: H,
|
|
1781
|
+
onProceedGuidance: q,
|
|
1782
|
+
onLocaleChange: Q
|
|
1783
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1784
|
+
be,
|
|
1785
|
+
{
|
|
1786
|
+
locale: r,
|
|
1787
|
+
showLanguageSelector: a,
|
|
1788
|
+
showSheet: o,
|
|
1789
|
+
userId: s,
|
|
1790
|
+
isGlobal: p,
|
|
1791
|
+
variant: "v1",
|
|
1792
|
+
atlasSearchLocalities: c,
|
|
1793
|
+
logoUrl: m,
|
|
1794
|
+
reportImageUrl: l,
|
|
1795
|
+
universityLogoUrls: f,
|
|
1796
|
+
sampleReportHref: w,
|
|
1797
|
+
onViewSampleReport: I,
|
|
1798
|
+
ctaHref: k,
|
|
1799
|
+
onCtaClick: g,
|
|
1800
|
+
readMoreReviewsHref: d,
|
|
1801
|
+
onProceed: v,
|
|
1802
|
+
onProceedGuidance: q,
|
|
1803
|
+
proceedHref: L,
|
|
1804
|
+
originalPriceLabel: y,
|
|
1805
|
+
discountedPriceLabel: S,
|
|
1806
|
+
discountPillLabel: O,
|
|
1807
|
+
analytics: H,
|
|
1808
|
+
onLocaleChange: Q,
|
|
1809
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1810
|
+
_s,
|
|
1811
|
+
{
|
|
1812
|
+
className: t,
|
|
1813
|
+
showInlineForm: !0,
|
|
1814
|
+
enableThreeSkuFlow: x,
|
|
1815
|
+
kundliReportSampleHref: n,
|
|
1816
|
+
oneQuestionSampleHref: h
|
|
1817
|
+
}
|
|
1818
|
+
)
|
|
1819
|
+
}
|
|
1820
|
+
), Ns = ({ variant: t, ...r }) => {
|
|
1821
|
+
const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
1822
|
+
return (t ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(js, { ...r }) : /* @__PURE__ */ e.jsx(En, { ...r });
|
|
1823
|
+
}, ks = "[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}";
|
|
1824
|
+
export {
|
|
1825
|
+
ks as K,
|
|
1826
|
+
vt as P,
|
|
1827
|
+
Ns as a,
|
|
1828
|
+
En as b,
|
|
1829
|
+
js as c
|
|
1830
|
+
};
|
|
1831
|
+
//# sourceMappingURL=criticalCss-BPp6vjGG.js.map
|