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