@srimandir/kundli-generator 10.0.2 → 10.0.3

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.
Files changed (111) hide show
  1. package/dist/analytics-C7q6coqa.js +5099 -0
  2. package/dist/analytics-C7q6coqa.js.map +1 -0
  3. package/dist/analytics.d.ts +308 -0
  4. package/dist/components/KundliForm/KundliForm.d.ts +50 -0
  5. package/dist/components/KundliForm/index.d.ts +2 -0
  6. package/dist/components/KundliForm/sections/FormHeader/FormHeader.d.ts +7 -0
  7. package/dist/components/KundliForm/sections/FormHeader/index.d.ts +2 -0
  8. package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +28 -0
  9. package/dist/components/KundliForm/sections/ProceedFooter/index.d.ts +2 -0
  10. package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +20 -0
  11. package/dist/components/KundliForm/sections/UserInfoFormSection/constants.d.ts +215 -0
  12. package/dist/components/KundliForm/sections/UserInfoFormSection/googlePlacesAutocomplete.d.ts +21 -0
  13. package/dist/components/KundliForm/sections/UserInfoFormSection/index.d.ts +2 -0
  14. package/dist/components/KundliForm/sections/UserInfoFormSection/useAtlasPlacesAutocomplete.d.ts +22 -0
  15. package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +51 -0
  16. package/dist/components/KundliForm/sections/index.d.ts +3 -0
  17. package/dist/components/KundliPage/KundliContext.d.ts +108 -0
  18. package/dist/components/KundliPage/KundliPage.d.ts +92 -0
  19. package/dist/components/KundliPage/KundliPageV1.d.ts +98 -0
  20. package/dist/components/KundliPage/KundliPageVariant.d.ts +10 -0
  21. package/dist/components/KundliPage/index.d.ts +4 -0
  22. package/dist/components/KundliPage/sections/CTAFooter/CTAFooter.d.ts +15 -0
  23. package/dist/components/KundliPage/sections/CTAFooter/index.d.ts +2 -0
  24. package/dist/components/KundliPage/sections/ContactUsSection/ContactUsSection.d.ts +9 -0
  25. package/dist/components/KundliPage/sections/ContactUsSection/index.d.ts +2 -0
  26. package/dist/components/KundliPage/sections/FAQSection/FAQSection.d.ts +8 -0
  27. package/dist/components/KundliPage/sections/FAQSection/index.d.ts +2 -0
  28. package/dist/components/KundliPage/sections/FeedbackSection/FeedbackSection.d.ts +13 -0
  29. package/dist/components/KundliPage/sections/FeedbackSection/index.d.ts +2 -0
  30. package/dist/components/KundliPage/sections/HeroSection/HeroSection.d.ts +5 -0
  31. package/dist/components/KundliPage/sections/HeroSection/index.d.ts +2 -0
  32. package/dist/components/KundliPage/sections/KundliHeader/KundliHeader.d.ts +7 -0
  33. package/dist/components/KundliPage/sections/KundliHeader/index.d.ts +2 -0
  34. package/dist/components/KundliPage/sections/KundliTableSection/KundliTableSection.constants.d.ts +36 -0
  35. package/dist/components/KundliPage/sections/KundliTableSection/SampleReportsSection.d.ts +10 -0
  36. package/dist/components/KundliPage/sections/KundliTableSection/index.d.ts +3 -0
  37. package/dist/components/KundliPage/sections/PremiumReportOverview/PremiumReportOverview.d.ts +26 -0
  38. package/dist/components/KundliPage/sections/PremiumReportOverview/index.d.ts +2 -0
  39. package/dist/components/KundliPage/sections/ThreeStepsProcess/ThreeStepsProcess.d.ts +8 -0
  40. package/dist/components/KundliPage/sections/ThreeStepsProcess/index.d.ts +2 -0
  41. package/dist/components/KundliPage/sections/UniversityCertification/UniversityCertification.d.ts +7 -0
  42. package/dist/components/KundliPage/sections/UniversityCertification/index.d.ts +2 -0
  43. package/dist/components/KundliPage/sections/UtmBannerSection/UtmBannerSection.d.ts +8 -0
  44. package/dist/components/KundliPage/sections/UtmBannerSection/index.d.ts +2 -0
  45. package/dist/components/KundliPage/sections/ViewSampleReportButton/SampleReportModal.d.ts +8 -0
  46. package/dist/components/KundliPage/sections/ViewSampleReportButton/ViewSampleReportButton.d.ts +14 -0
  47. package/dist/components/KundliPage/sections/ViewSampleReportButton/index.d.ts +2 -0
  48. package/dist/components/KundliPage/sections/WhatYoullFindSection/WhatYoullFindSection.d.ts +7 -0
  49. package/dist/components/KundliPage/sections/WhatYoullFindSection/index.d.ts +2 -0
  50. package/dist/components/KundliPage/sections/WhyUsSection/WhyUsSection.d.ts +5 -0
  51. package/dist/components/KundliPage/sections/WhyUsSection/index.d.ts +2 -0
  52. package/dist/components/KundliPage/sections/index.d.ts +13 -0
  53. package/dist/components/KundliPlanBottomSheet/AstrologerCard.d.ts +10 -0
  54. package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +19 -0
  55. package/dist/components/KundliPlanBottomSheet/ConsultationSlotFields.d.ts +54 -0
  56. package/dist/components/KundliPlanBottomSheet/ConsultationSlotModal.d.ts +6 -0
  57. package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +37 -0
  58. package/dist/components/KundliPlanBottomSheet/MostPopularBadge.d.ts +4 -0
  59. package/dist/components/KundliPlanBottomSheet/PlanCard.d.ts +19 -0
  60. package/dist/components/KundliPlanBottomSheet/PlanFeatureList.d.ts +10 -0
  61. package/dist/components/KundliPlanBottomSheet/PlanIcons.d.ts +18 -0
  62. package/dist/components/KundliPlanBottomSheet/PlanSheetHeader.d.ts +9 -0
  63. package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +44 -0
  64. package/dist/components/KundliPlanBottomSheet/index.d.ts +7 -0
  65. package/dist/components/KundliPlanBottomSheet/planDefaults.d.ts +2 -0
  66. package/dist/components/KundliPlanBottomSheet/types.d.ts +67 -0
  67. package/dist/components/ThreeSkuPlanBottomSheet/AstrologerSection.d.ts +8 -0
  68. package/dist/components/ThreeSkuPlanBottomSheet/PlanFeatureList.d.ts +7 -0
  69. package/dist/components/ThreeSkuPlanBottomSheet/PlanSelectorStrip.d.ts +11 -0
  70. package/dist/components/ThreeSkuPlanBottomSheet/ProceedButton.d.ts +9 -0
  71. package/dist/components/ThreeSkuPlanBottomSheet/QuestionChips.d.ts +7 -0
  72. package/dist/components/ThreeSkuPlanBottomSheet/QuestionInput.d.ts +15 -0
  73. package/dist/components/ThreeSkuPlanBottomSheet/SheetHeader.d.ts +6 -0
  74. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerCard.d.ts +6 -0
  75. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +15 -0
  76. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.d.ts +3 -0
  77. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.icons.d.ts +3 -0
  78. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +61 -0
  79. package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +113 -0
  80. package/dist/components/ThreeSkuPlanBottomSheet/index.d.ts +4 -0
  81. package/dist/constants/criticalCss.d.ts +12 -0
  82. package/dist/criticalCss-Dwemq76K.js +2063 -0
  83. package/dist/criticalCss-Dwemq76K.js.map +1 -0
  84. package/dist/dev/main.d.ts +0 -0
  85. package/dist/form-entry.d.ts +15 -0
  86. package/dist/form-entry.js +21 -0
  87. package/dist/form-entry.js.map +1 -0
  88. package/dist/i18n/I18nContext.d.ts +18 -0
  89. package/dist/i18n/index.d.ts +2 -0
  90. package/dist/i18n/translations.d.ts +4 -0
  91. package/dist/i18n/translations.en.d.ts +163 -0
  92. package/dist/i18n/translations.hi.d.ts +163 -0
  93. package/dist/index.d.ts +17 -0
  94. package/dist/kundli-generator.js +66 -0
  95. package/dist/kundli-generator.js.map +1 -0
  96. package/dist/page-entry.d.ts +16 -0
  97. package/dist/page-entry.js +24 -0
  98. package/dist/page-entry.js.map +1 -0
  99. package/dist/style.css +1 -0
  100. package/dist/styles.d.ts +0 -0
  101. package/dist/styles.js +2 -0
  102. package/dist/styles.js.map +1 -0
  103. package/dist/types/image.d.ts +17 -0
  104. package/dist/utils/Stringconstant.d.ts +1 -0
  105. package/dist/utils/index.d.ts +3 -0
  106. package/dist/utils/keyframeStyles.d.ts +10 -0
  107. package/dist/utils/localeStorage.d.ts +10 -0
  108. package/dist/utils/phone.d.ts +26 -0
  109. package/dist/utils/storage.d.ts +7 -0
  110. package/dist/utils/utmBanner.d.ts +23 -0
  111. package/package.json +2 -2
@@ -0,0 +1,2063 @@
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 He, F as Qe, U as We, p as Ge, q as ze } from "./analytics-C7q6coqa.js";
2
+ import { useRef as y, 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", yn = "_featureList_iqucz_78", jn = "_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: yn,
36
+ featureItem: jn,
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((j) => /* @__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(j)
132
+ ] }, j)) })
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
+ }, Hn = "_backdrop_pekod_1", Qn = "_modal_pekod_21", Wn = "_header_pekod_40", Gn = "_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: Hn,
225
+ modal: Qn,
226
+ header: Wn,
227
+ title: Gn,
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 = y(null), [r, u] = L(!0), [d, m] = L(null), [s, g] = L(null);
245
+ return P(() => {
246
+ if (!n) return;
247
+ const j = (c) => {
248
+ c.key === "Escape" && a();
249
+ };
250
+ return document.addEventListener("keydown", j), document.body.style.overflow = "hidden", () => {
251
+ document.removeEventListener("keydown", j), document.body.style.overflow = "";
252
+ };
253
+ }, [n, a]), P(() => {
254
+ n && import("pdfjs-dist").then((j) => {
255
+ g(j);
256
+ }).catch((j) => {
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: (j) => j.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
+ ] }), yt = "_headingBold_g8xg7_1", jt = {
424
+ headingBold: yt
425
+ }, Ue = ({
426
+ t: n,
427
+ testimonials: a,
428
+ readMoreHref: t,
429
+ onReadMore: i,
430
+ className: o = "",
431
+ headingClassName: r = jt.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", ye = "08071174417", je = "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 ?? ye, g = i ?? je, j = d ? n("contactWhatsAppGlobal").replace(be, m) : n("contactWhatsAppDomestic").replace(ye, s), c = n("contactEmail").replace(je, g);
473
+ return /* @__PURE__ */ e.jsx(
474
+ Xe,
475
+ {
476
+ title: n("contactTitle"),
477
+ brandName: o ?? n("contactBrandName"),
478
+ whatsAppLine: j,
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 = y(null), o = y(!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 Ht({ className: n }) {
627
+ const { view: a } = ge();
628
+ return a === "form" ? /* @__PURE__ */ e.jsx(Oe, {}) : /* @__PURE__ */ e.jsx(Qt, { className: n });
629
+ }
630
+ function Qt({ 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 = y(null), g = y(o.locale), j = y(
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 && j.current !== p && i(p), j.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 Wt = ({
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: j,
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: Q,
872
+ analytics: D,
873
+ onLocaleChange: U,
874
+ resolvedUtmBannerImageUrl: B,
875
+ plans: W,
876
+ threeSkuPlans: G
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: j,
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: Q,
902
+ analytics: D,
903
+ onLocaleChange: U,
904
+ resolvedUtmBannerImageUrl: B,
905
+ plans: W,
906
+ threeSkuPlans: G,
907
+ children: /* @__PURE__ */ e.jsx(Ht, { className: n })
908
+ }
909
+ ), Gt = "_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", H = {
910
+ container: Gt,
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
+ /* The slide-up lives here rather than in an inline style so it can be
1097
+ * switched off below. \`both\` holds the final frame: the sheet's own styles
1098
+ * are already the visible state, so a WebView that never runs or never
1099
+ * commits the animation shows the sheet instead of leaving it translated
1100
+ * off-screen at \`opacity: 0\`. */
1101
+ .three-sku-sheet {
1102
+ animation: three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1) both;
1103
+ }
1104
+ @media (prefers-reduced-motion: reduce) {
1105
+ .three-sku-sheet { animation: none; }
1106
+ }
1107
+ @keyframes three-sku-shimmer {
1108
+ 0% { left: -75%; }
1109
+ 60% { left: 125%; }
1110
+ 100% { left: 125%; }
1111
+ }
1112
+ `, 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: [
1113
+ /* @__PURE__ */ e.jsx(
1114
+ "button",
1115
+ {
1116
+ type: "button",
1117
+ onClick: a,
1118
+ "aria-label": "Go back",
1119
+ className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
1120
+ children: /* @__PURE__ */ e.jsx(qe, {})
1121
+ }
1122
+ ),
1123
+ /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: n })
1124
+ ] }), 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(
1125
+ "svg",
1126
+ {
1127
+ width: "14",
1128
+ height: "14",
1129
+ viewBox: "0 0 24 24",
1130
+ fill: "none",
1131
+ stroke: "currentColor",
1132
+ strokeWidth: "2.5",
1133
+ strokeLinecap: "round",
1134
+ strokeLinejoin: "round",
1135
+ "aria-hidden": !0,
1136
+ children: [
1137
+ /* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
1138
+ /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
1139
+ ]
1140
+ }
1141
+ ), 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: [
1142
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(ra, {}) : /* @__PURE__ */ e.jsx(ca, {}) }),
1143
+ /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a(t.text) })
1144
+ ] }, i)) }) }), pa = ({
1145
+ chipKeys: n,
1146
+ t: a,
1147
+ onChipClick: t
1148
+ }) => {
1149
+ const i = Math.ceil(n.length / 2), o = [n.slice(0, i), n.slice(i)];
1150
+ 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(
1151
+ "button",
1152
+ {
1153
+ type: "button",
1154
+ 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",
1155
+ onClick: () => t(d, n.indexOf(d)),
1156
+ children: a(d)
1157
+ },
1158
+ d
1159
+ )) }, u)) }) });
1160
+ }, ma = ({
1161
+ textareaRef: n,
1162
+ value: a,
1163
+ label: t,
1164
+ placeholder: i,
1165
+ chipKeys: o,
1166
+ t: r,
1167
+ onFocus: u,
1168
+ onClick: d,
1169
+ onChange: m,
1170
+ onChipClick: s,
1171
+ onViewSample: g
1172
+ }) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
1173
+ /* @__PURE__ */ e.jsx(
1174
+ "div",
1175
+ {
1176
+ className: "w-full h-px mb-2",
1177
+ style: {
1178
+ backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
1179
+ }
1180
+ }
1181
+ ),
1182
+ /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
1183
+ /* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
1184
+ t,
1185
+ /* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
1186
+ ] }),
1187
+ g && /* @__PURE__ */ e.jsxs(
1188
+ "button",
1189
+ {
1190
+ type: "button",
1191
+ onClick: g,
1192
+ className: "flex items-center gap-1 text-[13px] font-semibold text-[#e05c2a] underline underline-offset-2",
1193
+ children: [
1194
+ /* @__PURE__ */ e.jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
1195
+ /* @__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" }),
1196
+ /* @__PURE__ */ e.jsx("polyline", { points: "14 2 14 8 20 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1197
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
1198
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
1199
+ ] }),
1200
+ "View sample answer"
1201
+ ]
1202
+ }
1203
+ )
1204
+ ] }),
1205
+ /* @__PURE__ */ e.jsx(
1206
+ "textarea",
1207
+ {
1208
+ id: "kundli-question",
1209
+ ref: n,
1210
+ 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",
1211
+ style: { height: "100px" },
1212
+ placeholder: i,
1213
+ value: a,
1214
+ onFocus: u,
1215
+ onClick: d,
1216
+ onChange: m
1217
+ }
1218
+ ),
1219
+ /* @__PURE__ */ e.jsx(pa, { chipKeys: o, t: r, onChipClick: s })
1220
+ ] }), ha = "_card_62fy9_1", ga = "_top_62fy9_15", xa = "_avatar_62fy9_21", fa = "_avatarPlaceholder_62fy9_38", _a = "_basicInfo_62fy9_44", ba = "_name_62fy9_51", ya = "_exp_62fy9_61", ja = "_langs_62fy9_62", va = "_divider_62fy9_69", wa = "_certList_62fy9_75", ka = "_certItem_62fy9_81", Ca = "_bullet_62fy9_90", E = {
1221
+ card: ha,
1222
+ top: ga,
1223
+ avatar: xa,
1224
+ avatarPlaceholder: fa,
1225
+ basicInfo: _a,
1226
+ name: ba,
1227
+ exp: ya,
1228
+ langs: ja,
1229
+ divider: va,
1230
+ certList: wa,
1231
+ certItem: ka,
1232
+ bullet: Ca
1233
+ }, Pa = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1234
+ /* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
1235
+ /* @__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) }) }),
1236
+ /* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
1237
+ /* @__PURE__ */ e.jsx("p", { className: E.name, children: a?.(n.name) ?? n.name }),
1238
+ /* @__PURE__ */ e.jsx("p", { className: E.exp, children: a?.(n.experience) ?? n.experience }),
1239
+ n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
1240
+ ] })
1241
+ ] }),
1242
+ /* @__PURE__ */ e.jsx("div", { className: E.divider }),
1243
+ /* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, i) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1244
+ /* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
1245
+ " ",
1246
+ a?.(t) ?? t
1247
+ ] }, i)) })
1248
+ ] }), Na = ({
1249
+ astrologers: n,
1250
+ heading: a,
1251
+ t
1252
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1253
+ /* @__PURE__ */ e.jsx(
1254
+ "div",
1255
+ {
1256
+ className: "w-full h-px my-3",
1257
+ style: {
1258
+ backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
1259
+ }
1260
+ }
1261
+ ),
1262
+ /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: a }),
1263
+ /* @__PURE__ */ e.jsx(
1264
+ "div",
1265
+ {
1266
+ className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
1267
+ role: "list",
1268
+ children: n.map((i, o) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Pa, { astrologer: i, t }) }, o))
1269
+ }
1270
+ )
1271
+ ] }), Ia = ({
1272
+ plans: n,
1273
+ selectedId: a,
1274
+ t,
1275
+ analytics: i,
1276
+ onSelectPlan: o
1277
+ }) => (
1278
+ /*
1279
+ * pt-[18px] reserves space for the badge that floats above the card.
1280
+ * Each card wrapper is `relative overflow-visible` so the badge can
1281
+ * sit above the card boundary without being clipped by the sheet's
1282
+ * overflow-hidden (the badge's nearest `overflow-hidden` ancestor is
1283
+ * now the sticky footer, not the sheet, which doesn't clip it).
1284
+ */
1285
+ /* @__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: [
1286
+ 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: [
1287
+ /* @__PURE__ */ e.jsx(da, {}),
1288
+ t(r.badge)
1289
+ ] }),
1290
+ /* @__PURE__ */ e.jsxs(
1291
+ "button",
1292
+ {
1293
+ type: "button",
1294
+ role: "radio",
1295
+ "aria-checked": r.id === a,
1296
+ className: [
1297
+ "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",
1298
+ r.id === a ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1299
+ ].join(" "),
1300
+ onClick: () => {
1301
+ i?.trackPlanSelected?.({ planId: r.id, planName: r.title }), o(r);
1302
+ },
1303
+ children: [
1304
+ /* @__PURE__ */ e.jsx(
1305
+ "span",
1306
+ {
1307
+ className: `text-[14px] leading-snug ${r.id === a ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1308
+ children: t(r.title)
1309
+ }
1310
+ ),
1311
+ /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: r.price }),
1312
+ r.newBadge && /* @__PURE__ */ e.jsxs(
1313
+ "span",
1314
+ {
1315
+ className: "absolute bottom-[6px] left-0 right-0 inline-flex items-center justify-center gap-[3px] text-[10px] font-bold leading-tight",
1316
+ style: {
1317
+ background: "linear-gradient(90deg, #793F15 0%, #E1561F 100%)",
1318
+ WebkitBackgroundClip: "text",
1319
+ WebkitTextFillColor: "transparent",
1320
+ backgroundClip: "text"
1321
+ },
1322
+ children: [
1323
+ "⏳ ",
1324
+ t(r.newBadge)
1325
+ ]
1326
+ }
1327
+ )
1328
+ ]
1329
+ }
1330
+ )
1331
+ ] }, r.id)) })
1332
+ ), La = ({
1333
+ canProceed: n,
1334
+ label: a,
1335
+ showDisabledHint: t,
1336
+ hintText: i,
1337
+ onClick: o
1338
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1339
+ t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: i }),
1340
+ /* @__PURE__ */ e.jsxs(
1341
+ "button",
1342
+ {
1343
+ className: [
1344
+ "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",
1345
+ 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"
1346
+ ].join(" "),
1347
+ style: { fontFamily: "inherit" },
1348
+ "aria-disabled": !n,
1349
+ onClick: o,
1350
+ children: [
1351
+ n && /* @__PURE__ */ e.jsx(
1352
+ "span",
1353
+ {
1354
+ className: "absolute top-0 w-1/2 h-full pointer-events-none",
1355
+ "aria-hidden": "true",
1356
+ style: {
1357
+ background: "linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%)",
1358
+ transform: "skewX(-20deg)",
1359
+ animation: "three-sku-shimmer 3s ease-in-out infinite",
1360
+ left: "-75%"
1361
+ }
1362
+ }
1363
+ ),
1364
+ /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: a })
1365
+ ]
1366
+ }
1367
+ )
1368
+ ] }), Ta = ({
1369
+ isOpen: n,
1370
+ onClose: a,
1371
+ selectedPlan: t,
1372
+ onSelectPlan: i,
1373
+ plans: o,
1374
+ onProceed: r,
1375
+ locale: u = "en",
1376
+ t: d,
1377
+ analytics: m,
1378
+ isGlobal: s = !0,
1379
+ oneQuestionSampleHref: g,
1380
+ reportLanguage: j
1381
+ }) => {
1382
+ 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 = y(null), T = y(null), f = y(null), p = y(!1), [_, N] = L(""), [A, Q] = L(!1), [D, U] = L("custom"), [B, W] = L(null), [G, V] = L(!1), z = y(!1), X = y(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(() => {
1383
+ const h = X.current;
1384
+ h && (h.style.height = "auto", h.style.height = Math.max(100, Math.min(h.scrollHeight, oa)) + "px");
1385
+ }, []);
1386
+ P(() => {
1387
+ if (n) {
1388
+ if (!t) {
1389
+ const h = v.find((I) => I.badge) ?? v[0];
1390
+ h && i(h);
1391
+ }
1392
+ p.current || (m?.trackPlanPageViewed?.(), p.current = !0);
1393
+ } else
1394
+ p.current = !1;
1395
+ }, [n, v, t, i, m]), P(() => {
1396
+ if (!n) return;
1397
+ const h = document.body.style.overflow, I = document.documentElement.style.overflow;
1398
+ return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
1399
+ document.body.style.overflow = h, document.documentElement.style.overflow = I;
1400
+ };
1401
+ }, [n]);
1402
+ const S = () => {
1403
+ m?.trackPlanPageClosed?.(), a();
1404
+ }, re = (h) => {
1405
+ const I = T.current, Z = f.current;
1406
+ if (I && Z) {
1407
+ const me = Z.getBoundingClientRect().top - I.getBoundingClientRect().top + I.scrollTop;
1408
+ I.scrollTo({ top: me, behavior: "smooth" });
1409
+ }
1410
+ z.current || (z.current = !0, m?.trackQuestionTextboxClicked?.({
1411
+ entry_method: h,
1412
+ textbox_empty: _.length === 0
1413
+ }));
1414
+ }, l = (h) => {
1415
+ const I = h.target.value.slice(0, sa);
1416
+ D === "chip" && I !== c(ke[B ?? 0]) && U("chip_edited"), N(I), le(), G && V(!1);
1417
+ }, R = (h, I) => {
1418
+ const Z = c(h), me = _.length > 0 && D !== "chip";
1419
+ m?.trackPreSuggestedQuestionSelected?.({
1420
+ question_text_loaded: Z,
1421
+ chip_index: I,
1422
+ previous_chip_index: B,
1423
+ user_had_custom_text: me
1424
+ }), N(Z), U("chip"), W(I), z.current = !1, setTimeout(le, 0);
1425
+ }, M = () => {
1426
+ if (b) {
1427
+ if (x && !_.trim()) {
1428
+ V(!0);
1429
+ return;
1430
+ }
1431
+ m?.trackPlanProceedClicked?.({
1432
+ planId: b.id,
1433
+ planName: b.title,
1434
+ price: b.price,
1435
+ currency: s ? "USD" : "INR",
1436
+ question_asked: x ? !0 : void 0,
1437
+ question_text: x ? _.trim() : void 0,
1438
+ question_source: x ? D : void 0,
1439
+ cta_type: "proceed",
1440
+ next_step: "payment"
1441
+ }), r(b, x ? _.trim() : void 0), a();
1442
+ }
1443
+ };
1444
+ return n ? nn(
1445
+ /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1446
+ /* @__PURE__ */ e.jsx("style", { children: ia }),
1447
+ /* @__PURE__ */ e.jsx(
1448
+ "div",
1449
+ {
1450
+ role: "dialog",
1451
+ "aria-modal": "true",
1452
+ "aria-label": c("planSheetTitle"),
1453
+ style: {
1454
+ position: "fixed",
1455
+ inset: 0,
1456
+ zIndex: 1e3,
1457
+ background: "rgba(0, 0, 0, 0.55)",
1458
+ display: "flex",
1459
+ alignItems: "stretch",
1460
+ justifyContent: "center"
1461
+ },
1462
+ children: /* @__PURE__ */ e.jsxs(
1463
+ "div",
1464
+ {
1465
+ ref: C,
1466
+ className: "three-sku-sheet",
1467
+ style: {
1468
+ width: "100%",
1469
+ maxWidth: 480,
1470
+ /* Percentages of the viewport-sized overlay above, never `dvh`:
1471
+ * Android WebViews own the visual viewport natively and can
1472
+ * resolve viewport units against a zero/stale one during first
1473
+ * layout, which collapsed this sheet to 0px and — with
1474
+ * `overflow: hidden` — clipped it away entirely, leaving only the
1475
+ * backdrop on screen. `minHeight` is the floor if that recurs. */
1476
+ height: "100%",
1477
+ maxHeight: "100%",
1478
+ minHeight: 96,
1479
+ paddingTop: 12,
1480
+ background: "#fff",
1481
+ display: "flex",
1482
+ flexDirection: "column",
1483
+ overflow: "hidden"
1484
+ },
1485
+ children: [
1486
+ /* @__PURE__ */ e.jsx(la, { title: c("planSheetTitle"), onClose: S }),
1487
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: T, children: [
1488
+ /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: c(b?.title ?? "") }),
1489
+ b && /* @__PURE__ */ e.jsx(ua, { plan: b, t: c }),
1490
+ x && /* @__PURE__ */ e.jsx("div", { ref: f, children: /* @__PURE__ */ e.jsx(
1491
+ ma,
1492
+ {
1493
+ textareaRef: X,
1494
+ value: _,
1495
+ label: c("planQuestionLabel"),
1496
+ placeholder: c("planQuestionPlaceholder"),
1497
+ chipKeys: ke,
1498
+ t: c,
1499
+ onFocus: () => re("keyboard_focus"),
1500
+ onClick: () => re("tap"),
1501
+ onChange: l,
1502
+ onChipClick: R,
1503
+ onViewSample: g ? () => {
1504
+ m?.trackOneQuestionViewSampleReportClicked?.(), Q(!0);
1505
+ } : void 0
1506
+ }
1507
+ ) }),
1508
+ b?.astrologers && b.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1509
+ Na,
1510
+ {
1511
+ astrologers: b.astrologers,
1512
+ heading: c("planAstrologerHeading"),
1513
+ t: c
1514
+ }
1515
+ )
1516
+ ] }),
1517
+ /* @__PURE__ */ e.jsxs(
1518
+ "div",
1519
+ {
1520
+ className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5] overflow-visible",
1521
+ style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
1522
+ children: [
1523
+ /* @__PURE__ */ e.jsx(
1524
+ Ia,
1525
+ {
1526
+ plans: v,
1527
+ selectedId: k,
1528
+ t: c,
1529
+ analytics: m,
1530
+ onSelectPlan: i
1531
+ }
1532
+ ),
1533
+ /* @__PURE__ */ e.jsx(
1534
+ La,
1535
+ {
1536
+ canProceed: pe,
1537
+ label: c("planProceedToPayment"),
1538
+ showDisabledHint: G,
1539
+ hintText: c("planQuestionHint"),
1540
+ onClick: M
1541
+ }
1542
+ )
1543
+ ]
1544
+ }
1545
+ )
1546
+ ]
1547
+ }
1548
+ )
1549
+ }
1550
+ ),
1551
+ ue && b?.astrologers && /* @__PURE__ */ e.jsx(
1552
+ Ke,
1553
+ {
1554
+ isOpen: te,
1555
+ onClose: () => J(!1),
1556
+ astrologers: b.astrologers,
1557
+ t: c,
1558
+ analytics: m,
1559
+ reportLanguage: j,
1560
+ onProceed: (h) => {
1561
+ m?.trackPlanProceedClicked?.({
1562
+ planId: b.id,
1563
+ planName: b.title,
1564
+ price: b.price,
1565
+ currency: s ? "USD" : "INR",
1566
+ cta_type: "proceed",
1567
+ next_step: "payment"
1568
+ }), r(b, void 0, h), J(!1), a();
1569
+ }
1570
+ }
1571
+ ),
1572
+ g && /* @__PURE__ */ e.jsx(
1573
+ Ee,
1574
+ {
1575
+ isOpen: A,
1576
+ onClose: () => Q(!1),
1577
+ title: "1 Question Sample Answer",
1578
+ pdfUrl: g
1579
+ }
1580
+ )
1581
+ ] }),
1582
+ document.body
1583
+ ) : null;
1584
+ }, Sa = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ra = (n, a) => Le[n]?.[a] ?? a, Fa = 112;
1585
+ function $({
1586
+ section: n,
1587
+ children: a,
1588
+ onImpression: t
1589
+ }) {
1590
+ const i = y(null), o = y(!1);
1591
+ return P(() => {
1592
+ const r = i.current;
1593
+ if (!r) return;
1594
+ const u = new IntersectionObserver(
1595
+ ([d]) => {
1596
+ !d?.isIntersecting || o.current || (o.current = !0, t(n));
1597
+ },
1598
+ {
1599
+ threshold: 0.1,
1600
+ // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
1601
+ rootMargin: `0px 0px -${Fa}px 0px`
1602
+ }
1603
+ );
1604
+ return u.observe(r), () => u.disconnect();
1605
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: i, children: a });
1606
+ }
1607
+ function Ea({
1608
+ className: n,
1609
+ showInlineForm: a = !1,
1610
+ enableThreeSkuFlow: t = !1,
1611
+ enableConsultationScheduling: i = !1,
1612
+ kundliReportSampleHref: o,
1613
+ oneQuestionSampleHref: r = Bt
1614
+ }) {
1615
+ const u = Pe(), { locale: d, setLocale: m, config: s, formValues: g, setFormValues: j } = ge(), c = o ?? de[d] ?? de.en, [v, k] = L(!1), [C, T] = L(null), f = y(null), p = y(void 0), _ = y(void 0), N = y(null), A = y(!1), Q = ne((l) => {
1616
+ f.current = l, k(!0);
1617
+ }, []), D = ne(() => {
1618
+ if (!f.current || !C) return;
1619
+ const l = {
1620
+ ...f.current,
1621
+ _selectedPlan: C,
1622
+ ...p.current !== void 0 ? { _question: p.current } : {},
1623
+ ..._.current !== void 0 ? { _consultationSlot: _.current } : {}
1624
+ };
1625
+ p.current = void 0, _.current = void 0, C.id === He && s.onProceedGuidance ? s.onProceedGuidance(l) : s.onProceed?.(l), k(!1), f.current = null;
1626
+ }, [C, s.onProceed, s.onProceedGuidance]), [U, B] = L(!1), [W, G] = L(
1627
+ s.isGlobal ?? !0 ? "+1" : "+91"
1628
+ ), V = y(null), z = y(null), X = y(s.locale), te = y(
1629
+ u?.locale
1630
+ );
1631
+ P(() => {
1632
+ s.locale && X.current !== s.locale && m(s.locale), X.current = s.locale;
1633
+ }, [s.locale, m]), P(() => {
1634
+ if (s.locale) return;
1635
+ const l = u?.locale;
1636
+ l && te.current !== l && m(l), te.current = l;
1637
+ }, [u?.locale, s.locale, m]), P(() => {
1638
+ G(s.isGlobal ?? !0 ? "+1" : "+91");
1639
+ }, [s.isGlobal]);
1640
+ const J = y(!1);
1641
+ P(() => {
1642
+ if (J.current || !a || s.autoOpenPlanSheet) return;
1643
+ const l = s.initialFormValues;
1644
+ if (!(!!l && (!!l.fullName || !!l.phone || !!l.email || !!l.gender || !!l.language_code || !!l.dateOfBirth || !!l.birthTime || !!l.birthPlace))) return;
1645
+ J.current = !0;
1646
+ const M = requestAnimationFrame(() => {
1647
+ V.current?.scrollIntoView({ behavior: "smooth", block: "start" });
1648
+ });
1649
+ return () => cancelAnimationFrame(M);
1650
+ }, [a, s.autoOpenPlanSheet, s.initialFormValues]);
1651
+ const b = y(!1);
1652
+ P(() => {
1653
+ if (b.current || !s.autoOpenPlanSheet) return;
1654
+ b.current = !0, V.current?.scrollIntoView({ behavior: "auto", block: "start" });
1655
+ const l = (g.phone ?? "").trim();
1656
+ Q({
1657
+ ...g,
1658
+ phone: l && `${W}-${l}`
1659
+ });
1660
+ }, [s.autoOpenPlanSheet]), P(() => {
1661
+ if (!U) return;
1662
+ const l = (R) => {
1663
+ z.current && !z.current.contains(R.target) && B(!1);
1664
+ };
1665
+ return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
1666
+ }, [U]), P(() => {
1667
+ if (!t) return;
1668
+ const l = N.current;
1669
+ if (!l) return;
1670
+ const R = new IntersectionObserver(
1671
+ ([M]) => {
1672
+ A.current || !M?.isIntersecting || (M.intersectionRatio ?? 0) < 0.5 || (A.current = !0, s.analytics?.trackComparisonTableImpression?.());
1673
+ },
1674
+ { threshold: 0.5 }
1675
+ );
1676
+ return R.observe(l), () => R.disconnect();
1677
+ }, [t, s.analytics]);
1678
+ const x = (l) => Ra(d, l), ue = s.showLanguageSelector ?? !0, pe = s.resolvedUtmBannerImageUrl || void 0, le = ue ? /* @__PURE__ */ e.jsxs("div", { className: H.langDropdownWrap, ref: z, children: [
1679
+ /* @__PURE__ */ e.jsxs(
1680
+ "button",
1681
+ {
1682
+ type: "button",
1683
+ className: H.langTrigger,
1684
+ onClick: () => {
1685
+ s.analytics?.trackLanguageClickedFe?.({ language: d }), B((l) => !l);
1686
+ },
1687
+ "aria-expanded": U,
1688
+ "aria-haspopup": "listbox",
1689
+ id: "kundli-lang",
1690
+ "aria-label": x("language"),
1691
+ children: [
1692
+ /* @__PURE__ */ e.jsx(
1693
+ "img",
1694
+ {
1695
+ src: Sa,
1696
+ alt: "",
1697
+ className: H.langIcon,
1698
+ width: 16,
1699
+ height: 16,
1700
+ "aria-hidden": !0
1701
+ }
1702
+ ),
1703
+ /* @__PURE__ */ e.jsx("span", { className: H.langLabel, children: ce[d] })
1704
+ ]
1705
+ }
1706
+ ),
1707
+ U && /* @__PURE__ */ e.jsx(
1708
+ "ul",
1709
+ {
1710
+ className: H.langMenu,
1711
+ role: "listbox",
1712
+ "aria-labelledby": "kundli-lang",
1713
+ "aria-activedescendant": `kundli-lang-option-${d}`,
1714
+ children: Ne.map((l) => /* @__PURE__ */ e.jsx(
1715
+ "li",
1716
+ {
1717
+ id: `kundli-lang-option-${l}`,
1718
+ role: "option",
1719
+ "aria-selected": l === d,
1720
+ className: H.langOption,
1721
+ onClick: () => {
1722
+ s.analytics?.trackLanguageChangedFe?.({
1723
+ newLanguage: l
1724
+ }), m(l), B(!1);
1725
+ },
1726
+ children: ce[l]
1727
+ },
1728
+ l
1729
+ ))
1730
+ }
1731
+ )
1732
+ ] }) : null, S = ne(
1733
+ (l) => {
1734
+ s.analytics?.trackDetailedKundliReportImpressionFe?.({
1735
+ section: l,
1736
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
1737
+ });
1738
+ },
1739
+ [s.analytics]
1740
+ ), re = ne((l) => {
1741
+ const M = {
1742
+ fullName: "kundli-full-name",
1743
+ phone: "kundli-phone",
1744
+ email: "kundli-email",
1745
+ dateOfBirth: "kundli-dob",
1746
+ birthTime: "kundli-birth-time",
1747
+ birthPlace: "kundli-birth-place",
1748
+ gender: "kundli-gender-male",
1749
+ language_code: "kundli-report-lang-hi"
1750
+ }[l] ?? "kundli-full-name", h = document.getElementById(M);
1751
+ if (h) {
1752
+ const Z = h.getBoundingClientRect().top + window.scrollY - 120;
1753
+ window.scrollTo({
1754
+ top: Z,
1755
+ behavior: "smooth"
1756
+ }), setTimeout(() => h.focus(), 500);
1757
+ }
1758
+ }, []);
1759
+ return /* @__PURE__ */ e.jsxs("div", { className: `${H.container} ${n}`, children: [
1760
+ /* @__PURE__ */ e.jsx(
1761
+ Ie,
1762
+ {
1763
+ t: x,
1764
+ logoUrl: s.logoUrl,
1765
+ languageSelector: le
1766
+ }
1767
+ ),
1768
+ /* @__PURE__ */ e.jsxs("main", { className: H.main, children: [
1769
+ /* @__PURE__ */ e.jsx(
1770
+ $,
1771
+ {
1772
+ section: "hero",
1773
+ onImpression: S,
1774
+ children: /* @__PURE__ */ e.jsx(Te, { t: x })
1775
+ }
1776
+ ),
1777
+ /* @__PURE__ */ e.jsx(
1778
+ $,
1779
+ {
1780
+ section: "premium_report_overview",
1781
+ onImpression: S,
1782
+ children: /* @__PURE__ */ e.jsx(
1783
+ Se,
1784
+ {
1785
+ t: x,
1786
+ reportImageUrl: s.reportImageUrl,
1787
+ analytics: s.analytics,
1788
+ utmBannerImageUrl: pe,
1789
+ utmBannerAltText: ""
1790
+ }
1791
+ )
1792
+ }
1793
+ ),
1794
+ /* @__PURE__ */ e.jsx(
1795
+ $,
1796
+ {
1797
+ section: "university_certification",
1798
+ onImpression: S,
1799
+ children: /* @__PURE__ */ e.jsx(
1800
+ Re,
1801
+ {
1802
+ t: x,
1803
+ logoUrl: s.universityLogoUrls?.find(
1804
+ (l) => !!l
1805
+ )
1806
+ }
1807
+ )
1808
+ }
1809
+ ),
1810
+ /* @__PURE__ */ e.jsx(
1811
+ $,
1812
+ {
1813
+ section: "three_steps_process",
1814
+ onImpression: S,
1815
+ children: /* @__PURE__ */ e.jsx(Fe, { t: x, locale: d, isGlobal: s.isGlobal })
1816
+ }
1817
+ ),
1818
+ /* @__PURE__ */ e.jsx(
1819
+ $,
1820
+ {
1821
+ section: "view_sample_report",
1822
+ onImpression: S,
1823
+ children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
1824
+ $t,
1825
+ {
1826
+ kundliReportSampleHref: c,
1827
+ analytics: s.analytics,
1828
+ s: Mt(d)
1829
+ }
1830
+ ) }) : /* @__PURE__ */ e.jsx(
1831
+ xe,
1832
+ {
1833
+ t: x,
1834
+ pdfUrl: s.sampleReportHref ?? c,
1835
+ onClick: s.onViewSampleReport,
1836
+ analytics: s.analytics
1837
+ }
1838
+ )
1839
+ }
1840
+ ),
1841
+ a && /* @__PURE__ */ e.jsx(
1842
+ $,
1843
+ {
1844
+ section: "inline_form",
1845
+ onImpression: S,
1846
+ children: /* @__PURE__ */ e.jsxs("div", { className: H.inlineFormWrap, ref: V, children: [
1847
+ /* @__PURE__ */ e.jsx(Qe, { t: x, align: "center" }),
1848
+ /* @__PURE__ */ e.jsx(
1849
+ We,
1850
+ {
1851
+ t: x,
1852
+ values: g,
1853
+ onChange: j,
1854
+ phoneIsdCode: W,
1855
+ onPhoneIsdCodeChange: G,
1856
+ showV1ExtraFields: !0,
1857
+ analytics: s.analytics
1858
+ }
1859
+ ),
1860
+ /* @__PURE__ */ e.jsx(
1861
+ Ge,
1862
+ {
1863
+ t: x,
1864
+ values: g,
1865
+ phoneIsdCode: W,
1866
+ hideOriginalPrice: !0,
1867
+ requireV1ExtraFields: !0,
1868
+ onValidationFailed: re,
1869
+ onProceed: s.onProceed,
1870
+ href: s.proceedHref,
1871
+ originalPriceLabel: s.originalPriceLabel,
1872
+ discountedPriceLabel: s.discountedPriceLabel,
1873
+ analytics: s.analytics,
1874
+ className: H.inlineProceedFooter,
1875
+ onProceedGuidance: s.onProceedGuidance,
1876
+ showPlanSheet: Q,
1877
+ confirmPlan: D,
1878
+ planSheetOpen: v,
1879
+ selectedPlan: C
1880
+ }
1881
+ )
1882
+ ] })
1883
+ }
1884
+ ),
1885
+ /* @__PURE__ */ e.jsx(
1886
+ $,
1887
+ {
1888
+ section: "what_youll_find",
1889
+ onImpression: S,
1890
+ children: /* @__PURE__ */ e.jsx(Ae, { t: x })
1891
+ }
1892
+ ),
1893
+ /* @__PURE__ */ e.jsx(
1894
+ $,
1895
+ {
1896
+ section: "why_us",
1897
+ onImpression: S,
1898
+ children: /* @__PURE__ */ e.jsx(De, { t: x })
1899
+ }
1900
+ ),
1901
+ /* @__PURE__ */ e.jsx(
1902
+ $,
1903
+ {
1904
+ section: "feedback",
1905
+ onImpression: S,
1906
+ children: /* @__PURE__ */ e.jsx(
1907
+ Ue,
1908
+ {
1909
+ t: x,
1910
+ readMoreHref: s.readMoreReviewsHref,
1911
+ onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
1912
+ }
1913
+ )
1914
+ }
1915
+ ),
1916
+ /* @__PURE__ */ e.jsx(
1917
+ $,
1918
+ {
1919
+ section: "faq",
1920
+ onImpression: S,
1921
+ children: /* @__PURE__ */ e.jsx($e, { t: x })
1922
+ }
1923
+ ),
1924
+ /* @__PURE__ */ e.jsx(
1925
+ $,
1926
+ {
1927
+ section: "contact_us",
1928
+ onImpression: S,
1929
+ children: /* @__PURE__ */ e.jsx(Be, { t: x })
1930
+ }
1931
+ )
1932
+ ] }),
1933
+ t ? /* @__PURE__ */ e.jsx(
1934
+ Ta,
1935
+ {
1936
+ isOpen: v,
1937
+ onClose: () => k(!1),
1938
+ selectedPlan: C,
1939
+ onSelectPlan: (l) => T(l),
1940
+ plans: s.threeSkuPlans,
1941
+ isGlobal: s.isGlobal,
1942
+ locale: d,
1943
+ onProceed: (l, R, M) => {
1944
+ p.current = R, _.current = M, D();
1945
+ },
1946
+ t: x,
1947
+ analytics: s.analytics,
1948
+ oneQuestionSampleHref: r,
1949
+ reportLanguage: g.language_code
1950
+ }
1951
+ ) : /* @__PURE__ */ e.jsx(
1952
+ ze,
1953
+ {
1954
+ isOpen: v,
1955
+ onClose: () => k(!1),
1956
+ selectedPlan: C,
1957
+ onSelectPlan: (l) => T(l),
1958
+ onProceed: (l, R) => {
1959
+ _.current = R, D();
1960
+ },
1961
+ plans: s.plans,
1962
+ t: x,
1963
+ analytics: s.analytics,
1964
+ enableConsultationScheduling: i
1965
+ }
1966
+ )
1967
+ ] });
1968
+ }
1969
+ const Aa = ({
1970
+ className: n = "",
1971
+ locale: a,
1972
+ showLanguageSelector: t = !0,
1973
+ showSheet: i,
1974
+ userId: o,
1975
+ isGlobal: r,
1976
+ initialFormValues: u,
1977
+ autoOpenPlanSheet: d,
1978
+ googleMapsApiKey: m,
1979
+ atlasSearchLocalities: s,
1980
+ googleMapsAutocompleteEnabled: g,
1981
+ enableThreeSkuFlow: j = !1,
1982
+ enableConsultationScheduling: c = !1,
1983
+ fetchConsultationSlots: v,
1984
+ kundliReportSampleHref: k,
1985
+ oneQuestionSampleHref: C,
1986
+ logoUrl: T,
1987
+ reportImageUrl: f,
1988
+ universityLogoUrls: p,
1989
+ sampleReportHref: _,
1990
+ onViewSampleReport: N,
1991
+ ctaHref: A,
1992
+ onCtaClick: Q,
1993
+ readMoreReviewsHref: D,
1994
+ onProceed: U,
1995
+ proceedHref: B,
1996
+ originalPriceLabel: W,
1997
+ discountedPriceLabel: G,
1998
+ discountPillLabel: V,
1999
+ analytics: z,
2000
+ onProceedGuidance: X,
2001
+ onLocaleChange: te,
2002
+ resolvedUtmBannerImageUrl: J,
2003
+ plans: b,
2004
+ threeSkuPlans: x
2005
+ }) => /* @__PURE__ */ e.jsx(
2006
+ Ce,
2007
+ {
2008
+ locale: a,
2009
+ showLanguageSelector: t,
2010
+ showSheet: i,
2011
+ userId: o,
2012
+ isGlobal: r,
2013
+ variant: "v1",
2014
+ initialFormValues: u,
2015
+ autoOpenPlanSheet: d,
2016
+ googleMapsApiKey: m,
2017
+ atlasSearchLocalities: s,
2018
+ googleMapsAutocompleteEnabled: g,
2019
+ enableConsultationScheduling: c,
2020
+ fetchConsultationSlots: v,
2021
+ logoUrl: T,
2022
+ reportImageUrl: f,
2023
+ universityLogoUrls: p,
2024
+ sampleReportHref: _,
2025
+ onViewSampleReport: N,
2026
+ ctaHref: A,
2027
+ onCtaClick: Q,
2028
+ readMoreReviewsHref: D,
2029
+ onProceed: U,
2030
+ onProceedGuidance: X,
2031
+ proceedHref: B,
2032
+ originalPriceLabel: W,
2033
+ discountedPriceLabel: G,
2034
+ discountPillLabel: V,
2035
+ analytics: z,
2036
+ onLocaleChange: te,
2037
+ resolvedUtmBannerImageUrl: J,
2038
+ plans: b,
2039
+ threeSkuPlans: x,
2040
+ children: /* @__PURE__ */ e.jsx(
2041
+ Ea,
2042
+ {
2043
+ className: n,
2044
+ showInlineForm: !0,
2045
+ enableThreeSkuFlow: j,
2046
+ enableConsultationScheduling: c,
2047
+ kundliReportSampleHref: k,
2048
+ oneQuestionSampleHref: C
2049
+ }
2050
+ )
2051
+ }
2052
+ ), Ma = ({ variant: n, ...a }) => {
2053
+ const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
2054
+ return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Aa, { ...a }) : /* @__PURE__ */ e.jsx(Wt, { ...a });
2055
+ }, 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}";
2056
+ export {
2057
+ Oa as K,
2058
+ Pn as P,
2059
+ Ma as a,
2060
+ Wt as b,
2061
+ Aa as c
2062
+ };
2063
+ //# sourceMappingURL=criticalCss-Dwemq76K.js.map