@srimandir/kundli-generator 7.5.11 → 7.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-ze71U5q2.js +3635 -0
- package/dist/analytics-ze71U5q2.js.map +1 -0
- package/dist/analytics.d.ts +103 -0
- package/dist/components/KundliPage/KundliContext.d.ts +15 -0
- package/dist/components/KundliPage/KundliPage.d.ts +12 -0
- package/dist/components/KundliPage/KundliPageV1.d.ts +13 -0
- package/dist/components/KundliPlanBottomSheet/ConsultationSlotModal.d.ts +11 -0
- package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +14 -3
- package/dist/components/KundliPlanBottomSheet/PlanIcons.d.ts +6 -0
- package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +6 -0
- package/dist/components/KundliPlanBottomSheet/index.d.ts +4 -1
- package/dist/components/KundliPlanBottomSheet/types.d.ts +40 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +7 -1
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +24 -0
- package/dist/criticalCss-BQQnGxfW.js +2002 -0
- package/dist/criticalCss-BQQnGxfW.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/kundli-generator.js +29 -27
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/analytics-BZyas-wq.js +0 -3183
- package/dist/analytics-BZyas-wq.js.map +0 -1
- package/dist/criticalCss-BSSdaBRZ.js +0 -1946
- package/dist/criticalCss-BSSdaBRZ.js.map +0 -1
|
@@ -0,0 +1,3635 @@
|
|
|
1
|
+
import tt, { useContext as at, createContext as kt, useState as F, useRef as H, useEffect as V, useMemo as Re, useCallback as be, Fragment as Wt } from "react";
|
|
2
|
+
import { FormSectionHeader as Kt, FooterCTAButton as Ht, FooterShell as Yt, CircularMarquee as Vt, footerShellStyles as Ne, PageHeader as zt } from "@srimandir/astrology-common";
|
|
3
|
+
var Ye = { exports: {} }, qe = {};
|
|
4
|
+
var pt;
|
|
5
|
+
function Jt() {
|
|
6
|
+
if (pt) return qe;
|
|
7
|
+
pt = 1;
|
|
8
|
+
var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, p = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function f(w, x, M) {
|
|
10
|
+
var L, A = {}, u = null, B = null;
|
|
11
|
+
M !== void 0 && (u = "" + M), x.key !== void 0 && (u = "" + x.key), x.ref !== void 0 && (B = x.ref);
|
|
12
|
+
for (L in x) m.call(x, L) && !_.hasOwnProperty(L) && (A[L] = x[L]);
|
|
13
|
+
if (w && w.defaultProps) for (L in x = w.defaultProps, x) A[L] === void 0 && (A[L] = x[L]);
|
|
14
|
+
return { $$typeof: o, type: w, key: u, ref: B, props: A, _owner: p.current };
|
|
15
|
+
}
|
|
16
|
+
return qe.Fragment = s, qe.jsx = f, qe.jsxs = f, qe;
|
|
17
|
+
}
|
|
18
|
+
var We = {};
|
|
19
|
+
var ft;
|
|
20
|
+
function Qt() {
|
|
21
|
+
return ft || (ft = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), p = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), w = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), M = /* @__PURE__ */ Symbol.for("react.suspense"), L = /* @__PURE__ */ Symbol.for("react.suspense_list"), A = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, $ = "@@iterator";
|
|
23
|
+
function b(t) {
|
|
24
|
+
if (t === null || typeof t != "object")
|
|
25
|
+
return null;
|
|
26
|
+
var i = v && t[v] || t[$];
|
|
27
|
+
return typeof i == "function" ? i : null;
|
|
28
|
+
}
|
|
29
|
+
var h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function P(t) {
|
|
31
|
+
{
|
|
32
|
+
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
|
|
33
|
+
d[y - 1] = arguments[y];
|
|
34
|
+
U("error", t, d);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function U(t, i, d) {
|
|
38
|
+
{
|
|
39
|
+
var y = h.ReactDebugCurrentFrame, D = y.getStackAddendum();
|
|
40
|
+
D !== "" && (i += "%s", d = d.concat([D]));
|
|
41
|
+
var Y = d.map(function(E) {
|
|
42
|
+
return String(E);
|
|
43
|
+
});
|
|
44
|
+
Y.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, Y);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
var C = !1, G = !1, g = !1, q = !1, T = !1, R;
|
|
48
|
+
R = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function X(t) {
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === m || t === _ || T || t === p || t === M || t === L || q || t === B || C || G || g || typeof t == "object" && t !== null && (t.$$typeof === u || t.$$typeof === A || t.$$typeof === f || t.$$typeof === w || t.$$typeof === x || // This needs to include all possible module reference object
|
|
51
|
+
// types supported by any Flight configuration anywhere since
|
|
52
|
+
// we don't know which Flight build this will end up being used
|
|
53
|
+
// with.
|
|
54
|
+
t.$$typeof === R || t.getModuleId !== void 0));
|
|
55
|
+
}
|
|
56
|
+
function Z(t, i, d) {
|
|
57
|
+
var y = t.displayName;
|
|
58
|
+
if (y)
|
|
59
|
+
return y;
|
|
60
|
+
var D = i.displayName || i.name || "";
|
|
61
|
+
return D !== "" ? d + "(" + D + ")" : d;
|
|
62
|
+
}
|
|
63
|
+
function W(t) {
|
|
64
|
+
return t.displayName || "Context";
|
|
65
|
+
}
|
|
66
|
+
function I(t) {
|
|
67
|
+
if (t == null)
|
|
68
|
+
return null;
|
|
69
|
+
if (typeof t.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
70
|
+
return t.displayName || t.name || null;
|
|
71
|
+
if (typeof t == "string")
|
|
72
|
+
return t;
|
|
73
|
+
switch (t) {
|
|
74
|
+
case m:
|
|
75
|
+
return "Fragment";
|
|
76
|
+
case s:
|
|
77
|
+
return "Portal";
|
|
78
|
+
case _:
|
|
79
|
+
return "Profiler";
|
|
80
|
+
case p:
|
|
81
|
+
return "StrictMode";
|
|
82
|
+
case M:
|
|
83
|
+
return "Suspense";
|
|
84
|
+
case L:
|
|
85
|
+
return "SuspenseList";
|
|
86
|
+
}
|
|
87
|
+
if (typeof t == "object")
|
|
88
|
+
switch (t.$$typeof) {
|
|
89
|
+
case w:
|
|
90
|
+
var i = t;
|
|
91
|
+
return W(i) + ".Consumer";
|
|
92
|
+
case f:
|
|
93
|
+
var d = t;
|
|
94
|
+
return W(d._context) + ".Provider";
|
|
95
|
+
case x:
|
|
96
|
+
return Z(t, t.render, "ForwardRef");
|
|
97
|
+
case A:
|
|
98
|
+
var y = t.displayName || null;
|
|
99
|
+
return y !== null ? y : I(t.type) || "Memo";
|
|
100
|
+
case u: {
|
|
101
|
+
var D = t, Y = D._payload, E = D._init;
|
|
102
|
+
try {
|
|
103
|
+
return I(E(Y));
|
|
104
|
+
} catch {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
var Q = Object.assign, z = 0, l, O, J, ne, oe, ae, Ce;
|
|
112
|
+
function ye() {
|
|
113
|
+
}
|
|
114
|
+
ye.__reactDisabledLog = !0;
|
|
115
|
+
function je() {
|
|
116
|
+
{
|
|
117
|
+
if (z === 0) {
|
|
118
|
+
l = console.log, O = console.info, J = console.warn, ne = console.error, oe = console.group, ae = console.groupCollapsed, Ce = console.groupEnd;
|
|
119
|
+
var t = {
|
|
120
|
+
configurable: !0,
|
|
121
|
+
enumerable: !0,
|
|
122
|
+
value: ye,
|
|
123
|
+
writable: !0
|
|
124
|
+
};
|
|
125
|
+
Object.defineProperties(console, {
|
|
126
|
+
info: t,
|
|
127
|
+
log: t,
|
|
128
|
+
warn: t,
|
|
129
|
+
error: t,
|
|
130
|
+
group: t,
|
|
131
|
+
groupCollapsed: t,
|
|
132
|
+
groupEnd: t
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
z++;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function he() {
|
|
139
|
+
{
|
|
140
|
+
if (z--, z === 0) {
|
|
141
|
+
var t = {
|
|
142
|
+
configurable: !0,
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
writable: !0
|
|
145
|
+
};
|
|
146
|
+
Object.defineProperties(console, {
|
|
147
|
+
log: Q({}, t, {
|
|
148
|
+
value: l
|
|
149
|
+
}),
|
|
150
|
+
info: Q({}, t, {
|
|
151
|
+
value: O
|
|
152
|
+
}),
|
|
153
|
+
warn: Q({}, t, {
|
|
154
|
+
value: J
|
|
155
|
+
}),
|
|
156
|
+
error: Q({}, t, {
|
|
157
|
+
value: ne
|
|
158
|
+
}),
|
|
159
|
+
group: Q({}, t, {
|
|
160
|
+
value: oe
|
|
161
|
+
}),
|
|
162
|
+
groupCollapsed: Q({}, t, {
|
|
163
|
+
value: ae
|
|
164
|
+
}),
|
|
165
|
+
groupEnd: Q({}, t, {
|
|
166
|
+
value: Ce
|
|
167
|
+
})
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
z < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
var ee = h.ReactCurrentDispatcher, me;
|
|
174
|
+
function pe(t, i, d) {
|
|
175
|
+
{
|
|
176
|
+
if (me === void 0)
|
|
177
|
+
try {
|
|
178
|
+
throw Error();
|
|
179
|
+
} catch (D) {
|
|
180
|
+
var y = D.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
me = y && y[1] || "";
|
|
182
|
+
}
|
|
183
|
+
return `
|
|
184
|
+
` + me + t;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
var de = !1, ie;
|
|
188
|
+
{
|
|
189
|
+
var ve = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
ie = new ve();
|
|
191
|
+
}
|
|
192
|
+
function Se(t, i) {
|
|
193
|
+
if (!t || de)
|
|
194
|
+
return "";
|
|
195
|
+
{
|
|
196
|
+
var d = ie.get(t);
|
|
197
|
+
if (d !== void 0)
|
|
198
|
+
return d;
|
|
199
|
+
}
|
|
200
|
+
var y;
|
|
201
|
+
de = !0;
|
|
202
|
+
var D = Error.prepareStackTrace;
|
|
203
|
+
Error.prepareStackTrace = void 0;
|
|
204
|
+
var Y;
|
|
205
|
+
Y = ee.current, ee.current = null, je();
|
|
206
|
+
try {
|
|
207
|
+
if (i) {
|
|
208
|
+
var E = function() {
|
|
209
|
+
throw Error();
|
|
210
|
+
};
|
|
211
|
+
if (Object.defineProperty(E.prototype, "props", {
|
|
212
|
+
set: function() {
|
|
213
|
+
throw Error();
|
|
214
|
+
}
|
|
215
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
|
+
try {
|
|
217
|
+
Reflect.construct(E, []);
|
|
218
|
+
} catch (ue) {
|
|
219
|
+
y = ue;
|
|
220
|
+
}
|
|
221
|
+
Reflect.construct(t, [], E);
|
|
222
|
+
} else {
|
|
223
|
+
try {
|
|
224
|
+
E.call();
|
|
225
|
+
} catch (ue) {
|
|
226
|
+
y = ue;
|
|
227
|
+
}
|
|
228
|
+
t.call(E.prototype);
|
|
229
|
+
}
|
|
230
|
+
} else {
|
|
231
|
+
try {
|
|
232
|
+
throw Error();
|
|
233
|
+
} catch (ue) {
|
|
234
|
+
y = ue;
|
|
235
|
+
}
|
|
236
|
+
t();
|
|
237
|
+
}
|
|
238
|
+
} catch (ue) {
|
|
239
|
+
if (ue && y && typeof ue.stack == "string") {
|
|
240
|
+
for (var N = ue.stack.split(`
|
|
241
|
+
`), ce = y.stack.split(`
|
|
242
|
+
`), te = N.length - 1, re = ce.length - 1; te >= 1 && re >= 0 && N[te] !== ce[re]; )
|
|
243
|
+
re--;
|
|
244
|
+
for (; te >= 1 && re >= 0; te--, re--)
|
|
245
|
+
if (N[te] !== ce[re]) {
|
|
246
|
+
if (te !== 1 || re !== 1)
|
|
247
|
+
do
|
|
248
|
+
if (te--, re--, re < 0 || N[te] !== ce[re]) {
|
|
249
|
+
var _e = `
|
|
250
|
+
` + N[te].replace(" at new ", " at ");
|
|
251
|
+
return t.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", t.displayName)), typeof t == "function" && ie.set(t, _e), _e;
|
|
252
|
+
}
|
|
253
|
+
while (te >= 1 && re >= 0);
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
} finally {
|
|
258
|
+
de = !1, ee.current = Y, he(), Error.prepareStackTrace = D;
|
|
259
|
+
}
|
|
260
|
+
var Fe = t ? t.displayName || t.name : "", Ae = Fe ? pe(Fe) : "";
|
|
261
|
+
return typeof t == "function" && ie.set(t, Ae), Ae;
|
|
262
|
+
}
|
|
263
|
+
function le(t, i, d) {
|
|
264
|
+
return Se(t, !1);
|
|
265
|
+
}
|
|
266
|
+
function se(t) {
|
|
267
|
+
var i = t.prototype;
|
|
268
|
+
return !!(i && i.isReactComponent);
|
|
269
|
+
}
|
|
270
|
+
function Te(t, i, d) {
|
|
271
|
+
if (t == null)
|
|
272
|
+
return "";
|
|
273
|
+
if (typeof t == "function")
|
|
274
|
+
return Se(t, se(t));
|
|
275
|
+
if (typeof t == "string")
|
|
276
|
+
return pe(t);
|
|
277
|
+
switch (t) {
|
|
278
|
+
case M:
|
|
279
|
+
return pe("Suspense");
|
|
280
|
+
case L:
|
|
281
|
+
return pe("SuspenseList");
|
|
282
|
+
}
|
|
283
|
+
if (typeof t == "object")
|
|
284
|
+
switch (t.$$typeof) {
|
|
285
|
+
case x:
|
|
286
|
+
return le(t.render);
|
|
287
|
+
case A:
|
|
288
|
+
return Te(t.type, i, d);
|
|
289
|
+
case u: {
|
|
290
|
+
var y = t, D = y._payload, Y = y._init;
|
|
291
|
+
try {
|
|
292
|
+
return Te(Y(D), i, d);
|
|
293
|
+
} catch {
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return "";
|
|
298
|
+
}
|
|
299
|
+
var ke = Object.prototype.hasOwnProperty, fe = {}, xe = h.ReactDebugCurrentFrame;
|
|
300
|
+
function we(t) {
|
|
301
|
+
if (t) {
|
|
302
|
+
var i = t._owner, d = Te(t.type, t._source, i ? i.type : null);
|
|
303
|
+
xe.setExtraStackFrame(d);
|
|
304
|
+
} else
|
|
305
|
+
xe.setExtraStackFrame(null);
|
|
306
|
+
}
|
|
307
|
+
function Ie(t, i, d, y, D) {
|
|
308
|
+
{
|
|
309
|
+
var Y = Function.call.bind(ke);
|
|
310
|
+
for (var E in t)
|
|
311
|
+
if (Y(t, E)) {
|
|
312
|
+
var N = void 0;
|
|
313
|
+
try {
|
|
314
|
+
if (typeof t[E] != "function") {
|
|
315
|
+
var ce = Error((y || "React class") + ": " + d + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw ce.name = "Invariant Violation", ce;
|
|
317
|
+
}
|
|
318
|
+
N = t[E](i, E, y, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (te) {
|
|
320
|
+
N = te;
|
|
321
|
+
}
|
|
322
|
+
N && !(N instanceof Error) && (we(D), P("%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).", y || "React class", d, E, typeof N), we(null)), N instanceof Error && !(N.message in fe) && (fe[N.message] = !0, we(D), P("Failed %s type: %s", d, N.message), we(null));
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
var Le = Array.isArray;
|
|
327
|
+
function j(t) {
|
|
328
|
+
return Le(t);
|
|
329
|
+
}
|
|
330
|
+
function Be(t) {
|
|
331
|
+
{
|
|
332
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, d = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
333
|
+
return d;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
function Me(t) {
|
|
337
|
+
try {
|
|
338
|
+
return $e(t), !1;
|
|
339
|
+
} catch {
|
|
340
|
+
return !0;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
function $e(t) {
|
|
344
|
+
return "" + t;
|
|
345
|
+
}
|
|
346
|
+
function Ue(t) {
|
|
347
|
+
if (Me(t))
|
|
348
|
+
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(t)), $e(t);
|
|
349
|
+
}
|
|
350
|
+
var r = h.ReactCurrentOwner, c = {
|
|
351
|
+
key: !0,
|
|
352
|
+
ref: !0,
|
|
353
|
+
__self: !0,
|
|
354
|
+
__source: !0
|
|
355
|
+
}, K, ge;
|
|
356
|
+
function Ge(t) {
|
|
357
|
+
if (ke.call(t, "ref")) {
|
|
358
|
+
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
359
|
+
if (i && i.isReactWarning)
|
|
360
|
+
return !1;
|
|
361
|
+
}
|
|
362
|
+
return t.ref !== void 0;
|
|
363
|
+
}
|
|
364
|
+
function ze(t) {
|
|
365
|
+
if (ke.call(t, "key")) {
|
|
366
|
+
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
367
|
+
if (i && i.isReactWarning)
|
|
368
|
+
return !1;
|
|
369
|
+
}
|
|
370
|
+
return t.key !== void 0;
|
|
371
|
+
}
|
|
372
|
+
function At(t, i) {
|
|
373
|
+
typeof t.ref == "string" && r.current;
|
|
374
|
+
}
|
|
375
|
+
function Nt(t, i) {
|
|
376
|
+
{
|
|
377
|
+
var d = function() {
|
|
378
|
+
K || (K = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
379
|
+
};
|
|
380
|
+
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
381
|
+
get: d,
|
|
382
|
+
configurable: !0
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
function Rt(t, i) {
|
|
387
|
+
{
|
|
388
|
+
var d = function() {
|
|
389
|
+
ge || (ge = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
390
|
+
};
|
|
391
|
+
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
392
|
+
get: d,
|
|
393
|
+
configurable: !0
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
var Et = function(t, i, d, y, D, Y, E) {
|
|
398
|
+
var N = {
|
|
399
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
+
$$typeof: o,
|
|
401
|
+
// Built-in properties that belong on the element
|
|
402
|
+
type: t,
|
|
403
|
+
key: i,
|
|
404
|
+
ref: d,
|
|
405
|
+
props: E,
|
|
406
|
+
// Record the component responsible for creating this element.
|
|
407
|
+
_owner: Y
|
|
408
|
+
};
|
|
409
|
+
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
410
|
+
configurable: !1,
|
|
411
|
+
enumerable: !1,
|
|
412
|
+
writable: !0,
|
|
413
|
+
value: !1
|
|
414
|
+
}), Object.defineProperty(N, "_self", {
|
|
415
|
+
configurable: !1,
|
|
416
|
+
enumerable: !1,
|
|
417
|
+
writable: !1,
|
|
418
|
+
value: y
|
|
419
|
+
}), Object.defineProperty(N, "_source", {
|
|
420
|
+
configurable: !1,
|
|
421
|
+
enumerable: !1,
|
|
422
|
+
writable: !1,
|
|
423
|
+
value: D
|
|
424
|
+
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
425
|
+
};
|
|
426
|
+
function It(t, i, d, y, D) {
|
|
427
|
+
{
|
|
428
|
+
var Y, E = {}, N = null, ce = null;
|
|
429
|
+
d !== void 0 && (Ue(d), N = "" + d), ze(i) && (Ue(i.key), N = "" + i.key), Ge(i) && (ce = i.ref, At(i, D));
|
|
430
|
+
for (Y in i)
|
|
431
|
+
ke.call(i, Y) && !c.hasOwnProperty(Y) && (E[Y] = i[Y]);
|
|
432
|
+
if (t && t.defaultProps) {
|
|
433
|
+
var te = t.defaultProps;
|
|
434
|
+
for (Y in te)
|
|
435
|
+
E[Y] === void 0 && (E[Y] = te[Y]);
|
|
436
|
+
}
|
|
437
|
+
if (N || ce) {
|
|
438
|
+
var re = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
439
|
+
N && Nt(E, re), ce && Rt(E, re);
|
|
440
|
+
}
|
|
441
|
+
return Et(t, N, ce, D, y, r.current, E);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
var Je = h.ReactCurrentOwner, it = h.ReactDebugCurrentFrame;
|
|
445
|
+
function De(t) {
|
|
446
|
+
if (t) {
|
|
447
|
+
var i = t._owner, d = Te(t.type, t._source, i ? i.type : null);
|
|
448
|
+
it.setExtraStackFrame(d);
|
|
449
|
+
} else
|
|
450
|
+
it.setExtraStackFrame(null);
|
|
451
|
+
}
|
|
452
|
+
var Qe;
|
|
453
|
+
Qe = !1;
|
|
454
|
+
function Xe(t) {
|
|
455
|
+
return typeof t == "object" && t !== null && t.$$typeof === o;
|
|
456
|
+
}
|
|
457
|
+
function lt() {
|
|
458
|
+
{
|
|
459
|
+
if (Je.current) {
|
|
460
|
+
var t = I(Je.current.type);
|
|
461
|
+
if (t)
|
|
462
|
+
return `
|
|
463
|
+
|
|
464
|
+
Check the render method of \`` + t + "`.";
|
|
465
|
+
}
|
|
466
|
+
return "";
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
function Lt(t) {
|
|
470
|
+
return "";
|
|
471
|
+
}
|
|
472
|
+
var st = {};
|
|
473
|
+
function Bt(t) {
|
|
474
|
+
{
|
|
475
|
+
var i = lt();
|
|
476
|
+
if (!i) {
|
|
477
|
+
var d = typeof t == "string" ? t : t.displayName || t.name;
|
|
478
|
+
d && (i = `
|
|
479
|
+
|
|
480
|
+
Check the top-level render call using <` + d + ">.");
|
|
481
|
+
}
|
|
482
|
+
return i;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
function ct(t, i) {
|
|
486
|
+
{
|
|
487
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
488
|
+
return;
|
|
489
|
+
t._store.validated = !0;
|
|
490
|
+
var d = Bt(i);
|
|
491
|
+
if (st[d])
|
|
492
|
+
return;
|
|
493
|
+
st[d] = !0;
|
|
494
|
+
var y = "";
|
|
495
|
+
t && t._owner && t._owner !== Je.current && (y = " It was passed a child from " + I(t._owner.type) + "."), De(t), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, y), De(null);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
function dt(t, i) {
|
|
499
|
+
{
|
|
500
|
+
if (typeof t != "object")
|
|
501
|
+
return;
|
|
502
|
+
if (j(t))
|
|
503
|
+
for (var d = 0; d < t.length; d++) {
|
|
504
|
+
var y = t[d];
|
|
505
|
+
Xe(y) && ct(y, i);
|
|
506
|
+
}
|
|
507
|
+
else if (Xe(t))
|
|
508
|
+
t._store && (t._store.validated = !0);
|
|
509
|
+
else if (t) {
|
|
510
|
+
var D = b(t);
|
|
511
|
+
if (typeof D == "function" && D !== t.entries)
|
|
512
|
+
for (var Y = D.call(t), E; !(E = Y.next()).done; )
|
|
513
|
+
Xe(E.value) && ct(E.value, i);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
function Dt(t) {
|
|
518
|
+
{
|
|
519
|
+
var i = t.type;
|
|
520
|
+
if (i == null || typeof i == "string")
|
|
521
|
+
return;
|
|
522
|
+
var d;
|
|
523
|
+
if (typeof i == "function")
|
|
524
|
+
d = i.propTypes;
|
|
525
|
+
else if (typeof i == "object" && (i.$$typeof === x || // Note: Memo only checks outer props here.
|
|
526
|
+
// Inner props are checked in the reconciler.
|
|
527
|
+
i.$$typeof === A))
|
|
528
|
+
d = i.propTypes;
|
|
529
|
+
else
|
|
530
|
+
return;
|
|
531
|
+
if (d) {
|
|
532
|
+
var y = I(i);
|
|
533
|
+
Ie(d, t.props, "prop", y, t);
|
|
534
|
+
} else if (i.PropTypes !== void 0 && !Qe) {
|
|
535
|
+
Qe = !0;
|
|
536
|
+
var D = I(i);
|
|
537
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
|
|
538
|
+
}
|
|
539
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
function Ft(t) {
|
|
543
|
+
{
|
|
544
|
+
for (var i = Object.keys(t.props), d = 0; d < i.length; d++) {
|
|
545
|
+
var y = i[d];
|
|
546
|
+
if (y !== "children" && y !== "key") {
|
|
547
|
+
De(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), De(null);
|
|
548
|
+
break;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
t.ref !== null && (De(t), P("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
var ut = {};
|
|
555
|
+
function mt(t, i, d, y, D, Y) {
|
|
556
|
+
{
|
|
557
|
+
var E = X(t);
|
|
558
|
+
if (!E) {
|
|
559
|
+
var N = "";
|
|
560
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
+
var ce = Lt();
|
|
562
|
+
ce ? N += ce : N += lt();
|
|
563
|
+
var te;
|
|
564
|
+
t === null ? te = "null" : j(t) ? te = "array" : t !== void 0 && t.$$typeof === o ? (te = "<" + (I(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : te = typeof t, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", te, N);
|
|
565
|
+
}
|
|
566
|
+
var re = It(t, i, d, D, Y);
|
|
567
|
+
if (re == null)
|
|
568
|
+
return re;
|
|
569
|
+
if (E) {
|
|
570
|
+
var _e = i.children;
|
|
571
|
+
if (_e !== void 0)
|
|
572
|
+
if (y)
|
|
573
|
+
if (j(_e)) {
|
|
574
|
+
for (var Fe = 0; Fe < _e.length; Fe++)
|
|
575
|
+
dt(_e[Fe], t);
|
|
576
|
+
Object.freeze && Object.freeze(_e);
|
|
577
|
+
} else
|
|
578
|
+
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
|
+
else
|
|
580
|
+
dt(_e, t);
|
|
581
|
+
}
|
|
582
|
+
if (ke.call(i, "key")) {
|
|
583
|
+
var Ae = I(t), ue = Object.keys(i).filter(function(qt) {
|
|
584
|
+
return qt !== "key";
|
|
585
|
+
}), Ze = ue.length > 0 ? "{key: someKey, " + ue.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ut[Ae + Ze]) {
|
|
587
|
+
var Gt = ue.length > 0 ? "{" + ue.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
+
P(`A props object containing a "key" prop is being spread into JSX:
|
|
589
|
+
let props = %s;
|
|
590
|
+
<%s {...props} />
|
|
591
|
+
React keys must be passed directly to JSX without using spread:
|
|
592
|
+
let props = %s;
|
|
593
|
+
<%s key={someKey} {...props} />`, Ze, Ae, Gt, Ae), ut[Ae + Ze] = !0;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
return t === m ? Ft(re) : Dt(re), re;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
function Ot(t, i, d) {
|
|
600
|
+
return mt(t, i, d, !0);
|
|
601
|
+
}
|
|
602
|
+
function Mt(t, i, d) {
|
|
603
|
+
return mt(t, i, d, !1);
|
|
604
|
+
}
|
|
605
|
+
var $t = Mt, Ut = Ot;
|
|
606
|
+
We.Fragment = m, We.jsx = $t, We.jsxs = Ut;
|
|
607
|
+
})()), We;
|
|
608
|
+
}
|
|
609
|
+
var ht;
|
|
610
|
+
function Xt() {
|
|
611
|
+
return ht || (ht = 1, process.env.NODE_ENV === "production" ? Ye.exports = Jt() : Ye.exports = Qt()), Ye.exports;
|
|
612
|
+
}
|
|
613
|
+
var e = Xt();
|
|
614
|
+
const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBorder_1e1th_12", aa = "_headerSeparator_1e1th_16", ra = "_langDropdownWrap_1e1th_21", na = "_langTrigger_1e1th_25", oa = "_langIcon_1e1th_37", ia = "_langLabel_1e1th_44", la = "_langMenu_1e1th_49", sa = "_langOption_1e1th_55", Pe = {
|
|
615
|
+
container: Zt,
|
|
616
|
+
main: ea,
|
|
617
|
+
kundliHeaderNoBorder: ta,
|
|
618
|
+
headerSeparator: aa,
|
|
619
|
+
langDropdownWrap: ra,
|
|
620
|
+
langTrigger: na,
|
|
621
|
+
langIcon: oa,
|
|
622
|
+
langLabel: ia,
|
|
623
|
+
langMenu: la,
|
|
624
|
+
langOption: sa
|
|
625
|
+
}, xt = ["en", "hi"], gt = {
|
|
626
|
+
en: "English",
|
|
627
|
+
hi: "हिन्दी"
|
|
628
|
+
}, wt = {
|
|
629
|
+
en: {
|
|
630
|
+
kundli: "Kundli",
|
|
631
|
+
birthChart: "Birth Chart",
|
|
632
|
+
details: "Details",
|
|
633
|
+
name: "Name",
|
|
634
|
+
birthDate: "Birth Date",
|
|
635
|
+
guest: "Guest",
|
|
636
|
+
description: "Your birth chart reveals planetary positions at the time of your birth and their influence on your life.",
|
|
637
|
+
lagna: "Lagna",
|
|
638
|
+
rashi: "Rashi",
|
|
639
|
+
nakshatra: "Nakshatra",
|
|
640
|
+
// Premium Kundli landing
|
|
641
|
+
language: "Language",
|
|
642
|
+
sriMandir: "Sri Mandir",
|
|
643
|
+
ratingText: "4.9/5 on Google PlayStore",
|
|
644
|
+
heroTitle: "Get Your Premium Personalised Kundli Report",
|
|
645
|
+
heroSubtitle: "This premium personalised kundli report helps you find answers to major life issues.",
|
|
646
|
+
topicMarriage: "Marriage",
|
|
647
|
+
topicRelationship: "Relationship",
|
|
648
|
+
topicBusiness: "Business",
|
|
649
|
+
topicHealth: "Health",
|
|
650
|
+
topicCareer: "Career",
|
|
651
|
+
topicEducation: "Education",
|
|
652
|
+
topicMoney: "Money",
|
|
653
|
+
premiumHeadline: "200+ Pages Premium Personalised Kundli Report",
|
|
654
|
+
premiumHeadlinePill1: "200+ Pages",
|
|
655
|
+
premiumHeadlinePlain1: "Premium",
|
|
656
|
+
premiumHeadlinePlain2: "Personalised",
|
|
657
|
+
premiumHeadlinePill2: "Kundli Report",
|
|
658
|
+
premiumFeature1: "Vedic Birth Chart",
|
|
659
|
+
premiumFeature2: "Destiny Insights",
|
|
660
|
+
premiumFeature3: "Major Life Issues",
|
|
661
|
+
premiumFeature4: "Practical Remedies",
|
|
662
|
+
certifiedBy: "Certified by BHU and VHU Astrologers",
|
|
663
|
+
yourThreeSteps: "Your 3 steps",
|
|
664
|
+
threeStepsSubtitle: "Premium Personalised Kundli report",
|
|
665
|
+
step1: "Enter your information",
|
|
666
|
+
step2: "Your horoscope will be created by experts",
|
|
667
|
+
step3Intro: "You'll receive your Kundli report on your Whatsapp",
|
|
668
|
+
step3IntroGlobal: "You'll receive your Kundli report on your email",
|
|
669
|
+
step3IntroDomestic: "You'll receive your Kundli report on your Whatsapp",
|
|
670
|
+
step3Days: "2 days",
|
|
671
|
+
viewSampleReport: "View Sample Kundli Report",
|
|
672
|
+
sampleReportModalTitle: "Sample Kundli Report",
|
|
673
|
+
whatYoullFindTitle: "What will you find in your Kundli report?",
|
|
674
|
+
findDasha: "Analysis of flaws and periods.",
|
|
675
|
+
findDashaDesc: "Identify major flaws, period durations, and simple remedies.",
|
|
676
|
+
findYoga: "All yoga reports.",
|
|
677
|
+
findYogaDesc: "Discover the yogas in your kundli report that affect wealth, career, and relationships.",
|
|
678
|
+
findGemstone: "Gemstone recommendations.",
|
|
679
|
+
findGemstoneDesc: "Personalised gemstone guidance based on your kundli report.",
|
|
680
|
+
findPooja: "Puja recommendations.",
|
|
681
|
+
findPoojaDesc: "Suggestions for pujas and rituals to balance planetary influences.",
|
|
682
|
+
findMonthly: "Monthly predictions (1 year).",
|
|
683
|
+
findMonthlyDesc: "Month-by-month guidance for the coming year.",
|
|
684
|
+
findStrength: "Strength graph.",
|
|
685
|
+
findStrengthDesc: "Visual charts showing the strength and influence of the planets.",
|
|
686
|
+
whyUsTitle: "Why us?",
|
|
687
|
+
whyUsSubtitle: "Fill out the form to get started and unlock your fortune!",
|
|
688
|
+
whyUs1: "3,00,000+ kundli reports created",
|
|
689
|
+
whyUs2: "1,000+ partnered Top Astrologers",
|
|
690
|
+
whyUs3: "500+ temple partnerships you can trust",
|
|
691
|
+
whyUs4: "Personalised section-wise life analysis",
|
|
692
|
+
feedbackTitle: "Feedback from our users",
|
|
693
|
+
feedbackTrust: "Trusted by over 5 crore users worldwide",
|
|
694
|
+
feedbackRating: "4.9",
|
|
695
|
+
feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
|
|
696
|
+
feedbackTestimonial2: "Career aur marriage dono pe clear guidance mila.",
|
|
697
|
+
feedbackTestimonial3: "Clear direction mila next steps ke liye.",
|
|
698
|
+
feedbackTestimonial4: "Doubts kaafi had tak clear ho gaye report se.",
|
|
699
|
+
feedbackTestimonial5: "Future planning ke liye useful insights mile.",
|
|
700
|
+
feedbackTestimonial6: "Har important area cover kiya gaya properly.",
|
|
701
|
+
feedbackTestimonial7: "Kaafi deep analysis hai, superficial nahi.",
|
|
702
|
+
feedbackTestimonial8: "Kundli insights ne future decisions clear kiye.",
|
|
703
|
+
feedbackTestimonial9: "I had seen many generic astrology reports before, but this Kundli report felt different. It described my life problems, thinking pattern, and situations from the past few years very accurately. While reading, it felt as if someone had already understood my condition. What stood out most was the clear and easy language, which made it feel trustworthy.",
|
|
704
|
+
feedbackTestimonial10: "I took this Kundli report just out of curiosity, but after reading it I was genuinely surprised. It accurately described obstacles in my work, mental confusion, and difficulty in making decisions. It felt as if my real-life situation had been deeply understood before writing the report. Many things became clearer after reading it.",
|
|
705
|
+
feedbackTestimonial11: "This was a very detailed Kundli report. It talked about my nature, mindset, and the problems I have been going through. Some points matched so closely that it was genuinely surprising to read. It didn't feel like general information, but something truly connected to my own life.",
|
|
706
|
+
feedbackTestimonial12: "Honestly, I didn't expect much, but after reading the report my perspective changed. It explained my personality, career ups and downs, and inner confusions very accurately. Many parts matched my current situation perfectly. By the end, it truly felt like this report was made specifically for me.",
|
|
707
|
+
feedbackTestimonial13: "I ordered the Kundli report mainly because my family insisted, but after reading it I was surprised myself. Many things about my nature, past experiences, and current struggles were absolutely accurate. It felt as if someone had carefully understood my life before writing it. Because of this, trust in the report came naturally.",
|
|
708
|
+
feedbackTestimonial14: "Simple language mein detailed analysis diya hai.",
|
|
709
|
+
feedbackTestimonial15: "Timing aur dasha explanation helpful thi.",
|
|
710
|
+
feedbackAuthor1: "Aarav",
|
|
711
|
+
feedbackAuthor2: "Vivaan",
|
|
712
|
+
feedbackAuthor3: "Arjun",
|
|
713
|
+
feedbackAuthor4: "Kabir",
|
|
714
|
+
feedbackAuthor5: "Rohan",
|
|
715
|
+
feedbackAuthor6: "Ishaan",
|
|
716
|
+
feedbackAuthor7: "Krish",
|
|
717
|
+
feedbackAuthor8: "Rahul",
|
|
718
|
+
feedbackAuthor9: "Ananya",
|
|
719
|
+
feedbackAuthor10: "Aadhya",
|
|
720
|
+
feedbackAuthor11: "Kavya",
|
|
721
|
+
feedbackAuthor12: "Diya",
|
|
722
|
+
feedbackAuthor13: "Meera",
|
|
723
|
+
feedbackAuthor14: "Pooja",
|
|
724
|
+
feedbackAuthor15: "Nisha",
|
|
725
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
726
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
|
|
727
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
|
|
728
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
|
|
729
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
|
|
730
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
|
|
731
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
|
|
732
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
|
|
733
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
|
|
734
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
735
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
|
|
736
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
|
|
737
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
|
|
738
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
|
|
739
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
|
|
740
|
+
readMoreReviews: "Read More Reviews",
|
|
741
|
+
readLess: "Read Less",
|
|
742
|
+
faqTitle: "Frequently Asked Questions",
|
|
743
|
+
faqQ1: "How will I receive my kundli report?",
|
|
744
|
+
faqQ2: "Is Premium personalised kundli available in any other language?",
|
|
745
|
+
faqQ3: "What if I don't know my birth time?",
|
|
746
|
+
faqA1Global: "You will receive your premium personalised kundli report on your shared email ID within 2 days.",
|
|
747
|
+
faqA1Domestic: "You will receive your premium personalised kundli report on your shared WhatsApp number within 2 days.",
|
|
748
|
+
faqA2: "Yes, we provide report in Hindi and English languages",
|
|
749
|
+
faqA3: "Accurate birth time helps to create more accurate report. However we are still able to prepare 80% accurate report if you don't know your exact time of birth",
|
|
750
|
+
contactTitle: "Contact Us",
|
|
751
|
+
contactBrandName: "Sri Mandir",
|
|
752
|
+
contactWhatsAppGlobal: "Whatsapp: 8296947757",
|
|
753
|
+
contactWhatsAppDomestic: "Whatsapp: 08071174417",
|
|
754
|
+
contactEmail: "Email: pujaseva@appsforbharat.com",
|
|
755
|
+
ctaKundliCreated: "3L+ Kundli Reports Created.",
|
|
756
|
+
ctaCertified: "BHU Certified Astrologer.",
|
|
757
|
+
ctaSecurePayment: "Secure Payment.",
|
|
758
|
+
ctaButton: "Get My Detailed Kundli in $300 $25",
|
|
759
|
+
ctaButtonStruck: "$100",
|
|
760
|
+
ctaButtonBefore: "Get My Detailed Kundli in ",
|
|
761
|
+
ctaButtonAfter: "$25",
|
|
762
|
+
// Kundli form (from incoming branch)
|
|
763
|
+
back: "Back",
|
|
764
|
+
info: "Info",
|
|
765
|
+
formTitle: "Enter your information",
|
|
766
|
+
formSubtitle: "Fill out the form below to get started and unlock your fortune!",
|
|
767
|
+
formFullName: "Enter your full name",
|
|
768
|
+
formFullNamePlaceholder: "Full name",
|
|
769
|
+
formPhone: "Enter your phone number",
|
|
770
|
+
formPhonePlaceholder: "Phone number",
|
|
771
|
+
formGurujiTitle: "FREE 1:1 Astrologer Consultation",
|
|
772
|
+
formGurujiSubtitle: "Get explanation of your premium personalised by a certified astrologer",
|
|
773
|
+
formGender: "Your Gender",
|
|
774
|
+
formGenderMale: "Male",
|
|
775
|
+
formGenderFemale: "Female",
|
|
776
|
+
formEmail: "Enter your email address",
|
|
777
|
+
formEmailHelp: "Your kundli report will be sent to your email",
|
|
778
|
+
formEmailPlaceholder: "Email address",
|
|
779
|
+
formDob: "Enter your date of birth",
|
|
780
|
+
formDobInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
781
|
+
formBirthTime: "Enter your birth time",
|
|
782
|
+
formBirthTimeInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
783
|
+
formBirthTimeUnknownLine1: "Don't know your exact birth time?",
|
|
784
|
+
formBirthTimeUnknownLine2: "We can analyze with 80% accuracy",
|
|
785
|
+
formBirthPlace: "Enter your birth place",
|
|
786
|
+
formBirthPlaceInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
787
|
+
formBirthPlacePlaceholder: "City, State",
|
|
788
|
+
formReportLanguage: "Report Language",
|
|
789
|
+
formReportLanguageHindi: "Hindi",
|
|
790
|
+
formReportLanguageEnglish: "English",
|
|
791
|
+
formReportLanguageTelugu: "Telugu",
|
|
792
|
+
formReportLanguageTamil: "Tamil",
|
|
793
|
+
formReportLanguageKannada: "Kannada",
|
|
794
|
+
formReportLanguageGujarati: "Gujarati",
|
|
795
|
+
formReportLanguageMarathi: "Marathi",
|
|
796
|
+
formOfferEnding: "The offer is ending soon",
|
|
797
|
+
formDiscountPill: "75% discount",
|
|
798
|
+
formCtaDefault: "Get my detailed Kundli",
|
|
799
|
+
formProceed: "Proceed to payment ",
|
|
800
|
+
formOriginalPrice: "$100",
|
|
801
|
+
formDiscountedPrice: "$25",
|
|
802
|
+
formPriceAria: "Price",
|
|
803
|
+
proceedWithPlan: "Proceed with plan ",
|
|
804
|
+
// Kundli Plan Bottom Sheet
|
|
805
|
+
planSheetTitle: "Choose Your Kundli Plan",
|
|
806
|
+
planProceedToPayment: "Proceed to Payment",
|
|
807
|
+
planMostPopular: "Most popular",
|
|
808
|
+
planAstrologerHeading: "We will assign you a top astrologer from below",
|
|
809
|
+
planNameBasic: "Kundli Report",
|
|
810
|
+
planNameGuidance: "Kundli Report + Astrologer Guidance",
|
|
811
|
+
planSaveLabel: "Save ~25%",
|
|
812
|
+
// Consultation Slot Modal
|
|
813
|
+
planSelectConsultationSlot: "Select consultation slot →",
|
|
814
|
+
planConsultationSlotTitle: "Select consultation slot",
|
|
815
|
+
planConsultationTrustLabel: "3,750+ people have booked consultation",
|
|
816
|
+
planSelectSlotHeading: "Select consultation slot",
|
|
817
|
+
planGuidanceHeading: "What would you like guidance on?",
|
|
818
|
+
planPeriodMorning: "Morning",
|
|
819
|
+
planPeriodAfternoon: "Afternoon",
|
|
820
|
+
planPeriodEvening: "Evening",
|
|
821
|
+
planTopicCareerWork: "Career & work",
|
|
822
|
+
planTopicHealthWellbeing: "Health & wellbeing",
|
|
823
|
+
planTopicLoveMarriage: "Love & marriage",
|
|
824
|
+
planTopicMoneyFinance: "Money & finance",
|
|
825
|
+
// Plan Features
|
|
826
|
+
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
827
|
+
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
828
|
+
planFeatureClearLanguage: "Written in clear, easy-to-understand language by expert astrologers",
|
|
829
|
+
planFeatureAstrologyConsultant: "Astrology consultant",
|
|
830
|
+
planFeaturePersonalizedReading: "Personalized reading",
|
|
831
|
+
planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
|
|
832
|
+
planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
|
|
833
|
+
planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
|
|
834
|
+
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
835
|
+
// Astrologer Card
|
|
836
|
+
planAstrologerExp: "{{years}} Years of experience",
|
|
837
|
+
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
838
|
+
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
839
|
+
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
840
|
+
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
841
|
+
planAstrologerCertBhuCertified: "BHU Certified Vedic Astrologer",
|
|
842
|
+
planAstrologerCertMantraRudraksha: "Mantra & Rudraksha Specialist",
|
|
843
|
+
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
844
|
+
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
845
|
+
//astro name
|
|
846
|
+
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
847
|
+
planAstrologerExpJyoti: "18+ Years of experience",
|
|
848
|
+
planAstrologerNameSamiksha: "Ashwini",
|
|
849
|
+
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
850
|
+
planAstrologerNameNeeraj: "Meenakshi",
|
|
851
|
+
planAstrologerExpNeeraj: "12+ Years of experience",
|
|
852
|
+
planAstrologerNameAshwini: "Astro Ashwini",
|
|
853
|
+
planAstrologerExpAshwini: "16 Years of experience",
|
|
854
|
+
and: "And",
|
|
855
|
+
astrologyGuidance: "Astrology Guidance",
|
|
856
|
+
selectPackage: "Select Package"
|
|
857
|
+
},
|
|
858
|
+
hi: {
|
|
859
|
+
kundli: "कुंडली",
|
|
860
|
+
birthChart: "जन्म कुंडली",
|
|
861
|
+
details: "विवरण",
|
|
862
|
+
name: "नाम",
|
|
863
|
+
birthDate: "जन्म तिथि",
|
|
864
|
+
guest: "अतिथि",
|
|
865
|
+
description: "आपकी जन्म कुंडली आपके जन्म के समय ग्रहों की स्थिति और आपके जीवन पर उनके प्रभाव को दर्शाती है।",
|
|
866
|
+
lagna: "लग्न",
|
|
867
|
+
rashi: "राशि",
|
|
868
|
+
nakshatra: "नक्षत्र",
|
|
869
|
+
language: "भाषा",
|
|
870
|
+
sriMandir: "श्री मंदिर",
|
|
871
|
+
ratingText: "4.9/5 (8 लाख Google Playstore)",
|
|
872
|
+
heroTitle: "अपनी प्रीमियम व्यक्तिगत कुंडली रिपोर्ट प्राप्त करें",
|
|
873
|
+
heroSubtitle: "यह प्रीमियम व्यक्तिगत कुंडली रिपोर्ट आपको प्रमुख जीवन मुद्दों के जवाब खोजने में मदद करती है।",
|
|
874
|
+
topicMarriage: "विवाह",
|
|
875
|
+
topicRelationship: "रिश्ता",
|
|
876
|
+
topicBusiness: "व्यवसाय",
|
|
877
|
+
topicHealth: "स्वास्थ्य",
|
|
878
|
+
topicCareer: "करियर",
|
|
879
|
+
topicEducation: "शिक्षा",
|
|
880
|
+
topicMoney: "पैसा",
|
|
881
|
+
premiumHeadline: "200+ पृष्ठ प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
|
|
882
|
+
premiumHeadlinePill1: "200+ पृष्ठ",
|
|
883
|
+
premiumHeadlinePlain1: "प्रीमियम",
|
|
884
|
+
premiumHeadlinePlain2: "व्यक्तिगत",
|
|
885
|
+
premiumHeadlinePill2: "कुंडली रिपोर्ट",
|
|
886
|
+
premiumFeature1: "वैदिक जन्म कुंडली",
|
|
887
|
+
premiumFeature2: "भाग्य जानकारी",
|
|
888
|
+
premiumFeature3: "प्रमुख जीवन मुद्दे",
|
|
889
|
+
premiumFeature4: "व्यावहारिक उपाय",
|
|
890
|
+
certifiedBy: "BHU और VHU ज्योतिषियों द्वारा प्रमाणित",
|
|
891
|
+
yourThreeSteps: "आपके 3 कदम",
|
|
892
|
+
threeStepsSubtitle: "प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
|
|
893
|
+
step1: "अपनी जानकारी दर्ज करें",
|
|
894
|
+
step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
|
|
895
|
+
step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
896
|
+
step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
897
|
+
step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
898
|
+
step3Days: "2 दिनों में",
|
|
899
|
+
viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
|
|
900
|
+
sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
|
|
901
|
+
whatYoullFindTitle: "आपकी कुंडली रिपोर्ट में क्या मिलेगा?",
|
|
902
|
+
findDasha: "दोष और दशा का विश्लेषण",
|
|
903
|
+
findDashaDesc: "मुख्य दोष, दशा काल और सरल उपायों की पहचान करें",
|
|
904
|
+
findYoga: "सभी योग रिपोर्ट्स",
|
|
905
|
+
findYogaDesc: "अपनी कुंडली रिपोर्ट में उन योगों को जानें जो धन, करियर और संबंधों को प्रभावित करते हैं",
|
|
906
|
+
findGemstone: "रत्न सिफारिशें",
|
|
907
|
+
findGemstoneDesc: "आपकी कुंडली रिपोर्ट के आधार पर पर्सनलाइज्ड रत्न मार्गदर्शन",
|
|
908
|
+
findPooja: "पूजा सिफारिशें",
|
|
909
|
+
findPoojaDesc: "ग्रहों के प्रभाव को संतुलित करने के लिए पूजा और अनुष्ठान सुझाव",
|
|
910
|
+
findMonthly: "मासिक भविष्यवाणियाँ (1 वर्ष)",
|
|
911
|
+
findMonthlyDesc: "आने वाले वर्ष के लिए महीने-दर-महीने मार्गदर्शन",
|
|
912
|
+
findStrength: "भावबल ग्राफ",
|
|
913
|
+
findStrengthDesc: "ग्रहों की ताकत और प्रभाव दिखाने वाले दृश्य चार्ट",
|
|
914
|
+
whyUsTitle: "क्यों हम?",
|
|
915
|
+
whyUsSubtitle: "शुरू करने के लिए फॉर्म भरें और अपना भाग्य खोलें!",
|
|
916
|
+
whyUs1: "3,00,000+ कुंडली रिपोर्ट बनाई गई",
|
|
917
|
+
whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
|
|
918
|
+
whyUs3: "500+ मंदिर भागीदारी",
|
|
919
|
+
whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
|
|
920
|
+
feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
|
|
921
|
+
feedbackTrust: "दुनिया भर में 5 करोड़ से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
|
|
922
|
+
feedbackRating: "4.9",
|
|
923
|
+
feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
|
|
924
|
+
feedbackTestimonial2: "करियर और शादी दोनों पर साफ मार्गदर्शन मिला।",
|
|
925
|
+
feedbackTestimonial3: "आगे क्या करना है, उसकी साफ दिशा मिली।",
|
|
926
|
+
feedbackTestimonial4: "रिपोर्ट से ज़्यादातर डाउट्स क्लियर हो गए।",
|
|
927
|
+
feedbackTestimonial5: "फ्यूचर प्लानिंग के लिए अच्छे सुझाव मिले।",
|
|
928
|
+
feedbackTestimonial6: "सभी ज़रूरी चीज़ें अच्छे से कवर की गई हैं।",
|
|
929
|
+
feedbackTestimonial7: "एनालिसिस काफी डीप है, ऊपर-ऊपर का नहीं।",
|
|
930
|
+
feedbackTestimonial8: "कुंडली के सुझावों से फ्यूचर डिसीजन क्लियर हुए।",
|
|
931
|
+
feedbackTestimonial9: "मैंने पहले भी कई सामान्य ज्योतिष रिपोर्ट देखी थीं, लेकिन यह कुंडली रिपोर्ट अलग लगी। इसमें मेरी ज़िंदगी की परेशानियों, सोचने के तरीके और पिछले कुछ सालों की स्थितियों को बहुत सही तरीके से बताया गया था। कई बातें पढ़कर ऐसा लगा जैसे किसी ने मेरी हालत को पहले से समझ लिया हो। सबसे खास बात यह थी कि सब कुछ साफ़ और समझने वाली भाषा में लिखा था, जिससे भरोसा और बढ़ गया।",
|
|
932
|
+
feedbackTestimonial10: "मैंने यह कुंडली रिपोर्ट सिर्फ़ जिज्ञासा में ली थी, लेकिन पढ़ने के बाद सच में हैरान रह गया। मेरे काम में रुकावट, मन का असमंजस और फैसले लेने की परेशानी जैसी बातें बिल्कुल सही बताई गई थीं। ऐसा लगा जैसे मेरी ज़िंदगी की असली स्थिति को ठीक से समझकर लिखा गया हो। रिपोर्ट पढ़कर कई चीज़ें साफ़ समझ में आने लगीं।",
|
|
933
|
+
feedbackTestimonial11: "बहुत ही विस्तार से बनी हुई कुंडली रिपोर्ट थी। इसमें मेरे स्वभाव, सोच और जिन समस्याओं से मैं गुजर रहा था, उन सबका ज़िक्र था। कुछ बातें इतनी मिलती-जुलती थीं कि पढ़कर सच में आश्चर्य हुआ। यह सिर्फ़ सामान्य जानकारी नहीं थी, बल्कि मेरी अपनी ज़िंदगी से जुड़ी हुई लगी।",
|
|
934
|
+
feedbackTestimonial12: "सच कहूँ तो मुझे ज़्यादा उम्मीद नहीं थी, लेकिन रिपोर्ट पढ़ने के बाद नज़रिया बदल गया। इसमें मेरे व्यक्तित्व, काम के उतार-चढ़ाव और मन की उलझनों को बहुत सही तरीके से समझाया गया था। कई हिस्से ऐसे थे जो मेरी वर्तमान स्थिति से बिल्कुल मेल खाते थे। पूरा पढ़ने के बाद लगा कि यह रिपोर्ट सच में मेरे लिए ही बनाई गई है।",
|
|
935
|
+
feedbackTestimonial13: "मैंने कुंडली रिपोर्ट घरवालों के कहने पर ली थी, लेकिन पढ़ने के बाद खुद हैरान रह गया। मेरे स्वभाव, पिछले अनुभवों और चल रही परेशानियों के बारे में कई बातें बिल्कुल सही निकलीं। ऐसा लगा जैसे किसी ने मेरी ज़िंदगी को ध्यान से समझकर लिखा हो। इस वजह से रिपोर्ट पर भरोसा अपने-आप बन गया।",
|
|
936
|
+
feedbackTestimonial14: "आसान भाषा में पूरा डिटेल्ड एनालिसिस दिया है।",
|
|
937
|
+
feedbackTestimonial15: "दशा और टाइमिंग की जानकारी बहुत काम की थी।",
|
|
938
|
+
feedbackAuthor1: "आरव",
|
|
939
|
+
feedbackAuthor2: "विवान",
|
|
940
|
+
feedbackAuthor3: "अर्जुन",
|
|
941
|
+
feedbackAuthor4: "कबीर",
|
|
942
|
+
feedbackAuthor5: "रोहन",
|
|
943
|
+
feedbackAuthor6: "ईशान",
|
|
944
|
+
feedbackAuthor7: "कृष",
|
|
945
|
+
feedbackAuthor8: "राहुल",
|
|
946
|
+
feedbackAuthor9: "अनन्या",
|
|
947
|
+
feedbackAuthor10: "आध्या",
|
|
948
|
+
feedbackAuthor11: "काव्या",
|
|
949
|
+
feedbackAuthor12: "दिया",
|
|
950
|
+
feedbackAuthor13: "मीरा",
|
|
951
|
+
feedbackAuthor14: "पूजा",
|
|
952
|
+
feedbackAuthor15: "निशा",
|
|
953
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
954
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
|
|
955
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
|
|
956
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
|
|
957
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
|
|
958
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
|
|
959
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
|
|
960
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
|
|
961
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
|
|
962
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
963
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
|
|
964
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
|
|
965
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
|
|
966
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
|
|
967
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
|
|
968
|
+
readMoreReviews: "और समीक्षाएं पढ़ें",
|
|
969
|
+
readLess: "कम पढ़ें",
|
|
970
|
+
faqTitle: "अक्सर पूछे जाने वाले प्रश्न",
|
|
971
|
+
faqQ1: "मुझे अपनी कुंडली रिपोर्ट कैसे मिलेगी?",
|
|
972
|
+
faqQ2: "क्या प्रीमियम पर्सनलाइज्ड कुंडली किसी और भाषा में उपलब्ध है?",
|
|
973
|
+
faqQ3: "अगर मुझे अपने जन्म का समय नहीं पता हो तो?",
|
|
974
|
+
faqA1Global: "आपको 2 दिनों के भीतर आपके साझा किए गए ईमेल आईडी पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
|
|
975
|
+
faqA1Domestic: "आपको 2 दिनों के भीतर आपके साझा किए गए व्हाट्सऐप नंबर पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
|
|
976
|
+
faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
|
|
977
|
+
faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
|
|
978
|
+
contactTitle: "संपर्क करें",
|
|
979
|
+
contactBrandName: "श्री मंदिर",
|
|
980
|
+
contactWhatsAppGlobal: "व्हाट्सएप: 8296947757",
|
|
981
|
+
contactWhatsAppDomestic: "व्हाट्सएप: 08071174417",
|
|
982
|
+
contactEmail: "ईमेल: pujaseva@appsforbharat.com",
|
|
983
|
+
ctaKundliCreated: "3L+ कुंडली रिपोर्ट बनाई।",
|
|
984
|
+
ctaCertified: "BHU प्रमाणित ज्योतिषी।",
|
|
985
|
+
ctaSecurePayment: "सुरक्षित भुगतान।",
|
|
986
|
+
ctaButton: "$300 $25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
987
|
+
ctaButtonStruck: "$100",
|
|
988
|
+
ctaButtonBefore: "मेरा विस्तृत कुंडली प्राप्त करें ",
|
|
989
|
+
ctaButtonAfter: "$25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
990
|
+
// Kundli form (from incoming branch)
|
|
991
|
+
back: "वापस",
|
|
992
|
+
info: "जानकारी",
|
|
993
|
+
formTitle: "अपनी जानकारी दर्ज करें",
|
|
994
|
+
formSubtitle: "शुरू करने के लिए नीचे दिया गया फॉर्म भरें और अपना भाग्य खोलें!",
|
|
995
|
+
formFullName: "अपना पूरा नाम दर्ज करें",
|
|
996
|
+
formFullNamePlaceholder: "पूरा नाम",
|
|
997
|
+
formPhone: "अपना फोन नंबर दर्ज करें",
|
|
998
|
+
formPhonePlaceholder: "फोन नंबर",
|
|
999
|
+
formGurujiTitle: "मुफ्त 1:1 ज्योतिषी परामर्श",
|
|
1000
|
+
formGurujiSubtitle: "एक प्रमाणित ज्योतिषी द्वारा आपके लिए व्यक्तिगत रूप से तैयार की गई व्याख्या प्राप्त करें",
|
|
1001
|
+
formGender: "आपका लिंग",
|
|
1002
|
+
formGenderMale: "पुरुष",
|
|
1003
|
+
formGenderFemale: "महिला",
|
|
1004
|
+
formEmail: "अपना ईमेल पता दर्ज करें",
|
|
1005
|
+
formEmailHelp: "आपकी कुंडली रिपोर्ट आपके ईमेल पर भेजी जाएगी",
|
|
1006
|
+
formEmailPlaceholder: "ईमेल पता",
|
|
1007
|
+
formDob: "अपनी जन्म तिथि दर्ज करें",
|
|
1008
|
+
formDobInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
1009
|
+
formBirthTime: "अपना जन्म समय दर्ज करें",
|
|
1010
|
+
formBirthTimeInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
1011
|
+
formBirthTimeUnknownLine1: "क्या आपको अपना सटीक जन्म समय नहीं पता?",
|
|
1012
|
+
formBirthTimeUnknownLine2: "हम 80% सटीकता के साथ विश्लेषण कर सकते हैं",
|
|
1013
|
+
formBirthPlace: "अपना जन्म स्थान दर्ज करें",
|
|
1014
|
+
formBirthPlaceInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
1015
|
+
formBirthPlacePlaceholder: "शहर, राज्य",
|
|
1016
|
+
formReportLanguage: "रिपोर्ट भाषा",
|
|
1017
|
+
formReportLanguageHindi: "हिंदी",
|
|
1018
|
+
formReportLanguageEnglish: "अंग्रेज़ी",
|
|
1019
|
+
formReportLanguageTelugu: "तेलुगु",
|
|
1020
|
+
formReportLanguageTamil: "तमिल",
|
|
1021
|
+
formReportLanguageKannada: "कन्नड़",
|
|
1022
|
+
formReportLanguageGujarati: "गुजराती",
|
|
1023
|
+
formReportLanguageMarathi: "मराठी",
|
|
1024
|
+
formOfferEnding: "ऑफर जल्द खत्म हो रहा है",
|
|
1025
|
+
formDiscountPill: "75% छूट",
|
|
1026
|
+
formCtaDefault: "मेरी विस्तृत कुंडली प्राप्त करें",
|
|
1027
|
+
formProceed: "भुगतान के लिए आगे बढ़ें",
|
|
1028
|
+
formOriginalPrice: "$100",
|
|
1029
|
+
formDiscountedPrice: "$25",
|
|
1030
|
+
formPriceAria: "कीमत",
|
|
1031
|
+
proceedWithPlan: "योजना के साथ आगे बढ़ें ",
|
|
1032
|
+
// Kundli Plan Bottom Sheet
|
|
1033
|
+
planSheetTitle: "अपना कुंडली प्लान चुनें",
|
|
1034
|
+
planProceedToPayment: "पेमेंट के लिए आगे बढ़ें",
|
|
1035
|
+
planMostPopular: "सबसे लोकप्रिय",
|
|
1036
|
+
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
1037
|
+
planNameBasic: "कुंडली रिपोर्ट",
|
|
1038
|
+
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
1039
|
+
planSaveLabel: "~25% बचाएं",
|
|
1040
|
+
// Consultation Slot Modal
|
|
1041
|
+
planSelectConsultationSlot: "परामर्श स्लॉट चुनें →",
|
|
1042
|
+
planConsultationSlotTitle: "परामर्श स्लॉट चुनें",
|
|
1043
|
+
planConsultationTrustLabel: "3,750+ लोगों ने परामर्श बुक किया है",
|
|
1044
|
+
planSelectSlotHeading: "परामर्श स्लॉट चुनें",
|
|
1045
|
+
planGuidanceHeading: "आप किस बारे में सलाह चाहते हैं?",
|
|
1046
|
+
planPeriodMorning: "सुबह",
|
|
1047
|
+
planPeriodAfternoon: "दोपहर",
|
|
1048
|
+
planPeriodEvening: "शाम",
|
|
1049
|
+
planTopicCareerWork: "करियर और काम",
|
|
1050
|
+
planTopicHealthWellbeing: "सेहत और खुशहाली",
|
|
1051
|
+
planTopicLoveMarriage: "प्यार और शादी",
|
|
1052
|
+
planTopicMoneyFinance: "पैसा और वित्त",
|
|
1053
|
+
// Plan Features
|
|
1054
|
+
planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
|
|
1055
|
+
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
|
|
1056
|
+
planFeatureClearLanguage: "ज्योतिषियों द्वारा आसान भाषा में लिखी गई",
|
|
1057
|
+
planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
|
|
1058
|
+
planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
|
|
1059
|
+
planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
|
|
1060
|
+
planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
|
|
1061
|
+
planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
|
|
1062
|
+
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
1063
|
+
// Astrologer Card
|
|
1064
|
+
planAstrologerExp: "साल का अनुभव",
|
|
1065
|
+
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1066
|
+
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1067
|
+
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1068
|
+
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
1069
|
+
planAstrologerCertBhuCertified: "BHU से प्रमाणित वैदिक ज्योतिषी",
|
|
1070
|
+
planAstrologerCertMantraRudraksha: "मंत्र और रुद्राक्ष विशेषज्ञ",
|
|
1071
|
+
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1072
|
+
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1073
|
+
//astro name
|
|
1074
|
+
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1075
|
+
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1076
|
+
planAstrologerNameSamiksha: "अश्विनी",
|
|
1077
|
+
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1078
|
+
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
1079
|
+
planAstrologerExpNeeraj: "12+ साल का अनुभव",
|
|
1080
|
+
planAstrologerNameAshwini: "ज्योतिष अश्विनी",
|
|
1081
|
+
planAstrologerExpAshwini: "16 साल का अनुभव",
|
|
1082
|
+
and: "और",
|
|
1083
|
+
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1084
|
+
selectPackage: "पैकेज चुनें"
|
|
1085
|
+
}
|
|
1086
|
+
}, Pt = kt(null), Uo = ({
|
|
1087
|
+
locale: a,
|
|
1088
|
+
children: o
|
|
1089
|
+
}) => {
|
|
1090
|
+
const m = { locale: a, t: (p) => wt[a]?.[p] ?? p };
|
|
1091
|
+
return /* @__PURE__ */ e.jsx(Pt.Provider, { value: m, children: o });
|
|
1092
|
+
};
|
|
1093
|
+
function ca() {
|
|
1094
|
+
return at(Pt);
|
|
1095
|
+
}
|
|
1096
|
+
const He = (a) => {
|
|
1097
|
+
const { priority: o, fetchPriority: s, width: m, height: p, ..._ } = a;
|
|
1098
|
+
return tt.createElement("img", {
|
|
1099
|
+
..._,
|
|
1100
|
+
width: m ?? 1,
|
|
1101
|
+
height: p ?? 1,
|
|
1102
|
+
decoding: "async",
|
|
1103
|
+
loading: _.loading ?? (o ? "eager" : "lazy"),
|
|
1104
|
+
...s && { fetchPriority: s }
|
|
1105
|
+
});
|
|
1106
|
+
};
|
|
1107
|
+
function da(a) {
|
|
1108
|
+
if (typeof window > "u" || !window.localStorage)
|
|
1109
|
+
return null;
|
|
1110
|
+
try {
|
|
1111
|
+
return window.localStorage.getItem(a);
|
|
1112
|
+
} catch {
|
|
1113
|
+
return null;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
function ua(a, o) {
|
|
1117
|
+
if (!(typeof window > "u" || !window.localStorage))
|
|
1118
|
+
try {
|
|
1119
|
+
window.localStorage.setItem(a, o);
|
|
1120
|
+
} catch {
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
function Go(a) {
|
|
1124
|
+
if (!(typeof window > "u" || !window.localStorage))
|
|
1125
|
+
try {
|
|
1126
|
+
window.localStorage.removeItem(a);
|
|
1127
|
+
} catch {
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
function qo() {
|
|
1131
|
+
if (typeof window > "u" || !window.localStorage)
|
|
1132
|
+
return !1;
|
|
1133
|
+
try {
|
|
1134
|
+
const a = "__kundli_storage_test__";
|
|
1135
|
+
return window.localStorage.setItem(a, "1"), window.localStorage.removeItem(a), !0;
|
|
1136
|
+
} catch {
|
|
1137
|
+
return !1;
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
const Ct = "kundli_language";
|
|
1141
|
+
function ma() {
|
|
1142
|
+
const a = da(Ct);
|
|
1143
|
+
return a && xt.includes(a) ? a : null;
|
|
1144
|
+
}
|
|
1145
|
+
function pa(a) {
|
|
1146
|
+
ua(Ct, a);
|
|
1147
|
+
}
|
|
1148
|
+
const rt = kt(null), fa = {
|
|
1149
|
+
fullName: "",
|
|
1150
|
+
phone: "",
|
|
1151
|
+
phoneCountryCode: "",
|
|
1152
|
+
gender: "",
|
|
1153
|
+
email: "",
|
|
1154
|
+
language_code: "",
|
|
1155
|
+
dateOfBirth: "",
|
|
1156
|
+
birthTime: "",
|
|
1157
|
+
birthTimeUnknown: !1,
|
|
1158
|
+
birthPlace: ""
|
|
1159
|
+
}, Wo = ({
|
|
1160
|
+
locale: a,
|
|
1161
|
+
showLanguageSelector: o = !0,
|
|
1162
|
+
showSheet: s,
|
|
1163
|
+
userId: m,
|
|
1164
|
+
isGlobal: p,
|
|
1165
|
+
variant: _,
|
|
1166
|
+
initialFormValues: f,
|
|
1167
|
+
autoOpenPlanSheet: w,
|
|
1168
|
+
googleMapsApiKey: x,
|
|
1169
|
+
atlasSearchLocalities: M,
|
|
1170
|
+
googleMapsAutocompleteEnabled: L,
|
|
1171
|
+
enableConsultationScheduling: A,
|
|
1172
|
+
fetchConsultationSlots: u,
|
|
1173
|
+
logoUrl: B,
|
|
1174
|
+
reportImageUrl: v,
|
|
1175
|
+
reportImagePriority: $,
|
|
1176
|
+
backgroundImagePriority: b,
|
|
1177
|
+
universityLogoUrls: h,
|
|
1178
|
+
sampleReportHref: P,
|
|
1179
|
+
onViewSampleReport: U,
|
|
1180
|
+
ctaHref: C,
|
|
1181
|
+
onCtaClick: G,
|
|
1182
|
+
onBack: g,
|
|
1183
|
+
readMoreReviewsHref: q,
|
|
1184
|
+
onProceed: T,
|
|
1185
|
+
proceedHref: R,
|
|
1186
|
+
originalPriceLabel: X,
|
|
1187
|
+
discountedPriceLabel: Z,
|
|
1188
|
+
discountPillLabel: W,
|
|
1189
|
+
analytics: I,
|
|
1190
|
+
onProceedGuidance: Q,
|
|
1191
|
+
onLocaleChange: z,
|
|
1192
|
+
imageComponent: l = He,
|
|
1193
|
+
resolvedUtmBannerImageUrl: O,
|
|
1194
|
+
children: J
|
|
1195
|
+
}) => {
|
|
1196
|
+
const [ne, oe] = F("landing"), [ae, Ce] = F(a ?? "en"), [ye, je] = F({
|
|
1197
|
+
...fa,
|
|
1198
|
+
...f
|
|
1199
|
+
}), he = H(!0);
|
|
1200
|
+
V(() => {
|
|
1201
|
+
const ie = ma();
|
|
1202
|
+
ie && Ce(ie);
|
|
1203
|
+
}, []), V(() => {
|
|
1204
|
+
pa(ae);
|
|
1205
|
+
}, [ae]), V(() => {
|
|
1206
|
+
if (he.current) {
|
|
1207
|
+
he.current = !1;
|
|
1208
|
+
return;
|
|
1209
|
+
}
|
|
1210
|
+
z?.(ae);
|
|
1211
|
+
}, [ae, z]);
|
|
1212
|
+
const ee = Re(
|
|
1213
|
+
() => ({
|
|
1214
|
+
locale: a,
|
|
1215
|
+
showLanguageSelector: o,
|
|
1216
|
+
showSheet: s,
|
|
1217
|
+
userId: m,
|
|
1218
|
+
isGlobal: p,
|
|
1219
|
+
variant: _,
|
|
1220
|
+
initialFormValues: f,
|
|
1221
|
+
autoOpenPlanSheet: w,
|
|
1222
|
+
googleMapsApiKey: x,
|
|
1223
|
+
atlasSearchLocalities: M,
|
|
1224
|
+
googleMapsAutocompleteEnabled: L,
|
|
1225
|
+
enableConsultationScheduling: A,
|
|
1226
|
+
fetchConsultationSlots: u,
|
|
1227
|
+
logoUrl: B,
|
|
1228
|
+
reportImageUrl: v,
|
|
1229
|
+
reportImagePriority: $,
|
|
1230
|
+
backgroundImagePriority: b,
|
|
1231
|
+
universityLogoUrls: h,
|
|
1232
|
+
sampleReportHref: P,
|
|
1233
|
+
onViewSampleReport: U,
|
|
1234
|
+
ctaHref: C,
|
|
1235
|
+
onCtaClick: G,
|
|
1236
|
+
onBack: g,
|
|
1237
|
+
readMoreReviewsHref: q,
|
|
1238
|
+
onProceed: T,
|
|
1239
|
+
proceedHref: R,
|
|
1240
|
+
originalPriceLabel: X,
|
|
1241
|
+
discountedPriceLabel: Z,
|
|
1242
|
+
discountPillLabel: W,
|
|
1243
|
+
analytics: I,
|
|
1244
|
+
onProceedGuidance: Q,
|
|
1245
|
+
onLocaleChange: z,
|
|
1246
|
+
imageComponent: l,
|
|
1247
|
+
resolvedUtmBannerImageUrl: O
|
|
1248
|
+
}),
|
|
1249
|
+
[
|
|
1250
|
+
a,
|
|
1251
|
+
o,
|
|
1252
|
+
s,
|
|
1253
|
+
m,
|
|
1254
|
+
p,
|
|
1255
|
+
_,
|
|
1256
|
+
f,
|
|
1257
|
+
w,
|
|
1258
|
+
x,
|
|
1259
|
+
M,
|
|
1260
|
+
L,
|
|
1261
|
+
A,
|
|
1262
|
+
u,
|
|
1263
|
+
B,
|
|
1264
|
+
v,
|
|
1265
|
+
$,
|
|
1266
|
+
b,
|
|
1267
|
+
h,
|
|
1268
|
+
P,
|
|
1269
|
+
U,
|
|
1270
|
+
C,
|
|
1271
|
+
G,
|
|
1272
|
+
g,
|
|
1273
|
+
q,
|
|
1274
|
+
T,
|
|
1275
|
+
R,
|
|
1276
|
+
X,
|
|
1277
|
+
Z,
|
|
1278
|
+
W,
|
|
1279
|
+
I,
|
|
1280
|
+
Q,
|
|
1281
|
+
z,
|
|
1282
|
+
l,
|
|
1283
|
+
O
|
|
1284
|
+
]
|
|
1285
|
+
), me = be(() => {
|
|
1286
|
+
oe("form");
|
|
1287
|
+
}, [ee.analytics]), pe = be(() => {
|
|
1288
|
+
oe("landing"), ee.onBack?.();
|
|
1289
|
+
}, [ee.onBack]), de = Re(
|
|
1290
|
+
() => ({
|
|
1291
|
+
view: ne,
|
|
1292
|
+
locale: ae,
|
|
1293
|
+
setLocale: Ce,
|
|
1294
|
+
config: ee,
|
|
1295
|
+
formValues: ye,
|
|
1296
|
+
setFormValues: je,
|
|
1297
|
+
goToForm: me,
|
|
1298
|
+
goToPage: pe,
|
|
1299
|
+
onProceed: ee.onProceed,
|
|
1300
|
+
onProceedGuidance: ee.onProceedGuidance
|
|
1301
|
+
}),
|
|
1302
|
+
[ne, ae, ee, ye, me, pe]
|
|
1303
|
+
);
|
|
1304
|
+
return /* @__PURE__ */ e.jsx(rt.Provider, { value: de, children: J });
|
|
1305
|
+
};
|
|
1306
|
+
function Ee() {
|
|
1307
|
+
return at(rt);
|
|
1308
|
+
}
|
|
1309
|
+
function Ko() {
|
|
1310
|
+
const a = at(rt);
|
|
1311
|
+
if (!a)
|
|
1312
|
+
throw new Error(
|
|
1313
|
+
"useKundliContextOrThrow must be used within KundliProvider"
|
|
1314
|
+
);
|
|
1315
|
+
return a;
|
|
1316
|
+
}
|
|
1317
|
+
const ha = "_header_19172_1", ga = "_centered_19172_8", _t = {
|
|
1318
|
+
header: ha,
|
|
1319
|
+
centered: ga
|
|
1320
|
+
}, _a = ({
|
|
1321
|
+
t: a,
|
|
1322
|
+
onBack: o,
|
|
1323
|
+
className: s = "",
|
|
1324
|
+
align: m = "left"
|
|
1325
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1326
|
+
Kt,
|
|
1327
|
+
{
|
|
1328
|
+
title: a("formTitle"),
|
|
1329
|
+
subtitle: a("formSubtitle"),
|
|
1330
|
+
onBack: o,
|
|
1331
|
+
backAriaLabel: a("back"),
|
|
1332
|
+
className: `${_t.header} ${m === "center" ? _t.centered : ""} ${s}`
|
|
1333
|
+
}
|
|
1334
|
+
), ba = "_wrap_119w3_1", ya = "_card_119w3_5", va = "_cardInner_119w3_12", ka = "_field_119w3_44", xa = "_labelRow_119w3_48", wa = "_label_119w3_48", Pa = "_req_119w3_57", Ca = "_help_119w3_61", Ta = "_choiceRow_119w3_68", Sa = "_choiceBtn_119w3_74", ja = "_choiceBtnActive_119w3_99", Aa = "_infoBtn_119w3_105", Na = "_infoImg_119w3_122", Ra = "_infoWrap_119w3_128", Ea = "_tooltip_119w3_134", Ia = "_tooltipArrow_119w3_150", La = "_inputWrap_119w3_161", Ba = "_isdWrap_119w3_165", Da = "_phoneInputGroup_119w3_169", Fa = "_isdSelectWrap_119w3_178", Oa = "_isdSelectTrigger_119w3_197", Ma = "_isdDropdown_119w3_214", $a = "_isdSearchWrap_119w3_229", Ua = "_isdSearchInput_119w3_237", Ga = "_isdOption_119w3_255", qa = "_isdOptionActive_119w3_275", Wa = "_isdCountryName_119w3_281", Ka = "_isdCountryCode_119w3_288", Ha = "_isdNoResult_119w3_295", Ya = "_suggestions_119w3_302", Va = "_suggestionItem_119w3_315", za = "_suggestionMain_119w3_333", Ja = "_suggestionSecondary_119w3_339", Qa = "_suggestionsHint_119w3_344", Xa = "_timePopover_119w3_366", Za = "_timePickerRow_119w3_382", er = "_timePickerSelect_119w3_388", tr = "_timePickerColon_119w3_404", ar = "_meridiemToggle_119w3_412", rr = "_meridiemBtn_119w3_421", nr = "_meridiemActive_119w3_436", or = "_timePopoverActions_119w3_441", ir = "_timePopoverBtn_119w3_447", lr = "_timePopoverOk_119w3_466", sr = "_input_119w3_161", cr = "_phoneInput_119w3_169", dr = "_iconBtn_119w3_519", ur = "_iconBtnInteractive_119w3_525", mr = "_iconImg_119w3_544", pr = "_checkboxRow_119w3_550", fr = "_checkbox_119w3_550", hr = "_checkboxText_119w3_588", n = {
|
|
1335
|
+
wrap: ba,
|
|
1336
|
+
card: ya,
|
|
1337
|
+
cardInner: va,
|
|
1338
|
+
field: ka,
|
|
1339
|
+
labelRow: xa,
|
|
1340
|
+
label: wa,
|
|
1341
|
+
req: Pa,
|
|
1342
|
+
help: Ca,
|
|
1343
|
+
choiceRow: Ta,
|
|
1344
|
+
choiceBtn: Sa,
|
|
1345
|
+
choiceBtnActive: ja,
|
|
1346
|
+
infoBtn: Aa,
|
|
1347
|
+
infoImg: Na,
|
|
1348
|
+
infoWrap: Ra,
|
|
1349
|
+
tooltip: Ea,
|
|
1350
|
+
tooltipArrow: Ia,
|
|
1351
|
+
inputWrap: La,
|
|
1352
|
+
isdWrap: Ba,
|
|
1353
|
+
phoneInputGroup: Da,
|
|
1354
|
+
isdSelectWrap: Fa,
|
|
1355
|
+
isdSelectTrigger: Oa,
|
|
1356
|
+
isdDropdown: Ma,
|
|
1357
|
+
isdSearchWrap: $a,
|
|
1358
|
+
isdSearchInput: Ua,
|
|
1359
|
+
isdOption: Ga,
|
|
1360
|
+
isdOptionActive: qa,
|
|
1361
|
+
isdCountryName: Wa,
|
|
1362
|
+
isdCountryCode: Ka,
|
|
1363
|
+
isdNoResult: Ha,
|
|
1364
|
+
suggestions: Ya,
|
|
1365
|
+
suggestionItem: Va,
|
|
1366
|
+
suggestionMain: za,
|
|
1367
|
+
suggestionSecondary: Ja,
|
|
1368
|
+
suggestionsHint: Qa,
|
|
1369
|
+
timePopover: Xa,
|
|
1370
|
+
timePickerRow: Za,
|
|
1371
|
+
timePickerSelect: er,
|
|
1372
|
+
timePickerColon: tr,
|
|
1373
|
+
meridiemToggle: ar,
|
|
1374
|
+
meridiemBtn: rr,
|
|
1375
|
+
meridiemActive: nr,
|
|
1376
|
+
timePopoverActions: or,
|
|
1377
|
+
timePopoverBtn: ir,
|
|
1378
|
+
timePopoverOk: lr,
|
|
1379
|
+
input: sr,
|
|
1380
|
+
phoneInput: cr,
|
|
1381
|
+
iconBtn: dr,
|
|
1382
|
+
iconBtnInteractive: ur,
|
|
1383
|
+
iconImg: mr,
|
|
1384
|
+
checkboxRow: pr,
|
|
1385
|
+
checkbox: fr,
|
|
1386
|
+
checkboxText: hr
|
|
1387
|
+
};
|
|
1388
|
+
let Ve = null;
|
|
1389
|
+
const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Ve || (Ve = new Promise((s, m) => {
|
|
1390
|
+
const p = document.querySelector(
|
|
1391
|
+
'script[data-google-maps-places="true"]'
|
|
1392
|
+
);
|
|
1393
|
+
if (p) {
|
|
1394
|
+
p.addEventListener("load", () => s()), p.addEventListener(
|
|
1395
|
+
"error",
|
|
1396
|
+
() => m(new Error("Failed to load Google Maps API"))
|
|
1397
|
+
);
|
|
1398
|
+
return;
|
|
1399
|
+
}
|
|
1400
|
+
const _ = document.createElement("script"), f = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1401
|
+
f.searchParams.set("key", a), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), o && f.searchParams.set("language", o), _.src = f.toString(), _.async = !0, _.defer = !0, _.setAttribute("data-google-maps-places", "true"), _.onload = () => {
|
|
1402
|
+
const w = Date.now(), x = () => {
|
|
1403
|
+
if (window.google?.maps?.places) {
|
|
1404
|
+
s();
|
|
1405
|
+
return;
|
|
1406
|
+
}
|
|
1407
|
+
if (Date.now() - w > 2e3) {
|
|
1408
|
+
m(
|
|
1409
|
+
new Error(
|
|
1410
|
+
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1411
|
+
)
|
|
1412
|
+
);
|
|
1413
|
+
return;
|
|
1414
|
+
}
|
|
1415
|
+
window.setTimeout(x, 50);
|
|
1416
|
+
};
|
|
1417
|
+
x();
|
|
1418
|
+
}, _.onerror = () => m(new Error("Failed to load Google Maps API")), document.head.appendChild(_);
|
|
1419
|
+
}), Ve), _r = (a) => {
|
|
1420
|
+
const { apiKey: o, language: s = "en", restrictCountry: m, deferLoad: p = !1 } = a, [_, f] = F(!1), [w, x] = F([]), [M, L] = F(!1), [A, u] = F(null), [B, v] = F(!p), $ = H(null), b = H(null), h = H(null), P = be(() => {
|
|
1421
|
+
p && v(!0);
|
|
1422
|
+
}, [p]);
|
|
1423
|
+
V(() => {
|
|
1424
|
+
if (!o || !B) {
|
|
1425
|
+
f(!1), u(null);
|
|
1426
|
+
return;
|
|
1427
|
+
}
|
|
1428
|
+
gr(o, s).then(() => {
|
|
1429
|
+
$.current = new google.maps.places.AutocompleteService();
|
|
1430
|
+
const g = document.createElement("div");
|
|
1431
|
+
b.current = new google.maps.places.PlacesService(g), h.current = new google.maps.places.AutocompleteSessionToken(), f(!0), u(null);
|
|
1432
|
+
}).catch((g) => {
|
|
1433
|
+
f(!1), u(g?.message || "Failed to load location service");
|
|
1434
|
+
});
|
|
1435
|
+
}, [o, s, B]);
|
|
1436
|
+
const U = be(
|
|
1437
|
+
async (g) => {
|
|
1438
|
+
if (!g || g.length < 2 || !$.current) {
|
|
1439
|
+
x([]);
|
|
1440
|
+
return;
|
|
1441
|
+
}
|
|
1442
|
+
L(!0);
|
|
1443
|
+
try {
|
|
1444
|
+
const q = {
|
|
1445
|
+
input: g,
|
|
1446
|
+
types: ["(cities)"],
|
|
1447
|
+
sessionToken: h.current ?? void 0
|
|
1448
|
+
};
|
|
1449
|
+
m && (q.componentRestrictions = { country: m });
|
|
1450
|
+
const T = await new Promise((R, X) => {
|
|
1451
|
+
$.current.getPlacePredictions(
|
|
1452
|
+
q,
|
|
1453
|
+
(Z, W) => {
|
|
1454
|
+
W === google.maps.places.PlacesServiceStatus.OK && Z ? R(Z) : W === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? R([]) : X(new Error(`Places API error: ${W}`));
|
|
1455
|
+
}
|
|
1456
|
+
);
|
|
1457
|
+
});
|
|
1458
|
+
x(
|
|
1459
|
+
T.map((R) => ({
|
|
1460
|
+
place_id: R.place_id,
|
|
1461
|
+
description: R.description,
|
|
1462
|
+
structured_formatting: {
|
|
1463
|
+
main_text: R.structured_formatting?.main_text || R.description,
|
|
1464
|
+
secondary_text: R.structured_formatting?.secondary_text || ""
|
|
1465
|
+
}
|
|
1466
|
+
}))
|
|
1467
|
+
);
|
|
1468
|
+
} catch {
|
|
1469
|
+
x([]);
|
|
1470
|
+
} finally {
|
|
1471
|
+
L(!1);
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
[m]
|
|
1475
|
+
), C = be(
|
|
1476
|
+
async (g) => {
|
|
1477
|
+
if (!b.current) return null;
|
|
1478
|
+
try {
|
|
1479
|
+
const q = await new Promise(
|
|
1480
|
+
(I, Q) => {
|
|
1481
|
+
b.current.getDetails(
|
|
1482
|
+
{
|
|
1483
|
+
placeId: g,
|
|
1484
|
+
fields: ["geometry", "address_components", "formatted_address"],
|
|
1485
|
+
sessionToken: h.current ?? void 0
|
|
1486
|
+
},
|
|
1487
|
+
(z, l) => {
|
|
1488
|
+
l === google.maps.places.PlacesServiceStatus.OK && z ? I(z) : Q(new Error(`Place details error: ${l}`));
|
|
1489
|
+
}
|
|
1490
|
+
);
|
|
1491
|
+
}
|
|
1492
|
+
);
|
|
1493
|
+
h.current = new google.maps.places.AutocompleteSessionToken();
|
|
1494
|
+
const T = q.geometry?.location?.lat() || 0, R = q.geometry?.location?.lng() || 0;
|
|
1495
|
+
let X = "", Z = "", W = "";
|
|
1496
|
+
return q.address_components?.forEach((I) => {
|
|
1497
|
+
I.types.includes("locality") && (X = I.long_name), I.types.includes("administrative_area_level_1") && (Z = I.long_name), I.types.includes("country") && (W = I.long_name);
|
|
1498
|
+
}), {
|
|
1499
|
+
display_name: q.formatted_address || "",
|
|
1500
|
+
lat: T,
|
|
1501
|
+
lng: R,
|
|
1502
|
+
city: X,
|
|
1503
|
+
state: Z,
|
|
1504
|
+
country: W
|
|
1505
|
+
};
|
|
1506
|
+
} catch {
|
|
1507
|
+
return null;
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
[]
|
|
1511
|
+
), G = be(() => x([]), []);
|
|
1512
|
+
return {
|
|
1513
|
+
isLoaded: _,
|
|
1514
|
+
predictions: w,
|
|
1515
|
+
isSearching: M,
|
|
1516
|
+
loadError: A,
|
|
1517
|
+
searchPlaces: U,
|
|
1518
|
+
getPlaceDetails: C,
|
|
1519
|
+
clearPredictions: G,
|
|
1520
|
+
triggerLoad: P
|
|
1521
|
+
// Call this to start loading Google Maps when deferred
|
|
1522
|
+
};
|
|
1523
|
+
}, bt = (a) => typeof a == "number" && Number.isFinite(a), br = (a) => {
|
|
1524
|
+
const o = typeof a?.limit == "number" && a.limit > 0 ? Math.min(a.limit, 20) : 8, s = typeof a?.offset == "number" && a.offset >= 0 ? a.offset : 0;
|
|
1525
|
+
return {
|
|
1526
|
+
limit: o,
|
|
1527
|
+
offset: s,
|
|
1528
|
+
restrictCountry: a?.restrictCountry
|
|
1529
|
+
};
|
|
1530
|
+
}, yr = (a) => {
|
|
1531
|
+
const { searchLocalities: o, restrictCountry: s } = a, [m, p] = F([]), [_, f] = F(!1), [w, x] = F(null), M = H(0);
|
|
1532
|
+
V(() => {
|
|
1533
|
+
x(null);
|
|
1534
|
+
}, [o]);
|
|
1535
|
+
const L = be(
|
|
1536
|
+
async (u) => {
|
|
1537
|
+
if (!u || u.length < 2 || !o) {
|
|
1538
|
+
p([]);
|
|
1539
|
+
return;
|
|
1540
|
+
}
|
|
1541
|
+
const B = ++M.current;
|
|
1542
|
+
f(!0), x(null);
|
|
1543
|
+
try {
|
|
1544
|
+
const v = br({ restrictCountry: s }), $ = await o(u, v);
|
|
1545
|
+
if (B !== M.current) return;
|
|
1546
|
+
const b = ($ || []).filter(
|
|
1547
|
+
(h) => !!h?.id && !!h?.description && bt(h?.lat) && bt(h?.lng)
|
|
1548
|
+
).map((h) => ({
|
|
1549
|
+
id: h.id,
|
|
1550
|
+
description: h.description,
|
|
1551
|
+
secondary_text: h.secondaryText,
|
|
1552
|
+
lat: h.lat,
|
|
1553
|
+
lng: h.lng
|
|
1554
|
+
}));
|
|
1555
|
+
p(b);
|
|
1556
|
+
} catch (v) {
|
|
1557
|
+
if (B !== M.current) return;
|
|
1558
|
+
p([]), x(v?.message || "Failed to fetch locations");
|
|
1559
|
+
} finally {
|
|
1560
|
+
B === M.current && f(!1);
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
[s, o]
|
|
1564
|
+
), A = be(() => p([]), []);
|
|
1565
|
+
return {
|
|
1566
|
+
predictions: m,
|
|
1567
|
+
isSearching: _,
|
|
1568
|
+
loadError: w,
|
|
1569
|
+
searchPlaces: L,
|
|
1570
|
+
clearPredictions: A
|
|
1571
|
+
};
|
|
1572
|
+
}, Oe = {
|
|
1573
|
+
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1574
|
+
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1575
|
+
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1576
|
+
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1577
|
+
}, Tt = [
|
|
1578
|
+
{ code: "+1", country: "USA / Canada" },
|
|
1579
|
+
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1580
|
+
{ code: "+20", country: "Egypt" },
|
|
1581
|
+
{ code: "+27", country: "South Africa" },
|
|
1582
|
+
{ code: "+30", country: "Greece" },
|
|
1583
|
+
{ code: "+31", country: "Netherlands" },
|
|
1584
|
+
{ code: "+32", country: "Belgium" },
|
|
1585
|
+
{ code: "+33", country: "France" },
|
|
1586
|
+
{ code: "+34", country: "Spain" },
|
|
1587
|
+
{ code: "+36", country: "Hungary" },
|
|
1588
|
+
{ code: "+39", country: "Italy" },
|
|
1589
|
+
{ code: "+40", country: "Romania" },
|
|
1590
|
+
{ code: "+41", country: "Switzerland" },
|
|
1591
|
+
{ code: "+43", country: "Austria" },
|
|
1592
|
+
{ code: "+44", country: "United Kingdom" },
|
|
1593
|
+
{ code: "+45", country: "Denmark" },
|
|
1594
|
+
{ code: "+46", country: "Sweden" },
|
|
1595
|
+
{ code: "+47", country: "Norway" },
|
|
1596
|
+
{ code: "+48", country: "Poland" },
|
|
1597
|
+
{ code: "+49", country: "Germany" },
|
|
1598
|
+
{ code: "+51", country: "Peru" },
|
|
1599
|
+
{ code: "+52", country: "Mexico" },
|
|
1600
|
+
{ code: "+53", country: "Cuba" },
|
|
1601
|
+
{ code: "+54", country: "Argentina" },
|
|
1602
|
+
{ code: "+55", country: "Brazil" },
|
|
1603
|
+
{ code: "+56", country: "Chile" },
|
|
1604
|
+
{ code: "+57", country: "Colombia" },
|
|
1605
|
+
{ code: "+60", country: "Malaysia" },
|
|
1606
|
+
{ code: "+61", country: "Australia" },
|
|
1607
|
+
{ code: "+62", country: "Indonesia" },
|
|
1608
|
+
{ code: "+63", country: "Philippines" },
|
|
1609
|
+
{ code: "+64", country: "New Zealand" },
|
|
1610
|
+
{ code: "+65", country: "Singapore" },
|
|
1611
|
+
{ code: "+66", country: "Thailand" },
|
|
1612
|
+
{ code: "+81", country: "Japan" },
|
|
1613
|
+
{ code: "+82", country: "South Korea" },
|
|
1614
|
+
{ code: "+84", country: "Vietnam" },
|
|
1615
|
+
{ code: "+86", country: "China" },
|
|
1616
|
+
{ code: "+90", country: "Turkey" },
|
|
1617
|
+
{ code: "+91", country: "India" },
|
|
1618
|
+
{ code: "+92", country: "Pakistan" },
|
|
1619
|
+
{ code: "+93", country: "Afghanistan" },
|
|
1620
|
+
{ code: "+94", country: "Sri Lanka" },
|
|
1621
|
+
{ code: "+95", country: "Myanmar" },
|
|
1622
|
+
{ code: "+98", country: "Iran" },
|
|
1623
|
+
{ code: "+211", country: "South Sudan" },
|
|
1624
|
+
{ code: "+212", country: "Morocco" },
|
|
1625
|
+
{ code: "+213", country: "Algeria" },
|
|
1626
|
+
{ code: "+216", country: "Tunisia" },
|
|
1627
|
+
{ code: "+218", country: "Libya" },
|
|
1628
|
+
{ code: "+220", country: "Gambia" },
|
|
1629
|
+
{ code: "+221", country: "Senegal" },
|
|
1630
|
+
{ code: "+234", country: "Nigeria" },
|
|
1631
|
+
{ code: "+254", country: "Kenya" },
|
|
1632
|
+
{ code: "+255", country: "Tanzania" },
|
|
1633
|
+
{ code: "+256", country: "Uganda" },
|
|
1634
|
+
{ code: "+260", country: "Zambia" },
|
|
1635
|
+
{ code: "+263", country: "Zimbabwe" },
|
|
1636
|
+
{ code: "+264", country: "Namibia" },
|
|
1637
|
+
{ code: "+265", country: "Malawi" },
|
|
1638
|
+
{ code: "+880", country: "Bangladesh" },
|
|
1639
|
+
{ code: "+886", country: "Taiwan" },
|
|
1640
|
+
{ code: "+971", country: "United Arab Emirates" },
|
|
1641
|
+
{ code: "+972", country: "Israel" },
|
|
1642
|
+
{ code: "+973", country: "Bahrain" },
|
|
1643
|
+
{ code: "+974", country: "Qatar" },
|
|
1644
|
+
{ code: "+975", country: "Bhutan" },
|
|
1645
|
+
{ code: "+976", country: "Mongolia" },
|
|
1646
|
+
{ code: "+977", country: "Nepal" }
|
|
1647
|
+
], et = Tt.map((a) => a.code), St = 10, nt = (a) => a.replace(/\D/g, ""), yt = (a) => nt(a).slice(0, St), vr = (a) => nt(a).length === St, kr = (a, o, s) => vr(a) ? s.phone ? { shouldTrack: !1 } : (s.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${nt(a)}` }) : (s.phone = !1, { shouldTrack: !1 }), xr = {}, wr = ({
|
|
1648
|
+
t: a,
|
|
1649
|
+
values: o,
|
|
1650
|
+
onChange: s,
|
|
1651
|
+
phoneIsdCode: m,
|
|
1652
|
+
onPhoneIsdCodeChange: p,
|
|
1653
|
+
showV1ExtraFields: _ = !1,
|
|
1654
|
+
analytics: f,
|
|
1655
|
+
googleMapsApiKey: w,
|
|
1656
|
+
atlasSearchLocalities: x,
|
|
1657
|
+
googleMapsAutocompleteEnabled: M,
|
|
1658
|
+
className: L = ""
|
|
1659
|
+
}) => {
|
|
1660
|
+
const A = Ee(), u = A?.config?.analytics ?? f, B = A?.config.isGlobal ?? !0, v = A?.config?.googleMapsApiKey, $ = A?.config?.atlasSearchLocalities, b = A?.config?.googleMapsAutocompleteEnabled, [h, P] = F(!1), [U, C] = F(""), G = H(null), g = H(null), q = H({}), T = (r) => s({ ...o, ...r }), R = (r, c) => {
|
|
1661
|
+
if (r === "phone") {
|
|
1662
|
+
const K = kr(c, m, q.current);
|
|
1663
|
+
K.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: K.fullPhone });
|
|
1664
|
+
return;
|
|
1665
|
+
}
|
|
1666
|
+
c.trim() && !q.current[r] && (q.current[r] = !0, {
|
|
1667
|
+
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1668
|
+
dateOfBirth: () => u?.trackDobFilled?.(),
|
|
1669
|
+
birthTime: () => u?.trackTimeFilled?.(),
|
|
1670
|
+
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1671
|
+
}[r]?.());
|
|
1672
|
+
}, X = (r) => {
|
|
1673
|
+
const c = r.target.value;
|
|
1674
|
+
c.trim() && u?.trackEmailSectionFilled?.({ email: c });
|
|
1675
|
+
}, Z = U.trim().toLowerCase(), W = Tt.filter((r) => Z ? r.country.toLowerCase().includes(Z) || r.code.includes(Z) : !0), I = H(null);
|
|
1676
|
+
H(null);
|
|
1677
|
+
const Q = H(null), z = H(0), l = H(null), [O, J] = F(!1), [ne, oe] = F({ hour12: 12, minute: "00", meridiem: "AM" }), ae = (r) => String(r).padStart(2, "0"), Ce = (r) => {
|
|
1678
|
+
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
1679
|
+
if (!c) return r;
|
|
1680
|
+
const K = Number(c[1]), ge = c[2], Ge = K >= 12 ? "PM" : "AM";
|
|
1681
|
+
return `${K % 12 === 0 ? 12 : K % 12}:${ge} ${Ge}`;
|
|
1682
|
+
}, ye = (r) => {
|
|
1683
|
+
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
1684
|
+
if (!c) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1685
|
+
const K = Number(c[1]), ge = c[2], Ge = K >= 12 ? "PM" : "AM";
|
|
1686
|
+
return { hour12: K % 12 === 0 ? 12 : K % 12, minute: ge, meridiem: Ge };
|
|
1687
|
+
}, je = (r) => {
|
|
1688
|
+
const c = Math.min(12, Math.max(1, r.hour12)), K = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
|
|
1689
|
+
let ge = c % 12;
|
|
1690
|
+
return r.meridiem === "PM" && (ge += 12), `${ae(ge)}:${K}`;
|
|
1691
|
+
}, he = H(null), [ee, me] = F(!1), pe = H(o.birthPlace ?? ""), [de, ie] = F(
|
|
1692
|
+
null
|
|
1693
|
+
), ve = w ?? v ?? xr?.VITE_GOOGLE_MAPS_API_KEY, Se = x ?? $, le = M ?? b ?? !0, se = (o.birthPlace ?? "").trim(), Te = B ? void 0 : "in", fe = _r({
|
|
1694
|
+
apiKey: le ? ve : void 0,
|
|
1695
|
+
language: "en",
|
|
1696
|
+
restrictCountry: Te
|
|
1697
|
+
}), xe = yr({
|
|
1698
|
+
searchLocalities: le ? void 0 : Se,
|
|
1699
|
+
restrictCountry: Te
|
|
1700
|
+
}), we = le ? fe.predictions.map((r) => ({
|
|
1701
|
+
id: r.place_id,
|
|
1702
|
+
description: r.description,
|
|
1703
|
+
secondaryText: r.structured_formatting?.secondary_text,
|
|
1704
|
+
lat: void 0,
|
|
1705
|
+
lng: void 0
|
|
1706
|
+
})) : xe.predictions.map((r) => ({
|
|
1707
|
+
id: r.id,
|
|
1708
|
+
description: r.description,
|
|
1709
|
+
secondaryText: r.secondary_text,
|
|
1710
|
+
lat: r.lat,
|
|
1711
|
+
lng: r.lng
|
|
1712
|
+
})), Ie = le ? fe.isSearching : xe.isSearching, Le = le ? fe.loadError : xe.loadError, j = le ? !!ve : !!Se, Be = le ? fe.searchPlaces : xe.searchPlaces, Me = le ? fe.clearPredictions : xe.clearPredictions, $e = H(() => {
|
|
1713
|
+
});
|
|
1714
|
+
$e.current = () => {
|
|
1715
|
+
(o.birthPlace ?? "") !== pe.current && T({
|
|
1716
|
+
birthPlace: "",
|
|
1717
|
+
birthPlaceLat: void 0,
|
|
1718
|
+
birthPlaceLng: void 0
|
|
1719
|
+
}), me(!1);
|
|
1720
|
+
}, V(() => {
|
|
1721
|
+
const r = (c) => {
|
|
1722
|
+
he.current && (he.current.contains(c.target) || $e.current());
|
|
1723
|
+
};
|
|
1724
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1725
|
+
}, []), V(() => {
|
|
1726
|
+
const r = (c) => {
|
|
1727
|
+
G.current && (G.current.contains(c.target) || (P(!1), C("")));
|
|
1728
|
+
};
|
|
1729
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1730
|
+
}, []), V(() => {
|
|
1731
|
+
if (!h) return;
|
|
1732
|
+
const r = window.setTimeout(() => {
|
|
1733
|
+
g.current?.focus();
|
|
1734
|
+
}, 0);
|
|
1735
|
+
return () => window.clearTimeout(r);
|
|
1736
|
+
}, [h]), V(() => {
|
|
1737
|
+
if (!ee) return;
|
|
1738
|
+
if (se.length < 2) {
|
|
1739
|
+
Me();
|
|
1740
|
+
return;
|
|
1741
|
+
}
|
|
1742
|
+
const r = window.setTimeout(async () => {
|
|
1743
|
+
await Be(se);
|
|
1744
|
+
}, 250);
|
|
1745
|
+
return () => window.clearTimeout(r);
|
|
1746
|
+
}, [Me, ee, se, Be]);
|
|
1747
|
+
const Ue = (r) => {
|
|
1748
|
+
const c = r.current;
|
|
1749
|
+
if (!(!c || c.disabled)) {
|
|
1750
|
+
if (document.activeElement === c && Q.current === c && Date.now() - z.current < 6e4) {
|
|
1751
|
+
c.blur();
|
|
1752
|
+
return;
|
|
1753
|
+
}
|
|
1754
|
+
if (typeof c.showPicker == "function") {
|
|
1755
|
+
c.showPicker(), Q.current = c, z.current = Date.now();
|
|
1756
|
+
return;
|
|
1757
|
+
}
|
|
1758
|
+
c.focus(), Q.current = c, z.current = Date.now();
|
|
1759
|
+
}
|
|
1760
|
+
};
|
|
1761
|
+
return V(() => {
|
|
1762
|
+
const r = (c) => {
|
|
1763
|
+
l.current && (l.current.contains(c.target) || J(!1));
|
|
1764
|
+
};
|
|
1765
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1766
|
+
}, []), V(() => {
|
|
1767
|
+
const r = (K) => {
|
|
1768
|
+
K.target?.closest?.("[data-info-tooltip]") == null && ie(null);
|
|
1769
|
+
}, c = (K) => {
|
|
1770
|
+
K.key === "Escape" && ie(null);
|
|
1771
|
+
};
|
|
1772
|
+
return document.addEventListener("mousedown", r), document.addEventListener("keydown", c), () => {
|
|
1773
|
+
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", c);
|
|
1774
|
+
};
|
|
1775
|
+
}, []), /* @__PURE__ */ e.jsx(
|
|
1776
|
+
"section",
|
|
1777
|
+
{
|
|
1778
|
+
className: `${n.wrap} ${L}`,
|
|
1779
|
+
"aria-label": a("formTitle"),
|
|
1780
|
+
children: /* @__PURE__ */ e.jsx("div", { className: n.card, children: /* @__PURE__ */ e.jsxs("div", { className: n.cardInner, children: [
|
|
1781
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1782
|
+
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-full-name", children: [
|
|
1783
|
+
a("formFullName"),
|
|
1784
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
1785
|
+
] }) }),
|
|
1786
|
+
/* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
1787
|
+
"input",
|
|
1788
|
+
{
|
|
1789
|
+
id: "kundli-full-name",
|
|
1790
|
+
className: n.input,
|
|
1791
|
+
type: "text",
|
|
1792
|
+
value: o.fullName,
|
|
1793
|
+
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1794
|
+
onChange: (r) => {
|
|
1795
|
+
const c = r.target.value;
|
|
1796
|
+
T({ fullName: c }), R("fullName", c);
|
|
1797
|
+
},
|
|
1798
|
+
placeholder: a("formFullNamePlaceholder"),
|
|
1799
|
+
autoComplete: "name"
|
|
1800
|
+
}
|
|
1801
|
+
) })
|
|
1802
|
+
] }),
|
|
1803
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1804
|
+
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-phone", children: [
|
|
1805
|
+
a("formPhone"),
|
|
1806
|
+
!B && /* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
1807
|
+
] }) }),
|
|
1808
|
+
/* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: n.isdWrap, ref: G, children: [
|
|
1809
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.phoneInputGroup, children: [
|
|
1810
|
+
/* @__PURE__ */ e.jsx("div", { className: n.isdSelectWrap, children: /* @__PURE__ */ e.jsx(
|
|
1811
|
+
"button",
|
|
1812
|
+
{
|
|
1813
|
+
type: "button",
|
|
1814
|
+
className: n.isdSelectTrigger,
|
|
1815
|
+
"aria-haspopup": "listbox",
|
|
1816
|
+
"aria-expanded": h,
|
|
1817
|
+
onClick: () => {
|
|
1818
|
+
P((r) => !r), C("");
|
|
1819
|
+
},
|
|
1820
|
+
children: m
|
|
1821
|
+
}
|
|
1822
|
+
) }),
|
|
1823
|
+
/* @__PURE__ */ e.jsx(
|
|
1824
|
+
"input",
|
|
1825
|
+
{
|
|
1826
|
+
id: "kundli-phone",
|
|
1827
|
+
className: `${n.input} ${n.phoneInput}`,
|
|
1828
|
+
type: "tel",
|
|
1829
|
+
value: o.phone ?? "",
|
|
1830
|
+
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1831
|
+
onChange: (r) => {
|
|
1832
|
+
const c = r.target.value;
|
|
1833
|
+
T({ phone: yt(c) }), R("phone", yt(c));
|
|
1834
|
+
},
|
|
1835
|
+
placeholder: a("formPhonePlaceholder"),
|
|
1836
|
+
autoComplete: "tel",
|
|
1837
|
+
inputMode: "numeric",
|
|
1838
|
+
pattern: "[0-9]{10}",
|
|
1839
|
+
maxLength: 10,
|
|
1840
|
+
required: !B,
|
|
1841
|
+
"aria-required": !B
|
|
1842
|
+
}
|
|
1843
|
+
)
|
|
1844
|
+
] }),
|
|
1845
|
+
h && /* @__PURE__ */ e.jsxs(
|
|
1846
|
+
"div",
|
|
1847
|
+
{
|
|
1848
|
+
className: n.isdDropdown,
|
|
1849
|
+
role: "listbox",
|
|
1850
|
+
"aria-label": "ISD code options",
|
|
1851
|
+
children: [
|
|
1852
|
+
/* @__PURE__ */ e.jsx("div", { className: n.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
1853
|
+
"input",
|
|
1854
|
+
{
|
|
1855
|
+
ref: g,
|
|
1856
|
+
type: "text",
|
|
1857
|
+
value: U,
|
|
1858
|
+
onChange: (r) => C(r.target.value),
|
|
1859
|
+
placeholder: "Search country",
|
|
1860
|
+
className: n.isdSearchInput,
|
|
1861
|
+
"aria-label": "Search country"
|
|
1862
|
+
}
|
|
1863
|
+
) }),
|
|
1864
|
+
W.length > 0 ? W.map((r) => /* @__PURE__ */ e.jsxs(
|
|
1865
|
+
"button",
|
|
1866
|
+
{
|
|
1867
|
+
type: "button",
|
|
1868
|
+
role: "option",
|
|
1869
|
+
"aria-selected": r.code === m,
|
|
1870
|
+
className: `${n.isdOption} ${r.code === m ? n.isdOptionActive : ""}`,
|
|
1871
|
+
onClick: () => {
|
|
1872
|
+
p(r.code), P(!1), C("");
|
|
1873
|
+
},
|
|
1874
|
+
children: [
|
|
1875
|
+
/* @__PURE__ */ e.jsx("span", { className: n.isdCountryName, children: r.country }),
|
|
1876
|
+
/* @__PURE__ */ e.jsx("span", { className: n.isdCountryCode, children: r.code })
|
|
1877
|
+
]
|
|
1878
|
+
},
|
|
1879
|
+
`${r.code}-${r.country}`
|
|
1880
|
+
)) : /* @__PURE__ */ e.jsx("div", { className: n.isdNoResult, children: "No country found" })
|
|
1881
|
+
]
|
|
1882
|
+
}
|
|
1883
|
+
)
|
|
1884
|
+
] }) })
|
|
1885
|
+
] }),
|
|
1886
|
+
_ && /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1887
|
+
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, children: [
|
|
1888
|
+
a("formGender"),
|
|
1889
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
1890
|
+
] }) }),
|
|
1891
|
+
/* @__PURE__ */ e.jsxs(
|
|
1892
|
+
"div",
|
|
1893
|
+
{
|
|
1894
|
+
className: n.choiceRow,
|
|
1895
|
+
role: "radiogroup",
|
|
1896
|
+
"aria-label": a("formGender"),
|
|
1897
|
+
children: [
|
|
1898
|
+
/* @__PURE__ */ e.jsx(
|
|
1899
|
+
"button",
|
|
1900
|
+
{
|
|
1901
|
+
id: "kundli-gender-male",
|
|
1902
|
+
type: "button",
|
|
1903
|
+
className: `${n.choiceBtn} ${o.gender === "male" ? n.choiceBtnActive : ""}`,
|
|
1904
|
+
onClick: () => {
|
|
1905
|
+
T({ gender: "male" }), u?.trackGenderSelected?.({
|
|
1906
|
+
gender: "male"
|
|
1907
|
+
});
|
|
1908
|
+
},
|
|
1909
|
+
role: "radio",
|
|
1910
|
+
"aria-checked": o.gender === "male",
|
|
1911
|
+
children: a("formGenderMale")
|
|
1912
|
+
}
|
|
1913
|
+
),
|
|
1914
|
+
/* @__PURE__ */ e.jsx(
|
|
1915
|
+
"button",
|
|
1916
|
+
{
|
|
1917
|
+
id: "kundli-gender-female",
|
|
1918
|
+
type: "button",
|
|
1919
|
+
className: `${n.choiceBtn} ${o.gender === "female" ? n.choiceBtnActive : ""}`,
|
|
1920
|
+
onClick: () => {
|
|
1921
|
+
T({ gender: "female" }), u?.trackGenderSelected?.({
|
|
1922
|
+
gender: "female"
|
|
1923
|
+
});
|
|
1924
|
+
},
|
|
1925
|
+
role: "radio",
|
|
1926
|
+
"aria-checked": o.gender === "female",
|
|
1927
|
+
children: a("formGenderFemale")
|
|
1928
|
+
}
|
|
1929
|
+
)
|
|
1930
|
+
]
|
|
1931
|
+
}
|
|
1932
|
+
)
|
|
1933
|
+
] }),
|
|
1934
|
+
B && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1935
|
+
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-email", children: [
|
|
1936
|
+
a("formEmail"),
|
|
1937
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
1938
|
+
] }) }),
|
|
1939
|
+
/* @__PURE__ */ e.jsx("div", { className: n.help, children: a("formEmailHelp") }),
|
|
1940
|
+
/* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
1941
|
+
"input",
|
|
1942
|
+
{
|
|
1943
|
+
id: "kundli-email",
|
|
1944
|
+
className: n.input,
|
|
1945
|
+
type: "email",
|
|
1946
|
+
value: o.email,
|
|
1947
|
+
onFocus: () => u?.trackEmailSectionClicked?.(),
|
|
1948
|
+
onChange: (r) => {
|
|
1949
|
+
T({ email: r.target.value });
|
|
1950
|
+
},
|
|
1951
|
+
onBlur: X,
|
|
1952
|
+
placeholder: a("formEmailPlaceholder"),
|
|
1953
|
+
autoComplete: "email",
|
|
1954
|
+
required: !0,
|
|
1955
|
+
"aria-required": !0
|
|
1956
|
+
}
|
|
1957
|
+
) })
|
|
1958
|
+
] }) }),
|
|
1959
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1960
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.labelRow, children: [
|
|
1961
|
+
/* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-dob", children: [
|
|
1962
|
+
a("formDob"),
|
|
1963
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
1964
|
+
] }),
|
|
1965
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
|
|
1966
|
+
/* @__PURE__ */ e.jsx(
|
|
1967
|
+
"button",
|
|
1968
|
+
{
|
|
1969
|
+
type: "button",
|
|
1970
|
+
className: n.infoBtn,
|
|
1971
|
+
"aria-label": a("info"),
|
|
1972
|
+
"aria-expanded": de === "dob",
|
|
1973
|
+
onClick: () => {
|
|
1974
|
+
ie((r) => r === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1975
|
+
},
|
|
1976
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1977
|
+
"img",
|
|
1978
|
+
{
|
|
1979
|
+
className: n.infoImg,
|
|
1980
|
+
src: Oe.info,
|
|
1981
|
+
alt: "",
|
|
1982
|
+
"aria-hidden": !0
|
|
1983
|
+
}
|
|
1984
|
+
)
|
|
1985
|
+
}
|
|
1986
|
+
),
|
|
1987
|
+
de === "dob" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
1988
|
+
a("formDobInfo"),
|
|
1989
|
+
/* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
1990
|
+
] })
|
|
1991
|
+
] })
|
|
1992
|
+
] }),
|
|
1993
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, children: [
|
|
1994
|
+
/* @__PURE__ */ e.jsx(
|
|
1995
|
+
"input",
|
|
1996
|
+
{
|
|
1997
|
+
id: "kundli-dob",
|
|
1998
|
+
className: n.input,
|
|
1999
|
+
type: "date",
|
|
2000
|
+
ref: I,
|
|
2001
|
+
value: o.dateOfBirth,
|
|
2002
|
+
max: (() => {
|
|
2003
|
+
const r = /* @__PURE__ */ new Date();
|
|
2004
|
+
return `${r.getFullYear()}-${ae(r.getMonth() + 1)}-${ae(r.getDate())}`;
|
|
2005
|
+
})(),
|
|
2006
|
+
onChange: (r) => {
|
|
2007
|
+
const c = r.target.value, K = /* @__PURE__ */ new Date(), ge = `${K.getFullYear()}-${ae(K.getMonth() + 1)}-${ae(K.getDate())}`;
|
|
2008
|
+
c && c > ge || (T({ dateOfBirth: c }), R("dateOfBirth", c), Q.current = null);
|
|
2009
|
+
},
|
|
2010
|
+
onFocus: () => u?.trackDobClicked?.(),
|
|
2011
|
+
onClick: () => Ue(I),
|
|
2012
|
+
onBlur: () => {
|
|
2013
|
+
Q.current === I.current && (Q.current = null);
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
),
|
|
2017
|
+
/* @__PURE__ */ e.jsx(
|
|
2018
|
+
"button",
|
|
2019
|
+
{
|
|
2020
|
+
type: "button",
|
|
2021
|
+
className: `${n.iconBtn} ${n.iconBtnInteractive}`,
|
|
2022
|
+
"aria-label": "Open date picker",
|
|
2023
|
+
onMouseDown: (r) => r.preventDefault(),
|
|
2024
|
+
onClick: (r) => {
|
|
2025
|
+
r.preventDefault(), r.stopPropagation(), Ue(I);
|
|
2026
|
+
},
|
|
2027
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2028
|
+
"img",
|
|
2029
|
+
{
|
|
2030
|
+
className: n.iconImg,
|
|
2031
|
+
src: Oe.date,
|
|
2032
|
+
alt: "",
|
|
2033
|
+
"aria-hidden": !0
|
|
2034
|
+
}
|
|
2035
|
+
)
|
|
2036
|
+
}
|
|
2037
|
+
)
|
|
2038
|
+
] })
|
|
2039
|
+
] }),
|
|
2040
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
2041
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.labelRow, children: [
|
|
2042
|
+
/* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-birth-time", children: [
|
|
2043
|
+
a("formBirthTime"),
|
|
2044
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
2045
|
+
] }),
|
|
2046
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
|
|
2047
|
+
/* @__PURE__ */ e.jsx(
|
|
2048
|
+
"button",
|
|
2049
|
+
{
|
|
2050
|
+
type: "button",
|
|
2051
|
+
className: n.infoBtn,
|
|
2052
|
+
"aria-label": a("info"),
|
|
2053
|
+
"aria-expanded": de === "time",
|
|
2054
|
+
onClick: () => {
|
|
2055
|
+
u?.trackInfoIconClicked?.({ fieldName: "time" }), ie((r) => r === "time" ? null : "time");
|
|
2056
|
+
},
|
|
2057
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2058
|
+
"img",
|
|
2059
|
+
{
|
|
2060
|
+
className: n.infoImg,
|
|
2061
|
+
src: Oe.info,
|
|
2062
|
+
alt: "",
|
|
2063
|
+
"aria-hidden": !0
|
|
2064
|
+
}
|
|
2065
|
+
)
|
|
2066
|
+
}
|
|
2067
|
+
),
|
|
2068
|
+
de === "time" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2069
|
+
a("formBirthTimeInfo"),
|
|
2070
|
+
/* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2071
|
+
] })
|
|
2072
|
+
] })
|
|
2073
|
+
] }),
|
|
2074
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: l, children: [
|
|
2075
|
+
/* @__PURE__ */ e.jsx(
|
|
2076
|
+
"input",
|
|
2077
|
+
{
|
|
2078
|
+
id: "kundli-birth-time",
|
|
2079
|
+
className: n.input,
|
|
2080
|
+
type: "text",
|
|
2081
|
+
value: o.birthTime ? Ce(o.birthTime) : "",
|
|
2082
|
+
readOnly: !0,
|
|
2083
|
+
onFocus: () => u?.trackTimeClicked?.(),
|
|
2084
|
+
onChange: (r) => {
|
|
2085
|
+
const c = r.target.value;
|
|
2086
|
+
T({ birthTime: c }), R("birthTime", c);
|
|
2087
|
+
},
|
|
2088
|
+
disabled: o.birthTimeUnknown,
|
|
2089
|
+
placeholder: "HH:MM AM",
|
|
2090
|
+
onClick: () => {
|
|
2091
|
+
o.birthTimeUnknown || (oe(ye(o.birthTime || "12:00")), J((r) => !r));
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
),
|
|
2095
|
+
/* @__PURE__ */ e.jsx(
|
|
2096
|
+
"button",
|
|
2097
|
+
{
|
|
2098
|
+
type: "button",
|
|
2099
|
+
className: `${n.iconBtn} ${n.iconBtnInteractive}`,
|
|
2100
|
+
"aria-label": "Open time picker",
|
|
2101
|
+
disabled: o.birthTimeUnknown,
|
|
2102
|
+
onMouseDown: (r) => r.preventDefault(),
|
|
2103
|
+
onClick: (r) => {
|
|
2104
|
+
r.preventDefault(), r.stopPropagation(), !o.birthTimeUnknown && (oe(ye(o.birthTime || "12:00")), J((c) => !c));
|
|
2105
|
+
},
|
|
2106
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2107
|
+
"img",
|
|
2108
|
+
{
|
|
2109
|
+
className: n.iconImg,
|
|
2110
|
+
src: Oe.time,
|
|
2111
|
+
alt: "",
|
|
2112
|
+
"aria-hidden": !0
|
|
2113
|
+
}
|
|
2114
|
+
)
|
|
2115
|
+
}
|
|
2116
|
+
),
|
|
2117
|
+
O && !o.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
2118
|
+
"div",
|
|
2119
|
+
{
|
|
2120
|
+
className: n.timePopover,
|
|
2121
|
+
role: "dialog",
|
|
2122
|
+
"aria-label": "Select time",
|
|
2123
|
+
children: [
|
|
2124
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.timePickerRow, children: [
|
|
2125
|
+
/* @__PURE__ */ e.jsx(
|
|
2126
|
+
"select",
|
|
2127
|
+
{
|
|
2128
|
+
className: n.timePickerSelect,
|
|
2129
|
+
value: ne.hour12,
|
|
2130
|
+
onChange: (r) => oe((c) => ({
|
|
2131
|
+
...c,
|
|
2132
|
+
hour12: Number(r.target.value)
|
|
2133
|
+
})),
|
|
2134
|
+
"aria-label": "Hour",
|
|
2135
|
+
children: Array.from({ length: 12 }, (r, c) => c + 1).map((r) => /* @__PURE__ */ e.jsx("option", { value: r, children: r }, r))
|
|
2136
|
+
}
|
|
2137
|
+
),
|
|
2138
|
+
/* @__PURE__ */ e.jsx("span", { className: n.timePickerColon, children: ":" }),
|
|
2139
|
+
/* @__PURE__ */ e.jsx(
|
|
2140
|
+
"select",
|
|
2141
|
+
{
|
|
2142
|
+
className: n.timePickerSelect,
|
|
2143
|
+
value: ne.minute,
|
|
2144
|
+
onChange: (r) => oe((c) => ({ ...c, minute: r.target.value })),
|
|
2145
|
+
"aria-label": "Minute",
|
|
2146
|
+
children: Array.from({ length: 60 }, (r, c) => ae(c)).map(
|
|
2147
|
+
(r) => /* @__PURE__ */ e.jsx("option", { value: r, children: r }, r)
|
|
2148
|
+
)
|
|
2149
|
+
}
|
|
2150
|
+
),
|
|
2151
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.meridiemToggle, "aria-label": "AM/PM", children: [
|
|
2152
|
+
/* @__PURE__ */ e.jsx(
|
|
2153
|
+
"button",
|
|
2154
|
+
{
|
|
2155
|
+
type: "button",
|
|
2156
|
+
className: `${n.meridiemBtn} ${ne.meridiem === "AM" ? n.meridiemActive : ""}`,
|
|
2157
|
+
onClick: () => oe((r) => ({ ...r, meridiem: "AM" })),
|
|
2158
|
+
children: "AM"
|
|
2159
|
+
}
|
|
2160
|
+
),
|
|
2161
|
+
/* @__PURE__ */ e.jsx(
|
|
2162
|
+
"button",
|
|
2163
|
+
{
|
|
2164
|
+
type: "button",
|
|
2165
|
+
className: `${n.meridiemBtn} ${ne.meridiem === "PM" ? n.meridiemActive : ""}`,
|
|
2166
|
+
onClick: () => oe((r) => ({ ...r, meridiem: "PM" })),
|
|
2167
|
+
children: "PM"
|
|
2168
|
+
}
|
|
2169
|
+
)
|
|
2170
|
+
] })
|
|
2171
|
+
] }),
|
|
2172
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.timePopoverActions, children: [
|
|
2173
|
+
/* @__PURE__ */ e.jsx(
|
|
2174
|
+
"button",
|
|
2175
|
+
{
|
|
2176
|
+
type: "button",
|
|
2177
|
+
className: n.timePopoverBtn,
|
|
2178
|
+
onClick: () => J(!1),
|
|
2179
|
+
children: "Cancel"
|
|
2180
|
+
}
|
|
2181
|
+
),
|
|
2182
|
+
/* @__PURE__ */ e.jsx(
|
|
2183
|
+
"button",
|
|
2184
|
+
{
|
|
2185
|
+
type: "button",
|
|
2186
|
+
className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
|
|
2187
|
+
onClick: () => {
|
|
2188
|
+
const r = je(ne);
|
|
2189
|
+
T({ birthTime: r }), R("birthTime", r), J(!1);
|
|
2190
|
+
},
|
|
2191
|
+
"aria-label": "OK",
|
|
2192
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2193
|
+
"svg",
|
|
2194
|
+
{
|
|
2195
|
+
width: "18",
|
|
2196
|
+
height: "18",
|
|
2197
|
+
viewBox: "0 0 24 24",
|
|
2198
|
+
fill: "none",
|
|
2199
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2200
|
+
"aria-hidden": !0,
|
|
2201
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2202
|
+
"path",
|
|
2203
|
+
{
|
|
2204
|
+
d: "M20 6L9 17l-5-5",
|
|
2205
|
+
stroke: "currentColor",
|
|
2206
|
+
strokeWidth: "2",
|
|
2207
|
+
strokeLinecap: "round",
|
|
2208
|
+
strokeLinejoin: "round"
|
|
2209
|
+
}
|
|
2210
|
+
)
|
|
2211
|
+
}
|
|
2212
|
+
)
|
|
2213
|
+
}
|
|
2214
|
+
)
|
|
2215
|
+
] })
|
|
2216
|
+
]
|
|
2217
|
+
}
|
|
2218
|
+
)
|
|
2219
|
+
] }),
|
|
2220
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.checkboxRow, children: [
|
|
2221
|
+
/* @__PURE__ */ e.jsx(
|
|
2222
|
+
"input",
|
|
2223
|
+
{
|
|
2224
|
+
id: "kundli-time-unknown",
|
|
2225
|
+
className: n.checkbox,
|
|
2226
|
+
type: "checkbox",
|
|
2227
|
+
checked: o.birthTimeUnknown,
|
|
2228
|
+
onChange: (r) => {
|
|
2229
|
+
u?.trackTimeCheckboxClicked?.(), T({
|
|
2230
|
+
birthTimeUnknown: r.target.checked,
|
|
2231
|
+
birthTime: r.target.checked ? "" : o.birthTime
|
|
2232
|
+
});
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
),
|
|
2236
|
+
/* @__PURE__ */ e.jsxs(
|
|
2237
|
+
"label",
|
|
2238
|
+
{
|
|
2239
|
+
className: n.checkboxText,
|
|
2240
|
+
htmlFor: "kundli-time-unknown",
|
|
2241
|
+
children: [
|
|
2242
|
+
a("formBirthTimeUnknownLine1"),
|
|
2243
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
2244
|
+
a("formBirthTimeUnknownLine2")
|
|
2245
|
+
]
|
|
2246
|
+
}
|
|
2247
|
+
)
|
|
2248
|
+
] })
|
|
2249
|
+
] }),
|
|
2250
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
2251
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.labelRow, children: [
|
|
2252
|
+
/* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-birth-place", children: [
|
|
2253
|
+
a("formBirthPlace"),
|
|
2254
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
2255
|
+
] }),
|
|
2256
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
|
|
2257
|
+
/* @__PURE__ */ e.jsx(
|
|
2258
|
+
"button",
|
|
2259
|
+
{
|
|
2260
|
+
type: "button",
|
|
2261
|
+
className: n.infoBtn,
|
|
2262
|
+
"aria-label": a("info"),
|
|
2263
|
+
"aria-expanded": de === "place",
|
|
2264
|
+
onClick: () => {
|
|
2265
|
+
u?.trackInfoIconClicked?.({
|
|
2266
|
+
fieldName: "birthPlace"
|
|
2267
|
+
}), ie((r) => r === "place" ? null : "place");
|
|
2268
|
+
},
|
|
2269
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2270
|
+
"img",
|
|
2271
|
+
{
|
|
2272
|
+
className: n.infoImg,
|
|
2273
|
+
src: Oe.info,
|
|
2274
|
+
alt: "",
|
|
2275
|
+
"aria-hidden": !0
|
|
2276
|
+
}
|
|
2277
|
+
)
|
|
2278
|
+
}
|
|
2279
|
+
),
|
|
2280
|
+
de === "place" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2281
|
+
a("formBirthPlaceInfo"),
|
|
2282
|
+
/* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2283
|
+
] })
|
|
2284
|
+
] })
|
|
2285
|
+
] }),
|
|
2286
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: he, children: [
|
|
2287
|
+
/* @__PURE__ */ e.jsx(
|
|
2288
|
+
"input",
|
|
2289
|
+
{
|
|
2290
|
+
id: "kundli-birth-place",
|
|
2291
|
+
className: n.input,
|
|
2292
|
+
type: "text",
|
|
2293
|
+
value: o.birthPlace,
|
|
2294
|
+
onChange: (r) => {
|
|
2295
|
+
const c = r.target.value;
|
|
2296
|
+
T({
|
|
2297
|
+
birthPlace: c,
|
|
2298
|
+
birthPlaceLat: void 0,
|
|
2299
|
+
birthPlaceLng: void 0
|
|
2300
|
+
}), R("birthPlace", c), me(!0);
|
|
2301
|
+
},
|
|
2302
|
+
onFocus: () => {
|
|
2303
|
+
u?.trackPlaceOfBirthClicked?.(), me(!0);
|
|
2304
|
+
},
|
|
2305
|
+
placeholder: a("formBirthPlacePlaceholder"),
|
|
2306
|
+
autoComplete: "address-level2"
|
|
2307
|
+
}
|
|
2308
|
+
),
|
|
2309
|
+
/* @__PURE__ */ e.jsx("span", { className: n.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2310
|
+
"img",
|
|
2311
|
+
{
|
|
2312
|
+
className: n.iconImg,
|
|
2313
|
+
src: Oe.location,
|
|
2314
|
+
alt: "",
|
|
2315
|
+
"aria-hidden": !0
|
|
2316
|
+
}
|
|
2317
|
+
) }),
|
|
2318
|
+
ee && we.length > 0 && /* @__PURE__ */ e.jsx("div", { className: n.suggestions, role: "listbox", children: we.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
|
|
2319
|
+
"button",
|
|
2320
|
+
{
|
|
2321
|
+
type: "button",
|
|
2322
|
+
className: n.suggestionItem,
|
|
2323
|
+
onClick: async () => {
|
|
2324
|
+
const c = r.description;
|
|
2325
|
+
if (pe.current = c, T({
|
|
2326
|
+
birthPlace: c,
|
|
2327
|
+
birthPlaceLat: r.lat,
|
|
2328
|
+
birthPlaceLng: r.lng
|
|
2329
|
+
}), Me(), me(!1), le) {
|
|
2330
|
+
const K = await fe.getPlaceDetails(
|
|
2331
|
+
r.id
|
|
2332
|
+
);
|
|
2333
|
+
K && (pe.current = c, s({
|
|
2334
|
+
...o,
|
|
2335
|
+
birthPlace: c,
|
|
2336
|
+
birthPlaceLat: K.lat,
|
|
2337
|
+
birthPlaceLng: K.lng
|
|
2338
|
+
}));
|
|
2339
|
+
}
|
|
2340
|
+
},
|
|
2341
|
+
children: [
|
|
2342
|
+
/* @__PURE__ */ e.jsx("span", { className: n.suggestionMain, children: r.description }),
|
|
2343
|
+
r.secondaryText && /* @__PURE__ */ e.jsx("span", { className: n.suggestionSecondary, children: r.secondaryText })
|
|
2344
|
+
]
|
|
2345
|
+
},
|
|
2346
|
+
r.id
|
|
2347
|
+
)) }),
|
|
2348
|
+
ee && j && Ie && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
|
|
2349
|
+
ee && j && !Ie && !!Le && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: Le })
|
|
2350
|
+
] })
|
|
2351
|
+
] }),
|
|
2352
|
+
_ && /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
2353
|
+
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, children: [
|
|
2354
|
+
a("formReportLanguage"),
|
|
2355
|
+
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
2356
|
+
] }) }),
|
|
2357
|
+
/* @__PURE__ */ e.jsxs(
|
|
2358
|
+
"div",
|
|
2359
|
+
{
|
|
2360
|
+
className: n.choiceRow,
|
|
2361
|
+
role: "radiogroup",
|
|
2362
|
+
"aria-label": a("formReportLanguage"),
|
|
2363
|
+
children: [
|
|
2364
|
+
/* @__PURE__ */ e.jsx(
|
|
2365
|
+
"button",
|
|
2366
|
+
{
|
|
2367
|
+
id: "kundli-report-lang-hi",
|
|
2368
|
+
type: "button",
|
|
2369
|
+
className: `${n.choiceBtn} ${o.language_code === "hi" ? n.choiceBtnActive : ""}`,
|
|
2370
|
+
onClick: () => {
|
|
2371
|
+
T({ language_code: "hi" }), u?.trackLanguageOfReportSelected?.({
|
|
2372
|
+
language: "hi"
|
|
2373
|
+
});
|
|
2374
|
+
},
|
|
2375
|
+
role: "radio",
|
|
2376
|
+
"aria-checked": o.language_code === "hi",
|
|
2377
|
+
children: a("formReportLanguageHindi")
|
|
2378
|
+
}
|
|
2379
|
+
),
|
|
2380
|
+
/* @__PURE__ */ e.jsx(
|
|
2381
|
+
"button",
|
|
2382
|
+
{
|
|
2383
|
+
id: "kundli-report-lang-en",
|
|
2384
|
+
type: "button",
|
|
2385
|
+
className: `${n.choiceBtn} ${o.language_code === "en" ? n.choiceBtnActive : ""}`,
|
|
2386
|
+
onClick: () => {
|
|
2387
|
+
T({ language_code: "en" }), u?.trackLanguageOfReportSelected?.({
|
|
2388
|
+
language: "en"
|
|
2389
|
+
});
|
|
2390
|
+
},
|
|
2391
|
+
role: "radio",
|
|
2392
|
+
"aria-checked": o.language_code === "en",
|
|
2393
|
+
children: a("formReportLanguageEnglish")
|
|
2394
|
+
}
|
|
2395
|
+
),
|
|
2396
|
+
/* @__PURE__ */ e.jsx(
|
|
2397
|
+
"button",
|
|
2398
|
+
{
|
|
2399
|
+
id: "kundli-report-lang-te",
|
|
2400
|
+
type: "button",
|
|
2401
|
+
className: `${n.choiceBtn} ${o.language_code === "te" ? n.choiceBtnActive : ""}`,
|
|
2402
|
+
onClick: () => {
|
|
2403
|
+
T({ language_code: "te" }), u?.trackLanguageOfReportSelected?.({
|
|
2404
|
+
language: "te"
|
|
2405
|
+
});
|
|
2406
|
+
},
|
|
2407
|
+
role: "radio",
|
|
2408
|
+
"aria-checked": o.language_code === "te",
|
|
2409
|
+
children: a("formReportLanguageTelugu")
|
|
2410
|
+
}
|
|
2411
|
+
),
|
|
2412
|
+
/* @__PURE__ */ e.jsx(
|
|
2413
|
+
"button",
|
|
2414
|
+
{
|
|
2415
|
+
id: "kundli-report-lang-ta",
|
|
2416
|
+
type: "button",
|
|
2417
|
+
className: `${n.choiceBtn} ${o.language_code === "ta" ? n.choiceBtnActive : ""}`,
|
|
2418
|
+
onClick: () => {
|
|
2419
|
+
T({ language_code: "ta" }), u?.trackLanguageOfReportSelected?.({
|
|
2420
|
+
language: "ta"
|
|
2421
|
+
});
|
|
2422
|
+
},
|
|
2423
|
+
role: "radio",
|
|
2424
|
+
"aria-checked": o.language_code === "ta",
|
|
2425
|
+
children: a("formReportLanguageTamil")
|
|
2426
|
+
}
|
|
2427
|
+
),
|
|
2428
|
+
/* @__PURE__ */ e.jsx(
|
|
2429
|
+
"button",
|
|
2430
|
+
{
|
|
2431
|
+
id: "kundli-report-lang-kn",
|
|
2432
|
+
type: "button",
|
|
2433
|
+
className: `${n.choiceBtn} ${o.language_code === "kn" ? n.choiceBtnActive : ""}`,
|
|
2434
|
+
onClick: () => {
|
|
2435
|
+
T({ language_code: "kn" }), u?.trackLanguageOfReportSelected?.({
|
|
2436
|
+
language: "kn"
|
|
2437
|
+
});
|
|
2438
|
+
},
|
|
2439
|
+
role: "radio",
|
|
2440
|
+
"aria-checked": o.language_code === "kn",
|
|
2441
|
+
children: a("formReportLanguageKannada")
|
|
2442
|
+
}
|
|
2443
|
+
),
|
|
2444
|
+
/* @__PURE__ */ e.jsx(
|
|
2445
|
+
"button",
|
|
2446
|
+
{
|
|
2447
|
+
id: "kundli-report-lang-gu",
|
|
2448
|
+
type: "button",
|
|
2449
|
+
className: `${n.choiceBtn} ${o.language_code === "gu" ? n.choiceBtnActive : ""}`,
|
|
2450
|
+
onClick: () => {
|
|
2451
|
+
T({ language_code: "gu" }), u?.trackLanguageOfReportSelected?.({
|
|
2452
|
+
language: "gu"
|
|
2453
|
+
});
|
|
2454
|
+
},
|
|
2455
|
+
role: "radio",
|
|
2456
|
+
"aria-checked": o.language_code === "gu",
|
|
2457
|
+
children: a("formReportLanguageGujarati")
|
|
2458
|
+
}
|
|
2459
|
+
),
|
|
2460
|
+
/* @__PURE__ */ e.jsx(
|
|
2461
|
+
"button",
|
|
2462
|
+
{
|
|
2463
|
+
id: "kundli-report-lang-mr",
|
|
2464
|
+
type: "button",
|
|
2465
|
+
className: `${n.choiceBtn} ${o.language_code === "mr" ? n.choiceBtnActive : ""}`,
|
|
2466
|
+
onClick: () => {
|
|
2467
|
+
T({ language_code: "mr" }), u?.trackLanguageOfReportSelected?.({
|
|
2468
|
+
language: "mr"
|
|
2469
|
+
});
|
|
2470
|
+
},
|
|
2471
|
+
role: "radio",
|
|
2472
|
+
"aria-checked": o.language_code === "mr",
|
|
2473
|
+
children: a("formReportLanguageMarathi")
|
|
2474
|
+
}
|
|
2475
|
+
)
|
|
2476
|
+
]
|
|
2477
|
+
}
|
|
2478
|
+
)
|
|
2479
|
+
] })
|
|
2480
|
+
] }) })
|
|
2481
|
+
}
|
|
2482
|
+
);
|
|
2483
|
+
}, Pr = "_ctaButton_rhimw_2", Cr = "_ctaFilled_rhimw_21", Tr = "_ctaFilledContent_rhimw_52", Sr = "_chevronRight_rhimw_61", Ke = {
|
|
2484
|
+
ctaButton: Pr,
|
|
2485
|
+
ctaFilled: Cr,
|
|
2486
|
+
ctaFilledContent: Tr,
|
|
2487
|
+
chevronRight: Sr
|
|
2488
|
+
}, jt = "kundli-report-astrologer", jr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Ar = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Nr = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Rr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Er = ({ t: a }) => {
|
|
2489
|
+
const s = Ee()?.config.imageComponent ?? He;
|
|
2490
|
+
return /* @__PURE__ */ e.jsxs("div", { className: Ne.marqueeContent, children: [
|
|
2491
|
+
/* @__PURE__ */ e.jsxs("span", { className: Ne.badge, children: [
|
|
2492
|
+
/* @__PURE__ */ e.jsx(
|
|
2493
|
+
s,
|
|
2494
|
+
{
|
|
2495
|
+
src: jr,
|
|
2496
|
+
alt: "",
|
|
2497
|
+
className: Ne.badgeIcon,
|
|
2498
|
+
width: 16,
|
|
2499
|
+
height: 16,
|
|
2500
|
+
loading: "lazy"
|
|
2501
|
+
}
|
|
2502
|
+
),
|
|
2503
|
+
a("ctaKundliCreated")
|
|
2504
|
+
] }),
|
|
2505
|
+
/* @__PURE__ */ e.jsxs("span", { className: Ne.badge, children: [
|
|
2506
|
+
/* @__PURE__ */ e.jsx(
|
|
2507
|
+
s,
|
|
2508
|
+
{
|
|
2509
|
+
src: Ar,
|
|
2510
|
+
alt: "",
|
|
2511
|
+
className: Ne.badgeIcon,
|
|
2512
|
+
width: 16,
|
|
2513
|
+
height: 16,
|
|
2514
|
+
loading: "lazy"
|
|
2515
|
+
}
|
|
2516
|
+
),
|
|
2517
|
+
a("ctaCertified")
|
|
2518
|
+
] }),
|
|
2519
|
+
/* @__PURE__ */ e.jsxs("span", { className: Ne.badge, children: [
|
|
2520
|
+
/* @__PURE__ */ e.jsx(
|
|
2521
|
+
s,
|
|
2522
|
+
{
|
|
2523
|
+
src: Nr,
|
|
2524
|
+
alt: "",
|
|
2525
|
+
className: Ne.badgeIcon,
|
|
2526
|
+
width: 16,
|
|
2527
|
+
height: 16,
|
|
2528
|
+
loading: "lazy"
|
|
2529
|
+
}
|
|
2530
|
+
),
|
|
2531
|
+
a("ctaSecurePayment")
|
|
2532
|
+
] })
|
|
2533
|
+
] });
|
|
2534
|
+
}, Ir = (a) => /.+@.+\..+/.test(a), Lr = (a) => /^\d{10}$/.test(a), Br = (a, o, s) => {
|
|
2535
|
+
if (!a.fullName.trim()) return "fullName";
|
|
2536
|
+
if (o) {
|
|
2537
|
+
if (!Ir(a.email.trim())) return "email";
|
|
2538
|
+
} else if (!Lr((a.phone ?? "").trim())) return "phone";
|
|
2539
|
+
if (!a.dateOfBirth) return "dateOfBirth";
|
|
2540
|
+
if (!a.birthPlace.trim()) return "birthPlace";
|
|
2541
|
+
if (s) {
|
|
2542
|
+
if (!a.gender) return "gender";
|
|
2543
|
+
if (!a.language_code) return "language_code";
|
|
2544
|
+
}
|
|
2545
|
+
return !a.birthTimeUnknown && !a.birthTime ? "birthTime" : null;
|
|
2546
|
+
}, Dr = ({
|
|
2547
|
+
t: a,
|
|
2548
|
+
values: o,
|
|
2549
|
+
phoneIsdCode: s,
|
|
2550
|
+
requireV1ExtraFields: m = !1,
|
|
2551
|
+
onValidationFailed: p,
|
|
2552
|
+
onProceed: _,
|
|
2553
|
+
onProceedGuidance: f,
|
|
2554
|
+
href: w,
|
|
2555
|
+
analytics: x,
|
|
2556
|
+
className: M = "",
|
|
2557
|
+
discountedPriceLabel: L,
|
|
2558
|
+
discountPillLabel: A,
|
|
2559
|
+
showPlanSheet: u,
|
|
2560
|
+
confirmPlan: B,
|
|
2561
|
+
planSheetOpen: v,
|
|
2562
|
+
selectedPlan: $
|
|
2563
|
+
}) => {
|
|
2564
|
+
const b = Ee(), h = b?.config.isGlobal ?? !0, P = b?.config?.variant, U = Re(
|
|
2565
|
+
() => Br(o, h, m),
|
|
2566
|
+
[o, h, m]
|
|
2567
|
+
), C = U === null, G = P === "v1" && b?.config?.showSheet, g = h ? L ?? a("formDiscountedPrice") : G ? "" : "₹499", q = b?.config.imageComponent ?? He, T = (X) => {
|
|
2568
|
+
if (X.preventDefault(), P === "v1" && !C && x?.trackKundliDetailedClicked?.(), !C) {
|
|
2569
|
+
U && p?.(U);
|
|
2570
|
+
return;
|
|
2571
|
+
}
|
|
2572
|
+
const Z = !!f && P === "v1" && $?.id === jt, W = (o.phone ?? "").trim(), I = {
|
|
2573
|
+
...o,
|
|
2574
|
+
phone: W && `${s}-${W}`
|
|
2575
|
+
};
|
|
2576
|
+
if (G) {
|
|
2577
|
+
v ? B?.() : u?.(I);
|
|
2578
|
+
return;
|
|
2579
|
+
}
|
|
2580
|
+
x?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), Z ? f(I) : _?.(I);
|
|
2581
|
+
}, R = /* @__PURE__ */ e.jsx(
|
|
2582
|
+
Ht,
|
|
2583
|
+
{
|
|
2584
|
+
href: w,
|
|
2585
|
+
disabled: P === "v1" ? !1 : !C,
|
|
2586
|
+
onClick: T,
|
|
2587
|
+
"aria-label": a("formPriceAria"),
|
|
2588
|
+
className: P === "v1" && C ? Ke.ctaFilled : P === "v1" ? Ke.ctaButton : void 0,
|
|
2589
|
+
children: P === "v1" ? C ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
2590
|
+
G ? a("selectPackage") : v && $ ? `${a("proceedWithPlan")}${$.price}` : `${a("formProceed")} ${g}`,
|
|
2591
|
+
/* @__PURE__ */ e.jsx(
|
|
2592
|
+
q,
|
|
2593
|
+
{
|
|
2594
|
+
src: Rr,
|
|
2595
|
+
alt: "",
|
|
2596
|
+
className: Ke.chevronRight,
|
|
2597
|
+
width: 20,
|
|
2598
|
+
height: 20,
|
|
2599
|
+
loading: "lazy"
|
|
2600
|
+
}
|
|
2601
|
+
)
|
|
2602
|
+
] }) : a("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2603
|
+
a("formProceed"),
|
|
2604
|
+
" ",
|
|
2605
|
+
g
|
|
2606
|
+
] })
|
|
2607
|
+
}
|
|
2608
|
+
);
|
|
2609
|
+
return /* @__PURE__ */ e.jsx(
|
|
2610
|
+
Yt,
|
|
2611
|
+
{
|
|
2612
|
+
className: `${Ke.footerContainer} ${M}`,
|
|
2613
|
+
marquee: /* @__PURE__ */ e.jsx(Vt, { children: /* @__PURE__ */ e.jsx(Er, { t: a }) }),
|
|
2614
|
+
children: R
|
|
2615
|
+
}
|
|
2616
|
+
);
|
|
2617
|
+
}, Fr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Or = ({
|
|
2618
|
+
t: a,
|
|
2619
|
+
languageSelector: o,
|
|
2620
|
+
logoUrl: s = Fr,
|
|
2621
|
+
className: m = ""
|
|
2622
|
+
}) => {
|
|
2623
|
+
const p = Ee(), _ = p?.config.isGlobal ?? !0, f = o != null && !_;
|
|
2624
|
+
return /* @__PURE__ */ e.jsx(
|
|
2625
|
+
zt,
|
|
2626
|
+
{
|
|
2627
|
+
t: a,
|
|
2628
|
+
logoUrl: s,
|
|
2629
|
+
imageComponent: p?.config.imageComponent,
|
|
2630
|
+
languageSelector: o,
|
|
2631
|
+
showLanguageSelector: f,
|
|
2632
|
+
className: m
|
|
2633
|
+
}
|
|
2634
|
+
);
|
|
2635
|
+
}, Mr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2636
|
+
"path",
|
|
2637
|
+
{
|
|
2638
|
+
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
2639
|
+
stroke: "#22c55e",
|
|
2640
|
+
strokeWidth: "1.8",
|
|
2641
|
+
strokeLinecap: "round",
|
|
2642
|
+
strokeLinejoin: "round"
|
|
2643
|
+
}
|
|
2644
|
+
) }), $r = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2645
|
+
"path",
|
|
2646
|
+
{
|
|
2647
|
+
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
2648
|
+
stroke: "#ef4444",
|
|
2649
|
+
strokeWidth: "1.8",
|
|
2650
|
+
strokeLinecap: "round"
|
|
2651
|
+
}
|
|
2652
|
+
) }), ot = () => /* @__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" }) }), Ur = () => /* @__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: [
|
|
2653
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2654
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2655
|
+
] }), Gr = () => /* @__PURE__ */ e.jsx(
|
|
2656
|
+
"img",
|
|
2657
|
+
{
|
|
2658
|
+
src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
|
|
2659
|
+
width: 16,
|
|
2660
|
+
height: 16,
|
|
2661
|
+
alt: "",
|
|
2662
|
+
"aria-hidden": !0
|
|
2663
|
+
}
|
|
2664
|
+
), qr = () => /* @__PURE__ */ e.jsx(
|
|
2665
|
+
"img",
|
|
2666
|
+
{
|
|
2667
|
+
src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
|
|
2668
|
+
width: 16,
|
|
2669
|
+
height: 16,
|
|
2670
|
+
alt: "",
|
|
2671
|
+
"aria-hidden": !0
|
|
2672
|
+
}
|
|
2673
|
+
), Wr = () => /* @__PURE__ */ e.jsx(
|
|
2674
|
+
"img",
|
|
2675
|
+
{
|
|
2676
|
+
src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
|
|
2677
|
+
width: 16,
|
|
2678
|
+
height: 16,
|
|
2679
|
+
alt: "",
|
|
2680
|
+
"aria-hidden": !0
|
|
2681
|
+
}
|
|
2682
|
+
), Kr = "_overlay_1u7x5_2", Hr = "_sheet_1u7x5_12", Yr = "_sheetFullScreen_1u7x5_36", Vr = "_headerFull_1u7x5_50", zr = "_titleFull_1u7x5_63", Jr = "_header_1u7x5_50", Qr = "_backBtn_1u7x5_84", Xr = "_title_1u7x5_63", Zr = "_plansContainer_1u7x5_114", en = "_planCard_1u7x5_123", tn = "_withBadgeSpacing_1u7x5_137", an = "_planCardSelected_1u7x5_141", rn = "_planCardPopular_1u7x5_146", nn = "_popularBadge_1u7x5_155", on = "_planCardInner_1u7x5_173", ln = "_planTitleRow_1u7x5_184", sn = "_planTitle_1u7x5_184", cn = "_radioCircle_1u7x5_199", dn = "_radioChecked_1u7x5_212", un = "_radioInner_1u7x5_217", mn = "_priceRow_1u7x5_225", pn = "_price_1u7x5_225", fn = "_originalPrice_1u7x5_238", hn = "_savingsBadge_1u7x5_245", gn = "_featureList_1u7x5_255", _n = "_featureItem_1u7x5_264", bn = "_featureIcon_1u7x5_270", yn = "_featureText_1u7x5_276", vn = "_astrologerHeading_1u7x5_287", kn = "_astrologerList_1u7x5_294", xn = "_astrologerCard_1u7x5_310", wn = "_astrologerAvatar_1u7x5_326", Pn = "_astrologerAvatarPlaceholder_1u7x5_343", Cn = "_astrologerTop_1u7x5_349", Tn = "_astrologerBasicInfo_1u7x5_355", Sn = "_astrologerName_1u7x5_362", jn = "_astrologerExp_1u7x5_371", An = "_astrologerDivider_1u7x5_377", Nn = "_planDivider_1u7x5_383", Rn = "_astrologerCertList_1u7x5_390", En = "_astrologerCertItem_1u7x5_396", In = "_bullet_1u7x5_404", Ln = "_footer_1u7x5_409", Bn = "_proceedBtn_1u7x5_419", k = {
|
|
2683
|
+
overlay: Kr,
|
|
2684
|
+
sheet: Hr,
|
|
2685
|
+
sheetFullScreen: Yr,
|
|
2686
|
+
headerFull: Vr,
|
|
2687
|
+
titleFull: zr,
|
|
2688
|
+
header: Jr,
|
|
2689
|
+
backBtn: Qr,
|
|
2690
|
+
title: Xr,
|
|
2691
|
+
plansContainer: Zr,
|
|
2692
|
+
planCard: en,
|
|
2693
|
+
withBadgeSpacing: tn,
|
|
2694
|
+
planCardSelected: an,
|
|
2695
|
+
planCardPopular: rn,
|
|
2696
|
+
popularBadge: nn,
|
|
2697
|
+
planCardInner: on,
|
|
2698
|
+
planTitleRow: ln,
|
|
2699
|
+
planTitle: sn,
|
|
2700
|
+
radioCircle: cn,
|
|
2701
|
+
radioChecked: dn,
|
|
2702
|
+
radioInner: un,
|
|
2703
|
+
priceRow: mn,
|
|
2704
|
+
price: pn,
|
|
2705
|
+
originalPrice: fn,
|
|
2706
|
+
savingsBadge: hn,
|
|
2707
|
+
featureList: gn,
|
|
2708
|
+
featureItem: _n,
|
|
2709
|
+
featureIcon: bn,
|
|
2710
|
+
featureText: yn,
|
|
2711
|
+
astrologerHeading: vn,
|
|
2712
|
+
astrologerList: kn,
|
|
2713
|
+
astrologerCard: xn,
|
|
2714
|
+
astrologerAvatar: wn,
|
|
2715
|
+
astrologerAvatarPlaceholder: Pn,
|
|
2716
|
+
astrologerTop: Cn,
|
|
2717
|
+
astrologerBasicInfo: Tn,
|
|
2718
|
+
astrologerName: Sn,
|
|
2719
|
+
astrologerExp: jn,
|
|
2720
|
+
astrologerDivider: An,
|
|
2721
|
+
planDivider: Nn,
|
|
2722
|
+
astrologerCertList: Rn,
|
|
2723
|
+
astrologerCertItem: En,
|
|
2724
|
+
bullet: In,
|
|
2725
|
+
footer: Ln,
|
|
2726
|
+
proceedBtn: Bn
|
|
2727
|
+
}, Dn = ({ title: a, onBack: o }) => /* @__PURE__ */ e.jsxs("div", { className: k.header, children: [
|
|
2728
|
+
/* @__PURE__ */ e.jsx(
|
|
2729
|
+
"button",
|
|
2730
|
+
{
|
|
2731
|
+
className: k.backBtn,
|
|
2732
|
+
onClick: o,
|
|
2733
|
+
"aria-label": "Go back",
|
|
2734
|
+
type: "button",
|
|
2735
|
+
children: /* @__PURE__ */ e.jsx(ot, {})
|
|
2736
|
+
}
|
|
2737
|
+
),
|
|
2738
|
+
/* @__PURE__ */ e.jsx("h2", { className: k.title, children: a })
|
|
2739
|
+
] }), Fn = ({ features: a, t: o }) => /* @__PURE__ */ e.jsx("ul", { className: k.featureList, "aria-label": "Plan features", children: a.map((s, m) => /* @__PURE__ */ e.jsxs("li", { className: k.featureItem, children: [
|
|
2740
|
+
/* @__PURE__ */ e.jsx("span", { className: k.featureIcon, children: s.included ? /* @__PURE__ */ e.jsx(Mr, {}) : /* @__PURE__ */ e.jsx($r, {}) }),
|
|
2741
|
+
/* @__PURE__ */ e.jsx(
|
|
2742
|
+
"span",
|
|
2743
|
+
{
|
|
2744
|
+
className: `${k.featureText} `,
|
|
2745
|
+
children: o?.(s.text) ?? s.text
|
|
2746
|
+
}
|
|
2747
|
+
)
|
|
2748
|
+
] }, m)) }), On = ({ astrologer: a, t: o }) => /* @__PURE__ */ e.jsxs("div", { className: k.astrologerCard, children: [
|
|
2749
|
+
/* @__PURE__ */ e.jsxs("div", { className: k.astrologerTop, children: [
|
|
2750
|
+
/* @__PURE__ */ e.jsx("div", { className: k.astrologerAvatar, "aria-hidden": !0, children: a.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: a.imageUrl, alt: o?.(a.name) ?? a.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: k.astrologerAvatarPlaceholder, children: a.name.charAt(0) }) }),
|
|
2751
|
+
/* @__PURE__ */ e.jsxs("div", { className: k.astrologerBasicInfo, children: [
|
|
2752
|
+
/* @__PURE__ */ e.jsx("p", { className: k.astrologerName, children: o?.(a.name) ?? a.name }),
|
|
2753
|
+
/* @__PURE__ */ e.jsx("p", { className: k.astrologerExp, children: o?.(a.experience) ?? a.experience })
|
|
2754
|
+
] })
|
|
2755
|
+
] }),
|
|
2756
|
+
/* @__PURE__ */ e.jsx("div", { className: k.astrologerDivider }),
|
|
2757
|
+
/* @__PURE__ */ e.jsx("div", { className: k.astrologerCertList, children: a.certifications.map((s, m) => /* @__PURE__ */ e.jsxs("p", { className: k.astrologerCertItem, children: [
|
|
2758
|
+
/* @__PURE__ */ e.jsx("span", { className: k.bullet, children: "•" }),
|
|
2759
|
+
" ",
|
|
2760
|
+
o?.(s) ?? s
|
|
2761
|
+
] }, m)) })
|
|
2762
|
+
] }), Mn = ({ label: a }) => /* @__PURE__ */ e.jsxs("div", { className: k.popularBadge, "aria-label": a, children: [
|
|
2763
|
+
/* @__PURE__ */ e.jsx(Ur, {}),
|
|
2764
|
+
/* @__PURE__ */ e.jsx("span", { children: a })
|
|
2765
|
+
] }), $n = ({ plan: a, isSelected: o, onSelect: s, t: m }) => {
|
|
2766
|
+
const p = () => s(a.id), _ = (f) => {
|
|
2767
|
+
(f.key === " " || f.key === "Enter") && (f.preventDefault(), s(a.id));
|
|
2768
|
+
};
|
|
2769
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2770
|
+
"div",
|
|
2771
|
+
{
|
|
2772
|
+
className: [
|
|
2773
|
+
k.planCard,
|
|
2774
|
+
o ? k.planCardSelected : "",
|
|
2775
|
+
o && k.planCardPopular
|
|
2776
|
+
].filter(Boolean).join(" "),
|
|
2777
|
+
onClick: p,
|
|
2778
|
+
role: "radio",
|
|
2779
|
+
"aria-checked": o,
|
|
2780
|
+
tabIndex: 0,
|
|
2781
|
+
onKeyDown: _,
|
|
2782
|
+
"data-plan-id": a.id,
|
|
2783
|
+
children: [
|
|
2784
|
+
a.badge && /* @__PURE__ */ e.jsx(Mn, { label: m?.(a.badge) ?? a.badge }),
|
|
2785
|
+
/* @__PURE__ */ e.jsxs("div", { className: k.planCardInner, children: [
|
|
2786
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${k.planTitleRow} ${a.badge ? k.withBadgeSpacing : ""}`, children: [
|
|
2787
|
+
/* @__PURE__ */ e.jsx("span", { className: k.planTitle, children: m?.(a.title) ?? a.title }),
|
|
2788
|
+
/* @__PURE__ */ e.jsx(
|
|
2789
|
+
"span",
|
|
2790
|
+
{
|
|
2791
|
+
className: `${k.radioCircle} ${o ? k.radioChecked : ""}`,
|
|
2792
|
+
"aria-hidden": !0,
|
|
2793
|
+
children: o && /* @__PURE__ */ e.jsx("span", { className: k.radioInner })
|
|
2794
|
+
}
|
|
2795
|
+
)
|
|
2796
|
+
] }),
|
|
2797
|
+
/* @__PURE__ */ e.jsxs("div", { className: k.priceRow, children: [
|
|
2798
|
+
/* @__PURE__ */ e.jsx("span", { className: k.price, children: a.price }),
|
|
2799
|
+
a.originalPrice && /* @__PURE__ */ e.jsx("span", { className: k.originalPrice, children: a.originalPrice }),
|
|
2800
|
+
a.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: k.savingsBadge, children: m?.(a.savingsLabel, { percent: 25 }) ?? a.savingsLabel })
|
|
2801
|
+
] }),
|
|
2802
|
+
/* @__PURE__ */ e.jsx(Fn, { features: a.features, t: m }),
|
|
2803
|
+
a.astrologers && /* @__PURE__ */ e.jsx("div", { className: k.planDivider }),
|
|
2804
|
+
a.astrologers && a.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2805
|
+
/* @__PURE__ */ e.jsx("p", { className: k.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2806
|
+
/* @__PURE__ */ e.jsx("div", { className: k.astrologerList, role: "list", children: a.astrologers.map((f, w) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(On, { astrologer: f, t: m }) }, w)) })
|
|
2807
|
+
] })
|
|
2808
|
+
] })
|
|
2809
|
+
]
|
|
2810
|
+
}
|
|
2811
|
+
);
|
|
2812
|
+
}, vt = (a) => {
|
|
2813
|
+
const o = new Date(a);
|
|
2814
|
+
return Number.isNaN(o.getTime()) ? a : o.toLocaleTimeString(void 0, {
|
|
2815
|
+
hour: "numeric",
|
|
2816
|
+
minute: "2-digit",
|
|
2817
|
+
hour12: !0
|
|
2818
|
+
});
|
|
2819
|
+
}, Un = (a, o = /* @__PURE__ */ new Date()) => {
|
|
2820
|
+
const s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], m = /* @__PURE__ */ new Date(`${a}T00:00:00`);
|
|
2821
|
+
if (Number.isNaN(m.getTime()))
|
|
2822
|
+
return { id: a, dayLabel: a, dayNum: "" };
|
|
2823
|
+
const p = (w) => new Date(w.getFullYear(), w.getMonth(), w.getDate()).getTime(), _ = Math.round(
|
|
2824
|
+
(p(m) - p(o)) / (1e3 * 60 * 60 * 24)
|
|
2825
|
+
), f = _ === 0 ? "Today" : _ === 1 ? "Tomorrow" : s[m.getDay()];
|
|
2826
|
+
return { id: a, dayLabel: f, dayNum: String(m.getDate()) };
|
|
2827
|
+
}, Gn = [
|
|
2828
|
+
"morning",
|
|
2829
|
+
"afternoon",
|
|
2830
|
+
"evening"
|
|
2831
|
+
], qn = "_overlay_1gqll_2", Wn = "_sheet_1gqll_12", Kn = "_content_1gqll_34", Hn = "_header_1gqll_41", Yn = "_backBtn_1gqll_54", Vn = "_title_1gqll_72", zn = "_subtitle_1gqll_80", Jn = "_trustRow_1gqll_88", Qn = "_trustAvatars_1gqll_99", Xn = "_trustText_1gqll_112", Zn = "_trustDivider_1gqll_118", eo = "_astrologerRow_1gqll_125", to = "_astrologerCard_1gqll_138", ao = "_astrologerTop_1gqll_151", ro = "_astrologerAvatar_1gqll_157", no = "_astrologerBasicInfo_1gqll_174", oo = "_astrologerName_1gqll_179", io = "_astrologerMeta_1gqll_190", lo = "_astrologerCertList_1gqll_204", so = "_astrologerCertItem_1gqll_210", co = "_bullet_1gqll_218", uo = "_sectionHeading_1gqll_223", mo = "_dateTabs_1gqll_231", po = "_dateTab_1gqll_231", fo = "_dateTabDivider_1gqll_258", ho = "_dateTabSelected_1gqll_268", go = "_dateTabLabel_1gqll_274", _o = "_dateTabNum_1gqll_280", bo = "_periodTabs_1gqll_293", yo = "_periodTab_1gqll_293", vo = "_periodTabSelected_1gqll_319", ko = "_timeGrid_1gqll_326", xo = "_timeSlot_1gqll_333", wo = "_timeSlotSelected_1gqll_349", Po = "_stateMessage_1gqll_386", Co = "_retryBtn_1gqll_393", To = "_footer_1gqll_407", So = "_proceedBtn_1gqll_414", jo = "_proceedBtnDisabled_1gqll_432", S = {
|
|
2832
|
+
overlay: qn,
|
|
2833
|
+
sheet: Wn,
|
|
2834
|
+
content: Kn,
|
|
2835
|
+
header: Hn,
|
|
2836
|
+
backBtn: Yn,
|
|
2837
|
+
title: Vn,
|
|
2838
|
+
subtitle: zn,
|
|
2839
|
+
trustRow: Jn,
|
|
2840
|
+
trustAvatars: Qn,
|
|
2841
|
+
trustText: Xn,
|
|
2842
|
+
trustDivider: Zn,
|
|
2843
|
+
astrologerRow: eo,
|
|
2844
|
+
astrologerCard: to,
|
|
2845
|
+
astrologerTop: ao,
|
|
2846
|
+
astrologerAvatar: ro,
|
|
2847
|
+
astrologerBasicInfo: no,
|
|
2848
|
+
astrologerName: oo,
|
|
2849
|
+
astrologerMeta: io,
|
|
2850
|
+
astrologerCertList: lo,
|
|
2851
|
+
astrologerCertItem: so,
|
|
2852
|
+
bullet: co,
|
|
2853
|
+
sectionHeading: uo,
|
|
2854
|
+
dateTabs: mo,
|
|
2855
|
+
dateTab: po,
|
|
2856
|
+
dateTabDivider: fo,
|
|
2857
|
+
dateTabSelected: ho,
|
|
2858
|
+
dateTabLabel: go,
|
|
2859
|
+
dateTabNum: _o,
|
|
2860
|
+
periodTabs: bo,
|
|
2861
|
+
periodTab: yo,
|
|
2862
|
+
periodTabSelected: vo,
|
|
2863
|
+
timeGrid: ko,
|
|
2864
|
+
timeSlot: xo,
|
|
2865
|
+
timeSlotSelected: wo,
|
|
2866
|
+
stateMessage: Po,
|
|
2867
|
+
retryBtn: Co,
|
|
2868
|
+
footer: To,
|
|
2869
|
+
proceedBtn: So,
|
|
2870
|
+
proceedBtnDisabled: jo
|
|
2871
|
+
}, Ao = {
|
|
2872
|
+
morning: Gr,
|
|
2873
|
+
afternoon: qr,
|
|
2874
|
+
evening: Wr
|
|
2875
|
+
}, No = {
|
|
2876
|
+
morning: "planPeriodMorning",
|
|
2877
|
+
afternoon: "planPeriodAfternoon",
|
|
2878
|
+
evening: "planPeriodEvening"
|
|
2879
|
+
}, Ro = ({
|
|
2880
|
+
isOpen: a,
|
|
2881
|
+
onClose: o,
|
|
2882
|
+
onProceed: s,
|
|
2883
|
+
astrologers: m,
|
|
2884
|
+
t: p,
|
|
2885
|
+
analytics: _
|
|
2886
|
+
}) => {
|
|
2887
|
+
const f = Ee(), w = f?.config.imageComponent ?? He, x = f?.config.fetchConsultationSlots, [M, L] = F([]), [A, u] = F(!1), [B, v] = F(!1), [$, b] = F(""), [h, P] = F("morning"), [U, C] = F(null), G = H(!1), g = Re(
|
|
2888
|
+
() => M.filter((l) => l.has_availability && l.slots.length > 0),
|
|
2889
|
+
[M]
|
|
2890
|
+
), q = be(() => {
|
|
2891
|
+
x && (u(!0), v(!1), x().then((l) => {
|
|
2892
|
+
L(l?.days ?? []);
|
|
2893
|
+
}).catch(() => {
|
|
2894
|
+
v(!0);
|
|
2895
|
+
}).finally(() => u(!1)));
|
|
2896
|
+
}, [x]);
|
|
2897
|
+
V(() => {
|
|
2898
|
+
if (!a) {
|
|
2899
|
+
G.current = !1;
|
|
2900
|
+
return;
|
|
2901
|
+
}
|
|
2902
|
+
q();
|
|
2903
|
+
}, [a]), V(() => {
|
|
2904
|
+
if (!g.length) {
|
|
2905
|
+
b(""), C(null);
|
|
2906
|
+
return;
|
|
2907
|
+
}
|
|
2908
|
+
const l = g[0];
|
|
2909
|
+
b(
|
|
2910
|
+
(O) => g.some((J) => J.date === O) ? O : l.date
|
|
2911
|
+
);
|
|
2912
|
+
}, [g]);
|
|
2913
|
+
const T = Re(
|
|
2914
|
+
() => g.find((l) => l.date === $) ?? null,
|
|
2915
|
+
[g, $]
|
|
2916
|
+
), R = Re(() => {
|
|
2917
|
+
if (!T) return [];
|
|
2918
|
+
const l = new Set(T.slots.map((O) => O.period));
|
|
2919
|
+
return Gn.filter((O) => l.has(O));
|
|
2920
|
+
}, [T]);
|
|
2921
|
+
V(() => {
|
|
2922
|
+
if (!R.length) {
|
|
2923
|
+
P("morning"), C(null);
|
|
2924
|
+
return;
|
|
2925
|
+
}
|
|
2926
|
+
P(
|
|
2927
|
+
(l) => R.includes(l) ? l : R[0]
|
|
2928
|
+
);
|
|
2929
|
+
}, [R]);
|
|
2930
|
+
const X = Re(() => T ? T.slots.filter((l) => l.period === h) : [], [T, h]);
|
|
2931
|
+
if (V(() => {
|
|
2932
|
+
if (!X.length) {
|
|
2933
|
+
C(null);
|
|
2934
|
+
return;
|
|
2935
|
+
}
|
|
2936
|
+
C(
|
|
2937
|
+
(l) => l && X.some((O) => O.start === l.start) ? l : X[0]
|
|
2938
|
+
);
|
|
2939
|
+
}, [X]), V(() => {
|
|
2940
|
+
a && g.length && !G.current && (_?.trackSlotScreenViewed?.({
|
|
2941
|
+
astrologers_shown: m.map((l) => l.name),
|
|
2942
|
+
dates_available_count: g.length
|
|
2943
|
+
}), G.current = !0);
|
|
2944
|
+
}, [a, g, m, _]), !a) return null;
|
|
2945
|
+
const Z = !!U, W = (l) => {
|
|
2946
|
+
b(l), _?.trackSlotDateSelected?.({
|
|
2947
|
+
date: l,
|
|
2948
|
+
day_part_default: h
|
|
2949
|
+
});
|
|
2950
|
+
}, I = (l) => {
|
|
2951
|
+
P(l), _?.trackDayPartSelected?.({
|
|
2952
|
+
day_part: l,
|
|
2953
|
+
slots_available_count: T?.slots.filter((O) => O.period === l).length ?? 0
|
|
2954
|
+
});
|
|
2955
|
+
}, Q = (l) => {
|
|
2956
|
+
C(l), _?.trackSlotSelected?.({
|
|
2957
|
+
date: $,
|
|
2958
|
+
time: vt(l.start),
|
|
2959
|
+
day_part: l.period,
|
|
2960
|
+
topic: null
|
|
2961
|
+
});
|
|
2962
|
+
}, z = () => {
|
|
2963
|
+
U && (_?.trackSlotReservationRequested?.({
|
|
2964
|
+
slot_datetime: `${U.start} - ${U.end}`
|
|
2965
|
+
}), s({
|
|
2966
|
+
start: U.start,
|
|
2967
|
+
end: U.end,
|
|
2968
|
+
period: U.period
|
|
2969
|
+
}));
|
|
2970
|
+
};
|
|
2971
|
+
return /* @__PURE__ */ e.jsx(
|
|
2972
|
+
"div",
|
|
2973
|
+
{
|
|
2974
|
+
className: S.overlay,
|
|
2975
|
+
role: "dialog",
|
|
2976
|
+
"aria-modal": "true",
|
|
2977
|
+
"aria-label": p?.("planConsultationSlotTitle") ?? "Select consultation slot",
|
|
2978
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: S.sheet, children: [
|
|
2979
|
+
/* @__PURE__ */ e.jsxs("div", { className: S.header, children: [
|
|
2980
|
+
/* @__PURE__ */ e.jsx(
|
|
2981
|
+
"button",
|
|
2982
|
+
{
|
|
2983
|
+
className: S.backBtn,
|
|
2984
|
+
onClick: o,
|
|
2985
|
+
"aria-label": "Go back",
|
|
2986
|
+
type: "button",
|
|
2987
|
+
children: /* @__PURE__ */ e.jsx(ot, {})
|
|
2988
|
+
}
|
|
2989
|
+
),
|
|
2990
|
+
/* @__PURE__ */ e.jsx("h2", { className: S.title, children: p?.("planConsultationSlotTitle") ?? "Select consultation slot" })
|
|
2991
|
+
] }),
|
|
2992
|
+
/* @__PURE__ */ e.jsxs("div", { className: S.content, children: [
|
|
2993
|
+
/* @__PURE__ */ e.jsx("p", { className: S.subtitle, children: p?.("planAstrologerHeading") ?? "We will assign you a top astrologer" }),
|
|
2994
|
+
/* @__PURE__ */ e.jsx("div", { className: S.astrologerRow, role: "list", children: m.map((l, O) => /* @__PURE__ */ e.jsxs("div", { className: S.astrologerCard, role: "listitem", children: [
|
|
2995
|
+
/* @__PURE__ */ e.jsxs("div", { className: S.astrologerTop, children: [
|
|
2996
|
+
/* @__PURE__ */ e.jsx("div", { className: S.astrologerAvatar, "aria-hidden": !0, children: l.imageUrl && /* @__PURE__ */ e.jsx(
|
|
2997
|
+
w,
|
|
2998
|
+
{
|
|
2999
|
+
src: l.imageUrl,
|
|
3000
|
+
alt: p?.(l.name) ?? l.name,
|
|
3001
|
+
width: 40,
|
|
3002
|
+
height: 40
|
|
3003
|
+
}
|
|
3004
|
+
) }),
|
|
3005
|
+
/* @__PURE__ */ e.jsxs("div", { className: S.astrologerBasicInfo, children: [
|
|
3006
|
+
/* @__PURE__ */ e.jsx("p", { className: S.astrologerName, children: p?.(l.name) ?? l.name }),
|
|
3007
|
+
/* @__PURE__ */ e.jsx("p", { className: S.astrologerMeta, children: p?.(l.experience) ?? l.experience }),
|
|
3008
|
+
l.languages && l.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: S.astrologerMeta, children: l.languages.join(", ") })
|
|
3009
|
+
] })
|
|
3010
|
+
] }),
|
|
3011
|
+
/* @__PURE__ */ e.jsx("div", { className: S.astrologerCertList, children: l.certifications.map((J, ne) => /* @__PURE__ */ e.jsxs("p", { className: S.astrologerCertItem, children: [
|
|
3012
|
+
/* @__PURE__ */ e.jsx("span", { className: S.bullet, children: "•" }),
|
|
3013
|
+
" ",
|
|
3014
|
+
p?.(J) ?? J
|
|
3015
|
+
] }, ne)) })
|
|
3016
|
+
] }, O)) }),
|
|
3017
|
+
/* @__PURE__ */ e.jsxs("div", { className: S.trustRow, children: [
|
|
3018
|
+
/* @__PURE__ */ e.jsx("div", { className: S.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3019
|
+
w,
|
|
3020
|
+
{
|
|
3021
|
+
src: "https://srm-cdn.a4b.io/yoda/1785317712031.svg",
|
|
3022
|
+
alt: "",
|
|
3023
|
+
width: 64,
|
|
3024
|
+
height: 28,
|
|
3025
|
+
priority: !0,
|
|
3026
|
+
fetchPriority: "high",
|
|
3027
|
+
loading: "eager"
|
|
3028
|
+
}
|
|
3029
|
+
) }),
|
|
3030
|
+
/* @__PURE__ */ e.jsx("span", { className: S.trustText, children: p?.("planConsultationTrustLabel") ?? "3,750+ people have booked consultation" })
|
|
3031
|
+
] }),
|
|
3032
|
+
/* @__PURE__ */ e.jsx("hr", { className: S.trustDivider }),
|
|
3033
|
+
/* @__PURE__ */ e.jsx("p", { className: S.sectionHeading, children: p?.("planSelectSlotHeading") ?? "Select consultation slot" }),
|
|
3034
|
+
A && /* @__PURE__ */ e.jsx("p", { className: S.stateMessage, children: p?.("planSlotsLoading") ?? "Loading available slots…" }),
|
|
3035
|
+
!A && B && /* @__PURE__ */ e.jsxs("div", { className: S.stateMessage, children: [
|
|
3036
|
+
p?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
3037
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: S.retryBtn, onClick: q, children: p?.("planRetry") ?? "Retry" })
|
|
3038
|
+
] }),
|
|
3039
|
+
!A && !B && g.length === 0 && /* @__PURE__ */ e.jsx("p", { className: S.stateMessage, children: p?.("planNoSlotsAvailable") ?? "No slots available right now." }),
|
|
3040
|
+
!A && !B && g.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3041
|
+
/* @__PURE__ */ e.jsx("div", { className: S.dateTabs, role: "radiogroup", "aria-label": "Consultation date", children: g.map((l) => {
|
|
3042
|
+
const O = l.date === $, { dayLabel: J, dayNum: ne } = Un(l.date);
|
|
3043
|
+
return /* @__PURE__ */ e.jsxs(Wt, { children: [
|
|
3044
|
+
/* @__PURE__ */ e.jsxs(
|
|
3045
|
+
"button",
|
|
3046
|
+
{
|
|
3047
|
+
type: "button",
|
|
3048
|
+
className: [
|
|
3049
|
+
S.dateTab,
|
|
3050
|
+
O ? S.dateTabSelected : ""
|
|
3051
|
+
].filter(Boolean).join(" "),
|
|
3052
|
+
role: "radio",
|
|
3053
|
+
"aria-checked": O,
|
|
3054
|
+
onClick: () => W(l.date),
|
|
3055
|
+
children: [
|
|
3056
|
+
/* @__PURE__ */ e.jsx("span", { className: S.dateTabLabel, children: p?.(J) ?? J }),
|
|
3057
|
+
/* @__PURE__ */ e.jsx("span", { className: S.dateTabNum, children: ne })
|
|
3058
|
+
]
|
|
3059
|
+
}
|
|
3060
|
+
),
|
|
3061
|
+
/* @__PURE__ */ e.jsx("span", { className: S.dateTabDivider, "aria-hidden": !0 })
|
|
3062
|
+
] }, l.date);
|
|
3063
|
+
}) }),
|
|
3064
|
+
/* @__PURE__ */ e.jsx("div", { className: S.periodTabs, role: "tablist", "aria-label": "Time of day", children: R.map((l) => {
|
|
3065
|
+
const O = Ao[l];
|
|
3066
|
+
return /* @__PURE__ */ e.jsxs(
|
|
3067
|
+
"button",
|
|
3068
|
+
{
|
|
3069
|
+
type: "button",
|
|
3070
|
+
className: [
|
|
3071
|
+
S.periodTab,
|
|
3072
|
+
l === h ? S.periodTabSelected : ""
|
|
3073
|
+
].filter(Boolean).join(" "),
|
|
3074
|
+
role: "tab",
|
|
3075
|
+
"aria-selected": l === h,
|
|
3076
|
+
onClick: () => I(l),
|
|
3077
|
+
children: [
|
|
3078
|
+
/* @__PURE__ */ e.jsx(O, {}),
|
|
3079
|
+
p?.(No[l]) ?? l.charAt(0).toUpperCase() + l.slice(1)
|
|
3080
|
+
]
|
|
3081
|
+
},
|
|
3082
|
+
l
|
|
3083
|
+
);
|
|
3084
|
+
}) }),
|
|
3085
|
+
/* @__PURE__ */ e.jsx("div", { className: S.timeGrid, role: "radiogroup", "aria-label": "Consultation time", children: X.map((l, O) => /* @__PURE__ */ e.jsx(
|
|
3086
|
+
"button",
|
|
3087
|
+
{
|
|
3088
|
+
type: "button",
|
|
3089
|
+
className: [
|
|
3090
|
+
S.timeSlot,
|
|
3091
|
+
U?.start === l.start ? S.timeSlotSelected : ""
|
|
3092
|
+
].filter(Boolean).join(" "),
|
|
3093
|
+
role: "radio",
|
|
3094
|
+
"aria-checked": U?.start === l.start,
|
|
3095
|
+
onClick: () => Q(l),
|
|
3096
|
+
children: vt(l.start)
|
|
3097
|
+
},
|
|
3098
|
+
`${l.start}-${O}`
|
|
3099
|
+
)) })
|
|
3100
|
+
] })
|
|
3101
|
+
] }),
|
|
3102
|
+
/* @__PURE__ */ e.jsx("div", { className: S.footer, children: /* @__PURE__ */ e.jsx(
|
|
3103
|
+
"button",
|
|
3104
|
+
{
|
|
3105
|
+
type: "button",
|
|
3106
|
+
className: [S.proceedBtn, Z ? "" : S.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
3107
|
+
disabled: !Z,
|
|
3108
|
+
onClick: z,
|
|
3109
|
+
children: p?.("planProceedToPayment") ?? "Proceed to payment"
|
|
3110
|
+
}
|
|
3111
|
+
) })
|
|
3112
|
+
] })
|
|
3113
|
+
}
|
|
3114
|
+
);
|
|
3115
|
+
}, Eo = [
|
|
3116
|
+
{
|
|
3117
|
+
id: "jyoti",
|
|
3118
|
+
name: "planAstrologerNameJyoti",
|
|
3119
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
3120
|
+
experience: "planAstrologerExpJyoti",
|
|
3121
|
+
certifications: [
|
|
3122
|
+
"planAstrologerCertCertifiedJyotish",
|
|
3123
|
+
"planAstrologerCertAccurateSolutions"
|
|
3124
|
+
]
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
id: "samiksha",
|
|
3128
|
+
name: "planAstrologerNameSamiksha",
|
|
3129
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
3130
|
+
experience: "planAstrologerExpSamiksha",
|
|
3131
|
+
certifications: [
|
|
3132
|
+
"planAstrologerCertVedicAstrology",
|
|
3133
|
+
"planAstrologerCertResultOriented"
|
|
3134
|
+
]
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
id: "neeraj",
|
|
3138
|
+
name: "planAstrologerNameNeeraj",
|
|
3139
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
3140
|
+
experience: "planAstrologerExpNeeraj",
|
|
3141
|
+
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
3142
|
+
}
|
|
3143
|
+
], Io = (a) => [
|
|
3144
|
+
{
|
|
3145
|
+
id: "kundli-report",
|
|
3146
|
+
title: "planNameBasic",
|
|
3147
|
+
price: a ? "$25" : "₹499",
|
|
3148
|
+
features: [
|
|
3149
|
+
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
3150
|
+
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
3151
|
+
{ text: "planFeatureClearLanguage", included: !0 },
|
|
3152
|
+
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
3153
|
+
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
3154
|
+
]
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
id: "kundli-report-astrologer",
|
|
3158
|
+
title: "planNameGuidance",
|
|
3159
|
+
price: a ? "$41" : "₹999",
|
|
3160
|
+
originalPrice: a ? "$25+$25" : "₹499+₹850",
|
|
3161
|
+
savingsLabel: "planSaveLabel",
|
|
3162
|
+
badge: "planMostPopular",
|
|
3163
|
+
features: [
|
|
3164
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
3165
|
+
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
3166
|
+
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
3167
|
+
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
3168
|
+
],
|
|
3169
|
+
astrologers: Eo.filter(
|
|
3170
|
+
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
3171
|
+
)
|
|
3172
|
+
}
|
|
3173
|
+
], Lo = ({
|
|
3174
|
+
isOpen: a,
|
|
3175
|
+
onClose: o,
|
|
3176
|
+
selectedPlan: s,
|
|
3177
|
+
onSelectPlan: m,
|
|
3178
|
+
plans: p,
|
|
3179
|
+
onProceed: _,
|
|
3180
|
+
t: f,
|
|
3181
|
+
analytics: w,
|
|
3182
|
+
enableConsultationScheduling: x
|
|
3183
|
+
}) => {
|
|
3184
|
+
const M = Ee(), L = M?.config.isGlobal ?? !0, A = x ?? M?.config.enableConsultationScheduling ?? !1, u = p ?? Io(L), B = s?.id || u.find((C) => C.badge)?.id || u[0]?.id || "", v = H(null), $ = H(null), b = H(!1), [h, P] = F(!1);
|
|
3185
|
+
V(() => {
|
|
3186
|
+
if (a) {
|
|
3187
|
+
if (!s) {
|
|
3188
|
+
const C = u.find((G) => G.badge) ?? u[0];
|
|
3189
|
+
C && m(C);
|
|
3190
|
+
}
|
|
3191
|
+
b.current || (w?.trackPlanPageViewed?.(), A && w?.trackPlanScreenViewed?.({
|
|
3192
|
+
plans_shown: u.map((C) => C.id),
|
|
3193
|
+
default_selected_plan: s?.id || u.find((C) => C.badge)?.id || u[0]?.id || ""
|
|
3194
|
+
}), b.current = !0);
|
|
3195
|
+
} else
|
|
3196
|
+
b.current = !1;
|
|
3197
|
+
}, [a, u, s, m, w]);
|
|
3198
|
+
const U = () => {
|
|
3199
|
+
w?.trackPlanPageClosed?.(), o();
|
|
3200
|
+
};
|
|
3201
|
+
return V(() => {
|
|
3202
|
+
if (!a) return;
|
|
3203
|
+
const C = document.body.style.overflow;
|
|
3204
|
+
return document.body.style.overflow = "hidden", () => {
|
|
3205
|
+
document.body.style.overflow = C;
|
|
3206
|
+
};
|
|
3207
|
+
}, [a]), a ? /* @__PURE__ */ e.jsxs(
|
|
3208
|
+
"div",
|
|
3209
|
+
{
|
|
3210
|
+
className: k.overlay,
|
|
3211
|
+
role: "dialog",
|
|
3212
|
+
"aria-modal": "true",
|
|
3213
|
+
"aria-label": f?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
3214
|
+
children: [
|
|
3215
|
+
/* @__PURE__ */ e.jsxs(
|
|
3216
|
+
"div",
|
|
3217
|
+
{
|
|
3218
|
+
ref: v,
|
|
3219
|
+
className: A ? k.sheetFullScreen : k.sheet,
|
|
3220
|
+
children: [
|
|
3221
|
+
A ? /* @__PURE__ */ e.jsxs("div", { className: k.headerFull, children: [
|
|
3222
|
+
/* @__PURE__ */ e.jsx(
|
|
3223
|
+
"button",
|
|
3224
|
+
{
|
|
3225
|
+
className: k.backBtn,
|
|
3226
|
+
onClick: U,
|
|
3227
|
+
"aria-label": "Go back",
|
|
3228
|
+
type: "button",
|
|
3229
|
+
children: /* @__PURE__ */ e.jsx(ot, {})
|
|
3230
|
+
}
|
|
3231
|
+
),
|
|
3232
|
+
/* @__PURE__ */ e.jsx("h2", { className: k.titleFull, children: f?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
3233
|
+
] }) : /* @__PURE__ */ e.jsx(
|
|
3234
|
+
Dn,
|
|
3235
|
+
{
|
|
3236
|
+
title: f?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
3237
|
+
onBack: U
|
|
3238
|
+
}
|
|
3239
|
+
),
|
|
3240
|
+
/* @__PURE__ */ e.jsx(
|
|
3241
|
+
"div",
|
|
3242
|
+
{
|
|
3243
|
+
ref: $,
|
|
3244
|
+
className: k.plansContainer,
|
|
3245
|
+
role: "radiogroup",
|
|
3246
|
+
"aria-label": "Kundli plans",
|
|
3247
|
+
children: u.map((C) => /* @__PURE__ */ e.jsx(
|
|
3248
|
+
$n,
|
|
3249
|
+
{
|
|
3250
|
+
plan: C,
|
|
3251
|
+
isSelected: C.id === B,
|
|
3252
|
+
t: f,
|
|
3253
|
+
onSelect: (G) => {
|
|
3254
|
+
const g = u.find((q) => q.id === G);
|
|
3255
|
+
g && (w?.trackPlanSelected?.({
|
|
3256
|
+
planId: g.id,
|
|
3257
|
+
planName: g.title,
|
|
3258
|
+
...A ? {
|
|
3259
|
+
price: g.price,
|
|
3260
|
+
includes_consultation: !!(g.astrologers && g.astrologers.length > 0),
|
|
3261
|
+
cta_label: g.astrologers && g.astrologers.length > 0 ? f?.("planSelectConsultationSlot") ?? "Select consultation slot →" : f?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
3262
|
+
} : {}
|
|
3263
|
+
}), m(g));
|
|
3264
|
+
}
|
|
3265
|
+
},
|
|
3266
|
+
C.id
|
|
3267
|
+
))
|
|
3268
|
+
}
|
|
3269
|
+
),
|
|
3270
|
+
/* @__PURE__ */ e.jsx("div", { className: k.footer, children: /* @__PURE__ */ e.jsx(
|
|
3271
|
+
"button",
|
|
3272
|
+
{
|
|
3273
|
+
className: k.proceedBtn,
|
|
3274
|
+
disabled: !s,
|
|
3275
|
+
onClick: () => {
|
|
3276
|
+
if (s) {
|
|
3277
|
+
if (A && s.astrologers && s.astrologers.length > 0) {
|
|
3278
|
+
w?.trackSelectConsultationSlotClicked?.({
|
|
3279
|
+
planId: s.id,
|
|
3280
|
+
planName: s.title
|
|
3281
|
+
}), w?.trackPlanProceedClicked?.({
|
|
3282
|
+
planId: s.id,
|
|
3283
|
+
planName: s.title,
|
|
3284
|
+
cta_type: "confirm_consultation_slot",
|
|
3285
|
+
next_step: "slot_selection"
|
|
3286
|
+
}), P(!0);
|
|
3287
|
+
return;
|
|
3288
|
+
}
|
|
3289
|
+
w?.trackPlanProceedClicked?.({
|
|
3290
|
+
planId: s.id,
|
|
3291
|
+
planName: s.title,
|
|
3292
|
+
...A ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
3293
|
+
}), _(s), o();
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
children: s ? A && s.astrologers && s.astrologers.length > 0 ? f?.("planSelectConsultationSlot") ?? "Select consultation slot →" : f?.("planProceedToPayment") ?? s.price + "Proceed to Payment" : "Select a plan"
|
|
3297
|
+
}
|
|
3298
|
+
) })
|
|
3299
|
+
]
|
|
3300
|
+
}
|
|
3301
|
+
),
|
|
3302
|
+
A && s?.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3303
|
+
Ro,
|
|
3304
|
+
{
|
|
3305
|
+
isOpen: h,
|
|
3306
|
+
onClose: () => P(!1),
|
|
3307
|
+
astrologers: s.astrologers,
|
|
3308
|
+
t: f,
|
|
3309
|
+
analytics: w,
|
|
3310
|
+
onProceed: (C) => {
|
|
3311
|
+
w?.trackPlanProceedClicked?.({
|
|
3312
|
+
planId: s.id,
|
|
3313
|
+
planName: s.title
|
|
3314
|
+
}), _(s, C), P(!1), o();
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
)
|
|
3318
|
+
]
|
|
3319
|
+
}
|
|
3320
|
+
) : null;
|
|
3321
|
+
}, Bo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Do = (a, o) => wt[a]?.[o] ?? o, Fo = (a, o) => a && et.includes(a) ? a : o ? "+1" : "+91", Oo = {
|
|
3322
|
+
fullName: "",
|
|
3323
|
+
phone: "",
|
|
3324
|
+
phoneCountryCode: "",
|
|
3325
|
+
gender: "",
|
|
3326
|
+
email: "",
|
|
3327
|
+
language_code: "",
|
|
3328
|
+
dateOfBirth: "",
|
|
3329
|
+
birthTime: "",
|
|
3330
|
+
birthTimeUnknown: !1,
|
|
3331
|
+
birthPlace: ""
|
|
3332
|
+
}, Ho = ({
|
|
3333
|
+
className: a = "",
|
|
3334
|
+
locale: o,
|
|
3335
|
+
showLanguageSelector: s = !0,
|
|
3336
|
+
onBack: m,
|
|
3337
|
+
initialValues: p,
|
|
3338
|
+
onProceed: _,
|
|
3339
|
+
onProceedGuidance: f,
|
|
3340
|
+
proceedHref: w,
|
|
3341
|
+
originalPriceLabel: x,
|
|
3342
|
+
discountedPriceLabel: M,
|
|
3343
|
+
googleMapsApiKey: L = "",
|
|
3344
|
+
atlasSearchLocalities: A,
|
|
3345
|
+
googleMapsAutocompleteEnabled: u,
|
|
3346
|
+
analytics: B
|
|
3347
|
+
}) => {
|
|
3348
|
+
const v = Ee(), $ = ca(), b = v !== null, h = b ? v.locale : o, P = h ?? $?.locale ?? "en", [U, C] = F(P), G = b ? v.locale : U, g = b ? v.setLocale : C, [q, T] = F(!1), R = H(null), X = H(
|
|
3349
|
+
h
|
|
3350
|
+
), Z = H(
|
|
3351
|
+
$?.locale
|
|
3352
|
+
);
|
|
3353
|
+
V(() => {
|
|
3354
|
+
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
3355
|
+
}, []);
|
|
3356
|
+
const W = (j) => Do(G, j);
|
|
3357
|
+
V(() => {
|
|
3358
|
+
h && X.current !== h && g(h), X.current = h;
|
|
3359
|
+
}, [h, g]), V(() => {
|
|
3360
|
+
if (h) return;
|
|
3361
|
+
const j = $?.locale;
|
|
3362
|
+
j && Z.current !== j && g(j), Z.current = j;
|
|
3363
|
+
}, [$?.locale, h, g]);
|
|
3364
|
+
const [I, Q] = F({
|
|
3365
|
+
...Oo,
|
|
3366
|
+
...p,
|
|
3367
|
+
phone: p?.phone ?? ""
|
|
3368
|
+
}), z = b ? v?.config.isGlobal ?? !0 : !0, l = b ? v.formValues : I, O = b ? v.setFormValues : Q, [J, ne] = F(
|
|
3369
|
+
() => Fo(l.phoneCountryCode, z)
|
|
3370
|
+
), oe = H(
|
|
3371
|
+
!!(l.phoneCountryCode && et.includes(l.phoneCountryCode))
|
|
3372
|
+
), ae = H(!1), Ce = be((j) => {
|
|
3373
|
+
ae.current = !0, ne(j);
|
|
3374
|
+
}, []), ye = H(!0);
|
|
3375
|
+
V(() => {
|
|
3376
|
+
if (ye.current) {
|
|
3377
|
+
ye.current = !1;
|
|
3378
|
+
return;
|
|
3379
|
+
}
|
|
3380
|
+
oe.current || ae.current || ne(z ? "+1" : "+91");
|
|
3381
|
+
}, [z]), V(() => {
|
|
3382
|
+
if (!b || ae.current) return;
|
|
3383
|
+
const j = l.phoneCountryCode;
|
|
3384
|
+
j && et.includes(j) && j !== J && (oe.current = !0, ne(j));
|
|
3385
|
+
}, [b, l.phoneCountryCode]);
|
|
3386
|
+
const je = b ? v.goToPage : m, he = b ? v.onProceed : _, ee = b ? v.onProceedGuidance : f, me = b ? v.config.proceedHref : w, pe = b ? v.config.originalPriceLabel : x, de = b ? v.config.discountedPriceLabel : M, ie = b ? v.config.showLanguageSelector ?? !0 : s, ve = (b ? v?.config?.analytics : B) ?? B;
|
|
3387
|
+
V(() => {
|
|
3388
|
+
if (!q) return;
|
|
3389
|
+
const j = (Be) => {
|
|
3390
|
+
R.current && !R.current.contains(Be.target) && T(!1);
|
|
3391
|
+
};
|
|
3392
|
+
return document.addEventListener("mousedown", j), () => document.removeEventListener("mousedown", j);
|
|
3393
|
+
}, [q]);
|
|
3394
|
+
const [Se, le] = F(!1), [se, Te] = F(null), ke = H(null), fe = be((j) => {
|
|
3395
|
+
ke.current = j, le(!0);
|
|
3396
|
+
}, []), xe = H(!1);
|
|
3397
|
+
V(() => {
|
|
3398
|
+
if (xe.current || !b || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
|
|
3399
|
+
return;
|
|
3400
|
+
xe.current = !0;
|
|
3401
|
+
const j = (l.phone ?? "").trim();
|
|
3402
|
+
fe({
|
|
3403
|
+
...l,
|
|
3404
|
+
phone: j && `${J}-${j}`
|
|
3405
|
+
});
|
|
3406
|
+
}, [b, v?.config.autoOpenPlanSheet, v?.config.variant, l, J, fe]);
|
|
3407
|
+
const we = be(() => {
|
|
3408
|
+
if (!ke.current || !se) return;
|
|
3409
|
+
ve?.trackPlanProceedClicked?.({
|
|
3410
|
+
planId: se.id,
|
|
3411
|
+
planName: se.title,
|
|
3412
|
+
price: se.price,
|
|
3413
|
+
currency: z ? "USD" : "INR"
|
|
3414
|
+
});
|
|
3415
|
+
const j = { ...ke.current, _selectedPlan: se };
|
|
3416
|
+
se.id === jt && ee ? ee(j) : he?.(j), le(!1), ke.current = null;
|
|
3417
|
+
}, [se, he, ee]), Ie = v?.config.imageComponent ?? He, Le = ie ? /* @__PURE__ */ e.jsxs("div", { className: Pe.langDropdownWrap, ref: R, children: [
|
|
3418
|
+
/* @__PURE__ */ e.jsxs(
|
|
3419
|
+
"button",
|
|
3420
|
+
{
|
|
3421
|
+
type: "button",
|
|
3422
|
+
className: Pe.langTrigger,
|
|
3423
|
+
onClick: () => {
|
|
3424
|
+
ve?.trackLanguageClickedFe?.({ language: G }), T((j) => !j);
|
|
3425
|
+
},
|
|
3426
|
+
"aria-expanded": q,
|
|
3427
|
+
"aria-haspopup": "listbox",
|
|
3428
|
+
id: "kundli-form-lang",
|
|
3429
|
+
"aria-label": W("language"),
|
|
3430
|
+
children: [
|
|
3431
|
+
/* @__PURE__ */ e.jsx(
|
|
3432
|
+
Ie,
|
|
3433
|
+
{
|
|
3434
|
+
src: Bo,
|
|
3435
|
+
alt: "",
|
|
3436
|
+
className: Pe.langIcon,
|
|
3437
|
+
width: 16,
|
|
3438
|
+
height: 16,
|
|
3439
|
+
loading: "eager"
|
|
3440
|
+
}
|
|
3441
|
+
),
|
|
3442
|
+
/* @__PURE__ */ e.jsx("span", { className: Pe.langLabel, children: gt[G] })
|
|
3443
|
+
]
|
|
3444
|
+
}
|
|
3445
|
+
),
|
|
3446
|
+
q && /* @__PURE__ */ e.jsx(
|
|
3447
|
+
"ul",
|
|
3448
|
+
{
|
|
3449
|
+
className: Pe.langMenu,
|
|
3450
|
+
role: "listbox",
|
|
3451
|
+
"aria-labelledby": "kundli-form-lang",
|
|
3452
|
+
"aria-activedescendant": `kundli-form-lang-option-${G}`,
|
|
3453
|
+
children: xt.map((j) => /* @__PURE__ */ e.jsx(
|
|
3454
|
+
"li",
|
|
3455
|
+
{
|
|
3456
|
+
id: `kundli-form-lang-option-${j}`,
|
|
3457
|
+
role: "option",
|
|
3458
|
+
"aria-selected": j === G,
|
|
3459
|
+
className: Pe.langOption,
|
|
3460
|
+
onClick: () => {
|
|
3461
|
+
ve?.trackLanguageChangedFe?.({ newLanguage: j }), g(j), T(!1);
|
|
3462
|
+
},
|
|
3463
|
+
children: gt[j]
|
|
3464
|
+
},
|
|
3465
|
+
j
|
|
3466
|
+
))
|
|
3467
|
+
}
|
|
3468
|
+
)
|
|
3469
|
+
] }) : null;
|
|
3470
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${Pe.container} ${a}`, children: [
|
|
3471
|
+
/* @__PURE__ */ e.jsx(
|
|
3472
|
+
Or,
|
|
3473
|
+
{
|
|
3474
|
+
t: W,
|
|
3475
|
+
logoUrl: b ? v.config.logoUrl : void 0,
|
|
3476
|
+
languageSelector: Le,
|
|
3477
|
+
className: Pe.kundliHeaderNoBorder
|
|
3478
|
+
}
|
|
3479
|
+
),
|
|
3480
|
+
/* @__PURE__ */ e.jsx("div", { className: Pe.headerSeparator, "aria-hidden": !0 }),
|
|
3481
|
+
/* @__PURE__ */ e.jsxs("main", { className: Pe.main, children: [
|
|
3482
|
+
/* @__PURE__ */ e.jsx(_a, { t: W, onBack: je }),
|
|
3483
|
+
/* @__PURE__ */ e.jsx(
|
|
3484
|
+
wr,
|
|
3485
|
+
{
|
|
3486
|
+
t: W,
|
|
3487
|
+
values: l,
|
|
3488
|
+
onChange: O,
|
|
3489
|
+
googleMapsApiKey: L,
|
|
3490
|
+
atlasSearchLocalities: A,
|
|
3491
|
+
googleMapsAutocompleteEnabled: u,
|
|
3492
|
+
phoneIsdCode: J,
|
|
3493
|
+
onPhoneIsdCodeChange: Ce,
|
|
3494
|
+
showV1ExtraFields: b ? v?.config.variant === "v1" : !1,
|
|
3495
|
+
analytics: ve
|
|
3496
|
+
}
|
|
3497
|
+
)
|
|
3498
|
+
] }),
|
|
3499
|
+
/* @__PURE__ */ e.jsx(
|
|
3500
|
+
Dr,
|
|
3501
|
+
{
|
|
3502
|
+
t: W,
|
|
3503
|
+
values: l,
|
|
3504
|
+
phoneIsdCode: J,
|
|
3505
|
+
onProceed: he,
|
|
3506
|
+
onProceedGuidance: ee,
|
|
3507
|
+
href: me,
|
|
3508
|
+
originalPriceLabel: pe,
|
|
3509
|
+
discountedPriceLabel: de,
|
|
3510
|
+
analytics: ve,
|
|
3511
|
+
showPlanSheet: fe,
|
|
3512
|
+
confirmPlan: we,
|
|
3513
|
+
planSheetOpen: Se,
|
|
3514
|
+
selectedPlan: se
|
|
3515
|
+
}
|
|
3516
|
+
),
|
|
3517
|
+
v?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
|
|
3518
|
+
Lo,
|
|
3519
|
+
{
|
|
3520
|
+
isOpen: Se,
|
|
3521
|
+
onClose: () => le(!1),
|
|
3522
|
+
selectedPlan: se,
|
|
3523
|
+
onSelectPlan: Te,
|
|
3524
|
+
onProceed: () => {
|
|
3525
|
+
we?.();
|
|
3526
|
+
},
|
|
3527
|
+
t: W,
|
|
3528
|
+
analytics: ve
|
|
3529
|
+
}
|
|
3530
|
+
)
|
|
3531
|
+
] });
|
|
3532
|
+
}, Yo = {
|
|
3533
|
+
banner_clicked_fe: "banner_clicked_fe",
|
|
3534
|
+
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3535
|
+
language_changed_fe: "language_changed_fe",
|
|
3536
|
+
language_clicked_fe: "language_clicked_fe",
|
|
3537
|
+
retry_payment: "retry_payment",
|
|
3538
|
+
detailed_kundli_report_impression_fe: "detailed_kundli_report_impression_fe",
|
|
3539
|
+
payment_partner_page_opened: "payment_partner_page_opened",
|
|
3540
|
+
view_sample_report_clicked: "view_sample_report_clicked",
|
|
3541
|
+
view_sample_report_closed: "view_sample_report_closed",
|
|
3542
|
+
info_icon_clicked: "info_icon_clicked",
|
|
3543
|
+
name_section_clicked: "name_section_clicked",
|
|
3544
|
+
name_section_filled: "name_section_filled",
|
|
3545
|
+
phone_section_clicked: "phone_section_clicked",
|
|
3546
|
+
phone_section_filled: "phone_section_filled",
|
|
3547
|
+
email_section_clicked: "email_section_clicked",
|
|
3548
|
+
email_section_filled: "email_section_filled",
|
|
3549
|
+
dob_clicked: "dob_clicked",
|
|
3550
|
+
dob_filled: "dob_filled",
|
|
3551
|
+
time_clicked: "time_clicked",
|
|
3552
|
+
time_filled: "time_filled",
|
|
3553
|
+
time_checkbox_clicked: "time_checkbox_clicked",
|
|
3554
|
+
place_of_birth_clicked: "place_of_birth_clicked",
|
|
3555
|
+
place_of_birth_chosen: "place_of_birth_chosen",
|
|
3556
|
+
language_of_report_clicked: "language_of_report_clicked",
|
|
3557
|
+
primary_cta_clicked_l1: "primary_cta_clicked_l1",
|
|
3558
|
+
/** Plan Selection Page / Bottom Sheet viewed */
|
|
3559
|
+
kundli_plan_page_viewed: "kundli_plan_page_viewed",
|
|
3560
|
+
/** Plan selected (card clicked) */
|
|
3561
|
+
kundli_plan_selected: "kundli_plan_selected",
|
|
3562
|
+
/** Proceed to payment clicked on plan sheet */
|
|
3563
|
+
kundli_plan_proceed_clicked: "kundli_plan_proceed_clicked",
|
|
3564
|
+
/** Plan sheet closed without proceeding */
|
|
3565
|
+
kundli_plan_page_closed: "kundli_plan_page_closed",
|
|
3566
|
+
/** "Select consultation slot" CTA clicked on the astrologer guidance plan card */
|
|
3567
|
+
kundli_plan_select_consultation_slot_clicked: "kundli_plan_select_consultation_slot_clicked",
|
|
3568
|
+
/* Consultation Scheduling Funnel Events (FE only) */
|
|
3569
|
+
/** Plan selection screen loads (full-screen consultation scheduling flow) */
|
|
3570
|
+
kundli_plan_screen_viewed: "kundli_plan_screen_viewed",
|
|
3571
|
+
/** Slot selection screen loads */
|
|
3572
|
+
kundli_slot_screen_viewed: "kundli_slot_screen_viewed",
|
|
3573
|
+
/** User picks a date */
|
|
3574
|
+
kundli_slot_date_selected: "kundli_slot_date_selected",
|
|
3575
|
+
/** User switches Morning/Afternoon/Evening */
|
|
3576
|
+
kundli_day_part_selected: "kundli_day_part_selected",
|
|
3577
|
+
/** User picks a guidance topic chip */
|
|
3578
|
+
kundli_guidance_topic_selected: "kundli_guidance_topic_selected",
|
|
3579
|
+
/** User taps a time slot */
|
|
3580
|
+
kundli_slot_selected: "kundli_slot_selected",
|
|
3581
|
+
/** User taps confirm slot / proceeds to reserve ("Proceed to payment" in the slot modal) */
|
|
3582
|
+
kundli_slot_reservation_requested: "kundli_slot_reservation_requested",
|
|
3583
|
+
/** Payment screen loads with an active hold (tracked by host app's payment page) */
|
|
3584
|
+
kundli_payment_screen_viewed: "kundli_payment_screen_viewed",
|
|
3585
|
+
/** User selects a payment method (tracked by host app's payment page) */
|
|
3586
|
+
kundli_payment_method_selected: "kundli_payment_method_selected",
|
|
3587
|
+
/** User confirms payment / gateway opens (tracked by host app's payment page) */
|
|
3588
|
+
kundli_payment_initiated: "kundli_payment_initiated",
|
|
3589
|
+
/** Success + confirmation screen shown (tracked by host app's confirmation page) */
|
|
3590
|
+
kundli_booking_confirmation_viewed: "kundli_booking_confirmation_viewed",
|
|
3591
|
+
/** User routed back to re-select after losing their slot (expired/failed/taken) */
|
|
3592
|
+
kundli_slot_lost_fallback_shown: "kundli_slot_lost_fallback_shown",
|
|
3593
|
+
/** Legacy / alias: when landing page is viewed */
|
|
3594
|
+
kundli_page_view: "kundli_page_view",
|
|
3595
|
+
/** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
|
|
3596
|
+
kundli_form_view: "kundli_form_view",
|
|
3597
|
+
/** 3-SKU: sample report viewed for the 1-question plan */
|
|
3598
|
+
one_question_view_sample_report_clicked: "1_question_view_sample_report_clicked",
|
|
3599
|
+
one_question_view_sample_report_closed: "1_question_view_sample_report_closed",
|
|
3600
|
+
/** Sample image modal events */
|
|
3601
|
+
kundli_view_sample_image_clicked: "kundli_view_sample_image_clicked",
|
|
3602
|
+
kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
|
|
3603
|
+
};
|
|
3604
|
+
export {
|
|
3605
|
+
Ro as C,
|
|
3606
|
+
He as D,
|
|
3607
|
+
_a as F,
|
|
3608
|
+
Uo as I,
|
|
3609
|
+
Yo as K,
|
|
3610
|
+
gt as L,
|
|
3611
|
+
jt as P,
|
|
3612
|
+
xt as S,
|
|
3613
|
+
wr as U,
|
|
3614
|
+
Ct as a,
|
|
3615
|
+
rt as b,
|
|
3616
|
+
Ho as c,
|
|
3617
|
+
Wo as d,
|
|
3618
|
+
ma as e,
|
|
3619
|
+
pa as f,
|
|
3620
|
+
da as g,
|
|
3621
|
+
Ee as h,
|
|
3622
|
+
qo as i,
|
|
3623
|
+
Ko as j,
|
|
3624
|
+
Io as k,
|
|
3625
|
+
e as l,
|
|
3626
|
+
Or as m,
|
|
3627
|
+
ot as n,
|
|
3628
|
+
Dr as o,
|
|
3629
|
+
Lo as p,
|
|
3630
|
+
Go as r,
|
|
3631
|
+
ua as s,
|
|
3632
|
+
wt as t,
|
|
3633
|
+
ca as u
|
|
3634
|
+
};
|
|
3635
|
+
//# sourceMappingURL=analytics-ze71U5q2.js.map
|