@srimandir/kundli-generator 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-VXqxVavb.js → analytics-Ctu2CtEu.js} +397 -403
- package/dist/analytics-Ctu2CtEu.js.map +1 -0
- package/dist/components/KundliPage/KundliPage.d.ts +1 -1
- package/dist/components/KundliPage/KundliPageV1.d.ts +1 -1
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +3 -9
- package/dist/components/KundliPlanBottomSheet/planDefaults.d.ts +5 -11
- package/dist/{criticalCss-CKP-kj2_.js → criticalCss-CMDWZ2jr.js} +2 -2
- package/dist/{criticalCss-CKP-kj2_.js.map → criticalCss-CMDWZ2jr.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +3 -3
- package/dist/analytics-VXqxVavb.js.map +0 -1
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import Ge, { useContext as Ke, createContext as cr, useState as
|
|
1
|
+
import Ge, { useContext as Ke, createContext as cr, useState as Y, useRef as H, useEffect as X, useMemo as qe, useCallback as be } from "react";
|
|
2
2
|
import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as xe, PageHeader as $r } from "@srimandir/astrology-common";
|
|
3
|
-
var Ie = { exports: {} },
|
|
3
|
+
var Ie = { exports: {} }, Ne = {};
|
|
4
4
|
var nr;
|
|
5
5
|
function Ur() {
|
|
6
|
-
if (nr) return
|
|
6
|
+
if (nr) return Ne;
|
|
7
7
|
nr = 1;
|
|
8
|
-
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
9
|
-
function _(j,
|
|
10
|
-
var d,
|
|
11
|
-
F !== void 0 && (g = "" + F),
|
|
12
|
-
for (d in
|
|
13
|
-
if (j && j.defaultProps) for (d in
|
|
14
|
-
return { $$typeof: i, type: j, key: g, ref: D, props:
|
|
8
|
+
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, h = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function _(j, v, F) {
|
|
10
|
+
var d, T = {}, g = null, D = null;
|
|
11
|
+
F !== void 0 && (g = "" + F), v.key !== void 0 && (g = "" + v.key), v.ref !== void 0 && (D = v.ref);
|
|
12
|
+
for (d in v) u.call(v, d) && !w.hasOwnProperty(d) && (T[d] = v[d]);
|
|
13
|
+
if (j && j.defaultProps) for (d in v = j.defaultProps, v) T[d] === void 0 && (T[d] = v[d]);
|
|
14
|
+
return { $$typeof: i, type: j, key: g, ref: D, props: T, _owner: h.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Ne.Fragment = c, Ne.jsx = _, Ne.jsxs = _, Ne;
|
|
17
17
|
}
|
|
18
18
|
var Re = {};
|
|
19
19
|
var or;
|
|
20
20
|
function qr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"),
|
|
22
|
+
var t = Ge, i = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), D = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, p = "@@iterator";
|
|
23
23
|
function I(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var o =
|
|
26
|
+
var o = A && e[A] || e[p];
|
|
27
27
|
return typeof o == "function" ? o : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function k(e) {
|
|
31
31
|
{
|
|
32
|
-
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0),
|
|
33
|
-
s[
|
|
34
|
-
|
|
32
|
+
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), m = 1; m < o; m++)
|
|
33
|
+
s[m - 1] = arguments[m];
|
|
34
|
+
V("error", e, s);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function V(e, o, s) {
|
|
38
38
|
{
|
|
39
|
-
var
|
|
39
|
+
var m = N.ReactDebugCurrentFrame, C = m.getStackAddendum();
|
|
40
40
|
C !== "" && (o += "%s", s = s.concat([C]));
|
|
41
|
-
var
|
|
42
|
-
return String(
|
|
41
|
+
var S = s.map(function(x) {
|
|
42
|
+
return String(x);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
S.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, S);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var b = !1, U = !1, O = !1, M = !1, Z = !1,
|
|
48
|
-
|
|
47
|
+
var b = !1, U = !1, O = !1, M = !1, Z = !1, R;
|
|
48
|
+
R = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function B(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === w || Z || e === h || e === F || e === d || M || e === D || b || U || O || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === T || e.$$typeof === _ || e.$$typeof === j || e.$$typeof === v || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
|
-
e.$$typeof ===
|
|
54
|
+
e.$$typeof === R || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
var
|
|
58
|
-
if (
|
|
59
|
-
return
|
|
56
|
+
function J(e, o, s) {
|
|
57
|
+
var m = e.displayName;
|
|
58
|
+
if (m)
|
|
59
|
+
return m;
|
|
60
60
|
var C = o.displayName || o.name || "";
|
|
61
61
|
return C !== "" ? s + "(" + C + ")" : s;
|
|
62
62
|
}
|
|
@@ -66,16 +66,16 @@ function qr() {
|
|
|
66
66
|
function E(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof e.tag == "number" &&
|
|
69
|
+
if (typeof e.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
70
70
|
return e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
73
73
|
switch (e) {
|
|
74
|
-
case
|
|
74
|
+
case u:
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case c:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case w:
|
|
79
79
|
return "Profiler";
|
|
80
80
|
case h:
|
|
81
81
|
return "StrictMode";
|
|
@@ -92,15 +92,15 @@ function qr() {
|
|
|
92
92
|
case _:
|
|
93
93
|
var s = e;
|
|
94
94
|
return $(s._context) + ".Provider";
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
98
|
-
var
|
|
99
|
-
return
|
|
95
|
+
case v:
|
|
96
|
+
return J(e, e.render, "ForwardRef");
|
|
97
|
+
case T:
|
|
98
|
+
var m = e.displayName || null;
|
|
99
|
+
return m !== null ? m : E(e.type) || "Memo";
|
|
100
100
|
case g: {
|
|
101
|
-
var C = e,
|
|
101
|
+
var C = e, S = C._payload, x = C._init;
|
|
102
102
|
try {
|
|
103
|
-
return E(
|
|
103
|
+
return E(x(S));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -167,18 +167,18 @@ function qr() {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
K < 0 &&
|
|
170
|
+
K < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var fe =
|
|
173
|
+
var fe = N.ReactCurrentDispatcher, me;
|
|
174
174
|
function ee(e, o, s) {
|
|
175
175
|
{
|
|
176
176
|
if (me === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
179
|
} catch (C) {
|
|
180
|
-
var
|
|
181
|
-
me =
|
|
180
|
+
var m = C.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
me = m && m[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
184
|
` + me + e;
|
|
@@ -197,48 +197,48 @@ function qr() {
|
|
|
197
197
|
if (s !== void 0)
|
|
198
198
|
return s;
|
|
199
199
|
}
|
|
200
|
-
var
|
|
200
|
+
var m;
|
|
201
201
|
ye = !0;
|
|
202
202
|
var C = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var S;
|
|
205
|
+
S = fe.current, fe.current = null, pe();
|
|
206
206
|
try {
|
|
207
207
|
if (o) {
|
|
208
|
-
var
|
|
208
|
+
var x = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(x.prototype, "props", {
|
|
212
212
|
set: function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
}
|
|
215
215
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
216
|
try {
|
|
217
|
-
Reflect.construct(
|
|
217
|
+
Reflect.construct(x, []);
|
|
218
218
|
} catch (ae) {
|
|
219
|
-
|
|
219
|
+
m = ae;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(e, [],
|
|
221
|
+
Reflect.construct(e, [], x);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
224
|
+
x.call();
|
|
225
225
|
} catch (ae) {
|
|
226
|
-
|
|
226
|
+
m = ae;
|
|
227
227
|
}
|
|
228
|
-
e.call(
|
|
228
|
+
e.call(x.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
233
|
} catch (ae) {
|
|
234
|
-
|
|
234
|
+
m = ae;
|
|
235
235
|
}
|
|
236
236
|
e();
|
|
237
237
|
}
|
|
238
238
|
} catch (ae) {
|
|
239
|
-
if (ae &&
|
|
239
|
+
if (ae && m && typeof ae.stack == "string") {
|
|
240
240
|
for (var y = ae.stack.split(`
|
|
241
|
-
`), re =
|
|
241
|
+
`), re = m.stack.split(`
|
|
242
242
|
`), G = y.length - 1, W = re.length - 1; G >= 1 && W >= 0 && y[G] !== re[W]; )
|
|
243
243
|
W--;
|
|
244
244
|
for (; G >= 1 && W >= 0; G--, W--)
|
|
@@ -255,19 +255,19 @@ function qr() {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
ye = !1, fe.current =
|
|
258
|
+
ye = !1, fe.current = S, oe(), Error.prepareStackTrace = C;
|
|
259
259
|
}
|
|
260
260
|
var Ce = e ? e.displayName || e.name : "", ve = Ce ? ee(Ce) : "";
|
|
261
261
|
return typeof e == "function" && ce.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Pe(e, o, s) {
|
|
264
264
|
return _e(e, !1);
|
|
265
265
|
}
|
|
266
266
|
function ke(e) {
|
|
267
267
|
var o = e.prototype;
|
|
268
268
|
return !!(o && o.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function P(e, o, s) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
@@ -282,44 +282,44 @@ function qr() {
|
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
286
|
-
return
|
|
287
|
-
case
|
|
288
|
-
return
|
|
285
|
+
case v:
|
|
286
|
+
return Pe(e.render);
|
|
287
|
+
case T:
|
|
288
|
+
return P(e.type, o, s);
|
|
289
289
|
case g: {
|
|
290
|
-
var
|
|
290
|
+
var m = e, C = m._payload, S = m._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return P(S(C), o, s);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty, l = {}, q =
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, l = {}, q = N.ReactDebugCurrentFrame;
|
|
300
300
|
function te(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var o = e._owner, s =
|
|
302
|
+
var o = e._owner, s = P(e.type, e._source, o ? o.type : null);
|
|
303
303
|
q.setExtraStackFrame(s);
|
|
304
304
|
} else
|
|
305
305
|
q.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Te(e, o, s, m, C) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
310
|
-
for (var
|
|
311
|
-
if (
|
|
309
|
+
var S = Function.call.bind(n);
|
|
310
|
+
for (var x in e)
|
|
311
|
+
if (S(e, x)) {
|
|
312
312
|
var y = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof e[
|
|
315
|
-
var re = Error((
|
|
314
|
+
if (typeof e[x] != "function") {
|
|
315
|
+
var re = Error((m || "React class") + ": " + s + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
316
|
throw re.name = "Invariant Violation", re;
|
|
317
317
|
}
|
|
318
|
-
y = e[
|
|
318
|
+
y = e[x](o, x, m, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
319
|
} catch (G) {
|
|
320
320
|
y = G;
|
|
321
321
|
}
|
|
322
|
-
y && !(y instanceof Error) && (te(C),
|
|
322
|
+
y && !(y instanceof Error) && (te(C), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", s, x, typeof y), te(null)), y instanceof Error && !(y.message in l) && (l[y.message] = !0, te(C), k("Failed %s type: %s", s, y.message), te(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -345,9 +345,9 @@ function qr() {
|
|
|
345
345
|
}
|
|
346
346
|
function Ye(e) {
|
|
347
347
|
if (_r(e))
|
|
348
|
-
return
|
|
348
|
+
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), He(e);
|
|
349
349
|
}
|
|
350
|
-
var Ve =
|
|
350
|
+
var Ve = N.ReactCurrentOwner, br = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -375,7 +375,7 @@ function qr() {
|
|
|
375
375
|
function xr(e, o) {
|
|
376
376
|
{
|
|
377
377
|
var s = function() {
|
|
378
|
-
Je || (Je = !0,
|
|
378
|
+
Je || (Je = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
379
379
|
};
|
|
380
380
|
s.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
381
|
get: s,
|
|
@@ -386,7 +386,7 @@ function qr() {
|
|
|
386
386
|
function wr(e, o) {
|
|
387
387
|
{
|
|
388
388
|
var s = function() {
|
|
389
|
-
ze || (ze = !0,
|
|
389
|
+
ze || (ze = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
390
390
|
};
|
|
391
391
|
s.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: s,
|
|
@@ -394,7 +394,7 @@ function qr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var Pr = function(e, o, s, m, C, S, x) {
|
|
398
398
|
var y = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: i,
|
|
@@ -402,9 +402,9 @@ function qr() {
|
|
|
402
402
|
type: e,
|
|
403
403
|
key: o,
|
|
404
404
|
ref: s,
|
|
405
|
-
props:
|
|
405
|
+
props: x,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: S
|
|
408
408
|
};
|
|
409
409
|
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
@@ -415,7 +415,7 @@ function qr() {
|
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !1,
|
|
418
|
-
value:
|
|
418
|
+
value: m
|
|
419
419
|
}), Object.defineProperty(y, "_source", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
@@ -423,28 +423,28 @@ function qr() {
|
|
|
423
423
|
value: C
|
|
424
424
|
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Ar(e, o, s, m, C) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
428
|
+
var S, x = {}, y = null, re = null;
|
|
429
429
|
s !== void 0 && (Ye(s), y = "" + s), kr(o) && (Ye(o.key), y = "" + o.key), yr(o) && (re = o.ref, vr(o, C));
|
|
430
|
-
for (
|
|
431
|
-
n.call(o,
|
|
430
|
+
for (S in o)
|
|
431
|
+
n.call(o, S) && !br.hasOwnProperty(S) && (x[S] = o[S]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
433
|
var G = e.defaultProps;
|
|
434
|
-
for (
|
|
435
|
-
|
|
434
|
+
for (S in G)
|
|
435
|
+
x[S] === void 0 && (x[S] = G[S]);
|
|
436
436
|
}
|
|
437
437
|
if (y || re) {
|
|
438
438
|
var W = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
-
y && xr(
|
|
439
|
+
y && xr(x, W), re && wr(x, W);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return Pr(e, y, re, C, m, Ve.current, x);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe =
|
|
445
|
-
function
|
|
444
|
+
var Fe = N.ReactCurrentOwner, Qe = N.ReactDebugCurrentFrame;
|
|
445
|
+
function Ae(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var o = e._owner, s =
|
|
447
|
+
var o = e._owner, s = P(e.type, e._source, o ? o.type : null);
|
|
448
448
|
Qe.setExtraStackFrame(s);
|
|
449
449
|
} else
|
|
450
450
|
Qe.setExtraStackFrame(null);
|
|
@@ -491,8 +491,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
491
491
|
if (Ze[s])
|
|
492
492
|
return;
|
|
493
493
|
Ze[s] = !0;
|
|
494
|
-
var
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (
|
|
494
|
+
var m = "";
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + E(e._owner.type) + "."), Ae(e), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, m), Ae(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function rr(e, o) {
|
|
@@ -501,20 +501,20 @@ Check the top-level render call using <` + s + ">.");
|
|
|
501
501
|
return;
|
|
502
502
|
if (Oe(e))
|
|
503
503
|
for (var s = 0; s < e.length; s++) {
|
|
504
|
-
var
|
|
505
|
-
$e(
|
|
504
|
+
var m = e[s];
|
|
505
|
+
$e(m) && er(m, o);
|
|
506
506
|
}
|
|
507
507
|
else if ($e(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
510
|
var C = I(e);
|
|
511
511
|
if (typeof C == "function" && C !== e.entries)
|
|
512
|
-
for (var
|
|
513
|
-
$e(
|
|
512
|
+
for (var S = C.call(e), x; !(x = S.next()).done; )
|
|
513
|
+
$e(x.value) && er(x.value, o);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Tr(e) {
|
|
518
518
|
{
|
|
519
519
|
var o = e.type;
|
|
520
520
|
if (o == null || typeof o == "string")
|
|
@@ -522,60 +522,60 @@ Check the top-level render call using <` + s + ">.");
|
|
|
522
522
|
var s;
|
|
523
523
|
if (typeof o == "function")
|
|
524
524
|
s = o.propTypes;
|
|
525
|
-
else if (typeof o == "object" && (o.$$typeof ===
|
|
525
|
+
else if (typeof o == "object" && (o.$$typeof === v || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
o.$$typeof ===
|
|
527
|
+
o.$$typeof === T))
|
|
528
528
|
s = o.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (s) {
|
|
532
|
-
var
|
|
533
|
-
|
|
532
|
+
var m = E(o);
|
|
533
|
+
Te(s, e.props, "prop", m, e);
|
|
534
534
|
} else if (o.PropTypes !== void 0 && !Me) {
|
|
535
535
|
Me = !0;
|
|
536
536
|
var C = E(o);
|
|
537
|
-
|
|
537
|
+
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved &&
|
|
539
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Nr(e) {
|
|
543
543
|
{
|
|
544
544
|
for (var o = Object.keys(e.props), s = 0; s < o.length; s++) {
|
|
545
|
-
var
|
|
546
|
-
if (
|
|
547
|
-
|
|
545
|
+
var m = o[s];
|
|
546
|
+
if (m !== "children" && m !== "key") {
|
|
547
|
+
Ae(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), Ae(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (
|
|
551
|
+
e.ref !== null && (Ae(e), k("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var tr = {};
|
|
555
|
-
function ar(e, o, s,
|
|
555
|
+
function ar(e, o, s, m, C, S) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
557
|
+
var x = B(e);
|
|
558
|
+
if (!x) {
|
|
559
559
|
var y = "";
|
|
560
560
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
561
|
var re = Cr();
|
|
562
562
|
re ? y += re : y += Xe();
|
|
563
563
|
var G;
|
|
564
|
-
e === null ? G = "null" : Oe(e) ? G = "array" : e !== void 0 && e.$$typeof === i ? (G = "<" + (E(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : G = typeof e,
|
|
564
|
+
e === null ? G = "null" : Oe(e) ? G = "array" : e !== void 0 && e.$$typeof === i ? (G = "<" + (E(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : G = typeof e, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, y);
|
|
565
565
|
}
|
|
566
|
-
var W =
|
|
566
|
+
var W = Ar(e, o, s, C, S);
|
|
567
567
|
if (W == null)
|
|
568
568
|
return W;
|
|
569
|
-
if (
|
|
569
|
+
if (x) {
|
|
570
570
|
var de = o.children;
|
|
571
571
|
if (de !== void 0)
|
|
572
|
-
if (
|
|
572
|
+
if (m)
|
|
573
573
|
if (Oe(de)) {
|
|
574
574
|
for (var Ce = 0; Ce < de.length; Ce++)
|
|
575
575
|
rr(de[Ce], e);
|
|
576
576
|
Object.freeze && Object.freeze(de);
|
|
577
577
|
} else
|
|
578
|
-
|
|
578
|
+
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
580
|
rr(de, e);
|
|
581
581
|
}
|
|
@@ -585,7 +585,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
585
585
|
}), Ue = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
586
|
if (!tr[ve + Ue]) {
|
|
587
587
|
var Br = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
-
|
|
588
|
+
k(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -593,7 +593,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
593
593
|
<%s key={someKey} {...props} />`, Ue, ve, Br, ve), tr[ve + Ue] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e ===
|
|
596
|
+
return e === u ? Nr(W) : Tr(W), W;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function Rr(e, o, s) {
|
|
@@ -603,7 +603,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
603
603
|
return ar(e, o, s, !1);
|
|
604
604
|
}
|
|
605
605
|
var Er = Sr, Ir = Rr;
|
|
606
|
-
Re.Fragment =
|
|
606
|
+
Re.Fragment = u, Re.jsx = Er, Re.jsxs = Ir;
|
|
607
607
|
})()), Re;
|
|
608
608
|
}
|
|
609
609
|
var ir;
|
|
@@ -797,7 +797,7 @@ const dr = ["en", "hi"], sr = {
|
|
|
797
797
|
planAstrologerHeading: "We will assign you a top astrologer from below",
|
|
798
798
|
planNameBasic: "Kundli Report",
|
|
799
799
|
planNameGuidance: "Kundli Report + Astrologer Guidance",
|
|
800
|
-
planSaveLabel: "Save 25%",
|
|
800
|
+
planSaveLabel: "Save ~25%",
|
|
801
801
|
// Plan Features
|
|
802
802
|
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
803
803
|
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
@@ -812,19 +812,19 @@ const dr = ["en", "hi"], sr = {
|
|
|
812
812
|
planAstrologerExp: "{{years}} Years of experience",
|
|
813
813
|
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
814
814
|
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
815
|
-
planAstrologerCertVedicAstrology: "
|
|
815
|
+
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
816
816
|
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
817
817
|
planAstrologerCertBhuCertified: "BHU Certified Vedic Astrologer",
|
|
818
818
|
planAstrologerCertMantraRudraksha: "Mantra & Rudraksha Specialist",
|
|
819
819
|
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
820
820
|
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
821
821
|
//astro name
|
|
822
|
-
planAstrologerNameJyoti: "
|
|
823
|
-
planAstrologerExpJyoti: "
|
|
824
|
-
planAstrologerNameSamiksha: "
|
|
825
|
-
planAstrologerExpSamiksha: "
|
|
826
|
-
planAstrologerNameNeeraj: "
|
|
827
|
-
planAstrologerExpNeeraj: "
|
|
822
|
+
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
823
|
+
planAstrologerExpJyoti: "18+ Years of experience",
|
|
824
|
+
planAstrologerNameSamiksha: "Ashwini",
|
|
825
|
+
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
826
|
+
planAstrologerNameNeeraj: "Meenakshi",
|
|
827
|
+
planAstrologerExpNeeraj: "12+ Years of experience",
|
|
828
828
|
planAstrologerNameAshwini: "Astro Ashwini",
|
|
829
829
|
planAstrologerExpAshwini: "16 Years of experience"
|
|
830
830
|
},
|
|
@@ -1009,7 +1009,7 @@ const dr = ["en", "hi"], sr = {
|
|
|
1009
1009
|
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
1010
1010
|
planNameBasic: "कुंडली रिपोर्ट",
|
|
1011
1011
|
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
1012
|
-
planSaveLabel: "25% बचाएं",
|
|
1012
|
+
planSaveLabel: "~25% बचाएं",
|
|
1013
1013
|
// Plan Features
|
|
1014
1014
|
planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
|
|
1015
1015
|
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
|
|
@@ -1024,19 +1024,19 @@ const dr = ["en", "hi"], sr = {
|
|
|
1024
1024
|
planAstrologerExp: "साल का अनुभव",
|
|
1025
1025
|
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1026
1026
|
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1027
|
-
planAstrologerCertVedicAstrology: "
|
|
1027
|
+
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1028
1028
|
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
1029
1029
|
planAstrologerCertBhuCertified: "BHU से प्रमाणित वैदिक ज्योतिषी",
|
|
1030
1030
|
planAstrologerCertMantraRudraksha: "मंत्र और रुद्राक्ष विशेषज्ञ",
|
|
1031
1031
|
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1032
1032
|
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1033
1033
|
//astro name
|
|
1034
|
-
planAstrologerNameJyoti: "
|
|
1035
|
-
planAstrologerExpJyoti: "
|
|
1036
|
-
planAstrologerNameSamiksha: "
|
|
1037
|
-
planAstrologerExpSamiksha: "
|
|
1038
|
-
planAstrologerNameNeeraj: "
|
|
1039
|
-
planAstrologerExpNeeraj: "
|
|
1034
|
+
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1035
|
+
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1036
|
+
planAstrologerNameSamiksha: "अश्विनी",
|
|
1037
|
+
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1038
|
+
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
1039
|
+
planAstrologerExpNeeraj: "12+ साल का अनुभव",
|
|
1040
1040
|
planAstrologerNameAshwini: "ज्योतिष अश्विनी",
|
|
1041
1041
|
planAstrologerExpAshwini: "16 साल का अनुभव"
|
|
1042
1042
|
}
|
|
@@ -1044,8 +1044,8 @@ const dr = ["en", "hi"], sr = {
|
|
|
1044
1044
|
locale: t,
|
|
1045
1045
|
children: i
|
|
1046
1046
|
}) => {
|
|
1047
|
-
const
|
|
1048
|
-
return /* @__PURE__ */ r.jsx(mr.Provider, { value:
|
|
1047
|
+
const u = { locale: t, t: (h) => ur[t]?.[h] ?? h };
|
|
1048
|
+
return /* @__PURE__ */ r.jsx(mr.Provider, { value: u, children: i });
|
|
1049
1049
|
};
|
|
1050
1050
|
function Kr() {
|
|
1051
1051
|
return Ke(mr);
|
|
@@ -1062,13 +1062,13 @@ const Wr = "_container_1e1th_1", Hr = "_main_1e1th_7", Yr = "_kundliHeaderNoBord
|
|
|
1062
1062
|
langMenu: Zr,
|
|
1063
1063
|
langOption: et
|
|
1064
1064
|
}, Le = (t) => {
|
|
1065
|
-
const { priority: i, fetchPriority: c, width:
|
|
1065
|
+
const { priority: i, fetchPriority: c, width: u, height: h, ...w } = t;
|
|
1066
1066
|
return Ge.createElement("img", {
|
|
1067
|
-
...
|
|
1068
|
-
width:
|
|
1067
|
+
...w,
|
|
1068
|
+
width: u ?? 1,
|
|
1069
1069
|
height: h ?? 1,
|
|
1070
1070
|
decoding: "async",
|
|
1071
|
-
loading:
|
|
1071
|
+
loading: w.loading ?? (i ? "eager" : "lazy"),
|
|
1072
1072
|
...c && { fetchPriority: c }
|
|
1073
1073
|
});
|
|
1074
1074
|
};
|
|
@@ -1127,33 +1127,33 @@ const We = cr(null), ot = {
|
|
|
1127
1127
|
locale: t,
|
|
1128
1128
|
showLanguageSelector: i = !0,
|
|
1129
1129
|
showSheet: c,
|
|
1130
|
-
userId:
|
|
1130
|
+
userId: u,
|
|
1131
1131
|
isGlobal: h,
|
|
1132
|
-
variant:
|
|
1132
|
+
variant: w,
|
|
1133
1133
|
googleMapsApiKey: _,
|
|
1134
1134
|
logoUrl: j,
|
|
1135
|
-
reportImageUrl:
|
|
1135
|
+
reportImageUrl: v,
|
|
1136
1136
|
reportImagePriority: F,
|
|
1137
1137
|
backgroundImagePriority: d,
|
|
1138
|
-
universityLogoUrls:
|
|
1138
|
+
universityLogoUrls: T,
|
|
1139
1139
|
sampleReportHref: g,
|
|
1140
1140
|
onViewSampleReport: D,
|
|
1141
|
-
ctaHref:
|
|
1142
|
-
onCtaClick:
|
|
1141
|
+
ctaHref: A,
|
|
1142
|
+
onCtaClick: p,
|
|
1143
1143
|
onBack: I,
|
|
1144
|
-
readMoreReviewsHref:
|
|
1145
|
-
onProceed:
|
|
1146
|
-
proceedHref:
|
|
1144
|
+
readMoreReviewsHref: N,
|
|
1145
|
+
onProceed: k,
|
|
1146
|
+
proceedHref: V,
|
|
1147
1147
|
originalPriceLabel: b,
|
|
1148
1148
|
discountedPriceLabel: U,
|
|
1149
1149
|
discountPillLabel: O,
|
|
1150
1150
|
analytics: M,
|
|
1151
1151
|
onProceedGuidance: Z,
|
|
1152
|
-
onLocaleChange:
|
|
1152
|
+
onLocaleChange: R,
|
|
1153
1153
|
imageComponent: B = Le,
|
|
1154
|
-
children:
|
|
1154
|
+
children: J
|
|
1155
1155
|
}) => {
|
|
1156
|
-
const [$, E] =
|
|
1156
|
+
const [$, E] = Y("landing"), [L, K] = Y(t ?? "en"), [z, ne] = Y(ot), ge = H(!0);
|
|
1157
1157
|
X(() => {
|
|
1158
1158
|
const le = at();
|
|
1159
1159
|
le && K(le);
|
|
@@ -1164,65 +1164,65 @@ const We = cr(null), ot = {
|
|
|
1164
1164
|
ge.current = !1;
|
|
1165
1165
|
return;
|
|
1166
1166
|
}
|
|
1167
|
-
|
|
1168
|
-
}, [L,
|
|
1167
|
+
R?.(L);
|
|
1168
|
+
}, [L, R]);
|
|
1169
1169
|
const Q = qe(
|
|
1170
1170
|
() => ({
|
|
1171
1171
|
locale: t,
|
|
1172
1172
|
showLanguageSelector: i,
|
|
1173
1173
|
showSheet: c,
|
|
1174
|
-
userId:
|
|
1174
|
+
userId: u,
|
|
1175
1175
|
isGlobal: h,
|
|
1176
|
-
variant:
|
|
1176
|
+
variant: w,
|
|
1177
1177
|
googleMapsApiKey: _,
|
|
1178
1178
|
logoUrl: j,
|
|
1179
|
-
reportImageUrl:
|
|
1179
|
+
reportImageUrl: v,
|
|
1180
1180
|
reportImagePriority: F,
|
|
1181
1181
|
backgroundImagePriority: d,
|
|
1182
|
-
universityLogoUrls:
|
|
1182
|
+
universityLogoUrls: T,
|
|
1183
1183
|
sampleReportHref: g,
|
|
1184
1184
|
onViewSampleReport: D,
|
|
1185
|
-
ctaHref:
|
|
1186
|
-
onCtaClick:
|
|
1185
|
+
ctaHref: A,
|
|
1186
|
+
onCtaClick: p,
|
|
1187
1187
|
onBack: I,
|
|
1188
|
-
readMoreReviewsHref:
|
|
1189
|
-
onProceed:
|
|
1190
|
-
proceedHref:
|
|
1188
|
+
readMoreReviewsHref: N,
|
|
1189
|
+
onProceed: k,
|
|
1190
|
+
proceedHref: V,
|
|
1191
1191
|
originalPriceLabel: b,
|
|
1192
1192
|
discountedPriceLabel: U,
|
|
1193
1193
|
discountPillLabel: O,
|
|
1194
1194
|
analytics: M,
|
|
1195
1195
|
onProceedGuidance: Z,
|
|
1196
|
-
onLocaleChange:
|
|
1196
|
+
onLocaleChange: R,
|
|
1197
1197
|
imageComponent: B
|
|
1198
1198
|
}),
|
|
1199
1199
|
[
|
|
1200
1200
|
t,
|
|
1201
1201
|
i,
|
|
1202
1202
|
c,
|
|
1203
|
-
|
|
1203
|
+
u,
|
|
1204
1204
|
h,
|
|
1205
|
-
|
|
1205
|
+
w,
|
|
1206
1206
|
_,
|
|
1207
1207
|
j,
|
|
1208
|
-
|
|
1208
|
+
v,
|
|
1209
1209
|
F,
|
|
1210
1210
|
d,
|
|
1211
|
-
|
|
1211
|
+
T,
|
|
1212
1212
|
g,
|
|
1213
1213
|
D,
|
|
1214
|
-
|
|
1215
|
-
|
|
1214
|
+
A,
|
|
1215
|
+
p,
|
|
1216
1216
|
I,
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1217
|
+
N,
|
|
1218
|
+
k,
|
|
1219
|
+
V,
|
|
1220
1220
|
b,
|
|
1221
1221
|
U,
|
|
1222
1222
|
O,
|
|
1223
1223
|
M,
|
|
1224
1224
|
Z,
|
|
1225
|
-
|
|
1225
|
+
R,
|
|
1226
1226
|
B
|
|
1227
1227
|
]
|
|
1228
1228
|
), ie = be(() => {
|
|
@@ -1244,7 +1244,7 @@ const We = cr(null), ot = {
|
|
|
1244
1244
|
}),
|
|
1245
1245
|
[$, L, Q, z, ie, ue]
|
|
1246
1246
|
);
|
|
1247
|
-
return /* @__PURE__ */ r.jsx(We.Provider, { value: se, children:
|
|
1247
|
+
return /* @__PURE__ */ r.jsx(We.Provider, { value: se, children: J });
|
|
1248
1248
|
};
|
|
1249
1249
|
function Ee() {
|
|
1250
1250
|
return Ke(We);
|
|
@@ -1262,7 +1262,7 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1262
1262
|
t,
|
|
1263
1263
|
onBack: i,
|
|
1264
1264
|
className: c = "",
|
|
1265
|
-
align:
|
|
1265
|
+
align: u = "left"
|
|
1266
1266
|
}) => /* @__PURE__ */ r.jsx(
|
|
1267
1267
|
Dr,
|
|
1268
1268
|
{
|
|
@@ -1270,9 +1270,9 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1270
1270
|
subtitle: t("formSubtitle"),
|
|
1271
1271
|
onBack: i,
|
|
1272
1272
|
backAriaLabel: t("back"),
|
|
1273
|
-
className: `${lr.header} ${
|
|
1273
|
+
className: `${lr.header} ${u === "center" ? lr.centered : ""} ${c}`
|
|
1274
1274
|
}
|
|
1275
|
-
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", pt = "_labelRow_kiw0x_48", ft = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134",
|
|
1275
|
+
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", pt = "_labelRow_kiw0x_48", ft = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Tt = "_isdSelectWrap_kiw0x_178", Nt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", qt = "_suggestionsHint_kiw0x_344", Gt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Wt = "_timePickerSelect_kiw0x_381", Ht = "_timePickerColon_kiw0x_397", Yt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", Jt = "_meridiemActive_kiw0x_429", zt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
|
|
1276
1276
|
wrap: ct,
|
|
1277
1277
|
card: dt,
|
|
1278
1278
|
cardInner: ut,
|
|
@@ -1288,12 +1288,12 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1288
1288
|
infoImg: vt,
|
|
1289
1289
|
infoWrap: xt,
|
|
1290
1290
|
tooltip: wt,
|
|
1291
|
-
tooltipArrow:
|
|
1292
|
-
inputWrap:
|
|
1291
|
+
tooltipArrow: Pt,
|
|
1292
|
+
inputWrap: At,
|
|
1293
1293
|
isdWrap: Ct,
|
|
1294
1294
|
phoneInputGroup: jt,
|
|
1295
|
-
isdSelectWrap:
|
|
1296
|
-
isdSelectTrigger:
|
|
1295
|
+
isdSelectWrap: Tt,
|
|
1296
|
+
isdSelectTrigger: Nt,
|
|
1297
1297
|
isdDropdown: Rt,
|
|
1298
1298
|
isdSearchWrap: St,
|
|
1299
1299
|
isdSearchInput: Et,
|
|
@@ -1327,39 +1327,39 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1327
1327
|
checkboxText: ia
|
|
1328
1328
|
};
|
|
1329
1329
|
let Be = null;
|
|
1330
|
-
const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((c,
|
|
1330
|
+
const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((c, u) => {
|
|
1331
1331
|
const h = document.querySelector(
|
|
1332
1332
|
'script[data-google-maps-places="true"]'
|
|
1333
1333
|
);
|
|
1334
1334
|
if (h) {
|
|
1335
1335
|
h.addEventListener("load", () => c()), h.addEventListener(
|
|
1336
1336
|
"error",
|
|
1337
|
-
() =>
|
|
1337
|
+
() => u(new Error("Failed to load Google Maps API"))
|
|
1338
1338
|
);
|
|
1339
1339
|
return;
|
|
1340
1340
|
}
|
|
1341
|
-
const
|
|
1342
|
-
_.searchParams.set("key", t), _.searchParams.set("libraries", "places"), _.searchParams.set("loading", "async"), i && _.searchParams.set("language", i),
|
|
1343
|
-
const j = Date.now(),
|
|
1341
|
+
const w = document.createElement("script"), _ = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1342
|
+
_.searchParams.set("key", t), _.searchParams.set("libraries", "places"), _.searchParams.set("loading", "async"), i && _.searchParams.set("language", i), w.src = _.toString(), w.async = !0, w.defer = !0, w.setAttribute("data-google-maps-places", "true"), w.onload = () => {
|
|
1343
|
+
const j = Date.now(), v = () => {
|
|
1344
1344
|
if (window.google?.maps?.places) {
|
|
1345
1345
|
c();
|
|
1346
1346
|
return;
|
|
1347
1347
|
}
|
|
1348
1348
|
if (Date.now() - j > 2e3) {
|
|
1349
|
-
|
|
1349
|
+
u(
|
|
1350
1350
|
new Error(
|
|
1351
1351
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1352
1352
|
)
|
|
1353
1353
|
);
|
|
1354
1354
|
return;
|
|
1355
1355
|
}
|
|
1356
|
-
window.setTimeout(
|
|
1356
|
+
window.setTimeout(v, 50);
|
|
1357
1357
|
};
|
|
1358
|
-
|
|
1359
|
-
},
|
|
1358
|
+
v();
|
|
1359
|
+
}, w.onerror = () => u(new Error("Failed to load Google Maps API")), document.head.appendChild(w);
|
|
1360
1360
|
}), Be), la = (t) => {
|
|
1361
|
-
const { apiKey: i, language: c = "en", restrictCountry:
|
|
1362
|
-
h &&
|
|
1361
|
+
const { apiKey: i, language: c = "en", restrictCountry: u, deferLoad: h = !1 } = t, [w, _] = Y(!1), [j, v] = Y([]), [F, d] = Y(!1), [T, g] = Y(null), [D, A] = Y(!h), p = H(null), I = H(null), N = H(null), k = be(() => {
|
|
1362
|
+
h && A(!0);
|
|
1363
1363
|
}, [h]);
|
|
1364
1364
|
X(() => {
|
|
1365
1365
|
if (!i || !D) {
|
|
@@ -1367,17 +1367,17 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1367
1367
|
return;
|
|
1368
1368
|
}
|
|
1369
1369
|
sa(i, c).then(() => {
|
|
1370
|
-
|
|
1370
|
+
p.current = new google.maps.places.AutocompleteService();
|
|
1371
1371
|
const O = document.createElement("div");
|
|
1372
|
-
I.current = new google.maps.places.PlacesService(O),
|
|
1372
|
+
I.current = new google.maps.places.PlacesService(O), N.current = new google.maps.places.AutocompleteSessionToken(), _(!0), g(null);
|
|
1373
1373
|
}).catch((O) => {
|
|
1374
1374
|
_(!1), g(O?.message || "Failed to load location service");
|
|
1375
1375
|
});
|
|
1376
1376
|
}, [i, c, D]);
|
|
1377
|
-
const
|
|
1377
|
+
const V = be(
|
|
1378
1378
|
async (O) => {
|
|
1379
|
-
if (!O || O.length < 2 || !
|
|
1380
|
-
|
|
1379
|
+
if (!O || O.length < 2 || !p.current) {
|
|
1380
|
+
v([]);
|
|
1381
1381
|
return;
|
|
1382
1382
|
}
|
|
1383
1383
|
d(!0);
|
|
@@ -1385,34 +1385,34 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1385
1385
|
const M = {
|
|
1386
1386
|
input: O,
|
|
1387
1387
|
types: ["(cities)"],
|
|
1388
|
-
sessionToken:
|
|
1388
|
+
sessionToken: N.current ?? void 0
|
|
1389
1389
|
};
|
|
1390
|
-
|
|
1391
|
-
const Z = await new Promise((
|
|
1392
|
-
|
|
1390
|
+
u && (M.componentRestrictions = { country: u });
|
|
1391
|
+
const Z = await new Promise((R, B) => {
|
|
1392
|
+
p.current.getPlacePredictions(
|
|
1393
1393
|
M,
|
|
1394
|
-
(
|
|
1395
|
-
$ === google.maps.places.PlacesServiceStatus.OK &&
|
|
1394
|
+
(J, $) => {
|
|
1395
|
+
$ === google.maps.places.PlacesServiceStatus.OK && J ? R(J) : $ === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? R([]) : B(new Error(`Places API error: ${$}`));
|
|
1396
1396
|
}
|
|
1397
1397
|
);
|
|
1398
1398
|
});
|
|
1399
|
-
|
|
1400
|
-
Z.map((
|
|
1401
|
-
place_id:
|
|
1402
|
-
description:
|
|
1399
|
+
v(
|
|
1400
|
+
Z.map((R) => ({
|
|
1401
|
+
place_id: R.place_id,
|
|
1402
|
+
description: R.description,
|
|
1403
1403
|
structured_formatting: {
|
|
1404
|
-
main_text:
|
|
1405
|
-
secondary_text:
|
|
1404
|
+
main_text: R.structured_formatting?.main_text || R.description,
|
|
1405
|
+
secondary_text: R.structured_formatting?.secondary_text || ""
|
|
1406
1406
|
}
|
|
1407
1407
|
}))
|
|
1408
1408
|
);
|
|
1409
1409
|
} catch {
|
|
1410
|
-
|
|
1410
|
+
v([]);
|
|
1411
1411
|
} finally {
|
|
1412
1412
|
d(!1);
|
|
1413
1413
|
}
|
|
1414
1414
|
},
|
|
1415
|
-
[
|
|
1415
|
+
[u]
|
|
1416
1416
|
), b = be(
|
|
1417
1417
|
async (O) => {
|
|
1418
1418
|
if (!I.current) return null;
|
|
@@ -1423,7 +1423,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1423
1423
|
{
|
|
1424
1424
|
placeId: O,
|
|
1425
1425
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1426
|
-
sessionToken:
|
|
1426
|
+
sessionToken: N.current ?? void 0
|
|
1427
1427
|
},
|
|
1428
1428
|
(K, z) => {
|
|
1429
1429
|
z === google.maps.places.PlacesServiceStatus.OK && K ? E(K) : L(new Error(`Place details error: ${z}`));
|
|
@@ -1431,17 +1431,17 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1431
1431
|
);
|
|
1432
1432
|
}
|
|
1433
1433
|
);
|
|
1434
|
-
|
|
1435
|
-
const Z = M.geometry?.location?.lat() || 0,
|
|
1436
|
-
let B = "",
|
|
1434
|
+
N.current = new google.maps.places.AutocompleteSessionToken();
|
|
1435
|
+
const Z = M.geometry?.location?.lat() || 0, R = M.geometry?.location?.lng() || 0;
|
|
1436
|
+
let B = "", J = "", $ = "";
|
|
1437
1437
|
return M.address_components?.forEach((E) => {
|
|
1438
|
-
E.types.includes("locality") && (B = E.long_name), E.types.includes("administrative_area_level_1") && (
|
|
1438
|
+
E.types.includes("locality") && (B = E.long_name), E.types.includes("administrative_area_level_1") && (J = E.long_name), E.types.includes("country") && ($ = E.long_name);
|
|
1439
1439
|
}), {
|
|
1440
1440
|
display_name: M.formatted_address || "",
|
|
1441
1441
|
lat: Z,
|
|
1442
|
-
lng:
|
|
1442
|
+
lng: R,
|
|
1443
1443
|
city: B,
|
|
1444
|
-
state:
|
|
1444
|
+
state: J,
|
|
1445
1445
|
country: $
|
|
1446
1446
|
};
|
|
1447
1447
|
} catch {
|
|
@@ -1449,16 +1449,16 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1449
1449
|
}
|
|
1450
1450
|
},
|
|
1451
1451
|
[]
|
|
1452
|
-
), U = be(() =>
|
|
1452
|
+
), U = be(() => v([]), []);
|
|
1453
1453
|
return {
|
|
1454
|
-
isLoaded:
|
|
1454
|
+
isLoaded: w,
|
|
1455
1455
|
predictions: j,
|
|
1456
1456
|
isSearching: F,
|
|
1457
|
-
loadError:
|
|
1458
|
-
searchPlaces:
|
|
1457
|
+
loadError: T,
|
|
1458
|
+
searchPlaces: V,
|
|
1459
1459
|
getPlaceDetails: b,
|
|
1460
1460
|
clearPredictions: U,
|
|
1461
|
-
triggerLoad:
|
|
1461
|
+
triggerLoad: k
|
|
1462
1462
|
// Call this to start loading Google Maps when deferred
|
|
1463
1463
|
};
|
|
1464
1464
|
}, je = {
|
|
@@ -1542,17 +1542,17 @@ const ca = {}, da = ({
|
|
|
1542
1542
|
t,
|
|
1543
1543
|
values: i,
|
|
1544
1544
|
onChange: c,
|
|
1545
|
-
phoneIsdCode:
|
|
1545
|
+
phoneIsdCode: u,
|
|
1546
1546
|
onPhoneIsdCodeChange: h,
|
|
1547
|
-
showV1ExtraFields:
|
|
1547
|
+
showV1ExtraFields: w = !1,
|
|
1548
1548
|
analytics: _,
|
|
1549
1549
|
googleMapsApiKey: j,
|
|
1550
|
-
className:
|
|
1550
|
+
className: v = ""
|
|
1551
1551
|
}) => {
|
|
1552
|
-
const F = Ee(), d = F?.config?.analytics ?? _,
|
|
1552
|
+
const F = Ee(), d = F?.config?.analytics ?? _, T = F?.config.isGlobal ?? !0;
|
|
1553
1553
|
F?.config?.variant;
|
|
1554
|
-
const g = F?.config?.googleMapsApiKey, [D,
|
|
1555
|
-
l.trim() && !
|
|
1554
|
+
const g = F?.config?.googleMapsApiKey, [D, A] = Y(!1), [p, I] = Y(""), N = H(null), k = H(null), V = H({}), b = (n) => c({ ...i, ...n }), U = (n, l) => {
|
|
1555
|
+
l.trim() && !V.current[n] && (V.current[n] = !0, {
|
|
1556
1556
|
fullName: () => d?.trackNameSectionFilled?.(),
|
|
1557
1557
|
phone: () => d?.trackPhoneSectionFilled?.(),
|
|
1558
1558
|
email: () => d?.trackEmailSectionFilled?.(),
|
|
@@ -1560,29 +1560,29 @@ const ca = {}, da = ({
|
|
|
1560
1560
|
birthTime: () => d?.trackTimeFilled?.(),
|
|
1561
1561
|
birthPlace: () => d?.trackPlaceOfBirthChosen?.()
|
|
1562
1562
|
}[n]?.());
|
|
1563
|
-
}, O = (n) => n.replace(/\D/g, "").slice(0, 10), M =
|
|
1564
|
-
|
|
1565
|
-
const B =
|
|
1563
|
+
}, O = (n) => n.replace(/\D/g, "").slice(0, 10), M = p.trim().toLowerCase(), Z = fr.filter((n) => M ? n.country.toLowerCase().includes(M) || n.code.includes(M) : !0), R = H(null);
|
|
1564
|
+
H(null);
|
|
1565
|
+
const B = H(null), J = H(0), $ = H(null), [E, L] = Y(!1), [K, z] = Y({ hour12: 12, minute: "00", meridiem: "AM" }), ne = (n) => String(n).padStart(2, "0"), ge = (n) => {
|
|
1566
1566
|
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1567
1567
|
if (!l) return n;
|
|
1568
|
-
const q = Number(l[1]), te = l[2],
|
|
1569
|
-
return `${q % 12 === 0 ? 12 : q % 12}:${te} ${
|
|
1568
|
+
const q = Number(l[1]), te = l[2], Te = q >= 12 ? "PM" : "AM";
|
|
1569
|
+
return `${q % 12 === 0 ? 12 : q % 12}:${te} ${Te}`;
|
|
1570
1570
|
}, Q = (n) => {
|
|
1571
1571
|
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1572
1572
|
if (!l) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1573
|
-
const q = Number(l[1]), te = l[2],
|
|
1574
|
-
return { hour12: q % 12 === 0 ? 12 : q % 12, minute: te, meridiem:
|
|
1573
|
+
const q = Number(l[1]), te = l[2], Te = q >= 12 ? "PM" : "AM";
|
|
1574
|
+
return { hour12: q % 12 === 0 ? 12 : q % 12, minute: te, meridiem: Te };
|
|
1575
1575
|
}, ie = (n) => {
|
|
1576
1576
|
const l = Math.min(12, Math.max(1, n.hour12)), q = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1577
1577
|
let te = l % 12;
|
|
1578
1578
|
return n.meridiem === "PM" && (te += 12), `${ne(te)}:${q}`;
|
|
1579
|
-
}, ue =
|
|
1579
|
+
}, ue = H(null), [se, le] = Y(!1), [pe, oe] = Y(
|
|
1580
1580
|
null
|
|
1581
|
-
), fe = j ?? g ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (i.birthPlace ?? "").trim(), ee =
|
|
1581
|
+
), fe = j ?? g ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (i.birthPlace ?? "").trim(), ee = T ? void 0 : "in", ye = "en", {
|
|
1582
1582
|
predictions: ce,
|
|
1583
1583
|
isSearching: we,
|
|
1584
1584
|
loadError: _e,
|
|
1585
|
-
searchPlaces:
|
|
1585
|
+
searchPlaces: Pe,
|
|
1586
1586
|
clearPredictions: ke
|
|
1587
1587
|
} = la({
|
|
1588
1588
|
apiKey: fe,
|
|
@@ -1596,13 +1596,13 @@ const ca = {}, da = ({
|
|
|
1596
1596
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1597
1597
|
}, []), X(() => {
|
|
1598
1598
|
const n = (l) => {
|
|
1599
|
-
|
|
1599
|
+
N.current && (N.current.contains(l.target) || (A(!1), I("")));
|
|
1600
1600
|
};
|
|
1601
1601
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1602
1602
|
}, []), X(() => {
|
|
1603
1603
|
if (!D) return;
|
|
1604
1604
|
const n = window.setTimeout(() => {
|
|
1605
|
-
|
|
1605
|
+
k.current?.focus();
|
|
1606
1606
|
}, 0);
|
|
1607
1607
|
return () => window.clearTimeout(n);
|
|
1608
1608
|
}, [D]), X(() => {
|
|
@@ -1612,22 +1612,22 @@ const ca = {}, da = ({
|
|
|
1612
1612
|
return;
|
|
1613
1613
|
}
|
|
1614
1614
|
const n = window.setTimeout(async () => {
|
|
1615
|
-
await
|
|
1615
|
+
await Pe(me);
|
|
1616
1616
|
}, 250);
|
|
1617
1617
|
return () => window.clearTimeout(n);
|
|
1618
|
-
}, [ke, se, me,
|
|
1619
|
-
const
|
|
1618
|
+
}, [ke, se, me, Pe]);
|
|
1619
|
+
const P = (n) => {
|
|
1620
1620
|
const l = n.current;
|
|
1621
1621
|
if (!(!l || l.disabled)) {
|
|
1622
|
-
if (document.activeElement === l && B.current === l && Date.now() -
|
|
1622
|
+
if (document.activeElement === l && B.current === l && Date.now() - J.current < 6e4) {
|
|
1623
1623
|
l.blur();
|
|
1624
1624
|
return;
|
|
1625
1625
|
}
|
|
1626
1626
|
if (typeof l.showPicker == "function") {
|
|
1627
|
-
l.showPicker(), B.current = l,
|
|
1627
|
+
l.showPicker(), B.current = l, J.current = Date.now();
|
|
1628
1628
|
return;
|
|
1629
1629
|
}
|
|
1630
|
-
l.focus(), B.current = l,
|
|
1630
|
+
l.focus(), B.current = l, J.current = Date.now();
|
|
1631
1631
|
}
|
|
1632
1632
|
};
|
|
1633
1633
|
return X(() => {
|
|
@@ -1647,7 +1647,7 @@ const ca = {}, da = ({
|
|
|
1647
1647
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1648
1648
|
"section",
|
|
1649
1649
|
{
|
|
1650
|
-
className: `${a.wrap} ${
|
|
1650
|
+
className: `${a.wrap} ${v}`,
|
|
1651
1651
|
"aria-label": t("formTitle"),
|
|
1652
1652
|
children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
|
|
1653
1653
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
@@ -1675,9 +1675,9 @@ const ca = {}, da = ({
|
|
|
1675
1675
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1676
1676
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1677
1677
|
t("formPhone"),
|
|
1678
|
-
!
|
|
1678
|
+
!T && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1679
1679
|
] }) }),
|
|
1680
|
-
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref:
|
|
1680
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: N, children: [
|
|
1681
1681
|
/* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1682
1682
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1683
1683
|
"button",
|
|
@@ -1687,9 +1687,9 @@ const ca = {}, da = ({
|
|
|
1687
1687
|
"aria-haspopup": "listbox",
|
|
1688
1688
|
"aria-expanded": D,
|
|
1689
1689
|
onClick: () => {
|
|
1690
|
-
|
|
1690
|
+
A((n) => !n), I("");
|
|
1691
1691
|
},
|
|
1692
|
-
children:
|
|
1692
|
+
children: u
|
|
1693
1693
|
}
|
|
1694
1694
|
) }),
|
|
1695
1695
|
/* @__PURE__ */ r.jsx(
|
|
@@ -1709,8 +1709,8 @@ const ca = {}, da = ({
|
|
|
1709
1709
|
inputMode: "numeric",
|
|
1710
1710
|
pattern: "[0-9]{10}",
|
|
1711
1711
|
maxLength: 10,
|
|
1712
|
-
required: !
|
|
1713
|
-
"aria-required": !
|
|
1712
|
+
required: !T,
|
|
1713
|
+
"aria-required": !T
|
|
1714
1714
|
}
|
|
1715
1715
|
)
|
|
1716
1716
|
] }),
|
|
@@ -1724,9 +1724,9 @@ const ca = {}, da = ({
|
|
|
1724
1724
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
|
|
1725
1725
|
"input",
|
|
1726
1726
|
{
|
|
1727
|
-
ref:
|
|
1727
|
+
ref: k,
|
|
1728
1728
|
type: "text",
|
|
1729
|
-
value:
|
|
1729
|
+
value: p,
|
|
1730
1730
|
onChange: (n) => I(n.target.value),
|
|
1731
1731
|
placeholder: "Search country",
|
|
1732
1732
|
className: a.isdSearchInput,
|
|
@@ -1738,10 +1738,10 @@ const ca = {}, da = ({
|
|
|
1738
1738
|
{
|
|
1739
1739
|
type: "button",
|
|
1740
1740
|
role: "option",
|
|
1741
|
-
"aria-selected": n.code ===
|
|
1742
|
-
className: `${a.isdOption} ${n.code ===
|
|
1741
|
+
"aria-selected": n.code === u,
|
|
1742
|
+
className: `${a.isdOption} ${n.code === u ? a.isdOptionActive : ""}`,
|
|
1743
1743
|
onClick: () => {
|
|
1744
|
-
h(n.code),
|
|
1744
|
+
h(n.code), A(!1), I("");
|
|
1745
1745
|
},
|
|
1746
1746
|
children: [
|
|
1747
1747
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1755,7 +1755,7 @@ const ca = {}, da = ({
|
|
|
1755
1755
|
)
|
|
1756
1756
|
] }) })
|
|
1757
1757
|
] }),
|
|
1758
|
-
|
|
1758
|
+
w && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1759
1759
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
1760
1760
|
t("formGender"),
|
|
1761
1761
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1803,7 +1803,7 @@ const ca = {}, da = ({
|
|
|
1803
1803
|
}
|
|
1804
1804
|
)
|
|
1805
1805
|
] }),
|
|
1806
|
-
|
|
1806
|
+
T && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1807
1807
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1808
1808
|
t("formEmail"),
|
|
1809
1809
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1865,7 +1865,7 @@ const ca = {}, da = ({
|
|
|
1865
1865
|
id: "kundli-dob",
|
|
1866
1866
|
className: a.input,
|
|
1867
1867
|
type: "date",
|
|
1868
|
-
ref:
|
|
1868
|
+
ref: R,
|
|
1869
1869
|
value: i.dateOfBirth,
|
|
1870
1870
|
max: (() => {
|
|
1871
1871
|
const n = /* @__PURE__ */ new Date();
|
|
@@ -1876,9 +1876,9 @@ const ca = {}, da = ({
|
|
|
1876
1876
|
l && l > te || (b({ dateOfBirth: l }), U("dateOfBirth", l), B.current = null);
|
|
1877
1877
|
},
|
|
1878
1878
|
onFocus: () => d?.trackDobClicked?.(),
|
|
1879
|
-
onClick: () =>
|
|
1879
|
+
onClick: () => P(R),
|
|
1880
1880
|
onBlur: () => {
|
|
1881
|
-
B.current ===
|
|
1881
|
+
B.current === R.current && (B.current = null);
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
1884
|
),
|
|
@@ -1890,7 +1890,7 @@ const ca = {}, da = ({
|
|
|
1890
1890
|
"aria-label": "Open date picker",
|
|
1891
1891
|
onMouseDown: (n) => n.preventDefault(),
|
|
1892
1892
|
onClick: (n) => {
|
|
1893
|
-
n.preventDefault(), n.stopPropagation(),
|
|
1893
|
+
n.preventDefault(), n.stopPropagation(), P(R);
|
|
1894
1894
|
},
|
|
1895
1895
|
children: /* @__PURE__ */ r.jsx(
|
|
1896
1896
|
"img",
|
|
@@ -2198,7 +2198,7 @@ const ca = {}, da = ({
|
|
|
2198
2198
|
se && fe && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
|
|
2199
2199
|
] })
|
|
2200
2200
|
] }),
|
|
2201
|
-
|
|
2201
|
+
w && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2202
2202
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
2203
2203
|
t("formReportLanguage"),
|
|
2204
2204
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -2396,47 +2396,47 @@ const ca = {}, da = ({
|
|
|
2396
2396
|
t,
|
|
2397
2397
|
values: i,
|
|
2398
2398
|
phoneIsdCode: c,
|
|
2399
|
-
hideOriginalPrice:
|
|
2399
|
+
hideOriginalPrice: u = !1,
|
|
2400
2400
|
requireV1ExtraFields: h = !1,
|
|
2401
|
-
onValidationFailed:
|
|
2401
|
+
onValidationFailed: w,
|
|
2402
2402
|
onProceed: _,
|
|
2403
2403
|
onProceedGuidance: j,
|
|
2404
|
-
href:
|
|
2404
|
+
href: v,
|
|
2405
2405
|
analytics: F,
|
|
2406
2406
|
className: d = "",
|
|
2407
|
-
discountedPriceLabel:
|
|
2407
|
+
discountedPriceLabel: T,
|
|
2408
2408
|
showPlanSheet: g,
|
|
2409
2409
|
confirmPlan: D,
|
|
2410
|
-
planSheetOpen:
|
|
2411
|
-
selectedPlan:
|
|
2410
|
+
planSheetOpen: A,
|
|
2411
|
+
selectedPlan: p
|
|
2412
2412
|
}) => {
|
|
2413
|
-
const I = Ee(),
|
|
2414
|
-
() => xa(i,
|
|
2415
|
-
[i,
|
|
2416
|
-
), b =
|
|
2417
|
-
if (
|
|
2418
|
-
|
|
2413
|
+
const I = Ee(), N = I?.config.isGlobal ?? !0, k = I?.config?.variant, V = qe(
|
|
2414
|
+
() => xa(i, N, h),
|
|
2415
|
+
[i, N, h]
|
|
2416
|
+
), b = V === null, U = N ? T ?? t("formDiscountedPrice") : k === "v1" ? "" : "₹499", O = I?.config.imageComponent ?? Le, M = (R) => {
|
|
2417
|
+
if (R.preventDefault(), !b) {
|
|
2418
|
+
V && w?.(V);
|
|
2419
2419
|
return;
|
|
2420
2420
|
}
|
|
2421
|
-
const B = !!j &&
|
|
2421
|
+
const B = !!j && k === "v1" && p?.id === hr, J = (i.phone ?? "").trim(), $ = {
|
|
2422
2422
|
...i,
|
|
2423
|
-
phone:
|
|
2423
|
+
phone: J && `${c}-${J}`
|
|
2424
2424
|
};
|
|
2425
|
-
if (
|
|
2426
|
-
|
|
2425
|
+
if (k === "v1" && I?.config?.showSheet) {
|
|
2426
|
+
A ? D?.() : g?.($);
|
|
2427
2427
|
return;
|
|
2428
2428
|
}
|
|
2429
2429
|
F?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), B ? j($) : _?.($);
|
|
2430
2430
|
}, Z = /* @__PURE__ */ r.jsx(
|
|
2431
2431
|
Or,
|
|
2432
2432
|
{
|
|
2433
|
-
href:
|
|
2434
|
-
disabled:
|
|
2433
|
+
href: v,
|
|
2434
|
+
disabled: k === "v1" ? !1 : !b,
|
|
2435
2435
|
onClick: M,
|
|
2436
2436
|
"aria-label": t("formPriceAria"),
|
|
2437
|
-
className:
|
|
2438
|
-
children:
|
|
2439
|
-
|
|
2437
|
+
className: k === "v1" && b ? Se.ctaFilled : k === "v1" ? Se.ctaButton : void 0,
|
|
2438
|
+
children: k === "v1" ? b ? /* @__PURE__ */ r.jsxs("span", { className: Se.ctaFilledContent, children: [
|
|
2439
|
+
A && p ? `${t("proceedWithPlan")}${p.price}` : t("formProceed") + U,
|
|
2440
2440
|
/* @__PURE__ */ r.jsx(
|
|
2441
2441
|
O,
|
|
2442
2442
|
{
|
|
@@ -2462,13 +2462,13 @@ const ca = {}, da = ({
|
|
|
2462
2462
|
children: Z
|
|
2463
2463
|
}
|
|
2464
2464
|
);
|
|
2465
|
-
},
|
|
2465
|
+
}, Pa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Aa = ({
|
|
2466
2466
|
t,
|
|
2467
2467
|
languageSelector: i,
|
|
2468
|
-
logoUrl: c =
|
|
2469
|
-
className:
|
|
2468
|
+
logoUrl: c = Pa,
|
|
2469
|
+
className: u = ""
|
|
2470
2470
|
}) => {
|
|
2471
|
-
const h = Ee(),
|
|
2471
|
+
const h = Ee(), w = h?.config.isGlobal ?? !0, _ = i != null && !w;
|
|
2472
2472
|
return /* @__PURE__ */ r.jsx(
|
|
2473
2473
|
$r,
|
|
2474
2474
|
{
|
|
@@ -2477,14 +2477,14 @@ const ca = {}, da = ({
|
|
|
2477
2477
|
imageComponent: h?.config.imageComponent,
|
|
2478
2478
|
languageSelector: i,
|
|
2479
2479
|
showLanguageSelector: _,
|
|
2480
|
-
className:
|
|
2480
|
+
className: u
|
|
2481
2481
|
}
|
|
2482
2482
|
);
|
|
2483
2483
|
}, Ca = [
|
|
2484
2484
|
{
|
|
2485
2485
|
id: "jyoti",
|
|
2486
2486
|
name: "planAstrologerNameJyoti",
|
|
2487
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/
|
|
2487
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2488
2488
|
experience: "planAstrologerExpJyoti",
|
|
2489
2489
|
certifications: [
|
|
2490
2490
|
"planAstrologerCertCertifiedJyotish",
|
|
@@ -2494,7 +2494,7 @@ const ca = {}, da = ({
|
|
|
2494
2494
|
{
|
|
2495
2495
|
id: "samiksha",
|
|
2496
2496
|
name: "planAstrologerNameSamiksha",
|
|
2497
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/
|
|
2497
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2498
2498
|
experience: "planAstrologerExpSamiksha",
|
|
2499
2499
|
certifications: [
|
|
2500
2500
|
"planAstrologerCertVedicAstrology",
|
|
@@ -2504,16 +2504,9 @@ const ca = {}, da = ({
|
|
|
2504
2504
|
{
|
|
2505
2505
|
id: "neeraj",
|
|
2506
2506
|
name: "planAstrologerNameNeeraj",
|
|
2507
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/
|
|
2507
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2508
2508
|
experience: "planAstrologerExpNeeraj",
|
|
2509
2509
|
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
id: "ashwini",
|
|
2513
|
-
name: "planAstrologerNameAshwini",
|
|
2514
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
2515
|
-
experience: "planAstrologerExpAshwini",
|
|
2516
|
-
certifications: ["planAstrologerCertKundliBhavfal", "planAstrologerCertAccurateKundliMatching"]
|
|
2517
2510
|
}
|
|
2518
2511
|
], ja = [
|
|
2519
2512
|
{
|
|
@@ -2531,8 +2524,8 @@ const ca = {}, da = ({
|
|
|
2531
2524
|
{
|
|
2532
2525
|
id: "kundli-report-astrologer",
|
|
2533
2526
|
title: "planNameGuidance",
|
|
2534
|
-
price: "₹
|
|
2535
|
-
originalPrice: "₹499+₹
|
|
2527
|
+
price: "₹999",
|
|
2528
|
+
originalPrice: "₹499+₹850",
|
|
2536
2529
|
savingsLabel: "planSaveLabel",
|
|
2537
2530
|
// We'll pass {{percent: 25}} in the component
|
|
2538
2531
|
badge: "planMostPopular",
|
|
@@ -2546,7 +2539,7 @@ const ca = {}, da = ({
|
|
|
2546
2539
|
(t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
|
|
2547
2540
|
)
|
|
2548
2541
|
}
|
|
2549
|
-
],
|
|
2542
|
+
], Ta = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2550
2543
|
"path",
|
|
2551
2544
|
{
|
|
2552
2545
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2555,7 +2548,7 @@ const ca = {}, da = ({
|
|
|
2555
2548
|
strokeLinecap: "round",
|
|
2556
2549
|
strokeLinejoin: "round"
|
|
2557
2550
|
}
|
|
2558
|
-
) }),
|
|
2551
|
+
) }), Na = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2559
2552
|
"path",
|
|
2560
2553
|
{
|
|
2561
2554
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2621,8 +2614,8 @@ const ca = {}, da = ({
|
|
|
2621
2614
|
}
|
|
2622
2615
|
),
|
|
2623
2616
|
/* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
|
|
2624
|
-
] }), xn = ({ features: t, t: i }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((c,
|
|
2625
|
-
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(
|
|
2617
|
+
] }), xn = ({ features: t, t: i }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((c, u) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
|
|
2618
|
+
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Ta, {}) : /* @__PURE__ */ r.jsx(Na, {}) }),
|
|
2626
2619
|
/* @__PURE__ */ r.jsx(
|
|
2627
2620
|
"span",
|
|
2628
2621
|
{
|
|
@@ -2630,7 +2623,7 @@ const ca = {}, da = ({
|
|
|
2630
2623
|
children: i?.(c.text) ?? c.text
|
|
2631
2624
|
}
|
|
2632
2625
|
)
|
|
2633
|
-
] },
|
|
2626
|
+
] }, u)) }), wn = ({ astrologer: t, t: i }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
|
|
2634
2627
|
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
|
|
2635
2628
|
/* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: i?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2636
2629
|
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
|
|
@@ -2639,16 +2632,16 @@ const ca = {}, da = ({
|
|
|
2639
2632
|
] })
|
|
2640
2633
|
] }),
|
|
2641
2634
|
/* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
|
|
2642
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((c,
|
|
2635
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((c, u) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
|
|
2643
2636
|
/* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
|
|
2644
2637
|
" ",
|
|
2645
2638
|
i?.(c) ?? c
|
|
2646
|
-
] },
|
|
2647
|
-
] }),
|
|
2639
|
+
] }, u)) })
|
|
2640
|
+
] }), Pn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
|
|
2648
2641
|
/* @__PURE__ */ r.jsx(Sa, {}),
|
|
2649
2642
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2650
|
-
] }),
|
|
2651
|
-
const h = () => c(t.id),
|
|
2643
|
+
] }), An = ({ plan: t, isSelected: i, onSelect: c, t: u }) => {
|
|
2644
|
+
const h = () => c(t.id), w = (_) => {
|
|
2652
2645
|
(_.key === " " || _.key === "Enter") && (_.preventDefault(), c(t.id));
|
|
2653
2646
|
};
|
|
2654
2647
|
return /* @__PURE__ */ r.jsxs(
|
|
@@ -2663,13 +2656,13 @@ const ca = {}, da = ({
|
|
|
2663
2656
|
role: "radio",
|
|
2664
2657
|
"aria-checked": i,
|
|
2665
2658
|
tabIndex: 0,
|
|
2666
|
-
onKeyDown:
|
|
2659
|
+
onKeyDown: w,
|
|
2667
2660
|
"data-plan-id": t.id,
|
|
2668
2661
|
children: [
|
|
2669
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2662
|
+
t.badge && /* @__PURE__ */ r.jsx(Pn, { label: u?.(t.badge) ?? t.badge }),
|
|
2670
2663
|
/* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
|
|
2671
2664
|
/* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
|
|
2672
|
-
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children:
|
|
2665
|
+
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: u?.(t.title) ?? t.title }),
|
|
2673
2666
|
/* @__PURE__ */ r.jsx(
|
|
2674
2667
|
"span",
|
|
2675
2668
|
{
|
|
@@ -2682,12 +2675,12 @@ const ca = {}, da = ({
|
|
|
2682
2675
|
/* @__PURE__ */ r.jsxs("div", { className: f.priceRow, children: [
|
|
2683
2676
|
/* @__PURE__ */ r.jsx("span", { className: f.price, children: t.price }),
|
|
2684
2677
|
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
|
|
2685
|
-
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children:
|
|
2678
|
+
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: u?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2686
2679
|
] }),
|
|
2687
|
-
/* @__PURE__ */ r.jsx(xn, { features: t.features, t:
|
|
2680
|
+
/* @__PURE__ */ r.jsx(xn, { features: t.features, t: u }),
|
|
2688
2681
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2689
|
-
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children:
|
|
2690
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((_, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(wn, { astrologer: _, t:
|
|
2682
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: u?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2683
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((_, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(wn, { astrologer: _, t: u }) }, j)) })
|
|
2691
2684
|
] })
|
|
2692
2685
|
] })
|
|
2693
2686
|
]
|
|
@@ -2697,37 +2690,38 @@ const ca = {}, da = ({
|
|
|
2697
2690
|
isOpen: t,
|
|
2698
2691
|
onClose: i,
|
|
2699
2692
|
selectedPlan: c,
|
|
2700
|
-
onSelectPlan:
|
|
2693
|
+
onSelectPlan: u,
|
|
2701
2694
|
plans: h = ja,
|
|
2702
|
-
onProceed:
|
|
2695
|
+
onProceed: w,
|
|
2703
2696
|
t: _,
|
|
2704
2697
|
analytics: j
|
|
2705
2698
|
}) => {
|
|
2706
|
-
const
|
|
2699
|
+
const v = c?.id || h.find((p) => p.badge)?.id || h[0]?.id || "", F = H(null), d = H(null), T = H(!1);
|
|
2707
2700
|
X(() => {
|
|
2708
2701
|
if (t) {
|
|
2709
2702
|
if (!c) {
|
|
2710
|
-
const
|
|
2711
|
-
|
|
2703
|
+
const p = h.find((I) => I.badge) ?? h[0];
|
|
2704
|
+
p && u(p);
|
|
2712
2705
|
}
|
|
2713
|
-
j?.trackPlanPageViewed?.();
|
|
2714
|
-
}
|
|
2715
|
-
|
|
2716
|
-
|
|
2706
|
+
T.current || (j?.trackPlanPageViewed?.(), T.current = !0);
|
|
2707
|
+
} else
|
|
2708
|
+
T.current = !1;
|
|
2709
|
+
}, [t, h, c, u, j]);
|
|
2710
|
+
const g = () => {
|
|
2717
2711
|
j?.trackPlanPageClosed?.(), i();
|
|
2718
2712
|
};
|
|
2719
2713
|
X(() => {
|
|
2720
2714
|
if (!t) return;
|
|
2721
|
-
const
|
|
2715
|
+
const p = document.body.style.overflow;
|
|
2722
2716
|
return document.body.style.overflow = "hidden", () => {
|
|
2723
|
-
document.body.style.overflow =
|
|
2717
|
+
document.body.style.overflow = p;
|
|
2724
2718
|
};
|
|
2725
2719
|
}, [t]);
|
|
2726
|
-
const
|
|
2727
|
-
d.current =
|
|
2728
|
-
},
|
|
2720
|
+
const D = (p) => {
|
|
2721
|
+
d.current = p.touches[0]?.clientY ?? null;
|
|
2722
|
+
}, A = (p) => {
|
|
2729
2723
|
if (d.current === null) return;
|
|
2730
|
-
(
|
|
2724
|
+
(p.changedTouches[0]?.clientY ?? 0) - d.current > 80 && g(), d.current = null;
|
|
2731
2725
|
};
|
|
2732
2726
|
return t ? /* @__PURE__ */ r.jsx(
|
|
2733
2727
|
"div",
|
|
@@ -2736,23 +2730,23 @@ const ca = {}, da = ({
|
|
|
2736
2730
|
role: "dialog",
|
|
2737
2731
|
"aria-modal": "true",
|
|
2738
2732
|
"aria-label": _?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2739
|
-
onClick: (
|
|
2740
|
-
|
|
2733
|
+
onClick: (p) => {
|
|
2734
|
+
p.target === p.currentTarget && g();
|
|
2741
2735
|
},
|
|
2742
2736
|
children: /* @__PURE__ */ r.jsxs(
|
|
2743
2737
|
"div",
|
|
2744
2738
|
{
|
|
2745
2739
|
ref: F,
|
|
2746
2740
|
className: f.sheet,
|
|
2747
|
-
onTouchStart:
|
|
2748
|
-
onTouchEnd:
|
|
2741
|
+
onTouchStart: D,
|
|
2742
|
+
onTouchEnd: A,
|
|
2749
2743
|
children: [
|
|
2750
2744
|
/* @__PURE__ */ r.jsx("div", { className: f.dragHandle, "aria-hidden": !0 }),
|
|
2751
2745
|
/* @__PURE__ */ r.jsx(
|
|
2752
2746
|
vn,
|
|
2753
2747
|
{
|
|
2754
2748
|
title: _?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2755
|
-
onBack:
|
|
2749
|
+
onBack: g
|
|
2756
2750
|
}
|
|
2757
2751
|
),
|
|
2758
2752
|
/* @__PURE__ */ r.jsx(
|
|
@@ -2761,21 +2755,21 @@ const ca = {}, da = ({
|
|
|
2761
2755
|
className: f.plansContainer,
|
|
2762
2756
|
role: "radiogroup",
|
|
2763
2757
|
"aria-label": "Kundli plans",
|
|
2764
|
-
children: h.map((
|
|
2765
|
-
|
|
2758
|
+
children: h.map((p) => /* @__PURE__ */ r.jsx(
|
|
2759
|
+
An,
|
|
2766
2760
|
{
|
|
2767
|
-
plan:
|
|
2768
|
-
isSelected:
|
|
2761
|
+
plan: p,
|
|
2762
|
+
isSelected: p.id === v,
|
|
2769
2763
|
t: _,
|
|
2770
|
-
onSelect: (
|
|
2771
|
-
const
|
|
2772
|
-
|
|
2773
|
-
planId:
|
|
2774
|
-
planName:
|
|
2775
|
-
}),
|
|
2764
|
+
onSelect: (I) => {
|
|
2765
|
+
const N = h.find((k) => k.id === I);
|
|
2766
|
+
N && (j?.trackPlanSelected?.({
|
|
2767
|
+
planId: N.id,
|
|
2768
|
+
planName: N.title
|
|
2769
|
+
}), u(N));
|
|
2776
2770
|
}
|
|
2777
2771
|
},
|
|
2778
|
-
|
|
2772
|
+
p.id
|
|
2779
2773
|
))
|
|
2780
2774
|
}
|
|
2781
2775
|
),
|
|
@@ -2785,10 +2779,10 @@ const ca = {}, da = ({
|
|
|
2785
2779
|
className: f.proceedBtn,
|
|
2786
2780
|
disabled: !c,
|
|
2787
2781
|
onClick: () => {
|
|
2788
|
-
c && (j?.
|
|
2782
|
+
c && (j?.trackPlanProceedClicked?.({
|
|
2789
2783
|
planId: c.id,
|
|
2790
2784
|
planName: c.title
|
|
2791
|
-
}),
|
|
2785
|
+
}), w(c), i());
|
|
2792
2786
|
},
|
|
2793
2787
|
children: c ? `Proceed with plan ${c.price}` : "Select a plan"
|
|
2794
2788
|
}
|
|
@@ -2798,7 +2792,7 @@ const ca = {}, da = ({
|
|
|
2798
2792
|
)
|
|
2799
2793
|
}
|
|
2800
2794
|
) : null;
|
|
2801
|
-
}, jn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg",
|
|
2795
|
+
}, jn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Tn = (t, i) => ur[t]?.[i] ?? i, Nn = {
|
|
2802
2796
|
fullName: "",
|
|
2803
2797
|
phone: "",
|
|
2804
2798
|
gender: "",
|
|
@@ -2812,65 +2806,65 @@ const ca = {}, da = ({
|
|
|
2812
2806
|
className: t = "",
|
|
2813
2807
|
locale: i,
|
|
2814
2808
|
showLanguageSelector: c = !0,
|
|
2815
|
-
onBack:
|
|
2809
|
+
onBack: u,
|
|
2816
2810
|
initialValues: h,
|
|
2817
|
-
onProceed:
|
|
2811
|
+
onProceed: w,
|
|
2818
2812
|
onProceedGuidance: _,
|
|
2819
2813
|
proceedHref: j,
|
|
2820
|
-
originalPriceLabel:
|
|
2814
|
+
originalPriceLabel: v,
|
|
2821
2815
|
discountedPriceLabel: F,
|
|
2822
2816
|
googleMapsApiKey: d = "",
|
|
2823
|
-
analytics:
|
|
2817
|
+
analytics: T
|
|
2824
2818
|
}) => {
|
|
2825
|
-
const g = Ee(), D = Kr(),
|
|
2819
|
+
const g = Ee(), D = Kr(), A = g !== null, p = A ? g.locale : i, I = p ?? D?.locale ?? "en", [N, k] = Y(I), V = A ? g.locale : N, b = A ? g.setLocale : k, [U, O] = Y(!1), M = H(null), Z = H(p), R = H(
|
|
2826
2820
|
D?.locale
|
|
2827
2821
|
);
|
|
2828
2822
|
X(() => {
|
|
2829
2823
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2830
2824
|
}, []);
|
|
2831
|
-
const B = (
|
|
2825
|
+
const B = (P) => Tn(V, P);
|
|
2832
2826
|
X(() => {
|
|
2833
|
-
|
|
2834
|
-
}, [
|
|
2835
|
-
if (
|
|
2836
|
-
const
|
|
2837
|
-
|
|
2838
|
-
}, [D?.locale,
|
|
2839
|
-
const [
|
|
2840
|
-
...
|
|
2827
|
+
p && Z.current !== p && b(p), Z.current = p;
|
|
2828
|
+
}, [p, b]), X(() => {
|
|
2829
|
+
if (p) return;
|
|
2830
|
+
const P = D?.locale;
|
|
2831
|
+
P && R.current !== P && b(P), R.current = P;
|
|
2832
|
+
}, [D?.locale, p, b]);
|
|
2833
|
+
const [J, $] = Y({
|
|
2834
|
+
...Nn,
|
|
2841
2835
|
...h,
|
|
2842
2836
|
phone: h?.phone ?? ""
|
|
2843
|
-
}), E =
|
|
2837
|
+
}), E = A ? g?.config.isGlobal ?? !0 : !0, [L, K] = Y(
|
|
2844
2838
|
E ? "+1" : "+91"
|
|
2845
2839
|
);
|
|
2846
2840
|
X(() => {
|
|
2847
2841
|
K(E ? "+1" : "+91");
|
|
2848
2842
|
}, [E]);
|
|
2849
|
-
const z =
|
|
2843
|
+
const z = A ? g.formValues : J, ne = A ? g.setFormValues : $, ge = A ? g.goToPage : u, Q = A ? g.onProceed : w, ie = A ? g.onProceedGuidance : _, ue = A ? g.config.proceedHref : j, se = A ? g.config.originalPriceLabel : v, le = A ? g.config.discountedPriceLabel : F, pe = A ? g.config.showLanguageSelector ?? !0 : c, oe = (A ? g?.config?.analytics : T) ?? T;
|
|
2850
2844
|
X(() => {
|
|
2851
2845
|
if (!U) return;
|
|
2852
|
-
const
|
|
2846
|
+
const P = (n) => {
|
|
2853
2847
|
M.current && !M.current.contains(n.target) && O(!1);
|
|
2854
2848
|
};
|
|
2855
|
-
return document.addEventListener("mousedown",
|
|
2849
|
+
return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
|
|
2856
2850
|
}, [U]);
|
|
2857
|
-
const [fe, me] =
|
|
2858
|
-
ce.current =
|
|
2851
|
+
const [fe, me] = Y(!1), [ee, ye] = Y(null), ce = H(null), we = be((P) => {
|
|
2852
|
+
ce.current = P, me(!0);
|
|
2859
2853
|
}, []), _e = be(() => {
|
|
2860
2854
|
if (oe?.trackPlanProceedClicked?.({
|
|
2861
2855
|
planId: ee.id,
|
|
2862
2856
|
planName: ee.title
|
|
2863
2857
|
}), !ce.current || !ee) return;
|
|
2864
|
-
const
|
|
2865
|
-
ee.id === hr && ie ? ie(
|
|
2866
|
-
}, [ee, Q, ie]),
|
|
2858
|
+
const P = { ...ce.current, _selectedPlan: ee };
|
|
2859
|
+
ee.id === hr && ie ? ie(P) : Q?.(P), me(!1), ce.current = null;
|
|
2860
|
+
}, [ee, Q, ie]), Pe = g?.config.imageComponent ?? Le, ke = pe ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: M, children: [
|
|
2867
2861
|
/* @__PURE__ */ r.jsxs(
|
|
2868
2862
|
"button",
|
|
2869
2863
|
{
|
|
2870
2864
|
type: "button",
|
|
2871
2865
|
className: he.langTrigger,
|
|
2872
2866
|
onClick: () => {
|
|
2873
|
-
oe?.trackLanguageClickedFe?.({ language:
|
|
2867
|
+
oe?.trackLanguageClickedFe?.({ language: V }), O((P) => !P);
|
|
2874
2868
|
},
|
|
2875
2869
|
"aria-expanded": U,
|
|
2876
2870
|
"aria-haspopup": "listbox",
|
|
@@ -2878,7 +2872,7 @@ const ca = {}, da = ({
|
|
|
2878
2872
|
"aria-label": B("language"),
|
|
2879
2873
|
children: [
|
|
2880
2874
|
/* @__PURE__ */ r.jsx(
|
|
2881
|
-
|
|
2875
|
+
Pe,
|
|
2882
2876
|
{
|
|
2883
2877
|
src: jn,
|
|
2884
2878
|
alt: "",
|
|
@@ -2888,7 +2882,7 @@ const ca = {}, da = ({
|
|
|
2888
2882
|
loading: "eager"
|
|
2889
2883
|
}
|
|
2890
2884
|
),
|
|
2891
|
-
/* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: sr[
|
|
2885
|
+
/* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: sr[V] })
|
|
2892
2886
|
]
|
|
2893
2887
|
}
|
|
2894
2888
|
),
|
|
@@ -2898,30 +2892,30 @@ const ca = {}, da = ({
|
|
|
2898
2892
|
className: he.langMenu,
|
|
2899
2893
|
role: "listbox",
|
|
2900
2894
|
"aria-labelledby": "kundli-form-lang",
|
|
2901
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
2902
|
-
children: dr.map((
|
|
2895
|
+
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
2896
|
+
children: dr.map((P) => /* @__PURE__ */ r.jsx(
|
|
2903
2897
|
"li",
|
|
2904
2898
|
{
|
|
2905
|
-
id: `kundli-form-lang-option-${
|
|
2899
|
+
id: `kundli-form-lang-option-${P}`,
|
|
2906
2900
|
role: "option",
|
|
2907
|
-
"aria-selected":
|
|
2901
|
+
"aria-selected": P === V,
|
|
2908
2902
|
className: he.langOption,
|
|
2909
2903
|
onClick: () => {
|
|
2910
|
-
oe?.trackLanguageChangedFe?.({ newLanguage:
|
|
2904
|
+
oe?.trackLanguageChangedFe?.({ newLanguage: P }), b(P), O(!1);
|
|
2911
2905
|
},
|
|
2912
|
-
children: sr[
|
|
2906
|
+
children: sr[P]
|
|
2913
2907
|
},
|
|
2914
|
-
|
|
2908
|
+
P
|
|
2915
2909
|
))
|
|
2916
2910
|
}
|
|
2917
2911
|
)
|
|
2918
2912
|
] }) : null;
|
|
2919
2913
|
return /* @__PURE__ */ r.jsxs("div", { className: `${he.container} ${t}`, children: [
|
|
2920
2914
|
/* @__PURE__ */ r.jsx(
|
|
2921
|
-
|
|
2915
|
+
Aa,
|
|
2922
2916
|
{
|
|
2923
2917
|
t: B,
|
|
2924
|
-
logoUrl:
|
|
2918
|
+
logoUrl: A ? g.config.logoUrl : void 0,
|
|
2925
2919
|
languageSelector: ke,
|
|
2926
2920
|
className: he.kundliHeaderNoBorder
|
|
2927
2921
|
}
|
|
@@ -2966,8 +2960,8 @@ const ca = {}, da = ({
|
|
|
2966
2960
|
onClose: () => me(!1),
|
|
2967
2961
|
selectedPlan: ee,
|
|
2968
2962
|
onSelectPlan: ye,
|
|
2969
|
-
onProceed: (
|
|
2970
|
-
_e?.(
|
|
2963
|
+
onProceed: (P) => {
|
|
2964
|
+
_e?.(P);
|
|
2971
2965
|
},
|
|
2972
2966
|
t: B,
|
|
2973
2967
|
analytics: oe
|
|
@@ -3033,7 +3027,7 @@ export {
|
|
|
3033
3027
|
Bn as i,
|
|
3034
3028
|
Dn as j,
|
|
3035
3029
|
r as k,
|
|
3036
|
-
|
|
3030
|
+
Aa as l,
|
|
3037
3031
|
wa as m,
|
|
3038
3032
|
Cn as n,
|
|
3039
3033
|
In as r,
|
|
@@ -3041,4 +3035,4 @@ export {
|
|
|
3041
3035
|
ur as t,
|
|
3042
3036
|
Kr as u
|
|
3043
3037
|
};
|
|
3044
|
-
//# sourceMappingURL=analytics-
|
|
3038
|
+
//# sourceMappingURL=analytics-Ctu2CtEu.js.map
|