@srimandir/hanuman-chalisa 1.7.0 → 1.7.2
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 +443 -443
- package/dist/hanuman-chalisa.js.map +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
import qe, { useContext as ze, createContext as Ge, useState as I, useEffect as M, useRef as fe } from "react";
|
|
2
|
+
var ae = { exports: {} }, X = {};
|
|
3
|
+
var We;
|
|
4
4
|
function Rt() {
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var i =
|
|
8
|
-
function s(
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
for (
|
|
12
|
-
if (
|
|
13
|
-
return { $$typeof: _, type:
|
|
5
|
+
if (We) return X;
|
|
6
|
+
We = 1;
|
|
7
|
+
var i = qe, _ = /* @__PURE__ */ Symbol.for("react.element"), b = /* @__PURE__ */ Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, x = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function s(f, d, R) {
|
|
9
|
+
var u, y = {}, C = null, k = null;
|
|
10
|
+
R !== void 0 && (C = "" + R), d.key !== void 0 && (C = "" + d.key), d.ref !== void 0 && (k = d.ref);
|
|
11
|
+
for (u in d) p.call(d, u) && !g.hasOwnProperty(u) && (y[u] = d[u]);
|
|
12
|
+
if (f && f.defaultProps) for (u in d = f.defaultProps, d) y[u] === void 0 && (y[u] = d[u]);
|
|
13
|
+
return { $$typeof: _, type: f, key: C, ref: k, props: y, _owner: x.current };
|
|
14
14
|
}
|
|
15
|
-
return X.Fragment =
|
|
15
|
+
return X.Fragment = b, X.jsx = s, X.jsxs = s, X;
|
|
16
16
|
}
|
|
17
17
|
var Z = {};
|
|
18
|
-
var
|
|
18
|
+
var $e;
|
|
19
19
|
function Pt() {
|
|
20
|
-
return
|
|
21
|
-
var i =
|
|
20
|
+
return $e || ($e = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var i = qe, _ = /* @__PURE__ */ Symbol.for("react.element"), b = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), R = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), k = /* @__PURE__ */ Symbol.for("react.offscreen"), D = Symbol.iterator, O = "@@iterator";
|
|
22
22
|
function A(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var r = D && e[D] || e[
|
|
25
|
+
var r = D && e[D] || e[O];
|
|
26
26
|
return typeof r == "function" ? r : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
29
|
-
function
|
|
28
|
+
var L = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
|
+
function E(e) {
|
|
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
|
+
U("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function U(e, r, n) {
|
|
37
37
|
{
|
|
38
|
-
var a =
|
|
39
|
-
|
|
38
|
+
var a = L.ReactDebugCurrentFrame, m = a.getStackAddendum();
|
|
39
|
+
m !== "" && (r += "%s", n = n.concat([m]));
|
|
40
40
|
var h = n.map(function(l) {
|
|
41
41
|
return String(l);
|
|
42
42
|
});
|
|
43
43
|
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var q = !1,
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
46
|
+
var q = !1, j = !1, B = !1, Q = !1, w = !1, W;
|
|
47
|
+
W = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
+
function et(e) {
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === p || e === g || w || e === x || e === R || e === u || Q || e === k || q || j || B || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === y || e.$$typeof === s || e.$$typeof === f || e.$$typeof === d || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
53
|
-
e.$$typeof ===
|
|
53
|
+
e.$$typeof === W || e.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
55
|
function tt(e, r, n) {
|
|
56
56
|
var a = e.displayName;
|
|
57
57
|
if (a)
|
|
58
58
|
return a;
|
|
59
|
-
var
|
|
60
|
-
return
|
|
59
|
+
var m = r.displayName || r.name || "";
|
|
60
|
+
return m !== "" ? n + "(" + m + ")" : n;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function he(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
65
|
function $(e) {
|
|
66
66
|
if (e == null)
|
|
67
67
|
return null;
|
|
68
|
-
if (typeof e.tag == "number" &&
|
|
68
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
69
69
|
return e.displayName || e.name || null;
|
|
70
70
|
if (typeof e == "string")
|
|
71
71
|
return e;
|
|
72
72
|
switch (e) {
|
|
73
|
-
case
|
|
73
|
+
case p:
|
|
74
74
|
return "Fragment";
|
|
75
|
-
case
|
|
75
|
+
case b:
|
|
76
76
|
return "Portal";
|
|
77
77
|
case g:
|
|
78
78
|
return "Profiler";
|
|
79
79
|
case x:
|
|
80
80
|
return "StrictMode";
|
|
81
|
-
case
|
|
81
|
+
case R:
|
|
82
82
|
return "Suspense";
|
|
83
|
-
case
|
|
83
|
+
case u:
|
|
84
84
|
return "SuspenseList";
|
|
85
85
|
}
|
|
86
86
|
if (typeof e == "object")
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
|
-
case
|
|
88
|
+
case f:
|
|
89
89
|
var r = e;
|
|
90
|
-
return
|
|
90
|
+
return he(r) + ".Consumer";
|
|
91
91
|
case s:
|
|
92
92
|
var n = e;
|
|
93
|
-
return
|
|
94
|
-
case
|
|
93
|
+
return he(n._context) + ".Provider";
|
|
94
|
+
case d:
|
|
95
95
|
return tt(e, e.render, "ForwardRef");
|
|
96
|
-
case
|
|
96
|
+
case y:
|
|
97
97
|
var a = e.displayName || null;
|
|
98
98
|
return a !== null ? a : $(e.type) || "Memo";
|
|
99
|
-
case
|
|
100
|
-
var
|
|
99
|
+
case C: {
|
|
100
|
+
var m = e, h = m._payload, l = m._init;
|
|
101
101
|
try {
|
|
102
102
|
return $(l(h));
|
|
103
103
|
} catch {
|
|
@@ -107,18 +107,18 @@ function Pt() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var Y = Object.assign, z = 0, ge, _e, be, je, ye
|
|
111
|
-
function
|
|
110
|
+
var Y = Object.assign, z = 0, xe, ve, ge, _e, be, je, ye;
|
|
111
|
+
function we() {
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
we.__reactDisabledLog = !0;
|
|
114
114
|
function rt() {
|
|
115
115
|
{
|
|
116
116
|
if (z === 0) {
|
|
117
|
-
|
|
117
|
+
xe = console.log, ve = console.info, ge = console.warn, _e = console.error, be = console.group, je = console.groupCollapsed, ye = console.groupEnd;
|
|
118
118
|
var e = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: we,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -144,64 +144,64 @@ function Pt() {
|
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
146
|
log: Y({}, e, {
|
|
147
|
-
value:
|
|
147
|
+
value: xe
|
|
148
148
|
}),
|
|
149
149
|
info: Y({}, e, {
|
|
150
|
-
value:
|
|
150
|
+
value: ve
|
|
151
151
|
}),
|
|
152
152
|
warn: Y({}, e, {
|
|
153
|
-
value:
|
|
153
|
+
value: ge
|
|
154
154
|
}),
|
|
155
155
|
error: Y({}, e, {
|
|
156
|
-
value:
|
|
156
|
+
value: _e
|
|
157
157
|
}),
|
|
158
158
|
group: Y({}, e, {
|
|
159
|
-
value:
|
|
159
|
+
value: be
|
|
160
160
|
}),
|
|
161
161
|
groupCollapsed: Y({}, e, {
|
|
162
|
-
value:
|
|
162
|
+
value: je
|
|
163
163
|
}),
|
|
164
164
|
groupEnd: Y({}, e, {
|
|
165
|
-
value:
|
|
165
|
+
value: ye
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
z < 0 &&
|
|
169
|
+
z < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
function
|
|
172
|
+
var se = L.ReactCurrentDispatcher, ie;
|
|
173
|
+
function ee(e, r, n) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (ie === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
|
-
} catch (
|
|
179
|
-
var a =
|
|
180
|
-
|
|
178
|
+
} catch (m) {
|
|
179
|
+
var a = m.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
ie = a && a[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + ie + e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var oe = !1, te;
|
|
187
187
|
{
|
|
188
188
|
var at = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
-
|
|
189
|
+
te = new at();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!e ||
|
|
191
|
+
function Ne(e, r) {
|
|
192
|
+
if (!e || oe)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var n =
|
|
195
|
+
var n = te.get(e);
|
|
196
196
|
if (n !== void 0)
|
|
197
197
|
return n;
|
|
198
198
|
}
|
|
199
199
|
var a;
|
|
200
|
-
|
|
201
|
-
var
|
|
200
|
+
oe = !0;
|
|
201
|
+
var m = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var h;
|
|
204
|
-
h =
|
|
204
|
+
h = se.current, se.current = null, rt();
|
|
205
205
|
try {
|
|
206
206
|
if (r) {
|
|
207
207
|
var l = function() {
|
|
@@ -236,94 +236,94 @@ function Pt() {
|
|
|
236
236
|
}
|
|
237
237
|
} catch (S) {
|
|
238
238
|
if (S && a && typeof S.stack == "string") {
|
|
239
|
-
for (var
|
|
239
|
+
for (var o = S.stack.split(`
|
|
240
240
|
`), P = a.stack.split(`
|
|
241
|
-
`), N =
|
|
242
|
-
|
|
243
|
-
for (; N >= 1 &&
|
|
244
|
-
if (
|
|
245
|
-
if (N !== 1 ||
|
|
241
|
+
`), N = o.length - 1, T = P.length - 1; N >= 1 && T >= 0 && o[N] !== P[T]; )
|
|
242
|
+
T--;
|
|
243
|
+
for (; N >= 1 && T >= 0; N--, T--)
|
|
244
|
+
if (o[N] !== P[T]) {
|
|
245
|
+
if (N !== 1 || T !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (N--,
|
|
248
|
-
var
|
|
249
|
-
` +
|
|
250
|
-
return e.displayName &&
|
|
247
|
+
if (N--, T--, T < 0 || o[N] !== P[T]) {
|
|
248
|
+
var F = `
|
|
249
|
+
` + o[N].replace(" at new ", " at ");
|
|
250
|
+
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && te.set(e, F), F;
|
|
251
251
|
}
|
|
252
|
-
while (N >= 1 &&
|
|
252
|
+
while (N >= 1 && T >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
oe = !1, se.current = h, nt(), Error.prepareStackTrace = m;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof e == "function" &&
|
|
259
|
+
var K = e ? e.displayName || e.name : "", V = K ? ee(K) : "";
|
|
260
|
+
return typeof e == "function" && te.set(e, V), V;
|
|
261
261
|
}
|
|
262
262
|
function st(e, r, n) {
|
|
263
|
-
return
|
|
263
|
+
return Ne(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 re(e, r, n) {
|
|
270
270
|
if (e == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof e == "function")
|
|
273
|
-
return
|
|
273
|
+
return Ne(e, it(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
|
-
return
|
|
275
|
+
return ee(e);
|
|
276
276
|
switch (e) {
|
|
277
|
-
case
|
|
278
|
-
return
|
|
279
|
-
case
|
|
280
|
-
return
|
|
277
|
+
case R:
|
|
278
|
+
return ee("Suspense");
|
|
279
|
+
case u:
|
|
280
|
+
return ee("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
|
-
case
|
|
284
|
+
case d:
|
|
285
285
|
return st(e.render);
|
|
286
|
-
case
|
|
287
|
-
return
|
|
288
|
-
case
|
|
289
|
-
var a = e,
|
|
286
|
+
case y:
|
|
287
|
+
return re(e.type, r, n);
|
|
288
|
+
case C: {
|
|
289
|
+
var a = e, m = a._payload, h = a._init;
|
|
290
290
|
try {
|
|
291
|
-
return
|
|
291
|
+
return re(h(m), r, n);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var G = Object.prototype.hasOwnProperty,
|
|
299
|
-
function
|
|
298
|
+
var G = Object.prototype.hasOwnProperty, Ce = {}, Ee = L.ReactDebugCurrentFrame;
|
|
299
|
+
function ne(e) {
|
|
300
300
|
if (e) {
|
|
301
|
-
var r = e._owner, n =
|
|
302
|
-
|
|
301
|
+
var r = e._owner, n = re(e.type, e._source, r ? r.type : null);
|
|
302
|
+
Ee.setExtraStackFrame(n);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
Ee.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function ot(e, r, n, a,
|
|
306
|
+
function ot(e, r, n, a, m) {
|
|
307
307
|
{
|
|
308
308
|
var h = Function.call.bind(G);
|
|
309
309
|
for (var l in e)
|
|
310
310
|
if (h(e, l)) {
|
|
311
|
-
var
|
|
311
|
+
var o = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof e[l] != "function") {
|
|
314
314
|
var P = Error((a || "React class") + ": " + n + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
315
|
throw P.name = "Invariant Violation", P;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
o = e[l](r, l, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (N) {
|
|
319
|
-
|
|
319
|
+
o = N;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
o && !(o instanceof Error) && (ne(m), E("%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 o), ne(null)), o instanceof Error && !(o.message in Ce) && (Ce[o.message] = !0, ne(m), E("Failed %s type: %s", n, o.message), ne(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var ct = Array.isArray;
|
|
326
|
-
function
|
|
326
|
+
function ce(e) {
|
|
327
327
|
return ct(e);
|
|
328
328
|
}
|
|
329
329
|
function lt(e) {
|
|
@@ -334,24 +334,24 @@ function Pt() {
|
|
|
334
334
|
}
|
|
335
335
|
function dt(e) {
|
|
336
336
|
try {
|
|
337
|
-
return
|
|
337
|
+
return Te(e), !1;
|
|
338
338
|
} catch {
|
|
339
339
|
return !0;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Te(e) {
|
|
343
343
|
return "" + e;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function ke(e) {
|
|
346
346
|
if (dt(e))
|
|
347
|
-
return
|
|
347
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(e)), Te(e);
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Re = L.ReactCurrentOwner, ut = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
354
|
+
}, Pe, Se;
|
|
355
355
|
function pt(e) {
|
|
356
356
|
if (G.call(e, "ref")) {
|
|
357
357
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -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" && Re.current;
|
|
373
373
|
}
|
|
374
374
|
function ht(e, r) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
|
-
|
|
377
|
+
Pe || (Pe = !0, E("%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
|
+
Se || (Se = !0, E("%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,8 +393,8 @@ function Pt() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var vt = function(e, r, n, a,
|
|
397
|
-
var
|
|
396
|
+
var vt = function(e, r, n, a, m, h, l) {
|
|
397
|
+
var o = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: _,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
@@ -405,27 +405,27 @@ function Pt() {
|
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
406
|
_owner: h
|
|
407
407
|
};
|
|
408
|
-
return
|
|
408
|
+
return o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
410
410
|
enumerable: !1,
|
|
411
411
|
writable: !0,
|
|
412
412
|
value: !1
|
|
413
|
-
}), Object.defineProperty(
|
|
413
|
+
}), Object.defineProperty(o, "_self", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
417
|
value: a
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(o, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
|
-
value:
|
|
423
|
-
}), Object.freeze && (Object.freeze(
|
|
422
|
+
value: m
|
|
423
|
+
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
424
424
|
};
|
|
425
|
-
function gt(e, r, n, a,
|
|
425
|
+
function gt(e, r, n, a, m) {
|
|
426
426
|
{
|
|
427
|
-
var h, l = {},
|
|
428
|
-
n !== void 0 && (
|
|
427
|
+
var h, l = {}, o = null, P = null;
|
|
428
|
+
n !== void 0 && (ke(n), o = "" + n), ft(r) && (ke(r.key), o = "" + r.key), pt(r) && (P = r.ref, mt(r, m));
|
|
429
429
|
for (h in r)
|
|
430
430
|
G.call(r, h) && !ut.hasOwnProperty(h) && (l[h] = r[h]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
@@ -433,30 +433,30 @@ function Pt() {
|
|
|
433
433
|
for (h in N)
|
|
434
434
|
l[h] === void 0 && (l[h] = N[h]);
|
|
435
435
|
}
|
|
436
|
-
if (
|
|
437
|
-
var
|
|
438
|
-
|
|
436
|
+
if (o || P) {
|
|
437
|
+
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
+
o && ht(l, T), P && xt(l, T);
|
|
439
439
|
}
|
|
440
|
-
return vt(e,
|
|
440
|
+
return vt(e, o, P, m, a, Re.current, l);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
function
|
|
443
|
+
var le = L.ReactCurrentOwner, Ie = L.ReactDebugCurrentFrame;
|
|
444
|
+
function H(e) {
|
|
445
445
|
if (e) {
|
|
446
|
-
var r = e._owner, n =
|
|
447
|
-
|
|
446
|
+
var r = e._owner, n = re(e.type, e._source, r ? r.type : null);
|
|
447
|
+
Ie.setExtraStackFrame(n);
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
Ie.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
451
|
+
var de;
|
|
452
|
+
de = !1;
|
|
453
|
+
function ue(e) {
|
|
454
454
|
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Fe() {
|
|
457
457
|
{
|
|
458
|
-
if (
|
|
459
|
-
var e = $(
|
|
458
|
+
if (le.current) {
|
|
459
|
+
var e = $(le.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 Oe = {};
|
|
472
472
|
function bt(e) {
|
|
473
473
|
{
|
|
474
|
-
var r =
|
|
474
|
+
var r = Fe();
|
|
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 Le(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 (Oe[n])
|
|
491
491
|
return;
|
|
492
|
-
|
|
492
|
+
Oe[n] = !0;
|
|
493
493
|
var a = "";
|
|
494
|
-
e && e._owner && e._owner !==
|
|
494
|
+
e && e._owner && e._owner !== le.current && (a = " It was passed a child from " + $(e._owner.type) + "."), H(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), H(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function De(e, r) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (ce(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
503
|
var a = e[n];
|
|
504
|
-
|
|
504
|
+
ue(a) && Le(a, r);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (ue(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
|
-
var
|
|
510
|
-
if (typeof
|
|
511
|
-
for (var h =
|
|
512
|
-
|
|
509
|
+
var m = A(e);
|
|
510
|
+
if (typeof m == "function" && m !== e.entries)
|
|
511
|
+
for (var h = m.call(e), l; !(l = h.next()).done; )
|
|
512
|
+
ue(l.value) && Le(l.value, r);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -521,21 +521,21 @@ Check the top-level render call using <` + n + ">.");
|
|
|
521
521
|
var n;
|
|
522
522
|
if (typeof r == "function")
|
|
523
523
|
n = r.propTypes;
|
|
524
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
524
|
+
else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
|
-
r.$$typeof ===
|
|
526
|
+
r.$$typeof === y))
|
|
527
527
|
n = r.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
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
|
-
|
|
535
|
-
var
|
|
536
|
-
|
|
533
|
+
} else if (r.PropTypes !== void 0 && !de) {
|
|
534
|
+
de = !0;
|
|
535
|
+
var m = $(r);
|
|
536
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
537
537
|
}
|
|
538
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
538
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
function yt(e) {
|
|
@@ -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), E("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), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var Ae = {};
|
|
554
|
+
function Be(e, r, n, a, m, h) {
|
|
555
555
|
{
|
|
556
|
-
var l =
|
|
556
|
+
var l = et(e);
|
|
557
557
|
if (!l) {
|
|
558
|
-
var
|
|
559
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
558
|
+
var o = "";
|
|
559
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " 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 ?
|
|
561
|
+
P ? o += P : o += Fe();
|
|
562
562
|
var N;
|
|
563
|
-
e === null ? N = "null" :
|
|
563
|
+
e === null ? N = "null" : ce(e) ? N = "array" : e !== void 0 && e.$$typeof === _ ? (N = "<" + ($(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : N = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, o);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
565
|
+
var T = gt(e, r, n, m, h);
|
|
566
|
+
if (T == null)
|
|
567
|
+
return T;
|
|
568
568
|
if (l) {
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
569
|
+
var F = r.children;
|
|
570
|
+
if (F !== void 0)
|
|
571
571
|
if (a)
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
572
|
+
if (ce(F)) {
|
|
573
|
+
for (var K = 0; K < F.length; K++)
|
|
574
|
+
De(F[K], e);
|
|
575
|
+
Object.freeze && Object.freeze(F);
|
|
576
576
|
} else
|
|
577
|
-
|
|
577
|
+
E("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
|
+
De(F, e);
|
|
580
580
|
}
|
|
581
581
|
if (G.call(r, "key")) {
|
|
582
582
|
var V = $(e), S = Object.keys(r).filter(function(kt) {
|
|
583
583
|
return kt !== "key";
|
|
584
|
-
}),
|
|
585
|
-
if (!
|
|
584
|
+
}), pe = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!Ae[V + pe]) {
|
|
586
586
|
var Tt = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
|
|
587
|
-
|
|
587
|
+
E(`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} />`, pe, V, Tt, V), Ae[V + pe] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return e ===
|
|
595
|
+
return e === p ? yt(T) : jt(T), T;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function wt(e, r, n) {
|
|
599
|
-
return
|
|
599
|
+
return Be(e, r, n, !0);
|
|
600
600
|
}
|
|
601
601
|
function Nt(e, r, n) {
|
|
602
|
-
return
|
|
602
|
+
return Be(e, r, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var Ct = Nt, Et = wt;
|
|
605
|
-
Z.Fragment =
|
|
605
|
+
Z.Fragment = p, Z.jsx = Ct, Z.jsxs = Et;
|
|
606
606
|
})()), Z;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
608
|
+
var Me;
|
|
609
609
|
function St() {
|
|
610
|
-
return
|
|
610
|
+
return Me || (Me = 1, process.env.NODE_ENV === "production" ? ae.exports = Rt() : ae.exports = Pt()), ae.exports;
|
|
611
611
|
}
|
|
612
612
|
var t = St();
|
|
613
613
|
const It = {
|
|
@@ -706,83 +706,83 @@ const It = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
709
|
+
}, Ot = {
|
|
710
710
|
en: It,
|
|
711
711
|
hi: Ft
|
|
712
|
-
},
|
|
712
|
+
}, Xe = Ge(null), Hr = ({
|
|
713
713
|
locale: i,
|
|
714
714
|
children: _
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ t.jsx(
|
|
716
|
+
const p = { locale: i, t: (x) => Ot[i]?.[x] ?? x };
|
|
717
|
+
return /* @__PURE__ */ t.jsx(Xe.Provider, { value: p, children: _ });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function me() {
|
|
720
|
+
return ze(Xe);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const i =
|
|
722
|
+
const Ze = Ge(void 0), Qe = () => {
|
|
723
|
+
const i = ze(Ze);
|
|
724
724
|
if (!i)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return i;
|
|
727
|
-
},
|
|
727
|
+
}, Kr = ({
|
|
728
728
|
children: i
|
|
729
729
|
}) => {
|
|
730
|
-
const [_,
|
|
730
|
+
const [_, b] = I(null), [p, x] = I(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
|
-
|
|
732
|
+
Ze.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: _,
|
|
736
|
-
setUserData:
|
|
737
|
-
showSuccess:
|
|
736
|
+
setUserData: b,
|
|
737
|
+
showSuccess: p,
|
|
738
738
|
setShowSuccess: x
|
|
739
739
|
},
|
|
740
740
|
children: i
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, Lt = "_landingPage_14yn1_1", Ye = {
|
|
744
|
+
landingPage: Lt,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
746
|
}, Dt = ({ targetDate: i }) => {
|
|
747
|
-
const
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
751
|
-
return { days:
|
|
747
|
+
const b = me()?.t || ((f) => f), p = () => {
|
|
748
|
+
const d = (typeof i == "string" ? new Date(i) : i).getTime() - Date.now();
|
|
749
|
+
if (d > 0) {
|
|
750
|
+
const R = Math.floor(d / 864e5), u = Math.floor(d % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), y = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), C = Math.floor(d % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: R, hours: u, minutes: y, seconds: C };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
754
|
}, [x, g] = I({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
M(() => {
|
|
756
|
-
g(
|
|
757
|
-
const
|
|
758
|
-
g(
|
|
756
|
+
g(p());
|
|
757
|
+
const f = setInterval(() => {
|
|
758
|
+
g(p());
|
|
759
759
|
}, 1e3);
|
|
760
|
-
return () => clearInterval(
|
|
760
|
+
return () => clearInterval(f);
|
|
761
761
|
}, [i]);
|
|
762
|
-
const s = (
|
|
762
|
+
const s = (f) => f.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
766
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(x.days) }),
|
|
767
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
767
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: b("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
771
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(x.hours) }),
|
|
772
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
772
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: b("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
776
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(x.minutes) }),
|
|
777
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
777
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: b("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
781
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: s(x.seconds) }),
|
|
782
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children:
|
|
782
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: b("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: b("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
|
+
], Ve = [
|
|
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
|
+
], Jr = ({
|
|
874
874
|
targetDate: i,
|
|
875
875
|
onSubmit: _,
|
|
876
|
-
isGlobal:
|
|
877
|
-
analytics:
|
|
876
|
+
isGlobal: b = !1,
|
|
877
|
+
analytics: p,
|
|
878
878
|
showToast: x
|
|
879
879
|
}) => {
|
|
880
|
-
const s =
|
|
881
|
-
(
|
|
880
|
+
const s = me()?.t || ((j) => j), [f, d] = I(b ? "+1" : "+91"), [R, u] = I(!1), { setUserData: y, setShowSuccess: C } = Qe(), [k, D] = I(""), [O, A] = I(""), L = fe(!1), E = `${f}-${O}`, U = Ve.find(
|
|
881
|
+
(j) => j.code === f
|
|
882
882
|
);
|
|
883
883
|
M(() => {
|
|
884
|
-
!
|
|
885
|
-
}, [
|
|
886
|
-
const q = (
|
|
887
|
-
if (
|
|
884
|
+
!L.current && p?.trackLandingPageViewed && (p.trackLandingPageViewed(), L.current = !0);
|
|
885
|
+
}, [p]);
|
|
886
|
+
const q = (j) => {
|
|
887
|
+
if (j.preventDefault(), !k || k.trim() === "") {
|
|
888
888
|
x?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
890
890
|
}
|
|
891
|
-
if (!
|
|
891
|
+
if (!O || O.length !== 10) {
|
|
892
892
|
x?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
|
|
895
|
+
p?.trackSubmitClicked?.(), y({ name: k, fullPhoneNumber: E }), x?.("success", "Registration Successful"), C(!0), _?.({ name: k, fullPhoneNumber: E });
|
|
896
896
|
};
|
|
897
|
-
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
897
|
+
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: Ye.landingPage, children: [
|
|
898
898
|
/* @__PURE__ */ t.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsx(
|
|
899
899
|
"img",
|
|
900
900
|
{
|
|
@@ -930,11 +930,11 @@ const Qe = Xe(void 0), et = () => {
|
|
|
930
930
|
"input",
|
|
931
931
|
{
|
|
932
932
|
type: "text",
|
|
933
|
-
value:
|
|
934
|
-
onChange: (
|
|
935
|
-
D(
|
|
933
|
+
value: k,
|
|
934
|
+
onChange: (j) => {
|
|
935
|
+
D(j.target.value), j.target.value && !k && p?.trackNameFilled?.();
|
|
936
936
|
},
|
|
937
|
-
onFocus: () =>
|
|
937
|
+
onFocus: () => p?.trackNameClicked?.(),
|
|
938
938
|
placeholder: s("namePlaceholder"),
|
|
939
939
|
className: "w-full px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
940
940
|
required: !0
|
|
@@ -948,38 +948,38 @@ const Qe = Xe(void 0), et = () => {
|
|
|
948
948
|
/* @__PURE__ */ t.jsx(
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
|
-
onClick: () =>
|
|
952
|
-
className: `${
|
|
953
|
-
children:
|
|
951
|
+
onClick: () => u(!R),
|
|
952
|
+
className: `${Ye["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
|
+
children: U?.code
|
|
954
954
|
}
|
|
955
955
|
),
|
|
956
|
-
|
|
956
|
+
R && /* @__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: Ve.map((j) => /* @__PURE__ */ t.jsxs(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
959
959
|
onClick: () => {
|
|
960
|
-
|
|
960
|
+
d(j.code), u(!1);
|
|
961
961
|
},
|
|
962
962
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
963
963
|
children: [
|
|
964
|
-
|
|
964
|
+
j.country,
|
|
965
965
|
" (",
|
|
966
|
-
|
|
966
|
+
j.code,
|
|
967
967
|
")"
|
|
968
968
|
]
|
|
969
969
|
},
|
|
970
|
-
|
|
970
|
+
j.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 B =
|
|
980
|
-
A(B), B && !
|
|
977
|
+
value: O,
|
|
978
|
+
onChange: (j) => {
|
|
979
|
+
const B = j.target.value.replace(/\D/g, "");
|
|
980
|
+
A(B), B && !O && p?.trackPhoneFilled?.();
|
|
981
981
|
},
|
|
982
|
-
onFocus: () =>
|
|
982
|
+
onFocus: () => p?.trackPhoneClicked?.(),
|
|
983
983
|
placeholder: s("whatsappPlaceholder"),
|
|
984
984
|
className: "flex-1 px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
985
985
|
maxLength: 10,
|
|
@@ -1002,11 +1002,11 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1002
1002
|
] }) }),
|
|
1003
1003
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1004
1004
|
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: s("expectTitle") }),
|
|
1005
|
-
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: At.map((
|
|
1006
|
-
/* @__PURE__ */ t.jsx("img", { src:
|
|
1005
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: At.map((j, B) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1006
|
+
/* @__PURE__ */ t.jsx("img", { src: j.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: s(
|
|
1009
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: s(
|
|
1008
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: s(j.titleKey) }),
|
|
1009
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: s(j.descKey) })
|
|
1010
1010
|
] })
|
|
1011
1011
|
] }, B)) })
|
|
1012
1012
|
] }) })
|
|
@@ -1032,30 +1032,30 @@ 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", Ue = `https://wa.me/${ar}?text=${encodeURIComponent(sr)}`, qr = ({
|
|
1036
1036
|
userName: i = "Rahul",
|
|
1037
1037
|
eventName: _ = "Hanuman Jayanti Maha Path",
|
|
1038
|
-
eventDate:
|
|
1039
|
-
eventTime:
|
|
1038
|
+
eventDate: b = "2nd April",
|
|
1039
|
+
eventTime: p = "9:00 AM onwards",
|
|
1040
1040
|
onWhatsAppClick: x,
|
|
1041
1041
|
redirectSeconds: g = 10,
|
|
1042
1042
|
analytics: s,
|
|
1043
|
-
showToast:
|
|
1044
|
-
disableRedirect:
|
|
1043
|
+
showToast: f,
|
|
1044
|
+
disableRedirect: d = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const
|
|
1046
|
+
const u = me()?.t || ((A) => A), { userData: y } = Qe(), [C, k] = I(g), D = fe(!1), O = y?.name || i;
|
|
1047
1047
|
return M(() => {
|
|
1048
1048
|
!D.current && s?.trackSuccessPageViewed && (s.trackSuccessPageViewed({
|
|
1049
|
-
name:
|
|
1050
|
-
phone:
|
|
1049
|
+
name: y?.name,
|
|
1050
|
+
phone: y?.fullPhoneNumber
|
|
1051
1051
|
}), D.current = !0);
|
|
1052
|
-
}, [s,
|
|
1053
|
-
if (!
|
|
1054
|
-
if (
|
|
1055
|
-
const A = setTimeout(() =>
|
|
1052
|
+
}, [s, y?.name, y?.fullPhoneNumber]), M(() => {
|
|
1053
|
+
if (!d)
|
|
1054
|
+
if (C > 0) {
|
|
1055
|
+
const A = setTimeout(() => k(C - 1), 1e3);
|
|
1056
1056
|
return () => clearTimeout(A);
|
|
1057
|
-
} else
|
|
1058
|
-
}, [
|
|
1057
|
+
} else C === 0 && (window.location.href = Ue);
|
|
1058
|
+
}, [C, d]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: v.successPage, children: [
|
|
1059
1059
|
/* @__PURE__ */ t.jsx("div", { className: v.profileImageContainer, children: /* @__PURE__ */ t.jsx(
|
|
1060
1060
|
"img",
|
|
1061
1061
|
{
|
|
@@ -1068,21 +1068,21 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
) }),
|
|
1070
1070
|
/* @__PURE__ */ t.jsxs("div", { className: v.greeting, children: [
|
|
1071
|
-
/* @__PURE__ */ t.jsx("p", { className: v.jaiShreeRam, children:
|
|
1071
|
+
/* @__PURE__ */ t.jsx("p", { className: v.jaiShreeRam, children: u("jaiShreeRam") }),
|
|
1072
1072
|
/* @__PURE__ */ t.jsxs("h1", { className: v.userName, children: [
|
|
1073
|
-
|
|
1073
|
+
u("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
|
-
|
|
1075
|
+
O,
|
|
1076
1076
|
" Ji"
|
|
1077
1077
|
] })
|
|
1078
1078
|
] }),
|
|
1079
1079
|
/* @__PURE__ */ t.jsxs("div", { className: v.registrationCard, children: [
|
|
1080
|
-
/* @__PURE__ */ t.jsx("p", { className: v.registeredText, children:
|
|
1080
|
+
/* @__PURE__ */ t.jsx("p", { className: v.registeredText, children: u("registeredFor") }),
|
|
1081
1081
|
/* @__PURE__ */ t.jsx("h2", { className: v.eventName, children: _ }),
|
|
1082
1082
|
/* @__PURE__ */ t.jsxs("p", { className: v.eventDetails, children: [
|
|
1083
|
-
|
|
1083
|
+
b,
|
|
1084
1084
|
" · ",
|
|
1085
|
-
|
|
1085
|
+
p
|
|
1086
1086
|
] })
|
|
1087
1087
|
] }),
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1090,96 +1090,92 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1090
1090
|
{
|
|
1091
1091
|
className: v.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
|
-
s?.trackWhatsappBtnClicked?.(),
|
|
1094
|
-
window.location.href =
|
|
1093
|
+
s?.trackWhatsappBtnClicked?.(), f?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
|
+
window.location.href = Ue;
|
|
1095
1095
|
}, 500), x?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
|
-
children:
|
|
1098
|
+
children: u("sendlinkonwhatsapp")
|
|
1099
1099
|
}
|
|
1100
1100
|
),
|
|
1101
1101
|
/* @__PURE__ */ t.jsxs("div", { className: v.redirectInfo, children: [
|
|
1102
|
-
/* @__PURE__ */ t.jsx("p", { className: v.redirectText, children:
|
|
1102
|
+
/* @__PURE__ */ t.jsx("p", { className: v.redirectText, children: u("redirectingIn") }),
|
|
1103
1103
|
/* @__PURE__ */ t.jsxs("p", { className: v.countdown, children: [
|
|
1104
|
-
|
|
1104
|
+
C.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
|
-
|
|
1106
|
+
u("seconds")
|
|
1107
1107
|
] })
|
|
1108
1108
|
] }),
|
|
1109
1109
|
/* @__PURE__ */ t.jsxs("div", { className: v.nextSteps, children: [
|
|
1110
|
-
/* @__PURE__ */ t.jsx("h3", { className: v.nextStepsTitle, children:
|
|
1110
|
+
/* @__PURE__ */ t.jsx("h3", { className: v.nextStepsTitle, children: u("whatHappensNext") }),
|
|
1111
1111
|
/* @__PURE__ */ t.jsxs("div", { className: v.stepsList, children: [
|
|
1112
1112
|
/* @__PURE__ */ t.jsxs("div", { className: v.step, children: [
|
|
1113
1113
|
/* @__PURE__ */ t.jsx("span", { className: v.stepNumber, children: "1" }),
|
|
1114
|
-
/* @__PURE__ */ t.jsx("p", { className: v.stepText, children:
|
|
1114
|
+
/* @__PURE__ */ t.jsx("p", { className: v.stepText, children: u("step1") })
|
|
1115
1115
|
] }),
|
|
1116
1116
|
/* @__PURE__ */ t.jsxs("div", { className: v.step, children: [
|
|
1117
1117
|
/* @__PURE__ */ t.jsx("span", { className: v.stepNumber, children: "2" }),
|
|
1118
|
-
/* @__PURE__ */ t.jsx("p", { className: v.stepText, children:
|
|
1118
|
+
/* @__PURE__ */ t.jsx("p", { className: v.stepText, children: u("step2") })
|
|
1119
1119
|
] }),
|
|
1120
1120
|
/* @__PURE__ */ t.jsxs("div", { className: v.step, children: [
|
|
1121
1121
|
/* @__PURE__ */ t.jsx("span", { className: v.stepNumber, children: "3" }),
|
|
1122
|
-
/* @__PURE__ */ t.jsx("p", { className: v.stepText, children:
|
|
1122
|
+
/* @__PURE__ */ t.jsx("p", { className: v.stepText, children: u("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
}, ir = "_container_pjakb_1", or = "
|
|
1127
|
+
}, ir = "_container_pjakb_1", or = "_video_pjakb_23", cr = "_videoFullscreenWithBelowBanner_pjakb_35", lr = "_banner_pjakb_42", dr = "_bannerOverlay_pjakb_52", ur = "_bannerCard_pjakb_60", pr = "_bannerTitle_pjakb_68", fr = "_scroll_pjakb_79", mr = "_card_pjakb_86", hr = "_divider_pjakb_96", xr = "_chat_pjakb_105", vr = "_iframe_pjakb_111", gr = "_fullscreenBtn_pjakb_118", _r = "_chatToggleBtn_pjakb_156", br = "_fullscreenChatPanel_pjakb_180", jr = "_fullscreenChatCloseBtn_pjakb_193", yr = "_chatLoader_pjakb_222", wr = "_chatLoaderCompact_pjakb_235", Nr = "_spinner_pjakb_239", Cr = "_spinnerRing_pjakb_245", Er = "_chatLoaderText_pjakb_262", Tr = "_imageWrapper_pjakb_274", kr = "_image_pjakb_274", Rr = "_addBtn_pjakb_286", Pr = "_title_pjakb_300", Sr = "_price_pjakb_307", Ir = "_landscapeCard_pjakb_313", Fr = "_landscapeImageWrapper_pjakb_326", Or = "_landscapeImage_pjakb_326", Lr = "_landscapeContent_pjakb_339", Dr = "_landscapeTitle_pjakb_346", Ar = "_landscapePrice_pjakb_352", Br = "_landscapeAdd_pjakb_358", c = {
|
|
1128
1128
|
container: ir,
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
landscapeTitle: $r,
|
|
1163
|
-
landscapePrice: Mr,
|
|
1164
|
-
landscapeAdd: Yr
|
|
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 = [
|
|
1129
|
+
video: or,
|
|
1130
|
+
videoFullscreenWithBelowBanner: cr,
|
|
1131
|
+
banner: lr,
|
|
1132
|
+
bannerOverlay: dr,
|
|
1133
|
+
bannerCard: ur,
|
|
1134
|
+
bannerTitle: pr,
|
|
1135
|
+
scroll: fr,
|
|
1136
|
+
card: mr,
|
|
1137
|
+
divider: hr,
|
|
1138
|
+
chat: xr,
|
|
1139
|
+
iframe: vr,
|
|
1140
|
+
fullscreenBtn: gr,
|
|
1141
|
+
chatToggleBtn: _r,
|
|
1142
|
+
fullscreenChatPanel: br,
|
|
1143
|
+
fullscreenChatCloseBtn: jr,
|
|
1144
|
+
chatLoader: yr,
|
|
1145
|
+
chatLoaderCompact: wr,
|
|
1146
|
+
spinner: Nr,
|
|
1147
|
+
spinnerRing: Cr,
|
|
1148
|
+
chatLoaderText: Er,
|
|
1149
|
+
imageWrapper: Tr,
|
|
1150
|
+
image: kr,
|
|
1151
|
+
addBtn: Rr,
|
|
1152
|
+
title: Pr,
|
|
1153
|
+
price: Sr,
|
|
1154
|
+
landscapeCard: Ir,
|
|
1155
|
+
landscapeImageWrapper: Fr,
|
|
1156
|
+
landscapeImage: Or,
|
|
1157
|
+
landscapeContent: Lr,
|
|
1158
|
+
landscapeTitle: Dr,
|
|
1159
|
+
landscapePrice: Ar,
|
|
1160
|
+
landscapeAdd: Br
|
|
1161
|
+
}, Wr = "2281016c-061e-42c2-95f7-dba2d6ed7a26", $r = "ffcee681-0147-4297-96a5-fa354d0928d3", Mr = typeof globalThis < "u" && "process" in globalThis && globalThis.process?.env ? globalThis.process?.env?.NEXT_PUBLIC_ENV : void 0, J = Mr === "production" ? Wr : $r, He = [
|
|
1166
1162
|
{
|
|
1167
1163
|
afterTime: "2024-01-01T00:00:00Z",
|
|
1168
1164
|
items: [
|
|
1169
1165
|
{
|
|
1170
|
-
inventory_id:
|
|
1166
|
+
inventory_id: J,
|
|
1171
1167
|
name: "Sindoor",
|
|
1172
1168
|
price: 101,
|
|
1173
1169
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1174
1170
|
},
|
|
1175
1171
|
{
|
|
1176
|
-
inventory_id:
|
|
1172
|
+
inventory_id: J,
|
|
1177
1173
|
name: "Peda",
|
|
1178
1174
|
price: 101,
|
|
1179
1175
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1180
1176
|
},
|
|
1181
1177
|
{
|
|
1182
|
-
inventory_id:
|
|
1178
|
+
inventory_id: J,
|
|
1183
1179
|
name: "Sindoor + Peda",
|
|
1184
1180
|
price: 151,
|
|
1185
1181
|
original_price: 202,
|
|
@@ -1192,19 +1188,19 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1192
1188
|
afterTime: "2024-08-01T00:00:00Z",
|
|
1193
1189
|
items: [
|
|
1194
1190
|
{
|
|
1195
|
-
inventory_id:
|
|
1191
|
+
inventory_id: J,
|
|
1196
1192
|
name: "Sindoor",
|
|
1197
1193
|
price: 101,
|
|
1198
1194
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1199
1195
|
},
|
|
1200
1196
|
{
|
|
1201
|
-
inventory_id:
|
|
1197
|
+
inventory_id: J,
|
|
1202
1198
|
name: "Peda",
|
|
1203
1199
|
price: 101,
|
|
1204
1200
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1205
1201
|
},
|
|
1206
1202
|
{
|
|
1207
|
-
inventory_id:
|
|
1203
|
+
inventory_id: J,
|
|
1208
1204
|
name: "Sindoor + Peda",
|
|
1209
1205
|
price: 151,
|
|
1210
1206
|
original_price: 202,
|
|
@@ -1213,96 +1209,96 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1213
1209
|
}
|
|
1214
1210
|
]
|
|
1215
1211
|
}
|
|
1216
|
-
],
|
|
1212
|
+
], zr = ({
|
|
1217
1213
|
videoId: i,
|
|
1218
1214
|
title: _ = "Live Stream",
|
|
1219
|
-
chatHost:
|
|
1220
|
-
onOfferingClick:
|
|
1215
|
+
chatHost: b,
|
|
1216
|
+
onOfferingClick: p
|
|
1221
1217
|
}) => {
|
|
1222
|
-
const x =
|
|
1218
|
+
const x = fe(null), [g, s] = I(!1), [f, d] = I(!1), [R, u] = I(!0), [y, C] = I(!1), [k, D] = I(!1), O = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", A = typeof window < "u" ? window.location.hostname : "www.srimandir.com", L = (b || A).replace(/^https?:\/\//, "").replace(/\/$/, "") || "www.srimandir.com", E = `https://www.youtube-nocookie.com/embed/${i}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(O)}`, U = `https://www.youtube.com/live_chat?v=${i}&embed_domain=${L}`, q = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1223
1219
|
M(() => {
|
|
1224
|
-
const
|
|
1225
|
-
|
|
1220
|
+
const w = () => {
|
|
1221
|
+
D(window.innerWidth > window.innerHeight);
|
|
1226
1222
|
};
|
|
1227
|
-
return
|
|
1223
|
+
return w(), window.addEventListener("resize", w), () => window.removeEventListener("resize", w);
|
|
1228
1224
|
}, []);
|
|
1229
|
-
const
|
|
1230
|
-
const
|
|
1231
|
-
if (
|
|
1225
|
+
const j = async () => {
|
|
1226
|
+
const w = x.current;
|
|
1227
|
+
if (w?.requestFullscreen)
|
|
1232
1228
|
try {
|
|
1233
|
-
await
|
|
1229
|
+
await w.requestFullscreen();
|
|
1234
1230
|
} catch (W) {
|
|
1235
1231
|
console.error("Fullscreen error:", W);
|
|
1236
1232
|
}
|
|
1237
1233
|
try {
|
|
1238
1234
|
const W = screen.orientation;
|
|
1239
|
-
!
|
|
1235
|
+
!q && W?.lock && await W.lock("landscape");
|
|
1240
1236
|
} catch (W) {
|
|
1241
1237
|
console.error("Orientation lock error:", W);
|
|
1242
1238
|
}
|
|
1243
1239
|
s(!0);
|
|
1244
|
-
},
|
|
1240
|
+
}, B = async () => {
|
|
1245
1241
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
1246
1242
|
try {
|
|
1247
1243
|
await document.exitFullscreen();
|
|
1248
|
-
} catch (
|
|
1249
|
-
console.error("Exit fullscreen error:",
|
|
1244
|
+
} catch (w) {
|
|
1245
|
+
console.error("Exit fullscreen error:", w);
|
|
1250
1246
|
}
|
|
1251
1247
|
try {
|
|
1252
|
-
const
|
|
1253
|
-
|
|
1254
|
-
} catch (
|
|
1255
|
-
console.error("Orientation unlock error:",
|
|
1248
|
+
const w = screen.orientation;
|
|
1249
|
+
w?.unlock && w.unlock();
|
|
1250
|
+
} catch (w) {
|
|
1251
|
+
console.error("Orientation unlock error:", w);
|
|
1256
1252
|
}
|
|
1257
1253
|
s(!1);
|
|
1258
1254
|
};
|
|
1259
|
-
|
|
1260
|
-
const
|
|
1255
|
+
M(() => {
|
|
1256
|
+
const w = () => {
|
|
1261
1257
|
document.fullscreenElement || s(!1);
|
|
1262
1258
|
};
|
|
1263
|
-
return document.addEventListener("fullscreenchange",
|
|
1259
|
+
return document.addEventListener("fullscreenchange", w), () => document.removeEventListener("fullscreenchange", w);
|
|
1264
1260
|
}, []), M(() => {
|
|
1265
1261
|
g || d(!1);
|
|
1266
1262
|
}, [g]), M(() => {
|
|
1267
|
-
|
|
1268
|
-
}, [
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
type: "checkbox",
|
|
1274
|
-
checked: m,
|
|
1275
|
-
onChange: (y) => p(y.target.checked)
|
|
1276
|
-
}
|
|
1277
|
-
),
|
|
1278
|
-
"Overlay items in fullscreen"
|
|
1279
|
-
] }) }),
|
|
1263
|
+
f && C(!0);
|
|
1264
|
+
}, [f]);
|
|
1265
|
+
const Q = async (w) => {
|
|
1266
|
+
g && document.fullscreenElement && await B(), p && await p(w);
|
|
1267
|
+
};
|
|
1268
|
+
return /* @__PURE__ */ t.jsxs("div", { ref: x, className: c.container, children: [
|
|
1280
1269
|
/* @__PURE__ */ t.jsxs(
|
|
1281
1270
|
"div",
|
|
1282
1271
|
{
|
|
1283
|
-
className: g ?
|
|
1272
|
+
className: g ? c.videoFullscreenWithBelowBanner : c.video,
|
|
1284
1273
|
children: [
|
|
1285
1274
|
/* @__PURE__ */ t.jsx(
|
|
1286
1275
|
"iframe",
|
|
1287
1276
|
{
|
|
1288
|
-
src:
|
|
1277
|
+
src: E,
|
|
1289
1278
|
title: _,
|
|
1290
1279
|
frameBorder: "0",
|
|
1291
1280
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
1292
1281
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
1293
1282
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
1294
|
-
className:
|
|
1283
|
+
className: c.iframe
|
|
1284
|
+
}
|
|
1285
|
+
),
|
|
1286
|
+
/* @__PURE__ */ t.jsx(
|
|
1287
|
+
"button",
|
|
1288
|
+
{
|
|
1289
|
+
className: c.fullscreenBtn,
|
|
1290
|
+
onClick: g ? B : j,
|
|
1291
|
+
"aria-label": g ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
1292
|
+
children: g ? "⤡" : "⤢"
|
|
1295
1293
|
}
|
|
1296
1294
|
),
|
|
1297
|
-
!g && /* @__PURE__ */ t.jsx("button", { className: o.fullscreenBtn, onClick: ae, children: "⛶" }),
|
|
1298
|
-
g && /* @__PURE__ */ t.jsx("button", { className: o.exitBtn, onClick: se, children: "✕" }),
|
|
1299
1295
|
g && /* @__PURE__ */ t.jsx(
|
|
1300
1296
|
"button",
|
|
1301
1297
|
{
|
|
1302
|
-
className:
|
|
1303
|
-
onClick: () => d((
|
|
1304
|
-
"aria-label":
|
|
1305
|
-
children:
|
|
1298
|
+
className: c.chatToggleBtn,
|
|
1299
|
+
onClick: () => d((w) => !w),
|
|
1300
|
+
"aria-label": f ? "Hide Chat" : "Show Chat",
|
|
1301
|
+
children: f ? (
|
|
1306
1302
|
// Close icon
|
|
1307
1303
|
/* @__PURE__ */ t.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
|
|
1308
1304
|
/* @__PURE__ */ t.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
@@ -1314,19 +1310,11 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1314
1310
|
)
|
|
1315
1311
|
}
|
|
1316
1312
|
),
|
|
1317
|
-
g &&
|
|
1318
|
-
me,
|
|
1319
|
-
{
|
|
1320
|
-
overlay: !0,
|
|
1321
|
-
isLandscape: F,
|
|
1322
|
-
onOfferingClick: u
|
|
1323
|
-
}
|
|
1324
|
-
),
|
|
1325
|
-
g && k && /* @__PURE__ */ t.jsxs("div", { className: o.fullscreenChatPanel, children: [
|
|
1313
|
+
g && f && /* @__PURE__ */ t.jsxs("div", { className: c.fullscreenChatPanel, children: [
|
|
1326
1314
|
/* @__PURE__ */ t.jsx(
|
|
1327
1315
|
"button",
|
|
1328
1316
|
{
|
|
1329
|
-
className:
|
|
1317
|
+
className: c.fullscreenChatCloseBtn,
|
|
1330
1318
|
onClick: () => d(!1),
|
|
1331
1319
|
"aria-label": "Close chat",
|
|
1332
1320
|
children: /* @__PURE__ */ t.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
|
|
@@ -1335,83 +1323,95 @@ const Qe = Xe(void 0), et = () => {
|
|
|
1335
1323
|
] })
|
|
1336
1324
|
}
|
|
1337
1325
|
),
|
|
1338
|
-
|
|
1326
|
+
y && /* @__PURE__ */ t.jsx(Ke, { message: "Loading chat...", compact: !0 }),
|
|
1339
1327
|
/* @__PURE__ */ t.jsx(
|
|
1340
1328
|
"iframe",
|
|
1341
1329
|
{
|
|
1342
|
-
src:
|
|
1330
|
+
src: U,
|
|
1343
1331
|
title: "Live Chat Fullscreen",
|
|
1344
1332
|
frameBorder: "0",
|
|
1345
|
-
onLoad: () =>
|
|
1346
|
-
className:
|
|
1347
|
-
style: { opacity:
|
|
1333
|
+
onLoad: () => C(!1),
|
|
1334
|
+
className: c.iframe,
|
|
1335
|
+
style: { opacity: y ? 0 : 1 }
|
|
1348
1336
|
}
|
|
1349
1337
|
)
|
|
1350
1338
|
] })
|
|
1351
1339
|
]
|
|
1352
1340
|
}
|
|
1353
1341
|
),
|
|
1354
|
-
g &&
|
|
1342
|
+
g && /* @__PURE__ */ t.jsx(
|
|
1343
|
+
Je,
|
|
1344
|
+
{
|
|
1345
|
+
isLandscape: k,
|
|
1346
|
+
onOfferingClick: Q
|
|
1347
|
+
}
|
|
1348
|
+
),
|
|
1355
1349
|
!g && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1356
|
-
/* @__PURE__ */ t.jsx(
|
|
1357
|
-
|
|
1358
|
-
|
|
1350
|
+
/* @__PURE__ */ t.jsx(
|
|
1351
|
+
Je,
|
|
1352
|
+
{
|
|
1353
|
+
isLandscape: k,
|
|
1354
|
+
onOfferingClick: Q
|
|
1355
|
+
}
|
|
1356
|
+
),
|
|
1357
|
+
/* @__PURE__ */ t.jsxs("div", { className: c.chat, children: [
|
|
1358
|
+
R && /* @__PURE__ */ t.jsx(Ke, { message: "Loading chat..." }),
|
|
1359
1359
|
/* @__PURE__ */ t.jsx(
|
|
1360
1360
|
"iframe",
|
|
1361
1361
|
{
|
|
1362
|
-
src:
|
|
1362
|
+
src: U,
|
|
1363
1363
|
title: "Live Chat",
|
|
1364
1364
|
frameBorder: "0",
|
|
1365
|
-
onLoad: () =>
|
|
1366
|
-
className:
|
|
1367
|
-
style: { opacity:
|
|
1365
|
+
onLoad: () => u(!1),
|
|
1366
|
+
className: c.iframe,
|
|
1367
|
+
style: { opacity: R ? 0 : 1 }
|
|
1368
1368
|
}
|
|
1369
1369
|
)
|
|
1370
1370
|
] })
|
|
1371
1371
|
] })
|
|
1372
1372
|
] });
|
|
1373
1373
|
};
|
|
1374
|
-
function
|
|
1375
|
-
return /* @__PURE__ */ t.jsxs("div", { className: `${
|
|
1376
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1377
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1374
|
+
function Ke({ message: i, compact: _ = !1 }) {
|
|
1375
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `${c.chatLoader} ${_ ? c.chatLoaderCompact : ""}`, children: [
|
|
1376
|
+
/* @__PURE__ */ t.jsx("div", { className: c.spinner, children: /* @__PURE__ */ t.jsx("div", { className: c.spinnerRing }) }),
|
|
1377
|
+
/* @__PURE__ */ t.jsx("div", { className: c.chatLoaderText, children: i })
|
|
1378
1378
|
] });
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function Je({
|
|
1381
1381
|
overlay: i,
|
|
1382
1382
|
isLandscape: _,
|
|
1383
|
-
onOfferingClick:
|
|
1383
|
+
onOfferingClick: b
|
|
1384
1384
|
}) {
|
|
1385
1385
|
const x = (() => {
|
|
1386
1386
|
const s = /* @__PURE__ */ new Date();
|
|
1387
|
-
return
|
|
1387
|
+
return He.slice().reverse().find((d) => new Date(d.afterTime) <= s) || He[0];
|
|
1388
1388
|
})(), g = async (s) => {
|
|
1389
|
-
if (
|
|
1389
|
+
if (b)
|
|
1390
1390
|
try {
|
|
1391
|
-
await
|
|
1392
|
-
} catch (
|
|
1393
|
-
console.error("Offering click handler failed:",
|
|
1391
|
+
await b(s);
|
|
1392
|
+
} catch (f) {
|
|
1393
|
+
console.error("Offering click handler failed:", f);
|
|
1394
1394
|
}
|
|
1395
1395
|
};
|
|
1396
|
-
return /* @__PURE__ */ t.jsx("div", { className: `${
|
|
1397
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1396
|
+
return /* @__PURE__ */ t.jsx("div", { className: `${c.banner} ${i ? c.bannerOverlay : ""}`, children: /* @__PURE__ */ t.jsxs("div", { className: c.bannerCard, children: [
|
|
1397
|
+
/* @__PURE__ */ t.jsxs("p", { className: c.bannerTitle, children: [
|
|
1398
1398
|
"Make ",
|
|
1399
1399
|
/* @__PURE__ */ t.jsx("span", { children: "Live" }),
|
|
1400
1400
|
" Offering on your behalf"
|
|
1401
1401
|
] }),
|
|
1402
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1403
|
-
(s,
|
|
1404
|
-
|
|
1402
|
+
/* @__PURE__ */ t.jsx("div", { className: c.scroll, children: x.items.map(
|
|
1403
|
+
(s, f) => _ ? /* @__PURE__ */ t.jsx(
|
|
1404
|
+
Vr,
|
|
1405
1405
|
{
|
|
1406
1406
|
item: s,
|
|
1407
1407
|
onClick: () => g(s)
|
|
1408
1408
|
},
|
|
1409
1409
|
s.inventory_id
|
|
1410
1410
|
) : /* @__PURE__ */ t.jsx(
|
|
1411
|
-
|
|
1411
|
+
Yr,
|
|
1412
1412
|
{
|
|
1413
1413
|
item: s,
|
|
1414
|
-
index:
|
|
1414
|
+
index: f,
|
|
1415
1415
|
totalItems: x.items.length,
|
|
1416
1416
|
onClick: () => g(s)
|
|
1417
1417
|
},
|
|
@@ -1420,37 +1420,37 @@ function me({
|
|
|
1420
1420
|
) })
|
|
1421
1421
|
] }) });
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1423
|
+
function Yr({
|
|
1424
1424
|
item: i,
|
|
1425
1425
|
index: _,
|
|
1426
|
-
totalItems:
|
|
1427
|
-
onClick:
|
|
1426
|
+
totalItems: b,
|
|
1427
|
+
onClick: p
|
|
1428
1428
|
}) {
|
|
1429
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
1430
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1431
|
-
/* @__PURE__ */ t.jsx("img", { src: i.image_url, alt: i.name, className:
|
|
1432
|
-
/* @__PURE__ */ t.jsx("button", { className:
|
|
1429
|
+
return /* @__PURE__ */ t.jsxs("div", { className: c.card, children: [
|
|
1430
|
+
/* @__PURE__ */ t.jsxs("div", { className: c.imageWrapper, children: [
|
|
1431
|
+
/* @__PURE__ */ t.jsx("img", { src: i.image_url, alt: i.name, className: c.image }),
|
|
1432
|
+
/* @__PURE__ */ t.jsx("button", { className: c.addBtn, onClick: p, "aria-label": `Add ${i.name}`, children: "+" })
|
|
1433
1433
|
] }),
|
|
1434
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1435
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1434
|
+
/* @__PURE__ */ t.jsx("p", { className: c.title, children: i.name }),
|
|
1435
|
+
/* @__PURE__ */ t.jsxs("p", { className: c.price, children: [
|
|
1436
1436
|
"₹",
|
|
1437
1437
|
i.price
|
|
1438
1438
|
] }),
|
|
1439
|
-
_ !==
|
|
1439
|
+
_ !== b - 1 && /* @__PURE__ */ t.jsx("div", { className: c.divider })
|
|
1440
1440
|
] });
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function Vr({
|
|
1443
1443
|
item: i,
|
|
1444
1444
|
onClick: _
|
|
1445
1445
|
}) {
|
|
1446
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
1447
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1448
|
-
/* @__PURE__ */ t.jsx("img", { src: i.image_url, alt: i.name, className:
|
|
1449
|
-
/* @__PURE__ */ t.jsx("button", { className:
|
|
1446
|
+
return /* @__PURE__ */ t.jsxs("div", { className: c.landscapeCard, children: [
|
|
1447
|
+
/* @__PURE__ */ t.jsxs("div", { className: c.landscapeImageWrapper, children: [
|
|
1448
|
+
/* @__PURE__ */ t.jsx("img", { src: i.image_url, alt: i.name, className: c.landscapeImage }),
|
|
1449
|
+
/* @__PURE__ */ t.jsx("button", { className: c.landscapeAdd, onClick: _, "aria-label": `Add ${i.name}`, children: "+" })
|
|
1450
1450
|
] }),
|
|
1451
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1452
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1453
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1451
|
+
/* @__PURE__ */ t.jsxs("div", { className: c.landscapeContent, children: [
|
|
1452
|
+
/* @__PURE__ */ t.jsx("p", { className: c.landscapeTitle, children: i.name }),
|
|
1453
|
+
/* @__PURE__ */ t.jsxs("p", { className: c.landscapePrice, children: [
|
|
1454
1454
|
"₹",
|
|
1455
1455
|
i.price
|
|
1456
1456
|
] })
|
|
@@ -1458,12 +1458,12 @@ function Jr({
|
|
|
1458
1458
|
] });
|
|
1459
1459
|
}
|
|
1460
1460
|
export {
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1461
|
+
Kr as AppContextProvider,
|
|
1462
|
+
Hr as I18nProvider,
|
|
1463
|
+
Jr as LandingPage,
|
|
1464
|
+
qr as SuccessPage,
|
|
1465
|
+
zr as VideoPage,
|
|
1466
|
+
Qe as useAppContext,
|
|
1467
|
+
me as useI18n
|
|
1468
1468
|
};
|
|
1469
1469
|
//# sourceMappingURL=hanuman-chalisa.js.map
|