@srimandir/daily-live-puja 1.5.0 → 1.5.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/daily-live-puja.js +1194 -1173
- package/dist/daily-live-puja.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/daily-live-puja.js
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var a =
|
|
8
|
-
function r(
|
|
1
|
+
import We, { useContext as ia, createContext as oa, useState as S, useEffect as B, useRef as F, useCallback as ct, useMemo as jt, useId as xa } from "react";
|
|
2
|
+
var yt = { exports: {} }, nt = {};
|
|
3
|
+
var Dt;
|
|
4
|
+
function ga() {
|
|
5
|
+
if (Dt) return nt;
|
|
6
|
+
Dt = 1;
|
|
7
|
+
var a = We, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function r(h, d, k) {
|
|
9
9
|
var u, g = {}, p = null, v = null;
|
|
10
|
-
|
|
11
|
-
for (u in
|
|
12
|
-
if (
|
|
13
|
-
return { $$typeof: n, type:
|
|
10
|
+
k !== void 0 && (p = "" + k), d.key !== void 0 && (p = "" + d.key), d.ref !== void 0 && (v = d.ref);
|
|
11
|
+
for (u in d) o.call(d, u) && !m.hasOwnProperty(u) && (g[u] = d[u]);
|
|
12
|
+
if (h && h.defaultProps) for (u in d = h.defaultProps, d) g[u] === void 0 && (g[u] = d[u]);
|
|
13
|
+
return { $$typeof: n, type: h, key: p, ref: v, props: g, _owner: i.current };
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return nt.Fragment = s, nt.jsx = r, nt.jsxs = r, nt;
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var a =
|
|
17
|
+
var st = {};
|
|
18
|
+
var At;
|
|
19
|
+
function _a() {
|
|
20
|
+
return At || (At = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var a = We, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), o = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, N = "@@iterator";
|
|
22
22
|
function _(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var l =
|
|
25
|
+
var l = j && t[j] || t[N];
|
|
26
26
|
return typeof l == "function" ? l : null;
|
|
27
27
|
}
|
|
28
28
|
var C = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
|
-
function
|
|
29
|
+
function b(t) {
|
|
30
30
|
{
|
|
31
|
-
for (var l = arguments.length,
|
|
32
|
-
|
|
33
|
-
O("error", t,
|
|
31
|
+
for (var l = arguments.length, x = new Array(l > 1 ? l - 1 : 0), y = 1; y < l; y++)
|
|
32
|
+
x[y - 1] = arguments[y];
|
|
33
|
+
O("error", t, x);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function O(t, l,
|
|
36
|
+
function O(t, l, x) {
|
|
37
37
|
{
|
|
38
|
-
var
|
|
39
|
-
L !== "" && (l += "%s",
|
|
40
|
-
var A =
|
|
38
|
+
var y = C.ReactDebugCurrentFrame, L = y.getStackAddendum();
|
|
39
|
+
L !== "" && (l += "%s", x = x.concat([L]));
|
|
40
|
+
var A = x.map(function(R) {
|
|
41
41
|
return String(R);
|
|
42
42
|
});
|
|
43
43
|
A.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, A);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var V = !1, w = !1, G = !1, Z = !1, I = !1, D;
|
|
47
47
|
D = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
48
|
+
function Y(t) {
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === m || I || t === i || t === k || t === u || Z || t === v || V || w || G || typeof t == "object" && t !== null && (t.$$typeof === p || t.$$typeof === g || t.$$typeof === r || t.$$typeof === h || t.$$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
53
|
t.$$typeof === D || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function le(t, l,
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
55
|
+
function le(t, l, x) {
|
|
56
|
+
var y = t.displayName;
|
|
57
|
+
if (y)
|
|
58
|
+
return y;
|
|
59
59
|
var L = l.displayName || l.name || "";
|
|
60
|
-
return L !== "" ?
|
|
60
|
+
return L !== "" ? x + "(" + L + ")" : x;
|
|
61
61
|
}
|
|
62
62
|
function X(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function W(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
|
-
if (typeof t.tag == "number" &&
|
|
68
|
+
if (typeof t.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
69
69
|
return t.displayName || t.name || null;
|
|
70
70
|
if (typeof t == "string")
|
|
71
71
|
return t;
|
|
72
72
|
switch (t) {
|
|
73
|
-
case
|
|
73
|
+
case o:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case s:
|
|
76
76
|
return "Portal";
|
|
77
|
-
case
|
|
77
|
+
case m:
|
|
78
78
|
return "Profiler";
|
|
79
|
-
case
|
|
79
|
+
case i:
|
|
80
80
|
return "StrictMode";
|
|
81
|
-
case
|
|
81
|
+
case k:
|
|
82
82
|
return "Suspense";
|
|
83
83
|
case u:
|
|
84
84
|
return "SuspenseList";
|
|
85
85
|
}
|
|
86
86
|
if (typeof t == "object")
|
|
87
87
|
switch (t.$$typeof) {
|
|
88
|
-
case
|
|
88
|
+
case h:
|
|
89
89
|
var l = t;
|
|
90
90
|
return X(l) + ".Consumer";
|
|
91
91
|
case r:
|
|
92
|
-
var
|
|
93
|
-
return X(
|
|
94
|
-
case
|
|
92
|
+
var x = t;
|
|
93
|
+
return X(x._context) + ".Provider";
|
|
94
|
+
case d:
|
|
95
95
|
return le(t, t.render, "ForwardRef");
|
|
96
96
|
case g:
|
|
97
|
-
var
|
|
98
|
-
return
|
|
97
|
+
var y = t.displayName || null;
|
|
98
|
+
return y !== null ? y : W(t.type) || "Memo";
|
|
99
99
|
case p: {
|
|
100
100
|
var L = t, A = L._payload, R = L._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return W(R(A));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,18 +107,18 @@ function ma() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var Q = Object.assign, ue = 0, Te, Ee, Pe,
|
|
111
|
-
function
|
|
110
|
+
var Q = Object.assign, ue = 0, Te, Ee, Pe, ye, He, Ve, te;
|
|
111
|
+
function Ye() {
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
function
|
|
113
|
+
Ye.__reactDisabledLog = !0;
|
|
114
|
+
function wt() {
|
|
115
115
|
{
|
|
116
116
|
if (ue === 0) {
|
|
117
|
-
Te = console.log, Ee = console.info, Pe = console.warn,
|
|
117
|
+
Te = console.log, Ee = console.info, Pe = console.warn, ye = console.error, He = console.group, Ve = console.groupCollapsed, te = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: Ye,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -134,7 +134,7 @@ function ma() {
|
|
|
134
134
|
ue++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function je() {
|
|
138
138
|
{
|
|
139
139
|
if (ue--, ue === 0) {
|
|
140
140
|
var t = {
|
|
@@ -153,55 +153,55 @@ function ma() {
|
|
|
153
153
|
value: Pe
|
|
154
154
|
}),
|
|
155
155
|
error: Q({}, t, {
|
|
156
|
-
value:
|
|
156
|
+
value: ye
|
|
157
157
|
}),
|
|
158
158
|
group: Q({}, t, {
|
|
159
|
-
value:
|
|
159
|
+
value: He
|
|
160
160
|
}),
|
|
161
161
|
groupCollapsed: Q({}, t, {
|
|
162
|
-
value:
|
|
162
|
+
value: Ve
|
|
163
163
|
}),
|
|
164
164
|
groupEnd: Q({}, t, {
|
|
165
165
|
value: te
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
ue < 0 &&
|
|
169
|
+
ue < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
var Ie = C.ReactCurrentDispatcher, we;
|
|
173
|
-
function pe(t, l,
|
|
173
|
+
function pe(t, l, x) {
|
|
174
174
|
{
|
|
175
175
|
if (we === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (L) {
|
|
179
|
-
var
|
|
180
|
-
we =
|
|
179
|
+
var y = L.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
we = y && y[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
183
|
` + we + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ke = !1, ge;
|
|
187
187
|
{
|
|
188
|
-
var
|
|
189
|
-
ge = new
|
|
188
|
+
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
+
ge = new dt();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!t ||
|
|
191
|
+
function ze(t, l) {
|
|
192
|
+
if (!t || ke)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
return
|
|
195
|
+
var x = ge.get(t);
|
|
196
|
+
if (x !== void 0)
|
|
197
|
+
return x;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var y;
|
|
200
|
+
ke = !0;
|
|
201
201
|
var L = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var A;
|
|
204
|
-
A = Ie.current, Ie.current = null,
|
|
204
|
+
A = Ie.current, Ie.current = null, wt();
|
|
205
205
|
try {
|
|
206
206
|
if (l) {
|
|
207
207
|
var R = function() {
|
|
@@ -215,14 +215,14 @@ function ma() {
|
|
|
215
215
|
try {
|
|
216
216
|
Reflect.construct(R, []);
|
|
217
217
|
} catch ($) {
|
|
218
|
-
|
|
218
|
+
y = $;
|
|
219
219
|
}
|
|
220
220
|
Reflect.construct(t, [], R);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
223
|
R.call();
|
|
224
224
|
} catch ($) {
|
|
225
|
-
|
|
225
|
+
y = $;
|
|
226
226
|
}
|
|
227
227
|
t.call(R.prototype);
|
|
228
228
|
}
|
|
@@ -230,21 +230,21 @@ function ma() {
|
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
232
|
} catch ($) {
|
|
233
|
-
|
|
233
|
+
y = $;
|
|
234
234
|
}
|
|
235
235
|
t();
|
|
236
236
|
}
|
|
237
237
|
} catch ($) {
|
|
238
|
-
if ($ &&
|
|
238
|
+
if ($ && y && typeof $.stack == "string") {
|
|
239
239
|
for (var T = $.stack.split(`
|
|
240
|
-
`),
|
|
241
|
-
`), M = T.length - 1, f =
|
|
240
|
+
`), z = y.stack.split(`
|
|
241
|
+
`), M = T.length - 1, f = z.length - 1; M >= 1 && f >= 0 && T[M] !== z[f]; )
|
|
242
242
|
f--;
|
|
243
243
|
for (; M >= 1 && f >= 0; M--, f--)
|
|
244
|
-
if (T[M] !==
|
|
244
|
+
if (T[M] !== z[f]) {
|
|
245
245
|
if (M !== 1 || f !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (M--, f--, f < 0 || T[M] !==
|
|
247
|
+
if (M--, f--, f < 0 || T[M] !== z[f]) {
|
|
248
248
|
var E = `
|
|
249
249
|
` + T[M].replace(" at new ", " at ");
|
|
250
250
|
return t.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", t.displayName)), typeof t == "function" && ge.set(t, E), E;
|
|
@@ -254,56 +254,56 @@ function ma() {
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
ke = !1, Ie.current = A, je(), Error.prepareStackTrace = L;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof t == "function" && ge.set(t,
|
|
259
|
+
var H = t ? t.displayName || t.name : "", K = H ? pe(H) : "";
|
|
260
|
+
return typeof t == "function" && ge.set(t, K), K;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
262
|
+
function ut(t, l, x) {
|
|
263
|
+
return ze(t, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function pt(t) {
|
|
266
266
|
var l = t.prototype;
|
|
267
267
|
return !!(l && l.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function _e(t, l,
|
|
269
|
+
function _e(t, l, x) {
|
|
270
270
|
if (t == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof t == "function")
|
|
273
|
-
return
|
|
273
|
+
return ze(t, pt(t));
|
|
274
274
|
if (typeof t == "string")
|
|
275
275
|
return pe(t);
|
|
276
276
|
switch (t) {
|
|
277
|
-
case
|
|
277
|
+
case k:
|
|
278
278
|
return pe("Suspense");
|
|
279
279
|
case u:
|
|
280
280
|
return pe("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof t == "object")
|
|
283
283
|
switch (t.$$typeof) {
|
|
284
|
-
case
|
|
285
|
-
return
|
|
284
|
+
case d:
|
|
285
|
+
return ut(t.render);
|
|
286
286
|
case g:
|
|
287
|
-
return _e(t.type, l,
|
|
287
|
+
return _e(t.type, l, x);
|
|
288
288
|
case p: {
|
|
289
|
-
var
|
|
289
|
+
var y = t, L = y._payload, A = y._init;
|
|
290
290
|
try {
|
|
291
|
-
return _e(A(L), l,
|
|
291
|
+
return _e(A(L), l, x);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var ve = Object.prototype.hasOwnProperty,
|
|
298
|
+
var ve = Object.prototype.hasOwnProperty, Ge = {}, Je = C.ReactDebugCurrentFrame;
|
|
299
299
|
function ae(t) {
|
|
300
300
|
if (t) {
|
|
301
|
-
var l = t._owner,
|
|
302
|
-
|
|
301
|
+
var l = t._owner, x = _e(t.type, t._source, l ? l.type : null);
|
|
302
|
+
Je.setExtraStackFrame(x);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
Je.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function ne(t, l,
|
|
306
|
+
function ne(t, l, x, y, L) {
|
|
307
307
|
{
|
|
308
308
|
var A = Function.call.bind(ve);
|
|
309
309
|
for (var R in t)
|
|
@@ -311,28 +311,28 @@ function ma() {
|
|
|
311
311
|
var T = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof t[R] != "function") {
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
314
|
+
var z = Error((y || "React class") + ": " + x + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
|
+
throw z.name = "Invariant Violation", z;
|
|
316
316
|
}
|
|
317
|
-
T = t[R](l, R,
|
|
317
|
+
T = t[R](l, R, y, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (M) {
|
|
319
319
|
T = M;
|
|
320
320
|
}
|
|
321
|
-
T && !(T instanceof Error) && (ae(L),
|
|
321
|
+
T && !(T instanceof Error) && (ae(L), b("%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).", y || "React class", x, R, typeof T), ae(null)), T instanceof Error && !(T.message in Ge) && (Ge[T.message] = !0, ae(L), b("Failed %s type: %s", x, T.message), ae(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return
|
|
325
|
+
var J = Array.isArray;
|
|
326
|
+
function Ke(t) {
|
|
327
|
+
return J(t);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function ht(t) {
|
|
330
330
|
{
|
|
331
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
332
|
-
return
|
|
331
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, x = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
332
|
+
return x;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function q(t) {
|
|
336
336
|
try {
|
|
337
337
|
return Re(t), !1;
|
|
338
338
|
} catch {
|
|
@@ -343,16 +343,16 @@ function ma() {
|
|
|
343
343
|
return "" + t;
|
|
344
344
|
}
|
|
345
345
|
function se(t) {
|
|
346
|
-
if (
|
|
347
|
-
return
|
|
346
|
+
if (q(t))
|
|
347
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ht(t)), Re(t);
|
|
348
348
|
}
|
|
349
349
|
var Le = C.ReactCurrentOwner, De = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
355
|
-
function
|
|
354
|
+
}, qe, Ze;
|
|
355
|
+
function ft(t) {
|
|
356
356
|
if (ve.call(t, "ref")) {
|
|
357
357
|
var l = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
358
358
|
if (l && l.isReactWarning)
|
|
@@ -368,39 +368,39 @@ function ma() {
|
|
|
368
368
|
}
|
|
369
369
|
return t.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function mt(t, l) {
|
|
372
372
|
typeof t.ref == "string" && Le.current;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function kt(t, l) {
|
|
375
375
|
{
|
|
376
|
-
var
|
|
377
|
-
|
|
376
|
+
var x = function() {
|
|
377
|
+
qe || (qe = !0, b("%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)", l));
|
|
378
378
|
};
|
|
379
|
-
|
|
380
|
-
get:
|
|
379
|
+
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
380
|
+
get: x,
|
|
381
381
|
configurable: !0
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
function St(t, l) {
|
|
386
386
|
{
|
|
387
|
-
var
|
|
388
|
-
|
|
387
|
+
var x = function() {
|
|
388
|
+
Ze || (Ze = !0, b("%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)", l));
|
|
389
389
|
};
|
|
390
|
-
|
|
391
|
-
get:
|
|
390
|
+
x.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
391
|
+
get: x,
|
|
392
392
|
configurable: !0
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var Ct = function(t, l,
|
|
396
|
+
var Ct = function(t, l, x, y, L, A, R) {
|
|
397
397
|
var T = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: n,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: t,
|
|
402
402
|
key: l,
|
|
403
|
-
ref:
|
|
403
|
+
ref: x,
|
|
404
404
|
props: R,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
406
|
_owner: A
|
|
@@ -414,7 +414,7 @@ function ma() {
|
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
|
-
value:
|
|
417
|
+
value: y
|
|
418
418
|
}), Object.defineProperty(T, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
@@ -422,10 +422,10 @@ function ma() {
|
|
|
422
422
|
value: L
|
|
423
423
|
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
424
424
|
};
|
|
425
|
-
function he(t, l,
|
|
425
|
+
function he(t, l, x, y, L) {
|
|
426
426
|
{
|
|
427
|
-
var A, R = {}, T = null,
|
|
428
|
-
|
|
427
|
+
var A, R = {}, T = null, z = null;
|
|
428
|
+
x !== void 0 && (se(x), T = "" + x), re(l) && (se(l.key), T = "" + l.key), ft(l) && (z = l.ref, mt(l, L));
|
|
429
429
|
for (A in l)
|
|
430
430
|
ve.call(l, A) && !De.hasOwnProperty(A) && (R[A] = l[A]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
@@ -433,30 +433,30 @@ function ma() {
|
|
|
433
433
|
for (A in M)
|
|
434
434
|
R[A] === void 0 && (R[A] = M[A]);
|
|
435
435
|
}
|
|
436
|
-
if (T ||
|
|
436
|
+
if (T || z) {
|
|
437
437
|
var f = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
-
T &&
|
|
438
|
+
T && kt(R, f), z && St(R, f);
|
|
439
439
|
}
|
|
440
|
-
return Ct(t, T,
|
|
440
|
+
return Ct(t, T, z, L, y, Le.current, R);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var fe = C.ReactCurrentOwner, Ae = C.ReactDebugCurrentFrame;
|
|
444
|
-
function
|
|
444
|
+
function be(t) {
|
|
445
445
|
if (t) {
|
|
446
|
-
var l = t._owner,
|
|
447
|
-
Ae.setExtraStackFrame(
|
|
446
|
+
var l = t._owner, x = _e(t.type, t._source, l ? l.type : null);
|
|
447
|
+
Ae.setExtraStackFrame(x);
|
|
448
448
|
} else
|
|
449
449
|
Ae.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
451
|
+
var Xe;
|
|
452
|
+
Xe = !1;
|
|
453
|
+
function Qe(t) {
|
|
454
454
|
return typeof t == "object" && t !== null && t.$$typeof === n;
|
|
455
455
|
}
|
|
456
456
|
function me() {
|
|
457
457
|
{
|
|
458
458
|
if (fe.current) {
|
|
459
|
-
var t =
|
|
459
|
+
var t = W(fe.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -469,14 +469,14 @@ Check the render method of \`` + t + "`.";
|
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var Be = {};
|
|
472
|
-
function
|
|
472
|
+
function et(t) {
|
|
473
473
|
{
|
|
474
474
|
var l = me();
|
|
475
475
|
if (!l) {
|
|
476
|
-
var
|
|
477
|
-
|
|
476
|
+
var x = typeof t == "string" ? t : t.displayName || t.name;
|
|
477
|
+
x && (l = `
|
|
478
478
|
|
|
479
|
-
Check the top-level render call using <` +
|
|
479
|
+
Check the top-level render call using <` + x + ">.");
|
|
480
480
|
}
|
|
481
481
|
return l;
|
|
482
482
|
}
|
|
@@ -486,131 +486,131 @@ Check the top-level render call using <` + m + ">.");
|
|
|
486
486
|
if (!t._store || t._store.validated || t.key != null)
|
|
487
487
|
return;
|
|
488
488
|
t._store.validated = !0;
|
|
489
|
-
var
|
|
490
|
-
if (Be[
|
|
489
|
+
var x = et(l);
|
|
490
|
+
if (Be[x])
|
|
491
491
|
return;
|
|
492
|
-
Be[
|
|
493
|
-
var
|
|
494
|
-
t && t._owner && t._owner !== fe.current && (
|
|
492
|
+
Be[x] = !0;
|
|
493
|
+
var y = "";
|
|
494
|
+
t && t._owner && t._owner !== fe.current && (y = " It was passed a child from " + W(t._owner.type) + "."), be(t), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, y), be(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ee(t, l) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof t != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
502
|
-
for (var
|
|
503
|
-
var
|
|
504
|
-
|
|
501
|
+
if (Ke(t))
|
|
502
|
+
for (var x = 0; x < t.length; x++) {
|
|
503
|
+
var y = t[x];
|
|
504
|
+
Qe(y) && Oe(y, l);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (Qe(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
509
|
var L = _(t);
|
|
510
510
|
if (typeof L == "function" && L !== t.entries)
|
|
511
511
|
for (var A = L.call(t), R; !(R = A.next()).done; )
|
|
512
|
-
|
|
512
|
+
Qe(R.value) && Oe(R.value, l);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function tt(t) {
|
|
517
517
|
{
|
|
518
518
|
var l = t.type;
|
|
519
519
|
if (l == null || typeof l == "string")
|
|
520
520
|
return;
|
|
521
|
-
var
|
|
521
|
+
var x;
|
|
522
522
|
if (typeof l == "function")
|
|
523
|
-
|
|
524
|
-
else if (typeof l == "object" && (l.$$typeof ===
|
|
523
|
+
x = l.propTypes;
|
|
524
|
+
else if (typeof l == "object" && (l.$$typeof === d || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
526
|
l.$$typeof === g))
|
|
527
|
-
|
|
527
|
+
x = l.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
|
-
if (
|
|
531
|
-
var
|
|
532
|
-
ne(
|
|
533
|
-
} else if (l.PropTypes !== void 0 && !
|
|
534
|
-
|
|
535
|
-
var L =
|
|
536
|
-
|
|
530
|
+
if (x) {
|
|
531
|
+
var y = W(l);
|
|
532
|
+
ne(x, t.props, "prop", y, t);
|
|
533
|
+
} else if (l.PropTypes !== void 0 && !Xe) {
|
|
534
|
+
Xe = !0;
|
|
535
|
+
var L = W(l);
|
|
536
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", L || "Unknown");
|
|
537
537
|
}
|
|
538
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
538
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function xt(t) {
|
|
542
542
|
{
|
|
543
|
-
for (var l = Object.keys(t.props),
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
546
|
-
|
|
543
|
+
for (var l = Object.keys(t.props), x = 0; x < l.length; x++) {
|
|
544
|
+
var y = l[x];
|
|
545
|
+
if (y !== "children" && y !== "key") {
|
|
546
|
+
be(t), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), be(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
t.ref !== null && (
|
|
550
|
+
t.ref !== null && (be(t), b("Invalid attribute `ref` supplied to `React.Fragment`."), be(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var gt = {};
|
|
554
|
+
function _t(t, l, x, y, L, A) {
|
|
555
555
|
{
|
|
556
|
-
var R =
|
|
556
|
+
var R = Y(t);
|
|
557
557
|
if (!R) {
|
|
558
558
|
var T = "";
|
|
559
559
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (T += " 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
|
|
561
|
-
|
|
560
|
+
var z = Fe();
|
|
561
|
+
z ? T += z : T += me();
|
|
562
562
|
var M;
|
|
563
|
-
t === null ? M = "null" :
|
|
563
|
+
t === null ? M = "null" : Ke(t) ? M = "array" : t !== void 0 && t.$$typeof === n ? (M = "<" + (W(t.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : M = typeof t, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, T);
|
|
564
564
|
}
|
|
565
|
-
var f = he(t, l,
|
|
565
|
+
var f = he(t, l, x, L, A);
|
|
566
566
|
if (f == null)
|
|
567
567
|
return f;
|
|
568
568
|
if (R) {
|
|
569
569
|
var E = l.children;
|
|
570
570
|
if (E !== void 0)
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
ee(E[
|
|
571
|
+
if (y)
|
|
572
|
+
if (Ke(E)) {
|
|
573
|
+
for (var H = 0; H < E.length; H++)
|
|
574
|
+
ee(E[H], t);
|
|
575
575
|
Object.freeze && Object.freeze(E);
|
|
576
576
|
} else
|
|
577
|
-
|
|
577
|
+
b("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
|
ee(E, t);
|
|
580
580
|
}
|
|
581
581
|
if (ve.call(l, "key")) {
|
|
582
|
-
var
|
|
583
|
-
return
|
|
582
|
+
var K = W(t), $ = Object.keys(l).filter(function(Se) {
|
|
583
|
+
return Se !== "key";
|
|
584
584
|
}), ie = $.length > 0 ? "{key: someKey, " + $.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
-
if (!
|
|
585
|
+
if (!gt[K + ie]) {
|
|
586
586
|
var de = $.length > 0 ? "{" + $.join(": ..., ") + ": ...}" : "{}";
|
|
587
|
-
|
|
587
|
+
b(`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} />`, ie,
|
|
592
|
+
<%s key={someKey} {...props} />`, ie, K, de, K), gt[K + ie] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return t ===
|
|
595
|
+
return t === o ? xt(f) : tt(f), f;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function ce(t, l,
|
|
599
|
-
return
|
|
598
|
+
function ce(t, l, x) {
|
|
599
|
+
return _t(t, l, x, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function vt(t, l, x) {
|
|
602
|
+
return _t(t, l, x, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
|
|
606
|
-
})()),
|
|
604
|
+
var bt = vt, at = ce;
|
|
605
|
+
st.Fragment = o, st.jsx = bt, st.jsxs = at;
|
|
606
|
+
})()), st;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Ft;
|
|
609
|
+
function va() {
|
|
610
|
+
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? yt.exports = ga() : yt.exports = _a()), yt.exports;
|
|
611
611
|
}
|
|
612
|
-
var e =
|
|
613
|
-
const
|
|
612
|
+
var e = va();
|
|
613
|
+
const ba = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const ga = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, ya = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,85 +706,85 @@ const ga = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
712
|
-
},
|
|
709
|
+
}, ja = {
|
|
710
|
+
en: ba,
|
|
711
|
+
hi: ya
|
|
712
|
+
}, la = oa(null), Oi = ({
|
|
713
713
|
locale: a,
|
|
714
714
|
children: n
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ e.jsx(
|
|
716
|
+
const o = { locale: a, t: (i) => ja[a]?.[i] ?? i };
|
|
717
|
+
return /* @__PURE__ */ e.jsx(la.Provider, { value: o, children: n });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function Lt() {
|
|
720
|
+
return ia(la);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const a =
|
|
722
|
+
const ca = oa(void 0), da = () => {
|
|
723
|
+
const a = ia(ca);
|
|
724
724
|
if (!a)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return a;
|
|
727
|
-
},
|
|
727
|
+
}, Mi = ({
|
|
728
728
|
children: a
|
|
729
729
|
}) => {
|
|
730
|
-
const [n, s] = S(null), [
|
|
730
|
+
const [n, s] = S(null), [o, i] = S(!1);
|
|
731
731
|
return /* @__PURE__ */ e.jsx(
|
|
732
|
-
|
|
732
|
+
ca.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: n,
|
|
736
736
|
setUserData: s,
|
|
737
|
-
showSuccess:
|
|
738
|
-
setShowSuccess:
|
|
737
|
+
showSuccess: o,
|
|
738
|
+
setShowSuccess: i
|
|
739
739
|
},
|
|
740
740
|
children: a
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, wa = "_landingPage_1fap9_1", Bt = {
|
|
744
|
+
landingPage: wa,
|
|
745
745
|
"sf-select": "_sf-select_1fap9_12"
|
|
746
|
-
},
|
|
747
|
-
const s =
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
751
|
-
return { days:
|
|
746
|
+
}, ka = ({ targetDate: a }) => {
|
|
747
|
+
const s = Lt()?.t || ((h) => h), o = () => {
|
|
748
|
+
const d = (typeof a == "string" ? new Date(a) : a).getTime() - Date.now();
|
|
749
|
+
if (d > 0) {
|
|
750
|
+
const k = Math.floor(d / 864e5), u = Math.floor(d % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), g = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), p = Math.floor(d % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: k, hours: u, minutes: g, seconds: p };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [
|
|
754
|
+
}, [i, m] = S({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
B(() => {
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
|
|
756
|
+
m(o());
|
|
757
|
+
const h = setInterval(() => {
|
|
758
|
+
m(o());
|
|
759
759
|
}, 1e3);
|
|
760
|
-
return () => clearInterval(
|
|
760
|
+
return () => clearInterval(h);
|
|
761
761
|
}, [a]);
|
|
762
|
-
const r = (
|
|
762
|
+
const r = (h) => h.toString().padStart(2, "0");
|
|
763
763
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
|
|
764
764
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
765
765
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
766
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
766
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.days) }),
|
|
767
767
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("days") })
|
|
768
768
|
] }),
|
|
769
769
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
770
770
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
771
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
771
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.hours) }),
|
|
772
772
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("hours") })
|
|
773
773
|
] }),
|
|
774
774
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
775
775
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
776
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
776
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.minutes) }),
|
|
777
777
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("minutes") })
|
|
778
778
|
] }),
|
|
779
779
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
780
780
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
781
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
781
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.seconds) }),
|
|
782
782
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
785
785
|
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: s("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, Sa = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -800,7 +800,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Ot = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -870,14 +870,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], Ca = "Share the Blessings", Na = "Invite family to join daily Puja. Bring change to their lives.", Mt = "Share on WhatsApp", $t = "Your 7-Day Journey", Ta = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", Ea = "https://srm-cdn.a4b.io/yoda/1776411247834.svg", Pa = (a, n) => `${a} of ${n} days attended. Keep going!`, Ia = "Explore Sri Mandir", Ra = "Explore Sri Mandir", La = "BEST VALUE", Da = "Unlimited Daily Puja", Aa = "Never miss a sacred morning. Subscribe for full access, every day.", Fa = "Unlimited live access, every single day", Ba = "Daily WhatsApp reminders before Puja start", ua = "https://srm-cdn.a4b.io/yoda/1776255523256.png", Oa = "/ Week", Ma = "Start Subscription", $a = "No charge today. Cancel Anytime", xe = {
|
|
874
874
|
id: "fallback-puja",
|
|
875
875
|
title: "5100 Hanuman Chalisa, 5100 Sankat mochan Hanumanashtak, Shani Tel..",
|
|
876
876
|
location: "Shri Navagrah Shani Temple, Ujjain, Madhya Pradesh",
|
|
877
877
|
date: "2 April, Thursday, Chaitra Shukla Purnima",
|
|
878
878
|
deeplink: "/epuja",
|
|
879
879
|
imageUrl: "https://srimandirweb.s3.ap-south-1.amazonaws.com/puja_5da7836c1b.png"
|
|
880
|
-
},
|
|
880
|
+
}, pa = [
|
|
881
881
|
{
|
|
882
882
|
id: "fallback-pranam",
|
|
883
883
|
name: "Pranam",
|
|
@@ -910,20 +910,20 @@ const ia = sa(void 0), oa = () => {
|
|
|
910
910
|
image_url: "https://srimandirweb.s3.ap-south-1.amazonaws.com/custom_2e32016966.png",
|
|
911
911
|
isCustom: !0
|
|
912
912
|
}
|
|
913
|
-
],
|
|
913
|
+
], Ua = {
|
|
914
914
|
sbox: "blog-admin-sbox.srimandir.com",
|
|
915
915
|
prod: "blog-admin.srimandir.com"
|
|
916
|
-
},
|
|
916
|
+
}, Wa = "?filters[slug][$eq]=dlp&fields[0]=yt_url&fields[1]=yt_video_id&fields[2]=slug&populate[dlp_cards][fields][0]=is_offering&populate[dlp_cards][fields][1]=title&populate[dlp_cards][fields][2]=price&populate[dlp_cards][fields][3]=location&populate[dlp_cards][fields][4]=date&populate[dlp_cards][fields][5]=deeplink&populate[dlp_cards][populate][img_url][fields][0]=url&pagination[limit]=1&pagination[start]=0", Ha = 1500, Va = 5e3, Ya = 1200, za = {
|
|
917
917
|
autoplay: 1,
|
|
918
918
|
mute: 1,
|
|
919
919
|
controls: 0,
|
|
920
920
|
playsinline: 1
|
|
921
|
-
},
|
|
921
|
+
}, Ut = [
|
|
922
922
|
{ id: "free-trial", label: "100% Free for 7 days" },
|
|
923
923
|
{ id: "no-hidden-charges", label: "No hidden charges" },
|
|
924
924
|
{ id: "daily-reminders", label: "Daily reminders" },
|
|
925
925
|
{ id: "no-app", label: "No app download needed" }
|
|
926
|
-
],
|
|
926
|
+
], Ga = [
|
|
927
927
|
{
|
|
928
928
|
id: "curated-pujas",
|
|
929
929
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1776411344520.webp",
|
|
@@ -954,7 +954,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
954
954
|
title: "Write Manokamna Live Chat",
|
|
955
955
|
description: "Be heard instantly your wish, live in the ritual"
|
|
956
956
|
}
|
|
957
|
-
],
|
|
957
|
+
], Ja = [
|
|
958
958
|
{
|
|
959
959
|
id: "ramesh",
|
|
960
960
|
name: "Ramesh Pandey",
|
|
@@ -971,31 +971,31 @@ const ia = sa(void 0), oa = () => {
|
|
|
971
971
|
rating: 5,
|
|
972
972
|
quote: "Maine pehle kabhi live puja join nahi ki thi. Daily reminders se meri morning spiritual routine set ho gayi. Ghar par rehte hue bhi temple connection ka same bhaav aata hai. Family ke saath milkar join karte hain to aur bhi achha lagta hai."
|
|
973
973
|
}
|
|
974
|
-
],
|
|
974
|
+
], $i = ({
|
|
975
975
|
targetDate: a,
|
|
976
976
|
onSubmit: n,
|
|
977
977
|
isGlobal: s = !1,
|
|
978
|
-
analytics:
|
|
979
|
-
showToast:
|
|
978
|
+
analytics: o,
|
|
979
|
+
showToast: i
|
|
980
980
|
}) => {
|
|
981
|
-
const r =
|
|
982
|
-
(w) => w.code ===
|
|
981
|
+
const r = Lt()?.t || ((w) => w), [h, d] = S(s ? "+1" : "+91"), [k, u] = S(!1), { setUserData: g, setShowSuccess: p } = da(), [v, j] = S(""), [N, _] = S(""), C = F(!1), b = `${h}-${N}`, O = Ot.find(
|
|
982
|
+
(w) => w.code === h
|
|
983
983
|
);
|
|
984
984
|
B(() => {
|
|
985
|
-
!C.current &&
|
|
986
|
-
}, [
|
|
987
|
-
const
|
|
985
|
+
!C.current && o?.trackLandingPageViewed && (o.trackLandingPageViewed(), C.current = !0);
|
|
986
|
+
}, [o]);
|
|
987
|
+
const V = (w) => {
|
|
988
988
|
if (w.preventDefault(), !v || v.trim() === "") {
|
|
989
|
-
|
|
989
|
+
i?.("error", "Please enter your name");
|
|
990
990
|
return;
|
|
991
991
|
}
|
|
992
992
|
if (!N || N.length !== 10) {
|
|
993
|
-
|
|
993
|
+
i?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
994
994
|
return;
|
|
995
995
|
}
|
|
996
|
-
|
|
996
|
+
o?.trackSubmitClicked?.(), g({ name: v, fullPhoneNumber: b }), i?.("success", "Registration Successful"), p(!0), n?.({ name: v, fullPhoneNumber: b });
|
|
997
997
|
};
|
|
998
|
-
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
998
|
+
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: Bt.landingPage, children: [
|
|
999
999
|
/* @__PURE__ */ e.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsx(
|
|
1000
1000
|
"img",
|
|
1001
1001
|
{
|
|
@@ -1004,7 +1004,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1004
1004
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
1005
1005
|
}
|
|
1006
1006
|
) }),
|
|
1007
|
-
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(
|
|
1007
|
+
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(ka, { targetDate: a }) }),
|
|
1008
1008
|
/* @__PURE__ */ e.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
1009
1009
|
/* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
1010
1010
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
@@ -1024,7 +1024,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1024
1024
|
] }),
|
|
1025
1025
|
/* @__PURE__ */ e.jsx("div", { className: "px-4 py-6 bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1026
1026
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: r("formTitle") }),
|
|
1027
|
-
/* @__PURE__ */ e.jsxs("form", { onSubmit:
|
|
1027
|
+
/* @__PURE__ */ e.jsxs("form", { onSubmit: V, className: "space-y-4", children: [
|
|
1028
1028
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1029
1029
|
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: r("nameLabel") }),
|
|
1030
1030
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1033,9 +1033,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
1033
1033
|
type: "text",
|
|
1034
1034
|
value: v,
|
|
1035
1035
|
onChange: (w) => {
|
|
1036
|
-
|
|
1036
|
+
j(w.target.value), w.target.value && !v && o?.trackNameFilled?.();
|
|
1037
1037
|
},
|
|
1038
|
-
onFocus: () =>
|
|
1038
|
+
onFocus: () => o?.trackNameClicked?.(),
|
|
1039
1039
|
placeholder: r("namePlaceholder"),
|
|
1040
1040
|
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]",
|
|
1041
1041
|
required: !0
|
|
@@ -1049,16 +1049,16 @@ const ia = sa(void 0), oa = () => {
|
|
|
1049
1049
|
/* @__PURE__ */ e.jsx(
|
|
1050
1050
|
"div",
|
|
1051
1051
|
{
|
|
1052
|
-
onClick: () => u(!
|
|
1053
|
-
className: `${
|
|
1052
|
+
onClick: () => u(!k),
|
|
1053
|
+
className: `${Bt["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
1054
1054
|
children: O?.code
|
|
1055
1055
|
}
|
|
1056
1056
|
),
|
|
1057
|
-
|
|
1057
|
+
k && /* @__PURE__ */ e.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Ot.map((w) => /* @__PURE__ */ e.jsxs(
|
|
1058
1058
|
"div",
|
|
1059
1059
|
{
|
|
1060
1060
|
onClick: () => {
|
|
1061
|
-
|
|
1061
|
+
d(w.code), u(!1);
|
|
1062
1062
|
},
|
|
1063
1063
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
1064
1064
|
children: [
|
|
@@ -1077,10 +1077,10 @@ const ia = sa(void 0), oa = () => {
|
|
|
1077
1077
|
type: "tel",
|
|
1078
1078
|
value: N,
|
|
1079
1079
|
onChange: (w) => {
|
|
1080
|
-
const
|
|
1081
|
-
_(
|
|
1080
|
+
const G = w.target.value.replace(/\D/g, "");
|
|
1081
|
+
_(G), G && !N && o?.trackPhoneFilled?.();
|
|
1082
1082
|
},
|
|
1083
|
-
onFocus: () =>
|
|
1083
|
+
onFocus: () => o?.trackPhoneClicked?.(),
|
|
1084
1084
|
placeholder: r("whatsappPlaceholder"),
|
|
1085
1085
|
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]",
|
|
1086
1086
|
maxLength: 10,
|
|
@@ -1103,60 +1103,60 @@ const ia = sa(void 0), oa = () => {
|
|
|
1103
1103
|
] }) }),
|
|
1104
1104
|
/* @__PURE__ */ e.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1105
1105
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: r("expectTitle") }),
|
|
1106
|
-
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children:
|
|
1106
|
+
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children: Sa.map((w, G) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1107
1107
|
/* @__PURE__ */ e.jsx("img", { src: w.icon, alt: "", className: "w-10 h-10" }),
|
|
1108
1108
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1109
1109
|
/* @__PURE__ */ e.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: r(w.titleKey) }),
|
|
1110
1110
|
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[12px]", children: r(w.descKey) })
|
|
1111
1111
|
] })
|
|
1112
|
-
] },
|
|
1112
|
+
] }, G)) })
|
|
1113
1113
|
] }) })
|
|
1114
1114
|
] }) });
|
|
1115
|
-
},
|
|
1116
|
-
successPage:
|
|
1117
|
-
profileImageContainer:
|
|
1118
|
-
profileImage:
|
|
1119
|
-
greeting:
|
|
1120
|
-
jaiShreeRam:
|
|
1121
|
-
userName:
|
|
1122
|
-
registrationCard:
|
|
1123
|
-
registeredText:
|
|
1124
|
-
eventName:
|
|
1125
|
-
eventDetails:
|
|
1126
|
-
whatsappButton:
|
|
1127
|
-
redirectInfo:
|
|
1128
|
-
redirectText:
|
|
1129
|
-
countdown:
|
|
1130
|
-
nextSteps:
|
|
1131
|
-
nextStepsTitle:
|
|
1132
|
-
stepsList:
|
|
1133
|
-
step:
|
|
1134
|
-
stepNumber:
|
|
1135
|
-
stepText:
|
|
1136
|
-
},
|
|
1115
|
+
}, Ka = "_successPage_8t8j5_1", qa = "_profileImageContainer_8t8j5_7", Za = "_profileImage_8t8j5_7", Xa = "_greeting_8t8j5_19", Qa = "_jaiShreeRam_8t8j5_23", en = "_userName_8t8j5_29", tn = "_registrationCard_8t8j5_34", an = "_registeredText_8t8j5_48", nn = "_eventName_8t8j5_53", sn = "_eventDetails_8t8j5_61", rn = "_whatsappButton_8t8j5_66", on = "_redirectInfo_8t8j5_75", ln = "_redirectText_8t8j5_79", cn = "_countdown_8t8j5_84", dn = "_nextSteps_8t8j5_90", un = "_nextStepsTitle_8t8j5_96", pn = "_stepsList_8t8j5_101", hn = "_step_8t8j5_101", fn = "_stepNumber_8t8j5_109", mn = "_stepText_8t8j5_113", U = {
|
|
1116
|
+
successPage: Ka,
|
|
1117
|
+
profileImageContainer: qa,
|
|
1118
|
+
profileImage: Za,
|
|
1119
|
+
greeting: Xa,
|
|
1120
|
+
jaiShreeRam: Qa,
|
|
1121
|
+
userName: en,
|
|
1122
|
+
registrationCard: tn,
|
|
1123
|
+
registeredText: an,
|
|
1124
|
+
eventName: nn,
|
|
1125
|
+
eventDetails: sn,
|
|
1126
|
+
whatsappButton: rn,
|
|
1127
|
+
redirectInfo: on,
|
|
1128
|
+
redirectText: ln,
|
|
1129
|
+
countdown: cn,
|
|
1130
|
+
nextSteps: dn,
|
|
1131
|
+
nextStepsTitle: un,
|
|
1132
|
+
stepsList: pn,
|
|
1133
|
+
step: hn,
|
|
1134
|
+
stepNumber: fn,
|
|
1135
|
+
stepText: mn
|
|
1136
|
+
}, xn = "918151810300", gn = "I'm interested in the Rasrajji Hanuman Jayanti Path", Wt = `https://wa.me/${xn}?text=${encodeURIComponent(gn)}`, Ui = ({
|
|
1137
1137
|
userName: a = "Rahul",
|
|
1138
1138
|
eventName: n = "Hanuman Jayanti Maha Path",
|
|
1139
1139
|
eventDate: s = "2nd April",
|
|
1140
|
-
eventTime:
|
|
1141
|
-
onWhatsAppClick:
|
|
1142
|
-
redirectSeconds:
|
|
1140
|
+
eventTime: o = "9:00 AM onwards",
|
|
1141
|
+
onWhatsAppClick: i,
|
|
1142
|
+
redirectSeconds: m = 10,
|
|
1143
1143
|
analytics: r,
|
|
1144
|
-
showToast:
|
|
1145
|
-
disableRedirect:
|
|
1144
|
+
showToast: h,
|
|
1145
|
+
disableRedirect: d = !1
|
|
1146
1146
|
}) => {
|
|
1147
|
-
const u =
|
|
1147
|
+
const u = Lt()?.t || ((_) => _), { userData: g } = da(), [p, v] = S(m), j = F(!1), N = g?.name || a;
|
|
1148
1148
|
return B(() => {
|
|
1149
|
-
!
|
|
1149
|
+
!j.current && r?.trackSuccessPageViewed && (r.trackSuccessPageViewed({
|
|
1150
1150
|
name: g?.name,
|
|
1151
1151
|
phone: g?.fullPhoneNumber
|
|
1152
|
-
}),
|
|
1152
|
+
}), j.current = !0);
|
|
1153
1153
|
}, [r, g?.name, g?.fullPhoneNumber]), B(() => {
|
|
1154
|
-
if (!
|
|
1154
|
+
if (!d)
|
|
1155
1155
|
if (p > 0) {
|
|
1156
1156
|
const _ = setTimeout(() => v(p - 1), 1e3);
|
|
1157
1157
|
return () => clearTimeout(_);
|
|
1158
|
-
} else p === 0 && (window.location.href =
|
|
1159
|
-
}, [p,
|
|
1158
|
+
} else p === 0 && (window.location.href = Wt);
|
|
1159
|
+
}, [p, d]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: U.successPage, children: [
|
|
1160
1160
|
/* @__PURE__ */ e.jsx("div", { className: U.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
1161
1161
|
"img",
|
|
1162
1162
|
{
|
|
@@ -1183,7 +1183,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1183
1183
|
/* @__PURE__ */ e.jsxs("p", { className: U.eventDetails, children: [
|
|
1184
1184
|
s,
|
|
1185
1185
|
" · ",
|
|
1186
|
-
|
|
1186
|
+
o
|
|
1187
1187
|
] })
|
|
1188
1188
|
] }),
|
|
1189
1189
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1191,9 +1191,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
1191
1191
|
{
|
|
1192
1192
|
className: U.whatsappButton,
|
|
1193
1193
|
onClick: () => {
|
|
1194
|
-
r?.trackWhatsappBtnClicked?.(),
|
|
1195
|
-
window.location.href =
|
|
1196
|
-
}, 500),
|
|
1194
|
+
r?.trackWhatsappBtnClicked?.(), h?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1195
|
+
window.location.href = Wt;
|
|
1196
|
+
}, 500), i?.();
|
|
1197
1197
|
},
|
|
1198
1198
|
type: "button",
|
|
1199
1199
|
children: u("sendlinkonwhatsapp")
|
|
@@ -1225,86 +1225,85 @@ const ia = sa(void 0), oa = () => {
|
|
|
1225
1225
|
] })
|
|
1226
1226
|
] })
|
|
1227
1227
|
] }) });
|
|
1228
|
-
},
|
|
1229
|
-
container:
|
|
1230
|
-
video:
|
|
1231
|
-
videoFullscreenWithBelowBanner:
|
|
1232
|
-
banner:
|
|
1233
|
-
bannerCard:
|
|
1234
|
-
bannerTitle:
|
|
1235
|
-
pujaTopTitle:
|
|
1236
|
-
landscapeHeader:
|
|
1237
|
-
scroll:
|
|
1238
|
-
landscapeScroll:
|
|
1239
|
-
card:
|
|
1240
|
-
divider:
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
}, Ms = ({ active: a = !1 }) => /* @__PURE__ */ e.jsx(
|
|
1228
|
+
}, _n = "_container_bklxu_2", vn = "_video_bklxu_26", bn = "_videoFullscreenWithBelowBanner_bklxu_38", yn = "_banner_bklxu_45", jn = "_bannerCard_bklxu_62", wn = "_bannerTitle_bklxu_71", kn = "_pujaTopTitle_bklxu_97", Sn = "_landscapeHeader_bklxu_120", Cn = "_scroll_bklxu_140", Nn = "_landscapeScroll_bklxu_148", Tn = "_card_bklxu_156", En = "_divider_bklxu_177", Pn = "_chat_bklxu_186", In = "_iframe_bklxu_210", Rn = "_fullscreenBtn_bklxu_217", Ln = "_fullscreenChatPanel_bklxu_316", Dn = "_chatLoader_bklxu_332", An = "_chatLoaderCompact_bklxu_345", Fn = "_spinner_bklxu_349", Bn = "_chatLoaderText_bklxu_363", On = "_imageWrapper_bklxu_378", Mn = "_image_bklxu_378", $n = "_addBtn_bklxu_395", Un = "_title_bklxu_408", Wn = "_price_bklxu_419", Hn = "_priceRow_bklxu_429", Vn = "_landscapeCard_bklxu_453", Yn = "_landscapeImageWrapper_bklxu_475", zn = "_landscapeImage_bklxu_475", Gn = "_landscapeContent_bklxu_492", Jn = "_landscapeTitle_bklxu_503", Kn = "_landscapePriceRow_bklxu_517", qn = "_landscapePrice_bklxu_517", Zn = "_landscapeAdd_bklxu_567", Xn = "_carousel_bklxu_632", Qn = "_customSheetOverlay_bklxu_658", es = "_customSheet_bklxu_658", ts = "_customSheetTitle_bklxu_679", as = "_customSheetRow_bklxu_689", ns = "_customInputWrap_bklxu_695", ss = "_currencySymbol_bklxu_701", rs = "_customInput_bklxu_695", is = "_customContinueBtn_bklxu_730", os = "_carouselDots_bklxu_827", ls = "_dot_bklxu_838", cs = "_dotActive_bklxu_849", ds = "_pujaBanner_bklxu_857", us = "_pujaWrapperVertical_bklxu_869", ps = "_pujaCardVertical_bklxu_886", hs = "_pujaImage_bklxu_903", fs = "_pujaContent_bklxu_913", ms = "_pujaTitle_bklxu_919", xs = "_pujaSub_bklxu_934", gs = "_locationIcon_bklxu_951", _s = "_dateIcon_bklxu_957", vs = "_pujaTrustmakers_bklxu_964", bs = "_pujaMetaText_bklxu_981", ys = "_pujaCardHorizontal_bklxu_990", js = "_pujaImageHorizontal_bklxu_1007", ws = "_pujaContentHorizontal_bklxu_1017", ks = "_pujaTitleHorizontal_bklxu_1047", Ss = "_pujaSubHorizontal_bklxu_1062", Cs = "_stickyTabs_bklxu_1079", Ns = "_landscapeLayout_bklxu_1087", Ts = "_landscapeLeft_bklxu_1095", Es = "_landscapeRight_bklxu_1102", Ps = "_landscapePanelHeader_bklxu_1112", Is = "_landscapeCloseBtn_bklxu_1120", Rs = "_landscapePanelBody_bklxu_1138", Ls = "_landscapeChat_bklxu_1145", Ds = "_fullscreenPanelHeader_bklxu_1152", As = "_fullscreenChatCloseBtn_bklxu_1160", Fs = "_fullscreenPanelScroll_bklxu_1180", Bs = "_sectionsScroll_bklxu_1261", Os = "_fullscreenWithPanel_bklxu_1270", Ms = "_fullscreenLeft_bklxu_1280", $s = "_fullscreenVideoArea_bklxu_1289", c = {
|
|
1229
|
+
container: _n,
|
|
1230
|
+
video: vn,
|
|
1231
|
+
videoFullscreenWithBelowBanner: bn,
|
|
1232
|
+
banner: yn,
|
|
1233
|
+
bannerCard: jn,
|
|
1234
|
+
bannerTitle: wn,
|
|
1235
|
+
pujaTopTitle: kn,
|
|
1236
|
+
landscapeHeader: Sn,
|
|
1237
|
+
scroll: Cn,
|
|
1238
|
+
landscapeScroll: Nn,
|
|
1239
|
+
card: Tn,
|
|
1240
|
+
divider: En,
|
|
1241
|
+
chat: Pn,
|
|
1242
|
+
iframe: In,
|
|
1243
|
+
fullscreenBtn: Rn,
|
|
1244
|
+
fullscreenChatPanel: Ln,
|
|
1245
|
+
chatLoader: Dn,
|
|
1246
|
+
chatLoaderCompact: An,
|
|
1247
|
+
spinner: Fn,
|
|
1248
|
+
chatLoaderText: Bn,
|
|
1249
|
+
imageWrapper: On,
|
|
1250
|
+
image: Mn,
|
|
1251
|
+
addBtn: $n,
|
|
1252
|
+
title: Un,
|
|
1253
|
+
price: Wn,
|
|
1254
|
+
priceRow: Hn,
|
|
1255
|
+
landscapeCard: Vn,
|
|
1256
|
+
landscapeImageWrapper: Yn,
|
|
1257
|
+
landscapeImage: zn,
|
|
1258
|
+
landscapeContent: Gn,
|
|
1259
|
+
landscapeTitle: Jn,
|
|
1260
|
+
landscapePriceRow: Kn,
|
|
1261
|
+
landscapePrice: qn,
|
|
1262
|
+
landscapeAdd: Zn,
|
|
1263
|
+
carousel: Xn,
|
|
1264
|
+
customSheetOverlay: Qn,
|
|
1265
|
+
customSheet: es,
|
|
1266
|
+
customSheetTitle: ts,
|
|
1267
|
+
customSheetRow: as,
|
|
1268
|
+
customInputWrap: ns,
|
|
1269
|
+
currencySymbol: ss,
|
|
1270
|
+
customInput: rs,
|
|
1271
|
+
customContinueBtn: is,
|
|
1272
|
+
carouselDots: os,
|
|
1273
|
+
dot: ls,
|
|
1274
|
+
dotActive: cs,
|
|
1275
|
+
pujaBanner: ds,
|
|
1276
|
+
pujaWrapperVertical: us,
|
|
1277
|
+
pujaCardVertical: ps,
|
|
1278
|
+
pujaImage: hs,
|
|
1279
|
+
pujaContent: fs,
|
|
1280
|
+
pujaTitle: ms,
|
|
1281
|
+
pujaSub: xs,
|
|
1282
|
+
locationIcon: gs,
|
|
1283
|
+
dateIcon: _s,
|
|
1284
|
+
pujaTrustmakers: vs,
|
|
1285
|
+
pujaMetaText: bs,
|
|
1286
|
+
pujaCardHorizontal: ys,
|
|
1287
|
+
pujaImageHorizontal: js,
|
|
1288
|
+
pujaContentHorizontal: ws,
|
|
1289
|
+
pujaTitleHorizontal: ks,
|
|
1290
|
+
pujaSubHorizontal: Ss,
|
|
1291
|
+
stickyTabs: Cs,
|
|
1292
|
+
landscapeLayout: Ns,
|
|
1293
|
+
landscapeLeft: Ts,
|
|
1294
|
+
landscapeRight: Es,
|
|
1295
|
+
landscapePanelHeader: Ps,
|
|
1296
|
+
landscapeCloseBtn: Is,
|
|
1297
|
+
landscapePanelBody: Rs,
|
|
1298
|
+
landscapeChat: Ls,
|
|
1299
|
+
fullscreenPanelHeader: Ds,
|
|
1300
|
+
fullscreenChatCloseBtn: As,
|
|
1301
|
+
fullscreenPanelScroll: Fs,
|
|
1302
|
+
sectionsScroll: Bs,
|
|
1303
|
+
fullscreenWithPanel: Os,
|
|
1304
|
+
fullscreenLeft: Ms,
|
|
1305
|
+
fullscreenVideoArea: $s
|
|
1306
|
+
}, Us = ({ active: a = !1 }) => /* @__PURE__ */ e.jsx(
|
|
1308
1307
|
"img",
|
|
1309
1308
|
{
|
|
1310
1309
|
src: "https://srm-cdn.a4b.io/yoda/1776257217651.svg",
|
|
@@ -1314,37 +1313,37 @@ const ia = sa(void 0), oa = () => {
|
|
|
1314
1313
|
"aria-hidden": "true",
|
|
1315
1314
|
style: a ? { filter: "brightness(0) invert(1)" } : void 0
|
|
1316
1315
|
}
|
|
1317
|
-
),
|
|
1316
|
+
), Ws = {
|
|
1318
1317
|
streaks: "Streaks",
|
|
1319
1318
|
share: "Share",
|
|
1320
1319
|
store: "Store",
|
|
1321
1320
|
subscription: "Subscription"
|
|
1322
|
-
},
|
|
1321
|
+
}, Nt = ({
|
|
1323
1322
|
activeTab: a,
|
|
1324
1323
|
onTabChange: n,
|
|
1325
1324
|
onChatPress: s,
|
|
1326
|
-
chatOpen:
|
|
1327
|
-
showSubscription:
|
|
1328
|
-
isLive:
|
|
1325
|
+
chatOpen: o = !1,
|
|
1326
|
+
showSubscription: i = !1,
|
|
1327
|
+
isLive: m = !0
|
|
1329
1328
|
}) => {
|
|
1330
|
-
const r =
|
|
1329
|
+
const r = i ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"];
|
|
1331
1330
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root flex-1 min-w-0", children: /* @__PURE__ */ e.jsxs(
|
|
1332
1331
|
"div",
|
|
1333
1332
|
{
|
|
1334
1333
|
className: "w-full flex items-center gap-[24px] px-3 bg-white border-b border-gray-200 overflow-x-auto overflow-y-hidden [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1335
1334
|
style: { minHeight: 44 },
|
|
1336
1335
|
children: [
|
|
1337
|
-
|
|
1336
|
+
m && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1338
1337
|
/* @__PURE__ */ e.jsxs(
|
|
1339
1338
|
"button",
|
|
1340
1339
|
{
|
|
1341
1340
|
type: "button",
|
|
1342
1341
|
onClick: s,
|
|
1343
|
-
"aria-label":
|
|
1344
|
-
"aria-pressed":
|
|
1345
|
-
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${
|
|
1342
|
+
"aria-label": o ? "Close chat" : "Open chat",
|
|
1343
|
+
"aria-pressed": o,
|
|
1344
|
+
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${o ? "border-[#F75E22] bg-[#F75E22] text-white" : "border-gray-200 bg-transparent text-gray-800 hover:bg-gray-50"}`,
|
|
1346
1345
|
children: [
|
|
1347
|
-
/* @__PURE__ */ e.jsx(
|
|
1346
|
+
/* @__PURE__ */ e.jsx(Us, { active: o }),
|
|
1348
1347
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-semibold whitespace-nowrap", children: "Chats" })
|
|
1349
1348
|
]
|
|
1350
1349
|
}
|
|
@@ -1360,35 +1359,35 @@ const ia = sa(void 0), oa = () => {
|
|
|
1360
1359
|
/* @__PURE__ */ e.jsx(
|
|
1361
1360
|
"nav",
|
|
1362
1361
|
{
|
|
1363
|
-
className: `flex items-stretch gap-[24px] ${
|
|
1362
|
+
className: `flex items-stretch gap-[24px] ${m ? "" : "w-full justify-center"}`,
|
|
1364
1363
|
"aria-label": "DLP navigation",
|
|
1365
|
-
children: r.map((
|
|
1366
|
-
const
|
|
1364
|
+
children: r.map((h) => {
|
|
1365
|
+
const d = h === a;
|
|
1367
1366
|
return /* @__PURE__ */ e.jsxs(
|
|
1368
1367
|
"button",
|
|
1369
1368
|
{
|
|
1370
1369
|
type: "button",
|
|
1371
1370
|
role: "tab",
|
|
1372
|
-
"aria-selected":
|
|
1373
|
-
onClick: () => n(
|
|
1371
|
+
"aria-selected": d,
|
|
1372
|
+
onClick: () => n(h),
|
|
1374
1373
|
className: "flex flex-col items-center justify-center pt-2 pb-0 bg-transparent border-none cursor-pointer flex-shrink-0 focus-visible:outline-2 focus-visible:outline-orange-500 focus-visible:-outline-offset-2",
|
|
1375
1374
|
children: [
|
|
1376
1375
|
/* @__PURE__ */ e.jsx(
|
|
1377
1376
|
"span",
|
|
1378
1377
|
{
|
|
1379
|
-
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${
|
|
1380
|
-
children:
|
|
1378
|
+
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${d && !o ? "text-orange-500" : "text-gray-500"}`,
|
|
1379
|
+
children: Ws[h]
|
|
1381
1380
|
}
|
|
1382
1381
|
),
|
|
1383
1382
|
/* @__PURE__ */ e.jsx(
|
|
1384
1383
|
"span",
|
|
1385
1384
|
{
|
|
1386
|
-
className: `block w-full h-0.5 rounded-t ${
|
|
1385
|
+
className: `block w-full h-0.5 rounded-t ${d && !o ? "bg-orange-500" : "bg-transparent"}`
|
|
1387
1386
|
}
|
|
1388
1387
|
)
|
|
1389
1388
|
]
|
|
1390
1389
|
},
|
|
1391
|
-
|
|
1390
|
+
h
|
|
1392
1391
|
);
|
|
1393
1392
|
})
|
|
1394
1393
|
}
|
|
@@ -1396,26 +1395,26 @@ const ia = sa(void 0), oa = () => {
|
|
|
1396
1395
|
]
|
|
1397
1396
|
}
|
|
1398
1397
|
) });
|
|
1399
|
-
},
|
|
1400
|
-
header:
|
|
1401
|
-
leftBlock:
|
|
1402
|
-
logo:
|
|
1403
|
-
titleBlock:
|
|
1404
|
-
title:
|
|
1405
|
-
subtitle:
|
|
1406
|
-
tags:
|
|
1407
|
-
liveTag:
|
|
1408
|
-
liveDot:
|
|
1409
|
-
daysTag:
|
|
1410
|
-
joinFreeTag:
|
|
1411
|
-
},
|
|
1398
|
+
}, Hs = "_header_28eb9_1", Vs = "_leftBlock_28eb9_5", Ys = "_logo_28eb9_9", zs = "_titleBlock_28eb9_13", Gs = "_title_28eb9_13", Js = "_subtitle_28eb9_21", Ks = "_tags_28eb9_25", qs = "_liveTag_28eb9_29", Zs = "_liveDot_28eb9_33", Xs = "_daysTag_28eb9_37", Qs = "_joinFreeTag_28eb9_43", oe = {
|
|
1399
|
+
header: Hs,
|
|
1400
|
+
leftBlock: Vs,
|
|
1401
|
+
logo: Ys,
|
|
1402
|
+
titleBlock: zs,
|
|
1403
|
+
title: Gs,
|
|
1404
|
+
subtitle: Js,
|
|
1405
|
+
tags: Ks,
|
|
1406
|
+
liveTag: qs,
|
|
1407
|
+
liveDot: Zs,
|
|
1408
|
+
daysTag: Xs,
|
|
1409
|
+
joinFreeTag: Qs
|
|
1410
|
+
}, er = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ht = ({
|
|
1412
1411
|
isLive: a = !1,
|
|
1413
1412
|
daysRemaining: n,
|
|
1414
1413
|
isLoggedIn: s = !0,
|
|
1415
|
-
onJoinClick:
|
|
1414
|
+
onJoinClick: o
|
|
1416
1415
|
}) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: oe.header, children: [
|
|
1417
1416
|
/* @__PURE__ */ e.jsxs("div", { className: oe.leftBlock, children: [
|
|
1418
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1417
|
+
/* @__PURE__ */ e.jsx("img", { src: er, className: oe.logo, alt: "Puja" }),
|
|
1419
1418
|
/* @__PURE__ */ e.jsxs("div", { className: oe.titleBlock, children: [
|
|
1420
1419
|
/* @__PURE__ */ e.jsx("h1", { className: oe.title, children: "Sri Mandir" }),
|
|
1421
1420
|
/* @__PURE__ */ e.jsx("h6", { className: oe.subtitle, children: "Daily Live Puja" })
|
|
@@ -1435,21 +1434,21 @@ const ia = sa(void 0), oa = () => {
|
|
|
1435
1434
|
{
|
|
1436
1435
|
type: "button",
|
|
1437
1436
|
className: oe.joinFreeTag,
|
|
1438
|
-
onClick:
|
|
1437
|
+
onClick: o,
|
|
1439
1438
|
children: "Join Free"
|
|
1440
1439
|
}
|
|
1441
1440
|
)
|
|
1442
|
-
] }) }),
|
|
1443
|
-
wrapper:
|
|
1444
|
-
marker:
|
|
1445
|
-
iconWrap:
|
|
1446
|
-
label:
|
|
1447
|
-
dot:
|
|
1448
|
-
},
|
|
1441
|
+
] }) }), tr = "_wrapper_1ef52_1", ar = "_marker_1ef52_6", nr = "_iconWrap_1ef52_10", sr = "_label_1ef52_14", rr = "_dot_1ef52_19", rt = {
|
|
1442
|
+
wrapper: tr,
|
|
1443
|
+
marker: ar,
|
|
1444
|
+
iconWrap: nr,
|
|
1445
|
+
label: sr,
|
|
1446
|
+
dot: rr
|
|
1447
|
+
}, Vt = [
|
|
1449
1448
|
{ id: "devotees", label: "1.2L+ Devotees" },
|
|
1450
1449
|
{ id: "rating", label: "4.9 Rating" },
|
|
1451
1450
|
{ id: "verified", label: "Verified Pandit" }
|
|
1452
|
-
],
|
|
1451
|
+
], ha = () => /* @__PURE__ */ e.jsxs(
|
|
1453
1452
|
"svg",
|
|
1454
1453
|
{
|
|
1455
1454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1480,7 +1479,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1480
1479
|
)
|
|
1481
1480
|
]
|
|
1482
1481
|
}
|
|
1483
|
-
),
|
|
1482
|
+
), ir = () => /* @__PURE__ */ e.jsx(
|
|
1484
1483
|
"svg",
|
|
1485
1484
|
{
|
|
1486
1485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1500,7 +1499,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1500
1499
|
}
|
|
1501
1500
|
)
|
|
1502
1501
|
}
|
|
1503
|
-
),
|
|
1502
|
+
), or = () => /* @__PURE__ */ e.jsxs(
|
|
1504
1503
|
"svg",
|
|
1505
1504
|
{
|
|
1506
1505
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1547,56 +1546,56 @@ const ia = sa(void 0), oa = () => {
|
|
|
1547
1546
|
)
|
|
1548
1547
|
]
|
|
1549
1548
|
}
|
|
1550
|
-
),
|
|
1551
|
-
devotees:
|
|
1552
|
-
rating:
|
|
1553
|
-
verified:
|
|
1554
|
-
},
|
|
1555
|
-
const s =
|
|
1556
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1557
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1558
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1559
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1549
|
+
), lr = {
|
|
1550
|
+
devotees: or,
|
|
1551
|
+
rating: ir,
|
|
1552
|
+
verified: ha
|
|
1553
|
+
}, Yt = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: rt.wrapper, children: Vt.map((a, n) => {
|
|
1554
|
+
const s = lr[a.id] || ha;
|
|
1555
|
+
return /* @__PURE__ */ e.jsxs(We.Fragment, { children: [
|
|
1556
|
+
/* @__PURE__ */ e.jsxs("div", { className: rt.marker, children: [
|
|
1557
|
+
/* @__PURE__ */ e.jsx("span", { className: rt.iconWrap, children: /* @__PURE__ */ e.jsx(s, {}) }),
|
|
1558
|
+
/* @__PURE__ */ e.jsx("span", { className: rt.label, children: a.label })
|
|
1560
1559
|
] }),
|
|
1561
|
-
n <
|
|
1560
|
+
n < Vt.length - 1 && /* @__PURE__ */ e.jsx("span", { className: rt.dot, "aria-hidden": "true", children: "•" })
|
|
1562
1561
|
] }, a.id);
|
|
1563
|
-
}) }) }),
|
|
1564
|
-
root:
|
|
1565
|
-
highlights:
|
|
1566
|
-
highlightColumn:
|
|
1567
|
-
highlightItem:
|
|
1568
|
-
highlightTick:
|
|
1569
|
-
section:
|
|
1570
|
-
devoteesSection:
|
|
1571
|
-
sectionTitle:
|
|
1572
|
-
benefitsList:
|
|
1573
|
-
benefitItem:
|
|
1574
|
-
benefitIcon:
|
|
1575
|
-
benefitTitle:
|
|
1576
|
-
benefitDesc:
|
|
1577
|
-
testimonialsScroll:
|
|
1578
|
-
testimonialCard:
|
|
1579
|
-
testimonialHeader:
|
|
1580
|
-
avatar:
|
|
1581
|
-
name:
|
|
1582
|
-
location:
|
|
1583
|
-
stars:
|
|
1584
|
-
quote:
|
|
1585
|
-
quoteClamped:
|
|
1586
|
-
readMoreButton:
|
|
1587
|
-
stickyJoinSection:
|
|
1588
|
-
stickyJoinHead:
|
|
1589
|
-
avatarGroup:
|
|
1590
|
-
stickyAvatar:
|
|
1591
|
-
stickyAvatarLabel:
|
|
1592
|
-
stickyAvatar1:
|
|
1593
|
-
stickyAvatar2:
|
|
1594
|
-
stickyAvatar3:
|
|
1595
|
-
stickyAvatarMore:
|
|
1596
|
-
stickyJoinText:
|
|
1597
|
-
stickyJoinCta:
|
|
1598
|
-
stickyJoinSubtext:
|
|
1599
|
-
},
|
|
1562
|
+
}) }) }), cr = "_root_4o5di_1", dr = "_highlights_4o5di_5", ur = "_highlightColumn_4o5di_9", pr = "_highlightItem_4o5di_13", hr = "_highlightTick_4o5di_18", fr = "_section_4o5di_22", mr = "_devoteesSection_4o5di_26", xr = "_sectionTitle_4o5di_30", gr = "_benefitsList_4o5di_34", _r = "_benefitItem_4o5di_38", vr = "_benefitIcon_4o5di_42", br = "_benefitTitle_4o5di_46", yr = "_benefitDesc_4o5di_50", jr = "_testimonialsScroll_4o5di_54", wr = "_testimonialCard_4o5di_58", kr = "_testimonialHeader_4o5di_62", Sr = "_avatar_4o5di_66", Cr = "_name_4o5di_70", Nr = "_location_4o5di_74", Tr = "_stars_4o5di_78", Er = "_quote_4o5di_82", Pr = "_quoteClamped_4o5di_86", Ir = "_readMoreButton_4o5di_94", Rr = "_stickyJoinSection_4o5di_99", Lr = "_stickyJoinHead_4o5di_107", Dr = "_avatarGroup_4o5di_111", Ar = "_stickyAvatar_4o5di_115", Fr = "_stickyAvatarLabel_4o5di_121", Br = "_stickyAvatar1_4o5di_134", Or = "_stickyAvatar2_4o5di_138", Mr = "_stickyAvatar3_4o5di_142", $r = "_stickyAvatarMore_4o5di_146", Ur = "_stickyJoinText_4o5di_150", Wr = "_stickyJoinCta_4o5di_158", Hr = "_stickyJoinSubtext_4o5di_164", P = {
|
|
1563
|
+
root: cr,
|
|
1564
|
+
highlights: dr,
|
|
1565
|
+
highlightColumn: ur,
|
|
1566
|
+
highlightItem: pr,
|
|
1567
|
+
highlightTick: hr,
|
|
1568
|
+
section: fr,
|
|
1569
|
+
devoteesSection: mr,
|
|
1570
|
+
sectionTitle: xr,
|
|
1571
|
+
benefitsList: gr,
|
|
1572
|
+
benefitItem: _r,
|
|
1573
|
+
benefitIcon: vr,
|
|
1574
|
+
benefitTitle: br,
|
|
1575
|
+
benefitDesc: yr,
|
|
1576
|
+
testimonialsScroll: jr,
|
|
1577
|
+
testimonialCard: wr,
|
|
1578
|
+
testimonialHeader: kr,
|
|
1579
|
+
avatar: Sr,
|
|
1580
|
+
name: Cr,
|
|
1581
|
+
location: Nr,
|
|
1582
|
+
stars: Tr,
|
|
1583
|
+
quote: Er,
|
|
1584
|
+
quoteClamped: Pr,
|
|
1585
|
+
readMoreButton: Ir,
|
|
1586
|
+
stickyJoinSection: Rr,
|
|
1587
|
+
stickyJoinHead: Lr,
|
|
1588
|
+
avatarGroup: Dr,
|
|
1589
|
+
stickyAvatar: Ar,
|
|
1590
|
+
stickyAvatarLabel: Fr,
|
|
1591
|
+
stickyAvatar1: Br,
|
|
1592
|
+
stickyAvatar2: Or,
|
|
1593
|
+
stickyAvatar3: Mr,
|
|
1594
|
+
stickyAvatarMore: $r,
|
|
1595
|
+
stickyJoinText: Ur,
|
|
1596
|
+
stickyJoinCta: Wr,
|
|
1597
|
+
stickyJoinSubtext: Hr
|
|
1598
|
+
}, zt = () => /* @__PURE__ */ e.jsx(
|
|
1600
1599
|
"svg",
|
|
1601
1600
|
{
|
|
1602
1601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1615,48 +1614,48 @@ const ia = sa(void 0), oa = () => {
|
|
|
1615
1614
|
}
|
|
1616
1615
|
)
|
|
1617
1616
|
}
|
|
1618
|
-
),
|
|
1619
|
-
|
|
1617
|
+
), Vr = ({ onImpression: a }) => {
|
|
1618
|
+
We.useEffect(() => {
|
|
1620
1619
|
a?.("Service Awarness");
|
|
1621
1620
|
}, [a]);
|
|
1622
|
-
const n =
|
|
1621
|
+
const n = Ut.slice(0, 2), s = Ut.slice(2, 4);
|
|
1623
1622
|
return /* @__PURE__ */ e.jsxs("section", { className: P.highlights, children: [
|
|
1624
|
-
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: n.map((
|
|
1625
|
-
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(
|
|
1626
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1627
|
-
] },
|
|
1628
|
-
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: s.map((
|
|
1629
|
-
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(
|
|
1630
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1631
|
-
] },
|
|
1623
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: n.map((o) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1624
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(zt, {}) }),
|
|
1625
|
+
/* @__PURE__ */ e.jsx("span", { children: o.label })
|
|
1626
|
+
] }, o.id)) }),
|
|
1627
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: s.map((o) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1628
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(zt, {}) }),
|
|
1629
|
+
/* @__PURE__ */ e.jsx("span", { children: o.label })
|
|
1630
|
+
] }, o.id)) })
|
|
1632
1631
|
] });
|
|
1633
|
-
},
|
|
1632
|
+
}, Yr = ({ onImpression: a }) => (We.useEffect(() => {
|
|
1634
1633
|
a?.("Sampler Video");
|
|
1635
1634
|
}, [a]), /* @__PURE__ */ e.jsxs("section", { className: P.section, children: [
|
|
1636
1635
|
/* @__PURE__ */ e.jsx("h2", { className: P.sectionTitle, children: "What You'll Get" }),
|
|
1637
|
-
/* @__PURE__ */ e.jsx("div", { className: P.benefitsList, children:
|
|
1636
|
+
/* @__PURE__ */ e.jsx("div", { className: P.benefitsList, children: Ga.map((n) => /* @__PURE__ */ e.jsxs("div", { className: P.benefitItem, children: [
|
|
1638
1637
|
/* @__PURE__ */ e.jsx("img", { src: n.iconUrl, alt: n.title, className: P.benefitIcon }),
|
|
1639
1638
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1640
1639
|
/* @__PURE__ */ e.jsx("p", { className: P.benefitTitle, children: n.title }),
|
|
1641
1640
|
/* @__PURE__ */ e.jsx("p", { className: P.benefitDesc, children: n.description })
|
|
1642
1641
|
] })
|
|
1643
1642
|
] }, n.id)) })
|
|
1644
|
-
] })),
|
|
1645
|
-
const [n, s] = S(!1), [
|
|
1646
|
-
const
|
|
1647
|
-
if (!
|
|
1643
|
+
] })), zr = (a) => "★".repeat(Math.max(0, a)), Gr = ({ item: a }) => {
|
|
1644
|
+
const [n, s] = S(!1), [o, i] = S(!1), m = F(null), r = ct(() => {
|
|
1645
|
+
const h = m.current;
|
|
1646
|
+
if (!h || n)
|
|
1648
1647
|
return;
|
|
1649
|
-
const
|
|
1650
|
-
|
|
1648
|
+
const d = h.scrollHeight > h.clientHeight + 1;
|
|
1649
|
+
i(d);
|
|
1651
1650
|
}, [n]);
|
|
1652
1651
|
return B(() => {
|
|
1653
1652
|
if (n) {
|
|
1654
|
-
|
|
1653
|
+
i(!1);
|
|
1655
1654
|
return;
|
|
1656
1655
|
}
|
|
1657
|
-
const
|
|
1656
|
+
const h = window.requestAnimationFrame(r);
|
|
1658
1657
|
return window.addEventListener("resize", r), () => {
|
|
1659
|
-
window.cancelAnimationFrame(
|
|
1658
|
+
window.cancelAnimationFrame(h), window.removeEventListener("resize", r);
|
|
1660
1659
|
};
|
|
1661
1660
|
}, [r, n, a.quote]), /* @__PURE__ */ e.jsxs("article", { className: P.testimonialCard, children: [
|
|
1662
1661
|
/* @__PURE__ */ e.jsxs("div", { className: P.testimonialHeader, children: [
|
|
@@ -1664,13 +1663,13 @@ const ia = sa(void 0), oa = () => {
|
|
|
1664
1663
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1665
1664
|
/* @__PURE__ */ e.jsx("p", { className: P.name, children: a.name }),
|
|
1666
1665
|
/* @__PURE__ */ e.jsx("p", { className: P.location, children: a.location }),
|
|
1667
|
-
/* @__PURE__ */ e.jsx("div", { className: P.stars, children:
|
|
1666
|
+
/* @__PURE__ */ e.jsx("div", { className: P.stars, children: zr(a.rating) })
|
|
1668
1667
|
] })
|
|
1669
1668
|
] }),
|
|
1670
1669
|
/* @__PURE__ */ e.jsxs(
|
|
1671
1670
|
"p",
|
|
1672
1671
|
{
|
|
1673
|
-
ref:
|
|
1672
|
+
ref: m,
|
|
1674
1673
|
className: `${P.quote} ${n ? "" : P.quoteClamped}`.trim(),
|
|
1675
1674
|
children: [
|
|
1676
1675
|
'" ',
|
|
@@ -1679,7 +1678,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1679
1678
|
]
|
|
1680
1679
|
}
|
|
1681
1680
|
),
|
|
1682
|
-
|
|
1681
|
+
o && !n && /* @__PURE__ */ e.jsx(
|
|
1683
1682
|
"button",
|
|
1684
1683
|
{
|
|
1685
1684
|
type: "button",
|
|
@@ -1689,7 +1688,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1689
1688
|
}
|
|
1690
1689
|
)
|
|
1691
1690
|
] }, a.id);
|
|
1692
|
-
},
|
|
1691
|
+
}, Jr = ({ onImpression: a, onSwipe: n }) => {
|
|
1693
1692
|
const s = F(!1);
|
|
1694
1693
|
return B(() => {
|
|
1695
1694
|
a?.("Reviews");
|
|
@@ -1702,22 +1701,22 @@ const ia = sa(void 0), oa = () => {
|
|
|
1702
1701
|
onScroll: () => {
|
|
1703
1702
|
s.current || (s.current = !0, n?.());
|
|
1704
1703
|
},
|
|
1705
|
-
children:
|
|
1704
|
+
children: Ja.map((o) => /* @__PURE__ */ e.jsx(Gr, { item: o }, o.id))
|
|
1706
1705
|
}
|
|
1707
1706
|
)
|
|
1708
1707
|
] });
|
|
1709
|
-
},
|
|
1708
|
+
}, Kr = ["R", "P", "A"], qr = ({
|
|
1710
1709
|
onJoinClick: a,
|
|
1711
1710
|
onImpression: n
|
|
1712
|
-
}) => (
|
|
1711
|
+
}) => (We.useEffect(() => {
|
|
1713
1712
|
n?.("Login CTA");
|
|
1714
1713
|
}, [n]), /* @__PURE__ */ e.jsxs("section", { className: P.stickyJoinSection, children: [
|
|
1715
1714
|
/* @__PURE__ */ e.jsxs("div", { className: P.stickyJoinHead, children: [
|
|
1716
1715
|
/* @__PURE__ */ e.jsxs("div", { className: P.avatarGroup, children: [
|
|
1717
|
-
|
|
1716
|
+
Kr.map((s, o) => /* @__PURE__ */ e.jsx(
|
|
1718
1717
|
"span",
|
|
1719
1718
|
{
|
|
1720
|
-
className: `${P.stickyAvatar} ${P[`stickyAvatar${
|
|
1719
|
+
className: `${P.stickyAvatar} ${P[`stickyAvatar${o + 1}`]}`,
|
|
1721
1720
|
children: /* @__PURE__ */ e.jsx("span", { className: P.stickyAvatarLabel, children: s })
|
|
1722
1721
|
},
|
|
1723
1722
|
s
|
|
@@ -1739,36 +1738,36 @@ const ia = sa(void 0), oa = () => {
|
|
|
1739
1738
|
}
|
|
1740
1739
|
),
|
|
1741
1740
|
/* @__PURE__ */ e.jsx("p", { className: P.stickyJoinSubtext, children: "You'll receive the stream link on WhatsApp. No spam." })
|
|
1742
|
-
] })),
|
|
1741
|
+
] })), Zr = ({
|
|
1743
1742
|
onJoinClick: a,
|
|
1744
1743
|
onSectionImpression: n,
|
|
1745
1744
|
onReviewsSwipe: s
|
|
1746
1745
|
}) => /* @__PURE__ */ e.jsxs("div", { className: P.root, children: [
|
|
1747
|
-
/* @__PURE__ */ e.jsx(
|
|
1748
|
-
/* @__PURE__ */ e.jsx(
|
|
1746
|
+
/* @__PURE__ */ e.jsx(Vr, { onImpression: n }),
|
|
1747
|
+
/* @__PURE__ */ e.jsx(Yr, { onImpression: n }),
|
|
1749
1748
|
/* @__PURE__ */ e.jsx(
|
|
1750
|
-
|
|
1749
|
+
Jr,
|
|
1751
1750
|
{
|
|
1752
1751
|
onImpression: n,
|
|
1753
1752
|
onSwipe: s
|
|
1754
1753
|
}
|
|
1755
1754
|
),
|
|
1756
1755
|
/* @__PURE__ */ e.jsx(
|
|
1757
|
-
|
|
1756
|
+
qr,
|
|
1758
1757
|
{
|
|
1759
1758
|
onJoinClick: a,
|
|
1760
1759
|
onImpression: n
|
|
1761
1760
|
}
|
|
1762
1761
|
)
|
|
1763
|
-
] }),
|
|
1762
|
+
] }), Tt = ({
|
|
1764
1763
|
attendedDays: a,
|
|
1765
1764
|
totalDays: n = 7,
|
|
1766
1765
|
currentDay: s,
|
|
1767
|
-
isInactive:
|
|
1766
|
+
isInactive: o = !1
|
|
1768
1767
|
}) => {
|
|
1769
|
-
if (
|
|
1768
|
+
if (o)
|
|
1770
1769
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full bg-white px-4 py-4 flex flex-col gap-3", children: [
|
|
1771
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1770
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: $t }),
|
|
1772
1771
|
/* @__PURE__ */ e.jsxs("div", { className: "rounded-xl border border-gray-200 bg-gray-50 px-4 py-6 text-center", children: [
|
|
1773
1772
|
/* @__PURE__ */ e.jsx(
|
|
1774
1773
|
"div",
|
|
@@ -1798,27 +1797,27 @@ const ia = sa(void 0), oa = () => {
|
|
|
1798
1797
|
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] text-gray-500 leading-4 m-0", children: "Attend today's Puja to restart your 7-day journey." })
|
|
1799
1798
|
] })
|
|
1800
1799
|
] }) });
|
|
1801
|
-
const
|
|
1800
|
+
const i = new Set(a), m = a.length, r = 7, d = `calc((100% - ${(r - 1) * 4}px) / ${r})`;
|
|
1802
1801
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full bg-white px-4 py-4 flex flex-col gap-3", children: [
|
|
1803
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1802
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: $t }),
|
|
1804
1803
|
/* @__PURE__ */ e.jsx(
|
|
1805
1804
|
"div",
|
|
1806
1805
|
{
|
|
1807
1806
|
className: "flex items-stretch gap-1 pt-1 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1808
1807
|
role: "list",
|
|
1809
1808
|
"aria-label": "7-day journey",
|
|
1810
|
-
children: Array.from({ length: n }, (
|
|
1811
|
-
const g = u + 1, p =
|
|
1809
|
+
children: Array.from({ length: n }, (k, u) => {
|
|
1810
|
+
const g = u + 1, p = i.has(g), v = g === s && !p, j = g > s, N = g < s && !p;
|
|
1812
1811
|
let _ = "border-gray-300 bg-[#F7F8F9] text-gray-500";
|
|
1813
|
-
return p ? _ = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : v ? _ = "border-orange-400 bg-orange-50 text-orange-800" :
|
|
1812
|
+
return p ? _ = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : v ? _ = "border-orange-400 bg-orange-50 text-orange-800" : j ? _ = "border-gray-300 bg-[#E5E7EB] text-gray-500" : N && (_ = "border-gray-300 bg-[#F7F8F9] text-gray-500"), /* @__PURE__ */ e.jsxs(
|
|
1814
1813
|
"div",
|
|
1815
1814
|
{
|
|
1816
1815
|
role: "listitem",
|
|
1817
1816
|
"aria-label": `Day ${g}${p ? ", attended" : v ? ", today" : ""}`,
|
|
1818
1817
|
className: `flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${_}`,
|
|
1819
1818
|
style: {
|
|
1820
|
-
flex: `0 0 ${
|
|
1821
|
-
width:
|
|
1819
|
+
flex: `0 0 ${d}`,
|
|
1820
|
+
width: d,
|
|
1822
1821
|
padding: "8px 4px"
|
|
1823
1822
|
},
|
|
1824
1823
|
children: [
|
|
@@ -1829,11 +1828,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
1829
1828
|
p ? /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
|
|
1830
1829
|
"img",
|
|
1831
1830
|
{
|
|
1832
|
-
src:
|
|
1831
|
+
src: Ta,
|
|
1833
1832
|
alt: "",
|
|
1834
1833
|
style: { width: "28.264px", height: "24px" }
|
|
1835
1834
|
}
|
|
1836
|
-
) }) :
|
|
1835
|
+
) }) : j ? /* @__PURE__ */ e.jsx(
|
|
1837
1836
|
"span",
|
|
1838
1837
|
{
|
|
1839
1838
|
className: "text-[10px] leading-none mt-0.5 text-gray-300",
|
|
@@ -1843,7 +1842,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1843
1842
|
) : /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
|
|
1844
1843
|
"img",
|
|
1845
1844
|
{
|
|
1846
|
-
src:
|
|
1845
|
+
src: Ea,
|
|
1847
1846
|
alt: "",
|
|
1848
1847
|
style: {
|
|
1849
1848
|
width: "32px",
|
|
@@ -1859,9 +1858,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
1859
1858
|
})
|
|
1860
1859
|
}
|
|
1861
1860
|
),
|
|
1862
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children:
|
|
1861
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: Pa(m, n) })
|
|
1863
1862
|
] }) });
|
|
1864
|
-
},
|
|
1863
|
+
}, Xr = () => /* @__PURE__ */ e.jsxs(
|
|
1865
1864
|
"svg",
|
|
1866
1865
|
{
|
|
1867
1866
|
width: "22",
|
|
@@ -1891,10 +1890,10 @@ const ia = sa(void 0), oa = () => {
|
|
|
1891
1890
|
)
|
|
1892
1891
|
]
|
|
1893
1892
|
}
|
|
1894
|
-
),
|
|
1893
|
+
), Et = ({ onShare: a }) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full px-4 py-4 flex flex-col gap-3 bg-white", children: [
|
|
1895
1894
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
1896
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1897
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children:
|
|
1895
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Ca }),
|
|
1896
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children: Na })
|
|
1898
1897
|
] }),
|
|
1899
1898
|
/* @__PURE__ */ e.jsxs(
|
|
1900
1899
|
"button",
|
|
@@ -1905,14 +1904,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
1905
1904
|
style: {
|
|
1906
1905
|
background: "radial-gradient(123.65% 265.91% at 52.2% -165.91%, #0fdf9d, #087955)"
|
|
1907
1906
|
},
|
|
1908
|
-
"aria-label":
|
|
1907
|
+
"aria-label": Mt,
|
|
1909
1908
|
children: [
|
|
1910
|
-
/* @__PURE__ */ e.jsx(
|
|
1911
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1909
|
+
/* @__PURE__ */ e.jsx(Xr, {}),
|
|
1910
|
+
/* @__PURE__ */ e.jsx("span", { children: Mt })
|
|
1912
1911
|
]
|
|
1913
1912
|
}
|
|
1914
1913
|
)
|
|
1915
|
-
] }) }),
|
|
1914
|
+
] }) }), Gt = "store_list_dlp_campaign", Jt = "https://srm-cdn.a4b.io/yoda/1774945525352.webp", Qr = (a) => a ? String(a).trim().replace(/[,\s]+/g, "").length > 0 : !1, ei = (a) => {
|
|
1916
1915
|
const n = a?.cta?.action_attr?.deeplink;
|
|
1917
1916
|
if (!n)
|
|
1918
1917
|
return "https://www.srimandir.com/epuja";
|
|
@@ -1921,23 +1920,51 @@ const ia = sa(void 0), oa = () => {
|
|
|
1921
1920
|
} catch {
|
|
1922
1921
|
return "https://www.srimandir.com/epuja";
|
|
1923
1922
|
}
|
|
1924
|
-
},
|
|
1925
|
-
const
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1923
|
+
}, ti = (a) => {
|
|
1924
|
+
const n = a?.cover_media?.type, s = a?.cover_media?.media_url, o = a?.cover_media?.media_thumbnail;
|
|
1925
|
+
return n === "video" ? o || Jt : s || o || Jt;
|
|
1926
|
+
}, Ue = (a) => Array.isArray(a) ? a : [], it = (a) => !a || typeof a != "object" ? !1 : !!(a?.id || a?.store_id || a?.inventory_id || a?.cover_media || a?.cta?.action_attr?.deeplink), ai = (a) => [
|
|
1927
|
+
...Ue(a?.data?.data?.cards),
|
|
1928
|
+
...Ue(a?.data?.cards),
|
|
1929
|
+
...Ue(a?.data?.data?.items),
|
|
1930
|
+
...Ue(a?.data?.items)
|
|
1931
|
+
], ni = (a) => {
|
|
1932
|
+
const n = [];
|
|
1933
|
+
return a.forEach((s) => {
|
|
1934
|
+
if (s && s?.visible !== !1) {
|
|
1935
|
+
if (s?.type === "list_item_large") {
|
|
1936
|
+
n.push(...Ue(s?.list_item_large?.list_items)), it(s?.list_item_large?.store) && n.push(s?.list_item_large?.store);
|
|
1937
|
+
return;
|
|
1938
|
+
}
|
|
1939
|
+
if (s?.type === "pooja_list_item_large") {
|
|
1940
|
+
it(s?.pooja_list_item_large?.store) && n.push(s?.pooja_list_item_large?.store), n.push(...Ue(s?.pooja_list_item_large?.list_items));
|
|
1941
|
+
return;
|
|
1942
|
+
}
|
|
1943
|
+
if (s?.type === "store_card" && it(s?.store)) {
|
|
1944
|
+
n.push(s?.store);
|
|
1945
|
+
return;
|
|
1946
|
+
}
|
|
1947
|
+
if (it(s?.store)) {
|
|
1948
|
+
n.push(s?.store);
|
|
1949
|
+
return;
|
|
1950
|
+
}
|
|
1951
|
+
it(s) && n.push(s);
|
|
1952
|
+
}
|
|
1953
|
+
}), n;
|
|
1954
|
+
}, si = (a, n) => ni(a).filter(
|
|
1955
|
+
(i) => i?.active !== !1
|
|
1956
|
+
).filter((i, m, r) => {
|
|
1957
|
+
const h = i?.id || i?.store_id || i?.inventory_id;
|
|
1958
|
+
return h ? r.findIndex((d) => (d?.id || d?.store_id || d?.inventory_id) === h) === m : !0;
|
|
1959
|
+
}).slice(0, n).map((i, m) => ({
|
|
1960
|
+
id: i?.id || i?.store_id || i?.inventory_id || `store-card-${m}`,
|
|
1961
|
+
imageUrl: ti(i),
|
|
1962
|
+
badge: i?.tag?.visible ? i?.tag?.name : void 0,
|
|
1963
|
+
title: i?.title || i?.sub_title || "Puja Seva",
|
|
1964
|
+
temple: Qr(i?.location) ? i?.location : i?.description || i?.sub_title || "Sri Mandir",
|
|
1965
|
+
date: i?.process_date || i?.process_date_dm || i?.metrics?.data?.[1]?.info || "",
|
|
1966
|
+
href: ei(i)
|
|
1967
|
+
})), ri = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), ii = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), Pt = 200, oi = 230, li = 130, ci = ({ card: a, onClick: n }) => /* @__PURE__ */ e.jsxs(
|
|
1941
1968
|
"a",
|
|
1942
1969
|
{
|
|
1943
1970
|
href: a.href,
|
|
@@ -1945,10 +1972,10 @@ const ia = sa(void 0), oa = () => {
|
|
|
1945
1972
|
n && (s.preventDefault(), n(a));
|
|
1946
1973
|
},
|
|
1947
1974
|
style: {
|
|
1948
|
-
width:
|
|
1949
|
-
minWidth:
|
|
1950
|
-
maxWidth:
|
|
1951
|
-
height:
|
|
1975
|
+
width: Pt,
|
|
1976
|
+
minWidth: Pt,
|
|
1977
|
+
maxWidth: Pt,
|
|
1978
|
+
height: oi,
|
|
1952
1979
|
borderRadius: 12,
|
|
1953
1980
|
border: "1px solid #e5e7eb",
|
|
1954
1981
|
background: "#fff",
|
|
@@ -1967,7 +1994,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1967
1994
|
style: {
|
|
1968
1995
|
position: "relative",
|
|
1969
1996
|
width: "100%",
|
|
1970
|
-
height:
|
|
1997
|
+
height: li,
|
|
1971
1998
|
overflow: "hidden",
|
|
1972
1999
|
background: "#f3f4f6",
|
|
1973
2000
|
flexShrink: 0
|
|
@@ -2038,11 +2065,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
2038
2065
|
}
|
|
2039
2066
|
),
|
|
2040
2067
|
/* @__PURE__ */ e.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 4, fontSize: 11, color: "#6b7280" }, children: [
|
|
2041
|
-
/* @__PURE__ */ e.jsx(
|
|
2068
|
+
/* @__PURE__ */ e.jsx(ri, {}),
|
|
2042
2069
|
/* @__PURE__ */ e.jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: a.temple })
|
|
2043
2070
|
] }),
|
|
2044
2071
|
a.date && /* @__PURE__ */ e.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 4, fontSize: 11, color: "#6b7280" }, children: [
|
|
2045
|
-
/* @__PURE__ */ e.jsx(
|
|
2072
|
+
/* @__PURE__ */ e.jsx(ii, {}),
|
|
2046
2073
|
/* @__PURE__ */ e.jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: a.date })
|
|
2047
2074
|
] })
|
|
2048
2075
|
]
|
|
@@ -2050,90 +2077,97 @@ const ia = sa(void 0), oa = () => {
|
|
|
2050
2077
|
)
|
|
2051
2078
|
]
|
|
2052
2079
|
}
|
|
2053
|
-
),
|
|
2080
|
+
), It = ({
|
|
2054
2081
|
onCardClick: a,
|
|
2055
2082
|
a4bApi: n,
|
|
2056
|
-
storeCardsPage: s =
|
|
2057
|
-
storeCardsHeaders:
|
|
2058
|
-
storeCardsLimit:
|
|
2083
|
+
storeCardsPage: s = Gt,
|
|
2084
|
+
storeCardsHeaders: o,
|
|
2085
|
+
storeCardsLimit: i = 8
|
|
2059
2086
|
}) => {
|
|
2060
|
-
const [
|
|
2087
|
+
const [m, r] = S([]);
|
|
2061
2088
|
return B(() => {
|
|
2062
|
-
const
|
|
2063
|
-
if (!
|
|
2064
|
-
let
|
|
2089
|
+
const h = n?.apiInstance?.get;
|
|
2090
|
+
if (!h) return;
|
|
2091
|
+
let d = !1;
|
|
2065
2092
|
return (async () => {
|
|
2066
2093
|
try {
|
|
2067
|
-
const u = s ||
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2094
|
+
const u = (s || Gt).split(",").map((j) => j.trim()).filter(Boolean);
|
|
2095
|
+
if (!u.length) {
|
|
2096
|
+
r([]);
|
|
2097
|
+
return;
|
|
2098
|
+
}
|
|
2099
|
+
const p = (await Promise.all(
|
|
2100
|
+
u.flatMap((j) => [
|
|
2101
|
+
h("/gw1/puja/external/v2/pages", {
|
|
2102
|
+
params: { page: j, page_no: 1 },
|
|
2103
|
+
headers: o
|
|
2104
|
+
}),
|
|
2105
|
+
h("/gw1/yoda/external/v2/pages", {
|
|
2106
|
+
params: { page: j, page_no: 1 },
|
|
2107
|
+
headers: o
|
|
2108
|
+
})
|
|
2109
|
+
])
|
|
2110
|
+
)).flatMap(
|
|
2111
|
+
(j) => ai(j)
|
|
2112
|
+
), v = si(p, i);
|
|
2113
|
+
d || r(v);
|
|
2080
2114
|
} catch (u) {
|
|
2081
2115
|
console.error("[DLP] Failed to fetch store cards", u);
|
|
2082
2116
|
}
|
|
2083
2117
|
})(), () => {
|
|
2084
|
-
|
|
2118
|
+
d = !0;
|
|
2085
2119
|
};
|
|
2086
|
-
}, [n, s,
|
|
2087
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
2120
|
+
}, [n, s, o, i]), m.length ? /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full bg-white px-4 py-4 flex flex-col gap-3", children: [
|
|
2121
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Ia }),
|
|
2088
2122
|
/* @__PURE__ */ e.jsx(
|
|
2089
2123
|
"div",
|
|
2090
2124
|
{
|
|
2091
2125
|
className: "flex gap-3 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
2092
2126
|
role: "list",
|
|
2093
|
-
"aria-label":
|
|
2094
|
-
children:
|
|
2127
|
+
"aria-label": Ra,
|
|
2128
|
+
children: m.map((h) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ci, { card: h, onClick: a }) }, h.id))
|
|
2095
2129
|
}
|
|
2096
2130
|
)
|
|
2097
2131
|
] }) }) : null;
|
|
2098
|
-
},
|
|
2132
|
+
}, di = "sm_dlp_premium", Kt = {
|
|
2099
2133
|
"accept-language": "en",
|
|
2100
2134
|
"x-afb-language-mode": "en"
|
|
2101
|
-
},
|
|
2135
|
+
}, fa = ({
|
|
2102
2136
|
storeId: a,
|
|
2103
2137
|
inventoryId: n,
|
|
2104
|
-
onboardingType: s =
|
|
2105
|
-
enabled:
|
|
2106
|
-
apiBaseInstance:
|
|
2138
|
+
onboardingType: s = di,
|
|
2139
|
+
enabled: o = !0,
|
|
2140
|
+
apiBaseInstance: i
|
|
2107
2141
|
}) => {
|
|
2108
|
-
const [
|
|
2142
|
+
const [m, r] = S(null), [h, d] = S(null), [k, u] = S(
|
|
2109
2143
|
null
|
|
2110
2144
|
), [g, p] = S(
|
|
2111
|
-
!!(
|
|
2112
|
-
), [v,
|
|
2113
|
-
() => !!(
|
|
2114
|
-
[
|
|
2115
|
-
), _ =
|
|
2145
|
+
!!(o && a && n)
|
|
2146
|
+
), [v, j] = S(null), N = jt(
|
|
2147
|
+
() => !!(o && a && n),
|
|
2148
|
+
[o, n, a]
|
|
2149
|
+
), _ = ct(async () => {
|
|
2116
2150
|
if (!N) {
|
|
2117
2151
|
p(!1);
|
|
2118
2152
|
return;
|
|
2119
2153
|
}
|
|
2120
2154
|
try {
|
|
2121
|
-
p(!0),
|
|
2155
|
+
p(!0), j(null);
|
|
2122
2156
|
let C;
|
|
2123
|
-
if (
|
|
2157
|
+
if (i?.get) {
|
|
2124
2158
|
const O = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${n}`;
|
|
2125
|
-
C = (await
|
|
2159
|
+
C = (await i.get(
|
|
2126
2160
|
O,
|
|
2127
2161
|
{
|
|
2128
2162
|
params: { onboarding_type: s },
|
|
2129
|
-
headers:
|
|
2163
|
+
headers: Kt
|
|
2130
2164
|
}
|
|
2131
2165
|
))?.data;
|
|
2132
2166
|
} else {
|
|
2133
|
-
const O = new URLSearchParams({ onboarding_type: s }),
|
|
2167
|
+
const O = new URLSearchParams({ onboarding_type: s }), V = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${n}?${O.toString()}`, w = await fetch(V, {
|
|
2134
2168
|
method: "GET",
|
|
2135
2169
|
credentials: "include",
|
|
2136
|
-
headers:
|
|
2170
|
+
headers: Kt
|
|
2137
2171
|
});
|
|
2138
2172
|
if (!w.ok)
|
|
2139
2173
|
throw new Error(
|
|
@@ -2141,52 +2175,52 @@ const ia = sa(void 0), oa = () => {
|
|
|
2141
2175
|
);
|
|
2142
2176
|
C = await w.json();
|
|
2143
2177
|
}
|
|
2144
|
-
const
|
|
2145
|
-
r(
|
|
2178
|
+
const b = C?.data;
|
|
2179
|
+
r(b?.subscription_info ?? null), d(b?.trial_subscription_data ?? null), u(b?.onboarding_data ?? null);
|
|
2146
2180
|
} catch (C) {
|
|
2147
|
-
r(null),
|
|
2181
|
+
r(null), d(null), u(null), j(
|
|
2148
2182
|
C instanceof Error ? C : new Error("Failed to fetch subscription onboarding data")
|
|
2149
2183
|
);
|
|
2150
2184
|
} finally {
|
|
2151
2185
|
p(!1);
|
|
2152
2186
|
}
|
|
2153
|
-
}, [
|
|
2187
|
+
}, [i, n, s, N, a]);
|
|
2154
2188
|
return B(() => {
|
|
2155
2189
|
_();
|
|
2156
2190
|
}, [_]), {
|
|
2157
|
-
subscriptionInfo:
|
|
2158
|
-
trialSubscriptionData:
|
|
2159
|
-
onboardingData:
|
|
2191
|
+
subscriptionInfo: m,
|
|
2192
|
+
trialSubscriptionData: h,
|
|
2193
|
+
onboardingData: k,
|
|
2160
2194
|
isLoading: g,
|
|
2161
2195
|
error: v,
|
|
2162
2196
|
refetch: _
|
|
2163
2197
|
};
|
|
2164
|
-
},
|
|
2198
|
+
}, Ce = ({
|
|
2165
2199
|
storeId: a,
|
|
2166
2200
|
inventoryId: n,
|
|
2167
2201
|
onboardingType: s = "sm_dlp_premium",
|
|
2168
|
-
apiBaseInstance:
|
|
2169
|
-
onSubscribe:
|
|
2170
|
-
extraBottomPaddingPx:
|
|
2202
|
+
apiBaseInstance: o,
|
|
2203
|
+
onSubscribe: i,
|
|
2204
|
+
extraBottomPaddingPx: m = 0
|
|
2171
2205
|
}) => {
|
|
2172
|
-
const { subscriptionInfo: r, trialSubscriptionData:
|
|
2206
|
+
const { subscriptionInfo: r, trialSubscriptionData: h } = fa({
|
|
2173
2207
|
storeId: a,
|
|
2174
2208
|
inventoryId: n,
|
|
2175
2209
|
onboardingType: s,
|
|
2176
|
-
apiBaseInstance:
|
|
2210
|
+
apiBaseInstance: o,
|
|
2177
2211
|
enabled: !!(a && n)
|
|
2178
|
-
}),
|
|
2179
|
-
{ text:
|
|
2180
|
-
{ text:
|
|
2181
|
-
], _ = r?.media?.media_url ||
|
|
2182
|
-
if (
|
|
2212
|
+
}), d = r?.colors?.bg_color_1 || "#340d10", k = r?.colors?.bg_color_2 || "#5f181d", u = r?.tag?.text || La, g = r?.tag?.bg_color || "#f8a84a", p = r?.tag?.text_color || "#3d1c02", v = r?.header || Da, j = r?.description || Aa, N = r?.info_list && r.info_list.length > 0 ? r.info_list : [
|
|
2213
|
+
{ text: Fa, description: "", icon_url: "" },
|
|
2214
|
+
{ text: Ba, description: "", icon_url: "" }
|
|
2215
|
+
], _ = r?.media?.media_url || ua, C = h?.currency_code || "₹", b = h?.effective_amount ?? h?.subscription_amount, O = h?.subscription_amount, V = h?.period ? `/ ${h.period}` : Oa, w = r?.cta, G = w?.visible ?? !0, Z = w?.text || Ma, I = w?.text_color || "#ffffff", D = w?.stroke_color || "transparent", Y = w?.color || "#f97e4e", le = w?.color_2 || "#f75e22", X = () => {
|
|
2216
|
+
if (i?.(), i)
|
|
2183
2217
|
return;
|
|
2184
|
-
const
|
|
2185
|
-
if (!(!
|
|
2218
|
+
const W = w?.action_attr?.deeplink;
|
|
2219
|
+
if (!(!W || typeof window > "u"))
|
|
2186
2220
|
try {
|
|
2187
|
-
window.location.href = new URL(
|
|
2221
|
+
window.location.href = new URL(W, window.location.origin).toString();
|
|
2188
2222
|
} catch {
|
|
2189
|
-
window.location.href =
|
|
2223
|
+
window.location.href = W;
|
|
2190
2224
|
}
|
|
2191
2225
|
};
|
|
2192
2226
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2194,8 +2228,8 @@ const ia = sa(void 0), oa = () => {
|
|
|
2194
2228
|
{
|
|
2195
2229
|
className: "daily-live-puja-root w-full text-white px-4 py-6",
|
|
2196
2230
|
style: {
|
|
2197
|
-
background: `linear-gradient(163.43deg, ${
|
|
2198
|
-
paddingBottom: `calc(1.5rem + ${Math.max(0,
|
|
2231
|
+
background: `linear-gradient(163.43deg, ${d}, ${k} 60%, ${d})`,
|
|
2232
|
+
paddingBottom: `calc(1.5rem + ${Math.max(0, m)}px)`
|
|
2199
2233
|
},
|
|
2200
2234
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative overflow-hidden rounded-2xl p-5 flex flex-col gap-3", children: [
|
|
2201
2235
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2207,22 +2241,22 @@ const ia = sa(void 0), oa = () => {
|
|
|
2207
2241
|
}
|
|
2208
2242
|
),
|
|
2209
2243
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: v }),
|
|
2210
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children:
|
|
2211
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: N.map((
|
|
2212
|
-
|
|
2244
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: j }),
|
|
2245
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: N.map((W, Q) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
2246
|
+
W.icon_url ? /* @__PURE__ */ e.jsx(
|
|
2213
2247
|
"img",
|
|
2214
2248
|
{
|
|
2215
|
-
src:
|
|
2249
|
+
src: W.icon_url,
|
|
2216
2250
|
alt: "",
|
|
2217
2251
|
"aria-hidden": "true",
|
|
2218
2252
|
className: "w-4 h-4 mt-[2px]"
|
|
2219
2253
|
}
|
|
2220
2254
|
) : /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: "•" }),
|
|
2221
2255
|
/* @__PURE__ */ e.jsxs("span", { className: "opacity-90", children: [
|
|
2222
|
-
|
|
2223
|
-
|
|
2256
|
+
W.text,
|
|
2257
|
+
W.description ? ` ${W.description}` : ""
|
|
2224
2258
|
] })
|
|
2225
|
-
] }, `${
|
|
2259
|
+
] }, `${W.text || "feature"}-${Q}`)) }),
|
|
2226
2260
|
/* @__PURE__ */ e.jsx(
|
|
2227
2261
|
"div",
|
|
2228
2262
|
{
|
|
@@ -2232,17 +2266,17 @@ const ia = sa(void 0), oa = () => {
|
|
|
2232
2266
|
}
|
|
2233
2267
|
),
|
|
2234
2268
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
|
|
2235
|
-
typeof
|
|
2269
|
+
typeof b == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
|
|
2236
2270
|
C,
|
|
2237
|
-
|
|
2271
|
+
b
|
|
2238
2272
|
] }),
|
|
2239
|
-
typeof O == "number" && typeof
|
|
2273
|
+
typeof O == "number" && typeof b == "number" && O > b && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
|
|
2240
2274
|
C,
|
|
2241
2275
|
O
|
|
2242
2276
|
] }),
|
|
2243
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children:
|
|
2277
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: V })
|
|
2244
2278
|
] }),
|
|
2245
|
-
|
|
2279
|
+
G && /* @__PURE__ */ e.jsxs(
|
|
2246
2280
|
"button",
|
|
2247
2281
|
{
|
|
2248
2282
|
type: "button",
|
|
@@ -2253,7 +2287,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2253
2287
|
borderColor: D,
|
|
2254
2288
|
borderWidth: D !== "transparent" ? 1 : 0,
|
|
2255
2289
|
borderStyle: "solid",
|
|
2256
|
-
background: `linear-gradient(180deg, ${
|
|
2290
|
+
background: `linear-gradient(180deg, ${Y}, ${le})`
|
|
2257
2291
|
},
|
|
2258
2292
|
"aria-label": Z,
|
|
2259
2293
|
children: [
|
|
@@ -2262,11 +2296,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
2262
2296
|
]
|
|
2263
2297
|
}
|
|
2264
2298
|
),
|
|
2265
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: r?.footer_text ||
|
|
2299
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: r?.footer_text || $a })
|
|
2266
2300
|
] })
|
|
2267
2301
|
}
|
|
2268
2302
|
);
|
|
2269
|
-
},
|
|
2303
|
+
}, qt = {
|
|
2270
2304
|
active: { label: "Active", color: "#069D42" },
|
|
2271
2305
|
created: { label: "Active", color: "#069D42" },
|
|
2272
2306
|
active_grace: { label: "Active", color: "#069D42" },
|
|
@@ -2274,41 +2308,41 @@ const ia = sa(void 0), oa = () => {
|
|
|
2274
2308
|
halted: { label: "Halted", color: "#ef4444" },
|
|
2275
2309
|
cancelled: { label: "Cancelled", color: "#ef4444" },
|
|
2276
2310
|
completed: { label: "Completed", color: "#6b7280" }
|
|
2277
|
-
},
|
|
2311
|
+
}, Zt = (a) => {
|
|
2278
2312
|
if (!a) return "—";
|
|
2279
|
-
const n = new Date(a * 1e3), s = n.getDate(),
|
|
2280
|
-
return `${s}${
|
|
2281
|
-
},
|
|
2313
|
+
const n = new Date(a * 1e3), s = n.getDate(), o = s === 1 || s === 21 || s === 31 ? "st" : s === 2 || s === 22 ? "nd" : s === 3 || s === 23 ? "rd" : "th", i = n.toLocaleString("en-US", { month: "long" }), m = n.getFullYear();
|
|
2314
|
+
return `${s}${o} ${i} ${m}`;
|
|
2315
|
+
}, ui = (a) => {
|
|
2282
2316
|
if (!a) return "Subscription";
|
|
2283
2317
|
const n = a.toLowerCase();
|
|
2284
2318
|
return n === "weekly" || n === "week" ? "Weekly Subscription" : n === "monthly" || n === "month" ? "Monthly Subscription" : n === "yearly" || n === "year" ? "Yearly Subscription" : n === "daily" || n === "day" ? "Daily Subscription" : `${a.charAt(0).toUpperCase() + a.slice(1)} Subscription`;
|
|
2285
|
-
},
|
|
2319
|
+
}, pi = (a, n, s) => {
|
|
2286
2320
|
if (typeof a != "number") return "—";
|
|
2287
|
-
const
|
|
2288
|
-
if (!n) return
|
|
2289
|
-
const
|
|
2290
|
-
return
|
|
2291
|
-
},
|
|
2321
|
+
const i = `${s}${a}`;
|
|
2322
|
+
if (!n) return i;
|
|
2323
|
+
const m = n.toLowerCase();
|
|
2324
|
+
return m === "weekly" || m === "week" ? `${i}/Week` : m === "monthly" || m === "month" ? `${i}/Month` : m === "yearly" || m === "year" ? `${i}/Year` : m === "daily" || m === "day" ? `${i}/Day` : `${i}/${n}`;
|
|
2325
|
+
}, hi = ua, Me = ({
|
|
2292
2326
|
subscription: a,
|
|
2293
2327
|
mediaUrl: n,
|
|
2294
2328
|
storeId: s,
|
|
2295
|
-
inventoryId:
|
|
2296
|
-
onboardingType:
|
|
2297
|
-
apiBaseInstance:
|
|
2329
|
+
inventoryId: o,
|
|
2330
|
+
onboardingType: i = "sm_dlp_premium",
|
|
2331
|
+
apiBaseInstance: m
|
|
2298
2332
|
}) => {
|
|
2299
|
-
const { subscriptionInfo: r, trialSubscriptionData:
|
|
2333
|
+
const { subscriptionInfo: r, trialSubscriptionData: h } = fa({
|
|
2300
2334
|
storeId: s,
|
|
2301
|
-
inventoryId:
|
|
2302
|
-
onboardingType:
|
|
2303
|
-
apiBaseInstance:
|
|
2304
|
-
enabled: !!(s &&
|
|
2305
|
-
}),
|
|
2306
|
-
{ label: "Plan Type", value:
|
|
2307
|
-
{ label: "Amount", value:
|
|
2308
|
-
{ label: "Start Date", value:
|
|
2335
|
+
inventoryId: o,
|
|
2336
|
+
onboardingType: i,
|
|
2337
|
+
apiBaseInstance: m,
|
|
2338
|
+
enabled: !!(s && o)
|
|
2339
|
+
}), d = a.status?.toLowerCase() || "active", { label: k, color: u } = qt[d] || qt.active, g = r?.header || "Membership", p = r?.media?.media_url || n || hi, v = r?.colors?.bg_color_1 || "#340d10", j = r?.colors?.bg_color_2 || "#5f181d", N = h?.period || a.interval, _ = h?.subscription_amount ?? a.amount, C = h?.currency_code || "₹", b = [
|
|
2340
|
+
{ label: "Plan Type", value: ui(N) },
|
|
2341
|
+
{ label: "Amount", value: pi(_, N, C) },
|
|
2342
|
+
{ label: "Start Date", value: Zt(a.start_date) },
|
|
2309
2343
|
{
|
|
2310
2344
|
label: "Next Renewal Date",
|
|
2311
|
-
value:
|
|
2345
|
+
value: Zt(a.next_instalment_date || a.expiry_date)
|
|
2312
2346
|
}
|
|
2313
2347
|
];
|
|
2314
2348
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -2357,7 +2391,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2357
2391
|
position: "relative",
|
|
2358
2392
|
width: "100%",
|
|
2359
2393
|
height: 100,
|
|
2360
|
-
background: `linear-gradient(135deg, ${v}, ${
|
|
2394
|
+
background: `linear-gradient(135deg, ${v}, ${j})`,
|
|
2361
2395
|
overflow: "hidden"
|
|
2362
2396
|
},
|
|
2363
2397
|
children: [
|
|
@@ -2437,7 +2471,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2437
2471
|
}
|
|
2438
2472
|
}
|
|
2439
2473
|
),
|
|
2440
|
-
|
|
2474
|
+
k
|
|
2441
2475
|
]
|
|
2442
2476
|
}
|
|
2443
2477
|
)
|
|
@@ -2449,7 +2483,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2449
2483
|
]
|
|
2450
2484
|
}
|
|
2451
2485
|
),
|
|
2452
|
-
/* @__PURE__ */ e.jsx("div", { style: { padding: "12px 16px" }, children:
|
|
2486
|
+
/* @__PURE__ */ e.jsx("div", { style: { padding: "12px 16px" }, children: b.map((O, V) => /* @__PURE__ */ e.jsxs(
|
|
2453
2487
|
"div",
|
|
2454
2488
|
{
|
|
2455
2489
|
style: {
|
|
@@ -2457,7 +2491,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2457
2491
|
justifyContent: "space-between",
|
|
2458
2492
|
alignItems: "center",
|
|
2459
2493
|
padding: "10px 0",
|
|
2460
|
-
borderBottom:
|
|
2494
|
+
borderBottom: V < b.length - 1 ? "1px solid #f3f4f6" : "none"
|
|
2461
2495
|
},
|
|
2462
2496
|
children: [
|
|
2463
2497
|
/* @__PURE__ */ e.jsx("span", { style: { fontSize: 13, color: "#6b7280" }, children: O.label }),
|
|
@@ -2472,7 +2506,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2472
2506
|
]
|
|
2473
2507
|
}
|
|
2474
2508
|
);
|
|
2475
|
-
},
|
|
2509
|
+
}, Xt = (a) => {
|
|
2476
2510
|
if (!a)
|
|
2477
2511
|
return;
|
|
2478
2512
|
const n = a.trim();
|
|
@@ -2484,58 +2518,58 @@ const ia = sa(void 0), oa = () => {
|
|
|
2484
2518
|
} catch {
|
|
2485
2519
|
return n.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
2486
2520
|
}
|
|
2487
|
-
},
|
|
2488
|
-
const n = a ?? [], s = n.find((r) => r.is_offering === !1),
|
|
2521
|
+
}, fi = (a) => {
|
|
2522
|
+
const n = a ?? [], s = n.find((r) => r.is_offering === !1), o = s ? {
|
|
2489
2523
|
id: String(s.id),
|
|
2490
2524
|
title: s.title || xe.title,
|
|
2491
2525
|
location: s.location || xe.location,
|
|
2492
2526
|
date: s.date || xe.date,
|
|
2493
2527
|
deeplink: s.deeplink,
|
|
2494
2528
|
imageUrl: s.img_url?.data?.attributes?.url || xe.imageUrl
|
|
2495
|
-
} : xe,
|
|
2496
|
-
const
|
|
2529
|
+
} : xe, i = n.filter((r) => r.is_offering).map((r) => {
|
|
2530
|
+
const h = r.title || "Custom", d = h.toLowerCase() === "custom", k = r.price ? Number(r.price) : null;
|
|
2497
2531
|
return {
|
|
2498
2532
|
id: String(r.id),
|
|
2499
|
-
name:
|
|
2500
|
-
price: Number.isFinite(
|
|
2533
|
+
name: h,
|
|
2534
|
+
price: Number.isFinite(k) ? k : null,
|
|
2501
2535
|
image_url: r.img_url?.data?.attributes?.url || "",
|
|
2502
2536
|
deeplink: r.deeplink,
|
|
2503
|
-
isCustom:
|
|
2537
|
+
isCustom: d
|
|
2504
2538
|
};
|
|
2505
|
-
}),
|
|
2506
|
-
return { pujaCard:
|
|
2507
|
-
},
|
|
2508
|
-
getDlpContent: async (s,
|
|
2509
|
-
const
|
|
2510
|
-
if (!
|
|
2511
|
-
throw new Error(`DLP API failed with status ${
|
|
2512
|
-
const r = (await
|
|
2539
|
+
}), m = (i.length ? i : pa).sort((r, h) => Number(r.isCustom) - Number(h.isCustom));
|
|
2540
|
+
return { pujaCard: o, offeringCards: m };
|
|
2541
|
+
}, mi = (a) => `https://${Ua[a]}/api/dlps${Wa}`, xi = (a = fetch) => ({
|
|
2542
|
+
getDlpContent: async (s, o) => {
|
|
2543
|
+
const i = await a(mi(s), { signal: o });
|
|
2544
|
+
if (!i.ok)
|
|
2545
|
+
throw new Error(`DLP API failed with status ${i.status}`);
|
|
2546
|
+
const r = (await i.json())?.data?.[0]?.attributes;
|
|
2513
2547
|
return {
|
|
2514
2548
|
attributes: r,
|
|
2515
|
-
normalized:
|
|
2549
|
+
normalized: fi(r?.dlp_cards)
|
|
2516
2550
|
};
|
|
2517
2551
|
}
|
|
2518
|
-
}),
|
|
2552
|
+
}), gi = ({
|
|
2519
2553
|
initialVideoId: a,
|
|
2520
2554
|
contentEnvironment: n
|
|
2521
2555
|
}) => {
|
|
2522
|
-
const [s,
|
|
2556
|
+
const [s, o] = S(a), [i, m] = S(xe), [r, h] = S(pa), [d, k] = S(!0), u = jt(() => xi(), []);
|
|
2523
2557
|
B(() => {
|
|
2524
|
-
|
|
2558
|
+
o(a);
|
|
2525
2559
|
}, [a]);
|
|
2526
|
-
const g =
|
|
2560
|
+
const g = ct(
|
|
2527
2561
|
async (p) => {
|
|
2528
|
-
|
|
2562
|
+
k(!0);
|
|
2529
2563
|
try {
|
|
2530
|
-
const { attributes: v, normalized:
|
|
2564
|
+
const { attributes: v, normalized: j } = await u.getDlpContent(
|
|
2531
2565
|
n,
|
|
2532
2566
|
p
|
|
2533
2567
|
);
|
|
2534
|
-
v?.yt_video_id &&
|
|
2568
|
+
v?.yt_video_id && o(v.yt_video_id), m(j.pujaCard), h(j.offeringCards);
|
|
2535
2569
|
} catch (v) {
|
|
2536
2570
|
p?.aborted || console.error("Failed to fetch DLP cards", v);
|
|
2537
2571
|
} finally {
|
|
2538
|
-
p?.aborted ||
|
|
2572
|
+
p?.aborted || k(!1);
|
|
2539
2573
|
}
|
|
2540
2574
|
},
|
|
2541
2575
|
[u, n]
|
|
@@ -2545,33 +2579,33 @@ const ia = sa(void 0), oa = () => {
|
|
|
2545
2579
|
return g(p.signal), () => p.abort();
|
|
2546
2580
|
}, [g]), {
|
|
2547
2581
|
apiVideoId: s,
|
|
2548
|
-
pujaCard:
|
|
2582
|
+
pujaCard: i,
|
|
2549
2583
|
offeringCards: r,
|
|
2550
|
-
isDlpLoading:
|
|
2584
|
+
isDlpLoading: d,
|
|
2551
2585
|
refetchDlpData: g
|
|
2552
2586
|
};
|
|
2553
|
-
},
|
|
2587
|
+
}, _i = "sm_dlp_premium", Qt = [
|
|
2554
2588
|
"created",
|
|
2555
2589
|
"active",
|
|
2556
2590
|
"active_grace"
|
|
2557
|
-
],
|
|
2591
|
+
], vi = (a) => {
|
|
2558
2592
|
const n = a?.data;
|
|
2559
2593
|
return Array.isArray(n) ? n : n && typeof n == "object" ? [n] : [];
|
|
2560
|
-
},
|
|
2561
|
-
subscriptionType: a =
|
|
2594
|
+
}, bi = ({
|
|
2595
|
+
subscriptionType: a = _i,
|
|
2562
2596
|
enabled: n = !0,
|
|
2563
2597
|
apiBaseInstance: s
|
|
2564
2598
|
}) => {
|
|
2565
|
-
const [
|
|
2599
|
+
const [o, i] = S(!1), [m, r] = S(null), [h, d] = S(!!n), [k, u] = S(null), g = jt(() => !!(n && a), [
|
|
2566
2600
|
n,
|
|
2567
2601
|
a
|
|
2568
|
-
]), p =
|
|
2602
|
+
]), p = ct(async () => {
|
|
2569
2603
|
if (!g) {
|
|
2570
|
-
|
|
2604
|
+
d(!1), i(!1), r(null);
|
|
2571
2605
|
return;
|
|
2572
2606
|
}
|
|
2573
2607
|
try {
|
|
2574
|
-
|
|
2608
|
+
d(!0), u(null), i(!1), r(null);
|
|
2575
2609
|
let v;
|
|
2576
2610
|
if (s?.get)
|
|
2577
2611
|
v = (await s.get(
|
|
@@ -2591,64 +2625,64 @@ const ia = sa(void 0), oa = () => {
|
|
|
2591
2625
|
);
|
|
2592
2626
|
v = await N.json();
|
|
2593
2627
|
}
|
|
2594
|
-
const
|
|
2595
|
-
const _ = N?.status?.trim().toLowerCase(), C = N?.service_type?.toLowerCase(),
|
|
2596
|
-
return !_ || _ === "completed" || _ === "cancelled" ? !1 :
|
|
2628
|
+
const j = vi(v).find((N) => {
|
|
2629
|
+
const _ = N?.status?.trim().toLowerCase(), C = N?.service_type?.toLowerCase(), b = !C || C === a.toLowerCase();
|
|
2630
|
+
return !_ || _ === "completed" || _ === "cancelled" ? !1 : Qt.includes(_) && b;
|
|
2597
2631
|
});
|
|
2598
|
-
|
|
2632
|
+
j && (i(!0), r(j));
|
|
2599
2633
|
} catch (v) {
|
|
2600
|
-
|
|
2634
|
+
i(!1), r(null), u(
|
|
2601
2635
|
v instanceof Error ? v : new Error("Failed to fetch subscription status")
|
|
2602
2636
|
);
|
|
2603
2637
|
} finally {
|
|
2604
|
-
|
|
2638
|
+
d(!1);
|
|
2605
2639
|
}
|
|
2606
2640
|
}, [s, g, a]);
|
|
2607
2641
|
return B(() => {
|
|
2608
2642
|
p();
|
|
2609
2643
|
}, [p]), {
|
|
2610
|
-
isSubscribed:
|
|
2611
|
-
activeSubscription:
|
|
2612
|
-
checkedStatuses:
|
|
2613
|
-
isLoading:
|
|
2614
|
-
error:
|
|
2644
|
+
isSubscribed: o,
|
|
2645
|
+
activeSubscription: m,
|
|
2646
|
+
checkedStatuses: Qt,
|
|
2647
|
+
isLoading: h,
|
|
2648
|
+
error: k,
|
|
2615
2649
|
refetch: p
|
|
2616
2650
|
};
|
|
2617
|
-
},
|
|
2618
|
-
const n = a.getFullYear(), s = String(a.getMonth() + 1).padStart(2, "0"),
|
|
2619
|
-
return `${n}-${s}-${
|
|
2620
|
-
},
|
|
2651
|
+
}, yi = 1440 * 60 * 1e3, lt = (a) => {
|
|
2652
|
+
const n = a.getFullYear(), s = String(a.getMonth() + 1).padStart(2, "0"), o = String(a.getDate()).padStart(2, "0");
|
|
2653
|
+
return `${n}-${s}-${o}`;
|
|
2654
|
+
}, ea = (a) => new Date(a.getFullYear(), a.getMonth(), a.getDate()), ji = (a, n = /* @__PURE__ */ new Date()) => {
|
|
2621
2655
|
if (!a || !Number.isFinite(a))
|
|
2622
2656
|
return !1;
|
|
2623
2657
|
const s = new Date(a);
|
|
2624
|
-
return
|
|
2625
|
-
},
|
|
2658
|
+
return lt(s) === lt(n);
|
|
2659
|
+
}, wi = (a) => !!a?.some((n) => n?.status), ki = (a, n, s = /* @__PURE__ */ new Date()) => {
|
|
2626
2660
|
if (!a?.length || !n || !Number.isFinite(n))
|
|
2627
2661
|
return !1;
|
|
2628
|
-
const
|
|
2629
|
-
if (
|
|
2662
|
+
const o = ea(s).getTime();
|
|
2663
|
+
if (ea(new Date(n)).getTime() >= o)
|
|
2630
2664
|
return !1;
|
|
2631
|
-
const
|
|
2632
|
-
return !a.filter((
|
|
2633
|
-
(
|
|
2665
|
+
const m = lt(s);
|
|
2666
|
+
return !a.filter((d) => d?.date_string <= m).some(
|
|
2667
|
+
(d) => d?.date_string < m && d?.status
|
|
2634
2668
|
);
|
|
2635
|
-
},
|
|
2669
|
+
}, ma = (a = [1], n = 1, s = 7) => ({
|
|
2636
2670
|
attendedDays: a,
|
|
2637
2671
|
currentDay: n,
|
|
2638
2672
|
totalDays: s
|
|
2639
|
-
}),
|
|
2673
|
+
}), Si = (a, n = /* @__PURE__ */ new Date(), s = 7) => {
|
|
2640
2674
|
if (!a?.length)
|
|
2641
|
-
return
|
|
2642
|
-
const
|
|
2675
|
+
return ma([], 1, s);
|
|
2676
|
+
const o = a.slice(-s), i = o.map((d, k) => d?.status ? k + 1 : null).filter((d) => d !== null), m = lt(n), r = o.findIndex((d) => d?.date_string === m), h = r >= 0 ? r + 1 : Math.max(1, Math.min(o.length || 1, s));
|
|
2643
2677
|
return {
|
|
2644
|
-
attendedDays:
|
|
2645
|
-
currentDay:
|
|
2678
|
+
attendedDays: i,
|
|
2679
|
+
currentDay: h,
|
|
2646
2680
|
totalDays: s
|
|
2647
2681
|
};
|
|
2648
2682
|
}, Ne = (a) => {
|
|
2649
|
-
const n = new Date(Date.now() - a *
|
|
2650
|
-
return
|
|
2651
|
-
},
|
|
2683
|
+
const n = new Date(Date.now() - a * yi);
|
|
2684
|
+
return lt(n);
|
|
2685
|
+
}, Ci = "/zeus/internal/v1/streaks", Ni = 1440 * 60 * 1e3, ta = {
|
|
2652
2686
|
data: {
|
|
2653
2687
|
cards: [
|
|
2654
2688
|
{
|
|
@@ -2663,52 +2697,52 @@ const ia = sa(void 0), oa = () => {
|
|
|
2663
2697
|
{ date_string: Ne(0), status: !0 },
|
|
2664
2698
|
{ date_string: Ne(-1), status: !1 }
|
|
2665
2699
|
],
|
|
2666
|
-
attendance_start_at: Date.now() - 8 *
|
|
2700
|
+
attendance_start_at: Date.now() - 8 * Ni,
|
|
2667
2701
|
last_updated_at: 17913744e5,
|
|
2668
2702
|
current_streak_count: 2
|
|
2669
2703
|
}
|
|
2670
2704
|
}
|
|
2671
2705
|
]
|
|
2672
2706
|
}
|
|
2673
|
-
},
|
|
2707
|
+
}, Ti = (a) => ({
|
|
2674
2708
|
getDailyAttendanceStreak: async () => {
|
|
2675
2709
|
if (!a?.get)
|
|
2676
|
-
return { payload:
|
|
2710
|
+
return { payload: ta, isMock: !0 };
|
|
2677
2711
|
try {
|
|
2678
|
-
const
|
|
2679
|
-
|
|
2712
|
+
const o = (await a.get(
|
|
2713
|
+
Ci
|
|
2680
2714
|
))?.data;
|
|
2681
|
-
if (!!!
|
|
2682
|
-
(
|
|
2715
|
+
if (!!!o?.data?.cards?.some(
|
|
2716
|
+
(m) => m?.type === "daily_attendance_streak"
|
|
2683
2717
|
))
|
|
2684
2718
|
throw new Error("Streak API response missing daily_attendance_streak");
|
|
2685
|
-
return { payload:
|
|
2719
|
+
return { payload: o, isMock: !1 };
|
|
2686
2720
|
} catch (s) {
|
|
2687
|
-
return console.error("[DLP] Streak API unavailable, using mock response", s), { payload:
|
|
2721
|
+
return console.error("[DLP] Streak API unavailable, using mock response", s), { payload: ta, isMock: !0 };
|
|
2688
2722
|
}
|
|
2689
2723
|
}
|
|
2690
|
-
}),
|
|
2724
|
+
}), Ei = ({
|
|
2691
2725
|
enabled: a = !0,
|
|
2692
2726
|
apiBaseInstance: n,
|
|
2693
2727
|
fallbackAttendedDays: s = [1],
|
|
2694
|
-
fallbackCurrentDay:
|
|
2728
|
+
fallbackCurrentDay: o = 1
|
|
2695
2729
|
}) => {
|
|
2696
|
-
const [
|
|
2697
|
-
|
|
2698
|
-
), [
|
|
2699
|
-
() =>
|
|
2730
|
+
const [i, m] = S(null), [r, h] = S(
|
|
2731
|
+
ma(s, o)
|
|
2732
|
+
), [d, k] = S(!1), [u, g] = S(!!a), [p, v] = S(null), j = jt(
|
|
2733
|
+
() => Ti(n),
|
|
2700
2734
|
[n]
|
|
2701
|
-
), N =
|
|
2735
|
+
), N = ct(async () => {
|
|
2702
2736
|
if (!a) {
|
|
2703
2737
|
g(!1);
|
|
2704
2738
|
return;
|
|
2705
2739
|
}
|
|
2706
2740
|
try {
|
|
2707
2741
|
g(!0), v(null);
|
|
2708
|
-
const { payload: w, isMock:
|
|
2742
|
+
const { payload: w, isMock: G } = await j.getDailyAttendanceStreak(), I = w?.data?.cards?.find(
|
|
2709
2743
|
(D) => D?.type === "daily_attendance_streak"
|
|
2710
2744
|
)?.attributes ?? null;
|
|
2711
|
-
|
|
2745
|
+
m(I), k(G), I?.days?.length && h(Si(I.days));
|
|
2712
2746
|
} catch (w) {
|
|
2713
2747
|
v(
|
|
2714
2748
|
w instanceof Error ? w : new Error("Failed to fetch streak data")
|
|
@@ -2716,75 +2750,75 @@ const ia = sa(void 0), oa = () => {
|
|
|
2716
2750
|
} finally {
|
|
2717
2751
|
g(!1);
|
|
2718
2752
|
}
|
|
2719
|
-
}, [a,
|
|
2753
|
+
}, [a, j]);
|
|
2720
2754
|
B(() => {
|
|
2721
2755
|
N();
|
|
2722
2756
|
}, [N]);
|
|
2723
|
-
const _ =
|
|
2757
|
+
const _ = i?.days, C = i?.attendance_start_at, b = ji(C), O = ki(_, C), V = !O && wi(_);
|
|
2724
2758
|
return {
|
|
2725
|
-
streakAttributes:
|
|
2759
|
+
streakAttributes: i,
|
|
2726
2760
|
streakUi: r,
|
|
2727
|
-
isFirstTime:
|
|
2728
|
-
isActive:
|
|
2761
|
+
isFirstTime: b,
|
|
2762
|
+
isActive: V,
|
|
2729
2763
|
isInactive: O,
|
|
2730
|
-
isMockResponse:
|
|
2764
|
+
isMockResponse: d,
|
|
2731
2765
|
isLoading: u,
|
|
2732
2766
|
error: p,
|
|
2733
2767
|
refetch: N
|
|
2734
2768
|
};
|
|
2735
|
-
},
|
|
2736
|
-
const [s,
|
|
2769
|
+
}, Pi = (a, n) => {
|
|
2770
|
+
const [s, o] = S("LOADING"), i = F(null), m = F(null);
|
|
2737
2771
|
return B(() => {
|
|
2738
2772
|
if (!a || typeof window > "u")
|
|
2739
2773
|
return;
|
|
2740
2774
|
let r = !1;
|
|
2741
|
-
|
|
2742
|
-
const
|
|
2743
|
-
|
|
2744
|
-
},
|
|
2745
|
-
const u =
|
|
2775
|
+
o("LOADING");
|
|
2776
|
+
const h = () => {
|
|
2777
|
+
m.current && (clearInterval(m.current), m.current = null);
|
|
2778
|
+
}, d = () => {
|
|
2779
|
+
const u = i.current;
|
|
2746
2780
|
if (!(!u || r))
|
|
2747
2781
|
try {
|
|
2748
2782
|
const g = u.getVideoData(), p = u.getDuration(), v = g?.isLive ?? !1;
|
|
2749
2783
|
if (p === 0) {
|
|
2750
|
-
|
|
2784
|
+
o("UPCOMING");
|
|
2751
2785
|
return;
|
|
2752
2786
|
}
|
|
2753
2787
|
if (v) {
|
|
2754
|
-
|
|
2788
|
+
o("LIVE");
|
|
2755
2789
|
return;
|
|
2756
2790
|
}
|
|
2757
|
-
|
|
2791
|
+
o("ENDED");
|
|
2758
2792
|
} catch (g) {
|
|
2759
2793
|
console.error("Error reading YouTube player state", g);
|
|
2760
2794
|
}
|
|
2761
|
-
},
|
|
2762
|
-
!document.getElementById(n) || !window.YT?.Player || r || (
|
|
2795
|
+
}, k = () => {
|
|
2796
|
+
!document.getElementById(n) || !window.YT?.Player || r || (i.current?.destroy?.(), h(), i.current = new window.YT.Player(n, {
|
|
2763
2797
|
videoId: a,
|
|
2764
|
-
playerVars:
|
|
2798
|
+
playerVars: za,
|
|
2765
2799
|
events: {
|
|
2766
2800
|
onReady: () => {
|
|
2767
2801
|
try {
|
|
2768
|
-
|
|
2802
|
+
i.current?.mute?.(), i.current?.playVideo?.();
|
|
2769
2803
|
} catch (g) {
|
|
2770
2804
|
console.error(
|
|
2771
2805
|
"Failed to start live status probe playback",
|
|
2772
2806
|
g
|
|
2773
2807
|
);
|
|
2774
2808
|
}
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2809
|
+
d(), setTimeout(d, Ya), m.current = setInterval(
|
|
2810
|
+
d,
|
|
2811
|
+
Va
|
|
2778
2812
|
);
|
|
2779
2813
|
},
|
|
2780
2814
|
onStateChange: (g) => {
|
|
2781
|
-
g.data === window.YT.PlayerState.ENDED &&
|
|
2815
|
+
g.data === window.YT.PlayerState.ENDED && o("ENDED"), d();
|
|
2782
2816
|
}
|
|
2783
2817
|
}
|
|
2784
2818
|
}));
|
|
2785
2819
|
};
|
|
2786
2820
|
if (window.YT?.Player)
|
|
2787
|
-
|
|
2821
|
+
k();
|
|
2788
2822
|
else {
|
|
2789
2823
|
if (!document.querySelector(
|
|
2790
2824
|
'script[src="https://www.youtube.com/iframe_api"]'
|
|
@@ -2794,220 +2828,220 @@ const ia = sa(void 0), oa = () => {
|
|
|
2794
2828
|
}
|
|
2795
2829
|
const u = window.onYouTubeIframeAPIReady;
|
|
2796
2830
|
window.onYouTubeIframeAPIReady = () => {
|
|
2797
|
-
u?.(),
|
|
2831
|
+
u?.(), k();
|
|
2798
2832
|
};
|
|
2799
2833
|
}
|
|
2800
2834
|
return () => {
|
|
2801
|
-
r = !0,
|
|
2835
|
+
r = !0, h(), i.current?.destroy?.(), i.current = null;
|
|
2802
2836
|
};
|
|
2803
2837
|
}, [n, a]), s;
|
|
2804
|
-
},
|
|
2838
|
+
}, Wi = ({
|
|
2805
2839
|
videoId: a,
|
|
2806
2840
|
title: n = "Live Stream",
|
|
2807
2841
|
chatHost: s,
|
|
2808
|
-
contentEnvironment:
|
|
2809
|
-
isGlobal:
|
|
2810
|
-
onOfferingClick:
|
|
2842
|
+
contentEnvironment: o = "sbox",
|
|
2843
|
+
isGlobal: i = !1,
|
|
2844
|
+
onOfferingClick: m,
|
|
2811
2845
|
onPujaImpression: r,
|
|
2812
|
-
onPujaClick:
|
|
2813
|
-
attendedDays:
|
|
2814
|
-
currentDay:
|
|
2846
|
+
onPujaClick: h,
|
|
2847
|
+
attendedDays: d = [1],
|
|
2848
|
+
currentDay: k = 1,
|
|
2815
2849
|
isLoggedIn: u = !1,
|
|
2816
2850
|
onStoreCardClick: g,
|
|
2817
2851
|
a4bApi: p,
|
|
2818
2852
|
storeCardsPage: v,
|
|
2819
|
-
storeCardsHeaders:
|
|
2853
|
+
storeCardsHeaders: j,
|
|
2820
2854
|
storeCardsLimit: N,
|
|
2821
2855
|
onShare: _,
|
|
2822
2856
|
showSubscription: C = !1,
|
|
2823
|
-
onSubscribe:
|
|
2857
|
+
onSubscribe: b,
|
|
2824
2858
|
onJoinClick: O,
|
|
2825
|
-
onSectionImpression:
|
|
2859
|
+
onSectionImpression: V,
|
|
2826
2860
|
onSectionTimeSpent: w,
|
|
2827
|
-
onCarouselSwipe:
|
|
2861
|
+
onCarouselSwipe: G,
|
|
2828
2862
|
onVideoAction: Z,
|
|
2829
2863
|
subscriptionStoreId: I,
|
|
2830
2864
|
subscriptionInventoryId: D,
|
|
2831
|
-
subscriptionOnboardingType:
|
|
2865
|
+
subscriptionOnboardingType: Y = "sm_dlp_premium"
|
|
2832
2866
|
}) => {
|
|
2833
|
-
const [le, X] = S("streaks"), [
|
|
2867
|
+
const [le, X] = S("streaks"), [W, Q] = S("chat"), ue = F(null), Te = F(null), Ee = F(null), Pe = F(null), ye = F(null), He = {
|
|
2834
2868
|
streaks: ue,
|
|
2835
2869
|
share: Te,
|
|
2836
2870
|
store: Ee,
|
|
2837
2871
|
subscription: Pe
|
|
2838
|
-
},
|
|
2839
|
-
const E =
|
|
2840
|
-
!E || !
|
|
2841
|
-
}, te = le === "chat",
|
|
2872
|
+
}, Ve = (f) => {
|
|
2873
|
+
const E = He[f].current, H = ye.current;
|
|
2874
|
+
!E || !H || H.scrollTo({ top: E.offsetTop, behavior: "smooth" });
|
|
2875
|
+
}, te = le === "chat", Ye = te ? "streaks" : le, wt = (f) => f === "chat" ? "Chat" : f === "streaks" ? "Streak" : f === "share" ? "share" : f === "store" ? "store" : f === "subscription" ? "Subscription" : "Video Player", je = F(null), Ie = F(Date.now()), we = F(!1), pe = F(null), ke = F(null), ge = F(null);
|
|
2842
2876
|
B(() => {
|
|
2843
2877
|
if (!u) return;
|
|
2844
|
-
const f =
|
|
2845
|
-
if (
|
|
2846
|
-
const
|
|
2878
|
+
const f = wt(le), E = Date.now();
|
|
2879
|
+
if (je.current && je.current !== f) {
|
|
2880
|
+
const H = Math.max(1, Math.round((E - Ie.current) / 1e3));
|
|
2847
2881
|
w?.({
|
|
2848
|
-
sectionName:
|
|
2849
|
-
timeSpent:
|
|
2882
|
+
sectionName: je.current,
|
|
2883
|
+
timeSpent: H
|
|
2850
2884
|
});
|
|
2851
2885
|
}
|
|
2852
|
-
|
|
2853
|
-
}, [le, u,
|
|
2854
|
-
const
|
|
2855
|
-
streaks:
|
|
2856
|
-
share:
|
|
2857
|
-
store:
|
|
2858
|
-
subscription:
|
|
2859
|
-
}, { isSubscribed:
|
|
2860
|
-
subscriptionType:
|
|
2886
|
+
je.current !== f && V?.(f), je.current = f, Ie.current = E;
|
|
2887
|
+
}, [le, u, V, w]);
|
|
2888
|
+
const dt = F(null), ze = F(null), ut = F(null), pt = F(null), _e = F(null), ve = F(null), Ge = {
|
|
2889
|
+
streaks: dt,
|
|
2890
|
+
share: ze,
|
|
2891
|
+
store: ut,
|
|
2892
|
+
subscription: pt
|
|
2893
|
+
}, { isSubscribed: Je, activeSubscription: ae } = bi({
|
|
2894
|
+
subscriptionType: Y,
|
|
2861
2895
|
enabled: C,
|
|
2862
2896
|
apiBaseInstance: p?.apiInstance
|
|
2863
|
-
}), ne = C && !
|
|
2897
|
+
}), ne = C && !Je, J = C && Je && ae;
|
|
2864
2898
|
B(() => {
|
|
2865
2899
|
if (te) return;
|
|
2866
2900
|
let f = [];
|
|
2867
2901
|
const E = requestAnimationFrame(() => {
|
|
2868
|
-
const
|
|
2869
|
-
if (!
|
|
2870
|
-
(ne ||
|
|
2871
|
-
const ie =
|
|
2902
|
+
const H = ve.current;
|
|
2903
|
+
if (!H) return;
|
|
2904
|
+
(ne || J ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"]).forEach(($) => {
|
|
2905
|
+
const ie = Ge[$].current;
|
|
2872
2906
|
if (!ie) return;
|
|
2873
2907
|
const de = new IntersectionObserver(
|
|
2874
|
-
([
|
|
2875
|
-
|
|
2908
|
+
([Se]) => {
|
|
2909
|
+
Se.isIntersecting && X($);
|
|
2876
2910
|
},
|
|
2877
|
-
{ root:
|
|
2911
|
+
{ root: H, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2878
2912
|
);
|
|
2879
2913
|
de.observe(ie), f.push(de);
|
|
2880
2914
|
});
|
|
2881
2915
|
});
|
|
2882
2916
|
return () => {
|
|
2883
|
-
cancelAnimationFrame(E), f.forEach((
|
|
2917
|
+
cancelAnimationFrame(E), f.forEach((H) => H.disconnect());
|
|
2884
2918
|
};
|
|
2885
|
-
}, [ne,
|
|
2886
|
-
const
|
|
2919
|
+
}, [ne, J, te]);
|
|
2920
|
+
const Ke = (f) => {
|
|
2887
2921
|
X(f), setTimeout(() => {
|
|
2888
|
-
|
|
2922
|
+
Ge[f].current?.scrollIntoView({
|
|
2889
2923
|
behavior: "smooth",
|
|
2890
2924
|
block: "start"
|
|
2891
2925
|
});
|
|
2892
2926
|
}, 50);
|
|
2893
|
-
},
|
|
2927
|
+
}, ht = () => X("chat"), [q, Re] = S(!1), [se, Le] = S(!1), [De, qe] = S(!0), [Ze, ft] = S(!1), [re, mt] = S(!1), [kt, St] = S(""), { apiVideoId: Ct, pujaCard: he, offeringCards: fe } = gi({
|
|
2894
2928
|
initialVideoId: a,
|
|
2895
|
-
contentEnvironment:
|
|
2929
|
+
contentEnvironment: o
|
|
2896
2930
|
}), {
|
|
2897
2931
|
streakUi: Ae,
|
|
2898
|
-
isFirstTime:
|
|
2899
|
-
isActive:
|
|
2900
|
-
isInactive:
|
|
2901
|
-
} =
|
|
2932
|
+
isFirstTime: be,
|
|
2933
|
+
isActive: Xe,
|
|
2934
|
+
isInactive: Qe
|
|
2935
|
+
} = Ei({
|
|
2902
2936
|
enabled: u,
|
|
2903
2937
|
apiBaseInstance: p?.apiInstance,
|
|
2904
|
-
fallbackAttendedDays:
|
|
2905
|
-
fallbackCurrentDay:
|
|
2906
|
-
}), me =
|
|
2938
|
+
fallbackAttendedDays: d,
|
|
2939
|
+
fallbackCurrentDay: k
|
|
2940
|
+
}), me = be || Xe || !Qe, Fe = u && !me, Be = me ? Ae.attendedDays : [], et = me ? Ae.currentDay : 1, Oe = Ae.totalDays || 7, [ee, tt] = S(null), xt = F(!1);
|
|
2907
2941
|
B(() => {
|
|
2908
|
-
u && ee === "LIVE" && !
|
|
2942
|
+
u && ee === "LIVE" && !xt.current && (xt.current = !0, X("chat"));
|
|
2909
2943
|
}, [u, ee]), B(() => {
|
|
2910
2944
|
if (te) return;
|
|
2911
|
-
const f =
|
|
2945
|
+
const f = ye.current;
|
|
2912
2946
|
if (!f) return;
|
|
2913
|
-
const E = ne ||
|
|
2914
|
-
return E.forEach((
|
|
2915
|
-
const $ =
|
|
2947
|
+
const E = ne || J ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], H = [];
|
|
2948
|
+
return E.forEach((K) => {
|
|
2949
|
+
const $ = He[K].current;
|
|
2916
2950
|
if (!$) return;
|
|
2917
2951
|
const ie = new IntersectionObserver(
|
|
2918
2952
|
([de]) => {
|
|
2919
|
-
de.isIntersecting && X(
|
|
2953
|
+
de.isIntersecting && X(K);
|
|
2920
2954
|
},
|
|
2921
2955
|
{ root: f, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2922
2956
|
);
|
|
2923
|
-
ie.observe($),
|
|
2924
|
-
}), () =>
|
|
2925
|
-
}, [ne,
|
|
2926
|
-
const
|
|
2957
|
+
ie.observe($), H.push(ie);
|
|
2958
|
+
}), () => H.forEach((K) => K.disconnect());
|
|
2959
|
+
}, [ne, J, te, se, re]);
|
|
2960
|
+
const gt = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", _t = Xt(kt) || Xt(s) || "www.srimandir.com", ce = Ct || a, vt = xa(), bt = `yt-live-status-probe-${vt.replace(/:/g, "")}`, at = `yt-main-player-${vt.replace(/:/g, "")}`, t = Pi(
|
|
2927
2961
|
Fe ? "" : ce,
|
|
2928
|
-
|
|
2962
|
+
bt
|
|
2929
2963
|
);
|
|
2930
2964
|
B(() => {
|
|
2931
|
-
|
|
2965
|
+
tt(null);
|
|
2932
2966
|
}, [ce]), B(() => {
|
|
2933
2967
|
if (t === "LOADING")
|
|
2934
2968
|
return;
|
|
2935
2969
|
if (t === "LIVE") {
|
|
2936
|
-
|
|
2970
|
+
tt("LIVE");
|
|
2937
2971
|
return;
|
|
2938
2972
|
}
|
|
2939
2973
|
const f = window.setTimeout(() => {
|
|
2940
|
-
|
|
2941
|
-
},
|
|
2974
|
+
tt((E) => E === "LIVE" ? E : t);
|
|
2975
|
+
}, Ha);
|
|
2942
2976
|
return () => window.clearTimeout(f);
|
|
2943
2977
|
}, [t]);
|
|
2944
|
-
const l = ee === "UPCOMING" || ee === "ENDED",
|
|
2978
|
+
const l = ee === "UPCOMING" || ee === "ENDED", x = t === "LIVE" || ee === "LIVE" ? "Live" : "Playback";
|
|
2945
2979
|
B(() => {
|
|
2946
2980
|
we.current = !1, ge.current = null;
|
|
2947
2981
|
}, [ce]);
|
|
2948
|
-
const
|
|
2949
|
-
|
|
2982
|
+
const y = `https://www.youtube-nocookie.com/embed/${ce}?autoplay=1&mute=1&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&enablejsapi=1&origin=${encodeURIComponent(gt)}`, L = `https://www.youtube.com/live_chat?v=${ce}&embed_domain=${encodeURIComponent(
|
|
2983
|
+
_t
|
|
2950
2984
|
)}`;
|
|
2951
2985
|
B(() => {
|
|
2952
2986
|
if (typeof window > "u" || Fe || !Z) return;
|
|
2953
2987
|
let f = !1;
|
|
2954
2988
|
const E = () => {
|
|
2955
|
-
|
|
2956
|
-
},
|
|
2989
|
+
ke.current?.destroy?.(), ke.current = null;
|
|
2990
|
+
}, H = () => {
|
|
2957
2991
|
if (f) return;
|
|
2958
|
-
const
|
|
2959
|
-
!
|
|
2992
|
+
const K = pe.current, $ = window.YT;
|
|
2993
|
+
!K || !$?.Player || (E(), ke.current = new $.Player(K, {
|
|
2960
2994
|
events: {
|
|
2961
2995
|
onStateChange: (ie) => {
|
|
2962
2996
|
if (!window.YT?.PlayerState) return;
|
|
2963
|
-
const de = ie?.data,
|
|
2964
|
-
de === window.YT.PlayerState.PLAYING && (we.current ? (
|
|
2997
|
+
const de = ie?.data, Se = ge.current;
|
|
2998
|
+
de === window.YT.PlayerState.PLAYING && (we.current ? (Se === window.YT.PlayerState.PAUSED || Se === window.YT.PlayerState.BUFFERING || Se === window.YT.PlayerState.CUED) && Z({
|
|
2965
2999
|
sectionName: "Live Video/Playback",
|
|
2966
3000
|
action: "Play",
|
|
2967
|
-
dlpStatus:
|
|
3001
|
+
dlpStatus: x
|
|
2968
3002
|
}) : (we.current = !0, Z({
|
|
2969
3003
|
sectionName: "Live Video/Playback",
|
|
2970
3004
|
action: "Autoplay",
|
|
2971
|
-
dlpStatus:
|
|
3005
|
+
dlpStatus: x
|
|
2972
3006
|
}))), de === window.YT.PlayerState.PAUSED && Z({
|
|
2973
3007
|
sectionName: "Live Video/Playback",
|
|
2974
3008
|
action: "Pause",
|
|
2975
|
-
dlpStatus:
|
|
3009
|
+
dlpStatus: x
|
|
2976
3010
|
}), ge.current = de;
|
|
2977
3011
|
}
|
|
2978
3012
|
}
|
|
2979
3013
|
}));
|
|
2980
3014
|
};
|
|
2981
3015
|
if (window.YT?.Player)
|
|
2982
|
-
|
|
3016
|
+
H();
|
|
2983
3017
|
else {
|
|
2984
3018
|
if (!document.querySelector('script[src="https://www.youtube.com/iframe_api"]')) {
|
|
2985
3019
|
const $ = document.createElement("script");
|
|
2986
3020
|
$.src = "https://www.youtube.com/iframe_api", document.body.appendChild($);
|
|
2987
3021
|
}
|
|
2988
|
-
const
|
|
3022
|
+
const K = window.onYouTubeIframeAPIReady;
|
|
2989
3023
|
window.onYouTubeIframeAPIReady = () => {
|
|
2990
|
-
|
|
3024
|
+
K?.(), H();
|
|
2991
3025
|
};
|
|
2992
3026
|
}
|
|
2993
3027
|
return () => {
|
|
2994
3028
|
f = !0, E();
|
|
2995
3029
|
};
|
|
2996
3030
|
}, [
|
|
2997
|
-
|
|
3031
|
+
q,
|
|
2998
3032
|
re,
|
|
2999
3033
|
Z,
|
|
3000
3034
|
Fe,
|
|
3001
3035
|
se,
|
|
3002
3036
|
t,
|
|
3003
3037
|
ee,
|
|
3004
|
-
|
|
3038
|
+
x,
|
|
3005
3039
|
ce
|
|
3006
3040
|
]);
|
|
3007
3041
|
const A = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
3008
3042
|
B(() => {
|
|
3009
3043
|
const f = () => {
|
|
3010
|
-
|
|
3044
|
+
mt(window.innerWidth > window.innerHeight);
|
|
3011
3045
|
};
|
|
3012
3046
|
return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
|
|
3013
3047
|
}, []), B(() => {
|
|
@@ -3049,17 +3083,17 @@ const ia = sa(void 0), oa = () => {
|
|
|
3049
3083
|
};
|
|
3050
3084
|
return document.addEventListener("fullscreenchange", f), () => document.removeEventListener("fullscreenchange", f);
|
|
3051
3085
|
}, []), B(() => {
|
|
3052
|
-
|
|
3053
|
-
}, [
|
|
3054
|
-
se &&
|
|
3086
|
+
q || Le(!1);
|
|
3087
|
+
}, [q]), B(() => {
|
|
3088
|
+
se && ft(!0);
|
|
3055
3089
|
}, [se]), B(() => {
|
|
3056
3090
|
se && Q("chat");
|
|
3057
3091
|
}, [se]);
|
|
3058
|
-
const
|
|
3059
|
-
|
|
3092
|
+
const z = async (f) => {
|
|
3093
|
+
q && document.fullscreenElement && await T(), m && await m(f);
|
|
3060
3094
|
}, M = () => {
|
|
3061
3095
|
const f = he.deeplink || "/epuja", E = new URL(f, "https://www.srimandir.com");
|
|
3062
|
-
E.searchParams.set("utm_source", "youtube"), E.searchParams.set("utm_campaign", "rasrajji"), E.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (
|
|
3096
|
+
E.searchParams.set("utm_source", "youtube"), E.searchParams.set("utm_campaign", "rasrajji"), E.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (h?.({ orientation: re ? "horizontal" : "vertical" }), window.location.href = E.toString());
|
|
3063
3097
|
};
|
|
3064
3098
|
if (Fe) {
|
|
3065
3099
|
const f = ce ? `https://img.youtube.com/vi/${ce}/hqdefault.jpg` : he.imageUrl || xe.imageUrl;
|
|
@@ -3067,7 +3101,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
3067
3101
|
"div",
|
|
3068
3102
|
{
|
|
3069
3103
|
ref: _e,
|
|
3070
|
-
className:
|
|
3104
|
+
className: c.container,
|
|
3071
3105
|
style: {
|
|
3072
3106
|
background: "#000",
|
|
3073
3107
|
position: "relative",
|
|
@@ -3081,12 +3115,12 @@ const ia = sa(void 0), oa = () => {
|
|
|
3081
3115
|
"aria-hidden": "true",
|
|
3082
3116
|
style: { opacity: 0.34, filter: "saturate(0.72)" },
|
|
3083
3117
|
children: [
|
|
3084
|
-
/* @__PURE__ */ e.jsx(
|
|
3085
|
-
/* @__PURE__ */ e.jsx(
|
|
3118
|
+
/* @__PURE__ */ e.jsx(Ht, { isLive: !1, daysRemaining: 2 }),
|
|
3119
|
+
/* @__PURE__ */ e.jsx(Yt, {}),
|
|
3086
3120
|
/* @__PURE__ */ e.jsx(
|
|
3087
3121
|
"div",
|
|
3088
3122
|
{
|
|
3089
|
-
className:
|
|
3123
|
+
className: c.video,
|
|
3090
3124
|
style: {
|
|
3091
3125
|
minHeight: "unset",
|
|
3092
3126
|
aspectRatio: "16 / 9",
|
|
@@ -3105,9 +3139,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
3105
3139
|
}
|
|
3106
3140
|
),
|
|
3107
3141
|
/* @__PURE__ */ e.jsx(
|
|
3108
|
-
|
|
3142
|
+
ot,
|
|
3109
3143
|
{
|
|
3110
|
-
isGlobal:
|
|
3144
|
+
isGlobal: i,
|
|
3111
3145
|
isLandscape: !1,
|
|
3112
3146
|
offeringCards: fe,
|
|
3113
3147
|
pujaCard: he,
|
|
@@ -3137,12 +3171,12 @@ const ia = sa(void 0), oa = () => {
|
|
|
3137
3171
|
className: "absolute left-0 right-0 bottom-0 z-20",
|
|
3138
3172
|
style: { paddingBottom: "env(safe-area-inset-bottom, 0px)" },
|
|
3139
3173
|
children: /* @__PURE__ */ e.jsx(
|
|
3140
|
-
|
|
3174
|
+
Ce,
|
|
3141
3175
|
{
|
|
3142
|
-
onSubscribe:
|
|
3176
|
+
onSubscribe: b,
|
|
3143
3177
|
storeId: I,
|
|
3144
3178
|
inventoryId: D,
|
|
3145
|
-
onboardingType:
|
|
3179
|
+
onboardingType: Y,
|
|
3146
3180
|
apiBaseInstance: p?.apiInstance,
|
|
3147
3181
|
extraBottomPaddingPx: 10
|
|
3148
3182
|
}
|
|
@@ -3153,9 +3187,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
3153
3187
|
}
|
|
3154
3188
|
);
|
|
3155
3189
|
}
|
|
3156
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: _e, className:
|
|
3157
|
-
!
|
|
3158
|
-
|
|
3190
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: _e, className: c.container, children: [
|
|
3191
|
+
!q && /* @__PURE__ */ e.jsx(
|
|
3192
|
+
Ht,
|
|
3159
3193
|
{
|
|
3160
3194
|
isLive: ee === "LIVE",
|
|
3161
3195
|
daysRemaining: 2,
|
|
@@ -3163,11 +3197,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
3163
3197
|
onJoinClick: O
|
|
3164
3198
|
}
|
|
3165
3199
|
),
|
|
3166
|
-
!
|
|
3200
|
+
!q && /* @__PURE__ */ e.jsx(Yt, {}),
|
|
3167
3201
|
/* @__PURE__ */ e.jsx(
|
|
3168
3202
|
"div",
|
|
3169
3203
|
{
|
|
3170
|
-
id:
|
|
3204
|
+
id: bt,
|
|
3171
3205
|
style: {
|
|
3172
3206
|
position: "absolute",
|
|
3173
3207
|
width: 1,
|
|
@@ -3178,31 +3212,31 @@ const ia = sa(void 0), oa = () => {
|
|
|
3178
3212
|
"aria-hidden": "true"
|
|
3179
3213
|
}
|
|
3180
3214
|
),
|
|
3181
|
-
(!re ||
|
|
3215
|
+
(!re || q) && /* @__PURE__ */ e.jsx(
|
|
3182
3216
|
"div",
|
|
3183
3217
|
{
|
|
3184
|
-
className:
|
|
3185
|
-
children:
|
|
3186
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3187
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3218
|
+
className: q ? se ? c.fullscreenWithPanel : c.videoFullscreenWithBelowBanner : c.video,
|
|
3219
|
+
children: q && se ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3220
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenLeft, children: [
|
|
3221
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenVideoArea, children: [
|
|
3188
3222
|
/* @__PURE__ */ e.jsx(
|
|
3189
3223
|
"iframe",
|
|
3190
3224
|
{
|
|
3191
|
-
id:
|
|
3225
|
+
id: at,
|
|
3192
3226
|
ref: pe,
|
|
3193
|
-
src:
|
|
3227
|
+
src: y,
|
|
3194
3228
|
title: n,
|
|
3195
3229
|
frameBorder: "0",
|
|
3196
3230
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3197
3231
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
3198
3232
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3199
|
-
className:
|
|
3233
|
+
className: c.iframe
|
|
3200
3234
|
}
|
|
3201
3235
|
),
|
|
3202
3236
|
/* @__PURE__ */ e.jsx(
|
|
3203
3237
|
"button",
|
|
3204
3238
|
{
|
|
3205
|
-
className:
|
|
3239
|
+
className: c.fullscreenBtn,
|
|
3206
3240
|
onClick: T,
|
|
3207
3241
|
"aria-label": "Exit Fullscreen",
|
|
3208
3242
|
children: "⤡"
|
|
@@ -3210,26 +3244,26 @@ const ia = sa(void 0), oa = () => {
|
|
|
3210
3244
|
)
|
|
3211
3245
|
] }),
|
|
3212
3246
|
/* @__PURE__ */ e.jsx(
|
|
3213
|
-
|
|
3247
|
+
ot,
|
|
3214
3248
|
{
|
|
3215
|
-
isGlobal:
|
|
3249
|
+
isGlobal: i,
|
|
3216
3250
|
isLandscape: re,
|
|
3217
3251
|
offeringCards: fe,
|
|
3218
3252
|
pujaCard: he,
|
|
3219
3253
|
showPujaSlide: l,
|
|
3220
|
-
onOfferingClick:
|
|
3254
|
+
onOfferingClick: z,
|
|
3221
3255
|
onPujaBannerClick: M,
|
|
3222
3256
|
onPujaImpression: r,
|
|
3223
|
-
onSwipe:
|
|
3257
|
+
onSwipe: G
|
|
3224
3258
|
}
|
|
3225
3259
|
)
|
|
3226
3260
|
] }),
|
|
3227
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3228
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3261
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenChatPanel, children: [
|
|
3262
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenPanelHeader, children: [
|
|
3229
3263
|
/* @__PURE__ */ e.jsx(
|
|
3230
3264
|
"button",
|
|
3231
3265
|
{
|
|
3232
|
-
className:
|
|
3266
|
+
className: c.fullscreenChatCloseBtn,
|
|
3233
3267
|
onClick: () => Le(!1),
|
|
3234
3268
|
"aria-label": "Close panel",
|
|
3235
3269
|
children: /* @__PURE__ */ e.jsxs(
|
|
@@ -3250,20 +3284,20 @@ const ia = sa(void 0), oa = () => {
|
|
|
3250
3284
|
}
|
|
3251
3285
|
),
|
|
3252
3286
|
/* @__PURE__ */ e.jsx(
|
|
3253
|
-
|
|
3287
|
+
Nt,
|
|
3254
3288
|
{
|
|
3255
|
-
activeTab:
|
|
3289
|
+
activeTab: W === "chat" ? "streaks" : W,
|
|
3256
3290
|
onTabChange: (f) => {
|
|
3257
|
-
Q(f),
|
|
3291
|
+
Q(f), Ve(f);
|
|
3258
3292
|
},
|
|
3259
3293
|
onChatPress: () => Q("chat"),
|
|
3260
|
-
showSubscription: ne || !!
|
|
3294
|
+
showSubscription: ne || !!J,
|
|
3261
3295
|
isLive: ee === "LIVE",
|
|
3262
|
-
chatOpen:
|
|
3296
|
+
chatOpen: W === "chat"
|
|
3263
3297
|
}
|
|
3264
3298
|
)
|
|
3265
3299
|
] }),
|
|
3266
|
-
|
|
3300
|
+
W === "chat" ? /* @__PURE__ */ e.jsxs(
|
|
3267
3301
|
"div",
|
|
3268
3302
|
{
|
|
3269
3303
|
style: {
|
|
@@ -3273,17 +3307,17 @@ const ia = sa(void 0), oa = () => {
|
|
|
3273
3307
|
background: "#000"
|
|
3274
3308
|
},
|
|
3275
3309
|
children: [
|
|
3276
|
-
|
|
3310
|
+
Ze && /* @__PURE__ */ e.jsx(Rt, { message: "Loading chat...", compact: !0 }),
|
|
3277
3311
|
/* @__PURE__ */ e.jsx(
|
|
3278
3312
|
"iframe",
|
|
3279
3313
|
{
|
|
3280
3314
|
src: L,
|
|
3281
3315
|
title: "Live Chat Fullscreen",
|
|
3282
3316
|
frameBorder: "0",
|
|
3283
|
-
onLoad: () =>
|
|
3317
|
+
onLoad: () => ft(!1),
|
|
3284
3318
|
referrerPolicy: "origin",
|
|
3285
|
-
className:
|
|
3286
|
-
style: { opacity:
|
|
3319
|
+
className: c.iframe,
|
|
3320
|
+
style: { opacity: Ze ? 0 : 1 }
|
|
3287
3321
|
}
|
|
3288
3322
|
)
|
|
3289
3323
|
]
|
|
@@ -3291,23 +3325,23 @@ const ia = sa(void 0), oa = () => {
|
|
|
3291
3325
|
) : /* @__PURE__ */ e.jsxs(
|
|
3292
3326
|
"div",
|
|
3293
3327
|
{
|
|
3294
|
-
ref:
|
|
3295
|
-
className:
|
|
3328
|
+
ref: ye,
|
|
3329
|
+
className: c.fullscreenPanelScroll,
|
|
3296
3330
|
children: [
|
|
3297
3331
|
/* @__PURE__ */ e.jsx("div", { ref: ue, children: me ? /* @__PURE__ */ e.jsx(
|
|
3298
|
-
|
|
3332
|
+
Tt,
|
|
3299
3333
|
{
|
|
3300
3334
|
attendedDays: Be,
|
|
3301
|
-
currentDay:
|
|
3335
|
+
currentDay: et,
|
|
3302
3336
|
totalDays: Oe
|
|
3303
3337
|
}
|
|
3304
|
-
) :
|
|
3305
|
-
|
|
3338
|
+
) : J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3339
|
+
Ce,
|
|
3306
3340
|
{
|
|
3307
|
-
onSubscribe:
|
|
3341
|
+
onSubscribe: b,
|
|
3308
3342
|
storeId: I,
|
|
3309
3343
|
inventoryId: D,
|
|
3310
|
-
onboardingType:
|
|
3344
|
+
onboardingType: Y,
|
|
3311
3345
|
apiBaseInstance: p?.apiInstance
|
|
3312
3346
|
}
|
|
3313
3347
|
) }),
|
|
@@ -3323,7 +3357,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
3323
3357
|
"aria-hidden": "true"
|
|
3324
3358
|
}
|
|
3325
3359
|
),
|
|
3326
|
-
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(
|
|
3360
|
+
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(Et, { onShare: _ }) }),
|
|
3327
3361
|
/* @__PURE__ */ e.jsx(
|
|
3328
3362
|
"div",
|
|
3329
3363
|
{
|
|
@@ -3337,16 +3371,16 @@ const ia = sa(void 0), oa = () => {
|
|
|
3337
3371
|
}
|
|
3338
3372
|
),
|
|
3339
3373
|
/* @__PURE__ */ e.jsx("div", { ref: Ee, children: /* @__PURE__ */ e.jsx(
|
|
3340
|
-
|
|
3374
|
+
It,
|
|
3341
3375
|
{
|
|
3342
3376
|
onCardClick: g,
|
|
3343
3377
|
a4bApi: p,
|
|
3344
3378
|
storeCardsPage: v,
|
|
3345
|
-
storeCardsHeaders:
|
|
3379
|
+
storeCardsHeaders: j,
|
|
3346
3380
|
storeCardsLimit: N
|
|
3347
3381
|
}
|
|
3348
3382
|
) }),
|
|
3349
|
-
(ne ||
|
|
3383
|
+
(ne || J) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3350
3384
|
/* @__PURE__ */ e.jsx(
|
|
3351
3385
|
"div",
|
|
3352
3386
|
{
|
|
@@ -3359,13 +3393,13 @@ const ia = sa(void 0), oa = () => {
|
|
|
3359
3393
|
"aria-hidden": "true"
|
|
3360
3394
|
}
|
|
3361
3395
|
),
|
|
3362
|
-
/* @__PURE__ */ e.jsx("div", { ref: Pe, children:
|
|
3363
|
-
|
|
3396
|
+
/* @__PURE__ */ e.jsx("div", { ref: Pe, children: J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3397
|
+
Ce,
|
|
3364
3398
|
{
|
|
3365
|
-
onSubscribe:
|
|
3399
|
+
onSubscribe: b,
|
|
3366
3400
|
storeId: I,
|
|
3367
3401
|
inventoryId: D,
|
|
3368
|
-
onboardingType:
|
|
3402
|
+
onboardingType: Y,
|
|
3369
3403
|
apiBaseInstance: p?.apiInstance
|
|
3370
3404
|
}
|
|
3371
3405
|
) })
|
|
@@ -3380,27 +3414,27 @@ const ia = sa(void 0), oa = () => {
|
|
|
3380
3414
|
/* @__PURE__ */ e.jsx(
|
|
3381
3415
|
"iframe",
|
|
3382
3416
|
{
|
|
3383
|
-
id:
|
|
3417
|
+
id: at,
|
|
3384
3418
|
ref: pe,
|
|
3385
|
-
src:
|
|
3419
|
+
src: y,
|
|
3386
3420
|
title: n,
|
|
3387
3421
|
frameBorder: "0",
|
|
3388
3422
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3389
3423
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
3390
3424
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3391
|
-
className:
|
|
3425
|
+
className: c.iframe
|
|
3392
3426
|
}
|
|
3393
3427
|
),
|
|
3394
3428
|
/* @__PURE__ */ e.jsx(
|
|
3395
3429
|
"button",
|
|
3396
3430
|
{
|
|
3397
|
-
className:
|
|
3398
|
-
onClick:
|
|
3399
|
-
"aria-label":
|
|
3400
|
-
children:
|
|
3431
|
+
className: c.fullscreenBtn,
|
|
3432
|
+
onClick: q ? T : R,
|
|
3433
|
+
"aria-label": q ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
3434
|
+
children: q ? "⤡" : "⤢"
|
|
3401
3435
|
}
|
|
3402
3436
|
),
|
|
3403
|
-
|
|
3437
|
+
q && /* @__PURE__ */ e.jsxs(
|
|
3404
3438
|
"div",
|
|
3405
3439
|
{
|
|
3406
3440
|
style: {
|
|
@@ -3472,59 +3506,59 @@ const ia = sa(void 0), oa = () => {
|
|
|
3472
3506
|
}
|
|
3473
3507
|
),
|
|
3474
3508
|
" ",
|
|
3475
|
-
|
|
3476
|
-
|
|
3509
|
+
q && !se && /* @__PURE__ */ e.jsx(
|
|
3510
|
+
ot,
|
|
3477
3511
|
{
|
|
3478
|
-
isGlobal:
|
|
3512
|
+
isGlobal: i,
|
|
3479
3513
|
isLandscape: re,
|
|
3480
3514
|
offeringCards: fe,
|
|
3481
3515
|
pujaCard: he,
|
|
3482
3516
|
showPujaSlide: l,
|
|
3483
|
-
onOfferingClick:
|
|
3517
|
+
onOfferingClick: z,
|
|
3484
3518
|
onPujaBannerClick: M,
|
|
3485
3519
|
onPujaImpression: r,
|
|
3486
|
-
onSwipe:
|
|
3520
|
+
onSwipe: G
|
|
3487
3521
|
}
|
|
3488
3522
|
),
|
|
3489
|
-
!
|
|
3490
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3491
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3523
|
+
!q && /* @__PURE__ */ e.jsx(e.Fragment, { children: re ? /* @__PURE__ */ e.jsxs("div", { className: c.landscapeLayout, children: [
|
|
3524
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeLeft, children: [
|
|
3525
|
+
/* @__PURE__ */ e.jsx("div", { className: c.video, style: { flex: 1 }, children: /* @__PURE__ */ e.jsx(
|
|
3492
3526
|
"iframe",
|
|
3493
3527
|
{
|
|
3494
|
-
id:
|
|
3528
|
+
id: at,
|
|
3495
3529
|
ref: pe,
|
|
3496
|
-
src:
|
|
3530
|
+
src: y,
|
|
3497
3531
|
title: n,
|
|
3498
3532
|
frameBorder: "0",
|
|
3499
3533
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3500
3534
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
3501
3535
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3502
|
-
className:
|
|
3536
|
+
className: c.iframe
|
|
3503
3537
|
}
|
|
3504
3538
|
) }),
|
|
3505
3539
|
/* @__PURE__ */ e.jsx(
|
|
3506
|
-
|
|
3540
|
+
ot,
|
|
3507
3541
|
{
|
|
3508
|
-
isGlobal:
|
|
3542
|
+
isGlobal: i,
|
|
3509
3543
|
isLandscape: re,
|
|
3510
3544
|
offeringCards: fe,
|
|
3511
3545
|
pujaCard: he,
|
|
3512
3546
|
showPujaSlide: l,
|
|
3513
|
-
onOfferingClick:
|
|
3547
|
+
onOfferingClick: z,
|
|
3514
3548
|
onPujaBannerClick: M,
|
|
3515
3549
|
onPujaImpression: r,
|
|
3516
|
-
onSwipe:
|
|
3550
|
+
onSwipe: G
|
|
3517
3551
|
}
|
|
3518
3552
|
)
|
|
3519
3553
|
] }),
|
|
3520
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3521
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3554
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeRight, children: [
|
|
3555
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapePanelHeader, children: [
|
|
3522
3556
|
/* @__PURE__ */ e.jsx(
|
|
3523
3557
|
"button",
|
|
3524
3558
|
{
|
|
3525
3559
|
type: "button",
|
|
3526
|
-
className:
|
|
3527
|
-
onClick: () =>
|
|
3560
|
+
className: c.landscapeCloseBtn,
|
|
3561
|
+
onClick: () => mt(!1),
|
|
3528
3562
|
"aria-label": "Close panel",
|
|
3529
3563
|
children: /* @__PURE__ */ e.jsxs(
|
|
3530
3564
|
"svg",
|
|
@@ -3546,78 +3580,78 @@ const ia = sa(void 0), oa = () => {
|
|
|
3546
3580
|
}
|
|
3547
3581
|
),
|
|
3548
3582
|
/* @__PURE__ */ e.jsx(
|
|
3549
|
-
|
|
3583
|
+
Nt,
|
|
3550
3584
|
{
|
|
3551
|
-
activeTab:
|
|
3585
|
+
activeTab: Ye,
|
|
3552
3586
|
onTabChange: (f) => {
|
|
3553
|
-
X(f),
|
|
3587
|
+
X(f), Ve(f);
|
|
3554
3588
|
},
|
|
3555
|
-
onChatPress:
|
|
3556
|
-
showSubscription: ne || !!
|
|
3589
|
+
onChatPress: ht,
|
|
3590
|
+
showSubscription: ne || !!J,
|
|
3557
3591
|
isLive: ee === "LIVE",
|
|
3558
3592
|
chatOpen: te
|
|
3559
3593
|
}
|
|
3560
3594
|
)
|
|
3561
3595
|
] }),
|
|
3562
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3563
|
-
De && /* @__PURE__ */ e.jsx(
|
|
3596
|
+
/* @__PURE__ */ e.jsx("div", { className: c.landscapePanelBody, children: te ? /* @__PURE__ */ e.jsxs("div", { className: c.landscapeChat, children: [
|
|
3597
|
+
De && /* @__PURE__ */ e.jsx(Rt, { message: "Loading chat...", compact: !0 }),
|
|
3564
3598
|
/* @__PURE__ */ e.jsx(
|
|
3565
3599
|
"iframe",
|
|
3566
3600
|
{
|
|
3567
3601
|
src: L,
|
|
3568
3602
|
title: "Live Chat",
|
|
3569
3603
|
frameBorder: "0",
|
|
3570
|
-
onLoad: () =>
|
|
3604
|
+
onLoad: () => qe(!1),
|
|
3571
3605
|
referrerPolicy: "origin",
|
|
3572
|
-
className:
|
|
3606
|
+
className: c.iframe,
|
|
3573
3607
|
style: { opacity: De ? 0 : 1 }
|
|
3574
3608
|
}
|
|
3575
3609
|
)
|
|
3576
3610
|
] }) : /* @__PURE__ */ e.jsxs(
|
|
3577
3611
|
"div",
|
|
3578
3612
|
{
|
|
3579
|
-
ref:
|
|
3580
|
-
className:
|
|
3613
|
+
ref: ye,
|
|
3614
|
+
className: c.fullscreenPanelScroll,
|
|
3581
3615
|
children: [
|
|
3582
3616
|
/* @__PURE__ */ e.jsx("div", { ref: ue, children: me ? /* @__PURE__ */ e.jsx(
|
|
3583
|
-
|
|
3617
|
+
Tt,
|
|
3584
3618
|
{
|
|
3585
3619
|
attendedDays: Be,
|
|
3586
|
-
currentDay:
|
|
3620
|
+
currentDay: et,
|
|
3587
3621
|
totalDays: Oe
|
|
3588
3622
|
}
|
|
3589
|
-
) :
|
|
3590
|
-
|
|
3623
|
+
) : J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3624
|
+
Ce,
|
|
3591
3625
|
{
|
|
3592
|
-
onSubscribe:
|
|
3626
|
+
onSubscribe: b,
|
|
3593
3627
|
storeId: I,
|
|
3594
3628
|
inventoryId: D,
|
|
3595
|
-
onboardingType:
|
|
3629
|
+
onboardingType: Y,
|
|
3596
3630
|
apiBaseInstance: p?.apiInstance
|
|
3597
3631
|
}
|
|
3598
3632
|
) }),
|
|
3599
3633
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3600
|
-
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(
|
|
3634
|
+
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(Et, { onShare: _ }) }),
|
|
3601
3635
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3602
3636
|
/* @__PURE__ */ e.jsx("div", { ref: Ee, children: /* @__PURE__ */ e.jsx(
|
|
3603
|
-
|
|
3637
|
+
It,
|
|
3604
3638
|
{
|
|
3605
3639
|
onCardClick: g,
|
|
3606
3640
|
a4bApi: p,
|
|
3607
3641
|
storeCardsPage: v,
|
|
3608
|
-
storeCardsHeaders:
|
|
3642
|
+
storeCardsHeaders: j,
|
|
3609
3643
|
storeCardsLimit: N
|
|
3610
3644
|
}
|
|
3611
3645
|
) }),
|
|
3612
|
-
(ne ||
|
|
3646
|
+
(ne || J) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3613
3647
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3614
|
-
/* @__PURE__ */ e.jsx("div", { ref: Pe, children:
|
|
3615
|
-
|
|
3648
|
+
/* @__PURE__ */ e.jsx("div", { ref: Pe, children: J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3649
|
+
Ce,
|
|
3616
3650
|
{
|
|
3617
|
-
onSubscribe:
|
|
3651
|
+
onSubscribe: b,
|
|
3618
3652
|
storeId: I,
|
|
3619
3653
|
inventoryId: D,
|
|
3620
|
-
onboardingType:
|
|
3654
|
+
onboardingType: Y,
|
|
3621
3655
|
apiBaseInstance: p?.apiInstance
|
|
3622
3656
|
}
|
|
3623
3657
|
) })
|
|
@@ -3630,170 +3664,157 @@ const ia = sa(void 0), oa = () => {
|
|
|
3630
3664
|
/* PORTRAIT: original stacked layout */
|
|
3631
3665
|
/* @__PURE__ */ e.jsx(e.Fragment, { children: u ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3632
3666
|
/* @__PURE__ */ e.jsx(
|
|
3633
|
-
|
|
3667
|
+
ot,
|
|
3634
3668
|
{
|
|
3635
|
-
isGlobal:
|
|
3669
|
+
isGlobal: i,
|
|
3636
3670
|
isLandscape: re,
|
|
3637
3671
|
offeringCards: fe,
|
|
3638
3672
|
pujaCard: he,
|
|
3639
3673
|
showPujaSlide: l,
|
|
3640
|
-
onOfferingClick:
|
|
3674
|
+
onOfferingClick: z,
|
|
3641
3675
|
onPujaBannerClick: M,
|
|
3642
3676
|
onPujaImpression: r,
|
|
3643
|
-
onSwipe:
|
|
3677
|
+
onSwipe: G
|
|
3644
3678
|
}
|
|
3645
3679
|
),
|
|
3646
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3647
|
-
|
|
3680
|
+
/* @__PURE__ */ e.jsx("div", { className: c.stickyTabs, children: /* @__PURE__ */ e.jsx(
|
|
3681
|
+
Nt,
|
|
3648
3682
|
{
|
|
3649
|
-
activeTab:
|
|
3650
|
-
onTabChange:
|
|
3651
|
-
onChatPress:
|
|
3652
|
-
showSubscription: ne || !!
|
|
3683
|
+
activeTab: Ye,
|
|
3684
|
+
onTabChange: Ke,
|
|
3685
|
+
onChatPress: ht,
|
|
3686
|
+
showSubscription: ne || !!J,
|
|
3653
3687
|
isLive: ee === "LIVE",
|
|
3654
3688
|
chatOpen: te
|
|
3655
3689
|
}
|
|
3656
3690
|
) }),
|
|
3657
|
-
te ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
3658
|
-
/* @__PURE__ */ e.
|
|
3659
|
-
De && /* @__PURE__ */ e.jsx(Pt, { message: "Loading chat..." }),
|
|
3660
|
-
/* @__PURE__ */ e.jsx(
|
|
3661
|
-
"iframe",
|
|
3662
|
-
{
|
|
3663
|
-
src: L,
|
|
3664
|
-
title: "Live Chat",
|
|
3665
|
-
frameBorder: "0",
|
|
3666
|
-
onLoad: () => Je(!1),
|
|
3667
|
-
referrerPolicy: "origin",
|
|
3668
|
-
className: d.iframe,
|
|
3669
|
-
style: { opacity: De ? 0 : 1 }
|
|
3670
|
-
}
|
|
3671
|
-
)
|
|
3672
|
-
] }),
|
|
3673
|
-
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3691
|
+
te ? /* @__PURE__ */ e.jsxs("div", { className: c.chat, children: [
|
|
3692
|
+
De && /* @__PURE__ */ e.jsx(Rt, { message: "Loading chat..." }),
|
|
3674
3693
|
/* @__PURE__ */ e.jsx(
|
|
3675
|
-
|
|
3694
|
+
"iframe",
|
|
3676
3695
|
{
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3696
|
+
src: L,
|
|
3697
|
+
title: "Live Chat",
|
|
3698
|
+
frameBorder: "0",
|
|
3699
|
+
onLoad: () => qe(!1),
|
|
3700
|
+
referrerPolicy: "origin",
|
|
3701
|
+
className: c.iframe,
|
|
3702
|
+
style: { opacity: De ? 0 : 1 }
|
|
3682
3703
|
}
|
|
3683
3704
|
)
|
|
3684
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { ref: ve, className:
|
|
3685
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3686
|
-
|
|
3705
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { ref: ve, className: c.sectionsScroll, children: [
|
|
3706
|
+
/* @__PURE__ */ e.jsx("div", { ref: dt, children: me ? /* @__PURE__ */ e.jsx(
|
|
3707
|
+
Tt,
|
|
3687
3708
|
{
|
|
3688
3709
|
attendedDays: Be,
|
|
3689
|
-
currentDay:
|
|
3710
|
+
currentDay: et,
|
|
3690
3711
|
totalDays: Oe
|
|
3691
3712
|
}
|
|
3692
|
-
) :
|
|
3693
|
-
|
|
3713
|
+
) : J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3714
|
+
Ce,
|
|
3694
3715
|
{
|
|
3695
|
-
onSubscribe:
|
|
3716
|
+
onSubscribe: b,
|
|
3696
3717
|
storeId: I,
|
|
3697
3718
|
inventoryId: D,
|
|
3698
|
-
onboardingType:
|
|
3719
|
+
onboardingType: Y,
|
|
3699
3720
|
apiBaseInstance: p?.apiInstance
|
|
3700
3721
|
}
|
|
3701
3722
|
) }),
|
|
3702
3723
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3703
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3724
|
+
/* @__PURE__ */ e.jsx("div", { ref: ze, children: /* @__PURE__ */ e.jsx(Et, { onShare: _ }) }),
|
|
3704
3725
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3705
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3706
|
-
|
|
3726
|
+
/* @__PURE__ */ e.jsx("div", { ref: ut, children: /* @__PURE__ */ e.jsx(
|
|
3727
|
+
It,
|
|
3707
3728
|
{
|
|
3708
3729
|
onCardClick: g,
|
|
3709
3730
|
a4bApi: p,
|
|
3710
3731
|
storeCardsPage: v,
|
|
3711
|
-
storeCardsHeaders:
|
|
3732
|
+
storeCardsHeaders: j,
|
|
3712
3733
|
storeCardsLimit: N
|
|
3713
3734
|
}
|
|
3714
3735
|
) }),
|
|
3715
|
-
(ne ||
|
|
3736
|
+
(ne || J) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3716
3737
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3717
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3718
|
-
|
|
3738
|
+
/* @__PURE__ */ e.jsx("div", { ref: pt, children: J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3739
|
+
Ce,
|
|
3719
3740
|
{
|
|
3720
|
-
onSubscribe:
|
|
3741
|
+
onSubscribe: b,
|
|
3721
3742
|
storeId: I,
|
|
3722
3743
|
inventoryId: D,
|
|
3723
|
-
onboardingType:
|
|
3744
|
+
onboardingType: Y,
|
|
3724
3745
|
apiBaseInstance: p?.apiInstance
|
|
3725
3746
|
}
|
|
3726
3747
|
) })
|
|
3727
3748
|
] })
|
|
3728
3749
|
] })
|
|
3729
3750
|
] }) : /* @__PURE__ */ e.jsx(
|
|
3730
|
-
|
|
3751
|
+
Zr,
|
|
3731
3752
|
{
|
|
3732
3753
|
onJoinClick: O,
|
|
3733
|
-
onSectionImpression:
|
|
3734
|
-
onReviewsSwipe: () =>
|
|
3754
|
+
onSectionImpression: V,
|
|
3755
|
+
onReviewsSwipe: () => G?.({ sectionName: "Reviews" })
|
|
3735
3756
|
}
|
|
3736
3757
|
) })
|
|
3737
3758
|
) })
|
|
3738
3759
|
] });
|
|
3739
3760
|
};
|
|
3740
|
-
function
|
|
3761
|
+
function Rt({
|
|
3741
3762
|
message: a,
|
|
3742
3763
|
compact: n = !1
|
|
3743
3764
|
}) {
|
|
3744
3765
|
return /* @__PURE__ */ e.jsxs(
|
|
3745
3766
|
"div",
|
|
3746
3767
|
{
|
|
3747
|
-
className: `${
|
|
3768
|
+
className: `${c.chatLoader} ${n ? c.chatLoaderCompact : ""}`,
|
|
3748
3769
|
children: [
|
|
3749
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3750
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3770
|
+
/* @__PURE__ */ e.jsx("div", { className: c.spinner }),
|
|
3771
|
+
/* @__PURE__ */ e.jsx("div", { className: c.chatLoaderText, children: a })
|
|
3751
3772
|
]
|
|
3752
3773
|
}
|
|
3753
3774
|
);
|
|
3754
3775
|
}
|
|
3755
|
-
function
|
|
3776
|
+
function ot({
|
|
3756
3777
|
isGlobal: a,
|
|
3757
3778
|
isLandscape: n,
|
|
3758
3779
|
offeringCards: s,
|
|
3759
|
-
pujaCard:
|
|
3760
|
-
showPujaSlide:
|
|
3761
|
-
onOfferingClick:
|
|
3780
|
+
pujaCard: o,
|
|
3781
|
+
showPujaSlide: i,
|
|
3782
|
+
onOfferingClick: m,
|
|
3762
3783
|
onPujaBannerClick: r,
|
|
3763
|
-
onPujaImpression:
|
|
3764
|
-
onSwipe:
|
|
3784
|
+
onPujaImpression: h,
|
|
3785
|
+
onSwipe: d
|
|
3765
3786
|
}) {
|
|
3766
|
-
const
|
|
3787
|
+
const k = F(!1), [u, g] = S(0), p = F(null), v = F(0), j = F(0), N = F(!1), _ = !i, C = a ? _ ? ["chadhava"] : ["puja"] : _ ? ["chadhava", "puja"] : ["puja"], b = C.length, O = b > 1;
|
|
3767
3788
|
B(() => {
|
|
3768
3789
|
const I = C.indexOf("puja");
|
|
3769
|
-
I >= 0 && u === I && (
|
|
3790
|
+
I >= 0 && u === I && (k.current || (h?.({
|
|
3770
3791
|
orientation: n ? "horizontal" : "vertical"
|
|
3771
|
-
}),
|
|
3772
|
-
}, [u, n,
|
|
3792
|
+
}), k.current = !0));
|
|
3793
|
+
}, [u, n, h, C]), B(() => {
|
|
3773
3794
|
g(0), p.current && (p.current.style.transition = "none", p.current.style.transform = "translateX(0%)");
|
|
3774
3795
|
}, [_]);
|
|
3775
|
-
const
|
|
3776
|
-
const D = Math.max(0, Math.min(I,
|
|
3777
|
-
D !== u &&
|
|
3796
|
+
const V = (I) => {
|
|
3797
|
+
const D = Math.max(0, Math.min(I, b - 1));
|
|
3798
|
+
D !== u && d?.({ sectionName: "Carousal", elementPosition: D + 1 }), g(D), p.current && (p.current.style.transition = "transform 0.3s ease", p.current.style.transform = `translateX(-${D * (100 / b)}%)`);
|
|
3778
3799
|
}, w = (I) => {
|
|
3779
|
-
N.current = !0, v.current = I.touches[0].clientX,
|
|
3780
|
-
},
|
|
3781
|
-
if (N.current && (
|
|
3782
|
-
const D = 100 /
|
|
3783
|
-
p.current.style.transform = `translateX(${
|
|
3800
|
+
N.current = !0, v.current = I.touches[0].clientX, j.current = 0, p.current && (p.current.style.transition = "none");
|
|
3801
|
+
}, G = (I) => {
|
|
3802
|
+
if (N.current && (j.current = I.touches[0].clientX - v.current, p.current)) {
|
|
3803
|
+
const D = 100 / b, Y = -u * D, le = p.current.clientWidth || 1, X = j.current / le * 100;
|
|
3804
|
+
p.current.style.transform = `translateX(${Y + X}%)`;
|
|
3784
3805
|
}
|
|
3785
3806
|
}, Z = () => {
|
|
3786
3807
|
N.current = !1;
|
|
3787
3808
|
const I = 50;
|
|
3788
|
-
|
|
3809
|
+
j.current < -I && u < b - 1 ? V(u + 1) : j.current > I && u > 0 ? V(u - 1) : V(u);
|
|
3789
3810
|
};
|
|
3790
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3811
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c.carousel, children: [
|
|
3791
3812
|
/* @__PURE__ */ e.jsx(
|
|
3792
3813
|
"div",
|
|
3793
3814
|
{
|
|
3794
3815
|
style: { overflow: "hidden", width: "100%", position: "relative" },
|
|
3795
3816
|
onTouchStart: O ? w : void 0,
|
|
3796
|
-
onTouchMove: O ?
|
|
3817
|
+
onTouchMove: O ? G : void 0,
|
|
3797
3818
|
onTouchEnd: O ? Z : void 0,
|
|
3798
3819
|
children: /* @__PURE__ */ e.jsx(
|
|
3799
3820
|
"div",
|
|
@@ -3801,22 +3822,22 @@ function rt({
|
|
|
3801
3822
|
ref: p,
|
|
3802
3823
|
style: {
|
|
3803
3824
|
display: "flex",
|
|
3804
|
-
width: `${
|
|
3805
|
-
transform: `translateX(-${u * (100 /
|
|
3825
|
+
width: `${b * 100}%`,
|
|
3826
|
+
transform: `translateX(-${u * (100 / b)}%)`,
|
|
3806
3827
|
transition: "transform 0.3s ease"
|
|
3807
3828
|
},
|
|
3808
|
-
children: C.map((I) => /* @__PURE__ */ e.jsx("div", { style: { width: `${100 /
|
|
3809
|
-
|
|
3829
|
+
children: C.map((I) => /* @__PURE__ */ e.jsx("div", { style: { width: `${100 / b}%`, flexShrink: 0 }, children: I === "chadhava" ? /* @__PURE__ */ e.jsx(
|
|
3830
|
+
Ii,
|
|
3810
3831
|
{
|
|
3811
3832
|
isLandscape: n,
|
|
3812
3833
|
offeringCards: s,
|
|
3813
|
-
onOfferingClick:
|
|
3834
|
+
onOfferingClick: m
|
|
3814
3835
|
}
|
|
3815
3836
|
) : /* @__PURE__ */ e.jsx(
|
|
3816
|
-
|
|
3837
|
+
Li,
|
|
3817
3838
|
{
|
|
3818
3839
|
isLandscape: n,
|
|
3819
|
-
pujaCard:
|
|
3840
|
+
pujaCard: o,
|
|
3820
3841
|
onOfferingClick: r
|
|
3821
3842
|
}
|
|
3822
3843
|
) }, I))
|
|
@@ -3824,24 +3845,24 @@ function rt({
|
|
|
3824
3845
|
)
|
|
3825
3846
|
}
|
|
3826
3847
|
),
|
|
3827
|
-
O && /* @__PURE__ */ e.jsx("div", { className:
|
|
3848
|
+
O && /* @__PURE__ */ e.jsx("div", { className: c.carouselDots, children: C.map((I, D) => /* @__PURE__ */ e.jsx(
|
|
3828
3849
|
"button",
|
|
3829
3850
|
{
|
|
3830
3851
|
type: "button",
|
|
3831
|
-
className: `${
|
|
3852
|
+
className: `${c.dot} ${D === u ? c.dotActive : ""}`,
|
|
3832
3853
|
"aria-label": `Slide ${D + 1}`,
|
|
3833
|
-
onClick: () =>
|
|
3854
|
+
onClick: () => V(D)
|
|
3834
3855
|
},
|
|
3835
3856
|
D
|
|
3836
3857
|
)) })
|
|
3837
3858
|
] });
|
|
3838
3859
|
}
|
|
3839
|
-
function
|
|
3860
|
+
function Ii({
|
|
3840
3861
|
isLandscape: a,
|
|
3841
3862
|
offeringCards: n,
|
|
3842
3863
|
onOfferingClick: s
|
|
3843
3864
|
}) {
|
|
3844
|
-
const [
|
|
3865
|
+
const [o, i] = S(!1), [m, r] = S(""), [h, d] = S(null), [k, u] = S(!1), g = async (_) => {
|
|
3845
3866
|
if (s)
|
|
3846
3867
|
try {
|
|
3847
3868
|
await s(_);
|
|
@@ -3849,22 +3870,22 @@ function Ci({
|
|
|
3849
3870
|
console.error("Offering click handler failed:", C);
|
|
3850
3871
|
}
|
|
3851
3872
|
}, p = (_) => {
|
|
3852
|
-
|
|
3873
|
+
d(_), r(_.price ? String(_.price) : ""), i(!0);
|
|
3853
3874
|
}, v = () => {
|
|
3854
|
-
|
|
3855
|
-
},
|
|
3875
|
+
i(!1), d(null), r("");
|
|
3876
|
+
}, j = async (_) => {
|
|
3856
3877
|
if (_.isCustom) {
|
|
3857
3878
|
p(_);
|
|
3858
3879
|
return;
|
|
3859
3880
|
}
|
|
3860
3881
|
await g(_);
|
|
3861
3882
|
}, N = async () => {
|
|
3862
|
-
if (!
|
|
3863
|
-
const _ = Number(
|
|
3883
|
+
if (!h || !s || k) return;
|
|
3884
|
+
const _ = Number(m);
|
|
3864
3885
|
if (!(!Number.isFinite(_) || _ <= 0))
|
|
3865
3886
|
try {
|
|
3866
3887
|
u(!0), await s({
|
|
3867
|
-
...
|
|
3888
|
+
...h,
|
|
3868
3889
|
price: _,
|
|
3869
3890
|
customAmount: _
|
|
3870
3891
|
}), v();
|
|
@@ -3875,65 +3896,65 @@ function Ci({
|
|
|
3875
3896
|
}
|
|
3876
3897
|
};
|
|
3877
3898
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3878
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3899
|
+
/* @__PURE__ */ e.jsx("div", { className: c.banner, children: /* @__PURE__ */ e.jsxs("div", { className: c.bannerCard, children: [
|
|
3879
3900
|
/* @__PURE__ */ e.jsx(
|
|
3880
3901
|
"p",
|
|
3881
3902
|
{
|
|
3882
|
-
className: a ?
|
|
3903
|
+
className: a ? c.landscapeHeader : c.bannerTitle,
|
|
3883
3904
|
children: "Pandit Ji invited to make offering to this Puja"
|
|
3884
3905
|
}
|
|
3885
3906
|
),
|
|
3886
|
-
/* @__PURE__ */ e.jsx("div", { className: a ?
|
|
3907
|
+
/* @__PURE__ */ e.jsx("div", { className: a ? c.landscapeScroll : c.scroll, children: n.map(
|
|
3887
3908
|
(_, C) => a ? /* @__PURE__ */ e.jsx(
|
|
3888
|
-
|
|
3909
|
+
Fi,
|
|
3889
3910
|
{
|
|
3890
3911
|
item: _,
|
|
3891
|
-
onClick: () =>
|
|
3912
|
+
onClick: () => j(_)
|
|
3892
3913
|
},
|
|
3893
3914
|
_.id
|
|
3894
3915
|
) : /* @__PURE__ */ e.jsx(
|
|
3895
|
-
|
|
3916
|
+
Ai,
|
|
3896
3917
|
{
|
|
3897
3918
|
item: _,
|
|
3898
3919
|
index: C,
|
|
3899
3920
|
totalItems: n.length,
|
|
3900
|
-
onClick: () =>
|
|
3921
|
+
onClick: () => j(_)
|
|
3901
3922
|
},
|
|
3902
3923
|
_.id
|
|
3903
3924
|
)
|
|
3904
3925
|
) })
|
|
3905
3926
|
] }) }),
|
|
3906
3927
|
/* @__PURE__ */ e.jsx(
|
|
3907
|
-
|
|
3928
|
+
Ri,
|
|
3908
3929
|
{
|
|
3909
|
-
open:
|
|
3910
|
-
amount:
|
|
3930
|
+
open: o,
|
|
3931
|
+
amount: m,
|
|
3911
3932
|
onAmountChange: (_) => r(_.replace(/[^0-9]/g, "")),
|
|
3912
3933
|
onClose: v,
|
|
3913
3934
|
onContinue: N,
|
|
3914
|
-
disabled: !
|
|
3935
|
+
disabled: !m || Number(m) <= 0 || k
|
|
3915
3936
|
}
|
|
3916
3937
|
)
|
|
3917
3938
|
] });
|
|
3918
3939
|
}
|
|
3919
|
-
function
|
|
3940
|
+
function Ri({
|
|
3920
3941
|
open: a,
|
|
3921
3942
|
amount: n,
|
|
3922
3943
|
onAmountChange: s,
|
|
3923
|
-
onClose:
|
|
3924
|
-
onContinue:
|
|
3925
|
-
disabled:
|
|
3944
|
+
onClose: o,
|
|
3945
|
+
onContinue: i,
|
|
3946
|
+
disabled: m
|
|
3926
3947
|
}) {
|
|
3927
|
-
return a ? /* @__PURE__ */ e.jsx("div", { className:
|
|
3948
|
+
return a ? /* @__PURE__ */ e.jsx("div", { className: c.customSheetOverlay, onClick: o, children: /* @__PURE__ */ e.jsxs(
|
|
3928
3949
|
"div",
|
|
3929
3950
|
{
|
|
3930
|
-
className:
|
|
3951
|
+
className: c.customSheet,
|
|
3931
3952
|
onClick: (r) => r.stopPropagation(),
|
|
3932
3953
|
children: [
|
|
3933
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3934
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3935
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3936
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3954
|
+
/* @__PURE__ */ e.jsx("p", { className: c.customSheetTitle, children: "Enter Amount" }),
|
|
3955
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.customSheetRow, children: [
|
|
3956
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.customInputWrap, children: [
|
|
3957
|
+
/* @__PURE__ */ e.jsx("span", { className: c.currencySymbol, children: "₹" }),
|
|
3937
3958
|
/* @__PURE__ */ e.jsx(
|
|
3938
3959
|
"input",
|
|
3939
3960
|
{
|
|
@@ -3943,7 +3964,7 @@ function ki({
|
|
|
3943
3964
|
pattern: "[0-9]*",
|
|
3944
3965
|
value: n,
|
|
3945
3966
|
onChange: (r) => s(r.target.value),
|
|
3946
|
-
className:
|
|
3967
|
+
className: c.customInput,
|
|
3947
3968
|
"aria-label": "Custom offering amount"
|
|
3948
3969
|
}
|
|
3949
3970
|
)
|
|
@@ -3952,9 +3973,9 @@ function ki({
|
|
|
3952
3973
|
"button",
|
|
3953
3974
|
{
|
|
3954
3975
|
type: "button",
|
|
3955
|
-
className:
|
|
3956
|
-
onClick:
|
|
3957
|
-
disabled:
|
|
3976
|
+
className: c.customContinueBtn,
|
|
3977
|
+
onClick: i,
|
|
3978
|
+
disabled: m,
|
|
3958
3979
|
children: "Continue"
|
|
3959
3980
|
}
|
|
3960
3981
|
)
|
|
@@ -3963,15 +3984,15 @@ function ki({
|
|
|
3963
3984
|
}
|
|
3964
3985
|
) }) : null;
|
|
3965
3986
|
}
|
|
3966
|
-
function
|
|
3987
|
+
function Li({
|
|
3967
3988
|
isLandscape: a,
|
|
3968
3989
|
pujaCard: n,
|
|
3969
3990
|
onOfferingClick: s
|
|
3970
3991
|
}) {
|
|
3971
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
3972
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3992
|
+
return /* @__PURE__ */ e.jsx("div", { className: c.pujaBanner, children: /* @__PURE__ */ e.jsxs("div", { className: c.pujaWrapperVertical, children: [
|
|
3993
|
+
/* @__PURE__ */ e.jsx("p", { className: c.pujaTopTitle, children: "Perform Live Puja" }),
|
|
3973
3994
|
/* @__PURE__ */ e.jsx(
|
|
3974
|
-
|
|
3995
|
+
Di,
|
|
3975
3996
|
{
|
|
3976
3997
|
isLandscape: a,
|
|
3977
3998
|
pujaCard: n,
|
|
@@ -3980,17 +4001,17 @@ function Ni({
|
|
|
3980
4001
|
)
|
|
3981
4002
|
] }) });
|
|
3982
4003
|
}
|
|
3983
|
-
function
|
|
4004
|
+
function aa() {
|
|
3984
4005
|
return /* @__PURE__ */ e.jsx(
|
|
3985
4006
|
"img",
|
|
3986
4007
|
{
|
|
3987
4008
|
src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
3988
4009
|
alt: "Date",
|
|
3989
|
-
className:
|
|
4010
|
+
className: c.dateIcon
|
|
3990
4011
|
}
|
|
3991
4012
|
);
|
|
3992
4013
|
}
|
|
3993
|
-
function
|
|
4014
|
+
function Di({
|
|
3994
4015
|
isLandscape: a,
|
|
3995
4016
|
pujaCard: n,
|
|
3996
4017
|
onClick: s
|
|
@@ -3999,33 +4020,33 @@ function Ti({
|
|
|
3999
4020
|
"div",
|
|
4000
4021
|
{
|
|
4001
4022
|
onClick: s,
|
|
4002
|
-
className:
|
|
4023
|
+
className: c.pujaCardHorizontal,
|
|
4003
4024
|
style: { cursor: s ? "pointer" : "default" },
|
|
4004
4025
|
children: [
|
|
4005
4026
|
/* @__PURE__ */ e.jsx(
|
|
4006
4027
|
"img",
|
|
4007
4028
|
{
|
|
4008
4029
|
src: n.imageUrl || xe.imageUrl,
|
|
4009
|
-
className:
|
|
4030
|
+
className: c.pujaImageHorizontal,
|
|
4010
4031
|
alt: n.title
|
|
4011
4032
|
}
|
|
4012
4033
|
),
|
|
4013
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4014
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4015
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4034
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.pujaContentHorizontal, children: [
|
|
4035
|
+
/* @__PURE__ */ e.jsx("p", { className: c.pujaTitleHorizontal, children: n.title }),
|
|
4036
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaSubHorizontal, children: [
|
|
4016
4037
|
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
|
|
4017
4038
|
"img",
|
|
4018
4039
|
{
|
|
4019
4040
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
4020
4041
|
alt: "Location",
|
|
4021
|
-
className:
|
|
4042
|
+
className: c.locationIcon
|
|
4022
4043
|
}
|
|
4023
4044
|
) }),
|
|
4024
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4045
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.location })
|
|
4025
4046
|
] }),
|
|
4026
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4027
|
-
/* @__PURE__ */ e.jsx(
|
|
4028
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4047
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaSubHorizontal, children: [
|
|
4048
|
+
/* @__PURE__ */ e.jsx(aa, {}),
|
|
4049
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.date })
|
|
4029
4050
|
] })
|
|
4030
4051
|
] })
|
|
4031
4052
|
]
|
|
@@ -4034,75 +4055,75 @@ function Ti({
|
|
|
4034
4055
|
"div",
|
|
4035
4056
|
{
|
|
4036
4057
|
onClick: s,
|
|
4037
|
-
className:
|
|
4058
|
+
className: c.pujaCardVertical,
|
|
4038
4059
|
style: { cursor: s ? "pointer" : "default" },
|
|
4039
4060
|
children: [
|
|
4040
4061
|
/* @__PURE__ */ e.jsx(
|
|
4041
4062
|
"img",
|
|
4042
4063
|
{
|
|
4043
4064
|
src: n.imageUrl || xe.imageUrl,
|
|
4044
|
-
className:
|
|
4065
|
+
className: c.pujaImage,
|
|
4045
4066
|
alt: n.title
|
|
4046
4067
|
}
|
|
4047
4068
|
),
|
|
4048
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4049
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4050
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4069
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.pujaContent, children: [
|
|
4070
|
+
/* @__PURE__ */ e.jsx("p", { className: c.pujaTitle, children: n.title }),
|
|
4071
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaSub, children: [
|
|
4051
4072
|
/* @__PURE__ */ e.jsx(
|
|
4052
4073
|
"img",
|
|
4053
4074
|
{
|
|
4054
4075
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
4055
4076
|
alt: "Location",
|
|
4056
|
-
className:
|
|
4077
|
+
className: c.locationIcon
|
|
4057
4078
|
}
|
|
4058
4079
|
),
|
|
4059
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4080
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.location })
|
|
4060
4081
|
] }),
|
|
4061
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4062
|
-
/* @__PURE__ */ e.jsx(
|
|
4063
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4082
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaTrustmakers, children: [
|
|
4083
|
+
/* @__PURE__ */ e.jsx(aa, {}),
|
|
4084
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.date })
|
|
4064
4085
|
] })
|
|
4065
4086
|
] })
|
|
4066
4087
|
]
|
|
4067
4088
|
}
|
|
4068
4089
|
) });
|
|
4069
4090
|
}
|
|
4070
|
-
function
|
|
4091
|
+
function Ai({
|
|
4071
4092
|
item: a,
|
|
4072
4093
|
index: n,
|
|
4073
4094
|
totalItems: s,
|
|
4074
|
-
onClick:
|
|
4095
|
+
onClick: o
|
|
4075
4096
|
}) {
|
|
4076
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4077
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4078
|
-
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className:
|
|
4097
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c.card, onClick: o, children: [
|
|
4098
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.imageWrapper, children: [
|
|
4099
|
+
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className: c.image }),
|
|
4079
4100
|
/* @__PURE__ */ e.jsx(
|
|
4080
4101
|
"img",
|
|
4081
4102
|
{
|
|
4082
4103
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
4083
4104
|
alt: "",
|
|
4084
|
-
className:
|
|
4105
|
+
className: c.addBtn,
|
|
4085
4106
|
"aria-hidden": "true"
|
|
4086
4107
|
}
|
|
4087
4108
|
)
|
|
4088
4109
|
] }),
|
|
4089
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4090
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4091
|
-
n !== s - 1 && /* @__PURE__ */ e.jsx("div", { className:
|
|
4110
|
+
/* @__PURE__ */ e.jsx("p", { className: c.title, children: a.name }),
|
|
4111
|
+
/* @__PURE__ */ e.jsx("div", { className: c.priceRow, children: /* @__PURE__ */ e.jsx("span", { className: c.price, children: a.price === null ? "₹" : `₹${a.price}` }) }),
|
|
4112
|
+
n !== s - 1 && /* @__PURE__ */ e.jsx("div", { className: c.divider })
|
|
4092
4113
|
] });
|
|
4093
4114
|
}
|
|
4094
|
-
function
|
|
4115
|
+
function Fi({
|
|
4095
4116
|
item: a,
|
|
4096
4117
|
onClick: n
|
|
4097
4118
|
}) {
|
|
4098
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4099
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4119
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c.landscapeCard, onClick: n, children: [
|
|
4120
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeImageWrapper, children: [
|
|
4100
4121
|
/* @__PURE__ */ e.jsx(
|
|
4101
4122
|
"img",
|
|
4102
4123
|
{
|
|
4103
4124
|
src: a.image_url,
|
|
4104
4125
|
alt: a.name,
|
|
4105
|
-
className:
|
|
4126
|
+
className: c.landscapeImage
|
|
4106
4127
|
}
|
|
4107
4128
|
),
|
|
4108
4129
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4110,41 +4131,41 @@ function Pi({
|
|
|
4110
4131
|
{
|
|
4111
4132
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
4112
4133
|
alt: "",
|
|
4113
|
-
className:
|
|
4134
|
+
className: c.landscapeAdd,
|
|
4114
4135
|
"aria-hidden": "true"
|
|
4115
4136
|
}
|
|
4116
4137
|
)
|
|
4117
4138
|
] }),
|
|
4118
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4119
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4120
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4139
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeContent, children: [
|
|
4140
|
+
/* @__PURE__ */ e.jsx("p", { className: c.landscapeTitle, children: a.name }),
|
|
4141
|
+
/* @__PURE__ */ e.jsx("div", { className: c.landscapePriceRow, children: /* @__PURE__ */ e.jsx("span", { className: c.landscapePrice, children: a.price === null ? "₹" : `₹${a.price}` }) })
|
|
4121
4142
|
] })
|
|
4122
4143
|
] });
|
|
4123
4144
|
}
|
|
4124
|
-
const
|
|
4145
|
+
const na = "hanuman-live-sindoor", sa = "hanuman-live-peda", ra = "hanuman-live-sindoor-peda", $e = {
|
|
4125
4146
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
4126
4147
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
4127
4148
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
4128
|
-
},
|
|
4149
|
+
}, Hi = [
|
|
4129
4150
|
{
|
|
4130
4151
|
afterTime: "2024-01-01T00:00:00Z",
|
|
4131
4152
|
items: [
|
|
4132
4153
|
{
|
|
4133
|
-
inventory_id:
|
|
4154
|
+
inventory_id: na,
|
|
4134
4155
|
name: "Sindoor",
|
|
4135
4156
|
price: 51,
|
|
4136
4157
|
razorpay_link: $e.sindoor,
|
|
4137
4158
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4138
4159
|
},
|
|
4139
4160
|
{
|
|
4140
|
-
inventory_id:
|
|
4161
|
+
inventory_id: sa,
|
|
4141
4162
|
name: "Peda",
|
|
4142
4163
|
price: 101,
|
|
4143
4164
|
razorpay_link: $e.peda,
|
|
4144
4165
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4145
4166
|
},
|
|
4146
4167
|
{
|
|
4147
|
-
inventory_id:
|
|
4168
|
+
inventory_id: ra,
|
|
4148
4169
|
name: "Sindoor + Peda",
|
|
4149
4170
|
price: 121,
|
|
4150
4171
|
original_price: "101 + 51",
|
|
@@ -4158,21 +4179,21 @@ const ea = "hanuman-live-sindoor", ta = "hanuman-live-peda", aa = "hanuman-live-
|
|
|
4158
4179
|
afterTime: "2024-08-01T00:00:00Z",
|
|
4159
4180
|
items: [
|
|
4160
4181
|
{
|
|
4161
|
-
inventory_id:
|
|
4182
|
+
inventory_id: na,
|
|
4162
4183
|
name: "Sindoor",
|
|
4163
4184
|
price: 51,
|
|
4164
4185
|
razorpay_link: $e.sindoor,
|
|
4165
4186
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
4166
4187
|
},
|
|
4167
4188
|
{
|
|
4168
|
-
inventory_id:
|
|
4189
|
+
inventory_id: sa,
|
|
4169
4190
|
name: "Peda",
|
|
4170
4191
|
price: 101,
|
|
4171
4192
|
razorpay_link: $e.peda,
|
|
4172
4193
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4173
4194
|
},
|
|
4174
4195
|
{
|
|
4175
|
-
inventory_id:
|
|
4196
|
+
inventory_id: ra,
|
|
4176
4197
|
name: "Sindoor + Peda",
|
|
4177
4198
|
price: 121,
|
|
4178
4199
|
discount: "20%",
|
|
@@ -4183,19 +4204,19 @@ const ea = "hanuman-live-sindoor", ta = "hanuman-live-peda", aa = "hanuman-live-
|
|
|
4183
4204
|
}
|
|
4184
4205
|
];
|
|
4185
4206
|
export {
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4207
|
+
Mi as AppContextProvider,
|
|
4208
|
+
Hi as BANNER_ITEMS,
|
|
4209
|
+
Nt as DLPTabs,
|
|
4210
|
+
Oi as I18nProvider,
|
|
4211
|
+
$i as LandingPage,
|
|
4212
|
+
Zr as LoggedOutSections,
|
|
4213
|
+
Et as ShareSection,
|
|
4214
|
+
It as StoreSection,
|
|
4215
|
+
Tt as StreakSection,
|
|
4216
|
+
Ce as SubscriptionSection,
|
|
4217
|
+
Ui as SuccessPage,
|
|
4218
|
+
Wi as VideoPage,
|
|
4219
|
+
da as useAppContext,
|
|
4220
|
+
Lt as useI18n
|
|
4200
4221
|
};
|
|
4201
4222
|
//# sourceMappingURL=daily-live-puja.js.map
|