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