@srimandir/kundli-generator 10.3.3 → 10.4.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-Dq972abg.js → analytics-C7q6coqa.js} +324 -293
- package/dist/analytics-C7q6coqa.js.map +1 -0
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +6 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +7 -0
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +3 -3
- package/dist/{criticalCss-DvHi7anu.js → criticalCss-Dwemq76K.js} +14 -3
- package/dist/criticalCss-Dwemq76K.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/package.json +2 -2
- package/dist/analytics-Dq972abg.js.map +0 -1
- package/dist/criticalCss-DvHi7anu.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import na, { useContext as oa, createContext as Ta, useState as B, useRef as M, useEffect as q, useMemo as Ee, useCallback as Re, Fragment as Va } from "react";
|
|
2
|
-
import { FormSectionHeader as
|
|
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
3
|
import { createPortal as et } from "react-dom";
|
|
4
4
|
var Ve = { exports: {} }, He = {};
|
|
5
5
|
var ga;
|
|
6
6
|
function at() {
|
|
7
7
|
if (ga) return He;
|
|
8
8
|
ga = 1;
|
|
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,
|
|
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, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
10
10
|
function h(w, b, Y) {
|
|
11
11
|
var D, N = {}, p = null, U = null;
|
|
12
12
|
Y !== void 0 && (p = "" + Y), b.key !== void 0 && (p = "" + b.key), b.ref !== void 0 && (U = b.ref);
|
|
13
|
-
for (D in b) c.call(b, D) && !
|
|
13
|
+
for (D in b) c.call(b, D) && !y.hasOwnProperty(D) && (N[D] = b[D]);
|
|
14
14
|
if (w && w.defaultProps) for (D in b = w.defaultProps, b) N[D] === void 0 && (N[D] = b[D]);
|
|
15
15
|
return { $$typeof: n, type: w, key: p, ref: U, props: N, _owner: g.current };
|
|
16
16
|
}
|
|
@@ -20,8 +20,8 @@ var We = {};
|
|
|
20
20
|
var ba;
|
|
21
21
|
function tt() {
|
|
22
22
|
return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
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"),
|
|
24
|
-
function
|
|
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"), y = /* @__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"), v = Symbol.iterator, j = "@@iterator";
|
|
24
|
+
function k(a) {
|
|
25
25
|
if (a === null || typeof a != "object")
|
|
26
26
|
return null;
|
|
27
27
|
var s = v && a[v] || a[j];
|
|
@@ -39,16 +39,16 @@ function tt() {
|
|
|
39
39
|
{
|
|
40
40
|
var A = _.ReactDebugCurrentFrame, W = A.getStackAddendum();
|
|
41
41
|
W !== "" && (s += "%s", u = u.concat([W]));
|
|
42
|
-
var
|
|
42
|
+
var Q = u.map(function(F) {
|
|
43
43
|
return String(F);
|
|
44
44
|
});
|
|
45
|
-
|
|
45
|
+
Q.unshift("Warning: " + s), Function.prototype.apply.call(console[a], console, Q);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var C = !1, V = !1,
|
|
48
|
+
var C = !1, V = !1, P = !1, J = !1, R = !1, E;
|
|
49
49
|
E = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
50
50
|
function se(a) {
|
|
51
|
-
return !!(typeof a == "string" || typeof a == "function" || a === c || a ===
|
|
51
|
+
return !!(typeof a == "string" || typeof a == "function" || a === c || a === y || R || a === g || a === Y || a === D || J || a === U || C || V || P || 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
|
|
52
52
|
// types supported by any Flight configuration anywhere since
|
|
53
53
|
// we don't know which Flight build this will end up being used
|
|
54
54
|
// with.
|
|
@@ -76,7 +76,7 @@ function tt() {
|
|
|
76
76
|
return "Fragment";
|
|
77
77
|
case i:
|
|
78
78
|
return "Portal";
|
|
79
|
-
case
|
|
79
|
+
case y:
|
|
80
80
|
return "Profiler";
|
|
81
81
|
case g:
|
|
82
82
|
return "StrictMode";
|
|
@@ -99,9 +99,9 @@ function tt() {
|
|
|
99
99
|
var A = a.displayName || null;
|
|
100
100
|
return A !== null ? A : I(a.type) || "Memo";
|
|
101
101
|
case p: {
|
|
102
|
-
var W = a,
|
|
102
|
+
var W = a, Q = W._payload, F = W._init;
|
|
103
103
|
try {
|
|
104
|
-
return I(F(
|
|
104
|
+
return I(F(Q));
|
|
105
105
|
} catch {
|
|
106
106
|
return null;
|
|
107
107
|
}
|
|
@@ -202,8 +202,8 @@ function tt() {
|
|
|
202
202
|
H = !0;
|
|
203
203
|
var W = Error.prepareStackTrace;
|
|
204
204
|
Error.prepareStackTrace = void 0;
|
|
205
|
-
var
|
|
206
|
-
|
|
205
|
+
var Q;
|
|
206
|
+
Q = pe.current, pe.current = null, je();
|
|
207
207
|
try {
|
|
208
208
|
if (s) {
|
|
209
209
|
var F = function() {
|
|
@@ -256,7 +256,7 @@ function tt() {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
} finally {
|
|
259
|
-
H = !1, pe.current =
|
|
259
|
+
H = !1, pe.current = Q, _e(), Error.prepareStackTrace = W;
|
|
260
260
|
}
|
|
261
261
|
var Ge = a ? a.displayName || a.name : "", Ie = Ge ? oe(Ge) : "";
|
|
262
262
|
return typeof a == "function" && me.set(a, Ie), Ie;
|
|
@@ -288,28 +288,28 @@ function tt() {
|
|
|
288
288
|
case N:
|
|
289
289
|
return Ne(a.type, s, u);
|
|
290
290
|
case p: {
|
|
291
|
-
var A = a, W = A._payload,
|
|
291
|
+
var A = a, W = A._payload, Q = A._init;
|
|
292
292
|
try {
|
|
293
|
-
return Ne(
|
|
293
|
+
return Ne(Q(W), s, u);
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
var
|
|
301
|
-
function
|
|
300
|
+
var xe = Object.prototype.hasOwnProperty, ye = {}, ke = _.ReactDebugCurrentFrame;
|
|
301
|
+
function Pe(a) {
|
|
302
302
|
if (a) {
|
|
303
303
|
var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
|
|
304
|
-
|
|
304
|
+
ke.setExtraStackFrame(u);
|
|
305
305
|
} else
|
|
306
|
-
|
|
306
|
+
ke.setExtraStackFrame(null);
|
|
307
307
|
}
|
|
308
308
|
function Be(a, s, u, A, W) {
|
|
309
309
|
{
|
|
310
|
-
var
|
|
310
|
+
var Q = Function.call.bind(xe);
|
|
311
311
|
for (var F in a)
|
|
312
|
-
if (
|
|
312
|
+
if (Q(a, F)) {
|
|
313
313
|
var L = void 0;
|
|
314
314
|
try {
|
|
315
315
|
if (typeof a[F] != "function") {
|
|
@@ -320,12 +320,12 @@ function tt() {
|
|
|
320
320
|
} catch (le) {
|
|
321
321
|
L = le;
|
|
322
322
|
}
|
|
323
|
-
L && !(L instanceof Error) && (
|
|
323
|
+
L && !(L instanceof Error) && (Pe(W), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", A || "React class", u, F, typeof L), Pe(null)), L instanceof Error && !(L.message in ye) && (ye[L.message] = !0, Pe(W), S("Failed %s type: %s", u, L.message), Pe(null));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
var De = Array.isArray;
|
|
328
|
-
function
|
|
328
|
+
function x(a) {
|
|
329
329
|
return De(a);
|
|
330
330
|
}
|
|
331
331
|
function l(a) {
|
|
@@ -353,17 +353,17 @@ function tt() {
|
|
|
353
353
|
ref: !0,
|
|
354
354
|
__self: !0,
|
|
355
355
|
__source: !0
|
|
356
|
-
},
|
|
356
|
+
}, z, Se;
|
|
357
357
|
function $e(a) {
|
|
358
|
-
if (
|
|
358
|
+
if (xe.call(a, "ref")) {
|
|
359
359
|
var s = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
360
360
|
if (s && s.isReactWarning)
|
|
361
361
|
return !1;
|
|
362
362
|
}
|
|
363
363
|
return a.ref !== void 0;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
if (
|
|
365
|
+
function ze(a) {
|
|
366
|
+
if (xe.call(a, "key")) {
|
|
367
367
|
var s = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
368
368
|
if (s && s.isReactWarning)
|
|
369
369
|
return !1;
|
|
@@ -376,7 +376,7 @@ function tt() {
|
|
|
376
376
|
function Da(a, s) {
|
|
377
377
|
{
|
|
378
378
|
var u = function() {
|
|
379
|
-
|
|
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));
|
|
380
380
|
};
|
|
381
381
|
u.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
382
382
|
get: u,
|
|
@@ -395,7 +395,7 @@ function tt() {
|
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
var Ia = function(a, s, u, A, W,
|
|
398
|
+
var Ia = function(a, s, u, A, W, Q, F) {
|
|
399
399
|
var L = {
|
|
400
400
|
// This tag allows us to uniquely identify this as a React Element
|
|
401
401
|
$$typeof: n,
|
|
@@ -405,7 +405,7 @@ function tt() {
|
|
|
405
405
|
ref: u,
|
|
406
406
|
props: F,
|
|
407
407
|
// Record the component responsible for creating this element.
|
|
408
|
-
_owner:
|
|
408
|
+
_owner: Q
|
|
409
409
|
};
|
|
410
410
|
return L._store = {}, Object.defineProperty(L._store, "validated", {
|
|
411
411
|
configurable: !1,
|
|
@@ -426,14 +426,14 @@ function tt() {
|
|
|
426
426
|
};
|
|
427
427
|
function Fa(a, s, u, A, W) {
|
|
428
428
|
{
|
|
429
|
-
var
|
|
430
|
-
u !== void 0 && (be(u), L = "" + u),
|
|
431
|
-
for (
|
|
432
|
-
|
|
429
|
+
var Q, F = {}, L = null, ve = null;
|
|
430
|
+
u !== void 0 && (be(u), L = "" + u), ze(s) && (be(s.key), L = "" + s.key), $e(s) && (ve = s.ref, Ba(s, W));
|
|
431
|
+
for (Q in s)
|
|
432
|
+
xe.call(s, Q) && !d.hasOwnProperty(Q) && (F[Q] = s[Q]);
|
|
433
433
|
if (a && a.defaultProps) {
|
|
434
434
|
var le = a.defaultProps;
|
|
435
|
-
for (
|
|
436
|
-
F[
|
|
435
|
+
for (Q in le)
|
|
436
|
+
F[Q] === void 0 && (F[Q] = le[Q]);
|
|
437
437
|
}
|
|
438
438
|
if (L || ve) {
|
|
439
439
|
var de = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
@@ -442,7 +442,7 @@ function tt() {
|
|
|
442
442
|
return Ia(a, L, ve, W, A, r.current, F);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var Qe = _.ReactCurrentOwner, ca = _.ReactDebugCurrentFrame;
|
|
446
446
|
function Ue(a) {
|
|
447
447
|
if (a) {
|
|
448
448
|
var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
|
|
@@ -457,8 +457,8 @@ function tt() {
|
|
|
457
457
|
}
|
|
458
458
|
function da() {
|
|
459
459
|
{
|
|
460
|
-
if (
|
|
461
|
-
var a = I(
|
|
460
|
+
if (Qe.current) {
|
|
461
|
+
var a = I(Qe.current.type);
|
|
462
462
|
if (a)
|
|
463
463
|
return `
|
|
464
464
|
|
|
@@ -493,14 +493,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
493
493
|
return;
|
|
494
494
|
ua[u] = !0;
|
|
495
495
|
var A = "";
|
|
496
|
-
a && a._owner && a._owner !==
|
|
496
|
+
a && a._owner && a._owner !== Qe.current && (A = " It was passed a child from " + I(a._owner.type) + "."), Ue(a), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, A), Ue(null);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
function ma(a, s) {
|
|
500
500
|
{
|
|
501
501
|
if (typeof a != "object")
|
|
502
502
|
return;
|
|
503
|
-
if (
|
|
503
|
+
if (x(a))
|
|
504
504
|
for (var u = 0; u < a.length; u++) {
|
|
505
505
|
var A = a[u];
|
|
506
506
|
Ze(A) && pa(A, s);
|
|
@@ -508,9 +508,9 @@ Check the top-level render call using <` + u + ">.");
|
|
|
508
508
|
else if (Ze(a))
|
|
509
509
|
a._store && (a._store.validated = !0);
|
|
510
510
|
else if (a) {
|
|
511
|
-
var W =
|
|
511
|
+
var W = k(a);
|
|
512
512
|
if (typeof W == "function" && W !== a.entries)
|
|
513
|
-
for (var
|
|
513
|
+
for (var Q = W.call(a), F; !(F = Q.next()).done; )
|
|
514
514
|
Ze(F.value) && pa(F.value, s);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -553,7 +553,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
var fa = {};
|
|
556
|
-
function ha(a, s, u, A, W,
|
|
556
|
+
function ha(a, s, u, A, W, Q) {
|
|
557
557
|
{
|
|
558
558
|
var F = se(a);
|
|
559
559
|
if (!F) {
|
|
@@ -562,16 +562,16 @@ Check the top-level render call using <` + u + ">.");
|
|
|
562
562
|
var ve = Ma();
|
|
563
563
|
ve ? L += ve : L += da();
|
|
564
564
|
var le;
|
|
565
|
-
a === null ? le = "null" :
|
|
565
|
+
a === null ? le = "null" : x(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);
|
|
566
566
|
}
|
|
567
|
-
var de = Fa(a, s, u, W,
|
|
567
|
+
var de = Fa(a, s, u, W, Q);
|
|
568
568
|
if (de == null)
|
|
569
569
|
return de;
|
|
570
570
|
if (F) {
|
|
571
571
|
var Ce = s.children;
|
|
572
572
|
if (Ce !== void 0)
|
|
573
573
|
if (A)
|
|
574
|
-
if (
|
|
574
|
+
if (x(Ce)) {
|
|
575
575
|
for (var Ge = 0; Ge < Ce.length; Ge++)
|
|
576
576
|
ma(Ce[Ge], a);
|
|
577
577
|
Object.freeze && Object.freeze(Ce);
|
|
@@ -580,7 +580,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
580
580
|
else
|
|
581
581
|
ma(Ce, a);
|
|
582
582
|
}
|
|
583
|
-
if (
|
|
583
|
+
if (xe.call(s, "key")) {
|
|
584
584
|
var Ie = I(a), Ae = Object.keys(s).filter(function(Ya) {
|
|
585
585
|
return Ya !== "key";
|
|
586
586
|
}), ea = Ae.length > 0 ? "{key: someKey, " + Ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
@@ -623,7 +623,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
623
623
|
langLabel: ut,
|
|
624
624
|
langMenu: pt,
|
|
625
625
|
langOption: mt
|
|
626
|
-
},
|
|
626
|
+
}, xa = [
|
|
627
627
|
"en",
|
|
628
628
|
"hi",
|
|
629
629
|
"gu",
|
|
@@ -631,7 +631,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
631
631
|
"ta",
|
|
632
632
|
"te",
|
|
633
633
|
"kn"
|
|
634
|
-
],
|
|
634
|
+
], ya = {
|
|
635
635
|
en: "English",
|
|
636
636
|
hi: "हिन्दी",
|
|
637
637
|
gu: "ગુજરાતી",
|
|
@@ -857,6 +857,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
857
857
|
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
858
858
|
// Astrologer Card
|
|
859
859
|
planAstrologerExp: "{{years}} Years of experience",
|
|
860
|
+
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
860
861
|
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
861
862
|
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
862
863
|
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
@@ -865,6 +866,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
865
866
|
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
866
867
|
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
867
868
|
//astro name
|
|
869
|
+
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
870
|
+
planAstrologerExpJyoti: "18+ Years of experience",
|
|
868
871
|
planAstrologerNameSamiksha: "Ashwini",
|
|
869
872
|
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
870
873
|
planAstrologerNameNeeraj: "Meenakshi",
|
|
@@ -1091,6 +1094,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1091
1094
|
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
1092
1095
|
// Astrologer Card
|
|
1093
1096
|
planAstrologerExp: "साल का अनुभव",
|
|
1097
|
+
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1094
1098
|
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1095
1099
|
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1096
1100
|
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
@@ -1099,6 +1103,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1099
1103
|
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1100
1104
|
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1101
1105
|
//astro name
|
|
1106
|
+
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1107
|
+
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1102
1108
|
planAstrologerNameSamiksha: "अश्विनी",
|
|
1103
1109
|
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1104
1110
|
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
@@ -1319,6 +1325,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1319
1325
|
planFeatureRealTimeAnswers: "तुमच्या प्रमुख चिंतांवर त्वरित उत्तरे आणि मार्गदर्शन",
|
|
1320
1326
|
planFeatureTailoredRemedies: "तुमच्या जन्मकुंडलीनुसार खास उपाय आणि योग्य वेळेची माहिती",
|
|
1321
1327
|
planAstrologerExp: "{{years}} वर्षांचा अनुभव",
|
|
1328
|
+
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1322
1329
|
planAstrologerCertAccurateSolutions: "अचूक उपायांची हमी",
|
|
1323
1330
|
planAstrologerCertVedicAstrology: "वैदिक ज्योतिषातील 12+ वर्षांचा अनुभव",
|
|
1324
1331
|
planAstrologerCertResultOriented: "परिणामकारक उपाय",
|
|
@@ -1326,6 +1333,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1326
1333
|
planAstrologerCertMantraRudraksha: "मंत्र आणि रुद्राक्ष तज्ज्ञ",
|
|
1327
1334
|
planAstrologerCertKundliBhavfal: "कुंडली अहवाल आणि भावफल तज्ज्ञ",
|
|
1328
1335
|
planAstrologerCertAccurateKundliMatching: "अचूक कुंडली जुळवणी",
|
|
1336
|
+
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1337
|
+
planAstrologerExpJyoti: "18+ वर्षांचा अनुभव",
|
|
1329
1338
|
planAstrologerNameSamiksha: "अश्विनी",
|
|
1330
1339
|
planAstrologerExpSamiksha: "12+ वर्षांचा अनुभव",
|
|
1331
1340
|
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
@@ -1546,6 +1555,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1546
1555
|
planFeatureRealTimeAnswers: "તમારી જીવનની સૌથી મોટી ચિંતાઓ માટે તાત્કાલિક જવાબો અને માર્ગદર્શન મેળવો",
|
|
1547
1556
|
planFeatureTailoredRemedies: "તમારી અનોખી જન્મકુંડળી પ્રમાણે ઉપાયો અને યોગ્ય સમયની જાણકારી",
|
|
1548
1557
|
planAstrologerExp: "{{years}} વર્ષનો અનુભવ",
|
|
1558
|
+
planAstrologerCertCertifiedJyotish: "પ્રમાણિત જ્યોતિષ આચાર્ય",
|
|
1549
1559
|
planAstrologerCertAccurateSolutions: "સચોટ ઉપાયોની ખાતરી",
|
|
1550
1560
|
planAstrologerCertVedicAstrology: "વૈદિક જ્યોતિષમાં 12+ વર્ષનો અનુભવ",
|
|
1551
1561
|
planAstrologerCertResultOriented: "પરિણામલક્ષી ઉપાયો",
|
|
@@ -1553,6 +1563,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1553
1563
|
planAstrologerCertMantraRudraksha: "મંત્ર અને રુદ્રાક્ષ નિષ્ણાત",
|
|
1554
1564
|
planAstrologerCertKundliBhavfal: "કુંડળી રિપોર્ટ અને ભાવફળ નિષ્ણાત",
|
|
1555
1565
|
planAstrologerCertAccurateKundliMatching: "સચોટ કુંડળી મેળાપ",
|
|
1566
|
+
planAstrologerNameJyoti: "જ્યોતિ આચાર્ય નીરજ",
|
|
1567
|
+
planAstrologerExpJyoti: "18+ વર્ષનો અનુભવ",
|
|
1556
1568
|
planAstrologerNameSamiksha: "અશ્વિની",
|
|
1557
1569
|
planAstrologerExpSamiksha: "12+ વર્ષનો અનુભવ",
|
|
1558
1570
|
planAstrologerNameNeeraj: "મીનાક્ષી",
|
|
@@ -1773,6 +1785,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1773
1785
|
planFeatureRealTimeAnswers: "ನಿಮ್ಮ ಜೀವನದ ಪ್ರಮುಖ ಚಿಂತೆಗಳಿಗೆ ತಕ್ಷಣದ ಉತ್ತರಗಳು ಮತ್ತು ಮಾರ್ಗದರ್ಶನ ಪಡೆಯಿರಿ",
|
|
1774
1786
|
planFeatureTailoredRemedies: "ನಿಮ್ಮ ವಿಶಿಷ್ಟ ಜನ್ಮ ಕುಂಡಲಿಗೆ ಅನುಗುಣವಾದ ಪರಿಹಾರಗಳು ಮತ್ತು ಸೂಕ್ತ ಸಮಯದ ಮಾಹಿತಿ",
|
|
1775
1787
|
planAstrologerExp: "{{years}} ವರ್ಷಗಳ ಅನುಭವ",
|
|
1788
|
+
planAstrologerCertCertifiedJyotish: "ಪ್ರಮಾಣೀಕೃತ ಜ್ಯೋತಿಷ ಆಚಾರ್ಯ",
|
|
1776
1789
|
planAstrologerCertAccurateSolutions: "ನಿಖರ ಪರಿಹಾರಗಳ ಭರವಸೆ",
|
|
1777
1790
|
planAstrologerCertVedicAstrology: "ವೈದಿಕ ಜ್ಯೋತಿಷ್ಯದಲ್ಲಿ 12+ ವರ್ಷಗಳ ಅನುಭವ",
|
|
1778
1791
|
planAstrologerCertResultOriented: "ಫಲಿತಾಂಶ ಆಧಾರಿತ ಪರಿಹಾರಗಳು",
|
|
@@ -1780,6 +1793,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1780
1793
|
planAstrologerCertMantraRudraksha: "ಮಂತ್ರ ಮತ್ತು ರುದ್ರಾಕ್ಷ ತಜ್ಞರು",
|
|
1781
1794
|
planAstrologerCertKundliBhavfal: "ಕುಂಡಲಿ ವರದಿ ಮತ್ತು ಭಾವಫಲ ತಜ್ಞ",
|
|
1782
1795
|
planAstrologerCertAccurateKundliMatching: "ನಿಖರ ಕುಂಡಲಿ ಹೊಂದಾಣಿಕೆ",
|
|
1796
|
+
planAstrologerNameJyoti: "ಜ್ಯೋತಿ ಆಚಾರ್ಯ ನೀರಜ್",
|
|
1797
|
+
planAstrologerExpJyoti: "18+ ವರ್ಷಗಳ ಅನುಭವ",
|
|
1783
1798
|
planAstrologerNameSamiksha: "ಅಶ್ವಿನಿ",
|
|
1784
1799
|
planAstrologerExpSamiksha: "12+ ವರ್ಷಗಳ ಅನುಭವ",
|
|
1785
1800
|
planAstrologerNameNeeraj: "ಮೀನಾಕ್ಷಿ",
|
|
@@ -1789,7 +1804,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1789
1804
|
and: "ಮತ್ತು",
|
|
1790
1805
|
astrologyGuidance: "ಜ್ಯೋತಿಷ್ಯ ಮಾರ್ಗದರ್ಶನ",
|
|
1791
1806
|
selectPackage: "ಪ್ಯಾಕೇಜ್ ಆಯ್ಕೆಮಾಡಿ"
|
|
1792
|
-
},
|
|
1807
|
+
}, yt = {
|
|
1793
1808
|
kundli: "ஜாதகம்",
|
|
1794
1809
|
birthChart: "பிறப்பு ஜாதகம்",
|
|
1795
1810
|
details: "விவரங்கள்",
|
|
@@ -2000,6 +2015,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2000
2015
|
planFeatureRealTimeAnswers: "உங்கள் முக்கியத் கவலைகளுக்கு உடனடி பதில்களும் வழிகாட்டுதலும்",
|
|
2001
2016
|
planFeatureTailoredRemedies: "உங்கள் பிறப்பு ஜாதகத்திற்கு ஏற்ற பரிகாரங்கள் மற்றும் சரியான நேரம் பற்றிய தகவல்கள்",
|
|
2002
2017
|
planAstrologerExp: "{{years}} ஆண்டுகள் அனுபவம்",
|
|
2018
|
+
planAstrologerCertCertifiedJyotish: "சான்றளிக்கப்பட்ட ஜோதிட ஆசார்யர்",
|
|
2003
2019
|
planAstrologerCertAccurateSolutions: "துல்லியமான தீர்வுகளுக்கான உறுதி",
|
|
2004
2020
|
planAstrologerCertVedicAstrology: "வேத ஜோதிடத்தில் 12+ ஆண்டுகள் அனுபவம்",
|
|
2005
2021
|
planAstrologerCertResultOriented: "பலன் தரும் தீர்வுகள்",
|
|
@@ -2007,6 +2023,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2007
2023
|
planAstrologerCertMantraRudraksha: "மந்திரம் மற்றும் ருத்ராட்ச நிபுணர்",
|
|
2008
2024
|
planAstrologerCertKundliBhavfal: "ஜாதக அறிக்கை மற்றும் பாவபல நிபுணர்",
|
|
2009
2025
|
planAstrologerCertAccurateKundliMatching: "துல்லியமான ஜாதகப் பொருத்தம்",
|
|
2026
|
+
planAstrologerNameJyoti: "ஜோதிட ஆசார்யர் நீரஜ்",
|
|
2027
|
+
planAstrologerExpJyoti: "18+ ஆண்டுகள் அனுபவம்",
|
|
2010
2028
|
planAstrologerNameSamiksha: "அஷ்வினி",
|
|
2011
2029
|
planAstrologerExpSamiksha: "12+ ஆண்டுகள் அனுபவம்",
|
|
2012
2030
|
planAstrologerNameNeeraj: "மீனாட்சி",
|
|
@@ -2016,7 +2034,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2016
2034
|
and: "மற்றும்",
|
|
2017
2035
|
astrologyGuidance: "ஜோதிட வழிகாட்டுதல்",
|
|
2018
2036
|
selectPackage: "தொகுப்பைத் தேர்ந்தெடுக்கவும்"
|
|
2019
|
-
},
|
|
2037
|
+
}, kt = {
|
|
2020
2038
|
kundli: "జాతకం",
|
|
2021
2039
|
birthChart: "జన్మ జాతకం",
|
|
2022
2040
|
details: "వివరాలు",
|
|
@@ -2227,6 +2245,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2227
2245
|
planFeatureRealTimeAnswers: "మీ ముఖ్యమైన జీవిత సమస్యలకు తక్షణ సమాధానాలు మరియు మార్గదర్శకత్వం",
|
|
2228
2246
|
planFeatureTailoredRemedies: "మీ జాతకానికి అనుగుణంగా పరిహారాలు & సమయ పట్టికలు",
|
|
2229
2247
|
planAstrologerExp: "{{years}} సంవత్సరాల అనుభవం",
|
|
2248
|
+
planAstrologerCertCertifiedJyotish: "సర్టిఫైడ్ జ్యోతిష్ ఆచార్య",
|
|
2230
2249
|
planAstrologerCertAccurateSolutions: "నమ్మకమైన, ఖచ్చితమైన పరిష్కారాలు",
|
|
2231
2250
|
planAstrologerCertVedicAstrology: "12+ సంవత్సరాల వేద జ్యోతిష్య అనుభవం",
|
|
2232
2251
|
planAstrologerCertResultOriented: "ఫలితాల ఆధారిత పరిష్కారాలు",
|
|
@@ -2234,6 +2253,8 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2234
2253
|
planAstrologerCertMantraRudraksha: "మంత్ర మరియు రుద్రాక్ష నిపుణుడు",
|
|
2235
2254
|
planAstrologerCertKundliBhavfal: "జాతక నివేదిక మరియు భావఫల నిపుణుడు",
|
|
2236
2255
|
planAstrologerCertAccurateKundliMatching: "ఖచ్చితమైన జాతక సరిపోలిక",
|
|
2256
|
+
planAstrologerNameJyoti: "జ్యోతి ఆచార్య నీరజ్",
|
|
2257
|
+
planAstrologerExpJyoti: "18+ సంవత్సరాల అనుభవం",
|
|
2237
2258
|
planAstrologerNameSamiksha: "అశ్వినీ",
|
|
2238
2259
|
planAstrologerExpSamiksha: "12+ సంవత్సరాల అనుభవం",
|
|
2239
2260
|
planAstrologerNameNeeraj: "మీనాక్షి",
|
|
@@ -2243,34 +2264,34 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2243
2264
|
and: "మరియు",
|
|
2244
2265
|
astrologyGuidance: "జ్యోతిష్య మార్గదర్శకం",
|
|
2245
2266
|
selectPackage: "ప్యాకేజీని ఎంచుకోండి"
|
|
2246
|
-
},
|
|
2267
|
+
}, Pa = {
|
|
2247
2268
|
en: ft,
|
|
2248
2269
|
hi: ht,
|
|
2249
2270
|
mr: gt,
|
|
2250
2271
|
// Dropdown/type support only for now — copy falls back to English until
|
|
2251
2272
|
// real gu/ta/te/kn translations are written.
|
|
2252
2273
|
gu: bt,
|
|
2253
|
-
ta:
|
|
2254
|
-
te:
|
|
2274
|
+
ta: yt,
|
|
2275
|
+
te: kt,
|
|
2255
2276
|
kn: _t
|
|
2256
2277
|
}, wa = Ta(null), Ai = ({
|
|
2257
2278
|
locale: t,
|
|
2258
2279
|
children: n
|
|
2259
2280
|
}) => {
|
|
2260
|
-
const c = { locale: t, t: (g) =>
|
|
2281
|
+
const c = { locale: t, t: (g) => Pa[t]?.[g] };
|
|
2261
2282
|
return /* @__PURE__ */ e.jsx(wa.Provider, { value: c, children: n });
|
|
2262
2283
|
};
|
|
2263
2284
|
function vt() {
|
|
2264
2285
|
return oa(wa);
|
|
2265
2286
|
}
|
|
2266
2287
|
const Ye = (t) => {
|
|
2267
|
-
const { priority: n, fetchPriority: i, width: c, height: g, ...
|
|
2288
|
+
const { priority: n, fetchPriority: i, width: c, height: g, ...y } = t;
|
|
2268
2289
|
return na.createElement("img", {
|
|
2269
|
-
...
|
|
2290
|
+
...y,
|
|
2270
2291
|
width: c ?? 1,
|
|
2271
2292
|
height: g ?? 1,
|
|
2272
2293
|
decoding: "async",
|
|
2273
|
-
loading:
|
|
2294
|
+
loading: y.loading ?? (n ? "eager" : "lazy"),
|
|
2274
2295
|
...i && { fetchPriority: i }
|
|
2275
2296
|
});
|
|
2276
2297
|
};
|
|
@@ -2297,7 +2318,7 @@ function Ti(t) {
|
|
|
2297
2318
|
} catch {
|
|
2298
2319
|
}
|
|
2299
2320
|
}
|
|
2300
|
-
function
|
|
2321
|
+
function xi() {
|
|
2301
2322
|
if (typeof window > "u" || !window.localStorage)
|
|
2302
2323
|
return !1;
|
|
2303
2324
|
try {
|
|
@@ -2308,11 +2329,11 @@ function Pi() {
|
|
|
2308
2329
|
}
|
|
2309
2330
|
}
|
|
2310
2331
|
const Sa = "kundli_language";
|
|
2311
|
-
function
|
|
2332
|
+
function xt() {
|
|
2312
2333
|
const t = At(Sa);
|
|
2313
|
-
return t &&
|
|
2334
|
+
return t && xa.includes(t) ? t : null;
|
|
2314
2335
|
}
|
|
2315
|
-
function
|
|
2336
|
+
function Pt(t) {
|
|
2316
2337
|
Tt(Sa, t);
|
|
2317
2338
|
}
|
|
2318
2339
|
const ia = Ta(null), wt = {
|
|
@@ -2326,13 +2347,13 @@ const ia = Ta(null), wt = {
|
|
|
2326
2347
|
birthTime: "",
|
|
2327
2348
|
birthTimeUnknown: !1,
|
|
2328
2349
|
birthPlace: ""
|
|
2329
|
-
},
|
|
2350
|
+
}, Pi = ({
|
|
2330
2351
|
locale: t,
|
|
2331
2352
|
showLanguageSelector: n = !0,
|
|
2332
2353
|
showSheet: i,
|
|
2333
2354
|
userId: c,
|
|
2334
2355
|
isGlobal: g,
|
|
2335
|
-
variant:
|
|
2356
|
+
variant: y,
|
|
2336
2357
|
initialFormValues: h,
|
|
2337
2358
|
autoOpenPlanSheet: w,
|
|
2338
2359
|
googleMapsApiKey: b,
|
|
@@ -2343,14 +2364,14 @@ const ia = Ta(null), wt = {
|
|
|
2343
2364
|
logoUrl: U,
|
|
2344
2365
|
reportImageUrl: v,
|
|
2345
2366
|
reportImagePriority: j,
|
|
2346
|
-
backgroundImagePriority:
|
|
2367
|
+
backgroundImagePriority: k,
|
|
2347
2368
|
universityLogoUrls: _,
|
|
2348
2369
|
sampleReportHref: S,
|
|
2349
2370
|
onViewSampleReport: te,
|
|
2350
2371
|
ctaHref: C,
|
|
2351
2372
|
onCtaClick: V,
|
|
2352
|
-
onBack:
|
|
2353
|
-
readMoreReviewsHref:
|
|
2373
|
+
onBack: P,
|
|
2374
|
+
readMoreReviewsHref: J,
|
|
2354
2375
|
onProceed: R,
|
|
2355
2376
|
proceedHref: E,
|
|
2356
2377
|
originalPriceLabel: se,
|
|
@@ -2371,10 +2392,10 @@ const ia = Ta(null), wt = {
|
|
|
2371
2392
|
}), ge = M(!0);
|
|
2372
2393
|
q(() => {
|
|
2373
2394
|
if (t) return;
|
|
2374
|
-
const fe =
|
|
2395
|
+
const fe = xt();
|
|
2375
2396
|
fe && je(fe);
|
|
2376
2397
|
}, []), q(() => {
|
|
2377
|
-
|
|
2398
|
+
Pt(ne);
|
|
2378
2399
|
}, [ne]), q(() => {
|
|
2379
2400
|
if (ge.current) {
|
|
2380
2401
|
ge.current = !1;
|
|
@@ -2389,7 +2410,7 @@ const ia = Ta(null), wt = {
|
|
|
2389
2410
|
showSheet: i,
|
|
2390
2411
|
userId: c,
|
|
2391
2412
|
isGlobal: g,
|
|
2392
|
-
variant:
|
|
2413
|
+
variant: y,
|
|
2393
2414
|
initialFormValues: h,
|
|
2394
2415
|
autoOpenPlanSheet: w,
|
|
2395
2416
|
googleMapsApiKey: b,
|
|
@@ -2400,14 +2421,14 @@ const ia = Ta(null), wt = {
|
|
|
2400
2421
|
logoUrl: U,
|
|
2401
2422
|
reportImageUrl: v,
|
|
2402
2423
|
reportImagePriority: j,
|
|
2403
|
-
backgroundImagePriority:
|
|
2424
|
+
backgroundImagePriority: k,
|
|
2404
2425
|
universityLogoUrls: _,
|
|
2405
2426
|
sampleReportHref: S,
|
|
2406
2427
|
onViewSampleReport: te,
|
|
2407
2428
|
ctaHref: C,
|
|
2408
2429
|
onCtaClick: V,
|
|
2409
|
-
onBack:
|
|
2410
|
-
readMoreReviewsHref:
|
|
2430
|
+
onBack: P,
|
|
2431
|
+
readMoreReviewsHref: J,
|
|
2411
2432
|
onProceed: R,
|
|
2412
2433
|
proceedHref: E,
|
|
2413
2434
|
originalPriceLabel: se,
|
|
@@ -2427,7 +2448,7 @@ const ia = Ta(null), wt = {
|
|
|
2427
2448
|
i,
|
|
2428
2449
|
c,
|
|
2429
2450
|
g,
|
|
2430
|
-
|
|
2451
|
+
y,
|
|
2431
2452
|
h,
|
|
2432
2453
|
w,
|
|
2433
2454
|
b,
|
|
@@ -2438,14 +2459,14 @@ const ia = Ta(null), wt = {
|
|
|
2438
2459
|
U,
|
|
2439
2460
|
v,
|
|
2440
2461
|
j,
|
|
2441
|
-
|
|
2462
|
+
k,
|
|
2442
2463
|
_,
|
|
2443
2464
|
S,
|
|
2444
2465
|
te,
|
|
2445
2466
|
C,
|
|
2446
2467
|
V,
|
|
2447
|
-
|
|
2448
|
-
|
|
2468
|
+
P,
|
|
2469
|
+
J,
|
|
2449
2470
|
R,
|
|
2450
2471
|
E,
|
|
2451
2472
|
se,
|
|
@@ -2491,7 +2512,7 @@ function wi() {
|
|
|
2491
2512
|
);
|
|
2492
2513
|
return t;
|
|
2493
2514
|
}
|
|
2494
|
-
const St = "_header_19172_1", Ct = "_centered_19172_8",
|
|
2515
|
+
const St = "_header_19172_1", Ct = "_centered_19172_8", ka = {
|
|
2495
2516
|
header: St,
|
|
2496
2517
|
centered: Ct
|
|
2497
2518
|
}, Rt = ({
|
|
@@ -2500,15 +2521,15 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ya = {
|
|
|
2500
2521
|
className: i = "",
|
|
2501
2522
|
align: c = "left"
|
|
2502
2523
|
}) => /* @__PURE__ */ e.jsx(
|
|
2503
|
-
|
|
2524
|
+
Ja,
|
|
2504
2525
|
{
|
|
2505
2526
|
title: t("formTitle"),
|
|
2506
2527
|
subtitle: t("formSubtitle"),
|
|
2507
2528
|
onBack: n,
|
|
2508
2529
|
backAriaLabel: t("back"),
|
|
2509
|
-
className: `${
|
|
2530
|
+
className: `${ka.header} ${c === "center" ? ka.centered : ""} ${i}`
|
|
2510
2531
|
}
|
|
2511
|
-
), jt = "_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",
|
|
2532
|
+
), jt = "_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", yr = "_timePopoverOk_119w3_466", kr = "_input_119w3_161", vr = "_phoneInput_119w3_169", Ar = "_iconBtn_119w3_519", Tr = "_iconBtnInteractive_119w3_525", xr = "_iconImg_119w3_544", Pr = "_checkboxRow_119w3_550", wr = "_checkbox_119w3_550", Sr = "_checkboxText_119w3_588", o = {
|
|
2512
2533
|
wrap: jt,
|
|
2513
2534
|
card: Nt,
|
|
2514
2535
|
cardInner: Lt,
|
|
@@ -2528,9 +2549,9 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ya = {
|
|
|
2528
2549
|
inputWrap: qt,
|
|
2529
2550
|
isdWrap: Yt,
|
|
2530
2551
|
phoneInputGroup: Vt,
|
|
2531
|
-
isdSelectWrap:
|
|
2532
|
-
isdSelectTrigger:
|
|
2533
|
-
isdDropdown:
|
|
2552
|
+
isdSelectWrap: Jt,
|
|
2553
|
+
isdSelectTrigger: zt,
|
|
2554
|
+
isdDropdown: Qt,
|
|
2534
2555
|
isdSearchWrap: Xt,
|
|
2535
2556
|
isdSearchInput: Zt,
|
|
2536
2557
|
isdOption: er,
|
|
@@ -2552,18 +2573,18 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ya = {
|
|
|
2552
2573
|
meridiemActive: gr,
|
|
2553
2574
|
timePopoverActions: br,
|
|
2554
2575
|
timePopoverBtn: _r,
|
|
2555
|
-
timePopoverOk:
|
|
2556
|
-
input:
|
|
2576
|
+
timePopoverOk: yr,
|
|
2577
|
+
input: kr,
|
|
2557
2578
|
phoneInput: vr,
|
|
2558
2579
|
iconBtn: Ar,
|
|
2559
2580
|
iconBtnInteractive: Tr,
|
|
2560
|
-
iconImg:
|
|
2561
|
-
checkboxRow:
|
|
2581
|
+
iconImg: xr,
|
|
2582
|
+
checkboxRow: Pr,
|
|
2562
2583
|
checkbox: wr,
|
|
2563
2584
|
checkboxText: Sr
|
|
2564
2585
|
};
|
|
2565
|
-
let
|
|
2566
|
-
const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() :
|
|
2586
|
+
let Je = null;
|
|
2587
|
+
const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Je || (Je = new Promise((i, c) => {
|
|
2567
2588
|
const g = document.querySelector(
|
|
2568
2589
|
'script[data-google-maps-places="true"]'
|
|
2569
2590
|
);
|
|
@@ -2574,8 +2595,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2574
2595
|
);
|
|
2575
2596
|
return;
|
|
2576
2597
|
}
|
|
2577
|
-
const
|
|
2578
|
-
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n),
|
|
2598
|
+
const y = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
|
|
2599
|
+
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n), y.src = h.toString(), y.async = !0, y.defer = !0, y.setAttribute("data-google-maps-places", "true"), y.onload = () => {
|
|
2579
2600
|
const w = Date.now(), b = () => {
|
|
2580
2601
|
if (window.google?.maps?.places) {
|
|
2581
2602
|
i();
|
|
@@ -2592,9 +2613,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2592
2613
|
window.setTimeout(b, 50);
|
|
2593
2614
|
};
|
|
2594
2615
|
b();
|
|
2595
|
-
},
|
|
2596
|
-
}),
|
|
2597
|
-
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: g = !1 } = t, [
|
|
2616
|
+
}, y.onerror = () => c(new Error("Failed to load Google Maps API")), document.head.appendChild(y);
|
|
2617
|
+
}), Je), Rr = (t) => {
|
|
2618
|
+
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: g = !1 } = t, [y, h] = B(!1), [w, b] = B([]), [Y, D] = B(!1), [N, p] = B(null), [U, v] = B(!g), j = M(null), k = M(null), _ = M(null), S = Re(() => {
|
|
2598
2619
|
g && v(!0);
|
|
2599
2620
|
}, [g]);
|
|
2600
2621
|
q(() => {
|
|
@@ -2604,29 +2625,29 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2604
2625
|
}
|
|
2605
2626
|
Cr(n, i).then(() => {
|
|
2606
2627
|
j.current = new google.maps.places.AutocompleteService();
|
|
2607
|
-
const
|
|
2608
|
-
|
|
2609
|
-
}).catch((
|
|
2610
|
-
h(!1), p(
|
|
2628
|
+
const P = document.createElement("div");
|
|
2629
|
+
k.current = new google.maps.places.PlacesService(P), _.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
|
|
2630
|
+
}).catch((P) => {
|
|
2631
|
+
h(!1), p(P?.message || "Failed to load location service");
|
|
2611
2632
|
});
|
|
2612
2633
|
}, [n, i, U]);
|
|
2613
2634
|
const te = Re(
|
|
2614
|
-
async (
|
|
2615
|
-
if (!
|
|
2635
|
+
async (P) => {
|
|
2636
|
+
if (!P || P.length < 2 || !j.current) {
|
|
2616
2637
|
b([]);
|
|
2617
2638
|
return;
|
|
2618
2639
|
}
|
|
2619
2640
|
D(!0);
|
|
2620
2641
|
try {
|
|
2621
|
-
const
|
|
2622
|
-
input:
|
|
2642
|
+
const J = {
|
|
2643
|
+
input: P,
|
|
2623
2644
|
types: ["(cities)"],
|
|
2624
2645
|
sessionToken: _.current ?? void 0
|
|
2625
2646
|
};
|
|
2626
|
-
c && (
|
|
2647
|
+
c && (J.componentRestrictions = { country: c });
|
|
2627
2648
|
const R = await new Promise((E, se) => {
|
|
2628
2649
|
j.current.getPlacePredictions(
|
|
2629
|
-
|
|
2650
|
+
J,
|
|
2630
2651
|
(ae, G) => {
|
|
2631
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}`));
|
|
2632
2653
|
}
|
|
@@ -2650,14 +2671,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2650
2671
|
},
|
|
2651
2672
|
[c]
|
|
2652
2673
|
), C = Re(
|
|
2653
|
-
async (
|
|
2654
|
-
if (!
|
|
2674
|
+
async (P) => {
|
|
2675
|
+
if (!k.current) return null;
|
|
2655
2676
|
try {
|
|
2656
|
-
const
|
|
2677
|
+
const J = await new Promise(
|
|
2657
2678
|
(I, $) => {
|
|
2658
|
-
|
|
2679
|
+
k.current.getDetails(
|
|
2659
2680
|
{
|
|
2660
|
-
placeId:
|
|
2681
|
+
placeId: P,
|
|
2661
2682
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
2662
2683
|
sessionToken: _.current ?? void 0
|
|
2663
2684
|
},
|
|
@@ -2668,12 +2689,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2668
2689
|
}
|
|
2669
2690
|
);
|
|
2670
2691
|
_.current = new google.maps.places.AutocompleteSessionToken();
|
|
2671
|
-
const R =
|
|
2692
|
+
const R = J.geometry?.location?.lat() || 0, E = J.geometry?.location?.lng() || 0;
|
|
2672
2693
|
let se = "", ae = "", G = "";
|
|
2673
|
-
return
|
|
2694
|
+
return J.address_components?.forEach((I) => {
|
|
2674
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);
|
|
2675
2696
|
}), {
|
|
2676
|
-
display_name:
|
|
2697
|
+
display_name: J.formatted_address || "",
|
|
2677
2698
|
lat: R,
|
|
2678
2699
|
lng: E,
|
|
2679
2700
|
city: se,
|
|
@@ -2687,7 +2708,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2687
2708
|
[]
|
|
2688
2709
|
), V = Re(() => b([]), []);
|
|
2689
2710
|
return {
|
|
2690
|
-
isLoaded:
|
|
2711
|
+
isLoaded: y,
|
|
2691
2712
|
predictions: w,
|
|
2692
2713
|
isSearching: Y,
|
|
2693
2714
|
loadError: N,
|
|
@@ -2705,7 +2726,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2705
2726
|
restrictCountry: t?.restrictCountry
|
|
2706
2727
|
};
|
|
2707
2728
|
}, Nr = (t) => {
|
|
2708
|
-
const { searchLocalities: n, restrictCountry: i } = t, [c, g] = B([]), [
|
|
2729
|
+
const { searchLocalities: n, restrictCountry: i } = t, [c, g] = B([]), [y, h] = B(!1), [w, b] = B(null), Y = M(0);
|
|
2709
2730
|
q(() => {
|
|
2710
2731
|
b(null);
|
|
2711
2732
|
}, [n]);
|
|
@@ -2720,7 +2741,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2720
2741
|
try {
|
|
2721
2742
|
const v = jr({ restrictCountry: i }), j = await n(p, v);
|
|
2722
2743
|
if (U !== Y.current) return;
|
|
2723
|
-
const
|
|
2744
|
+
const k = (j || []).filter(
|
|
2724
2745
|
(_) => !!_?.id && !!_?.description && va(_?.lat) && va(_?.lng)
|
|
2725
2746
|
).map((_) => ({
|
|
2726
2747
|
id: _.id,
|
|
@@ -2729,7 +2750,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2729
2750
|
lat: _.lat,
|
|
2730
2751
|
lng: _.lng
|
|
2731
2752
|
}));
|
|
2732
|
-
g(
|
|
2753
|
+
g(k);
|
|
2733
2754
|
} catch (v) {
|
|
2734
2755
|
if (U !== Y.current) return;
|
|
2735
2756
|
g([]), b(v?.message || "Failed to fetch locations");
|
|
@@ -2741,7 +2762,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2741
2762
|
), N = Re(() => g([]), []);
|
|
2742
2763
|
return {
|
|
2743
2764
|
predictions: c,
|
|
2744
|
-
isSearching:
|
|
2765
|
+
isSearching: y,
|
|
2745
2766
|
loadError: w,
|
|
2746
2767
|
searchPlaces: D,
|
|
2747
2768
|
clearPredictions: N
|
|
@@ -2827,20 +2848,20 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2827
2848
|
onChange: i,
|
|
2828
2849
|
phoneIsdCode: c,
|
|
2829
2850
|
onPhoneIsdCodeChange: g,
|
|
2830
|
-
showV1ExtraFields:
|
|
2851
|
+
showV1ExtraFields: y = !1,
|
|
2831
2852
|
analytics: h,
|
|
2832
2853
|
googleMapsApiKey: w,
|
|
2833
2854
|
atlasSearchLocalities: b,
|
|
2834
2855
|
googleMapsAutocompleteEnabled: Y,
|
|
2835
2856
|
className: D = ""
|
|
2836
2857
|
}) => {
|
|
2837
|
-
const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities,
|
|
2858
|
+
const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities, k = N?.config?.googleMapsAutocompleteEnabled, [_, S] = B(!1), [te, C] = B(""), V = M(null), P = M(null), J = M({}), R = (r) => i({ ...n, ...r }), E = (r, d) => {
|
|
2838
2859
|
if (r === "phone") {
|
|
2839
|
-
const
|
|
2840
|
-
|
|
2860
|
+
const z = Br(d, c, J.current);
|
|
2861
|
+
z.shouldTrack && p?.trackPhoneSectionFilled?.({ phone: z.fullPhone });
|
|
2841
2862
|
return;
|
|
2842
2863
|
}
|
|
2843
|
-
d.trim() && !
|
|
2864
|
+
d.trim() && !J.current[r] && (J.current[r] = !0, {
|
|
2844
2865
|
fullName: () => p?.trackNameSectionFilled?.(),
|
|
2845
2866
|
dateOfBirth: () => p?.trackDobFilled?.(),
|
|
2846
2867
|
birthTime: () => p?.trackTimeFilled?.(),
|
|
@@ -2854,39 +2875,39 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2854
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) => {
|
|
2855
2876
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2856
2877
|
if (!d) return r;
|
|
2857
|
-
const
|
|
2858
|
-
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}`;
|
|
2859
2880
|
}, ne = (r) => {
|
|
2860
2881
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2861
2882
|
if (!d) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
2862
|
-
const
|
|
2863
|
-
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 };
|
|
2864
2885
|
}, je = (r) => {
|
|
2865
|
-
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";
|
|
2866
2887
|
let Se = d % 12;
|
|
2867
|
-
return r.meridiem === "PM" && (Se += 12), `${ue(Se)}:${
|
|
2888
|
+
return r.meridiem === "PM" && (Se += 12), `${ue(Se)}:${z}`;
|
|
2868
2889
|
}, _e = M(null), [pe, ge] = B(!1), oe = M(n.birthPlace ?? ""), [H, me] = B(
|
|
2869
2890
|
null
|
|
2870
|
-
), ie = w ?? v ?? Dr?.VITE_GOOGLE_MAPS_API_KEY, fe = b ?? j, ee = Y ??
|
|
2891
|
+
), ie = w ?? v ?? Dr?.VITE_GOOGLE_MAPS_API_KEY, fe = b ?? j, ee = Y ?? k ?? !0, ce = (n.birthPlace ?? "").trim(), Ne = U ? void 0 : "in", ye = Rr({
|
|
2871
2892
|
apiKey: ee ? ie : void 0,
|
|
2872
2893
|
language: "en",
|
|
2873
2894
|
restrictCountry: Ne
|
|
2874
|
-
}),
|
|
2895
|
+
}), ke = Nr({
|
|
2875
2896
|
searchLocalities: ee ? void 0 : fe,
|
|
2876
2897
|
restrictCountry: Ne
|
|
2877
|
-
}),
|
|
2898
|
+
}), Pe = ee ? ye.predictions.map((r) => ({
|
|
2878
2899
|
id: r.place_id,
|
|
2879
2900
|
description: r.description,
|
|
2880
2901
|
secondaryText: r.structured_formatting?.secondary_text,
|
|
2881
2902
|
lat: void 0,
|
|
2882
2903
|
lng: void 0
|
|
2883
|
-
})) :
|
|
2904
|
+
})) : ke.predictions.map((r) => ({
|
|
2884
2905
|
id: r.id,
|
|
2885
2906
|
description: r.description,
|
|
2886
2907
|
secondaryText: r.secondary_text,
|
|
2887
2908
|
lat: r.lat,
|
|
2888
2909
|
lng: r.lng
|
|
2889
|
-
})), Be = ee ?
|
|
2910
|
+
})), Be = ee ? ye.isSearching : ke.isSearching, De = ee ? ye.loadError : ke.loadError, x = ee ? !!ie : !!fe, l = ee ? ye.searchPlaces : ke.searchPlaces, f = ee ? ye.clearPredictions : ke.clearPredictions, Z = M(() => {
|
|
2890
2911
|
});
|
|
2891
2912
|
Z.current = () => {
|
|
2892
2913
|
(n.birthPlace ?? "") !== oe.current && R({
|
|
@@ -2907,7 +2928,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2907
2928
|
}, []), q(() => {
|
|
2908
2929
|
if (!_) return;
|
|
2909
2930
|
const r = window.setTimeout(() => {
|
|
2910
|
-
|
|
2931
|
+
P.current?.focus();
|
|
2911
2932
|
}, 0);
|
|
2912
2933
|
return () => window.clearTimeout(r);
|
|
2913
2934
|
}, [_]), q(() => {
|
|
@@ -2941,10 +2962,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2941
2962
|
};
|
|
2942
2963
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2943
2964
|
}, []), q(() => {
|
|
2944
|
-
const r = (
|
|
2945
|
-
|
|
2946
|
-
}, d = (
|
|
2947
|
-
|
|
2965
|
+
const r = (z) => {
|
|
2966
|
+
z.target?.closest?.("[data-info-tooltip]") == null && me(null);
|
|
2967
|
+
}, d = (z) => {
|
|
2968
|
+
z.key === "Escape" && me(null);
|
|
2948
2969
|
};
|
|
2949
2970
|
return document.addEventListener("mousedown", r), document.addEventListener("keydown", d), () => {
|
|
2950
2971
|
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", d);
|
|
@@ -3029,7 +3050,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3029
3050
|
/* @__PURE__ */ e.jsx("div", { className: o.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
3030
3051
|
"input",
|
|
3031
3052
|
{
|
|
3032
|
-
ref:
|
|
3053
|
+
ref: P,
|
|
3033
3054
|
type: "text",
|
|
3034
3055
|
value: te,
|
|
3035
3056
|
onChange: (r) => C(r.target.value),
|
|
@@ -3060,7 +3081,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3060
3081
|
)
|
|
3061
3082
|
] }) })
|
|
3062
3083
|
] }),
|
|
3063
|
-
|
|
3084
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3064
3085
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
3065
3086
|
t("formGender"),
|
|
3066
3087
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3181,7 +3202,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3181
3202
|
return `${r.getFullYear()}-${ue(r.getMonth() + 1)}-${ue(r.getDate())}`;
|
|
3182
3203
|
})(),
|
|
3183
3204
|
onChange: (r) => {
|
|
3184
|
-
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())}`;
|
|
3185
3206
|
d && d > Se || (R({ dateOfBirth: d }), E("dateOfBirth", d), $.current = null);
|
|
3186
3207
|
},
|
|
3187
3208
|
onFocus: () => p?.trackDobClicked?.(),
|
|
@@ -3492,7 +3513,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3492
3513
|
"aria-hidden": !0
|
|
3493
3514
|
}
|
|
3494
3515
|
) }),
|
|
3495
|
-
pe &&
|
|
3516
|
+
pe && Pe.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o.suggestions, role: "listbox", children: Pe.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
|
|
3496
3517
|
"button",
|
|
3497
3518
|
{
|
|
3498
3519
|
type: "button",
|
|
@@ -3504,14 +3525,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3504
3525
|
birthPlaceLat: r.lat,
|
|
3505
3526
|
birthPlaceLng: r.lng
|
|
3506
3527
|
}), f(), ge(!1), ee) {
|
|
3507
|
-
const
|
|
3528
|
+
const z = await ye.getPlaceDetails(
|
|
3508
3529
|
r.id
|
|
3509
3530
|
);
|
|
3510
|
-
|
|
3531
|
+
z && (oe.current = d, i({
|
|
3511
3532
|
...n,
|
|
3512
3533
|
birthPlace: d,
|
|
3513
|
-
birthPlaceLat:
|
|
3514
|
-
birthPlaceLng:
|
|
3534
|
+
birthPlaceLat: z.lat,
|
|
3535
|
+
birthPlaceLng: z.lng
|
|
3515
3536
|
}));
|
|
3516
3537
|
}
|
|
3517
3538
|
},
|
|
@@ -3522,11 +3543,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3522
3543
|
},
|
|
3523
3544
|
r.id
|
|
3524
3545
|
)) }),
|
|
3525
|
-
pe &&
|
|
3526
|
-
pe &&
|
|
3546
|
+
pe && x && Be && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: "Loading…" }),
|
|
3547
|
+
pe && x && !Be && !!De && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: De })
|
|
3527
3548
|
] })
|
|
3528
3549
|
] }),
|
|
3529
|
-
|
|
3550
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3530
3551
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
3531
3552
|
t("formReportLanguage"),
|
|
3532
3553
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3726,7 +3747,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3726
3747
|
phoneIsdCode: i,
|
|
3727
3748
|
requireV1ExtraFields: c = !1,
|
|
3728
3749
|
onValidationFailed: g,
|
|
3729
|
-
onProceed:
|
|
3750
|
+
onProceed: y,
|
|
3730
3751
|
onProceedGuidance: h,
|
|
3731
3752
|
href: w,
|
|
3732
3753
|
analytics: b,
|
|
@@ -3738,10 +3759,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3738
3759
|
planSheetOpen: v,
|
|
3739
3760
|
selectedPlan: j
|
|
3740
3761
|
}) => {
|
|
3741
|
-
const
|
|
3762
|
+
const k = Me(), _ = k?.config.isGlobal ?? !0, S = k?.config?.variant, te = Ee(
|
|
3742
3763
|
() => Yr(n, _, c),
|
|
3743
3764
|
[n, _, c]
|
|
3744
|
-
), C = te === null, V = S === "v1" &&
|
|
3765
|
+
), C = te === null, V = S === "v1" && k?.config?.showSheet, P = _ ? D ?? t("formDiscountedPrice") : V ? "" : "₹499", J = k?.config.imageComponent ?? Ye, R = (se) => {
|
|
3745
3766
|
if (se.preventDefault(), S === "v1" && !C && b?.trackKundliDetailedClicked?.(), !C) {
|
|
3746
3767
|
te && g?.(te);
|
|
3747
3768
|
return;
|
|
@@ -3754,9 +3775,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3754
3775
|
v ? U?.() : p?.(I);
|
|
3755
3776
|
return;
|
|
3756
3777
|
}
|
|
3757
|
-
b?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) :
|
|
3778
|
+
b?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) : y?.(I);
|
|
3758
3779
|
}, E = /* @__PURE__ */ e.jsx(
|
|
3759
|
-
|
|
3780
|
+
za,
|
|
3760
3781
|
{
|
|
3761
3782
|
href: w,
|
|
3762
3783
|
disabled: S === "v1" ? !1 : !C,
|
|
@@ -3764,9 +3785,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3764
3785
|
"aria-label": t("formPriceAria"),
|
|
3765
3786
|
className: S === "v1" && C ? Ke.ctaFilled : S === "v1" ? Ke.ctaButton : void 0,
|
|
3766
3787
|
children: S === "v1" ? C ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
3767
|
-
V ? t("selectPackage") : v && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${
|
|
3788
|
+
V ? t("selectPackage") : v && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${P}`,
|
|
3768
3789
|
/* @__PURE__ */ e.jsx(
|
|
3769
|
-
|
|
3790
|
+
J,
|
|
3770
3791
|
{
|
|
3771
3792
|
src: Hr,
|
|
3772
3793
|
alt: "",
|
|
@@ -3779,25 +3800,25 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3779
3800
|
] }) : t("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3780
3801
|
t("formProceed"),
|
|
3781
3802
|
" ",
|
|
3782
|
-
|
|
3803
|
+
P
|
|
3783
3804
|
] })
|
|
3784
3805
|
}
|
|
3785
3806
|
);
|
|
3786
3807
|
return /* @__PURE__ */ e.jsx(
|
|
3787
|
-
|
|
3808
|
+
Qa,
|
|
3788
3809
|
{
|
|
3789
3810
|
className: `${Ke.footerContainer} ${Y}`,
|
|
3790
3811
|
marquee: /* @__PURE__ */ e.jsx(Xa, { children: /* @__PURE__ */ e.jsx(Wr, { t }) }),
|
|
3791
3812
|
children: E
|
|
3792
3813
|
}
|
|
3793
3814
|
);
|
|
3794
|
-
},
|
|
3815
|
+
}, Jr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", zr = ({
|
|
3795
3816
|
t,
|
|
3796
3817
|
languageSelector: n,
|
|
3797
|
-
logoUrl: i =
|
|
3818
|
+
logoUrl: i = Jr,
|
|
3798
3819
|
className: c = ""
|
|
3799
3820
|
}) => {
|
|
3800
|
-
const g = Me(),
|
|
3821
|
+
const g = Me(), y = g?.config.isGlobal ?? !0, h = n != null && !y;
|
|
3801
3822
|
return /* @__PURE__ */ e.jsx(
|
|
3802
3823
|
Za,
|
|
3803
3824
|
{
|
|
@@ -3818,7 +3839,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3818
3839
|
strokeLinecap: "round",
|
|
3819
3840
|
strokeLinejoin: "round"
|
|
3820
3841
|
}
|
|
3821
|
-
) }),
|
|
3842
|
+
) }), Qr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3822
3843
|
"path",
|
|
3823
3844
|
{
|
|
3824
3845
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -3861,7 +3882,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3861
3882
|
/* @__PURE__ */ e.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
3862
3883
|
/* @__PURE__ */ e.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
3863
3884
|
/* @__PURE__ */ e.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
3864
|
-
] }), nn = "_overlay_pvy8j_3", on = "_sheet_pvy8j_13", ln = "_sheetFullScreen_pvy8j_53", sn = "_headerFull_pvy8j_76", cn = "_titleFull_pvy8j_89", dn = "_header_pvy8j_76", un = "_backBtn_pvy8j_110", pn = "_title_pvy8j_89", mn = "_plansContainer_pvy8j_140", fn = "_planCard_pvy8j_149", hn = "_withBadgeSpacing_pvy8j_163", gn = "_planCardSelected_pvy8j_167", bn = "_planCardPopular_pvy8j_172", _n = "_popularBadge_pvy8j_181",
|
|
3885
|
+
] }), nn = "_overlay_pvy8j_3", on = "_sheet_pvy8j_13", ln = "_sheetFullScreen_pvy8j_53", sn = "_headerFull_pvy8j_76", cn = "_titleFull_pvy8j_89", dn = "_header_pvy8j_76", un = "_backBtn_pvy8j_110", pn = "_title_pvy8j_89", mn = "_plansContainer_pvy8j_140", fn = "_planCard_pvy8j_149", hn = "_withBadgeSpacing_pvy8j_163", gn = "_planCardSelected_pvy8j_167", bn = "_planCardPopular_pvy8j_172", _n = "_popularBadge_pvy8j_181", yn = "_planCardInner_pvy8j_199", kn = "_planTitleRow_pvy8j_210", vn = "_planTitle_pvy8j_210", An = "_radioCircle_pvy8j_225", Tn = "_radioChecked_pvy8j_238", xn = "_radioInner_pvy8j_243", Pn = "_priceRow_pvy8j_251", wn = "_price_pvy8j_251", Sn = "_originalPrice_pvy8j_264", Cn = "_savingsBadge_pvy8j_271", Rn = "_featureList_pvy8j_281", jn = "_featureItem_pvy8j_290", Nn = "_featureIcon_pvy8j_296", Ln = "_featureText_pvy8j_302", Bn = "_astrologerHeading_pvy8j_313", Dn = "_astrologerList_pvy8j_320", En = "_astrologerCard_pvy8j_336", In = "_astrologerAvatar_pvy8j_352", Fn = "_astrologerAvatarPlaceholder_pvy8j_369", Mn = "_astrologerTop_pvy8j_375", Un = "_astrologerBasicInfo_pvy8j_381", Gn = "_astrologerName_pvy8j_388", On = "_astrologerExp_pvy8j_397", $n = "_astrologerDivider_pvy8j_403", Hn = "_planDivider_pvy8j_409", Wn = "_astrologerCertList_pvy8j_416", Kn = "_astrologerCertItem_pvy8j_422", qn = "_bullet_pvy8j_430", Yn = "_footer_pvy8j_435", Vn = "_proceedBtn_pvy8j_445", T = {
|
|
3865
3886
|
overlay: nn,
|
|
3866
3887
|
sheet: on,
|
|
3867
3888
|
sheetFullScreen: ln,
|
|
@@ -3876,13 +3897,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3876
3897
|
planCardSelected: gn,
|
|
3877
3898
|
planCardPopular: bn,
|
|
3878
3899
|
popularBadge: _n,
|
|
3879
|
-
planCardInner:
|
|
3880
|
-
planTitleRow:
|
|
3900
|
+
planCardInner: yn,
|
|
3901
|
+
planTitleRow: kn,
|
|
3881
3902
|
planTitle: vn,
|
|
3882
3903
|
radioCircle: An,
|
|
3883
3904
|
radioChecked: Tn,
|
|
3884
|
-
radioInner:
|
|
3885
|
-
priceRow:
|
|
3905
|
+
radioInner: xn,
|
|
3906
|
+
priceRow: Pn,
|
|
3886
3907
|
price: wn,
|
|
3887
3908
|
originalPrice: Sn,
|
|
3888
3909
|
savingsBadge: Cn,
|
|
@@ -3906,7 +3927,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3906
3927
|
bullet: qn,
|
|
3907
3928
|
footer: Yn,
|
|
3908
3929
|
proceedBtn: Vn
|
|
3909
|
-
},
|
|
3930
|
+
}, Jn = ({ title: t, onBack: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.header, children: [
|
|
3910
3931
|
/* @__PURE__ */ e.jsx(
|
|
3911
3932
|
"button",
|
|
3912
3933
|
{
|
|
@@ -3918,8 +3939,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3918
3939
|
}
|
|
3919
3940
|
),
|
|
3920
3941
|
/* @__PURE__ */ e.jsx("h2", { className: T.title, children: t })
|
|
3921
|
-
] }),
|
|
3922
|
-
/* @__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, {}) }),
|
|
3923
3944
|
/* @__PURE__ */ e.jsx(
|
|
3924
3945
|
"span",
|
|
3925
3946
|
{
|
|
@@ -3927,7 +3948,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3927
3948
|
children: n?.(i.text) ?? i.text
|
|
3928
3949
|
}
|
|
3929
3950
|
)
|
|
3930
|
-
] }, c)) }),
|
|
3951
|
+
] }, c)) }), Qn = ({ astrologer: t, t: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.astrologerCard, children: [
|
|
3931
3952
|
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerTop, children: [
|
|
3932
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) }) }),
|
|
3933
3954
|
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerBasicInfo, children: [
|
|
@@ -3945,7 +3966,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3945
3966
|
/* @__PURE__ */ e.jsx(Zr, {}),
|
|
3946
3967
|
/* @__PURE__ */ e.jsx("span", { children: t })
|
|
3947
3968
|
] }), Zn = ({ plan: t, isSelected: n, onSelect: i, t: c }) => {
|
|
3948
|
-
const g = () => i(t.id),
|
|
3969
|
+
const g = () => i(t.id), y = (h) => {
|
|
3949
3970
|
(h.key === " " || h.key === "Enter") && (h.preventDefault(), i(t.id));
|
|
3950
3971
|
};
|
|
3951
3972
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -3960,7 +3981,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3960
3981
|
role: "radio",
|
|
3961
3982
|
"aria-checked": n,
|
|
3962
3983
|
tabIndex: 0,
|
|
3963
|
-
onKeyDown:
|
|
3984
|
+
onKeyDown: y,
|
|
3964
3985
|
"data-plan-id": t.id,
|
|
3965
3986
|
children: [
|
|
3966
3987
|
t.badge && /* @__PURE__ */ e.jsx(Xn, { label: c?.(t.badge) ?? t.badge }),
|
|
@@ -3981,11 +4002,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3981
4002
|
t.originalPrice && /* @__PURE__ */ e.jsx("span", { className: T.originalPrice, children: t.originalPrice }),
|
|
3982
4003
|
t.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: T.savingsBadge, children: c?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
3983
4004
|
] }),
|
|
3984
|
-
/* @__PURE__ */ e.jsx(
|
|
4005
|
+
/* @__PURE__ */ e.jsx(zn, { features: t.features, t: c }),
|
|
3985
4006
|
t.astrologers && /* @__PURE__ */ e.jsx("div", { className: T.planDivider }),
|
|
3986
4007
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3987
4008
|
/* @__PURE__ */ e.jsx("p", { className: T.astrologerHeading, children: c?.("planAstrologerHeading") ?? "We will match you with astrologer who speaks your language" }),
|
|
3988
|
-
/* @__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)) })
|
|
3989
4010
|
] })
|
|
3990
4011
|
] })
|
|
3991
4012
|
]
|
|
@@ -4000,9 +4021,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4000
4021
|
const i = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
4001
4022
|
if (Number.isNaN(c.getTime()))
|
|
4002
4023
|
return { id: t, dayLabel: t, dayNum: "" };
|
|
4003
|
-
const g = (w) => new Date(w.getFullYear(), w.getMonth(), w.getDate()).getTime(),
|
|
4024
|
+
const g = (w) => new Date(w.getFullYear(), w.getMonth(), w.getDate()).getTime(), y = Math.round(
|
|
4004
4025
|
(g(c) - g(n)) / (1e3 * 60 * 60 * 24)
|
|
4005
|
-
), h =
|
|
4026
|
+
), h = y === 0 ? "Today" : y === 1 ? "Tomorrow" : i[c.getDay()];
|
|
4006
4027
|
return { id: t, dayLabel: h, dayNum: String(c.getDate()) };
|
|
4007
4028
|
}, ao = [
|
|
4008
4029
|
"morning",
|
|
@@ -4038,11 +4059,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4038
4059
|
mr: ["mr", "en"],
|
|
4039
4060
|
ta: ["ta", "en"]
|
|
4040
4061
|
}, La = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0), oo = (t, n, i) => {
|
|
4041
|
-
const c = i ? no : ro, [g,
|
|
4042
|
-
(b) => b !== g && b !==
|
|
4062
|
+
const c = i ? no : ro, [g, y] = c[n || "en"] ?? c.en, h = qe.map((b) => b.code).filter(
|
|
4063
|
+
(b) => b !== g && b !== y
|
|
4043
4064
|
);
|
|
4044
|
-
return [g,
|
|
4045
|
-
}, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151",
|
|
4065
|
+
return [g, y, ...h].find((b) => La(t[b])) ?? g;
|
|
4066
|
+
}, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151", yo = "_languageMenuItemSelected_1mg8x_165", ko = "_languageDivider_1mg8x_171", vo = "_reportReadyBanner_1mg8x_178", Ao = "_reportReadyDuration_1mg8x_187", To = "_trustRow_1mg8x_193", xo = "_trustAvatars_1mg8x_204", Po = "_trustText_1mg8x_217", wo = "_sectionHeading_1mg8x_328", So = "_dateTabs_1mg8x_336", Co = "_dateTabIndicator_1mg8x_348", Ro = "_dateTab_1mg8x_336", jo = "_dateTabDivider_1mg8x_382", No = "_dateTabSelected_1mg8x_392", Lo = "_dateTabLabel_1mg8x_397", Bo = "_dateTabNum_1mg8x_404", Do = "_periodTabs_1mg8x_418", Eo = "_periodTabIndicator_1mg8x_346", Io = "_periodTab_1mg8x_346", Fo = "_periodTabSelected_1mg8x_465", Mo = "_timeGrid_1mg8x_470", Uo = "_emptyState_1mg8x_498", Go = "_timeSlot_1mg8x_502", Oo = "_timeSlotSelected_1mg8x_518", $o = "_topicGrid_1mg8x_526", Ho = "_topicChip_1mg8x_532", Wo = "_topicChipSelected_1mg8x_548", Ko = "_stateMessage_1mg8x_555", qo = "_emptyStateIcon_1mg8x_575", Yo = "_emptyStateTitle_1mg8x_586", Vo = "_emptyStateSubtitle_1mg8x_593", Jo = "_loadingWrap_1mg8x_602", zo = "_skeletonShimmer_1mg8x_607", Qo = "_skeletonDateTabs_1mg8x_621", Xo = "_skeletonDateTab_1mg8x_621", Zo = "_skeletonPeriodTabs_1mg8x_635", ei = "_skeletonPeriodTab_1mg8x_635", ai = "_skeletonTimeGrid_1mg8x_650", ti = "_skeletonTimeSlot_1mg8x_656", ri = "_retryBtn_1mg8x_661", ni = "_footer_1mg8x_675", oi = "_proceedBtn_1mg8x_682", ii = "_proceedBtnDisabled_1mg8x_700", m = {
|
|
4046
4067
|
overlay: io,
|
|
4047
4068
|
sheet: lo,
|
|
4048
4069
|
content: so,
|
|
@@ -4055,13 +4076,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4055
4076
|
languageDropdownBtn: go,
|
|
4056
4077
|
languageMenu: bo,
|
|
4057
4078
|
languageMenuItem: _o,
|
|
4058
|
-
languageMenuItemSelected:
|
|
4059
|
-
languageDivider:
|
|
4079
|
+
languageMenuItemSelected: yo,
|
|
4080
|
+
languageDivider: ko,
|
|
4060
4081
|
reportReadyBanner: vo,
|
|
4061
4082
|
reportReadyDuration: Ao,
|
|
4062
4083
|
trustRow: To,
|
|
4063
|
-
trustAvatars:
|
|
4064
|
-
trustText:
|
|
4084
|
+
trustAvatars: xo,
|
|
4085
|
+
trustText: Po,
|
|
4065
4086
|
sectionHeading: wo,
|
|
4066
4087
|
dateTabs: So,
|
|
4067
4088
|
dateTabIndicator: Co,
|
|
@@ -4085,9 +4106,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4085
4106
|
emptyStateIcon: qo,
|
|
4086
4107
|
emptyStateTitle: Yo,
|
|
4087
4108
|
emptyStateSubtitle: Vo,
|
|
4088
|
-
loadingWrap:
|
|
4089
|
-
skeletonShimmer:
|
|
4090
|
-
skeletonDateTabs:
|
|
4109
|
+
loadingWrap: Jo,
|
|
4110
|
+
skeletonShimmer: zo,
|
|
4111
|
+
skeletonDateTabs: Qo,
|
|
4091
4112
|
skeletonDateTab: Xo,
|
|
4092
4113
|
skeletonPeriodTabs: Zo,
|
|
4093
4114
|
skeletonPeriodTab: ei,
|
|
@@ -4114,14 +4135,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4114
4135
|
t: i,
|
|
4115
4136
|
analytics: c,
|
|
4116
4137
|
reportLanguage: g,
|
|
4117
|
-
isPostPayment:
|
|
4138
|
+
isPostPayment: y = !1,
|
|
4118
4139
|
showGuidanceTopic: h,
|
|
4119
4140
|
hideFooter: w = !1,
|
|
4120
4141
|
onStateChange: b
|
|
4121
4142
|
}) => {
|
|
4122
|
-
const Y = h ?? !
|
|
4123
|
-
() => C[
|
|
4124
|
-
[C,
|
|
4143
|
+
const Y = h ?? !y, D = Me(), N = D?.config.imageComponent ?? Ye, p = D?.config.fetchConsultationSlots, U = D?.config.isGlobal ?? !0, v = g ?? D?.formValues?.language_code, j = y ? "post_payment" : "pre_payment", [k, _] = B(!1), [S, te] = B(!1), [C, V] = B({}), [P, J] = B("en"), [R, E] = B(!1), se = M(null), ae = Ee(
|
|
4144
|
+
() => C[P]?.days ?? [],
|
|
4145
|
+
[C, P]
|
|
4125
4146
|
), [G, I] = B(""), [$, X] = B(""), [O, Te] = B("morning"), [K, re] = B(null), he = M(!1), ue = M(null), we = M({}), [ne, je] = B(null), _e = M(null), pe = M(
|
|
4126
4147
|
{}
|
|
4127
4148
|
), [ge, oe] = B(null), H = Ee(
|
|
@@ -4134,7 +4155,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4134
4155
|
v,
|
|
4135
4156
|
U
|
|
4136
4157
|
);
|
|
4137
|
-
V(f),
|
|
4158
|
+
V(f), J(Z), c?.trackConsultationLanguageDefaultSelected?.({
|
|
4138
4159
|
language: ta(Z),
|
|
4139
4160
|
status: j
|
|
4140
4161
|
});
|
|
@@ -4248,13 +4269,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4248
4269
|
day_part_default: O,
|
|
4249
4270
|
status: j
|
|
4250
4271
|
});
|
|
4251
|
-
},
|
|
4272
|
+
}, xe = (l) => {
|
|
4252
4273
|
Te(l), c?.trackDayPartSelected?.({
|
|
4253
4274
|
day_part: l,
|
|
4254
4275
|
slots_available_count: ie?.slots.filter((f) => f.period === l).length ?? 0,
|
|
4255
4276
|
status: j
|
|
4256
4277
|
});
|
|
4257
|
-
},
|
|
4278
|
+
}, ye = (l) => {
|
|
4258
4279
|
re(l), c?.trackSlotSelected?.({
|
|
4259
4280
|
date: $,
|
|
4260
4281
|
time: aa(l.start),
|
|
@@ -4262,7 +4283,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4262
4283
|
topic: G || null,
|
|
4263
4284
|
status: j
|
|
4264
4285
|
});
|
|
4265
|
-
},
|
|
4286
|
+
}, ke = () => {
|
|
4266
4287
|
K && (c?.trackSlotReservationRequested?.({
|
|
4267
4288
|
slot_datetime: `${K.start} - ${K.end}`,
|
|
4268
4289
|
status: j
|
|
@@ -4271,22 +4292,22 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4271
4292
|
end: K.end,
|
|
4272
4293
|
period: K.period,
|
|
4273
4294
|
topic: G,
|
|
4274
|
-
language:
|
|
4295
|
+
language: P
|
|
4275
4296
|
}));
|
|
4276
|
-
},
|
|
4277
|
-
|
|
4278
|
-
b?.({ canProceed: ce, proceed: () =>
|
|
4297
|
+
}, Pe = M(ke);
|
|
4298
|
+
Pe.current = ke, q(() => {
|
|
4299
|
+
b?.({ canProceed: ce, proceed: () => Pe.current() });
|
|
4279
4300
|
}, [ce, b]);
|
|
4280
4301
|
const Be = (l) => {
|
|
4281
4302
|
I(l), c?.trackGuidanceTopicSelected?.({ topic: l, status: j });
|
|
4282
4303
|
}, De = (l) => {
|
|
4283
4304
|
c?.trackConsultationLanguageChanged?.({
|
|
4284
|
-
previous_language: ta(
|
|
4305
|
+
previous_language: ta(P),
|
|
4285
4306
|
new_language: ta(l),
|
|
4286
4307
|
slots_available: La(C[l]) ? "yes" : "no",
|
|
4287
4308
|
status: j
|
|
4288
|
-
}),
|
|
4289
|
-
},
|
|
4309
|
+
}), J(l), E(!1);
|
|
4310
|
+
}, x = qe.find((l) => l.code === P) ?? qe[0];
|
|
4290
4311
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4291
4312
|
/* @__PURE__ */ e.jsxs("div", { className: m.content, children: [
|
|
4292
4313
|
/* @__PURE__ */ e.jsxs("div", { className: m.languageRow, children: [
|
|
@@ -4301,13 +4322,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4301
4322
|
"aria-haspopup": "listbox",
|
|
4302
4323
|
"aria-expanded": R,
|
|
4303
4324
|
children: [
|
|
4304
|
-
i?.(
|
|
4325
|
+
i?.(x.labelKey) ?? x.label,
|
|
4305
4326
|
/* @__PURE__ */ e.jsx(Xr, {})
|
|
4306
4327
|
]
|
|
4307
4328
|
}
|
|
4308
4329
|
),
|
|
4309
4330
|
R && /* @__PURE__ */ e.jsx("ul", { className: m.languageMenu, role: "listbox", children: qe.map((l) => {
|
|
4310
|
-
const f = l.code ===
|
|
4331
|
+
const f = l.code === P;
|
|
4311
4332
|
return /* @__PURE__ */ e.jsxs(
|
|
4312
4333
|
"li",
|
|
4313
4334
|
{
|
|
@@ -4337,7 +4358,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4337
4358
|
" ",
|
|
4338
4359
|
i?.("planReportReadySuffix") ?? "from today"
|
|
4339
4360
|
] }),
|
|
4340
|
-
|
|
4361
|
+
k && /* @__PURE__ */ e.jsxs("div", { className: m.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
|
|
4341
4362
|
/* @__PURE__ */ e.jsx("div", { className: m.skeletonDateTabs, children: Array.from({ length: 5 }).map((l, f) => /* @__PURE__ */ e.jsx(
|
|
4342
4363
|
"div",
|
|
4343
4364
|
{
|
|
@@ -4360,16 +4381,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4360
4381
|
f
|
|
4361
4382
|
)) })
|
|
4362
4383
|
] }),
|
|
4363
|
-
!
|
|
4384
|
+
!k && S && /* @__PURE__ */ e.jsxs("div", { className: m.stateMessage, children: [
|
|
4364
4385
|
i?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
4365
4386
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: m.retryBtn, onClick: me, children: i?.("planRetry") ?? "Retry" })
|
|
4366
4387
|
] }),
|
|
4367
|
-
!
|
|
4388
|
+
!k && !S && H.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: m.emptyState, children: [
|
|
4368
4389
|
/* @__PURE__ */ e.jsx("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e.jsx(rn, {}) }),
|
|
4369
4390
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateTitle, children: i?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
4370
4391
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateSubtitle, children: i?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
4371
4392
|
] }),
|
|
4372
|
-
!
|
|
4393
|
+
!k && !S && H.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4373
4394
|
/* @__PURE__ */ e.jsxs("div", { className: m.dateTabs, ref: ue, role: "radiogroup", "aria-label": "Consultation date", children: [
|
|
4374
4395
|
ne && /* @__PURE__ */ e.jsx(
|
|
4375
4396
|
"span",
|
|
@@ -4437,7 +4458,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4437
4458
|
].filter(Boolean).join(" "),
|
|
4438
4459
|
role: "tab",
|
|
4439
4460
|
"aria-selected": l === O,
|
|
4440
|
-
onClick: () =>
|
|
4461
|
+
onClick: () => xe(l),
|
|
4441
4462
|
children: [
|
|
4442
4463
|
/* @__PURE__ */ e.jsx(f, {}),
|
|
4443
4464
|
i?.(Z) ?? (l === "evening" && U ? "Evening/Night" : l.charAt(0).toUpperCase() + l.slice(1))
|
|
@@ -4463,7 +4484,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4463
4484
|
].filter(Boolean).join(" "),
|
|
4464
4485
|
role: "radio",
|
|
4465
4486
|
"aria-checked": K?.start === l.start,
|
|
4466
|
-
onClick: () =>
|
|
4487
|
+
onClick: () => ye(l),
|
|
4467
4488
|
children: aa(l.start)
|
|
4468
4489
|
},
|
|
4469
4490
|
`${l.start}-${f}`
|
|
@@ -4513,8 +4534,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4513
4534
|
type: "button",
|
|
4514
4535
|
className: [m.proceedBtn, ce ? "" : m.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
4515
4536
|
disabled: !ce,
|
|
4516
|
-
onClick:
|
|
4517
|
-
children:
|
|
4537
|
+
onClick: ke,
|
|
4538
|
+
children: y ? i?.("planBookSlot") ?? "Book Slot" : i?.("planProceedToPayment") ?? "Proceed to payment"
|
|
4518
4539
|
}
|
|
4519
4540
|
)
|
|
4520
4541
|
] })
|
|
@@ -4549,6 +4570,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4549
4570
|
] })
|
|
4550
4571
|
}
|
|
4551
4572
|
) : null, pi = [
|
|
4573
|
+
{
|
|
4574
|
+
id: "jyoti",
|
|
4575
|
+
name: "planAstrologerNameJyoti",
|
|
4576
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
4577
|
+
experience: "planAstrologerExpJyoti",
|
|
4578
|
+
certifications: [
|
|
4579
|
+
"planAstrologerCertCertifiedJyotish",
|
|
4580
|
+
"planAstrologerCertAccurateSolutions"
|
|
4581
|
+
]
|
|
4582
|
+
},
|
|
4552
4583
|
{
|
|
4553
4584
|
id: "samiksha",
|
|
4554
4585
|
name: "planAstrologerNameSamiksha",
|
|
@@ -4593,7 +4624,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4593
4624
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
4594
4625
|
],
|
|
4595
4626
|
astrologers: pi.filter(
|
|
4596
|
-
(n) => ["samiksha", "neeraj", "ashwini"].includes(n.id)
|
|
4627
|
+
(n) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(n.id)
|
|
4597
4628
|
)
|
|
4598
4629
|
}
|
|
4599
4630
|
], fi = ({
|
|
@@ -4602,24 +4633,24 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4602
4633
|
selectedPlan: i,
|
|
4603
4634
|
onSelectPlan: c,
|
|
4604
4635
|
plans: g,
|
|
4605
|
-
onProceed:
|
|
4636
|
+
onProceed: y,
|
|
4606
4637
|
t: h,
|
|
4607
4638
|
analytics: w,
|
|
4608
4639
|
enableConsultationScheduling: b
|
|
4609
4640
|
}) => {
|
|
4610
|
-
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 || "", v = M(null), j = M(null),
|
|
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 || "", v = M(null), j = M(null), k = M(!1), [_, S] = B(!1);
|
|
4611
4642
|
q(() => {
|
|
4612
4643
|
if (t) {
|
|
4613
4644
|
if (!i) {
|
|
4614
4645
|
const C = p.find((V) => V.badge) ?? p[0];
|
|
4615
4646
|
C && c(C);
|
|
4616
4647
|
}
|
|
4617
|
-
|
|
4648
|
+
k.current || (w?.trackPlanPageViewed?.(), N && w?.trackPlanScreenViewed?.({
|
|
4618
4649
|
plans_shown: p.map((C) => C.id),
|
|
4619
4650
|
default_selected_plan: i?.id || p.find((C) => C.badge)?.id || p[0]?.id || ""
|
|
4620
|
-
}),
|
|
4651
|
+
}), k.current = !0);
|
|
4621
4652
|
} else
|
|
4622
|
-
|
|
4653
|
+
k.current = !1;
|
|
4623
4654
|
}, [t, p, i, c, w]);
|
|
4624
4655
|
const te = () => {
|
|
4625
4656
|
w?.trackPlanPageClosed?.(), n();
|
|
@@ -4658,7 +4689,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4658
4689
|
),
|
|
4659
4690
|
/* @__PURE__ */ e.jsx("h2", { className: T.titleFull, children: h?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
4660
4691
|
] }) : /* @__PURE__ */ e.jsx(
|
|
4661
|
-
|
|
4692
|
+
Jn,
|
|
4662
4693
|
{
|
|
4663
4694
|
title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
4664
4695
|
onBack: te
|
|
@@ -4678,16 +4709,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4678
4709
|
isSelected: C.id === U,
|
|
4679
4710
|
t: h,
|
|
4680
4711
|
onSelect: (V) => {
|
|
4681
|
-
const
|
|
4682
|
-
|
|
4683
|
-
planId:
|
|
4684
|
-
planName:
|
|
4712
|
+
const P = p.find((J) => J.id === V);
|
|
4713
|
+
P && (w?.trackPlanSelected?.({
|
|
4714
|
+
planId: P.id,
|
|
4715
|
+
planName: P.title,
|
|
4685
4716
|
...N ? {
|
|
4686
|
-
price:
|
|
4687
|
-
includes_consultation: !!(
|
|
4688
|
-
cta_label:
|
|
4717
|
+
price: P.price,
|
|
4718
|
+
includes_consultation: !!(P.astrologers && P.astrologers.length > 0),
|
|
4719
|
+
cta_label: P.astrologers && P.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
4689
4720
|
} : {}
|
|
4690
|
-
}), c(
|
|
4721
|
+
}), c(P));
|
|
4691
4722
|
}
|
|
4692
4723
|
},
|
|
4693
4724
|
C.id
|
|
@@ -4717,7 +4748,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4717
4748
|
planId: i.id,
|
|
4718
4749
|
planName: i.title,
|
|
4719
4750
|
...N ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
4720
|
-
}),
|
|
4751
|
+
}), y(i), n();
|
|
4721
4752
|
}
|
|
4722
4753
|
},
|
|
4723
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"
|
|
@@ -4740,7 +4771,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4740
4771
|
planName: i.title,
|
|
4741
4772
|
cta_type: "proceed",
|
|
4742
4773
|
next_step: "payment"
|
|
4743
|
-
}),
|
|
4774
|
+
}), y(i, C), S(!1), n();
|
|
4744
4775
|
}
|
|
4745
4776
|
}
|
|
4746
4777
|
)
|
|
@@ -4749,7 +4780,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4749
4780
|
),
|
|
4750
4781
|
document.body
|
|
4751
4782
|
) : null;
|
|
4752
|
-
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) =>
|
|
4783
|
+
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) => Pa[t]?.[n] ?? n, bi = (t, n) => t && ra.includes(t) ? t : n ? "+1" : "+91", _i = {
|
|
4753
4784
|
fullName: "",
|
|
4754
4785
|
phone: "",
|
|
4755
4786
|
phoneCountryCode: "",
|
|
@@ -4766,7 +4797,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4766
4797
|
showLanguageSelector: i = !0,
|
|
4767
4798
|
onBack: c,
|
|
4768
4799
|
initialValues: g,
|
|
4769
|
-
onProceed:
|
|
4800
|
+
onProceed: y,
|
|
4770
4801
|
onProceedGuidance: h,
|
|
4771
4802
|
proceedHref: w,
|
|
4772
4803
|
originalPriceLabel: b,
|
|
@@ -4776,7 +4807,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4776
4807
|
googleMapsAutocompleteEnabled: p,
|
|
4777
4808
|
analytics: U
|
|
4778
4809
|
}) => {
|
|
4779
|
-
const v = Me(), j = vt(),
|
|
4810
|
+
const v = Me(), j = vt(), k = v !== null, _ = k ? v.locale : n, S = _ ?? j?.locale ?? "en", [te, C] = B(S), V = k ? v.locale : te, P = k ? v.setLocale : C, [J, R] = B(!1), E = M(null), se = M(
|
|
4780
4811
|
_
|
|
4781
4812
|
), ae = M(
|
|
4782
4813
|
j?.locale
|
|
@@ -4784,24 +4815,24 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4784
4815
|
q(() => {
|
|
4785
4816
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
4786
4817
|
}, []);
|
|
4787
|
-
const G = (
|
|
4818
|
+
const G = (x) => gi(V, x);
|
|
4788
4819
|
q(() => {
|
|
4789
|
-
_ && se.current !== _ &&
|
|
4790
|
-
}, [_,
|
|
4820
|
+
_ && se.current !== _ && P(_), se.current = _;
|
|
4821
|
+
}, [_, P]), q(() => {
|
|
4791
4822
|
if (_) return;
|
|
4792
|
-
const
|
|
4793
|
-
|
|
4794
|
-
}, [j?.locale, _,
|
|
4823
|
+
const x = j?.locale;
|
|
4824
|
+
x && ae.current !== x && P(x), ae.current = x;
|
|
4825
|
+
}, [j?.locale, _, P]);
|
|
4795
4826
|
const [I, $] = B({
|
|
4796
4827
|
..._i,
|
|
4797
4828
|
...g,
|
|
4798
4829
|
phone: g?.phone ?? ""
|
|
4799
|
-
}), X =
|
|
4830
|
+
}), X = k ? v?.config.isGlobal ?? !0 : !0, O = k ? v.formValues : I, Te = k ? v.setFormValues : $, [K, re] = B(
|
|
4800
4831
|
() => bi(O.phoneCountryCode, X)
|
|
4801
4832
|
), he = M(
|
|
4802
4833
|
!!(O.phoneCountryCode && ra.includes(O.phoneCountryCode))
|
|
4803
|
-
), ue = M(!1), we = Re((
|
|
4804
|
-
ue.current = !0, re(
|
|
4834
|
+
), ue = M(!1), we = Re((x) => {
|
|
4835
|
+
ue.current = !0, re(x);
|
|
4805
4836
|
}, []), ne = M(!0);
|
|
4806
4837
|
q(() => {
|
|
4807
4838
|
if (ne.current) {
|
|
@@ -4810,41 +4841,41 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4810
4841
|
}
|
|
4811
4842
|
he.current || ue.current || re(X ? "+1" : "+91");
|
|
4812
4843
|
}, [X]), q(() => {
|
|
4813
|
-
if (!
|
|
4814
|
-
const
|
|
4815
|
-
|
|
4816
|
-
}, [
|
|
4817
|
-
const je =
|
|
4844
|
+
if (!k || ue.current) return;
|
|
4845
|
+
const x = O.phoneCountryCode;
|
|
4846
|
+
x && ra.includes(x) && x !== K && (he.current = !0, re(x));
|
|
4847
|
+
}, [k, O.phoneCountryCode]);
|
|
4848
|
+
const je = k ? v.goToPage : c, _e = k ? v.onProceed : y, pe = k ? v.onProceedGuidance : h, ge = k ? v.config.proceedHref : w, oe = k ? v.config.originalPriceLabel : b, H = k ? v.config.discountedPriceLabel : Y, me = k ? v.config.showLanguageSelector ?? !0 : i, ie = (k ? v?.config?.analytics : U) ?? U;
|
|
4818
4849
|
q(() => {
|
|
4819
|
-
if (!
|
|
4820
|
-
const
|
|
4850
|
+
if (!J) return;
|
|
4851
|
+
const x = (l) => {
|
|
4821
4852
|
E.current && !E.current.contains(l.target) && R(!1);
|
|
4822
4853
|
};
|
|
4823
|
-
return document.addEventListener("mousedown",
|
|
4824
|
-
}, [
|
|
4825
|
-
const [fe, ee] = B(!1), [ce, Ne] = B(null),
|
|
4826
|
-
|
|
4827
|
-
}, []),
|
|
4854
|
+
return document.addEventListener("mousedown", x), () => document.removeEventListener("mousedown", x);
|
|
4855
|
+
}, [J]);
|
|
4856
|
+
const [fe, ee] = B(!1), [ce, Ne] = B(null), xe = M(null), ye = Re((x) => {
|
|
4857
|
+
xe.current = x, ee(!0);
|
|
4858
|
+
}, []), ke = M(!1);
|
|
4828
4859
|
q(() => {
|
|
4829
|
-
if (
|
|
4860
|
+
if (ke.current || !k || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
|
|
4830
4861
|
return;
|
|
4831
|
-
|
|
4832
|
-
const
|
|
4833
|
-
|
|
4862
|
+
ke.current = !0;
|
|
4863
|
+
const x = (O.phone ?? "").trim();
|
|
4864
|
+
ye({
|
|
4834
4865
|
...O,
|
|
4835
|
-
phone:
|
|
4866
|
+
phone: x && `${K}-${x}`
|
|
4836
4867
|
});
|
|
4837
|
-
}, [
|
|
4838
|
-
const
|
|
4839
|
-
if (!
|
|
4868
|
+
}, [k, v?.config.autoOpenPlanSheet, v?.config.variant, O, K, ye]);
|
|
4869
|
+
const Pe = Re(() => {
|
|
4870
|
+
if (!xe.current || !ce) return;
|
|
4840
4871
|
ie?.trackPlanProceedClicked?.({
|
|
4841
4872
|
planId: ce.id,
|
|
4842
4873
|
planName: ce.title,
|
|
4843
4874
|
price: ce.price,
|
|
4844
4875
|
currency: X ? "USD" : "INR"
|
|
4845
4876
|
});
|
|
4846
|
-
const
|
|
4847
|
-
ce.id === ja && pe ? pe(
|
|
4877
|
+
const x = { ...xe.current, _selectedPlan: ce };
|
|
4878
|
+
ce.id === ja && pe ? pe(x) : _e?.(x), ee(!1), xe.current = null;
|
|
4848
4879
|
}, [ce, _e, pe]), Be = v?.config.imageComponent ?? Ye, De = me ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: E, children: [
|
|
4849
4880
|
/* @__PURE__ */ e.jsxs(
|
|
4850
4881
|
"button",
|
|
@@ -4852,9 +4883,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4852
4883
|
type: "button",
|
|
4853
4884
|
className: Le.langTrigger,
|
|
4854
4885
|
onClick: () => {
|
|
4855
|
-
ie?.trackLanguageClickedFe?.({ language: V }), R((
|
|
4886
|
+
ie?.trackLanguageClickedFe?.({ language: V }), R((x) => !x);
|
|
4856
4887
|
},
|
|
4857
|
-
"aria-expanded":
|
|
4888
|
+
"aria-expanded": J,
|
|
4858
4889
|
"aria-haspopup": "listbox",
|
|
4859
4890
|
id: "kundli-form-lang",
|
|
4860
4891
|
"aria-label": G("language"),
|
|
@@ -4870,40 +4901,40 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4870
4901
|
loading: "eager"
|
|
4871
4902
|
}
|
|
4872
4903
|
),
|
|
4873
|
-
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children:
|
|
4904
|
+
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children: ya[V] })
|
|
4874
4905
|
]
|
|
4875
4906
|
}
|
|
4876
4907
|
),
|
|
4877
|
-
|
|
4908
|
+
J && /* @__PURE__ */ e.jsx(
|
|
4878
4909
|
"ul",
|
|
4879
4910
|
{
|
|
4880
4911
|
className: Le.langMenu,
|
|
4881
4912
|
role: "listbox",
|
|
4882
4913
|
"aria-labelledby": "kundli-form-lang",
|
|
4883
4914
|
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
4884
|
-
children:
|
|
4915
|
+
children: xa.map((x) => /* @__PURE__ */ e.jsx(
|
|
4885
4916
|
"li",
|
|
4886
4917
|
{
|
|
4887
|
-
id: `kundli-form-lang-option-${
|
|
4918
|
+
id: `kundli-form-lang-option-${x}`,
|
|
4888
4919
|
role: "option",
|
|
4889
|
-
"aria-selected":
|
|
4920
|
+
"aria-selected": x === V,
|
|
4890
4921
|
className: Le.langOption,
|
|
4891
4922
|
onClick: () => {
|
|
4892
|
-
ie?.trackLanguageChangedFe?.({ newLanguage:
|
|
4923
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: x }), P(x), R(!1);
|
|
4893
4924
|
},
|
|
4894
|
-
children:
|
|
4925
|
+
children: ya[x]
|
|
4895
4926
|
},
|
|
4896
|
-
|
|
4927
|
+
x
|
|
4897
4928
|
))
|
|
4898
4929
|
}
|
|
4899
4930
|
)
|
|
4900
4931
|
] }) : null;
|
|
4901
4932
|
return /* @__PURE__ */ e.jsxs("div", { className: `${Le.container} ${t}`, children: [
|
|
4902
4933
|
/* @__PURE__ */ e.jsx(
|
|
4903
|
-
|
|
4934
|
+
zr,
|
|
4904
4935
|
{
|
|
4905
4936
|
t: G,
|
|
4906
|
-
logoUrl:
|
|
4937
|
+
logoUrl: k ? v.config.logoUrl : void 0,
|
|
4907
4938
|
languageSelector: De,
|
|
4908
4939
|
className: Le.kundliHeaderNoBorder
|
|
4909
4940
|
}
|
|
@@ -4922,7 +4953,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4922
4953
|
googleMapsAutocompleteEnabled: p,
|
|
4923
4954
|
phoneIsdCode: K,
|
|
4924
4955
|
onPhoneIsdCodeChange: we,
|
|
4925
|
-
showV1ExtraFields:
|
|
4956
|
+
showV1ExtraFields: k ? v?.config.variant === "v1" : !1,
|
|
4926
4957
|
analytics: ie
|
|
4927
4958
|
}
|
|
4928
4959
|
)
|
|
@@ -4939,8 +4970,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4939
4970
|
originalPriceLabel: oe,
|
|
4940
4971
|
discountedPriceLabel: H,
|
|
4941
4972
|
analytics: ie,
|
|
4942
|
-
showPlanSheet:
|
|
4943
|
-
confirmPlan:
|
|
4973
|
+
showPlanSheet: ye,
|
|
4974
|
+
confirmPlan: Pe,
|
|
4944
4975
|
planSheetOpen: fe,
|
|
4945
4976
|
selectedPlan: ce
|
|
4946
4977
|
}
|
|
@@ -4953,7 +4984,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4953
4984
|
selectedPlan: ce,
|
|
4954
4985
|
onSelectPlan: Ne,
|
|
4955
4986
|
onProceed: () => {
|
|
4956
|
-
|
|
4987
|
+
Pe?.();
|
|
4957
4988
|
},
|
|
4958
4989
|
plans: v?.config.plans,
|
|
4959
4990
|
t: G,
|
|
@@ -5039,30 +5070,30 @@ export {
|
|
|
5039
5070
|
Rt as F,
|
|
5040
5071
|
Ai as I,
|
|
5041
5072
|
Ci as K,
|
|
5042
|
-
|
|
5073
|
+
ya as L,
|
|
5043
5074
|
ja as P,
|
|
5044
|
-
|
|
5075
|
+
xa as S,
|
|
5045
5076
|
Er as U,
|
|
5046
5077
|
Sa as a,
|
|
5047
5078
|
ia as b,
|
|
5048
5079
|
Si as c,
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5080
|
+
Pi as d,
|
|
5081
|
+
xt as e,
|
|
5082
|
+
Pt as f,
|
|
5052
5083
|
At as g,
|
|
5053
5084
|
Me as h,
|
|
5054
|
-
|
|
5085
|
+
xi as i,
|
|
5055
5086
|
wi as j,
|
|
5056
5087
|
ui as k,
|
|
5057
5088
|
mi as l,
|
|
5058
5089
|
e as m,
|
|
5059
|
-
|
|
5090
|
+
zr as n,
|
|
5060
5091
|
sa as o,
|
|
5061
5092
|
Vr as p,
|
|
5062
5093
|
fi as q,
|
|
5063
5094
|
Ti as r,
|
|
5064
5095
|
Tt as s,
|
|
5065
|
-
|
|
5096
|
+
Pa as t,
|
|
5066
5097
|
vt as u
|
|
5067
5098
|
};
|
|
5068
|
-
//# sourceMappingURL=analytics-
|
|
5099
|
+
//# sourceMappingURL=analytics-C7q6coqa.js.map
|