@srimandir/kundli-generator 10.38.0 → 10.38.1
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-Dq972abg.js → analytics-DcnrQuYj.js} +782 -713
- package/dist/analytics-DcnrQuYj.js.map +1 -0
- package/dist/components/DownloadAppBottomSheet/DownloadAppBottomSheet.d.ts +18 -0
- package/dist/components/DownloadAppBottomSheet/index.d.ts +2 -0
- package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +1 -0
- package/dist/{criticalCss-DvHi7anu.js → criticalCss-B8gPB2oN.js} +329 -327
- package/dist/{criticalCss-DvHi7anu.js.map → criticalCss-B8gPB2oN.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/kundli-generator.js +207 -38
- package/dist/kundli-generator.js.map +1 -1
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/analytics-Dq972abg.js.map +0 -1
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import na, { useContext as oa, createContext as Ta, useState as
|
|
2
|
-
import { FormSectionHeader as za, FooterCTAButton as
|
|
3
|
-
import { createPortal as
|
|
1
|
+
import na, { useContext as oa, createContext as Ta, useState as D, useRef as M, useEffect as q, useMemo as Ee, useCallback as Re, Fragment as Qa } from "react";
|
|
2
|
+
import { FormSectionHeader as za, FooterCTAButton as Ja, FooterShell as Xa, CircularMarquee as Za, footerShellStyles as Fe, PageHeader as et } from "@srimandir/astrology-common";
|
|
3
|
+
import { createPortal as at } from "react-dom";
|
|
4
4
|
var Ve = { exports: {} }, He = {};
|
|
5
5
|
var ga;
|
|
6
|
-
function
|
|
6
|
+
function tt() {
|
|
7
7
|
if (ga) return He;
|
|
8
8
|
ga = 1;
|
|
9
|
-
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty,
|
|
10
|
-
function h(
|
|
11
|
-
var
|
|
12
|
-
Y !== void 0 && (p = "" + Y),
|
|
13
|
-
for (
|
|
14
|
-
if (
|
|
15
|
-
return { $$typeof: n, type:
|
|
9
|
+
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
10
|
+
function h(P, g, Y) {
|
|
11
|
+
var B, N = {}, p = null, G = null;
|
|
12
|
+
Y !== void 0 && (p = "" + Y), g.key !== void 0 && (p = "" + g.key), g.ref !== void 0 && (G = g.ref);
|
|
13
|
+
for (B in g) c.call(g, B) && !y.hasOwnProperty(B) && (N[B] = g[B]);
|
|
14
|
+
if (P && P.defaultProps) for (B in g = P.defaultProps, g) N[B] === void 0 && (N[B] = g[B]);
|
|
15
|
+
return { $$typeof: n, type: P, key: p, ref: G, props: N, _owner: _.current };
|
|
16
16
|
}
|
|
17
17
|
return He.Fragment = i, He.jsx = h, He.jsxs = h, He;
|
|
18
18
|
}
|
|
19
19
|
var We = {};
|
|
20
20
|
var ba;
|
|
21
|
-
function
|
|
21
|
+
function rt() {
|
|
22
22
|
return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
23
|
-
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
24
|
-
function
|
|
23
|
+
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), _ = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), P = /* @__PURE__ */ Symbol.for("react.context"), g = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), B = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), G = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, j = "@@iterator";
|
|
24
|
+
function k(a) {
|
|
25
25
|
if (a === null || typeof a != "object")
|
|
26
26
|
return null;
|
|
27
|
-
var s =
|
|
27
|
+
var s = A && a[A] || a[j];
|
|
28
28
|
return typeof s == "function" ? s : null;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
31
|
-
function
|
|
30
|
+
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
31
|
+
function x(a) {
|
|
32
32
|
{
|
|
33
|
-
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0),
|
|
34
|
-
u[
|
|
33
|
+
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++)
|
|
34
|
+
u[v - 1] = arguments[v];
|
|
35
35
|
te("error", a, u);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
function te(a, s, u) {
|
|
39
39
|
{
|
|
40
|
-
var
|
|
40
|
+
var v = b.ReactDebugCurrentFrame, W = v.getStackAddendum();
|
|
41
41
|
W !== "" && (s += "%s", u = u.concat([W]));
|
|
42
42
|
var J = u.map(function(F) {
|
|
43
43
|
return String(F);
|
|
@@ -45,29 +45,29 @@ function tt() {
|
|
|
45
45
|
J.unshift("Warning: " + s), Function.prototype.apply.call(console[a], console, J);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var C = !1, V = !1,
|
|
48
|
+
var C = !1, V = !1, w = !1, Q = !1, R = !1, E;
|
|
49
49
|
E = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
50
50
|
function se(a) {
|
|
51
|
-
return !!(typeof a == "string" || typeof a == "function" || a === c || a ===
|
|
51
|
+
return !!(typeof a == "string" || typeof a == "function" || a === c || a === y || R || a === _ || a === Y || a === B || Q || a === G || C || V || w || typeof a == "object" && a !== null && (a.$$typeof === p || a.$$typeof === N || a.$$typeof === h || a.$$typeof === P || a.$$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
|
a.$$typeof === E || a.getModuleId !== void 0));
|
|
56
56
|
}
|
|
57
57
|
function ae(a, s, u) {
|
|
58
|
-
var
|
|
59
|
-
if (
|
|
60
|
-
return
|
|
58
|
+
var v = a.displayName;
|
|
59
|
+
if (v)
|
|
60
|
+
return v;
|
|
61
61
|
var W = s.displayName || s.name || "";
|
|
62
62
|
return W !== "" ? u + "(" + W + ")" : u;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function O(a) {
|
|
65
65
|
return a.displayName || "Context";
|
|
66
66
|
}
|
|
67
67
|
function I(a) {
|
|
68
68
|
if (a == null)
|
|
69
69
|
return null;
|
|
70
|
-
if (typeof a.tag == "number" &&
|
|
70
|
+
if (typeof a.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
71
71
|
return a.displayName || a.name || null;
|
|
72
72
|
if (typeof a == "string")
|
|
73
73
|
return a;
|
|
@@ -76,28 +76,28 @@ function tt() {
|
|
|
76
76
|
return "Fragment";
|
|
77
77
|
case i:
|
|
78
78
|
return "Portal";
|
|
79
|
-
case
|
|
79
|
+
case y:
|
|
80
80
|
return "Profiler";
|
|
81
|
-
case
|
|
81
|
+
case _:
|
|
82
82
|
return "StrictMode";
|
|
83
83
|
case Y:
|
|
84
84
|
return "Suspense";
|
|
85
|
-
case
|
|
85
|
+
case B:
|
|
86
86
|
return "SuspenseList";
|
|
87
87
|
}
|
|
88
88
|
if (typeof a == "object")
|
|
89
89
|
switch (a.$$typeof) {
|
|
90
|
-
case
|
|
90
|
+
case P:
|
|
91
91
|
var s = a;
|
|
92
|
-
return
|
|
92
|
+
return O(s) + ".Consumer";
|
|
93
93
|
case h:
|
|
94
94
|
var u = a;
|
|
95
|
-
return
|
|
96
|
-
case
|
|
95
|
+
return O(u._context) + ".Provider";
|
|
96
|
+
case g:
|
|
97
97
|
return ae(a, a.render, "ForwardRef");
|
|
98
98
|
case N:
|
|
99
|
-
var
|
|
100
|
-
return
|
|
99
|
+
var v = a.displayName || null;
|
|
100
|
+
return v !== null ? v : I(a.type) || "Memo";
|
|
101
101
|
case p: {
|
|
102
102
|
var W = a, J = W._payload, F = W._init;
|
|
103
103
|
try {
|
|
@@ -109,14 +109,14 @@ function tt() {
|
|
|
109
109
|
}
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
112
|
-
var $ = Object.assign, X = 0,
|
|
112
|
+
var $ = Object.assign, X = 0, U, Te, K, re, he, ue, Pe;
|
|
113
113
|
function ne() {
|
|
114
114
|
}
|
|
115
115
|
ne.__reactDisabledLog = !0;
|
|
116
116
|
function je() {
|
|
117
117
|
{
|
|
118
118
|
if (X === 0) {
|
|
119
|
-
|
|
119
|
+
U = console.log, Te = console.info, K = console.warn, re = console.error, he = console.group, ue = console.groupCollapsed, Pe = console.groupEnd;
|
|
120
120
|
var a = {
|
|
121
121
|
configurable: !0,
|
|
122
122
|
enumerable: !0,
|
|
@@ -146,7 +146,7 @@ function tt() {
|
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
148
148
|
log: $({}, a, {
|
|
149
|
-
value:
|
|
149
|
+
value: U
|
|
150
150
|
}),
|
|
151
151
|
info: $({}, a, {
|
|
152
152
|
value: Te
|
|
@@ -164,22 +164,22 @@ function tt() {
|
|
|
164
164
|
value: ue
|
|
165
165
|
}),
|
|
166
166
|
groupEnd: $({}, a, {
|
|
167
|
-
value:
|
|
167
|
+
value: Pe
|
|
168
168
|
})
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
|
-
X < 0 &&
|
|
171
|
+
X < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
var pe =
|
|
174
|
+
var pe = b.ReactCurrentDispatcher, ge;
|
|
175
175
|
function oe(a, s, u) {
|
|
176
176
|
{
|
|
177
177
|
if (ge === void 0)
|
|
178
178
|
try {
|
|
179
179
|
throw Error();
|
|
180
180
|
} catch (W) {
|
|
181
|
-
var
|
|
182
|
-
ge =
|
|
181
|
+
var v = W.stack.trim().match(/\n( *(at )?)/);
|
|
182
|
+
ge = v && v[1] || "";
|
|
183
183
|
}
|
|
184
184
|
return `
|
|
185
185
|
` + ge + a;
|
|
@@ -198,7 +198,7 @@ function tt() {
|
|
|
198
198
|
if (u !== void 0)
|
|
199
199
|
return u;
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var v;
|
|
202
202
|
H = !0;
|
|
203
203
|
var W = Error.prepareStackTrace;
|
|
204
204
|
Error.prepareStackTrace = void 0;
|
|
@@ -216,37 +216,37 @@ function tt() {
|
|
|
216
216
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
217
217
|
try {
|
|
218
218
|
Reflect.construct(F, []);
|
|
219
|
-
} catch (
|
|
220
|
-
|
|
219
|
+
} catch (ve) {
|
|
220
|
+
v = ve;
|
|
221
221
|
}
|
|
222
222
|
Reflect.construct(a, [], F);
|
|
223
223
|
} else {
|
|
224
224
|
try {
|
|
225
225
|
F.call();
|
|
226
|
-
} catch (
|
|
227
|
-
|
|
226
|
+
} catch (ve) {
|
|
227
|
+
v = ve;
|
|
228
228
|
}
|
|
229
229
|
a.call(F.prototype);
|
|
230
230
|
}
|
|
231
231
|
} else {
|
|
232
232
|
try {
|
|
233
233
|
throw Error();
|
|
234
|
-
} catch (
|
|
235
|
-
|
|
234
|
+
} catch (ve) {
|
|
235
|
+
v = ve;
|
|
236
236
|
}
|
|
237
237
|
a();
|
|
238
238
|
}
|
|
239
|
-
} catch (
|
|
240
|
-
if (
|
|
241
|
-
for (var L =
|
|
242
|
-
`),
|
|
243
|
-
`), le = L.length - 1, de =
|
|
239
|
+
} catch (ve) {
|
|
240
|
+
if (ve && v && typeof ve.stack == "string") {
|
|
241
|
+
for (var L = ve.stack.split(`
|
|
242
|
+
`), Ae = v.stack.split(`
|
|
243
|
+
`), le = L.length - 1, de = Ae.length - 1; le >= 1 && de >= 0 && L[le] !== Ae[de]; )
|
|
244
244
|
de--;
|
|
245
245
|
for (; le >= 1 && de >= 0; le--, de--)
|
|
246
|
-
if (L[le] !==
|
|
246
|
+
if (L[le] !== Ae[de]) {
|
|
247
247
|
if (le !== 1 || de !== 1)
|
|
248
248
|
do
|
|
249
|
-
if (le--, de--, de < 0 || L[le] !==
|
|
249
|
+
if (le--, de--, de < 0 || L[le] !== Ae[de]) {
|
|
250
250
|
var Ce = `
|
|
251
251
|
` + L[le].replace(" at new ", " at ");
|
|
252
252
|
return a.displayName && Ce.includes("<anonymous>") && (Ce = Ce.replace("<anonymous>", a.displayName)), typeof a == "function" && me.set(a, Ce), Ce;
|
|
@@ -278,17 +278,17 @@ function tt() {
|
|
|
278
278
|
switch (a) {
|
|
279
279
|
case Y:
|
|
280
280
|
return oe("Suspense");
|
|
281
|
-
case
|
|
281
|
+
case B:
|
|
282
282
|
return oe("SuspenseList");
|
|
283
283
|
}
|
|
284
284
|
if (typeof a == "object")
|
|
285
285
|
switch (a.$$typeof) {
|
|
286
|
-
case
|
|
286
|
+
case g:
|
|
287
287
|
return ee(a.render);
|
|
288
288
|
case N:
|
|
289
289
|
return Ne(a.type, s, u);
|
|
290
290
|
case p: {
|
|
291
|
-
var
|
|
291
|
+
var v = a, W = v._payload, J = v._init;
|
|
292
292
|
try {
|
|
293
293
|
return Ne(J(W), s, u);
|
|
294
294
|
} catch {
|
|
@@ -297,36 +297,36 @@ function tt() {
|
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
var
|
|
301
|
-
function
|
|
300
|
+
var we = Object.prototype.hasOwnProperty, ye = {}, ke = b.ReactDebugCurrentFrame;
|
|
301
|
+
function Se(a) {
|
|
302
302
|
if (a) {
|
|
303
303
|
var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
|
|
304
|
-
|
|
304
|
+
ke.setExtraStackFrame(u);
|
|
305
305
|
} else
|
|
306
|
-
|
|
306
|
+
ke.setExtraStackFrame(null);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function De(a, s, u, v, W) {
|
|
309
309
|
{
|
|
310
|
-
var J = Function.call.bind(
|
|
310
|
+
var J = Function.call.bind(we);
|
|
311
311
|
for (var F in a)
|
|
312
312
|
if (J(a, F)) {
|
|
313
313
|
var L = void 0;
|
|
314
314
|
try {
|
|
315
315
|
if (typeof a[F] != "function") {
|
|
316
|
-
var
|
|
317
|
-
throw
|
|
316
|
+
var Ae = Error((v || "React class") + ": " + u + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
317
|
+
throw Ae.name = "Invariant Violation", Ae;
|
|
318
318
|
}
|
|
319
|
-
L = a[F](s, F,
|
|
319
|
+
L = a[F](s, F, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
320
320
|
} catch (le) {
|
|
321
321
|
L = le;
|
|
322
322
|
}
|
|
323
|
-
L && !(L instanceof Error) && (
|
|
323
|
+
L && !(L instanceof Error) && (Se(W), x("%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).", v || "React class", u, F, typeof L), Se(null)), L instanceof Error && !(L.message in ye) && (ye[L.message] = !0, Se(W), x("Failed %s type: %s", u, L.message), Se(null));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
329
|
-
return
|
|
327
|
+
var Be = Array.isArray;
|
|
328
|
+
function S(a) {
|
|
329
|
+
return Be(a);
|
|
330
330
|
}
|
|
331
331
|
function l(a) {
|
|
332
332
|
{
|
|
@@ -346,24 +346,24 @@ function tt() {
|
|
|
346
346
|
}
|
|
347
347
|
function be(a) {
|
|
348
348
|
if (f(a))
|
|
349
|
-
return
|
|
349
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", l(a)), Z(a);
|
|
350
350
|
}
|
|
351
|
-
var r =
|
|
351
|
+
var r = b.ReactCurrentOwner, d = {
|
|
352
352
|
key: !0,
|
|
353
353
|
ref: !0,
|
|
354
354
|
__self: !0,
|
|
355
355
|
__source: !0
|
|
356
|
-
},
|
|
356
|
+
}, z, xe;
|
|
357
357
|
function $e(a) {
|
|
358
|
-
if (
|
|
358
|
+
if (we.call(a, "ref")) {
|
|
359
359
|
var s = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
360
360
|
if (s && s.isReactWarning)
|
|
361
361
|
return !1;
|
|
362
362
|
}
|
|
363
363
|
return a.ref !== void 0;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
if (
|
|
365
|
+
function ze(a) {
|
|
366
|
+
if (we.call(a, "key")) {
|
|
367
367
|
var s = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
368
368
|
if (s && s.isReactWarning)
|
|
369
369
|
return !1;
|
|
@@ -373,10 +373,10 @@ function tt() {
|
|
|
373
373
|
function Ba(a, s) {
|
|
374
374
|
typeof a.ref == "string" && r.current;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function Ea(a, s) {
|
|
377
377
|
{
|
|
378
378
|
var u = function() {
|
|
379
|
-
|
|
379
|
+
z || (z = !0, x("%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)", s));
|
|
380
380
|
};
|
|
381
381
|
u.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
382
382
|
get: u,
|
|
@@ -384,10 +384,10 @@ function tt() {
|
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Ia(a, s) {
|
|
388
388
|
{
|
|
389
389
|
var u = function() {
|
|
390
|
-
|
|
390
|
+
xe || (xe = !0, x("%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)", s));
|
|
391
391
|
};
|
|
392
392
|
u.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
393
393
|
get: u,
|
|
@@ -395,7 +395,7 @@ function tt() {
|
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
var
|
|
398
|
+
var Fa = function(a, s, u, v, W, J, F) {
|
|
399
399
|
var L = {
|
|
400
400
|
// This tag allows us to uniquely identify this as a React Element
|
|
401
401
|
$$typeof: n,
|
|
@@ -416,7 +416,7 @@ function tt() {
|
|
|
416
416
|
configurable: !1,
|
|
417
417
|
enumerable: !1,
|
|
418
418
|
writable: !1,
|
|
419
|
-
value:
|
|
419
|
+
value: v
|
|
420
420
|
}), Object.defineProperty(L, "_source", {
|
|
421
421
|
configurable: !1,
|
|
422
422
|
enumerable: !1,
|
|
@@ -424,25 +424,25 @@ function tt() {
|
|
|
424
424
|
value: W
|
|
425
425
|
}), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
|
|
426
426
|
};
|
|
427
|
-
function
|
|
427
|
+
function Ma(a, s, u, v, W) {
|
|
428
428
|
{
|
|
429
|
-
var J, F = {}, L = null,
|
|
430
|
-
u !== void 0 && (be(u), L = "" + u),
|
|
429
|
+
var J, F = {}, L = null, Ae = null;
|
|
430
|
+
u !== void 0 && (be(u), L = "" + u), ze(s) && (be(s.key), L = "" + s.key), $e(s) && (Ae = s.ref, Ba(s, W));
|
|
431
431
|
for (J in s)
|
|
432
|
-
|
|
432
|
+
we.call(s, J) && !d.hasOwnProperty(J) && (F[J] = s[J]);
|
|
433
433
|
if (a && a.defaultProps) {
|
|
434
434
|
var le = a.defaultProps;
|
|
435
435
|
for (J in le)
|
|
436
436
|
F[J] === void 0 && (F[J] = le[J]);
|
|
437
437
|
}
|
|
438
|
-
if (L ||
|
|
438
|
+
if (L || Ae) {
|
|
439
439
|
var de = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
440
|
-
L &&
|
|
440
|
+
L && Ea(F, de), Ae && Ia(F, de);
|
|
441
441
|
}
|
|
442
|
-
return
|
|
442
|
+
return Fa(a, L, Ae, W, v, r.current, F);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var Je =
|
|
445
|
+
var Je = b.ReactCurrentOwner, ca = b.ReactDebugCurrentFrame;
|
|
446
446
|
function Ue(a) {
|
|
447
447
|
if (a) {
|
|
448
448
|
var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
|
|
@@ -467,11 +467,11 @@ Check the render method of \`` + a + "`.";
|
|
|
467
467
|
return "";
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Ua(a) {
|
|
471
471
|
return "";
|
|
472
472
|
}
|
|
473
473
|
var ua = {};
|
|
474
|
-
function
|
|
474
|
+
function Ga(a) {
|
|
475
475
|
{
|
|
476
476
|
var s = da();
|
|
477
477
|
if (!s) {
|
|
@@ -488,34 +488,34 @@ Check the top-level render call using <` + u + ">.");
|
|
|
488
488
|
if (!a._store || a._store.validated || a.key != null)
|
|
489
489
|
return;
|
|
490
490
|
a._store.validated = !0;
|
|
491
|
-
var u =
|
|
491
|
+
var u = Ga(s);
|
|
492
492
|
if (ua[u])
|
|
493
493
|
return;
|
|
494
494
|
ua[u] = !0;
|
|
495
|
-
var
|
|
496
|
-
a && a._owner && a._owner !== Je.current && (
|
|
495
|
+
var v = "";
|
|
496
|
+
a && a._owner && a._owner !== Je.current && (v = " It was passed a child from " + I(a._owner.type) + "."), Ue(a), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), Ue(null);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
function ma(a, s) {
|
|
500
500
|
{
|
|
501
501
|
if (typeof a != "object")
|
|
502
502
|
return;
|
|
503
|
-
if (
|
|
503
|
+
if (S(a))
|
|
504
504
|
for (var u = 0; u < a.length; u++) {
|
|
505
|
-
var
|
|
506
|
-
Ze(
|
|
505
|
+
var v = a[u];
|
|
506
|
+
Ze(v) && pa(v, s);
|
|
507
507
|
}
|
|
508
508
|
else if (Ze(a))
|
|
509
509
|
a._store && (a._store.validated = !0);
|
|
510
510
|
else if (a) {
|
|
511
|
-
var W =
|
|
511
|
+
var W = k(a);
|
|
512
512
|
if (typeof W == "function" && W !== a.entries)
|
|
513
513
|
for (var J = W.call(a), F; !(F = J.next()).done; )
|
|
514
514
|
Ze(F.value) && pa(F.value, s);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Oa(a) {
|
|
519
519
|
{
|
|
520
520
|
var s = a.type;
|
|
521
521
|
if (s == null || typeof s == "string")
|
|
@@ -523,107 +523,107 @@ Check the top-level render call using <` + u + ">.");
|
|
|
523
523
|
var u;
|
|
524
524
|
if (typeof s == "function")
|
|
525
525
|
u = s.propTypes;
|
|
526
|
-
else if (typeof s == "object" && (s.$$typeof ===
|
|
526
|
+
else if (typeof s == "object" && (s.$$typeof === g || // Note: Memo only checks outer props here.
|
|
527
527
|
// Inner props are checked in the reconciler.
|
|
528
528
|
s.$$typeof === N))
|
|
529
529
|
u = s.propTypes;
|
|
530
530
|
else
|
|
531
531
|
return;
|
|
532
532
|
if (u) {
|
|
533
|
-
var
|
|
534
|
-
|
|
533
|
+
var v = I(s);
|
|
534
|
+
De(u, a.props, "prop", v, a);
|
|
535
535
|
} else if (s.PropTypes !== void 0 && !Xe) {
|
|
536
536
|
Xe = !0;
|
|
537
537
|
var W = I(s);
|
|
538
|
-
|
|
538
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
|
|
539
539
|
}
|
|
540
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
540
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function $a(a) {
|
|
544
544
|
{
|
|
545
545
|
for (var s = Object.keys(a.props), u = 0; u < s.length; u++) {
|
|
546
|
-
var
|
|
547
|
-
if (
|
|
548
|
-
Ue(a),
|
|
546
|
+
var v = s[u];
|
|
547
|
+
if (v !== "children" && v !== "key") {
|
|
548
|
+
Ue(a), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Ue(null);
|
|
549
549
|
break;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
a.ref !== null && (Ue(a),
|
|
552
|
+
a.ref !== null && (Ue(a), x("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
var fa = {};
|
|
556
|
-
function ha(a, s, u,
|
|
556
|
+
function ha(a, s, u, v, W, J) {
|
|
557
557
|
{
|
|
558
558
|
var F = se(a);
|
|
559
559
|
if (!F) {
|
|
560
560
|
var L = "";
|
|
561
561
|
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (L += " 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
|
|
563
|
-
|
|
562
|
+
var Ae = Ua();
|
|
563
|
+
Ae ? L += Ae : L += da();
|
|
564
564
|
var le;
|
|
565
|
-
a === null ? le = "null" :
|
|
565
|
+
a === null ? le = "null" : S(a) ? le = "array" : a !== void 0 && a.$$typeof === n ? (le = "<" + (I(a.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : le = typeof a, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, L);
|
|
566
566
|
}
|
|
567
|
-
var de =
|
|
567
|
+
var de = Ma(a, s, u, W, J);
|
|
568
568
|
if (de == null)
|
|
569
569
|
return de;
|
|
570
570
|
if (F) {
|
|
571
571
|
var Ce = s.children;
|
|
572
572
|
if (Ce !== void 0)
|
|
573
|
-
if (
|
|
574
|
-
if (
|
|
573
|
+
if (v)
|
|
574
|
+
if (S(Ce)) {
|
|
575
575
|
for (var Ge = 0; Ge < Ce.length; Ge++)
|
|
576
576
|
ma(Ce[Ge], a);
|
|
577
577
|
Object.freeze && Object.freeze(Ce);
|
|
578
578
|
} else
|
|
579
|
-
|
|
579
|
+
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
580
580
|
else
|
|
581
581
|
ma(Ce, a);
|
|
582
582
|
}
|
|
583
|
-
if (
|
|
584
|
-
var Ie = I(a),
|
|
585
|
-
return
|
|
586
|
-
}), ea =
|
|
583
|
+
if (we.call(s, "key")) {
|
|
584
|
+
var Ie = I(a), ve = Object.keys(s).filter(function(Va) {
|
|
585
|
+
return Va !== "key";
|
|
586
|
+
}), ea = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
587
587
|
if (!fa[Ie + ea]) {
|
|
588
|
-
var
|
|
589
|
-
|
|
588
|
+
var Ya = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
|
|
589
|
+
x(`A props object containing a "key" prop is being spread into JSX:
|
|
590
590
|
let props = %s;
|
|
591
591
|
<%s {...props} />
|
|
592
592
|
React keys must be passed directly to JSX without using spread:
|
|
593
593
|
let props = %s;
|
|
594
|
-
<%s key={someKey} {...props} />`, ea, Ie,
|
|
594
|
+
<%s key={someKey} {...props} />`, ea, Ie, Ya, Ie), fa[Ie + ea] = !0;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
return a === c ?
|
|
597
|
+
return a === c ? $a(de) : Oa(de), de;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function Ha(a, s, u) {
|
|
601
601
|
return ha(a, s, u, !0);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Wa(a, s, u) {
|
|
604
604
|
return ha(a, s, u, !1);
|
|
605
605
|
}
|
|
606
|
-
var
|
|
607
|
-
We.Fragment = c, We.jsx =
|
|
606
|
+
var Ka = Wa, qa = Ha;
|
|
607
|
+
We.Fragment = c, We.jsx = Ka, We.jsxs = qa;
|
|
608
608
|
})()), We;
|
|
609
609
|
}
|
|
610
610
|
var _a;
|
|
611
|
-
function
|
|
612
|
-
return _a || (_a = 1, process.env.NODE_ENV === "production" ? Ve.exports =
|
|
611
|
+
function nt() {
|
|
612
|
+
return _a || (_a = 1, process.env.NODE_ENV === "production" ? Ve.exports = tt() : Ve.exports = rt()), Ve.exports;
|
|
613
613
|
}
|
|
614
|
-
var e =
|
|
615
|
-
const
|
|
616
|
-
container:
|
|
617
|
-
main:
|
|
618
|
-
kundliHeaderNoBorder:
|
|
619
|
-
headerSeparator:
|
|
620
|
-
langDropdownWrap:
|
|
621
|
-
langTrigger:
|
|
622
|
-
langIcon:
|
|
623
|
-
langLabel:
|
|
624
|
-
langMenu:
|
|
625
|
-
langOption:
|
|
626
|
-
},
|
|
614
|
+
var e = nt();
|
|
615
|
+
const ot = "_container_1e1th_1", it = "_main_1e1th_7", lt = "_kundliHeaderNoBorder_1e1th_12", st = "_headerSeparator_1e1th_16", ct = "_langDropdownWrap_1e1th_21", dt = "_langTrigger_1e1th_25", ut = "_langIcon_1e1th_37", pt = "_langLabel_1e1th_44", mt = "_langMenu_1e1th_49", ft = "_langOption_1e1th_55", Le = {
|
|
616
|
+
container: ot,
|
|
617
|
+
main: it,
|
|
618
|
+
kundliHeaderNoBorder: lt,
|
|
619
|
+
headerSeparator: st,
|
|
620
|
+
langDropdownWrap: ct,
|
|
621
|
+
langTrigger: dt,
|
|
622
|
+
langIcon: ut,
|
|
623
|
+
langLabel: pt,
|
|
624
|
+
langMenu: mt,
|
|
625
|
+
langOption: ft
|
|
626
|
+
}, wa = [
|
|
627
627
|
"en",
|
|
628
628
|
"hi",
|
|
629
629
|
"gu",
|
|
@@ -631,7 +631,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
631
631
|
"ta",
|
|
632
632
|
"te",
|
|
633
633
|
"kn"
|
|
634
|
-
],
|
|
634
|
+
], ya = {
|
|
635
635
|
en: "English",
|
|
636
636
|
hi: "हिन्दी",
|
|
637
637
|
gu: "ગુજરાતી",
|
|
@@ -639,7 +639,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
639
639
|
ta: "தமிழ்",
|
|
640
640
|
te: "తెలుగు",
|
|
641
641
|
kn: "ಕನ್ನಡ"
|
|
642
|
-
},
|
|
642
|
+
}, ht = {
|
|
643
643
|
kundli: "Kundli",
|
|
644
644
|
birthChart: "Birth Chart",
|
|
645
645
|
details: "Details",
|
|
@@ -873,8 +873,24 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
873
873
|
planAstrologerExpAshwini: "16 Years of experience",
|
|
874
874
|
and: "And",
|
|
875
875
|
astrologyGuidance: "Astrology Guidance",
|
|
876
|
-
selectPackage: "Select Package"
|
|
877
|
-
|
|
876
|
+
selectPackage: "Select Package",
|
|
877
|
+
// Download app bottom sheet
|
|
878
|
+
downloadAppSheetTitle: "Get your Kundli Report in the App",
|
|
879
|
+
downloadAppSheetReportAccess: "Access & download your kundli report & section wise summary in the app",
|
|
880
|
+
downloadAppSheetAlsoUnlocked: "Also unlocked in the app",
|
|
881
|
+
downloadAppSheetAskQuestions: "Ask any questions related to your kundli report in the app in your own language",
|
|
882
|
+
downloadAppSheetRemedies: "Select an area of focus and get remedies based on our report",
|
|
883
|
+
downloadAppSheetCta: "Download Free Kundli App",
|
|
884
|
+
downloadAppSheetQuestionTitle: "Ask {badge} Question in the App",
|
|
885
|
+
downloadAppSheetFreeBadge: "Free",
|
|
886
|
+
downloadAppSheetQuestionHero: "Ask any Questions related to your Kundli Report in the App",
|
|
887
|
+
downloadAppSheetDailyRituals: "Personalised daily rituals tailored to your problems",
|
|
888
|
+
downloadAppSheetQuestionCta: "Ask Free Question on App",
|
|
889
|
+
downloadAppSheetRitualTitle: "Personalized Daily Rituals in the App",
|
|
890
|
+
downloadAppSheetRitualHero: "Select an area of focus and get remedies based on your report",
|
|
891
|
+
downloadAppSheetAccessDownloadReport: "Access & download your kundli report & section wise summary in the app",
|
|
892
|
+
downloadAppSheetRitualCta: "Start Today’s Ritual on App"
|
|
893
|
+
}, gt = {
|
|
878
894
|
kundli: "कुंडली",
|
|
879
895
|
birthChart: "जन्म कुंडली",
|
|
880
896
|
details: "विवरण",
|
|
@@ -1107,8 +1123,26 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1107
1123
|
planAstrologerExpAshwini: "16 साल का अनुभव",
|
|
1108
1124
|
and: "और",
|
|
1109
1125
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1110
|
-
selectPackage: "पैकेज चुनें"
|
|
1111
|
-
|
|
1126
|
+
selectPackage: "पैकेज चुनें",
|
|
1127
|
+
// Download app bottom sheet
|
|
1128
|
+
downloadAppSheetTitle: "ऐप में अपनी कुंडली रिपोर्ट पाएं",
|
|
1129
|
+
downloadAppSheetReportAccess: "ऐप में अपनी कुंडली रिपोर्ट और अनुभागवार सारांश देखें",
|
|
1130
|
+
downloadAppSheetAlsoUnlocked: "ऐप में ये सुविधाएँ भी अनलॉक हैं",
|
|
1131
|
+
// Hard line break as in the Hindi Figma frames (rendered via pre-line).
|
|
1132
|
+
downloadAppSheetAskQuestions: `ऐप में अपनी कुंडली रिपोर्ट से जुड़ा कोई भी सवाल अपनी
|
|
1133
|
+
भाषा में पूछें`,
|
|
1134
|
+
downloadAppSheetRemedies: "अपनी प्राथमिकता का क्षेत्र चुनें और अपनी रिपोर्ट के आधार पर उपाय पाएं",
|
|
1135
|
+
downloadAppSheetCta: "निःशुल्क कुंडली ऐप डाउनलोड करें",
|
|
1136
|
+
// Hindi title has no separate "Free" badge — rendered as plain text.
|
|
1137
|
+
downloadAppSheetQuestionTitle: "ऐप में निःशुल्क सवाल पूछें",
|
|
1138
|
+
downloadAppSheetQuestionHero: "ऐप में अपनी कुंडली रिपोर्ट से संबंधित कोई भी सवाल पूछें",
|
|
1139
|
+
downloadAppSheetDailyRituals: "आपकी समस्याओं के अनुरूप व्यक्तिगत दैनिक अनुष्ठान पाएं।",
|
|
1140
|
+
downloadAppSheetQuestionCta: "ऐप में निःशुल्क सवाल पूछें",
|
|
1141
|
+
downloadAppSheetRitualTitle: "ऐप में व्यक्तिगत दैनिक अनुष्ठान",
|
|
1142
|
+
downloadAppSheetRitualHero: "अपनी प्राथमिकता का क्षेत्र चुनें और अपनी रिपोर्ट के आधार पर उपाय पाएं",
|
|
1143
|
+
downloadAppSheetAccessDownloadReport: "ऐप में अपनी कुंडली रिपोर्ट और अनुभागवार सारांश देखें एवं डाउनलोड करें",
|
|
1144
|
+
downloadAppSheetRitualCta: "ऐप में आज का अनुष्ठान शुरू करें"
|
|
1145
|
+
}, bt = {
|
|
1112
1146
|
kundli: "कुंडली",
|
|
1113
1147
|
birthChart: "जन्मकुंडली",
|
|
1114
1148
|
details: "तपशील",
|
|
@@ -1335,7 +1369,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1335
1369
|
and: "आणि",
|
|
1336
1370
|
astrologyGuidance: "ज्योतिष मार्गदर्शन",
|
|
1337
1371
|
selectPackage: "पॅकेज निवडा"
|
|
1338
|
-
},
|
|
1372
|
+
}, _t = {
|
|
1339
1373
|
kundli: "કુંડળી",
|
|
1340
1374
|
birthChart: "જન્મ કુંડળી",
|
|
1341
1375
|
details: "વિગતો",
|
|
@@ -1562,7 +1596,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1562
1596
|
and: "અને",
|
|
1563
1597
|
astrologyGuidance: "જ્યોતિષ માર્ગદર્શન",
|
|
1564
1598
|
selectPackage: "પેકેજ પસંદ કરો"
|
|
1565
|
-
},
|
|
1599
|
+
}, yt = {
|
|
1566
1600
|
kundli: "ಕುಂಡಲಿ",
|
|
1567
1601
|
birthChart: "ಜನ್ಮ ಕುಂಡಲಿ",
|
|
1568
1602
|
details: "ವಿವರಗಳು",
|
|
@@ -1788,7 +1822,23 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1788
1822
|
planAstrologerExpAshwini: "16 ವರ್ಷಗಳ ಅನುಭವ",
|
|
1789
1823
|
and: "ಮತ್ತು",
|
|
1790
1824
|
astrologyGuidance: "ಜ್ಯೋತಿಷ್ಯ ಮಾರ್ಗದರ್ಶನ",
|
|
1791
|
-
selectPackage: "ಪ್ಯಾಕೇಜ್ ಆಯ್ಕೆಮಾಡಿ"
|
|
1825
|
+
selectPackage: "ಪ್ಯಾಕೇಜ್ ಆಯ್ಕೆಮಾಡಿ",
|
|
1826
|
+
// Download app bottom sheet
|
|
1827
|
+
downloadAppSheetTitle: "ಆ್ಯಪ್ನಲ್ಲಿ ನಿಮ್ಮ ಕುಂಡಲಿ ವರದಿಯನ್ನು ಪಡೆಯಿರಿ",
|
|
1828
|
+
downloadAppSheetReportAccess: "ಆ್ಯಪ್ನಲ್ಲಿ ನಿಮ್ಮ ಕುಂಡಲಿ ವರದಿ ಮತ್ತು ವಿಭಾಗವಾರು ಸಾರಾಂಶವನ್ನು ವೀಕ್ಷಿಸಿ",
|
|
1829
|
+
downloadAppSheetAlsoUnlocked: "ಆ್ಯಪ್ನಲ್ಲಿ ಈ ಸೌಲಭ್ಯಗಳೂ ಅನ್ಲಾಕ್ ಆಗಿವೆ",
|
|
1830
|
+
downloadAppSheetAskQuestions: "ಆ್ಯಪ್ನಲ್ಲಿ ನಿಮ್ಮ ಕುಂಡಲಿ ರಿಪೋರ್ಟ್ಗೆ ಸಂಬಂಧಿಸಿದ ಯಾವುದೇ ಪ್ರಶ್ನೆಯನ್ನು ನಿಮ್ಮ ಸ್ವಂತ ಭಾಷೆಯಲ್ಲಿ",
|
|
1831
|
+
downloadAppSheetRemedies: "ಗಮನ ಹರಿಸಬೇಕಾದ ಕ್ಷೇತ್ರವನ್ನು ಆಯ್ಕೆ ಮಾಡಿ ಮತ್ತು ನಿಮ್ಮ ವರದಿಯ ಆಧಾರದ ಮೇಲೆ ಪರಿಹಾರಗಳನ್ನು ಪಡೆಯಿರಿ",
|
|
1832
|
+
downloadAppSheetCta: "ಉಚಿತ ಕುಂಡಲಿ ಆ್ಯಪ್ ಡೌನ್ಲೋಡ್ ಮಾಡಿ",
|
|
1833
|
+
// Kannada title has no separate "Free" badge — rendered as plain text.
|
|
1834
|
+
downloadAppSheetQuestionTitle: "ಆ್ಯಪ್ನಲ್ಲಿ ಉಚಿತವಾಗಿ ಪ್ರಶ್ನೆ ಕೇಳಿ",
|
|
1835
|
+
downloadAppSheetQuestionHero: "ಆ್ಯಪ್ನಲ್ಲಿ ನಿಮ್ಮ ಕುಂಡಲಿ ವರದಿಗೆ ಸಂಬಂಧಿಸಿದ ಯಾವುದೇ ಪ್ರಶ್ನೆಯನ್ನು ಕೇಳಿ",
|
|
1836
|
+
downloadAppSheetDailyRituals: "ನಿಮ್ಮ ಸಮಸ್ಯೆಗಳಿಗೆ ಅನುಗುಣವಾಗಿ ರೂಪಿಸಲಾದ ವೈಯಕ್ತಿಕ ದೈನಂದಿನ ಆಚರಣೆಗಳನ್ನು ಪಡೆಯಿರಿ",
|
|
1837
|
+
downloadAppSheetQuestionCta: "ಆ್ಯಪ್ನಲ್ಲಿ ಉಚಿತವಾಗಿ ಪ್ರಶ್ನೆ ಕೇಳಿ",
|
|
1838
|
+
downloadAppSheetRitualTitle: "ಆ್ಯಪ್ನಲ್ಲಿ ವೈಯಕ್ತಿಕ ದೈನಂದಿನ ಆಚರಣೆಗಳು",
|
|
1839
|
+
downloadAppSheetRitualHero: "ಗಮನ ಹರಿಸಬೇಕಾದ ಕ್ಷೇತ್ರವನ್ನು ಆಯ್ಕೆ ಮಾಡಿ ಮತ್ತು ನಿಮ್ಮ ವರದಿಯ ಆಧಾರದ ಮೇಲೆ ಪರಿಹಾರಗಳನ್ನು ಪಡೆಯಿರಿ",
|
|
1840
|
+
downloadAppSheetAccessDownloadReport: "ಆ್ಯಪ್ನಲ್ಲಿ ನಿಮ್ಮ ಕುಂಡಲಿ ವರದಿ ಮತ್ತು ವಿಭಾಗವಾರು ಸಾರಾಂಶವನ್ನು ವೀಕ್ಷಿಸಿ ಹಾಗೂ ಡೌನ್ಲೋಡ್ ಮಾಡಿ",
|
|
1841
|
+
downloadAppSheetRitualCta: "ಆ್ಯಪ್ನಲ್ಲಿ ಇಂದಿನ ಆಚರಣೆಯನ್ನು ಪ್ರಾರಂಭಿಸಿ"
|
|
1792
1842
|
}, kt = {
|
|
1793
1843
|
kundli: "ஜாதகம்",
|
|
1794
1844
|
birthChart: "பிறப்பு ஜாதகம்",
|
|
@@ -2016,7 +2066,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2016
2066
|
and: "மற்றும்",
|
|
2017
2067
|
astrologyGuidance: "ஜோதிட வழிகாட்டுதல்",
|
|
2018
2068
|
selectPackage: "தொகுப்பைத் தேர்ந்தெடுக்கவும்"
|
|
2019
|
-
},
|
|
2069
|
+
}, At = {
|
|
2020
2070
|
kundli: "జాతకం",
|
|
2021
2071
|
birthChart: "జన్మ జాతకం",
|
|
2022
2072
|
details: "వివరాలు",
|
|
@@ -2242,39 +2292,55 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2242
2292
|
planAstrologerExpAshwini: "16 సంవత్సరాల అనుభవం",
|
|
2243
2293
|
and: "మరియు",
|
|
2244
2294
|
astrologyGuidance: "జ్యోతిష్య మార్గదర్శకం",
|
|
2245
|
-
selectPackage: "ప్యాకేజీని ఎంచుకోండి"
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2295
|
+
selectPackage: "ప్యాకేజీని ఎంచుకోండి",
|
|
2296
|
+
// Download app bottom sheet
|
|
2297
|
+
downloadAppSheetTitle: "మీ కుండలి రిపోర్ట్ను యాప్లో పొందండి",
|
|
2298
|
+
downloadAppSheetReportAccess: "మీ కుండలి రిపోర్ట్ మరియు ప్రతి సెక్షన్ యొక్క సారాంశాన్ని యాప్లో చూడండి",
|
|
2299
|
+
downloadAppSheetAlsoUnlocked: "ఇవి కూడా యాప్లో అందుబాటులో ఉన్నాయి",
|
|
2300
|
+
downloadAppSheetAskQuestions: "యాప్లో మీ కుండలి రిపోర్ట్కు సంబంధించిన ఏ ప్రశ్నైనా మీ సొంత భాషలో అడగండి",
|
|
2301
|
+
downloadAppSheetRemedies: "మీ దృష్టి పెట్టాలనుకున్న అంశాన్ని ఎంచుకుని, మా రిపోర్ట్ ఆధారంగా పరిహారాలను పొందండి",
|
|
2302
|
+
downloadAppSheetCta: "కుండలి యాప్ను ఉచితంగా డౌన్లోడ్ చేసుకోండి",
|
|
2303
|
+
downloadAppSheetRitualTitle: "యాప్లో మీ కోసం ప్రత్యేకంగా రూపొందించిన రోజువారీ ఆచరణలు",
|
|
2304
|
+
downloadAppSheetRitualHero: "మీ దృష్టి పెట్టాలనుకున్న అంశాన్ని ఎంచుకుని, మా రిపోర్ట్ ఆధారంగా పరిహారాలను పొందండి",
|
|
2305
|
+
downloadAppSheetRitualCta: "ఈరోజు రోజువారీ ఆచరణలను యాప్లో ప్రారంభించండి",
|
|
2306
|
+
downloadAppSheetAccessDownloadReport: "మీ కుండలి రిపోర్ట్ మరియు ప్రతి సెక్షన్ యొక్క సారాంశాన్ని యాప్లో చూడండి",
|
|
2307
|
+
// Telugu title has no separate "Free" badge — rendered as plain text.
|
|
2308
|
+
downloadAppSheetQuestionTitle: "యాప్లో ఉచిత ప్రశ్న అడగండి",
|
|
2309
|
+
downloadAppSheetQuestionHero: "మీ కుండలి రిపోర్ట్కు సంబంధించిన ప్రశ్నలను మీ స్వంత భాషలో యాప్లో అడగండి",
|
|
2310
|
+
downloadAppSheetDailyRituals: "మీ దృష్టి పెట్టాలనుకున్న అంశాన్ని ఎంచుకుని, మా రిపోర్ట్ ఆధారంగా పరిహారాలను పొందండి",
|
|
2311
|
+
downloadAppSheetQuestionCta: "యాప్లో ఉచిత ప్రశ్న అడగండి"
|
|
2312
|
+
}, Sa = {
|
|
2313
|
+
en: ht,
|
|
2314
|
+
hi: gt,
|
|
2315
|
+
mr: bt,
|
|
2250
2316
|
// Dropdown/type support only for now — copy falls back to English until
|
|
2251
2317
|
// real gu/ta/te/kn translations are written.
|
|
2252
|
-
gu:
|
|
2318
|
+
gu: _t,
|
|
2253
2319
|
ta: kt,
|
|
2254
|
-
te:
|
|
2255
|
-
kn:
|
|
2256
|
-
},
|
|
2320
|
+
te: At,
|
|
2321
|
+
kn: yt
|
|
2322
|
+
}, Pa = Ta(null), vi = ({
|
|
2257
2323
|
locale: t,
|
|
2258
2324
|
children: n
|
|
2259
2325
|
}) => {
|
|
2260
|
-
const c = { locale: t, t: (
|
|
2261
|
-
return /* @__PURE__ */ e.jsx(
|
|
2326
|
+
const c = { locale: t, t: (_) => Sa[t]?.[_] };
|
|
2327
|
+
return /* @__PURE__ */ e.jsx(Pa.Provider, { value: c, children: n });
|
|
2262
2328
|
};
|
|
2263
2329
|
function vt() {
|
|
2264
|
-
return oa(
|
|
2330
|
+
return oa(Pa);
|
|
2265
2331
|
}
|
|
2266
2332
|
const Ye = (t) => {
|
|
2267
|
-
const { priority: n, fetchPriority: i, width: c, height:
|
|
2333
|
+
const { priority: n, fetchPriority: i, width: c, height: _, ...y } = t;
|
|
2268
2334
|
return na.createElement("img", {
|
|
2269
|
-
...
|
|
2335
|
+
...y,
|
|
2270
2336
|
width: c ?? 1,
|
|
2271
|
-
height:
|
|
2337
|
+
height: _ ?? 1,
|
|
2272
2338
|
decoding: "async",
|
|
2273
|
-
loading:
|
|
2339
|
+
loading: y.loading ?? (n ? "eager" : "lazy"),
|
|
2274
2340
|
...i && { fetchPriority: i }
|
|
2275
2341
|
});
|
|
2276
2342
|
};
|
|
2277
|
-
function
|
|
2343
|
+
function Tt(t) {
|
|
2278
2344
|
if (typeof window > "u" || !window.localStorage)
|
|
2279
2345
|
return null;
|
|
2280
2346
|
try {
|
|
@@ -2283,7 +2349,7 @@ function At(t) {
|
|
|
2283
2349
|
return null;
|
|
2284
2350
|
}
|
|
2285
2351
|
}
|
|
2286
|
-
function
|
|
2352
|
+
function wt(t, n) {
|
|
2287
2353
|
if (!(typeof window > "u" || !window.localStorage))
|
|
2288
2354
|
try {
|
|
2289
2355
|
window.localStorage.setItem(t, n);
|
|
@@ -2297,7 +2363,7 @@ function Ti(t) {
|
|
|
2297
2363
|
} catch {
|
|
2298
2364
|
}
|
|
2299
2365
|
}
|
|
2300
|
-
function
|
|
2366
|
+
function wi() {
|
|
2301
2367
|
if (typeof window > "u" || !window.localStorage)
|
|
2302
2368
|
return !1;
|
|
2303
2369
|
try {
|
|
@@ -2307,15 +2373,15 @@ function Pi() {
|
|
|
2307
2373
|
return !1;
|
|
2308
2374
|
}
|
|
2309
2375
|
}
|
|
2310
|
-
const
|
|
2311
|
-
function
|
|
2312
|
-
const t =
|
|
2313
|
-
return t &&
|
|
2376
|
+
const xa = "kundli_language";
|
|
2377
|
+
function St() {
|
|
2378
|
+
const t = Tt(xa);
|
|
2379
|
+
return t && wa.includes(t) ? t : null;
|
|
2314
2380
|
}
|
|
2315
|
-
function
|
|
2316
|
-
|
|
2381
|
+
function Pt(t) {
|
|
2382
|
+
wt(xa, t);
|
|
2317
2383
|
}
|
|
2318
|
-
const ia = Ta(null),
|
|
2384
|
+
const ia = Ta(null), xt = {
|
|
2319
2385
|
fullName: "",
|
|
2320
2386
|
phone: "",
|
|
2321
2387
|
phoneCountryCode: "",
|
|
@@ -2326,55 +2392,55 @@ const ia = Ta(null), wt = {
|
|
|
2326
2392
|
birthTime: "",
|
|
2327
2393
|
birthTimeUnknown: !1,
|
|
2328
2394
|
birthPlace: ""
|
|
2329
|
-
},
|
|
2395
|
+
}, Si = ({
|
|
2330
2396
|
locale: t,
|
|
2331
2397
|
showLanguageSelector: n = !0,
|
|
2332
2398
|
showSheet: i,
|
|
2333
2399
|
userId: c,
|
|
2334
|
-
isGlobal:
|
|
2335
|
-
variant:
|
|
2400
|
+
isGlobal: _,
|
|
2401
|
+
variant: y,
|
|
2336
2402
|
initialFormValues: h,
|
|
2337
|
-
autoOpenPlanSheet:
|
|
2338
|
-
googleMapsApiKey:
|
|
2403
|
+
autoOpenPlanSheet: P,
|
|
2404
|
+
googleMapsApiKey: g,
|
|
2339
2405
|
atlasSearchLocalities: Y,
|
|
2340
|
-
googleMapsAutocompleteEnabled:
|
|
2406
|
+
googleMapsAutocompleteEnabled: B,
|
|
2341
2407
|
enableConsultationScheduling: N,
|
|
2342
2408
|
fetchConsultationSlots: p,
|
|
2343
|
-
logoUrl:
|
|
2344
|
-
reportImageUrl:
|
|
2409
|
+
logoUrl: G,
|
|
2410
|
+
reportImageUrl: A,
|
|
2345
2411
|
reportImagePriority: j,
|
|
2346
|
-
backgroundImagePriority:
|
|
2347
|
-
universityLogoUrls:
|
|
2348
|
-
sampleReportHref:
|
|
2412
|
+
backgroundImagePriority: k,
|
|
2413
|
+
universityLogoUrls: b,
|
|
2414
|
+
sampleReportHref: x,
|
|
2349
2415
|
onViewSampleReport: te,
|
|
2350
2416
|
ctaHref: C,
|
|
2351
2417
|
onCtaClick: V,
|
|
2352
|
-
onBack:
|
|
2353
|
-
readMoreReviewsHref:
|
|
2418
|
+
onBack: w,
|
|
2419
|
+
readMoreReviewsHref: Q,
|
|
2354
2420
|
onProceed: R,
|
|
2355
2421
|
proceedHref: E,
|
|
2356
2422
|
originalPriceLabel: se,
|
|
2357
2423
|
discountedPriceLabel: ae,
|
|
2358
|
-
discountPillLabel:
|
|
2424
|
+
discountPillLabel: O,
|
|
2359
2425
|
analytics: I,
|
|
2360
2426
|
onProceedGuidance: $,
|
|
2361
2427
|
onLocaleChange: X,
|
|
2362
|
-
imageComponent:
|
|
2428
|
+
imageComponent: U = Ye,
|
|
2363
2429
|
resolvedUtmBannerImageUrl: Te,
|
|
2364
2430
|
plans: K,
|
|
2365
2431
|
threeSkuPlans: re,
|
|
2366
2432
|
children: he
|
|
2367
2433
|
}) => {
|
|
2368
|
-
const [ue,
|
|
2369
|
-
...
|
|
2434
|
+
const [ue, Pe] = D("landing"), [ne, je] = D(t ?? "en"), [_e, pe] = D({
|
|
2435
|
+
...xt,
|
|
2370
2436
|
...h
|
|
2371
2437
|
}), ge = M(!0);
|
|
2372
2438
|
q(() => {
|
|
2373
2439
|
if (t) return;
|
|
2374
|
-
const fe =
|
|
2440
|
+
const fe = St();
|
|
2375
2441
|
fe && je(fe);
|
|
2376
2442
|
}, []), q(() => {
|
|
2377
|
-
|
|
2443
|
+
Pt(ne);
|
|
2378
2444
|
}, [ne]), q(() => {
|
|
2379
2445
|
if (ge.current) {
|
|
2380
2446
|
ge.current = !1;
|
|
@@ -2388,35 +2454,35 @@ const ia = Ta(null), wt = {
|
|
|
2388
2454
|
showLanguageSelector: n,
|
|
2389
2455
|
showSheet: i,
|
|
2390
2456
|
userId: c,
|
|
2391
|
-
isGlobal:
|
|
2392
|
-
variant:
|
|
2457
|
+
isGlobal: _,
|
|
2458
|
+
variant: y,
|
|
2393
2459
|
initialFormValues: h,
|
|
2394
|
-
autoOpenPlanSheet:
|
|
2395
|
-
googleMapsApiKey:
|
|
2460
|
+
autoOpenPlanSheet: P,
|
|
2461
|
+
googleMapsApiKey: g,
|
|
2396
2462
|
atlasSearchLocalities: Y,
|
|
2397
|
-
googleMapsAutocompleteEnabled:
|
|
2463
|
+
googleMapsAutocompleteEnabled: B,
|
|
2398
2464
|
enableConsultationScheduling: N,
|
|
2399
2465
|
fetchConsultationSlots: p,
|
|
2400
|
-
logoUrl:
|
|
2401
|
-
reportImageUrl:
|
|
2466
|
+
logoUrl: G,
|
|
2467
|
+
reportImageUrl: A,
|
|
2402
2468
|
reportImagePriority: j,
|
|
2403
|
-
backgroundImagePriority:
|
|
2404
|
-
universityLogoUrls:
|
|
2405
|
-
sampleReportHref:
|
|
2469
|
+
backgroundImagePriority: k,
|
|
2470
|
+
universityLogoUrls: b,
|
|
2471
|
+
sampleReportHref: x,
|
|
2406
2472
|
onViewSampleReport: te,
|
|
2407
2473
|
ctaHref: C,
|
|
2408
2474
|
onCtaClick: V,
|
|
2409
|
-
onBack:
|
|
2410
|
-
readMoreReviewsHref:
|
|
2475
|
+
onBack: w,
|
|
2476
|
+
readMoreReviewsHref: Q,
|
|
2411
2477
|
onProceed: R,
|
|
2412
2478
|
proceedHref: E,
|
|
2413
2479
|
originalPriceLabel: se,
|
|
2414
2480
|
discountedPriceLabel: ae,
|
|
2415
|
-
discountPillLabel:
|
|
2481
|
+
discountPillLabel: O,
|
|
2416
2482
|
analytics: I,
|
|
2417
2483
|
onProceedGuidance: $,
|
|
2418
2484
|
onLocaleChange: X,
|
|
2419
|
-
imageComponent:
|
|
2485
|
+
imageComponent: U,
|
|
2420
2486
|
resolvedUtmBannerImageUrl: Te,
|
|
2421
2487
|
plans: K,
|
|
2422
2488
|
threeSkuPlans: re
|
|
@@ -2426,43 +2492,43 @@ const ia = Ta(null), wt = {
|
|
|
2426
2492
|
n,
|
|
2427
2493
|
i,
|
|
2428
2494
|
c,
|
|
2429
|
-
|
|
2430
|
-
|
|
2495
|
+
_,
|
|
2496
|
+
y,
|
|
2431
2497
|
h,
|
|
2432
|
-
|
|
2433
|
-
|
|
2498
|
+
P,
|
|
2499
|
+
g,
|
|
2434
2500
|
Y,
|
|
2435
|
-
|
|
2501
|
+
B,
|
|
2436
2502
|
N,
|
|
2437
2503
|
p,
|
|
2438
|
-
|
|
2439
|
-
|
|
2504
|
+
G,
|
|
2505
|
+
A,
|
|
2440
2506
|
j,
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2507
|
+
k,
|
|
2508
|
+
b,
|
|
2509
|
+
x,
|
|
2444
2510
|
te,
|
|
2445
2511
|
C,
|
|
2446
2512
|
V,
|
|
2447
|
-
|
|
2448
|
-
|
|
2513
|
+
w,
|
|
2514
|
+
Q,
|
|
2449
2515
|
R,
|
|
2450
2516
|
E,
|
|
2451
2517
|
se,
|
|
2452
2518
|
ae,
|
|
2453
|
-
|
|
2519
|
+
O,
|
|
2454
2520
|
I,
|
|
2455
2521
|
$,
|
|
2456
2522
|
X,
|
|
2457
|
-
|
|
2523
|
+
U,
|
|
2458
2524
|
Te,
|
|
2459
2525
|
K,
|
|
2460
2526
|
re
|
|
2461
2527
|
]
|
|
2462
2528
|
), H = Re(() => {
|
|
2463
|
-
|
|
2529
|
+
Pe("form");
|
|
2464
2530
|
}, [oe.analytics]), me = Re(() => {
|
|
2465
|
-
|
|
2531
|
+
Pe("landing"), oe.onBack?.();
|
|
2466
2532
|
}, [oe.onBack]), ie = Ee(
|
|
2467
2533
|
() => ({
|
|
2468
2534
|
view: ue,
|
|
@@ -2483,7 +2549,7 @@ const ia = Ta(null), wt = {
|
|
|
2483
2549
|
function Me() {
|
|
2484
2550
|
return oa(ia);
|
|
2485
2551
|
}
|
|
2486
|
-
function
|
|
2552
|
+
function Pi() {
|
|
2487
2553
|
const t = oa(ia);
|
|
2488
2554
|
if (!t)
|
|
2489
2555
|
throw new Error(
|
|
@@ -2491,10 +2557,10 @@ function wi() {
|
|
|
2491
2557
|
);
|
|
2492
2558
|
return t;
|
|
2493
2559
|
}
|
|
2494
|
-
const
|
|
2495
|
-
header:
|
|
2496
|
-
centered:
|
|
2497
|
-
},
|
|
2560
|
+
const Ct = "_header_19172_1", Rt = "_centered_19172_8", ka = {
|
|
2561
|
+
header: Ct,
|
|
2562
|
+
centered: Rt
|
|
2563
|
+
}, jt = ({
|
|
2498
2564
|
t,
|
|
2499
2565
|
onBack: n,
|
|
2500
2566
|
className: i = "",
|
|
@@ -2506,82 +2572,82 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ya = {
|
|
|
2506
2572
|
subtitle: t("formSubtitle"),
|
|
2507
2573
|
onBack: n,
|
|
2508
2574
|
backAriaLabel: t("back"),
|
|
2509
|
-
className: `${
|
|
2575
|
+
className: `${ka.header} ${c === "center" ? ka.centered : ""} ${i}`
|
|
2510
2576
|
}
|
|
2511
|
-
),
|
|
2512
|
-
wrap:
|
|
2513
|
-
card:
|
|
2514
|
-
cardInner:
|
|
2577
|
+
), Nt = "_wrap_119w3_1", Lt = "_card_119w3_5", Dt = "_cardInner_119w3_12", Bt = "_field_119w3_44", Et = "_labelRow_119w3_48", It = "_label_119w3_48", Ft = "_req_119w3_57", Mt = "_help_119w3_61", Ut = "_choiceRow_119w3_68", Gt = "_choiceBtn_119w3_74", Ot = "_choiceBtnActive_119w3_99", $t = "_infoBtn_119w3_105", Ht = "_infoImg_119w3_122", Wt = "_infoWrap_119w3_128", Kt = "_tooltip_119w3_134", qt = "_tooltipArrow_119w3_150", Yt = "_inputWrap_119w3_161", Vt = "_isdWrap_119w3_165", Qt = "_phoneInputGroup_119w3_169", zt = "_isdSelectWrap_119w3_178", Jt = "_isdSelectTrigger_119w3_197", Xt = "_isdDropdown_119w3_214", Zt = "_isdSearchWrap_119w3_229", er = "_isdSearchInput_119w3_237", ar = "_isdOption_119w3_255", tr = "_isdOptionActive_119w3_275", rr = "_isdCountryName_119w3_281", nr = "_isdCountryCode_119w3_288", or = "_isdNoResult_119w3_295", ir = "_suggestions_119w3_302", lr = "_suggestionItem_119w3_315", sr = "_suggestionMain_119w3_333", cr = "_suggestionSecondary_119w3_339", dr = "_suggestionsHint_119w3_344", ur = "_timePopover_119w3_366", pr = "_timePickerRow_119w3_382", mr = "_timePickerSelect_119w3_388", fr = "_timePickerColon_119w3_404", hr = "_meridiemToggle_119w3_412", gr = "_meridiemBtn_119w3_421", br = "_meridiemActive_119w3_436", _r = "_timePopoverActions_119w3_441", yr = "_timePopoverBtn_119w3_447", kr = "_timePopoverOk_119w3_466", Ar = "_input_119w3_161", vr = "_phoneInput_119w3_169", Tr = "_iconBtn_119w3_519", wr = "_iconBtnInteractive_119w3_525", Sr = "_iconImg_119w3_544", Pr = "_checkboxRow_119w3_550", xr = "_checkbox_119w3_550", Cr = "_checkboxText_119w3_588", o = {
|
|
2578
|
+
wrap: Nt,
|
|
2579
|
+
card: Lt,
|
|
2580
|
+
cardInner: Dt,
|
|
2515
2581
|
field: Bt,
|
|
2516
|
-
labelRow:
|
|
2517
|
-
label:
|
|
2518
|
-
req:
|
|
2519
|
-
help:
|
|
2520
|
-
choiceRow:
|
|
2521
|
-
choiceBtn:
|
|
2522
|
-
choiceBtnActive:
|
|
2523
|
-
infoBtn:
|
|
2524
|
-
infoImg:
|
|
2525
|
-
infoWrap:
|
|
2526
|
-
tooltip:
|
|
2527
|
-
tooltipArrow:
|
|
2528
|
-
inputWrap:
|
|
2529
|
-
isdWrap:
|
|
2530
|
-
phoneInputGroup:
|
|
2582
|
+
labelRow: Et,
|
|
2583
|
+
label: It,
|
|
2584
|
+
req: Ft,
|
|
2585
|
+
help: Mt,
|
|
2586
|
+
choiceRow: Ut,
|
|
2587
|
+
choiceBtn: Gt,
|
|
2588
|
+
choiceBtnActive: Ot,
|
|
2589
|
+
infoBtn: $t,
|
|
2590
|
+
infoImg: Ht,
|
|
2591
|
+
infoWrap: Wt,
|
|
2592
|
+
tooltip: Kt,
|
|
2593
|
+
tooltipArrow: qt,
|
|
2594
|
+
inputWrap: Yt,
|
|
2595
|
+
isdWrap: Vt,
|
|
2596
|
+
phoneInputGroup: Qt,
|
|
2531
2597
|
isdSelectWrap: zt,
|
|
2532
|
-
isdSelectTrigger:
|
|
2533
|
-
isdDropdown:
|
|
2534
|
-
isdSearchWrap:
|
|
2535
|
-
isdSearchInput:
|
|
2536
|
-
isdOption:
|
|
2537
|
-
isdOptionActive:
|
|
2538
|
-
isdCountryName:
|
|
2539
|
-
isdCountryCode:
|
|
2540
|
-
isdNoResult:
|
|
2541
|
-
suggestions:
|
|
2542
|
-
suggestionItem:
|
|
2543
|
-
suggestionMain:
|
|
2544
|
-
suggestionSecondary:
|
|
2545
|
-
suggestionsHint:
|
|
2546
|
-
timePopover:
|
|
2547
|
-
timePickerRow:
|
|
2548
|
-
timePickerSelect:
|
|
2549
|
-
timePickerColon:
|
|
2550
|
-
meridiemToggle:
|
|
2551
|
-
meridiemBtn:
|
|
2552
|
-
meridiemActive:
|
|
2553
|
-
timePopoverActions:
|
|
2554
|
-
timePopoverBtn:
|
|
2598
|
+
isdSelectTrigger: Jt,
|
|
2599
|
+
isdDropdown: Xt,
|
|
2600
|
+
isdSearchWrap: Zt,
|
|
2601
|
+
isdSearchInput: er,
|
|
2602
|
+
isdOption: ar,
|
|
2603
|
+
isdOptionActive: tr,
|
|
2604
|
+
isdCountryName: rr,
|
|
2605
|
+
isdCountryCode: nr,
|
|
2606
|
+
isdNoResult: or,
|
|
2607
|
+
suggestions: ir,
|
|
2608
|
+
suggestionItem: lr,
|
|
2609
|
+
suggestionMain: sr,
|
|
2610
|
+
suggestionSecondary: cr,
|
|
2611
|
+
suggestionsHint: dr,
|
|
2612
|
+
timePopover: ur,
|
|
2613
|
+
timePickerRow: pr,
|
|
2614
|
+
timePickerSelect: mr,
|
|
2615
|
+
timePickerColon: fr,
|
|
2616
|
+
meridiemToggle: hr,
|
|
2617
|
+
meridiemBtn: gr,
|
|
2618
|
+
meridiemActive: br,
|
|
2619
|
+
timePopoverActions: _r,
|
|
2620
|
+
timePopoverBtn: yr,
|
|
2555
2621
|
timePopoverOk: kr,
|
|
2556
|
-
input:
|
|
2622
|
+
input: Ar,
|
|
2557
2623
|
phoneInput: vr,
|
|
2558
|
-
iconBtn:
|
|
2559
|
-
iconBtnInteractive:
|
|
2560
|
-
iconImg:
|
|
2561
|
-
checkboxRow:
|
|
2562
|
-
checkbox:
|
|
2563
|
-
checkboxText:
|
|
2624
|
+
iconBtn: Tr,
|
|
2625
|
+
iconBtnInteractive: wr,
|
|
2626
|
+
iconImg: Sr,
|
|
2627
|
+
checkboxRow: Pr,
|
|
2628
|
+
checkbox: xr,
|
|
2629
|
+
checkboxText: Cr
|
|
2564
2630
|
};
|
|
2565
|
-
let
|
|
2566
|
-
const
|
|
2567
|
-
const
|
|
2631
|
+
let Qe = null;
|
|
2632
|
+
const Rr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Qe || (Qe = new Promise((i, c) => {
|
|
2633
|
+
const _ = document.querySelector(
|
|
2568
2634
|
'script[data-google-maps-places="true"]'
|
|
2569
2635
|
);
|
|
2570
|
-
if (
|
|
2571
|
-
|
|
2636
|
+
if (_) {
|
|
2637
|
+
_.addEventListener("load", () => i()), _.addEventListener(
|
|
2572
2638
|
"error",
|
|
2573
2639
|
() => c(new Error("Failed to load Google Maps API"))
|
|
2574
2640
|
);
|
|
2575
2641
|
return;
|
|
2576
2642
|
}
|
|
2577
|
-
const
|
|
2578
|
-
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n),
|
|
2579
|
-
const
|
|
2643
|
+
const y = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
|
|
2644
|
+
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n), y.src = h.toString(), y.async = !0, y.defer = !0, y.setAttribute("data-google-maps-places", "true"), y.onload = () => {
|
|
2645
|
+
const P = Date.now(), g = () => {
|
|
2580
2646
|
if (window.google?.maps?.places) {
|
|
2581
2647
|
i();
|
|
2582
2648
|
return;
|
|
2583
2649
|
}
|
|
2584
|
-
if (Date.now() -
|
|
2650
|
+
if (Date.now() - P > 2e3) {
|
|
2585
2651
|
c(
|
|
2586
2652
|
new Error(
|
|
2587
2653
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
@@ -2589,50 +2655,50 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2589
2655
|
);
|
|
2590
2656
|
return;
|
|
2591
2657
|
}
|
|
2592
|
-
window.setTimeout(
|
|
2658
|
+
window.setTimeout(g, 50);
|
|
2593
2659
|
};
|
|
2594
|
-
|
|
2595
|
-
},
|
|
2596
|
-
}),
|
|
2597
|
-
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad:
|
|
2598
|
-
|
|
2599
|
-
}, [
|
|
2660
|
+
g();
|
|
2661
|
+
}, y.onerror = () => c(new Error("Failed to load Google Maps API")), document.head.appendChild(y);
|
|
2662
|
+
}), Qe), jr = (t) => {
|
|
2663
|
+
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: _ = !1 } = t, [y, h] = D(!1), [P, g] = D([]), [Y, B] = D(!1), [N, p] = D(null), [G, A] = D(!_), j = M(null), k = M(null), b = M(null), x = Re(() => {
|
|
2664
|
+
_ && A(!0);
|
|
2665
|
+
}, [_]);
|
|
2600
2666
|
q(() => {
|
|
2601
|
-
if (!n || !
|
|
2667
|
+
if (!n || !G) {
|
|
2602
2668
|
h(!1), p(null);
|
|
2603
2669
|
return;
|
|
2604
2670
|
}
|
|
2605
|
-
|
|
2671
|
+
Rr(n, i).then(() => {
|
|
2606
2672
|
j.current = new google.maps.places.AutocompleteService();
|
|
2607
|
-
const
|
|
2608
|
-
|
|
2609
|
-
}).catch((
|
|
2610
|
-
h(!1), p(
|
|
2673
|
+
const w = document.createElement("div");
|
|
2674
|
+
k.current = new google.maps.places.PlacesService(w), b.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
|
|
2675
|
+
}).catch((w) => {
|
|
2676
|
+
h(!1), p(w?.message || "Failed to load location service");
|
|
2611
2677
|
});
|
|
2612
|
-
}, [n, i,
|
|
2678
|
+
}, [n, i, G]);
|
|
2613
2679
|
const te = Re(
|
|
2614
|
-
async (
|
|
2615
|
-
if (!
|
|
2616
|
-
|
|
2680
|
+
async (w) => {
|
|
2681
|
+
if (!w || w.length < 2 || !j.current) {
|
|
2682
|
+
g([]);
|
|
2617
2683
|
return;
|
|
2618
2684
|
}
|
|
2619
|
-
|
|
2685
|
+
B(!0);
|
|
2620
2686
|
try {
|
|
2621
|
-
const
|
|
2622
|
-
input:
|
|
2687
|
+
const Q = {
|
|
2688
|
+
input: w,
|
|
2623
2689
|
types: ["(cities)"],
|
|
2624
|
-
sessionToken:
|
|
2690
|
+
sessionToken: b.current ?? void 0
|
|
2625
2691
|
};
|
|
2626
|
-
c && (
|
|
2692
|
+
c && (Q.componentRestrictions = { country: c });
|
|
2627
2693
|
const R = await new Promise((E, se) => {
|
|
2628
2694
|
j.current.getPlacePredictions(
|
|
2629
|
-
|
|
2630
|
-
(ae,
|
|
2631
|
-
|
|
2695
|
+
Q,
|
|
2696
|
+
(ae, O) => {
|
|
2697
|
+
O === google.maps.places.PlacesServiceStatus.OK && ae ? E(ae) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? E([]) : se(new Error(`Places API error: ${O}`));
|
|
2632
2698
|
}
|
|
2633
2699
|
);
|
|
2634
2700
|
});
|
|
2635
|
-
|
|
2701
|
+
g(
|
|
2636
2702
|
R.map((E) => ({
|
|
2637
2703
|
place_id: E.place_id,
|
|
2638
2704
|
description: E.description,
|
|
@@ -2643,107 +2709,107 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2643
2709
|
}))
|
|
2644
2710
|
);
|
|
2645
2711
|
} catch {
|
|
2646
|
-
|
|
2712
|
+
g([]);
|
|
2647
2713
|
} finally {
|
|
2648
|
-
|
|
2714
|
+
B(!1);
|
|
2649
2715
|
}
|
|
2650
2716
|
},
|
|
2651
2717
|
[c]
|
|
2652
2718
|
), C = Re(
|
|
2653
|
-
async (
|
|
2654
|
-
if (!
|
|
2719
|
+
async (w) => {
|
|
2720
|
+
if (!k.current) return null;
|
|
2655
2721
|
try {
|
|
2656
|
-
const
|
|
2722
|
+
const Q = await new Promise(
|
|
2657
2723
|
(I, $) => {
|
|
2658
|
-
|
|
2724
|
+
k.current.getDetails(
|
|
2659
2725
|
{
|
|
2660
|
-
placeId:
|
|
2726
|
+
placeId: w,
|
|
2661
2727
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
2662
|
-
sessionToken:
|
|
2728
|
+
sessionToken: b.current ?? void 0
|
|
2663
2729
|
},
|
|
2664
|
-
(X,
|
|
2665
|
-
|
|
2730
|
+
(X, U) => {
|
|
2731
|
+
U === google.maps.places.PlacesServiceStatus.OK && X ? I(X) : $(new Error(`Place details error: ${U}`));
|
|
2666
2732
|
}
|
|
2667
2733
|
);
|
|
2668
2734
|
}
|
|
2669
2735
|
);
|
|
2670
|
-
|
|
2671
|
-
const R =
|
|
2672
|
-
let se = "", ae = "",
|
|
2673
|
-
return
|
|
2674
|
-
I.types.includes("locality") && (se = I.long_name), I.types.includes("administrative_area_level_1") && (ae = I.long_name), I.types.includes("country") && (
|
|
2736
|
+
b.current = new google.maps.places.AutocompleteSessionToken();
|
|
2737
|
+
const R = Q.geometry?.location?.lat() || 0, E = Q.geometry?.location?.lng() || 0;
|
|
2738
|
+
let se = "", ae = "", O = "";
|
|
2739
|
+
return Q.address_components?.forEach((I) => {
|
|
2740
|
+
I.types.includes("locality") && (se = I.long_name), I.types.includes("administrative_area_level_1") && (ae = I.long_name), I.types.includes("country") && (O = I.long_name);
|
|
2675
2741
|
}), {
|
|
2676
|
-
display_name:
|
|
2742
|
+
display_name: Q.formatted_address || "",
|
|
2677
2743
|
lat: R,
|
|
2678
2744
|
lng: E,
|
|
2679
2745
|
city: se,
|
|
2680
2746
|
state: ae,
|
|
2681
|
-
country:
|
|
2747
|
+
country: O
|
|
2682
2748
|
};
|
|
2683
2749
|
} catch {
|
|
2684
2750
|
return null;
|
|
2685
2751
|
}
|
|
2686
2752
|
},
|
|
2687
2753
|
[]
|
|
2688
|
-
), V = Re(() =>
|
|
2754
|
+
), V = Re(() => g([]), []);
|
|
2689
2755
|
return {
|
|
2690
|
-
isLoaded:
|
|
2691
|
-
predictions:
|
|
2756
|
+
isLoaded: y,
|
|
2757
|
+
predictions: P,
|
|
2692
2758
|
isSearching: Y,
|
|
2693
2759
|
loadError: N,
|
|
2694
2760
|
searchPlaces: te,
|
|
2695
2761
|
getPlaceDetails: C,
|
|
2696
2762
|
clearPredictions: V,
|
|
2697
|
-
triggerLoad:
|
|
2763
|
+
triggerLoad: x
|
|
2698
2764
|
// Call this to start loading Google Maps when deferred
|
|
2699
2765
|
};
|
|
2700
|
-
},
|
|
2766
|
+
}, Aa = (t) => typeof t == "number" && Number.isFinite(t), Nr = (t) => {
|
|
2701
2767
|
const n = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, i = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
|
|
2702
2768
|
return {
|
|
2703
2769
|
limit: n,
|
|
2704
2770
|
offset: i,
|
|
2705
2771
|
restrictCountry: t?.restrictCountry
|
|
2706
2772
|
};
|
|
2707
|
-
},
|
|
2708
|
-
const { searchLocalities: n, restrictCountry: i } = t, [c,
|
|
2773
|
+
}, Lr = (t) => {
|
|
2774
|
+
const { searchLocalities: n, restrictCountry: i } = t, [c, _] = D([]), [y, h] = D(!1), [P, g] = D(null), Y = M(0);
|
|
2709
2775
|
q(() => {
|
|
2710
|
-
|
|
2776
|
+
g(null);
|
|
2711
2777
|
}, [n]);
|
|
2712
|
-
const
|
|
2778
|
+
const B = Re(
|
|
2713
2779
|
async (p) => {
|
|
2714
2780
|
if (!p || p.length < 2 || !n) {
|
|
2715
|
-
|
|
2781
|
+
_([]);
|
|
2716
2782
|
return;
|
|
2717
2783
|
}
|
|
2718
|
-
const
|
|
2719
|
-
h(!0),
|
|
2784
|
+
const G = ++Y.current;
|
|
2785
|
+
h(!0), g(null);
|
|
2720
2786
|
try {
|
|
2721
|
-
const
|
|
2722
|
-
if (
|
|
2723
|
-
const
|
|
2724
|
-
(
|
|
2725
|
-
).map((
|
|
2726
|
-
id:
|
|
2727
|
-
description:
|
|
2728
|
-
secondary_text:
|
|
2729
|
-
lat:
|
|
2730
|
-
lng:
|
|
2787
|
+
const A = Nr({ restrictCountry: i }), j = await n(p, A);
|
|
2788
|
+
if (G !== Y.current) return;
|
|
2789
|
+
const k = (j || []).filter(
|
|
2790
|
+
(b) => !!b?.id && !!b?.description && Aa(b?.lat) && Aa(b?.lng)
|
|
2791
|
+
).map((b) => ({
|
|
2792
|
+
id: b.id,
|
|
2793
|
+
description: b.description,
|
|
2794
|
+
secondary_text: b.secondaryText,
|
|
2795
|
+
lat: b.lat,
|
|
2796
|
+
lng: b.lng
|
|
2731
2797
|
}));
|
|
2732
|
-
|
|
2733
|
-
} catch (
|
|
2734
|
-
if (
|
|
2735
|
-
|
|
2798
|
+
_(k);
|
|
2799
|
+
} catch (A) {
|
|
2800
|
+
if (G !== Y.current) return;
|
|
2801
|
+
_([]), g(A?.message || "Failed to fetch locations");
|
|
2736
2802
|
} finally {
|
|
2737
|
-
|
|
2803
|
+
G === Y.current && h(!1);
|
|
2738
2804
|
}
|
|
2739
2805
|
},
|
|
2740
2806
|
[i, n]
|
|
2741
|
-
), N = Re(() =>
|
|
2807
|
+
), N = Re(() => _([]), []);
|
|
2742
2808
|
return {
|
|
2743
2809
|
predictions: c,
|
|
2744
|
-
isSearching:
|
|
2745
|
-
loadError:
|
|
2746
|
-
searchPlaces:
|
|
2810
|
+
isSearching: y,
|
|
2811
|
+
loadError: P,
|
|
2812
|
+
searchPlaces: B,
|
|
2747
2813
|
clearPredictions: N
|
|
2748
2814
|
};
|
|
2749
2815
|
}, Oe = {
|
|
@@ -2821,26 +2887,26 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2821
2887
|
{ code: "+975", country: "Bhutan" },
|
|
2822
2888
|
{ code: "+976", country: "Mongolia" },
|
|
2823
2889
|
{ code: "+977", country: "Nepal" }
|
|
2824
|
-
], ra = Ca.map((t) => t.code), Ra = 10, la = (t) => t.replace(/\D/g, ""),
|
|
2890
|
+
], ra = Ca.map((t) => t.code), Ra = 10, la = (t) => t.replace(/\D/g, ""), va = (t) => la(t).slice(0, Ra), Dr = (t) => la(t).length === Ra, Br = (t, n, i) => Dr(t) ? i.phone ? { shouldTrack: !1 } : (i.phone = !0, { shouldTrack: !0, fullPhone: `${n}-${la(t)}` }) : (i.phone = !1, { shouldTrack: !1 }), Er = {}, Ir = ({
|
|
2825
2891
|
t,
|
|
2826
2892
|
values: n,
|
|
2827
2893
|
onChange: i,
|
|
2828
2894
|
phoneIsdCode: c,
|
|
2829
|
-
onPhoneIsdCodeChange:
|
|
2830
|
-
showV1ExtraFields:
|
|
2895
|
+
onPhoneIsdCodeChange: _,
|
|
2896
|
+
showV1ExtraFields: y = !1,
|
|
2831
2897
|
analytics: h,
|
|
2832
|
-
googleMapsApiKey:
|
|
2833
|
-
atlasSearchLocalities:
|
|
2898
|
+
googleMapsApiKey: P,
|
|
2899
|
+
atlasSearchLocalities: g,
|
|
2834
2900
|
googleMapsAutocompleteEnabled: Y,
|
|
2835
|
-
className:
|
|
2901
|
+
className: B = ""
|
|
2836
2902
|
}) => {
|
|
2837
|
-
const N = Me(), p = N?.config?.analytics ?? h,
|
|
2903
|
+
const N = Me(), p = N?.config?.analytics ?? h, G = N?.config.isGlobal ?? !0, A = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities, k = N?.config?.googleMapsAutocompleteEnabled, [b, x] = D(!1), [te, C] = D(""), V = M(null), w = M(null), Q = M({}), R = (r) => i({ ...n, ...r }), E = (r, d) => {
|
|
2838
2904
|
if (r === "phone") {
|
|
2839
|
-
const
|
|
2840
|
-
|
|
2905
|
+
const z = Br(d, c, Q.current);
|
|
2906
|
+
z.shouldTrack && p?.trackPhoneSectionFilled?.({ phone: z.fullPhone });
|
|
2841
2907
|
return;
|
|
2842
2908
|
}
|
|
2843
|
-
d.trim() && !
|
|
2909
|
+
d.trim() && !Q.current[r] && (Q.current[r] = !0, {
|
|
2844
2910
|
fullName: () => p?.trackNameSectionFilled?.(),
|
|
2845
2911
|
dateOfBirth: () => p?.trackDobFilled?.(),
|
|
2846
2912
|
birthTime: () => p?.trackTimeFilled?.(),
|
|
@@ -2849,44 +2915,44 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2849
2915
|
}, se = (r) => {
|
|
2850
2916
|
const d = r.target.value;
|
|
2851
2917
|
d.trim() && p?.trackEmailSectionFilled?.({ email: d });
|
|
2852
|
-
}, ae = te.trim().toLowerCase(),
|
|
2918
|
+
}, ae = te.trim().toLowerCase(), O = Ca.filter((r) => ae ? r.country.toLowerCase().includes(ae) || r.code.includes(ae) : !0), I = M(null);
|
|
2853
2919
|
M(null);
|
|
2854
|
-
const $ = M(null), X = M(0),
|
|
2920
|
+
const $ = M(null), X = M(0), U = M(null), [Te, K] = D(!1), [re, he] = D({ hour12: 12, minute: "00", meridiem: "AM" }), ue = (r) => String(r).padStart(2, "0"), Pe = (r) => {
|
|
2855
2921
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2856
2922
|
if (!d) return r;
|
|
2857
|
-
const
|
|
2858
|
-
return `${
|
|
2923
|
+
const z = Number(d[1]), xe = d[2], $e = z >= 12 ? "PM" : "AM";
|
|
2924
|
+
return `${z % 12 === 0 ? 12 : z % 12}:${xe} ${$e}`;
|
|
2859
2925
|
}, ne = (r) => {
|
|
2860
2926
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2861
2927
|
if (!d) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
2862
|
-
const
|
|
2863
|
-
return { hour12:
|
|
2928
|
+
const z = Number(d[1]), xe = d[2], $e = z >= 12 ? "PM" : "AM";
|
|
2929
|
+
return { hour12: z % 12 === 0 ? 12 : z % 12, minute: xe, meridiem: $e };
|
|
2864
2930
|
}, je = (r) => {
|
|
2865
|
-
const d = Math.min(12, Math.max(1, r.hour12)),
|
|
2866
|
-
let
|
|
2867
|
-
return r.meridiem === "PM" && (
|
|
2868
|
-
}, _e = M(null), [pe, ge] =
|
|
2931
|
+
const d = Math.min(12, Math.max(1, r.hour12)), z = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
|
|
2932
|
+
let xe = d % 12;
|
|
2933
|
+
return r.meridiem === "PM" && (xe += 12), `${ue(xe)}:${z}`;
|
|
2934
|
+
}, _e = M(null), [pe, ge] = D(!1), oe = M(n.birthPlace ?? ""), [H, me] = D(
|
|
2869
2935
|
null
|
|
2870
|
-
), ie =
|
|
2936
|
+
), ie = P ?? A ?? Er?.VITE_GOOGLE_MAPS_API_KEY, fe = g ?? j, ee = Y ?? k ?? !0, ce = (n.birthPlace ?? "").trim(), Ne = G ? void 0 : "in", ye = jr({
|
|
2871
2937
|
apiKey: ee ? ie : void 0,
|
|
2872
2938
|
language: "en",
|
|
2873
2939
|
restrictCountry: Ne
|
|
2874
|
-
}),
|
|
2940
|
+
}), ke = Lr({
|
|
2875
2941
|
searchLocalities: ee ? void 0 : fe,
|
|
2876
2942
|
restrictCountry: Ne
|
|
2877
|
-
}),
|
|
2943
|
+
}), Se = ee ? ye.predictions.map((r) => ({
|
|
2878
2944
|
id: r.place_id,
|
|
2879
2945
|
description: r.description,
|
|
2880
2946
|
secondaryText: r.structured_formatting?.secondary_text,
|
|
2881
2947
|
lat: void 0,
|
|
2882
2948
|
lng: void 0
|
|
2883
|
-
})) :
|
|
2949
|
+
})) : ke.predictions.map((r) => ({
|
|
2884
2950
|
id: r.id,
|
|
2885
2951
|
description: r.description,
|
|
2886
2952
|
secondaryText: r.secondary_text,
|
|
2887
2953
|
lat: r.lat,
|
|
2888
2954
|
lng: r.lng
|
|
2889
|
-
})),
|
|
2955
|
+
})), De = ee ? ye.isSearching : ke.isSearching, Be = ee ? ye.loadError : ke.loadError, S = ee ? !!ie : !!fe, l = ee ? ye.searchPlaces : ke.searchPlaces, f = ee ? ye.clearPredictions : ke.clearPredictions, Z = M(() => {
|
|
2890
2956
|
});
|
|
2891
2957
|
Z.current = () => {
|
|
2892
2958
|
(n.birthPlace ?? "") !== oe.current && R({
|
|
@@ -2901,16 +2967,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2901
2967
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2902
2968
|
}, []), q(() => {
|
|
2903
2969
|
const r = (d) => {
|
|
2904
|
-
V.current && (V.current.contains(d.target) || (
|
|
2970
|
+
V.current && (V.current.contains(d.target) || (x(!1), C("")));
|
|
2905
2971
|
};
|
|
2906
2972
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2907
2973
|
}, []), q(() => {
|
|
2908
|
-
if (!
|
|
2974
|
+
if (!b) return;
|
|
2909
2975
|
const r = window.setTimeout(() => {
|
|
2910
|
-
|
|
2976
|
+
w.current?.focus();
|
|
2911
2977
|
}, 0);
|
|
2912
2978
|
return () => window.clearTimeout(r);
|
|
2913
|
-
}, [
|
|
2979
|
+
}, [b]), q(() => {
|
|
2914
2980
|
if (!pe) return;
|
|
2915
2981
|
if (ce.length < 2) {
|
|
2916
2982
|
f();
|
|
@@ -2937,14 +3003,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2937
3003
|
};
|
|
2938
3004
|
return q(() => {
|
|
2939
3005
|
const r = (d) => {
|
|
2940
|
-
|
|
3006
|
+
U.current && (U.current.contains(d.target) || K(!1));
|
|
2941
3007
|
};
|
|
2942
3008
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2943
3009
|
}, []), q(() => {
|
|
2944
|
-
const r = (
|
|
2945
|
-
|
|
2946
|
-
}, d = (
|
|
2947
|
-
|
|
3010
|
+
const r = (z) => {
|
|
3011
|
+
z.target?.closest?.("[data-info-tooltip]") == null && me(null);
|
|
3012
|
+
}, d = (z) => {
|
|
3013
|
+
z.key === "Escape" && me(null);
|
|
2948
3014
|
};
|
|
2949
3015
|
return document.addEventListener("mousedown", r), document.addEventListener("keydown", d), () => {
|
|
2950
3016
|
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", d);
|
|
@@ -2952,7 +3018,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2952
3018
|
}, []), /* @__PURE__ */ e.jsx(
|
|
2953
3019
|
"section",
|
|
2954
3020
|
{
|
|
2955
|
-
className: `${o.wrap} ${
|
|
3021
|
+
className: `${o.wrap} ${B}`,
|
|
2956
3022
|
"aria-label": t("formTitle"),
|
|
2957
3023
|
children: /* @__PURE__ */ e.jsx("div", { className: o.card, children: /* @__PURE__ */ e.jsxs("div", { className: o.cardInner, children: [
|
|
2958
3024
|
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
@@ -2980,7 +3046,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2980
3046
|
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
2981
3047
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-phone", children: [
|
|
2982
3048
|
t("formPhone"),
|
|
2983
|
-
!
|
|
3049
|
+
!G && /* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
2984
3050
|
] }) }),
|
|
2985
3051
|
/* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: o.isdWrap, ref: V, children: [
|
|
2986
3052
|
/* @__PURE__ */ e.jsxs("div", { className: o.phoneInputGroup, children: [
|
|
@@ -2990,9 +3056,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2990
3056
|
type: "button",
|
|
2991
3057
|
className: o.isdSelectTrigger,
|
|
2992
3058
|
"aria-haspopup": "listbox",
|
|
2993
|
-
"aria-expanded":
|
|
3059
|
+
"aria-expanded": b,
|
|
2994
3060
|
onClick: () => {
|
|
2995
|
-
|
|
3061
|
+
x((r) => !r), C("");
|
|
2996
3062
|
},
|
|
2997
3063
|
children: c
|
|
2998
3064
|
}
|
|
@@ -3007,19 +3073,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3007
3073
|
onFocus: () => p?.trackPhoneSectionClicked?.(),
|
|
3008
3074
|
onChange: (r) => {
|
|
3009
3075
|
const d = r.target.value;
|
|
3010
|
-
R({ phone:
|
|
3076
|
+
R({ phone: va(d) }), E("phone", va(d));
|
|
3011
3077
|
},
|
|
3012
3078
|
placeholder: t("formPhonePlaceholder"),
|
|
3013
3079
|
autoComplete: "tel",
|
|
3014
3080
|
inputMode: "numeric",
|
|
3015
3081
|
pattern: "[0-9]{10}",
|
|
3016
3082
|
maxLength: 10,
|
|
3017
|
-
required: !
|
|
3018
|
-
"aria-required": !
|
|
3083
|
+
required: !G,
|
|
3084
|
+
"aria-required": !G
|
|
3019
3085
|
}
|
|
3020
3086
|
)
|
|
3021
3087
|
] }),
|
|
3022
|
-
|
|
3088
|
+
b && /* @__PURE__ */ e.jsxs(
|
|
3023
3089
|
"div",
|
|
3024
3090
|
{
|
|
3025
3091
|
className: o.isdDropdown,
|
|
@@ -3029,7 +3095,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3029
3095
|
/* @__PURE__ */ e.jsx("div", { className: o.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
3030
3096
|
"input",
|
|
3031
3097
|
{
|
|
3032
|
-
ref:
|
|
3098
|
+
ref: w,
|
|
3033
3099
|
type: "text",
|
|
3034
3100
|
value: te,
|
|
3035
3101
|
onChange: (r) => C(r.target.value),
|
|
@@ -3038,7 +3104,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3038
3104
|
"aria-label": "Search country"
|
|
3039
3105
|
}
|
|
3040
3106
|
) }),
|
|
3041
|
-
|
|
3107
|
+
O.length > 0 ? O.map((r) => /* @__PURE__ */ e.jsxs(
|
|
3042
3108
|
"button",
|
|
3043
3109
|
{
|
|
3044
3110
|
type: "button",
|
|
@@ -3046,7 +3112,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3046
3112
|
"aria-selected": r.code === c,
|
|
3047
3113
|
className: `${o.isdOption} ${r.code === c ? o.isdOptionActive : ""}`,
|
|
3048
3114
|
onClick: () => {
|
|
3049
|
-
|
|
3115
|
+
_(r.code), x(!1), C("");
|
|
3050
3116
|
},
|
|
3051
3117
|
children: [
|
|
3052
3118
|
/* @__PURE__ */ e.jsx("span", { className: o.isdCountryName, children: r.country }),
|
|
@@ -3060,7 +3126,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3060
3126
|
)
|
|
3061
3127
|
] }) })
|
|
3062
3128
|
] }),
|
|
3063
|
-
|
|
3129
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3064
3130
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
3065
3131
|
t("formGender"),
|
|
3066
3132
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3108,7 +3174,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3108
3174
|
}
|
|
3109
3175
|
)
|
|
3110
3176
|
] }),
|
|
3111
|
-
|
|
3177
|
+
G && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3112
3178
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-email", children: [
|
|
3113
3179
|
t("formEmail"),
|
|
3114
3180
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3181,8 +3247,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3181
3247
|
return `${r.getFullYear()}-${ue(r.getMonth() + 1)}-${ue(r.getDate())}`;
|
|
3182
3248
|
})(),
|
|
3183
3249
|
onChange: (r) => {
|
|
3184
|
-
const d = r.target.value,
|
|
3185
|
-
d && d >
|
|
3250
|
+
const d = r.target.value, z = /* @__PURE__ */ new Date(), xe = `${z.getFullYear()}-${ue(z.getMonth() + 1)}-${ue(z.getDate())}`;
|
|
3251
|
+
d && d > xe || (R({ dateOfBirth: d }), E("dateOfBirth", d), $.current = null);
|
|
3186
3252
|
},
|
|
3187
3253
|
onFocus: () => p?.trackDobClicked?.(),
|
|
3188
3254
|
onClick: () => be(I),
|
|
@@ -3248,14 +3314,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3248
3314
|
] })
|
|
3249
3315
|
] })
|
|
3250
3316
|
] }),
|
|
3251
|
-
/* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref:
|
|
3317
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: U, children: [
|
|
3252
3318
|
/* @__PURE__ */ e.jsx(
|
|
3253
3319
|
"input",
|
|
3254
3320
|
{
|
|
3255
3321
|
id: "kundli-birth-time",
|
|
3256
3322
|
className: o.input,
|
|
3257
3323
|
type: "text",
|
|
3258
|
-
value: n.birthTime ?
|
|
3324
|
+
value: n.birthTime ? Pe(n.birthTime) : "",
|
|
3259
3325
|
readOnly: !0,
|
|
3260
3326
|
onFocus: () => p?.trackTimeClicked?.(),
|
|
3261
3327
|
onChange: (r) => {
|
|
@@ -3492,7 +3558,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3492
3558
|
"aria-hidden": !0
|
|
3493
3559
|
}
|
|
3494
3560
|
) }),
|
|
3495
|
-
pe &&
|
|
3561
|
+
pe && Se.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o.suggestions, role: "listbox", children: Se.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
|
|
3496
3562
|
"button",
|
|
3497
3563
|
{
|
|
3498
3564
|
type: "button",
|
|
@@ -3504,14 +3570,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3504
3570
|
birthPlaceLat: r.lat,
|
|
3505
3571
|
birthPlaceLng: r.lng
|
|
3506
3572
|
}), f(), ge(!1), ee) {
|
|
3507
|
-
const
|
|
3573
|
+
const z = await ye.getPlaceDetails(
|
|
3508
3574
|
r.id
|
|
3509
3575
|
);
|
|
3510
|
-
|
|
3576
|
+
z && (oe.current = d, i({
|
|
3511
3577
|
...n,
|
|
3512
3578
|
birthPlace: d,
|
|
3513
|
-
birthPlaceLat:
|
|
3514
|
-
birthPlaceLng:
|
|
3579
|
+
birthPlaceLat: z.lat,
|
|
3580
|
+
birthPlaceLng: z.lng
|
|
3515
3581
|
}));
|
|
3516
3582
|
}
|
|
3517
3583
|
},
|
|
@@ -3522,11 +3588,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3522
3588
|
},
|
|
3523
3589
|
r.id
|
|
3524
3590
|
)) }),
|
|
3525
|
-
pe &&
|
|
3526
|
-
pe &&
|
|
3591
|
+
pe && S && De && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: "Loading…" }),
|
|
3592
|
+
pe && S && !De && !!Be && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: Be })
|
|
3527
3593
|
] })
|
|
3528
3594
|
] }),
|
|
3529
|
-
|
|
3595
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3530
3596
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
3531
3597
|
t("formReportLanguage"),
|
|
3532
3598
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3657,19 +3723,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3657
3723
|
] }) })
|
|
3658
3724
|
}
|
|
3659
3725
|
);
|
|
3660
|
-
},
|
|
3661
|
-
ctaButton:
|
|
3662
|
-
ctaFilled:
|
|
3663
|
-
ctaFilledContent:
|
|
3664
|
-
chevronRight:
|
|
3665
|
-
}, ja = "kundli-report-astrologer",
|
|
3726
|
+
}, Fr = "_ctaButton_rhimw_2", Mr = "_ctaFilled_rhimw_21", Ur = "_ctaFilledContent_rhimw_52", Gr = "_chevronRight_rhimw_61", Ke = {
|
|
3727
|
+
ctaButton: Fr,
|
|
3728
|
+
ctaFilled: Mr,
|
|
3729
|
+
ctaFilledContent: Ur,
|
|
3730
|
+
chevronRight: Gr
|
|
3731
|
+
}, ja = "kundli-report-astrologer", Or = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", $r = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Hr = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Wr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Kr = ({ t }) => {
|
|
3666
3732
|
const i = Me()?.config.imageComponent ?? Ye;
|
|
3667
3733
|
return /* @__PURE__ */ e.jsxs("div", { className: Fe.marqueeContent, children: [
|
|
3668
3734
|
/* @__PURE__ */ e.jsxs("span", { className: Fe.badge, children: [
|
|
3669
3735
|
/* @__PURE__ */ e.jsx(
|
|
3670
3736
|
i,
|
|
3671
3737
|
{
|
|
3672
|
-
src:
|
|
3738
|
+
src: Or,
|
|
3673
3739
|
alt: "",
|
|
3674
3740
|
className: Fe.badgeIcon,
|
|
3675
3741
|
width: 16,
|
|
@@ -3683,7 +3749,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3683
3749
|
/* @__PURE__ */ e.jsx(
|
|
3684
3750
|
i,
|
|
3685
3751
|
{
|
|
3686
|
-
src:
|
|
3752
|
+
src: $r,
|
|
3687
3753
|
alt: "",
|
|
3688
3754
|
className: Fe.badgeIcon,
|
|
3689
3755
|
width: 16,
|
|
@@ -3697,7 +3763,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3697
3763
|
/* @__PURE__ */ e.jsx(
|
|
3698
3764
|
i,
|
|
3699
3765
|
{
|
|
3700
|
-
src:
|
|
3766
|
+
src: Hr,
|
|
3701
3767
|
alt: "",
|
|
3702
3768
|
className: Fe.badgeIcon,
|
|
3703
3769
|
width: 16,
|
|
@@ -3708,10 +3774,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3708
3774
|
t("ctaSecurePayment")
|
|
3709
3775
|
] })
|
|
3710
3776
|
] });
|
|
3711
|
-
},
|
|
3777
|
+
}, Na = (t) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t), qr = (t) => /^\d{10}$/.test(t), Yr = (t, n, i) => {
|
|
3712
3778
|
if (!t.fullName.trim()) return "fullName";
|
|
3713
3779
|
if (n) {
|
|
3714
|
-
if (!
|
|
3780
|
+
if (!Na(t.email.trim())) return "email";
|
|
3715
3781
|
} else if (!qr((t.phone ?? "").trim())) return "phone";
|
|
3716
3782
|
if (!t.dateOfBirth) return "dateOfBirth";
|
|
3717
3783
|
if (!t.birthPlace.trim()) return "birthPlace";
|
|
@@ -3725,50 +3791,50 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3725
3791
|
values: n,
|
|
3726
3792
|
phoneIsdCode: i,
|
|
3727
3793
|
requireV1ExtraFields: c = !1,
|
|
3728
|
-
onValidationFailed:
|
|
3729
|
-
onProceed:
|
|
3794
|
+
onValidationFailed: _,
|
|
3795
|
+
onProceed: y,
|
|
3730
3796
|
onProceedGuidance: h,
|
|
3731
|
-
href:
|
|
3732
|
-
analytics:
|
|
3797
|
+
href: P,
|
|
3798
|
+
analytics: g,
|
|
3733
3799
|
className: Y = "",
|
|
3734
|
-
discountedPriceLabel:
|
|
3800
|
+
discountedPriceLabel: B,
|
|
3735
3801
|
discountPillLabel: N,
|
|
3736
3802
|
showPlanSheet: p,
|
|
3737
|
-
confirmPlan:
|
|
3738
|
-
planSheetOpen:
|
|
3803
|
+
confirmPlan: G,
|
|
3804
|
+
planSheetOpen: A,
|
|
3739
3805
|
selectedPlan: j
|
|
3740
3806
|
}) => {
|
|
3741
|
-
const
|
|
3742
|
-
() => Yr(n,
|
|
3743
|
-
[n,
|
|
3744
|
-
), C = te === null, V =
|
|
3745
|
-
if (se.preventDefault(),
|
|
3746
|
-
te &&
|
|
3807
|
+
const k = Me(), b = k?.config.isGlobal ?? !0, x = k?.config?.variant, te = Ee(
|
|
3808
|
+
() => Yr(n, b, c),
|
|
3809
|
+
[n, b, c]
|
|
3810
|
+
), C = te === null, V = x === "v1" && k?.config?.showSheet, w = b ? B ?? t("formDiscountedPrice") : V ? "" : "₹499", Q = k?.config.imageComponent ?? Ye, R = (se) => {
|
|
3811
|
+
if (se.preventDefault(), x === "v1" && !C && g?.trackKundliDetailedClicked?.(), !C) {
|
|
3812
|
+
te && _?.(te);
|
|
3747
3813
|
return;
|
|
3748
3814
|
}
|
|
3749
|
-
const ae = !!h &&
|
|
3815
|
+
const ae = !!h && x === "v1" && j?.id === ja, O = (n.phone ?? "").trim(), I = {
|
|
3750
3816
|
...n,
|
|
3751
|
-
phone:
|
|
3817
|
+
phone: O && `${i}-${O}`
|
|
3752
3818
|
};
|
|
3753
3819
|
if (V) {
|
|
3754
|
-
|
|
3820
|
+
A ? G?.() : p?.(I);
|
|
3755
3821
|
return;
|
|
3756
3822
|
}
|
|
3757
|
-
|
|
3823
|
+
g?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) : y?.(I);
|
|
3758
3824
|
}, E = /* @__PURE__ */ e.jsx(
|
|
3759
|
-
|
|
3825
|
+
Ja,
|
|
3760
3826
|
{
|
|
3761
|
-
href:
|
|
3762
|
-
disabled:
|
|
3827
|
+
href: P,
|
|
3828
|
+
disabled: x === "v1" ? !1 : !C,
|
|
3763
3829
|
onClick: R,
|
|
3764
3830
|
"aria-label": t("formPriceAria"),
|
|
3765
|
-
className:
|
|
3766
|
-
children:
|
|
3767
|
-
V ? t("selectPackage") :
|
|
3831
|
+
className: x === "v1" && C ? Ke.ctaFilled : x === "v1" ? Ke.ctaButton : void 0,
|
|
3832
|
+
children: x === "v1" ? C ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
3833
|
+
V ? t("selectPackage") : A && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${w}`,
|
|
3768
3834
|
/* @__PURE__ */ e.jsx(
|
|
3769
|
-
|
|
3835
|
+
Q,
|
|
3770
3836
|
{
|
|
3771
|
-
src:
|
|
3837
|
+
src: Wr,
|
|
3772
3838
|
alt: "",
|
|
3773
3839
|
className: Ke.chevronRight,
|
|
3774
3840
|
width: 20,
|
|
@@ -3779,37 +3845,37 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3779
3845
|
] }) : t("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3780
3846
|
t("formProceed"),
|
|
3781
3847
|
" ",
|
|
3782
|
-
|
|
3848
|
+
w
|
|
3783
3849
|
] })
|
|
3784
3850
|
}
|
|
3785
3851
|
);
|
|
3786
3852
|
return /* @__PURE__ */ e.jsx(
|
|
3787
|
-
|
|
3853
|
+
Xa,
|
|
3788
3854
|
{
|
|
3789
3855
|
className: `${Ke.footerContainer} ${Y}`,
|
|
3790
|
-
marquee: /* @__PURE__ */ e.jsx(
|
|
3856
|
+
marquee: /* @__PURE__ */ e.jsx(Za, { children: /* @__PURE__ */ e.jsx(Kr, { t }) }),
|
|
3791
3857
|
children: E
|
|
3792
3858
|
}
|
|
3793
3859
|
);
|
|
3794
|
-
},
|
|
3860
|
+
}, Qr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", zr = ({
|
|
3795
3861
|
t,
|
|
3796
3862
|
languageSelector: n,
|
|
3797
|
-
logoUrl: i =
|
|
3863
|
+
logoUrl: i = Qr,
|
|
3798
3864
|
className: c = ""
|
|
3799
3865
|
}) => {
|
|
3800
|
-
const
|
|
3866
|
+
const _ = Me(), y = n != null;
|
|
3801
3867
|
return /* @__PURE__ */ e.jsx(
|
|
3802
|
-
|
|
3868
|
+
et,
|
|
3803
3869
|
{
|
|
3804
3870
|
t,
|
|
3805
3871
|
logoUrl: i,
|
|
3806
|
-
imageComponent:
|
|
3872
|
+
imageComponent: _?.config.imageComponent,
|
|
3807
3873
|
languageSelector: n,
|
|
3808
|
-
showLanguageSelector:
|
|
3874
|
+
showLanguageSelector: y,
|
|
3809
3875
|
className: c
|
|
3810
3876
|
}
|
|
3811
3877
|
);
|
|
3812
|
-
},
|
|
3878
|
+
}, La = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3813
3879
|
"path",
|
|
3814
3880
|
{
|
|
3815
3881
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -3861,7 +3927,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3861
3927
|
/* @__PURE__ */ e.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
3862
3928
|
/* @__PURE__ */ e.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
3863
3929
|
/* @__PURE__ */ e.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
3864
|
-
] }), nn = "_overlay_pvy8j_3", on = "_sheet_pvy8j_13", ln = "_sheetFullScreen_pvy8j_53", sn = "_headerFull_pvy8j_76", cn = "_titleFull_pvy8j_89", dn = "_header_pvy8j_76", un = "_backBtn_pvy8j_110", pn = "_title_pvy8j_89", mn = "_plansContainer_pvy8j_140", fn = "_planCard_pvy8j_149", hn = "_withBadgeSpacing_pvy8j_163", gn = "_planCardSelected_pvy8j_167", bn = "_planCardPopular_pvy8j_172", _n = "_popularBadge_pvy8j_181",
|
|
3930
|
+
] }), nn = "_overlay_pvy8j_3", on = "_sheet_pvy8j_13", ln = "_sheetFullScreen_pvy8j_53", sn = "_headerFull_pvy8j_76", cn = "_titleFull_pvy8j_89", dn = "_header_pvy8j_76", un = "_backBtn_pvy8j_110", pn = "_title_pvy8j_89", mn = "_plansContainer_pvy8j_140", fn = "_planCard_pvy8j_149", hn = "_withBadgeSpacing_pvy8j_163", gn = "_planCardSelected_pvy8j_167", bn = "_planCardPopular_pvy8j_172", _n = "_popularBadge_pvy8j_181", yn = "_planCardInner_pvy8j_199", kn = "_planTitleRow_pvy8j_210", An = "_planTitle_pvy8j_210", vn = "_radioCircle_pvy8j_225", Tn = "_radioChecked_pvy8j_238", wn = "_radioInner_pvy8j_243", Sn = "_priceRow_pvy8j_251", Pn = "_price_pvy8j_251", xn = "_originalPrice_pvy8j_264", Cn = "_savingsBadge_pvy8j_271", Rn = "_featureList_pvy8j_281", jn = "_featureItem_pvy8j_290", Nn = "_featureIcon_pvy8j_296", Ln = "_featureText_pvy8j_302", Dn = "_astrologerHeading_pvy8j_313", Bn = "_astrologerList_pvy8j_320", En = "_astrologerCard_pvy8j_336", In = "_astrologerAvatar_pvy8j_352", Fn = "_astrologerAvatarPlaceholder_pvy8j_369", Mn = "_astrologerTop_pvy8j_375", Un = "_astrologerBasicInfo_pvy8j_381", Gn = "_astrologerName_pvy8j_388", On = "_astrologerExp_pvy8j_397", $n = "_astrologerDivider_pvy8j_403", Hn = "_planDivider_pvy8j_409", Wn = "_astrologerCertList_pvy8j_416", Kn = "_astrologerCertItem_pvy8j_422", qn = "_bullet_pvy8j_430", Yn = "_footer_pvy8j_435", Vn = "_proceedBtn_pvy8j_445", T = {
|
|
3865
3931
|
overlay: nn,
|
|
3866
3932
|
sheet: on,
|
|
3867
3933
|
sheetFullScreen: ln,
|
|
@@ -3876,22 +3942,22 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3876
3942
|
planCardSelected: gn,
|
|
3877
3943
|
planCardPopular: bn,
|
|
3878
3944
|
popularBadge: _n,
|
|
3879
|
-
planCardInner:
|
|
3880
|
-
planTitleRow:
|
|
3881
|
-
planTitle:
|
|
3882
|
-
radioCircle:
|
|
3945
|
+
planCardInner: yn,
|
|
3946
|
+
planTitleRow: kn,
|
|
3947
|
+
planTitle: An,
|
|
3948
|
+
radioCircle: vn,
|
|
3883
3949
|
radioChecked: Tn,
|
|
3884
|
-
radioInner:
|
|
3885
|
-
priceRow:
|
|
3886
|
-
price:
|
|
3887
|
-
originalPrice:
|
|
3950
|
+
radioInner: wn,
|
|
3951
|
+
priceRow: Sn,
|
|
3952
|
+
price: Pn,
|
|
3953
|
+
originalPrice: xn,
|
|
3888
3954
|
savingsBadge: Cn,
|
|
3889
3955
|
featureList: Rn,
|
|
3890
3956
|
featureItem: jn,
|
|
3891
3957
|
featureIcon: Nn,
|
|
3892
3958
|
featureText: Ln,
|
|
3893
|
-
astrologerHeading:
|
|
3894
|
-
astrologerList:
|
|
3959
|
+
astrologerHeading: Dn,
|
|
3960
|
+
astrologerList: Bn,
|
|
3895
3961
|
astrologerCard: En,
|
|
3896
3962
|
astrologerAvatar: In,
|
|
3897
3963
|
astrologerAvatarPlaceholder: Fn,
|
|
@@ -3906,7 +3972,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3906
3972
|
bullet: qn,
|
|
3907
3973
|
footer: Yn,
|
|
3908
3974
|
proceedBtn: Vn
|
|
3909
|
-
},
|
|
3975
|
+
}, Qn = ({ title: t, onBack: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.header, children: [
|
|
3910
3976
|
/* @__PURE__ */ e.jsx(
|
|
3911
3977
|
"button",
|
|
3912
3978
|
{
|
|
@@ -3918,8 +3984,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3918
3984
|
}
|
|
3919
3985
|
),
|
|
3920
3986
|
/* @__PURE__ */ e.jsx("h2", { className: T.title, children: t })
|
|
3921
|
-
] }),
|
|
3922
|
-
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(
|
|
3987
|
+
] }), zn = ({ features: t, t: n }) => /* @__PURE__ */ e.jsx("ul", { className: T.featureList, "aria-label": "Plan features", children: t.map((i, c) => /* @__PURE__ */ e.jsxs("li", { className: T.featureItem, children: [
|
|
3988
|
+
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(La, {}) : /* @__PURE__ */ e.jsx(Jr, {}) }),
|
|
3923
3989
|
/* @__PURE__ */ e.jsx(
|
|
3924
3990
|
"span",
|
|
3925
3991
|
{
|
|
@@ -3945,7 +4011,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3945
4011
|
/* @__PURE__ */ e.jsx(Zr, {}),
|
|
3946
4012
|
/* @__PURE__ */ e.jsx("span", { children: t })
|
|
3947
4013
|
] }), Zn = ({ plan: t, isSelected: n, onSelect: i, t: c }) => {
|
|
3948
|
-
const
|
|
4014
|
+
const _ = () => i(t.id), y = (h) => {
|
|
3949
4015
|
(h.key === " " || h.key === "Enter") && (h.preventDefault(), i(t.id));
|
|
3950
4016
|
};
|
|
3951
4017
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -3956,11 +4022,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3956
4022
|
n ? T.planCardSelected : "",
|
|
3957
4023
|
n && T.planCardPopular
|
|
3958
4024
|
].filter(Boolean).join(" "),
|
|
3959
|
-
onClick:
|
|
4025
|
+
onClick: _,
|
|
3960
4026
|
role: "radio",
|
|
3961
4027
|
"aria-checked": n,
|
|
3962
4028
|
tabIndex: 0,
|
|
3963
|
-
onKeyDown:
|
|
4029
|
+
onKeyDown: y,
|
|
3964
4030
|
"data-plan-id": t.id,
|
|
3965
4031
|
children: [
|
|
3966
4032
|
t.badge && /* @__PURE__ */ e.jsx(Xn, { label: c?.(t.badge) ?? t.badge }),
|
|
@@ -3981,11 +4047,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3981
4047
|
t.originalPrice && /* @__PURE__ */ e.jsx("span", { className: T.originalPrice, children: t.originalPrice }),
|
|
3982
4048
|
t.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: T.savingsBadge, children: c?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
3983
4049
|
] }),
|
|
3984
|
-
/* @__PURE__ */ e.jsx(
|
|
4050
|
+
/* @__PURE__ */ e.jsx(zn, { features: t.features, t: c }),
|
|
3985
4051
|
t.astrologers && /* @__PURE__ */ e.jsx("div", { className: T.planDivider }),
|
|
3986
4052
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3987
4053
|
/* @__PURE__ */ e.jsx("p", { className: T.astrologerHeading, children: c?.("planAstrologerHeading") ?? "We will match you with astrologer who speaks your language" }),
|
|
3988
|
-
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: t.astrologers.map((h,
|
|
4054
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: t.astrologers.map((h, P) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Jn, { astrologer: h, t: c }) }, P)) })
|
|
3989
4055
|
] })
|
|
3990
4056
|
] })
|
|
3991
4057
|
]
|
|
@@ -3994,15 +4060,15 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3994
4060
|
}, aa = (t) => {
|
|
3995
4061
|
const n = t.match(/T(\d{2}):(\d{2})/);
|
|
3996
4062
|
if (!n) return t;
|
|
3997
|
-
const i = Number(n[1]), c = n[2],
|
|
3998
|
-
return `${i % 12 || 12}:${c} ${
|
|
4063
|
+
const i = Number(n[1]), c = n[2], _ = i >= 12 ? "PM" : "AM";
|
|
4064
|
+
return `${i % 12 || 12}:${c} ${_}`;
|
|
3999
4065
|
}, eo = (t, n = /* @__PURE__ */ new Date()) => {
|
|
4000
4066
|
const i = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
4001
4067
|
if (Number.isNaN(c.getTime()))
|
|
4002
4068
|
return { id: t, dayLabel: t, dayNum: "" };
|
|
4003
|
-
const
|
|
4004
|
-
(
|
|
4005
|
-
), h =
|
|
4069
|
+
const _ = (P) => new Date(P.getFullYear(), P.getMonth(), P.getDate()).getTime(), y = Math.round(
|
|
4070
|
+
(_(c) - _(n)) / (1e3 * 60 * 60 * 24)
|
|
4071
|
+
), h = y === 0 ? "Today" : y === 1 ? "Tomorrow" : i[c.getDay()];
|
|
4006
4072
|
return { id: t, dayLabel: h, dayNum: String(c.getDate()) };
|
|
4007
4073
|
}, ao = [
|
|
4008
4074
|
"morning",
|
|
@@ -4037,12 +4103,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4037
4103
|
gu: ["gu", "en"],
|
|
4038
4104
|
mr: ["mr", "en"],
|
|
4039
4105
|
ta: ["ta", "en"]
|
|
4040
|
-
},
|
|
4041
|
-
const c = i ? no : ro, [
|
|
4042
|
-
(
|
|
4106
|
+
}, Da = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0), oo = (t, n, i) => {
|
|
4107
|
+
const c = i ? no : ro, [_, y] = c[n || "en"] ?? c.en, h = qe.map((g) => g.code).filter(
|
|
4108
|
+
(g) => g !== _ && g !== y
|
|
4043
4109
|
);
|
|
4044
|
-
return [
|
|
4045
|
-
}, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151",
|
|
4110
|
+
return [_, y, ...h].find((g) => Da(t[g])) ?? _;
|
|
4111
|
+
}, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151", yo = "_languageMenuItemSelected_1mg8x_165", ko = "_languageDivider_1mg8x_171", Ao = "_reportReadyBanner_1mg8x_178", vo = "_reportReadyDuration_1mg8x_187", To = "_trustRow_1mg8x_193", wo = "_trustAvatars_1mg8x_204", So = "_trustText_1mg8x_217", Po = "_sectionHeading_1mg8x_328", xo = "_dateTabs_1mg8x_336", Co = "_dateTabIndicator_1mg8x_348", Ro = "_dateTab_1mg8x_336", jo = "_dateTabDivider_1mg8x_382", No = "_dateTabSelected_1mg8x_392", Lo = "_dateTabLabel_1mg8x_397", Do = "_dateTabNum_1mg8x_404", Bo = "_periodTabs_1mg8x_418", Eo = "_periodTabIndicator_1mg8x_346", Io = "_periodTab_1mg8x_346", Fo = "_periodTabSelected_1mg8x_465", Mo = "_timeGrid_1mg8x_470", Uo = "_emptyState_1mg8x_498", Go = "_timeSlot_1mg8x_502", Oo = "_timeSlotSelected_1mg8x_518", $o = "_topicGrid_1mg8x_526", Ho = "_topicChip_1mg8x_532", Wo = "_topicChipSelected_1mg8x_548", Ko = "_stateMessage_1mg8x_555", qo = "_emptyStateIcon_1mg8x_575", Yo = "_emptyStateTitle_1mg8x_586", Vo = "_emptyStateSubtitle_1mg8x_593", Qo = "_loadingWrap_1mg8x_602", zo = "_skeletonShimmer_1mg8x_607", Jo = "_skeletonDateTabs_1mg8x_621", Xo = "_skeletonDateTab_1mg8x_621", Zo = "_skeletonPeriodTabs_1mg8x_635", ei = "_skeletonPeriodTab_1mg8x_635", ai = "_skeletonTimeGrid_1mg8x_650", ti = "_skeletonTimeSlot_1mg8x_656", ri = "_retryBtn_1mg8x_661", ni = "_footer_1mg8x_675", oi = "_proceedBtn_1mg8x_682", ii = "_proceedBtnDisabled_1mg8x_700", m = {
|
|
4046
4112
|
overlay: io,
|
|
4047
4113
|
sheet: lo,
|
|
4048
4114
|
content: so,
|
|
@@ -4055,22 +4121,22 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4055
4121
|
languageDropdownBtn: go,
|
|
4056
4122
|
languageMenu: bo,
|
|
4057
4123
|
languageMenuItem: _o,
|
|
4058
|
-
languageMenuItemSelected:
|
|
4059
|
-
languageDivider:
|
|
4060
|
-
reportReadyBanner:
|
|
4061
|
-
reportReadyDuration:
|
|
4124
|
+
languageMenuItemSelected: yo,
|
|
4125
|
+
languageDivider: ko,
|
|
4126
|
+
reportReadyBanner: Ao,
|
|
4127
|
+
reportReadyDuration: vo,
|
|
4062
4128
|
trustRow: To,
|
|
4063
|
-
trustAvatars:
|
|
4064
|
-
trustText:
|
|
4065
|
-
sectionHeading:
|
|
4066
|
-
dateTabs:
|
|
4129
|
+
trustAvatars: wo,
|
|
4130
|
+
trustText: So,
|
|
4131
|
+
sectionHeading: Po,
|
|
4132
|
+
dateTabs: xo,
|
|
4067
4133
|
dateTabIndicator: Co,
|
|
4068
4134
|
dateTab: Ro,
|
|
4069
4135
|
dateTabDivider: jo,
|
|
4070
4136
|
dateTabSelected: No,
|
|
4071
4137
|
dateTabLabel: Lo,
|
|
4072
|
-
dateTabNum:
|
|
4073
|
-
periodTabs:
|
|
4138
|
+
dateTabNum: Do,
|
|
4139
|
+
periodTabs: Bo,
|
|
4074
4140
|
periodTabIndicator: Eo,
|
|
4075
4141
|
periodTab: Io,
|
|
4076
4142
|
periodTabSelected: Fo,
|
|
@@ -4085,8 +4151,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4085
4151
|
emptyStateIcon: qo,
|
|
4086
4152
|
emptyStateTitle: Yo,
|
|
4087
4153
|
emptyStateSubtitle: Vo,
|
|
4088
|
-
loadingWrap:
|
|
4089
|
-
skeletonShimmer:
|
|
4154
|
+
loadingWrap: Qo,
|
|
4155
|
+
skeletonShimmer: zo,
|
|
4090
4156
|
skeletonDateTabs: Jo,
|
|
4091
4157
|
skeletonDateTab: Xo,
|
|
4092
4158
|
skeletonPeriodTabs: Zo,
|
|
@@ -4113,28 +4179,28 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4113
4179
|
astrologers: n,
|
|
4114
4180
|
t: i,
|
|
4115
4181
|
analytics: c,
|
|
4116
|
-
reportLanguage:
|
|
4117
|
-
isPostPayment:
|
|
4182
|
+
reportLanguage: _,
|
|
4183
|
+
isPostPayment: y = !1,
|
|
4118
4184
|
showGuidanceTopic: h,
|
|
4119
|
-
hideFooter:
|
|
4120
|
-
onStateChange:
|
|
4185
|
+
hideFooter: P = !1,
|
|
4186
|
+
onStateChange: g
|
|
4121
4187
|
}) => {
|
|
4122
|
-
const Y = h ?? !
|
|
4123
|
-
() => C[
|
|
4124
|
-
[C,
|
|
4125
|
-
), [
|
|
4188
|
+
const Y = h ?? !y, B = Me(), N = B?.config.imageComponent ?? Ye, p = B?.config.fetchConsultationSlots, G = B?.config.isGlobal ?? !0, A = _ ?? B?.formValues?.language_code, j = y ? "post_payment" : "pre_payment", [k, b] = D(!1), [x, te] = D(!1), [C, V] = D({}), [w, Q] = D("en"), [R, E] = D(!1), se = M(null), ae = Ee(
|
|
4189
|
+
() => C[w]?.days ?? [],
|
|
4190
|
+
[C, w]
|
|
4191
|
+
), [O, I] = D(""), [$, X] = D(""), [U, Te] = D("morning"), [K, re] = D(null), he = M(!1), ue = M(null), Pe = M({}), [ne, je] = D(null), _e = M(null), pe = M(
|
|
4126
4192
|
{}
|
|
4127
|
-
), [ge, oe] =
|
|
4193
|
+
), [ge, oe] = D(null), H = Ee(
|
|
4128
4194
|
() => ae.filter((l) => l.has_availability && l.slots.length > 0),
|
|
4129
4195
|
[ae]
|
|
4130
4196
|
), me = Re(() => {
|
|
4131
|
-
p && (
|
|
4197
|
+
p && (b(!0), te(!1), p().then((l) => {
|
|
4132
4198
|
const f = l ?? {}, Z = oo(
|
|
4133
4199
|
f,
|
|
4134
|
-
|
|
4135
|
-
|
|
4200
|
+
A,
|
|
4201
|
+
G
|
|
4136
4202
|
);
|
|
4137
|
-
V(f),
|
|
4203
|
+
V(f), Q(Z), c?.trackConsultationLanguageDefaultSelected?.({
|
|
4138
4204
|
language: ta(Z),
|
|
4139
4205
|
status: j
|
|
4140
4206
|
});
|
|
@@ -4148,8 +4214,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4148
4214
|
});
|
|
4149
4215
|
}).catch(() => {
|
|
4150
4216
|
te(!0);
|
|
4151
|
-
}).finally(() =>
|
|
4152
|
-
}, [p,
|
|
4217
|
+
}).finally(() => b(!1)));
|
|
4218
|
+
}, [p, G, A, c, n, j]);
|
|
4153
4219
|
q(() => {
|
|
4154
4220
|
I(""), E(!1), me();
|
|
4155
4221
|
}, []), q(() => {
|
|
@@ -4188,10 +4254,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4188
4254
|
(l) => fe.includes(l) ? l : fe[0]
|
|
4189
4255
|
);
|
|
4190
4256
|
}, [fe]);
|
|
4191
|
-
const ee = Ee(() => ie ? ie.slots.filter((l) => l.period ===
|
|
4257
|
+
const ee = Ee(() => ie ? ie.slots.filter((l) => l.period === U) : [], [ie, U]);
|
|
4192
4258
|
q(() => {
|
|
4193
4259
|
const l = () => {
|
|
4194
|
-
const f = ue.current, Z =
|
|
4260
|
+
const f = ue.current, Z = Pe.current[$];
|
|
4195
4261
|
if (!f || !Z) {
|
|
4196
4262
|
je(null);
|
|
4197
4263
|
return;
|
|
@@ -4207,7 +4273,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4207
4273
|
return l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
|
|
4208
4274
|
}, [$, H]), q(() => {
|
|
4209
4275
|
const l = () => {
|
|
4210
|
-
const f = _e.current, Z = pe.current[
|
|
4276
|
+
const f = _e.current, Z = pe.current[U];
|
|
4211
4277
|
if (!f || !Z) {
|
|
4212
4278
|
oe(null);
|
|
4213
4279
|
return;
|
|
@@ -4219,7 +4285,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4219
4285
|
});
|
|
4220
4286
|
};
|
|
4221
4287
|
return l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
|
|
4222
|
-
}, [
|
|
4288
|
+
}, [U, fe]), q(() => {
|
|
4223
4289
|
if (!ee.length) {
|
|
4224
4290
|
re(null);
|
|
4225
4291
|
return;
|
|
@@ -4242,27 +4308,27 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4242
4308
|
status: j
|
|
4243
4309
|
}), he.current = !0);
|
|
4244
4310
|
}, [H, n, c, j]);
|
|
4245
|
-
const ce = !!K && (!Y || !!
|
|
4311
|
+
const ce = !!K && (!Y || !!O), Ne = (l) => {
|
|
4246
4312
|
X(l), c?.trackSlotDateSelected?.({
|
|
4247
4313
|
date: l,
|
|
4248
|
-
day_part_default:
|
|
4314
|
+
day_part_default: U,
|
|
4249
4315
|
status: j
|
|
4250
4316
|
});
|
|
4251
|
-
},
|
|
4317
|
+
}, we = (l) => {
|
|
4252
4318
|
Te(l), c?.trackDayPartSelected?.({
|
|
4253
4319
|
day_part: l,
|
|
4254
4320
|
slots_available_count: ie?.slots.filter((f) => f.period === l).length ?? 0,
|
|
4255
4321
|
status: j
|
|
4256
4322
|
});
|
|
4257
|
-
},
|
|
4323
|
+
}, ye = (l) => {
|
|
4258
4324
|
re(l), c?.trackSlotSelected?.({
|
|
4259
4325
|
date: $,
|
|
4260
4326
|
time: aa(l.start),
|
|
4261
4327
|
day_part: l.period,
|
|
4262
|
-
topic:
|
|
4328
|
+
topic: O || null,
|
|
4263
4329
|
status: j
|
|
4264
4330
|
});
|
|
4265
|
-
},
|
|
4331
|
+
}, ke = () => {
|
|
4266
4332
|
K && (c?.trackSlotReservationRequested?.({
|
|
4267
4333
|
slot_datetime: `${K.start} - ${K.end}`,
|
|
4268
4334
|
status: j
|
|
@@ -4270,23 +4336,23 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4270
4336
|
start: K.start,
|
|
4271
4337
|
end: K.end,
|
|
4272
4338
|
period: K.period,
|
|
4273
|
-
topic:
|
|
4274
|
-
language:
|
|
4339
|
+
topic: O,
|
|
4340
|
+
language: w
|
|
4275
4341
|
}));
|
|
4276
|
-
},
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
}, [ce,
|
|
4280
|
-
const
|
|
4342
|
+
}, Se = M(ke);
|
|
4343
|
+
Se.current = ke, q(() => {
|
|
4344
|
+
g?.({ canProceed: ce, proceed: () => Se.current() });
|
|
4345
|
+
}, [ce, g]);
|
|
4346
|
+
const De = (l) => {
|
|
4281
4347
|
I(l), c?.trackGuidanceTopicSelected?.({ topic: l, status: j });
|
|
4282
|
-
},
|
|
4348
|
+
}, Be = (l) => {
|
|
4283
4349
|
c?.trackConsultationLanguageChanged?.({
|
|
4284
|
-
previous_language: ta(
|
|
4350
|
+
previous_language: ta(w),
|
|
4285
4351
|
new_language: ta(l),
|
|
4286
|
-
slots_available:
|
|
4352
|
+
slots_available: Da(C[l]) ? "yes" : "no",
|
|
4287
4353
|
status: j
|
|
4288
|
-
}),
|
|
4289
|
-
},
|
|
4354
|
+
}), Q(l), E(!1);
|
|
4355
|
+
}, S = qe.find((l) => l.code === w) ?? qe[0];
|
|
4290
4356
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4291
4357
|
/* @__PURE__ */ e.jsxs("div", { className: m.content, children: [
|
|
4292
4358
|
/* @__PURE__ */ e.jsxs("div", { className: m.languageRow, children: [
|
|
@@ -4301,13 +4367,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4301
4367
|
"aria-haspopup": "listbox",
|
|
4302
4368
|
"aria-expanded": R,
|
|
4303
4369
|
children: [
|
|
4304
|
-
i?.(
|
|
4370
|
+
i?.(S.labelKey) ?? S.label,
|
|
4305
4371
|
/* @__PURE__ */ e.jsx(Xr, {})
|
|
4306
4372
|
]
|
|
4307
4373
|
}
|
|
4308
4374
|
),
|
|
4309
4375
|
R && /* @__PURE__ */ e.jsx("ul", { className: m.languageMenu, role: "listbox", children: qe.map((l) => {
|
|
4310
|
-
const f = l.code ===
|
|
4376
|
+
const f = l.code === w;
|
|
4311
4377
|
return /* @__PURE__ */ e.jsxs(
|
|
4312
4378
|
"li",
|
|
4313
4379
|
{
|
|
@@ -4317,10 +4383,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4317
4383
|
m.languageMenuItem,
|
|
4318
4384
|
f ? m.languageMenuItemSelected : ""
|
|
4319
4385
|
].filter(Boolean).join(" "),
|
|
4320
|
-
onClick: () =>
|
|
4386
|
+
onClick: () => Be(l.code),
|
|
4321
4387
|
children: [
|
|
4322
4388
|
i?.(l.labelKey) ?? l.label,
|
|
4323
|
-
f && /* @__PURE__ */ e.jsx(
|
|
4389
|
+
f && /* @__PURE__ */ e.jsx(La, {})
|
|
4324
4390
|
]
|
|
4325
4391
|
},
|
|
4326
4392
|
l.code
|
|
@@ -4337,7 +4403,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4337
4403
|
" ",
|
|
4338
4404
|
i?.("planReportReadySuffix") ?? "from today"
|
|
4339
4405
|
] }),
|
|
4340
|
-
|
|
4406
|
+
k && /* @__PURE__ */ e.jsxs("div", { className: m.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
|
|
4341
4407
|
/* @__PURE__ */ e.jsx("div", { className: m.skeletonDateTabs, children: Array.from({ length: 5 }).map((l, f) => /* @__PURE__ */ e.jsx(
|
|
4342
4408
|
"div",
|
|
4343
4409
|
{
|
|
@@ -4360,16 +4426,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4360
4426
|
f
|
|
4361
4427
|
)) })
|
|
4362
4428
|
] }),
|
|
4363
|
-
!
|
|
4429
|
+
!k && x && /* @__PURE__ */ e.jsxs("div", { className: m.stateMessage, children: [
|
|
4364
4430
|
i?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
4365
4431
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: m.retryBtn, onClick: me, children: i?.("planRetry") ?? "Retry" })
|
|
4366
4432
|
] }),
|
|
4367
|
-
!
|
|
4433
|
+
!k && !x && H.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: m.emptyState, children: [
|
|
4368
4434
|
/* @__PURE__ */ e.jsx("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e.jsx(rn, {}) }),
|
|
4369
4435
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateTitle, children: i?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
4370
4436
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateSubtitle, children: i?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
4371
4437
|
] }),
|
|
4372
|
-
!
|
|
4438
|
+
!k && !x && H.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4373
4439
|
/* @__PURE__ */ e.jsxs("div", { className: m.dateTabs, ref: ue, role: "radiogroup", "aria-label": "Consultation date", children: [
|
|
4374
4440
|
ne && /* @__PURE__ */ e.jsx(
|
|
4375
4441
|
"span",
|
|
@@ -4385,13 +4451,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4385
4451
|
),
|
|
4386
4452
|
H.map((l) => {
|
|
4387
4453
|
const f = l.date === $, { dayLabel: Z, dayNum: be } = eo(l.date);
|
|
4388
|
-
return /* @__PURE__ */ e.jsxs(
|
|
4454
|
+
return /* @__PURE__ */ e.jsxs(Qa, { children: [
|
|
4389
4455
|
/* @__PURE__ */ e.jsxs(
|
|
4390
4456
|
"button",
|
|
4391
4457
|
{
|
|
4392
4458
|
type: "button",
|
|
4393
4459
|
ref: (r) => {
|
|
4394
|
-
|
|
4460
|
+
Pe.current[l.date] = r;
|
|
4395
4461
|
},
|
|
4396
4462
|
className: [
|
|
4397
4463
|
m.dateTab,
|
|
@@ -4423,7 +4489,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4423
4489
|
}
|
|
4424
4490
|
),
|
|
4425
4491
|
fe.map((l) => {
|
|
4426
|
-
const f = li[l], Z = l === "evening" &&
|
|
4492
|
+
const f = li[l], Z = l === "evening" && G ? "planPeriodEveningNight" : si[l];
|
|
4427
4493
|
return /* @__PURE__ */ e.jsxs(
|
|
4428
4494
|
"button",
|
|
4429
4495
|
{
|
|
@@ -4433,14 +4499,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4433
4499
|
type: "button",
|
|
4434
4500
|
className: [
|
|
4435
4501
|
m.periodTab,
|
|
4436
|
-
l ===
|
|
4502
|
+
l === U ? m.periodTabSelected : ""
|
|
4437
4503
|
].filter(Boolean).join(" "),
|
|
4438
4504
|
role: "tab",
|
|
4439
|
-
"aria-selected": l ===
|
|
4440
|
-
onClick: () =>
|
|
4505
|
+
"aria-selected": l === U,
|
|
4506
|
+
onClick: () => we(l),
|
|
4441
4507
|
children: [
|
|
4442
4508
|
/* @__PURE__ */ e.jsx(f, {}),
|
|
4443
|
-
i?.(Z) ?? (l === "evening" &&
|
|
4509
|
+
i?.(Z) ?? (l === "evening" && G ? "Evening/Night" : l.charAt(0).toUpperCase() + l.slice(1))
|
|
4444
4510
|
]
|
|
4445
4511
|
},
|
|
4446
4512
|
l
|
|
@@ -4463,13 +4529,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4463
4529
|
].filter(Boolean).join(" "),
|
|
4464
4530
|
role: "radio",
|
|
4465
4531
|
"aria-checked": K?.start === l.start,
|
|
4466
|
-
onClick: () =>
|
|
4532
|
+
onClick: () => ye(l),
|
|
4467
4533
|
children: aa(l.start)
|
|
4468
4534
|
},
|
|
4469
4535
|
`${l.start}-${f}`
|
|
4470
4536
|
))
|
|
4471
4537
|
},
|
|
4472
|
-
`${$}-${
|
|
4538
|
+
`${$}-${U}`
|
|
4473
4539
|
)
|
|
4474
4540
|
] }),
|
|
4475
4541
|
Y && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -4480,18 +4546,18 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4480
4546
|
type: "button",
|
|
4481
4547
|
className: [
|
|
4482
4548
|
m.topicChip,
|
|
4483
|
-
|
|
4549
|
+
O === l.id ? m.topicChipSelected : ""
|
|
4484
4550
|
].filter(Boolean).join(" "),
|
|
4485
4551
|
role: "radio",
|
|
4486
|
-
"aria-checked":
|
|
4487
|
-
onClick: () =>
|
|
4552
|
+
"aria-checked": O === l.id,
|
|
4553
|
+
onClick: () => De(l.id),
|
|
4488
4554
|
children: i?.(l.labelKey) ?? l.label
|
|
4489
4555
|
},
|
|
4490
4556
|
l.id
|
|
4491
4557
|
)) })
|
|
4492
4558
|
] })
|
|
4493
4559
|
] }),
|
|
4494
|
-
!
|
|
4560
|
+
!P && /* @__PURE__ */ e.jsxs("div", { className: m.footer, children: [
|
|
4495
4561
|
/* @__PURE__ */ e.jsxs("div", { className: m.trustRow, children: [
|
|
4496
4562
|
/* @__PURE__ */ e.jsx("div", { className: m.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
4497
4563
|
N,
|
|
@@ -4513,8 +4579,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4513
4579
|
type: "button",
|
|
4514
4580
|
className: [m.proceedBtn, ce ? "" : m.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
4515
4581
|
disabled: !ce,
|
|
4516
|
-
onClick:
|
|
4517
|
-
children:
|
|
4582
|
+
onClick: ke,
|
|
4583
|
+
children: y ? i?.("planBookSlot") ?? "Book Slot" : i?.("planProceedToPayment") ?? "Proceed to payment"
|
|
4518
4584
|
}
|
|
4519
4585
|
)
|
|
4520
4586
|
] })
|
|
@@ -4601,28 +4667,28 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4601
4667
|
onClose: n,
|
|
4602
4668
|
selectedPlan: i,
|
|
4603
4669
|
onSelectPlan: c,
|
|
4604
|
-
plans:
|
|
4605
|
-
onProceed:
|
|
4670
|
+
plans: _,
|
|
4671
|
+
onProceed: y,
|
|
4606
4672
|
t: h,
|
|
4607
|
-
analytics:
|
|
4608
|
-
enableConsultationScheduling:
|
|
4673
|
+
analytics: P,
|
|
4674
|
+
enableConsultationScheduling: g
|
|
4609
4675
|
}) => {
|
|
4610
|
-
const Y = Me(),
|
|
4676
|
+
const Y = Me(), B = Y?.config.isGlobal ?? !0, N = g ?? Y?.config.enableConsultationScheduling ?? !1, p = _ ?? mi(B), G = i?.id || p.find((C) => C.badge)?.id || p[0]?.id || "", A = M(null), j = M(null), k = M(!1), [b, x] = D(!1);
|
|
4611
4677
|
q(() => {
|
|
4612
4678
|
if (t) {
|
|
4613
4679
|
if (!i) {
|
|
4614
4680
|
const C = p.find((V) => V.badge) ?? p[0];
|
|
4615
4681
|
C && c(C);
|
|
4616
4682
|
}
|
|
4617
|
-
|
|
4683
|
+
k.current || (P?.trackPlanPageViewed?.(), N && P?.trackPlanScreenViewed?.({
|
|
4618
4684
|
plans_shown: p.map((C) => C.id),
|
|
4619
4685
|
default_selected_plan: i?.id || p.find((C) => C.badge)?.id || p[0]?.id || ""
|
|
4620
|
-
}),
|
|
4686
|
+
}), k.current = !0);
|
|
4621
4687
|
} else
|
|
4622
|
-
|
|
4623
|
-
}, [t, p, i, c,
|
|
4688
|
+
k.current = !1;
|
|
4689
|
+
}, [t, p, i, c, P]);
|
|
4624
4690
|
const te = () => {
|
|
4625
|
-
|
|
4691
|
+
P?.trackPlanPageClosed?.(), n();
|
|
4626
4692
|
};
|
|
4627
4693
|
return q(() => {
|
|
4628
4694
|
if (!t) return;
|
|
@@ -4630,7 +4696,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4630
4696
|
return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
|
|
4631
4697
|
document.body.style.overflow = C, document.documentElement.style.overflow = V;
|
|
4632
4698
|
};
|
|
4633
|
-
}, [t]), t ?
|
|
4699
|
+
}, [t]), t ? at(
|
|
4634
4700
|
/* @__PURE__ */ e.jsxs(
|
|
4635
4701
|
"div",
|
|
4636
4702
|
{
|
|
@@ -4642,7 +4708,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4642
4708
|
/* @__PURE__ */ e.jsxs(
|
|
4643
4709
|
"div",
|
|
4644
4710
|
{
|
|
4645
|
-
ref:
|
|
4711
|
+
ref: A,
|
|
4646
4712
|
className: N ? T.sheetFullScreen : T.sheet,
|
|
4647
4713
|
children: [
|
|
4648
4714
|
N ? /* @__PURE__ */ e.jsxs("div", { className: T.headerFull, children: [
|
|
@@ -4658,7 +4724,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4658
4724
|
),
|
|
4659
4725
|
/* @__PURE__ */ e.jsx("h2", { className: T.titleFull, children: h?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
4660
4726
|
] }) : /* @__PURE__ */ e.jsx(
|
|
4661
|
-
|
|
4727
|
+
Qn,
|
|
4662
4728
|
{
|
|
4663
4729
|
title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
4664
4730
|
onBack: te
|
|
@@ -4675,19 +4741,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4675
4741
|
Zn,
|
|
4676
4742
|
{
|
|
4677
4743
|
plan: C,
|
|
4678
|
-
isSelected: C.id ===
|
|
4744
|
+
isSelected: C.id === G,
|
|
4679
4745
|
t: h,
|
|
4680
4746
|
onSelect: (V) => {
|
|
4681
|
-
const
|
|
4682
|
-
|
|
4683
|
-
planId:
|
|
4684
|
-
planName:
|
|
4747
|
+
const w = p.find((Q) => Q.id === V);
|
|
4748
|
+
w && (P?.trackPlanSelected?.({
|
|
4749
|
+
planId: w.id,
|
|
4750
|
+
planName: w.title,
|
|
4685
4751
|
...N ? {
|
|
4686
|
-
price:
|
|
4687
|
-
includes_consultation: !!(
|
|
4688
|
-
cta_label:
|
|
4752
|
+
price: w.price,
|
|
4753
|
+
includes_consultation: !!(w.astrologers && w.astrologers.length > 0),
|
|
4754
|
+
cta_label: w.astrologers && w.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
4689
4755
|
} : {}
|
|
4690
|
-
}), c(
|
|
4756
|
+
}), c(w));
|
|
4691
4757
|
}
|
|
4692
4758
|
},
|
|
4693
4759
|
C.id
|
|
@@ -4702,22 +4768,22 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4702
4768
|
onClick: () => {
|
|
4703
4769
|
if (i) {
|
|
4704
4770
|
if (N && i.astrologers && i.astrologers.length > 0) {
|
|
4705
|
-
|
|
4771
|
+
P?.trackSelectConsultationSlotClicked?.({
|
|
4706
4772
|
planId: i.id,
|
|
4707
4773
|
planName: i.title
|
|
4708
|
-
}),
|
|
4774
|
+
}), P?.trackPlanProceedClicked?.({
|
|
4709
4775
|
planId: i.id,
|
|
4710
4776
|
planName: i.title,
|
|
4711
4777
|
cta_type: "confirm_consultation_slot",
|
|
4712
4778
|
next_step: "slot_selection"
|
|
4713
|
-
}),
|
|
4779
|
+
}), x(!0);
|
|
4714
4780
|
return;
|
|
4715
4781
|
}
|
|
4716
|
-
|
|
4782
|
+
P?.trackPlanProceedClicked?.({
|
|
4717
4783
|
planId: i.id,
|
|
4718
4784
|
planName: i.title,
|
|
4719
4785
|
...N ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
4720
|
-
}),
|
|
4786
|
+
}), y(i), n();
|
|
4721
4787
|
}
|
|
4722
4788
|
},
|
|
4723
4789
|
children: i ? N && i.astrologers && i.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? i.price + "Proceed to Payment" : "Select a plan"
|
|
@@ -4729,18 +4795,18 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4729
4795
|
N && i?.astrologers && i.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
4730
4796
|
ui,
|
|
4731
4797
|
{
|
|
4732
|
-
isOpen:
|
|
4733
|
-
onClose: () =>
|
|
4798
|
+
isOpen: b,
|
|
4799
|
+
onClose: () => x(!1),
|
|
4734
4800
|
astrologers: i.astrologers,
|
|
4735
4801
|
t: h,
|
|
4736
|
-
analytics:
|
|
4802
|
+
analytics: P,
|
|
4737
4803
|
onProceed: (C) => {
|
|
4738
|
-
|
|
4804
|
+
P?.trackPlanProceedClicked?.({
|
|
4739
4805
|
planId: i.id,
|
|
4740
4806
|
planName: i.title,
|
|
4741
4807
|
cta_type: "proceed",
|
|
4742
4808
|
next_step: "payment"
|
|
4743
|
-
}),
|
|
4809
|
+
}), y(i, C), x(!1), n();
|
|
4744
4810
|
}
|
|
4745
4811
|
}
|
|
4746
4812
|
)
|
|
@@ -4749,7 +4815,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4749
4815
|
),
|
|
4750
4816
|
document.body
|
|
4751
4817
|
) : null;
|
|
4752
|
-
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) =>
|
|
4818
|
+
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) => Sa[t]?.[n] ?? n, bi = (t, n) => t && ra.includes(t) ? t : n ? "+1" : "+91", _i = {
|
|
4753
4819
|
fullName: "",
|
|
4754
4820
|
phone: "",
|
|
4755
4821
|
phoneCountryCode: "",
|
|
@@ -4760,48 +4826,48 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4760
4826
|
birthTime: "",
|
|
4761
4827
|
birthTimeUnknown: !1,
|
|
4762
4828
|
birthPlace: ""
|
|
4763
|
-
},
|
|
4829
|
+
}, xi = ({
|
|
4764
4830
|
className: t = "",
|
|
4765
4831
|
locale: n,
|
|
4766
4832
|
showLanguageSelector: i = !0,
|
|
4767
4833
|
onBack: c,
|
|
4768
|
-
initialValues:
|
|
4769
|
-
onProceed:
|
|
4834
|
+
initialValues: _,
|
|
4835
|
+
onProceed: y,
|
|
4770
4836
|
onProceedGuidance: h,
|
|
4771
|
-
proceedHref:
|
|
4772
|
-
originalPriceLabel:
|
|
4837
|
+
proceedHref: P,
|
|
4838
|
+
originalPriceLabel: g,
|
|
4773
4839
|
discountedPriceLabel: Y,
|
|
4774
|
-
googleMapsApiKey:
|
|
4840
|
+
googleMapsApiKey: B = "",
|
|
4775
4841
|
atlasSearchLocalities: N,
|
|
4776
4842
|
googleMapsAutocompleteEnabled: p,
|
|
4777
|
-
analytics:
|
|
4843
|
+
analytics: G
|
|
4778
4844
|
}) => {
|
|
4779
|
-
const
|
|
4780
|
-
|
|
4845
|
+
const A = Me(), j = vt(), k = A !== null, b = k ? A.locale : n, x = b ?? j?.locale ?? "en", [te, C] = D(x), V = k ? A.locale : te, w = k ? A.setLocale : C, [Q, R] = D(!1), E = M(null), se = M(
|
|
4846
|
+
b
|
|
4781
4847
|
), ae = M(
|
|
4782
4848
|
j?.locale
|
|
4783
4849
|
);
|
|
4784
4850
|
q(() => {
|
|
4785
4851
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
4786
4852
|
}, []);
|
|
4787
|
-
const
|
|
4853
|
+
const O = (S) => gi(V, S);
|
|
4788
4854
|
q(() => {
|
|
4789
|
-
|
|
4790
|
-
}, [
|
|
4791
|
-
if (
|
|
4792
|
-
const
|
|
4793
|
-
|
|
4794
|
-
}, [j?.locale,
|
|
4795
|
-
const [I, $] =
|
|
4855
|
+
b && se.current !== b && w(b), se.current = b;
|
|
4856
|
+
}, [b, w]), q(() => {
|
|
4857
|
+
if (b) return;
|
|
4858
|
+
const S = j?.locale;
|
|
4859
|
+
S && ae.current !== S && w(S), ae.current = S;
|
|
4860
|
+
}, [j?.locale, b, w]);
|
|
4861
|
+
const [I, $] = D({
|
|
4796
4862
|
..._i,
|
|
4797
|
-
...
|
|
4798
|
-
phone:
|
|
4799
|
-
}), X =
|
|
4800
|
-
() => bi(
|
|
4863
|
+
..._,
|
|
4864
|
+
phone: _?.phone ?? ""
|
|
4865
|
+
}), X = k ? A?.config.isGlobal ?? !0 : !0, U = k ? A.formValues : I, Te = k ? A.setFormValues : $, [K, re] = D(
|
|
4866
|
+
() => bi(U.phoneCountryCode, X)
|
|
4801
4867
|
), he = M(
|
|
4802
|
-
!!(
|
|
4803
|
-
), ue = M(!1),
|
|
4804
|
-
ue.current = !0, re(
|
|
4868
|
+
!!(U.phoneCountryCode && ra.includes(U.phoneCountryCode))
|
|
4869
|
+
), ue = M(!1), Pe = Re((S) => {
|
|
4870
|
+
ue.current = !0, re(S);
|
|
4805
4871
|
}, []), ne = M(!0);
|
|
4806
4872
|
q(() => {
|
|
4807
4873
|
if (ne.current) {
|
|
@@ -4810,57 +4876,59 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4810
4876
|
}
|
|
4811
4877
|
he.current || ue.current || re(X ? "+1" : "+91");
|
|
4812
4878
|
}, [X]), q(() => {
|
|
4813
|
-
if (!
|
|
4814
|
-
const
|
|
4815
|
-
|
|
4816
|
-
}, [
|
|
4817
|
-
const je =
|
|
4879
|
+
if (!k || ue.current) return;
|
|
4880
|
+
const S = U.phoneCountryCode;
|
|
4881
|
+
S && ra.includes(S) && S !== K && (he.current = !0, re(S));
|
|
4882
|
+
}, [k, U.phoneCountryCode]);
|
|
4883
|
+
const je = k ? A.goToPage : c, _e = k ? A.onProceed : y, pe = k ? A.onProceedGuidance : h, ge = k ? A.config.proceedHref : P, oe = k ? A.config.originalPriceLabel : g, H = k ? A.config.discountedPriceLabel : Y, me = k ? A.config.showLanguageSelector ?? !0 : i, ie = (k ? A?.config?.analytics : G) ?? G;
|
|
4818
4884
|
q(() => {
|
|
4819
|
-
if (!
|
|
4820
|
-
const
|
|
4885
|
+
if (!Q) return;
|
|
4886
|
+
const S = (l) => {
|
|
4821
4887
|
E.current && !E.current.contains(l.target) && R(!1);
|
|
4822
4888
|
};
|
|
4823
|
-
return document.addEventListener("mousedown",
|
|
4824
|
-
}, [
|
|
4825
|
-
const [fe, ee] =
|
|
4826
|
-
|
|
4827
|
-
}, []),
|
|
4889
|
+
return document.addEventListener("mousedown", S), () => document.removeEventListener("mousedown", S);
|
|
4890
|
+
}, [Q]);
|
|
4891
|
+
const [fe, ee] = D(!1), [ce, Ne] = D(null), we = M(null), ye = Re((S) => {
|
|
4892
|
+
we.current = S, ee(!0);
|
|
4893
|
+
}, []), ke = M(!1);
|
|
4828
4894
|
q(() => {
|
|
4829
|
-
if (
|
|
4895
|
+
if (ke.current || !k || !A?.config.autoOpenPlanSheet || A?.config.variant !== "v1")
|
|
4830
4896
|
return;
|
|
4831
|
-
|
|
4832
|
-
const
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4897
|
+
ke.current = !0;
|
|
4898
|
+
const S = U.email.trim();
|
|
4899
|
+
if (S && !Na(S)) return;
|
|
4900
|
+
const l = (U.phone ?? "").trim();
|
|
4901
|
+
ye({
|
|
4902
|
+
...U,
|
|
4903
|
+
phone: l && `${K}-${l}`
|
|
4836
4904
|
});
|
|
4837
|
-
}, [
|
|
4838
|
-
const
|
|
4839
|
-
if (!
|
|
4905
|
+
}, [k, A?.config.autoOpenPlanSheet, A?.config.variant, U, K, ye]);
|
|
4906
|
+
const Se = Re(() => {
|
|
4907
|
+
if (!we.current || !ce) return;
|
|
4840
4908
|
ie?.trackPlanProceedClicked?.({
|
|
4841
4909
|
planId: ce.id,
|
|
4842
4910
|
planName: ce.title,
|
|
4843
4911
|
price: ce.price,
|
|
4844
4912
|
currency: X ? "USD" : "INR"
|
|
4845
4913
|
});
|
|
4846
|
-
const
|
|
4847
|
-
ce.id === ja && pe ? pe(
|
|
4848
|
-
}, [ce, _e, pe]),
|
|
4914
|
+
const S = { ...we.current, _selectedPlan: ce };
|
|
4915
|
+
ce.id === ja && pe ? pe(S) : _e?.(S), ee(!1), we.current = null;
|
|
4916
|
+
}, [ce, _e, pe]), De = A?.config.imageComponent ?? Ye, Be = me ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: E, children: [
|
|
4849
4917
|
/* @__PURE__ */ e.jsxs(
|
|
4850
4918
|
"button",
|
|
4851
4919
|
{
|
|
4852
4920
|
type: "button",
|
|
4853
4921
|
className: Le.langTrigger,
|
|
4854
4922
|
onClick: () => {
|
|
4855
|
-
ie?.trackLanguageClickedFe?.({ language: V }), R((
|
|
4923
|
+
ie?.trackLanguageClickedFe?.({ language: V }), R((S) => !S);
|
|
4856
4924
|
},
|
|
4857
|
-
"aria-expanded":
|
|
4925
|
+
"aria-expanded": Q,
|
|
4858
4926
|
"aria-haspopup": "listbox",
|
|
4859
4927
|
id: "kundli-form-lang",
|
|
4860
|
-
"aria-label":
|
|
4928
|
+
"aria-label": O("language"),
|
|
4861
4929
|
children: [
|
|
4862
4930
|
/* @__PURE__ */ e.jsx(
|
|
4863
|
-
|
|
4931
|
+
De,
|
|
4864
4932
|
{
|
|
4865
4933
|
src: hi,
|
|
4866
4934
|
alt: "",
|
|
@@ -4870,59 +4938,59 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4870
4938
|
loading: "eager"
|
|
4871
4939
|
}
|
|
4872
4940
|
),
|
|
4873
|
-
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children:
|
|
4941
|
+
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children: ya[V] })
|
|
4874
4942
|
]
|
|
4875
4943
|
}
|
|
4876
4944
|
),
|
|
4877
|
-
|
|
4945
|
+
Q && /* @__PURE__ */ e.jsx(
|
|
4878
4946
|
"ul",
|
|
4879
4947
|
{
|
|
4880
4948
|
className: Le.langMenu,
|
|
4881
4949
|
role: "listbox",
|
|
4882
4950
|
"aria-labelledby": "kundli-form-lang",
|
|
4883
4951
|
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
4884
|
-
children:
|
|
4952
|
+
children: wa.map((S) => /* @__PURE__ */ e.jsx(
|
|
4885
4953
|
"li",
|
|
4886
4954
|
{
|
|
4887
|
-
id: `kundli-form-lang-option-${
|
|
4955
|
+
id: `kundli-form-lang-option-${S}`,
|
|
4888
4956
|
role: "option",
|
|
4889
|
-
"aria-selected":
|
|
4957
|
+
"aria-selected": S === V,
|
|
4890
4958
|
className: Le.langOption,
|
|
4891
4959
|
onClick: () => {
|
|
4892
|
-
ie?.trackLanguageChangedFe?.({ newLanguage:
|
|
4960
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: S }), w(S), R(!1);
|
|
4893
4961
|
},
|
|
4894
|
-
children:
|
|
4962
|
+
children: ya[S]
|
|
4895
4963
|
},
|
|
4896
|
-
|
|
4964
|
+
S
|
|
4897
4965
|
))
|
|
4898
4966
|
}
|
|
4899
4967
|
)
|
|
4900
4968
|
] }) : null;
|
|
4901
4969
|
return /* @__PURE__ */ e.jsxs("div", { className: `${Le.container} ${t}`, children: [
|
|
4902
4970
|
/* @__PURE__ */ e.jsx(
|
|
4903
|
-
|
|
4971
|
+
zr,
|
|
4904
4972
|
{
|
|
4905
|
-
t:
|
|
4906
|
-
logoUrl:
|
|
4907
|
-
languageSelector:
|
|
4973
|
+
t: O,
|
|
4974
|
+
logoUrl: k ? A.config.logoUrl : void 0,
|
|
4975
|
+
languageSelector: Be,
|
|
4908
4976
|
className: Le.kundliHeaderNoBorder
|
|
4909
4977
|
}
|
|
4910
4978
|
),
|
|
4911
4979
|
/* @__PURE__ */ e.jsx("div", { className: Le.headerSeparator, "aria-hidden": !0 }),
|
|
4912
4980
|
/* @__PURE__ */ e.jsxs("main", { className: Le.main, children: [
|
|
4913
|
-
/* @__PURE__ */ e.jsx(
|
|
4981
|
+
/* @__PURE__ */ e.jsx(jt, { t: O, onBack: je }),
|
|
4914
4982
|
/* @__PURE__ */ e.jsx(
|
|
4915
|
-
|
|
4983
|
+
Ir,
|
|
4916
4984
|
{
|
|
4917
|
-
t:
|
|
4918
|
-
values:
|
|
4985
|
+
t: O,
|
|
4986
|
+
values: U,
|
|
4919
4987
|
onChange: Te,
|
|
4920
|
-
googleMapsApiKey:
|
|
4988
|
+
googleMapsApiKey: B,
|
|
4921
4989
|
atlasSearchLocalities: N,
|
|
4922
4990
|
googleMapsAutocompleteEnabled: p,
|
|
4923
4991
|
phoneIsdCode: K,
|
|
4924
|
-
onPhoneIsdCodeChange:
|
|
4925
|
-
showV1ExtraFields:
|
|
4992
|
+
onPhoneIsdCodeChange: Pe,
|
|
4993
|
+
showV1ExtraFields: k ? A?.config.variant === "v1" : !1,
|
|
4926
4994
|
analytics: ie
|
|
4927
4995
|
}
|
|
4928
4996
|
)
|
|
@@ -4930,8 +4998,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4930
4998
|
/* @__PURE__ */ e.jsx(
|
|
4931
4999
|
Vr,
|
|
4932
5000
|
{
|
|
4933
|
-
t:
|
|
4934
|
-
values:
|
|
5001
|
+
t: O,
|
|
5002
|
+
values: U,
|
|
4935
5003
|
phoneIsdCode: K,
|
|
4936
5004
|
onProceed: _e,
|
|
4937
5005
|
onProceedGuidance: pe,
|
|
@@ -4939,13 +5007,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4939
5007
|
originalPriceLabel: oe,
|
|
4940
5008
|
discountedPriceLabel: H,
|
|
4941
5009
|
analytics: ie,
|
|
4942
|
-
showPlanSheet:
|
|
4943
|
-
confirmPlan:
|
|
5010
|
+
showPlanSheet: ye,
|
|
5011
|
+
confirmPlan: Se,
|
|
4944
5012
|
planSheetOpen: fe,
|
|
4945
5013
|
selectedPlan: ce
|
|
4946
5014
|
}
|
|
4947
5015
|
),
|
|
4948
|
-
|
|
5016
|
+
A?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
|
|
4949
5017
|
fi,
|
|
4950
5018
|
{
|
|
4951
5019
|
isOpen: fe,
|
|
@@ -4953,10 +5021,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4953
5021
|
selectedPlan: ce,
|
|
4954
5022
|
onSelectPlan: Ne,
|
|
4955
5023
|
onProceed: () => {
|
|
4956
|
-
|
|
5024
|
+
Se?.();
|
|
4957
5025
|
},
|
|
4958
|
-
plans:
|
|
4959
|
-
t:
|
|
5026
|
+
plans: A?.config.plans,
|
|
5027
|
+
t: O,
|
|
4960
5028
|
analytics: ie
|
|
4961
5029
|
}
|
|
4962
5030
|
)
|
|
@@ -5036,33 +5104,34 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
5036
5104
|
export {
|
|
5037
5105
|
di as C,
|
|
5038
5106
|
Ye as D,
|
|
5039
|
-
|
|
5040
|
-
|
|
5107
|
+
jt as F,
|
|
5108
|
+
vi as I,
|
|
5041
5109
|
Ci as K,
|
|
5042
|
-
|
|
5110
|
+
ya as L,
|
|
5043
5111
|
ja as P,
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5112
|
+
wa as S,
|
|
5113
|
+
Ir as U,
|
|
5114
|
+
xa as a,
|
|
5047
5115
|
ia as b,
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5116
|
+
xi as c,
|
|
5117
|
+
Si as d,
|
|
5118
|
+
St as e,
|
|
5119
|
+
Pt as f,
|
|
5120
|
+
Tt as g,
|
|
5053
5121
|
Me as h,
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5122
|
+
wi as i,
|
|
5123
|
+
Pi as j,
|
|
5124
|
+
e as k,
|
|
5125
|
+
ui as l,
|
|
5126
|
+
mi as m,
|
|
5127
|
+
zr as n,
|
|
5060
5128
|
sa as o,
|
|
5061
|
-
|
|
5062
|
-
|
|
5129
|
+
Na as p,
|
|
5130
|
+
Vr as q,
|
|
5063
5131
|
Ti as r,
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
vt as u
|
|
5132
|
+
wt as s,
|
|
5133
|
+
Sa as t,
|
|
5134
|
+
vt as u,
|
|
5135
|
+
fi as v
|
|
5067
5136
|
};
|
|
5068
|
-
//# sourceMappingURL=analytics-
|
|
5137
|
+
//# sourceMappingURL=analytics-DcnrQuYj.js.map
|