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