@srimandir/daily-live-puja 1.53.0 → 1.58.0

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.
@@ -1,64 +1,64 @@
1
- import Jt, { useRef as A, useState as N, useCallback as Xe, useEffect as D, useContext as oa, createContext as la, useMemo as Kt, useId as ba } from "react";
2
- import { createPortal as ja } from "react-dom";
3
- var qt = { exports: {} }, jt = {};
1
+ import Kt, { useRef as A, useState as N, useCallback as et, useEffect as L, useContext as oa, createContext as la, useMemo as Xt, useId as ja } from "react";
2
+ import { createPortal as wa } from "react-dom";
3
+ var Yt = { exports: {} }, St = {};
4
4
  var On;
5
- function wa() {
6
- if (On) return jt;
5
+ function Sa() {
6
+ if (On) return St;
7
7
  On = 1;
8
- var t = Jt, n = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
8
+ var t = Kt, n = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
9
9
  function u(o, p, w) {
10
- var l, h = {}, m = null, x = null;
11
- w !== void 0 && (m = "" + w), p.key !== void 0 && (m = "" + p.key), p.ref !== void 0 && (x = p.ref);
10
+ var l, h = {}, _ = null, v = null;
11
+ w !== void 0 && (_ = "" + w), p.key !== void 0 && (_ = "" + p.key), p.ref !== void 0 && (v = p.ref);
12
12
  for (l in p) i.call(p, l) && !c.hasOwnProperty(l) && (h[l] = p[l]);
13
13
  if (o && o.defaultProps) for (l in p = o.defaultProps, p) h[l] === void 0 && (h[l] = p[l]);
14
- return { $$typeof: n, type: o, key: m, ref: x, props: h, _owner: s.current };
14
+ return { $$typeof: n, type: o, key: _, ref: v, props: h, _owner: s.current };
15
15
  }
16
- return jt.Fragment = r, jt.jsx = u, jt.jsxs = u, jt;
16
+ return St.Fragment = r, St.jsx = u, St.jsxs = u, St;
17
17
  }
18
- var wt = {};
18
+ var Ct = {};
19
19
  var Mn;
20
- function Sa() {
20
+ function Ca() {
21
21
  return Mn || (Mn = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = Jt, n = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), c = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), l = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), x = /* @__PURE__ */ Symbol.for("react.offscreen"), _ = Symbol.iterator, k = "@@iterator";
22
+ var t = Kt, n = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), c = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), l = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), _ = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, C = "@@iterator";
23
23
  function j(a) {
24
24
  if (a === null || typeof a != "object")
25
25
  return null;
26
- var d = _ && a[_] || a[k];
26
+ var d = g && a[g] || a[C];
27
27
  return typeof d == "function" ? d : null;
28
28
  }
29
29
  var S = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
30
  function b(a) {
31
31
  {
32
- for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), C = 1; C < d; C++)
33
- g[C - 1] = arguments[C];
34
- E("error", a, g);
32
+ for (var d = arguments.length, m = new Array(d > 1 ? d - 1 : 0), k = 1; k < d; k++)
33
+ m[k - 1] = arguments[k];
34
+ D("error", a, m);
35
35
  }
36
36
  }
37
- function E(a, d, g) {
37
+ function D(a, d, m) {
38
38
  {
39
- var C = S.ReactDebugCurrentFrame, B = C.getStackAddendum();
40
- B !== "" && (d += "%s", g = g.concat([B]));
41
- var I = g.map(function(R) {
39
+ var k = S.ReactDebugCurrentFrame, I = k.getStackAddendum();
40
+ I !== "" && (d += "%s", m = m.concat([I]));
41
+ var U = m.map(function(R) {
42
42
  return String(R);
43
43
  });
44
- I.unshift("Warning: " + d), Function.prototype.apply.call(console[a], console, I);
44
+ U.unshift("Warning: " + d), Function.prototype.apply.call(console[a], console, U);
45
45
  }
46
46
  }
47
- var $ = !1, v = !1, T = !1, F = !1, J = !1, ee;
47
+ var $ = !1, y = !1, T = !1, F = !1, J = !1, ee;
48
48
  ee = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function ce(a) {
50
- return !!(typeof a == "string" || typeof a == "function" || a === i || a === c || J || a === s || a === w || a === l || F || a === x || $ || v || T || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === h || a.$$typeof === u || a.$$typeof === o || a.$$typeof === p || // This needs to include all possible module reference object
50
+ return !!(typeof a == "string" || typeof a == "function" || a === i || a === c || J || a === s || a === w || a === l || F || a === v || $ || y || T || typeof a == "object" && a !== null && (a.$$typeof === _ || a.$$typeof === h || a.$$typeof === u || a.$$typeof === o || a.$$typeof === p || // This needs to include all possible module reference object
51
51
  // types supported by any Flight configuration anywhere since
52
52
  // we don't know which Flight build this will end up being used
53
53
  // with.
54
54
  a.$$typeof === ee || a.getModuleId !== void 0));
55
55
  }
56
- function Se(a, d, g) {
57
- var C = a.displayName;
58
- if (C)
59
- return C;
60
- var B = d.displayName || d.name || "";
61
- return B !== "" ? g + "(" + B + ")" : g;
56
+ function Te(a, d, m) {
57
+ var k = a.displayName;
58
+ if (k)
59
+ return k;
60
+ var I = d.displayName || d.name || "";
61
+ return I !== "" ? m + "(" + I + ")" : m;
62
62
  }
63
63
  function de(a) {
64
64
  return a.displayName || "Context";
@@ -90,17 +90,17 @@ function Sa() {
90
90
  var d = a;
91
91
  return de(d) + ".Consumer";
92
92
  case u:
93
- var g = a;
94
- return de(g._context) + ".Provider";
93
+ var m = a;
94
+ return de(m._context) + ".Provider";
95
95
  case p:
96
- return Se(a, a.render, "ForwardRef");
96
+ return Te(a, a.render, "ForwardRef");
97
97
  case h:
98
- var C = a.displayName || null;
99
- return C !== null ? C : P(a.type) || "Memo";
100
- case m: {
101
- var B = a, I = B._payload, R = B._init;
98
+ var k = a.displayName || null;
99
+ return k !== null ? k : P(a.type) || "Memo";
100
+ case _: {
101
+ var I = a, U = I._payload, R = I._init;
102
102
  try {
103
- return P(R(I));
103
+ return P(R(U));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,14 +108,14 @@ function Sa() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var U = Object.assign, Y = 0, G, ae, he, pt, ht, Dt, se;
111
+ var B = Object.assign, z = 0, Y, ae, he, ft, mt, It, se;
112
112
  function ge() {
113
113
  }
114
114
  ge.__reactDisabledLog = !0;
115
115
  function xe() {
116
116
  {
117
- if (Y === 0) {
118
- G = console.log, ae = console.info, he = console.warn, pt = console.error, ht = console.group, Dt = console.groupCollapsed, se = console.groupEnd;
117
+ if (z === 0) {
118
+ Y = console.log, ae = console.info, he = console.warn, ft = console.error, mt = console.group, It = console.groupCollapsed, se = console.groupEnd;
119
119
  var a = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
@@ -132,77 +132,77 @@ function Sa() {
132
132
  groupEnd: a
133
133
  });
134
134
  }
135
- Y++;
135
+ z++;
136
136
  }
137
137
  }
138
- function Be() {
138
+ function Me() {
139
139
  {
140
- if (Y--, Y === 0) {
140
+ if (z--, z === 0) {
141
141
  var a = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: U({}, a, {
148
- value: G
147
+ log: B({}, a, {
148
+ value: Y
149
149
  }),
150
- info: U({}, a, {
150
+ info: B({}, a, {
151
151
  value: ae
152
152
  }),
153
- warn: U({}, a, {
153
+ warn: B({}, a, {
154
154
  value: he
155
155
  }),
156
- error: U({}, a, {
157
- value: pt
156
+ error: B({}, a, {
157
+ value: ft
158
158
  }),
159
- group: U({}, a, {
160
- value: ht
159
+ group: B({}, a, {
160
+ value: mt
161
161
  }),
162
- groupCollapsed: U({}, a, {
163
- value: Dt
162
+ groupCollapsed: B({}, a, {
163
+ value: It
164
164
  }),
165
- groupEnd: U({}, a, {
165
+ groupEnd: B({}, a, {
166
166
  value: se
167
167
  })
168
168
  });
169
169
  }
170
- Y < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ z < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var Oe = S.ReactCurrentDispatcher, Me;
174
- function Ee(a, d, g) {
173
+ var $e = S.ReactCurrentDispatcher, Ue;
174
+ function Pe(a, d, m) {
175
175
  {
176
- if (Me === void 0)
176
+ if (Ue === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch (B) {
180
- var C = B.stack.trim().match(/\n( *(at )?)/);
181
- Me = C && C[1] || "";
179
+ } catch (I) {
180
+ var k = I.stack.trim().match(/\n( *(at )?)/);
181
+ Ue = k && k[1] || "";
182
182
  }
183
183
  return `
184
- ` + Me + a;
184
+ ` + Ue + a;
185
185
  }
186
186
  }
187
- var Ce = !1, ke;
187
+ var Ne = !1, Ee;
188
188
  {
189
- var ft = typeof WeakMap == "function" ? WeakMap : Map;
190
- ke = new ft();
189
+ var _t = typeof WeakMap == "function" ? WeakMap : Map;
190
+ Ee = new _t();
191
191
  }
192
- function Lt(a, d) {
193
- if (!a || Ce)
192
+ function At(a, d) {
193
+ if (!a || Ne)
194
194
  return "";
195
195
  {
196
- var g = ke.get(a);
197
- if (g !== void 0)
198
- return g;
196
+ var m = Ee.get(a);
197
+ if (m !== void 0)
198
+ return m;
199
199
  }
200
- var C;
201
- Ce = !0;
202
- var B = Error.prepareStackTrace;
200
+ var k;
201
+ Ne = !0;
202
+ var I = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var I;
205
- I = Oe.current, Oe.current = null, xe();
204
+ var U;
205
+ U = $e.current, $e.current = null, xe();
206
206
  try {
207
207
  if (d) {
208
208
  var R = function() {
@@ -215,145 +215,145 @@ function Sa() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(R, []);
218
- } catch (q) {
219
- C = q;
218
+ } catch (ne) {
219
+ k = ne;
220
220
  }
221
221
  Reflect.construct(a, [], R);
222
222
  } else {
223
223
  try {
224
224
  R.call();
225
- } catch (q) {
226
- C = q;
225
+ } catch (ne) {
226
+ k = ne;
227
227
  }
228
228
  a.call(R.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (q) {
234
- C = q;
233
+ } catch (ne) {
234
+ k = ne;
235
235
  }
236
236
  a();
237
237
  }
238
- } catch (q) {
239
- if (q && C && typeof q.stack == "string") {
240
- for (var L = q.stack.split(`
241
- `), z = C.stack.split(`
242
- `), H = L.length - 1, W = z.length - 1; H >= 1 && W >= 0 && L[H] !== z[W]; )
243
- W--;
244
- for (; H >= 1 && W >= 0; H--, W--)
245
- if (L[H] !== z[W]) {
246
- if (H !== 1 || W !== 1)
238
+ } catch (ne) {
239
+ if (ne && k && typeof ne.stack == "string") {
240
+ for (var E = ne.stack.split(`
241
+ `), Z = k.stack.split(`
242
+ `), W = E.length - 1, H = Z.length - 1; W >= 1 && H >= 0 && E[W] !== Z[H]; )
243
+ H--;
244
+ for (; W >= 1 && H >= 0; W--, H--)
245
+ if (E[W] !== Z[H]) {
246
+ if (W !== 1 || H !== 1)
247
247
  do
248
- if (H--, W--, W < 0 || L[H] !== z[W]) {
249
- var ne = `
250
- ` + L[H].replace(" at new ", " at ");
251
- return a.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", a.displayName)), typeof a == "function" && ke.set(a, ne), ne;
248
+ if (W--, H--, H < 0 || E[W] !== Z[H]) {
249
+ var q = `
250
+ ` + E[W].replace(" at new ", " at ");
251
+ return a.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", a.displayName)), typeof a == "function" && Ee.set(a, q), q;
252
252
  }
253
- while (H >= 1 && W >= 0);
253
+ while (W >= 1 && H >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- Ce = !1, Oe.current = I, Be(), Error.prepareStackTrace = B;
258
+ Ne = !1, $e.current = U, Me(), Error.prepareStackTrace = I;
259
259
  }
260
- var Pe = a ? a.displayName || a.name : "", we = Pe ? Ee(Pe) : "";
261
- return typeof a == "function" && ke.set(a, we), we;
260
+ var be = a ? a.displayName || a.name : "", Re = be ? Pe(be) : "";
261
+ return typeof a == "function" && Ee.set(a, Re), Re;
262
262
  }
263
- function $e(a, d, g) {
264
- return Lt(a, !1);
263
+ function We(a, d, m) {
264
+ return At(a, !1);
265
265
  }
266
- function X(a) {
266
+ function G(a) {
267
267
  var d = a.prototype;
268
268
  return !!(d && d.isReactComponent);
269
269
  }
270
- function Re(a, d, g) {
270
+ function Ie(a, d, m) {
271
271
  if (a == null)
272
272
  return "";
273
273
  if (typeof a == "function")
274
- return Lt(a, X(a));
274
+ return At(a, G(a));
275
275
  if (typeof a == "string")
276
- return Ee(a);
276
+ return Pe(a);
277
277
  switch (a) {
278
278
  case w:
279
- return Ee("Suspense");
279
+ return Pe("Suspense");
280
280
  case l:
281
- return Ee("SuspenseList");
281
+ return Pe("SuspenseList");
282
282
  }
283
283
  if (typeof a == "object")
284
284
  switch (a.$$typeof) {
285
285
  case p:
286
- return $e(a.render);
286
+ return We(a.render);
287
287
  case h:
288
- return Re(a.type, d, g);
289
- case m: {
290
- var C = a, B = C._payload, I = C._init;
288
+ return Ie(a.type, d, m);
289
+ case _: {
290
+ var k = a, I = k._payload, U = k._init;
291
291
  try {
292
- return Re(I(B), d, g);
292
+ return Ie(U(I), d, m);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var K = Object.prototype.hasOwnProperty, De = {}, Pt = S.ReactDebugCurrentFrame;
300
- function Ue(a) {
299
+ var K = Object.prototype.hasOwnProperty, Ae = {}, Ft = S.ReactDebugCurrentFrame;
300
+ function He(a) {
301
301
  if (a) {
302
- var d = a._owner, g = Re(a.type, a._source, d ? d.type : null);
303
- Pt.setExtraStackFrame(g);
302
+ var d = a._owner, m = Ie(a.type, a._source, d ? d.type : null);
303
+ Ft.setExtraStackFrame(m);
304
304
  } else
305
- Pt.setExtraStackFrame(null);
305
+ Ft.setExtraStackFrame(null);
306
306
  }
307
- function It(a, d, g, C, B) {
307
+ function Bt(a, d, m, k, I) {
308
308
  {
309
- var I = Function.call.bind(K);
309
+ var U = Function.call.bind(K);
310
310
  for (var R in a)
311
- if (I(a, R)) {
312
- var L = void 0;
311
+ if (U(a, R)) {
312
+ var E = void 0;
313
313
  try {
314
314
  if (typeof a[R] != "function") {
315
- var z = Error((C || "React class") + ": " + g + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw z.name = "Invariant Violation", z;
315
+ var Z = Error((k || "React class") + ": " + m + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw Z.name = "Invariant Violation", Z;
317
317
  }
318
- L = a[R](d, R, C, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
- } catch (H) {
320
- L = H;
318
+ E = a[R](d, R, k, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
+ } catch (W) {
320
+ E = W;
321
321
  }
322
- L && !(L instanceof Error) && (Ue(B), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", g, R, typeof L), Ue(null)), L instanceof Error && !(L.message in De) && (De[L.message] = !0, Ue(B), b("Failed %s type: %s", g, L.message), Ue(null));
322
+ E && !(E instanceof Error) && (He(I), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", k || "React class", m, R, typeof E), He(null)), E instanceof Error && !(E.message in Ae) && (Ae[E.message] = !0, He(I), b("Failed %s type: %s", m, E.message), He(null));
323
323
  }
324
324
  }
325
325
  }
326
- var We = Array.isArray;
327
- function Ze(a) {
328
- return We(a);
326
+ var Ve = Array.isArray;
327
+ function tt(a) {
328
+ return Ve(a);
329
329
  }
330
- function At(a) {
330
+ function Ot(a) {
331
331
  {
332
- var d = typeof Symbol == "function" && Symbol.toStringTag, g = d && a[Symbol.toStringTag] || a.constructor.name || "Object";
333
- return g;
332
+ var d = typeof Symbol == "function" && Symbol.toStringTag, m = d && a[Symbol.toStringTag] || a.constructor.name || "Object";
333
+ return m;
334
334
  }
335
335
  }
336
- function Ft(a) {
336
+ function Mt(a) {
337
337
  try {
338
- return mt(a), !1;
338
+ return gt(a), !1;
339
339
  } catch {
340
340
  return !0;
341
341
  }
342
342
  }
343
- function mt(a) {
343
+ function gt(a) {
344
344
  return "" + a;
345
345
  }
346
- function Qe(a) {
347
- if (Ft(a))
348
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", At(a)), mt(a);
346
+ function nt(a) {
347
+ if (Mt(a))
348
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(a)), gt(a);
349
349
  }
350
- var He = S.ReactCurrentOwner, Bt = {
350
+ var qe = S.ReactCurrentOwner, $t = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, et, Ve;
356
- function qe(a) {
355
+ }, at, ze;
356
+ function Ye(a) {
357
357
  if (K.call(a, "ref")) {
358
358
  var d = Object.getOwnPropertyDescriptor(a, "ref").get;
359
359
  if (d && d.isReactWarning)
@@ -369,92 +369,92 @@ function Sa() {
369
369
  }
370
370
  return a.key !== void 0;
371
371
  }
372
- function _t(a, d) {
373
- typeof a.ref == "string" && He.current;
372
+ function xt(a, d) {
373
+ typeof a.ref == "string" && qe.current;
374
374
  }
375
- function Ot(a, d) {
375
+ function Ut(a, d) {
376
376
  {
377
- var g = function() {
378
- et || (et = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
377
+ var m = function() {
378
+ at || (at = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
379
379
  };
380
- g.isReactWarning = !0, Object.defineProperty(a, "key", {
381
- get: g,
380
+ m.isReactWarning = !0, Object.defineProperty(a, "key", {
381
+ get: m,
382
382
  configurable: !0
383
383
  });
384
384
  }
385
385
  }
386
- function ze(a, d) {
386
+ function Ge(a, d) {
387
387
  {
388
- var g = function() {
389
- Ve || (Ve = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
388
+ var m = function() {
389
+ ze || (ze = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
390
390
  };
391
- g.isReactWarning = !0, Object.defineProperty(a, "ref", {
392
- get: g,
391
+ m.isReactWarning = !0, Object.defineProperty(a, "ref", {
392
+ get: m,
393
393
  configurable: !0
394
394
  });
395
395
  }
396
396
  }
397
- var ie = function(a, d, g, C, B, I, R) {
398
- var L = {
397
+ var ie = function(a, d, m, k, I, U, R) {
398
+ var E = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: n,
401
401
  // Built-in properties that belong on the element
402
402
  type: a,
403
403
  key: d,
404
- ref: g,
404
+ ref: m,
405
405
  props: R,
406
406
  // Record the component responsible for creating this element.
407
- _owner: I
407
+ _owner: U
408
408
  };
409
- return L._store = {}, Object.defineProperty(L._store, "validated", {
409
+ return E._store = {}, Object.defineProperty(E._store, "validated", {
410
410
  configurable: !1,
411
411
  enumerable: !1,
412
412
  writable: !0,
413
413
  value: !1
414
- }), Object.defineProperty(L, "_self", {
414
+ }), Object.defineProperty(E, "_self", {
415
415
  configurable: !1,
416
416
  enumerable: !1,
417
417
  writable: !1,
418
- value: C
419
- }), Object.defineProperty(L, "_source", {
418
+ value: k
419
+ }), Object.defineProperty(E, "_source", {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: B
424
- }), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
423
+ value: I
424
+ }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
425
425
  };
426
- function Xt(a, d, g, C, B) {
426
+ function Zt(a, d, m, k, I) {
427
427
  {
428
- var I, R = {}, L = null, z = null;
429
- g !== void 0 && (Qe(g), L = "" + g), fe(d) && (Qe(d.key), L = "" + d.key), qe(d) && (z = d.ref, _t(d, B));
430
- for (I in d)
431
- K.call(d, I) && !Bt.hasOwnProperty(I) && (R[I] = d[I]);
428
+ var U, R = {}, E = null, Z = null;
429
+ m !== void 0 && (nt(m), E = "" + m), fe(d) && (nt(d.key), E = "" + d.key), Ye(d) && (Z = d.ref, xt(d, I));
430
+ for (U in d)
431
+ K.call(d, U) && !$t.hasOwnProperty(U) && (R[U] = d[U]);
432
432
  if (a && a.defaultProps) {
433
- var H = a.defaultProps;
434
- for (I in H)
435
- R[I] === void 0 && (R[I] = H[I]);
433
+ var W = a.defaultProps;
434
+ for (U in W)
435
+ R[U] === void 0 && (R[U] = W[U]);
436
436
  }
437
- if (L || z) {
438
- var W = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
439
- L && Ot(R, W), z && ze(R, W);
437
+ if (E || Z) {
438
+ var H = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
439
+ E && Ut(R, H), Z && Ge(R, H);
440
440
  }
441
- return ie(a, L, z, B, C, He.current, R);
441
+ return ie(a, E, Z, I, k, qe.current, R);
442
442
  }
443
443
  }
444
- var me = S.ReactCurrentOwner, tt = S.ReactDebugCurrentFrame;
444
+ var me = S.ReactCurrentOwner, rt = S.ReactDebugCurrentFrame;
445
445
  function ve(a) {
446
446
  if (a) {
447
- var d = a._owner, g = Re(a.type, a._source, d ? d.type : null);
448
- tt.setExtraStackFrame(g);
447
+ var d = a._owner, m = Ie(a.type, a._source, d ? d.type : null);
448
+ rt.setExtraStackFrame(m);
449
449
  } else
450
- tt.setExtraStackFrame(null);
450
+ rt.setExtraStackFrame(null);
451
451
  }
452
- var nt;
453
- nt = !1;
454
- function at(a) {
452
+ var st;
453
+ st = !1;
454
+ function it(a) {
455
455
  return typeof a == "object" && a !== null && a.$$typeof === n;
456
456
  }
457
- function gt() {
457
+ function vt() {
458
458
  {
459
459
  if (me.current) {
460
460
  var a = P(me.current.type);
@@ -469,170 +469,170 @@ Check the render method of \`` + a + "`.";
469
469
  function _e(a) {
470
470
  return "";
471
471
  }
472
- var xt = {};
473
- function Mt(a) {
472
+ var yt = {};
473
+ function Wt(a) {
474
474
  {
475
- var d = gt();
475
+ var d = vt();
476
476
  if (!d) {
477
- var g = typeof a == "string" ? a : a.displayName || a.name;
478
- g && (d = `
477
+ var m = typeof a == "string" ? a : a.displayName || a.name;
478
+ m && (d = `
479
479
 
480
- Check the top-level render call using <` + g + ">.");
480
+ Check the top-level render call using <` + m + ">.");
481
481
  }
482
482
  return d;
483
483
  }
484
484
  }
485
- function rt(a, d) {
485
+ function Fe(a, d) {
486
486
  {
487
487
  if (!a._store || a._store.validated || a.key != null)
488
488
  return;
489
489
  a._store.validated = !0;
490
- var g = Mt(d);
491
- if (xt[g])
490
+ var m = Wt(d);
491
+ if (yt[m])
492
492
  return;
493
- xt[g] = !0;
494
- var C = "";
495
- a && a._owner && a._owner !== me.current && (C = " It was passed a child from " + P(a._owner.type) + "."), ve(a), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, C), ve(null);
493
+ yt[m] = !0;
494
+ var k = "";
495
+ a && a._owner && a._owner !== me.current && (k = " It was passed a child from " + P(a._owner.type) + "."), ve(a), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, k), ve(null);
496
496
  }
497
497
  }
498
- function $t(a, d) {
498
+ function ye(a, d) {
499
499
  {
500
500
  if (typeof a != "object")
501
501
  return;
502
- if (Ze(a))
503
- for (var g = 0; g < a.length; g++) {
504
- var C = a[g];
505
- at(C) && rt(C, d);
502
+ if (tt(a))
503
+ for (var m = 0; m < a.length; m++) {
504
+ var k = a[m];
505
+ it(k) && Fe(k, d);
506
506
  }
507
- else if (at(a))
507
+ else if (it(a))
508
508
  a._store && (a._store.validated = !0);
509
509
  else if (a) {
510
- var B = j(a);
511
- if (typeof B == "function" && B !== a.entries)
512
- for (var I = B.call(a), R; !(R = I.next()).done; )
513
- at(R.value) && rt(R.value, d);
510
+ var I = j(a);
511
+ if (typeof I == "function" && I !== a.entries)
512
+ for (var U = I.call(a), R; !(R = U.next()).done; )
513
+ it(R.value) && Fe(R.value, d);
514
514
  }
515
515
  }
516
516
  }
517
- function Zt(a) {
517
+ function Qt(a) {
518
518
  {
519
519
  var d = a.type;
520
520
  if (d == null || typeof d == "string")
521
521
  return;
522
- var g;
522
+ var m;
523
523
  if (typeof d == "function")
524
- g = d.propTypes;
524
+ m = d.propTypes;
525
525
  else if (typeof d == "object" && (d.$$typeof === p || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
527
  d.$$typeof === h))
528
- g = d.propTypes;
528
+ m = d.propTypes;
529
529
  else
530
530
  return;
531
- if (g) {
532
- var C = P(d);
533
- It(g, a.props, "prop", C, a);
534
- } else if (d.PropTypes !== void 0 && !nt) {
535
- nt = !0;
536
- var B = P(d);
537
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
531
+ if (m) {
532
+ var k = P(d);
533
+ Bt(m, a.props, "prop", k, a);
534
+ } else if (d.PropTypes !== void 0 && !st) {
535
+ st = !0;
536
+ var I = P(d);
537
+ b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
538
538
  }
539
539
  typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
541
541
  }
542
- function Qt(a) {
542
+ function en(a) {
543
543
  {
544
- for (var d = Object.keys(a.props), g = 0; g < d.length; g++) {
545
- var C = d[g];
546
- if (C !== "children" && C !== "key") {
547
- ve(a), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), ve(null);
544
+ for (var d = Object.keys(a.props), m = 0; m < d.length; m++) {
545
+ var k = d[m];
546
+ if (k !== "children" && k !== "key") {
547
+ ve(a), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), ve(null);
548
548
  break;
549
549
  }
550
550
  }
551
551
  a.ref !== null && (ve(a), b("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
552
552
  }
553
553
  }
554
- var be = {};
555
- function Le(a, d, g, C, B, I) {
554
+ var Ht = {};
555
+ function Se(a, d, m, k, I, U) {
556
556
  {
557
557
  var R = ce(a);
558
558
  if (!R) {
559
- var L = "";
560
- (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (L += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var z = _e();
562
- z ? L += z : L += gt();
563
- var H;
564
- a === null ? H = "null" : Ze(a) ? H = "array" : a !== void 0 && a.$$typeof === n ? (H = "<" + (P(a.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : H = typeof a, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, L);
559
+ var E = "";
560
+ (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
+ var Z = _e();
562
+ Z ? E += Z : E += vt();
563
+ var W;
564
+ a === null ? W = "null" : tt(a) ? W = "array" : a !== void 0 && a.$$typeof === n ? (W = "<" + (P(a.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : W = typeof a, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, E);
565
565
  }
566
- var W = Xt(a, d, g, B, I);
567
- if (W == null)
568
- return W;
566
+ var H = Zt(a, d, m, I, U);
567
+ if (H == null)
568
+ return H;
569
569
  if (R) {
570
- var ne = d.children;
571
- if (ne !== void 0)
572
- if (C)
573
- if (Ze(ne)) {
574
- for (var Pe = 0; Pe < ne.length; Pe++)
575
- $t(ne[Pe], a);
576
- Object.freeze && Object.freeze(ne);
570
+ var q = d.children;
571
+ if (q !== void 0)
572
+ if (k)
573
+ if (tt(q)) {
574
+ for (var be = 0; be < q.length; be++)
575
+ ye(q[be], a);
576
+ Object.freeze && Object.freeze(q);
577
577
  } else
578
578
  b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
- $t(ne, a);
580
+ ye(q, a);
581
581
  }
582
582
  if (K.call(d, "key")) {
583
- var we = P(a), q = Object.keys(d).filter(function(en) {
584
- return en !== "key";
585
- }), Z = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!be[we + Z]) {
587
- var yt = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
583
+ var Re = P(a), ne = Object.keys(d).filter(function(jt) {
584
+ return jt !== "key";
585
+ }), je = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!Ht[Re + je]) {
587
+ var re = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
588
588
  b(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
591
591
  React keys must be passed directly to JSX without using spread:
592
592
  let props = %s;
593
- <%s key={someKey} {...props} />`, Z, we, yt, we), be[we + Z] = !0;
593
+ <%s key={someKey} {...props} />`, je, Re, re, Re), Ht[Re + je] = !0;
594
594
  }
595
595
  }
596
- return a === i ? Qt(W) : Zt(W), W;
596
+ return a === i ? en(H) : Qt(H), H;
597
597
  }
598
598
  }
599
- function je(a, d, g) {
600
- return Le(a, d, g, !0);
599
+ function Je(a, d, m) {
600
+ return Se(a, d, m, !0);
601
601
  }
602
- function te(a, d, g) {
603
- return Le(a, d, g, !1);
602
+ function Ce(a, d, m) {
603
+ return Se(a, d, m, !1);
604
604
  }
605
- var vt = te, Ut = je;
606
- wt.Fragment = i, wt.jsx = vt, wt.jsxs = Ut;
607
- })()), wt;
605
+ var te = Ce, bt = Je;
606
+ Ct.Fragment = i, Ct.jsx = te, Ct.jsxs = bt;
607
+ })()), Ct;
608
608
  }
609
609
  var $n;
610
- function Ca() {
611
- return $n || ($n = 1, process.env.NODE_ENV === "production" ? qt.exports = wa() : qt.exports = Sa()), qt.exports;
610
+ function ka() {
611
+ return $n || ($n = 1, process.env.NODE_ENV === "production" ? Yt.exports = Sa() : Yt.exports = Ca()), Yt.exports;
612
612
  }
613
- var e = Ca();
614
- const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_13o88_38", Ea = "_subtitleText_13o88_50", Ra = "_subtitleSubtext_13o88_61", Da = "_heroImage_13o88_72", Fe = {
615
- headerWrapper: ka,
616
- heroWrapper: Ta,
617
- title: Na,
618
- subtitleText: Ea,
619
- subtitleSubtext: Ra,
620
- heroImage: Da
621
- }, La = "_premiumBadge_fw95k_1", Pa = "_header_fw95k_17", Ia = "_transparentHeader_fw95k_21", Aa = "_title_fw95k_24", Fa = "_subtitle_fw95k_27", Ba = "_leftBlock_fw95k_31", Oa = "_logo_fw95k_35", Ma = "_titleBlock_fw95k_39", $a = "_tags_fw95k_51", Ua = "_liveTag_fw95k_55", Wa = "_liveDot_fw95k_59", Ha = "_daysTag_fw95k_63", Va = "_joinFreeTag_fw95k_69", pe = {
622
- premiumBadge: La,
623
- header: Pa,
624
- transparentHeader: Ia,
625
- title: Aa,
626
- subtitle: Fa,
627
- leftBlock: Ba,
628
- logo: Oa,
629
- titleBlock: Ma,
630
- tags: $a,
631
- liveTag: Ua,
632
- liveDot: Wa,
633
- daysTag: Ha,
634
- joinFreeTag: Va
635
- }, qa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", wn = ({
613
+ var e = ka();
614
+ const Ta = "_headerWrapper_13o88_1", Na = "_heroWrapper_13o88_29", Ea = "_title_13o88_38", Ra = "_subtitleText_13o88_50", Da = "_subtitleSubtext_13o88_61", La = "_heroImage_13o88_72", Oe = {
615
+ headerWrapper: Ta,
616
+ heroWrapper: Na,
617
+ title: Ea,
618
+ subtitleText: Ra,
619
+ subtitleSubtext: Da,
620
+ heroImage: La
621
+ }, Pa = "_premiumBadge_fw95k_1", Ia = "_header_fw95k_17", Aa = "_transparentHeader_fw95k_21", Fa = "_title_fw95k_24", Ba = "_subtitle_fw95k_27", Oa = "_leftBlock_fw95k_31", Ma = "_logo_fw95k_35", $a = "_titleBlock_fw95k_39", Ua = "_tags_fw95k_51", Wa = "_liveTag_fw95k_55", Ha = "_liveDot_fw95k_59", Va = "_daysTag_fw95k_63", qa = "_joinFreeTag_fw95k_69", pe = {
622
+ premiumBadge: Pa,
623
+ header: Ia,
624
+ transparentHeader: Aa,
625
+ title: Fa,
626
+ subtitle: Ba,
627
+ leftBlock: Oa,
628
+ logo: Ma,
629
+ titleBlock: $a,
630
+ tags: Ua,
631
+ liveTag: Wa,
632
+ liveDot: Ha,
633
+ daysTag: Va,
634
+ joinFreeTag: qa
635
+ }, za = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", wn = ({
636
636
  isLive: t = !1,
637
637
  daysRemaining: n,
638
638
  isLoggedIn: r = !0,
@@ -641,7 +641,7 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
641
641
  onJoinClick: c
642
642
  }) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: `${pe.header} ${s ? pe.transparentHeader : ""}`, children: [
643
643
  /* @__PURE__ */ e.jsxs("div", { className: pe.leftBlock, children: [
644
- /* @__PURE__ */ e.jsx("img", { src: qa, className: pe.logo, alt: "Puja" }),
644
+ /* @__PURE__ */ e.jsx("img", { src: za, className: pe.logo, alt: "Puja" }),
645
645
  /* @__PURE__ */ e.jsxs("div", { className: pe.titleBlock, children: [
646
646
  /* @__PURE__ */ e.jsx("h1", { className: pe.title, children: "Sri Mandir" }),
647
647
  /* @__PURE__ */ e.jsx("h6", { className: pe.subtitle, children: "Daily Live Puja" })
@@ -665,40 +665,40 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
665
665
  children: "Join Free"
666
666
  }
667
667
  )
668
- ] }) }), za = "_root_17epb_1", Ya = "_section_17epb_22", Ga = "_statsSection_17epb_26", Ja = "_statsCard_17epb_30", Ka = "_statItem_17epb_35", Xa = "_statValue_17epb_39", Za = "_statLabel_17epb_44", Qa = "_devoteesSection_17epb_49", er = "_sectionTitle_17epb_53", tr = "_benefitsList_17epb_57", nr = "_benefitItem_17epb_61", ar = "_benefitIcon_17epb_68", rr = "_benefitTitle_17epb_72", sr = "_benefitDesc_17epb_77", ir = "_testimonialsScroll_17epb_82", or = "_testimonialCard_17epb_86", lr = "_testimonialHeader_17epb_90", cr = "_avatar_17epb_94", dr = "_name_17epb_98", ur = "_location_17epb_102", pr = "_stars_17epb_106", hr = "_quote_17epb_110", fr = "_quoteClamped_17epb_114", mr = "_readMoreButton_17epb_122", _r = "_stickyJoinSection_17epb_127", gr = "_stickyJoinHead_17epb_135", xr = "_avatarGroup_17epb_140", vr = "_stickyAvatar_17epb_144", yr = "_stickyAvatarImage_17epb_151", br = "_stickyAvatarLabel_17epb_157", jr = "_stickyJoinText_17epb_186", wr = "_stickyJoinCta_17epb_195", M = {
669
- root: za,
670
- section: Ya,
671
- statsSection: Ga,
672
- statsCard: Ja,
673
- statItem: Ka,
674
- statValue: Xa,
675
- statLabel: Za,
676
- devoteesSection: Qa,
677
- sectionTitle: er,
678
- benefitsList: tr,
679
- benefitItem: nr,
680
- benefitIcon: ar,
681
- benefitTitle: rr,
682
- benefitDesc: sr,
683
- testimonialsScroll: ir,
684
- testimonialCard: or,
685
- testimonialHeader: lr,
686
- avatar: cr,
687
- name: dr,
688
- location: ur,
689
- stars: pr,
690
- quote: hr,
691
- quoteClamped: fr,
692
- readMoreButton: mr,
693
- stickyJoinSection: _r,
694
- stickyJoinHead: gr,
695
- avatarGroup: xr,
696
- stickyAvatar: vr,
697
- stickyAvatarImage: yr,
698
- stickyAvatarLabel: br,
699
- stickyJoinText: jr,
700
- stickyJoinCta: wr
701
- }, Sr = [
668
+ ] }) }), Ya = "_root_17epb_1", Ga = "_section_17epb_22", Ja = "_statsSection_17epb_26", Ka = "_statsCard_17epb_30", Xa = "_statItem_17epb_35", Za = "_statValue_17epb_39", Qa = "_statLabel_17epb_44", er = "_devoteesSection_17epb_49", tr = "_sectionTitle_17epb_53", nr = "_benefitsList_17epb_57", ar = "_benefitItem_17epb_61", rr = "_benefitIcon_17epb_68", sr = "_benefitTitle_17epb_72", ir = "_benefitDesc_17epb_77", or = "_testimonialsScroll_17epb_82", lr = "_testimonialCard_17epb_86", cr = "_testimonialHeader_17epb_90", dr = "_avatar_17epb_94", ur = "_name_17epb_98", pr = "_location_17epb_102", hr = "_stars_17epb_106", fr = "_quote_17epb_110", mr = "_quoteClamped_17epb_114", _r = "_readMoreButton_17epb_122", gr = "_stickyJoinSection_17epb_127", xr = "_stickyJoinHead_17epb_135", vr = "_avatarGroup_17epb_140", yr = "_stickyAvatar_17epb_144", br = "_stickyAvatarImage_17epb_151", jr = "_stickyAvatarLabel_17epb_157", wr = "_stickyJoinText_17epb_186", Sr = "_stickyJoinCta_17epb_195", O = {
669
+ root: Ya,
670
+ section: Ga,
671
+ statsSection: Ja,
672
+ statsCard: Ka,
673
+ statItem: Xa,
674
+ statValue: Za,
675
+ statLabel: Qa,
676
+ devoteesSection: er,
677
+ sectionTitle: tr,
678
+ benefitsList: nr,
679
+ benefitItem: ar,
680
+ benefitIcon: rr,
681
+ benefitTitle: sr,
682
+ benefitDesc: ir,
683
+ testimonialsScroll: or,
684
+ testimonialCard: lr,
685
+ testimonialHeader: cr,
686
+ avatar: dr,
687
+ name: ur,
688
+ location: pr,
689
+ stars: hr,
690
+ quote: fr,
691
+ quoteClamped: mr,
692
+ readMoreButton: _r,
693
+ stickyJoinSection: gr,
694
+ stickyJoinHead: xr,
695
+ avatarGroup: vr,
696
+ stickyAvatar: yr,
697
+ stickyAvatarImage: br,
698
+ stickyAvatarLabel: jr,
699
+ stickyJoinText: wr,
700
+ stickyJoinCta: Sr
701
+ }, Cr = [
702
702
  {
703
703
  id: "sacred-temples",
704
704
  iconUrl: "https://srm-cdn.a4b.io/yoda/1778063445682.svg",
@@ -729,7 +729,7 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
729
729
  title: "Write Manokamna in Live Chat",
730
730
  description: "Get a chance for your manokamna to become part of the live ritual as it happens"
731
731
  }
732
- ], Cr = [
732
+ ], kr = [
733
733
  {
734
734
  id: "ramesh",
735
735
  name: "Ramesh Pandey",
@@ -746,7 +746,7 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
746
746
  rating: 5,
747
747
  quote: "Maine pehle kabhi live puja join nahi ki thi. Daily reminders se meri morning spiritual routine set ho gayi. Ghar par rehte hue bhi temple connection ka same bhaav aata hai. Family ke saath milkar join karte hain to aur bhi achha lagta hai."
748
748
  }
749
- ], kr = [
749
+ ], Tr = [
750
750
  {
751
751
  id: "profile-1",
752
752
  name: "Ramesh",
@@ -775,15 +775,15 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
775
775
  bgColor: "#4C8ED9",
776
776
  imageUrl: "https://srm-cdn.a4b.io/yoda/1776853894207.webp"
777
777
  }
778
- ], Tr = (t) => "★".repeat(Math.max(0, t)), Nr = ({ item: t }) => {
779
- const [n, r] = N(!1), [i, s] = N(!1), c = A(null), u = Xe(() => {
778
+ ], Nr = (t) => "★".repeat(Math.max(0, t)), Er = ({ item: t }) => {
779
+ const [n, r] = N(!1), [i, s] = N(!1), c = A(null), u = et(() => {
780
780
  const o = c.current;
781
781
  if (!o || n)
782
782
  return;
783
783
  const p = o.scrollHeight > o.clientHeight + 1;
784
784
  s(p);
785
785
  }, [n]);
786
- return D(() => {
786
+ return L(() => {
787
787
  if (n) {
788
788
  s(!1);
789
789
  return;
@@ -792,20 +792,20 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
792
792
  return window.addEventListener("resize", u), () => {
793
793
  window.cancelAnimationFrame(o), window.removeEventListener("resize", u);
794
794
  };
795
- }, [u, n, t.quote]), /* @__PURE__ */ e.jsxs("article", { className: M.testimonialCard, children: [
796
- /* @__PURE__ */ e.jsxs("div", { className: M.testimonialHeader, children: [
797
- /* @__PURE__ */ e.jsx("div", { className: M.avatar, children: t.initial }),
795
+ }, [u, n, t.quote]), /* @__PURE__ */ e.jsxs("article", { className: O.testimonialCard, children: [
796
+ /* @__PURE__ */ e.jsxs("div", { className: O.testimonialHeader, children: [
797
+ /* @__PURE__ */ e.jsx("div", { className: O.avatar, children: t.initial }),
798
798
  /* @__PURE__ */ e.jsxs("div", { children: [
799
- /* @__PURE__ */ e.jsx("p", { className: M.name, children: t.name }),
800
- /* @__PURE__ */ e.jsx("p", { className: M.location, children: t.location }),
801
- /* @__PURE__ */ e.jsx("div", { className: M.stars, children: Tr(t.rating) })
799
+ /* @__PURE__ */ e.jsx("p", { className: O.name, children: t.name }),
800
+ /* @__PURE__ */ e.jsx("p", { className: O.location, children: t.location }),
801
+ /* @__PURE__ */ e.jsx("div", { className: O.stars, children: Nr(t.rating) })
802
802
  ] })
803
803
  ] }),
804
804
  /* @__PURE__ */ e.jsxs(
805
805
  "p",
806
806
  {
807
807
  ref: c,
808
- className: `${M.quote} ${n ? "" : M.quoteClamped}`.trim(),
808
+ className: `${O.quote} ${n ? "" : O.quoteClamped}`.trim(),
809
809
  children: [
810
810
  '" ',
811
811
  t.quote,
@@ -817,20 +817,20 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
817
817
  "button",
818
818
  {
819
819
  type: "button",
820
- className: M.readMoreButton,
820
+ className: O.readMoreButton,
821
821
  onClick: () => r(!0),
822
822
  children: "Read more"
823
823
  }
824
824
  )
825
825
  ] }, t.id);
826
- }, Er = ({ onSwipe: t }) => {
826
+ }, Rr = ({ onSwipe: t }) => {
827
827
  const n = A(1);
828
- return /* @__PURE__ */ e.jsxs("section", { className: M.devoteesSection, "data-logged-out-section": "reviews", children: [
829
- /* @__PURE__ */ e.jsx("h2", { className: M.sectionTitle, children: "What Devotees Say" }),
828
+ return /* @__PURE__ */ e.jsxs("section", { className: O.devoteesSection, "data-logged-out-section": "reviews", children: [
829
+ /* @__PURE__ */ e.jsx("h2", { className: O.sectionTitle, children: "What Devotees Say" }),
830
830
  /* @__PURE__ */ e.jsx(
831
831
  "div",
832
832
  {
833
- className: M.testimonialsScroll,
833
+ className: O.testimonialsScroll,
834
834
  onScroll: (r) => {
835
835
  const i = r.currentTarget, s = i.firstElementChild;
836
836
  if (!s) {
@@ -840,42 +840,42 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
840
840
  const c = window.getComputedStyle(i), u = Number.parseFloat(c.columnGap || c.gap || "0") || 0, o = Math.max(1, s.offsetWidth + u), p = Math.max(1, Math.round(i.scrollLeft / o) + 1);
841
841
  p !== n.current && (n.current = p, t?.(p));
842
842
  },
843
- children: Cr.map((r) => /* @__PURE__ */ e.jsx(Nr, { item: r }, r.id))
843
+ children: kr.map((r) => /* @__PURE__ */ e.jsx(Er, { item: r }, r.id))
844
844
  }
845
845
  )
846
846
  ] });
847
- }, Rr = () => /* @__PURE__ */ e.jsxs("section", { className: M.section, "data-logged-out-section": "what_you_get", children: [
848
- /* @__PURE__ */ e.jsx("h2", { className: M.sectionTitle, children: "What You'll Get" }),
849
- /* @__PURE__ */ e.jsx("div", { className: M.benefitsList, children: Sr.map((t) => /* @__PURE__ */ e.jsxs("div", { className: M.benefitItem, children: [
850
- /* @__PURE__ */ e.jsx("img", { src: t.iconUrl, alt: t.title, className: M.benefitIcon }),
847
+ }, Dr = () => /* @__PURE__ */ e.jsxs("section", { className: O.section, "data-logged-out-section": "what_you_get", children: [
848
+ /* @__PURE__ */ e.jsx("h2", { className: O.sectionTitle, children: "What You'll Get" }),
849
+ /* @__PURE__ */ e.jsx("div", { className: O.benefitsList, children: Cr.map((t) => /* @__PURE__ */ e.jsxs("div", { className: O.benefitItem, children: [
850
+ /* @__PURE__ */ e.jsx("img", { src: t.iconUrl, alt: t.title, className: O.benefitIcon }),
851
851
  /* @__PURE__ */ e.jsxs("div", { children: [
852
- /* @__PURE__ */ e.jsx("p", { className: M.benefitTitle, children: t.title }),
853
- /* @__PURE__ */ e.jsx("p", { className: M.benefitDesc, children: t.description })
852
+ /* @__PURE__ */ e.jsx("p", { className: O.benefitTitle, children: t.title }),
853
+ /* @__PURE__ */ e.jsx("p", { className: O.benefitDesc, children: t.description })
854
854
  ] })
855
855
  ] }, t.id)) })
856
- ] }), Dr = [
856
+ ] }), Lr = [
857
857
  { id: "devotees", value: "30 Lac+", label: "Devotees" },
858
858
  { id: "rating", value: "4.7 ★", label: "Rating" },
859
859
  { id: "services", value: "3M+", label: "Services" }
860
- ], Lr = () => /* @__PURE__ */ e.jsx("section", { className: M.statsSection, "data-logged-out-section": "stats_bar", children: /* @__PURE__ */ e.jsx("div", { className: M.statsCard, children: Dr.map((t) => /* @__PURE__ */ e.jsxs("div", { className: M.statItem, children: [
861
- /* @__PURE__ */ e.jsx("p", { className: M.statValue, children: t.value }),
862
- /* @__PURE__ */ e.jsx("p", { className: M.statLabel, children: t.label })
863
- ] }, t.id)) }) }), Pr = ({
860
+ ], Pr = () => /* @__PURE__ */ e.jsx("section", { className: O.statsSection, "data-logged-out-section": "stats_bar", children: /* @__PURE__ */ e.jsx("div", { className: O.statsCard, children: Lr.map((t) => /* @__PURE__ */ e.jsxs("div", { className: O.statItem, children: [
861
+ /* @__PURE__ */ e.jsx("p", { className: O.statValue, children: t.value }),
862
+ /* @__PURE__ */ e.jsx("p", { className: O.statLabel, children: t.label })
863
+ ] }, t.id)) }) }), Ir = ({
864
864
  onJoinClick: t,
865
865
  onImpression: n
866
- }) => (Jt.useEffect(() => {
866
+ }) => (Kt.useEffect(() => {
867
867
  n?.("Login CTA");
868
868
  }, [n]), /* @__PURE__ */ e.jsxs(
869
869
  "section",
870
870
  {
871
- className: M.stickyJoinSection,
871
+ className: O.stickyJoinSection,
872
872
  "data-logged-out-sticky-cta": "true",
873
873
  children: [
874
- /* @__PURE__ */ e.jsxs("div", { className: M.stickyJoinHead, children: [
875
- /* @__PURE__ */ e.jsx("div", { className: M.avatarGroup, children: kr.map((r) => /* @__PURE__ */ e.jsx(
874
+ /* @__PURE__ */ e.jsxs("div", { className: O.stickyJoinHead, children: [
875
+ /* @__PURE__ */ e.jsx("div", { className: O.avatarGroup, children: Tr.map((r) => /* @__PURE__ */ e.jsx(
876
876
  "span",
877
877
  {
878
- className: M.stickyAvatar,
878
+ className: O.stickyAvatar,
879
879
  style: { background: r.bgColor || "#ef6c00" },
880
880
  "aria-label": r.name,
881
881
  title: r.name,
@@ -884,14 +884,14 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
884
884
  {
885
885
  src: r.imageUrl,
886
886
  alt: r.name,
887
- className: M.stickyAvatarImage,
887
+ className: O.stickyAvatarImage,
888
888
  loading: "lazy"
889
889
  }
890
- ) : /* @__PURE__ */ e.jsx("span", { className: M.stickyAvatarLabel, children: r.initial })
890
+ ) : /* @__PURE__ */ e.jsx("span", { className: O.stickyAvatarLabel, children: r.initial })
891
891
  },
892
892
  r.id
893
893
  )) }),
894
- /* @__PURE__ */ e.jsxs("p", { className: M.stickyJoinText, children: [
894
+ /* @__PURE__ */ e.jsxs("p", { className: O.stickyJoinText, children: [
895
895
  /* @__PURE__ */ e.jsx("strong", { children: "1,200+ devotees" }),
896
896
  " joined this week"
897
897
  ] })
@@ -900,7 +900,7 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
900
900
  "button",
901
901
  {
902
902
  type: "button",
903
- className: M.stickyJoinCta,
903
+ className: O.stickyJoinCta,
904
904
  onClick: t,
905
905
  children: "Register for Free"
906
906
  }
@@ -911,34 +911,34 @@ const ka = "_headerWrapper_13o88_1", Ta = "_heroWrapper_13o88_29", Na = "_title_
911
911
  onJoinClick: t,
912
912
  onSectionImpression: n,
913
913
  onReviewsSwipe: r
914
- }) => /* @__PURE__ */ e.jsxs("div", { className: M.root, children: [
915
- /* @__PURE__ */ e.jsx(Rr, { onImpression: n }),
916
- /* @__PURE__ */ e.jsx(Lr, { onImpression: n }),
914
+ }) => /* @__PURE__ */ e.jsxs("div", { className: O.root, children: [
915
+ /* @__PURE__ */ e.jsx(Dr, { onImpression: n }),
916
+ /* @__PURE__ */ e.jsx(Pr, { onImpression: n }),
917
917
  /* @__PURE__ */ e.jsx(
918
- Er,
918
+ Rr,
919
919
  {
920
920
  onImpression: n,
921
921
  onSwipe: r
922
922
  }
923
923
  ),
924
924
  /* @__PURE__ */ e.jsx(
925
- Pr,
925
+ Ir,
926
926
  {
927
927
  onJoinClick: t,
928
928
  onImpression: n
929
929
  }
930
930
  )
931
931
  ] });
932
- function Ir({ text: t }) {
933
- return /* @__PURE__ */ e.jsx("h2", { className: Fe.title, children: t });
932
+ function Ar({ text: t }) {
933
+ return /* @__PURE__ */ e.jsx("h2", { className: Oe.title, children: t });
934
934
  }
935
- function Ar({ text: t, subtext: n }) {
936
- return /* @__PURE__ */ e.jsxs("div", { className: Fe.subtitleWrapper, children: [
937
- /* @__PURE__ */ e.jsx("p", { className: Fe.subtitleText, children: t }),
938
- /* @__PURE__ */ e.jsx("p", { className: Fe.subtitleSubtext, children: n })
935
+ function Fr({ text: t, subtext: n }) {
936
+ return /* @__PURE__ */ e.jsxs("div", { className: Oe.subtitleWrapper, children: [
937
+ /* @__PURE__ */ e.jsx("p", { className: Oe.subtitleText, children: t }),
938
+ /* @__PURE__ */ e.jsx("p", { className: Oe.subtitleSubtext, children: n })
939
939
  ] });
940
940
  }
941
- function Fr({
941
+ function Br({
942
942
  containerRef: t,
943
943
  stableStreamStatus: n,
944
944
  daysRemaining: r,
@@ -948,8 +948,8 @@ function Fr({
948
948
  onSectionImpression: u,
949
949
  onCarouselSwipe: o
950
950
  }) {
951
- return /* @__PURE__ */ e.jsxs("div", { ref: t, className: Fe.container, children: [
952
- /* @__PURE__ */ e.jsxs("div", { className: Fe.headerWrapper, "data-logged-out-section": "header_wrapper", children: [
951
+ return /* @__PURE__ */ e.jsxs("div", { ref: t, className: Oe.container, children: [
952
+ /* @__PURE__ */ e.jsxs("div", { className: Oe.headerWrapper, "data-logged-out-section": "header_wrapper", children: [
953
953
  /* @__PURE__ */ e.jsx(
954
954
  wn,
955
955
  {
@@ -961,10 +961,10 @@ function Fr({
961
961
  onJoinClick: c || s
962
962
  }
963
963
  ),
964
- /* @__PURE__ */ e.jsxs("div", { className: Fe.heroWrapper, children: [
965
- /* @__PURE__ */ e.jsx(Ir, { text: "Join Daily Live Puja From Famous Tirth Kshetras" }),
964
+ /* @__PURE__ */ e.jsxs("div", { className: Oe.heroWrapper, children: [
965
+ /* @__PURE__ */ e.jsx(Ar, { text: "Join Daily Live Puja From Famous Tirth Kshetras" }),
966
966
  /* @__PURE__ */ e.jsx(
967
- Ar,
967
+ Fr,
968
968
  {
969
969
  text: "Just 15 Minutes Daily",
970
970
  subtext: "Start Free for 7-day"
@@ -975,7 +975,7 @@ function Fr({
975
975
  {
976
976
  src: "https://srm-cdn.a4b.io/yoda/1778055543805.webp",
977
977
  alt: "Daily Live Puja",
978
- className: Fe.heroImage
978
+ className: Oe.heroImage
979
979
  }
980
980
  )
981
981
  ] })
@@ -990,7 +990,7 @@ function Fr({
990
990
  )
991
991
  ] });
992
992
  }
993
- const Br = {
993
+ const Or = {
994
994
  landingPage: "Landing Page",
995
995
  successPage: "Success Page",
996
996
  jaiShreeRam: "JAI SHREE RAM",
@@ -1038,7 +1038,7 @@ const Br = {
1038
1038
  hours: "HRS",
1039
1039
  minutes: "MIN",
1040
1040
  secondsLabel: "SEC"
1041
- }, Or = {
1041
+ }, Mr = {
1042
1042
  landingPage: "लैंडिंग पेज",
1043
1043
  successPage: "सफलता पेज",
1044
1044
  jaiShreeRam: "जय श्री राम",
@@ -1086,25 +1086,25 @@ const Br = {
1086
1086
  hours: "घंटे",
1087
1087
  minutes: "मिनट",
1088
1088
  secondsLabel: "सेकंड"
1089
- }, Mr = {
1090
- en: Br,
1091
- hi: Or
1092
- }, da = la(null), jl = ({
1089
+ }, $r = {
1090
+ en: Or,
1091
+ hi: Mr
1092
+ }, da = la(null), wl = ({
1093
1093
  locale: t,
1094
1094
  children: n
1095
1095
  }) => {
1096
- const i = { locale: t, t: (s) => Mr[t]?.[s] ?? s };
1096
+ const i = { locale: t, t: (s) => $r[t]?.[s] ?? s };
1097
1097
  return /* @__PURE__ */ e.jsx(da.Provider, { value: i, children: n });
1098
1098
  };
1099
- function $r() {
1099
+ function Ur() {
1100
1100
  return oa(da);
1101
1101
  }
1102
- const ua = la(void 0), Ur = () => {
1102
+ const ua = la(void 0), Wr = () => {
1103
1103
  const t = oa(ua);
1104
1104
  if (!t)
1105
1105
  throw new Error("useAppContext must be used within AppContextProvider");
1106
1106
  return t;
1107
- }, wl = ({
1107
+ }, Sl = ({
1108
1108
  children: t
1109
1109
  }) => {
1110
1110
  const [n, r] = N(null), [i, s] = N(!1);
@@ -1120,28 +1120,28 @@ const ua = la(void 0), Ur = () => {
1120
1120
  children: t
1121
1121
  }
1122
1122
  );
1123
- }, Wr = "_successPage_8t8j5_1", Hr = "_profileImageContainer_8t8j5_7", Vr = "_profileImage_8t8j5_7", qr = "_greeting_8t8j5_19", zr = "_jaiShreeRam_8t8j5_23", Yr = "_userName_8t8j5_29", Gr = "_registrationCard_8t8j5_34", Jr = "_registeredText_8t8j5_48", Kr = "_eventName_8t8j5_53", Xr = "_eventDetails_8t8j5_61", Zr = "_whatsappButton_8t8j5_66", Qr = "_redirectInfo_8t8j5_75", es = "_redirectText_8t8j5_79", ts = "_countdown_8t8j5_84", ns = "_nextSteps_8t8j5_90", as = "_nextStepsTitle_8t8j5_96", rs = "_stepsList_8t8j5_101", ss = "_step_8t8j5_101", is = "_stepNumber_8t8j5_109", os = "_stepText_8t8j5_113", V = {
1124
- successPage: Wr,
1125
- profileImageContainer: Hr,
1126
- profileImage: Vr,
1127
- greeting: qr,
1128
- jaiShreeRam: zr,
1129
- userName: Yr,
1130
- registrationCard: Gr,
1131
- registeredText: Jr,
1132
- eventName: Kr,
1133
- eventDetails: Xr,
1134
- whatsappButton: Zr,
1135
- redirectInfo: Qr,
1136
- redirectText: es,
1137
- countdown: ts,
1138
- nextSteps: ns,
1139
- nextStepsTitle: as,
1140
- stepsList: rs,
1141
- step: ss,
1142
- stepNumber: is,
1143
- stepText: os
1144
- }, ls = "918151810300", cs = "I'm interested in the Rasrajji Hanuman Jayanti Path", Un = `https://wa.me/${ls}?text=${encodeURIComponent(cs)}`, Sl = ({
1123
+ }, Hr = "_successPage_8t8j5_1", Vr = "_profileImageContainer_8t8j5_7", qr = "_profileImage_8t8j5_7", zr = "_greeting_8t8j5_19", Yr = "_jaiShreeRam_8t8j5_23", Gr = "_userName_8t8j5_29", Jr = "_registrationCard_8t8j5_34", Kr = "_registeredText_8t8j5_48", Xr = "_eventName_8t8j5_53", Zr = "_eventDetails_8t8j5_61", Qr = "_whatsappButton_8t8j5_66", es = "_redirectInfo_8t8j5_75", ts = "_redirectText_8t8j5_79", ns = "_countdown_8t8j5_84", as = "_nextSteps_8t8j5_90", rs = "_nextStepsTitle_8t8j5_96", ss = "_stepsList_8t8j5_101", is = "_step_8t8j5_101", os = "_stepNumber_8t8j5_109", ls = "_stepText_8t8j5_113", V = {
1124
+ successPage: Hr,
1125
+ profileImageContainer: Vr,
1126
+ profileImage: qr,
1127
+ greeting: zr,
1128
+ jaiShreeRam: Yr,
1129
+ userName: Gr,
1130
+ registrationCard: Jr,
1131
+ registeredText: Kr,
1132
+ eventName: Xr,
1133
+ eventDetails: Zr,
1134
+ whatsappButton: Qr,
1135
+ redirectInfo: es,
1136
+ redirectText: ts,
1137
+ countdown: ns,
1138
+ nextSteps: as,
1139
+ nextStepsTitle: rs,
1140
+ stepsList: ss,
1141
+ step: is,
1142
+ stepNumber: os,
1143
+ stepText: ls
1144
+ }, cs = "918151810300", ds = "I'm interested in the Rasrajji Hanuman Jayanti Path", Un = `https://wa.me/${cs}?text=${encodeURIComponent(ds)}`, Cl = ({
1145
1145
  userName: t = "Rahul",
1146
1146
  eventName: n = "Hanuman Jayanti Maha Path",
1147
1147
  eventDate: r = "2nd April",
@@ -1152,19 +1152,19 @@ const ua = la(void 0), Ur = () => {
1152
1152
  showToast: o,
1153
1153
  disableRedirect: p = !1
1154
1154
  }) => {
1155
- const l = $r()?.t || ((j) => j), { userData: h } = Ur(), [m, x] = N(c), _ = A(!1), k = h?.name || t;
1156
- return D(() => {
1157
- !_.current && u?.trackSuccessPageViewed && (u.trackSuccessPageViewed({
1155
+ const l = Ur()?.t || ((j) => j), { userData: h } = Wr(), [_, v] = N(c), g = A(!1), C = h?.name || t;
1156
+ return L(() => {
1157
+ !g.current && u?.trackSuccessPageViewed && (u.trackSuccessPageViewed({
1158
1158
  name: h?.name,
1159
1159
  phone: h?.fullPhoneNumber
1160
- }), _.current = !0);
1161
- }, [u, h?.name, h?.fullPhoneNumber]), D(() => {
1160
+ }), g.current = !0);
1161
+ }, [u, h?.name, h?.fullPhoneNumber]), L(() => {
1162
1162
  if (!p)
1163
- if (m > 0) {
1164
- const j = setTimeout(() => x(m - 1), 1e3);
1163
+ if (_ > 0) {
1164
+ const j = setTimeout(() => v(_ - 1), 1e3);
1165
1165
  return () => clearTimeout(j);
1166
- } else m === 0 && (window.location.href = Un);
1167
- }, [m, p]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: V.successPage, children: [
1166
+ } else _ === 0 && (window.location.href = Un);
1167
+ }, [_, p]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: V.successPage, children: [
1168
1168
  /* @__PURE__ */ e.jsx("div", { className: V.profileImageContainer, children: /* @__PURE__ */ e.jsx(
1169
1169
  "img",
1170
1170
  {
@@ -1181,7 +1181,7 @@ const ua = la(void 0), Ur = () => {
1181
1181
  /* @__PURE__ */ e.jsxs("h1", { className: V.userName, children: [
1182
1182
  l("namaste"),
1183
1183
  ", ",
1184
- k,
1184
+ C,
1185
1185
  " Ji"
1186
1186
  ] })
1187
1187
  ] }),
@@ -1210,7 +1210,7 @@ const ua = la(void 0), Ur = () => {
1210
1210
  /* @__PURE__ */ e.jsxs("div", { className: V.redirectInfo, children: [
1211
1211
  /* @__PURE__ */ e.jsx("p", { className: V.redirectText, children: l("redirectingIn") }),
1212
1212
  /* @__PURE__ */ e.jsxs("p", { className: V.countdown, children: [
1213
- m.toString().padStart(2, "0"),
1213
+ _.toString().padStart(2, "0"),
1214
1214
  " ",
1215
1215
  l("seconds")
1216
1216
  ] })
@@ -1233,75 +1233,75 @@ const ua = la(void 0), Ur = () => {
1233
1233
  ] })
1234
1234
  ] })
1235
1235
  ] }) });
1236
- }, ds = "_container_2pn1q_2", us = "_video_2pn1q_26", ps = "_videoFullscreenWithBelowBanner_2pn1q_40", hs = "_banner_2pn1q_47", fs = "_bannerCard_2pn1q_64", ms = "_landscapeHeader_2pn1q_103", _s = "_landscapeScroll_2pn1q_131", gs = "_chat_2pn1q_169", xs = "_iframe_2pn1q_193", vs = "_fullscreenBtn_2pn1q_200", ys = "_fullscreenChatPanel_2pn1q_299", bs = "_chatLoader_2pn1q_315", js = "_chatLoaderCompact_2pn1q_328", ws = "_spinner_2pn1q_332", Ss = "_chatLoaderText_2pn1q_346", Cs = "_landscapeCard_2pn1q_435", ks = "_landscapeImageWrapper_2pn1q_459", Ts = "_landscapeImage_2pn1q_459", Ns = "_landscapeContent_2pn1q_476", Es = "_landscapeTitle_2pn1q_488", Rs = "_landscapePriceRow_2pn1q_504", Ds = "_landscapePrice_2pn1q_504", Ls = "_landscapeAdd_2pn1q_554", Ps = "_carousel_2pn1q_619", Is = "_customSheetOverlay_2pn1q_645", As = "_customSheet_2pn1q_645", Fs = "_customSheetTitle_2pn1q_666", Bs = "_customSheetRow_2pn1q_676", Os = "_customInputWrap_2pn1q_682", Ms = "_currencySymbol_2pn1q_688", $s = "_customInput_2pn1q_682", Us = "_customContinueBtn_2pn1q_717", Ws = "_carouselDots_2pn1q_814", Hs = "_dot_2pn1q_825", Vs = "_dotActive_2pn1q_836", qs = "_pujaBanner_2pn1q_844", zs = "_pujaWrapperVertical_2pn1q_856", Ys = "_pujaCardVertical_2pn1q_873", Gs = "_pujaImage_2pn1q_890", Js = "_pujaContent_2pn1q_900", Ks = "_pujaTitle_2pn1q_906", Xs = "_pujaSub_2pn1q_921", Zs = "_locationIcon_2pn1q_938", Qs = "_dateIcon_2pn1q_944", ei = "_pujaTrustmakers_2pn1q_951", ti = "_pujaMetaText_2pn1q_968", ni = "_pujaCardHorizontal_2pn1q_977", ai = "_pujaImageHorizontal_2pn1q_995", ri = "_pujaContentHorizontal_2pn1q_1005", si = "_pujaTitleHorizontal_2pn1q_1037", ii = "_pujaSubHorizontal_2pn1q_1052", oi = "_stickyTabs_2pn1q_1076", li = "_landscapeLayout_2pn1q_1086", ci = "_landscapeLeft_2pn1q_1094", di = "_landscapeRight_2pn1q_1102", ui = "_landscapePanelHeader_2pn1q_1112", pi = "_landscapeCloseBtn_2pn1q_1120", hi = "_landscapePanelBody_2pn1q_1138", fi = "_landscapeChat_2pn1q_1145", mi = "_fullscreenPanelHeader_2pn1q_1152", _i = "_fullscreenChatCloseBtn_2pn1q_1160", gi = "_fullscreenPanelScroll_2pn1q_1180", xi = "_sectionsScroll_2pn1q_1261", vi = "_sectionsFlow_2pn1q_1270", yi = "_fullscreenWithPanel_2pn1q_1278", bi = "_fullscreenLeft_2pn1q_1288", ji = "_fullscreenVideoArea_2pn1q_1297", f = {
1237
- container: ds,
1238
- video: us,
1239
- videoFullscreenWithBelowBanner: ps,
1240
- banner: hs,
1241
- bannerCard: fs,
1242
- landscapeHeader: ms,
1243
- landscapeScroll: _s,
1244
- chat: gs,
1245
- iframe: xs,
1246
- fullscreenBtn: vs,
1247
- fullscreenChatPanel: ys,
1248
- chatLoader: bs,
1249
- chatLoaderCompact: js,
1250
- spinner: ws,
1251
- chatLoaderText: Ss,
1252
- landscapeCard: Cs,
1253
- landscapeImageWrapper: ks,
1254
- landscapeImage: Ts,
1255
- landscapeContent: Ns,
1256
- landscapeTitle: Es,
1257
- landscapePriceRow: Rs,
1258
- landscapePrice: Ds,
1259
- landscapeAdd: Ls,
1260
- carousel: Ps,
1261
- customSheetOverlay: Is,
1262
- customSheet: As,
1263
- customSheetTitle: Fs,
1264
- customSheetRow: Bs,
1265
- customInputWrap: Os,
1266
- currencySymbol: Ms,
1267
- customInput: $s,
1268
- customContinueBtn: Us,
1269
- carouselDots: Ws,
1270
- dot: Hs,
1271
- dotActive: Vs,
1272
- pujaBanner: qs,
1273
- pujaWrapperVertical: zs,
1274
- pujaCardVertical: Ys,
1275
- pujaImage: Gs,
1276
- pujaContent: Js,
1277
- pujaTitle: Ks,
1278
- pujaSub: Xs,
1279
- locationIcon: Zs,
1280
- dateIcon: Qs,
1281
- pujaTrustmakers: ei,
1282
- pujaMetaText: ti,
1283
- pujaCardHorizontal: ni,
1284
- pujaImageHorizontal: ai,
1285
- pujaContentHorizontal: ri,
1286
- pujaTitleHorizontal: si,
1287
- pujaSubHorizontal: ii,
1288
- stickyTabs: oi,
1289
- landscapeLayout: li,
1290
- landscapeLeft: ci,
1291
- landscapeRight: di,
1292
- landscapePanelHeader: ui,
1293
- landscapeCloseBtn: pi,
1294
- landscapePanelBody: hi,
1295
- landscapeChat: fi,
1296
- fullscreenPanelHeader: mi,
1297
- fullscreenChatCloseBtn: _i,
1298
- fullscreenPanelScroll: gi,
1299
- sectionsScroll: xi,
1300
- sectionsFlow: vi,
1301
- fullscreenWithPanel: yi,
1302
- fullscreenLeft: bi,
1303
- fullscreenVideoArea: ji
1304
- }, wi = ({ active: t = !1 }) => /* @__PURE__ */ e.jsx(
1236
+ }, us = "_container_2pn1q_2", ps = "_video_2pn1q_26", hs = "_videoFullscreenWithBelowBanner_2pn1q_40", fs = "_banner_2pn1q_47", ms = "_bannerCard_2pn1q_64", _s = "_landscapeHeader_2pn1q_103", gs = "_landscapeScroll_2pn1q_131", xs = "_chat_2pn1q_169", vs = "_iframe_2pn1q_193", ys = "_fullscreenBtn_2pn1q_200", bs = "_fullscreenChatPanel_2pn1q_299", js = "_chatLoader_2pn1q_315", ws = "_chatLoaderCompact_2pn1q_328", Ss = "_spinner_2pn1q_332", Cs = "_chatLoaderText_2pn1q_346", ks = "_landscapeCard_2pn1q_435", Ts = "_landscapeImageWrapper_2pn1q_459", Ns = "_landscapeImage_2pn1q_459", Es = "_landscapeContent_2pn1q_476", Rs = "_landscapeTitle_2pn1q_488", Ds = "_landscapePriceRow_2pn1q_504", Ls = "_landscapePrice_2pn1q_504", Ps = "_landscapeAdd_2pn1q_554", Is = "_carousel_2pn1q_619", As = "_customSheetOverlay_2pn1q_645", Fs = "_customSheet_2pn1q_645", Bs = "_customSheetTitle_2pn1q_666", Os = "_customSheetRow_2pn1q_676", Ms = "_customInputWrap_2pn1q_682", $s = "_currencySymbol_2pn1q_688", Us = "_customInput_2pn1q_682", Ws = "_customContinueBtn_2pn1q_717", Hs = "_carouselDots_2pn1q_814", Vs = "_dot_2pn1q_825", qs = "_dotActive_2pn1q_836", zs = "_pujaBanner_2pn1q_844", Ys = "_pujaWrapperVertical_2pn1q_856", Gs = "_pujaCardVertical_2pn1q_873", Js = "_pujaImage_2pn1q_890", Ks = "_pujaContent_2pn1q_900", Xs = "_pujaTitle_2pn1q_906", Zs = "_pujaSub_2pn1q_921", Qs = "_locationIcon_2pn1q_938", ei = "_dateIcon_2pn1q_944", ti = "_pujaTrustmakers_2pn1q_951", ni = "_pujaMetaText_2pn1q_968", ai = "_pujaCardHorizontal_2pn1q_977", ri = "_pujaImageHorizontal_2pn1q_995", si = "_pujaContentHorizontal_2pn1q_1005", ii = "_pujaTitleHorizontal_2pn1q_1037", oi = "_pujaSubHorizontal_2pn1q_1052", li = "_stickyTabs_2pn1q_1076", ci = "_landscapeLayout_2pn1q_1086", di = "_landscapeLeft_2pn1q_1094", ui = "_landscapeRight_2pn1q_1102", pi = "_landscapePanelHeader_2pn1q_1112", hi = "_landscapeCloseBtn_2pn1q_1120", fi = "_landscapePanelBody_2pn1q_1138", mi = "_landscapeChat_2pn1q_1145", _i = "_fullscreenPanelHeader_2pn1q_1152", gi = "_fullscreenChatCloseBtn_2pn1q_1160", xi = "_fullscreenPanelScroll_2pn1q_1180", vi = "_sectionsScroll_2pn1q_1261", yi = "_sectionsFlow_2pn1q_1270", bi = "_fullscreenWithPanel_2pn1q_1278", ji = "_fullscreenLeft_2pn1q_1288", wi = "_fullscreenVideoArea_2pn1q_1297", f = {
1237
+ container: us,
1238
+ video: ps,
1239
+ videoFullscreenWithBelowBanner: hs,
1240
+ banner: fs,
1241
+ bannerCard: ms,
1242
+ landscapeHeader: _s,
1243
+ landscapeScroll: gs,
1244
+ chat: xs,
1245
+ iframe: vs,
1246
+ fullscreenBtn: ys,
1247
+ fullscreenChatPanel: bs,
1248
+ chatLoader: js,
1249
+ chatLoaderCompact: ws,
1250
+ spinner: Ss,
1251
+ chatLoaderText: Cs,
1252
+ landscapeCard: ks,
1253
+ landscapeImageWrapper: Ts,
1254
+ landscapeImage: Ns,
1255
+ landscapeContent: Es,
1256
+ landscapeTitle: Rs,
1257
+ landscapePriceRow: Ds,
1258
+ landscapePrice: Ls,
1259
+ landscapeAdd: Ps,
1260
+ carousel: Is,
1261
+ customSheetOverlay: As,
1262
+ customSheet: Fs,
1263
+ customSheetTitle: Bs,
1264
+ customSheetRow: Os,
1265
+ customInputWrap: Ms,
1266
+ currencySymbol: $s,
1267
+ customInput: Us,
1268
+ customContinueBtn: Ws,
1269
+ carouselDots: Hs,
1270
+ dot: Vs,
1271
+ dotActive: qs,
1272
+ pujaBanner: zs,
1273
+ pujaWrapperVertical: Ys,
1274
+ pujaCardVertical: Gs,
1275
+ pujaImage: Js,
1276
+ pujaContent: Ks,
1277
+ pujaTitle: Xs,
1278
+ pujaSub: Zs,
1279
+ locationIcon: Qs,
1280
+ dateIcon: ei,
1281
+ pujaTrustmakers: ti,
1282
+ pujaMetaText: ni,
1283
+ pujaCardHorizontal: ai,
1284
+ pujaImageHorizontal: ri,
1285
+ pujaContentHorizontal: si,
1286
+ pujaTitleHorizontal: ii,
1287
+ pujaSubHorizontal: oi,
1288
+ stickyTabs: li,
1289
+ landscapeLayout: ci,
1290
+ landscapeLeft: di,
1291
+ landscapeRight: ui,
1292
+ landscapePanelHeader: pi,
1293
+ landscapeCloseBtn: hi,
1294
+ landscapePanelBody: fi,
1295
+ landscapeChat: mi,
1296
+ fullscreenPanelHeader: _i,
1297
+ fullscreenChatCloseBtn: gi,
1298
+ fullscreenPanelScroll: xi,
1299
+ sectionsScroll: vi,
1300
+ sectionsFlow: yi,
1301
+ fullscreenWithPanel: bi,
1302
+ fullscreenLeft: ji,
1303
+ fullscreenVideoArea: wi
1304
+ }, Si = ({ active: t = !1 }) => /* @__PURE__ */ e.jsx(
1305
1305
  "img",
1306
1306
  {
1307
1307
  src: "https://srm-cdn.a4b.io/yoda/1776257217651.svg",
@@ -1311,7 +1311,7 @@ const ua = la(void 0), Ur = () => {
1311
1311
  "aria-hidden": "true",
1312
1312
  style: t ? { filter: "brightness(0) invert(1)" } : void 0
1313
1313
  }
1314
- ), Si = {
1314
+ ), Ci = {
1315
1315
  streaks: "Streaks",
1316
1316
  share: "Share",
1317
1317
  store: "Store",
@@ -1342,7 +1342,7 @@ const ua = la(void 0), Ur = () => {
1342
1342
  "aria-pressed": i,
1343
1343
  className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${i ? "border-[#F75E22] bg-[#F75E22] text-white" : "border-gray-200 bg-transparent text-gray-800 hover:bg-gray-50"}`,
1344
1344
  children: [
1345
- /* @__PURE__ */ e.jsx(wi, { active: i }),
1345
+ /* @__PURE__ */ e.jsx(Si, { active: i }),
1346
1346
  /* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-semibold whitespace-nowrap", children: "Chats" })
1347
1347
  ]
1348
1348
  }
@@ -1375,7 +1375,7 @@ const ua = la(void 0), Ur = () => {
1375
1375
  "span",
1376
1376
  {
1377
1377
  className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${w && !i ? "text-orange-500" : "text-gray-500"}`,
1378
- children: Si[p]
1378
+ children: Ci[p]
1379
1379
  }
1380
1380
  ),
1381
1381
  /* @__PURE__ */ e.jsx(
@@ -1394,12 +1394,12 @@ const ua = la(void 0), Ur = () => {
1394
1394
  ]
1395
1395
  }
1396
1396
  ) });
1397
- }, Ci = "_wrapper_1ef52_1", ki = "_marker_1ef52_6", Ti = "_iconWrap_1ef52_10", Ni = "_label_1ef52_14", Ei = "_dot_1ef52_19", St = {
1398
- wrapper: Ci,
1399
- marker: ki,
1400
- iconWrap: Ti,
1401
- label: Ni,
1402
- dot: Ei
1397
+ }, ki = "_wrapper_1ef52_1", Ti = "_marker_1ef52_6", Ni = "_iconWrap_1ef52_10", Ei = "_label_1ef52_14", Ri = "_dot_1ef52_19", kt = {
1398
+ wrapper: ki,
1399
+ marker: Ti,
1400
+ iconWrap: Ni,
1401
+ label: Ei,
1402
+ dot: Ri
1403
1403
  }, Wn = [
1404
1404
  { id: "devotees", label: "1.2L+ Devotees" },
1405
1405
  { id: "rating", label: "4.9 Rating" },
@@ -1435,7 +1435,7 @@ const ua = la(void 0), Ur = () => {
1435
1435
  )
1436
1436
  ]
1437
1437
  }
1438
- ), Ri = () => /* @__PURE__ */ e.jsx(
1438
+ ), Di = () => /* @__PURE__ */ e.jsx(
1439
1439
  "svg",
1440
1440
  {
1441
1441
  xmlns: "http://www.w3.org/2000/svg",
@@ -1455,7 +1455,7 @@ const ua = la(void 0), Ur = () => {
1455
1455
  }
1456
1456
  )
1457
1457
  }
1458
- ), Di = () => /* @__PURE__ */ e.jsxs(
1458
+ ), Li = () => /* @__PURE__ */ e.jsxs(
1459
1459
  "svg",
1460
1460
  {
1461
1461
  xmlns: "http://www.w3.org/2000/svg",
@@ -1502,32 +1502,32 @@ const ua = la(void 0), Ur = () => {
1502
1502
  )
1503
1503
  ]
1504
1504
  }
1505
- ), Li = {
1506
- devotees: Di,
1507
- rating: Ri,
1505
+ ), Pi = {
1506
+ devotees: Li,
1507
+ rating: Di,
1508
1508
  verified: pa
1509
- }, Hn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: St.wrapper, children: Wn.map((t, n) => {
1510
- const r = Li[t.id] || pa;
1511
- return /* @__PURE__ */ e.jsxs(Jt.Fragment, { children: [
1512
- /* @__PURE__ */ e.jsxs("div", { className: St.marker, children: [
1513
- /* @__PURE__ */ e.jsx("span", { className: St.iconWrap, children: /* @__PURE__ */ e.jsx(r, {}) }),
1514
- /* @__PURE__ */ e.jsx("span", { className: St.label, children: t.label })
1509
+ }, Hn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: kt.wrapper, children: Wn.map((t, n) => {
1510
+ const r = Pi[t.id] || pa;
1511
+ return /* @__PURE__ */ e.jsxs(Kt.Fragment, { children: [
1512
+ /* @__PURE__ */ e.jsxs("div", { className: kt.marker, children: [
1513
+ /* @__PURE__ */ e.jsx("span", { className: kt.iconWrap, children: /* @__PURE__ */ e.jsx(r, {}) }),
1514
+ /* @__PURE__ */ e.jsx("span", { className: kt.label, children: t.label })
1515
1515
  ] }),
1516
- n < Wn.length - 1 && /* @__PURE__ */ e.jsx("span", { className: St.dot, "aria-hidden": "true", children: "•" })
1516
+ n < Wn.length - 1 && /* @__PURE__ */ e.jsx("span", { className: kt.dot, "aria-hidden": "true", children: "•" })
1517
1517
  ] }, t.id);
1518
- }) }) }), Pi = "Share the Blessings", Ii = "Invite family to join daily Puja. Bring change to their lives.", Vn = "Share on WhatsApp", Ai = `Hey, I started this 7-day sadhna journey recently.
1518
+ }) }) }), Ii = "Share the Blessings", Ai = "Invite family to join daily Puja. Bring change to their lives.", Vn = "Share on WhatsApp", Fi = `Hey, I started this 7-day sadhna journey recently.
1519
1519
 
1520
1520
  It’s just 15 minutes every day, and happens live from the ghats of Ganga Ghat. It’s been a really calming, grounding experience so far.
1521
1521
 
1522
1522
  If you feel like trying something like this, join here:
1523
- {CTA_LINK}`, qn = "Your 7-Day Journey", Fi = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", Bi = "https://srm-cdn.a4b.io/yoda/1776411247834.svg", Oi = (t, n) => `${t} of ${n} days attended. Keep going!`, mn = "After Day 7th, Continue with a weekly subscription for unlimited access.", Mi = "Explore Sri Mandir", $i = "Explore Sri Mandir", Ui = "BEST VALUE", Wi = "Unlimited Daily Puja", Hi = "Never miss a sacred morning. Subscribe for full access, every day.", Vi = "Unlimited live access, every single day", qi = "Daily WhatsApp reminders before Puja start", ha = "https://srm-cdn.a4b.io/yoda/1776255523256.png", zi = "/ Week", Yi = "Start Subscription", Gi = "No charge today. Cancel Anytime", Ne = {
1523
+ {CTA_LINK}`, qn = "Your 7-Day Journey", Bi = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", Oi = "https://srm-cdn.a4b.io/yoda/1776411247834.svg", Mi = (t, n) => `${t} of ${n} days attended. Keep going!`, mn = "After Day 7th, Continue with a weekly subscription for unlimited access.", $i = "Explore Sri Mandir", Ui = "Explore Sri Mandir", Wi = "BEST VALUE", Hi = "Unlimited Daily Puja", Vi = "Never miss a sacred morning. Subscribe for full access, every day.", qi = "Unlimited live access, every single day", zi = "Daily WhatsApp reminders before Puja start", ha = "https://srm-cdn.a4b.io/yoda/1776255523256.png", Yi = "/ Week", Gi = "Start Subscription", Ji = "No charge today. Cancel Anytime", Le = {
1524
1524
  id: "fallback-puja",
1525
1525
  title: "5100 Hanuman Chalisa, 5100 Sankat mochan Hanumanashtak, Shani Tel..",
1526
1526
  location: "Shri Navagrah Shani Temple, Ujjain, Madhya Pradesh",
1527
1527
  date: "2 April, Thursday, Chaitra Shukla Purnima",
1528
1528
  deeplink: "/epuja",
1529
1529
  imageUrl: "https://srimandirweb.s3.ap-south-1.amazonaws.com/puja_5da7836c1b.png"
1530
- }, Ji = [
1530
+ }, Ki = [
1531
1531
  {
1532
1532
  id: "fallback-pranam",
1533
1533
  name: "Pranam",
@@ -1560,10 +1560,10 @@ If you feel like trying something like this, join here:
1560
1560
  image_url: "https://srimandirweb.s3.ap-south-1.amazonaws.com/custom_2e32016966.png",
1561
1561
  isCustom: !0
1562
1562
  }
1563
- ], Ki = {
1563
+ ], Xi = {
1564
1564
  development: "blog-admin-sbox.srimandir.com",
1565
1565
  production: "blog-admin.srimandir.com"
1566
- }, Xi = "?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", Zi = 1500, Qi = 5e3, eo = 1200, to = {
1566
+ }, Zi = "?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", Qi = 1500, eo = 5e3, to = 1200, no = {
1567
1567
  autoplay: 1,
1568
1568
  mute: 1,
1569
1569
  controls: 0,
@@ -1616,21 +1616,21 @@ If you feel like trying something like this, join here:
1616
1616
  role: "list",
1617
1617
  "aria-label": "7-day journey",
1618
1618
  children: Array.from({ length: n }, (w, l) => {
1619
- const h = l + 1, m = s.has(h), x = h === r, _ = h > r, k = h < r && !m;
1619
+ const h = l + 1, _ = s.has(h), v = h === r, g = h > r, C = h < r && !_;
1620
1620
  let j = "border-gray-300 bg-[#F7F8F9] text-gray-500";
1621
- return m || x ? j = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : _ ? j = "border-gray-300 bg-[#E5E7EB] text-gray-500" : k && (j = "border-gray-300 bg-[#F7F8F9] text-gray-500"), /* @__PURE__ */ e.jsxs(
1621
+ return _ || v ? j = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : g ? j = "border-gray-300 bg-[#E5E7EB] text-gray-500" : C && (j = "border-gray-300 bg-[#F7F8F9] text-gray-500"), /* @__PURE__ */ e.jsxs(
1622
1622
  "div",
1623
1623
  {
1624
1624
  role: "listitem",
1625
- "aria-label": `Day ${h}${m ? ", attended" : x ? ", today" : ""}`,
1625
+ "aria-label": `Day ${h}${_ ? ", attended" : v ? ", today" : ""}`,
1626
1626
  className: `relative flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${j}`,
1627
1627
  style: {
1628
1628
  flex: `0 0 ${p}`,
1629
1629
  width: p,
1630
- padding: x ? "12px 4px 8px" : "8px 4px"
1630
+ padding: v ? "12px 4px 8px" : "8px 4px"
1631
1631
  },
1632
1632
  children: [
1633
- x && /* @__PURE__ */ e.jsx(
1633
+ v && /* @__PURE__ */ e.jsx(
1634
1634
  "span",
1635
1635
  {
1636
1636
  className: "absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10 text-[11px] font-semibold leading-4 whitespace-nowrap text-white rounded-full px-2 py-[2px]",
@@ -1642,22 +1642,22 @@ If you feel like trying something like this, join here:
1642
1642
  "Day ",
1643
1643
  h
1644
1644
  ] }),
1645
- m || x ? /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
1645
+ _ || v ? /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
1646
1646
  "img",
1647
1647
  {
1648
- src: Fi,
1648
+ src: Bi,
1649
1649
  alt: "",
1650
1650
  style: { width: "28.264px", height: "24px" }
1651
1651
  }
1652
- ) }) : _ ? /* @__PURE__ */ e.jsx("span", { className: "mt-0.5", "aria-hidden": "true", style: { width: "32px", height: "32px" } }) : /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
1652
+ ) }) : g ? /* @__PURE__ */ e.jsx("span", { className: "mt-0.5", "aria-hidden": "true", style: { width: "32px", height: "32px" } }) : /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
1653
1653
  "img",
1654
1654
  {
1655
- src: Bi,
1655
+ src: Oi,
1656
1656
  alt: "",
1657
1657
  style: {
1658
1658
  width: "32px",
1659
1659
  height: "32px",
1660
- opacity: x ? 0.7 : 0.55
1660
+ opacity: v ? 0.7 : 0.55
1661
1661
  }
1662
1662
  }
1663
1663
  ) })
@@ -1668,7 +1668,7 @@ If you feel like trying something like this, join here:
1668
1668
  })
1669
1669
  }
1670
1670
  ),
1671
- /* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: Oi(c, n) })
1671
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: Mi(c, n) })
1672
1672
  ] }) });
1673
1673
  }, gn = ({
1674
1674
  message: t
@@ -1714,7 +1714,7 @@ If you feel like trying something like this, join here:
1714
1714
  }
1715
1715
  }
1716
1716
  )
1717
- ] }) }), no = () => /* @__PURE__ */ e.jsxs(
1717
+ ] }) }), ao = () => /* @__PURE__ */ e.jsxs(
1718
1718
  "svg",
1719
1719
  {
1720
1720
  width: "22",
@@ -1753,7 +1753,7 @@ If you feel like trying something like this, join here:
1753
1753
  return;
1754
1754
  const i = new URL("/daily-live-puja", "https://www.srimandir.com");
1755
1755
  n != null && String(n).trim() && i.searchParams.set("utm_medium", String(n).trim());
1756
- const s = Ai.replace(
1756
+ const s = Fi.replace(
1757
1757
  "{CTA_LINK}",
1758
1758
  i.toString()
1759
1759
  ), c = {
@@ -1771,8 +1771,8 @@ If you feel like trying something like this, join here:
1771
1771
  };
1772
1772
  return /* @__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: [
1773
1773
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
1774
- /* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Pi }),
1775
- /* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children: Ii })
1774
+ /* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Ii }),
1775
+ /* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children: Ai })
1776
1776
  ] }),
1777
1777
  /* @__PURE__ */ e.jsxs(
1778
1778
  "button",
@@ -1785,34 +1785,34 @@ If you feel like trying something like this, join here:
1785
1785
  },
1786
1786
  "aria-label": Vn,
1787
1787
  children: [
1788
- /* @__PURE__ */ e.jsx(no, {}),
1788
+ /* @__PURE__ */ e.jsx(ao, {}),
1789
1789
  /* @__PURE__ */ e.jsx("span", { children: Vn })
1790
1790
  ]
1791
1791
  }
1792
1792
  )
1793
1793
  ] }) });
1794
- }, ao = "_overlay_1tcgi_1", ro = "_overlayClosing_1tcgi_12", so = "_sheet_1tcgi_16", io = "_sheetClosing_1tcgi_26", oo = "_topSection_1tcgi_72", lo = "_closeButton_1tcgi_81", co = "_tickImage_1tcgi_97", uo = "_title_1tcgi_103", po = "_subtitle_1tcgi_114", ho = "_bottomSection_1tcgi_125", fo = "_primaryText_1tcgi_130", mo = "_secondaryText_1tcgi_140", _o = "_verifyButton_1tcgi_150", go = "_verifyText_1tcgi_166", le = {
1795
- overlay: ao,
1796
- overlayClosing: ro,
1797
- sheet: so,
1798
- sheetClosing: io,
1799
- topSection: oo,
1800
- closeButton: lo,
1801
- tickImage: co,
1802
- title: uo,
1803
- subtitle: po,
1804
- bottomSection: ho,
1805
- primaryText: fo,
1806
- secondaryText: mo,
1807
- verifyButton: _o,
1808
- verifyText: go
1809
- }, xo = "https://srm-cdn.a4b.io/yoda/1776513536532.svg", vo = "https://srm-cdn.a4b.io/yoda/1776513582014.gif", yo = "https://srm-cdn.a4b.io/yoda/1776513685017.svg", zn = ({
1794
+ }, ro = "_overlay_1tcgi_1", so = "_overlayClosing_1tcgi_12", io = "_sheet_1tcgi_16", oo = "_sheetClosing_1tcgi_26", lo = "_topSection_1tcgi_72", co = "_closeButton_1tcgi_81", uo = "_tickImage_1tcgi_97", po = "_title_1tcgi_103", ho = "_subtitle_1tcgi_114", fo = "_bottomSection_1tcgi_125", mo = "_primaryText_1tcgi_130", _o = "_secondaryText_1tcgi_140", go = "_verifyButton_1tcgi_150", xo = "_verifyText_1tcgi_166", le = {
1795
+ overlay: ro,
1796
+ overlayClosing: so,
1797
+ sheet: io,
1798
+ sheetClosing: oo,
1799
+ topSection: lo,
1800
+ closeButton: co,
1801
+ tickImage: uo,
1802
+ title: po,
1803
+ subtitle: ho,
1804
+ bottomSection: fo,
1805
+ primaryText: mo,
1806
+ secondaryText: _o,
1807
+ verifyButton: go,
1808
+ verifyText: xo
1809
+ }, vo = "https://srm-cdn.a4b.io/yoda/1776513536532.svg", yo = "https://srm-cdn.a4b.io/yoda/1776513582014.gif", bo = "https://srm-cdn.a4b.io/yoda/1776513685017.svg", zn = ({
1810
1810
  open: t,
1811
1811
  onClose: n,
1812
1812
  onVerifyWhatsapp: r
1813
1813
  }) => {
1814
1814
  const [i, s] = N(t), [c, u] = N(!1), o = A(null);
1815
- return D(() => {
1815
+ return L(() => {
1816
1816
  if (t) {
1817
1817
  s(!0), u(!1), o.current && (window.clearTimeout(o.current), o.current = null);
1818
1818
  return;
@@ -1838,13 +1838,13 @@ If you feel like trying something like this, join here:
1838
1838
  className: le.closeButton,
1839
1839
  onClick: n,
1840
1840
  "aria-label": "Close verification sheet",
1841
- children: /* @__PURE__ */ e.jsx("img", { src: xo, alt: "", "aria-hidden": "true", width: "24", height: "24" })
1841
+ children: /* @__PURE__ */ e.jsx("img", { src: vo, alt: "", "aria-hidden": "true", width: "24", height: "24" })
1842
1842
  }
1843
1843
  ),
1844
1844
  /* @__PURE__ */ e.jsx(
1845
1845
  "img",
1846
1846
  {
1847
- src: vo,
1847
+ src: yo,
1848
1848
  alt: "Verification success",
1849
1849
  className: le.tickImage
1850
1850
  }
@@ -1863,7 +1863,7 @@ If you feel like trying something like this, join here:
1863
1863
  onClick: r,
1864
1864
  "aria-label": "Finish Setup",
1865
1865
  children: [
1866
- /* @__PURE__ */ e.jsx("img", { src: yo, alt: "", "aria-hidden": "true", width: "24", height: "24" }),
1866
+ /* @__PURE__ */ e.jsx("img", { src: bo, alt: "", "aria-hidden": "true", width: "24", height: "24" }),
1867
1867
  /* @__PURE__ */ e.jsx("span", { className: le.verifyText, children: "Finish Setup" })
1868
1868
  ]
1869
1869
  }
@@ -1872,15 +1872,15 @@ If you feel like trying something like this, join here:
1872
1872
  ] })
1873
1873
  }
1874
1874
  ) : null;
1875
- }, Yn = "store_list_dlp_campaign", Gn = "https://srm-cdn.a4b.io/yoda/1774945525352.webp", bo = {
1875
+ }, Yn = "store_list_dlp_campaign", Gn = "https://srm-cdn.a4b.io/yoda/1774945525352.webp", jo = {
1876
1876
  "accept-language": "en",
1877
1877
  "x-afb-language-mode": "en"
1878
- }, jo = (t) => t ? String(t).trim().replace(/[,\s]+/g, "").length > 0 : !1, wo = "https://www.srimandir.com", Jn = (t) => {
1878
+ }, wo = (t) => t ? String(t).trim().replace(/[,\s]+/g, "").length > 0 : !1, So = "https://www.srimandir.com", Jn = (t) => {
1879
1879
  if (!t) return;
1880
1880
  const n = String(t).trim();
1881
1881
  if (n)
1882
1882
  return n.replace(/^https?:\/\/[^/]+/i, "").replace(/^\/epuja\//i, "").replace(/^\/+/, "").replace(/\?.*$/, "").replace(/#.*$/, "").replace(/\/+$/, "").trim();
1883
- }, So = (t) => {
1883
+ }, Co = (t) => {
1884
1884
  const n = t?.slug || t?.store_slug || t?.puja_slug || t?.seo_slug || t?.url_slug || t?.cta?.action_attr?.slug || t?.cta?.action_attr?.store_slug || t?.cta?.action_attr?.puja_slug || t?.cta?.action_attr?.seo_slug, r = Jn(n);
1885
1885
  if (r) return r;
1886
1886
  const i = t?.cta?.action_attr?.deeplink, s = Jn(i);
@@ -1889,41 +1889,41 @@ If you feel like trying something like this, join here:
1889
1889
  (o) => o.toLowerCase() === "epuja"
1890
1890
  );
1891
1891
  return u >= 0 && c[u + 1] ? c[u + 1] : c[0];
1892
- }, Co = (t) => {
1893
- const n = typeof window < "u" && window?.location?.origin ? window.location.origin : wo, r = So(t);
1894
- return r ? `${n}/epuja/${encodeURIComponent(r)}` : `${n}/epuja`;
1895
1892
  }, ko = (t) => {
1893
+ const n = typeof window < "u" && window?.location?.origin ? window.location.origin : So, r = Co(t);
1894
+ return r ? `${n}/epuja/${encodeURIComponent(r)}` : `${n}/epuja`;
1895
+ }, To = (t) => {
1896
1896
  const n = t?.cover_media?.type, r = t?.cover_media?.media_url, i = t?.cover_media?.media_thumbnail;
1897
1897
  return n === "video" ? i || Gn : r || i || Gn;
1898
- }, dt = (t) => Array.isArray(t) ? t : [], Ct = (t) => !t || typeof t != "object" ? !1 : !!(t?.id || t?.store_id || t?.inventory_id || t?.cover_media || t?.cta?.action_attr?.deeplink), To = (t) => [
1899
- ...dt(t?.data?.data?.cards),
1900
- ...dt(t?.data?.cards),
1901
- ...dt(t?.data?.data?.items),
1902
- ...dt(t?.data?.items)
1903
- ], No = (t) => {
1898
+ }, pt = (t) => Array.isArray(t) ? t : [], Tt = (t) => !t || typeof t != "object" ? !1 : !!(t?.id || t?.store_id || t?.inventory_id || t?.cover_media || t?.cta?.action_attr?.deeplink), No = (t) => [
1899
+ ...pt(t?.data?.data?.cards),
1900
+ ...pt(t?.data?.cards),
1901
+ ...pt(t?.data?.data?.items),
1902
+ ...pt(t?.data?.items)
1903
+ ], Eo = (t) => {
1904
1904
  const n = [];
1905
1905
  return t.forEach((r) => {
1906
1906
  if (r && r?.visible !== !1) {
1907
1907
  if (r?.type === "list_item_large") {
1908
- n.push(...dt(r?.list_item_large?.list_items)), Ct(r?.list_item_large?.store) && n.push(r?.list_item_large?.store);
1908
+ n.push(...pt(r?.list_item_large?.list_items)), Tt(r?.list_item_large?.store) && n.push(r?.list_item_large?.store);
1909
1909
  return;
1910
1910
  }
1911
1911
  if (r?.type === "pooja_list_item_large") {
1912
- Ct(r?.pooja_list_item_large?.store) && n.push(r?.pooja_list_item_large?.store), n.push(...dt(r?.pooja_list_item_large?.list_items));
1912
+ Tt(r?.pooja_list_item_large?.store) && n.push(r?.pooja_list_item_large?.store), n.push(...pt(r?.pooja_list_item_large?.list_items));
1913
1913
  return;
1914
1914
  }
1915
- if (r?.type === "store_card" && Ct(r?.store)) {
1915
+ if (r?.type === "store_card" && Tt(r?.store)) {
1916
1916
  n.push(r?.store);
1917
1917
  return;
1918
1918
  }
1919
- if (Ct(r?.store)) {
1919
+ if (Tt(r?.store)) {
1920
1920
  n.push(r?.store);
1921
1921
  return;
1922
1922
  }
1923
- Ct(r) && n.push(r);
1923
+ Tt(r) && n.push(r);
1924
1924
  }
1925
1925
  }), n;
1926
- }, Eo = (t, n) => No(t).filter(
1926
+ }, Ro = (t, n) => Eo(t).filter(
1927
1927
  (s) => s?.active !== !1
1928
1928
  ).filter((s, c, u) => {
1929
1929
  const o = s?.id || s?.store_id || s?.inventory_id;
@@ -1934,13 +1934,13 @@ If you feel like trying something like this, join here:
1934
1934
  serviceType: s?.service_type || s?.serviceType || s?.service?.type || s?.store_type,
1935
1935
  amount: (typeof s?.price == "number" ? s.price : void 0) ?? (typeof s?.amount == "number" ? s.amount : void 0),
1936
1936
  skuName: s?.sku_name || s?.name || s?.title || void 0,
1937
- imageUrl: ko(s),
1937
+ imageUrl: To(s),
1938
1938
  badge: s?.tag?.visible ? s?.tag?.name : void 0,
1939
1939
  title: s?.title || s?.sub_title || "Puja Seva",
1940
- temple: jo(s?.location) ? s?.location : s?.description || s?.sub_title || "Sri Mandir",
1940
+ temple: wo(s?.location) ? s?.location : s?.description || s?.sub_title || "Sri Mandir",
1941
1941
  date: s?.process_date || s?.process_date_dm || s?.metrics?.data?.[1]?.info || "",
1942
- href: Co(s)
1943
- })), Ro = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), Do = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), Yt = 200, Lo = 230, Po = 130, Io = ({ card: t, onClick: n }) => /* @__PURE__ */ e.jsxs(
1942
+ href: ko(s)
1943
+ })), Do = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), Lo = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), Jt = 200, Po = 230, Io = 130, Ao = ({ card: t, onClick: n }) => /* @__PURE__ */ e.jsxs(
1944
1944
  "a",
1945
1945
  {
1946
1946
  href: t.href,
@@ -1948,10 +1948,10 @@ If you feel like trying something like this, join here:
1948
1948
  n && n(t);
1949
1949
  },
1950
1950
  style: {
1951
- width: Yt,
1952
- minWidth: Yt,
1953
- maxWidth: Yt,
1954
- height: Lo,
1951
+ width: Jt,
1952
+ minWidth: Jt,
1953
+ maxWidth: Jt,
1954
+ height: Po,
1955
1955
  borderRadius: 12,
1956
1956
  border: "1px solid #e5e7eb",
1957
1957
  background: "#fff",
@@ -1970,7 +1970,7 @@ If you feel like trying something like this, join here:
1970
1970
  style: {
1971
1971
  position: "relative",
1972
1972
  width: "100%",
1973
- height: Po,
1973
+ height: Io,
1974
1974
  overflow: "hidden",
1975
1975
  background: "#f3f4f6",
1976
1976
  flexShrink: 0
@@ -2041,11 +2041,11 @@ If you feel like trying something like this, join here:
2041
2041
  }
2042
2042
  ),
2043
2043
  /* @__PURE__ */ e.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 4, fontSize: 11, color: "#6b7280" }, children: [
2044
- /* @__PURE__ */ e.jsx(Ro, {}),
2044
+ /* @__PURE__ */ e.jsx(Do, {}),
2045
2045
  /* @__PURE__ */ e.jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: t.temple })
2046
2046
  ] }),
2047
2047
  t.date && /* @__PURE__ */ e.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 4, fontSize: 11, color: "#6b7280" }, children: [
2048
- /* @__PURE__ */ e.jsx(Do, {}),
2048
+ /* @__PURE__ */ e.jsx(Lo, {}),
2049
2049
  /* @__PURE__ */ e.jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: t.date })
2050
2050
  ] })
2051
2051
  ]
@@ -2063,95 +2063,95 @@ If you feel like trying something like this, join here:
2063
2063
  onSwipe: u
2064
2064
  }) => {
2065
2065
  const [o, p] = N([]), w = A(null);
2066
- if (D(() => {
2066
+ if (L(() => {
2067
2067
  const h = n?.apiInstance?.get;
2068
2068
  if (!h) {
2069
2069
  c?.([]);
2070
2070
  return;
2071
2071
  }
2072
- let m = !1;
2072
+ let _ = !1;
2073
2073
  return (async () => {
2074
2074
  try {
2075
- const _ = (r || Yn).split(",").map((E) => E.trim()).filter(Boolean), k = {
2076
- ...bo,
2075
+ const g = (r || Yn).split(",").map((D) => D.trim()).filter(Boolean), C = {
2076
+ ...jo,
2077
2077
  ...i || {}
2078
2078
  };
2079
- if (!_.length) {
2079
+ if (!g.length) {
2080
2080
  p([]), c?.([]);
2081
2081
  return;
2082
2082
  }
2083
2083
  const S = (await Promise.all(
2084
- _.flatMap((E) => [
2084
+ g.flatMap((D) => [
2085
2085
  h("/gw1/puja/external/v2/pages", {
2086
- params: { page: E, page_no: 1 },
2087
- headers: k
2086
+ params: { page: D, page_no: 1 },
2087
+ headers: C
2088
2088
  }),
2089
2089
  h("/gw1/yoda/external/v2/pages", {
2090
- params: { page: E, page_no: 1 },
2091
- headers: k
2090
+ params: { page: D, page_no: 1 },
2091
+ headers: C
2092
2092
  })
2093
2093
  ])
2094
2094
  )).flatMap(
2095
- (E) => To(E)
2096
- ), b = Eo(S, s);
2097
- m || (p(b), c?.(b));
2098
- } catch (_) {
2099
- console.error("[DLP] Failed to fetch store cards", _), m || (p([]), c?.([]));
2095
+ (D) => No(D)
2096
+ ), b = Ro(S, s);
2097
+ _ || (p(b), c?.(b));
2098
+ } catch (g) {
2099
+ console.error("[DLP] Failed to fetch store cards", g), _ || (p([]), c?.([]));
2100
2100
  }
2101
2101
  })(), () => {
2102
- m = !0;
2102
+ _ = !0;
2103
2103
  };
2104
- }, [n, r, i, s, c]), D(() => () => {
2104
+ }, [n, r, i, s, c]), L(() => () => {
2105
2105
  w.current && window.clearTimeout(w.current);
2106
2106
  }, []), !o.length) return null;
2107
2107
  const l = (h) => {
2108
2108
  if (!u) return;
2109
- const m = h.currentTarget?.scrollLeft ?? 0, x = Math.max(1, Math.round(m / (Yt + 12)) + 1);
2109
+ const _ = h.currentTarget?.scrollLeft ?? 0, v = Math.max(1, Math.round(_ / (Jt + 12)) + 1);
2110
2110
  w.current && window.clearTimeout(w.current), w.current = window.setTimeout(() => {
2111
2111
  u({
2112
- elementPosition: x,
2113
- card: o[x - 1]
2112
+ elementPosition: v,
2113
+ card: o[v - 1]
2114
2114
  });
2115
2115
  }, 120);
2116
2116
  };
2117
2117
  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: [
2118
- /* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Mi }),
2118
+ /* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: $i }),
2119
2119
  /* @__PURE__ */ e.jsx(
2120
2120
  "div",
2121
2121
  {
2122
2122
  className: "flex gap-3 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
2123
2123
  role: "list",
2124
- "aria-label": $i,
2124
+ "aria-label": Ui,
2125
2125
  onScroll: l,
2126
- children: o.map((h) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Io, { card: h, onClick: t }) }, h.id))
2126
+ children: o.map((h) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Ao, { card: h, onClick: t }) }, h.id))
2127
2127
  }
2128
2128
  )
2129
2129
  ] }) });
2130
- }, Ao = "sm_dlp_premium", Kn = {
2130
+ }, Fo = "sm_dlp_premium", Kn = {
2131
2131
  "accept-language": "en",
2132
2132
  "x-afb-language-mode": "en"
2133
2133
  }, Sn = ({
2134
2134
  storeId: t,
2135
2135
  inventoryId: n,
2136
- onboardingType: r = Ao,
2136
+ onboardingType: r = Fo,
2137
2137
  enabled: i = !0,
2138
2138
  autoFetch: s = !0,
2139
2139
  apiBaseInstance: c
2140
2140
  }) => {
2141
2141
  const [u, o] = N(null), [p, w] = N(null), [l, h] = N(
2142
2142
  null
2143
- ), [m, x] = N(
2143
+ ), [_, v] = N(
2144
2144
  !!(i && t && n)
2145
- ), [_, k] = N(null), j = Kt(
2145
+ ), [g, C] = N(null), j = Xt(
2146
2146
  () => !!(i && t && n),
2147
2147
  [i, n, t]
2148
- ), S = Xe(async () => {
2148
+ ), S = et(async () => {
2149
2149
  if (!j) {
2150
- x(!1);
2150
+ v(!1);
2151
2151
  return;
2152
2152
  }
2153
2153
  try {
2154
- x(!0), k(null);
2154
+ v(!0), C(null);
2155
2155
  let b;
2156
2156
  if (c?.get) {
2157
2157
  const $ = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${n}`;
@@ -2163,7 +2163,7 @@ If you feel like trying something like this, join here:
2163
2163
  }
2164
2164
  ))?.data;
2165
2165
  } else {
2166
- const $ = new URLSearchParams({ onboarding_type: r }), v = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${n}?${$.toString()}`, T = await fetch(v, {
2166
+ const $ = new URLSearchParams({ onboarding_type: r }), y = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${n}?${$.toString()}`, T = await fetch(y, {
2167
2167
  method: "GET",
2168
2168
  credentials: "include",
2169
2169
  headers: Kn
@@ -2174,27 +2174,27 @@ If you feel like trying something like this, join here:
2174
2174
  );
2175
2175
  b = await T.json();
2176
2176
  }
2177
- const E = b?.data;
2178
- o(E?.subscription_info ?? null), w(E?.trial_subscription_data ?? null), h(E?.onboarding_data ?? null);
2177
+ const D = b?.data;
2178
+ o(D?.subscription_info ?? null), w(D?.trial_subscription_data ?? null), h(D?.onboarding_data ?? null);
2179
2179
  } catch (b) {
2180
- o(null), w(null), h(null), k(
2180
+ o(null), w(null), h(null), C(
2181
2181
  b instanceof Error ? b : new Error("Failed to fetch subscription onboarding data")
2182
2182
  );
2183
2183
  } finally {
2184
- x(!1);
2184
+ v(!1);
2185
2185
  }
2186
2186
  }, [c, n, r, j, t]);
2187
- return D(() => {
2187
+ return L(() => {
2188
2188
  s && S();
2189
2189
  }, [s, S]), {
2190
2190
  subscriptionInfo: u,
2191
2191
  trialSubscriptionData: p,
2192
2192
  onboardingData: l,
2193
- isLoading: m,
2194
- error: _,
2193
+ isLoading: _,
2194
+ error: g,
2195
2195
  refetch: S
2196
2196
  };
2197
- }, zt = ({
2197
+ }, Gt = ({
2198
2198
  storeId: t,
2199
2199
  inventoryId: n,
2200
2200
  onboardingType: r = "sm_dlp_premium",
@@ -2209,10 +2209,10 @@ If you feel like trying something like this, join here:
2209
2209
  onboardingType: r,
2210
2210
  apiBaseInstance: i,
2211
2211
  enabled: !!(t && n)
2212
- }), l = o?.colors?.bg_color_1 || "#340d10", h = o?.colors?.bg_color_2 || "#5f181d", m = o?.tag?.text || Ui, x = o?.tag?.bg_color || "#f8a84a", _ = o?.tag?.text_color || "#3d1c02", k = o?.header || Wi, j = o?.description || Hi, S = o?.info_list && o.info_list.length > 0 ? o.info_list : [
2213
- { text: Vi, description: "", icon_url: "" },
2214
- { text: qi, description: "", icon_url: "" }
2215
- ], b = ha, E = p?.currency_code || "₹", $ = p?.effective_amount ?? p?.subscription_amount, v = p?.subscription_amount, T = p?.period ? `/ ${p.period}` : zi, F = o?.cta, J = F?.visible ?? !0, ee = F?.text || Yi, ce = F?.text_color || "#ffffff", Se = F?.stroke_color || "transparent", de = F?.color || "#f97e4e", P = F?.color_2 || "#f75e22", U = () => {
2212
+ }), l = o?.colors?.bg_color_1 || "#340d10", h = o?.colors?.bg_color_2 || "#5f181d", _ = o?.tag?.text || Wi, v = o?.tag?.bg_color || "#f8a84a", g = o?.tag?.text_color || "#3d1c02", C = o?.header || Hi, j = o?.description || Vi, S = o?.info_list && o.info_list.length > 0 ? o.info_list : [
2213
+ { text: qi, description: "", icon_url: "" },
2214
+ { text: zi, description: "", icon_url: "" }
2215
+ ], b = ha, D = p?.currency_code || "₹", $ = p?.effective_amount ?? p?.subscription_amount, y = p?.subscription_amount, T = p?.period ? `/ ${p.period}` : Yi, F = o?.cta, J = F?.visible ?? !0, ee = F?.text || Gi, ce = F?.text_color || "#ffffff", Te = F?.stroke_color || "transparent", de = F?.color || "#f97e4e", P = F?.color_2 || "#f75e22", B = () => {
2216
2216
  if (s?.({
2217
2217
  subscriptionInfo: o,
2218
2218
  trialSubscriptionData: p,
@@ -2221,12 +2221,12 @@ If you feel like trying something like this, join here:
2221
2221
  bannerType: c
2222
2222
  }), s)
2223
2223
  return;
2224
- const Y = F?.action_attr?.deeplink;
2225
- if (!(!Y || typeof window > "u"))
2224
+ const z = F?.action_attr?.deeplink;
2225
+ if (!(!z || typeof window > "u"))
2226
2226
  try {
2227
- window.location.href = new URL(Y, window.location.origin).toString();
2227
+ window.location.href = new URL(z, window.location.origin).toString();
2228
2228
  } catch {
2229
- window.location.href = Y;
2229
+ window.location.href = z;
2230
2230
  }
2231
2231
  };
2232
2232
  return /* @__PURE__ */ e.jsx(
@@ -2242,27 +2242,27 @@ If you feel like trying something like this, join here:
2242
2242
  "div",
2243
2243
  {
2244
2244
  className: "text-[10px] font-semibold px-3 py-1 rounded-full w-fit",
2245
- style: { backgroundColor: x, color: _ },
2246
- children: m
2245
+ style: { backgroundColor: v, color: g },
2246
+ children: _
2247
2247
  }
2248
2248
  ),
2249
- /* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: k }),
2249
+ /* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: C }),
2250
2250
  /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: j }),
2251
- /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: S.map((Y, G) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
2252
- Y.icon_url ? /* @__PURE__ */ e.jsx(
2251
+ /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: S.map((z, Y) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
2252
+ z.icon_url ? /* @__PURE__ */ e.jsx(
2253
2253
  "img",
2254
2254
  {
2255
- src: Y.icon_url,
2255
+ src: z.icon_url,
2256
2256
  alt: "",
2257
2257
  "aria-hidden": "true",
2258
2258
  className: "w-4 h-4 mt-[2px]"
2259
2259
  }
2260
2260
  ) : /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: "•" }),
2261
2261
  /* @__PURE__ */ e.jsxs("span", { className: "opacity-90", children: [
2262
- Y.text,
2263
- Y.description ? ` ${Y.description}` : ""
2262
+ z.text,
2263
+ z.description ? ` ${z.description}` : ""
2264
2264
  ] })
2265
- ] }, `${Y.text || "feature"}-${G}`)) }),
2265
+ ] }, `${z.text || "feature"}-${Y}`)) }),
2266
2266
  /* @__PURE__ */ e.jsx(
2267
2267
  "img",
2268
2268
  {
@@ -2282,12 +2282,12 @@ If you feel like trying something like this, join here:
2282
2282
  ),
2283
2283
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
2284
2284
  typeof $ == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
2285
- E,
2285
+ D,
2286
2286
  $
2287
2287
  ] }),
2288
- typeof v == "number" && typeof $ == "number" && v > $ && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
2289
- E,
2290
- v
2288
+ typeof y == "number" && typeof $ == "number" && y > $ && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
2289
+ D,
2290
+ y
2291
2291
  ] }),
2292
2292
  /* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: T })
2293
2293
  ] }),
@@ -2295,12 +2295,12 @@ If you feel like trying something like this, join here:
2295
2295
  "button",
2296
2296
  {
2297
2297
  type: "button",
2298
- onClick: U,
2298
+ onClick: B,
2299
2299
  className: "mt-2 h-12 w-full rounded-xl flex items-center justify-center gap-2 font-semibold text-[16px] cursor-pointer",
2300
2300
  style: {
2301
2301
  color: ce,
2302
- borderColor: Se,
2303
- borderWidth: Se !== "transparent" ? 1 : 0,
2302
+ borderColor: Te,
2303
+ borderWidth: Te !== "transparent" ? 1 : 0,
2304
2304
  borderStyle: "solid",
2305
2305
  background: `linear-gradient(180deg, ${de}, ${P})`
2306
2306
  },
@@ -2311,7 +2311,7 @@ If you feel like trying something like this, join here:
2311
2311
  ]
2312
2312
  }
2313
2313
  ),
2314
- /* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: o?.footer_text || Gi })
2314
+ /* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: o?.footer_text || Ji })
2315
2315
  ] })
2316
2316
  }
2317
2317
  );
@@ -2327,23 +2327,23 @@ If you feel like trying something like this, join here:
2327
2327
  if (!t) return "—";
2328
2328
  const n = t > 1e12 ? t : t * 1e3, r = new Date(n), i = r.getDate(), s = i === 1 || i === 21 || i === 31 ? "st" : i === 2 || i === 22 ? "nd" : i === 3 || i === 23 ? "rd" : "th", c = r.toLocaleString("en-US", { month: "long" }), u = r.getFullYear();
2329
2329
  return `${i}${s} ${c} ${u}`;
2330
- }, Fo = (t) => {
2330
+ }, Bo = (t) => {
2331
2331
  if (!t) return "Subscription";
2332
2332
  const n = t.toLowerCase();
2333
2333
  return n === "weekly" || n === "week" ? "Weekly Subscription" : n === "monthly" || n === "month" ? "Monthly Subscription" : n === "yearly" || n === "year" ? "Yearly Subscription" : n === "daily" || n === "day" ? "Daily Subscription" : `${t.charAt(0).toUpperCase() + t.slice(1)} Subscription`;
2334
- }, Bo = (t, n, r) => {
2334
+ }, Oo = (t, n, r) => {
2335
2335
  if (typeof t != "number") return "—";
2336
2336
  const s = `${r}${t}`;
2337
2337
  if (!n) return s;
2338
2338
  const c = n.toLowerCase();
2339
2339
  return c === "weekly" || c === "week" ? `${s}/Week` : c === "monthly" || c === "month" ? `${s}/Month` : c === "yearly" || c === "year" ? `${s}/Year` : c === "daily" || c === "day" ? `${s}/Day` : `${s}/${n}`;
2340
- }, ot = (t) => {
2340
+ }, ct = (t) => {
2341
2341
  if (typeof t == "number" && Number.isFinite(t)) return t;
2342
2342
  if (typeof t == "string") {
2343
2343
  const n = Number(t);
2344
2344
  if (Number.isFinite(n)) return n;
2345
2345
  }
2346
- }, Oo = ha, yn = ({
2346
+ }, Mo = ha, yn = ({
2347
2347
  subscription: t,
2348
2348
  storeId: n,
2349
2349
  inventoryId: r,
@@ -2356,9 +2356,9 @@ If you feel like trying something like this, join here:
2356
2356
  onboardingType: i,
2357
2357
  apiBaseInstance: s,
2358
2358
  enabled: !!(n && r)
2359
- }), o = t.status?.toLowerCase() || "active", { label: p, color: w } = Xn[o] || Xn.active, l = "Membership", h = Oo, m = c?.colors?.bg_color_1 || "#340d10", x = c?.colors?.bg_color_2 || "#5f181d", _ = t.interval || u?.period, k = ot(t.amount) ?? ot(u?.subscription_amount), j = u?.currency_code || "₹", S = ot(t.start_date), b = ot(t.next_payment_date) ?? ot(t.next_instalment_date) ?? ot(t.expiry_date), E = [
2360
- { label: "Plan Type", value: Fo(_) },
2361
- { label: "Amount", value: Bo(k, _, j) },
2359
+ }), o = t.status?.toLowerCase() || "active", { label: p, color: w } = Xn[o] || Xn.active, l = "Membership", h = Mo, _ = c?.colors?.bg_color_1 || "#340d10", v = c?.colors?.bg_color_2 || "#5f181d", g = t.interval || u?.period, C = ct(t.amount) ?? ct(u?.subscription_amount), j = u?.currency_code || "₹", S = ct(t.start_date), b = ct(t.next_payment_date) ?? ct(t.next_instalment_date) ?? ct(t.expiry_date), D = [
2360
+ { label: "Plan Type", value: Bo(g) },
2361
+ { label: "Amount", value: Oo(C, g, j) },
2362
2362
  { label: "Start Date", value: Zn(S) },
2363
2363
  {
2364
2364
  label: "Next Renewal Date",
@@ -2411,7 +2411,7 @@ If you feel like trying something like this, join here:
2411
2411
  position: "relative",
2412
2412
  width: "100%",
2413
2413
  height: 100,
2414
- background: `linear-gradient(135deg, ${m}, ${x})`,
2414
+ background: `linear-gradient(135deg, ${_}, ${v})`,
2415
2415
  overflow: "hidden"
2416
2416
  },
2417
2417
  children: [
@@ -2503,7 +2503,7 @@ If you feel like trying something like this, join here:
2503
2503
  ]
2504
2504
  }
2505
2505
  ),
2506
- /* @__PURE__ */ e.jsx("div", { style: { padding: "12px 16px" }, children: E.map(($, v) => /* @__PURE__ */ e.jsxs(
2506
+ /* @__PURE__ */ e.jsx("div", { style: { padding: "12px 16px" }, children: D.map(($, y) => /* @__PURE__ */ e.jsxs(
2507
2507
  "div",
2508
2508
  {
2509
2509
  style: {
@@ -2511,7 +2511,7 @@ If you feel like trying something like this, join here:
2511
2511
  justifyContent: "space-between",
2512
2512
  alignItems: "center",
2513
2513
  padding: "10px 0",
2514
- borderBottom: v < E.length - 1 ? "1px solid #f3f4f6" : "none"
2514
+ borderBottom: y < D.length - 1 ? "1px solid #f3f4f6" : "none"
2515
2515
  },
2516
2516
  children: [
2517
2517
  /* @__PURE__ */ e.jsx("span", { style: { fontSize: 13, color: "#6b7280" }, children: $.label }),
@@ -2538,43 +2538,43 @@ If you feel like trying something like this, join here:
2538
2538
  } catch {
2539
2539
  return n.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
2540
2540
  }
2541
- }, Mo = (t) => {
2541
+ }, $o = (t) => {
2542
2542
  if (typeof window > "u") return null;
2543
2543
  try {
2544
2544
  return window.localStorage.getItem(t);
2545
2545
  } catch {
2546
2546
  return null;
2547
2547
  }
2548
- }, $o = (t) => {
2548
+ }, Uo = (t) => {
2549
2549
  if (typeof window > "u") return !1;
2550
2550
  try {
2551
2551
  return window.localStorage.removeItem(t), !0;
2552
2552
  } catch {
2553
2553
  return !1;
2554
2554
  }
2555
- }, Cn = 1440 * 60 * 1e3, Et = (t) => {
2555
+ }, Cn = 1440 * 60 * 1e3, Lt = (t) => {
2556
2556
  const n = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), i = String(t.getDate()).padStart(2, "0");
2557
2557
  return `${n}-${r}-${i}`;
2558
- }, ut = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Uo = (t) => {
2558
+ }, ht = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Wo = (t) => {
2559
2559
  if (!t)
2560
2560
  return null;
2561
2561
  const [n, r, i] = t.split("-").map(Number);
2562
2562
  return !n || !r || !i ? null : new Date(n, r - 1, i);
2563
- }, Rt = (t, n) => {
2564
- const r = ut(t).getTime(), i = ut(n).getTime();
2563
+ }, Pt = (t, n) => {
2564
+ const r = ht(t).getTime(), i = ht(n).getTime();
2565
2565
  return Math.floor((i - r) / Cn);
2566
- }, bn = (t, n) => Math.max(1, Math.min(t, n)), Wo = (t, n = /* @__PURE__ */ new Date()) => {
2566
+ }, bn = (t, n) => Math.max(1, Math.min(t, n)), Ho = (t, n = /* @__PURE__ */ new Date()) => {
2567
2567
  if (!t || !Number.isFinite(t))
2568
2568
  return !1;
2569
2569
  const r = new Date(t);
2570
- return Et(r) === Et(n);
2571
- }, Ho = (t) => !!t?.some((n) => n?.status), Vo = (t, n, r = /* @__PURE__ */ new Date()) => {
2570
+ return Lt(r) === Lt(n);
2571
+ }, Vo = (t) => !!t?.some((n) => n?.status), qo = (t, n, r = /* @__PURE__ */ new Date()) => {
2572
2572
  if (!t?.length || !n || !Number.isFinite(n))
2573
2573
  return !1;
2574
- const i = ut(r).getTime();
2575
- if (ut(new Date(n)).getTime() >= i)
2574
+ const i = ht(r).getTime();
2575
+ if (ht(new Date(n)).getTime() >= i)
2576
2576
  return !1;
2577
- const c = Et(r);
2577
+ const c = Lt(r);
2578
2578
  return !t.filter((p) => p?.date_string <= c).some(
2579
2579
  (p) => p?.date_string < c && p?.status
2580
2580
  );
@@ -2582,58 +2582,58 @@ If you feel like trying something like this, join here:
2582
2582
  attendedDays: t,
2583
2583
  currentDay: n,
2584
2584
  totalDays: r
2585
- }), qo = (t, n, r = /* @__PURE__ */ new Date(), i = 7) => {
2585
+ }), zo = (t, n, r = /* @__PURE__ */ new Date(), i = 7) => {
2586
2586
  if (!t?.length)
2587
2587
  return fa([], 1, i);
2588
- const s = ut(r);
2588
+ const s = ht(r);
2589
2589
  if (!!(n && Number.isFinite(n))) {
2590
- const h = ut(new Date(n)), m = new Date(s.getTime() - (i - 1) * Cn), x = h > m ? h : m, _ = /* @__PURE__ */ new Set();
2590
+ const h = ht(new Date(n)), _ = new Date(s.getTime() - (i - 1) * Cn), v = h > _ ? h : _, g = /* @__PURE__ */ new Set();
2591
2591
  t.forEach((S) => {
2592
2592
  if (!S?.status)
2593
2593
  return;
2594
- const b = Uo(S.date_string);
2595
- if (!b || b > s || b < x)
2594
+ const b = Wo(S.date_string);
2595
+ if (!b || b > s || b < v)
2596
2596
  return;
2597
- const E = Rt(x, b) + 1;
2598
- E >= 1 && E <= i && _.add(E);
2597
+ const D = Pt(v, b) + 1;
2598
+ D >= 1 && D <= i && g.add(D);
2599
2599
  });
2600
- const k = bn(Rt(x, s) + 1, i);
2600
+ const C = bn(Pt(v, s) + 1, i);
2601
2601
  return {
2602
- attendedDays: Array.from(_).sort((S, b) => S - b),
2603
- currentDay: k,
2602
+ attendedDays: Array.from(g).sort((S, b) => S - b),
2603
+ currentDay: C,
2604
2604
  totalDays: i
2605
2605
  };
2606
2606
  }
2607
- const u = t.slice(-i), o = u.map((h, m) => h?.status ? m + 1 : null).filter((h) => h !== null), p = Et(r), w = u.findIndex((h) => h?.date_string === p), l = w >= 0 ? bn(w + 1, i) : bn(u.length || 1, i);
2607
+ const u = t.slice(-i), o = u.map((h, _) => h?.status ? _ + 1 : null).filter((h) => h !== null), p = Lt(r), w = u.findIndex((h) => h?.date_string === p), l = w >= 0 ? bn(w + 1, i) : bn(u.length || 1, i);
2608
2608
  return {
2609
2609
  attendedDays: o,
2610
2610
  currentDay: l,
2611
2611
  totalDays: i
2612
2612
  };
2613
- }, Ke = (t) => {
2613
+ }, Qe = (t) => {
2614
2614
  const n = new Date(Date.now() - t * Cn);
2615
- return Et(n);
2616
- }, zo = (t, n = /* @__PURE__ */ new Date(), r = 7) => {
2615
+ return Lt(n);
2616
+ }, Yo = (t, n = /* @__PURE__ */ new Date(), r = 7) => {
2617
2617
  if (!t || !Number.isFinite(t))
2618
2618
  return;
2619
- const i = Rt(new Date(t), n) + 1, s = r - i;
2619
+ const i = Pt(new Date(t), n) + 1, s = r - i;
2620
2620
  return Math.max(0, Math.min(r, s));
2621
- }, Yo = (t, n = /* @__PURE__ */ new Date()) => {
2621
+ }, Go = (t, n = /* @__PURE__ */ new Date()) => {
2622
2622
  if (!(!t || !Number.isFinite(t)))
2623
- return Math.max(1, Rt(new Date(t), n) + 1);
2624
- }, Go = (t, n = /* @__PURE__ */ new Date(), r = 7) => {
2623
+ return Math.max(1, Pt(new Date(t), n) + 1);
2624
+ }, Jo = (t, n = /* @__PURE__ */ new Date(), r = 7) => {
2625
2625
  if (!t || !Number.isFinite(t))
2626
2626
  return 0;
2627
2627
  const i = new Date(t);
2628
- return i.setDate(i.getDate() + r), Math.max(0, Rt(i, n));
2629
- }, Jo = (t) => {
2628
+ return i.setDate(i.getDate() + r), Math.max(0, Pt(i, n));
2629
+ }, Ko = (t) => {
2630
2630
  const n = t ?? [], i = n.filter((o) => !o.is_offering).map((o) => ({
2631
2631
  id: String(o.id),
2632
- title: o.title || Ne.title,
2633
- location: o.location || Ne.location,
2634
- date: o.date || Ne.date,
2632
+ title: o.title || Le.title,
2633
+ location: o.location || Le.location,
2634
+ date: o.date || Le.date,
2635
2635
  deeplink: o.deeplink,
2636
- imageUrl: o.img_url?.data?.attributes?.url || Ne.imageUrl
2636
+ imageUrl: o.img_url?.data?.attributes?.url || Le.imageUrl
2637
2637
  })), s = i[0], u = n.filter((o) => o.is_offering).map((o) => {
2638
2638
  const p = o.title || "Custom", w = p.toLowerCase() === "custom", l = o.price ? Number(o.price) : null;
2639
2639
  return {
@@ -2646,148 +2646,148 @@ If you feel like trying something like this, join here:
2646
2646
  };
2647
2647
  }).sort((o, p) => Number(o.isCustom) - Number(p.isCustom));
2648
2648
  return { pujaCard: s, pujaCards: i, offeringCards: u };
2649
- }, Ko = (t) => `https://${Ki[t]}/api/dlps${Xi}`, Xo = (t = fetch) => ({
2649
+ }, Xo = (t) => `https://${Xi[t]}/api/dlps${Zi}`, Zo = (t = fetch) => ({
2650
2650
  getDlpContent: async (r, i) => {
2651
- const s = await t(Ko(r), { signal: i });
2651
+ const s = await t(Xo(r), { signal: i });
2652
2652
  if (!s.ok)
2653
2653
  throw new Error(`DLP API failed with status ${s.status}`);
2654
2654
  const u = (await s.json())?.data?.[0]?.attributes;
2655
2655
  return {
2656
2656
  attributes: u,
2657
- normalized: Jo(u?.dlp_cards)
2657
+ normalized: Ko(u?.dlp_cards)
2658
2658
  };
2659
2659
  }
2660
- }), Zo = ({
2660
+ }), Qo = ({
2661
2661
  initialVideoId: t,
2662
2662
  contentEnvironment: n
2663
2663
  }) => {
2664
- const [r, i] = N(t), [s, c] = N(Ne), [u, o] = N([
2665
- Ne
2666
- ]), [p, w] = N(Ji), [l, h] = N(!0), m = Kt(() => Xo(), []);
2667
- D(() => {
2664
+ const [r, i] = N(t), [s, c] = N(Le), [u, o] = N([
2665
+ Le
2666
+ ]), [p, w] = N(Ki), [l, h] = N(!0), _ = Xt(() => Zo(), []);
2667
+ L(() => {
2668
2668
  i(t);
2669
2669
  }, [t]);
2670
- const x = Xe(
2671
- async (_) => {
2670
+ const v = et(
2671
+ async (g) => {
2672
2672
  h(!0);
2673
2673
  try {
2674
- const { attributes: k, normalized: j } = await m.getDlpContent(
2674
+ const { attributes: C, normalized: j } = await _.getDlpContent(
2675
2675
  n,
2676
- _
2676
+ g
2677
2677
  );
2678
- k?.yt_video_id && i(k.yt_video_id), c(j.pujaCard), o(j.pujaCards), w(j.offeringCards);
2679
- } catch (k) {
2680
- _?.aborted || console.error("Failed to fetch DLP cards", k);
2678
+ C?.yt_video_id && i(C.yt_video_id), c(j.pujaCard), o(j.pujaCards), w(j.offeringCards);
2679
+ } catch (C) {
2680
+ g?.aborted || console.error("Failed to fetch DLP cards", C);
2681
2681
  } finally {
2682
- _?.aborted || h(!1);
2682
+ g?.aborted || h(!1);
2683
2683
  }
2684
2684
  },
2685
- [m, n]
2685
+ [_, n]
2686
2686
  );
2687
- return D(() => {
2688
- const _ = new AbortController();
2689
- return x(_.signal), () => _.abort();
2690
- }, [x]), {
2687
+ return L(() => {
2688
+ const g = new AbortController();
2689
+ return v(g.signal), () => g.abort();
2690
+ }, [v]), {
2691
2691
  apiVideoId: r,
2692
2692
  pujaCard: s,
2693
2693
  pujaCards: u,
2694
2694
  offeringCards: p,
2695
2695
  isDlpLoading: l,
2696
- refetchDlpData: x
2696
+ refetchDlpData: v
2697
2697
  };
2698
- }, Qo = "sm_dlp_premium", ea = [
2698
+ }, el = "sm_dlp_premium", ea = [
2699
2699
  "created",
2700
2700
  "active",
2701
2701
  "active_grace"
2702
- ], el = (t) => {
2702
+ ], tl = (t) => {
2703
2703
  if (!(typeof t != "number" || !Number.isFinite(t) || t <= 0))
2704
2704
  return t > 1e12 ? t : t * 1e3;
2705
- }, tl = (t) => {
2706
- const n = el(t?.expiry_date);
2707
- return n ? n > Date.now() : !0;
2708
2705
  }, nl = (t) => {
2706
+ const n = tl(t?.expiry_date);
2707
+ return n ? n > Date.now() : !0;
2708
+ }, al = (t) => {
2709
2709
  const n = t?.data;
2710
2710
  return Array.isArray(n) ? n : n && typeof n == "object" ? [n] : [];
2711
- }, al = ({
2712
- subscriptionType: t = Qo,
2711
+ }, rl = ({
2712
+ subscriptionType: t = el,
2713
2713
  enabled: n = !0,
2714
2714
  apiBaseInstance: r
2715
2715
  }) => {
2716
- const [i, s] = N(!1), [c, u] = N(null), [o, p] = N(!!n), [w, l] = N(null), h = Kt(() => !!(n && t), [
2716
+ const [i, s] = N(!1), [c, u] = N(null), [o, p] = N(!!n), [w, l] = N(null), h = Xt(() => !!(n && t), [
2717
2717
  n,
2718
2718
  t
2719
- ]), m = Xe(async () => {
2719
+ ]), _ = et(async () => {
2720
2720
  if (!h) {
2721
2721
  p(!1), s(!1), u(null);
2722
2722
  return;
2723
2723
  }
2724
2724
  try {
2725
2725
  p(!0), l(null), s(!1), u(null);
2726
- let x;
2726
+ let v;
2727
2727
  if (r?.get)
2728
- x = (await r.get(
2728
+ v = (await r.get(
2729
2729
  `/gw3/yoda/external/v1/subscriptions/${t}`
2730
2730
  ))?.data;
2731
2731
  else {
2732
- const k = await fetch(
2732
+ const C = await fetch(
2733
2733
  `/gw3/yoda/external/v1/subscriptions/${t}`,
2734
2734
  {
2735
2735
  method: "GET",
2736
2736
  credentials: "include"
2737
2737
  }
2738
2738
  );
2739
- if (!k.ok)
2739
+ if (!C.ok)
2740
2740
  throw new Error(
2741
- `Subscription status API failed with status ${k.status}`
2741
+ `Subscription status API failed with status ${C.status}`
2742
2742
  );
2743
- x = await k.json();
2743
+ v = await C.json();
2744
2744
  }
2745
- const _ = nl(x).find((k) => {
2746
- const j = k?.status?.trim().toLowerCase(), S = k?.service_type?.toLowerCase(), b = !S || S === t.toLowerCase(), E = tl(k);
2747
- return !j || j === "completed" || j === "cancelled" ? !1 : ea.includes(j) && b && E;
2745
+ const g = al(v).find((C) => {
2746
+ const j = C?.status?.trim().toLowerCase(), S = C?.service_type?.toLowerCase(), b = !S || S === t.toLowerCase(), D = nl(C);
2747
+ return !j || j === "completed" || j === "cancelled" ? !1 : ea.includes(j) && b && D;
2748
2748
  });
2749
- _ && (s(!0), u(_));
2750
- } catch (x) {
2749
+ g && (s(!0), u(g));
2750
+ } catch (v) {
2751
2751
  s(!1), u(null), l(
2752
- x instanceof Error ? x : new Error("Failed to fetch subscription status")
2752
+ v instanceof Error ? v : new Error("Failed to fetch subscription status")
2753
2753
  );
2754
2754
  } finally {
2755
2755
  p(!1);
2756
2756
  }
2757
2757
  }, [r, h, t]);
2758
- return D(() => {
2759
- m();
2760
- }, [m]), {
2758
+ return L(() => {
2759
+ _();
2760
+ }, [_]), {
2761
2761
  isSubscribed: i,
2762
2762
  activeSubscription: c,
2763
2763
  checkedStatuses: ea,
2764
2764
  isLoading: o,
2765
2765
  error: w,
2766
- refetch: m
2766
+ refetch: _
2767
2767
  };
2768
- }, rl = 1440 * 60 * 1e3, sl = {
2768
+ }, sl = 1440 * 60 * 1e3, il = {
2769
2769
  data: {
2770
2770
  cards: [
2771
2771
  {
2772
2772
  type: "daily_attendance_streak",
2773
2773
  attributes: {
2774
2774
  days: [
2775
- { date_string: Ke(5), status: !0 },
2776
- { date_string: Ke(4), status: !1 },
2777
- { date_string: Ke(3), status: !0 },
2778
- { date_string: Ke(2), status: !1 },
2779
- { date_string: Ke(1), status: !0 },
2780
- { date_string: Ke(0), status: !0 },
2781
- { date_string: Ke(-1), status: !1 }
2775
+ { date_string: Qe(5), status: !0 },
2776
+ { date_string: Qe(4), status: !1 },
2777
+ { date_string: Qe(3), status: !0 },
2778
+ { date_string: Qe(2), status: !1 },
2779
+ { date_string: Qe(1), status: !0 },
2780
+ { date_string: Qe(0), status: !0 },
2781
+ { date_string: Qe(-1), status: !1 }
2782
2782
  ],
2783
- attendance_start_at: Date.now() - 8 * rl,
2783
+ attendance_start_at: Date.now() - 8 * sl,
2784
2784
  last_updated_at: 17913744e5,
2785
2785
  current_streak_count: 2
2786
2786
  }
2787
2787
  }
2788
2788
  ]
2789
2789
  }
2790
- }, il = (t) => ({
2790
+ }, ol = (t) => ({
2791
2791
  getDailyAttendanceStreak: async () => {
2792
2792
  try {
2793
2793
  const i = (await t?.zeusApi?.getDlpStreak?.())?.data;
@@ -2799,10 +2799,10 @@ If you feel like trying something like this, join here:
2799
2799
  throw new Error("Streak API response missing daily_attendance_streak");
2800
2800
  return { payload: i, isMock: !1 };
2801
2801
  } catch (r) {
2802
- return console.error("[DLP] Streak API unavailable, using mock response", r), { payload: sl, isMock: !0 };
2802
+ return console.error("[DLP] Streak API unavailable, using mock response", r), { payload: il, isMock: !0 };
2803
2803
  }
2804
2804
  }
2805
- }), ol = ({
2805
+ }), ll = ({
2806
2806
  enabled: t = !0,
2807
2807
  a4bApi: n,
2808
2808
  fallbackAttendedDays: r = [1],
@@ -2810,51 +2810,51 @@ If you feel like trying something like this, join here:
2810
2810
  }) => {
2811
2811
  const [s, c] = N(null), [u, o] = N(
2812
2812
  fa(r, i)
2813
- ), [p, w] = N(!1), [l, h] = N(!!t), [m, x] = N(null), _ = Kt(
2814
- () => il(n),
2813
+ ), [p, w] = N(!1), [l, h] = N(!!t), [_, v] = N(null), g = Xt(
2814
+ () => ol(n),
2815
2815
  [n]
2816
- ), k = Xe(async () => {
2816
+ ), C = et(async () => {
2817
2817
  if (!t) {
2818
2818
  h(!1);
2819
2819
  return;
2820
2820
  }
2821
2821
  try {
2822
- h(!0), x(null);
2823
- const { payload: v, isMock: T } = await _.getDailyAttendanceStreak(), J = v?.data?.cards?.find(
2822
+ h(!0), v(null);
2823
+ const { payload: y, isMock: T } = await g.getDailyAttendanceStreak(), J = y?.data?.cards?.find(
2824
2824
  (ee) => ee?.type === "daily_attendance_streak"
2825
2825
  )?.attributes ?? null;
2826
2826
  c(J), w(T), J?.days?.length && o(
2827
- qo(
2827
+ zo(
2828
2828
  J.days,
2829
2829
  J.attendance_start_at
2830
2830
  )
2831
2831
  );
2832
- } catch (v) {
2833
- x(
2834
- v instanceof Error ? v : new Error("Failed to fetch streak data")
2832
+ } catch (y) {
2833
+ v(
2834
+ y instanceof Error ? y : new Error("Failed to fetch streak data")
2835
2835
  );
2836
2836
  } finally {
2837
2837
  h(!1);
2838
2838
  }
2839
- }, [t, _]);
2840
- D(() => {
2841
- k();
2842
- }, [k]);
2843
- const j = s?.days, S = s?.attendance_start_at, b = Wo(S), E = Vo(j, S), $ = !E && Ho(j);
2839
+ }, [t, g]);
2840
+ L(() => {
2841
+ C();
2842
+ }, [C]);
2843
+ const j = s?.days, S = s?.attendance_start_at, b = Ho(S), D = qo(j, S), $ = !D && Vo(j);
2844
2844
  return {
2845
2845
  streakAttributes: s,
2846
2846
  streakUi: u,
2847
2847
  isFirstTime: b,
2848
2848
  isActive: $,
2849
- isInactive: E,
2849
+ isInactive: D,
2850
2850
  isMockResponse: p,
2851
2851
  isLoading: l,
2852
- error: m,
2853
- refetch: k
2852
+ error: _,
2853
+ refetch: C
2854
2854
  };
2855
- }, ll = (t, n) => {
2855
+ }, cl = (t, n) => {
2856
2856
  const [r, i] = N("LOADING"), s = A(null), c = A(null), u = A(null), o = A(null);
2857
- return D(() => {
2857
+ return L(() => {
2858
2858
  if (typeof window > "u")
2859
2859
  return;
2860
2860
  if (!t) {
@@ -2863,21 +2863,21 @@ If you feel like trying something like this, join here:
2863
2863
  }
2864
2864
  let l = !1, h = 0;
2865
2865
  i("LOADING");
2866
- const m = () => {
2866
+ const _ = () => {
2867
2867
  c.current && (clearInterval(c.current), c.current = null);
2868
- }, x = () => {
2868
+ }, v = () => {
2869
2869
  u.current && (clearTimeout(u.current), u.current = null);
2870
- }, _ = () => {
2870
+ }, g = () => {
2871
2871
  o.current && (clearTimeout(o.current), o.current = null);
2872
- }, k = () => {
2872
+ }, C = () => {
2873
2873
  try {
2874
2874
  s.current?.destroy?.();
2875
- } catch (v) {
2876
- console.error("Failed to destroy YouTube status probe", v);
2875
+ } catch (y) {
2876
+ console.error("Failed to destroy YouTube status probe", y);
2877
2877
  }
2878
2878
  s.current = null;
2879
2879
  }, j = () => {
2880
- if (_(), !l) {
2880
+ if (g(), !l) {
2881
2881
  if (h >= 5) {
2882
2882
  i("ENDED");
2883
2883
  return;
@@ -2887,12 +2887,12 @@ If you feel like trying something like this, join here:
2887
2887
  }, 2e3);
2888
2888
  }
2889
2889
  }, S = () => {
2890
- m(), x(), k(), j();
2890
+ _(), v(), C(), j();
2891
2891
  }, b = () => {
2892
- const v = s.current;
2893
- if (!(!v || l))
2892
+ const y = s.current;
2893
+ if (!(!y || l))
2894
2894
  try {
2895
- const T = v.getVideoData(), F = v.getDuration(), J = T?.isLive ?? !1;
2895
+ const T = y.getVideoData(), F = y.getDuration(), J = T?.isLive ?? !1;
2896
2896
  if (F === 0) {
2897
2897
  i("UPCOMING");
2898
2898
  return;
@@ -2905,16 +2905,16 @@ If you feel like trying something like this, join here:
2905
2905
  } catch (T) {
2906
2906
  console.error("Error reading YouTube player state", T), S();
2907
2907
  }
2908
- }, E = () => {
2908
+ }, D = () => {
2909
2909
  if (!(!document.getElementById(n) || !window.YT?.Player || l)) {
2910
- k(), m(), x(), _();
2910
+ C(), _(), v(), g();
2911
2911
  try {
2912
2912
  s.current = new window.YT.Player(n, {
2913
2913
  videoId: t,
2914
- playerVars: to,
2914
+ playerVars: no,
2915
2915
  events: {
2916
2916
  onReady: () => {
2917
- h = 0, x();
2917
+ h = 0, v();
2918
2918
  try {
2919
2919
  s.current?.mute?.(), s.current?.playVideo?.();
2920
2920
  } catch (T) {
@@ -2923,9 +2923,9 @@ If you feel like trying something like this, join here:
2923
2923
  T
2924
2924
  );
2925
2925
  }
2926
- b(), setTimeout(b, eo), c.current = setInterval(
2926
+ b(), setTimeout(b, to), c.current = setInterval(
2927
2927
  b,
2928
- Qi
2928
+ eo
2929
2929
  );
2930
2930
  },
2931
2931
  onStateChange: (T) => {
@@ -2942,7 +2942,7 @@ If you feel like trying something like this, join here:
2942
2942
  }
2943
2943
  }, $ = () => {
2944
2944
  if (window.YT?.Player) {
2945
- E();
2945
+ D();
2946
2946
  return;
2947
2947
  }
2948
2948
  if (!document.querySelector(
@@ -2951,25 +2951,25 @@ If you feel like trying something like this, join here:
2951
2951
  const T = document.createElement("script");
2952
2952
  T.src = "https://www.youtube.com/iframe_api", document.body.appendChild(T);
2953
2953
  }
2954
- const v = window.onYouTubeIframeAPIReady;
2954
+ const y = window.onYouTubeIframeAPIReady;
2955
2955
  window.onYouTubeIframeAPIReady = () => {
2956
- v?.(), $();
2956
+ y?.(), $();
2957
2957
  }, j();
2958
2958
  };
2959
2959
  return $(), u.current = setTimeout(() => {
2960
2960
  !l && !s.current && S();
2961
2961
  }, 8e3), () => {
2962
- l = !0, m(), x(), _(), k();
2962
+ l = !0, _(), v(), g(), C();
2963
2963
  };
2964
2964
  }, [n, t]), r;
2965
- }, cl = 7e3, dl = ({
2965
+ }, dl = 7e3, ul = ({
2966
2966
  isLoggedIn: t,
2967
2967
  stableStreamStatus: n,
2968
2968
  streamStatus: r,
2969
- timeoutMs: i = cl
2969
+ timeoutMs: i = dl
2970
2970
  }) => {
2971
2971
  const s = A(null), [c, u] = N(!1);
2972
- return D(() => {
2972
+ return L(() => {
2973
2973
  if (r === "LOADING") {
2974
2974
  s.current || (s.current = Date.now()), Date.now() - s.current > i && u(!0);
2975
2975
  return;
@@ -2978,16 +2978,16 @@ If you feel like trying something like this, join here:
2978
2978
  }, [r, i]), {
2979
2979
  isResolvingStreamStatus: !!t && n === null && r === "LOADING" && !c
2980
2980
  };
2981
- }, ul = ({
2981
+ }, pl = ({
2982
2982
  enabled: t,
2983
2983
  isLoggedIn: n,
2984
2984
  stableStreamStatus: r,
2985
2985
  youtubeWatchUrl: i
2986
2986
  }) => {
2987
- D(() => {
2987
+ L(() => {
2988
2988
  typeof window > "u" || t && n && r === "LIVE" && i && (window.location.href = i);
2989
2989
  }, [t, n, r, i]);
2990
- }, lt = (t) => typeof t == "number" && Number.isFinite(t) ? t : void 0, pl = (t) => {
2990
+ }, dt = (t) => typeof t == "number" && Number.isFinite(t) ? t : void 0, hl = (t) => {
2991
2991
  const {
2992
2992
  shouldShowSubscription: n,
2993
2993
  showBlockerOnlySubscription: r,
@@ -3000,44 +3000,44 @@ If you feel like trying something like this, join here:
3000
3000
  timeSpentInSec: w,
3001
3001
  subscriptionCount: l,
3002
3002
  totalDaysAttended: h,
3003
- lastStreakCount: m
3003
+ lastStreakCount: _
3004
3004
  } = t;
3005
3005
  if (r)
3006
3006
  return {
3007
3007
  eventName: "DLP_Blocker_Exit",
3008
3008
  properties: {
3009
- days_since_trial_expired: Go(
3009
+ days_since_trial_expired: Jo(
3010
3010
  i,
3011
3011
  /* @__PURE__ */ new Date(),
3012
3012
  7
3013
3013
  ),
3014
- subscription_count: lt(l),
3014
+ subscription_count: dt(l),
3015
3015
  subscription_status: c,
3016
- amount_shown: lt(o),
3017
- total_days_attended: lt(h),
3018
- last_streak_count: lt(m)
3016
+ amount_shown: dt(o),
3017
+ total_days_attended: dt(h),
3018
+ last_streak_count: dt(_)
3019
3019
  }
3020
3020
  };
3021
3021
  if (n) {
3022
- const x = Yo(
3022
+ const v = Go(
3023
3023
  i,
3024
3024
  /* @__PURE__ */ new Date()
3025
3025
  );
3026
- return x ? {
3026
+ return v ? {
3027
3027
  eventName: "DLP_Subscription_Upsell_Exit",
3028
3028
  properties: {
3029
- trial_day_number: x,
3030
- current_streak_count: lt(s),
3029
+ trial_day_number: v,
3030
+ current_streak_count: dt(s),
3031
3031
  subscription_status: c,
3032
3032
  dlp_status: u,
3033
- amount: lt(o),
3033
+ amount: dt(o),
3034
3034
  last_section_visible: p,
3035
3035
  time_spent_in_sec: Math.max(1, Math.round(w))
3036
3036
  }
3037
3037
  } : null;
3038
3038
  }
3039
3039
  return null;
3040
- }, hl = ({
3040
+ }, fl = ({
3041
3041
  enabled: t,
3042
3042
  shouldShowSubscription: n,
3043
3043
  showBlockerOnlySubscription: r,
@@ -3051,16 +3051,16 @@ If you feel like trying something like this, join here:
3051
3051
  lastStreakCount: l,
3052
3052
  onExitAnalytics: h
3053
3053
  }) => {
3054
- const m = A(Date.now()), x = A(!1), _ = A("Daily Live Puja");
3055
- D(() => {
3056
- t && (m.current = Date.now(), x.current = !1, _.current = "Daily Live Puja");
3054
+ const _ = A(Date.now()), v = A(!1), g = A("Daily Live Puja");
3055
+ L(() => {
3056
+ t && (_.current = Date.now(), v.current = !1, g.current = "Daily Live Puja");
3057
3057
  }, [t]);
3058
- const k = Xe((S) => {
3059
- S && (_.current = S);
3060
- }, []), j = Xe(() => {
3061
- if (!t || x.current || !h)
3058
+ const C = et((S) => {
3059
+ S && (g.current = S);
3060
+ }, []), j = et(() => {
3061
+ if (!t || v.current || !h)
3062
3062
  return;
3063
- const S = pl({
3063
+ const S = hl({
3064
3064
  shouldShowSubscription: n,
3065
3065
  showBlockerOnlySubscription: r,
3066
3066
  attendanceStartAt: i,
@@ -3068,13 +3068,13 @@ If you feel like trying something like this, join here:
3068
3068
  subscriptionStatus: c,
3069
3069
  dlpStatus: u,
3070
3070
  amount: o,
3071
- lastSectionVisible: _.current,
3072
- timeSpentInSec: (Date.now() - m.current) / 1e3,
3071
+ lastSectionVisible: g.current,
3072
+ timeSpentInSec: (Date.now() - _.current) / 1e3,
3073
3073
  subscriptionCount: p,
3074
3074
  totalDaysAttended: w,
3075
3075
  lastStreakCount: l
3076
3076
  });
3077
- S && (x.current = !0, h(S));
3077
+ S && (v.current = !0, h(S));
3078
3078
  }, [
3079
3079
  t,
3080
3080
  h,
@@ -3089,7 +3089,7 @@ If you feel like trying something like this, join here:
3089
3089
  w,
3090
3090
  l
3091
3091
  ]);
3092
- return D(() => {
3092
+ return L(() => {
3093
3093
  if (typeof window > "u" || !t)
3094
3094
  return;
3095
3095
  const S = () => {
@@ -3101,19 +3101,19 @@ If you feel like trying something like this, join here:
3101
3101
  window.removeEventListener("pagehide", S), window.removeEventListener("beforeunload", b), j();
3102
3102
  };
3103
3103
  }, [t, j]), {
3104
- trackLastSectionVisible: k,
3104
+ trackLastSectionVisible: C,
3105
3105
  emitExitAnalytics: j
3106
3106
  };
3107
- }, Gt = 1440 * 60 * 1e3, fl = (t) => {
3107
+ }, Rt = 1440 * 60 * 1e3, ml = (t) => {
3108
3108
  if (!t) return null;
3109
3109
  const n = /* @__PURE__ */ new Date(`${t}T00:00:00`);
3110
3110
  return Number.isNaN(n.getTime()) ? null : n;
3111
- }, ml = (t = []) => {
3111
+ }, _l = (t = []) => {
3112
3112
  if (!t.length) return {};
3113
3113
  const n = /* @__PURE__ */ new Date();
3114
3114
  n.setHours(0, 0, 0, 0);
3115
3115
  const r = t.map((l) => {
3116
- const h = fl(l?.date_string);
3116
+ const h = ml(l?.date_string);
3117
3117
  return h ? {
3118
3118
  date: h,
3119
3119
  status: !!l?.status
@@ -3128,19 +3128,19 @@ If you feel like trying something like this, join here:
3128
3128
  r.forEach((l, h) => {
3129
3129
  if (l.status) {
3130
3130
  c += 1;
3131
- const m = h === r.length - 1, x = !m && !r[h + 1].status;
3132
- (m || x) && s.push({ length: c, endDate: l.date });
3131
+ const _ = h === r.length - 1, v = !_ && !r[h + 1].status;
3132
+ (_ || v) && s.push({ length: c, endDate: l.date });
3133
3133
  } else
3134
3134
  c = 0;
3135
3135
  });
3136
- const o = r[r.length - 1].status && s[s.length - 1]?.length || 0, p = o > 0 ? s[s.length - 2] : s[s.length - 1], w = p ? Math.max(0, Math.floor((n.getTime() - p.endDate.getTime()) / Gt)) : void 0;
3136
+ const o = r[r.length - 1].status && s[s.length - 1]?.length || 0, p = o > 0 ? s[s.length - 2] : s[s.length - 1], w = p ? Math.max(0, Math.floor((n.getTime() - p.endDate.getTime()) / Rt)) : void 0;
3137
3137
  return {
3138
3138
  totalDaysAttended: i,
3139
3139
  currentStreakCount: o,
3140
3140
  lastStreakCount: p?.length,
3141
3141
  daysSinceLastStreakEnded: w
3142
3142
  };
3143
- }, Cl = ({
3143
+ }, kl = ({
3144
3144
  videoId: t,
3145
3145
  title: n = "Live Stream",
3146
3146
  chatHost: r,
@@ -3153,202 +3153,202 @@ If you feel like trying something like this, join here:
3153
3153
  currentDay: w = 1,
3154
3154
  isLoggedIn: l = !1,
3155
3155
  onStoreCardClick: h,
3156
- onStoreSwipe: m,
3157
- onStoreCardsResolved: x,
3158
- a4bApi: _,
3159
- storeCardsPage: k,
3156
+ onStoreSwipe: _,
3157
+ onStoreCardsResolved: v,
3158
+ a4bApi: g,
3159
+ storeCardsPage: C,
3160
3160
  storeCardsHeaders: j,
3161
3161
  storeCardsLimit: S,
3162
3162
  onShare: b,
3163
- shareUserId: E,
3163
+ shareUserId: D,
3164
3164
  showSubscription: $ = !1,
3165
- onSubscribe: v,
3165
+ onSubscribe: y,
3166
3166
  onJoinClick: T,
3167
3167
  onHeaderJoinClick: F,
3168
3168
  onLandscapeDrawerClick: J,
3169
3169
  onWhatsappVerifyClick: ee,
3170
3170
  onSectionImpression: ce,
3171
- onSectionTimeSpent: Se,
3171
+ onSectionTimeSpent: Te,
3172
3172
  onCarouselSwipe: de,
3173
3173
  onVideoAction: P,
3174
- redirectToYoutubeOnLiveAfterLogin: U = !1,
3175
- onChatInputInteraction: Y,
3176
- subscriptionStoreId: G,
3174
+ redirectToYoutubeOnLiveAfterLogin: B = !1,
3175
+ onChatInputInteraction: z,
3176
+ subscriptionStoreId: Y,
3177
3177
  subscriptionInventoryId: ae,
3178
3178
  subscriptionOnboardingType: he = "sm_dlp_premium",
3179
- onStreakUpdate: pt,
3180
- onAnalyticsContextUpdate: ht,
3181
- onExitAnalytics: Dt
3179
+ onStreakUpdate: ft,
3180
+ onAnalyticsContextUpdate: mt,
3181
+ onExitAnalytics: It
3182
3182
  }) => {
3183
- const [se, ge] = N("streaks"), [xe, Be] = N("chat"), Oe = A(null), Me = A(null), Ee = A(null), Ce = A(null), ke = A(null), ft = {
3184
- streaks: Oe,
3185
- share: Me,
3186
- store: Ee,
3187
- subscription: Ce
3188
- }, Lt = (y) => {
3189
- const O = ft[y].current, re = ke.current;
3190
- !O || !re || re.scrollTo({ top: O.offsetTop, behavior: "smooth" });
3191
- }, $e = se === "chat", [X, Re] = N(null), K = X === "LIVE", De = $e && K, Pt = l && !K, Ue = De ? "streaks" : se, It = (y) => y === "chat" ? "Chat" : y === "streaks" ? "Streak" : y === "share" ? "share" : y === "store" ? "store" : y === "subscription" ? "Subscription" : "Video Player", We = A(null), Ze = A(Date.now()), At = A(null), Ft = A(null), mt = A(null), Qe = A(null), He = A(null), Bt = A(null), et = {
3192
- streaks: At,
3193
- share: Ft,
3194
- store: mt,
3195
- subscription: Qe
3196
- }, Ve = A(0), { isSubscribed: qe, activeSubscription: fe, refetch: _t } = al({
3183
+ const [se, ge] = N("streaks"), [xe, Me] = N("chat"), $e = A(null), Ue = A(null), Pe = A(null), Ne = A(null), Ee = A(null), _t = {
3184
+ streaks: $e,
3185
+ share: Ue,
3186
+ store: Pe,
3187
+ subscription: Ne
3188
+ }, At = (x) => {
3189
+ const M = _t[x].current, X = Ee.current;
3190
+ !M || !X || X.scrollTo({ top: M.offsetTop, behavior: "smooth" });
3191
+ }, We = se === "chat", [G, Ie] = N(null), K = G === "LIVE", Ae = We && K, Ft = l && !K, He = Ae ? "streaks" : se, Bt = (x) => x === "chat" ? "Chat" : x === "streaks" ? "Streak" : x === "share" ? "share" : x === "store" ? "store" : x === "subscription" ? "Subscription" : "Video Player", Ve = A(null), tt = A(Date.now()), Ot = A(null), Mt = A(null), gt = A(null), nt = A(null), qe = A(null), $t = A(null), at = {
3192
+ streaks: Ot,
3193
+ share: Mt,
3194
+ store: gt,
3195
+ subscription: nt
3196
+ }, ze = A(0), { isSubscribed: Ye, activeSubscription: fe, refetch: xt } = rl({
3197
3197
  subscriptionType: he,
3198
3198
  enabled: !!($ && l),
3199
- apiBaseInstance: _?.apiInstance
3200
- }), { trialSubscriptionData: Ot, refetch: ze } = Sn({
3201
- storeId: G,
3199
+ apiBaseInstance: g?.apiInstance
3200
+ }), { trialSubscriptionData: Ut, refetch: Ge } = Sn({
3201
+ storeId: Y,
3202
3202
  inventoryId: ae,
3203
3203
  onboardingType: he,
3204
- apiBaseInstance: _?.apiInstance,
3205
- enabled: !!(G && ae),
3204
+ apiBaseInstance: g?.apiInstance,
3205
+ enabled: !!(Y && ae),
3206
3206
  autoFetch: !1
3207
3207
  });
3208
- D(() => {
3209
- !l || !G || !ae || ze();
3208
+ L(() => {
3209
+ !l || !Y || !ae || Ge();
3210
3210
  }, [
3211
3211
  l,
3212
- ze,
3212
+ Ge,
3213
3213
  ae,
3214
- G
3215
- ]), D(() => {
3216
- if (!l || typeof window > "u" || !(Mo("dlp_refresh_after_payment") === "1"))
3214
+ Y
3215
+ ]), L(() => {
3216
+ if (!l || typeof window > "u" || !($o("dlp_refresh_after_payment") === "1"))
3217
3217
  return;
3218
- $o("dlp_refresh_after_payment"), ze(), _t();
3219
- const O = window.setTimeout(() => {
3220
- ze(), _t();
3218
+ Uo("dlp_refresh_after_payment"), Ge(), xt();
3219
+ const M = window.setTimeout(() => {
3220
+ Ge(), xt();
3221
3221
  }, 3e3);
3222
3222
  return () => {
3223
- window.clearTimeout(O);
3223
+ window.clearTimeout(M);
3224
3224
  };
3225
3225
  }, [
3226
3226
  l,
3227
- ze,
3228
- _t
3227
+ Ge,
3228
+ xt
3229
3229
  ]);
3230
- const [ie, Xt] = N(!1), [me, tt] = N(!1), [ve, nt] = N(!0), [at, gt] = N(!1), [_e, xt] = N(!1), [Mt, rt] = N(!1), [$t, Zt] = N(""), { apiVideoId: Qt, pujaCard: be, pujaCards: Le, offeringCards: je } = Zo({
3230
+ const [ie, Zt] = N(!1), [me, rt] = N(!1), [ve, st] = N(!0), [it, vt] = N(!1), [_e, yt] = N(!1), [Wt, Fe] = N(!1), ye = A(null), [Qt, en] = N(""), { apiVideoId: Ht, pujaCard: Se, pujaCards: Je, offeringCards: Ce } = Qo({
3231
3231
  initialVideoId: t,
3232
3232
  contentEnvironment: i
3233
- }), { streakAttributes: te, streakUi: vt, isLoading: Ut } = ol({
3233
+ }), { streakAttributes: te, streakUi: bt, isLoading: a } = ll({
3234
3234
  enabled: l,
3235
- a4bApi: _,
3235
+ a4bApi: g,
3236
3236
  fallbackAttendedDays: p,
3237
3237
  fallbackCurrentDay: w
3238
- }), a = Number.isFinite(te?.attendance_start_at) && Number.isFinite(te?.last_updated_at) && te?.last_updated_at - te?.attendance_start_at > 7 * Gt, d = !!(l && !qe && a), g = A(!1);
3239
- D(() => {
3240
- if (!d) {
3241
- g.current = !1;
3238
+ }), d = Number.isFinite(te?.attendance_start_at) && Number.isFinite(te?.last_updated_at) && te?.last_updated_at - te?.attendance_start_at > 7 * Rt, m = !!(l && !Ye && d), k = A(!1);
3239
+ L(() => {
3240
+ if (!m) {
3241
+ k.current = !1;
3242
3242
  return;
3243
3243
  }
3244
- g.current || (g.current = !0, ce?.("blocker_screen"));
3245
- }, [d, ce]), D(() => {
3244
+ k.current || (k.current = !0, ce?.("blocker_screen"));
3245
+ }, [m, ce]), L(() => {
3246
3246
  if (!l) return;
3247
- const y = It(se), O = Date.now();
3248
- if (We.current && We.current !== y) {
3249
- const re = Math.max(1, Math.round((O - Ze.current) / 1e3));
3250
- Se?.({
3251
- sectionName: We.current,
3252
- timeSpent: re
3247
+ const x = Bt(se), M = Date.now();
3248
+ if (Ve.current && Ve.current !== x) {
3249
+ const X = Math.max(1, Math.round((M - tt.current) / 1e3));
3250
+ Te?.({
3251
+ sectionName: Ve.current,
3252
+ timeSpent: X
3253
3253
  });
3254
3254
  }
3255
- We.current !== y && ce?.(y), We.current = y, Ze.current = O;
3255
+ Ve.current !== x && ce?.(x), Ve.current = x, tt.current = M;
3256
3256
  }, [
3257
3257
  se,
3258
3258
  l,
3259
3259
  ce,
3260
- Se
3260
+ Te
3261
3261
  ]);
3262
- const C = !d, B = C ? vt.attendedDays : [], I = C ? vt.currentDay : 1, R = vt.totalDays || 7, L = zo(
3262
+ const I = !m, U = I ? bt.attendedDays : [], R = I ? bt.currentDay : 1, E = bt.totalDays || 7, Z = Yo(
3263
3263
  te?.attendance_start_at,
3264
3264
  /* @__PURE__ */ new Date(),
3265
- R
3266
- ), z = typeof L == "number" ? L : Math.max(0, R - I);
3267
- D(() => {
3268
- pt?.({ daysRemaining: z, currentDay: I, totalDays: R });
3269
- }, [z, I, R, pt]);
3270
- const H = $ && !fe && !d && I >= 6 && I <= 7, W = $ && !!fe, ne = H || W, [Pe, we] = N(!0), q = Pe, Z = [
3265
+ E
3266
+ ), W = typeof Z == "number" ? Z : Math.max(0, E - R);
3267
+ L(() => {
3268
+ ft?.({ daysRemaining: W, currentDay: R, totalDays: E });
3269
+ }, [W, R, E, ft]);
3270
+ const H = $ && !fe && !m && R >= 6 && R <= 7, q = $ && !!fe, be = H || q, [Re, ne] = N(!0), je = Re, re = [
3271
3271
  "streaks",
3272
3272
  "share",
3273
- ...q ? ["store"] : [],
3274
- ...ne ? ["subscription"] : []
3273
+ ...je ? ["store"] : [],
3274
+ ...be ? ["subscription"] : []
3275
3275
  ];
3276
- D(() => {
3277
- we(!0);
3278
- }, [_, k, j, S]);
3279
- const yt = (y) => {
3280
- we(y.length > 0), x?.(y);
3276
+ L(() => {
3277
+ ne(!0);
3278
+ }, [g, C, j, S]);
3279
+ const jt = (x) => {
3280
+ ne(x.length > 0), v?.(x);
3281
3281
  };
3282
- D(() => {
3283
- if (De) return;
3284
- let y = null;
3285
- const O = requestAnimationFrame(() => {
3286
- const re = Bt.current;
3287
- if (!re) return;
3288
- const Ie = Z;
3289
- y = new IntersectionObserver(
3290
- (Je) => {
3291
- if (Date.now() < Ve.current)
3282
+ L(() => {
3283
+ if (Ae) return;
3284
+ let x = null;
3285
+ const M = requestAnimationFrame(() => {
3286
+ const X = $t.current;
3287
+ if (!X) return;
3288
+ const ke = re;
3289
+ x = new IntersectionObserver(
3290
+ (Ze) => {
3291
+ if (Date.now() < ze.current)
3292
3292
  return;
3293
- const oe = Je.filter((Q) => Q.isIntersecting).map((Q) => {
3294
- const Ae = Ie.find(
3295
- (ya) => et[ya].current === Q.target
3293
+ const oe = Ze.filter((Q) => Q.isIntersecting).map((Q) => {
3294
+ const Be = ke.find(
3295
+ (ba) => at[ba].current === Q.target
3296
3296
  );
3297
- return Ae ? {
3298
- tab: Ae,
3297
+ return Be ? {
3298
+ tab: Be,
3299
3299
  ratio: Q.intersectionRatio,
3300
3300
  topDistance: Math.abs(Q.boundingClientRect.top)
3301
3301
  } : null;
3302
3302
  }).filter(
3303
3303
  (Q) => !!Q
3304
- ).sort((Q, Ae) => Ae.ratio !== Q.ratio ? Ae.ratio - Q.ratio : Q.topDistance - Ae.topDistance)[0];
3304
+ ).sort((Q, Be) => Be.ratio !== Q.ratio ? Be.ratio - Q.ratio : Q.topDistance - Be.topDistance)[0];
3305
3305
  oe && ge(oe.tab);
3306
3306
  },
3307
3307
  {
3308
- root: re,
3308
+ root: X,
3309
3309
  rootMargin: "-8% 0px -52% 0px",
3310
3310
  threshold: [0, 0.2, 0.4, 0.6, 0.8, 1]
3311
3311
  }
3312
- ), Ie.forEach((Je) => {
3313
- const it = et[Je].current;
3314
- it && y?.observe(it);
3312
+ ), ke.forEach((Ze) => {
3313
+ const lt = at[Ze].current;
3314
+ lt && x?.observe(lt);
3315
3315
  });
3316
3316
  });
3317
3317
  return () => {
3318
- cancelAnimationFrame(O), y?.disconnect();
3318
+ cancelAnimationFrame(M), x?.disconnect();
3319
3319
  };
3320
- }, [De, Z]);
3321
- const en = (y) => {
3322
- Ve.current = Date.now() + 900, ge(y), setTimeout(() => {
3323
- et[y].current?.scrollIntoView({
3320
+ }, [Ae, re]);
3321
+ const ma = (x) => {
3322
+ ze.current = Date.now() + 900, ge(x), setTimeout(() => {
3323
+ at[x].current?.scrollIntoView({
3324
3324
  behavior: "smooth",
3325
3325
  block: "start"
3326
3326
  });
3327
3327
  }, 50);
3328
3328
  }, kn = () => {
3329
3329
  K && ge("chat");
3330
- }, Te = () => {
3331
- Y?.({ inputValue: void 0 });
3330
+ }, De = () => {
3331
+ z?.({ inputValue: void 0 });
3332
3332
  }, Tn = A(!1);
3333
- D(() => {
3334
- l && X === "LIVE" && !Tn.current && (Tn.current = !0, ge("chat"));
3335
- }, [l, X]), D(() => {
3336
- se !== "chat" && !Z.includes(se) && ge("streaks");
3337
- }, [se, Z]), D(() => {
3338
- xe !== "chat" && !Z.includes(xe) && Be("streaks");
3339
- }, [xe, Z]), D(() => {
3340
- !K && se === "chat" && ge("streaks"), !K && xe === "chat" && Be("streaks");
3341
- }, [K, se, xe]), D(() => {
3342
- if (De) return;
3343
- const y = ke.current;
3344
- if (!y) return;
3345
- const O = Z, re = new IntersectionObserver(
3346
- (Ie) => {
3347
- if (Date.now() < Ve.current)
3333
+ L(() => {
3334
+ l && G === "LIVE" && !Tn.current && (Tn.current = !0, ge("chat"));
3335
+ }, [l, G]), L(() => {
3336
+ se !== "chat" && !re.includes(se) && ge("streaks");
3337
+ }, [se, re]), L(() => {
3338
+ xe !== "chat" && !re.includes(xe) && Me("streaks");
3339
+ }, [xe, re]), L(() => {
3340
+ !K && se === "chat" && ge("streaks"), !K && xe === "chat" && Me("streaks");
3341
+ }, [K, se, xe]), L(() => {
3342
+ if (Ae) return;
3343
+ const x = Ee.current;
3344
+ if (!x) return;
3345
+ const M = re, X = new IntersectionObserver(
3346
+ (ke) => {
3347
+ if (Date.now() < ze.current)
3348
3348
  return;
3349
- const it = Ie.filter((oe) => oe.isIntersecting).map((oe) => {
3350
- const Q = O.find(
3351
- (Ae) => ft[Ae].current === oe.target
3349
+ const lt = ke.filter((oe) => oe.isIntersecting).map((oe) => {
3350
+ const Q = M.find(
3351
+ (Be) => _t[Be].current === oe.target
3352
3352
  );
3353
3353
  return Q ? {
3354
3354
  tab: Q,
@@ -3358,204 +3358,219 @@ If you feel like trying something like this, join here:
3358
3358
  }).filter(
3359
3359
  (oe) => !!oe
3360
3360
  ).sort((oe, Q) => Q.ratio !== oe.ratio ? Q.ratio - oe.ratio : oe.topDistance - Q.topDistance)[0];
3361
- it && ge(it.tab);
3361
+ lt && ge(lt.tab);
3362
3362
  },
3363
3363
  {
3364
- root: y,
3364
+ root: x,
3365
3365
  rootMargin: "-8% 0px -52% 0px",
3366
3366
  threshold: [0, 0.2, 0.4, 0.6, 0.8, 1]
3367
3367
  }
3368
3368
  );
3369
- return O.forEach((Ie) => {
3370
- const Je = ft[Ie].current;
3371
- Je && re.observe(Je);
3372
- }), () => re.disconnect();
3369
+ return M.forEach((ke) => {
3370
+ const Ze = _t[ke].current;
3371
+ Ze && X.observe(Ze);
3372
+ }), () => X.disconnect();
3373
3373
  }, [
3374
- De,
3374
+ Ae,
3375
3375
  me,
3376
3376
  _e,
3377
- Z
3377
+ re
3378
3378
  ]);
3379
- const Nn = (y) => {
3380
- Ve.current = Date.now() + 900, ge(y), Be(y), Lt(y);
3381
- }, ma = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", _a = Qn($t) || Qn(r) || "www.srimandir.com", ue = t || Qt, ga = ue ? `https://www.youtube.com/watch?v=${ue}` : "", En = ba(), tn = `yt-live-status-probe-${En.replace(/:/g, "")}`, nn = `yt-main-player-${En.replace(/:/g, "")}`, st = ll(
3382
- d ? "" : ue,
3379
+ const Nn = (x) => {
3380
+ ze.current = Date.now() + 900, ge(x), Me(x), At(x);
3381
+ }, _a = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", ga = Qn(Qt) || Qn(r) || "www.srimandir.com", ue = t || Ht, xa = ue ? `https://www.youtube.com/watch?v=${ue}` : "", En = ja(), tn = `yt-live-status-probe-${En.replace(/:/g, "")}`, nn = `yt-main-player-${En.replace(/:/g, "")}`, ot = cl(
3382
+ m ? "" : ue,
3383
3383
  tn
3384
3384
  );
3385
- D(() => {
3386
- Re(null);
3387
- }, [ue]), D(() => {
3388
- if (st === "LOADING")
3385
+ L(() => {
3386
+ Ie(null);
3387
+ }, [ue]), L(() => {
3388
+ if (ot === "LOADING")
3389
3389
  return;
3390
- if (st === "LIVE") {
3391
- Re("LIVE");
3390
+ if (ot === "LIVE") {
3391
+ Ie("LIVE");
3392
3392
  return;
3393
3393
  }
3394
- const y = window.setTimeout(() => {
3395
- Re((O) => O === "LIVE" ? O : st);
3396
- }, Zi);
3397
- return () => window.clearTimeout(y);
3398
- }, [st]), ul({
3399
- enabled: U,
3394
+ const x = window.setTimeout(() => {
3395
+ Ie((M) => M === "LIVE" ? M : ot);
3396
+ }, Qi);
3397
+ return () => window.clearTimeout(x);
3398
+ }, [ot]), pl({
3399
+ enabled: B,
3400
3400
  isLoggedIn: l,
3401
- stableStreamStatus: X,
3402
- youtubeWatchUrl: ga
3401
+ stableStreamStatus: G,
3402
+ youtubeWatchUrl: xa
3403
3403
  });
3404
- const Wt = X === "UPCOMING" || X === "ENDED", { isResolvingStreamStatus: ye } = dl({
3404
+ const Vt = G === "UPCOMING" || G === "ENDED", { isResolvingStreamStatus: we } = ul({
3405
3405
  isLoggedIn: l,
3406
- stableStreamStatus: X,
3407
- streamStatus: st
3408
- }), Rn = !l || X !== null, an = X === null ? void 0 : X === "LIVE" ? "Live" : "Playback", Dn = st === "LIVE" || X === "LIVE" ? "Live" : "Playback", Ye = ml(te?.days || []), rn = fe?.status || (qe ? "active" : "inactive"), sn = fe?.amount ?? fe?.upfront_amount ?? Ot?.effective_amount ?? Ot?.subscription_amount ?? 0, on = fe?.total_count ?? 0, Ln = fe?.paid_count ?? 0, Ge = Number(te?.attendance_start_at), ln = te?.last_streak_count ?? Ye.lastStreakCount ?? 0, cn = te?.total_attendance_days ?? Ye.totalDaysAttended ?? 0, bt = Number.isFinite(Ge), Pn = bt ? new Date(Ge + 7 * Gt).toISOString() : void 0, In = !Ut && bt, { trackLastSectionVisible: An } = hl({
3406
+ stableStreamStatus: G,
3407
+ streamStatus: ot
3408
+ }), Rn = !l || G !== null, an = G === null ? void 0 : G === "LIVE" ? "Live" : "Playback", Dn = ot === "LIVE" || G === "LIVE" ? "Live" : "Playback", Ke = _l(te?.days || []), rn = fe?.status || (Ye ? "active" : "inactive"), sn = fe?.amount ?? fe?.upfront_amount ?? Ut?.effective_amount ?? Ut?.subscription_amount ?? 0, on = fe?.total_count ?? 0, Ln = fe?.paid_count ?? 0, Xe = Number(te?.attendance_start_at), ln = te?.last_streak_count ?? Ke.lastStreakCount ?? 0, cn = te?.total_attendance_days ?? Ke.totalDaysAttended ?? 0, wt = Number.isFinite(Xe), Pn = wt ? new Date(Xe + 7 * Rt).toISOString() : void 0, In = !a && wt, { trackLastSectionVisible: An } = fl({
3409
3409
  enabled: !!l,
3410
3410
  shouldShowSubscription: H,
3411
- showBlockerOnlySubscription: d,
3412
- attendanceStartAt: Ge,
3413
- currentStreakCount: te?.current_streak_count ?? Ye.currentStreakCount,
3411
+ showBlockerOnlySubscription: m,
3412
+ attendanceStartAt: Xe,
3413
+ currentStreakCount: te?.current_streak_count ?? Ke.currentStreakCount,
3414
3414
  subscriptionStatus: rn,
3415
3415
  dlpStatus: an ?? Dn,
3416
3416
  amount: sn,
3417
3417
  subscriptionCount: on,
3418
3418
  totalDaysAttended: cn,
3419
3419
  lastStreakCount: ln,
3420
- onExitAnalytics: Dt
3420
+ onExitAnalytics: It
3421
3421
  });
3422
- D(() => {
3423
- l && An(It(se));
3424
- }, [se, l, An]), D(() => {
3425
- l && !In || Rn && ht?.({
3422
+ L(() => {
3423
+ l && An(Bt(se));
3424
+ }, [se, l, An]), L(() => {
3425
+ l && !In || Rn && mt?.({
3426
3426
  subscription_status: rn,
3427
3427
  subscription_amount: sn,
3428
3428
  subscription_count: on,
3429
- store_id: G,
3429
+ store_id: Y,
3430
3430
  screen_name: "Daily Live Puja",
3431
3431
  source: "daily_live_puja",
3432
- attendance_start_at: Ge,
3433
- current_streak_count: te?.current_streak_count ?? Ye.currentStreakCount ?? 0,
3432
+ attendance_start_at: Xe,
3433
+ current_streak_count: te?.current_streak_count ?? Ke.currentStreakCount ?? 0,
3434
3434
  last_streak_count: ln,
3435
- days_since_last_streak_ended: Ye.daysSinceLastStreakEnded ?? 0,
3435
+ days_since_last_streak_ended: Ke.daysSinceLastStreakEnded ?? 0,
3436
3436
  total_days_attended: cn,
3437
3437
  video_orientation: _e ? "landscape" : "portrait",
3438
3438
  service_name: "sm_dlp_premium",
3439
3439
  successful_subscription_order: Ln,
3440
3440
  "Trial End Date": Pn,
3441
- count_of_offering_sku: je?.length,
3441
+ count_of_offering_sku: Ce?.length,
3442
3442
  dlp_status: an
3443
3443
  });
3444
3444
  }, [
3445
- ht,
3445
+ mt,
3446
3446
  te?.attendance_start_at,
3447
3447
  te?.current_streak_count,
3448
3448
  te?.last_streak_count,
3449
3449
  te?.total_attendance_days,
3450
- Ye.currentStreakCount,
3451
- Ye.daysSinceLastStreakEnded,
3450
+ Ke.currentStreakCount,
3451
+ Ke.daysSinceLastStreakEnded,
3452
3452
  ln,
3453
3453
  cn,
3454
3454
  _e,
3455
- je?.length,
3455
+ Ce?.length,
3456
3456
  sn,
3457
3457
  on,
3458
3458
  rn,
3459
3459
  Ln,
3460
- Ge,
3460
+ Xe,
3461
3461
  l,
3462
- bt,
3462
+ wt,
3463
3463
  In,
3464
3464
  Rn,
3465
- Ut,
3466
- G,
3465
+ a,
3466
+ Y,
3467
3467
  Pn,
3468
3468
  an
3469
3469
  ]);
3470
- const dn = `https://www.youtube.com/embed/${ue}?autoplay=0&mute=0&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&enablejsapi=1&origin=${encodeURIComponent(ma)}`, xa = "https://srm-cdn.a4b.io/yoda/1776927720907.mp4", un = `https://www.youtube.com/live_chat?v=${ue}&embed_domain=${encodeURIComponent(
3471
- _a
3472
- )}`, va = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
3473
- D(() => {
3474
- const y = () => {
3475
- xt(window.innerWidth > window.innerHeight);
3470
+ const dn = `https://www.youtube.com/embed/${ue}?autoplay=0&mute=0&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&enablejsapi=1&origin=${encodeURIComponent(_a)}`, va = "https://srm-cdn.a4b.io/yoda/1776927720907.mp4", un = `https://www.youtube.com/live_chat?v=${ue}&embed_domain=${encodeURIComponent(
3471
+ ga
3472
+ )}`, ya = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
3473
+ L(() => {
3474
+ const x = () => {
3475
+ yt(window.innerWidth > window.innerHeight);
3476
3476
  };
3477
- return y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
3478
- }, []), D(() => {
3479
- typeof window < "u" && Zt(window.location.hostname);
3480
- }, []), D(() => {
3481
- if (!l || typeof window > "u") {
3482
- rt(!1);
3477
+ return x(), window.addEventListener("resize", x), () => window.removeEventListener("resize", x);
3478
+ }, []), L(() => {
3479
+ typeof window < "u" && en(window.location.hostname);
3480
+ }, []), L(() => {
3481
+ if (ye.current && (window.clearTimeout(ye.current), ye.current = null), !l || typeof window > "u") {
3482
+ Fe(!1);
3483
3483
  return;
3484
3484
  }
3485
- const y = Date.now() - Ge, O = bt && Number.isFinite(y) && y >= 0;
3486
- rt(
3487
- !!(O && y < Gt)
3488
- );
3489
- }, [l, bt, Ge]);
3485
+ if (B && G === "LIVE") {
3486
+ Fe(!1);
3487
+ return;
3488
+ }
3489
+ const x = Date.now() - Xe, X = !!(wt && Number.isFinite(x) && x >= 0 && x < Rt);
3490
+ if (Fe(X), !X)
3491
+ return;
3492
+ const ke = Math.max(0, Rt - x);
3493
+ return ye.current = window.setTimeout(() => {
3494
+ Fe(!1), ye.current = null;
3495
+ }, ke), () => {
3496
+ ye.current && (window.clearTimeout(ye.current), ye.current = null);
3497
+ };
3498
+ }, [
3499
+ l,
3500
+ wt,
3501
+ Xe,
3502
+ B,
3503
+ G
3504
+ ]);
3490
3505
  const pn = () => {
3491
- rt(!1);
3506
+ Fe(!1);
3492
3507
  }, Fn = () => {
3493
3508
  ee?.();
3494
- const re = `https://wa.me/918151810300?text=${encodeURIComponent(
3509
+ const X = `https://wa.me/918151810300?text=${encodeURIComponent(
3495
3510
  "I'm interested in LIVE Puja"
3496
3511
  )}`;
3497
- typeof window < "u" && window.open(re, "_blank", "noopener,noreferrer"), pn();
3512
+ typeof window < "u" && window.open(X, "_blank", "noopener,noreferrer"), pn();
3498
3513
  }, Bn = async () => {
3499
- const y = He.current;
3500
- if (y?.requestFullscreen && document.fullscreenElement !== y) {
3514
+ const x = qe.current;
3515
+ if (x?.requestFullscreen && document.fullscreenElement !== x) {
3501
3516
  try {
3502
- await y.requestFullscreen();
3503
- } catch (O) {
3504
- console.error("Fullscreen error:", O);
3517
+ await x.requestFullscreen();
3518
+ } catch (M) {
3519
+ console.error("Fullscreen error:", M);
3505
3520
  return;
3506
3521
  }
3507
3522
  try {
3508
- const O = screen.orientation, re = window.innerWidth > window.innerHeight;
3509
- !va && !re && O?.lock && await O.lock("landscape");
3510
- } catch (O) {
3511
- console.error("Orientation lock error:", O);
3523
+ const M = screen.orientation, X = window.innerWidth > window.innerHeight;
3524
+ !ya && !X && M?.lock && await M.lock("landscape");
3525
+ } catch (M) {
3526
+ console.error("Orientation lock error:", M);
3512
3527
  }
3513
3528
  }
3514
3529
  }, hn = async () => {
3515
3530
  if (!(!document.fullscreenElement || !document.exitFullscreen)) {
3516
3531
  try {
3517
3532
  await document.exitFullscreen();
3518
- } catch (y) {
3519
- console.error("Exit fullscreen error:", y);
3533
+ } catch (x) {
3534
+ console.error("Exit fullscreen error:", x);
3520
3535
  }
3521
3536
  try {
3522
- const y = screen.orientation;
3523
- y?.unlock && y.unlock();
3524
- } catch (y) {
3525
- console.error("Orientation unlock error:", y);
3537
+ const x = screen.orientation;
3538
+ x?.unlock && x.unlock();
3539
+ } catch (x) {
3540
+ console.error("Orientation unlock error:", x);
3526
3541
  }
3527
3542
  }
3528
3543
  };
3529
- D(() => {
3530
- const y = () => {
3531
- const O = !!document.fullscreenElement;
3532
- Xt(O), O || tt(!1);
3544
+ L(() => {
3545
+ const x = () => {
3546
+ const M = !!document.fullscreenElement;
3547
+ Zt(M), M || rt(!1);
3533
3548
  };
3534
- return document.addEventListener("fullscreenchange", y), () => document.removeEventListener("fullscreenchange", y);
3535
- }, []), D(() => {
3536
- me && gt(!0);
3537
- }, [me]), D(() => {
3538
- me && Be("chat");
3549
+ return document.addEventListener("fullscreenchange", x), () => document.removeEventListener("fullscreenchange", x);
3550
+ }, []), L(() => {
3551
+ me && vt(!0);
3552
+ }, [me]), L(() => {
3553
+ me && Me("chat");
3539
3554
  }, [me]);
3540
- const Ht = async (y) => {
3541
- ie && document.fullscreenElement && await hn(), c && await c(y);
3542
- }, Vt = (y) => {
3543
- const O = y?.card || be, re = O.deeplink || "/epuja", Ie = new URL(re, "https://www.srimandir.com");
3555
+ const qt = async (x) => {
3556
+ ie && document.fullscreenElement && await hn(), c && await c(x);
3557
+ }, zt = (x) => {
3558
+ const M = x?.card || Se, X = M.deeplink || "/epuja", ke = new URL(X, "https://www.srimandir.com");
3544
3559
  typeof window < "u" && (o?.({
3545
3560
  orientation: _e ? "horizontal" : "vertical",
3546
3561
  amount: void 0,
3547
- skuName: O?.title,
3562
+ skuName: M?.title,
3548
3563
  featureServiceType: "Puja",
3549
- countOfOfferingSku: je.length || void 0,
3550
- elementPosition: y?.elementPosition
3551
- }), window.location.href = Ie.toString());
3564
+ countOfOfferingSku: Ce.length || void 0,
3565
+ elementPosition: x?.elementPosition
3566
+ }), window.location.href = ke.toString());
3552
3567
  };
3553
- if (d) {
3554
- const y = ue ? `https://img.youtube.com/vi/${ue}/hqdefault.jpg` : be.imageUrl || Ne.imageUrl;
3568
+ if (m) {
3569
+ const x = ue ? `https://img.youtube.com/vi/${ue}/hqdefault.jpg` : Se.imageUrl || Le.imageUrl;
3555
3570
  return /* @__PURE__ */ e.jsxs(
3556
3571
  "div",
3557
3572
  {
3558
- ref: He,
3573
+ ref: qe,
3559
3574
  className: f.container,
3560
3575
  style: {
3561
3576
  background: "#000",
@@ -3574,9 +3589,9 @@ If you feel like trying something like this, join here:
3574
3589
  wn,
3575
3590
  {
3576
3591
  isLive: !1,
3577
- daysRemaining: z,
3592
+ daysRemaining: W,
3578
3593
  isLoggedIn: l,
3579
- isSubscribed: qe
3594
+ isSubscribed: Ye
3580
3595
  }
3581
3596
  ),
3582
3597
  /* @__PURE__ */ e.jsx(Hn, {}),
@@ -3593,7 +3608,7 @@ If you feel like trying something like this, join here:
3593
3608
  children: /* @__PURE__ */ e.jsx(
3594
3609
  "img",
3595
3610
  {
3596
- src: y,
3611
+ src: x,
3597
3612
  alt: "Live Puja preview",
3598
3613
  className: "w-full h-full object-cover",
3599
3614
  loading: "lazy"
@@ -3601,15 +3616,15 @@ If you feel like trying something like this, join here:
3601
3616
  )
3602
3617
  }
3603
3618
  ),
3604
- ye ? /* @__PURE__ */ e.jsx(kt, {}) : /* @__PURE__ */ e.jsx(
3605
- Tt,
3619
+ we ? /* @__PURE__ */ e.jsx(Nt, {}) : /* @__PURE__ */ e.jsx(
3620
+ Et,
3606
3621
  {
3607
3622
  isGlobal: s,
3608
3623
  isLandscape: !1,
3609
3624
  videoId: ue,
3610
- offeringCards: je,
3611
- pujaCard: be,
3612
- pujaCards: Le,
3625
+ offeringCards: Ce,
3626
+ pujaCard: Se,
3627
+ pujaCards: Je,
3613
3628
  showPujaSlide: !1,
3614
3629
  onOfferingClick: void 0,
3615
3630
  onPujaBannerClick: void 0,
@@ -3636,13 +3651,13 @@ If you feel like trying something like this, join here:
3636
3651
  className: "absolute left-0 right-0 bottom-0 z-20",
3637
3652
  style: { paddingBottom: "env(safe-area-inset-bottom, 0px)" },
3638
3653
  children: /* @__PURE__ */ e.jsx(
3639
- zt,
3654
+ Gt,
3640
3655
  {
3641
- onSubscribe: (O) => v?.(O, { bannerType: "blocker" }),
3642
- storeId: G,
3656
+ onSubscribe: (M) => y?.(M, { bannerType: "blocker" }),
3657
+ storeId: Y,
3643
3658
  inventoryId: ae,
3644
3659
  onboardingType: he,
3645
- apiBaseInstance: _?.apiInstance,
3660
+ apiBaseInstance: g?.apiInstance,
3646
3661
  bannerType: "blocker",
3647
3662
  extraBottomPaddingPx: 10
3648
3663
  }
@@ -3652,7 +3667,7 @@ If you feel like trying something like this, join here:
3652
3667
  /* @__PURE__ */ e.jsx(
3653
3668
  zn,
3654
3669
  {
3655
- open: Mt,
3670
+ open: Wt,
3656
3671
  onClose: pn,
3657
3672
  onVerifyWhatsapp: Fn
3658
3673
  }
@@ -3661,14 +3676,14 @@ If you feel like trying something like this, join here:
3661
3676
  }
3662
3677
  );
3663
3678
  }
3664
- return l ? /* @__PURE__ */ e.jsxs("div", { ref: He, className: f.container, children: [
3679
+ return l ? /* @__PURE__ */ e.jsxs("div", { ref: qe, className: f.container, children: [
3665
3680
  /* @__PURE__ */ e.jsx("div", { style: { display: ie ? "none" : "block" }, children: /* @__PURE__ */ e.jsx(
3666
3681
  wn,
3667
3682
  {
3668
- isLive: X === "LIVE",
3669
- daysRemaining: z,
3683
+ isLive: G === "LIVE",
3684
+ daysRemaining: W,
3670
3685
  isLoggedIn: l,
3671
- isSubscribed: qe,
3686
+ isSubscribed: Ye,
3672
3687
  onJoinClick: F || T
3673
3688
  }
3674
3689
  ) }),
@@ -3716,18 +3731,18 @@ If you feel like trying something like this, join here:
3716
3731
  }
3717
3732
  )
3718
3733
  ] }),
3719
- ye ? /* @__PURE__ */ e.jsx(kt, {}) : /* @__PURE__ */ e.jsx(
3720
- Tt,
3734
+ we ? /* @__PURE__ */ e.jsx(Nt, {}) : /* @__PURE__ */ e.jsx(
3735
+ Et,
3721
3736
  {
3722
3737
  isGlobal: s,
3723
3738
  isLandscape: _e,
3724
3739
  videoId: ue,
3725
- offeringCards: je,
3726
- pujaCard: be,
3727
- pujaCards: Le,
3728
- showPujaSlide: Wt,
3729
- onOfferingClick: Ht,
3730
- onPujaBannerClick: Vt,
3740
+ offeringCards: Ce,
3741
+ pujaCard: Se,
3742
+ pujaCards: Je,
3743
+ showPujaSlide: Vt,
3744
+ onOfferingClick: qt,
3745
+ onPujaBannerClick: zt,
3731
3746
  onPujaImpression: u,
3732
3747
  onSwipe: de
3733
3748
  }
@@ -3739,7 +3754,7 @@ If you feel like trying something like this, join here:
3739
3754
  "button",
3740
3755
  {
3741
3756
  className: f.fullscreenChatCloseBtn,
3742
- onClick: () => tt(!1),
3757
+ onClick: () => rt(!1),
3743
3758
  "aria-label": "Close panel",
3744
3759
  children: /* @__PURE__ */ e.jsxs(
3745
3760
  "svg",
@@ -3758,22 +3773,22 @@ If you feel like trying something like this, join here:
3758
3773
  )
3759
3774
  }
3760
3775
  ),
3761
- ye ? /* @__PURE__ */ e.jsx(jn, { tabCount: Z.length }) : /* @__PURE__ */ e.jsx(
3776
+ we ? /* @__PURE__ */ e.jsx(jn, { tabCount: re.length }) : /* @__PURE__ */ e.jsx(
3762
3777
  fn,
3763
3778
  {
3764
3779
  activeTab: xe === "chat" ? "streaks" : xe,
3765
3780
  onTabChange: Nn,
3766
3781
  onChatPress: () => {
3767
- K && Be("chat");
3782
+ K && Me("chat");
3768
3783
  },
3769
- showSubscription: ne,
3770
- visibleTabs: Z,
3771
- isLive: X === "LIVE",
3784
+ showSubscription: be,
3785
+ visibleTabs: re,
3786
+ isLive: G === "LIVE",
3772
3787
  chatOpen: xe === "chat" && K
3773
3788
  }
3774
3789
  )
3775
3790
  ] }),
3776
- ye ? /* @__PURE__ */ e.jsx(ta, { compact: !0 }) : xe === "chat" && K ? /* @__PURE__ */ e.jsxs(
3791
+ we ? /* @__PURE__ */ e.jsx(ta, { compact: !0 }) : xe === "chat" && K ? /* @__PURE__ */ e.jsxs(
3777
3792
  "div",
3778
3793
  {
3779
3794
  style: {
@@ -3782,21 +3797,21 @@ If you feel like trying something like this, join here:
3782
3797
  position: "relative",
3783
3798
  background: "#000"
3784
3799
  },
3785
- onPointerDown: Te,
3786
- onTouchStart: Te,
3800
+ onPointerDown: De,
3801
+ onTouchStart: De,
3787
3802
  children: [
3788
- at && /* @__PURE__ */ e.jsx(Nt, { message: "Loading chat...", compact: !0 }),
3803
+ it && /* @__PURE__ */ e.jsx(Dt, { message: "Loading chat...", compact: !0 }),
3789
3804
  /* @__PURE__ */ e.jsx(
3790
3805
  "iframe",
3791
3806
  {
3792
3807
  src: un,
3793
3808
  title: "Live Chat Fullscreen",
3794
3809
  frameBorder: "0",
3795
- onLoad: () => gt(!1),
3796
- onFocus: Te,
3810
+ onLoad: () => vt(!1),
3811
+ onFocus: De,
3797
3812
  referrerPolicy: "origin",
3798
3813
  className: f.iframe,
3799
- style: { opacity: at ? 0 : 1 }
3814
+ style: { opacity: it ? 0 : 1 }
3800
3815
  }
3801
3816
  )
3802
3817
  ]
@@ -3804,20 +3819,20 @@ If you feel like trying something like this, join here:
3804
3819
  ) : /* @__PURE__ */ e.jsxs(
3805
3820
  "div",
3806
3821
  {
3807
- ref: ke,
3822
+ ref: Ee,
3808
3823
  className: f.fullscreenPanelScroll,
3809
3824
  children: [
3810
- /* @__PURE__ */ e.jsxs("div", { ref: Oe, children: [
3825
+ /* @__PURE__ */ e.jsxs("div", { ref: $e, children: [
3811
3826
  /* @__PURE__ */ e.jsx(
3812
3827
  _n,
3813
3828
  {
3814
- attendedDays: B,
3815
- currentDay: I,
3816
- totalDays: R,
3817
- isInactive: !C
3829
+ attendedDays: U,
3830
+ currentDay: R,
3831
+ totalDays: E,
3832
+ isInactive: !I
3818
3833
  }
3819
3834
  ),
3820
- H && /* @__PURE__ */ e.jsxs("div", { ref: Ce, children: [
3835
+ H && /* @__PURE__ */ e.jsxs("div", { ref: Ne, children: [
3821
3836
  /* @__PURE__ */ e.jsx(
3822
3837
  gn,
3823
3838
  {
@@ -3825,13 +3840,13 @@ If you feel like trying something like this, join here:
3825
3840
  }
3826
3841
  ),
3827
3842
  /* @__PURE__ */ e.jsx(
3828
- zt,
3843
+ Gt,
3829
3844
  {
3830
- onSubscribe: v,
3831
- storeId: G,
3845
+ onSubscribe: y,
3846
+ storeId: Y,
3832
3847
  inventoryId: ae,
3833
3848
  onboardingType: he,
3834
- apiBaseInstance: _?.apiInstance
3849
+ apiBaseInstance: g?.apiInstance
3835
3850
  }
3836
3851
  )
3837
3852
  ] })
@@ -3849,8 +3864,8 @@ If you feel like trying something like this, join here:
3849
3864
  }
3850
3865
  ),
3851
3866
  /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3852
- /* @__PURE__ */ e.jsx("div", { ref: Me, children: /* @__PURE__ */ e.jsx(xn, { onShare: b, shareUserId: E }) }),
3853
- (q || W) && /* @__PURE__ */ e.jsx(
3867
+ /* @__PURE__ */ e.jsx("div", { ref: Ue, children: /* @__PURE__ */ e.jsx(xn, { onShare: b, shareUserId: D }) }),
3868
+ (je || q) && /* @__PURE__ */ e.jsx(
3854
3869
  "div",
3855
3870
  {
3856
3871
  style: {
@@ -3863,20 +3878,20 @@ If you feel like trying something like this, join here:
3863
3878
  }
3864
3879
  )
3865
3880
  ] }),
3866
- q && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3867
- /* @__PURE__ */ e.jsx("div", { ref: Ee, children: /* @__PURE__ */ e.jsx(
3881
+ je && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3882
+ /* @__PURE__ */ e.jsx("div", { ref: Pe, children: /* @__PURE__ */ e.jsx(
3868
3883
  vn,
3869
3884
  {
3870
3885
  onCardClick: h,
3871
- onSwipe: m,
3872
- a4bApi: _,
3873
- storeCardsPage: k,
3886
+ onSwipe: _,
3887
+ a4bApi: g,
3888
+ storeCardsPage: C,
3874
3889
  storeCardsHeaders: j,
3875
3890
  storeCardsLimit: S,
3876
- onCardsResolved: yt
3891
+ onCardsResolved: jt
3877
3892
  }
3878
3893
  ) }),
3879
- W && /* @__PURE__ */ e.jsx(
3894
+ q && /* @__PURE__ */ e.jsx(
3880
3895
  "div",
3881
3896
  {
3882
3897
  style: {
@@ -3889,14 +3904,14 @@ If you feel like trying something like this, join here:
3889
3904
  }
3890
3905
  )
3891
3906
  ] }),
3892
- W && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx("div", { ref: Ce, children: /* @__PURE__ */ e.jsx(
3907
+ q && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx("div", { ref: Ne, children: /* @__PURE__ */ e.jsx(
3893
3908
  yn,
3894
3909
  {
3895
3910
  subscription: fe,
3896
- storeId: G,
3911
+ storeId: Y,
3897
3912
  inventoryId: ae,
3898
3913
  onboardingType: he,
3899
- apiBaseInstance: _?.apiInstance
3914
+ apiBaseInstance: g?.apiInstance
3900
3915
  }
3901
3916
  ) }) })
3902
3917
  ]
@@ -3967,7 +3982,7 @@ If you feel like trying something like this, join here:
3967
3982
  "button",
3968
3983
  {
3969
3984
  onClick: () => {
3970
- J?.(), tt(!0);
3985
+ J?.(), rt(!0);
3971
3986
  },
3972
3987
  style: {
3973
3988
  width: 48,
@@ -4031,18 +4046,18 @@ If you feel like trying something like this, join here:
4031
4046
  }
4032
4047
  ),
4033
4048
  " ",
4034
- ie && !me && (ye ? /* @__PURE__ */ e.jsx(kt, {}) : /* @__PURE__ */ e.jsx(
4035
- Tt,
4049
+ ie && !me && (we ? /* @__PURE__ */ e.jsx(Nt, {}) : /* @__PURE__ */ e.jsx(
4050
+ Et,
4036
4051
  {
4037
4052
  isGlobal: s,
4038
4053
  isLandscape: _e,
4039
4054
  videoId: ue,
4040
- offeringCards: je,
4041
- pujaCard: be,
4042
- pujaCards: Le,
4043
- showPujaSlide: Wt,
4044
- onOfferingClick: Ht,
4045
- onPujaBannerClick: Vt,
4055
+ offeringCards: Ce,
4056
+ pujaCard: Se,
4057
+ pujaCards: Je,
4058
+ showPujaSlide: Vt,
4059
+ onOfferingClick: qt,
4060
+ onPujaBannerClick: zt,
4046
4061
  onPujaImpression: u,
4047
4062
  onSwipe: de
4048
4063
  }
@@ -4072,18 +4087,18 @@ If you feel like trying something like this, join here:
4072
4087
  }
4073
4088
  )
4074
4089
  ] }),
4075
- ye ? /* @__PURE__ */ e.jsx(kt, {}) : /* @__PURE__ */ e.jsx(
4076
- Tt,
4090
+ we ? /* @__PURE__ */ e.jsx(Nt, {}) : /* @__PURE__ */ e.jsx(
4091
+ Et,
4077
4092
  {
4078
4093
  isGlobal: s,
4079
4094
  isLandscape: _e,
4080
4095
  videoId: ue,
4081
- offeringCards: je,
4082
- pujaCard: be,
4083
- pujaCards: Le,
4084
- showPujaSlide: Wt,
4085
- onOfferingClick: Ht,
4086
- onPujaBannerClick: Vt,
4096
+ offeringCards: Ce,
4097
+ pujaCard: Se,
4098
+ pujaCards: Je,
4099
+ showPujaSlide: Vt,
4100
+ onOfferingClick: qt,
4101
+ onPujaBannerClick: zt,
4087
4102
  onPujaImpression: u,
4088
4103
  onSwipe: de
4089
4104
  }
@@ -4096,7 +4111,7 @@ If you feel like trying something like this, join here:
4096
4111
  {
4097
4112
  type: "button",
4098
4113
  className: f.landscapeCloseBtn,
4099
- onClick: () => xt(!1),
4114
+ onClick: () => yt(!1),
4100
4115
  "aria-label": "Close panel",
4101
4116
  children: /* @__PURE__ */ e.jsxs(
4102
4117
  "svg",
@@ -4117,35 +4132,35 @@ If you feel like trying something like this, join here:
4117
4132
  )
4118
4133
  }
4119
4134
  ),
4120
- ye ? /* @__PURE__ */ e.jsx(jn, { tabCount: Z.length }) : /* @__PURE__ */ e.jsx(
4135
+ we ? /* @__PURE__ */ e.jsx(jn, { tabCount: re.length }) : /* @__PURE__ */ e.jsx(
4121
4136
  fn,
4122
4137
  {
4123
- activeTab: Ue,
4138
+ activeTab: He,
4124
4139
  onTabChange: Nn,
4125
4140
  onChatPress: kn,
4126
- showSubscription: ne,
4127
- visibleTabs: Z,
4128
- isLive: X === "LIVE",
4129
- chatOpen: $e && K
4141
+ showSubscription: be,
4142
+ visibleTabs: re,
4143
+ isLive: G === "LIVE",
4144
+ chatOpen: We && K
4130
4145
  }
4131
4146
  )
4132
4147
  ] }),
4133
- /* @__PURE__ */ e.jsx("div", { className: f.landscapePanelBody, children: ye ? /* @__PURE__ */ e.jsx(ta, { compact: !0 }) : $e && K ? /* @__PURE__ */ e.jsxs(
4148
+ /* @__PURE__ */ e.jsx("div", { className: f.landscapePanelBody, children: we ? /* @__PURE__ */ e.jsx(ta, { compact: !0 }) : We && K ? /* @__PURE__ */ e.jsxs(
4134
4149
  "div",
4135
4150
  {
4136
4151
  className: f.landscapeChat,
4137
- onPointerDown: Te,
4138
- onTouchStart: Te,
4152
+ onPointerDown: De,
4153
+ onTouchStart: De,
4139
4154
  children: [
4140
- ve && /* @__PURE__ */ e.jsx(Nt, { message: "Loading chat...", compact: !0 }),
4155
+ ve && /* @__PURE__ */ e.jsx(Dt, { message: "Loading chat...", compact: !0 }),
4141
4156
  /* @__PURE__ */ e.jsx(
4142
4157
  "iframe",
4143
4158
  {
4144
4159
  src: un,
4145
4160
  title: "Live Chat",
4146
4161
  frameBorder: "0",
4147
- onLoad: () => nt(!1),
4148
- onFocus: Te,
4162
+ onLoad: () => st(!1),
4163
+ onFocus: De,
4149
4164
  referrerPolicy: "origin",
4150
4165
  className: f.iframe,
4151
4166
  style: { opacity: ve ? 0 : 1 }
@@ -4156,20 +4171,20 @@ If you feel like trying something like this, join here:
4156
4171
  ) : /* @__PURE__ */ e.jsxs(
4157
4172
  "div",
4158
4173
  {
4159
- ref: ke,
4174
+ ref: Ee,
4160
4175
  className: f.fullscreenPanelScroll,
4161
4176
  children: [
4162
- /* @__PURE__ */ e.jsxs("div", { ref: Oe, children: [
4177
+ /* @__PURE__ */ e.jsxs("div", { ref: $e, children: [
4163
4178
  /* @__PURE__ */ e.jsx(
4164
4179
  _n,
4165
4180
  {
4166
- attendedDays: B,
4167
- currentDay: I,
4168
- totalDays: R,
4169
- isInactive: !C
4181
+ attendedDays: U,
4182
+ currentDay: R,
4183
+ totalDays: E,
4184
+ isInactive: !I
4170
4185
  }
4171
4186
  ),
4172
- H && /* @__PURE__ */ e.jsxs("div", { ref: Ce, children: [
4187
+ H && /* @__PURE__ */ e.jsxs("div", { ref: Ne, children: [
4173
4188
  /* @__PURE__ */ e.jsx(
4174
4189
  gn,
4175
4190
  {
@@ -4177,13 +4192,13 @@ If you feel like trying something like this, join here:
4177
4192
  }
4178
4193
  ),
4179
4194
  /* @__PURE__ */ e.jsx(
4180
- zt,
4195
+ Gt,
4181
4196
  {
4182
- onSubscribe: (y) => v?.(y, { bannerType: "default" }),
4183
- storeId: G,
4197
+ onSubscribe: (x) => y?.(x, { bannerType: "default" }),
4198
+ storeId: Y,
4184
4199
  inventoryId: ae,
4185
4200
  onboardingType: he,
4186
- apiBaseInstance: _?.apiInstance
4201
+ apiBaseInstance: g?.apiInstance
4187
4202
  }
4188
4203
  )
4189
4204
  ] })
@@ -4201,8 +4216,8 @@ If you feel like trying something like this, join here:
4201
4216
  }
4202
4217
  ),
4203
4218
  /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4204
- /* @__PURE__ */ e.jsx("div", { ref: Me, children: /* @__PURE__ */ e.jsx(xn, { onShare: b, shareUserId: E }) }),
4205
- (q || W) && /* @__PURE__ */ e.jsx(
4219
+ /* @__PURE__ */ e.jsx("div", { ref: Ue, children: /* @__PURE__ */ e.jsx(xn, { onShare: b, shareUserId: D }) }),
4220
+ (je || q) && /* @__PURE__ */ e.jsx(
4206
4221
  "div",
4207
4222
  {
4208
4223
  style: {
@@ -4215,20 +4230,20 @@ If you feel like trying something like this, join here:
4215
4230
  }
4216
4231
  )
4217
4232
  ] }),
4218
- q && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4219
- /* @__PURE__ */ e.jsx("div", { ref: Ee, children: /* @__PURE__ */ e.jsx(
4233
+ je && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4234
+ /* @__PURE__ */ e.jsx("div", { ref: Pe, children: /* @__PURE__ */ e.jsx(
4220
4235
  vn,
4221
4236
  {
4222
4237
  onCardClick: h,
4223
- onSwipe: m,
4224
- a4bApi: _,
4225
- storeCardsPage: k,
4238
+ onSwipe: _,
4239
+ a4bApi: g,
4240
+ storeCardsPage: C,
4226
4241
  storeCardsHeaders: j,
4227
4242
  storeCardsLimit: S,
4228
- onCardsResolved: yt
4243
+ onCardsResolved: jt
4229
4244
  }
4230
4245
  ) }),
4231
- W && /* @__PURE__ */ e.jsx(
4246
+ q && /* @__PURE__ */ e.jsx(
4232
4247
  "div",
4233
4248
  {
4234
4249
  style: {
@@ -4241,14 +4256,14 @@ If you feel like trying something like this, join here:
4241
4256
  }
4242
4257
  )
4243
4258
  ] }),
4244
- W && /* @__PURE__ */ e.jsx("div", { ref: Ce, children: /* @__PURE__ */ e.jsx(
4259
+ q && /* @__PURE__ */ e.jsx("div", { ref: Ne, children: /* @__PURE__ */ e.jsx(
4245
4260
  yn,
4246
4261
  {
4247
4262
  subscription: fe,
4248
- storeId: G,
4263
+ storeId: Y,
4249
4264
  inventoryId: ae,
4250
4265
  onboardingType: he,
4251
- apiBaseInstance: _?.apiInstance
4266
+ apiBaseInstance: g?.apiInstance
4252
4267
  }
4253
4268
  ) })
4254
4269
  ]
@@ -4258,50 +4273,50 @@ If you feel like trying something like this, join here:
4258
4273
  ] }) : (
4259
4274
  /* PORTRAIT: original stacked layout */
4260
4275
  /* @__PURE__ */ e.jsx(e.Fragment, { children: l ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4261
- ye ? /* @__PURE__ */ e.jsx(kt, {}) : /* @__PURE__ */ e.jsx(
4262
- Tt,
4276
+ we ? /* @__PURE__ */ e.jsx(Nt, {}) : /* @__PURE__ */ e.jsx(
4277
+ Et,
4263
4278
  {
4264
4279
  isGlobal: s,
4265
4280
  isLandscape: _e,
4266
4281
  videoId: ue,
4267
- offeringCards: je,
4268
- pujaCard: be,
4269
- pujaCards: Le,
4270
- showPujaSlide: Wt,
4271
- onOfferingClick: Ht,
4272
- onPujaBannerClick: Vt,
4282
+ offeringCards: Ce,
4283
+ pujaCard: Se,
4284
+ pujaCards: Je,
4285
+ showPujaSlide: Vt,
4286
+ onOfferingClick: qt,
4287
+ onPujaBannerClick: zt,
4273
4288
  onPujaImpression: u,
4274
4289
  onSwipe: de
4275
4290
  }
4276
4291
  ),
4277
- /* @__PURE__ */ e.jsx("div", { className: f.stickyTabs, children: ye ? /* @__PURE__ */ e.jsx(jn, { tabCount: Z.length }) : /* @__PURE__ */ e.jsx(
4292
+ /* @__PURE__ */ e.jsx("div", { className: f.stickyTabs, children: we ? /* @__PURE__ */ e.jsx(jn, { tabCount: re.length }) : /* @__PURE__ */ e.jsx(
4278
4293
  fn,
4279
4294
  {
4280
- activeTab: Ue,
4281
- onTabChange: en,
4295
+ activeTab: He,
4296
+ onTabChange: ma,
4282
4297
  onChatPress: kn,
4283
- showSubscription: ne,
4284
- visibleTabs: Z,
4285
- isLive: X === "LIVE",
4286
- chatOpen: $e && K
4298
+ showSubscription: be,
4299
+ visibleTabs: re,
4300
+ isLive: G === "LIVE",
4301
+ chatOpen: We && K
4287
4302
  }
4288
4303
  ) }),
4289
- ye ? /* @__PURE__ */ e.jsx("div", { className: f.chat, children: /* @__PURE__ */ e.jsx(Nt, { message: "Preparing live experience..." }) }) : $e && K ? /* @__PURE__ */ e.jsxs(
4304
+ we ? /* @__PURE__ */ e.jsx("div", { className: f.chat, children: /* @__PURE__ */ e.jsx(Dt, { message: "Preparing live experience..." }) }) : We && K ? /* @__PURE__ */ e.jsxs(
4290
4305
  "div",
4291
4306
  {
4292
4307
  className: f.chat,
4293
- onPointerDown: Te,
4294
- onTouchStart: Te,
4308
+ onPointerDown: De,
4309
+ onTouchStart: De,
4295
4310
  children: [
4296
- ve && /* @__PURE__ */ e.jsx(Nt, { message: "Loading chat..." }),
4311
+ ve && /* @__PURE__ */ e.jsx(Dt, { message: "Loading chat..." }),
4297
4312
  /* @__PURE__ */ e.jsx(
4298
4313
  "iframe",
4299
4314
  {
4300
4315
  src: un,
4301
4316
  title: "Live Chat",
4302
4317
  frameBorder: "0",
4303
- onLoad: () => nt(!1),
4304
- onFocus: Te,
4318
+ onLoad: () => st(!1),
4319
+ onFocus: De,
4305
4320
  referrerPolicy: "origin",
4306
4321
  className: f.iframe,
4307
4322
  style: { opacity: ve ? 0 : 1 }
@@ -4312,20 +4327,20 @@ If you feel like trying something like this, join here:
4312
4327
  ) : /* @__PURE__ */ e.jsxs(
4313
4328
  "div",
4314
4329
  {
4315
- ref: Bt,
4316
- className: Pt ? f.sectionsFlow : f.sectionsScroll,
4330
+ ref: $t,
4331
+ className: Ft ? f.sectionsFlow : f.sectionsScroll,
4317
4332
  children: [
4318
- /* @__PURE__ */ e.jsxs("div", { ref: At, children: [
4333
+ /* @__PURE__ */ e.jsxs("div", { ref: Ot, children: [
4319
4334
  /* @__PURE__ */ e.jsx(
4320
4335
  _n,
4321
4336
  {
4322
- attendedDays: B,
4323
- currentDay: I,
4324
- totalDays: R,
4325
- isInactive: !C
4337
+ attendedDays: U,
4338
+ currentDay: R,
4339
+ totalDays: E,
4340
+ isInactive: !I
4326
4341
  }
4327
4342
  ),
4328
- H && /* @__PURE__ */ e.jsxs("div", { ref: Qe, children: [
4343
+ H && /* @__PURE__ */ e.jsxs("div", { ref: nt, children: [
4329
4344
  /* @__PURE__ */ e.jsx(
4330
4345
  gn,
4331
4346
  {
@@ -4333,13 +4348,13 @@ If you feel like trying something like this, join here:
4333
4348
  }
4334
4349
  ),
4335
4350
  /* @__PURE__ */ e.jsx(
4336
- zt,
4351
+ Gt,
4337
4352
  {
4338
- onSubscribe: v,
4339
- storeId: G,
4353
+ onSubscribe: y,
4354
+ storeId: Y,
4340
4355
  inventoryId: ae,
4341
4356
  onboardingType: he,
4342
- apiBaseInstance: _?.apiInstance
4357
+ apiBaseInstance: g?.apiInstance
4343
4358
  }
4344
4359
  )
4345
4360
  ] })
@@ -4357,8 +4372,8 @@ If you feel like trying something like this, join here:
4357
4372
  }
4358
4373
  ),
4359
4374
  /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4360
- /* @__PURE__ */ e.jsx("div", { ref: Ft, children: /* @__PURE__ */ e.jsx(xn, { onShare: b, shareUserId: E }) }),
4361
- (q || W) && /* @__PURE__ */ e.jsx(
4375
+ /* @__PURE__ */ e.jsx("div", { ref: Mt, children: /* @__PURE__ */ e.jsx(xn, { onShare: b, shareUserId: D }) }),
4376
+ (je || q) && /* @__PURE__ */ e.jsx(
4362
4377
  "div",
4363
4378
  {
4364
4379
  style: {
@@ -4371,20 +4386,20 @@ If you feel like trying something like this, join here:
4371
4386
  }
4372
4387
  )
4373
4388
  ] }),
4374
- q && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4375
- /* @__PURE__ */ e.jsx("div", { ref: mt, children: /* @__PURE__ */ e.jsx(
4389
+ je && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4390
+ /* @__PURE__ */ e.jsx("div", { ref: gt, children: /* @__PURE__ */ e.jsx(
4376
4391
  vn,
4377
4392
  {
4378
4393
  onCardClick: h,
4379
- onSwipe: m,
4380
- a4bApi: _,
4381
- storeCardsPage: k,
4394
+ onSwipe: _,
4395
+ a4bApi: g,
4396
+ storeCardsPage: C,
4382
4397
  storeCardsHeaders: j,
4383
4398
  storeCardsLimit: S,
4384
- onCardsResolved: yt
4399
+ onCardsResolved: jt
4385
4400
  }
4386
4401
  ) }),
4387
- W && /* @__PURE__ */ e.jsx(
4402
+ q && /* @__PURE__ */ e.jsx(
4388
4403
  "div",
4389
4404
  {
4390
4405
  style: {
@@ -4397,14 +4412,14 @@ If you feel like trying something like this, join here:
4397
4412
  }
4398
4413
  )
4399
4414
  ] }),
4400
- W && /* @__PURE__ */ e.jsx("div", { ref: Qe, children: /* @__PURE__ */ e.jsx(
4415
+ q && /* @__PURE__ */ e.jsx("div", { ref: nt, children: /* @__PURE__ */ e.jsx(
4401
4416
  yn,
4402
4417
  {
4403
4418
  subscription: fe,
4404
- storeId: G,
4419
+ storeId: Y,
4405
4420
  inventoryId: ae,
4406
4421
  onboardingType: he,
4407
- apiBaseInstance: _?.apiInstance
4422
+ apiBaseInstance: g?.apiInstance
4408
4423
  }
4409
4424
  ) })
4410
4425
  ]
@@ -4415,29 +4430,29 @@ If you feel like trying something like this, join here:
4415
4430
  {
4416
4431
  onJoinClick: T,
4417
4432
  onSectionImpression: ce,
4418
- onReviewsSwipe: (y) => de?.({ sectionName: "Reviews", elementPosition: y })
4433
+ onReviewsSwipe: (x) => de?.({ sectionName: "Reviews", elementPosition: x })
4419
4434
  }
4420
4435
  ) })
4421
4436
  ) }),
4422
4437
  /* @__PURE__ */ e.jsx(
4423
4438
  zn,
4424
4439
  {
4425
- open: Mt,
4440
+ open: Wt,
4426
4441
  onClose: pn,
4427
4442
  onVerifyWhatsapp: Fn
4428
4443
  }
4429
4444
  )
4430
4445
  ] }) : /* @__PURE__ */ e.jsx(
4431
- Fr,
4446
+ Br,
4432
4447
  {
4433
- containerRef: He,
4434
- stableStreamStatus: X,
4435
- daysRemaining: z,
4436
- isSubscribed: qe,
4448
+ containerRef: qe,
4449
+ stableStreamStatus: G,
4450
+ daysRemaining: W,
4451
+ isSubscribed: Ye,
4437
4452
  onJoinClick: T,
4438
4453
  onHeaderJoinClick: F,
4439
4454
  statusProbeId: tn,
4440
- loggedOutVideoSrc: xa,
4455
+ loggedOutVideoSrc: va,
4441
4456
  videoDlpStatus: Dn,
4442
4457
  onVideoAction: P,
4443
4458
  onSectionImpression: ce,
@@ -4445,7 +4460,7 @@ If you feel like trying something like this, join here:
4445
4460
  }
4446
4461
  );
4447
4462
  };
4448
- function Nt({
4463
+ function Dt({
4449
4464
  message: t,
4450
4465
  compact: n = !1
4451
4466
  }) {
@@ -4508,7 +4523,7 @@ function ta({ compact: t = !1 }) {
4508
4523
  background: "#fff"
4509
4524
  },
4510
4525
  children: /* @__PURE__ */ e.jsx(
4511
- Nt,
4526
+ Dt,
4512
4527
  {
4513
4528
  message: "Preparing live experience...",
4514
4529
  compact: t
@@ -4517,7 +4532,7 @@ function ta({ compact: t = !1 }) {
4517
4532
  }
4518
4533
  );
4519
4534
  }
4520
- function kt() {
4535
+ function Nt() {
4521
4536
  return /* @__PURE__ */ e.jsxs(
4522
4537
  "div",
4523
4538
  {
@@ -4539,7 +4554,7 @@ function kt() {
4539
4554
  }
4540
4555
  );
4541
4556
  }
4542
- function Tt({
4557
+ function Et({
4543
4558
  isGlobal: t,
4544
4559
  isLandscape: n,
4545
4560
  videoId: r,
@@ -4552,27 +4567,27 @@ function Tt({
4552
4567
  onPujaImpression: w,
4553
4568
  onSwipe: l
4554
4569
  }) {
4555
- const h = A(!1), [m, x] = N(0), _ = A(null), k = A(0), j = A(0), S = A(!1), b = c.length ? c : s ? [s] : [], E = !u, $ = b.map((P, U) => ({
4570
+ const h = A(!1), [_, v] = N(0), g = A(null), C = A(0), j = A(0), S = A(!1), b = c.length ? c : s ? [s] : [], D = !u, $ = b.map((P, B) => ({
4556
4571
  type: "puja",
4557
4572
  card: P,
4558
- key: `puja-${P.id}-${U}`
4559
- })), v = i.length > 0, T = t ? E ? v ? [{ type: "chadhava" }] : [] : $ : E && v ? [{ type: "chadhava" }, ...$] : $, F = T.length, J = F > 1;
4560
- if (D(() => {
4561
- if (E) return;
4562
- const P = T[m];
4573
+ key: `puja-${P.id}-${B}`
4574
+ })), y = i.length > 0, T = t ? D ? y ? [{ type: "chadhava" }] : [] : $ : D && y ? [{ type: "chadhava" }, ...$] : $, F = T.length, J = F > 1;
4575
+ if (L(() => {
4576
+ if (D) return;
4577
+ const P = T[_];
4563
4578
  if (!P || h.current) return;
4564
- const U = i[0];
4579
+ const B = i[0];
4565
4580
  w?.({
4566
4581
  orientation: n ? "horizontal" : "vertical",
4567
- amount: P.type === "chadhava" && typeof U?.price == "number" ? U.price : void 0,
4568
- skuName: P.type === "chadhava" ? U?.name : P.card?.title,
4582
+ amount: P.type === "chadhava" && typeof B?.price == "number" ? B.price : void 0,
4583
+ skuName: P.type === "chadhava" ? B?.name : P.card?.title,
4569
4584
  featureServiceType: P.type === "chadhava" ? "Live offering" : "Puja",
4570
4585
  countOfOfferingSku: i.length || void 0
4571
4586
  }), h.current = !0;
4572
- }, [m, n, E, i, w, T]), D(() => {
4573
- x(0), _.current && (_.current.style.transition = "none", _.current.style.transform = "translateX(0%)");
4574
- }, [E]), E)
4575
- return v ? /* @__PURE__ */ e.jsx(
4587
+ }, [_, n, D, i, w, T]), L(() => {
4588
+ v(0), g.current && (g.current.style.transition = "none", g.current.style.transform = "translateX(0%)");
4589
+ }, [D]), D)
4590
+ return y ? /* @__PURE__ */ e.jsx(
4576
4591
  na,
4577
4592
  {
4578
4593
  videoId: r,
@@ -4583,19 +4598,19 @@ function Tt({
4583
4598
  if (F === 0)
4584
4599
  return null;
4585
4600
  const ee = (P) => {
4586
- const U = Math.max(0, Math.min(P, F - 1));
4587
- U !== m && l?.({ sectionName: "Carousal", elementPosition: U + 1 }), x(U), _.current && (_.current.style.transition = "transform 0.3s ease", _.current.style.transform = `translateX(-${U * (100 / F)}%)`);
4601
+ const B = Math.max(0, Math.min(P, F - 1));
4602
+ B !== _ && l?.({ sectionName: "Carousal", elementPosition: B + 1 }), v(B), g.current && (g.current.style.transition = "transform 0.3s ease", g.current.style.transform = `translateX(-${B * (100 / F)}%)`);
4588
4603
  }, ce = (P) => {
4589
- S.current = !0, k.current = P.touches[0].clientX, j.current = 0, _.current && (_.current.style.transition = "none");
4590
- }, Se = (P) => {
4591
- if (S.current && (j.current = P.touches[0].clientX - k.current, _.current)) {
4592
- const U = 100 / F, Y = -m * U, G = _.current.clientWidth || 1, ae = j.current / G * 100;
4593
- _.current.style.transform = `translateX(${Y + ae}%)`;
4604
+ S.current = !0, C.current = P.touches[0].clientX, j.current = 0, g.current && (g.current.style.transition = "none");
4605
+ }, Te = (P) => {
4606
+ if (S.current && (j.current = P.touches[0].clientX - C.current, g.current)) {
4607
+ const B = 100 / F, z = -_ * B, Y = g.current.clientWidth || 1, ae = j.current / Y * 100;
4608
+ g.current.style.transform = `translateX(${z + ae}%)`;
4594
4609
  }
4595
4610
  }, de = () => {
4596
4611
  S.current = !1;
4597
4612
  const P = 50;
4598
- j.current < -P && m < F - 1 ? ee(m + 1) : j.current > P && m > 0 ? ee(m - 1) : ee(m);
4613
+ j.current < -P && _ < F - 1 ? ee(_ + 1) : j.current > P && _ > 0 ? ee(_ - 1) : ee(_);
4599
4614
  };
4600
4615
  return /* @__PURE__ */ e.jsxs("div", { className: f.carousel, children: [
4601
4616
  /* @__PURE__ */ e.jsx(
@@ -4603,19 +4618,19 @@ function Tt({
4603
4618
  {
4604
4619
  style: { overflow: "hidden", width: "100%", position: "relative" },
4605
4620
  onTouchStart: J ? ce : void 0,
4606
- onTouchMove: J ? Se : void 0,
4621
+ onTouchMove: J ? Te : void 0,
4607
4622
  onTouchEnd: J ? de : void 0,
4608
4623
  children: /* @__PURE__ */ e.jsx(
4609
4624
  "div",
4610
4625
  {
4611
- ref: _,
4626
+ ref: g,
4612
4627
  style: {
4613
4628
  display: "flex",
4614
4629
  width: `${F * 100}%`,
4615
- transform: `translateX(-${m * (100 / F)}%)`,
4630
+ transform: `translateX(-${_ * (100 / F)}%)`,
4616
4631
  transition: "transform 0.3s ease"
4617
4632
  },
4618
- children: T.map((P, U) => /* @__PURE__ */ e.jsx(
4633
+ children: T.map((P, B) => /* @__PURE__ */ e.jsx(
4619
4634
  "div",
4620
4635
  {
4621
4636
  style: { width: `${100 / F}%`, flexShrink: 0 },
@@ -4627,13 +4642,13 @@ function Tt({
4627
4642
  onOfferingClick: o
4628
4643
  }
4629
4644
  ) : /* @__PURE__ */ e.jsx(
4630
- gl,
4645
+ xl,
4631
4646
  {
4632
4647
  isLandscape: n,
4633
4648
  pujaCard: P.card,
4634
4649
  onOfferingClick: () => p?.({
4635
4650
  card: P.card,
4636
- elementPosition: U + 1
4651
+ elementPosition: B + 1
4637
4652
  })
4638
4653
  }
4639
4654
  )
@@ -4644,15 +4659,15 @@ function Tt({
4644
4659
  )
4645
4660
  }
4646
4661
  ),
4647
- J && /* @__PURE__ */ e.jsx("div", { className: f.carouselDots, children: T.map((P, U) => /* @__PURE__ */ e.jsx(
4662
+ J && /* @__PURE__ */ e.jsx("div", { className: f.carouselDots, children: T.map((P, B) => /* @__PURE__ */ e.jsx(
4648
4663
  "button",
4649
4664
  {
4650
4665
  type: "button",
4651
- className: `${f.dot} ${U === m ? f.dotActive : ""}`,
4652
- "aria-label": `Slide ${U + 1}`,
4653
- onClick: () => ee(U)
4666
+ className: `${f.dot} ${B === _ ? f.dotActive : ""}`,
4667
+ "aria-label": `Slide ${B + 1}`,
4668
+ onClick: () => ee(B)
4654
4669
  },
4655
- U
4670
+ B
4656
4671
  )) })
4657
4672
  ] });
4658
4673
  }
@@ -4661,38 +4676,38 @@ function na({
4661
4676
  offeringCards: n,
4662
4677
  onOfferingClick: r
4663
4678
  }) {
4664
- const [i, s] = N(!1), [c, u] = N(""), [o, p] = N(null), [w, l] = N(null), [h, m] = N(!1), x = A(!1), _ = (v, T) => {
4665
- if (!v || typeof window > "u")
4679
+ const [i, s] = N(!1), [c, u] = N(""), [o, p] = N(null), [w, l] = N(null), [h, _] = N(!1), v = A(!1), g = (y, T) => {
4680
+ if (!y || typeof window > "u")
4666
4681
  return !1;
4667
4682
  try {
4668
- const F = new URL(v, window.location.origin);
4683
+ const F = new URL(y, window.location.origin);
4669
4684
  return T && Object.entries(T).forEach(([J, ee]) => {
4670
4685
  ee && F.searchParams.set(J, ee);
4671
4686
  }), window.location.href = F.toString(), !0;
4672
4687
  } catch {
4673
4688
  try {
4674
- return window.location.href = v, !0;
4689
+ return window.location.href = y, !0;
4675
4690
  } catch {
4676
4691
  return !1;
4677
4692
  }
4678
4693
  }
4679
- }, k = async (v, T) => {
4694
+ }, C = async (y, T) => {
4680
4695
  if (r)
4681
4696
  try {
4682
4697
  await r({
4683
- ...v,
4698
+ ...y,
4684
4699
  elementPosition: T,
4685
4700
  countOfOfferingSku: n.length || void 0
4686
4701
  });
4687
4702
  } catch (F) {
4688
4703
  console.error("Offering click handler failed:", F);
4689
4704
  }
4690
- _(v.deeplink);
4691
- }, j = async (v, T) => {
4692
- if (p(v), l(T ?? null), u(v.price ? String(v.price) : ""), x.current = !1, s(!0), !!r)
4705
+ g(y.deeplink);
4706
+ }, j = async (y, T) => {
4707
+ if (p(y), l(T ?? null), u(y.price ? String(y.price) : ""), v.current = !1, s(!0), !!r)
4693
4708
  try {
4694
4709
  await r({
4695
- ...v,
4710
+ ...y,
4696
4711
  sku_name: "Custom",
4697
4712
  elementPosition: T,
4698
4713
  countOfOfferingSku: n.length || void 0,
@@ -4703,14 +4718,14 @@ function na({
4703
4718
  }
4704
4719
  }, S = () => {
4705
4720
  s(!1), p(null), l(null), u("");
4706
- }, b = async (v, T) => {
4707
- if (v.isCustom) {
4708
- await j(v, T);
4721
+ }, b = async (y, T) => {
4722
+ if (y.isCustom) {
4723
+ await j(y, T);
4709
4724
  return;
4710
4725
  }
4711
- await k(v, T);
4712
- }, E = async () => {
4713
- if (!(!o || x.current) && (x.current = !0, !!r))
4726
+ await C(y, T);
4727
+ }, D = async () => {
4728
+ if (!(!o || v.current) && (v.current = !0, !!r))
4714
4729
  try {
4715
4730
  await r({
4716
4731
  ...o,
@@ -4720,21 +4735,21 @@ function na({
4720
4735
  countOfOfferingSku: n.length || void 0,
4721
4736
  analyticsAction: "custom_keyboard_impression"
4722
4737
  });
4723
- } catch (v) {
4724
- console.error("Custom amount keyboard handler failed:", v);
4738
+ } catch (y) {
4739
+ console.error("Custom amount keyboard handler failed:", y);
4725
4740
  }
4726
4741
  }, $ = async () => {
4727
4742
  if (!o || h) return;
4728
- const v = Number(c);
4729
- if (!(!Number.isFinite(v) || v <= 0)) {
4743
+ const y = Number(c);
4744
+ if (!(!Number.isFinite(y) || y <= 0)) {
4730
4745
  if (r)
4731
4746
  try {
4732
4747
  await r({
4733
4748
  ...o,
4734
4749
  sku_name: "Custom",
4735
- price: v,
4736
- customAmount: v,
4737
- amount: v,
4750
+ price: y,
4751
+ customAmount: y,
4752
+ amount: y,
4738
4753
  elementPosition: w,
4739
4754
  countOfOfferingSku: n.length || void 0,
4740
4755
  analyticsAction: "custom_continue",
@@ -4743,46 +4758,46 @@ function na({
4743
4758
  } catch (T) {
4744
4759
  console.error("Custom continue analytics handler failed :", T);
4745
4760
  }
4746
- if (_(o.deeplink, {
4761
+ if (g(o.deeplink, {
4747
4762
  video_id: t,
4748
- amount: String(v)
4763
+ amount: String(y)
4749
4764
  })) {
4750
4765
  S();
4751
4766
  return;
4752
4767
  }
4753
4768
  if (r)
4754
4769
  try {
4755
- m(!0), await r({
4770
+ _(!0), await r({
4756
4771
  ...o,
4757
- price: v,
4758
- customAmount: v
4772
+ price: y,
4773
+ customAmount: y
4759
4774
  }), S();
4760
4775
  } catch (T) {
4761
4776
  console.error("Custom offering click handler failed:", T);
4762
4777
  } finally {
4763
- m(!1);
4778
+ _(!1);
4764
4779
  }
4765
4780
  }
4766
4781
  };
4767
4782
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4768
4783
  /* @__PURE__ */ e.jsx("div", { className: f.banner, children: /* @__PURE__ */ e.jsxs("div", { className: f.bannerCard, children: [
4769
4784
  /* @__PURE__ */ e.jsx("p", { className: f.landscapeHeader, children: "Pandit Ji invited to make offering to this Puja" }),
4770
- /* @__PURE__ */ e.jsx("div", { className: f.landscapeScroll, children: n.map((v, T) => /* @__PURE__ */ e.jsx(
4771
- vl,
4785
+ /* @__PURE__ */ e.jsx("div", { className: f.landscapeScroll, children: n.map((y, T) => /* @__PURE__ */ e.jsx(
4786
+ yl,
4772
4787
  {
4773
- item: v,
4774
- onClick: () => b(v, T + 1)
4788
+ item: y,
4789
+ onClick: () => b(y, T + 1)
4775
4790
  },
4776
- v.id
4791
+ y.id
4777
4792
  )) })
4778
4793
  ] }) }),
4779
4794
  /* @__PURE__ */ e.jsx(
4780
- _l,
4795
+ gl,
4781
4796
  {
4782
4797
  open: i,
4783
4798
  amount: c,
4784
- onAmountChange: (v) => u(v.replace(/[^0-9]/g, "")),
4785
- onAmountFocus: E,
4799
+ onAmountChange: (y) => u(y.replace(/[^0-9]/g, "")),
4800
+ onAmountFocus: D,
4786
4801
  onClose: S,
4787
4802
  onContinue: $,
4788
4803
  disabled: !c || Number(c) <= 0 || h
@@ -4790,7 +4805,7 @@ function na({
4790
4805
  )
4791
4806
  ] });
4792
4807
  }
4793
- function _l({
4808
+ function gl({
4794
4809
  open: t,
4795
4810
  amount: n,
4796
4811
  onAmountChange: r,
@@ -4799,7 +4814,7 @@ function _l({
4799
4814
  onContinue: c,
4800
4815
  disabled: u
4801
4816
  }) {
4802
- return t ? ja(
4817
+ return t ? wa(
4803
4818
  /* @__PURE__ */ e.jsx("div", { className: f.customSheetOverlay, onClick: s, children: /* @__PURE__ */ e.jsxs(
4804
4819
  "div",
4805
4820
  {
@@ -4842,13 +4857,13 @@ function _l({
4842
4857
  document.body
4843
4858
  ) : null;
4844
4859
  }
4845
- function gl({
4860
+ function xl({
4846
4861
  isLandscape: t,
4847
4862
  pujaCard: n,
4848
4863
  onOfferingClick: r
4849
4864
  }) {
4850
4865
  return /* @__PURE__ */ e.jsx("div", { className: f.pujaBanner, children: /* @__PURE__ */ e.jsx("div", { className: f.pujaWrapperVertical, children: /* @__PURE__ */ e.jsx(
4851
- xl,
4866
+ vl,
4852
4867
  {
4853
4868
  isLandscape: t,
4854
4869
  pujaCard: n,
@@ -4866,7 +4881,7 @@ function aa() {
4866
4881
  }
4867
4882
  );
4868
4883
  }
4869
- function xl({
4884
+ function vl({
4870
4885
  isLandscape: t,
4871
4886
  pujaCard: n,
4872
4887
  onClick: r
@@ -4881,7 +4896,7 @@ function xl({
4881
4896
  /* @__PURE__ */ e.jsx(
4882
4897
  "img",
4883
4898
  {
4884
- src: n.imageUrl || Ne.imageUrl,
4899
+ src: n.imageUrl || Le.imageUrl,
4885
4900
  className: f.pujaImageHorizontal,
4886
4901
  alt: n.title
4887
4902
  }
@@ -4916,7 +4931,7 @@ function xl({
4916
4931
  /* @__PURE__ */ e.jsx(
4917
4932
  "img",
4918
4933
  {
4919
- src: n.imageUrl || Ne.imageUrl,
4934
+ src: n.imageUrl || Le.imageUrl,
4920
4935
  className: f.pujaImage,
4921
4936
  alt: n.title
4922
4937
  }
@@ -4943,7 +4958,7 @@ function xl({
4943
4958
  }
4944
4959
  ) });
4945
4960
  }
4946
- function vl({
4961
+ function yl({
4947
4962
  item: t,
4948
4963
  onClick: n
4949
4964
  }) {
@@ -4973,11 +4988,11 @@ function vl({
4973
4988
  ] })
4974
4989
  ] });
4975
4990
  }
4976
- const ra = "hanuman-live-sindoor", sa = "hanuman-live-peda", ia = "hanuman-live-sindoor-peda", ct = {
4991
+ const ra = "hanuman-live-sindoor", sa = "hanuman-live-peda", ia = "hanuman-live-sindoor-peda", ut = {
4977
4992
  sindoor: "https://rzp.io/rzp/Pb7xgDj",
4978
4993
  peda: "https://rzp.io/rzp/LfL86khp",
4979
4994
  sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
4980
- }, kl = [
4995
+ }, Tl = [
4981
4996
  {
4982
4997
  afterTime: "2024-01-01T00:00:00Z",
4983
4998
  items: [
@@ -4985,14 +5000,14 @@ const ra = "hanuman-live-sindoor", sa = "hanuman-live-peda", ia = "hanuman-live-
4985
5000
  inventory_id: ra,
4986
5001
  name: "Sindoor",
4987
5002
  price: 51,
4988
- razorpay_link: ct.sindoor,
5003
+ razorpay_link: ut.sindoor,
4989
5004
  image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
4990
5005
  },
4991
5006
  {
4992
5007
  inventory_id: sa,
4993
5008
  name: "Peda",
4994
5009
  price: 101,
4995
- razorpay_link: ct.peda,
5010
+ razorpay_link: ut.peda,
4996
5011
  image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
4997
5012
  },
4998
5013
  {
@@ -5001,7 +5016,7 @@ const ra = "hanuman-live-sindoor", sa = "hanuman-live-peda", ia = "hanuman-live-
5001
5016
  price: 121,
5002
5017
  original_price: "101 + 51",
5003
5018
  discount: "20%",
5004
- razorpay_link: ct.sindoorPeda,
5019
+ razorpay_link: ut.sindoorPeda,
5005
5020
  image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
5006
5021
  }
5007
5022
  ]
@@ -5013,14 +5028,14 @@ const ra = "hanuman-live-sindoor", sa = "hanuman-live-peda", ia = "hanuman-live-
5013
5028
  inventory_id: ra,
5014
5029
  name: "Sindoor",
5015
5030
  price: 51,
5016
- razorpay_link: ct.sindoor,
5031
+ razorpay_link: ut.sindoor,
5017
5032
  image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
5018
5033
  },
5019
5034
  {
5020
5035
  inventory_id: sa,
5021
5036
  name: "Peda",
5022
5037
  price: 101,
5023
- razorpay_link: ct.peda,
5038
+ razorpay_link: ut.peda,
5024
5039
  image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
5025
5040
  },
5026
5041
  {
@@ -5028,26 +5043,26 @@ const ra = "hanuman-live-sindoor", sa = "hanuman-live-peda", ia = "hanuman-live-
5028
5043
  name: "Sindoor + Peda",
5029
5044
  price: 121,
5030
5045
  discount: "20%",
5031
- razorpay_link: ct.sindoorPeda,
5046
+ razorpay_link: ut.sindoorPeda,
5032
5047
  image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
5033
5048
  }
5034
5049
  ]
5035
5050
  }
5036
5051
  ];
5037
5052
  export {
5038
- wl as AppContextProvider,
5039
- kl as BANNER_ITEMS,
5053
+ Sl as AppContextProvider,
5054
+ Tl as BANNER_ITEMS,
5040
5055
  fn as DLPTabs,
5041
- jl as I18nProvider,
5042
- Fr as LandingPage,
5056
+ wl as I18nProvider,
5057
+ Br as LandingPage,
5043
5058
  ca as LoggedOutSections,
5044
5059
  xn as ShareSection,
5045
5060
  vn as StoreSection,
5046
5061
  _n as StreakSection,
5047
- zt as SubscriptionSection,
5048
- Sl as SuccessPage,
5049
- Cl as VideoPage,
5050
- Ur as useAppContext,
5051
- $r as useI18n
5062
+ Gt as SubscriptionSection,
5063
+ Cl as SuccessPage,
5064
+ kl as VideoPage,
5065
+ Wr as useAppContext,
5066
+ Ur as useI18n
5052
5067
  };
5053
5068
  //# sourceMappingURL=daily-live-puja.js.map