@srimandir/hanuman-chalisa 1.7.0 → 1.7.1
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 +341 -319
- package/dist/hanuman-chalisa.js.map +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
import Ge, { useContext as Xe, createContext as Ze, useState as I, useEffect as M, useRef as xe } from "react";
|
|
2
|
+
var se = { exports: {} }, Z = {};
|
|
3
|
+
var Ye;
|
|
4
4
|
function Rt() {
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var i =
|
|
5
|
+
if (Ye) return Z;
|
|
6
|
+
Ye = 1;
|
|
7
|
+
var i = Ge, _ = /* @__PURE__ */ Symbol.for("react.element"), y = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
8
|
function s(m, p, k) {
|
|
9
9
|
var d, w = {}, T = null, R = null;
|
|
10
10
|
k !== void 0 && (T = "" + k), p.key !== void 0 && (T = "" + p.key), p.ref !== void 0 && (R = p.ref);
|
|
11
|
-
for (d in p) u.call(p, d) && !
|
|
11
|
+
for (d in p) u.call(p, d) && !h.hasOwnProperty(d) && (w[d] = p[d]);
|
|
12
12
|
if (m && m.defaultProps) for (d in p = m.defaultProps, p) w[d] === void 0 && (w[d] = p[d]);
|
|
13
|
-
return { $$typeof: _, type: m, key: T, ref: R, props: w, _owner:
|
|
13
|
+
return { $$typeof: _, type: m, key: T, ref: R, props: w, _owner: v.current };
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return Z.Fragment = y, Z.jsx = s, Z.jsxs = s, Z;
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var Q = {};
|
|
18
|
+
var Ve;
|
|
19
19
|
function Pt() {
|
|
20
|
-
return
|
|
21
|
-
var i =
|
|
20
|
+
return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var i = Ge, _ = /* @__PURE__ */ Symbol.for("react.element"), y = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), v = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.provider"), m = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), R = /* @__PURE__ */ Symbol.for("react.offscreen"), D = Symbol.iterator, F = "@@iterator";
|
|
22
22
|
function A(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
@@ -30,36 +30,36 @@ function Pt() {
|
|
|
30
30
|
{
|
|
31
31
|
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
32
32
|
n[a - 1] = arguments[a];
|
|
33
|
-
|
|
33
|
+
q("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function q(e, r, n) {
|
|
37
37
|
{
|
|
38
38
|
var a = O.ReactDebugCurrentFrame, f = a.getStackAddendum();
|
|
39
39
|
f !== "" && (r += "%s", n = n.concat([f]));
|
|
40
|
-
var
|
|
40
|
+
var x = n.map(function(l) {
|
|
41
41
|
return String(l);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
x.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, x);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
46
|
+
var z = !1, b = !1, B = !1, ie = !1, ee = !1, U;
|
|
47
|
+
U = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
+
function j(e) {
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === h || ee || e === v || e === k || e === d || ie || e === R || z || b || B || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === w || e.$$typeof === s || e.$$typeof === m || e.$$typeof === p || // 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
|
-
e.$$typeof ===
|
|
53
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function W(e, r, n) {
|
|
56
56
|
var a = e.displayName;
|
|
57
57
|
if (a)
|
|
58
58
|
return a;
|
|
59
59
|
var f = r.displayName || r.name || "";
|
|
60
60
|
return f !== "" ? n + "(" + f + ")" : n;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ge(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
65
|
function $(e) {
|
|
@@ -72,11 +72,11 @@ function Pt() {
|
|
|
72
72
|
switch (e) {
|
|
73
73
|
case u:
|
|
74
74
|
return "Fragment";
|
|
75
|
-
case
|
|
75
|
+
case y:
|
|
76
76
|
return "Portal";
|
|
77
|
-
case
|
|
77
|
+
case h:
|
|
78
78
|
return "Profiler";
|
|
79
|
-
case
|
|
79
|
+
case v:
|
|
80
80
|
return "StrictMode";
|
|
81
81
|
case k:
|
|
82
82
|
return "Suspense";
|
|
@@ -87,19 +87,19 @@ function Pt() {
|
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
88
|
case m:
|
|
89
89
|
var r = e;
|
|
90
|
-
return
|
|
90
|
+
return ge(r) + ".Consumer";
|
|
91
91
|
case s:
|
|
92
92
|
var n = e;
|
|
93
|
-
return
|
|
93
|
+
return ge(n._context) + ".Provider";
|
|
94
94
|
case p:
|
|
95
|
-
return
|
|
95
|
+
return W(e, e.render, "ForwardRef");
|
|
96
96
|
case w:
|
|
97
97
|
var a = e.displayName || null;
|
|
98
98
|
return a !== null ? a : $(e.type) || "Memo";
|
|
99
99
|
case T: {
|
|
100
|
-
var f = e,
|
|
100
|
+
var f = e, x = f._payload, l = f._init;
|
|
101
101
|
try {
|
|
102
|
-
return $(l(
|
|
102
|
+
return $(l(x));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,18 +107,18 @@ function Pt() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var Y = Object.assign,
|
|
111
|
-
function
|
|
110
|
+
var Y = Object.assign, G = 0, _e, be, je, ye, we, Ne, Ce;
|
|
111
|
+
function Ee() {
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
Ee.__reactDisabledLog = !0;
|
|
114
114
|
function rt() {
|
|
115
115
|
{
|
|
116
|
-
if (
|
|
117
|
-
|
|
116
|
+
if (G === 0) {
|
|
117
|
+
_e = console.log, be = console.info, je = console.warn, ye = console.error, we = console.group, Ne = console.groupCollapsed, Ce = console.groupEnd;
|
|
118
118
|
var e = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: Ee,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -131,12 +131,12 @@ function Pt() {
|
|
|
131
131
|
groupEnd: e
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
G++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
function nt() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (G--, G === 0) {
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -144,64 +144,64 @@ function Pt() {
|
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
146
|
log: Y({}, e, {
|
|
147
|
-
value:
|
|
147
|
+
value: _e
|
|
148
148
|
}),
|
|
149
149
|
info: Y({}, e, {
|
|
150
|
-
value:
|
|
150
|
+
value: be
|
|
151
151
|
}),
|
|
152
152
|
warn: Y({}, e, {
|
|
153
|
-
value:
|
|
153
|
+
value: je
|
|
154
154
|
}),
|
|
155
155
|
error: Y({}, e, {
|
|
156
|
-
value:
|
|
156
|
+
value: ye
|
|
157
157
|
}),
|
|
158
158
|
group: Y({}, e, {
|
|
159
|
-
value:
|
|
159
|
+
value: we
|
|
160
160
|
}),
|
|
161
161
|
groupCollapsed: Y({}, e, {
|
|
162
|
-
value:
|
|
162
|
+
value: Ne
|
|
163
163
|
}),
|
|
164
164
|
groupEnd: Y({}, e, {
|
|
165
|
-
value:
|
|
165
|
+
value: Ce
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
G < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
function
|
|
172
|
+
var oe = O.ReactCurrentDispatcher, ce;
|
|
173
|
+
function te(e, r, n) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (ce === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (f) {
|
|
179
179
|
var a = f.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
-
|
|
180
|
+
ce = a && a[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + ce + e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var le = !1, re;
|
|
187
187
|
{
|
|
188
188
|
var at = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
-
|
|
189
|
+
re = new at();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!e ||
|
|
191
|
+
function Te(e, r) {
|
|
192
|
+
if (!e || le)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var n =
|
|
195
|
+
var n = re.get(e);
|
|
196
196
|
if (n !== void 0)
|
|
197
197
|
return n;
|
|
198
198
|
}
|
|
199
199
|
var a;
|
|
200
|
-
|
|
200
|
+
le = !0;
|
|
201
201
|
var f = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var x;
|
|
204
|
+
x = oe.current, oe.current = null, rt();
|
|
205
205
|
try {
|
|
206
206
|
if (r) {
|
|
207
207
|
var l = function() {
|
|
@@ -247,67 +247,67 @@ function Pt() {
|
|
|
247
247
|
if (N--, E--, E < 0 || c[N] !== P[E]) {
|
|
248
248
|
var L = `
|
|
249
249
|
` + c[N].replace(" at new ", " at ");
|
|
250
|
-
return e.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
250
|
+
return e.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, L), L;
|
|
251
251
|
}
|
|
252
252
|
while (N >= 1 && E >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
le = !1, oe.current = x, nt(), Error.prepareStackTrace = f;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof e == "function" &&
|
|
259
|
+
var K = e ? e.displayName || e.name : "", V = K ? te(K) : "";
|
|
260
|
+
return typeof e == "function" && re.set(e, V), V;
|
|
261
261
|
}
|
|
262
262
|
function st(e, r, n) {
|
|
263
|
-
return
|
|
263
|
+
return Te(e, !1);
|
|
264
264
|
}
|
|
265
265
|
function it(e) {
|
|
266
266
|
var r = e.prototype;
|
|
267
267
|
return !!(r && r.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function ne(e, r, n) {
|
|
270
270
|
if (e == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof e == "function")
|
|
273
|
-
return
|
|
273
|
+
return Te(e, it(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
|
-
return
|
|
275
|
+
return te(e);
|
|
276
276
|
switch (e) {
|
|
277
277
|
case k:
|
|
278
|
-
return
|
|
278
|
+
return te("Suspense");
|
|
279
279
|
case d:
|
|
280
|
-
return
|
|
280
|
+
return te("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
284
|
case p:
|
|
285
285
|
return st(e.render);
|
|
286
286
|
case w:
|
|
287
|
-
return
|
|
287
|
+
return ne(e.type, r, n);
|
|
288
288
|
case T: {
|
|
289
|
-
var a = e, f = a._payload,
|
|
289
|
+
var a = e, f = a._payload, x = a._init;
|
|
290
290
|
try {
|
|
291
|
-
return
|
|
291
|
+
return ne(x(f), r, n);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var
|
|
299
|
-
function
|
|
298
|
+
var X = Object.prototype.hasOwnProperty, ke = {}, Re = O.ReactDebugCurrentFrame;
|
|
299
|
+
function ae(e) {
|
|
300
300
|
if (e) {
|
|
301
|
-
var r = e._owner, n =
|
|
302
|
-
|
|
301
|
+
var r = e._owner, n = ne(e.type, e._source, r ? r.type : null);
|
|
302
|
+
Re.setExtraStackFrame(n);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
Re.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
306
|
function ot(e, r, n, a, f) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
308
|
+
var x = Function.call.bind(X);
|
|
309
309
|
for (var l in e)
|
|
310
|
-
if (
|
|
310
|
+
if (x(e, l)) {
|
|
311
311
|
var c = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof e[l] != "function") {
|
|
@@ -318,12 +318,12 @@ function Pt() {
|
|
|
318
318
|
} catch (N) {
|
|
319
319
|
c = N;
|
|
320
320
|
}
|
|
321
|
-
c && !(c instanceof Error) && (
|
|
321
|
+
c && !(c instanceof Error) && (ae(f), C("%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).", a || "React class", n, l, typeof c), ae(null)), c instanceof Error && !(c.message in ke) && (ke[c.message] = !0, ae(f), C("Failed %s type: %s", n, c.message), ae(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var ct = Array.isArray;
|
|
326
|
-
function
|
|
326
|
+
function de(e) {
|
|
327
327
|
return ct(e);
|
|
328
328
|
}
|
|
329
329
|
function lt(e) {
|
|
@@ -334,26 +334,26 @@ function Pt() {
|
|
|
334
334
|
}
|
|
335
335
|
function dt(e) {
|
|
336
336
|
try {
|
|
337
|
-
return
|
|
337
|
+
return Pe(e), !1;
|
|
338
338
|
} catch {
|
|
339
339
|
return !0;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Pe(e) {
|
|
343
343
|
return "" + e;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Se(e) {
|
|
346
346
|
if (dt(e))
|
|
347
|
-
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(e)),
|
|
347
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(e)), Pe(e);
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Ie = O.ReactCurrentOwner, ut = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
354
|
+
}, Fe, Le;
|
|
355
355
|
function pt(e) {
|
|
356
|
-
if (
|
|
356
|
+
if (X.call(e, "ref")) {
|
|
357
357
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
358
358
|
if (r && r.isReactWarning)
|
|
359
359
|
return !1;
|
|
@@ -361,7 +361,7 @@ function Pt() {
|
|
|
361
361
|
return e.ref !== void 0;
|
|
362
362
|
}
|
|
363
363
|
function ft(e) {
|
|
364
|
-
if (
|
|
364
|
+
if (X.call(e, "key")) {
|
|
365
365
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
366
366
|
if (r && r.isReactWarning)
|
|
367
367
|
return !1;
|
|
@@ -369,12 +369,12 @@ function Pt() {
|
|
|
369
369
|
return e.key !== void 0;
|
|
370
370
|
}
|
|
371
371
|
function mt(e, r) {
|
|
372
|
-
typeof e.ref == "string" &&
|
|
372
|
+
typeof e.ref == "string" && Ie.current;
|
|
373
373
|
}
|
|
374
374
|
function ht(e, r) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
|
-
|
|
377
|
+
Fe || (Fe = !0, C("%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)", r));
|
|
378
378
|
};
|
|
379
379
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
380
380
|
get: n,
|
|
@@ -385,7 +385,7 @@ function Pt() {
|
|
|
385
385
|
function xt(e, r) {
|
|
386
386
|
{
|
|
387
387
|
var n = function() {
|
|
388
|
-
|
|
388
|
+
Le || (Le = !0, C("%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)", r));
|
|
389
389
|
};
|
|
390
390
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
391
391
|
get: n,
|
|
@@ -393,7 +393,7 @@ function Pt() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var vt = function(e, r, n, a, f,
|
|
396
|
+
var vt = function(e, r, n, a, f, x, l) {
|
|
397
397
|
var c = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: _,
|
|
@@ -403,7 +403,7 @@ function Pt() {
|
|
|
403
403
|
ref: n,
|
|
404
404
|
props: l,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
406
|
+
_owner: x
|
|
407
407
|
};
|
|
408
408
|
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
@@ -424,39 +424,39 @@ function Pt() {
|
|
|
424
424
|
};
|
|
425
425
|
function gt(e, r, n, a, f) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
n !== void 0 && (
|
|
429
|
-
for (
|
|
430
|
-
|
|
427
|
+
var x, l = {}, c = null, P = null;
|
|
428
|
+
n !== void 0 && (Se(n), c = "" + n), ft(r) && (Se(r.key), c = "" + r.key), pt(r) && (P = r.ref, mt(r, f));
|
|
429
|
+
for (x in r)
|
|
430
|
+
X.call(r, x) && !ut.hasOwnProperty(x) && (l[x] = r[x]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
432
432
|
var N = e.defaultProps;
|
|
433
|
-
for (
|
|
434
|
-
l[
|
|
433
|
+
for (x in N)
|
|
434
|
+
l[x] === void 0 && (l[x] = N[x]);
|
|
435
435
|
}
|
|
436
436
|
if (c || P) {
|
|
437
437
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
438
|
c && ht(l, E), P && xt(l, E);
|
|
439
439
|
}
|
|
440
|
-
return vt(e, c, P, f, a,
|
|
440
|
+
return vt(e, c, P, f, a, Ie.current, l);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
function
|
|
443
|
+
var ue = O.ReactCurrentOwner, Oe = O.ReactDebugCurrentFrame;
|
|
444
|
+
function H(e) {
|
|
445
445
|
if (e) {
|
|
446
|
-
var r = e._owner, n =
|
|
447
|
-
|
|
446
|
+
var r = e._owner, n = ne(e.type, e._source, r ? r.type : null);
|
|
447
|
+
Oe.setExtraStackFrame(n);
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
Oe.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
451
|
+
var pe;
|
|
452
|
+
pe = !1;
|
|
453
|
+
function fe(e) {
|
|
454
454
|
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function De() {
|
|
457
457
|
{
|
|
458
|
-
if (
|
|
459
|
-
var e = $(
|
|
458
|
+
if (ue.current) {
|
|
459
|
+
var e = $(ue.current.type);
|
|
460
460
|
if (e)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -468,10 +468,10 @@ Check the render method of \`` + e + "`.";
|
|
|
468
468
|
function _t(e) {
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
|
-
var
|
|
471
|
+
var Ae = {};
|
|
472
472
|
function bt(e) {
|
|
473
473
|
{
|
|
474
|
-
var r =
|
|
474
|
+
var r = De();
|
|
475
475
|
if (!r) {
|
|
476
476
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
477
477
|
n && (r = `
|
|
@@ -481,35 +481,35 @@ Check the top-level render call using <` + n + ">.");
|
|
|
481
481
|
return r;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function Be(e, r) {
|
|
485
485
|
{
|
|
486
486
|
if (!e._store || e._store.validated || e.key != null)
|
|
487
487
|
return;
|
|
488
488
|
e._store.validated = !0;
|
|
489
489
|
var n = bt(r);
|
|
490
|
-
if (
|
|
490
|
+
if (Ae[n])
|
|
491
491
|
return;
|
|
492
|
-
|
|
492
|
+
Ae[n] = !0;
|
|
493
493
|
var a = "";
|
|
494
|
-
e && e._owner && e._owner !==
|
|
494
|
+
e && e._owner && e._owner !== ue.current && (a = " It was passed a child from " + $(e._owner.type) + "."), H(e), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), H(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function We(e, r) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (de(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
503
|
var a = e[n];
|
|
504
|
-
|
|
504
|
+
fe(a) && Be(a, r);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (fe(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
509
|
var f = A(e);
|
|
510
510
|
if (typeof f == "function" && f !== e.entries)
|
|
511
|
-
for (var
|
|
512
|
-
|
|
511
|
+
for (var x = f.call(e), l; !(l = x.next()).done; )
|
|
512
|
+
fe(l.value) && Be(l.value, r);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -530,8 +530,8 @@ Check the top-level render call using <` + n + ">.");
|
|
|
530
530
|
if (n) {
|
|
531
531
|
var a = $(r);
|
|
532
532
|
ot(n, e.props, "prop", a, e);
|
|
533
|
-
} else if (r.PropTypes !== void 0 && !
|
|
534
|
-
|
|
533
|
+
} else if (r.PropTypes !== void 0 && !pe) {
|
|
534
|
+
pe = !0;
|
|
535
535
|
var f = $(r);
|
|
536
536
|
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
537
537
|
}
|
|
@@ -543,71 +543,71 @@ Check the top-level render call using <` + n + ">.");
|
|
|
543
543
|
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
544
544
|
var a = r[n];
|
|
545
545
|
if (a !== "children" && a !== "key") {
|
|
546
|
-
|
|
546
|
+
H(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), H(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
e.ref !== null && (
|
|
550
|
+
e.ref !== null && (H(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var $e = {};
|
|
554
|
+
function Me(e, r, n, a, f, x) {
|
|
555
555
|
{
|
|
556
|
-
var l =
|
|
556
|
+
var l = j(e);
|
|
557
557
|
if (!l) {
|
|
558
558
|
var c = "";
|
|
559
559
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " 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 P = _t();
|
|
561
|
-
P ? c += P : c +=
|
|
561
|
+
P ? c += P : c += De();
|
|
562
562
|
var N;
|
|
563
|
-
e === null ? N = "null" :
|
|
563
|
+
e === null ? N = "null" : de(e) ? N = "array" : e !== void 0 && e.$$typeof === _ ? (N = "<" + ($(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : N = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, c);
|
|
564
564
|
}
|
|
565
|
-
var E = gt(e, r, n, f,
|
|
565
|
+
var E = gt(e, r, n, f, x);
|
|
566
566
|
if (E == null)
|
|
567
567
|
return E;
|
|
568
568
|
if (l) {
|
|
569
569
|
var L = r.children;
|
|
570
570
|
if (L !== void 0)
|
|
571
571
|
if (a)
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
|
|
572
|
+
if (de(L)) {
|
|
573
|
+
for (var K = 0; K < L.length; K++)
|
|
574
|
+
We(L[K], e);
|
|
575
575
|
Object.freeze && Object.freeze(L);
|
|
576
576
|
} else
|
|
577
577
|
C("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(L, e);
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
581
|
+
if (X.call(r, "key")) {
|
|
582
582
|
var V = $(e), S = Object.keys(r).filter(function(kt) {
|
|
583
583
|
return kt !== "key";
|
|
584
|
-
}),
|
|
585
|
-
if (
|
|
584
|
+
}), me = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!$e[V + me]) {
|
|
586
586
|
var Tt = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
C(`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} />`,
|
|
592
|
+
<%s key={someKey} {...props} />`, me, V, Tt, V), $e[V + me] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
return e === u ? yt(E) : jt(E), E;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function wt(e, r, n) {
|
|
599
|
-
return
|
|
599
|
+
return Me(e, r, n, !0);
|
|
600
600
|
}
|
|
601
601
|
function Nt(e, r, n) {
|
|
602
|
-
return
|
|
602
|
+
return Me(e, r, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var Ct = Nt, Et = wt;
|
|
605
|
-
|
|
606
|
-
})()),
|
|
605
|
+
Q.Fragment = u, Q.jsx = Ct, Q.jsxs = Et;
|
|
606
|
+
})()), Q;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
608
|
+
var Ue;
|
|
609
609
|
function St() {
|
|
610
|
-
return
|
|
610
|
+
return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? se.exports = Rt() : se.exports = Pt()), se.exports;
|
|
611
611
|
}
|
|
612
612
|
var t = St();
|
|
613
613
|
const It = {
|
|
@@ -709,53 +709,53 @@ const It = {
|
|
|
709
709
|
}, Lt = {
|
|
710
710
|
en: It,
|
|
711
711
|
hi: Ft
|
|
712
|
-
},
|
|
712
|
+
}, Qe = Ze(null), qr = ({
|
|
713
713
|
locale: i,
|
|
714
714
|
children: _
|
|
715
715
|
}) => {
|
|
716
|
-
const u = { locale: i, t: (
|
|
717
|
-
return /* @__PURE__ */ t.jsx(
|
|
716
|
+
const u = { locale: i, t: (v) => Lt[i]?.[v] ?? v };
|
|
717
|
+
return /* @__PURE__ */ t.jsx(Qe.Provider, { value: u, children: _ });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function ve() {
|
|
720
|
+
return Xe(Qe);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const i =
|
|
722
|
+
const et = Ze(void 0), tt = () => {
|
|
723
|
+
const i = Xe(et);
|
|
724
724
|
if (!i)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return i;
|
|
727
|
-
},
|
|
727
|
+
}, zr = ({
|
|
728
728
|
children: i
|
|
729
729
|
}) => {
|
|
730
|
-
const [_,
|
|
730
|
+
const [_, y] = I(null), [u, v] = I(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
|
-
|
|
732
|
+
et.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: _,
|
|
736
|
-
setUserData:
|
|
736
|
+
setUserData: y,
|
|
737
737
|
showSuccess: u,
|
|
738
|
-
setShowSuccess:
|
|
738
|
+
setShowSuccess: v
|
|
739
739
|
},
|
|
740
740
|
children: i
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
}, Ot = "_landingPage_14yn1_1",
|
|
743
|
+
}, Ot = "_landingPage_14yn1_1", He = {
|
|
744
744
|
landingPage: Ot,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
746
|
}, Dt = ({ targetDate: i }) => {
|
|
747
|
-
const
|
|
747
|
+
const y = ve()?.t || ((m) => m), u = () => {
|
|
748
748
|
const p = (typeof i == "string" ? new Date(i) : i).getTime() - Date.now();
|
|
749
749
|
if (p > 0) {
|
|
750
750
|
const k = Math.floor(p / 864e5), d = Math.floor(p % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), w = Math.floor(p % (1e3 * 60 * 60) / (1e3 * 60)), T = Math.floor(p % (1e3 * 60) / 1e3);
|
|
751
751
|
return { days: k, hours: d, minutes: w, seconds: T };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [
|
|
754
|
+
}, [v, h] = I({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
M(() => {
|
|
756
|
-
|
|
756
|
+
h(u());
|
|
757
757
|
const m = setInterval(() => {
|
|
758
|
-
|
|
758
|
+
h(u());
|
|
759
759
|
}, 1e3);
|
|
760
760
|
return () => clearInterval(m);
|
|
761
761
|
}, [i]);
|
|
@@ -763,26 +763,26 @@ const Qe = Xe(void 0), et = () => {
|
|
|
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: s(
|
|
767
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
766
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(v.days) }),
|
|
767
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: y("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: s(
|
|
772
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
771
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(v.hours) }),
|
|
772
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: y("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: s(
|
|
777
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
776
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(v.minutes) }),
|
|
777
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: y("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: s(
|
|
782
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
781
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(v.seconds) }),
|
|
782
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: y("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
785
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children:
|
|
785
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: y("timerLabel") })
|
|
786
786
|
] });
|
|
787
787
|
}, At = [
|
|
788
788
|
{
|
|
@@ -800,7 +800,7 @@ const Qe = Xe(void 0), et = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Ke = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -870,31 +870,31 @@ const Qe = Xe(void 0), et = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], Gr = ({
|
|
874
874
|
targetDate: i,
|
|
875
875
|
onSubmit: _,
|
|
876
|
-
isGlobal:
|
|
876
|
+
isGlobal: y = !1,
|
|
877
877
|
analytics: u,
|
|
878
|
-
showToast:
|
|
878
|
+
showToast: v
|
|
879
879
|
}) => {
|
|
880
|
-
const s =
|
|
880
|
+
const s = ve()?.t || ((b) => b), [m, p] = I(y ? "+1" : "+91"), [k, d] = I(!1), { setUserData: w, setShowSuccess: T } = tt(), [R, D] = I(""), [F, A] = I(""), O = xe(!1), C = `${m}-${F}`, q = Ke.find(
|
|
881
881
|
(b) => b.code === m
|
|
882
882
|
);
|
|
883
883
|
M(() => {
|
|
884
884
|
!O.current && u?.trackLandingPageViewed && (u.trackLandingPageViewed(), O.current = !0);
|
|
885
885
|
}, [u]);
|
|
886
|
-
const
|
|
886
|
+
const z = (b) => {
|
|
887
887
|
if (b.preventDefault(), !R || R.trim() === "") {
|
|
888
|
-
|
|
888
|
+
v?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
890
890
|
}
|
|
891
891
|
if (!F || F.length !== 10) {
|
|
892
|
-
|
|
892
|
+
v?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
u?.trackSubmitClicked?.(), w({ name: R, fullPhoneNumber: C }),
|
|
895
|
+
u?.trackSubmitClicked?.(), w({ name: R, fullPhoneNumber: C }), v?.("success", "Registration Successful"), T(!0), _?.({ name: R, fullPhoneNumber: C });
|
|
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: He.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
|
{
|
|
@@ -923,7 +923,7 @@ const Qe = Xe(void 0), et = () => {
|
|
|
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: s("formTitle") }),
|
|
926
|
-
/* @__PURE__ */ t.jsxs("form", { onSubmit:
|
|
926
|
+
/* @__PURE__ */ t.jsxs("form", { onSubmit: z, 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: s("nameLabel") }),
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
@@ -949,11 +949,11 @@ const Qe = Xe(void 0), et = () => {
|
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
951
|
onClick: () => d(!k),
|
|
952
|
-
className: `${
|
|
953
|
-
children:
|
|
952
|
+
className: `${He["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
|
+
children: q?.code
|
|
954
954
|
}
|
|
955
955
|
),
|
|
956
|
-
k && /* @__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
|
+
k && /* @__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: Ke.map((b) => /* @__PURE__ */ t.jsxs(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
959
959
|
onClick: () => {
|
|
@@ -1011,7 +1011,7 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1011
1011
|
] }, B)) })
|
|
1012
1012
|
] }) })
|
|
1013
1013
|
] }) });
|
|
1014
|
-
}, Bt = "_successPage_8t8j5_1", Wt = "_profileImageContainer_8t8j5_7", $t = "_profileImage_8t8j5_7", Mt = "_greeting_8t8j5_19", Yt = "_jaiShreeRam_8t8j5_23", Vt = "_userName_8t8j5_29", Ut = "_registrationCard_8t8j5_34", Ht = "_registeredText_8t8j5_48", Kt = "_eventName_8t8j5_53", Jt = "_eventDetails_8t8j5_61", qt = "_whatsappButton_8t8j5_66", zt = "_redirectInfo_8t8j5_75", Gt = "_redirectText_8t8j5_79", Xt = "_countdown_8t8j5_84", Zt = "_nextSteps_8t8j5_90", Qt = "_nextStepsTitle_8t8j5_96", er = "_stepsList_8t8j5_101", tr = "_step_8t8j5_101", rr = "_stepNumber_8t8j5_109", nr = "_stepText_8t8j5_113",
|
|
1014
|
+
}, Bt = "_successPage_8t8j5_1", Wt = "_profileImageContainer_8t8j5_7", $t = "_profileImage_8t8j5_7", Mt = "_greeting_8t8j5_19", Yt = "_jaiShreeRam_8t8j5_23", Vt = "_userName_8t8j5_29", Ut = "_registrationCard_8t8j5_34", Ht = "_registeredText_8t8j5_48", Kt = "_eventName_8t8j5_53", Jt = "_eventDetails_8t8j5_61", qt = "_whatsappButton_8t8j5_66", zt = "_redirectInfo_8t8j5_75", Gt = "_redirectText_8t8j5_79", Xt = "_countdown_8t8j5_84", Zt = "_nextSteps_8t8j5_90", Qt = "_nextStepsTitle_8t8j5_96", er = "_stepsList_8t8j5_101", tr = "_step_8t8j5_101", rr = "_stepNumber_8t8j5_109", nr = "_stepText_8t8j5_113", g = {
|
|
1015
1015
|
successPage: Bt,
|
|
1016
1016
|
profileImageContainer: Wt,
|
|
1017
1017
|
profileImage: $t,
|
|
@@ -1032,18 +1032,18 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1032
1032
|
step: tr,
|
|
1033
1033
|
stepNumber: rr,
|
|
1034
1034
|
stepText: nr
|
|
1035
|
-
}, ar = "918151810300", sr = "I'm interested in the Rasrajji Hanuman Jayanti Path",
|
|
1035
|
+
}, ar = "918151810300", sr = "I'm interested in the Rasrajji Hanuman Jayanti Path", Je = `https://wa.me/${ar}?text=${encodeURIComponent(sr)}`, Xr = ({
|
|
1036
1036
|
userName: i = "Rahul",
|
|
1037
1037
|
eventName: _ = "Hanuman Jayanti Maha Path",
|
|
1038
|
-
eventDate:
|
|
1038
|
+
eventDate: y = "2nd April",
|
|
1039
1039
|
eventTime: u = "9:00 AM onwards",
|
|
1040
|
-
onWhatsAppClick:
|
|
1041
|
-
redirectSeconds:
|
|
1040
|
+
onWhatsAppClick: v,
|
|
1041
|
+
redirectSeconds: h = 10,
|
|
1042
1042
|
analytics: s,
|
|
1043
1043
|
showToast: m,
|
|
1044
1044
|
disableRedirect: p = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const d =
|
|
1046
|
+
const d = ve()?.t || ((A) => A), { userData: w } = tt(), [T, R] = I(h), D = xe(!1), F = w?.name || i;
|
|
1047
1047
|
return M(() => {
|
|
1048
1048
|
!D.current && s?.trackSuccessPageViewed && (s.trackSuccessPageViewed({
|
|
1049
1049
|
name: w?.name,
|
|
@@ -1054,33 +1054,33 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1054
1054
|
if (T > 0) {
|
|
1055
1055
|
const A = setTimeout(() => R(T - 1), 1e3);
|
|
1056
1056
|
return () => clearTimeout(A);
|
|
1057
|
-
} else T === 0 && (window.location.href =
|
|
1058
|
-
}, [T, p]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
1059
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1057
|
+
} else T === 0 && (window.location.href = Je);
|
|
1058
|
+
}, [T, p]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: g.successPage, children: [
|
|
1059
|
+
/* @__PURE__ */ t.jsx("div", { className: g.profileImageContainer, children: /* @__PURE__ */ t.jsx(
|
|
1060
1060
|
"img",
|
|
1061
1061
|
{
|
|
1062
1062
|
src: "https://srm-cdn.a4b.io/yoda/1774094253562.webp",
|
|
1063
1063
|
alt: "Profile",
|
|
1064
|
-
className:
|
|
1064
|
+
className: g.profileImage,
|
|
1065
1065
|
width: 88,
|
|
1066
1066
|
height: 88,
|
|
1067
1067
|
loading: "eager"
|
|
1068
1068
|
}
|
|
1069
1069
|
) }),
|
|
1070
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1071
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1072
|
-
/* @__PURE__ */ t.jsxs("h1", { className:
|
|
1070
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.greeting, children: [
|
|
1071
|
+
/* @__PURE__ */ t.jsx("p", { className: g.jaiShreeRam, children: d("jaiShreeRam") }),
|
|
1072
|
+
/* @__PURE__ */ t.jsxs("h1", { className: g.userName, children: [
|
|
1073
1073
|
d("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
1075
|
F,
|
|
1076
1076
|
" Ji"
|
|
1077
1077
|
] })
|
|
1078
1078
|
] }),
|
|
1079
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1080
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1081
|
-
/* @__PURE__ */ t.jsx("h2", { className:
|
|
1082
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1083
|
-
|
|
1079
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.registrationCard, children: [
|
|
1080
|
+
/* @__PURE__ */ t.jsx("p", { className: g.registeredText, children: d("registeredFor") }),
|
|
1081
|
+
/* @__PURE__ */ t.jsx("h2", { className: g.eventName, children: _ }),
|
|
1082
|
+
/* @__PURE__ */ t.jsxs("p", { className: g.eventDetails, children: [
|
|
1083
|
+
y,
|
|
1084
1084
|
" · ",
|
|
1085
1085
|
u
|
|
1086
1086
|
] })
|
|
@@ -1088,43 +1088,43 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
1089
1089
|
"button",
|
|
1090
1090
|
{
|
|
1091
|
-
className:
|
|
1091
|
+
className: g.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
1093
|
s?.trackWhatsappBtnClicked?.(), m?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
|
-
window.location.href =
|
|
1095
|
-
}, 500),
|
|
1094
|
+
window.location.href = Je;
|
|
1095
|
+
}, 500), v?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
1098
|
children: d("sendlinkonwhatsapp")
|
|
1099
1099
|
}
|
|
1100
1100
|
),
|
|
1101
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1102
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1103
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1101
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.redirectInfo, children: [
|
|
1102
|
+
/* @__PURE__ */ t.jsx("p", { className: g.redirectText, children: d("redirectingIn") }),
|
|
1103
|
+
/* @__PURE__ */ t.jsxs("p", { className: g.countdown, children: [
|
|
1104
1104
|
T.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
1106
|
d("seconds")
|
|
1107
1107
|
] })
|
|
1108
1108
|
] }),
|
|
1109
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1110
|
-
/* @__PURE__ */ t.jsx("h3", { className:
|
|
1111
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1112
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1113
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1114
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1109
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.nextSteps, children: [
|
|
1110
|
+
/* @__PURE__ */ t.jsx("h3", { className: g.nextStepsTitle, children: d("whatHappensNext") }),
|
|
1111
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.stepsList, children: [
|
|
1112
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.step, children: [
|
|
1113
|
+
/* @__PURE__ */ t.jsx("span", { className: g.stepNumber, children: "1" }),
|
|
1114
|
+
/* @__PURE__ */ t.jsx("p", { className: g.stepText, children: d("step1") })
|
|
1115
1115
|
] }),
|
|
1116
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1117
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1118
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1116
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.step, children: [
|
|
1117
|
+
/* @__PURE__ */ t.jsx("span", { className: g.stepNumber, children: "2" }),
|
|
1118
|
+
/* @__PURE__ */ t.jsx("p", { className: g.stepText, children: d("step2") })
|
|
1119
1119
|
] }),
|
|
1120
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1121
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1122
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1120
|
+
/* @__PURE__ */ t.jsxs("div", { className: g.step, children: [
|
|
1121
|
+
/* @__PURE__ */ t.jsx("span", { className: g.stepNumber, children: "3" }),
|
|
1122
|
+
/* @__PURE__ */ t.jsx("p", { className: g.stepText, children: d("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
}, ir = "_container_pjakb_1", or = "_toggleBar_pjakb_8", cr = "_toggleLabel_pjakb_14", lr = "_video_pjakb_23", dr = "_videoFullscreen_pjakb_28", ur = "_videoFullscreenWithBelowBanner_pjakb_35", pr = "_banner_pjakb_42", fr = "_bannerOverlay_pjakb_52", mr = "_bannerCard_pjakb_60", hr = "_bannerTitle_pjakb_68", xr = "_scroll_pjakb_79", vr = "_card_pjakb_86", gr = "_divider_pjakb_96", _r = "_chat_pjakb_105", br = "_iframe_pjakb_111", jr = "_fullscreenBtn_pjakb_118", yr = "
|
|
1127
|
+
}, ir = "_container_pjakb_1", or = "_toggleBar_pjakb_8", cr = "_toggleLabel_pjakb_14", lr = "_video_pjakb_23", dr = "_videoFullscreen_pjakb_28", ur = "_videoFullscreenWithBelowBanner_pjakb_35", pr = "_banner_pjakb_42", fr = "_bannerOverlay_pjakb_52", mr = "_bannerCard_pjakb_60", hr = "_bannerTitle_pjakb_68", xr = "_scroll_pjakb_79", vr = "_card_pjakb_86", gr = "_divider_pjakb_96", _r = "_chat_pjakb_105", br = "_iframe_pjakb_111", jr = "_fullscreenBtn_pjakb_118", yr = "_chatToggleBtn_pjakb_156", wr = "_fullscreenChatPanel_pjakb_180", Nr = "_fullscreenChatCloseBtn_pjakb_193", Cr = "_chatLoader_pjakb_222", Er = "_chatLoaderCompact_pjakb_235", Tr = "_spinner_pjakb_239", kr = "_spinnerRing_pjakb_245", Rr = "_chatLoaderText_pjakb_262", Pr = "_imageWrapper_pjakb_274", Sr = "_image_pjakb_274", Ir = "_addBtn_pjakb_286", Fr = "_title_pjakb_300", Lr = "_price_pjakb_307", Or = "_landscapeCard_pjakb_313", Dr = "_landscapeImageWrapper_pjakb_326", Ar = "_landscapeImage_pjakb_326", Br = "_landscapeContent_pjakb_339", Wr = "_landscapeTitle_pjakb_346", $r = "_landscapePrice_pjakb_352", Mr = "_landscapeAdd_pjakb_358", o = {
|
|
1128
1128
|
container: ir,
|
|
1129
1129
|
toggleBar: or,
|
|
1130
1130
|
toggleLabel: cr,
|
|
@@ -1141,45 +1141,44 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1141
1141
|
chat: _r,
|
|
1142
1142
|
iframe: br,
|
|
1143
1143
|
fullscreenBtn: jr,
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
}, Vr = "2281016c-061e-42c2-95f7-dba2d6ed7a26", Ur = "ffcee681-0147-4297-96a5-fa354d0928d3", Hr = typeof globalThis < "u" && "process" in globalThis && globalThis.process?.env ? globalThis.process?.env?.NEXT_PUBLIC_ENV : void 0, K = Hr === "production" ? Vr : Ur, Je = [
|
|
1144
|
+
chatToggleBtn: yr,
|
|
1145
|
+
fullscreenChatPanel: wr,
|
|
1146
|
+
fullscreenChatCloseBtn: Nr,
|
|
1147
|
+
chatLoader: Cr,
|
|
1148
|
+
chatLoaderCompact: Er,
|
|
1149
|
+
spinner: Tr,
|
|
1150
|
+
spinnerRing: kr,
|
|
1151
|
+
chatLoaderText: Rr,
|
|
1152
|
+
imageWrapper: Pr,
|
|
1153
|
+
image: Sr,
|
|
1154
|
+
addBtn: Ir,
|
|
1155
|
+
title: Fr,
|
|
1156
|
+
price: Lr,
|
|
1157
|
+
landscapeCard: Or,
|
|
1158
|
+
landscapeImageWrapper: Dr,
|
|
1159
|
+
landscapeImage: Ar,
|
|
1160
|
+
landscapeContent: Br,
|
|
1161
|
+
landscapeTitle: Wr,
|
|
1162
|
+
landscapePrice: $r,
|
|
1163
|
+
landscapeAdd: Mr
|
|
1164
|
+
}, Yr = "2281016c-061e-42c2-95f7-dba2d6ed7a26", Vr = "ffcee681-0147-4297-96a5-fa354d0928d3", Ur = typeof globalThis < "u" && "process" in globalThis && globalThis.process?.env ? globalThis.process?.env?.NEXT_PUBLIC_ENV : void 0, J = Ur === "production" ? Yr : Vr, qe = [
|
|
1166
1165
|
{
|
|
1167
1166
|
afterTime: "2024-01-01T00:00:00Z",
|
|
1168
1167
|
items: [
|
|
1169
1168
|
{
|
|
1170
|
-
inventory_id:
|
|
1169
|
+
inventory_id: J,
|
|
1171
1170
|
name: "Sindoor",
|
|
1172
1171
|
price: 101,
|
|
1173
1172
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1174
1173
|
},
|
|
1175
1174
|
{
|
|
1176
|
-
inventory_id:
|
|
1175
|
+
inventory_id: J,
|
|
1177
1176
|
name: "Peda",
|
|
1178
1177
|
price: 101,
|
|
1179
1178
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1180
1179
|
},
|
|
1181
1180
|
{
|
|
1182
|
-
inventory_id:
|
|
1181
|
+
inventory_id: J,
|
|
1183
1182
|
name: "Sindoor + Peda",
|
|
1184
1183
|
price: 151,
|
|
1185
1184
|
original_price: 202,
|
|
@@ -1192,19 +1191,19 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1192
1191
|
afterTime: "2024-08-01T00:00:00Z",
|
|
1193
1192
|
items: [
|
|
1194
1193
|
{
|
|
1195
|
-
inventory_id:
|
|
1194
|
+
inventory_id: J,
|
|
1196
1195
|
name: "Sindoor",
|
|
1197
1196
|
price: 101,
|
|
1198
1197
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1199
1198
|
},
|
|
1200
1199
|
{
|
|
1201
|
-
inventory_id:
|
|
1200
|
+
inventory_id: J,
|
|
1202
1201
|
name: "Peda",
|
|
1203
1202
|
price: 101,
|
|
1204
1203
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1205
1204
|
},
|
|
1206
1205
|
{
|
|
1207
|
-
inventory_id:
|
|
1206
|
+
inventory_id: J,
|
|
1208
1207
|
name: "Sindoor + Peda",
|
|
1209
1208
|
price: 151,
|
|
1210
1209
|
original_price: 202,
|
|
@@ -1213,24 +1212,24 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1213
1212
|
}
|
|
1214
1213
|
]
|
|
1215
1214
|
}
|
|
1216
|
-
],
|
|
1215
|
+
], Zr = ({
|
|
1217
1216
|
videoId: i,
|
|
1218
1217
|
title: _ = "Live Stream",
|
|
1219
|
-
chatHost:
|
|
1218
|
+
chatHost: y,
|
|
1220
1219
|
onOfferingClick: u
|
|
1221
1220
|
}) => {
|
|
1222
|
-
const
|
|
1221
|
+
const v = xe(null), [h, s] = I(!1), [m, p] = I(!0), [k, d] = I(!1), [w, T] = I(!0), [R, D] = I(!1), [F, A] = I(!1), O = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", C = typeof window < "u" ? window.location.hostname : "www.srimandir.com", q = (y || C).replace(/^https?:\/\//, "").replace(/\/$/, "") || "www.srimandir.com", z = `https://www.youtube-nocookie.com/embed/${i}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(O)}`, b = `https://www.youtube.com/live_chat?v=${i}&embed_domain=${q}`, B = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1223
1222
|
M(() => {
|
|
1224
|
-
const
|
|
1223
|
+
const j = () => {
|
|
1225
1224
|
A(window.innerWidth > window.innerHeight);
|
|
1226
1225
|
};
|
|
1227
|
-
return
|
|
1226
|
+
return j(), window.addEventListener("resize", j), () => window.removeEventListener("resize", j);
|
|
1228
1227
|
}, []);
|
|
1229
|
-
const
|
|
1230
|
-
const
|
|
1231
|
-
if (
|
|
1228
|
+
const ie = async () => {
|
|
1229
|
+
const j = v.current;
|
|
1230
|
+
if (j?.requestFullscreen)
|
|
1232
1231
|
try {
|
|
1233
|
-
await
|
|
1232
|
+
await j.requestFullscreen();
|
|
1234
1233
|
} catch (W) {
|
|
1235
1234
|
console.error("Fullscreen error:", W);
|
|
1236
1235
|
}
|
|
@@ -1241,38 +1240,42 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1241
1240
|
console.error("Orientation lock error:", W);
|
|
1242
1241
|
}
|
|
1243
1242
|
s(!0);
|
|
1244
|
-
},
|
|
1243
|
+
}, ee = async () => {
|
|
1245
1244
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
1246
1245
|
try {
|
|
1247
1246
|
await document.exitFullscreen();
|
|
1248
|
-
} catch (
|
|
1249
|
-
console.error("Exit fullscreen error:",
|
|
1247
|
+
} catch (j) {
|
|
1248
|
+
console.error("Exit fullscreen error:", j);
|
|
1250
1249
|
}
|
|
1251
1250
|
try {
|
|
1252
|
-
const
|
|
1253
|
-
|
|
1254
|
-
} catch (
|
|
1255
|
-
console.error("Orientation unlock error:",
|
|
1251
|
+
const j = screen.orientation;
|
|
1252
|
+
j?.unlock && j.unlock();
|
|
1253
|
+
} catch (j) {
|
|
1254
|
+
console.error("Orientation unlock error:", j);
|
|
1256
1255
|
}
|
|
1257
1256
|
s(!1);
|
|
1258
1257
|
};
|
|
1259
|
-
|
|
1260
|
-
const
|
|
1258
|
+
M(() => {
|
|
1259
|
+
const j = () => {
|
|
1261
1260
|
document.fullscreenElement || s(!1);
|
|
1262
1261
|
};
|
|
1263
|
-
return document.addEventListener("fullscreenchange",
|
|
1262
|
+
return document.addEventListener("fullscreenchange", j), () => document.removeEventListener("fullscreenchange", j);
|
|
1264
1263
|
}, []), M(() => {
|
|
1265
|
-
|
|
1266
|
-
}, [
|
|
1264
|
+
h || d(!1);
|
|
1265
|
+
}, [h]), M(() => {
|
|
1267
1266
|
k && D(!0);
|
|
1268
|
-
}, [k])
|
|
1269
|
-
|
|
1267
|
+
}, [k]);
|
|
1268
|
+
const U = async (j) => {
|
|
1269
|
+
h && document.fullscreenElement && await ee(), u && await u(j);
|
|
1270
|
+
};
|
|
1271
|
+
return /* @__PURE__ */ t.jsxs("div", { ref: v, className: o.container, children: [
|
|
1272
|
+
!h && /* @__PURE__ */ t.jsx("div", { className: o.toggleBar, children: /* @__PURE__ */ t.jsxs("label", { className: o.toggleLabel, children: [
|
|
1270
1273
|
/* @__PURE__ */ t.jsx(
|
|
1271
1274
|
"input",
|
|
1272
1275
|
{
|
|
1273
1276
|
type: "checkbox",
|
|
1274
1277
|
checked: m,
|
|
1275
|
-
onChange: (
|
|
1278
|
+
onChange: (j) => p(j.target.checked)
|
|
1276
1279
|
}
|
|
1277
1280
|
),
|
|
1278
1281
|
"Overlay items in fullscreen"
|
|
@@ -1280,12 +1283,12 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1280
1283
|
/* @__PURE__ */ t.jsxs(
|
|
1281
1284
|
"div",
|
|
1282
1285
|
{
|
|
1283
|
-
className:
|
|
1286
|
+
className: h ? m ? o.videoFullscreen : o.videoFullscreenWithBelowBanner : o.video,
|
|
1284
1287
|
children: [
|
|
1285
1288
|
/* @__PURE__ */ t.jsx(
|
|
1286
1289
|
"iframe",
|
|
1287
1290
|
{
|
|
1288
|
-
src:
|
|
1291
|
+
src: z,
|
|
1289
1292
|
title: _,
|
|
1290
1293
|
frameBorder: "0",
|
|
1291
1294
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -1294,13 +1297,20 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1294
1297
|
className: o.iframe
|
|
1295
1298
|
}
|
|
1296
1299
|
),
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
+
/* @__PURE__ */ t.jsx(
|
|
1301
|
+
"button",
|
|
1302
|
+
{
|
|
1303
|
+
className: o.fullscreenBtn,
|
|
1304
|
+
onClick: h ? ee : ie,
|
|
1305
|
+
"aria-label": h ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
1306
|
+
children: h ? "Exit" : "⛶"
|
|
1307
|
+
}
|
|
1308
|
+
),
|
|
1309
|
+
h && /* @__PURE__ */ t.jsx(
|
|
1300
1310
|
"button",
|
|
1301
1311
|
{
|
|
1302
1312
|
className: o.chatToggleBtn,
|
|
1303
|
-
onClick: () => d((
|
|
1313
|
+
onClick: () => d((j) => !j),
|
|
1304
1314
|
"aria-label": k ? "Hide Chat" : "Show Chat",
|
|
1305
1315
|
children: k ? (
|
|
1306
1316
|
// Close icon
|
|
@@ -1314,15 +1324,15 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1314
1324
|
)
|
|
1315
1325
|
}
|
|
1316
1326
|
),
|
|
1317
|
-
|
|
1318
|
-
|
|
1327
|
+
h && m && /* @__PURE__ */ t.jsx(
|
|
1328
|
+
he,
|
|
1319
1329
|
{
|
|
1320
1330
|
overlay: !0,
|
|
1321
1331
|
isLandscape: F,
|
|
1322
|
-
onOfferingClick:
|
|
1332
|
+
onOfferingClick: U
|
|
1323
1333
|
}
|
|
1324
1334
|
),
|
|
1325
|
-
|
|
1335
|
+
h && k && /* @__PURE__ */ t.jsxs("div", { className: o.fullscreenChatPanel, children: [
|
|
1326
1336
|
/* @__PURE__ */ t.jsx(
|
|
1327
1337
|
"button",
|
|
1328
1338
|
{
|
|
@@ -1335,7 +1345,7 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1335
1345
|
] })
|
|
1336
1346
|
}
|
|
1337
1347
|
),
|
|
1338
|
-
R && /* @__PURE__ */ t.jsx(
|
|
1348
|
+
R && /* @__PURE__ */ t.jsx(ze, { message: "Loading chat...", compact: !0 }),
|
|
1339
1349
|
/* @__PURE__ */ t.jsx(
|
|
1340
1350
|
"iframe",
|
|
1341
1351
|
{
|
|
@@ -1351,11 +1361,23 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1351
1361
|
]
|
|
1352
1362
|
}
|
|
1353
1363
|
),
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1364
|
+
h && !m && /* @__PURE__ */ t.jsx(
|
|
1365
|
+
he,
|
|
1366
|
+
{
|
|
1367
|
+
isLandscape: F,
|
|
1368
|
+
onOfferingClick: U
|
|
1369
|
+
}
|
|
1370
|
+
),
|
|
1371
|
+
!h && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1372
|
+
/* @__PURE__ */ t.jsx(
|
|
1373
|
+
he,
|
|
1374
|
+
{
|
|
1375
|
+
isLandscape: F,
|
|
1376
|
+
onOfferingClick: U
|
|
1377
|
+
}
|
|
1378
|
+
),
|
|
1357
1379
|
/* @__PURE__ */ t.jsxs("div", { className: o.chat, children: [
|
|
1358
|
-
w && /* @__PURE__ */ t.jsx(
|
|
1380
|
+
w && /* @__PURE__ */ t.jsx(ze, { message: "Loading chat..." }),
|
|
1359
1381
|
/* @__PURE__ */ t.jsx(
|
|
1360
1382
|
"iframe",
|
|
1361
1383
|
{
|
|
@@ -1371,24 +1393,24 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1371
1393
|
] })
|
|
1372
1394
|
] });
|
|
1373
1395
|
};
|
|
1374
|
-
function
|
|
1396
|
+
function ze({ message: i, compact: _ = !1 }) {
|
|
1375
1397
|
return /* @__PURE__ */ t.jsxs("div", { className: `${o.chatLoader} ${_ ? o.chatLoaderCompact : ""}`, children: [
|
|
1376
1398
|
/* @__PURE__ */ t.jsx("div", { className: o.spinner, children: /* @__PURE__ */ t.jsx("div", { className: o.spinnerRing }) }),
|
|
1377
1399
|
/* @__PURE__ */ t.jsx("div", { className: o.chatLoaderText, children: i })
|
|
1378
1400
|
] });
|
|
1379
1401
|
}
|
|
1380
|
-
function
|
|
1402
|
+
function he({
|
|
1381
1403
|
overlay: i,
|
|
1382
1404
|
isLandscape: _,
|
|
1383
|
-
onOfferingClick:
|
|
1405
|
+
onOfferingClick: y
|
|
1384
1406
|
}) {
|
|
1385
|
-
const
|
|
1407
|
+
const v = (() => {
|
|
1386
1408
|
const s = /* @__PURE__ */ new Date();
|
|
1387
|
-
return
|
|
1388
|
-
})(),
|
|
1389
|
-
if (
|
|
1409
|
+
return qe.slice().reverse().find((p) => new Date(p.afterTime) <= s) || qe[0];
|
|
1410
|
+
})(), h = async (s) => {
|
|
1411
|
+
if (y)
|
|
1390
1412
|
try {
|
|
1391
|
-
await
|
|
1413
|
+
await y(s);
|
|
1392
1414
|
} catch (m) {
|
|
1393
1415
|
console.error("Offering click handler failed:", m);
|
|
1394
1416
|
}
|
|
@@ -1399,31 +1421,31 @@ function me({
|
|
|
1399
1421
|
/* @__PURE__ */ t.jsx("span", { children: "Live" }),
|
|
1400
1422
|
" Offering on your behalf"
|
|
1401
1423
|
] }),
|
|
1402
|
-
/* @__PURE__ */ t.jsx("div", { className: o.scroll, children:
|
|
1424
|
+
/* @__PURE__ */ t.jsx("div", { className: o.scroll, children: v.items.map(
|
|
1403
1425
|
(s, m) => _ ? /* @__PURE__ */ t.jsx(
|
|
1404
|
-
|
|
1426
|
+
Kr,
|
|
1405
1427
|
{
|
|
1406
1428
|
item: s,
|
|
1407
|
-
onClick: () =>
|
|
1429
|
+
onClick: () => h(s)
|
|
1408
1430
|
},
|
|
1409
1431
|
s.inventory_id
|
|
1410
1432
|
) : /* @__PURE__ */ t.jsx(
|
|
1411
|
-
|
|
1433
|
+
Hr,
|
|
1412
1434
|
{
|
|
1413
1435
|
item: s,
|
|
1414
1436
|
index: m,
|
|
1415
|
-
totalItems:
|
|
1416
|
-
onClick: () =>
|
|
1437
|
+
totalItems: v.items.length,
|
|
1438
|
+
onClick: () => h(s)
|
|
1417
1439
|
},
|
|
1418
1440
|
s.inventory_id
|
|
1419
1441
|
)
|
|
1420
1442
|
) })
|
|
1421
1443
|
] }) });
|
|
1422
1444
|
}
|
|
1423
|
-
function
|
|
1445
|
+
function Hr({
|
|
1424
1446
|
item: i,
|
|
1425
1447
|
index: _,
|
|
1426
|
-
totalItems:
|
|
1448
|
+
totalItems: y,
|
|
1427
1449
|
onClick: u
|
|
1428
1450
|
}) {
|
|
1429
1451
|
return /* @__PURE__ */ t.jsxs("div", { className: o.card, children: [
|
|
@@ -1436,10 +1458,10 @@ function Kr({
|
|
|
1436
1458
|
"₹",
|
|
1437
1459
|
i.price
|
|
1438
1460
|
] }),
|
|
1439
|
-
_ !==
|
|
1461
|
+
_ !== y - 1 && /* @__PURE__ */ t.jsx("div", { className: o.divider })
|
|
1440
1462
|
] });
|
|
1441
1463
|
}
|
|
1442
|
-
function
|
|
1464
|
+
function Kr({
|
|
1443
1465
|
item: i,
|
|
1444
1466
|
onClick: _
|
|
1445
1467
|
}) {
|
|
@@ -1458,12 +1480,12 @@ function Jr({
|
|
|
1458
1480
|
] });
|
|
1459
1481
|
}
|
|
1460
1482
|
export {
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1483
|
+
zr as AppContextProvider,
|
|
1484
|
+
qr as I18nProvider,
|
|
1485
|
+
Gr as LandingPage,
|
|
1486
|
+
Xr as SuccessPage,
|
|
1487
|
+
Zr as VideoPage,
|
|
1488
|
+
tt as useAppContext,
|
|
1489
|
+
ve as useI18n
|
|
1468
1490
|
};
|
|
1469
1491
|
//# sourceMappingURL=hanuman-chalisa.js.map
|