kundli-generator 1.1.2 → 1.1.3
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
|
@@ -25,7 +25,7 @@ function en() {
|
|
|
25
25
|
var i = j && t[j] || t[x];
|
|
26
26
|
return typeof i == "function" ? i : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function w(t) {
|
|
30
30
|
{
|
|
31
31
|
for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), b = 1; b < i; b++)
|
|
@@ -35,24 +35,24 @@ function en() {
|
|
|
35
35
|
}
|
|
36
36
|
function E(t, i, u) {
|
|
37
37
|
{
|
|
38
|
-
var b =
|
|
38
|
+
var b = O.ReactDebugCurrentFrame, A = b.getStackAddendum();
|
|
39
39
|
A !== "" && (i += "%s", u = u.concat([A]));
|
|
40
|
-
var
|
|
40
|
+
var S = u.map(function(P) {
|
|
41
41
|
return String(P);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
S.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, S);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
|
|
46
|
+
var B = !1, C = !1, G = !1, U = !1, V = !1, L;
|
|
47
|
+
L = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function H(t) {
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || V || t === o || t === v || t === _ || U || t === T ||
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || V || t === o || t === v || t === _ || U || t === T || B || C || G || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === g || t.$$typeof === p || t.$$typeof === m || t.$$typeof === l || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
53
|
-
t.$$typeof ===
|
|
53
|
+
t.$$typeof === L || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function q(t, i, u) {
|
|
56
56
|
var b = t.displayName;
|
|
57
57
|
if (b)
|
|
58
58
|
return b;
|
|
@@ -62,7 +62,7 @@ function en() {
|
|
|
62
62
|
function Y(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function F(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof t.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -92,14 +92,14 @@ function en() {
|
|
|
92
92
|
var u = t;
|
|
93
93
|
return Y(u._context) + ".Provider";
|
|
94
94
|
case l:
|
|
95
|
-
return
|
|
95
|
+
return q(t, t.render, "ForwardRef");
|
|
96
96
|
case g:
|
|
97
97
|
var b = t.displayName || null;
|
|
98
|
-
return b !== null ? b :
|
|
98
|
+
return b !== null ? b : F(t.type) || "Memo";
|
|
99
99
|
case k: {
|
|
100
|
-
var A = t,
|
|
100
|
+
var A = t, S = A._payload, P = A._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return F(P(S));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,13 +107,13 @@ function en() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var z = Object.assign,
|
|
110
|
+
var z = Object.assign, ae = 0, xe, ye, me, he, fe, pe, ie;
|
|
111
111
|
function _e() {
|
|
112
112
|
}
|
|
113
113
|
_e.__reactDisabledLog = !0;
|
|
114
114
|
function a() {
|
|
115
115
|
{
|
|
116
|
-
if (
|
|
116
|
+
if (ae === 0) {
|
|
117
117
|
xe = console.log, ye = console.info, me = console.warn, he = console.error, fe = console.group, pe = console.groupCollapsed, ie = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
@@ -131,12 +131,12 @@ function en() {
|
|
|
131
131
|
groupEnd: t
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
ae++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
function h() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (ae--, ae === 0) {
|
|
140
140
|
var t = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -166,21 +166,21 @@ function en() {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
ae < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
172
|
+
var $ = O.ReactCurrentDispatcher, ee;
|
|
173
173
|
function de(t, i, u) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (ee === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (A) {
|
|
179
179
|
var b = A.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
-
|
|
180
|
+
ee = b && b[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + ee + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
var Te = !1, $e;
|
|
@@ -200,8 +200,8 @@ function en() {
|
|
|
200
200
|
Te = !0;
|
|
201
201
|
var A = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var S;
|
|
204
|
+
S = $.current, $.current = null, a();
|
|
205
205
|
try {
|
|
206
206
|
if (i) {
|
|
207
207
|
var P = function() {
|
|
@@ -238,23 +238,23 @@ function en() {
|
|
|
238
238
|
if (Z && b && typeof Z.stack == "string") {
|
|
239
239
|
for (var N = Z.stack.split(`
|
|
240
240
|
`), Q = b.stack.split(`
|
|
241
|
-
`),
|
|
242
|
-
|
|
243
|
-
for (;
|
|
244
|
-
if (N[
|
|
245
|
-
if (
|
|
241
|
+
`), D = N.length - 1, M = Q.length - 1; D >= 1 && M >= 0 && N[D] !== Q[M]; )
|
|
242
|
+
M--;
|
|
243
|
+
for (; D >= 1 && M >= 0; D--, M--)
|
|
244
|
+
if (N[D] !== Q[M]) {
|
|
245
|
+
if (D !== 1 || M !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (
|
|
248
|
-
var
|
|
249
|
-
` + N[
|
|
250
|
-
return t.displayName &&
|
|
247
|
+
if (D--, M--, M < 0 || N[D] !== Q[M]) {
|
|
248
|
+
var te = `
|
|
249
|
+
` + N[D].replace(" at new ", " at ");
|
|
250
|
+
return t.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", t.displayName)), typeof t == "function" && $e.set(t, te), te;
|
|
251
251
|
}
|
|
252
|
-
while (
|
|
252
|
+
while (D >= 1 && M >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
Te = !1,
|
|
257
|
+
Te = !1, $.current = S, h(), Error.prepareStackTrace = A;
|
|
258
258
|
}
|
|
259
259
|
var je = t ? t.displayName || t.name : "", ge = je ? de(je) : "";
|
|
260
260
|
return typeof t == "function" && $e.set(t, ge), ge;
|
|
@@ -286,16 +286,16 @@ function en() {
|
|
|
286
286
|
case g:
|
|
287
287
|
return Oe(t.type, i, u);
|
|
288
288
|
case k: {
|
|
289
|
-
var b = t, A = b._payload,
|
|
289
|
+
var b = t, A = b._payload, S = b._init;
|
|
290
290
|
try {
|
|
291
|
-
return Oe(
|
|
291
|
+
return Oe(S(A), i, u);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var Ae = Object.prototype.hasOwnProperty, Je = {}, Xe =
|
|
298
|
+
var Ae = Object.prototype.hasOwnProperty, Je = {}, Xe = O.ReactDebugCurrentFrame;
|
|
299
299
|
function Le(t) {
|
|
300
300
|
if (t) {
|
|
301
301
|
var i = t._owner, u = Oe(t.type, t._source, i ? i.type : null);
|
|
@@ -305,9 +305,9 @@ function en() {
|
|
|
305
305
|
}
|
|
306
306
|
function St(t, i, u, b, A) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
308
|
+
var S = Function.call.bind(Ae);
|
|
309
309
|
for (var P in t)
|
|
310
|
-
if (
|
|
310
|
+
if (S(t, P)) {
|
|
311
311
|
var N = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof t[P] != "function") {
|
|
@@ -315,15 +315,15 @@ function en() {
|
|
|
315
315
|
throw Q.name = "Invariant Violation", Q;
|
|
316
316
|
}
|
|
317
317
|
N = t[P](i, P, b, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
|
-
} catch (
|
|
319
|
-
N =
|
|
318
|
+
} catch (D) {
|
|
319
|
+
N = D;
|
|
320
320
|
}
|
|
321
321
|
N && !(N instanceof Error) && (Le(A), w("%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).", b || "React class", u, P, typeof N), Le(null)), N instanceof Error && !(N.message in Je) && (Je[N.message] = !0, Le(A), w("Failed %s type: %s", u, N.message), Le(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var Rt = Array.isArray;
|
|
326
|
-
function
|
|
326
|
+
function Ue(t) {
|
|
327
327
|
return Rt(t);
|
|
328
328
|
}
|
|
329
329
|
function It(t) {
|
|
@@ -346,7 +346,7 @@ function en() {
|
|
|
346
346
|
if ($t(t))
|
|
347
347
|
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", It(t)), Ze(t);
|
|
348
348
|
}
|
|
349
|
-
var tt =
|
|
349
|
+
var tt = O.ReactCurrentOwner, Ot = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
@@ -382,7 +382,7 @@ function en() {
|
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Mt(t, i) {
|
|
386
386
|
{
|
|
387
387
|
var u = function() {
|
|
388
388
|
at || (at = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
@@ -393,7 +393,7 @@ function en() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var Ut = function(t, i, u, b, A, S, P) {
|
|
397
397
|
var N = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: r,
|
|
@@ -403,7 +403,7 @@ function en() {
|
|
|
403
403
|
ref: u,
|
|
404
404
|
props: P,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
406
|
+
_owner: S
|
|
407
407
|
};
|
|
408
408
|
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
@@ -424,23 +424,23 @@ function en() {
|
|
|
424
424
|
};
|
|
425
425
|
function qt(t, i, u, b, A) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
427
|
+
var S, P = {}, N = null, Q = null;
|
|
428
428
|
u !== void 0 && (et(u), N = "" + u), Dt(i) && (et(i.key), N = "" + i.key), Lt(i) && (Q = i.ref, Bt(i, A));
|
|
429
|
-
for (
|
|
430
|
-
Ae.call(i,
|
|
429
|
+
for (S in i)
|
|
430
|
+
Ae.call(i, S) && !Ot.hasOwnProperty(S) && (P[S] = i[S]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
432
|
-
var
|
|
433
|
-
for (
|
|
434
|
-
P[
|
|
432
|
+
var D = t.defaultProps;
|
|
433
|
+
for (S in D)
|
|
434
|
+
P[S] === void 0 && (P[S] = D[S]);
|
|
435
435
|
}
|
|
436
436
|
if (N || Q) {
|
|
437
|
-
var
|
|
438
|
-
N && Ft(P,
|
|
437
|
+
var M = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
+
N && Ft(P, M), Q && Mt(P, M);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return Ut(t, N, Q, A, b, tt.current, P);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var qe =
|
|
443
|
+
var qe = O.ReactCurrentOwner, rt = O.ReactDebugCurrentFrame;
|
|
444
444
|
function ke(t) {
|
|
445
445
|
if (t) {
|
|
446
446
|
var i = t._owner, u = Oe(t.type, t._source, i ? i.type : null);
|
|
@@ -456,7 +456,7 @@ function en() {
|
|
|
456
456
|
function it() {
|
|
457
457
|
{
|
|
458
458
|
if (qe.current) {
|
|
459
|
-
var t =
|
|
459
|
+
var t = F(qe.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -491,14 +491,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
st[u] = !0;
|
|
493
493
|
var b = "";
|
|
494
|
-
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " +
|
|
494
|
+
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " + F(t._owner.type) + "."), ke(t), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, b), ke(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ct(t, i) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof t != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (Ue(t))
|
|
502
502
|
for (var u = 0; u < t.length; u++) {
|
|
503
503
|
var b = t[u];
|
|
504
504
|
Ke(b) && ot(b, i);
|
|
@@ -508,7 +508,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
508
508
|
else if (t) {
|
|
509
509
|
var A = y(t);
|
|
510
510
|
if (typeof A == "function" && A !== t.entries)
|
|
511
|
-
for (var
|
|
511
|
+
for (var S = A.call(t), P; !(P = S.next()).done; )
|
|
512
512
|
Ke(P.value) && ot(P.value, i);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
@@ -528,11 +528,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (u) {
|
|
531
|
-
var b =
|
|
531
|
+
var b = F(i);
|
|
532
532
|
St(u, t.props, "prop", b, t);
|
|
533
533
|
} else if (i.PropTypes !== void 0 && !We) {
|
|
534
534
|
We = !0;
|
|
535
|
-
var A =
|
|
535
|
+
var A = F(i);
|
|
536
536
|
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
537
537
|
}
|
|
538
538
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -551,7 +551,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var lt = {};
|
|
554
|
-
function dt(t, i, u, b, A,
|
|
554
|
+
function dt(t, i, u, b, A, S) {
|
|
555
555
|
{
|
|
556
556
|
var P = H(t);
|
|
557
557
|
if (!P) {
|
|
@@ -559,27 +559,27 @@ Check the top-level render call using <` + u + ">.");
|
|
|
559
559
|
(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.");
|
|
560
560
|
var Q = Wt();
|
|
561
561
|
Q ? N += Q : N += it();
|
|
562
|
-
var
|
|
563
|
-
t === null ?
|
|
562
|
+
var D;
|
|
563
|
+
t === null ? D = "null" : Ue(t) ? D = "array" : t !== void 0 && t.$$typeof === r ? (D = "<" + (F(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, N);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
565
|
+
var M = qt(t, i, u, A, S);
|
|
566
|
+
if (M == null)
|
|
567
|
+
return M;
|
|
568
568
|
if (P) {
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
569
|
+
var te = i.children;
|
|
570
|
+
if (te !== void 0)
|
|
571
571
|
if (b)
|
|
572
|
-
if (
|
|
573
|
-
for (var je = 0; je <
|
|
574
|
-
ct(
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
572
|
+
if (Ue(te)) {
|
|
573
|
+
for (var je = 0; je < te.length; je++)
|
|
574
|
+
ct(te[je], t);
|
|
575
|
+
Object.freeze && Object.freeze(te);
|
|
576
576
|
} else
|
|
577
577
|
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
578
578
|
else
|
|
579
|
-
ct(
|
|
579
|
+
ct(te, t);
|
|
580
580
|
}
|
|
581
581
|
if (Ae.call(i, "key")) {
|
|
582
|
-
var ge =
|
|
582
|
+
var ge = F(t), Z = Object.keys(i).filter(function(Xt) {
|
|
583
583
|
return Xt !== "key";
|
|
584
584
|
}), He = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
585
|
if (!lt[ge + He]) {
|
|
@@ -592,7 +592,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
592
592
|
<%s key={someKey} {...props} />`, He, ge, Jt, ge), lt[ge + He] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return t === d ? Yt(
|
|
595
|
+
return t === d ? Yt(M) : Ht(M), M;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function Gt(t, i, u) {
|
|
@@ -619,7 +619,7 @@ const nn = "_container_nm3gb_1", an = "_main_nm3gb_6", rn = "_langDropdownWrap_n
|
|
|
619
619
|
langLabel: cn,
|
|
620
620
|
langMenu: ln,
|
|
621
621
|
langOption: dn
|
|
622
|
-
}, yt = ["en", "hi"],
|
|
622
|
+
}, yt = ["en", "hi"], Me = {
|
|
623
623
|
en: "English",
|
|
624
624
|
hi: "हिन्दी"
|
|
625
625
|
}, Ve = {
|
|
@@ -983,16 +983,16 @@ const un = "_container_1e1th_1", mn = "_main_1e1th_7", hn = "_kundliHeaderNoBord
|
|
|
983
983
|
proceedHref: j,
|
|
984
984
|
originalPriceLabel: x,
|
|
985
985
|
discountedPriceLabel: y,
|
|
986
|
-
discountPillLabel:
|
|
986
|
+
discountPillLabel: O,
|
|
987
987
|
analytics: w,
|
|
988
988
|
onLocaleChange: E,
|
|
989
|
-
children:
|
|
989
|
+
children: B
|
|
990
990
|
}) => {
|
|
991
|
-
const [
|
|
991
|
+
const [C, G] = K("landing"), [U, V] = K(n ?? "en"), [L, H] = K(yn);
|
|
992
992
|
X(() => {
|
|
993
993
|
E?.(U);
|
|
994
994
|
}, [U, E]);
|
|
995
|
-
const
|
|
995
|
+
const q = Fe(
|
|
996
996
|
() => ({
|
|
997
997
|
locale: n,
|
|
998
998
|
showLanguageSelector: r,
|
|
@@ -1011,7 +1011,7 @@ const un = "_container_1e1th_1", mn = "_main_1e1th_7", hn = "_kundliHeaderNoBord
|
|
|
1011
1011
|
proceedHref: j,
|
|
1012
1012
|
originalPriceLabel: x,
|
|
1013
1013
|
discountedPriceLabel: y,
|
|
1014
|
-
discountPillLabel:
|
|
1014
|
+
discountPillLabel: O,
|
|
1015
1015
|
analytics: w,
|
|
1016
1016
|
onLocaleChange: E
|
|
1017
1017
|
}),
|
|
@@ -1033,29 +1033,29 @@ const un = "_container_1e1th_1", mn = "_main_1e1th_7", hn = "_kundliHeaderNoBord
|
|
|
1033
1033
|
j,
|
|
1034
1034
|
x,
|
|
1035
1035
|
y,
|
|
1036
|
-
|
|
1036
|
+
O,
|
|
1037
1037
|
w,
|
|
1038
1038
|
E
|
|
1039
1039
|
]
|
|
1040
1040
|
), Y = Pe(() => {
|
|
1041
1041
|
G("form");
|
|
1042
|
-
}, [
|
|
1043
|
-
G("landing"),
|
|
1044
|
-
}, [
|
|
1042
|
+
}, [q.analytics]), F = Pe(() => {
|
|
1043
|
+
G("landing"), q.onBack?.();
|
|
1044
|
+
}, [q.onBack]), z = Fe(
|
|
1045
1045
|
() => ({
|
|
1046
|
-
view:
|
|
1046
|
+
view: C,
|
|
1047
1047
|
locale: U,
|
|
1048
1048
|
setLocale: V,
|
|
1049
|
-
config:
|
|
1050
|
-
formValues:
|
|
1049
|
+
config: q,
|
|
1050
|
+
formValues: L,
|
|
1051
1051
|
setFormValues: H,
|
|
1052
1052
|
goToForm: Y,
|
|
1053
|
-
goToPage:
|
|
1054
|
-
onProceed:
|
|
1053
|
+
goToPage: F,
|
|
1054
|
+
onProceed: q.onProceed
|
|
1055
1055
|
}),
|
|
1056
|
-
[
|
|
1056
|
+
[C, U, q, L, Y, F]
|
|
1057
1057
|
);
|
|
1058
|
-
return /* @__PURE__ */ e.jsx(ze.Provider, { value: z, children:
|
|
1058
|
+
return /* @__PURE__ */ e.jsx(ze.Provider, { value: z, children: B });
|
|
1059
1059
|
};
|
|
1060
1060
|
function Ie() {
|
|
1061
1061
|
return Ge(ze);
|
|
@@ -1112,7 +1112,7 @@ const jn = "_header_1414z_1", wn = "_left_1414z_7", Nn = "_backBtn_1414z_11", Pn
|
|
|
1112
1112
|
/* @__PURE__ */ e.jsx("h1", { className: ve.title, children: n("formTitle") }),
|
|
1113
1113
|
/* @__PURE__ */ e.jsx("p", { className: ve.subtitle, children: n("formSubtitle") })
|
|
1114
1114
|
] })
|
|
1115
|
-
] }) }), Rn = "_wrap_n65ep_1", In = "_card_n65ep_5", $n = "_cardInner_n65ep_12", On = "_field_n65ep_16", Ln = "_labelRow_n65ep_20", Dn = "_label_n65ep_20", Bn = "_req_n65ep_29", Fn = "_help_n65ep_33",
|
|
1115
|
+
] }) }), Rn = "_wrap_n65ep_1", In = "_card_n65ep_5", $n = "_cardInner_n65ep_12", On = "_field_n65ep_16", Ln = "_labelRow_n65ep_20", Dn = "_label_n65ep_20", Bn = "_req_n65ep_29", Fn = "_help_n65ep_33", Mn = "_infoBtn_n65ep_40", Un = "_infoImg_n65ep_57", qn = "_infoWrap_n65ep_63", Wn = "_tooltip_n65ep_69", Kn = "_tooltipArrow_n65ep_85", Hn = "_inputWrap_n65ep_96", Yn = "_suggestions_n65ep_100", Gn = "_suggestionItem_n65ep_113", Vn = "_suggestionMain_n65ep_131", zn = "_suggestionSecondary_n65ep_137", Qn = "_suggestionsHint_n65ep_142", Jn = "_timePopover_n65ep_157", Xn = "_timePickerRow_n65ep_173", Zn = "_timePickerSelect_n65ep_179", ea = "_timePickerColon_n65ep_193", ta = "_meridiemToggle_n65ep_200", na = "_meridiemBtn_n65ep_208", aa = "_meridiemActive_n65ep_222", ra = "_timePopoverActions_n65ep_227", ia = "_timePopoverBtn_n65ep_233", sa = "_timePopoverOk_n65ep_252", oa = "_input_n65ep_96", ca = "_iconBtn_n65ep_296", la = "_iconBtnInteractive_n65ep_302", da = "_iconImg_n65ep_321", ua = "_checkboxRow_n65ep_327", ma = "_checkbox_n65ep_327", ha = "_checkboxText_n65ep_365", s = {
|
|
1116
1116
|
wrap: Rn,
|
|
1117
1117
|
card: In,
|
|
1118
1118
|
cardInner: $n,
|
|
@@ -1121,8 +1121,8 @@ const jn = "_header_1414z_1", wn = "_left_1414z_7", Nn = "_backBtn_1414z_11", Pn
|
|
|
1121
1121
|
label: Dn,
|
|
1122
1122
|
req: Bn,
|
|
1123
1123
|
help: Fn,
|
|
1124
|
-
infoBtn:
|
|
1125
|
-
infoImg:
|
|
1124
|
+
infoBtn: Mn,
|
|
1125
|
+
infoImg: Un,
|
|
1126
1126
|
infoWrap: qn,
|
|
1127
1127
|
tooltip: Wn,
|
|
1128
1128
|
tooltipArrow: Kn,
|
|
@@ -1210,21 +1210,21 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1210
1210
|
sessionToken: j.current ?? void 0
|
|
1211
1211
|
};
|
|
1212
1212
|
d && (E.componentRestrictions = { country: d });
|
|
1213
|
-
const
|
|
1213
|
+
const B = await new Promise((C, G) => {
|
|
1214
1214
|
k.current.getPlacePredictions(
|
|
1215
1215
|
E,
|
|
1216
1216
|
(U, V) => {
|
|
1217
|
-
V === google.maps.places.PlacesServiceStatus.OK && U ?
|
|
1217
|
+
V === google.maps.places.PlacesServiceStatus.OK && U ? C(U) : V === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? C([]) : G(new Error(`Places API error: ${V}`));
|
|
1218
1218
|
}
|
|
1219
1219
|
);
|
|
1220
1220
|
});
|
|
1221
1221
|
m(
|
|
1222
|
-
|
|
1223
|
-
place_id:
|
|
1224
|
-
description:
|
|
1222
|
+
B.map((C) => ({
|
|
1223
|
+
place_id: C.place_id,
|
|
1224
|
+
description: C.description,
|
|
1225
1225
|
structured_formatting: {
|
|
1226
|
-
main_text:
|
|
1227
|
-
secondary_text:
|
|
1226
|
+
main_text: C.structured_formatting?.main_text || C.description,
|
|
1227
|
+
secondary_text: C.structured_formatting?.secondary_text || ""
|
|
1228
1228
|
}
|
|
1229
1229
|
}))
|
|
1230
1230
|
);
|
|
@@ -1240,28 +1240,28 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1240
1240
|
if (!T.current) return null;
|
|
1241
1241
|
try {
|
|
1242
1242
|
const E = await new Promise(
|
|
1243
|
-
(
|
|
1243
|
+
(L, H) => {
|
|
1244
1244
|
T.current.getDetails(
|
|
1245
1245
|
{
|
|
1246
1246
|
placeId: w,
|
|
1247
1247
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1248
1248
|
sessionToken: j.current ?? void 0
|
|
1249
1249
|
},
|
|
1250
|
-
(
|
|
1251
|
-
Y === google.maps.places.PlacesServiceStatus.OK &&
|
|
1250
|
+
(q, Y) => {
|
|
1251
|
+
Y === google.maps.places.PlacesServiceStatus.OK && q ? L(q) : H(new Error(`Place details error: ${Y}`));
|
|
1252
1252
|
}
|
|
1253
1253
|
);
|
|
1254
1254
|
}
|
|
1255
1255
|
);
|
|
1256
1256
|
j.current = new google.maps.places.AutocompleteSessionToken();
|
|
1257
|
-
const
|
|
1257
|
+
const B = E.geometry?.location?.lat() || 0, C = E.geometry?.location?.lng() || 0;
|
|
1258
1258
|
let G = "", U = "", V = "";
|
|
1259
|
-
return E.address_components?.forEach((
|
|
1260
|
-
|
|
1259
|
+
return E.address_components?.forEach((L) => {
|
|
1260
|
+
L.types.includes("locality") && (G = L.long_name), L.types.includes("administrative_area_level_1") && (U = L.long_name), L.types.includes("country") && (V = L.long_name);
|
|
1261
1261
|
}), {
|
|
1262
1262
|
display_name: E.formatted_address || "",
|
|
1263
|
-
lat:
|
|
1264
|
-
lng:
|
|
1263
|
+
lat: B,
|
|
1264
|
+
lng: C,
|
|
1265
1265
|
city: G,
|
|
1266
1266
|
state: U,
|
|
1267
1267
|
country: V
|
|
@@ -1271,7 +1271,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1271
1271
|
}
|
|
1272
1272
|
},
|
|
1273
1273
|
[]
|
|
1274
|
-
),
|
|
1274
|
+
), O = Pe(() => m([]), []);
|
|
1275
1275
|
return {
|
|
1276
1276
|
isLoaded: o,
|
|
1277
1277
|
predictions: p,
|
|
@@ -1279,7 +1279,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1279
1279
|
loadError: _,
|
|
1280
1280
|
searchPlaces: x,
|
|
1281
1281
|
getPlaceDetails: y,
|
|
1282
|
-
clearPredictions:
|
|
1282
|
+
clearPredictions: O
|
|
1283
1283
|
};
|
|
1284
1284
|
}, _a = {}, we = {
|
|
1285
1285
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
@@ -1305,23 +1305,23 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1305
1305
|
}[a]?.());
|
|
1306
1306
|
}, k = (a) => a.replace(/\D/g, "").slice(0, 10), T = W(null);
|
|
1307
1307
|
W(null);
|
|
1308
|
-
const j = W(null), x = W(0), y = W(null), [
|
|
1308
|
+
const j = W(null), x = W(0), y = W(null), [O, w] = K(!1), [E, B] = K({ hour12: 12, minute: "00", meridiem: "AM" }), C = (a) => String(a).padStart(2, "0"), G = (a) => {
|
|
1309
1309
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1310
1310
|
if (!h) return a;
|
|
1311
|
-
const
|
|
1312
|
-
return `${
|
|
1311
|
+
const $ = Number(h[1]), ee = h[2], de = $ >= 12 ? "PM" : "AM";
|
|
1312
|
+
return `${$ % 12 === 0 ? 12 : $ % 12}:${ee} ${de}`;
|
|
1313
1313
|
}, U = (a) => {
|
|
1314
1314
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1315
1315
|
if (!h) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1316
|
-
const
|
|
1317
|
-
return { hour12:
|
|
1316
|
+
const $ = Number(h[1]), ee = h[2], de = $ >= 12 ? "PM" : "AM";
|
|
1317
|
+
return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: ee, meridiem: de };
|
|
1318
1318
|
}, V = (a) => {
|
|
1319
|
-
const h = Math.min(12, Math.max(1, a.hour12)),
|
|
1320
|
-
let
|
|
1321
|
-
return a.meridiem === "PM" && (
|
|
1322
|
-
},
|
|
1319
|
+
const h = Math.min(12, Math.max(1, a.hour12)), $ = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1320
|
+
let ee = h % 12;
|
|
1321
|
+
return a.meridiem === "PM" && (ee += 12), `${C(ee)}:${$}`;
|
|
1322
|
+
}, L = W(null), [H, q] = K(!1), [Y, F] = K(
|
|
1323
1323
|
null
|
|
1324
|
-
), z = o ?? _a?.VITE_GOOGLE_MAPS_API_KEY,
|
|
1324
|
+
), z = o ?? _a?.VITE_GOOGLE_MAPS_API_KEY, ae = (r.birthPlace ?? "").trim(), xe = l ? void 0 : "in", ye = "en", {
|
|
1325
1325
|
predictions: me,
|
|
1326
1326
|
isSearching: he,
|
|
1327
1327
|
loadError: fe,
|
|
@@ -1334,20 +1334,20 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1334
1334
|
});
|
|
1335
1335
|
X(() => {
|
|
1336
1336
|
const a = (h) => {
|
|
1337
|
-
|
|
1337
|
+
L.current && (L.current.contains(h.target) || q(!1));
|
|
1338
1338
|
};
|
|
1339
1339
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1340
1340
|
}, []), X(() => {
|
|
1341
1341
|
if (!H) return;
|
|
1342
|
-
if (
|
|
1342
|
+
if (ae.length < 2) {
|
|
1343
1343
|
ie();
|
|
1344
1344
|
return;
|
|
1345
1345
|
}
|
|
1346
1346
|
const a = window.setTimeout(async () => {
|
|
1347
|
-
await pe(
|
|
1347
|
+
await pe(ae);
|
|
1348
1348
|
}, 250);
|
|
1349
1349
|
return () => window.clearTimeout(a);
|
|
1350
|
-
}, [ie, H,
|
|
1350
|
+
}, [ie, H, ae, pe]);
|
|
1351
1351
|
const _e = (a) => {
|
|
1352
1352
|
const h = a.current;
|
|
1353
1353
|
if (!(!h || h.disabled)) {
|
|
@@ -1368,10 +1368,10 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1368
1368
|
};
|
|
1369
1369
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1370
1370
|
}, []), X(() => {
|
|
1371
|
-
const a = (
|
|
1372
|
-
|
|
1373
|
-
}, h = (
|
|
1374
|
-
|
|
1371
|
+
const a = ($) => {
|
|
1372
|
+
$.target?.closest?.("[data-info-tooltip]") == null && F(null);
|
|
1373
|
+
}, h = ($) => {
|
|
1374
|
+
$.key === "Escape" && F(null);
|
|
1375
1375
|
};
|
|
1376
1376
|
return document.addEventListener("mousedown", a), document.addEventListener("keydown", h), () => {
|
|
1377
1377
|
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", h);
|
|
@@ -1467,7 +1467,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1467
1467
|
"aria-label": n("info"),
|
|
1468
1468
|
"aria-expanded": Y === "dob",
|
|
1469
1469
|
onClick: () => {
|
|
1470
|
-
|
|
1470
|
+
F((a) => a === "dob" ? null : "dob"), m?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1471
1471
|
},
|
|
1472
1472
|
children: /* @__PURE__ */ e.jsx(
|
|
1473
1473
|
"img",
|
|
@@ -1495,9 +1495,13 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1495
1495
|
type: "date",
|
|
1496
1496
|
ref: T,
|
|
1497
1497
|
value: r.dateOfBirth,
|
|
1498
|
+
max: (() => {
|
|
1499
|
+
const a = /* @__PURE__ */ new Date();
|
|
1500
|
+
return `${a.getFullYear()}-${C(a.getMonth() + 1)}-${C(a.getDate())}`;
|
|
1501
|
+
})(),
|
|
1498
1502
|
onChange: (a) => {
|
|
1499
|
-
const h = a.target.value
|
|
1500
|
-
_({ dateOfBirth: h }), g("dateOfBirth", h), j.current = null;
|
|
1503
|
+
const h = a.target.value, $ = /* @__PURE__ */ new Date(), ee = `${$.getFullYear()}-${C($.getMonth() + 1)}-${C($.getDate())}`;
|
|
1504
|
+
h && h > ee || (_({ dateOfBirth: h }), g("dateOfBirth", h), j.current = null);
|
|
1501
1505
|
},
|
|
1502
1506
|
onFocus: () => m?.trackDobClicked?.(),
|
|
1503
1507
|
onClick: () => _e(T),
|
|
@@ -1544,7 +1548,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1544
1548
|
"aria-label": n("info"),
|
|
1545
1549
|
"aria-expanded": Y === "time",
|
|
1546
1550
|
onClick: () => {
|
|
1547
|
-
m?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
1551
|
+
m?.trackInfoIconClicked?.({ fieldName: "time" }), F((a) => a === "time" ? null : "time");
|
|
1548
1552
|
},
|
|
1549
1553
|
children: /* @__PURE__ */ e.jsx(
|
|
1550
1554
|
"img",
|
|
@@ -1580,7 +1584,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1580
1584
|
disabled: r.birthTimeUnknown,
|
|
1581
1585
|
placeholder: "HH:MM AM",
|
|
1582
1586
|
onClick: () => {
|
|
1583
|
-
r.birthTimeUnknown || (
|
|
1587
|
+
r.birthTimeUnknown || (B(U(r.birthTime || "12:00")), w((a) => !a));
|
|
1584
1588
|
}
|
|
1585
1589
|
}
|
|
1586
1590
|
),
|
|
@@ -1593,7 +1597,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1593
1597
|
disabled: r.birthTimeUnknown,
|
|
1594
1598
|
onMouseDown: (a) => a.preventDefault(),
|
|
1595
1599
|
onClick: (a) => {
|
|
1596
|
-
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (
|
|
1600
|
+
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (B(U(r.birthTime || "12:00")), w((h) => !h));
|
|
1597
1601
|
},
|
|
1598
1602
|
children: /* @__PURE__ */ e.jsx(
|
|
1599
1603
|
"img",
|
|
@@ -1606,7 +1610,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1606
1610
|
)
|
|
1607
1611
|
}
|
|
1608
1612
|
),
|
|
1609
|
-
|
|
1613
|
+
O && !r.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
1610
1614
|
"div",
|
|
1611
1615
|
{
|
|
1612
1616
|
className: s.timePopover,
|
|
@@ -1619,7 +1623,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1619
1623
|
{
|
|
1620
1624
|
className: s.timePickerSelect,
|
|
1621
1625
|
value: E.hour12,
|
|
1622
|
-
onChange: (a) =>
|
|
1626
|
+
onChange: (a) => B((h) => ({
|
|
1623
1627
|
...h,
|
|
1624
1628
|
hour12: Number(a.target.value)
|
|
1625
1629
|
})),
|
|
@@ -1633,9 +1637,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1633
1637
|
{
|
|
1634
1638
|
className: s.timePickerSelect,
|
|
1635
1639
|
value: E.minute,
|
|
1636
|
-
onChange: (a) =>
|
|
1640
|
+
onChange: (a) => B((h) => ({ ...h, minute: a.target.value })),
|
|
1637
1641
|
"aria-label": "Minute",
|
|
1638
|
-
children: Array.from({ length: 60 }, (a, h) =>
|
|
1642
|
+
children: Array.from({ length: 60 }, (a, h) => C(h)).map(
|
|
1639
1643
|
(a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
|
|
1640
1644
|
)
|
|
1641
1645
|
}
|
|
@@ -1646,7 +1650,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1646
1650
|
{
|
|
1647
1651
|
type: "button",
|
|
1648
1652
|
className: `${s.meridiemBtn} ${E.meridiem === "AM" ? s.meridiemActive : ""}`,
|
|
1649
|
-
onClick: () =>
|
|
1653
|
+
onClick: () => B((a) => ({ ...a, meridiem: "AM" })),
|
|
1650
1654
|
children: "AM"
|
|
1651
1655
|
}
|
|
1652
1656
|
),
|
|
@@ -1655,7 +1659,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1655
1659
|
{
|
|
1656
1660
|
type: "button",
|
|
1657
1661
|
className: `${s.meridiemBtn} ${E.meridiem === "PM" ? s.meridiemActive : ""}`,
|
|
1658
|
-
onClick: () =>
|
|
1662
|
+
onClick: () => B((a) => ({ ...a, meridiem: "PM" })),
|
|
1659
1663
|
children: "PM"
|
|
1660
1664
|
}
|
|
1661
1665
|
)
|
|
@@ -1753,7 +1757,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1753
1757
|
"aria-label": n("info"),
|
|
1754
1758
|
"aria-expanded": Y === "place",
|
|
1755
1759
|
onClick: () => {
|
|
1756
|
-
m?.trackInfoIconClicked?.({ fieldName: "birthPlace" }),
|
|
1760
|
+
m?.trackInfoIconClicked?.({ fieldName: "birthPlace" }), F((a) => a === "place" ? null : "place");
|
|
1757
1761
|
},
|
|
1758
1762
|
children: /* @__PURE__ */ e.jsx(
|
|
1759
1763
|
"img",
|
|
@@ -1772,7 +1776,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1772
1776
|
] })
|
|
1773
1777
|
] })
|
|
1774
1778
|
] }),
|
|
1775
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1779
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: L, children: [
|
|
1776
1780
|
/* @__PURE__ */ e.jsx(
|
|
1777
1781
|
"input",
|
|
1778
1782
|
{
|
|
@@ -1782,10 +1786,10 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1782
1786
|
value: r.birthPlace,
|
|
1783
1787
|
onChange: (a) => {
|
|
1784
1788
|
const h = a.target.value;
|
|
1785
|
-
_({ birthPlace: h }), g("birthPlace", h),
|
|
1789
|
+
_({ birthPlace: h }), g("birthPlace", h), q(!0);
|
|
1786
1790
|
},
|
|
1787
1791
|
onFocus: () => {
|
|
1788
|
-
m?.trackPlaceOfBirthClicked?.(),
|
|
1792
|
+
m?.trackPlaceOfBirthClicked?.(), q(!0);
|
|
1789
1793
|
},
|
|
1790
1794
|
placeholder: n("formBirthPlacePlaceholder"),
|
|
1791
1795
|
autoComplete: "address-level2"
|
|
@@ -1806,7 +1810,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1806
1810
|
type: "button",
|
|
1807
1811
|
className: s.suggestionItem,
|
|
1808
1812
|
onClick: () => {
|
|
1809
|
-
_({ birthPlace: a.description }), ie(),
|
|
1813
|
+
_({ birthPlace: a.description }), ie(), q(!1);
|
|
1810
1814
|
},
|
|
1811
1815
|
children: [
|
|
1812
1816
|
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: a.structured_formatting?.main_text ?? a.description }),
|
|
@@ -1822,7 +1826,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1822
1826
|
] }) })
|
|
1823
1827
|
}
|
|
1824
1828
|
);
|
|
1825
|
-
}, ba = "_footer_15g1k_1", va = "_inner_15g1k_7", xa = "_badges_15g1k_11", ya = "_marqueeTrack_15g1k_18", ka = "_marqueeContent_15g1k_24", ja = "_badge_15g1k_11", wa = "_badgeIcon_15g1k_47", Na = "_ctaWrap_15g1k_51", Pa = "_ctaStruck_15g1k_55", Ta = "_ctaButton_15g1k_61", Aa = "_offerRow_15g1k_81", Ea = "_pill_15g1k_88",
|
|
1829
|
+
}, ba = "_footer_15g1k_1", va = "_inner_15g1k_7", xa = "_badges_15g1k_11", ya = "_marqueeTrack_15g1k_18", ka = "_marqueeContent_15g1k_24", ja = "_badge_15g1k_11", wa = "_badgeIcon_15g1k_47", Na = "_ctaWrap_15g1k_51", Pa = "_ctaStruck_15g1k_55", Ta = "_ctaButton_15g1k_61", Aa = "_offerRow_15g1k_81", Ea = "_pill_15g1k_88", R = {
|
|
1826
1830
|
footer: ba,
|
|
1827
1831
|
inner: va,
|
|
1828
1832
|
badges: xa,
|
|
@@ -1839,9 +1843,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1839
1843
|
marquee: n,
|
|
1840
1844
|
children: r,
|
|
1841
1845
|
className: c = ""
|
|
1842
|
-
}) => /* @__PURE__ */ e.jsx("footer", { className: `${
|
|
1843
|
-
n != null && /* @__PURE__ */ e.jsx("div", { className:
|
|
1844
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1846
|
+
}) => /* @__PURE__ */ e.jsx("footer", { className: `${R.footer} ${c}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: R.inner, children: [
|
|
1847
|
+
n != null && /* @__PURE__ */ e.jsx("div", { className: R.badges, "aria-hidden": !0, children: n }),
|
|
1848
|
+
/* @__PURE__ */ e.jsx("div", { className: R.ctaWrap, children: r })
|
|
1845
1849
|
] }) }), Pt = ({
|
|
1846
1850
|
children: n,
|
|
1847
1851
|
href: r,
|
|
@@ -1850,7 +1854,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1850
1854
|
className: o = "",
|
|
1851
1855
|
"aria-label": f
|
|
1852
1856
|
}) => {
|
|
1853
|
-
const p = `${
|
|
1857
|
+
const p = `${R.ctaButton} ${o}`.trim(), m = f != null ? { "aria-label": f } : {};
|
|
1854
1858
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1855
1859
|
"a",
|
|
1856
1860
|
{
|
|
@@ -1893,13 +1897,13 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1893
1897
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1894
1898
|
}, [_, r]), k = _ ? p ?? n("formOriginalPrice") : "₹999", T = _ ? m ?? n("formDiscountedPrice") : "₹249", j = l ?? n("formDiscountPill"), x = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1895
1899
|
n("formProceed"),
|
|
1896
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1900
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: k }),
|
|
1897
1901
|
" ",
|
|
1898
1902
|
T
|
|
1899
1903
|
] }), y = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1900
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1904
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.offerRow, children: [
|
|
1901
1905
|
/* @__PURE__ */ e.jsx("span", { children: n("formOfferEnding") }),
|
|
1902
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1906
|
+
/* @__PURE__ */ e.jsx("span", { className: R.pill, children: j })
|
|
1903
1907
|
] }),
|
|
1904
1908
|
/* @__PURE__ */ e.jsx(
|
|
1905
1909
|
Pt,
|
|
@@ -1915,7 +1919,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1915
1919
|
)
|
|
1916
1920
|
] });
|
|
1917
1921
|
return /* @__PURE__ */ e.jsx(Nt, { className: f, children: y });
|
|
1918
|
-
}, Ia = "_header_dbx4y_1", $a = "_brand_dbx4y_7", Oa = "_logo_dbx4y_11", La = "_logoImg_dbx4y_15", Da = "_logoPlaceholder_dbx4y_21", Ba = "_brandText_dbx4y_29", Fa = "_brandName_dbx4y_33",
|
|
1922
|
+
}, Ia = "_header_dbx4y_1", $a = "_brand_dbx4y_7", Oa = "_logo_dbx4y_11", La = "_logoImg_dbx4y_15", Da = "_logoPlaceholder_dbx4y_21", Ba = "_brandText_dbx4y_29", Fa = "_brandName_dbx4y_33", Ma = "_rating_dbx4y_38", Ua = "_stars_dbx4y_44", qa = "_langSlot_dbx4y_49", oe = {
|
|
1919
1923
|
header: Ia,
|
|
1920
1924
|
brand: $a,
|
|
1921
1925
|
logo: Oa,
|
|
@@ -1923,8 +1927,8 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1923
1927
|
logoPlaceholder: Da,
|
|
1924
1928
|
brandText: Ba,
|
|
1925
1929
|
brandName: Fa,
|
|
1926
|
-
rating:
|
|
1927
|
-
stars:
|
|
1930
|
+
rating: Ma,
|
|
1931
|
+
stars: Ua,
|
|
1928
1932
|
langSlot: qa
|
|
1929
1933
|
}, Wa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Tt = ({
|
|
1930
1934
|
t: n,
|
|
@@ -2038,7 +2042,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2038
2042
|
}) => /* @__PURE__ */ e.jsxs("section", { className: `${Ye.section} ${c}`, "aria-labelledby": "certified-heading", children: [
|
|
2039
2043
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: Ye.heading, children: n("certifiedBy") }),
|
|
2040
2044
|
/* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className: Ye.logoImg })
|
|
2041
|
-
] }), br = "_section_fw00n_1", vr = "_heading_fw00n_6", xr = "_subtitle_fw00n_12", yr = "_stepList_fw00n_17", kr = "_stepItem_fw00n_21", jr = "_stepNumber_fw00n_25", wr = "_stepText_fw00n_31", Nr = "_step3Days_fw00n_36",
|
|
2045
|
+
] }), br = "_section_fw00n_1", vr = "_heading_fw00n_6", xr = "_subtitle_fw00n_12", yr = "_stepList_fw00n_17", kr = "_stepItem_fw00n_21", jr = "_stepNumber_fw00n_25", wr = "_stepText_fw00n_31", Nr = "_step3Days_fw00n_36", ne = {
|
|
2042
2046
|
section: br,
|
|
2043
2047
|
heading: vr,
|
|
2044
2048
|
subtitle: xr,
|
|
@@ -2054,25 +2058,25 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2054
2058
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2055
2059
|
"section",
|
|
2056
2060
|
{
|
|
2057
|
-
className: `${
|
|
2061
|
+
className: `${ne.section} ${c}`,
|
|
2058
2062
|
"aria-labelledby": "steps-heading",
|
|
2059
2063
|
children: [
|
|
2060
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2061
|
-
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className:
|
|
2062
|
-
/* @__PURE__ */ e.jsxs("ol", { className:
|
|
2063
|
-
Pr.map((d, o) => /* @__PURE__ */ e.jsxs("li", { className:
|
|
2064
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2065
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2064
|
+
/* @__PURE__ */ e.jsx("p", { className: ne.heading, children: n("yourThreeSteps") }),
|
|
2065
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ne.subtitle, children: n("threeStepsSubtitle") }),
|
|
2066
|
+
/* @__PURE__ */ e.jsxs("ol", { className: ne.stepList, children: [
|
|
2067
|
+
Pr.map((d, o) => /* @__PURE__ */ e.jsxs("li", { className: ne.stepItem, children: [
|
|
2068
|
+
/* @__PURE__ */ e.jsx("span", { className: ne.stepNumber, "aria-hidden": !0, children: o + 1 }),
|
|
2069
|
+
/* @__PURE__ */ e.jsx("span", { className: ne.stepText, children: n(d) })
|
|
2066
2070
|
] }, d)),
|
|
2067
|
-
/* @__PURE__ */ e.jsxs("li", { className:
|
|
2068
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2069
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2071
|
+
/* @__PURE__ */ e.jsxs("li", { className: ne.stepItem, children: [
|
|
2072
|
+
/* @__PURE__ */ e.jsx("span", { className: ne.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
2073
|
+
/* @__PURE__ */ e.jsxs("span", { className: ne.stepText, children: [
|
|
2070
2074
|
n("step3Intro"),
|
|
2071
2075
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2072
2076
|
r === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2073
2077
|
"in ",
|
|
2074
|
-
/* @__PURE__ */ e.jsx("strong", { className:
|
|
2075
|
-
] }) : /* @__PURE__ */ e.jsx("strong", { className:
|
|
2078
|
+
/* @__PURE__ */ e.jsx("strong", { className: ne.step3Days, children: n("step3Days") })
|
|
2079
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: ne.step3Days, children: n("step3Days") })
|
|
2076
2080
|
] })
|
|
2077
2081
|
] })
|
|
2078
2082
|
] })
|
|
@@ -2165,9 +2169,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2165
2169
|
}
|
|
2166
2170
|
)
|
|
2167
2171
|
] });
|
|
2168
|
-
},
|
|
2169
|
-
section:
|
|
2170
|
-
heading:
|
|
2172
|
+
}, Mr = "_section_12x0j_1", Ur = "_heading_12x0j_5", qr = "_list_12x0j_10", Wr = "_item_12x0j_14", Kr = "_imageWrap_12x0j_18", Hr = "_image_12x0j_18", Yr = "_imagePlaceholder_12x0j_27", Gr = "_text_12x0j_33", Vr = "_itemTitle_12x0j_37", zr = "_itemDesc_12x0j_48", ce = {
|
|
2173
|
+
section: Mr,
|
|
2174
|
+
heading: Ur,
|
|
2171
2175
|
list: qr,
|
|
2172
2176
|
item: Wr,
|
|
2173
2177
|
imageWrap: Kr,
|
|
@@ -2448,9 +2452,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2448
2452
|
]
|
|
2449
2453
|
}
|
|
2450
2454
|
);
|
|
2451
|
-
},
|
|
2452
|
-
section:
|
|
2453
|
-
heading:
|
|
2455
|
+
}, Mi = "_section_aphm8_1", Ui = "_heading_aphm8_6", qi = "_content_aphm8_11", Wi = "_line_aphm8_16", Ki = "_brandName_aphm8_20", Ne = {
|
|
2456
|
+
section: Mi,
|
|
2457
|
+
heading: Ui,
|
|
2454
2458
|
content: qi,
|
|
2455
2459
|
line: Wi,
|
|
2456
2460
|
brandName: Ki
|
|
@@ -2470,32 +2474,32 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2470
2474
|
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com", p) })
|
|
2471
2475
|
] })
|
|
2472
2476
|
] });
|
|
2473
|
-
}, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", gt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Yi = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2474
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2475
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2476
|
-
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className:
|
|
2477
|
+
}, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", gt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Yi = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: R.marqueeTrack, children: [
|
|
2478
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, children: [
|
|
2479
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2480
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2477
2481
|
n("ctaKundliCreated")
|
|
2478
2482
|
] }),
|
|
2479
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2480
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2483
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2484
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2481
2485
|
n("ctaCertified")
|
|
2482
2486
|
] }),
|
|
2483
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2484
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2487
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2488
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2485
2489
|
n("ctaSecurePayment")
|
|
2486
2490
|
] })
|
|
2487
2491
|
] }),
|
|
2488
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2489
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2490
|
-
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className:
|
|
2492
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, "aria-hidden": !0, children: [
|
|
2493
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2494
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2491
2495
|
n("ctaKundliCreated")
|
|
2492
2496
|
] }),
|
|
2493
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2494
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2497
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2498
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2495
2499
|
n("ctaCertified")
|
|
2496
2500
|
] }),
|
|
2497
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2498
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2501
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2502
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2499
2503
|
n("ctaSecurePayment")
|
|
2500
2504
|
] })
|
|
2501
2505
|
] })
|
|
@@ -2507,7 +2511,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2507
2511
|
}) => {
|
|
2508
2512
|
const o = Ie(), f = o?.config.isGlobal ?? !0, p = f ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", m = f ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2509
2513
|
n("ctaButtonBefore"),
|
|
2510
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2514
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: p }),
|
|
2511
2515
|
" ",
|
|
2512
2516
|
m
|
|
2513
2517
|
] });
|
|
@@ -2541,7 +2545,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2541
2545
|
googleMapsApiKey: _ = zi,
|
|
2542
2546
|
analytics: g
|
|
2543
2547
|
}) => {
|
|
2544
|
-
const k = Ie(), T = jt(), j = k !== null, x = j ? k.locale : r, y = x ?? T?.locale ?? "en", [
|
|
2548
|
+
const k = Ie(), T = jt(), j = k !== null, x = j ? k.locale : r, y = x ?? T?.locale ?? "en", [O, w] = K(y), E = j ? k.locale : O, B = j ? k.setLocale : w, [C, G] = K(!1), U = W(null), V = W(x), L = W(
|
|
2545
2549
|
T?.locale
|
|
2546
2550
|
);
|
|
2547
2551
|
X(() => {
|
|
@@ -2549,24 +2553,24 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2549
2553
|
}, []);
|
|
2550
2554
|
const H = (a) => Qi(E, a);
|
|
2551
2555
|
X(() => {
|
|
2552
|
-
x && V.current !== x &&
|
|
2553
|
-
}, [x,
|
|
2556
|
+
x && V.current !== x && B(x), V.current = x;
|
|
2557
|
+
}, [x, B]), X(() => {
|
|
2554
2558
|
if (x) return;
|
|
2555
2559
|
const a = T?.locale;
|
|
2556
|
-
a &&
|
|
2557
|
-
}, [T?.locale, x,
|
|
2558
|
-
const [
|
|
2560
|
+
a && L.current !== a && B(a), L.current = a;
|
|
2561
|
+
}, [T?.locale, x, B]);
|
|
2562
|
+
const [q, Y] = K({
|
|
2559
2563
|
...Ji,
|
|
2560
2564
|
...o,
|
|
2561
2565
|
phone: o?.phone ?? ""
|
|
2562
|
-
}),
|
|
2566
|
+
}), F = j ? k.formValues : q, z = j ? k.setFormValues : Y, ae = j ? k.goToPage : d, xe = j ? k.onProceed : f, ye = j ? k.config.proceedHref : p, me = j ? k.config.originalPriceLabel : m, he = j ? k.config.discountedPriceLabel : l, fe = j ? k.config.discountPillLabel : v, pe = j ? k.config.showLanguageSelector ?? !0 : c, ie = (j ? k?.config?.analytics : g) ?? g;
|
|
2563
2567
|
X(() => {
|
|
2564
|
-
if (!
|
|
2568
|
+
if (!C) return;
|
|
2565
2569
|
const a = (h) => {
|
|
2566
2570
|
U.current && !U.current.contains(h.target) && G(!1);
|
|
2567
2571
|
};
|
|
2568
2572
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2569
|
-
}, [
|
|
2573
|
+
}, [C]);
|
|
2570
2574
|
const _e = pe ? /* @__PURE__ */ e.jsxs("div", { className: se.langDropdownWrap, ref: U, children: [
|
|
2571
2575
|
/* @__PURE__ */ e.jsxs(
|
|
2572
2576
|
"button",
|
|
@@ -2576,7 +2580,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2576
2580
|
onClick: () => {
|
|
2577
2581
|
ie?.trackLanguageClickedFe?.({ language: E }), G((a) => !a);
|
|
2578
2582
|
},
|
|
2579
|
-
"aria-expanded":
|
|
2583
|
+
"aria-expanded": C,
|
|
2580
2584
|
"aria-haspopup": "listbox",
|
|
2581
2585
|
id: "kundli-form-lang",
|
|
2582
2586
|
"aria-label": H("language"),
|
|
@@ -2592,11 +2596,11 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2592
2596
|
"aria-hidden": !0
|
|
2593
2597
|
}
|
|
2594
2598
|
),
|
|
2595
|
-
/* @__PURE__ */ e.jsx("span", { className: se.langLabel, children:
|
|
2599
|
+
/* @__PURE__ */ e.jsx("span", { className: se.langLabel, children: Me[E] })
|
|
2596
2600
|
]
|
|
2597
2601
|
}
|
|
2598
2602
|
),
|
|
2599
|
-
|
|
2603
|
+
C && /* @__PURE__ */ e.jsx(
|
|
2600
2604
|
"ul",
|
|
2601
2605
|
{
|
|
2602
2606
|
className: se.langMenu,
|
|
@@ -2611,9 +2615,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2611
2615
|
"aria-selected": a === E,
|
|
2612
2616
|
className: se.langOption,
|
|
2613
2617
|
onClick: () => {
|
|
2614
|
-
ie?.trackLanguageChangedFe?.({ newLanguage: a }),
|
|
2618
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: a }), B(a), G(!1);
|
|
2615
2619
|
},
|
|
2616
|
-
children:
|
|
2620
|
+
children: Me[a]
|
|
2617
2621
|
},
|
|
2618
2622
|
a
|
|
2619
2623
|
))
|
|
@@ -2632,12 +2636,12 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2632
2636
|
),
|
|
2633
2637
|
/* @__PURE__ */ e.jsx("div", { className: se.headerSeparator, "aria-hidden": !0 }),
|
|
2634
2638
|
/* @__PURE__ */ e.jsxs("main", { className: se.main, children: [
|
|
2635
|
-
/* @__PURE__ */ e.jsx(Sn, { t: H, onBack:
|
|
2639
|
+
/* @__PURE__ */ e.jsx(Sn, { t: H, onBack: ae }),
|
|
2636
2640
|
/* @__PURE__ */ e.jsx(
|
|
2637
2641
|
ga,
|
|
2638
2642
|
{
|
|
2639
2643
|
t: H,
|
|
2640
|
-
values:
|
|
2644
|
+
values: F,
|
|
2641
2645
|
onChange: z,
|
|
2642
2646
|
googleMapsApiKey: _
|
|
2643
2647
|
}
|
|
@@ -2647,7 +2651,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2647
2651
|
Ra,
|
|
2648
2652
|
{
|
|
2649
2653
|
t: H,
|
|
2650
|
-
values:
|
|
2654
|
+
values: F,
|
|
2651
2655
|
onProceed: xe,
|
|
2652
2656
|
href: ye,
|
|
2653
2657
|
originalPriceLabel: me,
|
|
@@ -2701,8 +2705,8 @@ function as({ className: n }) {
|
|
|
2701
2705
|
y && _.current !== y && d(y), _.current = y;
|
|
2702
2706
|
}, [r?.locale, o.locale, d]), X(() => {
|
|
2703
2707
|
if (!p) return;
|
|
2704
|
-
const y = (
|
|
2705
|
-
l.current && !l.current.contains(
|
|
2708
|
+
const y = (O) => {
|
|
2709
|
+
l.current && !l.current.contains(O.target) && m(!1);
|
|
2706
2710
|
};
|
|
2707
2711
|
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
2708
2712
|
}, [p]);
|
|
@@ -2731,7 +2735,7 @@ function as({ className: n }) {
|
|
|
2731
2735
|
"aria-hidden": !0
|
|
2732
2736
|
}
|
|
2733
2737
|
),
|
|
2734
|
-
/* @__PURE__ */ e.jsx("span", { className: ue.langLabel, children:
|
|
2738
|
+
/* @__PURE__ */ e.jsx("span", { className: ue.langLabel, children: Me[c] })
|
|
2735
2739
|
]
|
|
2736
2740
|
}
|
|
2737
2741
|
),
|
|
@@ -2752,15 +2756,15 @@ function as({ className: n }) {
|
|
|
2752
2756
|
onClick: () => {
|
|
2753
2757
|
o.analytics?.trackLanguageChangedFe?.({ newLanguage: y }), d(y), m(!1);
|
|
2754
2758
|
},
|
|
2755
|
-
children:
|
|
2759
|
+
children: Me[y]
|
|
2756
2760
|
},
|
|
2757
2761
|
y
|
|
2758
2762
|
))
|
|
2759
2763
|
}
|
|
2760
2764
|
)
|
|
2761
2765
|
] }) : null, j = (y) => {
|
|
2762
|
-
const
|
|
2763
|
-
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText:
|
|
2766
|
+
const O = y.currentTarget.innerText?.trim() ?? g("ctaButtonAfter");
|
|
2767
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: O }), f(), o.onCtaClick?.();
|
|
2764
2768
|
}, x = Pe(
|
|
2765
2769
|
(y) => {
|
|
2766
2770
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
@@ -2910,7 +2914,7 @@ const ss = ({
|
|
|
2910
2914
|
proceedHref: j,
|
|
2911
2915
|
originalPriceLabel: x,
|
|
2912
2916
|
discountedPriceLabel: y,
|
|
2913
|
-
discountPillLabel:
|
|
2917
|
+
discountPillLabel: O,
|
|
2914
2918
|
analytics: w,
|
|
2915
2919
|
onLocaleChange: E
|
|
2916
2920
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2932,7 +2936,7 @@ const ss = ({
|
|
|
2932
2936
|
proceedHref: j,
|
|
2933
2937
|
originalPriceLabel: x,
|
|
2934
2938
|
discountedPriceLabel: y,
|
|
2935
|
-
discountPillLabel:
|
|
2939
|
+
discountPillLabel: O,
|
|
2936
2940
|
analytics: w,
|
|
2937
2941
|
onLocaleChange: E,
|
|
2938
2942
|
children: /* @__PURE__ */ e.jsx(ns, { className: n })
|