@srimandir/kundli-generator 3.0.45 → 3.0.47
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,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FormSectionHeader as Qt, footerShellStyles as ae, FooterCTAButton as
|
|
1
|
+
import Ge, { createContext as _t, useContext as He, useState as K, useRef as U, useEffect as W, useMemo as We, useCallback as Pe } from "react";
|
|
2
|
+
import { FormSectionHeader as Qt, footerShellStyles as ae, FooterCTAButton as bt, FooterShell as vt, PageHeader as Jt, UserReviewsSection as Xt, FAQAccordion as Zt, ContactUsSection as en, CircularMarquee as tn } from "@srimandir/astrology-common";
|
|
3
3
|
import * as Se from "pdfjs-dist";
|
|
4
|
-
var De = { exports: {} },
|
|
4
|
+
var De = { exports: {} }, Ne = {};
|
|
5
5
|
var dt;
|
|
6
6
|
function nn() {
|
|
7
|
-
if (dt) return
|
|
7
|
+
if (dt) return Ne;
|
|
8
8
|
dt = 1;
|
|
9
|
-
var n =
|
|
9
|
+
var n = Ge, 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 };
|
|
10
10
|
function m(f, g, w) {
|
|
11
|
-
var k, h = {},
|
|
12
|
-
w !== void 0 && (
|
|
13
|
-
for (k in g)
|
|
11
|
+
var k, h = {}, _ = null, C = null;
|
|
12
|
+
w !== void 0 && (_ = "" + w), g.key !== void 0 && (_ = "" + g.key), g.ref !== void 0 && (C = g.ref);
|
|
13
|
+
for (k in g) d.call(g, k) && !p.hasOwnProperty(k) && (h[k] = g[k]);
|
|
14
14
|
if (f && f.defaultProps) for (k in g = f.defaultProps, g) h[k] === void 0 && (h[k] = g[k]);
|
|
15
|
-
return { $$typeof: r, type: f, key:
|
|
15
|
+
return { $$typeof: r, type: f, key: _, ref: C, props: h, _owner: o.current };
|
|
16
16
|
}
|
|
17
|
-
return
|
|
17
|
+
return Ne.Fragment = l, Ne.jsx = m, Ne.jsxs = m, Ne;
|
|
18
18
|
}
|
|
19
|
-
var
|
|
19
|
+
var Ae = {};
|
|
20
20
|
var ut;
|
|
21
21
|
function an() {
|
|
22
22
|
return ut || (ut = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
23
|
-
var n =
|
|
24
|
-
function
|
|
23
|
+
var n = Ge, 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"), m = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), g = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), k = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), _ = /* @__PURE__ */ Symbol.for("react.lazy"), C = /* @__PURE__ */ Symbol.for("react.offscreen"), x = Symbol.iterator, T = "@@iterator";
|
|
24
|
+
function N(t) {
|
|
25
25
|
if (t === null || typeof t != "object")
|
|
26
26
|
return null;
|
|
27
27
|
var i = x && t[x] || t[T];
|
|
28
28
|
return typeof i == "function" ? i : null;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var b = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
31
31
|
function v(t) {
|
|
32
32
|
{
|
|
33
33
|
for (var i = arguments.length, c = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
|
|
@@ -37,29 +37,29 @@ function an() {
|
|
|
37
37
|
}
|
|
38
38
|
function E(t, i, c) {
|
|
39
39
|
{
|
|
40
|
-
var y =
|
|
41
|
-
|
|
42
|
-
var I = c.map(function(
|
|
43
|
-
return String(
|
|
40
|
+
var y = b.ReactDebugCurrentFrame, A = y.getStackAddendum();
|
|
41
|
+
A !== "" && (i += "%s", c = c.concat([A]));
|
|
42
|
+
var I = c.map(function(P) {
|
|
43
|
+
return String(P);
|
|
44
44
|
});
|
|
45
45
|
I.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, I);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var D = !1, S = !1, M = !1,
|
|
48
|
+
var D = !1, S = !1, M = !1, q = !1, G = !1, R;
|
|
49
49
|
R = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
50
|
-
function
|
|
51
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
50
|
+
function Y(t) {
|
|
51
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === p || G || t === o || t === w || t === k || q || t === C || D || S || M || typeof t == "object" && t !== null && (t.$$typeof === _ || t.$$typeof === h || t.$$typeof === m || t.$$typeof === f || t.$$typeof === g || // This needs to include all possible module reference object
|
|
52
52
|
// types supported by any Flight configuration anywhere since
|
|
53
53
|
// we don't know which Flight build this will end up being used
|
|
54
54
|
// with.
|
|
55
55
|
t.$$typeof === R || t.getModuleId !== void 0));
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function V(t, i, c) {
|
|
58
58
|
var y = t.displayName;
|
|
59
59
|
if (y)
|
|
60
60
|
return y;
|
|
61
|
-
var
|
|
62
|
-
return
|
|
61
|
+
var A = i.displayName || i.name || "";
|
|
62
|
+
return A !== "" ? c + "(" + A + ")" : c;
|
|
63
63
|
}
|
|
64
64
|
function Q(t) {
|
|
65
65
|
return t.displayName || "Context";
|
|
@@ -72,7 +72,7 @@ function an() {
|
|
|
72
72
|
if (typeof t == "string")
|
|
73
73
|
return t;
|
|
74
74
|
switch (t) {
|
|
75
|
-
case
|
|
75
|
+
case d:
|
|
76
76
|
return "Fragment";
|
|
77
77
|
case l:
|
|
78
78
|
return "Portal";
|
|
@@ -94,14 +94,14 @@ function an() {
|
|
|
94
94
|
var c = t;
|
|
95
95
|
return Q(c._context) + ".Provider";
|
|
96
96
|
case g:
|
|
97
|
-
return
|
|
97
|
+
return V(t, t.render, "ForwardRef");
|
|
98
98
|
case h:
|
|
99
99
|
var y = t.displayName || null;
|
|
100
100
|
return y !== null ? y : F(t.type) || "Memo";
|
|
101
|
-
case
|
|
102
|
-
var
|
|
101
|
+
case _: {
|
|
102
|
+
var A = t, I = A._payload, P = A._init;
|
|
103
103
|
try {
|
|
104
|
-
return F(
|
|
104
|
+
return F(P(I));
|
|
105
105
|
} catch {
|
|
106
106
|
return null;
|
|
107
107
|
}
|
|
@@ -109,14 +109,14 @@ function an() {
|
|
|
109
109
|
}
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
112
|
-
var L = Object.assign, J = 0, ne, ue, ce, he, ge,
|
|
112
|
+
var L = Object.assign, J = 0, ne, ue, ce, he, ge, _e, de;
|
|
113
113
|
function me() {
|
|
114
114
|
}
|
|
115
115
|
me.__reactDisabledLog = !0;
|
|
116
116
|
function ye() {
|
|
117
117
|
{
|
|
118
118
|
if (J === 0) {
|
|
119
|
-
ne = console.log, ue = console.info, ce = console.warn, he = console.error, ge = console.group,
|
|
119
|
+
ne = console.log, ue = console.info, ce = console.warn, he = console.error, ge = console.group, _e = console.groupCollapsed, de = console.groupEnd;
|
|
120
120
|
var t = {
|
|
121
121
|
configurable: !0,
|
|
122
122
|
enumerable: !0,
|
|
@@ -161,7 +161,7 @@ function an() {
|
|
|
161
161
|
value: ge
|
|
162
162
|
}),
|
|
163
163
|
groupCollapsed: L({}, t, {
|
|
164
|
-
value:
|
|
164
|
+
value: _e
|
|
165
165
|
}),
|
|
166
166
|
groupEnd: L({}, t, {
|
|
167
167
|
value: de
|
|
@@ -171,27 +171,27 @@ function an() {
|
|
|
171
171
|
J < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
var
|
|
174
|
+
var u = b.ReactCurrentDispatcher, O;
|
|
175
175
|
function X(t, i, c) {
|
|
176
176
|
{
|
|
177
177
|
if (O === void 0)
|
|
178
178
|
try {
|
|
179
179
|
throw Error();
|
|
180
|
-
} catch (
|
|
181
|
-
var y =
|
|
180
|
+
} catch (A) {
|
|
181
|
+
var y = A.stack.trim().match(/\n( *(at )?)/);
|
|
182
182
|
O = y && y[1] || "";
|
|
183
183
|
}
|
|
184
184
|
return `
|
|
185
185
|
` + O + t;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var be = !1, ke;
|
|
189
189
|
{
|
|
190
|
-
var
|
|
191
|
-
ke = new
|
|
190
|
+
var Pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
191
|
+
ke = new Pt();
|
|
192
192
|
}
|
|
193
193
|
function ze(t, i) {
|
|
194
|
-
if (!t ||
|
|
194
|
+
if (!t || be)
|
|
195
195
|
return "";
|
|
196
196
|
{
|
|
197
197
|
var c = ke.get(t);
|
|
@@ -199,34 +199,34 @@ function an() {
|
|
|
199
199
|
return c;
|
|
200
200
|
}
|
|
201
201
|
var y;
|
|
202
|
-
|
|
203
|
-
var
|
|
202
|
+
be = !0;
|
|
203
|
+
var A = Error.prepareStackTrace;
|
|
204
204
|
Error.prepareStackTrace = void 0;
|
|
205
205
|
var I;
|
|
206
|
-
I =
|
|
206
|
+
I = u.current, u.current = null, ye();
|
|
207
207
|
try {
|
|
208
208
|
if (i) {
|
|
209
|
-
var
|
|
209
|
+
var P = function() {
|
|
210
210
|
throw Error();
|
|
211
211
|
};
|
|
212
|
-
if (Object.defineProperty(
|
|
212
|
+
if (Object.defineProperty(P.prototype, "props", {
|
|
213
213
|
set: function() {
|
|
214
214
|
throw Error();
|
|
215
215
|
}
|
|
216
216
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
217
217
|
try {
|
|
218
|
-
Reflect.construct(
|
|
218
|
+
Reflect.construct(P, []);
|
|
219
219
|
} catch (Z) {
|
|
220
220
|
y = Z;
|
|
221
221
|
}
|
|
222
|
-
Reflect.construct(t, [],
|
|
222
|
+
Reflect.construct(t, [], P);
|
|
223
223
|
} else {
|
|
224
224
|
try {
|
|
225
|
-
|
|
225
|
+
P.call();
|
|
226
226
|
} catch (Z) {
|
|
227
227
|
y = Z;
|
|
228
228
|
}
|
|
229
|
-
t.call(
|
|
229
|
+
t.call(P.prototype);
|
|
230
230
|
}
|
|
231
231
|
} else {
|
|
232
232
|
try {
|
|
@@ -238,25 +238,25 @@ function an() {
|
|
|
238
238
|
}
|
|
239
239
|
} catch (Z) {
|
|
240
240
|
if (Z && y && typeof Z.stack == "string") {
|
|
241
|
-
for (var
|
|
242
|
-
`),
|
|
243
|
-
`),
|
|
244
|
-
|
|
245
|
-
for (;
|
|
246
|
-
if (
|
|
247
|
-
if (
|
|
241
|
+
for (var j = Z.stack.split(`
|
|
242
|
+
`), z = y.stack.split(`
|
|
243
|
+
`), B = j.length - 1, $ = z.length - 1; B >= 1 && $ >= 0 && j[B] !== z[$]; )
|
|
244
|
+
$--;
|
|
245
|
+
for (; B >= 1 && $ >= 0; B--, $--)
|
|
246
|
+
if (j[B] !== z[$]) {
|
|
247
|
+
if (B !== 1 || $ !== 1)
|
|
248
248
|
do
|
|
249
|
-
if (
|
|
249
|
+
if (B--, $--, $ < 0 || j[B] !== z[$]) {
|
|
250
250
|
var ee = `
|
|
251
|
-
` +
|
|
251
|
+
` + j[B].replace(" at new ", " at ");
|
|
252
252
|
return t.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", t.displayName)), typeof t == "function" && ke.set(t, ee), ee;
|
|
253
253
|
}
|
|
254
|
-
while (
|
|
254
|
+
while (B >= 1 && $ >= 0);
|
|
255
255
|
break;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
} finally {
|
|
259
|
-
|
|
259
|
+
be = !1, u.current = I, a(), Error.prepareStackTrace = A;
|
|
260
260
|
}
|
|
261
261
|
var we = t ? t.displayName || t.name : "", ve = we ? X(we) : "";
|
|
262
262
|
return typeof t == "function" && ke.set(t, ve), ve;
|
|
@@ -264,7 +264,7 @@ function an() {
|
|
|
264
264
|
function Tt(t, i, c) {
|
|
265
265
|
return ze(t, !1);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Nt(t) {
|
|
268
268
|
var i = t.prototype;
|
|
269
269
|
return !!(i && i.isReactComponent);
|
|
270
270
|
}
|
|
@@ -272,7 +272,7 @@ function an() {
|
|
|
272
272
|
if (t == null)
|
|
273
273
|
return "";
|
|
274
274
|
if (typeof t == "function")
|
|
275
|
-
return ze(t,
|
|
275
|
+
return ze(t, Nt(t));
|
|
276
276
|
if (typeof t == "string")
|
|
277
277
|
return X(t);
|
|
278
278
|
switch (t) {
|
|
@@ -287,17 +287,17 @@ function an() {
|
|
|
287
287
|
return Tt(t.render);
|
|
288
288
|
case h:
|
|
289
289
|
return Ie(t.type, i, c);
|
|
290
|
-
case
|
|
291
|
-
var y = t,
|
|
290
|
+
case _: {
|
|
291
|
+
var y = t, A = y._payload, I = y._init;
|
|
292
292
|
try {
|
|
293
|
-
return Ie(I(
|
|
293
|
+
return Ie(I(A), i, c);
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
var Te = Object.prototype.hasOwnProperty, Qe = {}, Je =
|
|
300
|
+
var Te = Object.prototype.hasOwnProperty, Qe = {}, Je = b.ReactDebugCurrentFrame;
|
|
301
301
|
function Re(t) {
|
|
302
302
|
if (t) {
|
|
303
303
|
var i = t._owner, c = Ie(t.type, t._source, i ? i.type : null);
|
|
@@ -305,22 +305,22 @@ function an() {
|
|
|
305
305
|
} else
|
|
306
306
|
Je.setExtraStackFrame(null);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function At(t, i, c, y, A) {
|
|
309
309
|
{
|
|
310
310
|
var I = Function.call.bind(Te);
|
|
311
|
-
for (var
|
|
312
|
-
if (I(t,
|
|
313
|
-
var
|
|
311
|
+
for (var P in t)
|
|
312
|
+
if (I(t, P)) {
|
|
313
|
+
var j = void 0;
|
|
314
314
|
try {
|
|
315
|
-
if (typeof t[
|
|
316
|
-
var
|
|
317
|
-
throw
|
|
315
|
+
if (typeof t[P] != "function") {
|
|
316
|
+
var z = Error((y || "React class") + ": " + c + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
317
|
+
throw z.name = "Invariant Violation", z;
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
} catch (
|
|
321
|
-
|
|
319
|
+
j = t[P](i, P, y, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
320
|
+
} catch (B) {
|
|
321
|
+
j = B;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
j && !(j instanceof Error) && (Re(A), v("%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", c, P, typeof j), Re(null)), j instanceof Error && !(j.message in Qe) && (Qe[j.message] = !0, Re(A), v("Failed %s type: %s", c, j.message), Re(null));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -348,7 +348,7 @@ function an() {
|
|
|
348
348
|
if (St(t))
|
|
349
349
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ct(t)), Xe(t);
|
|
350
350
|
}
|
|
351
|
-
var et =
|
|
351
|
+
var et = b.ReactCurrentOwner, It = {
|
|
352
352
|
key: !0,
|
|
353
353
|
ref: !0,
|
|
354
354
|
__self: !0,
|
|
@@ -395,54 +395,54 @@ function an() {
|
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
var
|
|
399
|
-
var
|
|
398
|
+
var Bt = function(t, i, c, y, A, I, P) {
|
|
399
|
+
var j = {
|
|
400
400
|
// This tag allows us to uniquely identify this as a React Element
|
|
401
401
|
$$typeof: r,
|
|
402
402
|
// Built-in properties that belong on the element
|
|
403
403
|
type: t,
|
|
404
404
|
key: i,
|
|
405
405
|
ref: c,
|
|
406
|
-
props:
|
|
406
|
+
props: P,
|
|
407
407
|
// Record the component responsible for creating this element.
|
|
408
408
|
_owner: I
|
|
409
409
|
};
|
|
410
|
-
return
|
|
410
|
+
return j._store = {}, Object.defineProperty(j._store, "validated", {
|
|
411
411
|
configurable: !1,
|
|
412
412
|
enumerable: !1,
|
|
413
413
|
writable: !0,
|
|
414
414
|
value: !1
|
|
415
|
-
}), Object.defineProperty(
|
|
415
|
+
}), Object.defineProperty(j, "_self", {
|
|
416
416
|
configurable: !1,
|
|
417
417
|
enumerable: !1,
|
|
418
418
|
writable: !1,
|
|
419
419
|
value: y
|
|
420
|
-
}), Object.defineProperty(
|
|
420
|
+
}), Object.defineProperty(j, "_source", {
|
|
421
421
|
configurable: !1,
|
|
422
422
|
enumerable: !1,
|
|
423
423
|
writable: !1,
|
|
424
|
-
value:
|
|
425
|
-
}), Object.freeze && (Object.freeze(
|
|
424
|
+
value: A
|
|
425
|
+
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
426
426
|
};
|
|
427
|
-
function
|
|
427
|
+
function $t(t, i, c, y, A) {
|
|
428
428
|
{
|
|
429
|
-
var I,
|
|
430
|
-
c !== void 0 && (Ze(c),
|
|
429
|
+
var I, P = {}, j = null, z = null;
|
|
430
|
+
c !== void 0 && (Ze(c), j = "" + c), Dt(i) && (Ze(i.key), j = "" + i.key), Rt(i) && (z = i.ref, Lt(i, A));
|
|
431
431
|
for (I in i)
|
|
432
|
-
Te.call(i, I) && !It.hasOwnProperty(I) && (
|
|
432
|
+
Te.call(i, I) && !It.hasOwnProperty(I) && (P[I] = i[I]);
|
|
433
433
|
if (t && t.defaultProps) {
|
|
434
|
-
var
|
|
435
|
-
for (I in
|
|
436
|
-
|
|
434
|
+
var B = t.defaultProps;
|
|
435
|
+
for (I in B)
|
|
436
|
+
P[I] === void 0 && (P[I] = B[I]);
|
|
437
437
|
}
|
|
438
|
-
if (
|
|
439
|
-
var
|
|
440
|
-
|
|
438
|
+
if (j || z) {
|
|
439
|
+
var $ = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
440
|
+
j && Ot(P, $), z && Ft(P, $);
|
|
441
441
|
}
|
|
442
|
-
return
|
|
442
|
+
return Bt(t, j, z, A, y, et.current, P);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var Be = b.ReactCurrentOwner, at = b.ReactDebugCurrentFrame;
|
|
446
446
|
function xe(t) {
|
|
447
447
|
if (t) {
|
|
448
448
|
var i = t._owner, c = Ie(t.type, t._source, i ? i.type : null);
|
|
@@ -450,15 +450,15 @@ function an() {
|
|
|
450
450
|
} else
|
|
451
451
|
at.setExtraStackFrame(null);
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
|
|
453
|
+
var $e;
|
|
454
|
+
$e = !1;
|
|
455
455
|
function Ue(t) {
|
|
456
456
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
457
457
|
}
|
|
458
458
|
function rt() {
|
|
459
459
|
{
|
|
460
|
-
if (
|
|
461
|
-
var t = F(
|
|
460
|
+
if (Be.current) {
|
|
461
|
+
var t = F(Be.current.type);
|
|
462
462
|
if (t)
|
|
463
463
|
return `
|
|
464
464
|
|
|
@@ -493,7 +493,7 @@ Check the top-level render call using <` + c + ">.");
|
|
|
493
493
|
return;
|
|
494
494
|
it[c] = !0;
|
|
495
495
|
var y = "";
|
|
496
|
-
t && t._owner && t._owner !==
|
|
496
|
+
t && t._owner && t._owner !== Be.current && (y = " It was passed a child from " + F(t._owner.type) + "."), xe(t), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, y), xe(null);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
function st(t, i) {
|
|
@@ -508,10 +508,10 @@ Check the top-level render call using <` + c + ">.");
|
|
|
508
508
|
else if (Ue(t))
|
|
509
509
|
t._store && (t._store.validated = !0);
|
|
510
510
|
else if (t) {
|
|
511
|
-
var
|
|
512
|
-
if (typeof
|
|
513
|
-
for (var I =
|
|
514
|
-
Ue(
|
|
511
|
+
var A = N(t);
|
|
512
|
+
if (typeof A == "function" && A !== t.entries)
|
|
513
|
+
for (var I = A.call(t), P; !(P = I.next()).done; )
|
|
514
|
+
Ue(P.value) && ot(P.value, i);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
}
|
|
@@ -531,11 +531,11 @@ Check the top-level render call using <` + c + ">.");
|
|
|
531
531
|
return;
|
|
532
532
|
if (c) {
|
|
533
533
|
var y = F(i);
|
|
534
|
-
|
|
535
|
-
} else if (i.PropTypes !== void 0 &&
|
|
536
|
-
|
|
537
|
-
var
|
|
538
|
-
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
534
|
+
At(c, t.props, "prop", y, t);
|
|
535
|
+
} else if (i.PropTypes !== void 0 && !$e) {
|
|
536
|
+
$e = !0;
|
|
537
|
+
var A = F(i);
|
|
538
|
+
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
539
539
|
}
|
|
540
540
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
541
541
|
}
|
|
@@ -553,21 +553,21 @@ Check the top-level render call using <` + c + ">.");
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
var lt = {};
|
|
556
|
-
function ct(t, i, c, y,
|
|
556
|
+
function ct(t, i, c, y, A, I) {
|
|
557
557
|
{
|
|
558
|
-
var
|
|
559
|
-
if (!
|
|
560
|
-
var
|
|
561
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
562
|
-
var
|
|
563
|
-
|
|
564
|
-
var
|
|
565
|
-
t === null ?
|
|
558
|
+
var P = Y(t);
|
|
559
|
+
if (!P) {
|
|
560
|
+
var j = "";
|
|
561
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
562
|
+
var z = Ut();
|
|
563
|
+
z ? j += z : j += rt();
|
|
564
|
+
var B;
|
|
565
|
+
t === null ? B = "null" : Fe(t) ? B = "array" : t !== void 0 && t.$$typeof === r ? (B = "<" + (F(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : B = typeof t, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", B, j);
|
|
566
566
|
}
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
return
|
|
570
|
-
if (
|
|
567
|
+
var $ = $t(t, i, c, A, I);
|
|
568
|
+
if ($ == null)
|
|
569
|
+
return $;
|
|
570
|
+
if (P) {
|
|
571
571
|
var ee = i.children;
|
|
572
572
|
if (ee !== void 0)
|
|
573
573
|
if (y)
|
|
@@ -594,18 +594,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
594
594
|
<%s key={someKey} {...props} />`, Me, ve, Vt, ve), lt[ve + Me] = !0;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
return t ===
|
|
597
|
+
return t === d ? Wt($) : Kt($), $;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function Gt(t, i, c) {
|
|
601
601
|
return ct(t, i, c, !0);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Ht(t, i, c) {
|
|
604
604
|
return ct(t, i, c, !1);
|
|
605
605
|
}
|
|
606
|
-
var qt =
|
|
607
|
-
|
|
608
|
-
})()),
|
|
606
|
+
var qt = Ht, Yt = Gt;
|
|
607
|
+
Ae.Fragment = d, Ae.jsx = qt, Ae.jsxs = Yt;
|
|
608
|
+
})()), Ae;
|
|
609
609
|
}
|
|
610
610
|
var mt;
|
|
611
611
|
function rn() {
|
|
@@ -946,32 +946,37 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
|
|
|
946
946
|
formDiscountedPrice: "$25",
|
|
947
947
|
formPriceAria: "कीमत"
|
|
948
948
|
}
|
|
949
|
-
}, yt =
|
|
949
|
+
}, yt = _t(null), gi = ({
|
|
950
950
|
locale: n,
|
|
951
951
|
children: r
|
|
952
952
|
}) => {
|
|
953
|
-
const
|
|
954
|
-
return /* @__PURE__ */ e.jsx(yt.Provider, { value:
|
|
953
|
+
const d = { locale: n, t: (o) => Ye[n]?.[o] ?? o };
|
|
954
|
+
return /* @__PURE__ */ e.jsx(yt.Provider, { value: d, children: r });
|
|
955
955
|
};
|
|
956
956
|
function kt() {
|
|
957
|
-
return
|
|
957
|
+
return He(yt);
|
|
958
958
|
}
|
|
959
|
-
const pn = "_container_1e1th_1", hn = "_main_1e1th_7", gn = "_kundliHeaderNoBorder_1e1th_12",
|
|
959
|
+
const pn = "_container_1e1th_1", hn = "_main_1e1th_7", gn = "_kundliHeaderNoBorder_1e1th_12", _n = "_headerSeparator_1e1th_16", bn = "_langDropdownWrap_1e1th_21", vn = "_langTrigger_1e1th_25", yn = "_langIcon_1e1th_37", kn = "_langLabel_1e1th_44", xn = "_langMenu_1e1th_49", wn = "_langOption_1e1th_55", ie = {
|
|
960
960
|
container: pn,
|
|
961
961
|
main: hn,
|
|
962
962
|
kundliHeaderNoBorder: gn,
|
|
963
|
-
headerSeparator:
|
|
964
|
-
langDropdownWrap:
|
|
963
|
+
headerSeparator: _n,
|
|
964
|
+
langDropdownWrap: bn,
|
|
965
965
|
langTrigger: vn,
|
|
966
966
|
langIcon: yn,
|
|
967
967
|
langLabel: kn,
|
|
968
968
|
langMenu: xn,
|
|
969
969
|
langOption: wn
|
|
970
970
|
}, pe = (n) => {
|
|
971
|
-
const { priority: r,
|
|
972
|
-
return
|
|
971
|
+
const { priority: r, fetchPriority: l, ...d } = n;
|
|
972
|
+
return Ge.createElement("img", {
|
|
973
|
+
...d,
|
|
974
|
+
decoding: "async",
|
|
975
|
+
loading: d.loading ?? (r ? "eager" : "lazy"),
|
|
976
|
+
...l && { fetchPriority: l }
|
|
977
|
+
});
|
|
973
978
|
};
|
|
974
|
-
function
|
|
979
|
+
function jn(n) {
|
|
975
980
|
if (typeof window > "u" || !window.localStorage)
|
|
976
981
|
return null;
|
|
977
982
|
try {
|
|
@@ -980,21 +985,21 @@ function Pn(n) {
|
|
|
980
985
|
return null;
|
|
981
986
|
}
|
|
982
987
|
}
|
|
983
|
-
function
|
|
988
|
+
function Pn(n, r) {
|
|
984
989
|
if (!(typeof window > "u" || !window.localStorage))
|
|
985
990
|
try {
|
|
986
991
|
window.localStorage.setItem(n, r);
|
|
987
992
|
} catch {
|
|
988
993
|
}
|
|
989
994
|
}
|
|
990
|
-
function
|
|
995
|
+
function _i(n) {
|
|
991
996
|
if (!(typeof window > "u" || !window.localStorage))
|
|
992
997
|
try {
|
|
993
998
|
window.localStorage.removeItem(n);
|
|
994
999
|
} catch {
|
|
995
1000
|
}
|
|
996
1001
|
}
|
|
997
|
-
function
|
|
1002
|
+
function bi() {
|
|
998
1003
|
if (typeof window > "u" || !window.localStorage)
|
|
999
1004
|
return !1;
|
|
1000
1005
|
try {
|
|
@@ -1006,13 +1011,13 @@ function hi() {
|
|
|
1006
1011
|
}
|
|
1007
1012
|
const xt = "kundli_language";
|
|
1008
1013
|
function Tn() {
|
|
1009
|
-
const n =
|
|
1014
|
+
const n = jn(xt);
|
|
1010
1015
|
return n && qe.includes(n) ? n : null;
|
|
1011
1016
|
}
|
|
1012
|
-
function
|
|
1013
|
-
|
|
1017
|
+
function Nn(n) {
|
|
1018
|
+
Pn(xt, n);
|
|
1014
1019
|
}
|
|
1015
|
-
const Ve =
|
|
1020
|
+
const Ve = _t(null), An = {
|
|
1016
1021
|
fullName: "",
|
|
1017
1022
|
phone: "",
|
|
1018
1023
|
email: "",
|
|
@@ -1024,7 +1029,7 @@ const Ve = bt(null), Nn = {
|
|
|
1024
1029
|
locale: n,
|
|
1025
1030
|
showLanguageSelector: r = !0,
|
|
1026
1031
|
userId: l,
|
|
1027
|
-
isGlobal:
|
|
1032
|
+
isGlobal: d,
|
|
1028
1033
|
logoUrl: o,
|
|
1029
1034
|
reportImageUrl: p,
|
|
1030
1035
|
reportImagePriority: m,
|
|
@@ -1033,24 +1038,24 @@ const Ve = bt(null), Nn = {
|
|
|
1033
1038
|
onViewSampleReport: w,
|
|
1034
1039
|
ctaHref: k,
|
|
1035
1040
|
onCtaClick: h,
|
|
1036
|
-
onBack:
|
|
1041
|
+
onBack: _,
|
|
1037
1042
|
readMoreReviewsHref: C,
|
|
1038
1043
|
onProceed: x,
|
|
1039
1044
|
proceedHref: T,
|
|
1040
|
-
originalPriceLabel:
|
|
1041
|
-
discountedPriceLabel:
|
|
1045
|
+
originalPriceLabel: N,
|
|
1046
|
+
discountedPriceLabel: b,
|
|
1042
1047
|
discountPillLabel: v,
|
|
1043
1048
|
analytics: E,
|
|
1044
1049
|
onLocaleChange: D,
|
|
1045
1050
|
imageComponent: S = pe,
|
|
1046
1051
|
children: M
|
|
1047
1052
|
}) => {
|
|
1048
|
-
const [
|
|
1053
|
+
const [q, G] = K("landing"), [R, Y] = K(n ?? "en"), [V, Q] = K(An), F = U(!0);
|
|
1049
1054
|
W(() => {
|
|
1050
1055
|
const ce = Tn();
|
|
1051
|
-
ce &&
|
|
1056
|
+
ce && Y(ce);
|
|
1052
1057
|
}, []), W(() => {
|
|
1053
|
-
|
|
1058
|
+
Nn(R);
|
|
1054
1059
|
}, [R]), W(() => {
|
|
1055
1060
|
if (F.current) {
|
|
1056
1061
|
F.current = !1;
|
|
@@ -1063,7 +1068,7 @@ const Ve = bt(null), Nn = {
|
|
|
1063
1068
|
locale: n,
|
|
1064
1069
|
showLanguageSelector: r,
|
|
1065
1070
|
userId: l,
|
|
1066
|
-
isGlobal:
|
|
1071
|
+
isGlobal: d,
|
|
1067
1072
|
logoUrl: o,
|
|
1068
1073
|
reportImageUrl: p,
|
|
1069
1074
|
reportImagePriority: m,
|
|
@@ -1072,12 +1077,12 @@ const Ve = bt(null), Nn = {
|
|
|
1072
1077
|
onViewSampleReport: w,
|
|
1073
1078
|
ctaHref: k,
|
|
1074
1079
|
onCtaClick: h,
|
|
1075
|
-
onBack:
|
|
1080
|
+
onBack: _,
|
|
1076
1081
|
readMoreReviewsHref: C,
|
|
1077
1082
|
onProceed: x,
|
|
1078
1083
|
proceedHref: T,
|
|
1079
|
-
originalPriceLabel:
|
|
1080
|
-
discountedPriceLabel:
|
|
1084
|
+
originalPriceLabel: N,
|
|
1085
|
+
discountedPriceLabel: b,
|
|
1081
1086
|
discountPillLabel: v,
|
|
1082
1087
|
analytics: E,
|
|
1083
1088
|
onLocaleChange: D,
|
|
@@ -1087,7 +1092,7 @@ const Ve = bt(null), Nn = {
|
|
|
1087
1092
|
n,
|
|
1088
1093
|
r,
|
|
1089
1094
|
l,
|
|
1090
|
-
|
|
1095
|
+
d,
|
|
1091
1096
|
o,
|
|
1092
1097
|
p,
|
|
1093
1098
|
m,
|
|
@@ -1096,42 +1101,42 @@ const Ve = bt(null), Nn = {
|
|
|
1096
1101
|
w,
|
|
1097
1102
|
k,
|
|
1098
1103
|
h,
|
|
1099
|
-
|
|
1104
|
+
_,
|
|
1100
1105
|
C,
|
|
1101
1106
|
x,
|
|
1102
1107
|
T,
|
|
1103
|
-
|
|
1104
|
-
|
|
1108
|
+
N,
|
|
1109
|
+
b,
|
|
1105
1110
|
v,
|
|
1106
1111
|
E,
|
|
1107
1112
|
D,
|
|
1108
1113
|
S
|
|
1109
1114
|
]
|
|
1110
|
-
), J =
|
|
1111
|
-
|
|
1112
|
-
}, [L.analytics]), ne =
|
|
1113
|
-
|
|
1115
|
+
), J = Pe(() => {
|
|
1116
|
+
G("form");
|
|
1117
|
+
}, [L.analytics]), ne = Pe(() => {
|
|
1118
|
+
G("landing"), L.onBack?.();
|
|
1114
1119
|
}, [L.onBack]), ue = We(
|
|
1115
1120
|
() => ({
|
|
1116
|
-
view:
|
|
1121
|
+
view: q,
|
|
1117
1122
|
locale: R,
|
|
1118
|
-
setLocale:
|
|
1123
|
+
setLocale: Y,
|
|
1119
1124
|
config: L,
|
|
1120
|
-
formValues:
|
|
1125
|
+
formValues: V,
|
|
1121
1126
|
setFormValues: Q,
|
|
1122
1127
|
goToForm: J,
|
|
1123
1128
|
goToPage: ne,
|
|
1124
1129
|
onProceed: L.onProceed
|
|
1125
1130
|
}),
|
|
1126
|
-
[
|
|
1131
|
+
[q, R, L, V, J, ne]
|
|
1127
1132
|
);
|
|
1128
1133
|
return /* @__PURE__ */ e.jsx(Ve.Provider, { value: ue, children: M });
|
|
1129
1134
|
};
|
|
1130
1135
|
function re() {
|
|
1131
|
-
return
|
|
1136
|
+
return He(Ve);
|
|
1132
1137
|
}
|
|
1133
1138
|
function wt() {
|
|
1134
|
-
const n =
|
|
1139
|
+
const n = He(Ve);
|
|
1135
1140
|
if (!n)
|
|
1136
1141
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1137
1142
|
return n;
|
|
@@ -1151,20 +1156,20 @@ const Cn = "_header_dbx4p_1", Sn = {
|
|
|
1151
1156
|
backAriaLabel: n("back"),
|
|
1152
1157
|
className: `${Sn.header} ${l}`
|
|
1153
1158
|
}
|
|
1154
|
-
), Rn = "_wrap_16uvk_1", Dn = "_card_16uvk_5", Ln = "_cardInner_16uvk_12", On = "_field_16uvk_16", Fn = "_labelRow_16uvk_20",
|
|
1159
|
+
), Rn = "_wrap_16uvk_1", Dn = "_card_16uvk_5", Ln = "_cardInner_16uvk_12", On = "_field_16uvk_16", Fn = "_labelRow_16uvk_20", Bn = "_label_16uvk_20", $n = "_req_16uvk_29", Un = "_help_16uvk_33", Mn = "_infoBtn_16uvk_40", Kn = "_infoImg_16uvk_57", Wn = "_infoWrap_16uvk_63", Gn = "_tooltip_16uvk_69", Hn = "_tooltipArrow_16uvk_85", qn = "_inputWrap_16uvk_96", Yn = "_suggestions_16uvk_100", Vn = "_suggestionItem_16uvk_113", zn = "_suggestionMain_16uvk_131", Qn = "_suggestionSecondary_16uvk_137", Jn = "_suggestionsHint_16uvk_142", Xn = "_timePopover_16uvk_157", Zn = "_timePickerRow_16uvk_173", ea = "_timePickerSelect_16uvk_179", ta = "_timePickerColon_16uvk_195", na = "_meridiemToggle_16uvk_203", aa = "_meridiemBtn_16uvk_212", ra = "_meridiemActive_16uvk_227", ia = "_timePopoverActions_16uvk_232", oa = "_timePopoverBtn_16uvk_238", sa = "_timePopoverOk_16uvk_257", la = "_input_16uvk_96", ca = "_iconBtn_16uvk_301", da = "_iconBtnInteractive_16uvk_307", ua = "_iconImg_16uvk_326", ma = "_checkboxRow_16uvk_332", fa = "_checkbox_16uvk_332", pa = "_checkboxText_16uvk_370", s = {
|
|
1155
1160
|
wrap: Rn,
|
|
1156
1161
|
card: Dn,
|
|
1157
1162
|
cardInner: Ln,
|
|
1158
1163
|
field: On,
|
|
1159
1164
|
labelRow: Fn,
|
|
1160
|
-
label:
|
|
1161
|
-
req:
|
|
1165
|
+
label: Bn,
|
|
1166
|
+
req: $n,
|
|
1162
1167
|
help: Un,
|
|
1163
1168
|
infoBtn: Mn,
|
|
1164
1169
|
infoImg: Kn,
|
|
1165
1170
|
infoWrap: Wn,
|
|
1166
|
-
tooltip:
|
|
1167
|
-
tooltipArrow:
|
|
1171
|
+
tooltip: Gn,
|
|
1172
|
+
tooltipArrow: Hn,
|
|
1168
1173
|
inputWrap: qn,
|
|
1169
1174
|
suggestions: Yn,
|
|
1170
1175
|
suggestionItem: Vn,
|
|
@@ -1190,14 +1195,14 @@ const Cn = "_header_dbx4p_1", Sn = {
|
|
|
1190
1195
|
checkboxText: pa
|
|
1191
1196
|
};
|
|
1192
1197
|
let Le = null;
|
|
1193
|
-
const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Le || (Le = new Promise((l,
|
|
1198
|
+
const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Le || (Le = new Promise((l, d) => {
|
|
1194
1199
|
const o = document.querySelector(
|
|
1195
1200
|
'script[data-google-maps-places="true"]'
|
|
1196
1201
|
);
|
|
1197
1202
|
if (o) {
|
|
1198
1203
|
o.addEventListener("load", () => l()), o.addEventListener(
|
|
1199
1204
|
"error",
|
|
1200
|
-
() =>
|
|
1205
|
+
() => d(new Error("Failed to load Google Maps API"))
|
|
1201
1206
|
);
|
|
1202
1207
|
return;
|
|
1203
1208
|
}
|
|
@@ -1209,7 +1214,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1209
1214
|
return;
|
|
1210
1215
|
}
|
|
1211
1216
|
if (Date.now() - f > 2e3) {
|
|
1212
|
-
|
|
1217
|
+
d(
|
|
1213
1218
|
new Error(
|
|
1214
1219
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1215
1220
|
)
|
|
@@ -1219,25 +1224,25 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1219
1224
|
window.setTimeout(g, 50);
|
|
1220
1225
|
};
|
|
1221
1226
|
g();
|
|
1222
|
-
}, p.onerror = () =>
|
|
1227
|
+
}, p.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(p);
|
|
1223
1228
|
}), Le), ga = (n) => {
|
|
1224
|
-
const { apiKey: r, language: l = "en", restrictCountry:
|
|
1229
|
+
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, p] = K(!1), [m, f] = K([]), [g, w] = K(!1), [k, h] = K(null), _ = U(null), C = U(null), x = U(null);
|
|
1225
1230
|
W(() => {
|
|
1226
1231
|
if (!r) {
|
|
1227
1232
|
p(!1), h(null);
|
|
1228
1233
|
return;
|
|
1229
1234
|
}
|
|
1230
1235
|
ha(r, l).then(() => {
|
|
1231
|
-
|
|
1236
|
+
_.current = new google.maps.places.AutocompleteService();
|
|
1232
1237
|
const v = document.createElement("div");
|
|
1233
1238
|
C.current = new google.maps.places.PlacesService(v), x.current = new google.maps.places.AutocompleteSessionToken(), p(!0), h(null);
|
|
1234
1239
|
}).catch((v) => {
|
|
1235
1240
|
p(!1), h(v?.message || "Failed to load location service");
|
|
1236
1241
|
});
|
|
1237
1242
|
}, [r, l]);
|
|
1238
|
-
const T =
|
|
1243
|
+
const T = Pe(
|
|
1239
1244
|
async (v) => {
|
|
1240
|
-
if (!v || v.length < 2 || !
|
|
1245
|
+
if (!v || v.length < 2 || !_.current) {
|
|
1241
1246
|
f([]);
|
|
1242
1247
|
return;
|
|
1243
1248
|
}
|
|
@@ -1248,12 +1253,12 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1248
1253
|
types: ["(cities)"],
|
|
1249
1254
|
sessionToken: x.current ?? void 0
|
|
1250
1255
|
};
|
|
1251
|
-
|
|
1256
|
+
d && (E.componentRestrictions = { country: d });
|
|
1252
1257
|
const D = await new Promise((S, M) => {
|
|
1253
|
-
|
|
1258
|
+
_.current.getPlacePredictions(
|
|
1254
1259
|
E,
|
|
1255
|
-
(
|
|
1256
|
-
|
|
1260
|
+
(q, G) => {
|
|
1261
|
+
G === google.maps.places.PlacesServiceStatus.OK && q ? S(q) : G === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : M(new Error(`Places API error: ${G}`));
|
|
1257
1262
|
}
|
|
1258
1263
|
);
|
|
1259
1264
|
});
|
|
@@ -1273,68 +1278,68 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1273
1278
|
w(!1);
|
|
1274
1279
|
}
|
|
1275
1280
|
},
|
|
1276
|
-
[
|
|
1277
|
-
),
|
|
1281
|
+
[d]
|
|
1282
|
+
), N = Pe(
|
|
1278
1283
|
async (v) => {
|
|
1279
1284
|
if (!C.current) return null;
|
|
1280
1285
|
try {
|
|
1281
1286
|
const E = await new Promise(
|
|
1282
|
-
(R,
|
|
1287
|
+
(R, Y) => {
|
|
1283
1288
|
C.current.getDetails(
|
|
1284
1289
|
{
|
|
1285
1290
|
placeId: v,
|
|
1286
1291
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1287
1292
|
sessionToken: x.current ?? void 0
|
|
1288
1293
|
},
|
|
1289
|
-
(
|
|
1290
|
-
Q === google.maps.places.PlacesServiceStatus.OK &&
|
|
1294
|
+
(V, Q) => {
|
|
1295
|
+
Q === google.maps.places.PlacesServiceStatus.OK && V ? R(V) : Y(new Error(`Place details error: ${Q}`));
|
|
1291
1296
|
}
|
|
1292
1297
|
);
|
|
1293
1298
|
}
|
|
1294
1299
|
);
|
|
1295
1300
|
x.current = new google.maps.places.AutocompleteSessionToken();
|
|
1296
1301
|
const D = E.geometry?.location?.lat() || 0, S = E.geometry?.location?.lng() || 0;
|
|
1297
|
-
let M = "",
|
|
1302
|
+
let M = "", q = "", G = "";
|
|
1298
1303
|
return E.address_components?.forEach((R) => {
|
|
1299
|
-
R.types.includes("locality") && (M = R.long_name), R.types.includes("administrative_area_level_1") && (
|
|
1304
|
+
R.types.includes("locality") && (M = R.long_name), R.types.includes("administrative_area_level_1") && (q = R.long_name), R.types.includes("country") && (G = R.long_name);
|
|
1300
1305
|
}), {
|
|
1301
1306
|
display_name: E.formatted_address || "",
|
|
1302
1307
|
lat: D,
|
|
1303
1308
|
lng: S,
|
|
1304
1309
|
city: M,
|
|
1305
|
-
state:
|
|
1306
|
-
country:
|
|
1310
|
+
state: q,
|
|
1311
|
+
country: G
|
|
1307
1312
|
};
|
|
1308
1313
|
} catch {
|
|
1309
1314
|
return null;
|
|
1310
1315
|
}
|
|
1311
1316
|
},
|
|
1312
1317
|
[]
|
|
1313
|
-
),
|
|
1318
|
+
), b = Pe(() => f([]), []);
|
|
1314
1319
|
return {
|
|
1315
1320
|
isLoaded: o,
|
|
1316
1321
|
predictions: m,
|
|
1317
1322
|
isSearching: g,
|
|
1318
1323
|
loadError: k,
|
|
1319
1324
|
searchPlaces: T,
|
|
1320
|
-
getPlaceDetails:
|
|
1321
|
-
clearPredictions:
|
|
1325
|
+
getPlaceDetails: N,
|
|
1326
|
+
clearPredictions: b
|
|
1322
1327
|
};
|
|
1323
|
-
},
|
|
1328
|
+
}, _a = {}, je = {
|
|
1324
1329
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1325
1330
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1326
1331
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1327
1332
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1328
|
-
},
|
|
1333
|
+
}, ba = ({
|
|
1329
1334
|
t: n,
|
|
1330
1335
|
values: r,
|
|
1331
1336
|
onChange: l,
|
|
1332
|
-
analytics:
|
|
1337
|
+
analytics: d,
|
|
1333
1338
|
googleMapsApiKey: o,
|
|
1334
1339
|
className: p = ""
|
|
1335
1340
|
}) => {
|
|
1336
|
-
const m = re(), f = m?.config?.analytics ??
|
|
1337
|
-
|
|
1341
|
+
const m = re(), f = m?.config?.analytics ?? d, g = m?.config.isGlobal ?? !0, w = m?.config.imageComponent ?? pe, k = U({}), h = (a) => l({ ...r, ...a }), _ = (a, u) => {
|
|
1342
|
+
u.trim() && !k.current[a] && (k.current[a] = !0, {
|
|
1338
1343
|
fullName: () => f?.trackNameSectionFilled?.(),
|
|
1339
1344
|
phone: () => f?.trackPhoneSectionFilled?.(),
|
|
1340
1345
|
email: () => f?.trackEmailSectionFilled?.(),
|
|
@@ -1344,26 +1349,26 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1344
1349
|
}[a]?.());
|
|
1345
1350
|
}, C = (a) => a.replace(/\D/g, "").slice(0, 10), x = U(null);
|
|
1346
1351
|
U(null);
|
|
1347
|
-
const T = U(null),
|
|
1348
|
-
const
|
|
1349
|
-
if (!
|
|
1350
|
-
const O = Number(
|
|
1351
|
-
return `${O % 12 === 0 ? 12 : O % 12}:${X} ${
|
|
1352
|
-
},
|
|
1353
|
-
const
|
|
1354
|
-
if (!
|
|
1355
|
-
const O = Number(
|
|
1356
|
-
return { hour12: O % 12 === 0 ? 12 : O % 12, minute: X, meridiem:
|
|
1352
|
+
const T = U(null), N = U(0), b = U(null), [v, E] = K(!1), [D, S] = K({ hour12: 12, minute: "00", meridiem: "AM" }), M = (a) => String(a).padStart(2, "0"), q = (a) => {
|
|
1353
|
+
const u = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1354
|
+
if (!u) return a;
|
|
1355
|
+
const O = Number(u[1]), X = u[2], be = O >= 12 ? "PM" : "AM";
|
|
1356
|
+
return `${O % 12 === 0 ? 12 : O % 12}:${X} ${be}`;
|
|
1357
|
+
}, G = (a) => {
|
|
1358
|
+
const u = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1359
|
+
if (!u) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1360
|
+
const O = Number(u[1]), X = u[2], be = O >= 12 ? "PM" : "AM";
|
|
1361
|
+
return { hour12: O % 12 === 0 ? 12 : O % 12, minute: X, meridiem: be };
|
|
1357
1362
|
}, R = (a) => {
|
|
1358
|
-
const
|
|
1359
|
-
let X =
|
|
1363
|
+
const u = Math.min(12, Math.max(1, a.hour12)), O = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1364
|
+
let X = u % 12;
|
|
1360
1365
|
return a.meridiem === "PM" && (X += 12), `${M(X)}:${O}`;
|
|
1361
|
-
},
|
|
1366
|
+
}, Y = U(null), [V, Q] = K(!1), [F, L] = K(
|
|
1362
1367
|
null
|
|
1363
|
-
), J = o ??
|
|
1368
|
+
), J = o ?? _a?.VITE_GOOGLE_MAPS_API_KEY, ne = (r.birthPlace ?? "").trim(), ue = g ? void 0 : "in", ce = "en", {
|
|
1364
1369
|
predictions: he,
|
|
1365
1370
|
isSearching: ge,
|
|
1366
|
-
loadError:
|
|
1371
|
+
loadError: _e,
|
|
1367
1372
|
searchPlaces: de,
|
|
1368
1373
|
clearPredictions: me
|
|
1369
1374
|
} = ga({
|
|
@@ -1372,12 +1377,12 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1372
1377
|
restrictCountry: ue
|
|
1373
1378
|
});
|
|
1374
1379
|
W(() => {
|
|
1375
|
-
const a = (
|
|
1376
|
-
|
|
1380
|
+
const a = (u) => {
|
|
1381
|
+
Y.current && (Y.current.contains(u.target) || Q(!1));
|
|
1377
1382
|
};
|
|
1378
1383
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1379
1384
|
}, []), W(() => {
|
|
1380
|
-
if (!
|
|
1385
|
+
if (!V) return;
|
|
1381
1386
|
if (ne.length < 2) {
|
|
1382
1387
|
me();
|
|
1383
1388
|
return;
|
|
@@ -1386,34 +1391,34 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1386
1391
|
await de(ne);
|
|
1387
1392
|
}, 250);
|
|
1388
1393
|
return () => window.clearTimeout(a);
|
|
1389
|
-
}, [me,
|
|
1394
|
+
}, [me, V, ne, de]);
|
|
1390
1395
|
const ye = (a) => {
|
|
1391
|
-
const
|
|
1392
|
-
if (!(!
|
|
1393
|
-
if (document.activeElement ===
|
|
1394
|
-
|
|
1396
|
+
const u = a.current;
|
|
1397
|
+
if (!(!u || u.disabled)) {
|
|
1398
|
+
if (document.activeElement === u && T.current === u && Date.now() - N.current < 6e4) {
|
|
1399
|
+
u.blur();
|
|
1395
1400
|
return;
|
|
1396
1401
|
}
|
|
1397
|
-
if (typeof
|
|
1398
|
-
|
|
1402
|
+
if (typeof u.showPicker == "function") {
|
|
1403
|
+
u.showPicker(), T.current = u, N.current = Date.now();
|
|
1399
1404
|
return;
|
|
1400
1405
|
}
|
|
1401
|
-
|
|
1406
|
+
u.focus(), T.current = u, N.current = Date.now();
|
|
1402
1407
|
}
|
|
1403
1408
|
};
|
|
1404
1409
|
return W(() => {
|
|
1405
|
-
const a = (
|
|
1406
|
-
|
|
1410
|
+
const a = (u) => {
|
|
1411
|
+
b.current && (b.current.contains(u.target) || E(!1));
|
|
1407
1412
|
};
|
|
1408
1413
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1409
1414
|
}, []), W(() => {
|
|
1410
1415
|
const a = (O) => {
|
|
1411
1416
|
O.target?.closest?.("[data-info-tooltip]") == null && L(null);
|
|
1412
|
-
},
|
|
1417
|
+
}, u = (O) => {
|
|
1413
1418
|
O.key === "Escape" && L(null);
|
|
1414
1419
|
};
|
|
1415
|
-
return document.addEventListener("mousedown", a), document.addEventListener("keydown",
|
|
1416
|
-
document.removeEventListener("mousedown", a), document.removeEventListener("keydown",
|
|
1420
|
+
return document.addEventListener("mousedown", a), document.addEventListener("keydown", u), () => {
|
|
1421
|
+
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", u);
|
|
1417
1422
|
};
|
|
1418
1423
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1419
1424
|
"section",
|
|
@@ -1435,8 +1440,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1435
1440
|
value: r.fullName,
|
|
1436
1441
|
onFocus: () => f?.trackNameSectionClicked?.(),
|
|
1437
1442
|
onChange: (a) => {
|
|
1438
|
-
const
|
|
1439
|
-
h({ fullName:
|
|
1443
|
+
const u = a.target.value;
|
|
1444
|
+
h({ fullName: u }), _("fullName", u);
|
|
1440
1445
|
},
|
|
1441
1446
|
placeholder: n("formFullNamePlaceholder"),
|
|
1442
1447
|
autoComplete: "name"
|
|
@@ -1457,8 +1462,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1457
1462
|
value: r.phone ?? "",
|
|
1458
1463
|
onFocus: () => f?.trackPhoneSectionClicked?.(),
|
|
1459
1464
|
onChange: (a) => {
|
|
1460
|
-
const
|
|
1461
|
-
h({ phone: C(
|
|
1465
|
+
const u = a.target.value;
|
|
1466
|
+
h({ phone: C(u) }), _("phone", C(u));
|
|
1462
1467
|
},
|
|
1463
1468
|
placeholder: n("formPhonePlaceholder"),
|
|
1464
1469
|
autoComplete: "tel",
|
|
@@ -1512,7 +1517,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1512
1517
|
w,
|
|
1513
1518
|
{
|
|
1514
1519
|
className: s.infoImg,
|
|
1515
|
-
src:
|
|
1520
|
+
src: je.info,
|
|
1516
1521
|
alt: "",
|
|
1517
1522
|
width: 20,
|
|
1518
1523
|
height: 20,
|
|
@@ -1541,8 +1546,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1541
1546
|
return `${a.getFullYear()}-${M(a.getMonth() + 1)}-${M(a.getDate())}`;
|
|
1542
1547
|
})(),
|
|
1543
1548
|
onChange: (a) => {
|
|
1544
|
-
const
|
|
1545
|
-
|
|
1549
|
+
const u = a.target.value, O = /* @__PURE__ */ new Date(), X = `${O.getFullYear()}-${M(O.getMonth() + 1)}-${M(O.getDate())}`;
|
|
1550
|
+
u && u > X || (h({ dateOfBirth: u }), _("dateOfBirth", u), T.current = null);
|
|
1546
1551
|
},
|
|
1547
1552
|
onFocus: () => f?.trackDobClicked?.(),
|
|
1548
1553
|
onClick: () => ye(x),
|
|
@@ -1565,7 +1570,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1565
1570
|
w,
|
|
1566
1571
|
{
|
|
1567
1572
|
className: s.iconImg,
|
|
1568
|
-
src:
|
|
1573
|
+
src: je.date,
|
|
1569
1574
|
alt: "",
|
|
1570
1575
|
width: 24,
|
|
1571
1576
|
height: 24,
|
|
@@ -1597,7 +1602,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1597
1602
|
w,
|
|
1598
1603
|
{
|
|
1599
1604
|
className: s.infoImg,
|
|
1600
|
-
src:
|
|
1605
|
+
src: je.info,
|
|
1601
1606
|
alt: "",
|
|
1602
1607
|
width: 20,
|
|
1603
1608
|
height: 20,
|
|
@@ -1612,24 +1617,24 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1612
1617
|
] })
|
|
1613
1618
|
] })
|
|
1614
1619
|
] }),
|
|
1615
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1620
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: b, children: [
|
|
1616
1621
|
/* @__PURE__ */ e.jsx(
|
|
1617
1622
|
"input",
|
|
1618
1623
|
{
|
|
1619
1624
|
id: "kundli-birth-time",
|
|
1620
1625
|
className: s.input,
|
|
1621
1626
|
type: "text",
|
|
1622
|
-
value: r.birthTime ?
|
|
1627
|
+
value: r.birthTime ? q(r.birthTime) : "",
|
|
1623
1628
|
readOnly: !0,
|
|
1624
1629
|
onFocus: () => f?.trackTimeClicked?.(),
|
|
1625
1630
|
onChange: (a) => {
|
|
1626
|
-
const
|
|
1627
|
-
h({ birthTime:
|
|
1631
|
+
const u = a.target.value;
|
|
1632
|
+
h({ birthTime: u }), _("birthTime", u);
|
|
1628
1633
|
},
|
|
1629
1634
|
disabled: r.birthTimeUnknown,
|
|
1630
1635
|
placeholder: "HH:MM AM",
|
|
1631
1636
|
onClick: () => {
|
|
1632
|
-
r.birthTimeUnknown || (S(
|
|
1637
|
+
r.birthTimeUnknown || (S(G(r.birthTime || "12:00")), E((a) => !a));
|
|
1633
1638
|
}
|
|
1634
1639
|
}
|
|
1635
1640
|
),
|
|
@@ -1642,13 +1647,13 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1642
1647
|
disabled: r.birthTimeUnknown,
|
|
1643
1648
|
onMouseDown: (a) => a.preventDefault(),
|
|
1644
1649
|
onClick: (a) => {
|
|
1645
|
-
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (S(
|
|
1650
|
+
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (S(G(r.birthTime || "12:00")), E((u) => !u));
|
|
1646
1651
|
},
|
|
1647
1652
|
children: /* @__PURE__ */ e.jsx(
|
|
1648
1653
|
w,
|
|
1649
1654
|
{
|
|
1650
1655
|
className: s.iconImg,
|
|
1651
|
-
src:
|
|
1656
|
+
src: je.time,
|
|
1652
1657
|
alt: "",
|
|
1653
1658
|
width: 24,
|
|
1654
1659
|
height: 24,
|
|
@@ -1670,12 +1675,12 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1670
1675
|
{
|
|
1671
1676
|
className: s.timePickerSelect,
|
|
1672
1677
|
value: D.hour12,
|
|
1673
|
-
onChange: (a) => S((
|
|
1674
|
-
...
|
|
1678
|
+
onChange: (a) => S((u) => ({
|
|
1679
|
+
...u,
|
|
1675
1680
|
hour12: Number(a.target.value)
|
|
1676
1681
|
})),
|
|
1677
1682
|
"aria-label": "Hour",
|
|
1678
|
-
children: Array.from({ length: 12 }, (a,
|
|
1683
|
+
children: Array.from({ length: 12 }, (a, u) => u + 1).map((a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a))
|
|
1679
1684
|
}
|
|
1680
1685
|
),
|
|
1681
1686
|
/* @__PURE__ */ e.jsx("span", { className: s.timePickerColon, children: ":" }),
|
|
@@ -1684,9 +1689,9 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1684
1689
|
{
|
|
1685
1690
|
className: s.timePickerSelect,
|
|
1686
1691
|
value: D.minute,
|
|
1687
|
-
onChange: (a) => S((
|
|
1692
|
+
onChange: (a) => S((u) => ({ ...u, minute: a.target.value })),
|
|
1688
1693
|
"aria-label": "Minute",
|
|
1689
|
-
children: Array.from({ length: 60 }, (a,
|
|
1694
|
+
children: Array.from({ length: 60 }, (a, u) => M(u)).map(
|
|
1690
1695
|
(a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
|
|
1691
1696
|
)
|
|
1692
1697
|
}
|
|
@@ -1729,7 +1734,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1729
1734
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1730
1735
|
onClick: () => {
|
|
1731
1736
|
const a = R(D);
|
|
1732
|
-
h({ birthTime: a }),
|
|
1737
|
+
h({ birthTime: a }), _("birthTime", a), E(!1);
|
|
1733
1738
|
},
|
|
1734
1739
|
"aria-label": "OK",
|
|
1735
1740
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1811,7 +1816,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1811
1816
|
w,
|
|
1812
1817
|
{
|
|
1813
1818
|
className: s.infoImg,
|
|
1814
|
-
src:
|
|
1819
|
+
src: je.info,
|
|
1815
1820
|
alt: "",
|
|
1816
1821
|
width: 20,
|
|
1817
1822
|
height: 20,
|
|
@@ -1826,7 +1831,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1826
1831
|
] })
|
|
1827
1832
|
] })
|
|
1828
1833
|
] }),
|
|
1829
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1834
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: Y, children: [
|
|
1830
1835
|
/* @__PURE__ */ e.jsx(
|
|
1831
1836
|
"input",
|
|
1832
1837
|
{
|
|
@@ -1835,8 +1840,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1835
1840
|
type: "text",
|
|
1836
1841
|
value: r.birthPlace,
|
|
1837
1842
|
onChange: (a) => {
|
|
1838
|
-
const
|
|
1839
|
-
h({ birthPlace:
|
|
1843
|
+
const u = a.target.value;
|
|
1844
|
+
h({ birthPlace: u }), _("birthPlace", u), Q(!0);
|
|
1840
1845
|
},
|
|
1841
1846
|
onFocus: () => {
|
|
1842
1847
|
f?.trackPlaceOfBirthClicked?.(), Q(!0);
|
|
@@ -1849,14 +1854,14 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1849
1854
|
w,
|
|
1850
1855
|
{
|
|
1851
1856
|
className: s.iconImg,
|
|
1852
|
-
src:
|
|
1857
|
+
src: je.location,
|
|
1853
1858
|
alt: "",
|
|
1854
1859
|
width: 24,
|
|
1855
1860
|
height: 24,
|
|
1856
1861
|
loading: "lazy"
|
|
1857
1862
|
}
|
|
1858
1863
|
) }),
|
|
1859
|
-
|
|
1864
|
+
V && he.length > 0 && /* @__PURE__ */ e.jsx("div", { className: s.suggestions, role: "listbox", children: he.slice(0, 8).map((a) => /* @__PURE__ */ e.jsxs(
|
|
1860
1865
|
"button",
|
|
1861
1866
|
{
|
|
1862
1867
|
type: "button",
|
|
@@ -1871,8 +1876,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1871
1876
|
},
|
|
1872
1877
|
a.place_id
|
|
1873
1878
|
)) }),
|
|
1874
|
-
|
|
1875
|
-
|
|
1879
|
+
V && J && ge && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1880
|
+
V && J && !ge && !!_e && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: _e })
|
|
1876
1881
|
] })
|
|
1877
1882
|
] })
|
|
1878
1883
|
] }) })
|
|
@@ -1882,7 +1887,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1882
1887
|
t: n,
|
|
1883
1888
|
values: r,
|
|
1884
1889
|
onProceed: l,
|
|
1885
|
-
href:
|
|
1890
|
+
href: d,
|
|
1886
1891
|
analytics: o,
|
|
1887
1892
|
className: p = "",
|
|
1888
1893
|
originalPriceLabel: m,
|
|
@@ -1895,20 +1900,20 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1895
1900
|
if (!va(r.email.trim())) return !1;
|
|
1896
1901
|
} else if (!ya((r.phone ?? "").trim())) return !1;
|
|
1897
1902
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1898
|
-
}, [k, r]),
|
|
1903
|
+
}, [k, r]), _ = k ? m ?? n("formOriginalPrice") : "₹1999", C = k ? f ?? n("formDiscountedPrice") : "₹499", x = g ?? n("formDiscountPill"), T = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1899
1904
|
n("formProceed"),
|
|
1900
|
-
/* @__PURE__ */ e.jsx("span", { className: ae.ctaStruck, children:
|
|
1905
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.ctaStruck, children: _ }),
|
|
1901
1906
|
" ",
|
|
1902
1907
|
C
|
|
1903
|
-
] }),
|
|
1908
|
+
] }), N = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1904
1909
|
/* @__PURE__ */ e.jsxs("div", { className: ae.offerRow, children: [
|
|
1905
1910
|
/* @__PURE__ */ e.jsx("span", { children: n("formOfferEnding") }),
|
|
1906
1911
|
/* @__PURE__ */ e.jsx("span", { className: ae.pill, children: x })
|
|
1907
1912
|
] }),
|
|
1908
1913
|
/* @__PURE__ */ e.jsx(
|
|
1909
|
-
|
|
1914
|
+
bt,
|
|
1910
1915
|
{
|
|
1911
|
-
href:
|
|
1916
|
+
href: d,
|
|
1912
1917
|
disabled: !h,
|
|
1913
1918
|
onClick: () => {
|
|
1914
1919
|
o?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), l?.(r);
|
|
@@ -1918,12 +1923,12 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1918
1923
|
}
|
|
1919
1924
|
)
|
|
1920
1925
|
] });
|
|
1921
|
-
return /* @__PURE__ */ e.jsx(vt, { className: p, children:
|
|
1922
|
-
}, xa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg",
|
|
1926
|
+
return /* @__PURE__ */ e.jsx(vt, { className: p, children: N });
|
|
1927
|
+
}, xa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", jt = ({
|
|
1923
1928
|
t: n,
|
|
1924
1929
|
languageSelector: r,
|
|
1925
1930
|
logoUrl: l = xa,
|
|
1926
|
-
className:
|
|
1931
|
+
className: d = ""
|
|
1927
1932
|
}) => {
|
|
1928
1933
|
const o = re(), p = o?.config.isGlobal ?? !0, m = r != null && !p;
|
|
1929
1934
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -1934,16 +1939,16 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1934
1939
|
imageComponent: o?.config.imageComponent,
|
|
1935
1940
|
languageSelector: r,
|
|
1936
1941
|
showLanguageSelector: m,
|
|
1937
|
-
className:
|
|
1942
|
+
className: d
|
|
1938
1943
|
}
|
|
1939
1944
|
);
|
|
1940
|
-
}, wa = "_hero_1vvjv_1",
|
|
1945
|
+
}, wa = "_hero_1vvjv_1", ja = "_title_1vvjv_5", Pa = "_subtitle_1vvjv_10", Ta = "_topicTags_1vvjv_23", Na = "_tag_1vvjv_27", Ee = {
|
|
1941
1946
|
hero: wa,
|
|
1942
|
-
title:
|
|
1943
|
-
subtitle:
|
|
1947
|
+
title: ja,
|
|
1948
|
+
subtitle: Pa,
|
|
1944
1949
|
topicTags: Ta,
|
|
1945
|
-
tag:
|
|
1946
|
-
},
|
|
1950
|
+
tag: Na
|
|
1951
|
+
}, Aa = [
|
|
1947
1952
|
"topicMarriage",
|
|
1948
1953
|
"topicRelationship",
|
|
1949
1954
|
"topicBusiness",
|
|
@@ -1954,92 +1959,110 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1954
1959
|
], Ea = ({ t: n, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Ee.hero} ${r}`, "aria-labelledby": "hero-title", children: [
|
|
1955
1960
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ee.title, children: n("heroTitle") }),
|
|
1956
1961
|
/* @__PURE__ */ e.jsx("p", { className: Ee.subtitle, children: n("heroSubtitle") }),
|
|
1957
|
-
/* @__PURE__ */ e.jsx("div", { className: Ee.topicTags, role: "list", children:
|
|
1958
|
-
] }), Ca = "
|
|
1962
|
+
/* @__PURE__ */ e.jsx("div", { className: Ee.topicTags, role: "list", children: Aa.map((l) => /* @__PURE__ */ e.jsx("span", { className: Ee.tag, role: "listitem", children: n(l) }, l)) })
|
|
1963
|
+
] }), Ca = "_section_18f5t_1", Sa = "_backgroundLayer_18f5t_7", Ia = "_backgroundImg_18f5t_14", Ra = "_inner_18f5t_21", Da = "_content_18f5t_27", La = "_headline_18f5t_31", Oa = "_headlineLine_18f5t_36", Fa = "_headlinePill_18f5t_41", Ba = "_headlinePlain_18f5t_56", $a = "_featureList_18f5t_67", Ua = "_featureItem_18f5t_74", Ma = "_featureIcon_18f5t_79", Ka = "_reportImage_18f5t_86", Wa = "_reportImg_18f5t_96", H = {
|
|
1959
1964
|
section: Ca,
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1965
|
+
backgroundLayer: Sa,
|
|
1966
|
+
backgroundImg: Ia,
|
|
1967
|
+
inner: Ra,
|
|
1968
|
+
content: Da,
|
|
1969
|
+
headline: La,
|
|
1970
|
+
headlineLine: Oa,
|
|
1971
|
+
headlinePill: Fa,
|
|
1972
|
+
headlinePlain: Ba,
|
|
1973
|
+
featureList: $a,
|
|
1974
|
+
featureItem: Ua,
|
|
1975
|
+
featureIcon: Ma,
|
|
1976
|
+
reportImage: Ka,
|
|
1977
|
+
reportImg: Wa
|
|
1978
|
+
}, Ga = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", Ha = "https://srm-cdn.a4b.io/yoda/1772540615424.webp", qa = [
|
|
1972
1979
|
"premiumFeature1",
|
|
1973
1980
|
"premiumFeature2",
|
|
1974
1981
|
"premiumFeature3",
|
|
1975
1982
|
"premiumFeature4"
|
|
1976
|
-
],
|
|
1983
|
+
], Ya = "https://srm-cdn.a4b.io/yoda/1772540593817.webp", Va = ({
|
|
1977
1984
|
t: n,
|
|
1978
|
-
reportImageUrl: r =
|
|
1985
|
+
reportImageUrl: r = Ya,
|
|
1979
1986
|
reportImagePriority: l,
|
|
1980
|
-
analytics:
|
|
1987
|
+
analytics: d,
|
|
1981
1988
|
className: o = ""
|
|
1982
1989
|
}) => {
|
|
1983
1990
|
const m = re()?.config.imageComponent ?? pe, f = () => {
|
|
1984
|
-
|
|
1991
|
+
d?.trackBannerClicked?.();
|
|
1985
1992
|
};
|
|
1986
|
-
return /* @__PURE__ */ e.
|
|
1993
|
+
return /* @__PURE__ */ e.jsxs(
|
|
1987
1994
|
"section",
|
|
1988
1995
|
{
|
|
1989
|
-
className: `${
|
|
1996
|
+
className: `${H.section} ${o}`,
|
|
1990
1997
|
"aria-labelledby": "premium-headline",
|
|
1991
1998
|
role: "button",
|
|
1992
1999
|
tabIndex: 0,
|
|
1993
2000
|
onClick: f,
|
|
1994
|
-
children:
|
|
1995
|
-
/* @__PURE__ */ e.
|
|
1996
|
-
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: z.headline, children: [
|
|
1997
|
-
/* @__PURE__ */ e.jsxs("span", { className: z.headlineLine, children: [
|
|
1998
|
-
/* @__PURE__ */ e.jsx("span", { className: z.headlinePill, children: n("premiumHeadlinePill1") }),
|
|
1999
|
-
/* @__PURE__ */ e.jsx("span", { className: z.headlinePlain, children: n("premiumHeadlinePlain1") })
|
|
2000
|
-
] }),
|
|
2001
|
-
/* @__PURE__ */ e.jsxs("span", { className: z.headlineLine, children: [
|
|
2002
|
-
/* @__PURE__ */ e.jsx("span", { className: z.headlinePlain, children: n("premiumHeadlinePlain2") }),
|
|
2003
|
-
/* @__PURE__ */ e.jsx("span", { className: z.headlinePill, children: n("premiumHeadlinePill2") })
|
|
2004
|
-
] })
|
|
2005
|
-
] }),
|
|
2006
|
-
/* @__PURE__ */ e.jsx("ul", { className: z.featureList, children: Wa.map((g) => /* @__PURE__ */ e.jsxs("li", { className: z.featureItem, children: [
|
|
2007
|
-
/* @__PURE__ */ e.jsx(
|
|
2008
|
-
m,
|
|
2009
|
-
{
|
|
2010
|
-
src: Ka,
|
|
2011
|
-
alt: "",
|
|
2012
|
-
className: z.featureIcon,
|
|
2013
|
-
width: 16,
|
|
2014
|
-
height: 16,
|
|
2015
|
-
loading: "lazy"
|
|
2016
|
-
}
|
|
2017
|
-
),
|
|
2018
|
-
n(g)
|
|
2019
|
-
] }, g)) })
|
|
2020
|
-
] }),
|
|
2021
|
-
/* @__PURE__ */ e.jsx("div", { className: z.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
2001
|
+
children: [
|
|
2002
|
+
/* @__PURE__ */ e.jsx("div", { className: H.backgroundLayer, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2022
2003
|
m,
|
|
2023
2004
|
{
|
|
2024
|
-
src:
|
|
2005
|
+
src: Ha,
|
|
2025
2006
|
alt: "",
|
|
2026
|
-
className:
|
|
2027
|
-
width:
|
|
2028
|
-
height:
|
|
2029
|
-
|
|
2030
|
-
loading:
|
|
2007
|
+
className: H.backgroundImg,
|
|
2008
|
+
width: 768,
|
|
2009
|
+
height: 400,
|
|
2010
|
+
sizes: "(max-width: 768px) 100vw, 768px",
|
|
2011
|
+
loading: "lazy"
|
|
2031
2012
|
}
|
|
2032
|
-
) })
|
|
2033
|
-
|
|
2013
|
+
) }),
|
|
2014
|
+
/* @__PURE__ */ e.jsxs("div", { className: H.inner, children: [
|
|
2015
|
+
/* @__PURE__ */ e.jsxs("div", { className: H.content, children: [
|
|
2016
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: H.headline, children: [
|
|
2017
|
+
/* @__PURE__ */ e.jsxs("span", { className: H.headlineLine, children: [
|
|
2018
|
+
/* @__PURE__ */ e.jsx("span", { className: H.headlinePill, children: n("premiumHeadlinePill1") }),
|
|
2019
|
+
/* @__PURE__ */ e.jsx("span", { className: H.headlinePlain, children: n("premiumHeadlinePlain1") })
|
|
2020
|
+
] }),
|
|
2021
|
+
/* @__PURE__ */ e.jsxs("span", { className: H.headlineLine, children: [
|
|
2022
|
+
/* @__PURE__ */ e.jsx("span", { className: H.headlinePlain, children: n("premiumHeadlinePlain2") }),
|
|
2023
|
+
/* @__PURE__ */ e.jsx("span", { className: H.headlinePill, children: n("premiumHeadlinePill2") })
|
|
2024
|
+
] })
|
|
2025
|
+
] }),
|
|
2026
|
+
/* @__PURE__ */ e.jsx("ul", { className: H.featureList, children: qa.map((g) => /* @__PURE__ */ e.jsxs("li", { className: H.featureItem, children: [
|
|
2027
|
+
/* @__PURE__ */ e.jsx(
|
|
2028
|
+
m,
|
|
2029
|
+
{
|
|
2030
|
+
src: Ga,
|
|
2031
|
+
alt: "",
|
|
2032
|
+
className: H.featureIcon,
|
|
2033
|
+
width: 16,
|
|
2034
|
+
height: 16,
|
|
2035
|
+
loading: "lazy"
|
|
2036
|
+
}
|
|
2037
|
+
),
|
|
2038
|
+
n(g)
|
|
2039
|
+
] }, g)) })
|
|
2040
|
+
] }),
|
|
2041
|
+
/* @__PURE__ */ e.jsx("div", { className: H.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
2042
|
+
m,
|
|
2043
|
+
{
|
|
2044
|
+
src: r,
|
|
2045
|
+
alt: "",
|
|
2046
|
+
className: H.reportImg,
|
|
2047
|
+
width: 120,
|
|
2048
|
+
height: 160,
|
|
2049
|
+
priority: l,
|
|
2050
|
+
fetchPriority: l ? "high" : void 0,
|
|
2051
|
+
loading: l ? "eager" : "lazy",
|
|
2052
|
+
sizes: "120px"
|
|
2053
|
+
}
|
|
2054
|
+
) })
|
|
2055
|
+
] })
|
|
2056
|
+
]
|
|
2034
2057
|
}
|
|
2035
2058
|
);
|
|
2036
|
-
},
|
|
2037
|
-
section:
|
|
2038
|
-
heading:
|
|
2039
|
-
logoImg:
|
|
2040
|
-
},
|
|
2059
|
+
}, za = "_section_1kxsy_1", Qa = "_heading_1kxsy_6", Ja = "_logoImg_1kxsy_10", Ke = {
|
|
2060
|
+
section: za,
|
|
2061
|
+
heading: Qa,
|
|
2062
|
+
logoImg: Ja
|
|
2063
|
+
}, Xa = "https://srm-cdn.a4b.io/yoda/1772540351620.webp", Za = ({
|
|
2041
2064
|
t: n,
|
|
2042
|
-
logoUrl: r =
|
|
2065
|
+
logoUrl: r = Xa,
|
|
2043
2066
|
className: l = ""
|
|
2044
2067
|
}) => {
|
|
2045
2068
|
const o = re()?.config.imageComponent ?? pe;
|
|
@@ -2057,32 +2080,32 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2057
2080
|
}
|
|
2058
2081
|
)
|
|
2059
2082
|
] });
|
|
2060
|
-
},
|
|
2061
|
-
section:
|
|
2062
|
-
heading:
|
|
2063
|
-
subtitle:
|
|
2064
|
-
stepList:
|
|
2065
|
-
stepItem:
|
|
2066
|
-
stepNumber:
|
|
2067
|
-
stepText:
|
|
2068
|
-
step3Days:
|
|
2069
|
-
},
|
|
2083
|
+
}, er = "_section_1d9aa_1", tr = "_heading_1d9aa_6", nr = "_subtitle_1d9aa_11", ar = "_stepList_1d9aa_16", rr = "_stepItem_1d9aa_20", ir = "_stepNumber_1d9aa_24", or = "_stepText_1d9aa_30", sr = "_step3Days_1d9aa_35", te = {
|
|
2084
|
+
section: er,
|
|
2085
|
+
heading: tr,
|
|
2086
|
+
subtitle: nr,
|
|
2087
|
+
stepList: ar,
|
|
2088
|
+
stepItem: rr,
|
|
2089
|
+
stepNumber: ir,
|
|
2090
|
+
stepText: or,
|
|
2091
|
+
step3Days: sr
|
|
2092
|
+
}, lr = ["step1", "step2"], cr = ({
|
|
2070
2093
|
t: n,
|
|
2071
2094
|
locale: r = "en",
|
|
2072
2095
|
isGlobal: l = !0,
|
|
2073
|
-
className:
|
|
2096
|
+
className: d = ""
|
|
2074
2097
|
}) => {
|
|
2075
2098
|
const o = l ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
2076
2099
|
return /* @__PURE__ */ e.jsxs(
|
|
2077
2100
|
"section",
|
|
2078
2101
|
{
|
|
2079
|
-
className: `${te.section} ${
|
|
2102
|
+
className: `${te.section} ${d}`,
|
|
2080
2103
|
"aria-labelledby": "steps-heading",
|
|
2081
2104
|
children: [
|
|
2082
2105
|
/* @__PURE__ */ e.jsx("p", { className: te.heading, children: n("yourThreeSteps") }),
|
|
2083
2106
|
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: te.subtitle, children: n("threeStepsSubtitle") }),
|
|
2084
2107
|
/* @__PURE__ */ e.jsxs("ol", { className: te.stepList, children: [
|
|
2085
|
-
|
|
2108
|
+
lr.map((p, m) => /* @__PURE__ */ e.jsxs("li", { className: te.stepItem, children: [
|
|
2086
2109
|
/* @__PURE__ */ e.jsx("span", { className: te.stepNumber, "aria-hidden": !0, children: m + 1 }),
|
|
2087
2110
|
/* @__PURE__ */ e.jsx("span", { className: te.stepText, children: n(p) })
|
|
2088
2111
|
] }, p)),
|
|
@@ -2101,29 +2124,29 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2101
2124
|
]
|
|
2102
2125
|
}
|
|
2103
2126
|
);
|
|
2104
|
-
},
|
|
2105
|
-
section:
|
|
2106
|
-
button:
|
|
2107
|
-
},
|
|
2108
|
-
backdrop:
|
|
2109
|
-
modal:
|
|
2110
|
-
header:
|
|
2111
|
-
title:
|
|
2112
|
-
closeBtn:
|
|
2113
|
-
content:
|
|
2114
|
-
pdfFrame:
|
|
2115
|
-
pdfPages:
|
|
2116
|
-
pdfError:
|
|
2117
|
-
openInNewTab:
|
|
2127
|
+
}, dr = "_section_1jea1_1", ur = "_button_1jea1_7", ft = {
|
|
2128
|
+
section: dr,
|
|
2129
|
+
button: ur
|
|
2130
|
+
}, mr = "_backdrop_pekod_1", fr = "_modal_pekod_21", pr = "_header_pekod_40", hr = "_title_pekod_49", gr = "_closeBtn_pekod_56", _r = "_content_pekod_76", br = "_pdfFrame_pekod_84", vr = "_pdfPages_pekod_92", yr = "_pdfError_pekod_97", kr = "_openInNewTab_pekod_123", oe = {
|
|
2131
|
+
backdrop: mr,
|
|
2132
|
+
modal: fr,
|
|
2133
|
+
header: pr,
|
|
2134
|
+
title: hr,
|
|
2135
|
+
closeBtn: gr,
|
|
2136
|
+
content: _r,
|
|
2137
|
+
pdfFrame: br,
|
|
2138
|
+
pdfPages: vr,
|
|
2139
|
+
pdfError: yr,
|
|
2140
|
+
openInNewTab: kr
|
|
2118
2141
|
};
|
|
2119
|
-
function
|
|
2142
|
+
function xr() {
|
|
2120
2143
|
typeof Se < "u" && Se.GlobalWorkerOptions && (Se.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Se.version}/build/pdf.worker.min.js`);
|
|
2121
2144
|
}
|
|
2122
|
-
const
|
|
2145
|
+
const wr = ({
|
|
2123
2146
|
isOpen: n,
|
|
2124
2147
|
onClose: r,
|
|
2125
2148
|
title: l,
|
|
2126
|
-
pdfUrl:
|
|
2149
|
+
pdfUrl: d
|
|
2127
2150
|
}) => {
|
|
2128
2151
|
const o = U(null), [p, m] = K(!0), [f, g] = K(null);
|
|
2129
2152
|
return W(() => {
|
|
@@ -2135,18 +2158,18 @@ const yr = ({
|
|
|
2135
2158
|
document.removeEventListener("keydown", w), document.body.style.overflow = "";
|
|
2136
2159
|
};
|
|
2137
2160
|
}, [n, r]), W(() => {
|
|
2138
|
-
if (!n || !
|
|
2161
|
+
if (!n || !d || !o.current) return;
|
|
2139
2162
|
m(!0), g(null), o.current.innerHTML = "", (async () => {
|
|
2140
2163
|
try {
|
|
2141
|
-
|
|
2142
|
-
const h = await Se.getDocument({ url:
|
|
2143
|
-
if (!
|
|
2144
|
-
const C =
|
|
2164
|
+
xr();
|
|
2165
|
+
const h = await Se.getDocument({ url: d }).promise, _ = o.current;
|
|
2166
|
+
if (!_) return;
|
|
2167
|
+
const C = _.clientWidth || 600, x = Math.min(C / 612, 2);
|
|
2145
2168
|
for (let T = 1; T <= h.numPages; T++) {
|
|
2146
|
-
const
|
|
2147
|
-
v.height =
|
|
2169
|
+
const N = await h.getPage(T), b = N.getViewport({ scale: x }), v = document.createElement("canvas");
|
|
2170
|
+
v.height = b.height, v.width = b.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
|
|
2148
2171
|
const E = v.getContext("2d");
|
|
2149
|
-
E && await
|
|
2172
|
+
E && await N.render({ canvasContext: E, viewport: b }).promise, _.appendChild(v);
|
|
2150
2173
|
}
|
|
2151
2174
|
} catch (k) {
|
|
2152
2175
|
g(k instanceof Error ? k.message : "Failed to load PDF");
|
|
@@ -2154,7 +2177,7 @@ const yr = ({
|
|
|
2154
2177
|
m(!1);
|
|
2155
2178
|
}
|
|
2156
2179
|
})();
|
|
2157
|
-
}, [n,
|
|
2180
|
+
}, [n, d]), n ? /* @__PURE__ */ e.jsx(
|
|
2158
2181
|
"div",
|
|
2159
2182
|
{
|
|
2160
2183
|
className: oe.backdrop,
|
|
@@ -2185,14 +2208,14 @@ const yr = ({
|
|
|
2185
2208
|
/* @__PURE__ */ e.jsxs("div", { className: oe.pdfFrame, children: [
|
|
2186
2209
|
f && /* @__PURE__ */ e.jsxs("div", { className: oe.pdfError, children: [
|
|
2187
2210
|
/* @__PURE__ */ e.jsx("span", { children: f }),
|
|
2188
|
-
/* @__PURE__ */ e.jsx("a", { href:
|
|
2211
|
+
/* @__PURE__ */ e.jsx("a", { href: d, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
2189
2212
|
] }),
|
|
2190
2213
|
/* @__PURE__ */ e.jsx("div", { ref: o, className: oe.pdfPages })
|
|
2191
2214
|
] }),
|
|
2192
2215
|
/* @__PURE__ */ e.jsx(
|
|
2193
2216
|
"a",
|
|
2194
2217
|
{
|
|
2195
|
-
href:
|
|
2218
|
+
href: d,
|
|
2196
2219
|
target: "_blank",
|
|
2197
2220
|
rel: "noopener noreferrer",
|
|
2198
2221
|
className: oe.openInNewTab,
|
|
@@ -2205,22 +2228,22 @@ const yr = ({
|
|
|
2205
2228
|
)
|
|
2206
2229
|
}
|
|
2207
2230
|
) : null;
|
|
2208
|
-
},
|
|
2231
|
+
}, jr = "https://srm-cdn.a4b.io/yoda/1770890856496.pdf", Pr = ({
|
|
2209
2232
|
t: n,
|
|
2210
|
-
pdfUrl: r =
|
|
2233
|
+
pdfUrl: r = jr,
|
|
2211
2234
|
onClick: l,
|
|
2212
|
-
analytics:
|
|
2235
|
+
analytics: d,
|
|
2213
2236
|
className: o = ""
|
|
2214
2237
|
}) => {
|
|
2215
2238
|
const [p, m] = K(!1), f = n("viewSampleReport"), g = n("sampleReportModalTitle"), w = () => {
|
|
2216
|
-
|
|
2239
|
+
d?.trackViewSampleReportClicked?.(), l?.(), m(!0);
|
|
2217
2240
|
}, k = () => {
|
|
2218
|
-
|
|
2241
|
+
d?.trackViewSampleReportClosed?.(), m(!1);
|
|
2219
2242
|
};
|
|
2220
2243
|
return /* @__PURE__ */ e.jsxs("section", { className: `${ft.section} ${o}`, children: [
|
|
2221
2244
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: ft.button, onClick: w, children: f }),
|
|
2222
2245
|
/* @__PURE__ */ e.jsx(
|
|
2223
|
-
|
|
2246
|
+
wr,
|
|
2224
2247
|
{
|
|
2225
2248
|
isOpen: p,
|
|
2226
2249
|
onClose: k,
|
|
@@ -2229,34 +2252,34 @@ const yr = ({
|
|
|
2229
2252
|
}
|
|
2230
2253
|
)
|
|
2231
2254
|
] });
|
|
2232
|
-
},
|
|
2233
|
-
section:
|
|
2234
|
-
heading:
|
|
2235
|
-
list:
|
|
2236
|
-
item:
|
|
2237
|
-
imageWrap:
|
|
2238
|
-
image:
|
|
2239
|
-
imagePlaceholder:
|
|
2240
|
-
text:
|
|
2241
|
-
itemTitle:
|
|
2242
|
-
itemDesc:
|
|
2243
|
-
},
|
|
2255
|
+
}, Tr = "_section_1ds1w_1", Nr = "_heading_1ds1w_5", Ar = "_list_1ds1w_10", Er = "_item_1ds1w_17", Cr = "_imageWrap_1ds1w_21", Sr = "_image_1ds1w_21", Ir = "_imagePlaceholder_1ds1w_30", Rr = "_text_1ds1w_36", Dr = "_itemTitle_1ds1w_40", Lr = "_itemDesc_1ds1w_51", se = {
|
|
2256
|
+
section: Tr,
|
|
2257
|
+
heading: Nr,
|
|
2258
|
+
list: Ar,
|
|
2259
|
+
item: Er,
|
|
2260
|
+
imageWrap: Cr,
|
|
2261
|
+
image: Sr,
|
|
2262
|
+
imagePlaceholder: Ir,
|
|
2263
|
+
text: Rr,
|
|
2264
|
+
itemTitle: Dr,
|
|
2265
|
+
itemDesc: Lr
|
|
2266
|
+
}, Or = [
|
|
2244
2267
|
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
2245
2268
|
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
2246
2269
|
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
2247
2270
|
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
2248
2271
|
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
2249
2272
|
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
2250
|
-
],
|
|
2273
|
+
], Fr = [
|
|
2251
2274
|
"https://srm-cdn.a4b.io/yoda/1772540409027.webp",
|
|
2252
2275
|
"https://srm-cdn.a4b.io/yoda/1772540422082.webp",
|
|
2253
2276
|
"https://srm-cdn.a4b.io/yoda/1772540435564.webp",
|
|
2254
2277
|
"https://srm-cdn.a4b.io/yoda/1772540535757.webp",
|
|
2255
2278
|
"https://srm-cdn.a4b.io/yoda/1772540558720.webp",
|
|
2256
2279
|
"https://srm-cdn.a4b.io/yoda/1772540570912.webp"
|
|
2257
|
-
],
|
|
2280
|
+
], Br = ({
|
|
2258
2281
|
t: n,
|
|
2259
|
-
imageUrls: r =
|
|
2282
|
+
imageUrls: r = Fr,
|
|
2260
2283
|
className: l = ""
|
|
2261
2284
|
}) => {
|
|
2262
2285
|
const o = re()?.config.imageComponent ?? pe;
|
|
@@ -2267,7 +2290,7 @@ const yr = ({
|
|
|
2267
2290
|
"aria-labelledby": "find-heading",
|
|
2268
2291
|
children: [
|
|
2269
2292
|
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: se.heading, children: n("whatYoullFindTitle") }),
|
|
2270
|
-
/* @__PURE__ */ e.jsx("ul", { className: se.list, children:
|
|
2293
|
+
/* @__PURE__ */ e.jsx("ul", { className: se.list, children: Or.map((p, m) => /* @__PURE__ */ e.jsxs("li", { className: se.item, children: [
|
|
2271
2294
|
/* @__PURE__ */ e.jsx("div", { className: se.imageWrap, children: r[m] ? /* @__PURE__ */ e.jsx(
|
|
2272
2295
|
o,
|
|
2273
2296
|
{
|
|
@@ -2276,7 +2299,8 @@ const yr = ({
|
|
|
2276
2299
|
className: se.image,
|
|
2277
2300
|
width: 96,
|
|
2278
2301
|
height: 96,
|
|
2279
|
-
loading: "lazy"
|
|
2302
|
+
loading: "lazy",
|
|
2303
|
+
sizes: "96px"
|
|
2280
2304
|
}
|
|
2281
2305
|
) : /* @__PURE__ */ e.jsx("div", { className: se.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
2282
2306
|
/* @__PURE__ */ e.jsxs("div", { className: se.text, children: [
|
|
@@ -2287,97 +2311,97 @@ const yr = ({
|
|
|
2287
2311
|
]
|
|
2288
2312
|
}
|
|
2289
2313
|
);
|
|
2290
|
-
},
|
|
2291
|
-
section:
|
|
2292
|
-
heading:
|
|
2293
|
-
subtitle:
|
|
2294
|
-
list:
|
|
2295
|
-
item:
|
|
2296
|
-
},
|
|
2314
|
+
}, $r = "_section_75s76_1", Ur = "_heading_75s76_6", Mr = "_subtitle_75s76_11", Kr = "_list_75s76_16", Wr = "_item_75s76_20", Ce = {
|
|
2315
|
+
section: $r,
|
|
2316
|
+
heading: Ur,
|
|
2317
|
+
subtitle: Mr,
|
|
2318
|
+
list: Kr,
|
|
2319
|
+
item: Wr
|
|
2320
|
+
}, Gr = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Hr = ({ t: n, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Ce.section} ${r}`, "aria-labelledby": "why-heading", children: [
|
|
2297
2321
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Ce.heading, children: n("whyUsTitle") }),
|
|
2298
2322
|
/* @__PURE__ */ e.jsx("p", { className: Ce.subtitle, children: n("whyUsSubtitle") }),
|
|
2299
|
-
/* @__PURE__ */ e.jsx("ul", { className: Ce.list, children:
|
|
2300
|
-
] }),
|
|
2301
|
-
headingBold:
|
|
2302
|
-
},
|
|
2323
|
+
/* @__PURE__ */ e.jsx("ul", { className: Ce.list, children: Gr.map((l) => /* @__PURE__ */ e.jsx("li", { className: Ce.item, children: n(l) }, l)) })
|
|
2324
|
+
] }), qr = "_headingBold_g8xg7_1", Yr = {
|
|
2325
|
+
headingBold: qr
|
|
2326
|
+
}, Vr = ({
|
|
2303
2327
|
t: n,
|
|
2304
2328
|
testimonials: r,
|
|
2305
2329
|
readMoreHref: l,
|
|
2306
|
-
onReadMore:
|
|
2330
|
+
onReadMore: d,
|
|
2307
2331
|
className: o = "",
|
|
2308
|
-
headingClassName: p =
|
|
2332
|
+
headingClassName: p = Yr.headingBold
|
|
2309
2333
|
}) => /* @__PURE__ */ e.jsx(
|
|
2310
2334
|
Xt,
|
|
2311
2335
|
{
|
|
2312
2336
|
t: n,
|
|
2313
2337
|
testimonials: r,
|
|
2314
2338
|
readMoreHref: l,
|
|
2315
|
-
onReadMore:
|
|
2339
|
+
onReadMore: d,
|
|
2316
2340
|
className: o,
|
|
2317
2341
|
headingClassName: p
|
|
2318
2342
|
}
|
|
2319
|
-
),
|
|
2320
|
-
headingBold:
|
|
2321
|
-
},
|
|
2343
|
+
), zr = "_headingBold_g8xg7_1", Qr = {
|
|
2344
|
+
headingBold: zr
|
|
2345
|
+
}, Jr = [
|
|
2322
2346
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2323
2347
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
2324
|
-
],
|
|
2348
|
+
], Xr = ({
|
|
2325
2349
|
t: n,
|
|
2326
2350
|
className: r = "",
|
|
2327
|
-
headingClassName: l =
|
|
2351
|
+
headingClassName: l = Qr.headingBold
|
|
2328
2352
|
}) => {
|
|
2329
2353
|
const o = re()?.config.isGlobal ?? !0, p = (m) => m === "faqA1" ? o ? "faqA1Global" : "faqA1Domestic" : m;
|
|
2330
2354
|
return /* @__PURE__ */ e.jsx(
|
|
2331
2355
|
Zt,
|
|
2332
2356
|
{
|
|
2333
2357
|
t: n,
|
|
2334
|
-
items:
|
|
2358
|
+
items: Jr,
|
|
2335
2359
|
resolveAnswerKey: p,
|
|
2336
2360
|
defaultOpenIndex: 1,
|
|
2337
2361
|
className: r,
|
|
2338
2362
|
headingClassName: l
|
|
2339
2363
|
}
|
|
2340
2364
|
);
|
|
2341
|
-
}, pt = "8296947757", ht = "08071174417", gt = "pujaseva@appsforbharat.com",
|
|
2365
|
+
}, pt = "8296947757", ht = "08071174417", gt = "pujaseva@appsforbharat.com", Zr = ({
|
|
2342
2366
|
t: n,
|
|
2343
2367
|
whatsAppGlobal: r,
|
|
2344
2368
|
whatsAppDomestic: l,
|
|
2345
|
-
email:
|
|
2369
|
+
email: d,
|
|
2346
2370
|
brandName: o,
|
|
2347
2371
|
className: p = ""
|
|
2348
2372
|
}) => {
|
|
2349
|
-
const f = re()?.config.isGlobal ?? !0, g = r ?? pt, w = l ?? ht, k =
|
|
2373
|
+
const f = re()?.config.isGlobal ?? !0, g = r ?? pt, w = l ?? ht, k = d ?? gt, h = f ? n("contactWhatsAppGlobal").replace(pt, g) : n("contactWhatsAppDomestic").replace(ht, w), _ = n("contactEmail").replace(gt, k);
|
|
2350
2374
|
return /* @__PURE__ */ e.jsx(
|
|
2351
2375
|
en,
|
|
2352
2376
|
{
|
|
2353
2377
|
title: n("contactTitle"),
|
|
2354
2378
|
brandName: o ?? n("contactBrandName"),
|
|
2355
2379
|
whatsAppLine: h,
|
|
2356
|
-
emailLine:
|
|
2380
|
+
emailLine: _,
|
|
2357
2381
|
className: p
|
|
2358
2382
|
}
|
|
2359
2383
|
);
|
|
2360
|
-
},
|
|
2384
|
+
}, ei = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ti = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ni = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ai = ({ t: n }) => {
|
|
2361
2385
|
const l = re()?.config.imageComponent ?? pe;
|
|
2362
2386
|
return /* @__PURE__ */ e.jsxs("div", { className: ae.marqueeContent, children: [
|
|
2363
2387
|
/* @__PURE__ */ e.jsxs("span", { className: ae.badge, children: [
|
|
2364
|
-
/* @__PURE__ */ e.jsx(l, { src:
|
|
2388
|
+
/* @__PURE__ */ e.jsx(l, { src: ei, alt: "", className: ae.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
2365
2389
|
n("ctaKundliCreated")
|
|
2366
2390
|
] }),
|
|
2367
2391
|
/* @__PURE__ */ e.jsxs("span", { className: ae.badge, children: [
|
|
2368
|
-
/* @__PURE__ */ e.jsx(l, { src:
|
|
2392
|
+
/* @__PURE__ */ e.jsx(l, { src: ti, alt: "", className: ae.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
2369
2393
|
n("ctaCertified")
|
|
2370
2394
|
] }),
|
|
2371
2395
|
/* @__PURE__ */ e.jsxs("span", { className: ae.badge, children: [
|
|
2372
|
-
/* @__PURE__ */ e.jsx(l, { src:
|
|
2396
|
+
/* @__PURE__ */ e.jsx(l, { src: ni, alt: "", className: ae.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
2373
2397
|
n("ctaSecurePayment")
|
|
2374
2398
|
] })
|
|
2375
2399
|
] });
|
|
2376
|
-
},
|
|
2400
|
+
}, ri = ({
|
|
2377
2401
|
t: n,
|
|
2378
2402
|
onCtaClick: r,
|
|
2379
2403
|
ctaHref: l,
|
|
2380
|
-
className:
|
|
2404
|
+
className: d = ""
|
|
2381
2405
|
}) => {
|
|
2382
2406
|
const o = re(), p = o?.config.isGlobal ?? !0, m = p ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹1999", f = p ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹499", g = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2383
2407
|
n("ctaButtonBefore"),
|
|
@@ -2388,12 +2412,12 @@ const yr = ({
|
|
|
2388
2412
|
return /* @__PURE__ */ e.jsx(
|
|
2389
2413
|
vt,
|
|
2390
2414
|
{
|
|
2391
|
-
className:
|
|
2392
|
-
marquee: /* @__PURE__ */ e.jsx(tn, { children: /* @__PURE__ */ e.jsx(
|
|
2393
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2415
|
+
className: d,
|
|
2416
|
+
marquee: /* @__PURE__ */ e.jsx(tn, { children: /* @__PURE__ */ e.jsx(ai, { t: n }) }),
|
|
2417
|
+
children: /* @__PURE__ */ e.jsx(bt, { href: l, onClick: r, children: g })
|
|
2394
2418
|
}
|
|
2395
2419
|
);
|
|
2396
|
-
},
|
|
2420
|
+
}, ii = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", oi = (n, r) => Ye[n]?.[r] ?? r, si = {
|
|
2397
2421
|
fullName: "",
|
|
2398
2422
|
phone: "",
|
|
2399
2423
|
email: "",
|
|
@@ -2401,11 +2425,11 @@ const yr = ({
|
|
|
2401
2425
|
birthTime: "",
|
|
2402
2426
|
birthTimeUnknown: !1,
|
|
2403
2427
|
birthPlace: ""
|
|
2404
|
-
},
|
|
2428
|
+
}, li = ({
|
|
2405
2429
|
className: n = "",
|
|
2406
2430
|
locale: r,
|
|
2407
2431
|
showLanguageSelector: l = !0,
|
|
2408
|
-
onBack:
|
|
2432
|
+
onBack: d,
|
|
2409
2433
|
initialValues: o,
|
|
2410
2434
|
onProceed: p,
|
|
2411
2435
|
proceedHref: m,
|
|
@@ -2415,33 +2439,33 @@ const yr = ({
|
|
|
2415
2439
|
googleMapsApiKey: k = "",
|
|
2416
2440
|
analytics: h
|
|
2417
2441
|
}) => {
|
|
2418
|
-
const
|
|
2442
|
+
const _ = re(), C = kt(), x = _ !== null, T = x ? _.locale : r, N = T ?? C?.locale ?? "en", [b, v] = K(N), E = x ? _.locale : b, D = x ? _.setLocale : v, [S, M] = K(!1), q = U(null), G = U(T), R = U(
|
|
2419
2443
|
C?.locale
|
|
2420
2444
|
);
|
|
2421
2445
|
W(() => {
|
|
2422
2446
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2423
2447
|
}, []);
|
|
2424
|
-
const
|
|
2448
|
+
const Y = (a) => oi(E, a);
|
|
2425
2449
|
W(() => {
|
|
2426
|
-
T &&
|
|
2450
|
+
T && G.current !== T && D(T), G.current = T;
|
|
2427
2451
|
}, [T, D]), W(() => {
|
|
2428
2452
|
if (T) return;
|
|
2429
2453
|
const a = C?.locale;
|
|
2430
2454
|
a && R.current !== a && D(a), R.current = a;
|
|
2431
2455
|
}, [C?.locale, T, D]);
|
|
2432
|
-
const [
|
|
2433
|
-
...
|
|
2456
|
+
const [V, Q] = K({
|
|
2457
|
+
...si,
|
|
2434
2458
|
...o,
|
|
2435
2459
|
phone: o?.phone ?? ""
|
|
2436
|
-
}), F = x ?
|
|
2460
|
+
}), F = x ? _.formValues : V, L = x ? _.setFormValues : Q, J = x ? _.goToPage : d, ne = x ? _.onProceed : p, ue = x ? _.config.proceedHref : m, ce = x ? _.config.originalPriceLabel : f, he = x ? _.config.discountedPriceLabel : g, ge = x ? _.config.discountPillLabel : w, _e = x ? _.config.showLanguageSelector ?? !0 : l, de = (x ? _?.config?.analytics : h) ?? h;
|
|
2437
2461
|
W(() => {
|
|
2438
2462
|
if (!S) return;
|
|
2439
|
-
const a = (
|
|
2440
|
-
|
|
2463
|
+
const a = (u) => {
|
|
2464
|
+
q.current && !q.current.contains(u.target) && M(!1);
|
|
2441
2465
|
};
|
|
2442
2466
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2443
2467
|
}, [S]);
|
|
2444
|
-
const me =
|
|
2468
|
+
const me = _?.config.imageComponent ?? pe, ye = _e ? /* @__PURE__ */ e.jsxs("div", { className: ie.langDropdownWrap, ref: q, children: [
|
|
2445
2469
|
/* @__PURE__ */ e.jsxs(
|
|
2446
2470
|
"button",
|
|
2447
2471
|
{
|
|
@@ -2453,12 +2477,12 @@ const yr = ({
|
|
|
2453
2477
|
"aria-expanded": S,
|
|
2454
2478
|
"aria-haspopup": "listbox",
|
|
2455
2479
|
id: "kundli-form-lang",
|
|
2456
|
-
"aria-label":
|
|
2480
|
+
"aria-label": Y("language"),
|
|
2457
2481
|
children: [
|
|
2458
2482
|
/* @__PURE__ */ e.jsx(
|
|
2459
2483
|
me,
|
|
2460
2484
|
{
|
|
2461
|
-
src:
|
|
2485
|
+
src: ii,
|
|
2462
2486
|
alt: "",
|
|
2463
2487
|
className: ie.langIcon,
|
|
2464
2488
|
width: 16,
|
|
@@ -2496,21 +2520,21 @@ const yr = ({
|
|
|
2496
2520
|
] }) : null;
|
|
2497
2521
|
return /* @__PURE__ */ e.jsxs("div", { className: `${ie.container} ${n}`, children: [
|
|
2498
2522
|
/* @__PURE__ */ e.jsx(
|
|
2499
|
-
|
|
2523
|
+
jt,
|
|
2500
2524
|
{
|
|
2501
|
-
t:
|
|
2502
|
-
logoUrl: x ?
|
|
2525
|
+
t: Y,
|
|
2526
|
+
logoUrl: x ? _.config.logoUrl : void 0,
|
|
2503
2527
|
languageSelector: ye,
|
|
2504
2528
|
className: ie.kundliHeaderNoBorder
|
|
2505
2529
|
}
|
|
2506
2530
|
),
|
|
2507
2531
|
/* @__PURE__ */ e.jsx("div", { className: ie.headerSeparator, "aria-hidden": !0 }),
|
|
2508
2532
|
/* @__PURE__ */ e.jsxs("main", { className: ie.main, children: [
|
|
2509
|
-
/* @__PURE__ */ e.jsx(In, { t:
|
|
2533
|
+
/* @__PURE__ */ e.jsx(In, { t: Y, onBack: J }),
|
|
2510
2534
|
/* @__PURE__ */ e.jsx(
|
|
2511
|
-
|
|
2535
|
+
ba,
|
|
2512
2536
|
{
|
|
2513
|
-
t:
|
|
2537
|
+
t: Y,
|
|
2514
2538
|
values: F,
|
|
2515
2539
|
onChange: L,
|
|
2516
2540
|
googleMapsApiKey: k
|
|
@@ -2520,7 +2544,7 @@ const yr = ({
|
|
|
2520
2544
|
/* @__PURE__ */ e.jsx(
|
|
2521
2545
|
ka,
|
|
2522
2546
|
{
|
|
2523
|
-
t:
|
|
2547
|
+
t: Y,
|
|
2524
2548
|
values: F,
|
|
2525
2549
|
onProceed: ne,
|
|
2526
2550
|
href: ue,
|
|
@@ -2531,15 +2555,15 @@ const yr = ({
|
|
|
2531
2555
|
}
|
|
2532
2556
|
)
|
|
2533
2557
|
] });
|
|
2534
|
-
},
|
|
2558
|
+
}, ci = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", di = (n, r) => Ye[n]?.[r] ?? r, ui = 112;
|
|
2535
2559
|
function le({
|
|
2536
2560
|
section: n,
|
|
2537
2561
|
children: r,
|
|
2538
2562
|
onImpression: l
|
|
2539
2563
|
}) {
|
|
2540
|
-
const
|
|
2564
|
+
const d = U(null), o = U(!1);
|
|
2541
2565
|
return W(() => {
|
|
2542
|
-
const p =
|
|
2566
|
+
const p = d.current;
|
|
2543
2567
|
if (!p) return;
|
|
2544
2568
|
const m = new IntersectionObserver(
|
|
2545
2569
|
([f]) => {
|
|
@@ -2548,46 +2572,46 @@ function le({
|
|
|
2548
2572
|
{
|
|
2549
2573
|
threshold: 0.1,
|
|
2550
2574
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
2551
|
-
rootMargin: `0px 0px -${
|
|
2575
|
+
rootMargin: `0px 0px -${ui}px 0px`
|
|
2552
2576
|
}
|
|
2553
2577
|
);
|
|
2554
2578
|
return m.observe(p), () => m.disconnect();
|
|
2555
|
-
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref:
|
|
2579
|
+
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2556
2580
|
}
|
|
2557
|
-
function
|
|
2581
|
+
function mi({ className: n }) {
|
|
2558
2582
|
const { view: r } = wt();
|
|
2559
|
-
return r === "form" ? /* @__PURE__ */ e.jsx(
|
|
2583
|
+
return r === "form" ? /* @__PURE__ */ e.jsx(li, {}) : /* @__PURE__ */ e.jsx(fi, { className: n });
|
|
2560
2584
|
}
|
|
2561
|
-
function
|
|
2585
|
+
function fi({ className: n }) {
|
|
2562
2586
|
const r = kt(), {
|
|
2563
2587
|
locale: l,
|
|
2564
|
-
setLocale:
|
|
2588
|
+
setLocale: d,
|
|
2565
2589
|
config: o,
|
|
2566
2590
|
goToForm: p
|
|
2567
2591
|
} = wt(), [m, f] = K(!1), g = U(null), w = U(o.locale), k = U(
|
|
2568
2592
|
r?.locale
|
|
2569
2593
|
);
|
|
2570
2594
|
W(() => {
|
|
2571
|
-
o.locale && w.current !== o.locale &&
|
|
2572
|
-
}, [o.locale,
|
|
2595
|
+
o.locale && w.current !== o.locale && d(o.locale), w.current = o.locale;
|
|
2596
|
+
}, [o.locale, d]), W(() => {
|
|
2573
2597
|
if (o.locale) return;
|
|
2574
|
-
const
|
|
2575
|
-
|
|
2576
|
-
}, [r?.locale, o.locale,
|
|
2598
|
+
const b = r?.locale;
|
|
2599
|
+
b && k.current !== b && d(b), k.current = b;
|
|
2600
|
+
}, [r?.locale, o.locale, d]), W(() => {
|
|
2577
2601
|
if (!m) return;
|
|
2578
|
-
const
|
|
2602
|
+
const b = (v) => {
|
|
2579
2603
|
g.current && !g.current.contains(v.target) && f(!1);
|
|
2580
2604
|
};
|
|
2581
|
-
return document.addEventListener("mousedown",
|
|
2605
|
+
return document.addEventListener("mousedown", b), () => document.removeEventListener("mousedown", b);
|
|
2582
2606
|
}, [m]);
|
|
2583
|
-
const h = (
|
|
2607
|
+
const h = (b) => di(l, b), _ = o.showLanguageSelector ?? !0, C = o.imageComponent ?? pe, x = _ ? /* @__PURE__ */ e.jsxs("div", { className: fe.langDropdownWrap, ref: g, children: [
|
|
2584
2608
|
/* @__PURE__ */ e.jsxs(
|
|
2585
2609
|
"button",
|
|
2586
2610
|
{
|
|
2587
2611
|
type: "button",
|
|
2588
2612
|
className: fe.langTrigger,
|
|
2589
2613
|
onClick: () => {
|
|
2590
|
-
o.analytics?.trackLanguageClickedFe?.({ language: l }), f((
|
|
2614
|
+
o.analytics?.trackLanguageClickedFe?.({ language: l }), f((b) => !b);
|
|
2591
2615
|
},
|
|
2592
2616
|
"aria-expanded": m,
|
|
2593
2617
|
"aria-haspopup": "listbox",
|
|
@@ -2597,7 +2621,7 @@ function di({ className: n }) {
|
|
|
2597
2621
|
/* @__PURE__ */ e.jsx(
|
|
2598
2622
|
C,
|
|
2599
2623
|
{
|
|
2600
|
-
src:
|
|
2624
|
+
src: ci,
|
|
2601
2625
|
alt: "",
|
|
2602
2626
|
className: fe.langIcon,
|
|
2603
2627
|
width: 16,
|
|
@@ -2616,29 +2640,29 @@ function di({ className: n }) {
|
|
|
2616
2640
|
role: "listbox",
|
|
2617
2641
|
"aria-labelledby": "kundli-lang",
|
|
2618
2642
|
"aria-activedescendant": `kundli-lang-option-${l}`,
|
|
2619
|
-
children: qe.map((
|
|
2643
|
+
children: qe.map((b) => /* @__PURE__ */ e.jsx(
|
|
2620
2644
|
"li",
|
|
2621
2645
|
{
|
|
2622
|
-
id: `kundli-lang-option-${
|
|
2646
|
+
id: `kundli-lang-option-${b}`,
|
|
2623
2647
|
role: "option",
|
|
2624
|
-
"aria-selected":
|
|
2648
|
+
"aria-selected": b === l,
|
|
2625
2649
|
className: fe.langOption,
|
|
2626
2650
|
onClick: () => {
|
|
2627
|
-
o.analytics?.trackLanguageChangedFe?.({ newLanguage:
|
|
2651
|
+
o.analytics?.trackLanguageChangedFe?.({ newLanguage: b }), d(b), f(!1);
|
|
2628
2652
|
},
|
|
2629
|
-
children: Oe[
|
|
2653
|
+
children: Oe[b]
|
|
2630
2654
|
},
|
|
2631
|
-
|
|
2655
|
+
b
|
|
2632
2656
|
))
|
|
2633
2657
|
}
|
|
2634
2658
|
)
|
|
2635
|
-
] }) : null, T = (
|
|
2636
|
-
const v =
|
|
2659
|
+
] }) : null, T = (b) => {
|
|
2660
|
+
const v = b.currentTarget.innerText?.trim() ?? h("ctaButtonAfter");
|
|
2637
2661
|
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v }), p(), o.onCtaClick?.();
|
|
2638
|
-
},
|
|
2639
|
-
(
|
|
2662
|
+
}, N = Pe(
|
|
2663
|
+
(b) => {
|
|
2640
2664
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
2641
|
-
section:
|
|
2665
|
+
section: b,
|
|
2642
2666
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
2643
2667
|
});
|
|
2644
2668
|
},
|
|
@@ -2646,7 +2670,7 @@ function di({ className: n }) {
|
|
|
2646
2670
|
);
|
|
2647
2671
|
return /* @__PURE__ */ e.jsxs("div", { className: `${fe.container} ${n}`, children: [
|
|
2648
2672
|
/* @__PURE__ */ e.jsx(
|
|
2649
|
-
|
|
2673
|
+
jt,
|
|
2650
2674
|
{
|
|
2651
2675
|
t: h,
|
|
2652
2676
|
logoUrl: o.logoUrl,
|
|
@@ -2658,7 +2682,7 @@ function di({ className: n }) {
|
|
|
2658
2682
|
le,
|
|
2659
2683
|
{
|
|
2660
2684
|
section: "hero",
|
|
2661
|
-
onImpression:
|
|
2685
|
+
onImpression: N,
|
|
2662
2686
|
children: /* @__PURE__ */ e.jsx(Ea, { t: h })
|
|
2663
2687
|
}
|
|
2664
2688
|
),
|
|
@@ -2666,9 +2690,9 @@ function di({ className: n }) {
|
|
|
2666
2690
|
le,
|
|
2667
2691
|
{
|
|
2668
2692
|
section: "premium_report_overview",
|
|
2669
|
-
onImpression:
|
|
2693
|
+
onImpression: N,
|
|
2670
2694
|
children: /* @__PURE__ */ e.jsx(
|
|
2671
|
-
|
|
2695
|
+
Va,
|
|
2672
2696
|
{
|
|
2673
2697
|
t: h,
|
|
2674
2698
|
reportImageUrl: o.reportImageUrl,
|
|
@@ -2682,12 +2706,12 @@ function di({ className: n }) {
|
|
|
2682
2706
|
le,
|
|
2683
2707
|
{
|
|
2684
2708
|
section: "university_certification",
|
|
2685
|
-
onImpression:
|
|
2709
|
+
onImpression: N,
|
|
2686
2710
|
children: /* @__PURE__ */ e.jsx(
|
|
2687
|
-
|
|
2711
|
+
Za,
|
|
2688
2712
|
{
|
|
2689
2713
|
t: h,
|
|
2690
|
-
logoUrl: o.universityLogoUrls?.find((
|
|
2714
|
+
logoUrl: o.universityLogoUrls?.find((b) => !!b)
|
|
2691
2715
|
}
|
|
2692
2716
|
)
|
|
2693
2717
|
}
|
|
@@ -2696,17 +2720,17 @@ function di({ className: n }) {
|
|
|
2696
2720
|
le,
|
|
2697
2721
|
{
|
|
2698
2722
|
section: "three_steps_process",
|
|
2699
|
-
onImpression:
|
|
2700
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2723
|
+
onImpression: N,
|
|
2724
|
+
children: /* @__PURE__ */ e.jsx(cr, { t: h, locale: l, isGlobal: o.isGlobal })
|
|
2701
2725
|
}
|
|
2702
2726
|
),
|
|
2703
2727
|
/* @__PURE__ */ e.jsx(
|
|
2704
2728
|
le,
|
|
2705
2729
|
{
|
|
2706
2730
|
section: "view_sample_report",
|
|
2707
|
-
onImpression:
|
|
2731
|
+
onImpression: N,
|
|
2708
2732
|
children: /* @__PURE__ */ e.jsx(
|
|
2709
|
-
|
|
2733
|
+
Pr,
|
|
2710
2734
|
{
|
|
2711
2735
|
t: h,
|
|
2712
2736
|
pdfUrl: o.sampleReportHref,
|
|
@@ -2720,25 +2744,25 @@ function di({ className: n }) {
|
|
|
2720
2744
|
le,
|
|
2721
2745
|
{
|
|
2722
2746
|
section: "what_youll_find",
|
|
2723
|
-
onImpression:
|
|
2724
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2747
|
+
onImpression: N,
|
|
2748
|
+
children: /* @__PURE__ */ e.jsx(Br, { t: h })
|
|
2725
2749
|
}
|
|
2726
2750
|
),
|
|
2727
2751
|
/* @__PURE__ */ e.jsx(
|
|
2728
2752
|
le,
|
|
2729
2753
|
{
|
|
2730
2754
|
section: "why_us",
|
|
2731
|
-
onImpression:
|
|
2732
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2755
|
+
onImpression: N,
|
|
2756
|
+
children: /* @__PURE__ */ e.jsx(Hr, { t: h })
|
|
2733
2757
|
}
|
|
2734
2758
|
),
|
|
2735
2759
|
/* @__PURE__ */ e.jsx(
|
|
2736
2760
|
le,
|
|
2737
2761
|
{
|
|
2738
2762
|
section: "feedback",
|
|
2739
|
-
onImpression:
|
|
2763
|
+
onImpression: N,
|
|
2740
2764
|
children: /* @__PURE__ */ e.jsx(
|
|
2741
|
-
|
|
2765
|
+
Vr,
|
|
2742
2766
|
{
|
|
2743
2767
|
t: h,
|
|
2744
2768
|
readMoreHref: o.readMoreReviewsHref,
|
|
@@ -2751,21 +2775,21 @@ function di({ className: n }) {
|
|
|
2751
2775
|
le,
|
|
2752
2776
|
{
|
|
2753
2777
|
section: "faq",
|
|
2754
|
-
onImpression:
|
|
2755
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2778
|
+
onImpression: N,
|
|
2779
|
+
children: /* @__PURE__ */ e.jsx(Xr, { t: h })
|
|
2756
2780
|
}
|
|
2757
2781
|
),
|
|
2758
2782
|
/* @__PURE__ */ e.jsx(
|
|
2759
2783
|
le,
|
|
2760
2784
|
{
|
|
2761
2785
|
section: "contact_us",
|
|
2762
|
-
onImpression:
|
|
2763
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2786
|
+
onImpression: N,
|
|
2787
|
+
children: /* @__PURE__ */ e.jsx(Zr, { t: h })
|
|
2764
2788
|
}
|
|
2765
2789
|
)
|
|
2766
2790
|
] }),
|
|
2767
2791
|
/* @__PURE__ */ e.jsx(
|
|
2768
|
-
|
|
2792
|
+
ri,
|
|
2769
2793
|
{
|
|
2770
2794
|
t: h,
|
|
2771
2795
|
ctaHref: o.ctaHref,
|
|
@@ -2774,11 +2798,11 @@ function di({ className: n }) {
|
|
|
2774
2798
|
)
|
|
2775
2799
|
] });
|
|
2776
2800
|
}
|
|
2777
|
-
const
|
|
2801
|
+
const vi = ({
|
|
2778
2802
|
className: n = "",
|
|
2779
2803
|
locale: r,
|
|
2780
2804
|
showLanguageSelector: l = !0,
|
|
2781
|
-
userId:
|
|
2805
|
+
userId: d,
|
|
2782
2806
|
isGlobal: o,
|
|
2783
2807
|
logoUrl: p,
|
|
2784
2808
|
reportImageUrl: m,
|
|
@@ -2787,12 +2811,12 @@ const gi = ({
|
|
|
2787
2811
|
onViewSampleReport: w,
|
|
2788
2812
|
ctaHref: k,
|
|
2789
2813
|
onCtaClick: h,
|
|
2790
|
-
readMoreReviewsHref:
|
|
2814
|
+
readMoreReviewsHref: _,
|
|
2791
2815
|
onProceed: C,
|
|
2792
2816
|
proceedHref: x,
|
|
2793
2817
|
originalPriceLabel: T,
|
|
2794
|
-
discountedPriceLabel:
|
|
2795
|
-
discountPillLabel:
|
|
2818
|
+
discountedPriceLabel: N,
|
|
2819
|
+
discountPillLabel: b,
|
|
2796
2820
|
analytics: v,
|
|
2797
2821
|
onLocaleChange: E
|
|
2798
2822
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2800,7 +2824,7 @@ const gi = ({
|
|
|
2800
2824
|
{
|
|
2801
2825
|
locale: r,
|
|
2802
2826
|
showLanguageSelector: l,
|
|
2803
|
-
userId:
|
|
2827
|
+
userId: d,
|
|
2804
2828
|
isGlobal: o,
|
|
2805
2829
|
logoUrl: p,
|
|
2806
2830
|
reportImageUrl: m,
|
|
@@ -2809,17 +2833,17 @@ const gi = ({
|
|
|
2809
2833
|
onViewSampleReport: w,
|
|
2810
2834
|
ctaHref: k,
|
|
2811
2835
|
onCtaClick: h,
|
|
2812
|
-
readMoreReviewsHref:
|
|
2836
|
+
readMoreReviewsHref: _,
|
|
2813
2837
|
onProceed: C,
|
|
2814
2838
|
proceedHref: x,
|
|
2815
2839
|
originalPriceLabel: T,
|
|
2816
|
-
discountedPriceLabel:
|
|
2817
|
-
discountPillLabel:
|
|
2840
|
+
discountedPriceLabel: N,
|
|
2841
|
+
discountPillLabel: b,
|
|
2818
2842
|
analytics: v,
|
|
2819
2843
|
onLocaleChange: E,
|
|
2820
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2844
|
+
children: /* @__PURE__ */ e.jsx(mi, { className: n })
|
|
2821
2845
|
}
|
|
2822
|
-
),
|
|
2846
|
+
), yi = {
|
|
2823
2847
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2824
2848
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2825
2849
|
language_changed_fe: "language_changed_fe",
|
|
@@ -2852,20 +2876,20 @@ const gi = ({
|
|
|
2852
2876
|
};
|
|
2853
2877
|
export {
|
|
2854
2878
|
pe as DefaultKundliImage,
|
|
2855
|
-
|
|
2856
|
-
|
|
2879
|
+
gi as I18nProvider,
|
|
2880
|
+
yi as KUNDLI_ANALYTICS_EVENT_NAMES,
|
|
2857
2881
|
xt as KUNDLI_LANGUAGE_STORAGE_KEY,
|
|
2858
2882
|
Ve as KundliContext,
|
|
2859
|
-
|
|
2860
|
-
|
|
2883
|
+
li as KundliForm,
|
|
2884
|
+
vi as KundliPage,
|
|
2861
2885
|
En as KundliProvider,
|
|
2862
2886
|
qe as SUPPORTED_LOCALES,
|
|
2863
|
-
|
|
2887
|
+
jn as getItem,
|
|
2864
2888
|
Tn as getStoredKundliLocale,
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2889
|
+
bi as isLocalStorageAvailable,
|
|
2890
|
+
_i as removeItem,
|
|
2891
|
+
Pn as setItem,
|
|
2892
|
+
Nn as setStoredKundliLocale,
|
|
2869
2893
|
kt as useI18n,
|
|
2870
2894
|
re as useKundliContext,
|
|
2871
2895
|
wt as useKundliContextOrThrow
|