@srimandir/kundli-generator 9.4.2 → 9.5.0

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