kundli-generator 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import yt, { createContext as xt, useContext as Ve, useState as
|
|
2
|
-
import * as
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
import yt, { createContext as xt, useContext as Ve, useState as W, useRef as K, useEffect as G, useMemo as Fe, useCallback as Pe } from "react";
|
|
2
|
+
import * as Ye from "pdfjs-dist";
|
|
3
|
+
var Oe = { exports: {} }, Se = {};
|
|
4
|
+
var pt;
|
|
5
5
|
function tn() {
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
9
|
-
function
|
|
10
|
-
var
|
|
6
|
+
if (pt) return Se;
|
|
7
|
+
pt = 1;
|
|
8
|
+
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function h(u, c, b) {
|
|
10
|
+
var f, _ = {}, x = null, T = null;
|
|
11
11
|
b !== void 0 && (x = "" + b), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (T = c.ref);
|
|
12
|
-
for (
|
|
13
|
-
if (u && u.defaultProps) for (
|
|
12
|
+
for (f in c) d.call(c, f) && !p.hasOwnProperty(f) && (_[f] = c[f]);
|
|
13
|
+
if (u && u.defaultProps) for (f in c = u.defaultProps, c) _[f] === void 0 && (_[f] = c[f]);
|
|
14
14
|
return { $$typeof: r, type: u, key: x, ref: T, props: _, _owner: o.current };
|
|
15
15
|
}
|
|
16
|
-
return Se.Fragment = l, Se.jsx =
|
|
16
|
+
return Se.Fragment = l, Se.jsx = h, Se.jsxs = h, Se;
|
|
17
17
|
}
|
|
18
18
|
var Ce = {};
|
|
19
|
-
var
|
|
19
|
+
var ht;
|
|
20
20
|
function nn() {
|
|
21
|
-
return
|
|
22
|
-
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
21
|
+
return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), p = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), f = /* @__PURE__ */ Symbol.for("react.suspense_list"), _ = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, v = "@@iterator";
|
|
23
23
|
function w(t) {
|
|
24
24
|
if (t === null || typeof t != "object")
|
|
25
25
|
return null;
|
|
@@ -44,14 +44,14 @@ function nn() {
|
|
|
44
44
|
C.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, C);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var M = !1, S = !1, z = !1,
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t ===
|
|
47
|
+
var M = !1, S = !1, z = !1, D = !1, Y = !1, O;
|
|
48
|
+
O = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function H(t) {
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === p || Y || t === o || t === b || t === f || D || t === T || M || S || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === h || t.$$typeof === u || t.$$typeof === c || // 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.
|
|
54
|
-
t.$$typeof ===
|
|
54
|
+
t.$$typeof === O || t.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
56
|
function X(t, i, m) {
|
|
57
57
|
var y = t.displayName;
|
|
@@ -75,13 +75,13 @@ function nn() {
|
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case l:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case p:
|
|
79
79
|
return "Profiler";
|
|
80
80
|
case o:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case b:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case f:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof t == "object")
|
|
@@ -89,7 +89,7 @@ function nn() {
|
|
|
89
89
|
case u:
|
|
90
90
|
var i = t;
|
|
91
91
|
return B(i) + ".Consumer";
|
|
92
|
-
case
|
|
92
|
+
case h:
|
|
93
93
|
var m = t;
|
|
94
94
|
return B(m._context) + ".Provider";
|
|
95
95
|
case c:
|
|
@@ -108,14 +108,14 @@ function nn() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var V = Object.assign, ee = 0, ue, ye,
|
|
111
|
+
var V = Object.assign, ee = 0, ue, ye, he, fe, ge, _e, ie;
|
|
112
112
|
function be() {
|
|
113
113
|
}
|
|
114
114
|
be.__reactDisabledLog = !0;
|
|
115
115
|
function a() {
|
|
116
116
|
{
|
|
117
117
|
if (ee === 0) {
|
|
118
|
-
ue = console.log, ye = console.info,
|
|
118
|
+
ue = console.log, ye = console.info, he = console.warn, fe = console.error, ge = console.group, _e = console.groupCollapsed, ie = console.groupEnd;
|
|
119
119
|
var t = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -135,7 +135,7 @@ function nn() {
|
|
|
135
135
|
ee++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function g() {
|
|
139
139
|
{
|
|
140
140
|
if (ee--, ee === 0) {
|
|
141
141
|
var t = {
|
|
@@ -151,7 +151,7 @@ function nn() {
|
|
|
151
151
|
value: ye
|
|
152
152
|
}),
|
|
153
153
|
warn: V({}, t, {
|
|
154
|
-
value:
|
|
154
|
+
value: he
|
|
155
155
|
}),
|
|
156
156
|
error: V({}, t, {
|
|
157
157
|
value: fe
|
|
@@ -255,7 +255,7 @@ function nn() {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
Ae = !1, L.current = C,
|
|
258
|
+
Ae = !1, L.current = C, g(), Error.prepareStackTrace = E;
|
|
259
259
|
}
|
|
260
260
|
var we = t ? t.displayName || t.name : "", ve = we ? me(we) : "";
|
|
261
261
|
return typeof t == "function" && $e.set(t, ve), ve;
|
|
@@ -277,7 +277,7 @@ function nn() {
|
|
|
277
277
|
switch (t) {
|
|
278
278
|
case b:
|
|
279
279
|
return me("Suspense");
|
|
280
|
-
case
|
|
280
|
+
case f:
|
|
281
281
|
return me("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof t == "object")
|
|
@@ -297,7 +297,7 @@ function nn() {
|
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
299
|
var Ee = Object.prototype.hasOwnProperty, Ze = {}, et = I.ReactDebugCurrentFrame;
|
|
300
|
-
function
|
|
300
|
+
function De(t) {
|
|
301
301
|
if (t) {
|
|
302
302
|
var i = t._owner, m = Le(t.type, t._source, i ? i.type : null);
|
|
303
303
|
et.setExtraStackFrame(m);
|
|
@@ -319,7 +319,7 @@ function nn() {
|
|
|
319
319
|
} catch (F) {
|
|
320
320
|
N = F;
|
|
321
321
|
}
|
|
322
|
-
N && !(N instanceof Error) && (
|
|
322
|
+
N && !(N instanceof Error) && (De(E), k("%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).", y || "React class", m, P, typeof N), De(null)), N instanceof Error && !(N.message in Ze) && (Ze[N.message] = !0, De(E), k("Failed %s type: %s", m, N.message), De(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -333,7 +333,7 @@ function nn() {
|
|
|
333
333
|
return m;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Dt(t) {
|
|
337
337
|
try {
|
|
338
338
|
return tt(t), !1;
|
|
339
339
|
} catch {
|
|
@@ -344,10 +344,10 @@ function nn() {
|
|
|
344
344
|
return "" + t;
|
|
345
345
|
}
|
|
346
346
|
function nt(t) {
|
|
347
|
-
if (
|
|
347
|
+
if (Dt(t))
|
|
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.", Lt(t)), tt(t);
|
|
349
349
|
}
|
|
350
|
-
var at = I.ReactCurrentOwner,
|
|
350
|
+
var at = I.ReactCurrentOwner, Ot = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -394,7 +394,7 @@ function nn() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var Kt = function(t, i, m, y, E, C, P) {
|
|
398
398
|
var N = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: r,
|
|
@@ -423,12 +423,12 @@ function nn() {
|
|
|
423
423
|
value: E
|
|
424
424
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Wt(t, i, m, y, E) {
|
|
427
427
|
{
|
|
428
428
|
var C, P = {}, N = null, Q = null;
|
|
429
429
|
m !== void 0 && (nt(m), N = "" + m), Ft(i) && (nt(i.key), N = "" + i.key), Bt(i) && (Q = i.ref, Mt(i, E));
|
|
430
430
|
for (C in i)
|
|
431
|
-
Ee.call(i, C) && !
|
|
431
|
+
Ee.call(i, C) && !Ot.hasOwnProperty(C) && (P[C] = i[C]);
|
|
432
432
|
if (t && t.defaultProps) {
|
|
433
433
|
var F = t.defaultProps;
|
|
434
434
|
for (C in F)
|
|
@@ -438,7 +438,7 @@ function nn() {
|
|
|
438
438
|
var q = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
439
439
|
N && Ut(P, q), Q && qt(P, q);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return Kt(t, N, Q, E, y, at.current, P);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
var qe = I.ReactCurrentOwner, ot = I.ReactDebugCurrentFrame;
|
|
@@ -449,9 +449,9 @@ function nn() {
|
|
|
449
449
|
} else
|
|
450
450
|
ot.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
|
|
454
|
-
function
|
|
452
|
+
var Ke;
|
|
453
|
+
Ke = !1;
|
|
454
|
+
function We(t) {
|
|
455
455
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
456
456
|
}
|
|
457
457
|
function st() {
|
|
@@ -466,11 +466,11 @@ Check the render method of \`` + t + "`.";
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Gt(t) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
var ct = {};
|
|
473
|
-
function
|
|
473
|
+
function Ht(t) {
|
|
474
474
|
{
|
|
475
475
|
var i = st();
|
|
476
476
|
if (!i) {
|
|
@@ -487,7 +487,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
487
487
|
if (!t._store || t._store.validated || t.key != null)
|
|
488
488
|
return;
|
|
489
489
|
t._store.validated = !0;
|
|
490
|
-
var m =
|
|
490
|
+
var m = Ht(i);
|
|
491
491
|
if (ct[m])
|
|
492
492
|
return;
|
|
493
493
|
ct[m] = !0;
|
|
@@ -502,19 +502,19 @@ Check the top-level render call using <` + m + ">.");
|
|
|
502
502
|
if (Ue(t))
|
|
503
503
|
for (var m = 0; m < t.length; m++) {
|
|
504
504
|
var y = t[m];
|
|
505
|
-
|
|
505
|
+
We(y) && lt(y, i);
|
|
506
506
|
}
|
|
507
|
-
else if (
|
|
507
|
+
else if (We(t))
|
|
508
508
|
t._store && (t._store.validated = !0);
|
|
509
509
|
else if (t) {
|
|
510
510
|
var E = w(t);
|
|
511
511
|
if (typeof E == "function" && E !== t.entries)
|
|
512
512
|
for (var C = E.call(t), P; !(P = C.next()).done; )
|
|
513
|
-
|
|
513
|
+
We(P.value) && lt(P.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Yt(t) {
|
|
518
518
|
{
|
|
519
519
|
var i = t.type;
|
|
520
520
|
if (i == null || typeof i == "string")
|
|
@@ -531,8 +531,8 @@ Check the top-level render call using <` + m + ">.");
|
|
|
531
531
|
if (m) {
|
|
532
532
|
var y = U(i);
|
|
533
533
|
Rt(m, t.props, "prop", y, t);
|
|
534
|
-
} else if (i.PropTypes !== void 0 && !
|
|
535
|
-
|
|
534
|
+
} else if (i.PropTypes !== void 0 && !Ke) {
|
|
535
|
+
Ke = !0;
|
|
536
536
|
var E = U(i);
|
|
537
537
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
538
538
|
}
|
|
@@ -554,16 +554,16 @@ Check the top-level render call using <` + m + ">.");
|
|
|
554
554
|
var ut = {};
|
|
555
555
|
function mt(t, i, m, y, E, C) {
|
|
556
556
|
{
|
|
557
|
-
var P =
|
|
557
|
+
var P = H(t);
|
|
558
558
|
if (!P) {
|
|
559
559
|
var N = "";
|
|
560
560
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
-
var Q =
|
|
561
|
+
var Q = Gt();
|
|
562
562
|
Q ? N += Q : N += st();
|
|
563
563
|
var F;
|
|
564
564
|
t === null ? F = "null" : Ue(t) ? F = "array" : t !== void 0 && t.$$typeof === r ? (F = "<" + (U(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, N);
|
|
565
565
|
}
|
|
566
|
-
var q =
|
|
566
|
+
var q = Wt(t, i, m, E, C);
|
|
567
567
|
if (q == null)
|
|
568
568
|
return q;
|
|
569
569
|
if (P) {
|
|
@@ -582,18 +582,18 @@ Check the top-level render call using <` + m + ">.");
|
|
|
582
582
|
if (Ee.call(i, "key")) {
|
|
583
583
|
var ve = U(t), Z = Object.keys(i).filter(function(en) {
|
|
584
584
|
return en !== "key";
|
|
585
|
-
}),
|
|
586
|
-
if (!ut[ve +
|
|
585
|
+
}), Ge = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ut[ve + Ge]) {
|
|
587
587
|
var Zt = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
588
588
|
k(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`,
|
|
593
|
+
<%s key={someKey} {...props} />`, Ge, ve, Zt, ve), ut[ve + Ge] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return t === d ? Vt(q) :
|
|
596
|
+
return t === d ? Vt(q) : Yt(q), q;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function zt(t, i, m) {
|
|
@@ -608,10 +608,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
608
608
|
}
|
|
609
609
|
var ft;
|
|
610
610
|
function an() {
|
|
611
|
-
return ft || (ft = 1, process.env.NODE_ENV === "production" ?
|
|
611
|
+
return ft || (ft = 1, process.env.NODE_ENV === "production" ? Oe.exports = tn() : Oe.exports = nn()), Oe.exports;
|
|
612
612
|
}
|
|
613
613
|
var e = an();
|
|
614
|
-
const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_nm3gb_12", cn = "_langTrigger_nm3gb_16", ln = "_langIcon_nm3gb_28", dn = "_langLabel_nm3gb_35", un = "_langMenu_nm3gb_40", mn = "_langOption_nm3gb_46",
|
|
614
|
+
const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_nm3gb_12", cn = "_langTrigger_nm3gb_16", ln = "_langIcon_nm3gb_28", dn = "_langLabel_nm3gb_35", un = "_langMenu_nm3gb_40", mn = "_langOption_nm3gb_46", pe = {
|
|
615
615
|
container: rn,
|
|
616
616
|
main: on,
|
|
617
617
|
langDropdownWrap: sn,
|
|
@@ -663,6 +663,8 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
663
663
|
step1: "Enter your information",
|
|
664
664
|
step2: "Your horoscope will be created by experts",
|
|
665
665
|
step3Intro: "You'll receive your Kundli on your Whatsapp",
|
|
666
|
+
step3IntroGlobal: "You'll receive your Kundli on your email",
|
|
667
|
+
step3IntroDomestic: "You'll receive your Kundli on your Whatsapp",
|
|
666
668
|
step3Days: "2 days",
|
|
667
669
|
viewSampleReport: "View Sample Kundli Report",
|
|
668
670
|
sampleReportModalTitle: "Sample Kundli Report",
|
|
@@ -820,6 +822,8 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
820
822
|
step1: "अपनी जानकारी दर्ज करें",
|
|
821
823
|
step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
|
|
822
824
|
step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली मिलेगी",
|
|
825
|
+
step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली मिलेगी",
|
|
826
|
+
step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली मिलेगी",
|
|
823
827
|
step3Days: "2 दिनों में",
|
|
824
828
|
viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
|
|
825
829
|
sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
|
|
@@ -949,9 +953,9 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
949
953
|
function jt() {
|
|
950
954
|
return Ve(wt);
|
|
951
955
|
}
|
|
952
|
-
const
|
|
953
|
-
container:
|
|
954
|
-
main:
|
|
956
|
+
const pn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBorder_1e1th_12", gn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", bn = "_langTrigger_1e1th_25", vn = "_langIcon_1e1th_37", kn = "_langLabel_1e1th_44", yn = "_langMenu_1e1th_49", xn = "_langOption_1e1th_55", oe = {
|
|
957
|
+
container: pn,
|
|
958
|
+
main: hn,
|
|
955
959
|
kundliHeaderNoBorder: fn,
|
|
956
960
|
headerSeparator: gn,
|
|
957
961
|
langDropdownWrap: _n,
|
|
@@ -1016,12 +1020,12 @@ const Je = xt(null), Tn = {
|
|
|
1016
1020
|
userId: l,
|
|
1017
1021
|
isGlobal: d,
|
|
1018
1022
|
logoUrl: o,
|
|
1019
|
-
reportImageUrl:
|
|
1020
|
-
universityLogoUrls:
|
|
1023
|
+
reportImageUrl: p,
|
|
1024
|
+
universityLogoUrls: h,
|
|
1021
1025
|
sampleReportHref: u,
|
|
1022
1026
|
onViewSampleReport: c,
|
|
1023
1027
|
ctaHref: b,
|
|
1024
|
-
onCtaClick:
|
|
1028
|
+
onCtaClick: f,
|
|
1025
1029
|
onBack: _,
|
|
1026
1030
|
readMoreReviewsHref: x,
|
|
1027
1031
|
onProceed: T,
|
|
@@ -1033,19 +1037,19 @@ const Je = xt(null), Tn = {
|
|
|
1033
1037
|
onLocaleChange: A,
|
|
1034
1038
|
children: M
|
|
1035
1039
|
}) => {
|
|
1036
|
-
const [S, z] =
|
|
1037
|
-
|
|
1040
|
+
const [S, z] = W("landing"), [D, Y] = W(n ?? "en"), [O, H] = W(Tn), X = K(!0);
|
|
1041
|
+
G(() => {
|
|
1038
1042
|
const ue = Nn();
|
|
1039
|
-
ue &&
|
|
1040
|
-
}, []),
|
|
1041
|
-
Pn(
|
|
1042
|
-
}, [
|
|
1043
|
+
ue && Y(ue);
|
|
1044
|
+
}, []), G(() => {
|
|
1045
|
+
Pn(D);
|
|
1046
|
+
}, [D]), G(() => {
|
|
1043
1047
|
if (X.current) {
|
|
1044
1048
|
X.current = !1;
|
|
1045
1049
|
return;
|
|
1046
1050
|
}
|
|
1047
|
-
A?.(
|
|
1048
|
-
}, [
|
|
1051
|
+
A?.(D);
|
|
1052
|
+
}, [D, A]);
|
|
1049
1053
|
const B = Fe(
|
|
1050
1054
|
() => ({
|
|
1051
1055
|
locale: n,
|
|
@@ -1053,12 +1057,12 @@ const Je = xt(null), Tn = {
|
|
|
1053
1057
|
userId: l,
|
|
1054
1058
|
isGlobal: d,
|
|
1055
1059
|
logoUrl: o,
|
|
1056
|
-
reportImageUrl:
|
|
1057
|
-
universityLogoUrls:
|
|
1060
|
+
reportImageUrl: p,
|
|
1061
|
+
universityLogoUrls: h,
|
|
1058
1062
|
sampleReportHref: u,
|
|
1059
1063
|
onViewSampleReport: c,
|
|
1060
1064
|
ctaHref: b,
|
|
1061
|
-
onCtaClick:
|
|
1065
|
+
onCtaClick: f,
|
|
1062
1066
|
onBack: _,
|
|
1063
1067
|
readMoreReviewsHref: x,
|
|
1064
1068
|
onProceed: T,
|
|
@@ -1075,12 +1079,12 @@ const Je = xt(null), Tn = {
|
|
|
1075
1079
|
l,
|
|
1076
1080
|
d,
|
|
1077
1081
|
o,
|
|
1078
|
-
|
|
1079
|
-
|
|
1082
|
+
p,
|
|
1083
|
+
h,
|
|
1080
1084
|
u,
|
|
1081
1085
|
c,
|
|
1082
1086
|
b,
|
|
1083
|
-
|
|
1087
|
+
f,
|
|
1084
1088
|
_,
|
|
1085
1089
|
x,
|
|
1086
1090
|
T,
|
|
@@ -1098,16 +1102,16 @@ const Je = xt(null), Tn = {
|
|
|
1098
1102
|
}, [B.onBack]), ee = Fe(
|
|
1099
1103
|
() => ({
|
|
1100
1104
|
view: S,
|
|
1101
|
-
locale:
|
|
1102
|
-
setLocale:
|
|
1105
|
+
locale: D,
|
|
1106
|
+
setLocale: Y,
|
|
1103
1107
|
config: B,
|
|
1104
|
-
formValues:
|
|
1105
|
-
setFormValues:
|
|
1108
|
+
formValues: O,
|
|
1109
|
+
setFormValues: H,
|
|
1106
1110
|
goToForm: U,
|
|
1107
1111
|
goToPage: V,
|
|
1108
1112
|
onProceed: B.onProceed
|
|
1109
1113
|
}),
|
|
1110
|
-
[S,
|
|
1114
|
+
[S, D, B, O, U, V]
|
|
1111
1115
|
);
|
|
1112
1116
|
return /* @__PURE__ */ e.jsx(Je.Provider, { value: ee, children: M });
|
|
1113
1117
|
};
|
|
@@ -1128,7 +1132,7 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1128
1132
|
title: Rn,
|
|
1129
1133
|
subtitle: $n,
|
|
1130
1134
|
backIcon: Ln
|
|
1131
|
-
},
|
|
1135
|
+
}, Dn = () => /* @__PURE__ */ e.jsx(
|
|
1132
1136
|
"svg",
|
|
1133
1137
|
{
|
|
1134
1138
|
className: ke.backIcon,
|
|
@@ -1147,7 +1151,7 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1147
1151
|
}
|
|
1148
1152
|
)
|
|
1149
1153
|
}
|
|
1150
|
-
),
|
|
1154
|
+
), On = ({
|
|
1151
1155
|
t: n,
|
|
1152
1156
|
onBack: r,
|
|
1153
1157
|
className: l = ""
|
|
@@ -1159,24 +1163,24 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1159
1163
|
className: ke.backBtn,
|
|
1160
1164
|
onClick: r,
|
|
1161
1165
|
"aria-label": n("back"),
|
|
1162
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1166
|
+
children: /* @__PURE__ */ e.jsx(Dn, {})
|
|
1163
1167
|
}
|
|
1164
1168
|
),
|
|
1165
1169
|
/* @__PURE__ */ e.jsxs("div", { className: ke.titleWrap, children: [
|
|
1166
1170
|
/* @__PURE__ */ e.jsx("h1", { className: ke.title, children: n("formTitle") }),
|
|
1167
1171
|
/* @__PURE__ */ e.jsx("p", { className: ke.subtitle, children: n("formSubtitle") })
|
|
1168
1172
|
] })
|
|
1169
|
-
] }) }), Bn = "_wrap_1wp0p_1", Fn = "_card_1wp0p_5", Mn = "_cardInner_1wp0p_12", Un = "_field_1wp0p_16", qn = "_labelRow_1wp0p_20",
|
|
1173
|
+
] }) }), Bn = "_wrap_1wp0p_1", Fn = "_card_1wp0p_5", Mn = "_cardInner_1wp0p_12", Un = "_field_1wp0p_16", qn = "_labelRow_1wp0p_20", Kn = "_label_1wp0p_20", Wn = "_req_1wp0p_29", Gn = "_help_1wp0p_33", Hn = "_infoBtn_1wp0p_40", Yn = "_infoImg_1wp0p_57", Vn = "_infoWrap_1wp0p_63", zn = "_tooltip_1wp0p_69", Qn = "_tooltipArrow_1wp0p_85", Jn = "_inputWrap_1wp0p_96", Xn = "_suggestions_1wp0p_100", Zn = "_suggestionItem_1wp0p_113", ea = "_suggestionMain_1wp0p_131", ta = "_suggestionSecondary_1wp0p_137", na = "_suggestionsHint_1wp0p_142", aa = "_timePopover_1wp0p_157", ra = "_timePickerRow_1wp0p_173", ia = "_timePickerSelect_1wp0p_179", oa = "_timePickerColon_1wp0p_195", sa = "_meridiemToggle_1wp0p_203", ca = "_meridiemBtn_1wp0p_212", la = "_meridiemActive_1wp0p_227", da = "_timePopoverActions_1wp0p_232", ua = "_timePopoverBtn_1wp0p_238", ma = "_timePopoverOk_1wp0p_257", pa = "_input_1wp0p_96", ha = "_iconBtn_1wp0p_301", fa = "_iconBtnInteractive_1wp0p_307", ga = "_iconImg_1wp0p_326", _a = "_checkboxRow_1wp0p_332", ba = "_checkbox_1wp0p_332", va = "_checkboxText_1wp0p_370", s = {
|
|
1170
1174
|
wrap: Bn,
|
|
1171
1175
|
card: Fn,
|
|
1172
1176
|
cardInner: Mn,
|
|
1173
1177
|
field: Un,
|
|
1174
1178
|
labelRow: qn,
|
|
1175
|
-
label:
|
|
1176
|
-
req:
|
|
1177
|
-
help:
|
|
1178
|
-
infoBtn:
|
|
1179
|
-
infoImg:
|
|
1179
|
+
label: Kn,
|
|
1180
|
+
req: Wn,
|
|
1181
|
+
help: Gn,
|
|
1182
|
+
infoBtn: Hn,
|
|
1183
|
+
infoImg: Yn,
|
|
1180
1184
|
infoWrap: Vn,
|
|
1181
1185
|
tooltip: zn,
|
|
1182
1186
|
tooltipArrow: Qn,
|
|
@@ -1196,8 +1200,8 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1196
1200
|
timePopoverActions: da,
|
|
1197
1201
|
timePopoverBtn: ua,
|
|
1198
1202
|
timePopoverOk: ma,
|
|
1199
|
-
input:
|
|
1200
|
-
iconBtn:
|
|
1203
|
+
input: pa,
|
|
1204
|
+
iconBtn: ha,
|
|
1201
1205
|
iconBtnInteractive: fa,
|
|
1202
1206
|
iconImg: ga,
|
|
1203
1207
|
checkboxRow: _a,
|
|
@@ -1216,8 +1220,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1216
1220
|
);
|
|
1217
1221
|
return;
|
|
1218
1222
|
}
|
|
1219
|
-
const
|
|
1220
|
-
|
|
1223
|
+
const p = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1224
|
+
h.searchParams.set("key", n), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), r && h.searchParams.set("language", r), p.src = h.toString(), p.async = !0, p.defer = !0, p.setAttribute("data-google-maps-places", "true"), p.onload = () => {
|
|
1221
1225
|
const u = Date.now(), c = () => {
|
|
1222
1226
|
if (window.google?.maps?.places) {
|
|
1223
1227
|
l();
|
|
@@ -1234,20 +1238,20 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1234
1238
|
window.setTimeout(c, 50);
|
|
1235
1239
|
};
|
|
1236
1240
|
c();
|
|
1237
|
-
},
|
|
1241
|
+
}, p.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(p);
|
|
1238
1242
|
}), Be), ya = (n) => {
|
|
1239
|
-
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o,
|
|
1240
|
-
|
|
1243
|
+
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, p] = W(!1), [h, u] = W([]), [c, b] = W(!1), [f, _] = W(null), x = K(null), T = K(null), j = K(null);
|
|
1244
|
+
G(() => {
|
|
1241
1245
|
if (!r) {
|
|
1242
|
-
|
|
1246
|
+
p(!1), _(null);
|
|
1243
1247
|
return;
|
|
1244
1248
|
}
|
|
1245
1249
|
ka(r, l).then(() => {
|
|
1246
1250
|
x.current = new google.maps.places.AutocompleteService();
|
|
1247
1251
|
const k = document.createElement("div");
|
|
1248
|
-
T.current = new google.maps.places.PlacesService(k), j.current = new google.maps.places.AutocompleteSessionToken(),
|
|
1252
|
+
T.current = new google.maps.places.PlacesService(k), j.current = new google.maps.places.AutocompleteSessionToken(), p(!0), _(null);
|
|
1249
1253
|
}).catch((k) => {
|
|
1250
|
-
|
|
1254
|
+
p(!1), _(k?.message || "Failed to load location service");
|
|
1251
1255
|
});
|
|
1252
1256
|
}, [r, l]);
|
|
1253
1257
|
const v = Pe(
|
|
@@ -1267,8 +1271,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1267
1271
|
const M = await new Promise((S, z) => {
|
|
1268
1272
|
x.current.getPlacePredictions(
|
|
1269
1273
|
A,
|
|
1270
|
-
(
|
|
1271
|
-
|
|
1274
|
+
(D, Y) => {
|
|
1275
|
+
Y === google.maps.places.PlacesServiceStatus.OK && D ? S(D) : Y === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : z(new Error(`Places API error: ${Y}`));
|
|
1272
1276
|
}
|
|
1273
1277
|
);
|
|
1274
1278
|
});
|
|
@@ -1294,7 +1298,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1294
1298
|
if (!T.current) return null;
|
|
1295
1299
|
try {
|
|
1296
1300
|
const A = await new Promise(
|
|
1297
|
-
(
|
|
1301
|
+
(O, H) => {
|
|
1298
1302
|
T.current.getDetails(
|
|
1299
1303
|
{
|
|
1300
1304
|
placeId: k,
|
|
@@ -1302,23 +1306,23 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1302
1306
|
sessionToken: j.current ?? void 0
|
|
1303
1307
|
},
|
|
1304
1308
|
(X, B) => {
|
|
1305
|
-
B === google.maps.places.PlacesServiceStatus.OK && X ?
|
|
1309
|
+
B === google.maps.places.PlacesServiceStatus.OK && X ? O(X) : H(new Error(`Place details error: ${B}`));
|
|
1306
1310
|
}
|
|
1307
1311
|
);
|
|
1308
1312
|
}
|
|
1309
1313
|
);
|
|
1310
1314
|
j.current = new google.maps.places.AutocompleteSessionToken();
|
|
1311
1315
|
const M = A.geometry?.location?.lat() || 0, S = A.geometry?.location?.lng() || 0;
|
|
1312
|
-
let z = "",
|
|
1313
|
-
return A.address_components?.forEach((
|
|
1314
|
-
|
|
1316
|
+
let z = "", D = "", Y = "";
|
|
1317
|
+
return A.address_components?.forEach((O) => {
|
|
1318
|
+
O.types.includes("locality") && (z = O.long_name), O.types.includes("administrative_area_level_1") && (D = O.long_name), O.types.includes("country") && (Y = O.long_name);
|
|
1315
1319
|
}), {
|
|
1316
1320
|
display_name: A.formatted_address || "",
|
|
1317
1321
|
lat: M,
|
|
1318
1322
|
lng: S,
|
|
1319
1323
|
city: z,
|
|
1320
|
-
state:
|
|
1321
|
-
country:
|
|
1324
|
+
state: D,
|
|
1325
|
+
country: Y
|
|
1322
1326
|
};
|
|
1323
1327
|
} catch {
|
|
1324
1328
|
return null;
|
|
@@ -1328,9 +1332,9 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1328
1332
|
), I = Pe(() => u([]), []);
|
|
1329
1333
|
return {
|
|
1330
1334
|
isLoaded: o,
|
|
1331
|
-
predictions:
|
|
1335
|
+
predictions: h,
|
|
1332
1336
|
isSearching: c,
|
|
1333
|
-
loadError:
|
|
1337
|
+
loadError: f,
|
|
1334
1338
|
searchPlaces: v,
|
|
1335
1339
|
getPlaceDetails: w,
|
|
1336
1340
|
clearPredictions: I
|
|
@@ -1346,10 +1350,10 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1346
1350
|
onChange: l,
|
|
1347
1351
|
analytics: d,
|
|
1348
1352
|
googleMapsApiKey: o,
|
|
1349
|
-
className:
|
|
1353
|
+
className: p = ""
|
|
1350
1354
|
}) => {
|
|
1351
|
-
const
|
|
1352
|
-
|
|
1355
|
+
const h = Te(), u = h?.config?.analytics ?? d, c = h?.config.isGlobal ?? !0, b = K({}), f = (a) => l({ ...r, ...a }), _ = (a, g) => {
|
|
1356
|
+
g.trim() && !b.current[a] && (b.current[a] = !0, {
|
|
1353
1357
|
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1354
1358
|
phone: () => u?.trackPhoneSectionFilled?.(),
|
|
1355
1359
|
email: () => u?.trackEmailSectionFilled?.(),
|
|
@@ -1357,26 +1361,26 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1357
1361
|
birthTime: () => u?.trackTimeFilled?.(),
|
|
1358
1362
|
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1359
1363
|
}[a]?.());
|
|
1360
|
-
}, x = (a) => a.replace(/\D/g, "").slice(0, 10), T =
|
|
1361
|
-
|
|
1362
|
-
const j =
|
|
1363
|
-
const
|
|
1364
|
-
if (!
|
|
1365
|
-
const L = Number(
|
|
1364
|
+
}, x = (a) => a.replace(/\D/g, "").slice(0, 10), T = K(null);
|
|
1365
|
+
K(null);
|
|
1366
|
+
const j = K(null), v = K(0), w = K(null), [I, k] = W(!1), [A, M] = W({ hour12: 12, minute: "00", meridiem: "AM" }), S = (a) => String(a).padStart(2, "0"), z = (a) => {
|
|
1367
|
+
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1368
|
+
if (!g) return a;
|
|
1369
|
+
const L = Number(g[1]), te = g[2], me = L >= 12 ? "PM" : "AM";
|
|
1366
1370
|
return `${L % 12 === 0 ? 12 : L % 12}:${te} ${me}`;
|
|
1367
|
-
},
|
|
1368
|
-
const
|
|
1369
|
-
if (!
|
|
1370
|
-
const L = Number(
|
|
1371
|
+
}, D = (a) => {
|
|
1372
|
+
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1373
|
+
if (!g) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1374
|
+
const L = Number(g[1]), te = g[2], me = L >= 12 ? "PM" : "AM";
|
|
1371
1375
|
return { hour12: L % 12 === 0 ? 12 : L % 12, minute: te, meridiem: me };
|
|
1372
|
-
},
|
|
1373
|
-
const
|
|
1374
|
-
let te =
|
|
1376
|
+
}, Y = (a) => {
|
|
1377
|
+
const g = Math.min(12, Math.max(1, a.hour12)), L = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1378
|
+
let te = g % 12;
|
|
1375
1379
|
return a.meridiem === "PM" && (te += 12), `${S(te)}:${L}`;
|
|
1376
|
-
},
|
|
1380
|
+
}, O = K(null), [H, X] = W(!1), [B, U] = W(
|
|
1377
1381
|
null
|
|
1378
1382
|
), V = o ?? xa?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), ue = c ? void 0 : "in", ye = "en", {
|
|
1379
|
-
predictions:
|
|
1383
|
+
predictions: he,
|
|
1380
1384
|
isSearching: fe,
|
|
1381
1385
|
loadError: ge,
|
|
1382
1386
|
searchPlaces: _e,
|
|
@@ -1386,13 +1390,13 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1386
1390
|
language: ye,
|
|
1387
1391
|
restrictCountry: ue
|
|
1388
1392
|
});
|
|
1389
|
-
|
|
1390
|
-
const a = (
|
|
1391
|
-
|
|
1393
|
+
G(() => {
|
|
1394
|
+
const a = (g) => {
|
|
1395
|
+
O.current && (O.current.contains(g.target) || X(!1));
|
|
1392
1396
|
};
|
|
1393
1397
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1394
|
-
}, []),
|
|
1395
|
-
if (!
|
|
1398
|
+
}, []), G(() => {
|
|
1399
|
+
if (!H) return;
|
|
1396
1400
|
if (ee.length < 2) {
|
|
1397
1401
|
ie();
|
|
1398
1402
|
return;
|
|
@@ -1401,39 +1405,39 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1401
1405
|
await _e(ee);
|
|
1402
1406
|
}, 250);
|
|
1403
1407
|
return () => window.clearTimeout(a);
|
|
1404
|
-
}, [ie,
|
|
1408
|
+
}, [ie, H, ee, _e]);
|
|
1405
1409
|
const be = (a) => {
|
|
1406
|
-
const
|
|
1407
|
-
if (!(!
|
|
1408
|
-
if (document.activeElement ===
|
|
1409
|
-
|
|
1410
|
+
const g = a.current;
|
|
1411
|
+
if (!(!g || g.disabled)) {
|
|
1412
|
+
if (document.activeElement === g && j.current === g && Date.now() - v.current < 6e4) {
|
|
1413
|
+
g.blur();
|
|
1410
1414
|
return;
|
|
1411
1415
|
}
|
|
1412
|
-
if (typeof
|
|
1413
|
-
|
|
1416
|
+
if (typeof g.showPicker == "function") {
|
|
1417
|
+
g.showPicker(), j.current = g, v.current = Date.now();
|
|
1414
1418
|
return;
|
|
1415
1419
|
}
|
|
1416
|
-
|
|
1420
|
+
g.focus(), j.current = g, v.current = Date.now();
|
|
1417
1421
|
}
|
|
1418
1422
|
};
|
|
1419
|
-
return
|
|
1420
|
-
const a = (
|
|
1421
|
-
w.current && (w.current.contains(
|
|
1423
|
+
return G(() => {
|
|
1424
|
+
const a = (g) => {
|
|
1425
|
+
w.current && (w.current.contains(g.target) || k(!1));
|
|
1422
1426
|
};
|
|
1423
1427
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1424
|
-
}, []),
|
|
1428
|
+
}, []), G(() => {
|
|
1425
1429
|
const a = (L) => {
|
|
1426
1430
|
L.target?.closest?.("[data-info-tooltip]") == null && U(null);
|
|
1427
|
-
},
|
|
1431
|
+
}, g = (L) => {
|
|
1428
1432
|
L.key === "Escape" && U(null);
|
|
1429
1433
|
};
|
|
1430
|
-
return document.addEventListener("mousedown", a), document.addEventListener("keydown",
|
|
1431
|
-
document.removeEventListener("mousedown", a), document.removeEventListener("keydown",
|
|
1434
|
+
return document.addEventListener("mousedown", a), document.addEventListener("keydown", g), () => {
|
|
1435
|
+
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", g);
|
|
1432
1436
|
};
|
|
1433
1437
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1434
1438
|
"section",
|
|
1435
1439
|
{
|
|
1436
|
-
className: `${s.wrap} ${
|
|
1440
|
+
className: `${s.wrap} ${p}`,
|
|
1437
1441
|
"aria-label": n("formTitle"),
|
|
1438
1442
|
children: /* @__PURE__ */ e.jsx("div", { className: s.card, children: /* @__PURE__ */ e.jsxs("div", { className: s.cardInner, children: [
|
|
1439
1443
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
@@ -1450,8 +1454,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1450
1454
|
value: r.fullName,
|
|
1451
1455
|
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1452
1456
|
onChange: (a) => {
|
|
1453
|
-
const
|
|
1454
|
-
|
|
1457
|
+
const g = a.target.value;
|
|
1458
|
+
f({ fullName: g }), _("fullName", g);
|
|
1455
1459
|
},
|
|
1456
1460
|
placeholder: n("formFullNamePlaceholder"),
|
|
1457
1461
|
autoComplete: "name"
|
|
@@ -1472,8 +1476,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1472
1476
|
value: r.phone ?? "",
|
|
1473
1477
|
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1474
1478
|
onChange: (a) => {
|
|
1475
|
-
const
|
|
1476
|
-
|
|
1479
|
+
const g = a.target.value;
|
|
1480
|
+
f({ phone: x(g) }), _("phone", x(g));
|
|
1477
1481
|
},
|
|
1478
1482
|
placeholder: n("formPhonePlaceholder"),
|
|
1479
1483
|
autoComplete: "tel",
|
|
@@ -1498,7 +1502,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1498
1502
|
className: s.input,
|
|
1499
1503
|
type: "email",
|
|
1500
1504
|
value: r.email,
|
|
1501
|
-
onChange: (a) =>
|
|
1505
|
+
onChange: (a) => f({ email: a.target.value }),
|
|
1502
1506
|
placeholder: n("formEmailPlaceholder"),
|
|
1503
1507
|
autoComplete: "email",
|
|
1504
1508
|
required: !0,
|
|
@@ -1554,8 +1558,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1554
1558
|
return `${a.getFullYear()}-${S(a.getMonth() + 1)}-${S(a.getDate())}`;
|
|
1555
1559
|
})(),
|
|
1556
1560
|
onChange: (a) => {
|
|
1557
|
-
const
|
|
1558
|
-
|
|
1561
|
+
const g = a.target.value, L = /* @__PURE__ */ new Date(), te = `${L.getFullYear()}-${S(L.getMonth() + 1)}-${S(L.getDate())}`;
|
|
1562
|
+
g && g > te || (f({ dateOfBirth: g }), _("dateOfBirth", g), j.current = null);
|
|
1559
1563
|
},
|
|
1560
1564
|
onFocus: () => u?.trackDobClicked?.(),
|
|
1561
1565
|
onClick: () => be(T),
|
|
@@ -1632,13 +1636,13 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1632
1636
|
readOnly: !0,
|
|
1633
1637
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
1634
1638
|
onChange: (a) => {
|
|
1635
|
-
const
|
|
1636
|
-
|
|
1639
|
+
const g = a.target.value;
|
|
1640
|
+
f({ birthTime: g }), _("birthTime", g);
|
|
1637
1641
|
},
|
|
1638
1642
|
disabled: r.birthTimeUnknown,
|
|
1639
1643
|
placeholder: "HH:MM AM",
|
|
1640
1644
|
onClick: () => {
|
|
1641
|
-
r.birthTimeUnknown || (M(
|
|
1645
|
+
r.birthTimeUnknown || (M(D(r.birthTime || "12:00")), k((a) => !a));
|
|
1642
1646
|
}
|
|
1643
1647
|
}
|
|
1644
1648
|
),
|
|
@@ -1651,7 +1655,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1651
1655
|
disabled: r.birthTimeUnknown,
|
|
1652
1656
|
onMouseDown: (a) => a.preventDefault(),
|
|
1653
1657
|
onClick: (a) => {
|
|
1654
|
-
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M(
|
|
1658
|
+
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M(D(r.birthTime || "12:00")), k((g) => !g));
|
|
1655
1659
|
},
|
|
1656
1660
|
children: /* @__PURE__ */ e.jsx(
|
|
1657
1661
|
"img",
|
|
@@ -1677,12 +1681,12 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1677
1681
|
{
|
|
1678
1682
|
className: s.timePickerSelect,
|
|
1679
1683
|
value: A.hour12,
|
|
1680
|
-
onChange: (a) => M((
|
|
1681
|
-
...
|
|
1684
|
+
onChange: (a) => M((g) => ({
|
|
1685
|
+
...g,
|
|
1682
1686
|
hour12: Number(a.target.value)
|
|
1683
1687
|
})),
|
|
1684
1688
|
"aria-label": "Hour",
|
|
1685
|
-
children: Array.from({ length: 12 }, (a,
|
|
1689
|
+
children: Array.from({ length: 12 }, (a, g) => g + 1).map((a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a))
|
|
1686
1690
|
}
|
|
1687
1691
|
),
|
|
1688
1692
|
/* @__PURE__ */ e.jsx("span", { className: s.timePickerColon, children: ":" }),
|
|
@@ -1691,9 +1695,9 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1691
1695
|
{
|
|
1692
1696
|
className: s.timePickerSelect,
|
|
1693
1697
|
value: A.minute,
|
|
1694
|
-
onChange: (a) => M((
|
|
1698
|
+
onChange: (a) => M((g) => ({ ...g, minute: a.target.value })),
|
|
1695
1699
|
"aria-label": "Minute",
|
|
1696
|
-
children: Array.from({ length: 60 }, (a,
|
|
1700
|
+
children: Array.from({ length: 60 }, (a, g) => S(g)).map(
|
|
1697
1701
|
(a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
|
|
1698
1702
|
)
|
|
1699
1703
|
}
|
|
@@ -1735,8 +1739,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1735
1739
|
type: "button",
|
|
1736
1740
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1737
1741
|
onClick: () => {
|
|
1738
|
-
const a =
|
|
1739
|
-
|
|
1742
|
+
const a = Y(A);
|
|
1743
|
+
f({ birthTime: a }), _("birthTime", a), k(!1);
|
|
1740
1744
|
},
|
|
1741
1745
|
"aria-label": "OK",
|
|
1742
1746
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1776,7 +1780,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1776
1780
|
type: "checkbox",
|
|
1777
1781
|
checked: r.birthTimeUnknown,
|
|
1778
1782
|
onChange: (a) => {
|
|
1779
|
-
u?.trackTimeCheckboxClicked?.(),
|
|
1783
|
+
u?.trackTimeCheckboxClicked?.(), f({
|
|
1780
1784
|
birthTimeUnknown: a.target.checked,
|
|
1781
1785
|
birthTime: a.target.checked ? "" : r.birthTime
|
|
1782
1786
|
});
|
|
@@ -1831,7 +1835,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1831
1835
|
] })
|
|
1832
1836
|
] })
|
|
1833
1837
|
] }),
|
|
1834
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1838
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: O, children: [
|
|
1835
1839
|
/* @__PURE__ */ e.jsx(
|
|
1836
1840
|
"input",
|
|
1837
1841
|
{
|
|
@@ -1840,8 +1844,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1840
1844
|
type: "text",
|
|
1841
1845
|
value: r.birthPlace,
|
|
1842
1846
|
onChange: (a) => {
|
|
1843
|
-
const
|
|
1844
|
-
|
|
1847
|
+
const g = a.target.value;
|
|
1848
|
+
f({ birthPlace: g }), _("birthPlace", g), X(!0);
|
|
1845
1849
|
},
|
|
1846
1850
|
onFocus: () => {
|
|
1847
1851
|
u?.trackPlaceOfBirthClicked?.(), X(!0);
|
|
@@ -1859,13 +1863,13 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1859
1863
|
"aria-hidden": !0
|
|
1860
1864
|
}
|
|
1861
1865
|
) }),
|
|
1862
|
-
|
|
1866
|
+
H && he.length > 0 && /* @__PURE__ */ e.jsx("div", { className: s.suggestions, role: "listbox", children: he.slice(0, 8).map((a) => /* @__PURE__ */ e.jsxs(
|
|
1863
1867
|
"button",
|
|
1864
1868
|
{
|
|
1865
1869
|
type: "button",
|
|
1866
1870
|
className: s.suggestionItem,
|
|
1867
1871
|
onClick: () => {
|
|
1868
|
-
|
|
1872
|
+
f({ birthPlace: a.description }), ie(), X(!1);
|
|
1869
1873
|
},
|
|
1870
1874
|
children: [
|
|
1871
1875
|
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: a.structured_formatting?.main_text ?? a.description }),
|
|
@@ -1874,8 +1878,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1874
1878
|
},
|
|
1875
1879
|
a.place_id
|
|
1876
1880
|
)) }),
|
|
1877
|
-
|
|
1878
|
-
|
|
1881
|
+
H && V && fe && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1882
|
+
H && V && !fe && !!ge && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: ge })
|
|
1879
1883
|
] })
|
|
1880
1884
|
] })
|
|
1881
1885
|
] }) })
|
|
@@ -1907,14 +1911,14 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1907
1911
|
disabled: l = !1,
|
|
1908
1912
|
onClick: d,
|
|
1909
1913
|
className: o = "",
|
|
1910
|
-
"aria-label":
|
|
1914
|
+
"aria-label": p
|
|
1911
1915
|
}) => {
|
|
1912
|
-
const
|
|
1916
|
+
const h = `${$.ctaButton} ${o}`.trim(), u = p != null ? { "aria-label": p } : {};
|
|
1913
1917
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1914
1918
|
"a",
|
|
1915
1919
|
{
|
|
1916
1920
|
href: r,
|
|
1917
|
-
className:
|
|
1921
|
+
className: h,
|
|
1918
1922
|
target: "_blank",
|
|
1919
1923
|
rel: "noopener noreferrer",
|
|
1920
1924
|
"aria-disabled": l,
|
|
@@ -1926,31 +1930,31 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1926
1930
|
"button",
|
|
1927
1931
|
{
|
|
1928
1932
|
type: "button",
|
|
1929
|
-
className:
|
|
1933
|
+
className: h,
|
|
1930
1934
|
disabled: l,
|
|
1931
1935
|
onClick: d,
|
|
1932
1936
|
...u,
|
|
1933
1937
|
children: n
|
|
1934
1938
|
}
|
|
1935
1939
|
);
|
|
1936
|
-
},
|
|
1940
|
+
}, Da = (n) => /.+@.+\..+/.test(n), Oa = (n) => /^\d{10}$/.test(n), Ba = ({
|
|
1937
1941
|
t: n,
|
|
1938
1942
|
values: r,
|
|
1939
1943
|
onProceed: l,
|
|
1940
1944
|
href: d,
|
|
1941
1945
|
analytics: o,
|
|
1942
|
-
className:
|
|
1943
|
-
originalPriceLabel:
|
|
1946
|
+
className: p = "",
|
|
1947
|
+
originalPriceLabel: h,
|
|
1944
1948
|
discountedPriceLabel: u,
|
|
1945
1949
|
discountPillLabel: c
|
|
1946
1950
|
}) => {
|
|
1947
|
-
const
|
|
1951
|
+
const f = Te()?.config.isGlobal ?? !0, _ = Fe(() => {
|
|
1948
1952
|
if (!r.fullName.trim()) return !1;
|
|
1949
|
-
if (
|
|
1950
|
-
if (!
|
|
1951
|
-
} else if (!
|
|
1953
|
+
if (f) {
|
|
1954
|
+
if (!Da(r.email.trim())) return !1;
|
|
1955
|
+
} else if (!Oa((r.phone ?? "").trim())) return !1;
|
|
1952
1956
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1953
|
-
}, [
|
|
1957
|
+
}, [f, r]), x = f ? h ?? n("formOriginalPrice") : "₹999", T = f ? u ?? n("formDiscountedPrice") : "₹249", j = c ?? n("formDiscountPill"), v = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1954
1958
|
n("formProceed"),
|
|
1955
1959
|
/* @__PURE__ */ e.jsx("span", { className: $.ctaStruck, children: x }),
|
|
1956
1960
|
" ",
|
|
@@ -1973,17 +1977,17 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1973
1977
|
}
|
|
1974
1978
|
)
|
|
1975
1979
|
] });
|
|
1976
|
-
return /* @__PURE__ */ e.jsx(Tt, { className:
|
|
1977
|
-
}, Fa = "_header_dbx4y_1", Ma = "_brand_dbx4y_7", Ua = "_logo_dbx4y_11", qa = "_logoImg_dbx4y_15",
|
|
1980
|
+
return /* @__PURE__ */ e.jsx(Tt, { className: p, children: w });
|
|
1981
|
+
}, Fa = "_header_dbx4y_1", Ma = "_brand_dbx4y_7", Ua = "_logo_dbx4y_11", qa = "_logoImg_dbx4y_15", Ka = "_logoPlaceholder_dbx4y_21", Wa = "_brandText_dbx4y_29", Ga = "_brandName_dbx4y_33", Ha = "_rating_dbx4y_38", Ya = "_stars_dbx4y_44", Va = "_langSlot_dbx4y_49", se = {
|
|
1978
1982
|
header: Fa,
|
|
1979
1983
|
brand: Ma,
|
|
1980
1984
|
logo: Ua,
|
|
1981
1985
|
logoImg: qa,
|
|
1982
|
-
logoPlaceholder:
|
|
1983
|
-
brandText:
|
|
1984
|
-
brandName:
|
|
1985
|
-
rating:
|
|
1986
|
-
stars:
|
|
1986
|
+
logoPlaceholder: Ka,
|
|
1987
|
+
brandText: Wa,
|
|
1988
|
+
brandName: Ga,
|
|
1989
|
+
rating: Ha,
|
|
1990
|
+
stars: Ya,
|
|
1987
1991
|
langSlot: Va
|
|
1988
1992
|
}, za = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Et = ({
|
|
1989
1993
|
t: n,
|
|
@@ -1991,7 +1995,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1991
1995
|
logoUrl: l = za,
|
|
1992
1996
|
className: d = ""
|
|
1993
1997
|
}) => {
|
|
1994
|
-
const
|
|
1998
|
+
const p = Te()?.config.isGlobal ?? !0, h = r && !p;
|
|
1995
1999
|
return /* @__PURE__ */ e.jsxs("header", { className: `${se.header} ${d}`, children: [
|
|
1996
2000
|
/* @__PURE__ */ e.jsxs("div", { className: se.brand, children: [
|
|
1997
2001
|
/* @__PURE__ */ e.jsx("div", { className: se.logo, children: l ? /* @__PURE__ */ e.jsx("img", { src: l, alt: n("sriMandir"), className: se.logoImg }) : /* @__PURE__ */ e.jsx("div", { className: se.logoPlaceholder, "aria-hidden": !0 }) }),
|
|
@@ -2003,7 +2007,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2003
2007
|
] })
|
|
2004
2008
|
] })
|
|
2005
2009
|
] }),
|
|
2006
|
-
|
|
2010
|
+
h && /* @__PURE__ */ e.jsx("div", { className: se.langSlot, children: r })
|
|
2007
2011
|
] });
|
|
2008
2012
|
}, Qa = "_hero_okj8x_1", Ja = "_title_okj8x_5", Xa = "_subtitle_okj8x_10", Za = "_topicTags_okj8x_23", er = "_tag_okj8x_27", Ie = {
|
|
2009
2013
|
hero: Qa,
|
|
@@ -2023,7 +2027,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2023
2027
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ie.title, children: n("heroTitle") }),
|
|
2024
2028
|
/* @__PURE__ */ e.jsx("p", { className: Ie.subtitle, children: n("heroSubtitle") }),
|
|
2025
2029
|
/* @__PURE__ */ e.jsx("div", { className: Ie.topicTags, role: "list", children: tr.map((l) => /* @__PURE__ */ e.jsx("span", { className: Ie.tag, role: "listitem", children: n(l) }, l)) })
|
|
2026
|
-
] }), ar = "_section_j2cgl_1", rr = "_inner_j2cgl_9", ir = "_content_j2cgl_14", or = "_headline_j2cgl_18", sr = "_headlineLine_j2cgl_23", cr = "_headlinePill_j2cgl_28", lr = "_headlinePlain_j2cgl_43", dr = "_featureList_j2cgl_54", ur = "_featureItem_j2cgl_61", mr = "_featureIcon_j2cgl_66",
|
|
2030
|
+
] }), ar = "_section_j2cgl_1", rr = "_inner_j2cgl_9", ir = "_content_j2cgl_14", or = "_headline_j2cgl_18", sr = "_headlineLine_j2cgl_23", cr = "_headlinePill_j2cgl_28", lr = "_headlinePlain_j2cgl_43", dr = "_featureList_j2cgl_54", ur = "_featureItem_j2cgl_61", mr = "_featureIcon_j2cgl_66", pr = "_reportImage_j2cgl_73", hr = "_reportImg_j2cgl_83", J = {
|
|
2027
2031
|
section: ar,
|
|
2028
2032
|
inner: rr,
|
|
2029
2033
|
content: ir,
|
|
@@ -2034,8 +2038,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2034
2038
|
featureList: dr,
|
|
2035
2039
|
featureItem: ur,
|
|
2036
2040
|
featureIcon: mr,
|
|
2037
|
-
reportImage:
|
|
2038
|
-
reportImg:
|
|
2041
|
+
reportImage: pr,
|
|
2042
|
+
reportImg: hr
|
|
2039
2043
|
}, fr = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", gr = [
|
|
2040
2044
|
"premiumFeature1",
|
|
2041
2045
|
"premiumFeature2",
|
|
@@ -2070,7 +2074,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2070
2074
|
/* @__PURE__ */ e.jsx("span", { className: J.headlinePill, children: n("premiumHeadlinePill2") })
|
|
2071
2075
|
] })
|
|
2072
2076
|
] }),
|
|
2073
|
-
/* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: gr.map((
|
|
2077
|
+
/* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: gr.map((p) => /* @__PURE__ */ e.jsxs("li", { className: J.featureItem, children: [
|
|
2074
2078
|
/* @__PURE__ */ e.jsx(
|
|
2075
2079
|
"img",
|
|
2076
2080
|
{
|
|
@@ -2082,14 +2086,14 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2082
2086
|
"aria-hidden": !0
|
|
2083
2087
|
}
|
|
2084
2088
|
),
|
|
2085
|
-
n(
|
|
2086
|
-
] },
|
|
2089
|
+
n(p)
|
|
2090
|
+
] }, p)) })
|
|
2087
2091
|
] }),
|
|
2088
2092
|
/* @__PURE__ */ e.jsx("div", { className: J.reportImage, children: /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: J.reportImg }) })
|
|
2089
2093
|
] })
|
|
2090
2094
|
}
|
|
2091
2095
|
);
|
|
2092
|
-
}, vr = "_section_1g93x_1", kr = "_heading_1g93x_6", yr = "_logoImg_1g93x_10",
|
|
2096
|
+
}, vr = "_section_1g93x_1", kr = "_heading_1g93x_6", yr = "_logoImg_1g93x_10", He = {
|
|
2093
2097
|
section: vr,
|
|
2094
2098
|
heading: kr,
|
|
2095
2099
|
logoImg: yr
|
|
@@ -2097,9 +2101,9 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2097
2101
|
t: n,
|
|
2098
2102
|
logoUrl: r = xr,
|
|
2099
2103
|
className: l = ""
|
|
2100
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2101
|
-
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className:
|
|
2102
|
-
/* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className:
|
|
2104
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${He.section} ${l}`, "aria-labelledby": "certified-heading", children: [
|
|
2105
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: He.heading, children: n("certifiedBy") }),
|
|
2106
|
+
/* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className: He.logoImg })
|
|
2103
2107
|
] }), jr = "_section_fw00n_1", Nr = "_heading_fw00n_6", Pr = "_subtitle_fw00n_12", Tr = "_stepList_fw00n_17", Ar = "_stepItem_fw00n_21", Er = "_stepNumber_fw00n_25", Sr = "_stepText_fw00n_31", Cr = "_step3Days_fw00n_36", ae = {
|
|
2104
2108
|
section: jr,
|
|
2105
2109
|
heading: Nr,
|
|
@@ -2112,70 +2116,74 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2112
2116
|
}, Ir = ["step1", "step2"], Rr = ({
|
|
2113
2117
|
t: n,
|
|
2114
2118
|
locale: r = "en",
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
"
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
/* @__PURE__ */ e.jsx("
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
/* @__PURE__ */ e.jsx("
|
|
2137
|
-
|
|
2119
|
+
isGlobal: l = !0,
|
|
2120
|
+
className: d = ""
|
|
2121
|
+
}) => {
|
|
2122
|
+
const o = l ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
2123
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2124
|
+
"section",
|
|
2125
|
+
{
|
|
2126
|
+
className: `${ae.section} ${d}`,
|
|
2127
|
+
"aria-labelledby": "steps-heading",
|
|
2128
|
+
children: [
|
|
2129
|
+
/* @__PURE__ */ e.jsx("p", { className: ae.heading, children: n("yourThreeSteps") }),
|
|
2130
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ae.subtitle, children: n("threeStepsSubtitle") }),
|
|
2131
|
+
/* @__PURE__ */ e.jsxs("ol", { className: ae.stepList, children: [
|
|
2132
|
+
Ir.map((p, h) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2133
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: h + 1 }),
|
|
2134
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(p) })
|
|
2135
|
+
] }, p)),
|
|
2136
|
+
/* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2137
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
2138
|
+
/* @__PURE__ */ e.jsxs("span", { className: ae.stepText, children: [
|
|
2139
|
+
n(o),
|
|
2140
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
2141
|
+
r === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2142
|
+
"in ",
|
|
2143
|
+
/* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
|
|
2144
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
|
|
2145
|
+
] })
|
|
2138
2146
|
] })
|
|
2139
2147
|
] })
|
|
2140
|
-
]
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2148
|
+
]
|
|
2149
|
+
}
|
|
2150
|
+
);
|
|
2151
|
+
}, $r = "_section_uboy6_1", Lr = "_button_uboy6_7", gt = {
|
|
2144
2152
|
section: $r,
|
|
2145
2153
|
button: Lr
|
|
2146
|
-
},
|
|
2147
|
-
backdrop:
|
|
2148
|
-
modal:
|
|
2154
|
+
}, Dr = "_backdrop_pekod_1", Or = "_modal_pekod_21", Br = "_header_pekod_40", Fr = "_title_pekod_49", Mr = "_closeBtn_pekod_56", Ur = "_content_pekod_76", qr = "_pdfFrame_pekod_84", Kr = "_pdfPages_pekod_92", Wr = "_pdfError_pekod_97", Gr = "_openInNewTab_pekod_123", ce = {
|
|
2155
|
+
backdrop: Dr,
|
|
2156
|
+
modal: Or,
|
|
2149
2157
|
header: Br,
|
|
2150
2158
|
title: Fr,
|
|
2151
2159
|
closeBtn: Mr,
|
|
2152
2160
|
content: Ur,
|
|
2153
2161
|
pdfFrame: qr,
|
|
2154
|
-
pdfPages:
|
|
2155
|
-
pdfError:
|
|
2156
|
-
openInNewTab:
|
|
2162
|
+
pdfPages: Kr,
|
|
2163
|
+
pdfError: Wr,
|
|
2164
|
+
openInNewTab: Gr
|
|
2157
2165
|
};
|
|
2158
|
-
|
|
2159
|
-
const
|
|
2166
|
+
Ye.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Ye.version}/build/pdf.worker.min.js`;
|
|
2167
|
+
const Hr = ({
|
|
2160
2168
|
isOpen: n,
|
|
2161
2169
|
onClose: r,
|
|
2162
2170
|
title: l,
|
|
2163
2171
|
pdfUrl: d
|
|
2164
2172
|
}) => {
|
|
2165
|
-
const o =
|
|
2166
|
-
return
|
|
2173
|
+
const o = K(null), [p, h] = W(!0), [u, c] = W(null);
|
|
2174
|
+
return G(() => {
|
|
2167
2175
|
if (!n) return;
|
|
2168
|
-
const b = (
|
|
2169
|
-
|
|
2176
|
+
const b = (f) => {
|
|
2177
|
+
f.key === "Escape" && r();
|
|
2170
2178
|
};
|
|
2171
2179
|
return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
|
|
2172
2180
|
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
2173
2181
|
};
|
|
2174
|
-
}, [n, r]),
|
|
2182
|
+
}, [n, r]), G(() => {
|
|
2175
2183
|
if (!n || !d || !o.current) return;
|
|
2176
|
-
|
|
2184
|
+
h(!0), c(null), o.current.innerHTML = "", (async () => {
|
|
2177
2185
|
try {
|
|
2178
|
-
const _ = await
|
|
2186
|
+
const _ = await Ye.getDocument({ url: d }).promise, x = o.current;
|
|
2179
2187
|
if (!x) return;
|
|
2180
2188
|
const T = x.clientWidth || 600, j = Math.min(T / 612, 2);
|
|
2181
2189
|
for (let v = 1; v <= _.numPages; v++) {
|
|
@@ -2184,10 +2192,10 @@ const Yr = ({
|
|
|
2184
2192
|
const A = k.getContext("2d");
|
|
2185
2193
|
A && await w.render({ canvasContext: A, viewport: I }).promise, x.appendChild(k);
|
|
2186
2194
|
}
|
|
2187
|
-
} catch (
|
|
2188
|
-
c(
|
|
2195
|
+
} catch (f) {
|
|
2196
|
+
c(f instanceof Error ? f.message : "Failed to load PDF");
|
|
2189
2197
|
} finally {
|
|
2190
|
-
|
|
2198
|
+
h(!1);
|
|
2191
2199
|
}
|
|
2192
2200
|
})();
|
|
2193
2201
|
}, [n, d]), n ? /* @__PURE__ */ e.jsx(
|
|
@@ -2241,25 +2249,25 @@ const Yr = ({
|
|
|
2241
2249
|
)
|
|
2242
2250
|
}
|
|
2243
2251
|
) : null;
|
|
2244
|
-
},
|
|
2252
|
+
}, Yr = "https://srm-cdn.a4b.io/yoda/1770651163050.pdf", Vr = ({
|
|
2245
2253
|
t: n,
|
|
2246
|
-
pdfUrl: r =
|
|
2254
|
+
pdfUrl: r = Yr,
|
|
2247
2255
|
onClick: l,
|
|
2248
2256
|
analytics: d,
|
|
2249
2257
|
className: o = ""
|
|
2250
2258
|
}) => {
|
|
2251
|
-
const [
|
|
2252
|
-
d?.trackViewSampleReportClicked?.(), l?.(),
|
|
2253
|
-
},
|
|
2254
|
-
d?.trackViewSampleReportClosed?.(),
|
|
2259
|
+
const [p, h] = W(!1), u = n("viewSampleReport"), c = n("sampleReportModalTitle"), b = () => {
|
|
2260
|
+
d?.trackViewSampleReportClicked?.(), l?.(), h(!0);
|
|
2261
|
+
}, f = () => {
|
|
2262
|
+
d?.trackViewSampleReportClosed?.(), h(!1);
|
|
2255
2263
|
};
|
|
2256
2264
|
return /* @__PURE__ */ e.jsxs("section", { className: `${gt.section} ${o}`, children: [
|
|
2257
2265
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: gt.button, onClick: b, children: u }),
|
|
2258
2266
|
/* @__PURE__ */ e.jsx(
|
|
2259
|
-
|
|
2267
|
+
Hr,
|
|
2260
2268
|
{
|
|
2261
|
-
isOpen:
|
|
2262
|
-
onClose:
|
|
2269
|
+
isOpen: p,
|
|
2270
|
+
onClose: f,
|
|
2263
2271
|
title: c,
|
|
2264
2272
|
pdfUrl: r
|
|
2265
2273
|
}
|
|
@@ -2316,10 +2324,10 @@ const Yr = ({
|
|
|
2316
2324
|
subtitle: di,
|
|
2317
2325
|
list: ui,
|
|
2318
2326
|
item: mi
|
|
2319
|
-
},
|
|
2327
|
+
}, pi = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], hi = ({ t: n, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Re.section} ${r}`, "aria-labelledby": "why-heading", children: [
|
|
2320
2328
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: n("whyUsTitle") }),
|
|
2321
2329
|
/* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: n("whyUsSubtitle") }),
|
|
2322
|
-
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children:
|
|
2330
|
+
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children: pi.map((l) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: n(l) }, l)) })
|
|
2323
2331
|
] }), fi = "_section_3cm7k_1", gi = "_heading_3cm7k_5", _i = "_trustLine_3cm7k_10", bi = "_star_3cm7k_15", vi = "_ratingNum_3cm7k_20", ki = "_trustText_3cm7k_24", yi = "_cardList_3cm7k_28", xi = "_card_3cm7k_28", wi = "_quote_3cm7k_37", ji = "_author_3cm7k_42", Ni = "_avatar_3cm7k_46", Pi = "_avatarPlaceholder_3cm7k_50", Ti = "_authorInfo_3cm7k_55", Ai = "_authorName_3cm7k_59", Ei = "_stars_3cm7k_64", Si = "_readMoreWrap_3cm7k_69", Ci = "_toggleBtn_3cm7k_73", Ii = "_readMore_3cm7k_69", Ri = "_arrow_3cm7k_93", $i = "_dot_3cm7k_97", R = {
|
|
2324
2332
|
section: fi,
|
|
2325
2333
|
heading: gi,
|
|
@@ -2344,8 +2352,8 @@ const Yr = ({
|
|
|
2344
2352
|
}, _t = 3, Li = (n) => {
|
|
2345
2353
|
const l = /* @__PURE__ */ new Map();
|
|
2346
2354
|
for (let c = 1; c <= 15; c += 1) {
|
|
2347
|
-
const b = `feedbackTestimonial${c}`,
|
|
2348
|
-
if (!
|
|
2355
|
+
const b = `feedbackTestimonial${c}`, f = n(b);
|
|
2356
|
+
if (!f || f === b) continue;
|
|
2349
2357
|
const _ = `feedbackAuthor${c}`, x = (() => {
|
|
2350
2358
|
const v = n(_);
|
|
2351
2359
|
return v && v !== _ ? v : n("guest");
|
|
@@ -2354,7 +2362,7 @@ const Yr = ({
|
|
|
2354
2362
|
return v && v !== T ? v : void 0;
|
|
2355
2363
|
})();
|
|
2356
2364
|
l.set(c, {
|
|
2357
|
-
quote:
|
|
2365
|
+
quote: f,
|
|
2358
2366
|
authorName: x,
|
|
2359
2367
|
authorAvatarUrl: j,
|
|
2360
2368
|
rating: 5
|
|
@@ -2363,27 +2371,27 @@ const Yr = ({
|
|
|
2363
2371
|
const d = [], o = [];
|
|
2364
2372
|
for (let c = 1; c <= 15; c += 1)
|
|
2365
2373
|
c >= 9 ? o.push(c) : d.push(c);
|
|
2366
|
-
const
|
|
2367
|
-
let
|
|
2368
|
-
for (;
|
|
2374
|
+
const p = [];
|
|
2375
|
+
let h = 0, u = 0;
|
|
2376
|
+
for (; h < d.length || u < o.length; ) {
|
|
2369
2377
|
if (u < o.length) {
|
|
2370
2378
|
const c = o[u++], b = l.get(c);
|
|
2371
|
-
b &&
|
|
2379
|
+
b && p.push(b);
|
|
2372
2380
|
}
|
|
2373
|
-
if (
|
|
2374
|
-
const c = d[
|
|
2375
|
-
b &&
|
|
2381
|
+
if (h < d.length) {
|
|
2382
|
+
const c = d[h++], b = l.get(c);
|
|
2383
|
+
b && p.push(b);
|
|
2376
2384
|
}
|
|
2377
2385
|
}
|
|
2378
|
-
return
|
|
2379
|
-
},
|
|
2386
|
+
return p;
|
|
2387
|
+
}, Di = ({
|
|
2380
2388
|
t: n,
|
|
2381
2389
|
testimonials: r,
|
|
2382
2390
|
readMoreHref: l,
|
|
2383
2391
|
onReadMore: d,
|
|
2384
2392
|
className: o = ""
|
|
2385
2393
|
}) => {
|
|
2386
|
-
const
|
|
2394
|
+
const p = r ?? Fe(() => Li(n), [n]), [h, u] = W(!1), c = p.length > _t, b = c && !h ? p.slice(0, _t) : p;
|
|
2387
2395
|
return /* @__PURE__ */ e.jsxs(
|
|
2388
2396
|
"section",
|
|
2389
2397
|
{
|
|
@@ -2397,13 +2405,13 @@ const Yr = ({
|
|
|
2397
2405
|
/* @__PURE__ */ e.jsx("span", { className: R.dot, "aria-hidden": !0 }),
|
|
2398
2406
|
/* @__PURE__ */ e.jsx("span", { className: R.trustText, children: n("feedbackTrust") })
|
|
2399
2407
|
] }),
|
|
2400
|
-
/* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((
|
|
2401
|
-
/* @__PURE__ */ e.jsx("p", { className: R.quote, children:
|
|
2408
|
+
/* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((f, _) => /* @__PURE__ */ e.jsxs("li", { className: R.card, children: [
|
|
2409
|
+
/* @__PURE__ */ e.jsx("p", { className: R.quote, children: f.quote }),
|
|
2402
2410
|
/* @__PURE__ */ e.jsxs("div", { className: R.author, children: [
|
|
2403
|
-
|
|
2411
|
+
f.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
|
|
2404
2412
|
"img",
|
|
2405
2413
|
{
|
|
2406
|
-
src:
|
|
2414
|
+
src: f.authorAvatarUrl,
|
|
2407
2415
|
alt: "",
|
|
2408
2416
|
className: R.avatar,
|
|
2409
2417
|
width: 40,
|
|
@@ -2411,8 +2419,8 @@ const Yr = ({
|
|
|
2411
2419
|
}
|
|
2412
2420
|
) : /* @__PURE__ */ e.jsx("div", { className: R.avatarPlaceholder, "aria-hidden": !0 }),
|
|
2413
2421
|
/* @__PURE__ */ e.jsxs("div", { className: R.authorInfo, children: [
|
|
2414
|
-
/* @__PURE__ */ e.jsx("span", { className: R.authorName, children:
|
|
2415
|
-
/* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(
|
|
2422
|
+
/* @__PURE__ */ e.jsx("span", { className: R.authorName, children: f.authorName }),
|
|
2423
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(f.rating ?? 5) })
|
|
2416
2424
|
] })
|
|
2417
2425
|
] })
|
|
2418
2426
|
] }, _)) }),
|
|
@@ -2421,10 +2429,10 @@ const Yr = ({
|
|
|
2421
2429
|
{
|
|
2422
2430
|
type: "button",
|
|
2423
2431
|
className: R.toggleBtn,
|
|
2424
|
-
onClick: () => u((
|
|
2425
|
-
"aria-expanded":
|
|
2432
|
+
onClick: () => u((f) => !f),
|
|
2433
|
+
"aria-expanded": h,
|
|
2426
2434
|
children: [
|
|
2427
|
-
n(
|
|
2435
|
+
n(h ? "readLess" : "readMoreReviews"),
|
|
2428
2436
|
/* @__PURE__ */ e.jsx("span", { className: R.arrow, "aria-hidden": !0, children: "›" })
|
|
2429
2437
|
]
|
|
2430
2438
|
}
|
|
@@ -2456,18 +2464,18 @@ const Yr = ({
|
|
|
2456
2464
|
]
|
|
2457
2465
|
}
|
|
2458
2466
|
);
|
|
2459
|
-
},
|
|
2460
|
-
section:
|
|
2467
|
+
}, Oi = "_section_1scfq_1", Bi = "_heading_1scfq_6", Fi = "_accordion_1scfq_11", Mi = "_item_1scfq_15", Ui = "_itemOpen_1scfq_21", qi = "_question_1scfq_25", Ki = "_chevron_1scfq_40", Wi = "_chevronOpen_1scfq_47", Gi = "_answerWrap_1scfq_51", Hi = "_answerOpen_1scfq_56", Yi = "_answer_1scfq_51", re = {
|
|
2468
|
+
section: Oi,
|
|
2461
2469
|
heading: Bi,
|
|
2462
2470
|
accordion: Fi,
|
|
2463
2471
|
item: Mi,
|
|
2464
2472
|
itemOpen: Ui,
|
|
2465
2473
|
question: qi,
|
|
2466
|
-
chevron:
|
|
2467
|
-
chevronOpen:
|
|
2468
|
-
answerWrap:
|
|
2469
|
-
answerOpen:
|
|
2470
|
-
answer:
|
|
2474
|
+
chevron: Ki,
|
|
2475
|
+
chevronOpen: Wi,
|
|
2476
|
+
answerWrap: Gi,
|
|
2477
|
+
answerOpen: Hi,
|
|
2478
|
+
answer: Yi
|
|
2471
2479
|
}, Vi = [
|
|
2472
2480
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2473
2481
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
@@ -2475,7 +2483,7 @@ const Yr = ({
|
|
|
2475
2483
|
t: n,
|
|
2476
2484
|
className: r = ""
|
|
2477
2485
|
}) => {
|
|
2478
|
-
const d = Te()?.config.isGlobal ?? !0, [o,
|
|
2486
|
+
const d = Te()?.config.isGlobal ?? !0, [o, p] = W(1), h = (u) => u === "faqA1" ? d ? "faqA1Global" : "faqA1Domestic" : u;
|
|
2479
2487
|
return /* @__PURE__ */ e.jsxs(
|
|
2480
2488
|
"section",
|
|
2481
2489
|
{
|
|
@@ -2496,7 +2504,7 @@ const Yr = ({
|
|
|
2496
2504
|
{
|
|
2497
2505
|
type: "button",
|
|
2498
2506
|
className: re.question,
|
|
2499
|
-
onClick: () =>
|
|
2507
|
+
onClick: () => p(b ? -1 : c),
|
|
2500
2508
|
"aria-expanded": b,
|
|
2501
2509
|
"aria-controls": `faq-answer-${c}`,
|
|
2502
2510
|
id: `faq-question-${c}`,
|
|
@@ -2538,7 +2546,7 @@ const Yr = ({
|
|
|
2538
2546
|
"aria-labelledby": `faq-question-${c}`,
|
|
2539
2547
|
className: `${re.answerWrap} ${b ? re.answerOpen : ""}`,
|
|
2540
2548
|
hidden: !b,
|
|
2541
|
-
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(
|
|
2549
|
+
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(h(u.aKey)) })
|
|
2542
2550
|
}
|
|
2543
2551
|
)
|
|
2544
2552
|
]
|
|
@@ -2562,13 +2570,13 @@ const Yr = ({
|
|
|
2562
2570
|
brandName: d,
|
|
2563
2571
|
className: o = ""
|
|
2564
2572
|
}) => {
|
|
2565
|
-
const
|
|
2573
|
+
const p = r ?? "8295049751", h = l ?? "shubham.goyal@supportmandir.com";
|
|
2566
2574
|
return /* @__PURE__ */ e.jsxs("section", { className: `${Ne.section} ${o}`, "aria-labelledby": "contact-heading", children: [
|
|
2567
2575
|
/* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className: Ne.heading, children: n("contactTitle") }),
|
|
2568
2576
|
/* @__PURE__ */ e.jsxs("div", { className: Ne.content, children: [
|
|
2569
2577
|
/* @__PURE__ */ e.jsx("p", { className: Ne.brandName, children: d ?? n("contactBrandName") }),
|
|
2570
|
-
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactWhatsApp").replace("8295049751",
|
|
2571
|
-
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com",
|
|
2578
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactWhatsApp").replace("8295049751", p) }),
|
|
2579
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com", h) })
|
|
2572
2580
|
] })
|
|
2573
2581
|
] });
|
|
2574
2582
|
}, bt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", vt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", kt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", no = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: $.marqueeTrack, children: [
|
|
@@ -2606,9 +2614,9 @@ const Yr = ({
|
|
|
2606
2614
|
ctaHref: l,
|
|
2607
2615
|
className: d = ""
|
|
2608
2616
|
}) => {
|
|
2609
|
-
const o = Te(),
|
|
2617
|
+
const o = Te(), p = o?.config.isGlobal ?? !0, h = p ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", u = p ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", c = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2610
2618
|
n("ctaButtonBefore"),
|
|
2611
|
-
/* @__PURE__ */ e.jsx("span", { className: $.ctaStruck, children:
|
|
2619
|
+
/* @__PURE__ */ e.jsx("span", { className: $.ctaStruck, children: h }),
|
|
2612
2620
|
" ",
|
|
2613
2621
|
u
|
|
2614
2622
|
] });
|
|
@@ -2634,41 +2642,41 @@ const Yr = ({
|
|
|
2634
2642
|
showLanguageSelector: l = !0,
|
|
2635
2643
|
onBack: d,
|
|
2636
2644
|
initialValues: o,
|
|
2637
|
-
onProceed:
|
|
2638
|
-
proceedHref:
|
|
2645
|
+
onProceed: p,
|
|
2646
|
+
proceedHref: h,
|
|
2639
2647
|
originalPriceLabel: u,
|
|
2640
2648
|
discountedPriceLabel: c,
|
|
2641
2649
|
discountPillLabel: b,
|
|
2642
|
-
googleMapsApiKey:
|
|
2650
|
+
googleMapsApiKey: f = io,
|
|
2643
2651
|
analytics: _
|
|
2644
2652
|
}) => {
|
|
2645
|
-
const x = Te(), T = jt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] =
|
|
2653
|
+
const x = Te(), T = jt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] = W(w), A = j ? x.locale : I, M = j ? x.setLocale : k, [S, z] = W(!1), D = K(null), Y = K(v), O = K(
|
|
2646
2654
|
T?.locale
|
|
2647
2655
|
);
|
|
2648
|
-
|
|
2656
|
+
G(() => {
|
|
2649
2657
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2650
2658
|
}, []);
|
|
2651
|
-
const
|
|
2652
|
-
|
|
2653
|
-
v &&
|
|
2654
|
-
}, [v, M]),
|
|
2659
|
+
const H = (a) => oo(A, a);
|
|
2660
|
+
G(() => {
|
|
2661
|
+
v && Y.current !== v && M(v), Y.current = v;
|
|
2662
|
+
}, [v, M]), G(() => {
|
|
2655
2663
|
if (v) return;
|
|
2656
2664
|
const a = T?.locale;
|
|
2657
|
-
a &&
|
|
2665
|
+
a && O.current !== a && M(a), O.current = a;
|
|
2658
2666
|
}, [T?.locale, v, M]);
|
|
2659
|
-
const [X, B] =
|
|
2667
|
+
const [X, B] = W({
|
|
2660
2668
|
...so,
|
|
2661
2669
|
...o,
|
|
2662
2670
|
phone: o?.phone ?? ""
|
|
2663
|
-
}), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed :
|
|
2664
|
-
|
|
2671
|
+
}), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed : p, ye = j ? x.config.proceedHref : h, he = j ? x.config.originalPriceLabel : u, fe = j ? x.config.discountedPriceLabel : c, ge = j ? x.config.discountPillLabel : b, _e = j ? x.config.showLanguageSelector ?? !0 : l, ie = (j ? x?.config?.analytics : _) ?? _;
|
|
2672
|
+
G(() => {
|
|
2665
2673
|
if (!S) return;
|
|
2666
|
-
const a = (
|
|
2667
|
-
|
|
2674
|
+
const a = (g) => {
|
|
2675
|
+
D.current && !D.current.contains(g.target) && z(!1);
|
|
2668
2676
|
};
|
|
2669
2677
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2670
2678
|
}, [S]);
|
|
2671
|
-
const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref:
|
|
2679
|
+
const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref: D, children: [
|
|
2672
2680
|
/* @__PURE__ */ e.jsxs(
|
|
2673
2681
|
"button",
|
|
2674
2682
|
{
|
|
@@ -2680,7 +2688,7 @@ const Yr = ({
|
|
|
2680
2688
|
"aria-expanded": S,
|
|
2681
2689
|
"aria-haspopup": "listbox",
|
|
2682
2690
|
id: "kundli-form-lang",
|
|
2683
|
-
"aria-label":
|
|
2691
|
+
"aria-label": H("language"),
|
|
2684
2692
|
children: [
|
|
2685
2693
|
/* @__PURE__ */ e.jsx(
|
|
2686
2694
|
"img",
|
|
@@ -2725,7 +2733,7 @@ const Yr = ({
|
|
|
2725
2733
|
/* @__PURE__ */ e.jsx(
|
|
2726
2734
|
Et,
|
|
2727
2735
|
{
|
|
2728
|
-
t:
|
|
2736
|
+
t: H,
|
|
2729
2737
|
logoUrl: j ? x.config.logoUrl : void 0,
|
|
2730
2738
|
languageSelector: be,
|
|
2731
2739
|
className: oe.kundliHeaderNoBorder
|
|
@@ -2733,25 +2741,25 @@ const Yr = ({
|
|
|
2733
2741
|
),
|
|
2734
2742
|
/* @__PURE__ */ e.jsx("div", { className: oe.headerSeparator, "aria-hidden": !0 }),
|
|
2735
2743
|
/* @__PURE__ */ e.jsxs("main", { className: oe.main, children: [
|
|
2736
|
-
/* @__PURE__ */ e.jsx(
|
|
2744
|
+
/* @__PURE__ */ e.jsx(On, { t: H, onBack: ee }),
|
|
2737
2745
|
/* @__PURE__ */ e.jsx(
|
|
2738
2746
|
wa,
|
|
2739
2747
|
{
|
|
2740
|
-
t:
|
|
2748
|
+
t: H,
|
|
2741
2749
|
values: U,
|
|
2742
2750
|
onChange: V,
|
|
2743
|
-
googleMapsApiKey:
|
|
2751
|
+
googleMapsApiKey: f
|
|
2744
2752
|
}
|
|
2745
2753
|
)
|
|
2746
2754
|
] }),
|
|
2747
2755
|
/* @__PURE__ */ e.jsx(
|
|
2748
2756
|
Ba,
|
|
2749
2757
|
{
|
|
2750
|
-
t:
|
|
2758
|
+
t: H,
|
|
2751
2759
|
values: U,
|
|
2752
2760
|
onProceed: ue,
|
|
2753
2761
|
href: ye,
|
|
2754
|
-
originalPriceLabel:
|
|
2762
|
+
originalPriceLabel: he,
|
|
2755
2763
|
discountedPriceLabel: fe,
|
|
2756
2764
|
discountPillLabel: ge,
|
|
2757
2765
|
analytics: ie
|
|
@@ -2764,11 +2772,11 @@ function de({
|
|
|
2764
2772
|
children: r,
|
|
2765
2773
|
onImpression: l
|
|
2766
2774
|
}) {
|
|
2767
|
-
const d =
|
|
2768
|
-
return
|
|
2769
|
-
const
|
|
2770
|
-
if (!
|
|
2771
|
-
const
|
|
2775
|
+
const d = K(null), o = K(!1);
|
|
2776
|
+
return G(() => {
|
|
2777
|
+
const p = d.current;
|
|
2778
|
+
if (!p) return;
|
|
2779
|
+
const h = new IntersectionObserver(
|
|
2772
2780
|
([u]) => {
|
|
2773
2781
|
!u?.isIntersecting || o.current || (o.current = !0, l(n));
|
|
2774
2782
|
},
|
|
@@ -2778,45 +2786,45 @@ function de({
|
|
|
2778
2786
|
rootMargin: `0px 0px -${mo}px 0px`
|
|
2779
2787
|
}
|
|
2780
2788
|
);
|
|
2781
|
-
return
|
|
2789
|
+
return h.observe(p), () => h.disconnect();
|
|
2782
2790
|
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2783
2791
|
}
|
|
2784
|
-
function
|
|
2792
|
+
function po({ className: n }) {
|
|
2785
2793
|
const { view: r } = Pt();
|
|
2786
|
-
return r === "form" ? /* @__PURE__ */ e.jsx(co, {}) : /* @__PURE__ */ e.jsx(
|
|
2794
|
+
return r === "form" ? /* @__PURE__ */ e.jsx(co, {}) : /* @__PURE__ */ e.jsx(ho, { className: n });
|
|
2787
2795
|
}
|
|
2788
|
-
function
|
|
2796
|
+
function ho({ className: n }) {
|
|
2789
2797
|
const r = jt(), {
|
|
2790
2798
|
locale: l,
|
|
2791
2799
|
setLocale: d,
|
|
2792
2800
|
config: o,
|
|
2793
|
-
goToForm:
|
|
2794
|
-
} = Pt(), [
|
|
2801
|
+
goToForm: p
|
|
2802
|
+
} = Pt(), [h, u] = W(!1), c = K(null), b = K(o.locale), f = K(
|
|
2795
2803
|
r?.locale
|
|
2796
2804
|
);
|
|
2797
|
-
|
|
2805
|
+
G(() => {
|
|
2798
2806
|
o.locale && b.current !== o.locale && d(o.locale), b.current = o.locale;
|
|
2799
|
-
}, [o.locale, d]),
|
|
2807
|
+
}, [o.locale, d]), G(() => {
|
|
2800
2808
|
if (o.locale) return;
|
|
2801
2809
|
const w = r?.locale;
|
|
2802
|
-
w &&
|
|
2803
|
-
}, [r?.locale, o.locale, d]),
|
|
2804
|
-
if (!
|
|
2810
|
+
w && f.current !== w && d(w), f.current = w;
|
|
2811
|
+
}, [r?.locale, o.locale, d]), G(() => {
|
|
2812
|
+
if (!h) return;
|
|
2805
2813
|
const w = (I) => {
|
|
2806
2814
|
c.current && !c.current.contains(I.target) && u(!1);
|
|
2807
2815
|
};
|
|
2808
2816
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
2809
|
-
}, [
|
|
2810
|
-
const _ = (w) => uo(l, w), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
2817
|
+
}, [h]);
|
|
2818
|
+
const _ = (w) => uo(l, w), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: pe.langDropdownWrap, ref: c, children: [
|
|
2811
2819
|
/* @__PURE__ */ e.jsxs(
|
|
2812
2820
|
"button",
|
|
2813
2821
|
{
|
|
2814
2822
|
type: "button",
|
|
2815
|
-
className:
|
|
2823
|
+
className: pe.langTrigger,
|
|
2816
2824
|
onClick: () => {
|
|
2817
2825
|
o.analytics?.trackLanguageClickedFe?.({ language: l }), u((w) => !w);
|
|
2818
2826
|
},
|
|
2819
|
-
"aria-expanded":
|
|
2827
|
+
"aria-expanded": h,
|
|
2820
2828
|
"aria-haspopup": "listbox",
|
|
2821
2829
|
id: "kundli-lang",
|
|
2822
2830
|
"aria-label": _("language"),
|
|
@@ -2826,20 +2834,20 @@ function po({ className: n }) {
|
|
|
2826
2834
|
{
|
|
2827
2835
|
src: lo,
|
|
2828
2836
|
alt: "",
|
|
2829
|
-
className:
|
|
2837
|
+
className: pe.langIcon,
|
|
2830
2838
|
width: 16,
|
|
2831
2839
|
height: 16,
|
|
2832
2840
|
"aria-hidden": !0
|
|
2833
2841
|
}
|
|
2834
2842
|
),
|
|
2835
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2843
|
+
/* @__PURE__ */ e.jsx("span", { className: pe.langLabel, children: Me[l] })
|
|
2836
2844
|
]
|
|
2837
2845
|
}
|
|
2838
2846
|
),
|
|
2839
|
-
|
|
2847
|
+
h && /* @__PURE__ */ e.jsx(
|
|
2840
2848
|
"ul",
|
|
2841
2849
|
{
|
|
2842
|
-
className:
|
|
2850
|
+
className: pe.langMenu,
|
|
2843
2851
|
role: "listbox",
|
|
2844
2852
|
"aria-labelledby": "kundli-lang",
|
|
2845
2853
|
"aria-activedescendant": `kundli-lang-option-${l}`,
|
|
@@ -2849,7 +2857,7 @@ function po({ className: n }) {
|
|
|
2849
2857
|
id: `kundli-lang-option-${w}`,
|
|
2850
2858
|
role: "option",
|
|
2851
2859
|
"aria-selected": w === l,
|
|
2852
|
-
className:
|
|
2860
|
+
className: pe.langOption,
|
|
2853
2861
|
onClick: () => {
|
|
2854
2862
|
o.analytics?.trackLanguageChangedFe?.({ newLanguage: w }), d(w), u(!1);
|
|
2855
2863
|
},
|
|
@@ -2861,7 +2869,7 @@ function po({ className: n }) {
|
|
|
2861
2869
|
)
|
|
2862
2870
|
] }) : null, j = (w) => {
|
|
2863
2871
|
const I = w.currentTarget.innerText?.trim() ?? _("ctaButtonAfter");
|
|
2864
|
-
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: I }),
|
|
2872
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: I }), p(), o.onCtaClick?.();
|
|
2865
2873
|
}, v = Pe(
|
|
2866
2874
|
(w) => {
|
|
2867
2875
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
@@ -2871,7 +2879,7 @@ function po({ className: n }) {
|
|
|
2871
2879
|
},
|
|
2872
2880
|
[o.analytics]
|
|
2873
2881
|
);
|
|
2874
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2882
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${pe.container} ${n}`, children: [
|
|
2875
2883
|
/* @__PURE__ */ e.jsx(
|
|
2876
2884
|
Et,
|
|
2877
2885
|
{
|
|
@@ -2880,7 +2888,7 @@ function po({ className: n }) {
|
|
|
2880
2888
|
languageSelector: T
|
|
2881
2889
|
}
|
|
2882
2890
|
),
|
|
2883
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
2891
|
+
/* @__PURE__ */ e.jsxs("main", { className: pe.main, children: [
|
|
2884
2892
|
/* @__PURE__ */ e.jsx(
|
|
2885
2893
|
de,
|
|
2886
2894
|
{
|
|
@@ -2923,7 +2931,7 @@ function po({ className: n }) {
|
|
|
2923
2931
|
{
|
|
2924
2932
|
section: "three_steps_process",
|
|
2925
2933
|
onImpression: v,
|
|
2926
|
-
children: /* @__PURE__ */ e.jsx(Rr, { t: _, locale: l })
|
|
2934
|
+
children: /* @__PURE__ */ e.jsx(Rr, { t: _, locale: l, isGlobal: o.isGlobal })
|
|
2927
2935
|
}
|
|
2928
2936
|
),
|
|
2929
2937
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2955,7 +2963,7 @@ function po({ className: n }) {
|
|
|
2955
2963
|
{
|
|
2956
2964
|
section: "why_us",
|
|
2957
2965
|
onImpression: v,
|
|
2958
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2966
|
+
children: /* @__PURE__ */ e.jsx(hi, { t: _ })
|
|
2959
2967
|
}
|
|
2960
2968
|
),
|
|
2961
2969
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2963,7 +2971,7 @@ function po({ className: n }) {
|
|
|
2963
2971
|
{
|
|
2964
2972
|
section: "feedback",
|
|
2965
2973
|
onImpression: v,
|
|
2966
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2974
|
+
children: /* @__PURE__ */ e.jsx(Di, { t: _, readMoreHref: o.readMoreReviewsHref })
|
|
2967
2975
|
}
|
|
2968
2976
|
),
|
|
2969
2977
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2999,12 +3007,12 @@ const vo = ({
|
|
|
2999
3007
|
showLanguageSelector: l = !0,
|
|
3000
3008
|
userId: d,
|
|
3001
3009
|
isGlobal: o,
|
|
3002
|
-
logoUrl:
|
|
3003
|
-
reportImageUrl:
|
|
3010
|
+
logoUrl: p,
|
|
3011
|
+
reportImageUrl: h,
|
|
3004
3012
|
universityLogoUrls: u,
|
|
3005
3013
|
sampleReportHref: c,
|
|
3006
3014
|
onViewSampleReport: b,
|
|
3007
|
-
ctaHref:
|
|
3015
|
+
ctaHref: f,
|
|
3008
3016
|
onCtaClick: _,
|
|
3009
3017
|
readMoreReviewsHref: x,
|
|
3010
3018
|
onProceed: T,
|
|
@@ -3021,12 +3029,12 @@ const vo = ({
|
|
|
3021
3029
|
showLanguageSelector: l,
|
|
3022
3030
|
userId: d,
|
|
3023
3031
|
isGlobal: o,
|
|
3024
|
-
logoUrl:
|
|
3025
|
-
reportImageUrl:
|
|
3032
|
+
logoUrl: p,
|
|
3033
|
+
reportImageUrl: h,
|
|
3026
3034
|
universityLogoUrls: u,
|
|
3027
3035
|
sampleReportHref: c,
|
|
3028
3036
|
onViewSampleReport: b,
|
|
3029
|
-
ctaHref:
|
|
3037
|
+
ctaHref: f,
|
|
3030
3038
|
onCtaClick: _,
|
|
3031
3039
|
readMoreReviewsHref: x,
|
|
3032
3040
|
onProceed: T,
|
|
@@ -3036,7 +3044,7 @@ const vo = ({
|
|
|
3036
3044
|
discountPillLabel: I,
|
|
3037
3045
|
analytics: k,
|
|
3038
3046
|
onLocaleChange: A,
|
|
3039
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3047
|
+
children: /* @__PURE__ */ e.jsx(po, { className: n })
|
|
3040
3048
|
}
|
|
3041
3049
|
), ko = {
|
|
3042
3050
|
banner_clicked_fe: "banner_clicked_fe",
|