gearboxdownloadmodal 6.0.31 → 6.0.32
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/index.es.js +695 -674
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/src/services/getCdnExportName.d.ts +1 -0
- package/dist/src/utils/generateVersion.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ie, { useState as T, useEffect as
|
|
1
|
+
import ie, { useState as T, useEffect as ve, forwardRef as Bi, useReducer as Ui, useRef as it, isValidElement as ht, cloneElement as Dn, useLayoutEffect as Fi } from "react";
|
|
2
2
|
import _i from "react-dom";
|
|
3
3
|
function $i(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -41,13 +41,13 @@ function ta() {
|
|
|
41
41
|
jr = 1;
|
|
42
42
|
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, m, u) {
|
|
44
|
-
var
|
|
44
|
+
var s, d = {}, v = null, g = null;
|
|
45
45
|
u !== void 0 && (v = "" + u), m.key !== void 0 && (v = "" + m.key), m.ref !== void 0 && (g = m.ref);
|
|
46
|
-
for (
|
|
47
|
-
r.call(m,
|
|
46
|
+
for (s in m)
|
|
47
|
+
r.call(m, s) && !i.hasOwnProperty(s) && (d[s] = m[s]);
|
|
48
48
|
if (A && A.defaultProps)
|
|
49
|
-
for (
|
|
50
|
-
d[
|
|
49
|
+
for (s in m = A.defaultProps, m)
|
|
50
|
+
d[s] === void 0 && (d[s] = m[s]);
|
|
51
51
|
return { $$typeof: t, type: A, key: v, ref: g, props: d, _owner: o.current };
|
|
52
52
|
}
|
|
53
53
|
return It.Fragment = n, It.jsx = a, It.jsxs = a, It;
|
|
@@ -65,7 +65,7 @@ var wt = {};
|
|
|
65
65
|
var zr;
|
|
66
66
|
function na() {
|
|
67
67
|
return zr || (zr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
-
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"),
|
|
68
|
+
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), f = Symbol.iterator, p = "@@iterator";
|
|
69
69
|
function y(c) {
|
|
70
70
|
if (c === null || typeof c != "object")
|
|
71
71
|
return null;
|
|
@@ -93,7 +93,7 @@ function na() {
|
|
|
93
93
|
var L = !1, b = !1, G = !1, X = !1, F = !1, ue;
|
|
94
94
|
ue = Symbol.for("react.module.reference");
|
|
95
95
|
function te(c) {
|
|
96
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || F || c === o || c === u || c ===
|
|
96
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || F || c === o || c === u || c === s || X || c === g || L || b || G || typeof c == "object" && c !== null && (c.$$typeof === v || c.$$typeof === d || c.$$typeof === a || c.$$typeof === A || c.$$typeof === m || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
@@ -127,7 +127,7 @@ function na() {
|
|
|
127
127
|
return "StrictMode";
|
|
128
128
|
case u:
|
|
129
129
|
return "Suspense";
|
|
130
|
-
case
|
|
130
|
+
case s:
|
|
131
131
|
return "SuspenseList";
|
|
132
132
|
}
|
|
133
133
|
if (typeof c == "object")
|
|
@@ -323,7 +323,7 @@ function na() {
|
|
|
323
323
|
switch (c) {
|
|
324
324
|
case u:
|
|
325
325
|
return P("Suspense");
|
|
326
|
-
case
|
|
326
|
+
case s:
|
|
327
327
|
return P("SuspenseList");
|
|
328
328
|
}
|
|
329
329
|
if (typeof c == "object")
|
|
@@ -665,17 +665,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
665
665
|
}()), wt;
|
|
666
666
|
}
|
|
667
667
|
process.env.NODE_ENV === "production" ? Gn.exports = ta() : Gn.exports = na();
|
|
668
|
-
var
|
|
668
|
+
var l = Gn.exports;
|
|
669
669
|
const Co = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMyAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE4OThfMzEyMjcpIj4NCiAgICA8cGF0aCBkPSJNMjAuMzQxNiAxMi4yMjY2TDEyLjc5NDkgMTkuNzczMiIgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44Ig0KICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgIDxwYXRoIGQ9Ik0yMC4zNDE2IDE5Ljc3MzJMMTIuNzk0OSAxMi4yMjY2IiBzdHJva2U9IiMwRjBGMUUiIHN0cm9rZVdpZHRoPSIxLjgiDQogICAgICBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogICAgPHBhdGgNCiAgICAgIGQ9Ik0xNi41Njg0IDI4QzkuOTQwMzYgMjggNC41NjgzNiAyMi42MjggNC41NjgzNiAxNkM0LjU2ODM2IDkuMzcyIDkuOTQwMzYgNCAxNi41Njg0IDRDMjMuMTk2NCA0IDI4LjU2ODQgOS4zNzIgMjguNTY4NCAxNkMyOC41Njg0IDIyLjYyOCAyMy4xOTY0IDI4IDE2LjU2ODQgMjhaIg0KICAgICAgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogIDwvZz4NCiAgPGRlZnM+DQogICAgPGNsaXBQYXRoIGlkPSJjbGlwMF8xODk4XzMxMjI3Ij4NCiAgICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNTY4MzU5KSIgLz4NCiAgICA8L2NsaXBQYXRoPg0KICA8L2RlZnM+DQo8L3N2Zz4=", ra = ({ children: e }) => {
|
|
670
670
|
const [t, n] = T(window.innerWidth);
|
|
671
|
-
return
|
|
671
|
+
return ve(() => {
|
|
672
672
|
const r = () => {
|
|
673
673
|
n(window.innerWidth);
|
|
674
674
|
};
|
|
675
675
|
return window.addEventListener("resize", r), () => {
|
|
676
676
|
window.removeEventListener("resize", r);
|
|
677
677
|
};
|
|
678
|
-
}, []), /* @__PURE__ */
|
|
678
|
+
}, []), /* @__PURE__ */ l.jsx(
|
|
679
679
|
"div",
|
|
680
680
|
{
|
|
681
681
|
style: {
|
|
@@ -698,7 +698,7 @@ const Co = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
|
|
|
698
698
|
borderRadius: "16px",
|
|
699
699
|
border: "1px solid #333333"
|
|
700
700
|
}, ...t ? { height: "430px" } : {}, ...n ? { height: "430px" } : {} };
|
|
701
|
-
return /* @__PURE__ */
|
|
701
|
+
return /* @__PURE__ */ l.jsx("div", { style: a, children: /* @__PURE__ */ l.jsx(
|
|
702
702
|
"iframe",
|
|
703
703
|
{
|
|
704
704
|
title: "preview",
|
|
@@ -711,7 +711,7 @@ const Co = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
) });
|
|
714
|
-
}, ia = ({ name: e }) => /* @__PURE__ */
|
|
714
|
+
}, ia = ({ name: e }) => /* @__PURE__ */ l.jsx(
|
|
715
715
|
"div",
|
|
716
716
|
{
|
|
717
717
|
style: {
|
|
@@ -742,7 +742,7 @@ function aa() {
|
|
|
742
742
|
if (Yr)
|
|
743
743
|
return Ae;
|
|
744
744
|
Yr = 1;
|
|
745
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
745
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
746
746
|
function M(b) {
|
|
747
747
|
if (typeof b == "object" && b !== null) {
|
|
748
748
|
var G = b.$$typeof;
|
|
@@ -759,7 +759,7 @@ function aa() {
|
|
|
759
759
|
default:
|
|
760
760
|
switch (b = b && b.$$typeof, b) {
|
|
761
761
|
case A:
|
|
762
|
-
case
|
|
762
|
+
case s:
|
|
763
763
|
case f:
|
|
764
764
|
case g:
|
|
765
765
|
case a:
|
|
@@ -776,7 +776,7 @@ function aa() {
|
|
|
776
776
|
function L(b) {
|
|
777
777
|
return M(b) === u;
|
|
778
778
|
}
|
|
779
|
-
return Ae.AsyncMode = m, Ae.ConcurrentMode = u, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef =
|
|
779
|
+
return Ae.AsyncMode = m, Ae.ConcurrentMode = u, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef = s, Ae.Fragment = r, Ae.Lazy = f, Ae.Memo = g, Ae.Portal = n, Ae.Profiler = i, Ae.StrictMode = o, Ae.Suspense = d, Ae.isAsyncMode = function(b) {
|
|
780
780
|
return L(b) || M(b) === m;
|
|
781
781
|
}, Ae.isConcurrentMode = L, Ae.isContextConsumer = function(b) {
|
|
782
782
|
return M(b) === A;
|
|
@@ -785,7 +785,7 @@ function aa() {
|
|
|
785
785
|
}, Ae.isElement = function(b) {
|
|
786
786
|
return typeof b == "object" && b !== null && b.$$typeof === t;
|
|
787
787
|
}, Ae.isForwardRef = function(b) {
|
|
788
|
-
return M(b) ===
|
|
788
|
+
return M(b) === s;
|
|
789
789
|
}, Ae.isFragment = function(b) {
|
|
790
790
|
return M(b) === r;
|
|
791
791
|
}, Ae.isLazy = function(b) {
|
|
@@ -801,7 +801,7 @@ function aa() {
|
|
|
801
801
|
}, Ae.isSuspense = function(b) {
|
|
802
802
|
return M(b) === d;
|
|
803
803
|
}, Ae.isValidElementType = function(b) {
|
|
804
|
-
return typeof b == "string" || typeof b == "function" || b === r || b === u || b === i || b === o || b === d || b === v || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === g || b.$$typeof === a || b.$$typeof === A || b.$$typeof ===
|
|
804
|
+
return typeof b == "string" || typeof b == "function" || b === r || b === u || b === i || b === o || b === d || b === v || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === g || b.$$typeof === a || b.$$typeof === A || b.$$typeof === s || b.$$typeof === y || b.$$typeof === I || b.$$typeof === k || b.$$typeof === p);
|
|
805
805
|
}, Ae.typeOf = M, Ae;
|
|
806
806
|
}
|
|
807
807
|
var se = {};
|
|
@@ -816,10 +816,10 @@ var se = {};
|
|
|
816
816
|
var Jr;
|
|
817
817
|
function Aa() {
|
|
818
818
|
return Jr || (Jr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
819
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
819
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
820
820
|
function M(W) {
|
|
821
821
|
return typeof W == "string" || typeof W == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
822
|
-
W === r || W === u || W === i || W === o || W === d || W === v || typeof W == "object" && W !== null && (W.$$typeof === f || W.$$typeof === g || W.$$typeof === a || W.$$typeof === A || W.$$typeof ===
|
|
822
|
+
W === r || W === u || W === i || W === o || W === d || W === v || typeof W == "object" && W !== null && (W.$$typeof === f || W.$$typeof === g || W.$$typeof === a || W.$$typeof === A || W.$$typeof === s || W.$$typeof === y || W.$$typeof === I || W.$$typeof === k || W.$$typeof === p);
|
|
823
823
|
}
|
|
824
824
|
function L(W) {
|
|
825
825
|
if (typeof W == "object" && W !== null) {
|
|
@@ -839,7 +839,7 @@ function Aa() {
|
|
|
839
839
|
var de = ce && ce.$$typeof;
|
|
840
840
|
switch (de) {
|
|
841
841
|
case A:
|
|
842
|
-
case
|
|
842
|
+
case s:
|
|
843
843
|
case f:
|
|
844
844
|
case g:
|
|
845
845
|
case a:
|
|
@@ -853,7 +853,7 @@ function Aa() {
|
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
var b = m, G = u, X = A, F = a, ue = t, te =
|
|
856
|
+
var b = m, G = u, X = A, F = a, ue = t, te = s, ae = r, Q = f, _ = g, K = n, Y = i, J = o, h = d, j = !1;
|
|
857
857
|
function R(W) {
|
|
858
858
|
return j || (j = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(W) || L(W) === m;
|
|
859
859
|
}
|
|
@@ -870,7 +870,7 @@ function Aa() {
|
|
|
870
870
|
return typeof W == "object" && W !== null && W.$$typeof === t;
|
|
871
871
|
}
|
|
872
872
|
function O(W) {
|
|
873
|
-
return L(W) ===
|
|
873
|
+
return L(W) === s;
|
|
874
874
|
}
|
|
875
875
|
function $(W) {
|
|
876
876
|
return L(W) === r;
|
|
@@ -925,22 +925,22 @@ function sa() {
|
|
|
925
925
|
return !1;
|
|
926
926
|
for (var a = {}, A = 0; A < 10; A++)
|
|
927
927
|
a["_" + String.fromCharCode(A)] = A;
|
|
928
|
-
var m = Object.getOwnPropertyNames(a).map(function(
|
|
929
|
-
return a[
|
|
928
|
+
var m = Object.getOwnPropertyNames(a).map(function(s) {
|
|
929
|
+
return a[s];
|
|
930
930
|
});
|
|
931
931
|
if (m.join("") !== "0123456789")
|
|
932
932
|
return !1;
|
|
933
933
|
var u = {};
|
|
934
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
935
|
-
u[
|
|
934
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(s) {
|
|
935
|
+
u[s] = s;
|
|
936
936
|
}), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst";
|
|
937
937
|
} catch {
|
|
938
938
|
return !1;
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
return xn = o() ? Object.assign : function(i, a) {
|
|
942
|
-
for (var A, m = r(i), u,
|
|
943
|
-
A = Object(arguments[
|
|
942
|
+
for (var A, m = r(i), u, s = 1; s < arguments.length; s++) {
|
|
943
|
+
A = Object(arguments[s]);
|
|
944
944
|
for (var d in A)
|
|
945
945
|
t.call(A, d) && (m[d] = A[d]);
|
|
946
946
|
if (e) {
|
|
@@ -984,22 +984,22 @@ function la() {
|
|
|
984
984
|
}
|
|
985
985
|
function o(i, a, A, m, u) {
|
|
986
986
|
if (process.env.NODE_ENV !== "production") {
|
|
987
|
-
for (var
|
|
988
|
-
if (r(i,
|
|
987
|
+
for (var s in i)
|
|
988
|
+
if (r(i, s)) {
|
|
989
989
|
var d;
|
|
990
990
|
try {
|
|
991
|
-
if (typeof i[
|
|
991
|
+
if (typeof i[s] != "function") {
|
|
992
992
|
var v = Error(
|
|
993
|
-
(m || "React class") + ": " + A + " type `" +
|
|
993
|
+
(m || "React class") + ": " + A + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
994
994
|
);
|
|
995
995
|
throw v.name = "Invariant Violation", v;
|
|
996
996
|
}
|
|
997
|
-
d = i[
|
|
997
|
+
d = i[s](a, s, m, A, null, t);
|
|
998
998
|
} catch (f) {
|
|
999
999
|
d = f;
|
|
1000
1000
|
}
|
|
1001
1001
|
if (d && !(d instanceof Error) && e(
|
|
1002
|
-
(m || "React class") + ": type specification of " + A + " `" +
|
|
1002
|
+
(m || "React class") + ": type specification of " + A + " `" + s + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1003
1003
|
), d instanceof Error && !(d.message in n)) {
|
|
1004
1004
|
n[d.message] = !0;
|
|
1005
1005
|
var g = u ? u() : "";
|
|
@@ -1033,9 +1033,9 @@ function ua() {
|
|
|
1033
1033
|
return null;
|
|
1034
1034
|
}
|
|
1035
1035
|
return Sn = function(A, m) {
|
|
1036
|
-
var u = typeof Symbol == "function" && Symbol.iterator,
|
|
1036
|
+
var u = typeof Symbol == "function" && Symbol.iterator, s = "@@iterator";
|
|
1037
1037
|
function d(C) {
|
|
1038
|
-
var Z = C && (u && C[u] || C[
|
|
1038
|
+
var Z = C && (u && C[u] || C[s]);
|
|
1039
1039
|
if (typeof Z == "function")
|
|
1040
1040
|
return Z;
|
|
1041
1041
|
}
|
|
@@ -1347,7 +1347,7 @@ function ca() {
|
|
|
1347
1347
|
function n() {
|
|
1348
1348
|
}
|
|
1349
1349
|
return n.resetWarningCache = t, Ln = function() {
|
|
1350
|
-
function r(a, A, m, u,
|
|
1350
|
+
function r(a, A, m, u, s, d) {
|
|
1351
1351
|
if (d !== e) {
|
|
1352
1352
|
var v = new Error(
|
|
1353
1353
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1667,29 +1667,29 @@ Wo.prototype = {
|
|
|
1667
1667
|
this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
|
|
1668
1668
|
}
|
|
1669
1669
|
};
|
|
1670
|
-
var ga = Wo,
|
|
1670
|
+
var ga = Wo, ze = {
|
|
1671
1671
|
glog: function(e) {
|
|
1672
1672
|
if (e < 1)
|
|
1673
1673
|
throw new Error("glog(" + e + ")");
|
|
1674
|
-
return
|
|
1674
|
+
return ze.LOG_TABLE[e];
|
|
1675
1675
|
},
|
|
1676
1676
|
gexp: function(e) {
|
|
1677
1677
|
for (; e < 0; )
|
|
1678
1678
|
e += 255;
|
|
1679
1679
|
for (; e >= 256; )
|
|
1680
1680
|
e -= 255;
|
|
1681
|
-
return
|
|
1681
|
+
return ze.EXP_TABLE[e];
|
|
1682
1682
|
},
|
|
1683
1683
|
EXP_TABLE: new Array(256),
|
|
1684
1684
|
LOG_TABLE: new Array(256)
|
|
1685
1685
|
};
|
|
1686
|
-
for (var
|
|
1687
|
-
|
|
1688
|
-
for (var
|
|
1689
|
-
|
|
1690
|
-
for (var
|
|
1691
|
-
|
|
1692
|
-
var Mo =
|
|
1686
|
+
for (var Ce = 0; Ce < 8; Ce++)
|
|
1687
|
+
ze.EXP_TABLE[Ce] = 1 << Ce;
|
|
1688
|
+
for (var Ce = 8; Ce < 256; Ce++)
|
|
1689
|
+
ze.EXP_TABLE[Ce] = ze.EXP_TABLE[Ce - 4] ^ ze.EXP_TABLE[Ce - 5] ^ ze.EXP_TABLE[Ce - 6] ^ ze.EXP_TABLE[Ce - 8];
|
|
1690
|
+
for (var Ce = 0; Ce < 255; Ce++)
|
|
1691
|
+
ze.LOG_TABLE[ze.EXP_TABLE[Ce]] = Ce;
|
|
1692
|
+
var Mo = ze, nt = Mo;
|
|
1693
1693
|
function Vt(e, t) {
|
|
1694
1694
|
if (e.length == null)
|
|
1695
1695
|
throw new Error(e.length + "/" + t);
|
|
@@ -1731,7 +1731,7 @@ var So = Vt, Se = xo, Qr = So, qa = Mo, Be = {
|
|
|
1731
1731
|
PATTERN101: 5,
|
|
1732
1732
|
PATTERN110: 6,
|
|
1733
1733
|
PATTERN111: 7
|
|
1734
|
-
},
|
|
1734
|
+
}, be = {
|
|
1735
1735
|
PATTERN_POSITION_TABLE: [
|
|
1736
1736
|
[],
|
|
1737
1737
|
[6, 18],
|
|
@@ -1778,13 +1778,13 @@ var So = Vt, Se = xo, Qr = So, qa = Mo, Be = {
|
|
|
1778
1778
|
G18: 7973,
|
|
1779
1779
|
G15_MASK: 21522,
|
|
1780
1780
|
getBCHTypeInfo: function(e) {
|
|
1781
|
-
for (var t = e << 10;
|
|
1782
|
-
t ^=
|
|
1783
|
-
return (e << 10 | t) ^
|
|
1781
|
+
for (var t = e << 10; be.getBCHDigit(t) - be.getBCHDigit(be.G15) >= 0; )
|
|
1782
|
+
t ^= be.G15 << be.getBCHDigit(t) - be.getBCHDigit(be.G15);
|
|
1783
|
+
return (e << 10 | t) ^ be.G15_MASK;
|
|
1784
1784
|
},
|
|
1785
1785
|
getBCHTypeNumber: function(e) {
|
|
1786
|
-
for (var t = e << 12;
|
|
1787
|
-
t ^=
|
|
1786
|
+
for (var t = e << 12; be.getBCHDigit(t) - be.getBCHDigit(be.G18) >= 0; )
|
|
1787
|
+
t ^= be.G18 << be.getBCHDigit(t) - be.getBCHDigit(be.G18);
|
|
1788
1788
|
return e << 12 | t;
|
|
1789
1789
|
},
|
|
1790
1790
|
getBCHDigit: function(e) {
|
|
@@ -1793,7 +1793,7 @@ var So = Vt, Se = xo, Qr = So, qa = Mo, Be = {
|
|
|
1793
1793
|
return t;
|
|
1794
1794
|
},
|
|
1795
1795
|
getPatternPosition: function(e) {
|
|
1796
|
-
return
|
|
1796
|
+
return be.PATTERN_POSITION_TABLE[e - 1];
|
|
1797
1797
|
},
|
|
1798
1798
|
getMask: function(e, t, n) {
|
|
1799
1799
|
switch (e) {
|
|
@@ -1885,13 +1885,13 @@ var So = Vt, Se = xo, Qr = So, qa = Mo, Be = {
|
|
|
1885
1885
|
for (var o = 0; o < t; o++)
|
|
1886
1886
|
for (var r = 0; r < t - 6; r++)
|
|
1887
1887
|
e.isDark(r, o) && !e.isDark(r + 1, o) && e.isDark(r + 2, o) && e.isDark(r + 3, o) && e.isDark(r + 4, o) && !e.isDark(r + 5, o) && e.isDark(r + 6, o) && (n += 40);
|
|
1888
|
-
for (var
|
|
1888
|
+
for (var s = 0, o = 0; o < t; o++)
|
|
1889
1889
|
for (var r = 0; r < t; r++)
|
|
1890
|
-
e.isDark(r, o) &&
|
|
1891
|
-
var d = Math.abs(100 *
|
|
1890
|
+
e.isDark(r, o) && s++;
|
|
1891
|
+
var d = Math.abs(100 * s / t / t - 50) / 5;
|
|
1892
1892
|
return n += d * 10, n;
|
|
1893
1893
|
}
|
|
1894
|
-
}, ya =
|
|
1894
|
+
}, ya = be, va = fa, Lo = ha, Oo = ga, $e = ya, ba = So;
|
|
1895
1895
|
function He(e, t) {
|
|
1896
1896
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1897
1897
|
}
|
|
@@ -2032,24 +2032,24 @@ He.createBytes = function(e, t) {
|
|
|
2032
2032
|
for (var n = 0, r = 0, o = 0, i = new Array(t.length), a = new Array(t.length), A = 0; A < t.length; A++) {
|
|
2033
2033
|
var m = t[A].dataCount, u = t[A].totalCount - m;
|
|
2034
2034
|
r = Math.max(r, m), o = Math.max(o, u), i[A] = new Array(m);
|
|
2035
|
-
for (var
|
|
2036
|
-
i[A][
|
|
2035
|
+
for (var s = 0; s < i[A].length; s++)
|
|
2036
|
+
i[A][s] = 255 & e.buffer[s + n];
|
|
2037
2037
|
n += m;
|
|
2038
2038
|
var d = $e.getErrorCorrectPolynomial(u), v = new ba(i[A], d.getLength() - 1), g = v.mod(d);
|
|
2039
2039
|
a[A] = new Array(d.getLength() - 1);
|
|
2040
|
-
for (var
|
|
2041
|
-
var f =
|
|
2042
|
-
a[A][
|
|
2040
|
+
for (var s = 0; s < a[A].length; s++) {
|
|
2041
|
+
var f = s + g.getLength() - a[A].length;
|
|
2042
|
+
a[A][s] = f >= 0 ? g.get(f) : 0;
|
|
2043
2043
|
}
|
|
2044
2044
|
}
|
|
2045
|
-
for (var p = 0,
|
|
2046
|
-
p += t[
|
|
2047
|
-
for (var y = new Array(p), I = 0,
|
|
2045
|
+
for (var p = 0, s = 0; s < t.length; s++)
|
|
2046
|
+
p += t[s].totalCount;
|
|
2047
|
+
for (var y = new Array(p), I = 0, s = 0; s < r; s++)
|
|
2048
2048
|
for (var A = 0; A < t.length; A++)
|
|
2049
|
-
|
|
2050
|
-
for (var
|
|
2049
|
+
s < i[A].length && (y[I++] = i[A][s]);
|
|
2050
|
+
for (var s = 0; s < o; s++)
|
|
2051
2051
|
for (var A = 0; A < t.length; A++)
|
|
2052
|
-
|
|
2052
|
+
s < a[A].length && (y[I++] = a[A][s]);
|
|
2053
2053
|
return y;
|
|
2054
2054
|
};
|
|
2055
2055
|
var Ca = He, sr = {};
|
|
@@ -2083,10 +2083,10 @@ var xa = {
|
|
|
2083
2083
|
viewBoxSize: Le.default.number.isRequired,
|
|
2084
2084
|
xmlns: Le.default.string
|
|
2085
2085
|
}, lr = (0, Eo.forwardRef)(function(e, t) {
|
|
2086
|
-
var n = e.bgColor, r = e.bgD, o = e.fgD, i = e.fgColor, a = e.size, A = e.title, m = e.viewBoxSize, u = e.xmlns,
|
|
2086
|
+
var n = e.bgColor, r = e.bgD, o = e.fgD, i = e.fgColor, a = e.size, A = e.title, m = e.viewBoxSize, u = e.xmlns, s = u === void 0 ? "http://www.w3.org/2000/svg" : u, d = wa(e, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize", "xmlns"]);
|
|
2087
2087
|
return Tt.default.createElement(
|
|
2088
2088
|
"svg",
|
|
2089
|
-
Za({}, d, { height: a, ref: t, viewBox: "0 0 " + m + " " + m, width: a, xmlns:
|
|
2089
|
+
Za({}, d, { height: a, ref: t, viewBox: "0 0 " + m + " " + m, width: a, xmlns: s }),
|
|
2090
2090
|
A ? Tt.default.createElement(
|
|
2091
2091
|
"title",
|
|
2092
2092
|
null,
|
|
@@ -2127,8 +2127,8 @@ var Ya = {
|
|
|
2127
2127
|
size: Qe.default.number,
|
|
2128
2128
|
value: Qe.default.string.isRequired
|
|
2129
2129
|
}, un = (0, jo.forwardRef)(function(e, t) {
|
|
2130
|
-
var n = e.bgColor, r = n === void 0 ? "#FFFFFF" : n, o = e.fgColor, i = o === void 0 ? "#000000" : o, a = e.level, A = a === void 0 ? "L" : a, m = e.size, u = m === void 0 ? 256 : m,
|
|
2131
|
-
v.addData(
|
|
2130
|
+
var n = e.bgColor, r = n === void 0 ? "#FFFFFF" : n, o = e.fgColor, i = o === void 0 ? "#000000" : o, a = e.level, A = a === void 0 ? "L" : a, m = e.size, u = m === void 0 ? 256 : m, s = e.value, d = za(e, ["bgColor", "fgColor", "level", "size", "value"]), v = new Oa.default(-1, Sa.default[A]);
|
|
2131
|
+
v.addData(s), v.make();
|
|
2132
2132
|
var g = v.modules;
|
|
2133
2133
|
return Ea.default.createElement(ja.default, Ka({}, d, {
|
|
2134
2134
|
bgColor: r,
|
|
@@ -2156,7 +2156,7 @@ const zo = ({
|
|
|
2156
2156
|
title: e,
|
|
2157
2157
|
titleId: t,
|
|
2158
2158
|
...n
|
|
2159
|
-
}) => /* @__PURE__ */
|
|
2159
|
+
}) => /* @__PURE__ */ l.jsxs(
|
|
2160
2160
|
"svg",
|
|
2161
2161
|
{
|
|
2162
2162
|
viewBox: "0 0 25 24",
|
|
@@ -2167,8 +2167,8 @@ const zo = ({
|
|
|
2167
2167
|
"aria-labelledby": t,
|
|
2168
2168
|
...n,
|
|
2169
2169
|
children: [
|
|
2170
|
-
e ? /* @__PURE__ */
|
|
2171
|
-
/* @__PURE__ */
|
|
2170
|
+
e ? /* @__PURE__ */ l.jsx("title", { id: t, children: e }) : null,
|
|
2171
|
+
/* @__PURE__ */ l.jsx(
|
|
2172
2172
|
"path",
|
|
2173
2173
|
{
|
|
2174
2174
|
stroke: "currentColor",
|
|
@@ -2178,7 +2178,7 @@ const zo = ({
|
|
|
2178
2178
|
strokeLinejoin: "round"
|
|
2179
2179
|
}
|
|
2180
2180
|
),
|
|
2181
|
-
/* @__PURE__ */
|
|
2181
|
+
/* @__PURE__ */ l.jsx(
|
|
2182
2182
|
"path",
|
|
2183
2183
|
{
|
|
2184
2184
|
stroke: "currentColor",
|
|
@@ -2201,22 +2201,22 @@ const { toString: Na } = Object.prototype, { getPrototypeOf: ur } = Object, cn =
|
|
|
2201
2201
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2202
2202
|
})(/* @__PURE__ */ Object.create(null)), Re = (e) => (e = e.toLowerCase(), (t) => cn(t) === e), mn = (e) => (t) => typeof t === e, { isArray: gt } = Array, Lt = mn("undefined");
|
|
2203
2203
|
function Ra(e) {
|
|
2204
|
-
return e !== null && !Lt(e) && e.constructor !== null && !Lt(e.constructor) &&
|
|
2204
|
+
return e !== null && !Lt(e) && e.constructor !== null && !Lt(e.constructor) && ke(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2205
2205
|
}
|
|
2206
2206
|
const Jo = Re("ArrayBuffer");
|
|
2207
2207
|
function Da(e) {
|
|
2208
2208
|
let t;
|
|
2209
2209
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Jo(e.buffer), t;
|
|
2210
2210
|
}
|
|
2211
|
-
const Ga = mn("string"),
|
|
2211
|
+
const Ga = mn("string"), ke = mn("function"), No = mn("number"), dn = (e) => e !== null && typeof e == "object", Ta = (e) => e === !0 || e === !1, Bt = (e) => {
|
|
2212
2212
|
if (cn(e) !== "object")
|
|
2213
2213
|
return !1;
|
|
2214
2214
|
const t = ur(e);
|
|
2215
2215
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2216
|
-
}, Ha = Re("Date"), Xa = Re("File"), Qa = Re("Blob"), Pa = Re("FileList"), Va = (e) => dn(e) &&
|
|
2216
|
+
}, Ha = Re("Date"), Xa = Re("File"), Qa = Re("Blob"), Pa = Re("FileList"), Va = (e) => dn(e) && ke(e.pipe), Ba = (e) => {
|
|
2217
2217
|
let t;
|
|
2218
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
2219
|
-
t === "object" &&
|
|
2218
|
+
return e && (typeof FormData == "function" && e instanceof FormData || ke(e.append) && ((t = cn(e)) === "formdata" || // detect form-data instance
|
|
2219
|
+
t === "object" && ke(e.toString) && e.toString() === "[object FormData]"));
|
|
2220
2220
|
}, Ua = Re("URLSearchParams"), [Fa, _a, $a, eA] = ["ReadableStream", "Request", "Response", "Headers"].map(Re), tA = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2221
2221
|
function zt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2222
2222
|
if (e === null || typeof e > "u")
|
|
@@ -2252,7 +2252,7 @@ function Hn() {
|
|
|
2252
2252
|
return t;
|
|
2253
2253
|
}
|
|
2254
2254
|
const nA = (e, t, n, { allOwnKeys: r } = {}) => (zt(t, (o, i) => {
|
|
2255
|
-
n &&
|
|
2255
|
+
n && ke(o) ? e[i] = Yo(o, n) : e[i] = o;
|
|
2256
2256
|
}, { allOwnKeys: r }), e), rA = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), oA = (e, t, n, r) => {
|
|
2257
2257
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
2258
2258
|
value: t.prototype
|
|
@@ -2310,10 +2310,10 @@ const nA = (e, t, n, { allOwnKeys: r } = {}) => (zt(t, (o, i) => {
|
|
|
2310
2310
|
}), Object.defineProperties(e, r);
|
|
2311
2311
|
}, pA = (e) => {
|
|
2312
2312
|
To(e, (t, n) => {
|
|
2313
|
-
if (
|
|
2313
|
+
if (ke(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
2314
2314
|
return !1;
|
|
2315
2315
|
const r = e[n];
|
|
2316
|
-
if (
|
|
2316
|
+
if (ke(r)) {
|
|
2317
2317
|
if (t.enumerable = !1, "writable" in t) {
|
|
2318
2318
|
t.writable = !1;
|
|
2319
2319
|
return;
|
|
@@ -2343,7 +2343,7 @@ const nA = (e, t, n, { allOwnKeys: r } = {}) => (zt(t, (o, i) => {
|
|
|
2343
2343
|
return n;
|
|
2344
2344
|
};
|
|
2345
2345
|
function yA(e) {
|
|
2346
|
-
return !!(e &&
|
|
2346
|
+
return !!(e && ke(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
2347
2347
|
}
|
|
2348
2348
|
const vA = (e) => {
|
|
2349
2349
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -2362,7 +2362,7 @@ const vA = (e) => {
|
|
|
2362
2362
|
return r;
|
|
2363
2363
|
};
|
|
2364
2364
|
return n(e, 0);
|
|
2365
|
-
}, bA = Re("AsyncFunction"), CA = (e) => e && (dn(e) ||
|
|
2365
|
+
}, bA = Re("AsyncFunction"), CA = (e) => e && (dn(e) || ke(e)) && ke(e.then) && ke(e.catch), q = {
|
|
2366
2366
|
isArray: gt,
|
|
2367
2367
|
isArrayBuffer: Jo,
|
|
2368
2368
|
isBuffer: Ra,
|
|
@@ -2382,7 +2382,7 @@ const vA = (e) => {
|
|
|
2382
2382
|
isFile: Xa,
|
|
2383
2383
|
isBlob: Qa,
|
|
2384
2384
|
isRegExp: dA,
|
|
2385
|
-
isFunction:
|
|
2385
|
+
isFunction: ke,
|
|
2386
2386
|
isStream: Va,
|
|
2387
2387
|
isURLSearchParams: Ua,
|
|
2388
2388
|
isTypedArray: sA,
|
|
@@ -2498,7 +2498,7 @@ function pn(e, t, n) {
|
|
|
2498
2498
|
}, !1, function(p, y) {
|
|
2499
2499
|
return !q.isUndefined(y[p]);
|
|
2500
2500
|
});
|
|
2501
|
-
const r = n.metaTokens, o = n.visitor ||
|
|
2501
|
+
const r = n.metaTokens, o = n.visitor || s, i = n.dots, a = n.indexes, m = (n.Blob || typeof Blob < "u" && Blob) && q.isSpecCompliantForm(t);
|
|
2502
2502
|
if (!q.isFunction(o))
|
|
2503
2503
|
throw new TypeError("visitor must be a function");
|
|
2504
2504
|
function u(f) {
|
|
@@ -2510,7 +2510,7 @@ function pn(e, t, n) {
|
|
|
2510
2510
|
throw new U("Blob is not supported. Use a Buffer instead.");
|
|
2511
2511
|
return q.isArrayBuffer(f) || q.isTypedArray(f) ? m && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2512
2512
|
}
|
|
2513
|
-
function
|
|
2513
|
+
function s(f, p, y) {
|
|
2514
2514
|
let I = f;
|
|
2515
2515
|
if (f && !y && typeof f == "object") {
|
|
2516
2516
|
if (q.endsWith(p, "{}"))
|
|
@@ -2527,7 +2527,7 @@ function pn(e, t, n) {
|
|
|
2527
2527
|
return Xn(f) ? !0 : (t.append(Br(y, p, i), u(f)), !1);
|
|
2528
2528
|
}
|
|
2529
2529
|
const d = [], v = Object.assign(wA, {
|
|
2530
|
-
defaultVisitor:
|
|
2530
|
+
defaultVisitor: s,
|
|
2531
2531
|
convertValue: u,
|
|
2532
2532
|
isVisitable: Xn
|
|
2533
2533
|
});
|
|
@@ -2855,13 +2855,13 @@ class fn {
|
|
|
2855
2855
|
set(t, n, r) {
|
|
2856
2856
|
const o = this;
|
|
2857
2857
|
function i(A, m, u) {
|
|
2858
|
-
const
|
|
2859
|
-
if (!
|
|
2858
|
+
const s = xt(m);
|
|
2859
|
+
if (!s)
|
|
2860
2860
|
throw new Error("header name must be a non-empty string");
|
|
2861
|
-
const d = q.findKey(o,
|
|
2861
|
+
const d = q.findKey(o, s);
|
|
2862
2862
|
(!d || o[d] === void 0 || u === !0 || u === void 0 && o[d] !== !1) && (o[d || m] = Ut(A));
|
|
2863
2863
|
}
|
|
2864
|
-
const a = (A, m) => q.forEach(A, (u,
|
|
2864
|
+
const a = (A, m) => q.forEach(A, (u, s) => i(u, s, m));
|
|
2865
2865
|
if (q.isPlainObject(t) || t instanceof this.constructor)
|
|
2866
2866
|
a(t, n);
|
|
2867
2867
|
else if (q.isString(t) && (t = t.trim()) && !TA(t))
|
|
@@ -3013,14 +3013,14 @@ function PA(e, t) {
|
|
|
3013
3013
|
const n = new Array(e), r = new Array(e);
|
|
3014
3014
|
let o = 0, i = 0, a;
|
|
3015
3015
|
return t = t !== void 0 ? t : 1e3, function(m) {
|
|
3016
|
-
const u = Date.now(),
|
|
3016
|
+
const u = Date.now(), s = r[i];
|
|
3017
3017
|
a || (a = u), n[o] = m, r[o] = u;
|
|
3018
3018
|
let d = i, v = 0;
|
|
3019
3019
|
for (; d !== o; )
|
|
3020
3020
|
v += n[d++], d = d % e;
|
|
3021
3021
|
if (o = (o + 1) % e, o === i && (i = (i + 1) % e), u - a < t)
|
|
3022
3022
|
return;
|
|
3023
|
-
const g =
|
|
3023
|
+
const g = s && u - s;
|
|
3024
3024
|
return g ? Math.round(v * 1e3 / g) : void 0;
|
|
3025
3025
|
};
|
|
3026
3026
|
}
|
|
@@ -3039,7 +3039,7 @@ const en = (e, t, n = 3) => {
|
|
|
3039
3039
|
let r = 0;
|
|
3040
3040
|
const o = PA(50, 250);
|
|
3041
3041
|
return VA((i) => {
|
|
3042
|
-
const a = i.loaded, A = i.lengthComputable ? i.total : void 0, m = a - r, u = o(m),
|
|
3042
|
+
const a = i.loaded, A = i.lengthComputable ? i.total : void 0, m = a - r, u = o(m), s = a <= A;
|
|
3043
3043
|
r = a;
|
|
3044
3044
|
const d = {
|
|
3045
3045
|
loaded: a,
|
|
@@ -3047,7 +3047,7 @@ const en = (e, t, n = 3) => {
|
|
|
3047
3047
|
progress: A ? a / A : void 0,
|
|
3048
3048
|
bytes: m,
|
|
3049
3049
|
rate: u || void 0,
|
|
3050
|
-
estimated: u && A &&
|
|
3050
|
+
estimated: u && A && s ? (A - a) / u : void 0,
|
|
3051
3051
|
event: i,
|
|
3052
3052
|
lengthComputable: A != null
|
|
3053
3053
|
};
|
|
@@ -3124,30 +3124,30 @@ const $r = (e) => e instanceof Je ? { ...e } : e;
|
|
|
3124
3124
|
function lt(e, t) {
|
|
3125
3125
|
t = t || {};
|
|
3126
3126
|
const n = {};
|
|
3127
|
-
function r(u,
|
|
3128
|
-
return q.isPlainObject(u) && q.isPlainObject(
|
|
3127
|
+
function r(u, s, d) {
|
|
3128
|
+
return q.isPlainObject(u) && q.isPlainObject(s) ? q.merge.call({ caseless: d }, u, s) : q.isPlainObject(s) ? q.merge({}, s) : q.isArray(s) ? s.slice() : s;
|
|
3129
3129
|
}
|
|
3130
|
-
function o(u,
|
|
3131
|
-
if (q.isUndefined(
|
|
3130
|
+
function o(u, s, d) {
|
|
3131
|
+
if (q.isUndefined(s)) {
|
|
3132
3132
|
if (!q.isUndefined(u))
|
|
3133
3133
|
return r(void 0, u, d);
|
|
3134
3134
|
} else
|
|
3135
|
-
return r(u,
|
|
3135
|
+
return r(u, s, d);
|
|
3136
3136
|
}
|
|
3137
|
-
function i(u,
|
|
3138
|
-
if (!q.isUndefined(
|
|
3139
|
-
return r(void 0,
|
|
3137
|
+
function i(u, s) {
|
|
3138
|
+
if (!q.isUndefined(s))
|
|
3139
|
+
return r(void 0, s);
|
|
3140
3140
|
}
|
|
3141
|
-
function a(u,
|
|
3142
|
-
if (q.isUndefined(
|
|
3141
|
+
function a(u, s) {
|
|
3142
|
+
if (q.isUndefined(s)) {
|
|
3143
3143
|
if (!q.isUndefined(u))
|
|
3144
3144
|
return r(void 0, u);
|
|
3145
3145
|
} else
|
|
3146
|
-
return r(void 0,
|
|
3146
|
+
return r(void 0, s);
|
|
3147
3147
|
}
|
|
3148
|
-
function A(u,
|
|
3148
|
+
function A(u, s, d) {
|
|
3149
3149
|
if (d in t)
|
|
3150
|
-
return r(u,
|
|
3150
|
+
return r(u, s);
|
|
3151
3151
|
if (d in e)
|
|
3152
3152
|
return r(void 0, u);
|
|
3153
3153
|
}
|
|
@@ -3180,11 +3180,11 @@ function lt(e, t) {
|
|
|
3180
3180
|
socketPath: a,
|
|
3181
3181
|
responseEncoding: a,
|
|
3182
3182
|
validateStatus: A,
|
|
3183
|
-
headers: (u,
|
|
3183
|
+
headers: (u, s) => o($r(u), $r(s), !0)
|
|
3184
3184
|
};
|
|
3185
|
-
return q.forEach(Object.keys(Object.assign({}, e, t)), function(
|
|
3186
|
-
const d = m[
|
|
3187
|
-
q.isUndefined(v) && d !== A || (n[
|
|
3185
|
+
return q.forEach(Object.keys(Object.assign({}, e, t)), function(s) {
|
|
3186
|
+
const d = m[s] || o, v = d(e[s], t[s], s);
|
|
3187
|
+
q.isUndefined(v) && d !== A || (n[s] = v);
|
|
3188
3188
|
}), n;
|
|
3189
3189
|
}
|
|
3190
3190
|
const ti = (e) => {
|
|
@@ -3199,8 +3199,8 @@ const ti = (e) => {
|
|
|
3199
3199
|
if (Ye.hasStandardBrowserEnv || Ye.hasStandardBrowserWebWorkerEnv)
|
|
3200
3200
|
a.setContentType(void 0);
|
|
3201
3201
|
else if ((m = a.getContentType()) !== !1) {
|
|
3202
|
-
const [u, ...
|
|
3203
|
-
a.setContentType([u || "multipart/form-data", ...
|
|
3202
|
+
const [u, ...s] = m ? m.split(";").map((d) => d.trim()).filter(Boolean) : [];
|
|
3203
|
+
a.setContentType([u || "multipart/form-data", ...s].join("; "));
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
if (Ye.hasStandardBrowserEnv && (r && q.isFunction(r) && (r = r(t)), r || r !== !1 && BA(t.url))) {
|
|
@@ -3217,53 +3217,53 @@ const ti = (e) => {
|
|
|
3217
3217
|
function u() {
|
|
3218
3218
|
o.cancelToken && o.cancelToken.unsubscribe(m), o.signal && o.signal.removeEventListener("abort", m);
|
|
3219
3219
|
}
|
|
3220
|
-
let
|
|
3221
|
-
|
|
3220
|
+
let s = new XMLHttpRequest();
|
|
3221
|
+
s.open(o.method.toUpperCase(), o.url, !0), s.timeout = o.timeout;
|
|
3222
3222
|
function d() {
|
|
3223
|
-
if (!
|
|
3223
|
+
if (!s)
|
|
3224
3224
|
return;
|
|
3225
3225
|
const g = Je.from(
|
|
3226
|
-
"getAllResponseHeaders" in
|
|
3226
|
+
"getAllResponseHeaders" in s && s.getAllResponseHeaders()
|
|
3227
3227
|
), p = {
|
|
3228
|
-
data: !A || A === "text" || A === "json" ?
|
|
3229
|
-
status:
|
|
3230
|
-
statusText:
|
|
3228
|
+
data: !A || A === "text" || A === "json" ? s.responseText : s.response,
|
|
3229
|
+
status: s.status,
|
|
3230
|
+
statusText: s.statusText,
|
|
3231
3231
|
headers: g,
|
|
3232
3232
|
config: e,
|
|
3233
|
-
request:
|
|
3233
|
+
request: s
|
|
3234
3234
|
};
|
|
3235
3235
|
$o(function(I) {
|
|
3236
3236
|
n(I), u();
|
|
3237
3237
|
}, function(I) {
|
|
3238
3238
|
r(I), u();
|
|
3239
|
-
}, p),
|
|
3240
|
-
}
|
|
3241
|
-
"onloadend" in
|
|
3242
|
-
!
|
|
3243
|
-
},
|
|
3244
|
-
|
|
3245
|
-
},
|
|
3246
|
-
r(new U("Network Error", U.ERR_NETWORK, o,
|
|
3247
|
-
},
|
|
3239
|
+
}, p), s = null;
|
|
3240
|
+
}
|
|
3241
|
+
"onloadend" in s ? s.onloadend = d : s.onreadystatechange = function() {
|
|
3242
|
+
!s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(d);
|
|
3243
|
+
}, s.onabort = function() {
|
|
3244
|
+
s && (r(new U("Request aborted", U.ECONNABORTED, o, s)), s = null);
|
|
3245
|
+
}, s.onerror = function() {
|
|
3246
|
+
r(new U("Network Error", U.ERR_NETWORK, o, s)), s = null;
|
|
3247
|
+
}, s.ontimeout = function() {
|
|
3248
3248
|
let f = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
3249
3249
|
const p = o.transitional || Uo;
|
|
3250
3250
|
o.timeoutErrorMessage && (f = o.timeoutErrorMessage), r(new U(
|
|
3251
3251
|
f,
|
|
3252
3252
|
p.clarifyTimeoutError ? U.ETIMEDOUT : U.ECONNABORTED,
|
|
3253
3253
|
o,
|
|
3254
|
-
|
|
3255
|
-
)),
|
|
3256
|
-
}, i === void 0 && a.setContentType(null), "setRequestHeader" in
|
|
3257
|
-
|
|
3258
|
-
}), q.isUndefined(o.withCredentials) || (
|
|
3259
|
-
|
|
3254
|
+
s
|
|
3255
|
+
)), s = null;
|
|
3256
|
+
}, i === void 0 && a.setContentType(null), "setRequestHeader" in s && q.forEach(a.toJSON(), function(f, p) {
|
|
3257
|
+
s.setRequestHeader(p, f);
|
|
3258
|
+
}), q.isUndefined(o.withCredentials) || (s.withCredentials = !!o.withCredentials), A && A !== "json" && (s.responseType = o.responseType), typeof o.onDownloadProgress == "function" && s.addEventListener("progress", en(o.onDownloadProgress, !0)), typeof o.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", en(o.onUploadProgress)), (o.cancelToken || o.signal) && (m = (g) => {
|
|
3259
|
+
s && (r(!g || g.type ? new qt(null, e, s) : g), s.abort(), s = null);
|
|
3260
3260
|
}, o.cancelToken && o.cancelToken.subscribe(m), o.signal && (o.signal.aborted ? m() : o.signal.addEventListener("abort", m)));
|
|
3261
3261
|
const v = QA(o.url);
|
|
3262
3262
|
if (v && Ye.protocols.indexOf(v) === -1) {
|
|
3263
3263
|
r(new U("Unsupported protocol " + v + ":", U.ERR_BAD_REQUEST, e));
|
|
3264
3264
|
return;
|
|
3265
3265
|
}
|
|
3266
|
-
|
|
3266
|
+
s.send(i || null);
|
|
3267
3267
|
});
|
|
3268
3268
|
}, ts = (e, t) => {
|
|
3269
3269
|
let n = new AbortController(), r;
|
|
@@ -3310,8 +3310,8 @@ const ti = (e) => {
|
|
|
3310
3310
|
A.close(), r();
|
|
3311
3311
|
return;
|
|
3312
3312
|
}
|
|
3313
|
-
let
|
|
3314
|
-
n && n(a +=
|
|
3313
|
+
let s = u.byteLength;
|
|
3314
|
+
n && n(a += s), A.enqueue(new Uint8Array(u));
|
|
3315
3315
|
},
|
|
3316
3316
|
cancel(A) {
|
|
3317
3317
|
return r(A), i.return();
|
|
@@ -3376,7 +3376,7 @@ const as = async (e) => {
|
|
|
3376
3376
|
onDownloadProgress: A,
|
|
3377
3377
|
onUploadProgress: m,
|
|
3378
3378
|
responseType: u,
|
|
3379
|
-
headers:
|
|
3379
|
+
headers: s,
|
|
3380
3380
|
withCredentials: d = "same-origin",
|
|
3381
3381
|
fetchOptions: v
|
|
3382
3382
|
} = ti(e);
|
|
@@ -3389,13 +3389,13 @@ const as = async (e) => {
|
|
|
3389
3389
|
};
|
|
3390
3390
|
let k;
|
|
3391
3391
|
try {
|
|
3392
|
-
if (m && is && n !== "get" && n !== "head" && (k = await As(
|
|
3392
|
+
if (m && is && n !== "get" && n !== "head" && (k = await As(s, r)) !== 0) {
|
|
3393
3393
|
let G = new Request(t, {
|
|
3394
3394
|
method: "POST",
|
|
3395
3395
|
body: r,
|
|
3396
3396
|
duplex: "half"
|
|
3397
3397
|
}), X;
|
|
3398
|
-
q.isFormData(r) && (X = G.headers.get("content-type")) &&
|
|
3398
|
+
q.isFormData(r) && (X = G.headers.get("content-type")) && s.setContentType(X), G.body && (r = eo(G.body, no, to(
|
|
3399
3399
|
k,
|
|
3400
3400
|
en(m)
|
|
3401
3401
|
), null, Qn));
|
|
@@ -3404,7 +3404,7 @@ const as = async (e) => {
|
|
|
3404
3404
|
...v,
|
|
3405
3405
|
signal: g,
|
|
3406
3406
|
method: n.toUpperCase(),
|
|
3407
|
-
headers:
|
|
3407
|
+
headers: s.normalize().toJSON(),
|
|
3408
3408
|
body: r,
|
|
3409
3409
|
duplex: "half",
|
|
3410
3410
|
withCredentials: d
|
|
@@ -3622,12 +3622,12 @@ class nn {
|
|
|
3622
3622
|
this.interceptors.response.forEach(function(p) {
|
|
3623
3623
|
u.push(p.fulfilled, p.rejected);
|
|
3624
3624
|
});
|
|
3625
|
-
let
|
|
3625
|
+
let s, d = 0, v;
|
|
3626
3626
|
if (!m) {
|
|
3627
3627
|
const f = [oo.bind(this), void 0];
|
|
3628
|
-
for (f.unshift.apply(f, A), f.push.apply(f, u), v = f.length,
|
|
3629
|
-
|
|
3630
|
-
return
|
|
3628
|
+
for (f.unshift.apply(f, A), f.push.apply(f, u), v = f.length, s = Promise.resolve(n); d < v; )
|
|
3629
|
+
s = s.then(f[d++], f[d++]);
|
|
3630
|
+
return s;
|
|
3631
3631
|
}
|
|
3632
3632
|
v = A.length;
|
|
3633
3633
|
let g = n;
|
|
@@ -3641,13 +3641,13 @@ class nn {
|
|
|
3641
3641
|
}
|
|
3642
3642
|
}
|
|
3643
3643
|
try {
|
|
3644
|
-
|
|
3644
|
+
s = oo.call(this, g);
|
|
3645
3645
|
} catch (f) {
|
|
3646
3646
|
return Promise.reject(f);
|
|
3647
3647
|
}
|
|
3648
3648
|
for (d = 0, v = u.length; d < v; )
|
|
3649
|
-
|
|
3650
|
-
return
|
|
3649
|
+
s = s.then(u[d++], u[d++]);
|
|
3650
|
+
return s;
|
|
3651
3651
|
}
|
|
3652
3652
|
getUri(t) {
|
|
3653
3653
|
t = lt(this.defaults, t);
|
|
@@ -3923,22 +3923,22 @@ function Fn(e, t) {
|
|
|
3923
3923
|
Fn({ read: ao.decodeValue, write: ao.encodeValue }, yr);
|
|
3924
3924
|
let ci;
|
|
3925
3925
|
typeof window < "u" && (ci = ui("token"));
|
|
3926
|
-
const
|
|
3926
|
+
const qe = fs.create({
|
|
3927
3927
|
headers: {
|
|
3928
3928
|
Authorization: ci
|
|
3929
3929
|
}
|
|
3930
3930
|
});
|
|
3931
3931
|
async function ys(e, t, n) {
|
|
3932
|
-
return (await
|
|
3932
|
+
return (await qe.post(n + "/createFlexVersionLinkMulti", {
|
|
3933
3933
|
_id: e,
|
|
3934
3934
|
networks: t
|
|
3935
3935
|
})).data;
|
|
3936
3936
|
}
|
|
3937
3937
|
async function vs(e, t) {
|
|
3938
|
-
return e.network == "fb" && (e.zip = 1), (await
|
|
3938
|
+
return e.network == "fb" && (e.zip = 1), (await qe.post(t + "/createFlexVersionLink", e || {})).data;
|
|
3939
3939
|
}
|
|
3940
3940
|
async function bs(e, t, n) {
|
|
3941
|
-
return (await
|
|
3941
|
+
return (await qe.post(e + "/createImportedVersionLink", {
|
|
3942
3942
|
_id: t,
|
|
3943
3943
|
network: n
|
|
3944
3944
|
// zip,
|
|
@@ -3946,7 +3946,7 @@ async function bs(e, t, n) {
|
|
|
3946
3946
|
})).data;
|
|
3947
3947
|
}
|
|
3948
3948
|
async function Cs(e, t, n, r, o) {
|
|
3949
|
-
return (await
|
|
3949
|
+
return (await qe.post(e + "/createPlayableVersionLink", {
|
|
3950
3950
|
_id: t,
|
|
3951
3951
|
network: n,
|
|
3952
3952
|
isPfTest: r,
|
|
@@ -3954,13 +3954,13 @@ async function Cs(e, t, n, r, o) {
|
|
|
3954
3954
|
})).data;
|
|
3955
3955
|
}
|
|
3956
3956
|
async function Zs(e, t, n) {
|
|
3957
|
-
return (await
|
|
3957
|
+
return (await qe.post(n + "/createPlayableVersionLinkMulti", {
|
|
3958
3958
|
_id: e,
|
|
3959
3959
|
networks: t
|
|
3960
3960
|
})).data;
|
|
3961
3961
|
}
|
|
3962
3962
|
async function Is(e, t, n, r, o) {
|
|
3963
|
-
return (await
|
|
3963
|
+
return (await qe.post(e + "/createReadyVersionLink", {
|
|
3964
3964
|
_id: t,
|
|
3965
3965
|
network: n,
|
|
3966
3966
|
isPfTest: r,
|
|
@@ -3968,16 +3968,19 @@ async function Is(e, t, n, r, o) {
|
|
|
3968
3968
|
})).data;
|
|
3969
3969
|
}
|
|
3970
3970
|
async function ws(e, t, n) {
|
|
3971
|
-
return (await
|
|
3971
|
+
return (await qe.post(n + "/createReadyVersionLinkMulti", {
|
|
3972
3972
|
_id: e,
|
|
3973
3973
|
networks: t
|
|
3974
3974
|
})).data;
|
|
3975
3975
|
}
|
|
3976
3976
|
async function xs(e, t) {
|
|
3977
|
-
return (await
|
|
3977
|
+
return (await qe.post(t + "/getCdnExportName", e || {})).data;
|
|
3978
|
+
}
|
|
3979
|
+
async function Ks(e, t) {
|
|
3980
|
+
return (await qe.post(t + "/updateFlexUrl", e || {})).data;
|
|
3978
3981
|
}
|
|
3979
3982
|
async function Ao(e, t, n) {
|
|
3980
|
-
return (await
|
|
3983
|
+
return (await qe.post(n + "/updatePlayableVersion", {
|
|
3981
3984
|
...t,
|
|
3982
3985
|
_id: e
|
|
3983
3986
|
})).data;
|
|
@@ -4010,7 +4013,7 @@ function Fe() {
|
|
|
4010
4013
|
return r;
|
|
4011
4014
|
}
|
|
4012
4015
|
const Wt = (e) => typeof e == "number" && !isNaN(e), ut = (e) => typeof e == "string", xe = (e) => typeof e == "function", _t = (e) => ut(e) || xe(e) ? e : null, zn = (e) => ht(e) || ut(e) || xe(e) || Wt(e);
|
|
4013
|
-
function
|
|
4016
|
+
function Ws(e, t, n) {
|
|
4014
4017
|
n === void 0 && (n = 300);
|
|
4015
4018
|
const { scrollHeight: r, style: o } = e;
|
|
4016
4019
|
requestAnimationFrame(() => {
|
|
@@ -4022,16 +4025,16 @@ function Ks(e, t, n) {
|
|
|
4022
4025
|
function gn(e) {
|
|
4023
4026
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
|
|
4024
4027
|
return function(a) {
|
|
4025
|
-
let { children: A, position: m, preventExitTransition: u, done:
|
|
4028
|
+
let { children: A, position: m, preventExitTransition: u, done: s, nodeRef: d, isIn: v } = a;
|
|
4026
4029
|
const g = r ? `${t}--${m}` : t, f = r ? `${n}--${m}` : n, p = it(0);
|
|
4027
4030
|
return Fi(() => {
|
|
4028
4031
|
const y = d.current, I = g.split(" "), k = (M) => {
|
|
4029
4032
|
M.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", k), y.removeEventListener("animationcancel", k), p.current === 0 && M.type !== "animationcancel" && y.classList.remove(...I));
|
|
4030
4033
|
};
|
|
4031
4034
|
y.classList.add(...I), y.addEventListener("animationend", k), y.addEventListener("animationcancel", k);
|
|
4032
|
-
}, []),
|
|
4035
|
+
}, []), ve(() => {
|
|
4033
4036
|
const y = d.current, I = () => {
|
|
4034
|
-
y.removeEventListener("animationend", I), o ?
|
|
4037
|
+
y.removeEventListener("animationend", I), o ? Ws(y, s, i) : s();
|
|
4035
4038
|
};
|
|
4036
4039
|
v || (u ? I() : (p.current = 1, y.className += ` ${f}`, y.addEventListener("animationend", I)));
|
|
4037
4040
|
}, [v]), ie.createElement(ie.Fragment, null, A);
|
|
@@ -4072,7 +4075,7 @@ const Oe = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
4072
4075
|
}, spinner: function() {
|
|
4073
4076
|
return ie.createElement("div", { className: "Toastify__spinner" });
|
|
4074
4077
|
} };
|
|
4075
|
-
function
|
|
4078
|
+
function Ms(e) {
|
|
4076
4079
|
const [, t] = Ui((g) => g + 1, 0), [n, r] = T([]), o = it(null), i = it(/* @__PURE__ */ new Map()).current, a = (g) => n.indexOf(g) !== -1, A = it({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (g) => i.get(g) }).current;
|
|
4077
4080
|
function m(g) {
|
|
4078
4081
|
let { containerId: f } = g;
|
|
@@ -4082,7 +4085,7 @@ function Ws(e) {
|
|
|
4082
4085
|
function u(g) {
|
|
4083
4086
|
r((f) => g == null ? [] : f.filter((p) => p !== g));
|
|
4084
4087
|
}
|
|
4085
|
-
function
|
|
4088
|
+
function s() {
|
|
4086
4089
|
const { toastContent: g, toastProps: f, staleId: p } = A.queue.shift();
|
|
4087
4090
|
v(g, f, p);
|
|
4088
4091
|
}
|
|
@@ -4104,12 +4107,12 @@ function Ws(e) {
|
|
|
4104
4107
|
if (A.count = k == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), _ > 0) {
|
|
4105
4108
|
const K = k == null ? A.props.limit : 1;
|
|
4106
4109
|
if (_ === 1 || K === 1)
|
|
4107
|
-
A.displayedToast++,
|
|
4110
|
+
A.displayedToast++, s();
|
|
4108
4111
|
else {
|
|
4109
4112
|
const Y = K > _ ? _ : K;
|
|
4110
4113
|
A.displayedToast = Y;
|
|
4111
4114
|
for (let J = 0; J < Y; J++)
|
|
4112
|
-
|
|
4115
|
+
s();
|
|
4113
4116
|
}
|
|
4114
4117
|
} else
|
|
4115
4118
|
t();
|
|
@@ -4131,9 +4134,9 @@ function Ws(e) {
|
|
|
4131
4134
|
const I = { content: g, props: f };
|
|
4132
4135
|
i.set(y, I), r((k) => [...k, y].filter((M) => M !== p)), Oe.emit(4, so(I, I.props.updateId == null ? "added" : "updated"));
|
|
4133
4136
|
}
|
|
4134
|
-
return
|
|
4137
|
+
return ve(() => (A.containerId = e.containerId, Oe.cancelEmit(3).on(0, d).on(1, (g) => o.current && u(g)).on(5, m).emit(2, A), () => {
|
|
4135
4138
|
i.clear(), Oe.emit(3, A);
|
|
4136
|
-
}), []),
|
|
4139
|
+
}), []), ve(() => {
|
|
4137
4140
|
A.props = e, A.isToastActive = a, A.displayedToast = n.length;
|
|
4138
4141
|
}), { getToastToRender: function(g) {
|
|
4139
4142
|
const f = /* @__PURE__ */ new Map(), p = Array.from(i.values());
|
|
@@ -4149,8 +4152,8 @@ function lo(e) {
|
|
|
4149
4152
|
function uo(e) {
|
|
4150
4153
|
return e.targetTouches && e.targetTouches.length >= 1 ? e.targetTouches[0].clientY : e.clientY;
|
|
4151
4154
|
}
|
|
4152
|
-
function
|
|
4153
|
-
const [t, n] = T(!1), [r, o] = T(!1), i = it(null), a = it({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = it(e), { autoClose: m, pauseOnHover: u, closeToast:
|
|
4155
|
+
function Ss(e) {
|
|
4156
|
+
const [t, n] = T(!1), [r, o] = T(!1), i = it(null), a = it({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = it(e), { autoClose: m, pauseOnHover: u, closeToast: s, onClick: d, closeOnClick: v } = e;
|
|
4154
4157
|
function g(L) {
|
|
4155
4158
|
if (e.draggable) {
|
|
4156
4159
|
L.nativeEvent.type === "touchstart" && L.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", I), document.addEventListener("mouseup", k), document.addEventListener("touchmove", I), document.addEventListener("touchend", k);
|
|
@@ -4183,17 +4186,17 @@ function Ms(e) {
|
|
|
4183
4186
|
L.style.transition = "transform 0.2s, opacity 0.2s", L.style.transform = `translate${e.draggableDirection}(0)`, L.style.opacity = "1";
|
|
4184
4187
|
}
|
|
4185
4188
|
}
|
|
4186
|
-
|
|
4189
|
+
ve(() => {
|
|
4187
4190
|
A.current = e;
|
|
4188
|
-
}),
|
|
4191
|
+
}), ve(() => (i.current && i.current.addEventListener("d", p, { once: !0 }), xe(e.onOpen) && e.onOpen(ht(e.children) && e.children.props), () => {
|
|
4189
4192
|
const L = A.current;
|
|
4190
4193
|
xe(L.onClose) && L.onClose(ht(L.children) && L.children.props);
|
|
4191
|
-
}), []),
|
|
4194
|
+
}), []), ve(() => (e.pauseOnFocusLoss && (document.hasFocus() || y(), window.addEventListener("focus", p), window.addEventListener("blur", y)), () => {
|
|
4192
4195
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", p), window.removeEventListener("blur", y));
|
|
4193
4196
|
}), [e.pauseOnFocusLoss]);
|
|
4194
4197
|
const M = { onMouseDown: g, onTouchStart: g, onMouseUp: f, onTouchEnd: f };
|
|
4195
4198
|
return m && u && (M.onMouseEnter = y, M.onMouseLeave = p), v && (M.onClick = (L) => {
|
|
4196
|
-
d && d(L), a.canCloseOnClick &&
|
|
4199
|
+
d && d(L), a.canCloseOnClick && s();
|
|
4197
4200
|
}), { playToast: p, pauseToast: y, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: M };
|
|
4198
4201
|
}
|
|
4199
4202
|
function di(e) {
|
|
@@ -4202,54 +4205,54 @@ function di(e) {
|
|
|
4202
4205
|
o.stopPropagation(), t(o);
|
|
4203
4206
|
}, "aria-label": r }, ie.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, ie.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
4204
4207
|
}
|
|
4205
|
-
function
|
|
4206
|
-
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: u, rtl:
|
|
4208
|
+
function Ls(e) {
|
|
4209
|
+
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: u, rtl: s, isIn: d, theme: v } = e;
|
|
4207
4210
|
const g = i || m && u === 0, f = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: g ? 0 : 1 };
|
|
4208
4211
|
m && (f.transform = `scaleX(${u})`);
|
|
4209
|
-
const p = Fe("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${v}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl":
|
|
4212
|
+
const p = Fe("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${v}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), y = xe(a) ? a({ rtl: s, type: o, defaultClassName: p }) : Fe(p, a);
|
|
4210
4213
|
return ie.createElement("div", { role: "progressbar", "aria-hidden": g ? "true" : "false", "aria-label": "notification timer", className: y, style: f, [m && u >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && u < 1 ? null : () => {
|
|
4211
4214
|
d && r();
|
|
4212
4215
|
} });
|
|
4213
4216
|
}
|
|
4214
|
-
const
|
|
4215
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } =
|
|
4217
|
+
const Os = (e) => {
|
|
4218
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = Ss(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: u, hideProgressBar: s, closeToast: d, transition: v, position: g, className: f, style: p, bodyClassName: y, bodyStyle: I, progressClassName: k, progressStyle: M, updateId: L, role: b, progress: G, rtl: X, toastId: F, deleteToast: ue, isIn: te, isLoading: ae, iconOut: Q, closeOnClick: _, theme: K } = e, Y = Fe("Toastify__toast", `Toastify__toast-theme--${K}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": X }, { "Toastify__toast--close-on-click": _ }), J = xe(f) ? f({ rtl: X, position: g, type: u, defaultClassName: Y }) : Fe(Y, f), h = !!G || !A, j = { closeToast: d, type: u, theme: K };
|
|
4216
4219
|
let R = null;
|
|
4217
|
-
return i === !1 || (R = xe(i) ? i(j) : ht(i) ? Dn(i, j) : di(j)), ie.createElement(v, { isIn: te, done: ue, position: g, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: F, onClick: m, className: J, ...o, style: p, ref: r }, ie.createElement("div", { ...te && { role: b }, className: xe(y) ? y({ type: u }) : Fe("Toastify__toast-body", y), style: I }, Q != null && ie.createElement("div", { className: Fe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, Q), ie.createElement("div", null, a)), R, ie.createElement(
|
|
4220
|
+
return i === !1 || (R = xe(i) ? i(j) : ht(i) ? Dn(i, j) : di(j)), ie.createElement(v, { isIn: te, done: ue, position: g, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: F, onClick: m, className: J, ...o, style: p, ref: r }, ie.createElement("div", { ...te && { role: b }, className: xe(y) ? y({ type: u }) : Fe("Toastify__toast-body", y), style: I }, Q != null && ie.createElement("div", { className: Fe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, Q), ie.createElement("div", null, a)), R, ie.createElement(Ls, { ...L && !h ? { key: `pb-${L}` } : {}, rtl: X, theme: K, delay: A, isRunning: t, isIn: te, closeToast: d, hide: s, type: u, style: M, className: k, controlledProgress: h, progress: G || 0 })));
|
|
4218
4221
|
}, qn = function(e, t) {
|
|
4219
4222
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
4220
|
-
},
|
|
4223
|
+
}, Es = gn(qn("bounce", !0));
|
|
4221
4224
|
gn(qn("slide", !0));
|
|
4222
4225
|
gn(qn("zoom"));
|
|
4223
4226
|
gn(qn("flip"));
|
|
4224
4227
|
const _n = Bi((e, t) => {
|
|
4225
|
-
const { getToastToRender: n, containerRef: r, isToastActive: o } =
|
|
4226
|
-
function u(
|
|
4227
|
-
const d = Fe("Toastify__toast-container", `Toastify__toast-container--${
|
|
4228
|
-
return xe(i) ? i({ position:
|
|
4228
|
+
const { getToastToRender: n, containerRef: r, isToastActive: o } = Ms(e), { className: i, style: a, rtl: A, containerId: m } = e;
|
|
4229
|
+
function u(s) {
|
|
4230
|
+
const d = Fe("Toastify__toast-container", `Toastify__toast-container--${s}`, { "Toastify__toast-container--rtl": A });
|
|
4231
|
+
return xe(i) ? i({ position: s, rtl: A, defaultClassName: d }) : Fe(d, _t(i));
|
|
4229
4232
|
}
|
|
4230
|
-
return
|
|
4233
|
+
return ve(() => {
|
|
4231
4234
|
t && (t.current = r.current);
|
|
4232
|
-
}, []), ie.createElement("div", { ref: r, className: "Toastify", id: m }, n((
|
|
4235
|
+
}, []), ie.createElement("div", { ref: r, className: "Toastify", id: m }, n((s, d) => {
|
|
4233
4236
|
const v = d.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
4234
|
-
return ie.createElement("div", { className: u(
|
|
4237
|
+
return ie.createElement("div", { className: u(s), style: v, key: `container-${s}` }, d.map((g, f) => {
|
|
4235
4238
|
let { content: p, props: y } = g;
|
|
4236
|
-
return ie.createElement(
|
|
4239
|
+
return ie.createElement(Os, { ...y, isIn: o(y.toastId), style: { ...y.style, "--nth": f + 1, "--len": d.length }, key: `toast-${y.key}` }, p);
|
|
4237
4240
|
}));
|
|
4238
4241
|
}));
|
|
4239
4242
|
});
|
|
4240
|
-
_n.displayName = "ToastContainer", _n.defaultProps = { position: "top-right", transition:
|
|
4241
|
-
let Jn, rt = /* @__PURE__ */ new Map(), Kt = [],
|
|
4243
|
+
_n.displayName = "ToastContainer", _n.defaultProps = { position: "top-right", transition: Es, autoClose: 5e3, closeButton: di, pauseOnHover: !0, pauseOnFocusLoss: !0, closeOnClick: !0, draggable: !0, draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
4244
|
+
let Jn, rt = /* @__PURE__ */ new Map(), Kt = [], ks = 1;
|
|
4242
4245
|
function pi() {
|
|
4243
|
-
return "" +
|
|
4246
|
+
return "" + ks++;
|
|
4244
4247
|
}
|
|
4245
|
-
function
|
|
4248
|
+
function js(e) {
|
|
4246
4249
|
return e && (ut(e.toastId) || Wt(e.toastId)) ? e.toastId : pi();
|
|
4247
4250
|
}
|
|
4248
4251
|
function Mt(e, t) {
|
|
4249
4252
|
return rt.size > 0 ? Oe.emit(0, e, t) : Kt.push({ content: e, options: t }), t.toastId;
|
|
4250
4253
|
}
|
|
4251
4254
|
function rn(e, t) {
|
|
4252
|
-
return { ...t, type: t && t.type || e, toastId:
|
|
4255
|
+
return { ...t, type: t && t.type || e, toastId: js(t) };
|
|
4253
4256
|
}
|
|
4254
4257
|
function Xt(e) {
|
|
4255
4258
|
return (t, n) => Mt(t, rn(e, n));
|
|
@@ -4260,13 +4263,13 @@ function pe(e, t) {
|
|
|
4260
4263
|
pe.loading = (e, t) => Mt(e, rn("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), pe.promise = function(e, t, n) {
|
|
4261
4264
|
let r, { pending: o, error: i, success: a } = t;
|
|
4262
4265
|
o && (r = ut(o) ? pe.loading(o, n) : pe.loading(o.render, { ...n, ...o }));
|
|
4263
|
-
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (
|
|
4266
|
+
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (s, d, v) => {
|
|
4264
4267
|
if (d == null)
|
|
4265
4268
|
return void pe.dismiss(r);
|
|
4266
|
-
const g = { type:
|
|
4269
|
+
const g = { type: s, ...A, ...n, data: v }, f = ut(d) ? { render: d } : d;
|
|
4267
4270
|
return r ? pe.update(r, { ...g, ...f }) : pe(f.render, { ...g, ...f }), v;
|
|
4268
4271
|
}, u = xe(e) ? e() : e;
|
|
4269
|
-
return u.then((
|
|
4272
|
+
return u.then((s) => m("success", a, s)).catch((s) => m("error", i, s)), u;
|
|
4270
4273
|
}, pe.success = Xt("success"), pe.info = Xt("info"), pe.error = Xt("error"), pe.warning = Xt("warning"), pe.warn = pe.warning, pe.dark = (e, t) => Mt(e, rn("default", { theme: "dark", ...t })), pe.dismiss = (e) => {
|
|
4271
4274
|
rt.size > 0 ? Oe.emit(1, e) : Kt = Kt.filter((t) => e != null && t.options.toastId !== e);
|
|
4272
4275
|
}, pe.clearWaitingQueue = function(e) {
|
|
@@ -4313,23 +4316,23 @@ function yt(e) {
|
|
|
4313
4316
|
theme: "light"
|
|
4314
4317
|
});
|
|
4315
4318
|
}
|
|
4316
|
-
let vr = "", Xe = "Playable",
|
|
4319
|
+
let vr = "", Xe = "Playable", Ee = null, fi = null;
|
|
4317
4320
|
const br = async (e, t, n) => {
|
|
4318
4321
|
Xe === "Playable" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await Ao(
|
|
4319
4322
|
e,
|
|
4320
4323
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4321
|
-
|
|
4322
|
-
) : Xe === "Flex" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await
|
|
4324
|
+
Ee
|
|
4325
|
+
) : Xe === "Flex" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await Ks(
|
|
4323
4326
|
{
|
|
4324
4327
|
_id: e,
|
|
4325
4328
|
iosLink: t == null ? void 0 : t.iosUrl,
|
|
4326
4329
|
androidLink: t == null ? void 0 : t.googleUrl
|
|
4327
4330
|
},
|
|
4328
|
-
|
|
4331
|
+
Ee
|
|
4329
4332
|
) : Xe === "Ready" && t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && ((n == null ? void 0 : n.urlType) === "single" && (t.googleUrl = t.iosUrl), await Ao(
|
|
4330
4333
|
e,
|
|
4331
4334
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4332
|
-
|
|
4335
|
+
Ee
|
|
4333
4336
|
));
|
|
4334
4337
|
}, $t = async (e) => {
|
|
4335
4338
|
let t = vr + "/" + e, n = e;
|
|
@@ -4339,65 +4342,65 @@ const br = async (e, t, n) => {
|
|
|
4339
4342
|
}).catch((r) => {
|
|
4340
4343
|
console.error("File error:", r);
|
|
4341
4344
|
});
|
|
4342
|
-
},
|
|
4345
|
+
}, zs = (e, t) => {
|
|
4343
4346
|
let n = vr + "/" + e;
|
|
4344
4347
|
Yt(n) ? yt("Link Copied") : t(n);
|
|
4345
4348
|
};
|
|
4346
4349
|
async function Ot(e, t, n, r = "download", o = !1, i = null) {
|
|
4347
4350
|
return new Promise(async (a, A) => {
|
|
4348
4351
|
let m = async (u) => {
|
|
4349
|
-
r === "download" ? await $t(u) : r === "copy" &&
|
|
4352
|
+
r === "download" ? await $t(u) : r === "copy" && zs(u, fi);
|
|
4350
4353
|
};
|
|
4351
4354
|
try {
|
|
4352
4355
|
await br(e, n, i);
|
|
4353
4356
|
} catch (u) {
|
|
4354
4357
|
console.log("updateUrls error", u);
|
|
4355
4358
|
}
|
|
4356
|
-
Xe === "Playable" ? Cs(
|
|
4357
|
-
let { url:
|
|
4358
|
-
await m(
|
|
4359
|
+
Xe === "Playable" ? Cs(Ee, e, t, o, i).then(async (u) => {
|
|
4360
|
+
let { url: s } = u;
|
|
4361
|
+
await m(s), a(u);
|
|
4359
4362
|
}).catch((u) => {
|
|
4360
|
-
let
|
|
4361
|
-
A({ message:
|
|
4363
|
+
let s = u.response.data.error.msg;
|
|
4364
|
+
A({ message: s });
|
|
4362
4365
|
}) : Xe === "Flex" ? vs(
|
|
4363
4366
|
{
|
|
4364
4367
|
_id: e,
|
|
4365
4368
|
network: t,
|
|
4366
4369
|
extras: i
|
|
4367
4370
|
},
|
|
4368
|
-
|
|
4371
|
+
Ee
|
|
4369
4372
|
).then(async (u) => {
|
|
4370
4373
|
if (u.message) {
|
|
4371
4374
|
A(u);
|
|
4372
4375
|
return;
|
|
4373
4376
|
}
|
|
4374
|
-
let { url:
|
|
4375
|
-
await m(
|
|
4377
|
+
let { url: s } = u;
|
|
4378
|
+
await m(s), a(u);
|
|
4376
4379
|
}).catch((u) => {
|
|
4377
|
-
let
|
|
4378
|
-
A({ message:
|
|
4379
|
-
}) : Xe === "Import" ? bs(
|
|
4380
|
-
let
|
|
4381
|
-
await m(
|
|
4380
|
+
let s = u.response.data.error.msg;
|
|
4381
|
+
A({ message: s });
|
|
4382
|
+
}) : Xe === "Import" ? bs(Ee, e, t).then(async (u) => {
|
|
4383
|
+
let s = u.url;
|
|
4384
|
+
await m(s), a(u);
|
|
4382
4385
|
}).catch((u) => {
|
|
4383
|
-
let
|
|
4384
|
-
A({ message:
|
|
4385
|
-
}) : Xe === "Ready" && Is(
|
|
4386
|
+
let s = u.response.data.error.msg;
|
|
4387
|
+
A({ message: s });
|
|
4388
|
+
}) : Xe === "Ready" && Is(Ee, e, t, o, i).then(async (u) => {
|
|
4386
4389
|
if (u.message) {
|
|
4387
4390
|
A(u);
|
|
4388
4391
|
return;
|
|
4389
4392
|
}
|
|
4390
|
-
let
|
|
4391
|
-
await m(
|
|
4393
|
+
let s = u.url;
|
|
4394
|
+
await m(s), a(u);
|
|
4392
4395
|
}).catch((u) => {
|
|
4393
|
-
let
|
|
4394
|
-
A({ message:
|
|
4396
|
+
let s = u.response.data.error.msg;
|
|
4397
|
+
A({ message: s });
|
|
4395
4398
|
});
|
|
4396
4399
|
});
|
|
4397
4400
|
}
|
|
4398
|
-
async function
|
|
4401
|
+
async function Ys(e, t, n, r = null) {
|
|
4399
4402
|
return new Promise(async (o, i) => {
|
|
4400
|
-
await br(e, t, r), Xe === "Flex" ? ys(e, n,
|
|
4403
|
+
await br(e, t, r), Xe === "Flex" ? ys(e, n, Ee).then(async (a) => {
|
|
4401
4404
|
if (a.message) {
|
|
4402
4405
|
i(a);
|
|
4403
4406
|
return;
|
|
@@ -4406,7 +4409,7 @@ async function zs(e, t, n, r = null) {
|
|
|
4406
4409
|
}).catch((a) => {
|
|
4407
4410
|
let A = a.response.data.error.msg;
|
|
4408
4411
|
i({ message: A });
|
|
4409
|
-
}) : Xe === "Ready" ? ws(e, n,
|
|
4412
|
+
}) : Xe === "Ready" ? ws(e, n, Ee).then(async (a) => {
|
|
4410
4413
|
if (a.message) {
|
|
4411
4414
|
i(a);
|
|
4412
4415
|
return;
|
|
@@ -4416,7 +4419,7 @@ async function zs(e, t, n, r = null) {
|
|
|
4416
4419
|
console.log("err", a);
|
|
4417
4420
|
let A = a.response.data.error.msg;
|
|
4418
4421
|
i({ message: A });
|
|
4419
|
-
}) : Zs(e, n,
|
|
4422
|
+
}) : Zs(e, n, Ee).then(async (a) => {
|
|
4420
4423
|
await $t(a.url), o(a.url);
|
|
4421
4424
|
}).catch((a) => {
|
|
4422
4425
|
let A = a.response.data.error.msg;
|
|
@@ -4424,13 +4427,21 @@ async function zs(e, t, n, r = null) {
|
|
|
4424
4427
|
});
|
|
4425
4428
|
});
|
|
4426
4429
|
}
|
|
4427
|
-
function
|
|
4428
|
-
Xe = e,
|
|
4430
|
+
function Js(e, t, n, r) {
|
|
4431
|
+
Xe = e, Ee = t, fi = n, vr = r;
|
|
4432
|
+
}
|
|
4433
|
+
async function Ns(e) {
|
|
4434
|
+
return await xs(
|
|
4435
|
+
{
|
|
4436
|
+
versionId: e
|
|
4437
|
+
},
|
|
4438
|
+
Ee
|
|
4439
|
+
);
|
|
4429
4440
|
}
|
|
4430
4441
|
async function $n(e, t) {
|
|
4431
|
-
return (await
|
|
4442
|
+
return (await qe.post(t + "/findPlayable", { _id: e })).data;
|
|
4432
4443
|
}
|
|
4433
|
-
const
|
|
4444
|
+
const Rs = ({
|
|
4434
4445
|
versionId: e,
|
|
4435
4446
|
playableId: t,
|
|
4436
4447
|
typeOfProduct: n,
|
|
@@ -4442,7 +4453,7 @@ const Js = ({
|
|
|
4442
4453
|
androidLink: m,
|
|
4443
4454
|
urlType: u
|
|
4444
4455
|
}) => {
|
|
4445
|
-
const [
|
|
4456
|
+
const [s, d] = T(!1), v = async () => {
|
|
4446
4457
|
d(!0), Ot(
|
|
4447
4458
|
e,
|
|
4448
4459
|
"default",
|
|
@@ -4469,7 +4480,7 @@ const Js = ({
|
|
|
4469
4480
|
d(!1);
|
|
4470
4481
|
});
|
|
4471
4482
|
};
|
|
4472
|
-
return /* @__PURE__ */
|
|
4483
|
+
return /* @__PURE__ */ l.jsxs(
|
|
4473
4484
|
"div",
|
|
4474
4485
|
{
|
|
4475
4486
|
style: {
|
|
@@ -4484,7 +4495,7 @@ const Js = ({
|
|
|
4484
4495
|
// You may need to adjust this to your specific needs
|
|
4485
4496
|
},
|
|
4486
4497
|
children: [
|
|
4487
|
-
/* @__PURE__ */
|
|
4498
|
+
/* @__PURE__ */ l.jsx(
|
|
4488
4499
|
"div",
|
|
4489
4500
|
{
|
|
4490
4501
|
style: {
|
|
@@ -4494,7 +4505,7 @@ const Js = ({
|
|
|
4494
4505
|
justifyContent: "center",
|
|
4495
4506
|
alignItems: "center"
|
|
4496
4507
|
},
|
|
4497
|
-
children: a ? /* @__PURE__ */
|
|
4508
|
+
children: a ? /* @__PURE__ */ l.jsx(
|
|
4498
4509
|
Ja,
|
|
4499
4510
|
{
|
|
4500
4511
|
bgColor: "#0F0F1E",
|
|
@@ -4502,7 +4513,7 @@ const Js = ({
|
|
|
4502
4513
|
style: { height: "auto", maxWidth: "100%", width: "100%" },
|
|
4503
4514
|
value: a
|
|
4504
4515
|
}
|
|
4505
|
-
) : /* @__PURE__ */
|
|
4516
|
+
) : /* @__PURE__ */ l.jsx(
|
|
4506
4517
|
"img",
|
|
4507
4518
|
{
|
|
4508
4519
|
style: { width: "50px", height: "50px" },
|
|
@@ -4512,8 +4523,8 @@ const Js = ({
|
|
|
4512
4523
|
)
|
|
4513
4524
|
}
|
|
4514
4525
|
),
|
|
4515
|
-
/* @__PURE__ */
|
|
4516
|
-
/* @__PURE__ */
|
|
4526
|
+
/* @__PURE__ */ l.jsxs("div", { children: [
|
|
4527
|
+
/* @__PURE__ */ l.jsx(
|
|
4517
4528
|
"div",
|
|
4518
4529
|
{
|
|
4519
4530
|
style: {
|
|
@@ -4525,7 +4536,7 @@ const Js = ({
|
|
|
4525
4536
|
children: "Mobile testing"
|
|
4526
4537
|
}
|
|
4527
4538
|
),
|
|
4528
|
-
/* @__PURE__ */
|
|
4539
|
+
/* @__PURE__ */ l.jsx(
|
|
4529
4540
|
"div",
|
|
4530
4541
|
{
|
|
4531
4542
|
style: {
|
|
@@ -4536,7 +4547,7 @@ const Js = ({
|
|
|
4536
4547
|
children: "Scan QR Code to test in any browser"
|
|
4537
4548
|
}
|
|
4538
4549
|
),
|
|
4539
|
-
/* @__PURE__ */
|
|
4550
|
+
/* @__PURE__ */ l.jsxs(
|
|
4540
4551
|
"div",
|
|
4541
4552
|
{
|
|
4542
4553
|
style: {
|
|
@@ -4550,10 +4561,10 @@ const Js = ({
|
|
|
4550
4561
|
cursor: "pointer"
|
|
4551
4562
|
},
|
|
4552
4563
|
onClick: () => {
|
|
4553
|
-
|
|
4564
|
+
s || v();
|
|
4554
4565
|
},
|
|
4555
4566
|
children: [
|
|
4556
|
-
/* @__PURE__ */
|
|
4567
|
+
/* @__PURE__ */ l.jsx(
|
|
4557
4568
|
zo,
|
|
4558
4569
|
{
|
|
4559
4570
|
style: {
|
|
@@ -4564,7 +4575,7 @@ const Js = ({
|
|
|
4564
4575
|
}
|
|
4565
4576
|
}
|
|
4566
4577
|
),
|
|
4567
|
-
/* @__PURE__ */
|
|
4578
|
+
/* @__PURE__ */ l.jsx(
|
|
4568
4579
|
"div",
|
|
4569
4580
|
{
|
|
4570
4581
|
style: {
|
|
@@ -4575,7 +4586,7 @@ const Js = ({
|
|
|
4575
4586
|
width: "80px"
|
|
4576
4587
|
// margin: "auto",
|
|
4577
4588
|
},
|
|
4578
|
-
children:
|
|
4589
|
+
children: s ? /* @__PURE__ */ l.jsx(
|
|
4579
4590
|
"img",
|
|
4580
4591
|
{
|
|
4581
4592
|
style: {
|
|
@@ -4584,7 +4595,7 @@ const Js = ({
|
|
|
4584
4595
|
src: Pe,
|
|
4585
4596
|
alt: "loading"
|
|
4586
4597
|
}
|
|
4587
|
-
) : /* @__PURE__ */
|
|
4598
|
+
) : /* @__PURE__ */ l.jsx(
|
|
4588
4599
|
"button",
|
|
4589
4600
|
{
|
|
4590
4601
|
style: {
|
|
@@ -4604,7 +4615,7 @@ const Js = ({
|
|
|
4604
4615
|
]
|
|
4605
4616
|
}
|
|
4606
4617
|
);
|
|
4607
|
-
},
|
|
4618
|
+
}, Ds = ({
|
|
4608
4619
|
versionName: e,
|
|
4609
4620
|
versionId: t,
|
|
4610
4621
|
playableId: n,
|
|
@@ -4615,11 +4626,11 @@ const Js = ({
|
|
|
4615
4626
|
copyLinkUrl: A,
|
|
4616
4627
|
setSafariCopyLink: m,
|
|
4617
4628
|
iosLink: u,
|
|
4618
|
-
androidLink:
|
|
4629
|
+
androidLink: s,
|
|
4619
4630
|
urlType: d
|
|
4620
4631
|
}) => {
|
|
4621
4632
|
const [v, g] = T(window.innerWidth);
|
|
4622
|
-
console.log("iosLink", u),
|
|
4633
|
+
console.log("iosLink", u), ve(() => {
|
|
4623
4634
|
console.log("re add event listener");
|
|
4624
4635
|
function p(y) {
|
|
4625
4636
|
console.log(y), y.data === "cta" && (console.log("Received 'cta' message from iframe"), u && window.open(u, "_blank"));
|
|
@@ -4627,7 +4638,7 @@ const Js = ({
|
|
|
4627
4638
|
return window.addEventListener("message", p, !1), () => {
|
|
4628
4639
|
window.removeEventListener("message", p);
|
|
4629
4640
|
};
|
|
4630
|
-
}, [u,
|
|
4641
|
+
}, [u, s]), ve(() => {
|
|
4631
4642
|
const p = () => {
|
|
4632
4643
|
g(window.innerWidth);
|
|
4633
4644
|
};
|
|
@@ -4636,7 +4647,7 @@ const Js = ({
|
|
|
4636
4647
|
};
|
|
4637
4648
|
}, []);
|
|
4638
4649
|
const f = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
|
|
4639
|
-
return /* @__PURE__ */
|
|
4650
|
+
return /* @__PURE__ */ l.jsxs(
|
|
4640
4651
|
"div",
|
|
4641
4652
|
{
|
|
4642
4653
|
style: {
|
|
@@ -4650,10 +4661,10 @@ const Js = ({
|
|
|
4650
4661
|
marginTop: "20px"
|
|
4651
4662
|
},
|
|
4652
4663
|
children: [
|
|
4653
|
-
/* @__PURE__ */
|
|
4654
|
-
/* @__PURE__ */
|
|
4655
|
-
/* @__PURE__ */
|
|
4656
|
-
|
|
4664
|
+
/* @__PURE__ */ l.jsx(oa, { iframeUrl: i }),
|
|
4665
|
+
/* @__PURE__ */ l.jsx(ia, { name: f }),
|
|
4666
|
+
/* @__PURE__ */ l.jsx(
|
|
4667
|
+
Rs,
|
|
4657
4668
|
{
|
|
4658
4669
|
versionId: t,
|
|
4659
4670
|
playableId: n,
|
|
@@ -4663,7 +4674,7 @@ const Js = ({
|
|
|
4663
4674
|
setSafariCopyLink: m,
|
|
4664
4675
|
qrUrl: i,
|
|
4665
4676
|
iosLink: u,
|
|
4666
|
-
androidLink:
|
|
4677
|
+
androidLink: s,
|
|
4667
4678
|
urlType: d
|
|
4668
4679
|
}
|
|
4669
4680
|
)
|
|
@@ -4671,23 +4682,23 @@ const Js = ({
|
|
|
4671
4682
|
}
|
|
4672
4683
|
);
|
|
4673
4684
|
};
|
|
4674
|
-
var
|
|
4685
|
+
var ye = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e.Import = "#00a3ff", e.Ready = "#0060A5", e))(ye || {});
|
|
4675
4686
|
const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
4676
4687
|
const [r, o] = T(e);
|
|
4677
|
-
|
|
4688
|
+
ve(() => {
|
|
4678
4689
|
o(e);
|
|
4679
4690
|
}, [e]);
|
|
4680
4691
|
const i = () => {
|
|
4681
4692
|
o(!r);
|
|
4682
4693
|
};
|
|
4683
|
-
return /* @__PURE__ */
|
|
4694
|
+
return /* @__PURE__ */ l.jsx(
|
|
4684
4695
|
"div",
|
|
4685
4696
|
{
|
|
4686
4697
|
style: {
|
|
4687
4698
|
display: "inline-flex",
|
|
4688
4699
|
alignItems: "center"
|
|
4689
4700
|
},
|
|
4690
|
-
children: /* @__PURE__ */
|
|
4701
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
4691
4702
|
"label",
|
|
4692
4703
|
{
|
|
4693
4704
|
onClick: i,
|
|
@@ -4699,7 +4710,7 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4699
4710
|
},
|
|
4700
4711
|
htmlFor: n,
|
|
4701
4712
|
children: [
|
|
4702
|
-
/* @__PURE__ */
|
|
4713
|
+
/* @__PURE__ */ l.jsx(
|
|
4703
4714
|
"input",
|
|
4704
4715
|
{
|
|
4705
4716
|
type: "checkbox",
|
|
@@ -4720,7 +4731,7 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4720
4731
|
onChange: i
|
|
4721
4732
|
}
|
|
4722
4733
|
),
|
|
4723
|
-
/* @__PURE__ */
|
|
4734
|
+
/* @__PURE__ */ l.jsxs(
|
|
4724
4735
|
"div",
|
|
4725
4736
|
{
|
|
4726
4737
|
style: {
|
|
@@ -4734,16 +4745,16 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4734
4745
|
transition: "opacity ease-in-out"
|
|
4735
4746
|
},
|
|
4736
4747
|
children: [
|
|
4737
|
-
/* @__PURE__ */
|
|
4748
|
+
/* @__PURE__ */ l.jsx(
|
|
4738
4749
|
"svg",
|
|
4739
4750
|
{
|
|
4740
4751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4741
4752
|
style: { height: "14px", width: "14px" },
|
|
4742
4753
|
viewBox: "0 0 20 20",
|
|
4743
|
-
fill:
|
|
4744
|
-
stroke:
|
|
4754
|
+
fill: ye[t],
|
|
4755
|
+
stroke: ye[t],
|
|
4745
4756
|
strokeWidth: "1",
|
|
4746
|
-
children: /* @__PURE__ */
|
|
4757
|
+
children: /* @__PURE__ */ l.jsx(
|
|
4747
4758
|
"path",
|
|
4748
4759
|
{
|
|
4749
4760
|
fillRule: "evenodd",
|
|
@@ -4762,11 +4773,11 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4762
4773
|
)
|
|
4763
4774
|
}
|
|
4764
4775
|
);
|
|
4765
|
-
},
|
|
4776
|
+
}, Gs = ({
|
|
4766
4777
|
typeOfProduct: e,
|
|
4767
4778
|
allNetworksSelected: t,
|
|
4768
4779
|
setAllNetworksSelected: n
|
|
4769
|
-
}) => /* @__PURE__ */
|
|
4780
|
+
}) => /* @__PURE__ */ l.jsxs(
|
|
4770
4781
|
"div",
|
|
4771
4782
|
{
|
|
4772
4783
|
style: {
|
|
@@ -4777,7 +4788,7 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4777
4788
|
marginBottom: "0.5rem"
|
|
4778
4789
|
},
|
|
4779
4790
|
children: [
|
|
4780
|
-
/* @__PURE__ */
|
|
4791
|
+
/* @__PURE__ */ l.jsxs(
|
|
4781
4792
|
"div",
|
|
4782
4793
|
{
|
|
4783
4794
|
style: {
|
|
@@ -4786,20 +4797,20 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4786
4797
|
display: "flex"
|
|
4787
4798
|
},
|
|
4788
4799
|
children: [
|
|
4789
|
-
/* @__PURE__ */
|
|
4800
|
+
/* @__PURE__ */ l.jsx(
|
|
4790
4801
|
"span",
|
|
4791
4802
|
{
|
|
4792
4803
|
style: {
|
|
4793
|
-
color:
|
|
4804
|
+
color: ye[e]
|
|
4794
4805
|
},
|
|
4795
4806
|
children: "Select Network"
|
|
4796
4807
|
}
|
|
4797
4808
|
),
|
|
4798
|
-
/* @__PURE__ */
|
|
4809
|
+
/* @__PURE__ */ l.jsx("span", { style: { whiteSpace: "pre" }, children: " From List" })
|
|
4799
4810
|
]
|
|
4800
4811
|
}
|
|
4801
4812
|
),
|
|
4802
|
-
/* @__PURE__ */
|
|
4813
|
+
/* @__PURE__ */ l.jsxs(
|
|
4803
4814
|
"div",
|
|
4804
4815
|
{
|
|
4805
4816
|
onClick: () => {
|
|
@@ -4819,8 +4830,8 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4819
4830
|
width: 110
|
|
4820
4831
|
},
|
|
4821
4832
|
children: [
|
|
4822
|
-
/* @__PURE__ */
|
|
4823
|
-
/* @__PURE__ */
|
|
4833
|
+
/* @__PURE__ */ l.jsx(hi, { checked: t, typeOfProduct: e, id: "asd" }),
|
|
4834
|
+
/* @__PURE__ */ l.jsx(
|
|
4824
4835
|
"span",
|
|
4825
4836
|
{
|
|
4826
4837
|
style: {
|
|
@@ -4837,35 +4848,35 @@ const hi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4837
4848
|
]
|
|
4838
4849
|
}
|
|
4839
4850
|
);
|
|
4840
|
-
async function
|
|
4841
|
-
return (await
|
|
4851
|
+
async function Ts(e, t) {
|
|
4852
|
+
return (await qe.post(t + "/buyRequest", {
|
|
4842
4853
|
requestType: e
|
|
4843
4854
|
})).data;
|
|
4844
4855
|
}
|
|
4845
|
-
const
|
|
4846
|
-
/* @__PURE__ */
|
|
4847
|
-
/* @__PURE__ */
|
|
4848
|
-
/* @__PURE__ */
|
|
4856
|
+
const Hs = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4857
|
+
/* @__PURE__ */ l.jsxs("g", { "clip-path": "url(#clip0_518_12094)", children: [
|
|
4858
|
+
/* @__PURE__ */ l.jsx("path", { d: "M4.50977 11.99L19.4898 11.99", stroke: "#7101FF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
4859
|
+
/* @__PURE__ */ l.jsx("path", { d: "M13.5068 17.977L19.4828 12L13.5068 6.02299", stroke: "#7101FF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
4849
4860
|
] }),
|
|
4850
|
-
/* @__PURE__ */
|
|
4851
|
-
] }),
|
|
4852
|
-
/* @__PURE__ */
|
|
4853
|
-
/* @__PURE__ */
|
|
4861
|
+
/* @__PURE__ */ l.jsx("defs", { children: /* @__PURE__ */ l.jsx("clipPath", { id: "clip0_518_12094", children: /* @__PURE__ */ l.jsx("rect", { width: "24", height: "24", fill: "white", transform: "translate(0 24) rotate(-90)" }) }) })
|
|
4862
|
+
] }), Xs = ({ creditDownload: e, api: t }) => /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
4863
|
+
/* @__PURE__ */ l.jsx("div", { style: { marginTop: "0.5rem", paddingLeft: "1.5rem", paddingRight: "1.5rem", fontWeight: 100 }, children: "If you continue to export, you will spend 1 credit." }),
|
|
4864
|
+
/* @__PURE__ */ l.jsxs("div", { style: { display: "flex", alignItems: "center", width: "100%", paddingLeft: "1.5rem", paddingRight: "1.5rem", paddingTop: "0.25rem", fontSize: "12px", fontWeight: 100 }, children: [
|
|
4854
4865
|
"You have",
|
|
4855
4866
|
" ",
|
|
4856
|
-
/* @__PURE__ */
|
|
4867
|
+
/* @__PURE__ */ l.jsx("span", { style: { paddingLeft: "0.25rem", paddingRight: "0.25rem", fontWeight: "bold", color: "#yourColorHere" }, children: (e == null ? void 0 : e.downloadLimit) - (e == null ? void 0 : e.downloadLimitUsed) < 0 ? 0 : (e == null ? void 0 : e.downloadLimit) - (e == null ? void 0 : e.downloadLimitUsed) }),
|
|
4857
4868
|
" ",
|
|
4858
4869
|
"credits remaining.",
|
|
4859
|
-
/* @__PURE__ */
|
|
4870
|
+
/* @__PURE__ */ l.jsxs(
|
|
4860
4871
|
"button",
|
|
4861
4872
|
{
|
|
4862
4873
|
style: { marginLeft: "0.5rem", display: "flex", alignItems: "center", fontSize: "12px", fontWeight: "bold", textDecoration: "underline", color: "#yourColorHere" },
|
|
4863
|
-
onClick: () =>
|
|
4874
|
+
onClick: () => Ts("Flex Credit", t).then(
|
|
4864
4875
|
(n) => yt("You will be contacted regarding your request.")
|
|
4865
4876
|
),
|
|
4866
4877
|
children: [
|
|
4867
4878
|
"Get more",
|
|
4868
|
-
/* @__PURE__ */
|
|
4879
|
+
/* @__PURE__ */ l.jsx(Hs, {})
|
|
4869
4880
|
]
|
|
4870
4881
|
}
|
|
4871
4882
|
)
|
|
@@ -4882,8 +4893,8 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4882
4893
|
}, a = (A) => {
|
|
4883
4894
|
r(A.target.value);
|
|
4884
4895
|
};
|
|
4885
|
-
return /* @__PURE__ */
|
|
4886
|
-
/* @__PURE__ */
|
|
4896
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
4897
|
+
/* @__PURE__ */ l.jsxs(
|
|
4887
4898
|
"div",
|
|
4888
4899
|
{
|
|
4889
4900
|
style: {
|
|
@@ -4900,7 +4911,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4900
4911
|
// font-thin
|
|
4901
4912
|
},
|
|
4902
4913
|
children: [
|
|
4903
|
-
/* @__PURE__ */
|
|
4914
|
+
/* @__PURE__ */ l.jsx(
|
|
4904
4915
|
"span",
|
|
4905
4916
|
{
|
|
4906
4917
|
style: {
|
|
@@ -4913,7 +4924,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4913
4924
|
children: "App Store:"
|
|
4914
4925
|
}
|
|
4915
4926
|
),
|
|
4916
|
-
/* @__PURE__ */
|
|
4927
|
+
/* @__PURE__ */ l.jsx(
|
|
4917
4928
|
"input",
|
|
4918
4929
|
{
|
|
4919
4930
|
style: {
|
|
@@ -4935,7 +4946,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4935
4946
|
// pl-2
|
|
4936
4947
|
color: "#000000",
|
|
4937
4948
|
// placeholder:text-black
|
|
4938
|
-
borderColor:
|
|
4949
|
+
borderColor: ye[e],
|
|
4939
4950
|
marginRight: "2rem"
|
|
4940
4951
|
},
|
|
4941
4952
|
type: "text",
|
|
@@ -4948,7 +4959,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4948
4959
|
]
|
|
4949
4960
|
}
|
|
4950
4961
|
),
|
|
4951
|
-
/* @__PURE__ */
|
|
4962
|
+
/* @__PURE__ */ l.jsxs(
|
|
4952
4963
|
"div",
|
|
4953
4964
|
{
|
|
4954
4965
|
style: {
|
|
@@ -4968,7 +4979,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4968
4979
|
// font-thin
|
|
4969
4980
|
},
|
|
4970
4981
|
children: [
|
|
4971
|
-
/* @__PURE__ */
|
|
4982
|
+
/* @__PURE__ */ l.jsxs(
|
|
4972
4983
|
"span",
|
|
4973
4984
|
{
|
|
4974
4985
|
style: {
|
|
@@ -4984,7 +4995,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4984
4995
|
]
|
|
4985
4996
|
}
|
|
4986
4997
|
),
|
|
4987
|
-
/* @__PURE__ */
|
|
4998
|
+
/* @__PURE__ */ l.jsx(
|
|
4988
4999
|
"input",
|
|
4989
5000
|
{
|
|
4990
5001
|
style: {
|
|
@@ -5006,7 +5017,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5006
5017
|
// pl-2
|
|
5007
5018
|
color: "#000000",
|
|
5008
5019
|
// placeholder:text-black
|
|
5009
|
-
borderColor:
|
|
5020
|
+
borderColor: ye[e],
|
|
5010
5021
|
marginRight: "2rem"
|
|
5011
5022
|
//typeOfProduct === "Flex" ? ColorStyle.Flex : ColorStyle.Playable,
|
|
5012
5023
|
},
|
|
@@ -5021,7 +5032,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5021
5032
|
}
|
|
5022
5033
|
)
|
|
5023
5034
|
] });
|
|
5024
|
-
},
|
|
5035
|
+
}, Qs = ({
|
|
5025
5036
|
typeOfProduct: e,
|
|
5026
5037
|
urls: t,
|
|
5027
5038
|
handleIosChange: n,
|
|
@@ -5031,7 +5042,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5031
5042
|
const i = (a) => {
|
|
5032
5043
|
n(a.target.value);
|
|
5033
5044
|
};
|
|
5034
|
-
return /* @__PURE__ */
|
|
5045
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsxs(
|
|
5035
5046
|
"div",
|
|
5036
5047
|
{
|
|
5037
5048
|
style: {
|
|
@@ -5048,7 +5059,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5048
5059
|
// font-thin
|
|
5049
5060
|
},
|
|
5050
5061
|
children: [
|
|
5051
|
-
/* @__PURE__ */
|
|
5062
|
+
/* @__PURE__ */ l.jsx(
|
|
5052
5063
|
"span",
|
|
5053
5064
|
{
|
|
5054
5065
|
style: {
|
|
@@ -5061,7 +5072,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5061
5072
|
children: "Redirection URL:"
|
|
5062
5073
|
}
|
|
5063
5074
|
),
|
|
5064
|
-
/* @__PURE__ */
|
|
5075
|
+
/* @__PURE__ */ l.jsx(
|
|
5065
5076
|
"input",
|
|
5066
5077
|
{
|
|
5067
5078
|
style: {
|
|
@@ -5083,7 +5094,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5083
5094
|
// pl-2
|
|
5084
5095
|
color: "#000000",
|
|
5085
5096
|
// placeholder:text-black
|
|
5086
|
-
borderColor:
|
|
5097
|
+
borderColor: ye[e],
|
|
5087
5098
|
marginRight: "2rem"
|
|
5088
5099
|
},
|
|
5089
5100
|
type: "text",
|
|
@@ -5096,7 +5107,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5096
5107
|
]
|
|
5097
5108
|
}
|
|
5098
5109
|
) });
|
|
5099
|
-
},
|
|
5110
|
+
}, Ps = ({
|
|
5100
5111
|
typeOfProduct: e,
|
|
5101
5112
|
fileSize: t,
|
|
5102
5113
|
urls: n,
|
|
@@ -5107,11 +5118,11 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5107
5118
|
creditDownload: A,
|
|
5108
5119
|
user: m,
|
|
5109
5120
|
isTest: u,
|
|
5110
|
-
setIsTest:
|
|
5121
|
+
setIsTest: s,
|
|
5111
5122
|
urlType: d,
|
|
5112
5123
|
setUrlType: v
|
|
5113
5124
|
}) => {
|
|
5114
|
-
const g = () => /* @__PURE__ */
|
|
5125
|
+
const g = () => /* @__PURE__ */ l.jsxs(
|
|
5115
5126
|
"div",
|
|
5116
5127
|
{
|
|
5117
5128
|
style: {
|
|
@@ -5130,7 +5141,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5130
5141
|
// font-thin
|
|
5131
5142
|
},
|
|
5132
5143
|
children: [
|
|
5133
|
-
/* @__PURE__ */
|
|
5144
|
+
/* @__PURE__ */ l.jsxs(
|
|
5134
5145
|
"span",
|
|
5135
5146
|
{
|
|
5136
5147
|
style: {
|
|
@@ -5145,7 +5156,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5145
5156
|
]
|
|
5146
5157
|
}
|
|
5147
5158
|
),
|
|
5148
|
-
/* @__PURE__ */
|
|
5159
|
+
/* @__PURE__ */ l.jsx(
|
|
5149
5160
|
"input",
|
|
5150
5161
|
{
|
|
5151
5162
|
style: {
|
|
@@ -5167,13 +5178,13 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5167
5178
|
// pl-2
|
|
5168
5179
|
color: "#000000",
|
|
5169
5180
|
// placeholder:text-black
|
|
5170
|
-
borderColor:
|
|
5181
|
+
borderColor: ye[e]
|
|
5171
5182
|
//typeOfProduct === "Flex" ? ColorStyle.Flex : ColorStyle.Playable,
|
|
5172
5183
|
},
|
|
5173
5184
|
type: "checkbox",
|
|
5174
5185
|
checked: u,
|
|
5175
5186
|
onChange: () => {
|
|
5176
|
-
|
|
5187
|
+
s(!u);
|
|
5177
5188
|
},
|
|
5178
5189
|
placeholder: "Google Url",
|
|
5179
5190
|
disabled: i
|
|
@@ -5181,7 +5192,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5181
5192
|
)
|
|
5182
5193
|
]
|
|
5183
5194
|
}
|
|
5184
|
-
), f = () => /* @__PURE__ */
|
|
5195
|
+
), f = () => /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsxs(
|
|
5185
5196
|
"div",
|
|
5186
5197
|
{
|
|
5187
5198
|
style: {
|
|
@@ -5197,7 +5208,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5197
5208
|
},
|
|
5198
5209
|
className: "tab-switch",
|
|
5199
5210
|
children: [
|
|
5200
|
-
/* @__PURE__ */
|
|
5211
|
+
/* @__PURE__ */ l.jsx(
|
|
5201
5212
|
"div",
|
|
5202
5213
|
{
|
|
5203
5214
|
style: {
|
|
@@ -5214,7 +5225,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5214
5225
|
id: "tab-switch-background"
|
|
5215
5226
|
}
|
|
5216
5227
|
),
|
|
5217
|
-
/* @__PURE__ */
|
|
5228
|
+
/* @__PURE__ */ l.jsx(
|
|
5218
5229
|
"div",
|
|
5219
5230
|
{
|
|
5220
5231
|
style: {
|
|
@@ -5231,7 +5242,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5231
5242
|
v("game");
|
|
5232
5243
|
}, 200);
|
|
5233
5244
|
},
|
|
5234
|
-
children: /* @__PURE__ */
|
|
5245
|
+
children: /* @__PURE__ */ l.jsx(
|
|
5235
5246
|
"span",
|
|
5236
5247
|
{
|
|
5237
5248
|
style: {
|
|
@@ -5247,7 +5258,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5247
5258
|
},
|
|
5248
5259
|
"gameTab"
|
|
5249
5260
|
),
|
|
5250
|
-
/* @__PURE__ */
|
|
5261
|
+
/* @__PURE__ */ l.jsx(
|
|
5251
5262
|
"div",
|
|
5252
5263
|
{
|
|
5253
5264
|
style: {
|
|
@@ -5264,7 +5275,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5264
5275
|
v("single");
|
|
5265
5276
|
}, 200);
|
|
5266
5277
|
},
|
|
5267
|
-
children: /* @__PURE__ */
|
|
5278
|
+
children: /* @__PURE__ */ l.jsx(
|
|
5268
5279
|
"span",
|
|
5269
5280
|
{
|
|
5270
5281
|
style: {
|
|
@@ -5283,7 +5294,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5283
5294
|
]
|
|
5284
5295
|
}
|
|
5285
5296
|
) });
|
|
5286
|
-
return /* @__PURE__ */
|
|
5297
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: e !== "Import" && /* @__PURE__ */ l.jsxs(
|
|
5287
5298
|
"div",
|
|
5288
5299
|
{
|
|
5289
5300
|
style: {
|
|
@@ -5292,10 +5303,10 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5292
5303
|
flexDirection: "column"
|
|
5293
5304
|
},
|
|
5294
5305
|
children: [
|
|
5295
|
-
m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */
|
|
5296
|
-
e === "Ready" ? /* @__PURE__ */
|
|
5297
|
-
/* @__PURE__ */
|
|
5298
|
-
d === "game" && /* @__PURE__ */
|
|
5306
|
+
m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(g, {}),
|
|
5307
|
+
e === "Ready" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
5308
|
+
/* @__PURE__ */ l.jsx(f, {}),
|
|
5309
|
+
d === "game" && /* @__PURE__ */ l.jsx(
|
|
5299
5310
|
co,
|
|
5300
5311
|
{
|
|
5301
5312
|
typeOfProduct: e,
|
|
@@ -5305,8 +5316,8 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5305
5316
|
disabled: i
|
|
5306
5317
|
}
|
|
5307
5318
|
),
|
|
5308
|
-
d === "single" && /* @__PURE__ */
|
|
5309
|
-
|
|
5319
|
+
d === "single" && /* @__PURE__ */ l.jsx(
|
|
5320
|
+
Qs,
|
|
5310
5321
|
{
|
|
5311
5322
|
typeOfProduct: e,
|
|
5312
5323
|
urls: n,
|
|
@@ -5315,7 +5326,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5315
5326
|
disabled: i
|
|
5316
5327
|
}
|
|
5317
5328
|
)
|
|
5318
|
-
] }) : /* @__PURE__ */
|
|
5329
|
+
] }) : /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
5319
5330
|
co,
|
|
5320
5331
|
{
|
|
5321
5332
|
typeOfProduct: e,
|
|
@@ -5325,21 +5336,21 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5325
5336
|
disabled: i
|
|
5326
5337
|
}
|
|
5327
5338
|
) }),
|
|
5328
|
-
(A == null ? void 0 : A.willSpendCredit) && /* @__PURE__ */
|
|
5339
|
+
(A == null ? void 0 : A.willSpendCredit) && /* @__PURE__ */ l.jsx(Xs, { creditDownload: A, api: a })
|
|
5329
5340
|
]
|
|
5330
5341
|
}
|
|
5331
5342
|
) });
|
|
5332
|
-
},
|
|
5333
|
-
/* @__PURE__ */
|
|
5343
|
+
}, Vs = ({ typeOfProduct: e, title: t, fileSize: n }) => /* @__PURE__ */ l.jsxs("div", { style: { fontSize: "1.5rem", fontWeight: "bold", paddingTop: "20px" }, children: [
|
|
5344
|
+
/* @__PURE__ */ l.jsx(
|
|
5334
5345
|
"span",
|
|
5335
5346
|
{
|
|
5336
5347
|
style: {
|
|
5337
|
-
color:
|
|
5348
|
+
color: ye[e]
|
|
5338
5349
|
},
|
|
5339
5350
|
children: t
|
|
5340
5351
|
}
|
|
5341
5352
|
),
|
|
5342
|
-
n && /* @__PURE__ */
|
|
5353
|
+
n && /* @__PURE__ */ l.jsxs(
|
|
5343
5354
|
"span",
|
|
5344
5355
|
{
|
|
5345
5356
|
style: {
|
|
@@ -5357,7 +5368,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5357
5368
|
]
|
|
5358
5369
|
}
|
|
5359
5370
|
)
|
|
5360
|
-
] }),
|
|
5371
|
+
] }), Bs = ({
|
|
5361
5372
|
typeOfProduct: e,
|
|
5362
5373
|
fileSize: t,
|
|
5363
5374
|
urls: n,
|
|
@@ -5368,13 +5379,13 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5368
5379
|
creditDownload: A,
|
|
5369
5380
|
api: m,
|
|
5370
5381
|
user: u,
|
|
5371
|
-
isTest:
|
|
5382
|
+
isTest: s,
|
|
5372
5383
|
setIsTest: d,
|
|
5373
5384
|
urlType: v,
|
|
5374
5385
|
setUrlType: g,
|
|
5375
5386
|
allNetworksSelected: f,
|
|
5376
5387
|
setAllNetworksSelected: p
|
|
5377
|
-
}) => /* @__PURE__ */
|
|
5388
|
+
}) => /* @__PURE__ */ l.jsxs(
|
|
5378
5389
|
"div",
|
|
5379
5390
|
{
|
|
5380
5391
|
style: {
|
|
@@ -5393,9 +5404,9 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5393
5404
|
// gap-1
|
|
5394
5405
|
},
|
|
5395
5406
|
children: [
|
|
5396
|
-
/* @__PURE__ */
|
|
5397
|
-
/* @__PURE__ */
|
|
5398
|
-
|
|
5407
|
+
/* @__PURE__ */ l.jsx(Vs, { typeOfProduct: e, title: r, fileSize: t }),
|
|
5408
|
+
/* @__PURE__ */ l.jsx(
|
|
5409
|
+
Ps,
|
|
5399
5410
|
{
|
|
5400
5411
|
typeOfProduct: e,
|
|
5401
5412
|
fileSize: t,
|
|
@@ -5406,14 +5417,14 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5406
5417
|
creditDownload: A,
|
|
5407
5418
|
api: m,
|
|
5408
5419
|
user: u,
|
|
5409
|
-
isTest:
|
|
5420
|
+
isTest: s,
|
|
5410
5421
|
setIsTest: d,
|
|
5411
5422
|
urlType: v,
|
|
5412
5423
|
setUrlType: g
|
|
5413
5424
|
}
|
|
5414
5425
|
),
|
|
5415
|
-
/* @__PURE__ */
|
|
5416
|
-
|
|
5426
|
+
/* @__PURE__ */ l.jsx(
|
|
5427
|
+
Gs,
|
|
5417
5428
|
{
|
|
5418
5429
|
typeOfProduct: e,
|
|
5419
5430
|
allNetworksSelected: f,
|
|
@@ -5428,7 +5439,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5428
5439
|
onClickDonwload: n,
|
|
5429
5440
|
downloading: r,
|
|
5430
5441
|
disabled: o
|
|
5431
|
-
}) => /* @__PURE__ */
|
|
5442
|
+
}) => /* @__PURE__ */ l.jsx(
|
|
5432
5443
|
"button",
|
|
5433
5444
|
{
|
|
5434
5445
|
onClick: n,
|
|
@@ -5457,7 +5468,7 @@ const Gs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5457
5468
|
children: e
|
|
5458
5469
|
}
|
|
5459
5470
|
);
|
|
5460
|
-
const
|
|
5471
|
+
const Us = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
5461
5472
|
"div",
|
|
5462
5473
|
{
|
|
5463
5474
|
style: {
|
|
@@ -5466,7 +5477,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5466
5477
|
alignItems: "center",
|
|
5467
5478
|
flexDirection: "column"
|
|
5468
5479
|
},
|
|
5469
|
-
children: /* @__PURE__ */
|
|
5480
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
5470
5481
|
"div",
|
|
5471
5482
|
{
|
|
5472
5483
|
style: {
|
|
@@ -5476,7 +5487,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5476
5487
|
marginTop: "8px"
|
|
5477
5488
|
},
|
|
5478
5489
|
children: [
|
|
5479
|
-
/* @__PURE__ */
|
|
5490
|
+
/* @__PURE__ */ l.jsx(
|
|
5480
5491
|
"div",
|
|
5481
5492
|
{
|
|
5482
5493
|
style: {
|
|
@@ -5485,11 +5496,11 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5485
5496
|
width: "8px",
|
|
5486
5497
|
height: "8px",
|
|
5487
5498
|
borderRadius: "50%",
|
|
5488
|
-
backgroundColor:
|
|
5499
|
+
backgroundColor: ye[e]
|
|
5489
5500
|
}
|
|
5490
5501
|
}
|
|
5491
5502
|
),
|
|
5492
|
-
/* @__PURE__ */
|
|
5503
|
+
/* @__PURE__ */ l.jsx(
|
|
5493
5504
|
"div",
|
|
5494
5505
|
{
|
|
5495
5506
|
style: {
|
|
@@ -5498,11 +5509,11 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5498
5509
|
width: "8px",
|
|
5499
5510
|
height: "8px",
|
|
5500
5511
|
borderRadius: "50%",
|
|
5501
|
-
backgroundColor:
|
|
5512
|
+
backgroundColor: ye[e]
|
|
5502
5513
|
}
|
|
5503
5514
|
}
|
|
5504
5515
|
),
|
|
5505
|
-
/* @__PURE__ */
|
|
5516
|
+
/* @__PURE__ */ l.jsx(
|
|
5506
5517
|
"div",
|
|
5507
5518
|
{
|
|
5508
5519
|
style: {
|
|
@@ -5511,11 +5522,11 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5511
5522
|
width: "8px",
|
|
5512
5523
|
height: "8px",
|
|
5513
5524
|
borderRadius: "50%",
|
|
5514
|
-
backgroundColor:
|
|
5525
|
+
backgroundColor: ye[e]
|
|
5515
5526
|
}
|
|
5516
5527
|
}
|
|
5517
5528
|
),
|
|
5518
|
-
/* @__PURE__ */
|
|
5529
|
+
/* @__PURE__ */ l.jsx(
|
|
5519
5530
|
"div",
|
|
5520
5531
|
{
|
|
5521
5532
|
style: {
|
|
@@ -5524,7 +5535,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5524
5535
|
width: "8px",
|
|
5525
5536
|
height: "8px",
|
|
5526
5537
|
borderRadius: "50%",
|
|
5527
|
-
backgroundColor:
|
|
5538
|
+
backgroundColor: ye[e]
|
|
5528
5539
|
}
|
|
5529
5540
|
}
|
|
5530
5541
|
)
|
|
@@ -5532,7 +5543,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5532
5543
|
}
|
|
5533
5544
|
)
|
|
5534
5545
|
}
|
|
5535
|
-
), St = ({ isNetworksLoading: e = !1 }) => /* @__PURE__ */
|
|
5546
|
+
), St = ({ isNetworksLoading: e = !1 }) => /* @__PURE__ */ l.jsx(
|
|
5536
5547
|
"div",
|
|
5537
5548
|
{
|
|
5538
5549
|
style: {
|
|
@@ -5546,7 +5557,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5546
5557
|
justifyContent: "center"
|
|
5547
5558
|
// justify-center
|
|
5548
5559
|
},
|
|
5549
|
-
children: /* @__PURE__ */
|
|
5560
|
+
children: /* @__PURE__ */ l.jsx(
|
|
5550
5561
|
"img",
|
|
5551
5562
|
{
|
|
5552
5563
|
width: e ? "100px" : "25px",
|
|
@@ -5560,7 +5571,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5560
5571
|
title: e,
|
|
5561
5572
|
titleId: t,
|
|
5562
5573
|
...n
|
|
5563
|
-
}) => /* @__PURE__ */
|
|
5574
|
+
}) => /* @__PURE__ */ l.jsxs(
|
|
5564
5575
|
"svg",
|
|
5565
5576
|
{
|
|
5566
5577
|
viewBox: "0 0 25 24",
|
|
@@ -5571,8 +5582,8 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5571
5582
|
"aria-labelledby": t,
|
|
5572
5583
|
...n,
|
|
5573
5584
|
children: [
|
|
5574
|
-
e ? /* @__PURE__ */
|
|
5575
|
-
/* @__PURE__ */
|
|
5585
|
+
e ? /* @__PURE__ */ l.jsx("title", { id: t, children: e }) : null,
|
|
5586
|
+
/* @__PURE__ */ l.jsx(
|
|
5576
5587
|
"path",
|
|
5577
5588
|
{
|
|
5578
5589
|
stroke: "currentColor",
|
|
@@ -5584,7 +5595,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5584
5595
|
)
|
|
5585
5596
|
]
|
|
5586
5597
|
}
|
|
5587
|
-
),
|
|
5598
|
+
), Fs = ({
|
|
5588
5599
|
onClose: e,
|
|
5589
5600
|
iosLink: t,
|
|
5590
5601
|
googleLink: n,
|
|
@@ -5595,7 +5606,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5595
5606
|
urlType: A
|
|
5596
5607
|
}) => {
|
|
5597
5608
|
let m = "";
|
|
5598
|
-
return a === "Ready" && A === "single" ? m = "Redirection url is empty. Are you sure you want to continue?" : !t && !n ? m = "Both links are empty. Are you sure you want to continue?" : t ? n || (m = "Google link is empty. Are you sure you want to continue?") : m = "iOS link is empty. Are you sure you want to continue?", /* @__PURE__ */
|
|
5609
|
+
return a === "Ready" && A === "single" ? m = "Redirection url is empty. Are you sure you want to continue?" : !t && !n ? m = "Both links are empty. Are you sure you want to continue?" : t ? n || (m = "Google link is empty. Are you sure you want to continue?") : m = "iOS link is empty. Are you sure you want to continue?", /* @__PURE__ */ l.jsxs(
|
|
5599
5610
|
"div",
|
|
5600
5611
|
{
|
|
5601
5612
|
style: {
|
|
@@ -5611,7 +5622,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5611
5622
|
backgroundColor: "rgba(0, 0, 0, 0.2)"
|
|
5612
5623
|
},
|
|
5613
5624
|
children: [
|
|
5614
|
-
/* @__PURE__ */
|
|
5625
|
+
/* @__PURE__ */ l.jsx(
|
|
5615
5626
|
"div",
|
|
5616
5627
|
{
|
|
5617
5628
|
onClick: e,
|
|
@@ -5624,7 +5635,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5624
5635
|
}
|
|
5625
5636
|
}
|
|
5626
5637
|
),
|
|
5627
|
-
/* @__PURE__ */
|
|
5638
|
+
/* @__PURE__ */ l.jsxs(
|
|
5628
5639
|
"div",
|
|
5629
5640
|
{
|
|
5630
5641
|
style: {
|
|
@@ -5640,7 +5651,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5640
5651
|
pointerEvents: "auto"
|
|
5641
5652
|
},
|
|
5642
5653
|
children: [
|
|
5643
|
-
/* @__PURE__ */
|
|
5654
|
+
/* @__PURE__ */ l.jsx(
|
|
5644
5655
|
"h1",
|
|
5645
5656
|
{
|
|
5646
5657
|
style: {
|
|
@@ -5651,7 +5662,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5651
5662
|
children: m
|
|
5652
5663
|
}
|
|
5653
5664
|
),
|
|
5654
|
-
/* @__PURE__ */
|
|
5665
|
+
/* @__PURE__ */ l.jsxs(
|
|
5655
5666
|
"div",
|
|
5656
5667
|
{
|
|
5657
5668
|
style: {
|
|
@@ -5659,7 +5670,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5659
5670
|
gap: "5px"
|
|
5660
5671
|
},
|
|
5661
5672
|
children: [
|
|
5662
|
-
/* @__PURE__ */
|
|
5673
|
+
/* @__PURE__ */ l.jsx(
|
|
5663
5674
|
"button",
|
|
5664
5675
|
{
|
|
5665
5676
|
onClick: () => {
|
|
@@ -5677,7 +5688,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5677
5688
|
children: "No"
|
|
5678
5689
|
}
|
|
5679
5690
|
),
|
|
5680
|
-
/* @__PURE__ */
|
|
5691
|
+
/* @__PURE__ */ l.jsx(
|
|
5681
5692
|
"button",
|
|
5682
5693
|
{
|
|
5683
5694
|
onClick: async (u) => {
|
|
@@ -5712,7 +5723,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5712
5723
|
download: n,
|
|
5713
5724
|
creditConfirmType: r,
|
|
5714
5725
|
getDownloadCount: o
|
|
5715
|
-
}) => /* @__PURE__ */
|
|
5726
|
+
}) => /* @__PURE__ */ l.jsxs(
|
|
5716
5727
|
"div",
|
|
5717
5728
|
{
|
|
5718
5729
|
style: {
|
|
@@ -5728,7 +5739,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5728
5739
|
backgroundColor: "#00000080"
|
|
5729
5740
|
},
|
|
5730
5741
|
children: [
|
|
5731
|
-
/* @__PURE__ */
|
|
5742
|
+
/* @__PURE__ */ l.jsx(
|
|
5732
5743
|
"div",
|
|
5733
5744
|
{
|
|
5734
5745
|
onClick: e,
|
|
@@ -5740,7 +5751,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5740
5751
|
}
|
|
5741
5752
|
}
|
|
5742
5753
|
),
|
|
5743
|
-
/* @__PURE__ */
|
|
5754
|
+
/* @__PURE__ */ l.jsxs(
|
|
5744
5755
|
"div",
|
|
5745
5756
|
{
|
|
5746
5757
|
style: {
|
|
@@ -5756,15 +5767,15 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5756
5767
|
padding: "20px"
|
|
5757
5768
|
},
|
|
5758
5769
|
children: [
|
|
5759
|
-
/* @__PURE__ */
|
|
5770
|
+
/* @__PURE__ */ l.jsx(
|
|
5760
5771
|
"h1",
|
|
5761
5772
|
{
|
|
5762
5773
|
style: { textAlign: "center", fontSize: "18px", lineHeight: "24px" },
|
|
5763
5774
|
children: "You are going to spend 1 credit for this download, do you want to continue?"
|
|
5764
5775
|
}
|
|
5765
5776
|
),
|
|
5766
|
-
/* @__PURE__ */
|
|
5767
|
-
/* @__PURE__ */
|
|
5777
|
+
/* @__PURE__ */ l.jsxs("div", { style: { display: "flex", gap: "5px" }, children: [
|
|
5778
|
+
/* @__PURE__ */ l.jsx(
|
|
5768
5779
|
"button",
|
|
5769
5780
|
{
|
|
5770
5781
|
onClick: e,
|
|
@@ -5781,7 +5792,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5781
5792
|
children: "No"
|
|
5782
5793
|
}
|
|
5783
5794
|
),
|
|
5784
|
-
/* @__PURE__ */
|
|
5795
|
+
/* @__PURE__ */ l.jsx(
|
|
5785
5796
|
"button",
|
|
5786
5797
|
{
|
|
5787
5798
|
style: {
|
|
@@ -5809,7 +5820,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5809
5820
|
)
|
|
5810
5821
|
]
|
|
5811
5822
|
}
|
|
5812
|
-
),
|
|
5823
|
+
), _s = ({
|
|
5813
5824
|
onClose: e,
|
|
5814
5825
|
handleDownload: t,
|
|
5815
5826
|
handleDownloadMolocoTest: n,
|
|
@@ -5818,7 +5829,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5818
5829
|
downloadingMoloco: r,
|
|
5819
5830
|
downloadingMolocoTest: o,
|
|
5820
5831
|
downloadingMolocoHtml: i
|
|
5821
|
-
}) => /* @__PURE__ */
|
|
5832
|
+
}) => /* @__PURE__ */ l.jsxs(
|
|
5822
5833
|
"div",
|
|
5823
5834
|
{
|
|
5824
5835
|
style: {
|
|
@@ -5835,7 +5846,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5835
5846
|
},
|
|
5836
5847
|
onClick: e,
|
|
5837
5848
|
children: [
|
|
5838
|
-
/* @__PURE__ */
|
|
5849
|
+
/* @__PURE__ */ l.jsx(
|
|
5839
5850
|
"div",
|
|
5840
5851
|
{
|
|
5841
5852
|
onClick: e,
|
|
@@ -5848,7 +5859,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5848
5859
|
}
|
|
5849
5860
|
}
|
|
5850
5861
|
),
|
|
5851
|
-
/* @__PURE__ */
|
|
5862
|
+
/* @__PURE__ */ l.jsx(
|
|
5852
5863
|
"div",
|
|
5853
5864
|
{
|
|
5854
5865
|
style: {
|
|
@@ -5866,7 +5877,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5866
5877
|
onClick: (a) => {
|
|
5867
5878
|
a.stopPropagation();
|
|
5868
5879
|
},
|
|
5869
|
-
children: /* @__PURE__ */
|
|
5880
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
5870
5881
|
"div",
|
|
5871
5882
|
{
|
|
5872
5883
|
style: {
|
|
@@ -5875,7 +5886,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5875
5886
|
flexDirection: "column"
|
|
5876
5887
|
},
|
|
5877
5888
|
children: [
|
|
5878
|
-
/* @__PURE__ */
|
|
5889
|
+
/* @__PURE__ */ l.jsxs(
|
|
5879
5890
|
"div",
|
|
5880
5891
|
{
|
|
5881
5892
|
style: {
|
|
@@ -5883,7 +5894,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5883
5894
|
justifyContent: "center"
|
|
5884
5895
|
},
|
|
5885
5896
|
children: [
|
|
5886
|
-
r ? /* @__PURE__ */
|
|
5897
|
+
r ? /* @__PURE__ */ l.jsx(
|
|
5887
5898
|
"div",
|
|
5888
5899
|
{
|
|
5889
5900
|
style: {
|
|
@@ -5899,7 +5910,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5899
5910
|
width: "200px",
|
|
5900
5911
|
marginRight: "10px"
|
|
5901
5912
|
},
|
|
5902
|
-
children: /* @__PURE__ */
|
|
5913
|
+
children: /* @__PURE__ */ l.jsx(
|
|
5903
5914
|
"img",
|
|
5904
5915
|
{
|
|
5905
5916
|
width: "25px",
|
|
@@ -5909,7 +5920,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5909
5920
|
}
|
|
5910
5921
|
)
|
|
5911
5922
|
}
|
|
5912
|
-
) : /* @__PURE__ */
|
|
5923
|
+
) : /* @__PURE__ */ l.jsx(
|
|
5913
5924
|
"button",
|
|
5914
5925
|
{
|
|
5915
5926
|
onClick: () => {
|
|
@@ -5928,7 +5939,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5928
5939
|
children: "Download"
|
|
5929
5940
|
}
|
|
5930
5941
|
),
|
|
5931
|
-
i ? /* @__PURE__ */
|
|
5942
|
+
i ? /* @__PURE__ */ l.jsx(
|
|
5932
5943
|
"div",
|
|
5933
5944
|
{
|
|
5934
5945
|
style: {
|
|
@@ -5944,7 +5955,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5944
5955
|
width: "200px",
|
|
5945
5956
|
marginLeft: "10px"
|
|
5946
5957
|
},
|
|
5947
|
-
children: /* @__PURE__ */
|
|
5958
|
+
children: /* @__PURE__ */ l.jsx(
|
|
5948
5959
|
"img",
|
|
5949
5960
|
{
|
|
5950
5961
|
width: "25px",
|
|
@@ -5954,7 +5965,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5954
5965
|
}
|
|
5955
5966
|
)
|
|
5956
5967
|
}
|
|
5957
|
-
) : /* @__PURE__ */
|
|
5968
|
+
) : /* @__PURE__ */ l.jsx(
|
|
5958
5969
|
"button",
|
|
5959
5970
|
{
|
|
5960
5971
|
onClick: () => {
|
|
@@ -5976,14 +5987,14 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5976
5987
|
]
|
|
5977
5988
|
}
|
|
5978
5989
|
),
|
|
5979
|
-
/* @__PURE__ */
|
|
5990
|
+
/* @__PURE__ */ l.jsx(
|
|
5980
5991
|
"div",
|
|
5981
5992
|
{
|
|
5982
5993
|
style: {
|
|
5983
5994
|
display: "flex",
|
|
5984
5995
|
justifyContent: "center"
|
|
5985
5996
|
},
|
|
5986
|
-
children: o ? /* @__PURE__ */
|
|
5997
|
+
children: o ? /* @__PURE__ */ l.jsx(
|
|
5987
5998
|
"div",
|
|
5988
5999
|
{
|
|
5989
6000
|
style: {
|
|
@@ -5998,7 +6009,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5998
6009
|
transition: "all 0.15s ease-linear",
|
|
5999
6010
|
width: "200px"
|
|
6000
6011
|
},
|
|
6001
|
-
children: /* @__PURE__ */
|
|
6012
|
+
children: /* @__PURE__ */ l.jsx(
|
|
6002
6013
|
"img",
|
|
6003
6014
|
{
|
|
6004
6015
|
width: "25px",
|
|
@@ -6008,7 +6019,7 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
6008
6019
|
}
|
|
6009
6020
|
)
|
|
6010
6021
|
}
|
|
6011
|
-
) : /* @__PURE__ */
|
|
6022
|
+
) : /* @__PURE__ */ l.jsx(
|
|
6012
6023
|
"button",
|
|
6013
6024
|
{
|
|
6014
6025
|
onClick: n,
|
|
@@ -6034,14 +6045,14 @@ const Vs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
6034
6045
|
]
|
|
6035
6046
|
}
|
|
6036
6047
|
);
|
|
6037
|
-
async function
|
|
6038
|
-
return (await
|
|
6048
|
+
async function $s(e, t, n, r) {
|
|
6049
|
+
return (await qe.post(e + "/createMolocoTestPage", {
|
|
6039
6050
|
_id: t,
|
|
6040
6051
|
network: n,
|
|
6041
6052
|
typeOfProduct: r
|
|
6042
6053
|
})).data;
|
|
6043
6054
|
}
|
|
6044
|
-
const
|
|
6055
|
+
const el = ({ title: e, titleId: t }) => /* @__PURE__ */ l.jsxs(
|
|
6045
6056
|
"svg",
|
|
6046
6057
|
{
|
|
6047
6058
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6054,23 +6065,33 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6054
6065
|
strokeLinecap: "round",
|
|
6055
6066
|
strokeLinejoin: "round",
|
|
6056
6067
|
children: [
|
|
6057
|
-
/* @__PURE__ */
|
|
6058
|
-
/* @__PURE__ */
|
|
6068
|
+
/* @__PURE__ */ l.jsx("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }),
|
|
6069
|
+
/* @__PURE__ */ l.jsx("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" })
|
|
6059
6070
|
]
|
|
6060
6071
|
}
|
|
6061
|
-
),
|
|
6062
|
-
const [o, i] = T(""), [a, A] = T(!1)
|
|
6072
|
+
), tl = ({ onClose: e, versionId: t, urls: n, handleDownloadError: r }) => {
|
|
6073
|
+
const [o, i] = T(""), [a, A] = T(!1);
|
|
6074
|
+
ve(() => {
|
|
6075
|
+
o || Ns(t).then((u) => {
|
|
6076
|
+
console.log(u), fetch(u.uploadPath).then((s) => {
|
|
6077
|
+
console.log("fetch success"), i(u.uploadPath);
|
|
6078
|
+
}).catch((s) => {
|
|
6079
|
+
console.log("failed to fetch");
|
|
6080
|
+
});
|
|
6081
|
+
});
|
|
6082
|
+
}, [o]);
|
|
6083
|
+
const m = async () => {
|
|
6063
6084
|
A(!0), Ot(t, "cdn", n, null, !1, {}).then((u) => {
|
|
6064
|
-
const
|
|
6085
|
+
const s = u.url.replace(
|
|
6065
6086
|
"playablefactory.b-cdn.net",
|
|
6066
6087
|
"resources.playablefactory.app"
|
|
6067
6088
|
);
|
|
6068
|
-
i(
|
|
6089
|
+
i(s), A(!1);
|
|
6069
6090
|
}).catch((u) => {
|
|
6070
6091
|
r(u.message, u), e(), A(!1);
|
|
6071
6092
|
});
|
|
6072
6093
|
};
|
|
6073
|
-
return /* @__PURE__ */
|
|
6094
|
+
return /* @__PURE__ */ l.jsxs(
|
|
6074
6095
|
"div",
|
|
6075
6096
|
{
|
|
6076
6097
|
style: {
|
|
@@ -6087,7 +6108,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6087
6108
|
},
|
|
6088
6109
|
onClick: e,
|
|
6089
6110
|
children: [
|
|
6090
|
-
/* @__PURE__ */
|
|
6111
|
+
/* @__PURE__ */ l.jsx(
|
|
6091
6112
|
"div",
|
|
6092
6113
|
{
|
|
6093
6114
|
onClick: e,
|
|
@@ -6100,7 +6121,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6100
6121
|
}
|
|
6101
6122
|
}
|
|
6102
6123
|
),
|
|
6103
|
-
/* @__PURE__ */
|
|
6124
|
+
/* @__PURE__ */ l.jsx(
|
|
6104
6125
|
"div",
|
|
6105
6126
|
{
|
|
6106
6127
|
style: {
|
|
@@ -6121,7 +6142,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6121
6142
|
onClick: (u) => {
|
|
6122
6143
|
u.stopPropagation();
|
|
6123
6144
|
},
|
|
6124
|
-
children: /* @__PURE__ */
|
|
6145
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
6125
6146
|
"div",
|
|
6126
6147
|
{
|
|
6127
6148
|
style: {
|
|
@@ -6130,7 +6151,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6130
6151
|
flexDirection: "column"
|
|
6131
6152
|
},
|
|
6132
6153
|
children: [
|
|
6133
|
-
/* @__PURE__ */
|
|
6154
|
+
/* @__PURE__ */ l.jsxs(
|
|
6134
6155
|
"p",
|
|
6135
6156
|
{
|
|
6136
6157
|
style: {
|
|
@@ -6152,11 +6173,11 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6152
6173
|
},
|
|
6153
6174
|
children: [
|
|
6154
6175
|
"Update Link",
|
|
6155
|
-
a && /* @__PURE__ */
|
|
6176
|
+
a && /* @__PURE__ */ l.jsx("img", { width: "30px", src: Pe, alt: "pf-logo-gif" })
|
|
6156
6177
|
]
|
|
6157
6178
|
}
|
|
6158
6179
|
),
|
|
6159
|
-
/* @__PURE__ */
|
|
6180
|
+
/* @__PURE__ */ l.jsxs(
|
|
6160
6181
|
"div",
|
|
6161
6182
|
{
|
|
6162
6183
|
style: {
|
|
@@ -6168,7 +6189,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6168
6189
|
color: "#737373"
|
|
6169
6190
|
},
|
|
6170
6191
|
children: [
|
|
6171
|
-
/* @__PURE__ */
|
|
6192
|
+
/* @__PURE__ */ l.jsx(
|
|
6172
6193
|
"div",
|
|
6173
6194
|
{
|
|
6174
6195
|
style: {
|
|
@@ -6180,10 +6201,10 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6180
6201
|
alignItems: "center",
|
|
6181
6202
|
flexShrink: 0
|
|
6182
6203
|
},
|
|
6183
|
-
children: /* @__PURE__ */
|
|
6204
|
+
children: /* @__PURE__ */ l.jsx(el, {})
|
|
6184
6205
|
}
|
|
6185
6206
|
),
|
|
6186
|
-
/* @__PURE__ */
|
|
6207
|
+
/* @__PURE__ */ l.jsx(
|
|
6187
6208
|
"div",
|
|
6188
6209
|
{
|
|
6189
6210
|
style: {
|
|
@@ -6193,7 +6214,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6193
6214
|
position: "relative",
|
|
6194
6215
|
maxWidth: "68%"
|
|
6195
6216
|
},
|
|
6196
|
-
children: /* @__PURE__ */
|
|
6217
|
+
children: /* @__PURE__ */ l.jsx(
|
|
6197
6218
|
"a",
|
|
6198
6219
|
{
|
|
6199
6220
|
style: {
|
|
@@ -6208,7 +6229,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6208
6229
|
)
|
|
6209
6230
|
}
|
|
6210
6231
|
),
|
|
6211
|
-
/* @__PURE__ */
|
|
6232
|
+
/* @__PURE__ */ l.jsx(
|
|
6212
6233
|
"button",
|
|
6213
6234
|
{
|
|
6214
6235
|
onClick: () => {
|
|
@@ -6241,7 +6262,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6241
6262
|
]
|
|
6242
6263
|
}
|
|
6243
6264
|
);
|
|
6244
|
-
},
|
|
6265
|
+
}, nl = ({
|
|
6245
6266
|
id: e,
|
|
6246
6267
|
imageUrl: t,
|
|
6247
6268
|
handleCardClick: n,
|
|
@@ -6252,7 +6273,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6252
6273
|
showCheckBox: A,
|
|
6253
6274
|
typeOfProduct: m,
|
|
6254
6275
|
versionId: u,
|
|
6255
|
-
api:
|
|
6276
|
+
api: s,
|
|
6256
6277
|
handleDownloadError: d,
|
|
6257
6278
|
fetchFileUrl: v,
|
|
6258
6279
|
urls: g,
|
|
@@ -6337,12 +6358,12 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6337
6358
|
});
|
|
6338
6359
|
}, le = async () => {
|
|
6339
6360
|
x(!0);
|
|
6340
|
-
const ee = await
|
|
6361
|
+
const ee = await $s(s, u, o, m);
|
|
6341
6362
|
let ce = `${v}/${ee == null ? void 0 : ee.url}`;
|
|
6342
6363
|
Yt(ce) ? (yt("Link Copied"), x(!1)) : L(ce);
|
|
6343
6364
|
}, W = o === "moloco" || o === "molocoV2";
|
|
6344
|
-
return /* @__PURE__ */
|
|
6345
|
-
/* @__PURE__ */
|
|
6365
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6366
|
+
/* @__PURE__ */ l.jsxs(
|
|
6346
6367
|
"div",
|
|
6347
6368
|
{
|
|
6348
6369
|
style: {
|
|
@@ -6351,7 +6372,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6351
6372
|
flexDirection: "column",
|
|
6352
6373
|
gap: "20px",
|
|
6353
6374
|
padding: "16px",
|
|
6354
|
-
borderColor: r ?
|
|
6375
|
+
borderColor: r ? ye[m] : "lightgray",
|
|
6355
6376
|
borderWidth: "1px",
|
|
6356
6377
|
borderStyle: "solid",
|
|
6357
6378
|
backgroundColor: "white",
|
|
@@ -6363,7 +6384,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6363
6384
|
className: "border-hover-" + m,
|
|
6364
6385
|
onClick: P,
|
|
6365
6386
|
children: [
|
|
6366
|
-
/* @__PURE__ */
|
|
6387
|
+
/* @__PURE__ */ l.jsxs(
|
|
6367
6388
|
"div",
|
|
6368
6389
|
{
|
|
6369
6390
|
style: {
|
|
@@ -6372,7 +6393,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6372
6393
|
justifyContent: "center"
|
|
6373
6394
|
},
|
|
6374
6395
|
children: [
|
|
6375
|
-
/* @__PURE__ */
|
|
6396
|
+
/* @__PURE__ */ l.jsx(
|
|
6376
6397
|
"div",
|
|
6377
6398
|
{
|
|
6378
6399
|
style: {
|
|
@@ -6381,7 +6402,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6381
6402
|
top: "0",
|
|
6382
6403
|
padding: "8px"
|
|
6383
6404
|
},
|
|
6384
|
-
children: /* @__PURE__ */
|
|
6405
|
+
children: /* @__PURE__ */ l.jsx("div", { children: i && i.map((ee) => ee.network).includes(o) ? a ? /* @__PURE__ */ l.jsx(
|
|
6385
6406
|
"div",
|
|
6386
6407
|
{
|
|
6387
6408
|
style: {
|
|
@@ -6395,9 +6416,9 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6395
6416
|
alignItems: "center",
|
|
6396
6417
|
marginRight: "2rem"
|
|
6397
6418
|
},
|
|
6398
|
-
children: /* @__PURE__ */
|
|
6419
|
+
children: /* @__PURE__ */ l.jsx(Us, { typeOfProduct: m })
|
|
6399
6420
|
}
|
|
6400
|
-
) : i.map((ee) => /* @__PURE__ */
|
|
6421
|
+
) : i.map((ee) => /* @__PURE__ */ l.jsx(
|
|
6401
6422
|
"div",
|
|
6402
6423
|
{
|
|
6403
6424
|
style: {
|
|
@@ -6418,7 +6439,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6418
6439
|
)) : null })
|
|
6419
6440
|
}
|
|
6420
6441
|
),
|
|
6421
|
-
/* @__PURE__ */
|
|
6442
|
+
/* @__PURE__ */ l.jsx(
|
|
6422
6443
|
"div",
|
|
6423
6444
|
{
|
|
6424
6445
|
style: {
|
|
@@ -6427,7 +6448,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6427
6448
|
left: "0",
|
|
6428
6449
|
padding: "0.5rem"
|
|
6429
6450
|
},
|
|
6430
|
-
children: (m === "Playable" || m === "Ready" || m === "Flex") && A && /* @__PURE__ */
|
|
6451
|
+
children: (m === "Playable" || m === "Ready" || m === "Flex") && A && /* @__PURE__ */ l.jsx(
|
|
6431
6452
|
hi,
|
|
6432
6453
|
{
|
|
6433
6454
|
checked: r,
|
|
@@ -6437,7 +6458,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6437
6458
|
)
|
|
6438
6459
|
}
|
|
6439
6460
|
),
|
|
6440
|
-
/* @__PURE__ */
|
|
6461
|
+
/* @__PURE__ */ l.jsx(
|
|
6441
6462
|
"img",
|
|
6442
6463
|
{
|
|
6443
6464
|
onClick: P,
|
|
@@ -6453,7 +6474,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6453
6474
|
]
|
|
6454
6475
|
}
|
|
6455
6476
|
),
|
|
6456
|
-
/* @__PURE__ */
|
|
6477
|
+
/* @__PURE__ */ l.jsxs(
|
|
6457
6478
|
"div",
|
|
6458
6479
|
{
|
|
6459
6480
|
style: {
|
|
@@ -6463,7 +6484,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6463
6484
|
gap: "0.25rem"
|
|
6464
6485
|
},
|
|
6465
6486
|
children: [
|
|
6466
|
-
/* @__PURE__ */
|
|
6487
|
+
/* @__PURE__ */ l.jsx(
|
|
6467
6488
|
Nn,
|
|
6468
6489
|
{
|
|
6469
6490
|
className: `${W ? "w-1/2" : "w-2/3"} border-hover-` + m,
|
|
@@ -6480,9 +6501,9 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6480
6501
|
y && y.willSpendCredit ? (p(!0), C("download"), Q(!0)) : ["Playable", "Flex"].includes(m) && (!ce || !de) || m === "Ready" && G === "single" && !ce || m === "Ready" && G === "multi" && (!ce || !de) ? (p(!0), K(!0)) : (K(!1), Q(!1), await V(o, "download"));
|
|
6481
6502
|
}
|
|
6482
6503
|
},
|
|
6483
|
-
children: W ? /* @__PURE__ */
|
|
6484
|
-
!Z && /* @__PURE__ */
|
|
6485
|
-
/* @__PURE__ */
|
|
6504
|
+
children: W ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6505
|
+
!Z && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6506
|
+
/* @__PURE__ */ l.jsx(
|
|
6486
6507
|
Rn,
|
|
6487
6508
|
{
|
|
6488
6509
|
style: {
|
|
@@ -6499,10 +6520,10 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6499
6520
|
),
|
|
6500
6521
|
M.customer !== "playableFactoryInternal" ? "TXT" : "Download"
|
|
6501
6522
|
] }),
|
|
6502
|
-
Z && /* @__PURE__ */
|
|
6503
|
-
] }) : /* @__PURE__ */
|
|
6504
|
-
!X && /* @__PURE__ */
|
|
6505
|
-
/* @__PURE__ */
|
|
6523
|
+
Z && /* @__PURE__ */ l.jsx(St, {})
|
|
6524
|
+
] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6525
|
+
!X && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6526
|
+
/* @__PURE__ */ l.jsx(
|
|
6506
6527
|
Rn,
|
|
6507
6528
|
{
|
|
6508
6529
|
style: {
|
|
@@ -6519,11 +6540,11 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6519
6540
|
),
|
|
6520
6541
|
"Download"
|
|
6521
6542
|
] }),
|
|
6522
|
-
X && /* @__PURE__ */
|
|
6543
|
+
X && /* @__PURE__ */ l.jsx(St, {})
|
|
6523
6544
|
] })
|
|
6524
6545
|
}
|
|
6525
6546
|
),
|
|
6526
|
-
N[o] && N[o].includes("copy") && /* @__PURE__ */
|
|
6547
|
+
N[o] && N[o].includes("copy") && /* @__PURE__ */ l.jsx(
|
|
6527
6548
|
Nn,
|
|
6528
6549
|
{
|
|
6529
6550
|
className: "w-1/3 border-hover-" + m,
|
|
@@ -6533,10 +6554,10 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6533
6554
|
y && (y != null && y.willSpendCredit) ? (C("copy"), p(!0), Q(!0)) : m !== "Import" && (!ce || !de) ? (p(!0), K(!0)) : (Q(!1), K(!1), await V(o, "copy"));
|
|
6534
6555
|
},
|
|
6535
6556
|
disabled: k,
|
|
6536
|
-
children: /* @__PURE__ */
|
|
6557
|
+
children: /* @__PURE__ */ l.jsx(zo, { className: "h-6 w-6 stroke-dark-full" })
|
|
6537
6558
|
}
|
|
6538
6559
|
),
|
|
6539
|
-
W && M.customer !== "playableFactoryInternal" && /* @__PURE__ */
|
|
6560
|
+
W && M.customer !== "playableFactoryInternal" && /* @__PURE__ */ l.jsxs(
|
|
6540
6561
|
Nn,
|
|
6541
6562
|
{
|
|
6542
6563
|
className: "w-1/2 border-hover-" + m,
|
|
@@ -6547,8 +6568,8 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6547
6568
|
},
|
|
6548
6569
|
disabled: k,
|
|
6549
6570
|
children: [
|
|
6550
|
-
!z && /* @__PURE__ */
|
|
6551
|
-
/* @__PURE__ */
|
|
6571
|
+
!z && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6572
|
+
/* @__PURE__ */ l.jsx(
|
|
6552
6573
|
Rn,
|
|
6553
6574
|
{
|
|
6554
6575
|
style: {
|
|
@@ -6565,14 +6586,14 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6565
6586
|
),
|
|
6566
6587
|
"HTML"
|
|
6567
6588
|
] }),
|
|
6568
|
-
z && /* @__PURE__ */
|
|
6589
|
+
z && /* @__PURE__ */ l.jsx(St, {})
|
|
6569
6590
|
]
|
|
6570
6591
|
}
|
|
6571
6592
|
)
|
|
6572
6593
|
]
|
|
6573
6594
|
}
|
|
6574
6595
|
),
|
|
6575
|
-
W && /* @__PURE__ */
|
|
6596
|
+
W && /* @__PURE__ */ l.jsx(
|
|
6576
6597
|
"img",
|
|
6577
6598
|
{
|
|
6578
6599
|
style: {
|
|
@@ -6587,7 +6608,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6587
6608
|
]
|
|
6588
6609
|
}
|
|
6589
6610
|
),
|
|
6590
|
-
ae && /* @__PURE__ */
|
|
6611
|
+
ae && /* @__PURE__ */ l.jsx(
|
|
6591
6612
|
gi,
|
|
6592
6613
|
{
|
|
6593
6614
|
creditConfirmType: R,
|
|
@@ -6603,8 +6624,8 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6603
6624
|
getDownloadCount: I
|
|
6604
6625
|
}
|
|
6605
6626
|
),
|
|
6606
|
-
_ && /* @__PURE__ */
|
|
6607
|
-
|
|
6627
|
+
_ && /* @__PURE__ */ l.jsx(
|
|
6628
|
+
Fs,
|
|
6608
6629
|
{
|
|
6609
6630
|
onClose: () => {
|
|
6610
6631
|
K(!1), p(!1);
|
|
@@ -6622,8 +6643,8 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6622
6643
|
urlType: G
|
|
6623
6644
|
}
|
|
6624
6645
|
),
|
|
6625
|
-
Y && M.customer === "playableFactoryInternal" && /* @__PURE__ */
|
|
6626
|
-
|
|
6646
|
+
Y && M.customer === "playableFactoryInternal" && /* @__PURE__ */ l.jsx(
|
|
6647
|
+
_s,
|
|
6627
6648
|
{
|
|
6628
6649
|
onClose: () => {
|
|
6629
6650
|
J(!1);
|
|
@@ -6635,8 +6656,8 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6635
6656
|
downloadingMolocoHtml: z
|
|
6636
6657
|
}
|
|
6637
6658
|
),
|
|
6638
|
-
h && /* @__PURE__ */
|
|
6639
|
-
|
|
6659
|
+
h && /* @__PURE__ */ l.jsx(
|
|
6660
|
+
tl,
|
|
6640
6661
|
{
|
|
6641
6662
|
onClose: () => {
|
|
6642
6663
|
j(!1);
|
|
@@ -6898,7 +6919,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6898
6919
|
name: "cdn",
|
|
6899
6920
|
imageSrc: "https://home.playablefactory.com/cdn.png"
|
|
6900
6921
|
}
|
|
6901
|
-
],
|
|
6922
|
+
], rl = ({ children: e, typeOfProduct: t, className: n, onClick: r }) => {
|
|
6902
6923
|
const o = {
|
|
6903
6924
|
display: "flex",
|
|
6904
6925
|
flexDirection: "column",
|
|
@@ -6907,18 +6928,18 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6907
6928
|
padding: "0.5rem",
|
|
6908
6929
|
width: "12rem",
|
|
6909
6930
|
height: "2.5rem",
|
|
6910
|
-
backgroundColor:
|
|
6931
|
+
backgroundColor: ye[t],
|
|
6911
6932
|
color: "white",
|
|
6912
6933
|
fontSize: "0.875rem",
|
|
6913
6934
|
borderRadius: "0.875rem"
|
|
6914
6935
|
};
|
|
6915
|
-
return /* @__PURE__ */
|
|
6916
|
-
},
|
|
6936
|
+
return /* @__PURE__ */ l.jsx("button", { onClick: r, className: n, style: o, children: e });
|
|
6937
|
+
}, ol = ({
|
|
6917
6938
|
networksVersionTotalSize: e,
|
|
6918
6939
|
typeOfProduct: t,
|
|
6919
6940
|
onClickMultiDownload: n,
|
|
6920
6941
|
multiDownloading: r
|
|
6921
|
-
}) => /* @__PURE__ */
|
|
6942
|
+
}) => /* @__PURE__ */ l.jsx(
|
|
6922
6943
|
"div",
|
|
6923
6944
|
{
|
|
6924
6945
|
style: {
|
|
@@ -6927,7 +6948,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6927
6948
|
justifyContent: "center",
|
|
6928
6949
|
padding: "8px"
|
|
6929
6950
|
},
|
|
6930
|
-
children: r ? /* @__PURE__ */
|
|
6951
|
+
children: r ? /* @__PURE__ */ l.jsx(
|
|
6931
6952
|
"div",
|
|
6932
6953
|
{
|
|
6933
6954
|
style: {
|
|
@@ -6938,11 +6959,11 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6938
6959
|
borderRadius: "0.875rem",
|
|
6939
6960
|
alignItems: "center",
|
|
6940
6961
|
justifyContent: "center",
|
|
6941
|
-
backgroundColor:
|
|
6962
|
+
backgroundColor: ye[t]
|
|
6942
6963
|
},
|
|
6943
|
-
children: /* @__PURE__ */
|
|
6964
|
+
children: /* @__PURE__ */ l.jsx(St, {})
|
|
6944
6965
|
}
|
|
6945
|
-
) : /* @__PURE__ */
|
|
6966
|
+
) : /* @__PURE__ */ l.jsx(rl, { typeOfProduct: t, onClick: n, children: /* @__PURE__ */ l.jsx(
|
|
6946
6967
|
"span",
|
|
6947
6968
|
{
|
|
6948
6969
|
style: {
|
|
@@ -6954,7 +6975,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6954
6975
|
}
|
|
6955
6976
|
) })
|
|
6956
6977
|
}
|
|
6957
|
-
),
|
|
6978
|
+
), il = ({
|
|
6958
6979
|
playable: e,
|
|
6959
6980
|
creditDownload: t,
|
|
6960
6981
|
visible: n,
|
|
@@ -6965,7 +6986,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6965
6986
|
handleDownloadError: A,
|
|
6966
6987
|
fetchFileUrl: m,
|
|
6967
6988
|
urls: u,
|
|
6968
|
-
game:
|
|
6989
|
+
game: s,
|
|
6969
6990
|
getDownloadCount: d,
|
|
6970
6991
|
disabled: v,
|
|
6971
6992
|
setSafariCopyLink: g,
|
|
@@ -6984,7 +7005,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6984
7005
|
Qt.filter((z) => [...S].includes(z.id)).map((z) => z.name);
|
|
6985
7006
|
}, R = async () => new Promise(async (Z, S) => {
|
|
6986
7007
|
const z = Qt.filter((O) => [...k].includes(O.id)).map((O) => O.name);
|
|
6987
|
-
ae(!0),
|
|
7008
|
+
ae(!0), Ys(r, u, z, { urlType: p }).then((O) => {
|
|
6988
7009
|
ae(!1), Z(O);
|
|
6989
7010
|
}).catch((O) => {
|
|
6990
7011
|
console.log("get multi download err"), ae(!1), A(O.message, O), S(O);
|
|
@@ -6992,14 +7013,14 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
6992
7013
|
}), C = async () => {
|
|
6993
7014
|
u.iosUrl, u.googleUrl, t && t.willSpendCredit ? (_(!0), Y("download"), h(!0)) : (h(!1), await R());
|
|
6994
7015
|
};
|
|
6995
|
-
return
|
|
7016
|
+
return ve(() => {
|
|
6996
7017
|
const Z = Qt.filter((S) => {
|
|
6997
7018
|
var z;
|
|
6998
7019
|
return t && ((z = t == null ? void 0 : t.networks) == null ? void 0 : z.length) > 0 ? t == null ? void 0 : t.networks.includes(S.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((O) => O.status === "paid").some((O) => O.name === S.name) : e == null ? void 0 : e.networks.includes(S.name);
|
|
6999
7020
|
}).filter((S) => S.name === "voodoo" ? a.customer === "customer:20" : !0).map((S) => S.id);
|
|
7000
7021
|
M(y ? Z : []);
|
|
7001
|
-
}, [y]), /* @__PURE__ */
|
|
7002
|
-
/* @__PURE__ */
|
|
7022
|
+
}, [y]), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
7023
|
+
/* @__PURE__ */ l.jsx(
|
|
7003
7024
|
"div",
|
|
7004
7025
|
{
|
|
7005
7026
|
style: {
|
|
@@ -7009,7 +7030,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7009
7030
|
padding: "1.5rem",
|
|
7010
7031
|
paddingTop: "0"
|
|
7011
7032
|
},
|
|
7012
|
-
children: /* @__PURE__ */
|
|
7033
|
+
children: /* @__PURE__ */ l.jsx(
|
|
7013
7034
|
"div",
|
|
7014
7035
|
{
|
|
7015
7036
|
style: {
|
|
@@ -7030,8 +7051,8 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7030
7051
|
let z = "web_" + o.toLowerCase() + ".png";
|
|
7031
7052
|
S = S.replace("web.png", z);
|
|
7032
7053
|
}
|
|
7033
|
-
return /* @__PURE__ */
|
|
7034
|
-
|
|
7054
|
+
return /* @__PURE__ */ l.jsx(
|
|
7055
|
+
nl,
|
|
7035
7056
|
{
|
|
7036
7057
|
id: Z.id,
|
|
7037
7058
|
name: Z.name,
|
|
@@ -7047,7 +7068,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7047
7068
|
handleDownloadError: A,
|
|
7048
7069
|
fetchFileUrl: m,
|
|
7049
7070
|
urls: u,
|
|
7050
|
-
game:
|
|
7071
|
+
game: s,
|
|
7051
7072
|
creditDownload: t,
|
|
7052
7073
|
setIsConfirmActive: _,
|
|
7053
7074
|
getDownloadCount: d,
|
|
@@ -7064,7 +7085,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7064
7085
|
)
|
|
7065
7086
|
}
|
|
7066
7087
|
),
|
|
7067
|
-
k.length > 1 && (o === "Playable" || o === "Ready" || o === "Flex") && /* @__PURE__ */
|
|
7088
|
+
k.length > 1 && (o === "Playable" || o === "Ready" || o === "Flex") && /* @__PURE__ */ l.jsx(
|
|
7068
7089
|
"div",
|
|
7069
7090
|
{
|
|
7070
7091
|
style: {
|
|
@@ -7077,8 +7098,8 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7077
7098
|
flexDirection: "column",
|
|
7078
7099
|
paddingTop: "5px"
|
|
7079
7100
|
},
|
|
7080
|
-
children: /* @__PURE__ */
|
|
7081
|
-
|
|
7101
|
+
children: /* @__PURE__ */ l.jsx(
|
|
7102
|
+
ol,
|
|
7082
7103
|
{
|
|
7083
7104
|
onClickMultiDownload: C,
|
|
7084
7105
|
networksVersionTotalSize: F,
|
|
@@ -7088,7 +7109,7 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7088
7109
|
)
|
|
7089
7110
|
}
|
|
7090
7111
|
),
|
|
7091
|
-
J && /* @__PURE__ */
|
|
7112
|
+
J && /* @__PURE__ */ l.jsx(
|
|
7092
7113
|
gi,
|
|
7093
7114
|
{
|
|
7094
7115
|
creditConfirmType: K,
|
|
@@ -7105,30 +7126,30 @@ const _s = ({ title: e, titleId: t }) => /* @__PURE__ */ s.jsxs(
|
|
|
7105
7126
|
)
|
|
7106
7127
|
] });
|
|
7107
7128
|
};
|
|
7108
|
-
async function
|
|
7109
|
-
return (await
|
|
7129
|
+
async function al(e, t) {
|
|
7130
|
+
return (await qe.post(t + "/getFlexDownloadCount", e)).data;
|
|
7110
7131
|
}
|
|
7111
|
-
async function
|
|
7132
|
+
async function Al(e, t) {
|
|
7112
7133
|
try {
|
|
7113
|
-
return (await
|
|
7134
|
+
return (await qe.post(t + "/findGame", { _id: e })).data;
|
|
7114
7135
|
} catch {
|
|
7115
7136
|
}
|
|
7116
7137
|
}
|
|
7117
|
-
async function
|
|
7118
|
-
return (await
|
|
7138
|
+
async function sl(e, t) {
|
|
7139
|
+
return (await qe.post(t + "/getPlayableVersionMarketLink", {
|
|
7119
7140
|
_id: e
|
|
7120
7141
|
})).data;
|
|
7121
7142
|
}
|
|
7122
|
-
async function
|
|
7123
|
-
return (await
|
|
7143
|
+
async function ll(e, t) {
|
|
7144
|
+
return (await qe.post(t + "/getFlexData", { _id: e })).data;
|
|
7124
7145
|
}
|
|
7125
|
-
async function
|
|
7126
|
-
return (await
|
|
7146
|
+
async function ul(e, t) {
|
|
7147
|
+
return (await qe.post(t + "/getImportedPlayable", { id: e })).data;
|
|
7127
7148
|
}
|
|
7128
|
-
async function
|
|
7129
|
-
return (await
|
|
7149
|
+
async function cl(e, t) {
|
|
7150
|
+
return (await qe.post(t + "/getReadyDownloadCount", e)).data;
|
|
7130
7151
|
}
|
|
7131
|
-
const
|
|
7152
|
+
const ml = [
|
|
7132
7153
|
"adcolony",
|
|
7133
7154
|
"ironsource",
|
|
7134
7155
|
"applovin",
|
|
@@ -7160,7 +7181,7 @@ const ul = [
|
|
|
7160
7181
|
"cdn"
|
|
7161
7182
|
];
|
|
7162
7183
|
let po = null;
|
|
7163
|
-
const
|
|
7184
|
+
const dl = ({
|
|
7164
7185
|
playableId: e,
|
|
7165
7186
|
versionId: t,
|
|
7166
7187
|
gameId: n,
|
|
@@ -7171,7 +7192,7 @@ const cl = ({
|
|
|
7171
7192
|
title: A,
|
|
7172
7193
|
handleDownloadError: m,
|
|
7173
7194
|
fetchFileUrl: u,
|
|
7174
|
-
fileSize:
|
|
7195
|
+
fileSize: s,
|
|
7175
7196
|
setFileSize: d,
|
|
7176
7197
|
setSafariCopyLink: v,
|
|
7177
7198
|
iosLink: g,
|
|
@@ -7184,8 +7205,8 @@ const cl = ({
|
|
|
7184
7205
|
const [M, L] = T(null), [b, G] = T(null), [X, F] = T(null), [ue, te] = T(!1), [ae, Q] = T(!0), [_, K] = T(window.innerWidth), [Y, J] = T(!1);
|
|
7185
7206
|
console.log("download modal version: 6.0.22");
|
|
7186
7207
|
const [h, j] = T(!1);
|
|
7187
|
-
|
|
7188
|
-
}, [h]),
|
|
7208
|
+
ve(() => {
|
|
7209
|
+
}, [h]), ve(() => {
|
|
7189
7210
|
const x = () => {
|
|
7190
7211
|
K(window.innerWidth);
|
|
7191
7212
|
};
|
|
@@ -7196,7 +7217,7 @@ const cl = ({
|
|
|
7196
7217
|
const R = async () => {
|
|
7197
7218
|
te(!0);
|
|
7198
7219
|
const x = await $n(e, i);
|
|
7199
|
-
return x != null && x.networks || (x.networks =
|
|
7220
|
+
return x != null && x.networks || (x.networks = ml), L(x), x;
|
|
7200
7221
|
}, C = (x, N) => {
|
|
7201
7222
|
clearTimeout(po), po = setTimeout(() => {
|
|
7202
7223
|
console.log("Update URLS:"), br(t, { iosUrl: x, googleUrl: N }, { urlType: I });
|
|
@@ -7211,7 +7232,7 @@ const cl = ({
|
|
|
7211
7232
|
try {
|
|
7212
7233
|
let B;
|
|
7213
7234
|
if (r === "Playable" || r === "Ready") {
|
|
7214
|
-
const le = await
|
|
7235
|
+
const le = await sl(t, i);
|
|
7215
7236
|
if (le) {
|
|
7216
7237
|
console.log("version", le), p(le.iosLink), y(le.androidLink), te(!1);
|
|
7217
7238
|
return;
|
|
@@ -7235,7 +7256,7 @@ const cl = ({
|
|
|
7235
7256
|
} else
|
|
7236
7257
|
y(""), p(""), te(!1);
|
|
7237
7258
|
} else if (r === "Flex") {
|
|
7238
|
-
const le = await
|
|
7259
|
+
const le = await ll(t, i);
|
|
7239
7260
|
if (le.googleUrl || le.iosUrl) {
|
|
7240
7261
|
y(le.googleUrl), p(le.iosUrl), te(!1);
|
|
7241
7262
|
return;
|
|
@@ -7248,15 +7269,15 @@ const cl = ({
|
|
|
7248
7269
|
}, O = async () => {
|
|
7249
7270
|
te(!0);
|
|
7250
7271
|
let x;
|
|
7251
|
-
r === "Flex" ? x = await
|
|
7272
|
+
r === "Flex" ? x = await al({ _id: t }, i) : r === "Ready" && (x = await cl({ _id: t }, i)), x && (["admin", "pm", "tester", "sales"].includes(a.role) ? F({
|
|
7252
7273
|
...x,
|
|
7253
7274
|
networks: mo
|
|
7254
7275
|
}) : r === "Ready" && !x.canDownload ? F({
|
|
7255
7276
|
...x,
|
|
7256
7277
|
networks: mo
|
|
7257
7278
|
}) : F(x)), te(!1);
|
|
7258
|
-
}, $ = async () => await
|
|
7259
|
-
return
|
|
7279
|
+
}, $ = async () => await Al(n, i);
|
|
7280
|
+
return ve(() => {
|
|
7260
7281
|
o || (L(null), G(null), F(null), d(null)), o && (r === "Playable" ? (R().then((x) => {
|
|
7261
7282
|
z(null, x);
|
|
7262
7283
|
}), Q(!1)) : r === "Ready" ? O().then((x) => {
|
|
@@ -7267,10 +7288,10 @@ const cl = ({
|
|
|
7267
7288
|
Q(!1), $().then((N) => {
|
|
7268
7289
|
o && (z(N, null), Q(!1), G(N));
|
|
7269
7290
|
});
|
|
7270
|
-
}) : r === "Import" &&
|
|
7291
|
+
}) : r === "Import" && ul(t, i).then((x) => {
|
|
7271
7292
|
console.log(x), L(x), p(x.iosUrl || ""), y(x.googleUrl || ""), te(!1), Q(!1);
|
|
7272
7293
|
}));
|
|
7273
|
-
}, [n, e, t, o]), /* @__PURE__ */
|
|
7294
|
+
}, [n, e, t, o]), /* @__PURE__ */ l.jsxs(
|
|
7274
7295
|
"div",
|
|
7275
7296
|
{
|
|
7276
7297
|
style: {
|
|
@@ -7284,12 +7305,12 @@ const cl = ({
|
|
|
7284
7305
|
paddingTop: "0px"
|
|
7285
7306
|
},
|
|
7286
7307
|
children: [
|
|
7287
|
-
/* @__PURE__ */
|
|
7288
|
-
|
|
7308
|
+
/* @__PURE__ */ l.jsx(
|
|
7309
|
+
Bs,
|
|
7289
7310
|
{
|
|
7290
7311
|
title: A,
|
|
7291
7312
|
typeOfProduct: r,
|
|
7292
|
-
fileSize:
|
|
7313
|
+
fileSize: s,
|
|
7293
7314
|
urls: { iosUrl: g, googleUrl: f },
|
|
7294
7315
|
handleIosChange: Z,
|
|
7295
7316
|
handleGoogleChange: S,
|
|
@@ -7305,7 +7326,7 @@ const cl = ({
|
|
|
7305
7326
|
setAllNetworksSelected: j
|
|
7306
7327
|
}
|
|
7307
7328
|
),
|
|
7308
|
-
ue ? /* @__PURE__ */
|
|
7329
|
+
ue ? /* @__PURE__ */ l.jsx(
|
|
7309
7330
|
"div",
|
|
7310
7331
|
{
|
|
7311
7332
|
style: {
|
|
@@ -7315,10 +7336,10 @@ const cl = ({
|
|
|
7315
7336
|
display: "flex",
|
|
7316
7337
|
justifyContent: "center"
|
|
7317
7338
|
},
|
|
7318
|
-
children: /* @__PURE__ */
|
|
7339
|
+
children: /* @__PURE__ */ l.jsx(St, { isNetworksLoading: !0 })
|
|
7319
7340
|
}
|
|
7320
|
-
) : (M || X) && (r === "Flex" ? b : !0) && !ue && g !== "Loading..." && f !== "Loading..." && /* @__PURE__ */
|
|
7321
|
-
|
|
7341
|
+
) : (M || X) && (r === "Flex" ? b : !0) && !ue && g !== "Loading..." && f !== "Loading..." && /* @__PURE__ */ l.jsx(
|
|
7342
|
+
il,
|
|
7322
7343
|
{
|
|
7323
7344
|
playable: M,
|
|
7324
7345
|
creditDownload: X,
|
|
@@ -7348,7 +7369,7 @@ var er = { exports: {} }, ct = {}, tr = { exports: {} }, De = {}, nr = { exports
|
|
|
7348
7369
|
(function(e, t) {
|
|
7349
7370
|
Object.defineProperty(t, "__esModule", {
|
|
7350
7371
|
value: !0
|
|
7351
|
-
}), t.default =
|
|
7372
|
+
}), t.default = s;
|
|
7352
7373
|
/*!
|
|
7353
7374
|
* Adapted from jQuery UI core
|
|
7354
7375
|
*
|
|
@@ -7394,9 +7415,9 @@ var er = { exports: {} }, ct = {}, tr = { exports: {} }, De = {}, nr = { exports
|
|
|
7394
7415
|
var g = isNaN(v);
|
|
7395
7416
|
return (g || v >= 0) && m(d, !g);
|
|
7396
7417
|
}
|
|
7397
|
-
function
|
|
7418
|
+
function s(d) {
|
|
7398
7419
|
var v = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(g, f) {
|
|
7399
|
-
return g.concat(f.shadowRoot ?
|
|
7420
|
+
return g.concat(f.shadowRoot ? s(f.shadowRoot) : [f]);
|
|
7400
7421
|
}, []);
|
|
7401
7422
|
return v.filter(u);
|
|
7402
7423
|
}
|
|
@@ -7406,24 +7427,24 @@ var qi = nr.exports;
|
|
|
7406
7427
|
Object.defineProperty(De, "__esModule", {
|
|
7407
7428
|
value: !0
|
|
7408
7429
|
});
|
|
7409
|
-
De.resetState =
|
|
7410
|
-
De.log =
|
|
7430
|
+
De.resetState = gl;
|
|
7431
|
+
De.log = ql;
|
|
7411
7432
|
De.handleBlur = Et;
|
|
7412
7433
|
De.handleFocus = kt;
|
|
7413
|
-
De.markForFocusLater =
|
|
7414
|
-
De.returnFocus =
|
|
7415
|
-
De.popWithoutFocus =
|
|
7416
|
-
De.setupScopedFocus =
|
|
7417
|
-
De.teardownScopedFocus =
|
|
7418
|
-
var
|
|
7419
|
-
function
|
|
7434
|
+
De.markForFocusLater = yl;
|
|
7435
|
+
De.returnFocus = vl;
|
|
7436
|
+
De.popWithoutFocus = bl;
|
|
7437
|
+
De.setupScopedFocus = Cl;
|
|
7438
|
+
De.teardownScopedFocus = Zl;
|
|
7439
|
+
var pl = qi, fl = hl(pl);
|
|
7440
|
+
function hl(e) {
|
|
7420
7441
|
return e && e.__esModule ? e : { default: e };
|
|
7421
7442
|
}
|
|
7422
7443
|
var mt = [], ft = null, rr = !1;
|
|
7423
|
-
function
|
|
7444
|
+
function gl() {
|
|
7424
7445
|
mt = [];
|
|
7425
7446
|
}
|
|
7426
|
-
function
|
|
7447
|
+
function ql() {
|
|
7427
7448
|
process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), mt.forEach(function(e) {
|
|
7428
7449
|
var t = e || {};
|
|
7429
7450
|
console.log(t.nodeName, t.className, t.id);
|
|
@@ -7438,16 +7459,16 @@ function kt() {
|
|
|
7438
7459
|
return;
|
|
7439
7460
|
setTimeout(function() {
|
|
7440
7461
|
if (!ft.contains(document.activeElement)) {
|
|
7441
|
-
var e = (0,
|
|
7462
|
+
var e = (0, fl.default)(ft)[0] || ft;
|
|
7442
7463
|
e.focus();
|
|
7443
7464
|
}
|
|
7444
7465
|
}, 0);
|
|
7445
7466
|
}
|
|
7446
7467
|
}
|
|
7447
|
-
function
|
|
7468
|
+
function yl() {
|
|
7448
7469
|
mt.push(document.activeElement);
|
|
7449
7470
|
}
|
|
7450
|
-
function
|
|
7471
|
+
function vl() {
|
|
7451
7472
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, t = null;
|
|
7452
7473
|
try {
|
|
7453
7474
|
mt.length !== 0 && (t = mt.pop(), t.focus({ preventScroll: e }));
|
|
@@ -7456,13 +7477,13 @@ function ql() {
|
|
|
7456
7477
|
console.warn(["You tried to return focus to", t, "but it is not in the DOM anymore"].join(" "));
|
|
7457
7478
|
}
|
|
7458
7479
|
}
|
|
7459
|
-
function
|
|
7480
|
+
function bl() {
|
|
7460
7481
|
mt.length > 0 && mt.pop();
|
|
7461
7482
|
}
|
|
7462
|
-
function
|
|
7483
|
+
function Cl(e) {
|
|
7463
7484
|
ft = e, window.addEventListener ? (window.addEventListener("blur", Et, !1), document.addEventListener("focus", kt, !0)) : (window.attachEvent("onBlur", Et), document.attachEvent("onFocus", kt));
|
|
7464
7485
|
}
|
|
7465
|
-
function
|
|
7486
|
+
function Zl() {
|
|
7466
7487
|
ft = null, window.addEventListener ? (window.removeEventListener("blur", Et), document.removeEventListener("focus", kt)) : (window.detachEvent("onBlur", Et), document.detachEvent("onFocus", kt));
|
|
7467
7488
|
}
|
|
7468
7489
|
var or = { exports: {} };
|
|
@@ -7484,32 +7505,32 @@ var or = { exports: {} };
|
|
|
7484
7505
|
m.preventDefault();
|
|
7485
7506
|
return;
|
|
7486
7507
|
}
|
|
7487
|
-
var
|
|
7508
|
+
var s = void 0, d = m.shiftKey, v = u[0], g = u[u.length - 1], f = i();
|
|
7488
7509
|
if (A === f) {
|
|
7489
7510
|
if (!d)
|
|
7490
7511
|
return;
|
|
7491
|
-
|
|
7512
|
+
s = g;
|
|
7492
7513
|
}
|
|
7493
|
-
if (g === f && !d && (
|
|
7494
|
-
m.preventDefault(),
|
|
7514
|
+
if (g === f && !d && (s = v), v === f && d && (s = g), s) {
|
|
7515
|
+
m.preventDefault(), s.focus();
|
|
7495
7516
|
return;
|
|
7496
7517
|
}
|
|
7497
7518
|
var p = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), y = p != null && p[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
7498
7519
|
if (y) {
|
|
7499
7520
|
var I = u.indexOf(f);
|
|
7500
|
-
if (I > -1 && (I += d ? -1 : 1),
|
|
7501
|
-
m.preventDefault(),
|
|
7521
|
+
if (I > -1 && (I += d ? -1 : 1), s = u[I], typeof s > "u") {
|
|
7522
|
+
m.preventDefault(), s = d ? g : v, s.focus();
|
|
7502
7523
|
return;
|
|
7503
7524
|
}
|
|
7504
|
-
m.preventDefault(),
|
|
7525
|
+
m.preventDefault(), s.focus();
|
|
7505
7526
|
}
|
|
7506
7527
|
}
|
|
7507
7528
|
e.exports = t.default;
|
|
7508
7529
|
})(or, or.exports);
|
|
7509
|
-
var
|
|
7530
|
+
var Il = or.exports, Ge = {}, wl = process.env.NODE_ENV !== "production", yi = function() {
|
|
7510
7531
|
};
|
|
7511
|
-
if (
|
|
7512
|
-
var
|
|
7532
|
+
if (wl) {
|
|
7533
|
+
var xl = function(t, n) {
|
|
7513
7534
|
var r = arguments.length;
|
|
7514
7535
|
n = new Array(r > 1 ? r - 1 : 0);
|
|
7515
7536
|
for (var o = 1; o < r; o++)
|
|
@@ -7532,10 +7553,10 @@ if (Zl) {
|
|
|
7532
7553
|
throw new Error(
|
|
7533
7554
|
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
7534
7555
|
);
|
|
7535
|
-
e ||
|
|
7556
|
+
e || xl.apply(null, [t].concat(n));
|
|
7536
7557
|
};
|
|
7537
7558
|
}
|
|
7538
|
-
var
|
|
7559
|
+
var Kl = yi, Ne = {}, vi = { exports: {} };
|
|
7539
7560
|
/*!
|
|
7540
7561
|
Copyright (c) 2015 Jed Watson.
|
|
7541
7562
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -7552,44 +7573,44 @@ var wl = yi, Ne = {}, vi = { exports: {} };
|
|
|
7552
7573
|
e.exports ? e.exports = n : window.ExecutionEnvironment = n;
|
|
7553
7574
|
})();
|
|
7554
7575
|
})(vi);
|
|
7555
|
-
var
|
|
7576
|
+
var Wl = vi.exports;
|
|
7556
7577
|
Object.defineProperty(Ne, "__esModule", {
|
|
7557
7578
|
value: !0
|
|
7558
7579
|
});
|
|
7559
7580
|
Ne.canUseDOM = Ne.SafeNodeList = Ne.SafeHTMLCollection = void 0;
|
|
7560
|
-
var
|
|
7561
|
-
function
|
|
7581
|
+
var Ml = Wl, Sl = Ll(Ml);
|
|
7582
|
+
function Ll(e) {
|
|
7562
7583
|
return e && e.__esModule ? e : { default: e };
|
|
7563
7584
|
}
|
|
7564
|
-
var yn =
|
|
7585
|
+
var yn = Sl.default, Ol = yn.canUseDOM ? window.HTMLElement : {};
|
|
7565
7586
|
Ne.SafeHTMLCollection = yn.canUseDOM ? window.HTMLCollection : {};
|
|
7566
7587
|
Ne.SafeNodeList = yn.canUseDOM ? window.NodeList : {};
|
|
7567
7588
|
Ne.canUseDOM = yn.canUseDOM;
|
|
7568
|
-
Ne.default =
|
|
7589
|
+
Ne.default = Ol;
|
|
7569
7590
|
Object.defineProperty(Ge, "__esModule", {
|
|
7570
7591
|
value: !0
|
|
7571
7592
|
});
|
|
7572
|
-
Ge.resetState =
|
|
7573
|
-
Ge.log =
|
|
7593
|
+
Ge.resetState = Yl;
|
|
7594
|
+
Ge.log = Jl;
|
|
7574
7595
|
Ge.assertNodeList = bi;
|
|
7575
|
-
Ge.setElement =
|
|
7596
|
+
Ge.setElement = Nl;
|
|
7576
7597
|
Ge.validateElement = Cr;
|
|
7577
|
-
Ge.hide =
|
|
7578
|
-
Ge.show =
|
|
7579
|
-
Ge.documentNotReadyOrSSRTesting =
|
|
7580
|
-
var
|
|
7581
|
-
function
|
|
7598
|
+
Ge.hide = Rl;
|
|
7599
|
+
Ge.show = Dl;
|
|
7600
|
+
Ge.documentNotReadyOrSSRTesting = Gl;
|
|
7601
|
+
var El = Kl, kl = zl(El), jl = Ne;
|
|
7602
|
+
function zl(e) {
|
|
7582
7603
|
return e && e.__esModule ? e : { default: e };
|
|
7583
7604
|
}
|
|
7584
7605
|
var Ke = null;
|
|
7585
|
-
function
|
|
7606
|
+
function Yl() {
|
|
7586
7607
|
Ke && (Ke.removeAttribute ? Ke.removeAttribute("aria-hidden") : Ke.length != null ? Ke.forEach(function(e) {
|
|
7587
7608
|
return e.removeAttribute("aria-hidden");
|
|
7588
7609
|
}) : document.querySelectorAll(Ke).forEach(function(e) {
|
|
7589
7610
|
return e.removeAttribute("aria-hidden");
|
|
7590
7611
|
})), Ke = null;
|
|
7591
7612
|
}
|
|
7592
|
-
function
|
|
7613
|
+
function Jl() {
|
|
7593
7614
|
if (process.env.NODE_ENV !== "production") {
|
|
7594
7615
|
var e = Ke || {};
|
|
7595
7616
|
console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
|
|
@@ -7599,9 +7620,9 @@ function bi(e, t) {
|
|
|
7599
7620
|
if (!e || !e.length)
|
|
7600
7621
|
throw new Error("react-modal: No elements were found for selector " + t + ".");
|
|
7601
7622
|
}
|
|
7602
|
-
function
|
|
7623
|
+
function Nl(e) {
|
|
7603
7624
|
var t = e;
|
|
7604
|
-
if (typeof t == "string" &&
|
|
7625
|
+
if (typeof t == "string" && jl.canUseDOM) {
|
|
7605
7626
|
var n = document.querySelectorAll(t);
|
|
7606
7627
|
bi(n, t), t = n;
|
|
7607
7628
|
}
|
|
@@ -7609,9 +7630,9 @@ function Yl(e) {
|
|
|
7609
7630
|
}
|
|
7610
7631
|
function Cr(e) {
|
|
7611
7632
|
var t = e || Ke;
|
|
7612
|
-
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0,
|
|
7633
|
+
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, kl.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
7613
7634
|
}
|
|
7614
|
-
function
|
|
7635
|
+
function Rl(e) {
|
|
7615
7636
|
var t = !0, n = !1, r = void 0;
|
|
7616
7637
|
try {
|
|
7617
7638
|
for (var o = Cr(e)[Symbol.iterator](), i; !(t = (i = o.next()).done); t = !0) {
|
|
@@ -7629,7 +7650,7 @@ function Jl(e) {
|
|
|
7629
7650
|
}
|
|
7630
7651
|
}
|
|
7631
7652
|
}
|
|
7632
|
-
function
|
|
7653
|
+
function Dl(e) {
|
|
7633
7654
|
var t = !0, n = !1, r = void 0;
|
|
7634
7655
|
try {
|
|
7635
7656
|
for (var o = Cr(e)[Symbol.iterator](), i; !(t = (i = o.next()).done); t = !0) {
|
|
@@ -7647,20 +7668,20 @@ function Nl(e) {
|
|
|
7647
7668
|
}
|
|
7648
7669
|
}
|
|
7649
7670
|
}
|
|
7650
|
-
function
|
|
7671
|
+
function Gl() {
|
|
7651
7672
|
Ke = null;
|
|
7652
7673
|
}
|
|
7653
7674
|
var vt = {};
|
|
7654
7675
|
Object.defineProperty(vt, "__esModule", {
|
|
7655
7676
|
value: !0
|
|
7656
7677
|
});
|
|
7657
|
-
vt.resetState =
|
|
7658
|
-
vt.log =
|
|
7678
|
+
vt.resetState = Tl;
|
|
7679
|
+
vt.log = Hl;
|
|
7659
7680
|
var at = {}, At = {};
|
|
7660
7681
|
function fo(e, t) {
|
|
7661
7682
|
e.classList.remove(t);
|
|
7662
7683
|
}
|
|
7663
|
-
function
|
|
7684
|
+
function Tl() {
|
|
7664
7685
|
var e = document.getElementsByTagName("html")[0];
|
|
7665
7686
|
for (var t in at)
|
|
7666
7687
|
fo(e, at[t]);
|
|
@@ -7669,7 +7690,7 @@ function Dl() {
|
|
|
7669
7690
|
fo(n, At[r]);
|
|
7670
7691
|
at = {}, At = {};
|
|
7671
7692
|
}
|
|
7672
|
-
function
|
|
7693
|
+
function Hl() {
|
|
7673
7694
|
if (process.env.NODE_ENV !== "production") {
|
|
7674
7695
|
var e = document.getElementsByTagName("html")[0].className, t = `Show tracked classes:
|
|
7675
7696
|
|
|
@@ -7690,38 +7711,38 @@ doc.body (` + e + `):
|
|
|
7690
7711
|
`, console.log(t);
|
|
7691
7712
|
}
|
|
7692
7713
|
}
|
|
7693
|
-
var
|
|
7714
|
+
var Xl = function(t, n) {
|
|
7694
7715
|
return t[n] || (t[n] = 0), t[n] += 1, n;
|
|
7695
|
-
},
|
|
7716
|
+
}, Ql = function(t, n) {
|
|
7696
7717
|
return t[n] && (t[n] -= 1), n;
|
|
7697
|
-
},
|
|
7718
|
+
}, Pl = function(t, n, r) {
|
|
7698
7719
|
r.forEach(function(o) {
|
|
7699
|
-
|
|
7720
|
+
Xl(n, o), t.add(o);
|
|
7700
7721
|
});
|
|
7701
|
-
},
|
|
7722
|
+
}, Vl = function(t, n, r) {
|
|
7702
7723
|
r.forEach(function(o) {
|
|
7703
|
-
|
|
7724
|
+
Ql(n, o), n[o] === 0 && t.remove(o);
|
|
7704
7725
|
});
|
|
7705
7726
|
};
|
|
7706
7727
|
vt.add = function(t, n) {
|
|
7707
|
-
return
|
|
7728
|
+
return Pl(t.classList, t.nodeName.toLowerCase() == "html" ? at : At, n.split(" "));
|
|
7708
7729
|
};
|
|
7709
7730
|
vt.remove = function(t, n) {
|
|
7710
|
-
return
|
|
7731
|
+
return Vl(t.classList, t.nodeName.toLowerCase() == "html" ? at : At, n.split(" "));
|
|
7711
7732
|
};
|
|
7712
7733
|
var bt = {};
|
|
7713
7734
|
Object.defineProperty(bt, "__esModule", {
|
|
7714
7735
|
value: !0
|
|
7715
7736
|
});
|
|
7716
|
-
bt.log =
|
|
7717
|
-
bt.resetState =
|
|
7718
|
-
function
|
|
7737
|
+
bt.log = Ul;
|
|
7738
|
+
bt.resetState = Fl;
|
|
7739
|
+
function Bl(e, t) {
|
|
7719
7740
|
if (!(e instanceof t))
|
|
7720
7741
|
throw new TypeError("Cannot call a class as a function");
|
|
7721
7742
|
}
|
|
7722
7743
|
var Ci = function e() {
|
|
7723
7744
|
var t = this;
|
|
7724
|
-
|
|
7745
|
+
Bl(this, e), this.register = function(n) {
|
|
7725
7746
|
if (t.openInstances.indexOf(n) !== -1) {
|
|
7726
7747
|
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open");
|
|
7727
7748
|
return;
|
|
@@ -7746,12 +7767,12 @@ var Ci = function e() {
|
|
|
7746
7767
|
});
|
|
7747
7768
|
}, this.openInstances = [], this.subscribers = [];
|
|
7748
7769
|
}, on = new Ci();
|
|
7749
|
-
function
|
|
7770
|
+
function Ul() {
|
|
7750
7771
|
console.log("portalOpenInstances ----------"), console.log(on.openInstances.length), on.openInstances.forEach(function(e) {
|
|
7751
7772
|
return console.log(e);
|
|
7752
7773
|
}), console.log("end portalOpenInstances ----------");
|
|
7753
7774
|
}
|
|
7754
|
-
function
|
|
7775
|
+
function Fl() {
|
|
7755
7776
|
on = new Ci();
|
|
7756
7777
|
}
|
|
7757
7778
|
bt.default = on;
|
|
@@ -7759,23 +7780,23 @@ var Zr = {};
|
|
|
7759
7780
|
Object.defineProperty(Zr, "__esModule", {
|
|
7760
7781
|
value: !0
|
|
7761
7782
|
});
|
|
7762
|
-
Zr.resetState =
|
|
7763
|
-
Zr.log =
|
|
7764
|
-
var
|
|
7765
|
-
function
|
|
7783
|
+
Zr.resetState = tu;
|
|
7784
|
+
Zr.log = nu;
|
|
7785
|
+
var _l = bt, $l = eu(_l);
|
|
7786
|
+
function eu(e) {
|
|
7766
7787
|
return e && e.__esModule ? e : { default: e };
|
|
7767
7788
|
}
|
|
7768
|
-
var Ze = void 0,
|
|
7769
|
-
function
|
|
7770
|
-
for (var e = [Ze,
|
|
7789
|
+
var Ze = void 0, je = void 0, st = [];
|
|
7790
|
+
function tu() {
|
|
7791
|
+
for (var e = [Ze, je], t = 0; t < e.length; t++) {
|
|
7771
7792
|
var n = e[t];
|
|
7772
7793
|
n && n.parentNode && n.parentNode.removeChild(n);
|
|
7773
7794
|
}
|
|
7774
|
-
Ze =
|
|
7795
|
+
Ze = je = null, st = [];
|
|
7775
7796
|
}
|
|
7776
|
-
function
|
|
7797
|
+
function nu() {
|
|
7777
7798
|
console.log("bodyTrap ----------"), console.log(st.length);
|
|
7778
|
-
for (var e = [Ze,
|
|
7799
|
+
for (var e = [Ze, je], t = 0; t < e.length; t++) {
|
|
7779
7800
|
var n = e[t], r = n || {};
|
|
7780
7801
|
console.log(r.nodeName, r.className, r.id);
|
|
7781
7802
|
}
|
|
@@ -7788,10 +7809,10 @@ function ho() {
|
|
|
7788
7809
|
}
|
|
7789
7810
|
st[st.length - 1].focusContent();
|
|
7790
7811
|
}
|
|
7791
|
-
function
|
|
7792
|
-
!Ze && !
|
|
7812
|
+
function ru(e, t) {
|
|
7813
|
+
!Ze && !je && (Ze = document.createElement("div"), Ze.setAttribute("data-react-modal-body-trap", ""), Ze.style.position = "absolute", Ze.style.opacity = "0", Ze.setAttribute("tabindex", "0"), Ze.addEventListener("focus", ho), je = Ze.cloneNode(), je.addEventListener("focus", ho)), st = t, st.length > 0 ? (document.body.firstChild !== Ze && document.body.insertBefore(Ze, document.body.firstChild), document.body.lastChild !== je && document.body.appendChild(je)) : (Ze.parentElement && Ze.parentElement.removeChild(Ze), je.parentElement && je.parentElement.removeChild(je));
|
|
7793
7814
|
}
|
|
7794
|
-
|
|
7815
|
+
$l.default.subscribe(ru);
|
|
7795
7816
|
(function(e, t) {
|
|
7796
7817
|
Object.defineProperty(t, "__esModule", {
|
|
7797
7818
|
value: !0
|
|
@@ -7817,7 +7838,7 @@ Fl.default.subscribe(tu);
|
|
|
7817
7838
|
return function(Y, J, h) {
|
|
7818
7839
|
return J && K(Y.prototype, J), h && K(Y, h), Y;
|
|
7819
7840
|
};
|
|
7820
|
-
}(), i = ie, a = ln, A = b(a), m = De, u = L(m),
|
|
7841
|
+
}(), i = ie, a = ln, A = b(a), m = De, u = L(m), s = Il, d = b(s), v = Ge, g = L(v), f = vt, p = L(f), y = Ne, I = b(y), k = bt, M = b(k);
|
|
7821
7842
|
function L(K) {
|
|
7822
7843
|
if (K && K.__esModule)
|
|
7823
7844
|
return K;
|
|
@@ -8022,7 +8043,7 @@ Fl.default.subscribe(tu);
|
|
|
8022
8043
|
testId: A.default.string
|
|
8023
8044
|
}, t.default = _, e.exports = t.default;
|
|
8024
8045
|
})(tr, tr.exports);
|
|
8025
|
-
var
|
|
8046
|
+
var ou = tr.exports;
|
|
8026
8047
|
function Zi() {
|
|
8027
8048
|
var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
8028
8049
|
e != null && this.setState(e);
|
|
@@ -8048,7 +8069,7 @@ function wi(e, t) {
|
|
|
8048
8069
|
Zi.__suppressDeprecationWarning = !0;
|
|
8049
8070
|
Ii.__suppressDeprecationWarning = !0;
|
|
8050
8071
|
wi.__suppressDeprecationWarning = !0;
|
|
8051
|
-
function
|
|
8072
|
+
function iu(e) {
|
|
8052
8073
|
var t = e.prototype;
|
|
8053
8074
|
if (!t || !t.isReactComponent)
|
|
8054
8075
|
throw new Error("Can only polyfill class components");
|
|
@@ -8076,17 +8097,17 @@ https://fb.me/react-async-component-lifecycle-hooks`
|
|
|
8076
8097
|
);
|
|
8077
8098
|
t.componentWillUpdate = wi;
|
|
8078
8099
|
var A = t.componentDidUpdate;
|
|
8079
|
-
t.componentDidUpdate = function(u,
|
|
8100
|
+
t.componentDidUpdate = function(u, s, d) {
|
|
8080
8101
|
var v = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : d;
|
|
8081
|
-
A.call(this, u,
|
|
8102
|
+
A.call(this, u, s, v);
|
|
8082
8103
|
};
|
|
8083
8104
|
}
|
|
8084
8105
|
return e;
|
|
8085
8106
|
}
|
|
8086
|
-
const
|
|
8107
|
+
const au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8087
8108
|
__proto__: null,
|
|
8088
|
-
polyfill:
|
|
8089
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8109
|
+
polyfill: iu
|
|
8110
|
+
}, Symbol.toStringTag, { value: "Module" })), Au = /* @__PURE__ */ ea(au);
|
|
8090
8111
|
Object.defineProperty(ct, "__esModule", {
|
|
8091
8112
|
value: !0
|
|
8092
8113
|
});
|
|
@@ -8098,7 +8119,7 @@ var go = Object.assign || function(e) {
|
|
|
8098
8119
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
8099
8120
|
}
|
|
8100
8121
|
return e;
|
|
8101
|
-
},
|
|
8122
|
+
}, su = function() {
|
|
8102
8123
|
function e(t, n) {
|
|
8103
8124
|
for (var r = 0; r < n.length; r++) {
|
|
8104
8125
|
var o = n[r];
|
|
@@ -8108,8 +8129,8 @@ var go = Object.assign || function(e) {
|
|
|
8108
8129
|
return function(t, n, r) {
|
|
8109
8130
|
return n && e(t.prototype, n), r && e(t, r), t;
|
|
8110
8131
|
};
|
|
8111
|
-
}(), xi = ie, an = Jt(xi),
|
|
8112
|
-
function
|
|
8132
|
+
}(), xi = ie, an = Jt(xi), lu = _i, An = Jt(lu), uu = ln, H = Jt(uu), cu = ou, qo = Jt(cu), mu = Ge, du = fu(mu), _e = Ne, yo = Jt(_e), pu = Au;
|
|
8133
|
+
function fu(e) {
|
|
8113
8134
|
if (e && e.__esModule)
|
|
8114
8135
|
return e;
|
|
8115
8136
|
var t = {};
|
|
@@ -8121,7 +8142,7 @@ function du(e) {
|
|
|
8121
8142
|
function Jt(e) {
|
|
8122
8143
|
return e && e.__esModule ? e : { default: e };
|
|
8123
8144
|
}
|
|
8124
|
-
function
|
|
8145
|
+
function hu(e, t) {
|
|
8125
8146
|
if (!(e instanceof t))
|
|
8126
8147
|
throw new TypeError("Cannot call a class as a function");
|
|
8127
8148
|
}
|
|
@@ -8130,12 +8151,12 @@ function vo(e, t) {
|
|
|
8130
8151
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8131
8152
|
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
8132
8153
|
}
|
|
8133
|
-
function
|
|
8154
|
+
function gu(e, t) {
|
|
8134
8155
|
if (typeof t != "function" && t !== null)
|
|
8135
8156
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
8136
8157
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
8137
8158
|
}
|
|
8138
|
-
var
|
|
8159
|
+
var qu = ct.portalClassName = "ReactModalPortal", yu = ct.bodyOpenClassName = "ReactModal__Body--open", ot = _e.canUseDOM && An.default.createPortal !== void 0, ir = function(t) {
|
|
8139
8160
|
return document.createElement(t);
|
|
8140
8161
|
}, bo = function() {
|
|
8141
8162
|
return ot ? An.default.createPortal : An.default.unstable_renderSubtreeIntoContainer;
|
|
@@ -8144,10 +8165,10 @@ function Pt(e) {
|
|
|
8144
8165
|
return e();
|
|
8145
8166
|
}
|
|
8146
8167
|
var Ct = function(e) {
|
|
8147
|
-
|
|
8168
|
+
gu(t, e);
|
|
8148
8169
|
function t() {
|
|
8149
8170
|
var n, r, o, i;
|
|
8150
|
-
|
|
8171
|
+
hu(this, t);
|
|
8151
8172
|
for (var a = arguments.length, A = Array(a), m = 0; m < a; m++)
|
|
8152
8173
|
A[m] = arguments[m];
|
|
8153
8174
|
return i = (r = (o = vo(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(A))), o), o.removePortal = function() {
|
|
@@ -8157,11 +8178,11 @@ var Ct = function(e) {
|
|
|
8157
8178
|
}, o.portalRef = function(u) {
|
|
8158
8179
|
o.portal = u;
|
|
8159
8180
|
}, o.renderPortal = function(u) {
|
|
8160
|
-
var
|
|
8181
|
+
var s = bo(), d = s(o, an.default.createElement(qo.default, go({ defaultStyles: t.defaultStyles }, u)), o.node);
|
|
8161
8182
|
o.portalRef(d);
|
|
8162
8183
|
}, r), vo(o, i);
|
|
8163
8184
|
}
|
|
8164
|
-
return
|
|
8185
|
+
return su(t, [{
|
|
8165
8186
|
key: "componentDidMount",
|
|
8166
8187
|
value: function() {
|
|
8167
8188
|
if (_e.canUseDOM) {
|
|
@@ -8182,8 +8203,8 @@ var Ct = function(e) {
|
|
|
8182
8203
|
if (_e.canUseDOM) {
|
|
8183
8204
|
var a = this.props, A = a.isOpen, m = a.portalClassName;
|
|
8184
8205
|
r.portalClassName !== m && (this.node.className = m);
|
|
8185
|
-
var u = i.prevParent,
|
|
8186
|
-
|
|
8206
|
+
var u = i.prevParent, s = i.nextParent;
|
|
8207
|
+
s !== u && (u.removeChild(this.node), s.appendChild(this.node)), !(!r.isOpen && !A) && !ot && this.renderPortal(this.props);
|
|
8187
8208
|
}
|
|
8188
8209
|
}
|
|
8189
8210
|
}, {
|
|
@@ -8209,7 +8230,7 @@ var Ct = function(e) {
|
|
|
8209
8230
|
}], [{
|
|
8210
8231
|
key: "setAppElement",
|
|
8211
8232
|
value: function(r) {
|
|
8212
|
-
|
|
8233
|
+
du.setElement(r);
|
|
8213
8234
|
}
|
|
8214
8235
|
/* eslint-disable react/no-unused-prop-types */
|
|
8215
8236
|
/* eslint-enable react/no-unused-prop-types */
|
|
@@ -8257,8 +8278,8 @@ Ct.propTypes = {
|
|
|
8257
8278
|
};
|
|
8258
8279
|
Ct.defaultProps = {
|
|
8259
8280
|
isOpen: !1,
|
|
8260
|
-
portalClassName:
|
|
8261
|
-
bodyOpenClassName:
|
|
8281
|
+
portalClassName: qu,
|
|
8282
|
+
bodyOpenClassName: yu,
|
|
8262
8283
|
role: "dialog",
|
|
8263
8284
|
ariaHideApp: !0,
|
|
8264
8285
|
closeTimeoutMS: 0,
|
|
@@ -8309,7 +8330,7 @@ Ct.defaultStyles = {
|
|
|
8309
8330
|
padding: "20px"
|
|
8310
8331
|
}
|
|
8311
8332
|
};
|
|
8312
|
-
(0,
|
|
8333
|
+
(0, pu.polyfill)(Ct);
|
|
8313
8334
|
process.env.NODE_ENV !== "production" && (Ct.setCreateHTMLElement = function(e) {
|
|
8314
8335
|
return ir = e;
|
|
8315
8336
|
});
|
|
@@ -8324,8 +8345,8 @@ ct.default = Ct;
|
|
|
8324
8345
|
}
|
|
8325
8346
|
t.default = r.default, e.exports = t.default;
|
|
8326
8347
|
})(er, er.exports);
|
|
8327
|
-
var
|
|
8328
|
-
const ar = /* @__PURE__ */ $i(
|
|
8348
|
+
var vu = er.exports;
|
|
8349
|
+
const ar = /* @__PURE__ */ $i(vu), bu = ({ width: e, height: t, fill: n }) => /* @__PURE__ */ l.jsxs(
|
|
8329
8350
|
"svg",
|
|
8330
8351
|
{
|
|
8331
8352
|
width: e,
|
|
@@ -8334,7 +8355,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8334
8355
|
fill: "none",
|
|
8335
8356
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8336
8357
|
children: [
|
|
8337
|
-
/* @__PURE__ */
|
|
8358
|
+
/* @__PURE__ */ l.jsx(
|
|
8338
8359
|
"path",
|
|
8339
8360
|
{
|
|
8340
8361
|
fillRule: "evenodd",
|
|
@@ -8344,7 +8365,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8344
8365
|
opacity: 0.8
|
|
8345
8366
|
}
|
|
8346
8367
|
),
|
|
8347
|
-
/* @__PURE__ */
|
|
8368
|
+
/* @__PURE__ */ l.jsx(
|
|
8348
8369
|
"path",
|
|
8349
8370
|
{
|
|
8350
8371
|
fillRule: "evenodd",
|
|
@@ -8353,7 +8374,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8353
8374
|
fill: n
|
|
8354
8375
|
}
|
|
8355
8376
|
),
|
|
8356
|
-
/* @__PURE__ */
|
|
8377
|
+
/* @__PURE__ */ l.jsx(
|
|
8357
8378
|
"path",
|
|
8358
8379
|
{
|
|
8359
8380
|
d: "M55.1876 55.1551L72.3776 37.9501C72.903 37.4261 73.2611 36.758 73.4066 36.0304C73.552 35.3028 73.4784 34.5484 73.195 33.8626C72.9115 33.1769 72.431 32.5906 71.8142 32.1781C71.1974 31.7656 70.4722 31.5453 69.7301 31.5451H60.0326V7.50012C60.0326 5.511 59.2425 3.60334 57.8359 2.19682C56.4294 0.790299 54.5218 0.00012207 52.5326 0.00012207C50.5435 0.00012207 48.6359 0.790299 47.2293 2.19682C45.8228 3.60334 45.0326 5.511 45.0326 7.50012V31.5526H35.3351C34.5931 31.5528 33.8678 31.7731 33.2511 32.1856C32.6343 32.5981 32.1538 33.1844 31.8703 33.8701C31.5869 34.5559 31.5132 35.3103 31.6587 36.0379C31.8042 36.7655 32.1623 37.4336 32.6876 37.9576L49.8776 55.1551C50.226 55.5044 50.6398 55.7814 51.0954 55.9705C51.551 56.1595 52.0394 56.2568 52.5326 56.2568C53.0259 56.2568 53.5143 56.1595 53.9699 55.9705C54.4255 55.7814 54.8393 55.5044 55.1876 55.1551Z",
|
|
@@ -8363,7 +8384,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8363
8384
|
)
|
|
8364
8385
|
]
|
|
8365
8386
|
}
|
|
8366
|
-
),
|
|
8387
|
+
), Cu = ({
|
|
8367
8388
|
setIsExceedingFileSizeAccepted: e,
|
|
8368
8389
|
closeModal: t,
|
|
8369
8390
|
setLoading: n,
|
|
@@ -8372,7 +8393,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8372
8393
|
const o = () => {
|
|
8373
8394
|
t(), e(!1), n(!0);
|
|
8374
8395
|
};
|
|
8375
|
-
return /* @__PURE__ */
|
|
8396
|
+
return /* @__PURE__ */ l.jsxs(
|
|
8376
8397
|
ar,
|
|
8377
8398
|
{
|
|
8378
8399
|
isOpen: !0,
|
|
@@ -8405,53 +8426,53 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8405
8426
|
contentLabel: "Playable Editing Download Modal",
|
|
8406
8427
|
shouldCloseOnOverlayClick: !0,
|
|
8407
8428
|
children: [
|
|
8408
|
-
/* @__PURE__ */
|
|
8429
|
+
/* @__PURE__ */ l.jsx("div", { className: "fixed h-[40px] w-full flex justify-end", children: /* @__PURE__ */ l.jsx(
|
|
8409
8430
|
"div",
|
|
8410
8431
|
{
|
|
8411
8432
|
className: "pointer-events-auto absolute flex h-10 w-10 cursor-pointer items-center justify-center rounded-sm bg-white hover:bg-dark-10",
|
|
8412
8433
|
onClick: o,
|
|
8413
|
-
children: /* @__PURE__ */
|
|
8434
|
+
children: /* @__PURE__ */ l.jsx("img", { src: Co, alt: "close image" })
|
|
8414
8435
|
}
|
|
8415
8436
|
) }),
|
|
8416
|
-
/* @__PURE__ */
|
|
8417
|
-
|
|
8437
|
+
/* @__PURE__ */ l.jsx("div", { className: "mt-5 h-[150px] w-full ", children: /* @__PURE__ */ l.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ l.jsx(
|
|
8438
|
+
bu,
|
|
8418
8439
|
{
|
|
8419
8440
|
width: 100,
|
|
8420
8441
|
height: 100,
|
|
8421
|
-
fill:
|
|
8442
|
+
fill: ye[r]
|
|
8422
8443
|
}
|
|
8423
8444
|
) }) }),
|
|
8424
|
-
/* @__PURE__ */
|
|
8425
|
-
/* @__PURE__ */
|
|
8445
|
+
/* @__PURE__ */ l.jsx("div", { className: "mb-5 h-[50px] w-full", children: /* @__PURE__ */ l.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ l.jsx("span", { className: "text-3xl font-bold text-flex-purple", children: "Playable Size Too Big" }) }) }),
|
|
8446
|
+
/* @__PURE__ */ l.jsx("div", { className: "mb-3 h-[50px] w-full", children: /* @__PURE__ */ l.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ l.jsxs("span", { className: "text-center align-middle text-lg text-black", children: [
|
|
8426
8447
|
"Please be aware that your playable is larger than 5 MB.",
|
|
8427
|
-
/* @__PURE__ */
|
|
8448
|
+
/* @__PURE__ */ l.jsx("br", {}),
|
|
8428
8449
|
"Do you want to continue with the export?"
|
|
8429
8450
|
] }) }) }),
|
|
8430
|
-
/* @__PURE__ */
|
|
8431
|
-
/* @__PURE__ */
|
|
8451
|
+
/* @__PURE__ */ l.jsxs("div", { className: "my-5 flex h-[53px] w-full flex-row justify-center ", children: [
|
|
8452
|
+
/* @__PURE__ */ l.jsx(
|
|
8432
8453
|
"div",
|
|
8433
8454
|
{
|
|
8434
8455
|
className: "pointer-events-auto mr-3 flex h-full w-[180px] items-center justify-center rounded-md border border-red-600 transition-all hover:scale-105 cursor-pointer",
|
|
8435
8456
|
onClick: o,
|
|
8436
|
-
children: /* @__PURE__ */
|
|
8457
|
+
children: /* @__PURE__ */ l.jsx("span", { className: "text-center align-middle text-xl font-bold text-red-600", children: "Cancel" })
|
|
8437
8458
|
}
|
|
8438
8459
|
),
|
|
8439
|
-
/* @__PURE__ */
|
|
8460
|
+
/* @__PURE__ */ l.jsx(
|
|
8440
8461
|
"div",
|
|
8441
8462
|
{
|
|
8442
8463
|
className: " pointer-events-auto ml-3 flex h-full w-[180px] items-center justify-center rounded-md transition-all hover:scale-105 cursor-pointer",
|
|
8443
8464
|
style: {
|
|
8444
|
-
backgroundColor:
|
|
8465
|
+
backgroundColor: ye[r]
|
|
8445
8466
|
},
|
|
8446
8467
|
onClick: () => e(!1),
|
|
8447
|
-
children: /* @__PURE__ */
|
|
8468
|
+
children: /* @__PURE__ */ l.jsx("span", { className: "text-center align-middle text-xl font-bold text-white", children: "Continue" })
|
|
8448
8469
|
}
|
|
8449
8470
|
)
|
|
8450
8471
|
] })
|
|
8451
8472
|
]
|
|
8452
8473
|
}
|
|
8453
8474
|
);
|
|
8454
|
-
},
|
|
8475
|
+
}, Zu = ({ onClose: e, url: t }) => /* @__PURE__ */ l.jsxs(
|
|
8455
8476
|
"div",
|
|
8456
8477
|
{
|
|
8457
8478
|
style: {
|
|
@@ -8467,7 +8488,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8467
8488
|
backgroundColor: "#00000080"
|
|
8468
8489
|
},
|
|
8469
8490
|
children: [
|
|
8470
|
-
/* @__PURE__ */
|
|
8491
|
+
/* @__PURE__ */ l.jsx(
|
|
8471
8492
|
"div",
|
|
8472
8493
|
{
|
|
8473
8494
|
onClick: e,
|
|
@@ -8479,7 +8500,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8479
8500
|
}
|
|
8480
8501
|
}
|
|
8481
8502
|
),
|
|
8482
|
-
/* @__PURE__ */
|
|
8503
|
+
/* @__PURE__ */ l.jsxs(
|
|
8483
8504
|
"div",
|
|
8484
8505
|
{
|
|
8485
8506
|
style: {
|
|
@@ -8495,7 +8516,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8495
8516
|
padding: "20px"
|
|
8496
8517
|
},
|
|
8497
8518
|
children: [
|
|
8498
|
-
/* @__PURE__ */
|
|
8519
|
+
/* @__PURE__ */ l.jsx(
|
|
8499
8520
|
"h1",
|
|
8500
8521
|
{
|
|
8501
8522
|
style: {
|
|
@@ -8504,7 +8525,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8504
8525
|
lineHeight: "24px",
|
|
8505
8526
|
minHeight: "48px"
|
|
8506
8527
|
},
|
|
8507
|
-
children: /* @__PURE__ */
|
|
8528
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8508
8529
|
"a",
|
|
8509
8530
|
{
|
|
8510
8531
|
style: {
|
|
@@ -8521,8 +8542,8 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8521
8542
|
)
|
|
8522
8543
|
}
|
|
8523
8544
|
),
|
|
8524
|
-
/* @__PURE__ */
|
|
8525
|
-
/* @__PURE__ */
|
|
8545
|
+
/* @__PURE__ */ l.jsxs("div", { style: { display: "flex", gap: "5px" }, children: [
|
|
8546
|
+
/* @__PURE__ */ l.jsx(
|
|
8526
8547
|
"button",
|
|
8527
8548
|
{
|
|
8528
8549
|
onClick: e,
|
|
@@ -8539,7 +8560,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8539
8560
|
children: "Close"
|
|
8540
8561
|
}
|
|
8541
8562
|
),
|
|
8542
|
-
/* @__PURE__ */
|
|
8563
|
+
/* @__PURE__ */ l.jsx(
|
|
8543
8564
|
"button",
|
|
8544
8565
|
{
|
|
8545
8566
|
style: {
|
|
@@ -8567,7 +8588,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8567
8588
|
)
|
|
8568
8589
|
]
|
|
8569
8590
|
}
|
|
8570
|
-
),
|
|
8591
|
+
), xu = ({
|
|
8571
8592
|
visible: e,
|
|
8572
8593
|
closeModal: t,
|
|
8573
8594
|
versionId: n,
|
|
@@ -8578,28 +8599,28 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8578
8599
|
api: A,
|
|
8579
8600
|
user: m,
|
|
8580
8601
|
title: u,
|
|
8581
|
-
iframeUrl:
|
|
8602
|
+
iframeUrl: s,
|
|
8582
8603
|
handleDownloadError: d,
|
|
8583
8604
|
fetchFileUrl: v,
|
|
8584
8605
|
copyLinkUrl: g
|
|
8585
8606
|
}) => {
|
|
8586
|
-
const [f, p] = T(window.innerWidth), [y, I] = T(!1), [k, M] = T(
|
|
8587
|
-
|
|
8607
|
+
const [f, p] = T(window.innerWidth), [y, I] = T(!1), [k, M] = T(s), [L, b] = T(!1), [G, X] = T(!0), [F, ue] = T(null), [te, ae] = T(""), [Q, _] = T("Loading..."), [K, Y] = T("Loading..."), [J, h] = T("game");
|
|
8608
|
+
Js(a, A, ae, v);
|
|
8588
8609
|
const j = async () => {
|
|
8589
8610
|
Ot(n, "preview", null, null, !1).then((R) => {
|
|
8590
8611
|
I(!0), M(v + "/" + R.url), (a === "Flex" || a === "Ready" || a === "Playable") && (R.size >= 5 ? b(!0) : b(!1), ue(R.size)), X(!1);
|
|
8591
8612
|
});
|
|
8592
8613
|
};
|
|
8593
|
-
return
|
|
8614
|
+
return ve(() => {
|
|
8594
8615
|
e ? y || (j(), I(!0)) : (I(!1), M(""));
|
|
8595
|
-
}, [e]),
|
|
8616
|
+
}, [e]), ve(() => {
|
|
8596
8617
|
const R = () => {
|
|
8597
8618
|
p(window.innerWidth);
|
|
8598
8619
|
};
|
|
8599
8620
|
return window.addEventListener("resize", R), () => {
|
|
8600
8621
|
window.removeEventListener("resize", R);
|
|
8601
8622
|
};
|
|
8602
|
-
}, []), G && e ? /* @__PURE__ */
|
|
8623
|
+
}, []), G && e ? /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
8603
8624
|
ar,
|
|
8604
8625
|
{
|
|
8605
8626
|
isOpen: e,
|
|
@@ -8633,7 +8654,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8633
8654
|
},
|
|
8634
8655
|
contentLabel: "Playable Editing Download Modal",
|
|
8635
8656
|
shouldCloseOnOverlayClick: !0,
|
|
8636
|
-
children: /* @__PURE__ */
|
|
8657
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8637
8658
|
"div",
|
|
8638
8659
|
{
|
|
8639
8660
|
style: {
|
|
@@ -8643,7 +8664,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8643
8664
|
alignItems: "center",
|
|
8644
8665
|
justifyContent: "center"
|
|
8645
8666
|
},
|
|
8646
|
-
children: /* @__PURE__ */
|
|
8667
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8647
8668
|
"img",
|
|
8648
8669
|
{
|
|
8649
8670
|
style: { width: "100px", height: "100px" },
|
|
@@ -8654,7 +8675,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8654
8675
|
}
|
|
8655
8676
|
)
|
|
8656
8677
|
}
|
|
8657
|
-
) }) : G && a === "Flex" ? null : /* @__PURE__ */
|
|
8678
|
+
) }) : G && a === "Flex" ? null : /* @__PURE__ */ l.jsxs(
|
|
8658
8679
|
"div",
|
|
8659
8680
|
{
|
|
8660
8681
|
onMouseDown: (R) => {
|
|
@@ -8664,8 +8685,8 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8664
8685
|
R.stopPropagation();
|
|
8665
8686
|
},
|
|
8666
8687
|
children: [
|
|
8667
|
-
L && e && /* @__PURE__ */
|
|
8668
|
-
|
|
8688
|
+
L && e && /* @__PURE__ */ l.jsx(
|
|
8689
|
+
Cu,
|
|
8669
8690
|
{
|
|
8670
8691
|
setIsExceedingFileSizeAccepted: b,
|
|
8671
8692
|
closeModal: t,
|
|
@@ -8673,7 +8694,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8673
8694
|
typeOfProduct: a
|
|
8674
8695
|
}
|
|
8675
8696
|
),
|
|
8676
|
-
!L && /* @__PURE__ */
|
|
8697
|
+
!L && /* @__PURE__ */ l.jsxs(
|
|
8677
8698
|
ar,
|
|
8678
8699
|
{
|
|
8679
8700
|
isOpen: e,
|
|
@@ -8708,7 +8729,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8708
8729
|
contentLabel: "Playable Editing Download Modal",
|
|
8709
8730
|
shouldCloseOnOverlayClick: !0,
|
|
8710
8731
|
children: [
|
|
8711
|
-
/* @__PURE__ */
|
|
8732
|
+
/* @__PURE__ */ l.jsx(
|
|
8712
8733
|
"div",
|
|
8713
8734
|
{
|
|
8714
8735
|
style: {
|
|
@@ -8720,7 +8741,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8720
8741
|
zIndex: 50
|
|
8721
8742
|
// z-50
|
|
8722
8743
|
},
|
|
8723
|
-
children: /* @__PURE__ */
|
|
8744
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8724
8745
|
"button",
|
|
8725
8746
|
{
|
|
8726
8747
|
onClick: () => {
|
|
@@ -8732,14 +8753,14 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8732
8753
|
cursor: "pointer",
|
|
8733
8754
|
backgroundColor: "#F7F7F8"
|
|
8734
8755
|
},
|
|
8735
|
-
children: /* @__PURE__ */
|
|
8756
|
+
children: /* @__PURE__ */ l.jsx("img", { src: Co, alt: "close image" })
|
|
8736
8757
|
}
|
|
8737
8758
|
)
|
|
8738
8759
|
}
|
|
8739
8760
|
),
|
|
8740
|
-
/* @__PURE__ */
|
|
8741
|
-
y ? /* @__PURE__ */
|
|
8742
|
-
|
|
8761
|
+
/* @__PURE__ */ l.jsxs(ra, { children: [
|
|
8762
|
+
y ? /* @__PURE__ */ l.jsx(
|
|
8763
|
+
Ds,
|
|
8743
8764
|
{
|
|
8744
8765
|
versionName: o,
|
|
8745
8766
|
versionId: n,
|
|
@@ -8754,7 +8775,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8754
8775
|
androidLink: K,
|
|
8755
8776
|
urlType: J
|
|
8756
8777
|
}
|
|
8757
|
-
) : /* @__PURE__ */
|
|
8778
|
+
) : /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
8758
8779
|
"div",
|
|
8759
8780
|
{
|
|
8760
8781
|
style: {
|
|
@@ -8769,7 +8790,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8769
8790
|
marginTop: "20px"
|
|
8770
8791
|
// 'rounded-l-xl' typically means large rounded corners on the left side
|
|
8771
8792
|
},
|
|
8772
|
-
children: /* @__PURE__ */
|
|
8793
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8773
8794
|
"img",
|
|
8774
8795
|
{
|
|
8775
8796
|
width: "75px",
|
|
@@ -8780,8 +8801,8 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8780
8801
|
)
|
|
8781
8802
|
}
|
|
8782
8803
|
) }),
|
|
8783
|
-
/* @__PURE__ */
|
|
8784
|
-
|
|
8804
|
+
/* @__PURE__ */ l.jsx(
|
|
8805
|
+
dl,
|
|
8785
8806
|
{
|
|
8786
8807
|
visible: e,
|
|
8787
8808
|
versionId: n,
|
|
@@ -8805,9 +8826,9 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8805
8826
|
}
|
|
8806
8827
|
)
|
|
8807
8828
|
] }),
|
|
8808
|
-
/* @__PURE__ */
|
|
8809
|
-
te && /* @__PURE__ */
|
|
8810
|
-
|
|
8829
|
+
/* @__PURE__ */ l.jsx(_n, {}),
|
|
8830
|
+
te && /* @__PURE__ */ l.jsx(
|
|
8831
|
+
Zu,
|
|
8811
8832
|
{
|
|
8812
8833
|
onClose: () => {
|
|
8813
8834
|
Yt(te), ae("");
|
|
@@ -8815,7 +8836,7 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8815
8836
|
url: te
|
|
8816
8837
|
}
|
|
8817
8838
|
),
|
|
8818
|
-
/* @__PURE__ */
|
|
8839
|
+
/* @__PURE__ */ l.jsx(
|
|
8819
8840
|
"div",
|
|
8820
8841
|
{
|
|
8821
8842
|
style: {
|
|
@@ -8837,6 +8858,6 @@ const ar = /* @__PURE__ */ $i(qu), yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8837
8858
|
);
|
|
8838
8859
|
};
|
|
8839
8860
|
export {
|
|
8840
|
-
|
|
8861
|
+
xu as DownloadModal
|
|
8841
8862
|
};
|
|
8842
8863
|
//# sourceMappingURL=index.es.js.map
|