@srimandir/daily-live-puja 1.4.4 → 1.4.5
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 +1299 -1188
- package/dist/daily-live-puja.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useSubscriptionStatus.d.ts +31 -0
- package/package.json +3 -3
- package/dist/assets/storeCards.worker-DEQNWpvH.js +0 -2
- package/dist/assets/storeCards.worker-DEQNWpvH.js.map +0 -1
package/dist/daily-live-puja.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var a =
|
|
8
|
-
function
|
|
9
|
-
var p, f = {}, x = null,
|
|
10
|
-
v !== void 0 && (x = "" + v), h.key !== void 0 && (x = "" + h.key), h.ref !== void 0 && (
|
|
11
|
-
for (p in h)
|
|
1
|
+
import xt, { useContext as Ut, createContext as Wt, useState as C, useEffect as D, useRef as U, useMemo as gt, useCallback as _t, useId as ea } from "react";
|
|
2
|
+
var at = { exports: {} }, Ye = {};
|
|
3
|
+
var wt;
|
|
4
|
+
function ta() {
|
|
5
|
+
if (wt) return Ye;
|
|
6
|
+
wt = 1;
|
|
7
|
+
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function r(o, h, v) {
|
|
9
|
+
var p, f = {}, x = null, j = null;
|
|
10
|
+
v !== void 0 && (x = "" + v), h.key !== void 0 && (x = "" + h.key), h.ref !== void 0 && (j = h.ref);
|
|
11
|
+
for (p in h) d.call(h, p) && !m.hasOwnProperty(p) && (f[p] = h[p]);
|
|
12
12
|
if (o && o.defaultProps) for (p in h = o.defaultProps, h) f[p] === void 0 && (f[p] = h[p]);
|
|
13
|
-
return { $$typeof: s, type: o, key: x, ref:
|
|
13
|
+
return { $$typeof: s, type: o, key: x, ref: j, props: f, _owner: c.current };
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return Ye.Fragment = l, Ye.jsx = r, Ye.jsxs = r, Ye;
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var a =
|
|
22
|
-
function
|
|
17
|
+
var Ge = {};
|
|
18
|
+
var Ct;
|
|
19
|
+
function aa() {
|
|
20
|
+
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), h = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.offscreen"), R = Symbol.iterator, A = "@@iterator";
|
|
22
|
+
function g(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var n =
|
|
25
|
+
var n = R && t[R] || t[A];
|
|
26
26
|
return typeof n == "function" ? n : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
29
|
-
function
|
|
28
|
+
var y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
|
+
function S(t) {
|
|
30
30
|
{
|
|
31
|
-
for (var n = arguments.length,
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
for (var n = arguments.length, u = new Array(n > 1 ? n - 1 : 0), _ = 1; _ < n; _++)
|
|
32
|
+
u[_ - 1] = arguments[_];
|
|
33
|
+
W("error", t, u);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function W(t, n, u) {
|
|
37
37
|
{
|
|
38
|
-
var
|
|
39
|
-
k !== "" && (n += "%s",
|
|
40
|
-
var E =
|
|
41
|
-
return String(
|
|
38
|
+
var _ = y.ReactDebugCurrentFrame, k = _.getStackAddendum();
|
|
39
|
+
k !== "" && (n += "%s", u = u.concat([k]));
|
|
40
|
+
var E = u.map(function(N) {
|
|
41
|
+
return String(N);
|
|
42
42
|
});
|
|
43
43
|
E.unshift("Warning: " + n), Function.prototype.apply.call(console[t], console, E);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
46
|
+
var B = !1, T = !1, Y = !1, Q = !1, ne = !1, ie;
|
|
47
|
+
ie = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
+
function he(t) {
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === m || ne || t === c || t === v || t === p || Q || t === j || B || T || Y || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === f || t.$$typeof === r || t.$$typeof === o || t.$$typeof === h || // 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
|
-
t.$$typeof ===
|
|
53
|
+
t.$$typeof === ie || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
55
|
+
function me(t, n, u) {
|
|
56
|
+
var _ = t.displayName;
|
|
57
|
+
if (_)
|
|
58
|
+
return _;
|
|
59
59
|
var k = n.displayName || n.name || "";
|
|
60
|
-
return k !== "" ?
|
|
60
|
+
return k !== "" ? u + "(" + k + ")" : u;
|
|
61
61
|
}
|
|
62
62
|
function M(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function $(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
|
-
if (typeof t.tag == "number" &&
|
|
68
|
+
if (typeof t.tag == "number" && S("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 d:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case l:
|
|
76
76
|
return "Portal";
|
|
@@ -88,18 +88,18 @@ function ta() {
|
|
|
88
88
|
case o:
|
|
89
89
|
var n = t;
|
|
90
90
|
return M(n) + ".Consumer";
|
|
91
|
-
case
|
|
92
|
-
var
|
|
93
|
-
return M(
|
|
91
|
+
case r:
|
|
92
|
+
var u = t;
|
|
93
|
+
return M(u._context) + ".Provider";
|
|
94
94
|
case h:
|
|
95
|
-
return
|
|
95
|
+
return me(t, t.render, "ForwardRef");
|
|
96
96
|
case f:
|
|
97
|
-
var
|
|
98
|
-
return
|
|
97
|
+
var _ = t.displayName || null;
|
|
98
|
+
return _ !== null ? _ : $(t.type) || "Memo";
|
|
99
99
|
case x: {
|
|
100
|
-
var k = t, E = k._payload,
|
|
100
|
+
var k = t, E = k._payload, N = k._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return $(N(E));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,18 +107,18 @@ function ta() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
111
|
-
function
|
|
110
|
+
var G = Object.assign, oe = 0, Pe, K, Le, Ae, Fe, De, Be;
|
|
111
|
+
function Oe() {
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
function
|
|
113
|
+
Oe.__reactDisabledLog = !0;
|
|
114
|
+
function Je() {
|
|
115
115
|
{
|
|
116
|
-
if (
|
|
117
|
-
Pe = console.log,
|
|
116
|
+
if (oe === 0) {
|
|
117
|
+
Pe = console.log, K = console.info, Le = console.warn, Ae = console.error, Fe = console.group, De = console.groupCollapsed, Be = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: Oe,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -131,277 +131,277 @@ function ta() {
|
|
|
131
131
|
groupEnd: t
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
oe++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Ze() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (oe--, oe === 0) {
|
|
140
140
|
var t = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
146
|
+
log: G({}, t, {
|
|
147
147
|
value: Pe
|
|
148
148
|
}),
|
|
149
|
-
info:
|
|
150
|
-
value:
|
|
149
|
+
info: G({}, t, {
|
|
150
|
+
value: K
|
|
151
151
|
}),
|
|
152
|
-
warn:
|
|
153
|
-
value: Re
|
|
154
|
-
}),
|
|
155
|
-
error: K({}, t, {
|
|
156
|
-
value: Ie
|
|
157
|
-
}),
|
|
158
|
-
group: K({}, t, {
|
|
152
|
+
warn: G({}, t, {
|
|
159
153
|
value: Le
|
|
160
154
|
}),
|
|
161
|
-
|
|
155
|
+
error: G({}, t, {
|
|
162
156
|
value: Ae
|
|
163
157
|
}),
|
|
164
|
-
|
|
158
|
+
group: G({}, t, {
|
|
165
159
|
value: Fe
|
|
160
|
+
}),
|
|
161
|
+
groupCollapsed: G({}, t, {
|
|
162
|
+
value: De
|
|
163
|
+
}),
|
|
164
|
+
groupEnd: G({}, t, {
|
|
165
|
+
value: Be
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
oe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
function
|
|
172
|
+
var qe = y.ReactCurrentDispatcher, V;
|
|
173
|
+
function be(t, n, u) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (V === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (k) {
|
|
179
|
-
var
|
|
180
|
-
|
|
179
|
+
var _ = k.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
V = _ && _[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + V + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ye = !1, q;
|
|
187
187
|
{
|
|
188
|
-
var
|
|
189
|
-
|
|
188
|
+
var Me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
+
q = new Me();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!t ||
|
|
191
|
+
function Z(t, n) {
|
|
192
|
+
if (!t || ye)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
return
|
|
195
|
+
var u = q.get(t);
|
|
196
|
+
if (u !== void 0)
|
|
197
|
+
return u;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var _;
|
|
200
|
+
ye = !0;
|
|
201
201
|
var k = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var E;
|
|
204
|
-
E =
|
|
204
|
+
E = qe.current, qe.current = null, Je();
|
|
205
205
|
try {
|
|
206
206
|
if (n) {
|
|
207
|
-
var
|
|
207
|
+
var N = function() {
|
|
208
208
|
throw Error();
|
|
209
209
|
};
|
|
210
|
-
if (Object.defineProperty(
|
|
210
|
+
if (Object.defineProperty(N.prototype, "props", {
|
|
211
211
|
set: function() {
|
|
212
212
|
throw Error();
|
|
213
213
|
}
|
|
214
214
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
215
215
|
try {
|
|
216
|
-
Reflect.construct(
|
|
217
|
-
} catch (
|
|
218
|
-
|
|
216
|
+
Reflect.construct(N, []);
|
|
217
|
+
} catch (z) {
|
|
218
|
+
_ = z;
|
|
219
219
|
}
|
|
220
|
-
Reflect.construct(t, [],
|
|
220
|
+
Reflect.construct(t, [], N);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
|
-
|
|
224
|
-
} catch (
|
|
225
|
-
|
|
223
|
+
N.call();
|
|
224
|
+
} catch (z) {
|
|
225
|
+
_ = z;
|
|
226
226
|
}
|
|
227
|
-
t.call(
|
|
227
|
+
t.call(N.prototype);
|
|
228
228
|
}
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
|
-
} catch (
|
|
233
|
-
|
|
232
|
+
} catch (z) {
|
|
233
|
+
_ = z;
|
|
234
234
|
}
|
|
235
235
|
t();
|
|
236
236
|
}
|
|
237
|
-
} catch (
|
|
238
|
-
if (
|
|
239
|
-
for (var w =
|
|
240
|
-
`),
|
|
241
|
-
`), F = w.length - 1,
|
|
242
|
-
|
|
243
|
-
for (; F >= 1 &&
|
|
244
|
-
if (w[F] !==
|
|
245
|
-
if (F !== 1 ||
|
|
237
|
+
} catch (z) {
|
|
238
|
+
if (z && _ && typeof z.stack == "string") {
|
|
239
|
+
for (var w = z.stack.split(`
|
|
240
|
+
`), H = _.stack.split(`
|
|
241
|
+
`), F = w.length - 1, O = H.length - 1; F >= 1 && O >= 0 && w[F] !== H[O]; )
|
|
242
|
+
O--;
|
|
243
|
+
for (; F >= 1 && O >= 0; F--, O--)
|
|
244
|
+
if (w[F] !== H[O]) {
|
|
245
|
+
if (F !== 1 || O !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (F--,
|
|
248
|
-
var
|
|
247
|
+
if (F--, O--, O < 0 || w[F] !== H[O]) {
|
|
248
|
+
var J = `
|
|
249
249
|
` + w[F].replace(" at new ", " at ");
|
|
250
|
-
return t.displayName &&
|
|
250
|
+
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && q.set(t, J), J;
|
|
251
251
|
}
|
|
252
|
-
while (F >= 1 &&
|
|
252
|
+
while (F >= 1 && O >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
ye = !1, qe.current = E, Ze(), Error.prepareStackTrace = k;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof t == "function" &&
|
|
259
|
+
var Re = t ? t.displayName || t.name : "", je = Re ? be(Re) : "";
|
|
260
|
+
return typeof t == "function" && q.set(t, je), je;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
262
|
+
function Ue(t, n, u) {
|
|
263
|
+
return Z(t, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function we(t) {
|
|
266
266
|
var n = t.prototype;
|
|
267
267
|
return !!(n && n.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function fe(t, n, u) {
|
|
270
270
|
if (t == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof t == "function")
|
|
273
|
-
return
|
|
273
|
+
return Z(t, we(t));
|
|
274
274
|
if (typeof t == "string")
|
|
275
|
-
return
|
|
275
|
+
return be(t);
|
|
276
276
|
switch (t) {
|
|
277
277
|
case v:
|
|
278
|
-
return
|
|
278
|
+
return be("Suspense");
|
|
279
279
|
case p:
|
|
280
|
-
return
|
|
280
|
+
return be("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof t == "object")
|
|
283
283
|
switch (t.$$typeof) {
|
|
284
284
|
case h:
|
|
285
|
-
return
|
|
285
|
+
return Ue(t.render);
|
|
286
286
|
case f:
|
|
287
|
-
return
|
|
287
|
+
return fe(t.type, n, u);
|
|
288
288
|
case x: {
|
|
289
|
-
var
|
|
289
|
+
var _ = t, k = _._payload, E = _._init;
|
|
290
290
|
try {
|
|
291
|
-
return
|
|
291
|
+
return fe(E(k), n, u);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var
|
|
299
|
-
function
|
|
298
|
+
var le = Object.prototype.hasOwnProperty, We = {}, X = y.ReactDebugCurrentFrame;
|
|
299
|
+
function xe(t) {
|
|
300
300
|
if (t) {
|
|
301
|
-
var n = t._owner,
|
|
302
|
-
|
|
301
|
+
var n = t._owner, u = fe(t.type, t._source, n ? n.type : null);
|
|
302
|
+
X.setExtraStackFrame(u);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
X.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function rt(t, n, u, _, k) {
|
|
307
307
|
{
|
|
308
|
-
var E = Function.call.bind(
|
|
309
|
-
for (var
|
|
310
|
-
if (E(t,
|
|
308
|
+
var E = Function.call.bind(le);
|
|
309
|
+
for (var N in t)
|
|
310
|
+
if (E(t, N)) {
|
|
311
311
|
var w = void 0;
|
|
312
312
|
try {
|
|
313
|
-
if (typeof t[
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
313
|
+
if (typeof t[N] != "function") {
|
|
314
|
+
var H = Error((_ || "React class") + ": " + u + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
|
+
throw H.name = "Invariant Violation", H;
|
|
316
316
|
}
|
|
317
|
-
w = t[
|
|
317
|
+
w = t[N](n, N, _, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (F) {
|
|
319
319
|
w = F;
|
|
320
320
|
}
|
|
321
|
-
w && !(w instanceof Error) && (
|
|
321
|
+
w && !(w instanceof Error) && (xe(k), S("%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).", _ || "React class", u, N, typeof w), xe(null)), w instanceof Error && !(w.message in We) && (We[w.message] = !0, xe(k), S("Failed %s type: %s", u, w.message), xe(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return
|
|
325
|
+
var it = Array.isArray;
|
|
326
|
+
function He(t) {
|
|
327
|
+
return it(t);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function ge(t) {
|
|
330
330
|
{
|
|
331
|
-
var n = typeof Symbol == "function" && Symbol.toStringTag,
|
|
332
|
-
return
|
|
331
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, u = n && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
332
|
+
return u;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Ce(t) {
|
|
336
336
|
try {
|
|
337
|
-
return
|
|
337
|
+
return Xe(t), !1;
|
|
338
338
|
} catch {
|
|
339
339
|
return !0;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Xe(t) {
|
|
343
343
|
return "" + t;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
if (
|
|
347
|
-
return
|
|
345
|
+
function _e(t) {
|
|
346
|
+
if (Ce(t))
|
|
347
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ge(t)), Xe(t);
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Ne = y.ReactCurrentOwner, ot = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
355
|
-
function
|
|
356
|
-
if (
|
|
354
|
+
}, Qe, ve;
|
|
355
|
+
function jt(t) {
|
|
356
|
+
if (le.call(t, "ref")) {
|
|
357
357
|
var n = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
358
358
|
if (n && n.isReactWarning)
|
|
359
359
|
return !1;
|
|
360
360
|
}
|
|
361
361
|
return t.ref !== void 0;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
363
|
+
function et(t) {
|
|
364
|
+
if (le.call(t, "key")) {
|
|
365
365
|
var n = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
366
366
|
if (n && n.isReactWarning)
|
|
367
367
|
return !1;
|
|
368
368
|
}
|
|
369
369
|
return t.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
typeof t.ref == "string" &&
|
|
371
|
+
function Se(t, n) {
|
|
372
|
+
typeof t.ref == "string" && Ne.current;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Te(t, n) {
|
|
375
375
|
{
|
|
376
|
-
var
|
|
377
|
-
|
|
376
|
+
var u = function() {
|
|
377
|
+
Qe || (Qe = !0, S("%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)", n));
|
|
378
378
|
};
|
|
379
|
-
|
|
380
|
-
get:
|
|
379
|
+
u.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
380
|
+
get: u,
|
|
381
381
|
configurable: !0
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function ke(t, n) {
|
|
386
386
|
{
|
|
387
|
-
var
|
|
388
|
-
|
|
387
|
+
var u = function() {
|
|
388
|
+
ve || (ve = !0, S("%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)", n));
|
|
389
389
|
};
|
|
390
|
-
|
|
391
|
-
get:
|
|
390
|
+
u.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
391
|
+
get: u,
|
|
392
392
|
configurable: !0
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var $e = function(t, n, u, _, k, E, N) {
|
|
397
397
|
var w = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: s,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: t,
|
|
402
402
|
key: n,
|
|
403
|
-
ref:
|
|
404
|
-
props:
|
|
403
|
+
ref: u,
|
|
404
|
+
props: N,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
406
|
_owner: E
|
|
407
407
|
};
|
|
@@ -414,7 +414,7 @@ function ta() {
|
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
|
-
value:
|
|
417
|
+
value: _
|
|
418
418
|
}), Object.defineProperty(w, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
@@ -422,41 +422,41 @@ function ta() {
|
|
|
422
422
|
value: k
|
|
423
423
|
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
424
424
|
};
|
|
425
|
-
function
|
|
425
|
+
function Ve(t, n, u, _, k) {
|
|
426
426
|
{
|
|
427
|
-
var E,
|
|
428
|
-
|
|
427
|
+
var E, N = {}, w = null, H = null;
|
|
428
|
+
u !== void 0 && (_e(u), w = "" + u), et(n) && (_e(n.key), w = "" + n.key), jt(n) && (H = n.ref, Se(n, k));
|
|
429
429
|
for (E in n)
|
|
430
|
-
|
|
430
|
+
le.call(n, E) && !ot.hasOwnProperty(E) && (N[E] = n[E]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
432
432
|
var F = t.defaultProps;
|
|
433
433
|
for (E in F)
|
|
434
|
-
|
|
434
|
+
N[E] === void 0 && (N[E] = F[E]);
|
|
435
435
|
}
|
|
436
|
-
if (w ||
|
|
437
|
-
var
|
|
438
|
-
w &&
|
|
436
|
+
if (w || H) {
|
|
437
|
+
var O = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
+
w && Te(N, O), H && ke(N, O);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return $e(t, w, H, k, _, Ne.current, N);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
function
|
|
443
|
+
var ze = y.ReactCurrentOwner, tt = y.ReactDebugCurrentFrame;
|
|
444
|
+
function ee(t) {
|
|
445
445
|
if (t) {
|
|
446
|
-
var n = t._owner,
|
|
447
|
-
|
|
446
|
+
var n = t._owner, u = fe(t.type, t._source, n ? n.type : null);
|
|
447
|
+
tt.setExtraStackFrame(u);
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
tt.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
451
|
+
var ce;
|
|
452
|
+
ce = !1;
|
|
453
|
+
function de(t) {
|
|
454
454
|
return typeof t == "object" && t !== null && t.$$typeof === s;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function b() {
|
|
457
457
|
{
|
|
458
|
-
if (
|
|
459
|
-
var t =
|
|
458
|
+
if (ze.current) {
|
|
459
|
+
var t = $(ze.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -465,152 +465,152 @@ Check the render method of \`` + t + "`.";
|
|
|
465
465
|
return "";
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function L(t) {
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var te = {};
|
|
472
|
-
function
|
|
472
|
+
function re(t) {
|
|
473
473
|
{
|
|
474
|
-
var n =
|
|
474
|
+
var n = b();
|
|
475
475
|
if (!n) {
|
|
476
|
-
var
|
|
477
|
-
|
|
476
|
+
var u = typeof t == "string" ? t : t.displayName || t.name;
|
|
477
|
+
u && (n = `
|
|
478
478
|
|
|
479
|
-
Check the top-level render call using <` +
|
|
479
|
+
Check the top-level render call using <` + u + ">.");
|
|
480
480
|
}
|
|
481
481
|
return n;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function ae(t, n) {
|
|
485
485
|
{
|
|
486
486
|
if (!t._store || t._store.validated || t.key != null)
|
|
487
487
|
return;
|
|
488
488
|
t._store.validated = !0;
|
|
489
|
-
var
|
|
490
|
-
if (te[
|
|
489
|
+
var u = re(n);
|
|
490
|
+
if (te[u])
|
|
491
491
|
return;
|
|
492
|
-
te[
|
|
493
|
-
var
|
|
494
|
-
t && t._owner && t._owner !==
|
|
492
|
+
te[u] = !0;
|
|
493
|
+
var _ = "";
|
|
494
|
+
t && t._owner && t._owner !== ze.current && (_ = " It was passed a child from " + $(t._owner.type) + "."), ee(t), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, _), ee(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function ue(t, n) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof t != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
502
|
-
for (var
|
|
503
|
-
var
|
|
504
|
-
|
|
501
|
+
if (He(t))
|
|
502
|
+
for (var u = 0; u < t.length; u++) {
|
|
503
|
+
var _ = t[u];
|
|
504
|
+
de(_) && ae(_, n);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (de(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
|
-
var k =
|
|
509
|
+
var k = g(t);
|
|
510
510
|
if (typeof k == "function" && k !== t.entries)
|
|
511
|
-
for (var E = k.call(t),
|
|
512
|
-
|
|
511
|
+
for (var E = k.call(t), N; !(N = E.next()).done; )
|
|
512
|
+
de(N.value) && ae(N.value, n);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Ee(t) {
|
|
517
517
|
{
|
|
518
518
|
var n = t.type;
|
|
519
519
|
if (n == null || typeof n == "string")
|
|
520
520
|
return;
|
|
521
|
-
var
|
|
521
|
+
var u;
|
|
522
522
|
if (typeof n == "function")
|
|
523
|
-
|
|
523
|
+
u = n.propTypes;
|
|
524
524
|
else if (typeof n == "object" && (n.$$typeof === h || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
526
|
n.$$typeof === f))
|
|
527
|
-
|
|
527
|
+
u = n.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
|
-
if (
|
|
531
|
-
var
|
|
532
|
-
|
|
533
|
-
} else if (n.PropTypes !== void 0 && !
|
|
534
|
-
|
|
535
|
-
var k =
|
|
536
|
-
|
|
530
|
+
if (u) {
|
|
531
|
+
var _ = $(n);
|
|
532
|
+
rt(u, t.props, "prop", _, t);
|
|
533
|
+
} else if (n.PropTypes !== void 0 && !ce) {
|
|
534
|
+
ce = !0;
|
|
535
|
+
var k = $(n);
|
|
536
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
537
537
|
}
|
|
538
|
-
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved &&
|
|
538
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function lt(t) {
|
|
542
542
|
{
|
|
543
|
-
for (var n = Object.keys(t.props),
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
546
|
-
|
|
543
|
+
for (var n = Object.keys(t.props), u = 0; u < n.length; u++) {
|
|
544
|
+
var _ = n[u];
|
|
545
|
+
if (_ !== "children" && _ !== "key") {
|
|
546
|
+
ee(t), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), ee(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
t.ref !== null && (
|
|
550
|
+
t.ref !== null && (ee(t), S("Invalid attribute `ref` supplied to `React.Fragment`."), ee(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var bt = {};
|
|
554
|
+
function yt(t, n, u, _, k, E) {
|
|
555
555
|
{
|
|
556
|
-
var
|
|
557
|
-
if (!
|
|
556
|
+
var N = he(t);
|
|
557
|
+
if (!N) {
|
|
558
558
|
var w = "";
|
|
559
559
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (w += " 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 H = L();
|
|
561
|
+
H ? w += H : w += b();
|
|
562
562
|
var F;
|
|
563
|
-
t === null ? F = "null" :
|
|
563
|
+
t === null ? F = "null" : He(t) ? F = "array" : t !== void 0 && t.$$typeof === s ? (F = "<" + ($(t.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, w);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
568
|
-
if (
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
565
|
+
var O = Ve(t, n, u, k, E);
|
|
566
|
+
if (O == null)
|
|
567
|
+
return O;
|
|
568
|
+
if (N) {
|
|
569
|
+
var J = n.children;
|
|
570
|
+
if (J !== void 0)
|
|
571
|
+
if (_)
|
|
572
|
+
if (He(J)) {
|
|
573
|
+
for (var Re = 0; Re < J.length; Re++)
|
|
574
|
+
ue(J[Re], t);
|
|
575
|
+
Object.freeze && Object.freeze(J);
|
|
576
576
|
} else
|
|
577
|
-
|
|
577
|
+
S("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
|
+
ue(J, t);
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
582
|
-
var je =
|
|
583
|
-
return
|
|
584
|
-
}),
|
|
585
|
-
if (!
|
|
586
|
-
var
|
|
587
|
-
|
|
581
|
+
if (le.call(n, "key")) {
|
|
582
|
+
var je = $(t), z = Object.keys(n).filter(function(Qt) {
|
|
583
|
+
return Qt !== "key";
|
|
584
|
+
}), ct = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!bt[je + ct]) {
|
|
586
|
+
var Xt = z.length > 0 ? "{" + z.join(": ..., ") + ": ...}" : "{}";
|
|
587
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
590
590
|
React keys must be passed directly to JSX without using spread:
|
|
591
591
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`,
|
|
592
|
+
<%s key={someKey} {...props} />`, ct, je, Xt, je), bt[je + ct] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return t ===
|
|
595
|
+
return t === d ? lt(O) : Ee(O), O;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
return
|
|
598
|
+
function Gt(t, n, u) {
|
|
599
|
+
return yt(t, n, u, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function Kt(t, n, u) {
|
|
602
|
+
return yt(t, n, u, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
|
|
606
|
-
})()),
|
|
604
|
+
var Jt = Kt, Zt = Gt;
|
|
605
|
+
Ge.Fragment = d, Ge.jsx = Jt, Ge.jsxs = Zt;
|
|
606
|
+
})()), Ge;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Nt;
|
|
609
|
+
function sa() {
|
|
610
|
+
return Nt || (Nt = 1, process.env.NODE_ENV === "production" ? at.exports = ta() : at.exports = aa()), at.exports;
|
|
611
611
|
}
|
|
612
|
-
var e =
|
|
613
|
-
const
|
|
612
|
+
var e = sa();
|
|
613
|
+
const na = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const sa = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, ra = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,85 +706,85 @@ const sa = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
712
|
-
},
|
|
709
|
+
}, ia = {
|
|
710
|
+
en: na,
|
|
711
|
+
hi: ra
|
|
712
|
+
}, Ht = Wt(null), Wr = ({
|
|
713
713
|
locale: a,
|
|
714
714
|
children: s
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ e.jsx(
|
|
716
|
+
const d = { locale: a, t: (c) => ia[a]?.[c] ?? c };
|
|
717
|
+
return /* @__PURE__ */ e.jsx(Ht.Provider, { value: d, children: s });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function vt() {
|
|
720
|
+
return Ut(Ht);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const a =
|
|
722
|
+
const $t = Wt(void 0), Vt = () => {
|
|
723
|
+
const a = Ut($t);
|
|
724
724
|
if (!a)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return a;
|
|
727
|
-
},
|
|
727
|
+
}, Hr = ({
|
|
728
728
|
children: a
|
|
729
729
|
}) => {
|
|
730
|
-
const [s, l] =
|
|
730
|
+
const [s, l] = C(null), [d, c] = C(!1);
|
|
731
731
|
return /* @__PURE__ */ e.jsx(
|
|
732
|
-
|
|
732
|
+
$t.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: s,
|
|
736
736
|
setUserData: l,
|
|
737
|
-
showSuccess:
|
|
737
|
+
showSuccess: d,
|
|
738
738
|
setShowSuccess: c
|
|
739
739
|
},
|
|
740
740
|
children: a
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, oa = "_landingPage_1fap9_1", St = {
|
|
744
|
+
landingPage: oa,
|
|
745
745
|
"sf-select": "_sf-select_1fap9_12"
|
|
746
|
-
},
|
|
747
|
-
const l =
|
|
746
|
+
}, la = ({ targetDate: a }) => {
|
|
747
|
+
const l = vt()?.t || ((o) => o), d = () => {
|
|
748
748
|
const h = (typeof a == "string" ? new Date(a) : a).getTime() - Date.now();
|
|
749
749
|
if (h > 0) {
|
|
750
750
|
const v = Math.floor(h / 864e5), p = Math.floor(h % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), f = Math.floor(h % (1e3 * 60 * 60) / (1e3 * 60)), x = Math.floor(h % (1e3 * 60) / 1e3);
|
|
751
751
|
return { days: v, hours: p, minutes: f, seconds: x };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [c, m] =
|
|
755
|
-
|
|
756
|
-
m(
|
|
754
|
+
}, [c, m] = C({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
|
+
D(() => {
|
|
756
|
+
m(d());
|
|
757
757
|
const o = setInterval(() => {
|
|
758
|
-
m(
|
|
758
|
+
m(d());
|
|
759
759
|
}, 1e3);
|
|
760
760
|
return () => clearInterval(o);
|
|
761
761
|
}, [a]);
|
|
762
|
-
const
|
|
762
|
+
const r = (o) => o.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:
|
|
766
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.days) }),
|
|
767
767
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("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:
|
|
771
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.hours) }),
|
|
772
772
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("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:
|
|
776
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.minutes) }),
|
|
777
777
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("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:
|
|
781
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.seconds) }),
|
|
782
782
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
785
785
|
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: l("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, ca = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -800,7 +800,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Tt = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -870,14 +870,14 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], da = "Share the Blessings", ua = "Invite family to join daily Puja. Bring change to their lives.", kt = "Share on WhatsApp", pa = "Your 7-Day Journey", ha = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", ma = (a, s) => `${a} of ${s} days attended. Keep going!`, fa = "Explore Sri Mandir", xa = "Explore Sri Mandir", ga = "BEST VALUE", _a = "Unlimited Daily Puja", va = "Never miss a sacred morning. Subscribe for full access, every day.", ja = "Unlimited live access, every single day", ba = "Daily WhatsApp reminders before Puja start", ya = "https://srm-cdn.a4b.io/yoda/1776255523256.png", wa = "/ Week", Ca = "Start Subscription", Na = "No charge today. Cancel Anytime", pe = {
|
|
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
|
+
}, zt = [
|
|
881
881
|
{
|
|
882
882
|
id: "fallback-pranam",
|
|
883
883
|
name: "Pranam",
|
|
@@ -910,20 +910,20 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
910
910
|
image_url: "https://srimandirweb.s3.ap-south-1.amazonaws.com/custom_2e32016966.png",
|
|
911
911
|
isCustom: !0
|
|
912
912
|
}
|
|
913
|
-
],
|
|
913
|
+
], Sa = {
|
|
914
914
|
sbox: "blog-admin-sbox.srimandir.com",
|
|
915
915
|
prod: "blog-admin.srimandir.com"
|
|
916
|
-
},
|
|
916
|
+
}, Ta = "?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", ka = 1500, Ea = 5e3, Ra = 1200, Ia = {
|
|
917
917
|
autoplay: 1,
|
|
918
918
|
mute: 1,
|
|
919
919
|
controls: 0,
|
|
920
920
|
playsinline: 1
|
|
921
|
-
},
|
|
921
|
+
}, Et = [
|
|
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
|
+
], Pa = [
|
|
927
927
|
{
|
|
928
928
|
id: "curated-pujas",
|
|
929
929
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
@@ -954,7 +954,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
954
954
|
title: "Write Manokamna Live Chat",
|
|
955
955
|
description: "Be heard instantly your wish, live in the ritual"
|
|
956
956
|
}
|
|
957
|
-
],
|
|
957
|
+
], La = [
|
|
958
958
|
{
|
|
959
959
|
id: "ramesh",
|
|
960
960
|
name: "Ramesh Pandey",
|
|
@@ -973,21 +973,21 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
973
973
|
quote: "Maine pehle kabhi live puja join nahi ki thi. Daily reminders se meri morning spiritual routine set ho gayi.",
|
|
974
974
|
ctaLabel: "...Read More"
|
|
975
975
|
}
|
|
976
|
-
],
|
|
976
|
+
], $r = ({
|
|
977
977
|
targetDate: a,
|
|
978
978
|
onSubmit: s,
|
|
979
979
|
isGlobal: l = !1,
|
|
980
|
-
analytics:
|
|
980
|
+
analytics: d,
|
|
981
981
|
showToast: c
|
|
982
982
|
}) => {
|
|
983
|
-
const
|
|
984
|
-
(
|
|
983
|
+
const r = vt()?.t || ((T) => T), [o, h] = C(l ? "+1" : "+91"), [v, p] = C(!1), { setUserData: f, setShowSuccess: x } = Vt(), [j, R] = C(""), [A, g] = C(""), y = U(!1), S = `${o}-${A}`, W = Tt.find(
|
|
984
|
+
(T) => T.code === o
|
|
985
985
|
);
|
|
986
|
-
|
|
987
|
-
!
|
|
988
|
-
}, [
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
986
|
+
D(() => {
|
|
987
|
+
!y.current && d?.trackLandingPageViewed && (d.trackLandingPageViewed(), y.current = !0);
|
|
988
|
+
}, [d]);
|
|
989
|
+
const B = (T) => {
|
|
990
|
+
if (T.preventDefault(), !j || j.trim() === "") {
|
|
991
991
|
c?.("error", "Please enter your name");
|
|
992
992
|
return;
|
|
993
993
|
}
|
|
@@ -995,82 +995,82 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
995
995
|
c?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
998
|
-
|
|
998
|
+
d?.trackSubmitClicked?.(), f({ name: j, fullPhoneNumber: S }), c?.("success", "Registration Successful"), x(!0), s?.({ name: j, fullPhoneNumber: S });
|
|
999
999
|
};
|
|
1000
|
-
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1000
|
+
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: St.landingPage, children: [
|
|
1001
1001
|
/* @__PURE__ */ e.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsx(
|
|
1002
1002
|
"img",
|
|
1003
1003
|
{
|
|
1004
1004
|
src: "https://srm-cdn.a4b.io/yoda/1774445719594.webp",
|
|
1005
|
-
alt:
|
|
1005
|
+
alt: r("eventTitle"),
|
|
1006
1006
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
1007
1007
|
}
|
|
1008
1008
|
) }),
|
|
1009
|
-
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(
|
|
1009
|
+
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(la, { targetDate: a }) }),
|
|
1010
1010
|
/* @__PURE__ */ e.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
1011
1011
|
/* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
1012
1012
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
1013
1013
|
"img",
|
|
1014
1014
|
{
|
|
1015
1015
|
src: "https://srm-cdn.a4b.io/yoda/1774092358685.png",
|
|
1016
|
-
alt:
|
|
1016
|
+
alt: r("panditName"),
|
|
1017
1017
|
className: "w-[88px] h-[88px] rounded-full object-cover"
|
|
1018
1018
|
}
|
|
1019
1019
|
) }),
|
|
1020
1020
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1021
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children:
|
|
1022
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children:
|
|
1021
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children: r("panditName") }),
|
|
1022
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: r("panditCredentials") })
|
|
1023
1023
|
] })
|
|
1024
1024
|
] }),
|
|
1025
1025
|
/* @__PURE__ */ e.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-2" })
|
|
1026
1026
|
] }),
|
|
1027
1027
|
/* @__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: [
|
|
1028
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children:
|
|
1029
|
-
/* @__PURE__ */ e.jsxs("form", { onSubmit:
|
|
1028
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: r("formTitle") }),
|
|
1029
|
+
/* @__PURE__ */ e.jsxs("form", { onSubmit: B, className: "space-y-4", children: [
|
|
1030
1030
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1031
|
-
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
1031
|
+
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: r("nameLabel") }),
|
|
1032
1032
|
/* @__PURE__ */ e.jsx(
|
|
1033
1033
|
"input",
|
|
1034
1034
|
{
|
|
1035
1035
|
type: "text",
|
|
1036
|
-
value:
|
|
1037
|
-
onChange: (
|
|
1038
|
-
|
|
1036
|
+
value: j,
|
|
1037
|
+
onChange: (T) => {
|
|
1038
|
+
R(T.target.value), T.target.value && !j && d?.trackNameFilled?.();
|
|
1039
1039
|
},
|
|
1040
|
-
onFocus: () =>
|
|
1041
|
-
placeholder:
|
|
1040
|
+
onFocus: () => d?.trackNameClicked?.(),
|
|
1041
|
+
placeholder: r("namePlaceholder"),
|
|
1042
1042
|
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]",
|
|
1043
1043
|
required: !0
|
|
1044
1044
|
}
|
|
1045
1045
|
)
|
|
1046
1046
|
] }),
|
|
1047
1047
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1048
|
-
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
1048
|
+
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: r("whatsappLabel") }),
|
|
1049
1049
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-2", children: [
|
|
1050
1050
|
/* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsxs("div", { className: "relative w-20", children: [
|
|
1051
1051
|
/* @__PURE__ */ e.jsx(
|
|
1052
1052
|
"div",
|
|
1053
1053
|
{
|
|
1054
1054
|
onClick: () => p(!v),
|
|
1055
|
-
className: `${
|
|
1056
|
-
children:
|
|
1055
|
+
className: `${St["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
1056
|
+
children: W?.code
|
|
1057
1057
|
}
|
|
1058
1058
|
),
|
|
1059
|
-
v && /* @__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:
|
|
1059
|
+
v && /* @__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: Tt.map((T) => /* @__PURE__ */ e.jsxs(
|
|
1060
1060
|
"div",
|
|
1061
1061
|
{
|
|
1062
1062
|
onClick: () => {
|
|
1063
|
-
h(
|
|
1063
|
+
h(T.code), p(!1);
|
|
1064
1064
|
},
|
|
1065
1065
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
1066
1066
|
children: [
|
|
1067
|
-
|
|
1067
|
+
T.country,
|
|
1068
1068
|
" (",
|
|
1069
|
-
|
|
1069
|
+
T.code,
|
|
1070
1070
|
")"
|
|
1071
1071
|
]
|
|
1072
1072
|
},
|
|
1073
|
-
|
|
1073
|
+
T.code
|
|
1074
1074
|
)) })
|
|
1075
1075
|
] }) }),
|
|
1076
1076
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1078,12 +1078,12 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1078
1078
|
{
|
|
1079
1079
|
type: "tel",
|
|
1080
1080
|
value: A,
|
|
1081
|
-
onChange: (
|
|
1082
|
-
const
|
|
1083
|
-
|
|
1081
|
+
onChange: (T) => {
|
|
1082
|
+
const Y = T.target.value.replace(/\D/g, "");
|
|
1083
|
+
g(Y), Y && !A && d?.trackPhoneFilled?.();
|
|
1084
1084
|
},
|
|
1085
|
-
onFocus: () =>
|
|
1086
|
-
placeholder:
|
|
1085
|
+
onFocus: () => d?.trackPhoneClicked?.(),
|
|
1086
|
+
placeholder: r("whatsappPlaceholder"),
|
|
1087
1087
|
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]",
|
|
1088
1088
|
maxLength: 10,
|
|
1089
1089
|
required: !0
|
|
@@ -1096,216 +1096,214 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1096
1096
|
{
|
|
1097
1097
|
type: "submit",
|
|
1098
1098
|
className: "w-full bg-[#E34331] text-white text-[16px] font-semibold py-4 rounded-lg hover:bg-[#C83728] transition-colors shadow-lg",
|
|
1099
|
-
children:
|
|
1099
|
+
children: r("ctaButton")
|
|
1100
1100
|
}
|
|
1101
1101
|
)
|
|
1102
1102
|
] }),
|
|
1103
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children:
|
|
1103
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: r("formDisclaimer") }),
|
|
1104
1104
|
/* @__PURE__ */ e.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-6 px-8" })
|
|
1105
1105
|
] }) }),
|
|
1106
1106
|
/* @__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: [
|
|
1107
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children:
|
|
1108
|
-
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children:
|
|
1109
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1107
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: r("expectTitle") }),
|
|
1108
|
+
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children: ca.map((T, Y) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1109
|
+
/* @__PURE__ */ e.jsx("img", { src: T.icon, alt: "", className: "w-10 h-10" }),
|
|
1110
1110
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1111
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children:
|
|
1112
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[12px]", children:
|
|
1111
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: r(T.titleKey) }),
|
|
1112
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[12px]", children: r(T.descKey) })
|
|
1113
1113
|
] })
|
|
1114
|
-
] },
|
|
1114
|
+
] }, Y)) })
|
|
1115
1115
|
] }) })
|
|
1116
1116
|
] }) });
|
|
1117
|
-
},
|
|
1118
|
-
successPage:
|
|
1119
|
-
profileImageContainer:
|
|
1120
|
-
profileImage:
|
|
1121
|
-
greeting:
|
|
1122
|
-
jaiShreeRam:
|
|
1123
|
-
userName:
|
|
1124
|
-
registrationCard:
|
|
1125
|
-
registeredText:
|
|
1126
|
-
eventName:
|
|
1127
|
-
eventDetails:
|
|
1128
|
-
whatsappButton:
|
|
1129
|
-
redirectInfo:
|
|
1130
|
-
redirectText:
|
|
1131
|
-
countdown:
|
|
1132
|
-
nextSteps:
|
|
1133
|
-
nextStepsTitle:
|
|
1134
|
-
stepsList:
|
|
1135
|
-
step:
|
|
1136
|
-
stepNumber:
|
|
1137
|
-
stepText:
|
|
1138
|
-
},
|
|
1117
|
+
}, Aa = "_successPage_8t8j5_1", Fa = "_profileImageContainer_8t8j5_7", Da = "_profileImage_8t8j5_7", Ba = "_greeting_8t8j5_19", Oa = "_jaiShreeRam_8t8j5_23", qa = "_userName_8t8j5_29", Ma = "_registrationCard_8t8j5_34", Ua = "_registeredText_8t8j5_48", Wa = "_eventName_8t8j5_53", Ha = "_eventDetails_8t8j5_61", $a = "_whatsappButton_8t8j5_66", Va = "_redirectInfo_8t8j5_75", za = "_redirectText_8t8j5_79", Ya = "_countdown_8t8j5_84", Ga = "_nextSteps_8t8j5_90", Ka = "_nextStepsTitle_8t8j5_96", Ja = "_stepsList_8t8j5_101", Za = "_step_8t8j5_101", Xa = "_stepNumber_8t8j5_109", Qa = "_stepText_8t8j5_113", I = {
|
|
1118
|
+
successPage: Aa,
|
|
1119
|
+
profileImageContainer: Fa,
|
|
1120
|
+
profileImage: Da,
|
|
1121
|
+
greeting: Ba,
|
|
1122
|
+
jaiShreeRam: Oa,
|
|
1123
|
+
userName: qa,
|
|
1124
|
+
registrationCard: Ma,
|
|
1125
|
+
registeredText: Ua,
|
|
1126
|
+
eventName: Wa,
|
|
1127
|
+
eventDetails: Ha,
|
|
1128
|
+
whatsappButton: $a,
|
|
1129
|
+
redirectInfo: Va,
|
|
1130
|
+
redirectText: za,
|
|
1131
|
+
countdown: Ya,
|
|
1132
|
+
nextSteps: Ga,
|
|
1133
|
+
nextStepsTitle: Ka,
|
|
1134
|
+
stepsList: Ja,
|
|
1135
|
+
step: Za,
|
|
1136
|
+
stepNumber: Xa,
|
|
1137
|
+
stepText: Qa
|
|
1138
|
+
}, es = "918151810300", ts = "I'm interested in the Rasrajji Hanuman Jayanti Path", Rt = `https://wa.me/${es}?text=${encodeURIComponent(ts)}`, Vr = ({
|
|
1139
1139
|
userName: a = "Rahul",
|
|
1140
1140
|
eventName: s = "Hanuman Jayanti Maha Path",
|
|
1141
1141
|
eventDate: l = "2nd April",
|
|
1142
|
-
eventTime:
|
|
1142
|
+
eventTime: d = "9:00 AM onwards",
|
|
1143
1143
|
onWhatsAppClick: c,
|
|
1144
1144
|
redirectSeconds: m = 10,
|
|
1145
|
-
analytics:
|
|
1145
|
+
analytics: r,
|
|
1146
1146
|
showToast: o,
|
|
1147
1147
|
disableRedirect: h = !1
|
|
1148
1148
|
}) => {
|
|
1149
|
-
const p =
|
|
1150
|
-
return
|
|
1151
|
-
!
|
|
1149
|
+
const p = vt()?.t || ((g) => g), { userData: f } = Vt(), [x, j] = C(m), R = U(!1), A = f?.name || a;
|
|
1150
|
+
return D(() => {
|
|
1151
|
+
!R.current && r?.trackSuccessPageViewed && (r.trackSuccessPageViewed({
|
|
1152
1152
|
name: f?.name,
|
|
1153
1153
|
phone: f?.fullPhoneNumber
|
|
1154
|
-
}),
|
|
1155
|
-
}, [
|
|
1154
|
+
}), R.current = !0);
|
|
1155
|
+
}, [r, f?.name, f?.fullPhoneNumber]), D(() => {
|
|
1156
1156
|
if (!h)
|
|
1157
1157
|
if (x > 0) {
|
|
1158
|
-
const
|
|
1159
|
-
return () => clearTimeout(
|
|
1160
|
-
} else x === 0 && (window.location.href =
|
|
1161
|
-
}, [x, h]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1162
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1158
|
+
const g = setTimeout(() => j(x - 1), 1e3);
|
|
1159
|
+
return () => clearTimeout(g);
|
|
1160
|
+
} else x === 0 && (window.location.href = Rt);
|
|
1161
|
+
}, [x, h]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: I.successPage, children: [
|
|
1162
|
+
/* @__PURE__ */ e.jsx("div", { className: I.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
1163
1163
|
"img",
|
|
1164
1164
|
{
|
|
1165
1165
|
src: "https://srm-cdn.a4b.io/yoda/1774094253562.webp",
|
|
1166
1166
|
alt: "Profile",
|
|
1167
|
-
className:
|
|
1167
|
+
className: I.profileImage,
|
|
1168
1168
|
width: 88,
|
|
1169
1169
|
height: 88,
|
|
1170
1170
|
loading: "eager"
|
|
1171
1171
|
}
|
|
1172
1172
|
) }),
|
|
1173
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1174
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1175
|
-
/* @__PURE__ */ e.jsxs("h1", { className:
|
|
1173
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.greeting, children: [
|
|
1174
|
+
/* @__PURE__ */ e.jsx("p", { className: I.jaiShreeRam, children: p("jaiShreeRam") }),
|
|
1175
|
+
/* @__PURE__ */ e.jsxs("h1", { className: I.userName, children: [
|
|
1176
1176
|
p("namaste"),
|
|
1177
1177
|
", ",
|
|
1178
1178
|
A,
|
|
1179
1179
|
" Ji"
|
|
1180
1180
|
] })
|
|
1181
1181
|
] }),
|
|
1182
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1183
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1184
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1185
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1182
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.registrationCard, children: [
|
|
1183
|
+
/* @__PURE__ */ e.jsx("p", { className: I.registeredText, children: p("registeredFor") }),
|
|
1184
|
+
/* @__PURE__ */ e.jsx("h2", { className: I.eventName, children: s }),
|
|
1185
|
+
/* @__PURE__ */ e.jsxs("p", { className: I.eventDetails, children: [
|
|
1186
1186
|
l,
|
|
1187
1187
|
" · ",
|
|
1188
|
-
|
|
1188
|
+
d
|
|
1189
1189
|
] })
|
|
1190
1190
|
] }),
|
|
1191
1191
|
/* @__PURE__ */ e.jsx(
|
|
1192
1192
|
"button",
|
|
1193
1193
|
{
|
|
1194
|
-
className:
|
|
1194
|
+
className: I.whatsappButton,
|
|
1195
1195
|
onClick: () => {
|
|
1196
|
-
|
|
1197
|
-
window.location.href =
|
|
1196
|
+
r?.trackWhatsappBtnClicked?.(), o?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1197
|
+
window.location.href = Rt;
|
|
1198
1198
|
}, 500), c?.();
|
|
1199
1199
|
},
|
|
1200
1200
|
type: "button",
|
|
1201
1201
|
children: p("sendlinkonwhatsapp")
|
|
1202
1202
|
}
|
|
1203
1203
|
),
|
|
1204
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1205
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1206
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1204
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.redirectInfo, children: [
|
|
1205
|
+
/* @__PURE__ */ e.jsx("p", { className: I.redirectText, children: p("redirectingIn") }),
|
|
1206
|
+
/* @__PURE__ */ e.jsxs("p", { className: I.countdown, children: [
|
|
1207
1207
|
x.toString().padStart(2, "0"),
|
|
1208
1208
|
" ",
|
|
1209
1209
|
p("seconds")
|
|
1210
1210
|
] })
|
|
1211
1211
|
] }),
|
|
1212
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1213
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1214
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1215
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1216
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1217
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1212
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.nextSteps, children: [
|
|
1213
|
+
/* @__PURE__ */ e.jsx("h3", { className: I.nextStepsTitle, children: p("whatHappensNext") }),
|
|
1214
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.stepsList, children: [
|
|
1215
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.step, children: [
|
|
1216
|
+
/* @__PURE__ */ e.jsx("span", { className: I.stepNumber, children: "1" }),
|
|
1217
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepText, children: p("step1") })
|
|
1218
1218
|
] }),
|
|
1219
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1220
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1221
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1219
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.step, children: [
|
|
1220
|
+
/* @__PURE__ */ e.jsx("span", { className: I.stepNumber, children: "2" }),
|
|
1221
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepText, children: p("step2") })
|
|
1222
1222
|
] }),
|
|
1223
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1224
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1225
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1223
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.step, children: [
|
|
1224
|
+
/* @__PURE__ */ e.jsx("span", { className: I.stepNumber, children: "3" }),
|
|
1225
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepText, children: p("step3") })
|
|
1226
1226
|
] })
|
|
1227
1227
|
] })
|
|
1228
1228
|
] })
|
|
1229
1229
|
] }) });
|
|
1230
|
-
},
|
|
1231
|
-
container:
|
|
1232
|
-
video:
|
|
1233
|
-
videoFullscreenWithBelowBanner:
|
|
1234
|
-
banner:
|
|
1235
|
-
bannerCard:
|
|
1236
|
-
bannerTitle:
|
|
1237
|
-
pujaTopTitle:
|
|
1238
|
-
landscapeHeader:
|
|
1239
|
-
scroll:
|
|
1240
|
-
landscapeScroll:
|
|
1241
|
-
card:
|
|
1242
|
-
divider:
|
|
1243
|
-
chat:
|
|
1244
|
-
iframe:
|
|
1245
|
-
fullscreenBtn:
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
fullscreenChatPanel: _s,
|
|
1249
|
-
chatLoader: js,
|
|
1230
|
+
}, as = "_container_qiuai_2", ss = "_video_qiuai_26", ns = "_videoFullscreenWithBelowBanner_qiuai_38", rs = "_banner_qiuai_45", is = "_bannerCard_qiuai_62", os = "_bannerTitle_qiuai_71", ls = "_pujaTopTitle_qiuai_97", cs = "_landscapeHeader_qiuai_120", ds = "_scroll_qiuai_140", us = "_landscapeScroll_qiuai_148", ps = "_card_qiuai_156", hs = "_divider_qiuai_178", ms = "_chat_qiuai_187", fs = "_iframe_qiuai_194", xs = "_fullscreenBtn_qiuai_201", gs = "_fullscreenChatPanel_qiuai_299", _s = "_chatLoader_qiuai_315", vs = "_chatLoaderCompact_qiuai_328", js = "_spinner_qiuai_332", bs = "_chatLoaderText_qiuai_346", ys = "_imageWrapper_qiuai_361", ws = "_image_qiuai_361", Cs = "_addBtn_qiuai_378", Ns = "_title_qiuai_391", Ss = "_price_qiuai_402", Ts = "_priceRow_qiuai_412", ks = "_landscapeCard_qiuai_436", Es = "_landscapeImageWrapper_qiuai_458", Rs = "_landscapeImage_qiuai_458", Is = "_landscapeContent_qiuai_475", Ps = "_landscapeTitle_qiuai_486", Ls = "_landscapePriceRow_qiuai_500", As = "_landscapePrice_qiuai_500", Fs = "_landscapeAdd_qiuai_550", Ds = "_carousel_qiuai_615", Bs = "_carouselLoader_qiuai_633", Os = "_customSheetOverlay_qiuai_641", qs = "_customSheet_qiuai_641", Ms = "_customSheetTitle_qiuai_662", Us = "_customSheetRow_qiuai_672", Ws = "_customInputWrap_qiuai_678", Hs = "_currencySymbol_qiuai_684", $s = "_customInput_qiuai_678", Vs = "_customContinueBtn_qiuai_713", zs = "_pujaBanner_qiuai_835", Ys = "_pujaWrapperVertical_qiuai_847", Gs = "_pujaCardVertical_qiuai_864", Ks = "_pujaImage_qiuai_880", Js = "_pujaContent_qiuai_890", Zs = "_pujaTitle_qiuai_896", Xs = "_pujaSub_qiuai_911", Qs = "_locationIcon_qiuai_928", en = "_dateIcon_qiuai_934", tn = "_pujaTrustmakers_qiuai_941", an = "_pujaMetaText_qiuai_958", sn = "_pujaCardHorizontal_qiuai_967", nn = "_pujaImageHorizontal_qiuai_984", rn = "_pujaContentHorizontal_qiuai_994", on = "_pujaTitleHorizontal_qiuai_1024", ln = "_pujaSubHorizontal_qiuai_1039", cn = "_stickyTabs_qiuai_1056", dn = "_landscapeLayout_qiuai_1064", un = "_landscapeLeft_qiuai_1072", pn = "_landscapeRight_qiuai_1079", hn = "_landscapePanelHeader_qiuai_1089", mn = "_landscapeCloseBtn_qiuai_1097", fn = "_landscapePanelBody_qiuai_1115", xn = "_landscapeChat_qiuai_1122", gn = "_fullscreenPanelHeader_qiuai_1129", _n = "_fullscreenChatCloseBtn_qiuai_1137", vn = "_fullscreenPanelScroll_qiuai_1157", jn = "_sectionsScroll_qiuai_1238", bn = "_fullscreenWithPanel_qiuai_1247", yn = "_fullscreenLeft_qiuai_1257", wn = "_fullscreenVideoArea_qiuai_1266", i = {
|
|
1231
|
+
container: as,
|
|
1232
|
+
video: ss,
|
|
1233
|
+
videoFullscreenWithBelowBanner: ns,
|
|
1234
|
+
banner: rs,
|
|
1235
|
+
bannerCard: is,
|
|
1236
|
+
bannerTitle: os,
|
|
1237
|
+
pujaTopTitle: ls,
|
|
1238
|
+
landscapeHeader: cs,
|
|
1239
|
+
scroll: ds,
|
|
1240
|
+
landscapeScroll: us,
|
|
1241
|
+
card: ps,
|
|
1242
|
+
divider: hs,
|
|
1243
|
+
chat: ms,
|
|
1244
|
+
iframe: fs,
|
|
1245
|
+
fullscreenBtn: xs,
|
|
1246
|
+
fullscreenChatPanel: gs,
|
|
1247
|
+
chatLoader: _s,
|
|
1250
1248
|
chatLoaderCompact: vs,
|
|
1251
|
-
spinner:
|
|
1252
|
-
chatLoaderText:
|
|
1253
|
-
imageWrapper:
|
|
1254
|
-
image:
|
|
1255
|
-
addBtn:
|
|
1256
|
-
title:
|
|
1257
|
-
price:
|
|
1258
|
-
priceRow:
|
|
1259
|
-
landscapeCard:
|
|
1260
|
-
landscapeImageWrapper:
|
|
1249
|
+
spinner: js,
|
|
1250
|
+
chatLoaderText: bs,
|
|
1251
|
+
imageWrapper: ys,
|
|
1252
|
+
image: ws,
|
|
1253
|
+
addBtn: Cs,
|
|
1254
|
+
title: Ns,
|
|
1255
|
+
price: Ss,
|
|
1256
|
+
priceRow: Ts,
|
|
1257
|
+
landscapeCard: ks,
|
|
1258
|
+
landscapeImageWrapper: Es,
|
|
1261
1259
|
landscapeImage: Rs,
|
|
1262
1260
|
landscapeContent: Is,
|
|
1263
|
-
landscapeTitle:
|
|
1264
|
-
landscapePriceRow:
|
|
1265
|
-
landscapePrice:
|
|
1266
|
-
landscapeAdd:
|
|
1267
|
-
carousel:
|
|
1268
|
-
carouselLoader:
|
|
1269
|
-
customSheetOverlay:
|
|
1270
|
-
customSheet:
|
|
1271
|
-
customSheetTitle:
|
|
1272
|
-
customSheetRow:
|
|
1273
|
-
customInputWrap:
|
|
1274
|
-
currencySymbol:
|
|
1275
|
-
customInput:
|
|
1276
|
-
customContinueBtn:
|
|
1277
|
-
pujaBanner:
|
|
1278
|
-
pujaWrapperVertical:
|
|
1279
|
-
pujaCardVertical:
|
|
1280
|
-
pujaImage:
|
|
1281
|
-
pujaContent:
|
|
1282
|
-
pujaTitle:
|
|
1283
|
-
pujaSub:
|
|
1284
|
-
locationIcon:
|
|
1285
|
-
dateIcon:
|
|
1286
|
-
pujaTrustmakers:
|
|
1287
|
-
pujaMetaText:
|
|
1288
|
-
pujaCardHorizontal:
|
|
1289
|
-
pujaImageHorizontal:
|
|
1290
|
-
pujaContentHorizontal:
|
|
1291
|
-
pujaTitleHorizontal:
|
|
1292
|
-
pujaSubHorizontal:
|
|
1293
|
-
stickyTabs:
|
|
1294
|
-
landscapeLayout:
|
|
1295
|
-
landscapeLeft:
|
|
1296
|
-
landscapeRight:
|
|
1297
|
-
landscapePanelHeader:
|
|
1298
|
-
landscapeCloseBtn:
|
|
1299
|
-
landscapePanelBody:
|
|
1300
|
-
landscapeChat:
|
|
1301
|
-
fullscreenPanelHeader:
|
|
1302
|
-
fullscreenChatCloseBtn:
|
|
1261
|
+
landscapeTitle: Ps,
|
|
1262
|
+
landscapePriceRow: Ls,
|
|
1263
|
+
landscapePrice: As,
|
|
1264
|
+
landscapeAdd: Fs,
|
|
1265
|
+
carousel: Ds,
|
|
1266
|
+
carouselLoader: Bs,
|
|
1267
|
+
customSheetOverlay: Os,
|
|
1268
|
+
customSheet: qs,
|
|
1269
|
+
customSheetTitle: Ms,
|
|
1270
|
+
customSheetRow: Us,
|
|
1271
|
+
customInputWrap: Ws,
|
|
1272
|
+
currencySymbol: Hs,
|
|
1273
|
+
customInput: $s,
|
|
1274
|
+
customContinueBtn: Vs,
|
|
1275
|
+
pujaBanner: zs,
|
|
1276
|
+
pujaWrapperVertical: Ys,
|
|
1277
|
+
pujaCardVertical: Gs,
|
|
1278
|
+
pujaImage: Ks,
|
|
1279
|
+
pujaContent: Js,
|
|
1280
|
+
pujaTitle: Zs,
|
|
1281
|
+
pujaSub: Xs,
|
|
1282
|
+
locationIcon: Qs,
|
|
1283
|
+
dateIcon: en,
|
|
1284
|
+
pujaTrustmakers: tn,
|
|
1285
|
+
pujaMetaText: an,
|
|
1286
|
+
pujaCardHorizontal: sn,
|
|
1287
|
+
pujaImageHorizontal: nn,
|
|
1288
|
+
pujaContentHorizontal: rn,
|
|
1289
|
+
pujaTitleHorizontal: on,
|
|
1290
|
+
pujaSubHorizontal: ln,
|
|
1291
|
+
stickyTabs: cn,
|
|
1292
|
+
landscapeLayout: dn,
|
|
1293
|
+
landscapeLeft: un,
|
|
1294
|
+
landscapeRight: pn,
|
|
1295
|
+
landscapePanelHeader: hn,
|
|
1296
|
+
landscapeCloseBtn: mn,
|
|
1297
|
+
landscapePanelBody: fn,
|
|
1298
|
+
landscapeChat: xn,
|
|
1299
|
+
fullscreenPanelHeader: gn,
|
|
1300
|
+
fullscreenChatCloseBtn: _n,
|
|
1303
1301
|
fullscreenPanelScroll: vn,
|
|
1304
|
-
sectionsScroll:
|
|
1305
|
-
fullscreenWithPanel:
|
|
1306
|
-
fullscreenLeft:
|
|
1307
|
-
fullscreenVideoArea:
|
|
1308
|
-
},
|
|
1302
|
+
sectionsScroll: jn,
|
|
1303
|
+
fullscreenWithPanel: bn,
|
|
1304
|
+
fullscreenLeft: yn,
|
|
1305
|
+
fullscreenVideoArea: wn
|
|
1306
|
+
}, Cn = ({ active: a = !1 }) => /* @__PURE__ */ e.jsx(
|
|
1309
1307
|
"img",
|
|
1310
1308
|
{
|
|
1311
1309
|
src: "https://srm-cdn.a4b.io/yoda/1776257217651.svg",
|
|
@@ -1315,16 +1313,16 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1315
1313
|
"aria-hidden": "true",
|
|
1316
1314
|
style: a ? { filter: "brightness(0) invert(1)" } : void 0
|
|
1317
1315
|
}
|
|
1318
|
-
),
|
|
1316
|
+
), Nn = {
|
|
1319
1317
|
streaks: "Streaks",
|
|
1320
1318
|
share: "Share",
|
|
1321
1319
|
store: "Store",
|
|
1322
1320
|
subscription: "Subscription"
|
|
1323
|
-
},
|
|
1321
|
+
}, dt = ({
|
|
1324
1322
|
activeTab: a,
|
|
1325
1323
|
onTabChange: s,
|
|
1326
1324
|
onChatPress: l,
|
|
1327
|
-
chatOpen:
|
|
1325
|
+
chatOpen: d = !1,
|
|
1328
1326
|
showSubscription: c = !1
|
|
1329
1327
|
}) => {
|
|
1330
1328
|
const m = c ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"];
|
|
@@ -1339,11 +1337,11 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1339
1337
|
{
|
|
1340
1338
|
type: "button",
|
|
1341
1339
|
onClick: l,
|
|
1342
|
-
"aria-label":
|
|
1343
|
-
"aria-pressed":
|
|
1344
|
-
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${
|
|
1340
|
+
"aria-label": d ? "Close chat" : "Open chat",
|
|
1341
|
+
"aria-pressed": d,
|
|
1342
|
+
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${d ? "border-[#F75E22] bg-[#F75E22] text-white" : "border-gray-200 bg-transparent text-gray-800 hover:bg-gray-50"}`,
|
|
1345
1343
|
children: [
|
|
1346
|
-
/* @__PURE__ */ e.jsx(
|
|
1344
|
+
/* @__PURE__ */ e.jsx(Cn, { active: d }),
|
|
1347
1345
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-semibold whitespace-nowrap", children: "Chats" })
|
|
1348
1346
|
]
|
|
1349
1347
|
}
|
|
@@ -1360,33 +1358,33 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1360
1358
|
{
|
|
1361
1359
|
className: "flex items-stretch gap-[24px]",
|
|
1362
1360
|
"aria-label": "DLP navigation",
|
|
1363
|
-
children: m.map((
|
|
1364
|
-
const o =
|
|
1361
|
+
children: m.map((r) => {
|
|
1362
|
+
const o = r === a;
|
|
1365
1363
|
return /* @__PURE__ */ e.jsxs(
|
|
1366
1364
|
"button",
|
|
1367
1365
|
{
|
|
1368
1366
|
type: "button",
|
|
1369
1367
|
role: "tab",
|
|
1370
1368
|
"aria-selected": o,
|
|
1371
|
-
onClick: () => s(
|
|
1369
|
+
onClick: () => s(r),
|
|
1372
1370
|
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",
|
|
1373
1371
|
children: [
|
|
1374
1372
|
/* @__PURE__ */ e.jsx(
|
|
1375
1373
|
"span",
|
|
1376
1374
|
{
|
|
1377
|
-
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${o && !
|
|
1378
|
-
children:
|
|
1375
|
+
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${o && !d ? "text-orange-500" : "text-gray-500"}`,
|
|
1376
|
+
children: Nn[r]
|
|
1379
1377
|
}
|
|
1380
1378
|
),
|
|
1381
1379
|
/* @__PURE__ */ e.jsx(
|
|
1382
1380
|
"span",
|
|
1383
1381
|
{
|
|
1384
|
-
className: `block w-full h-0.5 rounded-t ${o && !
|
|
1382
|
+
className: `block w-full h-0.5 rounded-t ${o && !d ? "bg-orange-500" : "bg-transparent"}`
|
|
1385
1383
|
}
|
|
1386
1384
|
)
|
|
1387
1385
|
]
|
|
1388
1386
|
},
|
|
1389
|
-
|
|
1387
|
+
r
|
|
1390
1388
|
);
|
|
1391
1389
|
})
|
|
1392
1390
|
}
|
|
@@ -1394,49 +1392,49 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1394
1392
|
]
|
|
1395
1393
|
}
|
|
1396
1394
|
) });
|
|
1397
|
-
},
|
|
1398
|
-
header:
|
|
1399
|
-
leftBlock:
|
|
1400
|
-
logo:
|
|
1401
|
-
titleBlock:
|
|
1395
|
+
}, Sn = "_header_u6i0u_1", Tn = "_leftBlock_u6i0u_5", kn = "_logo_u6i0u_9", En = "_titleBlock_u6i0u_13", Rn = "_title_u6i0u_13", In = "_subtitle_u6i0u_21", Pn = "_tags_u6i0u_25", Ln = "_liveTag_u6i0u_29", An = "_liveDot_u6i0u_33", Fn = "_daysTag_u6i0u_37", se = {
|
|
1396
|
+
header: Sn,
|
|
1397
|
+
leftBlock: Tn,
|
|
1398
|
+
logo: kn,
|
|
1399
|
+
titleBlock: En,
|
|
1402
1400
|
title: Rn,
|
|
1403
1401
|
subtitle: In,
|
|
1404
|
-
tags:
|
|
1405
|
-
liveTag:
|
|
1406
|
-
liveDot:
|
|
1407
|
-
daysTag:
|
|
1408
|
-
},
|
|
1402
|
+
tags: Pn,
|
|
1403
|
+
liveTag: Ln,
|
|
1404
|
+
liveDot: An,
|
|
1405
|
+
daysTag: Fn
|
|
1406
|
+
}, Dn = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Bn = ({
|
|
1409
1407
|
isLive: a = !1,
|
|
1410
1408
|
daysRemaining: s
|
|
1411
|
-
}) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1412
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1413
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1414
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1415
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
1416
|
-
/* @__PURE__ */ e.jsx("h6", { className:
|
|
1409
|
+
}) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: se.header, children: [
|
|
1410
|
+
/* @__PURE__ */ e.jsxs("div", { className: se.leftBlock, children: [
|
|
1411
|
+
/* @__PURE__ */ e.jsx("img", { src: Dn, className: se.logo, alt: "Puja" }),
|
|
1412
|
+
/* @__PURE__ */ e.jsxs("div", { className: se.titleBlock, children: [
|
|
1413
|
+
/* @__PURE__ */ e.jsx("h1", { className: se.title, children: "Sri Mandir" }),
|
|
1414
|
+
/* @__PURE__ */ e.jsx("h6", { className: se.subtitle, children: "Daily Live Puja" })
|
|
1417
1415
|
] })
|
|
1418
1416
|
] }),
|
|
1419
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1420
|
-
a && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1421
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1417
|
+
/* @__PURE__ */ e.jsxs("div", { className: se.tags, children: [
|
|
1418
|
+
a && /* @__PURE__ */ e.jsxs("div", { className: se.liveTag, children: [
|
|
1419
|
+
/* @__PURE__ */ e.jsx("span", { className: se.liveDot, "aria-hidden": "true" }),
|
|
1422
1420
|
/* @__PURE__ */ e.jsx("span", { children: "LIVE" })
|
|
1423
1421
|
] }),
|
|
1424
|
-
typeof s == "number" && s > 0 && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1422
|
+
typeof s == "number" && s > 0 && /* @__PURE__ */ e.jsxs("div", { className: se.daysTag, children: [
|
|
1425
1423
|
s,
|
|
1426
1424
|
" Days Remain"
|
|
1427
1425
|
] })
|
|
1428
1426
|
] })
|
|
1429
|
-
] }) }),
|
|
1430
|
-
wrapper:
|
|
1431
|
-
marker:
|
|
1432
|
-
iconWrap:
|
|
1433
|
-
label:
|
|
1434
|
-
dot:
|
|
1435
|
-
},
|
|
1427
|
+
] }) }), On = "_wrapper_1fsdx_1", qn = "_marker_1fsdx_6", Mn = "_iconWrap_1fsdx_10", Un = "_label_1fsdx_14", Wn = "_dot_1fsdx_19", Ke = {
|
|
1428
|
+
wrapper: On,
|
|
1429
|
+
marker: qn,
|
|
1430
|
+
iconWrap: Mn,
|
|
1431
|
+
label: Un,
|
|
1432
|
+
dot: Wn
|
|
1433
|
+
}, It = [
|
|
1436
1434
|
{ id: "devotees", label: "1.2L+ Devotees" },
|
|
1437
1435
|
{ id: "rating", label: "4.9 Rating" },
|
|
1438
1436
|
{ id: "verified", label: "Verified Pandit" }
|
|
1439
|
-
],
|
|
1437
|
+
], Yt = () => /* @__PURE__ */ e.jsxs(
|
|
1440
1438
|
"svg",
|
|
1441
1439
|
{
|
|
1442
1440
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1467,7 +1465,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1467
1465
|
)
|
|
1468
1466
|
]
|
|
1469
1467
|
}
|
|
1470
|
-
),
|
|
1468
|
+
), Hn = () => /* @__PURE__ */ e.jsx(
|
|
1471
1469
|
"svg",
|
|
1472
1470
|
{
|
|
1473
1471
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1487,7 +1485,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1487
1485
|
}
|
|
1488
1486
|
)
|
|
1489
1487
|
}
|
|
1490
|
-
),
|
|
1488
|
+
), $n = () => /* @__PURE__ */ e.jsxs(
|
|
1491
1489
|
"svg",
|
|
1492
1490
|
{
|
|
1493
1491
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1534,42 +1532,42 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1534
1532
|
)
|
|
1535
1533
|
]
|
|
1536
1534
|
}
|
|
1537
|
-
),
|
|
1538
|
-
devotees:
|
|
1539
|
-
rating:
|
|
1540
|
-
verified:
|
|
1541
|
-
},
|
|
1542
|
-
const l =
|
|
1543
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1544
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1545
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1546
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1535
|
+
), Vn = {
|
|
1536
|
+
devotees: $n,
|
|
1537
|
+
rating: Hn,
|
|
1538
|
+
verified: Yt
|
|
1539
|
+
}, zn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: Ke.wrapper, children: It.map((a, s) => {
|
|
1540
|
+
const l = Vn[a.id] || Yt;
|
|
1541
|
+
return /* @__PURE__ */ e.jsxs(xt.Fragment, { children: [
|
|
1542
|
+
/* @__PURE__ */ e.jsxs("div", { className: Ke.marker, children: [
|
|
1543
|
+
/* @__PURE__ */ e.jsx("span", { className: Ke.iconWrap, children: /* @__PURE__ */ e.jsx(l, {}) }),
|
|
1544
|
+
/* @__PURE__ */ e.jsx("span", { className: Ke.label, children: a.label })
|
|
1547
1545
|
] }),
|
|
1548
|
-
s <
|
|
1546
|
+
s < It.length - 1 && /* @__PURE__ */ e.jsx("span", { className: Ke.dot, "aria-hidden": "true", children: "•" })
|
|
1549
1547
|
] }, a.id);
|
|
1550
|
-
}) }) }),
|
|
1551
|
-
root:
|
|
1552
|
-
highlights:
|
|
1553
|
-
highlightColumn:
|
|
1554
|
-
highlightItem:
|
|
1555
|
-
highlightTick:
|
|
1556
|
-
section:
|
|
1557
|
-
sectionTitle:
|
|
1558
|
-
benefitsList:
|
|
1559
|
-
benefitItem:
|
|
1560
|
-
benefitIcon:
|
|
1561
|
-
benefitTitle:
|
|
1562
|
-
benefitDesc:
|
|
1563
|
-
testimonialsScroll:
|
|
1564
|
-
testimonialCard:
|
|
1565
|
-
testimonialHeader:
|
|
1566
|
-
avatar:
|
|
1567
|
-
name:
|
|
1568
|
-
location:
|
|
1569
|
-
stars:
|
|
1570
|
-
quote:
|
|
1571
|
-
readMore:
|
|
1572
|
-
},
|
|
1548
|
+
}) }) }), Yn = "_root_ble2n_1", Gn = "_highlights_ble2n_5", Kn = "_highlightColumn_ble2n_9", Jn = "_highlightItem_ble2n_13", Zn = "_highlightTick_ble2n_18", Xn = "_section_ble2n_22", Qn = "_sectionTitle_ble2n_26", er = "_benefitsList_ble2n_30", tr = "_benefitItem_ble2n_34", ar = "_benefitIcon_ble2n_38", sr = "_benefitTitle_ble2n_42", nr = "_benefitDesc_ble2n_46", rr = "_testimonialsScroll_ble2n_50", ir = "_testimonialCard_ble2n_54", or = "_testimonialHeader_ble2n_58", lr = "_avatar_ble2n_62", cr = "_name_ble2n_66", dr = "_location_ble2n_70", ur = "_stars_ble2n_74", pr = "_quote_ble2n_78", hr = "_readMore_ble2n_82", P = {
|
|
1549
|
+
root: Yn,
|
|
1550
|
+
highlights: Gn,
|
|
1551
|
+
highlightColumn: Kn,
|
|
1552
|
+
highlightItem: Jn,
|
|
1553
|
+
highlightTick: Zn,
|
|
1554
|
+
section: Xn,
|
|
1555
|
+
sectionTitle: Qn,
|
|
1556
|
+
benefitsList: er,
|
|
1557
|
+
benefitItem: tr,
|
|
1558
|
+
benefitIcon: ar,
|
|
1559
|
+
benefitTitle: sr,
|
|
1560
|
+
benefitDesc: nr,
|
|
1561
|
+
testimonialsScroll: rr,
|
|
1562
|
+
testimonialCard: ir,
|
|
1563
|
+
testimonialHeader: or,
|
|
1564
|
+
avatar: lr,
|
|
1565
|
+
name: cr,
|
|
1566
|
+
location: dr,
|
|
1567
|
+
stars: ur,
|
|
1568
|
+
quote: pr,
|
|
1569
|
+
readMore: hr
|
|
1570
|
+
}, Pt = () => /* @__PURE__ */ e.jsx(
|
|
1573
1571
|
"svg",
|
|
1574
1572
|
{
|
|
1575
1573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1588,57 +1586,57 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1588
1586
|
}
|
|
1589
1587
|
)
|
|
1590
1588
|
}
|
|
1591
|
-
),
|
|
1592
|
-
const a =
|
|
1593
|
-
return /* @__PURE__ */ e.jsxs("section", { className:
|
|
1594
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1595
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1589
|
+
), mr = () => {
|
|
1590
|
+
const a = Et.slice(0, 2), s = Et.slice(2, 4);
|
|
1591
|
+
return /* @__PURE__ */ e.jsxs("section", { className: P.highlights, children: [
|
|
1592
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: a.map((l) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1593
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(Pt, {}) }),
|
|
1596
1594
|
/* @__PURE__ */ e.jsx("span", { children: l.label })
|
|
1597
1595
|
] }, l.id)) }),
|
|
1598
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1599
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1596
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: s.map((l) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1597
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(Pt, {}) }),
|
|
1600
1598
|
/* @__PURE__ */ e.jsx("span", { children: l.label })
|
|
1601
1599
|
] }, l.id)) })
|
|
1602
1600
|
] });
|
|
1603
|
-
},
|
|
1604
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1605
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1606
|
-
/* @__PURE__ */ e.jsx("img", { src: a.iconUrl, alt: a.title, className:
|
|
1601
|
+
}, fr = () => /* @__PURE__ */ e.jsxs("section", { className: P.section, children: [
|
|
1602
|
+
/* @__PURE__ */ e.jsx("h2", { className: P.sectionTitle, children: "What You'll Get" }),
|
|
1603
|
+
/* @__PURE__ */ e.jsx("div", { className: P.benefitsList, children: Pa.map((a) => /* @__PURE__ */ e.jsxs("div", { className: P.benefitItem, children: [
|
|
1604
|
+
/* @__PURE__ */ e.jsx("img", { src: a.iconUrl, alt: a.title, className: P.benefitIcon }),
|
|
1607
1605
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1608
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1609
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1606
|
+
/* @__PURE__ */ e.jsx("p", { className: P.benefitTitle, children: a.title }),
|
|
1607
|
+
/* @__PURE__ */ e.jsx("p", { className: P.benefitDesc, children: a.description })
|
|
1610
1608
|
] })
|
|
1611
1609
|
] }, a.id)) })
|
|
1612
|
-
] }),
|
|
1613
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1614
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1615
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1616
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1610
|
+
] }), xr = (a) => "★".repeat(Math.max(0, a)), gr = () => /* @__PURE__ */ e.jsxs("section", { className: P.section, children: [
|
|
1611
|
+
/* @__PURE__ */ e.jsx("h2", { className: P.sectionTitle, children: "What Devotees Say" }),
|
|
1612
|
+
/* @__PURE__ */ e.jsx("div", { className: P.testimonialsScroll, children: La.map((a) => /* @__PURE__ */ e.jsxs("article", { className: P.testimonialCard, children: [
|
|
1613
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.testimonialHeader, children: [
|
|
1614
|
+
/* @__PURE__ */ e.jsx("div", { className: P.avatar, children: a.initial }),
|
|
1617
1615
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1618
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1619
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1620
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1616
|
+
/* @__PURE__ */ e.jsx("p", { className: P.name, children: a.name }),
|
|
1617
|
+
/* @__PURE__ */ e.jsx("p", { className: P.location, children: a.location }),
|
|
1618
|
+
/* @__PURE__ */ e.jsx("div", { className: P.stars, children: xr(a.rating) })
|
|
1621
1619
|
] })
|
|
1622
1620
|
] }),
|
|
1623
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1621
|
+
/* @__PURE__ */ e.jsxs("p", { className: P.quote, children: [
|
|
1624
1622
|
'" ',
|
|
1625
1623
|
a.quote,
|
|
1626
1624
|
' "'
|
|
1627
1625
|
] }),
|
|
1628
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1626
|
+
/* @__PURE__ */ e.jsx("p", { className: P.readMore, children: a.ctaLabel })
|
|
1629
1627
|
] }, a.id)) })
|
|
1630
|
-
] }),
|
|
1628
|
+
] }), _r = () => /* @__PURE__ */ e.jsxs("div", { className: P.root, children: [
|
|
1629
|
+
/* @__PURE__ */ e.jsx(mr, {}),
|
|
1631
1630
|
/* @__PURE__ */ e.jsx(fr, {}),
|
|
1632
|
-
/* @__PURE__ */ e.jsx(
|
|
1633
|
-
|
|
1634
|
-
] }), dt = ({
|
|
1631
|
+
/* @__PURE__ */ e.jsx(gr, {})
|
|
1632
|
+
] }), ut = ({
|
|
1635
1633
|
attendedDays: a,
|
|
1636
1634
|
totalDays: s = 7,
|
|
1637
1635
|
currentDay: l
|
|
1638
1636
|
}) => {
|
|
1639
|
-
const
|
|
1637
|
+
const d = new Set(a), c = a.length, m = 7, o = `calc((100% - ${(m - 1) * 4}px) / ${m})`;
|
|
1640
1638
|
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: [
|
|
1641
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1639
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: pa }),
|
|
1642
1640
|
/* @__PURE__ */ e.jsx(
|
|
1643
1641
|
"div",
|
|
1644
1642
|
{
|
|
@@ -1646,14 +1644,14 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1646
1644
|
role: "list",
|
|
1647
1645
|
"aria-label": "7-day journey",
|
|
1648
1646
|
children: Array.from({ length: s }, (h, v) => {
|
|
1649
|
-
const p = v + 1, f =
|
|
1650
|
-
let
|
|
1651
|
-
return f ?
|
|
1647
|
+
const p = v + 1, f = d.has(p), x = p === l && !f;
|
|
1648
|
+
let j = "border-gray-300 bg-gray-200 text-gray-500";
|
|
1649
|
+
return f ? j = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : x && (j = "border-orange-400 bg-orange-50 text-orange-800"), /* @__PURE__ */ e.jsxs(
|
|
1652
1650
|
"div",
|
|
1653
1651
|
{
|
|
1654
1652
|
role: "listitem",
|
|
1655
1653
|
"aria-label": `Day ${p}${f ? ", attended" : x ? ", today" : ""}`,
|
|
1656
|
-
className: `flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${
|
|
1654
|
+
className: `flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${j}`,
|
|
1657
1655
|
style: {
|
|
1658
1656
|
flex: `0 0 ${o}`,
|
|
1659
1657
|
width: o,
|
|
@@ -1667,7 +1665,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1667
1665
|
f ? /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
|
|
1668
1666
|
"img",
|
|
1669
1667
|
{
|
|
1670
|
-
src:
|
|
1668
|
+
src: ha,
|
|
1671
1669
|
alt: "",
|
|
1672
1670
|
style: { width: "28.264px", height: "24px" }
|
|
1673
1671
|
}
|
|
@@ -1686,7 +1684,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1686
1684
|
})
|
|
1687
1685
|
}
|
|
1688
1686
|
),
|
|
1689
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children:
|
|
1687
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: ma(c, s) })
|
|
1690
1688
|
] }) });
|
|
1691
1689
|
}, vr = () => /* @__PURE__ */ e.jsxs(
|
|
1692
1690
|
"svg",
|
|
@@ -1718,10 +1716,10 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1718
1716
|
)
|
|
1719
1717
|
]
|
|
1720
1718
|
}
|
|
1721
|
-
),
|
|
1719
|
+
), pt = ({ 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: [
|
|
1722
1720
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
1723
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1724
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children:
|
|
1721
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: da }),
|
|
1722
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children: ua })
|
|
1725
1723
|
] }),
|
|
1726
1724
|
/* @__PURE__ */ e.jsxs(
|
|
1727
1725
|
"button",
|
|
@@ -1732,14 +1730,14 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1732
1730
|
style: {
|
|
1733
1731
|
background: "radial-gradient(123.65% 265.91% at 52.2% -165.91%, #0fdf9d, #087955)"
|
|
1734
1732
|
},
|
|
1735
|
-
"aria-label":
|
|
1733
|
+
"aria-label": kt,
|
|
1736
1734
|
children: [
|
|
1737
1735
|
/* @__PURE__ */ e.jsx(vr, {}),
|
|
1738
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1736
|
+
/* @__PURE__ */ e.jsx("span", { children: kt })
|
|
1739
1737
|
]
|
|
1740
1738
|
}
|
|
1741
1739
|
)
|
|
1742
|
-
] }) }),
|
|
1740
|
+
] }) }), jr = "store_list_page_pooja", br = (a) => {
|
|
1743
1741
|
const s = a?.cta?.action_attr?.deeplink;
|
|
1744
1742
|
if (!s)
|
|
1745
1743
|
return "https://www.srimandir.com/epuja";
|
|
@@ -1748,11 +1746,11 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1748
1746
|
} catch {
|
|
1749
1747
|
return "https://www.srimandir.com/epuja";
|
|
1750
1748
|
}
|
|
1751
|
-
},
|
|
1752
|
-
const
|
|
1749
|
+
}, yr = (a, s) => {
|
|
1750
|
+
const d = a.find(
|
|
1753
1751
|
(o) => o?.visible && o?.type === "list_item_large"
|
|
1754
1752
|
)?.list_item_large?.list_items || [], c = a.filter((o) => o?.visible && o?.type === "pooja_list_item_large").map((o) => o?.pooja_list_item_large?.store).filter(Boolean);
|
|
1755
|
-
return [...
|
|
1753
|
+
return [...d, ...c].filter((o, h, v) => {
|
|
1756
1754
|
const p = o?.id || o?.store_id || o?.inventory_id;
|
|
1757
1755
|
return p ? v.findIndex((f) => (f?.id || f?.store_id || f?.inventory_id) === p) === h : !0;
|
|
1758
1756
|
}).slice(0, s).map((o, h) => ({
|
|
@@ -1762,7 +1760,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1762
1760
|
title: o?.title || o?.sub_title || "Puja Seva",
|
|
1763
1761
|
temple: o?.location || "Sri Mandir",
|
|
1764
1762
|
date: o?.process_date || o?.process_date_dm || "",
|
|
1765
|
-
href:
|
|
1763
|
+
href: br(o)
|
|
1766
1764
|
}));
|
|
1767
1765
|
}, wr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), Cr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), Nr = ({ card: a, onClick: s }) => /* @__PURE__ */ e.jsxs(
|
|
1768
1766
|
"a",
|
|
@@ -1799,136 +1797,131 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1799
1797
|
] })
|
|
1800
1798
|
]
|
|
1801
1799
|
}
|
|
1802
|
-
),
|
|
1800
|
+
), ht = ({
|
|
1803
1801
|
onCardClick: a,
|
|
1804
1802
|
a4bApi: s,
|
|
1805
|
-
storeCardsPage: l =
|
|
1806
|
-
storeCardsHeaders:
|
|
1803
|
+
storeCardsPage: l = jr,
|
|
1804
|
+
storeCardsHeaders: d,
|
|
1807
1805
|
storeCardsLimit: c = 8
|
|
1808
1806
|
}) => {
|
|
1809
|
-
const [m,
|
|
1810
|
-
return
|
|
1807
|
+
const [m, r] = C([]);
|
|
1808
|
+
return D(() => {
|
|
1809
|
+
if (!s?.pujaWeb?.getFeedPageV2)
|
|
1810
|
+
return;
|
|
1811
1811
|
let o = !1;
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
if (o) return;
|
|
1825
|
-
const { puja: p, chadhava: f, error: x } = v.data;
|
|
1826
|
-
if (x) {
|
|
1827
|
-
console.error("[DLP] Worker error:", x);
|
|
1828
|
-
return;
|
|
1812
|
+
return (async () => {
|
|
1813
|
+
try {
|
|
1814
|
+
const v = await s?.pujaWeb?.getFeedPageV2?.(
|
|
1815
|
+
{ page: l },
|
|
1816
|
+
d
|
|
1817
|
+
), p = yr(
|
|
1818
|
+
v?.data?.data?.cards || [],
|
|
1819
|
+
c
|
|
1820
|
+
);
|
|
1821
|
+
!o && p.length && r(p);
|
|
1822
|
+
} catch (v) {
|
|
1823
|
+
console.error("[DLP] Failed to fetch store cards", v);
|
|
1829
1824
|
}
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
c
|
|
1833
|
-
), L = Et(
|
|
1834
|
-
f?.data?.data?.cards || [],
|
|
1835
|
-
c
|
|
1836
|
-
), A = [...y, ...L].slice(0, c);
|
|
1837
|
-
A.length && i(A);
|
|
1838
|
-
}, () => {
|
|
1839
|
-
o = !0, h.terminate();
|
|
1825
|
+
})(), () => {
|
|
1826
|
+
o = !0;
|
|
1840
1827
|
};
|
|
1841
|
-
}, [c]), 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: [
|
|
1842
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1828
|
+
}, [s, l, d, c]), 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: [
|
|
1829
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: fa }),
|
|
1843
1830
|
/* @__PURE__ */ e.jsx(
|
|
1844
1831
|
"div",
|
|
1845
1832
|
{
|
|
1846
1833
|
className: "flex gap-3 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1847
1834
|
role: "list",
|
|
1848
|
-
"aria-label":
|
|
1835
|
+
"aria-label": xa,
|
|
1849
1836
|
children: m.map((o) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Nr, { card: o, onClick: a }) }, o.id))
|
|
1850
1837
|
}
|
|
1851
1838
|
)
|
|
1852
1839
|
] }) }) : null;
|
|
1853
|
-
}, Sr = "sm_dlp_premium",
|
|
1840
|
+
}, Sr = "sm_dlp_premium", Lt = {
|
|
1841
|
+
acceptLanguage: "en"
|
|
1842
|
+
}, Tr = ({
|
|
1854
1843
|
storeId: a,
|
|
1855
1844
|
inventoryId: s,
|
|
1856
1845
|
onboardingType: l = Sr,
|
|
1857
|
-
enabled:
|
|
1846
|
+
enabled: d = !0,
|
|
1858
1847
|
apiBaseInstance: c
|
|
1859
1848
|
}) => {
|
|
1860
|
-
const [m,
|
|
1849
|
+
const [m, r] = C(null), [o, h] = C(null), [v, p] = C(
|
|
1861
1850
|
null
|
|
1862
|
-
), [f, x] =
|
|
1863
|
-
!!(
|
|
1864
|
-
), [
|
|
1865
|
-
() => !!(
|
|
1866
|
-
[
|
|
1867
|
-
),
|
|
1851
|
+
), [f, x] = C(
|
|
1852
|
+
!!(d && a && s)
|
|
1853
|
+
), [j, R] = C(null), A = gt(
|
|
1854
|
+
() => !!(d && a && s),
|
|
1855
|
+
[d, s, a]
|
|
1856
|
+
), g = _t(async () => {
|
|
1868
1857
|
if (!A) {
|
|
1869
1858
|
x(!1);
|
|
1870
1859
|
return;
|
|
1871
1860
|
}
|
|
1872
1861
|
try {
|
|
1873
|
-
x(!0),
|
|
1874
|
-
let
|
|
1862
|
+
x(!0), R(null);
|
|
1863
|
+
let y;
|
|
1875
1864
|
if (c?.get) {
|
|
1876
|
-
const
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
{
|
|
1865
|
+
const W = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${s}`;
|
|
1866
|
+
y = (await c.get(
|
|
1867
|
+
W,
|
|
1868
|
+
{
|
|
1869
|
+
params: { onboarding_type: l },
|
|
1870
|
+
headers: Lt
|
|
1871
|
+
}
|
|
1880
1872
|
))?.data;
|
|
1881
1873
|
} else {
|
|
1882
|
-
const
|
|
1874
|
+
const W = new URLSearchParams({ onboarding_type: l }), B = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${s}?${W.toString()}`, T = await fetch(B, {
|
|
1883
1875
|
method: "GET",
|
|
1884
|
-
credentials: "include"
|
|
1876
|
+
credentials: "include",
|
|
1877
|
+
headers: Lt
|
|
1885
1878
|
});
|
|
1886
|
-
if (!
|
|
1879
|
+
if (!T.ok)
|
|
1887
1880
|
throw new Error(
|
|
1888
|
-
`Subscription onboarding API failed with status ${
|
|
1881
|
+
`Subscription onboarding API failed with status ${T.status}`
|
|
1889
1882
|
);
|
|
1890
|
-
|
|
1883
|
+
y = await T.json();
|
|
1891
1884
|
}
|
|
1892
|
-
const
|
|
1893
|
-
|
|
1894
|
-
} catch (
|
|
1895
|
-
|
|
1896
|
-
|
|
1885
|
+
const S = y?.data;
|
|
1886
|
+
r(S?.subscription_info ?? null), h(S?.trial_subscription_data ?? null), p(S?.onboarding_data ?? null);
|
|
1887
|
+
} catch (y) {
|
|
1888
|
+
r(null), h(null), p(null), R(
|
|
1889
|
+
y instanceof Error ? y : new Error("Failed to fetch subscription onboarding data")
|
|
1897
1890
|
);
|
|
1898
1891
|
} finally {
|
|
1899
1892
|
x(!1);
|
|
1900
1893
|
}
|
|
1901
1894
|
}, [c, s, l, A, a]);
|
|
1902
|
-
return
|
|
1903
|
-
|
|
1904
|
-
}, [
|
|
1895
|
+
return D(() => {
|
|
1896
|
+
g();
|
|
1897
|
+
}, [g]), {
|
|
1905
1898
|
subscriptionInfo: m,
|
|
1906
1899
|
trialSubscriptionData: o,
|
|
1907
1900
|
onboardingData: v,
|
|
1908
1901
|
isLoading: f,
|
|
1909
|
-
error:
|
|
1910
|
-
refetch:
|
|
1902
|
+
error: j,
|
|
1903
|
+
refetch: g
|
|
1911
1904
|
};
|
|
1912
|
-
},
|
|
1905
|
+
}, mt = ({
|
|
1913
1906
|
storeId: a,
|
|
1914
1907
|
inventoryId: s,
|
|
1915
1908
|
onboardingType: l = "sm_dlp_premium",
|
|
1916
|
-
apiBaseInstance:
|
|
1909
|
+
apiBaseInstance: d,
|
|
1917
1910
|
onSubscribe: c
|
|
1918
1911
|
}) => {
|
|
1919
|
-
const { subscriptionInfo: m, trialSubscriptionData:
|
|
1912
|
+
const { subscriptionInfo: m, trialSubscriptionData: r } = Tr({
|
|
1920
1913
|
storeId: a,
|
|
1921
1914
|
inventoryId: s,
|
|
1922
1915
|
onboardingType: l,
|
|
1923
|
-
apiBaseInstance:
|
|
1916
|
+
apiBaseInstance: d,
|
|
1924
1917
|
enabled: !!(a && s)
|
|
1925
|
-
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text ||
|
|
1918
|
+
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text || ga, p = m?.tag?.bg_color || "#f8a84a", f = m?.tag?.text_color || "#3d1c02", x = m?.header || _a, j = m?.description || va, R = m?.info_list && m.info_list.length > 0 ? m.info_list : [
|
|
1926
1919
|
{ text: ja, description: "", icon_url: "" },
|
|
1927
|
-
{ text:
|
|
1928
|
-
], A = m?.media?.media_url ||
|
|
1920
|
+
{ text: ba, description: "", icon_url: "" }
|
|
1921
|
+
], A = m?.media?.media_url || ya, g = r?.currency_code || "₹", y = r?.effective_amount ?? r?.subscription_amount, S = r?.subscription_amount, W = r?.period ? `/ ${r.period}` : wa, B = m?.cta, T = B?.visible ?? !0, Y = B?.text || Ca, Q = B?.text_color || "#ffffff", ne = B?.stroke_color || "transparent", ie = B?.color || "#f97e4e", he = B?.color_2 || "#f75e22", me = () => {
|
|
1929
1922
|
if (c?.(), c)
|
|
1930
1923
|
return;
|
|
1931
|
-
const M =
|
|
1924
|
+
const M = B?.action_attr?.deeplink;
|
|
1932
1925
|
if (!(!M || typeof window > "u"))
|
|
1933
1926
|
try {
|
|
1934
1927
|
window.location.href = new URL(M, window.location.origin).toString();
|
|
@@ -1953,8 +1946,8 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1953
1946
|
}
|
|
1954
1947
|
),
|
|
1955
1948
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: x }),
|
|
1956
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children:
|
|
1957
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children:
|
|
1949
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: j }),
|
|
1950
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: R.map((M, $) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
1958
1951
|
M.icon_url ? /* @__PURE__ */ e.jsx(
|
|
1959
1952
|
"img",
|
|
1960
1953
|
{
|
|
@@ -1968,7 +1961,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1968
1961
|
M.text,
|
|
1969
1962
|
M.description ? ` ${M.description}` : ""
|
|
1970
1963
|
] })
|
|
1971
|
-
] }, `${M.text || "feature"}-${
|
|
1964
|
+
] }, `${M.text || "feature"}-${$}`)) }),
|
|
1972
1965
|
/* @__PURE__ */ e.jsx(
|
|
1973
1966
|
"div",
|
|
1974
1967
|
{
|
|
@@ -1978,41 +1971,41 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1978
1971
|
}
|
|
1979
1972
|
),
|
|
1980
1973
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
|
|
1981
|
-
typeof
|
|
1982
|
-
|
|
1983
|
-
|
|
1974
|
+
typeof y == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
|
|
1975
|
+
g,
|
|
1976
|
+
y
|
|
1984
1977
|
] }),
|
|
1985
|
-
typeof
|
|
1986
|
-
|
|
1987
|
-
|
|
1978
|
+
typeof S == "number" && typeof y == "number" && S > y && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
|
|
1979
|
+
g,
|
|
1980
|
+
S
|
|
1988
1981
|
] }),
|
|
1989
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children:
|
|
1982
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: W })
|
|
1990
1983
|
] }),
|
|
1991
|
-
|
|
1984
|
+
T && /* @__PURE__ */ e.jsxs(
|
|
1992
1985
|
"button",
|
|
1993
1986
|
{
|
|
1994
1987
|
type: "button",
|
|
1995
|
-
onClick:
|
|
1988
|
+
onClick: me,
|
|
1996
1989
|
className: "mt-2 h-12 w-full rounded-xl flex items-center justify-center gap-2 font-semibold text-[16px] cursor-pointer",
|
|
1997
1990
|
style: {
|
|
1998
1991
|
color: Q,
|
|
1999
|
-
borderColor:
|
|
2000
|
-
borderWidth:
|
|
1992
|
+
borderColor: ne,
|
|
1993
|
+
borderWidth: ne !== "transparent" ? 1 : 0,
|
|
2001
1994
|
borderStyle: "solid",
|
|
2002
|
-
background: `linear-gradient(180deg, ${
|
|
1995
|
+
background: `linear-gradient(180deg, ${ie}, ${he})`
|
|
2003
1996
|
},
|
|
2004
|
-
"aria-label":
|
|
1997
|
+
"aria-label": Y,
|
|
2005
1998
|
children: [
|
|
2006
|
-
|
|
2007
|
-
|
|
1999
|
+
Y,
|
|
2000
|
+
B?.icon?.url ? /* @__PURE__ */ e.jsx("img", { src: B.icon.url, alt: "", "aria-hidden": "true", className: "w-5 h-5" }) : /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e.jsx("path", { d: "M9.75 0C15.1352 0 19.5 4.36479 19.5 9.75C19.5 15.1352 15.1352 19.5 9.75 19.5C4.36479 19.5 0 15.1352 0 9.75C0 4.36479 4.36479 0 9.75 0ZM9.75 1.5C5.19321 1.5 1.5 5.19321 1.5 9.75C1.5 14.3068 5.19321 18 9.75 18C14.3068 18 18 14.3068 18 9.75C18 5.19321 14.3068 1.5 9.75 1.5ZM10.2197 6.21973C10.5126 5.92683 10.9874 5.92683 11.2803 6.21973L14.2803 9.21973C14.5732 9.51262 14.5732 9.98738 14.2803 10.2803L11.2803 13.2803C10.9874 13.5732 10.5126 13.5732 10.2197 13.2803C9.92683 12.9874 9.92683 12.5126 10.2197 12.2197L11.9395 10.5H5.75C5.33579 10.5 5 10.1642 5 9.75C5 9.33579 5.33579 9 5.75 9H11.9395L10.2197 7.28027C9.92683 6.98738 9.92683 6.51262 10.2197 6.21973Z", fill: Q }) })
|
|
2008
2001
|
]
|
|
2009
2002
|
}
|
|
2010
2003
|
),
|
|
2011
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: m?.footer_text ||
|
|
2004
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: m?.footer_text || Na })
|
|
2012
2005
|
] })
|
|
2013
2006
|
}
|
|
2014
2007
|
);
|
|
2015
|
-
},
|
|
2008
|
+
}, At = (a) => {
|
|
2016
2009
|
if (!a)
|
|
2017
2010
|
return;
|
|
2018
2011
|
const s = a.trim();
|
|
@@ -2025,101 +2018,171 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2025
2018
|
return s.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
2026
2019
|
}
|
|
2027
2020
|
}, kr = (a) => {
|
|
2028
|
-
const s = a ?? [], l = s.find((
|
|
2021
|
+
const s = a ?? [], l = s.find((r) => r.is_offering === !1), d = l ? {
|
|
2029
2022
|
id: String(l.id),
|
|
2030
|
-
title: l.title ||
|
|
2031
|
-
location: l.location ||
|
|
2032
|
-
date: l.date ||
|
|
2023
|
+
title: l.title || pe.title,
|
|
2024
|
+
location: l.location || pe.location,
|
|
2025
|
+
date: l.date || pe.date,
|
|
2033
2026
|
deeplink: l.deeplink,
|
|
2034
|
-
imageUrl: l.img_url?.data?.attributes?.url ||
|
|
2035
|
-
} :
|
|
2036
|
-
const o =
|
|
2027
|
+
imageUrl: l.img_url?.data?.attributes?.url || pe.imageUrl
|
|
2028
|
+
} : pe, c = s.filter((r) => r.is_offering).map((r) => {
|
|
2029
|
+
const o = r.title || "Custom", h = o.toLowerCase() === "custom", v = r.price ? Number(r.price) : null;
|
|
2037
2030
|
return {
|
|
2038
|
-
id: String(
|
|
2031
|
+
id: String(r.id),
|
|
2039
2032
|
name: o,
|
|
2040
2033
|
price: Number.isFinite(v) ? v : null,
|
|
2041
|
-
image_url:
|
|
2042
|
-
deeplink:
|
|
2034
|
+
image_url: r.img_url?.data?.attributes?.url || "",
|
|
2035
|
+
deeplink: r.deeplink,
|
|
2043
2036
|
isCustom: h
|
|
2044
2037
|
};
|
|
2045
|
-
}), m = (c.length ? c :
|
|
2046
|
-
return { pujaCard:
|
|
2047
|
-
}, Er = (a) => `https://${
|
|
2048
|
-
getDlpContent: async (l,
|
|
2049
|
-
const c = await a(Er(l), { signal:
|
|
2038
|
+
}), m = (c.length ? c : zt).sort((r, o) => Number(r.isCustom) - Number(o.isCustom));
|
|
2039
|
+
return { pujaCard: d, offeringCards: m };
|
|
2040
|
+
}, Er = (a) => `https://${Sa[a]}/api/dlps${Ta}`, Rr = (a = fetch) => ({
|
|
2041
|
+
getDlpContent: async (l, d) => {
|
|
2042
|
+
const c = await a(Er(l), { signal: d });
|
|
2050
2043
|
if (!c.ok)
|
|
2051
2044
|
throw new Error(`DLP API failed with status ${c.status}`);
|
|
2052
|
-
const
|
|
2045
|
+
const r = (await c.json())?.data?.[0]?.attributes;
|
|
2053
2046
|
return {
|
|
2054
|
-
attributes:
|
|
2055
|
-
normalized: kr(
|
|
2047
|
+
attributes: r,
|
|
2048
|
+
normalized: kr(r?.dlp_cards)
|
|
2056
2049
|
};
|
|
2057
2050
|
}
|
|
2058
|
-
}),
|
|
2051
|
+
}), Ir = ({
|
|
2059
2052
|
initialVideoId: a,
|
|
2060
2053
|
contentEnvironment: s
|
|
2061
2054
|
}) => {
|
|
2062
|
-
const [l,
|
|
2063
|
-
|
|
2064
|
-
|
|
2055
|
+
const [l, d] = C(a), [c, m] = C(pe), [r, o] = C(zt), [h, v] = C(!0), p = gt(() => Rr(), []);
|
|
2056
|
+
D(() => {
|
|
2057
|
+
d(a);
|
|
2065
2058
|
}, [a]);
|
|
2066
|
-
const f =
|
|
2059
|
+
const f = _t(
|
|
2067
2060
|
async (x) => {
|
|
2068
2061
|
v(!0);
|
|
2069
2062
|
try {
|
|
2070
|
-
const { attributes:
|
|
2063
|
+
const { attributes: j, normalized: R } = await p.getDlpContent(
|
|
2071
2064
|
s,
|
|
2072
2065
|
x
|
|
2073
2066
|
);
|
|
2074
|
-
|
|
2075
|
-
} catch (
|
|
2076
|
-
x?.aborted || console.error("Failed to fetch DLP cards",
|
|
2067
|
+
j?.yt_video_id && d(j.yt_video_id), m(R.pujaCard), o(R.offeringCards);
|
|
2068
|
+
} catch (j) {
|
|
2069
|
+
x?.aborted || console.error("Failed to fetch DLP cards", j);
|
|
2077
2070
|
} finally {
|
|
2078
2071
|
x?.aborted || v(!1);
|
|
2079
2072
|
}
|
|
2080
2073
|
},
|
|
2081
2074
|
[p, s]
|
|
2082
2075
|
);
|
|
2083
|
-
return
|
|
2076
|
+
return D(() => {
|
|
2084
2077
|
const x = new AbortController();
|
|
2085
2078
|
return f(x.signal), () => x.abort();
|
|
2086
2079
|
}, [f]), {
|
|
2087
2080
|
apiVideoId: l,
|
|
2088
2081
|
pujaCard: c,
|
|
2089
|
-
offeringCards:
|
|
2082
|
+
offeringCards: r,
|
|
2090
2083
|
isDlpLoading: h,
|
|
2091
2084
|
refetchDlpData: f
|
|
2092
2085
|
};
|
|
2093
|
-
},
|
|
2094
|
-
|
|
2095
|
-
|
|
2086
|
+
}, Pr = "sm_dlp_premium", Ft = [
|
|
2087
|
+
"created",
|
|
2088
|
+
"active",
|
|
2089
|
+
"active_grace"
|
|
2090
|
+
], Lr = (a) => {
|
|
2091
|
+
const s = a?.data;
|
|
2092
|
+
return Array.isArray(s) ? s : s && typeof s == "object" ? [s] : [];
|
|
2093
|
+
}, Ar = ({
|
|
2094
|
+
subscriptionType: a = Pr,
|
|
2095
|
+
enabled: s = !0,
|
|
2096
|
+
apiBaseInstance: l
|
|
2097
|
+
}) => {
|
|
2098
|
+
const [d, c] = C(!1), [m, r] = C(null), [o, h] = C(!!s), [v, p] = C(null), f = gt(() => !!(s && a), [
|
|
2099
|
+
s,
|
|
2100
|
+
a
|
|
2101
|
+
]), x = _t(async () => {
|
|
2102
|
+
if (!f) {
|
|
2103
|
+
h(!1), c(!1), r(null);
|
|
2104
|
+
return;
|
|
2105
|
+
}
|
|
2106
|
+
try {
|
|
2107
|
+
h(!0), p(null), c(!1), r(null);
|
|
2108
|
+
for (const j of Ft) {
|
|
2109
|
+
let R;
|
|
2110
|
+
if (l?.get)
|
|
2111
|
+
R = (await l.get(
|
|
2112
|
+
`/gw3/yoda/external/v1/subscriptions/${a}`,
|
|
2113
|
+
{ params: { status: j } }
|
|
2114
|
+
))?.data;
|
|
2115
|
+
else {
|
|
2116
|
+
const g = new URLSearchParams({ status: j }), y = await fetch(
|
|
2117
|
+
`/gw3/yoda/external/v1/subscriptions/${a}?${g.toString()}`,
|
|
2118
|
+
{
|
|
2119
|
+
method: "GET",
|
|
2120
|
+
credentials: "include"
|
|
2121
|
+
}
|
|
2122
|
+
);
|
|
2123
|
+
if (!y.ok)
|
|
2124
|
+
throw new Error(
|
|
2125
|
+
`Subscription status API failed with status ${y.status}`
|
|
2126
|
+
);
|
|
2127
|
+
R = await y.json();
|
|
2128
|
+
}
|
|
2129
|
+
const A = Lr(R).find((g) => {
|
|
2130
|
+
const y = g?.status?.toLowerCase(), S = g?.service_type?.toLowerCase(), W = !S || S === a.toLowerCase();
|
|
2131
|
+
return y === j && W;
|
|
2132
|
+
});
|
|
2133
|
+
if (A) {
|
|
2134
|
+
c(!0), r(A);
|
|
2135
|
+
break;
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
} catch (j) {
|
|
2139
|
+
c(!1), r(null), p(
|
|
2140
|
+
j instanceof Error ? j : new Error("Failed to fetch subscription status")
|
|
2141
|
+
);
|
|
2142
|
+
} finally {
|
|
2143
|
+
h(!1);
|
|
2144
|
+
}
|
|
2145
|
+
}, [l, f, a]);
|
|
2146
|
+
return D(() => {
|
|
2147
|
+
x();
|
|
2148
|
+
}, [x]), {
|
|
2149
|
+
isSubscribed: d,
|
|
2150
|
+
activeSubscription: m,
|
|
2151
|
+
checkedStatuses: Ft,
|
|
2152
|
+
isLoading: o,
|
|
2153
|
+
error: v,
|
|
2154
|
+
refetch: x
|
|
2155
|
+
};
|
|
2156
|
+
}, Fr = (a, s) => {
|
|
2157
|
+
const [l, d] = C("LOADING"), c = U(null), m = U(null);
|
|
2158
|
+
return D(() => {
|
|
2096
2159
|
if (!a || typeof window > "u")
|
|
2097
2160
|
return;
|
|
2098
|
-
let
|
|
2099
|
-
|
|
2161
|
+
let r = !1;
|
|
2162
|
+
d("LOADING");
|
|
2100
2163
|
const o = () => {
|
|
2101
2164
|
m.current && (clearInterval(m.current), m.current = null);
|
|
2102
2165
|
}, h = () => {
|
|
2103
2166
|
const p = c.current;
|
|
2104
|
-
if (!(!p ||
|
|
2167
|
+
if (!(!p || r))
|
|
2105
2168
|
try {
|
|
2106
|
-
const f = p.getVideoData(), x = p.getDuration(),
|
|
2169
|
+
const f = p.getVideoData(), x = p.getDuration(), j = f?.isLive ?? !1;
|
|
2107
2170
|
if (x === 0) {
|
|
2108
|
-
|
|
2171
|
+
d("UPCOMING");
|
|
2109
2172
|
return;
|
|
2110
2173
|
}
|
|
2111
|
-
if (
|
|
2112
|
-
|
|
2174
|
+
if (j) {
|
|
2175
|
+
d("LIVE");
|
|
2113
2176
|
return;
|
|
2114
2177
|
}
|
|
2115
|
-
|
|
2178
|
+
d("ENDED");
|
|
2116
2179
|
} catch (f) {
|
|
2117
2180
|
console.error("Error reading YouTube player state", f);
|
|
2118
2181
|
}
|
|
2119
2182
|
}, v = () => {
|
|
2120
|
-
!document.getElementById(s) || !window.YT?.Player ||
|
|
2183
|
+
!document.getElementById(s) || !window.YT?.Player || r || (c.current?.destroy?.(), o(), c.current = new window.YT.Player(s, {
|
|
2121
2184
|
videoId: a,
|
|
2122
|
-
playerVars:
|
|
2185
|
+
playerVars: Ia,
|
|
2123
2186
|
events: {
|
|
2124
2187
|
onReady: () => {
|
|
2125
2188
|
try {
|
|
@@ -2130,13 +2193,13 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2130
2193
|
f
|
|
2131
2194
|
);
|
|
2132
2195
|
}
|
|
2133
|
-
h(), setTimeout(h,
|
|
2196
|
+
h(), setTimeout(h, Ra), m.current = setInterval(
|
|
2134
2197
|
h,
|
|
2135
|
-
|
|
2198
|
+
Ea
|
|
2136
2199
|
);
|
|
2137
2200
|
},
|
|
2138
2201
|
onStateChange: (f) => {
|
|
2139
|
-
f.data === window.YT.PlayerState.ENDED &&
|
|
2202
|
+
f.data === window.YT.PlayerState.ENDED && d("ENDED"), h();
|
|
2140
2203
|
}
|
|
2141
2204
|
}
|
|
2142
2205
|
}));
|
|
@@ -2156,176 +2219,180 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2156
2219
|
};
|
|
2157
2220
|
}
|
|
2158
2221
|
return () => {
|
|
2159
|
-
|
|
2222
|
+
r = !0, o(), c.current?.destroy?.(), c.current = null;
|
|
2160
2223
|
};
|
|
2161
2224
|
}, [s, a]), l;
|
|
2162
|
-
},
|
|
2225
|
+
}, zr = ({
|
|
2163
2226
|
videoId: a,
|
|
2164
2227
|
title: s = "Live Stream",
|
|
2165
2228
|
chatHost: l,
|
|
2166
|
-
contentEnvironment:
|
|
2229
|
+
contentEnvironment: d = "sbox",
|
|
2167
2230
|
isGlobal: c = !1,
|
|
2168
2231
|
onOfferingClick: m,
|
|
2169
|
-
onPujaImpression:
|
|
2232
|
+
onPujaImpression: r,
|
|
2170
2233
|
onPujaClick: o,
|
|
2171
2234
|
attendedDays: h = [1],
|
|
2172
2235
|
currentDay: v = 1,
|
|
2173
2236
|
isLoggedIn: p = !0,
|
|
2174
2237
|
onStoreCardClick: f,
|
|
2175
2238
|
a4bApi: x,
|
|
2176
|
-
storeCardsPage:
|
|
2177
|
-
storeCardsHeaders:
|
|
2239
|
+
storeCardsPage: j,
|
|
2240
|
+
storeCardsHeaders: R,
|
|
2178
2241
|
storeCardsLimit: A,
|
|
2179
|
-
onShare:
|
|
2180
|
-
showSubscription:
|
|
2181
|
-
onSubscribe:
|
|
2182
|
-
subscriptionStoreId:
|
|
2183
|
-
subscriptionInventoryId:
|
|
2184
|
-
subscriptionOnboardingType:
|
|
2242
|
+
onShare: g,
|
|
2243
|
+
showSubscription: y = !1,
|
|
2244
|
+
onSubscribe: S,
|
|
2245
|
+
subscriptionStoreId: W,
|
|
2246
|
+
subscriptionInventoryId: B,
|
|
2247
|
+
subscriptionOnboardingType: T = "sm_dlp_premium"
|
|
2185
2248
|
}) => {
|
|
2186
|
-
const [
|
|
2187
|
-
streaks:
|
|
2188
|
-
share:
|
|
2249
|
+
const [Y, Q] = C("streaks"), [ne, ie] = C("chat"), he = U(null), me = U(null), M = U(null), $ = U(null), G = U(null), oe = {
|
|
2250
|
+
streaks: he,
|
|
2251
|
+
share: me,
|
|
2189
2252
|
store: M,
|
|
2190
|
-
subscription:
|
|
2191
|
-
}, Pe = (
|
|
2192
|
-
const
|
|
2193
|
-
!
|
|
2194
|
-
},
|
|
2195
|
-
streaks:
|
|
2196
|
-
share:
|
|
2197
|
-
store:
|
|
2198
|
-
subscription:
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2253
|
+
subscription: $
|
|
2254
|
+
}, Pe = (b) => {
|
|
2255
|
+
const L = oe[b].current, te = G.current;
|
|
2256
|
+
!L || !te || te.scrollTo({ top: L.offsetTop, behavior: "smooth" });
|
|
2257
|
+
}, K = Y === "chat", Le = K ? "streaks" : Y, Ae = U(null), Fe = U(null), De = U(null), Be = U(null), Oe = U(null), Je = U(null), Ze = {
|
|
2258
|
+
streaks: Ae,
|
|
2259
|
+
share: Fe,
|
|
2260
|
+
store: De,
|
|
2261
|
+
subscription: Be
|
|
2262
|
+
}, { isSubscribed: qe } = Ar({
|
|
2263
|
+
subscriptionType: T,
|
|
2264
|
+
enabled: y,
|
|
2265
|
+
apiBaseInstance: x?.apiInstance
|
|
2266
|
+
}), V = y && !qe;
|
|
2267
|
+
D(() => {
|
|
2268
|
+
if (K) return;
|
|
2269
|
+
const b = requestAnimationFrame(() => {
|
|
2270
|
+
const L = Je.current;
|
|
2271
|
+
if (!L) return;
|
|
2272
|
+
const te = V ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], re = [];
|
|
2273
|
+
return te.forEach((ae) => {
|
|
2274
|
+
const ue = Ze[ae].current;
|
|
2275
|
+
if (!ue) return;
|
|
2276
|
+
const Ee = new IntersectionObserver(
|
|
2277
|
+
([lt]) => {
|
|
2278
|
+
lt.isIntersecting && Q(ae);
|
|
2212
2279
|
},
|
|
2213
|
-
{ root:
|
|
2280
|
+
{ root: L, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2214
2281
|
);
|
|
2215
|
-
|
|
2216
|
-
}), () =>
|
|
2282
|
+
Ee.observe(ue), re.push(Ee);
|
|
2283
|
+
}), () => re.forEach((ae) => ae.disconnect());
|
|
2217
2284
|
});
|
|
2218
|
-
return () => cancelAnimationFrame(
|
|
2219
|
-
}, [
|
|
2220
|
-
const
|
|
2221
|
-
Q(
|
|
2222
|
-
|
|
2285
|
+
return () => cancelAnimationFrame(b);
|
|
2286
|
+
}, [V, K]);
|
|
2287
|
+
const be = (b) => {
|
|
2288
|
+
Q(b), setTimeout(() => {
|
|
2289
|
+
Ze[b].current?.scrollIntoView({
|
|
2223
2290
|
behavior: "smooth",
|
|
2224
2291
|
block: "start"
|
|
2225
2292
|
});
|
|
2226
2293
|
}, 50);
|
|
2227
|
-
},
|
|
2294
|
+
}, ye = () => Q("chat"), [q, Me] = C(!1), [Z, Ue] = C(!1), [we, fe] = C(!0), [le, We] = C(!1), [X, xe] = C(!1), [rt, it] = C(""), { apiVideoId: He, pujaCard: ge, offeringCards: Ce, isDlpLoading: Xe } = Ir({
|
|
2228
2295
|
initialVideoId: a,
|
|
2229
|
-
contentEnvironment:
|
|
2230
|
-
}), [
|
|
2231
|
-
|
|
2232
|
-
if (
|
|
2233
|
-
const
|
|
2234
|
-
if (!
|
|
2235
|
-
const
|
|
2236
|
-
return
|
|
2237
|
-
const
|
|
2238
|
-
if (!
|
|
2239
|
-
const
|
|
2240
|
-
([
|
|
2241
|
-
|
|
2296
|
+
contentEnvironment: d
|
|
2297
|
+
}), [_e, Ne] = C(null);
|
|
2298
|
+
D(() => {
|
|
2299
|
+
if (K) return;
|
|
2300
|
+
const b = G.current;
|
|
2301
|
+
if (!b) return;
|
|
2302
|
+
const L = V ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], te = [];
|
|
2303
|
+
return L.forEach((re) => {
|
|
2304
|
+
const ae = oe[re].current;
|
|
2305
|
+
if (!ae) return;
|
|
2306
|
+
const ue = new IntersectionObserver(
|
|
2307
|
+
([Ee]) => {
|
|
2308
|
+
Ee.isIntersecting && Q(re);
|
|
2242
2309
|
},
|
|
2243
|
-
{ root:
|
|
2310
|
+
{ root: b, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2244
2311
|
);
|
|
2245
|
-
|
|
2246
|
-
}), () =>
|
|
2247
|
-
}, [
|
|
2248
|
-
const
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
}, [
|
|
2252
|
-
if (
|
|
2312
|
+
ue.observe(ae), te.push(ue);
|
|
2313
|
+
}), () => te.forEach((re) => re.disconnect());
|
|
2314
|
+
}, [V, K, Z, X]);
|
|
2315
|
+
const ot = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", Qe = At(rt) || At(l) || "www.srimandir.com", ve = He || a, et = `yt-live-status-probe-${ea().replace(/:/g, "")}`, Se = Fr(ve, et);
|
|
2316
|
+
D(() => {
|
|
2317
|
+
Ne(null);
|
|
2318
|
+
}, [ve]), D(() => {
|
|
2319
|
+
if (Se === "LOADING")
|
|
2253
2320
|
return;
|
|
2254
|
-
if (
|
|
2255
|
-
|
|
2321
|
+
if (Se === "LIVE") {
|
|
2322
|
+
Ne("LIVE");
|
|
2256
2323
|
return;
|
|
2257
2324
|
}
|
|
2258
|
-
const
|
|
2259
|
-
|
|
2260
|
-
},
|
|
2261
|
-
return () => window.clearTimeout(
|
|
2262
|
-
}, [
|
|
2263
|
-
const
|
|
2264
|
-
|
|
2265
|
-
)}`,
|
|
2266
|
-
|
|
2267
|
-
const
|
|
2268
|
-
|
|
2325
|
+
const b = window.setTimeout(() => {
|
|
2326
|
+
Ne((L) => L === "LIVE" ? L : Se);
|
|
2327
|
+
}, ka);
|
|
2328
|
+
return () => window.clearTimeout(b);
|
|
2329
|
+
}, [Se]);
|
|
2330
|
+
const Te = _e === "UPCOMING" || _e === "ENDED", ke = !Xe && _e !== null, $e = `https://www.youtube-nocookie.com/embed/${ve}?autoplay=1&mute=1&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(ot)}`, Ve = `https://www.youtube.com/live_chat?v=${ve}&embed_domain=${encodeURIComponent(
|
|
2331
|
+
Qe
|
|
2332
|
+
)}`, ze = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
2333
|
+
D(() => {
|
|
2334
|
+
const b = () => {
|
|
2335
|
+
xe(window.innerWidth > window.innerHeight);
|
|
2269
2336
|
};
|
|
2270
|
-
return
|
|
2271
|
-
}, []),
|
|
2272
|
-
typeof window < "u" &&
|
|
2337
|
+
return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
|
|
2338
|
+
}, []), D(() => {
|
|
2339
|
+
typeof window < "u" && it(window.location.hostname);
|
|
2273
2340
|
}, []);
|
|
2274
|
-
const
|
|
2275
|
-
const
|
|
2276
|
-
if (
|
|
2341
|
+
const tt = async () => {
|
|
2342
|
+
const b = Oe.current;
|
|
2343
|
+
if (b?.requestFullscreen)
|
|
2277
2344
|
try {
|
|
2278
|
-
await
|
|
2279
|
-
} catch (
|
|
2280
|
-
console.error("Fullscreen error:",
|
|
2345
|
+
await b.requestFullscreen();
|
|
2346
|
+
} catch (L) {
|
|
2347
|
+
console.error("Fullscreen error:", L);
|
|
2281
2348
|
}
|
|
2282
2349
|
try {
|
|
2283
|
-
const
|
|
2284
|
-
!
|
|
2285
|
-
} catch (
|
|
2286
|
-
console.error("Orientation lock error:",
|
|
2350
|
+
const L = screen.orientation;
|
|
2351
|
+
!ze && L?.lock && await L.lock("landscape");
|
|
2352
|
+
} catch (L) {
|
|
2353
|
+
console.error("Orientation lock error:", L);
|
|
2287
2354
|
}
|
|
2288
|
-
|
|
2289
|
-
},
|
|
2355
|
+
Me(!0);
|
|
2356
|
+
}, ee = async () => {
|
|
2290
2357
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
2291
2358
|
try {
|
|
2292
2359
|
await document.exitFullscreen();
|
|
2293
|
-
} catch (
|
|
2294
|
-
console.error("Exit fullscreen error:",
|
|
2360
|
+
} catch (b) {
|
|
2361
|
+
console.error("Exit fullscreen error:", b);
|
|
2295
2362
|
}
|
|
2296
2363
|
try {
|
|
2297
|
-
const
|
|
2298
|
-
|
|
2299
|
-
} catch (
|
|
2300
|
-
console.error("Orientation unlock error:",
|
|
2364
|
+
const b = screen.orientation;
|
|
2365
|
+
b?.unlock && b.unlock();
|
|
2366
|
+
} catch (b) {
|
|
2367
|
+
console.error("Orientation unlock error:", b);
|
|
2301
2368
|
}
|
|
2302
|
-
|
|
2369
|
+
Me(!1);
|
|
2303
2370
|
};
|
|
2304
|
-
|
|
2305
|
-
const
|
|
2306
|
-
document.fullscreenElement ||
|
|
2371
|
+
D(() => {
|
|
2372
|
+
const b = () => {
|
|
2373
|
+
document.fullscreenElement || Me(!1);
|
|
2307
2374
|
};
|
|
2308
|
-
return document.addEventListener("fullscreenchange",
|
|
2309
|
-
}, []),
|
|
2310
|
-
q ||
|
|
2311
|
-
}, [q]),
|
|
2312
|
-
|
|
2313
|
-
}, [
|
|
2314
|
-
|
|
2315
|
-
}, [
|
|
2316
|
-
const
|
|
2317
|
-
q && document.fullscreenElement && await
|
|
2318
|
-
},
|
|
2319
|
-
const
|
|
2320
|
-
|
|
2375
|
+
return document.addEventListener("fullscreenchange", b), () => document.removeEventListener("fullscreenchange", b);
|
|
2376
|
+
}, []), D(() => {
|
|
2377
|
+
q || Ue(!1);
|
|
2378
|
+
}, [q]), D(() => {
|
|
2379
|
+
Z && We(!0);
|
|
2380
|
+
}, [Z]), D(() => {
|
|
2381
|
+
Z && ie("chat");
|
|
2382
|
+
}, [Z]);
|
|
2383
|
+
const ce = async (b) => {
|
|
2384
|
+
q && document.fullscreenElement && await ee(), m && await m(b);
|
|
2385
|
+
}, de = () => {
|
|
2386
|
+
const b = ge.deeplink || "/epuja", L = new URL(b, "https://www.srimandir.com");
|
|
2387
|
+
L.searchParams.set("utm_source", "youtube"), L.searchParams.set("utm_campaign", "rasrajji"), L.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (o?.({ orientation: X ? "horizontal" : "vertical" }), window.location.href = L.toString());
|
|
2321
2388
|
};
|
|
2322
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2323
|
-
!q && /* @__PURE__ */ e.jsx(
|
|
2324
|
-
!q && /* @__PURE__ */ e.jsx(
|
|
2389
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: Oe, className: i.container, children: [
|
|
2390
|
+
!q && /* @__PURE__ */ e.jsx(Bn, { isLive: _e === "LIVE", daysRemaining: 2 }),
|
|
2391
|
+
!q && /* @__PURE__ */ e.jsx(zn, {}),
|
|
2325
2392
|
/* @__PURE__ */ e.jsx(
|
|
2326
2393
|
"div",
|
|
2327
2394
|
{
|
|
2328
|
-
id:
|
|
2395
|
+
id: et,
|
|
2329
2396
|
style: {
|
|
2330
2397
|
position: "absolute",
|
|
2331
2398
|
width: 1,
|
|
@@ -2336,56 +2403,56 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2336
2403
|
"aria-hidden": "true"
|
|
2337
2404
|
}
|
|
2338
2405
|
),
|
|
2339
|
-
(
|
|
2406
|
+
(!X || q) && /* @__PURE__ */ e.jsx(
|
|
2340
2407
|
"div",
|
|
2341
2408
|
{
|
|
2342
|
-
className: q ?
|
|
2343
|
-
children: q &&
|
|
2344
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2345
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2409
|
+
className: q ? Z ? i.fullscreenWithPanel : i.videoFullscreenWithBelowBanner : i.video,
|
|
2410
|
+
children: q && Z ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2411
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenLeft, children: [
|
|
2412
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenVideoArea, children: [
|
|
2346
2413
|
/* @__PURE__ */ e.jsx(
|
|
2347
2414
|
"iframe",
|
|
2348
2415
|
{
|
|
2349
|
-
src:
|
|
2416
|
+
src: $e,
|
|
2350
2417
|
title: s,
|
|
2351
2418
|
frameBorder: "0",
|
|
2352
2419
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
2353
2420
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
2354
2421
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
2355
|
-
className:
|
|
2422
|
+
className: i.iframe
|
|
2356
2423
|
}
|
|
2357
2424
|
),
|
|
2358
2425
|
/* @__PURE__ */ e.jsx(
|
|
2359
2426
|
"button",
|
|
2360
2427
|
{
|
|
2361
|
-
className:
|
|
2362
|
-
onClick:
|
|
2428
|
+
className: i.fullscreenBtn,
|
|
2429
|
+
onClick: ee,
|
|
2363
2430
|
"aria-label": "Exit Fullscreen",
|
|
2364
2431
|
children: "⤡"
|
|
2365
2432
|
}
|
|
2366
2433
|
)
|
|
2367
2434
|
] }),
|
|
2368
|
-
|
|
2369
|
-
|
|
2435
|
+
ke ? /* @__PURE__ */ e.jsx(
|
|
2436
|
+
nt,
|
|
2370
2437
|
{
|
|
2371
2438
|
isGlobal: c,
|
|
2372
|
-
isLandscape:
|
|
2373
|
-
offeringCards:
|
|
2374
|
-
pujaCard:
|
|
2375
|
-
showPujaSlide:
|
|
2376
|
-
onOfferingClick:
|
|
2377
|
-
onPujaBannerClick:
|
|
2378
|
-
onPujaImpression:
|
|
2439
|
+
isLandscape: X,
|
|
2440
|
+
offeringCards: Ce,
|
|
2441
|
+
pujaCard: ge,
|
|
2442
|
+
showPujaSlide: Te,
|
|
2443
|
+
onOfferingClick: ce,
|
|
2444
|
+
onPujaBannerClick: de,
|
|
2445
|
+
onPujaImpression: r
|
|
2379
2446
|
}
|
|
2380
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2447
|
+
) : /* @__PURE__ */ e.jsx(st, {})
|
|
2381
2448
|
] }),
|
|
2382
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2383
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2449
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenChatPanel, children: [
|
|
2450
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenPanelHeader, children: [
|
|
2384
2451
|
/* @__PURE__ */ e.jsx(
|
|
2385
2452
|
"button",
|
|
2386
2453
|
{
|
|
2387
|
-
className:
|
|
2388
|
-
onClick: () =>
|
|
2454
|
+
className: i.fullscreenChatCloseBtn,
|
|
2455
|
+
onClick: () => Ue(!1),
|
|
2389
2456
|
"aria-label": "Close panel",
|
|
2390
2457
|
children: /* @__PURE__ */ e.jsxs(
|
|
2391
2458
|
"svg",
|
|
@@ -2405,19 +2472,19 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2405
2472
|
}
|
|
2406
2473
|
),
|
|
2407
2474
|
/* @__PURE__ */ e.jsx(
|
|
2408
|
-
|
|
2475
|
+
dt,
|
|
2409
2476
|
{
|
|
2410
|
-
activeTab:
|
|
2411
|
-
onTabChange: (
|
|
2412
|
-
|
|
2477
|
+
activeTab: ne === "chat" ? "streaks" : ne,
|
|
2478
|
+
onTabChange: (b) => {
|
|
2479
|
+
ie(b), Pe(b);
|
|
2413
2480
|
},
|
|
2414
|
-
onChatPress: () =>
|
|
2415
|
-
showSubscription:
|
|
2416
|
-
chatOpen:
|
|
2481
|
+
onChatPress: () => ie("chat"),
|
|
2482
|
+
showSubscription: V,
|
|
2483
|
+
chatOpen: ne === "chat"
|
|
2417
2484
|
}
|
|
2418
2485
|
)
|
|
2419
2486
|
] }),
|
|
2420
|
-
|
|
2487
|
+
ne === "chat" ? /* @__PURE__ */ e.jsxs(
|
|
2421
2488
|
"div",
|
|
2422
2489
|
{
|
|
2423
2490
|
style: {
|
|
@@ -2427,17 +2494,17 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2427
2494
|
background: "#000"
|
|
2428
2495
|
},
|
|
2429
2496
|
children: [
|
|
2430
|
-
|
|
2497
|
+
le && /* @__PURE__ */ e.jsx(ft, { message: "Loading chat...", compact: !0 }),
|
|
2431
2498
|
/* @__PURE__ */ e.jsx(
|
|
2432
2499
|
"iframe",
|
|
2433
2500
|
{
|
|
2434
|
-
src:
|
|
2501
|
+
src: Ve,
|
|
2435
2502
|
title: "Live Chat Fullscreen",
|
|
2436
2503
|
frameBorder: "0",
|
|
2437
|
-
onLoad: () =>
|
|
2504
|
+
onLoad: () => We(!1),
|
|
2438
2505
|
referrerPolicy: "origin",
|
|
2439
|
-
className:
|
|
2440
|
-
style: { opacity:
|
|
2506
|
+
className: i.iframe,
|
|
2507
|
+
style: { opacity: le ? 0 : 1 }
|
|
2441
2508
|
}
|
|
2442
2509
|
)
|
|
2443
2510
|
]
|
|
@@ -2445,11 +2512,11 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2445
2512
|
) : /* @__PURE__ */ e.jsxs(
|
|
2446
2513
|
"div",
|
|
2447
2514
|
{
|
|
2448
|
-
ref:
|
|
2449
|
-
className:
|
|
2515
|
+
ref: G,
|
|
2516
|
+
className: i.fullscreenPanelScroll,
|
|
2450
2517
|
children: [
|
|
2451
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2452
|
-
|
|
2518
|
+
/* @__PURE__ */ e.jsx("div", { ref: he, children: /* @__PURE__ */ e.jsx(
|
|
2519
|
+
ut,
|
|
2453
2520
|
{
|
|
2454
2521
|
attendedDays: h,
|
|
2455
2522
|
currentDay: v,
|
|
@@ -2468,7 +2535,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2468
2535
|
"aria-hidden": "true"
|
|
2469
2536
|
}
|
|
2470
2537
|
),
|
|
2471
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2538
|
+
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare: g }) }),
|
|
2472
2539
|
/* @__PURE__ */ e.jsx(
|
|
2473
2540
|
"div",
|
|
2474
2541
|
{
|
|
@@ -2482,16 +2549,16 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2482
2549
|
}
|
|
2483
2550
|
),
|
|
2484
2551
|
/* @__PURE__ */ e.jsx("div", { ref: M, children: /* @__PURE__ */ e.jsx(
|
|
2485
|
-
|
|
2552
|
+
ht,
|
|
2486
2553
|
{
|
|
2487
2554
|
onCardClick: f,
|
|
2488
2555
|
a4bApi: x,
|
|
2489
|
-
storeCardsPage:
|
|
2490
|
-
storeCardsHeaders:
|
|
2556
|
+
storeCardsPage: j,
|
|
2557
|
+
storeCardsHeaders: R,
|
|
2491
2558
|
storeCardsLimit: A
|
|
2492
2559
|
}
|
|
2493
2560
|
) }),
|
|
2494
|
-
|
|
2561
|
+
V && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2495
2562
|
/* @__PURE__ */ e.jsx(
|
|
2496
2563
|
"div",
|
|
2497
2564
|
{
|
|
@@ -2504,13 +2571,13 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2504
2571
|
"aria-hidden": "true"
|
|
2505
2572
|
}
|
|
2506
2573
|
),
|
|
2507
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2508
|
-
|
|
2574
|
+
/* @__PURE__ */ e.jsx("div", { ref: $, children: /* @__PURE__ */ e.jsx(
|
|
2575
|
+
mt,
|
|
2509
2576
|
{
|
|
2510
|
-
onSubscribe:
|
|
2511
|
-
storeId:
|
|
2512
|
-
inventoryId:
|
|
2513
|
-
onboardingType:
|
|
2577
|
+
onSubscribe: S,
|
|
2578
|
+
storeId: W,
|
|
2579
|
+
inventoryId: B,
|
|
2580
|
+
onboardingType: T,
|
|
2514
2581
|
apiBaseInstance: x?.apiInstance
|
|
2515
2582
|
}
|
|
2516
2583
|
) })
|
|
@@ -2525,44 +2592,88 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2525
2592
|
/* @__PURE__ */ e.jsx(
|
|
2526
2593
|
"iframe",
|
|
2527
2594
|
{
|
|
2528
|
-
src:
|
|
2595
|
+
src: $e,
|
|
2529
2596
|
title: s,
|
|
2530
2597
|
frameBorder: "0",
|
|
2531
2598
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
2532
2599
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
2533
2600
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
2534
|
-
className:
|
|
2601
|
+
className: i.iframe
|
|
2535
2602
|
}
|
|
2536
2603
|
),
|
|
2537
2604
|
/* @__PURE__ */ e.jsx(
|
|
2538
2605
|
"button",
|
|
2539
2606
|
{
|
|
2540
|
-
className:
|
|
2541
|
-
onClick: q ?
|
|
2607
|
+
className: i.fullscreenBtn,
|
|
2608
|
+
onClick: q ? ee : tt,
|
|
2542
2609
|
"aria-label": q ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
2543
2610
|
children: q ? "⤡" : "⤢"
|
|
2544
2611
|
}
|
|
2545
2612
|
),
|
|
2546
2613
|
q && /* @__PURE__ */ e.jsxs(
|
|
2547
|
-
"
|
|
2614
|
+
"div",
|
|
2548
2615
|
{
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2616
|
+
style: {
|
|
2617
|
+
position: "absolute",
|
|
2618
|
+
right: 0,
|
|
2619
|
+
top: "50%",
|
|
2620
|
+
transform: "translateY(-50%)",
|
|
2621
|
+
width: 48,
|
|
2622
|
+
height: 60,
|
|
2623
|
+
zIndex: 9999,
|
|
2624
|
+
display: "flex",
|
|
2625
|
+
alignItems: "center",
|
|
2626
|
+
justifyContent: "center"
|
|
2627
|
+
},
|
|
2552
2628
|
children: [
|
|
2553
2629
|
/* @__PURE__ */ e.jsx(
|
|
2554
|
-
"
|
|
2630
|
+
"div",
|
|
2555
2631
|
{
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2632
|
+
style: {
|
|
2633
|
+
width: 24,
|
|
2634
|
+
height: 24,
|
|
2635
|
+
position: "absolute",
|
|
2636
|
+
top: -24,
|
|
2637
|
+
left: 24,
|
|
2638
|
+
overflow: "hidden"
|
|
2639
|
+
},
|
|
2640
|
+
children: /* @__PURE__ */ e.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e.jsx("path", { d: "M24 0C24 13.2548 13.2548 24 0 24H24V0Z", fill: "rgba(28, 27, 27, 0.5)" }) })
|
|
2563
2641
|
}
|
|
2564
2642
|
),
|
|
2565
|
-
/* @__PURE__ */ e.jsx(
|
|
2643
|
+
/* @__PURE__ */ e.jsx(
|
|
2644
|
+
"button",
|
|
2645
|
+
{
|
|
2646
|
+
onClick: () => Ue(!0),
|
|
2647
|
+
style: {
|
|
2648
|
+
width: 48,
|
|
2649
|
+
height: 60,
|
|
2650
|
+
background: "rgba(28, 27, 27, 0.5)",
|
|
2651
|
+
border: "none",
|
|
2652
|
+
borderTopLeftRadius: 16,
|
|
2653
|
+
borderBottomLeftRadius: 16,
|
|
2654
|
+
display: "flex",
|
|
2655
|
+
alignItems: "center",
|
|
2656
|
+
justifyContent: "center",
|
|
2657
|
+
cursor: "pointer"
|
|
2658
|
+
},
|
|
2659
|
+
"aria-label": "Show Chat",
|
|
2660
|
+
children: /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "14", viewBox: "0 0 8 14", fill: "none", children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.21967 0.21967C6.51256 -0.0732233 6.98732 -0.0732233 7.28022 0.21967C7.57305 0.512568 7.57309 0.987342 7.28022 1.28022L1.81049 6.74994L7.28022 12.2197C7.57305 12.5126 7.57309 12.9873 7.28022 13.2802C6.98734 13.5731 6.51257 13.5731 6.21967 13.2802L0.21967 7.28022C-0.0732233 6.98732 -0.0732232 6.51256 0.21967 6.21967L6.21967 0.21967Z", fill: "white" }) })
|
|
2661
|
+
}
|
|
2662
|
+
),
|
|
2663
|
+
/* @__PURE__ */ e.jsx(
|
|
2664
|
+
"div",
|
|
2665
|
+
{
|
|
2666
|
+
style: {
|
|
2667
|
+
width: 24,
|
|
2668
|
+
height: 24,
|
|
2669
|
+
position: "absolute",
|
|
2670
|
+
bottom: -24,
|
|
2671
|
+
left: 24,
|
|
2672
|
+
overflow: "hidden"
|
|
2673
|
+
},
|
|
2674
|
+
children: /* @__PURE__ */ e.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e.jsx("path", { d: "M24 24C24 10.7452 13.2548 0 0 0H24V24Z", fill: "rgba(28, 27, 27, 0.5)" }) })
|
|
2675
|
+
}
|
|
2676
|
+
)
|
|
2566
2677
|
]
|
|
2567
2678
|
}
|
|
2568
2679
|
)
|
|
@@ -2571,55 +2682,55 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2571
2682
|
}
|
|
2572
2683
|
),
|
|
2573
2684
|
" ",
|
|
2574
|
-
q && !
|
|
2575
|
-
|
|
2685
|
+
q && !Z && (ke ? /* @__PURE__ */ e.jsx(
|
|
2686
|
+
nt,
|
|
2576
2687
|
{
|
|
2577
2688
|
isGlobal: c,
|
|
2578
|
-
isLandscape:
|
|
2579
|
-
offeringCards:
|
|
2580
|
-
pujaCard:
|
|
2581
|
-
showPujaSlide:
|
|
2582
|
-
onOfferingClick:
|
|
2583
|
-
onPujaBannerClick:
|
|
2584
|
-
onPujaImpression:
|
|
2689
|
+
isLandscape: X,
|
|
2690
|
+
offeringCards: Ce,
|
|
2691
|
+
pujaCard: ge,
|
|
2692
|
+
showPujaSlide: Te,
|
|
2693
|
+
onOfferingClick: ce,
|
|
2694
|
+
onPujaBannerClick: de,
|
|
2695
|
+
onPujaImpression: r
|
|
2585
2696
|
}
|
|
2586
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2587
|
-
!q && /* @__PURE__ */ e.jsx(e.Fragment, { children:
|
|
2588
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2589
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2697
|
+
) : /* @__PURE__ */ e.jsx(st, {})),
|
|
2698
|
+
!q && /* @__PURE__ */ e.jsx(e.Fragment, { children: X ? /* @__PURE__ */ e.jsxs("div", { className: i.landscapeLayout, children: [
|
|
2699
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeLeft, children: [
|
|
2700
|
+
/* @__PURE__ */ e.jsx("div", { className: i.video, style: { flex: 1 }, children: /* @__PURE__ */ e.jsx(
|
|
2590
2701
|
"iframe",
|
|
2591
2702
|
{
|
|
2592
|
-
src:
|
|
2703
|
+
src: $e,
|
|
2593
2704
|
title: s,
|
|
2594
2705
|
frameBorder: "0",
|
|
2595
2706
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
2596
2707
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
2597
2708
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
2598
|
-
className:
|
|
2709
|
+
className: i.iframe
|
|
2599
2710
|
}
|
|
2600
2711
|
) }),
|
|
2601
|
-
|
|
2602
|
-
|
|
2712
|
+
ke ? /* @__PURE__ */ e.jsx(
|
|
2713
|
+
nt,
|
|
2603
2714
|
{
|
|
2604
2715
|
isGlobal: c,
|
|
2605
|
-
isLandscape:
|
|
2606
|
-
offeringCards:
|
|
2607
|
-
pujaCard:
|
|
2608
|
-
showPujaSlide:
|
|
2609
|
-
onOfferingClick:
|
|
2610
|
-
onPujaBannerClick:
|
|
2611
|
-
onPujaImpression:
|
|
2716
|
+
isLandscape: X,
|
|
2717
|
+
offeringCards: Ce,
|
|
2718
|
+
pujaCard: ge,
|
|
2719
|
+
showPujaSlide: Te,
|
|
2720
|
+
onOfferingClick: ce,
|
|
2721
|
+
onPujaBannerClick: de,
|
|
2722
|
+
onPujaImpression: r
|
|
2612
2723
|
}
|
|
2613
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2724
|
+
) : /* @__PURE__ */ e.jsx(st, {})
|
|
2614
2725
|
] }),
|
|
2615
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2616
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2726
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeRight, children: [
|
|
2727
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapePanelHeader, children: [
|
|
2617
2728
|
/* @__PURE__ */ e.jsx(
|
|
2618
2729
|
"button",
|
|
2619
2730
|
{
|
|
2620
2731
|
type: "button",
|
|
2621
|
-
className:
|
|
2622
|
-
onClick: () =>
|
|
2732
|
+
className: i.landscapeCloseBtn,
|
|
2733
|
+
onClick: () => xe(!1),
|
|
2623
2734
|
"aria-label": "Close panel",
|
|
2624
2735
|
children: /* @__PURE__ */ e.jsxs(
|
|
2625
2736
|
"svg",
|
|
@@ -2641,40 +2752,40 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2641
2752
|
}
|
|
2642
2753
|
),
|
|
2643
2754
|
/* @__PURE__ */ e.jsx(
|
|
2644
|
-
|
|
2755
|
+
dt,
|
|
2645
2756
|
{
|
|
2646
|
-
activeTab:
|
|
2647
|
-
onTabChange: (
|
|
2648
|
-
Q(
|
|
2757
|
+
activeTab: Le,
|
|
2758
|
+
onTabChange: (b) => {
|
|
2759
|
+
Q(b), Pe(b);
|
|
2649
2760
|
},
|
|
2650
|
-
onChatPress:
|
|
2651
|
-
showSubscription:
|
|
2652
|
-
chatOpen:
|
|
2761
|
+
onChatPress: ye,
|
|
2762
|
+
showSubscription: V,
|
|
2763
|
+
chatOpen: K
|
|
2653
2764
|
}
|
|
2654
2765
|
)
|
|
2655
2766
|
] }),
|
|
2656
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2657
|
-
|
|
2767
|
+
/* @__PURE__ */ e.jsx("div", { className: i.landscapePanelBody, children: K ? /* @__PURE__ */ e.jsxs("div", { className: i.landscapeChat, children: [
|
|
2768
|
+
we && /* @__PURE__ */ e.jsx(ft, { message: "Loading chat...", compact: !0 }),
|
|
2658
2769
|
/* @__PURE__ */ e.jsx(
|
|
2659
2770
|
"iframe",
|
|
2660
2771
|
{
|
|
2661
|
-
src:
|
|
2772
|
+
src: Ve,
|
|
2662
2773
|
title: "Live Chat",
|
|
2663
2774
|
frameBorder: "0",
|
|
2664
|
-
onLoad: () =>
|
|
2775
|
+
onLoad: () => fe(!1),
|
|
2665
2776
|
referrerPolicy: "origin",
|
|
2666
|
-
className:
|
|
2667
|
-
style: { opacity:
|
|
2777
|
+
className: i.iframe,
|
|
2778
|
+
style: { opacity: we ? 0 : 1 }
|
|
2668
2779
|
}
|
|
2669
2780
|
)
|
|
2670
2781
|
] }) : /* @__PURE__ */ e.jsxs(
|
|
2671
2782
|
"div",
|
|
2672
2783
|
{
|
|
2673
|
-
ref:
|
|
2674
|
-
className:
|
|
2784
|
+
ref: G,
|
|
2785
|
+
className: i.fullscreenPanelScroll,
|
|
2675
2786
|
children: [
|
|
2676
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2677
|
-
|
|
2787
|
+
/* @__PURE__ */ e.jsx("div", { ref: he, children: /* @__PURE__ */ e.jsx(
|
|
2788
|
+
ut,
|
|
2678
2789
|
{
|
|
2679
2790
|
attendedDays: h,
|
|
2680
2791
|
currentDay: v,
|
|
@@ -2682,27 +2793,27 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2682
2793
|
}
|
|
2683
2794
|
) }),
|
|
2684
2795
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2685
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2796
|
+
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare: g }) }),
|
|
2686
2797
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2687
2798
|
/* @__PURE__ */ e.jsx("div", { ref: M, children: /* @__PURE__ */ e.jsx(
|
|
2688
|
-
|
|
2799
|
+
ht,
|
|
2689
2800
|
{
|
|
2690
2801
|
onCardClick: f,
|
|
2691
2802
|
a4bApi: x,
|
|
2692
|
-
storeCardsPage:
|
|
2693
|
-
storeCardsHeaders:
|
|
2803
|
+
storeCardsPage: j,
|
|
2804
|
+
storeCardsHeaders: R,
|
|
2694
2805
|
storeCardsLimit: A
|
|
2695
2806
|
}
|
|
2696
2807
|
) }),
|
|
2697
|
-
|
|
2808
|
+
V && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2698
2809
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2699
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2700
|
-
|
|
2810
|
+
/* @__PURE__ */ e.jsx("div", { ref: $, children: /* @__PURE__ */ e.jsx(
|
|
2811
|
+
mt,
|
|
2701
2812
|
{
|
|
2702
|
-
onSubscribe:
|
|
2703
|
-
storeId:
|
|
2704
|
-
inventoryId:
|
|
2705
|
-
onboardingType:
|
|
2813
|
+
onSubscribe: S,
|
|
2814
|
+
storeId: W,
|
|
2815
|
+
inventoryId: B,
|
|
2816
|
+
onboardingType: T,
|
|
2706
2817
|
apiBaseInstance: x?.apiInstance
|
|
2707
2818
|
}
|
|
2708
2819
|
) })
|
|
@@ -2714,46 +2825,46 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2714
2825
|
] }) : (
|
|
2715
2826
|
/* PORTRAIT: original stacked layout */
|
|
2716
2827
|
/* @__PURE__ */ e.jsx(e.Fragment, { children: p ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2717
|
-
|
|
2718
|
-
|
|
2828
|
+
ke ? /* @__PURE__ */ e.jsx(
|
|
2829
|
+
nt,
|
|
2719
2830
|
{
|
|
2720
2831
|
isGlobal: c,
|
|
2721
|
-
isLandscape:
|
|
2722
|
-
offeringCards:
|
|
2723
|
-
pujaCard:
|
|
2724
|
-
showPujaSlide:
|
|
2725
|
-
onOfferingClick:
|
|
2726
|
-
onPujaBannerClick:
|
|
2727
|
-
onPujaImpression:
|
|
2832
|
+
isLandscape: X,
|
|
2833
|
+
offeringCards: Ce,
|
|
2834
|
+
pujaCard: ge,
|
|
2835
|
+
showPujaSlide: Te,
|
|
2836
|
+
onOfferingClick: ce,
|
|
2837
|
+
onPujaBannerClick: de,
|
|
2838
|
+
onPujaImpression: r
|
|
2728
2839
|
}
|
|
2729
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2730
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2731
|
-
|
|
2840
|
+
) : /* @__PURE__ */ e.jsx(st, {}),
|
|
2841
|
+
/* @__PURE__ */ e.jsx("div", { className: i.stickyTabs, children: /* @__PURE__ */ e.jsx(
|
|
2842
|
+
dt,
|
|
2732
2843
|
{
|
|
2733
|
-
activeTab:
|
|
2734
|
-
onTabChange:
|
|
2735
|
-
onChatPress:
|
|
2736
|
-
showSubscription:
|
|
2737
|
-
chatOpen:
|
|
2844
|
+
activeTab: Le,
|
|
2845
|
+
onTabChange: be,
|
|
2846
|
+
onChatPress: ye,
|
|
2847
|
+
showSubscription: V,
|
|
2848
|
+
chatOpen: K
|
|
2738
2849
|
}
|
|
2739
2850
|
) }),
|
|
2740
|
-
|
|
2741
|
-
|
|
2851
|
+
K ? /* @__PURE__ */ e.jsxs("div", { className: i.chat, children: [
|
|
2852
|
+
we && /* @__PURE__ */ e.jsx(ft, { message: "Loading chat..." }),
|
|
2742
2853
|
/* @__PURE__ */ e.jsx(
|
|
2743
2854
|
"iframe",
|
|
2744
2855
|
{
|
|
2745
|
-
src:
|
|
2856
|
+
src: Ve,
|
|
2746
2857
|
title: "Live Chat",
|
|
2747
2858
|
frameBorder: "0",
|
|
2748
|
-
onLoad: () =>
|
|
2859
|
+
onLoad: () => fe(!1),
|
|
2749
2860
|
referrerPolicy: "origin",
|
|
2750
|
-
className:
|
|
2751
|
-
style: { opacity:
|
|
2861
|
+
className: i.iframe,
|
|
2862
|
+
style: { opacity: we ? 0 : 1 }
|
|
2752
2863
|
}
|
|
2753
2864
|
)
|
|
2754
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2755
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2756
|
-
|
|
2865
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { ref: Je, className: i.sectionsScroll, children: [
|
|
2866
|
+
/* @__PURE__ */ e.jsx("div", { ref: Ae, children: /* @__PURE__ */ e.jsx(
|
|
2867
|
+
ut,
|
|
2757
2868
|
{
|
|
2758
2869
|
attendedDays: h,
|
|
2759
2870
|
currentDay: v,
|
|
@@ -2761,89 +2872,89 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2761
2872
|
}
|
|
2762
2873
|
) }),
|
|
2763
2874
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2764
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2875
|
+
/* @__PURE__ */ e.jsx("div", { ref: Fe, children: /* @__PURE__ */ e.jsx(pt, { onShare: g }) }),
|
|
2765
2876
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2766
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2767
|
-
|
|
2877
|
+
/* @__PURE__ */ e.jsx("div", { ref: De, children: /* @__PURE__ */ e.jsx(
|
|
2878
|
+
ht,
|
|
2768
2879
|
{
|
|
2769
2880
|
onCardClick: f,
|
|
2770
2881
|
a4bApi: x,
|
|
2771
|
-
storeCardsPage:
|
|
2772
|
-
storeCardsHeaders:
|
|
2882
|
+
storeCardsPage: j,
|
|
2883
|
+
storeCardsHeaders: R,
|
|
2773
2884
|
storeCardsLimit: A
|
|
2774
2885
|
}
|
|
2775
2886
|
) }),
|
|
2776
|
-
|
|
2887
|
+
V && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2777
2888
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2778
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2779
|
-
|
|
2889
|
+
/* @__PURE__ */ e.jsx("div", { ref: Be, children: /* @__PURE__ */ e.jsx(
|
|
2890
|
+
mt,
|
|
2780
2891
|
{
|
|
2781
|
-
onSubscribe:
|
|
2782
|
-
storeId:
|
|
2783
|
-
inventoryId:
|
|
2784
|
-
onboardingType:
|
|
2892
|
+
onSubscribe: S,
|
|
2893
|
+
storeId: W,
|
|
2894
|
+
inventoryId: B,
|
|
2895
|
+
onboardingType: T,
|
|
2785
2896
|
apiBaseInstance: x?.apiInstance
|
|
2786
2897
|
}
|
|
2787
2898
|
) })
|
|
2788
2899
|
] })
|
|
2789
2900
|
] })
|
|
2790
|
-
] }) : /* @__PURE__ */ e.jsx(
|
|
2901
|
+
] }) : /* @__PURE__ */ e.jsx(_r, {}) })
|
|
2791
2902
|
) })
|
|
2792
2903
|
] });
|
|
2793
2904
|
};
|
|
2794
|
-
function
|
|
2905
|
+
function ft({
|
|
2795
2906
|
message: a,
|
|
2796
2907
|
compact: s = !1
|
|
2797
2908
|
}) {
|
|
2798
2909
|
return /* @__PURE__ */ e.jsxs(
|
|
2799
2910
|
"div",
|
|
2800
2911
|
{
|
|
2801
|
-
className: `${
|
|
2912
|
+
className: `${i.chatLoader} ${s ? i.chatLoaderCompact : ""}`,
|
|
2802
2913
|
children: [
|
|
2803
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2804
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2914
|
+
/* @__PURE__ */ e.jsx("div", { className: i.spinner }),
|
|
2915
|
+
/* @__PURE__ */ e.jsx("div", { className: i.chatLoaderText, children: a })
|
|
2805
2916
|
]
|
|
2806
2917
|
}
|
|
2807
2918
|
);
|
|
2808
2919
|
}
|
|
2809
|
-
function
|
|
2810
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2920
|
+
function st() {
|
|
2921
|
+
return /* @__PURE__ */ e.jsx("div", { className: i.carouselLoader, children: /* @__PURE__ */ e.jsx("div", { className: i.spinner }) });
|
|
2811
2922
|
}
|
|
2812
|
-
function
|
|
2923
|
+
function nt({
|
|
2813
2924
|
isGlobal: a,
|
|
2814
2925
|
isLandscape: s,
|
|
2815
2926
|
offeringCards: l,
|
|
2816
|
-
pujaCard:
|
|
2927
|
+
pujaCard: d,
|
|
2817
2928
|
showPujaSlide: c,
|
|
2818
2929
|
onOfferingClick: m,
|
|
2819
|
-
onPujaBannerClick:
|
|
2930
|
+
onPujaBannerClick: r,
|
|
2820
2931
|
onPujaImpression: o
|
|
2821
2932
|
}) {
|
|
2822
2933
|
const h = U(!1), p = 1 > 1;
|
|
2823
|
-
return
|
|
2934
|
+
return D(() => {
|
|
2824
2935
|
c ? h.current || (o?.({
|
|
2825
2936
|
orientation: s ? "horizontal" : "vertical"
|
|
2826
2937
|
}), h.current = !0) : h.current = !1;
|
|
2827
|
-
}, [c, s, o]), a ? c ? /* @__PURE__ */ e.jsx("div", { className:
|
|
2828
|
-
|
|
2938
|
+
}, [c, s, o]), a ? c ? /* @__PURE__ */ e.jsx("div", { className: i.carousel, children: /* @__PURE__ */ e.jsx(
|
|
2939
|
+
Dt,
|
|
2829
2940
|
{
|
|
2830
2941
|
isLandscape: s,
|
|
2831
|
-
pujaCard:
|
|
2832
|
-
onOfferingClick:
|
|
2942
|
+
pujaCard: d,
|
|
2943
|
+
onOfferingClick: r
|
|
2833
2944
|
}
|
|
2834
|
-
) }) : null : c ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
2945
|
+
) }) : null : c ? /* @__PURE__ */ e.jsxs("div", { className: i.carousel, children: [
|
|
2835
2946
|
/* @__PURE__ */ e.jsx(
|
|
2836
|
-
|
|
2947
|
+
Dt,
|
|
2837
2948
|
{
|
|
2838
2949
|
isLandscape: s,
|
|
2839
|
-
pujaCard:
|
|
2840
|
-
onOfferingClick:
|
|
2950
|
+
pujaCard: d,
|
|
2951
|
+
onOfferingClick: r
|
|
2841
2952
|
}
|
|
2842
2953
|
),
|
|
2843
2954
|
p
|
|
2844
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { className:
|
|
2955
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { className: i.carousel, children: [
|
|
2845
2956
|
/* @__PURE__ */ e.jsx(
|
|
2846
|
-
|
|
2957
|
+
Dr,
|
|
2847
2958
|
{
|
|
2848
2959
|
isLandscape: s,
|
|
2849
2960
|
offeringCards: l,
|
|
@@ -2853,104 +2964,104 @@ function at({
|
|
|
2853
2964
|
p
|
|
2854
2965
|
] });
|
|
2855
2966
|
}
|
|
2856
|
-
function
|
|
2967
|
+
function Dr({
|
|
2857
2968
|
isLandscape: a,
|
|
2858
2969
|
offeringCards: s,
|
|
2859
2970
|
onOfferingClick: l
|
|
2860
2971
|
}) {
|
|
2861
|
-
const [
|
|
2972
|
+
const [d, c] = C(!1), [m, r] = C(""), [o, h] = C(null), [v, p] = C(!1), f = async (g) => {
|
|
2862
2973
|
if (l)
|
|
2863
2974
|
try {
|
|
2864
|
-
await l(
|
|
2865
|
-
} catch (
|
|
2866
|
-
console.error("Offering click handler failed:",
|
|
2975
|
+
await l(g);
|
|
2976
|
+
} catch (y) {
|
|
2977
|
+
console.error("Offering click handler failed:", y);
|
|
2867
2978
|
}
|
|
2868
|
-
}, x = (
|
|
2869
|
-
h(
|
|
2870
|
-
},
|
|
2871
|
-
c(!1), h(null),
|
|
2872
|
-
},
|
|
2873
|
-
if (
|
|
2874
|
-
x(
|
|
2979
|
+
}, x = (g) => {
|
|
2980
|
+
h(g), r(g.price ? String(g.price) : ""), c(!0);
|
|
2981
|
+
}, j = () => {
|
|
2982
|
+
c(!1), h(null), r("");
|
|
2983
|
+
}, R = async (g) => {
|
|
2984
|
+
if (g.isCustom) {
|
|
2985
|
+
x(g);
|
|
2875
2986
|
return;
|
|
2876
2987
|
}
|
|
2877
|
-
await f(
|
|
2988
|
+
await f(g);
|
|
2878
2989
|
}, A = async () => {
|
|
2879
2990
|
if (!o || !l || v) return;
|
|
2880
|
-
const
|
|
2881
|
-
if (!(!Number.isFinite(
|
|
2991
|
+
const g = Number(m);
|
|
2992
|
+
if (!(!Number.isFinite(g) || g <= 0))
|
|
2882
2993
|
try {
|
|
2883
2994
|
p(!0), await l({
|
|
2884
2995
|
...o,
|
|
2885
|
-
price:
|
|
2886
|
-
customAmount:
|
|
2887
|
-
}),
|
|
2888
|
-
} catch (
|
|
2889
|
-
console.error("Custom offering click handler failed:",
|
|
2996
|
+
price: g,
|
|
2997
|
+
customAmount: g
|
|
2998
|
+
}), j();
|
|
2999
|
+
} catch (y) {
|
|
3000
|
+
console.error("Custom offering click handler failed:", y);
|
|
2890
3001
|
} finally {
|
|
2891
3002
|
p(!1);
|
|
2892
3003
|
}
|
|
2893
3004
|
};
|
|
2894
3005
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2895
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3006
|
+
/* @__PURE__ */ e.jsx("div", { className: i.banner, children: /* @__PURE__ */ e.jsxs("div", { className: i.bannerCard, children: [
|
|
2896
3007
|
/* @__PURE__ */ e.jsx(
|
|
2897
3008
|
"p",
|
|
2898
3009
|
{
|
|
2899
|
-
className: a ?
|
|
3010
|
+
className: a ? i.landscapeHeader : i.bannerTitle,
|
|
2900
3011
|
children: "Pandit Ji invited to make offering to this Puja"
|
|
2901
3012
|
}
|
|
2902
3013
|
),
|
|
2903
|
-
/* @__PURE__ */ e.jsx("div", { className: a ?
|
|
2904
|
-
(
|
|
2905
|
-
|
|
3014
|
+
/* @__PURE__ */ e.jsx("div", { className: a ? i.landscapeScroll : i.scroll, children: s.map(
|
|
3015
|
+
(g, y) => a ? /* @__PURE__ */ e.jsx(
|
|
3016
|
+
Mr,
|
|
2906
3017
|
{
|
|
2907
|
-
item:
|
|
2908
|
-
onClick: () =>
|
|
3018
|
+
item: g,
|
|
3019
|
+
onClick: () => R(g)
|
|
2909
3020
|
},
|
|
2910
|
-
|
|
3021
|
+
g.id
|
|
2911
3022
|
) : /* @__PURE__ */ e.jsx(
|
|
2912
|
-
|
|
3023
|
+
qr,
|
|
2913
3024
|
{
|
|
2914
|
-
item:
|
|
2915
|
-
index:
|
|
3025
|
+
item: g,
|
|
3026
|
+
index: y,
|
|
2916
3027
|
totalItems: s.length,
|
|
2917
|
-
onClick: () =>
|
|
3028
|
+
onClick: () => R(g)
|
|
2918
3029
|
},
|
|
2919
|
-
|
|
3030
|
+
g.id
|
|
2920
3031
|
)
|
|
2921
3032
|
) })
|
|
2922
3033
|
] }) }),
|
|
2923
3034
|
/* @__PURE__ */ e.jsx(
|
|
2924
|
-
|
|
3035
|
+
Br,
|
|
2925
3036
|
{
|
|
2926
|
-
open:
|
|
3037
|
+
open: d,
|
|
2927
3038
|
amount: m,
|
|
2928
|
-
onAmountChange: (
|
|
2929
|
-
onClose:
|
|
3039
|
+
onAmountChange: (g) => r(g.replace(/[^0-9]/g, "")),
|
|
3040
|
+
onClose: j,
|
|
2930
3041
|
onContinue: A,
|
|
2931
3042
|
disabled: !m || Number(m) <= 0 || v
|
|
2932
3043
|
}
|
|
2933
3044
|
)
|
|
2934
3045
|
] });
|
|
2935
3046
|
}
|
|
2936
|
-
function
|
|
3047
|
+
function Br({
|
|
2937
3048
|
open: a,
|
|
2938
3049
|
amount: s,
|
|
2939
3050
|
onAmountChange: l,
|
|
2940
|
-
onClose:
|
|
3051
|
+
onClose: d,
|
|
2941
3052
|
onContinue: c,
|
|
2942
3053
|
disabled: m
|
|
2943
3054
|
}) {
|
|
2944
|
-
return a ? /* @__PURE__ */ e.jsx("div", { className:
|
|
3055
|
+
return a ? /* @__PURE__ */ e.jsx("div", { className: i.customSheetOverlay, onClick: d, children: /* @__PURE__ */ e.jsxs(
|
|
2945
3056
|
"div",
|
|
2946
3057
|
{
|
|
2947
|
-
className:
|
|
2948
|
-
onClick: (
|
|
3058
|
+
className: i.customSheet,
|
|
3059
|
+
onClick: (r) => r.stopPropagation(),
|
|
2949
3060
|
children: [
|
|
2950
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2951
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2952
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2953
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3061
|
+
/* @__PURE__ */ e.jsx("p", { className: i.customSheetTitle, children: "Enter Amount" }),
|
|
3062
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.customSheetRow, children: [
|
|
3063
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.customInputWrap, children: [
|
|
3064
|
+
/* @__PURE__ */ e.jsx("span", { className: i.currencySymbol, children: "₹" }),
|
|
2954
3065
|
/* @__PURE__ */ e.jsx(
|
|
2955
3066
|
"input",
|
|
2956
3067
|
{
|
|
@@ -2959,8 +3070,8 @@ function Ar({
|
|
|
2959
3070
|
inputMode: "numeric",
|
|
2960
3071
|
pattern: "[0-9]*",
|
|
2961
3072
|
value: s,
|
|
2962
|
-
onChange: (
|
|
2963
|
-
className:
|
|
3073
|
+
onChange: (r) => l(r.target.value),
|
|
3074
|
+
className: i.customInput,
|
|
2964
3075
|
"aria-label": "Custom offering amount"
|
|
2965
3076
|
}
|
|
2966
3077
|
)
|
|
@@ -2969,7 +3080,7 @@ function Ar({
|
|
|
2969
3080
|
"button",
|
|
2970
3081
|
{
|
|
2971
3082
|
type: "button",
|
|
2972
|
-
className:
|
|
3083
|
+
className: i.customContinueBtn,
|
|
2973
3084
|
onClick: c,
|
|
2974
3085
|
disabled: m,
|
|
2975
3086
|
children: "Continue"
|
|
@@ -2980,15 +3091,15 @@ function Ar({
|
|
|
2980
3091
|
}
|
|
2981
3092
|
) }) : null;
|
|
2982
3093
|
}
|
|
2983
|
-
function
|
|
3094
|
+
function Dt({
|
|
2984
3095
|
isLandscape: a,
|
|
2985
3096
|
pujaCard: s,
|
|
2986
3097
|
onOfferingClick: l
|
|
2987
3098
|
}) {
|
|
2988
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2989
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3099
|
+
return /* @__PURE__ */ e.jsx("div", { className: i.pujaBanner, children: /* @__PURE__ */ e.jsxs("div", { className: i.pujaWrapperVertical, children: [
|
|
3100
|
+
/* @__PURE__ */ e.jsx("p", { className: i.pujaTopTitle, children: "Perform Live Puja" }),
|
|
2990
3101
|
/* @__PURE__ */ e.jsx(
|
|
2991
|
-
|
|
3102
|
+
Or,
|
|
2992
3103
|
{
|
|
2993
3104
|
isLandscape: a,
|
|
2994
3105
|
pujaCard: s,
|
|
@@ -2997,17 +3108,17 @@ function Rt({
|
|
|
2997
3108
|
)
|
|
2998
3109
|
] }) });
|
|
2999
3110
|
}
|
|
3000
|
-
function
|
|
3111
|
+
function Bt() {
|
|
3001
3112
|
return /* @__PURE__ */ e.jsx(
|
|
3002
3113
|
"img",
|
|
3003
3114
|
{
|
|
3004
3115
|
src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
3005
3116
|
alt: "Date",
|
|
3006
|
-
className:
|
|
3117
|
+
className: i.dateIcon
|
|
3007
3118
|
}
|
|
3008
3119
|
);
|
|
3009
3120
|
}
|
|
3010
|
-
function
|
|
3121
|
+
function Or({
|
|
3011
3122
|
isLandscape: a,
|
|
3012
3123
|
pujaCard: s,
|
|
3013
3124
|
onClick: l
|
|
@@ -3016,33 +3127,33 @@ function Fr({
|
|
|
3016
3127
|
"div",
|
|
3017
3128
|
{
|
|
3018
3129
|
onClick: l,
|
|
3019
|
-
className:
|
|
3130
|
+
className: i.pujaCardHorizontal,
|
|
3020
3131
|
style: { cursor: l ? "pointer" : "default" },
|
|
3021
3132
|
children: [
|
|
3022
3133
|
/* @__PURE__ */ e.jsx(
|
|
3023
3134
|
"img",
|
|
3024
3135
|
{
|
|
3025
|
-
src: s.imageUrl ||
|
|
3026
|
-
className:
|
|
3136
|
+
src: s.imageUrl || pe.imageUrl,
|
|
3137
|
+
className: i.pujaImageHorizontal,
|
|
3027
3138
|
alt: s.title
|
|
3028
3139
|
}
|
|
3029
3140
|
),
|
|
3030
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3031
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3032
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3141
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.pujaContentHorizontal, children: [
|
|
3142
|
+
/* @__PURE__ */ e.jsx("p", { className: i.pujaTitleHorizontal, children: s.title }),
|
|
3143
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaSubHorizontal, children: [
|
|
3033
3144
|
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
|
|
3034
3145
|
"img",
|
|
3035
3146
|
{
|
|
3036
3147
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
3037
3148
|
alt: "Location",
|
|
3038
|
-
className:
|
|
3149
|
+
className: i.locationIcon
|
|
3039
3150
|
}
|
|
3040
3151
|
) }),
|
|
3041
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3152
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.location })
|
|
3042
3153
|
] }),
|
|
3043
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3044
|
-
/* @__PURE__ */ e.jsx(
|
|
3045
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3154
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaSubHorizontal, children: [
|
|
3155
|
+
/* @__PURE__ */ e.jsx(Bt, {}),
|
|
3156
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.date })
|
|
3046
3157
|
] })
|
|
3047
3158
|
] })
|
|
3048
3159
|
]
|
|
@@ -3051,75 +3162,75 @@ function Fr({
|
|
|
3051
3162
|
"div",
|
|
3052
3163
|
{
|
|
3053
3164
|
onClick: l,
|
|
3054
|
-
className:
|
|
3165
|
+
className: i.pujaCardVertical,
|
|
3055
3166
|
style: { cursor: l ? "pointer" : "default" },
|
|
3056
3167
|
children: [
|
|
3057
3168
|
/* @__PURE__ */ e.jsx(
|
|
3058
3169
|
"img",
|
|
3059
3170
|
{
|
|
3060
|
-
src: s.imageUrl ||
|
|
3061
|
-
className:
|
|
3171
|
+
src: s.imageUrl || pe.imageUrl,
|
|
3172
|
+
className: i.pujaImage,
|
|
3062
3173
|
alt: s.title
|
|
3063
3174
|
}
|
|
3064
3175
|
),
|
|
3065
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3066
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3067
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3176
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.pujaContent, children: [
|
|
3177
|
+
/* @__PURE__ */ e.jsx("p", { className: i.pujaTitle, children: s.title }),
|
|
3178
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaSub, children: [
|
|
3068
3179
|
/* @__PURE__ */ e.jsx(
|
|
3069
3180
|
"img",
|
|
3070
3181
|
{
|
|
3071
3182
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
3072
3183
|
alt: "Location",
|
|
3073
|
-
className:
|
|
3184
|
+
className: i.locationIcon
|
|
3074
3185
|
}
|
|
3075
3186
|
),
|
|
3076
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3187
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.location })
|
|
3077
3188
|
] }),
|
|
3078
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3079
|
-
/* @__PURE__ */ e.jsx(
|
|
3080
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3189
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaTrustmakers, children: [
|
|
3190
|
+
/* @__PURE__ */ e.jsx(Bt, {}),
|
|
3191
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.date })
|
|
3081
3192
|
] })
|
|
3082
3193
|
] })
|
|
3083
3194
|
]
|
|
3084
3195
|
}
|
|
3085
3196
|
) });
|
|
3086
3197
|
}
|
|
3087
|
-
function
|
|
3198
|
+
function qr({
|
|
3088
3199
|
item: a,
|
|
3089
3200
|
index: s,
|
|
3090
3201
|
totalItems: l,
|
|
3091
|
-
onClick:
|
|
3202
|
+
onClick: d
|
|
3092
3203
|
}) {
|
|
3093
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3094
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3095
|
-
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className:
|
|
3204
|
+
return /* @__PURE__ */ e.jsxs("div", { className: i.card, onClick: d, children: [
|
|
3205
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.imageWrapper, children: [
|
|
3206
|
+
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className: i.image }),
|
|
3096
3207
|
/* @__PURE__ */ e.jsx(
|
|
3097
3208
|
"img",
|
|
3098
3209
|
{
|
|
3099
3210
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
3100
3211
|
alt: "",
|
|
3101
|
-
className:
|
|
3212
|
+
className: i.addBtn,
|
|
3102
3213
|
"aria-hidden": "true"
|
|
3103
3214
|
}
|
|
3104
3215
|
)
|
|
3105
3216
|
] }),
|
|
3106
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3107
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3108
|
-
s !== l - 1 && /* @__PURE__ */ e.jsx("div", { className:
|
|
3217
|
+
/* @__PURE__ */ e.jsx("p", { className: i.title, children: a.name }),
|
|
3218
|
+
/* @__PURE__ */ e.jsx("div", { className: i.priceRow, children: /* @__PURE__ */ e.jsx("span", { className: i.price, children: a.price === null ? "₹" : `₹${a.price}` }) }),
|
|
3219
|
+
s !== l - 1 && /* @__PURE__ */ e.jsx("div", { className: i.divider })
|
|
3109
3220
|
] });
|
|
3110
3221
|
}
|
|
3111
|
-
function
|
|
3222
|
+
function Mr({
|
|
3112
3223
|
item: a,
|
|
3113
3224
|
onClick: s
|
|
3114
3225
|
}) {
|
|
3115
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3116
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3226
|
+
return /* @__PURE__ */ e.jsxs("div", { className: i.landscapeCard, onClick: s, children: [
|
|
3227
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeImageWrapper, children: [
|
|
3117
3228
|
/* @__PURE__ */ e.jsx(
|
|
3118
3229
|
"img",
|
|
3119
3230
|
{
|
|
3120
3231
|
src: a.image_url,
|
|
3121
3232
|
alt: a.name,
|
|
3122
|
-
className:
|
|
3233
|
+
className: i.landscapeImage
|
|
3123
3234
|
}
|
|
3124
3235
|
),
|
|
3125
3236
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3127,46 +3238,46 @@ function Br({
|
|
|
3127
3238
|
{
|
|
3128
3239
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
3129
3240
|
alt: "",
|
|
3130
|
-
className:
|
|
3241
|
+
className: i.landscapeAdd,
|
|
3131
3242
|
"aria-hidden": "true"
|
|
3132
3243
|
}
|
|
3133
3244
|
)
|
|
3134
3245
|
] }),
|
|
3135
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3136
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3137
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3246
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeContent, children: [
|
|
3247
|
+
/* @__PURE__ */ e.jsx("p", { className: i.landscapeTitle, children: a.name }),
|
|
3248
|
+
/* @__PURE__ */ e.jsx("div", { className: i.landscapePriceRow, children: /* @__PURE__ */ e.jsx("span", { className: i.landscapePrice, children: a.price === null ? "₹" : `₹${a.price}` }) })
|
|
3138
3249
|
] })
|
|
3139
3250
|
] });
|
|
3140
3251
|
}
|
|
3141
|
-
const
|
|
3252
|
+
const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-sindoor-peda", Ie = {
|
|
3142
3253
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
3143
3254
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
3144
3255
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
3145
|
-
},
|
|
3256
|
+
}, Yr = [
|
|
3146
3257
|
{
|
|
3147
3258
|
afterTime: "2024-01-01T00:00:00Z",
|
|
3148
3259
|
items: [
|
|
3149
3260
|
{
|
|
3150
|
-
inventory_id:
|
|
3261
|
+
inventory_id: Ot,
|
|
3151
3262
|
name: "Sindoor",
|
|
3152
3263
|
price: 51,
|
|
3153
|
-
razorpay_link:
|
|
3264
|
+
razorpay_link: Ie.sindoor,
|
|
3154
3265
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3155
3266
|
},
|
|
3156
3267
|
{
|
|
3157
|
-
inventory_id:
|
|
3268
|
+
inventory_id: qt,
|
|
3158
3269
|
name: "Peda",
|
|
3159
3270
|
price: 101,
|
|
3160
|
-
razorpay_link:
|
|
3271
|
+
razorpay_link: Ie.peda,
|
|
3161
3272
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3162
3273
|
},
|
|
3163
3274
|
{
|
|
3164
|
-
inventory_id:
|
|
3275
|
+
inventory_id: Mt,
|
|
3165
3276
|
name: "Sindoor + Peda",
|
|
3166
3277
|
price: 121,
|
|
3167
3278
|
original_price: "101 + 51",
|
|
3168
3279
|
discount: "20%",
|
|
3169
|
-
razorpay_link:
|
|
3280
|
+
razorpay_link: Ie.sindoorPeda,
|
|
3170
3281
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
3171
3282
|
}
|
|
3172
3283
|
]
|
|
@@ -3175,44 +3286,44 @@ const Lt = "hanuman-live-sindoor", At = "hanuman-live-peda", Ft = "hanuman-live-
|
|
|
3175
3286
|
afterTime: "2024-08-01T00:00:00Z",
|
|
3176
3287
|
items: [
|
|
3177
3288
|
{
|
|
3178
|
-
inventory_id:
|
|
3289
|
+
inventory_id: Ot,
|
|
3179
3290
|
name: "Sindoor",
|
|
3180
3291
|
price: 51,
|
|
3181
|
-
razorpay_link:
|
|
3292
|
+
razorpay_link: Ie.sindoor,
|
|
3182
3293
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
3183
3294
|
},
|
|
3184
3295
|
{
|
|
3185
|
-
inventory_id:
|
|
3296
|
+
inventory_id: qt,
|
|
3186
3297
|
name: "Peda",
|
|
3187
3298
|
price: 101,
|
|
3188
|
-
razorpay_link:
|
|
3299
|
+
razorpay_link: Ie.peda,
|
|
3189
3300
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3190
3301
|
},
|
|
3191
3302
|
{
|
|
3192
|
-
inventory_id:
|
|
3303
|
+
inventory_id: Mt,
|
|
3193
3304
|
name: "Sindoor + Peda",
|
|
3194
3305
|
price: 121,
|
|
3195
3306
|
discount: "20%",
|
|
3196
|
-
razorpay_link:
|
|
3307
|
+
razorpay_link: Ie.sindoorPeda,
|
|
3197
3308
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
3198
3309
|
}
|
|
3199
3310
|
]
|
|
3200
3311
|
}
|
|
3201
3312
|
];
|
|
3202
3313
|
export {
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3314
|
+
Hr as AppContextProvider,
|
|
3315
|
+
Yr as BANNER_ITEMS,
|
|
3316
|
+
dt as DLPTabs,
|
|
3317
|
+
Wr as I18nProvider,
|
|
3318
|
+
$r as LandingPage,
|
|
3319
|
+
_r as LoggedOutSections,
|
|
3320
|
+
pt as ShareSection,
|
|
3321
|
+
ht as StoreSection,
|
|
3322
|
+
ut as StreakSection,
|
|
3323
|
+
mt as SubscriptionSection,
|
|
3324
|
+
Vr as SuccessPage,
|
|
3325
|
+
zr as VideoPage,
|
|
3326
|
+
Vt as useAppContext,
|
|
3327
|
+
vt as useI18n
|
|
3217
3328
|
};
|
|
3218
3329
|
//# sourceMappingURL=daily-live-puja.js.map
|