@srimandir/hanuman-chalisa 1.7.2 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hanuman-chalisa.js +474 -456
- package/dist/hanuman-chalisa.js.map +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var i =
|
|
8
|
-
function s(
|
|
9
|
-
var u,
|
|
1
|
+
import Ge, { useContext as Xe, createContext as Ze, useState as I, useEffect as B, useRef as me } from "react";
|
|
2
|
+
var se = { exports: {} }, X = {};
|
|
3
|
+
var $e;
|
|
4
|
+
function Pt() {
|
|
5
|
+
if ($e) return X;
|
|
6
|
+
$e = 1;
|
|
7
|
+
var i = Ge, p = /* @__PURE__ */ Symbol.for("react.element"), _ = /* @__PURE__ */ Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function s(m, d, R) {
|
|
9
|
+
var u, w = {}, C = null, k = null;
|
|
10
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)
|
|
12
|
-
if (
|
|
13
|
-
return { $$typeof:
|
|
11
|
+
for (u in d) f.call(d, u) && !b.hasOwnProperty(u) && (w[u] = d[u]);
|
|
12
|
+
if (m && m.defaultProps) for (u in d = m.defaultProps, d) w[u] === void 0 && (w[u] = d[u]);
|
|
13
|
+
return { $$typeof: p, type: m, key: C, ref: k, props: w, _owner: v.current };
|
|
14
14
|
}
|
|
15
|
-
return X.Fragment =
|
|
15
|
+
return X.Fragment = _, X.jsx = s, X.jsxs = s, X;
|
|
16
16
|
}
|
|
17
17
|
var Z = {};
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var i =
|
|
18
|
+
var Me;
|
|
19
|
+
function St() {
|
|
20
|
+
return Me || (Me = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var i = Ge, p = /* @__PURE__ */ Symbol.for("react.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), f = /* @__PURE__ */ Symbol.for("react.fragment"), v = /* @__PURE__ */ Symbol.for("react.strict_mode"), b = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.provider"), m = /* @__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"), w = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), k = /* @__PURE__ */ Symbol.for("react.offscreen"), D = Symbol.iterator, L = "@@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[L];
|
|
26
26
|
return typeof r == "function" ? r : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var O = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
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
|
+
q("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function q(e, r, n) {
|
|
37
37
|
{
|
|
38
|
-
var a =
|
|
39
|
-
|
|
40
|
-
var
|
|
38
|
+
var a = O.ReactDebugCurrentFrame, h = a.getStackAddendum();
|
|
39
|
+
h !== "" && (r += "%s", n = n.concat([h]));
|
|
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 ===
|
|
46
|
+
var V = !1, j = !1, W = !1, Q = !1, ee = !1, y;
|
|
47
|
+
y = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
+
function $(e) {
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === b || ee || e === v || e === R || e === u || Q || e === k || V || j || W || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === w || e.$$typeof === s || e.$$typeof === m || 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 === y || e.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function rt(e, r, n) {
|
|
56
56
|
var a = e.displayName;
|
|
57
57
|
if (a)
|
|
58
58
|
return a;
|
|
59
|
-
var
|
|
60
|
-
return
|
|
59
|
+
var h = r.displayName || r.name || "";
|
|
60
|
+
return h !== "" ? n + "(" + h + ")" : n;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function xe(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function M(e) {
|
|
66
66
|
if (e == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -70,13 +70,13 @@ function Pt() {
|
|
|
70
70
|
if (typeof e == "string")
|
|
71
71
|
return e;
|
|
72
72
|
switch (e) {
|
|
73
|
-
case
|
|
73
|
+
case f:
|
|
74
74
|
return "Fragment";
|
|
75
|
-
case
|
|
75
|
+
case _:
|
|
76
76
|
return "Portal";
|
|
77
|
-
case
|
|
77
|
+
case b:
|
|
78
78
|
return "Profiler";
|
|
79
|
-
case
|
|
79
|
+
case v:
|
|
80
80
|
return "StrictMode";
|
|
81
81
|
case R:
|
|
82
82
|
return "Suspense";
|
|
@@ -85,21 +85,21 @@ function Pt() {
|
|
|
85
85
|
}
|
|
86
86
|
if (typeof e == "object")
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
|
-
case
|
|
88
|
+
case m:
|
|
89
89
|
var r = e;
|
|
90
|
-
return
|
|
90
|
+
return xe(r) + ".Consumer";
|
|
91
91
|
case s:
|
|
92
92
|
var n = e;
|
|
93
|
-
return
|
|
93
|
+
return xe(n._context) + ".Provider";
|
|
94
94
|
case d:
|
|
95
|
-
return
|
|
96
|
-
case
|
|
95
|
+
return rt(e, e.render, "ForwardRef");
|
|
96
|
+
case w:
|
|
97
97
|
var a = e.displayName || null;
|
|
98
|
-
return a !== null ? a :
|
|
98
|
+
return a !== null ? a : M(e.type) || "Memo";
|
|
99
99
|
case C: {
|
|
100
|
-
var
|
|
100
|
+
var h = e, x = h._payload, l = h._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return M(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
|
|
111
|
-
function
|
|
110
|
+
var U = Object.assign, z = 0, ve, ge, _e, be, je, ye, we;
|
|
111
|
+
function Ne() {
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
function
|
|
113
|
+
Ne.__reactDisabledLog = !0;
|
|
114
|
+
function nt() {
|
|
115
115
|
{
|
|
116
116
|
if (z === 0) {
|
|
117
|
-
|
|
117
|
+
ve = console.log, ge = console.info, _e = console.warn, be = console.error, je = console.group, ye = console.groupCollapsed, we = console.groupEnd;
|
|
118
118
|
var e = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: Ne,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -134,7 +134,7 @@ function Pt() {
|
|
|
134
134
|
z++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function at() {
|
|
138
138
|
{
|
|
139
139
|
if (z--, z === 0) {
|
|
140
140
|
var e = {
|
|
@@ -143,65 +143,65 @@ function Pt() {
|
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
147
|
-
value: xe
|
|
148
|
-
}),
|
|
149
|
-
info: Y({}, e, {
|
|
146
|
+
log: U({}, e, {
|
|
150
147
|
value: ve
|
|
151
148
|
}),
|
|
152
|
-
|
|
149
|
+
info: U({}, e, {
|
|
153
150
|
value: ge
|
|
154
151
|
}),
|
|
155
|
-
|
|
152
|
+
warn: U({}, e, {
|
|
156
153
|
value: _e
|
|
157
154
|
}),
|
|
158
|
-
|
|
155
|
+
error: U({}, e, {
|
|
159
156
|
value: be
|
|
160
157
|
}),
|
|
161
|
-
|
|
158
|
+
group: U({}, e, {
|
|
162
159
|
value: je
|
|
163
160
|
}),
|
|
164
|
-
|
|
161
|
+
groupCollapsed: U({}, e, {
|
|
165
162
|
value: ye
|
|
163
|
+
}),
|
|
164
|
+
groupEnd: U({}, e, {
|
|
165
|
+
value: we
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
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 ie = O.ReactCurrentDispatcher, oe;
|
|
173
|
+
function te(e, r, n) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (oe === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
|
-
} catch (
|
|
179
|
-
var a =
|
|
180
|
-
|
|
178
|
+
} catch (h) {
|
|
179
|
+
var a = h.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
oe = a && a[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + oe + e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ce = !1, re;
|
|
187
187
|
{
|
|
188
|
-
var
|
|
189
|
-
|
|
188
|
+
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
+
re = new st();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!e ||
|
|
191
|
+
function Ce(e, r) {
|
|
192
|
+
if (!e || ce)
|
|
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
|
-
|
|
201
|
-
var
|
|
200
|
+
ce = !0;
|
|
201
|
+
var h = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var x;
|
|
204
|
+
x = ie.current, ie.current = null, nt();
|
|
205
205
|
try {
|
|
206
206
|
if (r) {
|
|
207
207
|
var l = function() {
|
|
@@ -247,67 +247,67 @@ function Pt() {
|
|
|
247
247
|
if (N--, T--, T < 0 || o[N] !== P[T]) {
|
|
248
248
|
var F = `
|
|
249
249
|
` + o[N].replace(" at new ", " at ");
|
|
250
|
-
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
250
|
+
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, F), F;
|
|
251
251
|
}
|
|
252
252
|
while (N >= 1 && T >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
ce = !1, ie.current = x, at(), Error.prepareStackTrace = h;
|
|
258
258
|
}
|
|
259
|
-
var K = e ? e.displayName || e.name : "",
|
|
260
|
-
return typeof e == "function" &&
|
|
259
|
+
var K = e ? e.displayName || e.name : "", Y = K ? te(K) : "";
|
|
260
|
+
return typeof e == "function" && re.set(e, Y), Y;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
262
|
+
function it(e, r, n) {
|
|
263
|
+
return Ce(e, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function ot(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 Ce(e, ot(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
|
-
return
|
|
275
|
+
return te(e);
|
|
276
276
|
switch (e) {
|
|
277
277
|
case R:
|
|
278
|
-
return
|
|
278
|
+
return te("Suspense");
|
|
279
279
|
case u:
|
|
280
|
-
return
|
|
280
|
+
return te("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
284
|
case d:
|
|
285
|
-
return
|
|
286
|
-
case
|
|
287
|
-
return
|
|
285
|
+
return it(e.render);
|
|
286
|
+
case w:
|
|
287
|
+
return ne(e.type, r, n);
|
|
288
288
|
case C: {
|
|
289
|
-
var a = e,
|
|
289
|
+
var a = e, h = a._payload, x = a._init;
|
|
290
290
|
try {
|
|
291
|
-
return
|
|
291
|
+
return ne(x(h), 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, Ee = {}, Te = 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
|
+
Te.setExtraStackFrame(n);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
Te.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function ct(e, r, n, a, h) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
308
|
+
var x = Function.call.bind(G);
|
|
309
309
|
for (var l in e)
|
|
310
|
-
if (
|
|
310
|
+
if (x(e, l)) {
|
|
311
311
|
var o = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof e[l] != "function") {
|
|
@@ -318,41 +318,41 @@ function Pt() {
|
|
|
318
318
|
} catch (N) {
|
|
319
319
|
o = N;
|
|
320
320
|
}
|
|
321
|
-
o && !(o instanceof Error) && (
|
|
321
|
+
o && !(o instanceof Error) && (ae(h), 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), ae(null)), o instanceof Error && !(o.message in Ee) && (Ee[o.message] = !0, ae(h), E("Failed %s type: %s", n, o.message), ae(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return
|
|
325
|
+
var lt = Array.isArray;
|
|
326
|
+
function le(e) {
|
|
327
|
+
return lt(e);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function dt(e) {
|
|
330
330
|
{
|
|
331
331
|
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
332
332
|
return n;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function ut(e) {
|
|
336
336
|
try {
|
|
337
|
-
return
|
|
337
|
+
return ke(e), !1;
|
|
338
338
|
} catch {
|
|
339
339
|
return !0;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function ke(e) {
|
|
343
343
|
return "" + e;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
if (
|
|
347
|
-
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
345
|
+
function Re(e) {
|
|
346
|
+
if (ut(e))
|
|
347
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), ke(e);
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Pe = O.ReactCurrentOwner, pt = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
355
|
-
function
|
|
354
|
+
}, Se, Ie;
|
|
355
|
+
function ft(e) {
|
|
356
356
|
if (G.call(e, "ref")) {
|
|
357
357
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
358
358
|
if (r && r.isReactWarning)
|
|
@@ -360,7 +360,7 @@ function Pt() {
|
|
|
360
360
|
}
|
|
361
361
|
return e.ref !== void 0;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function mt(e) {
|
|
364
364
|
if (G.call(e, "key")) {
|
|
365
365
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
366
366
|
if (r && r.isReactWarning)
|
|
@@ -368,13 +368,13 @@ function Pt() {
|
|
|
368
368
|
}
|
|
369
369
|
return e.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function mt(e, r) {
|
|
372
|
-
typeof e.ref == "string" && Re.current;
|
|
373
|
-
}
|
|
374
371
|
function ht(e, r) {
|
|
372
|
+
typeof e.ref == "string" && Pe.current;
|
|
373
|
+
}
|
|
374
|
+
function xt(e, r) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
|
-
|
|
377
|
+
Se || (Se = !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,
|
|
@@ -382,10 +382,10 @@ function Pt() {
|
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function vt(e, r) {
|
|
386
386
|
{
|
|
387
387
|
var n = function() {
|
|
388
|
-
|
|
388
|
+
Ie || (Ie = !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,17 +393,17 @@ function Pt() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var gt = function(e, r, n, a, h, x, l) {
|
|
397
397
|
var o = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
|
-
$$typeof:
|
|
399
|
+
$$typeof: p,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: e,
|
|
402
402
|
key: r,
|
|
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 o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
@@ -419,44 +419,44 @@ function Pt() {
|
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
|
-
value:
|
|
422
|
+
value: h
|
|
423
423
|
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
424
424
|
};
|
|
425
|
-
function
|
|
425
|
+
function _t(e, r, n, a, h) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
n !== void 0 && (
|
|
429
|
-
for (
|
|
430
|
-
G.call(r,
|
|
427
|
+
var x, l = {}, o = null, P = null;
|
|
428
|
+
n !== void 0 && (Re(n), o = "" + n), mt(r) && (Re(r.key), o = "" + r.key), ft(r) && (P = r.ref, ht(r, h));
|
|
429
|
+
for (x in r)
|
|
430
|
+
G.call(r, x) && !pt.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 (o || P) {
|
|
437
437
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
-
o &&
|
|
438
|
+
o && xt(l, T), P && vt(l, T);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return gt(e, o, P, h, a, Pe.current, l);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
443
|
+
var de = O.ReactCurrentOwner, Fe = O.ReactDebugCurrentFrame;
|
|
444
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
|
+
Fe.setExtraStackFrame(n);
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
Fe.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
454
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
451
|
+
var ue;
|
|
452
|
+
ue = !1;
|
|
453
|
+
function pe(e) {
|
|
454
|
+
return typeof e == "object" && e !== null && e.$$typeof === p;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Le() {
|
|
457
457
|
{
|
|
458
|
-
if (
|
|
459
|
-
var e =
|
|
458
|
+
if (de.current) {
|
|
459
|
+
var e = M(de.current.type);
|
|
460
460
|
if (e)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -465,13 +465,13 @@ Check the render method of \`` + e + "`.";
|
|
|
465
465
|
return "";
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function bt(e) {
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var Oe = {};
|
|
472
|
-
function
|
|
472
|
+
function jt(e) {
|
|
473
473
|
{
|
|
474
|
-
var r =
|
|
474
|
+
var r = Le();
|
|
475
475
|
if (!r) {
|
|
476
476
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
477
477
|
n && (r = `
|
|
@@ -481,39 +481,39 @@ Check the top-level render call using <` + n + ">.");
|
|
|
481
481
|
return r;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function De(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
|
-
var n =
|
|
489
|
+
var n = jt(r);
|
|
490
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 !== de.current && (a = " It was passed a child from " + M(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 Ae(e, r) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (le(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
503
|
var a = e[n];
|
|
504
|
-
|
|
504
|
+
pe(a) && De(a, r);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (pe(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
|
-
var
|
|
510
|
-
if (typeof
|
|
511
|
-
for (var
|
|
512
|
-
|
|
509
|
+
var h = A(e);
|
|
510
|
+
if (typeof h == "function" && h !== e.entries)
|
|
511
|
+
for (var x = h.call(e), l; !(l = x.next()).done; )
|
|
512
|
+
pe(l.value) && De(l.value, r);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function yt(e) {
|
|
517
517
|
{
|
|
518
518
|
var r = e.type;
|
|
519
519
|
if (r == null || typeof r == "string")
|
|
@@ -523,22 +523,22 @@ Check the top-level render call using <` + n + ">.");
|
|
|
523
523
|
n = r.propTypes;
|
|
524
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 === w))
|
|
527
527
|
n = r.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (n) {
|
|
531
|
-
var a =
|
|
532
|
-
|
|
533
|
-
} else if (r.PropTypes !== void 0 && !
|
|
534
|
-
|
|
535
|
-
var
|
|
536
|
-
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
531
|
+
var a = M(r);
|
|
532
|
+
ct(n, e.props, "prop", a, e);
|
|
533
|
+
} else if (r.PropTypes !== void 0 && !ue) {
|
|
534
|
+
ue = !0;
|
|
535
|
+
var h = M(r);
|
|
536
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
537
537
|
}
|
|
538
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
|
-
function
|
|
541
|
+
function wt(e) {
|
|
542
542
|
{
|
|
543
543
|
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
544
544
|
var a = r[n];
|
|
@@ -550,67 +550,67 @@ Check the top-level render call using <` + n + ">.");
|
|
|
550
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 Be = {};
|
|
554
|
+
function We(e, r, n, a, h, x) {
|
|
555
555
|
{
|
|
556
|
-
var l =
|
|
556
|
+
var l = $(e);
|
|
557
557
|
if (!l) {
|
|
558
558
|
var o = "";
|
|
559
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
|
-
var P =
|
|
561
|
-
P ? o += P : o +=
|
|
560
|
+
var P = bt();
|
|
561
|
+
P ? o += P : o += Le();
|
|
562
562
|
var N;
|
|
563
|
-
e === null ? N = "null" :
|
|
563
|
+
e === null ? N = "null" : le(e) ? N = "array" : e !== void 0 && e.$$typeof === p ? (N = "<" + (M(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 T =
|
|
565
|
+
var T = _t(e, r, n, h, x);
|
|
566
566
|
if (T == null)
|
|
567
567
|
return T;
|
|
568
568
|
if (l) {
|
|
569
569
|
var F = r.children;
|
|
570
570
|
if (F !== void 0)
|
|
571
571
|
if (a)
|
|
572
|
-
if (
|
|
572
|
+
if (le(F)) {
|
|
573
573
|
for (var K = 0; K < F.length; K++)
|
|
574
|
-
|
|
574
|
+
Ae(F[K], e);
|
|
575
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
|
+
Ae(F, e);
|
|
580
580
|
}
|
|
581
581
|
if (G.call(r, "key")) {
|
|
582
|
-
var
|
|
583
|
-
return
|
|
584
|
-
}),
|
|
585
|
-
if (!
|
|
586
|
-
var
|
|
582
|
+
var Y = M(e), S = Object.keys(r).filter(function(Rt) {
|
|
583
|
+
return Rt !== "key";
|
|
584
|
+
}), fe = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!Be[Y + fe]) {
|
|
586
|
+
var kt = 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} />`, fe, Y, kt, Y), Be[Y + fe] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return e ===
|
|
595
|
+
return e === f ? wt(T) : yt(T), T;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function wt(e, r, n) {
|
|
599
|
-
return Be(e, r, n, !0);
|
|
600
|
-
}
|
|
601
598
|
function Nt(e, r, n) {
|
|
602
|
-
return
|
|
599
|
+
return We(e, r, n, !0);
|
|
600
|
+
}
|
|
601
|
+
function Ct(e, r, n) {
|
|
602
|
+
return We(e, r, n, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
Z.Fragment =
|
|
604
|
+
var Et = Ct, Tt = Nt;
|
|
605
|
+
Z.Fragment = f, Z.jsx = Et, Z.jsxs = Tt;
|
|
606
606
|
})()), Z;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Ue;
|
|
609
|
+
function It() {
|
|
610
|
+
return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? se.exports = Pt() : se.exports = St()), se.exports;
|
|
611
611
|
}
|
|
612
|
-
var t =
|
|
613
|
-
const
|
|
612
|
+
var t = It();
|
|
613
|
+
const Ft = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const It = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, Lt = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -707,84 +707,84 @@ const It = {
|
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
709
|
}, Ot = {
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
712
|
-
},
|
|
710
|
+
en: Ft,
|
|
711
|
+
hi: Lt
|
|
712
|
+
}, Qe = Ze(null), Kr = ({
|
|
713
713
|
locale: i,
|
|
714
|
-
children:
|
|
714
|
+
children: p
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ t.jsx(
|
|
716
|
+
const f = { locale: i, t: (v) => Ot[i]?.[v] ?? v };
|
|
717
|
+
return /* @__PURE__ */ t.jsx(Qe.Provider, { value: f, children: p });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function he() {
|
|
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
|
+
}, Jr = ({
|
|
728
728
|
children: i
|
|
729
729
|
}) => {
|
|
730
|
-
const [
|
|
730
|
+
const [p, _] = I(null), [f, v] = I(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
|
-
|
|
732
|
+
et.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
|
-
userData:
|
|
736
|
-
setUserData:
|
|
737
|
-
showSuccess:
|
|
738
|
-
setShowSuccess:
|
|
735
|
+
userData: p,
|
|
736
|
+
setUserData: _,
|
|
737
|
+
showSuccess: f,
|
|
738
|
+
setShowSuccess: v
|
|
739
739
|
},
|
|
740
740
|
children: i
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, Dt = "_landingPage_14yn1_1", Ye = {
|
|
744
|
+
landingPage: Dt,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
|
-
},
|
|
747
|
-
const
|
|
746
|
+
}, At = ({ targetDate: i }) => {
|
|
747
|
+
const _ = he()?.t || ((m) => m), f = () => {
|
|
748
748
|
const d = (typeof i == "string" ? new Date(i) : i).getTime() - Date.now();
|
|
749
749
|
if (d > 0) {
|
|
750
|
-
const R = Math.floor(d / 864e5), u = Math.floor(d % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)),
|
|
751
|
-
return { days: R, hours: u, minutes:
|
|
750
|
+
const R = Math.floor(d / 864e5), u = Math.floor(d % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), w = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), C = Math.floor(d % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: R, hours: u, minutes: w, seconds: C };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
|
|
754
|
+
}, [v, b] = I({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
|
+
B(() => {
|
|
756
|
+
b(f());
|
|
757
|
+
const m = setInterval(() => {
|
|
758
|
+
b(f());
|
|
759
759
|
}, 1e3);
|
|
760
|
-
return () => clearInterval(
|
|
760
|
+
return () => clearInterval(m);
|
|
761
761
|
}, [i]);
|
|
762
|
-
const s = (
|
|
762
|
+
const s = (m) => m.toString().padStart(2, "0");
|
|
763
763
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
|
|
764
764
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
765
765
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
766
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: 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: _("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: _("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: _("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: _("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: _("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, Bt = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -870,29 +870,29 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], qr = ({
|
|
874
874
|
targetDate: i,
|
|
875
|
-
onSubmit:
|
|
876
|
-
isGlobal:
|
|
877
|
-
analytics:
|
|
878
|
-
showToast:
|
|
875
|
+
onSubmit: p,
|
|
876
|
+
isGlobal: _ = !1,
|
|
877
|
+
analytics: f,
|
|
878
|
+
showToast: v
|
|
879
879
|
}) => {
|
|
880
|
-
const s =
|
|
881
|
-
(j) => j.code ===
|
|
880
|
+
const s = he()?.t || ((j) => j), [m, d] = I(_ ? "+1" : "+91"), [R, u] = I(!1), { setUserData: w, setShowSuccess: C } = tt(), [k, D] = I(""), [L, A] = I(""), O = me(!1), E = `${m}-${L}`, q = Ve.find(
|
|
881
|
+
(j) => j.code === m
|
|
882
882
|
);
|
|
883
|
-
|
|
884
|
-
!
|
|
885
|
-
}, [
|
|
886
|
-
const
|
|
883
|
+
B(() => {
|
|
884
|
+
!O.current && f?.trackLandingPageViewed && (f.trackLandingPageViewed(), O.current = !0);
|
|
885
|
+
}, [f]);
|
|
886
|
+
const V = (j) => {
|
|
887
887
|
if (j.preventDefault(), !k || k.trim() === "") {
|
|
888
|
-
|
|
888
|
+
v?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
890
890
|
}
|
|
891
|
-
if (!
|
|
892
|
-
|
|
891
|
+
if (!L || L.length !== 10) {
|
|
892
|
+
v?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
|
|
895
|
+
f?.trackSubmitClicked?.(), w({ name: k, fullPhoneNumber: E }), v?.("success", "Registration Successful"), C(!0), p?.({ name: k, fullPhoneNumber: E });
|
|
896
896
|
};
|
|
897
897
|
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: Ye.landingPage, children: [
|
|
898
898
|
/* @__PURE__ */ t.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsx(
|
|
@@ -903,7 +903,7 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
903
903
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
904
904
|
}
|
|
905
905
|
) }),
|
|
906
|
-
/* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(
|
|
906
|
+
/* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(At, { targetDate: i }) }),
|
|
907
907
|
/* @__PURE__ */ t.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
908
908
|
/* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
909
909
|
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
|
@@ -923,7 +923,7 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
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: V, 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(
|
|
@@ -932,9 +932,9 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
932
932
|
type: "text",
|
|
933
933
|
value: k,
|
|
934
934
|
onChange: (j) => {
|
|
935
|
-
D(j.target.value), j.target.value && !k &&
|
|
935
|
+
D(j.target.value), j.target.value && !k && f?.trackNameFilled?.();
|
|
936
936
|
},
|
|
937
|
-
onFocus: () =>
|
|
937
|
+
onFocus: () => f?.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
|
|
@@ -950,7 +950,7 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
950
950
|
{
|
|
951
951
|
onClick: () => u(!R),
|
|
952
952
|
className: `${Ye["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
|
-
children:
|
|
953
|
+
children: q?.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(
|
|
@@ -974,12 +974,12 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
974
974
|
"input",
|
|
975
975
|
{
|
|
976
976
|
type: "tel",
|
|
977
|
-
value:
|
|
977
|
+
value: L,
|
|
978
978
|
onChange: (j) => {
|
|
979
|
-
const
|
|
980
|
-
A(
|
|
979
|
+
const W = j.target.value.replace(/\D/g, "");
|
|
980
|
+
A(W), W && !L && f?.trackPhoneFilled?.();
|
|
981
981
|
},
|
|
982
|
-
onFocus: () =>
|
|
982
|
+
onFocus: () => f?.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,163 +1002,163 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
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:
|
|
1005
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: Bt.map((j, W) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1006
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
1008
|
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: s(j.titleKey) }),
|
|
1009
1009
|
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: s(j.descKey) })
|
|
1010
1010
|
] })
|
|
1011
|
-
] },
|
|
1011
|
+
] }, W)) })
|
|
1012
1012
|
] }) })
|
|
1013
1013
|
] }) });
|
|
1014
|
-
},
|
|
1015
|
-
successPage:
|
|
1016
|
-
profileImageContainer:
|
|
1017
|
-
profileImage:
|
|
1018
|
-
greeting:
|
|
1014
|
+
}, Wt = "_successPage_8t8j5_1", $t = "_profileImageContainer_8t8j5_7", Mt = "_profileImage_8t8j5_7", Ut = "_greeting_8t8j5_19", Yt = "_jaiShreeRam_8t8j5_23", Vt = "_userName_8t8j5_29", Ht = "_registrationCard_8t8j5_34", Kt = "_registeredText_8t8j5_48", Jt = "_eventName_8t8j5_53", qt = "_eventDetails_8t8j5_61", zt = "_whatsappButton_8t8j5_66", Gt = "_redirectInfo_8t8j5_75", Xt = "_redirectText_8t8j5_79", Zt = "_countdown_8t8j5_84", Qt = "_nextSteps_8t8j5_90", er = "_nextStepsTitle_8t8j5_96", tr = "_stepsList_8t8j5_101", rr = "_step_8t8j5_101", nr = "_stepNumber_8t8j5_109", ar = "_stepText_8t8j5_113", g = {
|
|
1015
|
+
successPage: Wt,
|
|
1016
|
+
profileImageContainer: $t,
|
|
1017
|
+
profileImage: Mt,
|
|
1018
|
+
greeting: Ut,
|
|
1019
1019
|
jaiShreeRam: Yt,
|
|
1020
1020
|
userName: Vt,
|
|
1021
|
-
registrationCard:
|
|
1022
|
-
registeredText:
|
|
1023
|
-
eventName:
|
|
1024
|
-
eventDetails:
|
|
1025
|
-
whatsappButton:
|
|
1026
|
-
redirectInfo:
|
|
1027
|
-
redirectText:
|
|
1028
|
-
countdown:
|
|
1029
|
-
nextSteps:
|
|
1030
|
-
nextStepsTitle:
|
|
1031
|
-
stepsList:
|
|
1032
|
-
step:
|
|
1033
|
-
stepNumber:
|
|
1034
|
-
stepText:
|
|
1035
|
-
},
|
|
1021
|
+
registrationCard: Ht,
|
|
1022
|
+
registeredText: Kt,
|
|
1023
|
+
eventName: Jt,
|
|
1024
|
+
eventDetails: qt,
|
|
1025
|
+
whatsappButton: zt,
|
|
1026
|
+
redirectInfo: Gt,
|
|
1027
|
+
redirectText: Xt,
|
|
1028
|
+
countdown: Zt,
|
|
1029
|
+
nextSteps: Qt,
|
|
1030
|
+
nextStepsTitle: er,
|
|
1031
|
+
stepsList: tr,
|
|
1032
|
+
step: rr,
|
|
1033
|
+
stepNumber: nr,
|
|
1034
|
+
stepText: ar
|
|
1035
|
+
}, sr = "918151810300", ir = "I'm interested in the Rasrajji Hanuman Jayanti Path", He = `https://wa.me/${sr}?text=${encodeURIComponent(ir)}`, zr = ({
|
|
1036
1036
|
userName: i = "Rahul",
|
|
1037
|
-
eventName:
|
|
1038
|
-
eventDate:
|
|
1039
|
-
eventTime:
|
|
1040
|
-
onWhatsAppClick:
|
|
1041
|
-
redirectSeconds:
|
|
1037
|
+
eventName: p = "Hanuman Jayanti Maha Path",
|
|
1038
|
+
eventDate: _ = "2nd April",
|
|
1039
|
+
eventTime: f = "9:00 AM onwards",
|
|
1040
|
+
onWhatsAppClick: v,
|
|
1041
|
+
redirectSeconds: b = 10,
|
|
1042
1042
|
analytics: s,
|
|
1043
|
-
showToast:
|
|
1043
|
+
showToast: m,
|
|
1044
1044
|
disableRedirect: d = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const u =
|
|
1047
|
-
return
|
|
1046
|
+
const u = he()?.t || ((A) => A), { userData: w } = tt(), [C, k] = I(b), D = me(!1), L = w?.name || i;
|
|
1047
|
+
return B(() => {
|
|
1048
1048
|
!D.current && s?.trackSuccessPageViewed && (s.trackSuccessPageViewed({
|
|
1049
|
-
name:
|
|
1050
|
-
phone:
|
|
1049
|
+
name: w?.name,
|
|
1050
|
+
phone: w?.fullPhoneNumber
|
|
1051
1051
|
}), D.current = !0);
|
|
1052
|
-
}, [s,
|
|
1052
|
+
}, [s, w?.name, w?.fullPhoneNumber]), B(() => {
|
|
1053
1053
|
if (!d)
|
|
1054
1054
|
if (C > 0) {
|
|
1055
1055
|
const A = setTimeout(() => k(C - 1), 1e3);
|
|
1056
1056
|
return () => clearTimeout(A);
|
|
1057
|
-
} else C === 0 && (window.location.href =
|
|
1058
|
-
}, [C, d]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
1059
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1057
|
+
} else C === 0 && (window.location.href = He);
|
|
1058
|
+
}, [C, d]), /* @__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: u("jaiShreeRam") }),
|
|
1072
|
+
/* @__PURE__ */ t.jsxs("h1", { className: g.userName, children: [
|
|
1073
1073
|
u("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
|
-
|
|
1075
|
+
L,
|
|
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: u("registeredFor") }),
|
|
1081
|
+
/* @__PURE__ */ t.jsx("h2", { className: g.eventName, children: p }),
|
|
1082
|
+
/* @__PURE__ */ t.jsxs("p", { className: g.eventDetails, children: [
|
|
1083
|
+
_,
|
|
1084
1084
|
" · ",
|
|
1085
|
-
|
|
1085
|
+
f
|
|
1086
1086
|
] })
|
|
1087
1087
|
] }),
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
1089
1089
|
"button",
|
|
1090
1090
|
{
|
|
1091
|
-
className:
|
|
1091
|
+
className: g.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
|
-
s?.trackWhatsappBtnClicked?.(),
|
|
1094
|
-
window.location.href =
|
|
1095
|
-
}, 500),
|
|
1093
|
+
s?.trackWhatsappBtnClicked?.(), m?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
|
+
window.location.href = He;
|
|
1095
|
+
}, 500), v?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
1098
|
children: u("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: u("redirectingIn") }),
|
|
1103
|
+
/* @__PURE__ */ t.jsxs("p", { className: g.countdown, children: [
|
|
1104
1104
|
C.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
1106
|
u("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: u("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: u("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: u("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: u("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
},
|
|
1128
|
-
container:
|
|
1129
|
-
video:
|
|
1130
|
-
videoFullscreenWithBelowBanner:
|
|
1131
|
-
banner:
|
|
1132
|
-
bannerOverlay:
|
|
1133
|
-
bannerCard:
|
|
1134
|
-
bannerTitle:
|
|
1135
|
-
scroll:
|
|
1136
|
-
card:
|
|
1137
|
-
divider:
|
|
1138
|
-
chat:
|
|
1139
|
-
iframe:
|
|
1140
|
-
fullscreenBtn:
|
|
1141
|
-
chatToggleBtn:
|
|
1142
|
-
fullscreenChatPanel:
|
|
1143
|
-
fullscreenChatCloseBtn:
|
|
1144
|
-
chatLoader:
|
|
1145
|
-
chatLoaderCompact:
|
|
1146
|
-
spinner:
|
|
1147
|
-
spinnerRing:
|
|
1148
|
-
chatLoaderText:
|
|
1149
|
-
imageWrapper:
|
|
1150
|
-
image:
|
|
1151
|
-
addBtn:
|
|
1152
|
-
title:
|
|
1153
|
-
price:
|
|
1154
|
-
landscapeCard:
|
|
1155
|
-
landscapeImageWrapper:
|
|
1127
|
+
}, or = "_container_pjakb_1", cr = "_video_pjakb_23", lr = "_videoFullscreenWithBelowBanner_pjakb_35", dr = "_banner_pjakb_42", ur = "_bannerOverlay_pjakb_52", pr = "_bannerCard_pjakb_60", fr = "_bannerTitle_pjakb_68", mr = "_scroll_pjakb_79", hr = "_card_pjakb_86", xr = "_divider_pjakb_96", vr = "_chat_pjakb_105", gr = "_iframe_pjakb_111", _r = "_fullscreenBtn_pjakb_118", br = "_chatToggleBtn_pjakb_156", jr = "_fullscreenChatPanel_pjakb_180", yr = "_fullscreenChatCloseBtn_pjakb_193", wr = "_chatLoader_pjakb_222", Nr = "_chatLoaderCompact_pjakb_235", Cr = "_spinner_pjakb_239", Er = "_spinnerRing_pjakb_245", Tr = "_chatLoaderText_pjakb_262", kr = "_imageWrapper_pjakb_274", Rr = "_image_pjakb_274", Pr = "_addBtn_pjakb_286", Sr = "_title_pjakb_300", Ir = "_price_pjakb_307", Fr = "_landscapeCard_pjakb_313", Lr = "_landscapeImageWrapper_pjakb_326", Or = "_landscapeImage_pjakb_326", Dr = "_landscapeContent_pjakb_339", Ar = "_landscapeTitle_pjakb_346", Br = "_landscapePrice_pjakb_352", Wr = "_landscapeAdd_pjakb_358", c = {
|
|
1128
|
+
container: or,
|
|
1129
|
+
video: cr,
|
|
1130
|
+
videoFullscreenWithBelowBanner: lr,
|
|
1131
|
+
banner: dr,
|
|
1132
|
+
bannerOverlay: ur,
|
|
1133
|
+
bannerCard: pr,
|
|
1134
|
+
bannerTitle: fr,
|
|
1135
|
+
scroll: mr,
|
|
1136
|
+
card: hr,
|
|
1137
|
+
divider: xr,
|
|
1138
|
+
chat: vr,
|
|
1139
|
+
iframe: gr,
|
|
1140
|
+
fullscreenBtn: _r,
|
|
1141
|
+
chatToggleBtn: br,
|
|
1142
|
+
fullscreenChatPanel: jr,
|
|
1143
|
+
fullscreenChatCloseBtn: yr,
|
|
1144
|
+
chatLoader: wr,
|
|
1145
|
+
chatLoaderCompact: Nr,
|
|
1146
|
+
spinner: Cr,
|
|
1147
|
+
spinnerRing: Er,
|
|
1148
|
+
chatLoaderText: Tr,
|
|
1149
|
+
imageWrapper: kr,
|
|
1150
|
+
image: Rr,
|
|
1151
|
+
addBtn: Pr,
|
|
1152
|
+
title: Sr,
|
|
1153
|
+
price: Ir,
|
|
1154
|
+
landscapeCard: Fr,
|
|
1155
|
+
landscapeImageWrapper: Lr,
|
|
1156
1156
|
landscapeImage: Or,
|
|
1157
|
-
landscapeContent:
|
|
1158
|
-
landscapeTitle:
|
|
1159
|
-
landscapePrice:
|
|
1160
|
-
landscapeAdd:
|
|
1161
|
-
},
|
|
1157
|
+
landscapeContent: Dr,
|
|
1158
|
+
landscapeTitle: Ar,
|
|
1159
|
+
landscapePrice: Br,
|
|
1160
|
+
landscapeAdd: Wr
|
|
1161
|
+
}, $r = "2281016c-061e-42c2-95f7-dba2d6ed7a26", Mr = "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" ? $r : Mr, Ke = [
|
|
1162
1162
|
{
|
|
1163
1163
|
afterTime: "2024-01-01T00:00:00Z",
|
|
1164
1164
|
items: [
|
|
@@ -1209,73 +1209,89 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
|
-
],
|
|
1212
|
+
], Je = (i) => {
|
|
1213
|
+
if (!i)
|
|
1214
|
+
return;
|
|
1215
|
+
const p = i.trim();
|
|
1216
|
+
if (!p)
|
|
1217
|
+
return;
|
|
1218
|
+
const _ = /^https?:\/\//i.test(p) ? p : `https://${p}`;
|
|
1219
|
+
try {
|
|
1220
|
+
return new URL(_).hostname;
|
|
1221
|
+
} catch {
|
|
1222
|
+
return p.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
1223
|
+
}
|
|
1224
|
+
}, Gr = ({
|
|
1213
1225
|
videoId: i,
|
|
1214
|
-
title:
|
|
1215
|
-
chatHost:
|
|
1216
|
-
onOfferingClick:
|
|
1226
|
+
title: p = "Live Stream",
|
|
1227
|
+
chatHost: _,
|
|
1228
|
+
onOfferingClick: f
|
|
1217
1229
|
}) => {
|
|
1218
|
-
const
|
|
1219
|
-
|
|
1220
|
-
|
|
1230
|
+
const v = me(null), [b, s] = I(!1), [m, d] = I(!1), [R, u] = I(!0), [w, C] = I(!1), [k, D] = I(!1), [L, A] = I(""), O = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", E = Je(L) || Je(_) || "www.srimandir.com", q = `https://www.youtube-nocookie.com/embed/${i}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(O)}`, V = `https://www.youtube.com/live_chat?v=${i}&embed_domain=${encodeURIComponent(
|
|
1231
|
+
E
|
|
1232
|
+
)}`, j = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1233
|
+
B(() => {
|
|
1234
|
+
const y = () => {
|
|
1221
1235
|
D(window.innerWidth > window.innerHeight);
|
|
1222
1236
|
};
|
|
1223
|
-
return
|
|
1237
|
+
return y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
|
|
1238
|
+
}, []), B(() => {
|
|
1239
|
+
typeof window < "u" && A(window.location.hostname);
|
|
1224
1240
|
}, []);
|
|
1225
|
-
const
|
|
1226
|
-
const
|
|
1227
|
-
if (
|
|
1241
|
+
const W = async () => {
|
|
1242
|
+
const y = v.current;
|
|
1243
|
+
if (y?.requestFullscreen)
|
|
1228
1244
|
try {
|
|
1229
|
-
await
|
|
1230
|
-
} catch (
|
|
1231
|
-
console.error("Fullscreen error:",
|
|
1245
|
+
await y.requestFullscreen();
|
|
1246
|
+
} catch ($) {
|
|
1247
|
+
console.error("Fullscreen error:", $);
|
|
1232
1248
|
}
|
|
1233
1249
|
try {
|
|
1234
|
-
const
|
|
1235
|
-
!
|
|
1236
|
-
} catch (
|
|
1237
|
-
console.error("Orientation lock error:",
|
|
1250
|
+
const $ = screen.orientation;
|
|
1251
|
+
!j && $?.lock && await $.lock("landscape");
|
|
1252
|
+
} catch ($) {
|
|
1253
|
+
console.error("Orientation lock error:", $);
|
|
1238
1254
|
}
|
|
1239
1255
|
s(!0);
|
|
1240
|
-
},
|
|
1256
|
+
}, Q = async () => {
|
|
1241
1257
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
1242
1258
|
try {
|
|
1243
1259
|
await document.exitFullscreen();
|
|
1244
|
-
} catch (
|
|
1245
|
-
console.error("Exit fullscreen error:",
|
|
1260
|
+
} catch (y) {
|
|
1261
|
+
console.error("Exit fullscreen error:", y);
|
|
1246
1262
|
}
|
|
1247
1263
|
try {
|
|
1248
|
-
const
|
|
1249
|
-
|
|
1250
|
-
} catch (
|
|
1251
|
-
console.error("Orientation unlock error:",
|
|
1264
|
+
const y = screen.orientation;
|
|
1265
|
+
y?.unlock && y.unlock();
|
|
1266
|
+
} catch (y) {
|
|
1267
|
+
console.error("Orientation unlock error:", y);
|
|
1252
1268
|
}
|
|
1253
1269
|
s(!1);
|
|
1254
1270
|
};
|
|
1255
|
-
|
|
1256
|
-
const
|
|
1271
|
+
B(() => {
|
|
1272
|
+
const y = () => {
|
|
1257
1273
|
document.fullscreenElement || s(!1);
|
|
1258
1274
|
};
|
|
1259
|
-
return document.addEventListener("fullscreenchange",
|
|
1260
|
-
}, []),
|
|
1261
|
-
|
|
1262
|
-
}, [
|
|
1263
|
-
|
|
1264
|
-
}, [
|
|
1265
|
-
const
|
|
1266
|
-
|
|
1275
|
+
return document.addEventListener("fullscreenchange", y), () => document.removeEventListener("fullscreenchange", y);
|
|
1276
|
+
}, []), B(() => {
|
|
1277
|
+
b || d(!1);
|
|
1278
|
+
}, [b]), B(() => {
|
|
1279
|
+
m && C(!0);
|
|
1280
|
+
}, [m]);
|
|
1281
|
+
const ee = async (y) => {
|
|
1282
|
+
b && document.fullscreenElement && await Q(), f && await f(y);
|
|
1267
1283
|
};
|
|
1268
|
-
return /* @__PURE__ */ t.jsxs("div", { ref:
|
|
1284
|
+
return /* @__PURE__ */ t.jsxs("div", { ref: v, className: c.container, children: [
|
|
1269
1285
|
/* @__PURE__ */ t.jsxs(
|
|
1270
1286
|
"div",
|
|
1271
1287
|
{
|
|
1272
|
-
className:
|
|
1288
|
+
className: b ? c.videoFullscreenWithBelowBanner : c.video,
|
|
1273
1289
|
children: [
|
|
1274
1290
|
/* @__PURE__ */ t.jsx(
|
|
1275
1291
|
"iframe",
|
|
1276
1292
|
{
|
|
1277
|
-
src:
|
|
1278
|
-
title:
|
|
1293
|
+
src: q,
|
|
1294
|
+
title: p,
|
|
1279
1295
|
frameBorder: "0",
|
|
1280
1296
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
1281
1297
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
@@ -1287,18 +1303,18 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
1287
1303
|
"button",
|
|
1288
1304
|
{
|
|
1289
1305
|
className: c.fullscreenBtn,
|
|
1290
|
-
onClick:
|
|
1291
|
-
"aria-label":
|
|
1292
|
-
children:
|
|
1306
|
+
onClick: b ? Q : W,
|
|
1307
|
+
"aria-label": b ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
1308
|
+
children: b ? "⤡" : "⤢"
|
|
1293
1309
|
}
|
|
1294
1310
|
),
|
|
1295
|
-
|
|
1311
|
+
b && /* @__PURE__ */ t.jsx(
|
|
1296
1312
|
"button",
|
|
1297
1313
|
{
|
|
1298
1314
|
className: c.chatToggleBtn,
|
|
1299
|
-
onClick: () => d((
|
|
1300
|
-
"aria-label":
|
|
1301
|
-
children:
|
|
1315
|
+
onClick: () => d((y) => !y),
|
|
1316
|
+
"aria-label": m ? "Hide Chat" : "Show Chat",
|
|
1317
|
+
children: m ? (
|
|
1302
1318
|
// Close icon
|
|
1303
1319
|
/* @__PURE__ */ t.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
|
|
1304
1320
|
/* @__PURE__ */ t.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
@@ -1310,7 +1326,7 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
1310
1326
|
)
|
|
1311
1327
|
}
|
|
1312
1328
|
),
|
|
1313
|
-
|
|
1329
|
+
b && m && /* @__PURE__ */ t.jsxs("div", { className: c.fullscreenChatPanel, children: [
|
|
1314
1330
|
/* @__PURE__ */ t.jsx(
|
|
1315
1331
|
"button",
|
|
1316
1332
|
{
|
|
@@ -1323,46 +1339,48 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
1323
1339
|
] })
|
|
1324
1340
|
}
|
|
1325
1341
|
),
|
|
1326
|
-
|
|
1342
|
+
w && /* @__PURE__ */ t.jsx(qe, { message: "Loading chat...", compact: !0 }),
|
|
1327
1343
|
/* @__PURE__ */ t.jsx(
|
|
1328
1344
|
"iframe",
|
|
1329
1345
|
{
|
|
1330
|
-
src:
|
|
1346
|
+
src: V,
|
|
1331
1347
|
title: "Live Chat Fullscreen",
|
|
1332
1348
|
frameBorder: "0",
|
|
1333
1349
|
onLoad: () => C(!1),
|
|
1350
|
+
referrerPolicy: "origin",
|
|
1334
1351
|
className: c.iframe,
|
|
1335
|
-
style: { opacity:
|
|
1352
|
+
style: { opacity: w ? 0 : 1 }
|
|
1336
1353
|
}
|
|
1337
1354
|
)
|
|
1338
1355
|
] })
|
|
1339
1356
|
]
|
|
1340
1357
|
}
|
|
1341
1358
|
),
|
|
1342
|
-
|
|
1343
|
-
|
|
1359
|
+
b && /* @__PURE__ */ t.jsx(
|
|
1360
|
+
ze,
|
|
1344
1361
|
{
|
|
1345
1362
|
isLandscape: k,
|
|
1346
|
-
onOfferingClick:
|
|
1363
|
+
onOfferingClick: ee
|
|
1347
1364
|
}
|
|
1348
1365
|
),
|
|
1349
|
-
!
|
|
1366
|
+
!b && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1350
1367
|
/* @__PURE__ */ t.jsx(
|
|
1351
|
-
|
|
1368
|
+
ze,
|
|
1352
1369
|
{
|
|
1353
1370
|
isLandscape: k,
|
|
1354
|
-
onOfferingClick:
|
|
1371
|
+
onOfferingClick: ee
|
|
1355
1372
|
}
|
|
1356
1373
|
),
|
|
1357
1374
|
/* @__PURE__ */ t.jsxs("div", { className: c.chat, children: [
|
|
1358
|
-
R && /* @__PURE__ */ t.jsx(
|
|
1375
|
+
R && /* @__PURE__ */ t.jsx(qe, { message: "Loading chat..." }),
|
|
1359
1376
|
/* @__PURE__ */ t.jsx(
|
|
1360
1377
|
"iframe",
|
|
1361
1378
|
{
|
|
1362
|
-
src:
|
|
1379
|
+
src: V,
|
|
1363
1380
|
title: "Live Chat",
|
|
1364
1381
|
frameBorder: "0",
|
|
1365
1382
|
onLoad: () => u(!1),
|
|
1383
|
+
referrerPolicy: "origin",
|
|
1366
1384
|
className: c.iframe,
|
|
1367
1385
|
style: { opacity: R ? 0 : 1 }
|
|
1368
1386
|
}
|
|
@@ -1371,26 +1389,26 @@ const Ze = Ge(void 0), Qe = () => {
|
|
|
1371
1389
|
] })
|
|
1372
1390
|
] });
|
|
1373
1391
|
};
|
|
1374
|
-
function
|
|
1375
|
-
return /* @__PURE__ */ t.jsxs("div", { className: `${c.chatLoader} ${
|
|
1392
|
+
function qe({ message: i, compact: p = !1 }) {
|
|
1393
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `${c.chatLoader} ${p ? c.chatLoaderCompact : ""}`, children: [
|
|
1376
1394
|
/* @__PURE__ */ t.jsx("div", { className: c.spinner, children: /* @__PURE__ */ t.jsx("div", { className: c.spinnerRing }) }),
|
|
1377
1395
|
/* @__PURE__ */ t.jsx("div", { className: c.chatLoaderText, children: i })
|
|
1378
1396
|
] });
|
|
1379
1397
|
}
|
|
1380
|
-
function
|
|
1398
|
+
function ze({
|
|
1381
1399
|
overlay: i,
|
|
1382
|
-
isLandscape:
|
|
1383
|
-
onOfferingClick:
|
|
1400
|
+
isLandscape: p,
|
|
1401
|
+
onOfferingClick: _
|
|
1384
1402
|
}) {
|
|
1385
|
-
const
|
|
1403
|
+
const v = (() => {
|
|
1386
1404
|
const s = /* @__PURE__ */ new Date();
|
|
1387
|
-
return
|
|
1388
|
-
})(),
|
|
1389
|
-
if (
|
|
1405
|
+
return Ke.slice().reverse().find((d) => new Date(d.afterTime) <= s) || Ke[0];
|
|
1406
|
+
})(), b = async (s) => {
|
|
1407
|
+
if (_)
|
|
1390
1408
|
try {
|
|
1391
|
-
await
|
|
1392
|
-
} catch (
|
|
1393
|
-
console.error("Offering click handler failed:",
|
|
1409
|
+
await _(s);
|
|
1410
|
+
} catch (m) {
|
|
1411
|
+
console.error("Offering click handler failed:", m);
|
|
1394
1412
|
}
|
|
1395
1413
|
};
|
|
1396
1414
|
return /* @__PURE__ */ t.jsx("div", { className: `${c.banner} ${i ? c.bannerOverlay : ""}`, children: /* @__PURE__ */ t.jsxs("div", { className: c.bannerCard, children: [
|
|
@@ -1399,21 +1417,21 @@ function Je({
|
|
|
1399
1417
|
/* @__PURE__ */ t.jsx("span", { children: "Live" }),
|
|
1400
1418
|
" Offering on your behalf"
|
|
1401
1419
|
] }),
|
|
1402
|
-
/* @__PURE__ */ t.jsx("div", { className: c.scroll, children:
|
|
1403
|
-
(s,
|
|
1420
|
+
/* @__PURE__ */ t.jsx("div", { className: c.scroll, children: v.items.map(
|
|
1421
|
+
(s, m) => p ? /* @__PURE__ */ t.jsx(
|
|
1404
1422
|
Vr,
|
|
1405
1423
|
{
|
|
1406
1424
|
item: s,
|
|
1407
|
-
onClick: () =>
|
|
1425
|
+
onClick: () => b(s)
|
|
1408
1426
|
},
|
|
1409
1427
|
s.inventory_id
|
|
1410
1428
|
) : /* @__PURE__ */ t.jsx(
|
|
1411
1429
|
Yr,
|
|
1412
1430
|
{
|
|
1413
1431
|
item: s,
|
|
1414
|
-
index:
|
|
1415
|
-
totalItems:
|
|
1416
|
-
onClick: () =>
|
|
1432
|
+
index: m,
|
|
1433
|
+
totalItems: v.items.length,
|
|
1434
|
+
onClick: () => b(s)
|
|
1417
1435
|
},
|
|
1418
1436
|
s.inventory_id
|
|
1419
1437
|
)
|
|
@@ -1422,31 +1440,31 @@ function Je({
|
|
|
1422
1440
|
}
|
|
1423
1441
|
function Yr({
|
|
1424
1442
|
item: i,
|
|
1425
|
-
index:
|
|
1426
|
-
totalItems:
|
|
1427
|
-
onClick:
|
|
1443
|
+
index: p,
|
|
1444
|
+
totalItems: _,
|
|
1445
|
+
onClick: f
|
|
1428
1446
|
}) {
|
|
1429
1447
|
return /* @__PURE__ */ t.jsxs("div", { className: c.card, children: [
|
|
1430
1448
|
/* @__PURE__ */ t.jsxs("div", { className: c.imageWrapper, children: [
|
|
1431
1449
|
/* @__PURE__ */ t.jsx("img", { src: i.image_url, alt: i.name, className: c.image }),
|
|
1432
|
-
/* @__PURE__ */ t.jsx("button", { className: c.addBtn, onClick:
|
|
1450
|
+
/* @__PURE__ */ t.jsx("button", { className: c.addBtn, onClick: f, "aria-label": `Add ${i.name}`, children: "+" })
|
|
1433
1451
|
] }),
|
|
1434
1452
|
/* @__PURE__ */ t.jsx("p", { className: c.title, children: i.name }),
|
|
1435
1453
|
/* @__PURE__ */ t.jsxs("p", { className: c.price, children: [
|
|
1436
1454
|
"₹",
|
|
1437
1455
|
i.price
|
|
1438
1456
|
] }),
|
|
1439
|
-
|
|
1457
|
+
p !== _ - 1 && /* @__PURE__ */ t.jsx("div", { className: c.divider })
|
|
1440
1458
|
] });
|
|
1441
1459
|
}
|
|
1442
1460
|
function Vr({
|
|
1443
1461
|
item: i,
|
|
1444
|
-
onClick:
|
|
1462
|
+
onClick: p
|
|
1445
1463
|
}) {
|
|
1446
1464
|
return /* @__PURE__ */ t.jsxs("div", { className: c.landscapeCard, children: [
|
|
1447
1465
|
/* @__PURE__ */ t.jsxs("div", { className: c.landscapeImageWrapper, children: [
|
|
1448
1466
|
/* @__PURE__ */ t.jsx("img", { src: i.image_url, alt: i.name, className: c.landscapeImage }),
|
|
1449
|
-
/* @__PURE__ */ t.jsx("button", { className: c.landscapeAdd, onClick:
|
|
1467
|
+
/* @__PURE__ */ t.jsx("button", { className: c.landscapeAdd, onClick: p, "aria-label": `Add ${i.name}`, children: "+" })
|
|
1450
1468
|
] }),
|
|
1451
1469
|
/* @__PURE__ */ t.jsxs("div", { className: c.landscapeContent, children: [
|
|
1452
1470
|
/* @__PURE__ */ t.jsx("p", { className: c.landscapeTitle, children: i.name }),
|
|
@@ -1458,12 +1476,12 @@ function Vr({
|
|
|
1458
1476
|
] });
|
|
1459
1477
|
}
|
|
1460
1478
|
export {
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1479
|
+
Jr as AppContextProvider,
|
|
1480
|
+
Kr as I18nProvider,
|
|
1481
|
+
qr as LandingPage,
|
|
1482
|
+
zr as SuccessPage,
|
|
1483
|
+
Gr as VideoPage,
|
|
1484
|
+
tt as useAppContext,
|
|
1485
|
+
he as useI18n
|
|
1468
1486
|
};
|
|
1469
1487
|
//# sourceMappingURL=hanuman-chalisa.js.map
|