@srimandir/kundli-generator 4.2.0 → 4.3.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-C12NIfpF.js → analytics-Ctu2CtEu.js} +159 -166
- package/dist/analytics-Ctu2CtEu.js.map +1 -0
- package/dist/components/KundliPage/KundliPage.d.ts +1 -1
- package/dist/components/KundliPage/KundliPageV1.d.ts +1 -1
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +3 -9
- package/dist/components/KundliPlanBottomSheet/planDefaults.d.ts +5 -11
- package/dist/{criticalCss-DK8ZiV2R.js → criticalCss-CMDWZ2jr.js} +2 -2
- package/dist/{criticalCss-DK8ZiV2R.js.map → criticalCss-CMDWZ2jr.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +3 -3
- package/dist/analytics-C12NIfpF.js.map +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import Ge, { useContext as Ke, createContext as cr, useState as Y, useRef as H, useEffect as X, useMemo as qe, useCallback as be } from "react";
|
|
2
2
|
import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as xe, PageHeader as $r } from "@srimandir/astrology-common";
|
|
3
|
-
var Ie = { exports: {} },
|
|
3
|
+
var Ie = { exports: {} }, Ne = {};
|
|
4
4
|
var nr;
|
|
5
5
|
function Ur() {
|
|
6
|
-
if (nr) return
|
|
6
|
+
if (nr) return Ne;
|
|
7
7
|
nr = 1;
|
|
8
8
|
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, h = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
9
|
function _(j, v, F) {
|
|
10
|
-
var d,
|
|
10
|
+
var d, T = {}, g = null, D = null;
|
|
11
11
|
F !== void 0 && (g = "" + F), v.key !== void 0 && (g = "" + v.key), v.ref !== void 0 && (D = v.ref);
|
|
12
|
-
for (d in v) u.call(v, d) && !w.hasOwnProperty(d) && (
|
|
13
|
-
if (j && j.defaultProps) for (d in v = j.defaultProps, v)
|
|
14
|
-
return { $$typeof: i, type: j, key: g, ref: D, props:
|
|
12
|
+
for (d in v) u.call(v, d) && !w.hasOwnProperty(d) && (T[d] = v[d]);
|
|
13
|
+
if (j && j.defaultProps) for (d in v = j.defaultProps, v) T[d] === void 0 && (T[d] = v[d]);
|
|
14
|
+
return { $$typeof: i, type: j, key: g, ref: D, props: T, _owner: h.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Ne.Fragment = c, Ne.jsx = _, Ne.jsxs = _, Ne;
|
|
17
17
|
}
|
|
18
18
|
var Re = {};
|
|
19
19
|
var or;
|
|
20
20
|
function qr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"),
|
|
22
|
+
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), D = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, p = "@@iterator";
|
|
23
23
|
function I(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var o =
|
|
26
|
+
var o = A && e[A] || e[p];
|
|
27
27
|
return typeof o == "function" ? o : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
30
|
function k(e) {
|
|
31
31
|
{
|
|
32
32
|
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), m = 1; m < o; m++)
|
|
@@ -36,7 +36,7 @@ function qr() {
|
|
|
36
36
|
}
|
|
37
37
|
function V(e, o, s) {
|
|
38
38
|
{
|
|
39
|
-
var m =
|
|
39
|
+
var m = N.ReactDebugCurrentFrame, C = m.getStackAddendum();
|
|
40
40
|
C !== "" && (o += "%s", s = s.concat([C]));
|
|
41
41
|
var S = s.map(function(x) {
|
|
42
42
|
return String(x);
|
|
@@ -47,7 +47,7 @@ function qr() {
|
|
|
47
47
|
var b = !1, U = !1, O = !1, M = !1, Z = !1, R;
|
|
48
48
|
R = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function B(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === w || Z || e === h || e === F || e === d || M || e === D || b || U || O || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof ===
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === w || Z || e === h || e === F || e === d || M || e === D || b || U || O || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === T || e.$$typeof === _ || e.$$typeof === j || e.$$typeof === v || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
@@ -94,7 +94,7 @@ function qr() {
|
|
|
94
94
|
return $(s._context) + ".Provider";
|
|
95
95
|
case v:
|
|
96
96
|
return J(e, e.render, "ForwardRef");
|
|
97
|
-
case
|
|
97
|
+
case T:
|
|
98
98
|
var m = e.displayName || null;
|
|
99
99
|
return m !== null ? m : E(e.type) || "Memo";
|
|
100
100
|
case g: {
|
|
@@ -170,7 +170,7 @@ function qr() {
|
|
|
170
170
|
K < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var fe =
|
|
173
|
+
var fe = N.ReactCurrentDispatcher, me;
|
|
174
174
|
function ee(e, o, s) {
|
|
175
175
|
{
|
|
176
176
|
if (me === void 0)
|
|
@@ -260,14 +260,14 @@ function qr() {
|
|
|
260
260
|
var Ce = e ? e.displayName || e.name : "", ve = Ce ? ee(Ce) : "";
|
|
261
261
|
return typeof e == "function" && ce.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Pe(e, o, s) {
|
|
264
264
|
return _e(e, !1);
|
|
265
265
|
}
|
|
266
266
|
function ke(e) {
|
|
267
267
|
var o = e.prototype;
|
|
268
268
|
return !!(o && o.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function P(e, o, s) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
@@ -283,28 +283,28 @@ function qr() {
|
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
285
|
case v:
|
|
286
|
-
return
|
|
287
|
-
case
|
|
288
|
-
return
|
|
286
|
+
return Pe(e.render);
|
|
287
|
+
case T:
|
|
288
|
+
return P(e.type, o, s);
|
|
289
289
|
case g: {
|
|
290
290
|
var m = e, C = m._payload, S = m._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return P(S(C), o, s);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty, l = {}, q =
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, l = {}, q = N.ReactDebugCurrentFrame;
|
|
300
300
|
function te(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var o = e._owner, s =
|
|
302
|
+
var o = e._owner, s = P(e.type, e._source, o ? o.type : null);
|
|
303
303
|
q.setExtraStackFrame(s);
|
|
304
304
|
} else
|
|
305
305
|
q.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Te(e, o, s, m, C) {
|
|
308
308
|
{
|
|
309
309
|
var S = Function.call.bind(n);
|
|
310
310
|
for (var x in e)
|
|
@@ -347,7 +347,7 @@ function qr() {
|
|
|
347
347
|
if (_r(e))
|
|
348
348
|
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), He(e);
|
|
349
349
|
}
|
|
350
|
-
var Ve =
|
|
350
|
+
var Ve = N.ReactCurrentOwner, br = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -394,7 +394,7 @@ function qr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var Pr = function(e, o, s, m, C, S, x) {
|
|
398
398
|
var y = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: i,
|
|
@@ -423,7 +423,7 @@ function qr() {
|
|
|
423
423
|
value: C
|
|
424
424
|
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Ar(e, o, s, m, C) {
|
|
427
427
|
{
|
|
428
428
|
var S, x = {}, y = null, re = null;
|
|
429
429
|
s !== void 0 && (Ye(s), y = "" + s), kr(o) && (Ye(o.key), y = "" + o.key), yr(o) && (re = o.ref, vr(o, C));
|
|
@@ -438,13 +438,13 @@ function qr() {
|
|
|
438
438
|
var W = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
439
|
y && xr(x, W), re && wr(x, W);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return Pr(e, y, re, C, m, Ve.current, x);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe =
|
|
445
|
-
function
|
|
444
|
+
var Fe = N.ReactCurrentOwner, Qe = N.ReactDebugCurrentFrame;
|
|
445
|
+
function Ae(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var o = e._owner, s =
|
|
447
|
+
var o = e._owner, s = P(e.type, e._source, o ? o.type : null);
|
|
448
448
|
Qe.setExtraStackFrame(s);
|
|
449
449
|
} else
|
|
450
450
|
Qe.setExtraStackFrame(null);
|
|
@@ -492,7 +492,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
492
492
|
return;
|
|
493
493
|
Ze[s] = !0;
|
|
494
494
|
var m = "";
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + E(e._owner.type) + "."),
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + E(e._owner.type) + "."), Ae(e), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, m), Ae(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function rr(e, o) {
|
|
@@ -514,7 +514,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Tr(e) {
|
|
518
518
|
{
|
|
519
519
|
var o = e.type;
|
|
520
520
|
if (o == null || typeof o == "string")
|
|
@@ -524,13 +524,13 @@ Check the top-level render call using <` + s + ">.");
|
|
|
524
524
|
s = o.propTypes;
|
|
525
525
|
else if (typeof o == "object" && (o.$$typeof === v || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
o.$$typeof ===
|
|
527
|
+
o.$$typeof === T))
|
|
528
528
|
s = o.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (s) {
|
|
532
532
|
var m = E(o);
|
|
533
|
-
|
|
533
|
+
Te(s, e.props, "prop", m, e);
|
|
534
534
|
} else if (o.PropTypes !== void 0 && !Me) {
|
|
535
535
|
Me = !0;
|
|
536
536
|
var C = E(o);
|
|
@@ -539,16 +539,16 @@ Check the top-level render call using <` + s + ">.");
|
|
|
539
539
|
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Nr(e) {
|
|
543
543
|
{
|
|
544
544
|
for (var o = Object.keys(e.props), s = 0; s < o.length; s++) {
|
|
545
545
|
var m = o[s];
|
|
546
546
|
if (m !== "children" && m !== "key") {
|
|
547
|
-
|
|
547
|
+
Ae(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), Ae(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (
|
|
551
|
+
e.ref !== null && (Ae(e), k("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var tr = {};
|
|
@@ -563,7 +563,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
563
563
|
var G;
|
|
564
564
|
e === null ? G = "null" : Oe(e) ? G = "array" : e !== void 0 && e.$$typeof === i ? (G = "<" + (E(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : G = typeof e, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, y);
|
|
565
565
|
}
|
|
566
|
-
var W =
|
|
566
|
+
var W = Ar(e, o, s, C, S);
|
|
567
567
|
if (W == null)
|
|
568
568
|
return W;
|
|
569
569
|
if (x) {
|
|
@@ -593,7 +593,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
593
593
|
<%s key={someKey} {...props} />`, Ue, ve, Br, ve), tr[ve + Ue] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e === u ?
|
|
596
|
+
return e === u ? Nr(W) : Tr(W), W;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function Rr(e, o, s) {
|
|
@@ -797,7 +797,7 @@ const dr = ["en", "hi"], sr = {
|
|
|
797
797
|
planAstrologerHeading: "We will assign you a top astrologer from below",
|
|
798
798
|
planNameBasic: "Kundli Report",
|
|
799
799
|
planNameGuidance: "Kundli Report + Astrologer Guidance",
|
|
800
|
-
planSaveLabel: "Save 25%",
|
|
800
|
+
planSaveLabel: "Save ~25%",
|
|
801
801
|
// Plan Features
|
|
802
802
|
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
803
803
|
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
@@ -812,19 +812,19 @@ const dr = ["en", "hi"], sr = {
|
|
|
812
812
|
planAstrologerExp: "{{years}} Years of experience",
|
|
813
813
|
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
814
814
|
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
815
|
-
planAstrologerCertVedicAstrology: "
|
|
815
|
+
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
816
816
|
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
817
817
|
planAstrologerCertBhuCertified: "BHU Certified Vedic Astrologer",
|
|
818
818
|
planAstrologerCertMantraRudraksha: "Mantra & Rudraksha Specialist",
|
|
819
819
|
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
820
820
|
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
821
821
|
//astro name
|
|
822
|
-
planAstrologerNameJyoti: "
|
|
823
|
-
planAstrologerExpJyoti: "
|
|
824
|
-
planAstrologerNameSamiksha: "
|
|
825
|
-
planAstrologerExpSamiksha: "
|
|
826
|
-
planAstrologerNameNeeraj: "
|
|
827
|
-
planAstrologerExpNeeraj: "
|
|
822
|
+
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
823
|
+
planAstrologerExpJyoti: "18+ Years of experience",
|
|
824
|
+
planAstrologerNameSamiksha: "Ashwini",
|
|
825
|
+
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
826
|
+
planAstrologerNameNeeraj: "Meenakshi",
|
|
827
|
+
planAstrologerExpNeeraj: "12+ Years of experience",
|
|
828
828
|
planAstrologerNameAshwini: "Astro Ashwini",
|
|
829
829
|
planAstrologerExpAshwini: "16 Years of experience"
|
|
830
830
|
},
|
|
@@ -1009,7 +1009,7 @@ const dr = ["en", "hi"], sr = {
|
|
|
1009
1009
|
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
1010
1010
|
planNameBasic: "कुंडली रिपोर्ट",
|
|
1011
1011
|
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
1012
|
-
planSaveLabel: "25% बचाएं",
|
|
1012
|
+
planSaveLabel: "~25% बचाएं",
|
|
1013
1013
|
// Plan Features
|
|
1014
1014
|
planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
|
|
1015
1015
|
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
|
|
@@ -1024,19 +1024,19 @@ const dr = ["en", "hi"], sr = {
|
|
|
1024
1024
|
planAstrologerExp: "साल का अनुभव",
|
|
1025
1025
|
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1026
1026
|
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1027
|
-
planAstrologerCertVedicAstrology: "
|
|
1027
|
+
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1028
1028
|
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
1029
1029
|
planAstrologerCertBhuCertified: "BHU से प्रमाणित वैदिक ज्योतिषी",
|
|
1030
1030
|
planAstrologerCertMantraRudraksha: "मंत्र और रुद्राक्ष विशेषज्ञ",
|
|
1031
1031
|
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1032
1032
|
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1033
1033
|
//astro name
|
|
1034
|
-
planAstrologerNameJyoti: "
|
|
1035
|
-
planAstrologerExpJyoti: "
|
|
1036
|
-
planAstrologerNameSamiksha: "
|
|
1037
|
-
planAstrologerExpSamiksha: "
|
|
1038
|
-
planAstrologerNameNeeraj: "
|
|
1039
|
-
planAstrologerExpNeeraj: "
|
|
1034
|
+
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1035
|
+
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1036
|
+
planAstrologerNameSamiksha: "अश्विनी",
|
|
1037
|
+
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1038
|
+
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
1039
|
+
planAstrologerExpNeeraj: "12+ साल का अनुभव",
|
|
1040
1040
|
planAstrologerNameAshwini: "ज्योतिष अश्विनी",
|
|
1041
1041
|
planAstrologerExpAshwini: "16 साल का अनुभव"
|
|
1042
1042
|
}
|
|
@@ -1135,13 +1135,13 @@ const We = cr(null), ot = {
|
|
|
1135
1135
|
reportImageUrl: v,
|
|
1136
1136
|
reportImagePriority: F,
|
|
1137
1137
|
backgroundImagePriority: d,
|
|
1138
|
-
universityLogoUrls:
|
|
1138
|
+
universityLogoUrls: T,
|
|
1139
1139
|
sampleReportHref: g,
|
|
1140
1140
|
onViewSampleReport: D,
|
|
1141
|
-
ctaHref:
|
|
1141
|
+
ctaHref: A,
|
|
1142
1142
|
onCtaClick: p,
|
|
1143
1143
|
onBack: I,
|
|
1144
|
-
readMoreReviewsHref:
|
|
1144
|
+
readMoreReviewsHref: N,
|
|
1145
1145
|
onProceed: k,
|
|
1146
1146
|
proceedHref: V,
|
|
1147
1147
|
originalPriceLabel: b,
|
|
@@ -1179,13 +1179,13 @@ const We = cr(null), ot = {
|
|
|
1179
1179
|
reportImageUrl: v,
|
|
1180
1180
|
reportImagePriority: F,
|
|
1181
1181
|
backgroundImagePriority: d,
|
|
1182
|
-
universityLogoUrls:
|
|
1182
|
+
universityLogoUrls: T,
|
|
1183
1183
|
sampleReportHref: g,
|
|
1184
1184
|
onViewSampleReport: D,
|
|
1185
|
-
ctaHref:
|
|
1185
|
+
ctaHref: A,
|
|
1186
1186
|
onCtaClick: p,
|
|
1187
1187
|
onBack: I,
|
|
1188
|
-
readMoreReviewsHref:
|
|
1188
|
+
readMoreReviewsHref: N,
|
|
1189
1189
|
onProceed: k,
|
|
1190
1190
|
proceedHref: V,
|
|
1191
1191
|
originalPriceLabel: b,
|
|
@@ -1208,13 +1208,13 @@ const We = cr(null), ot = {
|
|
|
1208
1208
|
v,
|
|
1209
1209
|
F,
|
|
1210
1210
|
d,
|
|
1211
|
-
|
|
1211
|
+
T,
|
|
1212
1212
|
g,
|
|
1213
1213
|
D,
|
|
1214
|
-
|
|
1214
|
+
A,
|
|
1215
1215
|
p,
|
|
1216
1216
|
I,
|
|
1217
|
-
|
|
1217
|
+
N,
|
|
1218
1218
|
k,
|
|
1219
1219
|
V,
|
|
1220
1220
|
b,
|
|
@@ -1272,7 +1272,7 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1272
1272
|
backAriaLabel: t("back"),
|
|
1273
1273
|
className: `${lr.header} ${u === "center" ? lr.centered : ""} ${c}`
|
|
1274
1274
|
}
|
|
1275
|
-
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", pt = "_labelRow_kiw0x_48", ft = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134",
|
|
1275
|
+
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", pt = "_labelRow_kiw0x_48", ft = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Tt = "_isdSelectWrap_kiw0x_178", Nt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", qt = "_suggestionsHint_kiw0x_344", Gt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Wt = "_timePickerSelect_kiw0x_381", Ht = "_timePickerColon_kiw0x_397", Yt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", Jt = "_meridiemActive_kiw0x_429", zt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
|
|
1276
1276
|
wrap: ct,
|
|
1277
1277
|
card: dt,
|
|
1278
1278
|
cardInner: ut,
|
|
@@ -1288,12 +1288,12 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1288
1288
|
infoImg: vt,
|
|
1289
1289
|
infoWrap: xt,
|
|
1290
1290
|
tooltip: wt,
|
|
1291
|
-
tooltipArrow:
|
|
1292
|
-
inputWrap:
|
|
1291
|
+
tooltipArrow: Pt,
|
|
1292
|
+
inputWrap: At,
|
|
1293
1293
|
isdWrap: Ct,
|
|
1294
1294
|
phoneInputGroup: jt,
|
|
1295
|
-
isdSelectWrap:
|
|
1296
|
-
isdSelectTrigger:
|
|
1295
|
+
isdSelectWrap: Tt,
|
|
1296
|
+
isdSelectTrigger: Nt,
|
|
1297
1297
|
isdDropdown: Rt,
|
|
1298
1298
|
isdSearchWrap: St,
|
|
1299
1299
|
isdSearchInput: Et,
|
|
@@ -1358,8 +1358,8 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1358
1358
|
v();
|
|
1359
1359
|
}, w.onerror = () => u(new Error("Failed to load Google Maps API")), document.head.appendChild(w);
|
|
1360
1360
|
}), Be), la = (t) => {
|
|
1361
|
-
const { apiKey: i, language: c = "en", restrictCountry: u, deferLoad: h = !1 } = t, [w, _] = Y(!1), [j, v] = Y([]), [F, d] = Y(!1), [
|
|
1362
|
-
h &&
|
|
1361
|
+
const { apiKey: i, language: c = "en", restrictCountry: u, deferLoad: h = !1 } = t, [w, _] = Y(!1), [j, v] = Y([]), [F, d] = Y(!1), [T, g] = Y(null), [D, A] = Y(!h), p = H(null), I = H(null), N = H(null), k = be(() => {
|
|
1362
|
+
h && A(!0);
|
|
1363
1363
|
}, [h]);
|
|
1364
1364
|
X(() => {
|
|
1365
1365
|
if (!i || !D) {
|
|
@@ -1369,7 +1369,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1369
1369
|
sa(i, c).then(() => {
|
|
1370
1370
|
p.current = new google.maps.places.AutocompleteService();
|
|
1371
1371
|
const O = document.createElement("div");
|
|
1372
|
-
I.current = new google.maps.places.PlacesService(O),
|
|
1372
|
+
I.current = new google.maps.places.PlacesService(O), N.current = new google.maps.places.AutocompleteSessionToken(), _(!0), g(null);
|
|
1373
1373
|
}).catch((O) => {
|
|
1374
1374
|
_(!1), g(O?.message || "Failed to load location service");
|
|
1375
1375
|
});
|
|
@@ -1385,7 +1385,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1385
1385
|
const M = {
|
|
1386
1386
|
input: O,
|
|
1387
1387
|
types: ["(cities)"],
|
|
1388
|
-
sessionToken:
|
|
1388
|
+
sessionToken: N.current ?? void 0
|
|
1389
1389
|
};
|
|
1390
1390
|
u && (M.componentRestrictions = { country: u });
|
|
1391
1391
|
const Z = await new Promise((R, B) => {
|
|
@@ -1423,7 +1423,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1423
1423
|
{
|
|
1424
1424
|
placeId: O,
|
|
1425
1425
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1426
|
-
sessionToken:
|
|
1426
|
+
sessionToken: N.current ?? void 0
|
|
1427
1427
|
},
|
|
1428
1428
|
(K, z) => {
|
|
1429
1429
|
z === google.maps.places.PlacesServiceStatus.OK && K ? E(K) : L(new Error(`Place details error: ${z}`));
|
|
@@ -1431,7 +1431,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1431
1431
|
);
|
|
1432
1432
|
}
|
|
1433
1433
|
);
|
|
1434
|
-
|
|
1434
|
+
N.current = new google.maps.places.AutocompleteSessionToken();
|
|
1435
1435
|
const Z = M.geometry?.location?.lat() || 0, R = M.geometry?.location?.lng() || 0;
|
|
1436
1436
|
let B = "", J = "", $ = "";
|
|
1437
1437
|
return M.address_components?.forEach((E) => {
|
|
@@ -1454,7 +1454,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1454
1454
|
isLoaded: w,
|
|
1455
1455
|
predictions: j,
|
|
1456
1456
|
isSearching: F,
|
|
1457
|
-
loadError:
|
|
1457
|
+
loadError: T,
|
|
1458
1458
|
searchPlaces: V,
|
|
1459
1459
|
getPlaceDetails: b,
|
|
1460
1460
|
clearPredictions: U,
|
|
@@ -1549,9 +1549,9 @@ const ca = {}, da = ({
|
|
|
1549
1549
|
googleMapsApiKey: j,
|
|
1550
1550
|
className: v = ""
|
|
1551
1551
|
}) => {
|
|
1552
|
-
const F = Ee(), d = F?.config?.analytics ?? _,
|
|
1552
|
+
const F = Ee(), d = F?.config?.analytics ?? _, T = F?.config.isGlobal ?? !0;
|
|
1553
1553
|
F?.config?.variant;
|
|
1554
|
-
const g = F?.config?.googleMapsApiKey, [D,
|
|
1554
|
+
const g = F?.config?.googleMapsApiKey, [D, A] = Y(!1), [p, I] = Y(""), N = H(null), k = H(null), V = H({}), b = (n) => c({ ...i, ...n }), U = (n, l) => {
|
|
1555
1555
|
l.trim() && !V.current[n] && (V.current[n] = !0, {
|
|
1556
1556
|
fullName: () => d?.trackNameSectionFilled?.(),
|
|
1557
1557
|
phone: () => d?.trackPhoneSectionFilled?.(),
|
|
@@ -1565,24 +1565,24 @@ const ca = {}, da = ({
|
|
|
1565
1565
|
const B = H(null), J = H(0), $ = H(null), [E, L] = Y(!1), [K, z] = Y({ hour12: 12, minute: "00", meridiem: "AM" }), ne = (n) => String(n).padStart(2, "0"), ge = (n) => {
|
|
1566
1566
|
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1567
1567
|
if (!l) return n;
|
|
1568
|
-
const q = Number(l[1]), te = l[2],
|
|
1569
|
-
return `${q % 12 === 0 ? 12 : q % 12}:${te} ${
|
|
1568
|
+
const q = Number(l[1]), te = l[2], Te = q >= 12 ? "PM" : "AM";
|
|
1569
|
+
return `${q % 12 === 0 ? 12 : q % 12}:${te} ${Te}`;
|
|
1570
1570
|
}, Q = (n) => {
|
|
1571
1571
|
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1572
1572
|
if (!l) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1573
|
-
const q = Number(l[1]), te = l[2],
|
|
1574
|
-
return { hour12: q % 12 === 0 ? 12 : q % 12, minute: te, meridiem:
|
|
1573
|
+
const q = Number(l[1]), te = l[2], Te = q >= 12 ? "PM" : "AM";
|
|
1574
|
+
return { hour12: q % 12 === 0 ? 12 : q % 12, minute: te, meridiem: Te };
|
|
1575
1575
|
}, ie = (n) => {
|
|
1576
1576
|
const l = Math.min(12, Math.max(1, n.hour12)), q = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1577
1577
|
let te = l % 12;
|
|
1578
1578
|
return n.meridiem === "PM" && (te += 12), `${ne(te)}:${q}`;
|
|
1579
1579
|
}, ue = H(null), [se, le] = Y(!1), [pe, oe] = Y(
|
|
1580
1580
|
null
|
|
1581
|
-
), fe = j ?? g ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (i.birthPlace ?? "").trim(), ee =
|
|
1581
|
+
), fe = j ?? g ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (i.birthPlace ?? "").trim(), ee = T ? void 0 : "in", ye = "en", {
|
|
1582
1582
|
predictions: ce,
|
|
1583
1583
|
isSearching: we,
|
|
1584
1584
|
loadError: _e,
|
|
1585
|
-
searchPlaces:
|
|
1585
|
+
searchPlaces: Pe,
|
|
1586
1586
|
clearPredictions: ke
|
|
1587
1587
|
} = la({
|
|
1588
1588
|
apiKey: fe,
|
|
@@ -1596,7 +1596,7 @@ const ca = {}, da = ({
|
|
|
1596
1596
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1597
1597
|
}, []), X(() => {
|
|
1598
1598
|
const n = (l) => {
|
|
1599
|
-
|
|
1599
|
+
N.current && (N.current.contains(l.target) || (A(!1), I("")));
|
|
1600
1600
|
};
|
|
1601
1601
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1602
1602
|
}, []), X(() => {
|
|
@@ -1612,11 +1612,11 @@ const ca = {}, da = ({
|
|
|
1612
1612
|
return;
|
|
1613
1613
|
}
|
|
1614
1614
|
const n = window.setTimeout(async () => {
|
|
1615
|
-
await
|
|
1615
|
+
await Pe(me);
|
|
1616
1616
|
}, 250);
|
|
1617
1617
|
return () => window.clearTimeout(n);
|
|
1618
|
-
}, [ke, se, me,
|
|
1619
|
-
const
|
|
1618
|
+
}, [ke, se, me, Pe]);
|
|
1619
|
+
const P = (n) => {
|
|
1620
1620
|
const l = n.current;
|
|
1621
1621
|
if (!(!l || l.disabled)) {
|
|
1622
1622
|
if (document.activeElement === l && B.current === l && Date.now() - J.current < 6e4) {
|
|
@@ -1675,9 +1675,9 @@ const ca = {}, da = ({
|
|
|
1675
1675
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1676
1676
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1677
1677
|
t("formPhone"),
|
|
1678
|
-
!
|
|
1678
|
+
!T && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1679
1679
|
] }) }),
|
|
1680
|
-
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref:
|
|
1680
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: N, children: [
|
|
1681
1681
|
/* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1682
1682
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1683
1683
|
"button",
|
|
@@ -1687,7 +1687,7 @@ const ca = {}, da = ({
|
|
|
1687
1687
|
"aria-haspopup": "listbox",
|
|
1688
1688
|
"aria-expanded": D,
|
|
1689
1689
|
onClick: () => {
|
|
1690
|
-
|
|
1690
|
+
A((n) => !n), I("");
|
|
1691
1691
|
},
|
|
1692
1692
|
children: u
|
|
1693
1693
|
}
|
|
@@ -1709,8 +1709,8 @@ const ca = {}, da = ({
|
|
|
1709
1709
|
inputMode: "numeric",
|
|
1710
1710
|
pattern: "[0-9]{10}",
|
|
1711
1711
|
maxLength: 10,
|
|
1712
|
-
required: !
|
|
1713
|
-
"aria-required": !
|
|
1712
|
+
required: !T,
|
|
1713
|
+
"aria-required": !T
|
|
1714
1714
|
}
|
|
1715
1715
|
)
|
|
1716
1716
|
] }),
|
|
@@ -1741,7 +1741,7 @@ const ca = {}, da = ({
|
|
|
1741
1741
|
"aria-selected": n.code === u,
|
|
1742
1742
|
className: `${a.isdOption} ${n.code === u ? a.isdOptionActive : ""}`,
|
|
1743
1743
|
onClick: () => {
|
|
1744
|
-
h(n.code),
|
|
1744
|
+
h(n.code), A(!1), I("");
|
|
1745
1745
|
},
|
|
1746
1746
|
children: [
|
|
1747
1747
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1803,7 +1803,7 @@ const ca = {}, da = ({
|
|
|
1803
1803
|
}
|
|
1804
1804
|
)
|
|
1805
1805
|
] }),
|
|
1806
|
-
|
|
1806
|
+
T && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1807
1807
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1808
1808
|
t("formEmail"),
|
|
1809
1809
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1876,7 +1876,7 @@ const ca = {}, da = ({
|
|
|
1876
1876
|
l && l > te || (b({ dateOfBirth: l }), U("dateOfBirth", l), B.current = null);
|
|
1877
1877
|
},
|
|
1878
1878
|
onFocus: () => d?.trackDobClicked?.(),
|
|
1879
|
-
onClick: () =>
|
|
1879
|
+
onClick: () => P(R),
|
|
1880
1880
|
onBlur: () => {
|
|
1881
1881
|
B.current === R.current && (B.current = null);
|
|
1882
1882
|
}
|
|
@@ -1890,7 +1890,7 @@ const ca = {}, da = ({
|
|
|
1890
1890
|
"aria-label": "Open date picker",
|
|
1891
1891
|
onMouseDown: (n) => n.preventDefault(),
|
|
1892
1892
|
onClick: (n) => {
|
|
1893
|
-
n.preventDefault(), n.stopPropagation(),
|
|
1893
|
+
n.preventDefault(), n.stopPropagation(), P(R);
|
|
1894
1894
|
},
|
|
1895
1895
|
children: /* @__PURE__ */ r.jsx(
|
|
1896
1896
|
"img",
|
|
@@ -2404,16 +2404,16 @@ const ca = {}, da = ({
|
|
|
2404
2404
|
href: v,
|
|
2405
2405
|
analytics: F,
|
|
2406
2406
|
className: d = "",
|
|
2407
|
-
discountedPriceLabel:
|
|
2407
|
+
discountedPriceLabel: T,
|
|
2408
2408
|
showPlanSheet: g,
|
|
2409
2409
|
confirmPlan: D,
|
|
2410
|
-
planSheetOpen:
|
|
2410
|
+
planSheetOpen: A,
|
|
2411
2411
|
selectedPlan: p
|
|
2412
2412
|
}) => {
|
|
2413
|
-
const I = Ee(),
|
|
2414
|
-
() => xa(i,
|
|
2415
|
-
[i,
|
|
2416
|
-
), b = V === null, U =
|
|
2413
|
+
const I = Ee(), N = I?.config.isGlobal ?? !0, k = I?.config?.variant, V = qe(
|
|
2414
|
+
() => xa(i, N, h),
|
|
2415
|
+
[i, N, h]
|
|
2416
|
+
), b = V === null, U = N ? T ?? t("formDiscountedPrice") : k === "v1" ? "" : "₹499", O = I?.config.imageComponent ?? Le, M = (R) => {
|
|
2417
2417
|
if (R.preventDefault(), !b) {
|
|
2418
2418
|
V && w?.(V);
|
|
2419
2419
|
return;
|
|
@@ -2423,7 +2423,7 @@ const ca = {}, da = ({
|
|
|
2423
2423
|
phone: J && `${c}-${J}`
|
|
2424
2424
|
};
|
|
2425
2425
|
if (k === "v1" && I?.config?.showSheet) {
|
|
2426
|
-
|
|
2426
|
+
A ? D?.() : g?.($);
|
|
2427
2427
|
return;
|
|
2428
2428
|
}
|
|
2429
2429
|
F?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), B ? j($) : _?.($);
|
|
@@ -2436,7 +2436,7 @@ const ca = {}, da = ({
|
|
|
2436
2436
|
"aria-label": t("formPriceAria"),
|
|
2437
2437
|
className: k === "v1" && b ? Se.ctaFilled : k === "v1" ? Se.ctaButton : void 0,
|
|
2438
2438
|
children: k === "v1" ? b ? /* @__PURE__ */ r.jsxs("span", { className: Se.ctaFilledContent, children: [
|
|
2439
|
-
|
|
2439
|
+
A && p ? `${t("proceedWithPlan")}${p.price}` : t("formProceed") + U,
|
|
2440
2440
|
/* @__PURE__ */ r.jsx(
|
|
2441
2441
|
O,
|
|
2442
2442
|
{
|
|
@@ -2462,10 +2462,10 @@ const ca = {}, da = ({
|
|
|
2462
2462
|
children: Z
|
|
2463
2463
|
}
|
|
2464
2464
|
);
|
|
2465
|
-
},
|
|
2465
|
+
}, Pa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Aa = ({
|
|
2466
2466
|
t,
|
|
2467
2467
|
languageSelector: i,
|
|
2468
|
-
logoUrl: c =
|
|
2468
|
+
logoUrl: c = Pa,
|
|
2469
2469
|
className: u = ""
|
|
2470
2470
|
}) => {
|
|
2471
2471
|
const h = Ee(), w = h?.config.isGlobal ?? !0, _ = i != null && !w;
|
|
@@ -2484,7 +2484,7 @@ const ca = {}, da = ({
|
|
|
2484
2484
|
{
|
|
2485
2485
|
id: "jyoti",
|
|
2486
2486
|
name: "planAstrologerNameJyoti",
|
|
2487
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/
|
|
2487
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2488
2488
|
experience: "planAstrologerExpJyoti",
|
|
2489
2489
|
certifications: [
|
|
2490
2490
|
"planAstrologerCertCertifiedJyotish",
|
|
@@ -2494,7 +2494,7 @@ const ca = {}, da = ({
|
|
|
2494
2494
|
{
|
|
2495
2495
|
id: "samiksha",
|
|
2496
2496
|
name: "planAstrologerNameSamiksha",
|
|
2497
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/
|
|
2497
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2498
2498
|
experience: "planAstrologerExpSamiksha",
|
|
2499
2499
|
certifications: [
|
|
2500
2500
|
"planAstrologerCertVedicAstrology",
|
|
@@ -2504,16 +2504,9 @@ const ca = {}, da = ({
|
|
|
2504
2504
|
{
|
|
2505
2505
|
id: "neeraj",
|
|
2506
2506
|
name: "planAstrologerNameNeeraj",
|
|
2507
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/
|
|
2507
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2508
2508
|
experience: "planAstrologerExpNeeraj",
|
|
2509
2509
|
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
id: "ashwini",
|
|
2513
|
-
name: "planAstrologerNameAshwini",
|
|
2514
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
2515
|
-
experience: "planAstrologerExpAshwini",
|
|
2516
|
-
certifications: ["planAstrologerCertKundliBhavfal", "planAstrologerCertAccurateKundliMatching"]
|
|
2517
2510
|
}
|
|
2518
2511
|
], ja = [
|
|
2519
2512
|
{
|
|
@@ -2531,8 +2524,8 @@ const ca = {}, da = ({
|
|
|
2531
2524
|
{
|
|
2532
2525
|
id: "kundli-report-astrologer",
|
|
2533
2526
|
title: "planNameGuidance",
|
|
2534
|
-
price: "₹
|
|
2535
|
-
originalPrice: "₹499+₹
|
|
2527
|
+
price: "₹999",
|
|
2528
|
+
originalPrice: "₹499+₹850",
|
|
2536
2529
|
savingsLabel: "planSaveLabel",
|
|
2537
2530
|
// We'll pass {{percent: 25}} in the component
|
|
2538
2531
|
badge: "planMostPopular",
|
|
@@ -2546,7 +2539,7 @@ const ca = {}, da = ({
|
|
|
2546
2539
|
(t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
|
|
2547
2540
|
)
|
|
2548
2541
|
}
|
|
2549
|
-
],
|
|
2542
|
+
], Ta = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2550
2543
|
"path",
|
|
2551
2544
|
{
|
|
2552
2545
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2555,7 +2548,7 @@ const ca = {}, da = ({
|
|
|
2555
2548
|
strokeLinecap: "round",
|
|
2556
2549
|
strokeLinejoin: "round"
|
|
2557
2550
|
}
|
|
2558
|
-
) }),
|
|
2551
|
+
) }), Na = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2559
2552
|
"path",
|
|
2560
2553
|
{
|
|
2561
2554
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2622,7 +2615,7 @@ const ca = {}, da = ({
|
|
|
2622
2615
|
),
|
|
2623
2616
|
/* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
|
|
2624
2617
|
] }), xn = ({ features: t, t: i }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((c, u) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
|
|
2625
|
-
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(
|
|
2618
|
+
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Ta, {}) : /* @__PURE__ */ r.jsx(Na, {}) }),
|
|
2626
2619
|
/* @__PURE__ */ r.jsx(
|
|
2627
2620
|
"span",
|
|
2628
2621
|
{
|
|
@@ -2644,10 +2637,10 @@ const ca = {}, da = ({
|
|
|
2644
2637
|
" ",
|
|
2645
2638
|
i?.(c) ?? c
|
|
2646
2639
|
] }, u)) })
|
|
2647
|
-
] }),
|
|
2640
|
+
] }), Pn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
|
|
2648
2641
|
/* @__PURE__ */ r.jsx(Sa, {}),
|
|
2649
2642
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2650
|
-
] }),
|
|
2643
|
+
] }), An = ({ plan: t, isSelected: i, onSelect: c, t: u }) => {
|
|
2651
2644
|
const h = () => c(t.id), w = (_) => {
|
|
2652
2645
|
(_.key === " " || _.key === "Enter") && (_.preventDefault(), c(t.id));
|
|
2653
2646
|
};
|
|
@@ -2666,7 +2659,7 @@ const ca = {}, da = ({
|
|
|
2666
2659
|
onKeyDown: w,
|
|
2667
2660
|
"data-plan-id": t.id,
|
|
2668
2661
|
children: [
|
|
2669
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2662
|
+
t.badge && /* @__PURE__ */ r.jsx(Pn, { label: u?.(t.badge) ?? t.badge }),
|
|
2670
2663
|
/* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
|
|
2671
2664
|
/* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
|
|
2672
2665
|
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: u?.(t.title) ?? t.title }),
|
|
@@ -2703,16 +2696,16 @@ const ca = {}, da = ({
|
|
|
2703
2696
|
t: _,
|
|
2704
2697
|
analytics: j
|
|
2705
2698
|
}) => {
|
|
2706
|
-
const v = c?.id || h.find((p) => p.badge)?.id || h[0]?.id || "", F = H(null), d = H(null),
|
|
2699
|
+
const v = c?.id || h.find((p) => p.badge)?.id || h[0]?.id || "", F = H(null), d = H(null), T = H(!1);
|
|
2707
2700
|
X(() => {
|
|
2708
2701
|
if (t) {
|
|
2709
2702
|
if (!c) {
|
|
2710
2703
|
const p = h.find((I) => I.badge) ?? h[0];
|
|
2711
2704
|
p && u(p);
|
|
2712
2705
|
}
|
|
2713
|
-
|
|
2706
|
+
T.current || (j?.trackPlanPageViewed?.(), T.current = !0);
|
|
2714
2707
|
} else
|
|
2715
|
-
|
|
2708
|
+
T.current = !1;
|
|
2716
2709
|
}, [t, h, c, u, j]);
|
|
2717
2710
|
const g = () => {
|
|
2718
2711
|
j?.trackPlanPageClosed?.(), i();
|
|
@@ -2726,7 +2719,7 @@ const ca = {}, da = ({
|
|
|
2726
2719
|
}, [t]);
|
|
2727
2720
|
const D = (p) => {
|
|
2728
2721
|
d.current = p.touches[0]?.clientY ?? null;
|
|
2729
|
-
},
|
|
2722
|
+
}, A = (p) => {
|
|
2730
2723
|
if (d.current === null) return;
|
|
2731
2724
|
(p.changedTouches[0]?.clientY ?? 0) - d.current > 80 && g(), d.current = null;
|
|
2732
2725
|
};
|
|
@@ -2746,7 +2739,7 @@ const ca = {}, da = ({
|
|
|
2746
2739
|
ref: F,
|
|
2747
2740
|
className: f.sheet,
|
|
2748
2741
|
onTouchStart: D,
|
|
2749
|
-
onTouchEnd:
|
|
2742
|
+
onTouchEnd: A,
|
|
2750
2743
|
children: [
|
|
2751
2744
|
/* @__PURE__ */ r.jsx("div", { className: f.dragHandle, "aria-hidden": !0 }),
|
|
2752
2745
|
/* @__PURE__ */ r.jsx(
|
|
@@ -2763,17 +2756,17 @@ const ca = {}, da = ({
|
|
|
2763
2756
|
role: "radiogroup",
|
|
2764
2757
|
"aria-label": "Kundli plans",
|
|
2765
2758
|
children: h.map((p) => /* @__PURE__ */ r.jsx(
|
|
2766
|
-
|
|
2759
|
+
An,
|
|
2767
2760
|
{
|
|
2768
2761
|
plan: p,
|
|
2769
2762
|
isSelected: p.id === v,
|
|
2770
2763
|
t: _,
|
|
2771
2764
|
onSelect: (I) => {
|
|
2772
|
-
const
|
|
2773
|
-
|
|
2774
|
-
planId:
|
|
2775
|
-
planName:
|
|
2776
|
-
}), u(
|
|
2765
|
+
const N = h.find((k) => k.id === I);
|
|
2766
|
+
N && (j?.trackPlanSelected?.({
|
|
2767
|
+
planId: N.id,
|
|
2768
|
+
planName: N.title
|
|
2769
|
+
}), u(N));
|
|
2777
2770
|
}
|
|
2778
2771
|
},
|
|
2779
2772
|
p.id
|
|
@@ -2799,7 +2792,7 @@ const ca = {}, da = ({
|
|
|
2799
2792
|
)
|
|
2800
2793
|
}
|
|
2801
2794
|
) : null;
|
|
2802
|
-
}, jn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg",
|
|
2795
|
+
}, jn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Tn = (t, i) => ur[t]?.[i] ?? i, Nn = {
|
|
2803
2796
|
fullName: "",
|
|
2804
2797
|
phone: "",
|
|
2805
2798
|
gender: "",
|
|
@@ -2821,57 +2814,57 @@ const ca = {}, da = ({
|
|
|
2821
2814
|
originalPriceLabel: v,
|
|
2822
2815
|
discountedPriceLabel: F,
|
|
2823
2816
|
googleMapsApiKey: d = "",
|
|
2824
|
-
analytics:
|
|
2817
|
+
analytics: T
|
|
2825
2818
|
}) => {
|
|
2826
|
-
const g = Ee(), D = Kr(),
|
|
2819
|
+
const g = Ee(), D = Kr(), A = g !== null, p = A ? g.locale : i, I = p ?? D?.locale ?? "en", [N, k] = Y(I), V = A ? g.locale : N, b = A ? g.setLocale : k, [U, O] = Y(!1), M = H(null), Z = H(p), R = H(
|
|
2827
2820
|
D?.locale
|
|
2828
2821
|
);
|
|
2829
2822
|
X(() => {
|
|
2830
2823
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2831
2824
|
}, []);
|
|
2832
|
-
const B = (
|
|
2825
|
+
const B = (P) => Tn(V, P);
|
|
2833
2826
|
X(() => {
|
|
2834
2827
|
p && Z.current !== p && b(p), Z.current = p;
|
|
2835
2828
|
}, [p, b]), X(() => {
|
|
2836
2829
|
if (p) return;
|
|
2837
|
-
const
|
|
2838
|
-
|
|
2830
|
+
const P = D?.locale;
|
|
2831
|
+
P && R.current !== P && b(P), R.current = P;
|
|
2839
2832
|
}, [D?.locale, p, b]);
|
|
2840
2833
|
const [J, $] = Y({
|
|
2841
|
-
...
|
|
2834
|
+
...Nn,
|
|
2842
2835
|
...h,
|
|
2843
2836
|
phone: h?.phone ?? ""
|
|
2844
|
-
}), E =
|
|
2837
|
+
}), E = A ? g?.config.isGlobal ?? !0 : !0, [L, K] = Y(
|
|
2845
2838
|
E ? "+1" : "+91"
|
|
2846
2839
|
);
|
|
2847
2840
|
X(() => {
|
|
2848
2841
|
K(E ? "+1" : "+91");
|
|
2849
2842
|
}, [E]);
|
|
2850
|
-
const z =
|
|
2843
|
+
const z = A ? g.formValues : J, ne = A ? g.setFormValues : $, ge = A ? g.goToPage : u, Q = A ? g.onProceed : w, ie = A ? g.onProceedGuidance : _, ue = A ? g.config.proceedHref : j, se = A ? g.config.originalPriceLabel : v, le = A ? g.config.discountedPriceLabel : F, pe = A ? g.config.showLanguageSelector ?? !0 : c, oe = (A ? g?.config?.analytics : T) ?? T;
|
|
2851
2844
|
X(() => {
|
|
2852
2845
|
if (!U) return;
|
|
2853
|
-
const
|
|
2846
|
+
const P = (n) => {
|
|
2854
2847
|
M.current && !M.current.contains(n.target) && O(!1);
|
|
2855
2848
|
};
|
|
2856
|
-
return document.addEventListener("mousedown",
|
|
2849
|
+
return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
|
|
2857
2850
|
}, [U]);
|
|
2858
|
-
const [fe, me] = Y(!1), [ee, ye] = Y(null), ce = H(null), we = be((
|
|
2859
|
-
ce.current =
|
|
2851
|
+
const [fe, me] = Y(!1), [ee, ye] = Y(null), ce = H(null), we = be((P) => {
|
|
2852
|
+
ce.current = P, me(!0);
|
|
2860
2853
|
}, []), _e = be(() => {
|
|
2861
2854
|
if (oe?.trackPlanProceedClicked?.({
|
|
2862
2855
|
planId: ee.id,
|
|
2863
2856
|
planName: ee.title
|
|
2864
2857
|
}), !ce.current || !ee) return;
|
|
2865
|
-
const
|
|
2866
|
-
ee.id === hr && ie ? ie(
|
|
2867
|
-
}, [ee, Q, ie]),
|
|
2858
|
+
const P = { ...ce.current, _selectedPlan: ee };
|
|
2859
|
+
ee.id === hr && ie ? ie(P) : Q?.(P), me(!1), ce.current = null;
|
|
2860
|
+
}, [ee, Q, ie]), Pe = g?.config.imageComponent ?? Le, ke = pe ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: M, children: [
|
|
2868
2861
|
/* @__PURE__ */ r.jsxs(
|
|
2869
2862
|
"button",
|
|
2870
2863
|
{
|
|
2871
2864
|
type: "button",
|
|
2872
2865
|
className: he.langTrigger,
|
|
2873
2866
|
onClick: () => {
|
|
2874
|
-
oe?.trackLanguageClickedFe?.({ language: V }), O((
|
|
2867
|
+
oe?.trackLanguageClickedFe?.({ language: V }), O((P) => !P);
|
|
2875
2868
|
},
|
|
2876
2869
|
"aria-expanded": U,
|
|
2877
2870
|
"aria-haspopup": "listbox",
|
|
@@ -2879,7 +2872,7 @@ const ca = {}, da = ({
|
|
|
2879
2872
|
"aria-label": B("language"),
|
|
2880
2873
|
children: [
|
|
2881
2874
|
/* @__PURE__ */ r.jsx(
|
|
2882
|
-
|
|
2875
|
+
Pe,
|
|
2883
2876
|
{
|
|
2884
2877
|
src: jn,
|
|
2885
2878
|
alt: "",
|
|
@@ -2900,29 +2893,29 @@ const ca = {}, da = ({
|
|
|
2900
2893
|
role: "listbox",
|
|
2901
2894
|
"aria-labelledby": "kundli-form-lang",
|
|
2902
2895
|
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
2903
|
-
children: dr.map((
|
|
2896
|
+
children: dr.map((P) => /* @__PURE__ */ r.jsx(
|
|
2904
2897
|
"li",
|
|
2905
2898
|
{
|
|
2906
|
-
id: `kundli-form-lang-option-${
|
|
2899
|
+
id: `kundli-form-lang-option-${P}`,
|
|
2907
2900
|
role: "option",
|
|
2908
|
-
"aria-selected":
|
|
2901
|
+
"aria-selected": P === V,
|
|
2909
2902
|
className: he.langOption,
|
|
2910
2903
|
onClick: () => {
|
|
2911
|
-
oe?.trackLanguageChangedFe?.({ newLanguage:
|
|
2904
|
+
oe?.trackLanguageChangedFe?.({ newLanguage: P }), b(P), O(!1);
|
|
2912
2905
|
},
|
|
2913
|
-
children: sr[
|
|
2906
|
+
children: sr[P]
|
|
2914
2907
|
},
|
|
2915
|
-
|
|
2908
|
+
P
|
|
2916
2909
|
))
|
|
2917
2910
|
}
|
|
2918
2911
|
)
|
|
2919
2912
|
] }) : null;
|
|
2920
2913
|
return /* @__PURE__ */ r.jsxs("div", { className: `${he.container} ${t}`, children: [
|
|
2921
2914
|
/* @__PURE__ */ r.jsx(
|
|
2922
|
-
|
|
2915
|
+
Aa,
|
|
2923
2916
|
{
|
|
2924
2917
|
t: B,
|
|
2925
|
-
logoUrl:
|
|
2918
|
+
logoUrl: A ? g.config.logoUrl : void 0,
|
|
2926
2919
|
languageSelector: ke,
|
|
2927
2920
|
className: he.kundliHeaderNoBorder
|
|
2928
2921
|
}
|
|
@@ -2967,8 +2960,8 @@ const ca = {}, da = ({
|
|
|
2967
2960
|
onClose: () => me(!1),
|
|
2968
2961
|
selectedPlan: ee,
|
|
2969
2962
|
onSelectPlan: ye,
|
|
2970
|
-
onProceed: (
|
|
2971
|
-
_e?.(
|
|
2963
|
+
onProceed: (P) => {
|
|
2964
|
+
_e?.(P);
|
|
2972
2965
|
},
|
|
2973
2966
|
t: B,
|
|
2974
2967
|
analytics: oe
|
|
@@ -3034,7 +3027,7 @@ export {
|
|
|
3034
3027
|
Bn as i,
|
|
3035
3028
|
Dn as j,
|
|
3036
3029
|
r as k,
|
|
3037
|
-
|
|
3030
|
+
Aa as l,
|
|
3038
3031
|
wa as m,
|
|
3039
3032
|
Cn as n,
|
|
3040
3033
|
In as r,
|
|
@@ -3042,4 +3035,4 @@ export {
|
|
|
3042
3035
|
ur as t,
|
|
3043
3036
|
Kr as u
|
|
3044
3037
|
};
|
|
3045
|
-
//# sourceMappingURL=analytics-
|
|
3038
|
+
//# sourceMappingURL=analytics-Ctu2CtEu.js.map
|