@srimandir/kundli-generator 5.25.1 → 5.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-DwdBIhfn.js → analytics-DCkm-Koi.js} +928 -916
- package/dist/analytics-DCkm-Koi.js.map +1 -0
- package/dist/analytics.d.ts +3 -1
- package/dist/components/KundliPage/sections/KundliTableSection/KundliTableSection.constants.d.ts +10 -0
- package/dist/components/KundliPage/sections/KundliTableSection/KundliTableSection.d.ts +7 -0
- package/dist/components/KundliPage/sections/KundliTableSection/index.d.ts +2 -0
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +12 -9
- package/dist/components/KundliPlanBottomSheet/types.d.ts +1 -0
- package/dist/components/KundliThreeSkuPage/KundliThreeSkuPage.d.ts +38 -0
- package/dist/components/KundliThreeSkuPage/index.d.ts +2 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.d.ts +47 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.icons.d.ts +3 -0
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +81 -0
- package/dist/components/ThreeSkuPlanBottomSheet/index.d.ts +4 -0
- package/dist/{criticalCss-BrOHnQj-.js → criticalCss-R8hQ5IOD.js} +2 -2
- package/dist/{criticalCss-BrOHnQj-.js.map → criticalCss-R8hQ5IOD.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/phone.d.ts +26 -0
- package/package.json +2 -2
- package/dist/analytics-DwdBIhfn.js.map +0 -1
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import Ge, { useContext as We, createContext as
|
|
2
|
-
import { FormSectionHeader as
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"),
|
|
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 ve, PageHeader as Wr } from "@srimandir/astrology-common";
|
|
3
|
+
var Ie = { exports: {} }, Se = {};
|
|
4
|
+
var nr;
|
|
5
|
+
function Kr() {
|
|
6
|
+
if (nr) return Se;
|
|
7
|
+
nr = 1;
|
|
8
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
9
|
function x(j, A, E) {
|
|
10
|
-
var
|
|
11
|
-
E !== void 0 && (
|
|
12
|
-
for (
|
|
13
|
-
if (j && j.defaultProps) for (
|
|
14
|
-
return { $$typeof: o, type: j, key:
|
|
10
|
+
var d, N = {}, h = null, I = null;
|
|
11
|
+
E !== void 0 && (h = "" + E), A.key !== void 0 && (h = "" + A.key), A.ref !== void 0 && (I = A.ref);
|
|
12
|
+
for (d in A) f.call(A, d) && !S.hasOwnProperty(d) && (N[d] = A[d]);
|
|
13
|
+
if (j && j.defaultProps) for (d in A = j.defaultProps, A) N[d] === void 0 && (N[d] = A[d]);
|
|
14
|
+
return { $$typeof: o, type: j, key: h, ref: I, props: N, _owner: v.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Se.Fragment = c, Se.jsx = x, Se.jsxs = x, Se;
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"),
|
|
18
|
+
var Ee = {};
|
|
19
|
+
var or;
|
|
20
|
+
function Hr() {
|
|
21
|
+
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), f = /* @__PURE__ */ Symbol.for("react.fragment"), v = /* @__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"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, L = "@@iterator";
|
|
23
23
|
function C(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i =
|
|
26
|
+
var i = p && e[p] || e[L];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
29
|
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
-
function
|
|
30
|
+
function g(e) {
|
|
31
31
|
{
|
|
32
|
-
for (var i = arguments.length,
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
33
|
+
s[u - 1] = arguments[u];
|
|
34
|
+
$("error", e, s);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function $(e, i, s) {
|
|
38
38
|
{
|
|
39
39
|
var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
|
|
40
|
-
P !== "" && (i += "%s",
|
|
41
|
-
var R =
|
|
42
|
-
return String(
|
|
40
|
+
P !== "" && (i += "%s", s = s.concat([P]));
|
|
41
|
+
var R = s.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 w = !1,
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
47
|
+
var w = !1, F = !1, K = !1, z = !1, J = !1, G;
|
|
48
|
+
G = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function V(e) {
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === S || J || e === v || e === E || e === d || z || e === I || w || F || K || typeof e == "object" && e !== null && (e.$$typeof === h || 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
|
|
56
|
+
function ce(e, i, s) {
|
|
57
57
|
var u = e.displayName;
|
|
58
58
|
if (u)
|
|
59
59
|
return u;
|
|
60
60
|
var P = i.displayName || i.name || "";
|
|
61
|
-
return P !== "" ?
|
|
61
|
+
return P !== "" ? s + "(" + P + ")" : s;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function oe(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function D(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof e.tag == "number" &&
|
|
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")
|
|
70
70
|
return e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
73
73
|
switch (e) {
|
|
74
|
-
case
|
|
74
|
+
case f:
|
|
75
75
|
return "Fragment";
|
|
76
|
-
case
|
|
76
|
+
case c:
|
|
77
77
|
return "Portal";
|
|
78
78
|
case S:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case v:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case E:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case d:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof e == "object")
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
89
|
case j:
|
|
90
90
|
var i = e;
|
|
91
|
-
return
|
|
91
|
+
return oe(i) + ".Consumer";
|
|
92
92
|
case x:
|
|
93
|
-
var
|
|
94
|
-
return
|
|
93
|
+
var s = e;
|
|
94
|
+
return oe(s._context) + ".Provider";
|
|
95
95
|
case A:
|
|
96
|
-
return
|
|
96
|
+
return ce(e, e.render, "ForwardRef");
|
|
97
97
|
case N:
|
|
98
98
|
var u = e.displayName || null;
|
|
99
|
-
return u !== null ? u :
|
|
100
|
-
case
|
|
101
|
-
var P = e, R = P._payload,
|
|
99
|
+
return u !== null ? u : D(e.type) || "Memo";
|
|
100
|
+
case h: {
|
|
101
|
+
var P = e, R = P._payload, y = P._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return D(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 T = Object.assign,
|
|
112
|
-
function
|
|
111
|
+
var T = Object.assign, O = 0, Q, pe, fe, q, ee, re, de;
|
|
112
|
+
function te() {
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
function
|
|
114
|
+
te.__reactDisabledLog = !0;
|
|
115
|
+
function he() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (O === 0) {
|
|
118
|
+
Q = console.log, pe = console.info, fe = console.warn, q = 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,12 +132,12 @@ function Gr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
O++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function ie() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (O--, O === 0) {
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -145,264 +145,264 @@ function Gr() {
|
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
147
|
log: T({}, e, {
|
|
148
|
-
value:
|
|
148
|
+
value: Q
|
|
149
149
|
}),
|
|
150
150
|
info: T({}, e, {
|
|
151
|
-
value:
|
|
151
|
+
value: pe
|
|
152
152
|
}),
|
|
153
153
|
warn: T({}, e, {
|
|
154
|
-
value:
|
|
154
|
+
value: fe
|
|
155
155
|
}),
|
|
156
156
|
error: T({}, e, {
|
|
157
|
-
value:
|
|
157
|
+
value: q
|
|
158
158
|
}),
|
|
159
159
|
group: T({}, e, {
|
|
160
|
-
value:
|
|
160
|
+
value: ee
|
|
161
161
|
}),
|
|
162
162
|
groupCollapsed: T({}, e, {
|
|
163
|
-
value:
|
|
163
|
+
value: re
|
|
164
164
|
}),
|
|
165
165
|
groupEnd: T({}, e, {
|
|
166
|
-
value:
|
|
166
|
+
value: de
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
O < 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, s) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (ue === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
179
|
} catch (P) {
|
|
180
180
|
var u = P.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
-
|
|
181
|
+
ue = u && u[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + ue + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var be = !1, se;
|
|
188
188
|
{
|
|
189
189
|
var we = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
-
|
|
190
|
+
se = new we();
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
if (!e ||
|
|
192
|
+
function _e(e, i) {
|
|
193
|
+
if (!e || be)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var
|
|
197
|
-
if (
|
|
198
|
-
return
|
|
196
|
+
var s = se.get(e);
|
|
197
|
+
if (s !== void 0)
|
|
198
|
+
return s;
|
|
199
199
|
}
|
|
200
200
|
var u;
|
|
201
|
-
|
|
201
|
+
be = !0;
|
|
202
202
|
var P = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
204
|
var R;
|
|
205
|
-
R =
|
|
205
|
+
R = ge.current, ge.current = null, he();
|
|
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
|
-
u =
|
|
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
|
-
u =
|
|
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
|
-
u =
|
|
233
|
+
} catch (ne) {
|
|
234
|
+
u = ne;
|
|
235
235
|
}
|
|
236
236
|
e();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var _ =
|
|
238
|
+
} catch (ne) {
|
|
239
|
+
if (ne && u && typeof ne.stack == "string") {
|
|
240
|
+
for (var _ = ne.stack.split(`
|
|
241
241
|
`), Z = u.stack.split(`
|
|
242
|
-
`),
|
|
243
|
-
|
|
244
|
-
for (;
|
|
245
|
-
if (_[
|
|
246
|
-
if (
|
|
242
|
+
`), M = _.length - 1, U = Z.length - 1; M >= 1 && U >= 0 && _[M] !== Z[U]; )
|
|
243
|
+
U--;
|
|
244
|
+
for (; M >= 1 && U >= 0; M--, U--)
|
|
245
|
+
if (_[M] !== Z[U]) {
|
|
246
|
+
if (M !== 1 || U !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
248
|
+
if (M--, U--, U < 0 || _[M] !== Z[U]) {
|
|
249
249
|
var le = `
|
|
250
|
-
` + _[
|
|
251
|
-
return e.displayName && le.includes("<anonymous>") && (le = le.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
250
|
+
` + _[M].replace(" at new ", " at ");
|
|
251
|
+
return e.displayName && le.includes("<anonymous>") && (le = le.replace("<anonymous>", e.displayName)), typeof e == "function" && se.set(e, le), le;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while (M >= 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 : "", ke = Ae ? X(Ae) : "";
|
|
261
|
+
return typeof e == "function" && se.set(e, ke), ke;
|
|
262
262
|
}
|
|
263
|
-
function xe(e, i,
|
|
264
|
-
return
|
|
263
|
+
function xe(e, i, s) {
|
|
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 k(e, i, s) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
274
|
-
return
|
|
274
|
+
return _e(e, ye(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
|
-
return
|
|
276
|
+
return X(e);
|
|
277
277
|
switch (e) {
|
|
278
278
|
case E:
|
|
279
|
-
return
|
|
280
|
-
case
|
|
281
|
-
return
|
|
279
|
+
return X("Suspense");
|
|
280
|
+
case d:
|
|
281
|
+
return X("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
285
|
case A:
|
|
286
286
|
return xe(e.render);
|
|
287
287
|
case N:
|
|
288
|
-
return
|
|
289
|
-
case
|
|
288
|
+
return k(e.type, i, s);
|
|
289
|
+
case h: {
|
|
290
290
|
var u = e, P = u._payload, R = u._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return k(R(P), i, s);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var
|
|
300
|
-
function
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, l = {}, B = b.ReactDebugCurrentFrame;
|
|
300
|
+
function ae(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var i = e._owner,
|
|
303
|
-
|
|
302
|
+
var i = e._owner, s = k(e.type, e._source, i ? i.type : null);
|
|
303
|
+
B.setExtraStackFrame(s);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
B.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Re(e, i, s, u, P) {
|
|
308
308
|
{
|
|
309
|
-
var R = Function.call.bind(
|
|
310
|
-
for (var
|
|
311
|
-
if (R(e,
|
|
309
|
+
var R = Function.call.bind(n);
|
|
310
|
+
for (var y in e)
|
|
311
|
+
if (R(e, y)) {
|
|
312
312
|
var _ = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof e[
|
|
315
|
-
var Z = Error((u || "React class") + ": " +
|
|
314
|
+
if (typeof e[y] != "function") {
|
|
315
|
+
var Z = Error((u || "React class") + ": " + s + " 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
316
|
throw Z.name = "Invariant Violation", Z;
|
|
317
317
|
}
|
|
318
|
-
_ = e[
|
|
319
|
-
} catch (
|
|
320
|
-
_ =
|
|
318
|
+
_ = e[y](i, y, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (M) {
|
|
320
|
+
_ = M;
|
|
321
321
|
}
|
|
322
|
-
_ && !(_ instanceof Error) && (
|
|
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", s, y, typeof _), ae(null)), _ instanceof Error && !(_.message in l) && (l[_.message] = !0, ae(P), g("Failed %s type: %s", s, _.message), ae(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
328
|
-
return
|
|
326
|
+
var Be = Array.isArray;
|
|
327
|
+
function De(e) {
|
|
328
|
+
return Be(e);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function yr(e) {
|
|
331
331
|
{
|
|
332
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
333
|
-
return
|
|
332
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, s = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
333
|
+
return s;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function kr(e) {
|
|
337
337
|
try {
|
|
338
|
-
return
|
|
338
|
+
return Ye(e), !1;
|
|
339
339
|
} catch {
|
|
340
340
|
return !0;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Ye(e) {
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
if (
|
|
348
|
-
return
|
|
346
|
+
function Ve(e) {
|
|
347
|
+
if (kr(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 qe = b.ReactCurrentOwner,
|
|
350
|
+
var qe = b.ReactCurrentOwner, vr = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
|
-
},
|
|
356
|
-
function
|
|
357
|
-
if (
|
|
355
|
+
}, ze, Je;
|
|
356
|
+
function wr(e) {
|
|
357
|
+
if (n.call(e, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
360
360
|
return !1;
|
|
361
361
|
}
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
364
|
+
function xr(e) {
|
|
365
|
+
if (n.call(e, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
368
368
|
return !1;
|
|
369
369
|
}
|
|
370
370
|
return e.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Pr(e, i) {
|
|
373
373
|
typeof e.ref == "string" && qe.current;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Ar(e, i) {
|
|
376
376
|
{
|
|
377
|
-
var
|
|
378
|
-
|
|
377
|
+
var s = function() {
|
|
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
|
-
|
|
381
|
-
get:
|
|
380
|
+
s.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
|
+
get: s,
|
|
382
382
|
configurable: !0
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Cr(e, i) {
|
|
387
387
|
{
|
|
388
|
-
var
|
|
389
|
-
|
|
388
|
+
var s = function() {
|
|
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
|
-
|
|
392
|
-
get:
|
|
391
|
+
s.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
|
+
get: s,
|
|
393
393
|
configurable: !0
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var jr = function(e, i, s, u, P, R, y) {
|
|
398
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
|
-
ref:
|
|
405
|
-
props:
|
|
404
|
+
ref: s,
|
|
405
|
+
props: y,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
407
|
_owner: R
|
|
408
408
|
};
|
|
@@ -423,41 +423,41 @@ function Gr() {
|
|
|
423
423
|
value: P
|
|
424
424
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Nr(e, i, s, u, P) {
|
|
427
427
|
{
|
|
428
|
-
var R,
|
|
429
|
-
|
|
428
|
+
var R, y = {}, _ = null, Z = null;
|
|
429
|
+
s !== void 0 && (Ve(s), _ = "" + s), xr(i) && (Ve(i.key), _ = "" + i.key), wr(i) && (Z = i.ref, Pr(i, P));
|
|
430
430
|
for (R in i)
|
|
431
|
-
|
|
431
|
+
n.call(i, R) && !vr.hasOwnProperty(R) && (y[R] = i[R]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (R in
|
|
435
|
-
|
|
433
|
+
var M = e.defaultProps;
|
|
434
|
+
for (R in M)
|
|
435
|
+
y[R] === void 0 && (y[R] = M[R]);
|
|
436
436
|
}
|
|
437
437
|
if (_ || Z) {
|
|
438
|
-
var
|
|
439
|
-
_ &&
|
|
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, qe.current, y);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe = b.ReactCurrentOwner,
|
|
445
|
-
function
|
|
444
|
+
var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
|
|
445
|
+
function Pe(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var i = e._owner,
|
|
448
|
-
|
|
447
|
+
var i = e._owner, s = k(e.type, e._source, i ? i.type : null);
|
|
448
|
+
Qe.setExtraStackFrame(s);
|
|
449
449
|
} else
|
|
450
|
-
|
|
450
|
+
Qe.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
452
|
var Oe;
|
|
453
453
|
Oe = !1;
|
|
454
454
|
function Me(e) {
|
|
455
455
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function Xe() {
|
|
458
458
|
{
|
|
459
459
|
if (Fe.current) {
|
|
460
|
-
var e =
|
|
460
|
+
var e = D(Fe.current.type);
|
|
461
461
|
if (e)
|
|
462
462
|
return `
|
|
463
463
|
|
|
@@ -466,155 +466,155 @@ 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
|
-
var
|
|
473
|
-
function
|
|
472
|
+
var Ze = {};
|
|
473
|
+
function Rr(e) {
|
|
474
474
|
{
|
|
475
|
-
var i =
|
|
475
|
+
var i = Xe();
|
|
476
476
|
if (!i) {
|
|
477
|
-
var
|
|
478
|
-
|
|
477
|
+
var s = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
|
+
s && (i = `
|
|
479
479
|
|
|
480
|
-
Check the top-level render call using <` +
|
|
480
|
+
Check the top-level render call using <` + s + ">.");
|
|
481
481
|
}
|
|
482
482
|
return i;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function er(e, i) {
|
|
486
486
|
{
|
|
487
487
|
if (!e._store || e._store.validated || e.key != null)
|
|
488
488
|
return;
|
|
489
489
|
e._store.validated = !0;
|
|
490
|
-
var
|
|
491
|
-
if (
|
|
490
|
+
var s = Rr(i);
|
|
491
|
+
if (Ze[s])
|
|
492
492
|
return;
|
|
493
|
-
|
|
493
|
+
Ze[s] = !0;
|
|
494
494
|
var u = "";
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " +
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + D(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.', s, u), Pe(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function rr(e, i) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
|
-
if (
|
|
503
|
-
for (var
|
|
504
|
-
var u = e[
|
|
505
|
-
Me(u) &&
|
|
502
|
+
if (De(e))
|
|
503
|
+
for (var s = 0; s < e.length; s++) {
|
|
504
|
+
var u = e[s];
|
|
505
|
+
Me(u) && er(u, i);
|
|
506
506
|
}
|
|
507
507
|
else if (Me(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
510
|
var P = C(e);
|
|
511
511
|
if (typeof P == "function" && P !== e.entries)
|
|
512
|
-
for (var R = P.call(e),
|
|
513
|
-
Me(
|
|
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")
|
|
521
521
|
return;
|
|
522
|
-
var
|
|
522
|
+
var s;
|
|
523
523
|
if (typeof i == "function")
|
|
524
|
-
|
|
524
|
+
s = i.propTypes;
|
|
525
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
527
|
i.$$typeof === N))
|
|
528
|
-
|
|
528
|
+
s = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
|
-
if (
|
|
532
|
-
var u =
|
|
533
|
-
|
|
531
|
+
if (s) {
|
|
532
|
+
var u = D(i);
|
|
533
|
+
Re(s, e.props, "prop", u, e);
|
|
534
534
|
} else if (i.PropTypes !== void 0 && !Oe) {
|
|
535
535
|
Oe = !0;
|
|
536
|
-
var P =
|
|
537
|
-
|
|
536
|
+
var P = D(i);
|
|
537
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
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
|
-
for (var i = Object.keys(e.props),
|
|
545
|
-
var u = i[
|
|
544
|
+
for (var i = Object.keys(e.props), s = 0; s < i.length; s++) {
|
|
545
|
+
var u = i[s];
|
|
546
546
|
if (u !== "children" && u !== "key") {
|
|
547
|
-
|
|
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
|
-
var
|
|
555
|
-
function
|
|
554
|
+
var tr = {};
|
|
555
|
+
function ar(e, i, s, u, P, R) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
557
|
+
var y = V(e);
|
|
558
|
+
if (!y) {
|
|
559
559
|
var _ = "";
|
|
560
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 =
|
|
562
|
-
Z ? _ += Z : _ +=
|
|
563
|
-
var
|
|
564
|
-
e === null ?
|
|
561
|
+
var Z = Tr();
|
|
562
|
+
Z ? _ += Z : _ += Xe();
|
|
563
|
+
var M;
|
|
564
|
+
e === null ? M = "null" : De(e) ? M = "array" : e !== void 0 && e.$$typeof === o ? (M = "<" + (D(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : M = 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", M, _);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
569
|
-
if (
|
|
566
|
+
var U = Nr(e, i, s, P, R);
|
|
567
|
+
if (U == null)
|
|
568
|
+
return U;
|
|
569
|
+
if (y) {
|
|
570
570
|
var le = i.children;
|
|
571
571
|
if (le !== void 0)
|
|
572
572
|
if (u)
|
|
573
|
-
if (
|
|
574
|
-
for (var
|
|
575
|
-
|
|
573
|
+
if (De(le)) {
|
|
574
|
+
for (var Ae = 0; Ae < le.length; Ae++)
|
|
575
|
+
rr(le[Ae], e);
|
|
576
576
|
Object.freeze && Object.freeze(le);
|
|
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
|
-
|
|
580
|
+
rr(le, e);
|
|
581
581
|
}
|
|
582
|
-
if (
|
|
583
|
-
var
|
|
584
|
-
return
|
|
585
|
-
}), $e =
|
|
586
|
-
if (!
|
|
587
|
-
var
|
|
588
|
-
|
|
582
|
+
if (n.call(i, "key")) {
|
|
583
|
+
var ke = D(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[ke + $e]) {
|
|
587
|
+
var Fr = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
|
|
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} />`, $e,
|
|
593
|
+
<%s key={someKey} {...props} />`, $e, ke, Fr, ke), tr[ke + $e] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e ===
|
|
596
|
+
return e === f ? Er(U) : Sr(U), U;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return
|
|
599
|
+
function Ir(e, i, s) {
|
|
600
|
+
return ar(e, i, s, !0);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
return
|
|
602
|
+
function Lr(e, i, s) {
|
|
603
|
+
return ar(e, i, s, !1);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
|
|
607
|
-
})()),
|
|
605
|
+
var Br = Lr, Dr = Ir;
|
|
606
|
+
Ee.Fragment = f, Ee.jsx = Br, Ee.jsxs = Dr;
|
|
607
|
+
})()), Ee;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var ir;
|
|
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 fr = ["en", "hi"], sr = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
617
|
-
},
|
|
617
|
+
}, mr = {
|
|
618
618
|
en: {
|
|
619
619
|
kundli: "Kundli",
|
|
620
620
|
birthChart: "Birth Chart",
|
|
@@ -1046,39 +1046,39 @@ const dr = ["en", "hi"], ir = {
|
|
|
1046
1046
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
1047
|
selectPackage: "पैकेज चुनें"
|
|
1048
1048
|
}
|
|
1049
|
-
},
|
|
1049
|
+
}, hr = ur(null), Fn = ({
|
|
1050
1050
|
locale: t,
|
|
1051
1051
|
children: o
|
|
1052
1052
|
}) => {
|
|
1053
|
-
const
|
|
1054
|
-
return /* @__PURE__ */ r.jsx(
|
|
1053
|
+
const f = { locale: t, t: (v) => mr[t]?.[v] ?? v };
|
|
1054
|
+
return /* @__PURE__ */ r.jsx(hr.Provider, { value: f, children: o });
|
|
1055
1055
|
};
|
|
1056
|
-
function
|
|
1057
|
-
return We(
|
|
1056
|
+
function Vr() {
|
|
1057
|
+
return We(hr);
|
|
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:
|
|
1059
|
+
const qr = "_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", me = {
|
|
1060
|
+
container: qr,
|
|
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
|
+
}, Le = (t) => {
|
|
1071
|
+
const { priority: o, fetchPriority: c, width: f, height: v, ...S } = t;
|
|
1072
1072
|
return Ge.createElement("img", {
|
|
1073
1073
|
...S,
|
|
1074
|
-
width:
|
|
1075
|
-
height:
|
|
1074
|
+
width: f ?? 1,
|
|
1075
|
+
height: v ?? 1,
|
|
1076
1076
|
decoding: "async",
|
|
1077
1077
|
loading: S.loading ?? (o ? "eager" : "lazy"),
|
|
1078
|
-
...
|
|
1078
|
+
...c && { fetchPriority: c }
|
|
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 On(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 Mn() {
|
|
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 pr = "kundli_language";
|
|
1115
|
+
function it() {
|
|
1116
|
+
const t = nt(pr);
|
|
1117
|
+
return t && fr.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1120
|
-
|
|
1119
|
+
function st(t) {
|
|
1120
|
+
ot(pr, t);
|
|
1121
1121
|
}
|
|
1122
|
-
const Ke =
|
|
1122
|
+
const Ke = ur(null), lt = {
|
|
1123
1123
|
fullName: "",
|
|
1124
1124
|
phone: "",
|
|
1125
1125
|
gender: "",
|
|
@@ -1131,234 +1131,234 @@ const Ke = cr(null), ot = {
|
|
|
1131
1131
|
birthPlace: "",
|
|
1132
1132
|
birthPlaceLat: void 0,
|
|
1133
1133
|
birthPlaceLng: void 0
|
|
1134
|
-
},
|
|
1134
|
+
}, $n = ({
|
|
1135
1135
|
locale: t,
|
|
1136
1136
|
showLanguageSelector: o = !0,
|
|
1137
|
-
showSheet:
|
|
1138
|
-
userId:
|
|
1139
|
-
isGlobal:
|
|
1137
|
+
showSheet: c,
|
|
1138
|
+
userId: f,
|
|
1139
|
+
isGlobal: v,
|
|
1140
1140
|
variant: S,
|
|
1141
1141
|
atlasSearchLocalities: x,
|
|
1142
1142
|
logoUrl: j,
|
|
1143
1143
|
reportImageUrl: A,
|
|
1144
1144
|
reportImagePriority: E,
|
|
1145
|
-
backgroundImagePriority:
|
|
1145
|
+
backgroundImagePriority: d,
|
|
1146
1146
|
universityLogoUrls: N,
|
|
1147
|
-
sampleReportHref:
|
|
1147
|
+
sampleReportHref: h,
|
|
1148
1148
|
onViewSampleReport: I,
|
|
1149
|
-
ctaHref:
|
|
1150
|
-
onCtaClick:
|
|
1149
|
+
ctaHref: p,
|
|
1150
|
+
onCtaClick: L,
|
|
1151
1151
|
onBack: C,
|
|
1152
1152
|
readMoreReviewsHref: b,
|
|
1153
|
-
onProceed:
|
|
1154
|
-
proceedHref:
|
|
1153
|
+
onProceed: g,
|
|
1154
|
+
proceedHref: $,
|
|
1155
1155
|
originalPriceLabel: w,
|
|
1156
|
-
discountedPriceLabel:
|
|
1157
|
-
discountPillLabel:
|
|
1158
|
-
analytics:
|
|
1159
|
-
onProceedGuidance:
|
|
1160
|
-
onLocaleChange:
|
|
1161
|
-
imageComponent:
|
|
1162
|
-
children:
|
|
1156
|
+
discountedPriceLabel: F,
|
|
1157
|
+
discountPillLabel: K,
|
|
1158
|
+
analytics: z,
|
|
1159
|
+
onProceedGuidance: J,
|
|
1160
|
+
onLocaleChange: G,
|
|
1161
|
+
imageComponent: V = Le,
|
|
1162
|
+
children: ce
|
|
1163
1163
|
}) => {
|
|
1164
|
-
const [
|
|
1164
|
+
const [oe, D] = W("landing"), [T, O] = W(t ?? "en"), [Q, pe] = W(lt), fe = H(!0);
|
|
1165
1165
|
Y(() => {
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1166
|
+
const te = it();
|
|
1167
|
+
te && O(te);
|
|
1168
1168
|
}, []), Y(() => {
|
|
1169
|
-
|
|
1169
|
+
st(T);
|
|
1170
1170
|
}, [T]), Y(() => {
|
|
1171
|
-
if (
|
|
1172
|
-
|
|
1171
|
+
if (fe.current) {
|
|
1172
|
+
fe.current = !1;
|
|
1173
1173
|
return;
|
|
1174
1174
|
}
|
|
1175
|
-
|
|
1176
|
-
}, [T,
|
|
1177
|
-
const
|
|
1175
|
+
G?.(T);
|
|
1176
|
+
}, [T, G]);
|
|
1177
|
+
const q = Ue(
|
|
1178
1178
|
() => ({
|
|
1179
1179
|
locale: t,
|
|
1180
1180
|
showLanguageSelector: o,
|
|
1181
|
-
showSheet:
|
|
1182
|
-
userId:
|
|
1183
|
-
isGlobal:
|
|
1181
|
+
showSheet: c,
|
|
1182
|
+
userId: f,
|
|
1183
|
+
isGlobal: v,
|
|
1184
1184
|
variant: S,
|
|
1185
1185
|
atlasSearchLocalities: x,
|
|
1186
1186
|
logoUrl: j,
|
|
1187
1187
|
reportImageUrl: A,
|
|
1188
1188
|
reportImagePriority: E,
|
|
1189
|
-
backgroundImagePriority:
|
|
1189
|
+
backgroundImagePriority: d,
|
|
1190
1190
|
universityLogoUrls: N,
|
|
1191
|
-
sampleReportHref:
|
|
1191
|
+
sampleReportHref: h,
|
|
1192
1192
|
onViewSampleReport: I,
|
|
1193
|
-
ctaHref:
|
|
1194
|
-
onCtaClick:
|
|
1193
|
+
ctaHref: p,
|
|
1194
|
+
onCtaClick: L,
|
|
1195
1195
|
onBack: C,
|
|
1196
1196
|
readMoreReviewsHref: b,
|
|
1197
|
-
onProceed:
|
|
1198
|
-
proceedHref:
|
|
1197
|
+
onProceed: g,
|
|
1198
|
+
proceedHref: $,
|
|
1199
1199
|
originalPriceLabel: w,
|
|
1200
|
-
discountedPriceLabel:
|
|
1201
|
-
discountPillLabel:
|
|
1202
|
-
analytics:
|
|
1203
|
-
onProceedGuidance:
|
|
1204
|
-
onLocaleChange:
|
|
1205
|
-
imageComponent:
|
|
1200
|
+
discountedPriceLabel: F,
|
|
1201
|
+
discountPillLabel: K,
|
|
1202
|
+
analytics: z,
|
|
1203
|
+
onProceedGuidance: J,
|
|
1204
|
+
onLocaleChange: G,
|
|
1205
|
+
imageComponent: V
|
|
1206
1206
|
}),
|
|
1207
1207
|
[
|
|
1208
1208
|
t,
|
|
1209
1209
|
o,
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1210
|
+
c,
|
|
1211
|
+
f,
|
|
1212
|
+
v,
|
|
1213
1213
|
S,
|
|
1214
1214
|
x,
|
|
1215
1215
|
j,
|
|
1216
1216
|
A,
|
|
1217
1217
|
E,
|
|
1218
|
-
|
|
1218
|
+
d,
|
|
1219
1219
|
N,
|
|
1220
|
-
|
|
1220
|
+
h,
|
|
1221
1221
|
I,
|
|
1222
|
-
|
|
1223
|
-
|
|
1222
|
+
p,
|
|
1223
|
+
L,
|
|
1224
1224
|
C,
|
|
1225
1225
|
b,
|
|
1226
|
-
|
|
1227
|
-
|
|
1226
|
+
g,
|
|
1227
|
+
$,
|
|
1228
1228
|
w,
|
|
1229
|
-
|
|
1230
|
-
|
|
1229
|
+
F,
|
|
1230
|
+
K,
|
|
1231
|
+
z,
|
|
1231
1232
|
J,
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
M
|
|
1233
|
+
G,
|
|
1234
|
+
V
|
|
1235
1235
|
]
|
|
1236
|
-
),
|
|
1237
|
-
|
|
1238
|
-
}, [
|
|
1239
|
-
|
|
1240
|
-
}, [
|
|
1236
|
+
), ee = Ne(() => {
|
|
1237
|
+
D("form");
|
|
1238
|
+
}, [q.analytics]), re = Ne(() => {
|
|
1239
|
+
D("landing"), q.onBack?.();
|
|
1240
|
+
}, [q.onBack]), de = Ue(
|
|
1241
1241
|
() => ({
|
|
1242
|
-
view:
|
|
1242
|
+
view: oe,
|
|
1243
1243
|
locale: T,
|
|
1244
|
-
setLocale:
|
|
1245
|
-
config:
|
|
1246
|
-
formValues:
|
|
1247
|
-
setFormValues:
|
|
1248
|
-
goToForm:
|
|
1249
|
-
goToPage:
|
|
1250
|
-
onProceed:
|
|
1251
|
-
onProceedGuidance:
|
|
1244
|
+
setLocale: O,
|
|
1245
|
+
config: q,
|
|
1246
|
+
formValues: Q,
|
|
1247
|
+
setFormValues: pe,
|
|
1248
|
+
goToForm: ee,
|
|
1249
|
+
goToPage: re,
|
|
1250
|
+
onProceed: q.onProceed,
|
|
1251
|
+
onProceedGuidance: q.onProceedGuidance
|
|
1252
1252
|
}),
|
|
1253
|
-
[
|
|
1253
|
+
[oe, T, q, Q, ee, re]
|
|
1254
1254
|
);
|
|
1255
|
-
return /* @__PURE__ */ r.jsx(Ke.Provider, { value:
|
|
1255
|
+
return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: ce });
|
|
1256
1256
|
};
|
|
1257
|
-
function
|
|
1257
|
+
function Te() {
|
|
1258
1258
|
return We(Ke);
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function Un() {
|
|
1261
1261
|
const t = We(Ke);
|
|
1262
1262
|
if (!t)
|
|
1263
1263
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1264
1264
|
return t;
|
|
1265
1265
|
}
|
|
1266
|
-
const
|
|
1267
|
-
header:
|
|
1268
|
-
centered:
|
|
1269
|
-
},
|
|
1266
|
+
const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
1267
|
+
header: ct,
|
|
1268
|
+
centered: dt
|
|
1269
|
+
}, ut = ({
|
|
1270
1270
|
t,
|
|
1271
1271
|
onBack: o,
|
|
1272
|
-
className:
|
|
1273
|
-
align:
|
|
1272
|
+
className: c = "",
|
|
1273
|
+
align: f = "left"
|
|
1274
1274
|
}) => /* @__PURE__ */ r.jsx(
|
|
1275
|
-
|
|
1275
|
+
Mr,
|
|
1276
1276
|
{
|
|
1277
1277
|
title: t("formTitle"),
|
|
1278
1278
|
subtitle: t("formSubtitle"),
|
|
1279
1279
|
onBack: o,
|
|
1280
1280
|
backAriaLabel: t("back"),
|
|
1281
|
-
className: `${lr.header} ${
|
|
1281
|
+
className: `${lr.header} ${f === "center" ? lr.centered : ""} ${c}`
|
|
1282
1282
|
}
|
|
1283
|
-
),
|
|
1284
|
-
wrap:
|
|
1285
|
-
card:
|
|
1286
|
-
cardInner:
|
|
1287
|
-
field:
|
|
1288
|
-
labelRow:
|
|
1289
|
-
label:
|
|
1290
|
-
req:
|
|
1291
|
-
help:
|
|
1292
|
-
choiceRow:
|
|
1293
|
-
choiceBtn:
|
|
1294
|
-
choiceBtnActive:
|
|
1295
|
-
infoBtn:
|
|
1296
|
-
infoImg:
|
|
1297
|
-
infoWrap:
|
|
1298
|
-
tooltip:
|
|
1299
|
-
tooltipArrow:
|
|
1300
|
-
inputWrap:
|
|
1301
|
-
isdWrap:
|
|
1302
|
-
phoneInputGroup:
|
|
1303
|
-
isdSelectWrap:
|
|
1304
|
-
isdSelectTrigger:
|
|
1305
|
-
isdDropdown:
|
|
1306
|
-
isdSearchWrap:
|
|
1307
|
-
isdSearchInput:
|
|
1308
|
-
isdOption:
|
|
1309
|
-
isdOptionActive:
|
|
1310
|
-
isdCountryName:
|
|
1311
|
-
isdCountryCode:
|
|
1312
|
-
isdNoResult:
|
|
1313
|
-
suggestions:
|
|
1314
|
-
suggestionItem:
|
|
1315
|
-
suggestionMain:
|
|
1316
|
-
suggestionSecondary:
|
|
1317
|
-
suggestionsHint:
|
|
1318
|
-
fieldError:
|
|
1319
|
-
timePopover:
|
|
1320
|
-
timePickerRow:
|
|
1321
|
-
timePickerSelect:
|
|
1322
|
-
timePickerColon:
|
|
1323
|
-
meridiemToggle:
|
|
1324
|
-
meridiemBtn:
|
|
1325
|
-
meridiemActive:
|
|
1326
|
-
timePopoverActions:
|
|
1327
|
-
timePopoverBtn:
|
|
1328
|
-
timePopoverOk:
|
|
1329
|
-
input:
|
|
1330
|
-
phoneInput:
|
|
1331
|
-
iconBtn:
|
|
1332
|
-
iconBtnInteractive:
|
|
1333
|
-
iconImg:
|
|
1334
|
-
checkboxRow:
|
|
1335
|
-
checkbox:
|
|
1336
|
-
checkboxText:
|
|
1337
|
-
},
|
|
1338
|
-
const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8,
|
|
1283
|
+
), ft = "_wrap_119w3_1", mt = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", kt = "_choiceRow_119w3_68", vt = "_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", Lt = "_isdSearchWrap_119w3_229", Bt = "_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", Vt = "_timePopover_119w3_366", qt = "_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", sa = "_iconImg_119w3_544", la = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
|
|
1284
|
+
wrap: ft,
|
|
1285
|
+
card: mt,
|
|
1286
|
+
cardInner: ht,
|
|
1287
|
+
field: pt,
|
|
1288
|
+
labelRow: gt,
|
|
1289
|
+
label: _t,
|
|
1290
|
+
req: bt,
|
|
1291
|
+
help: yt,
|
|
1292
|
+
choiceRow: kt,
|
|
1293
|
+
choiceBtn: vt,
|
|
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: Lt,
|
|
1307
|
+
isdSearchInput: Bt,
|
|
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: Vt,
|
|
1320
|
+
timePickerRow: qt,
|
|
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: sa,
|
|
1334
|
+
checkboxRow: la,
|
|
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, c = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
|
|
1339
1339
|
return {
|
|
1340
1340
|
limit: o,
|
|
1341
|
-
offset:
|
|
1341
|
+
offset: c,
|
|
1342
1342
|
restrictCountry: t?.restrictCountry
|
|
1343
1343
|
};
|
|
1344
|
-
},
|
|
1345
|
-
const { searchLocalities: o, restrictCountry:
|
|
1344
|
+
}, fa = (t) => {
|
|
1345
|
+
const { searchLocalities: o, restrictCountry: c } = t, [f, v] = W([]), [S, x] = W(!1), [j, A] = W(null), E = H(0);
|
|
1346
1346
|
Y(() => {
|
|
1347
1347
|
A(null);
|
|
1348
1348
|
}, [o]);
|
|
1349
|
-
const
|
|
1350
|
-
async (
|
|
1351
|
-
if (!
|
|
1352
|
-
|
|
1349
|
+
const d = Ne(
|
|
1350
|
+
async (h) => {
|
|
1351
|
+
if (!h || h.length < 2 || !o) {
|
|
1352
|
+
v([]);
|
|
1353
1353
|
return;
|
|
1354
1354
|
}
|
|
1355
1355
|
const I = ++E.current;
|
|
1356
1356
|
x(!0), A(null);
|
|
1357
1357
|
try {
|
|
1358
|
-
const
|
|
1358
|
+
const p = ua({ restrictCountry: c }), L = await o(h, p);
|
|
1359
1359
|
if (I !== E.current) return;
|
|
1360
|
-
const C = (
|
|
1361
|
-
(b) => !!b?.id && !!b?.description &&
|
|
1360
|
+
const C = (L || []).filter(
|
|
1361
|
+
(b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
|
|
1362
1362
|
).map((b) => ({
|
|
1363
1363
|
id: b.id,
|
|
1364
1364
|
description: b.description,
|
|
@@ -1366,29 +1366,29 @@ const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
|
|
|
1366
1366
|
lat: b.lat,
|
|
1367
1367
|
lng: b.lng
|
|
1368
1368
|
}));
|
|
1369
|
-
|
|
1370
|
-
} catch (
|
|
1369
|
+
v(C);
|
|
1370
|
+
} catch (p) {
|
|
1371
1371
|
if (I !== E.current) return;
|
|
1372
|
-
|
|
1372
|
+
v([]), A(p?.message || "Failed to fetch locations");
|
|
1373
1373
|
} finally {
|
|
1374
1374
|
I === E.current && x(!1);
|
|
1375
1375
|
}
|
|
1376
1376
|
},
|
|
1377
|
-
[
|
|
1378
|
-
), N =
|
|
1377
|
+
[c, o]
|
|
1378
|
+
), N = Ne(() => v([]), []);
|
|
1379
1379
|
return {
|
|
1380
|
-
predictions:
|
|
1380
|
+
predictions: f,
|
|
1381
1381
|
isSearching: S,
|
|
1382
1382
|
loadError: j,
|
|
1383
|
-
searchPlaces:
|
|
1383
|
+
searchPlaces: d,
|
|
1384
1384
|
clearPredictions: N
|
|
1385
1385
|
};
|
|
1386
|
-
},
|
|
1386
|
+
}, Ce = {
|
|
1387
1387
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1388
1388
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1389
1389
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1390
1390
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1391
|
-
},
|
|
1391
|
+
}, gr = [
|
|
1392
1392
|
{ code: "+1", country: "USA / Canada" },
|
|
1393
1393
|
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1394
1394
|
{ code: "+20", country: "Egypt" },
|
|
@@ -1459,109 +1459,113 @@ const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
|
|
|
1459
1459
|
{ code: "+976", country: "Mongolia" },
|
|
1460
1460
|
{ code: "+977", country: "Nepal" }
|
|
1461
1461
|
];
|
|
1462
|
-
|
|
1463
|
-
const
|
|
1462
|
+
gr.map((t) => t.code);
|
|
1463
|
+
const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), ma = (t) => He(t).length === _r, ha = (t, o, c) => ma(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), pa = ({
|
|
1464
1464
|
t,
|
|
1465
1465
|
values: o,
|
|
1466
|
-
onChange:
|
|
1467
|
-
phoneIsdCode:
|
|
1468
|
-
onPhoneIsdCodeChange:
|
|
1466
|
+
onChange: c,
|
|
1467
|
+
phoneIsdCode: f,
|
|
1468
|
+
onPhoneIsdCodeChange: v,
|
|
1469
1469
|
showV1ExtraFields: S = !1,
|
|
1470
1470
|
analytics: x,
|
|
1471
1471
|
atlasSearchLocalities: j,
|
|
1472
1472
|
className: A = ""
|
|
1473
1473
|
}) => {
|
|
1474
|
-
const E =
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1474
|
+
const E = Te(), d = E?.config?.analytics ?? x, N = E?.config.isGlobal ?? !0, h = E?.config?.atlasSearchLocalities, [I, p] = W(!1), [L, C] = W(""), b = H(null), g = H(null), $ = H({}), w = (n) => c({ ...o, ...n }), F = (n, l) => {
|
|
1475
|
+
if (n === "phone") {
|
|
1476
|
+
const B = ha(l, f, $.current);
|
|
1477
|
+
B.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: B.fullPhone });
|
|
1478
|
+
return;
|
|
1479
|
+
}
|
|
1480
|
+
l.trim() && !$.current[n] && ($.current[n] = !0, {
|
|
1481
|
+
fullName: () => d?.trackNameSectionFilled?.(),
|
|
1482
|
+
email: () => d?.trackEmailSectionFilled?.(),
|
|
1483
|
+
dateOfBirth: () => d?.trackDobFilled?.(),
|
|
1484
|
+
birthTime: () => d?.trackTimeFilled?.(),
|
|
1485
|
+
birthPlace: () => d?.trackPlaceOfBirthChosen?.()
|
|
1482
1486
|
}[n]?.());
|
|
1483
|
-
},
|
|
1487
|
+
}, K = L.trim().toLowerCase(), z = gr.filter((n) => K ? n.country.toLowerCase().includes(K) || n.code.includes(K) : !0), J = H(null);
|
|
1484
1488
|
H(null);
|
|
1485
|
-
const
|
|
1486
|
-
const
|
|
1487
|
-
if (!
|
|
1488
|
-
const
|
|
1489
|
-
return `${
|
|
1490
|
-
},
|
|
1491
|
-
const
|
|
1492
|
-
if (!
|
|
1493
|
-
const
|
|
1494
|
-
return { hour12:
|
|
1495
|
-
},
|
|
1496
|
-
const
|
|
1497
|
-
let
|
|
1498
|
-
return n.meridiem === "PM" && (
|
|
1499
|
-
},
|
|
1489
|
+
const G = H(null), V = H(0), ce = H(null), [oe, D] = W(!1), [T, O] = W({ hour12: 12, minute: "00", meridiem: "AM" }), Q = (n) => String(n).padStart(2, "0"), pe = (n) => {
|
|
1490
|
+
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1491
|
+
if (!l) return n;
|
|
1492
|
+
const B = Number(l[1]), ae = l[2], Re = B >= 12 ? "PM" : "AM";
|
|
1493
|
+
return `${B % 12 === 0 ? 12 : B % 12}:${ae} ${Re}`;
|
|
1494
|
+
}, fe = (n) => {
|
|
1495
|
+
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1496
|
+
if (!l) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1497
|
+
const B = Number(l[1]), ae = l[2], Re = B >= 12 ? "PM" : "AM";
|
|
1498
|
+
return { hour12: B % 12 === 0 ? 12 : B % 12, minute: ae, meridiem: Re };
|
|
1499
|
+
}, q = (n) => {
|
|
1500
|
+
const l = Math.min(12, Math.max(1, n.hour12)), B = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1501
|
+
let ae = l % 12;
|
|
1502
|
+
return n.meridiem === "PM" && (ae += 12), `${Q(ae)}:${B}`;
|
|
1503
|
+
}, ee = H(null), [re, de] = W(!1), [te, he] = W(
|
|
1500
1504
|
null
|
|
1501
|
-
),
|
|
1502
|
-
predictions:
|
|
1503
|
-
isSearching:
|
|
1504
|
-
loadError:
|
|
1505
|
-
searchPlaces:
|
|
1506
|
-
clearPredictions:
|
|
1507
|
-
} =
|
|
1508
|
-
searchLocalities:
|
|
1509
|
-
restrictCountry:
|
|
1505
|
+
), ie = (o.birthPlace ?? "").trim(), ge = N ? void 0 : "in", ue = j ?? h, X = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !X && !re, {
|
|
1506
|
+
predictions: se,
|
|
1507
|
+
isSearching: we,
|
|
1508
|
+
loadError: _e,
|
|
1509
|
+
searchPlaces: xe,
|
|
1510
|
+
clearPredictions: ye
|
|
1511
|
+
} = fa({
|
|
1512
|
+
searchLocalities: ue,
|
|
1513
|
+
restrictCountry: ge
|
|
1510
1514
|
});
|
|
1511
1515
|
Y(() => {
|
|
1512
|
-
const n = (
|
|
1513
|
-
|
|
1516
|
+
const n = (l) => {
|
|
1517
|
+
ee.current && (ee.current.contains(l.target) || de(!1));
|
|
1514
1518
|
};
|
|
1515
1519
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1516
1520
|
}, []), Y(() => {
|
|
1517
|
-
const n = (
|
|
1518
|
-
b.current && (b.current.contains(
|
|
1521
|
+
const n = (l) => {
|
|
1522
|
+
b.current && (b.current.contains(l.target) || (p(!1), C("")));
|
|
1519
1523
|
};
|
|
1520
1524
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1521
1525
|
}, []), Y(() => {
|
|
1522
1526
|
if (!I) return;
|
|
1523
1527
|
const n = window.setTimeout(() => {
|
|
1524
|
-
|
|
1528
|
+
g.current?.focus();
|
|
1525
1529
|
}, 0);
|
|
1526
1530
|
return () => window.clearTimeout(n);
|
|
1527
1531
|
}, [I]), Y(() => {
|
|
1528
|
-
if (!
|
|
1529
|
-
if (
|
|
1530
|
-
|
|
1532
|
+
if (!re) return;
|
|
1533
|
+
if (ie.length < 2) {
|
|
1534
|
+
ye();
|
|
1531
1535
|
return;
|
|
1532
1536
|
}
|
|
1533
1537
|
const n = window.setTimeout(async () => {
|
|
1534
|
-
await
|
|
1538
|
+
await xe(ie);
|
|
1535
1539
|
}, 250);
|
|
1536
1540
|
return () => window.clearTimeout(n);
|
|
1537
|
-
}, [
|
|
1538
|
-
const
|
|
1539
|
-
const
|
|
1540
|
-
if (!(!
|
|
1541
|
-
if (document.activeElement ===
|
|
1542
|
-
|
|
1541
|
+
}, [ye, re, ie, xe]);
|
|
1542
|
+
const k = (n) => {
|
|
1543
|
+
const l = n.current;
|
|
1544
|
+
if (!(!l || l.disabled)) {
|
|
1545
|
+
if (document.activeElement === l && G.current === l && Date.now() - V.current < 6e4) {
|
|
1546
|
+
l.blur();
|
|
1543
1547
|
return;
|
|
1544
1548
|
}
|
|
1545
|
-
if (typeof
|
|
1546
|
-
|
|
1549
|
+
if (typeof l.showPicker == "function") {
|
|
1550
|
+
l.showPicker(), G.current = l, V.current = Date.now();
|
|
1547
1551
|
return;
|
|
1548
1552
|
}
|
|
1549
|
-
|
|
1553
|
+
l.focus(), G.current = l, V.current = Date.now();
|
|
1550
1554
|
}
|
|
1551
1555
|
};
|
|
1552
1556
|
return Y(() => {
|
|
1553
|
-
const n = (
|
|
1554
|
-
|
|
1557
|
+
const n = (l) => {
|
|
1558
|
+
ce.current && (ce.current.contains(l.target) || D(!1));
|
|
1555
1559
|
};
|
|
1556
1560
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1557
1561
|
}, []), Y(() => {
|
|
1558
|
-
const n = (
|
|
1559
|
-
|
|
1560
|
-
},
|
|
1561
|
-
|
|
1562
|
+
const n = (B) => {
|
|
1563
|
+
B.target?.closest?.("[data-info-tooltip]") == null && he(null);
|
|
1564
|
+
}, l = (B) => {
|
|
1565
|
+
B.key === "Escape" && he(null);
|
|
1562
1566
|
};
|
|
1563
|
-
return document.addEventListener("mousedown", n), document.addEventListener("keydown",
|
|
1564
|
-
document.removeEventListener("mousedown", n), document.removeEventListener("keydown",
|
|
1567
|
+
return document.addEventListener("mousedown", n), document.addEventListener("keydown", l), () => {
|
|
1568
|
+
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", l);
|
|
1565
1569
|
};
|
|
1566
1570
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1567
1571
|
"section",
|
|
@@ -1581,10 +1585,10 @@ const da = ({
|
|
|
1581
1585
|
className: a.input,
|
|
1582
1586
|
type: "text",
|
|
1583
1587
|
value: o.fullName,
|
|
1584
|
-
onFocus: () =>
|
|
1588
|
+
onFocus: () => d?.trackNameSectionClicked?.(),
|
|
1585
1589
|
onChange: (n) => {
|
|
1586
|
-
const
|
|
1587
|
-
w({ fullName:
|
|
1590
|
+
const l = n.target.value;
|
|
1591
|
+
w({ fullName: l }), F("fullName", l);
|
|
1588
1592
|
},
|
|
1589
1593
|
placeholder: t("formFullNamePlaceholder"),
|
|
1590
1594
|
autoComplete: "name"
|
|
@@ -1606,9 +1610,9 @@ const da = ({
|
|
|
1606
1610
|
"aria-haspopup": "listbox",
|
|
1607
1611
|
"aria-expanded": I,
|
|
1608
1612
|
onClick: () => {
|
|
1609
|
-
|
|
1613
|
+
p((n) => !n), C("");
|
|
1610
1614
|
},
|
|
1611
|
-
children:
|
|
1615
|
+
children: f
|
|
1612
1616
|
}
|
|
1613
1617
|
) }),
|
|
1614
1618
|
/* @__PURE__ */ r.jsx(
|
|
@@ -1618,10 +1622,10 @@ const da = ({
|
|
|
1618
1622
|
className: `${a.input} ${a.phoneInput}`,
|
|
1619
1623
|
type: "tel",
|
|
1620
1624
|
value: o.phone ?? "",
|
|
1621
|
-
onFocus: () =>
|
|
1625
|
+
onFocus: () => d?.trackPhoneSectionClicked?.(),
|
|
1622
1626
|
onChange: (n) => {
|
|
1623
|
-
const
|
|
1624
|
-
w({ phone:
|
|
1627
|
+
const l = n.target.value;
|
|
1628
|
+
w({ phone: dr(l) }), F("phone", dr(l));
|
|
1625
1629
|
},
|
|
1626
1630
|
placeholder: t("formPhonePlaceholder"),
|
|
1627
1631
|
autoComplete: "tel",
|
|
@@ -1643,24 +1647,24 @@ const da = ({
|
|
|
1643
1647
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
|
|
1644
1648
|
"input",
|
|
1645
1649
|
{
|
|
1646
|
-
ref:
|
|
1650
|
+
ref: g,
|
|
1647
1651
|
type: "text",
|
|
1648
|
-
value:
|
|
1652
|
+
value: L,
|
|
1649
1653
|
onChange: (n) => C(n.target.value),
|
|
1650
1654
|
placeholder: "Search country",
|
|
1651
1655
|
className: a.isdSearchInput,
|
|
1652
1656
|
"aria-label": "Search country"
|
|
1653
1657
|
}
|
|
1654
1658
|
) }),
|
|
1655
|
-
|
|
1659
|
+
z.length > 0 ? z.map((n) => /* @__PURE__ */ r.jsxs(
|
|
1656
1660
|
"button",
|
|
1657
1661
|
{
|
|
1658
1662
|
type: "button",
|
|
1659
1663
|
role: "option",
|
|
1660
|
-
"aria-selected": n.code ===
|
|
1661
|
-
className: `${a.isdOption} ${n.code ===
|
|
1664
|
+
"aria-selected": n.code === f,
|
|
1665
|
+
className: `${a.isdOption} ${n.code === f ? a.isdOptionActive : ""}`,
|
|
1662
1666
|
onClick: () => {
|
|
1663
|
-
|
|
1667
|
+
v(n.code), p(!1), C("");
|
|
1664
1668
|
},
|
|
1665
1669
|
children: [
|
|
1666
1670
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1693,7 +1697,7 @@ const da = ({
|
|
|
1693
1697
|
type: "button",
|
|
1694
1698
|
className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
|
|
1695
1699
|
onClick: () => {
|
|
1696
|
-
w({ gender: "male" }),
|
|
1700
|
+
w({ gender: "male" }), d?.trackGenderSelected?.({
|
|
1697
1701
|
gender: "male"
|
|
1698
1702
|
});
|
|
1699
1703
|
},
|
|
@@ -1709,7 +1713,7 @@ const da = ({
|
|
|
1709
1713
|
type: "button",
|
|
1710
1714
|
className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
|
|
1711
1715
|
onClick: () => {
|
|
1712
|
-
w({ gender: "female" }),
|
|
1716
|
+
w({ gender: "female" }), d?.trackGenderSelected?.({
|
|
1713
1717
|
gender: "female"
|
|
1714
1718
|
});
|
|
1715
1719
|
},
|
|
@@ -1756,22 +1760,22 @@ const da = ({
|
|
|
1756
1760
|
type: "button",
|
|
1757
1761
|
className: a.infoBtn,
|
|
1758
1762
|
"aria-label": t("info"),
|
|
1759
|
-
"aria-expanded":
|
|
1763
|
+
"aria-expanded": te === "dob",
|
|
1760
1764
|
onClick: () => {
|
|
1761
|
-
|
|
1765
|
+
he((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1762
1766
|
},
|
|
1763
1767
|
children: /* @__PURE__ */ r.jsx(
|
|
1764
1768
|
"img",
|
|
1765
1769
|
{
|
|
1766
1770
|
className: a.infoImg,
|
|
1767
|
-
src:
|
|
1771
|
+
src: Ce.info,
|
|
1768
1772
|
alt: "",
|
|
1769
1773
|
"aria-hidden": !0
|
|
1770
1774
|
}
|
|
1771
1775
|
)
|
|
1772
1776
|
}
|
|
1773
1777
|
),
|
|
1774
|
-
|
|
1778
|
+
te === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1775
1779
|
t("formDobInfo"),
|
|
1776
1780
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1777
1781
|
] })
|
|
@@ -1784,20 +1788,20 @@ const da = ({
|
|
|
1784
1788
|
id: "kundli-dob",
|
|
1785
1789
|
className: a.input,
|
|
1786
1790
|
type: "date",
|
|
1787
|
-
ref:
|
|
1791
|
+
ref: J,
|
|
1788
1792
|
value: o.dateOfBirth,
|
|
1789
1793
|
max: (() => {
|
|
1790
1794
|
const n = /* @__PURE__ */ new Date();
|
|
1791
|
-
return `${n.getFullYear()}-${
|
|
1795
|
+
return `${n.getFullYear()}-${Q(n.getMonth() + 1)}-${Q(n.getDate())}`;
|
|
1792
1796
|
})(),
|
|
1793
1797
|
onChange: (n) => {
|
|
1794
|
-
const
|
|
1795
|
-
|
|
1798
|
+
const l = n.target.value, B = /* @__PURE__ */ new Date(), ae = `${B.getFullYear()}-${Q(B.getMonth() + 1)}-${Q(B.getDate())}`;
|
|
1799
|
+
l && l > ae || (w({ dateOfBirth: l }), F("dateOfBirth", l), G.current = null);
|
|
1796
1800
|
},
|
|
1797
|
-
onFocus: () =>
|
|
1798
|
-
onClick: () =>
|
|
1801
|
+
onFocus: () => d?.trackDobClicked?.(),
|
|
1802
|
+
onClick: () => k(J),
|
|
1799
1803
|
onBlur: () => {
|
|
1800
|
-
|
|
1804
|
+
G.current === J.current && (G.current = null);
|
|
1801
1805
|
}
|
|
1802
1806
|
}
|
|
1803
1807
|
),
|
|
@@ -1809,13 +1813,13 @@ const da = ({
|
|
|
1809
1813
|
"aria-label": "Open date picker",
|
|
1810
1814
|
onMouseDown: (n) => n.preventDefault(),
|
|
1811
1815
|
onClick: (n) => {
|
|
1812
|
-
n.preventDefault(), n.stopPropagation(),
|
|
1816
|
+
n.preventDefault(), n.stopPropagation(), k(J);
|
|
1813
1817
|
},
|
|
1814
1818
|
children: /* @__PURE__ */ r.jsx(
|
|
1815
1819
|
"img",
|
|
1816
1820
|
{
|
|
1817
1821
|
className: a.iconImg,
|
|
1818
|
-
src:
|
|
1822
|
+
src: Ce.date,
|
|
1819
1823
|
alt: "",
|
|
1820
1824
|
"aria-hidden": !0
|
|
1821
1825
|
}
|
|
@@ -1837,45 +1841,45 @@ const da = ({
|
|
|
1837
1841
|
type: "button",
|
|
1838
1842
|
className: a.infoBtn,
|
|
1839
1843
|
"aria-label": t("info"),
|
|
1840
|
-
"aria-expanded":
|
|
1844
|
+
"aria-expanded": te === "time",
|
|
1841
1845
|
onClick: () => {
|
|
1842
|
-
|
|
1846
|
+
d?.trackInfoIconClicked?.({ fieldName: "time" }), he((n) => n === "time" ? null : "time");
|
|
1843
1847
|
},
|
|
1844
1848
|
children: /* @__PURE__ */ r.jsx(
|
|
1845
1849
|
"img",
|
|
1846
1850
|
{
|
|
1847
1851
|
className: a.infoImg,
|
|
1848
|
-
src:
|
|
1852
|
+
src: Ce.info,
|
|
1849
1853
|
alt: "",
|
|
1850
1854
|
"aria-hidden": !0
|
|
1851
1855
|
}
|
|
1852
1856
|
)
|
|
1853
1857
|
}
|
|
1854
1858
|
),
|
|
1855
|
-
|
|
1859
|
+
te === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1856
1860
|
t("formBirthTimeInfo"),
|
|
1857
1861
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1858
1862
|
] })
|
|
1859
1863
|
] })
|
|
1860
1864
|
] }),
|
|
1861
|
-
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref:
|
|
1865
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ce, children: [
|
|
1862
1866
|
/* @__PURE__ */ r.jsx(
|
|
1863
1867
|
"input",
|
|
1864
1868
|
{
|
|
1865
1869
|
id: "kundli-birth-time",
|
|
1866
1870
|
className: a.input,
|
|
1867
1871
|
type: "text",
|
|
1868
|
-
value: o.birthTime ?
|
|
1872
|
+
value: o.birthTime ? pe(o.birthTime) : "",
|
|
1869
1873
|
readOnly: !0,
|
|
1870
|
-
onFocus: () =>
|
|
1874
|
+
onFocus: () => d?.trackTimeClicked?.(),
|
|
1871
1875
|
onChange: (n) => {
|
|
1872
|
-
const
|
|
1873
|
-
w({ birthTime:
|
|
1876
|
+
const l = n.target.value;
|
|
1877
|
+
w({ birthTime: l }), F("birthTime", l);
|
|
1874
1878
|
},
|
|
1875
1879
|
disabled: o.birthTimeUnknown,
|
|
1876
1880
|
placeholder: "HH:MM AM",
|
|
1877
1881
|
onClick: () => {
|
|
1878
|
-
o.birthTimeUnknown || (
|
|
1882
|
+
o.birthTimeUnknown || (O(fe(o.birthTime || "12:00")), D((n) => !n));
|
|
1879
1883
|
}
|
|
1880
1884
|
}
|
|
1881
1885
|
),
|
|
@@ -1888,20 +1892,20 @@ const da = ({
|
|
|
1888
1892
|
disabled: o.birthTimeUnknown,
|
|
1889
1893
|
onMouseDown: (n) => n.preventDefault(),
|
|
1890
1894
|
onClick: (n) => {
|
|
1891
|
-
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (
|
|
1895
|
+
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (O(fe(o.birthTime || "12:00")), D((l) => !l));
|
|
1892
1896
|
},
|
|
1893
1897
|
children: /* @__PURE__ */ r.jsx(
|
|
1894
1898
|
"img",
|
|
1895
1899
|
{
|
|
1896
1900
|
className: a.iconImg,
|
|
1897
|
-
src:
|
|
1901
|
+
src: Ce.time,
|
|
1898
1902
|
alt: "",
|
|
1899
1903
|
"aria-hidden": !0
|
|
1900
1904
|
}
|
|
1901
1905
|
)
|
|
1902
1906
|
}
|
|
1903
1907
|
),
|
|
1904
|
-
|
|
1908
|
+
oe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
1905
1909
|
"div",
|
|
1906
1910
|
{
|
|
1907
1911
|
className: a.timePopover,
|
|
@@ -1913,13 +1917,13 @@ const da = ({
|
|
|
1913
1917
|
"select",
|
|
1914
1918
|
{
|
|
1915
1919
|
className: a.timePickerSelect,
|
|
1916
|
-
value:
|
|
1917
|
-
onChange: (n) =>
|
|
1918
|
-
...
|
|
1920
|
+
value: T.hour12,
|
|
1921
|
+
onChange: (n) => O((l) => ({
|
|
1922
|
+
...l,
|
|
1919
1923
|
hour12: Number(n.target.value)
|
|
1920
1924
|
})),
|
|
1921
1925
|
"aria-label": "Hour",
|
|
1922
|
-
children: Array.from({ length: 12 }, (n,
|
|
1926
|
+
children: Array.from({ length: 12 }, (n, l) => l + 1).map((n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n))
|
|
1923
1927
|
}
|
|
1924
1928
|
),
|
|
1925
1929
|
/* @__PURE__ */ r.jsx("span", { className: a.timePickerColon, children: ":" }),
|
|
@@ -1927,10 +1931,10 @@ const da = ({
|
|
|
1927
1931
|
"select",
|
|
1928
1932
|
{
|
|
1929
1933
|
className: a.timePickerSelect,
|
|
1930
|
-
value:
|
|
1931
|
-
onChange: (n) =>
|
|
1934
|
+
value: T.minute,
|
|
1935
|
+
onChange: (n) => O((l) => ({ ...l, minute: n.target.value })),
|
|
1932
1936
|
"aria-label": "Minute",
|
|
1933
|
-
children: Array.from({ length: 60 }, (n,
|
|
1937
|
+
children: Array.from({ length: 60 }, (n, l) => Q(l)).map(
|
|
1934
1938
|
(n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
|
|
1935
1939
|
)
|
|
1936
1940
|
}
|
|
@@ -1940,8 +1944,8 @@ const da = ({
|
|
|
1940
1944
|
"button",
|
|
1941
1945
|
{
|
|
1942
1946
|
type: "button",
|
|
1943
|
-
className: `${a.meridiemBtn} ${
|
|
1944
|
-
onClick: () =>
|
|
1947
|
+
className: `${a.meridiemBtn} ${T.meridiem === "AM" ? a.meridiemActive : ""}`,
|
|
1948
|
+
onClick: () => O((n) => ({ ...n, meridiem: "AM" })),
|
|
1945
1949
|
children: "AM"
|
|
1946
1950
|
}
|
|
1947
1951
|
),
|
|
@@ -1949,8 +1953,8 @@ const da = ({
|
|
|
1949
1953
|
"button",
|
|
1950
1954
|
{
|
|
1951
1955
|
type: "button",
|
|
1952
|
-
className: `${a.meridiemBtn} ${
|
|
1953
|
-
onClick: () =>
|
|
1956
|
+
className: `${a.meridiemBtn} ${T.meridiem === "PM" ? a.meridiemActive : ""}`,
|
|
1957
|
+
onClick: () => O((n) => ({ ...n, meridiem: "PM" })),
|
|
1954
1958
|
children: "PM"
|
|
1955
1959
|
}
|
|
1956
1960
|
)
|
|
@@ -1962,7 +1966,7 @@ const da = ({
|
|
|
1962
1966
|
{
|
|
1963
1967
|
type: "button",
|
|
1964
1968
|
className: a.timePopoverBtn,
|
|
1965
|
-
onClick: () =>
|
|
1969
|
+
onClick: () => D(!1),
|
|
1966
1970
|
children: "Cancel"
|
|
1967
1971
|
}
|
|
1968
1972
|
),
|
|
@@ -1972,8 +1976,8 @@ const da = ({
|
|
|
1972
1976
|
type: "button",
|
|
1973
1977
|
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
1974
1978
|
onClick: () => {
|
|
1975
|
-
const n =
|
|
1976
|
-
w({ birthTime: n }),
|
|
1979
|
+
const n = q(T);
|
|
1980
|
+
w({ birthTime: n }), F("birthTime", n), D(!1);
|
|
1977
1981
|
},
|
|
1978
1982
|
"aria-label": "OK",
|
|
1979
1983
|
children: /* @__PURE__ */ r.jsx(
|
|
@@ -2013,7 +2017,7 @@ const da = ({
|
|
|
2013
2017
|
type: "checkbox",
|
|
2014
2018
|
checked: o.birthTimeUnknown,
|
|
2015
2019
|
onChange: (n) => {
|
|
2016
|
-
|
|
2020
|
+
d?.trackTimeCheckboxClicked?.(), w({
|
|
2017
2021
|
birthTimeUnknown: n.target.checked,
|
|
2018
2022
|
birthTime: n.target.checked ? "" : o.birthTime
|
|
2019
2023
|
});
|
|
@@ -2047,30 +2051,30 @@ const da = ({
|
|
|
2047
2051
|
type: "button",
|
|
2048
2052
|
className: a.infoBtn,
|
|
2049
2053
|
"aria-label": t("info"),
|
|
2050
|
-
"aria-expanded":
|
|
2054
|
+
"aria-expanded": te === "place",
|
|
2051
2055
|
onClick: () => {
|
|
2052
|
-
|
|
2056
|
+
d?.trackInfoIconClicked?.({
|
|
2053
2057
|
fieldName: "birthPlace"
|
|
2054
|
-
}),
|
|
2058
|
+
}), he((n) => n === "place" ? null : "place");
|
|
2055
2059
|
},
|
|
2056
2060
|
children: /* @__PURE__ */ r.jsx(
|
|
2057
2061
|
"img",
|
|
2058
2062
|
{
|
|
2059
2063
|
className: a.infoImg,
|
|
2060
|
-
src:
|
|
2064
|
+
src: Ce.info,
|
|
2061
2065
|
alt: "",
|
|
2062
2066
|
"aria-hidden": !0
|
|
2063
2067
|
}
|
|
2064
2068
|
)
|
|
2065
2069
|
}
|
|
2066
2070
|
),
|
|
2067
|
-
|
|
2071
|
+
te === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
2068
2072
|
t("formBirthPlaceInfo"),
|
|
2069
2073
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
2070
2074
|
] })
|
|
2071
2075
|
] })
|
|
2072
2076
|
] }),
|
|
2073
|
-
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref:
|
|
2077
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ee, children: [
|
|
2074
2078
|
/* @__PURE__ */ r.jsx(
|
|
2075
2079
|
"input",
|
|
2076
2080
|
{
|
|
@@ -2079,15 +2083,15 @@ const da = ({
|
|
|
2079
2083
|
type: "text",
|
|
2080
2084
|
value: o.birthPlace,
|
|
2081
2085
|
onChange: (n) => {
|
|
2082
|
-
const
|
|
2086
|
+
const l = n.target.value;
|
|
2083
2087
|
w({
|
|
2084
|
-
birthPlace:
|
|
2088
|
+
birthPlace: l,
|
|
2085
2089
|
birthPlaceLat: void 0,
|
|
2086
2090
|
birthPlaceLng: void 0
|
|
2087
|
-
}),
|
|
2091
|
+
}), F("birthPlace", l), de(!0);
|
|
2088
2092
|
},
|
|
2089
2093
|
onFocus: () => {
|
|
2090
|
-
|
|
2094
|
+
d?.trackPlaceOfBirthClicked?.(), de(!0);
|
|
2091
2095
|
},
|
|
2092
2096
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2093
2097
|
autoComplete: "address-level2"
|
|
@@ -2097,12 +2101,12 @@ const da = ({
|
|
|
2097
2101
|
"img",
|
|
2098
2102
|
{
|
|
2099
2103
|
className: a.iconImg,
|
|
2100
|
-
src:
|
|
2104
|
+
src: Ce.location,
|
|
2101
2105
|
alt: "",
|
|
2102
2106
|
"aria-hidden": !0
|
|
2103
2107
|
}
|
|
2104
2108
|
) }),
|
|
2105
|
-
|
|
2109
|
+
re && se.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: se.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
|
|
2106
2110
|
"button",
|
|
2107
2111
|
{
|
|
2108
2112
|
type: "button",
|
|
@@ -2112,7 +2116,7 @@ const da = ({
|
|
|
2112
2116
|
birthPlace: n.description,
|
|
2113
2117
|
birthPlaceLat: n.lat,
|
|
2114
2118
|
birthPlaceLng: n.lng
|
|
2115
|
-
}),
|
|
2119
|
+
}), ye(), de(!1);
|
|
2116
2120
|
},
|
|
2117
2121
|
children: [
|
|
2118
2122
|
/* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
|
|
@@ -2121,10 +2125,10 @@ const da = ({
|
|
|
2121
2125
|
},
|
|
2122
2126
|
n.id
|
|
2123
2127
|
)) }),
|
|
2124
|
-
|
|
2125
|
-
|
|
2128
|
+
re && !!ue && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
|
|
2129
|
+
re && !!ue && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
|
|
2126
2130
|
] }),
|
|
2127
|
-
|
|
2131
|
+
be && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
|
|
2128
2132
|
] }),
|
|
2129
2133
|
S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2130
2134
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
@@ -2145,7 +2149,7 @@ const da = ({
|
|
|
2145
2149
|
type: "button",
|
|
2146
2150
|
className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
|
|
2147
2151
|
onClick: () => {
|
|
2148
|
-
w({ language_code: "hi" }),
|
|
2152
|
+
w({ language_code: "hi" }), d?.trackLanguageOfReportSelected?.({
|
|
2149
2153
|
language: "hi"
|
|
2150
2154
|
});
|
|
2151
2155
|
},
|
|
@@ -2161,7 +2165,7 @@ const da = ({
|
|
|
2161
2165
|
type: "button",
|
|
2162
2166
|
className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
|
|
2163
2167
|
onClick: () => {
|
|
2164
|
-
w({ language_code: "en" }),
|
|
2168
|
+
w({ language_code: "en" }), d?.trackLanguageOfReportSelected?.({
|
|
2165
2169
|
language: "en"
|
|
2166
2170
|
});
|
|
2167
2171
|
},
|
|
@@ -2177,7 +2181,7 @@ const da = ({
|
|
|
2177
2181
|
type: "button",
|
|
2178
2182
|
className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
|
|
2179
2183
|
onClick: () => {
|
|
2180
|
-
w({ language_code: "te" }),
|
|
2184
|
+
w({ language_code: "te" }), d?.trackLanguageOfReportSelected?.({
|
|
2181
2185
|
language: "te"
|
|
2182
2186
|
});
|
|
2183
2187
|
},
|
|
@@ -2193,7 +2197,7 @@ const da = ({
|
|
|
2193
2197
|
type: "button",
|
|
2194
2198
|
className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
|
|
2195
2199
|
onClick: () => {
|
|
2196
|
-
w({ language_code: "ta" }),
|
|
2200
|
+
w({ language_code: "ta" }), d?.trackLanguageOfReportSelected?.({
|
|
2197
2201
|
language: "ta"
|
|
2198
2202
|
});
|
|
2199
2203
|
},
|
|
@@ -2209,7 +2213,7 @@ const da = ({
|
|
|
2209
2213
|
type: "button",
|
|
2210
2214
|
className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
|
|
2211
2215
|
onClick: () => {
|
|
2212
|
-
w({ language_code: "kn" }),
|
|
2216
|
+
w({ language_code: "kn" }), d?.trackLanguageOfReportSelected?.({
|
|
2213
2217
|
language: "kn"
|
|
2214
2218
|
});
|
|
2215
2219
|
},
|
|
@@ -2225,7 +2229,7 @@ const da = ({
|
|
|
2225
2229
|
type: "button",
|
|
2226
2230
|
className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
|
|
2227
2231
|
onClick: () => {
|
|
2228
|
-
w({ language_code: "gu" }),
|
|
2232
|
+
w({ language_code: "gu" }), d?.trackLanguageOfReportSelected?.({
|
|
2229
2233
|
language: "gu"
|
|
2230
2234
|
});
|
|
2231
2235
|
},
|
|
@@ -2241,7 +2245,7 @@ const da = ({
|
|
|
2241
2245
|
type: "button",
|
|
2242
2246
|
className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
|
|
2243
2247
|
onClick: () => {
|
|
2244
|
-
w({ language_code: "mr" }),
|
|
2248
|
+
w({ language_code: "mr" }), d?.trackLanguageOfReportSelected?.({
|
|
2245
2249
|
language: "mr"
|
|
2246
2250
|
});
|
|
2247
2251
|
},
|
|
@@ -2257,21 +2261,21 @@ const da = ({
|
|
|
2257
2261
|
] }) })
|
|
2258
2262
|
}
|
|
2259
2263
|
);
|
|
2260
|
-
},
|
|
2261
|
-
ctaButton:
|
|
2262
|
-
ctaFilled:
|
|
2263
|
-
ctaFilledContent:
|
|
2264
|
-
chevronRight:
|
|
2265
|
-
},
|
|
2266
|
-
const
|
|
2267
|
-
return /* @__PURE__ */ r.jsxs("div", { className:
|
|
2268
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2264
|
+
}, ga = "_ctaButton_rhimw_2", _a = "_ctaFilled_rhimw_21", ba = "_ctaFilledContent_rhimw_52", ya = "_chevronRight_rhimw_61", je = {
|
|
2265
|
+
ctaButton: ga,
|
|
2266
|
+
ctaFilled: _a,
|
|
2267
|
+
ctaFilledContent: ba,
|
|
2268
|
+
chevronRight: ya
|
|
2269
|
+
}, br = "kundli-report-astrologer", ka = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", va = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", wa = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", xa = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Pa = ({ t }) => {
|
|
2270
|
+
const c = Te()?.config.imageComponent ?? Le;
|
|
2271
|
+
return /* @__PURE__ */ r.jsxs("div", { className: ve.marqueeContent, children: [
|
|
2272
|
+
/* @__PURE__ */ r.jsxs("span", { className: ve.badge, children: [
|
|
2269
2273
|
/* @__PURE__ */ r.jsx(
|
|
2270
|
-
|
|
2274
|
+
c,
|
|
2271
2275
|
{
|
|
2272
|
-
src:
|
|
2276
|
+
src: ka,
|
|
2273
2277
|
alt: "",
|
|
2274
|
-
className:
|
|
2278
|
+
className: ve.badgeIcon,
|
|
2275
2279
|
width: 16,
|
|
2276
2280
|
height: 16,
|
|
2277
2281
|
loading: "lazy"
|
|
@@ -2279,13 +2283,13 @@ const da = ({
|
|
|
2279
2283
|
),
|
|
2280
2284
|
t("ctaKundliCreated")
|
|
2281
2285
|
] }),
|
|
2282
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2286
|
+
/* @__PURE__ */ r.jsxs("span", { className: ve.badge, children: [
|
|
2283
2287
|
/* @__PURE__ */ r.jsx(
|
|
2284
|
-
|
|
2288
|
+
c,
|
|
2285
2289
|
{
|
|
2286
|
-
src:
|
|
2290
|
+
src: va,
|
|
2287
2291
|
alt: "",
|
|
2288
|
-
className:
|
|
2292
|
+
className: ve.badgeIcon,
|
|
2289
2293
|
width: 16,
|
|
2290
2294
|
height: 16,
|
|
2291
2295
|
loading: "lazy"
|
|
@@ -2293,13 +2297,13 @@ const da = ({
|
|
|
2293
2297
|
),
|
|
2294
2298
|
t("ctaCertified")
|
|
2295
2299
|
] }),
|
|
2296
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2300
|
+
/* @__PURE__ */ r.jsxs("span", { className: ve.badge, children: [
|
|
2297
2301
|
/* @__PURE__ */ r.jsx(
|
|
2298
|
-
|
|
2302
|
+
c,
|
|
2299
2303
|
{
|
|
2300
|
-
src:
|
|
2304
|
+
src: wa,
|
|
2301
2305
|
alt: "",
|
|
2302
|
-
className:
|
|
2306
|
+
className: ve.badgeIcon,
|
|
2303
2307
|
width: 16,
|
|
2304
2308
|
height: 16,
|
|
2305
2309
|
loading: "lazy"
|
|
@@ -2308,81 +2312,81 @@ const da = ({
|
|
|
2308
2312
|
t("ctaSecurePayment")
|
|
2309
2313
|
] })
|
|
2310
2314
|
] });
|
|
2311
|
-
},
|
|
2315
|
+
}, Aa = (t) => /.+@.+\..+/.test(t), Ca = (t) => /^\d{10}$/.test(t), ja = (t, o, c) => {
|
|
2312
2316
|
if (!t.fullName.trim()) return "fullName";
|
|
2313
2317
|
if (o) {
|
|
2314
|
-
if (!
|
|
2315
|
-
} else if (!
|
|
2318
|
+
if (!Aa(t.email.trim())) return "email";
|
|
2319
|
+
} else if (!Ca((t.phone ?? "").trim())) return "phone";
|
|
2316
2320
|
if (!t.dateOfBirth) return "dateOfBirth";
|
|
2317
2321
|
if (!t.birthPlace.trim()) return "birthPlace";
|
|
2318
2322
|
if (!Number.isFinite(t.birthPlaceLat) || !Number.isFinite(t.birthPlaceLng))
|
|
2319
2323
|
return "birthPlaceCoordinates";
|
|
2320
|
-
if (
|
|
2324
|
+
if (c) {
|
|
2321
2325
|
if (!t.gender) return "gender";
|
|
2322
2326
|
if (!t.language_code) return "language_code";
|
|
2323
2327
|
}
|
|
2324
2328
|
return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
|
|
2325
|
-
},
|
|
2329
|
+
}, Na = ({
|
|
2326
2330
|
t,
|
|
2327
2331
|
values: o,
|
|
2328
|
-
phoneIsdCode:
|
|
2329
|
-
hideOriginalPrice:
|
|
2330
|
-
requireV1ExtraFields:
|
|
2332
|
+
phoneIsdCode: c,
|
|
2333
|
+
hideOriginalPrice: f = !1,
|
|
2334
|
+
requireV1ExtraFields: v = !1,
|
|
2331
2335
|
onValidationFailed: S,
|
|
2332
2336
|
onProceed: x,
|
|
2333
2337
|
onProceedGuidance: j,
|
|
2334
2338
|
href: A,
|
|
2335
2339
|
analytics: E,
|
|
2336
|
-
className:
|
|
2340
|
+
className: d = "",
|
|
2337
2341
|
discountedPriceLabel: N,
|
|
2338
|
-
showPlanSheet:
|
|
2342
|
+
showPlanSheet: h,
|
|
2339
2343
|
confirmPlan: I,
|
|
2340
|
-
planSheetOpen:
|
|
2341
|
-
selectedPlan:
|
|
2344
|
+
planSheetOpen: p,
|
|
2345
|
+
selectedPlan: L
|
|
2342
2346
|
}) => {
|
|
2343
|
-
const C =
|
|
2344
|
-
() =>
|
|
2345
|
-
[o, b,
|
|
2346
|
-
),
|
|
2347
|
+
const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, w] = W(!1), F = Ue(
|
|
2348
|
+
() => ja(o, b, v),
|
|
2349
|
+
[o, b, v]
|
|
2350
|
+
), K = F === null, z = g === "v1" && C?.config?.showSheet;
|
|
2347
2351
|
Y(() => {
|
|
2348
|
-
if (
|
|
2349
|
-
const
|
|
2352
|
+
if (!$) return;
|
|
2353
|
+
const oe = window.setTimeout(() => {
|
|
2350
2354
|
w(!1);
|
|
2351
2355
|
}, 2200);
|
|
2352
|
-
return () => window.clearTimeout(
|
|
2353
|
-
}, [
|
|
2354
|
-
const
|
|
2355
|
-
if (
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
),
|
|
2356
|
+
return () => window.clearTimeout(oe);
|
|
2357
|
+
}, [$]);
|
|
2358
|
+
const J = b ? N ?? t("formDiscountedPrice") : z ? "" : "₹499", G = C?.config.imageComponent ?? Le, V = (oe) => {
|
|
2359
|
+
if (oe.preventDefault(), g === "v1" && !K && E?.trackKundliDetailedClicked?.(), !K) {
|
|
2360
|
+
F && (S?.(
|
|
2361
|
+
F === "birthPlaceCoordinates" ? "birthPlace" : F
|
|
2362
|
+
), F === "birthPlaceCoordinates" && w(!0));
|
|
2359
2363
|
return;
|
|
2360
2364
|
}
|
|
2361
|
-
const
|
|
2365
|
+
const D = !!j && g === "v1" && L?.id === br, T = (o.phone ?? "").trim(), O = {
|
|
2362
2366
|
...o,
|
|
2363
|
-
phone: T && `${
|
|
2367
|
+
phone: T && `${c}-${T}`
|
|
2364
2368
|
};
|
|
2365
|
-
if (
|
|
2366
|
-
|
|
2369
|
+
if (z) {
|
|
2370
|
+
p ? I?.() : h?.(O);
|
|
2367
2371
|
return;
|
|
2368
2372
|
}
|
|
2369
|
-
E?.trackPrimaryCtaClickedL1?.({ avenue: "form" }),
|
|
2370
|
-
},
|
|
2371
|
-
|
|
2373
|
+
E?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), D ? j(O) : x?.(O);
|
|
2374
|
+
}, ce = /* @__PURE__ */ r.jsx(
|
|
2375
|
+
$r,
|
|
2372
2376
|
{
|
|
2373
2377
|
href: A,
|
|
2374
|
-
disabled:
|
|
2375
|
-
onClick:
|
|
2378
|
+
disabled: g === "v1" ? !1 : !K,
|
|
2379
|
+
onClick: V,
|
|
2376
2380
|
"aria-label": t("formPriceAria"),
|
|
2377
|
-
className:
|
|
2378
|
-
children:
|
|
2379
|
-
|
|
2381
|
+
className: g === "v1" && K ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
|
|
2382
|
+
children: g === "v1" ? K ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
|
|
2383
|
+
z ? t("selectPackage") : p && L ? `${t("proceedWithPlan")}${L.price}` : `${t("formProceed")} ${J}`,
|
|
2380
2384
|
/* @__PURE__ */ r.jsx(
|
|
2381
|
-
|
|
2385
|
+
G,
|
|
2382
2386
|
{
|
|
2383
|
-
src:
|
|
2387
|
+
src: xa,
|
|
2384
2388
|
alt: "",
|
|
2385
|
-
className:
|
|
2389
|
+
className: je.chevronRight,
|
|
2386
2390
|
width: 20,
|
|
2387
2391
|
height: 20,
|
|
2388
2392
|
loading: "lazy"
|
|
@@ -2391,40 +2395,40 @@ const da = ({
|
|
|
2391
2395
|
] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2392
2396
|
t("formProceed"),
|
|
2393
2397
|
" ",
|
|
2394
|
-
|
|
2398
|
+
J
|
|
2395
2399
|
] })
|
|
2396
2400
|
}
|
|
2397
2401
|
);
|
|
2398
2402
|
return /* @__PURE__ */ r.jsxs(
|
|
2399
|
-
|
|
2403
|
+
Ur,
|
|
2400
2404
|
{
|
|
2401
|
-
className: `${
|
|
2402
|
-
marquee: /* @__PURE__ */ r.jsx(
|
|
2405
|
+
className: `${je.footerContainer} ${d}`,
|
|
2406
|
+
marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
|
|
2403
2407
|
children: [
|
|
2404
|
-
|
|
2405
|
-
|
|
2408
|
+
$ && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
|
|
2409
|
+
ce
|
|
2406
2410
|
]
|
|
2407
2411
|
}
|
|
2408
2412
|
);
|
|
2409
|
-
},
|
|
2413
|
+
}, Ta = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ra = ({
|
|
2410
2414
|
t,
|
|
2411
2415
|
languageSelector: o,
|
|
2412
|
-
logoUrl:
|
|
2413
|
-
className:
|
|
2416
|
+
logoUrl: c = Ta,
|
|
2417
|
+
className: f = ""
|
|
2414
2418
|
}) => {
|
|
2415
|
-
const
|
|
2419
|
+
const v = Te(), S = v?.config.isGlobal ?? !0, x = o != null && !S;
|
|
2416
2420
|
return /* @__PURE__ */ r.jsx(
|
|
2417
|
-
|
|
2421
|
+
Wr,
|
|
2418
2422
|
{
|
|
2419
2423
|
t,
|
|
2420
|
-
logoUrl:
|
|
2421
|
-
imageComponent:
|
|
2424
|
+
logoUrl: c,
|
|
2425
|
+
imageComponent: v?.config.imageComponent,
|
|
2422
2426
|
languageSelector: o,
|
|
2423
2427
|
showLanguageSelector: x,
|
|
2424
|
-
className:
|
|
2428
|
+
className: f
|
|
2425
2429
|
}
|
|
2426
2430
|
);
|
|
2427
|
-
},
|
|
2431
|
+
}, Sa = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2428
2432
|
"path",
|
|
2429
2433
|
{
|
|
2430
2434
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2433,7 +2437,7 @@ const da = ({
|
|
|
2433
2437
|
strokeLinecap: "round",
|
|
2434
2438
|
strokeLinejoin: "round"
|
|
2435
2439
|
}
|
|
2436
|
-
) }),
|
|
2440
|
+
) }), Ea = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2437
2441
|
"path",
|
|
2438
2442
|
{
|
|
2439
2443
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2441,165 +2445,173 @@ const da = ({
|
|
|
2441
2445
|
strokeWidth: "1.8",
|
|
2442
2446
|
strokeLinecap: "round"
|
|
2443
2447
|
}
|
|
2444
|
-
) }),
|
|
2448
|
+
) }), Ia = () => /* @__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" }) }), La = () => /* @__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: [
|
|
2445
2449
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2446
2450
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2447
|
-
] }),
|
|
2448
|
-
overlay:
|
|
2449
|
-
sheet:
|
|
2450
|
-
header:
|
|
2451
|
-
backBtn:
|
|
2452
|
-
title:
|
|
2453
|
-
plansContainer:
|
|
2454
|
-
planCard:
|
|
2455
|
-
withBadgeSpacing:
|
|
2456
|
-
planCardSelected:
|
|
2457
|
-
planCardPopular:
|
|
2458
|
-
popularBadge:
|
|
2459
|
-
planCardInner:
|
|
2460
|
-
planTitleRow:
|
|
2461
|
-
planTitle:
|
|
2462
|
-
radioCircle:
|
|
2463
|
-
radioChecked:
|
|
2464
|
-
radioInner:
|
|
2465
|
-
priceRow:
|
|
2466
|
-
price:
|
|
2467
|
-
originalPrice:
|
|
2468
|
-
savingsBadge:
|
|
2469
|
-
featureList:
|
|
2470
|
-
featureItem:
|
|
2471
|
-
featureIcon:
|
|
2472
|
-
featureText:
|
|
2473
|
-
astrologerHeading:
|
|
2474
|
-
astrologerList:
|
|
2475
|
-
astrologerCard:
|
|
2476
|
-
astrologerAvatar:
|
|
2477
|
-
astrologerAvatarPlaceholder:
|
|
2478
|
-
astrologerTop:
|
|
2479
|
-
astrologerBasicInfo:
|
|
2480
|
-
astrologerName:
|
|
2481
|
-
astrologerExp:
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2451
|
+
] }), Ba = "_overlay_99uki_2", Da = "_sheet_99uki_12", Fa = "_header_99uki_36", Oa = "_backBtn_99uki_48", Ma = "_title_99uki_66", $a = "_plansContainer_99uki_78", Ua = "_planCard_99uki_87", Ga = "_withBadgeSpacing_99uki_101", Wa = "_planCardSelected_99uki_105", Ka = "_planCardPopular_99uki_110", Ha = "_popularBadge_99uki_119", Ya = "_planCardInner_99uki_137", Va = "_planTitleRow_99uki_148", qa = "_planTitle_99uki_148", za = "_radioCircle_99uki_163", Ja = "_radioChecked_99uki_176", Qa = "_radioInner_99uki_181", Xa = "_priceRow_99uki_189", Za = "_price_99uki_189", en = "_originalPrice_99uki_202", rn = "_savingsBadge_99uki_209", tn = "_featureList_99uki_219", an = "_featureItem_99uki_228", nn = "_featureIcon_99uki_234", on = "_featureText_99uki_240", sn = "_astrologerHeading_99uki_251", ln = "_astrologerList_99uki_258", cn = "_astrologerCard_99uki_274", dn = "_astrologerAvatar_99uki_290", un = "_astrologerAvatarPlaceholder_99uki_307", fn = "_astrologerTop_99uki_313", mn = "_astrologerBasicInfo_99uki_319", hn = "_astrologerName_99uki_326", pn = "_astrologerExp_99uki_335", gn = "_astrologerLangs_99uki_341", _n = "_astrologerDivider_99uki_348", bn = "_planDivider_99uki_354", yn = "_astrologerCertList_99uki_361", kn = "_astrologerCertItem_99uki_367", vn = "_bullet_99uki_375", wn = "_footer_99uki_381", xn = "_proceedBtn_99uki_391", m = {
|
|
2452
|
+
overlay: Ba,
|
|
2453
|
+
sheet: Da,
|
|
2454
|
+
header: Fa,
|
|
2455
|
+
backBtn: Oa,
|
|
2456
|
+
title: Ma,
|
|
2457
|
+
plansContainer: $a,
|
|
2458
|
+
planCard: Ua,
|
|
2459
|
+
withBadgeSpacing: Ga,
|
|
2460
|
+
planCardSelected: Wa,
|
|
2461
|
+
planCardPopular: Ka,
|
|
2462
|
+
popularBadge: Ha,
|
|
2463
|
+
planCardInner: Ya,
|
|
2464
|
+
planTitleRow: Va,
|
|
2465
|
+
planTitle: qa,
|
|
2466
|
+
radioCircle: za,
|
|
2467
|
+
radioChecked: Ja,
|
|
2468
|
+
radioInner: Qa,
|
|
2469
|
+
priceRow: Xa,
|
|
2470
|
+
price: Za,
|
|
2471
|
+
originalPrice: en,
|
|
2472
|
+
savingsBadge: rn,
|
|
2473
|
+
featureList: tn,
|
|
2474
|
+
featureItem: an,
|
|
2475
|
+
featureIcon: nn,
|
|
2476
|
+
featureText: on,
|
|
2477
|
+
astrologerHeading: sn,
|
|
2478
|
+
astrologerList: ln,
|
|
2479
|
+
astrologerCard: cn,
|
|
2480
|
+
astrologerAvatar: dn,
|
|
2481
|
+
astrologerAvatarPlaceholder: un,
|
|
2482
|
+
astrologerTop: fn,
|
|
2483
|
+
astrologerBasicInfo: mn,
|
|
2484
|
+
astrologerName: hn,
|
|
2485
|
+
astrologerExp: pn,
|
|
2486
|
+
astrologerLangs: gn,
|
|
2487
|
+
astrologerDivider: _n,
|
|
2488
|
+
planDivider: bn,
|
|
2489
|
+
astrologerCertList: yn,
|
|
2490
|
+
astrologerCertItem: kn,
|
|
2491
|
+
bullet: vn,
|
|
2492
|
+
footer: wn,
|
|
2493
|
+
proceedBtn: xn
|
|
2494
|
+
}, Pn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: m.header, children: [
|
|
2490
2495
|
/* @__PURE__ */ r.jsx(
|
|
2491
2496
|
"button",
|
|
2492
2497
|
{
|
|
2493
|
-
className:
|
|
2498
|
+
className: m.backBtn,
|
|
2494
2499
|
onClick: o,
|
|
2495
2500
|
"aria-label": "Go back",
|
|
2496
2501
|
type: "button",
|
|
2497
|
-
children: /* @__PURE__ */ r.jsx(
|
|
2502
|
+
children: /* @__PURE__ */ r.jsx(Ia, {})
|
|
2498
2503
|
}
|
|
2499
2504
|
),
|
|
2500
|
-
/* @__PURE__ */ r.jsx("h2", { className:
|
|
2501
|
-
] }),
|
|
2502
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2505
|
+
/* @__PURE__ */ r.jsx("h2", { className: m.title, children: t })
|
|
2506
|
+
] }), An = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: m.featureList, "aria-label": "Plan features", children: t.map((c, f) => /* @__PURE__ */ r.jsxs("li", { className: m.featureItem, children: [
|
|
2507
|
+
/* @__PURE__ */ r.jsx("span", { className: m.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Sa, {}) : /* @__PURE__ */ r.jsx(Ea, {}) }),
|
|
2503
2508
|
/* @__PURE__ */ r.jsx(
|
|
2504
2509
|
"span",
|
|
2505
2510
|
{
|
|
2506
|
-
className: `${
|
|
2507
|
-
children: o?.(
|
|
2511
|
+
className: `${m.featureText} `,
|
|
2512
|
+
children: o?.(c.text) ?? c.text
|
|
2508
2513
|
}
|
|
2509
2514
|
)
|
|
2510
|
-
] },
|
|
2511
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2512
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2513
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2514
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2515
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2515
|
+
] }, f)) }), Cn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: m.astrologerCard, children: [
|
|
2516
|
+
/* @__PURE__ */ r.jsxs("div", { className: m.astrologerTop, children: [
|
|
2517
|
+
/* @__PURE__ */ r.jsx("div", { className: m.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: m.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2518
|
+
/* @__PURE__ */ r.jsxs("div", { className: m.astrologerBasicInfo, children: [
|
|
2519
|
+
/* @__PURE__ */ r.jsx("p", { className: m.astrologerName, children: o?.(t.name) ?? t.name }),
|
|
2520
|
+
/* @__PURE__ */ r.jsx("p", { className: m.astrologerExp, children: o?.(t.experience) ?? t.experience }),
|
|
2521
|
+
t.languages && t.languages.length > 0 && /* @__PURE__ */ r.jsx("p", { className: m.astrologerLangs, children: t.languages.map((c) => o?.(c) ?? c).join(" • ") })
|
|
2516
2522
|
] })
|
|
2517
2523
|
] }),
|
|
2518
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2519
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2520
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2524
|
+
/* @__PURE__ */ r.jsx("div", { className: m.astrologerDivider }),
|
|
2525
|
+
/* @__PURE__ */ r.jsx("div", { className: m.astrologerCertList, children: t.certifications.map((c, f) => /* @__PURE__ */ r.jsxs("p", { className: m.astrologerCertItem, children: [
|
|
2526
|
+
/* @__PURE__ */ r.jsx("span", { className: m.bullet, children: "✓" }),
|
|
2521
2527
|
" ",
|
|
2522
|
-
o?.(
|
|
2523
|
-
] },
|
|
2524
|
-
] }),
|
|
2525
|
-
/* @__PURE__ */ r.jsx(
|
|
2528
|
+
o?.(c) ?? c
|
|
2529
|
+
] }, f)) })
|
|
2530
|
+
] }), jn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: m.popularBadge, "aria-label": t, children: [
|
|
2531
|
+
/* @__PURE__ */ r.jsx(La, {}),
|
|
2526
2532
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2527
|
-
] }),
|
|
2528
|
-
const
|
|
2529
|
-
(x.key === " " || x.key === "Enter") && (x.preventDefault(),
|
|
2533
|
+
] }), Nn = ({ plan: t, isSelected: o, onSelect: c, t: f }) => {
|
|
2534
|
+
const v = () => c(t.id), S = (x) => {
|
|
2535
|
+
(x.key === " " || x.key === "Enter") && (x.preventDefault(), c(t.id));
|
|
2530
2536
|
};
|
|
2531
2537
|
return /* @__PURE__ */ r.jsxs(
|
|
2532
2538
|
"div",
|
|
2533
2539
|
{
|
|
2534
2540
|
className: [
|
|
2535
|
-
|
|
2536
|
-
o ?
|
|
2537
|
-
o &&
|
|
2541
|
+
m.planCard,
|
|
2542
|
+
o ? m.planCardSelected : "",
|
|
2543
|
+
o && m.planCardPopular
|
|
2538
2544
|
].filter(Boolean).join(" "),
|
|
2539
|
-
onClick:
|
|
2545
|
+
onClick: v,
|
|
2540
2546
|
role: "radio",
|
|
2541
2547
|
"aria-checked": o,
|
|
2542
2548
|
tabIndex: 0,
|
|
2543
2549
|
onKeyDown: S,
|
|
2544
2550
|
"data-plan-id": t.id,
|
|
2545
2551
|
children: [
|
|
2546
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2547
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2548
|
-
/* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2549
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2552
|
+
t.badge && /* @__PURE__ */ r.jsx(jn, { label: f?.(t.badge) ?? t.badge }),
|
|
2553
|
+
/* @__PURE__ */ r.jsxs("div", { className: m.planCardInner, children: [
|
|
2554
|
+
/* @__PURE__ */ r.jsxs("div", { className: `${m.planTitleRow} ${t.badge ? m.withBadgeSpacing : ""}`, children: [
|
|
2555
|
+
/* @__PURE__ */ r.jsx("span", { className: m.planTitle, children: f?.(t.title) ?? t.title }),
|
|
2550
2556
|
/* @__PURE__ */ r.jsx(
|
|
2551
2557
|
"span",
|
|
2552
2558
|
{
|
|
2553
|
-
className: `${
|
|
2559
|
+
className: `${m.radioCircle} ${o ? m.radioChecked : ""}`,
|
|
2554
2560
|
"aria-hidden": !0,
|
|
2555
|
-
children: o && /* @__PURE__ */ r.jsx("span", { className:
|
|
2561
|
+
children: o && /* @__PURE__ */ r.jsx("span", { className: m.radioInner })
|
|
2556
2562
|
}
|
|
2557
2563
|
)
|
|
2558
2564
|
] }),
|
|
2559
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2560
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2561
|
-
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className:
|
|
2562
|
-
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className:
|
|
2565
|
+
/* @__PURE__ */ r.jsxs("div", { className: m.priceRow, children: [
|
|
2566
|
+
/* @__PURE__ */ r.jsx("span", { className: m.price, children: t.price }),
|
|
2567
|
+
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: m.originalPrice, children: t.originalPrice }),
|
|
2568
|
+
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: m.savingsBadge, children: f?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2563
2569
|
] }),
|
|
2564
|
-
/* @__PURE__ */ r.jsx(
|
|
2565
|
-
t.astrologers && /* @__PURE__ */ r.jsx("div", { className:
|
|
2570
|
+
/* @__PURE__ */ r.jsx(An, { features: t.features, t: f }),
|
|
2571
|
+
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: m.planDivider }),
|
|
2566
2572
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2567
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2568
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2573
|
+
/* @__PURE__ */ r.jsx("p", { className: m.astrologerHeading, children: f?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2574
|
+
/* @__PURE__ */ r.jsx("div", { className: m.astrologerList, role: "list", children: t.astrologers.map((x, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(Cn, { astrologer: x, t: f }) }, j)) })
|
|
2569
2575
|
] })
|
|
2570
2576
|
] })
|
|
2571
2577
|
]
|
|
2572
2578
|
}
|
|
2573
2579
|
);
|
|
2574
|
-
},
|
|
2580
|
+
}, Tn = [
|
|
2575
2581
|
{
|
|
2576
2582
|
id: "jyoti",
|
|
2577
|
-
name: "
|
|
2583
|
+
name: "Astro Sadhana",
|
|
2578
2584
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2579
|
-
experience: "
|
|
2585
|
+
experience: "21+ Years of experience",
|
|
2586
|
+
languages: ["Hindi", "English", "Telugu"],
|
|
2580
2587
|
certifications: [
|
|
2581
|
-
"
|
|
2582
|
-
"
|
|
2588
|
+
"25+ Years Vedic Astrology",
|
|
2589
|
+
"Result-Oriented Spiritual Guidance"
|
|
2583
2590
|
]
|
|
2584
2591
|
},
|
|
2585
2592
|
{
|
|
2586
2593
|
id: "samiksha",
|
|
2587
|
-
name: "
|
|
2594
|
+
name: "Astro Samiksha",
|
|
2588
2595
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2589
|
-
experience: "
|
|
2596
|
+
experience: "21+ Years of experience",
|
|
2597
|
+
languages: ["Hindi", "English", "Telugu"],
|
|
2590
2598
|
certifications: [
|
|
2591
|
-
"
|
|
2592
|
-
"
|
|
2599
|
+
"Certified Jyotish Acharya",
|
|
2600
|
+
"Guaranteed accurate solutions"
|
|
2593
2601
|
]
|
|
2594
2602
|
},
|
|
2595
2603
|
{
|
|
2596
2604
|
id: "neeraj",
|
|
2597
|
-
name: "
|
|
2605
|
+
name: "Astro Neeraj",
|
|
2598
2606
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2599
|
-
experience: "
|
|
2600
|
-
|
|
2607
|
+
experience: "18+ Years of experience",
|
|
2608
|
+
languages: ["Hindi", "English", "Telugu"],
|
|
2609
|
+
certifications: [
|
|
2610
|
+
"BHU Certified Vedic Astrologer",
|
|
2611
|
+
"Mantra & Rudraksha Specialist"
|
|
2612
|
+
]
|
|
2601
2613
|
}
|
|
2602
|
-
],
|
|
2614
|
+
], Rn = (t) => [
|
|
2603
2615
|
{
|
|
2604
2616
|
id: "kundli-report",
|
|
2605
2617
|
title: "planNameBasic",
|
|
@@ -2625,32 +2637,32 @@ const da = ({
|
|
|
2625
2637
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2626
2638
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2627
2639
|
],
|
|
2628
|
-
astrologers:
|
|
2640
|
+
astrologers: Tn.filter(
|
|
2629
2641
|
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
2630
2642
|
)
|
|
2631
2643
|
}
|
|
2632
|
-
],
|
|
2644
|
+
], Sn = ({
|
|
2633
2645
|
isOpen: t,
|
|
2634
2646
|
onClose: o,
|
|
2635
|
-
selectedPlan:
|
|
2636
|
-
onSelectPlan:
|
|
2637
|
-
plans:
|
|
2647
|
+
selectedPlan: c,
|
|
2648
|
+
onSelectPlan: f,
|
|
2649
|
+
plans: v,
|
|
2638
2650
|
onProceed: S,
|
|
2639
2651
|
t: x,
|
|
2640
2652
|
analytics: j
|
|
2641
2653
|
}) => {
|
|
2642
|
-
const E =
|
|
2654
|
+
const E = Te()?.config.isGlobal ?? !0, d = v ?? Rn(E), N = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", h = H(null), I = H(null), p = H(!1);
|
|
2643
2655
|
Y(() => {
|
|
2644
2656
|
if (t) {
|
|
2645
|
-
if (!
|
|
2646
|
-
const C =
|
|
2647
|
-
C &&
|
|
2657
|
+
if (!c) {
|
|
2658
|
+
const C = d.find((b) => b.badge) ?? d[0];
|
|
2659
|
+
C && f(C);
|
|
2648
2660
|
}
|
|
2649
|
-
|
|
2661
|
+
p.current || (j?.trackPlanPageViewed?.(), p.current = !0);
|
|
2650
2662
|
} else
|
|
2651
|
-
|
|
2652
|
-
}, [t,
|
|
2653
|
-
const
|
|
2663
|
+
p.current = !1;
|
|
2664
|
+
}, [t, d, c, f, j]);
|
|
2665
|
+
const L = () => {
|
|
2654
2666
|
j?.trackPlanPageClosed?.(), o();
|
|
2655
2667
|
};
|
|
2656
2668
|
return Y(() => {
|
|
@@ -2662,60 +2674,60 @@ const da = ({
|
|
|
2662
2674
|
}, [t]), t ? /* @__PURE__ */ r.jsx(
|
|
2663
2675
|
"div",
|
|
2664
2676
|
{
|
|
2665
|
-
className:
|
|
2677
|
+
className: m.overlay,
|
|
2666
2678
|
role: "dialog",
|
|
2667
2679
|
"aria-modal": "true",
|
|
2668
2680
|
"aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2669
2681
|
children: /* @__PURE__ */ r.jsxs(
|
|
2670
2682
|
"div",
|
|
2671
2683
|
{
|
|
2672
|
-
ref:
|
|
2673
|
-
className:
|
|
2684
|
+
ref: h,
|
|
2685
|
+
className: m.sheet,
|
|
2674
2686
|
children: [
|
|
2675
2687
|
/* @__PURE__ */ r.jsx(
|
|
2676
|
-
|
|
2688
|
+
Pn,
|
|
2677
2689
|
{
|
|
2678
2690
|
title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2679
|
-
onBack:
|
|
2691
|
+
onBack: L
|
|
2680
2692
|
}
|
|
2681
2693
|
),
|
|
2682
2694
|
/* @__PURE__ */ r.jsx(
|
|
2683
2695
|
"div",
|
|
2684
2696
|
{
|
|
2685
2697
|
ref: I,
|
|
2686
|
-
className:
|
|
2698
|
+
className: m.plansContainer,
|
|
2687
2699
|
role: "radiogroup",
|
|
2688
2700
|
"aria-label": "Kundli plans",
|
|
2689
|
-
children:
|
|
2690
|
-
|
|
2701
|
+
children: d.map((C) => /* @__PURE__ */ r.jsx(
|
|
2702
|
+
Nn,
|
|
2691
2703
|
{
|
|
2692
2704
|
plan: C,
|
|
2693
2705
|
isSelected: C.id === N,
|
|
2694
2706
|
t: x,
|
|
2695
2707
|
onSelect: (b) => {
|
|
2696
|
-
const
|
|
2697
|
-
|
|
2698
|
-
planId:
|
|
2699
|
-
planName:
|
|
2700
|
-
}),
|
|
2708
|
+
const g = d.find(($) => $.id === b);
|
|
2709
|
+
g && (j?.trackPlanSelected?.({
|
|
2710
|
+
planId: g.id,
|
|
2711
|
+
planName: g.title
|
|
2712
|
+
}), f(g));
|
|
2701
2713
|
}
|
|
2702
2714
|
},
|
|
2703
2715
|
C.id
|
|
2704
2716
|
))
|
|
2705
2717
|
}
|
|
2706
2718
|
),
|
|
2707
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2719
|
+
/* @__PURE__ */ r.jsx("div", { className: m.footer, children: /* @__PURE__ */ r.jsx(
|
|
2708
2720
|
"button",
|
|
2709
2721
|
{
|
|
2710
|
-
className:
|
|
2711
|
-
disabled: !
|
|
2722
|
+
className: m.proceedBtn,
|
|
2723
|
+
disabled: !c,
|
|
2712
2724
|
onClick: () => {
|
|
2713
|
-
|
|
2714
|
-
planId:
|
|
2715
|
-
planName:
|
|
2716
|
-
}), S(
|
|
2725
|
+
c && (j?.trackPlanProceedClicked?.({
|
|
2726
|
+
planId: c.id,
|
|
2727
|
+
planName: c.title
|
|
2728
|
+
}), S(c), o());
|
|
2717
2729
|
},
|
|
2718
|
-
children:
|
|
2730
|
+
children: c ? x?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
|
|
2719
2731
|
}
|
|
2720
2732
|
) })
|
|
2721
2733
|
]
|
|
@@ -2723,7 +2735,7 @@ const da = ({
|
|
|
2723
2735
|
)
|
|
2724
2736
|
}
|
|
2725
2737
|
) : null;
|
|
2726
|
-
},
|
|
2738
|
+
}, En = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", In = (t, o) => mr[t]?.[o] ?? o, Ln = {
|
|
2727
2739
|
fullName: "",
|
|
2728
2740
|
phone: "",
|
|
2729
2741
|
gender: "",
|
|
@@ -2735,173 +2747,173 @@ const da = ({
|
|
|
2735
2747
|
birthPlace: "",
|
|
2736
2748
|
birthPlaceLat: void 0,
|
|
2737
2749
|
birthPlaceLng: void 0
|
|
2738
|
-
},
|
|
2750
|
+
}, Gn = ({
|
|
2739
2751
|
className: t = "",
|
|
2740
2752
|
locale: o,
|
|
2741
|
-
showLanguageSelector:
|
|
2742
|
-
onBack:
|
|
2743
|
-
initialValues:
|
|
2753
|
+
showLanguageSelector: c = !0,
|
|
2754
|
+
onBack: f,
|
|
2755
|
+
initialValues: v,
|
|
2744
2756
|
onProceed: S,
|
|
2745
2757
|
onProceedGuidance: x,
|
|
2746
2758
|
proceedHref: j,
|
|
2747
2759
|
originalPriceLabel: A,
|
|
2748
2760
|
discountedPriceLabel: E,
|
|
2749
|
-
atlasSearchLocalities:
|
|
2761
|
+
atlasSearchLocalities: d,
|
|
2750
2762
|
analytics: N
|
|
2751
2763
|
}) => {
|
|
2752
|
-
const
|
|
2764
|
+
const h = Te(), I = Vr(), p = h !== null, L = p ? h.locale : o, C = L ?? I?.locale ?? "en", [b, g] = W(C), $ = p ? h.locale : b, w = p ? h.setLocale : g, [F, K] = W(!1), z = H(null), J = H(L), G = H(
|
|
2753
2765
|
I?.locale
|
|
2754
2766
|
);
|
|
2755
2767
|
Y(() => {
|
|
2756
2768
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2757
2769
|
}, []);
|
|
2758
|
-
const
|
|
2770
|
+
const V = (k) => In($, k);
|
|
2759
2771
|
Y(() => {
|
|
2760
|
-
|
|
2761
|
-
}, [
|
|
2762
|
-
if (
|
|
2763
|
-
const
|
|
2764
|
-
|
|
2765
|
-
}, [I?.locale,
|
|
2766
|
-
const [
|
|
2767
|
-
...
|
|
2768
|
-
...
|
|
2769
|
-
phone:
|
|
2770
|
-
}),
|
|
2771
|
-
|
|
2772
|
+
L && J.current !== L && w(L), J.current = L;
|
|
2773
|
+
}, [L, w]), Y(() => {
|
|
2774
|
+
if (L) return;
|
|
2775
|
+
const k = I?.locale;
|
|
2776
|
+
k && G.current !== k && w(k), G.current = k;
|
|
2777
|
+
}, [I?.locale, L, w]);
|
|
2778
|
+
const [ce, oe] = W({
|
|
2779
|
+
...Ln,
|
|
2780
|
+
...v,
|
|
2781
|
+
phone: v?.phone ?? ""
|
|
2782
|
+
}), D = p ? h?.config.isGlobal ?? !0 : !0, [T, O] = W(
|
|
2783
|
+
D ? "+1" : "+91"
|
|
2772
2784
|
);
|
|
2773
2785
|
Y(() => {
|
|
2774
|
-
|
|
2775
|
-
}, [
|
|
2776
|
-
const
|
|
2786
|
+
O(D ? "+1" : "+91");
|
|
2787
|
+
}, [D]);
|
|
2788
|
+
const Q = p ? h.formValues : ce, pe = p ? h.setFormValues : oe, fe = p ? h.goToPage : f, q = p ? h.onProceed : S, ee = p ? h.onProceedGuidance : x, re = p ? h.config.proceedHref : j, de = p ? h.config.originalPriceLabel : A, te = p ? h.config.discountedPriceLabel : E, he = p ? h.config.showLanguageSelector ?? !0 : c, ie = (p ? h?.config?.analytics : N) ?? N;
|
|
2777
2789
|
Y(() => {
|
|
2778
|
-
if (!
|
|
2779
|
-
const
|
|
2780
|
-
|
|
2790
|
+
if (!F) return;
|
|
2791
|
+
const k = (n) => {
|
|
2792
|
+
z.current && !z.current.contains(n.target) && K(!1);
|
|
2781
2793
|
};
|
|
2782
|
-
return document.addEventListener("mousedown",
|
|
2783
|
-
}, [
|
|
2784
|
-
const [
|
|
2785
|
-
|
|
2786
|
-
}, []),
|
|
2787
|
-
if (
|
|
2788
|
-
planId:
|
|
2789
|
-
planName:
|
|
2790
|
-
}), !
|
|
2791
|
-
const
|
|
2792
|
-
|
|
2793
|
-
}, [
|
|
2794
|
+
return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
|
|
2795
|
+
}, [F]);
|
|
2796
|
+
const [ge, ue] = W(!1), [X, be] = W(null), se = H(null), we = Ne((k) => {
|
|
2797
|
+
se.current = k, ue(!0);
|
|
2798
|
+
}, []), _e = Ne(() => {
|
|
2799
|
+
if (ie?.trackPlanProceedClicked?.({
|
|
2800
|
+
planId: X.id,
|
|
2801
|
+
planName: X.title
|
|
2802
|
+
}), !se.current || !X) return;
|
|
2803
|
+
const k = { ...se.current, _selectedPlan: X };
|
|
2804
|
+
X.id === br && ee ? ee(k) : q?.(k), ue(!1), se.current = null;
|
|
2805
|
+
}, [X, q, ee]), xe = h?.config.imageComponent ?? Le, ye = he ? /* @__PURE__ */ r.jsxs("div", { className: me.langDropdownWrap, ref: z, children: [
|
|
2794
2806
|
/* @__PURE__ */ r.jsxs(
|
|
2795
2807
|
"button",
|
|
2796
2808
|
{
|
|
2797
2809
|
type: "button",
|
|
2798
|
-
className:
|
|
2810
|
+
className: me.langTrigger,
|
|
2799
2811
|
onClick: () => {
|
|
2800
|
-
|
|
2812
|
+
ie?.trackLanguageClickedFe?.({ language: $ }), K((k) => !k);
|
|
2801
2813
|
},
|
|
2802
|
-
"aria-expanded":
|
|
2814
|
+
"aria-expanded": F,
|
|
2803
2815
|
"aria-haspopup": "listbox",
|
|
2804
2816
|
id: "kundli-form-lang",
|
|
2805
|
-
"aria-label":
|
|
2817
|
+
"aria-label": V("language"),
|
|
2806
2818
|
children: [
|
|
2807
2819
|
/* @__PURE__ */ r.jsx(
|
|
2808
2820
|
xe,
|
|
2809
2821
|
{
|
|
2810
|
-
src:
|
|
2822
|
+
src: En,
|
|
2811
2823
|
alt: "",
|
|
2812
|
-
className:
|
|
2824
|
+
className: me.langIcon,
|
|
2813
2825
|
width: 16,
|
|
2814
2826
|
height: 16,
|
|
2815
2827
|
loading: "eager"
|
|
2816
2828
|
}
|
|
2817
2829
|
),
|
|
2818
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2830
|
+
/* @__PURE__ */ r.jsx("span", { className: me.langLabel, children: sr[$] })
|
|
2819
2831
|
]
|
|
2820
2832
|
}
|
|
2821
2833
|
),
|
|
2822
|
-
|
|
2834
|
+
F && /* @__PURE__ */ r.jsx(
|
|
2823
2835
|
"ul",
|
|
2824
2836
|
{
|
|
2825
|
-
className:
|
|
2837
|
+
className: me.langMenu,
|
|
2826
2838
|
role: "listbox",
|
|
2827
2839
|
"aria-labelledby": "kundli-form-lang",
|
|
2828
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
2829
|
-
children:
|
|
2840
|
+
"aria-activedescendant": `kundli-form-lang-option-${$}`,
|
|
2841
|
+
children: fr.map((k) => /* @__PURE__ */ r.jsx(
|
|
2830
2842
|
"li",
|
|
2831
2843
|
{
|
|
2832
|
-
id: `kundli-form-lang-option-${
|
|
2844
|
+
id: `kundli-form-lang-option-${k}`,
|
|
2833
2845
|
role: "option",
|
|
2834
|
-
"aria-selected":
|
|
2835
|
-
className:
|
|
2846
|
+
"aria-selected": k === $,
|
|
2847
|
+
className: me.langOption,
|
|
2836
2848
|
onClick: () => {
|
|
2837
|
-
|
|
2849
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: k }), w(k), K(!1);
|
|
2838
2850
|
},
|
|
2839
|
-
children:
|
|
2851
|
+
children: sr[k]
|
|
2840
2852
|
},
|
|
2841
|
-
|
|
2853
|
+
k
|
|
2842
2854
|
))
|
|
2843
2855
|
}
|
|
2844
2856
|
)
|
|
2845
2857
|
] }) : null;
|
|
2846
|
-
return /* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2858
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${me.container} ${t}`, children: [
|
|
2847
2859
|
/* @__PURE__ */ r.jsx(
|
|
2848
|
-
|
|
2860
|
+
Ra,
|
|
2849
2861
|
{
|
|
2850
|
-
t:
|
|
2851
|
-
logoUrl:
|
|
2852
|
-
languageSelector:
|
|
2853
|
-
className:
|
|
2862
|
+
t: V,
|
|
2863
|
+
logoUrl: p ? h.config.logoUrl : void 0,
|
|
2864
|
+
languageSelector: ye,
|
|
2865
|
+
className: me.kundliHeaderNoBorder
|
|
2854
2866
|
}
|
|
2855
2867
|
),
|
|
2856
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2857
|
-
/* @__PURE__ */ r.jsxs("main", { className:
|
|
2858
|
-
/* @__PURE__ */ r.jsx(
|
|
2868
|
+
/* @__PURE__ */ r.jsx("div", { className: me.headerSeparator, "aria-hidden": !0 }),
|
|
2869
|
+
/* @__PURE__ */ r.jsxs("main", { className: me.main, children: [
|
|
2870
|
+
/* @__PURE__ */ r.jsx(ut, { t: V, onBack: fe }),
|
|
2859
2871
|
/* @__PURE__ */ r.jsx(
|
|
2860
|
-
|
|
2872
|
+
pa,
|
|
2861
2873
|
{
|
|
2862
|
-
t:
|
|
2863
|
-
values:
|
|
2864
|
-
onChange:
|
|
2865
|
-
atlasSearchLocalities:
|
|
2874
|
+
t: V,
|
|
2875
|
+
values: Q,
|
|
2876
|
+
onChange: pe,
|
|
2877
|
+
atlasSearchLocalities: d,
|
|
2866
2878
|
phoneIsdCode: T,
|
|
2867
|
-
onPhoneIsdCodeChange:
|
|
2879
|
+
onPhoneIsdCodeChange: O
|
|
2868
2880
|
}
|
|
2869
2881
|
)
|
|
2870
2882
|
] }),
|
|
2871
2883
|
/* @__PURE__ */ r.jsx(
|
|
2872
|
-
|
|
2884
|
+
Na,
|
|
2873
2885
|
{
|
|
2874
|
-
t:
|
|
2875
|
-
values:
|
|
2886
|
+
t: V,
|
|
2887
|
+
values: Q,
|
|
2876
2888
|
phoneIsdCode: T,
|
|
2877
|
-
onProceed:
|
|
2878
|
-
onProceedGuidance:
|
|
2879
|
-
href:
|
|
2880
|
-
originalPriceLabel:
|
|
2881
|
-
discountedPriceLabel:
|
|
2882
|
-
analytics:
|
|
2889
|
+
onProceed: q,
|
|
2890
|
+
onProceedGuidance: ee,
|
|
2891
|
+
href: re,
|
|
2892
|
+
originalPriceLabel: de,
|
|
2893
|
+
discountedPriceLabel: te,
|
|
2894
|
+
analytics: ie,
|
|
2883
2895
|
showPlanSheet: we,
|
|
2884
|
-
confirmPlan:
|
|
2885
|
-
planSheetOpen:
|
|
2886
|
-
selectedPlan:
|
|
2896
|
+
confirmPlan: _e,
|
|
2897
|
+
planSheetOpen: ge,
|
|
2898
|
+
selectedPlan: X
|
|
2887
2899
|
}
|
|
2888
2900
|
),
|
|
2889
|
-
|
|
2890
|
-
|
|
2901
|
+
h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
2902
|
+
Sn,
|
|
2891
2903
|
{
|
|
2892
|
-
isOpen:
|
|
2893
|
-
onClose: () =>
|
|
2894
|
-
selectedPlan:
|
|
2895
|
-
onSelectPlan:
|
|
2896
|
-
onProceed: (
|
|
2897
|
-
|
|
2904
|
+
isOpen: ge,
|
|
2905
|
+
onClose: () => ue(!1),
|
|
2906
|
+
selectedPlan: X,
|
|
2907
|
+
onSelectPlan: be,
|
|
2908
|
+
onProceed: (k) => {
|
|
2909
|
+
_e?.(k);
|
|
2898
2910
|
},
|
|
2899
|
-
t:
|
|
2900
|
-
analytics:
|
|
2911
|
+
t: V,
|
|
2912
|
+
analytics: ie
|
|
2901
2913
|
}
|
|
2902
2914
|
)
|
|
2903
2915
|
] });
|
|
2904
|
-
},
|
|
2916
|
+
}, Wn = {
|
|
2905
2917
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2906
2918
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2907
2919
|
language_changed_fe: "language_changed_fe",
|
|
@@ -2941,31 +2953,31 @@ const da = ({
|
|
|
2941
2953
|
kundli_form_view: "kundli_form_view"
|
|
2942
2954
|
};
|
|
2943
2955
|
export {
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2956
|
+
Le as D,
|
|
2957
|
+
ut as F,
|
|
2958
|
+
Fn as I,
|
|
2959
|
+
Wn as K,
|
|
2960
|
+
sr as L,
|
|
2961
|
+
br as P,
|
|
2962
|
+
fr as S,
|
|
2963
|
+
pa as U,
|
|
2964
|
+
pr as a,
|
|
2953
2965
|
Ke as b,
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2966
|
+
Gn as c,
|
|
2967
|
+
$n as d,
|
|
2968
|
+
it as e,
|
|
2969
|
+
st as f,
|
|
2970
|
+
nt as g,
|
|
2971
|
+
Te as h,
|
|
2972
|
+
Mn as i,
|
|
2973
|
+
Un as j,
|
|
2962
2974
|
r as k,
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2975
|
+
Ra as l,
|
|
2976
|
+
Na as m,
|
|
2977
|
+
Sn as n,
|
|
2978
|
+
On as r,
|
|
2979
|
+
ot as s,
|
|
2980
|
+
mr as t,
|
|
2981
|
+
Vr as u
|
|
2970
2982
|
};
|
|
2971
|
-
//# sourceMappingURL=analytics-
|
|
2983
|
+
//# sourceMappingURL=analytics-DCkm-Koi.js.map
|