@srimandir/hanuman-chalisa 1.5.3 → 1.5.4
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 +95 -94
- 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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import De, { useContext as Fe, createContext as Le, useState as F, useEffect as z, useRef as We } from "react";
|
|
2
|
+
var G = { exports: {} }, V = {};
|
|
3
3
|
var Ae;
|
|
4
|
-
function
|
|
5
|
-
if (Ae) return
|
|
4
|
+
function _t() {
|
|
5
|
+
if (Ae) return V;
|
|
6
6
|
Ae = 1;
|
|
7
|
-
var v =
|
|
7
|
+
var v = De, w = /* @__PURE__ */ Symbol.for("react.element"), _ = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, g = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
8
|
function c(b, f, R) {
|
|
9
9
|
var u, x = {}, j = null, C = null;
|
|
10
10
|
R !== void 0 && (j = "" + R), f.key !== void 0 && (j = "" + f.key), f.ref !== void 0 && (C = f.ref);
|
|
@@ -12,13 +12,13 @@ function jt() {
|
|
|
12
12
|
if (b && b.defaultProps) for (u in f = b.defaultProps, f) x[u] === void 0 && (x[u] = f[u]);
|
|
13
13
|
return { $$typeof: w, type: b, key: j, ref: C, props: x, _owner: g.current };
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return V.Fragment = _, V.jsx = c, V.jsxs = c, V;
|
|
16
16
|
}
|
|
17
17
|
var U = {};
|
|
18
18
|
var ke;
|
|
19
|
-
function
|
|
19
|
+
function Nt() {
|
|
20
20
|
return ke || (ke = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
-
var v =
|
|
21
|
+
var v = De, w = /* @__PURE__ */ Symbol.for("react.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), g = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), b = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), R = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), x = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), C = /* @__PURE__ */ Symbol.for("react.offscreen"), I = Symbol.iterator, L = "@@iterator";
|
|
22
22
|
function P(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
@@ -43,16 +43,16 @@ function _t() {
|
|
|
43
43
|
d.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, d);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var $e = !1, Ve = !1, Ue = !1, He = !1, Ke = !1, oe;
|
|
47
47
|
oe = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e === m || e === S ||
|
|
48
|
+
function Je(e) {
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || Ke || e === g || e === R || e === u || He || e === C || $e || Ve || Ue || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === x || e.$$typeof === c || e.$$typeof === b || e.$$typeof === f || // 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.
|
|
53
53
|
e.$$typeof === oe || e.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function qe(e, t, n) {
|
|
56
56
|
var a = e.displayName;
|
|
57
57
|
if (a)
|
|
58
58
|
return a;
|
|
@@ -92,7 +92,7 @@ function _t() {
|
|
|
92
92
|
var n = e;
|
|
93
93
|
return ie(n._context) + ".Provider";
|
|
94
94
|
case f:
|
|
95
|
-
return
|
|
95
|
+
return qe(e, e.render, "ForwardRef");
|
|
96
96
|
case x:
|
|
97
97
|
var a = e.displayName || null;
|
|
98
98
|
return a !== null ? a : k(e.type) || "Memo";
|
|
@@ -111,7 +111,7 @@ function _t() {
|
|
|
111
111
|
function xe() {
|
|
112
112
|
}
|
|
113
113
|
xe.__reactDisabledLog = !0;
|
|
114
|
-
function
|
|
114
|
+
function Ge() {
|
|
115
115
|
{
|
|
116
116
|
if (Y === 0) {
|
|
117
117
|
ce = console.log, le = console.info, ue = console.warn, de = console.error, fe = console.group, pe = console.groupCollapsed, me = console.groupEnd;
|
|
@@ -185,8 +185,8 @@ function _t() {
|
|
|
185
185
|
}
|
|
186
186
|
var Q = !1, K;
|
|
187
187
|
{
|
|
188
|
-
var
|
|
189
|
-
K = new
|
|
188
|
+
var Xe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
+
K = new Xe();
|
|
190
190
|
}
|
|
191
191
|
function he(e, t) {
|
|
192
192
|
if (!e || Q)
|
|
@@ -201,7 +201,7 @@ function _t() {
|
|
|
201
201
|
var l = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var d;
|
|
204
|
-
d = X.current, X.current = null,
|
|
204
|
+
d = X.current, X.current = null, Ge();
|
|
205
205
|
try {
|
|
206
206
|
if (t) {
|
|
207
207
|
var i = function() {
|
|
@@ -259,10 +259,10 @@ function _t() {
|
|
|
259
259
|
var M = e ? e.displayName || e.name : "", D = M ? H(M) : "";
|
|
260
260
|
return typeof e == "function" && K.set(e, D), D;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function Ze(e, t, n) {
|
|
263
263
|
return he(e, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function Qe(e) {
|
|
266
266
|
var t = e.prototype;
|
|
267
267
|
return !!(t && t.isReactComponent);
|
|
268
268
|
}
|
|
@@ -270,7 +270,7 @@ function _t() {
|
|
|
270
270
|
if (e == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof e == "function")
|
|
273
|
-
return he(e,
|
|
273
|
+
return he(e, Qe(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
275
|
return H(e);
|
|
276
276
|
switch (e) {
|
|
@@ -282,7 +282,7 @@ function _t() {
|
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
284
|
case f:
|
|
285
|
-
return
|
|
285
|
+
return Ze(e.render);
|
|
286
286
|
case x:
|
|
287
287
|
return J(e.type, t, n);
|
|
288
288
|
case j: {
|
|
@@ -295,7 +295,7 @@ function _t() {
|
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var
|
|
298
|
+
var $ = Object.prototype.hasOwnProperty, ve = {}, ge = A.ReactDebugCurrentFrame;
|
|
299
299
|
function q(e) {
|
|
300
300
|
if (e) {
|
|
301
301
|
var t = e._owner, n = J(e.type, e._source, t ? t.type : null);
|
|
@@ -303,9 +303,9 @@ function _t() {
|
|
|
303
303
|
} else
|
|
304
304
|
ge.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function et(e, t, n, a, l) {
|
|
307
307
|
{
|
|
308
|
-
var d = Function.call.bind(
|
|
308
|
+
var d = Function.call.bind($);
|
|
309
309
|
for (var i in e)
|
|
310
310
|
if (d(e, i)) {
|
|
311
311
|
var s = void 0;
|
|
@@ -322,17 +322,17 @@ function _t() {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
var
|
|
325
|
+
var tt = Array.isArray;
|
|
326
326
|
function ee(e) {
|
|
327
|
-
return
|
|
327
|
+
return tt(e);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function rt(e) {
|
|
330
330
|
{
|
|
331
331
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
332
332
|
return n;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function nt(e) {
|
|
336
336
|
try {
|
|
337
337
|
return ye(e), !1;
|
|
338
338
|
} catch {
|
|
@@ -343,35 +343,35 @@ function _t() {
|
|
|
343
343
|
return "" + e;
|
|
344
344
|
}
|
|
345
345
|
function be(e) {
|
|
346
|
-
if (
|
|
347
|
-
return o("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
346
|
+
if (nt(e))
|
|
347
|
+
return o("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rt(e)), ye(e);
|
|
348
348
|
}
|
|
349
|
-
var je = A.ReactCurrentOwner,
|
|
349
|
+
var je = A.ReactCurrentOwner, at = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
354
|
}, _e, Ne;
|
|
355
|
-
function
|
|
356
|
-
if (
|
|
355
|
+
function st(e) {
|
|
356
|
+
if ($.call(e, "ref")) {
|
|
357
357
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
358
358
|
if (t && t.isReactWarning)
|
|
359
359
|
return !1;
|
|
360
360
|
}
|
|
361
361
|
return e.ref !== void 0;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
363
|
+
function ot(e) {
|
|
364
|
+
if ($.call(e, "key")) {
|
|
365
365
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
366
366
|
if (t && t.isReactWarning)
|
|
367
367
|
return !1;
|
|
368
368
|
}
|
|
369
369
|
return e.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function it(e, t) {
|
|
372
372
|
typeof e.ref == "string" && je.current;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function ct(e, t) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
377
|
_e || (_e = !0, o("%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));
|
|
@@ -382,7 +382,7 @@ function _t() {
|
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function lt(e, t) {
|
|
386
386
|
{
|
|
387
387
|
var n = function() {
|
|
388
388
|
Ne || (Ne = !0, o("%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));
|
|
@@ -393,7 +393,7 @@ function _t() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var ut = function(e, t, n, a, l, d, i) {
|
|
397
397
|
var s = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: w,
|
|
@@ -422,12 +422,12 @@ function _t() {
|
|
|
422
422
|
value: l
|
|
423
423
|
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
424
424
|
};
|
|
425
|
-
function
|
|
425
|
+
function dt(e, t, n, a, l) {
|
|
426
426
|
{
|
|
427
427
|
var d, i = {}, s = null, N = null;
|
|
428
|
-
n !== void 0 && (be(n), s = "" + n),
|
|
428
|
+
n !== void 0 && (be(n), s = "" + n), ot(t) && (be(t.key), s = "" + t.key), st(t) && (N = t.ref, it(t, l));
|
|
429
429
|
for (d in t)
|
|
430
|
-
|
|
430
|
+
$.call(t, d) && !at.hasOwnProperty(d) && (i[d] = t[d]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
432
432
|
var h = e.defaultProps;
|
|
433
433
|
for (d in h)
|
|
@@ -435,9 +435,9 @@ function _t() {
|
|
|
435
435
|
}
|
|
436
436
|
if (s || N) {
|
|
437
437
|
var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
-
s &&
|
|
438
|
+
s && ct(i, y), N && lt(i, y);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return ut(e, s, N, l, a, je.current, i);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var te = A.ReactCurrentOwner, we = A.ReactDebugCurrentFrame;
|
|
@@ -465,11 +465,11 @@ Check the render method of \`` + e + "`.";
|
|
|
465
465
|
return "";
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function ft(e) {
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var Ce = {};
|
|
472
|
-
function
|
|
472
|
+
function pt(e) {
|
|
473
473
|
{
|
|
474
474
|
var t = Te();
|
|
475
475
|
if (!t) {
|
|
@@ -486,7 +486,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
486
486
|
if (!e._store || e._store.validated || e.key != null)
|
|
487
487
|
return;
|
|
488
488
|
e._store.validated = !0;
|
|
489
|
-
var n =
|
|
489
|
+
var n = pt(t);
|
|
490
490
|
if (Ce[n])
|
|
491
491
|
return;
|
|
492
492
|
Ce[n] = !0;
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function mt(e) {
|
|
517
517
|
{
|
|
518
518
|
var t = e.type;
|
|
519
519
|
if (t == null || typeof t == "string")
|
|
@@ -529,7 +529,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
529
529
|
return;
|
|
530
530
|
if (n) {
|
|
531
531
|
var a = k(t);
|
|
532
|
-
|
|
532
|
+
et(n, e.props, "prop", a, e);
|
|
533
533
|
} else if (t.PropTypes !== void 0 && !re) {
|
|
534
534
|
re = !0;
|
|
535
535
|
var l = k(t);
|
|
@@ -538,7 +538,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
538
538
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && o("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function xt(e) {
|
|
542
542
|
{
|
|
543
543
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
544
544
|
var a = t[n];
|
|
@@ -553,16 +553,16 @@ Check the top-level render call using <` + n + ">.");
|
|
|
553
553
|
var Se = {};
|
|
554
554
|
function Pe(e, t, n, a, l, d) {
|
|
555
555
|
{
|
|
556
|
-
var i =
|
|
556
|
+
var i = Je(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 N =
|
|
560
|
+
var N = ft();
|
|
561
561
|
N ? s += N : s += Te();
|
|
562
562
|
var h;
|
|
563
563
|
e === null ? h = "null" : ee(e) ? h = "array" : e !== void 0 && e.$$typeof === w ? (h = "<" + (k(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : h = typeof e, o("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", h, s);
|
|
564
564
|
}
|
|
565
|
-
var y =
|
|
565
|
+
var y = dt(e, t, n, l, d);
|
|
566
566
|
if (y == null)
|
|
567
567
|
return y;
|
|
568
568
|
if (i) {
|
|
@@ -578,39 +578,39 @@ Check the top-level render call using <` + n + ">.");
|
|
|
578
578
|
else
|
|
579
579
|
Re(E, e);
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
582
|
-
var D = k(e), T = Object.keys(t).filter(function(
|
|
583
|
-
return
|
|
581
|
+
if ($.call(t, "key")) {
|
|
582
|
+
var D = k(e), T = Object.keys(t).filter(function(jt) {
|
|
583
|
+
return jt !== "key";
|
|
584
584
|
}), ae = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
585
|
if (!Se[D + ae]) {
|
|
586
|
-
var
|
|
586
|
+
var bt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
o(`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} />`, ae, D,
|
|
592
|
+
<%s key={someKey} {...props} />`, ae, D, bt, D), Se[D + ae] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return e === m ?
|
|
595
|
+
return e === m ? xt(y) : mt(y), y;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function ht(e, t, n) {
|
|
599
599
|
return Pe(e, t, n, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function vt(e, t, n) {
|
|
602
602
|
return Pe(e, t, n, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
U.Fragment = m, U.jsx =
|
|
604
|
+
var gt = vt, yt = ht;
|
|
605
|
+
U.Fragment = m, U.jsx = gt, U.jsxs = yt;
|
|
606
606
|
})()), U;
|
|
607
607
|
}
|
|
608
608
|
var Ie;
|
|
609
|
-
function
|
|
610
|
-
return Ie || (Ie = 1, process.env.NODE_ENV === "production" ?
|
|
609
|
+
function wt() {
|
|
610
|
+
return Ie || (Ie = 1, process.env.NODE_ENV === "production" ? G.exports = _t() : G.exports = Nt()), G.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",
|
|
@@ -657,7 +657,7 @@ const wt = {
|
|
|
657
657
|
hours: "HRS",
|
|
658
658
|
minutes: "MIN",
|
|
659
659
|
secondsLabel: "SEC"
|
|
660
|
-
},
|
|
660
|
+
}, Ct = {
|
|
661
661
|
landingPage: "लैंडिंग पेज",
|
|
662
662
|
successPage: "सफलता पेज",
|
|
663
663
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -704,21 +704,21 @@ const wt = {
|
|
|
704
704
|
hours: "घंटे",
|
|
705
705
|
minutes: "मिनट",
|
|
706
706
|
secondsLabel: "सेकंड"
|
|
707
|
-
},
|
|
708
|
-
en:
|
|
709
|
-
hi:
|
|
710
|
-
},
|
|
707
|
+
}, Et = {
|
|
708
|
+
en: Tt,
|
|
709
|
+
hi: Ct
|
|
710
|
+
}, Be = Le(null), Qt = ({
|
|
711
711
|
locale: v,
|
|
712
712
|
children: w
|
|
713
713
|
}) => {
|
|
714
|
-
const m = { locale: v, t: (g) =>
|
|
715
|
-
return /* @__PURE__ */ r.jsx(
|
|
714
|
+
const m = { locale: v, t: (g) => Et[v]?.[g] ?? g };
|
|
715
|
+
return /* @__PURE__ */ r.jsx(Be.Provider, { value: m, children: w });
|
|
716
716
|
};
|
|
717
717
|
function se() {
|
|
718
|
-
return
|
|
718
|
+
return Fe(Be);
|
|
719
719
|
}
|
|
720
|
-
const
|
|
721
|
-
const v =
|
|
720
|
+
const Me = Le(void 0), Ye = () => {
|
|
721
|
+
const v = Fe(Me);
|
|
722
722
|
if (!v)
|
|
723
723
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
724
724
|
return v;
|
|
@@ -727,7 +727,7 @@ const Be = Fe(void 0), Me = () => {
|
|
|
727
727
|
}) => {
|
|
728
728
|
const [w, _] = F(null), [m, g] = F(!1);
|
|
729
729
|
return /* @__PURE__ */ r.jsx(
|
|
730
|
-
|
|
730
|
+
Me.Provider,
|
|
731
731
|
{
|
|
732
732
|
value: {
|
|
733
733
|
userData: w,
|
|
@@ -738,8 +738,9 @@ const Be = Fe(void 0), Me = () => {
|
|
|
738
738
|
children: v
|
|
739
739
|
}
|
|
740
740
|
);
|
|
741
|
-
},
|
|
742
|
-
landingPage:
|
|
741
|
+
}, Rt = "_landingPage_111ub_1", Oe = {
|
|
742
|
+
landingPage: Rt,
|
|
743
|
+
"sf-select": "_sf-select_111ub_7"
|
|
743
744
|
}, St = ({ targetDate: v }) => {
|
|
744
745
|
const _ = se()?.t || ((b) => b), m = () => {
|
|
745
746
|
const f = (typeof v == "string" ? new Date(v) : v).getTime() - Date.now();
|
|
@@ -749,7 +750,7 @@ const Be = Fe(void 0), Me = () => {
|
|
|
749
750
|
}
|
|
750
751
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
751
752
|
}, [g, S] = F({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
752
|
-
|
|
753
|
+
z(() => {
|
|
753
754
|
S(m());
|
|
754
755
|
const b = setInterval(() => {
|
|
755
756
|
S(m());
|
|
@@ -874,8 +875,8 @@ const Be = Fe(void 0), Me = () => {
|
|
|
874
875
|
analytics: m,
|
|
875
876
|
showToast: g
|
|
876
877
|
}) => {
|
|
877
|
-
const c = se()?.t || ((o) => o), [b, f] = F(_ ? "+1" : "+91"), { setUserData: R, setShowSuccess: u } =
|
|
878
|
-
|
|
878
|
+
const c = se()?.t || ((o) => o), [b, f] = F(_ ? "+1" : "+91"), { setUserData: R, setShowSuccess: u } = Ye(), [x, j] = F(""), [C, I] = F(""), L = We(!1), P = `${b}-${C}`;
|
|
879
|
+
z(() => {
|
|
879
880
|
!L.current && m?.trackLandingPageViewed && (m.trackLandingPageViewed(), L.current = !0);
|
|
880
881
|
}, [m]);
|
|
881
882
|
const A = (o) => {
|
|
@@ -889,7 +890,7 @@ const Be = Fe(void 0), Me = () => {
|
|
|
889
890
|
}
|
|
890
891
|
m?.trackSubmitClicked?.(), R({ name: x, fullPhoneNumber: P }), g?.("success", "Registration Successful"), u(!0), w?.({ name: x, fullPhoneNumber: P });
|
|
891
892
|
};
|
|
892
|
-
return /* @__PURE__ */ r.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ r.jsxs("div", { className:
|
|
893
|
+
return /* @__PURE__ */ r.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ r.jsxs("div", { className: Oe.landingPage, children: [
|
|
893
894
|
/* @__PURE__ */ r.jsx("div", { className: "relative w-full flex justify-center bg-[#F5F1E8]", children: /* @__PURE__ */ r.jsx(
|
|
894
895
|
"img",
|
|
895
896
|
{
|
|
@@ -944,7 +945,7 @@ const Be = Fe(void 0), Me = () => {
|
|
|
944
945
|
{
|
|
945
946
|
value: b,
|
|
946
947
|
onChange: (o) => f(o.target.value),
|
|
947
|
-
className: "
|
|
948
|
+
className: `${Oe["sf-select"]} w-20`,
|
|
948
949
|
children: At.map((o) => /* @__PURE__ */ r.jsx("option", { value: o.code, children: o.code }, o.code))
|
|
949
950
|
}
|
|
950
951
|
) }),
|
|
@@ -989,7 +990,7 @@ const Be = Fe(void 0), Me = () => {
|
|
|
989
990
|
] }, W)) })
|
|
990
991
|
] }) })
|
|
991
992
|
] }) });
|
|
992
|
-
}, kt = "_successPage_8t8j5_1", It = "_profileImageContainer_8t8j5_7", Ot = "_profileImage_8t8j5_7", Dt = "_greeting_8t8j5_19", Ft = "_jaiShreeRam_8t8j5_23", Lt = "_userName_8t8j5_29", Wt = "_registrationCard_8t8j5_34", Bt = "_registeredText_8t8j5_48", Mt = "_eventName_8t8j5_53", Yt = "_eventDetails_8t8j5_61",
|
|
993
|
+
}, kt = "_successPage_8t8j5_1", It = "_profileImageContainer_8t8j5_7", Ot = "_profileImage_8t8j5_7", Dt = "_greeting_8t8j5_19", Ft = "_jaiShreeRam_8t8j5_23", Lt = "_userName_8t8j5_29", Wt = "_registrationCard_8t8j5_34", Bt = "_registeredText_8t8j5_48", Mt = "_eventName_8t8j5_53", Yt = "_eventDetails_8t8j5_61", $t = "_whatsappButton_8t8j5_66", Vt = "_redirectInfo_8t8j5_75", Ut = "_redirectText_8t8j5_79", Ht = "_countdown_8t8j5_84", Kt = "_nextSteps_8t8j5_90", Jt = "_nextStepsTitle_8t8j5_96", qt = "_stepsList_8t8j5_101", Gt = "_step_8t8j5_101", zt = "_stepNumber_8t8j5_109", Xt = "_stepText_8t8j5_113", p = {
|
|
993
994
|
successPage: kt,
|
|
994
995
|
profileImageContainer: It,
|
|
995
996
|
profileImage: Ot,
|
|
@@ -1000,15 +1001,15 @@ const Be = Fe(void 0), Me = () => {
|
|
|
1000
1001
|
registeredText: Bt,
|
|
1001
1002
|
eventName: Mt,
|
|
1002
1003
|
eventDetails: Yt,
|
|
1003
|
-
whatsappButton:
|
|
1004
|
-
redirectInfo:
|
|
1004
|
+
whatsappButton: $t,
|
|
1005
|
+
redirectInfo: Vt,
|
|
1005
1006
|
redirectText: Ut,
|
|
1006
1007
|
countdown: Ht,
|
|
1007
1008
|
nextSteps: Kt,
|
|
1008
1009
|
nextStepsTitle: Jt,
|
|
1009
1010
|
stepsList: qt,
|
|
1010
|
-
step:
|
|
1011
|
-
stepNumber:
|
|
1011
|
+
step: Gt,
|
|
1012
|
+
stepNumber: zt,
|
|
1012
1013
|
stepText: Xt
|
|
1013
1014
|
}, rr = ({
|
|
1014
1015
|
userName: v = "Rahul",
|
|
@@ -1021,13 +1022,13 @@ const Be = Fe(void 0), Me = () => {
|
|
|
1021
1022
|
showToast: b,
|
|
1022
1023
|
disableRedirect: f = !1
|
|
1023
1024
|
}) => {
|
|
1024
|
-
const u = se()?.t || ((P) => P), { userData: x } =
|
|
1025
|
-
return
|
|
1025
|
+
const u = se()?.t || ((P) => P), { userData: x } = Ye(), [j, C] = F(S), I = We(!1), L = x?.name || v;
|
|
1026
|
+
return z(() => {
|
|
1026
1027
|
!I.current && c?.trackSuccessPageViewed && (c.trackSuccessPageViewed({
|
|
1027
1028
|
name: x?.name,
|
|
1028
1029
|
phone: x?.fullPhoneNumber
|
|
1029
1030
|
}), I.current = !0);
|
|
1030
|
-
}, [c, x?.name, x?.fullPhoneNumber]),
|
|
1031
|
+
}, [c, x?.name, x?.fullPhoneNumber]), z(() => {
|
|
1031
1032
|
if (!f)
|
|
1032
1033
|
if (j > 0) {
|
|
1033
1034
|
const P = setTimeout(() => C(j - 1), 1e3);
|
|
@@ -1108,7 +1109,7 @@ export {
|
|
|
1108
1109
|
Qt as I18nProvider,
|
|
1109
1110
|
tr as LandingPage,
|
|
1110
1111
|
rr as SuccessPage,
|
|
1111
|
-
|
|
1112
|
+
Ye as useAppContext,
|
|
1112
1113
|
se as useI18n
|
|
1113
1114
|
};
|
|
1114
1115
|
//# sourceMappingURL=hanuman-chalisa.js.map
|