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