@srimandir/hanuman-chalisa 1.5.8 → 1.5.10
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/hanuman-chalisa.js +192 -192
- package/dist/hanuman-chalisa.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ye, { useContext as Me, createContext as $e, useState as O, useEffect as X, useRef as Be } from "react";
|
|
2
2
|
var z = { exports: {} }, U = {};
|
|
3
3
|
var Oe;
|
|
4
|
-
function
|
|
4
|
+
function Et() {
|
|
5
5
|
if (Oe) return U;
|
|
6
6
|
Oe = 1;
|
|
7
|
-
var h =
|
|
8
|
-
function o(b, d,
|
|
9
|
-
var l, j = {}, y = null,
|
|
10
|
-
|
|
7
|
+
var h = Ye, w = /* @__PURE__ */ Symbol.for("react.element"), E = /* @__PURE__ */ Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, v = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, P = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function o(b, d, C) {
|
|
9
|
+
var l, j = {}, y = null, R = null;
|
|
10
|
+
C !== void 0 && (y = "" + C), d.key !== void 0 && (y = "" + d.key), d.ref !== void 0 && (R = d.ref);
|
|
11
11
|
for (l in d) p.call(d, l) && !P.hasOwnProperty(l) && (j[l] = d[l]);
|
|
12
12
|
if (b && b.defaultProps) for (l in d = b.defaultProps, d) j[l] === void 0 && (j[l] = d[l]);
|
|
13
|
-
return { $$typeof:
|
|
13
|
+
return { $$typeof: w, type: b, key: y, ref: R, props: j, _owner: v.current };
|
|
14
14
|
}
|
|
15
|
-
return U.Fragment =
|
|
15
|
+
return U.Fragment = E, U.jsx = o, U.jsxs = o, U;
|
|
16
16
|
}
|
|
17
17
|
var H = {};
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var h =
|
|
22
|
-
function
|
|
18
|
+
var Fe;
|
|
19
|
+
function Nt() {
|
|
20
|
+
return Fe || (Fe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var h = Ye, w = /* @__PURE__ */ Symbol.for("react.element"), E = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), v = /* @__PURE__ */ Symbol.for("react.strict_mode"), P = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.provider"), b = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), l = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), R = /* @__PURE__ */ Symbol.for("react.offscreen"), F = Symbol.iterator, k = "@@iterator";
|
|
22
|
+
function A(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var t =
|
|
25
|
+
var t = F && e[F] || e[k];
|
|
26
26
|
return typeof t == "function" ? t : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var I = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function _(e) {
|
|
30
30
|
{
|
|
31
31
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -35,7 +35,7 @@ function wt() {
|
|
|
35
35
|
}
|
|
36
36
|
function Z(e, t, n) {
|
|
37
37
|
{
|
|
38
|
-
var a =
|
|
38
|
+
var a = I.ReactDebugCurrentFrame, c = a.getStackAddendum();
|
|
39
39
|
c !== "" && (t += "%s", n = n.concat([c]));
|
|
40
40
|
var u = n.map(function(i) {
|
|
41
41
|
return String(i);
|
|
@@ -43,10 +43,10 @@ function wt() {
|
|
|
43
43
|
u.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, u);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var Q = !1, m = !1,
|
|
46
|
+
var Q = !1, m = !1, Y = !1, Je = !1, Ke = !1, le;
|
|
47
47
|
le = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function qe(e) {
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e === p || e === P ||
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === p || e === P || Ke || e === v || e === C || e === l || Je || e === R || Q || m || Y || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === j || e.$$typeof === o || e.$$typeof === b || e.$$typeof === d || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
@@ -62,7 +62,7 @@ function wt() {
|
|
|
62
62
|
function ue(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function D(e) {
|
|
66
66
|
if (e == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -72,13 +72,13 @@ function wt() {
|
|
|
72
72
|
switch (e) {
|
|
73
73
|
case p:
|
|
74
74
|
return "Fragment";
|
|
75
|
-
case
|
|
75
|
+
case E:
|
|
76
76
|
return "Portal";
|
|
77
77
|
case P:
|
|
78
78
|
return "Profiler";
|
|
79
79
|
case v:
|
|
80
80
|
return "StrictMode";
|
|
81
|
-
case
|
|
81
|
+
case C:
|
|
82
82
|
return "Suspense";
|
|
83
83
|
case l:
|
|
84
84
|
return "SuspenseList";
|
|
@@ -95,11 +95,11 @@ function wt() {
|
|
|
95
95
|
return Ge(e, e.render, "ForwardRef");
|
|
96
96
|
case j:
|
|
97
97
|
var a = e.displayName || null;
|
|
98
|
-
return a !== null ? a :
|
|
98
|
+
return a !== null ? a : D(e.type) || "Memo";
|
|
99
99
|
case y: {
|
|
100
100
|
var c = e, u = c._payload, i = c._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return D(i(u));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,13 +107,13 @@ function wt() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var L = Object.assign,
|
|
110
|
+
var L = Object.assign, B = 0, de, fe, pe, me, xe, he, ve;
|
|
111
111
|
function ge() {
|
|
112
112
|
}
|
|
113
113
|
ge.__reactDisabledLog = !0;
|
|
114
114
|
function ze() {
|
|
115
115
|
{
|
|
116
|
-
if (
|
|
116
|
+
if (B === 0) {
|
|
117
117
|
de = console.log, fe = console.info, pe = console.warn, me = console.error, xe = console.group, he = console.groupCollapsed, ve = console.groupEnd;
|
|
118
118
|
var e = {
|
|
119
119
|
configurable: !0,
|
|
@@ -131,12 +131,12 @@ function wt() {
|
|
|
131
131
|
groupEnd: e
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
B++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
function Xe() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (B--, B === 0) {
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -166,11 +166,11 @@ function wt() {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
B < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var ee =
|
|
173
|
-
function
|
|
172
|
+
var ee = I.ReactCurrentDispatcher, te;
|
|
173
|
+
function J(e, t, n) {
|
|
174
174
|
{
|
|
175
175
|
if (te === void 0)
|
|
176
176
|
try {
|
|
@@ -183,16 +183,16 @@ function wt() {
|
|
|
183
183
|
` + te + e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var re = !1,
|
|
186
|
+
var re = !1, K;
|
|
187
187
|
{
|
|
188
188
|
var Ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
-
|
|
189
|
+
K = new Ze();
|
|
190
190
|
}
|
|
191
191
|
function be(e, t) {
|
|
192
192
|
if (!e || re)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var n =
|
|
195
|
+
var n = K.get(e);
|
|
196
196
|
if (n !== void 0)
|
|
197
197
|
return n;
|
|
198
198
|
}
|
|
@@ -214,40 +214,40 @@ function wt() {
|
|
|
214
214
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
215
215
|
try {
|
|
216
216
|
Reflect.construct(i, []);
|
|
217
|
-
} catch (
|
|
218
|
-
a =
|
|
217
|
+
} catch (T) {
|
|
218
|
+
a = T;
|
|
219
219
|
}
|
|
220
220
|
Reflect.construct(e, [], i);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
223
|
i.call();
|
|
224
|
-
} catch (
|
|
225
|
-
a =
|
|
224
|
+
} catch (T) {
|
|
225
|
+
a = T;
|
|
226
226
|
}
|
|
227
227
|
e.call(i.prototype);
|
|
228
228
|
}
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
|
-
} catch (
|
|
233
|
-
a =
|
|
232
|
+
} catch (T) {
|
|
233
|
+
a = T;
|
|
234
234
|
}
|
|
235
235
|
e();
|
|
236
236
|
}
|
|
237
|
-
} catch (
|
|
238
|
-
if (
|
|
239
|
-
for (var s =
|
|
240
|
-
`),
|
|
241
|
-
`), x = s.length - 1, g =
|
|
237
|
+
} catch (T) {
|
|
238
|
+
if (T && a && typeof T.stack == "string") {
|
|
239
|
+
for (var s = T.stack.split(`
|
|
240
|
+
`), N = a.stack.split(`
|
|
241
|
+
`), x = s.length - 1, g = N.length - 1; x >= 1 && g >= 0 && s[x] !== N[g]; )
|
|
242
242
|
g--;
|
|
243
243
|
for (; x >= 1 && g >= 0; x--, g--)
|
|
244
|
-
if (s[x] !==
|
|
244
|
+
if (s[x] !== N[g]) {
|
|
245
245
|
if (x !== 1 || g !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (x--, g--, g < 0 || s[x] !==
|
|
247
|
+
if (x--, g--, g < 0 || s[x] !== N[g]) {
|
|
248
248
|
var S = `
|
|
249
249
|
` + s[x].replace(" at new ", " at ");
|
|
250
|
-
return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
250
|
+
return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, S), S;
|
|
251
251
|
}
|
|
252
252
|
while (x >= 1 && g >= 0);
|
|
253
253
|
break;
|
|
@@ -256,8 +256,8 @@ function wt() {
|
|
|
256
256
|
} finally {
|
|
257
257
|
re = !1, ee.current = u, Xe(), Error.prepareStackTrace = c;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof e == "function" &&
|
|
259
|
+
var $ = e ? e.displayName || e.name : "", W = $ ? J($) : "";
|
|
260
|
+
return typeof e == "function" && K.set(e, W), W;
|
|
261
261
|
}
|
|
262
262
|
function Qe(e, t, n) {
|
|
263
263
|
return be(e, !1);
|
|
@@ -272,12 +272,12 @@ function wt() {
|
|
|
272
272
|
if (typeof e == "function")
|
|
273
273
|
return be(e, et(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
|
-
return
|
|
275
|
+
return J(e);
|
|
276
276
|
switch (e) {
|
|
277
|
-
case
|
|
278
|
-
return
|
|
277
|
+
case C:
|
|
278
|
+
return J("Suspense");
|
|
279
279
|
case l:
|
|
280
|
-
return
|
|
280
|
+
return J("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
@@ -295,7 +295,7 @@ function wt() {
|
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var V = Object.prototype.hasOwnProperty, je = {}, _e =
|
|
298
|
+
var V = Object.prototype.hasOwnProperty, je = {}, _e = I.ReactDebugCurrentFrame;
|
|
299
299
|
function G(e) {
|
|
300
300
|
if (e) {
|
|
301
301
|
var t = e._owner, n = q(e.type, e._source, t ? t.type : null);
|
|
@@ -311,8 +311,8 @@ function wt() {
|
|
|
311
311
|
var s = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof e[i] != "function") {
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
314
|
+
var N = Error((a || "React class") + ": " + n + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
|
+
throw N.name = "Invariant Violation", N;
|
|
316
316
|
}
|
|
317
317
|
s = e[i](t, i, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (x) {
|
|
@@ -342,16 +342,16 @@ function wt() {
|
|
|
342
342
|
function ye(e) {
|
|
343
343
|
return "" + e;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Ee(e) {
|
|
346
346
|
if (at(e))
|
|
347
347
|
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nt(e)), ye(e);
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Ne = I.ReactCurrentOwner, st = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
354
|
+
}, we, Te;
|
|
355
355
|
function it(e) {
|
|
356
356
|
if (V.call(e, "ref")) {
|
|
357
357
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -369,12 +369,12 @@ function wt() {
|
|
|
369
369
|
return e.key !== void 0;
|
|
370
370
|
}
|
|
371
371
|
function ct(e, t) {
|
|
372
|
-
typeof e.ref == "string" &&
|
|
372
|
+
typeof e.ref == "string" && Ne.current;
|
|
373
373
|
}
|
|
374
374
|
function lt(e, t) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
|
-
|
|
377
|
+
we || (we = !0, _("%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)", t));
|
|
378
378
|
};
|
|
379
379
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
380
380
|
get: n,
|
|
@@ -385,7 +385,7 @@ function wt() {
|
|
|
385
385
|
function ut(e, t) {
|
|
386
386
|
{
|
|
387
387
|
var n = function() {
|
|
388
|
-
|
|
388
|
+
Te || (Te = !0, _("%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)", t));
|
|
389
389
|
};
|
|
390
390
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
391
391
|
get: n,
|
|
@@ -396,7 +396,7 @@ function wt() {
|
|
|
396
396
|
var dt = function(e, t, n, a, c, u, i) {
|
|
397
397
|
var s = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
|
-
$$typeof:
|
|
399
|
+
$$typeof: w,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: e,
|
|
402
402
|
key: t,
|
|
@@ -424,8 +424,8 @@ function wt() {
|
|
|
424
424
|
};
|
|
425
425
|
function ft(e, t, n, a, c) {
|
|
426
426
|
{
|
|
427
|
-
var u, i = {}, s = null,
|
|
428
|
-
n !== void 0 && (
|
|
427
|
+
var u, i = {}, s = null, N = null;
|
|
428
|
+
n !== void 0 && (Ee(n), s = "" + n), ot(t) && (Ee(t.key), s = "" + t.key), it(t) && (N = t.ref, ct(t, c));
|
|
429
429
|
for (u in t)
|
|
430
430
|
V.call(t, u) && !st.hasOwnProperty(u) && (i[u] = t[u]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
@@ -433,30 +433,30 @@ function wt() {
|
|
|
433
433
|
for (u in x)
|
|
434
434
|
i[u] === void 0 && (i[u] = x[u]);
|
|
435
435
|
}
|
|
436
|
-
if (s ||
|
|
436
|
+
if (s || N) {
|
|
437
437
|
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
-
s && lt(i, g),
|
|
438
|
+
s && lt(i, g), N && ut(i, g);
|
|
439
439
|
}
|
|
440
|
-
return dt(e, s,
|
|
440
|
+
return dt(e, s, N, c, a, Ne.current, i);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var ae =
|
|
444
|
-
function
|
|
443
|
+
var ae = I.ReactCurrentOwner, Re = I.ReactDebugCurrentFrame;
|
|
444
|
+
function M(e) {
|
|
445
445
|
if (e) {
|
|
446
446
|
var t = e._owner, n = q(e.type, e._source, t ? t.type : null);
|
|
447
|
-
|
|
447
|
+
Re.setExtraStackFrame(n);
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
Re.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
451
|
var se;
|
|
452
452
|
se = !1;
|
|
453
453
|
function ie(e) {
|
|
454
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
454
|
+
return typeof e == "object" && e !== null && e.$$typeof === w;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ce() {
|
|
457
457
|
{
|
|
458
458
|
if (ae.current) {
|
|
459
|
-
var e =
|
|
459
|
+
var e = D(ae.current.type);
|
|
460
460
|
if (e)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -471,7 +471,7 @@ Check the render method of \`` + e + "`.";
|
|
|
471
471
|
var Se = {};
|
|
472
472
|
function mt(e) {
|
|
473
473
|
{
|
|
474
|
-
var t =
|
|
474
|
+
var t = Ce();
|
|
475
475
|
if (!t) {
|
|
476
476
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
477
477
|
n && (t = `
|
|
@@ -491,7 +491,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
Se[n] = !0;
|
|
493
493
|
var a = "";
|
|
494
|
-
e && e._owner && e._owner !== ae.current && (a = " It was passed a child from " +
|
|
494
|
+
e && e._owner && e._owner !== ae.current && (a = " It was passed a child from " + D(e._owner.type) + "."), M(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), M(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ke(e, t) {
|
|
@@ -506,7 +506,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
506
506
|
else if (ie(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
|
-
var c =
|
|
509
|
+
var c = A(e);
|
|
510
510
|
if (typeof c == "function" && c !== e.entries)
|
|
511
511
|
for (var u = c.call(e), i; !(i = u.next()).done; )
|
|
512
512
|
ie(i.value) && Pe(i.value, t);
|
|
@@ -528,11 +528,11 @@ Check the top-level render call using <` + n + ">.");
|
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (n) {
|
|
531
|
-
var a =
|
|
531
|
+
var a = D(t);
|
|
532
532
|
tt(n, e.props, "prop", a, e);
|
|
533
533
|
} else if (t.PropTypes !== void 0 && !se) {
|
|
534
534
|
se = !0;
|
|
535
|
-
var c =
|
|
535
|
+
var c = D(t);
|
|
536
536
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
|
|
537
537
|
}
|
|
538
538
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -543,24 +543,24 @@ Check the top-level render call using <` + n + ">.");
|
|
|
543
543
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
544
544
|
var a = t[n];
|
|
545
545
|
if (a !== "children" && a !== "key") {
|
|
546
|
-
|
|
546
|
+
M(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), M(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
e.ref !== null && (
|
|
550
|
+
e.ref !== null && (M(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var Ie = {};
|
|
554
|
+
function De(e, t, n, a, c, u) {
|
|
555
555
|
{
|
|
556
556
|
var i = qe(e);
|
|
557
557
|
if (!i) {
|
|
558
558
|
var s = "";
|
|
559
559
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
560
|
-
var
|
|
561
|
-
|
|
560
|
+
var N = pt();
|
|
561
|
+
N ? s += N : s += Ce();
|
|
562
562
|
var x;
|
|
563
|
-
e === null ? x = "null" : ne(e) ? x = "array" : e !== void 0 && e.$$typeof ===
|
|
563
|
+
e === null ? x = "null" : ne(e) ? x = "array" : e !== void 0 && e.$$typeof === w ? (x = "<" + (D(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, s);
|
|
564
564
|
}
|
|
565
565
|
var g = ft(e, t, n, c, u);
|
|
566
566
|
if (g == null)
|
|
@@ -570,8 +570,8 @@ Check the top-level render call using <` + n + ">.");
|
|
|
570
570
|
if (S !== void 0)
|
|
571
571
|
if (a)
|
|
572
572
|
if (ne(S)) {
|
|
573
|
-
for (var
|
|
574
|
-
ke(S[
|
|
573
|
+
for (var $ = 0; $ < S.length; $++)
|
|
574
|
+
ke(S[$], e);
|
|
575
575
|
Object.freeze && Object.freeze(S);
|
|
576
576
|
} else
|
|
577
577
|
_("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,38 +579,38 @@ Check the top-level render call using <` + n + ">.");
|
|
|
579
579
|
ke(S, e);
|
|
580
580
|
}
|
|
581
581
|
if (V.call(t, "key")) {
|
|
582
|
-
var W =
|
|
582
|
+
var W = D(e), T = Object.keys(t).filter(function(yt) {
|
|
583
583
|
return yt !== "key";
|
|
584
|
-
}), oe =
|
|
585
|
-
if (!
|
|
586
|
-
var _t =
|
|
584
|
+
}), oe = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!Ie[W + oe]) {
|
|
586
|
+
var _t = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
590
590
|
React keys must be passed directly to JSX without using spread:
|
|
591
591
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`, oe, W, _t, W),
|
|
592
|
+
<%s key={someKey} {...props} />`, oe, W, _t, W), Ie[W + oe] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
return e === p ? ht(g) : xt(g), g;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function vt(e, t, n) {
|
|
599
|
-
return
|
|
599
|
+
return De(e, t, n, !0);
|
|
600
600
|
}
|
|
601
601
|
function gt(e, t, n) {
|
|
602
|
-
return
|
|
602
|
+
return De(e, t, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var bt = gt, jt = vt;
|
|
605
605
|
H.Fragment = p, H.jsx = bt, H.jsxs = jt;
|
|
606
606
|
})()), H;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Ae;
|
|
609
|
+
function wt() {
|
|
610
|
+
return Ae || (Ae = 1, process.env.NODE_ENV === "production" ? z.exports = Et() : z.exports = Nt()), z.exports;
|
|
611
611
|
}
|
|
612
|
-
var r =
|
|
613
|
-
const
|
|
612
|
+
var r = wt();
|
|
613
|
+
const Tt = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -621,9 +621,9 @@ const Et = {
|
|
|
621
621
|
redirectingIn: "Redirecting automatically in",
|
|
622
622
|
seconds: "sec..",
|
|
623
623
|
whatHappensNext: "What happens next..",
|
|
624
|
-
step1: "You'll be added to our WhatsApp
|
|
625
|
-
step2: "We'll send you a reminder
|
|
626
|
-
step3: "Tap the link on 2nd April to watch live with
|
|
624
|
+
step1: "You'll be added to our WhatsApp community",
|
|
625
|
+
step2: "We'll send you a reminder before the stream starts",
|
|
626
|
+
step3: "Tap the link on 2nd April to watch live with lakhs of devotees",
|
|
627
627
|
// Hero Section
|
|
628
628
|
liveBadge: "LIVE",
|
|
629
629
|
eventTitle: "Hanuman Jayanti Maha Puja",
|
|
@@ -631,9 +631,9 @@ const Et = {
|
|
|
631
631
|
locationLabel: "Hanuman Mandir, Connaught Place",
|
|
632
632
|
dateTimeLabel: "2nd April | 6:00 AM onwards",
|
|
633
633
|
deityLabel: "Hanuman | Chalisa | Aarti",
|
|
634
|
-
timerLabel: "Until
|
|
634
|
+
timerLabel: "Until Path Begins",
|
|
635
635
|
// Pandit Section
|
|
636
|
-
panditName: "Pandit
|
|
636
|
+
panditName: "Pandit Rasraj Ji Maharaj",
|
|
637
637
|
panditCredentials: "Hanuman Bhakt | 30+ Years of Seva",
|
|
638
638
|
// Form Section
|
|
639
639
|
formTitle: "Enter your details to receive the live stream link on WhatsApp",
|
|
@@ -647,9 +647,9 @@ const Et = {
|
|
|
647
647
|
// What to Expect Section
|
|
648
648
|
expectTitle: "What To Expect ?",
|
|
649
649
|
expectItem1Title: "Live Path",
|
|
650
|
-
expectItem1Desc: "
|
|
651
|
-
expectItem2Title: "WhatsApp
|
|
652
|
-
expectItem2Desc: "Stream link sent
|
|
650
|
+
expectItem1Desc: "Join lakhs of Hanuman Bhakts in this unique online event",
|
|
651
|
+
expectItem2Title: "WhatsApp reminders",
|
|
652
|
+
expectItem2Desc: "Stream link sent before path begins",
|
|
653
653
|
expectItem3Title: "Free to join",
|
|
654
654
|
expectItem3Desc: "No cost, no app download needed",
|
|
655
655
|
// Timer labels
|
|
@@ -657,7 +657,7 @@ const Et = {
|
|
|
657
657
|
hours: "HRS",
|
|
658
658
|
minutes: "MIN",
|
|
659
659
|
secondsLabel: "SEC"
|
|
660
|
-
},
|
|
660
|
+
}, Rt = {
|
|
661
661
|
landingPage: "लैंडिंग पेज",
|
|
662
662
|
successPage: "सफलता पेज",
|
|
663
663
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -704,49 +704,49 @@ const Et = {
|
|
|
704
704
|
hours: "घंटे",
|
|
705
705
|
minutes: "मिनट",
|
|
706
706
|
secondsLabel: "सेकंड"
|
|
707
|
-
},
|
|
708
|
-
en:
|
|
709
|
-
hi:
|
|
710
|
-
}, Ve =
|
|
707
|
+
}, Ct = {
|
|
708
|
+
en: Tt,
|
|
709
|
+
hi: Rt
|
|
710
|
+
}, Ve = $e(null), Qt = ({
|
|
711
711
|
locale: h,
|
|
712
|
-
children:
|
|
712
|
+
children: w
|
|
713
713
|
}) => {
|
|
714
|
-
const p = { locale: h, t: (v) =>
|
|
715
|
-
return /* @__PURE__ */ r.jsx(Ve.Provider, { value: p, children:
|
|
714
|
+
const p = { locale: h, t: (v) => Ct[h]?.[v] ?? v };
|
|
715
|
+
return /* @__PURE__ */ r.jsx(Ve.Provider, { value: p, children: w });
|
|
716
716
|
};
|
|
717
717
|
function ce() {
|
|
718
|
-
return
|
|
718
|
+
return Me(Ve);
|
|
719
719
|
}
|
|
720
|
-
const Ue =
|
|
721
|
-
const h =
|
|
720
|
+
const Ue = $e(void 0), He = () => {
|
|
721
|
+
const h = Me(Ue);
|
|
722
722
|
if (!h)
|
|
723
723
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
724
724
|
return h;
|
|
725
725
|
}, er = ({
|
|
726
726
|
children: h
|
|
727
727
|
}) => {
|
|
728
|
-
const [
|
|
728
|
+
const [w, E] = O(null), [p, v] = O(!1);
|
|
729
729
|
return /* @__PURE__ */ r.jsx(
|
|
730
730
|
Ue.Provider,
|
|
731
731
|
{
|
|
732
732
|
value: {
|
|
733
|
-
userData:
|
|
734
|
-
setUserData:
|
|
733
|
+
userData: w,
|
|
734
|
+
setUserData: E,
|
|
735
735
|
showSuccess: p,
|
|
736
736
|
setShowSuccess: v
|
|
737
737
|
},
|
|
738
738
|
children: h
|
|
739
739
|
}
|
|
740
740
|
);
|
|
741
|
-
}, St = "
|
|
741
|
+
}, St = "_landingPage_14yn1_1", Le = {
|
|
742
742
|
landingPage: St,
|
|
743
|
-
"sf-select": "_sf-
|
|
743
|
+
"sf-select": "_sf-select_14yn1_7"
|
|
744
744
|
}, Pt = ({ targetDate: h }) => {
|
|
745
|
-
const
|
|
745
|
+
const E = ce()?.t || ((b) => b), p = () => {
|
|
746
746
|
const d = (typeof h == "string" ? new Date(h) : h).getTime() - Date.now();
|
|
747
747
|
if (d > 0) {
|
|
748
|
-
const
|
|
749
|
-
return { days:
|
|
748
|
+
const C = Math.floor(d / 864e5), l = Math.floor(d % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), j = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), y = Math.floor(d % (1e3 * 60) / 1e3);
|
|
749
|
+
return { days: C, hours: l, minutes: j, seconds: y };
|
|
750
750
|
}
|
|
751
751
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
752
752
|
}, [v, P] = O({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
@@ -761,26 +761,26 @@ const Ue = Me(void 0), He = () => {
|
|
|
761
761
|
return /* @__PURE__ */ r.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
|
|
762
762
|
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
763
763
|
/* @__PURE__ */ r.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
764
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
765
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
764
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(v.days) }),
|
|
765
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: E("days") })
|
|
766
766
|
] }),
|
|
767
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
767
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
768
768
|
/* @__PURE__ */ r.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
769
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
770
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
769
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(v.hours) }),
|
|
770
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: E("hours") })
|
|
771
771
|
] }),
|
|
772
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
772
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
773
773
|
/* @__PURE__ */ r.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
774
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
775
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
774
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(v.minutes) }),
|
|
775
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: E("minutes") })
|
|
776
776
|
] }),
|
|
777
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
777
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
778
778
|
/* @__PURE__ */ r.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
779
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
780
|
-
/* @__PURE__ */ r.jsx("span", { className: "text-[#
|
|
779
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(v.seconds) }),
|
|
780
|
+
/* @__PURE__ */ r.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: E("secondsLabel") })
|
|
781
781
|
] })
|
|
782
782
|
] }),
|
|
783
|
-
/* @__PURE__ */ r.jsx("p", { className: "text-[#
|
|
783
|
+
/* @__PURE__ */ r.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: E("timerLabel") })
|
|
784
784
|
] });
|
|
785
785
|
}, kt = [
|
|
786
786
|
{
|
|
@@ -870,19 +870,19 @@ const Ue = Me(void 0), He = () => {
|
|
|
870
870
|
// { code: "+977", country: "Nepal" },
|
|
871
871
|
], tr = ({
|
|
872
872
|
targetDate: h,
|
|
873
|
-
onSubmit:
|
|
874
|
-
isGlobal:
|
|
873
|
+
onSubmit: w,
|
|
874
|
+
isGlobal: E = !1,
|
|
875
875
|
analytics: p,
|
|
876
876
|
showToast: v
|
|
877
877
|
}) => {
|
|
878
|
-
const o = ce()?.t || ((m) => m), [b, d] = O(
|
|
878
|
+
const o = ce()?.t || ((m) => m), [b, d] = O(E ? "+1" : "+91"), [C, l] = O(!1), { setUserData: j, setShowSuccess: y } = He(), [R, F] = O(""), [k, A] = O(""), I = Be(!1), _ = `${b}-${k}`, Z = We.find(
|
|
879
879
|
(m) => m.code === b
|
|
880
880
|
);
|
|
881
881
|
X(() => {
|
|
882
|
-
!
|
|
882
|
+
!I.current && p?.trackLandingPageViewed && (p.trackLandingPageViewed(), I.current = !0);
|
|
883
883
|
}, [p]);
|
|
884
884
|
const Q = (m) => {
|
|
885
|
-
if (m.preventDefault(), !
|
|
885
|
+
if (m.preventDefault(), !R || R.trim() === "") {
|
|
886
886
|
v?.("error", "Please enter your name");
|
|
887
887
|
return;
|
|
888
888
|
}
|
|
@@ -890,10 +890,10 @@ const Ue = Me(void 0), He = () => {
|
|
|
890
890
|
v?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
891
891
|
return;
|
|
892
892
|
}
|
|
893
|
-
p?.trackSubmitClicked?.(), j({ name:
|
|
893
|
+
p?.trackSubmitClicked?.(), j({ name: R, fullPhoneNumber: _ }), v?.("success", "Registration Successful"), y(!0), w?.({ name: R, fullPhoneNumber: _ });
|
|
894
894
|
};
|
|
895
895
|
return /* @__PURE__ */ r.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ r.jsxs("div", { className: Le.landingPage, children: [
|
|
896
|
-
/* @__PURE__ */ r.jsx("div", { className: "relative w-full flex justify-center bg-[#
|
|
896
|
+
/* @__PURE__ */ r.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ r.jsx(
|
|
897
897
|
"img",
|
|
898
898
|
{
|
|
899
899
|
src: "https://srm-cdn.a4b.io/yoda/1774363146722.webp",
|
|
@@ -901,8 +901,8 @@ const Ue = Me(void 0), He = () => {
|
|
|
901
901
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
902
902
|
}
|
|
903
903
|
) }),
|
|
904
|
-
/* @__PURE__ */ r.jsx("div", { className: "py-3 px-4 bg-white border-b
|
|
905
|
-
/* @__PURE__ */ r.jsxs("div", { className: "px-4 bg-[#
|
|
904
|
+
/* @__PURE__ */ r.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ r.jsx(Pt, { targetDate: h }) }),
|
|
905
|
+
/* @__PURE__ */ r.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
906
906
|
/* @__PURE__ */ r.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
907
907
|
/* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
|
|
908
908
|
"img",
|
|
@@ -917,41 +917,41 @@ const Ue = Me(void 0), He = () => {
|
|
|
917
917
|
/* @__PURE__ */ r.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: o("panditCredentials") })
|
|
918
918
|
] })
|
|
919
919
|
] }),
|
|
920
|
-
/* @__PURE__ */ r.jsx("hr", { className: "w-[75%] mx-auto border-t border-[#
|
|
920
|
+
/* @__PURE__ */ r.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-2" })
|
|
921
921
|
] }),
|
|
922
|
-
/* @__PURE__ */ r.jsx("div", { className: "px-4 py-6 bg-[#
|
|
923
|
-
/* @__PURE__ */ r.jsx("p", { className: "text-center text-[#
|
|
922
|
+
/* @__PURE__ */ r.jsx("div", { className: "px-4 py-6 bg-[#FFF8EF]", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
923
|
+
/* @__PURE__ */ r.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: o("formTitle") }),
|
|
924
924
|
/* @__PURE__ */ r.jsxs("form", { onSubmit: Q, className: "space-y-4", children: [
|
|
925
925
|
/* @__PURE__ */ r.jsxs("div", { children: [
|
|
926
|
-
/* @__PURE__ */ r.jsx("label", { className: "block text-[#
|
|
926
|
+
/* @__PURE__ */ r.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: o("nameLabel") }),
|
|
927
927
|
/* @__PURE__ */ r.jsx(
|
|
928
928
|
"input",
|
|
929
929
|
{
|
|
930
930
|
type: "text",
|
|
931
|
-
value:
|
|
931
|
+
value: R,
|
|
932
932
|
onChange: (m) => {
|
|
933
|
-
|
|
933
|
+
F(m.target.value), m.target.value && !R && p?.trackNameFilled?.();
|
|
934
934
|
},
|
|
935
935
|
onFocus: () => p?.trackNameClicked?.(),
|
|
936
936
|
placeholder: o("namePlaceholder"),
|
|
937
|
-
className: "w-full px-4 py-3 bg-
|
|
937
|
+
className: "w-full px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
938
938
|
required: !0
|
|
939
939
|
}
|
|
940
940
|
)
|
|
941
941
|
] }),
|
|
942
942
|
/* @__PURE__ */ r.jsxs("div", { children: [
|
|
943
|
-
/* @__PURE__ */ r.jsx("label", { className: "block text-[#
|
|
943
|
+
/* @__PURE__ */ r.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: o("whatsappLabel") }),
|
|
944
944
|
/* @__PURE__ */ r.jsxs("div", { className: "flex gap-2", children: [
|
|
945
945
|
/* @__PURE__ */ r.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ r.jsxs("div", { className: "relative w-20", children: [
|
|
946
946
|
/* @__PURE__ */ r.jsx(
|
|
947
947
|
"div",
|
|
948
948
|
{
|
|
949
|
-
onClick: () => l(!
|
|
950
|
-
className: `${Le["sf-select"]} text-center`,
|
|
949
|
+
onClick: () => l(!C),
|
|
950
|
+
className: `${Le["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
951
951
|
children: Z?.code
|
|
952
952
|
}
|
|
953
953
|
),
|
|
954
|
-
|
|
954
|
+
C && /* @__PURE__ */ r.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: We.map((m) => /* @__PURE__ */ r.jsxs(
|
|
955
955
|
"div",
|
|
956
956
|
{
|
|
957
957
|
onClick: () => {
|
|
@@ -974,12 +974,12 @@ const Ue = Me(void 0), He = () => {
|
|
|
974
974
|
type: "tel",
|
|
975
975
|
value: k,
|
|
976
976
|
onChange: (m) => {
|
|
977
|
-
const
|
|
978
|
-
|
|
977
|
+
const Y = m.target.value.replace(/\D/g, "");
|
|
978
|
+
A(Y), Y && !k && p?.trackPhoneFilled?.();
|
|
979
979
|
},
|
|
980
980
|
onFocus: () => p?.trackPhoneClicked?.(),
|
|
981
981
|
placeholder: o("whatsappPlaceholder"),
|
|
982
|
-
className: "flex-1 px-4 py-3 bg-
|
|
982
|
+
className: "flex-1 px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
983
983
|
maxLength: 10,
|
|
984
984
|
required: !0
|
|
985
985
|
}
|
|
@@ -995,63 +995,63 @@ const Ue = Me(void 0), He = () => {
|
|
|
995
995
|
}
|
|
996
996
|
)
|
|
997
997
|
] }),
|
|
998
|
-
/* @__PURE__ */ r.jsx("p", { className: "text-center text-[#
|
|
999
|
-
/* @__PURE__ */ r.jsx("hr", { className: "w-[75%] mx-auto border-t border-[#
|
|
998
|
+
/* @__PURE__ */ r.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: o("formDisclaimer") }),
|
|
999
|
+
/* @__PURE__ */ r.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-6 px-8" })
|
|
1000
1000
|
] }) }),
|
|
1001
|
-
/* @__PURE__ */ r.jsx("div", { className: "px-4 pb-8 bg-[#
|
|
1002
|
-
/* @__PURE__ */ r.jsx("h2", { className: "text-[#
|
|
1003
|
-
/* @__PURE__ */ r.jsx("div", { className: "space-y-4", children: kt.map((m,
|
|
1001
|
+
/* @__PURE__ */ r.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1002
|
+
/* @__PURE__ */ r.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: o("expectTitle") }),
|
|
1003
|
+
/* @__PURE__ */ r.jsx("div", { className: "space-y-4", children: kt.map((m, Y) => /* @__PURE__ */ r.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1004
1004
|
/* @__PURE__ */ r.jsx("img", { src: m.icon, alt: "", className: "w-10 h-10" }),
|
|
1005
1005
|
/* @__PURE__ */ r.jsxs("div", { className: "flex-1", children: [
|
|
1006
|
-
/* @__PURE__ */ r.jsx("h3", { className: "text-[#
|
|
1007
|
-
/* @__PURE__ */ r.jsx("p", { className: "text-[#
|
|
1006
|
+
/* @__PURE__ */ r.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: o(m.titleKey) }),
|
|
1007
|
+
/* @__PURE__ */ r.jsx("p", { className: "text-[#907250] text-[12px]", children: o(m.descKey) })
|
|
1008
1008
|
] })
|
|
1009
|
-
] },
|
|
1009
|
+
] }, Y)) })
|
|
1010
1010
|
] }) })
|
|
1011
1011
|
] }) });
|
|
1012
|
-
},
|
|
1013
|
-
successPage:
|
|
1014
|
-
profileImageContainer:
|
|
1012
|
+
}, It = "_successPage_8t8j5_1", Dt = "_profileImageContainer_8t8j5_7", Ot = "_profileImage_8t8j5_7", Ft = "_greeting_8t8j5_19", At = "_jaiShreeRam_8t8j5_23", Lt = "_userName_8t8j5_29", Wt = "_registrationCard_8t8j5_34", Yt = "_registeredText_8t8j5_48", Mt = "_eventName_8t8j5_53", $t = "_eventDetails_8t8j5_61", Bt = "_whatsappButton_8t8j5_66", Vt = "_redirectInfo_8t8j5_75", Ut = "_redirectText_8t8j5_79", Ht = "_countdown_8t8j5_84", Jt = "_nextSteps_8t8j5_90", Kt = "_nextStepsTitle_8t8j5_96", qt = "_stepsList_8t8j5_101", Gt = "_step_8t8j5_101", zt = "_stepNumber_8t8j5_109", Xt = "_stepText_8t8j5_113", f = {
|
|
1013
|
+
successPage: It,
|
|
1014
|
+
profileImageContainer: Dt,
|
|
1015
1015
|
profileImage: Ot,
|
|
1016
|
-
greeting:
|
|
1017
|
-
jaiShreeRam:
|
|
1016
|
+
greeting: Ft,
|
|
1017
|
+
jaiShreeRam: At,
|
|
1018
1018
|
userName: Lt,
|
|
1019
1019
|
registrationCard: Wt,
|
|
1020
|
-
registeredText:
|
|
1021
|
-
eventName:
|
|
1022
|
-
eventDetails:
|
|
1023
|
-
whatsappButton:
|
|
1020
|
+
registeredText: Yt,
|
|
1021
|
+
eventName: Mt,
|
|
1022
|
+
eventDetails: $t,
|
|
1023
|
+
whatsappButton: Bt,
|
|
1024
1024
|
redirectInfo: Vt,
|
|
1025
1025
|
redirectText: Ut,
|
|
1026
1026
|
countdown: Ht,
|
|
1027
|
-
nextSteps:
|
|
1028
|
-
nextStepsTitle:
|
|
1027
|
+
nextSteps: Jt,
|
|
1028
|
+
nextStepsTitle: Kt,
|
|
1029
1029
|
stepsList: qt,
|
|
1030
1030
|
step: Gt,
|
|
1031
1031
|
stepNumber: zt,
|
|
1032
1032
|
stepText: Xt
|
|
1033
1033
|
}, rr = ({
|
|
1034
1034
|
userName: h = "Rahul",
|
|
1035
|
-
eventName:
|
|
1036
|
-
eventDate:
|
|
1037
|
-
eventTime: p = "
|
|
1035
|
+
eventName: w = "Hanuman Jayanti Maha Path",
|
|
1036
|
+
eventDate: E = "2nd April",
|
|
1037
|
+
eventTime: p = "9:00 AM onwards",
|
|
1038
1038
|
onWhatsAppClick: v,
|
|
1039
1039
|
redirectSeconds: P = 10,
|
|
1040
1040
|
analytics: o,
|
|
1041
1041
|
showToast: b,
|
|
1042
1042
|
disableRedirect: d = !1
|
|
1043
1043
|
}) => {
|
|
1044
|
-
const l = ce()?.t || ((
|
|
1044
|
+
const l = ce()?.t || ((A) => A), { userData: j } = He(), [y, R] = O(P), F = Be(!1), k = j?.name || h;
|
|
1045
1045
|
return X(() => {
|
|
1046
|
-
!
|
|
1046
|
+
!F.current && o?.trackSuccessPageViewed && (o.trackSuccessPageViewed({
|
|
1047
1047
|
name: j?.name,
|
|
1048
1048
|
phone: j?.fullPhoneNumber
|
|
1049
|
-
}),
|
|
1049
|
+
}), F.current = !0);
|
|
1050
1050
|
}, [o, j?.name, j?.fullPhoneNumber]), X(() => {
|
|
1051
1051
|
if (!d)
|
|
1052
1052
|
if (y > 0) {
|
|
1053
|
-
const
|
|
1054
|
-
return () => clearTimeout(
|
|
1053
|
+
const A = setTimeout(() => R(y - 1), 1e3);
|
|
1054
|
+
return () => clearTimeout(A);
|
|
1055
1055
|
} else y === 0 && (window.location.href = "https://srimandir.com/");
|
|
1056
1056
|
}, [y, d]), /* @__PURE__ */ r.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ r.jsxs("div", { className: f.successPage, children: [
|
|
1057
1057
|
/* @__PURE__ */ r.jsx("div", { className: f.profileImageContainer, children: /* @__PURE__ */ r.jsx(
|
|
@@ -1076,9 +1076,9 @@ const Ue = Me(void 0), He = () => {
|
|
|
1076
1076
|
] }),
|
|
1077
1077
|
/* @__PURE__ */ r.jsxs("div", { className: f.registrationCard, children: [
|
|
1078
1078
|
/* @__PURE__ */ r.jsx("p", { className: f.registeredText, children: l("registeredFor") }),
|
|
1079
|
-
/* @__PURE__ */ r.jsx("h2", { className: f.eventName, children:
|
|
1079
|
+
/* @__PURE__ */ r.jsx("h2", { className: f.eventName, children: w }),
|
|
1080
1080
|
/* @__PURE__ */ r.jsxs("p", { className: f.eventDetails, children: [
|
|
1081
|
-
|
|
1081
|
+
E,
|
|
1082
1082
|
" · ",
|
|
1083
1083
|
p
|
|
1084
1084
|
] })
|