@srimandir/kundli-matching-generator 1.0.22 → 1.0.23
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/kundli-matching-generator.js +1279 -1217
- package/dist/kundli-matching-generator.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import "./styles.js";
|
|
2
|
-
import ft, { useRef as
|
|
3
|
-
import { PageHeader as Ht, FAQAccordion as
|
|
2
|
+
import ft, { useRef as z, useState as F, useEffect as V, useCallback as we, useMemo as qe, useContext as Ke, createContext as _t } from "react";
|
|
3
|
+
import { PageHeader as Ht, FAQAccordion as Gt, FormField as ct, FooterShell as Vt, CircularMarquee as Yt, FooterCTAButton as Jt, footerShellStyles as pe } from "@srimandir/astrology-common";
|
|
4
4
|
var Ee = { exports: {} }, je = {};
|
|
5
5
|
var lt;
|
|
6
6
|
function Qt() {
|
|
7
7
|
if (lt) return je;
|
|
8
8
|
lt = 1;
|
|
9
|
-
var t = ft,
|
|
10
|
-
function
|
|
11
|
-
var
|
|
12
|
-
w !== void 0 && (j = "" + w), p.key !== void 0 && (j = "" + p.key), p.ref !== void 0 && (
|
|
13
|
-
for (
|
|
14
|
-
if (
|
|
15
|
-
return { $$typeof:
|
|
9
|
+
var t = ft, n = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
10
|
+
function c(_, p, w) {
|
|
11
|
+
var k, g = {}, j = null, E = null;
|
|
12
|
+
w !== void 0 && (j = "" + w), p.key !== void 0 && (j = "" + p.key), p.ref !== void 0 && (E = p.ref);
|
|
13
|
+
for (k in p) r.call(p, k) && !h.hasOwnProperty(k) && (g[k] = p[k]);
|
|
14
|
+
if (_ && _.defaultProps) for (k in p = _.defaultProps, p) g[k] === void 0 && (g[k] = p[k]);
|
|
15
|
+
return { $$typeof: n, type: _, key: j, ref: E, props: g, _owner: l.current };
|
|
16
16
|
}
|
|
17
|
-
return je.Fragment =
|
|
17
|
+
return je.Fragment = d, je.jsx = c, je.jsxs = c, je;
|
|
18
18
|
}
|
|
19
|
-
var
|
|
19
|
+
var Ne = {};
|
|
20
20
|
var dt;
|
|
21
21
|
function Xt() {
|
|
22
22
|
return dt || (dt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
23
|
-
var t = ft,
|
|
23
|
+
var t = ft, n = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), _ = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), k = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
|
|
24
24
|
function H(a) {
|
|
25
25
|
if (a === null || typeof a != "object")
|
|
26
26
|
return null;
|
|
27
|
-
var
|
|
28
|
-
return typeof
|
|
27
|
+
var s = x && a[x] || a[S];
|
|
28
|
+
return typeof s == "function" ? s : null;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
31
31
|
function R(a) {
|
|
32
32
|
{
|
|
33
|
-
for (var
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++)
|
|
34
|
+
u[v - 1] = arguments[v];
|
|
35
|
+
P("error", a, u);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function P(a, s, u) {
|
|
39
39
|
{
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
var
|
|
40
|
+
var v = A.ReactDebugCurrentFrame, B = v.getStackAddendum();
|
|
41
|
+
B !== "" && (s += "%s", u = u.concat([B]));
|
|
42
|
+
var $ = u.map(function(I) {
|
|
43
43
|
return String(I);
|
|
44
44
|
});
|
|
45
|
-
|
|
45
|
+
$.unshift("Warning: " + s), Function.prototype.apply.call(console[a], console, $);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
function
|
|
51
|
-
return !!(typeof a == "string" || typeof a == "function" || a === r || a === h ||
|
|
48
|
+
var T = !1, W = !1, M = !1, f = !1, U = !1, q;
|
|
49
|
+
q = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
50
|
+
function ie(a) {
|
|
51
|
+
return !!(typeof a == "string" || typeof a == "function" || a === r || a === h || U || a === l || a === w || a === k || f || a === E || T || W || M || typeof a == "object" && a !== null && (a.$$typeof === j || a.$$typeof === g || a.$$typeof === c || a.$$typeof === _ || a.$$typeof === p || // This needs to include all possible module reference object
|
|
52
52
|
// types supported by any Flight configuration anywhere since
|
|
53
53
|
// we don't know which Flight build this will end up being used
|
|
54
54
|
// with.
|
|
55
|
-
a.$$typeof ===
|
|
55
|
+
a.$$typeof === q || a.getModuleId !== void 0));
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
var
|
|
59
|
-
if (
|
|
60
|
-
return
|
|
61
|
-
var
|
|
62
|
-
return
|
|
57
|
+
function ae(a, s, u) {
|
|
58
|
+
var v = a.displayName;
|
|
59
|
+
if (v)
|
|
60
|
+
return v;
|
|
61
|
+
var B = s.displayName || s.name || "";
|
|
62
|
+
return B !== "" ? u + "(" + B + ")" : u;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function y(a) {
|
|
65
65
|
return a.displayName || "Context";
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function D(a) {
|
|
68
68
|
if (a == null)
|
|
69
69
|
return null;
|
|
70
70
|
if (typeof a.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
@@ -74,34 +74,34 @@ function Xt() {
|
|
|
74
74
|
switch (a) {
|
|
75
75
|
case r:
|
|
76
76
|
return "Fragment";
|
|
77
|
-
case
|
|
77
|
+
case d:
|
|
78
78
|
return "Portal";
|
|
79
79
|
case h:
|
|
80
80
|
return "Profiler";
|
|
81
|
-
case
|
|
81
|
+
case l:
|
|
82
82
|
return "StrictMode";
|
|
83
83
|
case w:
|
|
84
84
|
return "Suspense";
|
|
85
|
-
case
|
|
85
|
+
case k:
|
|
86
86
|
return "SuspenseList";
|
|
87
87
|
}
|
|
88
88
|
if (typeof a == "object")
|
|
89
89
|
switch (a.$$typeof) {
|
|
90
|
-
case
|
|
91
|
-
var
|
|
92
|
-
return
|
|
93
|
-
case
|
|
94
|
-
var
|
|
95
|
-
return
|
|
90
|
+
case _:
|
|
91
|
+
var s = a;
|
|
92
|
+
return y(s) + ".Consumer";
|
|
93
|
+
case c:
|
|
94
|
+
var u = a;
|
|
95
|
+
return y(u._context) + ".Provider";
|
|
96
96
|
case p:
|
|
97
|
-
return
|
|
97
|
+
return ae(a, a.render, "ForwardRef");
|
|
98
98
|
case g:
|
|
99
|
-
var
|
|
100
|
-
return
|
|
99
|
+
var v = a.displayName || null;
|
|
100
|
+
return v !== null ? v : D(a.type) || "Memo";
|
|
101
101
|
case j: {
|
|
102
|
-
var
|
|
102
|
+
var B = a, $ = B._payload, I = B._init;
|
|
103
103
|
try {
|
|
104
|
-
return
|
|
104
|
+
return D(I($));
|
|
105
105
|
} catch {
|
|
106
106
|
return null;
|
|
107
107
|
}
|
|
@@ -109,18 +109,18 @@ function Xt() {
|
|
|
109
109
|
}
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
112
|
-
var
|
|
113
|
-
function
|
|
112
|
+
var ee = Object.assign, se = 0, ue, ve, Pe, Te, ce, Ce, xe;
|
|
113
|
+
function Ie() {
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
function
|
|
115
|
+
Ie.__reactDisabledLog = !0;
|
|
116
|
+
function Se() {
|
|
117
117
|
{
|
|
118
118
|
if (se === 0) {
|
|
119
|
-
ue = console.log,
|
|
119
|
+
ue = console.log, ve = console.info, Pe = console.warn, Te = console.error, ce = console.group, Ce = console.groupCollapsed, xe = console.groupEnd;
|
|
120
120
|
var a = {
|
|
121
121
|
configurable: !0,
|
|
122
122
|
enumerable: !0,
|
|
123
|
-
value:
|
|
123
|
+
value: Ie,
|
|
124
124
|
writable: !0
|
|
125
125
|
};
|
|
126
126
|
Object.defineProperties(console, {
|
|
@@ -136,7 +136,7 @@ function Xt() {
|
|
|
136
136
|
se++;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function o() {
|
|
140
140
|
{
|
|
141
141
|
if (se--, se === 0) {
|
|
142
142
|
var a = {
|
|
@@ -145,67 +145,67 @@ function Xt() {
|
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
148
|
-
log:
|
|
148
|
+
log: ee({}, a, {
|
|
149
149
|
value: ue
|
|
150
150
|
}),
|
|
151
|
-
info:
|
|
152
|
-
value:
|
|
153
|
-
}),
|
|
154
|
-
warn: te({}, a, {
|
|
155
|
-
value: de
|
|
151
|
+
info: ee({}, a, {
|
|
152
|
+
value: ve
|
|
156
153
|
}),
|
|
157
|
-
|
|
154
|
+
warn: ee({}, a, {
|
|
158
155
|
value: Pe
|
|
159
156
|
}),
|
|
160
|
-
|
|
161
|
-
value: ye
|
|
162
|
-
}),
|
|
163
|
-
groupCollapsed: te({}, a, {
|
|
157
|
+
error: ee({}, a, {
|
|
164
158
|
value: Te
|
|
165
159
|
}),
|
|
166
|
-
|
|
167
|
-
value:
|
|
160
|
+
group: ee({}, a, {
|
|
161
|
+
value: ce
|
|
162
|
+
}),
|
|
163
|
+
groupCollapsed: ee({}, a, {
|
|
164
|
+
value: Ce
|
|
165
|
+
}),
|
|
166
|
+
groupEnd: ee({}, a, {
|
|
167
|
+
value: xe
|
|
168
168
|
})
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
se < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
var
|
|
175
|
-
function
|
|
174
|
+
var b = A.ReactCurrentDispatcher, J;
|
|
175
|
+
function te(a, s, u) {
|
|
176
176
|
{
|
|
177
|
-
if (
|
|
177
|
+
if (J === void 0)
|
|
178
178
|
try {
|
|
179
179
|
throw Error();
|
|
180
|
-
} catch (
|
|
181
|
-
var
|
|
182
|
-
|
|
180
|
+
} catch (B) {
|
|
181
|
+
var v = B.stack.trim().match(/\n( *(at )?)/);
|
|
182
|
+
J = v && v[1] || "";
|
|
183
183
|
}
|
|
184
184
|
return `
|
|
185
|
-
` +
|
|
185
|
+
` + J + a;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var me = !1, ge;
|
|
189
189
|
{
|
|
190
190
|
var xt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
191
|
-
|
|
191
|
+
ge = new xt();
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
if (!a ||
|
|
193
|
+
function Ge(a, s) {
|
|
194
|
+
if (!a || me)
|
|
195
195
|
return "";
|
|
196
196
|
{
|
|
197
|
-
var
|
|
198
|
-
if (
|
|
199
|
-
return
|
|
197
|
+
var u = ge.get(a);
|
|
198
|
+
if (u !== void 0)
|
|
199
|
+
return u;
|
|
200
200
|
}
|
|
201
|
-
var
|
|
202
|
-
|
|
203
|
-
var
|
|
201
|
+
var v;
|
|
202
|
+
me = !0;
|
|
203
|
+
var B = Error.prepareStackTrace;
|
|
204
204
|
Error.prepareStackTrace = void 0;
|
|
205
|
-
var
|
|
206
|
-
|
|
205
|
+
var $;
|
|
206
|
+
$ = b.current, b.current = null, Se();
|
|
207
207
|
try {
|
|
208
|
-
if (
|
|
208
|
+
if (s) {
|
|
209
209
|
var I = function() {
|
|
210
210
|
throw Error();
|
|
211
211
|
};
|
|
@@ -217,14 +217,14 @@ function Xt() {
|
|
|
217
217
|
try {
|
|
218
218
|
Reflect.construct(I, []);
|
|
219
219
|
} catch (Z) {
|
|
220
|
-
|
|
220
|
+
v = Z;
|
|
221
221
|
}
|
|
222
222
|
Reflect.construct(a, [], I);
|
|
223
223
|
} else {
|
|
224
224
|
try {
|
|
225
225
|
I.call();
|
|
226
226
|
} catch (Z) {
|
|
227
|
-
|
|
227
|
+
v = Z;
|
|
228
228
|
}
|
|
229
229
|
a.call(I.prototype);
|
|
230
230
|
}
|
|
@@ -232,95 +232,95 @@ function Xt() {
|
|
|
232
232
|
try {
|
|
233
233
|
throw Error();
|
|
234
234
|
} catch (Z) {
|
|
235
|
-
|
|
235
|
+
v = Z;
|
|
236
236
|
}
|
|
237
237
|
a();
|
|
238
238
|
}
|
|
239
239
|
} catch (Z) {
|
|
240
|
-
if (Z &&
|
|
241
|
-
for (var
|
|
242
|
-
`), Q =
|
|
243
|
-
`),
|
|
240
|
+
if (Z && v && typeof Z.stack == "string") {
|
|
241
|
+
for (var C = Z.stack.split(`
|
|
242
|
+
`), Q = v.stack.split(`
|
|
243
|
+
`), G = C.length - 1, Y = Q.length - 1; G >= 1 && Y >= 0 && C[G] !== Q[Y]; )
|
|
244
244
|
Y--;
|
|
245
|
-
for (;
|
|
246
|
-
if (
|
|
247
|
-
if (
|
|
245
|
+
for (; G >= 1 && Y >= 0; G--, Y--)
|
|
246
|
+
if (C[G] !== Q[Y]) {
|
|
247
|
+
if (G !== 1 || Y !== 1)
|
|
248
248
|
do
|
|
249
|
-
if (
|
|
250
|
-
var
|
|
251
|
-
` +
|
|
252
|
-
return a.displayName &&
|
|
249
|
+
if (G--, Y--, Y < 0 || C[G] !== Q[Y]) {
|
|
250
|
+
var re = `
|
|
251
|
+
` + C[G].replace(" at new ", " at ");
|
|
252
|
+
return a.displayName && re.includes("<anonymous>") && (re = re.replace("<anonymous>", a.displayName)), typeof a == "function" && ge.set(a, re), re;
|
|
253
253
|
}
|
|
254
|
-
while (
|
|
254
|
+
while (G >= 1 && Y >= 0);
|
|
255
255
|
break;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
} finally {
|
|
259
|
-
|
|
259
|
+
me = !1, b.current = $, o(), Error.prepareStackTrace = B;
|
|
260
260
|
}
|
|
261
|
-
var
|
|
262
|
-
return typeof a == "function" &&
|
|
261
|
+
var _e = a ? a.displayName || a.name : "", he = _e ? te(_e) : "";
|
|
262
|
+
return typeof a == "function" && ge.set(a, he), he;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
return
|
|
264
|
+
function kt(a, s, u) {
|
|
265
|
+
return Ge(a, !1);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
var
|
|
269
|
-
return !!(
|
|
267
|
+
function jt(a) {
|
|
268
|
+
var s = a.prototype;
|
|
269
|
+
return !!(s && s.isReactComponent);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Re(a, s, u) {
|
|
272
272
|
if (a == null)
|
|
273
273
|
return "";
|
|
274
274
|
if (typeof a == "function")
|
|
275
|
-
return
|
|
275
|
+
return Ge(a, jt(a));
|
|
276
276
|
if (typeof a == "string")
|
|
277
|
-
return
|
|
277
|
+
return te(a);
|
|
278
278
|
switch (a) {
|
|
279
279
|
case w:
|
|
280
|
-
return
|
|
281
|
-
case
|
|
282
|
-
return
|
|
280
|
+
return te("Suspense");
|
|
281
|
+
case k:
|
|
282
|
+
return te("SuspenseList");
|
|
283
283
|
}
|
|
284
284
|
if (typeof a == "object")
|
|
285
285
|
switch (a.$$typeof) {
|
|
286
286
|
case p:
|
|
287
|
-
return
|
|
287
|
+
return kt(a.render);
|
|
288
288
|
case g:
|
|
289
|
-
return
|
|
289
|
+
return Re(a.type, s, u);
|
|
290
290
|
case j: {
|
|
291
|
-
var
|
|
291
|
+
var v = a, B = v._payload, $ = v._init;
|
|
292
292
|
try {
|
|
293
|
-
return
|
|
293
|
+
return Re($(B), s, u);
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
var
|
|
301
|
-
function
|
|
300
|
+
var ke = Object.prototype.hasOwnProperty, Ve = {}, Ye = A.ReactDebugCurrentFrame;
|
|
301
|
+
function Be(a) {
|
|
302
302
|
if (a) {
|
|
303
|
-
var
|
|
304
|
-
Ye.setExtraStackFrame(
|
|
303
|
+
var s = a._owner, u = Re(a.type, a._source, s ? s.type : null);
|
|
304
|
+
Ye.setExtraStackFrame(u);
|
|
305
305
|
} else
|
|
306
306
|
Ye.setExtraStackFrame(null);
|
|
307
307
|
}
|
|
308
|
-
function Nt(a,
|
|
308
|
+
function Nt(a, s, u, v, B) {
|
|
309
309
|
{
|
|
310
|
-
var
|
|
310
|
+
var $ = Function.call.bind(ke);
|
|
311
311
|
for (var I in a)
|
|
312
|
-
if (
|
|
313
|
-
var
|
|
312
|
+
if ($(a, I)) {
|
|
313
|
+
var C = void 0;
|
|
314
314
|
try {
|
|
315
315
|
if (typeof a[I] != "function") {
|
|
316
|
-
var Q = Error((
|
|
316
|
+
var Q = Error((v || "React class") + ": " + u + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
317
317
|
throw Q.name = "Invariant Violation", Q;
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
} catch (
|
|
321
|
-
|
|
319
|
+
C = a[I](s, I, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
320
|
+
} catch (G) {
|
|
321
|
+
C = G;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
C && !(C instanceof Error) && (Be(B), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, I, typeof C), Be(null)), C instanceof Error && !(C.message in Ve) && (Ve[C.message] = !0, Be(B), R("Failed %s type: %s", u, C.message), Be(null));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -330,8 +330,8 @@ function Xt() {
|
|
|
330
330
|
}
|
|
331
331
|
function Pt(a) {
|
|
332
332
|
{
|
|
333
|
-
var
|
|
334
|
-
return
|
|
333
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
334
|
+
return u;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
function Tt(a) {
|
|
@@ -348,117 +348,117 @@ function Xt() {
|
|
|
348
348
|
if (Tt(a))
|
|
349
349
|
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pt(a)), Je(a);
|
|
350
350
|
}
|
|
351
|
-
var Xe =
|
|
351
|
+
var Xe = A.ReactCurrentOwner, Ct = {
|
|
352
352
|
key: !0,
|
|
353
353
|
ref: !0,
|
|
354
354
|
__self: !0,
|
|
355
355
|
__source: !0
|
|
356
356
|
}, Ze, et;
|
|
357
357
|
function It(a) {
|
|
358
|
-
if (
|
|
359
|
-
var
|
|
360
|
-
if (
|
|
358
|
+
if (ke.call(a, "ref")) {
|
|
359
|
+
var s = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
360
|
+
if (s && s.isReactWarning)
|
|
361
361
|
return !1;
|
|
362
362
|
}
|
|
363
363
|
return a.ref !== void 0;
|
|
364
364
|
}
|
|
365
365
|
function St(a) {
|
|
366
|
-
if (
|
|
367
|
-
var
|
|
368
|
-
if (
|
|
366
|
+
if (ke.call(a, "key")) {
|
|
367
|
+
var s = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
368
|
+
if (s && s.isReactWarning)
|
|
369
369
|
return !1;
|
|
370
370
|
}
|
|
371
371
|
return a.key !== void 0;
|
|
372
372
|
}
|
|
373
|
-
function Rt(a,
|
|
373
|
+
function Rt(a, s) {
|
|
374
374
|
typeof a.ref == "string" && Xe.current;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function Bt(a, s) {
|
|
377
377
|
{
|
|
378
|
-
var
|
|
379
|
-
Ze || (Ze = !0, R("%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)",
|
|
378
|
+
var u = function() {
|
|
379
|
+
Ze || (Ze = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
380
380
|
};
|
|
381
|
-
|
|
382
|
-
get:
|
|
381
|
+
u.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
382
|
+
get: u,
|
|
383
383
|
configurable: !0
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Et(a, s) {
|
|
388
388
|
{
|
|
389
|
-
var
|
|
390
|
-
et || (et = !0, R("%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)",
|
|
389
|
+
var u = function() {
|
|
390
|
+
et || (et = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
391
391
|
};
|
|
392
|
-
|
|
393
|
-
get:
|
|
392
|
+
u.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
393
|
+
get: u,
|
|
394
394
|
configurable: !0
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
var At = function(a,
|
|
399
|
-
var
|
|
398
|
+
var At = function(a, s, u, v, B, $, I) {
|
|
399
|
+
var C = {
|
|
400
400
|
// This tag allows us to uniquely identify this as a React Element
|
|
401
|
-
$$typeof:
|
|
401
|
+
$$typeof: n,
|
|
402
402
|
// Built-in properties that belong on the element
|
|
403
403
|
type: a,
|
|
404
|
-
key:
|
|
405
|
-
ref:
|
|
404
|
+
key: s,
|
|
405
|
+
ref: u,
|
|
406
406
|
props: I,
|
|
407
407
|
// Record the component responsible for creating this element.
|
|
408
|
-
_owner:
|
|
408
|
+
_owner: $
|
|
409
409
|
};
|
|
410
|
-
return
|
|
410
|
+
return C._store = {}, Object.defineProperty(C._store, "validated", {
|
|
411
411
|
configurable: !1,
|
|
412
412
|
enumerable: !1,
|
|
413
413
|
writable: !0,
|
|
414
414
|
value: !1
|
|
415
|
-
}), Object.defineProperty(
|
|
415
|
+
}), Object.defineProperty(C, "_self", {
|
|
416
416
|
configurable: !1,
|
|
417
417
|
enumerable: !1,
|
|
418
418
|
writable: !1,
|
|
419
|
-
value:
|
|
420
|
-
}), Object.defineProperty(
|
|
419
|
+
value: v
|
|
420
|
+
}), Object.defineProperty(C, "_source", {
|
|
421
421
|
configurable: !1,
|
|
422
422
|
enumerable: !1,
|
|
423
423
|
writable: !1,
|
|
424
|
-
value:
|
|
425
|
-
}), Object.freeze && (Object.freeze(
|
|
424
|
+
value: B
|
|
425
|
+
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
426
426
|
};
|
|
427
|
-
function Dt(a,
|
|
427
|
+
function Dt(a, s, u, v, B) {
|
|
428
428
|
{
|
|
429
|
-
var
|
|
430
|
-
|
|
431
|
-
for (
|
|
432
|
-
|
|
429
|
+
var $, I = {}, C = null, Q = null;
|
|
430
|
+
u !== void 0 && (Qe(u), C = "" + u), St(s) && (Qe(s.key), C = "" + s.key), It(s) && (Q = s.ref, Rt(s, B));
|
|
431
|
+
for ($ in s)
|
|
432
|
+
ke.call(s, $) && !Ct.hasOwnProperty($) && (I[$] = s[$]);
|
|
433
433
|
if (a && a.defaultProps) {
|
|
434
|
-
var
|
|
435
|
-
for (
|
|
436
|
-
I[
|
|
434
|
+
var G = a.defaultProps;
|
|
435
|
+
for ($ in G)
|
|
436
|
+
I[$] === void 0 && (I[$] = G[$]);
|
|
437
437
|
}
|
|
438
|
-
if (
|
|
438
|
+
if (C || Q) {
|
|
439
439
|
var Y = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
440
|
-
|
|
440
|
+
C && Bt(I, Y), Q && Et(I, Y);
|
|
441
441
|
}
|
|
442
|
-
return At(a,
|
|
442
|
+
return At(a, C, Q, B, v, Xe.current, I);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var Fe =
|
|
446
|
-
function
|
|
445
|
+
var Fe = A.ReactCurrentOwner, tt = A.ReactDebugCurrentFrame;
|
|
446
|
+
function fe(a) {
|
|
447
447
|
if (a) {
|
|
448
|
-
var
|
|
449
|
-
tt.setExtraStackFrame(
|
|
448
|
+
var s = a._owner, u = Re(a.type, a._source, s ? s.type : null);
|
|
449
|
+
tt.setExtraStackFrame(u);
|
|
450
450
|
} else
|
|
451
451
|
tt.setExtraStackFrame(null);
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
function
|
|
456
|
-
return typeof a == "object" && a !== null && a.$$typeof ===
|
|
453
|
+
var ze;
|
|
454
|
+
ze = !1;
|
|
455
|
+
function We(a) {
|
|
456
|
+
return typeof a == "object" && a !== null && a.$$typeof === n;
|
|
457
457
|
}
|
|
458
458
|
function at() {
|
|
459
459
|
{
|
|
460
460
|
if (Fe.current) {
|
|
461
|
-
var a =
|
|
461
|
+
var a = D(Fe.current.type);
|
|
462
462
|
if (a)
|
|
463
463
|
return `
|
|
464
464
|
|
|
@@ -473,139 +473,139 @@ Check the render method of \`` + a + "`.";
|
|
|
473
473
|
var rt = {};
|
|
474
474
|
function Ot(a) {
|
|
475
475
|
{
|
|
476
|
-
var
|
|
477
|
-
if (!
|
|
478
|
-
var
|
|
479
|
-
|
|
476
|
+
var s = at();
|
|
477
|
+
if (!s) {
|
|
478
|
+
var u = typeof a == "string" ? a : a.displayName || a.name;
|
|
479
|
+
u && (s = `
|
|
480
480
|
|
|
481
|
-
Check the top-level render call using <` +
|
|
481
|
+
Check the top-level render call using <` + u + ">.");
|
|
482
482
|
}
|
|
483
|
-
return
|
|
483
|
+
return s;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function nt(a, s) {
|
|
487
487
|
{
|
|
488
488
|
if (!a._store || a._store.validated || a.key != null)
|
|
489
489
|
return;
|
|
490
490
|
a._store.validated = !0;
|
|
491
|
-
var
|
|
492
|
-
if (rt[
|
|
491
|
+
var u = Ot(s);
|
|
492
|
+
if (rt[u])
|
|
493
493
|
return;
|
|
494
|
-
rt[
|
|
495
|
-
var
|
|
496
|
-
a && a._owner && a._owner !== Fe.current && (
|
|
494
|
+
rt[u] = !0;
|
|
495
|
+
var v = "";
|
|
496
|
+
a && a._owner && a._owner !== Fe.current && (v = " It was passed a child from " + D(a._owner.type) + "."), fe(a), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), fe(null);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
function it(a,
|
|
499
|
+
function it(a, s) {
|
|
500
500
|
{
|
|
501
501
|
if (typeof a != "object")
|
|
502
502
|
return;
|
|
503
503
|
if ($e(a))
|
|
504
|
-
for (var
|
|
505
|
-
var
|
|
506
|
-
|
|
504
|
+
for (var u = 0; u < a.length; u++) {
|
|
505
|
+
var v = a[u];
|
|
506
|
+
We(v) && nt(v, s);
|
|
507
507
|
}
|
|
508
|
-
else if (
|
|
508
|
+
else if (We(a))
|
|
509
509
|
a._store && (a._store.validated = !0);
|
|
510
510
|
else if (a) {
|
|
511
|
-
var
|
|
512
|
-
if (typeof
|
|
513
|
-
for (var
|
|
514
|
-
|
|
511
|
+
var B = H(a);
|
|
512
|
+
if (typeof B == "function" && B !== a.entries)
|
|
513
|
+
for (var $ = B.call(a), I; !(I = $.next()).done; )
|
|
514
|
+
We(I.value) && nt(I.value, s);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
function Mt(a) {
|
|
519
519
|
{
|
|
520
|
-
var
|
|
521
|
-
if (
|
|
520
|
+
var s = a.type;
|
|
521
|
+
if (s == null || typeof s == "string")
|
|
522
522
|
return;
|
|
523
|
-
var
|
|
524
|
-
if (typeof
|
|
525
|
-
|
|
526
|
-
else if (typeof
|
|
523
|
+
var u;
|
|
524
|
+
if (typeof s == "function")
|
|
525
|
+
u = s.propTypes;
|
|
526
|
+
else if (typeof s == "object" && (s.$$typeof === p || // Note: Memo only checks outer props here.
|
|
527
527
|
// Inner props are checked in the reconciler.
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
s.$$typeof === g))
|
|
529
|
+
u = s.propTypes;
|
|
530
530
|
else
|
|
531
531
|
return;
|
|
532
|
-
if (
|
|
533
|
-
var
|
|
534
|
-
Nt(
|
|
535
|
-
} else if (
|
|
536
|
-
|
|
537
|
-
var
|
|
538
|
-
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
532
|
+
if (u) {
|
|
533
|
+
var v = D(s);
|
|
534
|
+
Nt(u, a.props, "prop", v, a);
|
|
535
|
+
} else if (s.PropTypes !== void 0 && !ze) {
|
|
536
|
+
ze = !0;
|
|
537
|
+
var B = D(s);
|
|
538
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
|
|
539
539
|
}
|
|
540
|
-
typeof
|
|
540
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
function $t(a) {
|
|
544
544
|
{
|
|
545
|
-
for (var
|
|
546
|
-
var
|
|
547
|
-
if (
|
|
548
|
-
|
|
545
|
+
for (var s = Object.keys(a.props), u = 0; u < s.length; u++) {
|
|
546
|
+
var v = s[u];
|
|
547
|
+
if (v !== "children" && v !== "key") {
|
|
548
|
+
fe(a), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), fe(null);
|
|
549
549
|
break;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
a.ref !== null && (
|
|
552
|
+
a.ref !== null && (fe(a), R("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
function ot(a,
|
|
555
|
+
var st = {};
|
|
556
|
+
function ot(a, s, u, v, B, $) {
|
|
557
557
|
{
|
|
558
|
-
var I =
|
|
558
|
+
var I = ie(a);
|
|
559
559
|
if (!I) {
|
|
560
|
-
var
|
|
561
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (
|
|
560
|
+
var C = "";
|
|
561
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
562
562
|
var Q = Lt();
|
|
563
|
-
Q ?
|
|
564
|
-
var
|
|
565
|
-
a === null ?
|
|
563
|
+
Q ? C += Q : C += at();
|
|
564
|
+
var G;
|
|
565
|
+
a === null ? G = "null" : $e(a) ? G = "array" : a !== void 0 && a.$$typeof === n ? (G = "<" + (D(a.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : G = typeof a, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, C);
|
|
566
566
|
}
|
|
567
|
-
var Y = Dt(a,
|
|
567
|
+
var Y = Dt(a, s, u, B, $);
|
|
568
568
|
if (Y == null)
|
|
569
569
|
return Y;
|
|
570
570
|
if (I) {
|
|
571
|
-
var
|
|
572
|
-
if (
|
|
573
|
-
if (
|
|
574
|
-
if ($e(
|
|
575
|
-
for (var
|
|
576
|
-
it(
|
|
577
|
-
Object.freeze && Object.freeze(
|
|
571
|
+
var re = s.children;
|
|
572
|
+
if (re !== void 0)
|
|
573
|
+
if (v)
|
|
574
|
+
if ($e(re)) {
|
|
575
|
+
for (var _e = 0; _e < re.length; _e++)
|
|
576
|
+
it(re[_e], a);
|
|
577
|
+
Object.freeze && Object.freeze(re);
|
|
578
578
|
} else
|
|
579
579
|
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
580
580
|
else
|
|
581
|
-
it(
|
|
581
|
+
it(re, a);
|
|
582
582
|
}
|
|
583
|
-
if (
|
|
584
|
-
var he =
|
|
585
|
-
return
|
|
586
|
-
}),
|
|
587
|
-
if (!
|
|
588
|
-
var
|
|
583
|
+
if (ke.call(s, "key")) {
|
|
584
|
+
var he = D(a), Z = Object.keys(s).filter(function(Kt) {
|
|
585
|
+
return Kt !== "key";
|
|
586
|
+
}), Ue = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
587
|
+
if (!st[he + Ue]) {
|
|
588
|
+
var qt = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
589
589
|
R(`A props object containing a "key" prop is being spread into JSX:
|
|
590
590
|
let props = %s;
|
|
591
591
|
<%s {...props} />
|
|
592
592
|
React keys must be passed directly to JSX without using spread:
|
|
593
593
|
let props = %s;
|
|
594
|
-
<%s key={someKey} {...props} />`,
|
|
594
|
+
<%s key={someKey} {...props} />`, Ue, he, qt, he), st[he + Ue] = !0;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
return a === r ? $t(Y) : Mt(Y), Y;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function Ft(a,
|
|
601
|
-
return ot(a,
|
|
600
|
+
function Ft(a, s, u) {
|
|
601
|
+
return ot(a, s, u, !0);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return ot(a,
|
|
603
|
+
function zt(a, s, u) {
|
|
604
|
+
return ot(a, s, u, !1);
|
|
605
605
|
}
|
|
606
|
-
var
|
|
607
|
-
|
|
608
|
-
})()),
|
|
606
|
+
var Wt = zt, Ut = Ft;
|
|
607
|
+
Ne.Fragment = r, Ne.jsx = Wt, Ne.jsxs = Ut;
|
|
608
|
+
})()), Ne;
|
|
609
609
|
}
|
|
610
610
|
var ut;
|
|
611
611
|
function Zt() {
|
|
@@ -614,36 +614,36 @@ function Zt() {
|
|
|
614
614
|
var e = Zt();
|
|
615
615
|
const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
616
616
|
t,
|
|
617
|
-
languageSelector:
|
|
618
|
-
logoUrl:
|
|
617
|
+
languageSelector: n,
|
|
618
|
+
logoUrl: d = ea,
|
|
619
619
|
className: r = "",
|
|
620
|
-
isGlobal:
|
|
620
|
+
isGlobal: l = !0,
|
|
621
621
|
imageComponent: h
|
|
622
622
|
}) => {
|
|
623
|
-
const
|
|
623
|
+
const c = n != null && !l;
|
|
624
624
|
return /* @__PURE__ */ e.jsx(
|
|
625
625
|
Ht,
|
|
626
626
|
{
|
|
627
627
|
t,
|
|
628
|
-
logoUrl:
|
|
628
|
+
logoUrl: d,
|
|
629
629
|
imageComponent: h,
|
|
630
|
-
languageSelector:
|
|
631
|
-
showLanguageSelector:
|
|
630
|
+
languageSelector: n,
|
|
631
|
+
showLanguageSelector: c,
|
|
632
632
|
className: r
|
|
633
633
|
}
|
|
634
634
|
);
|
|
635
|
-
}, aa = "_hero_m5psy_1", ra = "_title_m5psy_6",
|
|
635
|
+
}, aa = "_hero_m5psy_1", ra = "_title_m5psy_6", na = "_subtitle_m5psy_20", ia = "_badges_m5psy_32", sa = "_badge_m5psy_32", oa = "_separator_m5psy_50", ca = "_badgeIcon_m5psy_61", la = "_heroImageWrapper_m5psy_65", da = "_circularBg_m5psy_75", ua = "_heroImage_m5psy_65", X = {
|
|
636
636
|
hero: aa,
|
|
637
637
|
title: ra,
|
|
638
|
-
subtitle:
|
|
638
|
+
subtitle: na,
|
|
639
639
|
badges: ia,
|
|
640
|
-
badge:
|
|
640
|
+
badge: sa,
|
|
641
641
|
separator: oa,
|
|
642
642
|
badgeIcon: ca,
|
|
643
643
|
heroImageWrapper: la,
|
|
644
644
|
circularBg: da,
|
|
645
645
|
heroImage: ua
|
|
646
|
-
}, ma = "https://srm-cdn.a4b.io/yoda/1774510977826.svg", ha = "https://srm-cdn.a4b.io/yoda/1774510988512.svg", pa = "https://srm-cdn.a4b.io/yoda/1774510999104.svg", ga = "https://srm-cdn.a4b.io/yoda/1774511140028.png", fa = "https://srm-cdn.a4b.io/yoda/1774511296258.webp", _a = ({ t, className:
|
|
646
|
+
}, ma = "https://srm-cdn.a4b.io/yoda/1774510977826.svg", ha = "https://srm-cdn.a4b.io/yoda/1774510988512.svg", pa = "https://srm-cdn.a4b.io/yoda/1774510999104.svg", ga = "https://srm-cdn.a4b.io/yoda/1774511140028.png", fa = "https://srm-cdn.a4b.io/yoda/1774511296258.webp", _a = ({ t, className: n = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${X.hero} ${n}`, "aria-labelledby": "hero-title", children: [
|
|
647
647
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: X.title, dangerouslySetInnerHTML: { __html: t("heroTitle") } }),
|
|
648
648
|
/* @__PURE__ */ e.jsx("p", { className: X.subtitle, dangerouslySetInnerHTML: { __html: t("heroSubtitle") } }),
|
|
649
649
|
/* @__PURE__ */ e.jsxs("div", { className: X.badges, children: [
|
|
@@ -666,26 +666,26 @@ const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
|
666
666
|
/* @__PURE__ */ e.jsx("img", { src: ga, alt: "", className: X.circularBg, "aria-hidden": "true" }),
|
|
667
667
|
/* @__PURE__ */ e.jsx("img", { src: fa, alt: t("heroImageAlt"), className: X.heroImage })
|
|
668
668
|
] })
|
|
669
|
-
] }), ba = "_features_7holm_1", ya = "_heading_7holm_6", va = "_cardsWrapper_7holm_18", xa = "_card_7holm_18",
|
|
669
|
+
] }), ba = "_features_7holm_1", ya = "_heading_7holm_6", va = "_cardsWrapper_7holm_18", xa = "_card_7holm_18", ka = "_cardTitle_7holm_45", ja = "_cardDescription_7holm_58", le = {
|
|
670
670
|
features: ba,
|
|
671
671
|
heading: ya,
|
|
672
672
|
cardsWrapper: va,
|
|
673
673
|
card: xa,
|
|
674
|
-
cardTitle:
|
|
675
|
-
cardDescription:
|
|
676
|
-
}, Na = ({ t, className:
|
|
677
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
678
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
679
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
680
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
681
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
674
|
+
cardTitle: ka,
|
|
675
|
+
cardDescription: ja
|
|
676
|
+
}, Na = ({ t, className: n = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${le.features} ${n}`, children: [
|
|
677
|
+
/* @__PURE__ */ e.jsx("h2", { className: le.heading, children: t("featuresHeading") }),
|
|
678
|
+
/* @__PURE__ */ e.jsxs("div", { className: le.cardsWrapper, children: [
|
|
679
|
+
/* @__PURE__ */ e.jsxs("div", { className: le.card, children: [
|
|
680
|
+
/* @__PURE__ */ e.jsx("h3", { className: le.cardTitle, children: t("feature1Title") }),
|
|
681
|
+
/* @__PURE__ */ e.jsx("p", { className: le.cardDescription, children: t("feature1Description") })
|
|
682
682
|
] }),
|
|
683
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
684
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
685
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
683
|
+
/* @__PURE__ */ e.jsxs("div", { className: le.card, children: [
|
|
684
|
+
/* @__PURE__ */ e.jsx("h3", { className: le.cardTitle, children: t("feature2Title") }),
|
|
685
|
+
/* @__PURE__ */ e.jsx("p", { className: le.cardDescription, children: t("feature2Description") })
|
|
686
686
|
] })
|
|
687
687
|
] })
|
|
688
|
-
] }), wa = "_section_e1rdc_1", Pa = "_heading_e1rdc_6", Ta = "_subtitle_e1rdc_11", Ca = "_stepsWrapper_e1rdc_15", Ia = "_stepRow_e1rdc_19", Sa = "_iconColumn_e1rdc_26", Ra = "_stepIcon_e1rdc_31",
|
|
688
|
+
] }), wa = "_section_e1rdc_1", Pa = "_heading_e1rdc_6", Ta = "_subtitle_e1rdc_11", Ca = "_stepsWrapper_e1rdc_15", Ia = "_stepRow_e1rdc_19", Sa = "_iconColumn_e1rdc_26", Ra = "_stepIcon_e1rdc_31", Ba = "_connector_e1rdc_36", Ea = "_contentColumn_e1rdc_43", Aa = "_stepTitle_e1rdc_47", Da = "_stepDescription_e1rdc_53", ne = {
|
|
689
689
|
section: wa,
|
|
690
690
|
heading: Pa,
|
|
691
691
|
subtitle: Ta,
|
|
@@ -693,8 +693,8 @@ const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
|
693
693
|
stepRow: Ia,
|
|
694
694
|
iconColumn: Sa,
|
|
695
695
|
stepIcon: Ra,
|
|
696
|
-
connector:
|
|
697
|
-
contentColumn:
|
|
696
|
+
connector: Ba,
|
|
697
|
+
contentColumn: Ea,
|
|
698
698
|
stepTitle: Aa,
|
|
699
699
|
stepDescription: Da
|
|
700
700
|
}, La = {
|
|
@@ -703,9 +703,9 @@ const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
|
703
703
|
step3: "https://srm-cdn.a4b.io/yoda/1774547202216.svg"
|
|
704
704
|
}, Oa = ({
|
|
705
705
|
t,
|
|
706
|
-
className:
|
|
706
|
+
className: n = ""
|
|
707
707
|
}) => {
|
|
708
|
-
const
|
|
708
|
+
const d = [
|
|
709
709
|
{ iconKey: "step1", titleKey: "step1", descKey: "step1Description" },
|
|
710
710
|
{ iconKey: "step2", titleKey: "step2", descKey: "step2Description" },
|
|
711
711
|
{ iconKey: "step3", titleKey: "step3", descKey: "step3Description" }
|
|
@@ -713,45 +713,45 @@ const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
|
713
713
|
return /* @__PURE__ */ e.jsxs(
|
|
714
714
|
"section",
|
|
715
715
|
{
|
|
716
|
-
className: `${
|
|
716
|
+
className: `${ne.section} ${n}`,
|
|
717
717
|
"aria-labelledby": "how-it-works-heading",
|
|
718
718
|
children: [
|
|
719
|
-
/* @__PURE__ */ e.jsx("h2", { id: "how-it-works-heading", className:
|
|
720
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
721
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
722
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
719
|
+
/* @__PURE__ */ e.jsx("h2", { id: "how-it-works-heading", className: ne.heading, children: t("howItWorksHeading") }),
|
|
720
|
+
/* @__PURE__ */ e.jsx("p", { className: ne.subtitle, children: t("howItWorksSubtitle") }),
|
|
721
|
+
/* @__PURE__ */ e.jsx("div", { className: ne.stepsWrapper, children: d.map((r, l) => /* @__PURE__ */ e.jsxs("div", { className: ne.stepRow, children: [
|
|
722
|
+
/* @__PURE__ */ e.jsxs("div", { className: ne.iconColumn, children: [
|
|
723
723
|
/* @__PURE__ */ e.jsx(
|
|
724
724
|
"img",
|
|
725
725
|
{
|
|
726
726
|
src: La[r.iconKey],
|
|
727
727
|
alt: "",
|
|
728
|
-
className:
|
|
728
|
+
className: ne.stepIcon,
|
|
729
729
|
width: 24,
|
|
730
730
|
height: 24
|
|
731
731
|
}
|
|
732
732
|
),
|
|
733
|
-
|
|
733
|
+
l < d.length - 1 && /* @__PURE__ */ e.jsx("div", { className: ne.connector, "aria-hidden": "true" })
|
|
734
734
|
] }),
|
|
735
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
736
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
737
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
735
|
+
/* @__PURE__ */ e.jsxs("div", { className: ne.contentColumn, children: [
|
|
736
|
+
/* @__PURE__ */ e.jsx("h3", { className: ne.stepTitle, children: t(r.titleKey) }),
|
|
737
|
+
/* @__PURE__ */ e.jsx("p", { className: ne.stepDescription, children: t(r.descKey) })
|
|
738
738
|
] })
|
|
739
739
|
] }, r.iconKey)) })
|
|
740
740
|
]
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
}, Ma = "_sneakPeek_sgzaz_1", $a = "_badge_sgzaz_6", Fa = "_starIcon_sgzaz_22",
|
|
743
|
+
}, Ma = "_sneakPeek_sgzaz_1", $a = "_badge_sgzaz_6", Fa = "_starIcon_sgzaz_22", za = "_heading_sgzaz_26", Wa = "_subheading_sgzaz_38", Ua = "_carouselWrapper_sgzaz_50", qa = "_carousel_sgzaz_50", Ka = "_card_sgzaz_71", Ha = "_cardHeader_sgzaz_86", Ga = "_cardNumber_sgzaz_92", Va = "_headerText_sgzaz_108", Ya = "_cardTitle_sgzaz_113", Ja = "_cardDescription_sgzaz_125", Qa = "_cardBody_sgzaz_132", Xa = "_reportHeader_sgzaz_142", Za = "_reportBrand_sgzaz_150", er = "_reportLabel_sgzaz_154", tr = "_coupleInfo_sgzaz_158", ar = "_personInfo_sgzaz_164", rr = "_name_sgzaz_173", nr = "_value_sgzaz_183", ir = "_separator_sgzaz_189", sr = "_chevronIcon_sgzaz_194", or = "_scoreSection_sgzaz_199", cr = "_scoreLabel_sgzaz_203", lr = "_scoreValue_sgzaz_208", dr = "_matchBadge_sgzaz_218", ur = "_reportTitle_sgzaz_228", mr = "_gridContainer_sgzaz_235", hr = "_gridItem_sgzaz_242", pr = "_moreText_sgzaz_253", gr = "_doshaLabel_sgzaz_262", fr = "_doshaTitle_sgzaz_269", _r = "_remedyHeading_sgzaz_276", br = "_remedyItem_sgzaz_283", yr = "_remedyIcon_sgzaz_290", vr = "_remedyDetail_sgzaz_294", xr = "_predictionGrid_sgzaz_301", kr = "_predictionItem_sgzaz_308", jr = "_predictionIcon_sgzaz_321", Nr = "_predictionLabel_sgzaz_328", wr = "_cardIndicator_sgzaz_342", Pr = "_buttonContainer_sgzaz_350", i = {
|
|
744
744
|
sneakPeek: Ma,
|
|
745
745
|
badge: $a,
|
|
746
746
|
starIcon: Fa,
|
|
747
|
-
heading:
|
|
748
|
-
subheading:
|
|
749
|
-
carouselWrapper:
|
|
750
|
-
carousel:
|
|
751
|
-
card:
|
|
747
|
+
heading: za,
|
|
748
|
+
subheading: Wa,
|
|
749
|
+
carouselWrapper: Ua,
|
|
750
|
+
carousel: qa,
|
|
751
|
+
card: Ka,
|
|
752
752
|
cardHeader: Ha,
|
|
753
|
-
cardNumber:
|
|
754
|
-
headerText:
|
|
753
|
+
cardNumber: Ga,
|
|
754
|
+
headerText: Va,
|
|
755
755
|
cardTitle: Ya,
|
|
756
756
|
cardDescription: Ja,
|
|
757
757
|
cardBody: Qa,
|
|
@@ -761,9 +761,9 @@ const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
|
761
761
|
coupleInfo: tr,
|
|
762
762
|
personInfo: ar,
|
|
763
763
|
name: rr,
|
|
764
|
-
value:
|
|
764
|
+
value: nr,
|
|
765
765
|
separator: ir,
|
|
766
|
-
chevronIcon:
|
|
766
|
+
chevronIcon: sr,
|
|
767
767
|
scoreSection: or,
|
|
768
768
|
scoreLabel: cr,
|
|
769
769
|
scoreValue: lr,
|
|
@@ -779,19 +779,19 @@ const ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ta = ({
|
|
|
779
779
|
remedyIcon: yr,
|
|
780
780
|
remedyDetail: vr,
|
|
781
781
|
predictionGrid: xr,
|
|
782
|
-
predictionItem:
|
|
783
|
-
predictionIcon:
|
|
782
|
+
predictionItem: kr,
|
|
783
|
+
predictionIcon: jr,
|
|
784
784
|
predictionLabel: Nr,
|
|
785
785
|
cardIndicator: wr,
|
|
786
786
|
buttonContainer: Pr
|
|
787
787
|
}, Tr = "_button_pj3n5_1", Cr = {
|
|
788
788
|
button: Tr
|
|
789
|
-
}, Ir = "_backdrop_pekod_1", Sr = "_modal_pekod_21", Rr = "_header_pekod_40",
|
|
789
|
+
}, Ir = "_backdrop_pekod_1", Sr = "_modal_pekod_21", Rr = "_header_pekod_40", Br = "_title_pekod_49", Er = "_closeBtn_pekod_56", Ar = "_content_pekod_76", Dr = "_pdfFrame_pekod_84", Lr = "_pdfPages_pekod_92", Or = "_pdfError_pekod_97", Mr = "_openInNewTab_pekod_123", oe = {
|
|
790
790
|
backdrop: Ir,
|
|
791
791
|
modal: Sr,
|
|
792
792
|
header: Rr,
|
|
793
|
-
title:
|
|
794
|
-
closeBtn:
|
|
793
|
+
title: Br,
|
|
794
|
+
closeBtn: Er,
|
|
795
795
|
content: Ar,
|
|
796
796
|
pdfFrame: Dr,
|
|
797
797
|
pdfPages: Lr,
|
|
@@ -803,50 +803,50 @@ function $r(t) {
|
|
|
803
803
|
}
|
|
804
804
|
const Fr = ({
|
|
805
805
|
isOpen: t,
|
|
806
|
-
onClose:
|
|
807
|
-
title:
|
|
806
|
+
onClose: n,
|
|
807
|
+
title: d,
|
|
808
808
|
pdfUrl: r
|
|
809
809
|
}) => {
|
|
810
|
-
const
|
|
811
|
-
return
|
|
810
|
+
const l = z(null), [h, c] = F(!0), [_, p] = F(null), [w, k] = F(null);
|
|
811
|
+
return V(() => {
|
|
812
812
|
if (!t) return;
|
|
813
813
|
const g = (j) => {
|
|
814
|
-
j.key === "Escape" &&
|
|
814
|
+
j.key === "Escape" && n();
|
|
815
815
|
};
|
|
816
816
|
return document.addEventListener("keydown", g), document.body.style.overflow = "hidden", () => {
|
|
817
817
|
document.removeEventListener("keydown", g), document.body.style.overflow = "";
|
|
818
818
|
};
|
|
819
|
-
}, [t,
|
|
819
|
+
}, [t, n]), V(() => {
|
|
820
820
|
t && import("./pdf-CH8PifTT.js").then((g) => g.p).then((g) => {
|
|
821
|
-
|
|
821
|
+
k(g);
|
|
822
822
|
}).catch((g) => {
|
|
823
|
-
p("Failed to load PDF viewer"),
|
|
823
|
+
p("Failed to load PDF viewer"), c(!1);
|
|
824
824
|
});
|
|
825
|
-
}, [t]),
|
|
826
|
-
if (!t || !r || !
|
|
827
|
-
|
|
825
|
+
}, [t]), V(() => {
|
|
826
|
+
if (!t || !r || !l.current || !w) return;
|
|
827
|
+
c(!0), p(null), l.current.innerHTML = "", (async () => {
|
|
828
828
|
try {
|
|
829
829
|
$r(w);
|
|
830
|
-
const
|
|
830
|
+
const E = await w.getDocument({ url: r }).promise, x = l.current;
|
|
831
831
|
if (!x) return;
|
|
832
832
|
const S = x.clientWidth || 600, H = Math.min(S / 612, 2);
|
|
833
|
-
for (let
|
|
834
|
-
const R = await
|
|
835
|
-
|
|
836
|
-
const
|
|
837
|
-
|
|
833
|
+
for (let A = 1; A <= E.numPages; A++) {
|
|
834
|
+
const R = await E.getPage(A), P = R.getViewport({ scale: H }), T = document.createElement("canvas");
|
|
835
|
+
T.height = P.height, T.width = P.width, T.style.display = "block", T.style.margin = "0 auto 1rem", T.style.maxWidth = "100%";
|
|
836
|
+
const W = T.getContext("2d");
|
|
837
|
+
W && await R.render({ canvasContext: W, viewport: P }).promise, x.appendChild(T);
|
|
838
838
|
}
|
|
839
839
|
} catch (j) {
|
|
840
840
|
p(j instanceof Error ? j.message : "Failed to load PDF");
|
|
841
841
|
} finally {
|
|
842
|
-
|
|
842
|
+
c(!1);
|
|
843
843
|
}
|
|
844
844
|
})();
|
|
845
845
|
}, [t, r, w]), t ? /* @__PURE__ */ e.jsx(
|
|
846
846
|
"div",
|
|
847
847
|
{
|
|
848
848
|
className: oe.backdrop,
|
|
849
|
-
onClick:
|
|
849
|
+
onClick: n,
|
|
850
850
|
role: "dialog",
|
|
851
851
|
"aria-modal": "true",
|
|
852
852
|
"aria-labelledby": "sample-report-modal-title",
|
|
@@ -857,13 +857,13 @@ const Fr = ({
|
|
|
857
857
|
onClick: (g) => g.stopPropagation(),
|
|
858
858
|
children: [
|
|
859
859
|
/* @__PURE__ */ e.jsxs("div", { className: oe.header, children: [
|
|
860
|
-
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: oe.title, children:
|
|
860
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: oe.title, children: d }),
|
|
861
861
|
/* @__PURE__ */ e.jsx(
|
|
862
862
|
"button",
|
|
863
863
|
{
|
|
864
864
|
type: "button",
|
|
865
865
|
className: oe.closeBtn,
|
|
866
|
-
onClick:
|
|
866
|
+
onClick: n,
|
|
867
867
|
"aria-label": "Close",
|
|
868
868
|
children: "×"
|
|
869
869
|
}
|
|
@@ -871,11 +871,11 @@ const Fr = ({
|
|
|
871
871
|
] }),
|
|
872
872
|
/* @__PURE__ */ e.jsxs("div", { className: oe.content, children: [
|
|
873
873
|
/* @__PURE__ */ e.jsxs("div", { className: oe.pdfFrame, children: [
|
|
874
|
-
|
|
875
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
874
|
+
_ && /* @__PURE__ */ e.jsxs("div", { className: oe.pdfError, children: [
|
|
875
|
+
/* @__PURE__ */ e.jsx("span", { children: _ }),
|
|
876
876
|
/* @__PURE__ */ e.jsx("a", { href: r, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
877
877
|
] }),
|
|
878
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
878
|
+
/* @__PURE__ */ e.jsx("div", { ref: l, className: oe.pdfPages })
|
|
879
879
|
] }),
|
|
880
880
|
/* @__PURE__ */ e.jsx(
|
|
881
881
|
"a",
|
|
@@ -893,58 +893,58 @@ const Fr = ({
|
|
|
893
893
|
)
|
|
894
894
|
}
|
|
895
895
|
) : null;
|
|
896
|
-
},
|
|
896
|
+
}, zr = "https://srm-cdn.a4b.io/yoda/1774523314348.pdf", Wr = ({
|
|
897
897
|
t,
|
|
898
|
-
pdfUrl:
|
|
899
|
-
analytics:
|
|
898
|
+
pdfUrl: n = zr,
|
|
899
|
+
analytics: d,
|
|
900
900
|
className: r = ""
|
|
901
901
|
}) => {
|
|
902
|
-
const [
|
|
903
|
-
|
|
902
|
+
const [l, h] = F(!1), c = t("viewSampleReport"), _ = t("sampleReportModalTitle"), p = () => {
|
|
903
|
+
d?.trackViewSampleReportClicked?.(), h(!0);
|
|
904
904
|
}, w = () => {
|
|
905
|
-
|
|
905
|
+
d?.trackViewSampleReportClosed?.(), h(!1);
|
|
906
906
|
};
|
|
907
907
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
908
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${Cr.button} ${r}`, onClick: p, children:
|
|
908
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${Cr.button} ${r}`, onClick: p, children: c }),
|
|
909
909
|
/* @__PURE__ */ e.jsx(
|
|
910
910
|
Fr,
|
|
911
911
|
{
|
|
912
|
-
isOpen:
|
|
912
|
+
isOpen: l,
|
|
913
913
|
onClose: w,
|
|
914
|
-
title:
|
|
915
|
-
pdfUrl:
|
|
914
|
+
title: _,
|
|
915
|
+
pdfUrl: n
|
|
916
916
|
}
|
|
917
917
|
)
|
|
918
918
|
] });
|
|
919
|
-
}, mt = "https://srm-cdn.a4b.io/yoda/1774515475813.svg",
|
|
920
|
-
function
|
|
919
|
+
}, mt = "https://srm-cdn.a4b.io/yoda/1774515475813.svg", Ur = "https://srm-cdn.a4b.io/yoda/1774518174890.svg", qr = "https://srm-cdn.a4b.io/yoda/1774517877564.svg", Kr = "https://srm-cdn.a4b.io/yoda/1774517897009.svg", Hr = "https://srm-cdn.a4b.io/yoda/1774517906228.svg", Gr = "https://srm-cdn.a4b.io/yoda/1774517914948.svg", Vr = "https://srm-cdn.a4b.io/yoda/1774517924467.svg";
|
|
920
|
+
function Ae({
|
|
921
921
|
cardNumber: t,
|
|
922
|
-
cardTitle:
|
|
923
|
-
analytics:
|
|
922
|
+
cardTitle: n,
|
|
923
|
+
analytics: d,
|
|
924
924
|
children: r
|
|
925
925
|
}) {
|
|
926
|
-
const
|
|
927
|
-
return
|
|
928
|
-
const
|
|
929
|
-
if (!
|
|
930
|
-
const
|
|
926
|
+
const l = z(null), h = z(!1);
|
|
927
|
+
return V(() => {
|
|
928
|
+
const c = l.current;
|
|
929
|
+
if (!c) return;
|
|
930
|
+
const _ = new IntersectionObserver(
|
|
931
931
|
([p]) => {
|
|
932
|
-
!p?.isIntersecting || h.current || (h.current = !0,
|
|
932
|
+
!p?.isIntersecting || h.current || (h.current = !0, d?.trackSneakPeekCardViewed?.({
|
|
933
933
|
cardNumber: t,
|
|
934
|
-
cardTitle:
|
|
934
|
+
cardTitle: n
|
|
935
935
|
}));
|
|
936
936
|
},
|
|
937
937
|
{ threshold: 0.5 }
|
|
938
938
|
// Card must be 50% visible
|
|
939
939
|
);
|
|
940
|
-
return
|
|
941
|
-
}, [t,
|
|
940
|
+
return _.observe(c), () => _.disconnect();
|
|
941
|
+
}, [t, n, d]), /* @__PURE__ */ e.jsx("div", { ref: l, children: r });
|
|
942
942
|
}
|
|
943
943
|
const Yr = ({
|
|
944
944
|
t,
|
|
945
|
-
analytics:
|
|
946
|
-
className:
|
|
947
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${i.sneakPeek} ${
|
|
945
|
+
analytics: n,
|
|
946
|
+
className: d = ""
|
|
947
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${i.sneakPeek} ${d}`, children: [
|
|
948
948
|
/* @__PURE__ */ e.jsxs("div", { className: i.badge, children: [
|
|
949
949
|
/* @__PURE__ */ e.jsx(
|
|
950
950
|
"img",
|
|
@@ -972,11 +972,11 @@ const Yr = ({
|
|
|
972
972
|
/* @__PURE__ */ e.jsx("p", { className: i.subheading, children: t("sneakPeekSubheading") }),
|
|
973
973
|
/* @__PURE__ */ e.jsx("div", { className: i.carouselWrapper, children: /* @__PURE__ */ e.jsxs("div", { className: i.carousel, children: [
|
|
974
974
|
/* @__PURE__ */ e.jsx(
|
|
975
|
-
|
|
975
|
+
Ae,
|
|
976
976
|
{
|
|
977
977
|
cardNumber: 1,
|
|
978
978
|
cardTitle: t("sneakPeek1Title"),
|
|
979
|
-
analytics:
|
|
979
|
+
analytics: n,
|
|
980
980
|
children: /* @__PURE__ */ e.jsxs("div", { className: i.card, children: [
|
|
981
981
|
/* @__PURE__ */ e.jsxs("div", { className: i.cardHeader, children: [
|
|
982
982
|
/* @__PURE__ */ e.jsx("div", { className: i.cardNumber, children: "01" }),
|
|
@@ -1012,7 +1012,7 @@ const Yr = ({
|
|
|
1012
1012
|
/* @__PURE__ */ e.jsx("div", { className: i.chevronIcon, children: /* @__PURE__ */ e.jsx(
|
|
1013
1013
|
"img",
|
|
1014
1014
|
{
|
|
1015
|
-
src:
|
|
1015
|
+
src: Ur,
|
|
1016
1016
|
alt: "",
|
|
1017
1017
|
style: { width: "90%", margin: "auto" }
|
|
1018
1018
|
}
|
|
@@ -1031,11 +1031,11 @@ const Yr = ({
|
|
|
1031
1031
|
}
|
|
1032
1032
|
),
|
|
1033
1033
|
/* @__PURE__ */ e.jsx(
|
|
1034
|
-
|
|
1034
|
+
Ae,
|
|
1035
1035
|
{
|
|
1036
1036
|
cardNumber: 2,
|
|
1037
1037
|
cardTitle: t("sneakPeek2Title"),
|
|
1038
|
-
analytics:
|
|
1038
|
+
analytics: n,
|
|
1039
1039
|
children: /* @__PURE__ */ e.jsxs("div", { className: i.card, children: [
|
|
1040
1040
|
/* @__PURE__ */ e.jsxs("div", { className: i.cardHeader, children: [
|
|
1041
1041
|
/* @__PURE__ */ e.jsx("div", { className: i.cardNumber, children: "02" }),
|
|
@@ -1065,11 +1065,11 @@ const Yr = ({
|
|
|
1065
1065
|
}
|
|
1066
1066
|
),
|
|
1067
1067
|
/* @__PURE__ */ e.jsx(
|
|
1068
|
-
|
|
1068
|
+
Ae,
|
|
1069
1069
|
{
|
|
1070
1070
|
cardNumber: 3,
|
|
1071
1071
|
cardTitle: t("sneakPeek3Title"),
|
|
1072
|
-
analytics:
|
|
1072
|
+
analytics: n,
|
|
1073
1073
|
children: /* @__PURE__ */ e.jsxs("div", { className: i.card, children: [
|
|
1074
1074
|
/* @__PURE__ */ e.jsxs("div", { className: i.cardHeader, children: [
|
|
1075
1075
|
/* @__PURE__ */ e.jsx("div", { className: i.cardNumber, children: "03" }),
|
|
@@ -1116,11 +1116,11 @@ const Yr = ({
|
|
|
1116
1116
|
}
|
|
1117
1117
|
),
|
|
1118
1118
|
/* @__PURE__ */ e.jsx(
|
|
1119
|
-
|
|
1119
|
+
Ae,
|
|
1120
1120
|
{
|
|
1121
1121
|
cardNumber: 4,
|
|
1122
1122
|
cardTitle: t("sneakPeek4Title"),
|
|
1123
|
-
analytics:
|
|
1123
|
+
analytics: n,
|
|
1124
1124
|
children: /* @__PURE__ */ e.jsxs("div", { className: i.card, children: [
|
|
1125
1125
|
/* @__PURE__ */ e.jsxs("div", { className: i.cardHeader, children: [
|
|
1126
1126
|
/* @__PURE__ */ e.jsx("div", { className: i.cardNumber, children: "04" }),
|
|
@@ -1140,7 +1140,7 @@ const Yr = ({
|
|
|
1140
1140
|
/* @__PURE__ */ e.jsx(
|
|
1141
1141
|
"img",
|
|
1142
1142
|
{
|
|
1143
|
-
src:
|
|
1143
|
+
src: qr,
|
|
1144
1144
|
alt: "",
|
|
1145
1145
|
className: i.predictionIcon
|
|
1146
1146
|
}
|
|
@@ -1151,7 +1151,7 @@ const Yr = ({
|
|
|
1151
1151
|
/* @__PURE__ */ e.jsx(
|
|
1152
1152
|
"img",
|
|
1153
1153
|
{
|
|
1154
|
-
src:
|
|
1154
|
+
src: Kr,
|
|
1155
1155
|
alt: "",
|
|
1156
1156
|
className: i.predictionIcon
|
|
1157
1157
|
}
|
|
@@ -1173,7 +1173,7 @@ const Yr = ({
|
|
|
1173
1173
|
/* @__PURE__ */ e.jsx(
|
|
1174
1174
|
"img",
|
|
1175
1175
|
{
|
|
1176
|
-
src:
|
|
1176
|
+
src: Gr,
|
|
1177
1177
|
alt: "",
|
|
1178
1178
|
className: i.predictionIcon
|
|
1179
1179
|
}
|
|
@@ -1184,7 +1184,7 @@ const Yr = ({
|
|
|
1184
1184
|
/* @__PURE__ */ e.jsx(
|
|
1185
1185
|
"img",
|
|
1186
1186
|
{
|
|
1187
|
-
src:
|
|
1187
|
+
src: Vr,
|
|
1188
1188
|
alt: "",
|
|
1189
1189
|
className: i.predictionIcon
|
|
1190
1190
|
}
|
|
@@ -1198,36 +1198,36 @@ const Yr = ({
|
|
|
1198
1198
|
}
|
|
1199
1199
|
)
|
|
1200
1200
|
] }) }),
|
|
1201
|
-
/* @__PURE__ */ e.jsx("div", { className: i.buttonContainer, children: /* @__PURE__ */ e.jsx(
|
|
1202
|
-
] }), Jr = "_testimonials_dcl7t_2", Qr = "_heading_dcl7t_7", Xr = "_subheading_dcl7t_20", Zr = "_carouselWrapper_dcl7t_36",
|
|
1201
|
+
/* @__PURE__ */ e.jsx("div", { className: i.buttonContainer, children: /* @__PURE__ */ e.jsx(Wr, { t, analytics: n }) })
|
|
1202
|
+
] }), Jr = "_testimonials_dcl7t_2", Qr = "_heading_dcl7t_7", Xr = "_subheading_dcl7t_20", Zr = "_carouselWrapper_dcl7t_36", en = "_carousel_dcl7t_36", tn = "_card_dcl7t_59", an = "_cardActive_dcl7t_72", rn = "_cardContent_dcl7t_77", nn = "_header_dcl7t_92", sn = "_headerInfo_dcl7t_99", on = "_avatar_dcl7t_105", cn = "_name_dcl7t_113", ln = "_rating_dcl7t_120", dn = "_starFilled_dcl7t_124", un = "_starEmpty_dcl7t_129", mn = "_review_dcl7t_134", hn = "_statsBar_dcl7t_143", pn = "_stat_dcl7t_143", gn = "_statValue_dcl7t_164", fn = "_statLabel_dcl7t_185", _n = "_statDivider_dcl7t_197", L = {
|
|
1203
1203
|
testimonials: Jr,
|
|
1204
1204
|
heading: Qr,
|
|
1205
1205
|
subheading: Xr,
|
|
1206
1206
|
carouselWrapper: Zr,
|
|
1207
|
-
carousel:
|
|
1208
|
-
card:
|
|
1209
|
-
cardActive:
|
|
1210
|
-
cardContent:
|
|
1211
|
-
header:
|
|
1212
|
-
headerInfo:
|
|
1213
|
-
avatar:
|
|
1214
|
-
name:
|
|
1215
|
-
rating:
|
|
1216
|
-
starFilled:
|
|
1217
|
-
starEmpty:
|
|
1218
|
-
review:
|
|
1219
|
-
statsBar:
|
|
1220
|
-
stat:
|
|
1221
|
-
statValue:
|
|
1222
|
-
statLabel:
|
|
1223
|
-
statDivider:
|
|
1224
|
-
},
|
|
1207
|
+
carousel: en,
|
|
1208
|
+
card: tn,
|
|
1209
|
+
cardActive: an,
|
|
1210
|
+
cardContent: rn,
|
|
1211
|
+
header: nn,
|
|
1212
|
+
headerInfo: sn,
|
|
1213
|
+
avatar: on,
|
|
1214
|
+
name: cn,
|
|
1215
|
+
rating: ln,
|
|
1216
|
+
starFilled: dn,
|
|
1217
|
+
starEmpty: un,
|
|
1218
|
+
review: mn,
|
|
1219
|
+
statsBar: hn,
|
|
1220
|
+
stat: pn,
|
|
1221
|
+
statValue: gn,
|
|
1222
|
+
statLabel: fn,
|
|
1223
|
+
statDivider: _n
|
|
1224
|
+
}, bn = 3e4, yn = ({
|
|
1225
1225
|
t,
|
|
1226
|
-
testimonials:
|
|
1227
|
-
className:
|
|
1226
|
+
testimonials: n,
|
|
1227
|
+
className: d = "",
|
|
1228
1228
|
analytics: r
|
|
1229
1229
|
}) => {
|
|
1230
|
-
const
|
|
1230
|
+
const l = z(null), [h, c] = F(0), [_, p] = F(!1), w = z(null), k = z(!1), g = z(-1), j = n || [
|
|
1231
1231
|
{
|
|
1232
1232
|
name: t("testimonial1Name"),
|
|
1233
1233
|
avatarUrl: t("testimonial1Avatar"),
|
|
@@ -1276,79 +1276,79 @@ const Yr = ({
|
|
|
1276
1276
|
rating: 5,
|
|
1277
1277
|
review: t("testimonial8Review")
|
|
1278
1278
|
}
|
|
1279
|
-
],
|
|
1280
|
-
if (!
|
|
1281
|
-
|
|
1282
|
-
const
|
|
1283
|
-
if (!
|
|
1284
|
-
const
|
|
1285
|
-
|
|
1286
|
-
left:
|
|
1287
|
-
behavior:
|
|
1279
|
+
], E = [...j, ...j, ...j], x = j.length, S = x, H = (P, T = !0) => {
|
|
1280
|
+
if (!l.current) return;
|
|
1281
|
+
k.current = !0;
|
|
1282
|
+
const W = l.current, M = W.children[0];
|
|
1283
|
+
if (!M) return;
|
|
1284
|
+
const f = M.offsetWidth, q = P * (f + 16);
|
|
1285
|
+
W.scrollTo({
|
|
1286
|
+
left: q,
|
|
1287
|
+
behavior: T ? "smooth" : "auto"
|
|
1288
1288
|
}), setTimeout(() => {
|
|
1289
|
-
|
|
1290
|
-
},
|
|
1289
|
+
k.current = !1;
|
|
1290
|
+
}, T ? 700 : 50);
|
|
1291
1291
|
};
|
|
1292
|
-
|
|
1293
|
-
const
|
|
1294
|
-
|
|
1292
|
+
V(() => {
|
|
1293
|
+
const P = setTimeout(() => {
|
|
1294
|
+
c(S), H(S, !1);
|
|
1295
1295
|
}, 50);
|
|
1296
|
-
return () => clearTimeout(
|
|
1297
|
-
}, [S]),
|
|
1296
|
+
return () => clearTimeout(P);
|
|
1297
|
+
}, [S]), V(() => () => {
|
|
1298
1298
|
w.current && clearTimeout(w.current);
|
|
1299
|
-
}, []),
|
|
1300
|
-
if (
|
|
1301
|
-
const
|
|
1302
|
-
|
|
1303
|
-
},
|
|
1304
|
-
return () => clearInterval(
|
|
1305
|
-
}, [
|
|
1306
|
-
if (!
|
|
1299
|
+
}, []), V(() => {
|
|
1300
|
+
if (_) return;
|
|
1301
|
+
const P = setInterval(() => {
|
|
1302
|
+
c((T) => T + 1);
|
|
1303
|
+
}, bn);
|
|
1304
|
+
return () => clearInterval(P);
|
|
1305
|
+
}, [_]), V(() => {
|
|
1306
|
+
if (!l.current || h === 0) return;
|
|
1307
1307
|
H(h, !0);
|
|
1308
|
-
const
|
|
1309
|
-
if (
|
|
1308
|
+
const P = setTimeout(() => {
|
|
1309
|
+
if (l.current) {
|
|
1310
1310
|
if (h >= x * 2) {
|
|
1311
|
-
const
|
|
1312
|
-
|
|
1311
|
+
const T = h - x;
|
|
1312
|
+
c(T), H(T, !1);
|
|
1313
1313
|
} else if (h < x) {
|
|
1314
|
-
const
|
|
1315
|
-
|
|
1314
|
+
const T = h + x;
|
|
1315
|
+
c(T), H(T, !1);
|
|
1316
1316
|
}
|
|
1317
1317
|
}
|
|
1318
1318
|
}, 700);
|
|
1319
|
-
return () => clearTimeout(
|
|
1319
|
+
return () => clearTimeout(P);
|
|
1320
1320
|
}, [h, x]);
|
|
1321
|
-
const
|
|
1322
|
-
!
|
|
1323
|
-
if (!
|
|
1324
|
-
const
|
|
1325
|
-
if (!
|
|
1326
|
-
const
|
|
1327
|
-
if (
|
|
1328
|
-
|
|
1329
|
-
const
|
|
1330
|
-
g.current !==
|
|
1331
|
-
reviewIndex:
|
|
1332
|
-
reviewerName: j[
|
|
1321
|
+
const A = () => {
|
|
1322
|
+
!l.current || k.current || (w.current && clearTimeout(w.current), w.current = setTimeout(() => {
|
|
1323
|
+
if (!l.current || k.current) return;
|
|
1324
|
+
const P = l.current, T = P.scrollLeft, W = P.children[0];
|
|
1325
|
+
if (!W) return;
|
|
1326
|
+
const M = W.offsetWidth, U = Math.round(T / (M + 16));
|
|
1327
|
+
if (U !== h && U >= 0 && U < E.length) {
|
|
1328
|
+
c(U);
|
|
1329
|
+
const q = U % x;
|
|
1330
|
+
g.current !== q && r?.trackTestimonialScrolled && (g.current = q, r.trackTestimonialScrolled({
|
|
1331
|
+
reviewIndex: q,
|
|
1332
|
+
reviewerName: j[q]?.name || "",
|
|
1333
1333
|
isManualScroll: !0
|
|
1334
1334
|
}));
|
|
1335
1335
|
}
|
|
1336
1336
|
}, 100));
|
|
1337
|
-
}, R = (
|
|
1337
|
+
}, R = (P) => Array.from({ length: 5 }, (T, W) => /* @__PURE__ */ e.jsx(
|
|
1338
1338
|
"span",
|
|
1339
1339
|
{
|
|
1340
|
-
className:
|
|
1340
|
+
className: W < P ? L.starFilled : L.starEmpty,
|
|
1341
1341
|
children: "★"
|
|
1342
1342
|
},
|
|
1343
|
-
|
|
1343
|
+
W
|
|
1344
1344
|
));
|
|
1345
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
1346
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1347
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1345
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${L.testimonials} ${d}`, children: [
|
|
1346
|
+
/* @__PURE__ */ e.jsx("h2", { className: L.heading, children: t("testimonialsHeading") }),
|
|
1347
|
+
/* @__PURE__ */ e.jsx("p", { className: L.subheading, children: t("testimonialsSubheading") }),
|
|
1348
1348
|
/* @__PURE__ */ e.jsx(
|
|
1349
1349
|
"div",
|
|
1350
1350
|
{
|
|
1351
|
-
className:
|
|
1351
|
+
className: L.carouselWrapper,
|
|
1352
1352
|
onMouseEnter: () => p(!0),
|
|
1353
1353
|
onMouseLeave: () => p(!1),
|
|
1354
1354
|
onTouchStart: () => p(!0),
|
|
@@ -1356,228 +1356,233 @@ const Yr = ({
|
|
|
1356
1356
|
children: /* @__PURE__ */ e.jsx(
|
|
1357
1357
|
"div",
|
|
1358
1358
|
{
|
|
1359
|
-
ref:
|
|
1360
|
-
className:
|
|
1361
|
-
onScroll:
|
|
1362
|
-
children:
|
|
1363
|
-
const
|
|
1359
|
+
ref: l,
|
|
1360
|
+
className: L.carousel,
|
|
1361
|
+
onScroll: A,
|
|
1362
|
+
children: E.map((P, T) => {
|
|
1363
|
+
const W = T === h;
|
|
1364
1364
|
return /* @__PURE__ */ e.jsx(
|
|
1365
1365
|
"div",
|
|
1366
1366
|
{
|
|
1367
|
-
className: `${
|
|
1368
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1369
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1367
|
+
className: `${L.card} ${W ? L.cardActive : ""}`,
|
|
1368
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: L.cardContent, children: [
|
|
1369
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.header, children: [
|
|
1370
1370
|
/* @__PURE__ */ e.jsx(
|
|
1371
1371
|
"img",
|
|
1372
1372
|
{
|
|
1373
|
-
src:
|
|
1374
|
-
alt:
|
|
1375
|
-
className:
|
|
1373
|
+
src: P.avatarUrl,
|
|
1374
|
+
alt: P.name,
|
|
1375
|
+
className: L.avatar
|
|
1376
1376
|
}
|
|
1377
1377
|
),
|
|
1378
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1379
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1380
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1378
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.headerInfo, children: [
|
|
1379
|
+
/* @__PURE__ */ e.jsx("h3", { className: L.name, children: P.name }),
|
|
1380
|
+
/* @__PURE__ */ e.jsx("div", { className: L.rating, children: R(P.rating) })
|
|
1381
1381
|
] })
|
|
1382
1382
|
] }),
|
|
1383
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1383
|
+
/* @__PURE__ */ e.jsx("p", { className: L.review, children: P.review })
|
|
1384
1384
|
] })
|
|
1385
1385
|
},
|
|
1386
|
-
|
|
1386
|
+
T
|
|
1387
1387
|
);
|
|
1388
1388
|
})
|
|
1389
1389
|
}
|
|
1390
1390
|
)
|
|
1391
1391
|
}
|
|
1392
1392
|
),
|
|
1393
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1394
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1395
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1396
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1393
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.statsBar, children: [
|
|
1394
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.stat, children: [
|
|
1395
|
+
/* @__PURE__ */ e.jsx("span", { className: L.statValue, children: t("statsRating") }),
|
|
1396
|
+
/* @__PURE__ */ e.jsx("span", { className: L.statLabel, children: t("statsRatingLabel") })
|
|
1397
1397
|
] }),
|
|
1398
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1399
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1400
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1401
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1398
|
+
/* @__PURE__ */ e.jsx("div", { className: L.statDivider }),
|
|
1399
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.stat, children: [
|
|
1400
|
+
/* @__PURE__ */ e.jsx("span", { className: L.statValue, children: t("statsUsers") }),
|
|
1401
|
+
/* @__PURE__ */ e.jsx("span", { className: L.statLabel, children: t("statsUsersLabel") })
|
|
1402
1402
|
] }),
|
|
1403
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1404
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1405
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1406
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1403
|
+
/* @__PURE__ */ e.jsx("div", { className: L.statDivider }),
|
|
1404
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.stat, children: [
|
|
1405
|
+
/* @__PURE__ */ e.jsx("span", { className: L.statValue, children: t("statsAstrologers") }),
|
|
1406
|
+
/* @__PURE__ */ e.jsx("span", { className: L.statLabel, children: t("statsAstrologersLabel") })
|
|
1407
1407
|
] })
|
|
1408
1408
|
] })
|
|
1409
1409
|
] });
|
|
1410
|
-
},
|
|
1411
|
-
benefits:
|
|
1412
|
-
heading:
|
|
1413
|
-
subheading:
|
|
1414
|
-
grid:
|
|
1415
|
-
card:
|
|
1416
|
-
icon:
|
|
1417
|
-
cardTitle:
|
|
1418
|
-
cardDescription:
|
|
1419
|
-
cardRed:
|
|
1420
|
-
cardBlue:
|
|
1421
|
-
cardPurple:
|
|
1422
|
-
cardOrange:
|
|
1423
|
-
},
|
|
1410
|
+
}, vn = "_benefits_1w6i0_1", xn = "_heading_1w6i0_6", kn = "_subheading_1w6i0_19", jn = "_grid_1w6i0_36", Nn = "_card_1w6i0_54", wn = "_icon_1w6i0_76", Pn = "_cardTitle_1w6i0_86", Tn = "_cardDescription_1w6i0_100", Cn = "_cardRed_1w6i0_113", In = "_cardBlue_1w6i0_117", Sn = "_cardPurple_1w6i0_121", Rn = "_cardOrange_1w6i0_125", K = {
|
|
1411
|
+
benefits: vn,
|
|
1412
|
+
heading: xn,
|
|
1413
|
+
subheading: kn,
|
|
1414
|
+
grid: jn,
|
|
1415
|
+
card: Nn,
|
|
1416
|
+
icon: wn,
|
|
1417
|
+
cardTitle: Pn,
|
|
1418
|
+
cardDescription: Tn,
|
|
1419
|
+
cardRed: Cn,
|
|
1420
|
+
cardBlue: In,
|
|
1421
|
+
cardPurple: Sn,
|
|
1422
|
+
cardOrange: Rn
|
|
1423
|
+
}, De = "https://srm-cdn.a4b.io/yoda/1774526823534.svg", Bn = ({
|
|
1424
1424
|
t,
|
|
1425
|
-
className:
|
|
1426
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
1427
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1428
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1429
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1430
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1431
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1432
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1433
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1425
|
+
className: n = ""
|
|
1426
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${K.benefits} ${n}`, children: [
|
|
1427
|
+
/* @__PURE__ */ e.jsx("h2", { className: K.heading, children: t("benefitsHeading") }),
|
|
1428
|
+
/* @__PURE__ */ e.jsx("p", { className: K.subheading, children: t("benefitsSubheading") }),
|
|
1429
|
+
/* @__PURE__ */ e.jsxs("div", { className: K.grid, children: [
|
|
1430
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${K.card} ${K.cardRed}`, children: [
|
|
1431
|
+
/* @__PURE__ */ e.jsx("img", { src: De, alt: "", className: K.icon, width: 20, height: 20 }),
|
|
1432
|
+
/* @__PURE__ */ e.jsx("h3", { className: K.cardTitle, children: t("benefit1Title") }),
|
|
1433
|
+
/* @__PURE__ */ e.jsx("p", { className: K.cardDescription, children: t("benefit1Description") })
|
|
1434
1434
|
] }),
|
|
1435
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1436
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1437
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1438
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1435
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${K.card} ${K.cardBlue}`, children: [
|
|
1436
|
+
/* @__PURE__ */ e.jsx("img", { src: De, alt: "", className: K.icon, width: 20, height: 20 }),
|
|
1437
|
+
/* @__PURE__ */ e.jsx("h3", { className: K.cardTitle, children: t("benefit2Title") }),
|
|
1438
|
+
/* @__PURE__ */ e.jsx("p", { className: K.cardDescription, children: t("benefit2Description") })
|
|
1439
1439
|
] }),
|
|
1440
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1441
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1442
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1443
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1440
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${K.card} ${K.cardPurple}`, children: [
|
|
1441
|
+
/* @__PURE__ */ e.jsx("img", { src: De, alt: "", className: K.icon, width: 20, height: 20 }),
|
|
1442
|
+
/* @__PURE__ */ e.jsx("h3", { className: K.cardTitle, children: t("benefit3Title") }),
|
|
1443
|
+
/* @__PURE__ */ e.jsx("p", { className: K.cardDescription, children: t("benefit3Description") })
|
|
1444
1444
|
] }),
|
|
1445
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1446
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1447
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1448
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1445
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${K.card} ${K.cardOrange}`, children: [
|
|
1446
|
+
/* @__PURE__ */ e.jsx("img", { src: De, alt: "", className: K.icon, width: 20, height: 20 }),
|
|
1447
|
+
/* @__PURE__ */ e.jsx("h3", { className: K.cardTitle, children: t("benefit4Title") }),
|
|
1448
|
+
/* @__PURE__ */ e.jsx("p", { className: K.cardDescription, children: t("benefit4Description") })
|
|
1449
1449
|
] })
|
|
1450
1450
|
] })
|
|
1451
|
-
] }),
|
|
1452
|
-
section:
|
|
1453
|
-
heading:
|
|
1454
|
-
subtitle:
|
|
1455
|
-
list:
|
|
1456
|
-
item:
|
|
1457
|
-
starIcon:
|
|
1458
|
-
},
|
|
1451
|
+
] }), En = "_section_tlutk_1", An = "_heading_tlutk_6", Dn = "_subtitle_tlutk_11", Ln = "_list_tlutk_15", On = "_item_tlutk_19", Mn = "_starIcon_tlutk_23", be = {
|
|
1452
|
+
section: En,
|
|
1453
|
+
heading: An,
|
|
1454
|
+
subtitle: Dn,
|
|
1455
|
+
list: Ln,
|
|
1456
|
+
item: On,
|
|
1457
|
+
starIcon: Mn
|
|
1458
|
+
}, $n = "https://srm-cdn.a4b.io/yoda/1774547096025.svg", Fn = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], zn = ({
|
|
1459
1459
|
t,
|
|
1460
|
-
className:
|
|
1460
|
+
className: n = ""
|
|
1461
1461
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1462
1462
|
"section",
|
|
1463
1463
|
{
|
|
1464
|
-
className: `${
|
|
1464
|
+
className: `${be.section} ${n}`,
|
|
1465
1465
|
"aria-labelledby": "why-heading",
|
|
1466
1466
|
children: [
|
|
1467
|
-
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className:
|
|
1468
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1469
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
1467
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: be.heading, children: t("whyUsTitle") }),
|
|
1468
|
+
/* @__PURE__ */ e.jsx("p", { className: be.subtitle, children: t("whyUsSubtitle") }),
|
|
1469
|
+
/* @__PURE__ */ e.jsx("ul", { className: be.list, children: Fn.map((d) => /* @__PURE__ */ e.jsxs("li", { className: be.item, children: [
|
|
1470
1470
|
/* @__PURE__ */ e.jsx(
|
|
1471
1471
|
"img",
|
|
1472
1472
|
{
|
|
1473
|
-
src:
|
|
1473
|
+
src: $n,
|
|
1474
1474
|
alt: "",
|
|
1475
|
-
className:
|
|
1475
|
+
className: be.starIcon,
|
|
1476
1476
|
width: 16,
|
|
1477
1477
|
height: 16,
|
|
1478
1478
|
"aria-hidden": "true"
|
|
1479
1479
|
}
|
|
1480
1480
|
),
|
|
1481
|
-
/* @__PURE__ */ e.jsx("span", { children: t(
|
|
1482
|
-
] },
|
|
1481
|
+
/* @__PURE__ */ e.jsx("span", { children: t(d) })
|
|
1482
|
+
] }, d)) })
|
|
1483
1483
|
]
|
|
1484
1484
|
}
|
|
1485
|
-
),
|
|
1486
|
-
section:
|
|
1487
|
-
headingBold:
|
|
1488
|
-
},
|
|
1485
|
+
), Wn = "_section_tvhc5_1", Un = "_headingBold_tvhc5_5", ht = {
|
|
1486
|
+
section: Wn,
|
|
1487
|
+
headingBold: Un
|
|
1488
|
+
}, qn = [
|
|
1489
1489
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
1490
1490
|
{ qKey: "faqQ2", aKey: "faqA2" },
|
|
1491
1491
|
{ qKey: "faqQ3", aKey: "faqA3" },
|
|
1492
1492
|
{ qKey: "faqQ4", aKey: "faqA4" }
|
|
1493
|
-
],
|
|
1493
|
+
], Kn = ({
|
|
1494
1494
|
t,
|
|
1495
|
-
className:
|
|
1496
|
-
headingClassName:
|
|
1495
|
+
className: n = "",
|
|
1496
|
+
headingClassName: d = ht.headingBold
|
|
1497
1497
|
}) => /* @__PURE__ */ e.jsx("div", { className: ht.section, children: /* @__PURE__ */ e.jsx(
|
|
1498
|
-
|
|
1498
|
+
Gt,
|
|
1499
1499
|
{
|
|
1500
1500
|
t,
|
|
1501
|
-
items:
|
|
1501
|
+
items: qn,
|
|
1502
1502
|
defaultOpenIndex: 2,
|
|
1503
|
-
className:
|
|
1504
|
-
headingClassName:
|
|
1503
|
+
className: n,
|
|
1504
|
+
headingClassName: d
|
|
1505
1505
|
}
|
|
1506
|
-
) }),
|
|
1507
|
-
formSection:
|
|
1508
|
-
container:
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1506
|
+
) }), Hn = "_formSection_gi4zd_1", Gn = "_container_gi4zd_6", Vn = "_formHeader_gi4zd_10", Yn = "_formHeading_gi4zd_14", Jn = "_formSubheading_gi4zd_24", Qn = "_personSection_gi4zd_38", Xn = "_contactSection_gi4zd_42", Zn = "_sectionTitle_gi4zd_47", ei = "_languageSection_gi4zd_57", ti = "_isdWrap_gi4zd_61", ai = "_phoneInputGroup_gi4zd_65", ri = "_isdSelectWrap_gi4zd_74", ni = "_isdSelectTrigger_gi4zd_93", ii = "_phoneInput_gi4zd_65", si = "_isdDropdown_gi4zd_128", oi = "_isdSearchWrap_gi4zd_143", ci = "_isdSearchInput_gi4zd_151", li = "_isdOption_gi4zd_169", di = "_isdOptionActive_gi4zd_189", ui = "_isdCountryName_gi4zd_195", mi = "_isdCountryCode_gi4zd_202", hi = "_isdNoResult_gi4zd_209", pi = "_input_gi4zd_216", O = {
|
|
1507
|
+
formSection: Hn,
|
|
1508
|
+
container: Gn,
|
|
1509
|
+
formHeader: Vn,
|
|
1510
|
+
formHeading: Yn,
|
|
1511
|
+
formSubheading: Jn,
|
|
1512
|
+
personSection: Qn,
|
|
1513
|
+
contactSection: Xn,
|
|
1514
|
+
sectionTitle: Zn,
|
|
1515
|
+
languageSection: ei,
|
|
1516
|
+
isdWrap: ti,
|
|
1517
|
+
phoneInputGroup: ai,
|
|
1518
|
+
isdSelectWrap: ri,
|
|
1519
|
+
isdSelectTrigger: ni,
|
|
1520
|
+
phoneInput: ii,
|
|
1521
|
+
isdDropdown: si,
|
|
1522
|
+
isdSearchWrap: oi,
|
|
1523
|
+
isdSearchInput: ci,
|
|
1524
|
+
isdOption: li,
|
|
1525
|
+
isdOptionActive: di,
|
|
1526
|
+
isdCountryName: ui,
|
|
1527
|
+
isdCountryCode: mi,
|
|
1528
|
+
isdNoResult: hi,
|
|
1529
|
+
input: pi
|
|
1530
|
+
}, gi = "_personForm_5qkn6_1", fi = "_card_5qkn6_6", _i = "_cardBoy_5qkn6_15", bi = "_cardGirl_5qkn6_18", yi = "_field_5qkn6_22", vi = "_labelRow_5qkn6_28", xi = "_label_5qkn6_28", ki = "_req_5qkn6_45", ji = "_infoWrap_5qkn6_49", Ni = "_infoBtn_5qkn6_53", wi = "_infoImg_5qkn6_70", Pi = "_tooltip_5qkn6_76", Ti = "_tooltipArrow_5qkn6_92", Ci = "_inputWrap_5qkn6_112", Ii = "_input_5qkn6_112", Si = "_iconBtn_5qkn6_147", Ri = "_iconBtnInteractive_5qkn6_175", Bi = "_checkboxWrap_5qkn6_187", Ei = "_checkbox_5qkn6_187", Ai = "_checkboxText_5qkn6_203", Di = "_timePopover_5qkn6_210", Li = "_timePickerRow_5qkn6_227", Oi = "_timePickerSelect_5qkn6_233", Mi = "_timePickerColon_5qkn6_249", $i = "_meridiemToggle_5qkn6_257", Fi = "_meridiemBtn_5qkn6_266", zi = "_meridiemActive_5qkn6_281", Wi = "_timePopoverActions_5qkn6_286", Ui = "_timePopoverBtn_5qkn6_292", qi = "_timePopoverOk_5qkn6_311", Ki = "_suggestions_5qkn6_333", Hi = "_suggestionItem_5qkn6_348", Gi = "_suggestionMain_5qkn6_370", Vi = "_suggestionSecondary_5qkn6_377", m = {
|
|
1531
|
+
personForm: gi,
|
|
1532
|
+
card: fi,
|
|
1533
|
+
cardBoy: _i,
|
|
1534
|
+
cardGirl: bi,
|
|
1535
|
+
field: yi,
|
|
1536
|
+
labelRow: vi,
|
|
1537
|
+
label: xi,
|
|
1538
|
+
req: ki,
|
|
1539
|
+
infoWrap: ji,
|
|
1540
|
+
infoBtn: Ni,
|
|
1541
|
+
infoImg: wi,
|
|
1542
|
+
tooltip: Pi,
|
|
1543
|
+
tooltipArrow: Ti,
|
|
1544
|
+
inputWrap: Ci,
|
|
1545
|
+
input: Ii,
|
|
1546
|
+
iconBtn: Si,
|
|
1547
|
+
iconBtnInteractive: Ri,
|
|
1548
|
+
checkboxWrap: Bi,
|
|
1549
|
+
checkbox: Ei,
|
|
1550
|
+
checkboxText: Ai,
|
|
1551
|
+
timePopover: Di,
|
|
1552
|
+
timePickerRow: Li,
|
|
1553
|
+
timePickerSelect: Oi,
|
|
1554
|
+
timePickerColon: Mi,
|
|
1555
|
+
meridiemToggle: $i,
|
|
1556
|
+
meridiemBtn: Fi,
|
|
1557
|
+
meridiemActive: zi,
|
|
1558
|
+
timePopoverActions: Wi,
|
|
1559
|
+
timePopoverBtn: Ui,
|
|
1560
|
+
timePopoverOk: qi,
|
|
1561
|
+
suggestions: Ki,
|
|
1562
|
+
suggestionItem: Hi,
|
|
1563
|
+
suggestionMain: Gi,
|
|
1564
|
+
suggestionSecondary: Vi
|
|
1560
1565
|
};
|
|
1561
|
-
let
|
|
1562
|
-
const
|
|
1563
|
-
const
|
|
1566
|
+
let Le = null;
|
|
1567
|
+
const Yi = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Le || (Le = new Promise((d, r) => {
|
|
1568
|
+
const l = document.querySelector(
|
|
1564
1569
|
'script[data-google-maps-places="true"]'
|
|
1565
1570
|
);
|
|
1566
|
-
if (
|
|
1567
|
-
|
|
1571
|
+
if (l) {
|
|
1572
|
+
l.addEventListener("load", () => d()), l.addEventListener(
|
|
1568
1573
|
"error",
|
|
1569
1574
|
() => r(new Error("Failed to load Google Maps API"))
|
|
1570
1575
|
);
|
|
1571
1576
|
return;
|
|
1572
1577
|
}
|
|
1573
|
-
const h = document.createElement("script"),
|
|
1574
|
-
|
|
1575
|
-
const
|
|
1578
|
+
const h = document.createElement("script"), c = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1579
|
+
c.searchParams.set("key", t), c.searchParams.set("libraries", "places"), c.searchParams.set("loading", "async"), n && c.searchParams.set("language", n), h.src = c.toString(), h.async = !0, h.defer = !0, h.setAttribute("data-google-maps-places", "true"), h.onload = () => {
|
|
1580
|
+
const _ = Date.now(), p = () => {
|
|
1576
1581
|
if (window.google?.maps?.places) {
|
|
1577
|
-
|
|
1582
|
+
d();
|
|
1578
1583
|
return;
|
|
1579
1584
|
}
|
|
1580
|
-
if (Date.now() -
|
|
1585
|
+
if (Date.now() - _ > 2e3) {
|
|
1581
1586
|
r(
|
|
1582
1587
|
new Error(
|
|
1583
1588
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
@@ -1589,253 +1594,268 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1589
1594
|
};
|
|
1590
1595
|
p();
|
|
1591
1596
|
}, h.onerror = () => r(new Error("Failed to load Google Maps API")), document.head.appendChild(h);
|
|
1592
|
-
}),
|
|
1593
|
-
const { apiKey:
|
|
1594
|
-
|
|
1595
|
-
}, [
|
|
1596
|
-
|
|
1597
|
-
if (!
|
|
1598
|
-
|
|
1597
|
+
}), Le), Ji = (t) => {
|
|
1598
|
+
const { apiKey: n, language: d = "en", restrictCountry: r, deferLoad: l = !1 } = t, [h, c] = F(!1), [_, p] = F([]), [w, k] = F(!1), [g, j] = F(null), [E, x] = F(!l), S = z(null), H = z(null), A = z(null), R = we(() => {
|
|
1599
|
+
l && x(!0);
|
|
1600
|
+
}, [l]);
|
|
1601
|
+
V(() => {
|
|
1602
|
+
if (!n || !E) {
|
|
1603
|
+
c(!1), j(null);
|
|
1599
1604
|
return;
|
|
1600
1605
|
}
|
|
1601
|
-
|
|
1606
|
+
Yi(n, d).then(() => {
|
|
1602
1607
|
S.current = new google.maps.places.AutocompleteService();
|
|
1603
|
-
const
|
|
1604
|
-
H.current = new google.maps.places.PlacesService(
|
|
1605
|
-
}).catch((
|
|
1606
|
-
|
|
1608
|
+
const M = document.createElement("div");
|
|
1609
|
+
H.current = new google.maps.places.PlacesService(M), A.current = new google.maps.places.AutocompleteSessionToken(), c(!0), j(null);
|
|
1610
|
+
}).catch((M) => {
|
|
1611
|
+
c(!1), j(M?.message || "Failed to load location service");
|
|
1607
1612
|
});
|
|
1608
|
-
}, [
|
|
1609
|
-
const
|
|
1610
|
-
async (
|
|
1611
|
-
if (!
|
|
1613
|
+
}, [n, d, E]);
|
|
1614
|
+
const P = we(
|
|
1615
|
+
async (M) => {
|
|
1616
|
+
if (!M || M.length < 2 || !S.current) {
|
|
1612
1617
|
p([]);
|
|
1613
1618
|
return;
|
|
1614
1619
|
}
|
|
1615
|
-
|
|
1620
|
+
k(!0);
|
|
1616
1621
|
try {
|
|
1617
|
-
const
|
|
1618
|
-
input:
|
|
1622
|
+
const f = {
|
|
1623
|
+
input: M,
|
|
1619
1624
|
types: ["(cities)"],
|
|
1620
|
-
sessionToken:
|
|
1625
|
+
sessionToken: A.current ?? void 0
|
|
1621
1626
|
};
|
|
1622
|
-
r && (
|
|
1623
|
-
const
|
|
1627
|
+
r && (f.componentRestrictions = { country: r });
|
|
1628
|
+
const U = await new Promise((q, ie) => {
|
|
1624
1629
|
S.current.getPlacePredictions(
|
|
1625
|
-
|
|
1626
|
-
(
|
|
1627
|
-
|
|
1630
|
+
f,
|
|
1631
|
+
(ae, y) => {
|
|
1632
|
+
y === google.maps.places.PlacesServiceStatus.OK && ae ? q(ae) : y === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? q([]) : ie(new Error(`Places API error: ${y}`));
|
|
1628
1633
|
}
|
|
1629
1634
|
);
|
|
1630
1635
|
});
|
|
1631
1636
|
p(
|
|
1632
|
-
|
|
1633
|
-
place_id:
|
|
1634
|
-
description:
|
|
1637
|
+
U.map((q) => ({
|
|
1638
|
+
place_id: q.place_id,
|
|
1639
|
+
description: q.description,
|
|
1635
1640
|
structured_formatting: {
|
|
1636
|
-
main_text:
|
|
1637
|
-
secondary_text:
|
|
1641
|
+
main_text: q.structured_formatting?.main_text || q.description,
|
|
1642
|
+
secondary_text: q.structured_formatting?.secondary_text || ""
|
|
1638
1643
|
}
|
|
1639
1644
|
}))
|
|
1640
1645
|
);
|
|
1641
1646
|
} catch {
|
|
1642
1647
|
p([]);
|
|
1643
1648
|
} finally {
|
|
1644
|
-
|
|
1649
|
+
k(!1);
|
|
1645
1650
|
}
|
|
1646
1651
|
},
|
|
1647
1652
|
[r]
|
|
1648
|
-
),
|
|
1649
|
-
async (
|
|
1653
|
+
), T = we(
|
|
1654
|
+
async (M) => {
|
|
1650
1655
|
if (!H.current) return null;
|
|
1651
1656
|
try {
|
|
1652
|
-
const
|
|
1653
|
-
(
|
|
1657
|
+
const f = await new Promise(
|
|
1658
|
+
(D, ee) => {
|
|
1654
1659
|
H.current.getDetails(
|
|
1655
1660
|
{
|
|
1656
|
-
placeId:
|
|
1661
|
+
placeId: M,
|
|
1657
1662
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1658
|
-
sessionToken:
|
|
1663
|
+
sessionToken: A.current ?? void 0
|
|
1659
1664
|
},
|
|
1660
1665
|
(se, ue) => {
|
|
1661
|
-
ue === google.maps.places.PlacesServiceStatus.OK && se ?
|
|
1666
|
+
ue === google.maps.places.PlacesServiceStatus.OK && se ? D(se) : ee(new Error(`Place details error: ${ue}`));
|
|
1662
1667
|
}
|
|
1663
1668
|
);
|
|
1664
1669
|
}
|
|
1665
1670
|
);
|
|
1666
|
-
|
|
1667
|
-
const
|
|
1668
|
-
let
|
|
1669
|
-
return
|
|
1670
|
-
|
|
1671
|
+
A.current = new google.maps.places.AutocompleteSessionToken();
|
|
1672
|
+
const U = f.geometry?.location?.lat() || 0, q = f.geometry?.location?.lng() || 0;
|
|
1673
|
+
let ie = "", ae = "", y = "";
|
|
1674
|
+
return f.address_components?.forEach((D) => {
|
|
1675
|
+
D.types.includes("locality") && (ie = D.long_name), D.types.includes("administrative_area_level_1") && (ae = D.long_name), D.types.includes("country") && (y = D.long_name);
|
|
1671
1676
|
}), {
|
|
1672
|
-
display_name:
|
|
1673
|
-
lat:
|
|
1674
|
-
lng:
|
|
1675
|
-
city:
|
|
1676
|
-
state:
|
|
1677
|
-
country:
|
|
1677
|
+
display_name: f.formatted_address || "",
|
|
1678
|
+
lat: U,
|
|
1679
|
+
lng: q,
|
|
1680
|
+
city: ie,
|
|
1681
|
+
state: ae,
|
|
1682
|
+
country: y
|
|
1678
1683
|
};
|
|
1679
1684
|
} catch {
|
|
1680
1685
|
return null;
|
|
1681
1686
|
}
|
|
1682
1687
|
},
|
|
1683
1688
|
[]
|
|
1684
|
-
),
|
|
1689
|
+
), W = we(() => {
|
|
1685
1690
|
p([]);
|
|
1686
1691
|
}, []);
|
|
1687
1692
|
return {
|
|
1688
1693
|
isLoaded: h,
|
|
1689
|
-
predictions:
|
|
1694
|
+
predictions: _,
|
|
1690
1695
|
isSearching: w,
|
|
1691
1696
|
loadError: g,
|
|
1692
|
-
searchPlaces:
|
|
1693
|
-
getPlaceDetails:
|
|
1694
|
-
clearPredictions:
|
|
1697
|
+
searchPlaces: P,
|
|
1698
|
+
getPlaceDetails: T,
|
|
1699
|
+
clearPredictions: W,
|
|
1695
1700
|
triggerLoad: R
|
|
1696
1701
|
};
|
|
1697
|
-
},
|
|
1702
|
+
}, ye = {
|
|
1698
1703
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1699
1704
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1700
1705
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1701
1706
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1702
1707
|
}, pt = ({
|
|
1703
1708
|
t,
|
|
1704
|
-
values:
|
|
1705
|
-
onChange:
|
|
1709
|
+
values: n,
|
|
1710
|
+
onChange: d,
|
|
1706
1711
|
personType: r,
|
|
1707
|
-
googleMapsApiKey:
|
|
1712
|
+
googleMapsApiKey: l,
|
|
1708
1713
|
isGlobal: h = !1,
|
|
1709
|
-
analytics:
|
|
1710
|
-
className:
|
|
1714
|
+
analytics: c,
|
|
1715
|
+
className: _ = ""
|
|
1711
1716
|
}) => {
|
|
1712
|
-
const [p, w] =
|
|
1713
|
-
|
|
1714
|
-
fullName: r === "boy" ? () =>
|
|
1715
|
-
dateOfBirth: r === "boy" ? () =>
|
|
1716
|
-
birthTime: r === "boy" ? () =>
|
|
1717
|
-
birthPlace: r === "boy" ? () =>
|
|
1718
|
-
}[
|
|
1719
|
-
}, U = (
|
|
1720
|
-
predictions:
|
|
1721
|
-
searchPlaces:
|
|
1722
|
-
clearPredictions:
|
|
1723
|
-
triggerLoad:
|
|
1724
|
-
} =
|
|
1725
|
-
apiKey:
|
|
1726
|
-
language:
|
|
1727
|
-
restrictCountry:
|
|
1717
|
+
const [p, w] = F(!1), [k, g] = F({ hour12: 11, minute: "09", meridiem: "AM" }), [j, E] = F(null), [x, S] = F(!1), H = z(null), A = z(null), R = z(null), P = z(null), T = z(0), W = z({}), M = (o) => d({ ...n, ...o }), f = (o, b) => {
|
|
1718
|
+
b.trim() && !W.current[`${r}_${o}`] && (W.current[`${r}_${o}`] = !0, {
|
|
1719
|
+
fullName: r === "boy" ? () => c?.trackBoyNameSectionFilled?.() : () => c?.trackGirlNameSectionFilled?.(),
|
|
1720
|
+
dateOfBirth: r === "boy" ? () => c?.trackBoyDobFilled?.() : () => c?.trackGirlDobFilled?.(),
|
|
1721
|
+
birthTime: r === "boy" ? () => c?.trackBoyTimeFilled?.() : () => c?.trackGirlTimeFilled?.(),
|
|
1722
|
+
birthPlace: r === "boy" ? () => c?.trackBoyPlaceOfBirthChosen?.() : () => c?.trackGirlPlaceOfBirthChosen?.()
|
|
1723
|
+
}[o]?.());
|
|
1724
|
+
}, U = (n.birthPlace ?? "").trim(), q = h ? void 0 : "in", ie = "en", {
|
|
1725
|
+
predictions: ae,
|
|
1726
|
+
searchPlaces: y,
|
|
1727
|
+
clearPredictions: D,
|
|
1728
|
+
triggerLoad: ee
|
|
1729
|
+
} = Ji({
|
|
1730
|
+
apiKey: l,
|
|
1731
|
+
language: ie,
|
|
1732
|
+
restrictCountry: q,
|
|
1728
1733
|
deferLoad: !0
|
|
1729
|
-
}),
|
|
1730
|
-
r === "boy" ?
|
|
1731
|
-
}, te = () => {
|
|
1732
|
-
r === "boy" ? o?.trackBoyDobClicked?.() : o?.trackGirlDobClicked?.();
|
|
1733
|
-
}, se = () => {
|
|
1734
|
-
r === "boy" ? o?.trackBoyTimeClicked?.() : o?.trackGirlTimeClicked?.();
|
|
1734
|
+
}), se = () => {
|
|
1735
|
+
r === "boy" ? c?.trackBoyNameSectionClicked?.() : c?.trackGirlNameSectionClicked?.();
|
|
1735
1736
|
}, ue = () => {
|
|
1736
|
-
r === "boy" ?
|
|
1737
|
-
},
|
|
1738
|
-
r === "boy" ?
|
|
1739
|
-
},
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
return
|
|
1737
|
+
r === "boy" ? c?.trackBoyDobClicked?.() : c?.trackGirlDobClicked?.();
|
|
1738
|
+
}, ve = () => {
|
|
1739
|
+
r === "boy" ? c?.trackBoyTimeClicked?.() : c?.trackGirlTimeClicked?.();
|
|
1740
|
+
}, Pe = () => {
|
|
1741
|
+
r === "boy" ? c?.trackBoyTimeCheckboxClicked?.() : c?.trackGirlTimeCheckboxClicked?.();
|
|
1742
|
+
}, Te = () => {
|
|
1743
|
+
r === "boy" ? c?.trackBoyPlaceOfBirthClicked?.() : c?.trackGirlPlaceOfBirthClicked?.();
|
|
1744
|
+
}, ce = (o) => String(o).padStart(2, "0"), Ce = (o) => {
|
|
1745
|
+
const b = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(o);
|
|
1746
|
+
if (!b) return o;
|
|
1747
|
+
const J = Number(b[1]), te = b[2], me = J >= 12 ? "PM" : "AM";
|
|
1748
|
+
return `${J % 12 === 0 ? 12 : J % 12}:${te} ${me}`;
|
|
1749
|
+
}, xe = (o) => {
|
|
1750
|
+
const b = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(o);
|
|
1751
|
+
if (!b) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1752
|
+
const J = Number(b[1]), te = b[2], me = J >= 12 ? "PM" : "AM";
|
|
1753
|
+
return { hour12: J % 12 === 0 ? 12 : J % 12, minute: te, meridiem: me };
|
|
1754
|
+
}, Ie = (o) => {
|
|
1755
|
+
const b = Math.min(12, Math.max(1, o.hour12)), J = /^([0-5]\d)$/.test(o.minute) ? o.minute : "00";
|
|
1756
|
+
let te = b % 12;
|
|
1757
|
+
return o.meridiem === "PM" && (te += 12), `${ce(te)}:${J}`;
|
|
1758
|
+
}, Se = (o) => {
|
|
1759
|
+
const b = o.current;
|
|
1760
|
+
if (!(!b || b.disabled)) {
|
|
1761
|
+
if (document.activeElement === b && P.current === b && Date.now() - T.current < 6e4) {
|
|
1762
|
+
b.blur();
|
|
1763
|
+
return;
|
|
1764
|
+
}
|
|
1765
|
+
if (typeof b.showPicker == "function") {
|
|
1766
|
+
b.showPicker(), P.current = b, T.current = Date.now();
|
|
1767
|
+
return;
|
|
1768
|
+
}
|
|
1769
|
+
b.focus(), P.current = b, T.current = Date.now();
|
|
1770
|
+
}
|
|
1753
1771
|
};
|
|
1754
|
-
return
|
|
1755
|
-
const
|
|
1756
|
-
H.current && !H.current.contains(
|
|
1772
|
+
return V(() => {
|
|
1773
|
+
const o = (b) => {
|
|
1774
|
+
H.current && !H.current.contains(b.target) && w(!1);
|
|
1757
1775
|
};
|
|
1758
1776
|
if (p)
|
|
1759
|
-
return document.addEventListener("mousedown",
|
|
1760
|
-
}, [p]),
|
|
1761
|
-
const
|
|
1762
|
-
R.current && (R.current.contains(
|
|
1777
|
+
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
1778
|
+
}, [p]), V(() => {
|
|
1779
|
+
const o = (b) => {
|
|
1780
|
+
R.current && (R.current.contains(b.target) || S(!1));
|
|
1763
1781
|
};
|
|
1764
|
-
return document.addEventListener("mousedown",
|
|
1765
|
-
}, []),
|
|
1782
|
+
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
1783
|
+
}, []), V(() => {
|
|
1766
1784
|
if (!x) return;
|
|
1767
1785
|
if (U.length < 2) {
|
|
1768
|
-
|
|
1786
|
+
D();
|
|
1769
1787
|
return;
|
|
1770
1788
|
}
|
|
1771
|
-
const
|
|
1772
|
-
await
|
|
1789
|
+
const o = window.setTimeout(async () => {
|
|
1790
|
+
await y(U);
|
|
1773
1791
|
}, 250);
|
|
1774
|
-
return () => window.clearTimeout(
|
|
1775
|
-
}, [U, x,
|
|
1776
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1777
|
-
/* @__PURE__ */ e.jsxs("label", { className:
|
|
1792
|
+
return () => window.clearTimeout(o);
|
|
1793
|
+
}, [U, x, y, D]), /* @__PURE__ */ e.jsx("div", { className: `${m.personForm} ${_}`, children: /* @__PURE__ */ e.jsxs("div", { className: `${m.card} ${r === "boy" ? m.cardBoy : m.cardGirl}`, children: [
|
|
1794
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.field, children: [
|
|
1795
|
+
/* @__PURE__ */ e.jsxs("label", { className: m.label, htmlFor: `${r}-full-name`, children: [
|
|
1778
1796
|
t("formFullName"),
|
|
1779
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1797
|
+
/* @__PURE__ */ e.jsx("span", { className: m.req, children: "*" })
|
|
1780
1798
|
] }),
|
|
1781
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1799
|
+
/* @__PURE__ */ e.jsx("div", { className: m.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
1782
1800
|
"input",
|
|
1783
1801
|
{
|
|
1784
1802
|
id: `${r}-full-name`,
|
|
1785
|
-
className:
|
|
1803
|
+
className: m.input,
|
|
1786
1804
|
type: "text",
|
|
1787
|
-
value:
|
|
1788
|
-
onClick:
|
|
1789
|
-
onChange: (
|
|
1790
|
-
|
|
1805
|
+
value: n.fullName,
|
|
1806
|
+
onClick: se,
|
|
1807
|
+
onChange: (o) => {
|
|
1808
|
+
M({ fullName: o.target.value }), f("fullName", o.target.value);
|
|
1791
1809
|
},
|
|
1792
1810
|
placeholder: t("formFullNamePlaceholder")
|
|
1793
1811
|
}
|
|
1794
1812
|
) })
|
|
1795
1813
|
] }),
|
|
1796
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1797
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1798
|
-
/* @__PURE__ */ e.jsxs("label", { className:
|
|
1814
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.field, children: [
|
|
1815
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.labelRow, children: [
|
|
1816
|
+
/* @__PURE__ */ e.jsxs("label", { className: m.label, htmlFor: `${r}-dob`, children: [
|
|
1799
1817
|
t("formDob"),
|
|
1800
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1818
|
+
/* @__PURE__ */ e.jsx("span", { className: m.req, children: "*" })
|
|
1801
1819
|
] }),
|
|
1802
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1820
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.infoWrap, children: [
|
|
1803
1821
|
/* @__PURE__ */ e.jsx(
|
|
1804
1822
|
"button",
|
|
1805
1823
|
{
|
|
1806
1824
|
type: "button",
|
|
1807
|
-
className:
|
|
1825
|
+
className: m.infoBtn,
|
|
1808
1826
|
"aria-label": t("info"),
|
|
1809
1827
|
"aria-expanded": j === "dob",
|
|
1810
|
-
onClick: () =>
|
|
1811
|
-
children: /* @__PURE__ */ e.jsx("img", { className:
|
|
1828
|
+
onClick: () => E((o) => o === "dob" ? null : "dob"),
|
|
1829
|
+
children: /* @__PURE__ */ e.jsx("img", { className: m.infoImg, src: ye.info, alt: "", width: 20, height: 20 })
|
|
1812
1830
|
}
|
|
1813
1831
|
),
|
|
1814
|
-
j === "dob" && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1832
|
+
j === "dob" && /* @__PURE__ */ e.jsxs("div", { className: m.tooltip, role: "tooltip", children: [
|
|
1815
1833
|
t("formDobInfo"),
|
|
1816
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1834
|
+
/* @__PURE__ */ e.jsx("span", { className: m.tooltipArrow })
|
|
1817
1835
|
] })
|
|
1818
1836
|
] })
|
|
1819
1837
|
] }),
|
|
1820
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1838
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.inputWrap, children: [
|
|
1821
1839
|
/* @__PURE__ */ e.jsx(
|
|
1822
1840
|
"input",
|
|
1823
1841
|
{
|
|
1824
1842
|
id: `${r}-dob`,
|
|
1825
|
-
className:
|
|
1843
|
+
className: m.input,
|
|
1826
1844
|
type: "date",
|
|
1827
|
-
ref:
|
|
1828
|
-
value:
|
|
1845
|
+
ref: A,
|
|
1846
|
+
value: n.dateOfBirth,
|
|
1829
1847
|
max: (() => {
|
|
1830
|
-
const
|
|
1831
|
-
return `${
|
|
1848
|
+
const o = /* @__PURE__ */ new Date();
|
|
1849
|
+
return `${o.getFullYear()}-${ce(o.getMonth() + 1)}-${ce(o.getDate())}`;
|
|
1832
1850
|
})(),
|
|
1833
|
-
|
|
1834
|
-
|
|
1851
|
+
onFocus: ue,
|
|
1852
|
+
onClick: () => Se(A),
|
|
1853
|
+
onChange: (o) => {
|
|
1854
|
+
const b = o.target.value, J = /* @__PURE__ */ new Date(), te = `${J.getFullYear()}-${ce(J.getMonth() + 1)}-${ce(J.getDate())}`;
|
|
1855
|
+
b && b > te || (M({ dateOfBirth: b }), f("dateOfBirth", b), P.current = null);
|
|
1835
1856
|
},
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
C && C > ne || (k({ dateOfBirth: C }), O("dateOfBirth", C));
|
|
1857
|
+
onBlur: () => {
|
|
1858
|
+
P.current === A.current && (P.current = null);
|
|
1839
1859
|
}
|
|
1840
1860
|
}
|
|
1841
1861
|
),
|
|
@@ -1843,51 +1863,54 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1843
1863
|
"button",
|
|
1844
1864
|
{
|
|
1845
1865
|
type: "button",
|
|
1846
|
-
className:
|
|
1847
|
-
"aria-label": "
|
|
1848
|
-
|
|
1849
|
-
|
|
1866
|
+
className: `${m.iconBtn} ${m.iconBtnInteractive}`,
|
|
1867
|
+
"aria-label": "Open date picker",
|
|
1868
|
+
onMouseDown: (o) => o.preventDefault(),
|
|
1869
|
+
onClick: (o) => {
|
|
1870
|
+
o.preventDefault(), o.stopPropagation(), Se(A);
|
|
1871
|
+
},
|
|
1872
|
+
children: /* @__PURE__ */ e.jsx("img", { src: ye.date, alt: "", width: 20, height: 20 })
|
|
1850
1873
|
}
|
|
1851
1874
|
)
|
|
1852
1875
|
] })
|
|
1853
1876
|
] }),
|
|
1854
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1855
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1856
|
-
/* @__PURE__ */ e.jsxs("label", { className:
|
|
1877
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.field, children: [
|
|
1878
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.labelRow, children: [
|
|
1879
|
+
/* @__PURE__ */ e.jsxs("label", { className: m.label, htmlFor: `${r}-birth-time`, children: [
|
|
1857
1880
|
t("formBirthTime"),
|
|
1858
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1881
|
+
/* @__PURE__ */ e.jsx("span", { className: m.req, children: "*" })
|
|
1859
1882
|
] }),
|
|
1860
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1883
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.infoWrap, children: [
|
|
1861
1884
|
/* @__PURE__ */ e.jsx(
|
|
1862
1885
|
"button",
|
|
1863
1886
|
{
|
|
1864
1887
|
type: "button",
|
|
1865
|
-
className:
|
|
1888
|
+
className: m.infoBtn,
|
|
1866
1889
|
"aria-label": t("info"),
|
|
1867
1890
|
"aria-expanded": j === "time",
|
|
1868
|
-
onClick: () =>
|
|
1869
|
-
children: /* @__PURE__ */ e.jsx("img", { className:
|
|
1891
|
+
onClick: () => E((o) => o === "time" ? null : "time"),
|
|
1892
|
+
children: /* @__PURE__ */ e.jsx("img", { className: m.infoImg, src: ye.info, alt: "", width: 20, height: 20 })
|
|
1870
1893
|
}
|
|
1871
1894
|
),
|
|
1872
|
-
j === "time" && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1895
|
+
j === "time" && /* @__PURE__ */ e.jsxs("div", { className: m.tooltip, role: "tooltip", children: [
|
|
1873
1896
|
t("formBirthTimeInfo"),
|
|
1874
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1897
|
+
/* @__PURE__ */ e.jsx("span", { className: m.tooltipArrow })
|
|
1875
1898
|
] })
|
|
1876
1899
|
] })
|
|
1877
1900
|
] }),
|
|
1878
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1901
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.inputWrap, ref: H, children: [
|
|
1879
1902
|
/* @__PURE__ */ e.jsx(
|
|
1880
1903
|
"input",
|
|
1881
1904
|
{
|
|
1882
1905
|
id: `${r}-birth-time`,
|
|
1883
|
-
className:
|
|
1906
|
+
className: m.input,
|
|
1884
1907
|
type: "text",
|
|
1885
|
-
value:
|
|
1908
|
+
value: n.birthTime ? Ce(n.birthTime) : "",
|
|
1886
1909
|
readOnly: !0,
|
|
1887
|
-
disabled:
|
|
1910
|
+
disabled: n.birthTimeUnknown,
|
|
1888
1911
|
placeholder: "HH:MM AM",
|
|
1889
1912
|
onClick: () => {
|
|
1890
|
-
|
|
1913
|
+
n.birthTimeUnknown || (ve(), g(xe(n.birthTime || "11:09")), w((o) => !o));
|
|
1891
1914
|
}
|
|
1892
1915
|
}
|
|
1893
1916
|
),
|
|
@@ -1895,179 +1918,210 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1895
1918
|
"button",
|
|
1896
1919
|
{
|
|
1897
1920
|
type: "button",
|
|
1898
|
-
className:
|
|
1921
|
+
className: m.iconBtn,
|
|
1899
1922
|
"aria-label": "Select time",
|
|
1900
|
-
disabled:
|
|
1901
|
-
|
|
1902
|
-
|
|
1923
|
+
disabled: n.birthTimeUnknown,
|
|
1924
|
+
onMouseDown: (o) => o.preventDefault(),
|
|
1925
|
+
onClick: (o) => {
|
|
1926
|
+
o.preventDefault(), o.stopPropagation(), !n.birthTimeUnknown && (ve(), g(xe(n.birthTime || "11:09")), w((b) => !b));
|
|
1903
1927
|
},
|
|
1904
|
-
children: /* @__PURE__ */ e.jsx("img", { src:
|
|
1928
|
+
children: /* @__PURE__ */ e.jsx("img", { src: ye.time, alt: "", width: 20, height: 20 })
|
|
1905
1929
|
}
|
|
1906
1930
|
),
|
|
1907
|
-
p && /* @__PURE__ */ e.jsxs(
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1931
|
+
p && !n.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
1932
|
+
"div",
|
|
1933
|
+
{
|
|
1934
|
+
className: m.timePopover,
|
|
1935
|
+
role: "dialog",
|
|
1936
|
+
"aria-label": "Select time",
|
|
1937
|
+
children: [
|
|
1938
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.timePickerRow, children: [
|
|
1939
|
+
/* @__PURE__ */ e.jsx(
|
|
1940
|
+
"select",
|
|
1941
|
+
{
|
|
1942
|
+
className: m.timePickerSelect,
|
|
1943
|
+
value: k.hour12,
|
|
1944
|
+
onChange: (o) => g((b) => ({
|
|
1945
|
+
...b,
|
|
1946
|
+
hour12: Number(o.target.value)
|
|
1947
|
+
})),
|
|
1948
|
+
"aria-label": "Hour",
|
|
1949
|
+
children: Array.from({ length: 12 }, (o, b) => b + 1).map((o) => /* @__PURE__ */ e.jsx("option", { value: o, children: o }, o))
|
|
1922
1950
|
}
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
onChange: (m) => {
|
|
1936
|
-
const C = m.target.value.replace(/\D/g, "");
|
|
1937
|
-
C.length <= 2 && (!C || parseInt(C, 10) < 60) && g({ ...b, minute: C.padStart(2, "0") });
|
|
1951
|
+
),
|
|
1952
|
+
/* @__PURE__ */ e.jsx("span", { className: m.timePickerColon, children: ":" }),
|
|
1953
|
+
/* @__PURE__ */ e.jsx(
|
|
1954
|
+
"select",
|
|
1955
|
+
{
|
|
1956
|
+
className: m.timePickerSelect,
|
|
1957
|
+
value: k.minute,
|
|
1958
|
+
onChange: (o) => g((b) => ({ ...b, minute: o.target.value })),
|
|
1959
|
+
"aria-label": "Minute",
|
|
1960
|
+
children: Array.from({ length: 60 }, (o, b) => ce(b)).map(
|
|
1961
|
+
(o) => /* @__PURE__ */ e.jsx("option", { value: o, children: o }, o)
|
|
1962
|
+
)
|
|
1938
1963
|
}
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1964
|
+
),
|
|
1965
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.meridiemToggle, "aria-label": "AM/PM", children: [
|
|
1966
|
+
/* @__PURE__ */ e.jsx(
|
|
1967
|
+
"button",
|
|
1968
|
+
{
|
|
1969
|
+
type: "button",
|
|
1970
|
+
className: `${m.meridiemBtn} ${k.meridiem === "AM" ? m.meridiemActive : ""}`,
|
|
1971
|
+
onClick: () => g((o) => ({ ...o, meridiem: "AM" })),
|
|
1972
|
+
children: "AM"
|
|
1973
|
+
}
|
|
1974
|
+
),
|
|
1975
|
+
/* @__PURE__ */ e.jsx(
|
|
1976
|
+
"button",
|
|
1977
|
+
{
|
|
1978
|
+
type: "button",
|
|
1979
|
+
className: `${m.meridiemBtn} ${k.meridiem === "PM" ? m.meridiemActive : ""}`,
|
|
1980
|
+
onClick: () => g((o) => ({ ...o, meridiem: "PM" })),
|
|
1981
|
+
children: "PM"
|
|
1982
|
+
}
|
|
1983
|
+
)
|
|
1984
|
+
] })
|
|
1985
|
+
] }),
|
|
1986
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.timePopoverActions, children: [
|
|
1945
1987
|
/* @__PURE__ */ e.jsx(
|
|
1946
1988
|
"button",
|
|
1947
1989
|
{
|
|
1948
1990
|
type: "button",
|
|
1949
|
-
className:
|
|
1950
|
-
onClick: () =>
|
|
1951
|
-
children: "
|
|
1991
|
+
className: m.timePopoverBtn,
|
|
1992
|
+
onClick: () => w(!1),
|
|
1993
|
+
children: "Cancel"
|
|
1952
1994
|
}
|
|
1953
1995
|
),
|
|
1954
1996
|
/* @__PURE__ */ e.jsx(
|
|
1955
1997
|
"button",
|
|
1956
1998
|
{
|
|
1957
1999
|
type: "button",
|
|
1958
|
-
className: `${
|
|
1959
|
-
onClick: () =>
|
|
1960
|
-
|
|
2000
|
+
className: `${m.timePopoverBtn} ${m.timePopoverOk}`,
|
|
2001
|
+
onClick: () => {
|
|
2002
|
+
const o = Ie(k);
|
|
2003
|
+
M({ birthTime: o }), f("birthTime", o), w(!1);
|
|
2004
|
+
},
|
|
2005
|
+
"aria-label": "OK",
|
|
2006
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2007
|
+
"svg",
|
|
2008
|
+
{
|
|
2009
|
+
width: "18",
|
|
2010
|
+
height: "18",
|
|
2011
|
+
viewBox: "0 0 24 24",
|
|
2012
|
+
fill: "none",
|
|
2013
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2014
|
+
"aria-hidden": !0,
|
|
2015
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2016
|
+
"path",
|
|
2017
|
+
{
|
|
2018
|
+
d: "M20 6L9 17l-5-5",
|
|
2019
|
+
stroke: "currentColor",
|
|
2020
|
+
strokeWidth: "2",
|
|
2021
|
+
strokeLinecap: "round",
|
|
2022
|
+
strokeLinejoin: "round"
|
|
2023
|
+
}
|
|
2024
|
+
)
|
|
2025
|
+
}
|
|
2026
|
+
)
|
|
1961
2027
|
}
|
|
1962
2028
|
)
|
|
1963
2029
|
] })
|
|
1964
|
-
]
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
"button",
|
|
1968
|
-
{
|
|
1969
|
-
type: "button",
|
|
1970
|
-
className: u.timePickerApply,
|
|
1971
|
-
onClick: () => {
|
|
1972
|
-
const m = Te(b);
|
|
1973
|
-
k({ birthTime: m }), O("birthTime", m), w(!1);
|
|
1974
|
-
},
|
|
1975
|
-
children: t("formApply") || "Apply"
|
|
1976
|
-
}
|
|
1977
|
-
)
|
|
1978
|
-
] })
|
|
2030
|
+
]
|
|
2031
|
+
}
|
|
2032
|
+
)
|
|
1979
2033
|
] }),
|
|
1980
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2034
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.checkboxWrap, children: [
|
|
1981
2035
|
/* @__PURE__ */ e.jsx(
|
|
1982
2036
|
"input",
|
|
1983
2037
|
{
|
|
1984
2038
|
type: "checkbox",
|
|
1985
2039
|
id: `${r}-time-unknown`,
|
|
1986
|
-
className:
|
|
1987
|
-
checked:
|
|
1988
|
-
onChange: (
|
|
1989
|
-
|
|
1990
|
-
birthTimeUnknown:
|
|
1991
|
-
birthTime:
|
|
2040
|
+
className: m.checkbox,
|
|
2041
|
+
checked: n.birthTimeUnknown,
|
|
2042
|
+
onChange: (o) => {
|
|
2043
|
+
Pe(), M({
|
|
2044
|
+
birthTimeUnknown: o.target.checked,
|
|
2045
|
+
birthTime: o.target.checked ? "" : n.birthTime
|
|
1992
2046
|
});
|
|
1993
2047
|
}
|
|
1994
2048
|
}
|
|
1995
2049
|
),
|
|
1996
|
-
/* @__PURE__ */ e.jsxs("label", { className:
|
|
2050
|
+
/* @__PURE__ */ e.jsxs("label", { className: m.checkboxText, htmlFor: `${r}-time-unknown`, children: [
|
|
1997
2051
|
t("formBirthTimeUnknownLine1"),
|
|
1998
2052
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
1999
2053
|
t("formBirthTimeUnknownLine2")
|
|
2000
2054
|
] })
|
|
2001
2055
|
] })
|
|
2002
2056
|
] }),
|
|
2003
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2004
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2005
|
-
/* @__PURE__ */ e.jsxs("label", { className:
|
|
2057
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.field, children: [
|
|
2058
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.labelRow, children: [
|
|
2059
|
+
/* @__PURE__ */ e.jsxs("label", { className: m.label, htmlFor: `${r}-birth-place`, children: [
|
|
2006
2060
|
t("formBirthPlace"),
|
|
2007
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2061
|
+
/* @__PURE__ */ e.jsx("span", { className: m.req, children: "*" })
|
|
2008
2062
|
] }),
|
|
2009
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2063
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.infoWrap, children: [
|
|
2010
2064
|
/* @__PURE__ */ e.jsx(
|
|
2011
2065
|
"button",
|
|
2012
2066
|
{
|
|
2013
2067
|
type: "button",
|
|
2014
|
-
className:
|
|
2068
|
+
className: m.infoBtn,
|
|
2015
2069
|
"aria-label": t("info"),
|
|
2016
2070
|
"aria-expanded": j === "place",
|
|
2017
|
-
onClick: () =>
|
|
2018
|
-
children: /* @__PURE__ */ e.jsx("img", { className:
|
|
2071
|
+
onClick: () => E((o) => o === "place" ? null : "place"),
|
|
2072
|
+
children: /* @__PURE__ */ e.jsx("img", { className: m.infoImg, src: ye.info, alt: "", width: 20, height: 20 })
|
|
2019
2073
|
}
|
|
2020
2074
|
),
|
|
2021
|
-
j === "place" && /* @__PURE__ */ e.jsxs("div", { className:
|
|
2075
|
+
j === "place" && /* @__PURE__ */ e.jsxs("div", { className: m.tooltip, role: "tooltip", children: [
|
|
2022
2076
|
t("formBirthPlaceInfo"),
|
|
2023
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2077
|
+
/* @__PURE__ */ e.jsx("span", { className: m.tooltipArrow })
|
|
2024
2078
|
] })
|
|
2025
2079
|
] })
|
|
2026
2080
|
] }),
|
|
2027
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2081
|
+
/* @__PURE__ */ e.jsxs("div", { className: m.inputWrap, ref: R, children: [
|
|
2028
2082
|
/* @__PURE__ */ e.jsx(
|
|
2029
2083
|
"input",
|
|
2030
2084
|
{
|
|
2031
2085
|
id: `${r}-birth-place`,
|
|
2032
|
-
className:
|
|
2086
|
+
className: m.input,
|
|
2033
2087
|
type: "text",
|
|
2034
|
-
value:
|
|
2035
|
-
onChange: (
|
|
2036
|
-
const
|
|
2037
|
-
|
|
2088
|
+
value: n.birthPlace,
|
|
2089
|
+
onChange: (o) => {
|
|
2090
|
+
const b = o.target.value;
|
|
2091
|
+
M({ birthPlace: b }), S(!0);
|
|
2038
2092
|
},
|
|
2039
2093
|
onFocus: () => {
|
|
2040
|
-
|
|
2094
|
+
Te(), S(!0), ee();
|
|
2041
2095
|
},
|
|
2042
2096
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2043
2097
|
autoComplete: "address-level2"
|
|
2044
2098
|
}
|
|
2045
2099
|
),
|
|
2046
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2047
|
-
x &&
|
|
2100
|
+
/* @__PURE__ */ e.jsx("span", { className: m.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("img", { src: ye.location, alt: "", width: 20, height: 20 }) }),
|
|
2101
|
+
x && ae.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m.suggestions, role: "listbox", children: ae.slice(0, 8).map((o) => /* @__PURE__ */ e.jsxs(
|
|
2048
2102
|
"button",
|
|
2049
2103
|
{
|
|
2050
2104
|
type: "button",
|
|
2051
|
-
className:
|
|
2105
|
+
className: m.suggestionItem,
|
|
2052
2106
|
onClick: () => {
|
|
2053
|
-
|
|
2107
|
+
M({ birthPlace: o.description }), f("birthPlace", o.description), D(), S(!1);
|
|
2054
2108
|
},
|
|
2055
2109
|
children: [
|
|
2056
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2057
|
-
|
|
2110
|
+
/* @__PURE__ */ e.jsx("span", { className: m.suggestionMain, children: o.structured_formatting?.main_text ?? o.description }),
|
|
2111
|
+
o.structured_formatting?.secondary_text && /* @__PURE__ */ e.jsx("span", { className: m.suggestionSecondary, children: o.structured_formatting.secondary_text })
|
|
2058
2112
|
]
|
|
2059
2113
|
},
|
|
2060
|
-
|
|
2114
|
+
o.place_id
|
|
2061
2115
|
)) })
|
|
2062
2116
|
] })
|
|
2063
2117
|
] })
|
|
2064
2118
|
] }) });
|
|
2065
|
-
},
|
|
2066
|
-
languageSelector:
|
|
2067
|
-
grid:
|
|
2068
|
-
languageBtn:
|
|
2069
|
-
languageBtnActive:
|
|
2070
|
-
},
|
|
2119
|
+
}, Qi = "_languageSelector_jhxs6_1", Xi = "_grid_jhxs6_6", Zi = "_languageBtn_jhxs6_12", es = "_languageBtnActive_jhxs6_31", Oe = {
|
|
2120
|
+
languageSelector: Qi,
|
|
2121
|
+
grid: Xi,
|
|
2122
|
+
languageBtn: Zi,
|
|
2123
|
+
languageBtnActive: es
|
|
2124
|
+
}, ts = [
|
|
2071
2125
|
{ code: "hi", labelKey: "langHindi" },
|
|
2072
2126
|
{ code: "en", labelKey: "langEnglish" },
|
|
2073
2127
|
{ code: "te", labelKey: "langTelugu" },
|
|
@@ -2075,25 +2129,25 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2075
2129
|
{ code: "kn", labelKey: "langKannada" },
|
|
2076
2130
|
{ code: "gu", labelKey: "langGujarati" },
|
|
2077
2131
|
{ code: "mr", labelKey: "langMarathi" }
|
|
2078
|
-
],
|
|
2132
|
+
], as = ({
|
|
2079
2133
|
t,
|
|
2080
|
-
selectedLanguage:
|
|
2081
|
-
onChange:
|
|
2134
|
+
selectedLanguage: n,
|
|
2135
|
+
onChange: d,
|
|
2082
2136
|
analytics: r,
|
|
2083
|
-
className:
|
|
2137
|
+
className: l = ""
|
|
2084
2138
|
}) => {
|
|
2085
|
-
const h = (
|
|
2086
|
-
r?.trackLanguageOfReportClicked?.(),
|
|
2139
|
+
const h = (c) => {
|
|
2140
|
+
r?.trackLanguageOfReportClicked?.(), d(c), r?.trackLanguageOfReportSelected?.({ language: c });
|
|
2087
2141
|
};
|
|
2088
|
-
return /* @__PURE__ */ e.jsx("div", { id: "language-selector", className: `${
|
|
2142
|
+
return /* @__PURE__ */ e.jsx("div", { id: "language-selector", className: `${Oe.languageSelector} ${l}`, children: /* @__PURE__ */ e.jsx("div", { className: Oe.grid, children: ts.map((c) => /* @__PURE__ */ e.jsx(
|
|
2089
2143
|
"button",
|
|
2090
2144
|
{
|
|
2091
2145
|
type: "button",
|
|
2092
|
-
className: `${
|
|
2093
|
-
onClick: () => h(
|
|
2094
|
-
children: t(
|
|
2146
|
+
className: `${Oe.languageBtn} ${n === c.code ? Oe.languageBtnActive : ""}`,
|
|
2147
|
+
onClick: () => h(c.code),
|
|
2148
|
+
children: t(c.labelKey)
|
|
2095
2149
|
},
|
|
2096
|
-
|
|
2150
|
+
c.code
|
|
2097
2151
|
)) }) });
|
|
2098
2152
|
}, bt = [
|
|
2099
2153
|
{ code: "+1", country: "USA / Canada" },
|
|
@@ -2167,108 +2221,112 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2167
2221
|
{ code: "+977", country: "Nepal" }
|
|
2168
2222
|
];
|
|
2169
2223
|
bt.map((t) => t.code);
|
|
2170
|
-
const
|
|
2224
|
+
const rs = {
|
|
2171
2225
|
fullName: "",
|
|
2172
2226
|
dateOfBirth: "",
|
|
2173
2227
|
birthTime: "",
|
|
2174
2228
|
birthTimeUnknown: !1,
|
|
2175
2229
|
birthPlace: ""
|
|
2176
|
-
},
|
|
2230
|
+
}, ns = {
|
|
2177
2231
|
fullName: "",
|
|
2178
2232
|
dateOfBirth: "",
|
|
2179
2233
|
birthTime: "",
|
|
2180
2234
|
birthTimeUnknown: !1,
|
|
2181
2235
|
birthPlace: ""
|
|
2182
|
-
},
|
|
2236
|
+
}, is = ({
|
|
2183
2237
|
t,
|
|
2184
|
-
values:
|
|
2185
|
-
onUpdate:
|
|
2238
|
+
values: n,
|
|
2239
|
+
onUpdate: d,
|
|
2186
2240
|
googleMapsApiKey: r,
|
|
2187
|
-
isGlobal:
|
|
2241
|
+
isGlobal: l = !1,
|
|
2188
2242
|
analytics: h,
|
|
2189
|
-
className:
|
|
2243
|
+
className: c = ""
|
|
2190
2244
|
}) => {
|
|
2191
|
-
const
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
}, [
|
|
2245
|
+
const _ = z(null), [p, w] = F(!1), [k, g] = F(!1), [j, E] = F(!1), [x, S] = F(!1), [H, A] = F(""), [R, P] = F(l ? "+1" : "+91"), T = z(null), W = z(null), M = (y) => y.replace(/\D/g, "").slice(0, 10), f = H.trim().toLowerCase(), U = bt.filter((y) => f ? y.country.toLowerCase().includes(f) || y.code.includes(f) : !0);
|
|
2246
|
+
V(() => {
|
|
2247
|
+
P(l ? "+1" : "+91");
|
|
2248
|
+
}, [l]), V(() => {
|
|
2195
2249
|
if (!x) return;
|
|
2196
|
-
const
|
|
2197
|
-
|
|
2250
|
+
const y = (D) => {
|
|
2251
|
+
T.current && !T.current.contains(D.target) && S(!1);
|
|
2198
2252
|
};
|
|
2199
|
-
return document.addEventListener("mousedown",
|
|
2200
|
-
}, [x]),
|
|
2253
|
+
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
2254
|
+
}, [x]), V(() => {
|
|
2201
2255
|
if (p || !h?.trackKundliMatchingFormView) return;
|
|
2202
|
-
const
|
|
2203
|
-
(
|
|
2204
|
-
|
|
2205
|
-
|
|
2256
|
+
const y = new IntersectionObserver(
|
|
2257
|
+
(D) => {
|
|
2258
|
+
D.forEach((ee) => {
|
|
2259
|
+
ee.isIntersecting && !p && (h.trackKundliMatchingFormView?.(), w(!0));
|
|
2206
2260
|
});
|
|
2207
2261
|
},
|
|
2208
2262
|
{ threshold: 0.2 }
|
|
2209
2263
|
);
|
|
2210
|
-
return
|
|
2211
|
-
|
|
2264
|
+
return _.current && y.observe(_.current), () => {
|
|
2265
|
+
_.current && y.unobserve(_.current);
|
|
2212
2266
|
};
|
|
2213
2267
|
}, [h, p]);
|
|
2214
|
-
const
|
|
2215
|
-
|
|
2216
|
-
},
|
|
2217
|
-
|
|
2218
|
-
},
|
|
2219
|
-
|
|
2268
|
+
const q = (y) => {
|
|
2269
|
+
d({ boy: y });
|
|
2270
|
+
}, ie = (y) => {
|
|
2271
|
+
d({ girl: y });
|
|
2272
|
+
}, ae = (y) => {
|
|
2273
|
+
d({ reportLanguage: y });
|
|
2220
2274
|
};
|
|
2221
|
-
return /* @__PURE__ */ e.jsx("div", { className: `${
|
|
2222
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2223
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2275
|
+
return /* @__PURE__ */ e.jsx("div", { className: `${O.formSection} ${c}`, ref: _, children: /* @__PURE__ */ e.jsxs("div", { className: O.container, children: [
|
|
2276
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.formHeader, children: [
|
|
2277
|
+
/* @__PURE__ */ e.jsx("h2", { className: O.formHeading, children: t("formHeading") }),
|
|
2278
|
+
/* @__PURE__ */ e.jsx("p", { className: O.formSubheading, children: t("formSubheading") })
|
|
2279
|
+
] }),
|
|
2280
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.personSection, children: [
|
|
2281
|
+
/* @__PURE__ */ e.jsx("h2", { className: O.sectionTitle, children: t("formBoyTitle") }),
|
|
2224
2282
|
/* @__PURE__ */ e.jsx(
|
|
2225
2283
|
pt,
|
|
2226
2284
|
{
|
|
2227
2285
|
t,
|
|
2228
|
-
values:
|
|
2229
|
-
onChange:
|
|
2286
|
+
values: n.boy,
|
|
2287
|
+
onChange: q,
|
|
2230
2288
|
personType: "boy",
|
|
2231
2289
|
googleMapsApiKey: r,
|
|
2232
|
-
isGlobal:
|
|
2290
|
+
isGlobal: l,
|
|
2233
2291
|
analytics: h
|
|
2234
2292
|
}
|
|
2235
2293
|
)
|
|
2236
2294
|
] }),
|
|
2237
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2238
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2295
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.personSection, children: [
|
|
2296
|
+
/* @__PURE__ */ e.jsx("h2", { className: O.sectionTitle, children: t("formGirlTitle") }),
|
|
2239
2297
|
/* @__PURE__ */ e.jsx(
|
|
2240
2298
|
pt,
|
|
2241
2299
|
{
|
|
2242
2300
|
t,
|
|
2243
|
-
values:
|
|
2244
|
-
onChange:
|
|
2301
|
+
values: n.girl,
|
|
2302
|
+
onChange: ie,
|
|
2245
2303
|
personType: "girl",
|
|
2246
2304
|
googleMapsApiKey: r,
|
|
2247
|
-
isGlobal:
|
|
2305
|
+
isGlobal: l,
|
|
2248
2306
|
analytics: h
|
|
2249
2307
|
}
|
|
2250
2308
|
)
|
|
2251
2309
|
] }),
|
|
2252
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2253
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2254
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2310
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.personSection, children: [
|
|
2311
|
+
/* @__PURE__ */ e.jsx("h2", { className: O.sectionTitle, children: t("formContactTitle") }),
|
|
2312
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.contactSection, children: [
|
|
2255
2313
|
/* @__PURE__ */ e.jsx(
|
|
2256
2314
|
ct,
|
|
2257
2315
|
{
|
|
2258
2316
|
label: t("formPhone"),
|
|
2259
|
-
required: !
|
|
2317
|
+
required: !l,
|
|
2260
2318
|
htmlFor: "kundli-matching-phone",
|
|
2261
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
2262
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2263
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2319
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: O.isdWrap, ref: T, children: [
|
|
2320
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.phoneInputGroup, children: [
|
|
2321
|
+
/* @__PURE__ */ e.jsx("div", { className: O.isdSelectWrap, children: /* @__PURE__ */ e.jsx(
|
|
2264
2322
|
"button",
|
|
2265
2323
|
{
|
|
2266
2324
|
type: "button",
|
|
2267
|
-
className:
|
|
2325
|
+
className: O.isdSelectTrigger,
|
|
2268
2326
|
"aria-haspopup": "listbox",
|
|
2269
2327
|
"aria-expanded": x,
|
|
2270
2328
|
onClick: () => {
|
|
2271
|
-
S((
|
|
2329
|
+
S((y) => !y), A("");
|
|
2272
2330
|
},
|
|
2273
2331
|
children: R
|
|
2274
2332
|
}
|
|
@@ -2277,67 +2335,67 @@ const Qi = {
|
|
|
2277
2335
|
"input",
|
|
2278
2336
|
{
|
|
2279
2337
|
id: "kundli-matching-phone",
|
|
2280
|
-
className:
|
|
2338
|
+
className: O.phoneInput,
|
|
2281
2339
|
type: "tel",
|
|
2282
|
-
value:
|
|
2340
|
+
value: n.phone,
|
|
2283
2341
|
onFocus: () => h?.trackPhoneSectionClicked?.(),
|
|
2284
|
-
onChange: (
|
|
2285
|
-
const
|
|
2286
|
-
|
|
2342
|
+
onChange: (y) => {
|
|
2343
|
+
const D = M(y.target.value);
|
|
2344
|
+
d({ phone: D }), D.length > 0 && !k && (h?.trackPhoneSectionFilled?.(), g(!0));
|
|
2287
2345
|
},
|
|
2288
2346
|
placeholder: t("formPhonePlaceholder"),
|
|
2289
2347
|
autoComplete: "tel",
|
|
2290
2348
|
inputMode: "numeric",
|
|
2291
2349
|
pattern: "[0-9]{10}",
|
|
2292
2350
|
maxLength: 10,
|
|
2293
|
-
required: !
|
|
2294
|
-
"aria-required": !
|
|
2351
|
+
required: !l,
|
|
2352
|
+
"aria-required": !l
|
|
2295
2353
|
}
|
|
2296
2354
|
)
|
|
2297
2355
|
] }),
|
|
2298
2356
|
x && /* @__PURE__ */ e.jsxs(
|
|
2299
2357
|
"div",
|
|
2300
2358
|
{
|
|
2301
|
-
className:
|
|
2359
|
+
className: O.isdDropdown,
|
|
2302
2360
|
role: "listbox",
|
|
2303
2361
|
"aria-label": "ISD code options",
|
|
2304
2362
|
children: [
|
|
2305
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2363
|
+
/* @__PURE__ */ e.jsx("div", { className: O.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
2306
2364
|
"input",
|
|
2307
2365
|
{
|
|
2308
|
-
ref:
|
|
2366
|
+
ref: W,
|
|
2309
2367
|
type: "text",
|
|
2310
2368
|
value: H,
|
|
2311
|
-
onChange: (
|
|
2369
|
+
onChange: (y) => A(y.target.value),
|
|
2312
2370
|
placeholder: "Search country",
|
|
2313
|
-
className:
|
|
2371
|
+
className: O.isdSearchInput,
|
|
2314
2372
|
"aria-label": "Search country"
|
|
2315
2373
|
}
|
|
2316
2374
|
) }),
|
|
2317
|
-
|
|
2375
|
+
U.length > 0 ? U.map((y) => /* @__PURE__ */ e.jsxs(
|
|
2318
2376
|
"button",
|
|
2319
2377
|
{
|
|
2320
2378
|
type: "button",
|
|
2321
2379
|
role: "option",
|
|
2322
|
-
"aria-selected":
|
|
2323
|
-
className: `${
|
|
2380
|
+
"aria-selected": y.code === R,
|
|
2381
|
+
className: `${O.isdOption} ${y.code === R ? O.isdOptionActive : ""}`,
|
|
2324
2382
|
onClick: () => {
|
|
2325
|
-
|
|
2383
|
+
P(y.code), S(!1), A("");
|
|
2326
2384
|
},
|
|
2327
2385
|
children: [
|
|
2328
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2329
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2386
|
+
/* @__PURE__ */ e.jsx("span", { className: O.isdCountryName, children: y.country }),
|
|
2387
|
+
/* @__PURE__ */ e.jsx("span", { className: O.isdCountryCode, children: y.code })
|
|
2330
2388
|
]
|
|
2331
2389
|
},
|
|
2332
|
-
`${
|
|
2333
|
-
)) : /* @__PURE__ */ e.jsx("div", { className:
|
|
2390
|
+
`${y.code}-${y.country}`
|
|
2391
|
+
)) : /* @__PURE__ */ e.jsx("div", { className: O.isdNoResult, children: "No country found" })
|
|
2334
2392
|
]
|
|
2335
2393
|
}
|
|
2336
2394
|
)
|
|
2337
2395
|
] })
|
|
2338
2396
|
}
|
|
2339
2397
|
),
|
|
2340
|
-
|
|
2398
|
+
l && /* @__PURE__ */ e.jsx(
|
|
2341
2399
|
ct,
|
|
2342
2400
|
{
|
|
2343
2401
|
label: t("formEmail"),
|
|
@@ -2348,12 +2406,12 @@ const Qi = {
|
|
|
2348
2406
|
"input",
|
|
2349
2407
|
{
|
|
2350
2408
|
id: "kundli-matching-email",
|
|
2351
|
-
className:
|
|
2409
|
+
className: O.input,
|
|
2352
2410
|
type: "email",
|
|
2353
|
-
value:
|
|
2411
|
+
value: n.email,
|
|
2354
2412
|
onFocus: () => h?.trackEmailSectionClicked?.(),
|
|
2355
|
-
onChange: (
|
|
2356
|
-
|
|
2413
|
+
onChange: (y) => {
|
|
2414
|
+
d({ email: y.target.value }), y.target.value.trim().length > 0 && !j && (h?.trackEmailSectionFilled?.(), E(!0));
|
|
2357
2415
|
},
|
|
2358
2416
|
placeholder: t("formEmailPlaceholder"),
|
|
2359
2417
|
autoComplete: "email",
|
|
@@ -2365,31 +2423,31 @@ const Qi = {
|
|
|
2365
2423
|
)
|
|
2366
2424
|
] })
|
|
2367
2425
|
] }),
|
|
2368
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2369
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2426
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.languageSection, children: [
|
|
2427
|
+
/* @__PURE__ */ e.jsx("h2", { className: O.sectionTitle, children: t("formLanguageTitle") }),
|
|
2370
2428
|
/* @__PURE__ */ e.jsx(
|
|
2371
|
-
|
|
2429
|
+
as,
|
|
2372
2430
|
{
|
|
2373
2431
|
t,
|
|
2374
|
-
selectedLanguage:
|
|
2375
|
-
onChange:
|
|
2432
|
+
selectedLanguage: n.reportLanguage,
|
|
2433
|
+
onChange: ae,
|
|
2376
2434
|
analytics: h
|
|
2377
2435
|
}
|
|
2378
2436
|
)
|
|
2379
2437
|
] })
|
|
2380
2438
|
] }) });
|
|
2381
|
-
},
|
|
2382
|
-
boy:
|
|
2383
|
-
girl:
|
|
2439
|
+
}, So = () => ({
|
|
2440
|
+
boy: rs,
|
|
2441
|
+
girl: ns,
|
|
2384
2442
|
phone: "",
|
|
2385
2443
|
email: "",
|
|
2386
2444
|
reportLanguage: ""
|
|
2387
|
-
}),
|
|
2388
|
-
ctaIncomplete:
|
|
2389
|
-
ctaCompleted:
|
|
2390
|
-
ctaWithArrow:
|
|
2391
|
-
chevronRight:
|
|
2392
|
-
},
|
|
2445
|
+
}), ss = "_ctaIncomplete_s0fgg_1", os = "_ctaCompleted_s0fgg_19", cs = "_ctaWithArrow_s0fgg_45", ls = "_chevronRight_s0fgg_54", Me = {
|
|
2446
|
+
ctaIncomplete: ss,
|
|
2447
|
+
ctaCompleted: os,
|
|
2448
|
+
ctaWithArrow: cs,
|
|
2449
|
+
chevronRight: ls
|
|
2450
|
+
}, ds = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", us = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ms = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", hs = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ps = ({ t }) => /* @__PURE__ */ e.jsxs(
|
|
2393
2451
|
"div",
|
|
2394
2452
|
{
|
|
2395
2453
|
className: pe.marqueeContent,
|
|
@@ -2398,7 +2456,7 @@ const Qi = {
|
|
|
2398
2456
|
/* @__PURE__ */ e.jsx(
|
|
2399
2457
|
"img",
|
|
2400
2458
|
{
|
|
2401
|
-
src:
|
|
2459
|
+
src: ds,
|
|
2402
2460
|
alt: "",
|
|
2403
2461
|
className: pe.badgeIcon,
|
|
2404
2462
|
width: 16,
|
|
@@ -2412,7 +2470,7 @@ const Qi = {
|
|
|
2412
2470
|
/* @__PURE__ */ e.jsx(
|
|
2413
2471
|
"img",
|
|
2414
2472
|
{
|
|
2415
|
-
src:
|
|
2473
|
+
src: us,
|
|
2416
2474
|
alt: "",
|
|
2417
2475
|
className: pe.badgeIcon,
|
|
2418
2476
|
width: 16,
|
|
@@ -2426,7 +2484,7 @@ const Qi = {
|
|
|
2426
2484
|
/* @__PURE__ */ e.jsx(
|
|
2427
2485
|
"img",
|
|
2428
2486
|
{
|
|
2429
|
-
src:
|
|
2487
|
+
src: ms,
|
|
2430
2488
|
alt: "",
|
|
2431
2489
|
className: pe.badgeIcon,
|
|
2432
2490
|
width: 16,
|
|
@@ -2438,20 +2496,20 @@ const Qi = {
|
|
|
2438
2496
|
] })
|
|
2439
2497
|
]
|
|
2440
2498
|
}
|
|
2441
|
-
),
|
|
2499
|
+
), gs = (t) => /.+@.+\..+/.test(t), fs = (t) => /^\d{10}$/.test(t), _s = (t, n = !1) => !t.boy.fullName || t.boy.fullName.trim() === "" ? "boy.fullName" : !t.boy.dateOfBirth || t.boy.dateOfBirth.trim() === "" ? "boy.dateOfBirth" : !t.boy.birthTimeUnknown && (!t.boy.birthTime || t.boy.birthTime.trim() === "") ? "boy.birthTime" : !t.boy.birthPlace || t.boy.birthPlace.trim() === "" ? "boy.birthPlace" : !t.girl.fullName || t.girl.fullName.trim() === "" ? "girl.fullName" : !t.girl.dateOfBirth || t.girl.dateOfBirth.trim() === "" ? "girl.dateOfBirth" : !t.girl.birthTimeUnknown && (!t.girl.birthTime || t.girl.birthTime.trim() === "") ? "girl.birthTime" : !t.girl.birthPlace || t.girl.birthPlace.trim() === "" ? "girl.birthPlace" : !n && (!t.phone || !fs(t.phone)) ? "phone" : n && (!t.email || !gs(t.email)) ? "email" : !t.reportLanguage || t.reportLanguage.trim() === "" ? "reportLanguage" : null, bs = ({
|
|
2442
2500
|
t,
|
|
2443
|
-
values:
|
|
2444
|
-
onProceed:
|
|
2501
|
+
values: n,
|
|
2502
|
+
onProceed: d,
|
|
2445
2503
|
isGlobal: r = !1,
|
|
2446
|
-
className:
|
|
2504
|
+
className: l = ""
|
|
2447
2505
|
}) => {
|
|
2448
|
-
const h =
|
|
2449
|
-
() =>
|
|
2450
|
-
[
|
|
2451
|
-
),
|
|
2452
|
-
if (p.preventDefault(), !
|
|
2506
|
+
const h = qe(
|
|
2507
|
+
() => _s(n, r),
|
|
2508
|
+
[n, r]
|
|
2509
|
+
), c = h === null, _ = (p) => {
|
|
2510
|
+
if (p.preventDefault(), !c) {
|
|
2453
2511
|
if (h) {
|
|
2454
|
-
const
|
|
2512
|
+
const k = {
|
|
2455
2513
|
"boy.fullName": "boy-full-name",
|
|
2456
2514
|
"boy.dateOfBirth": "boy-dob",
|
|
2457
2515
|
"boy.birthTime": "boy-birth-time",
|
|
@@ -2463,28 +2521,28 @@ const Qi = {
|
|
|
2463
2521
|
phone: "kundli-matching-phone",
|
|
2464
2522
|
email: "kundli-matching-email",
|
|
2465
2523
|
reportLanguage: "language-selector"
|
|
2466
|
-
}[h], g = document.getElementById(
|
|
2524
|
+
}[h], g = document.getElementById(k);
|
|
2467
2525
|
g && (g.scrollIntoView({ behavior: "smooth", block: "center" }), (g.tagName === "INPUT" || g.tagName === "TEXTAREA") && setTimeout(() => g.focus(), 500));
|
|
2468
2526
|
}
|
|
2469
2527
|
return;
|
|
2470
2528
|
}
|
|
2471
|
-
|
|
2529
|
+
d();
|
|
2472
2530
|
};
|
|
2473
|
-
return /* @__PURE__ */ e.jsxs(
|
|
2474
|
-
/* @__PURE__ */ e.jsx(Yt, { children: /* @__PURE__ */ e.jsx(
|
|
2531
|
+
return /* @__PURE__ */ e.jsxs(Vt, { className: l, children: [
|
|
2532
|
+
/* @__PURE__ */ e.jsx(Yt, { children: /* @__PURE__ */ e.jsx(ps, { t }) }),
|
|
2475
2533
|
/* @__PURE__ */ e.jsx(
|
|
2476
2534
|
Jt,
|
|
2477
2535
|
{
|
|
2478
|
-
onClick:
|
|
2479
|
-
className:
|
|
2480
|
-
children:
|
|
2536
|
+
onClick: _,
|
|
2537
|
+
className: c ? Me.ctaCompleted : Me.ctaIncomplete,
|
|
2538
|
+
children: c ? /* @__PURE__ */ e.jsxs("span", { className: Me.ctaWithArrow, children: [
|
|
2481
2539
|
t("ctaButtonSelectPlan"),
|
|
2482
2540
|
/* @__PURE__ */ e.jsx(
|
|
2483
2541
|
"img",
|
|
2484
2542
|
{
|
|
2485
|
-
src:
|
|
2543
|
+
src: hs,
|
|
2486
2544
|
alt: "",
|
|
2487
|
-
className:
|
|
2545
|
+
className: Me.chevronRight,
|
|
2488
2546
|
width: 20,
|
|
2489
2547
|
height: 20,
|
|
2490
2548
|
loading: "lazy"
|
|
@@ -2494,7 +2552,7 @@ const Qi = {
|
|
|
2494
2552
|
}
|
|
2495
2553
|
)
|
|
2496
2554
|
] });
|
|
2497
|
-
},
|
|
2555
|
+
}, ys = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2498
2556
|
"path",
|
|
2499
2557
|
{
|
|
2500
2558
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2503,7 +2561,7 @@ const Qi = {
|
|
|
2503
2561
|
strokeLinecap: "round",
|
|
2504
2562
|
strokeLinejoin: "round"
|
|
2505
2563
|
}
|
|
2506
|
-
) }),
|
|
2564
|
+
) }), vs = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2507
2565
|
"path",
|
|
2508
2566
|
{
|
|
2509
2567
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2511,67 +2569,67 @@ const Qi = {
|
|
|
2511
2569
|
strokeWidth: "1.8",
|
|
2512
2570
|
strokeLinecap: "round"
|
|
2513
2571
|
}
|
|
2514
|
-
) }),
|
|
2572
|
+
) }), xs = () => /* @__PURE__ */ e.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__ */ e.jsx("path", { d: "M15 18l-6-6 6-6" }) }), ks = () => /* @__PURE__ */ e.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: [
|
|
2515
2573
|
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2516
2574
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2517
|
-
] }),
|
|
2518
|
-
overlay:
|
|
2519
|
-
sheet:
|
|
2520
|
-
header:
|
|
2521
|
-
backBtn:
|
|
2522
|
-
title:
|
|
2523
|
-
plansContainer:
|
|
2524
|
-
planCard:
|
|
2525
|
-
withBadgeSpacing:
|
|
2526
|
-
planCardSelected:
|
|
2527
|
-
planCardPopular:
|
|
2528
|
-
popularBadge:
|
|
2529
|
-
planCardInner:
|
|
2530
|
-
planTitleRow:
|
|
2531
|
-
planTitle:
|
|
2532
|
-
radioCircle:
|
|
2533
|
-
radioChecked:
|
|
2534
|
-
radioInner:
|
|
2535
|
-
priceRow:
|
|
2536
|
-
price:
|
|
2537
|
-
originalPrice:
|
|
2538
|
-
savingsBadge:
|
|
2539
|
-
featureList:
|
|
2540
|
-
featureItem:
|
|
2541
|
-
featureIcon:
|
|
2542
|
-
featureText:
|
|
2543
|
-
astrologerHeading:
|
|
2544
|
-
astrologerList:
|
|
2545
|
-
astrologerCard:
|
|
2546
|
-
astrologerAvatar:
|
|
2547
|
-
astrologerAvatarPlaceholder:
|
|
2548
|
-
astrologerTop:
|
|
2549
|
-
astrologerBasicInfo:
|
|
2550
|
-
astrologerName:
|
|
2551
|
-
astrologerExp:
|
|
2552
|
-
astrologerDivider:
|
|
2553
|
-
planDivider:
|
|
2554
|
-
astrologerCertList:
|
|
2555
|
-
astrologerCertItem:
|
|
2556
|
-
bullet:
|
|
2557
|
-
footer:
|
|
2558
|
-
proceedBtn:
|
|
2559
|
-
},
|
|
2575
|
+
] }), js = "_overlay_1b9s5_2", Ns = "_sheet_1b9s5_12", ws = "_header_1b9s5_36", Ps = "_backBtn_1b9s5_48", Ts = "_title_1b9s5_66", Cs = "_plansContainer_1b9s5_78", Is = "_planCard_1b9s5_87", Ss = "_withBadgeSpacing_1b9s5_101", Rs = "_planCardSelected_1b9s5_105", Bs = "_planCardPopular_1b9s5_110", Es = "_popularBadge_1b9s5_119", As = "_planCardInner_1b9s5_137", Ds = "_planTitleRow_1b9s5_142", Ls = "_planTitle_1b9s5_142", Os = "_radioCircle_1b9s5_157", Ms = "_radioChecked_1b9s5_170", $s = "_radioInner_1b9s5_175", Fs = "_priceRow_1b9s5_183", zs = "_price_1b9s5_183", Ws = "_originalPrice_1b9s5_196", Us = "_savingsBadge_1b9s5_203", qs = "_featureList_1b9s5_213", Ks = "_featureItem_1b9s5_222", Hs = "_featureIcon_1b9s5_228", Gs = "_featureText_1b9s5_234", Vs = "_astrologerHeading_1b9s5_241", Ys = "_astrologerList_1b9s5_248", Js = "_astrologerCard_1b9s5_262", Qs = "_astrologerAvatar_1b9s5_276", Xs = "_astrologerAvatarPlaceholder_1b9s5_293", Zs = "_astrologerTop_1b9s5_299", eo = "_astrologerBasicInfo_1b9s5_305", to = "_astrologerName_1b9s5_312", ao = "_astrologerExp_1b9s5_321", ro = "_astrologerDivider_1b9s5_327", no = "_planDivider_1b9s5_333", io = "_astrologerCertList_1b9s5_340", so = "_astrologerCertItem_1b9s5_346", oo = "_bullet_1b9s5_354", co = "_footer_1b9s5_359", lo = "_proceedBtn_1b9s5_369", N = {
|
|
2576
|
+
overlay: js,
|
|
2577
|
+
sheet: Ns,
|
|
2578
|
+
header: ws,
|
|
2579
|
+
backBtn: Ps,
|
|
2580
|
+
title: Ts,
|
|
2581
|
+
plansContainer: Cs,
|
|
2582
|
+
planCard: Is,
|
|
2583
|
+
withBadgeSpacing: Ss,
|
|
2584
|
+
planCardSelected: Rs,
|
|
2585
|
+
planCardPopular: Bs,
|
|
2586
|
+
popularBadge: Es,
|
|
2587
|
+
planCardInner: As,
|
|
2588
|
+
planTitleRow: Ds,
|
|
2589
|
+
planTitle: Ls,
|
|
2590
|
+
radioCircle: Os,
|
|
2591
|
+
radioChecked: Ms,
|
|
2592
|
+
radioInner: $s,
|
|
2593
|
+
priceRow: Fs,
|
|
2594
|
+
price: zs,
|
|
2595
|
+
originalPrice: Ws,
|
|
2596
|
+
savingsBadge: Us,
|
|
2597
|
+
featureList: qs,
|
|
2598
|
+
featureItem: Ks,
|
|
2599
|
+
featureIcon: Hs,
|
|
2600
|
+
featureText: Gs,
|
|
2601
|
+
astrologerHeading: Vs,
|
|
2602
|
+
astrologerList: Ys,
|
|
2603
|
+
astrologerCard: Js,
|
|
2604
|
+
astrologerAvatar: Qs,
|
|
2605
|
+
astrologerAvatarPlaceholder: Xs,
|
|
2606
|
+
astrologerTop: Zs,
|
|
2607
|
+
astrologerBasicInfo: eo,
|
|
2608
|
+
astrologerName: to,
|
|
2609
|
+
astrologerExp: ao,
|
|
2610
|
+
astrologerDivider: ro,
|
|
2611
|
+
planDivider: no,
|
|
2612
|
+
astrologerCertList: io,
|
|
2613
|
+
astrologerCertItem: so,
|
|
2614
|
+
bullet: oo,
|
|
2615
|
+
footer: co,
|
|
2616
|
+
proceedBtn: lo
|
|
2617
|
+
}, uo = ({ title: t, onBack: n }) => /* @__PURE__ */ e.jsxs("div", { className: N.header, children: [
|
|
2560
2618
|
/* @__PURE__ */ e.jsx(
|
|
2561
2619
|
"button",
|
|
2562
2620
|
{
|
|
2563
2621
|
className: N.backBtn,
|
|
2564
|
-
onClick:
|
|
2622
|
+
onClick: n,
|
|
2565
2623
|
"aria-label": "Go back",
|
|
2566
2624
|
type: "button",
|
|
2567
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2625
|
+
children: /* @__PURE__ */ e.jsx(xs, {})
|
|
2568
2626
|
}
|
|
2569
2627
|
),
|
|
2570
2628
|
/* @__PURE__ */ e.jsx("h2", { className: N.title, children: t })
|
|
2571
|
-
] }),
|
|
2572
|
-
/* @__PURE__ */ e.jsx("span", { className: N.featureIcon, children:
|
|
2573
|
-
/* @__PURE__ */ e.jsx("span", { className: N.featureText, children:
|
|
2574
|
-
] }, r)) }),
|
|
2629
|
+
] }), mo = ({ features: t, t: n }) => /* @__PURE__ */ e.jsx("ul", { className: N.featureList, "aria-label": "Plan features", children: t.map((d, r) => /* @__PURE__ */ e.jsxs("li", { className: N.featureItem, children: [
|
|
2630
|
+
/* @__PURE__ */ e.jsx("span", { className: N.featureIcon, children: d.included ? /* @__PURE__ */ e.jsx(ys, {}) : /* @__PURE__ */ e.jsx(vs, {}) }),
|
|
2631
|
+
/* @__PURE__ */ e.jsx("span", { className: N.featureText, children: n?.(d.text) ?? d.text })
|
|
2632
|
+
] }, r)) }), ho = ({ astrologer: t }) => /* @__PURE__ */ e.jsxs("div", { className: N.astrologerCard, children: [
|
|
2575
2633
|
/* @__PURE__ */ e.jsxs("div", { className: N.astrologerTop, children: [
|
|
2576
2634
|
/* @__PURE__ */ e.jsx("div", { className: N.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: t.imageUrl, alt: t.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: N.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2577
2635
|
/* @__PURE__ */ e.jsxs("div", { className: N.astrologerBasicInfo, children: [
|
|
@@ -2580,43 +2638,43 @@ const Qi = {
|
|
|
2580
2638
|
] })
|
|
2581
2639
|
] }),
|
|
2582
2640
|
/* @__PURE__ */ e.jsx("div", { className: N.astrologerDivider }),
|
|
2583
|
-
/* @__PURE__ */ e.jsx("div", { className: N.astrologerCertList, children: t.certifications.map((
|
|
2641
|
+
/* @__PURE__ */ e.jsx("div", { className: N.astrologerCertList, children: t.certifications.map((n, d) => /* @__PURE__ */ e.jsxs("p", { className: N.astrologerCertItem, children: [
|
|
2584
2642
|
/* @__PURE__ */ e.jsx("span", { className: N.bullet, children: "•" }),
|
|
2585
2643
|
" ",
|
|
2586
|
-
|
|
2587
|
-
] },
|
|
2588
|
-
] }),
|
|
2589
|
-
/* @__PURE__ */ e.jsx(
|
|
2644
|
+
n
|
|
2645
|
+
] }, d)) })
|
|
2646
|
+
] }), po = ({ label: t }) => /* @__PURE__ */ e.jsxs("div", { className: N.popularBadge, "aria-label": t, children: [
|
|
2647
|
+
/* @__PURE__ */ e.jsx(ks, {}),
|
|
2590
2648
|
/* @__PURE__ */ e.jsx("span", { children: t })
|
|
2591
|
-
] }),
|
|
2592
|
-
const
|
|
2593
|
-
(
|
|
2649
|
+
] }), go = ({ plan: t, isSelected: n, onSelect: d, t: r }) => {
|
|
2650
|
+
const l = () => d(t.id), h = (c) => {
|
|
2651
|
+
(c.key === " " || c.key === "Enter") && (c.preventDefault(), d(t.id));
|
|
2594
2652
|
};
|
|
2595
2653
|
return /* @__PURE__ */ e.jsxs(
|
|
2596
2654
|
"div",
|
|
2597
2655
|
{
|
|
2598
2656
|
className: [
|
|
2599
2657
|
N.planCard,
|
|
2600
|
-
|
|
2601
|
-
|
|
2658
|
+
n ? N.planCardSelected : "",
|
|
2659
|
+
n && N.planCardPopular
|
|
2602
2660
|
].filter(Boolean).join(" "),
|
|
2603
|
-
onClick:
|
|
2661
|
+
onClick: l,
|
|
2604
2662
|
role: "radio",
|
|
2605
|
-
"aria-checked":
|
|
2663
|
+
"aria-checked": n,
|
|
2606
2664
|
tabIndex: 0,
|
|
2607
2665
|
onKeyDown: h,
|
|
2608
2666
|
"data-plan-id": t.id,
|
|
2609
2667
|
children: [
|
|
2610
|
-
t.badge && /* @__PURE__ */ e.jsx(
|
|
2668
|
+
t.badge && /* @__PURE__ */ e.jsx(po, { label: t.badge }),
|
|
2611
2669
|
/* @__PURE__ */ e.jsxs("div", { className: N.planCardInner, children: [
|
|
2612
2670
|
/* @__PURE__ */ e.jsxs("div", { className: `${N.planTitleRow} ${t.badge ? N.withBadgeSpacing : ""}`, children: [
|
|
2613
2671
|
/* @__PURE__ */ e.jsx("span", { className: N.planTitle, children: t.title }),
|
|
2614
2672
|
/* @__PURE__ */ e.jsx(
|
|
2615
2673
|
"span",
|
|
2616
2674
|
{
|
|
2617
|
-
className: `${N.radioCircle} ${
|
|
2675
|
+
className: `${N.radioCircle} ${n ? N.radioChecked : ""}`,
|
|
2618
2676
|
"aria-hidden": !0,
|
|
2619
|
-
children:
|
|
2677
|
+
children: n && /* @__PURE__ */ e.jsx("span", { className: N.radioInner })
|
|
2620
2678
|
}
|
|
2621
2679
|
)
|
|
2622
2680
|
] }),
|
|
@@ -2625,17 +2683,17 @@ const Qi = {
|
|
|
2625
2683
|
t.originalPrice && /* @__PURE__ */ e.jsx("span", { className: N.originalPrice, children: t.originalPrice }),
|
|
2626
2684
|
t.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: N.savingsBadge, children: t.savingsLabel })
|
|
2627
2685
|
] }),
|
|
2628
|
-
/* @__PURE__ */ e.jsx(
|
|
2686
|
+
/* @__PURE__ */ e.jsx(mo, { features: t.features, t: r }),
|
|
2629
2687
|
t.astrologers && /* @__PURE__ */ e.jsx("div", { className: N.planDivider }),
|
|
2630
2688
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2631
2689
|
/* @__PURE__ */ e.jsx("p", { className: N.astrologerHeading, children: "We will assign you a top astrologer from below" }),
|
|
2632
|
-
/* @__PURE__ */ e.jsx("div", { className: N.astrologerList, role: "list", children: t.astrologers.map((
|
|
2690
|
+
/* @__PURE__ */ e.jsx("div", { className: N.astrologerList, role: "list", children: t.astrologers.map((c, _) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ho, { astrologer: c, t: r }) }, _)) })
|
|
2633
2691
|
] })
|
|
2634
2692
|
] })
|
|
2635
2693
|
]
|
|
2636
2694
|
}
|
|
2637
2695
|
);
|
|
2638
|
-
},
|
|
2696
|
+
}, fo = [
|
|
2639
2697
|
{
|
|
2640
2698
|
id: "jyoti",
|
|
2641
2699
|
name: "Jyoti Acharya Neeraj",
|
|
@@ -2666,7 +2724,7 @@ const Qi = {
|
|
|
2666
2724
|
"Mantra & Rudraksha Specialist"
|
|
2667
2725
|
]
|
|
2668
2726
|
}
|
|
2669
|
-
],
|
|
2727
|
+
], _o = (t = !1) => [
|
|
2670
2728
|
{
|
|
2671
2729
|
id: "matching-report",
|
|
2672
2730
|
title: "Kundli Matching Report",
|
|
@@ -2694,25 +2752,25 @@ const Qi = {
|
|
|
2694
2752
|
{ text: "Discuss doshas, future possibilities, family concerns, and compatibility", included: !0 },
|
|
2695
2753
|
{ text: "Get direct answers, custom remedies & real-time clarity", included: !0 }
|
|
2696
2754
|
],
|
|
2697
|
-
astrologers:
|
|
2755
|
+
astrologers: fo
|
|
2698
2756
|
}
|
|
2699
|
-
],
|
|
2757
|
+
], bo = ({
|
|
2700
2758
|
isOpen: t,
|
|
2701
|
-
onClose:
|
|
2702
|
-
selectedPlan:
|
|
2759
|
+
onClose: n,
|
|
2760
|
+
selectedPlan: d,
|
|
2703
2761
|
onSelectPlan: r,
|
|
2704
|
-
plans:
|
|
2762
|
+
plans: l,
|
|
2705
2763
|
onProceed: h,
|
|
2706
|
-
isGlobal:
|
|
2707
|
-
t:
|
|
2764
|
+
isGlobal: c = !1,
|
|
2765
|
+
t: _
|
|
2708
2766
|
}) => {
|
|
2709
|
-
const p =
|
|
2710
|
-
return
|
|
2711
|
-
if (t && !
|
|
2767
|
+
const p = l ?? _o(c), w = d?.id || p.find((g) => g.badge)?.id || p[0]?.id || "", k = z(null);
|
|
2768
|
+
return V(() => {
|
|
2769
|
+
if (t && !d) {
|
|
2712
2770
|
const g = p.find((j) => j.badge) ?? p[0];
|
|
2713
2771
|
g && r(g);
|
|
2714
2772
|
}
|
|
2715
|
-
}, [t, p,
|
|
2773
|
+
}, [t, p, d, r]), V(() => {
|
|
2716
2774
|
if (!t) return;
|
|
2717
2775
|
const g = document.body.style.overflow;
|
|
2718
2776
|
return document.body.style.overflow = "hidden", () => {
|
|
@@ -2724,24 +2782,24 @@ const Qi = {
|
|
|
2724
2782
|
className: N.overlay,
|
|
2725
2783
|
role: "dialog",
|
|
2726
2784
|
"aria-modal": "true",
|
|
2727
|
-
"aria-label":
|
|
2728
|
-
children: /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2785
|
+
"aria-label": _?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
2786
|
+
children: /* @__PURE__ */ e.jsxs("div", { ref: k, className: N.sheet, children: [
|
|
2729
2787
|
/* @__PURE__ */ e.jsx(
|
|
2730
|
-
|
|
2788
|
+
uo,
|
|
2731
2789
|
{
|
|
2732
|
-
title:
|
|
2733
|
-
onBack:
|
|
2790
|
+
title: _?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
2791
|
+
onBack: n
|
|
2734
2792
|
}
|
|
2735
2793
|
),
|
|
2736
2794
|
/* @__PURE__ */ e.jsx("div", { className: N.plansContainer, role: "radiogroup", "aria-label": "Kundli matching plans", children: p.map((g) => /* @__PURE__ */ e.jsx(
|
|
2737
|
-
|
|
2795
|
+
go,
|
|
2738
2796
|
{
|
|
2739
2797
|
plan: g,
|
|
2740
2798
|
isSelected: g.id === w,
|
|
2741
|
-
t:
|
|
2799
|
+
t: _,
|
|
2742
2800
|
onSelect: (j) => {
|
|
2743
|
-
const
|
|
2744
|
-
|
|
2801
|
+
const E = p.find((x) => x.id === j);
|
|
2802
|
+
E && r(E);
|
|
2745
2803
|
}
|
|
2746
2804
|
},
|
|
2747
2805
|
g.id
|
|
@@ -2750,17 +2808,17 @@ const Qi = {
|
|
|
2750
2808
|
"button",
|
|
2751
2809
|
{
|
|
2752
2810
|
className: N.proceedBtn,
|
|
2753
|
-
disabled: !
|
|
2811
|
+
disabled: !d,
|
|
2754
2812
|
onClick: () => {
|
|
2755
|
-
|
|
2813
|
+
d && (h(d), n());
|
|
2756
2814
|
},
|
|
2757
|
-
children:
|
|
2815
|
+
children: d ? "Proceed to Payment" : "Select a plan"
|
|
2758
2816
|
}
|
|
2759
2817
|
) })
|
|
2760
2818
|
] })
|
|
2761
2819
|
}
|
|
2762
2820
|
) : null;
|
|
2763
|
-
}, He = _t(null),
|
|
2821
|
+
}, He = _t(null), yo = {
|
|
2764
2822
|
boy: {
|
|
2765
2823
|
fullName: "",
|
|
2766
2824
|
dateOfBirth: "",
|
|
@@ -2776,50 +2834,50 @@ const Qi = {
|
|
|
2776
2834
|
birthPlace: ""
|
|
2777
2835
|
},
|
|
2778
2836
|
reportLanguage: ""
|
|
2779
|
-
},
|
|
2837
|
+
}, vo = ({
|
|
2780
2838
|
locale: t,
|
|
2781
|
-
showLanguageSelector:
|
|
2782
|
-
isGlobal:
|
|
2839
|
+
showLanguageSelector: n = !0,
|
|
2840
|
+
isGlobal: d,
|
|
2783
2841
|
googleMapsApiKey: r,
|
|
2784
|
-
plans:
|
|
2842
|
+
plans: l,
|
|
2785
2843
|
onProceed: h,
|
|
2786
|
-
analytics:
|
|
2787
|
-
onLocaleChange:
|
|
2844
|
+
analytics: c,
|
|
2845
|
+
onLocaleChange: _,
|
|
2788
2846
|
children: p
|
|
2789
2847
|
}) => {
|
|
2790
|
-
const [w,
|
|
2791
|
-
|
|
2792
|
-
if (
|
|
2793
|
-
|
|
2848
|
+
const [w, k] = F(t ?? "en"), [g, j] = F(yo), E = z(!0);
|
|
2849
|
+
V(() => {
|
|
2850
|
+
if (E.current) {
|
|
2851
|
+
E.current = !1;
|
|
2794
2852
|
return;
|
|
2795
2853
|
}
|
|
2796
|
-
|
|
2797
|
-
}, [w,
|
|
2798
|
-
const x =
|
|
2854
|
+
_?.(w);
|
|
2855
|
+
}, [w, _]);
|
|
2856
|
+
const x = qe(
|
|
2799
2857
|
() => ({
|
|
2800
2858
|
locale: t,
|
|
2801
|
-
showLanguageSelector:
|
|
2802
|
-
isGlobal:
|
|
2859
|
+
showLanguageSelector: n,
|
|
2860
|
+
isGlobal: d,
|
|
2803
2861
|
googleMapsApiKey: r,
|
|
2804
|
-
plans:
|
|
2862
|
+
plans: l,
|
|
2805
2863
|
onProceed: h,
|
|
2806
|
-
analytics:
|
|
2807
|
-
onLocaleChange:
|
|
2864
|
+
analytics: c,
|
|
2865
|
+
onLocaleChange: _
|
|
2808
2866
|
}),
|
|
2809
2867
|
[
|
|
2810
2868
|
t,
|
|
2811
|
-
|
|
2812
|
-
|
|
2869
|
+
n,
|
|
2870
|
+
d,
|
|
2813
2871
|
r,
|
|
2814
|
-
|
|
2872
|
+
l,
|
|
2815
2873
|
h,
|
|
2816
|
-
|
|
2817
|
-
|
|
2874
|
+
c,
|
|
2875
|
+
_
|
|
2818
2876
|
]
|
|
2819
|
-
), S =
|
|
2877
|
+
), S = qe(
|
|
2820
2878
|
() => ({
|
|
2821
2879
|
locale: w,
|
|
2822
|
-
setLocale:
|
|
2880
|
+
setLocale: k,
|
|
2823
2881
|
config: x,
|
|
2824
2882
|
formValues: g,
|
|
2825
2883
|
setFormValues: j
|
|
@@ -2828,16 +2886,16 @@ const Qi = {
|
|
|
2828
2886
|
);
|
|
2829
2887
|
return /* @__PURE__ */ e.jsx(He.Provider, { value: S, children: p });
|
|
2830
2888
|
};
|
|
2831
|
-
function
|
|
2832
|
-
return
|
|
2889
|
+
function Ro() {
|
|
2890
|
+
return Ke(He);
|
|
2833
2891
|
}
|
|
2834
|
-
function
|
|
2835
|
-
const t =
|
|
2892
|
+
function xo() {
|
|
2893
|
+
const t = Ke(He);
|
|
2836
2894
|
if (!t)
|
|
2837
2895
|
throw new Error("useKundliMatchingContextOrThrow must be used within KundliMatchingProvider");
|
|
2838
2896
|
return t;
|
|
2839
2897
|
}
|
|
2840
|
-
const
|
|
2898
|
+
const ko = ["en", "hi"], gt = {
|
|
2841
2899
|
en: "English",
|
|
2842
2900
|
hi: "हिन्दी"
|
|
2843
2901
|
}, yt = {
|
|
@@ -2964,6 +3022,8 @@ const _o = ["en", "hi"], gt = {
|
|
|
2964
3022
|
compatibility: "Compatibility",
|
|
2965
3023
|
info: "Info",
|
|
2966
3024
|
// Form Section
|
|
3025
|
+
formHeading: "Enter your information",
|
|
3026
|
+
formSubheading: "Fill out the form below to get started and unlock your fortune!",
|
|
2967
3027
|
formBoyTitle: "Enter Boy's details",
|
|
2968
3028
|
formGirlTitle: "Enter Girl's details",
|
|
2969
3029
|
formContactTitle: "Contact Details",
|
|
@@ -3152,6 +3212,8 @@ const _o = ["en", "hi"], gt = {
|
|
|
3152
3212
|
compatibility: "अनुकूलता",
|
|
3153
3213
|
info: "जानकारी",
|
|
3154
3214
|
// Form Section
|
|
3215
|
+
formHeading: "अपनी जानकारी दर्ज करें",
|
|
3216
|
+
formSubheading: "शुरू करने के लिए नीचे दिया गया फॉर्म भरें और अपनी किस्मत को अनलॉक करें!",
|
|
3155
3217
|
formBoyTitle: "लड़के की जानकारी दर्ज करें",
|
|
3156
3218
|
formGirlTitle: "लड़की की जानकारी दर्ज करें",
|
|
3157
3219
|
formContactTitle: "संपर्क विवरण",
|
|
@@ -3217,57 +3279,57 @@ const _o = ["en", "hi"], gt = {
|
|
|
3217
3279
|
faqQ4: "क्या कोई धनवापसी नीति है?",
|
|
3218
3280
|
faqA4: "हां, हम संतुष्टि की गारंटी प्रदान करते हैं। यदि आप रिपोर्ट की गुणवत्ता से खुश नहीं हैं, तो कृपया अपनी रिपोर्ट प्राप्त करने के 7 दिनों के भीतर हमारी सहायता टीम से संपर्क करें और हम धनवापसी में आपकी सहायता करेंगे।"
|
|
3219
3281
|
}
|
|
3220
|
-
},
|
|
3221
|
-
function
|
|
3282
|
+
}, jo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", No = 120, wo = (t, n) => yt[t]?.[n] ?? n;
|
|
3283
|
+
function de({
|
|
3222
3284
|
section: t,
|
|
3223
|
-
onImpression:
|
|
3224
|
-
children:
|
|
3285
|
+
onImpression: n,
|
|
3286
|
+
children: d
|
|
3225
3287
|
}) {
|
|
3226
|
-
const r =
|
|
3227
|
-
return
|
|
3288
|
+
const r = z(null), l = z(!1);
|
|
3289
|
+
return V(() => {
|
|
3228
3290
|
const h = r.current;
|
|
3229
3291
|
if (!h) return;
|
|
3230
|
-
const
|
|
3231
|
-
([
|
|
3232
|
-
!
|
|
3292
|
+
const c = new IntersectionObserver(
|
|
3293
|
+
([_]) => {
|
|
3294
|
+
!_?.isIntersecting || l.current || (l.current = !0, n(t));
|
|
3233
3295
|
},
|
|
3234
3296
|
{
|
|
3235
3297
|
threshold: 0.1,
|
|
3236
3298
|
// Shrink bottom of viewport by CTA footer height
|
|
3237
|
-
rootMargin: `0px 0px -${
|
|
3299
|
+
rootMargin: `0px 0px -${No}px 0px`
|
|
3238
3300
|
}
|
|
3239
3301
|
);
|
|
3240
|
-
return
|
|
3241
|
-
}, [t,
|
|
3302
|
+
return c.observe(h), () => c.disconnect();
|
|
3303
|
+
}, [t, n]), /* @__PURE__ */ e.jsx("div", { ref: r, children: d });
|
|
3242
3304
|
}
|
|
3243
|
-
const
|
|
3305
|
+
const Bo = ({
|
|
3244
3306
|
className: t = "",
|
|
3245
|
-
locale:
|
|
3246
|
-
showLanguageSelector:
|
|
3307
|
+
locale: n,
|
|
3308
|
+
showLanguageSelector: d = !0,
|
|
3247
3309
|
isGlobal: r = !1,
|
|
3248
|
-
analytics:
|
|
3310
|
+
analytics: l,
|
|
3249
3311
|
googleMapsApiKey: h,
|
|
3250
|
-
plans:
|
|
3251
|
-
onProceed:
|
|
3312
|
+
plans: c,
|
|
3313
|
+
onProceed: _,
|
|
3252
3314
|
onLocaleChange: p
|
|
3253
3315
|
}) => /* @__PURE__ */ e.jsx(
|
|
3254
|
-
|
|
3316
|
+
vo,
|
|
3255
3317
|
{
|
|
3256
|
-
locale:
|
|
3257
|
-
showLanguageSelector:
|
|
3318
|
+
locale: n,
|
|
3319
|
+
showLanguageSelector: d,
|
|
3258
3320
|
isGlobal: r,
|
|
3259
3321
|
googleMapsApiKey: h,
|
|
3260
|
-
plans:
|
|
3261
|
-
onProceed:
|
|
3262
|
-
analytics:
|
|
3322
|
+
plans: c,
|
|
3323
|
+
onProceed: _,
|
|
3324
|
+
analytics: l,
|
|
3263
3325
|
onLocaleChange: p,
|
|
3264
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3326
|
+
children: /* @__PURE__ */ e.jsx(Po, { className: t })
|
|
3265
3327
|
}
|
|
3266
3328
|
);
|
|
3267
|
-
function
|
|
3268
|
-
const { locale:
|
|
3329
|
+
function Po({ className: t }) {
|
|
3330
|
+
const { locale: n, setLocale: d, config: r, formValues: l, setFormValues: h } = xo(), [c, _] = F(!1), [p, w] = F(
|
|
3269
3331
|
null
|
|
3270
|
-
), [
|
|
3332
|
+
), [k, g] = F(!1), j = z(null), E = z(!1), x = (f) => wo(n, f), S = we((f) => {
|
|
3271
3333
|
({
|
|
3272
3334
|
hero: () => r.analytics?.trackHeroSectionViewed?.(),
|
|
3273
3335
|
features: () => r.analytics?.trackFeaturesSectionViewed?.(),
|
|
@@ -3278,48 +3340,48 @@ function xo({ className: t }) {
|
|
|
3278
3340
|
howItWorks: () => r.analytics?.trackHowItWorksSectionViewed?.(),
|
|
3279
3341
|
whyUs: () => r.analytics?.trackWhyUsSectionViewed?.(),
|
|
3280
3342
|
faq: () => r.analytics?.trackFaqSectionViewed?.()
|
|
3281
|
-
})[
|
|
3343
|
+
})[f]?.();
|
|
3282
3344
|
}, [r.analytics]), H = r.showLanguageSelector ?? !0;
|
|
3283
|
-
|
|
3284
|
-
if (!
|
|
3285
|
-
const
|
|
3286
|
-
j.current && !j.current.contains(
|
|
3345
|
+
V(() => {
|
|
3346
|
+
if (!k) return;
|
|
3347
|
+
const f = (U) => {
|
|
3348
|
+
j.current && !j.current.contains(U.target) && g(!1);
|
|
3287
3349
|
};
|
|
3288
|
-
return document.addEventListener("mousedown",
|
|
3289
|
-
}, [
|
|
3350
|
+
return document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
|
|
3351
|
+
}, [k]), V(() => {
|
|
3290
3352
|
r.analytics?.trackKundliMatchingPageView?.();
|
|
3291
3353
|
}, [r.analytics]);
|
|
3292
|
-
const
|
|
3293
|
-
h((
|
|
3354
|
+
const A = (f) => {
|
|
3355
|
+
h((U) => ({ ...U, ...f }));
|
|
3294
3356
|
}, R = () => {
|
|
3295
3357
|
r.analytics?.trackPrimaryCtaClickedL1?.({
|
|
3296
3358
|
avenue: "kundli_matching_form"
|
|
3297
|
-
}),
|
|
3298
|
-
},
|
|
3299
|
-
w(
|
|
3300
|
-
planId:
|
|
3301
|
-
planName:
|
|
3359
|
+
}), E.current = !1, _(!0);
|
|
3360
|
+
}, P = (f) => {
|
|
3361
|
+
w(f), r.analytics?.trackPlanSelected?.({
|
|
3362
|
+
planId: f.id,
|
|
3363
|
+
planName: f.title
|
|
3302
3364
|
});
|
|
3303
|
-
},
|
|
3304
|
-
|
|
3305
|
-
planId:
|
|
3306
|
-
planName:
|
|
3365
|
+
}, T = (f) => {
|
|
3366
|
+
E.current = !0, r.analytics?.trackPlanProceedClicked?.({
|
|
3367
|
+
planId: f.id,
|
|
3368
|
+
planName: f.title
|
|
3307
3369
|
}), r.analytics?.trackPaymentPartnerPageOpened?.({
|
|
3308
|
-
planId:
|
|
3309
|
-
planName:
|
|
3310
|
-
price:
|
|
3311
|
-
}), r.onProceed ? r.onProceed(
|
|
3312
|
-
},
|
|
3313
|
-
|
|
3314
|
-
},
|
|
3370
|
+
planId: f.id,
|
|
3371
|
+
planName: f.title,
|
|
3372
|
+
price: f.price
|
|
3373
|
+
}), r.onProceed ? r.onProceed(l, f) : console.log("Proceeding to payment:", { formValues: l, plan: f });
|
|
3374
|
+
}, W = () => {
|
|
3375
|
+
E.current || r.analytics?.trackPlanPageClosed?.(), _(!1);
|
|
3376
|
+
}, M = H ? /* @__PURE__ */ e.jsxs("div", { className: "relative", ref: j, children: [
|
|
3315
3377
|
/* @__PURE__ */ e.jsxs(
|
|
3316
3378
|
"button",
|
|
3317
3379
|
{
|
|
3318
3380
|
type: "button",
|
|
3319
3381
|
onClick: () => {
|
|
3320
|
-
r.analytics?.trackLanguageClickedFe?.({ language:
|
|
3382
|
+
r.analytics?.trackLanguageClickedFe?.({ language: n }), g((f) => !f);
|
|
3321
3383
|
},
|
|
3322
|
-
"aria-expanded":
|
|
3384
|
+
"aria-expanded": k,
|
|
3323
3385
|
"aria-haspopup": "listbox",
|
|
3324
3386
|
className: "flex items-center gap-2 px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 rounded-lg transition-colors",
|
|
3325
3387
|
style: {
|
|
@@ -3330,38 +3392,38 @@ function xo({ className: t }) {
|
|
|
3330
3392
|
/* @__PURE__ */ e.jsx(
|
|
3331
3393
|
"img",
|
|
3332
3394
|
{
|
|
3333
|
-
src:
|
|
3395
|
+
src: jo,
|
|
3334
3396
|
alt: "",
|
|
3335
3397
|
width: 16,
|
|
3336
3398
|
height: 16,
|
|
3337
3399
|
style: { display: "inline-block" }
|
|
3338
3400
|
}
|
|
3339
3401
|
),
|
|
3340
|
-
/* @__PURE__ */ e.jsx("span", { children: gt[
|
|
3402
|
+
/* @__PURE__ */ e.jsx("span", { children: gt[n] })
|
|
3341
3403
|
]
|
|
3342
3404
|
}
|
|
3343
3405
|
),
|
|
3344
|
-
|
|
3406
|
+
k && /* @__PURE__ */ e.jsx(
|
|
3345
3407
|
"ul",
|
|
3346
3408
|
{
|
|
3347
3409
|
role: "listbox",
|
|
3348
3410
|
className: "absolute right-0 mt-2 w-32 bg-white border border-gray-200 rounded-lg shadow-lg overflow-hidden z-50",
|
|
3349
|
-
children:
|
|
3411
|
+
children: ko.map((f) => /* @__PURE__ */ e.jsx(
|
|
3350
3412
|
"li",
|
|
3351
3413
|
{
|
|
3352
3414
|
role: "option",
|
|
3353
|
-
"aria-selected":
|
|
3415
|
+
"aria-selected": f === n,
|
|
3354
3416
|
onClick: () => {
|
|
3355
|
-
|
|
3417
|
+
d(f), g(!1);
|
|
3356
3418
|
},
|
|
3357
3419
|
className: "px-4 py-2 text-sm cursor-pointer hover:bg-gray-50 transition-colors",
|
|
3358
3420
|
style: {
|
|
3359
|
-
backgroundColor:
|
|
3360
|
-
fontWeight:
|
|
3421
|
+
backgroundColor: f === n ? "#f3f4f6" : "white",
|
|
3422
|
+
fontWeight: f === n ? "600" : "400"
|
|
3361
3423
|
},
|
|
3362
|
-
children: gt[
|
|
3424
|
+
children: gt[f]
|
|
3363
3425
|
},
|
|
3364
|
-
|
|
3426
|
+
f
|
|
3365
3427
|
))
|
|
3366
3428
|
}
|
|
3367
3429
|
)
|
|
@@ -3371,46 +3433,46 @@ function xo({ className: t }) {
|
|
|
3371
3433
|
ta,
|
|
3372
3434
|
{
|
|
3373
3435
|
t: x,
|
|
3374
|
-
languageSelector:
|
|
3436
|
+
languageSelector: M,
|
|
3375
3437
|
isGlobal: r.isGlobal
|
|
3376
3438
|
}
|
|
3377
3439
|
),
|
|
3378
|
-
/* @__PURE__ */ e.jsx(
|
|
3379
|
-
/* @__PURE__ */ e.jsx(
|
|
3380
|
-
/* @__PURE__ */ e.jsx(
|
|
3381
|
-
/* @__PURE__ */ e.jsx(
|
|
3382
|
-
/* @__PURE__ */ e.jsx(
|
|
3383
|
-
/* @__PURE__ */ e.jsx(
|
|
3384
|
-
|
|
3440
|
+
/* @__PURE__ */ e.jsx(de, { section: "hero", onImpression: S, children: /* @__PURE__ */ e.jsx(_a, { t: x }) }),
|
|
3441
|
+
/* @__PURE__ */ e.jsx(de, { section: "features", onImpression: S, children: /* @__PURE__ */ e.jsx(Na, { t: x }) }),
|
|
3442
|
+
/* @__PURE__ */ e.jsx(de, { section: "sneakPeek", onImpression: S, children: /* @__PURE__ */ e.jsx(Yr, { t: x, analytics: r.analytics }) }),
|
|
3443
|
+
/* @__PURE__ */ e.jsx(de, { section: "testimonials", onImpression: S, children: /* @__PURE__ */ e.jsx(yn, { t: x, analytics: r.analytics }) }),
|
|
3444
|
+
/* @__PURE__ */ e.jsx(de, { section: "benefits", onImpression: S, children: /* @__PURE__ */ e.jsx(Bn, { t: x }) }),
|
|
3445
|
+
/* @__PURE__ */ e.jsx(de, { section: "form", onImpression: S, children: /* @__PURE__ */ e.jsx(
|
|
3446
|
+
is,
|
|
3385
3447
|
{
|
|
3386
3448
|
t: x,
|
|
3387
|
-
values:
|
|
3388
|
-
onUpdate:
|
|
3449
|
+
values: l,
|
|
3450
|
+
onUpdate: A,
|
|
3389
3451
|
googleMapsApiKey: r.googleMapsApiKey,
|
|
3390
3452
|
isGlobal: r.isGlobal,
|
|
3391
3453
|
analytics: r.analytics
|
|
3392
3454
|
}
|
|
3393
3455
|
) }),
|
|
3394
|
-
/* @__PURE__ */ e.jsx(
|
|
3395
|
-
/* @__PURE__ */ e.jsx(
|
|
3396
|
-
/* @__PURE__ */ e.jsx(
|
|
3456
|
+
/* @__PURE__ */ e.jsx(de, { section: "howItWorks", onImpression: S, children: /* @__PURE__ */ e.jsx(Oa, { t: x }) }),
|
|
3457
|
+
/* @__PURE__ */ e.jsx(de, { section: "whyUs", onImpression: S, children: /* @__PURE__ */ e.jsx(zn, { t: x }) }),
|
|
3458
|
+
/* @__PURE__ */ e.jsx(de, { section: "faq", onImpression: S, children: /* @__PURE__ */ e.jsx(Kn, { t: x }) }),
|
|
3397
3459
|
/* @__PURE__ */ e.jsx(
|
|
3398
|
-
|
|
3460
|
+
bs,
|
|
3399
3461
|
{
|
|
3400
3462
|
t: x,
|
|
3401
|
-
values:
|
|
3463
|
+
values: l,
|
|
3402
3464
|
onProceed: R,
|
|
3403
3465
|
isGlobal: r.isGlobal
|
|
3404
3466
|
}
|
|
3405
3467
|
),
|
|
3406
3468
|
/* @__PURE__ */ e.jsx(
|
|
3407
|
-
|
|
3469
|
+
bo,
|
|
3408
3470
|
{
|
|
3409
|
-
isOpen:
|
|
3410
|
-
onClose:
|
|
3471
|
+
isOpen: c,
|
|
3472
|
+
onClose: W,
|
|
3411
3473
|
selectedPlan: p,
|
|
3412
|
-
onSelectPlan:
|
|
3413
|
-
onProceed:
|
|
3474
|
+
onSelectPlan: P,
|
|
3475
|
+
onProceed: T,
|
|
3414
3476
|
plans: r.plans,
|
|
3415
3477
|
isGlobal: r.isGlobal,
|
|
3416
3478
|
t: x
|
|
@@ -3418,38 +3480,38 @@ function xo({ className: t }) {
|
|
|
3418
3480
|
)
|
|
3419
3481
|
] });
|
|
3420
3482
|
}
|
|
3421
|
-
const vt = _t(null),
|
|
3483
|
+
const vt = _t(null), Eo = ({
|
|
3422
3484
|
locale: t,
|
|
3423
|
-
children:
|
|
3485
|
+
children: n
|
|
3424
3486
|
}) => {
|
|
3425
|
-
const r = { locale: t, t: (
|
|
3426
|
-
return /* @__PURE__ */ e.jsx(vt.Provider, { value: r, children:
|
|
3487
|
+
const r = { locale: t, t: (l) => yt[t]?.[l] ?? l };
|
|
3488
|
+
return /* @__PURE__ */ e.jsx(vt.Provider, { value: r, children: n });
|
|
3427
3489
|
};
|
|
3428
|
-
function
|
|
3429
|
-
return
|
|
3490
|
+
function Ao() {
|
|
3491
|
+
return Ke(vt);
|
|
3430
3492
|
}
|
|
3431
3493
|
export {
|
|
3432
|
-
|
|
3433
|
-
|
|
3494
|
+
Bn as BenefitsSection,
|
|
3495
|
+
Kn as FAQSection,
|
|
3434
3496
|
Na as FeaturesSection,
|
|
3435
3497
|
_a as HeroSection,
|
|
3436
3498
|
Oa as HowItWorksSection,
|
|
3437
|
-
|
|
3438
|
-
|
|
3499
|
+
Eo as I18nProvider,
|
|
3500
|
+
is as KundliMatchingFormSection,
|
|
3439
3501
|
ta as KundliMatchingHeader,
|
|
3440
|
-
|
|
3441
|
-
|
|
3502
|
+
Bo as KundliMatchingPage,
|
|
3503
|
+
vo as KundliMatchingProvider,
|
|
3442
3504
|
gt as LOCALE_LABELS,
|
|
3443
|
-
|
|
3444
|
-
|
|
3505
|
+
bs as ProceedFooter,
|
|
3506
|
+
ko as SUPPORTED_LOCALES,
|
|
3445
3507
|
Yr as SneakPeekSection,
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3508
|
+
yn as TestimonialsSection,
|
|
3509
|
+
Wr as ViewSampleReportButton,
|
|
3510
|
+
zn as WhyUsSection,
|
|
3511
|
+
So as getDefaultMatchingFormValues,
|
|
3450
3512
|
yt as translations,
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3513
|
+
Ao as useI18n,
|
|
3514
|
+
Ro as useKundliMatchingContext,
|
|
3515
|
+
xo as useKundliMatchingContextOrThrow
|
|
3454
3516
|
};
|
|
3455
3517
|
//# sourceMappingURL=kundli-matching-generator.js.map
|