kundli-generator 1.1.7 → 2.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/kundli-generator.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import kt, { createContext as yt, useContext as Ge, useState as W, useRef as K, useEffect as Y, useMemo as Fe, useCallback as Pe } from "react";
|
|
2
2
|
var De = { exports: {} }, Se = {};
|
|
3
3
|
var mt;
|
|
4
4
|
function en() {
|
|
5
5
|
if (mt) return Se;
|
|
6
6
|
mt = 1;
|
|
7
|
-
var n =
|
|
7
|
+
var n = kt, r = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
8
|
function p(m, l, v) {
|
|
9
|
-
var _, g = {},
|
|
10
|
-
v !== void 0 && (
|
|
9
|
+
var _, g = {}, x = null, T = null;
|
|
10
|
+
v !== void 0 && (x = "" + v), l.key !== void 0 && (x = "" + l.key), l.ref !== void 0 && (T = l.ref);
|
|
11
11
|
for (_ in l) d.call(l, _) && !f.hasOwnProperty(_) && (g[_] = l[_]);
|
|
12
12
|
if (m && m.defaultProps) for (_ in l = m.defaultProps, l) g[_] === void 0 && (g[_] = l[_]);
|
|
13
|
-
return { $$typeof: r, type: m, key:
|
|
13
|
+
return { $$typeof: r, type: m, key: x, ref: T, props: g, _owner: o.current };
|
|
14
14
|
}
|
|
15
15
|
return Se.Fragment = c, Se.jsx = p, Se.jsxs = p, Se;
|
|
16
16
|
}
|
|
@@ -18,11 +18,11 @@ var Ce = {};
|
|
|
18
18
|
var ht;
|
|
19
19
|
function tn() {
|
|
20
20
|
return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
-
var n =
|
|
22
|
-
function
|
|
21
|
+
var n = kt, r = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), p = /* @__PURE__ */ Symbol.for("react.provider"), m = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), _ = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, k = "@@iterator";
|
|
22
|
+
function y(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var i = j && t[j] || t[
|
|
25
|
+
var i = j && t[j] || t[k];
|
|
26
26
|
return typeof i == "function" ? i : null;
|
|
27
27
|
}
|
|
28
28
|
var L = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -43,10 +43,10 @@ function tn() {
|
|
|
43
43
|
C.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, C);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var U = !1, S = !1,
|
|
46
|
+
var U = !1, S = !1, z = !1, O = !1, G = !1, D;
|
|
47
47
|
D = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function H(t) {
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f ||
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || G || t === o || t === v || t === _ || O || t === T || U || S || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === g || t.$$typeof === p || t.$$typeof === m || t.$$typeof === l || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
@@ -96,7 +96,7 @@ function tn() {
|
|
|
96
96
|
case g:
|
|
97
97
|
var b = t.displayName || null;
|
|
98
98
|
return b !== null ? b : M(t.type) || "Memo";
|
|
99
|
-
case
|
|
99
|
+
case x: {
|
|
100
100
|
var A = t, C = A._payload, P = A._init;
|
|
101
101
|
try {
|
|
102
102
|
return M(P(C));
|
|
@@ -107,18 +107,18 @@ function tn() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
111
|
-
function
|
|
110
|
+
var V = Object.assign, ee = 0, de, ye, he, fe, pe, _e, ie;
|
|
111
|
+
function ge() {
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
ge.__reactDisabledLog = !0;
|
|
114
114
|
function a() {
|
|
115
115
|
{
|
|
116
116
|
if (ee === 0) {
|
|
117
|
-
|
|
117
|
+
de = console.log, ye = console.info, he = console.warn, fe = console.error, pe = console.group, _e = console.groupCollapsed, ie = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: ge,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -143,25 +143,25 @@ function tn() {
|
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
147
|
-
value:
|
|
148
|
-
}),
|
|
149
|
-
info: Y({}, t, {
|
|
150
|
-
value: xe
|
|
146
|
+
log: V({}, t, {
|
|
147
|
+
value: de
|
|
151
148
|
}),
|
|
152
|
-
|
|
153
|
-
value:
|
|
149
|
+
info: V({}, t, {
|
|
150
|
+
value: ye
|
|
154
151
|
}),
|
|
155
|
-
|
|
152
|
+
warn: V({}, t, {
|
|
156
153
|
value: he
|
|
157
154
|
}),
|
|
158
|
-
|
|
155
|
+
error: V({}, t, {
|
|
159
156
|
value: fe
|
|
160
157
|
}),
|
|
161
|
-
|
|
158
|
+
group: V({}, t, {
|
|
162
159
|
value: pe
|
|
163
160
|
}),
|
|
164
|
-
|
|
161
|
+
groupCollapsed: V({}, t, {
|
|
162
|
+
value: _e
|
|
163
|
+
}),
|
|
164
|
+
groupEnd: V({}, t, {
|
|
165
165
|
value: ie
|
|
166
166
|
})
|
|
167
167
|
});
|
|
@@ -170,7 +170,7 @@ function tn() {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
var $ = L.ReactCurrentDispatcher, te;
|
|
173
|
-
function
|
|
173
|
+
function ue(t, i, u) {
|
|
174
174
|
{
|
|
175
175
|
if (te === void 0)
|
|
176
176
|
try {
|
|
@@ -256,8 +256,8 @@ function tn() {
|
|
|
256
256
|
} finally {
|
|
257
257
|
Ae = !1, $.current = C, h(), Error.prepareStackTrace = A;
|
|
258
258
|
}
|
|
259
|
-
var je = t ? t.displayName || t.name : "",
|
|
260
|
-
return typeof t == "function" && $e.set(t,
|
|
259
|
+
var je = t ? t.displayName || t.name : "", be = je ? ue(je) : "";
|
|
260
|
+
return typeof t == "function" && $e.set(t, be), be;
|
|
261
261
|
}
|
|
262
262
|
function St(t, i, u) {
|
|
263
263
|
return Je(t, !1);
|
|
@@ -272,12 +272,12 @@ function tn() {
|
|
|
272
272
|
if (typeof t == "function")
|
|
273
273
|
return Je(t, Ct(t));
|
|
274
274
|
if (typeof t == "string")
|
|
275
|
-
return
|
|
275
|
+
return ue(t);
|
|
276
276
|
switch (t) {
|
|
277
277
|
case v:
|
|
278
|
-
return
|
|
278
|
+
return ue("Suspense");
|
|
279
279
|
case _:
|
|
280
|
-
return
|
|
280
|
+
return ue("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof t == "object")
|
|
283
283
|
switch (t.$$typeof) {
|
|
@@ -285,7 +285,7 @@ function tn() {
|
|
|
285
285
|
return St(t.render);
|
|
286
286
|
case g:
|
|
287
287
|
return Le(t.type, i, u);
|
|
288
|
-
case
|
|
288
|
+
case x: {
|
|
289
289
|
var b = t, A = b._payload, C = b._init;
|
|
290
290
|
try {
|
|
291
291
|
return Le(C(A), i, u);
|
|
@@ -441,7 +441,7 @@ function tn() {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var qe = L.ReactCurrentOwner, it = L.ReactDebugCurrentFrame;
|
|
444
|
-
function
|
|
444
|
+
function xe(t) {
|
|
445
445
|
if (t) {
|
|
446
446
|
var i = t._owner, u = Le(t.type, t._source, i ? i.type : null);
|
|
447
447
|
it.setExtraStackFrame(u);
|
|
@@ -491,7 +491,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
st[u] = !0;
|
|
493
493
|
var b = "";
|
|
494
|
-
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " + M(t._owner.type) + "."),
|
|
494
|
+
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " + M(t._owner.type) + "."), xe(t), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, b), xe(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function lt(t, i) {
|
|
@@ -506,7 +506,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
506
506
|
else if (We(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
|
-
var A =
|
|
509
|
+
var A = y(t);
|
|
510
510
|
if (typeof A == "function" && A !== t.entries)
|
|
511
511
|
for (var C = A.call(t), P; !(P = C.next()).done; )
|
|
512
512
|
We(P.value) && ct(P.value, i);
|
|
@@ -543,11 +543,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
543
543
|
for (var i = Object.keys(t.props), u = 0; u < i.length; u++) {
|
|
544
544
|
var b = i[u];
|
|
545
545
|
if (b !== "children" && b !== "key") {
|
|
546
|
-
|
|
546
|
+
xe(t), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), xe(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
t.ref !== null && (
|
|
550
|
+
t.ref !== null && (xe(t), w("Invalid attribute `ref` supplied to `React.Fragment`."), xe(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var dt = {};
|
|
@@ -579,17 +579,17 @@ Check the top-level render call using <` + u + ">.");
|
|
|
579
579
|
lt(ne, t);
|
|
580
580
|
}
|
|
581
581
|
if (Ee.call(i, "key")) {
|
|
582
|
-
var
|
|
582
|
+
var be = M(t), Z = Object.keys(i).filter(function(Zt) {
|
|
583
583
|
return Zt !== "key";
|
|
584
584
|
}), He = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
-
if (!dt[
|
|
585
|
+
if (!dt[be + He]) {
|
|
586
586
|
var Xt = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
w(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
590
590
|
React keys must be passed directly to JSX without using spread:
|
|
591
591
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`, He,
|
|
592
|
+
<%s key={someKey} {...props} />`, He, be, Xt, be), dt[be + He] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
return t === d ? Gt(q) : Yt(q), q;
|
|
@@ -610,7 +610,7 @@ function nn() {
|
|
|
610
610
|
return ft || (ft = 1, process.env.NODE_ENV === "production" ? De.exports = en() : De.exports = tn()), De.exports;
|
|
611
611
|
}
|
|
612
612
|
var e = nn();
|
|
613
|
-
const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_nm3gb_12", sn = "_langTrigger_nm3gb_16", cn = "_langIcon_nm3gb_28", ln = "_langLabel_nm3gb_35", dn = "_langMenu_nm3gb_40", un = "_langOption_nm3gb_46",
|
|
613
|
+
const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_nm3gb_12", sn = "_langTrigger_nm3gb_16", cn = "_langIcon_nm3gb_28", ln = "_langLabel_nm3gb_35", dn = "_langMenu_nm3gb_40", un = "_langOption_nm3gb_46", me = {
|
|
614
614
|
container: an,
|
|
615
615
|
main: rn,
|
|
616
616
|
langDropdownWrap: on,
|
|
@@ -684,7 +684,7 @@ const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_n
|
|
|
684
684
|
whyUs2: "1,000+ partnered Top Astrologers",
|
|
685
685
|
whyUs3: "500+ temple partnerships you can trust",
|
|
686
686
|
whyUs4: "Personalised section-wise life analysis",
|
|
687
|
-
feedbackTitle: "Feedback from our users
|
|
687
|
+
feedbackTitle: "Feedback from our users",
|
|
688
688
|
feedbackTrust: "Trusted by over 5 million users worldwide",
|
|
689
689
|
feedbackRating: "4.9",
|
|
690
690
|
feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
|
|
@@ -840,7 +840,7 @@ const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_n
|
|
|
840
840
|
whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
|
|
841
841
|
whyUs3: "500+ मंदिर भागीदारी",
|
|
842
842
|
whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
|
|
843
|
-
feedbackTitle: "हमारे उपयोगकर्ताओं की
|
|
843
|
+
feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
|
|
844
844
|
feedbackTrust: "दुनिया भर में 5 मिलियन से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
|
|
845
845
|
feedbackRating: "4.9",
|
|
846
846
|
feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
|
|
@@ -936,17 +936,17 @@ const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_n
|
|
|
936
936
|
formDiscountedPrice: "$25",
|
|
937
937
|
formPriceAria: "कीमत"
|
|
938
938
|
}
|
|
939
|
-
},
|
|
939
|
+
}, xt = yt(null), mo = ({
|
|
940
940
|
locale: n,
|
|
941
941
|
children: r
|
|
942
942
|
}) => {
|
|
943
943
|
const d = { locale: n, t: (o) => ze[n]?.[o] ?? o };
|
|
944
|
-
return /* @__PURE__ */ e.jsx(
|
|
944
|
+
return /* @__PURE__ */ e.jsx(xt.Provider, { value: d, children: r });
|
|
945
945
|
};
|
|
946
946
|
function jt() {
|
|
947
|
-
return Ge(
|
|
947
|
+
return Ge(xt);
|
|
948
948
|
}
|
|
949
|
-
const mn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBorder_1e1th_12", pn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", gn = "_langTrigger_1e1th_25", bn = "_langIcon_1e1th_37", vn = "_langLabel_1e1th_44",
|
|
949
|
+
const mn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBorder_1e1th_12", pn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", gn = "_langTrigger_1e1th_25", bn = "_langIcon_1e1th_37", vn = "_langLabel_1e1th_44", kn = "_langMenu_1e1th_49", yn = "_langOption_1e1th_55", oe = {
|
|
950
950
|
container: mn,
|
|
951
951
|
main: hn,
|
|
952
952
|
kundliHeaderNoBorder: fn,
|
|
@@ -955,10 +955,10 @@ const mn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBord
|
|
|
955
955
|
langTrigger: gn,
|
|
956
956
|
langIcon: bn,
|
|
957
957
|
langLabel: vn,
|
|
958
|
-
langMenu:
|
|
959
|
-
langOption:
|
|
958
|
+
langMenu: kn,
|
|
959
|
+
langOption: yn
|
|
960
960
|
};
|
|
961
|
-
function
|
|
961
|
+
function xn(n) {
|
|
962
962
|
if (typeof window > "u" || !window.localStorage)
|
|
963
963
|
return null;
|
|
964
964
|
try {
|
|
@@ -974,14 +974,14 @@ function jn(n, r) {
|
|
|
974
974
|
} catch {
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function ho(n) {
|
|
978
978
|
if (!(typeof window > "u" || !window.localStorage))
|
|
979
979
|
try {
|
|
980
980
|
window.localStorage.removeItem(n);
|
|
981
981
|
} catch {
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function fo() {
|
|
985
985
|
if (typeof window > "u" || !window.localStorage)
|
|
986
986
|
return !1;
|
|
987
987
|
try {
|
|
@@ -993,13 +993,13 @@ function ho() {
|
|
|
993
993
|
}
|
|
994
994
|
const wt = "kundli_language";
|
|
995
995
|
function wn() {
|
|
996
|
-
const n =
|
|
996
|
+
const n = xn(wt);
|
|
997
997
|
return n && Ve.includes(n) ? n : null;
|
|
998
998
|
}
|
|
999
999
|
function Nn(n) {
|
|
1000
1000
|
jn(wt, n);
|
|
1001
1001
|
}
|
|
1002
|
-
const Qe =
|
|
1002
|
+
const Qe = yt(null), Pn = {
|
|
1003
1003
|
fullName: "",
|
|
1004
1004
|
phone: "",
|
|
1005
1005
|
email: "",
|
|
@@ -1020,22 +1020,23 @@ const Qe = xt(null), Pn = {
|
|
|
1020
1020
|
ctaHref: v,
|
|
1021
1021
|
onCtaClick: _,
|
|
1022
1022
|
onBack: g,
|
|
1023
|
-
readMoreReviewsHref:
|
|
1023
|
+
readMoreReviewsHref: x,
|
|
1024
1024
|
onProceed: T,
|
|
1025
1025
|
proceedHref: j,
|
|
1026
|
-
originalPriceLabel:
|
|
1027
|
-
discountedPriceLabel:
|
|
1026
|
+
originalPriceLabel: k,
|
|
1027
|
+
discountedPriceLabel: y,
|
|
1028
1028
|
discountPillLabel: L,
|
|
1029
1029
|
analytics: w,
|
|
1030
1030
|
onLocaleChange: E,
|
|
1031
1031
|
children: U
|
|
1032
1032
|
}) => {
|
|
1033
|
-
const [S,
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1033
|
+
const [S, z] = W("landing"), [O, G] = W(n ?? "en"), [D, H] = W(Pn), X = K(!0);
|
|
1034
|
+
Y(() => {
|
|
1035
|
+
const de = wn();
|
|
1036
|
+
de && G(de);
|
|
1037
|
+
}, []), Y(() => {
|
|
1037
1038
|
Nn(O);
|
|
1038
|
-
}, [O]),
|
|
1039
|
+
}, [O]), Y(() => {
|
|
1039
1040
|
if (X.current) {
|
|
1040
1041
|
X.current = !1;
|
|
1041
1042
|
return;
|
|
@@ -1056,11 +1057,11 @@ const Qe = xt(null), Pn = {
|
|
|
1056
1057
|
ctaHref: v,
|
|
1057
1058
|
onCtaClick: _,
|
|
1058
1059
|
onBack: g,
|
|
1059
|
-
readMoreReviewsHref:
|
|
1060
|
+
readMoreReviewsHref: x,
|
|
1060
1061
|
onProceed: T,
|
|
1061
1062
|
proceedHref: j,
|
|
1062
|
-
originalPriceLabel:
|
|
1063
|
-
discountedPriceLabel:
|
|
1063
|
+
originalPriceLabel: k,
|
|
1064
|
+
discountedPriceLabel: y,
|
|
1064
1065
|
discountPillLabel: L,
|
|
1065
1066
|
analytics: w,
|
|
1066
1067
|
onLocaleChange: E
|
|
@@ -1078,32 +1079,32 @@ const Qe = xt(null), Pn = {
|
|
|
1078
1079
|
v,
|
|
1079
1080
|
_,
|
|
1080
1081
|
g,
|
|
1081
|
-
|
|
1082
|
+
x,
|
|
1082
1083
|
T,
|
|
1083
1084
|
j,
|
|
1085
|
+
k,
|
|
1084
1086
|
y,
|
|
1085
|
-
x,
|
|
1086
1087
|
L,
|
|
1087
1088
|
w,
|
|
1088
1089
|
E
|
|
1089
1090
|
]
|
|
1090
1091
|
), M = Pe(() => {
|
|
1091
|
-
|
|
1092
|
-
}, [B.analytics]),
|
|
1093
|
-
|
|
1092
|
+
z("form");
|
|
1093
|
+
}, [B.analytics]), V = Pe(() => {
|
|
1094
|
+
z("landing"), B.onBack?.();
|
|
1094
1095
|
}, [B.onBack]), ee = Fe(
|
|
1095
1096
|
() => ({
|
|
1096
1097
|
view: S,
|
|
1097
1098
|
locale: O,
|
|
1098
|
-
setLocale:
|
|
1099
|
+
setLocale: G,
|
|
1099
1100
|
config: B,
|
|
1100
1101
|
formValues: D,
|
|
1101
1102
|
setFormValues: H,
|
|
1102
1103
|
goToForm: M,
|
|
1103
|
-
goToPage:
|
|
1104
|
+
goToPage: V,
|
|
1104
1105
|
onProceed: B.onProceed
|
|
1105
1106
|
}),
|
|
1106
|
-
[S, O, B, D, M,
|
|
1107
|
+
[S, O, B, D, M, V]
|
|
1107
1108
|
);
|
|
1108
1109
|
return /* @__PURE__ */ e.jsx(Qe.Provider, { value: ee, children: U });
|
|
1109
1110
|
};
|
|
@@ -1116,7 +1117,7 @@ function Nt() {
|
|
|
1116
1117
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1117
1118
|
return n;
|
|
1118
1119
|
}
|
|
1119
|
-
const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn = "_titleWrap_1414z_21", In = "_title_1414z_21", Rn = "_subtitle_1414z_32", $n = "_backIcon_1414z_38",
|
|
1120
|
+
const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn = "_titleWrap_1414z_21", In = "_title_1414z_21", Rn = "_subtitle_1414z_32", $n = "_backIcon_1414z_38", ke = {
|
|
1120
1121
|
header: An,
|
|
1121
1122
|
left: En,
|
|
1122
1123
|
backBtn: Sn,
|
|
@@ -1127,7 +1128,7 @@ const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn
|
|
|
1127
1128
|
}, Ln = () => /* @__PURE__ */ e.jsx(
|
|
1128
1129
|
"svg",
|
|
1129
1130
|
{
|
|
1130
|
-
className:
|
|
1131
|
+
className: ke.backIcon,
|
|
1131
1132
|
viewBox: "0 0 24 24",
|
|
1132
1133
|
fill: "none",
|
|
1133
1134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1147,20 +1148,20 @@ const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn
|
|
|
1147
1148
|
t: n,
|
|
1148
1149
|
onBack: r,
|
|
1149
1150
|
className: c = ""
|
|
1150
|
-
}) => /* @__PURE__ */ e.jsx("header", { className: `${
|
|
1151
|
+
}) => /* @__PURE__ */ e.jsx("header", { className: `${ke.header} ${c}`, children: /* @__PURE__ */ e.jsxs("div", { className: ke.left, children: [
|
|
1151
1152
|
/* @__PURE__ */ e.jsx(
|
|
1152
1153
|
"button",
|
|
1153
1154
|
{
|
|
1154
1155
|
type: "button",
|
|
1155
|
-
className:
|
|
1156
|
+
className: ke.backBtn,
|
|
1156
1157
|
onClick: r,
|
|
1157
1158
|
"aria-label": n("back"),
|
|
1158
1159
|
children: /* @__PURE__ */ e.jsx(Ln, {})
|
|
1159
1160
|
}
|
|
1160
1161
|
),
|
|
1161
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1162
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
1163
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1162
|
+
/* @__PURE__ */ e.jsxs("div", { className: ke.titleWrap, children: [
|
|
1163
|
+
/* @__PURE__ */ e.jsx("h1", { className: ke.title, children: n("formTitle") }),
|
|
1164
|
+
/* @__PURE__ */ e.jsx("p", { className: ke.subtitle, children: n("formSubtitle") })
|
|
1164
1165
|
] })
|
|
1165
1166
|
] }) }), Dn = "_wrap_n65ep_1", Bn = "_card_n65ep_5", Fn = "_cardInner_n65ep_12", Un = "_field_n65ep_16", Mn = "_labelRow_n65ep_20", qn = "_label_n65ep_20", Kn = "_req_n65ep_29", Wn = "_help_n65ep_33", Hn = "_infoBtn_n65ep_40", Yn = "_infoImg_n65ep_57", Gn = "_infoWrap_n65ep_63", Vn = "_tooltip_n65ep_69", zn = "_tooltipArrow_n65ep_85", Qn = "_inputWrap_n65ep_96", Jn = "_suggestions_n65ep_100", Xn = "_suggestionItem_n65ep_113", Zn = "_suggestionMain_n65ep_131", ea = "_suggestionSecondary_n65ep_137", ta = "_suggestionsHint_n65ep_142", na = "_timePopover_n65ep_157", aa = "_timePickerRow_n65ep_173", ra = "_timePickerSelect_n65ep_179", ia = "_timePickerColon_n65ep_193", oa = "_meridiemToggle_n65ep_200", sa = "_meridiemBtn_n65ep_208", ca = "_meridiemActive_n65ep_222", la = "_timePopoverActions_n65ep_227", da = "_timePopoverBtn_n65ep_233", ua = "_timePopoverOk_n65ep_252", ma = "_input_n65ep_96", ha = "_iconBtn_n65ep_296", fa = "_iconBtnInteractive_n65ep_302", pa = "_iconImg_n65ep_321", _a = "_checkboxRow_n65ep_327", ga = "_checkbox_n65ep_327", ba = "_checkboxText_n65ep_365", s = {
|
|
1166
1167
|
wrap: Dn,
|
|
@@ -1231,24 +1232,24 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1231
1232
|
};
|
|
1232
1233
|
l();
|
|
1233
1234
|
}, f.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(f);
|
|
1234
|
-
}), Be),
|
|
1235
|
-
const { apiKey: r, language: c = "en", restrictCountry: d } = n, [o, f] = W(!1), [p, m] = W([]), [l, v] = W(!1), [_, g] = W(null),
|
|
1236
|
-
|
|
1235
|
+
}), Be), ka = (n) => {
|
|
1236
|
+
const { apiKey: r, language: c = "en", restrictCountry: d } = n, [o, f] = W(!1), [p, m] = W([]), [l, v] = W(!1), [_, g] = W(null), x = K(null), T = K(null), j = K(null);
|
|
1237
|
+
Y(() => {
|
|
1237
1238
|
if (!r) {
|
|
1238
1239
|
f(!1), g(null);
|
|
1239
1240
|
return;
|
|
1240
1241
|
}
|
|
1241
1242
|
va(r, c).then(() => {
|
|
1242
|
-
|
|
1243
|
+
x.current = new google.maps.places.AutocompleteService();
|
|
1243
1244
|
const w = document.createElement("div");
|
|
1244
1245
|
T.current = new google.maps.places.PlacesService(w), j.current = new google.maps.places.AutocompleteSessionToken(), f(!0), g(null);
|
|
1245
1246
|
}).catch((w) => {
|
|
1246
1247
|
f(!1), g(w?.message || "Failed to load location service");
|
|
1247
1248
|
});
|
|
1248
1249
|
}, [r, c]);
|
|
1249
|
-
const
|
|
1250
|
+
const k = Pe(
|
|
1250
1251
|
async (w) => {
|
|
1251
|
-
if (!w || w.length < 2 || !
|
|
1252
|
+
if (!w || w.length < 2 || !x.current) {
|
|
1252
1253
|
m([]);
|
|
1253
1254
|
return;
|
|
1254
1255
|
}
|
|
@@ -1260,11 +1261,11 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1260
1261
|
sessionToken: j.current ?? void 0
|
|
1261
1262
|
};
|
|
1262
1263
|
d && (E.componentRestrictions = { country: d });
|
|
1263
|
-
const U = await new Promise((S,
|
|
1264
|
-
|
|
1264
|
+
const U = await new Promise((S, z) => {
|
|
1265
|
+
x.current.getPlacePredictions(
|
|
1265
1266
|
E,
|
|
1266
|
-
(O,
|
|
1267
|
-
|
|
1267
|
+
(O, G) => {
|
|
1268
|
+
G === google.maps.places.PlacesServiceStatus.OK && O ? S(O) : G === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : z(new Error(`Places API error: ${G}`));
|
|
1268
1269
|
}
|
|
1269
1270
|
);
|
|
1270
1271
|
});
|
|
@@ -1285,7 +1286,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1285
1286
|
}
|
|
1286
1287
|
},
|
|
1287
1288
|
[d]
|
|
1288
|
-
),
|
|
1289
|
+
), y = Pe(
|
|
1289
1290
|
async (w) => {
|
|
1290
1291
|
if (!T.current) return null;
|
|
1291
1292
|
try {
|
|
@@ -1305,16 +1306,16 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1305
1306
|
);
|
|
1306
1307
|
j.current = new google.maps.places.AutocompleteSessionToken();
|
|
1307
1308
|
const U = E.geometry?.location?.lat() || 0, S = E.geometry?.location?.lng() || 0;
|
|
1308
|
-
let
|
|
1309
|
+
let z = "", O = "", G = "";
|
|
1309
1310
|
return E.address_components?.forEach((D) => {
|
|
1310
|
-
D.types.includes("locality") && (
|
|
1311
|
+
D.types.includes("locality") && (z = D.long_name), D.types.includes("administrative_area_level_1") && (O = D.long_name), D.types.includes("country") && (G = D.long_name);
|
|
1311
1312
|
}), {
|
|
1312
1313
|
display_name: E.formatted_address || "",
|
|
1313
1314
|
lat: U,
|
|
1314
1315
|
lng: S,
|
|
1315
|
-
city:
|
|
1316
|
+
city: z,
|
|
1316
1317
|
state: O,
|
|
1317
|
-
country:
|
|
1318
|
+
country: G
|
|
1318
1319
|
};
|
|
1319
1320
|
} catch {
|
|
1320
1321
|
return null;
|
|
@@ -1327,16 +1328,16 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1327
1328
|
predictions: p,
|
|
1328
1329
|
isSearching: l,
|
|
1329
1330
|
loadError: _,
|
|
1330
|
-
searchPlaces:
|
|
1331
|
-
getPlaceDetails:
|
|
1331
|
+
searchPlaces: k,
|
|
1332
|
+
getPlaceDetails: y,
|
|
1332
1333
|
clearPredictions: L
|
|
1333
1334
|
};
|
|
1334
|
-
},
|
|
1335
|
+
}, ya = {}, we = {
|
|
1335
1336
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1336
1337
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1337
1338
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1338
1339
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1339
|
-
},
|
|
1340
|
+
}, xa = ({
|
|
1340
1341
|
t: n,
|
|
1341
1342
|
values: r,
|
|
1342
1343
|
onChange: c,
|
|
@@ -1353,71 +1354,71 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1353
1354
|
birthTime: () => m?.trackTimeFilled?.(),
|
|
1354
1355
|
birthPlace: () => m?.trackPlaceOfBirthChosen?.()
|
|
1355
1356
|
}[a]?.());
|
|
1356
|
-
},
|
|
1357
|
+
}, x = (a) => a.replace(/\D/g, "").slice(0, 10), T = K(null);
|
|
1357
1358
|
K(null);
|
|
1358
|
-
const j = K(null),
|
|
1359
|
+
const j = K(null), k = K(0), y = K(null), [L, w] = W(!1), [E, U] = W({ hour12: 12, minute: "00", meridiem: "AM" }), S = (a) => String(a).padStart(2, "0"), z = (a) => {
|
|
1359
1360
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1360
1361
|
if (!h) return a;
|
|
1361
|
-
const $ = Number(h[1]), te = h[2],
|
|
1362
|
-
return `${$ % 12 === 0 ? 12 : $ % 12}:${te} ${
|
|
1362
|
+
const $ = Number(h[1]), te = h[2], ue = $ >= 12 ? "PM" : "AM";
|
|
1363
|
+
return `${$ % 12 === 0 ? 12 : $ % 12}:${te} ${ue}`;
|
|
1363
1364
|
}, O = (a) => {
|
|
1364
1365
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1365
1366
|
if (!h) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1366
|
-
const $ = Number(h[1]), te = h[2],
|
|
1367
|
-
return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: te, meridiem:
|
|
1368
|
-
},
|
|
1367
|
+
const $ = Number(h[1]), te = h[2], ue = $ >= 12 ? "PM" : "AM";
|
|
1368
|
+
return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: te, meridiem: ue };
|
|
1369
|
+
}, G = (a) => {
|
|
1369
1370
|
const h = Math.min(12, Math.max(1, a.hour12)), $ = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1370
1371
|
let te = h % 12;
|
|
1371
1372
|
return a.meridiem === "PM" && (te += 12), `${S(te)}:${$}`;
|
|
1372
1373
|
}, D = K(null), [H, X] = W(!1), [B, M] = W(
|
|
1373
1374
|
null
|
|
1374
|
-
),
|
|
1375
|
-
predictions:
|
|
1376
|
-
isSearching:
|
|
1377
|
-
loadError:
|
|
1378
|
-
searchPlaces:
|
|
1375
|
+
), V = o ?? ya?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), de = l ? void 0 : "in", ye = "en", {
|
|
1376
|
+
predictions: he,
|
|
1377
|
+
isSearching: fe,
|
|
1378
|
+
loadError: pe,
|
|
1379
|
+
searchPlaces: _e,
|
|
1379
1380
|
clearPredictions: ie
|
|
1380
|
-
} =
|
|
1381
|
-
apiKey:
|
|
1382
|
-
language:
|
|
1383
|
-
restrictCountry:
|
|
1381
|
+
} = ka({
|
|
1382
|
+
apiKey: V,
|
|
1383
|
+
language: ye,
|
|
1384
|
+
restrictCountry: de
|
|
1384
1385
|
});
|
|
1385
|
-
|
|
1386
|
+
Y(() => {
|
|
1386
1387
|
const a = (h) => {
|
|
1387
1388
|
D.current && (D.current.contains(h.target) || X(!1));
|
|
1388
1389
|
};
|
|
1389
1390
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1390
|
-
}, []),
|
|
1391
|
+
}, []), Y(() => {
|
|
1391
1392
|
if (!H) return;
|
|
1392
1393
|
if (ee.length < 2) {
|
|
1393
1394
|
ie();
|
|
1394
1395
|
return;
|
|
1395
1396
|
}
|
|
1396
1397
|
const a = window.setTimeout(async () => {
|
|
1397
|
-
await
|
|
1398
|
+
await _e(ee);
|
|
1398
1399
|
}, 250);
|
|
1399
1400
|
return () => window.clearTimeout(a);
|
|
1400
|
-
}, [ie, H, ee,
|
|
1401
|
-
const
|
|
1401
|
+
}, [ie, H, ee, _e]);
|
|
1402
|
+
const ge = (a) => {
|
|
1402
1403
|
const h = a.current;
|
|
1403
1404
|
if (!(!h || h.disabled)) {
|
|
1404
|
-
if (document.activeElement === h && j.current === h && Date.now() -
|
|
1405
|
+
if (document.activeElement === h && j.current === h && Date.now() - k.current < 6e4) {
|
|
1405
1406
|
h.blur();
|
|
1406
1407
|
return;
|
|
1407
1408
|
}
|
|
1408
1409
|
if (typeof h.showPicker == "function") {
|
|
1409
|
-
h.showPicker(), j.current = h,
|
|
1410
|
+
h.showPicker(), j.current = h, k.current = Date.now();
|
|
1410
1411
|
return;
|
|
1411
1412
|
}
|
|
1412
|
-
h.focus(), j.current = h,
|
|
1413
|
+
h.focus(), j.current = h, k.current = Date.now();
|
|
1413
1414
|
}
|
|
1414
1415
|
};
|
|
1415
|
-
return
|
|
1416
|
+
return Y(() => {
|
|
1416
1417
|
const a = (h) => {
|
|
1417
|
-
|
|
1418
|
+
y.current && (y.current.contains(h.target) || w(!1));
|
|
1418
1419
|
};
|
|
1419
1420
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1420
|
-
}, []),
|
|
1421
|
+
}, []), Y(() => {
|
|
1421
1422
|
const a = ($) => {
|
|
1422
1423
|
$.target?.closest?.("[data-info-tooltip]") == null && M(null);
|
|
1423
1424
|
}, h = ($) => {
|
|
@@ -1469,7 +1470,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1469
1470
|
onFocus: () => m?.trackPhoneSectionClicked?.(),
|
|
1470
1471
|
onChange: (a) => {
|
|
1471
1472
|
const h = a.target.value;
|
|
1472
|
-
_({ phone:
|
|
1473
|
+
_({ phone: x(h) }), g("phone", x(h));
|
|
1473
1474
|
},
|
|
1474
1475
|
placeholder: n("formPhonePlaceholder"),
|
|
1475
1476
|
autoComplete: "tel",
|
|
@@ -1554,7 +1555,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1554
1555
|
h && h > te || (_({ dateOfBirth: h }), g("dateOfBirth", h), j.current = null);
|
|
1555
1556
|
},
|
|
1556
1557
|
onFocus: () => m?.trackDobClicked?.(),
|
|
1557
|
-
onClick: () =>
|
|
1558
|
+
onClick: () => ge(T),
|
|
1558
1559
|
onBlur: () => {
|
|
1559
1560
|
j.current === T.current && (j.current = null);
|
|
1560
1561
|
}
|
|
@@ -1568,7 +1569,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1568
1569
|
"aria-label": "Open date picker",
|
|
1569
1570
|
onMouseDown: (a) => a.preventDefault(),
|
|
1570
1571
|
onClick: (a) => {
|
|
1571
|
-
a.preventDefault(), a.stopPropagation(),
|
|
1572
|
+
a.preventDefault(), a.stopPropagation(), ge(T);
|
|
1572
1573
|
},
|
|
1573
1574
|
children: /* @__PURE__ */ e.jsx(
|
|
1574
1575
|
"img",
|
|
@@ -1617,14 +1618,14 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1617
1618
|
] })
|
|
1618
1619
|
] })
|
|
1619
1620
|
] }),
|
|
1620
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1621
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: y, children: [
|
|
1621
1622
|
/* @__PURE__ */ e.jsx(
|
|
1622
1623
|
"input",
|
|
1623
1624
|
{
|
|
1624
1625
|
id: "kundli-birth-time",
|
|
1625
1626
|
className: s.input,
|
|
1626
1627
|
type: "text",
|
|
1627
|
-
value: r.birthTime ?
|
|
1628
|
+
value: r.birthTime ? z(r.birthTime) : "",
|
|
1628
1629
|
readOnly: !0,
|
|
1629
1630
|
onFocus: () => m?.trackTimeClicked?.(),
|
|
1630
1631
|
onChange: (a) => {
|
|
@@ -1731,7 +1732,8 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1731
1732
|
type: "button",
|
|
1732
1733
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1733
1734
|
onClick: () => {
|
|
1734
|
-
|
|
1735
|
+
const a = G(E);
|
|
1736
|
+
_({ birthTime: a }), g("birthTime", a), w(!1);
|
|
1735
1737
|
},
|
|
1736
1738
|
"aria-label": "OK",
|
|
1737
1739
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1854,7 +1856,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1854
1856
|
"aria-hidden": !0
|
|
1855
1857
|
}
|
|
1856
1858
|
) }),
|
|
1857
|
-
H &&
|
|
1859
|
+
H && he.length > 0 && /* @__PURE__ */ e.jsx("div", { className: s.suggestions, role: "listbox", children: he.slice(0, 8).map((a) => /* @__PURE__ */ e.jsxs(
|
|
1858
1860
|
"button",
|
|
1859
1861
|
{
|
|
1860
1862
|
type: "button",
|
|
@@ -1869,14 +1871,14 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1869
1871
|
},
|
|
1870
1872
|
a.place_id
|
|
1871
1873
|
)) }),
|
|
1872
|
-
H &&
|
|
1873
|
-
H &&
|
|
1874
|
+
H && V && fe && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1875
|
+
H && V && !fe && !!pe && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: pe })
|
|
1874
1876
|
] })
|
|
1875
1877
|
] })
|
|
1876
1878
|
] }) })
|
|
1877
1879
|
}
|
|
1878
1880
|
);
|
|
1879
|
-
}, ja = "_footer_15g1k_1", wa = "_inner_15g1k_7", Na = "_badges_15g1k_11", Pa = "_marqueeTrack_15g1k_18", Ta = "_marqueeContent_15g1k_24", Aa = "_badge_15g1k_11", Ea = "_badgeIcon_15g1k_47", Sa = "_ctaWrap_15g1k_51", Ca = "_ctaStruck_15g1k_55", Ia = "_ctaButton_15g1k_61", Ra = "_offerRow_15g1k_81", $a = "_pill_15g1k_88",
|
|
1881
|
+
}, ja = "_footer_15g1k_1", wa = "_inner_15g1k_7", Na = "_badges_15g1k_11", Pa = "_marqueeTrack_15g1k_18", Ta = "_marqueeContent_15g1k_24", Aa = "_badge_15g1k_11", Ea = "_badgeIcon_15g1k_47", Sa = "_ctaWrap_15g1k_51", Ca = "_ctaStruck_15g1k_55", Ia = "_ctaButton_15g1k_61", Ra = "_offerRow_15g1k_81", $a = "_pill_15g1k_88", R = {
|
|
1880
1882
|
footer: ja,
|
|
1881
1883
|
inner: wa,
|
|
1882
1884
|
badges: Na,
|
|
@@ -1893,9 +1895,9 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1893
1895
|
marquee: n,
|
|
1894
1896
|
children: r,
|
|
1895
1897
|
className: c = ""
|
|
1896
|
-
}) => /* @__PURE__ */ e.jsx("footer", { className: `${
|
|
1897
|
-
n != null && /* @__PURE__ */ e.jsx("div", { className:
|
|
1898
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1898
|
+
}) => /* @__PURE__ */ e.jsx("footer", { className: `${R.footer} ${c}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: R.inner, children: [
|
|
1899
|
+
n != null && /* @__PURE__ */ e.jsx("div", { className: R.badges, "aria-hidden": !0, children: n }),
|
|
1900
|
+
/* @__PURE__ */ e.jsx("div", { className: R.ctaWrap, children: r })
|
|
1899
1901
|
] }) }), Tt = ({
|
|
1900
1902
|
children: n,
|
|
1901
1903
|
href: r,
|
|
@@ -1904,7 +1906,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1904
1906
|
className: o = "",
|
|
1905
1907
|
"aria-label": f
|
|
1906
1908
|
}) => {
|
|
1907
|
-
const p = `${
|
|
1909
|
+
const p = `${R.ctaButton} ${o}`.trim(), m = f != null ? { "aria-label": f } : {};
|
|
1908
1910
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1909
1911
|
"a",
|
|
1910
1912
|
{
|
|
@@ -1945,15 +1947,15 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1945
1947
|
if (!La(r.email.trim())) return !1;
|
|
1946
1948
|
} else if (!Oa((r.phone ?? "").trim())) return !1;
|
|
1947
1949
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1948
|
-
}, [_, r]),
|
|
1950
|
+
}, [_, r]), x = _ ? p ?? n("formOriginalPrice") : "₹999", T = _ ? m ?? n("formDiscountedPrice") : "₹249", j = l ?? n("formDiscountPill"), k = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1949
1951
|
n("formProceed"),
|
|
1950
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1952
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: x }),
|
|
1951
1953
|
" ",
|
|
1952
1954
|
T
|
|
1953
|
-
] }),
|
|
1954
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1955
|
+
] }), y = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1956
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.offerRow, children: [
|
|
1955
1957
|
/* @__PURE__ */ e.jsx("span", { children: n("formOfferEnding") }),
|
|
1956
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1958
|
+
/* @__PURE__ */ e.jsx("span", { className: R.pill, children: j })
|
|
1957
1959
|
] }),
|
|
1958
1960
|
/* @__PURE__ */ e.jsx(
|
|
1959
1961
|
Tt,
|
|
@@ -1964,11 +1966,11 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1964
1966
|
o?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), c?.(r);
|
|
1965
1967
|
},
|
|
1966
1968
|
"aria-label": n("formPriceAria"),
|
|
1967
|
-
children:
|
|
1969
|
+
children: k
|
|
1968
1970
|
}
|
|
1969
1971
|
)
|
|
1970
1972
|
] });
|
|
1971
|
-
return /* @__PURE__ */ e.jsx(Pt, { className: f, children:
|
|
1973
|
+
return /* @__PURE__ */ e.jsx(Pt, { className: f, children: y });
|
|
1972
1974
|
}, Ba = "_header_dbx4y_1", Fa = "_brand_dbx4y_7", Ua = "_logo_dbx4y_11", Ma = "_logoImg_dbx4y_15", qa = "_logoPlaceholder_dbx4y_21", Ka = "_brandText_dbx4y_29", Wa = "_brandName_dbx4y_33", Ha = "_rating_dbx4y_38", Ya = "_stars_dbx4y_44", Ga = "_langSlot_dbx4y_49", se = {
|
|
1973
1975
|
header: Ba,
|
|
1974
1976
|
brand: Fa,
|
|
@@ -2000,7 +2002,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2000
2002
|
] }),
|
|
2001
2003
|
p && /* @__PURE__ */ e.jsx("div", { className: se.langSlot, children: r })
|
|
2002
2004
|
] });
|
|
2003
|
-
}, za = "
|
|
2005
|
+
}, za = "_hero_okj8x_1", Qa = "_title_okj8x_5", Ja = "_subtitle_okj8x_10", Xa = "_topicTags_okj8x_23", Za = "_tag_okj8x_27", Ie = {
|
|
2004
2006
|
hero: za,
|
|
2005
2007
|
title: Qa,
|
|
2006
2008
|
subtitle: Ja,
|
|
@@ -2018,7 +2020,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2018
2020
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ie.title, children: n("heroTitle") }),
|
|
2019
2021
|
/* @__PURE__ */ e.jsx("p", { className: Ie.subtitle, children: n("heroSubtitle") }),
|
|
2020
2022
|
/* @__PURE__ */ e.jsx("div", { className: Ie.topicTags, role: "list", children: er.map((c) => /* @__PURE__ */ e.jsx("span", { className: Ie.tag, role: "listitem", children: n(c) }, c)) })
|
|
2021
|
-
] }), nr = "
|
|
2023
|
+
] }), nr = "_section_j2cgl_1", ar = "_inner_j2cgl_9", rr = "_content_j2cgl_14", ir = "_headline_j2cgl_18", or = "_headlineLine_j2cgl_23", sr = "_headlinePill_j2cgl_28", cr = "_headlinePlain_j2cgl_43", lr = "_featureList_j2cgl_54", dr = "_featureItem_j2cgl_61", ur = "_featureIcon_j2cgl_66", mr = "_reportImage_j2cgl_73", hr = "_reportImg_j2cgl_83", J = {
|
|
2022
2024
|
section: nr,
|
|
2023
2025
|
inner: ar,
|
|
2024
2026
|
content: rr,
|
|
@@ -2036,7 +2038,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2036
2038
|
"premiumFeature2",
|
|
2037
2039
|
"premiumFeature3",
|
|
2038
2040
|
"premiumFeature4"
|
|
2039
|
-
], _r = "https://srm-cdn.a4b.io/yoda/
|
|
2041
|
+
], _r = "https://srm-cdn.a4b.io/yoda/1770710060606.png", gr = ({
|
|
2040
2042
|
t: n,
|
|
2041
2043
|
reportImageUrl: r = _r,
|
|
2042
2044
|
analytics: c,
|
|
@@ -2084,13 +2086,13 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2084
2086
|
] })
|
|
2085
2087
|
}
|
|
2086
2088
|
);
|
|
2087
|
-
}, br = "_section_1g93x_1", vr = "_heading_1g93x_6",
|
|
2089
|
+
}, br = "_section_1g93x_1", vr = "_heading_1g93x_6", kr = "_logoImg_1g93x_10", Ye = {
|
|
2088
2090
|
section: br,
|
|
2089
2091
|
heading: vr,
|
|
2090
|
-
logoImg:
|
|
2091
|
-
},
|
|
2092
|
+
logoImg: kr
|
|
2093
|
+
}, yr = "https://srm-cdn.a4b.io/yoda/1770365699409.png", xr = ({
|
|
2092
2094
|
t: n,
|
|
2093
|
-
logoUrl: r =
|
|
2095
|
+
logoUrl: r = yr,
|
|
2094
2096
|
className: c = ""
|
|
2095
2097
|
}) => /* @__PURE__ */ e.jsxs("section", { className: `${Ye.section} ${c}`, "aria-labelledby": "certified-heading", children: [
|
|
2096
2098
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: Ye.heading, children: n("certifiedBy") }),
|
|
@@ -2138,7 +2140,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2138
2140
|
), Rr = "_section_uboy6_1", $r = "_button_uboy6_7", pt = {
|
|
2139
2141
|
section: Rr,
|
|
2140
2142
|
button: $r
|
|
2141
|
-
}, Lr = "_backdrop_1jio1_1", Or = "_modal_1jio1_21", Dr = "_header_1jio1_40", Br = "_title_1jio1_49", Fr = "_closeBtn_1jio1_56", Ur = "_content_1jio1_76", Mr = "_pdfFrame_1jio1_83",
|
|
2143
|
+
}, Lr = "_backdrop_1jio1_1", Or = "_modal_1jio1_21", Dr = "_header_1jio1_40", Br = "_title_1jio1_49", Fr = "_closeBtn_1jio1_56", Ur = "_content_1jio1_76", Mr = "_pdfFrame_1jio1_83", ve = {
|
|
2142
2144
|
backdrop: Lr,
|
|
2143
2145
|
modal: Or,
|
|
2144
2146
|
header: Dr,
|
|
@@ -2151,7 +2153,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2151
2153
|
onClose: r,
|
|
2152
2154
|
title: c,
|
|
2153
2155
|
pdfUrl: d
|
|
2154
|
-
}) => (
|
|
2156
|
+
}) => (Y(() => {
|
|
2155
2157
|
if (!n) return;
|
|
2156
2158
|
const o = (f) => {
|
|
2157
2159
|
f.key === "Escape" && r();
|
|
@@ -2162,7 +2164,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2162
2164
|
}, [n, r]), n ? /* @__PURE__ */ e.jsx(
|
|
2163
2165
|
"div",
|
|
2164
2166
|
{
|
|
2165
|
-
className:
|
|
2167
|
+
className: ve.backdrop,
|
|
2166
2168
|
onClick: r,
|
|
2167
2169
|
role: "dialog",
|
|
2168
2170
|
"aria-modal": "true",
|
|
@@ -2170,27 +2172,27 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2170
2172
|
children: /* @__PURE__ */ e.jsxs(
|
|
2171
2173
|
"div",
|
|
2172
2174
|
{
|
|
2173
|
-
className:
|
|
2175
|
+
className: ve.modal,
|
|
2174
2176
|
onClick: (o) => o.stopPropagation(),
|
|
2175
2177
|
children: [
|
|
2176
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2177
|
-
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className:
|
|
2178
|
+
/* @__PURE__ */ e.jsxs("div", { className: ve.header, children: [
|
|
2179
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: ve.title, children: c }),
|
|
2178
2180
|
/* @__PURE__ */ e.jsx(
|
|
2179
2181
|
"button",
|
|
2180
2182
|
{
|
|
2181
2183
|
type: "button",
|
|
2182
|
-
className:
|
|
2184
|
+
className: ve.closeBtn,
|
|
2183
2185
|
onClick: r,
|
|
2184
2186
|
"aria-label": "Close",
|
|
2185
2187
|
children: "×"
|
|
2186
2188
|
}
|
|
2187
2189
|
)
|
|
2188
2190
|
] }),
|
|
2189
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2191
|
+
/* @__PURE__ */ e.jsx("div", { className: ve.content, children: /* @__PURE__ */ e.jsx(
|
|
2190
2192
|
"iframe",
|
|
2191
2193
|
{
|
|
2192
2194
|
src: d,
|
|
2193
|
-
className:
|
|
2195
|
+
className: ve.pdfFrame,
|
|
2194
2196
|
title: c
|
|
2195
2197
|
}
|
|
2196
2198
|
) })
|
|
@@ -2222,7 +2224,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2222
2224
|
}
|
|
2223
2225
|
)
|
|
2224
2226
|
] });
|
|
2225
|
-
}, Hr = "
|
|
2227
|
+
}, Hr = "_section_g1kup_1", Yr = "_heading_g1kup_5", Gr = "_list_g1kup_10", Vr = "_item_g1kup_17", zr = "_imageWrap_g1kup_21", Qr = "_image_g1kup_21", Jr = "_imagePlaceholder_g1kup_30", Xr = "_text_g1kup_36", Zr = "_itemTitle_g1kup_40", ei = "_itemDesc_g1kup_51", ce = {
|
|
2226
2228
|
section: Hr,
|
|
2227
2229
|
heading: Yr,
|
|
2228
2230
|
list: Gr,
|
|
@@ -2277,7 +2279,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2277
2279
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: n("whyUsTitle") }),
|
|
2278
2280
|
/* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: n("whyUsSubtitle") }),
|
|
2279
2281
|
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children: li.map((c) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: n(c) }, c)) })
|
|
2280
|
-
] }), ui = "
|
|
2282
|
+
] }), ui = "_section_3cm7k_1", mi = "_heading_3cm7k_5", hi = "_trustLine_3cm7k_10", fi = "_star_3cm7k_15", pi = "_ratingNum_3cm7k_20", _i = "_trustText_3cm7k_24", gi = "_cardList_3cm7k_28", bi = "_card_3cm7k_28", vi = "_quote_3cm7k_37", ki = "_author_3cm7k_42", yi = "_avatar_3cm7k_46", xi = "_avatarPlaceholder_3cm7k_50", ji = "_authorInfo_3cm7k_55", wi = "_authorName_3cm7k_59", Ni = "_stars_3cm7k_64", Pi = "_readMoreWrap_3cm7k_69", Ti = "_toggleBtn_3cm7k_73", Ai = "_readMore_3cm7k_69", Ei = "_arrow_3cm7k_93", Si = "_dot_3cm7k_97", I = {
|
|
2281
2283
|
section: ui,
|
|
2282
2284
|
heading: mi,
|
|
2283
2285
|
trustLine: hi,
|
|
@@ -2287,31 +2289,32 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2287
2289
|
cardList: gi,
|
|
2288
2290
|
card: bi,
|
|
2289
2291
|
quote: vi,
|
|
2290
|
-
author:
|
|
2291
|
-
avatar:
|
|
2292
|
-
avatarPlaceholder:
|
|
2292
|
+
author: ki,
|
|
2293
|
+
avatar: yi,
|
|
2294
|
+
avatarPlaceholder: xi,
|
|
2293
2295
|
authorInfo: ji,
|
|
2294
2296
|
authorName: wi,
|
|
2295
2297
|
stars: Ni,
|
|
2296
2298
|
readMoreWrap: Pi,
|
|
2297
2299
|
toggleBtn: Ti,
|
|
2298
2300
|
readMore: Ai,
|
|
2299
|
-
arrow: Ei
|
|
2300
|
-
|
|
2301
|
+
arrow: Ei,
|
|
2302
|
+
dot: Si
|
|
2303
|
+
}, _t = 3, Ci = (n) => {
|
|
2301
2304
|
const c = /* @__PURE__ */ new Map();
|
|
2302
2305
|
for (let l = 1; l <= 15; l += 1) {
|
|
2303
2306
|
const v = `feedbackTestimonial${l}`, _ = n(v);
|
|
2304
2307
|
if (!_ || _ === v) continue;
|
|
2305
|
-
const g = `feedbackAuthor${l}`,
|
|
2306
|
-
const
|
|
2307
|
-
return
|
|
2308
|
+
const g = `feedbackAuthor${l}`, x = (() => {
|
|
2309
|
+
const k = n(g);
|
|
2310
|
+
return k && k !== g ? k : n("guest");
|
|
2308
2311
|
})(), T = `feedbackAuthor${l}AvatarUrl`, j = (() => {
|
|
2309
|
-
const
|
|
2310
|
-
return
|
|
2312
|
+
const k = n(T);
|
|
2313
|
+
return k && k !== T ? k : void 0;
|
|
2311
2314
|
})();
|
|
2312
2315
|
c.set(l, {
|
|
2313
2316
|
quote: _,
|
|
2314
|
-
authorName:
|
|
2317
|
+
authorName: x,
|
|
2315
2318
|
authorAvatarUrl: j,
|
|
2316
2319
|
rating: 5
|
|
2317
2320
|
});
|
|
@@ -2332,102 +2335,103 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2332
2335
|
}
|
|
2333
2336
|
}
|
|
2334
2337
|
return f;
|
|
2335
|
-
},
|
|
2338
|
+
}, Ii = ({
|
|
2336
2339
|
t: n,
|
|
2337
2340
|
testimonials: r,
|
|
2338
2341
|
readMoreHref: c,
|
|
2339
2342
|
onReadMore: d,
|
|
2340
2343
|
className: o = ""
|
|
2341
2344
|
}) => {
|
|
2342
|
-
const f = r ?? Fe(() =>
|
|
2345
|
+
const f = r ?? Fe(() => Ci(n), [n]), [p, m] = W(!1), l = f.length > _t, v = l && !p ? f.slice(0, _t) : f;
|
|
2343
2346
|
return /* @__PURE__ */ e.jsxs(
|
|
2344
2347
|
"section",
|
|
2345
2348
|
{
|
|
2346
|
-
className: `${
|
|
2349
|
+
className: `${I.section} ${o}`,
|
|
2347
2350
|
"aria-labelledby": "feedback-heading",
|
|
2348
2351
|
children: [
|
|
2349
|
-
/* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className:
|
|
2350
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
2351
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2352
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2353
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2352
|
+
/* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className: I.heading, children: n("feedbackTitle") }),
|
|
2353
|
+
/* @__PURE__ */ e.jsxs("p", { className: I.trustLine, children: [
|
|
2354
|
+
/* @__PURE__ */ e.jsx("span", { className: I.star, "aria-hidden": !0, children: "★" }),
|
|
2355
|
+
/* @__PURE__ */ e.jsx("span", { className: I.ratingNum, children: n("feedbackRating") }),
|
|
2356
|
+
/* @__PURE__ */ e.jsx("span", { className: I.dot, "aria-hidden": !0 }),
|
|
2357
|
+
/* @__PURE__ */ e.jsx("span", { className: I.trustText, children: n("feedbackTrust") })
|
|
2354
2358
|
] }),
|
|
2355
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
2356
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2357
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2359
|
+
/* @__PURE__ */ e.jsx("ul", { className: I.cardList, children: v.map((_, g) => /* @__PURE__ */ e.jsxs("li", { className: I.card, children: [
|
|
2360
|
+
/* @__PURE__ */ e.jsx("p", { className: I.quote, children: _.quote }),
|
|
2361
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.author, children: [
|
|
2358
2362
|
_.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
|
|
2359
2363
|
"img",
|
|
2360
2364
|
{
|
|
2361
2365
|
src: _.authorAvatarUrl,
|
|
2362
2366
|
alt: "",
|
|
2363
|
-
className:
|
|
2367
|
+
className: I.avatar,
|
|
2364
2368
|
width: 40,
|
|
2365
2369
|
height: 40
|
|
2366
2370
|
}
|
|
2367
|
-
) : /* @__PURE__ */ e.jsx("div", { className:
|
|
2368
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2369
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2370
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2371
|
+
) : /* @__PURE__ */ e.jsx("div", { className: I.avatarPlaceholder, "aria-hidden": !0 }),
|
|
2372
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.authorInfo, children: [
|
|
2373
|
+
/* @__PURE__ */ e.jsx("span", { className: I.authorName, children: _.authorName }),
|
|
2374
|
+
/* @__PURE__ */ e.jsx("span", { className: I.stars, "aria-hidden": !0, children: "★".repeat(_.rating ?? 5) })
|
|
2371
2375
|
] })
|
|
2372
2376
|
] })
|
|
2373
2377
|
] }, g)) }),
|
|
2374
|
-
l && /* @__PURE__ */ e.jsx("div", { className:
|
|
2378
|
+
l && /* @__PURE__ */ e.jsx("div", { className: I.readMoreWrap, children: /* @__PURE__ */ e.jsxs(
|
|
2375
2379
|
"button",
|
|
2376
2380
|
{
|
|
2377
2381
|
type: "button",
|
|
2378
|
-
className:
|
|
2382
|
+
className: I.toggleBtn,
|
|
2379
2383
|
onClick: () => m((_) => !_),
|
|
2380
2384
|
"aria-expanded": p,
|
|
2381
2385
|
children: [
|
|
2382
2386
|
n(p ? "readLess" : "readMoreReviews"),
|
|
2383
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2387
|
+
/* @__PURE__ */ e.jsx("span", { className: I.arrow, "aria-hidden": !0, children: "›" })
|
|
2384
2388
|
]
|
|
2385
2389
|
}
|
|
2386
2390
|
) }),
|
|
2387
|
-
(c || d) && !l && /* @__PURE__ */ e.jsx("div", { className:
|
|
2391
|
+
(c || d) && !l && /* @__PURE__ */ e.jsx("div", { className: I.readMoreWrap, children: c ? /* @__PURE__ */ e.jsxs(
|
|
2388
2392
|
"a",
|
|
2389
2393
|
{
|
|
2390
2394
|
href: c,
|
|
2391
|
-
className:
|
|
2395
|
+
className: I.readMore,
|
|
2392
2396
|
target: "_blank",
|
|
2393
2397
|
rel: "noopener noreferrer",
|
|
2394
2398
|
children: [
|
|
2395
2399
|
n("readMoreReviews"),
|
|
2396
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2400
|
+
/* @__PURE__ */ e.jsx("span", { className: I.arrow, "aria-hidden": !0, children: "›" })
|
|
2397
2401
|
]
|
|
2398
2402
|
}
|
|
2399
2403
|
) : /* @__PURE__ */ e.jsxs(
|
|
2400
2404
|
"button",
|
|
2401
2405
|
{
|
|
2402
2406
|
type: "button",
|
|
2403
|
-
className:
|
|
2407
|
+
className: I.readMore,
|
|
2404
2408
|
onClick: () => d?.(),
|
|
2405
2409
|
children: [
|
|
2406
2410
|
n("readMoreReviews"),
|
|
2407
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2411
|
+
/* @__PURE__ */ e.jsx("span", { className: I.arrow, "aria-hidden": !0, children: "›" })
|
|
2408
2412
|
]
|
|
2409
2413
|
}
|
|
2410
2414
|
) })
|
|
2411
2415
|
]
|
|
2412
2416
|
}
|
|
2413
2417
|
);
|
|
2414
|
-
},
|
|
2415
|
-
section:
|
|
2416
|
-
heading:
|
|
2417
|
-
accordion:
|
|
2418
|
-
item:
|
|
2419
|
-
itemOpen:
|
|
2420
|
-
question:
|
|
2421
|
-
chevron:
|
|
2422
|
-
chevronOpen:
|
|
2423
|
-
answerWrap:
|
|
2424
|
-
answerOpen:
|
|
2425
|
-
answer:
|
|
2426
|
-
},
|
|
2418
|
+
}, Ri = "_section_1scfq_1", $i = "_heading_1scfq_6", Li = "_accordion_1scfq_11", Oi = "_item_1scfq_15", Di = "_itemOpen_1scfq_21", Bi = "_question_1scfq_25", Fi = "_chevron_1scfq_40", Ui = "_chevronOpen_1scfq_47", Mi = "_answerWrap_1scfq_51", qi = "_answerOpen_1scfq_56", Ki = "_answer_1scfq_51", re = {
|
|
2419
|
+
section: Ri,
|
|
2420
|
+
heading: $i,
|
|
2421
|
+
accordion: Li,
|
|
2422
|
+
item: Oi,
|
|
2423
|
+
itemOpen: Di,
|
|
2424
|
+
question: Bi,
|
|
2425
|
+
chevron: Fi,
|
|
2426
|
+
chevronOpen: Ui,
|
|
2427
|
+
answerWrap: Mi,
|
|
2428
|
+
answerOpen: qi,
|
|
2429
|
+
answer: Ki
|
|
2430
|
+
}, Wi = [
|
|
2427
2431
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2428
2432
|
{ qKey: "faqQ2", aKey: "faqA2" },
|
|
2429
2433
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
2430
|
-
],
|
|
2434
|
+
], Hi = ({
|
|
2431
2435
|
t: n,
|
|
2432
2436
|
className: r = ""
|
|
2433
2437
|
}) => {
|
|
@@ -2439,7 +2443,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2439
2443
|
"aria-labelledby": "faq-heading",
|
|
2440
2444
|
children: [
|
|
2441
2445
|
/* @__PURE__ */ e.jsx("h2", { id: "faq-heading", className: re.heading, children: n("faqTitle") }),
|
|
2442
|
-
/* @__PURE__ */ e.jsx("div", { className: re.accordion, role: "list", children:
|
|
2446
|
+
/* @__PURE__ */ e.jsx("div", { className: re.accordion, role: "list", children: Wi.map((m, l) => {
|
|
2443
2447
|
const v = o === l;
|
|
2444
2448
|
return /* @__PURE__ */ e.jsxs(
|
|
2445
2449
|
"div",
|
|
@@ -2505,13 +2509,13 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2505
2509
|
]
|
|
2506
2510
|
}
|
|
2507
2511
|
);
|
|
2508
|
-
},
|
|
2509
|
-
section:
|
|
2510
|
-
heading:
|
|
2511
|
-
content:
|
|
2512
|
-
line:
|
|
2513
|
-
brandName:
|
|
2514
|
-
},
|
|
2512
|
+
}, Yi = "_section_aphm8_1", Gi = "_heading_aphm8_6", Vi = "_content_aphm8_11", zi = "_line_aphm8_16", Qi = "_brandName_aphm8_20", Ne = {
|
|
2513
|
+
section: Yi,
|
|
2514
|
+
heading: Gi,
|
|
2515
|
+
content: Vi,
|
|
2516
|
+
line: zi,
|
|
2517
|
+
brandName: Qi
|
|
2518
|
+
}, Ji = ({
|
|
2515
2519
|
t: n,
|
|
2516
2520
|
whatsAppNumber: r,
|
|
2517
2521
|
email: c,
|
|
@@ -2527,36 +2531,36 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2527
2531
|
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com", p) })
|
|
2528
2532
|
] })
|
|
2529
2533
|
] });
|
|
2530
|
-
}, gt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", vt = "https://srm-cdn.a4b.io/yoda/
|
|
2531
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2532
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2533
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2534
|
+
}, gt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", vt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Xi = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: R.marqueeTrack, children: [
|
|
2535
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, children: [
|
|
2536
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2537
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2534
2538
|
n("ctaKundliCreated")
|
|
2535
2539
|
] }),
|
|
2536
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2537
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2540
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2541
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2538
2542
|
n("ctaCertified")
|
|
2539
2543
|
] }),
|
|
2540
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2541
|
-
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className:
|
|
2544
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2545
|
+
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2542
2546
|
n("ctaSecurePayment")
|
|
2543
2547
|
] })
|
|
2544
2548
|
] }),
|
|
2545
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2546
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2547
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2549
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, "aria-hidden": !0, children: [
|
|
2550
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2551
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2548
2552
|
n("ctaKundliCreated")
|
|
2549
2553
|
] }),
|
|
2550
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2551
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2554
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2555
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2552
2556
|
n("ctaCertified")
|
|
2553
2557
|
] }),
|
|
2554
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2555
|
-
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className:
|
|
2558
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2559
|
+
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2556
2560
|
n("ctaSecurePayment")
|
|
2557
2561
|
] })
|
|
2558
2562
|
] })
|
|
2559
|
-
] }),
|
|
2563
|
+
] }), Zi = ({
|
|
2560
2564
|
t: n,
|
|
2561
2565
|
onCtaClick: r,
|
|
2562
2566
|
ctaHref: c,
|
|
@@ -2564,7 +2568,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2564
2568
|
}) => {
|
|
2565
2569
|
const o = Te(), f = o?.config.isGlobal ?? !0, p = f ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", m = f ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2566
2570
|
n("ctaButtonBefore"),
|
|
2567
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2571
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: p }),
|
|
2568
2572
|
" ",
|
|
2569
2573
|
m
|
|
2570
2574
|
] });
|
|
@@ -2572,11 +2576,11 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2572
2576
|
Pt,
|
|
2573
2577
|
{
|
|
2574
2578
|
className: d,
|
|
2575
|
-
marquee: /* @__PURE__ */ e.jsx(
|
|
2579
|
+
marquee: /* @__PURE__ */ e.jsx(Xi, { t: n }),
|
|
2576
2580
|
children: /* @__PURE__ */ e.jsx(Tt, { href: c, onClick: r, children: l })
|
|
2577
2581
|
}
|
|
2578
2582
|
);
|
|
2579
|
-
},
|
|
2583
|
+
}, eo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", to = "AIzaSyCEsEBy-JYuu9SSITQrpYU3tpaq5HQOhi4", no = (n, r) => ze[n]?.[r] ?? r, ao = {
|
|
2580
2584
|
fullName: "",
|
|
2581
2585
|
phone: "",
|
|
2582
2586
|
email: "",
|
|
@@ -2584,7 +2588,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2584
2588
|
birthTime: "",
|
|
2585
2589
|
birthTimeUnknown: !1,
|
|
2586
2590
|
birthPlace: ""
|
|
2587
|
-
},
|
|
2591
|
+
}, ro = ({
|
|
2588
2592
|
className: n = "",
|
|
2589
2593
|
locale: r,
|
|
2590
2594
|
showLanguageSelector: c = !0,
|
|
@@ -2595,43 +2599,43 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2595
2599
|
originalPriceLabel: m,
|
|
2596
2600
|
discountedPriceLabel: l,
|
|
2597
2601
|
discountPillLabel: v,
|
|
2598
|
-
googleMapsApiKey: _ =
|
|
2602
|
+
googleMapsApiKey: _ = to,
|
|
2599
2603
|
analytics: g
|
|
2600
2604
|
}) => {
|
|
2601
|
-
const
|
|
2605
|
+
const x = Te(), T = jt(), j = x !== null, k = j ? x.locale : r, y = k ?? T?.locale ?? "en", [L, w] = W(y), E = j ? x.locale : L, U = j ? x.setLocale : w, [S, z] = W(!1), O = K(null), G = K(k), D = K(
|
|
2602
2606
|
T?.locale
|
|
2603
2607
|
);
|
|
2604
|
-
|
|
2608
|
+
Y(() => {
|
|
2605
2609
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2606
2610
|
}, []);
|
|
2607
|
-
const H = (a) =>
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
}, [
|
|
2611
|
-
if (
|
|
2611
|
+
const H = (a) => no(E, a);
|
|
2612
|
+
Y(() => {
|
|
2613
|
+
k && G.current !== k && U(k), G.current = k;
|
|
2614
|
+
}, [k, U]), Y(() => {
|
|
2615
|
+
if (k) return;
|
|
2612
2616
|
const a = T?.locale;
|
|
2613
2617
|
a && D.current !== a && U(a), D.current = a;
|
|
2614
|
-
}, [T?.locale,
|
|
2618
|
+
}, [T?.locale, k, U]);
|
|
2615
2619
|
const [X, B] = W({
|
|
2616
|
-
...
|
|
2620
|
+
...ao,
|
|
2617
2621
|
...o,
|
|
2618
2622
|
phone: o?.phone ?? ""
|
|
2619
|
-
}), M = j ?
|
|
2620
|
-
|
|
2623
|
+
}), M = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, de = j ? x.onProceed : f, ye = j ? x.config.proceedHref : p, he = j ? x.config.originalPriceLabel : m, fe = j ? x.config.discountedPriceLabel : l, pe = j ? x.config.discountPillLabel : v, _e = j ? x.config.showLanguageSelector ?? !0 : c, ie = (j ? x?.config?.analytics : g) ?? g;
|
|
2624
|
+
Y(() => {
|
|
2621
2625
|
if (!S) return;
|
|
2622
2626
|
const a = (h) => {
|
|
2623
|
-
O.current && !O.current.contains(h.target) &&
|
|
2627
|
+
O.current && !O.current.contains(h.target) && z(!1);
|
|
2624
2628
|
};
|
|
2625
2629
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2626
2630
|
}, [S]);
|
|
2627
|
-
const
|
|
2631
|
+
const ge = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref: O, children: [
|
|
2628
2632
|
/* @__PURE__ */ e.jsxs(
|
|
2629
2633
|
"button",
|
|
2630
2634
|
{
|
|
2631
2635
|
type: "button",
|
|
2632
2636
|
className: oe.langTrigger,
|
|
2633
2637
|
onClick: () => {
|
|
2634
|
-
ie?.trackLanguageClickedFe?.({ language: E }),
|
|
2638
|
+
ie?.trackLanguageClickedFe?.({ language: E }), z((a) => !a);
|
|
2635
2639
|
},
|
|
2636
2640
|
"aria-expanded": S,
|
|
2637
2641
|
"aria-haspopup": "listbox",
|
|
@@ -2641,7 +2645,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2641
2645
|
/* @__PURE__ */ e.jsx(
|
|
2642
2646
|
"img",
|
|
2643
2647
|
{
|
|
2644
|
-
src:
|
|
2648
|
+
src: eo,
|
|
2645
2649
|
alt: "",
|
|
2646
2650
|
className: oe.langIcon,
|
|
2647
2651
|
width: 16,
|
|
@@ -2668,7 +2672,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2668
2672
|
"aria-selected": a === E,
|
|
2669
2673
|
className: oe.langOption,
|
|
2670
2674
|
onClick: () => {
|
|
2671
|
-
ie?.trackLanguageChangedFe?.({ newLanguage: a }), U(a),
|
|
2675
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: a }), U(a), z(!1);
|
|
2672
2676
|
},
|
|
2673
2677
|
children: Ue[a]
|
|
2674
2678
|
},
|
|
@@ -2682,8 +2686,8 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2682
2686
|
At,
|
|
2683
2687
|
{
|
|
2684
2688
|
t: H,
|
|
2685
|
-
logoUrl: j ?
|
|
2686
|
-
languageSelector:
|
|
2689
|
+
logoUrl: j ? x.config.logoUrl : void 0,
|
|
2690
|
+
languageSelector: ge,
|
|
2687
2691
|
className: oe.kundliHeaderNoBorder
|
|
2688
2692
|
}
|
|
2689
2693
|
),
|
|
@@ -2691,11 +2695,11 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2691
2695
|
/* @__PURE__ */ e.jsxs("main", { className: oe.main, children: [
|
|
2692
2696
|
/* @__PURE__ */ e.jsx(On, { t: H, onBack: ee }),
|
|
2693
2697
|
/* @__PURE__ */ e.jsx(
|
|
2694
|
-
|
|
2698
|
+
xa,
|
|
2695
2699
|
{
|
|
2696
2700
|
t: H,
|
|
2697
2701
|
values: M,
|
|
2698
|
-
onChange:
|
|
2702
|
+
onChange: V,
|
|
2699
2703
|
googleMapsApiKey: _
|
|
2700
2704
|
}
|
|
2701
2705
|
)
|
|
@@ -2705,23 +2709,23 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2705
2709
|
{
|
|
2706
2710
|
t: H,
|
|
2707
2711
|
values: M,
|
|
2708
|
-
onProceed:
|
|
2709
|
-
href:
|
|
2710
|
-
originalPriceLabel:
|
|
2711
|
-
discountedPriceLabel:
|
|
2712
|
-
discountPillLabel:
|
|
2712
|
+
onProceed: de,
|
|
2713
|
+
href: ye,
|
|
2714
|
+
originalPriceLabel: he,
|
|
2715
|
+
discountedPriceLabel: fe,
|
|
2716
|
+
discountPillLabel: pe,
|
|
2713
2717
|
analytics: ie
|
|
2714
2718
|
}
|
|
2715
2719
|
)
|
|
2716
2720
|
] });
|
|
2717
|
-
},
|
|
2721
|
+
}, io = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", oo = (n, r) => ze[n]?.[r] ?? r, so = 112;
|
|
2718
2722
|
function le({
|
|
2719
2723
|
section: n,
|
|
2720
2724
|
children: r,
|
|
2721
2725
|
onImpression: c
|
|
2722
2726
|
}) {
|
|
2723
2727
|
const d = K(null), o = K(!1);
|
|
2724
|
-
return
|
|
2728
|
+
return Y(() => {
|
|
2725
2729
|
const f = d.current;
|
|
2726
2730
|
if (!f) return;
|
|
2727
2731
|
const p = new IntersectionObserver(
|
|
@@ -2731,17 +2735,17 @@ function le({
|
|
|
2731
2735
|
{
|
|
2732
2736
|
threshold: 0.1,
|
|
2733
2737
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
2734
|
-
rootMargin: `0px 0px -${
|
|
2738
|
+
rootMargin: `0px 0px -${so}px 0px`
|
|
2735
2739
|
}
|
|
2736
2740
|
);
|
|
2737
2741
|
return p.observe(f), () => p.disconnect();
|
|
2738
2742
|
}, [n, c]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2739
2743
|
}
|
|
2740
|
-
function
|
|
2744
|
+
function co({ className: n }) {
|
|
2741
2745
|
const { view: r } = Nt();
|
|
2742
|
-
return r === "form" ? /* @__PURE__ */ e.jsx(
|
|
2746
|
+
return r === "form" ? /* @__PURE__ */ e.jsx(ro, {}) : /* @__PURE__ */ e.jsx(lo, { className: n });
|
|
2743
2747
|
}
|
|
2744
|
-
function
|
|
2748
|
+
function lo({ className: n }) {
|
|
2745
2749
|
const r = jt(), {
|
|
2746
2750
|
locale: c,
|
|
2747
2751
|
setLocale: d,
|
|
@@ -2750,27 +2754,27 @@ function co({ className: n }) {
|
|
|
2750
2754
|
} = Nt(), [p, m] = W(!1), l = K(null), v = K(o.locale), _ = K(
|
|
2751
2755
|
r?.locale
|
|
2752
2756
|
);
|
|
2753
|
-
|
|
2757
|
+
Y(() => {
|
|
2754
2758
|
o.locale && v.current !== o.locale && d(o.locale), v.current = o.locale;
|
|
2755
|
-
}, [o.locale, d]),
|
|
2759
|
+
}, [o.locale, d]), Y(() => {
|
|
2756
2760
|
if (o.locale) return;
|
|
2757
|
-
const
|
|
2758
|
-
|
|
2759
|
-
}, [r?.locale, o.locale, d]),
|
|
2761
|
+
const y = r?.locale;
|
|
2762
|
+
y && _.current !== y && d(y), _.current = y;
|
|
2763
|
+
}, [r?.locale, o.locale, d]), Y(() => {
|
|
2760
2764
|
if (!p) return;
|
|
2761
|
-
const
|
|
2765
|
+
const y = (L) => {
|
|
2762
2766
|
l.current && !l.current.contains(L.target) && m(!1);
|
|
2763
2767
|
};
|
|
2764
|
-
return document.addEventListener("mousedown",
|
|
2768
|
+
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
2765
2769
|
}, [p]);
|
|
2766
|
-
const g = (
|
|
2770
|
+
const g = (y) => oo(c, y), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: me.langDropdownWrap, ref: l, children: [
|
|
2767
2771
|
/* @__PURE__ */ e.jsxs(
|
|
2768
2772
|
"button",
|
|
2769
2773
|
{
|
|
2770
2774
|
type: "button",
|
|
2771
|
-
className:
|
|
2775
|
+
className: me.langTrigger,
|
|
2772
2776
|
onClick: () => {
|
|
2773
|
-
o.analytics?.trackLanguageClickedFe?.({ language: c }), m((
|
|
2777
|
+
o.analytics?.trackLanguageClickedFe?.({ language: c }), m((y) => !y);
|
|
2774
2778
|
},
|
|
2775
2779
|
"aria-expanded": p,
|
|
2776
2780
|
"aria-haspopup": "listbox",
|
|
@@ -2780,54 +2784,54 @@ function co({ className: n }) {
|
|
|
2780
2784
|
/* @__PURE__ */ e.jsx(
|
|
2781
2785
|
"img",
|
|
2782
2786
|
{
|
|
2783
|
-
src:
|
|
2787
|
+
src: io,
|
|
2784
2788
|
alt: "",
|
|
2785
|
-
className:
|
|
2789
|
+
className: me.langIcon,
|
|
2786
2790
|
width: 16,
|
|
2787
2791
|
height: 16,
|
|
2788
2792
|
"aria-hidden": !0
|
|
2789
2793
|
}
|
|
2790
2794
|
),
|
|
2791
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2795
|
+
/* @__PURE__ */ e.jsx("span", { className: me.langLabel, children: Ue[c] })
|
|
2792
2796
|
]
|
|
2793
2797
|
}
|
|
2794
2798
|
),
|
|
2795
2799
|
p && /* @__PURE__ */ e.jsx(
|
|
2796
2800
|
"ul",
|
|
2797
2801
|
{
|
|
2798
|
-
className:
|
|
2802
|
+
className: me.langMenu,
|
|
2799
2803
|
role: "listbox",
|
|
2800
2804
|
"aria-labelledby": "kundli-lang",
|
|
2801
2805
|
"aria-activedescendant": `kundli-lang-option-${c}`,
|
|
2802
|
-
children: Ve.map((
|
|
2806
|
+
children: Ve.map((y) => /* @__PURE__ */ e.jsx(
|
|
2803
2807
|
"li",
|
|
2804
2808
|
{
|
|
2805
|
-
id: `kundli-lang-option-${
|
|
2809
|
+
id: `kundli-lang-option-${y}`,
|
|
2806
2810
|
role: "option",
|
|
2807
|
-
"aria-selected":
|
|
2808
|
-
className:
|
|
2811
|
+
"aria-selected": y === c,
|
|
2812
|
+
className: me.langOption,
|
|
2809
2813
|
onClick: () => {
|
|
2810
|
-
o.analytics?.trackLanguageChangedFe?.({ newLanguage:
|
|
2814
|
+
o.analytics?.trackLanguageChangedFe?.({ newLanguage: y }), d(y), m(!1);
|
|
2811
2815
|
},
|
|
2812
|
-
children: Ue[
|
|
2816
|
+
children: Ue[y]
|
|
2813
2817
|
},
|
|
2814
|
-
|
|
2818
|
+
y
|
|
2815
2819
|
))
|
|
2816
2820
|
}
|
|
2817
2821
|
)
|
|
2818
|
-
] }) : null, j = (
|
|
2819
|
-
const L =
|
|
2822
|
+
] }) : null, j = (y) => {
|
|
2823
|
+
const L = y.currentTarget.innerText?.trim() ?? g("ctaButtonAfter");
|
|
2820
2824
|
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: L }), f(), o.onCtaClick?.();
|
|
2821
|
-
},
|
|
2822
|
-
(
|
|
2825
|
+
}, k = Pe(
|
|
2826
|
+
(y) => {
|
|
2823
2827
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
2824
|
-
section:
|
|
2828
|
+
section: y,
|
|
2825
2829
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
2826
2830
|
});
|
|
2827
2831
|
},
|
|
2828
2832
|
[o.analytics]
|
|
2829
2833
|
);
|
|
2830
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2834
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${me.container} ${n}`, children: [
|
|
2831
2835
|
/* @__PURE__ */ e.jsx(
|
|
2832
2836
|
At,
|
|
2833
2837
|
{
|
|
@@ -2836,12 +2840,12 @@ function co({ className: n }) {
|
|
|
2836
2840
|
languageSelector: T
|
|
2837
2841
|
}
|
|
2838
2842
|
),
|
|
2839
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
2843
|
+
/* @__PURE__ */ e.jsxs("main", { className: me.main, children: [
|
|
2840
2844
|
/* @__PURE__ */ e.jsx(
|
|
2841
2845
|
le,
|
|
2842
2846
|
{
|
|
2843
2847
|
section: "hero",
|
|
2844
|
-
onImpression:
|
|
2848
|
+
onImpression: k,
|
|
2845
2849
|
children: /* @__PURE__ */ e.jsx(tr, { t: g })
|
|
2846
2850
|
}
|
|
2847
2851
|
),
|
|
@@ -2849,7 +2853,7 @@ function co({ className: n }) {
|
|
|
2849
2853
|
le,
|
|
2850
2854
|
{
|
|
2851
2855
|
section: "premium_report_overview",
|
|
2852
|
-
onImpression:
|
|
2856
|
+
onImpression: k,
|
|
2853
2857
|
children: /* @__PURE__ */ e.jsx(
|
|
2854
2858
|
gr,
|
|
2855
2859
|
{
|
|
@@ -2864,12 +2868,12 @@ function co({ className: n }) {
|
|
|
2864
2868
|
le,
|
|
2865
2869
|
{
|
|
2866
2870
|
section: "university_certification",
|
|
2867
|
-
onImpression:
|
|
2871
|
+
onImpression: k,
|
|
2868
2872
|
children: /* @__PURE__ */ e.jsx(
|
|
2869
|
-
|
|
2873
|
+
xr,
|
|
2870
2874
|
{
|
|
2871
2875
|
t: g,
|
|
2872
|
-
logoUrl: o.universityLogoUrls?.find((
|
|
2876
|
+
logoUrl: o.universityLogoUrls?.find((y) => !!y)
|
|
2873
2877
|
}
|
|
2874
2878
|
)
|
|
2875
2879
|
}
|
|
@@ -2878,7 +2882,7 @@ function co({ className: n }) {
|
|
|
2878
2882
|
le,
|
|
2879
2883
|
{
|
|
2880
2884
|
section: "three_steps_process",
|
|
2881
|
-
onImpression:
|
|
2885
|
+
onImpression: k,
|
|
2882
2886
|
children: /* @__PURE__ */ e.jsx(Ir, { t: g, locale: c })
|
|
2883
2887
|
}
|
|
2884
2888
|
),
|
|
@@ -2886,7 +2890,7 @@ function co({ className: n }) {
|
|
|
2886
2890
|
le,
|
|
2887
2891
|
{
|
|
2888
2892
|
section: "view_sample_report",
|
|
2889
|
-
onImpression:
|
|
2893
|
+
onImpression: k,
|
|
2890
2894
|
children: /* @__PURE__ */ e.jsx(
|
|
2891
2895
|
Wr,
|
|
2892
2896
|
{
|
|
@@ -2902,7 +2906,7 @@ function co({ className: n }) {
|
|
|
2902
2906
|
le,
|
|
2903
2907
|
{
|
|
2904
2908
|
section: "what_youll_find",
|
|
2905
|
-
onImpression:
|
|
2909
|
+
onImpression: k,
|
|
2906
2910
|
children: /* @__PURE__ */ e.jsx(ai, { t: g })
|
|
2907
2911
|
}
|
|
2908
2912
|
),
|
|
@@ -2910,7 +2914,7 @@ function co({ className: n }) {
|
|
|
2910
2914
|
le,
|
|
2911
2915
|
{
|
|
2912
2916
|
section: "why_us",
|
|
2913
|
-
onImpression:
|
|
2917
|
+
onImpression: k,
|
|
2914
2918
|
children: /* @__PURE__ */ e.jsx(di, { t: g })
|
|
2915
2919
|
}
|
|
2916
2920
|
),
|
|
@@ -2918,29 +2922,29 @@ function co({ className: n }) {
|
|
|
2918
2922
|
le,
|
|
2919
2923
|
{
|
|
2920
2924
|
section: "feedback",
|
|
2921
|
-
onImpression:
|
|
2922
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2925
|
+
onImpression: k,
|
|
2926
|
+
children: /* @__PURE__ */ e.jsx(Ii, { t: g, readMoreHref: o.readMoreReviewsHref })
|
|
2923
2927
|
}
|
|
2924
2928
|
),
|
|
2925
2929
|
/* @__PURE__ */ e.jsx(
|
|
2926
2930
|
le,
|
|
2927
2931
|
{
|
|
2928
2932
|
section: "faq",
|
|
2929
|
-
onImpression:
|
|
2930
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2933
|
+
onImpression: k,
|
|
2934
|
+
children: /* @__PURE__ */ e.jsx(Hi, { t: g })
|
|
2931
2935
|
}
|
|
2932
2936
|
),
|
|
2933
2937
|
/* @__PURE__ */ e.jsx(
|
|
2934
2938
|
le,
|
|
2935
2939
|
{
|
|
2936
2940
|
section: "contact_us",
|
|
2937
|
-
onImpression:
|
|
2938
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2941
|
+
onImpression: k,
|
|
2942
|
+
children: /* @__PURE__ */ e.jsx(Ji, { t: g })
|
|
2939
2943
|
}
|
|
2940
2944
|
)
|
|
2941
2945
|
] }),
|
|
2942
2946
|
/* @__PURE__ */ e.jsx(
|
|
2943
|
-
|
|
2947
|
+
Zi,
|
|
2944
2948
|
{
|
|
2945
2949
|
t: g,
|
|
2946
2950
|
ctaHref: o.ctaHref,
|
|
@@ -2949,7 +2953,7 @@ function co({ className: n }) {
|
|
|
2949
2953
|
)
|
|
2950
2954
|
] });
|
|
2951
2955
|
}
|
|
2952
|
-
const
|
|
2956
|
+
const po = ({
|
|
2953
2957
|
className: n = "",
|
|
2954
2958
|
locale: r,
|
|
2955
2959
|
showLanguageSelector: c = !0,
|
|
@@ -2962,11 +2966,11 @@ const fo = ({
|
|
|
2962
2966
|
onViewSampleReport: v,
|
|
2963
2967
|
ctaHref: _,
|
|
2964
2968
|
onCtaClick: g,
|
|
2965
|
-
readMoreReviewsHref:
|
|
2969
|
+
readMoreReviewsHref: x,
|
|
2966
2970
|
onProceed: T,
|
|
2967
2971
|
proceedHref: j,
|
|
2968
|
-
originalPriceLabel:
|
|
2969
|
-
discountedPriceLabel:
|
|
2972
|
+
originalPriceLabel: k,
|
|
2973
|
+
discountedPriceLabel: y,
|
|
2970
2974
|
discountPillLabel: L,
|
|
2971
2975
|
analytics: w,
|
|
2972
2976
|
onLocaleChange: E
|
|
@@ -2984,17 +2988,17 @@ const fo = ({
|
|
|
2984
2988
|
onViewSampleReport: v,
|
|
2985
2989
|
ctaHref: _,
|
|
2986
2990
|
onCtaClick: g,
|
|
2987
|
-
readMoreReviewsHref:
|
|
2991
|
+
readMoreReviewsHref: x,
|
|
2988
2992
|
onProceed: T,
|
|
2989
2993
|
proceedHref: j,
|
|
2990
|
-
originalPriceLabel:
|
|
2991
|
-
discountedPriceLabel:
|
|
2994
|
+
originalPriceLabel: k,
|
|
2995
|
+
discountedPriceLabel: y,
|
|
2992
2996
|
discountPillLabel: L,
|
|
2993
2997
|
analytics: w,
|
|
2994
2998
|
onLocaleChange: E,
|
|
2995
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2999
|
+
children: /* @__PURE__ */ e.jsx(co, { className: n })
|
|
2996
3000
|
}
|
|
2997
|
-
),
|
|
3001
|
+
), _o = {
|
|
2998
3002
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2999
3003
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3000
3004
|
language_changed_fe: "language_changed_fe",
|
|
@@ -3026,18 +3030,18 @@ const fo = ({
|
|
|
3026
3030
|
kundli_form_view: "kundli_form_view"
|
|
3027
3031
|
};
|
|
3028
3032
|
export {
|
|
3029
|
-
|
|
3030
|
-
|
|
3033
|
+
mo as I18nProvider,
|
|
3034
|
+
_o as KUNDLI_ANALYTICS_EVENT_NAMES,
|
|
3031
3035
|
wt as KUNDLI_LANGUAGE_STORAGE_KEY,
|
|
3032
3036
|
Qe as KundliContext,
|
|
3033
|
-
|
|
3034
|
-
|
|
3037
|
+
ro as KundliForm,
|
|
3038
|
+
po as KundliPage,
|
|
3035
3039
|
Tn as KundliProvider,
|
|
3036
3040
|
Ve as SUPPORTED_LOCALES,
|
|
3037
|
-
|
|
3041
|
+
xn as getItem,
|
|
3038
3042
|
wn as getStoredKundliLocale,
|
|
3039
|
-
|
|
3040
|
-
|
|
3043
|
+
fo as isLocalStorageAvailable,
|
|
3044
|
+
ho as removeItem,
|
|
3041
3045
|
jn as setItem,
|
|
3042
3046
|
Nn as setStoredKundliLocale,
|
|
3043
3047
|
jt as useI18n,
|