@srimandir/kundli-matching-generator 6.6.8 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{criticalCss-muYZZvnD.js → criticalCss-D-SnzGkQ.js} +363 -359
- package/dist/criticalCss-D-SnzGkQ.js.map +1 -0
- package/dist/kundli-matching-generator.js +1 -1
- package/dist/page-entry.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-muYZZvnD.js.map +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { j as e, u as re, D as ne, b as ie, c as ce, I as q, L as Y, S as oe, a as le, t as de } from "./image-L58ynFKN.js";
|
|
2
2
|
import { useRef as N, useState as B, useEffect as v, useMemo as he, useCallback as z } from "react";
|
|
3
3
|
import { PageHeader as me, FAQAccordion as pe, FooterShell as _e, CircularMarquee as ue, FooterCTAButton as ge, footerShellStyles as M } from "@srimandir/astrology-common";
|
|
4
|
-
|
|
4
|
+
import { createPortal as xe } from "react-dom";
|
|
5
|
+
const be = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", fe = ({
|
|
5
6
|
t: s,
|
|
6
7
|
languageSelector: r,
|
|
7
|
-
logoUrl: n =
|
|
8
|
+
logoUrl: n = be,
|
|
8
9
|
className: t = "",
|
|
9
10
|
isGlobal: i = !0,
|
|
10
11
|
imageComponent: h
|
|
@@ -21,18 +22,18 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
21
22
|
className: t
|
|
22
23
|
}
|
|
23
24
|
);
|
|
24
|
-
},
|
|
25
|
-
hero:
|
|
26
|
-
title:
|
|
27
|
-
subtitle:
|
|
28
|
-
badges:
|
|
29
|
-
badge:
|
|
30
|
-
separator:
|
|
31
|
-
badgeIcon:
|
|
32
|
-
heroImageWrapper:
|
|
33
|
-
circularBg:
|
|
34
|
-
heroImage:
|
|
35
|
-
},
|
|
25
|
+
}, je = "_hero_m5psy_1", Ne = "_title_m5psy_6", ve = "_subtitle_m5psy_20", ye = "_badges_m5psy_32", Ie = "_badge_m5psy_32", we = "_separator_m5psy_50", ke = "_badgeIcon_m5psy_61", Ce = "_heroImageWrapper_m5psy_65", Te = "_circularBg_m5psy_75", Pe = "_heroImage_m5psy_65", w = {
|
|
26
|
+
hero: je,
|
|
27
|
+
title: Ne,
|
|
28
|
+
subtitle: ve,
|
|
29
|
+
badges: ye,
|
|
30
|
+
badge: Ie,
|
|
31
|
+
separator: we,
|
|
32
|
+
badgeIcon: ke,
|
|
33
|
+
heroImageWrapper: Ce,
|
|
34
|
+
circularBg: Te,
|
|
35
|
+
heroImage: Pe
|
|
36
|
+
}, Le = "https://srm-cdn.a4b.io/yoda/1774510977826.svg", Be = "https://srm-cdn.a4b.io/yoda/1774510988512.svg", Se = "https://srm-cdn.a4b.io/yoda/1774510999104.svg", Re = "https://srm-cdn.a4b.io/yoda/1774511140028.png", De = "https://srm-cdn.a4b.io/yoda/1774511296258.webp", $e = ({
|
|
36
37
|
t: s,
|
|
37
38
|
className: r = "",
|
|
38
39
|
heroImagePriority: n = !0
|
|
@@ -43,17 +44,17 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
43
44
|
/* @__PURE__ */ e.jsx("p", { className: w.subtitle, dangerouslySetInnerHTML: { __html: s("heroSubtitle") } }),
|
|
44
45
|
/* @__PURE__ */ e.jsxs("div", { className: w.badges, children: [
|
|
45
46
|
/* @__PURE__ */ e.jsxs("div", { className: w.badge, children: [
|
|
46
|
-
/* @__PURE__ */ e.jsx(i, { src:
|
|
47
|
+
/* @__PURE__ */ e.jsx(i, { src: Le, alt: "", className: w.badgeIcon, width: 24, height: 24, loading: "eager" }),
|
|
47
48
|
/* @__PURE__ */ e.jsx("span", { children: s("badge1") })
|
|
48
49
|
] }),
|
|
49
50
|
/* @__PURE__ */ e.jsx("div", { className: w.separator, children: "|" }),
|
|
50
51
|
/* @__PURE__ */ e.jsxs("div", { className: w.badge, children: [
|
|
51
|
-
/* @__PURE__ */ e.jsx(i, { src:
|
|
52
|
+
/* @__PURE__ */ e.jsx(i, { src: Be, alt: "", className: w.badgeIcon, width: 24, height: 24, loading: "eager" }),
|
|
52
53
|
/* @__PURE__ */ e.jsx("span", { children: s("badge2") })
|
|
53
54
|
] }),
|
|
54
55
|
/* @__PURE__ */ e.jsx("div", { className: w.separator, children: "|" }),
|
|
55
56
|
/* @__PURE__ */ e.jsxs("div", { className: w.badge, children: [
|
|
56
|
-
/* @__PURE__ */ e.jsx(i, { src:
|
|
57
|
+
/* @__PURE__ */ e.jsx(i, { src: Se, alt: "", className: w.badgeIcon, width: 24, height: 24, loading: "eager" }),
|
|
57
58
|
/* @__PURE__ */ e.jsx("span", { children: s("badge3") })
|
|
58
59
|
] })
|
|
59
60
|
] }),
|
|
@@ -61,7 +62,7 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
61
62
|
/* @__PURE__ */ e.jsx(
|
|
62
63
|
i,
|
|
63
64
|
{
|
|
64
|
-
src:
|
|
65
|
+
src: Re,
|
|
65
66
|
alt: "",
|
|
66
67
|
className: w.circularBg,
|
|
67
68
|
"aria-hidden": "true",
|
|
@@ -73,7 +74,7 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
73
74
|
/* @__PURE__ */ e.jsx(
|
|
74
75
|
i,
|
|
75
76
|
{
|
|
76
|
-
src:
|
|
77
|
+
src: De,
|
|
77
78
|
alt: s("heroImageAlt"),
|
|
78
79
|
className: w.heroImage,
|
|
79
80
|
priority: n,
|
|
@@ -85,14 +86,14 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
85
86
|
)
|
|
86
87
|
] })
|
|
87
88
|
] });
|
|
88
|
-
},
|
|
89
|
-
features:
|
|
90
|
-
heading:
|
|
91
|
-
cardsWrapper:
|
|
92
|
-
card:
|
|
93
|
-
cardTitle:
|
|
94
|
-
cardDescription:
|
|
95
|
-
},
|
|
89
|
+
}, Ae = "_features_7holm_1", Oe = "_heading_7holm_6", Ee = "_cardsWrapper_7holm_18", Me = "_card_7holm_18", We = "_cardTitle_7holm_45", Ue = "_cardDescription_7holm_58", A = {
|
|
90
|
+
features: Ae,
|
|
91
|
+
heading: Oe,
|
|
92
|
+
cardsWrapper: Ee,
|
|
93
|
+
card: Me,
|
|
94
|
+
cardTitle: We,
|
|
95
|
+
cardDescription: Ue
|
|
96
|
+
}, Fe = ({ t: s, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${A.features} ${r}`, children: [
|
|
96
97
|
/* @__PURE__ */ e.jsx("h2", { className: A.heading, children: s("featuresHeading") }),
|
|
97
98
|
/* @__PURE__ */ e.jsxs("div", { className: A.cardsWrapper, children: [
|
|
98
99
|
/* @__PURE__ */ e.jsxs("div", { className: A.card, children: [
|
|
@@ -104,23 +105,23 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
104
105
|
/* @__PURE__ */ e.jsx("p", { className: A.cardDescription, children: s("feature2Description") })
|
|
105
106
|
] })
|
|
106
107
|
] })
|
|
107
|
-
] }),
|
|
108
|
-
section:
|
|
108
|
+
] }), He = "_section_e1rdc_1", Ke = "_heading_e1rdc_6", Ve = "_subtitle_e1rdc_11", Ge = "_stepsWrapper_e1rdc_15", qe = "_stepRow_e1rdc_19", Ye = "_iconColumn_e1rdc_26", ze = "_stepIcon_e1rdc_31", Qe = "_connector_e1rdc_36", Je = "_contentColumn_e1rdc_43", Xe = "_stepTitle_e1rdc_47", Ze = "_stepDescription_e1rdc_53", C = {
|
|
109
|
+
section: He,
|
|
109
110
|
heading: Ke,
|
|
110
|
-
subtitle:
|
|
111
|
-
stepsWrapper:
|
|
112
|
-
stepRow:
|
|
113
|
-
iconColumn:
|
|
114
|
-
stepIcon:
|
|
115
|
-
connector:
|
|
116
|
-
contentColumn:
|
|
117
|
-
stepTitle:
|
|
118
|
-
stepDescription:
|
|
119
|
-
},
|
|
111
|
+
subtitle: Ve,
|
|
112
|
+
stepsWrapper: Ge,
|
|
113
|
+
stepRow: qe,
|
|
114
|
+
iconColumn: Ye,
|
|
115
|
+
stepIcon: ze,
|
|
116
|
+
connector: Qe,
|
|
117
|
+
contentColumn: Je,
|
|
118
|
+
stepTitle: Xe,
|
|
119
|
+
stepDescription: Ze
|
|
120
|
+
}, es = {
|
|
120
121
|
step1: "https://srm-cdn.a4b.io/yoda/1774547132475.svg",
|
|
121
122
|
step2: "https://srm-cdn.a4b.io/yoda/1774547166950.svg",
|
|
122
123
|
step3: "https://srm-cdn.a4b.io/yoda/1774547202216.svg"
|
|
123
|
-
},
|
|
124
|
+
}, ss = ({
|
|
124
125
|
t: s,
|
|
125
126
|
className: r = ""
|
|
126
127
|
}) => {
|
|
@@ -142,7 +143,7 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
142
143
|
/* @__PURE__ */ e.jsx(
|
|
143
144
|
"img",
|
|
144
145
|
{
|
|
145
|
-
src:
|
|
146
|
+
src: es[t.iconKey],
|
|
146
147
|
alt: "",
|
|
147
148
|
className: C.stepIcon,
|
|
148
149
|
width: 24,
|
|
@@ -159,68 +160,68 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
159
160
|
]
|
|
160
161
|
}
|
|
161
162
|
);
|
|
162
|
-
},
|
|
163
|
-
sneakPeek:
|
|
164
|
-
badge:
|
|
165
|
-
starIcon:
|
|
166
|
-
heading:
|
|
167
|
-
subheading:
|
|
168
|
-
carouselWrapper:
|
|
169
|
-
carousel:
|
|
170
|
-
card:
|
|
171
|
-
cardHeader:
|
|
172
|
-
cardNumber:
|
|
173
|
-
headerText:
|
|
174
|
-
cardTitle:
|
|
175
|
-
cardDescription:
|
|
176
|
-
cardBody:
|
|
177
|
-
reportHeader:
|
|
178
|
-
reportBrand:
|
|
179
|
-
reportLabel:
|
|
180
|
-
coupleInfo:
|
|
181
|
-
personInfo:
|
|
182
|
-
name:
|
|
183
|
-
value:
|
|
184
|
-
separator:
|
|
185
|
-
chevronIcon:
|
|
186
|
-
scoreSection:
|
|
187
|
-
scoreLabel:
|
|
188
|
-
scoreValue:
|
|
189
|
-
matchBadge:
|
|
190
|
-
reportTitle:
|
|
191
|
-
gridContainer:
|
|
192
|
-
gridItem:
|
|
193
|
-
moreText:
|
|
194
|
-
doshaLabel:
|
|
195
|
-
doshaTitle:
|
|
196
|
-
remedyHeading:
|
|
197
|
-
remedyItem:
|
|
198
|
-
remedyIcon:
|
|
199
|
-
remedyDetail:
|
|
200
|
-
predictionGrid:
|
|
201
|
-
predictionItem:
|
|
202
|
-
predictionIcon:
|
|
203
|
-
predictionLabel:
|
|
204
|
-
cardIndicator:
|
|
163
|
+
}, as = "_sneakPeek_1svtd_1", ts = "_badge_1svtd_6", rs = "_starIcon_1svtd_22", ns = "_heading_1svtd_26", is = "_subheading_1svtd_38", cs = "_carouselWrapper_1svtd_50", os = "_carousel_1svtd_50", ls = "_card_1svtd_71", ds = "_cardHeader_1svtd_88", hs = "_cardNumber_1svtd_94", ms = "_headerText_1svtd_110", ps = "_cardTitle_1svtd_115", _s = "_cardDescription_1svtd_127", us = "_cardBody_1svtd_134", gs = "_reportHeader_1svtd_147", xs = "_reportBrand_1svtd_155", bs = "_reportLabel_1svtd_159", fs = "_coupleInfo_1svtd_163", js = "_personInfo_1svtd_169", Ns = "_name_1svtd_178", vs = "_value_1svtd_188", ys = "_separator_1svtd_194", Is = "_chevronIcon_1svtd_199", ws = "_scoreSection_1svtd_204", ks = "_scoreLabel_1svtd_208", Cs = "_scoreValue_1svtd_213", Ts = "_matchBadge_1svtd_223", Ps = "_reportTitle_1svtd_233", Ls = "_gridContainer_1svtd_240", Bs = "_gridItem_1svtd_247", Ss = "_moreText_1svtd_258", Rs = "_doshaLabel_1svtd_267", Ds = "_doshaTitle_1svtd_274", $s = "_remedyHeading_1svtd_281", As = "_remedyItem_1svtd_288", Os = "_remedyIcon_1svtd_295", Es = "_remedyDetail_1svtd_299", Ms = "_predictionGrid_1svtd_306", Ws = "_predictionItem_1svtd_313", Us = "_predictionIcon_1svtd_326", Fs = "_predictionLabel_1svtd_333", Hs = "_cardIndicator_1svtd_347", Ks = "_buttonContainer_1svtd_355", a = {
|
|
164
|
+
sneakPeek: as,
|
|
165
|
+
badge: ts,
|
|
166
|
+
starIcon: rs,
|
|
167
|
+
heading: ns,
|
|
168
|
+
subheading: is,
|
|
169
|
+
carouselWrapper: cs,
|
|
170
|
+
carousel: os,
|
|
171
|
+
card: ls,
|
|
172
|
+
cardHeader: ds,
|
|
173
|
+
cardNumber: hs,
|
|
174
|
+
headerText: ms,
|
|
175
|
+
cardTitle: ps,
|
|
176
|
+
cardDescription: _s,
|
|
177
|
+
cardBody: us,
|
|
178
|
+
reportHeader: gs,
|
|
179
|
+
reportBrand: xs,
|
|
180
|
+
reportLabel: bs,
|
|
181
|
+
coupleInfo: fs,
|
|
182
|
+
personInfo: js,
|
|
183
|
+
name: Ns,
|
|
184
|
+
value: vs,
|
|
185
|
+
separator: ys,
|
|
186
|
+
chevronIcon: Is,
|
|
187
|
+
scoreSection: ws,
|
|
188
|
+
scoreLabel: ks,
|
|
189
|
+
scoreValue: Cs,
|
|
190
|
+
matchBadge: Ts,
|
|
191
|
+
reportTitle: Ps,
|
|
192
|
+
gridContainer: Ls,
|
|
193
|
+
gridItem: Bs,
|
|
194
|
+
moreText: Ss,
|
|
195
|
+
doshaLabel: Rs,
|
|
196
|
+
doshaTitle: Ds,
|
|
197
|
+
remedyHeading: $s,
|
|
198
|
+
remedyItem: As,
|
|
199
|
+
remedyIcon: Os,
|
|
200
|
+
remedyDetail: Es,
|
|
201
|
+
predictionGrid: Ms,
|
|
202
|
+
predictionItem: Ws,
|
|
203
|
+
predictionIcon: Us,
|
|
204
|
+
predictionLabel: Fs,
|
|
205
|
+
cardIndicator: Hs,
|
|
205
206
|
buttonContainer: Ks
|
|
206
|
-
},
|
|
207
|
-
button:
|
|
208
|
-
},
|
|
209
|
-
backdrop:
|
|
210
|
-
modal:
|
|
211
|
-
header:
|
|
212
|
-
title:
|
|
213
|
-
closeBtn:
|
|
214
|
-
content:
|
|
215
|
-
pdfFrame:
|
|
216
|
-
pdfPages:
|
|
217
|
-
pdfError:
|
|
218
|
-
openInNewTab:
|
|
207
|
+
}, Vs = "_button_pj3n5_1", Gs = {
|
|
208
|
+
button: Vs
|
|
209
|
+
}, qs = "_backdrop_pekod_1", Ys = "_modal_pekod_21", zs = "_header_pekod_40", Qs = "_title_pekod_49", Js = "_closeBtn_pekod_56", Xs = "_content_pekod_76", Zs = "_pdfFrame_pekod_84", ea = "_pdfPages_pekod_92", sa = "_pdfError_pekod_97", aa = "_openInNewTab_pekod_123", L = {
|
|
210
|
+
backdrop: qs,
|
|
211
|
+
modal: Ys,
|
|
212
|
+
header: zs,
|
|
213
|
+
title: Qs,
|
|
214
|
+
closeBtn: Js,
|
|
215
|
+
content: Xs,
|
|
216
|
+
pdfFrame: Zs,
|
|
217
|
+
pdfPages: ea,
|
|
218
|
+
pdfError: sa,
|
|
219
|
+
openInNewTab: aa
|
|
219
220
|
};
|
|
220
|
-
function
|
|
221
|
+
function ta(s) {
|
|
221
222
|
typeof s < "u" && s.GlobalWorkerOptions && (s.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${s.version}/build/pdf.worker.min.js`);
|
|
222
223
|
}
|
|
223
|
-
const
|
|
224
|
+
const ra = ({
|
|
224
225
|
isOpen: s,
|
|
225
226
|
onClose: r,
|
|
226
227
|
title: n,
|
|
@@ -229,8 +230,8 @@ const ta = ({
|
|
|
229
230
|
const i = N(null), [h, d] = B(!0), [m, u] = B(null), [j, y] = B(null);
|
|
230
231
|
return v(() => {
|
|
231
232
|
if (!s) return;
|
|
232
|
-
const p = (
|
|
233
|
-
|
|
233
|
+
const p = (g) => {
|
|
234
|
+
g.key === "Escape" && r();
|
|
234
235
|
};
|
|
235
236
|
return document.addEventListener("keydown", p), document.body.style.overflow = "hidden", () => {
|
|
236
237
|
document.removeEventListener("keydown", p), document.body.style.overflow = "";
|
|
@@ -245,18 +246,18 @@ const ta = ({
|
|
|
245
246
|
if (!s || !t || !i.current || !j) return;
|
|
246
247
|
d(!0), u(null), i.current.innerHTML = "", (async () => {
|
|
247
248
|
try {
|
|
248
|
-
|
|
249
|
+
ta(j);
|
|
249
250
|
const k = await j.getDocument({ url: t }).promise, I = i.current;
|
|
250
251
|
if (!I) return;
|
|
251
252
|
const T = I.clientWidth || 600, P = Math.min(T / 612, 2);
|
|
252
253
|
for (let S = 1; S <= k.numPages; S++) {
|
|
253
|
-
const E = await k.getPage(S),
|
|
254
|
-
l.height =
|
|
254
|
+
const E = await k.getPage(S), x = E.getViewport({ scale: P }), l = document.createElement("canvas");
|
|
255
|
+
l.height = x.height, l.width = x.width, l.style.display = "block", l.style.margin = "0 auto 1rem", l.style.maxWidth = "100%";
|
|
255
256
|
const f = l.getContext("2d");
|
|
256
|
-
f && await E.render({ canvasContext: f, viewport:
|
|
257
|
+
f && await E.render({ canvasContext: f, viewport: x }).promise, I.appendChild(l);
|
|
257
258
|
}
|
|
258
|
-
} catch (
|
|
259
|
-
u(
|
|
259
|
+
} catch (g) {
|
|
260
|
+
u(g instanceof Error ? g.message : "Failed to load PDF");
|
|
260
261
|
} finally {
|
|
261
262
|
d(!1);
|
|
262
263
|
}
|
|
@@ -312,9 +313,9 @@ const ta = ({
|
|
|
312
313
|
)
|
|
313
314
|
}
|
|
314
315
|
) : null;
|
|
315
|
-
},
|
|
316
|
+
}, na = "https://srm-cdn.a4b.io/yoda/1774960543820.pdf", ia = ({
|
|
316
317
|
t: s,
|
|
317
|
-
pdfUrl: r =
|
|
318
|
+
pdfUrl: r = na,
|
|
318
319
|
analytics: n,
|
|
319
320
|
className: t = ""
|
|
320
321
|
}) => {
|
|
@@ -324,9 +325,9 @@ const ta = ({
|
|
|
324
325
|
n?.trackViewSampleReportClosed?.(), h(!1);
|
|
325
326
|
};
|
|
326
327
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
327
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${
|
|
328
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${Gs.button} ${t}`, onClick: u, children: d }),
|
|
328
329
|
/* @__PURE__ */ e.jsx(
|
|
329
|
-
|
|
330
|
+
ra,
|
|
330
331
|
{
|
|
331
332
|
isOpen: i,
|
|
332
333
|
onClose: j,
|
|
@@ -335,8 +336,8 @@ const ta = ({
|
|
|
335
336
|
}
|
|
336
337
|
)
|
|
337
338
|
] });
|
|
338
|
-
}, Q = "https://srm-cdn.a4b.io/yoda/1774515475813.svg",
|
|
339
|
-
function
|
|
339
|
+
}, Q = "https://srm-cdn.a4b.io/yoda/1774515475813.svg", ca = "https://srm-cdn.a4b.io/yoda/1774518174890.svg", oa = "https://srm-cdn.a4b.io/yoda/1774517877564.svg", la = "https://srm-cdn.a4b.io/yoda/1774517897009.svg", da = "https://srm-cdn.a4b.io/yoda/1774517906228.svg", ha = "https://srm-cdn.a4b.io/yoda/1774517914948.svg", ma = "https://srm-cdn.a4b.io/yoda/1774517924467.svg";
|
|
340
|
+
function K({
|
|
340
341
|
cardNumber: s,
|
|
341
342
|
cardTitle: r,
|
|
342
343
|
analytics: n,
|
|
@@ -359,7 +360,7 @@ function H({
|
|
|
359
360
|
return m.observe(d), () => m.disconnect();
|
|
360
361
|
}, [s, r, n]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
|
|
361
362
|
}
|
|
362
|
-
const
|
|
363
|
+
const pa = ({
|
|
363
364
|
t: s,
|
|
364
365
|
analytics: r,
|
|
365
366
|
className: n = ""
|
|
@@ -391,7 +392,7 @@ const ma = ({
|
|
|
391
392
|
/* @__PURE__ */ e.jsx("p", { className: a.subheading, children: s("sneakPeekSubheading") }),
|
|
392
393
|
/* @__PURE__ */ e.jsx("div", { className: a.carouselWrapper, children: /* @__PURE__ */ e.jsxs("div", { className: a.carousel, children: [
|
|
393
394
|
/* @__PURE__ */ e.jsx(
|
|
394
|
-
|
|
395
|
+
K,
|
|
395
396
|
{
|
|
396
397
|
cardNumber: 1,
|
|
397
398
|
cardTitle: s("sneakPeek1Title"),
|
|
@@ -431,7 +432,7 @@ const ma = ({
|
|
|
431
432
|
/* @__PURE__ */ e.jsx("div", { className: a.chevronIcon, children: /* @__PURE__ */ e.jsx(
|
|
432
433
|
"img",
|
|
433
434
|
{
|
|
434
|
-
src:
|
|
435
|
+
src: ca,
|
|
435
436
|
alt: "",
|
|
436
437
|
style: { width: "90%", margin: "auto" }
|
|
437
438
|
}
|
|
@@ -450,7 +451,7 @@ const ma = ({
|
|
|
450
451
|
}
|
|
451
452
|
),
|
|
452
453
|
/* @__PURE__ */ e.jsx(
|
|
453
|
-
|
|
454
|
+
K,
|
|
454
455
|
{
|
|
455
456
|
cardNumber: 2,
|
|
456
457
|
cardTitle: s("sneakPeek2Title"),
|
|
@@ -484,7 +485,7 @@ const ma = ({
|
|
|
484
485
|
}
|
|
485
486
|
),
|
|
486
487
|
/* @__PURE__ */ e.jsx(
|
|
487
|
-
|
|
488
|
+
K,
|
|
488
489
|
{
|
|
489
490
|
cardNumber: 3,
|
|
490
491
|
cardTitle: s("sneakPeek3Title"),
|
|
@@ -535,7 +536,7 @@ const ma = ({
|
|
|
535
536
|
}
|
|
536
537
|
),
|
|
537
538
|
/* @__PURE__ */ e.jsx(
|
|
538
|
-
|
|
539
|
+
K,
|
|
539
540
|
{
|
|
540
541
|
cardNumber: 4,
|
|
541
542
|
cardTitle: s("sneakPeek4Title"),
|
|
@@ -559,7 +560,7 @@ const ma = ({
|
|
|
559
560
|
/* @__PURE__ */ e.jsx(
|
|
560
561
|
"img",
|
|
561
562
|
{
|
|
562
|
-
src:
|
|
563
|
+
src: oa,
|
|
563
564
|
alt: "",
|
|
564
565
|
className: a.predictionIcon
|
|
565
566
|
}
|
|
@@ -570,7 +571,7 @@ const ma = ({
|
|
|
570
571
|
/* @__PURE__ */ e.jsx(
|
|
571
572
|
"img",
|
|
572
573
|
{
|
|
573
|
-
src:
|
|
574
|
+
src: la,
|
|
574
575
|
alt: "",
|
|
575
576
|
className: a.predictionIcon
|
|
576
577
|
}
|
|
@@ -581,7 +582,7 @@ const ma = ({
|
|
|
581
582
|
/* @__PURE__ */ e.jsx(
|
|
582
583
|
"img",
|
|
583
584
|
{
|
|
584
|
-
src:
|
|
585
|
+
src: da,
|
|
585
586
|
alt: "",
|
|
586
587
|
className: a.predictionIcon
|
|
587
588
|
}
|
|
@@ -592,7 +593,7 @@ const ma = ({
|
|
|
592
593
|
/* @__PURE__ */ e.jsx(
|
|
593
594
|
"img",
|
|
594
595
|
{
|
|
595
|
-
src:
|
|
596
|
+
src: ha,
|
|
596
597
|
alt: "",
|
|
597
598
|
className: a.predictionIcon
|
|
598
599
|
}
|
|
@@ -603,7 +604,7 @@ const ma = ({
|
|
|
603
604
|
/* @__PURE__ */ e.jsx(
|
|
604
605
|
"img",
|
|
605
606
|
{
|
|
606
|
-
src:
|
|
607
|
+
src: ma,
|
|
607
608
|
alt: "",
|
|
608
609
|
className: a.predictionIcon
|
|
609
610
|
}
|
|
@@ -617,36 +618,36 @@ const ma = ({
|
|
|
617
618
|
}
|
|
618
619
|
)
|
|
619
620
|
] }) }),
|
|
620
|
-
/* @__PURE__ */ e.jsx("div", { className: a.buttonContainer, children: /* @__PURE__ */ e.jsx(
|
|
621
|
-
] }),
|
|
622
|
-
testimonials:
|
|
623
|
-
heading:
|
|
624
|
-
subheading:
|
|
625
|
-
carouselWrapper:
|
|
626
|
-
carousel:
|
|
627
|
-
card:
|
|
628
|
-
cardActive:
|
|
629
|
-
cardContent:
|
|
630
|
-
header:
|
|
631
|
-
headerInfo:
|
|
632
|
-
avatar:
|
|
633
|
-
name:
|
|
634
|
-
rating:
|
|
635
|
-
starFilled:
|
|
636
|
-
starEmpty:
|
|
637
|
-
review:
|
|
638
|
-
statsBar:
|
|
639
|
-
stat:
|
|
640
|
-
statValue:
|
|
641
|
-
statLabel:
|
|
642
|
-
statDivider:
|
|
643
|
-
},
|
|
621
|
+
/* @__PURE__ */ e.jsx("div", { className: a.buttonContainer, children: /* @__PURE__ */ e.jsx(ia, { t: s, analytics: r }) })
|
|
622
|
+
] }), _a = "_testimonials_dcl7t_2", ua = "_heading_dcl7t_7", ga = "_subheading_dcl7t_20", xa = "_carouselWrapper_dcl7t_36", ba = "_carousel_dcl7t_36", fa = "_card_dcl7t_59", ja = "_cardActive_dcl7t_72", Na = "_cardContent_dcl7t_77", va = "_header_dcl7t_92", ya = "_headerInfo_dcl7t_99", Ia = "_avatar_dcl7t_105", wa = "_name_dcl7t_113", ka = "_rating_dcl7t_120", Ca = "_starFilled_dcl7t_124", Ta = "_starEmpty_dcl7t_129", Pa = "_review_dcl7t_134", La = "_statsBar_dcl7t_143", Ba = "_stat_dcl7t_143", Sa = "_statValue_dcl7t_164", Ra = "_statLabel_dcl7t_185", Da = "_statDivider_dcl7t_197", _ = {
|
|
623
|
+
testimonials: _a,
|
|
624
|
+
heading: ua,
|
|
625
|
+
subheading: ga,
|
|
626
|
+
carouselWrapper: xa,
|
|
627
|
+
carousel: ba,
|
|
628
|
+
card: fa,
|
|
629
|
+
cardActive: ja,
|
|
630
|
+
cardContent: Na,
|
|
631
|
+
header: va,
|
|
632
|
+
headerInfo: ya,
|
|
633
|
+
avatar: Ia,
|
|
634
|
+
name: wa,
|
|
635
|
+
rating: ka,
|
|
636
|
+
starFilled: Ca,
|
|
637
|
+
starEmpty: Ta,
|
|
638
|
+
review: Pa,
|
|
639
|
+
statsBar: La,
|
|
640
|
+
stat: Ba,
|
|
641
|
+
statValue: Sa,
|
|
642
|
+
statLabel: Ra,
|
|
643
|
+
statDivider: Da
|
|
644
|
+
}, $a = 3e4, Aa = ({
|
|
644
645
|
t: s,
|
|
645
646
|
testimonials: r,
|
|
646
647
|
className: n = "",
|
|
647
648
|
analytics: t
|
|
648
649
|
}) => {
|
|
649
|
-
const i = N(null), [h, d] = B(0), [m, u] = B(!1), j = N(null), y = N(!1), p = N(-1),
|
|
650
|
+
const i = N(null), [h, d] = B(0), [m, u] = B(!1), j = N(null), y = N(!1), p = N(-1), g = r || [
|
|
650
651
|
{
|
|
651
652
|
name: s("testimonial1Name"),
|
|
652
653
|
avatarUrl: s("testimonial1Avatar"),
|
|
@@ -695,12 +696,12 @@ const ma = ({
|
|
|
695
696
|
rating: 5,
|
|
696
697
|
review: s("testimonial8Review")
|
|
697
698
|
}
|
|
698
|
-
], k = [...
|
|
699
|
+
], k = [...g, ...g, ...g], I = g.length, T = I, P = (x, l = !0) => {
|
|
699
700
|
if (!i.current) return;
|
|
700
701
|
y.current = !0;
|
|
701
702
|
const f = i.current, W = f.children[0];
|
|
702
703
|
if (!W) return;
|
|
703
|
-
const F = W.offsetWidth, D =
|
|
704
|
+
const F = W.offsetWidth, D = x * (F + 16);
|
|
704
705
|
f.scrollTo({
|
|
705
706
|
left: D,
|
|
706
707
|
behavior: l ? "smooth" : "auto"
|
|
@@ -709,22 +710,22 @@ const ma = ({
|
|
|
709
710
|
}, l ? 700 : 50);
|
|
710
711
|
};
|
|
711
712
|
v(() => {
|
|
712
|
-
const
|
|
713
|
+
const x = setTimeout(() => {
|
|
713
714
|
d(T), P(T, !1);
|
|
714
715
|
}, 50);
|
|
715
|
-
return () => clearTimeout(
|
|
716
|
+
return () => clearTimeout(x);
|
|
716
717
|
}, [T]), v(() => () => {
|
|
717
718
|
j.current && clearTimeout(j.current);
|
|
718
719
|
}, []), v(() => {
|
|
719
720
|
if (m) return;
|
|
720
|
-
const
|
|
721
|
+
const x = setInterval(() => {
|
|
721
722
|
d((l) => l + 1);
|
|
722
|
-
},
|
|
723
|
-
return () => clearInterval(
|
|
723
|
+
}, $a);
|
|
724
|
+
return () => clearInterval(x);
|
|
724
725
|
}, [m]), v(() => {
|
|
725
726
|
if (!i.current || h === 0) return;
|
|
726
727
|
P(h, !0);
|
|
727
|
-
const
|
|
728
|
+
const x = setTimeout(() => {
|
|
728
729
|
if (i.current) {
|
|
729
730
|
if (h >= I * 2) {
|
|
730
731
|
const l = h - I;
|
|
@@ -735,12 +736,12 @@ const ma = ({
|
|
|
735
736
|
}
|
|
736
737
|
}
|
|
737
738
|
}, 700);
|
|
738
|
-
return () => clearTimeout(
|
|
739
|
+
return () => clearTimeout(x);
|
|
739
740
|
}, [h, I]);
|
|
740
741
|
const S = () => {
|
|
741
742
|
!i.current || y.current || (j.current && clearTimeout(j.current), j.current = setTimeout(() => {
|
|
742
743
|
if (!i.current || y.current) return;
|
|
743
|
-
const
|
|
744
|
+
const x = i.current, l = x.scrollLeft, f = x.children[0];
|
|
744
745
|
if (!f) return;
|
|
745
746
|
const W = f.offsetWidth, R = Math.round(l / (W + 16));
|
|
746
747
|
if (R !== h && R >= 0 && R < k.length) {
|
|
@@ -748,15 +749,15 @@ const ma = ({
|
|
|
748
749
|
const D = R % I;
|
|
749
750
|
p.current !== D && t?.trackTestimonialScrolled && (p.current = D, t.trackTestimonialScrolled({
|
|
750
751
|
reviewIndex: D,
|
|
751
|
-
reviewerName:
|
|
752
|
+
reviewerName: g[D]?.name || "",
|
|
752
753
|
isManualScroll: !0
|
|
753
754
|
}));
|
|
754
755
|
}
|
|
755
756
|
}, 100));
|
|
756
|
-
}, E = (
|
|
757
|
+
}, E = (x) => Array.from({ length: 5 }, (l, f) => /* @__PURE__ */ e.jsx(
|
|
757
758
|
"span",
|
|
758
759
|
{
|
|
759
|
-
className: f <
|
|
760
|
+
className: f < x ? _.starFilled : _.starEmpty,
|
|
760
761
|
children: "★"
|
|
761
762
|
},
|
|
762
763
|
f
|
|
@@ -778,7 +779,7 @@ const ma = ({
|
|
|
778
779
|
ref: i,
|
|
779
780
|
className: _.carousel,
|
|
780
781
|
onScroll: S,
|
|
781
|
-
children: k.map((
|
|
782
|
+
children: k.map((x, l) => {
|
|
782
783
|
const f = l === h;
|
|
783
784
|
return /* @__PURE__ */ e.jsx(
|
|
784
785
|
"div",
|
|
@@ -789,17 +790,17 @@ const ma = ({
|
|
|
789
790
|
/* @__PURE__ */ e.jsx(
|
|
790
791
|
"img",
|
|
791
792
|
{
|
|
792
|
-
src:
|
|
793
|
-
alt:
|
|
793
|
+
src: x.avatarUrl,
|
|
794
|
+
alt: x.name,
|
|
794
795
|
className: _.avatar
|
|
795
796
|
}
|
|
796
797
|
),
|
|
797
798
|
/* @__PURE__ */ e.jsxs("div", { className: _.headerInfo, children: [
|
|
798
|
-
/* @__PURE__ */ e.jsx("h3", { className: _.name, children:
|
|
799
|
-
/* @__PURE__ */ e.jsx("div", { className: _.rating, children: E(
|
|
799
|
+
/* @__PURE__ */ e.jsx("h3", { className: _.name, children: x.name }),
|
|
800
|
+
/* @__PURE__ */ e.jsx("div", { className: _.rating, children: E(x.rating) })
|
|
800
801
|
] })
|
|
801
802
|
] }),
|
|
802
|
-
/* @__PURE__ */ e.jsx("p", { className: _.review, children:
|
|
803
|
+
/* @__PURE__ */ e.jsx("p", { className: _.review, children: x.review })
|
|
803
804
|
] })
|
|
804
805
|
},
|
|
805
806
|
l
|
|
@@ -826,20 +827,20 @@ const ma = ({
|
|
|
826
827
|
] })
|
|
827
828
|
] })
|
|
828
829
|
] });
|
|
829
|
-
},
|
|
830
|
-
benefits:
|
|
831
|
-
heading:
|
|
832
|
-
subheading:
|
|
833
|
-
grid:
|
|
834
|
-
card:
|
|
835
|
-
icon:
|
|
836
|
-
cardTitle:
|
|
830
|
+
}, Oa = "_benefits_1w6i0_1", Ea = "_heading_1w6i0_6", Ma = "_subheading_1w6i0_19", Wa = "_grid_1w6i0_36", Ua = "_card_1w6i0_54", Fa = "_icon_1w6i0_76", Ha = "_cardTitle_1w6i0_86", Ka = "_cardDescription_1w6i0_100", Va = "_cardRed_1w6i0_113", Ga = "_cardBlue_1w6i0_117", qa = "_cardPurple_1w6i0_121", Ya = "_cardOrange_1w6i0_125", b = {
|
|
831
|
+
benefits: Oa,
|
|
832
|
+
heading: Ea,
|
|
833
|
+
subheading: Ma,
|
|
834
|
+
grid: Wa,
|
|
835
|
+
card: Ua,
|
|
836
|
+
icon: Fa,
|
|
837
|
+
cardTitle: Ha,
|
|
837
838
|
cardDescription: Ka,
|
|
838
|
-
cardRed:
|
|
839
|
-
cardBlue:
|
|
840
|
-
cardPurple:
|
|
841
|
-
cardOrange:
|
|
842
|
-
}, V = "https://srm-cdn.a4b.io/yoda/1774526823534.svg",
|
|
839
|
+
cardRed: Va,
|
|
840
|
+
cardBlue: Ga,
|
|
841
|
+
cardPurple: qa,
|
|
842
|
+
cardOrange: Ya
|
|
843
|
+
}, V = "https://srm-cdn.a4b.io/yoda/1774526823534.svg", za = ({
|
|
843
844
|
t: s,
|
|
844
845
|
className: r = ""
|
|
845
846
|
}) => /* @__PURE__ */ e.jsxs("section", { className: `${b.benefits} ${r}`, children: [
|
|
@@ -867,14 +868,14 @@ const ma = ({
|
|
|
867
868
|
/* @__PURE__ */ e.jsx("p", { className: b.cardDescription, children: s("benefit4Description") })
|
|
868
869
|
] })
|
|
869
870
|
] })
|
|
870
|
-
] }),
|
|
871
|
-
section:
|
|
872
|
-
heading:
|
|
873
|
-
subtitle:
|
|
874
|
-
list:
|
|
875
|
-
item:
|
|
876
|
-
starIcon:
|
|
877
|
-
},
|
|
871
|
+
] }), Qa = "_section_tlutk_1", Ja = "_heading_tlutk_6", Xa = "_subtitle_tlutk_11", Za = "_list_tlutk_15", et = "_item_tlutk_19", st = "_starIcon_tlutk_23", U = {
|
|
872
|
+
section: Qa,
|
|
873
|
+
heading: Ja,
|
|
874
|
+
subtitle: Xa,
|
|
875
|
+
list: Za,
|
|
876
|
+
item: et,
|
|
877
|
+
starIcon: st
|
|
878
|
+
}, at = "https://srm-cdn.a4b.io/yoda/1774547096025.svg", tt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], rt = ({
|
|
878
879
|
t: s,
|
|
879
880
|
className: r = ""
|
|
880
881
|
}) => /* @__PURE__ */ e.jsxs(
|
|
@@ -885,11 +886,11 @@ const ma = ({
|
|
|
885
886
|
children: [
|
|
886
887
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: U.heading, children: s("whyUsTitle") }),
|
|
887
888
|
/* @__PURE__ */ e.jsx("p", { className: U.subtitle, children: s("whyUsSubtitle") }),
|
|
888
|
-
/* @__PURE__ */ e.jsx("ul", { className: U.list, children:
|
|
889
|
+
/* @__PURE__ */ e.jsx("ul", { className: U.list, children: tt.map((n) => /* @__PURE__ */ e.jsxs("li", { className: U.item, children: [
|
|
889
890
|
/* @__PURE__ */ e.jsx(
|
|
890
891
|
"img",
|
|
891
892
|
{
|
|
892
|
-
src:
|
|
893
|
+
src: at,
|
|
893
894
|
alt: "",
|
|
894
895
|
className: U.starIcon,
|
|
895
896
|
width: 16,
|
|
@@ -901,15 +902,15 @@ const ma = ({
|
|
|
901
902
|
] }, n)) })
|
|
902
903
|
]
|
|
903
904
|
}
|
|
904
|
-
),
|
|
905
|
-
section:
|
|
906
|
-
headingBold:
|
|
907
|
-
},
|
|
905
|
+
), nt = "_section_tvhc5_1", it = "_headingBold_tvhc5_5", J = {
|
|
906
|
+
section: nt,
|
|
907
|
+
headingBold: it
|
|
908
|
+
}, ct = [
|
|
908
909
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
909
910
|
{ qKey: "faqQ2", aKey: "faqA2" },
|
|
910
911
|
{ qKey: "faqQ3", aKey: "faqA3" },
|
|
911
912
|
{ qKey: "faqQ4", aKey: "faqA4" }
|
|
912
|
-
],
|
|
913
|
+
], ot = ({
|
|
913
914
|
t: s,
|
|
914
915
|
className: r = "",
|
|
915
916
|
headingClassName: n = J.headingBold
|
|
@@ -917,17 +918,17 @@ const ma = ({
|
|
|
917
918
|
pe,
|
|
918
919
|
{
|
|
919
920
|
t: s,
|
|
920
|
-
items:
|
|
921
|
+
items: ct,
|
|
921
922
|
defaultOpenIndex: 2,
|
|
922
923
|
className: r,
|
|
923
924
|
headingClassName: n
|
|
924
925
|
}
|
|
925
|
-
) }),
|
|
926
|
-
ctaIncomplete:
|
|
927
|
-
ctaCompleted:
|
|
928
|
-
ctaWithArrow:
|
|
929
|
-
chevronRight:
|
|
930
|
-
},
|
|
926
|
+
) }), lt = "_ctaIncomplete_s0fgg_1", dt = "_ctaCompleted_s0fgg_19", ht = "_ctaWithArrow_s0fgg_45", mt = "_chevronRight_s0fgg_54", G = {
|
|
927
|
+
ctaIncomplete: lt,
|
|
928
|
+
ctaCompleted: dt,
|
|
929
|
+
ctaWithArrow: ht,
|
|
930
|
+
chevronRight: mt
|
|
931
|
+
}, pt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", _t = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ut = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", gt = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", xt = ({ t: s }) => /* @__PURE__ */ e.jsxs(
|
|
931
932
|
"div",
|
|
932
933
|
{
|
|
933
934
|
className: M.marqueeContent,
|
|
@@ -936,7 +937,7 @@ const ma = ({
|
|
|
936
937
|
/* @__PURE__ */ e.jsx(
|
|
937
938
|
"img",
|
|
938
939
|
{
|
|
939
|
-
src:
|
|
940
|
+
src: pt,
|
|
940
941
|
alt: "",
|
|
941
942
|
className: M.badgeIcon,
|
|
942
943
|
width: 16,
|
|
@@ -950,7 +951,7 @@ const ma = ({
|
|
|
950
951
|
/* @__PURE__ */ e.jsx(
|
|
951
952
|
"img",
|
|
952
953
|
{
|
|
953
|
-
src:
|
|
954
|
+
src: _t,
|
|
954
955
|
alt: "",
|
|
955
956
|
className: M.badgeIcon,
|
|
956
957
|
width: 16,
|
|
@@ -964,7 +965,7 @@ const ma = ({
|
|
|
964
965
|
/* @__PURE__ */ e.jsx(
|
|
965
966
|
"img",
|
|
966
967
|
{
|
|
967
|
-
src:
|
|
968
|
+
src: ut,
|
|
968
969
|
alt: "",
|
|
969
970
|
className: M.badgeIcon,
|
|
970
971
|
width: 16,
|
|
@@ -976,7 +977,7 @@ const ma = ({
|
|
|
976
977
|
] })
|
|
977
978
|
]
|
|
978
979
|
}
|
|
979
|
-
),
|
|
980
|
+
), bt = (s) => /.+@.+\..+/.test(s), ft = (s) => /^\d{10}$/.test(s), jt = (s, r = !1) => !s.boy.fullName || s.boy.fullName.trim() === "" ? "boy.fullName" : !s.boy.dateOfBirth || s.boy.dateOfBirth.trim() === "" ? "boy.dateOfBirth" : !s.boy.birthTimeUnknown && (!s.boy.birthTime || s.boy.birthTime.trim() === "") ? "boy.birthTime" : !s.boy.birthPlace || s.boy.birthPlace.trim() === "" ? "boy.birthPlace" : !s.girl.fullName || s.girl.fullName.trim() === "" ? "girl.fullName" : !s.girl.dateOfBirth || s.girl.dateOfBirth.trim() === "" ? "girl.dateOfBirth" : !s.girl.birthTimeUnknown && (!s.girl.birthTime || s.girl.birthTime.trim() === "") ? "girl.birthTime" : !s.girl.birthPlace || s.girl.birthPlace.trim() === "" ? "girl.birthPlace" : !r && (!s.phone || !ft(s.phone)) ? "phone" : r && (!s.email || !bt(s.email)) ? "email" : !s.reportLanguage || s.reportLanguage.trim() === "" ? "reportLanguage" : null, Nt = ({
|
|
980
981
|
t: s,
|
|
981
982
|
values: r,
|
|
982
983
|
onProceed: n,
|
|
@@ -985,7 +986,7 @@ const ma = ({
|
|
|
985
986
|
className: h = ""
|
|
986
987
|
}) => {
|
|
987
988
|
const d = he(
|
|
988
|
-
() =>
|
|
989
|
+
() => jt(r, t),
|
|
989
990
|
[r, t]
|
|
990
991
|
), m = d === null, u = (j) => {
|
|
991
992
|
if (j.preventDefault(), i?.trackKundliMatchingL0CtaClick?.({
|
|
@@ -1005,15 +1006,15 @@ const ma = ({
|
|
|
1005
1006
|
phone: "kundli-matching-phone",
|
|
1006
1007
|
email: "kundli-matching-email",
|
|
1007
1008
|
reportLanguage: "language-selector"
|
|
1008
|
-
}[d],
|
|
1009
|
-
|
|
1009
|
+
}[d], g = document.getElementById(p);
|
|
1010
|
+
g && (g.scrollIntoView({ behavior: "smooth", block: "center" }), (g.tagName === "INPUT" || g.tagName === "TEXTAREA") && setTimeout(() => g.focus(), 500));
|
|
1010
1011
|
}
|
|
1011
1012
|
return;
|
|
1012
1013
|
}
|
|
1013
1014
|
n();
|
|
1014
1015
|
};
|
|
1015
1016
|
return /* @__PURE__ */ e.jsxs(_e, { className: h, children: [
|
|
1016
|
-
/* @__PURE__ */ e.jsx(ue, { children: /* @__PURE__ */ e.jsx(
|
|
1017
|
+
/* @__PURE__ */ e.jsx(ue, { children: /* @__PURE__ */ e.jsx(xt, { t: s }) }),
|
|
1017
1018
|
/* @__PURE__ */ e.jsx(
|
|
1018
1019
|
ge,
|
|
1019
1020
|
{
|
|
@@ -1024,7 +1025,7 @@ const ma = ({
|
|
|
1024
1025
|
/* @__PURE__ */ e.jsx(
|
|
1025
1026
|
"img",
|
|
1026
1027
|
{
|
|
1027
|
-
src:
|
|
1028
|
+
src: gt,
|
|
1028
1029
|
alt: "",
|
|
1029
1030
|
className: G.chevronRight,
|
|
1030
1031
|
width: 20,
|
|
@@ -1036,7 +1037,7 @@ const ma = ({
|
|
|
1036
1037
|
}
|
|
1037
1038
|
)
|
|
1038
1039
|
] });
|
|
1039
|
-
},
|
|
1040
|
+
}, vt = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
1040
1041
|
"path",
|
|
1041
1042
|
{
|
|
1042
1043
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -1045,7 +1046,7 @@ const ma = ({
|
|
|
1045
1046
|
strokeLinecap: "round",
|
|
1046
1047
|
strokeLinejoin: "round"
|
|
1047
1048
|
}
|
|
1048
|
-
) }),
|
|
1049
|
+
) }), yt = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
1049
1050
|
"path",
|
|
1050
1051
|
{
|
|
1051
1052
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -1053,52 +1054,52 @@ const ma = ({
|
|
|
1053
1054
|
strokeWidth: "1.8",
|
|
1054
1055
|
strokeLinecap: "round"
|
|
1055
1056
|
}
|
|
1056
|
-
) }),
|
|
1057
|
+
) }), It = () => /* @__PURE__ */ e.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M15 18l-6-6 6-6" }) }), wt = () => /* @__PURE__ */ e.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
1057
1058
|
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
1058
1059
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1059
|
-
] }),
|
|
1060
|
-
overlay:
|
|
1061
|
-
sheet:
|
|
1062
|
-
header:
|
|
1063
|
-
backBtn:
|
|
1064
|
-
title:
|
|
1065
|
-
plansContainer:
|
|
1066
|
-
planCard:
|
|
1067
|
-
withBadgeSpacing:
|
|
1068
|
-
planCardSelected:
|
|
1069
|
-
planCardPopular:
|
|
1070
|
-
popularBadge:
|
|
1071
|
-
planCardInner:
|
|
1072
|
-
planTitleRow:
|
|
1073
|
-
planTitle:
|
|
1074
|
-
radioCircle:
|
|
1075
|
-
radioChecked:
|
|
1076
|
-
radioInner:
|
|
1077
|
-
priceRow:
|
|
1060
|
+
] }), kt = "_overlay_1b9s5_2", Ct = "_sheet_1b9s5_12", Tt = "_header_1b9s5_36", Pt = "_backBtn_1b9s5_48", Lt = "_title_1b9s5_66", Bt = "_plansContainer_1b9s5_78", St = "_planCard_1b9s5_87", Rt = "_withBadgeSpacing_1b9s5_101", Dt = "_planCardSelected_1b9s5_105", $t = "_planCardPopular_1b9s5_110", At = "_popularBadge_1b9s5_119", Ot = "_planCardInner_1b9s5_137", Et = "_planTitleRow_1b9s5_142", Mt = "_planTitle_1b9s5_142", Wt = "_radioCircle_1b9s5_157", Ut = "_radioChecked_1b9s5_170", Ft = "_radioInner_1b9s5_175", Ht = "_priceRow_1b9s5_183", Kt = "_price_1b9s5_183", Vt = "_originalPrice_1b9s5_196", Gt = "_savingsBadge_1b9s5_203", qt = "_featureList_1b9s5_213", Yt = "_featureItem_1b9s5_222", zt = "_featureIcon_1b9s5_228", Qt = "_featureText_1b9s5_234", Jt = "_astrologerHeading_1b9s5_241", Xt = "_astrologerList_1b9s5_248", Zt = "_astrologerCard_1b9s5_262", er = "_astrologerAvatar_1b9s5_276", sr = "_astrologerAvatarPlaceholder_1b9s5_293", ar = "_astrologerTop_1b9s5_299", tr = "_astrologerBasicInfo_1b9s5_305", rr = "_astrologerName_1b9s5_312", nr = "_astrologerExp_1b9s5_321", ir = "_astrologerDivider_1b9s5_327", cr = "_planDivider_1b9s5_333", or = "_astrologerCertList_1b9s5_340", lr = "_astrologerCertItem_1b9s5_346", dr = "_bullet_1b9s5_354", hr = "_footer_1b9s5_359", mr = "_proceedBtn_1b9s5_369", o = {
|
|
1061
|
+
overlay: kt,
|
|
1062
|
+
sheet: Ct,
|
|
1063
|
+
header: Tt,
|
|
1064
|
+
backBtn: Pt,
|
|
1065
|
+
title: Lt,
|
|
1066
|
+
plansContainer: Bt,
|
|
1067
|
+
planCard: St,
|
|
1068
|
+
withBadgeSpacing: Rt,
|
|
1069
|
+
planCardSelected: Dt,
|
|
1070
|
+
planCardPopular: $t,
|
|
1071
|
+
popularBadge: At,
|
|
1072
|
+
planCardInner: Ot,
|
|
1073
|
+
planTitleRow: Et,
|
|
1074
|
+
planTitle: Mt,
|
|
1075
|
+
radioCircle: Wt,
|
|
1076
|
+
radioChecked: Ut,
|
|
1077
|
+
radioInner: Ft,
|
|
1078
|
+
priceRow: Ht,
|
|
1078
1079
|
price: Kt,
|
|
1079
|
-
originalPrice:
|
|
1080
|
-
savingsBadge:
|
|
1081
|
-
featureList:
|
|
1082
|
-
featureItem:
|
|
1083
|
-
featureIcon:
|
|
1084
|
-
featureText:
|
|
1085
|
-
astrologerHeading:
|
|
1086
|
-
astrologerList:
|
|
1087
|
-
astrologerCard:
|
|
1088
|
-
astrologerAvatar:
|
|
1089
|
-
astrologerAvatarPlaceholder:
|
|
1090
|
-
astrologerTop:
|
|
1091
|
-
astrologerBasicInfo:
|
|
1092
|
-
astrologerName:
|
|
1093
|
-
astrologerExp:
|
|
1094
|
-
astrologerDivider:
|
|
1095
|
-
planDivider:
|
|
1096
|
-
astrologerCertList:
|
|
1097
|
-
astrologerCertItem:
|
|
1098
|
-
bullet:
|
|
1099
|
-
footer:
|
|
1100
|
-
proceedBtn:
|
|
1101
|
-
},
|
|
1080
|
+
originalPrice: Vt,
|
|
1081
|
+
savingsBadge: Gt,
|
|
1082
|
+
featureList: qt,
|
|
1083
|
+
featureItem: Yt,
|
|
1084
|
+
featureIcon: zt,
|
|
1085
|
+
featureText: Qt,
|
|
1086
|
+
astrologerHeading: Jt,
|
|
1087
|
+
astrologerList: Xt,
|
|
1088
|
+
astrologerCard: Zt,
|
|
1089
|
+
astrologerAvatar: er,
|
|
1090
|
+
astrologerAvatarPlaceholder: sr,
|
|
1091
|
+
astrologerTop: ar,
|
|
1092
|
+
astrologerBasicInfo: tr,
|
|
1093
|
+
astrologerName: rr,
|
|
1094
|
+
astrologerExp: nr,
|
|
1095
|
+
astrologerDivider: ir,
|
|
1096
|
+
planDivider: cr,
|
|
1097
|
+
astrologerCertList: or,
|
|
1098
|
+
astrologerCertItem: lr,
|
|
1099
|
+
bullet: dr,
|
|
1100
|
+
footer: hr,
|
|
1101
|
+
proceedBtn: mr
|
|
1102
|
+
}, pr = ({ title: s, onBack: r }) => /* @__PURE__ */ e.jsxs("div", { className: o.header, children: [
|
|
1102
1103
|
/* @__PURE__ */ e.jsx(
|
|
1103
1104
|
"button",
|
|
1104
1105
|
{
|
|
@@ -1106,14 +1107,14 @@ const ma = ({
|
|
|
1106
1107
|
onClick: r,
|
|
1107
1108
|
"aria-label": "Go back",
|
|
1108
1109
|
type: "button",
|
|
1109
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1110
|
+
children: /* @__PURE__ */ e.jsx(It, {})
|
|
1110
1111
|
}
|
|
1111
1112
|
),
|
|
1112
1113
|
/* @__PURE__ */ e.jsx("h2", { className: o.title, children: s })
|
|
1113
|
-
] }),
|
|
1114
|
-
/* @__PURE__ */ e.jsx("span", { className: o.featureIcon, children: n.included ? /* @__PURE__ */ e.jsx(
|
|
1114
|
+
] }), _r = ({ features: s, t: r }) => /* @__PURE__ */ e.jsx("ul", { className: o.featureList, "aria-label": "Plan features", children: s.map((n, t) => /* @__PURE__ */ e.jsxs("li", { className: o.featureItem, children: [
|
|
1115
|
+
/* @__PURE__ */ e.jsx("span", { className: o.featureIcon, children: n.included ? /* @__PURE__ */ e.jsx(vt, {}) : /* @__PURE__ */ e.jsx(yt, {}) }),
|
|
1115
1116
|
/* @__PURE__ */ e.jsx("span", { className: o.featureText, children: r?.(n.text) ?? n.text })
|
|
1116
|
-
] }, t)) }),
|
|
1117
|
+
] }, t)) }), ur = ({ astrologer: s }) => /* @__PURE__ */ e.jsxs("div", { className: o.astrologerCard, children: [
|
|
1117
1118
|
/* @__PURE__ */ e.jsxs("div", { className: o.astrologerTop, children: [
|
|
1118
1119
|
/* @__PURE__ */ e.jsx("div", { className: o.astrologerAvatar, "aria-hidden": !0, children: s.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: s.imageUrl, alt: s.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: o.astrologerAvatarPlaceholder, children: s.name.charAt(0) }) }),
|
|
1119
1120
|
/* @__PURE__ */ e.jsxs("div", { className: o.astrologerBasicInfo, children: [
|
|
@@ -1127,10 +1128,10 @@ const ma = ({
|
|
|
1127
1128
|
" ",
|
|
1128
1129
|
r
|
|
1129
1130
|
] }, n)) })
|
|
1130
|
-
] }),
|
|
1131
|
-
/* @__PURE__ */ e.jsx(
|
|
1131
|
+
] }), gr = ({ label: s }) => /* @__PURE__ */ e.jsxs("div", { className: o.popularBadge, "aria-label": s, children: [
|
|
1132
|
+
/* @__PURE__ */ e.jsx(wt, {}),
|
|
1132
1133
|
/* @__PURE__ */ e.jsx("span", { children: s })
|
|
1133
|
-
] }),
|
|
1134
|
+
] }), xr = ({ plan: s, isSelected: r, onSelect: n, t }) => {
|
|
1134
1135
|
const i = () => n(s.id), h = (d) => {
|
|
1135
1136
|
(d.key === " " || d.key === "Enter") && (d.preventDefault(), n(s.id));
|
|
1136
1137
|
};
|
|
@@ -1149,7 +1150,7 @@ const ma = ({
|
|
|
1149
1150
|
onKeyDown: h,
|
|
1150
1151
|
"data-plan-id": s.id,
|
|
1151
1152
|
children: [
|
|
1152
|
-
s.badge && /* @__PURE__ */ e.jsx(
|
|
1153
|
+
s.badge && /* @__PURE__ */ e.jsx(gr, { label: s.badge }),
|
|
1153
1154
|
/* @__PURE__ */ e.jsxs("div", { className: o.planCardInner, children: [
|
|
1154
1155
|
/* @__PURE__ */ e.jsxs("div", { className: `${o.planTitleRow} ${s.badge ? o.withBadgeSpacing : ""}`, children: [
|
|
1155
1156
|
/* @__PURE__ */ e.jsx("span", { className: o.planTitle, children: s.title }),
|
|
@@ -1167,17 +1168,17 @@ const ma = ({
|
|
|
1167
1168
|
s.originalPrice && /* @__PURE__ */ e.jsx("span", { className: o.originalPrice, children: s.originalPrice }),
|
|
1168
1169
|
s.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: o.savingsBadge, children: s.savingsLabel })
|
|
1169
1170
|
] }),
|
|
1170
|
-
/* @__PURE__ */ e.jsx(
|
|
1171
|
+
/* @__PURE__ */ e.jsx(_r, { features: s.features, t }),
|
|
1171
1172
|
s.astrologers && /* @__PURE__ */ e.jsx("div", { className: o.planDivider }),
|
|
1172
1173
|
s.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1173
1174
|
/* @__PURE__ */ e.jsx("p", { className: o.astrologerHeading, children: "We will assign you a top astrologer from below" }),
|
|
1174
|
-
/* @__PURE__ */ e.jsx("div", { className: o.astrologerList, role: "list", children: s.astrologers.map((d, m) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(
|
|
1175
|
+
/* @__PURE__ */ e.jsx("div", { className: o.astrologerList, role: "list", children: s.astrologers.map((d, m) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ur, { astrologer: d, t }) }, m)) })
|
|
1175
1176
|
] })
|
|
1176
1177
|
] })
|
|
1177
1178
|
]
|
|
1178
1179
|
}
|
|
1179
1180
|
);
|
|
1180
|
-
},
|
|
1181
|
+
}, br = [
|
|
1181
1182
|
{
|
|
1182
1183
|
id: "jyoti",
|
|
1183
1184
|
name: "Jyoti Acharya Neeraj",
|
|
@@ -1208,7 +1209,7 @@ const ma = ({
|
|
|
1208
1209
|
"Mantra & Rudraksha Specialist"
|
|
1209
1210
|
]
|
|
1210
1211
|
}
|
|
1211
|
-
],
|
|
1212
|
+
], fr = (s = !1) => [
|
|
1212
1213
|
{
|
|
1213
1214
|
id: "matching-report",
|
|
1214
1215
|
title: "Kundli Matching Report",
|
|
@@ -1236,9 +1237,9 @@ const ma = ({
|
|
|
1236
1237
|
{ text: "Discuss doshas, future possibilities, family concerns, and compatibility", included: !0 },
|
|
1237
1238
|
{ text: "Get direct answers, custom remedies & real-time clarity", included: !0 }
|
|
1238
1239
|
],
|
|
1239
|
-
astrologers:
|
|
1240
|
+
astrologers: br
|
|
1240
1241
|
}
|
|
1241
|
-
],
|
|
1242
|
+
], jr = ({
|
|
1242
1243
|
isOpen: s,
|
|
1243
1244
|
onClose: r,
|
|
1244
1245
|
selectedPlan: n,
|
|
@@ -1248,61 +1249,64 @@ const ma = ({
|
|
|
1248
1249
|
isGlobal: d = !1,
|
|
1249
1250
|
t: m
|
|
1250
1251
|
}) => {
|
|
1251
|
-
const u = i ??
|
|
1252
|
+
const u = i ?? fr(d), j = n?.id || u.find((p) => p.badge)?.id || u[0]?.id || "", y = N(null);
|
|
1252
1253
|
return v(() => {
|
|
1253
1254
|
if (s && !n) {
|
|
1254
|
-
const p = u.find((
|
|
1255
|
+
const p = u.find((g) => g.badge) ?? u[0];
|
|
1255
1256
|
p && t(p);
|
|
1256
1257
|
}
|
|
1257
1258
|
}, [s, u, n, t]), v(() => {
|
|
1258
1259
|
if (!s) return;
|
|
1259
|
-
const p = document.body.style.overflow;
|
|
1260
|
-
return document.body.style.overflow = "hidden", () => {
|
|
1261
|
-
document.body.style.overflow = p;
|
|
1260
|
+
const p = document.body.style.overflow, g = document.documentElement.style.overflow;
|
|
1261
|
+
return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
|
|
1262
|
+
document.body.style.overflow = p, document.documentElement.style.overflow = g;
|
|
1262
1263
|
};
|
|
1263
|
-
}, [s]), s ?
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
/* @__PURE__ */ e.
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
),
|
|
1278
|
-
/* @__PURE__ */ e.jsx("div", { className: o.plansContainer, role: "radiogroup", "aria-label": "Kundli matching plans", children: u.map((p) => /* @__PURE__ */ e.jsx(
|
|
1279
|
-
gr,
|
|
1280
|
-
{
|
|
1281
|
-
plan: p,
|
|
1282
|
-
isSelected: p.id === j,
|
|
1283
|
-
t: m,
|
|
1284
|
-
onSelect: (x) => {
|
|
1285
|
-
const k = u.find((I) => I.id === x);
|
|
1286
|
-
k && t(k);
|
|
1264
|
+
}, [s]), s ? xe(
|
|
1265
|
+
/* @__PURE__ */ e.jsx(
|
|
1266
|
+
"div",
|
|
1267
|
+
{
|
|
1268
|
+
className: o.overlay,
|
|
1269
|
+
role: "dialog",
|
|
1270
|
+
"aria-modal": "true",
|
|
1271
|
+
"aria-label": m?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
1272
|
+
children: /* @__PURE__ */ e.jsxs("div", { ref: y, className: o.sheet, children: [
|
|
1273
|
+
/* @__PURE__ */ e.jsx(
|
|
1274
|
+
pr,
|
|
1275
|
+
{
|
|
1276
|
+
title: m?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
1277
|
+
onBack: r
|
|
1287
1278
|
}
|
|
1288
|
-
|
|
1289
|
-
p.
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1279
|
+
),
|
|
1280
|
+
/* @__PURE__ */ e.jsx("div", { className: o.plansContainer, role: "radiogroup", "aria-label": "Kundli matching plans", children: u.map((p) => /* @__PURE__ */ e.jsx(
|
|
1281
|
+
xr,
|
|
1282
|
+
{
|
|
1283
|
+
plan: p,
|
|
1284
|
+
isSelected: p.id === j,
|
|
1285
|
+
t: m,
|
|
1286
|
+
onSelect: (g) => {
|
|
1287
|
+
const k = u.find((I) => I.id === g);
|
|
1288
|
+
k && t(k);
|
|
1289
|
+
}
|
|
1298
1290
|
},
|
|
1299
|
-
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1291
|
+
p.id
|
|
1292
|
+
)) }),
|
|
1293
|
+
/* @__PURE__ */ e.jsx("div", { className: o.footer, children: /* @__PURE__ */ e.jsx(
|
|
1294
|
+
"button",
|
|
1295
|
+
{
|
|
1296
|
+
className: o.proceedBtn,
|
|
1297
|
+
disabled: !n,
|
|
1298
|
+
onClick: () => {
|
|
1299
|
+
n && (h(n), r());
|
|
1300
|
+
},
|
|
1301
|
+
children: n ? "Proceed to Payment" : "Select a plan"
|
|
1302
|
+
}
|
|
1303
|
+
) })
|
|
1304
|
+
] })
|
|
1305
|
+
}
|
|
1306
|
+
),
|
|
1307
|
+
document.body
|
|
1304
1308
|
) : null;
|
|
1305
|
-
},
|
|
1309
|
+
}, Nr = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", vr = 120, yr = (s, r) => de[s]?.[r] ?? r, Ir = (s, r) => s && q.includes(s) ? s : r ? "+1" : "+91";
|
|
1306
1310
|
function O({
|
|
1307
1311
|
section: s,
|
|
1308
1312
|
onImpression: r,
|
|
@@ -1319,13 +1323,13 @@ function O({
|
|
|
1319
1323
|
{
|
|
1320
1324
|
threshold: 0.1,
|
|
1321
1325
|
// Shrink bottom of viewport by CTA footer height
|
|
1322
|
-
rootMargin: `0px 0px -${
|
|
1326
|
+
rootMargin: `0px 0px -${vr}px 0px`
|
|
1323
1327
|
}
|
|
1324
1328
|
);
|
|
1325
1329
|
return d.observe(h), () => d.disconnect();
|
|
1326
1330
|
}, [s, r]), /* @__PURE__ */ e.jsx("div", { ref: t, children: n });
|
|
1327
1331
|
}
|
|
1328
|
-
const
|
|
1332
|
+
const Lr = ({
|
|
1329
1333
|
className: s = "",
|
|
1330
1334
|
locale: r,
|
|
1331
1335
|
showLanguageSelector: n = !0,
|
|
@@ -1350,19 +1354,19 @@ const Tr = ({
|
|
|
1350
1354
|
onLocaleChange: u,
|
|
1351
1355
|
initialFormValues: j,
|
|
1352
1356
|
autoOpenPlanSheet: y,
|
|
1353
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1357
|
+
children: /* @__PURE__ */ e.jsx(wr, { className: s })
|
|
1354
1358
|
}
|
|
1355
1359
|
);
|
|
1356
|
-
function
|
|
1360
|
+
function wr({ className: s }) {
|
|
1357
1361
|
const { locale: r, setLocale: n, config: t, formValues: i, setFormValues: h } = ce(), [d, m] = B(!1), [u, j] = B(
|
|
1358
1362
|
null
|
|
1359
1363
|
), [y, p] = B(
|
|
1360
|
-
() =>
|
|
1361
|
-
),
|
|
1364
|
+
() => Ir(i.phoneCountryCode, t.isGlobal ?? !1)
|
|
1365
|
+
), g = N(
|
|
1362
1366
|
!!(i.phoneCountryCode && q.includes(i.phoneCountryCode))
|
|
1363
1367
|
), k = N(!1), I = z((c) => {
|
|
1364
1368
|
k.current = !0, p(c);
|
|
1365
|
-
}, []), [T, P] = B(!1), S = N(null), E = N(!1),
|
|
1369
|
+
}, []), [T, P] = B(!1), S = N(null), E = N(!1), x = N(null), l = (c) => yr(r, c), f = z((c) => {
|
|
1366
1370
|
({
|
|
1367
1371
|
hero: () => t.analytics?.trackHeroSectionViewed?.(),
|
|
1368
1372
|
features: () => t.analytics?.trackFeaturesSectionViewed?.(),
|
|
@@ -1390,11 +1394,11 @@ function Ir({ className: s }) {
|
|
|
1390
1394
|
F.current = !1;
|
|
1391
1395
|
return;
|
|
1392
1396
|
}
|
|
1393
|
-
|
|
1397
|
+
g.current || k.current || p(t.isGlobal ? "+1" : "+91");
|
|
1394
1398
|
}, [t.isGlobal]), v(() => {
|
|
1395
1399
|
if (k.current) return;
|
|
1396
1400
|
const c = i.phoneCountryCode;
|
|
1397
|
-
c && q.includes(c) && c !== y && (
|
|
1401
|
+
c && q.includes(c) && c !== y && (g.current = !0, p(c));
|
|
1398
1402
|
}, [i.phoneCountryCode]);
|
|
1399
1403
|
const R = N(!1);
|
|
1400
1404
|
v(() => {
|
|
@@ -1406,10 +1410,10 @@ function Ir({ className: s }) {
|
|
|
1406
1410
|
const c = t.initialFormValues;
|
|
1407
1411
|
if (!(!!c && (!!c.boy?.fullName || !!c.boy?.dateOfBirth || !!c.boy?.birthTime || !!c.boy?.birthPlace || !!c.girl?.fullName || !!c.girl?.dateOfBirth || !!c.girl?.birthTime || !!c.girl?.birthPlace || !!c.phone || !!c.email || !!c.reportLanguage))) return;
|
|
1408
1412
|
D.current = !0;
|
|
1409
|
-
const
|
|
1410
|
-
|
|
1413
|
+
const H = requestAnimationFrame(() => {
|
|
1414
|
+
x.current?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1411
1415
|
});
|
|
1412
|
-
return () => cancelAnimationFrame(
|
|
1416
|
+
return () => cancelAnimationFrame(H);
|
|
1413
1417
|
}, [t.autoOpenPlanSheet, t.initialFormValues]);
|
|
1414
1418
|
const X = (c) => {
|
|
1415
1419
|
h(($) => ({ ...$, ...c }));
|
|
@@ -1431,11 +1435,11 @@ function Ir({ className: s }) {
|
|
|
1431
1435
|
planName: c.title,
|
|
1432
1436
|
price: c.price
|
|
1433
1437
|
});
|
|
1434
|
-
const $ = (i.phone ?? "").trim(),
|
|
1438
|
+
const $ = (i.phone ?? "").trim(), H = {
|
|
1435
1439
|
...i,
|
|
1436
1440
|
phone: $ && `${y}-${$}`
|
|
1437
1441
|
};
|
|
1438
|
-
t.onProceed ? t.onProceed(
|
|
1442
|
+
t.onProceed ? t.onProceed(H, c) : console.log("Proceeding to payment:", { formValues: H, plan: c });
|
|
1439
1443
|
}, ae = () => {
|
|
1440
1444
|
E.current || t.analytics?.trackPlanPageClosed?.(), m(!1);
|
|
1441
1445
|
}, te = W ? /* @__PURE__ */ e.jsxs("div", { className: "relative", ref: S, children: [
|
|
@@ -1457,7 +1461,7 @@ function Ir({ className: s }) {
|
|
|
1457
1461
|
/* @__PURE__ */ e.jsx(
|
|
1458
1462
|
"img",
|
|
1459
1463
|
{
|
|
1460
|
-
src:
|
|
1464
|
+
src: Nr,
|
|
1461
1465
|
alt: "",
|
|
1462
1466
|
width: 16,
|
|
1463
1467
|
height: 16,
|
|
@@ -1495,19 +1499,19 @@ function Ir({ className: s }) {
|
|
|
1495
1499
|
] }) : null;
|
|
1496
1500
|
return /* @__PURE__ */ e.jsxs("div", { className: `kundli-matching-page-root ${s}`, children: [
|
|
1497
1501
|
/* @__PURE__ */ e.jsx(
|
|
1498
|
-
|
|
1502
|
+
fe,
|
|
1499
1503
|
{
|
|
1500
1504
|
t: l,
|
|
1501
1505
|
languageSelector: te,
|
|
1502
1506
|
isGlobal: t.isGlobal
|
|
1503
1507
|
}
|
|
1504
1508
|
),
|
|
1505
|
-
/* @__PURE__ */ e.jsx(O, { section: "hero", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1506
|
-
/* @__PURE__ */ e.jsx(O, { section: "features", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1507
|
-
/* @__PURE__ */ e.jsx(O, { section: "sneakPeek", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1508
|
-
/* @__PURE__ */ e.jsx(O, { section: "testimonials", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1509
|
-
/* @__PURE__ */ e.jsx(O, { section: "benefits", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1510
|
-
/* @__PURE__ */ e.jsx(O, { section: "form", onImpression: f, children: /* @__PURE__ */ e.jsx("div", { ref:
|
|
1509
|
+
/* @__PURE__ */ e.jsx(O, { section: "hero", onImpression: f, children: /* @__PURE__ */ e.jsx($e, { t: l }) }),
|
|
1510
|
+
/* @__PURE__ */ e.jsx(O, { section: "features", onImpression: f, children: /* @__PURE__ */ e.jsx(Fe, { t: l }) }),
|
|
1511
|
+
/* @__PURE__ */ e.jsx(O, { section: "sneakPeek", onImpression: f, children: /* @__PURE__ */ e.jsx(pa, { t: l, analytics: t.analytics }) }),
|
|
1512
|
+
/* @__PURE__ */ e.jsx(O, { section: "testimonials", onImpression: f, children: /* @__PURE__ */ e.jsx(Aa, { t: l, analytics: t.analytics }) }),
|
|
1513
|
+
/* @__PURE__ */ e.jsx(O, { section: "benefits", onImpression: f, children: /* @__PURE__ */ e.jsx(za, { t: l }) }),
|
|
1514
|
+
/* @__PURE__ */ e.jsx(O, { section: "form", onImpression: f, children: /* @__PURE__ */ e.jsx("div", { ref: x, children: /* @__PURE__ */ e.jsx(
|
|
1511
1515
|
le,
|
|
1512
1516
|
{
|
|
1513
1517
|
t: l,
|
|
@@ -1520,11 +1524,11 @@ function Ir({ className: s }) {
|
|
|
1520
1524
|
onPhoneIsdCodeChange: I
|
|
1521
1525
|
}
|
|
1522
1526
|
) }) }),
|
|
1523
|
-
/* @__PURE__ */ e.jsx(O, { section: "howItWorks", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1524
|
-
/* @__PURE__ */ e.jsx(O, { section: "whyUs", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1525
|
-
/* @__PURE__ */ e.jsx(O, { section: "faq", onImpression: f, children: /* @__PURE__ */ e.jsx(
|
|
1527
|
+
/* @__PURE__ */ e.jsx(O, { section: "howItWorks", onImpression: f, children: /* @__PURE__ */ e.jsx(ss, { t: l }) }),
|
|
1528
|
+
/* @__PURE__ */ e.jsx(O, { section: "whyUs", onImpression: f, children: /* @__PURE__ */ e.jsx(rt, { t: l }) }),
|
|
1529
|
+
/* @__PURE__ */ e.jsx(O, { section: "faq", onImpression: f, children: /* @__PURE__ */ e.jsx(ot, { t: l }) }),
|
|
1526
1530
|
/* @__PURE__ */ e.jsx(
|
|
1527
|
-
|
|
1531
|
+
Nt,
|
|
1528
1532
|
{
|
|
1529
1533
|
t: l,
|
|
1530
1534
|
values: i,
|
|
@@ -1534,7 +1538,7 @@ function Ir({ className: s }) {
|
|
|
1534
1538
|
}
|
|
1535
1539
|
),
|
|
1536
1540
|
/* @__PURE__ */ e.jsx(
|
|
1537
|
-
|
|
1541
|
+
jr,
|
|
1538
1542
|
{
|
|
1539
1543
|
isOpen: d,
|
|
1540
1544
|
onClose: ae,
|
|
@@ -1548,21 +1552,21 @@ function Ir({ className: s }) {
|
|
|
1548
1552
|
)
|
|
1549
1553
|
] });
|
|
1550
1554
|
}
|
|
1551
|
-
const
|
|
1555
|
+
const Br = "[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-matching-page-root{contain:layout}";
|
|
1552
1556
|
export {
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1557
|
+
za as B,
|
|
1558
|
+
ot as F,
|
|
1559
|
+
De as H,
|
|
1560
|
+
Br as K,
|
|
1561
|
+
Nt as P,
|
|
1562
|
+
pa as S,
|
|
1563
|
+
Aa as T,
|
|
1564
|
+
ia as V,
|
|
1565
|
+
rt as W,
|
|
1566
|
+
Lr as a,
|
|
1567
|
+
Fe as b,
|
|
1568
|
+
$e as c,
|
|
1569
|
+
ss as d,
|
|
1570
|
+
fe as e
|
|
1567
1571
|
};
|
|
1568
|
-
//# sourceMappingURL=criticalCss-
|
|
1572
|
+
//# sourceMappingURL=criticalCss-D-SnzGkQ.js.map
|