@srimandir/daily-live-puja 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/daily-live-puja.js +77 -77
- package/dist/daily-live-puja.js.map +1 -1
- package/package.json +3 -3
package/dist/daily-live-puja.js
CHANGED
|
@@ -19,7 +19,7 @@ var Ct;
|
|
|
19
19
|
function aa() {
|
|
20
20
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
21
|
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), h = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.offscreen"), L = Symbol.iterator, E = "@@iterator";
|
|
22
|
-
function
|
|
22
|
+
function g(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
25
|
var n = L && t[L] || t[E];
|
|
@@ -28,14 +28,14 @@ function aa() {
|
|
|
28
28
|
var N = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function S(t) {
|
|
30
30
|
{
|
|
31
|
-
for (var n = arguments.length, u = new Array(n > 1 ? n - 1 : 0),
|
|
32
|
-
u[
|
|
31
|
+
for (var n = arguments.length, u = new Array(n > 1 ? n - 1 : 0), _ = 1; _ < n; _++)
|
|
32
|
+
u[_ - 1] = arguments[_];
|
|
33
33
|
z("error", t, u);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
function z(t, n, u) {
|
|
37
37
|
{
|
|
38
|
-
var
|
|
38
|
+
var _ = N.ReactDebugCurrentFrame, k = _.getStackAddendum();
|
|
39
39
|
k !== "" && (n += "%s", u = u.concat([k]));
|
|
40
40
|
var I = u.map(function(C) {
|
|
41
41
|
return String(C);
|
|
@@ -53,9 +53,9 @@ function aa() {
|
|
|
53
53
|
t.$$typeof === ie || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
55
|
function me(t, n, u) {
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
56
|
+
var _ = t.displayName;
|
|
57
|
+
if (_)
|
|
58
|
+
return _;
|
|
59
59
|
var k = n.displayName || n.name || "";
|
|
60
60
|
return k !== "" ? u + "(" + k + ")" : u;
|
|
61
61
|
}
|
|
@@ -94,8 +94,8 @@ function aa() {
|
|
|
94
94
|
case h:
|
|
95
95
|
return me(t, t.render, "ForwardRef");
|
|
96
96
|
case f:
|
|
97
|
-
var
|
|
98
|
-
return
|
|
97
|
+
var _ = t.displayName || null;
|
|
98
|
+
return _ !== null ? _ : H(t.type) || "Memo";
|
|
99
99
|
case x: {
|
|
100
100
|
var k = t, I = k._payload, C = k._init;
|
|
101
101
|
try {
|
|
@@ -176,8 +176,8 @@ function aa() {
|
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (k) {
|
|
179
|
-
var
|
|
180
|
-
$ =
|
|
179
|
+
var _ = k.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
$ = _ && _[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
183
|
` + $ + t;
|
|
@@ -196,7 +196,7 @@ function aa() {
|
|
|
196
196
|
if (u !== void 0)
|
|
197
197
|
return u;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
199
|
+
var _;
|
|
200
200
|
ye = !0;
|
|
201
201
|
var k = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
@@ -215,14 +215,14 @@ function aa() {
|
|
|
215
215
|
try {
|
|
216
216
|
Reflect.construct(C, []);
|
|
217
217
|
} catch (V) {
|
|
218
|
-
|
|
218
|
+
_ = V;
|
|
219
219
|
}
|
|
220
220
|
Reflect.construct(t, [], C);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
223
|
C.call();
|
|
224
224
|
} catch (V) {
|
|
225
|
-
|
|
225
|
+
_ = V;
|
|
226
226
|
}
|
|
227
227
|
t.call(C.prototype);
|
|
228
228
|
}
|
|
@@ -230,14 +230,14 @@ function aa() {
|
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
232
|
} catch (V) {
|
|
233
|
-
|
|
233
|
+
_ = V;
|
|
234
234
|
}
|
|
235
235
|
t();
|
|
236
236
|
}
|
|
237
237
|
} catch (V) {
|
|
238
|
-
if (V &&
|
|
238
|
+
if (V && _ && typeof V.stack == "string") {
|
|
239
239
|
for (var y = V.stack.split(`
|
|
240
|
-
`), W =
|
|
240
|
+
`), W = _.stack.split(`
|
|
241
241
|
`), F = y.length - 1, O = W.length - 1; F >= 1 && O >= 0 && y[F] !== W[O]; )
|
|
242
242
|
O--;
|
|
243
243
|
for (; F >= 1 && O >= 0; F--, O--)
|
|
@@ -286,7 +286,7 @@ function aa() {
|
|
|
286
286
|
case f:
|
|
287
287
|
return fe(t.type, n, u);
|
|
288
288
|
case x: {
|
|
289
|
-
var
|
|
289
|
+
var _ = t, k = _._payload, I = _._init;
|
|
290
290
|
try {
|
|
291
291
|
return fe(I(k), n, u);
|
|
292
292
|
} catch {
|
|
@@ -303,7 +303,7 @@ function aa() {
|
|
|
303
303
|
} else
|
|
304
304
|
X.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function rt(t, n, u,
|
|
306
|
+
function rt(t, n, u, _, k) {
|
|
307
307
|
{
|
|
308
308
|
var I = Function.call.bind(le);
|
|
309
309
|
for (var C in t)
|
|
@@ -311,14 +311,14 @@ function aa() {
|
|
|
311
311
|
var y = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof t[C] != "function") {
|
|
314
|
-
var W = Error((
|
|
314
|
+
var W = Error((_ || "React class") + ": " + u + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
315
|
throw W.name = "Invariant Violation", W;
|
|
316
316
|
}
|
|
317
|
-
y = t[C](n, C,
|
|
317
|
+
y = t[C](n, C, _, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (F) {
|
|
319
319
|
y = F;
|
|
320
320
|
}
|
|
321
|
-
y && !(y instanceof Error) && (xe(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
321
|
+
y && !(y instanceof Error) && (xe(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", u, C, typeof y), xe(null)), y instanceof Error && !(y.message in We) && (We[y.message] = !0, xe(k), S("Failed %s type: %s", u, y.message), xe(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -393,7 +393,7 @@ function aa() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var $e = function(t, n, u,
|
|
396
|
+
var $e = function(t, n, u, _, k, I, C) {
|
|
397
397
|
var y = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: s,
|
|
@@ -414,7 +414,7 @@ function aa() {
|
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
|
-
value:
|
|
417
|
+
value: _
|
|
418
418
|
}), Object.defineProperty(y, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
@@ -422,7 +422,7 @@ function aa() {
|
|
|
422
422
|
value: k
|
|
423
423
|
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
424
424
|
};
|
|
425
|
-
function Ve(t, n, u,
|
|
425
|
+
function Ve(t, n, u, _, k) {
|
|
426
426
|
{
|
|
427
427
|
var I, C = {}, y = null, W = null;
|
|
428
428
|
u !== void 0 && (_e(u), y = "" + u), et(n) && (_e(n.key), y = "" + n.key), jt(n) && (W = n.ref, Se(n, k));
|
|
@@ -437,7 +437,7 @@ function aa() {
|
|
|
437
437
|
var O = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
438
|
y && Te(C, O), W && ke(C, O);
|
|
439
439
|
}
|
|
440
|
-
return $e(t, y, W, k,
|
|
440
|
+
return $e(t, y, W, k, _, Ne.current, C);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var ze = N.ReactCurrentOwner, tt = N.ReactDebugCurrentFrame;
|
|
@@ -490,8 +490,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
490
490
|
if (te[u])
|
|
491
491
|
return;
|
|
492
492
|
te[u] = !0;
|
|
493
|
-
var
|
|
494
|
-
t && t._owner && t._owner !== ze.current && (
|
|
493
|
+
var _ = "";
|
|
494
|
+
t && t._owner && t._owner !== ze.current && (_ = " It was passed a child from " + H(t._owner.type) + "."), ee(t), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, _), ee(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ue(t, n) {
|
|
@@ -500,13 +500,13 @@ Check the top-level render call using <` + u + ">.");
|
|
|
500
500
|
return;
|
|
501
501
|
if (He(t))
|
|
502
502
|
for (var u = 0; u < t.length; u++) {
|
|
503
|
-
var
|
|
504
|
-
de(
|
|
503
|
+
var _ = t[u];
|
|
504
|
+
de(_) && ae(_, n);
|
|
505
505
|
}
|
|
506
506
|
else if (de(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
|
-
var k =
|
|
509
|
+
var k = g(t);
|
|
510
510
|
if (typeof k == "function" && k !== t.entries)
|
|
511
511
|
for (var I = k.call(t), C; !(C = I.next()).done; )
|
|
512
512
|
de(C.value) && ae(C.value, n);
|
|
@@ -528,8 +528,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (u) {
|
|
531
|
-
var
|
|
532
|
-
rt(u, t.props, "prop",
|
|
531
|
+
var _ = H(n);
|
|
532
|
+
rt(u, t.props, "prop", _, t);
|
|
533
533
|
} else if (n.PropTypes !== void 0 && !ce) {
|
|
534
534
|
ce = !0;
|
|
535
535
|
var k = H(n);
|
|
@@ -541,9 +541,9 @@ Check the top-level render call using <` + u + ">.");
|
|
|
541
541
|
function lt(t) {
|
|
542
542
|
{
|
|
543
543
|
for (var n = Object.keys(t.props), u = 0; u < n.length; u++) {
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
546
|
-
ee(t), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
544
|
+
var _ = n[u];
|
|
545
|
+
if (_ !== "children" && _ !== "key") {
|
|
546
|
+
ee(t), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), ee(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
@@ -551,7 +551,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var bt = {};
|
|
554
|
-
function yt(t, n, u,
|
|
554
|
+
function yt(t, n, u, _, k, I) {
|
|
555
555
|
{
|
|
556
556
|
var C = he(t);
|
|
557
557
|
if (!C) {
|
|
@@ -568,7 +568,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
568
568
|
if (C) {
|
|
569
569
|
var J = n.children;
|
|
570
570
|
if (J !== void 0)
|
|
571
|
-
if (
|
|
571
|
+
if (_)
|
|
572
572
|
if (He(J)) {
|
|
573
573
|
for (var Ie = 0; Ie < J.length; Ie++)
|
|
574
574
|
ue(J[Ie], t);
|
|
@@ -980,7 +980,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
980
980
|
analytics: d,
|
|
981
981
|
showToast: c
|
|
982
982
|
}) => {
|
|
983
|
-
const r = vt()?.t || ((T) => T), [o, h] = w(l ? "+1" : "+91"), [v, p] = w(!1), { setUserData: f, setShowSuccess: x } = Vt(), [j, L] = w(""), [E,
|
|
983
|
+
const r = vt()?.t || ((T) => T), [o, h] = w(l ? "+1" : "+91"), [v, p] = w(!1), { setUserData: f, setShowSuccess: x } = Vt(), [j, L] = w(""), [E, g] = w(""), N = U(!1), S = `${o}-${E}`, z = Tt.find(
|
|
984
984
|
(T) => T.code === o
|
|
985
985
|
);
|
|
986
986
|
D(() => {
|
|
@@ -1080,7 +1080,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1080
1080
|
value: E,
|
|
1081
1081
|
onChange: (T) => {
|
|
1082
1082
|
const Y = T.target.value.replace(/\D/g, "");
|
|
1083
|
-
|
|
1083
|
+
g(Y), Y && !E && d?.trackPhoneFilled?.();
|
|
1084
1084
|
},
|
|
1085
1085
|
onFocus: () => d?.trackPhoneClicked?.(),
|
|
1086
1086
|
placeholder: r("whatsappPlaceholder"),
|
|
@@ -1146,7 +1146,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1146
1146
|
showToast: o,
|
|
1147
1147
|
disableRedirect: h = !1
|
|
1148
1148
|
}) => {
|
|
1149
|
-
const p = vt()?.t || ((
|
|
1149
|
+
const p = vt()?.t || ((g) => g), { userData: f } = Vt(), [x, j] = w(m), L = U(!1), E = f?.name || a;
|
|
1150
1150
|
return D(() => {
|
|
1151
1151
|
!L.current && r?.trackSuccessPageViewed && (r.trackSuccessPageViewed({
|
|
1152
1152
|
name: f?.name,
|
|
@@ -1155,8 +1155,8 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1155
1155
|
}, [r, f?.name, f?.fullPhoneNumber]), D(() => {
|
|
1156
1156
|
if (!h)
|
|
1157
1157
|
if (x > 0) {
|
|
1158
|
-
const
|
|
1159
|
-
return () => clearTimeout(
|
|
1158
|
+
const g = setTimeout(() => j(x - 1), 1e3);
|
|
1159
|
+
return () => clearTimeout(g);
|
|
1160
1160
|
} else x === 0 && (window.location.href = It);
|
|
1161
1161
|
}, [x, h]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: R.successPage, children: [
|
|
1162
1162
|
/* @__PURE__ */ e.jsx("div", { className: R.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
@@ -1838,7 +1838,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1838
1838
|
)
|
|
1839
1839
|
] }) }) : null;
|
|
1840
1840
|
}, Sr = "sm_dlp_premium", Lt = {
|
|
1841
|
-
|
|
1841
|
+
"Accept-Language": "en"
|
|
1842
1842
|
}, Tr = ({
|
|
1843
1843
|
storeId: a,
|
|
1844
1844
|
inventoryId: s,
|
|
@@ -1853,7 +1853,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1853
1853
|
), [j, L] = w(null), E = gt(
|
|
1854
1854
|
() => !!(d && a && s),
|
|
1855
1855
|
[d, s, a]
|
|
1856
|
-
),
|
|
1856
|
+
), g = _t(async () => {
|
|
1857
1857
|
if (!E) {
|
|
1858
1858
|
x(!1);
|
|
1859
1859
|
return;
|
|
@@ -1893,14 +1893,14 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1893
1893
|
}
|
|
1894
1894
|
}, [c, s, l, E, a]);
|
|
1895
1895
|
return D(() => {
|
|
1896
|
-
|
|
1897
|
-
}, [
|
|
1896
|
+
g();
|
|
1897
|
+
}, [g]), {
|
|
1898
1898
|
subscriptionInfo: m,
|
|
1899
1899
|
trialSubscriptionData: o,
|
|
1900
1900
|
onboardingData: v,
|
|
1901
1901
|
isLoading: f,
|
|
1902
1902
|
error: j,
|
|
1903
|
-
refetch:
|
|
1903
|
+
refetch: g
|
|
1904
1904
|
};
|
|
1905
1905
|
}, mt = ({
|
|
1906
1906
|
storeId: a,
|
|
@@ -1918,7 +1918,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1918
1918
|
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text || ga, p = m?.tag?.bg_color || "#f8a84a", f = m?.tag?.text_color || "#3d1c02", x = m?.header || _a, j = m?.description || va, L = m?.info_list && m.info_list.length > 0 ? m.info_list : [
|
|
1919
1919
|
{ text: ja, description: "", icon_url: "" },
|
|
1920
1920
|
{ text: ba, description: "", icon_url: "" }
|
|
1921
|
-
], E = m?.media?.media_url || ya,
|
|
1921
|
+
], E = m?.media?.media_url || ya, g = r?.currency_code || "₹", N = r?.effective_amount ?? r?.subscription_amount, S = r?.subscription_amount, z = r?.period ? `/ ${r.period}` : wa, B = m?.cta, T = B?.visible ?? !0, Y = B?.text || Ca, Q = B?.text_color || "#ffffff", ne = B?.stroke_color || "transparent", ie = B?.color || "#f97e4e", he = B?.color_2 || "#f75e22", me = () => {
|
|
1922
1922
|
if (c?.(), c)
|
|
1923
1923
|
return;
|
|
1924
1924
|
const M = B?.action_attr?.deeplink;
|
|
@@ -1972,11 +1972,11 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1972
1972
|
),
|
|
1973
1973
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
|
|
1974
1974
|
typeof N == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
|
|
1975
|
-
|
|
1975
|
+
g,
|
|
1976
1976
|
N
|
|
1977
1977
|
] }),
|
|
1978
1978
|
typeof S == "number" && typeof N == "number" && S > N && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
|
|
1979
|
-
|
|
1979
|
+
g,
|
|
1980
1980
|
S
|
|
1981
1981
|
] }),
|
|
1982
1982
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: z })
|
|
@@ -2125,8 +2125,8 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2125
2125
|
j = await E.json();
|
|
2126
2126
|
}
|
|
2127
2127
|
const L = Lr(j).find((E) => {
|
|
2128
|
-
const
|
|
2129
|
-
return
|
|
2128
|
+
const g = E?.status?.trim().toLowerCase(), N = E?.service_type?.toLowerCase(), S = !N || N === a.toLowerCase();
|
|
2129
|
+
return !g || g === "completed" || g === "cancelled" ? !1 : Ft.includes(g) && S;
|
|
2130
2130
|
});
|
|
2131
2131
|
L && (c(!0), r(L));
|
|
2132
2132
|
} catch (j) {
|
|
@@ -2233,7 +2233,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2233
2233
|
storeCardsPage: j,
|
|
2234
2234
|
storeCardsHeaders: L,
|
|
2235
2235
|
storeCardsLimit: E,
|
|
2236
|
-
onShare:
|
|
2236
|
+
onShare: g,
|
|
2237
2237
|
showSubscription: N = !1,
|
|
2238
2238
|
onSubscribe: S,
|
|
2239
2239
|
subscriptionStoreId: z,
|
|
@@ -2529,7 +2529,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2529
2529
|
"aria-hidden": "true"
|
|
2530
2530
|
}
|
|
2531
2531
|
),
|
|
2532
|
-
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare:
|
|
2532
|
+
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare: g }) }),
|
|
2533
2533
|
/* @__PURE__ */ e.jsx(
|
|
2534
2534
|
"div",
|
|
2535
2535
|
{
|
|
@@ -2787,7 +2787,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
) }),
|
|
2789
2789
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2790
|
-
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare:
|
|
2790
|
+
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare: g }) }),
|
|
2791
2791
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2792
2792
|
/* @__PURE__ */ e.jsx("div", { ref: M, children: /* @__PURE__ */ e.jsx(
|
|
2793
2793
|
ht,
|
|
@@ -2866,7 +2866,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2866
2866
|
}
|
|
2867
2867
|
) }),
|
|
2868
2868
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2869
|
-
/* @__PURE__ */ e.jsx("div", { ref: Fe, children: /* @__PURE__ */ e.jsx(pt, { onShare:
|
|
2869
|
+
/* @__PURE__ */ e.jsx("div", { ref: Fe, children: /* @__PURE__ */ e.jsx(pt, { onShare: g }) }),
|
|
2870
2870
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2871
2871
|
/* @__PURE__ */ e.jsx("div", { ref: De, children: /* @__PURE__ */ e.jsx(
|
|
2872
2872
|
ht,
|
|
@@ -2963,32 +2963,32 @@ function Dr({
|
|
|
2963
2963
|
offeringCards: s,
|
|
2964
2964
|
onOfferingClick: l
|
|
2965
2965
|
}) {
|
|
2966
|
-
const [d, c] = w(!1), [m, r] = w(""), [o, h] = w(null), [v, p] = w(!1), f = async (
|
|
2966
|
+
const [d, c] = w(!1), [m, r] = w(""), [o, h] = w(null), [v, p] = w(!1), f = async (g) => {
|
|
2967
2967
|
if (l)
|
|
2968
2968
|
try {
|
|
2969
|
-
await l(
|
|
2969
|
+
await l(g);
|
|
2970
2970
|
} catch (N) {
|
|
2971
2971
|
console.error("Offering click handler failed:", N);
|
|
2972
2972
|
}
|
|
2973
|
-
}, x = (
|
|
2974
|
-
h(
|
|
2973
|
+
}, x = (g) => {
|
|
2974
|
+
h(g), r(g.price ? String(g.price) : ""), c(!0);
|
|
2975
2975
|
}, j = () => {
|
|
2976
2976
|
c(!1), h(null), r("");
|
|
2977
|
-
}, L = async (
|
|
2978
|
-
if (
|
|
2979
|
-
x(
|
|
2977
|
+
}, L = async (g) => {
|
|
2978
|
+
if (g.isCustom) {
|
|
2979
|
+
x(g);
|
|
2980
2980
|
return;
|
|
2981
2981
|
}
|
|
2982
|
-
await f(
|
|
2982
|
+
await f(g);
|
|
2983
2983
|
}, E = async () => {
|
|
2984
2984
|
if (!o || !l || v) return;
|
|
2985
|
-
const
|
|
2986
|
-
if (!(!Number.isFinite(
|
|
2985
|
+
const g = Number(m);
|
|
2986
|
+
if (!(!Number.isFinite(g) || g <= 0))
|
|
2987
2987
|
try {
|
|
2988
2988
|
p(!0), await l({
|
|
2989
2989
|
...o,
|
|
2990
|
-
price:
|
|
2991
|
-
customAmount:
|
|
2990
|
+
price: g,
|
|
2991
|
+
customAmount: g
|
|
2992
2992
|
}), j();
|
|
2993
2993
|
} catch (N) {
|
|
2994
2994
|
console.error("Custom offering click handler failed:", N);
|
|
@@ -3006,22 +3006,22 @@ function Dr({
|
|
|
3006
3006
|
}
|
|
3007
3007
|
),
|
|
3008
3008
|
/* @__PURE__ */ e.jsx("div", { className: a ? i.landscapeScroll : i.scroll, children: s.map(
|
|
3009
|
-
(
|
|
3009
|
+
(g, N) => a ? /* @__PURE__ */ e.jsx(
|
|
3010
3010
|
Mr,
|
|
3011
3011
|
{
|
|
3012
|
-
item:
|
|
3013
|
-
onClick: () => L(
|
|
3012
|
+
item: g,
|
|
3013
|
+
onClick: () => L(g)
|
|
3014
3014
|
},
|
|
3015
|
-
|
|
3015
|
+
g.id
|
|
3016
3016
|
) : /* @__PURE__ */ e.jsx(
|
|
3017
3017
|
qr,
|
|
3018
3018
|
{
|
|
3019
|
-
item:
|
|
3019
|
+
item: g,
|
|
3020
3020
|
index: N,
|
|
3021
3021
|
totalItems: s.length,
|
|
3022
|
-
onClick: () => L(
|
|
3022
|
+
onClick: () => L(g)
|
|
3023
3023
|
},
|
|
3024
|
-
|
|
3024
|
+
g.id
|
|
3025
3025
|
)
|
|
3026
3026
|
) })
|
|
3027
3027
|
] }) }),
|
|
@@ -3030,7 +3030,7 @@ function Dr({
|
|
|
3030
3030
|
{
|
|
3031
3031
|
open: d,
|
|
3032
3032
|
amount: m,
|
|
3033
|
-
onAmountChange: (
|
|
3033
|
+
onAmountChange: (g) => r(g.replace(/[^0-9]/g, "")),
|
|
3034
3034
|
onClose: j,
|
|
3035
3035
|
onContinue: E,
|
|
3036
3036
|
disabled: !m || Number(m) <= 0 || v
|