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