@elcrm/telegram 0.0.18 → 0.0.20
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.css +1 -1
- package/dist/index.es.js +247 -246
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import b from "react";
|
|
|
5
5
|
let gt = {};
|
|
6
6
|
const ua = (e) => {
|
|
7
7
|
gt = e;
|
|
8
|
-
}, fa = (e) => gt.enCode(e), ma = (e) => gt.deCode(e), N = { enCode: fa, deCode: ma, New: ua }, j = {}, U = {},
|
|
8
|
+
}, fa = (e) => gt.enCode(e), ma = (e) => gt.deCode(e), N = { enCode: fa, deCode: ma, New: ua }, j = {}, U = {}, je = {}, nn = {}, re = {};
|
|
9
9
|
let pt = "M06";
|
|
10
10
|
function ha(e) {
|
|
11
11
|
pt = e;
|
|
@@ -148,10 +148,10 @@ function $a(e, t, a) {
|
|
|
148
148
|
j.module = e, j.id = a, j.tab = t, sessionStorage.setItem("f", N.enCode(j)), U.module(e), U.tabs(t);
|
|
149
149
|
}
|
|
150
150
|
function La(e) {
|
|
151
|
-
|
|
151
|
+
je.data = e[0], delete je.data.id, document.body.dataset.theme = je.data.s15, localStorage.setItem("s", N.enCode(je.data));
|
|
152
152
|
}
|
|
153
153
|
function Oa(e, t) {
|
|
154
|
-
|
|
154
|
+
je.data[e] = t, localStorage.setItem("s", N.enCode(je.data));
|
|
155
155
|
}
|
|
156
156
|
function Aa(e) {
|
|
157
157
|
let t = localStorage.getItem("s");
|
|
@@ -204,7 +204,7 @@ function De(e) {
|
|
|
204
204
|
function Ka(e, t) {
|
|
205
205
|
re.data = { ...re.data, [e]: t }, localStorage.setItem("q", N.enCode(re.data));
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function ke(e, t) {
|
|
208
208
|
if (!re.data) {
|
|
209
209
|
let a = localStorage.getItem("q");
|
|
210
210
|
a && (re.data = N.deCode(a));
|
|
@@ -278,7 +278,7 @@ const se = {
|
|
|
278
278
|
getCompany: Wa,
|
|
279
279
|
setSelect: De,
|
|
280
280
|
addSelect: Ka,
|
|
281
|
-
getSelect:
|
|
281
|
+
getSelect: ke,
|
|
282
282
|
setApi: Za,
|
|
283
283
|
getApi: Ua,
|
|
284
284
|
setPayment: Ha,
|
|
@@ -400,7 +400,7 @@ async function fr(e, t = {}) {
|
|
|
400
400
|
return { status: "error" };
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
const
|
|
403
|
+
const _l = { audio: cr, fetch: Ue, modules: _r, remoute: ur, url: lr, telegram: fr, use: dr };
|
|
404
404
|
var _t = { exports: {} }, Be = {};
|
|
405
405
|
/**
|
|
406
406
|
* @license React
|
|
@@ -680,7 +680,7 @@ function hr() {
|
|
|
680
680
|
} finally {
|
|
681
681
|
Xe = !1, qe.current = P, Ln(), Error.prepareStackTrace = D;
|
|
682
682
|
}
|
|
683
|
-
var
|
|
683
|
+
var Ce = s ? s.displayName || s.name : "", fe = Ce ? Oe(Ce) : "";
|
|
684
684
|
return typeof s == "function" && Ae.set(s, fe), fe;
|
|
685
685
|
}
|
|
686
686
|
function An(s, h, k) {
|
|
@@ -869,7 +869,7 @@ function hr() {
|
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
var tt = C.ReactCurrentOwner, Lt = C.ReactDebugCurrentFrame;
|
|
872
|
-
function
|
|
872
|
+
function be(s) {
|
|
873
873
|
if (s) {
|
|
874
874
|
var h = s._owner, k = Ge(s.type, s._source, h ? h.type : null);
|
|
875
875
|
Lt.setExtraStackFrame(k);
|
|
@@ -919,7 +919,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
919
919
|
return;
|
|
920
920
|
At[k] = !0;
|
|
921
921
|
var w = "";
|
|
922
|
-
s && s._owner && s._owner !== tt.current && (w = " It was passed a child from " + S(s._owner.type) + "."),
|
|
922
|
+
s && s._owner && s._owner !== tt.current && (w = " It was passed a child from " + S(s._owner.type) + "."), be(s), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, w), be(null);
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
925
|
function zt(s, h) {
|
|
@@ -971,11 +971,11 @@ Check the top-level render call using <` + k + ">.");
|
|
|
971
971
|
for (var h = Object.keys(s.props), k = 0; k < h.length; k++) {
|
|
972
972
|
var w = h[k];
|
|
973
973
|
if (w !== "children" && w !== "key") {
|
|
974
|
-
|
|
974
|
+
be(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), be(null);
|
|
975
975
|
break;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
s.ref !== null && (
|
|
978
|
+
s.ref !== null && (be(s), y("Invalid attribute `ref` supplied to `React.Fragment`."), be(null));
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
var Wt = {};
|
|
@@ -998,8 +998,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
998
998
|
if (Q !== void 0)
|
|
999
999
|
if (w)
|
|
1000
1000
|
if (Qe(Q)) {
|
|
1001
|
-
for (var
|
|
1002
|
-
zt(Q[
|
|
1001
|
+
for (var Ce = 0; Ce < Q.length; Ce++)
|
|
1002
|
+
zt(Q[Ce], s);
|
|
1003
1003
|
Object.freeze && Object.freeze(Q);
|
|
1004
1004
|
} else
|
|
1005
1005
|
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -1065,19 +1065,19 @@ function Fe({ data: e }) {
|
|
|
1065
1065
|
let r, i;
|
|
1066
1066
|
switch (e.type) {
|
|
1067
1067
|
case "error":
|
|
1068
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1068
|
+
r = /* @__PURE__ */ n.jsx(he.error, {}), i = "Ошибка:";
|
|
1069
1069
|
break;
|
|
1070
1070
|
case "success":
|
|
1071
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1071
|
+
r = /* @__PURE__ */ n.jsx(he.success, {}), i = "Информация:";
|
|
1072
1072
|
break;
|
|
1073
1073
|
case "copy":
|
|
1074
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1074
|
+
r = /* @__PURE__ */ n.jsx(he.success, {}), i = "Копирование:";
|
|
1075
1075
|
break;
|
|
1076
1076
|
case "remark":
|
|
1077
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1077
|
+
r = /* @__PURE__ */ n.jsx(he.success, {}), i = "Подсказка:";
|
|
1078
1078
|
break;
|
|
1079
1079
|
default:
|
|
1080
|
-
r = /* @__PURE__ */ n.jsx(
|
|
1080
|
+
r = /* @__PURE__ */ n.jsx(he.success, {}), i = "Предупреждение:";
|
|
1081
1081
|
break;
|
|
1082
1082
|
}
|
|
1083
1083
|
return /* @__PURE__ */ n.jsxs("li", { className: "item " + e.type, "data-status": t, children: [
|
|
@@ -1106,8 +1106,8 @@ function Er(e) {
|
|
|
1106
1106
|
let t = Date.now(), a = { key: t, text: e, type: "copy" };
|
|
1107
1107
|
_e.set({ item: /* @__PURE__ */ n.jsx(Fe, { data: a }, t), key: t });
|
|
1108
1108
|
}
|
|
1109
|
-
const
|
|
1110
|
-
|
|
1109
|
+
const he = {};
|
|
1110
|
+
he.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1111
1111
|
/* @__PURE__ */ n.jsx(
|
|
1112
1112
|
"path",
|
|
1113
1113
|
{
|
|
@@ -1123,7 +1123,7 @@ me.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "no
|
|
|
1123
1123
|
}
|
|
1124
1124
|
)
|
|
1125
1125
|
] });
|
|
1126
|
-
|
|
1126
|
+
he.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
1127
1127
|
/* @__PURE__ */ n.jsx(
|
|
1128
1128
|
"path",
|
|
1129
1129
|
{
|
|
@@ -1230,12 +1230,12 @@ const Or = "_white_11p39_14", Ar = "_black_11p39_26", Gr = "_shake_11p39_1", zr
|
|
|
1230
1230
|
sx: _i,
|
|
1231
1231
|
sf: di
|
|
1232
1232
|
};
|
|
1233
|
-
let
|
|
1233
|
+
let pe = {};
|
|
1234
1234
|
function ui({ config: e }) {
|
|
1235
1235
|
let [t, a] = b.useState([]);
|
|
1236
|
-
return
|
|
1236
|
+
return pe.x = (r) => {
|
|
1237
1237
|
r || a([]);
|
|
1238
|
-
},
|
|
1238
|
+
}, pe.config = e, pe.add = (r) => {
|
|
1239
1239
|
a([...t, r]);
|
|
1240
1240
|
}, /* @__PURE__ */ n.jsx(n.Fragment, { children: t.map((r) => r) });
|
|
1241
1241
|
}
|
|
@@ -1318,7 +1318,7 @@ function fi({
|
|
|
1318
1318
|
) : "" });
|
|
1319
1319
|
}
|
|
1320
1320
|
function mi(e) {
|
|
1321
|
-
|
|
1321
|
+
pe.add(/* @__PURE__ */ n.jsx(hi, { children: e }, String(Date.now())));
|
|
1322
1322
|
}
|
|
1323
1323
|
function hi({ children: e }) {
|
|
1324
1324
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
|
|
@@ -1334,14 +1334,14 @@ function gi(e) {
|
|
|
1334
1334
|
function pi({ type: e, name: t, params: a }) {
|
|
1335
1335
|
let [r, i] = b.useState(null);
|
|
1336
1336
|
return b.useEffect(() => {
|
|
1337
|
-
|
|
1337
|
+
pe.config(e, t, a, i);
|
|
1338
1338
|
}, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: r });
|
|
1339
1339
|
}
|
|
1340
1340
|
function xi(e, t) {
|
|
1341
|
-
|
|
1341
|
+
pe.config(e, t);
|
|
1342
1342
|
}
|
|
1343
1343
|
function vi(e) {
|
|
1344
|
-
|
|
1344
|
+
pe.x(e);
|
|
1345
1345
|
}
|
|
1346
1346
|
const ut = {};
|
|
1347
1347
|
function ki(e, t) {
|
|
@@ -1374,7 +1374,7 @@ function wi() {
|
|
|
1374
1374
|
t([a]);
|
|
1375
1375
|
}), /* @__PURE__ */ n.jsx(n.Fragment, { children: e.map((a) => a) });
|
|
1376
1376
|
}
|
|
1377
|
-
const
|
|
1377
|
+
const xe = {
|
|
1378
1378
|
Path: $a,
|
|
1379
1379
|
setPage: wa,
|
|
1380
1380
|
getPage: an,
|
|
@@ -2230,7 +2230,7 @@ function zi(e, t) {
|
|
|
2230
2230
|
return e > 10 && e < 20 ? t[2] : a > 1 && a < 5 ? t[1] : a === 1 ? t[0] : t[2];
|
|
2231
2231
|
}
|
|
2232
2232
|
function Wi(e, t, a) {
|
|
2233
|
-
return
|
|
2233
|
+
return ke(e, t) ? ke(e, t).n : a || "";
|
|
2234
2234
|
}
|
|
2235
2235
|
function Ki(e, t) {
|
|
2236
2236
|
return e.reduce(function(a, r) {
|
|
@@ -4777,16 +4777,17 @@ const Xi = {
|
|
|
4777
4777
|
Toogle: Bn,
|
|
4778
4778
|
Group: In,
|
|
4779
4779
|
Options: Mn
|
|
4780
|
-
}, Qi = "
|
|
4780
|
+
}, Qi = "_debug_ue10h_34", eo = "_b_ue10h_46", to = "_o_ue10h_50", no = "_mb_ue10h_55", ao = "_tm_ue10h_66", ro = "_ta_ue10h_133", me = {
|
|
4781
4781
|
debug: Qi,
|
|
4782
4782
|
b: eo,
|
|
4783
4783
|
o: to,
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4784
|
+
mb: no,
|
|
4785
|
+
tm: ao,
|
|
4786
|
+
ta: ro,
|
|
4787
|
+
"--body": "_--body_ue10h_143"
|
|
4788
|
+
}, E = window.Telegram.WebApp, ve = { is: !1, MainButton: {}, BackButton: {} };
|
|
4789
|
+
let ge = {};
|
|
4790
|
+
ge.dark = {
|
|
4790
4791
|
"--tg-theme-bg-color": "#212121",
|
|
4791
4792
|
"--tg-theme-text-color": "#ffffff",
|
|
4792
4793
|
"--tg-theme-hint-color": "#aaaaaa",
|
|
@@ -4801,7 +4802,7 @@ he.dark = {
|
|
|
4801
4802
|
"--tg-theme-subtitle-text-color": "#aaaaaa",
|
|
4802
4803
|
"--tg-theme-destructive-text-color": "#e53935"
|
|
4803
4804
|
};
|
|
4804
|
-
|
|
4805
|
+
ge.light = {
|
|
4805
4806
|
"--tg-theme-bg-color": "#ffffff",
|
|
4806
4807
|
"--tg-theme-text-color": "#000000",
|
|
4807
4808
|
"--tg-theme-hint-color": "#999999",
|
|
@@ -4810,7 +4811,7 @@ he.light = {
|
|
|
4810
4811
|
"--tg-theme-button-text-color": "#ffffff",
|
|
4811
4812
|
"--tg-theme-secondary-bg-color": "#efeff3"
|
|
4812
4813
|
};
|
|
4813
|
-
|
|
4814
|
+
ge.users = {
|
|
4814
4815
|
"--tg-theme-bg-color": "#000000",
|
|
4815
4816
|
"--tg-theme-text-color": "#ffffff",
|
|
4816
4817
|
"--tg-theme-hint-color": "#98989e",
|
|
@@ -4824,8 +4825,8 @@ E.getUser = () => {
|
|
|
4824
4825
|
return ((e = E.initDataUnsafe) == null ? void 0 : e.user) === void 0 ? {} : E.initDataUnsafe;
|
|
4825
4826
|
};
|
|
4826
4827
|
E.MainButton.set = (e) => {
|
|
4827
|
-
|
|
4828
|
-
|
|
4828
|
+
ve.is ? ve.MainButton.set(e) : typeof e == "boolean" ? E.MainButton.isVisible = !1 : (E.MainButton.text = e.text, e.color && (E.MainButton.color = e.color), e.textColor && (E.MainButton.textColor = e.textColor), E.MainButton.isVisible = !0, E.MainButton.isActive = e.isActive ?? !0, e.page === void 0 || E.MainButton.onClick(() => {
|
|
4829
|
+
xe.setPage(e.page);
|
|
4829
4830
|
}));
|
|
4830
4831
|
};
|
|
4831
4832
|
E.BackButton.state = [!1];
|
|
@@ -4834,7 +4835,7 @@ E.BackButton.router = (e) => {
|
|
|
4834
4835
|
e === !1 ? (E.BackButton.isVisible = !1, E.BackButton.offClick(E.BackButton.listen[0]), E.BackButton.listen.shift(), E.BackButton.state.length !== 1 && E.BackButton.state.pop()) : (E.BackButton.isVisible = !0, E.BackButton.offClick(E.BackButton.listen[0]), E.BackButton.listen.shift(), E.BackButton.listen.push(() => {
|
|
4835
4836
|
let t = E.BackButton.state.pop();
|
|
4836
4837
|
if (t.page !== void 0)
|
|
4837
|
-
|
|
4838
|
+
xe.setPage(t.page);
|
|
4838
4839
|
else {
|
|
4839
4840
|
let a = E.BackButton.state[E.BackButton.state.length - 1];
|
|
4840
4841
|
E.BackButton.router(a);
|
|
@@ -4842,7 +4843,7 @@ E.BackButton.router = (e) => {
|
|
|
4842
4843
|
}), E.BackButton.onClick(E.BackButton.listen[0]));
|
|
4843
4844
|
};
|
|
4844
4845
|
E.BackButton.set = (e) => {
|
|
4845
|
-
|
|
4846
|
+
ve.is ? ve.BackButton.set(e) : (E.BackButton.state.push(e), E.BackButton.router(e));
|
|
4846
4847
|
};
|
|
4847
4848
|
E.Notice = (e, t) => {
|
|
4848
4849
|
t !== void 0 ? (Ke.Send({ type: e, text: t }), E.HapticFeedback.notificationOccurred(e)) : (Ke.Send(e), E.HapticFeedback.notificationOccurred(e.type));
|
|
@@ -4850,46 +4851,46 @@ E.Notice = (e, t) => {
|
|
|
4850
4851
|
E.Init = ({ dev: e }) => {
|
|
4851
4852
|
if (e) {
|
|
4852
4853
|
let [t, a] = b.useState(!1), [r, i] = b.useState(!1), [o, l] = b.useState("dark"), [c, d] = b.useState(!1), [_, u] = b.useState(!1);
|
|
4853
|
-
|
|
4854
|
-
for (let m in
|
|
4854
|
+
ve.is = !0, ve.MainButton.set = a, ve.BackButton.set = i, b.useEffect(() => {
|
|
4855
|
+
for (let m in ge[o])
|
|
4855
4856
|
document.documentElement.style.setProperty(
|
|
4856
4857
|
m,
|
|
4857
|
-
|
|
4858
|
+
ge[o][m]
|
|
4858
4859
|
);
|
|
4859
4860
|
}, []);
|
|
4860
4861
|
let f = (m) => {
|
|
4861
|
-
for (let g in
|
|
4862
|
-
document.documentElement.style.setProperty(g,
|
|
4862
|
+
for (let g in ge[m])
|
|
4863
|
+
document.documentElement.style.setProperty(g, ge[m][g]);
|
|
4863
4864
|
l(m), d(!1);
|
|
4864
4865
|
}, x = () => {
|
|
4865
4866
|
d(!1), u(!0);
|
|
4866
4867
|
};
|
|
4867
4868
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4868
|
-
/* @__PURE__ */ n.jsxs("div", { className:
|
|
4869
|
-
r === !1 ? /* @__PURE__ */ n.jsx("div", { className:
|
|
4869
|
+
/* @__PURE__ */ n.jsxs("div", { className: me.debug, children: [
|
|
4870
|
+
r === !1 ? /* @__PURE__ */ n.jsx("div", { className: me.b, children: "Отмена" }) : /* @__PURE__ */ n.jsx(
|
|
4870
4871
|
"div",
|
|
4871
4872
|
{
|
|
4872
4873
|
onClick: () => {
|
|
4873
4874
|
r.page;
|
|
4874
4875
|
},
|
|
4875
|
-
className:
|
|
4876
|
+
className: me.b,
|
|
4876
4877
|
children: "Назад"
|
|
4877
4878
|
}
|
|
4878
4879
|
),
|
|
4879
4880
|
/* @__PURE__ */ n.jsx(
|
|
4880
4881
|
"div",
|
|
4881
4882
|
{
|
|
4882
|
-
className:
|
|
4883
|
+
className: me.o,
|
|
4883
4884
|
onClick: () => d(!c),
|
|
4884
4885
|
children: "Меню"
|
|
4885
4886
|
}
|
|
4886
4887
|
)
|
|
4887
4888
|
] }),
|
|
4888
|
-
/* @__PURE__ */ n.jsx("div", {
|
|
4889
|
-
c ? /* @__PURE__ */ n.jsxs("div", { className:
|
|
4889
|
+
t && /* @__PURE__ */ n.jsx("div", { className: me.mb, children: /* @__PURE__ */ n.jsx("button", { onClick: () => xe.setPage(t.page), children: t.text }) }),
|
|
4890
|
+
c ? /* @__PURE__ */ n.jsxs("div", { className: me.tm, children: [
|
|
4890
4891
|
/* @__PURE__ */ n.jsxs("ul", { children: [
|
|
4891
4892
|
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: x, children: "Authorization" }) }),
|
|
4892
|
-
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () =>
|
|
4893
|
+
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () => xe.setPage("Add"), children: "Add Page" }) })
|
|
4893
4894
|
] }),
|
|
4894
4895
|
/* @__PURE__ */ n.jsxs("ul", { children: [
|
|
4895
4896
|
/* @__PURE__ */ n.jsxs("li", { children: [
|
|
@@ -4921,18 +4922,18 @@ E.Init = ({ dev: e }) => {
|
|
|
4921
4922
|
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () => d(!c), children: "Closed" }) })
|
|
4922
4923
|
] })
|
|
4923
4924
|
] }) : "",
|
|
4924
|
-
_ ? /* @__PURE__ */ n.jsx(
|
|
4925
|
+
_ ? /* @__PURE__ */ n.jsx(io, { setAuthorization: u }) : ""
|
|
4925
4926
|
] });
|
|
4926
4927
|
} else
|
|
4927
4928
|
return /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
4928
4929
|
};
|
|
4929
|
-
const
|
|
4930
|
+
const io = ({ setAuthorization: e }) => {
|
|
4930
4931
|
let t = {}, a = (i) => {
|
|
4931
4932
|
t = i.value;
|
|
4932
4933
|
}, r = (i) => {
|
|
4933
4934
|
localStorage.setItem("auth", t);
|
|
4934
4935
|
};
|
|
4935
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
4936
|
+
return /* @__PURE__ */ n.jsx("div", { className: me.ta, children: /* @__PURE__ */ n.jsxs("div", { className: "--body", children: [
|
|
4936
4937
|
/* @__PURE__ */ n.jsx("fieldset", { children: /* @__PURE__ */ n.jsx(
|
|
4937
4938
|
Xi.Notes,
|
|
4938
4939
|
{
|
|
@@ -4944,7 +4945,7 @@ const ro = ({ setAuthorization: e }) => {
|
|
|
4944
4945
|
) }),
|
|
4945
4946
|
/* @__PURE__ */ n.jsx("div", { onClick: r, children: " Сщхранить " })
|
|
4946
4947
|
] }) });
|
|
4947
|
-
},
|
|
4948
|
+
}, dl = ({ children: e, config: t }) => (window.location.pathname === "/clear" && (window.history.pushState({}, "", "/"), X()), N.New(t.crypto), t.defaultModule && ha(t.defaultModule), pa(
|
|
4948
4949
|
/* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4949
4950
|
/* @__PURE__ */ n.jsx(E.Init, { dev: t.dev }),
|
|
4950
4951
|
/* @__PURE__ */ n.jsx(ui, { config: t.modal }),
|
|
@@ -4953,8 +4954,8 @@ const ro = ({ setAuthorization: e }) => {
|
|
|
4953
4954
|
/* @__PURE__ */ n.jsx(wi, {}),
|
|
4954
4955
|
e
|
|
4955
4956
|
] })
|
|
4956
|
-
)),
|
|
4957
|
-
|
|
4957
|
+
)), oo = ({ list: e, onClick: t, active: a, size: r, view: i }) => /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [r, i].join(" "), children: e.map((o) => /* @__PURE__ */ n.jsx(
|
|
4958
|
+
so,
|
|
4958
4959
|
{
|
|
4959
4960
|
onClick: t,
|
|
4960
4961
|
active: a,
|
|
@@ -4962,9 +4963,9 @@ const ro = ({ setAuthorization: e }) => {
|
|
|
4962
4963
|
link: o.link
|
|
4963
4964
|
},
|
|
4964
4965
|
o.link
|
|
4965
|
-
)) }) }),
|
|
4966
|
-
|
|
4967
|
-
const
|
|
4966
|
+
)) }) }), so = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
|
|
4967
|
+
oo.defaultProps = { size: "M", view: "H" };
|
|
4968
|
+
const lo = ({
|
|
4968
4969
|
title: e = "",
|
|
4969
4970
|
button: t,
|
|
4970
4971
|
description: a = "",
|
|
@@ -4984,9 +4985,9 @@ const so = ({
|
|
|
4984
4985
|
] }),
|
|
4985
4986
|
/* @__PURE__ */ n.jsx("ul", { children: r }),
|
|
4986
4987
|
a && /* @__PURE__ */ n.jsx("article", { children: a })
|
|
4987
|
-
] }),
|
|
4988
|
-
setting:
|
|
4989
|
-
},
|
|
4988
|
+
] }), co = "_setting_dva4m_2", _o = {
|
|
4989
|
+
setting: co
|
|
4990
|
+
}, uo = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: _o.setting, children: e }), fo = ({ label: e, children: t }) => {
|
|
4990
4991
|
let [a, r] = b.useState(!1);
|
|
4991
4992
|
return /* @__PURE__ */ n.jsxs("li", { "data-item": "accordion", children: [
|
|
4992
4993
|
/* @__PURE__ */ n.jsxs("dl", { onClick: () => r(!a), children: [
|
|
@@ -4995,10 +4996,10 @@ const so = ({
|
|
|
4995
4996
|
] }),
|
|
4996
4997
|
a && /* @__PURE__ */ n.jsx("div", { children: t })
|
|
4997
4998
|
] });
|
|
4998
|
-
},
|
|
4999
|
+
}, mo = ({ label: e, onClick: t, button: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
4999
5000
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5000
5001
|
/* @__PURE__ */ n.jsx("dd", { role: "button", onClick: () => t(), children: a })
|
|
5001
|
-
] }) }),
|
|
5002
|
+
] }) }), ho = ({ active: e, onClick: t }) => (e = typeof e == "number" ? !!e : e, /* @__PURE__ */ n.jsx(
|
|
5002
5003
|
"div",
|
|
5003
5004
|
{
|
|
5004
5005
|
role: "switch",
|
|
@@ -5007,25 +5008,25 @@ const so = ({
|
|
|
5007
5008
|
},
|
|
5008
5009
|
"aria-checked": e ? "true" : "false"
|
|
5009
5010
|
}
|
|
5010
|
-
)),
|
|
5011
|
+
)), go = { Switch: ho }, po = ({ label: e, onClick: t, active: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
5011
5012
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5012
|
-
/* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(
|
|
5013
|
-
] }) }),
|
|
5013
|
+
/* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(go.Switch, { onClick: t, active: a }) })
|
|
5014
|
+
] }) }), xo = ({ label: e, active: t, options: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
5014
5015
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5015
5016
|
/* @__PURE__ */ n.jsx("dd", { role: "info", children: t })
|
|
5016
|
-
] }) }),
|
|
5017
|
+
] }) }), vo = ({ label: e, info: t }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
5017
5018
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5018
5019
|
/* @__PURE__ */ n.jsx("dd", { role: "info", children: t })
|
|
5019
|
-
] }) }),
|
|
5020
|
+
] }) }), ko = ({ label: e, children: t }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
5020
5021
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5021
5022
|
/* @__PURE__ */ n.jsx("dd", { children: t })
|
|
5022
|
-
] }) }),
|
|
5023
|
+
] }) }), bo = ({ label: e, children: t }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
5023
5024
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5024
5025
|
/* @__PURE__ */ n.jsx("dd", { children: t })
|
|
5025
|
-
] }) }),
|
|
5026
|
+
] }) }), Co = { Accordion: fo, Button: mo, Switch: po, Info: vo, Select: xo, Component: ko, Node: bo };
|
|
5026
5027
|
function Nn({ list: e, onClick: t, active: a, size: r, view: i }) {
|
|
5027
5028
|
return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [r, i].join(" "), children: e.map((o) => /* @__PURE__ */ n.jsx(
|
|
5028
|
-
|
|
5029
|
+
jo,
|
|
5029
5030
|
{
|
|
5030
5031
|
onClick: t,
|
|
5031
5032
|
active: a,
|
|
@@ -5035,9 +5036,9 @@ function Nn({ list: e, onClick: t, active: a, size: r, view: i }) {
|
|
|
5035
5036
|
o.link
|
|
5036
5037
|
)) }) });
|
|
5037
5038
|
}
|
|
5038
|
-
const
|
|
5039
|
+
const jo = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
|
|
5039
5040
|
Nn.defaultProps = { size: "M", view: "H" };
|
|
5040
|
-
const
|
|
5041
|
+
const ul = { Section: lo, Main: uo, Item: Co, Tabs: Nn };
|
|
5041
5042
|
function Dn({ text: e, type: t, button: a }) {
|
|
5042
5043
|
let [r, i] = b.useState(!1), o = { active: t };
|
|
5043
5044
|
const l = () => {
|
|
@@ -5070,22 +5071,22 @@ function Dn({ text: e, type: t, button: a }) {
|
|
|
5070
5071
|
a && /* @__PURE__ */ n.jsx("button", { onClick: l, children: a.label })
|
|
5071
5072
|
] });
|
|
5072
5073
|
}
|
|
5073
|
-
const
|
|
5074
|
-
h:
|
|
5075
|
-
g:
|
|
5076
|
-
hr:
|
|
5077
|
-
hl:
|
|
5078
|
-
t:
|
|
5079
|
-
s:
|
|
5080
|
-
u:
|
|
5081
|
-
o:
|
|
5082
|
-
l:
|
|
5083
|
-
hh:
|
|
5084
|
-
c:
|
|
5085
|
-
loadingB:
|
|
5086
|
-
m:
|
|
5087
|
-
ul:
|
|
5088
|
-
f:
|
|
5074
|
+
const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", To = "_t_1usnu_40", Ro = "_s_1usnu_60", Bo = "_u_1usnu_69", Io = "_o_1usnu_76", Mo = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128", Fo = "_loadingB_1usnu_1", Po = "_m_1usnu_180", $o = "_ul_1usnu_196", Lo = "_f_1usnu_226", J = {
|
|
5075
|
+
h: yo,
|
|
5076
|
+
g: wo,
|
|
5077
|
+
hr: So,
|
|
5078
|
+
hl: Eo,
|
|
5079
|
+
t: To,
|
|
5080
|
+
s: Ro,
|
|
5081
|
+
u: Bo,
|
|
5082
|
+
o: Io,
|
|
5083
|
+
l: Mo,
|
|
5084
|
+
hh: No,
|
|
5085
|
+
c: Do,
|
|
5086
|
+
loadingB: Fo,
|
|
5087
|
+
m: Po,
|
|
5088
|
+
ul: $o,
|
|
5089
|
+
f: Lo
|
|
5089
5090
|
}, qt = ({ title: e, left: t, right: a, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: J.h, children: [
|
|
5090
5091
|
/* @__PURE__ */ n.jsx("div", { className: J.t, children: e }),
|
|
5091
5092
|
t && /* @__PURE__ */ n.jsx("div", { className: J.hl, children: t }),
|
|
@@ -5098,27 +5099,27 @@ const jo = "_h_1usnu_1", yo = "_g_1usnu_11", wo = "_hr_1usnu_16", So = "_hl_1usn
|
|
|
5098
5099
|
function en({ children: e }) {
|
|
5099
5100
|
return /* @__PURE__ */ n.jsx("div", { className: J.g, children: e });
|
|
5100
5101
|
}
|
|
5101
|
-
const
|
|
5102
|
+
const Oo = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("div", { className: [J.o, t].join(" "), children: [
|
|
5102
5103
|
a && /* @__PURE__ */ n.jsx("div", { className: J.hh, children: a }),
|
|
5103
5104
|
e
|
|
5104
|
-
] }),
|
|
5105
|
+
] }), Ao = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: J.u, children: e }), Go = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: J.c, children: e }), zo = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: J.m, children: e }), fl = {
|
|
5105
5106
|
Header: qt,
|
|
5106
5107
|
Section: Xt,
|
|
5107
5108
|
Group: en,
|
|
5108
5109
|
Form: Qt,
|
|
5109
5110
|
List: Jt,
|
|
5110
5111
|
A: Dn,
|
|
5111
|
-
U:
|
|
5112
|
+
U: Ao,
|
|
5112
5113
|
G: en,
|
|
5113
|
-
C:
|
|
5114
|
+
C: Go,
|
|
5114
5115
|
L: Jt,
|
|
5115
|
-
O:
|
|
5116
|
+
O: Oo,
|
|
5116
5117
|
S: Xt,
|
|
5117
5118
|
H: qt,
|
|
5118
|
-
M:
|
|
5119
|
+
M: zo,
|
|
5119
5120
|
F: Qt
|
|
5120
|
-
},
|
|
5121
|
-
function
|
|
5121
|
+
}, ml = { Send: Fr, Line: Dn };
|
|
5122
|
+
function Wo() {
|
|
5122
5123
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
5123
5124
|
"path",
|
|
5124
5125
|
{
|
|
@@ -5127,15 +5128,15 @@ function zo() {
|
|
|
5127
5128
|
}
|
|
5128
5129
|
) });
|
|
5129
5130
|
}
|
|
5130
|
-
const
|
|
5131
|
-
function
|
|
5132
|
-
|
|
5131
|
+
const Ko = {};
|
|
5132
|
+
function Zo(e) {
|
|
5133
|
+
Ko.add(e);
|
|
5133
5134
|
}
|
|
5134
|
-
function
|
|
5135
|
+
function Uo({ color: e, size: t, name: a }) {
|
|
5135
5136
|
return /* @__PURE__ */ n.jsx("svg", { width: t, height: t, color: e, children: /* @__PURE__ */ n.jsx("use", { href: `#${a}` }) });
|
|
5136
5137
|
}
|
|
5137
|
-
const
|
|
5138
|
-
function
|
|
5138
|
+
const hl = { Logo: Wo, Sprite: Zo, Symbol: Uo };
|
|
5139
|
+
function Ho() {
|
|
5139
5140
|
return /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
5140
5141
|
/* @__PURE__ */ n.jsx(
|
|
5141
5142
|
"path",
|
|
@@ -5170,7 +5171,7 @@ function Uo() {
|
|
|
5170
5171
|
)
|
|
5171
5172
|
] });
|
|
5172
5173
|
}
|
|
5173
|
-
function
|
|
5174
|
+
function Yo() {
|
|
5174
5175
|
return /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
5175
5176
|
/* @__PURE__ */ n.jsx(
|
|
5176
5177
|
"path",
|
|
@@ -5199,7 +5200,7 @@ function Ho() {
|
|
|
5199
5200
|
)
|
|
5200
5201
|
] });
|
|
5201
5202
|
}
|
|
5202
|
-
function
|
|
5203
|
+
function Vo() {
|
|
5203
5204
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n.jsx(
|
|
5204
5205
|
"path",
|
|
5205
5206
|
{
|
|
@@ -5212,11 +5213,11 @@ function Yo() {
|
|
|
5212
5213
|
}
|
|
5213
5214
|
) });
|
|
5214
5215
|
}
|
|
5215
|
-
const
|
|
5216
|
-
n:
|
|
5216
|
+
const qo = "_n_euuvm_1", Jo = {
|
|
5217
|
+
n: qo
|
|
5217
5218
|
};
|
|
5218
5219
|
let Pe = {}, Me = [];
|
|
5219
|
-
const
|
|
5220
|
+
const Xo = (e, t) => {
|
|
5220
5221
|
switch (t.type) {
|
|
5221
5222
|
case "open":
|
|
5222
5223
|
return {
|
|
@@ -5268,27 +5269,27 @@ const Jo = (e, t) => {
|
|
|
5268
5269
|
throw new Error();
|
|
5269
5270
|
}
|
|
5270
5271
|
};
|
|
5271
|
-
function Xo(e) {
|
|
5272
|
-
Pe.fn({ action: "add", data: e });
|
|
5273
|
-
}
|
|
5274
5272
|
function Qo(e) {
|
|
5275
5273
|
Pe.fn({ action: "add", data: e });
|
|
5276
5274
|
}
|
|
5277
5275
|
function es(e) {
|
|
5278
|
-
Pe.fn({ action: "
|
|
5276
|
+
Pe.fn({ action: "add", data: e });
|
|
5279
5277
|
}
|
|
5280
5278
|
function ts(e) {
|
|
5279
|
+
Pe.fn({ action: "new", data: e });
|
|
5280
|
+
}
|
|
5281
|
+
function ns(e) {
|
|
5281
5282
|
Pe.fn = e;
|
|
5282
5283
|
}
|
|
5283
|
-
function
|
|
5284
|
-
const [e, t] = b.useReducer(
|
|
5284
|
+
function as() {
|
|
5285
|
+
const [e, t] = b.useReducer(Xo, {
|
|
5285
5286
|
open: !1,
|
|
5286
5287
|
active: !1,
|
|
5287
5288
|
news: [],
|
|
5288
5289
|
take: {}
|
|
5289
5290
|
});
|
|
5290
5291
|
mt.useListener("bell", async (r) => {
|
|
5291
|
-
}),
|
|
5292
|
+
}), ns(async (r) => {
|
|
5292
5293
|
switch (r.action) {
|
|
5293
5294
|
case "add":
|
|
5294
5295
|
Me.push(r.data);
|
|
@@ -5352,11 +5353,11 @@ function ns() {
|
|
|
5352
5353
|
/* @__PURE__ */ n.jsx(
|
|
5353
5354
|
"div",
|
|
5354
5355
|
{
|
|
5355
|
-
className:
|
|
5356
|
+
className: Jo.n,
|
|
5356
5357
|
onClick: () => {
|
|
5357
5358
|
t({ type: "open", open: !0 });
|
|
5358
5359
|
},
|
|
5359
|
-
children: e.active ? /* @__PURE__ */ n.jsx(
|
|
5360
|
+
children: e.active ? /* @__PURE__ */ n.jsx(Yo, {}) : /* @__PURE__ */ n.jsx(Ho, {})
|
|
5360
5361
|
}
|
|
5361
5362
|
),
|
|
5362
5363
|
e.open ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -5371,7 +5372,7 @@ function ns() {
|
|
|
5371
5372
|
),
|
|
5372
5373
|
/* @__PURE__ */ n.jsxs("div", { className: "notify-m", children: [
|
|
5373
5374
|
/* @__PURE__ */ n.jsx("div", { className: "notify-l", children: e.news.map((r, i) => /* @__PURE__ */ n.jsx(
|
|
5374
|
-
|
|
5375
|
+
rs,
|
|
5375
5376
|
{
|
|
5376
5377
|
data: r,
|
|
5377
5378
|
dispatch: t
|
|
@@ -5383,7 +5384,7 @@ function ns() {
|
|
|
5383
5384
|
] }) : ""
|
|
5384
5385
|
] });
|
|
5385
5386
|
}
|
|
5386
|
-
const
|
|
5387
|
+
const rs = ({ data: e, dispatch: t }) => {
|
|
5387
5388
|
let a = async (r) => {
|
|
5388
5389
|
t({ type: "hide", id: r.id }), await mt.Send({
|
|
5389
5390
|
type: "module",
|
|
@@ -5400,21 +5401,21 @@ const as = ({ data: e, dispatch: t }) => {
|
|
|
5400
5401
|
] }),
|
|
5401
5402
|
/* @__PURE__ */ n.jsx("div", { className: "--hide", "data-icon": "F038", onClick: () => a(e), children: " " })
|
|
5402
5403
|
] });
|
|
5403
|
-
},
|
|
5404
|
-
function
|
|
5404
|
+
}, is = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
|
|
5405
|
+
function os(e) {
|
|
5405
5406
|
return new SharedWorker(
|
|
5406
|
-
"data:text/javascript;base64," +
|
|
5407
|
+
"data:text/javascript;base64," + is,
|
|
5407
5408
|
{
|
|
5408
5409
|
name: e == null ? void 0 : e.name
|
|
5409
5410
|
}
|
|
5410
5411
|
);
|
|
5411
5412
|
}
|
|
5412
|
-
function
|
|
5413
|
+
function ss(e) {
|
|
5413
5414
|
let t = {}, a = {};
|
|
5414
5415
|
e.data.forEach((i) => {
|
|
5415
5416
|
t[i.id] = { s: i.v, n: i.a }, a[i.id] = i;
|
|
5416
5417
|
});
|
|
5417
|
-
let r = { ...
|
|
5418
|
+
let r = { ...ke(), 901: t };
|
|
5418
5419
|
cn(a), De(r);
|
|
5419
5420
|
}
|
|
5420
5421
|
let ae = {}, H = {}, We = [
|
|
@@ -5427,10 +5428,10 @@ let ae = {}, H = {}, We = [
|
|
|
5427
5428
|
"info",
|
|
5428
5429
|
"job"
|
|
5429
5430
|
];
|
|
5430
|
-
function
|
|
5431
|
+
function ls() {
|
|
5431
5432
|
const [e, t] = b.useState(!1), [a, r] = b.useState(!1);
|
|
5432
5433
|
function i(o) {
|
|
5433
|
-
const l = new
|
|
5434
|
+
const l = new os();
|
|
5434
5435
|
ae.laodData = (c) => {
|
|
5435
5436
|
let d = We.indexOf(c);
|
|
5436
5437
|
d >= 0 && We.splice(d, 1), We.length === 0 && t(!0);
|
|
@@ -5454,8 +5455,8 @@ function ss() {
|
|
|
5454
5455
|
H.module = (e) => {
|
|
5455
5456
|
ae[e.listen] !== void 0 && (ae[e.listen](e), delete ae[e.listen]);
|
|
5456
5457
|
};
|
|
5457
|
-
H.bell =
|
|
5458
|
-
H.company =
|
|
5458
|
+
H.bell = ts;
|
|
5459
|
+
H.company = ss;
|
|
5459
5460
|
H.info = (e) => {
|
|
5460
5461
|
let t = {};
|
|
5461
5462
|
t.db = e.db, t.id = e.data.id, t.job = e.data.job, t.login = e.data.login, t.name = e.data.p02, t.patronymic = e.data.p03, t.surname = e.data.p01, t.email = e.data.email, t.admin = e.data.menu.includes("99"), _n(t), sn(e.data.menu);
|
|
@@ -5470,13 +5471,13 @@ H.offline = async (e) => {
|
|
|
5470
5471
|
H.chat = (e) => {
|
|
5471
5472
|
switch (e.data.action) {
|
|
5472
5473
|
case "new_message":
|
|
5473
|
-
|
|
5474
|
+
xe.getModule();
|
|
5474
5475
|
break;
|
|
5475
5476
|
case "view_message":
|
|
5476
|
-
|
|
5477
|
+
xe.getModule();
|
|
5477
5478
|
break;
|
|
5478
5479
|
case "write_message":
|
|
5479
|
-
|
|
5480
|
+
xe.getModule();
|
|
5480
5481
|
break;
|
|
5481
5482
|
}
|
|
5482
5483
|
};
|
|
@@ -5497,7 +5498,7 @@ H.users = (e) => {
|
|
|
5497
5498
|
number: l
|
|
5498
5499
|
};
|
|
5499
5500
|
});
|
|
5500
|
-
let a = { ...
|
|
5501
|
+
let a = { ...ke(), user: t };
|
|
5501
5502
|
De(a);
|
|
5502
5503
|
};
|
|
5503
5504
|
H.api = (e) => {
|
|
@@ -5510,13 +5511,13 @@ H.delete = () => {
|
|
|
5510
5511
|
X();
|
|
5511
5512
|
};
|
|
5512
5513
|
H.select = (e) => {
|
|
5513
|
-
let t = { ...
|
|
5514
|
+
let t = { ...ke() };
|
|
5514
5515
|
e.data.forEach((a) => {
|
|
5515
5516
|
t[a.n] = JSON.parse(a.s);
|
|
5516
5517
|
}), De(t);
|
|
5517
5518
|
};
|
|
5518
5519
|
H.job = (e) => {
|
|
5519
|
-
let t = { ...
|
|
5520
|
+
let t = { ...ke() }, a = {};
|
|
5520
5521
|
Object.keys(e.data).forEach((r) => {
|
|
5521
5522
|
a[r] = { s: 1, n: e.data[r] };
|
|
5522
5523
|
}), t[1] = a, De(t);
|
|
@@ -5526,12 +5527,12 @@ H.setting = (e) => {
|
|
|
5526
5527
|
};
|
|
5527
5528
|
H.app = () => {
|
|
5528
5529
|
};
|
|
5529
|
-
const
|
|
5530
|
+
const cs = (e, t) => {
|
|
5530
5531
|
ae[e] = t;
|
|
5531
|
-
},
|
|
5532
|
+
}, _s = (e, t) => {
|
|
5532
5533
|
ae[e](t);
|
|
5533
5534
|
};
|
|
5534
|
-
function
|
|
5535
|
+
function ds(e) {
|
|
5535
5536
|
let t = "_" + String(Math.random()).substring(2, 7);
|
|
5536
5537
|
return new Promise((a) => {
|
|
5537
5538
|
ae[t] = (r) => {
|
|
@@ -5539,8 +5540,8 @@ function _s(e) {
|
|
|
5539
5540
|
}, e = { ...e, listen: t }, e.type = "modules", ae.send(e);
|
|
5540
5541
|
});
|
|
5541
5542
|
}
|
|
5542
|
-
const mt = { useConnect:
|
|
5543
|
-
class
|
|
5543
|
+
const mt = { useConnect: ls, useListener: cs, setListener: _s, Send: ds };
|
|
5544
|
+
class us {
|
|
5544
5545
|
constructor(t = "el", a = "db") {
|
|
5545
5546
|
it(this, "storeName");
|
|
5546
5547
|
it(this, "_dbp");
|
|
@@ -5561,7 +5562,7 @@ class ds {
|
|
|
5561
5562
|
}
|
|
5562
5563
|
}
|
|
5563
5564
|
let st, O = {};
|
|
5564
|
-
const Se = () => (st || (st = new
|
|
5565
|
+
const Se = () => (st || (st = new us()), st), de = (e, t, a = Se()) => a._withIDBStore("readwrite", (r) => {
|
|
5565
5566
|
O[e] = t, r.put(N.enCode(t), e);
|
|
5566
5567
|
}), ie = (e, t = Se()) => O[e] === void 0 ? new Promise((a, r) => {
|
|
5567
5568
|
let i;
|
|
@@ -5574,18 +5575,18 @@ const Se = () => (st || (st = new ds()), st), de = (e, t, a = Se()) => a._withID
|
|
|
5574
5575
|
} else
|
|
5575
5576
|
a({});
|
|
5576
5577
|
});
|
|
5577
|
-
}) : O[e],
|
|
5578
|
+
}) : O[e], fs = (e, t = Se()) => t._withIDBStore("readwrite", (a) => {
|
|
5578
5579
|
a.delete(e);
|
|
5579
5580
|
}), ht = (e = Se()) => e._withIDBStore("readwrite", (t) => {
|
|
5580
5581
|
t.clear();
|
|
5581
|
-
}),
|
|
5582
|
+
}), ms = (e = Se()) => {
|
|
5582
5583
|
const t = [];
|
|
5583
5584
|
return e._withIDBStore("readonly", (a) => {
|
|
5584
5585
|
(a.openKeyCursor || a.openCursor).call(a).onsuccess = function() {
|
|
5585
5586
|
this.result && (t.push(this.result.key), this.result.continue());
|
|
5586
5587
|
};
|
|
5587
5588
|
}).then(() => t);
|
|
5588
|
-
},
|
|
5589
|
+
}, hs = (e, t, a = [], r = {}) => {
|
|
5589
5590
|
let i = a.length !== 0, o = [], l = r.sort, c = Object.keys(r).length !== 0, d = Object.keys(r), _ = Object.keys(e), u = [], f = (m) => {
|
|
5590
5591
|
let g = "";
|
|
5591
5592
|
if (a.forEach((v) => {
|
|
@@ -5607,7 +5608,7 @@ const Se = () => (st || (st = new ds()), st), de = (e, t, a = Se()) => a._withID
|
|
|
5607
5608
|
}), u.forEach((m) => {
|
|
5608
5609
|
m === void 0 ? (ht(), location.reload()) : (i && f(m.id), c && x(m.id));
|
|
5609
5610
|
}), { list: u, search: o, filter: r };
|
|
5610
|
-
},
|
|
5611
|
+
}, gs = (e, t, a, r = Se()) => {
|
|
5611
5612
|
if (O[e] === void 0)
|
|
5612
5613
|
return new Promise((i, o) => {
|
|
5613
5614
|
let l;
|
|
@@ -5628,53 +5629,53 @@ const Se = () => (st || (st = new ds()), st), de = (e, t, a = Se()) => a._withID
|
|
|
5628
5629
|
return O[e][t.id] = { ...O[e][t.id], ...t.data }, a !== void 0 && O[a] !== void 0 ? O[a][t.id] !== void 0 && (O[a][t.id] = t.data.eDate) : O[a] = [], delete O[e][t.id].$_item, delete O[e][t.id].$_send, r._withIDBStore("readwrite", (i) => {
|
|
5629
5630
|
i.put(N.enCode(O[e]), e), a !== void 0 && i.put(N.enCode(O[a]), a);
|
|
5630
5631
|
});
|
|
5631
|
-
},
|
|
5632
|
+
}, ps = async (e, t, a, r) => {
|
|
5632
5633
|
let i, o;
|
|
5633
5634
|
o = await ie(a), o[e.id] = e, await de(a, o), i !== null && (i = await ie(t), i[e.id] = e.eDate, await de(t, i)), r !== void 0 && r({ type: "load", page: i, base: o });
|
|
5634
|
-
},
|
|
5635
|
+
}, xs = async (e, t, a, r) => {
|
|
5635
5636
|
let i = await ie(t), o = await ie(a);
|
|
5636
5637
|
for (let l in e)
|
|
5637
5638
|
o[l] = e[l], i[l] = e[l].eDate;
|
|
5638
5639
|
await de(t, i), await de(a, o), r !== void 0 && r({ type: "load", page: i, base: o });
|
|
5639
|
-
},
|
|
5640
|
+
}, vs = async (e, t, a, r) => {
|
|
5640
5641
|
let i = await ie(t), o = await ie(a);
|
|
5641
5642
|
e.forEach((l) => delete i[l]), await de(t, i), r !== void 0 && r({ type: "load", page: i, base: o });
|
|
5642
|
-
},
|
|
5643
|
+
}, ks = async (e, t, a) => {
|
|
5643
5644
|
let r = await ie(t);
|
|
5644
5645
|
e.forEach((i) => delete r[i]), await de(t, r);
|
|
5645
|
-
},
|
|
5646
|
+
}, bs = async (e, t, a) => {
|
|
5646
5647
|
let r = await ie(t);
|
|
5647
5648
|
e.forEach((i) => r[i.id] = i.eDate), await de(t, r);
|
|
5648
|
-
},
|
|
5649
|
+
}, Cs = async (e, t, a) => {
|
|
5649
5650
|
let r = await ie(t);
|
|
5650
5651
|
if (a !== void 0)
|
|
5651
5652
|
a({ type: "load", base: r });
|
|
5652
5653
|
else
|
|
5653
5654
|
return r[e];
|
|
5654
|
-
},
|
|
5655
|
-
id:
|
|
5655
|
+
}, js = (e) => O[e], gl = {
|
|
5656
|
+
id: Cs,
|
|
5656
5657
|
get: ie,
|
|
5657
5658
|
set: de,
|
|
5658
|
-
add:
|
|
5659
|
-
del:
|
|
5660
|
-
upd:
|
|
5661
|
-
key:
|
|
5662
|
-
load:
|
|
5663
|
-
split:
|
|
5659
|
+
add: ps,
|
|
5660
|
+
del: fs,
|
|
5661
|
+
upd: gs,
|
|
5662
|
+
key: ms,
|
|
5663
|
+
load: js,
|
|
5664
|
+
split: hs,
|
|
5664
5665
|
clear: ht,
|
|
5665
|
-
updAll:
|
|
5666
|
-
delAll:
|
|
5667
|
-
delList:
|
|
5668
|
-
addList:
|
|
5669
|
-
},
|
|
5670
|
-
s:
|
|
5671
|
-
loadingB:
|
|
5672
|
-
ul:
|
|
5666
|
+
updAll: xs,
|
|
5667
|
+
delAll: vs,
|
|
5668
|
+
delList: ks,
|
|
5669
|
+
addList: bs
|
|
5670
|
+
}, pl = { setSetting: Oa, getSetting: Aa }, ys = "_s_18bde_1", ws = "_loadingB_18bde_1", Ss = "_ul_18bde_31", Es = {
|
|
5671
|
+
s: ys,
|
|
5672
|
+
loadingB: ws,
|
|
5673
|
+
ul: Ss
|
|
5673
5674
|
};
|
|
5674
|
-
function
|
|
5675
|
+
function Ts({ children: e }) {
|
|
5675
5676
|
return /* @__PURE__ */ n.jsx("ul", { className: J.ul, children: e });
|
|
5676
5677
|
}
|
|
5677
|
-
function
|
|
5678
|
+
function Rs(e, t) {
|
|
5678
5679
|
switch (t.type) {
|
|
5679
5680
|
case "load":
|
|
5680
5681
|
return {
|
|
@@ -5707,13 +5708,13 @@ function Ts(e, t) {
|
|
|
5707
5708
|
throw new Error();
|
|
5708
5709
|
}
|
|
5709
5710
|
}
|
|
5710
|
-
function
|
|
5711
|
+
function xl({
|
|
5711
5712
|
list: e,
|
|
5712
5713
|
load: t,
|
|
5713
5714
|
className: a,
|
|
5714
5715
|
...r
|
|
5715
5716
|
}) {
|
|
5716
|
-
const i = b.useRef(null), [o, l] = b.useReducer(
|
|
5717
|
+
const i = b.useRef(null), [o, l] = b.useReducer(Rs, {
|
|
5717
5718
|
load: !1,
|
|
5718
5719
|
list: [],
|
|
5719
5720
|
data: {},
|
|
@@ -5730,10 +5731,10 @@ function pl({
|
|
|
5730
5731
|
return /* @__PURE__ */ n.jsx(
|
|
5731
5732
|
"div",
|
|
5732
5733
|
{
|
|
5733
|
-
className: [
|
|
5734
|
+
className: [Es.s, a].join(" "),
|
|
5734
5735
|
ref: i,
|
|
5735
5736
|
onScroll: c,
|
|
5736
|
-
children: /* @__PURE__ */ n.jsx(
|
|
5737
|
+
children: /* @__PURE__ */ n.jsx(Ts, { "el-empty": "Данные не найдены", children: o.load && o.list !== void 0 ? o.list.map((d) => /* @__PURE__ */ n.jsx(r.item, { data: d }, d.id)) : /* @__PURE__ */ n.jsxs("div", { "data-load": "load", children: [
|
|
5737
5738
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
5738
5739
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
5739
5740
|
/* @__PURE__ */ n.jsx("i", {})
|
|
@@ -5741,7 +5742,7 @@ function pl({
|
|
|
5741
5742
|
}
|
|
5742
5743
|
);
|
|
5743
5744
|
}
|
|
5744
|
-
const
|
|
5745
|
+
const Bs = ({ label: e, onValue: t, value: a, name: r, item: i }) => {
|
|
5745
5746
|
const [o, l] = b.useState(!!a);
|
|
5746
5747
|
b.useEffect(() => {
|
|
5747
5748
|
l(!!a);
|
|
@@ -5759,7 +5760,7 @@ const Rs = ({ label: e, onValue: t, value: a, name: r, item: i }) => {
|
|
|
5759
5760
|
}
|
|
5760
5761
|
);
|
|
5761
5762
|
}, we = {};
|
|
5762
|
-
function
|
|
5763
|
+
function Is(e) {
|
|
5763
5764
|
const [t, a] = b.useState({}), r = b.useRef(e);
|
|
5764
5765
|
return we.u = (i) => {
|
|
5765
5766
|
r.current = { ...r.current, [i.name]: i.value };
|
|
@@ -5767,13 +5768,13 @@ function Bs(e) {
|
|
|
5767
5768
|
a(Date.now());
|
|
5768
5769
|
}, [r.current];
|
|
5769
5770
|
}
|
|
5770
|
-
function
|
|
5771
|
+
function Ms(e) {
|
|
5771
5772
|
we.u(e), e.reload && we.r();
|
|
5772
5773
|
}
|
|
5773
|
-
function
|
|
5774
|
+
function Ns() {
|
|
5774
5775
|
we.r && we.r();
|
|
5775
5776
|
}
|
|
5776
|
-
const
|
|
5777
|
+
const vl = {
|
|
5777
5778
|
Color: bn,
|
|
5778
5779
|
Date: vt,
|
|
5779
5780
|
Code: kn,
|
|
@@ -5798,19 +5799,19 @@ const xl = {
|
|
|
5798
5799
|
Users: St,
|
|
5799
5800
|
String: wt,
|
|
5800
5801
|
Form: ft,
|
|
5801
|
-
runReload:
|
|
5802
|
-
useData:
|
|
5803
|
-
setValue:
|
|
5804
|
-
Palette:
|
|
5802
|
+
runReload: Ns,
|
|
5803
|
+
useData: Is,
|
|
5804
|
+
setValue: Ms,
|
|
5805
|
+
Palette: Bs,
|
|
5805
5806
|
Toogle: Bn,
|
|
5806
5807
|
Group: In,
|
|
5807
5808
|
Options: Mn
|
|
5808
|
-
},
|
|
5809
|
-
spinner:
|
|
5810
|
-
l:
|
|
5811
|
-
loadingB:
|
|
5809
|
+
}, Ds = "_spinner_1ul0m_1", Fs = "_l_1ul0m_75", Ps = "_loadingB_1ul0m_1", Fn = {
|
|
5810
|
+
spinner: Ds,
|
|
5811
|
+
l: Fs,
|
|
5812
|
+
loadingB: Ps
|
|
5812
5813
|
};
|
|
5813
|
-
function
|
|
5814
|
+
function $s() {
|
|
5814
5815
|
return /* @__PURE__ */ n.jsx("div", { className: Fn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
|
|
5815
5816
|
"path",
|
|
5816
5817
|
{
|
|
@@ -5819,18 +5820,18 @@ function Ps() {
|
|
|
5819
5820
|
}
|
|
5820
5821
|
) }) });
|
|
5821
5822
|
}
|
|
5822
|
-
function
|
|
5823
|
+
function Ls() {
|
|
5823
5824
|
return /* @__PURE__ */ n.jsxs("div", { className: Fn.l, children: [
|
|
5824
5825
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
5825
5826
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
5826
5827
|
/* @__PURE__ */ n.jsx("i", {})
|
|
5827
5828
|
] });
|
|
5828
5829
|
}
|
|
5829
|
-
const
|
|
5830
|
-
s:
|
|
5830
|
+
const kl = { Spinner: $s, Inline: Ls }, Os = "_s_t9swc_1", tn = {
|
|
5831
|
+
s: Os
|
|
5831
5832
|
};
|
|
5832
5833
|
let Et;
|
|
5833
|
-
function
|
|
5834
|
+
function As({ className: e, placeholder: t }) {
|
|
5834
5835
|
let a = (l) => {
|
|
5835
5836
|
Et(l.target.textContent);
|
|
5836
5837
|
}, r = (l) => {
|
|
@@ -5854,7 +5855,7 @@ function Os({ className: e, placeholder: t }) {
|
|
|
5854
5855
|
}
|
|
5855
5856
|
);
|
|
5856
5857
|
}
|
|
5857
|
-
function
|
|
5858
|
+
function Gs(e, t, a) {
|
|
5858
5859
|
let r = [], i = 1, o = 0, l = {}, c = 50;
|
|
5859
5860
|
return l[i] = [], e.forEach((d) => {
|
|
5860
5861
|
d.text.toLowerCase().indexOf(t) > -1 && r.push(d.id);
|
|
@@ -5862,17 +5863,17 @@ function As(e, t, a) {
|
|
|
5862
5863
|
o++, o <= c || (i++, o = 1, l[i] = []), l[i].push(a[d]);
|
|
5863
5864
|
}), l;
|
|
5864
5865
|
}
|
|
5865
|
-
function
|
|
5866
|
+
function zs(e) {
|
|
5866
5867
|
Et = e;
|
|
5867
5868
|
}
|
|
5868
|
-
function
|
|
5869
|
+
function Ws(e) {
|
|
5869
5870
|
Et = e;
|
|
5870
5871
|
}
|
|
5871
|
-
const
|
|
5872
|
-
f:
|
|
5872
|
+
const bl = { Field: As, Run: Gs, Get: zs, useValue: Ws }, Ks = "_f_q3r0i_1", Zs = {
|
|
5873
|
+
f: Ks
|
|
5873
5874
|
};
|
|
5874
5875
|
let ee = {};
|
|
5875
|
-
function
|
|
5876
|
+
function Us(e, t) {
|
|
5876
5877
|
switch (t.type) {
|
|
5877
5878
|
case "open":
|
|
5878
5879
|
return {
|
|
@@ -5922,8 +5923,8 @@ function Zs(e, t) {
|
|
|
5922
5923
|
throw new Error();
|
|
5923
5924
|
}
|
|
5924
5925
|
}
|
|
5925
|
-
function
|
|
5926
|
-
const [e, t] = b.useReducer(
|
|
5926
|
+
function Hs() {
|
|
5927
|
+
const [e, t] = b.useReducer(Us, {
|
|
5927
5928
|
open: !1,
|
|
5928
5929
|
view: null,
|
|
5929
5930
|
data: {},
|
|
@@ -5941,12 +5942,12 @@ function Us() {
|
|
|
5941
5942
|
/* @__PURE__ */ n.jsxs(
|
|
5942
5943
|
"div",
|
|
5943
5944
|
{
|
|
5944
|
-
className:
|
|
5945
|
+
className: Zs.f,
|
|
5945
5946
|
onClick: () => {
|
|
5946
5947
|
t({ type: "open", open: !0 });
|
|
5947
5948
|
},
|
|
5948
5949
|
children: [
|
|
5949
|
-
/* @__PURE__ */ n.jsx(
|
|
5950
|
+
/* @__PURE__ */ n.jsx(Vo, {}),
|
|
5950
5951
|
e.active && /* @__PURE__ */ n.jsxs("i", { children: [
|
|
5951
5952
|
e.size,
|
|
5952
5953
|
"1"
|
|
@@ -5966,7 +5967,7 @@ function Us() {
|
|
|
5966
5967
|
),
|
|
5967
5968
|
/* @__PURE__ */ n.jsxs("div", { className: "filter m", children: [
|
|
5968
5969
|
/* @__PURE__ */ n.jsx("div", { className: "filter l", children: Object.keys(e.data).map((a) => /* @__PURE__ */ n.jsx(
|
|
5969
|
-
|
|
5970
|
+
Xs,
|
|
5970
5971
|
{
|
|
5971
5972
|
data: a,
|
|
5972
5973
|
dispatch: t,
|
|
@@ -5988,16 +5989,16 @@ function Us() {
|
|
|
5988
5989
|
] }) : /* @__PURE__ */ n.jsx(n.Fragment, {})
|
|
5989
5990
|
] });
|
|
5990
5991
|
}
|
|
5991
|
-
function
|
|
5992
|
+
function Ys(e) {
|
|
5992
5993
|
ee.get = e;
|
|
5993
5994
|
}
|
|
5994
|
-
function
|
|
5995
|
+
function Vs(e) {
|
|
5995
5996
|
ee.set !== void 0 && ee.set(e);
|
|
5996
5997
|
}
|
|
5997
|
-
function
|
|
5998
|
+
function qs(e) {
|
|
5998
5999
|
ee.reset !== void 0 && ee.reset(e);
|
|
5999
6000
|
}
|
|
6000
|
-
function
|
|
6001
|
+
function Js(e, t, a, r) {
|
|
6001
6002
|
let i = [], o = 1, l = 0, c = {}, d = 50;
|
|
6002
6003
|
return c[o] = [], r === !0 && (Object.keys(t).forEach((_) => {
|
|
6003
6004
|
Number.parseInt(t[_]) !== 999 && (e = e.filter(
|
|
@@ -6012,7 +6013,7 @@ function qs(e, t, a, r) {
|
|
|
6012
6013
|
function Pn(e) {
|
|
6013
6014
|
ee.count(e);
|
|
6014
6015
|
}
|
|
6015
|
-
function
|
|
6016
|
+
function Xs({ data: e, state: t, dispatch: a }) {
|
|
6016
6017
|
let r = () => {
|
|
6017
6018
|
a({ type: "view", view: e });
|
|
6018
6019
|
}, i = () => {
|
|
@@ -6035,7 +6036,7 @@ function Js({ data: e, state: t, dispatch: a }) {
|
|
|
6035
6036
|
) : ""
|
|
6036
6037
|
] }),
|
|
6037
6038
|
/* @__PURE__ */ n.jsx("div", { className: "filter u", "set-active": (t.view === e) + "", children: Object.keys(t.data[e].list).map((o, l) => /* @__PURE__ */ n.jsx(
|
|
6038
|
-
|
|
6039
|
+
Qs,
|
|
6039
6040
|
{
|
|
6040
6041
|
data: t.data[e].list[o],
|
|
6041
6042
|
head: e,
|
|
@@ -6047,7 +6048,7 @@ function Js({ data: e, state: t, dispatch: a }) {
|
|
|
6047
6048
|
)) })
|
|
6048
6049
|
] });
|
|
6049
6050
|
}
|
|
6050
|
-
function
|
|
6051
|
+
function Qs({ data: e, head: t, state: a, dispatch: r, type: i }) {
|
|
6051
6052
|
if (i !== "999" && e.count === void 0)
|
|
6052
6053
|
return "";
|
|
6053
6054
|
const o = () => {
|
|
@@ -6066,8 +6067,8 @@ function Xs({ data: e, head: t, state: a, dispatch: r, type: i }) {
|
|
|
6066
6067
|
}
|
|
6067
6068
|
);
|
|
6068
6069
|
}
|
|
6069
|
-
const
|
|
6070
|
-
function
|
|
6070
|
+
const Cl = { Button: Hs, useValue: Ys, Set: Vs, Run: Js, Count: Pn, Reset: qs }, jl = { Bell: as, Send: es, Add: Qo };
|
|
6071
|
+
function yl({ active: e, onActive: t, id: a, name: r }) {
|
|
6071
6072
|
const [i, o] = b.useState(!!e);
|
|
6072
6073
|
b.useEffect(() => {
|
|
6073
6074
|
o(!!e);
|
|
@@ -6085,11 +6086,11 @@ function jl({ active: e, onActive: t, id: a, name: r }) {
|
|
|
6085
6086
|
}
|
|
6086
6087
|
);
|
|
6087
6088
|
}
|
|
6088
|
-
const
|
|
6089
|
-
sort:
|
|
6089
|
+
const el = "_sort_1yrvt_1", tl = {
|
|
6090
|
+
sort: el
|
|
6090
6091
|
};
|
|
6091
6092
|
let Ye = {};
|
|
6092
|
-
function
|
|
6093
|
+
function nl(e, t) {
|
|
6093
6094
|
switch (t.type) {
|
|
6094
6095
|
case "active":
|
|
6095
6096
|
let a = "<";
|
|
@@ -6102,12 +6103,12 @@ function tl(e, t) {
|
|
|
6102
6103
|
throw new Error();
|
|
6103
6104
|
}
|
|
6104
6105
|
}
|
|
6105
|
-
function
|
|
6106
|
+
function al() {
|
|
6106
6107
|
const [e, t] = b.useReducer(
|
|
6107
|
-
|
|
6108
|
+
nl,
|
|
6108
6109
|
ct() === void 0 ? { active: 1, sort: "<" } : ct()
|
|
6109
6110
|
);
|
|
6110
|
-
return /* @__PURE__ */ n.jsxs("div", { className:
|
|
6111
|
+
return /* @__PURE__ */ n.jsxs("div", { className: tl.sort, children: [
|
|
6111
6112
|
/* @__PURE__ */ n.jsx(
|
|
6112
6113
|
"i",
|
|
6113
6114
|
{
|
|
@@ -6134,13 +6135,13 @@ function nl() {
|
|
|
6134
6135
|
)
|
|
6135
6136
|
] });
|
|
6136
6137
|
}
|
|
6137
|
-
function
|
|
6138
|
+
function rl(e) {
|
|
6138
6139
|
Ye.get = e;
|
|
6139
6140
|
}
|
|
6140
|
-
function
|
|
6141
|
+
function il(e) {
|
|
6141
6142
|
Ye.set(e);
|
|
6142
6143
|
}
|
|
6143
|
-
function
|
|
6144
|
+
function ol(e, t, a) {
|
|
6144
6145
|
let r = 1, i = 0, o = {}, l = 50;
|
|
6145
6146
|
o[r] = [];
|
|
6146
6147
|
let c = {}, d = "s1a";
|
|
@@ -6159,38 +6160,38 @@ function il(e, t, a) {
|
|
|
6159
6160
|
i++, i <= l || (r++, i = 1, o[r] = []), o[r].push(e[_.id]);
|
|
6160
6161
|
}), { data: o };
|
|
6161
6162
|
}
|
|
6162
|
-
function
|
|
6163
|
+
function sl(e) {
|
|
6163
6164
|
Ye.count(e);
|
|
6164
6165
|
}
|
|
6165
|
-
const
|
|
6166
|
+
const wl = { Init: al, useValue: rl, Set: il, Run: ol, Count: sl };
|
|
6166
6167
|
export {
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6168
|
+
go as Action,
|
|
6169
|
+
ml as Alert,
|
|
6170
|
+
_l as Api,
|
|
6170
6171
|
Lr as Button,
|
|
6171
|
-
|
|
6172
|
-
|
|
6172
|
+
fl as Component,
|
|
6173
|
+
gl as DataBase,
|
|
6173
6174
|
He as Events,
|
|
6174
|
-
|
|
6175
|
-
|
|
6175
|
+
Cl as Filter,
|
|
6176
|
+
vl as Form,
|
|
6176
6177
|
ye as Format,
|
|
6177
|
-
|
|
6178
|
-
|
|
6178
|
+
hl as Icon,
|
|
6179
|
+
dl as Init,
|
|
6179
6180
|
Xi as Input,
|
|
6180
|
-
|
|
6181
|
+
kl as Loading,
|
|
6181
6182
|
Cn as Modal,
|
|
6182
6183
|
Ke as Notice,
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6184
|
+
jl as Notifications,
|
|
6185
|
+
xe as Router,
|
|
6186
|
+
xl as Scrolling,
|
|
6187
|
+
bl as Search,
|
|
6188
|
+
ul as Setting,
|
|
6188
6189
|
xt as Sistym,
|
|
6189
6190
|
mt as Socket,
|
|
6190
6191
|
se as Store,
|
|
6191
|
-
|
|
6192
|
-
|
|
6192
|
+
yl as Switch,
|
|
6193
|
+
oo as Tabs,
|
|
6193
6194
|
E as Telegram,
|
|
6194
|
-
|
|
6195
|
-
|
|
6195
|
+
wl as Triage,
|
|
6196
|
+
pl as User
|
|
6196
6197
|
};
|