@srimandir/hanuman-chalisa 1.7.16 → 1.7.18
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 +464 -497
- 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,68 +1,68 @@
|
|
|
1
|
-
import rt, { useContext as nt, createContext as st, useState as R, useEffect as
|
|
1
|
+
import rt, { useContext as nt, createContext as st, useState as R, useEffect as D, useRef as $, useCallback as Ft } from "react";
|
|
2
2
|
var le = { exports: {} }, Z = {};
|
|
3
|
-
var
|
|
3
|
+
var Me;
|
|
4
4
|
function Bt() {
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var s = rt,
|
|
8
|
-
function
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
for (
|
|
12
|
-
if (
|
|
13
|
-
return { $$typeof:
|
|
5
|
+
if (Me) return Z;
|
|
6
|
+
Me = 1;
|
|
7
|
+
var s = rt, o = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.fragment"), u = 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
|
+
function l(g, c, S) {
|
|
9
|
+
var d, j = {}, y = null, k = null;
|
|
10
|
+
S !== void 0 && (y = "" + S), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (k = c.ref);
|
|
11
|
+
for (d in c) u.call(c, d) && !_.hasOwnProperty(d) && (j[d] = c[d]);
|
|
12
|
+
if (g && g.defaultProps) for (d in c = g.defaultProps, c) j[d] === void 0 && (j[d] = c[d]);
|
|
13
|
+
return { $$typeof: o, type: g, key: y, ref: k, props: j, _owner: h.current };
|
|
14
14
|
}
|
|
15
|
-
return Z.Fragment = v, Z.jsx =
|
|
15
|
+
return Z.Fragment = v, Z.jsx = l, Z.jsxs = l, Z;
|
|
16
16
|
}
|
|
17
17
|
var Q = {};
|
|
18
18
|
var Ve;
|
|
19
19
|
function Ht() {
|
|
20
20
|
return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
-
var s = rt,
|
|
22
|
-
function
|
|
21
|
+
var s = rt, o = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), l = /* @__PURE__ */ Symbol.for("react.provider"), g = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), k = /* @__PURE__ */ Symbol.for("react.offscreen"), F = Symbol.iterator, E = "@@iterator";
|
|
22
|
+
function A(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var a =
|
|
25
|
+
var a = F && e[F] || e[E];
|
|
26
26
|
return typeof a == "function" ? a : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var B = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function T(e) {
|
|
30
30
|
{
|
|
31
|
-
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0),
|
|
32
|
-
n[
|
|
31
|
+
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++)
|
|
32
|
+
n[i - 1] = arguments[i];
|
|
33
33
|
J("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
function J(e, a, n) {
|
|
37
37
|
{
|
|
38
|
-
var
|
|
38
|
+
var i = B.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
39
39
|
x !== "" && (a += "%s", n = n.concat([x]));
|
|
40
|
-
var b = n.map(function(
|
|
41
|
-
return String(
|
|
40
|
+
var b = n.map(function(f) {
|
|
41
|
+
return String(f);
|
|
42
42
|
});
|
|
43
43
|
b.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, b);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var K = !1,
|
|
46
|
+
var K = !1, N = !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 === u || e === _ || de || e === h || e === S || e === d || te || e === k || K || N || W || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === j || e.$$typeof === l || e.$$typeof === g || e.$$typeof === c || // 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 === ae || e.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
55
|
function ne(e, a, n) {
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
56
|
+
var i = e.displayName;
|
|
57
|
+
if (i)
|
|
58
|
+
return i;
|
|
59
59
|
var x = a.displayName || a.name || "";
|
|
60
60
|
return x !== "" ? n + "(" + x + ")" : n;
|
|
61
61
|
}
|
|
62
62
|
function q(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function m(e) {
|
|
66
66
|
if (e == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof e.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -70,7 +70,7 @@ function Ht() {
|
|
|
70
70
|
if (typeof e == "string")
|
|
71
71
|
return e;
|
|
72
72
|
switch (e) {
|
|
73
|
-
case
|
|
73
|
+
case u:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case v:
|
|
76
76
|
return "Portal";
|
|
@@ -78,28 +78,28 @@ function Ht() {
|
|
|
78
78
|
return "Profiler";
|
|
79
79
|
case h:
|
|
80
80
|
return "StrictMode";
|
|
81
|
-
case
|
|
81
|
+
case S:
|
|
82
82
|
return "Suspense";
|
|
83
|
-
case
|
|
83
|
+
case d:
|
|
84
84
|
return "SuspenseList";
|
|
85
85
|
}
|
|
86
86
|
if (typeof e == "object")
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
|
-
case
|
|
88
|
+
case g:
|
|
89
89
|
var a = e;
|
|
90
90
|
return q(a) + ".Consumer";
|
|
91
|
-
case
|
|
91
|
+
case l:
|
|
92
92
|
var n = e;
|
|
93
93
|
return q(n._context) + ".Provider";
|
|
94
|
-
case
|
|
94
|
+
case c:
|
|
95
95
|
return ne(e, e.render, "ForwardRef");
|
|
96
|
-
case
|
|
97
|
-
var
|
|
98
|
-
return
|
|
99
|
-
case
|
|
100
|
-
var x = e, b = x._payload,
|
|
96
|
+
case j:
|
|
97
|
+
var i = e.displayName || null;
|
|
98
|
+
return i !== null ? i : m(e.type) || "Memo";
|
|
99
|
+
case y: {
|
|
100
|
+
var x = e, b = x._payload, f = x._init;
|
|
101
101
|
try {
|
|
102
|
-
return f(
|
|
102
|
+
return m(f(b));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,14 +107,14 @@ function Ht() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
110
|
+
var L = Object.assign, X = 0, je, be, we, ye, Ne, Ce, Te;
|
|
111
111
|
function Pe() {
|
|
112
112
|
}
|
|
113
113
|
Pe.__reactDisabledLog = !0;
|
|
114
114
|
function dt() {
|
|
115
115
|
{
|
|
116
116
|
if (X === 0) {
|
|
117
|
-
je = console.log, be = console.info, we = console.warn,
|
|
117
|
+
je = console.log, be = console.info, we = console.warn, ye = console.error, Ne = console.group, Ce = console.groupCollapsed, Te = console.groupEnd;
|
|
118
118
|
var e = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
@@ -143,25 +143,25 @@ function Ht() {
|
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
146
|
+
log: L({}, e, {
|
|
147
147
|
value: je
|
|
148
148
|
}),
|
|
149
|
-
info:
|
|
149
|
+
info: L({}, e, {
|
|
150
150
|
value: be
|
|
151
151
|
}),
|
|
152
|
-
warn:
|
|
152
|
+
warn: L({}, e, {
|
|
153
153
|
value: we
|
|
154
154
|
}),
|
|
155
|
-
error:
|
|
156
|
-
value: Ce
|
|
157
|
-
}),
|
|
158
|
-
group: O({}, e, {
|
|
155
|
+
error: L({}, e, {
|
|
159
156
|
value: ye
|
|
160
157
|
}),
|
|
161
|
-
|
|
158
|
+
group: L({}, e, {
|
|
162
159
|
value: Ne
|
|
163
160
|
}),
|
|
164
|
-
|
|
161
|
+
groupCollapsed: L({}, e, {
|
|
162
|
+
value: Ce
|
|
163
|
+
}),
|
|
164
|
+
groupEnd: L({}, e, {
|
|
165
165
|
value: Te
|
|
166
166
|
})
|
|
167
167
|
});
|
|
@@ -169,161 +169,161 @@ function Ht() {
|
|
|
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 ue =
|
|
172
|
+
var ue = B.ReactCurrentDispatcher, pe;
|
|
173
173
|
function se(e, a, n) {
|
|
174
174
|
{
|
|
175
175
|
if (pe === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (x) {
|
|
179
|
-
var
|
|
180
|
-
pe =
|
|
179
|
+
var i = x.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
pe = i && i[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
183
|
` + pe + e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var me = !1, oe;
|
|
187
187
|
{
|
|
188
188
|
var pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
-
|
|
189
|
+
oe = new pt();
|
|
190
190
|
}
|
|
191
191
|
function Se(e, a) {
|
|
192
|
-
if (!e ||
|
|
192
|
+
if (!e || me)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var n =
|
|
195
|
+
var n = oe.get(e);
|
|
196
196
|
if (n !== void 0)
|
|
197
197
|
return n;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var i;
|
|
200
|
+
me = !0;
|
|
201
201
|
var x = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var b;
|
|
204
204
|
b = ue.current, ue.current = null, dt();
|
|
205
205
|
try {
|
|
206
206
|
if (a) {
|
|
207
|
-
var
|
|
207
|
+
var f = function() {
|
|
208
208
|
throw Error();
|
|
209
209
|
};
|
|
210
|
-
if (Object.defineProperty(
|
|
210
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
211
211
|
set: function() {
|
|
212
212
|
throw Error();
|
|
213
213
|
}
|
|
214
214
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
215
215
|
try {
|
|
216
|
-
Reflect.construct(
|
|
217
|
-
} catch (
|
|
218
|
-
|
|
216
|
+
Reflect.construct(f, []);
|
|
217
|
+
} catch (O) {
|
|
218
|
+
i = O;
|
|
219
219
|
}
|
|
220
|
-
Reflect.construct(e, [],
|
|
220
|
+
Reflect.construct(e, [], f);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
|
-
|
|
224
|
-
} catch (
|
|
225
|
-
|
|
223
|
+
f.call();
|
|
224
|
+
} catch (O) {
|
|
225
|
+
i = O;
|
|
226
226
|
}
|
|
227
|
-
e.call(
|
|
227
|
+
e.call(f.prototype);
|
|
228
228
|
}
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
|
-
} catch (
|
|
233
|
-
|
|
232
|
+
} catch (O) {
|
|
233
|
+
i = O;
|
|
234
234
|
}
|
|
235
235
|
e();
|
|
236
236
|
}
|
|
237
|
-
} catch (
|
|
238
|
-
if (
|
|
239
|
-
for (var p =
|
|
240
|
-
`), I =
|
|
241
|
-
`),
|
|
242
|
-
|
|
243
|
-
for (;
|
|
244
|
-
if (p[
|
|
245
|
-
if (
|
|
237
|
+
} catch (O) {
|
|
238
|
+
if (O && i && typeof O.stack == "string") {
|
|
239
|
+
for (var p = O.stack.split(`
|
|
240
|
+
`), I = i.stack.split(`
|
|
241
|
+
`), C = p.length - 1, P = I.length - 1; C >= 1 && P >= 0 && p[C] !== I[P]; )
|
|
242
|
+
P--;
|
|
243
|
+
for (; C >= 1 && P >= 0; C--, P--)
|
|
244
|
+
if (p[C] !== I[P]) {
|
|
245
|
+
if (C !== 1 || P !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (
|
|
247
|
+
if (C--, P--, P < 0 || p[C] !== I[P]) {
|
|
248
248
|
var H = `
|
|
249
|
-
` + p[
|
|
250
|
-
return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
249
|
+
` + p[C].replace(" at new ", " at ");
|
|
250
|
+
return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, H), H;
|
|
251
251
|
}
|
|
252
|
-
while (
|
|
252
|
+
while (C >= 1 && P >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
me = !1, ue.current = b, ut(), Error.prepareStackTrace = x;
|
|
258
258
|
}
|
|
259
259
|
var V = e ? e.displayName || e.name : "", z = V ? se(V) : "";
|
|
260
|
-
return typeof e == "function" &&
|
|
260
|
+
return typeof e == "function" && oe.set(e, z), z;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function mt(e, a, n) {
|
|
263
263
|
return Se(e, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function ft(e) {
|
|
266
266
|
var a = e.prototype;
|
|
267
267
|
return !!(a && a.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function ie(e, a, n) {
|
|
270
270
|
if (e == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof e == "function")
|
|
273
|
-
return Se(e,
|
|
273
|
+
return Se(e, ft(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
275
|
return se(e);
|
|
276
276
|
switch (e) {
|
|
277
|
-
case
|
|
277
|
+
case S:
|
|
278
278
|
return se("Suspense");
|
|
279
|
-
case
|
|
279
|
+
case d:
|
|
280
280
|
return se("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
|
-
case
|
|
285
|
-
return
|
|
286
|
-
case
|
|
287
|
-
return
|
|
288
|
-
case
|
|
289
|
-
var
|
|
284
|
+
case c:
|
|
285
|
+
return mt(e.render);
|
|
286
|
+
case j:
|
|
287
|
+
return ie(e.type, a, n);
|
|
288
|
+
case y: {
|
|
289
|
+
var i = e, x = i._payload, b = i._init;
|
|
290
290
|
try {
|
|
291
|
-
return
|
|
291
|
+
return ie(b(x), a, n);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var G = Object.prototype.hasOwnProperty, Ee = {}, ke =
|
|
298
|
+
var G = Object.prototype.hasOwnProperty, Ee = {}, ke = B.ReactDebugCurrentFrame;
|
|
299
299
|
function ce(e) {
|
|
300
300
|
if (e) {
|
|
301
|
-
var a = e._owner, n =
|
|
301
|
+
var a = e._owner, n = ie(e.type, e._source, a ? a.type : null);
|
|
302
302
|
ke.setExtraStackFrame(n);
|
|
303
303
|
} else
|
|
304
304
|
ke.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function ht(e, a, n,
|
|
306
|
+
function ht(e, a, n, i, x) {
|
|
307
307
|
{
|
|
308
308
|
var b = Function.call.bind(G);
|
|
309
|
-
for (var
|
|
310
|
-
if (b(e,
|
|
309
|
+
for (var f in e)
|
|
310
|
+
if (b(e, f)) {
|
|
311
311
|
var p = void 0;
|
|
312
312
|
try {
|
|
313
|
-
if (typeof e[
|
|
314
|
-
var I = Error((
|
|
313
|
+
if (typeof e[f] != "function") {
|
|
314
|
+
var I = Error((i || "React class") + ": " + n + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
315
|
throw I.name = "Invariant Violation", I;
|
|
316
316
|
}
|
|
317
|
-
p = e[
|
|
318
|
-
} catch (
|
|
319
|
-
p =
|
|
317
|
+
p = e[f](a, f, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
|
+
} catch (C) {
|
|
319
|
+
p = C;
|
|
320
320
|
}
|
|
321
|
-
p && !(p instanceof Error) && (ce(x), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
321
|
+
p && !(p instanceof Error) && (ce(x), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, f, typeof p), ce(null)), p instanceof Error && !(p.message in Ee) && (Ee[p.message] = !0, ce(x), T("Failed %s type: %s", n, p.message), ce(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var xt = Array.isArray;
|
|
326
|
-
function
|
|
326
|
+
function fe(e) {
|
|
327
327
|
return xt(e);
|
|
328
328
|
}
|
|
329
329
|
function _t(e) {
|
|
@@ -346,7 +346,7 @@ function Ht() {
|
|
|
346
346
|
if (gt(e))
|
|
347
347
|
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Re(e);
|
|
348
348
|
}
|
|
349
|
-
var Ae =
|
|
349
|
+
var Ae = B.ReactCurrentOwner, vt = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
@@ -371,7 +371,7 @@ function Ht() {
|
|
|
371
371
|
function wt(e, a) {
|
|
372
372
|
typeof e.ref == "string" && Ae.current;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function yt(e, a) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
377
|
Le || (Le = !0, T("%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)", a));
|
|
@@ -382,7 +382,7 @@ function Ht() {
|
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Nt(e, a) {
|
|
386
386
|
{
|
|
387
387
|
var n = function() {
|
|
388
388
|
Oe || (Oe = !0, T("%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)", a));
|
|
@@ -393,15 +393,15 @@ function Ht() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var Ct = function(e, a, n, i, x, b, f) {
|
|
397
397
|
var p = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
|
-
$$typeof:
|
|
399
|
+
$$typeof: o,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: e,
|
|
402
402
|
key: a,
|
|
403
403
|
ref: n,
|
|
404
|
-
props:
|
|
404
|
+
props: f,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
406
|
_owner: b
|
|
407
407
|
};
|
|
@@ -414,7 +414,7 @@ function Ht() {
|
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
|
-
value:
|
|
417
|
+
value: i
|
|
418
418
|
}), Object.defineProperty(p, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
@@ -422,28 +422,28 @@ function Ht() {
|
|
|
422
422
|
value: x
|
|
423
423
|
}), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
|
|
424
424
|
};
|
|
425
|
-
function Tt(e, a, n,
|
|
425
|
+
function Tt(e, a, n, i, x) {
|
|
426
426
|
{
|
|
427
|
-
var b,
|
|
427
|
+
var b, f = {}, p = null, I = null;
|
|
428
428
|
n !== void 0 && (Ie(n), p = "" + n), bt(a) && (Ie(a.key), p = "" + a.key), jt(a) && (I = a.ref, wt(a, x));
|
|
429
429
|
for (b in a)
|
|
430
|
-
G.call(a, b) && !vt.hasOwnProperty(b) && (
|
|
430
|
+
G.call(a, b) && !vt.hasOwnProperty(b) && (f[b] = a[b]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
432
|
-
var
|
|
433
|
-
for (b in
|
|
434
|
-
|
|
432
|
+
var C = e.defaultProps;
|
|
433
|
+
for (b in C)
|
|
434
|
+
f[b] === void 0 && (f[b] = C[b]);
|
|
435
435
|
}
|
|
436
436
|
if (p || I) {
|
|
437
|
-
var
|
|
438
|
-
p &&
|
|
437
|
+
var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
+
p && yt(f, P), I && Nt(f, P);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return Ct(e, p, I, x, i, Ae.current, f);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var he =
|
|
444
|
-
function
|
|
443
|
+
var he = B.ReactCurrentOwner, De = B.ReactDebugCurrentFrame;
|
|
444
|
+
function M(e) {
|
|
445
445
|
if (e) {
|
|
446
|
-
var a = e._owner, n =
|
|
446
|
+
var a = e._owner, n = ie(e.type, e._source, a ? a.type : null);
|
|
447
447
|
De.setExtraStackFrame(n);
|
|
448
448
|
} else
|
|
449
449
|
De.setExtraStackFrame(null);
|
|
@@ -451,12 +451,12 @@ function Ht() {
|
|
|
451
451
|
var xe;
|
|
452
452
|
xe = !1;
|
|
453
453
|
function _e(e) {
|
|
454
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
454
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
455
455
|
}
|
|
456
456
|
function Fe() {
|
|
457
457
|
{
|
|
458
458
|
if (he.current) {
|
|
459
|
-
var e =
|
|
459
|
+
var e = m(he.current.type);
|
|
460
460
|
if (e)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -490,26 +490,26 @@ Check the top-level render call using <` + n + ">.");
|
|
|
490
490
|
if (Be[n])
|
|
491
491
|
return;
|
|
492
492
|
Be[n] = !0;
|
|
493
|
-
var
|
|
494
|
-
e && e._owner && e._owner !== he.current && (
|
|
493
|
+
var i = "";
|
|
494
|
+
e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + m(e._owner.type) + "."), M(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, i), M(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function We(e, a) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (fe(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
|
-
var
|
|
504
|
-
_e(
|
|
503
|
+
var i = e[n];
|
|
504
|
+
_e(i) && He(i, a);
|
|
505
505
|
}
|
|
506
506
|
else if (_e(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
|
-
var x =
|
|
509
|
+
var x = A(e);
|
|
510
510
|
if (typeof x == "function" && x !== e.entries)
|
|
511
|
-
for (var b = x.call(e),
|
|
512
|
-
_e(
|
|
511
|
+
for (var b = x.call(e), f; !(f = b.next()).done; )
|
|
512
|
+
_e(f.value) && He(f.value, a);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -521,18 +521,18 @@ Check the top-level render call using <` + n + ">.");
|
|
|
521
521
|
var n;
|
|
522
522
|
if (typeof a == "function")
|
|
523
523
|
n = a.propTypes;
|
|
524
|
-
else if (typeof a == "object" && (a.$$typeof ===
|
|
524
|
+
else if (typeof a == "object" && (a.$$typeof === c || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
|
-
a.$$typeof ===
|
|
526
|
+
a.$$typeof === j))
|
|
527
527
|
n = a.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (n) {
|
|
531
|
-
var
|
|
532
|
-
ht(n, e.props, "prop",
|
|
531
|
+
var i = m(a);
|
|
532
|
+
ht(n, e.props, "prop", i, e);
|
|
533
533
|
} else if (a.PropTypes !== void 0 && !xe) {
|
|
534
534
|
xe = !0;
|
|
535
|
-
var x =
|
|
535
|
+
var x = m(a);
|
|
536
536
|
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
537
537
|
}
|
|
538
538
|
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -541,35 +541,35 @@ Check the top-level render call using <` + n + ">.");
|
|
|
541
541
|
function kt(e) {
|
|
542
542
|
{
|
|
543
543
|
for (var a = Object.keys(e.props), n = 0; n < a.length; n++) {
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
546
|
-
|
|
544
|
+
var i = a[n];
|
|
545
|
+
if (i !== "children" && i !== "key") {
|
|
546
|
+
M(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), M(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
e.ref !== null && (
|
|
550
|
+
e.ref !== null && (M(e), T("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var ze = {};
|
|
554
|
-
function
|
|
554
|
+
function $e(e, a, n, i, x, b) {
|
|
555
555
|
{
|
|
556
|
-
var
|
|
557
|
-
if (!
|
|
556
|
+
var f = re(e);
|
|
557
|
+
if (!f) {
|
|
558
558
|
var p = "";
|
|
559
559
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (p += " 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
560
|
var I = Pt();
|
|
561
561
|
I ? p += I : p += Fe();
|
|
562
|
-
var
|
|
563
|
-
e === null ?
|
|
562
|
+
var C;
|
|
563
|
+
e === null ? C = "null" : fe(e) ? C = "array" : e !== void 0 && e.$$typeof === o ? (C = "<" + (m(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : C = typeof e, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, p);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
568
|
-
if (
|
|
565
|
+
var P = Tt(e, a, n, x, b);
|
|
566
|
+
if (P == null)
|
|
567
|
+
return P;
|
|
568
|
+
if (f) {
|
|
569
569
|
var H = a.children;
|
|
570
570
|
if (H !== void 0)
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
571
|
+
if (i)
|
|
572
|
+
if (fe(H)) {
|
|
573
573
|
for (var V = 0; V < H.length; V++)
|
|
574
574
|
We(H[V], e);
|
|
575
575
|
Object.freeze && Object.freeze(H);
|
|
@@ -579,11 +579,11 @@ Check the top-level render call using <` + n + ">.");
|
|
|
579
579
|
We(H, e);
|
|
580
580
|
}
|
|
581
581
|
if (G.call(a, "key")) {
|
|
582
|
-
var z =
|
|
582
|
+
var z = m(e), O = Object.keys(a).filter(function(Dt) {
|
|
583
583
|
return Dt !== "key";
|
|
584
|
-
}), ge =
|
|
584
|
+
}), ge = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
585
|
if (!ze[z + ge]) {
|
|
586
|
-
var Ot =
|
|
586
|
+
var Ot = O.length > 0 ? "{" + O.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} />
|
|
@@ -592,17 +592,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
592
592
|
<%s key={someKey} {...props} />`, ge, z, Ot, z), ze[z + ge] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return e ===
|
|
595
|
+
return e === u ? kt(P) : Et(P), P;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function Rt(e, a, n) {
|
|
599
|
-
return
|
|
599
|
+
return $e(e, a, n, !0);
|
|
600
600
|
}
|
|
601
601
|
function It(e, a, n) {
|
|
602
|
-
return
|
|
602
|
+
return $e(e, a, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var At = It, Lt = Rt;
|
|
605
|
-
Q.Fragment =
|
|
605
|
+
Q.Fragment = u, Q.jsx = At, Q.jsxs = Lt;
|
|
606
606
|
})()), Q;
|
|
607
607
|
}
|
|
608
608
|
var Ue;
|
|
@@ -658,7 +658,7 @@ const zt = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, $t = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,35 +706,35 @@ const zt = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
709
|
+
}, Mt = {
|
|
710
710
|
en: zt,
|
|
711
|
-
hi:
|
|
712
|
-
},
|
|
711
|
+
hi: $t
|
|
712
|
+
}, ot = st(null), Lr = ({
|
|
713
713
|
locale: s,
|
|
714
|
-
children:
|
|
714
|
+
children: o
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ t.jsx(
|
|
716
|
+
const u = { locale: s, t: (h) => Mt[s]?.[h] ?? h };
|
|
717
|
+
return /* @__PURE__ */ t.jsx(ot.Provider, { value: u, children: o });
|
|
718
718
|
};
|
|
719
719
|
function ve() {
|
|
720
|
-
return nt(
|
|
720
|
+
return nt(ot);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const s = nt(
|
|
722
|
+
const it = st(void 0), ct = () => {
|
|
723
|
+
const s = nt(it);
|
|
724
724
|
if (!s)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return s;
|
|
727
727
|
}, Or = ({
|
|
728
728
|
children: s
|
|
729
729
|
}) => {
|
|
730
|
-
const [
|
|
730
|
+
const [o, v] = R(null), [u, h] = R(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
|
-
|
|
732
|
+
it.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
|
-
userData:
|
|
735
|
+
userData: o,
|
|
736
736
|
setUserData: v,
|
|
737
|
-
showSuccess:
|
|
737
|
+
showSuccess: u,
|
|
738
738
|
setShowSuccess: h
|
|
739
739
|
},
|
|
740
740
|
children: s
|
|
@@ -744,41 +744,41 @@ const ot = st(void 0), ct = () => {
|
|
|
744
744
|
landingPage: Vt,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
746
|
}, Ut = ({ targetDate: s }) => {
|
|
747
|
-
const v = ve()?.t || ((
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
751
|
-
return { days:
|
|
747
|
+
const v = ve()?.t || ((g) => g), u = () => {
|
|
748
|
+
const c = (typeof s == "string" ? new Date(s) : s).getTime() - Date.now();
|
|
749
|
+
if (c > 0) {
|
|
750
|
+
const S = Math.floor(c / 864e5), d = Math.floor(c % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), j = Math.floor(c % (1e3 * 60 * 60) / (1e3 * 60)), y = Math.floor(c % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: S, hours: d, minutes: j, seconds: y };
|
|
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
|
-
|
|
756
|
-
_(
|
|
757
|
-
const
|
|
758
|
-
_(
|
|
755
|
+
D(() => {
|
|
756
|
+
_(u());
|
|
757
|
+
const g = setInterval(() => {
|
|
758
|
+
_(u());
|
|
759
759
|
}, 1e3);
|
|
760
|
-
return () => clearInterval(
|
|
760
|
+
return () => clearInterval(g);
|
|
761
761
|
}, [s]);
|
|
762
|
-
const
|
|
762
|
+
const l = (g) => g.toString().padStart(2, "0");
|
|
763
763
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
|
|
764
764
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
765
765
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
766
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children:
|
|
766
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(h.days) }),
|
|
767
767
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("days") })
|
|
768
768
|
] }),
|
|
769
769
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
770
770
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
771
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children:
|
|
771
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(h.hours) }),
|
|
772
772
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("hours") })
|
|
773
773
|
] }),
|
|
774
774
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
775
775
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
776
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children:
|
|
776
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(h.minutes) }),
|
|
777
777
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("minutes") })
|
|
778
778
|
] }),
|
|
779
779
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
780
780
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
781
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children:
|
|
781
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(h.seconds) }),
|
|
782
782
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
@@ -872,34 +872,34 @@ const ot = st(void 0), ct = () => {
|
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
873
|
], Dr = ({
|
|
874
874
|
targetDate: s,
|
|
875
|
-
onSubmit:
|
|
875
|
+
onSubmit: o,
|
|
876
876
|
isGlobal: v = !1,
|
|
877
|
-
analytics:
|
|
877
|
+
analytics: u,
|
|
878
878
|
showToast: h
|
|
879
879
|
}) => {
|
|
880
|
-
const
|
|
881
|
-
(
|
|
880
|
+
const l = ve()?.t || ((N) => N), [g, c] = R(v ? "+1" : "+91"), [S, d] = R(!1), { setUserData: j, setShowSuccess: y } = ct(), [k, F] = R(""), [E, A] = R(""), B = $(!1), T = `${g}-${E}`, J = Je.find(
|
|
881
|
+
(N) => N.code === g
|
|
882
882
|
);
|
|
883
|
-
|
|
884
|
-
!
|
|
885
|
-
}, [
|
|
886
|
-
const K = (
|
|
887
|
-
if (
|
|
883
|
+
D(() => {
|
|
884
|
+
!B.current && u?.trackLandingPageViewed && (u.trackLandingPageViewed(), B.current = !0);
|
|
885
|
+
}, [u]);
|
|
886
|
+
const K = (N) => {
|
|
887
|
+
if (N.preventDefault(), !k || k.trim() === "") {
|
|
888
888
|
h?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
890
890
|
}
|
|
891
|
-
if (!
|
|
891
|
+
if (!E || E.length !== 10) {
|
|
892
892
|
h?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
|
|
895
|
+
u?.trackSubmitClicked?.(), j({ name: k, fullPhoneNumber: T }), h?.("success", "Registration Successful"), y(!0), o?.({ name: k, fullPhoneNumber: T });
|
|
896
896
|
};
|
|
897
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
|
{
|
|
901
901
|
src: "https://srm-cdn.a4b.io/yoda/1774445719594.webp",
|
|
902
|
-
alt:
|
|
902
|
+
alt: l("eventTitle"),
|
|
903
903
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
904
904
|
}
|
|
905
905
|
) }),
|
|
@@ -910,77 +910,77 @@ const ot = st(void 0), ct = () => {
|
|
|
910
910
|
"img",
|
|
911
911
|
{
|
|
912
912
|
src: "https://srm-cdn.a4b.io/yoda/1774092358685.png",
|
|
913
|
-
alt:
|
|
913
|
+
alt: l("panditName"),
|
|
914
914
|
className: "w-[88px] h-[88px] rounded-full object-cover"
|
|
915
915
|
}
|
|
916
916
|
) }),
|
|
917
917
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
918
|
-
/* @__PURE__ */ t.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children:
|
|
919
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children:
|
|
918
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children: l("panditName") }),
|
|
919
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: l("panditCredentials") })
|
|
920
920
|
] })
|
|
921
921
|
] }),
|
|
922
922
|
/* @__PURE__ */ t.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-2" })
|
|
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
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children:
|
|
925
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: l("formTitle") }),
|
|
926
926
|
/* @__PURE__ */ t.jsxs("form", { onSubmit: K, className: "space-y-4", children: [
|
|
927
927
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
928
|
-
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
928
|
+
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: l("nameLabel") }),
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
930
930
|
"input",
|
|
931
931
|
{
|
|
932
932
|
type: "text",
|
|
933
|
-
value:
|
|
934
|
-
onChange: (
|
|
935
|
-
|
|
933
|
+
value: k,
|
|
934
|
+
onChange: (N) => {
|
|
935
|
+
F(N.target.value), N.target.value && !k && u?.trackNameFilled?.();
|
|
936
936
|
},
|
|
937
|
-
onFocus: () =>
|
|
938
|
-
placeholder:
|
|
937
|
+
onFocus: () => u?.trackNameClicked?.(),
|
|
938
|
+
placeholder: l("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
|
|
941
941
|
}
|
|
942
942
|
)
|
|
943
943
|
] }),
|
|
944
944
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
945
|
-
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
945
|
+
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: l("whatsappLabel") }),
|
|
946
946
|
/* @__PURE__ */ t.jsxs("div", { className: "flex gap-2", children: [
|
|
947
947
|
/* @__PURE__ */ t.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ t.jsxs("div", { className: "relative w-20", children: [
|
|
948
948
|
/* @__PURE__ */ t.jsx(
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
|
-
onClick: () =>
|
|
951
|
+
onClick: () => d(!S),
|
|
952
952
|
className: `${Ye["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
953
|
children: J?.code
|
|
954
954
|
}
|
|
955
955
|
),
|
|
956
|
-
|
|
956
|
+
S && /* @__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((N) => /* @__PURE__ */ t.jsxs(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
959
959
|
onClick: () => {
|
|
960
|
-
|
|
960
|
+
c(N.code), d(!1);
|
|
961
961
|
},
|
|
962
962
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
963
963
|
children: [
|
|
964
|
-
|
|
964
|
+
N.country,
|
|
965
965
|
" (",
|
|
966
|
-
|
|
966
|
+
N.code,
|
|
967
967
|
")"
|
|
968
968
|
]
|
|
969
969
|
},
|
|
970
|
-
|
|
970
|
+
N.code
|
|
971
971
|
)) })
|
|
972
972
|
] }) }),
|
|
973
973
|
/* @__PURE__ */ t.jsx(
|
|
974
974
|
"input",
|
|
975
975
|
{
|
|
976
976
|
type: "tel",
|
|
977
|
-
value:
|
|
978
|
-
onChange: (
|
|
979
|
-
const W =
|
|
980
|
-
|
|
977
|
+
value: E,
|
|
978
|
+
onChange: (N) => {
|
|
979
|
+
const W = N.target.value.replace(/\D/g, "");
|
|
980
|
+
A(W), W && !E && u?.trackPhoneFilled?.();
|
|
981
981
|
},
|
|
982
|
-
onFocus: () =>
|
|
983
|
-
placeholder:
|
|
982
|
+
onFocus: () => u?.trackPhoneClicked?.(),
|
|
983
|
+
placeholder: l("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,
|
|
986
986
|
required: !0
|
|
@@ -993,25 +993,25 @@ const ot = st(void 0), ct = () => {
|
|
|
993
993
|
{
|
|
994
994
|
type: "submit",
|
|
995
995
|
className: "w-full bg-[#E34331] text-white text-[16px] font-semibold py-4 rounded-lg hover:bg-[#C83728] transition-colors shadow-lg",
|
|
996
|
-
children:
|
|
996
|
+
children: l("ctaButton")
|
|
997
997
|
}
|
|
998
998
|
)
|
|
999
999
|
] }),
|
|
1000
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children:
|
|
1000
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: l("formDisclaimer") }),
|
|
1001
1001
|
/* @__PURE__ */ t.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-6 px-8" })
|
|
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
|
-
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children:
|
|
1005
|
-
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: Yt.map((
|
|
1006
|
-
/* @__PURE__ */ t.jsx("img", { src:
|
|
1004
|
+
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: l("expectTitle") }),
|
|
1005
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: Yt.map((N, W) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1006
|
+
/* @__PURE__ */ t.jsx("img", { src: N.icon, alt: "", className: "w-10 h-10" }),
|
|
1007
1007
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
|
|
1008
|
-
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children:
|
|
1009
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children:
|
|
1008
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: l(N.titleKey) }),
|
|
1009
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: l(N.descKey) })
|
|
1010
1010
|
] })
|
|
1011
1011
|
] }, W)) })
|
|
1012
1012
|
] }) })
|
|
1013
1013
|
] }) });
|
|
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",
|
|
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", oa = "_countdown_8t8j5_84", ia = "_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
1015
|
successPage: Jt,
|
|
1016
1016
|
profileImageContainer: Kt,
|
|
1017
1017
|
profileImage: qt,
|
|
@@ -1025,37 +1025,37 @@ const ot = st(void 0), ct = () => {
|
|
|
1025
1025
|
whatsappButton: ra,
|
|
1026
1026
|
redirectInfo: na,
|
|
1027
1027
|
redirectText: sa,
|
|
1028
|
-
countdown:
|
|
1029
|
-
nextSteps:
|
|
1028
|
+
countdown: oa,
|
|
1029
|
+
nextSteps: ia,
|
|
1030
1030
|
nextStepsTitle: ca,
|
|
1031
1031
|
stepsList: la,
|
|
1032
1032
|
step: da,
|
|
1033
1033
|
stepNumber: ua,
|
|
1034
1034
|
stepText: pa
|
|
1035
|
-
},
|
|
1035
|
+
}, ma = "918151810300", fa = "I'm interested in the Rasrajji Hanuman Jayanti Path", Ke = `https://wa.me/${ma}?text=${encodeURIComponent(fa)}`, Fr = ({
|
|
1036
1036
|
userName: s = "Rahul",
|
|
1037
|
-
eventName:
|
|
1037
|
+
eventName: o = "Hanuman Jayanti Maha Path",
|
|
1038
1038
|
eventDate: v = "2nd April",
|
|
1039
|
-
eventTime:
|
|
1039
|
+
eventTime: u = "9:00 AM onwards",
|
|
1040
1040
|
onWhatsAppClick: h,
|
|
1041
1041
|
redirectSeconds: _ = 10,
|
|
1042
|
-
analytics:
|
|
1043
|
-
showToast:
|
|
1044
|
-
disableRedirect:
|
|
1042
|
+
analytics: l,
|
|
1043
|
+
showToast: g,
|
|
1044
|
+
disableRedirect: c = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const
|
|
1047
|
-
return
|
|
1048
|
-
!
|
|
1049
|
-
name:
|
|
1050
|
-
phone:
|
|
1051
|
-
}),
|
|
1052
|
-
}, [
|
|
1053
|
-
if (!
|
|
1054
|
-
if (
|
|
1055
|
-
const
|
|
1056
|
-
return () => clearTimeout(
|
|
1057
|
-
} else
|
|
1058
|
-
}, [
|
|
1046
|
+
const d = ve()?.t || ((A) => A), { userData: j } = ct(), [y, k] = R(_), F = $(!1), E = j?.name || s;
|
|
1047
|
+
return D(() => {
|
|
1048
|
+
!F.current && l?.trackSuccessPageViewed && (l.trackSuccessPageViewed({
|
|
1049
|
+
name: j?.name,
|
|
1050
|
+
phone: j?.fullPhoneNumber
|
|
1051
|
+
}), F.current = !0);
|
|
1052
|
+
}, [l, j?.name, j?.fullPhoneNumber]), D(() => {
|
|
1053
|
+
if (!c)
|
|
1054
|
+
if (y > 0) {
|
|
1055
|
+
const A = setTimeout(() => k(y - 1), 1e3);
|
|
1056
|
+
return () => clearTimeout(A);
|
|
1057
|
+
} else y === 0 && (window.location.href = Ke);
|
|
1058
|
+
}, [y, c]), /* @__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",
|
|
1061
1061
|
{
|
|
@@ -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: d("jaiShreeRam") }),
|
|
1072
1072
|
/* @__PURE__ */ t.jsxs("h1", { className: w.userName, children: [
|
|
1073
|
-
|
|
1073
|
+
d("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
|
-
|
|
1075
|
+
E,
|
|
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:
|
|
1081
|
-
/* @__PURE__ */ t.jsx("h2", { className: w.eventName, children:
|
|
1080
|
+
/* @__PURE__ */ t.jsx("p", { className: w.registeredText, children: d("registeredFor") }),
|
|
1081
|
+
/* @__PURE__ */ t.jsx("h2", { className: w.eventName, children: o }),
|
|
1082
1082
|
/* @__PURE__ */ t.jsxs("p", { className: w.eventDetails, children: [
|
|
1083
1083
|
v,
|
|
1084
1084
|
" · ",
|
|
1085
|
-
|
|
1085
|
+
u
|
|
1086
1086
|
] })
|
|
1087
1087
|
] }),
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1090,41 +1090,41 @@ const ot = st(void 0), ct = () => {
|
|
|
1090
1090
|
{
|
|
1091
1091
|
className: w.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
|
-
|
|
1093
|
+
l?.trackWhatsappBtnClicked?.(), g?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
1094
|
window.location.href = Ke;
|
|
1095
1095
|
}, 500), h?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
|
-
children:
|
|
1098
|
+
children: d("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: d("redirectingIn") }),
|
|
1103
1103
|
/* @__PURE__ */ t.jsxs("p", { className: w.countdown, children: [
|
|
1104
|
-
|
|
1104
|
+
y.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
|
-
|
|
1106
|
+
d("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: d("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: d("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: d("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: d("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
}, ha = "
|
|
1127
|
+
}, ha = "_container_1m54o_2", xa = "_video_1m54o_24", _a = "_videoFullscreenWithBelowBanner_1m54o_36", ga = "_banner_1m54o_43", va = "_bannerCard_1m54o_60", ja = "_bannerTitle_1m54o_69", ba = "_landscapeHeader_1m54o_80", wa = "_scroll_1m54o_91", ya = "_landscapeScroll_1m54o_99", Na = "_card_1m54o_106", Ca = "_divider_1m54o_122", Ta = "_chat_1m54o_131", Pa = "_iframe_1m54o_137", Sa = "_fullscreenBtn_1m54o_144", Ea = "_chatToggleBtn_1m54o_182", ka = "_chatToggleBtnText_1m54o_235", Ra = "_fullscreenChatPanel_1m54o_242", Ia = "_fullscreenChatCloseBtn_1m54o_255", Aa = "_chatLoader_1m54o_284", La = "_chatLoaderCompact_1m54o_297", Oa = "_spinner_1m54o_301", Da = "_chatLoaderText_1m54o_315", Fa = "_imageWrapper_1m54o_330", Ba = "_image_1m54o_330", Ha = "_addBtn_1m54o_342", Wa = "_title_1m54o_360", za = "_price_1m54o_367", $a = "_priceRow_1m54o_373", Ma = "_originalPrice_1m54o_381", Va = "_discountBadge_1m54o_387", Ua = "_landscapeCard_1m54o_397", Ya = "_landscapeImageWrapper_1m54o_417", Ja = "_landscapeImage_1m54o_417", Ka = "_landscapeContent_1m54o_430", qa = "_landscapeTitle_1m54o_437", Xa = "_landscapePriceRow_1m54o_446", Ga = "_landscapePrice_1m54o_446", Za = "_landscapeOriginalPrice_1m54o_459", Qa = "_landscapeDiscount_1m54o_465", er = "_landscapeAdd_1m54o_475", tr = "_carousel_1m54o_546", ar = "_carouselTrack_1m54o_576", rr = "_carouselSlide_1m54o_582", nr = "_carouselArrow_1m54o_590", sr = "_carouselArrowLeft_1m54o_615", or = "_carouselArrowRight_1m54o_619", ir = "_pujaBanner_1m54o_649", cr = "_pujaWrapperVertical_1m54o_659", lr = "_pujaCardVertical_1m54o_676", dr = "_pujaImage_1m54o_707", ur = "_pujaContent_1m54o_715", pr = "_pujaTitle_1m54o_721", mr = "_pujaSub_1m54o_733", fr = "_locationIcon_1m54o_745", hr = "_pujaTrustmakers_1m54o_751", xr = "_pujaCTA_1m54o_760", _r = "_pujaCardHorizontal_1m54o_776", gr = "_pujaImageHorizontal_1m54o_793", vr = "_pujaContentHorizontal_1m54o_801", jr = "_pujaPinkText_1m54o_809", br = "_pujaPinkTextHorizontal_1m54o_820", wr = "_pujaTitleHorizontal_1m54o_831", yr = "_pujaSubHorizontal_1m54o_839", Nr = "_pujaCTAHorizontal_1m54o_849", r = {
|
|
1128
1128
|
container: ha,
|
|
1129
1129
|
video: xa,
|
|
1130
1130
|
videoFullscreenWithBelowBanner: _a,
|
|
@@ -1133,9 +1133,9 @@ const ot = st(void 0), ct = () => {
|
|
|
1133
1133
|
bannerTitle: ja,
|
|
1134
1134
|
landscapeHeader: ba,
|
|
1135
1135
|
scroll: wa,
|
|
1136
|
-
landscapeScroll:
|
|
1137
|
-
card:
|
|
1138
|
-
divider:
|
|
1136
|
+
landscapeScroll: ya,
|
|
1137
|
+
card: Na,
|
|
1138
|
+
divider: Ca,
|
|
1139
1139
|
chat: Ta,
|
|
1140
1140
|
iframe: Pa,
|
|
1141
1141
|
fullscreenBtn: Sa,
|
|
@@ -1145,15 +1145,15 @@ const ot = st(void 0), ct = () => {
|
|
|
1145
1145
|
fullscreenChatCloseBtn: Ia,
|
|
1146
1146
|
chatLoader: Aa,
|
|
1147
1147
|
chatLoaderCompact: La,
|
|
1148
|
-
|
|
1148
|
+
spinner: Oa,
|
|
1149
1149
|
chatLoaderText: Da,
|
|
1150
1150
|
imageWrapper: Fa,
|
|
1151
1151
|
image: Ba,
|
|
1152
1152
|
addBtn: Ha,
|
|
1153
1153
|
title: Wa,
|
|
1154
1154
|
price: za,
|
|
1155
|
-
priceRow:
|
|
1156
|
-
originalPrice:
|
|
1155
|
+
priceRow: $a,
|
|
1156
|
+
originalPrice: Ma,
|
|
1157
1157
|
discountBadge: Va,
|
|
1158
1158
|
landscapeCard: Ua,
|
|
1159
1159
|
landscapeImageWrapper: Ya,
|
|
@@ -1170,15 +1170,15 @@ const ot = st(void 0), ct = () => {
|
|
|
1170
1170
|
carouselSlide: rr,
|
|
1171
1171
|
carouselArrow: nr,
|
|
1172
1172
|
carouselArrowLeft: sr,
|
|
1173
|
-
carouselArrowRight:
|
|
1174
|
-
pujaBanner:
|
|
1173
|
+
carouselArrowRight: or,
|
|
1174
|
+
pujaBanner: ir,
|
|
1175
1175
|
pujaWrapperVertical: cr,
|
|
1176
1176
|
pujaCardVertical: lr,
|
|
1177
1177
|
pujaImage: dr,
|
|
1178
1178
|
pujaContent: ur,
|
|
1179
1179
|
pujaTitle: pr,
|
|
1180
|
-
pujaSub:
|
|
1181
|
-
locationIcon:
|
|
1180
|
+
pujaSub: mr,
|
|
1181
|
+
locationIcon: fr,
|
|
1182
1182
|
pujaTrustmakers: hr,
|
|
1183
1183
|
pujaCTA: xr,
|
|
1184
1184
|
pujaCardHorizontal: _r,
|
|
@@ -1187,8 +1187,8 @@ const ot = st(void 0), ct = () => {
|
|
|
1187
1187
|
pujaPinkText: jr,
|
|
1188
1188
|
pujaPinkTextHorizontal: br,
|
|
1189
1189
|
pujaTitleHorizontal: wr,
|
|
1190
|
-
pujaSubHorizontal:
|
|
1191
|
-
pujaCTAHorizontal:
|
|
1190
|
+
pujaSubHorizontal: yr,
|
|
1191
|
+
pujaCTAHorizontal: Nr
|
|
1192
1192
|
}, qe = "hanuman-live-sindoor", Xe = "hanuman-live-peda", Ge = "hanuman-live-sindoor-peda", U = {
|
|
1193
1193
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
1194
1194
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
@@ -1252,94 +1252,94 @@ const ot = st(void 0), ct = () => {
|
|
|
1252
1252
|
], Qe = (s) => {
|
|
1253
1253
|
if (!s)
|
|
1254
1254
|
return;
|
|
1255
|
-
const
|
|
1256
|
-
if (!
|
|
1255
|
+
const o = s.trim();
|
|
1256
|
+
if (!o)
|
|
1257
1257
|
return;
|
|
1258
|
-
const v = /^https?:\/\//i.test(
|
|
1258
|
+
const v = /^https?:\/\//i.test(o) ? o : `https://${o}`;
|
|
1259
1259
|
try {
|
|
1260
1260
|
return new URL(v).hostname;
|
|
1261
1261
|
} catch {
|
|
1262
|
-
return
|
|
1262
|
+
return o.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
1263
1263
|
}
|
|
1264
1264
|
}, Br = ({
|
|
1265
1265
|
videoId: s,
|
|
1266
|
-
title:
|
|
1266
|
+
title: o = "Live Stream",
|
|
1267
1267
|
chatHost: v,
|
|
1268
|
-
isGlobal:
|
|
1268
|
+
isGlobal: u = !1,
|
|
1269
1269
|
onOfferingClick: h,
|
|
1270
1270
|
onPujaImpression: _,
|
|
1271
|
-
onPujaClick:
|
|
1271
|
+
onPujaClick: l
|
|
1272
1272
|
}) => {
|
|
1273
|
-
const
|
|
1274
|
-
|
|
1273
|
+
const g = $(null), [c, S] = R(!1), [d, j] = R(!1), [y, k] = R(!0), [F, E] = R(!1), [A, B] = R(!1), [T, J] = R(""), K = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", N = 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(
|
|
1274
|
+
N
|
|
1275
1275
|
)}`, de = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1276
|
-
|
|
1277
|
-
const
|
|
1278
|
-
|
|
1276
|
+
D(() => {
|
|
1277
|
+
const m = () => {
|
|
1278
|
+
B(window.innerWidth > window.innerHeight);
|
|
1279
1279
|
};
|
|
1280
|
-
return
|
|
1281
|
-
}, []),
|
|
1280
|
+
return m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m);
|
|
1281
|
+
}, []), D(() => {
|
|
1282
1282
|
typeof window < "u" && J(window.location.hostname);
|
|
1283
1283
|
}, []);
|
|
1284
1284
|
const ae = async () => {
|
|
1285
|
-
const
|
|
1286
|
-
if (
|
|
1285
|
+
const m = g.current;
|
|
1286
|
+
if (m?.requestFullscreen)
|
|
1287
1287
|
try {
|
|
1288
|
-
await
|
|
1289
|
-
} catch (
|
|
1290
|
-
console.error("Fullscreen error:",
|
|
1288
|
+
await m.requestFullscreen();
|
|
1289
|
+
} catch (L) {
|
|
1290
|
+
console.error("Fullscreen error:", L);
|
|
1291
1291
|
}
|
|
1292
1292
|
try {
|
|
1293
|
-
const
|
|
1294
|
-
!de &&
|
|
1295
|
-
} catch (
|
|
1296
|
-
console.error("Orientation lock error:",
|
|
1293
|
+
const L = screen.orientation;
|
|
1294
|
+
!de && L?.lock && await L.lock("landscape");
|
|
1295
|
+
} catch (L) {
|
|
1296
|
+
console.error("Orientation lock error:", L);
|
|
1297
1297
|
}
|
|
1298
|
-
|
|
1298
|
+
S(!0);
|
|
1299
1299
|
}, re = async () => {
|
|
1300
1300
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
1301
1301
|
try {
|
|
1302
1302
|
await document.exitFullscreen();
|
|
1303
|
-
} catch (
|
|
1304
|
-
console.error("Exit fullscreen error:",
|
|
1303
|
+
} catch (m) {
|
|
1304
|
+
console.error("Exit fullscreen error:", m);
|
|
1305
1305
|
}
|
|
1306
1306
|
try {
|
|
1307
|
-
const
|
|
1308
|
-
|
|
1309
|
-
} catch (
|
|
1310
|
-
console.error("Orientation unlock error:",
|
|
1307
|
+
const m = screen.orientation;
|
|
1308
|
+
m?.unlock && m.unlock();
|
|
1309
|
+
} catch (m) {
|
|
1310
|
+
console.error("Orientation unlock error:", m);
|
|
1311
1311
|
}
|
|
1312
|
-
|
|
1312
|
+
S(!1);
|
|
1313
1313
|
};
|
|
1314
|
-
|
|
1315
|
-
const
|
|
1316
|
-
document.fullscreenElement ||
|
|
1314
|
+
D(() => {
|
|
1315
|
+
const m = () => {
|
|
1316
|
+
document.fullscreenElement || S(!1);
|
|
1317
1317
|
};
|
|
1318
|
-
return document.addEventListener("fullscreenchange",
|
|
1319
|
-
}, []),
|
|
1320
|
-
|
|
1321
|
-
}, [
|
|
1322
|
-
|
|
1323
|
-
}, [
|
|
1324
|
-
const ne = async (
|
|
1325
|
-
|
|
1318
|
+
return document.addEventListener("fullscreenchange", m), () => document.removeEventListener("fullscreenchange", m);
|
|
1319
|
+
}, []), D(() => {
|
|
1320
|
+
c || j(!1);
|
|
1321
|
+
}, [c]), D(() => {
|
|
1322
|
+
d && E(!0);
|
|
1323
|
+
}, [d]);
|
|
1324
|
+
const ne = async (m) => {
|
|
1325
|
+
c && document.fullscreenElement && await re(), h && await h(m);
|
|
1326
1326
|
}, q = () => {
|
|
1327
|
-
const
|
|
1328
|
-
"https://www.
|
|
1327
|
+
const m = new URL(
|
|
1328
|
+
"https://www.srimandir.com/epuja/5100-hanuman-chalisa-51000-sankat-mochan-hanumanashtak-shani-tel-abhishek-mahapuja-2nd-april-2026"
|
|
1329
1329
|
);
|
|
1330
|
-
|
|
1330
|
+
m.searchParams.set("utm_source", "youtube"), m.searchParams.set("utm_campaign", "rasrajji"), m.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (l?.({ orientation: A ? "horizontal" : "vertical" }), window.location.href = m.toString());
|
|
1331
1331
|
};
|
|
1332
|
-
return /* @__PURE__ */ t.jsxs("div", { ref:
|
|
1332
|
+
return /* @__PURE__ */ t.jsxs("div", { ref: g, className: r.container, children: [
|
|
1333
1333
|
/* @__PURE__ */ t.jsxs(
|
|
1334
1334
|
"div",
|
|
1335
1335
|
{
|
|
1336
|
-
className:
|
|
1336
|
+
className: c ? r.videoFullscreenWithBelowBanner : r.video,
|
|
1337
1337
|
children: [
|
|
1338
1338
|
/* @__PURE__ */ t.jsx(
|
|
1339
1339
|
"iframe",
|
|
1340
1340
|
{
|
|
1341
1341
|
src: W,
|
|
1342
|
-
title:
|
|
1342
|
+
title: o,
|
|
1343
1343
|
frameBorder: "0",
|
|
1344
1344
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
1345
1345
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
@@ -1351,16 +1351,16 @@ const ot = st(void 0), ct = () => {
|
|
|
1351
1351
|
"button",
|
|
1352
1352
|
{
|
|
1353
1353
|
className: r.fullscreenBtn,
|
|
1354
|
-
onClick:
|
|
1355
|
-
"aria-label":
|
|
1356
|
-
children:
|
|
1354
|
+
onClick: c ? re : ae,
|
|
1355
|
+
"aria-label": c ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
1356
|
+
children: c ? "⤡" : "⤢"
|
|
1357
1357
|
}
|
|
1358
1358
|
),
|
|
1359
|
-
|
|
1359
|
+
c && !d && /* @__PURE__ */ t.jsxs(
|
|
1360
1360
|
"button",
|
|
1361
1361
|
{
|
|
1362
1362
|
className: r.chatToggleBtn,
|
|
1363
|
-
onClick: () =>
|
|
1363
|
+
onClick: () => j((m) => !m),
|
|
1364
1364
|
"aria-label": "Show Chat",
|
|
1365
1365
|
children: [
|
|
1366
1366
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1379,12 +1379,12 @@ const ot = st(void 0), ct = () => {
|
|
|
1379
1379
|
]
|
|
1380
1380
|
}
|
|
1381
1381
|
),
|
|
1382
|
-
|
|
1382
|
+
c && d && /* @__PURE__ */ t.jsxs("div", { className: r.fullscreenChatPanel, children: [
|
|
1383
1383
|
/* @__PURE__ */ t.jsx(
|
|
1384
1384
|
"button",
|
|
1385
1385
|
{
|
|
1386
1386
|
className: r.fullscreenChatCloseBtn,
|
|
1387
|
-
onClick: () =>
|
|
1387
|
+
onClick: () => j(!1),
|
|
1388
1388
|
"aria-label": "Close chat",
|
|
1389
1389
|
children: /* @__PURE__ */ t.jsxs(
|
|
1390
1390
|
"svg",
|
|
@@ -1403,56 +1403,56 @@ const ot = st(void 0), ct = () => {
|
|
|
1403
1403
|
)
|
|
1404
1404
|
}
|
|
1405
1405
|
),
|
|
1406
|
-
|
|
1406
|
+
F && /* @__PURE__ */ t.jsx(et, { message: "Loading chat...", compact: !0 }),
|
|
1407
1407
|
/* @__PURE__ */ t.jsx(
|
|
1408
1408
|
"iframe",
|
|
1409
1409
|
{
|
|
1410
1410
|
src: te,
|
|
1411
1411
|
title: "Live Chat Fullscreen",
|
|
1412
1412
|
frameBorder: "0",
|
|
1413
|
-
onLoad: () =>
|
|
1413
|
+
onLoad: () => E(!1),
|
|
1414
1414
|
referrerPolicy: "origin",
|
|
1415
1415
|
className: r.iframe,
|
|
1416
|
-
style: { opacity:
|
|
1416
|
+
style: { opacity: F ? 0 : 1 }
|
|
1417
1417
|
}
|
|
1418
1418
|
)
|
|
1419
1419
|
] })
|
|
1420
1420
|
]
|
|
1421
1421
|
}
|
|
1422
1422
|
),
|
|
1423
|
-
|
|
1423
|
+
c && /* @__PURE__ */ t.jsx(
|
|
1424
1424
|
tt,
|
|
1425
1425
|
{
|
|
1426
|
-
isGlobal:
|
|
1427
|
-
isLandscape:
|
|
1426
|
+
isGlobal: u,
|
|
1427
|
+
isLandscape: A,
|
|
1428
1428
|
onOfferingClick: ne,
|
|
1429
1429
|
onPujaBannerClick: q,
|
|
1430
1430
|
onPujaImpression: _
|
|
1431
1431
|
}
|
|
1432
1432
|
),
|
|
1433
|
-
!
|
|
1433
|
+
!c && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1434
1434
|
/* @__PURE__ */ t.jsx(
|
|
1435
1435
|
tt,
|
|
1436
1436
|
{
|
|
1437
|
-
isGlobal:
|
|
1438
|
-
isLandscape:
|
|
1437
|
+
isGlobal: u,
|
|
1438
|
+
isLandscape: A,
|
|
1439
1439
|
onOfferingClick: ne,
|
|
1440
1440
|
onPujaBannerClick: q,
|
|
1441
1441
|
onPujaImpression: _
|
|
1442
1442
|
}
|
|
1443
1443
|
),
|
|
1444
1444
|
/* @__PURE__ */ t.jsxs("div", { className: r.chat, children: [
|
|
1445
|
-
|
|
1445
|
+
y && /* @__PURE__ */ t.jsx(et, { message: "Loading chat..." }),
|
|
1446
1446
|
/* @__PURE__ */ t.jsx(
|
|
1447
1447
|
"iframe",
|
|
1448
1448
|
{
|
|
1449
1449
|
src: te,
|
|
1450
1450
|
title: "Live Chat",
|
|
1451
1451
|
frameBorder: "0",
|
|
1452
|
-
onLoad: () =>
|
|
1452
|
+
onLoad: () => k(!1),
|
|
1453
1453
|
referrerPolicy: "origin",
|
|
1454
1454
|
className: r.iframe,
|
|
1455
|
-
style: { opacity:
|
|
1455
|
+
style: { opacity: y ? 0 : 1 }
|
|
1456
1456
|
}
|
|
1457
1457
|
)
|
|
1458
1458
|
] })
|
|
@@ -1461,188 +1461,155 @@ const ot = st(void 0), ct = () => {
|
|
|
1461
1461
|
};
|
|
1462
1462
|
function et({
|
|
1463
1463
|
message: s,
|
|
1464
|
-
compact:
|
|
1464
|
+
compact: o = !1
|
|
1465
1465
|
}) {
|
|
1466
1466
|
return /* @__PURE__ */ t.jsxs(
|
|
1467
1467
|
"div",
|
|
1468
1468
|
{
|
|
1469
|
-
className: `${r.chatLoader} ${
|
|
1469
|
+
className: `${r.chatLoader} ${o ? r.chatLoaderCompact : ""}`,
|
|
1470
1470
|
children: [
|
|
1471
|
-
/* @__PURE__ */ t.jsx("div", { className: r.
|
|
1472
|
-
"svg",
|
|
1473
|
-
{
|
|
1474
|
-
viewBox: "0 0 24 24",
|
|
1475
|
-
fill: "currentColor",
|
|
1476
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1477
|
-
children: [
|
|
1478
|
-
/* @__PURE__ */ t.jsx(
|
|
1479
|
-
"path",
|
|
1480
|
-
{
|
|
1481
|
-
d: "M12 2C12 2 10 7 7 9C4 11 2 13 2 16C2 19 8 20 12 22C16 20 22 19 22 16C22 13 20 11 17 9C14 7 12 2 12 2Z",
|
|
1482
|
-
opacity: "0.8"
|
|
1483
|
-
}
|
|
1484
|
-
),
|
|
1485
|
-
/* @__PURE__ */ t.jsx(
|
|
1486
|
-
"path",
|
|
1487
|
-
{
|
|
1488
|
-
d: "M12 4C12 4 11.5 8 9 10C6.5 12 5 14 5 16C5 18 8 19 12 21C16 19 19 18 19 16C19 14 17.5 12 15 10C12.5 8 12 4 12 4Z",
|
|
1489
|
-
fill: "#fff8ef"
|
|
1490
|
-
}
|
|
1491
|
-
),
|
|
1492
|
-
/* @__PURE__ */ t.jsx(
|
|
1493
|
-
"path",
|
|
1494
|
-
{
|
|
1495
|
-
d: "M12 7C12 7 9 13 6 15C5 15.6667 4.5 17 5 18C8 17 12 18 12 18C12 18 16 17 19 18C19.5 17 19 15.6667 18 15C15 13 12 7 12 7Z",
|
|
1496
|
-
opacity: "0.6"
|
|
1497
|
-
}
|
|
1498
|
-
)
|
|
1499
|
-
]
|
|
1500
|
-
}
|
|
1501
|
-
) }),
|
|
1471
|
+
/* @__PURE__ */ t.jsx("div", { className: r.spinner }),
|
|
1502
1472
|
/* @__PURE__ */ t.jsx("div", { className: r.chatLoaderText, children: s })
|
|
1503
1473
|
]
|
|
1504
1474
|
}
|
|
1505
1475
|
);
|
|
1506
1476
|
}
|
|
1507
|
-
const lt = 300,
|
|
1477
|
+
const lt = 300, Cr = 60, Tr = lt + Cr, Pr = 1620, ee = 0, Y = 1;
|
|
1508
1478
|
function Sr() {
|
|
1509
|
-
const [s,
|
|
1510
|
-
|
|
1511
|
-
const
|
|
1512
|
-
|
|
1479
|
+
const [s, o] = R(0), v = $(Date.now());
|
|
1480
|
+
D(() => {
|
|
1481
|
+
const l = setInterval(() => {
|
|
1482
|
+
o(Math.floor((Date.now() - v.current) / 1e3));
|
|
1513
1483
|
}, 1e3);
|
|
1514
|
-
return () => clearInterval(
|
|
1484
|
+
return () => clearInterval(l);
|
|
1515
1485
|
}, []);
|
|
1516
|
-
const
|
|
1486
|
+
const u = s >= Pr;
|
|
1517
1487
|
let h = ee;
|
|
1518
|
-
return
|
|
1488
|
+
return u ? h = Y : h = s % Tr < lt ? ee : Y, { autoSlide: h, isLockedToPuja: u };
|
|
1519
1489
|
}
|
|
1520
1490
|
function tt({
|
|
1521
1491
|
isGlobal: s,
|
|
1522
|
-
isLandscape:
|
|
1492
|
+
isLandscape: o,
|
|
1523
1493
|
onOfferingClick: v,
|
|
1524
|
-
onPujaBannerClick:
|
|
1494
|
+
onPujaBannerClick: u,
|
|
1525
1495
|
onPujaImpression: h
|
|
1526
1496
|
}) {
|
|
1527
|
-
const { autoSlide: _
|
|
1528
|
-
|
|
1529
|
-
|
|
1497
|
+
const { autoSlide: _ } = Sr(), [l, g] = R(null), c = $(null), S = $(0);
|
|
1498
|
+
D(() => {
|
|
1499
|
+
g(null);
|
|
1530
1500
|
}, [_]);
|
|
1531
|
-
const
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
orientation:
|
|
1535
|
-
}),
|
|
1536
|
-
}, [
|
|
1537
|
-
const
|
|
1538
|
-
(
|
|
1539
|
-
|
|
1501
|
+
const d = l !== null ? l : _, j = $(!1);
|
|
1502
|
+
D(() => {
|
|
1503
|
+
d === Y ? j.current || (h?.({
|
|
1504
|
+
orientation: o ? "horizontal" : "vertical"
|
|
1505
|
+
}), j.current = !0) : j.current = !1;
|
|
1506
|
+
}, [d, o, h]);
|
|
1507
|
+
const y = Ft(
|
|
1508
|
+
(E) => {
|
|
1509
|
+
g(E), c.current && clearTimeout(c.current), c.current = setTimeout(() => g(null), 1e4);
|
|
1540
1510
|
},
|
|
1541
|
-
[
|
|
1511
|
+
[]
|
|
1542
1512
|
);
|
|
1543
|
-
|
|
1544
|
-
|
|
1513
|
+
D(() => () => {
|
|
1514
|
+
c.current && clearTimeout(c.current);
|
|
1545
1515
|
}, []);
|
|
1546
|
-
const
|
|
1547
|
-
|
|
1548
|
-
},
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
Math.abs(L) < 50 || (L > 0 ? S(Y) : S(ee));
|
|
1516
|
+
const k = (E) => {
|
|
1517
|
+
S.current = E.touches[0].clientX;
|
|
1518
|
+
}, F = (E) => {
|
|
1519
|
+
const A = S.current - E.changedTouches[0].clientX;
|
|
1520
|
+
Math.abs(A) < 50 || (A > 0 ? y(Y) : y(ee));
|
|
1552
1521
|
};
|
|
1553
1522
|
return s ? /* @__PURE__ */ t.jsx("div", { className: r.carousel, children: /* @__PURE__ */ t.jsx(
|
|
1554
1523
|
at,
|
|
1555
1524
|
{
|
|
1556
|
-
isLandscape:
|
|
1557
|
-
onOfferingClick:
|
|
1525
|
+
isLandscape: o,
|
|
1526
|
+
onOfferingClick: u
|
|
1558
1527
|
}
|
|
1559
1528
|
) }) : /* @__PURE__ */ t.jsxs("div", { className: r.carousel, children: [
|
|
1560
1529
|
/* @__PURE__ */ t.jsxs(
|
|
1561
1530
|
"div",
|
|
1562
1531
|
{
|
|
1563
1532
|
className: r.carouselTrack,
|
|
1564
|
-
style: { transform: `translateX(-${
|
|
1565
|
-
onTouchStart:
|
|
1566
|
-
onTouchEnd:
|
|
1533
|
+
style: { transform: `translateX(-${d * 50}%)` },
|
|
1534
|
+
onTouchStart: k,
|
|
1535
|
+
onTouchEnd: F,
|
|
1567
1536
|
children: [
|
|
1568
1537
|
/* @__PURE__ */ t.jsx("div", { className: r.carouselSlide, children: /* @__PURE__ */ t.jsx(
|
|
1569
1538
|
Er,
|
|
1570
1539
|
{
|
|
1571
|
-
isLandscape:
|
|
1540
|
+
isLandscape: o,
|
|
1572
1541
|
onOfferingClick: v
|
|
1573
1542
|
}
|
|
1574
1543
|
) }),
|
|
1575
1544
|
/* @__PURE__ */ t.jsx("div", { className: r.carouselSlide, children: /* @__PURE__ */ t.jsx(
|
|
1576
1545
|
at,
|
|
1577
1546
|
{
|
|
1578
|
-
isLandscape:
|
|
1579
|
-
onOfferingClick:
|
|
1547
|
+
isLandscape: o,
|
|
1548
|
+
onOfferingClick: u
|
|
1580
1549
|
}
|
|
1581
1550
|
) })
|
|
1582
1551
|
]
|
|
1583
1552
|
}
|
|
1584
1553
|
),
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
{
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
{
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
)
|
|
1630
|
-
] })
|
|
1554
|
+
d !== ee && /* @__PURE__ */ t.jsx(
|
|
1555
|
+
"button",
|
|
1556
|
+
{
|
|
1557
|
+
className: `${r.carouselArrow} ${r.carouselArrowLeft}`,
|
|
1558
|
+
onClick: () => y(ee),
|
|
1559
|
+
"aria-label": "Previous slide",
|
|
1560
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1561
|
+
"svg",
|
|
1562
|
+
{
|
|
1563
|
+
width: "14",
|
|
1564
|
+
height: "14",
|
|
1565
|
+
viewBox: "0 0 24 24",
|
|
1566
|
+
fill: "none",
|
|
1567
|
+
stroke: "currentColor",
|
|
1568
|
+
strokeWidth: "2.5",
|
|
1569
|
+
strokeLinecap: "round",
|
|
1570
|
+
strokeLinejoin: "round",
|
|
1571
|
+
children: /* @__PURE__ */ t.jsx("polyline", { points: "15 18 9 12 15 6" })
|
|
1572
|
+
}
|
|
1573
|
+
)
|
|
1574
|
+
}
|
|
1575
|
+
),
|
|
1576
|
+
d !== Y && /* @__PURE__ */ t.jsx(
|
|
1577
|
+
"button",
|
|
1578
|
+
{
|
|
1579
|
+
className: `${r.carouselArrow} ${r.carouselArrowRight}`,
|
|
1580
|
+
onClick: () => y(Y),
|
|
1581
|
+
"aria-label": "Next slide",
|
|
1582
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1583
|
+
"svg",
|
|
1584
|
+
{
|
|
1585
|
+
width: "14",
|
|
1586
|
+
height: "14",
|
|
1587
|
+
viewBox: "0 0 24 24",
|
|
1588
|
+
fill: "none",
|
|
1589
|
+
stroke: "currentColor",
|
|
1590
|
+
strokeWidth: "2.5",
|
|
1591
|
+
strokeLinecap: "round",
|
|
1592
|
+
strokeLinejoin: "round",
|
|
1593
|
+
children: /* @__PURE__ */ t.jsx("polyline", { points: "9 18 15 12 9 6" })
|
|
1594
|
+
}
|
|
1595
|
+
)
|
|
1596
|
+
}
|
|
1597
|
+
)
|
|
1631
1598
|
] });
|
|
1632
1599
|
}
|
|
1633
1600
|
function Er({
|
|
1634
1601
|
isLandscape: s,
|
|
1635
|
-
onOfferingClick:
|
|
1602
|
+
onOfferingClick: o
|
|
1636
1603
|
}) {
|
|
1637
|
-
const
|
|
1604
|
+
const u = (() => {
|
|
1638
1605
|
const _ = /* @__PURE__ */ new Date();
|
|
1639
|
-
return Ze.slice().reverse().find((
|
|
1606
|
+
return Ze.slice().reverse().find((g) => new Date(g.afterTime) <= _) || Ze[0];
|
|
1640
1607
|
})(), h = async (_) => {
|
|
1641
|
-
if (
|
|
1608
|
+
if (o)
|
|
1642
1609
|
try {
|
|
1643
|
-
await
|
|
1644
|
-
} catch (
|
|
1645
|
-
console.error("Offering click handler failed:",
|
|
1610
|
+
await o(_);
|
|
1611
|
+
} catch (l) {
|
|
1612
|
+
console.error("Offering click handler failed:", l);
|
|
1646
1613
|
}
|
|
1647
1614
|
};
|
|
1648
1615
|
return /* @__PURE__ */ t.jsx("div", { className: r.banner, children: /* @__PURE__ */ t.jsxs("div", { className: r.bannerCard, children: [
|
|
@@ -1657,8 +1624,8 @@ function Er({
|
|
|
1657
1624
|
]
|
|
1658
1625
|
}
|
|
1659
1626
|
),
|
|
1660
|
-
/* @__PURE__ */ t.jsx("div", { className: s ? r.landscapeScroll : r.scroll, children:
|
|
1661
|
-
(_,
|
|
1627
|
+
/* @__PURE__ */ t.jsx("div", { className: s ? r.landscapeScroll : r.scroll, children: u.items.map(
|
|
1628
|
+
(_, l) => s ? /* @__PURE__ */ t.jsx(
|
|
1662
1629
|
Ir,
|
|
1663
1630
|
{
|
|
1664
1631
|
item: _,
|
|
@@ -1669,8 +1636,8 @@ function Er({
|
|
|
1669
1636
|
Rr,
|
|
1670
1637
|
{
|
|
1671
1638
|
item: _,
|
|
1672
|
-
index:
|
|
1673
|
-
totalItems:
|
|
1639
|
+
index: l,
|
|
1640
|
+
totalItems: u.items.length,
|
|
1674
1641
|
onClick: () => h(_)
|
|
1675
1642
|
},
|
|
1676
1643
|
_.inventory_id
|
|
@@ -1680,20 +1647,20 @@ function Er({
|
|
|
1680
1647
|
}
|
|
1681
1648
|
function at({
|
|
1682
1649
|
isLandscape: s,
|
|
1683
|
-
onOfferingClick:
|
|
1650
|
+
onOfferingClick: o
|
|
1684
1651
|
}) {
|
|
1685
|
-
return /* @__PURE__ */ t.jsx("div", { className: r.pujaBanner, children: /* @__PURE__ */ t.jsx(kr, { isLandscape: s, onClick:
|
|
1652
|
+
return /* @__PURE__ */ t.jsx("div", { className: r.pujaBanner, children: /* @__PURE__ */ t.jsx(kr, { isLandscape: s, onClick: o }) });
|
|
1686
1653
|
}
|
|
1687
1654
|
function kr({
|
|
1688
1655
|
isLandscape: s,
|
|
1689
|
-
onClick:
|
|
1656
|
+
onClick: o
|
|
1690
1657
|
}) {
|
|
1691
1658
|
return s ? /* @__PURE__ */ t.jsxs(
|
|
1692
1659
|
"div",
|
|
1693
1660
|
{
|
|
1694
|
-
onClick:
|
|
1661
|
+
onClick: o,
|
|
1695
1662
|
className: r.pujaCardHorizontal,
|
|
1696
|
-
style: { cursor:
|
|
1663
|
+
style: { cursor: o ? "pointer" : "default" },
|
|
1697
1664
|
children: [
|
|
1698
1665
|
/* @__PURE__ */ t.jsx(
|
|
1699
1666
|
"img",
|
|
@@ -1747,9 +1714,9 @@ function kr({
|
|
|
1747
1714
|
) : /* @__PURE__ */ t.jsx("div", { className: r.pujaWrapperVertical, children: /* @__PURE__ */ t.jsxs(
|
|
1748
1715
|
"div",
|
|
1749
1716
|
{
|
|
1750
|
-
onClick:
|
|
1717
|
+
onClick: o,
|
|
1751
1718
|
className: r.pujaCardVertical,
|
|
1752
|
-
style: { cursor:
|
|
1719
|
+
style: { cursor: o ? "pointer" : "default" },
|
|
1753
1720
|
children: [
|
|
1754
1721
|
/* @__PURE__ */ t.jsx(
|
|
1755
1722
|
"img",
|
|
@@ -1798,11 +1765,11 @@ function kr({
|
|
|
1798
1765
|
}
|
|
1799
1766
|
function Rr({
|
|
1800
1767
|
item: s,
|
|
1801
|
-
index:
|
|
1768
|
+
index: o,
|
|
1802
1769
|
totalItems: v,
|
|
1803
|
-
onClick:
|
|
1770
|
+
onClick: u
|
|
1804
1771
|
}) {
|
|
1805
|
-
return /* @__PURE__ */ t.jsxs("div", { className: r.card, onClick:
|
|
1772
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.card, onClick: u, children: [
|
|
1806
1773
|
/* @__PURE__ */ t.jsxs("div", { className: r.imageWrapper, children: [
|
|
1807
1774
|
/* @__PURE__ */ t.jsx("img", { src: s.image_url, alt: s.name, className: r.image }),
|
|
1808
1775
|
/* @__PURE__ */ t.jsx("div", { className: r.addBtn, "aria-hidden": "true", children: "+" })
|
|
@@ -1822,14 +1789,14 @@ function Rr({
|
|
|
1822
1789
|
s.discount
|
|
1823
1790
|
] })
|
|
1824
1791
|
] }),
|
|
1825
|
-
|
|
1792
|
+
o !== v - 1 && /* @__PURE__ */ t.jsx("div", { className: r.divider })
|
|
1826
1793
|
] });
|
|
1827
1794
|
}
|
|
1828
1795
|
function Ir({
|
|
1829
1796
|
item: s,
|
|
1830
|
-
onClick:
|
|
1797
|
+
onClick: o
|
|
1831
1798
|
}) {
|
|
1832
|
-
return /* @__PURE__ */ t.jsxs("div", { className: r.landscapeCard, onClick:
|
|
1799
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.landscapeCard, onClick: o, children: [
|
|
1833
1800
|
/* @__PURE__ */ t.jsxs("div", { className: r.landscapeImageWrapper, children: [
|
|
1834
1801
|
/* @__PURE__ */ t.jsx(
|
|
1835
1802
|
"img",
|