@srimandir/kundli-generator 9.6.8 → 10.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/{analytics-DXIMIqu9.js → analytics-BcuxsZ76.js} +499 -495
- package/dist/{analytics-DXIMIqu9.js.map → analytics-BcuxsZ76.js.map} +1 -1
- package/dist/{criticalCss-CbNdtrKw.js → criticalCss-BfwIYu3m.js} +317 -313
- package/dist/criticalCss-BfwIYu3m.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-CbNdtrKw.js.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import na, { useContext as oa, createContext as Ta, useState as B, useRef as M, useEffect as q, useMemo as Ee, useCallback as je, Fragment as Va } from "react";
|
|
2
2
|
import { FormSectionHeader as Ja, FooterCTAButton as za, FooterShell as Qa, CircularMarquee as Xa, footerShellStyles as Fe, PageHeader as Za } from "@srimandir/astrology-common";
|
|
3
|
+
import { createPortal as et } from "react-dom";
|
|
3
4
|
var Ve = { exports: {} }, He = {};
|
|
4
5
|
var ga;
|
|
5
|
-
function
|
|
6
|
+
function at() {
|
|
6
7
|
if (ga) return He;
|
|
7
8
|
ga = 1;
|
|
8
9
|
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, g = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -17,7 +18,7 @@ function et() {
|
|
|
17
18
|
}
|
|
18
19
|
var We = {};
|
|
19
20
|
var ba;
|
|
20
|
-
function
|
|
21
|
+
function tt() {
|
|
21
22
|
return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
23
|
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), g = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), w = /* @__PURE__ */ Symbol.for("react.context"), b = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), U = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, R = "@@iterator";
|
|
23
24
|
function y(a) {
|
|
@@ -38,16 +39,16 @@ function at() {
|
|
|
38
39
|
{
|
|
39
40
|
var v = _.ReactDebugCurrentFrame, W = v.getStackAddendum();
|
|
40
41
|
W !== "" && (s += "%s", u = u.concat([W]));
|
|
41
|
-
var
|
|
42
|
+
var Q = u.map(function(F) {
|
|
42
43
|
return String(F);
|
|
43
44
|
});
|
|
44
|
-
|
|
45
|
+
Q.unshift("Warning: " + s), Function.prototype.apply.call(console[a], console, Q);
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
var C = !1,
|
|
48
|
+
var C = !1, V = !1, x = !1, J = !1, j = !1, E;
|
|
48
49
|
E = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
50
|
function se(a) {
|
|
50
|
-
return !!(typeof a == "string" || typeof a == "function" || a === c || a === k || j || a === g || a === Y || a === D ||
|
|
51
|
+
return !!(typeof a == "string" || typeof a == "function" || a === c || a === k || j || a === g || a === Y || a === D || J || a === U || C || V || x || typeof a == "object" && a !== null && (a.$$typeof === p || a.$$typeof === N || a.$$typeof === h || a.$$typeof === w || a.$$typeof === b || // This needs to include all possible module reference object
|
|
51
52
|
// types supported by any Flight configuration anywhere since
|
|
52
53
|
// we don't know which Flight build this will end up being used
|
|
53
54
|
// with.
|
|
@@ -98,9 +99,9 @@ function at() {
|
|
|
98
99
|
var v = a.displayName || null;
|
|
99
100
|
return v !== null ? v : I(a.type) || "Memo";
|
|
100
101
|
case p: {
|
|
101
|
-
var W = a,
|
|
102
|
+
var W = a, Q = W._payload, F = W._init;
|
|
102
103
|
try {
|
|
103
|
-
return I(F(
|
|
104
|
+
return I(F(Q));
|
|
104
105
|
} catch {
|
|
105
106
|
return null;
|
|
106
107
|
}
|
|
@@ -201,8 +202,8 @@ function at() {
|
|
|
201
202
|
H = !0;
|
|
202
203
|
var W = Error.prepareStackTrace;
|
|
203
204
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
205
|
+
var Q;
|
|
206
|
+
Q = pe.current, pe.current = null, Re();
|
|
206
207
|
try {
|
|
207
208
|
if (s) {
|
|
208
209
|
var F = function() {
|
|
@@ -255,7 +256,7 @@ function at() {
|
|
|
255
256
|
}
|
|
256
257
|
}
|
|
257
258
|
} finally {
|
|
258
|
-
H = !1, pe.current =
|
|
259
|
+
H = !1, pe.current = Q, _e(), Error.prepareStackTrace = W;
|
|
259
260
|
}
|
|
260
261
|
var Ge = a ? a.displayName || a.name : "", Ie = Ge ? oe(Ge) : "";
|
|
261
262
|
return typeof a == "function" && me.set(a, Ie), Ie;
|
|
@@ -287,9 +288,9 @@ function at() {
|
|
|
287
288
|
case N:
|
|
288
289
|
return Ne(a.type, s, u);
|
|
289
290
|
case p: {
|
|
290
|
-
var v = a, W = v._payload,
|
|
291
|
+
var v = a, W = v._payload, Q = v._init;
|
|
291
292
|
try {
|
|
292
|
-
return Ne(
|
|
293
|
+
return Ne(Q(W), s, u);
|
|
293
294
|
} catch {
|
|
294
295
|
}
|
|
295
296
|
}
|
|
@@ -306,9 +307,9 @@ function at() {
|
|
|
306
307
|
}
|
|
307
308
|
function Be(a, s, u, v, W) {
|
|
308
309
|
{
|
|
309
|
-
var
|
|
310
|
+
var Q = Function.call.bind(Pe);
|
|
310
311
|
for (var F in a)
|
|
311
|
-
if (
|
|
312
|
+
if (Q(a, F)) {
|
|
312
313
|
var L = void 0;
|
|
313
314
|
try {
|
|
314
315
|
if (typeof a[F] != "function") {
|
|
@@ -352,7 +353,7 @@ function at() {
|
|
|
352
353
|
ref: !0,
|
|
353
354
|
__self: !0,
|
|
354
355
|
__source: !0
|
|
355
|
-
},
|
|
356
|
+
}, z, Se;
|
|
356
357
|
function $e(a) {
|
|
357
358
|
if (Pe.call(a, "ref")) {
|
|
358
359
|
var s = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
@@ -375,7 +376,7 @@ function at() {
|
|
|
375
376
|
function Da(a, s) {
|
|
376
377
|
{
|
|
377
378
|
var u = function() {
|
|
378
|
-
|
|
379
|
+
z || (z = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
379
380
|
};
|
|
380
381
|
u.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
381
382
|
get: u,
|
|
@@ -394,7 +395,7 @@ function at() {
|
|
|
394
395
|
});
|
|
395
396
|
}
|
|
396
397
|
}
|
|
397
|
-
var Ia = function(a, s, u, v, W,
|
|
398
|
+
var Ia = function(a, s, u, v, W, Q, F) {
|
|
398
399
|
var L = {
|
|
399
400
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
401
|
$$typeof: n,
|
|
@@ -404,7 +405,7 @@ function at() {
|
|
|
404
405
|
ref: u,
|
|
405
406
|
props: F,
|
|
406
407
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
408
|
+
_owner: Q
|
|
408
409
|
};
|
|
409
410
|
return L._store = {}, Object.defineProperty(L._store, "validated", {
|
|
410
411
|
configurable: !1,
|
|
@@ -425,14 +426,14 @@ function at() {
|
|
|
425
426
|
};
|
|
426
427
|
function Fa(a, s, u, v, W) {
|
|
427
428
|
{
|
|
428
|
-
var
|
|
429
|
+
var Q, F = {}, L = null, Ae = null;
|
|
429
430
|
u !== void 0 && (be(u), L = "" + u), ze(s) && (be(s.key), L = "" + s.key), $e(s) && (Ae = s.ref, Ba(s, W));
|
|
430
|
-
for (
|
|
431
|
-
Pe.call(s,
|
|
431
|
+
for (Q in s)
|
|
432
|
+
Pe.call(s, Q) && !d.hasOwnProperty(Q) && (F[Q] = s[Q]);
|
|
432
433
|
if (a && a.defaultProps) {
|
|
433
434
|
var le = a.defaultProps;
|
|
434
|
-
for (
|
|
435
|
-
F[
|
|
435
|
+
for (Q in le)
|
|
436
|
+
F[Q] === void 0 && (F[Q] = le[Q]);
|
|
436
437
|
}
|
|
437
438
|
if (L || Ae) {
|
|
438
439
|
var de = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
@@ -509,7 +510,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
509
510
|
else if (a) {
|
|
510
511
|
var W = y(a);
|
|
511
512
|
if (typeof W == "function" && W !== a.entries)
|
|
512
|
-
for (var
|
|
513
|
+
for (var Q = W.call(a), F; !(F = Q.next()).done; )
|
|
513
514
|
Ze(F.value) && pa(F.value, s);
|
|
514
515
|
}
|
|
515
516
|
}
|
|
@@ -552,7 +553,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
552
553
|
}
|
|
553
554
|
}
|
|
554
555
|
var fa = {};
|
|
555
|
-
function ha(a, s, u, v, W,
|
|
556
|
+
function ha(a, s, u, v, W, Q) {
|
|
556
557
|
{
|
|
557
558
|
var F = se(a);
|
|
558
559
|
if (!F) {
|
|
@@ -563,7 +564,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
563
564
|
var le;
|
|
564
565
|
a === null ? le = "null" : P(a) ? le = "array" : a !== void 0 && a.$$typeof === n ? (le = "<" + (I(a.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : le = typeof a, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, L);
|
|
565
566
|
}
|
|
566
|
-
var de = Fa(a, s, u, W,
|
|
567
|
+
var de = Fa(a, s, u, W, Q);
|
|
567
568
|
if (de == null)
|
|
568
569
|
return de;
|
|
569
570
|
if (F) {
|
|
@@ -607,21 +608,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
607
608
|
})()), We;
|
|
608
609
|
}
|
|
609
610
|
var _a;
|
|
610
|
-
function
|
|
611
|
-
return _a || (_a = 1, process.env.NODE_ENV === "production" ? Ve.exports =
|
|
611
|
+
function rt() {
|
|
612
|
+
return _a || (_a = 1, process.env.NODE_ENV === "production" ? Ve.exports = at() : Ve.exports = tt()), Ve.exports;
|
|
612
613
|
}
|
|
613
|
-
var e =
|
|
614
|
-
const
|
|
615
|
-
container:
|
|
616
|
-
main:
|
|
617
|
-
kundliHeaderNoBorder:
|
|
618
|
-
headerSeparator:
|
|
619
|
-
langDropdownWrap:
|
|
620
|
-
langTrigger:
|
|
621
|
-
langIcon:
|
|
622
|
-
langLabel:
|
|
623
|
-
langMenu:
|
|
624
|
-
langOption:
|
|
614
|
+
var e = rt();
|
|
615
|
+
const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBorder_1e1th_12", lt = "_headerSeparator_1e1th_16", st = "_langDropdownWrap_1e1th_21", ct = "_langTrigger_1e1th_25", dt = "_langIcon_1e1th_37", ut = "_langLabel_1e1th_44", pt = "_langMenu_1e1th_49", mt = "_langOption_1e1th_55", Le = {
|
|
616
|
+
container: nt,
|
|
617
|
+
main: ot,
|
|
618
|
+
kundliHeaderNoBorder: it,
|
|
619
|
+
headerSeparator: lt,
|
|
620
|
+
langDropdownWrap: st,
|
|
621
|
+
langTrigger: ct,
|
|
622
|
+
langIcon: dt,
|
|
623
|
+
langLabel: ut,
|
|
624
|
+
langMenu: pt,
|
|
625
|
+
langOption: mt
|
|
625
626
|
}, Pa = [
|
|
626
627
|
"en",
|
|
627
628
|
"hi",
|
|
@@ -638,7 +639,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
638
639
|
ta: "தமிழ்",
|
|
639
640
|
te: "తెలుగు",
|
|
640
641
|
kn: "ಕನ್ನಡ"
|
|
641
|
-
},
|
|
642
|
+
}, ft = {
|
|
642
643
|
kundli: "Kundli",
|
|
643
644
|
birthChart: "Birth Chart",
|
|
644
645
|
details: "Details",
|
|
@@ -876,7 +877,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
876
877
|
and: "And",
|
|
877
878
|
astrologyGuidance: "Astrology Guidance",
|
|
878
879
|
selectPackage: "Select Package"
|
|
879
|
-
},
|
|
880
|
+
}, ht = {
|
|
880
881
|
kundli: "कुंडली",
|
|
881
882
|
birthChart: "जन्म कुंडली",
|
|
882
883
|
details: "विवरण",
|
|
@@ -1113,7 +1114,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
1113
1114
|
and: "और",
|
|
1114
1115
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1115
1116
|
selectPackage: "पैकेज चुनें"
|
|
1116
|
-
},
|
|
1117
|
+
}, gt = {
|
|
1117
1118
|
kundli: "कुंडली",
|
|
1118
1119
|
birthChart: "जन्मकुंडली",
|
|
1119
1120
|
details: "तपशील",
|
|
@@ -1343,7 +1344,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
1343
1344
|
and: "आणि",
|
|
1344
1345
|
astrologyGuidance: "ज्योतिष मार्गदर्शन",
|
|
1345
1346
|
selectPackage: "पॅकेज निवडा"
|
|
1346
|
-
},
|
|
1347
|
+
}, bt = {
|
|
1347
1348
|
kundli: "કુંડળી",
|
|
1348
1349
|
birthChart: "જન્મ કુંડળી",
|
|
1349
1350
|
details: "વિગતો",
|
|
@@ -1573,7 +1574,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
1573
1574
|
and: "અને",
|
|
1574
1575
|
astrologyGuidance: "જ્યોતિષ માર્ગદર્શન",
|
|
1575
1576
|
selectPackage: "પેકેજ પસંદ કરો"
|
|
1576
|
-
},
|
|
1577
|
+
}, _t = {
|
|
1577
1578
|
kundli: "ಕುಂಡಲಿ",
|
|
1578
1579
|
birthChart: "ಜನ್ಮ ಕುಂಡಲಿ",
|
|
1579
1580
|
details: "ವಿವರಗಳು",
|
|
@@ -1803,7 +1804,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
1803
1804
|
and: "ಮತ್ತು",
|
|
1804
1805
|
astrologyGuidance: "ಜ್ಯೋತಿಷ್ಯ ಮಾರ್ಗದರ್ಶನ",
|
|
1805
1806
|
selectPackage: "ಪ್ಯಾಕೇಜ್ ಆಯ್ಕೆಮಾಡಿ"
|
|
1806
|
-
},
|
|
1807
|
+
}, kt = {
|
|
1807
1808
|
kundli: "ஜாதகம்",
|
|
1808
1809
|
birthChart: "பிறப்பு ஜாதகம்",
|
|
1809
1810
|
details: "விவரங்கள்",
|
|
@@ -2033,7 +2034,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
2033
2034
|
and: "மற்றும்",
|
|
2034
2035
|
astrologyGuidance: "ஜோதிட வழிகாட்டுதல்",
|
|
2035
2036
|
selectPackage: "தொகுப்பைத் தேர்ந்தெடுக்கவும்"
|
|
2036
|
-
},
|
|
2037
|
+
}, yt = {
|
|
2037
2038
|
kundli: "జాతకం",
|
|
2038
2039
|
birthChart: "జన్మ జాతకం",
|
|
2039
2040
|
details: "వివరాలు",
|
|
@@ -2264,23 +2265,23 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
|
|
|
2264
2265
|
astrologyGuidance: "జ్యోతిష్య మార్గదర్శకం",
|
|
2265
2266
|
selectPackage: "ప్యాకేజీని ఎంచుకోండి"
|
|
2266
2267
|
}, xa = {
|
|
2267
|
-
en:
|
|
2268
|
-
hi:
|
|
2269
|
-
mr:
|
|
2268
|
+
en: ft,
|
|
2269
|
+
hi: ht,
|
|
2270
|
+
mr: gt,
|
|
2270
2271
|
// Dropdown/type support only for now — copy falls back to English until
|
|
2271
2272
|
// real gu/ta/te/kn translations are written.
|
|
2272
|
-
gu:
|
|
2273
|
-
ta:
|
|
2274
|
-
te:
|
|
2275
|
-
kn:
|
|
2276
|
-
}, wa = Ta(null),
|
|
2273
|
+
gu: bt,
|
|
2274
|
+
ta: kt,
|
|
2275
|
+
te: yt,
|
|
2276
|
+
kn: _t
|
|
2277
|
+
}, wa = Ta(null), vi = ({
|
|
2277
2278
|
locale: t,
|
|
2278
2279
|
children: n
|
|
2279
2280
|
}) => {
|
|
2280
2281
|
const c = { locale: t, t: (g) => xa[t]?.[g] };
|
|
2281
2282
|
return /* @__PURE__ */ e.jsx(wa.Provider, { value: c, children: n });
|
|
2282
2283
|
};
|
|
2283
|
-
function
|
|
2284
|
+
function At() {
|
|
2284
2285
|
return oa(wa);
|
|
2285
2286
|
}
|
|
2286
2287
|
const Ye = (t) => {
|
|
@@ -2294,7 +2295,7 @@ const Ye = (t) => {
|
|
|
2294
2295
|
...i && { fetchPriority: i }
|
|
2295
2296
|
});
|
|
2296
2297
|
};
|
|
2297
|
-
function
|
|
2298
|
+
function vt(t) {
|
|
2298
2299
|
if (typeof window > "u" || !window.localStorage)
|
|
2299
2300
|
return null;
|
|
2300
2301
|
try {
|
|
@@ -2303,21 +2304,21 @@ function At(t) {
|
|
|
2303
2304
|
return null;
|
|
2304
2305
|
}
|
|
2305
2306
|
}
|
|
2306
|
-
function
|
|
2307
|
+
function Tt(t, n) {
|
|
2307
2308
|
if (!(typeof window > "u" || !window.localStorage))
|
|
2308
2309
|
try {
|
|
2309
2310
|
window.localStorage.setItem(t, n);
|
|
2310
2311
|
} catch {
|
|
2311
2312
|
}
|
|
2312
2313
|
}
|
|
2313
|
-
function
|
|
2314
|
+
function Ti(t) {
|
|
2314
2315
|
if (!(typeof window > "u" || !window.localStorage))
|
|
2315
2316
|
try {
|
|
2316
2317
|
window.localStorage.removeItem(t);
|
|
2317
2318
|
} catch {
|
|
2318
2319
|
}
|
|
2319
2320
|
}
|
|
2320
|
-
function
|
|
2321
|
+
function Pi() {
|
|
2321
2322
|
if (typeof window > "u" || !window.localStorage)
|
|
2322
2323
|
return !1;
|
|
2323
2324
|
try {
|
|
@@ -2328,14 +2329,14 @@ function vi() {
|
|
|
2328
2329
|
}
|
|
2329
2330
|
}
|
|
2330
2331
|
const Sa = "kundli_language";
|
|
2331
|
-
function
|
|
2332
|
-
const t =
|
|
2332
|
+
function Pt() {
|
|
2333
|
+
const t = vt(Sa);
|
|
2333
2334
|
return t && Pa.includes(t) ? t : null;
|
|
2334
2335
|
}
|
|
2335
|
-
function
|
|
2336
|
-
|
|
2336
|
+
function xt(t) {
|
|
2337
|
+
Tt(Sa, t);
|
|
2337
2338
|
}
|
|
2338
|
-
const ia = Ta(null),
|
|
2339
|
+
const ia = Ta(null), wt = {
|
|
2339
2340
|
fullName: "",
|
|
2340
2341
|
phone: "",
|
|
2341
2342
|
phoneCountryCode: "",
|
|
@@ -2346,7 +2347,7 @@ const ia = Ta(null), xt = {
|
|
|
2346
2347
|
birthTime: "",
|
|
2347
2348
|
birthTimeUnknown: !1,
|
|
2348
2349
|
birthPlace: ""
|
|
2349
|
-
},
|
|
2350
|
+
}, xi = ({
|
|
2350
2351
|
locale: t,
|
|
2351
2352
|
showLanguageSelector: n = !0,
|
|
2352
2353
|
showSheet: i,
|
|
@@ -2368,9 +2369,9 @@ const ia = Ta(null), xt = {
|
|
|
2368
2369
|
sampleReportHref: S,
|
|
2369
2370
|
onViewSampleReport: te,
|
|
2370
2371
|
ctaHref: C,
|
|
2371
|
-
onCtaClick:
|
|
2372
|
+
onCtaClick: V,
|
|
2372
2373
|
onBack: x,
|
|
2373
|
-
readMoreReviewsHref:
|
|
2374
|
+
readMoreReviewsHref: J,
|
|
2374
2375
|
onProceed: j,
|
|
2375
2376
|
proceedHref: E,
|
|
2376
2377
|
originalPriceLabel: se,
|
|
@@ -2386,15 +2387,15 @@ const ia = Ta(null), xt = {
|
|
|
2386
2387
|
children: he
|
|
2387
2388
|
}) => {
|
|
2388
2389
|
const [ue, we] = B("landing"), [ne, Re] = B(t ?? "en"), [_e, pe] = B({
|
|
2389
|
-
...
|
|
2390
|
+
...wt,
|
|
2390
2391
|
...h
|
|
2391
2392
|
}), ge = M(!0);
|
|
2392
2393
|
q(() => {
|
|
2393
2394
|
if (t) return;
|
|
2394
|
-
const fe =
|
|
2395
|
+
const fe = Pt();
|
|
2395
2396
|
fe && Re(fe);
|
|
2396
2397
|
}, []), q(() => {
|
|
2397
|
-
|
|
2398
|
+
xt(ne);
|
|
2398
2399
|
}, [ne]), q(() => {
|
|
2399
2400
|
if (ge.current) {
|
|
2400
2401
|
ge.current = !1;
|
|
@@ -2425,9 +2426,9 @@ const ia = Ta(null), xt = {
|
|
|
2425
2426
|
sampleReportHref: S,
|
|
2426
2427
|
onViewSampleReport: te,
|
|
2427
2428
|
ctaHref: C,
|
|
2428
|
-
onCtaClick:
|
|
2429
|
+
onCtaClick: V,
|
|
2429
2430
|
onBack: x,
|
|
2430
|
-
readMoreReviewsHref:
|
|
2431
|
+
readMoreReviewsHref: J,
|
|
2431
2432
|
onProceed: j,
|
|
2432
2433
|
proceedHref: E,
|
|
2433
2434
|
originalPriceLabel: se,
|
|
@@ -2463,9 +2464,9 @@ const ia = Ta(null), xt = {
|
|
|
2463
2464
|
S,
|
|
2464
2465
|
te,
|
|
2465
2466
|
C,
|
|
2466
|
-
Q,
|
|
2467
|
-
x,
|
|
2468
2467
|
V,
|
|
2468
|
+
x,
|
|
2469
|
+
J,
|
|
2469
2470
|
j,
|
|
2470
2471
|
E,
|
|
2471
2472
|
se,
|
|
@@ -2503,7 +2504,7 @@ const ia = Ta(null), xt = {
|
|
|
2503
2504
|
function Me() {
|
|
2504
2505
|
return oa(ia);
|
|
2505
2506
|
}
|
|
2506
|
-
function
|
|
2507
|
+
function wi() {
|
|
2507
2508
|
const t = oa(ia);
|
|
2508
2509
|
if (!t)
|
|
2509
2510
|
throw new Error(
|
|
@@ -2511,10 +2512,10 @@ function Pi() {
|
|
|
2511
2512
|
);
|
|
2512
2513
|
return t;
|
|
2513
2514
|
}
|
|
2514
|
-
const
|
|
2515
|
-
header:
|
|
2516
|
-
centered:
|
|
2517
|
-
},
|
|
2515
|
+
const St = "_header_19172_1", Ct = "_centered_19172_8", ya = {
|
|
2516
|
+
header: St,
|
|
2517
|
+
centered: Ct
|
|
2518
|
+
}, jt = ({
|
|
2518
2519
|
t,
|
|
2519
2520
|
onBack: n,
|
|
2520
2521
|
className: i = "",
|
|
@@ -2528,62 +2529,62 @@ const wt = "_header_19172_1", St = "_centered_19172_8", ya = {
|
|
|
2528
2529
|
backAriaLabel: t("back"),
|
|
2529
2530
|
className: `${ya.header} ${c === "center" ? ya.centered : ""} ${i}`
|
|
2530
2531
|
}
|
|
2531
|
-
),
|
|
2532
|
-
wrap:
|
|
2533
|
-
card:
|
|
2534
|
-
cardInner:
|
|
2535
|
-
field:
|
|
2536
|
-
labelRow:
|
|
2537
|
-
label:
|
|
2538
|
-
req:
|
|
2539
|
-
help:
|
|
2540
|
-
choiceRow:
|
|
2541
|
-
choiceBtn:
|
|
2542
|
-
choiceBtnActive:
|
|
2543
|
-
infoBtn:
|
|
2544
|
-
infoImg:
|
|
2545
|
-
infoWrap:
|
|
2546
|
-
tooltip:
|
|
2547
|
-
tooltipArrow:
|
|
2548
|
-
inputWrap:
|
|
2549
|
-
isdWrap:
|
|
2550
|
-
phoneInputGroup:
|
|
2551
|
-
isdSelectWrap:
|
|
2552
|
-
isdSelectTrigger:
|
|
2553
|
-
isdDropdown:
|
|
2554
|
-
isdSearchWrap:
|
|
2555
|
-
isdSearchInput:
|
|
2556
|
-
isdOption:
|
|
2557
|
-
isdOptionActive:
|
|
2558
|
-
isdCountryName:
|
|
2559
|
-
isdCountryCode:
|
|
2560
|
-
isdNoResult:
|
|
2561
|
-
suggestions:
|
|
2562
|
-
suggestionItem:
|
|
2563
|
-
suggestionMain:
|
|
2564
|
-
suggestionSecondary:
|
|
2565
|
-
suggestionsHint:
|
|
2566
|
-
timePopover:
|
|
2567
|
-
timePickerRow:
|
|
2568
|
-
timePickerSelect:
|
|
2569
|
-
timePickerColon:
|
|
2570
|
-
meridiemToggle:
|
|
2571
|
-
meridiemBtn:
|
|
2572
|
-
meridiemActive:
|
|
2573
|
-
timePopoverActions:
|
|
2574
|
-
timePopoverBtn:
|
|
2575
|
-
timePopoverOk:
|
|
2576
|
-
input:
|
|
2577
|
-
phoneInput:
|
|
2578
|
-
iconBtn:
|
|
2579
|
-
iconBtnInteractive:
|
|
2580
|
-
iconImg:
|
|
2581
|
-
checkboxRow:
|
|
2582
|
-
checkbox:
|
|
2583
|
-
checkboxText:
|
|
2532
|
+
), Rt = "_wrap_119w3_1", Nt = "_card_119w3_5", Lt = "_cardInner_119w3_12", Bt = "_field_119w3_44", Dt = "_labelRow_119w3_48", Et = "_label_119w3_48", It = "_req_119w3_57", Ft = "_help_119w3_61", Mt = "_choiceRow_119w3_68", Ut = "_choiceBtn_119w3_74", Gt = "_choiceBtnActive_119w3_99", Ot = "_infoBtn_119w3_105", $t = "_infoImg_119w3_122", Ht = "_infoWrap_119w3_128", Wt = "_tooltip_119w3_134", Kt = "_tooltipArrow_119w3_150", qt = "_inputWrap_119w3_161", Yt = "_isdWrap_119w3_165", Vt = "_phoneInputGroup_119w3_169", Jt = "_isdSelectWrap_119w3_178", zt = "_isdSelectTrigger_119w3_197", Qt = "_isdDropdown_119w3_214", Xt = "_isdSearchWrap_119w3_229", Zt = "_isdSearchInput_119w3_237", er = "_isdOption_119w3_255", ar = "_isdOptionActive_119w3_275", tr = "_isdCountryName_119w3_281", rr = "_isdCountryCode_119w3_288", nr = "_isdNoResult_119w3_295", or = "_suggestions_119w3_302", ir = "_suggestionItem_119w3_315", lr = "_suggestionMain_119w3_333", sr = "_suggestionSecondary_119w3_339", cr = "_suggestionsHint_119w3_344", dr = "_timePopover_119w3_366", ur = "_timePickerRow_119w3_382", pr = "_timePickerSelect_119w3_388", mr = "_timePickerColon_119w3_404", fr = "_meridiemToggle_119w3_412", hr = "_meridiemBtn_119w3_421", gr = "_meridiemActive_119w3_436", br = "_timePopoverActions_119w3_441", _r = "_timePopoverBtn_119w3_447", kr = "_timePopoverOk_119w3_466", yr = "_input_119w3_161", Ar = "_phoneInput_119w3_169", vr = "_iconBtn_119w3_519", Tr = "_iconBtnInteractive_119w3_525", Pr = "_iconImg_119w3_544", xr = "_checkboxRow_119w3_550", wr = "_checkbox_119w3_550", Sr = "_checkboxText_119w3_588", o = {
|
|
2533
|
+
wrap: Rt,
|
|
2534
|
+
card: Nt,
|
|
2535
|
+
cardInner: Lt,
|
|
2536
|
+
field: Bt,
|
|
2537
|
+
labelRow: Dt,
|
|
2538
|
+
label: Et,
|
|
2539
|
+
req: It,
|
|
2540
|
+
help: Ft,
|
|
2541
|
+
choiceRow: Mt,
|
|
2542
|
+
choiceBtn: Ut,
|
|
2543
|
+
choiceBtnActive: Gt,
|
|
2544
|
+
infoBtn: Ot,
|
|
2545
|
+
infoImg: $t,
|
|
2546
|
+
infoWrap: Ht,
|
|
2547
|
+
tooltip: Wt,
|
|
2548
|
+
tooltipArrow: Kt,
|
|
2549
|
+
inputWrap: qt,
|
|
2550
|
+
isdWrap: Yt,
|
|
2551
|
+
phoneInputGroup: Vt,
|
|
2552
|
+
isdSelectWrap: Jt,
|
|
2553
|
+
isdSelectTrigger: zt,
|
|
2554
|
+
isdDropdown: Qt,
|
|
2555
|
+
isdSearchWrap: Xt,
|
|
2556
|
+
isdSearchInput: Zt,
|
|
2557
|
+
isdOption: er,
|
|
2558
|
+
isdOptionActive: ar,
|
|
2559
|
+
isdCountryName: tr,
|
|
2560
|
+
isdCountryCode: rr,
|
|
2561
|
+
isdNoResult: nr,
|
|
2562
|
+
suggestions: or,
|
|
2563
|
+
suggestionItem: ir,
|
|
2564
|
+
suggestionMain: lr,
|
|
2565
|
+
suggestionSecondary: sr,
|
|
2566
|
+
suggestionsHint: cr,
|
|
2567
|
+
timePopover: dr,
|
|
2568
|
+
timePickerRow: ur,
|
|
2569
|
+
timePickerSelect: pr,
|
|
2570
|
+
timePickerColon: mr,
|
|
2571
|
+
meridiemToggle: fr,
|
|
2572
|
+
meridiemBtn: hr,
|
|
2573
|
+
meridiemActive: gr,
|
|
2574
|
+
timePopoverActions: br,
|
|
2575
|
+
timePopoverBtn: _r,
|
|
2576
|
+
timePopoverOk: kr,
|
|
2577
|
+
input: yr,
|
|
2578
|
+
phoneInput: Ar,
|
|
2579
|
+
iconBtn: vr,
|
|
2580
|
+
iconBtnInteractive: Tr,
|
|
2581
|
+
iconImg: Pr,
|
|
2582
|
+
checkboxRow: xr,
|
|
2583
|
+
checkbox: wr,
|
|
2584
|
+
checkboxText: Sr
|
|
2584
2585
|
};
|
|
2585
2586
|
let Je = null;
|
|
2586
|
-
const
|
|
2587
|
+
const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Je || (Je = new Promise((i, c) => {
|
|
2587
2588
|
const g = document.querySelector(
|
|
2588
2589
|
'script[data-google-maps-places="true"]'
|
|
2589
2590
|
);
|
|
@@ -2613,7 +2614,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2613
2614
|
};
|
|
2614
2615
|
b();
|
|
2615
2616
|
}, k.onerror = () => c(new Error("Failed to load Google Maps API")), document.head.appendChild(k);
|
|
2616
|
-
}), Je),
|
|
2617
|
+
}), Je), jr = (t) => {
|
|
2617
2618
|
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: g = !1 } = t, [k, h] = B(!1), [w, b] = B([]), [Y, D] = B(!1), [N, p] = B(null), [U, A] = B(!g), R = M(null), y = M(null), _ = M(null), S = je(() => {
|
|
2618
2619
|
g && A(!0);
|
|
2619
2620
|
}, [g]);
|
|
@@ -2622,7 +2623,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2622
2623
|
h(!1), p(null);
|
|
2623
2624
|
return;
|
|
2624
2625
|
}
|
|
2625
|
-
|
|
2626
|
+
Cr(n, i).then(() => {
|
|
2626
2627
|
R.current = new google.maps.places.AutocompleteService();
|
|
2627
2628
|
const x = document.createElement("div");
|
|
2628
2629
|
y.current = new google.maps.places.PlacesService(x), _.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
|
|
@@ -2638,15 +2639,15 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2638
2639
|
}
|
|
2639
2640
|
D(!0);
|
|
2640
2641
|
try {
|
|
2641
|
-
const
|
|
2642
|
+
const J = {
|
|
2642
2643
|
input: x,
|
|
2643
2644
|
types: ["(cities)"],
|
|
2644
2645
|
sessionToken: _.current ?? void 0
|
|
2645
2646
|
};
|
|
2646
|
-
c && (
|
|
2647
|
+
c && (J.componentRestrictions = { country: c });
|
|
2647
2648
|
const j = await new Promise((E, se) => {
|
|
2648
2649
|
R.current.getPlacePredictions(
|
|
2649
|
-
|
|
2650
|
+
J,
|
|
2650
2651
|
(ae, G) => {
|
|
2651
2652
|
G === google.maps.places.PlacesServiceStatus.OK && ae ? E(ae) : G === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? E([]) : se(new Error(`Places API error: ${G}`));
|
|
2652
2653
|
}
|
|
@@ -2673,7 +2674,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2673
2674
|
async (x) => {
|
|
2674
2675
|
if (!y.current) return null;
|
|
2675
2676
|
try {
|
|
2676
|
-
const
|
|
2677
|
+
const J = await new Promise(
|
|
2677
2678
|
(I, $) => {
|
|
2678
2679
|
y.current.getDetails(
|
|
2679
2680
|
{
|
|
@@ -2688,12 +2689,12 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2688
2689
|
}
|
|
2689
2690
|
);
|
|
2690
2691
|
_.current = new google.maps.places.AutocompleteSessionToken();
|
|
2691
|
-
const j =
|
|
2692
|
+
const j = J.geometry?.location?.lat() || 0, E = J.geometry?.location?.lng() || 0;
|
|
2692
2693
|
let se = "", ae = "", G = "";
|
|
2693
|
-
return
|
|
2694
|
+
return J.address_components?.forEach((I) => {
|
|
2694
2695
|
I.types.includes("locality") && (se = I.long_name), I.types.includes("administrative_area_level_1") && (ae = I.long_name), I.types.includes("country") && (G = I.long_name);
|
|
2695
2696
|
}), {
|
|
2696
|
-
display_name:
|
|
2697
|
+
display_name: J.formatted_address || "",
|
|
2697
2698
|
lat: j,
|
|
2698
2699
|
lng: E,
|
|
2699
2700
|
city: se,
|
|
@@ -2705,7 +2706,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2705
2706
|
}
|
|
2706
2707
|
},
|
|
2707
2708
|
[]
|
|
2708
|
-
),
|
|
2709
|
+
), V = je(() => b([]), []);
|
|
2709
2710
|
return {
|
|
2710
2711
|
isLoaded: k,
|
|
2711
2712
|
predictions: w,
|
|
@@ -2713,18 +2714,18 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2713
2714
|
loadError: N,
|
|
2714
2715
|
searchPlaces: te,
|
|
2715
2716
|
getPlaceDetails: C,
|
|
2716
|
-
clearPredictions:
|
|
2717
|
+
clearPredictions: V,
|
|
2717
2718
|
triggerLoad: S
|
|
2718
2719
|
// Call this to start loading Google Maps when deferred
|
|
2719
2720
|
};
|
|
2720
|
-
}, Aa = (t) => typeof t == "number" && Number.isFinite(t),
|
|
2721
|
+
}, Aa = (t) => typeof t == "number" && Number.isFinite(t), Rr = (t) => {
|
|
2721
2722
|
const n = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, i = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
|
|
2722
2723
|
return {
|
|
2723
2724
|
limit: n,
|
|
2724
2725
|
offset: i,
|
|
2725
2726
|
restrictCountry: t?.restrictCountry
|
|
2726
2727
|
};
|
|
2727
|
-
},
|
|
2728
|
+
}, Nr = (t) => {
|
|
2728
2729
|
const { searchLocalities: n, restrictCountry: i } = t, [c, g] = B([]), [k, h] = B(!1), [w, b] = B(null), Y = M(0);
|
|
2729
2730
|
q(() => {
|
|
2730
2731
|
b(null);
|
|
@@ -2738,7 +2739,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2738
2739
|
const U = ++Y.current;
|
|
2739
2740
|
h(!0), b(null);
|
|
2740
2741
|
try {
|
|
2741
|
-
const A =
|
|
2742
|
+
const A = Rr({ restrictCountry: i }), R = await n(p, A);
|
|
2742
2743
|
if (U !== Y.current) return;
|
|
2743
2744
|
const y = (R || []).filter(
|
|
2744
2745
|
(_) => !!_?.id && !!_?.description && Aa(_?.lat) && Aa(_?.lng)
|
|
@@ -2841,7 +2842,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2841
2842
|
{ code: "+975", country: "Bhutan" },
|
|
2842
2843
|
{ code: "+976", country: "Mongolia" },
|
|
2843
2844
|
{ code: "+977", country: "Nepal" }
|
|
2844
|
-
], ra = Ca.map((t) => t.code), ja = 10, la = (t) => t.replace(/\D/g, ""), va = (t) => la(t).slice(0, ja),
|
|
2845
|
+
], ra = Ca.map((t) => t.code), ja = 10, la = (t) => t.replace(/\D/g, ""), va = (t) => la(t).slice(0, ja), Lr = (t) => la(t).length === ja, Br = (t, n, i) => Lr(t) ? i.phone ? { shouldTrack: !1 } : (i.phone = !0, { shouldTrack: !0, fullPhone: `${n}-${la(t)}` }) : (i.phone = !1, { shouldTrack: !1 }), Dr = {}, Er = ({
|
|
2845
2846
|
t,
|
|
2846
2847
|
values: n,
|
|
2847
2848
|
onChange: i,
|
|
@@ -2854,13 +2855,13 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2854
2855
|
googleMapsAutocompleteEnabled: Y,
|
|
2855
2856
|
className: D = ""
|
|
2856
2857
|
}) => {
|
|
2857
|
-
const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, A = N?.config?.googleMapsApiKey, R = N?.config?.atlasSearchLocalities, y = N?.config?.googleMapsAutocompleteEnabled, [_, S] = B(!1), [te, C] = B(""),
|
|
2858
|
+
const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, A = N?.config?.googleMapsApiKey, R = N?.config?.atlasSearchLocalities, y = N?.config?.googleMapsAutocompleteEnabled, [_, S] = B(!1), [te, C] = B(""), V = M(null), x = M(null), J = M({}), j = (r) => i({ ...n, ...r }), E = (r, d) => {
|
|
2858
2859
|
if (r === "phone") {
|
|
2859
|
-
const
|
|
2860
|
-
|
|
2860
|
+
const z = Br(d, c, J.current);
|
|
2861
|
+
z.shouldTrack && p?.trackPhoneSectionFilled?.({ phone: z.fullPhone });
|
|
2861
2862
|
return;
|
|
2862
2863
|
}
|
|
2863
|
-
d.trim() && !
|
|
2864
|
+
d.trim() && !J.current[r] && (J.current[r] = !0, {
|
|
2864
2865
|
fullName: () => p?.trackNameSectionFilled?.(),
|
|
2865
2866
|
dateOfBirth: () => p?.trackDobFilled?.(),
|
|
2866
2867
|
birthTime: () => p?.trackTimeFilled?.(),
|
|
@@ -2874,24 +2875,24 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2874
2875
|
const $ = M(null), X = M(0), O = M(null), [Te, K] = B(!1), [re, he] = B({ hour12: 12, minute: "00", meridiem: "AM" }), ue = (r) => String(r).padStart(2, "0"), we = (r) => {
|
|
2875
2876
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2876
2877
|
if (!d) return r;
|
|
2877
|
-
const
|
|
2878
|
-
return `${
|
|
2878
|
+
const z = Number(d[1]), Se = d[2], $e = z >= 12 ? "PM" : "AM";
|
|
2879
|
+
return `${z % 12 === 0 ? 12 : z % 12}:${Se} ${$e}`;
|
|
2879
2880
|
}, ne = (r) => {
|
|
2880
2881
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2881
2882
|
if (!d) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
2882
|
-
const
|
|
2883
|
-
return { hour12:
|
|
2883
|
+
const z = Number(d[1]), Se = d[2], $e = z >= 12 ? "PM" : "AM";
|
|
2884
|
+
return { hour12: z % 12 === 0 ? 12 : z % 12, minute: Se, meridiem: $e };
|
|
2884
2885
|
}, Re = (r) => {
|
|
2885
|
-
const d = Math.min(12, Math.max(1, r.hour12)),
|
|
2886
|
+
const d = Math.min(12, Math.max(1, r.hour12)), z = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
|
|
2886
2887
|
let Se = d % 12;
|
|
2887
|
-
return r.meridiem === "PM" && (Se += 12), `${ue(Se)}:${
|
|
2888
|
+
return r.meridiem === "PM" && (Se += 12), `${ue(Se)}:${z}`;
|
|
2888
2889
|
}, _e = M(null), [pe, ge] = B(!1), oe = M(n.birthPlace ?? ""), [H, me] = B(
|
|
2889
2890
|
null
|
|
2890
|
-
), ie = w ?? A ??
|
|
2891
|
+
), ie = w ?? A ?? Dr?.VITE_GOOGLE_MAPS_API_KEY, fe = b ?? R, ee = Y ?? y ?? !0, ce = (n.birthPlace ?? "").trim(), Ne = U ? void 0 : "in", ke = jr({
|
|
2891
2892
|
apiKey: ee ? ie : void 0,
|
|
2892
2893
|
language: "en",
|
|
2893
2894
|
restrictCountry: Ne
|
|
2894
|
-
}), ye =
|
|
2895
|
+
}), ye = Nr({
|
|
2895
2896
|
searchLocalities: ee ? void 0 : fe,
|
|
2896
2897
|
restrictCountry: Ne
|
|
2897
2898
|
}), xe = ee ? ke.predictions.map((r) => ({
|
|
@@ -2921,7 +2922,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2921
2922
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2922
2923
|
}, []), q(() => {
|
|
2923
2924
|
const r = (d) => {
|
|
2924
|
-
|
|
2925
|
+
V.current && (V.current.contains(d.target) || (S(!1), C("")));
|
|
2925
2926
|
};
|
|
2926
2927
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2927
2928
|
}, []), q(() => {
|
|
@@ -2961,10 +2962,10 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2961
2962
|
};
|
|
2962
2963
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2963
2964
|
}, []), q(() => {
|
|
2964
|
-
const r = (
|
|
2965
|
-
|
|
2966
|
-
}, d = (
|
|
2967
|
-
|
|
2965
|
+
const r = (z) => {
|
|
2966
|
+
z.target?.closest?.("[data-info-tooltip]") == null && me(null);
|
|
2967
|
+
}, d = (z) => {
|
|
2968
|
+
z.key === "Escape" && me(null);
|
|
2968
2969
|
};
|
|
2969
2970
|
return document.addEventListener("mousedown", r), document.addEventListener("keydown", d), () => {
|
|
2970
2971
|
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", d);
|
|
@@ -3002,7 +3003,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3002
3003
|
t("formPhone"),
|
|
3003
3004
|
!U && /* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
3004
3005
|
] }) }),
|
|
3005
|
-
/* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: o.isdWrap, ref:
|
|
3006
|
+
/* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: o.isdWrap, ref: V, children: [
|
|
3006
3007
|
/* @__PURE__ */ e.jsxs("div", { className: o.phoneInputGroup, children: [
|
|
3007
3008
|
/* @__PURE__ */ e.jsx("div", { className: o.isdSelectWrap, children: /* @__PURE__ */ e.jsx(
|
|
3008
3009
|
"button",
|
|
@@ -3201,7 +3202,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3201
3202
|
return `${r.getFullYear()}-${ue(r.getMonth() + 1)}-${ue(r.getDate())}`;
|
|
3202
3203
|
})(),
|
|
3203
3204
|
onChange: (r) => {
|
|
3204
|
-
const d = r.target.value,
|
|
3205
|
+
const d = r.target.value, z = /* @__PURE__ */ new Date(), Se = `${z.getFullYear()}-${ue(z.getMonth() + 1)}-${ue(z.getDate())}`;
|
|
3205
3206
|
d && d > Se || (j({ dateOfBirth: d }), E("dateOfBirth", d), $.current = null);
|
|
3206
3207
|
},
|
|
3207
3208
|
onFocus: () => p?.trackDobClicked?.(),
|
|
@@ -3524,14 +3525,14 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3524
3525
|
birthPlaceLat: r.lat,
|
|
3525
3526
|
birthPlaceLng: r.lng
|
|
3526
3527
|
}), f(), ge(!1), ee) {
|
|
3527
|
-
const
|
|
3528
|
+
const z = await ke.getPlaceDetails(
|
|
3528
3529
|
r.id
|
|
3529
3530
|
);
|
|
3530
|
-
|
|
3531
|
+
z && (oe.current = d, i({
|
|
3531
3532
|
...n,
|
|
3532
3533
|
birthPlace: d,
|
|
3533
|
-
birthPlaceLat:
|
|
3534
|
-
birthPlaceLng:
|
|
3534
|
+
birthPlaceLat: z.lat,
|
|
3535
|
+
birthPlaceLng: z.lng
|
|
3535
3536
|
}));
|
|
3536
3537
|
}
|
|
3537
3538
|
},
|
|
@@ -3677,19 +3678,19 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3677
3678
|
] }) })
|
|
3678
3679
|
}
|
|
3679
3680
|
);
|
|
3680
|
-
},
|
|
3681
|
-
ctaButton:
|
|
3682
|
-
ctaFilled:
|
|
3683
|
-
ctaFilledContent:
|
|
3684
|
-
chevronRight:
|
|
3685
|
-
}, Ra = "kundli-report-astrologer",
|
|
3681
|
+
}, Ir = "_ctaButton_rhimw_2", Fr = "_ctaFilled_rhimw_21", Mr = "_ctaFilledContent_rhimw_52", Ur = "_chevronRight_rhimw_61", Ke = {
|
|
3682
|
+
ctaButton: Ir,
|
|
3683
|
+
ctaFilled: Fr,
|
|
3684
|
+
ctaFilledContent: Mr,
|
|
3685
|
+
chevronRight: Ur
|
|
3686
|
+
}, Ra = "kundli-report-astrologer", Gr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Or = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", $r = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Hr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Wr = ({ t }) => {
|
|
3686
3687
|
const i = Me()?.config.imageComponent ?? Ye;
|
|
3687
3688
|
return /* @__PURE__ */ e.jsxs("div", { className: Fe.marqueeContent, children: [
|
|
3688
3689
|
/* @__PURE__ */ e.jsxs("span", { className: Fe.badge, children: [
|
|
3689
3690
|
/* @__PURE__ */ e.jsx(
|
|
3690
3691
|
i,
|
|
3691
3692
|
{
|
|
3692
|
-
src:
|
|
3693
|
+
src: Gr,
|
|
3693
3694
|
alt: "",
|
|
3694
3695
|
className: Fe.badgeIcon,
|
|
3695
3696
|
width: 16,
|
|
@@ -3703,7 +3704,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3703
3704
|
/* @__PURE__ */ e.jsx(
|
|
3704
3705
|
i,
|
|
3705
3706
|
{
|
|
3706
|
-
src:
|
|
3707
|
+
src: Or,
|
|
3707
3708
|
alt: "",
|
|
3708
3709
|
className: Fe.badgeIcon,
|
|
3709
3710
|
width: 16,
|
|
@@ -3717,7 +3718,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3717
3718
|
/* @__PURE__ */ e.jsx(
|
|
3718
3719
|
i,
|
|
3719
3720
|
{
|
|
3720
|
-
src:
|
|
3721
|
+
src: $r,
|
|
3721
3722
|
alt: "",
|
|
3722
3723
|
className: Fe.badgeIcon,
|
|
3723
3724
|
width: 16,
|
|
@@ -3728,11 +3729,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3728
3729
|
t("ctaSecurePayment")
|
|
3729
3730
|
] })
|
|
3730
3731
|
] });
|
|
3731
|
-
},
|
|
3732
|
+
}, Kr = (t) => /.+@.+\..+/.test(t), qr = (t) => /^\d{10}$/.test(t), Yr = (t, n, i) => {
|
|
3732
3733
|
if (!t.fullName.trim()) return "fullName";
|
|
3733
3734
|
if (n) {
|
|
3734
|
-
if (!
|
|
3735
|
-
} else if (!
|
|
3735
|
+
if (!Kr(t.email.trim())) return "email";
|
|
3736
|
+
} else if (!qr((t.phone ?? "").trim())) return "phone";
|
|
3736
3737
|
if (!t.dateOfBirth) return "dateOfBirth";
|
|
3737
3738
|
if (!t.birthPlace.trim()) return "birthPlace";
|
|
3738
3739
|
if (i) {
|
|
@@ -3740,7 +3741,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3740
3741
|
if (!t.language_code) return "language_code";
|
|
3741
3742
|
}
|
|
3742
3743
|
return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
|
|
3743
|
-
},
|
|
3744
|
+
}, Vr = ({
|
|
3744
3745
|
t,
|
|
3745
3746
|
values: n,
|
|
3746
3747
|
phoneIsdCode: i,
|
|
@@ -3759,9 +3760,9 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3759
3760
|
selectedPlan: R
|
|
3760
3761
|
}) => {
|
|
3761
3762
|
const y = Me(), _ = y?.config.isGlobal ?? !0, S = y?.config?.variant, te = Ee(
|
|
3762
|
-
() =>
|
|
3763
|
+
() => Yr(n, _, c),
|
|
3763
3764
|
[n, _, c]
|
|
3764
|
-
), C = te === null,
|
|
3765
|
+
), C = te === null, V = S === "v1" && y?.config?.showSheet, x = _ ? D ?? t("formDiscountedPrice") : V ? "" : "₹499", J = y?.config.imageComponent ?? Ye, j = (se) => {
|
|
3765
3766
|
if (se.preventDefault(), S === "v1" && !C && b?.trackKundliDetailedClicked?.(), !C) {
|
|
3766
3767
|
te && g?.(te);
|
|
3767
3768
|
return;
|
|
@@ -3770,7 +3771,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3770
3771
|
...n,
|
|
3771
3772
|
phone: G && `${i}-${G}`
|
|
3772
3773
|
};
|
|
3773
|
-
if (
|
|
3774
|
+
if (V) {
|
|
3774
3775
|
A ? U?.() : p?.(I);
|
|
3775
3776
|
return;
|
|
3776
3777
|
}
|
|
@@ -3784,11 +3785,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3784
3785
|
"aria-label": t("formPriceAria"),
|
|
3785
3786
|
className: S === "v1" && C ? Ke.ctaFilled : S === "v1" ? Ke.ctaButton : void 0,
|
|
3786
3787
|
children: S === "v1" ? C ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
3787
|
-
|
|
3788
|
+
V ? t("selectPackage") : A && R ? `${t("proceedWithPlan")}${R.price}` : `${t("formProceed")} ${x}`,
|
|
3788
3789
|
/* @__PURE__ */ e.jsx(
|
|
3789
|
-
|
|
3790
|
+
J,
|
|
3790
3791
|
{
|
|
3791
|
-
src:
|
|
3792
|
+
src: Hr,
|
|
3792
3793
|
alt: "",
|
|
3793
3794
|
className: Ke.chevronRight,
|
|
3794
3795
|
width: 20,
|
|
@@ -3807,14 +3808,14 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3807
3808
|
Qa,
|
|
3808
3809
|
{
|
|
3809
3810
|
className: `${Ke.footerContainer} ${Y}`,
|
|
3810
|
-
marquee: /* @__PURE__ */ e.jsx(Xa, { children: /* @__PURE__ */ e.jsx(
|
|
3811
|
+
marquee: /* @__PURE__ */ e.jsx(Xa, { children: /* @__PURE__ */ e.jsx(Wr, { t }) }),
|
|
3811
3812
|
children: E
|
|
3812
3813
|
}
|
|
3813
3814
|
);
|
|
3814
|
-
},
|
|
3815
|
+
}, Jr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", zr = ({
|
|
3815
3816
|
t,
|
|
3816
3817
|
languageSelector: n,
|
|
3817
|
-
logoUrl: i =
|
|
3818
|
+
logoUrl: i = Jr,
|
|
3818
3819
|
className: c = ""
|
|
3819
3820
|
}) => {
|
|
3820
3821
|
const g = Me(), k = g?.config.isGlobal ?? !0, h = n != null && !k;
|
|
@@ -3838,7 +3839,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3838
3839
|
strokeLinecap: "round",
|
|
3839
3840
|
strokeLinejoin: "round"
|
|
3840
3841
|
}
|
|
3841
|
-
) }),
|
|
3842
|
+
) }), Qr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3842
3843
|
"path",
|
|
3843
3844
|
{
|
|
3844
3845
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -3846,10 +3847,10 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3846
3847
|
strokeWidth: "1.8",
|
|
3847
3848
|
strokeLinecap: "round"
|
|
3848
3849
|
}
|
|
3849
|
-
) }), sa = () => /* @__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" }) }),
|
|
3850
|
+
) }), sa = () => /* @__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" }) }), Xr = () => /* @__PURE__ */ e.jsx("svg", { width: "14", height: "14", 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: "M6 9l6 6 6-6" }) }), Zr = () => /* @__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: [
|
|
3850
3851
|
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
3851
3852
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
3852
|
-
] }),
|
|
3853
|
+
] }), en = () => /* @__PURE__ */ e.jsx(
|
|
3853
3854
|
"img",
|
|
3854
3855
|
{
|
|
3855
3856
|
src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
|
|
@@ -3858,7 +3859,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3858
3859
|
alt: "",
|
|
3859
3860
|
"aria-hidden": !0
|
|
3860
3861
|
}
|
|
3861
|
-
),
|
|
3862
|
+
), an = () => /* @__PURE__ */ e.jsx(
|
|
3862
3863
|
"img",
|
|
3863
3864
|
{
|
|
3864
3865
|
src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
|
|
@@ -3867,7 +3868,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3867
3868
|
alt: "",
|
|
3868
3869
|
"aria-hidden": !0
|
|
3869
3870
|
}
|
|
3870
|
-
),
|
|
3871
|
+
), tn = () => /* @__PURE__ */ e.jsx(
|
|
3871
3872
|
"img",
|
|
3872
3873
|
{
|
|
3873
3874
|
src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
|
|
@@ -3876,57 +3877,57 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3876
3877
|
alt: "",
|
|
3877
3878
|
"aria-hidden": !0
|
|
3878
3879
|
}
|
|
3879
|
-
),
|
|
3880
|
+
), rn = () => /* @__PURE__ */ e.jsxs("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
|
|
3880
3881
|
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "4.5", width: "18", height: "16", rx: "3", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
3881
3882
|
/* @__PURE__ */ e.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
3882
3883
|
/* @__PURE__ */ e.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
3883
3884
|
/* @__PURE__ */ e.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
3884
|
-
] }),
|
|
3885
|
-
overlay:
|
|
3886
|
-
sheet:
|
|
3887
|
-
sheetFullScreen:
|
|
3888
|
-
headerFull:
|
|
3889
|
-
titleFull:
|
|
3890
|
-
header:
|
|
3891
|
-
backBtn:
|
|
3892
|
-
title:
|
|
3893
|
-
plansContainer:
|
|
3894
|
-
planCard:
|
|
3895
|
-
withBadgeSpacing:
|
|
3896
|
-
planCardSelected:
|
|
3897
|
-
planCardPopular:
|
|
3898
|
-
popularBadge:
|
|
3899
|
-
planCardInner:
|
|
3900
|
-
planTitleRow:
|
|
3901
|
-
planTitle:
|
|
3902
|
-
radioCircle:
|
|
3903
|
-
radioChecked:
|
|
3904
|
-
radioInner:
|
|
3905
|
-
priceRow:
|
|
3906
|
-
price:
|
|
3907
|
-
originalPrice:
|
|
3908
|
-
savingsBadge:
|
|
3909
|
-
featureList:
|
|
3910
|
-
featureItem:
|
|
3911
|
-
featureIcon:
|
|
3912
|
-
featureText:
|
|
3913
|
-
astrologerHeading:
|
|
3914
|
-
astrologerList:
|
|
3915
|
-
astrologerCard:
|
|
3916
|
-
astrologerAvatar:
|
|
3917
|
-
astrologerAvatarPlaceholder:
|
|
3918
|
-
astrologerTop:
|
|
3919
|
-
astrologerBasicInfo:
|
|
3920
|
-
astrologerName:
|
|
3921
|
-
astrologerExp:
|
|
3922
|
-
astrologerDivider:
|
|
3923
|
-
planDivider:
|
|
3924
|
-
astrologerCertList:
|
|
3925
|
-
astrologerCertItem:
|
|
3926
|
-
bullet:
|
|
3927
|
-
footer:
|
|
3928
|
-
proceedBtn:
|
|
3929
|
-
},
|
|
3885
|
+
] }), nn = "_overlay_1u7x5_2", on = "_sheet_1u7x5_12", ln = "_sheetFullScreen_1u7x5_36", sn = "_headerFull_1u7x5_50", cn = "_titleFull_1u7x5_63", dn = "_header_1u7x5_50", un = "_backBtn_1u7x5_84", pn = "_title_1u7x5_63", mn = "_plansContainer_1u7x5_114", fn = "_planCard_1u7x5_123", hn = "_withBadgeSpacing_1u7x5_137", gn = "_planCardSelected_1u7x5_141", bn = "_planCardPopular_1u7x5_146", _n = "_popularBadge_1u7x5_155", kn = "_planCardInner_1u7x5_173", yn = "_planTitleRow_1u7x5_184", An = "_planTitle_1u7x5_184", vn = "_radioCircle_1u7x5_199", Tn = "_radioChecked_1u7x5_212", Pn = "_radioInner_1u7x5_217", xn = "_priceRow_1u7x5_225", wn = "_price_1u7x5_225", Sn = "_originalPrice_1u7x5_238", Cn = "_savingsBadge_1u7x5_245", jn = "_featureList_1u7x5_255", Rn = "_featureItem_1u7x5_264", Nn = "_featureIcon_1u7x5_270", Ln = "_featureText_1u7x5_276", Bn = "_astrologerHeading_1u7x5_287", Dn = "_astrologerList_1u7x5_294", En = "_astrologerCard_1u7x5_310", In = "_astrologerAvatar_1u7x5_326", Fn = "_astrologerAvatarPlaceholder_1u7x5_343", Mn = "_astrologerTop_1u7x5_349", Un = "_astrologerBasicInfo_1u7x5_355", Gn = "_astrologerName_1u7x5_362", On = "_astrologerExp_1u7x5_371", $n = "_astrologerDivider_1u7x5_377", Hn = "_planDivider_1u7x5_383", Wn = "_astrologerCertList_1u7x5_390", Kn = "_astrologerCertItem_1u7x5_396", qn = "_bullet_1u7x5_404", Yn = "_footer_1u7x5_409", Vn = "_proceedBtn_1u7x5_419", T = {
|
|
3886
|
+
overlay: nn,
|
|
3887
|
+
sheet: on,
|
|
3888
|
+
sheetFullScreen: ln,
|
|
3889
|
+
headerFull: sn,
|
|
3890
|
+
titleFull: cn,
|
|
3891
|
+
header: dn,
|
|
3892
|
+
backBtn: un,
|
|
3893
|
+
title: pn,
|
|
3894
|
+
plansContainer: mn,
|
|
3895
|
+
planCard: fn,
|
|
3896
|
+
withBadgeSpacing: hn,
|
|
3897
|
+
planCardSelected: gn,
|
|
3898
|
+
planCardPopular: bn,
|
|
3899
|
+
popularBadge: _n,
|
|
3900
|
+
planCardInner: kn,
|
|
3901
|
+
planTitleRow: yn,
|
|
3902
|
+
planTitle: An,
|
|
3903
|
+
radioCircle: vn,
|
|
3904
|
+
radioChecked: Tn,
|
|
3905
|
+
radioInner: Pn,
|
|
3906
|
+
priceRow: xn,
|
|
3907
|
+
price: wn,
|
|
3908
|
+
originalPrice: Sn,
|
|
3909
|
+
savingsBadge: Cn,
|
|
3910
|
+
featureList: jn,
|
|
3911
|
+
featureItem: Rn,
|
|
3912
|
+
featureIcon: Nn,
|
|
3913
|
+
featureText: Ln,
|
|
3914
|
+
astrologerHeading: Bn,
|
|
3915
|
+
astrologerList: Dn,
|
|
3916
|
+
astrologerCard: En,
|
|
3917
|
+
astrologerAvatar: In,
|
|
3918
|
+
astrologerAvatarPlaceholder: Fn,
|
|
3919
|
+
astrologerTop: Mn,
|
|
3920
|
+
astrologerBasicInfo: Un,
|
|
3921
|
+
astrologerName: Gn,
|
|
3922
|
+
astrologerExp: On,
|
|
3923
|
+
astrologerDivider: $n,
|
|
3924
|
+
planDivider: Hn,
|
|
3925
|
+
astrologerCertList: Wn,
|
|
3926
|
+
astrologerCertItem: Kn,
|
|
3927
|
+
bullet: qn,
|
|
3928
|
+
footer: Yn,
|
|
3929
|
+
proceedBtn: Vn
|
|
3930
|
+
}, Jn = ({ title: t, onBack: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.header, children: [
|
|
3930
3931
|
/* @__PURE__ */ e.jsx(
|
|
3931
3932
|
"button",
|
|
3932
3933
|
{
|
|
@@ -3938,8 +3939,8 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3938
3939
|
}
|
|
3939
3940
|
),
|
|
3940
3941
|
/* @__PURE__ */ e.jsx("h2", { className: T.title, children: t })
|
|
3941
|
-
] }),
|
|
3942
|
-
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(Na, {}) : /* @__PURE__ */ e.jsx(
|
|
3942
|
+
] }), zn = ({ features: t, t: n }) => /* @__PURE__ */ e.jsx("ul", { className: T.featureList, "aria-label": "Plan features", children: t.map((i, c) => /* @__PURE__ */ e.jsxs("li", { className: T.featureItem, children: [
|
|
3943
|
+
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(Na, {}) : /* @__PURE__ */ e.jsx(Qr, {}) }),
|
|
3943
3944
|
/* @__PURE__ */ e.jsx(
|
|
3944
3945
|
"span",
|
|
3945
3946
|
{
|
|
@@ -3947,7 +3948,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3947
3948
|
children: n?.(i.text) ?? i.text
|
|
3948
3949
|
}
|
|
3949
3950
|
)
|
|
3950
|
-
] }, c)) }),
|
|
3951
|
+
] }, c)) }), Qn = ({ astrologer: t, t: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.astrologerCard, children: [
|
|
3951
3952
|
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerTop, children: [
|
|
3952
3953
|
/* @__PURE__ */ e.jsx("div", { className: T.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: t.imageUrl, alt: n?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: T.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
3953
3954
|
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerBasicInfo, children: [
|
|
@@ -3961,10 +3962,10 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3961
3962
|
" ",
|
|
3962
3963
|
n?.(i) ?? i
|
|
3963
3964
|
] }, c)) })
|
|
3964
|
-
] }),
|
|
3965
|
-
/* @__PURE__ */ e.jsx(
|
|
3965
|
+
] }), Xn = ({ label: t }) => /* @__PURE__ */ e.jsxs("div", { className: T.popularBadge, "aria-label": t, children: [
|
|
3966
|
+
/* @__PURE__ */ e.jsx(Zr, {}),
|
|
3966
3967
|
/* @__PURE__ */ e.jsx("span", { children: t })
|
|
3967
|
-
] }),
|
|
3968
|
+
] }), Zn = ({ plan: t, isSelected: n, onSelect: i, t: c }) => {
|
|
3968
3969
|
const g = () => i(t.id), k = (h) => {
|
|
3969
3970
|
(h.key === " " || h.key === "Enter") && (h.preventDefault(), i(t.id));
|
|
3970
3971
|
};
|
|
@@ -3983,7 +3984,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3983
3984
|
onKeyDown: k,
|
|
3984
3985
|
"data-plan-id": t.id,
|
|
3985
3986
|
children: [
|
|
3986
|
-
t.badge && /* @__PURE__ */ e.jsx(
|
|
3987
|
+
t.badge && /* @__PURE__ */ e.jsx(Xn, { label: c?.(t.badge) ?? t.badge }),
|
|
3987
3988
|
/* @__PURE__ */ e.jsxs("div", { className: T.planCardInner, children: [
|
|
3988
3989
|
/* @__PURE__ */ e.jsxs("div", { className: `${T.planTitleRow} ${t.badge ? T.withBadgeSpacing : ""}`, children: [
|
|
3989
3990
|
/* @__PURE__ */ e.jsx("span", { className: T.planTitle, children: c?.(t.title) ?? t.title }),
|
|
@@ -4001,11 +4002,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4001
4002
|
t.originalPrice && /* @__PURE__ */ e.jsx("span", { className: T.originalPrice, children: t.originalPrice }),
|
|
4002
4003
|
t.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: T.savingsBadge, children: c?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
4003
4004
|
] }),
|
|
4004
|
-
/* @__PURE__ */ e.jsx(
|
|
4005
|
+
/* @__PURE__ */ e.jsx(zn, { features: t.features, t: c }),
|
|
4005
4006
|
t.astrologers && /* @__PURE__ */ e.jsx("div", { className: T.planDivider }),
|
|
4006
4007
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4007
4008
|
/* @__PURE__ */ e.jsx("p", { className: T.astrologerHeading, children: c?.("planAstrologerHeading") ?? "We will match you with astrologer who speaks your language" }),
|
|
4008
|
-
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: t.astrologers.map((h, w) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(
|
|
4009
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: t.astrologers.map((h, w) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Qn, { astrologer: h, t: c }) }, w)) })
|
|
4009
4010
|
] })
|
|
4010
4011
|
] })
|
|
4011
4012
|
]
|
|
@@ -4016,7 +4017,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4016
4017
|
if (!n) return t;
|
|
4017
4018
|
const i = Number(n[1]), c = n[2], g = i >= 12 ? "PM" : "AM";
|
|
4018
4019
|
return `${i % 12 || 12}:${c} ${g}`;
|
|
4019
|
-
},
|
|
4020
|
+
}, eo = (t, n = /* @__PURE__ */ new Date()) => {
|
|
4020
4021
|
const i = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
4021
4022
|
if (Number.isNaN(c.getTime()))
|
|
4022
4023
|
return { id: t, dayLabel: t, dayNum: "" };
|
|
@@ -4024,11 +4025,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4024
4025
|
(g(c) - g(n)) / (1e3 * 60 * 60 * 24)
|
|
4025
4026
|
), h = k === 0 ? "Today" : k === 1 ? "Tomorrow" : i[c.getDay()];
|
|
4026
4027
|
return { id: t, dayLabel: h, dayNum: String(c.getDate()) };
|
|
4027
|
-
},
|
|
4028
|
+
}, ao = [
|
|
4028
4029
|
"morning",
|
|
4029
4030
|
"afternoon",
|
|
4030
4031
|
"evening"
|
|
4031
|
-
],
|
|
4032
|
+
], to = [
|
|
4032
4033
|
{ id: "career_work", labelKey: "planTopicCareerWork", label: "Career & work" },
|
|
4033
4034
|
{ id: "health_wellbeing", labelKey: "planTopicHealthWellbeing", label: "Health & wellbeing" },
|
|
4034
4035
|
{ id: "love_marriage", labelKey: "planTopicLoveMarriage", label: "Love & marriage" },
|
|
@@ -4041,7 +4042,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4041
4042
|
{ code: "gu", labelKey: "formReportLanguageGujarati", label: "Gujarati" },
|
|
4042
4043
|
{ code: "mr", labelKey: "formReportLanguageMarathi", label: "Marathi" },
|
|
4043
4044
|
{ code: "ta", labelKey: "formReportLanguageTamil", label: "Tamil" }
|
|
4044
|
-
],
|
|
4045
|
+
], ro = {
|
|
4045
4046
|
en: ["hi", "en"],
|
|
4046
4047
|
hi: ["hi", "en"],
|
|
4047
4048
|
te: ["te", "en"],
|
|
@@ -4049,7 +4050,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4049
4050
|
gu: ["gu", "en"],
|
|
4050
4051
|
mr: ["mr", "hi"],
|
|
4051
4052
|
ta: ["ta", "en"]
|
|
4052
|
-
},
|
|
4053
|
+
}, no = {
|
|
4053
4054
|
en: ["en", "hi"],
|
|
4054
4055
|
hi: ["hi", "en"],
|
|
4055
4056
|
te: ["te", "en"],
|
|
@@ -4057,78 +4058,78 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4057
4058
|
gu: ["gu", "en"],
|
|
4058
4059
|
mr: ["mr", "en"],
|
|
4059
4060
|
ta: ["ta", "en"]
|
|
4060
|
-
}, La = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0),
|
|
4061
|
-
const c = i ?
|
|
4061
|
+
}, La = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0), oo = (t, n, i) => {
|
|
4062
|
+
const c = i ? no : ro, [g, k] = c[n || "en"] ?? c.en, h = qe.map((b) => b.code).filter(
|
|
4062
4063
|
(b) => b !== g && b !== k
|
|
4063
4064
|
);
|
|
4064
4065
|
return [g, k, ...h].find((b) => La(t[b])) ?? g;
|
|
4065
|
-
},
|
|
4066
|
-
overlay:
|
|
4067
|
-
sheet:
|
|
4068
|
-
content:
|
|
4069
|
-
header:
|
|
4070
|
-
backBtn:
|
|
4071
|
-
title:
|
|
4072
|
-
languageRow:
|
|
4073
|
-
languageLabel:
|
|
4074
|
-
languageDropdown:
|
|
4075
|
-
languageDropdownBtn:
|
|
4076
|
-
languageMenu:
|
|
4077
|
-
languageMenuItem:
|
|
4078
|
-
languageMenuItemSelected:
|
|
4079
|
-
languageDivider:
|
|
4080
|
-
reportReadyBanner:
|
|
4081
|
-
reportReadyDuration:
|
|
4082
|
-
trustRow:
|
|
4083
|
-
trustAvatars:
|
|
4084
|
-
trustText:
|
|
4085
|
-
sectionHeading:
|
|
4086
|
-
dateTabs:
|
|
4087
|
-
dateTabIndicator:
|
|
4088
|
-
dateTab:
|
|
4089
|
-
dateTabDivider:
|
|
4090
|
-
dateTabSelected:
|
|
4091
|
-
dateTabLabel:
|
|
4092
|
-
dateTabNum:
|
|
4093
|
-
periodTabs:
|
|
4094
|
-
periodTabIndicator:
|
|
4095
|
-
periodTab:
|
|
4096
|
-
periodTabSelected:
|
|
4097
|
-
timeGrid:
|
|
4098
|
-
emptyState:
|
|
4099
|
-
timeSlot:
|
|
4100
|
-
timeSlotSelected:
|
|
4101
|
-
topicGrid:
|
|
4102
|
-
topicChip:
|
|
4103
|
-
topicChipSelected:
|
|
4104
|
-
stateMessage:
|
|
4105
|
-
emptyStateIcon:
|
|
4106
|
-
emptyStateTitle:
|
|
4107
|
-
emptyStateSubtitle:
|
|
4108
|
-
loadingWrap:
|
|
4109
|
-
skeletonShimmer:
|
|
4110
|
-
skeletonDateTabs:
|
|
4111
|
-
skeletonDateTab:
|
|
4112
|
-
skeletonPeriodTabs:
|
|
4113
|
-
skeletonPeriodTab:
|
|
4114
|
-
skeletonTimeGrid:
|
|
4115
|
-
skeletonTimeSlot:
|
|
4116
|
-
retryBtn:
|
|
4117
|
-
footer:
|
|
4118
|
-
proceedBtn:
|
|
4119
|
-
proceedBtnDisabled:
|
|
4120
|
-
}, ii = {
|
|
4121
|
-
morning: Zr,
|
|
4122
|
-
afternoon: en,
|
|
4123
|
-
evening: an
|
|
4066
|
+
}, io = "_overlay_12sjj_3", lo = "_sheet_12sjj_13", so = "_content_12sjj_35", co = "_header_12sjj_42", uo = "_backBtn_12sjj_55", po = "_title_12sjj_73", mo = "_languageRow_12sjj_89", fo = "_languageLabel_12sjj_97", ho = "_languageDropdown_12sjj_103", go = "_languageDropdownBtn_12sjj_107", bo = "_languageMenu_12sjj_122", _o = "_languageMenuItem_12sjj_139", ko = "_languageMenuItemSelected_12sjj_153", yo = "_languageDivider_12sjj_159", Ao = "_reportReadyBanner_12sjj_166", vo = "_reportReadyDuration_12sjj_175", To = "_trustRow_12sjj_181", Po = "_trustAvatars_12sjj_192", xo = "_trustText_12sjj_205", wo = "_sectionHeading_12sjj_316", So = "_dateTabs_12sjj_324", Co = "_dateTabIndicator_12sjj_336", jo = "_dateTab_12sjj_324", Ro = "_dateTabDivider_12sjj_370", No = "_dateTabSelected_12sjj_380", Lo = "_dateTabLabel_12sjj_385", Bo = "_dateTabNum_12sjj_392", Do = "_periodTabs_12sjj_406", Eo = "_periodTabIndicator_12sjj_334", Io = "_periodTab_12sjj_334", Fo = "_periodTabSelected_12sjj_453", Mo = "_timeGrid_12sjj_458", Uo = "_emptyState_12sjj_486", Go = "_timeSlot_12sjj_490", Oo = "_timeSlotSelected_12sjj_506", $o = "_topicGrid_12sjj_514", Ho = "_topicChip_12sjj_520", Wo = "_topicChipSelected_12sjj_536", Ko = "_stateMessage_12sjj_543", qo = "_emptyStateIcon_12sjj_563", Yo = "_emptyStateTitle_12sjj_574", Vo = "_emptyStateSubtitle_12sjj_581", Jo = "_loadingWrap_12sjj_590", zo = "_skeletonShimmer_12sjj_595", Qo = "_skeletonDateTabs_12sjj_609", Xo = "_skeletonDateTab_12sjj_609", Zo = "_skeletonPeriodTabs_12sjj_623", ei = "_skeletonPeriodTab_12sjj_623", ai = "_skeletonTimeGrid_12sjj_638", ti = "_skeletonTimeSlot_12sjj_644", ri = "_retryBtn_12sjj_649", ni = "_footer_12sjj_663", oi = "_proceedBtn_12sjj_670", ii = "_proceedBtnDisabled_12sjj_688", m = {
|
|
4067
|
+
overlay: io,
|
|
4068
|
+
sheet: lo,
|
|
4069
|
+
content: so,
|
|
4070
|
+
header: co,
|
|
4071
|
+
backBtn: uo,
|
|
4072
|
+
title: po,
|
|
4073
|
+
languageRow: mo,
|
|
4074
|
+
languageLabel: fo,
|
|
4075
|
+
languageDropdown: ho,
|
|
4076
|
+
languageDropdownBtn: go,
|
|
4077
|
+
languageMenu: bo,
|
|
4078
|
+
languageMenuItem: _o,
|
|
4079
|
+
languageMenuItemSelected: ko,
|
|
4080
|
+
languageDivider: yo,
|
|
4081
|
+
reportReadyBanner: Ao,
|
|
4082
|
+
reportReadyDuration: vo,
|
|
4083
|
+
trustRow: To,
|
|
4084
|
+
trustAvatars: Po,
|
|
4085
|
+
trustText: xo,
|
|
4086
|
+
sectionHeading: wo,
|
|
4087
|
+
dateTabs: So,
|
|
4088
|
+
dateTabIndicator: Co,
|
|
4089
|
+
dateTab: jo,
|
|
4090
|
+
dateTabDivider: Ro,
|
|
4091
|
+
dateTabSelected: No,
|
|
4092
|
+
dateTabLabel: Lo,
|
|
4093
|
+
dateTabNum: Bo,
|
|
4094
|
+
periodTabs: Do,
|
|
4095
|
+
periodTabIndicator: Eo,
|
|
4096
|
+
periodTab: Io,
|
|
4097
|
+
periodTabSelected: Fo,
|
|
4098
|
+
timeGrid: Mo,
|
|
4099
|
+
emptyState: Uo,
|
|
4100
|
+
timeSlot: Go,
|
|
4101
|
+
timeSlotSelected: Oo,
|
|
4102
|
+
topicGrid: $o,
|
|
4103
|
+
topicChip: Ho,
|
|
4104
|
+
topicChipSelected: Wo,
|
|
4105
|
+
stateMessage: Ko,
|
|
4106
|
+
emptyStateIcon: qo,
|
|
4107
|
+
emptyStateTitle: Yo,
|
|
4108
|
+
emptyStateSubtitle: Vo,
|
|
4109
|
+
loadingWrap: Jo,
|
|
4110
|
+
skeletonShimmer: zo,
|
|
4111
|
+
skeletonDateTabs: Qo,
|
|
4112
|
+
skeletonDateTab: Xo,
|
|
4113
|
+
skeletonPeriodTabs: Zo,
|
|
4114
|
+
skeletonPeriodTab: ei,
|
|
4115
|
+
skeletonTimeGrid: ai,
|
|
4116
|
+
skeletonTimeSlot: ti,
|
|
4117
|
+
retryBtn: ri,
|
|
4118
|
+
footer: ni,
|
|
4119
|
+
proceedBtn: oi,
|
|
4120
|
+
proceedBtnDisabled: ii
|
|
4124
4121
|
}, li = {
|
|
4122
|
+
morning: en,
|
|
4123
|
+
afternoon: an,
|
|
4124
|
+
evening: tn
|
|
4125
|
+
}, si = {
|
|
4125
4126
|
morning: "planPeriodMorning",
|
|
4126
4127
|
afternoon: "planPeriodAfternoon",
|
|
4127
4128
|
evening: "planPeriodEvening"
|
|
4128
|
-
}, ta = (t) => qe.find((n) => n.code === t)?.label ?? t,
|
|
4129
|
+
}, ta = (t) => qe.find((n) => n.code === t)?.label ?? t, ci = (t) => {
|
|
4129
4130
|
const n = t.match(/([+-]\d{2}:\d{2})$/);
|
|
4130
4131
|
return n ? `GMT${n[1]}` : t.endsWith("Z") ? "GMT+00:00" : "";
|
|
4131
|
-
},
|
|
4132
|
+
}, di = ({
|
|
4132
4133
|
onProceed: t,
|
|
4133
4134
|
astrologers: n,
|
|
4134
4135
|
t: i,
|
|
@@ -4139,7 +4140,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4139
4140
|
hideFooter: w = !1,
|
|
4140
4141
|
onStateChange: b
|
|
4141
4142
|
}) => {
|
|
4142
|
-
const Y = h ?? !k, D = Me(), N = D?.config.imageComponent ?? Ye, p = D?.config.fetchConsultationSlots, U = D?.config.isGlobal ?? !0, A = g ?? D?.formValues?.language_code, R = k ? "post_payment" : "pre_payment", [y, _] = B(!1), [S, te] = B(!1), [C,
|
|
4143
|
+
const Y = h ?? !k, D = Me(), N = D?.config.imageComponent ?? Ye, p = D?.config.fetchConsultationSlots, U = D?.config.isGlobal ?? !0, A = g ?? D?.formValues?.language_code, R = k ? "post_payment" : "pre_payment", [y, _] = B(!1), [S, te] = B(!1), [C, V] = B({}), [x, J] = B("en"), [j, E] = B(!1), se = M(null), ae = Ee(
|
|
4143
4144
|
() => C[x]?.days ?? [],
|
|
4144
4145
|
[C, x]
|
|
4145
4146
|
), [G, I] = B(""), [$, X] = B(""), [O, Te] = B("morning"), [K, re] = B(null), he = M(!1), ue = M(null), we = M({}), [ne, Re] = B(null), _e = M(null), pe = M(
|
|
@@ -4149,12 +4150,12 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4149
4150
|
[ae]
|
|
4150
4151
|
), me = je(() => {
|
|
4151
4152
|
p && (_(!0), te(!1), p().then((l) => {
|
|
4152
|
-
const f = l ?? {}, Z =
|
|
4153
|
+
const f = l ?? {}, Z = oo(
|
|
4153
4154
|
f,
|
|
4154
4155
|
A,
|
|
4155
4156
|
U
|
|
4156
4157
|
);
|
|
4157
|
-
|
|
4158
|
+
V(f), J(Z), c?.trackConsultationLanguageDefaultSelected?.({
|
|
4158
4159
|
language: ta(Z),
|
|
4159
4160
|
status: R
|
|
4160
4161
|
});
|
|
@@ -4197,7 +4198,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4197
4198
|
), fe = Ee(() => {
|
|
4198
4199
|
if (!ie) return [];
|
|
4199
4200
|
const l = new Set(ie.slots.map((f) => f.period));
|
|
4200
|
-
return
|
|
4201
|
+
return ao.filter((f) => l.has(f));
|
|
4201
4202
|
}, [ie]);
|
|
4202
4203
|
q(() => {
|
|
4203
4204
|
if (!fe.length) {
|
|
@@ -4248,7 +4249,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4248
4249
|
const f = ee[0];
|
|
4249
4250
|
c?.trackConsultationTimeDefaultSelected?.({
|
|
4250
4251
|
time: aa(f.start),
|
|
4251
|
-
gmt_offset:
|
|
4252
|
+
gmt_offset: ci(f.start),
|
|
4252
4253
|
status: R
|
|
4253
4254
|
});
|
|
4254
4255
|
}
|
|
@@ -4305,7 +4306,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4305
4306
|
new_language: ta(l),
|
|
4306
4307
|
slots_available: La(C[l]) ? "yes" : "no",
|
|
4307
4308
|
status: R
|
|
4308
|
-
}),
|
|
4309
|
+
}), J(l), E(!1);
|
|
4309
4310
|
}, P = qe.find((l) => l.code === x) ?? qe[0];
|
|
4310
4311
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4311
4312
|
/* @__PURE__ */ e.jsxs("div", { className: m.content, children: [
|
|
@@ -4322,7 +4323,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4322
4323
|
"aria-expanded": j,
|
|
4323
4324
|
children: [
|
|
4324
4325
|
i?.(P.labelKey) ?? P.label,
|
|
4325
|
-
/* @__PURE__ */ e.jsx(
|
|
4326
|
+
/* @__PURE__ */ e.jsx(Xr, {})
|
|
4326
4327
|
]
|
|
4327
4328
|
}
|
|
4328
4329
|
),
|
|
@@ -4385,7 +4386,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4385
4386
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: m.retryBtn, onClick: me, children: i?.("planRetry") ?? "Retry" })
|
|
4386
4387
|
] }),
|
|
4387
4388
|
!y && !S && H.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: m.emptyState, children: [
|
|
4388
|
-
/* @__PURE__ */ e.jsx("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e.jsx(
|
|
4389
|
+
/* @__PURE__ */ e.jsx("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e.jsx(rn, {}) }),
|
|
4389
4390
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateTitle, children: i?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
4390
4391
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateSubtitle, children: i?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
4391
4392
|
] }),
|
|
@@ -4404,7 +4405,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4404
4405
|
}
|
|
4405
4406
|
),
|
|
4406
4407
|
H.map((l) => {
|
|
4407
|
-
const f = l.date === $, { dayLabel: Z, dayNum: be } =
|
|
4408
|
+
const f = l.date === $, { dayLabel: Z, dayNum: be } = eo(l.date);
|
|
4408
4409
|
return /* @__PURE__ */ e.jsxs(Va, { children: [
|
|
4409
4410
|
/* @__PURE__ */ e.jsxs(
|
|
4410
4411
|
"button",
|
|
@@ -4443,7 +4444,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4443
4444
|
}
|
|
4444
4445
|
),
|
|
4445
4446
|
fe.map((l) => {
|
|
4446
|
-
const f =
|
|
4447
|
+
const f = li[l], Z = l === "evening" && U ? "planPeriodEveningNight" : si[l];
|
|
4447
4448
|
return /* @__PURE__ */ e.jsxs(
|
|
4448
4449
|
"button",
|
|
4449
4450
|
{
|
|
@@ -4494,7 +4495,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4494
4495
|
] }),
|
|
4495
4496
|
Y && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4496
4497
|
/* @__PURE__ */ e.jsx("p", { className: m.sectionHeading, children: i?.("planGuidanceHeading") ?? "What would you like guidance on?" }),
|
|
4497
|
-
/* @__PURE__ */ e.jsx("div", { className: m.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children:
|
|
4498
|
+
/* @__PURE__ */ e.jsx("div", { className: m.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children: to.map((l) => /* @__PURE__ */ e.jsx(
|
|
4498
4499
|
"button",
|
|
4499
4500
|
{
|
|
4500
4501
|
type: "button",
|
|
@@ -4539,7 +4540,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4539
4540
|
)
|
|
4540
4541
|
] })
|
|
4541
4542
|
] });
|
|
4542
|
-
},
|
|
4543
|
+
}, ui = ({
|
|
4543
4544
|
isOpen: t,
|
|
4544
4545
|
onClose: n,
|
|
4545
4546
|
t: i,
|
|
@@ -4565,10 +4566,10 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4565
4566
|
),
|
|
4566
4567
|
/* @__PURE__ */ e.jsx("h2", { className: m.title, children: i?.("planConsultationSlotTitle") ?? "Select consultation slot" })
|
|
4567
4568
|
] }),
|
|
4568
|
-
/* @__PURE__ */ e.jsx(
|
|
4569
|
+
/* @__PURE__ */ e.jsx(di, { t: i, ...c })
|
|
4569
4570
|
] })
|
|
4570
4571
|
}
|
|
4571
|
-
) : null,
|
|
4572
|
+
) : null, pi = [
|
|
4572
4573
|
{
|
|
4573
4574
|
id: "jyoti",
|
|
4574
4575
|
name: "planAstrologerNameJyoti",
|
|
@@ -4596,7 +4597,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4596
4597
|
experience: "planAstrologerExpNeeraj",
|
|
4597
4598
|
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
4598
4599
|
}
|
|
4599
|
-
],
|
|
4600
|
+
], mi = (t) => [
|
|
4600
4601
|
{
|
|
4601
4602
|
id: "kundli-report",
|
|
4602
4603
|
title: "planNameBasic",
|
|
@@ -4622,11 +4623,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4622
4623
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
4623
4624
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
4624
4625
|
],
|
|
4625
|
-
astrologers:
|
|
4626
|
+
astrologers: pi.filter(
|
|
4626
4627
|
(n) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(n.id)
|
|
4627
4628
|
)
|
|
4628
4629
|
}
|
|
4629
|
-
],
|
|
4630
|
+
], fi = ({
|
|
4630
4631
|
isOpen: t,
|
|
4631
4632
|
onClose: n,
|
|
4632
4633
|
selectedPlan: i,
|
|
@@ -4637,11 +4638,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4637
4638
|
analytics: w,
|
|
4638
4639
|
enableConsultationScheduling: b
|
|
4639
4640
|
}) => {
|
|
4640
|
-
const Y = Me(), D = Y?.config.isGlobal ?? !0, N = b ?? Y?.config.enableConsultationScheduling ?? !1, p = g ??
|
|
4641
|
+
const Y = Me(), D = Y?.config.isGlobal ?? !0, N = b ?? Y?.config.enableConsultationScheduling ?? !1, p = g ?? mi(D), U = i?.id || p.find((C) => C.badge)?.id || p[0]?.id || "", A = M(null), R = M(null), y = M(!1), [_, S] = B(!1);
|
|
4641
4642
|
q(() => {
|
|
4642
4643
|
if (t) {
|
|
4643
4644
|
if (!i) {
|
|
4644
|
-
const C = p.find((
|
|
4645
|
+
const C = p.find((V) => V.badge) ?? p[0];
|
|
4645
4646
|
C && c(C);
|
|
4646
4647
|
}
|
|
4647
4648
|
y.current || (w?.trackPlanPageViewed?.(), N && w?.trackPlanScreenViewed?.({
|
|
@@ -4656,127 +4657,130 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4656
4657
|
};
|
|
4657
4658
|
return q(() => {
|
|
4658
4659
|
if (!t) return;
|
|
4659
|
-
const C = document.body.style.overflow;
|
|
4660
|
-
return document.body.style.overflow = "hidden", () => {
|
|
4661
|
-
document.body.style.overflow = C;
|
|
4660
|
+
const C = document.body.style.overflow, V = document.documentElement.style.overflow;
|
|
4661
|
+
return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
|
|
4662
|
+
document.body.style.overflow = C, document.documentElement.style.overflow = V;
|
|
4662
4663
|
};
|
|
4663
|
-
}, [t]), t ?
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4664
|
+
}, [t]), t ? et(
|
|
4665
|
+
/* @__PURE__ */ e.jsxs(
|
|
4666
|
+
"div",
|
|
4667
|
+
{
|
|
4668
|
+
className: T.overlay,
|
|
4669
|
+
role: "dialog",
|
|
4670
|
+
"aria-modal": "true",
|
|
4671
|
+
"aria-label": h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
4672
|
+
children: [
|
|
4673
|
+
/* @__PURE__ */ e.jsxs(
|
|
4674
|
+
"div",
|
|
4675
|
+
{
|
|
4676
|
+
ref: A,
|
|
4677
|
+
className: N ? T.sheetFullScreen : T.sheet,
|
|
4678
|
+
children: [
|
|
4679
|
+
N ? /* @__PURE__ */ e.jsxs("div", { className: T.headerFull, children: [
|
|
4680
|
+
/* @__PURE__ */ e.jsx(
|
|
4681
|
+
"button",
|
|
4682
|
+
{
|
|
4683
|
+
className: T.backBtn,
|
|
4684
|
+
onClick: te,
|
|
4685
|
+
"aria-label": "Go back",
|
|
4686
|
+
type: "button",
|
|
4687
|
+
children: /* @__PURE__ */ e.jsx(sa, {})
|
|
4688
|
+
}
|
|
4689
|
+
),
|
|
4690
|
+
/* @__PURE__ */ e.jsx("h2", { className: T.titleFull, children: h?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
4691
|
+
] }) : /* @__PURE__ */ e.jsx(
|
|
4692
|
+
Jn,
|
|
4693
|
+
{
|
|
4694
|
+
title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
4695
|
+
onBack: te
|
|
4696
|
+
}
|
|
4697
|
+
),
|
|
4678
4698
|
/* @__PURE__ */ e.jsx(
|
|
4679
|
-
"
|
|
4699
|
+
"div",
|
|
4680
4700
|
{
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
children: /* @__PURE__ */ e.jsx(
|
|
4701
|
+
ref: R,
|
|
4702
|
+
className: T.plansContainer,
|
|
4703
|
+
role: "radiogroup",
|
|
4704
|
+
"aria-label": "Kundli plans",
|
|
4705
|
+
children: p.map((C) => /* @__PURE__ */ e.jsx(
|
|
4706
|
+
Zn,
|
|
4707
|
+
{
|
|
4708
|
+
plan: C,
|
|
4709
|
+
isSelected: C.id === U,
|
|
4710
|
+
t: h,
|
|
4711
|
+
onSelect: (V) => {
|
|
4712
|
+
const x = p.find((J) => J.id === V);
|
|
4713
|
+
x && (w?.trackPlanSelected?.({
|
|
4714
|
+
planId: x.id,
|
|
4715
|
+
planName: x.title,
|
|
4716
|
+
...N ? {
|
|
4717
|
+
price: x.price,
|
|
4718
|
+
includes_consultation: !!(x.astrologers && x.astrologers.length > 0),
|
|
4719
|
+
cta_label: x.astrologers && x.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
4720
|
+
} : {}
|
|
4721
|
+
}), c(x));
|
|
4722
|
+
}
|
|
4723
|
+
},
|
|
4724
|
+
C.id
|
|
4725
|
+
))
|
|
4686
4726
|
}
|
|
4687
4727
|
),
|
|
4688
|
-
/* @__PURE__ */ e.jsx("
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
t: h,
|
|
4709
|
-
onSelect: (Q) => {
|
|
4710
|
-
const x = p.find((V) => V.id === Q);
|
|
4711
|
-
x && (w?.trackPlanSelected?.({
|
|
4712
|
-
planId: x.id,
|
|
4713
|
-
planName: x.title,
|
|
4714
|
-
...N ? {
|
|
4715
|
-
price: x.price,
|
|
4716
|
-
includes_consultation: !!(x.astrologers && x.astrologers.length > 0),
|
|
4717
|
-
cta_label: x.astrologers && x.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
4718
|
-
} : {}
|
|
4719
|
-
}), c(x));
|
|
4720
|
-
}
|
|
4721
|
-
},
|
|
4722
|
-
C.id
|
|
4723
|
-
))
|
|
4724
|
-
}
|
|
4725
|
-
),
|
|
4726
|
-
/* @__PURE__ */ e.jsx("div", { className: T.footer, children: /* @__PURE__ */ e.jsx(
|
|
4727
|
-
"button",
|
|
4728
|
-
{
|
|
4729
|
-
className: T.proceedBtn,
|
|
4730
|
-
disabled: !i,
|
|
4731
|
-
onClick: () => {
|
|
4732
|
-
if (i) {
|
|
4733
|
-
if (N && i.astrologers && i.astrologers.length > 0) {
|
|
4734
|
-
w?.trackSelectConsultationSlotClicked?.({
|
|
4735
|
-
planId: i.id,
|
|
4736
|
-
planName: i.title
|
|
4737
|
-
}), w?.trackPlanProceedClicked?.({
|
|
4728
|
+
/* @__PURE__ */ e.jsx("div", { className: T.footer, children: /* @__PURE__ */ e.jsx(
|
|
4729
|
+
"button",
|
|
4730
|
+
{
|
|
4731
|
+
className: T.proceedBtn,
|
|
4732
|
+
disabled: !i,
|
|
4733
|
+
onClick: () => {
|
|
4734
|
+
if (i) {
|
|
4735
|
+
if (N && i.astrologers && i.astrologers.length > 0) {
|
|
4736
|
+
w?.trackSelectConsultationSlotClicked?.({
|
|
4737
|
+
planId: i.id,
|
|
4738
|
+
planName: i.title
|
|
4739
|
+
}), w?.trackPlanProceedClicked?.({
|
|
4740
|
+
planId: i.id,
|
|
4741
|
+
planName: i.title,
|
|
4742
|
+
cta_type: "confirm_consultation_slot",
|
|
4743
|
+
next_step: "slot_selection"
|
|
4744
|
+
}), S(!0);
|
|
4745
|
+
return;
|
|
4746
|
+
}
|
|
4747
|
+
w?.trackPlanProceedClicked?.({
|
|
4738
4748
|
planId: i.id,
|
|
4739
4749
|
planName: i.title,
|
|
4740
|
-
cta_type: "
|
|
4741
|
-
|
|
4742
|
-
}), S(!0);
|
|
4743
|
-
return;
|
|
4750
|
+
...N ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
4751
|
+
}), k(i), n();
|
|
4744
4752
|
}
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
}
|
|
4751
|
-
},
|
|
4752
|
-
children: i ? N && i.astrologers && i.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? i.price + "Proceed to Payment" : "Select a plan"
|
|
4753
|
-
}
|
|
4754
|
-
) })
|
|
4755
|
-
]
|
|
4756
|
-
}
|
|
4757
|
-
),
|
|
4758
|
-
N && i?.astrologers && i.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
4759
|
-
di,
|
|
4760
|
-
{
|
|
4761
|
-
isOpen: _,
|
|
4762
|
-
onClose: () => S(!1),
|
|
4763
|
-
astrologers: i.astrologers,
|
|
4764
|
-
t: h,
|
|
4765
|
-
analytics: w,
|
|
4766
|
-
onProceed: (C) => {
|
|
4767
|
-
w?.trackPlanProceedClicked?.({
|
|
4768
|
-
planId: i.id,
|
|
4769
|
-
planName: i.title,
|
|
4770
|
-
cta_type: "proceed",
|
|
4771
|
-
next_step: "payment"
|
|
4772
|
-
}), k(i, C), S(!1), n();
|
|
4753
|
+
},
|
|
4754
|
+
children: i ? N && i.astrologers && i.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? i.price + "Proceed to Payment" : "Select a plan"
|
|
4755
|
+
}
|
|
4756
|
+
) })
|
|
4757
|
+
]
|
|
4773
4758
|
}
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4759
|
+
),
|
|
4760
|
+
N && i?.astrologers && i.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
4761
|
+
ui,
|
|
4762
|
+
{
|
|
4763
|
+
isOpen: _,
|
|
4764
|
+
onClose: () => S(!1),
|
|
4765
|
+
astrologers: i.astrologers,
|
|
4766
|
+
t: h,
|
|
4767
|
+
analytics: w,
|
|
4768
|
+
onProceed: (C) => {
|
|
4769
|
+
w?.trackPlanProceedClicked?.({
|
|
4770
|
+
planId: i.id,
|
|
4771
|
+
planName: i.title,
|
|
4772
|
+
cta_type: "proceed",
|
|
4773
|
+
next_step: "payment"
|
|
4774
|
+
}), k(i, C), S(!1), n();
|
|
4775
|
+
}
|
|
4776
|
+
}
|
|
4777
|
+
)
|
|
4778
|
+
]
|
|
4779
|
+
}
|
|
4780
|
+
),
|
|
4781
|
+
document.body
|
|
4778
4782
|
) : null;
|
|
4779
|
-
},
|
|
4783
|
+
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) => xa[t]?.[n] ?? n, bi = (t, n) => t && ra.includes(t) ? t : n ? "+1" : "+91", _i = {
|
|
4780
4784
|
fullName: "",
|
|
4781
4785
|
phone: "",
|
|
4782
4786
|
phoneCountryCode: "",
|
|
@@ -4787,7 +4791,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4787
4791
|
birthTime: "",
|
|
4788
4792
|
birthTimeUnknown: !1,
|
|
4789
4793
|
birthPlace: ""
|
|
4790
|
-
},
|
|
4794
|
+
}, Si = ({
|
|
4791
4795
|
className: t = "",
|
|
4792
4796
|
locale: n,
|
|
4793
4797
|
showLanguageSelector: i = !0,
|
|
@@ -4803,7 +4807,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4803
4807
|
googleMapsAutocompleteEnabled: p,
|
|
4804
4808
|
analytics: U
|
|
4805
4809
|
}) => {
|
|
4806
|
-
const A = Me(), R =
|
|
4810
|
+
const A = Me(), R = At(), y = A !== null, _ = y ? A.locale : n, S = _ ?? R?.locale ?? "en", [te, C] = B(S), V = y ? A.locale : te, x = y ? A.setLocale : C, [J, j] = B(!1), E = M(null), se = M(
|
|
4807
4811
|
_
|
|
4808
4812
|
), ae = M(
|
|
4809
4813
|
R?.locale
|
|
@@ -4811,7 +4815,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4811
4815
|
q(() => {
|
|
4812
4816
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
4813
4817
|
}, []);
|
|
4814
|
-
const G = (P) =>
|
|
4818
|
+
const G = (P) => gi(V, P);
|
|
4815
4819
|
q(() => {
|
|
4816
4820
|
_ && se.current !== _ && x(_), se.current = _;
|
|
4817
4821
|
}, [_, x]), q(() => {
|
|
@@ -4820,11 +4824,11 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4820
4824
|
P && ae.current !== P && x(P), ae.current = P;
|
|
4821
4825
|
}, [R?.locale, _, x]);
|
|
4822
4826
|
const [I, $] = B({
|
|
4823
|
-
...
|
|
4827
|
+
..._i,
|
|
4824
4828
|
...g,
|
|
4825
4829
|
phone: g?.phone ?? ""
|
|
4826
4830
|
}), X = y ? A?.config.isGlobal ?? !0 : !0, O = y ? A.formValues : I, Te = y ? A.setFormValues : $, [K, re] = B(
|
|
4827
|
-
() =>
|
|
4831
|
+
() => bi(O.phoneCountryCode, X)
|
|
4828
4832
|
), he = M(
|
|
4829
4833
|
!!(O.phoneCountryCode && ra.includes(O.phoneCountryCode))
|
|
4830
4834
|
), ue = M(!1), we = je((P) => {
|
|
@@ -4843,12 +4847,12 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4843
4847
|
}, [y, O.phoneCountryCode]);
|
|
4844
4848
|
const Re = y ? A.goToPage : c, _e = y ? A.onProceed : k, pe = y ? A.onProceedGuidance : h, ge = y ? A.config.proceedHref : w, oe = y ? A.config.originalPriceLabel : b, H = y ? A.config.discountedPriceLabel : Y, me = y ? A.config.showLanguageSelector ?? !0 : i, ie = (y ? A?.config?.analytics : U) ?? U;
|
|
4845
4849
|
q(() => {
|
|
4846
|
-
if (!
|
|
4850
|
+
if (!J) return;
|
|
4847
4851
|
const P = (l) => {
|
|
4848
4852
|
E.current && !E.current.contains(l.target) && j(!1);
|
|
4849
4853
|
};
|
|
4850
4854
|
return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
|
|
4851
|
-
}, [
|
|
4855
|
+
}, [J]);
|
|
4852
4856
|
const [fe, ee] = B(!1), [ce, Ne] = B(null), Pe = M(null), ke = je((P) => {
|
|
4853
4857
|
Pe.current = P, ee(!0);
|
|
4854
4858
|
}, []), ye = M(!1);
|
|
@@ -4879,9 +4883,9 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4879
4883
|
type: "button",
|
|
4880
4884
|
className: Le.langTrigger,
|
|
4881
4885
|
onClick: () => {
|
|
4882
|
-
ie?.trackLanguageClickedFe?.({ language:
|
|
4886
|
+
ie?.trackLanguageClickedFe?.({ language: V }), j((P) => !P);
|
|
4883
4887
|
},
|
|
4884
|
-
"aria-expanded":
|
|
4888
|
+
"aria-expanded": J,
|
|
4885
4889
|
"aria-haspopup": "listbox",
|
|
4886
4890
|
id: "kundli-form-lang",
|
|
4887
4891
|
"aria-label": G("language"),
|
|
@@ -4889,7 +4893,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4889
4893
|
/* @__PURE__ */ e.jsx(
|
|
4890
4894
|
Be,
|
|
4891
4895
|
{
|
|
4892
|
-
src:
|
|
4896
|
+
src: hi,
|
|
4893
4897
|
alt: "",
|
|
4894
4898
|
className: Le.langIcon,
|
|
4895
4899
|
width: 16,
|
|
@@ -4897,23 +4901,23 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4897
4901
|
loading: "eager"
|
|
4898
4902
|
}
|
|
4899
4903
|
),
|
|
4900
|
-
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children: ka[
|
|
4904
|
+
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children: ka[V] })
|
|
4901
4905
|
]
|
|
4902
4906
|
}
|
|
4903
4907
|
),
|
|
4904
|
-
|
|
4908
|
+
J && /* @__PURE__ */ e.jsx(
|
|
4905
4909
|
"ul",
|
|
4906
4910
|
{
|
|
4907
4911
|
className: Le.langMenu,
|
|
4908
4912
|
role: "listbox",
|
|
4909
4913
|
"aria-labelledby": "kundli-form-lang",
|
|
4910
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
4914
|
+
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
4911
4915
|
children: Pa.map((P) => /* @__PURE__ */ e.jsx(
|
|
4912
4916
|
"li",
|
|
4913
4917
|
{
|
|
4914
4918
|
id: `kundli-form-lang-option-${P}`,
|
|
4915
4919
|
role: "option",
|
|
4916
|
-
"aria-selected": P ===
|
|
4920
|
+
"aria-selected": P === V,
|
|
4917
4921
|
className: Le.langOption,
|
|
4918
4922
|
onClick: () => {
|
|
4919
4923
|
ie?.trackLanguageChangedFe?.({ newLanguage: P }), x(P), j(!1);
|
|
@@ -4927,7 +4931,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4927
4931
|
] }) : null;
|
|
4928
4932
|
return /* @__PURE__ */ e.jsxs("div", { className: `${Le.container} ${t}`, children: [
|
|
4929
4933
|
/* @__PURE__ */ e.jsx(
|
|
4930
|
-
|
|
4934
|
+
zr,
|
|
4931
4935
|
{
|
|
4932
4936
|
t: G,
|
|
4933
4937
|
logoUrl: y ? A.config.logoUrl : void 0,
|
|
@@ -4937,9 +4941,9 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4937
4941
|
),
|
|
4938
4942
|
/* @__PURE__ */ e.jsx("div", { className: Le.headerSeparator, "aria-hidden": !0 }),
|
|
4939
4943
|
/* @__PURE__ */ e.jsxs("main", { className: Le.main, children: [
|
|
4940
|
-
/* @__PURE__ */ e.jsx(
|
|
4944
|
+
/* @__PURE__ */ e.jsx(jt, { t: G, onBack: Re }),
|
|
4941
4945
|
/* @__PURE__ */ e.jsx(
|
|
4942
|
-
|
|
4946
|
+
Er,
|
|
4943
4947
|
{
|
|
4944
4948
|
t: G,
|
|
4945
4949
|
values: O,
|
|
@@ -4955,7 +4959,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4955
4959
|
)
|
|
4956
4960
|
] }),
|
|
4957
4961
|
/* @__PURE__ */ e.jsx(
|
|
4958
|
-
|
|
4962
|
+
Vr,
|
|
4959
4963
|
{
|
|
4960
4964
|
t: G,
|
|
4961
4965
|
values: O,
|
|
@@ -4973,7 +4977,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4973
4977
|
}
|
|
4974
4978
|
),
|
|
4975
4979
|
A?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
|
|
4976
|
-
|
|
4980
|
+
fi,
|
|
4977
4981
|
{
|
|
4978
4982
|
isOpen: fe,
|
|
4979
4983
|
onClose: () => ee(!1),
|
|
@@ -4988,7 +4992,7 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4988
4992
|
}
|
|
4989
4993
|
)
|
|
4990
4994
|
] });
|
|
4991
|
-
},
|
|
4995
|
+
}, Ci = {
|
|
4992
4996
|
banner_clicked_fe: "banner_clicked_fe",
|
|
4993
4997
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
4994
4998
|
language_changed_fe: "language_changed_fe",
|
|
@@ -5061,35 +5065,35 @@ const Sr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
5061
5065
|
kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
|
|
5062
5066
|
};
|
|
5063
5067
|
export {
|
|
5064
|
-
|
|
5068
|
+
di as C,
|
|
5065
5069
|
Ye as D,
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5070
|
+
jt as F,
|
|
5071
|
+
vi as I,
|
|
5072
|
+
Ci as K,
|
|
5069
5073
|
ka as L,
|
|
5070
5074
|
Ra as P,
|
|
5071
5075
|
Pa as S,
|
|
5072
|
-
|
|
5076
|
+
Er as U,
|
|
5073
5077
|
Sa as a,
|
|
5074
5078
|
ia as b,
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5079
|
+
Si as c,
|
|
5080
|
+
xi as d,
|
|
5081
|
+
Pt as e,
|
|
5082
|
+
xt as f,
|
|
5083
|
+
vt as g,
|
|
5080
5084
|
Me as h,
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
+
Pi as i,
|
|
5086
|
+
wi as j,
|
|
5087
|
+
ui as k,
|
|
5088
|
+
mi as l,
|
|
5085
5089
|
e as m,
|
|
5086
|
-
|
|
5090
|
+
zr as n,
|
|
5087
5091
|
sa as o,
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
+
Vr as p,
|
|
5093
|
+
fi as q,
|
|
5094
|
+
Ti as r,
|
|
5095
|
+
Tt as s,
|
|
5092
5096
|
xa as t,
|
|
5093
|
-
|
|
5097
|
+
At as u
|
|
5094
5098
|
};
|
|
5095
|
-
//# sourceMappingURL=analytics-
|
|
5099
|
+
//# sourceMappingURL=analytics-BcuxsZ76.js.map
|