@srimandir/hanuman-chalisa 1.7.12 → 1.7.14
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 +181 -181
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import rt, { useContext as nt, createContext as st, useState as R, useEffect as F, useRef as
|
|
1
|
+
import rt, { useContext as nt, createContext as st, useState as R, useEffect as F, useRef as M, useCallback as Ft } from "react";
|
|
2
2
|
var le = { exports: {} }, Z = {};
|
|
3
|
-
var
|
|
3
|
+
var $e;
|
|
4
4
|
function Bt() {
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
5
|
+
if ($e) return Z;
|
|
6
|
+
$e = 1;
|
|
7
|
+
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, h = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
8
|
function c(j, l, N) {
|
|
9
|
-
var
|
|
9
|
+
var u, g = {}, C = null, S = null;
|
|
10
10
|
N !== void 0 && (C = "" + N), l.key !== void 0 && (C = "" + l.key), l.ref !== void 0 && (S = l.ref);
|
|
11
|
-
for (
|
|
12
|
-
if (j && j.defaultProps) for (
|
|
11
|
+
for (u in l) d.call(l, u) && !_.hasOwnProperty(u) && (g[u] = l[u]);
|
|
12
|
+
if (j && j.defaultProps) for (u in l = j.defaultProps, l) g[u] === void 0 && (g[u] = l[u]);
|
|
13
13
|
return { $$typeof: i, type: j, key: C, ref: S, props: g, _owner: h.current };
|
|
14
14
|
}
|
|
15
15
|
return Z.Fragment = v, Z.jsx = c, Z.jsxs = c, Z;
|
|
16
16
|
}
|
|
17
17
|
var Q = {};
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.portal"),
|
|
18
|
+
var Ve;
|
|
19
|
+
function Ht() {
|
|
20
|
+
return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), B = Symbol.iterator, A = "@@iterator";
|
|
22
22
|
function k(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
@@ -30,10 +30,10 @@ function qt() {
|
|
|
30
30
|
{
|
|
31
31
|
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), o = 1; o < a; o++)
|
|
32
32
|
n[o - 1] = arguments[o];
|
|
33
|
-
|
|
33
|
+
J("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function J(e, a, n) {
|
|
37
37
|
{
|
|
38
38
|
var o = L.ReactDebugCurrentFrame, x = o.getStackAddendum();
|
|
39
39
|
x !== "" && (a += "%s", n = n.concat([x]));
|
|
@@ -43,10 +43,10 @@ function qt() {
|
|
|
43
43
|
b.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, b);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var K = !1, y = !1, W = !1, te = !1, de = !1, ae;
|
|
47
47
|
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function re(e) {
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === _ || de || e === h || e === N || e === u || te || e === S || K || y || W || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === g || e.$$typeof === c || e.$$typeof === j || e.$$typeof === l || // 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.
|
|
@@ -59,7 +59,7 @@ function qt() {
|
|
|
59
59
|
var x = a.displayName || a.name || "";
|
|
60
60
|
return x !== "" ? n + "(" + x + ")" : n;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function q(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
65
|
function f(e) {
|
|
@@ -70,7 +70,7 @@ function qt() {
|
|
|
70
70
|
if (typeof e == "string")
|
|
71
71
|
return e;
|
|
72
72
|
switch (e) {
|
|
73
|
-
case
|
|
73
|
+
case d:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case v:
|
|
76
76
|
return "Portal";
|
|
@@ -80,17 +80,17 @@ function qt() {
|
|
|
80
80
|
return "StrictMode";
|
|
81
81
|
case N:
|
|
82
82
|
return "Suspense";
|
|
83
|
-
case
|
|
83
|
+
case u:
|
|
84
84
|
return "SuspenseList";
|
|
85
85
|
}
|
|
86
86
|
if (typeof e == "object")
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
88
|
case j:
|
|
89
89
|
var a = e;
|
|
90
|
-
return
|
|
90
|
+
return q(a) + ".Consumer";
|
|
91
91
|
case c:
|
|
92
92
|
var n = e;
|
|
93
|
-
return
|
|
93
|
+
return q(n._context) + ".Provider";
|
|
94
94
|
case l:
|
|
95
95
|
return ne(e, e.render, "ForwardRef");
|
|
96
96
|
case g:
|
|
@@ -111,7 +111,7 @@ function qt() {
|
|
|
111
111
|
function Pe() {
|
|
112
112
|
}
|
|
113
113
|
Pe.__reactDisabledLog = !0;
|
|
114
|
-
function
|
|
114
|
+
function dt() {
|
|
115
115
|
{
|
|
116
116
|
if (X === 0) {
|
|
117
117
|
je = console.log, be = console.info, we = console.warn, Ce = console.error, ye = console.group, Ne = console.groupCollapsed, Te = console.groupEnd;
|
|
@@ -134,7 +134,7 @@ function qt() {
|
|
|
134
134
|
X++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function ut() {
|
|
138
138
|
{
|
|
139
139
|
if (X--, X === 0) {
|
|
140
140
|
var e = {
|
|
@@ -169,7 +169,7 @@ function qt() {
|
|
|
169
169
|
X < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
172
|
+
var ue = L.ReactCurrentDispatcher, pe;
|
|
173
173
|
function se(e, a, n) {
|
|
174
174
|
{
|
|
175
175
|
if (pe === void 0)
|
|
@@ -201,7 +201,7 @@ function qt() {
|
|
|
201
201
|
var x = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var b;
|
|
204
|
-
b =
|
|
204
|
+
b = ue.current, ue.current = null, dt();
|
|
205
205
|
try {
|
|
206
206
|
if (a) {
|
|
207
207
|
var m = function() {
|
|
@@ -245,19 +245,19 @@ function qt() {
|
|
|
245
245
|
if (P !== 1 || E !== 1)
|
|
246
246
|
do
|
|
247
247
|
if (P--, E--, E < 0 || p[P] !== I[E]) {
|
|
248
|
-
var
|
|
248
|
+
var H = `
|
|
249
249
|
` + p[P].replace(" at new ", " at ");
|
|
250
|
-
return e.displayName &&
|
|
250
|
+
return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, H), H;
|
|
251
251
|
}
|
|
252
252
|
while (P >= 1 && E >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
fe = !1,
|
|
257
|
+
fe = !1, ue.current = b, ut(), Error.prepareStackTrace = x;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof e == "function" && ie.set(e,
|
|
259
|
+
var V = e ? e.displayName || e.name : "", z = V ? se(V) : "";
|
|
260
|
+
return typeof e == "function" && ie.set(e, z), z;
|
|
261
261
|
}
|
|
262
262
|
function ft(e, a, n) {
|
|
263
263
|
return Se(e, !1);
|
|
@@ -276,7 +276,7 @@ function qt() {
|
|
|
276
276
|
switch (e) {
|
|
277
277
|
case N:
|
|
278
278
|
return se("Suspense");
|
|
279
|
-
case
|
|
279
|
+
case u:
|
|
280
280
|
return se("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
@@ -441,7 +441,7 @@ function qt() {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var he = L.ReactCurrentOwner, De = L.ReactDebugCurrentFrame;
|
|
444
|
-
function
|
|
444
|
+
function $(e) {
|
|
445
445
|
if (e) {
|
|
446
446
|
var a = e._owner, n = oe(e.type, e._source, a ? a.type : null);
|
|
447
447
|
De.setExtraStackFrame(n);
|
|
@@ -481,7 +481,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
481
481
|
return a;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function He(e, a) {
|
|
485
485
|
{
|
|
486
486
|
if (!e._store || e._store.validated || e.key != null)
|
|
487
487
|
return;
|
|
@@ -491,17 +491,17 @@ Check the top-level render call using <` + n + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
Be[n] = !0;
|
|
493
493
|
var o = "";
|
|
494
|
-
e && e._owner && e._owner !== he.current && (o = " It was passed a child from " + f(e._owner.type) + "."),
|
|
494
|
+
e && e._owner && e._owner !== he.current && (o = " It was passed a child from " + f(e._owner.type) + "."), $(e), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), $(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function We(e, a) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
501
|
if (me(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
503
|
var o = e[n];
|
|
504
|
-
_e(o) &&
|
|
504
|
+
_e(o) && He(o, a);
|
|
505
505
|
}
|
|
506
506
|
else if (_e(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
@@ -509,7 +509,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
509
509
|
var x = k(e);
|
|
510
510
|
if (typeof x == "function" && x !== e.entries)
|
|
511
511
|
for (var b = x.call(e), m; !(m = b.next()).done; )
|
|
512
|
-
_e(m.value) &&
|
|
512
|
+
_e(m.value) && He(m.value, a);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -543,15 +543,15 @@ Check the top-level render call using <` + n + ">.");
|
|
|
543
543
|
for (var a = Object.keys(e.props), n = 0; n < a.length; n++) {
|
|
544
544
|
var o = a[n];
|
|
545
545
|
if (o !== "children" && o !== "key") {
|
|
546
|
-
|
|
546
|
+
$(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), $(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
e.ref !== null && (
|
|
550
|
+
e.ref !== null && ($(e), T("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var ze = {};
|
|
554
|
+
function Me(e, a, n, o, x, b) {
|
|
555
555
|
{
|
|
556
556
|
var m = re(e);
|
|
557
557
|
if (!m) {
|
|
@@ -566,51 +566,51 @@ Check the top-level render call using <` + n + ">.");
|
|
|
566
566
|
if (E == null)
|
|
567
567
|
return E;
|
|
568
568
|
if (m) {
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
569
|
+
var H = a.children;
|
|
570
|
+
if (H !== void 0)
|
|
571
571
|
if (o)
|
|
572
|
-
if (me(
|
|
573
|
-
for (var
|
|
574
|
-
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
572
|
+
if (me(H)) {
|
|
573
|
+
for (var V = 0; V < H.length; V++)
|
|
574
|
+
We(H[V], e);
|
|
575
|
+
Object.freeze && Object.freeze(H);
|
|
576
576
|
} else
|
|
577
577
|
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
578
578
|
else
|
|
579
|
-
|
|
579
|
+
We(H, e);
|
|
580
580
|
}
|
|
581
581
|
if (G.call(a, "key")) {
|
|
582
|
-
var
|
|
582
|
+
var z = f(e), D = Object.keys(a).filter(function(Dt) {
|
|
583
583
|
return Dt !== "key";
|
|
584
584
|
}), ge = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
-
if (!
|
|
585
|
+
if (!ze[z + ge]) {
|
|
586
586
|
var Ot = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
T(`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} />`, ge,
|
|
592
|
+
<%s key={someKey} {...props} />`, ge, z, Ot, z), ze[z + ge] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return e ===
|
|
595
|
+
return e === d ? kt(E) : Et(E), E;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function Rt(e, a, n) {
|
|
599
|
-
return
|
|
599
|
+
return Me(e, a, n, !0);
|
|
600
600
|
}
|
|
601
601
|
function It(e, a, n) {
|
|
602
|
-
return
|
|
602
|
+
return Me(e, a, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var At = It, Lt = Rt;
|
|
605
|
-
Q.Fragment =
|
|
605
|
+
Q.Fragment = d, Q.jsx = At, Q.jsxs = Lt;
|
|
606
606
|
})()), Q;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Ue;
|
|
609
|
+
function Wt() {
|
|
610
|
+
return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? le.exports = Bt() : le.exports = Ht()), le.exports;
|
|
611
611
|
}
|
|
612
|
-
var t =
|
|
613
|
-
const
|
|
612
|
+
var t = Wt();
|
|
613
|
+
const zt = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const Wt = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, Mt = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,15 +706,15 @@ const Wt = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
709
|
+
}, $t = {
|
|
710
|
+
en: zt,
|
|
711
|
+
hi: Mt
|
|
712
712
|
}, it = st(null), Or = ({
|
|
713
713
|
locale: s,
|
|
714
714
|
children: i
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ t.jsx(it.Provider, { value:
|
|
716
|
+
const d = { locale: s, t: (h) => $t[s]?.[h] ?? h };
|
|
717
|
+
return /* @__PURE__ */ t.jsx(it.Provider, { value: d, children: i });
|
|
718
718
|
};
|
|
719
719
|
function ve() {
|
|
720
720
|
return nt(it);
|
|
@@ -727,35 +727,35 @@ const ot = st(void 0), ct = () => {
|
|
|
727
727
|
}, Dr = ({
|
|
728
728
|
children: s
|
|
729
729
|
}) => {
|
|
730
|
-
const [i, v] = R(null), [
|
|
730
|
+
const [i, v] = R(null), [d, h] = R(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
732
|
ot.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: i,
|
|
736
736
|
setUserData: v,
|
|
737
|
-
showSuccess:
|
|
737
|
+
showSuccess: d,
|
|
738
738
|
setShowSuccess: h
|
|
739
739
|
},
|
|
740
740
|
children: s
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, Vt = "_landingPage_14yn1_1", Ye = {
|
|
744
|
+
landingPage: Vt,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
|
-
},
|
|
747
|
-
const v = ve()?.t || ((j) => j),
|
|
746
|
+
}, Ut = ({ targetDate: s }) => {
|
|
747
|
+
const v = ve()?.t || ((j) => j), d = () => {
|
|
748
748
|
const l = (typeof s == "string" ? new Date(s) : s).getTime() - Date.now();
|
|
749
749
|
if (l > 0) {
|
|
750
|
-
const N = Math.floor(l / 864e5),
|
|
751
|
-
return { days: N, hours:
|
|
750
|
+
const N = Math.floor(l / 864e5), u = Math.floor(l % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), g = Math.floor(l % (1e3 * 60 * 60) / (1e3 * 60)), C = Math.floor(l % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: N, hours: u, minutes: g, seconds: C };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
754
|
}, [h, _] = R({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
F(() => {
|
|
756
|
-
_(
|
|
756
|
+
_(d());
|
|
757
757
|
const j = setInterval(() => {
|
|
758
|
-
_(
|
|
758
|
+
_(d());
|
|
759
759
|
}, 1e3);
|
|
760
760
|
return () => clearInterval(j);
|
|
761
761
|
}, [s]);
|
|
@@ -784,7 +784,7 @@ const ot = st(void 0), ct = () => {
|
|
|
784
784
|
] }),
|
|
785
785
|
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: v("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, Yt = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -800,7 +800,7 @@ const ot = st(void 0), ct = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Je = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -874,16 +874,16 @@ const ot = st(void 0), ct = () => {
|
|
|
874
874
|
targetDate: s,
|
|
875
875
|
onSubmit: i,
|
|
876
876
|
isGlobal: v = !1,
|
|
877
|
-
analytics:
|
|
877
|
+
analytics: d,
|
|
878
878
|
showToast: h
|
|
879
879
|
}) => {
|
|
880
|
-
const c = ve()?.t || ((y) => y), [j, l] = R(v ? "+1" : "+91"), [N,
|
|
880
|
+
const c = ve()?.t || ((y) => y), [j, l] = R(v ? "+1" : "+91"), [N, u] = R(!1), { setUserData: g, setShowSuccess: C } = ct(), [S, B] = R(""), [A, k] = R(""), L = M(!1), T = `${j}-${A}`, J = Je.find(
|
|
881
881
|
(y) => y.code === j
|
|
882
882
|
);
|
|
883
883
|
F(() => {
|
|
884
|
-
!L.current &&
|
|
885
|
-
}, [
|
|
886
|
-
const
|
|
884
|
+
!L.current && d?.trackLandingPageViewed && (d.trackLandingPageViewed(), L.current = !0);
|
|
885
|
+
}, [d]);
|
|
886
|
+
const K = (y) => {
|
|
887
887
|
if (y.preventDefault(), !S || S.trim() === "") {
|
|
888
888
|
h?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
@@ -892,9 +892,9 @@ const ot = st(void 0), ct = () => {
|
|
|
892
892
|
h?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
|
|
895
|
+
d?.trackSubmitClicked?.(), g({ name: S, fullPhoneNumber: T }), h?.("success", "Registration Successful"), C(!0), i?.({ name: S, fullPhoneNumber: T });
|
|
896
896
|
};
|
|
897
|
-
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
897
|
+
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: Ye.landingPage, children: [
|
|
898
898
|
/* @__PURE__ */ t.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsx(
|
|
899
899
|
"img",
|
|
900
900
|
{
|
|
@@ -903,7 +903,7 @@ const ot = st(void 0), ct = () => {
|
|
|
903
903
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
904
904
|
}
|
|
905
905
|
) }),
|
|
906
|
-
/* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(
|
|
906
|
+
/* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(Ut, { targetDate: s }) }),
|
|
907
907
|
/* @__PURE__ */ t.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
908
908
|
/* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
909
909
|
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
|
@@ -923,7 +923,7 @@ const ot = st(void 0), ct = () => {
|
|
|
923
923
|
] }),
|
|
924
924
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 py-6 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
925
925
|
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: c("formTitle") }),
|
|
926
|
-
/* @__PURE__ */ t.jsxs("form", { onSubmit:
|
|
926
|
+
/* @__PURE__ */ t.jsxs("form", { onSubmit: K, className: "space-y-4", children: [
|
|
927
927
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
928
928
|
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: c("nameLabel") }),
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
@@ -932,9 +932,9 @@ const ot = st(void 0), ct = () => {
|
|
|
932
932
|
type: "text",
|
|
933
933
|
value: S,
|
|
934
934
|
onChange: (y) => {
|
|
935
|
-
B(y.target.value), y.target.value && !S &&
|
|
935
|
+
B(y.target.value), y.target.value && !S && d?.trackNameFilled?.();
|
|
936
936
|
},
|
|
937
|
-
onFocus: () =>
|
|
937
|
+
onFocus: () => d?.trackNameClicked?.(),
|
|
938
938
|
placeholder: c("namePlaceholder"),
|
|
939
939
|
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]",
|
|
940
940
|
required: !0
|
|
@@ -948,16 +948,16 @@ const ot = st(void 0), ct = () => {
|
|
|
948
948
|
/* @__PURE__ */ t.jsx(
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
|
-
onClick: () =>
|
|
952
|
-
className: `${
|
|
953
|
-
children:
|
|
951
|
+
onClick: () => u(!N),
|
|
952
|
+
className: `${Ye["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
|
+
children: J?.code
|
|
954
954
|
}
|
|
955
955
|
),
|
|
956
|
-
N && /* @__PURE__ */ t.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children:
|
|
956
|
+
N && /* @__PURE__ */ t.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Je.map((y) => /* @__PURE__ */ t.jsxs(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
959
959
|
onClick: () => {
|
|
960
|
-
l(y.code),
|
|
960
|
+
l(y.code), u(!1);
|
|
961
961
|
},
|
|
962
962
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
963
963
|
children: [
|
|
@@ -976,10 +976,10 @@ const ot = st(void 0), ct = () => {
|
|
|
976
976
|
type: "tel",
|
|
977
977
|
value: A,
|
|
978
978
|
onChange: (y) => {
|
|
979
|
-
const
|
|
980
|
-
k(
|
|
979
|
+
const W = y.target.value.replace(/\D/g, "");
|
|
980
|
+
k(W), W && !A && d?.trackPhoneFilled?.();
|
|
981
981
|
},
|
|
982
|
-
onFocus: () =>
|
|
982
|
+
onFocus: () => d?.trackPhoneClicked?.(),
|
|
983
983
|
placeholder: c("whatsappPlaceholder"),
|
|
984
984
|
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]",
|
|
985
985
|
maxLength: 10,
|
|
@@ -1002,19 +1002,19 @@ const ot = st(void 0), ct = () => {
|
|
|
1002
1002
|
] }) }),
|
|
1003
1003
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1004
1004
|
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: c("expectTitle") }),
|
|
1005
|
-
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children:
|
|
1005
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: Yt.map((y, W) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1006
1006
|
/* @__PURE__ */ t.jsx("img", { src: y.icon, alt: "", className: "w-10 h-10" }),
|
|
1007
1007
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
|
|
1008
1008
|
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: c(y.titleKey) }),
|
|
1009
1009
|
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: c(y.descKey) })
|
|
1010
1010
|
] })
|
|
1011
|
-
] },
|
|
1011
|
+
] }, W)) })
|
|
1012
1012
|
] }) })
|
|
1013
1013
|
] }) });
|
|
1014
|
-
},
|
|
1015
|
-
successPage:
|
|
1016
|
-
profileImageContainer:
|
|
1017
|
-
profileImage:
|
|
1014
|
+
}, Jt = "_successPage_8t8j5_1", Kt = "_profileImageContainer_8t8j5_7", qt = "_profileImage_8t8j5_7", Xt = "_greeting_8t8j5_19", Gt = "_jaiShreeRam_8t8j5_23", Zt = "_userName_8t8j5_29", Qt = "_registrationCard_8t8j5_34", ea = "_registeredText_8t8j5_48", ta = "_eventName_8t8j5_53", aa = "_eventDetails_8t8j5_61", ra = "_whatsappButton_8t8j5_66", na = "_redirectInfo_8t8j5_75", sa = "_redirectText_8t8j5_79", ia = "_countdown_8t8j5_84", oa = "_nextSteps_8t8j5_90", ca = "_nextStepsTitle_8t8j5_96", la = "_stepsList_8t8j5_101", da = "_step_8t8j5_101", ua = "_stepNumber_8t8j5_109", pa = "_stepText_8t8j5_113", w = {
|
|
1015
|
+
successPage: Jt,
|
|
1016
|
+
profileImageContainer: Kt,
|
|
1017
|
+
profileImage: qt,
|
|
1018
1018
|
greeting: Xt,
|
|
1019
1019
|
jaiShreeRam: Gt,
|
|
1020
1020
|
userName: Zt,
|
|
@@ -1029,21 +1029,21 @@ const ot = st(void 0), ct = () => {
|
|
|
1029
1029
|
nextSteps: oa,
|
|
1030
1030
|
nextStepsTitle: ca,
|
|
1031
1031
|
stepsList: la,
|
|
1032
|
-
step:
|
|
1033
|
-
stepNumber:
|
|
1032
|
+
step: da,
|
|
1033
|
+
stepNumber: ua,
|
|
1034
1034
|
stepText: pa
|
|
1035
|
-
}, fa = "918151810300", ma = "I'm interested in the Rasrajji Hanuman Jayanti Path",
|
|
1035
|
+
}, fa = "918151810300", ma = "I'm interested in the Rasrajji Hanuman Jayanti Path", Ke = `https://wa.me/${fa}?text=${encodeURIComponent(ma)}`, Br = ({
|
|
1036
1036
|
userName: s = "Rahul",
|
|
1037
1037
|
eventName: i = "Hanuman Jayanti Maha Path",
|
|
1038
1038
|
eventDate: v = "2nd April",
|
|
1039
|
-
eventTime:
|
|
1039
|
+
eventTime: d = "9:00 AM onwards",
|
|
1040
1040
|
onWhatsAppClick: h,
|
|
1041
1041
|
redirectSeconds: _ = 10,
|
|
1042
1042
|
analytics: c,
|
|
1043
1043
|
showToast: j,
|
|
1044
1044
|
disableRedirect: l = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const
|
|
1046
|
+
const u = ve()?.t || ((k) => k), { userData: g } = ct(), [C, S] = R(_), B = M(!1), A = g?.name || s;
|
|
1047
1047
|
return F(() => {
|
|
1048
1048
|
!B.current && c?.trackSuccessPageViewed && (c.trackSuccessPageViewed({
|
|
1049
1049
|
name: g?.name,
|
|
@@ -1054,7 +1054,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1054
1054
|
if (C > 0) {
|
|
1055
1055
|
const k = setTimeout(() => S(C - 1), 1e3);
|
|
1056
1056
|
return () => clearTimeout(k);
|
|
1057
|
-
} else C === 0 && (window.location.href =
|
|
1057
|
+
} else C === 0 && (window.location.href = Ke);
|
|
1058
1058
|
}, [C, l]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: w.successPage, children: [
|
|
1059
1059
|
/* @__PURE__ */ t.jsx("div", { className: w.profileImageContainer, children: /* @__PURE__ */ t.jsx(
|
|
1060
1060
|
"img",
|
|
@@ -1068,21 +1068,21 @@ const ot = st(void 0), ct = () => {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
) }),
|
|
1070
1070
|
/* @__PURE__ */ t.jsxs("div", { className: w.greeting, children: [
|
|
1071
|
-
/* @__PURE__ */ t.jsx("p", { className: w.jaiShreeRam, children:
|
|
1071
|
+
/* @__PURE__ */ t.jsx("p", { className: w.jaiShreeRam, children: u("jaiShreeRam") }),
|
|
1072
1072
|
/* @__PURE__ */ t.jsxs("h1", { className: w.userName, children: [
|
|
1073
|
-
|
|
1073
|
+
u("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
1075
|
A,
|
|
1076
1076
|
" Ji"
|
|
1077
1077
|
] })
|
|
1078
1078
|
] }),
|
|
1079
1079
|
/* @__PURE__ */ t.jsxs("div", { className: w.registrationCard, children: [
|
|
1080
|
-
/* @__PURE__ */ t.jsx("p", { className: w.registeredText, children:
|
|
1080
|
+
/* @__PURE__ */ t.jsx("p", { className: w.registeredText, children: u("registeredFor") }),
|
|
1081
1081
|
/* @__PURE__ */ t.jsx("h2", { className: w.eventName, children: i }),
|
|
1082
1082
|
/* @__PURE__ */ t.jsxs("p", { className: w.eventDetails, children: [
|
|
1083
1083
|
v,
|
|
1084
1084
|
" · ",
|
|
1085
|
-
|
|
1085
|
+
d
|
|
1086
1086
|
] })
|
|
1087
1087
|
] }),
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1091,40 +1091,40 @@ const ot = st(void 0), ct = () => {
|
|
|
1091
1091
|
className: w.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
1093
|
c?.trackWhatsappBtnClicked?.(), j?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
|
-
window.location.href =
|
|
1094
|
+
window.location.href = Ke;
|
|
1095
1095
|
}, 500), h?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
|
-
children:
|
|
1098
|
+
children: u("sendlinkonwhatsapp")
|
|
1099
1099
|
}
|
|
1100
1100
|
),
|
|
1101
1101
|
/* @__PURE__ */ t.jsxs("div", { className: w.redirectInfo, children: [
|
|
1102
|
-
/* @__PURE__ */ t.jsx("p", { className: w.redirectText, children:
|
|
1102
|
+
/* @__PURE__ */ t.jsx("p", { className: w.redirectText, children: u("redirectingIn") }),
|
|
1103
1103
|
/* @__PURE__ */ t.jsxs("p", { className: w.countdown, children: [
|
|
1104
1104
|
C.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
|
-
|
|
1106
|
+
u("seconds")
|
|
1107
1107
|
] })
|
|
1108
1108
|
] }),
|
|
1109
1109
|
/* @__PURE__ */ t.jsxs("div", { className: w.nextSteps, children: [
|
|
1110
|
-
/* @__PURE__ */ t.jsx("h3", { className: w.nextStepsTitle, children:
|
|
1110
|
+
/* @__PURE__ */ t.jsx("h3", { className: w.nextStepsTitle, children: u("whatHappensNext") }),
|
|
1111
1111
|
/* @__PURE__ */ t.jsxs("div", { className: w.stepsList, children: [
|
|
1112
1112
|
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1113
1113
|
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "1" }),
|
|
1114
|
-
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children:
|
|
1114
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: u("step1") })
|
|
1115
1115
|
] }),
|
|
1116
1116
|
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1117
1117
|
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "2" }),
|
|
1118
|
-
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children:
|
|
1118
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: u("step2") })
|
|
1119
1119
|
] }),
|
|
1120
1120
|
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1121
1121
|
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "3" }),
|
|
1122
|
-
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children:
|
|
1122
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: u("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
}, ha = "
|
|
1127
|
+
}, ha = "_container_ctpi9_2", xa = "_video_ctpi9_24", _a = "_videoFullscreenWithBelowBanner_ctpi9_36", ga = "_banner_ctpi9_43", va = "_bannerCard_ctpi9_60", ja = "_bannerTitle_ctpi9_69", ba = "_landscapeHeader_ctpi9_80", wa = "_scroll_ctpi9_91", Ca = "_landscapeScroll_ctpi9_99", ya = "_card_ctpi9_106", Na = "_divider_ctpi9_122", Ta = "_chat_ctpi9_131", Pa = "_iframe_ctpi9_137", Sa = "_fullscreenBtn_ctpi9_144", Ea = "_chatToggleBtn_ctpi9_182", ka = "_chatToggleBtnText_ctpi9_235", Ra = "_fullscreenChatPanel_ctpi9_242", Ia = "_fullscreenChatCloseBtn_ctpi9_255", Aa = "_chatLoader_ctpi9_284", La = "_chatLoaderCompact_ctpi9_297", Oa = "_devotionalLoader_ctpi9_301", Da = "_chatLoaderText_ctpi9_343", Fa = "_imageWrapper_ctpi9_367", Ba = "_image_ctpi9_367", Ha = "_addBtn_ctpi9_379", Wa = "_title_ctpi9_397", za = "_price_ctpi9_404", Ma = "_priceRow_ctpi9_410", $a = "_originalPrice_ctpi9_418", Va = "_discountBadge_ctpi9_424", Ua = "_landscapeCard_ctpi9_434", Ya = "_landscapeImageWrapper_ctpi9_454", Ja = "_landscapeImage_ctpi9_454", Ka = "_landscapeContent_ctpi9_467", qa = "_landscapeTitle_ctpi9_474", Xa = "_landscapePriceRow_ctpi9_483", Ga = "_landscapePrice_ctpi9_483", Za = "_landscapeOriginalPrice_ctpi9_496", Qa = "_landscapeDiscount_ctpi9_502", er = "_landscapeAdd_ctpi9_512", tr = "_carousel_ctpi9_583", ar = "_carouselTrack_ctpi9_612", rr = "_carouselSlide_ctpi9_618", nr = "_carouselArrow_ctpi9_626", sr = "_carouselArrowLeft_ctpi9_651", ir = "_carouselArrowRight_ctpi9_655", or = "_pujaBanner_ctpi9_685", cr = "_pujaWrapperVertical_ctpi9_695", lr = "_pujaHeader_ctpi9_701", dr = "_pujaCardVertical_ctpi9_712", ur = "_pujaImage_ctpi9_743", pr = "_pujaContent_ctpi9_751", fr = "_pujaTitle_ctpi9_757", mr = "_pujaSub_ctpi9_769", hr = "_locationIcon_ctpi9_781", xr = "_pujaTrustmakers_ctpi9_787", _r = "_pujaCTA_ctpi9_796", gr = "_pujaCardHorizontal_ctpi9_812", vr = "_pujaImageHorizontal_ctpi9_829", jr = "_pujaContentHorizontal_ctpi9_837", br = "_pujaPinkText_ctpi9_845", wr = "_pujaPinkTextHorizontal_ctpi9_856", Cr = "_pujaTitleHorizontal_ctpi9_867", yr = "_pujaSubHorizontal_ctpi9_875", Nr = "_pujaCTAHorizontal_ctpi9_885", r = {
|
|
1128
1128
|
container: ha,
|
|
1129
1129
|
video: xa,
|
|
1130
1130
|
videoFullscreenWithBelowBanner: _a,
|
|
@@ -1149,17 +1149,17 @@ const ot = st(void 0), ct = () => {
|
|
|
1149
1149
|
chatLoaderText: Da,
|
|
1150
1150
|
imageWrapper: Fa,
|
|
1151
1151
|
image: Ba,
|
|
1152
|
-
addBtn:
|
|
1153
|
-
title:
|
|
1154
|
-
price:
|
|
1155
|
-
priceRow:
|
|
1156
|
-
originalPrice:
|
|
1157
|
-
discountBadge:
|
|
1158
|
-
landscapeCard:
|
|
1159
|
-
landscapeImageWrapper:
|
|
1160
|
-
landscapeImage:
|
|
1161
|
-
landscapeContent:
|
|
1162
|
-
landscapeTitle:
|
|
1152
|
+
addBtn: Ha,
|
|
1153
|
+
title: Wa,
|
|
1154
|
+
price: za,
|
|
1155
|
+
priceRow: Ma,
|
|
1156
|
+
originalPrice: $a,
|
|
1157
|
+
discountBadge: Va,
|
|
1158
|
+
landscapeCard: Ua,
|
|
1159
|
+
landscapeImageWrapper: Ya,
|
|
1160
|
+
landscapeImage: Ja,
|
|
1161
|
+
landscapeContent: Ka,
|
|
1162
|
+
landscapeTitle: qa,
|
|
1163
1163
|
landscapePriceRow: Xa,
|
|
1164
1164
|
landscapePrice: Ga,
|
|
1165
1165
|
landscapeOriginalPrice: Za,
|
|
@@ -1174,8 +1174,8 @@ const ot = st(void 0), ct = () => {
|
|
|
1174
1174
|
pujaBanner: or,
|
|
1175
1175
|
pujaWrapperVertical: cr,
|
|
1176
1176
|
pujaHeader: lr,
|
|
1177
|
-
pujaCardVertical:
|
|
1178
|
-
pujaImage:
|
|
1177
|
+
pujaCardVertical: dr,
|
|
1178
|
+
pujaImage: ur,
|
|
1179
1179
|
pujaContent: pr,
|
|
1180
1180
|
pujaTitle: fr,
|
|
1181
1181
|
pujaSub: mr,
|
|
@@ -1190,7 +1190,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1190
1190
|
pujaTitleHorizontal: Cr,
|
|
1191
1191
|
pujaSubHorizontal: yr,
|
|
1192
1192
|
pujaCTAHorizontal: Nr
|
|
1193
|
-
},
|
|
1193
|
+
}, qe = "hanuman-live-sindoor", Xe = "hanuman-live-peda", Ge = "hanuman-live-sindoor-peda", U = {
|
|
1194
1194
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
1195
1195
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
1196
1196
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
@@ -1199,17 +1199,17 @@ const ot = st(void 0), ct = () => {
|
|
|
1199
1199
|
afterTime: "2024-01-01T00:00:00Z",
|
|
1200
1200
|
items: [
|
|
1201
1201
|
{
|
|
1202
|
-
inventory_id:
|
|
1202
|
+
inventory_id: qe,
|
|
1203
1203
|
name: "Sindoor",
|
|
1204
1204
|
price: 51,
|
|
1205
|
-
razorpay_link:
|
|
1205
|
+
razorpay_link: U.sindoor,
|
|
1206
1206
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1207
1207
|
},
|
|
1208
1208
|
{
|
|
1209
1209
|
inventory_id: Xe,
|
|
1210
1210
|
name: "Peda",
|
|
1211
1211
|
price: 101,
|
|
1212
|
-
razorpay_link:
|
|
1212
|
+
razorpay_link: U.peda,
|
|
1213
1213
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1214
1214
|
},
|
|
1215
1215
|
{
|
|
@@ -1218,7 +1218,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1218
1218
|
price: 121,
|
|
1219
1219
|
original_price: "101 + 51",
|
|
1220
1220
|
discount: "20%",
|
|
1221
|
-
razorpay_link:
|
|
1221
|
+
razorpay_link: U.sindoorPeda,
|
|
1222
1222
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
1223
1223
|
}
|
|
1224
1224
|
]
|
|
@@ -1227,17 +1227,17 @@ const ot = st(void 0), ct = () => {
|
|
|
1227
1227
|
afterTime: "2024-08-01T00:00:00Z",
|
|
1228
1228
|
items: [
|
|
1229
1229
|
{
|
|
1230
|
-
inventory_id:
|
|
1230
|
+
inventory_id: qe,
|
|
1231
1231
|
name: "Sindoor",
|
|
1232
1232
|
price: 51,
|
|
1233
|
-
razorpay_link:
|
|
1233
|
+
razorpay_link: U.sindoor,
|
|
1234
1234
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
1235
1235
|
},
|
|
1236
1236
|
{
|
|
1237
1237
|
inventory_id: Xe,
|
|
1238
1238
|
name: "Peda",
|
|
1239
1239
|
price: 101,
|
|
1240
|
-
razorpay_link:
|
|
1240
|
+
razorpay_link: U.peda,
|
|
1241
1241
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1242
1242
|
},
|
|
1243
1243
|
{
|
|
@@ -1245,7 +1245,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1245
1245
|
name: "Sindoor + Peda",
|
|
1246
1246
|
price: 121,
|
|
1247
1247
|
discount: "20%",
|
|
1248
|
-
razorpay_link:
|
|
1248
|
+
razorpay_link: U.sindoorPeda,
|
|
1249
1249
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
1250
1250
|
}
|
|
1251
1251
|
]
|
|
@@ -1262,25 +1262,25 @@ const ot = st(void 0), ct = () => {
|
|
|
1262
1262
|
} catch {
|
|
1263
1263
|
return i.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
1264
1264
|
}
|
|
1265
|
-
},
|
|
1265
|
+
}, Hr = ({
|
|
1266
1266
|
videoId: s,
|
|
1267
1267
|
title: i = "Live Stream",
|
|
1268
1268
|
chatHost: v,
|
|
1269
|
-
isGlobal:
|
|
1269
|
+
isGlobal: d = !1,
|
|
1270
1270
|
onOfferingClick: h,
|
|
1271
1271
|
onPujaImpression: _,
|
|
1272
1272
|
onPujaClick: c
|
|
1273
1273
|
}) => {
|
|
1274
|
-
const j =
|
|
1274
|
+
const j = M(null), [l, N] = R(!1), [u, g] = R(!1), [C, S] = R(!0), [B, A] = R(!1), [k, L] = R(!1), [T, J] = R(""), K = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", y = Qe(T) || Qe(v) || "www.srimandir.com", W = `https://www.youtube-nocookie.com/embed/${s}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(K)}`, te = `https://www.youtube.com/live_chat?v=${s}&embed_domain=${encodeURIComponent(
|
|
1275
1275
|
y
|
|
1276
|
-
)}`,
|
|
1276
|
+
)}`, de = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1277
1277
|
F(() => {
|
|
1278
1278
|
const f = () => {
|
|
1279
1279
|
L(window.innerWidth > window.innerHeight);
|
|
1280
1280
|
};
|
|
1281
1281
|
return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
|
|
1282
1282
|
}, []), F(() => {
|
|
1283
|
-
typeof window < "u" &&
|
|
1283
|
+
typeof window < "u" && J(window.location.hostname);
|
|
1284
1284
|
}, []);
|
|
1285
1285
|
const ae = async () => {
|
|
1286
1286
|
const f = j.current;
|
|
@@ -1292,7 +1292,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
try {
|
|
1294
1294
|
const O = screen.orientation;
|
|
1295
|
-
!
|
|
1295
|
+
!de && O?.lock && await O.lock("landscape");
|
|
1296
1296
|
} catch (O) {
|
|
1297
1297
|
console.error("Orientation lock error:", O);
|
|
1298
1298
|
}
|
|
@@ -1320,11 +1320,11 @@ const ot = st(void 0), ct = () => {
|
|
|
1320
1320
|
}, []), F(() => {
|
|
1321
1321
|
l || g(!1);
|
|
1322
1322
|
}, [l]), F(() => {
|
|
1323
|
-
|
|
1324
|
-
}, [
|
|
1323
|
+
u && A(!0);
|
|
1324
|
+
}, [u]);
|
|
1325
1325
|
const ne = async (f) => {
|
|
1326
1326
|
l && document.fullscreenElement && await re(), h && await h(f);
|
|
1327
|
-
},
|
|
1327
|
+
}, q = () => {
|
|
1328
1328
|
const f = new URL(
|
|
1329
1329
|
"https://www.beta.srimandir.com/epuja/5100-hanuman-chalisa-51000-sankat-mochan-hanumanashtak-shani-tel-abhishek-mahapuja-2nd-april-2026"
|
|
1330
1330
|
);
|
|
@@ -1339,7 +1339,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1339
1339
|
/* @__PURE__ */ t.jsx(
|
|
1340
1340
|
"iframe",
|
|
1341
1341
|
{
|
|
1342
|
-
src:
|
|
1342
|
+
src: W,
|
|
1343
1343
|
title: i,
|
|
1344
1344
|
frameBorder: "0",
|
|
1345
1345
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -1357,7 +1357,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1357
1357
|
children: l ? "⤡" : "⤢"
|
|
1358
1358
|
}
|
|
1359
1359
|
),
|
|
1360
|
-
l && !
|
|
1360
|
+
l && !u && /* @__PURE__ */ t.jsxs(
|
|
1361
1361
|
"button",
|
|
1362
1362
|
{
|
|
1363
1363
|
className: r.chatToggleBtn,
|
|
@@ -1380,7 +1380,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1380
1380
|
]
|
|
1381
1381
|
}
|
|
1382
1382
|
),
|
|
1383
|
-
l &&
|
|
1383
|
+
l && u && /* @__PURE__ */ t.jsxs("div", { className: r.fullscreenChatPanel, children: [
|
|
1384
1384
|
/* @__PURE__ */ t.jsx(
|
|
1385
1385
|
"button",
|
|
1386
1386
|
{
|
|
@@ -1424,10 +1424,10 @@ const ot = st(void 0), ct = () => {
|
|
|
1424
1424
|
l && /* @__PURE__ */ t.jsx(
|
|
1425
1425
|
tt,
|
|
1426
1426
|
{
|
|
1427
|
-
isGlobal:
|
|
1427
|
+
isGlobal: d,
|
|
1428
1428
|
isLandscape: k,
|
|
1429
1429
|
onOfferingClick: ne,
|
|
1430
|
-
onPujaBannerClick:
|
|
1430
|
+
onPujaBannerClick: q,
|
|
1431
1431
|
onPujaImpression: _
|
|
1432
1432
|
}
|
|
1433
1433
|
),
|
|
@@ -1435,10 +1435,10 @@ const ot = st(void 0), ct = () => {
|
|
|
1435
1435
|
/* @__PURE__ */ t.jsx(
|
|
1436
1436
|
tt,
|
|
1437
1437
|
{
|
|
1438
|
-
isGlobal:
|
|
1438
|
+
isGlobal: d,
|
|
1439
1439
|
isLandscape: k,
|
|
1440
1440
|
onOfferingClick: ne,
|
|
1441
|
-
onPujaBannerClick:
|
|
1441
|
+
onPujaBannerClick: q,
|
|
1442
1442
|
onPujaImpression: _
|
|
1443
1443
|
}
|
|
1444
1444
|
),
|
|
@@ -1505,33 +1505,33 @@ function et({
|
|
|
1505
1505
|
}
|
|
1506
1506
|
);
|
|
1507
1507
|
}
|
|
1508
|
-
const lt = 300, Tr = 60, Pr = lt + Tr, Sr = 1620, ee = 0,
|
|
1508
|
+
const lt = 300, Tr = 60, Pr = lt + Tr, Sr = 1620, ee = 0, Y = 1;
|
|
1509
1509
|
function Er() {
|
|
1510
|
-
const [s, i] = R(0), v =
|
|
1510
|
+
const [s, i] = R(0), v = M(Date.now());
|
|
1511
1511
|
F(() => {
|
|
1512
1512
|
const c = setInterval(() => {
|
|
1513
1513
|
i(Math.floor((Date.now() - v.current) / 1e3));
|
|
1514
1514
|
}, 1e3);
|
|
1515
1515
|
return () => clearInterval(c);
|
|
1516
1516
|
}, []);
|
|
1517
|
-
const
|
|
1517
|
+
const d = s >= Sr;
|
|
1518
1518
|
let h = ee;
|
|
1519
|
-
return
|
|
1519
|
+
return d ? h = Y : h = s % Pr < lt ? ee : Y, { autoSlide: h, isLockedToPuja: d };
|
|
1520
1520
|
}
|
|
1521
1521
|
function tt({
|
|
1522
1522
|
isGlobal: s,
|
|
1523
1523
|
isLandscape: i,
|
|
1524
1524
|
onOfferingClick: v,
|
|
1525
|
-
onPujaBannerClick:
|
|
1525
|
+
onPujaBannerClick: d,
|
|
1526
1526
|
onPujaImpression: h
|
|
1527
1527
|
}) {
|
|
1528
|
-
const { autoSlide: _, isLockedToPuja: c } = Er(), [j, l] = R(null), N =
|
|
1528
|
+
const { autoSlide: _, isLockedToPuja: c } = Er(), [j, l] = R(null), N = M(null), u = M(0);
|
|
1529
1529
|
F(() => {
|
|
1530
1530
|
l(null);
|
|
1531
1531
|
}, [_]);
|
|
1532
|
-
const g = j !== null ? j : _, C =
|
|
1532
|
+
const g = j !== null ? j : _, C = M(!1);
|
|
1533
1533
|
F(() => {
|
|
1534
|
-
g ===
|
|
1534
|
+
g === Y ? C.current || (h?.({
|
|
1535
1535
|
orientation: i ? "horizontal" : "vertical"
|
|
1536
1536
|
}), C.current = !0) : C.current = !1;
|
|
1537
1537
|
}, [g, i, h]);
|
|
@@ -1545,17 +1545,17 @@ function tt({
|
|
|
1545
1545
|
N.current && clearTimeout(N.current);
|
|
1546
1546
|
}, []);
|
|
1547
1547
|
const B = (k) => {
|
|
1548
|
-
c || (
|
|
1548
|
+
c || (u.current = k.touches[0].clientX);
|
|
1549
1549
|
}, A = (k) => {
|
|
1550
1550
|
if (c) return;
|
|
1551
|
-
const L =
|
|
1552
|
-
Math.abs(L) < 50 || (L > 0 ? S(
|
|
1551
|
+
const L = u.current - k.changedTouches[0].clientX;
|
|
1552
|
+
Math.abs(L) < 50 || (L > 0 ? S(Y) : S(ee));
|
|
1553
1553
|
};
|
|
1554
1554
|
return s ? /* @__PURE__ */ t.jsx("div", { className: r.carousel, children: /* @__PURE__ */ t.jsx(
|
|
1555
1555
|
at,
|
|
1556
1556
|
{
|
|
1557
1557
|
isLandscape: i,
|
|
1558
|
-
onOfferingClick:
|
|
1558
|
+
onOfferingClick: d
|
|
1559
1559
|
}
|
|
1560
1560
|
) }) : /* @__PURE__ */ t.jsxs("div", { className: r.carousel, children: [
|
|
1561
1561
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -1577,7 +1577,7 @@ function tt({
|
|
|
1577
1577
|
at,
|
|
1578
1578
|
{
|
|
1579
1579
|
isLandscape: i,
|
|
1580
|
-
onOfferingClick:
|
|
1580
|
+
onOfferingClick: d
|
|
1581
1581
|
}
|
|
1582
1582
|
) })
|
|
1583
1583
|
]
|
|
@@ -1606,11 +1606,11 @@ function tt({
|
|
|
1606
1606
|
)
|
|
1607
1607
|
}
|
|
1608
1608
|
),
|
|
1609
|
-
g !==
|
|
1609
|
+
g !== Y && /* @__PURE__ */ t.jsx(
|
|
1610
1610
|
"button",
|
|
1611
1611
|
{
|
|
1612
1612
|
className: `${r.carouselArrow} ${r.carouselArrowRight}`,
|
|
1613
|
-
onClick: () => S(
|
|
1613
|
+
onClick: () => S(Y),
|
|
1614
1614
|
"aria-label": "Next slide",
|
|
1615
1615
|
children: /* @__PURE__ */ t.jsx(
|
|
1616
1616
|
"svg",
|
|
@@ -1635,7 +1635,7 @@ function kr({
|
|
|
1635
1635
|
isLandscape: s,
|
|
1636
1636
|
onOfferingClick: i
|
|
1637
1637
|
}) {
|
|
1638
|
-
const
|
|
1638
|
+
const d = (() => {
|
|
1639
1639
|
const _ = /* @__PURE__ */ new Date();
|
|
1640
1640
|
return Ze.slice().reverse().find((j) => new Date(j.afterTime) <= _) || Ze[0];
|
|
1641
1641
|
})(), h = async (_) => {
|
|
@@ -1658,7 +1658,7 @@ function kr({
|
|
|
1658
1658
|
]
|
|
1659
1659
|
}
|
|
1660
1660
|
),
|
|
1661
|
-
/* @__PURE__ */ t.jsx("div", { className: s ? r.landscapeScroll : r.scroll, children:
|
|
1661
|
+
/* @__PURE__ */ t.jsx("div", { className: s ? r.landscapeScroll : r.scroll, children: d.items.map(
|
|
1662
1662
|
(_, c) => s ? /* @__PURE__ */ t.jsx(
|
|
1663
1663
|
Ar,
|
|
1664
1664
|
{
|
|
@@ -1671,7 +1671,7 @@ function kr({
|
|
|
1671
1671
|
{
|
|
1672
1672
|
item: _,
|
|
1673
1673
|
index: c,
|
|
1674
|
-
totalItems:
|
|
1674
|
+
totalItems: d.items.length,
|
|
1675
1675
|
onClick: () => h(_)
|
|
1676
1676
|
},
|
|
1677
1677
|
_.inventory_id
|
|
@@ -1808,9 +1808,9 @@ function Ir({
|
|
|
1808
1808
|
item: s,
|
|
1809
1809
|
index: i,
|
|
1810
1810
|
totalItems: v,
|
|
1811
|
-
onClick:
|
|
1811
|
+
onClick: d
|
|
1812
1812
|
}) {
|
|
1813
|
-
return /* @__PURE__ */ t.jsxs("div", { className: r.card, onClick:
|
|
1813
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.card, onClick: d, children: [
|
|
1814
1814
|
/* @__PURE__ */ t.jsxs("div", { className: r.imageWrapper, children: [
|
|
1815
1815
|
/* @__PURE__ */ t.jsx("img", { src: s.image_url, alt: s.name, className: r.image }),
|
|
1816
1816
|
/* @__PURE__ */ t.jsx("div", { className: r.addBtn, "aria-hidden": "true", children: "+" })
|
|
@@ -1874,7 +1874,7 @@ export {
|
|
|
1874
1874
|
Or as I18nProvider,
|
|
1875
1875
|
Fr as LandingPage,
|
|
1876
1876
|
Br as SuccessPage,
|
|
1877
|
-
|
|
1877
|
+
Hr as VideoPage,
|
|
1878
1878
|
ct as useAppContext,
|
|
1879
1879
|
ve as useI18n
|
|
1880
1880
|
};
|