@srimandir/kundli-generator 5.30.26 → 5.30.27
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.
|
@@ -24,7 +24,7 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
24
24
|
"topicCareer",
|
|
25
25
|
"topicEducation",
|
|
26
26
|
"topicMoney"
|
|
27
|
-
], Ne = ({ t: n, className:
|
|
27
|
+
], Ne = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ne.hero} ${a}`, "aria-labelledby": "hero-title", children: [
|
|
28
28
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: ne.title, children: n("heroTitle") }),
|
|
29
29
|
/* @__PURE__ */ e.jsx("p", { className: ne.subtitle, children: n("heroSubtitle") }),
|
|
30
30
|
/* @__PURE__ */ e.jsx("div", { className: ne.topicTags, role: "list", children: hn.map((t) => /* @__PURE__ */ e.jsx("span", { className: ne.tag, role: "listitem", children: n(t) }, t)) })
|
|
@@ -33,21 +33,21 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
33
33
|
bannerImage: xn
|
|
34
34
|
}, ke = ({
|
|
35
35
|
imageUrl: n,
|
|
36
|
-
altText:
|
|
36
|
+
altText: a,
|
|
37
37
|
imageComponent: t,
|
|
38
38
|
className: o = ""
|
|
39
39
|
}) => {
|
|
40
|
-
const
|
|
40
|
+
const s = t ?? Y;
|
|
41
41
|
return /* @__PURE__ */ e.jsx(
|
|
42
42
|
"section",
|
|
43
43
|
{
|
|
44
44
|
className: `${me.bannerSection} ${o}`,
|
|
45
|
-
"aria-label":
|
|
45
|
+
"aria-label": a,
|
|
46
46
|
children: /* @__PURE__ */ e.jsx(
|
|
47
|
-
|
|
47
|
+
s,
|
|
48
48
|
{
|
|
49
49
|
src: n,
|
|
50
|
-
alt:
|
|
50
|
+
alt: a,
|
|
51
51
|
className: me.bannerImage,
|
|
52
52
|
priority: !0,
|
|
53
53
|
fetchPriority: "high",
|
|
@@ -79,14 +79,14 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
79
79
|
"premiumFeature4"
|
|
80
80
|
], En = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ie = ({
|
|
81
81
|
t: n,
|
|
82
|
-
reportImageUrl:
|
|
82
|
+
reportImageUrl: a = En,
|
|
83
83
|
reportImagePriority: t,
|
|
84
84
|
backgroundImagePriority: o = !1,
|
|
85
|
-
analytics:
|
|
85
|
+
analytics: s,
|
|
86
86
|
className: r = ""
|
|
87
87
|
}) => {
|
|
88
88
|
const p = X()?.config.imageComponent ?? Y, i = () => {
|
|
89
|
-
|
|
89
|
+
s?.trackBannerClicked?.();
|
|
90
90
|
};
|
|
91
91
|
return /* @__PURE__ */ e.jsxs(
|
|
92
92
|
"section",
|
|
@@ -146,7 +146,7 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
146
146
|
/* @__PURE__ */ e.jsx("div", { className: w.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
147
147
|
p,
|
|
148
148
|
{
|
|
149
|
-
src:
|
|
149
|
+
src: a,
|
|
150
150
|
alt: "",
|
|
151
151
|
className: w.reportImg,
|
|
152
152
|
width: 120,
|
|
@@ -167,16 +167,16 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
167
167
|
logoImg: Dn
|
|
168
168
|
}, Bn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Le = ({
|
|
169
169
|
t: n,
|
|
170
|
-
logoUrl:
|
|
170
|
+
logoUrl: a = Bn,
|
|
171
171
|
className: t = ""
|
|
172
172
|
}) => {
|
|
173
|
-
const
|
|
173
|
+
const s = X()?.config.imageComponent ?? Y;
|
|
174
174
|
return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${t}`, "aria-labelledby": "certified-heading", children: [
|
|
175
175
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ce.heading, children: n("certifiedBy") }),
|
|
176
176
|
/* @__PURE__ */ e.jsx(
|
|
177
|
-
|
|
177
|
+
s,
|
|
178
178
|
{
|
|
179
|
-
src:
|
|
179
|
+
src: a,
|
|
180
180
|
alt: "University Certification",
|
|
181
181
|
className: ce.logoImg,
|
|
182
182
|
width: 380,
|
|
@@ -196,11 +196,11 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
196
196
|
step3Days: Hn
|
|
197
197
|
}, Wn = ["step1", "step2"], Fe = ({
|
|
198
198
|
t: n,
|
|
199
|
-
locale:
|
|
199
|
+
locale: a = "en",
|
|
200
200
|
isGlobal: t = !0,
|
|
201
201
|
className: o = ""
|
|
202
202
|
}) => {
|
|
203
|
-
const
|
|
203
|
+
const s = t ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
204
204
|
return /* @__PURE__ */ e.jsxs(
|
|
205
205
|
"section",
|
|
206
206
|
{
|
|
@@ -217,9 +217,9 @@ const en = "_container_nm3gb_1", nn = "_main_nm3gb_6", tn = "_langDropdownWrap_n
|
|
|
217
217
|
/* @__PURE__ */ e.jsxs("li", { className: E.stepItem, children: [
|
|
218
218
|
/* @__PURE__ */ e.jsx("span", { className: E.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
219
219
|
/* @__PURE__ */ e.jsxs("span", { className: E.stepText, children: [
|
|
220
|
-
n(
|
|
220
|
+
n(s),
|
|
221
221
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
222
|
-
|
|
222
|
+
a === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
223
223
|
"in ",
|
|
224
224
|
/* @__PURE__ */ e.jsx("strong", { className: E.step3Days, children: n("step3Days") })
|
|
225
225
|
] }) : /* @__PURE__ */ e.jsx("strong", { className: E.step3Days, children: n("step3Days") })
|
|
@@ -249,31 +249,31 @@ function ot(n) {
|
|
|
249
249
|
}
|
|
250
250
|
const Te = ({
|
|
251
251
|
isOpen: n,
|
|
252
|
-
onClose:
|
|
252
|
+
onClose: a,
|
|
253
253
|
title: t,
|
|
254
254
|
pdfUrl: o
|
|
255
255
|
}) => {
|
|
256
|
-
const
|
|
256
|
+
const s = b(null), [r, l] = N(!0), [p, i] = N(null), [f, _] = N(null);
|
|
257
257
|
return P(() => {
|
|
258
258
|
if (!n) return;
|
|
259
259
|
const u = (h) => {
|
|
260
|
-
h.key === "Escape" &&
|
|
260
|
+
h.key === "Escape" && a();
|
|
261
261
|
};
|
|
262
262
|
return document.addEventListener("keydown", u), document.body.style.overflow = "hidden", () => {
|
|
263
263
|
document.removeEventListener("keydown", u), document.body.style.overflow = "";
|
|
264
264
|
};
|
|
265
|
-
}, [n,
|
|
265
|
+
}, [n, a]), P(() => {
|
|
266
266
|
n && import("pdfjs-dist").then((u) => {
|
|
267
267
|
_(u);
|
|
268
268
|
}).catch((u) => {
|
|
269
269
|
i("Failed to load PDF viewer"), l(!1);
|
|
270
270
|
});
|
|
271
271
|
}, [n]), P(() => {
|
|
272
|
-
if (!n || !o || !
|
|
273
|
-
l(!0), i(null),
|
|
272
|
+
if (!n || !o || !s.current || !f) return;
|
|
273
|
+
l(!0), i(null), s.current.innerHTML = "", (async () => {
|
|
274
274
|
try {
|
|
275
275
|
ot(f);
|
|
276
|
-
const j = await f.getDocument({ url: o }).promise, k =
|
|
276
|
+
const j = await f.getDocument({ url: o }).promise, k = s.current;
|
|
277
277
|
if (!k) return;
|
|
278
278
|
const g = k.clientWidth || 600, I = Math.min(g / 612, 2);
|
|
279
279
|
for (let L = 1; L <= j.numPages; L++) {
|
|
@@ -292,7 +292,7 @@ const Te = ({
|
|
|
292
292
|
"div",
|
|
293
293
|
{
|
|
294
294
|
className: B.backdrop,
|
|
295
|
-
onClick:
|
|
295
|
+
onClick: a,
|
|
296
296
|
role: "dialog",
|
|
297
297
|
"aria-modal": "true",
|
|
298
298
|
"aria-labelledby": "sample-report-modal-title",
|
|
@@ -309,7 +309,7 @@ const Te = ({
|
|
|
309
309
|
{
|
|
310
310
|
type: "button",
|
|
311
311
|
className: B.closeBtn,
|
|
312
|
-
onClick:
|
|
312
|
+
onClick: a,
|
|
313
313
|
"aria-label": "Close",
|
|
314
314
|
children: "×"
|
|
315
315
|
}
|
|
@@ -321,7 +321,7 @@ const Te = ({
|
|
|
321
321
|
/* @__PURE__ */ e.jsx("span", { children: p }),
|
|
322
322
|
/* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
323
323
|
] }),
|
|
324
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
324
|
+
/* @__PURE__ */ e.jsx("div", { ref: s, className: B.pdfPages })
|
|
325
325
|
] }),
|
|
326
326
|
/* @__PURE__ */ e.jsx(
|
|
327
327
|
"a",
|
|
@@ -341,17 +341,17 @@ const Te = ({
|
|
|
341
341
|
) : null;
|
|
342
342
|
}, rt = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ue = ({
|
|
343
343
|
t: n,
|
|
344
|
-
pdfUrl:
|
|
344
|
+
pdfUrl: a = rt,
|
|
345
345
|
onClick: t,
|
|
346
346
|
analytics: o,
|
|
347
|
-
className:
|
|
347
|
+
className: s = ""
|
|
348
348
|
}) => {
|
|
349
349
|
const [r, l] = N(!1), p = n("viewSampleReport"), i = n("sampleReportModalTitle"), f = () => {
|
|
350
350
|
o?.trackViewSampleReportClicked?.(), t?.(), l(!0);
|
|
351
351
|
}, _ = () => {
|
|
352
352
|
o?.trackViewSampleReportClosed?.(), l(!1);
|
|
353
353
|
};
|
|
354
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${he.section} ${
|
|
354
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${he.section} ${s}`, children: [
|
|
355
355
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: he.button, onClick: f, children: p }),
|
|
356
356
|
/* @__PURE__ */ e.jsx(
|
|
357
357
|
Te,
|
|
@@ -359,7 +359,7 @@ const Te = ({
|
|
|
359
359
|
isOpen: r,
|
|
360
360
|
onClose: _,
|
|
361
361
|
title: i,
|
|
362
|
-
pdfUrl:
|
|
362
|
+
pdfUrl: a
|
|
363
363
|
}
|
|
364
364
|
)
|
|
365
365
|
] });
|
|
@@ -390,10 +390,10 @@ const Te = ({
|
|
|
390
390
|
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
391
391
|
], Re = ({
|
|
392
392
|
t: n,
|
|
393
|
-
imageUrls:
|
|
393
|
+
imageUrls: a = bt,
|
|
394
394
|
className: t = ""
|
|
395
395
|
}) => {
|
|
396
|
-
const
|
|
396
|
+
const s = X()?.config.imageComponent ?? Y;
|
|
397
397
|
return /* @__PURE__ */ e.jsxs(
|
|
398
398
|
"section",
|
|
399
399
|
{
|
|
@@ -402,10 +402,10 @@ const Te = ({
|
|
|
402
402
|
children: [
|
|
403
403
|
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: K.heading, children: n("whatYoullFindTitle") }),
|
|
404
404
|
/* @__PURE__ */ e.jsx("ul", { className: K.list, children: _t.map((r, l) => /* @__PURE__ */ e.jsxs("li", { className: K.item, children: [
|
|
405
|
-
/* @__PURE__ */ e.jsx("div", { className: K.imageWrap, children:
|
|
406
|
-
|
|
405
|
+
/* @__PURE__ */ e.jsx("div", { className: K.imageWrap, children: a[l] ? /* @__PURE__ */ e.jsx(
|
|
406
|
+
s,
|
|
407
407
|
{
|
|
408
|
-
src:
|
|
408
|
+
src: a[l],
|
|
409
409
|
alt: "",
|
|
410
410
|
className: K.image,
|
|
411
411
|
width: 96,
|
|
@@ -428,7 +428,7 @@ const Te = ({
|
|
|
428
428
|
subtitle: wt,
|
|
429
429
|
list: vt,
|
|
430
430
|
item: Ct
|
|
431
|
-
}, Pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Se = ({ t: n, className:
|
|
431
|
+
}, Pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Se = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.section} ${a}`, "aria-labelledby": "why-heading", children: [
|
|
432
432
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: te.heading, children: n("whyUsTitle") }),
|
|
433
433
|
/* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("whyUsSubtitle") }),
|
|
434
434
|
/* @__PURE__ */ e.jsx("ul", { className: te.list, children: Pt.map((t) => /* @__PURE__ */ e.jsx("li", { className: te.item, children: n(t) }, t)) })
|
|
@@ -436,19 +436,19 @@ const Te = ({
|
|
|
436
436
|
headingBold: Nt
|
|
437
437
|
}, Ee = ({
|
|
438
438
|
t: n,
|
|
439
|
-
testimonials:
|
|
439
|
+
testimonials: a,
|
|
440
440
|
readMoreHref: t,
|
|
441
441
|
onReadMore: o,
|
|
442
|
-
className:
|
|
442
|
+
className: s = "",
|
|
443
443
|
headingClassName: r = kt.headingBold
|
|
444
444
|
}) => /* @__PURE__ */ e.jsx(
|
|
445
445
|
ze,
|
|
446
446
|
{
|
|
447
447
|
t: n,
|
|
448
|
-
testimonials:
|
|
448
|
+
testimonials: a,
|
|
449
449
|
readMoreHref: t,
|
|
450
450
|
onReadMore: o,
|
|
451
|
-
className:
|
|
451
|
+
className: s,
|
|
452
452
|
headingClassName: r
|
|
453
453
|
}
|
|
454
454
|
), It = "_headingBold_g8xg7_1", Lt = {
|
|
@@ -458,10 +458,10 @@ const Te = ({
|
|
|
458
458
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
459
459
|
], Ae = ({
|
|
460
460
|
t: n,
|
|
461
|
-
className:
|
|
461
|
+
className: a = "",
|
|
462
462
|
headingClassName: t = Lt.headingBold
|
|
463
463
|
}) => {
|
|
464
|
-
const
|
|
464
|
+
const s = X()?.config.isGlobal ?? !0, r = (l) => l === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : l;
|
|
465
465
|
return /* @__PURE__ */ e.jsx(
|
|
466
466
|
Ve,
|
|
467
467
|
{
|
|
@@ -469,24 +469,24 @@ const Te = ({
|
|
|
469
469
|
items: Ft,
|
|
470
470
|
resolveAnswerKey: r,
|
|
471
471
|
defaultOpenIndex: 1,
|
|
472
|
-
className:
|
|
472
|
+
className: a,
|
|
473
473
|
headingClassName: t
|
|
474
474
|
}
|
|
475
475
|
);
|
|
476
476
|
}, ge = "8296947757", xe = "08071174417", fe = "pujaseva@appsforbharat.com", Ue = ({
|
|
477
477
|
t: n,
|
|
478
|
-
whatsAppGlobal:
|
|
478
|
+
whatsAppGlobal: a,
|
|
479
479
|
whatsAppDomestic: t,
|
|
480
480
|
email: o,
|
|
481
|
-
brandName:
|
|
481
|
+
brandName: s,
|
|
482
482
|
className: r = ""
|
|
483
483
|
}) => {
|
|
484
|
-
const p = X()?.config.isGlobal ?? !0, i =
|
|
484
|
+
const p = X()?.config.isGlobal ?? !0, i = a ?? ge, f = t ?? xe, _ = o ?? fe, u = p ? n("contactWhatsAppGlobal").replace(ge, i) : n("contactWhatsAppDomestic").replace(xe, f), h = n("contactEmail").replace(fe, _);
|
|
485
485
|
return /* @__PURE__ */ e.jsx(
|
|
486
486
|
Ye,
|
|
487
487
|
{
|
|
488
488
|
title: n("contactTitle"),
|
|
489
|
-
brandName:
|
|
489
|
+
brandName: s ?? n("contactBrandName"),
|
|
490
490
|
whatsAppLine: u,
|
|
491
491
|
emailLine: h,
|
|
492
492
|
className: r
|
|
@@ -510,17 +510,17 @@ const Te = ({
|
|
|
510
510
|
] });
|
|
511
511
|
}, At = ({
|
|
512
512
|
t: n,
|
|
513
|
-
onCtaClick:
|
|
513
|
+
onCtaClick: a,
|
|
514
514
|
ctaHref: t,
|
|
515
515
|
className: o = ""
|
|
516
516
|
}) => {
|
|
517
|
-
const
|
|
517
|
+
const s = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
518
518
|
return /* @__PURE__ */ e.jsx(
|
|
519
519
|
Xe,
|
|
520
520
|
{
|
|
521
521
|
className: o,
|
|
522
522
|
marquee: /* @__PURE__ */ e.jsx(Ze, { children: /* @__PURE__ */ e.jsx(Et, { t: n }) }),
|
|
523
|
-
children: /* @__PURE__ */ e.jsx(Je, { href: t, onClick:
|
|
523
|
+
children: /* @__PURE__ */ e.jsx(Je, { href: t, onClick: a, children: s })
|
|
524
524
|
}
|
|
525
525
|
);
|
|
526
526
|
}, Ut = [
|
|
@@ -553,21 +553,25 @@ function Dt(n) {
|
|
|
553
553
|
function Be() {
|
|
554
554
|
if (typeof window > "u") return null;
|
|
555
555
|
const n = new URLSearchParams(window.location.search).get("utm_param");
|
|
556
|
-
|
|
556
|
+
if (!n || Dt(n)) return "default";
|
|
557
|
+
const a = Ut.find(
|
|
558
|
+
(t) => n.includes(t)
|
|
559
|
+
);
|
|
560
|
+
return a || "default";
|
|
557
561
|
}
|
|
558
|
-
const Bt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Kt = (n,
|
|
562
|
+
const Bt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Kt = (n, a) => Pe[n]?.[a] ?? a, $t = 112;
|
|
559
563
|
function $({
|
|
560
564
|
section: n,
|
|
561
|
-
children:
|
|
565
|
+
children: a,
|
|
562
566
|
onImpression: t
|
|
563
567
|
}) {
|
|
564
|
-
const o = b(null),
|
|
568
|
+
const o = b(null), s = b(!1);
|
|
565
569
|
return P(() => {
|
|
566
570
|
const r = o.current;
|
|
567
571
|
if (!r) return;
|
|
568
572
|
const l = new IntersectionObserver(
|
|
569
573
|
([p]) => {
|
|
570
|
-
!p?.isIntersecting ||
|
|
574
|
+
!p?.isIntersecting || s.current || (s.current = !0, t(n));
|
|
571
575
|
},
|
|
572
576
|
{
|
|
573
577
|
threshold: 0.1,
|
|
@@ -576,46 +580,46 @@ function $({
|
|
|
576
580
|
}
|
|
577
581
|
);
|
|
578
582
|
return l.observe(r), () => l.disconnect();
|
|
579
|
-
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children:
|
|
583
|
+
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
|
|
580
584
|
}
|
|
581
585
|
function Mt({ className: n }) {
|
|
582
|
-
const { view:
|
|
583
|
-
return
|
|
586
|
+
const { view: a } = de();
|
|
587
|
+
return a === "form" ? /* @__PURE__ */ e.jsx(Me, {}) : /* @__PURE__ */ e.jsx(Ot, { className: n });
|
|
584
588
|
}
|
|
585
589
|
function Ot({ className: n }) {
|
|
586
|
-
const
|
|
590
|
+
const a = we(), {
|
|
587
591
|
locale: t,
|
|
588
592
|
setLocale: o,
|
|
589
|
-
config:
|
|
593
|
+
config: s,
|
|
590
594
|
goToForm: r
|
|
591
595
|
} = de(), [l, p] = N(null);
|
|
592
596
|
P(() => {
|
|
593
597
|
p(Be());
|
|
594
598
|
}, []);
|
|
595
|
-
const i = l &&
|
|
596
|
-
|
|
599
|
+
const i = l && s.utmBannerImageUrls ? s.utmBannerImageUrls[l] ?? s.utmBannerImageUrls.default : s.utmBannerImageUrls?.default, f = De[l ?? "default"], [_, u] = N(!1), h = b(null), j = b(s.locale), k = b(
|
|
600
|
+
a?.locale
|
|
597
601
|
);
|
|
598
602
|
P(() => {
|
|
599
|
-
|
|
600
|
-
}, [
|
|
601
|
-
if (
|
|
602
|
-
const c =
|
|
603
|
+
s.locale && j.current !== s.locale && o(s.locale), j.current = s.locale;
|
|
604
|
+
}, [s.locale, o]), P(() => {
|
|
605
|
+
if (s.locale) return;
|
|
606
|
+
const c = a?.locale;
|
|
603
607
|
c && k.current !== c && o(c), k.current = c;
|
|
604
|
-
}, [
|
|
608
|
+
}, [a?.locale, s.locale, o]), P(() => {
|
|
605
609
|
if (!_) return;
|
|
606
610
|
const c = (F) => {
|
|
607
611
|
h.current && !h.current.contains(F.target) && u(!1);
|
|
608
612
|
};
|
|
609
613
|
return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
|
|
610
614
|
}, [_]);
|
|
611
|
-
const g = (c) => Kt(t, c), I =
|
|
615
|
+
const g = (c) => Kt(t, c), I = s.showLanguageSelector ?? !0, L = s.imageComponent ?? Y, v = I ? /* @__PURE__ */ e.jsxs("div", { className: q.langDropdownWrap, ref: h, children: [
|
|
612
616
|
/* @__PURE__ */ e.jsxs(
|
|
613
617
|
"button",
|
|
614
618
|
{
|
|
615
619
|
type: "button",
|
|
616
620
|
className: q.langTrigger,
|
|
617
621
|
onClick: () => {
|
|
618
|
-
|
|
622
|
+
s.analytics?.trackLanguageClickedFe?.({ language: t }), u((c) => !c);
|
|
619
623
|
},
|
|
620
624
|
"aria-expanded": _,
|
|
621
625
|
"aria-haspopup": "listbox",
|
|
@@ -652,7 +656,7 @@ function Ot({ className: n }) {
|
|
|
652
656
|
"aria-selected": c === t,
|
|
653
657
|
className: q.langOption,
|
|
654
658
|
onClick: () => {
|
|
655
|
-
|
|
659
|
+
s.analytics?.trackLanguageChangedFe?.({ newLanguage: c }), o(c), u(!1);
|
|
656
660
|
},
|
|
657
661
|
children: ie[c]
|
|
658
662
|
},
|
|
@@ -662,22 +666,22 @@ function Ot({ className: n }) {
|
|
|
662
666
|
)
|
|
663
667
|
] }) : null, T = (c) => {
|
|
664
668
|
const F = c.currentTarget.innerText?.trim() ?? g("ctaButtonAfter");
|
|
665
|
-
|
|
669
|
+
s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: F }), r(), s.onCtaClick?.();
|
|
666
670
|
}, x = z(
|
|
667
671
|
(c) => {
|
|
668
|
-
|
|
672
|
+
s.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
669
673
|
section: c,
|
|
670
674
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
671
675
|
});
|
|
672
676
|
},
|
|
673
|
-
[
|
|
677
|
+
[s.analytics]
|
|
674
678
|
);
|
|
675
679
|
return /* @__PURE__ */ e.jsxs("div", { className: `${q.container} ${n}`, children: [
|
|
676
680
|
/* @__PURE__ */ e.jsx(
|
|
677
681
|
Ce,
|
|
678
682
|
{
|
|
679
683
|
t: g,
|
|
680
|
-
logoUrl:
|
|
684
|
+
logoUrl: s.logoUrl,
|
|
681
685
|
languageSelector: v
|
|
682
686
|
}
|
|
683
687
|
),
|
|
@@ -700,16 +704,16 @@ function Ot({ className: n }) {
|
|
|
700
704
|
{
|
|
701
705
|
imageUrl: i,
|
|
702
706
|
altText: f,
|
|
703
|
-
imageComponent:
|
|
707
|
+
imageComponent: s.imageComponent
|
|
704
708
|
}
|
|
705
709
|
) : /* @__PURE__ */ e.jsx(
|
|
706
710
|
Ie,
|
|
707
711
|
{
|
|
708
712
|
t: g,
|
|
709
|
-
reportImageUrl:
|
|
710
|
-
reportImagePriority:
|
|
711
|
-
backgroundImagePriority:
|
|
712
|
-
analytics:
|
|
713
|
+
reportImageUrl: s.reportImageUrl,
|
|
714
|
+
reportImagePriority: s.reportImagePriority,
|
|
715
|
+
backgroundImagePriority: s.backgroundImagePriority,
|
|
716
|
+
analytics: s.analytics
|
|
713
717
|
}
|
|
714
718
|
)
|
|
715
719
|
}
|
|
@@ -723,7 +727,7 @@ function Ot({ className: n }) {
|
|
|
723
727
|
Le,
|
|
724
728
|
{
|
|
725
729
|
t: g,
|
|
726
|
-
logoUrl:
|
|
730
|
+
logoUrl: s.universityLogoUrls?.find((c) => !!c)
|
|
727
731
|
}
|
|
728
732
|
)
|
|
729
733
|
}
|
|
@@ -733,7 +737,7 @@ function Ot({ className: n }) {
|
|
|
733
737
|
{
|
|
734
738
|
section: "three_steps_process",
|
|
735
739
|
onImpression: x,
|
|
736
|
-
children: /* @__PURE__ */ e.jsx(Fe, { t: g, locale: t, isGlobal:
|
|
740
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: g, locale: t, isGlobal: s.isGlobal })
|
|
737
741
|
}
|
|
738
742
|
),
|
|
739
743
|
/* @__PURE__ */ e.jsx(
|
|
@@ -745,9 +749,9 @@ function Ot({ className: n }) {
|
|
|
745
749
|
ue,
|
|
746
750
|
{
|
|
747
751
|
t: g,
|
|
748
|
-
pdfUrl:
|
|
749
|
-
onClick:
|
|
750
|
-
analytics:
|
|
752
|
+
pdfUrl: s.sampleReportHref,
|
|
753
|
+
onClick: s.onViewSampleReport,
|
|
754
|
+
analytics: s.analytics
|
|
751
755
|
}
|
|
752
756
|
)
|
|
753
757
|
}
|
|
@@ -777,8 +781,8 @@ function Ot({ className: n }) {
|
|
|
777
781
|
Ee,
|
|
778
782
|
{
|
|
779
783
|
t: g,
|
|
780
|
-
readMoreHref:
|
|
781
|
-
onReadMore:
|
|
784
|
+
readMoreHref: s.readMoreReviewsHref,
|
|
785
|
+
onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
|
|
782
786
|
}
|
|
783
787
|
)
|
|
784
788
|
}
|
|
@@ -804,18 +808,18 @@ function Ot({ className: n }) {
|
|
|
804
808
|
At,
|
|
805
809
|
{
|
|
806
810
|
t: g,
|
|
807
|
-
ctaHref:
|
|
808
|
-
onCtaClick:
|
|
811
|
+
ctaHref: s.ctaHref,
|
|
812
|
+
onCtaClick: s.ctaHref ? void 0 : T
|
|
809
813
|
}
|
|
810
814
|
)
|
|
811
815
|
] });
|
|
812
816
|
}
|
|
813
817
|
const Qt = ({
|
|
814
818
|
className: n = "",
|
|
815
|
-
locale:
|
|
819
|
+
locale: a,
|
|
816
820
|
showLanguageSelector: t = !0,
|
|
817
821
|
showSheet: o,
|
|
818
|
-
userId:
|
|
822
|
+
userId: s,
|
|
819
823
|
isGlobal: r,
|
|
820
824
|
atlasSearchLocalities: l,
|
|
821
825
|
logoUrl: p,
|
|
@@ -838,10 +842,10 @@ const Qt = ({
|
|
|
838
842
|
}) => /* @__PURE__ */ e.jsx(
|
|
839
843
|
ye,
|
|
840
844
|
{
|
|
841
|
-
locale:
|
|
845
|
+
locale: a,
|
|
842
846
|
showLanguageSelector: t,
|
|
843
847
|
showSheet: o,
|
|
844
|
-
userId:
|
|
848
|
+
userId: s,
|
|
845
849
|
isGlobal: r,
|
|
846
850
|
atlasSearchLocalities: l,
|
|
847
851
|
logoUrl: p,
|
|
@@ -1027,12 +1031,12 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1027
1031
|
60% { left: 125%; }
|
|
1028
1032
|
100% { left: 125%; }
|
|
1029
1033
|
}
|
|
1030
|
-
`, sa = ({ title: n, onClose:
|
|
1034
|
+
`, sa = ({ title: n, onClose: a }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
|
|
1031
1035
|
/* @__PURE__ */ e.jsx(
|
|
1032
1036
|
"button",
|
|
1033
1037
|
{
|
|
1034
1038
|
type: "button",
|
|
1035
|
-
onClick:
|
|
1039
|
+
onClick: a,
|
|
1036
1040
|
"aria-label": "Go back",
|
|
1037
1041
|
className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
|
|
1038
1042
|
children: /* @__PURE__ */ e.jsx(Oe, {})
|
|
@@ -1056,31 +1060,31 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1056
1060
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1057
1061
|
]
|
|
1058
1062
|
}
|
|
1059
|
-
), la = ({ plan: n, t:
|
|
1063
|
+
), la = ({ plan: n, t: a }) => /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: n.features.map((t, o) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
|
|
1060
1064
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(ia, {}) : /* @__PURE__ */ e.jsx(oa, {}) }),
|
|
1061
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children:
|
|
1065
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a(t.text) })
|
|
1062
1066
|
] }, o)) }) }), ca = ({
|
|
1063
1067
|
chipKeys: n,
|
|
1064
|
-
t:
|
|
1068
|
+
t: a,
|
|
1065
1069
|
onChipClick: t
|
|
1066
1070
|
}) => {
|
|
1067
|
-
const o = Math.ceil(n.length / 2),
|
|
1068
|
-
return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children:
|
|
1071
|
+
const o = Math.ceil(n.length / 2), s = [n.slice(0, o), n.slice(o)];
|
|
1072
|
+
return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: s.map((r, l) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: r.map((p) => /* @__PURE__ */ e.jsx(
|
|
1069
1073
|
"button",
|
|
1070
1074
|
{
|
|
1071
1075
|
type: "button",
|
|
1072
1076
|
className: "inline-flex w-auto px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-[14px] font-medium cursor-pointer whitespace-nowrap active:opacity-70 transition-opacity",
|
|
1073
1077
|
onClick: () => t(p, n.indexOf(p)),
|
|
1074
|
-
children:
|
|
1078
|
+
children: a(p)
|
|
1075
1079
|
},
|
|
1076
1080
|
p
|
|
1077
1081
|
)) }, l)) }) });
|
|
1078
1082
|
}, da = ({
|
|
1079
1083
|
textareaRef: n,
|
|
1080
|
-
value:
|
|
1084
|
+
value: a,
|
|
1081
1085
|
label: t,
|
|
1082
1086
|
placeholder: o,
|
|
1083
|
-
chipKeys:
|
|
1087
|
+
chipKeys: s,
|
|
1084
1088
|
t: r,
|
|
1085
1089
|
onFocus: l,
|
|
1086
1090
|
onClick: p,
|
|
@@ -1128,13 +1132,13 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1128
1132
|
className: "w-full resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] p-4 text-left align-top text-[14px] text-gray-900 leading-5 box-border outline-none focus:border-[#e05c2a] focus:shadow-[0_0_0_3px_rgba(224,92,42,0.12)] placeholder:text-left placeholder:text-gray-400",
|
|
1129
1133
|
style: { height: "100px" },
|
|
1130
1134
|
placeholder: o,
|
|
1131
|
-
value:
|
|
1135
|
+
value: a,
|
|
1132
1136
|
onFocus: l,
|
|
1133
1137
|
onClick: p,
|
|
1134
1138
|
onChange: i
|
|
1135
1139
|
}
|
|
1136
1140
|
),
|
|
1137
|
-
/* @__PURE__ */ e.jsx(ca, { chipKeys:
|
|
1141
|
+
/* @__PURE__ */ e.jsx(ca, { chipKeys: s, t: r, onChipClick: f })
|
|
1138
1142
|
] }), ua = "_card_62fy9_1", pa = "_top_62fy9_15", ma = "_avatar_62fy9_21", ha = "_avatarPlaceholder_62fy9_38", ga = "_basicInfo_62fy9_44", xa = "_name_62fy9_51", fa = "_exp_62fy9_61", _a = "_langs_62fy9_62", ba = "_divider_62fy9_69", ja = "_certList_62fy9_75", ya = "_certItem_62fy9_81", wa = "_bullet_62fy9_90", A = {
|
|
1139
1143
|
card: ua,
|
|
1140
1144
|
top: pa,
|
|
@@ -1148,24 +1152,24 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1148
1152
|
certList: ja,
|
|
1149
1153
|
certItem: ya,
|
|
1150
1154
|
bullet: wa
|
|
1151
|
-
}, va = ({ astrologer: n, t:
|
|
1155
|
+
}, va = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: A.card, children: [
|
|
1152
1156
|
/* @__PURE__ */ e.jsxs("div", { className: A.top, children: [
|
|
1153
|
-
/* @__PURE__ */ e.jsx("div", { className: A.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt:
|
|
1157
|
+
/* @__PURE__ */ e.jsx("div", { className: A.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: a?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: A.avatarPlaceholder, children: n.name.charAt(0) }) }),
|
|
1154
1158
|
/* @__PURE__ */ e.jsxs("div", { className: A.basicInfo, children: [
|
|
1155
|
-
/* @__PURE__ */ e.jsx("p", { className: A.name, children:
|
|
1156
|
-
/* @__PURE__ */ e.jsx("p", { className: A.exp, children:
|
|
1157
|
-
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: A.langs, children: n.languages.map((t) =>
|
|
1159
|
+
/* @__PURE__ */ e.jsx("p", { className: A.name, children: a?.(n.name) ?? n.name }),
|
|
1160
|
+
/* @__PURE__ */ e.jsx("p", { className: A.exp, children: a?.(n.experience) ?? n.experience }),
|
|
1161
|
+
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: A.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
|
|
1158
1162
|
] })
|
|
1159
1163
|
] }),
|
|
1160
1164
|
/* @__PURE__ */ e.jsx("div", { className: A.divider }),
|
|
1161
1165
|
/* @__PURE__ */ e.jsx("div", { className: A.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: A.certItem, children: [
|
|
1162
1166
|
/* @__PURE__ */ e.jsx("span", { className: A.bullet, children: "✓" }),
|
|
1163
1167
|
" ",
|
|
1164
|
-
|
|
1168
|
+
a?.(t) ?? t
|
|
1165
1169
|
] }, o)) })
|
|
1166
1170
|
] }), Ca = ({
|
|
1167
1171
|
astrologers: n,
|
|
1168
|
-
heading:
|
|
1172
|
+
heading: a,
|
|
1169
1173
|
t
|
|
1170
1174
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1171
1175
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1177,21 +1181,21 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1177
1181
|
}
|
|
1178
1182
|
}
|
|
1179
1183
|
),
|
|
1180
|
-
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children:
|
|
1184
|
+
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: a }),
|
|
1181
1185
|
/* @__PURE__ */ e.jsx(
|
|
1182
1186
|
"div",
|
|
1183
1187
|
{
|
|
1184
1188
|
className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1185
1189
|
role: "list",
|
|
1186
|
-
children: n.map((o,
|
|
1190
|
+
children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(va, { astrologer: o, t }) }, s))
|
|
1187
1191
|
}
|
|
1188
1192
|
)
|
|
1189
1193
|
] }), Pa = ({
|
|
1190
1194
|
plans: n,
|
|
1191
|
-
selectedId:
|
|
1195
|
+
selectedId: a,
|
|
1192
1196
|
t,
|
|
1193
1197
|
analytics: o,
|
|
1194
|
-
onSelectPlan:
|
|
1198
|
+
onSelectPlan: s
|
|
1195
1199
|
}) => (
|
|
1196
1200
|
/*
|
|
1197
1201
|
* pt-[18px] reserves space for the badge that floats above the card.
|
|
@@ -1210,19 +1214,19 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1210
1214
|
{
|
|
1211
1215
|
type: "button",
|
|
1212
1216
|
role: "radio",
|
|
1213
|
-
"aria-checked": r.id ===
|
|
1217
|
+
"aria-checked": r.id === a,
|
|
1214
1218
|
className: [
|
|
1215
1219
|
"relative w-full flex flex-col items-center justify-center gap-1 px-1 pt-3 pb-6 min-h-[125px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors overflow-hidden",
|
|
1216
|
-
r.id ===
|
|
1220
|
+
r.id === a ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
|
|
1217
1221
|
].join(" "),
|
|
1218
1222
|
onClick: () => {
|
|
1219
|
-
o?.trackPlanSelected?.({ planId: r.id, planName: r.title }),
|
|
1223
|
+
o?.trackPlanSelected?.({ planId: r.id, planName: r.title }), s(r);
|
|
1220
1224
|
},
|
|
1221
1225
|
children: [
|
|
1222
1226
|
/* @__PURE__ */ e.jsx(
|
|
1223
1227
|
"span",
|
|
1224
1228
|
{
|
|
1225
|
-
className: `text-[14px] leading-snug ${r.id ===
|
|
1229
|
+
className: `text-[14px] leading-snug ${r.id === a ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
|
|
1226
1230
|
children: t(r.title)
|
|
1227
1231
|
}
|
|
1228
1232
|
),
|
|
@@ -1249,10 +1253,10 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1249
1253
|
] }, r.id)) })
|
|
1250
1254
|
), Na = ({
|
|
1251
1255
|
canProceed: n,
|
|
1252
|
-
label:
|
|
1256
|
+
label: a,
|
|
1253
1257
|
showDisabledHint: t,
|
|
1254
1258
|
hintText: o,
|
|
1255
|
-
onClick:
|
|
1259
|
+
onClick: s
|
|
1256
1260
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1257
1261
|
t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: o }),
|
|
1258
1262
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -1264,7 +1268,7 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1264
1268
|
].join(" "),
|
|
1265
1269
|
style: { fontFamily: "inherit" },
|
|
1266
1270
|
"aria-disabled": !n,
|
|
1267
|
-
onClick:
|
|
1271
|
+
onClick: s,
|
|
1268
1272
|
children: [
|
|
1269
1273
|
n && /* @__PURE__ */ e.jsx(
|
|
1270
1274
|
"span",
|
|
@@ -1279,16 +1283,16 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1279
1283
|
}
|
|
1280
1284
|
}
|
|
1281
1285
|
),
|
|
1282
|
-
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children:
|
|
1286
|
+
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: a })
|
|
1283
1287
|
]
|
|
1284
1288
|
}
|
|
1285
1289
|
)
|
|
1286
1290
|
] }), ka = ({
|
|
1287
1291
|
isOpen: n,
|
|
1288
|
-
onClose:
|
|
1292
|
+
onClose: a,
|
|
1289
1293
|
selectedPlan: t,
|
|
1290
1294
|
onSelectPlan: o,
|
|
1291
|
-
plans:
|
|
1295
|
+
plans: s,
|
|
1292
1296
|
onProceed: r,
|
|
1293
1297
|
locale: l = "en",
|
|
1294
1298
|
t: p,
|
|
@@ -1296,7 +1300,7 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1296
1300
|
isGlobal: f = !0,
|
|
1297
1301
|
oneQuestionSampleHref: _
|
|
1298
1302
|
}) => {
|
|
1299
|
-
const u = z((m) => (_e[l] ?? _e.en)[m] ?? p?.(m) ?? m, [l, p]), h = pe(() =>
|
|
1303
|
+
const u = z((m) => (_e[l] ?? _e.en)[m] ?? p?.(m) ?? m, [l, p]), h = pe(() => s ?? ea(f), [s, f]), j = t?.id || h.find((m) => m.badge)?.id || h[0]?.id || "", k = b(null), g = b(null), I = b(null), L = b(!1), [v, T] = N(""), [x, c] = N(!1), [F, O] = N("custom"), [H, J] = N(null), [G, Z] = N(!1), V = b(!1), y = b(null), R = pe(() => h.find((m) => m.id === j) ?? h[0], [h, j]), U = !!R?.supportsQuestion, oe = !U || v.trim().length > 0, ee = z(() => {
|
|
1300
1304
|
const m = y.current;
|
|
1301
1305
|
m && (m.style.height = "auto", m.style.height = Math.max(100, Math.min(m.scrollHeight, ta)) + "px");
|
|
1302
1306
|
}, []);
|
|
@@ -1317,7 +1321,7 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1317
1321
|
};
|
|
1318
1322
|
}, [n]);
|
|
1319
1323
|
const re = () => {
|
|
1320
|
-
i?.trackPlanPageClosed?.(),
|
|
1324
|
+
i?.trackPlanPageClosed?.(), a();
|
|
1321
1325
|
}, ae = (m) => {
|
|
1322
1326
|
const C = g.current, Q = I.current;
|
|
1323
1327
|
if (C && Q) {
|
|
@@ -1353,7 +1357,7 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1353
1357
|
question_asked: U ? !0 : void 0,
|
|
1354
1358
|
question_text: U ? v.trim() : void 0,
|
|
1355
1359
|
question_source: U ? F : void 0
|
|
1356
|
-
}), r(R, U ? v.trim() : void 0),
|
|
1360
|
+
}), r(R, U ? v.trim() : void 0), a();
|
|
1357
1361
|
}
|
|
1358
1362
|
};
|
|
1359
1363
|
return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1449,7 +1453,7 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1449
1453
|
] }) : null;
|
|
1450
1454
|
}, Ia = ({
|
|
1451
1455
|
kundliReportSampleHref: n,
|
|
1452
|
-
analytics:
|
|
1456
|
+
analytics: a,
|
|
1453
1457
|
s: t
|
|
1454
1458
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1455
1459
|
/* @__PURE__ */ e.jsx("h3", { className: "mt-5 mb-3 text-center text-[18px] font-bold leading-[1.1] text-[#f75e22] max-[380px]:text-[16px]", children: t.sampleReportsTitle }),
|
|
@@ -1459,8 +1463,8 @@ const na = 5e3, ta = 84, aa = `
|
|
|
1459
1463
|
t: () => t.sampleLabelKundliReport.replace(`
|
|
1460
1464
|
`, " "),
|
|
1461
1465
|
pdfUrl: n,
|
|
1462
|
-
analytics:
|
|
1463
|
-
onClick: () =>
|
|
1466
|
+
analytics: a,
|
|
1467
|
+
onClick: () => a?.trackKundliViewSampleImageClicked?.()
|
|
1464
1468
|
}
|
|
1465
1469
|
)
|
|
1466
1470
|
] }), La = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Fa = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", je = {
|
|
@@ -1519,19 +1523,19 @@ call`
|
|
|
1519
1523
|
ज्योतिषी कॉल`
|
|
1520
1524
|
]
|
|
1521
1525
|
}
|
|
1522
|
-
}, Ta = (n) => je[n] ?? je.en, Ra = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Sa = (n,
|
|
1526
|
+
}, Ta = (n) => je[n] ?? je.en, Ra = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Sa = (n, a) => Pe[n]?.[a] ?? a, Ea = 112;
|
|
1523
1527
|
function D({
|
|
1524
1528
|
section: n,
|
|
1525
|
-
children:
|
|
1529
|
+
children: a,
|
|
1526
1530
|
onImpression: t
|
|
1527
1531
|
}) {
|
|
1528
|
-
const o = b(null),
|
|
1532
|
+
const o = b(null), s = b(!1);
|
|
1529
1533
|
return P(() => {
|
|
1530
1534
|
const r = o.current;
|
|
1531
1535
|
if (!r) return;
|
|
1532
1536
|
const l = new IntersectionObserver(
|
|
1533
1537
|
([p]) => {
|
|
1534
|
-
!p?.isIntersecting ||
|
|
1538
|
+
!p?.isIntersecting || s.current || (s.current = !0, t(n));
|
|
1535
1539
|
},
|
|
1536
1540
|
{
|
|
1537
1541
|
threshold: 0.1,
|
|
@@ -1540,14 +1544,14 @@ function D({
|
|
|
1540
1544
|
}
|
|
1541
1545
|
);
|
|
1542
1546
|
return l.observe(r), () => l.disconnect();
|
|
1543
|
-
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children:
|
|
1547
|
+
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
|
|
1544
1548
|
}
|
|
1545
1549
|
function Aa({
|
|
1546
1550
|
className: n,
|
|
1547
|
-
showInlineForm:
|
|
1551
|
+
showInlineForm: a = !1,
|
|
1548
1552
|
enableThreeSkuFlow: t = !1,
|
|
1549
1553
|
kundliReportSampleHref: o = La,
|
|
1550
|
-
oneQuestionSampleHref:
|
|
1554
|
+
oneQuestionSampleHref: s = Fa
|
|
1551
1555
|
}) {
|
|
1552
1556
|
const r = we(), {
|
|
1553
1557
|
locale: l,
|
|
@@ -1764,7 +1768,7 @@ function Aa({
|
|
|
1764
1768
|
)
|
|
1765
1769
|
}
|
|
1766
1770
|
),
|
|
1767
|
-
|
|
1771
|
+
a && /* @__PURE__ */ e.jsx(
|
|
1768
1772
|
D,
|
|
1769
1773
|
{
|
|
1770
1774
|
section: "inline_form",
|
|
@@ -1870,7 +1874,7 @@ function Aa({
|
|
|
1870
1874
|
},
|
|
1871
1875
|
t: y,
|
|
1872
1876
|
analytics: i.analytics,
|
|
1873
|
-
oneQuestionSampleHref:
|
|
1877
|
+
oneQuestionSampleHref: s
|
|
1874
1878
|
}
|
|
1875
1879
|
) : /* @__PURE__ */ e.jsx(
|
|
1876
1880
|
We,
|
|
@@ -1890,10 +1894,10 @@ function Aa({
|
|
|
1890
1894
|
}
|
|
1891
1895
|
const Ua = ({
|
|
1892
1896
|
className: n = "",
|
|
1893
|
-
locale:
|
|
1897
|
+
locale: a,
|
|
1894
1898
|
showLanguageSelector: t = !0,
|
|
1895
1899
|
showSheet: o,
|
|
1896
|
-
userId:
|
|
1900
|
+
userId: s,
|
|
1897
1901
|
isGlobal: r,
|
|
1898
1902
|
atlasSearchLocalities: l,
|
|
1899
1903
|
enableThreeSkuFlow: p = !1,
|
|
@@ -1919,10 +1923,10 @@ const Ua = ({
|
|
|
1919
1923
|
}) => /* @__PURE__ */ e.jsx(
|
|
1920
1924
|
ye,
|
|
1921
1925
|
{
|
|
1922
|
-
locale:
|
|
1926
|
+
locale: a,
|
|
1923
1927
|
showLanguageSelector: t,
|
|
1924
1928
|
showSheet: o,
|
|
1925
|
-
userId:
|
|
1929
|
+
userId: s,
|
|
1926
1930
|
isGlobal: r,
|
|
1927
1931
|
variant: "v1",
|
|
1928
1932
|
atlasSearchLocalities: l,
|
|
@@ -1954,9 +1958,9 @@ const Ua = ({
|
|
|
1954
1958
|
}
|
|
1955
1959
|
)
|
|
1956
1960
|
}
|
|
1957
|
-
), $a = ({ variant: n, ...
|
|
1961
|
+
), $a = ({ variant: n, ...a }) => {
|
|
1958
1962
|
const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
1959
|
-
return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ua, { ...
|
|
1963
|
+
return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ua, { ...a }) : /* @__PURE__ */ e.jsx(Qt, { ...a });
|
|
1960
1964
|
}, Ma = "[data-hero]{min-height:200px}[data-background-layer]{position:absolute;inset:0;z-index:0;overflow:hidden}[data-form-container]{min-height:400px}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap}img{max-width:100%;height:auto}.kundli-page-root{contain:layout}";
|
|
1961
1965
|
export {
|
|
1962
1966
|
Ma as K,
|
|
@@ -1965,4 +1969,4 @@ export {
|
|
|
1965
1969
|
Qt as b,
|
|
1966
1970
|
Ua as c
|
|
1967
1971
|
};
|
|
1968
|
-
//# sourceMappingURL=criticalCss-
|
|
1972
|
+
//# sourceMappingURL=criticalCss-B0mVHOhb.js.map
|