gearboxdownloadmodal 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +68 -23
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -651,7 +651,7 @@ Check the top-level render call using <` + O + ">.");
|
|
|
651
651
|
}
|
|
652
652
|
process.env.NODE_ENV === "production" ? Mr.exports = Ia() : Mr.exports = Ka();
|
|
653
653
|
var y = Mr.exports;
|
|
654
|
-
const wa = "data:image/svg+xml;base64,
|
|
654
|
+
const wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMyAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTg5OF8zMTIyNykiPgogICAgPHBhdGggZD0iTTIwLjM0MTYgMTIuMjI2NkwxMi43OTQ5IDE5Ljc3MzIiIHN0cm9rZT0iIzBGMEYxRSIgc3Ryb2tlV2lkdGg9IjEuOCIKICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPgogICAgPHBhdGggZD0iTTIwLjM0MTYgMTkuNzczMkwxMi43OTQ5IDEyLjIyNjYiIHN0cm9rZT0iIzBGMEYxRSIgc3Ryb2tlV2lkdGg9IjEuOCIKICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPgogICAgPHBhdGgKICAgICAgZD0iTTE2LjU2ODQgMjhDOS45NDAzNiAyOCA0LjU2ODM2IDIyLjYyOCA0LjU2ODM2IDE2QzQuNTY4MzYgOS4zNzIgOS45NDAzNiA0IDE2LjU2ODQgNEMyMy4xOTY0IDQgMjguNTY4NCA5LjM3MiAyOC41Njg0IDE2QzI4LjU2ODQgMjIuNjI4IDIzLjE5NjQgMjggMTYuNTY4NCAyOFoiCiAgICAgIHN0cm9rZT0iIzBGMEYxRSIgc3Ryb2tlV2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPgogIDwvZz4KICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0iY2xpcDBfMTg5OF8zMTIyNyI+CiAgICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNTY4MzU5KSIgLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgo8L3N2Zz4=", Wa = ({ children: e }) => {
|
|
655
655
|
const [t, r] = me(window.innerWidth);
|
|
656
656
|
return je(() => {
|
|
657
657
|
const n = () => {
|
|
@@ -688,10 +688,31 @@ const wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
|
|
|
688
688
|
{
|
|
689
689
|
title: "preview",
|
|
690
690
|
src: e,
|
|
691
|
-
|
|
691
|
+
style: {
|
|
692
|
+
height: "100%",
|
|
693
|
+
width: "100%",
|
|
694
|
+
borderRadius: "16px",
|
|
695
|
+
border: "none"
|
|
696
|
+
}
|
|
692
697
|
}
|
|
693
698
|
) });
|
|
694
|
-
}, Ma = ({ name: e }) => /* @__PURE__ */ y.jsx(
|
|
699
|
+
}, Ma = ({ name: e }) => /* @__PURE__ */ y.jsx(
|
|
700
|
+
"div",
|
|
701
|
+
{
|
|
702
|
+
style: {
|
|
703
|
+
marginRight: "0.5rem",
|
|
704
|
+
display: "flex",
|
|
705
|
+
height: "2.5rem",
|
|
706
|
+
width: "100%",
|
|
707
|
+
alignItems: "center",
|
|
708
|
+
justifyContent: "center",
|
|
709
|
+
borderRadius: "0.5rem",
|
|
710
|
+
borderWidth: "1px",
|
|
711
|
+
borderColor: "#yourCustomColor"
|
|
712
|
+
},
|
|
713
|
+
children: e
|
|
714
|
+
}
|
|
715
|
+
);
|
|
695
716
|
var $t = {}, _n = {
|
|
696
717
|
MODE_NUMBER: 1,
|
|
697
718
|
MODE_ALPHA_NUM: 2,
|
|
@@ -4157,16 +4178,27 @@ const Ji = ({
|
|
|
4157
4178
|
);
|
|
4158
4179
|
};
|
|
4159
4180
|
var ue = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e))(ue || {});
|
|
4160
|
-
const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs(
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
{
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
}
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4181
|
+
const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs(
|
|
4182
|
+
"div",
|
|
4183
|
+
{
|
|
4184
|
+
style: {
|
|
4185
|
+
fontSize: "2xl",
|
|
4186
|
+
fontWeight: "bold"
|
|
4187
|
+
},
|
|
4188
|
+
children: [
|
|
4189
|
+
/* @__PURE__ */ y.jsx(
|
|
4190
|
+
"span",
|
|
4191
|
+
{
|
|
4192
|
+
style: {
|
|
4193
|
+
color: e === "Flex" ? ue.Flex : ue.Playable
|
|
4194
|
+
},
|
|
4195
|
+
children: "Select a Network"
|
|
4196
|
+
}
|
|
4197
|
+
),
|
|
4198
|
+
/* @__PURE__ */ y.jsx("span", { style: { whiteSpace: "pre" }, children: " From List" })
|
|
4199
|
+
]
|
|
4200
|
+
}
|
|
4201
|
+
), Gi = ({ typeOfProduct: e, fileSize: t, urls: r }) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
4170
4202
|
t && /* @__PURE__ */ y.jsxs(
|
|
4171
4203
|
"span",
|
|
4172
4204
|
{
|
|
@@ -4320,10 +4352,12 @@ const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs("div", { className:
|
|
|
4320
4352
|
]
|
|
4321
4353
|
}
|
|
4322
4354
|
)
|
|
4323
|
-
] }), Ri = ({ typeOfProduct: e, title: t }) => /* @__PURE__ */ y.jsx("div", {
|
|
4355
|
+
] }), Ri = ({ typeOfProduct: e, title: t }) => /* @__PURE__ */ y.jsx("div", { style: { fontSize: "1.5rem", fontWeight: "bold" }, children: /* @__PURE__ */ y.jsx(
|
|
4324
4356
|
"span",
|
|
4325
4357
|
{
|
|
4326
|
-
style: {
|
|
4358
|
+
style: {
|
|
4359
|
+
color: e === "Flex" ? ue.Flex : ue.Playable
|
|
4360
|
+
},
|
|
4327
4361
|
children: t
|
|
4328
4362
|
}
|
|
4329
4363
|
) }), Ti = ({ typeOfProduct: e, fileSize: t, urls: r, title: n }) => /* @__PURE__ */ y.jsxs(
|
|
@@ -5181,14 +5215,25 @@ const Hn = [
|
|
|
5181
5215
|
networksVersionTotalSize: e,
|
|
5182
5216
|
typeOfProduct: t,
|
|
5183
5217
|
onClickMultiDownload: r
|
|
5184
|
-
}) => /* @__PURE__ */ y.jsx(
|
|
5185
|
-
"
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5218
|
+
}) => /* @__PURE__ */ y.jsx(
|
|
5219
|
+
"div",
|
|
5220
|
+
{
|
|
5221
|
+
style: {
|
|
5222
|
+
display: "flex",
|
|
5223
|
+
alignItems: "center",
|
|
5224
|
+
justifyContent: "center",
|
|
5225
|
+
padding: "8px"
|
|
5226
|
+
},
|
|
5227
|
+
children: /* @__PURE__ */ y.jsxs(Ui, { typeOfProduct: t, onClick: r, children: [
|
|
5228
|
+
"Multi Download ≈",
|
|
5229
|
+
/* @__PURE__ */ y.jsxs("div", { style: { marginLeft: "8px" }, children: [
|
|
5230
|
+
"File Size: ",
|
|
5231
|
+
e.toString().slice(0, 5),
|
|
5232
|
+
" Mb"
|
|
5233
|
+
] })
|
|
5234
|
+
] })
|
|
5235
|
+
}
|
|
5236
|
+
);
|
|
5192
5237
|
async function _i(e, t, r) {
|
|
5193
5238
|
return (await Re.post(r + "/getPlayableVersionSize", {
|
|
5194
5239
|
_id: e,
|