@srimandir/kundli-generator 5.21.1 → 5.21.2
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-CFSBD_1m.js → analytics-BshMK7pJ.js} +974 -1028
- package/dist/analytics-BshMK7pJ.js.map +1 -0
- package/dist/analytics.d.ts +4 -1
- package/dist/components/KundliForm/KundliForm.d.ts +5 -2
- package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +3 -2
- package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +15 -17
- package/dist/components/KundliPage/KundliContext.d.ts +3 -2
- package/dist/components/KundliPage/KundliPage.d.ts +3 -2
- package/dist/components/KundliPage/KundliPageV1.d.ts +3 -2
- package/dist/{criticalCss-B3cKi32x.js → criticalCss-fJR7ibY3.js} +6 -6
- package/dist/criticalCss-fJR7ibY3.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/phone.d.ts +12 -0
- package/package.json +2 -2
- package/dist/analytics-CFSBD_1m.js.map +0 -1
- package/dist/criticalCss-B3cKi32x.js.map +0 -1
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FormSectionHeader as
|
|
3
|
-
var Ie = { exports: {} },
|
|
1
|
+
import Ge, { useContext as We, createContext as ur, useState as W, useRef as H, useEffect as Y, useMemo as Ue, useCallback as Ne } from "react";
|
|
2
|
+
import { FormSectionHeader as Mr, FooterCTAButton as $r, FooterShell as Ur, CircularMarquee as Gr, footerShellStyles as ke, PageHeader as Wr } from "@srimandir/astrology-common";
|
|
3
|
+
var Ie = { exports: {} }, Se = {};
|
|
4
4
|
var nr;
|
|
5
|
-
function
|
|
6
|
-
if (nr) return
|
|
5
|
+
function Kr() {
|
|
6
|
+
if (nr) return Se;
|
|
7
7
|
nr = 1;
|
|
8
|
-
var t =
|
|
9
|
-
function
|
|
10
|
-
var c,
|
|
11
|
-
|
|
12
|
-
for (c in
|
|
13
|
-
if (
|
|
14
|
-
return { $$typeof: o, type:
|
|
8
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function x(j, A, E) {
|
|
10
|
+
var c, N = {}, p = null, I = null;
|
|
11
|
+
E !== void 0 && (p = "" + E), A.key !== void 0 && (p = "" + A.key), A.ref !== void 0 && (I = A.ref);
|
|
12
|
+
for (c in A) m.call(A, c) && !S.hasOwnProperty(c) && (N[c] = A[c]);
|
|
13
|
+
if (j && j.defaultProps) for (c in A = j.defaultProps, A) N[c] === void 0 && (N[c] = A[c]);
|
|
14
|
+
return { $$typeof: o, type: j, key: p, ref: I, props: N, _owner: k.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Se.Fragment = d, Se.jsx = x, Se.jsxs = x, Se;
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var Ee = {};
|
|
19
19
|
var or;
|
|
20
|
-
function
|
|
20
|
+
function Hr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t =
|
|
23
|
-
function
|
|
22
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), E = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, B = "@@iterator";
|
|
23
|
+
function C(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i =
|
|
26
|
+
var i = h && e[h] || e[B];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
30
|
function g(e) {
|
|
31
31
|
{
|
|
32
|
-
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0),
|
|
33
|
-
l[
|
|
34
|
-
|
|
32
|
+
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
33
|
+
l[u - 1] = arguments[u];
|
|
34
|
+
O("error", e, l);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function O(e, i, l) {
|
|
38
38
|
{
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
var
|
|
42
|
-
return String(
|
|
39
|
+
var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
|
|
40
|
+
P !== "" && (i += "%s", l = l.concat([P]));
|
|
41
|
+
var R = l.map(function(y) {
|
|
42
|
+
return String(y);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
R.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, R);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
47
|
+
var w = !1, D = !1, K = !1, z = !1, J = !1, G;
|
|
48
|
+
G = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function q(e) {
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || J || e === k || e === E || e === c || z || e === I || w || D || K || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === N || e.$$typeof === x || e.$$typeof === j || e.$$typeof === A || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
|
-
e.$$typeof ===
|
|
54
|
+
e.$$typeof === G || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
var
|
|
58
|
-
if (
|
|
59
|
-
return
|
|
60
|
-
var
|
|
61
|
-
return
|
|
56
|
+
function ce(e, i, l) {
|
|
57
|
+
var u = e.displayName;
|
|
58
|
+
if (u)
|
|
59
|
+
return u;
|
|
60
|
+
var P = i.displayName || i.name || "";
|
|
61
|
+
return P !== "" ? l + "(" + P + ")" : l;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function oe(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function L(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
69
|
if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -71,36 +71,36 @@ function Gr() {
|
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
73
73
|
switch (e) {
|
|
74
|
-
case
|
|
74
|
+
case m:
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case d:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case S:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case k:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case E:
|
|
83
83
|
return "Suspense";
|
|
84
84
|
case c:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof e == "object")
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
|
-
case
|
|
89
|
+
case j:
|
|
90
90
|
var i = e;
|
|
91
|
-
return
|
|
92
|
-
case
|
|
91
|
+
return oe(i) + ".Consumer";
|
|
92
|
+
case x:
|
|
93
93
|
var l = e;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
98
|
-
var
|
|
99
|
-
return
|
|
94
|
+
return oe(l._context) + ".Provider";
|
|
95
|
+
case A:
|
|
96
|
+
return ce(e, e.render, "ForwardRef");
|
|
97
|
+
case N:
|
|
98
|
+
var u = e.displayName || null;
|
|
99
|
+
return u !== null ? u : L(e.type) || "Memo";
|
|
100
100
|
case p: {
|
|
101
|
-
var
|
|
101
|
+
var P = e, R = P._payload, y = P._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return L(y(R));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,18 +108,18 @@ function Gr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
111
|
+
var T = Object.assign, F = 0, Q, he, me, V, ee, re, de;
|
|
112
|
+
function te() {
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
function
|
|
114
|
+
te.__reactDisabledLog = !0;
|
|
115
|
+
function pe() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (F === 0) {
|
|
118
|
+
Q = console.log, he = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
|
-
value:
|
|
122
|
+
value: te,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
@@ -132,208 +132,208 @@ function Gr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
F++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function ie() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (F--, F === 0) {
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
|
-
log:
|
|
148
|
-
value:
|
|
147
|
+
log: T({}, e, {
|
|
148
|
+
value: Q
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
151
|
-
value:
|
|
150
|
+
info: T({}, e, {
|
|
151
|
+
value: he
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
154
|
-
value:
|
|
153
|
+
warn: T({}, e, {
|
|
154
|
+
value: me
|
|
155
155
|
}),
|
|
156
|
-
error:
|
|
157
|
-
value:
|
|
156
|
+
error: T({}, e, {
|
|
157
|
+
value: V
|
|
158
158
|
}),
|
|
159
|
-
group:
|
|
160
|
-
value:
|
|
159
|
+
group: T({}, e, {
|
|
160
|
+
value: ee
|
|
161
161
|
}),
|
|
162
|
-
groupCollapsed:
|
|
163
|
-
value:
|
|
162
|
+
groupCollapsed: T({}, e, {
|
|
163
|
+
value: re
|
|
164
164
|
}),
|
|
165
|
-
groupEnd:
|
|
166
|
-
value:
|
|
165
|
+
groupEnd: T({}, e, {
|
|
166
|
+
value: de
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
F < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function
|
|
173
|
+
var ge = b.ReactCurrentDispatcher, ue;
|
|
174
|
+
function X(e, i, l) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (ue === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var
|
|
181
|
-
|
|
179
|
+
} catch (P) {
|
|
180
|
+
var u = P.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
ue = u && u[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + ue + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var be = !1, le;
|
|
188
188
|
{
|
|
189
189
|
var we = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
-
|
|
190
|
+
le = new we();
|
|
191
191
|
}
|
|
192
192
|
function _e(e, i) {
|
|
193
|
-
if (!e ||
|
|
193
|
+
if (!e || be)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var l =
|
|
196
|
+
var l = le.get(e);
|
|
197
197
|
if (l !== void 0)
|
|
198
198
|
return l;
|
|
199
199
|
}
|
|
200
|
-
var
|
|
201
|
-
|
|
202
|
-
var
|
|
200
|
+
var u;
|
|
201
|
+
be = !0;
|
|
202
|
+
var P = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var R;
|
|
205
|
+
R = ge.current, ge.current = null, pe();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
|
-
var
|
|
208
|
+
var y = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(y.prototype, "props", {
|
|
212
212
|
set: function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
}
|
|
215
215
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
216
|
try {
|
|
217
|
-
Reflect.construct(
|
|
218
|
-
} catch (
|
|
219
|
-
|
|
217
|
+
Reflect.construct(y, []);
|
|
218
|
+
} catch (ne) {
|
|
219
|
+
u = ne;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(e, [],
|
|
221
|
+
Reflect.construct(e, [], y);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
225
|
-
} catch (
|
|
226
|
-
|
|
224
|
+
y.call();
|
|
225
|
+
} catch (ne) {
|
|
226
|
+
u = ne;
|
|
227
227
|
}
|
|
228
|
-
e.call(
|
|
228
|
+
e.call(y.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
|
-
} catch (
|
|
234
|
-
|
|
233
|
+
} catch (ne) {
|
|
234
|
+
u = ne;
|
|
235
235
|
}
|
|
236
236
|
e();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var
|
|
241
|
-
`),
|
|
242
|
-
`),
|
|
243
|
-
|
|
244
|
-
for (;
|
|
245
|
-
if (
|
|
246
|
-
if (
|
|
238
|
+
} catch (ne) {
|
|
239
|
+
if (ne && u && typeof ne.stack == "string") {
|
|
240
|
+
for (var _ = ne.stack.split(`
|
|
241
|
+
`), Z = u.stack.split(`
|
|
242
|
+
`), $ = _.length - 1, U = Z.length - 1; $ >= 1 && U >= 0 && _[$] !== Z[U]; )
|
|
243
|
+
U--;
|
|
244
|
+
for (; $ >= 1 && U >= 0; $--, U--)
|
|
245
|
+
if (_[$] !== Z[U]) {
|
|
246
|
+
if ($ !== 1 || U !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
249
|
-
var
|
|
250
|
-
` +
|
|
251
|
-
return e.displayName &&
|
|
248
|
+
if ($--, U--, U < 0 || _[$] !== Z[U]) {
|
|
249
|
+
var se = `
|
|
250
|
+
` + _[$].replace(" at new ", " at ");
|
|
251
|
+
return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, se), se;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while ($ >= 1 && U >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
be = !1, ge.current = R, ie(), Error.prepareStackTrace = P;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
261
|
-
return typeof e == "function" &&
|
|
260
|
+
var Ae = e ? e.displayName || e.name : "", ve = Ae ? X(Ae) : "";
|
|
261
|
+
return typeof e == "function" && le.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function xe(e, i, l) {
|
|
264
264
|
return _e(e, !1);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function ye(e) {
|
|
267
267
|
var i = e.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function v(e, i, l) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
274
|
-
return _e(e,
|
|
274
|
+
return _e(e, ye(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
|
-
return
|
|
276
|
+
return X(e);
|
|
277
277
|
switch (e) {
|
|
278
|
-
case
|
|
279
|
-
return
|
|
278
|
+
case E:
|
|
279
|
+
return X("Suspense");
|
|
280
280
|
case c:
|
|
281
|
-
return
|
|
281
|
+
return X("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
286
|
-
return
|
|
287
|
-
case
|
|
288
|
-
return
|
|
285
|
+
case A:
|
|
286
|
+
return xe(e.render);
|
|
287
|
+
case N:
|
|
288
|
+
return v(e.type, i, l);
|
|
289
289
|
case p: {
|
|
290
|
-
var
|
|
290
|
+
var u = e, P = u._payload, R = u._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return v(R(P), i, l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty, s = {},
|
|
300
|
-
function
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, s = {}, M = b.ReactDebugCurrentFrame;
|
|
300
|
+
function ae(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var i = e._owner, l =
|
|
303
|
-
|
|
302
|
+
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
303
|
+
M.setExtraStackFrame(l);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
M.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Re(e, i, l, u, P) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
310
|
-
for (var
|
|
311
|
-
if (
|
|
312
|
-
var
|
|
309
|
+
var R = Function.call.bind(n);
|
|
310
|
+
for (var y in e)
|
|
311
|
+
if (R(e, y)) {
|
|
312
|
+
var _ = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof e[
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
314
|
+
if (typeof e[y] != "function") {
|
|
315
|
+
var Z = Error((u || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw Z.name = "Invariant Violation", Z;
|
|
317
317
|
}
|
|
318
|
-
|
|
319
|
-
} catch (
|
|
320
|
-
|
|
318
|
+
_ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch ($) {
|
|
320
|
+
_ = $;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
_ && !(_ instanceof Error) && (ae(P), g("%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).", u || "React class", l, y, typeof _), ae(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, ae(P), g("Failed %s type: %s", l, _.message), ae(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
328
|
-
return
|
|
326
|
+
var Le = Array.isArray;
|
|
327
|
+
function De(e) {
|
|
328
|
+
return Le(e);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function yr(e) {
|
|
331
331
|
{
|
|
332
332
|
var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
333
333
|
return l;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function vr(e) {
|
|
337
337
|
try {
|
|
338
338
|
return Ye(e), !1;
|
|
339
339
|
} catch {
|
|
@@ -344,16 +344,16 @@ function Gr() {
|
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
346
|
function qe(e) {
|
|
347
|
-
if (
|
|
348
|
-
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
347
|
+
if (vr(e))
|
|
348
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yr(e)), Ye(e);
|
|
349
349
|
}
|
|
350
|
-
var Ve =
|
|
350
|
+
var Ve = b.ReactCurrentOwner, kr = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
|
-
},
|
|
356
|
-
function
|
|
355
|
+
}, ze, Je;
|
|
356
|
+
function wr(e) {
|
|
357
357
|
if (n.call(e, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
@@ -361,7 +361,7 @@ function Gr() {
|
|
|
361
361
|
}
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function xr(e) {
|
|
365
365
|
if (n.call(e, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
@@ -369,13 +369,13 @@ function Gr() {
|
|
|
369
369
|
}
|
|
370
370
|
return e.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Pr(e, i) {
|
|
373
373
|
typeof e.ref == "string" && Ve.current;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Ar(e, i) {
|
|
376
376
|
{
|
|
377
377
|
var l = function() {
|
|
378
|
-
|
|
378
|
+
ze || (ze = !0, g("%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)", i));
|
|
379
379
|
};
|
|
380
380
|
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
381
|
get: l,
|
|
@@ -383,10 +383,10 @@ function Gr() {
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Cr(e, i) {
|
|
387
387
|
{
|
|
388
388
|
var l = function() {
|
|
389
|
-
|
|
389
|
+
Je || (Je = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
390
390
|
};
|
|
391
391
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: l,
|
|
@@ -394,70 +394,70 @@ function Gr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
398
|
-
var
|
|
397
|
+
var jr = function(e, i, l, u, P, R, y) {
|
|
398
|
+
var _ = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: o,
|
|
401
401
|
// Built-in properties that belong on the element
|
|
402
402
|
type: e,
|
|
403
403
|
key: i,
|
|
404
404
|
ref: l,
|
|
405
|
-
props:
|
|
405
|
+
props: y,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: R
|
|
408
408
|
};
|
|
409
|
-
return
|
|
409
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
411
411
|
enumerable: !1,
|
|
412
412
|
writable: !0,
|
|
413
413
|
value: !1
|
|
414
|
-
}), Object.defineProperty(
|
|
414
|
+
}), Object.defineProperty(_, "_self", {
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !1,
|
|
418
|
-
value:
|
|
419
|
-
}), Object.defineProperty(
|
|
418
|
+
value: u
|
|
419
|
+
}), Object.defineProperty(_, "_source", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
424
|
-
}), Object.freeze && (Object.freeze(
|
|
423
|
+
value: P
|
|
424
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Nr(e, i, l, u, P) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
429
|
-
l !== void 0 && (qe(l),
|
|
430
|
-
for (
|
|
431
|
-
n.call(i,
|
|
428
|
+
var R, y = {}, _ = null, Z = null;
|
|
429
|
+
l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (Z = i.ref, Pr(i, P));
|
|
430
|
+
for (R in i)
|
|
431
|
+
n.call(i, R) && !kr.hasOwnProperty(R) && (y[R] = i[R]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (
|
|
435
|
-
|
|
433
|
+
var $ = e.defaultProps;
|
|
434
|
+
for (R in $)
|
|
435
|
+
y[R] === void 0 && (y[R] = $[R]);
|
|
436
436
|
}
|
|
437
|
-
if (
|
|
438
|
-
var
|
|
439
|
-
|
|
437
|
+
if (_ || Z) {
|
|
438
|
+
var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
+
_ && Ar(y, U), Z && Cr(y, U);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return jr(e, _, Z, P, u, Ve.current, y);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe =
|
|
445
|
-
function
|
|
444
|
+
var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
|
|
445
|
+
function Pe(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var i = e._owner, l =
|
|
447
|
+
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
448
448
|
Qe.setExtraStackFrame(l);
|
|
449
449
|
} else
|
|
450
450
|
Qe.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
|
|
454
|
-
function
|
|
452
|
+
var Oe;
|
|
453
|
+
Oe = !1;
|
|
454
|
+
function Me(e) {
|
|
455
455
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
456
456
|
}
|
|
457
457
|
function Xe() {
|
|
458
458
|
{
|
|
459
459
|
if (Fe.current) {
|
|
460
|
-
var e =
|
|
460
|
+
var e = L(Fe.current.type);
|
|
461
461
|
if (e)
|
|
462
462
|
return `
|
|
463
463
|
|
|
@@ -466,11 +466,11 @@ Check the render method of \`` + e + "`.";
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Tr(e) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
var Ze = {};
|
|
473
|
-
function
|
|
473
|
+
function Rr(e) {
|
|
474
474
|
{
|
|
475
475
|
var i = Xe();
|
|
476
476
|
if (!i) {
|
|
@@ -487,34 +487,34 @@ Check the top-level render call using <` + l + ">.");
|
|
|
487
487
|
if (!e._store || e._store.validated || e.key != null)
|
|
488
488
|
return;
|
|
489
489
|
e._store.validated = !0;
|
|
490
|
-
var l =
|
|
490
|
+
var l = Rr(i);
|
|
491
491
|
if (Ze[l])
|
|
492
492
|
return;
|
|
493
493
|
Ze[l] = !0;
|
|
494
|
-
var
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (
|
|
494
|
+
var u = "";
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + L(e._owner.type) + "."), Pe(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Pe(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function rr(e, i) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
|
-
if (
|
|
502
|
+
if (De(e))
|
|
503
503
|
for (var l = 0; l < e.length; l++) {
|
|
504
|
-
var
|
|
505
|
-
|
|
504
|
+
var u = e[l];
|
|
505
|
+
Me(u) && er(u, i);
|
|
506
506
|
}
|
|
507
|
-
else if (
|
|
507
|
+
else if (Me(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var
|
|
513
|
-
|
|
510
|
+
var P = C(e);
|
|
511
|
+
if (typeof P == "function" && P !== e.entries)
|
|
512
|
+
for (var R = P.call(e), y; !(y = R.next()).done; )
|
|
513
|
+
Me(y.value) && er(y.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Sr(e) {
|
|
518
518
|
{
|
|
519
519
|
var i = e.type;
|
|
520
520
|
if (i == null || typeof i == "string")
|
|
@@ -522,99 +522,99 @@ Check the top-level render call using <` + l + ">.");
|
|
|
522
522
|
var l;
|
|
523
523
|
if (typeof i == "function")
|
|
524
524
|
l = i.propTypes;
|
|
525
|
-
else if (typeof i == "object" && (i.$$typeof ===
|
|
525
|
+
else if (typeof i == "object" && (i.$$typeof === A || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
i.$$typeof ===
|
|
527
|
+
i.$$typeof === N))
|
|
528
528
|
l = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (l) {
|
|
532
|
-
var
|
|
533
|
-
|
|
534
|
-
} else if (i.PropTypes !== void 0 && !
|
|
535
|
-
|
|
536
|
-
var
|
|
537
|
-
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
532
|
+
var u = L(i);
|
|
533
|
+
Re(l, e.props, "prop", u, e);
|
|
534
|
+
} else if (i.PropTypes !== void 0 && !Oe) {
|
|
535
|
+
Oe = !0;
|
|
536
|
+
var P = L(i);
|
|
537
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
|
|
538
538
|
}
|
|
539
539
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Er(e) {
|
|
543
543
|
{
|
|
544
544
|
for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
|
|
545
|
-
var
|
|
546
|
-
if (
|
|
547
|
-
|
|
545
|
+
var u = i[l];
|
|
546
|
+
if (u !== "children" && u !== "key") {
|
|
547
|
+
Pe(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (
|
|
551
|
+
e.ref !== null && (Pe(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var tr = {};
|
|
555
|
-
function ar(e, i, l,
|
|
555
|
+
function ar(e, i, l, u, P, R) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
559
|
-
var
|
|
560
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
561
|
-
var
|
|
562
|
-
|
|
563
|
-
var
|
|
564
|
-
e === null ?
|
|
557
|
+
var y = q(e);
|
|
558
|
+
if (!y) {
|
|
559
|
+
var _ = "";
|
|
560
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
+
var Z = Tr();
|
|
562
|
+
Z ? _ += Z : _ += Xe();
|
|
563
|
+
var $;
|
|
564
|
+
e === null ? $ = "null" : De(e) ? $ = "array" : e !== void 0 && e.$$typeof === o ? ($ = "<" + (L(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, _);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
569
|
-
if (
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
573
|
-
if (
|
|
574
|
-
for (var
|
|
575
|
-
rr(
|
|
576
|
-
Object.freeze && Object.freeze(
|
|
566
|
+
var U = Nr(e, i, l, P, R);
|
|
567
|
+
if (U == null)
|
|
568
|
+
return U;
|
|
569
|
+
if (y) {
|
|
570
|
+
var se = i.children;
|
|
571
|
+
if (se !== void 0)
|
|
572
|
+
if (u)
|
|
573
|
+
if (De(se)) {
|
|
574
|
+
for (var Ae = 0; Ae < se.length; Ae++)
|
|
575
|
+
rr(se[Ae], e);
|
|
576
|
+
Object.freeze && Object.freeze(se);
|
|
577
577
|
} else
|
|
578
578
|
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
|
-
rr(
|
|
580
|
+
rr(se, e);
|
|
581
581
|
}
|
|
582
582
|
if (n.call(i, "key")) {
|
|
583
|
-
var ve =
|
|
584
|
-
return
|
|
585
|
-
}),
|
|
586
|
-
if (!tr[ve +
|
|
587
|
-
var
|
|
583
|
+
var ve = L(e), ne = Object.keys(i).filter(function(Or) {
|
|
584
|
+
return Or !== "key";
|
|
585
|
+
}), $e = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!tr[ve + $e]) {
|
|
587
|
+
var Fr = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
|
|
588
588
|
g(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`,
|
|
593
|
+
<%s key={someKey} {...props} />`, $e, ve, Fr, ve), tr[ve + $e] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e ===
|
|
596
|
+
return e === m ? Er(U) : Sr(U), U;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function Ir(e, i, l) {
|
|
600
600
|
return ar(e, i, l, !0);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function Br(e, i, l) {
|
|
603
603
|
return ar(e, i, l, !1);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
|
|
607
|
-
})()),
|
|
605
|
+
var Lr = Br, Dr = Ir;
|
|
606
|
+
Ee.Fragment = m, Ee.jsx = Lr, Ee.jsxs = Dr;
|
|
607
|
+
})()), Ee;
|
|
608
608
|
}
|
|
609
609
|
var ir;
|
|
610
|
-
function
|
|
611
|
-
return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports =
|
|
610
|
+
function Yr() {
|
|
611
|
+
return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Kr() : Ie.exports = Hr()), Ie.exports;
|
|
612
612
|
}
|
|
613
|
-
var r =
|
|
614
|
-
const
|
|
613
|
+
var r = Yr();
|
|
614
|
+
const mr = ["en", "hi"], lr = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
617
|
-
},
|
|
617
|
+
}, fr = {
|
|
618
618
|
en: {
|
|
619
619
|
kundli: "Kundli",
|
|
620
620
|
birthChart: "Birth Chart",
|
|
@@ -1046,39 +1046,39 @@ const dr = ["en", "hi"], lr = {
|
|
|
1046
1046
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
1047
|
selectPackage: "पैकेज चुनें"
|
|
1048
1048
|
}
|
|
1049
|
-
},
|
|
1049
|
+
}, pr = ur(null), Ln = ({
|
|
1050
1050
|
locale: t,
|
|
1051
1051
|
children: o
|
|
1052
1052
|
}) => {
|
|
1053
|
-
const
|
|
1054
|
-
return /* @__PURE__ */ r.jsx(
|
|
1053
|
+
const m = { locale: t, t: (k) => fr[t]?.[k] ?? k };
|
|
1054
|
+
return /* @__PURE__ */ r.jsx(pr.Provider, { value: m, children: o });
|
|
1055
1055
|
};
|
|
1056
|
-
function
|
|
1057
|
-
return We(
|
|
1056
|
+
function qr() {
|
|
1057
|
+
return We(pr);
|
|
1058
1058
|
}
|
|
1059
|
-
const
|
|
1060
|
-
container:
|
|
1061
|
-
main:
|
|
1062
|
-
kundliHeaderNoBorder:
|
|
1063
|
-
headerSeparator:
|
|
1064
|
-
langDropdownWrap:
|
|
1065
|
-
langTrigger:
|
|
1066
|
-
langIcon:
|
|
1067
|
-
langLabel:
|
|
1068
|
-
langMenu:
|
|
1069
|
-
langOption:
|
|
1070
|
-
},
|
|
1071
|
-
const { priority: o, fetchPriority: d, width:
|
|
1072
|
-
return
|
|
1073
|
-
...
|
|
1074
|
-
width:
|
|
1075
|
-
height:
|
|
1059
|
+
const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", fe = {
|
|
1060
|
+
container: Vr,
|
|
1061
|
+
main: zr,
|
|
1062
|
+
kundliHeaderNoBorder: Jr,
|
|
1063
|
+
headerSeparator: Qr,
|
|
1064
|
+
langDropdownWrap: Xr,
|
|
1065
|
+
langTrigger: Zr,
|
|
1066
|
+
langIcon: et,
|
|
1067
|
+
langLabel: rt,
|
|
1068
|
+
langMenu: tt,
|
|
1069
|
+
langOption: at
|
|
1070
|
+
}, Be = (t) => {
|
|
1071
|
+
const { priority: o, fetchPriority: d, width: m, height: k, ...S } = t;
|
|
1072
|
+
return Ge.createElement("img", {
|
|
1073
|
+
...S,
|
|
1074
|
+
width: m ?? 1,
|
|
1075
|
+
height: k ?? 1,
|
|
1076
1076
|
decoding: "async",
|
|
1077
|
-
loading:
|
|
1077
|
+
loading: S.loading ?? (o ? "eager" : "lazy"),
|
|
1078
1078
|
...d && { fetchPriority: d }
|
|
1079
1079
|
});
|
|
1080
1080
|
};
|
|
1081
|
-
function
|
|
1081
|
+
function nt(t) {
|
|
1082
1082
|
if (typeof window > "u" || !window.localStorage)
|
|
1083
1083
|
return null;
|
|
1084
1084
|
try {
|
|
@@ -1087,21 +1087,21 @@ function rt(t) {
|
|
|
1087
1087
|
return null;
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function ot(t, o) {
|
|
1091
1091
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1092
1092
|
try {
|
|
1093
1093
|
window.localStorage.setItem(t, o);
|
|
1094
1094
|
} catch {
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function Dn(t) {
|
|
1098
1098
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1099
1099
|
try {
|
|
1100
1100
|
window.localStorage.removeItem(t);
|
|
1101
1101
|
} catch {
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function Fn() {
|
|
1105
1105
|
if (typeof window > "u" || !window.localStorage)
|
|
1106
1106
|
return !1;
|
|
1107
1107
|
try {
|
|
@@ -1111,15 +1111,15 @@ function In() {
|
|
|
1111
1111
|
return !1;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
const
|
|
1115
|
-
function
|
|
1116
|
-
const t =
|
|
1117
|
-
return t &&
|
|
1114
|
+
const hr = "kundli_language";
|
|
1115
|
+
function it() {
|
|
1116
|
+
const t = nt(hr);
|
|
1117
|
+
return t && mr.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1120
|
-
|
|
1119
|
+
function lt(t) {
|
|
1120
|
+
ot(hr, t);
|
|
1121
1121
|
}
|
|
1122
|
-
const
|
|
1122
|
+
const Ke = ur(null), st = {
|
|
1123
1123
|
fullName: "",
|
|
1124
1124
|
phone: "",
|
|
1125
1125
|
gender: "",
|
|
@@ -1128,351 +1128,267 @@ const He = cr(null), ot = {
|
|
|
1128
1128
|
dateOfBirth: "",
|
|
1129
1129
|
birthTime: "",
|
|
1130
1130
|
birthTimeUnknown: !1,
|
|
1131
|
-
birthPlace: ""
|
|
1132
|
-
|
|
1131
|
+
birthPlace: "",
|
|
1132
|
+
birthPlaceLat: void 0,
|
|
1133
|
+
birthPlaceLng: void 0
|
|
1134
|
+
}, On = ({
|
|
1133
1135
|
locale: t,
|
|
1134
1136
|
showLanguageSelector: o = !0,
|
|
1135
1137
|
showSheet: d,
|
|
1136
|
-
userId:
|
|
1137
|
-
isGlobal:
|
|
1138
|
-
variant:
|
|
1139
|
-
|
|
1140
|
-
logoUrl:
|
|
1141
|
-
reportImageUrl:
|
|
1142
|
-
reportImagePriority:
|
|
1138
|
+
userId: m,
|
|
1139
|
+
isGlobal: k,
|
|
1140
|
+
variant: S,
|
|
1141
|
+
atlasSearchLocalities: x,
|
|
1142
|
+
logoUrl: j,
|
|
1143
|
+
reportImageUrl: A,
|
|
1144
|
+
reportImagePriority: E,
|
|
1143
1145
|
backgroundImagePriority: c,
|
|
1144
|
-
universityLogoUrls:
|
|
1146
|
+
universityLogoUrls: N,
|
|
1145
1147
|
sampleReportHref: p,
|
|
1146
|
-
onViewSampleReport:
|
|
1147
|
-
ctaHref:
|
|
1148
|
-
onCtaClick:
|
|
1149
|
-
onBack:
|
|
1150
|
-
readMoreReviewsHref:
|
|
1148
|
+
onViewSampleReport: I,
|
|
1149
|
+
ctaHref: h,
|
|
1150
|
+
onCtaClick: B,
|
|
1151
|
+
onBack: C,
|
|
1152
|
+
readMoreReviewsHref: b,
|
|
1151
1153
|
onProceed: g,
|
|
1152
|
-
proceedHref:
|
|
1153
|
-
originalPriceLabel:
|
|
1154
|
-
discountedPriceLabel:
|
|
1155
|
-
discountPillLabel:
|
|
1156
|
-
analytics:
|
|
1157
|
-
onProceedGuidance:
|
|
1158
|
-
onLocaleChange:
|
|
1159
|
-
imageComponent:
|
|
1160
|
-
children:
|
|
1154
|
+
proceedHref: O,
|
|
1155
|
+
originalPriceLabel: w,
|
|
1156
|
+
discountedPriceLabel: D,
|
|
1157
|
+
discountPillLabel: K,
|
|
1158
|
+
analytics: z,
|
|
1159
|
+
onProceedGuidance: J,
|
|
1160
|
+
onLocaleChange: G,
|
|
1161
|
+
imageComponent: q = Be,
|
|
1162
|
+
children: ce
|
|
1161
1163
|
}) => {
|
|
1162
|
-
const [
|
|
1163
|
-
|
|
1164
|
-
const
|
|
1165
|
-
|
|
1166
|
-
}, []),
|
|
1167
|
-
|
|
1168
|
-
}, [
|
|
1169
|
-
if (
|
|
1170
|
-
|
|
1164
|
+
const [oe, L] = W("landing"), [T, F] = W(t ?? "en"), [Q, he] = W(st), me = H(!0);
|
|
1165
|
+
Y(() => {
|
|
1166
|
+
const te = it();
|
|
1167
|
+
te && F(te);
|
|
1168
|
+
}, []), Y(() => {
|
|
1169
|
+
lt(T);
|
|
1170
|
+
}, [T]), Y(() => {
|
|
1171
|
+
if (me.current) {
|
|
1172
|
+
me.current = !1;
|
|
1171
1173
|
return;
|
|
1172
1174
|
}
|
|
1173
|
-
|
|
1174
|
-
}, [
|
|
1175
|
-
const
|
|
1175
|
+
G?.(T);
|
|
1176
|
+
}, [T, G]);
|
|
1177
|
+
const V = Ue(
|
|
1176
1178
|
() => ({
|
|
1177
1179
|
locale: t,
|
|
1178
1180
|
showLanguageSelector: o,
|
|
1179
1181
|
showSheet: d,
|
|
1180
|
-
userId:
|
|
1181
|
-
isGlobal:
|
|
1182
|
-
variant:
|
|
1183
|
-
|
|
1184
|
-
logoUrl:
|
|
1185
|
-
reportImageUrl:
|
|
1186
|
-
reportImagePriority:
|
|
1182
|
+
userId: m,
|
|
1183
|
+
isGlobal: k,
|
|
1184
|
+
variant: S,
|
|
1185
|
+
atlasSearchLocalities: x,
|
|
1186
|
+
logoUrl: j,
|
|
1187
|
+
reportImageUrl: A,
|
|
1188
|
+
reportImagePriority: E,
|
|
1187
1189
|
backgroundImagePriority: c,
|
|
1188
|
-
universityLogoUrls:
|
|
1190
|
+
universityLogoUrls: N,
|
|
1189
1191
|
sampleReportHref: p,
|
|
1190
|
-
onViewSampleReport:
|
|
1191
|
-
ctaHref:
|
|
1192
|
-
onCtaClick:
|
|
1193
|
-
onBack:
|
|
1194
|
-
readMoreReviewsHref:
|
|
1192
|
+
onViewSampleReport: I,
|
|
1193
|
+
ctaHref: h,
|
|
1194
|
+
onCtaClick: B,
|
|
1195
|
+
onBack: C,
|
|
1196
|
+
readMoreReviewsHref: b,
|
|
1195
1197
|
onProceed: g,
|
|
1196
|
-
proceedHref:
|
|
1197
|
-
originalPriceLabel:
|
|
1198
|
-
discountedPriceLabel:
|
|
1199
|
-
discountPillLabel:
|
|
1200
|
-
analytics:
|
|
1201
|
-
onProceedGuidance:
|
|
1202
|
-
onLocaleChange:
|
|
1203
|
-
imageComponent:
|
|
1198
|
+
proceedHref: O,
|
|
1199
|
+
originalPriceLabel: w,
|
|
1200
|
+
discountedPriceLabel: D,
|
|
1201
|
+
discountPillLabel: K,
|
|
1202
|
+
analytics: z,
|
|
1203
|
+
onProceedGuidance: J,
|
|
1204
|
+
onLocaleChange: G,
|
|
1205
|
+
imageComponent: q
|
|
1204
1206
|
}),
|
|
1205
1207
|
[
|
|
1206
1208
|
t,
|
|
1207
1209
|
o,
|
|
1208
1210
|
d,
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
+
m,
|
|
1212
|
+
k,
|
|
1213
|
+
S,
|
|
1211
1214
|
x,
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
F,
|
|
1215
|
+
j,
|
|
1216
|
+
A,
|
|
1217
|
+
E,
|
|
1216
1218
|
c,
|
|
1217
|
-
|
|
1219
|
+
N,
|
|
1218
1220
|
p,
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1221
|
+
I,
|
|
1222
|
+
h,
|
|
1223
|
+
B,
|
|
1224
|
+
C,
|
|
1225
|
+
b,
|
|
1224
1226
|
g,
|
|
1225
|
-
G,
|
|
1226
|
-
_,
|
|
1227
|
-
M,
|
|
1228
1227
|
O,
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1228
|
+
w,
|
|
1229
|
+
D,
|
|
1230
|
+
K,
|
|
1231
|
+
z,
|
|
1232
|
+
J,
|
|
1233
|
+
G,
|
|
1234
|
+
q
|
|
1233
1235
|
]
|
|
1234
|
-
),
|
|
1235
|
-
|
|
1236
|
-
}, [
|
|
1237
|
-
|
|
1238
|
-
}, [
|
|
1236
|
+
), ee = Ne(() => {
|
|
1237
|
+
L("form");
|
|
1238
|
+
}, [V.analytics]), re = Ne(() => {
|
|
1239
|
+
L("landing"), V.onBack?.();
|
|
1240
|
+
}, [V.onBack]), de = Ue(
|
|
1239
1241
|
() => ({
|
|
1240
|
-
view:
|
|
1241
|
-
locale:
|
|
1242
|
-
setLocale:
|
|
1243
|
-
config:
|
|
1244
|
-
formValues:
|
|
1245
|
-
setFormValues:
|
|
1246
|
-
goToForm:
|
|
1247
|
-
goToPage:
|
|
1248
|
-
onProceed:
|
|
1249
|
-
onProceedGuidance:
|
|
1242
|
+
view: oe,
|
|
1243
|
+
locale: T,
|
|
1244
|
+
setLocale: F,
|
|
1245
|
+
config: V,
|
|
1246
|
+
formValues: Q,
|
|
1247
|
+
setFormValues: he,
|
|
1248
|
+
goToForm: ee,
|
|
1249
|
+
goToPage: re,
|
|
1250
|
+
onProceed: V.onProceed,
|
|
1251
|
+
onProceedGuidance: V.onProceedGuidance
|
|
1250
1252
|
}),
|
|
1251
|
-
[
|
|
1253
|
+
[oe, T, V, Q, ee, re]
|
|
1252
1254
|
);
|
|
1253
|
-
return /* @__PURE__ */ r.jsx(
|
|
1255
|
+
return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: ce });
|
|
1254
1256
|
};
|
|
1255
|
-
function
|
|
1256
|
-
return We(
|
|
1257
|
+
function Te() {
|
|
1258
|
+
return We(Ke);
|
|
1257
1259
|
}
|
|
1258
|
-
function
|
|
1259
|
-
const t = We(
|
|
1260
|
+
function Mn() {
|
|
1261
|
+
const t = We(Ke);
|
|
1260
1262
|
if (!t)
|
|
1261
1263
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1262
1264
|
return t;
|
|
1263
1265
|
}
|
|
1264
|
-
const
|
|
1265
|
-
header:
|
|
1266
|
-
centered:
|
|
1267
|
-
},
|
|
1266
|
+
const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
1267
|
+
header: ct,
|
|
1268
|
+
centered: dt
|
|
1269
|
+
}, ut = ({
|
|
1268
1270
|
t,
|
|
1269
1271
|
onBack: o,
|
|
1270
1272
|
className: d = "",
|
|
1271
|
-
align:
|
|
1273
|
+
align: m = "left"
|
|
1272
1274
|
}) => /* @__PURE__ */ r.jsx(
|
|
1273
|
-
|
|
1275
|
+
Mr,
|
|
1274
1276
|
{
|
|
1275
1277
|
title: t("formTitle"),
|
|
1276
1278
|
subtitle: t("formSubtitle"),
|
|
1277
1279
|
onBack: o,
|
|
1278
1280
|
backAriaLabel: t("back"),
|
|
1279
|
-
className: `${sr.header} ${
|
|
1280
|
-
}
|
|
1281
|
-
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Kt = "_timePopover_kiw0x_359", Wt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", Jt = "_meridiemActive_kiw0x_429", zt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
|
|
1282
|
-
wrap: ct,
|
|
1283
|
-
card: dt,
|
|
1284
|
-
cardInner: ut,
|
|
1285
|
-
field: mt,
|
|
1286
|
-
labelRow: ft,
|
|
1287
|
-
label: pt,
|
|
1288
|
-
req: ht,
|
|
1289
|
-
help: gt,
|
|
1290
|
-
choiceRow: _t,
|
|
1291
|
-
choiceBtn: bt,
|
|
1292
|
-
choiceBtnActive: yt,
|
|
1293
|
-
infoBtn: kt,
|
|
1294
|
-
infoImg: vt,
|
|
1295
|
-
infoWrap: xt,
|
|
1296
|
-
tooltip: wt,
|
|
1297
|
-
tooltipArrow: Pt,
|
|
1298
|
-
inputWrap: At,
|
|
1299
|
-
isdWrap: Ct,
|
|
1300
|
-
phoneInputGroup: jt,
|
|
1301
|
-
isdSelectWrap: Nt,
|
|
1302
|
-
isdSelectTrigger: Tt,
|
|
1303
|
-
isdDropdown: Rt,
|
|
1304
|
-
isdSearchWrap: St,
|
|
1305
|
-
isdSearchInput: Et,
|
|
1306
|
-
isdOption: It,
|
|
1307
|
-
isdOptionActive: Bt,
|
|
1308
|
-
isdCountryName: Lt,
|
|
1309
|
-
isdCountryCode: Dt,
|
|
1310
|
-
isdNoResult: Ot,
|
|
1311
|
-
suggestions: Ft,
|
|
1312
|
-
suggestionItem: Mt,
|
|
1313
|
-
suggestionMain: $t,
|
|
1314
|
-
suggestionSecondary: Ut,
|
|
1315
|
-
suggestionsHint: Gt,
|
|
1316
|
-
timePopover: Kt,
|
|
1317
|
-
timePickerRow: Wt,
|
|
1318
|
-
timePickerSelect: Ht,
|
|
1319
|
-
timePickerColon: Yt,
|
|
1320
|
-
meridiemToggle: qt,
|
|
1321
|
-
meridiemBtn: Vt,
|
|
1322
|
-
meridiemActive: Jt,
|
|
1323
|
-
timePopoverActions: zt,
|
|
1324
|
-
timePopoverBtn: Qt,
|
|
1325
|
-
timePopoverOk: Xt,
|
|
1326
|
-
input: Zt,
|
|
1327
|
-
phoneInput: ea,
|
|
1328
|
-
iconBtn: ra,
|
|
1329
|
-
iconBtnInteractive: ta,
|
|
1330
|
-
iconImg: aa,
|
|
1331
|
-
checkboxRow: na,
|
|
1332
|
-
checkbox: oa,
|
|
1333
|
-
checkboxText: ia
|
|
1334
|
-
};
|
|
1335
|
-
let Be = null;
|
|
1336
|
-
const la = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((d, u) => {
|
|
1337
|
-
const y = document.querySelector(
|
|
1338
|
-
'script[data-google-maps-places="true"]'
|
|
1339
|
-
);
|
|
1340
|
-
if (y) {
|
|
1341
|
-
y.addEventListener("load", () => d()), y.addEventListener(
|
|
1342
|
-
"error",
|
|
1343
|
-
() => u(new Error("Failed to load Google Maps API"))
|
|
1344
|
-
);
|
|
1345
|
-
return;
|
|
1281
|
+
className: `${sr.header} ${m === "center" ? sr.centered : ""} ${d}`
|
|
1346
1282
|
}
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1283
|
+
), mt = "_wrap_119w3_1", ft = "_card_119w3_5", pt = "_cardInner_119w3_12", ht = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
|
|
1284
|
+
wrap: mt,
|
|
1285
|
+
card: ft,
|
|
1286
|
+
cardInner: pt,
|
|
1287
|
+
field: ht,
|
|
1288
|
+
labelRow: gt,
|
|
1289
|
+
label: _t,
|
|
1290
|
+
req: bt,
|
|
1291
|
+
help: yt,
|
|
1292
|
+
choiceRow: vt,
|
|
1293
|
+
choiceBtn: kt,
|
|
1294
|
+
choiceBtnActive: wt,
|
|
1295
|
+
infoBtn: xt,
|
|
1296
|
+
infoImg: Pt,
|
|
1297
|
+
infoWrap: At,
|
|
1298
|
+
tooltip: Ct,
|
|
1299
|
+
tooltipArrow: jt,
|
|
1300
|
+
inputWrap: Nt,
|
|
1301
|
+
isdWrap: Tt,
|
|
1302
|
+
phoneInputGroup: Rt,
|
|
1303
|
+
isdSelectWrap: St,
|
|
1304
|
+
isdSelectTrigger: Et,
|
|
1305
|
+
isdDropdown: It,
|
|
1306
|
+
isdSearchWrap: Bt,
|
|
1307
|
+
isdSearchInput: Lt,
|
|
1308
|
+
isdOption: Dt,
|
|
1309
|
+
isdOptionActive: Ft,
|
|
1310
|
+
isdCountryName: Ot,
|
|
1311
|
+
isdCountryCode: Mt,
|
|
1312
|
+
isdNoResult: $t,
|
|
1313
|
+
suggestions: Ut,
|
|
1314
|
+
suggestionItem: Gt,
|
|
1315
|
+
suggestionMain: Wt,
|
|
1316
|
+
suggestionSecondary: Kt,
|
|
1317
|
+
suggestionsHint: Ht,
|
|
1318
|
+
fieldError: Yt,
|
|
1319
|
+
timePopover: qt,
|
|
1320
|
+
timePickerRow: Vt,
|
|
1321
|
+
timePickerSelect: zt,
|
|
1322
|
+
timePickerColon: Jt,
|
|
1323
|
+
meridiemToggle: Qt,
|
|
1324
|
+
meridiemBtn: Xt,
|
|
1325
|
+
meridiemActive: Zt,
|
|
1326
|
+
timePopoverActions: ea,
|
|
1327
|
+
timePopoverBtn: ra,
|
|
1328
|
+
timePopoverOk: ta,
|
|
1329
|
+
input: aa,
|
|
1330
|
+
phoneInput: na,
|
|
1331
|
+
iconBtn: oa,
|
|
1332
|
+
iconBtnInteractive: ia,
|
|
1333
|
+
iconImg: la,
|
|
1334
|
+
checkboxRow: sa,
|
|
1335
|
+
checkbox: ca,
|
|
1336
|
+
checkboxText: da
|
|
1337
|
+
}, cr = (t) => typeof t == "number" && Number.isFinite(t), ua = (t) => {
|
|
1338
|
+
const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, d = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
|
|
1339
|
+
return {
|
|
1340
|
+
limit: o,
|
|
1341
|
+
offset: d,
|
|
1342
|
+
restrictCountry: t?.restrictCountry
|
|
1343
|
+
};
|
|
1344
|
+
}, ma = (t) => {
|
|
1345
|
+
const { searchLocalities: o, restrictCountry: d } = t, [m, k] = W([]), [S, x] = W(!1), [j, A] = W(null), E = H(0);
|
|
1346
|
+
Y(() => {
|
|
1347
|
+
A(null);
|
|
1348
|
+
}, [o]);
|
|
1349
|
+
const c = Ne(
|
|
1350
|
+
async (p) => {
|
|
1351
|
+
if (!p || p.length < 2 || !o) {
|
|
1352
|
+
k([]);
|
|
1387
1353
|
return;
|
|
1388
1354
|
}
|
|
1389
|
-
|
|
1355
|
+
const I = ++E.current;
|
|
1356
|
+
x(!0), A(null);
|
|
1390
1357
|
try {
|
|
1391
|
-
const
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
Z.map((R) => ({
|
|
1407
|
-
place_id: R.place_id,
|
|
1408
|
-
description: R.description,
|
|
1409
|
-
structured_formatting: {
|
|
1410
|
-
main_text: R.structured_formatting?.main_text || R.description,
|
|
1411
|
-
secondary_text: R.structured_formatting?.secondary_text || ""
|
|
1412
|
-
}
|
|
1413
|
-
}))
|
|
1414
|
-
);
|
|
1415
|
-
} catch {
|
|
1416
|
-
w([]);
|
|
1358
|
+
const h = ua({ restrictCountry: d }), B = await o(p, h);
|
|
1359
|
+
if (I !== E.current) return;
|
|
1360
|
+
const C = (B || []).filter(
|
|
1361
|
+
(b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
|
|
1362
|
+
).map((b) => ({
|
|
1363
|
+
id: b.id,
|
|
1364
|
+
description: b.description,
|
|
1365
|
+
secondary_text: b.secondaryText,
|
|
1366
|
+
lat: b.lat,
|
|
1367
|
+
lng: b.lng
|
|
1368
|
+
}));
|
|
1369
|
+
k(C);
|
|
1370
|
+
} catch (h) {
|
|
1371
|
+
if (I !== E.current) return;
|
|
1372
|
+
k([]), A(h?.message || "Failed to fetch locations");
|
|
1417
1373
|
} finally {
|
|
1418
|
-
|
|
1419
|
-
}
|
|
1420
|
-
},
|
|
1421
|
-
[u]
|
|
1422
|
-
), _ = be(
|
|
1423
|
-
async (O) => {
|
|
1424
|
-
if (!A.current) return null;
|
|
1425
|
-
try {
|
|
1426
|
-
const $ = await new Promise(
|
|
1427
|
-
(C, L) => {
|
|
1428
|
-
A.current.getDetails(
|
|
1429
|
-
{
|
|
1430
|
-
placeId: O,
|
|
1431
|
-
fields: ["geometry", "address_components", "formatted_address"],
|
|
1432
|
-
sessionToken: T.current ?? void 0
|
|
1433
|
-
},
|
|
1434
|
-
(H, J) => {
|
|
1435
|
-
J === google.maps.places.PlacesServiceStatus.OK && H ? C(H) : L(new Error(`Place details error: ${J}`));
|
|
1436
|
-
}
|
|
1437
|
-
);
|
|
1438
|
-
}
|
|
1439
|
-
);
|
|
1440
|
-
T.current = new google.maps.places.AutocompleteSessionToken();
|
|
1441
|
-
const Z = $.geometry?.location?.lat() || 0, R = $.geometry?.location?.lng() || 0;
|
|
1442
|
-
let B = "", z = "", U = "";
|
|
1443
|
-
return $.address_components?.forEach((C) => {
|
|
1444
|
-
C.types.includes("locality") && (B = C.long_name), C.types.includes("administrative_area_level_1") && (z = C.long_name), C.types.includes("country") && (U = C.long_name);
|
|
1445
|
-
}), {
|
|
1446
|
-
display_name: $.formatted_address || "",
|
|
1447
|
-
lat: Z,
|
|
1448
|
-
lng: R,
|
|
1449
|
-
city: B,
|
|
1450
|
-
state: z,
|
|
1451
|
-
country: U
|
|
1452
|
-
};
|
|
1453
|
-
} catch {
|
|
1454
|
-
return null;
|
|
1374
|
+
I === E.current && x(!1);
|
|
1455
1375
|
}
|
|
1456
1376
|
},
|
|
1457
|
-
[]
|
|
1458
|
-
),
|
|
1377
|
+
[d, o]
|
|
1378
|
+
), N = Ne(() => k([]), []);
|
|
1459
1379
|
return {
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
getPlaceDetails: _,
|
|
1466
|
-
clearPredictions: M,
|
|
1467
|
-
triggerLoad: g
|
|
1468
|
-
// Call this to start loading Google Maps when deferred
|
|
1380
|
+
predictions: m,
|
|
1381
|
+
isSearching: S,
|
|
1382
|
+
loadError: j,
|
|
1383
|
+
searchPlaces: c,
|
|
1384
|
+
clearPredictions: N
|
|
1469
1385
|
};
|
|
1470
|
-
},
|
|
1386
|
+
}, Ce = {
|
|
1471
1387
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1472
1388
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1473
1389
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1474
1390
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1475
|
-
},
|
|
1391
|
+
}, gr = [
|
|
1476
1392
|
{ code: "+1", country: "USA / Canada" },
|
|
1477
1393
|
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1478
1394
|
{ code: "+20", country: "Egypt" },
|
|
@@ -1543,109 +1459,113 @@ const la = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1543
1459
|
{ code: "+976", country: "Mongolia" },
|
|
1544
1460
|
{ code: "+977", country: "Nepal" }
|
|
1545
1461
|
];
|
|
1546
|
-
|
|
1547
|
-
const
|
|
1462
|
+
gr.map((t) => t.code);
|
|
1463
|
+
const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, pa = ({
|
|
1548
1464
|
t,
|
|
1549
1465
|
values: o,
|
|
1550
1466
|
onChange: d,
|
|
1551
|
-
phoneIsdCode:
|
|
1552
|
-
onPhoneIsdCodeChange:
|
|
1553
|
-
showV1ExtraFields:
|
|
1554
|
-
analytics:
|
|
1555
|
-
|
|
1556
|
-
className:
|
|
1467
|
+
phoneIsdCode: m,
|
|
1468
|
+
onPhoneIsdCodeChange: k,
|
|
1469
|
+
showV1ExtraFields: S = !1,
|
|
1470
|
+
analytics: x,
|
|
1471
|
+
atlasSearchLocalities: j,
|
|
1472
|
+
className: A = ""
|
|
1557
1473
|
}) => {
|
|
1558
|
-
const
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1474
|
+
const E = Te(), c = E?.config?.analytics ?? x, N = E?.config.isGlobal ?? !0, p = E?.config?.atlasSearchLocalities, [I, h] = W(!1), [B, C] = W(""), b = H(null), g = H(null), O = H({}), w = (n) => d({ ...o, ...n }), D = (n, s) => {
|
|
1475
|
+
if (n === "phone") {
|
|
1476
|
+
if (!fa(s)) {
|
|
1477
|
+
O.current[n] = !1;
|
|
1478
|
+
return;
|
|
1479
|
+
}
|
|
1480
|
+
if (O.current[n]) return;
|
|
1481
|
+
}
|
|
1482
|
+
s.trim() && !O.current[n] && (O.current[n] = !0, {
|
|
1562
1483
|
fullName: () => c?.trackNameSectionFilled?.(),
|
|
1563
|
-
phone: () => c?.trackPhoneSectionFilled?.(),
|
|
1484
|
+
phone: () => c?.trackPhoneSectionFilled?.({ phone: He(s) }),
|
|
1564
1485
|
email: () => c?.trackEmailSectionFilled?.(),
|
|
1565
1486
|
dateOfBirth: () => c?.trackDobFilled?.(),
|
|
1566
1487
|
birthTime: () => c?.trackTimeFilled?.(),
|
|
1567
1488
|
birthPlace: () => c?.trackPlaceOfBirthChosen?.()
|
|
1568
1489
|
}[n]?.());
|
|
1569
|
-
},
|
|
1570
|
-
|
|
1571
|
-
const
|
|
1490
|
+
}, K = B.trim().toLowerCase(), z = gr.filter((n) => K ? n.country.toLowerCase().includes(K) || n.code.includes(K) : !0), J = H(null);
|
|
1491
|
+
H(null);
|
|
1492
|
+
const G = H(null), q = H(0), ce = H(null), [oe, L] = W(!1), [T, F] = W({ hour12: 12, minute: "00", meridiem: "AM" }), Q = (n) => String(n).padStart(2, "0"), he = (n) => {
|
|
1572
1493
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1573
1494
|
if (!s) return n;
|
|
1574
|
-
const
|
|
1575
|
-
return `${
|
|
1576
|
-
},
|
|
1495
|
+
const M = Number(s[1]), ae = s[2], Re = M >= 12 ? "PM" : "AM";
|
|
1496
|
+
return `${M % 12 === 0 ? 12 : M % 12}:${ae} ${Re}`;
|
|
1497
|
+
}, me = (n) => {
|
|
1577
1498
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1578
1499
|
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1579
|
-
const
|
|
1580
|
-
return { hour12:
|
|
1581
|
-
},
|
|
1582
|
-
const s = Math.min(12, Math.max(1, n.hour12)),
|
|
1583
|
-
let
|
|
1584
|
-
return n.meridiem === "PM" && (
|
|
1585
|
-
},
|
|
1500
|
+
const M = Number(s[1]), ae = s[2], Re = M >= 12 ? "PM" : "AM";
|
|
1501
|
+
return { hour12: M % 12 === 0 ? 12 : M % 12, minute: ae, meridiem: Re };
|
|
1502
|
+
}, V = (n) => {
|
|
1503
|
+
const s = Math.min(12, Math.max(1, n.hour12)), M = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1504
|
+
let ae = s % 12;
|
|
1505
|
+
return n.meridiem === "PM" && (ae += 12), `${Q(ae)}:${M}`;
|
|
1506
|
+
}, ee = H(null), [re, de] = W(!1), [te, pe] = W(
|
|
1586
1507
|
null
|
|
1587
|
-
),
|
|
1588
|
-
predictions:
|
|
1508
|
+
), ie = (o.birthPlace ?? "").trim(), ge = N ? void 0 : "in", ue = j ?? p, X = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !X && !re, {
|
|
1509
|
+
predictions: le,
|
|
1589
1510
|
isSearching: we,
|
|
1590
1511
|
loadError: _e,
|
|
1591
|
-
searchPlaces:
|
|
1592
|
-
clearPredictions:
|
|
1593
|
-
} =
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
restrictCountry: ee
|
|
1512
|
+
searchPlaces: xe,
|
|
1513
|
+
clearPredictions: ye
|
|
1514
|
+
} = ma({
|
|
1515
|
+
searchLocalities: ue,
|
|
1516
|
+
restrictCountry: ge
|
|
1597
1517
|
});
|
|
1598
|
-
|
|
1518
|
+
Y(() => {
|
|
1599
1519
|
const n = (s) => {
|
|
1600
|
-
|
|
1520
|
+
ee.current && (ee.current.contains(s.target) || de(!1));
|
|
1601
1521
|
};
|
|
1602
1522
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1603
|
-
}, []),
|
|
1523
|
+
}, []), Y(() => {
|
|
1604
1524
|
const n = (s) => {
|
|
1605
|
-
|
|
1525
|
+
b.current && (b.current.contains(s.target) || (h(!1), C("")));
|
|
1606
1526
|
};
|
|
1607
1527
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1608
|
-
}, []),
|
|
1609
|
-
if (!
|
|
1528
|
+
}, []), Y(() => {
|
|
1529
|
+
if (!I) return;
|
|
1610
1530
|
const n = window.setTimeout(() => {
|
|
1611
1531
|
g.current?.focus();
|
|
1612
1532
|
}, 0);
|
|
1613
1533
|
return () => window.clearTimeout(n);
|
|
1614
|
-
}, [
|
|
1615
|
-
if (!
|
|
1616
|
-
if (
|
|
1617
|
-
|
|
1534
|
+
}, [I]), Y(() => {
|
|
1535
|
+
if (!re) return;
|
|
1536
|
+
if (ie.length < 2) {
|
|
1537
|
+
ye();
|
|
1618
1538
|
return;
|
|
1619
1539
|
}
|
|
1620
1540
|
const n = window.setTimeout(async () => {
|
|
1621
|
-
await
|
|
1541
|
+
await xe(ie);
|
|
1622
1542
|
}, 250);
|
|
1623
1543
|
return () => window.clearTimeout(n);
|
|
1624
|
-
}, [
|
|
1625
|
-
const
|
|
1544
|
+
}, [ye, re, ie, xe]);
|
|
1545
|
+
const v = (n) => {
|
|
1626
1546
|
const s = n.current;
|
|
1627
1547
|
if (!(!s || s.disabled)) {
|
|
1628
|
-
if (document.activeElement === s &&
|
|
1548
|
+
if (document.activeElement === s && G.current === s && Date.now() - q.current < 6e4) {
|
|
1629
1549
|
s.blur();
|
|
1630
1550
|
return;
|
|
1631
1551
|
}
|
|
1632
1552
|
if (typeof s.showPicker == "function") {
|
|
1633
|
-
s.showPicker(),
|
|
1553
|
+
s.showPicker(), G.current = s, q.current = Date.now();
|
|
1634
1554
|
return;
|
|
1635
1555
|
}
|
|
1636
|
-
s.focus(),
|
|
1556
|
+
s.focus(), G.current = s, q.current = Date.now();
|
|
1637
1557
|
}
|
|
1638
1558
|
};
|
|
1639
|
-
return
|
|
1559
|
+
return Y(() => {
|
|
1640
1560
|
const n = (s) => {
|
|
1641
|
-
|
|
1561
|
+
ce.current && (ce.current.contains(s.target) || L(!1));
|
|
1642
1562
|
};
|
|
1643
1563
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1644
|
-
}, []),
|
|
1645
|
-
const n = (
|
|
1646
|
-
|
|
1647
|
-
}, s = (
|
|
1648
|
-
|
|
1564
|
+
}, []), Y(() => {
|
|
1565
|
+
const n = (M) => {
|
|
1566
|
+
M.target?.closest?.("[data-info-tooltip]") == null && pe(null);
|
|
1567
|
+
}, s = (M) => {
|
|
1568
|
+
M.key === "Escape" && pe(null);
|
|
1649
1569
|
};
|
|
1650
1570
|
return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
|
|
1651
1571
|
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
|
|
@@ -1653,7 +1573,7 @@ const ca = {}, da = ({
|
|
|
1653
1573
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1654
1574
|
"section",
|
|
1655
1575
|
{
|
|
1656
|
-
className: `${a.wrap} ${
|
|
1576
|
+
className: `${a.wrap} ${A}`,
|
|
1657
1577
|
"aria-label": t("formTitle"),
|
|
1658
1578
|
children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
|
|
1659
1579
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
@@ -1671,7 +1591,7 @@ const ca = {}, da = ({
|
|
|
1671
1591
|
onFocus: () => c?.trackNameSectionClicked?.(),
|
|
1672
1592
|
onChange: (n) => {
|
|
1673
1593
|
const s = n.target.value;
|
|
1674
|
-
|
|
1594
|
+
w({ fullName: s }), D("fullName", s);
|
|
1675
1595
|
},
|
|
1676
1596
|
placeholder: t("formFullNamePlaceholder"),
|
|
1677
1597
|
autoComplete: "name"
|
|
@@ -1681,9 +1601,9 @@ const ca = {}, da = ({
|
|
|
1681
1601
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1682
1602
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1683
1603
|
t("formPhone"),
|
|
1684
|
-
!
|
|
1604
|
+
!N && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1685
1605
|
] }) }),
|
|
1686
|
-
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref:
|
|
1606
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
|
|
1687
1607
|
/* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1688
1608
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1689
1609
|
"button",
|
|
@@ -1691,11 +1611,11 @@ const ca = {}, da = ({
|
|
|
1691
1611
|
type: "button",
|
|
1692
1612
|
className: a.isdSelectTrigger,
|
|
1693
1613
|
"aria-haspopup": "listbox",
|
|
1694
|
-
"aria-expanded":
|
|
1614
|
+
"aria-expanded": I,
|
|
1695
1615
|
onClick: () => {
|
|
1696
|
-
|
|
1616
|
+
h((n) => !n), C("");
|
|
1697
1617
|
},
|
|
1698
|
-
children:
|
|
1618
|
+
children: m
|
|
1699
1619
|
}
|
|
1700
1620
|
) }),
|
|
1701
1621
|
/* @__PURE__ */ r.jsx(
|
|
@@ -1708,19 +1628,19 @@ const ca = {}, da = ({
|
|
|
1708
1628
|
onFocus: () => c?.trackPhoneSectionClicked?.(),
|
|
1709
1629
|
onChange: (n) => {
|
|
1710
1630
|
const s = n.target.value;
|
|
1711
|
-
|
|
1631
|
+
w({ phone: dr(s) }), D("phone", dr(s));
|
|
1712
1632
|
},
|
|
1713
1633
|
placeholder: t("formPhonePlaceholder"),
|
|
1714
1634
|
autoComplete: "tel",
|
|
1715
1635
|
inputMode: "numeric",
|
|
1716
1636
|
pattern: "[0-9]{10}",
|
|
1717
1637
|
maxLength: 10,
|
|
1718
|
-
required: !
|
|
1719
|
-
"aria-required": !
|
|
1638
|
+
required: !N,
|
|
1639
|
+
"aria-required": !N
|
|
1720
1640
|
}
|
|
1721
1641
|
)
|
|
1722
1642
|
] }),
|
|
1723
|
-
|
|
1643
|
+
I && /* @__PURE__ */ r.jsxs(
|
|
1724
1644
|
"div",
|
|
1725
1645
|
{
|
|
1726
1646
|
className: a.isdDropdown,
|
|
@@ -1732,22 +1652,22 @@ const ca = {}, da = ({
|
|
|
1732
1652
|
{
|
|
1733
1653
|
ref: g,
|
|
1734
1654
|
type: "text",
|
|
1735
|
-
value:
|
|
1736
|
-
onChange: (n) =>
|
|
1655
|
+
value: B,
|
|
1656
|
+
onChange: (n) => C(n.target.value),
|
|
1737
1657
|
placeholder: "Search country",
|
|
1738
1658
|
className: a.isdSearchInput,
|
|
1739
1659
|
"aria-label": "Search country"
|
|
1740
1660
|
}
|
|
1741
1661
|
) }),
|
|
1742
|
-
|
|
1662
|
+
z.length > 0 ? z.map((n) => /* @__PURE__ */ r.jsxs(
|
|
1743
1663
|
"button",
|
|
1744
1664
|
{
|
|
1745
1665
|
type: "button",
|
|
1746
1666
|
role: "option",
|
|
1747
|
-
"aria-selected": n.code ===
|
|
1748
|
-
className: `${a.isdOption} ${n.code ===
|
|
1667
|
+
"aria-selected": n.code === m,
|
|
1668
|
+
className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
|
|
1749
1669
|
onClick: () => {
|
|
1750
|
-
|
|
1670
|
+
k(n.code), h(!1), C("");
|
|
1751
1671
|
},
|
|
1752
1672
|
children: [
|
|
1753
1673
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1761,7 +1681,7 @@ const ca = {}, da = ({
|
|
|
1761
1681
|
)
|
|
1762
1682
|
] }) })
|
|
1763
1683
|
] }),
|
|
1764
|
-
|
|
1684
|
+
S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1765
1685
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
1766
1686
|
t("formGender"),
|
|
1767
1687
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1780,7 +1700,7 @@ const ca = {}, da = ({
|
|
|
1780
1700
|
type: "button",
|
|
1781
1701
|
className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
|
|
1782
1702
|
onClick: () => {
|
|
1783
|
-
|
|
1703
|
+
w({ gender: "male" }), c?.trackGenderSelected?.({
|
|
1784
1704
|
gender: "male"
|
|
1785
1705
|
});
|
|
1786
1706
|
},
|
|
@@ -1796,7 +1716,7 @@ const ca = {}, da = ({
|
|
|
1796
1716
|
type: "button",
|
|
1797
1717
|
className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
|
|
1798
1718
|
onClick: () => {
|
|
1799
|
-
|
|
1719
|
+
w({ gender: "female" }), c?.trackGenderSelected?.({
|
|
1800
1720
|
gender: "female"
|
|
1801
1721
|
});
|
|
1802
1722
|
},
|
|
@@ -1809,7 +1729,7 @@ const ca = {}, da = ({
|
|
|
1809
1729
|
}
|
|
1810
1730
|
)
|
|
1811
1731
|
] }),
|
|
1812
|
-
|
|
1732
|
+
N && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1813
1733
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1814
1734
|
t("formEmail"),
|
|
1815
1735
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1822,7 +1742,7 @@ const ca = {}, da = ({
|
|
|
1822
1742
|
className: a.input,
|
|
1823
1743
|
type: "email",
|
|
1824
1744
|
value: o.email,
|
|
1825
|
-
onChange: (n) =>
|
|
1745
|
+
onChange: (n) => w({ email: n.target.value }),
|
|
1826
1746
|
placeholder: t("formEmailPlaceholder"),
|
|
1827
1747
|
autoComplete: "email",
|
|
1828
1748
|
required: !0,
|
|
@@ -1843,22 +1763,22 @@ const ca = {}, da = ({
|
|
|
1843
1763
|
type: "button",
|
|
1844
1764
|
className: a.infoBtn,
|
|
1845
1765
|
"aria-label": t("info"),
|
|
1846
|
-
"aria-expanded":
|
|
1766
|
+
"aria-expanded": te === "dob",
|
|
1847
1767
|
onClick: () => {
|
|
1848
|
-
|
|
1768
|
+
pe((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1849
1769
|
},
|
|
1850
1770
|
children: /* @__PURE__ */ r.jsx(
|
|
1851
1771
|
"img",
|
|
1852
1772
|
{
|
|
1853
1773
|
className: a.infoImg,
|
|
1854
|
-
src:
|
|
1774
|
+
src: Ce.info,
|
|
1855
1775
|
alt: "",
|
|
1856
1776
|
"aria-hidden": !0
|
|
1857
1777
|
}
|
|
1858
1778
|
)
|
|
1859
1779
|
}
|
|
1860
1780
|
),
|
|
1861
|
-
|
|
1781
|
+
te === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1862
1782
|
t("formDobInfo"),
|
|
1863
1783
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1864
1784
|
] })
|
|
@@ -1871,20 +1791,20 @@ const ca = {}, da = ({
|
|
|
1871
1791
|
id: "kundli-dob",
|
|
1872
1792
|
className: a.input,
|
|
1873
1793
|
type: "date",
|
|
1874
|
-
ref:
|
|
1794
|
+
ref: J,
|
|
1875
1795
|
value: o.dateOfBirth,
|
|
1876
1796
|
max: (() => {
|
|
1877
1797
|
const n = /* @__PURE__ */ new Date();
|
|
1878
|
-
return `${n.getFullYear()}-${
|
|
1798
|
+
return `${n.getFullYear()}-${Q(n.getMonth() + 1)}-${Q(n.getDate())}`;
|
|
1879
1799
|
})(),
|
|
1880
1800
|
onChange: (n) => {
|
|
1881
|
-
const s = n.target.value,
|
|
1882
|
-
s && s >
|
|
1801
|
+
const s = n.target.value, M = /* @__PURE__ */ new Date(), ae = `${M.getFullYear()}-${Q(M.getMonth() + 1)}-${Q(M.getDate())}`;
|
|
1802
|
+
s && s > ae || (w({ dateOfBirth: s }), D("dateOfBirth", s), G.current = null);
|
|
1883
1803
|
},
|
|
1884
1804
|
onFocus: () => c?.trackDobClicked?.(),
|
|
1885
|
-
onClick: () =>
|
|
1805
|
+
onClick: () => v(J),
|
|
1886
1806
|
onBlur: () => {
|
|
1887
|
-
|
|
1807
|
+
G.current === J.current && (G.current = null);
|
|
1888
1808
|
}
|
|
1889
1809
|
}
|
|
1890
1810
|
),
|
|
@@ -1896,13 +1816,13 @@ const ca = {}, da = ({
|
|
|
1896
1816
|
"aria-label": "Open date picker",
|
|
1897
1817
|
onMouseDown: (n) => n.preventDefault(),
|
|
1898
1818
|
onClick: (n) => {
|
|
1899
|
-
n.preventDefault(), n.stopPropagation(),
|
|
1819
|
+
n.preventDefault(), n.stopPropagation(), v(J);
|
|
1900
1820
|
},
|
|
1901
1821
|
children: /* @__PURE__ */ r.jsx(
|
|
1902
1822
|
"img",
|
|
1903
1823
|
{
|
|
1904
1824
|
className: a.iconImg,
|
|
1905
|
-
src:
|
|
1825
|
+
src: Ce.date,
|
|
1906
1826
|
alt: "",
|
|
1907
1827
|
"aria-hidden": !0
|
|
1908
1828
|
}
|
|
@@ -1924,45 +1844,45 @@ const ca = {}, da = ({
|
|
|
1924
1844
|
type: "button",
|
|
1925
1845
|
className: a.infoBtn,
|
|
1926
1846
|
"aria-label": t("info"),
|
|
1927
|
-
"aria-expanded":
|
|
1847
|
+
"aria-expanded": te === "time",
|
|
1928
1848
|
onClick: () => {
|
|
1929
|
-
c?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
1849
|
+
c?.trackInfoIconClicked?.({ fieldName: "time" }), pe((n) => n === "time" ? null : "time");
|
|
1930
1850
|
},
|
|
1931
1851
|
children: /* @__PURE__ */ r.jsx(
|
|
1932
1852
|
"img",
|
|
1933
1853
|
{
|
|
1934
1854
|
className: a.infoImg,
|
|
1935
|
-
src:
|
|
1855
|
+
src: Ce.info,
|
|
1936
1856
|
alt: "",
|
|
1937
1857
|
"aria-hidden": !0
|
|
1938
1858
|
}
|
|
1939
1859
|
)
|
|
1940
1860
|
}
|
|
1941
1861
|
),
|
|
1942
|
-
|
|
1862
|
+
te === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1943
1863
|
t("formBirthTimeInfo"),
|
|
1944
1864
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1945
1865
|
] })
|
|
1946
1866
|
] })
|
|
1947
1867
|
] }),
|
|
1948
|
-
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref:
|
|
1868
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ce, children: [
|
|
1949
1869
|
/* @__PURE__ */ r.jsx(
|
|
1950
1870
|
"input",
|
|
1951
1871
|
{
|
|
1952
1872
|
id: "kundli-birth-time",
|
|
1953
1873
|
className: a.input,
|
|
1954
1874
|
type: "text",
|
|
1955
|
-
value: o.birthTime ?
|
|
1875
|
+
value: o.birthTime ? he(o.birthTime) : "",
|
|
1956
1876
|
readOnly: !0,
|
|
1957
1877
|
onFocus: () => c?.trackTimeClicked?.(),
|
|
1958
1878
|
onChange: (n) => {
|
|
1959
1879
|
const s = n.target.value;
|
|
1960
|
-
|
|
1880
|
+
w({ birthTime: s }), D("birthTime", s);
|
|
1961
1881
|
},
|
|
1962
1882
|
disabled: o.birthTimeUnknown,
|
|
1963
1883
|
placeholder: "HH:MM AM",
|
|
1964
1884
|
onClick: () => {
|
|
1965
|
-
o.birthTimeUnknown || (
|
|
1885
|
+
o.birthTimeUnknown || (F(me(o.birthTime || "12:00")), L((n) => !n));
|
|
1966
1886
|
}
|
|
1967
1887
|
}
|
|
1968
1888
|
),
|
|
@@ -1975,20 +1895,20 @@ const ca = {}, da = ({
|
|
|
1975
1895
|
disabled: o.birthTimeUnknown,
|
|
1976
1896
|
onMouseDown: (n) => n.preventDefault(),
|
|
1977
1897
|
onClick: (n) => {
|
|
1978
|
-
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (
|
|
1898
|
+
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (F(me(o.birthTime || "12:00")), L((s) => !s));
|
|
1979
1899
|
},
|
|
1980
1900
|
children: /* @__PURE__ */ r.jsx(
|
|
1981
1901
|
"img",
|
|
1982
1902
|
{
|
|
1983
1903
|
className: a.iconImg,
|
|
1984
|
-
src:
|
|
1904
|
+
src: Ce.time,
|
|
1985
1905
|
alt: "",
|
|
1986
1906
|
"aria-hidden": !0
|
|
1987
1907
|
}
|
|
1988
1908
|
)
|
|
1989
1909
|
}
|
|
1990
1910
|
),
|
|
1991
|
-
|
|
1911
|
+
oe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
1992
1912
|
"div",
|
|
1993
1913
|
{
|
|
1994
1914
|
className: a.timePopover,
|
|
@@ -2000,8 +1920,8 @@ const ca = {}, da = ({
|
|
|
2000
1920
|
"select",
|
|
2001
1921
|
{
|
|
2002
1922
|
className: a.timePickerSelect,
|
|
2003
|
-
value:
|
|
2004
|
-
onChange: (n) =>
|
|
1923
|
+
value: T.hour12,
|
|
1924
|
+
onChange: (n) => F((s) => ({
|
|
2005
1925
|
...s,
|
|
2006
1926
|
hour12: Number(n.target.value)
|
|
2007
1927
|
})),
|
|
@@ -2014,10 +1934,10 @@ const ca = {}, da = ({
|
|
|
2014
1934
|
"select",
|
|
2015
1935
|
{
|
|
2016
1936
|
className: a.timePickerSelect,
|
|
2017
|
-
value:
|
|
2018
|
-
onChange: (n) =>
|
|
1937
|
+
value: T.minute,
|
|
1938
|
+
onChange: (n) => F((s) => ({ ...s, minute: n.target.value })),
|
|
2019
1939
|
"aria-label": "Minute",
|
|
2020
|
-
children: Array.from({ length: 60 }, (n, s) =>
|
|
1940
|
+
children: Array.from({ length: 60 }, (n, s) => Q(s)).map(
|
|
2021
1941
|
(n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
|
|
2022
1942
|
)
|
|
2023
1943
|
}
|
|
@@ -2027,8 +1947,8 @@ const ca = {}, da = ({
|
|
|
2027
1947
|
"button",
|
|
2028
1948
|
{
|
|
2029
1949
|
type: "button",
|
|
2030
|
-
className: `${a.meridiemBtn} ${
|
|
2031
|
-
onClick: () =>
|
|
1950
|
+
className: `${a.meridiemBtn} ${T.meridiem === "AM" ? a.meridiemActive : ""}`,
|
|
1951
|
+
onClick: () => F((n) => ({ ...n, meridiem: "AM" })),
|
|
2032
1952
|
children: "AM"
|
|
2033
1953
|
}
|
|
2034
1954
|
),
|
|
@@ -2036,8 +1956,8 @@ const ca = {}, da = ({
|
|
|
2036
1956
|
"button",
|
|
2037
1957
|
{
|
|
2038
1958
|
type: "button",
|
|
2039
|
-
className: `${a.meridiemBtn} ${
|
|
2040
|
-
onClick: () =>
|
|
1959
|
+
className: `${a.meridiemBtn} ${T.meridiem === "PM" ? a.meridiemActive : ""}`,
|
|
1960
|
+
onClick: () => F((n) => ({ ...n, meridiem: "PM" })),
|
|
2041
1961
|
children: "PM"
|
|
2042
1962
|
}
|
|
2043
1963
|
)
|
|
@@ -2059,8 +1979,8 @@ const ca = {}, da = ({
|
|
|
2059
1979
|
type: "button",
|
|
2060
1980
|
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
2061
1981
|
onClick: () => {
|
|
2062
|
-
const n =
|
|
2063
|
-
|
|
1982
|
+
const n = V(T);
|
|
1983
|
+
w({ birthTime: n }), D("birthTime", n), L(!1);
|
|
2064
1984
|
},
|
|
2065
1985
|
"aria-label": "OK",
|
|
2066
1986
|
children: /* @__PURE__ */ r.jsx(
|
|
@@ -2100,7 +2020,7 @@ const ca = {}, da = ({
|
|
|
2100
2020
|
type: "checkbox",
|
|
2101
2021
|
checked: o.birthTimeUnknown,
|
|
2102
2022
|
onChange: (n) => {
|
|
2103
|
-
c?.trackTimeCheckboxClicked?.(),
|
|
2023
|
+
c?.trackTimeCheckboxClicked?.(), w({
|
|
2104
2024
|
birthTimeUnknown: n.target.checked,
|
|
2105
2025
|
birthTime: n.target.checked ? "" : o.birthTime
|
|
2106
2026
|
});
|
|
@@ -2134,30 +2054,30 @@ const ca = {}, da = ({
|
|
|
2134
2054
|
type: "button",
|
|
2135
2055
|
className: a.infoBtn,
|
|
2136
2056
|
"aria-label": t("info"),
|
|
2137
|
-
"aria-expanded":
|
|
2057
|
+
"aria-expanded": te === "place",
|
|
2138
2058
|
onClick: () => {
|
|
2139
2059
|
c?.trackInfoIconClicked?.({
|
|
2140
2060
|
fieldName: "birthPlace"
|
|
2141
|
-
}),
|
|
2061
|
+
}), pe((n) => n === "place" ? null : "place");
|
|
2142
2062
|
},
|
|
2143
2063
|
children: /* @__PURE__ */ r.jsx(
|
|
2144
2064
|
"img",
|
|
2145
2065
|
{
|
|
2146
2066
|
className: a.infoImg,
|
|
2147
|
-
src:
|
|
2067
|
+
src: Ce.info,
|
|
2148
2068
|
alt: "",
|
|
2149
2069
|
"aria-hidden": !0
|
|
2150
2070
|
}
|
|
2151
2071
|
)
|
|
2152
2072
|
}
|
|
2153
2073
|
),
|
|
2154
|
-
|
|
2074
|
+
te === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
2155
2075
|
t("formBirthPlaceInfo"),
|
|
2156
2076
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
2157
2077
|
] })
|
|
2158
2078
|
] })
|
|
2159
2079
|
] }),
|
|
2160
|
-
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref:
|
|
2080
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ee, children: [
|
|
2161
2081
|
/* @__PURE__ */ r.jsx(
|
|
2162
2082
|
"input",
|
|
2163
2083
|
{
|
|
@@ -2167,10 +2087,14 @@ const ca = {}, da = ({
|
|
|
2167
2087
|
value: o.birthPlace,
|
|
2168
2088
|
onChange: (n) => {
|
|
2169
2089
|
const s = n.target.value;
|
|
2170
|
-
|
|
2090
|
+
w({
|
|
2091
|
+
birthPlace: s,
|
|
2092
|
+
birthPlaceLat: void 0,
|
|
2093
|
+
birthPlaceLng: void 0
|
|
2094
|
+
}), D("birthPlace", s), de(!0);
|
|
2171
2095
|
},
|
|
2172
2096
|
onFocus: () => {
|
|
2173
|
-
c?.trackPlaceOfBirthClicked?.(),
|
|
2097
|
+
c?.trackPlaceOfBirthClicked?.(), de(!0);
|
|
2174
2098
|
},
|
|
2175
2099
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2176
2100
|
autoComplete: "address-level2"
|
|
@@ -2180,31 +2104,36 @@ const ca = {}, da = ({
|
|
|
2180
2104
|
"img",
|
|
2181
2105
|
{
|
|
2182
2106
|
className: a.iconImg,
|
|
2183
|
-
src:
|
|
2107
|
+
src: Ce.location,
|
|
2184
2108
|
alt: "",
|
|
2185
2109
|
"aria-hidden": !0
|
|
2186
2110
|
}
|
|
2187
2111
|
) }),
|
|
2188
|
-
|
|
2112
|
+
re && le.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: le.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
|
|
2189
2113
|
"button",
|
|
2190
2114
|
{
|
|
2191
2115
|
type: "button",
|
|
2192
2116
|
className: a.suggestionItem,
|
|
2193
2117
|
onClick: () => {
|
|
2194
|
-
|
|
2118
|
+
w({
|
|
2119
|
+
birthPlace: n.description,
|
|
2120
|
+
birthPlaceLat: n.lat,
|
|
2121
|
+
birthPlaceLng: n.lng
|
|
2122
|
+
}), ye(), de(!1);
|
|
2195
2123
|
},
|
|
2196
2124
|
children: [
|
|
2197
|
-
/* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.
|
|
2198
|
-
n.
|
|
2125
|
+
/* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
|
|
2126
|
+
!!n.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.secondary_text })
|
|
2199
2127
|
]
|
|
2200
2128
|
},
|
|
2201
|
-
n.
|
|
2129
|
+
n.id
|
|
2202
2130
|
)) }),
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
] })
|
|
2131
|
+
re && !!ue && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
|
|
2132
|
+
re && !!ue && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
|
|
2133
|
+
] }),
|
|
2134
|
+
be && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
|
|
2206
2135
|
] }),
|
|
2207
|
-
|
|
2136
|
+
S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2208
2137
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
2209
2138
|
t("formReportLanguage"),
|
|
2210
2139
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -2223,7 +2152,7 @@ const ca = {}, da = ({
|
|
|
2223
2152
|
type: "button",
|
|
2224
2153
|
className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
|
|
2225
2154
|
onClick: () => {
|
|
2226
|
-
|
|
2155
|
+
w({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
|
|
2227
2156
|
language: "hi"
|
|
2228
2157
|
});
|
|
2229
2158
|
},
|
|
@@ -2239,7 +2168,7 @@ const ca = {}, da = ({
|
|
|
2239
2168
|
type: "button",
|
|
2240
2169
|
className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
|
|
2241
2170
|
onClick: () => {
|
|
2242
|
-
|
|
2171
|
+
w({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
|
|
2243
2172
|
language: "en"
|
|
2244
2173
|
});
|
|
2245
2174
|
},
|
|
@@ -2255,7 +2184,7 @@ const ca = {}, da = ({
|
|
|
2255
2184
|
type: "button",
|
|
2256
2185
|
className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
|
|
2257
2186
|
onClick: () => {
|
|
2258
|
-
|
|
2187
|
+
w({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
|
|
2259
2188
|
language: "te"
|
|
2260
2189
|
});
|
|
2261
2190
|
},
|
|
@@ -2271,7 +2200,7 @@ const ca = {}, da = ({
|
|
|
2271
2200
|
type: "button",
|
|
2272
2201
|
className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
|
|
2273
2202
|
onClick: () => {
|
|
2274
|
-
|
|
2203
|
+
w({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
|
|
2275
2204
|
language: "ta"
|
|
2276
2205
|
});
|
|
2277
2206
|
},
|
|
@@ -2287,7 +2216,7 @@ const ca = {}, da = ({
|
|
|
2287
2216
|
type: "button",
|
|
2288
2217
|
className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
|
|
2289
2218
|
onClick: () => {
|
|
2290
|
-
|
|
2219
|
+
w({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
|
|
2291
2220
|
language: "kn"
|
|
2292
2221
|
});
|
|
2293
2222
|
},
|
|
@@ -2303,7 +2232,7 @@ const ca = {}, da = ({
|
|
|
2303
2232
|
type: "button",
|
|
2304
2233
|
className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
|
|
2305
2234
|
onClick: () => {
|
|
2306
|
-
|
|
2235
|
+
w({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
|
|
2307
2236
|
language: "gu"
|
|
2308
2237
|
});
|
|
2309
2238
|
},
|
|
@@ -2319,7 +2248,7 @@ const ca = {}, da = ({
|
|
|
2319
2248
|
type: "button",
|
|
2320
2249
|
className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
|
|
2321
2250
|
onClick: () => {
|
|
2322
|
-
|
|
2251
|
+
w({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
|
|
2323
2252
|
language: "mr"
|
|
2324
2253
|
});
|
|
2325
2254
|
},
|
|
@@ -2335,21 +2264,21 @@ const ca = {}, da = ({
|
|
|
2335
2264
|
] }) })
|
|
2336
2265
|
}
|
|
2337
2266
|
);
|
|
2338
|
-
},
|
|
2339
|
-
ctaButton:
|
|
2340
|
-
ctaFilled:
|
|
2341
|
-
ctaFilledContent:
|
|
2342
|
-
chevronRight:
|
|
2343
|
-
},
|
|
2344
|
-
const d =
|
|
2345
|
-
return /* @__PURE__ */ r.jsxs("div", { className:
|
|
2346
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2267
|
+
}, ha = "_ctaButton_rhimw_2", ga = "_ctaFilled_rhimw_21", _a = "_ctaFilledContent_rhimw_52", ba = "_chevronRight_rhimw_61", je = {
|
|
2268
|
+
ctaButton: ha,
|
|
2269
|
+
ctaFilled: ga,
|
|
2270
|
+
ctaFilledContent: _a,
|
|
2271
|
+
chevronRight: ba
|
|
2272
|
+
}, br = "kundli-report-astrologer", ya = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", va = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ka = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", wa = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", xa = ({ t }) => {
|
|
2273
|
+
const d = Te()?.config.imageComponent ?? Be;
|
|
2274
|
+
return /* @__PURE__ */ r.jsxs("div", { className: ke.marqueeContent, children: [
|
|
2275
|
+
/* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
|
|
2347
2276
|
/* @__PURE__ */ r.jsx(
|
|
2348
2277
|
d,
|
|
2349
2278
|
{
|
|
2350
|
-
src:
|
|
2279
|
+
src: ya,
|
|
2351
2280
|
alt: "",
|
|
2352
|
-
className:
|
|
2281
|
+
className: ke.badgeIcon,
|
|
2353
2282
|
width: 16,
|
|
2354
2283
|
height: 16,
|
|
2355
2284
|
loading: "lazy"
|
|
@@ -2357,13 +2286,13 @@ const ca = {}, da = ({
|
|
|
2357
2286
|
),
|
|
2358
2287
|
t("ctaKundliCreated")
|
|
2359
2288
|
] }),
|
|
2360
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2289
|
+
/* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
|
|
2361
2290
|
/* @__PURE__ */ r.jsx(
|
|
2362
2291
|
d,
|
|
2363
2292
|
{
|
|
2364
|
-
src:
|
|
2293
|
+
src: va,
|
|
2365
2294
|
alt: "",
|
|
2366
|
-
className:
|
|
2295
|
+
className: ke.badgeIcon,
|
|
2367
2296
|
width: 16,
|
|
2368
2297
|
height: 16,
|
|
2369
2298
|
loading: "lazy"
|
|
@@ -2371,13 +2300,13 @@ const ca = {}, da = ({
|
|
|
2371
2300
|
),
|
|
2372
2301
|
t("ctaCertified")
|
|
2373
2302
|
] }),
|
|
2374
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2303
|
+
/* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
|
|
2375
2304
|
/* @__PURE__ */ r.jsx(
|
|
2376
2305
|
d,
|
|
2377
2306
|
{
|
|
2378
|
-
src:
|
|
2307
|
+
src: ka,
|
|
2379
2308
|
alt: "",
|
|
2380
|
-
className:
|
|
2309
|
+
className: ke.badgeIcon,
|
|
2381
2310
|
width: 16,
|
|
2382
2311
|
height: 16,
|
|
2383
2312
|
loading: "lazy"
|
|
@@ -2386,69 +2315,81 @@ const ca = {}, da = ({
|
|
|
2386
2315
|
t("ctaSecurePayment")
|
|
2387
2316
|
] })
|
|
2388
2317
|
] });
|
|
2389
|
-
},
|
|
2318
|
+
}, Pa = (t) => /.+@.+\..+/.test(t), Aa = (t) => /^\d{10}$/.test(t), Ca = (t, o, d) => {
|
|
2390
2319
|
if (!t.fullName.trim()) return "fullName";
|
|
2391
2320
|
if (o) {
|
|
2392
|
-
if (!
|
|
2393
|
-
} else if (!
|
|
2321
|
+
if (!Pa(t.email.trim())) return "email";
|
|
2322
|
+
} else if (!Aa((t.phone ?? "").trim())) return "phone";
|
|
2394
2323
|
if (!t.dateOfBirth) return "dateOfBirth";
|
|
2395
2324
|
if (!t.birthPlace.trim()) return "birthPlace";
|
|
2325
|
+
if (!Number.isFinite(t.birthPlaceLat) || !Number.isFinite(t.birthPlaceLng))
|
|
2326
|
+
return "birthPlaceCoordinates";
|
|
2396
2327
|
if (d) {
|
|
2397
2328
|
if (!t.gender) return "gender";
|
|
2398
2329
|
if (!t.language_code) return "language_code";
|
|
2399
2330
|
}
|
|
2400
2331
|
return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
|
|
2401
|
-
},
|
|
2332
|
+
}, ja = ({
|
|
2402
2333
|
t,
|
|
2403
2334
|
values: o,
|
|
2404
2335
|
phoneIsdCode: d,
|
|
2405
|
-
hideOriginalPrice:
|
|
2406
|
-
requireV1ExtraFields:
|
|
2407
|
-
onValidationFailed:
|
|
2408
|
-
onProceed:
|
|
2409
|
-
onProceedGuidance:
|
|
2410
|
-
href:
|
|
2411
|
-
analytics:
|
|
2336
|
+
hideOriginalPrice: m = !1,
|
|
2337
|
+
requireV1ExtraFields: k = !1,
|
|
2338
|
+
onValidationFailed: S,
|
|
2339
|
+
onProceed: x,
|
|
2340
|
+
onProceedGuidance: j,
|
|
2341
|
+
href: A,
|
|
2342
|
+
analytics: E,
|
|
2412
2343
|
className: c = "",
|
|
2413
|
-
discountedPriceLabel:
|
|
2344
|
+
discountedPriceLabel: N,
|
|
2414
2345
|
showPlanSheet: p,
|
|
2415
|
-
confirmPlan:
|
|
2416
|
-
planSheetOpen:
|
|
2417
|
-
selectedPlan:
|
|
2346
|
+
confirmPlan: I,
|
|
2347
|
+
planSheetOpen: h,
|
|
2348
|
+
selectedPlan: B
|
|
2418
2349
|
}) => {
|
|
2419
|
-
const
|
|
2420
|
-
() =>
|
|
2421
|
-
[o,
|
|
2422
|
-
),
|
|
2423
|
-
|
|
2424
|
-
|
|
2350
|
+
const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [O, w] = W(!1), D = Ue(
|
|
2351
|
+
() => Ca(o, b, k),
|
|
2352
|
+
[o, b, k]
|
|
2353
|
+
), K = D === null, z = g === "v1" && C?.config?.showSheet;
|
|
2354
|
+
Y(() => {
|
|
2355
|
+
if (!O) return;
|
|
2356
|
+
const oe = window.setTimeout(() => {
|
|
2357
|
+
w(!1);
|
|
2358
|
+
}, 2200);
|
|
2359
|
+
return () => window.clearTimeout(oe);
|
|
2360
|
+
}, [O]);
|
|
2361
|
+
const J = b ? N ?? t("formDiscountedPrice") : z ? "" : "₹499", G = C?.config.imageComponent ?? Be, q = (oe) => {
|
|
2362
|
+
if (oe.preventDefault(), g === "v1" && !K && E?.trackKundliDetailedClicked?.(), !K) {
|
|
2363
|
+
D && (S?.(
|
|
2364
|
+
D === "birthPlaceCoordinates" ? "birthPlace" : D
|
|
2365
|
+
), D === "birthPlaceCoordinates" && w(!0));
|
|
2425
2366
|
return;
|
|
2426
2367
|
}
|
|
2427
|
-
const
|
|
2368
|
+
const L = !!j && g === "v1" && B?.id === br, T = (o.phone ?? "").trim(), F = {
|
|
2428
2369
|
...o,
|
|
2429
|
-
phone:
|
|
2370
|
+
phone: T && `${d}-${T}`
|
|
2430
2371
|
};
|
|
2431
|
-
if (
|
|
2432
|
-
|
|
2372
|
+
if (z) {
|
|
2373
|
+
h ? I?.() : p?.(F);
|
|
2433
2374
|
return;
|
|
2434
2375
|
}
|
|
2435
|
-
|
|
2436
|
-
},
|
|
2437
|
-
|
|
2376
|
+
E?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), L ? j(F) : x?.(F);
|
|
2377
|
+
}, ce = /* @__PURE__ */ r.jsx(
|
|
2378
|
+
$r,
|
|
2438
2379
|
{
|
|
2439
|
-
href:
|
|
2440
|
-
disabled: g === "v1" ? !1 : !
|
|
2441
|
-
onClick:
|
|
2380
|
+
href: A,
|
|
2381
|
+
disabled: g === "v1" ? !1 : !K,
|
|
2382
|
+
onClick: q,
|
|
2442
2383
|
"aria-label": t("formPriceAria"),
|
|
2443
|
-
className: g === "v1" &&
|
|
2444
|
-
children: g === "v1" ?
|
|
2445
|
-
|
|
2384
|
+
className: g === "v1" && K ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
|
|
2385
|
+
children: g === "v1" ? K ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
|
|
2386
|
+
z ? t("selectPackage") : h && B ? `${t("proceedWithPlan")}${B.price}` : `${t("formProceed")} ${J}`,
|
|
2446
2387
|
/* @__PURE__ */ r.jsx(
|
|
2447
|
-
|
|
2388
|
+
G,
|
|
2448
2389
|
{
|
|
2449
|
-
src:
|
|
2390
|
+
src: wa,
|
|
2450
2391
|
alt: "",
|
|
2451
|
-
className:
|
|
2392
|
+
className: je.chevronRight,
|
|
2452
2393
|
width: 20,
|
|
2453
2394
|
height: 20,
|
|
2454
2395
|
loading: "lazy"
|
|
@@ -2457,37 +2398,40 @@ const ca = {}, da = ({
|
|
|
2457
2398
|
] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2458
2399
|
t("formProceed"),
|
|
2459
2400
|
" ",
|
|
2460
|
-
|
|
2401
|
+
J
|
|
2461
2402
|
] })
|
|
2462
2403
|
}
|
|
2463
2404
|
);
|
|
2464
|
-
return /* @__PURE__ */ r.
|
|
2465
|
-
|
|
2405
|
+
return /* @__PURE__ */ r.jsxs(
|
|
2406
|
+
Ur,
|
|
2466
2407
|
{
|
|
2467
|
-
className: `${
|
|
2468
|
-
marquee: /* @__PURE__ */ r.jsx(
|
|
2469
|
-
children:
|
|
2408
|
+
className: `${je.footerContainer} ${c}`,
|
|
2409
|
+
marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(xa, { t }) }),
|
|
2410
|
+
children: [
|
|
2411
|
+
O && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
|
|
2412
|
+
ce
|
|
2413
|
+
]
|
|
2470
2414
|
}
|
|
2471
2415
|
);
|
|
2472
|
-
},
|
|
2416
|
+
}, Na = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ta = ({
|
|
2473
2417
|
t,
|
|
2474
2418
|
languageSelector: o,
|
|
2475
|
-
logoUrl: d =
|
|
2476
|
-
className:
|
|
2419
|
+
logoUrl: d = Na,
|
|
2420
|
+
className: m = ""
|
|
2477
2421
|
}) => {
|
|
2478
|
-
const
|
|
2422
|
+
const k = Te(), S = k?.config.isGlobal ?? !0, x = o != null && !S;
|
|
2479
2423
|
return /* @__PURE__ */ r.jsx(
|
|
2480
|
-
|
|
2424
|
+
Wr,
|
|
2481
2425
|
{
|
|
2482
2426
|
t,
|
|
2483
2427
|
logoUrl: d,
|
|
2484
|
-
imageComponent:
|
|
2428
|
+
imageComponent: k?.config.imageComponent,
|
|
2485
2429
|
languageSelector: o,
|
|
2486
|
-
showLanguageSelector:
|
|
2487
|
-
className:
|
|
2430
|
+
showLanguageSelector: x,
|
|
2431
|
+
className: m
|
|
2488
2432
|
}
|
|
2489
2433
|
);
|
|
2490
|
-
},
|
|
2434
|
+
}, Ra = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2491
2435
|
"path",
|
|
2492
2436
|
{
|
|
2493
2437
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2496,7 +2440,7 @@ const ca = {}, da = ({
|
|
|
2496
2440
|
strokeLinecap: "round",
|
|
2497
2441
|
strokeLinejoin: "round"
|
|
2498
2442
|
}
|
|
2499
|
-
) }),
|
|
2443
|
+
) }), Sa = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2500
2444
|
"path",
|
|
2501
2445
|
{
|
|
2502
2446
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2504,52 +2448,52 @@ const ca = {}, da = ({
|
|
|
2504
2448
|
strokeWidth: "1.8",
|
|
2505
2449
|
strokeLinecap: "round"
|
|
2506
2450
|
}
|
|
2507
|
-
) }),
|
|
2451
|
+
) }), Ea = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ia = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2508
2452
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2509
2453
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2510
|
-
] }),
|
|
2511
|
-
overlay:
|
|
2512
|
-
sheet:
|
|
2513
|
-
header:
|
|
2514
|
-
backBtn:
|
|
2515
|
-
title:
|
|
2516
|
-
plansContainer:
|
|
2517
|
-
planCard:
|
|
2518
|
-
withBadgeSpacing:
|
|
2519
|
-
planCardSelected:
|
|
2520
|
-
planCardPopular:
|
|
2521
|
-
popularBadge:
|
|
2522
|
-
planCardInner:
|
|
2523
|
-
planTitleRow:
|
|
2524
|
-
planTitle:
|
|
2525
|
-
radioCircle:
|
|
2526
|
-
radioChecked:
|
|
2527
|
-
radioInner:
|
|
2528
|
-
priceRow:
|
|
2529
|
-
price:
|
|
2530
|
-
originalPrice:
|
|
2531
|
-
savingsBadge:
|
|
2532
|
-
featureList:
|
|
2533
|
-
featureItem:
|
|
2534
|
-
featureIcon:
|
|
2535
|
-
featureText:
|
|
2536
|
-
astrologerHeading:
|
|
2537
|
-
astrologerList:
|
|
2538
|
-
astrologerCard:
|
|
2539
|
-
astrologerAvatar:
|
|
2540
|
-
astrologerAvatarPlaceholder:
|
|
2541
|
-
astrologerTop:
|
|
2542
|
-
astrologerBasicInfo:
|
|
2543
|
-
astrologerName:
|
|
2544
|
-
astrologerExp:
|
|
2545
|
-
astrologerDivider:
|
|
2546
|
-
planDivider:
|
|
2547
|
-
astrologerCertList:
|
|
2548
|
-
astrologerCertItem:
|
|
2549
|
-
bullet:
|
|
2550
|
-
footer:
|
|
2551
|
-
proceedBtn:
|
|
2552
|
-
},
|
|
2454
|
+
] }), Ba = "_overlay_18irl_2", La = "_sheet_18irl_12", Da = "_header_18irl_36", Fa = "_backBtn_18irl_48", Oa = "_title_18irl_66", Ma = "_plansContainer_18irl_78", $a = "_planCard_18irl_87", Ua = "_withBadgeSpacing_18irl_101", Ga = "_planCardSelected_18irl_105", Wa = "_planCardPopular_18irl_110", Ka = "_popularBadge_18irl_119", Ha = "_planCardInner_18irl_137", Ya = "_planTitleRow_18irl_148", qa = "_planTitle_18irl_148", Va = "_radioCircle_18irl_163", za = "_radioChecked_18irl_176", Ja = "_radioInner_18irl_181", Qa = "_priceRow_18irl_189", Xa = "_price_18irl_189", Za = "_originalPrice_18irl_202", en = "_savingsBadge_18irl_209", rn = "_featureList_18irl_219", tn = "_featureItem_18irl_228", an = "_featureIcon_18irl_234", nn = "_featureText_18irl_240", on = "_astrologerHeading_18irl_251", ln = "_astrologerList_18irl_258", sn = "_astrologerCard_18irl_274", cn = "_astrologerAvatar_18irl_290", dn = "_astrologerAvatarPlaceholder_18irl_307", un = "_astrologerTop_18irl_313", mn = "_astrologerBasicInfo_18irl_319", fn = "_astrologerName_18irl_326", pn = "_astrologerExp_18irl_335", hn = "_astrologerDivider_18irl_341", gn = "_planDivider_18irl_347", _n = "_astrologerCertList_18irl_354", bn = "_astrologerCertItem_18irl_360", yn = "_bullet_18irl_368", vn = "_footer_18irl_373", kn = "_proceedBtn_18irl_383", f = {
|
|
2455
|
+
overlay: Ba,
|
|
2456
|
+
sheet: La,
|
|
2457
|
+
header: Da,
|
|
2458
|
+
backBtn: Fa,
|
|
2459
|
+
title: Oa,
|
|
2460
|
+
plansContainer: Ma,
|
|
2461
|
+
planCard: $a,
|
|
2462
|
+
withBadgeSpacing: Ua,
|
|
2463
|
+
planCardSelected: Ga,
|
|
2464
|
+
planCardPopular: Wa,
|
|
2465
|
+
popularBadge: Ka,
|
|
2466
|
+
planCardInner: Ha,
|
|
2467
|
+
planTitleRow: Ya,
|
|
2468
|
+
planTitle: qa,
|
|
2469
|
+
radioCircle: Va,
|
|
2470
|
+
radioChecked: za,
|
|
2471
|
+
radioInner: Ja,
|
|
2472
|
+
priceRow: Qa,
|
|
2473
|
+
price: Xa,
|
|
2474
|
+
originalPrice: Za,
|
|
2475
|
+
savingsBadge: en,
|
|
2476
|
+
featureList: rn,
|
|
2477
|
+
featureItem: tn,
|
|
2478
|
+
featureIcon: an,
|
|
2479
|
+
featureText: nn,
|
|
2480
|
+
astrologerHeading: on,
|
|
2481
|
+
astrologerList: ln,
|
|
2482
|
+
astrologerCard: sn,
|
|
2483
|
+
astrologerAvatar: cn,
|
|
2484
|
+
astrologerAvatarPlaceholder: dn,
|
|
2485
|
+
astrologerTop: un,
|
|
2486
|
+
astrologerBasicInfo: mn,
|
|
2487
|
+
astrologerName: fn,
|
|
2488
|
+
astrologerExp: pn,
|
|
2489
|
+
astrologerDivider: hn,
|
|
2490
|
+
planDivider: gn,
|
|
2491
|
+
astrologerCertList: _n,
|
|
2492
|
+
astrologerCertItem: bn,
|
|
2493
|
+
bullet: yn,
|
|
2494
|
+
footer: vn,
|
|
2495
|
+
proceedBtn: kn
|
|
2496
|
+
}, wn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.header, children: [
|
|
2553
2497
|
/* @__PURE__ */ r.jsx(
|
|
2554
2498
|
"button",
|
|
2555
2499
|
{
|
|
@@ -2557,12 +2501,12 @@ const ca = {}, da = ({
|
|
|
2557
2501
|
onClick: o,
|
|
2558
2502
|
"aria-label": "Go back",
|
|
2559
2503
|
type: "button",
|
|
2560
|
-
children: /* @__PURE__ */ r.jsx(
|
|
2504
|
+
children: /* @__PURE__ */ r.jsx(Ea, {})
|
|
2561
2505
|
}
|
|
2562
2506
|
),
|
|
2563
2507
|
/* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
|
|
2564
|
-
] }),
|
|
2565
|
-
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: d.included ? /* @__PURE__ */ r.jsx(
|
|
2508
|
+
] }), xn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((d, m) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
|
|
2509
|
+
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: d.included ? /* @__PURE__ */ r.jsx(Ra, {}) : /* @__PURE__ */ r.jsx(Sa, {}) }),
|
|
2566
2510
|
/* @__PURE__ */ r.jsx(
|
|
2567
2511
|
"span",
|
|
2568
2512
|
{
|
|
@@ -2570,7 +2514,7 @@ const ca = {}, da = ({
|
|
|
2570
2514
|
children: o?.(d.text) ?? d.text
|
|
2571
2515
|
}
|
|
2572
2516
|
)
|
|
2573
|
-
] },
|
|
2517
|
+
] }, m)) }), Pn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
|
|
2574
2518
|
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
|
|
2575
2519
|
/* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2576
2520
|
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
|
|
@@ -2579,17 +2523,17 @@ const ca = {}, da = ({
|
|
|
2579
2523
|
] })
|
|
2580
2524
|
] }),
|
|
2581
2525
|
/* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
|
|
2582
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d,
|
|
2526
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d, m) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
|
|
2583
2527
|
/* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
|
|
2584
2528
|
" ",
|
|
2585
2529
|
o?.(d) ?? d
|
|
2586
|
-
] },
|
|
2587
|
-
] }),
|
|
2588
|
-
/* @__PURE__ */ r.jsx(
|
|
2530
|
+
] }, m)) })
|
|
2531
|
+
] }), An = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
|
|
2532
|
+
/* @__PURE__ */ r.jsx(Ia, {}),
|
|
2589
2533
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2590
|
-
] }),
|
|
2591
|
-
const
|
|
2592
|
-
(
|
|
2534
|
+
] }), Cn = ({ plan: t, isSelected: o, onSelect: d, t: m }) => {
|
|
2535
|
+
const k = () => d(t.id), S = (x) => {
|
|
2536
|
+
(x.key === " " || x.key === "Enter") && (x.preventDefault(), d(t.id));
|
|
2593
2537
|
};
|
|
2594
2538
|
return /* @__PURE__ */ r.jsxs(
|
|
2595
2539
|
"div",
|
|
@@ -2599,17 +2543,17 @@ const ca = {}, da = ({
|
|
|
2599
2543
|
o ? f.planCardSelected : "",
|
|
2600
2544
|
o && f.planCardPopular
|
|
2601
2545
|
].filter(Boolean).join(" "),
|
|
2602
|
-
onClick:
|
|
2546
|
+
onClick: k,
|
|
2603
2547
|
role: "radio",
|
|
2604
2548
|
"aria-checked": o,
|
|
2605
2549
|
tabIndex: 0,
|
|
2606
|
-
onKeyDown:
|
|
2550
|
+
onKeyDown: S,
|
|
2607
2551
|
"data-plan-id": t.id,
|
|
2608
2552
|
children: [
|
|
2609
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2553
|
+
t.badge && /* @__PURE__ */ r.jsx(An, { label: m?.(t.badge) ?? t.badge }),
|
|
2610
2554
|
/* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
|
|
2611
2555
|
/* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
|
|
2612
|
-
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children:
|
|
2556
|
+
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: m?.(t.title) ?? t.title }),
|
|
2613
2557
|
/* @__PURE__ */ r.jsx(
|
|
2614
2558
|
"span",
|
|
2615
2559
|
{
|
|
@@ -2622,19 +2566,19 @@ const ca = {}, da = ({
|
|
|
2622
2566
|
/* @__PURE__ */ r.jsxs("div", { className: f.priceRow, children: [
|
|
2623
2567
|
/* @__PURE__ */ r.jsx("span", { className: f.price, children: t.price }),
|
|
2624
2568
|
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
|
|
2625
|
-
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children:
|
|
2569
|
+
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: m?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2626
2570
|
] }),
|
|
2627
|
-
/* @__PURE__ */ r.jsx(
|
|
2571
|
+
/* @__PURE__ */ r.jsx(xn, { features: t.features, t: m }),
|
|
2628
2572
|
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
|
|
2629
2573
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2630
|
-
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children:
|
|
2631
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((
|
|
2574
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2575
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((x, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(Pn, { astrologer: x, t: m }) }, j)) })
|
|
2632
2576
|
] })
|
|
2633
2577
|
] })
|
|
2634
2578
|
]
|
|
2635
2579
|
}
|
|
2636
2580
|
);
|
|
2637
|
-
},
|
|
2581
|
+
}, jn = [
|
|
2638
2582
|
{
|
|
2639
2583
|
id: "jyoti",
|
|
2640
2584
|
name: "planAstrologerNameJyoti",
|
|
@@ -2662,7 +2606,7 @@ const ca = {}, da = ({
|
|
|
2662
2606
|
experience: "planAstrologerExpNeeraj",
|
|
2663
2607
|
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2664
2608
|
}
|
|
2665
|
-
],
|
|
2609
|
+
], Nn = (t) => [
|
|
2666
2610
|
{
|
|
2667
2611
|
id: "kundli-report",
|
|
2668
2612
|
title: "planNameBasic",
|
|
@@ -2688,39 +2632,39 @@ const ca = {}, da = ({
|
|
|
2688
2632
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2689
2633
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2690
2634
|
],
|
|
2691
|
-
astrologers:
|
|
2635
|
+
astrologers: jn.filter(
|
|
2692
2636
|
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
2693
2637
|
)
|
|
2694
2638
|
}
|
|
2695
|
-
],
|
|
2639
|
+
], Tn = ({
|
|
2696
2640
|
isOpen: t,
|
|
2697
2641
|
onClose: o,
|
|
2698
2642
|
selectedPlan: d,
|
|
2699
|
-
onSelectPlan:
|
|
2700
|
-
plans:
|
|
2701
|
-
onProceed:
|
|
2702
|
-
t:
|
|
2703
|
-
analytics:
|
|
2643
|
+
onSelectPlan: m,
|
|
2644
|
+
plans: k,
|
|
2645
|
+
onProceed: S,
|
|
2646
|
+
t: x,
|
|
2647
|
+
analytics: j
|
|
2704
2648
|
}) => {
|
|
2705
|
-
const
|
|
2706
|
-
|
|
2649
|
+
const E = Te()?.config.isGlobal ?? !0, c = k ?? Nn(E), N = d?.id || c.find((C) => C.badge)?.id || c[0]?.id || "", p = H(null), I = H(null), h = H(!1);
|
|
2650
|
+
Y(() => {
|
|
2707
2651
|
if (t) {
|
|
2708
2652
|
if (!d) {
|
|
2709
|
-
const
|
|
2710
|
-
|
|
2653
|
+
const C = c.find((b) => b.badge) ?? c[0];
|
|
2654
|
+
C && m(C);
|
|
2711
2655
|
}
|
|
2712
|
-
|
|
2656
|
+
h.current || (j?.trackPlanPageViewed?.(), h.current = !0);
|
|
2713
2657
|
} else
|
|
2714
|
-
|
|
2715
|
-
}, [t, c, d,
|
|
2716
|
-
const
|
|
2717
|
-
|
|
2658
|
+
h.current = !1;
|
|
2659
|
+
}, [t, c, d, m, j]);
|
|
2660
|
+
const B = () => {
|
|
2661
|
+
j?.trackPlanPageClosed?.(), o();
|
|
2718
2662
|
};
|
|
2719
|
-
return
|
|
2663
|
+
return Y(() => {
|
|
2720
2664
|
if (!t) return;
|
|
2721
|
-
const
|
|
2665
|
+
const C = document.body.style.overflow;
|
|
2722
2666
|
return document.body.style.overflow = "hidden", () => {
|
|
2723
|
-
document.body.style.overflow =
|
|
2667
|
+
document.body.style.overflow = C;
|
|
2724
2668
|
};
|
|
2725
2669
|
}, [t]), t ? /* @__PURE__ */ r.jsx(
|
|
2726
2670
|
"div",
|
|
@@ -2728,7 +2672,7 @@ const ca = {}, da = ({
|
|
|
2728
2672
|
className: f.overlay,
|
|
2729
2673
|
role: "dialog",
|
|
2730
2674
|
"aria-modal": "true",
|
|
2731
|
-
"aria-label":
|
|
2675
|
+
"aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2732
2676
|
children: /* @__PURE__ */ r.jsxs(
|
|
2733
2677
|
"div",
|
|
2734
2678
|
{
|
|
@@ -2736,34 +2680,34 @@ const ca = {}, da = ({
|
|
|
2736
2680
|
className: f.sheet,
|
|
2737
2681
|
children: [
|
|
2738
2682
|
/* @__PURE__ */ r.jsx(
|
|
2739
|
-
|
|
2683
|
+
wn,
|
|
2740
2684
|
{
|
|
2741
|
-
title:
|
|
2742
|
-
onBack:
|
|
2685
|
+
title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2686
|
+
onBack: B
|
|
2743
2687
|
}
|
|
2744
2688
|
),
|
|
2745
2689
|
/* @__PURE__ */ r.jsx(
|
|
2746
2690
|
"div",
|
|
2747
2691
|
{
|
|
2748
|
-
ref:
|
|
2692
|
+
ref: I,
|
|
2749
2693
|
className: f.plansContainer,
|
|
2750
2694
|
role: "radiogroup",
|
|
2751
2695
|
"aria-label": "Kundli plans",
|
|
2752
|
-
children: c.map((
|
|
2753
|
-
|
|
2696
|
+
children: c.map((C) => /* @__PURE__ */ r.jsx(
|
|
2697
|
+
Cn,
|
|
2754
2698
|
{
|
|
2755
|
-
plan:
|
|
2756
|
-
isSelected:
|
|
2757
|
-
t:
|
|
2758
|
-
onSelect: (
|
|
2759
|
-
const g = c.find((
|
|
2760
|
-
g && (
|
|
2699
|
+
plan: C,
|
|
2700
|
+
isSelected: C.id === N,
|
|
2701
|
+
t: x,
|
|
2702
|
+
onSelect: (b) => {
|
|
2703
|
+
const g = c.find((O) => O.id === b);
|
|
2704
|
+
g && (j?.trackPlanSelected?.({
|
|
2761
2705
|
planId: g.id,
|
|
2762
2706
|
planName: g.title
|
|
2763
|
-
}),
|
|
2707
|
+
}), m(g));
|
|
2764
2708
|
}
|
|
2765
2709
|
},
|
|
2766
|
-
|
|
2710
|
+
C.id
|
|
2767
2711
|
))
|
|
2768
2712
|
}
|
|
2769
2713
|
),
|
|
@@ -2773,12 +2717,12 @@ const ca = {}, da = ({
|
|
|
2773
2717
|
className: f.proceedBtn,
|
|
2774
2718
|
disabled: !d,
|
|
2775
2719
|
onClick: () => {
|
|
2776
|
-
d && (
|
|
2720
|
+
d && (j?.trackPlanProceedClicked?.({
|
|
2777
2721
|
planId: d.id,
|
|
2778
2722
|
planName: d.title
|
|
2779
|
-
}),
|
|
2723
|
+
}), S(d), o());
|
|
2780
2724
|
},
|
|
2781
|
-
children: d ?
|
|
2725
|
+
children: d ? x?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
|
|
2782
2726
|
}
|
|
2783
2727
|
) })
|
|
2784
2728
|
]
|
|
@@ -2786,7 +2730,7 @@ const ca = {}, da = ({
|
|
|
2786
2730
|
)
|
|
2787
2731
|
}
|
|
2788
2732
|
) : null;
|
|
2789
|
-
},
|
|
2733
|
+
}, Rn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Sn = (t, o) => fr[t]?.[o] ?? o, En = {
|
|
2790
2734
|
fullName: "",
|
|
2791
2735
|
phone: "",
|
|
2792
2736
|
gender: "",
|
|
@@ -2795,174 +2739,176 @@ const ca = {}, da = ({
|
|
|
2795
2739
|
dateOfBirth: "",
|
|
2796
2740
|
birthTime: "",
|
|
2797
2741
|
birthTimeUnknown: !1,
|
|
2798
|
-
birthPlace: ""
|
|
2799
|
-
|
|
2742
|
+
birthPlace: "",
|
|
2743
|
+
birthPlaceLat: void 0,
|
|
2744
|
+
birthPlaceLng: void 0
|
|
2745
|
+
}, $n = ({
|
|
2800
2746
|
className: t = "",
|
|
2801
2747
|
locale: o,
|
|
2802
2748
|
showLanguageSelector: d = !0,
|
|
2803
|
-
onBack:
|
|
2804
|
-
initialValues:
|
|
2805
|
-
onProceed:
|
|
2806
|
-
onProceedGuidance:
|
|
2807
|
-
proceedHref:
|
|
2808
|
-
originalPriceLabel:
|
|
2809
|
-
discountedPriceLabel:
|
|
2810
|
-
|
|
2811
|
-
analytics:
|
|
2749
|
+
onBack: m,
|
|
2750
|
+
initialValues: k,
|
|
2751
|
+
onProceed: S,
|
|
2752
|
+
onProceedGuidance: x,
|
|
2753
|
+
proceedHref: j,
|
|
2754
|
+
originalPriceLabel: A,
|
|
2755
|
+
discountedPriceLabel: E,
|
|
2756
|
+
atlasSearchLocalities: c,
|
|
2757
|
+
analytics: N
|
|
2812
2758
|
}) => {
|
|
2813
|
-
const p =
|
|
2814
|
-
|
|
2759
|
+
const p = Te(), I = qr(), h = p !== null, B = h ? p.locale : o, C = B ?? I?.locale ?? "en", [b, g] = W(C), O = h ? p.locale : b, w = h ? p.setLocale : g, [D, K] = W(!1), z = H(null), J = H(B), G = H(
|
|
2760
|
+
I?.locale
|
|
2815
2761
|
);
|
|
2816
|
-
|
|
2762
|
+
Y(() => {
|
|
2817
2763
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2818
2764
|
}, []);
|
|
2819
|
-
const
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
}, [
|
|
2823
|
-
if (
|
|
2824
|
-
const
|
|
2825
|
-
|
|
2826
|
-
}, [
|
|
2827
|
-
const [
|
|
2828
|
-
...
|
|
2829
|
-
...
|
|
2830
|
-
phone:
|
|
2831
|
-
}),
|
|
2832
|
-
|
|
2765
|
+
const q = (v) => Sn(O, v);
|
|
2766
|
+
Y(() => {
|
|
2767
|
+
B && J.current !== B && w(B), J.current = B;
|
|
2768
|
+
}, [B, w]), Y(() => {
|
|
2769
|
+
if (B) return;
|
|
2770
|
+
const v = I?.locale;
|
|
2771
|
+
v && G.current !== v && w(v), G.current = v;
|
|
2772
|
+
}, [I?.locale, B, w]);
|
|
2773
|
+
const [ce, oe] = W({
|
|
2774
|
+
...En,
|
|
2775
|
+
...k,
|
|
2776
|
+
phone: k?.phone ?? ""
|
|
2777
|
+
}), L = h ? p?.config.isGlobal ?? !0 : !0, [T, F] = W(
|
|
2778
|
+
L ? "+1" : "+91"
|
|
2833
2779
|
);
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
}, [
|
|
2837
|
-
const
|
|
2838
|
-
|
|
2839
|
-
if (!
|
|
2840
|
-
const
|
|
2841
|
-
|
|
2780
|
+
Y(() => {
|
|
2781
|
+
F(L ? "+1" : "+91");
|
|
2782
|
+
}, [L]);
|
|
2783
|
+
const Q = h ? p.formValues : ce, he = h ? p.setFormValues : oe, me = h ? p.goToPage : m, V = h ? p.onProceed : S, ee = h ? p.onProceedGuidance : x, re = h ? p.config.proceedHref : j, de = h ? p.config.originalPriceLabel : A, te = h ? p.config.discountedPriceLabel : E, pe = h ? p.config.showLanguageSelector ?? !0 : d, ie = (h ? p?.config?.analytics : N) ?? N;
|
|
2784
|
+
Y(() => {
|
|
2785
|
+
if (!D) return;
|
|
2786
|
+
const v = (n) => {
|
|
2787
|
+
z.current && !z.current.contains(n.target) && K(!1);
|
|
2842
2788
|
};
|
|
2843
|
-
return document.addEventListener("mousedown",
|
|
2844
|
-
}, [
|
|
2845
|
-
const [
|
|
2846
|
-
|
|
2847
|
-
}, []), _e =
|
|
2848
|
-
if (
|
|
2849
|
-
planId:
|
|
2850
|
-
planName:
|
|
2851
|
-
}), !
|
|
2852
|
-
const
|
|
2853
|
-
|
|
2854
|
-
}, [
|
|
2789
|
+
return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
|
|
2790
|
+
}, [D]);
|
|
2791
|
+
const [ge, ue] = W(!1), [X, be] = W(null), le = H(null), we = Ne((v) => {
|
|
2792
|
+
le.current = v, ue(!0);
|
|
2793
|
+
}, []), _e = Ne(() => {
|
|
2794
|
+
if (ie?.trackPlanProceedClicked?.({
|
|
2795
|
+
planId: X.id,
|
|
2796
|
+
planName: X.title
|
|
2797
|
+
}), !le.current || !X) return;
|
|
2798
|
+
const v = { ...le.current, _selectedPlan: X };
|
|
2799
|
+
X.id === br && ee ? ee(v) : V?.(v), ue(!1), le.current = null;
|
|
2800
|
+
}, [X, V, ee]), xe = p?.config.imageComponent ?? Be, ye = pe ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: z, children: [
|
|
2855
2801
|
/* @__PURE__ */ r.jsxs(
|
|
2856
2802
|
"button",
|
|
2857
2803
|
{
|
|
2858
2804
|
type: "button",
|
|
2859
|
-
className:
|
|
2805
|
+
className: fe.langTrigger,
|
|
2860
2806
|
onClick: () => {
|
|
2861
|
-
|
|
2807
|
+
ie?.trackLanguageClickedFe?.({ language: O }), K((v) => !v);
|
|
2862
2808
|
},
|
|
2863
|
-
"aria-expanded":
|
|
2809
|
+
"aria-expanded": D,
|
|
2864
2810
|
"aria-haspopup": "listbox",
|
|
2865
2811
|
id: "kundli-form-lang",
|
|
2866
|
-
"aria-label":
|
|
2812
|
+
"aria-label": q("language"),
|
|
2867
2813
|
children: [
|
|
2868
2814
|
/* @__PURE__ */ r.jsx(
|
|
2869
|
-
|
|
2815
|
+
xe,
|
|
2870
2816
|
{
|
|
2871
|
-
src:
|
|
2817
|
+
src: Rn,
|
|
2872
2818
|
alt: "",
|
|
2873
|
-
className:
|
|
2819
|
+
className: fe.langIcon,
|
|
2874
2820
|
width: 16,
|
|
2875
2821
|
height: 16,
|
|
2876
2822
|
loading: "eager"
|
|
2877
2823
|
}
|
|
2878
2824
|
),
|
|
2879
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2825
|
+
/* @__PURE__ */ r.jsx("span", { className: fe.langLabel, children: lr[O] })
|
|
2880
2826
|
]
|
|
2881
2827
|
}
|
|
2882
2828
|
),
|
|
2883
|
-
|
|
2829
|
+
D && /* @__PURE__ */ r.jsx(
|
|
2884
2830
|
"ul",
|
|
2885
2831
|
{
|
|
2886
|
-
className:
|
|
2832
|
+
className: fe.langMenu,
|
|
2887
2833
|
role: "listbox",
|
|
2888
2834
|
"aria-labelledby": "kundli-form-lang",
|
|
2889
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
2890
|
-
children:
|
|
2835
|
+
"aria-activedescendant": `kundli-form-lang-option-${O}`,
|
|
2836
|
+
children: mr.map((v) => /* @__PURE__ */ r.jsx(
|
|
2891
2837
|
"li",
|
|
2892
2838
|
{
|
|
2893
|
-
id: `kundli-form-lang-option-${
|
|
2839
|
+
id: `kundli-form-lang-option-${v}`,
|
|
2894
2840
|
role: "option",
|
|
2895
|
-
"aria-selected":
|
|
2896
|
-
className:
|
|
2841
|
+
"aria-selected": v === O,
|
|
2842
|
+
className: fe.langOption,
|
|
2897
2843
|
onClick: () => {
|
|
2898
|
-
|
|
2844
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: v }), w(v), K(!1);
|
|
2899
2845
|
},
|
|
2900
|
-
children: lr[
|
|
2846
|
+
children: lr[v]
|
|
2901
2847
|
},
|
|
2902
|
-
|
|
2848
|
+
v
|
|
2903
2849
|
))
|
|
2904
2850
|
}
|
|
2905
2851
|
)
|
|
2906
2852
|
] }) : null;
|
|
2907
|
-
return /* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2853
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${fe.container} ${t}`, children: [
|
|
2908
2854
|
/* @__PURE__ */ r.jsx(
|
|
2909
|
-
|
|
2855
|
+
Ta,
|
|
2910
2856
|
{
|
|
2911
|
-
t:
|
|
2912
|
-
logoUrl:
|
|
2913
|
-
languageSelector:
|
|
2914
|
-
className:
|
|
2857
|
+
t: q,
|
|
2858
|
+
logoUrl: h ? p.config.logoUrl : void 0,
|
|
2859
|
+
languageSelector: ye,
|
|
2860
|
+
className: fe.kundliHeaderNoBorder
|
|
2915
2861
|
}
|
|
2916
2862
|
),
|
|
2917
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2918
|
-
/* @__PURE__ */ r.jsxs("main", { className:
|
|
2919
|
-
/* @__PURE__ */ r.jsx(
|
|
2863
|
+
/* @__PURE__ */ r.jsx("div", { className: fe.headerSeparator, "aria-hidden": !0 }),
|
|
2864
|
+
/* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
|
|
2865
|
+
/* @__PURE__ */ r.jsx(ut, { t: q, onBack: me }),
|
|
2920
2866
|
/* @__PURE__ */ r.jsx(
|
|
2921
|
-
|
|
2867
|
+
pa,
|
|
2922
2868
|
{
|
|
2923
|
-
t:
|
|
2924
|
-
values:
|
|
2925
|
-
onChange:
|
|
2926
|
-
|
|
2927
|
-
phoneIsdCode:
|
|
2928
|
-
onPhoneIsdCodeChange:
|
|
2869
|
+
t: q,
|
|
2870
|
+
values: Q,
|
|
2871
|
+
onChange: he,
|
|
2872
|
+
atlasSearchLocalities: c,
|
|
2873
|
+
phoneIsdCode: T,
|
|
2874
|
+
onPhoneIsdCodeChange: F
|
|
2929
2875
|
}
|
|
2930
2876
|
)
|
|
2931
2877
|
] }),
|
|
2932
2878
|
/* @__PURE__ */ r.jsx(
|
|
2933
|
-
|
|
2879
|
+
ja,
|
|
2934
2880
|
{
|
|
2935
|
-
t:
|
|
2936
|
-
values:
|
|
2937
|
-
phoneIsdCode:
|
|
2938
|
-
onProceed:
|
|
2939
|
-
onProceedGuidance:
|
|
2940
|
-
href:
|
|
2941
|
-
originalPriceLabel:
|
|
2942
|
-
discountedPriceLabel:
|
|
2943
|
-
analytics:
|
|
2881
|
+
t: q,
|
|
2882
|
+
values: Q,
|
|
2883
|
+
phoneIsdCode: T,
|
|
2884
|
+
onProceed: V,
|
|
2885
|
+
onProceedGuidance: ee,
|
|
2886
|
+
href: re,
|
|
2887
|
+
originalPriceLabel: de,
|
|
2888
|
+
discountedPriceLabel: te,
|
|
2889
|
+
analytics: ie,
|
|
2944
2890
|
showPlanSheet: we,
|
|
2945
2891
|
confirmPlan: _e,
|
|
2946
|
-
planSheetOpen:
|
|
2947
|
-
selectedPlan:
|
|
2892
|
+
planSheetOpen: ge,
|
|
2893
|
+
selectedPlan: X
|
|
2948
2894
|
}
|
|
2949
2895
|
),
|
|
2950
2896
|
p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
2951
|
-
|
|
2897
|
+
Tn,
|
|
2952
2898
|
{
|
|
2953
|
-
isOpen:
|
|
2954
|
-
onClose: () =>
|
|
2955
|
-
selectedPlan:
|
|
2956
|
-
onSelectPlan:
|
|
2957
|
-
onProceed: (
|
|
2958
|
-
_e?.(
|
|
2899
|
+
isOpen: ge,
|
|
2900
|
+
onClose: () => ue(!1),
|
|
2901
|
+
selectedPlan: X,
|
|
2902
|
+
onSelectPlan: be,
|
|
2903
|
+
onProceed: (v) => {
|
|
2904
|
+
_e?.(v);
|
|
2959
2905
|
},
|
|
2960
|
-
t:
|
|
2961
|
-
analytics:
|
|
2906
|
+
t: q,
|
|
2907
|
+
analytics: ie
|
|
2962
2908
|
}
|
|
2963
2909
|
)
|
|
2964
2910
|
] });
|
|
2965
|
-
},
|
|
2911
|
+
}, Un = {
|
|
2966
2912
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2967
2913
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2968
2914
|
language_changed_fe: "language_changed_fe",
|
|
@@ -3002,31 +2948,31 @@ const ca = {}, da = ({
|
|
|
3002
2948
|
kundli_form_view: "kundli_form_view"
|
|
3003
2949
|
};
|
|
3004
2950
|
export {
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
2951
|
+
Be as D,
|
|
2952
|
+
ut as F,
|
|
2953
|
+
Ln as I,
|
|
2954
|
+
Un as K,
|
|
3009
2955
|
lr as L,
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
2956
|
+
br as P,
|
|
2957
|
+
mr as S,
|
|
2958
|
+
pa as U,
|
|
2959
|
+
hr as a,
|
|
2960
|
+
Ke as b,
|
|
2961
|
+
$n as c,
|
|
2962
|
+
On as d,
|
|
2963
|
+
it as e,
|
|
2964
|
+
lt as f,
|
|
2965
|
+
nt as g,
|
|
2966
|
+
Te as h,
|
|
2967
|
+
Fn as i,
|
|
2968
|
+
Mn as j,
|
|
3023
2969
|
r as k,
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
2970
|
+
Ta as l,
|
|
2971
|
+
ja as m,
|
|
2972
|
+
Tn as n,
|
|
2973
|
+
Dn as r,
|
|
2974
|
+
ot as s,
|
|
2975
|
+
fr as t,
|
|
2976
|
+
qr as u
|
|
3031
2977
|
};
|
|
3032
|
-
//# sourceMappingURL=analytics-
|
|
2978
|
+
//# sourceMappingURL=analytics-BshMK7pJ.js.map
|