@srimandir/kundli-generator 7.5.7 → 7.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/KundliPage/KundliPage.d.ts +0 -4
- package/dist/components/KundliPage/KundliPageV1.d.ts +4 -4
- package/dist/components/KundliPage/KundliPageVariant.d.ts +5 -0
- package/dist/{criticalCss-5f00WNFD.js → criticalCss-BZyhooWB.js} +292 -298
- package/dist/criticalCss-BZyhooWB.js.map +1 -0
- package/dist/kundli-generator.js +1 -1
- package/dist/page-entry.js +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-5f00WNFD.js.map +0 -1
|
@@ -15,10 +15,10 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
15
15
|
"topicCareer",
|
|
16
16
|
"topicEducation",
|
|
17
17
|
"topicMoney"
|
|
18
|
-
], ke = ({ t: n, className:
|
|
18
|
+
], ke = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ne.hero} ${a}`, "aria-labelledby": "hero-title", children: [
|
|
19
19
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: ne.title, children: n("heroTitle") }),
|
|
20
20
|
/* @__PURE__ */ e.jsx("p", { className: ne.subtitle, children: n("heroSubtitle") }),
|
|
21
|
-
/* @__PURE__ */ e.jsx("div", { className: ne.topicTags, role: "list", children: en.map((
|
|
21
|
+
/* @__PURE__ */ e.jsx("div", { className: ne.topicTags, role: "list", children: en.map((t) => /* @__PURE__ */ e.jsx("span", { className: ne.tag, role: "listitem", children: n(t) }, t)) })
|
|
22
22
|
] }), nn = "_section_iqucz_1", tn = "_utmBanner_iqucz_9", an = "_utmBannerImg_iqucz_13", sn = "_backgroundLayer_iqucz_18", on = "_backgroundImg_iqucz_25", ln = "_inner_iqucz_32", rn = "_content_iqucz_38", cn = "_headline_iqucz_42", dn = "_headlineLine_iqucz_47", un = "_headlinePill_iqucz_52", pn = "_headlinePlain_iqucz_67", mn = "_featureList_iqucz_78", hn = "_featureItem_iqucz_85", gn = "_featureIcon_iqucz_90", xn = "_reportImage_iqucz_97", fn = "_reportImg_iqucz_107", j = {
|
|
23
23
|
section: nn,
|
|
24
24
|
utmBanner: tn,
|
|
@@ -43,8 +43,8 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
43
43
|
"premiumFeature4"
|
|
44
44
|
], yn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ne = ({
|
|
45
45
|
t: n,
|
|
46
|
-
reportImageUrl:
|
|
47
|
-
reportImagePriority:
|
|
46
|
+
reportImageUrl: a = yn,
|
|
47
|
+
reportImagePriority: t,
|
|
48
48
|
backgroundImagePriority: o = !1,
|
|
49
49
|
analytics: s,
|
|
50
50
|
utmBannerImageUrl: l,
|
|
@@ -133,14 +133,14 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
133
133
|
/* @__PURE__ */ e.jsx("div", { className: j.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
134
134
|
h,
|
|
135
135
|
{
|
|
136
|
-
src:
|
|
136
|
+
src: a,
|
|
137
137
|
alt: "",
|
|
138
138
|
className: j.reportImg,
|
|
139
139
|
width: 120,
|
|
140
140
|
height: 160,
|
|
141
|
-
priority:
|
|
142
|
-
fetchPriority:
|
|
143
|
-
loading:
|
|
141
|
+
priority: t,
|
|
142
|
+
fetchPriority: t ? "high" : void 0,
|
|
143
|
+
loading: t ? "eager" : "lazy",
|
|
144
144
|
sizes: "120px"
|
|
145
145
|
}
|
|
146
146
|
) })
|
|
@@ -154,16 +154,16 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
154
154
|
logoImg: Cn
|
|
155
155
|
}, kn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Pe = ({
|
|
156
156
|
t: n,
|
|
157
|
-
logoUrl:
|
|
158
|
-
className:
|
|
157
|
+
logoUrl: a = kn,
|
|
158
|
+
className: t = ""
|
|
159
159
|
}) => {
|
|
160
160
|
const s = Z()?.config.imageComponent ?? ae;
|
|
161
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${
|
|
161
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${t}`, "aria-labelledby": "certified-heading", children: [
|
|
162
162
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ce.heading, children: n("certifiedBy") }),
|
|
163
163
|
/* @__PURE__ */ e.jsx(
|
|
164
164
|
s,
|
|
165
165
|
{
|
|
166
|
-
src:
|
|
166
|
+
src: a,
|
|
167
167
|
alt: "University Certification",
|
|
168
168
|
className: ce.logoImg,
|
|
169
169
|
width: 380,
|
|
@@ -183,11 +183,11 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
183
183
|
step3Days: Sn
|
|
184
184
|
}, En = ["step1", "step2"], Ie = ({
|
|
185
185
|
t: n,
|
|
186
|
-
locale:
|
|
187
|
-
isGlobal:
|
|
186
|
+
locale: a = "en",
|
|
187
|
+
isGlobal: t = !0,
|
|
188
188
|
className: o = ""
|
|
189
189
|
}) => {
|
|
190
|
-
const s =
|
|
190
|
+
const s = t ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
191
191
|
return /* @__PURE__ */ e.jsxs(
|
|
192
192
|
"section",
|
|
193
193
|
{
|
|
@@ -206,7 +206,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
206
206
|
/* @__PURE__ */ e.jsxs("span", { className: S.stepText, children: [
|
|
207
207
|
n(s),
|
|
208
208
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
209
|
-
|
|
209
|
+
a === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
210
210
|
"in ",
|
|
211
211
|
/* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
|
|
212
212
|
] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
|
|
@@ -219,7 +219,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
219
219
|
}, An = "_section_1jea1_1", Dn = "_button_1jea1_7", me = {
|
|
220
220
|
section: An,
|
|
221
221
|
button: Dn
|
|
222
|
-
}, Un = "_backdrop_pekod_1", $n = "_modal_pekod_21", Bn = "_header_pekod_40", On = "_title_pekod_49", qn = "_closeBtn_pekod_56", Mn = "_content_pekod_76", Kn = "_pdfFrame_pekod_84", Qn = "_pdfPages_pekod_92", Hn = "_pdfError_pekod_97", Gn = "_openInNewTab_pekod_123",
|
|
222
|
+
}, Un = "_backdrop_pekod_1", $n = "_modal_pekod_21", Bn = "_header_pekod_40", On = "_title_pekod_49", qn = "_closeBtn_pekod_56", Mn = "_content_pekod_76", Kn = "_pdfFrame_pekod_84", Qn = "_pdfPages_pekod_92", Hn = "_pdfError_pekod_97", Gn = "_openInNewTab_pekod_123", B = {
|
|
223
223
|
backdrop: Un,
|
|
224
224
|
modal: $n,
|
|
225
225
|
header: Bn,
|
|
@@ -236,20 +236,20 @@ function zn(n) {
|
|
|
236
236
|
}
|
|
237
237
|
const Le = ({
|
|
238
238
|
isOpen: n,
|
|
239
|
-
onClose:
|
|
240
|
-
title:
|
|
239
|
+
onClose: a,
|
|
240
|
+
title: t,
|
|
241
241
|
pdfUrl: o
|
|
242
242
|
}) => {
|
|
243
243
|
const s = _(null), [l, c] = R(!0), [m, i] = R(null), [h, b] = R(null);
|
|
244
244
|
return N(() => {
|
|
245
245
|
if (!n) return;
|
|
246
246
|
const p = (u) => {
|
|
247
|
-
u.key === "Escape" &&
|
|
247
|
+
u.key === "Escape" && a();
|
|
248
248
|
};
|
|
249
249
|
return document.addEventListener("keydown", p), document.body.style.overflow = "hidden", () => {
|
|
250
250
|
document.removeEventListener("keydown", p), document.body.style.overflow = "";
|
|
251
251
|
};
|
|
252
|
-
}, [n,
|
|
252
|
+
}, [n, a]), N(() => {
|
|
253
253
|
n && import("pdfjs-dist").then((p) => {
|
|
254
254
|
b(p);
|
|
255
255
|
}).catch((p) => {
|
|
@@ -278,37 +278,37 @@ const Le = ({
|
|
|
278
278
|
}, [n, o, h]), n ? /* @__PURE__ */ e.jsx(
|
|
279
279
|
"div",
|
|
280
280
|
{
|
|
281
|
-
className:
|
|
282
|
-
onClick:
|
|
281
|
+
className: B.backdrop,
|
|
282
|
+
onClick: a,
|
|
283
283
|
role: "dialog",
|
|
284
284
|
"aria-modal": "true",
|
|
285
285
|
"aria-labelledby": "sample-report-modal-title",
|
|
286
286
|
children: /* @__PURE__ */ e.jsxs(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
|
-
className:
|
|
289
|
+
className: B.modal,
|
|
290
290
|
onClick: (p) => p.stopPropagation(),
|
|
291
291
|
children: [
|
|
292
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
293
|
-
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className:
|
|
292
|
+
/* @__PURE__ */ e.jsxs("div", { className: B.header, children: [
|
|
293
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: B.title, children: t }),
|
|
294
294
|
/* @__PURE__ */ e.jsx(
|
|
295
295
|
"button",
|
|
296
296
|
{
|
|
297
297
|
type: "button",
|
|
298
|
-
className:
|
|
299
|
-
onClick:
|
|
298
|
+
className: B.closeBtn,
|
|
299
|
+
onClick: a,
|
|
300
300
|
"aria-label": "Close",
|
|
301
301
|
children: "×"
|
|
302
302
|
}
|
|
303
303
|
)
|
|
304
304
|
] }),
|
|
305
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
306
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
307
|
-
m && /* @__PURE__ */ e.jsxs("div", { className:
|
|
305
|
+
/* @__PURE__ */ e.jsxs("div", { className: B.content, children: [
|
|
306
|
+
/* @__PURE__ */ e.jsxs("div", { className: B.pdfFrame, children: [
|
|
307
|
+
m && /* @__PURE__ */ e.jsxs("div", { className: B.pdfError, children: [
|
|
308
308
|
/* @__PURE__ */ e.jsx("span", { children: m }),
|
|
309
309
|
/* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
310
310
|
] }),
|
|
311
|
-
/* @__PURE__ */ e.jsx("div", { ref: s, className:
|
|
311
|
+
/* @__PURE__ */ e.jsx("div", { ref: s, className: B.pdfPages })
|
|
312
312
|
] }),
|
|
313
313
|
/* @__PURE__ */ e.jsx(
|
|
314
314
|
"a",
|
|
@@ -316,7 +316,7 @@ const Le = ({
|
|
|
316
316
|
href: o,
|
|
317
317
|
target: "_blank",
|
|
318
318
|
rel: "noopener noreferrer",
|
|
319
|
-
className:
|
|
319
|
+
className: B.openInNewTab,
|
|
320
320
|
children: "Open in new tab"
|
|
321
321
|
}
|
|
322
322
|
)
|
|
@@ -328,13 +328,13 @@ const Le = ({
|
|
|
328
328
|
) : null;
|
|
329
329
|
}, Wn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ue = ({
|
|
330
330
|
t: n,
|
|
331
|
-
pdfUrl:
|
|
332
|
-
onClick:
|
|
331
|
+
pdfUrl: a = Wn,
|
|
332
|
+
onClick: t,
|
|
333
333
|
analytics: o,
|
|
334
334
|
className: s = ""
|
|
335
335
|
}) => {
|
|
336
336
|
const [l, c] = R(!1), m = n("viewSampleReport"), i = n("sampleReportModalTitle"), h = () => {
|
|
337
|
-
o?.trackViewSampleReportClicked?.(),
|
|
337
|
+
o?.trackViewSampleReportClicked?.(), t?.(), c(!0);
|
|
338
338
|
}, b = () => {
|
|
339
339
|
o?.trackViewSampleReportClosed?.(), c(!1);
|
|
340
340
|
};
|
|
@@ -346,11 +346,11 @@ const Le = ({
|
|
|
346
346
|
isOpen: l,
|
|
347
347
|
onClose: b,
|
|
348
348
|
title: i,
|
|
349
|
-
pdfUrl:
|
|
349
|
+
pdfUrl: a
|
|
350
350
|
}
|
|
351
351
|
)
|
|
352
352
|
] });
|
|
353
|
-
}, Vn = "_section_1ds1w_1", Yn = "_heading_1ds1w_5", Xn = "_list_1ds1w_10", Jn = "_item_1ds1w_17", Zn = "_imageWrap_1ds1w_21", et = "_image_1ds1w_21", nt = "_imagePlaceholder_1ds1w_30", tt = "_text_1ds1w_36", at = "_itemTitle_1ds1w_40", st = "_itemDesc_1ds1w_51",
|
|
353
|
+
}, Vn = "_section_1ds1w_1", Yn = "_heading_1ds1w_5", Xn = "_list_1ds1w_10", Jn = "_item_1ds1w_17", Zn = "_imageWrap_1ds1w_21", et = "_image_1ds1w_21", nt = "_imagePlaceholder_1ds1w_30", tt = "_text_1ds1w_36", at = "_itemTitle_1ds1w_40", st = "_itemDesc_1ds1w_51", O = {
|
|
354
354
|
section: Vn,
|
|
355
355
|
heading: Yn,
|
|
356
356
|
list: Xn,
|
|
@@ -377,33 +377,33 @@ const Le = ({
|
|
|
377
377
|
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
378
378
|
], Te = ({
|
|
379
379
|
t: n,
|
|
380
|
-
imageUrls:
|
|
381
|
-
className:
|
|
380
|
+
imageUrls: a = ot,
|
|
381
|
+
className: t = ""
|
|
382
382
|
}) => {
|
|
383
383
|
const s = Z()?.config.imageComponent ?? ae;
|
|
384
384
|
return /* @__PURE__ */ e.jsxs(
|
|
385
385
|
"section",
|
|
386
386
|
{
|
|
387
|
-
className: `${
|
|
387
|
+
className: `${O.section} ${t}`,
|
|
388
388
|
"aria-labelledby": "find-heading",
|
|
389
389
|
children: [
|
|
390
|
-
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className:
|
|
391
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
392
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
390
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: O.heading, children: n("whatYoullFindTitle") }),
|
|
391
|
+
/* @__PURE__ */ e.jsx("ul", { className: O.list, children: it.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: O.item, children: [
|
|
392
|
+
/* @__PURE__ */ e.jsx("div", { className: O.imageWrap, children: a[c] ? /* @__PURE__ */ e.jsx(
|
|
393
393
|
s,
|
|
394
394
|
{
|
|
395
|
-
src:
|
|
395
|
+
src: a[c],
|
|
396
396
|
alt: "",
|
|
397
|
-
className:
|
|
397
|
+
className: O.image,
|
|
398
398
|
width: 96,
|
|
399
399
|
height: 96,
|
|
400
400
|
loading: "lazy",
|
|
401
401
|
sizes: "96px"
|
|
402
402
|
}
|
|
403
|
-
) : /* @__PURE__ */ e.jsx("div", { className:
|
|
404
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
405
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
406
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
403
|
+
) : /* @__PURE__ */ e.jsx("div", { className: O.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
404
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.text, children: [
|
|
405
|
+
/* @__PURE__ */ e.jsx("h3", { className: O.itemTitle, children: n(l.titleKey) }),
|
|
406
|
+
/* @__PURE__ */ e.jsx("p", { className: O.itemDesc, children: n(l.descKey) })
|
|
407
407
|
] })
|
|
408
408
|
] }, l.titleKey)) })
|
|
409
409
|
]
|
|
@@ -415,16 +415,16 @@ const Le = ({
|
|
|
415
415
|
subtitle: ct,
|
|
416
416
|
list: dt,
|
|
417
417
|
item: ut
|
|
418
|
-
}, pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className:
|
|
418
|
+
}, pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.section} ${a}`, "aria-labelledby": "why-heading", children: [
|
|
419
419
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: te.heading, children: n("whyUsTitle") }),
|
|
420
420
|
/* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("whyUsSubtitle") }),
|
|
421
|
-
/* @__PURE__ */ e.jsx("ul", { className: te.list, children: pt.map((
|
|
421
|
+
/* @__PURE__ */ e.jsx("ul", { className: te.list, children: pt.map((t) => /* @__PURE__ */ e.jsx("li", { className: te.item, children: n(t) }, t)) })
|
|
422
422
|
] }), mt = "_headingBold_g8xg7_1", ht = {
|
|
423
423
|
headingBold: mt
|
|
424
424
|
}, Re = ({
|
|
425
425
|
t: n,
|
|
426
|
-
testimonials:
|
|
427
|
-
readMoreHref:
|
|
426
|
+
testimonials: a,
|
|
427
|
+
readMoreHref: t,
|
|
428
428
|
onReadMore: o,
|
|
429
429
|
className: s = "",
|
|
430
430
|
headingClassName: l = ht.headingBold
|
|
@@ -432,8 +432,8 @@ const Le = ({
|
|
|
432
432
|
Ke,
|
|
433
433
|
{
|
|
434
434
|
t: n,
|
|
435
|
-
testimonials:
|
|
436
|
-
readMoreHref:
|
|
435
|
+
testimonials: a,
|
|
436
|
+
readMoreHref: t,
|
|
437
437
|
onReadMore: o,
|
|
438
438
|
className: s,
|
|
439
439
|
headingClassName: l
|
|
@@ -445,8 +445,8 @@ const Le = ({
|
|
|
445
445
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
446
446
|
], Se = ({
|
|
447
447
|
t: n,
|
|
448
|
-
className:
|
|
449
|
-
headingClassName:
|
|
448
|
+
className: a = "",
|
|
449
|
+
headingClassName: t = xt.headingBold
|
|
450
450
|
}) => {
|
|
451
451
|
const s = Z()?.config.isGlobal ?? !0, l = (c) => c === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : c;
|
|
452
452
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -456,19 +456,19 @@ const Le = ({
|
|
|
456
456
|
items: ft,
|
|
457
457
|
resolveAnswerKey: l,
|
|
458
458
|
defaultOpenIndex: 1,
|
|
459
|
-
className:
|
|
460
|
-
headingClassName:
|
|
459
|
+
className: a,
|
|
460
|
+
headingClassName: t
|
|
461
461
|
}
|
|
462
462
|
);
|
|
463
463
|
}, he = "8296947757", ge = "08071174417", xe = "pujaseva@appsforbharat.com", Ee = ({
|
|
464
464
|
t: n,
|
|
465
|
-
whatsAppGlobal:
|
|
466
|
-
whatsAppDomestic:
|
|
465
|
+
whatsAppGlobal: a,
|
|
466
|
+
whatsAppDomestic: t,
|
|
467
467
|
email: o,
|
|
468
468
|
brandName: s,
|
|
469
469
|
className: l = ""
|
|
470
470
|
}) => {
|
|
471
|
-
const m = Z()?.config.isGlobal ?? !0, i =
|
|
471
|
+
const m = Z()?.config.isGlobal ?? !0, i = a ?? he, h = t ?? ge, b = o ?? xe, p = m ? n("contactWhatsAppGlobal").replace(he, i) : n("contactWhatsAppDomestic").replace(ge, h), u = n("contactEmail").replace(xe, b);
|
|
472
472
|
return /* @__PURE__ */ e.jsx(
|
|
473
473
|
He,
|
|
474
474
|
{
|
|
@@ -480,25 +480,25 @@ const Le = ({
|
|
|
480
480
|
}
|
|
481
481
|
);
|
|
482
482
|
}, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", jt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", yt = ({ t: n }) => {
|
|
483
|
-
const
|
|
483
|
+
const t = Z()?.config.imageComponent ?? ae;
|
|
484
484
|
return /* @__PURE__ */ e.jsxs("div", { className: Y.marqueeContent, children: [
|
|
485
485
|
/* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
|
|
486
|
-
/* @__PURE__ */ e.jsx(
|
|
486
|
+
/* @__PURE__ */ e.jsx(t, { src: _t, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
487
487
|
n("ctaKundliCreated")
|
|
488
488
|
] }),
|
|
489
489
|
/* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
|
|
490
|
-
/* @__PURE__ */ e.jsx(
|
|
490
|
+
/* @__PURE__ */ e.jsx(t, { src: bt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
491
491
|
n("ctaCertified")
|
|
492
492
|
] }),
|
|
493
493
|
/* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
|
|
494
|
-
/* @__PURE__ */ e.jsx(
|
|
494
|
+
/* @__PURE__ */ e.jsx(t, { src: jt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
495
495
|
n("ctaSecurePayment")
|
|
496
496
|
] })
|
|
497
497
|
] });
|
|
498
498
|
}, wt = ({
|
|
499
499
|
t: n,
|
|
500
|
-
onCtaClick:
|
|
501
|
-
ctaHref:
|
|
500
|
+
onCtaClick: a,
|
|
501
|
+
ctaHref: t,
|
|
502
502
|
className: o = ""
|
|
503
503
|
}) => {
|
|
504
504
|
const s = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
@@ -507,10 +507,10 @@ const Le = ({
|
|
|
507
507
|
{
|
|
508
508
|
className: o,
|
|
509
509
|
marquee: /* @__PURE__ */ e.jsx(We, { children: /* @__PURE__ */ e.jsx(yt, { t: n }) }),
|
|
510
|
-
children: /* @__PURE__ */ e.jsx(ze, { href:
|
|
510
|
+
children: /* @__PURE__ */ e.jsx(ze, { href: t, onClick: a, children: s })
|
|
511
511
|
}
|
|
512
512
|
);
|
|
513
|
-
}, vt = "_container_nm3gb_1", Ct = "_main_nm3gb_6", kt = "_langDropdownWrap_nm3gb_12", Nt = "_langTrigger_nm3gb_16", Pt = "_langIcon_nm3gb_28", It = "_langLabel_nm3gb_35", Lt = "_langMenu_nm3gb_40", Tt = "_langOption_nm3gb_46",
|
|
513
|
+
}, vt = "_container_nm3gb_1", Ct = "_main_nm3gb_6", kt = "_langDropdownWrap_nm3gb_12", Nt = "_langTrigger_nm3gb_16", Pt = "_langIcon_nm3gb_28", It = "_langLabel_nm3gb_35", Lt = "_langMenu_nm3gb_40", Tt = "_langOption_nm3gb_46", z = {
|
|
514
514
|
container: vt,
|
|
515
515
|
main: Ct,
|
|
516
516
|
langDropdownWrap: kt,
|
|
@@ -519,11 +519,11 @@ const Le = ({
|
|
|
519
519
|
langLabel: It,
|
|
520
520
|
langMenu: Lt,
|
|
521
521
|
langOption: Tt
|
|
522
|
-
}, Ft = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Rt = (n,
|
|
523
|
-
function
|
|
522
|
+
}, Ft = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Rt = (n, a) => Ce[n]?.[a] ?? a, St = 112;
|
|
523
|
+
function q({
|
|
524
524
|
section: n,
|
|
525
|
-
children:
|
|
526
|
-
onImpression:
|
|
525
|
+
children: a,
|
|
526
|
+
onImpression: t
|
|
527
527
|
}) {
|
|
528
528
|
const o = _(null), s = _(!1);
|
|
529
529
|
return N(() => {
|
|
@@ -531,7 +531,7 @@ function M({
|
|
|
531
531
|
if (!l) return;
|
|
532
532
|
const c = new IntersectionObserver(
|
|
533
533
|
([m]) => {
|
|
534
|
-
!m?.isIntersecting || s.current || (s.current = !0,
|
|
534
|
+
!m?.isIntersecting || s.current || (s.current = !0, t(n));
|
|
535
535
|
},
|
|
536
536
|
{
|
|
537
537
|
threshold: 0.1,
|
|
@@ -540,42 +540,37 @@ function M({
|
|
|
540
540
|
}
|
|
541
541
|
);
|
|
542
542
|
return c.observe(l), () => c.disconnect();
|
|
543
|
-
}, [n,
|
|
543
|
+
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
|
|
544
544
|
}
|
|
545
545
|
function Et({ className: n }) {
|
|
546
|
-
const { view:
|
|
547
|
-
return
|
|
546
|
+
const { view: a } = de();
|
|
547
|
+
return a === "form" ? /* @__PURE__ */ e.jsx(De, {}) : /* @__PURE__ */ e.jsx(At, { className: n });
|
|
548
548
|
}
|
|
549
549
|
function At({ className: n }) {
|
|
550
|
-
const
|
|
551
|
-
locale
|
|
552
|
-
setLocale: o,
|
|
553
|
-
config: s,
|
|
554
|
-
goToForm: l
|
|
555
|
-
} = de(), c = s.resolvedUtmBannerImageUrl || void 0, [m, i] = R(!1), h = _(null), b = _(s.locale), p = _(
|
|
556
|
-
t?.locale
|
|
550
|
+
const a = ye(), { locale: t, setLocale: o, config: s, goToForm: l } = de(), c = s.resolvedUtmBannerImageUrl || void 0, [m, i] = R(!1), h = _(null), b = _(s.locale), p = _(
|
|
551
|
+
a?.locale
|
|
557
552
|
);
|
|
558
553
|
N(() => {
|
|
559
554
|
s.locale && b.current !== s.locale && o(s.locale), b.current = s.locale;
|
|
560
555
|
}, [s.locale, o]), N(() => {
|
|
561
556
|
if (s.locale) return;
|
|
562
|
-
const d =
|
|
557
|
+
const d = a?.locale;
|
|
563
558
|
d && p.current !== d && o(d), p.current = d;
|
|
564
|
-
}, [
|
|
559
|
+
}, [a?.locale, s.locale, o]), N(() => {
|
|
565
560
|
if (!m) return;
|
|
566
561
|
const d = (w) => {
|
|
567
562
|
h.current && !h.current.contains(w.target) && i(!1);
|
|
568
563
|
};
|
|
569
564
|
return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
|
|
570
565
|
}, [m]);
|
|
571
|
-
const u = (d) => Rt(
|
|
566
|
+
const u = (d) => Rt(t, d), y = s.showLanguageSelector ?? !0, L = s.imageComponent ?? ae, P = y ? /* @__PURE__ */ e.jsxs("div", { className: z.langDropdownWrap, ref: h, children: [
|
|
572
567
|
/* @__PURE__ */ e.jsxs(
|
|
573
568
|
"button",
|
|
574
569
|
{
|
|
575
570
|
type: "button",
|
|
576
|
-
className:
|
|
571
|
+
className: z.langTrigger,
|
|
577
572
|
onClick: () => {
|
|
578
|
-
s.analytics?.trackLanguageClickedFe?.({ language:
|
|
573
|
+
s.analytics?.trackLanguageClickedFe?.({ language: t }), i((d) => !d);
|
|
579
574
|
},
|
|
580
575
|
"aria-expanded": m,
|
|
581
576
|
"aria-haspopup": "listbox",
|
|
@@ -587,32 +582,34 @@ function At({ className: n }) {
|
|
|
587
582
|
{
|
|
588
583
|
src: Ft,
|
|
589
584
|
alt: "",
|
|
590
|
-
className:
|
|
585
|
+
className: z.langIcon,
|
|
591
586
|
width: 16,
|
|
592
587
|
height: 16,
|
|
593
588
|
loading: "eager"
|
|
594
589
|
}
|
|
595
590
|
),
|
|
596
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
591
|
+
/* @__PURE__ */ e.jsx("span", { className: z.langLabel, children: ie[t] })
|
|
597
592
|
]
|
|
598
593
|
}
|
|
599
594
|
),
|
|
600
595
|
m && /* @__PURE__ */ e.jsx(
|
|
601
596
|
"ul",
|
|
602
597
|
{
|
|
603
|
-
className:
|
|
598
|
+
className: z.langMenu,
|
|
604
599
|
role: "listbox",
|
|
605
600
|
"aria-labelledby": "kundli-lang",
|
|
606
|
-
"aria-activedescendant": `kundli-lang-option-${
|
|
601
|
+
"aria-activedescendant": `kundli-lang-option-${t}`,
|
|
607
602
|
children: we.map((d) => /* @__PURE__ */ e.jsx(
|
|
608
603
|
"li",
|
|
609
604
|
{
|
|
610
605
|
id: `kundli-lang-option-${d}`,
|
|
611
606
|
role: "option",
|
|
612
|
-
"aria-selected": d ===
|
|
613
|
-
className:
|
|
607
|
+
"aria-selected": d === t,
|
|
608
|
+
className: z.langOption,
|
|
614
609
|
onClick: () => {
|
|
615
|
-
s.analytics?.trackLanguageChangedFe?.({
|
|
610
|
+
s.analytics?.trackLanguageChangedFe?.({
|
|
611
|
+
newLanguage: d
|
|
612
|
+
}), o(d), i(!1);
|
|
616
613
|
},
|
|
617
614
|
children: ie[d]
|
|
618
615
|
},
|
|
@@ -632,7 +629,7 @@ function At({ className: n }) {
|
|
|
632
629
|
},
|
|
633
630
|
[s.analytics]
|
|
634
631
|
);
|
|
635
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
632
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${z.container} ${n}`, children: [
|
|
636
633
|
/* @__PURE__ */ e.jsx(
|
|
637
634
|
ve,
|
|
638
635
|
{
|
|
@@ -641,9 +638,9 @@ function At({ className: n }) {
|
|
|
641
638
|
languageSelector: P
|
|
642
639
|
}
|
|
643
640
|
),
|
|
644
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
641
|
+
/* @__PURE__ */ e.jsxs("main", { className: z.main, children: [
|
|
645
642
|
/* @__PURE__ */ e.jsx(
|
|
646
|
-
|
|
643
|
+
q,
|
|
647
644
|
{
|
|
648
645
|
section: "hero",
|
|
649
646
|
onImpression: f,
|
|
@@ -651,7 +648,7 @@ function At({ className: n }) {
|
|
|
651
648
|
}
|
|
652
649
|
),
|
|
653
650
|
/* @__PURE__ */ e.jsx(
|
|
654
|
-
|
|
651
|
+
q,
|
|
655
652
|
{
|
|
656
653
|
section: "premium_report_overview",
|
|
657
654
|
onImpression: f,
|
|
@@ -670,7 +667,7 @@ function At({ className: n }) {
|
|
|
670
667
|
}
|
|
671
668
|
),
|
|
672
669
|
/* @__PURE__ */ e.jsx(
|
|
673
|
-
|
|
670
|
+
q,
|
|
674
671
|
{
|
|
675
672
|
section: "university_certification",
|
|
676
673
|
onImpression: f,
|
|
@@ -678,21 +675,23 @@ function At({ className: n }) {
|
|
|
678
675
|
Pe,
|
|
679
676
|
{
|
|
680
677
|
t: u,
|
|
681
|
-
logoUrl: s.universityLogoUrls?.find(
|
|
678
|
+
logoUrl: s.universityLogoUrls?.find(
|
|
679
|
+
(d) => !!d
|
|
680
|
+
)
|
|
682
681
|
}
|
|
683
682
|
)
|
|
684
683
|
}
|
|
685
684
|
),
|
|
686
685
|
/* @__PURE__ */ e.jsx(
|
|
687
|
-
|
|
686
|
+
q,
|
|
688
687
|
{
|
|
689
688
|
section: "three_steps_process",
|
|
690
689
|
onImpression: f,
|
|
691
|
-
children: /* @__PURE__ */ e.jsx(Ie, { t: u, locale:
|
|
690
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: u, locale: t, isGlobal: s.isGlobal })
|
|
692
691
|
}
|
|
693
692
|
),
|
|
694
693
|
/* @__PURE__ */ e.jsx(
|
|
695
|
-
|
|
694
|
+
q,
|
|
696
695
|
{
|
|
697
696
|
section: "view_sample_report",
|
|
698
697
|
onImpression: f,
|
|
@@ -708,7 +707,7 @@ function At({ className: n }) {
|
|
|
708
707
|
}
|
|
709
708
|
),
|
|
710
709
|
/* @__PURE__ */ e.jsx(
|
|
711
|
-
|
|
710
|
+
q,
|
|
712
711
|
{
|
|
713
712
|
section: "what_youll_find",
|
|
714
713
|
onImpression: f,
|
|
@@ -716,7 +715,7 @@ function At({ className: n }) {
|
|
|
716
715
|
}
|
|
717
716
|
),
|
|
718
717
|
/* @__PURE__ */ e.jsx(
|
|
719
|
-
|
|
718
|
+
q,
|
|
720
719
|
{
|
|
721
720
|
section: "why_us",
|
|
722
721
|
onImpression: f,
|
|
@@ -724,7 +723,7 @@ function At({ className: n }) {
|
|
|
724
723
|
}
|
|
725
724
|
),
|
|
726
725
|
/* @__PURE__ */ e.jsx(
|
|
727
|
-
|
|
726
|
+
q,
|
|
728
727
|
{
|
|
729
728
|
section: "feedback",
|
|
730
729
|
onImpression: f,
|
|
@@ -739,7 +738,7 @@ function At({ className: n }) {
|
|
|
739
738
|
}
|
|
740
739
|
),
|
|
741
740
|
/* @__PURE__ */ e.jsx(
|
|
742
|
-
|
|
741
|
+
q,
|
|
743
742
|
{
|
|
744
743
|
section: "faq",
|
|
745
744
|
onImpression: f,
|
|
@@ -747,7 +746,7 @@ function At({ className: n }) {
|
|
|
747
746
|
}
|
|
748
747
|
),
|
|
749
748
|
/* @__PURE__ */ e.jsx(
|
|
750
|
-
|
|
749
|
+
q,
|
|
751
750
|
{
|
|
752
751
|
section: "contact_us",
|
|
753
752
|
onImpression: f,
|
|
@@ -767,8 +766,8 @@ function At({ className: n }) {
|
|
|
767
766
|
}
|
|
768
767
|
const Dt = ({
|
|
769
768
|
className: n = "",
|
|
770
|
-
locale:
|
|
771
|
-
showLanguageSelector:
|
|
769
|
+
locale: a,
|
|
770
|
+
showLanguageSelector: t = !0,
|
|
772
771
|
showSheet: o,
|
|
773
772
|
userId: s,
|
|
774
773
|
isGlobal: l,
|
|
@@ -789,16 +788,14 @@ const Dt = ({
|
|
|
789
788
|
originalPriceLabel: v,
|
|
790
789
|
discountedPriceLabel: T,
|
|
791
790
|
discountPillLabel: A,
|
|
792
|
-
analytics:
|
|
793
|
-
onLocaleChange:
|
|
794
|
-
resolvedUtmBannerImageUrl:
|
|
795
|
-
initialFormValues: $,
|
|
796
|
-
autoOpenPlanSheet: H
|
|
791
|
+
analytics: U,
|
|
792
|
+
onLocaleChange: K,
|
|
793
|
+
resolvedUtmBannerImageUrl: Q
|
|
797
794
|
}) => /* @__PURE__ */ e.jsx(
|
|
798
795
|
je,
|
|
799
796
|
{
|
|
800
|
-
locale:
|
|
801
|
-
showLanguageSelector:
|
|
797
|
+
locale: a,
|
|
798
|
+
showLanguageSelector: t,
|
|
802
799
|
showSheet: o,
|
|
803
800
|
userId: s,
|
|
804
801
|
isGlobal: l,
|
|
@@ -819,14 +816,12 @@ const Dt = ({
|
|
|
819
816
|
originalPriceLabel: v,
|
|
820
817
|
discountedPriceLabel: T,
|
|
821
818
|
discountPillLabel: A,
|
|
822
|
-
analytics:
|
|
823
|
-
onLocaleChange:
|
|
824
|
-
resolvedUtmBannerImageUrl:
|
|
825
|
-
initialFormValues: $,
|
|
826
|
-
autoOpenPlanSheet: H,
|
|
819
|
+
analytics: U,
|
|
820
|
+
onLocaleChange: K,
|
|
821
|
+
resolvedUtmBannerImageUrl: Q,
|
|
827
822
|
children: /* @__PURE__ */ e.jsx(Et, { className: n })
|
|
828
823
|
}
|
|
829
|
-
), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", Ot = "_langTrigger_1b9qe_16", qt = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74",
|
|
824
|
+
), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", Ot = "_langTrigger_1b9qe_16", qt = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74", M = {
|
|
830
825
|
container: Ut,
|
|
831
826
|
main: $t,
|
|
832
827
|
langDropdownWrap: Bt,
|
|
@@ -966,7 +961,7 @@ const Dt = ({
|
|
|
966
961
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
967
962
|
],
|
|
968
963
|
astrologers: Ae.filter(
|
|
969
|
-
(
|
|
964
|
+
(t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
|
|
970
965
|
)
|
|
971
966
|
}
|
|
972
967
|
], _e = [
|
|
@@ -990,12 +985,12 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
990
985
|
60% { left: 125%; }
|
|
991
986
|
100% { left: 125%; }
|
|
992
987
|
}
|
|
993
|
-
`, Xt = ({ title: n, onClose:
|
|
988
|
+
`, Xt = ({ 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: [
|
|
994
989
|
/* @__PURE__ */ e.jsx(
|
|
995
990
|
"button",
|
|
996
991
|
{
|
|
997
992
|
type: "button",
|
|
998
|
-
onClick:
|
|
993
|
+
onClick: a,
|
|
999
994
|
"aria-label": "Go back",
|
|
1000
995
|
className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
|
|
1001
996
|
children: /* @__PURE__ */ e.jsx(Ue, {})
|
|
@@ -1019,13 +1014,13 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1019
1014
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1020
1015
|
]
|
|
1021
1016
|
}
|
|
1022
|
-
), na = ({ 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((
|
|
1023
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children:
|
|
1024
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: t
|
|
1017
|
+
), na = ({ 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: [
|
|
1018
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(Jt, {}) : /* @__PURE__ */ e.jsx(Zt, {}) }),
|
|
1019
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a(t.text) })
|
|
1025
1020
|
] }, o)) }) }), ta = ({
|
|
1026
1021
|
chipKeys: n,
|
|
1027
|
-
t,
|
|
1028
|
-
onChipClick:
|
|
1022
|
+
t: a,
|
|
1023
|
+
onChipClick: t
|
|
1029
1024
|
}) => {
|
|
1030
1025
|
const o = Math.ceil(n.length / 2), s = [n.slice(0, o), n.slice(o)];
|
|
1031
1026
|
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((l, c) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((m) => /* @__PURE__ */ e.jsx(
|
|
@@ -1033,15 +1028,15 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1033
1028
|
{
|
|
1034
1029
|
type: "button",
|
|
1035
1030
|
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",
|
|
1036
|
-
onClick: () =>
|
|
1037
|
-
children:
|
|
1031
|
+
onClick: () => t(m, n.indexOf(m)),
|
|
1032
|
+
children: a(m)
|
|
1038
1033
|
},
|
|
1039
1034
|
m
|
|
1040
1035
|
)) }, c)) }) });
|
|
1041
1036
|
}, aa = ({
|
|
1042
1037
|
textareaRef: n,
|
|
1043
|
-
value:
|
|
1044
|
-
label:
|
|
1038
|
+
value: a,
|
|
1039
|
+
label: t,
|
|
1045
1040
|
placeholder: o,
|
|
1046
1041
|
chipKeys: s,
|
|
1047
1042
|
t: l,
|
|
@@ -1062,7 +1057,7 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1062
1057
|
),
|
|
1063
1058
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1064
1059
|
/* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
|
|
1065
|
-
|
|
1060
|
+
t,
|
|
1066
1061
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
|
|
1067
1062
|
] }),
|
|
1068
1063
|
b && /* @__PURE__ */ e.jsxs(
|
|
@@ -1091,7 +1086,7 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1091
1086
|
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",
|
|
1092
1087
|
style: { height: "100px" },
|
|
1093
1088
|
placeholder: o,
|
|
1094
|
-
value:
|
|
1089
|
+
value: a,
|
|
1095
1090
|
onFocus: c,
|
|
1096
1091
|
onClick: m,
|
|
1097
1092
|
onChange: i
|
|
@@ -1111,25 +1106,25 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1111
1106
|
certList: ma,
|
|
1112
1107
|
certItem: ha,
|
|
1113
1108
|
bullet: ga
|
|
1114
|
-
}, xa = ({ astrologer: n, t }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
|
|
1109
|
+
}, xa = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
|
|
1115
1110
|
/* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
|
|
1116
|
-
/* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt:
|
|
1111
|
+
/* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: a?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
|
|
1117
1112
|
/* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
|
|
1118
|
-
/* @__PURE__ */ e.jsx("p", { className: E.name, children:
|
|
1119
|
-
/* @__PURE__ */ e.jsx("p", { className: E.exp, children:
|
|
1120
|
-
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((
|
|
1113
|
+
/* @__PURE__ */ e.jsx("p", { className: E.name, children: a?.(n.name) ?? n.name }),
|
|
1114
|
+
/* @__PURE__ */ e.jsx("p", { className: E.exp, children: a?.(n.experience) ?? n.experience }),
|
|
1115
|
+
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
|
|
1121
1116
|
] })
|
|
1122
1117
|
] }),
|
|
1123
1118
|
/* @__PURE__ */ e.jsx("div", { className: E.divider }),
|
|
1124
|
-
/* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((
|
|
1119
|
+
/* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
|
|
1125
1120
|
/* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
|
|
1126
1121
|
" ",
|
|
1127
|
-
|
|
1122
|
+
a?.(t) ?? t
|
|
1128
1123
|
] }, o)) })
|
|
1129
1124
|
] }), fa = ({
|
|
1130
1125
|
astrologers: n,
|
|
1131
|
-
heading:
|
|
1132
|
-
t
|
|
1126
|
+
heading: a,
|
|
1127
|
+
t
|
|
1133
1128
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1134
1129
|
/* @__PURE__ */ e.jsx(
|
|
1135
1130
|
"div",
|
|
@@ -1140,19 +1135,19 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1140
1135
|
}
|
|
1141
1136
|
}
|
|
1142
1137
|
),
|
|
1143
|
-
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children:
|
|
1138
|
+
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: a }),
|
|
1144
1139
|
/* @__PURE__ */ e.jsx(
|
|
1145
1140
|
"div",
|
|
1146
1141
|
{
|
|
1147
1142
|
className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1148
1143
|
role: "list",
|
|
1149
|
-
children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(xa, { astrologer: o, t
|
|
1144
|
+
children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(xa, { astrologer: o, t }) }, s))
|
|
1150
1145
|
}
|
|
1151
1146
|
)
|
|
1152
1147
|
] }), _a = ({
|
|
1153
1148
|
plans: n,
|
|
1154
|
-
selectedId:
|
|
1155
|
-
t
|
|
1149
|
+
selectedId: a,
|
|
1150
|
+
t,
|
|
1156
1151
|
analytics: o,
|
|
1157
1152
|
onSelectPlan: s
|
|
1158
1153
|
}) => (
|
|
@@ -1166,17 +1161,17 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1166
1161
|
/* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((l) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
|
|
1167
1162
|
l.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: [
|
|
1168
1163
|
/* @__PURE__ */ e.jsx(ea, {}),
|
|
1169
|
-
|
|
1164
|
+
t(l.badge)
|
|
1170
1165
|
] }),
|
|
1171
1166
|
/* @__PURE__ */ e.jsxs(
|
|
1172
1167
|
"button",
|
|
1173
1168
|
{
|
|
1174
1169
|
type: "button",
|
|
1175
1170
|
role: "radio",
|
|
1176
|
-
"aria-checked": l.id ===
|
|
1171
|
+
"aria-checked": l.id === a,
|
|
1177
1172
|
className: [
|
|
1178
1173
|
"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",
|
|
1179
|
-
l.id ===
|
|
1174
|
+
l.id === a ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
|
|
1180
1175
|
].join(" "),
|
|
1181
1176
|
onClick: () => {
|
|
1182
1177
|
o?.trackPlanSelected?.({ planId: l.id, planName: l.title }), s(l);
|
|
@@ -1185,8 +1180,8 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1185
1180
|
/* @__PURE__ */ e.jsx(
|
|
1186
1181
|
"span",
|
|
1187
1182
|
{
|
|
1188
|
-
className: `text-[14px] leading-snug ${l.id ===
|
|
1189
|
-
children:
|
|
1183
|
+
className: `text-[14px] leading-snug ${l.id === a ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
|
|
1184
|
+
children: t(l.title)
|
|
1190
1185
|
}
|
|
1191
1186
|
),
|
|
1192
1187
|
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: l.price }),
|
|
@@ -1202,7 +1197,7 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1202
1197
|
},
|
|
1203
1198
|
children: [
|
|
1204
1199
|
"⏳ ",
|
|
1205
|
-
|
|
1200
|
+
t(l.newBadge)
|
|
1206
1201
|
]
|
|
1207
1202
|
}
|
|
1208
1203
|
)
|
|
@@ -1212,12 +1207,12 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1212
1207
|
] }, l.id)) })
|
|
1213
1208
|
), ba = ({
|
|
1214
1209
|
canProceed: n,
|
|
1215
|
-
label:
|
|
1216
|
-
showDisabledHint:
|
|
1210
|
+
label: a,
|
|
1211
|
+
showDisabledHint: t,
|
|
1217
1212
|
hintText: o,
|
|
1218
1213
|
onClick: s
|
|
1219
1214
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1220
|
-
|
|
1215
|
+
t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: o }),
|
|
1221
1216
|
/* @__PURE__ */ e.jsxs(
|
|
1222
1217
|
"button",
|
|
1223
1218
|
{
|
|
@@ -1242,14 +1237,14 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1242
1237
|
}
|
|
1243
1238
|
}
|
|
1244
1239
|
),
|
|
1245
|
-
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children:
|
|
1240
|
+
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: a })
|
|
1246
1241
|
]
|
|
1247
1242
|
}
|
|
1248
1243
|
)
|
|
1249
1244
|
] }), ja = ({
|
|
1250
1245
|
isOpen: n,
|
|
1251
|
-
onClose:
|
|
1252
|
-
selectedPlan:
|
|
1246
|
+
onClose: a,
|
|
1247
|
+
selectedPlan: t,
|
|
1253
1248
|
onSelectPlan: o,
|
|
1254
1249
|
plans: s,
|
|
1255
1250
|
onProceed: l,
|
|
@@ -1259,20 +1254,20 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1259
1254
|
isGlobal: h = !0,
|
|
1260
1255
|
oneQuestionSampleHref: b
|
|
1261
1256
|
}) => {
|
|
1262
|
-
const p = X((g) => (fe[c] ?? fe.en)[g] ?? m?.(g) ?? g, [c, m]), u = pe(() => s ?? zt(h), [s, h]), y =
|
|
1257
|
+
const p = X((g) => (fe[c] ?? fe.en)[g] ?? m?.(g) ?? g, [c, m]), u = pe(() => s ?? zt(h), [s, h]), y = t?.id || u.find((g) => g.badge)?.id || u[0]?.id || "", L = _(null), P = _(null), I = _(null), f = _(!1), [d, w] = R(""), [v, T] = R(!1), [A, U] = R("custom"), [K, Q] = R(null), [H, W] = R(!1), G = _(!1), V = _(null), C = pe(() => u.find((g) => g.id === y) ?? u[0], [u, y]), x = !!C?.supportsQuestion, oe = !x || d.trim().length > 0, se = X(() => {
|
|
1263
1258
|
const g = V.current;
|
|
1264
1259
|
g && (g.style.height = "auto", g.style.height = Math.max(100, Math.min(g.scrollHeight, Vt)) + "px");
|
|
1265
1260
|
}, []);
|
|
1266
1261
|
N(() => {
|
|
1267
1262
|
if (n) {
|
|
1268
|
-
if (!
|
|
1263
|
+
if (!t) {
|
|
1269
1264
|
const g = u.find((k) => k.badge) ?? u[0];
|
|
1270
1265
|
g && o(g);
|
|
1271
1266
|
}
|
|
1272
1267
|
f.current || (i?.trackPlanPageViewed?.(), f.current = !0);
|
|
1273
1268
|
} else
|
|
1274
1269
|
f.current = !1;
|
|
1275
|
-
}, [n, u,
|
|
1270
|
+
}, [n, u, t, o, i]), N(() => {
|
|
1276
1271
|
if (!n) return;
|
|
1277
1272
|
const g = document.body.style.overflow;
|
|
1278
1273
|
return document.body.style.overflow = "hidden", () => {
|
|
@@ -1280,32 +1275,32 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1280
1275
|
};
|
|
1281
1276
|
}, [n]);
|
|
1282
1277
|
const le = () => {
|
|
1283
|
-
i?.trackPlanPageClosed?.(),
|
|
1278
|
+
i?.trackPlanPageClosed?.(), a();
|
|
1284
1279
|
}, F = (g) => {
|
|
1285
1280
|
const k = P.current, J = I.current;
|
|
1286
1281
|
if (k && J) {
|
|
1287
1282
|
const ee = J.getBoundingClientRect().top - k.getBoundingClientRect().top + k.scrollTop;
|
|
1288
1283
|
k.scrollTo({ top: ee, behavior: "smooth" });
|
|
1289
1284
|
}
|
|
1290
|
-
|
|
1285
|
+
G.current || (G.current = !0, i?.trackQuestionTextboxClicked?.({
|
|
1291
1286
|
entry_method: g,
|
|
1292
1287
|
textbox_empty: d.length === 0
|
|
1293
1288
|
}));
|
|
1294
1289
|
}, re = (g) => {
|
|
1295
1290
|
const k = g.target.value.slice(0, Wt);
|
|
1296
|
-
A === "chip" && k !== p(_e[
|
|
1291
|
+
A === "chip" && k !== p(_e[K ?? 0]) && U("chip_edited"), w(k), se(), H && W(!1);
|
|
1297
1292
|
}, r = (g, k) => {
|
|
1298
1293
|
const J = p(g), ee = d.length > 0 && A !== "chip";
|
|
1299
1294
|
i?.trackPreSuggestedQuestionSelected?.({
|
|
1300
1295
|
question_text_loaded: J,
|
|
1301
1296
|
chip_index: k,
|
|
1302
|
-
previous_chip_index:
|
|
1297
|
+
previous_chip_index: K,
|
|
1303
1298
|
user_had_custom_text: ee
|
|
1304
|
-
}), w(J),
|
|
1305
|
-
},
|
|
1299
|
+
}), w(J), U("chip"), Q(k), G.current = !1, setTimeout(se, 0);
|
|
1300
|
+
}, $ = () => {
|
|
1306
1301
|
if (C) {
|
|
1307
1302
|
if (x && !d.trim()) {
|
|
1308
|
-
|
|
1303
|
+
W(!0);
|
|
1309
1304
|
return;
|
|
1310
1305
|
}
|
|
1311
1306
|
i?.trackPlanProceedClicked?.({
|
|
@@ -1316,7 +1311,7 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1316
1311
|
question_asked: x ? !0 : void 0,
|
|
1317
1312
|
question_text: x ? d.trim() : void 0,
|
|
1318
1313
|
question_source: x ? A : void 0
|
|
1319
|
-
}), l(C, x ? d.trim() : void 0),
|
|
1314
|
+
}), l(C, x ? d.trim() : void 0), a();
|
|
1320
1315
|
}
|
|
1321
1316
|
};
|
|
1322
1317
|
return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1387,9 +1382,9 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1387
1382
|
{
|
|
1388
1383
|
canProceed: oe,
|
|
1389
1384
|
label: p("planProceedToPayment"),
|
|
1390
|
-
showDisabledHint:
|
|
1385
|
+
showDisabledHint: H,
|
|
1391
1386
|
hintText: p("planQuestionHint"),
|
|
1392
|
-
onClick:
|
|
1387
|
+
onClick: $
|
|
1393
1388
|
}
|
|
1394
1389
|
)
|
|
1395
1390
|
]
|
|
@@ -1412,18 +1407,18 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1412
1407
|
] }) : null;
|
|
1413
1408
|
}, ya = ({
|
|
1414
1409
|
kundliReportSampleHref: n,
|
|
1415
|
-
analytics:
|
|
1416
|
-
s:
|
|
1410
|
+
analytics: a,
|
|
1411
|
+
s: t
|
|
1417
1412
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1418
|
-
/* @__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:
|
|
1413
|
+
/* @__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 }),
|
|
1419
1414
|
/* @__PURE__ */ e.jsx(
|
|
1420
1415
|
ue,
|
|
1421
1416
|
{
|
|
1422
|
-
t: () =>
|
|
1417
|
+
t: () => t.sampleLabelKundliReport.replace(`
|
|
1423
1418
|
`, " "),
|
|
1424
1419
|
pdfUrl: n,
|
|
1425
|
-
analytics:
|
|
1426
|
-
onClick: () =>
|
|
1420
|
+
analytics: a,
|
|
1421
|
+
onClick: () => a?.trackKundliViewSampleImageClicked?.()
|
|
1427
1422
|
}
|
|
1428
1423
|
)
|
|
1429
1424
|
] }), wa = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", va = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", be = {
|
|
@@ -1482,11 +1477,11 @@ call`
|
|
|
1482
1477
|
ज्योतिषी कॉल`
|
|
1483
1478
|
]
|
|
1484
1479
|
}
|
|
1485
|
-
}, Ca = (n) => be[n] ?? be.en, ka = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Na = (n,
|
|
1486
|
-
function
|
|
1480
|
+
}, Ca = (n) => be[n] ?? be.en, ka = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Na = (n, a) => Ce[n]?.[a] ?? a, Pa = 112;
|
|
1481
|
+
function D({
|
|
1487
1482
|
section: n,
|
|
1488
|
-
children:
|
|
1489
|
-
onImpression:
|
|
1483
|
+
children: a,
|
|
1484
|
+
onImpression: t
|
|
1490
1485
|
}) {
|
|
1491
1486
|
const o = _(null), s = _(!1);
|
|
1492
1487
|
return N(() => {
|
|
@@ -1494,7 +1489,7 @@ function U({
|
|
|
1494
1489
|
if (!l) return;
|
|
1495
1490
|
const c = new IntersectionObserver(
|
|
1496
1491
|
([m]) => {
|
|
1497
|
-
!m?.isIntersecting || s.current || (s.current = !0,
|
|
1492
|
+
!m?.isIntersecting || s.current || (s.current = !0, t(n));
|
|
1498
1493
|
},
|
|
1499
1494
|
{
|
|
1500
1495
|
threshold: 0.1,
|
|
@@ -1503,12 +1498,12 @@ function U({
|
|
|
1503
1498
|
}
|
|
1504
1499
|
);
|
|
1505
1500
|
return c.observe(l), () => c.disconnect();
|
|
1506
|
-
}, [n,
|
|
1501
|
+
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
|
|
1507
1502
|
}
|
|
1508
1503
|
function Ia({
|
|
1509
1504
|
className: n,
|
|
1510
|
-
showInlineForm:
|
|
1511
|
-
enableThreeSkuFlow:
|
|
1505
|
+
showInlineForm: a = !1,
|
|
1506
|
+
enableThreeSkuFlow: t = !1,
|
|
1512
1507
|
kundliReportSampleHref: o = wa,
|
|
1513
1508
|
oneQuestionSampleHref: s = va
|
|
1514
1509
|
}) {
|
|
@@ -1528,65 +1523,64 @@ function Ia({
|
|
|
1528
1523
|
...I.current !== void 0 ? { _question: I.current } : {}
|
|
1529
1524
|
};
|
|
1530
1525
|
I.current = void 0, y.id === $e && i.onProceedGuidance ? i.onProceedGuidance(r) : i.onProceed?.(r), u(!1), P.current = null;
|
|
1531
|
-
}, [y, i.onProceed, i.onProceedGuidance]), [T, A] = R(!1), [
|
|
1526
|
+
}, [y, i.onProceed, i.onProceedGuidance]), [T, A] = R(!1), [U, K] = R(
|
|
1532
1527
|
i.isGlobal ?? !0 ? "+1" : "+91"
|
|
1533
|
-
),
|
|
1528
|
+
), Q = _(null), H = _(null), W = _(i.locale), G = _(
|
|
1534
1529
|
l?.locale
|
|
1535
1530
|
);
|
|
1536
1531
|
N(() => {
|
|
1537
|
-
i.locale &&
|
|
1532
|
+
i.locale && W.current !== i.locale && m(i.locale), W.current = i.locale;
|
|
1538
1533
|
}, [i.locale, m]), N(() => {
|
|
1539
1534
|
if (i.locale) return;
|
|
1540
1535
|
const r = l?.locale;
|
|
1541
|
-
r &&
|
|
1536
|
+
r && G.current !== r && m(r), G.current = r;
|
|
1542
1537
|
}, [l?.locale, i.locale, m]), N(() => {
|
|
1543
|
-
|
|
1538
|
+
K(i.isGlobal ?? !0 ? "+1" : "+91");
|
|
1544
1539
|
}, [i.isGlobal]);
|
|
1545
1540
|
const V = _(!1);
|
|
1546
1541
|
N(() => {
|
|
1547
|
-
if (V.current || !
|
|
1542
|
+
if (V.current || !a || i.autoOpenPlanSheet) return;
|
|
1548
1543
|
const r = i.initialFormValues;
|
|
1549
1544
|
if (!(!!r && (!!r.fullName || !!r.phone || !!r.email || !!r.gender || !!r.language_code || !!r.dateOfBirth || !!r.birthTime || !!r.birthPlace))) return;
|
|
1550
1545
|
V.current = !0;
|
|
1551
1546
|
const g = requestAnimationFrame(() => {
|
|
1552
|
-
|
|
1547
|
+
Q.current?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1553
1548
|
});
|
|
1554
1549
|
return () => cancelAnimationFrame(g);
|
|
1555
|
-
}, [
|
|
1550
|
+
}, [a, i.autoOpenPlanSheet, i.initialFormValues]);
|
|
1556
1551
|
const C = _(!1);
|
|
1557
1552
|
N(() => {
|
|
1558
|
-
if (C.current || !
|
|
1559
|
-
return;
|
|
1553
|
+
if (C.current || !i.autoOpenPlanSheet) return;
|
|
1560
1554
|
C.current = !0;
|
|
1561
1555
|
const r = (h.phone ?? "").trim();
|
|
1562
1556
|
w({
|
|
1563
1557
|
...h,
|
|
1564
|
-
phone: r && `${
|
|
1558
|
+
phone: r && `${U}-${r}`
|
|
1565
1559
|
});
|
|
1566
|
-
}, [
|
|
1560
|
+
}, [i.autoOpenPlanSheet]), N(() => {
|
|
1567
1561
|
if (!T) return;
|
|
1568
|
-
const r = (
|
|
1569
|
-
|
|
1562
|
+
const r = ($) => {
|
|
1563
|
+
H.current && !H.current.contains($.target) && A(!1);
|
|
1570
1564
|
};
|
|
1571
1565
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1572
1566
|
}, [T]), N(() => {
|
|
1573
|
-
if (!
|
|
1567
|
+
if (!t) return;
|
|
1574
1568
|
const r = f.current;
|
|
1575
1569
|
if (!r) return;
|
|
1576
|
-
const
|
|
1570
|
+
const $ = new IntersectionObserver(
|
|
1577
1571
|
([g]) => {
|
|
1578
1572
|
d.current || !g?.isIntersecting || (g.intersectionRatio ?? 0) < 0.5 || (d.current = !0, i.analytics?.trackComparisonTableImpression?.());
|
|
1579
1573
|
},
|
|
1580
1574
|
{ threshold: 0.5 }
|
|
1581
1575
|
);
|
|
1582
|
-
return
|
|
1583
|
-
}, [
|
|
1584
|
-
const x = (r) => Na(c, r), oe = i.showLanguageSelector ?? !0, se = i.resolvedUtmBannerImageUrl || void 0, le = oe ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
1576
|
+
return $.observe(r), () => $.disconnect();
|
|
1577
|
+
}, [t, i.analytics]);
|
|
1578
|
+
const x = (r) => Na(c, r), oe = i.showLanguageSelector ?? !0, se = i.resolvedUtmBannerImageUrl || void 0, le = oe ? /* @__PURE__ */ e.jsxs("div", { className: M.langDropdownWrap, ref: H, children: [
|
|
1585
1579
|
/* @__PURE__ */ e.jsxs(
|
|
1586
1580
|
"button",
|
|
1587
1581
|
{
|
|
1588
1582
|
type: "button",
|
|
1589
|
-
className:
|
|
1583
|
+
className: M.langTrigger,
|
|
1590
1584
|
onClick: () => {
|
|
1591
1585
|
i.analytics?.trackLanguageClickedFe?.({ language: c }), A((r) => !r);
|
|
1592
1586
|
},
|
|
@@ -1600,20 +1594,20 @@ function Ia({
|
|
|
1600
1594
|
{
|
|
1601
1595
|
src: ka,
|
|
1602
1596
|
alt: "",
|
|
1603
|
-
className:
|
|
1597
|
+
className: M.langIcon,
|
|
1604
1598
|
width: 16,
|
|
1605
1599
|
height: 16,
|
|
1606
1600
|
"aria-hidden": !0
|
|
1607
1601
|
}
|
|
1608
1602
|
),
|
|
1609
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1603
|
+
/* @__PURE__ */ e.jsx("span", { className: M.langLabel, children: ie[c] })
|
|
1610
1604
|
]
|
|
1611
1605
|
}
|
|
1612
1606
|
),
|
|
1613
1607
|
T && /* @__PURE__ */ e.jsx(
|
|
1614
1608
|
"ul",
|
|
1615
1609
|
{
|
|
1616
|
-
className:
|
|
1610
|
+
className: M.langMenu,
|
|
1617
1611
|
role: "listbox",
|
|
1618
1612
|
"aria-labelledby": "kundli-lang",
|
|
1619
1613
|
"aria-activedescendant": `kundli-lang-option-${c}`,
|
|
@@ -1623,7 +1617,7 @@ function Ia({
|
|
|
1623
1617
|
id: `kundli-lang-option-${r}`,
|
|
1624
1618
|
role: "option",
|
|
1625
1619
|
"aria-selected": r === c,
|
|
1626
|
-
className:
|
|
1620
|
+
className: M.langOption,
|
|
1627
1621
|
onClick: () => {
|
|
1628
1622
|
i.analytics?.trackLanguageChangedFe?.({ newLanguage: r }), m(r), A(!1);
|
|
1629
1623
|
},
|
|
@@ -1660,7 +1654,7 @@ function Ia({
|
|
|
1660
1654
|
}), setTimeout(() => k.focus(), 500);
|
|
1661
1655
|
}
|
|
1662
1656
|
}, []);
|
|
1663
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1657
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${M.container} ${n}`, children: [
|
|
1664
1658
|
/* @__PURE__ */ e.jsx(
|
|
1665
1659
|
ve,
|
|
1666
1660
|
{
|
|
@@ -1669,9 +1663,9 @@ function Ia({
|
|
|
1669
1663
|
languageSelector: le
|
|
1670
1664
|
}
|
|
1671
1665
|
),
|
|
1672
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
1666
|
+
/* @__PURE__ */ e.jsxs("main", { className: M.main, children: [
|
|
1673
1667
|
/* @__PURE__ */ e.jsx(
|
|
1674
|
-
|
|
1668
|
+
D,
|
|
1675
1669
|
{
|
|
1676
1670
|
section: "hero",
|
|
1677
1671
|
onImpression: F,
|
|
@@ -1679,7 +1673,7 @@ function Ia({
|
|
|
1679
1673
|
}
|
|
1680
1674
|
),
|
|
1681
1675
|
/* @__PURE__ */ e.jsx(
|
|
1682
|
-
|
|
1676
|
+
D,
|
|
1683
1677
|
{
|
|
1684
1678
|
section: "premium_report_overview",
|
|
1685
1679
|
onImpression: F,
|
|
@@ -1696,7 +1690,7 @@ function Ia({
|
|
|
1696
1690
|
}
|
|
1697
1691
|
),
|
|
1698
1692
|
/* @__PURE__ */ e.jsx(
|
|
1699
|
-
|
|
1693
|
+
D,
|
|
1700
1694
|
{
|
|
1701
1695
|
section: "university_certification",
|
|
1702
1696
|
onImpression: F,
|
|
@@ -1710,7 +1704,7 @@ function Ia({
|
|
|
1710
1704
|
}
|
|
1711
1705
|
),
|
|
1712
1706
|
/* @__PURE__ */ e.jsx(
|
|
1713
|
-
|
|
1707
|
+
D,
|
|
1714
1708
|
{
|
|
1715
1709
|
section: "three_steps_process",
|
|
1716
1710
|
onImpression: F,
|
|
@@ -1718,11 +1712,11 @@ function Ia({
|
|
|
1718
1712
|
}
|
|
1719
1713
|
),
|
|
1720
1714
|
/* @__PURE__ */ e.jsx(
|
|
1721
|
-
|
|
1715
|
+
D,
|
|
1722
1716
|
{
|
|
1723
1717
|
section: "view_sample_report",
|
|
1724
1718
|
onImpression: F,
|
|
1725
|
-
children:
|
|
1719
|
+
children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
|
|
1726
1720
|
ya,
|
|
1727
1721
|
{
|
|
1728
1722
|
kundliReportSampleHref: o,
|
|
@@ -1740,12 +1734,12 @@ function Ia({
|
|
|
1740
1734
|
)
|
|
1741
1735
|
}
|
|
1742
1736
|
),
|
|
1743
|
-
|
|
1744
|
-
|
|
1737
|
+
a && /* @__PURE__ */ e.jsx(
|
|
1738
|
+
D,
|
|
1745
1739
|
{
|
|
1746
1740
|
section: "inline_form",
|
|
1747
1741
|
onImpression: F,
|
|
1748
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1742
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: M.inlineFormWrap, ref: Q, children: [
|
|
1749
1743
|
/* @__PURE__ */ e.jsx(Be, { t: x, align: "center" }),
|
|
1750
1744
|
/* @__PURE__ */ e.jsx(
|
|
1751
1745
|
Oe,
|
|
@@ -1753,8 +1747,8 @@ function Ia({
|
|
|
1753
1747
|
t: x,
|
|
1754
1748
|
values: h,
|
|
1755
1749
|
onChange: b,
|
|
1756
|
-
phoneIsdCode:
|
|
1757
|
-
onPhoneIsdCodeChange:
|
|
1750
|
+
phoneIsdCode: U,
|
|
1751
|
+
onPhoneIsdCodeChange: K,
|
|
1758
1752
|
showV1ExtraFields: !0,
|
|
1759
1753
|
analytics: i.analytics
|
|
1760
1754
|
}
|
|
@@ -1764,7 +1758,7 @@ function Ia({
|
|
|
1764
1758
|
{
|
|
1765
1759
|
t: x,
|
|
1766
1760
|
values: h,
|
|
1767
|
-
phoneIsdCode:
|
|
1761
|
+
phoneIsdCode: U,
|
|
1768
1762
|
hideOriginalPrice: !0,
|
|
1769
1763
|
requireV1ExtraFields: !0,
|
|
1770
1764
|
onValidationFailed: re,
|
|
@@ -1773,7 +1767,7 @@ function Ia({
|
|
|
1773
1767
|
originalPriceLabel: i.originalPriceLabel,
|
|
1774
1768
|
discountedPriceLabel: i.discountedPriceLabel,
|
|
1775
1769
|
analytics: i.analytics,
|
|
1776
|
-
className:
|
|
1770
|
+
className: M.inlineProceedFooter,
|
|
1777
1771
|
onProceedGuidance: i.onProceedGuidance,
|
|
1778
1772
|
showPlanSheet: w,
|
|
1779
1773
|
confirmPlan: v,
|
|
@@ -1785,7 +1779,7 @@ function Ia({
|
|
|
1785
1779
|
}
|
|
1786
1780
|
),
|
|
1787
1781
|
/* @__PURE__ */ e.jsx(
|
|
1788
|
-
|
|
1782
|
+
D,
|
|
1789
1783
|
{
|
|
1790
1784
|
section: "what_youll_find",
|
|
1791
1785
|
onImpression: F,
|
|
@@ -1793,7 +1787,7 @@ function Ia({
|
|
|
1793
1787
|
}
|
|
1794
1788
|
),
|
|
1795
1789
|
/* @__PURE__ */ e.jsx(
|
|
1796
|
-
|
|
1790
|
+
D,
|
|
1797
1791
|
{
|
|
1798
1792
|
section: "why_us",
|
|
1799
1793
|
onImpression: F,
|
|
@@ -1801,7 +1795,7 @@ function Ia({
|
|
|
1801
1795
|
}
|
|
1802
1796
|
),
|
|
1803
1797
|
/* @__PURE__ */ e.jsx(
|
|
1804
|
-
|
|
1798
|
+
D,
|
|
1805
1799
|
{
|
|
1806
1800
|
section: "feedback",
|
|
1807
1801
|
onImpression: F,
|
|
@@ -1816,7 +1810,7 @@ function Ia({
|
|
|
1816
1810
|
}
|
|
1817
1811
|
),
|
|
1818
1812
|
/* @__PURE__ */ e.jsx(
|
|
1819
|
-
|
|
1813
|
+
D,
|
|
1820
1814
|
{
|
|
1821
1815
|
section: "faq",
|
|
1822
1816
|
onImpression: F,
|
|
@@ -1824,7 +1818,7 @@ function Ia({
|
|
|
1824
1818
|
}
|
|
1825
1819
|
),
|
|
1826
1820
|
/* @__PURE__ */ e.jsx(
|
|
1827
|
-
|
|
1821
|
+
D,
|
|
1828
1822
|
{
|
|
1829
1823
|
section: "contact_us",
|
|
1830
1824
|
onImpression: F,
|
|
@@ -1832,7 +1826,7 @@ function Ia({
|
|
|
1832
1826
|
}
|
|
1833
1827
|
)
|
|
1834
1828
|
] }),
|
|
1835
|
-
|
|
1829
|
+
t ? /* @__PURE__ */ e.jsx(
|
|
1836
1830
|
ja,
|
|
1837
1831
|
{
|
|
1838
1832
|
isOpen: p,
|
|
@@ -1841,8 +1835,8 @@ function Ia({
|
|
|
1841
1835
|
onSelectPlan: (r) => L(r),
|
|
1842
1836
|
isGlobal: i.isGlobal,
|
|
1843
1837
|
locale: c,
|
|
1844
|
-
onProceed: (r,
|
|
1845
|
-
I.current =
|
|
1838
|
+
onProceed: (r, $) => {
|
|
1839
|
+
I.current = $, v();
|
|
1846
1840
|
},
|
|
1847
1841
|
t: x,
|
|
1848
1842
|
analytics: i.analytics,
|
|
@@ -1866,81 +1860,81 @@ function Ia({
|
|
|
1866
1860
|
}
|
|
1867
1861
|
const La = ({
|
|
1868
1862
|
className: n = "",
|
|
1869
|
-
locale:
|
|
1870
|
-
showLanguageSelector:
|
|
1863
|
+
locale: a,
|
|
1864
|
+
showLanguageSelector: t = !0,
|
|
1871
1865
|
showSheet: o,
|
|
1872
1866
|
userId: s,
|
|
1873
1867
|
isGlobal: l,
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1868
|
+
initialFormValues: c,
|
|
1869
|
+
autoOpenPlanSheet: m,
|
|
1870
|
+
googleMapsApiKey: i,
|
|
1871
|
+
atlasSearchLocalities: h,
|
|
1872
|
+
googleMapsAutocompleteEnabled: b,
|
|
1873
|
+
enableThreeSkuFlow: p = !1,
|
|
1874
|
+
kundliReportSampleHref: u,
|
|
1875
|
+
oneQuestionSampleHref: y,
|
|
1876
|
+
logoUrl: L,
|
|
1877
|
+
reportImageUrl: P,
|
|
1878
|
+
universityLogoUrls: I,
|
|
1879
|
+
sampleReportHref: f,
|
|
1880
|
+
onViewSampleReport: d,
|
|
1881
|
+
ctaHref: w,
|
|
1882
|
+
onCtaClick: v,
|
|
1883
|
+
readMoreReviewsHref: T,
|
|
1884
|
+
onProceed: A,
|
|
1885
|
+
proceedHref: U,
|
|
1886
|
+
originalPriceLabel: K,
|
|
1887
|
+
discountedPriceLabel: Q,
|
|
1888
|
+
discountPillLabel: H,
|
|
1889
|
+
analytics: W,
|
|
1890
|
+
onProceedGuidance: G,
|
|
1891
|
+
onLocaleChange: V,
|
|
1892
|
+
resolvedUtmBannerImageUrl: C
|
|
1899
1893
|
}) => /* @__PURE__ */ e.jsx(
|
|
1900
1894
|
je,
|
|
1901
1895
|
{
|
|
1902
|
-
locale:
|
|
1903
|
-
showLanguageSelector:
|
|
1896
|
+
locale: a,
|
|
1897
|
+
showLanguageSelector: t,
|
|
1904
1898
|
showSheet: o,
|
|
1905
1899
|
userId: s,
|
|
1906
1900
|
isGlobal: l,
|
|
1907
1901
|
variant: "v1",
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1902
|
+
initialFormValues: c,
|
|
1903
|
+
autoOpenPlanSheet: m,
|
|
1904
|
+
googleMapsApiKey: i,
|
|
1905
|
+
atlasSearchLocalities: h,
|
|
1906
|
+
googleMapsAutocompleteEnabled: b,
|
|
1907
|
+
logoUrl: L,
|
|
1908
|
+
reportImageUrl: P,
|
|
1909
|
+
universityLogoUrls: I,
|
|
1910
|
+
sampleReportHref: f,
|
|
1911
|
+
onViewSampleReport: d,
|
|
1912
|
+
ctaHref: w,
|
|
1913
|
+
onCtaClick: v,
|
|
1914
|
+
readMoreReviewsHref: T,
|
|
1915
|
+
onProceed: A,
|
|
1916
|
+
onProceedGuidance: G,
|
|
1917
|
+
proceedHref: U,
|
|
1918
|
+
originalPriceLabel: K,
|
|
1919
|
+
discountedPriceLabel: Q,
|
|
1920
|
+
discountPillLabel: H,
|
|
1921
|
+
analytics: W,
|
|
1922
|
+
onLocaleChange: V,
|
|
1923
|
+
resolvedUtmBannerImageUrl: C,
|
|
1930
1924
|
children: /* @__PURE__ */ e.jsx(
|
|
1931
1925
|
Ia,
|
|
1932
1926
|
{
|
|
1933
1927
|
className: n,
|
|
1934
1928
|
showInlineForm: !0,
|
|
1935
|
-
enableThreeSkuFlow:
|
|
1936
|
-
kundliReportSampleHref:
|
|
1937
|
-
oneQuestionSampleHref:
|
|
1929
|
+
enableThreeSkuFlow: p,
|
|
1930
|
+
kundliReportSampleHref: u,
|
|
1931
|
+
oneQuestionSampleHref: y
|
|
1938
1932
|
}
|
|
1939
1933
|
)
|
|
1940
1934
|
}
|
|
1941
|
-
), Sa = ({ variant: n, ...
|
|
1942
|
-
const
|
|
1943
|
-
return (n ?? (
|
|
1935
|
+
), Sa = ({ variant: n, ...a }) => {
|
|
1936
|
+
const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
1937
|
+
return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(La, { ...a }) : /* @__PURE__ */ e.jsx(Dt, { ...a });
|
|
1944
1938
|
}, Ea = "[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}";
|
|
1945
1939
|
export {
|
|
1946
1940
|
Ea as K,
|
|
@@ -1949,4 +1943,4 @@ export {
|
|
|
1949
1943
|
Dt as b,
|
|
1950
1944
|
La as c
|
|
1951
1945
|
};
|
|
1952
|
-
//# sourceMappingURL=criticalCss-
|
|
1946
|
+
//# sourceMappingURL=criticalCss-BZyhooWB.js.map
|