test-stpr-ui-kit 0.4.66 → 0.4.67
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/images/fallBackSrc.jpeg +0 -0
- package/dist/images/viewImageExample.jpg +0 -0
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.es.d.ts +16 -2
- package/dist/test-stpr-ui-kit.js +1430 -1361
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
- /package/dist/{icon.svg → images/icon.svg} +0 -0
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import './test-stpr-ui-kit.css';function
|
|
1
|
+
import { jsxs as M, jsx as p, Fragment as fo } from "react/jsx-runtime";
|
|
2
|
+
import * as R from "react";
|
|
3
|
+
import $e, { useState as J, useEffect as ae, useRef as me, useCallback as xe, createContext as vo, useContext as Yo, useMemo as Pe, useReducer as Go, forwardRef as Ko, useImperativeHandle as Xo, Fragment as Zo, useLayoutEffect as Qo } from "react";
|
|
4
|
+
import Jo from "react-dom";
|
|
5
|
+
import './test-stpr-ui-kit.css';function go(e) {
|
|
6
6
|
var t, o, n = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
9
|
var a = e.length;
|
|
10
|
-
for (t = 0; t < a; t++) e[t] && (o =
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (o = go(e[t])) && (n && (n += " "), n += o);
|
|
11
11
|
} else for (o in e) e[o] && (n && (n += " "), n += o);
|
|
12
12
|
return n;
|
|
13
13
|
}
|
|
14
14
|
function f() {
|
|
15
|
-
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t =
|
|
15
|
+
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = go(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
|
-
const Qo = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Jo = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), en = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ T.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ T.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), tn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), on = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ T.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ T.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), nn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 26, height: 32, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_1827_3469)" }, /* @__PURE__ */ T.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), /* @__PURE__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_1827_3469" }, /* @__PURE__ */ T.createElement("rect", { width: 26, height: 32, fill: "white" })))), an = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), sn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M16 0.5C24.5604 0.5 31.5 7.43959 31.5 16C31.5 24.5604 24.5604 31.5 16 31.5C7.43959 31.5 0.5 24.5604 0.5 16C0.5 7.43959 7.43959 0.5 16 0.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_1827_3485" }, /* @__PURE__ */ T.createElement("rect", { width: 32, height: 32, fill: "white" })))), pn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ln = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), cn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), dn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), un = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), _n = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ T.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ T.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ T.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), xe = (e) => {
|
|
18
|
+
const en = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), tn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), on = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ R.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ R.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), nn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ R.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ R.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), rn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), sn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), pn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ln = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M16 0.5C24.5604 0.5 31.5 7.43959 31.5 16C31.5 24.5604 24.5604 31.5 16 31.5C7.43959 31.5 0.5 24.5604 0.5 16C0.5 7.43959 7.43959 0.5 16 0.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), cn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), dn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), un = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), _n = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), fn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), gn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ R.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ R.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ R.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ R.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ R.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ R.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ve = (e) => {
|
|
19
19
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
20
20
|
...n.style,
|
|
21
21
|
transform: o ? `rotate(${o}deg)` : ""
|
|
22
22
|
}, i = {
|
|
23
|
-
chevronDown:
|
|
24
|
-
info:
|
|
25
|
-
plus:
|
|
26
|
-
minus:
|
|
27
|
-
selectChevronDown:
|
|
28
|
-
upload:
|
|
29
|
-
trash:
|
|
30
|
-
check:
|
|
31
|
-
copy:
|
|
32
|
-
close:
|
|
33
|
-
plusSquare:
|
|
34
|
-
warningColor:
|
|
35
|
-
dots:
|
|
36
|
-
historyClock:
|
|
37
|
-
plusCircle:
|
|
38
|
-
terminalSquare:
|
|
39
|
-
file:
|
|
40
|
-
infoError:
|
|
23
|
+
chevronDown: tn,
|
|
24
|
+
info: pn,
|
|
25
|
+
plus: dn,
|
|
26
|
+
minus: cn,
|
|
27
|
+
selectChevronDown: _n,
|
|
28
|
+
upload: gn,
|
|
29
|
+
trash: vn,
|
|
30
|
+
check: en,
|
|
31
|
+
copy: nn,
|
|
32
|
+
close: on,
|
|
33
|
+
plusSquare: un,
|
|
34
|
+
warningColor: xn,
|
|
35
|
+
dots: an,
|
|
36
|
+
historyClock: sn,
|
|
37
|
+
plusCircle: mn,
|
|
38
|
+
terminalSquare: fn,
|
|
39
|
+
file: rn,
|
|
40
|
+
infoError: ln
|
|
41
41
|
};
|
|
42
|
-
return
|
|
42
|
+
return $e.createElement(i[t], {
|
|
43
43
|
...n,
|
|
44
44
|
style: a
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var
|
|
48
|
-
const
|
|
49
|
-
spAccordion:
|
|
50
|
-
spAccordion_noBorder:
|
|
51
|
-
spAccordion_noPadding:
|
|
52
|
-
spAccordion_open:
|
|
53
|
-
spAccordion__header:
|
|
54
|
-
spAccordion_noOpen:
|
|
55
|
-
spAccordion__name:
|
|
56
|
-
spAccordion__name_hiddenExpand:
|
|
47
|
+
var ne = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e.File = "file", e.InfoError = "infoError", e))(ne || {});
|
|
48
|
+
const hn = "_spAccordion_14avc_43", bn = "_spAccordion_noBorder_14avc_60", yn = "_spAccordion_noPadding_14avc_63", wn = "_spAccordion_open_14avc_66", Cn = "_spAccordion__header_14avc_69", kn = "_spAccordion_noOpen_14avc_88", Tn = "_spAccordion__name_14avc_99", Nn = "_spAccordion__name_hiddenExpand_14avc_110", En = "_spAccordion__icon_14avc_125", In = "_spAccordion__icon_hidden_14avc_131", Sn = "_spAccordion__icon_open_14avc_134", Rn = "_spAccordion__childrenWrapper_14avc_141", Fn = "_spAccordion__childrenWrapper_open_14avc_150", jn = "_spAccordion__content_14avc_153", An = "_spAccordion__content_open_14avc_159", de = {
|
|
49
|
+
spAccordion: hn,
|
|
50
|
+
spAccordion_noBorder: bn,
|
|
51
|
+
spAccordion_noPadding: yn,
|
|
52
|
+
spAccordion_open: wn,
|
|
53
|
+
spAccordion__header: Cn,
|
|
54
|
+
spAccordion_noOpen: kn,
|
|
55
|
+
spAccordion__name: Tn,
|
|
56
|
+
spAccordion__name_hiddenExpand: Nn,
|
|
57
57
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
|
|
58
58
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_14avc_117",
|
|
59
|
-
spAccordion__icon:
|
|
60
|
-
spAccordion__icon_hidden:
|
|
61
|
-
spAccordion__icon_open:
|
|
62
|
-
spAccordion__childrenWrapper:
|
|
63
|
-
spAccordion__childrenWrapper_open:
|
|
64
|
-
spAccordion__content:
|
|
65
|
-
spAccordion__content_open:
|
|
66
|
-
},
|
|
59
|
+
spAccordion__icon: En,
|
|
60
|
+
spAccordion__icon_hidden: In,
|
|
61
|
+
spAccordion__icon_open: Sn,
|
|
62
|
+
spAccordion__childrenWrapper: Rn,
|
|
63
|
+
spAccordion__childrenWrapper_open: Fn,
|
|
64
|
+
spAccordion__content: jn,
|
|
65
|
+
spAccordion__content_open: An
|
|
66
|
+
}, Ip = (e) => {
|
|
67
67
|
const {
|
|
68
68
|
name: t,
|
|
69
69
|
children: o,
|
|
@@ -73,29 +73,29 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
73
73
|
noBorder: r = !1,
|
|
74
74
|
noPadding: s = !1,
|
|
75
75
|
level: c = 1,
|
|
76
|
-
classNameRoot:
|
|
76
|
+
classNameRoot: l,
|
|
77
77
|
classNameHeader: u,
|
|
78
78
|
classNameTitle: _,
|
|
79
79
|
classNameIcon: g,
|
|
80
|
-
classNameChildrenWrapper:
|
|
81
|
-
} = e, [w, C] =
|
|
80
|
+
classNameChildrenWrapper: x
|
|
81
|
+
} = e, [w, C] = J(n), T = () => {
|
|
82
82
|
a || (i == null || i(!w), C(!w));
|
|
83
|
-
},
|
|
83
|
+
}, O = f({
|
|
84
84
|
[de.spAccordion]: !0,
|
|
85
85
|
[de.spAccordion_open]: w,
|
|
86
86
|
[de.spAccordion_noOpen]: !w,
|
|
87
87
|
[de.spAccordion_noBorder]: r,
|
|
88
88
|
[de.spAccordion_noPadding]: s,
|
|
89
|
-
...
|
|
90
|
-
}),
|
|
89
|
+
...l && { [l]: !0 }
|
|
90
|
+
}), U = f({
|
|
91
91
|
[de.spAccordion__header]: !0,
|
|
92
92
|
...u && { [u]: !0 }
|
|
93
|
-
}),
|
|
93
|
+
}), j = f({
|
|
94
94
|
[de.spAccordion__name]: !0,
|
|
95
95
|
[de[`spAccordion__name--level-${c}`]]: c,
|
|
96
96
|
[de.spAccordion__name_hiddenExpand]: a,
|
|
97
97
|
..._ && { [_]: !0 }
|
|
98
|
-
}),
|
|
98
|
+
}), b = f({
|
|
99
99
|
[de.spAccordion__icon]: !0,
|
|
100
100
|
[de.spAccordion__icon_open]: w,
|
|
101
101
|
[de.spAccordion__icon_hidden]: a,
|
|
@@ -103,53 +103,53 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
103
103
|
}), m = f({
|
|
104
104
|
[de.spAccordion__childrenWrapper]: !0,
|
|
105
105
|
[de.spAccordion__childrenWrapper_open]: w,
|
|
106
|
-
...
|
|
107
|
-
}),
|
|
106
|
+
...x && { [x]: !0 }
|
|
107
|
+
}), N = f({
|
|
108
108
|
[de.spAccordion__content]: !0,
|
|
109
109
|
[de.spAccordion__content_open]: w
|
|
110
110
|
});
|
|
111
|
-
return /* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
/* @__PURE__ */
|
|
111
|
+
return /* @__PURE__ */ M("div", { className: O, children: [
|
|
112
|
+
/* @__PURE__ */ M("div", { className: U, children: [
|
|
113
|
+
/* @__PURE__ */ p("div", { className: j, children: /* @__PURE__ */ p("span", { onClick: T, children: t }) }),
|
|
114
|
+
/* @__PURE__ */ p(ve, { onClick: T, className: b, name: ne.ChevronDown })
|
|
115
115
|
] }),
|
|
116
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ p("div", { className: m, children: /* @__PURE__ */ p("div", { className: N, children: o }) })
|
|
117
117
|
] });
|
|
118
|
-
},
|
|
119
|
-
spinner:
|
|
120
|
-
spinner__inner:
|
|
118
|
+
}, Ln = "_spinner_18qva_43", Dn = "_spinner__inner_18qva_54", mt = {
|
|
119
|
+
spinner: Ln,
|
|
120
|
+
spinner__inner: Dn,
|
|
121
121
|
"spinner-rotate": "_spinner-rotate_18qva_1",
|
|
122
122
|
"spinner--sm": "_spinner--sm_18qva_67",
|
|
123
123
|
"spinner--md": "_spinner--md_18qva_71",
|
|
124
124
|
"spinner--lg": "_spinner--lg_18qva_74",
|
|
125
125
|
"spinner--xl": "_spinner--xl_18qva_78"
|
|
126
|
-
},
|
|
126
|
+
}, At = (e) => {
|
|
127
127
|
const { size: t = "md", color: o = "#036bfd", classNameRoot: n } = e;
|
|
128
|
-
return /* @__PURE__ */
|
|
128
|
+
return /* @__PURE__ */ p(
|
|
129
129
|
"div",
|
|
130
130
|
{
|
|
131
|
-
className: f(
|
|
131
|
+
className: f(mt.spinner, mt[`spinner--${t}`], n),
|
|
132
132
|
"aria-label": "Loading",
|
|
133
133
|
role: "status",
|
|
134
134
|
style: { color: o },
|
|
135
|
-
children: /* @__PURE__ */
|
|
135
|
+
children: /* @__PURE__ */ p("div", { className: mt.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
},
|
|
139
|
-
spButton:
|
|
140
|
-
spButton_noPadding:
|
|
141
|
-
spButton_onlyIcon:
|
|
142
|
-
spButton__iconContainer:
|
|
143
|
-
spButton_link:
|
|
144
|
-
spButton__text:
|
|
145
|
-
spButton_primary: zn,
|
|
146
|
-
spButton_blue: Mn,
|
|
138
|
+
}, Pn = "_spButton_7ic3z_43", On = "_spButton_noPadding_7ic3z_62", Bn = "_spButton_onlyIcon_7ic3z_65", Wn = "_spButton__iconContainer_7ic3z_73", zn = "_spButton_link_7ic3z_76", Mn = "_spButton__text_7ic3z_80", Un = "_spButton_white_7ic3z_92", $n = "_spButton_primary_7ic3z_95", qn = "_spButton_blue_7ic3z_95", Hn = "_spButton_secondary_7ic3z_115", Vn = "_spButton_fullWidth_7ic3z_135", Yn = "_spButton_disabled_7ic3z_138", Gn = "_spButton__spinner_7ic3z_147", we = {
|
|
139
|
+
spButton: Pn,
|
|
140
|
+
spButton_noPadding: On,
|
|
141
|
+
spButton_onlyIcon: Bn,
|
|
142
|
+
spButton__iconContainer: Wn,
|
|
143
|
+
spButton_link: zn,
|
|
144
|
+
spButton__text: Mn,
|
|
147
145
|
spButton_white: Un,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
146
|
+
spButton_primary: $n,
|
|
147
|
+
spButton_blue: qn,
|
|
148
|
+
spButton_secondary: Hn,
|
|
149
|
+
spButton_fullWidth: Vn,
|
|
150
|
+
spButton_disabled: Yn,
|
|
151
|
+
spButton__spinner: Gn
|
|
152
|
+
}, Qe = (e) => {
|
|
153
153
|
const {
|
|
154
154
|
color: t = "blue",
|
|
155
155
|
variant: o = "primary",
|
|
@@ -159,31 +159,31 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
159
159
|
iconRotate: r = 0,
|
|
160
160
|
disabled: s = !1,
|
|
161
161
|
type: c = "button",
|
|
162
|
-
form:
|
|
162
|
+
form: l,
|
|
163
163
|
children: u,
|
|
164
164
|
loading: _ = !1,
|
|
165
165
|
isFullWidth: g = !1,
|
|
166
|
-
isOnlyIcon:
|
|
166
|
+
isOnlyIcon: x = !1,
|
|
167
167
|
noPadding: w = !1,
|
|
168
168
|
classNameRoot: C,
|
|
169
|
-
classNameIconContainerRoot:
|
|
170
|
-
} = e,
|
|
171
|
-
s || a == null || a(
|
|
172
|
-
},
|
|
173
|
-
const
|
|
169
|
+
classNameIconContainerRoot: T
|
|
170
|
+
} = e, O = (b) => {
|
|
171
|
+
s || a == null || a(b);
|
|
172
|
+
}, U = () => {
|
|
173
|
+
const b = f({
|
|
174
174
|
[we.spButton__text]: !0
|
|
175
175
|
}), m = f({
|
|
176
176
|
[we.spButton__iconContainer]: !0,
|
|
177
|
-
...
|
|
177
|
+
...T && { [T]: !0 }
|
|
178
178
|
});
|
|
179
|
-
return /* @__PURE__ */
|
|
180
|
-
(i || _) && /* @__PURE__ */
|
|
181
|
-
!
|
|
179
|
+
return /* @__PURE__ */ M(fo, { children: [
|
|
180
|
+
(i || _) && /* @__PURE__ */ p("div", { className: m, children: _ ? /* @__PURE__ */ p(At, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ p(ve, { name: i, rotate: r }) }),
|
|
181
|
+
!x && u && /* @__PURE__ */ p("div", { className: b, children: u })
|
|
182
182
|
] });
|
|
183
|
-
},
|
|
183
|
+
}, j = f({
|
|
184
184
|
[we.spButton]: !0,
|
|
185
185
|
[we.spButton_noPadding]: w,
|
|
186
|
-
[we.spButton_onlyIcon]:
|
|
186
|
+
[we.spButton_onlyIcon]: x,
|
|
187
187
|
[we[`spButton_${o}`]]: o,
|
|
188
188
|
[we[`spButton_${t}`]]: t,
|
|
189
189
|
[we.spButton_fullWidth]: g,
|
|
@@ -191,28 +191,28 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
191
191
|
[we.spButton_loading]: _,
|
|
192
192
|
...C && { [C]: !0 }
|
|
193
193
|
});
|
|
194
|
-
return /* @__PURE__ */
|
|
194
|
+
return /* @__PURE__ */ p(
|
|
195
195
|
"button",
|
|
196
196
|
{
|
|
197
197
|
style: n,
|
|
198
|
-
className:
|
|
199
|
-
onClick:
|
|
198
|
+
className: j,
|
|
199
|
+
onClick: O,
|
|
200
200
|
disabled: s,
|
|
201
201
|
type: c,
|
|
202
|
-
form:
|
|
203
|
-
children:
|
|
202
|
+
form: l,
|
|
203
|
+
children: U()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
},
|
|
207
|
-
spApplyButtons:
|
|
206
|
+
}, Kn = "_spApplyButtons_1l9jg_43", Xn = "_spApplyButtons__cancel_1l9jg_73", Zn = "_spApplyButtons__submit_1l9jg_76", ze = {
|
|
207
|
+
spApplyButtons: Kn,
|
|
208
208
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_1l9jg_48",
|
|
209
209
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_1l9jg_51",
|
|
210
210
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_1l9jg_54",
|
|
211
211
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_1l9jg_57",
|
|
212
212
|
"spApplyButtons_mobile-column-reverse": "_spApplyButtons_mobile-column-reverse_1l9jg_65",
|
|
213
|
-
spApplyButtons__cancel:
|
|
214
|
-
spApplyButtons__submit:
|
|
215
|
-
},
|
|
213
|
+
spApplyButtons__cancel: Xn,
|
|
214
|
+
spApplyButtons__submit: Zn
|
|
215
|
+
}, Qn = (e) => {
|
|
216
216
|
const {
|
|
217
217
|
applyButtonsMobileDirection: t = "column",
|
|
218
218
|
applyButtonsAlign: o = "center",
|
|
@@ -222,22 +222,22 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
222
222
|
cancelBtnDisabled: r,
|
|
223
223
|
submitBtnContent: s,
|
|
224
224
|
formId: c,
|
|
225
|
-
disabled:
|
|
225
|
+
disabled: l,
|
|
226
226
|
onClose: u,
|
|
227
227
|
submit: _,
|
|
228
228
|
loading: g
|
|
229
|
-
} = e,
|
|
230
|
-
[
|
|
231
|
-
[
|
|
232
|
-
[
|
|
229
|
+
} = e, x = f({
|
|
230
|
+
[ze.spApplyButtons]: !0,
|
|
231
|
+
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
232
|
+
[ze[`spApplyButtons_align-${o}`]]: o
|
|
233
233
|
}), w = f({
|
|
234
|
-
[
|
|
234
|
+
[ze.spApplyButtons__submit]: !0
|
|
235
235
|
}), C = f({
|
|
236
|
-
[
|
|
236
|
+
[ze.spApplyButtons__cancel]: !0
|
|
237
237
|
});
|
|
238
|
-
return /* @__PURE__ */
|
|
239
|
-
n && /* @__PURE__ */
|
|
240
|
-
|
|
238
|
+
return /* @__PURE__ */ M("div", { className: x, children: [
|
|
239
|
+
n && /* @__PURE__ */ p(
|
|
240
|
+
Qe,
|
|
241
241
|
{
|
|
242
242
|
type: "button",
|
|
243
243
|
variant: "secondary",
|
|
@@ -248,26 +248,26 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
248
248
|
children: n
|
|
249
249
|
}
|
|
250
250
|
),
|
|
251
|
-
s && /* @__PURE__ */
|
|
252
|
-
|
|
251
|
+
s && /* @__PURE__ */ p(
|
|
252
|
+
Qe,
|
|
253
253
|
{
|
|
254
254
|
type: "submit",
|
|
255
255
|
variant: "primary",
|
|
256
256
|
iconName: i,
|
|
257
257
|
classNameRoot: w,
|
|
258
258
|
form: c || void 0,
|
|
259
|
-
disabled:
|
|
259
|
+
disabled: l,
|
|
260
260
|
onClick: _,
|
|
261
261
|
loading: g,
|
|
262
262
|
children: s
|
|
263
263
|
}
|
|
264
264
|
)
|
|
265
265
|
] });
|
|
266
|
-
},
|
|
267
|
-
spBaseTooltip:
|
|
268
|
-
spBaseTooltip_noPadding:
|
|
269
|
-
spBaseTooltip__content:
|
|
270
|
-
},
|
|
266
|
+
}, Jn = "_spBaseTooltip_5usel_43", ea = "_spBaseTooltip_noPadding_5usel_70", ta = "_spBaseTooltip__content_5usel_96", ut = {
|
|
267
|
+
spBaseTooltip: Jn,
|
|
268
|
+
spBaseTooltip_noPadding: ea,
|
|
269
|
+
spBaseTooltip__content: ta
|
|
270
|
+
}, xo = $e.forwardRef((e, t) => {
|
|
271
271
|
const {
|
|
272
272
|
text: o,
|
|
273
273
|
noPadding: n = !1,
|
|
@@ -275,18 +275,18 @@ const gn = "_spAccordion_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn =
|
|
|
275
275
|
classNameRoot: i,
|
|
276
276
|
classNameContentRoot: r
|
|
277
277
|
} = e, s = f({
|
|
278
|
-
[
|
|
279
|
-
[
|
|
278
|
+
[ut.spBaseTooltip]: !0,
|
|
279
|
+
[ut.spBaseTooltip_noPadding]: n,
|
|
280
280
|
...i && { [i]: !0 }
|
|
281
281
|
}), c = f({
|
|
282
|
-
[
|
|
282
|
+
[ut.spBaseTooltip__content]: !0,
|
|
283
283
|
...r && { [r]: !0 }
|
|
284
284
|
});
|
|
285
|
-
return /* @__PURE__ */
|
|
285
|
+
return /* @__PURE__ */ p("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ p("div", { className: c, children: o }) });
|
|
286
286
|
});
|
|
287
|
-
|
|
288
|
-
function
|
|
289
|
-
|
|
287
|
+
xo.displayName = "BaseTooltip";
|
|
288
|
+
function ho(e, t, o = !0) {
|
|
289
|
+
ae(() => {
|
|
290
290
|
if (!o) return;
|
|
291
291
|
const n = (a) => {
|
|
292
292
|
e.every((r) => r.current && !r.current.contains(a.target)) && t(a);
|
|
@@ -296,9 +296,9 @@ function xo(e, t, o = !0) {
|
|
|
296
296
|
};
|
|
297
297
|
}, [e, t, o]);
|
|
298
298
|
}
|
|
299
|
-
const
|
|
300
|
-
const [n, a] =
|
|
301
|
-
return
|
|
299
|
+
const bo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
300
|
+
const [n, a] = J(null);
|
|
301
|
+
return ae(() => {
|
|
302
302
|
if (t) {
|
|
303
303
|
a(t);
|
|
304
304
|
return;
|
|
@@ -307,13 +307,13 @@ const ho = ({ children: e, node: t, classNameRoot: o }) => {
|
|
|
307
307
|
return o && (i.className = o), document.body.appendChild(i), a(i), () => {
|
|
308
308
|
t || document.body.removeChild(i);
|
|
309
309
|
};
|
|
310
|
-
}, [t, o]), n ?
|
|
311
|
-
},
|
|
312
|
-
spTooltip:
|
|
313
|
-
spTooltip__trigger:
|
|
310
|
+
}, [t, o]), n ? Jo.createPortal(e, n) : null;
|
|
311
|
+
}, oa = "_spTooltip_9ogwj_43", na = "_spTooltip__trigger_9ogwj_46", Wt = {
|
|
312
|
+
spTooltip: oa,
|
|
313
|
+
spTooltip__trigger: na
|
|
314
314
|
};
|
|
315
315
|
var le = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(le || {});
|
|
316
|
-
const
|
|
316
|
+
const ot = (e) => {
|
|
317
317
|
const {
|
|
318
318
|
hover: t = !0,
|
|
319
319
|
isToggleClick: o = !1,
|
|
@@ -323,32 +323,32 @@ const et = (e) => {
|
|
|
323
323
|
triggerAction: r,
|
|
324
324
|
actionOnClose: s,
|
|
325
325
|
classNameTriggerTooltip: c,
|
|
326
|
-
position:
|
|
326
|
+
position: l = le.BottomLeft,
|
|
327
327
|
text: u,
|
|
328
328
|
noPadding: _,
|
|
329
329
|
classNameTooltip: g,
|
|
330
|
-
classNameBaseTooltipRoot:
|
|
330
|
+
classNameBaseTooltipRoot: x,
|
|
331
331
|
classNameBaseTooltipContentRoot: w,
|
|
332
332
|
styleTooltip: C
|
|
333
|
-
} = e, [
|
|
334
|
-
|
|
335
|
-
[
|
|
333
|
+
} = e, [T, O] = J(!1), U = me(null), j = me(null), [b, m] = J(!1);
|
|
334
|
+
ho(
|
|
335
|
+
[U, j],
|
|
336
336
|
() => {
|
|
337
|
-
s && s(),
|
|
337
|
+
s && s(), O(!1);
|
|
338
338
|
},
|
|
339
|
-
|
|
339
|
+
T
|
|
340
340
|
);
|
|
341
|
-
const
|
|
342
|
-
n && k.stopPropagation(), !t && (
|
|
343
|
-
}, [P,
|
|
341
|
+
const N = (k) => {
|
|
342
|
+
n && k.stopPropagation(), !t && (T ? s && s() : r && r(), O((q) => o ? !q : !0));
|
|
343
|
+
}, [P, B] = J({
|
|
344
344
|
visibility: "hidden",
|
|
345
345
|
opacity: 0,
|
|
346
346
|
left: "-9999px"
|
|
347
|
-
}), [Z,
|
|
348
|
-
if (
|
|
349
|
-
const k =
|
|
347
|
+
}), [Z, re] = J(!1), se = xe(() => {
|
|
348
|
+
if (!U.current || !j.current) return;
|
|
349
|
+
const k = U.current.getBoundingClientRect(), q = j.current.getBoundingClientRect();
|
|
350
350
|
let z = 0, d = 0;
|
|
351
|
-
switch (
|
|
351
|
+
switch (l) {
|
|
352
352
|
case le.Right:
|
|
353
353
|
z = k.top + window.scrollY - (q.height - k.height) / 2, d = k.right + window.scrollX;
|
|
354
354
|
break;
|
|
@@ -388,49 +388,49 @@ const et = (e) => {
|
|
|
388
388
|
default:
|
|
389
389
|
z = k.bottom + window.scrollY, d = k.left + window.scrollX;
|
|
390
390
|
}
|
|
391
|
-
z + q.height > window.innerHeight + window.scrollY &&
|
|
391
|
+
z + q.height > window.innerHeight + window.scrollY && l.includes("bottom") ? z = k.top + window.scrollY - q.height : z < window.scrollY && l.includes("top") && (z = k.bottom + window.scrollY), d + q.width > window.innerWidth + window.scrollX && l.includes("left") ? d = k.left + window.scrollX - q.width + k.width : d < window.scrollX && l.includes("right") && (d = k.right + window.scrollX - k.width), B((v) => ({
|
|
392
392
|
...v,
|
|
393
393
|
top: `${z}px`,
|
|
394
394
|
left: `${d}px`,
|
|
395
|
-
visibility:
|
|
396
|
-
opacity:
|
|
395
|
+
visibility: T || Z ? "visible" : "hidden",
|
|
396
|
+
opacity: T || Z ? 1 : 0
|
|
397
397
|
}));
|
|
398
|
-
}, [
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
}, [
|
|
402
|
-
if (!
|
|
403
|
-
const k = () =>
|
|
398
|
+
}, [l, T, Z]);
|
|
399
|
+
ae(() => (m(!0), () => m(!1)), []), ae(() => {
|
|
400
|
+
b && se();
|
|
401
|
+
}, [b, se]), ae(() => {
|
|
402
|
+
if (!b) return;
|
|
403
|
+
const k = () => se();
|
|
404
404
|
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
405
405
|
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
406
406
|
};
|
|
407
|
-
}, [
|
|
407
|
+
}, [b, se]);
|
|
408
408
|
const ue = f({
|
|
409
|
-
[
|
|
409
|
+
[Wt.spTooltip]: !0,
|
|
410
410
|
...g && { [g]: !0 }
|
|
411
411
|
}), ce = f({
|
|
412
|
-
...
|
|
412
|
+
...x && { [x]: !0 }
|
|
413
413
|
}), G = f({
|
|
414
414
|
...w && { [w]: !0 }
|
|
415
|
-
}),
|
|
416
|
-
[
|
|
415
|
+
}), ee = f({
|
|
416
|
+
[Wt.spTooltip__trigger]: !0,
|
|
417
417
|
...c && { [c]: !0 }
|
|
418
418
|
}), Q = document.body;
|
|
419
|
-
return /* @__PURE__ */
|
|
419
|
+
return /* @__PURE__ */ M(
|
|
420
420
|
"div",
|
|
421
421
|
{
|
|
422
422
|
className: ue,
|
|
423
|
-
onClick:
|
|
424
|
-
onMouseEnter: () => t &&
|
|
425
|
-
onMouseLeave: () => t &&
|
|
423
|
+
onClick: N,
|
|
424
|
+
onMouseEnter: () => t && re(!0),
|
|
425
|
+
onMouseLeave: () => t && re(!1),
|
|
426
426
|
style: C,
|
|
427
427
|
children: [
|
|
428
|
-
/* @__PURE__ */
|
|
429
|
-
a && /* @__PURE__ */
|
|
430
|
-
|
|
428
|
+
/* @__PURE__ */ p("div", { ref: U, className: ee, children: i }),
|
|
429
|
+
a && /* @__PURE__ */ p(bo, { node: Q, children: /* @__PURE__ */ p(
|
|
430
|
+
xo,
|
|
431
431
|
{
|
|
432
432
|
style: P,
|
|
433
|
-
ref:
|
|
433
|
+
ref: j,
|
|
434
434
|
noPadding: _,
|
|
435
435
|
text: u,
|
|
436
436
|
classNameRoot: ce,
|
|
@@ -440,20 +440,20 @@ const et = (e) => {
|
|
|
440
440
|
]
|
|
441
441
|
}
|
|
442
442
|
);
|
|
443
|
-
},
|
|
444
|
-
spCheckbox:
|
|
445
|
-
spCheckbox__control:
|
|
446
|
-
spCheckbox__label:
|
|
447
|
-
spCheckbox__box:
|
|
443
|
+
}, nt = (e) => /* @__PURE__ */ p(ot, { ...e, hover: !0, trigger: /* @__PURE__ */ p(ve, { name: ne.Info }) }), aa = "_spCheckbox_1ypiv_43", ia = "_spCheckbox__control_1ypiv_49", ra = "_spCheckbox__label_1ypiv_52", sa = "_spCheckbox__box_1ypiv_63", pa = "_spCheckbox__box_checked_1ypiv_90", la = "_spCheckbox__box_disabled_1ypiv_100", ca = "_spCheckbox__box_error_1ypiv_111", da = "_spCheckbox__tooltip_1ypiv_114", ma = "_spCheckbox__required_1ypiv_119", ua = "_spCheckbox__error_1ypiv_125", Ce = {
|
|
444
|
+
spCheckbox: aa,
|
|
445
|
+
spCheckbox__control: ia,
|
|
446
|
+
spCheckbox__label: ra,
|
|
447
|
+
spCheckbox__box: sa,
|
|
448
448
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1ypiv_68",
|
|
449
449
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1ypiv_73",
|
|
450
|
-
spCheckbox__box_checked:
|
|
451
|
-
spCheckbox__box_disabled:
|
|
452
|
-
spCheckbox__box_error:
|
|
453
|
-
spCheckbox__tooltip:
|
|
454
|
-
spCheckbox__required:
|
|
455
|
-
spCheckbox__error:
|
|
456
|
-
},
|
|
450
|
+
spCheckbox__box_checked: pa,
|
|
451
|
+
spCheckbox__box_disabled: la,
|
|
452
|
+
spCheckbox__box_error: ca,
|
|
453
|
+
spCheckbox__tooltip: da,
|
|
454
|
+
spCheckbox__required: ma,
|
|
455
|
+
spCheckbox__error: ua
|
|
456
|
+
}, Sp = (e) => {
|
|
457
457
|
const {
|
|
458
458
|
size: t = "lg",
|
|
459
459
|
checked: o,
|
|
@@ -463,54 +463,54 @@ const et = (e) => {
|
|
|
463
463
|
label: r,
|
|
464
464
|
error: s,
|
|
465
465
|
value: c,
|
|
466
|
-
required:
|
|
466
|
+
required: l,
|
|
467
467
|
tooltipPosition: u,
|
|
468
468
|
infoTooltipText: _,
|
|
469
469
|
onMouseEnter: g,
|
|
470
|
-
classNameRoot:
|
|
470
|
+
classNameRoot: x,
|
|
471
471
|
classNameError: w
|
|
472
472
|
} = e, C = f({
|
|
473
473
|
[Ce.spCheckbox]: !0,
|
|
474
|
-
...
|
|
475
|
-
}),
|
|
474
|
+
...x && { [x]: !0 }
|
|
475
|
+
}), T = f({
|
|
476
476
|
[Ce.spCheckbox__box]: !0,
|
|
477
477
|
[Ce.spCheckbox__box_checked]: o,
|
|
478
478
|
[Ce.spCheckbox__box_disabled]: n,
|
|
479
479
|
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
480
480
|
[Ce.spCheckbox__box_error]: s
|
|
481
|
-
}),
|
|
481
|
+
}), O = f({
|
|
482
482
|
[Ce.spCheckbox__control]: !0
|
|
483
|
-
}),
|
|
483
|
+
}), U = f({
|
|
484
484
|
[Ce.spCheckbox__label]: !0
|
|
485
|
-
}),
|
|
485
|
+
}), j = f({
|
|
486
486
|
[Ce.spCheckbox__required]: !0
|
|
487
|
-
}),
|
|
487
|
+
}), b = f({
|
|
488
488
|
[Ce.spCheckbox__error]: !0,
|
|
489
489
|
...w && { [w]: !0 }
|
|
490
490
|
}), m = f({
|
|
491
491
|
[Ce.spCheckbox__tooltip]: !0
|
|
492
492
|
});
|
|
493
|
-
return /* @__PURE__ */
|
|
494
|
-
/* @__PURE__ */
|
|
495
|
-
/* @__PURE__ */
|
|
493
|
+
return /* @__PURE__ */ M("div", { className: C, onMouseEnter: g, children: [
|
|
494
|
+
/* @__PURE__ */ M("label", { className: T, children: [
|
|
495
|
+
/* @__PURE__ */ p(
|
|
496
496
|
"input",
|
|
497
497
|
{
|
|
498
498
|
type: "checkbox",
|
|
499
|
-
className:
|
|
499
|
+
className: O,
|
|
500
500
|
checked: o,
|
|
501
501
|
onChange: (P) => {
|
|
502
502
|
!n && a && a(P, { name: i, checked: !o, value: c });
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
),
|
|
506
|
-
r && /* @__PURE__ */
|
|
507
|
-
|
|
508
|
-
_ && /* @__PURE__ */
|
|
506
|
+
r && /* @__PURE__ */ p("span", { className: U, children: r }),
|
|
507
|
+
l && /* @__PURE__ */ p("div", { className: j, children: "*" }),
|
|
508
|
+
_ && /* @__PURE__ */ p("div", { className: m, children: /* @__PURE__ */ p(nt, { position: u, text: _ }) })
|
|
509
509
|
] }),
|
|
510
|
-
s && /* @__PURE__ */
|
|
510
|
+
s && /* @__PURE__ */ p("div", { className: b, children: s })
|
|
511
511
|
] });
|
|
512
|
-
},
|
|
513
|
-
const { initialValue: t = null } = e, [o, n] =
|
|
512
|
+
}, Rp = (e = {}) => {
|
|
513
|
+
const { initialValue: t = null } = e, [o, n] = J(t);
|
|
514
514
|
return {
|
|
515
515
|
isOpen: !!o,
|
|
516
516
|
modalData: o,
|
|
@@ -521,32 +521,32 @@ const et = (e) => {
|
|
|
521
521
|
n(null);
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
|
-
},
|
|
525
|
-
layer:
|
|
526
|
-
layer_hidden:
|
|
527
|
-
},
|
|
524
|
+
}, _a = "_layer_14g8d_43", fa = "_layer_hidden_14g8d_65", zt = {
|
|
525
|
+
layer: _a,
|
|
526
|
+
layer_hidden: fa
|
|
527
|
+
}, yo = (e) => {
|
|
528
528
|
const {
|
|
529
529
|
children: t,
|
|
530
|
-
zIndex: o =
|
|
530
|
+
zIndex: o = 999,
|
|
531
531
|
isHiddenModal: n = !1,
|
|
532
532
|
classNameRoot: a
|
|
533
533
|
} = e, i = document.body, r = f({
|
|
534
|
-
[
|
|
535
|
-
[
|
|
534
|
+
[zt.layer]: !0,
|
|
535
|
+
[zt.layer_hidden]: n,
|
|
536
536
|
...a && { [a]: !0 }
|
|
537
537
|
});
|
|
538
|
-
return /* @__PURE__ */
|
|
539
|
-
},
|
|
540
|
-
spText:
|
|
541
|
-
spText_ellipsis:
|
|
538
|
+
return /* @__PURE__ */ p(bo, { node: i, children: /* @__PURE__ */ p("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
539
|
+
}, va = "_spText_1gech_43", ga = "_spText_ellipsis_1gech_56", xa = "_spText_cursorPointer_1gech_113", Ye = {
|
|
540
|
+
spText: va,
|
|
541
|
+
spText_ellipsis: ga,
|
|
542
542
|
"spText_type-h1": "_spText_type-h1_1gech_62",
|
|
543
543
|
"spText_type-h3": "_spText_type-h3_1gech_72",
|
|
544
544
|
"spText_type-p1": "_spText_type-p1_1gech_83",
|
|
545
545
|
"spText_type-p2": "_spText_type-p2_1gech_88",
|
|
546
546
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
547
547
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
548
|
-
spText_cursorPointer:
|
|
549
|
-
},
|
|
548
|
+
spText_cursorPointer: xa
|
|
549
|
+
}, Te = $e.forwardRef((e, t) => {
|
|
550
550
|
const {
|
|
551
551
|
type: o,
|
|
552
552
|
children: n,
|
|
@@ -555,50 +555,50 @@ const et = (e) => {
|
|
|
555
555
|
style: r,
|
|
556
556
|
onClick: s,
|
|
557
557
|
isEllipsis: c = !1,
|
|
558
|
-
isCursorPointer:
|
|
558
|
+
isCursorPointer: l = !1,
|
|
559
559
|
isCursorPointerByOnClick: u = !0,
|
|
560
560
|
classNameRoot: _
|
|
561
|
-
} = e, g = () => s && u ? !0 :
|
|
562
|
-
[
|
|
563
|
-
[
|
|
564
|
-
[
|
|
565
|
-
[
|
|
561
|
+
} = e, g = () => s && u ? !0 : l, x = f({
|
|
562
|
+
[Ye.spText]: !0,
|
|
563
|
+
[Ye.spText_ellipsis]: c,
|
|
564
|
+
[Ye.spText_cursorPointer]: g(),
|
|
565
|
+
[Ye[`spText_type-${o}`]]: o,
|
|
566
566
|
..._ && { [_]: !0 }
|
|
567
567
|
});
|
|
568
|
-
return /* @__PURE__ */
|
|
568
|
+
return /* @__PURE__ */ p(
|
|
569
569
|
"span",
|
|
570
570
|
{
|
|
571
571
|
style: { ...r, color: a },
|
|
572
572
|
title: i,
|
|
573
573
|
onClick: s,
|
|
574
|
-
className:
|
|
574
|
+
className: x,
|
|
575
575
|
ref: t,
|
|
576
576
|
children: n
|
|
577
577
|
}
|
|
578
578
|
);
|
|
579
579
|
});
|
|
580
|
-
|
|
581
|
-
const
|
|
582
|
-
modalWrapper:
|
|
580
|
+
Te.displayName = "Text";
|
|
581
|
+
const ha = "_modalWrapper_1pg9r_43", ba = "_modalWrapper__modal_1pg9r_63", ya = "_modalWrapper__content_1pg9r_106", wa = "_modalWrapper__header_1pg9r_109", Ca = "_modalWrapper__subHeader_1pg9r_117", ka = "_modalWrapper__subHeader_onlySubHeader_1pg9r_125", Ta = "_modalWrapper__footer_1pg9r_128", Na = "_modalWrapper__closeButton_1pg9r_131", ge = {
|
|
582
|
+
modalWrapper: ha,
|
|
583
583
|
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-top_1pg9r_48",
|
|
584
584
|
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-center_1pg9r_51",
|
|
585
585
|
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-left_1pg9r_54",
|
|
586
586
|
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-center_1pg9r_57",
|
|
587
587
|
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-right_1pg9r_60",
|
|
588
|
-
modalWrapper__modal:
|
|
588
|
+
modalWrapper__modal: ba,
|
|
589
589
|
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_1pg9r_95",
|
|
590
590
|
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_1pg9r_101",
|
|
591
|
-
modalWrapper__content:
|
|
592
|
-
modalWrapper__header:
|
|
593
|
-
modalWrapper__subHeader:
|
|
594
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
595
|
-
modalWrapper__footer:
|
|
596
|
-
modalWrapper__closeButton:
|
|
591
|
+
modalWrapper__content: ya,
|
|
592
|
+
modalWrapper__header: wa,
|
|
593
|
+
modalWrapper__subHeader: Ca,
|
|
594
|
+
modalWrapper__subHeader_onlySubHeader: ka,
|
|
595
|
+
modalWrapper__footer: Ta,
|
|
596
|
+
modalWrapper__closeButton: Na,
|
|
597
597
|
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1pg9r_140",
|
|
598
598
|
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1pg9r_144",
|
|
599
599
|
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-lg_1pg9r_149",
|
|
600
600
|
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-md_1pg9r_153"
|
|
601
|
-
},
|
|
601
|
+
}, Ea = (e) => {
|
|
602
602
|
const {
|
|
603
603
|
zIndex: t = 999,
|
|
604
604
|
isHiddenModal: o = !1,
|
|
@@ -608,62 +608,62 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
608
608
|
classNameRoot: r,
|
|
609
609
|
style: s,
|
|
610
610
|
modalVerticalAlign: c = "top",
|
|
611
|
-
textAlign:
|
|
611
|
+
textAlign: l = "left",
|
|
612
612
|
onClose: u,
|
|
613
613
|
header: _,
|
|
614
614
|
subHeader: g,
|
|
615
|
-
footer:
|
|
615
|
+
footer: x,
|
|
616
616
|
size: w = "lg"
|
|
617
617
|
} = e, C = f({
|
|
618
|
-
[
|
|
619
|
-
[
|
|
620
|
-
[
|
|
621
|
-
}),
|
|
622
|
-
[
|
|
623
|
-
[
|
|
618
|
+
[ge.modalWrapper]: !0,
|
|
619
|
+
[ge[`modalWrapper--modalVerticalAlign-${c}`]]: c,
|
|
620
|
+
[ge[`modalWrapper--textAlign-${l}`]]: l
|
|
621
|
+
}), T = f({
|
|
622
|
+
[ge.modalWrapper__modal]: !0,
|
|
623
|
+
[ge[`modalWrapper__modal--size-${w}`]]: w,
|
|
624
624
|
...r && { [r]: !0 }
|
|
625
|
-
}),
|
|
626
|
-
[
|
|
627
|
-
[
|
|
628
|
-
}),
|
|
629
|
-
[
|
|
630
|
-
[
|
|
631
|
-
}),
|
|
632
|
-
[
|
|
633
|
-
}),
|
|
634
|
-
[
|
|
625
|
+
}), O = f({
|
|
626
|
+
[ge.modalWrapper__closeButton]: !0,
|
|
627
|
+
[ge[`modalWrapper__closeButton--size-${w}`]]: w
|
|
628
|
+
}), U = f({
|
|
629
|
+
[ge.modalWrapper__closeButtonIconContainer]: !0,
|
|
630
|
+
[ge[`modalWrapper__closeButtonIconContainer--size-${w}`]]: w
|
|
631
|
+
}), j = f({
|
|
632
|
+
[ge.modalWrapper__content]: !0
|
|
633
|
+
}), b = f({
|
|
634
|
+
[ge.modalWrapper__header]: !0
|
|
635
635
|
}), m = f({
|
|
636
|
-
[
|
|
637
|
-
[
|
|
638
|
-
}),
|
|
639
|
-
[
|
|
636
|
+
[ge.modalWrapper__subHeader]: !0,
|
|
637
|
+
[ge.modalWrapper__subHeader_onlySubHeader]: !_
|
|
638
|
+
}), N = f({
|
|
639
|
+
[ge.modalWrapper__footer]: !0
|
|
640
640
|
});
|
|
641
|
-
return
|
|
642
|
-
const P = window.scrollY,
|
|
643
|
-
return
|
|
644
|
-
|
|
641
|
+
return ae(() => {
|
|
642
|
+
const P = window.scrollY, B = document.body;
|
|
643
|
+
return B.style.position = "fixed", B.style.top = `-${P}px`, B.style.left = "0", B.style.right = "0", B.style.overflow = "hidden", () => {
|
|
644
|
+
B.style.position = "", B.style.top = "", B.style.left = "", B.style.right = "", B.style.overflow = "", window.scrollTo(0, P);
|
|
645
645
|
};
|
|
646
|
-
}, []), /* @__PURE__ */
|
|
647
|
-
(_ || g) && /* @__PURE__ */
|
|
648
|
-
typeof _ == "string" ? /* @__PURE__ */
|
|
649
|
-
g && /* @__PURE__ */
|
|
646
|
+
}, []), /* @__PURE__ */ p(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ p("div", { className: C, children: /* @__PURE__ */ M("div", { className: T, style: s, children: [
|
|
647
|
+
(_ || g) && /* @__PURE__ */ M("div", { className: b, children: [
|
|
648
|
+
typeof _ == "string" ? /* @__PURE__ */ p(Te, { type: "h3", children: _ }) : _,
|
|
649
|
+
g && /* @__PURE__ */ p("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ p(Te, { children: g }) : g })
|
|
650
650
|
] }),
|
|
651
|
-
a && /* @__PURE__ */
|
|
652
|
-
|
|
653
|
-
n && u && /* @__PURE__ */
|
|
654
|
-
|
|
651
|
+
a && /* @__PURE__ */ p("div", { className: j, children: a }),
|
|
652
|
+
x && /* @__PURE__ */ p("div", { className: N, children: x }),
|
|
653
|
+
n && u && /* @__PURE__ */ p(
|
|
654
|
+
Qe,
|
|
655
655
|
{
|
|
656
|
-
classNameRoot:
|
|
657
|
-
classNameIconContainerRoot:
|
|
656
|
+
classNameRoot: O,
|
|
657
|
+
classNameIconContainerRoot: U,
|
|
658
658
|
onClick: u,
|
|
659
|
-
iconName:
|
|
659
|
+
iconName: ne.Close,
|
|
660
660
|
variant: "link",
|
|
661
661
|
noPadding: !0,
|
|
662
662
|
isOnlyIcon: !0
|
|
663
663
|
}
|
|
664
664
|
)
|
|
665
665
|
] }) }) });
|
|
666
|
-
},
|
|
666
|
+
}, Fp = (e) => {
|
|
667
667
|
const {
|
|
668
668
|
zIndex: t,
|
|
669
669
|
header: o,
|
|
@@ -673,39 +673,39 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
673
673
|
cancelBtnIconName: r,
|
|
674
674
|
submitBtnContent: s,
|
|
675
675
|
submitBtnIconName: c,
|
|
676
|
-
submit:
|
|
676
|
+
submit: l,
|
|
677
677
|
disabled: u,
|
|
678
678
|
formId: _,
|
|
679
679
|
onClose: g,
|
|
680
|
-
applyButtonsMobileDirection:
|
|
680
|
+
applyButtonsMobileDirection: x = "column",
|
|
681
681
|
applyButtonsAlign: w = "right",
|
|
682
682
|
modalVerticalAlign: C = "top",
|
|
683
|
-
textAlign:
|
|
684
|
-
loading:
|
|
685
|
-
isVisibleCloseButton:
|
|
686
|
-
isHiddenModal:
|
|
687
|
-
size:
|
|
683
|
+
textAlign: T = "left",
|
|
684
|
+
loading: O,
|
|
685
|
+
isVisibleCloseButton: U,
|
|
686
|
+
isHiddenModal: j,
|
|
687
|
+
size: b,
|
|
688
688
|
classNameRoot: m,
|
|
689
|
-
classNameLayerRoot:
|
|
689
|
+
classNameLayerRoot: N
|
|
690
690
|
} = e;
|
|
691
|
-
return /* @__PURE__ */
|
|
692
|
-
|
|
691
|
+
return /* @__PURE__ */ p(
|
|
692
|
+
Ea,
|
|
693
693
|
{
|
|
694
694
|
zIndex: t,
|
|
695
695
|
header: o,
|
|
696
696
|
onClose: g,
|
|
697
697
|
modalVerticalAlign: C,
|
|
698
|
-
textAlign:
|
|
698
|
+
textAlign: T,
|
|
699
699
|
subHeader: n,
|
|
700
|
-
isVisibleCloseButton:
|
|
701
|
-
isHiddenModal:
|
|
702
|
-
size:
|
|
700
|
+
isVisibleCloseButton: U,
|
|
701
|
+
isHiddenModal: j,
|
|
702
|
+
size: b,
|
|
703
703
|
classNameRoot: m,
|
|
704
|
-
classNameLayerRoot:
|
|
705
|
-
footer: a || r || s || c ? /* @__PURE__ */
|
|
706
|
-
|
|
704
|
+
classNameLayerRoot: N,
|
|
705
|
+
footer: a || r || s || c ? /* @__PURE__ */ p(
|
|
706
|
+
Qn,
|
|
707
707
|
{
|
|
708
|
-
applyButtonsMobileDirection:
|
|
708
|
+
applyButtonsMobileDirection: x,
|
|
709
709
|
applyButtonsAlign: w,
|
|
710
710
|
cancelBtnContent: a,
|
|
711
711
|
cancelBtnIconName: r,
|
|
@@ -715,35 +715,35 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
715
715
|
formId: _,
|
|
716
716
|
disabled: u,
|
|
717
717
|
onClose: g,
|
|
718
|
-
submit:
|
|
719
|
-
loading:
|
|
718
|
+
submit: l,
|
|
719
|
+
loading: O
|
|
720
720
|
}
|
|
721
721
|
) : null
|
|
722
722
|
}
|
|
723
723
|
);
|
|
724
|
-
},
|
|
725
|
-
spContextMenu:
|
|
724
|
+
}, Ia = "_spContextMenu_1cza9_43", Sa = "_spContextMenu__item_1cza9_55", Ra = "_spContextMenu__item_deleteItem_1cza9_74", _t = {
|
|
725
|
+
spContextMenu: Ia,
|
|
726
726
|
spContextMenu__item: Sa,
|
|
727
727
|
spContextMenu__item_deleteItem: Ra
|
|
728
|
-
},
|
|
728
|
+
}, jp = (e) => {
|
|
729
729
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
730
|
-
[
|
|
730
|
+
[_t.spContextMenu]: !0,
|
|
731
731
|
...n && { [n]: !0 }
|
|
732
732
|
});
|
|
733
|
-
return /* @__PURE__ */
|
|
733
|
+
return /* @__PURE__ */ p("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
734
734
|
const r = i.key === "delete";
|
|
735
|
-
return /* @__PURE__ */
|
|
735
|
+
return /* @__PURE__ */ M(
|
|
736
736
|
"li",
|
|
737
737
|
{
|
|
738
738
|
className: f({
|
|
739
|
-
[
|
|
740
|
-
[
|
|
739
|
+
[_t.spContextMenu__item]: !0,
|
|
740
|
+
[_t.spContextMenu__item_deleteItem]: r
|
|
741
741
|
}),
|
|
742
742
|
onClick: () => {
|
|
743
743
|
t && t(i);
|
|
744
744
|
},
|
|
745
745
|
children: [
|
|
746
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */
|
|
746
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ p(ve, { name: i.iconName }),
|
|
747
747
|
i.label
|
|
748
748
|
]
|
|
749
749
|
},
|
|
@@ -752,20 +752,20 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
752
752
|
}) });
|
|
753
753
|
}, Fa = (e) => {
|
|
754
754
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
755
|
-
return /* @__PURE__ */
|
|
756
|
-
/* @__PURE__ */
|
|
755
|
+
return /* @__PURE__ */ M("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
756
|
+
/* @__PURE__ */ p("input", { ...i({}), disabled: n, name: a }),
|
|
757
757
|
o
|
|
758
758
|
] });
|
|
759
|
-
}, ja = "_spDropdown_1f4lf_43",
|
|
759
|
+
}, ja = "_spDropdown_1f4lf_43", Aa = "_spDropdown__labelText_1f4lf_54", La = "_spDropdown__tooltipContainer_1f4lf_62", Da = "_spDropdown__dropdownList_1f4lf_67", Pa = "_spDropdown__dropdownListHeader_1f4lf_73", Oa = "_spDropdown__dopdownListItem_1f4lf_80", Ba = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Wa = "_spDropdown__downloadListItemDescription_1f4lf_94", Ie = {
|
|
760
760
|
spDropdown: ja,
|
|
761
|
-
spDropdown__labelText:
|
|
762
|
-
spDropdown__tooltipContainer:
|
|
763
|
-
spDropdown__dropdownList:
|
|
764
|
-
spDropdown__dropdownListHeader:
|
|
765
|
-
spDropdown__dopdownListItem:
|
|
766
|
-
spDropdown__dopdownListItem_textCenter:
|
|
767
|
-
spDropdown__downloadListItemDescription:
|
|
768
|
-
},
|
|
761
|
+
spDropdown__labelText: Aa,
|
|
762
|
+
spDropdown__tooltipContainer: La,
|
|
763
|
+
spDropdown__dropdownList: Da,
|
|
764
|
+
spDropdown__dropdownListHeader: Pa,
|
|
765
|
+
spDropdown__dopdownListItem: Oa,
|
|
766
|
+
spDropdown__dopdownListItem_textCenter: Ba,
|
|
767
|
+
spDropdown__downloadListItemDescription: Wa
|
|
768
|
+
}, Ap = (e) => {
|
|
769
769
|
const {
|
|
770
770
|
labelText: t = "Выпадающий список",
|
|
771
771
|
listName: o,
|
|
@@ -773,57 +773,57 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
773
773
|
dropdownPosition: a = le.BottomRight,
|
|
774
774
|
classNameRoot: i
|
|
775
775
|
} = e, r = f({
|
|
776
|
-
[
|
|
776
|
+
[Ie.spDropdown]: !0,
|
|
777
777
|
...i && { [i]: !0 }
|
|
778
778
|
}), s = f({
|
|
779
|
-
[
|
|
779
|
+
[Ie.spDropdown__labelText]: !0
|
|
780
780
|
}), c = f({
|
|
781
|
-
[
|
|
782
|
-
}),
|
|
783
|
-
[
|
|
781
|
+
[Ie.spDropdown__tooltipContainer]: !0
|
|
782
|
+
}), l = f({
|
|
783
|
+
[Ie.spDropdown__dropdownList]: !0
|
|
784
784
|
}), u = f({
|
|
785
|
-
[
|
|
785
|
+
[Ie.spDropdown__dropdownListHeader]: !0
|
|
786
786
|
}), _ = f({
|
|
787
|
-
[
|
|
788
|
-
}), [g,
|
|
789
|
-
return /* @__PURE__ */
|
|
790
|
-
|
|
787
|
+
[Ie.spDropdown__downloadListItemDescription]: !0
|
|
788
|
+
}), [g, x] = J(!1);
|
|
789
|
+
return /* @__PURE__ */ p(
|
|
790
|
+
ot,
|
|
791
791
|
{
|
|
792
792
|
hover: !1,
|
|
793
|
-
triggerAction: () =>
|
|
794
|
-
actionOnClose: () =>
|
|
795
|
-
text: /* @__PURE__ */
|
|
796
|
-
o && /* @__PURE__ */
|
|
797
|
-
n.map((C,
|
|
793
|
+
triggerAction: () => x(!0),
|
|
794
|
+
actionOnClose: () => x(!1),
|
|
795
|
+
text: /* @__PURE__ */ M("div", { className: l, children: [
|
|
796
|
+
o && /* @__PURE__ */ p("div", { className: u, children: o }),
|
|
797
|
+
n.map((C, T) => /* @__PURE__ */ M(
|
|
798
798
|
"div",
|
|
799
799
|
{
|
|
800
800
|
className: f({
|
|
801
|
-
[
|
|
802
|
-
[
|
|
801
|
+
[Ie.spDropdown__dopdownListItem]: !0,
|
|
802
|
+
[Ie.spDropdown__dopdownListItem_textCenter]: C.textCenter
|
|
803
803
|
}),
|
|
804
804
|
onClick: C.onClick,
|
|
805
805
|
children: [
|
|
806
806
|
C.name,
|
|
807
|
-
C.description && /* @__PURE__ */
|
|
807
|
+
C.description && /* @__PURE__ */ p("span", { className: _, children: C.description })
|
|
808
808
|
]
|
|
809
809
|
},
|
|
810
|
-
|
|
810
|
+
T
|
|
811
811
|
))
|
|
812
812
|
] }),
|
|
813
813
|
position: a,
|
|
814
814
|
noPadding: !0,
|
|
815
815
|
isToggleClick: !0,
|
|
816
816
|
isStopPropagationClickOnTrigger: !0,
|
|
817
|
-
trigger: /* @__PURE__ */
|
|
818
|
-
/* @__PURE__ */
|
|
819
|
-
/* @__PURE__ */
|
|
817
|
+
trigger: /* @__PURE__ */ M("div", { className: r, children: [
|
|
818
|
+
/* @__PURE__ */ p("div", { className: s, children: t }),
|
|
819
|
+
/* @__PURE__ */ p("div", { className: c, children: /* @__PURE__ */ p(ve, { name: ne.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
820
820
|
] })
|
|
821
821
|
}
|
|
822
822
|
);
|
|
823
|
-
},
|
|
824
|
-
ellipsisTextWithTooltip:
|
|
825
|
-
ellipsisTextWithTooltip__tooltip:
|
|
826
|
-
},
|
|
823
|
+
}, za = "_ellipsisTextWithTooltip_1nhiw_43", Ma = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", Mt = {
|
|
824
|
+
ellipsisTextWithTooltip: za,
|
|
825
|
+
ellipsisTextWithTooltip__tooltip: Ma
|
|
826
|
+
}, Ge = (e) => {
|
|
827
827
|
const {
|
|
828
828
|
text: t,
|
|
829
829
|
classNameRoot: o,
|
|
@@ -832,38 +832,38 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
832
832
|
classNameBaseTooltipContentRoot: i,
|
|
833
833
|
classNameBaseTooltipRoot: r,
|
|
834
834
|
...s
|
|
835
|
-
} = e, c = me(null), [
|
|
836
|
-
|
|
835
|
+
} = e, c = me(null), [l, u] = J(!1);
|
|
836
|
+
ae(() => {
|
|
837
837
|
c.current && u(c.current.scrollWidth > c.current.clientWidth);
|
|
838
838
|
}, [t]);
|
|
839
839
|
const _ = f({
|
|
840
|
-
[
|
|
840
|
+
[Mt.ellipsisTextWithTooltip]: !0,
|
|
841
841
|
...o && { [o]: !0 }
|
|
842
842
|
}), g = f({
|
|
843
|
-
[
|
|
843
|
+
[Mt.ellipsisTextWithTooltip__tooltip]: !0,
|
|
844
844
|
...n && { [n]: !0 }
|
|
845
|
-
}),
|
|
845
|
+
}), x = f({
|
|
846
846
|
...a && { [a]: !0 }
|
|
847
847
|
});
|
|
848
|
-
return /* @__PURE__ */
|
|
849
|
-
|
|
848
|
+
return /* @__PURE__ */ p(
|
|
849
|
+
ot,
|
|
850
850
|
{
|
|
851
851
|
classNameTooltip: g,
|
|
852
|
-
classNameTriggerTooltip:
|
|
852
|
+
classNameTriggerTooltip: x,
|
|
853
853
|
classNameBaseTooltipContentRoot: i,
|
|
854
854
|
classNameBaseTooltipRoot: r,
|
|
855
|
-
isVisibleTooltip:
|
|
855
|
+
isVisibleTooltip: l,
|
|
856
856
|
text: t,
|
|
857
|
-
trigger: /* @__PURE__ */
|
|
857
|
+
trigger: /* @__PURE__ */ p(Te, { ...s, classNameRoot: _, isEllipsis: !0, ref: c, children: t })
|
|
858
858
|
}
|
|
859
859
|
);
|
|
860
|
-
},
|
|
861
|
-
spForm:
|
|
862
|
-
spForm_fullWidth:
|
|
863
|
-
spForm_withSeparator:
|
|
860
|
+
}, Ua = "_spForm_zefbj_43", $a = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49", Me = {
|
|
861
|
+
spForm: Ua,
|
|
862
|
+
spForm_fullWidth: $a,
|
|
863
|
+
spForm_withSeparator: qa,
|
|
864
864
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
865
865
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
866
|
-
},
|
|
866
|
+
}, Lp = (e) => {
|
|
867
867
|
const {
|
|
868
868
|
size: t = "lg",
|
|
869
869
|
children: o,
|
|
@@ -873,23 +873,23 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
873
873
|
fullWidth: r = !0,
|
|
874
874
|
classNameRoot: s,
|
|
875
875
|
...c
|
|
876
|
-
} = e,
|
|
877
|
-
[
|
|
878
|
-
[
|
|
879
|
-
[
|
|
880
|
-
[
|
|
881
|
-
[
|
|
876
|
+
} = e, l = f({
|
|
877
|
+
[Me.spForm]: !0,
|
|
878
|
+
[Me.spForm_fullWidth]: r,
|
|
879
|
+
[Me.spForm_addMargin]: a,
|
|
880
|
+
[Me[`spForm_addMargin--size-${t}`]]: a && t,
|
|
881
|
+
[Me.spForm_withSeparator]: i,
|
|
882
882
|
...s && { [s]: !0 }
|
|
883
883
|
});
|
|
884
|
-
return /* @__PURE__ */
|
|
884
|
+
return /* @__PURE__ */ p("form", { ...c, onSubmit: (_) => {
|
|
885
885
|
_.preventDefault(), n && n();
|
|
886
|
-
}, className:
|
|
887
|
-
},
|
|
888
|
-
spLabel:
|
|
889
|
-
spLabel__text:
|
|
890
|
-
spLabel__tooltip:
|
|
891
|
-
spLabel__required:
|
|
892
|
-
},
|
|
886
|
+
}, className: l, children: o });
|
|
887
|
+
}, Ha = "_spLabel_g0hfy_43", Va = "_spLabel__text_g0hfy_52", Ya = "_spLabel__tooltip_g0hfy_62", Ga = "_spLabel__required_g0hfy_67", Ke = {
|
|
888
|
+
spLabel: Ha,
|
|
889
|
+
spLabel__text: Va,
|
|
890
|
+
spLabel__tooltip: Ya,
|
|
891
|
+
spLabel__required: Ga
|
|
892
|
+
}, Lt = (e) => {
|
|
893
893
|
const {
|
|
894
894
|
required: t,
|
|
895
895
|
label: o,
|
|
@@ -898,20 +898,20 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
898
898
|
classNameRoot: i,
|
|
899
899
|
classNameBaseTooltipRoot: r
|
|
900
900
|
} = e, s = f({
|
|
901
|
-
[
|
|
901
|
+
[Ke.spLabel]: !0,
|
|
902
902
|
...i && { [i]: !0 }
|
|
903
903
|
}), c = f({
|
|
904
|
-
[
|
|
905
|
-
}),
|
|
906
|
-
[
|
|
904
|
+
[Ke.spLabel__text]: !0
|
|
905
|
+
}), l = f({
|
|
906
|
+
[Ke.spLabel__required]: t
|
|
907
907
|
}), u = f({
|
|
908
|
-
[
|
|
908
|
+
[Ke.spLabel__tooltip]: !0
|
|
909
909
|
});
|
|
910
|
-
return /* @__PURE__ */
|
|
911
|
-
/* @__PURE__ */
|
|
912
|
-
t && /* @__PURE__ */
|
|
913
|
-
n && /* @__PURE__ */
|
|
914
|
-
|
|
910
|
+
return /* @__PURE__ */ M("div", { className: s, children: [
|
|
911
|
+
/* @__PURE__ */ p("label", { className: c, children: o }),
|
|
912
|
+
t && /* @__PURE__ */ p("div", { className: l, children: "*" }),
|
|
913
|
+
n && /* @__PURE__ */ p("div", { className: u, children: /* @__PURE__ */ p(
|
|
914
|
+
nt,
|
|
915
915
|
{
|
|
916
916
|
position: a,
|
|
917
917
|
text: n,
|
|
@@ -919,20 +919,20 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
919
919
|
}
|
|
920
920
|
) })
|
|
921
921
|
] });
|
|
922
|
-
},
|
|
923
|
-
spInput:
|
|
924
|
-
spInput_error:
|
|
925
|
-
spInput__control:
|
|
926
|
-
spInput_absolutePositionError:
|
|
927
|
-
spInput__container:
|
|
928
|
-
spInput__control_filled:
|
|
929
|
-
spInput__control_outlined:
|
|
930
|
-
spInput__control_disabled:
|
|
931
|
-
spInput__control_clearable:
|
|
932
|
-
spInput__clear:
|
|
933
|
-
spInput__error:
|
|
934
|
-
spInput__error_absolutePosition:
|
|
935
|
-
},
|
|
922
|
+
}, Ka = "_spInput_l89ke_43", Xa = "_spInput_error_l89ke_48", Za = "_spInput__control_l89ke_48", Qa = "_spInput_absolutePositionError_l89ke_55", Ja = "_spInput__container_l89ke_58", ei = "_spInput__control_filled_l89ke_77", ti = "_spInput__control_outlined_l89ke_81", oi = "_spInput__control_disabled_l89ke_85", ni = "_spInput__control_clearable_l89ke_89", ai = "_spInput__clear_l89ke_116", ii = "_spInput__error_l89ke_125", ri = "_spInput__error_absolutePosition_l89ke_132", ke = {
|
|
923
|
+
spInput: Ka,
|
|
924
|
+
spInput_error: Xa,
|
|
925
|
+
spInput__control: Za,
|
|
926
|
+
spInput_absolutePositionError: Qa,
|
|
927
|
+
spInput__container: Ja,
|
|
928
|
+
spInput__control_filled: ei,
|
|
929
|
+
spInput__control_outlined: ti,
|
|
930
|
+
spInput__control_disabled: oi,
|
|
931
|
+
spInput__control_clearable: ni,
|
|
932
|
+
spInput__clear: ai,
|
|
933
|
+
spInput__error: ii,
|
|
934
|
+
spInput__error_absolutePosition: ri
|
|
935
|
+
}, si = $e.forwardRef((e, t) => {
|
|
936
936
|
const {
|
|
937
937
|
value: o,
|
|
938
938
|
onChange: n,
|
|
@@ -941,160 +941,160 @@ const xa = "_modalWrapper_1pg9r_43", ha = "_modalWrapper__modal_1pg9r_63", ba =
|
|
|
941
941
|
disabled: r = !1,
|
|
942
942
|
isAbsolutePositionError: s = !1,
|
|
943
943
|
error: c,
|
|
944
|
-
required:
|
|
944
|
+
required: l,
|
|
945
945
|
name: u,
|
|
946
946
|
isClearable: _,
|
|
947
947
|
pattern: g,
|
|
948
|
-
onMouseEnter:
|
|
948
|
+
onMouseEnter: x,
|
|
949
949
|
infoTooltipText: w,
|
|
950
950
|
tooltipPosition: C,
|
|
951
|
-
isVisibleDefaultTitle:
|
|
952
|
-
placeholder:
|
|
953
|
-
classNameRoot:
|
|
954
|
-
classNameError:
|
|
955
|
-
classNameLabel:
|
|
951
|
+
isVisibleDefaultTitle: T = !0,
|
|
952
|
+
placeholder: O = "Введите...",
|
|
953
|
+
classNameRoot: U,
|
|
954
|
+
classNameError: j,
|
|
955
|
+
classNameLabel: b,
|
|
956
956
|
classNameBaseTooltipRoot: m,
|
|
957
|
-
...
|
|
957
|
+
...N
|
|
958
958
|
} = e, P = f({
|
|
959
959
|
[ke.spInput]: !0,
|
|
960
960
|
[ke.spInput_error]: !!c,
|
|
961
961
|
[ke.spInput_absolutePositionError]: s,
|
|
962
|
-
|
|
963
|
-
}),
|
|
962
|
+
...U && { [U]: !0 }
|
|
963
|
+
}), B = f({
|
|
964
964
|
[ke.spInput__container]: !0
|
|
965
965
|
}), Z = f({
|
|
966
966
|
[ke.spInput__control]: !0,
|
|
967
967
|
[ke.spInput__control_disabled]: r,
|
|
968
968
|
[ke[`spInput__control_${i}`]]: i,
|
|
969
969
|
[ke.spInput__control_clearable]: _
|
|
970
|
-
}), ie = f({
|
|
971
|
-
[ke.spInput__clear]: !0
|
|
972
970
|
}), re = f({
|
|
971
|
+
[ke.spInput__clear]: !0
|
|
972
|
+
}), se = f({
|
|
973
973
|
[ke.spInput__error]: !0,
|
|
974
974
|
[ke.spInput__error_absolutePosition]: s,
|
|
975
|
-
...
|
|
975
|
+
...j && { [j]: !0 }
|
|
976
976
|
}), ue = f({
|
|
977
|
-
...
|
|
977
|
+
...b && { [b]: !0 }
|
|
978
978
|
}), ce = (Q) => {
|
|
979
979
|
n(Q, { name: u, value: "" });
|
|
980
980
|
}, G = (Q) => {
|
|
981
981
|
const { value: k, name: q } = Q.target;
|
|
982
982
|
g && k && !new RegExp(g).test(k) || n(Q, { value: k, name: q });
|
|
983
983
|
};
|
|
984
|
-
return /* @__PURE__ */
|
|
985
|
-
a && /* @__PURE__ */
|
|
986
|
-
|
|
984
|
+
return /* @__PURE__ */ M("div", { className: P, children: [
|
|
985
|
+
a && /* @__PURE__ */ p(
|
|
986
|
+
Lt,
|
|
987
987
|
{
|
|
988
988
|
classNameRoot: ue,
|
|
989
989
|
tooltipPosition: C,
|
|
990
|
-
required:
|
|
990
|
+
required: l,
|
|
991
991
|
label: a,
|
|
992
992
|
infoTooltipText: w,
|
|
993
993
|
classNameBaseTooltipRoot: m
|
|
994
994
|
}
|
|
995
995
|
),
|
|
996
|
-
/* @__PURE__ */
|
|
997
|
-
/* @__PURE__ */
|
|
996
|
+
/* @__PURE__ */ M("div", { className: B, onMouseEnter: x, children: [
|
|
997
|
+
/* @__PURE__ */ p(
|
|
998
998
|
"input",
|
|
999
999
|
{
|
|
1000
|
-
...
|
|
1001
|
-
placeholder:
|
|
1000
|
+
...N,
|
|
1001
|
+
placeholder: O,
|
|
1002
1002
|
disabled: r,
|
|
1003
1003
|
onChange: G,
|
|
1004
|
-
title:
|
|
1004
|
+
title: T ? o : void 0,
|
|
1005
1005
|
value: o,
|
|
1006
1006
|
name: u,
|
|
1007
1007
|
className: Z,
|
|
1008
1008
|
ref: t
|
|
1009
1009
|
}
|
|
1010
1010
|
),
|
|
1011
|
-
_ && o && !r && /* @__PURE__ */
|
|
1011
|
+
_ && o && !r && /* @__PURE__ */ p(ve, { onClick: ce, className: re, name: ne.Trash })
|
|
1012
1012
|
] }),
|
|
1013
|
-
c && /* @__PURE__ */
|
|
1013
|
+
c && /* @__PURE__ */ p("div", { className: se, children: c })
|
|
1014
1014
|
] });
|
|
1015
1015
|
});
|
|
1016
|
-
|
|
1017
|
-
const
|
|
1016
|
+
si.displayName = "Input";
|
|
1017
|
+
const pi = vo({
|
|
1018
1018
|
device: {
|
|
1019
1019
|
isDesktop: !1,
|
|
1020
1020
|
isMobile: !1,
|
|
1021
1021
|
isTablet: !1
|
|
1022
1022
|
}
|
|
1023
1023
|
});
|
|
1024
|
-
function
|
|
1024
|
+
function wo(e) {
|
|
1025
1025
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1026
1026
|
}
|
|
1027
|
-
var
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
var
|
|
1031
|
-
function
|
|
1032
|
-
return
|
|
1027
|
+
var Dt = {};
|
|
1028
|
+
Dt.match = _i;
|
|
1029
|
+
Dt.parse = Co;
|
|
1030
|
+
var li = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, ci = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, di = /^(?:(min|max)-)?(.+)/, mi = /(em|rem|px|cm|mm|in|pt|pc)?$/, ui = /(dpi|dpcm|dppx)?$/;
|
|
1031
|
+
function _i(e, t) {
|
|
1032
|
+
return Co(e).some(function(o) {
|
|
1033
1033
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
1034
1034
|
if (a && n || !(a || n))
|
|
1035
1035
|
return !1;
|
|
1036
1036
|
var i = o.expressions.every(function(r) {
|
|
1037
|
-
var s = r.feature, c = r.modifier,
|
|
1037
|
+
var s = r.feature, c = r.modifier, l = r.value, u = t[s];
|
|
1038
1038
|
if (!u)
|
|
1039
1039
|
return !1;
|
|
1040
1040
|
switch (s) {
|
|
1041
1041
|
case "orientation":
|
|
1042
1042
|
case "scan":
|
|
1043
|
-
return u.toLowerCase() ===
|
|
1043
|
+
return u.toLowerCase() === l.toLowerCase();
|
|
1044
1044
|
case "width":
|
|
1045
1045
|
case "height":
|
|
1046
1046
|
case "device-width":
|
|
1047
1047
|
case "device-height":
|
|
1048
|
-
|
|
1048
|
+
l = qt(l), u = qt(u);
|
|
1049
1049
|
break;
|
|
1050
1050
|
case "resolution":
|
|
1051
|
-
|
|
1051
|
+
l = $t(l), u = $t(u);
|
|
1052
1052
|
break;
|
|
1053
1053
|
case "aspect-ratio":
|
|
1054
1054
|
case "device-aspect-ratio":
|
|
1055
1055
|
case /* Deprecated */
|
|
1056
1056
|
"device-pixel-ratio":
|
|
1057
|
-
|
|
1057
|
+
l = Ut(l), u = Ut(u);
|
|
1058
1058
|
break;
|
|
1059
1059
|
case "grid":
|
|
1060
1060
|
case "color":
|
|
1061
1061
|
case "color-index":
|
|
1062
1062
|
case "monochrome":
|
|
1063
|
-
|
|
1063
|
+
l = parseInt(l, 10) || 1, u = parseInt(u, 10) || 0;
|
|
1064
1064
|
break;
|
|
1065
1065
|
}
|
|
1066
1066
|
switch (c) {
|
|
1067
1067
|
case "min":
|
|
1068
|
-
return u >=
|
|
1068
|
+
return u >= l;
|
|
1069
1069
|
case "max":
|
|
1070
|
-
return u <=
|
|
1070
|
+
return u <= l;
|
|
1071
1071
|
default:
|
|
1072
|
-
return u ===
|
|
1072
|
+
return u === l;
|
|
1073
1073
|
}
|
|
1074
1074
|
});
|
|
1075
1075
|
return i && !n || !i && n;
|
|
1076
1076
|
});
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function Co(e) {
|
|
1079
1079
|
return e.split(",").map(function(t) {
|
|
1080
1080
|
t = t.trim();
|
|
1081
|
-
var o = t.match(
|
|
1081
|
+
var o = t.match(li), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
1082
1082
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
1083
|
-
var c = s.match(
|
|
1083
|
+
var c = s.match(ci), l = c[1].toLowerCase().match(di);
|
|
1084
1084
|
return {
|
|
1085
|
-
modifier:
|
|
1086
|
-
feature:
|
|
1085
|
+
modifier: l[1],
|
|
1086
|
+
feature: l[2],
|
|
1087
1087
|
value: c[2]
|
|
1088
1088
|
};
|
|
1089
1089
|
}), r;
|
|
1090
1090
|
});
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function Ut(e) {
|
|
1093
1093
|
var t = Number(e), o;
|
|
1094
1094
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1097
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1096
|
+
function $t(e) {
|
|
1097
|
+
var t = parseFloat(e), o = String(e).match(ui)[1];
|
|
1098
1098
|
switch (o) {
|
|
1099
1099
|
case "dpcm":
|
|
1100
1100
|
return t / 2.54;
|
|
@@ -1104,8 +1104,8 @@ function Mt(e) {
|
|
|
1104
1104
|
return t;
|
|
1105
1105
|
}
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1108
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1107
|
+
function qt(e) {
|
|
1108
|
+
var t = parseFloat(e), o = String(e).match(mi)[1];
|
|
1109
1109
|
switch (o) {
|
|
1110
1110
|
case "em":
|
|
1111
1111
|
return t * 16;
|
|
@@ -1125,39 +1125,39 @@ function Ut(e) {
|
|
|
1125
1125
|
return t;
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
|
-
var
|
|
1129
|
-
function
|
|
1128
|
+
var fi = Dt.match, Ht = typeof window < "u" ? window.matchMedia : null;
|
|
1129
|
+
function vi(e, t, o) {
|
|
1130
1130
|
var n = this, a;
|
|
1131
|
-
|
|
1132
|
-
function i(
|
|
1133
|
-
a && a.addListener(
|
|
1131
|
+
Ht && !o && (a = Ht.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = fi(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = c;
|
|
1132
|
+
function i(l) {
|
|
1133
|
+
a && a.addListener(l);
|
|
1134
1134
|
}
|
|
1135
|
-
function r(
|
|
1136
|
-
a && a.removeListener(
|
|
1135
|
+
function r(l) {
|
|
1136
|
+
a && a.removeListener(l);
|
|
1137
1137
|
}
|
|
1138
|
-
function s(
|
|
1139
|
-
n.matches =
|
|
1138
|
+
function s(l) {
|
|
1139
|
+
n.matches = l.matches, n.media = l.media;
|
|
1140
1140
|
}
|
|
1141
1141
|
function c() {
|
|
1142
1142
|
a && a.removeListener(s);
|
|
1143
1143
|
}
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return new
|
|
1145
|
+
function gi(e, t, o) {
|
|
1146
|
+
return new vi(e, t, o);
|
|
1147
1147
|
}
|
|
1148
|
-
var
|
|
1149
|
-
const
|
|
1150
|
-
var
|
|
1151
|
-
function
|
|
1148
|
+
var xi = gi;
|
|
1149
|
+
const hi = /* @__PURE__ */ wo(xi);
|
|
1150
|
+
var bi = /[A-Z]/g, yi = /^ms-/, ft = {};
|
|
1151
|
+
function wi(e) {
|
|
1152
1152
|
return "-" + e.toLowerCase();
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1155
|
-
if (
|
|
1156
|
-
return
|
|
1157
|
-
var t = e.replace(
|
|
1158
|
-
return
|
|
1154
|
+
function ko(e) {
|
|
1155
|
+
if (ft.hasOwnProperty(e))
|
|
1156
|
+
return ft[e];
|
|
1157
|
+
var t = e.replace(bi, wi);
|
|
1158
|
+
return ft[e] = yi.test(t) ? "-" + t : t;
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function Ci(e, t) {
|
|
1161
1161
|
if (e === t)
|
|
1162
1162
|
return !0;
|
|
1163
1163
|
if (!e || !t)
|
|
@@ -1172,7 +1172,7 @@ function wi(e, t) {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
return !0;
|
|
1174
1174
|
}
|
|
1175
|
-
var
|
|
1175
|
+
var Nt = { exports: {} }, Xe = { exports: {} }, K = {};
|
|
1176
1176
|
/** @license React v16.13.1
|
|
1177
1177
|
* react-is.production.min.js
|
|
1178
1178
|
*
|
|
@@ -1181,19 +1181,19 @@ var Tt = { exports: {} }, Ke = { exports: {} }, K = {};
|
|
|
1181
1181
|
* This source code is licensed under the MIT license found in the
|
|
1182
1182
|
* LICENSE file in the root directory of this source tree.
|
|
1183
1183
|
*/
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1186
|
-
if (
|
|
1187
|
-
|
|
1188
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111,
|
|
1189
|
-
function
|
|
1184
|
+
var Vt;
|
|
1185
|
+
function ki() {
|
|
1186
|
+
if (Vt) return K;
|
|
1187
|
+
Vt = 1;
|
|
1188
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, _ = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1189
|
+
function j(m) {
|
|
1190
1190
|
if (typeof m == "object" && m !== null) {
|
|
1191
|
-
var
|
|
1192
|
-
switch (
|
|
1191
|
+
var N = m.$$typeof;
|
|
1192
|
+
switch (N) {
|
|
1193
1193
|
case t:
|
|
1194
1194
|
switch (m = m.type, m) {
|
|
1195
1195
|
case c:
|
|
1196
|
-
case
|
|
1196
|
+
case l:
|
|
1197
1197
|
case n:
|
|
1198
1198
|
case i:
|
|
1199
1199
|
case a:
|
|
@@ -1204,48 +1204,48 @@ function Ci() {
|
|
|
1204
1204
|
case s:
|
|
1205
1205
|
case u:
|
|
1206
1206
|
case w:
|
|
1207
|
-
case
|
|
1207
|
+
case x:
|
|
1208
1208
|
case r:
|
|
1209
1209
|
return m;
|
|
1210
1210
|
default:
|
|
1211
|
-
return
|
|
1211
|
+
return N;
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
case o:
|
|
1215
|
-
return
|
|
1215
|
+
return N;
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return
|
|
1219
|
+
function b(m) {
|
|
1220
|
+
return j(m) === l;
|
|
1221
1221
|
}
|
|
1222
|
-
return K.AsyncMode = c, K.ConcurrentMode =
|
|
1223
|
-
return
|
|
1224
|
-
}, K.isConcurrentMode =
|
|
1225
|
-
return
|
|
1222
|
+
return K.AsyncMode = c, K.ConcurrentMode = l, K.ContextConsumer = s, K.ContextProvider = r, K.Element = t, K.ForwardRef = u, K.Fragment = n, K.Lazy = w, K.Memo = x, K.Portal = o, K.Profiler = i, K.StrictMode = a, K.Suspense = _, K.isAsyncMode = function(m) {
|
|
1223
|
+
return b(m) || j(m) === c;
|
|
1224
|
+
}, K.isConcurrentMode = b, K.isContextConsumer = function(m) {
|
|
1225
|
+
return j(m) === s;
|
|
1226
1226
|
}, K.isContextProvider = function(m) {
|
|
1227
|
-
return
|
|
1227
|
+
return j(m) === r;
|
|
1228
1228
|
}, K.isElement = function(m) {
|
|
1229
1229
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
1230
1230
|
}, K.isForwardRef = function(m) {
|
|
1231
|
-
return
|
|
1231
|
+
return j(m) === u;
|
|
1232
1232
|
}, K.isFragment = function(m) {
|
|
1233
|
-
return
|
|
1233
|
+
return j(m) === n;
|
|
1234
1234
|
}, K.isLazy = function(m) {
|
|
1235
|
-
return
|
|
1235
|
+
return j(m) === w;
|
|
1236
1236
|
}, K.isMemo = function(m) {
|
|
1237
|
-
return
|
|
1237
|
+
return j(m) === x;
|
|
1238
1238
|
}, K.isPortal = function(m) {
|
|
1239
|
-
return
|
|
1239
|
+
return j(m) === o;
|
|
1240
1240
|
}, K.isProfiler = function(m) {
|
|
1241
|
-
return
|
|
1241
|
+
return j(m) === i;
|
|
1242
1242
|
}, K.isStrictMode = function(m) {
|
|
1243
|
-
return
|
|
1243
|
+
return j(m) === a;
|
|
1244
1244
|
}, K.isSuspense = function(m) {
|
|
1245
|
-
return
|
|
1245
|
+
return j(m) === _;
|
|
1246
1246
|
}, K.isValidElementType = function(m) {
|
|
1247
|
-
return typeof m == "string" || typeof m == "function" || m === n || m ===
|
|
1248
|
-
}, K.typeOf =
|
|
1247
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === _ || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === x || m.$$typeof === r || m.$$typeof === s || m.$$typeof === u || m.$$typeof === T || m.$$typeof === O || m.$$typeof === U || m.$$typeof === C);
|
|
1248
|
+
}, K.typeOf = j, K;
|
|
1249
1249
|
}
|
|
1250
1250
|
var X = {};
|
|
1251
1251
|
/** @license React v16.13.1
|
|
@@ -1256,37 +1256,37 @@ var X = {};
|
|
|
1256
1256
|
* This source code is licensed under the MIT license found in the
|
|
1257
1257
|
* LICENSE file in the root directory of this source tree.
|
|
1258
1258
|
*/
|
|
1259
|
-
var
|
|
1260
|
-
function
|
|
1261
|
-
return
|
|
1262
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111,
|
|
1263
|
-
function
|
|
1264
|
-
return typeof
|
|
1265
|
-
|
|
1259
|
+
var Yt;
|
|
1260
|
+
function Ti() {
|
|
1261
|
+
return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1262
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, _ = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1263
|
+
function j(h) {
|
|
1264
|
+
return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1265
|
+
h === n || h === l || h === i || h === a || h === _ || h === g || typeof h == "object" && h !== null && (h.$$typeof === w || h.$$typeof === x || h.$$typeof === r || h.$$typeof === s || h.$$typeof === u || h.$$typeof === T || h.$$typeof === O || h.$$typeof === U || h.$$typeof === C);
|
|
1266
1266
|
}
|
|
1267
|
-
function h
|
|
1268
|
-
if (typeof
|
|
1269
|
-
var he =
|
|
1267
|
+
function b(h) {
|
|
1268
|
+
if (typeof h == "object" && h !== null) {
|
|
1269
|
+
var he = h.$$typeof;
|
|
1270
1270
|
switch (he) {
|
|
1271
1271
|
case t:
|
|
1272
|
-
var Se =
|
|
1272
|
+
var Se = h.type;
|
|
1273
1273
|
switch (Se) {
|
|
1274
1274
|
case c:
|
|
1275
|
-
case
|
|
1275
|
+
case l:
|
|
1276
1276
|
case n:
|
|
1277
1277
|
case i:
|
|
1278
1278
|
case a:
|
|
1279
1279
|
case _:
|
|
1280
1280
|
return Se;
|
|
1281
1281
|
default:
|
|
1282
|
-
var
|
|
1283
|
-
switch (
|
|
1282
|
+
var Be = Se && Se.$$typeof;
|
|
1283
|
+
switch (Be) {
|
|
1284
1284
|
case s:
|
|
1285
1285
|
case u:
|
|
1286
1286
|
case w:
|
|
1287
|
-
case
|
|
1287
|
+
case x:
|
|
1288
1288
|
case r:
|
|
1289
|
-
return
|
|
1289
|
+
return Be;
|
|
1290
1290
|
default:
|
|
1291
1291
|
return he;
|
|
1292
1292
|
}
|
|
@@ -1296,62 +1296,62 @@ function ki() {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
|
-
var m = c,
|
|
1300
|
-
function z(
|
|
1301
|
-
return q || (q = !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.")), d(
|
|
1299
|
+
var m = c, N = l, P = s, B = r, Z = t, re = u, se = n, ue = w, ce = x, G = o, ee = i, Q = a, k = _, q = !1;
|
|
1300
|
+
function z(h) {
|
|
1301
|
+
return q || (q = !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.")), d(h) || b(h) === c;
|
|
1302
1302
|
}
|
|
1303
|
-
function d(
|
|
1304
|
-
return h
|
|
1303
|
+
function d(h) {
|
|
1304
|
+
return b(h) === l;
|
|
1305
1305
|
}
|
|
1306
|
-
function v(
|
|
1307
|
-
return h
|
|
1306
|
+
function v(h) {
|
|
1307
|
+
return b(h) === s;
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1310
|
-
return h
|
|
1309
|
+
function E(h) {
|
|
1310
|
+
return b(h) === r;
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1313
|
-
return typeof
|
|
1312
|
+
function A(h) {
|
|
1313
|
+
return typeof h == "object" && h !== null && h.$$typeof === t;
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return h
|
|
1315
|
+
function I(h) {
|
|
1316
|
+
return b(h) === u;
|
|
1317
1317
|
}
|
|
1318
|
-
function D(
|
|
1319
|
-
return h
|
|
1318
|
+
function D(h) {
|
|
1319
|
+
return b(h) === n;
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1322
|
-
return h
|
|
1321
|
+
function F(h) {
|
|
1322
|
+
return b(h) === w;
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return h
|
|
1324
|
+
function W(h) {
|
|
1325
|
+
return b(h) === x;
|
|
1326
1326
|
}
|
|
1327
|
-
function H(
|
|
1328
|
-
return h
|
|
1327
|
+
function H(h) {
|
|
1328
|
+
return b(h) === o;
|
|
1329
1329
|
}
|
|
1330
|
-
function Y(
|
|
1331
|
-
return h
|
|
1330
|
+
function Y(h) {
|
|
1331
|
+
return b(h) === i;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1334
|
-
return h
|
|
1333
|
+
function $(h) {
|
|
1334
|
+
return b(h) === a;
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return h
|
|
1336
|
+
function ie(h) {
|
|
1337
|
+
return b(h) === _;
|
|
1338
1338
|
}
|
|
1339
|
-
X.AsyncMode = m, X.ConcurrentMode =
|
|
1339
|
+
X.AsyncMode = m, X.ConcurrentMode = N, X.ContextConsumer = P, X.ContextProvider = B, X.Element = Z, X.ForwardRef = re, X.Fragment = se, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = ee, X.StrictMode = Q, X.Suspense = k, X.isAsyncMode = z, X.isConcurrentMode = d, X.isContextConsumer = v, X.isContextProvider = E, X.isElement = A, X.isForwardRef = I, X.isFragment = D, X.isLazy = F, X.isMemo = W, X.isPortal = H, X.isProfiler = Y, X.isStrictMode = $, X.isSuspense = ie, X.isValidElementType = j, X.typeOf = b;
|
|
1340
1340
|
}()), X;
|
|
1341
1341
|
}
|
|
1342
|
-
var
|
|
1343
|
-
function
|
|
1344
|
-
return
|
|
1342
|
+
var Gt;
|
|
1343
|
+
function To() {
|
|
1344
|
+
return Gt || (Gt = 1, process.env.NODE_ENV === "production" ? Xe.exports = ki() : Xe.exports = Ti()), Xe.exports;
|
|
1345
1345
|
}
|
|
1346
1346
|
/*
|
|
1347
1347
|
object-assign
|
|
1348
1348
|
(c) Sindre Sorhus
|
|
1349
1349
|
@license MIT
|
|
1350
1350
|
*/
|
|
1351
|
-
var
|
|
1352
|
-
function
|
|
1353
|
-
if (
|
|
1354
|
-
|
|
1351
|
+
var vt, Kt;
|
|
1352
|
+
function Ni() {
|
|
1353
|
+
if (Kt) return vt;
|
|
1354
|
+
Kt = 1;
|
|
1355
1355
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
1356
1356
|
function n(i) {
|
|
1357
1357
|
if (i == null)
|
|
@@ -1372,47 +1372,47 @@ function Ti() {
|
|
|
1372
1372
|
});
|
|
1373
1373
|
if (c.join("") !== "0123456789")
|
|
1374
1374
|
return !1;
|
|
1375
|
-
var
|
|
1375
|
+
var l = {};
|
|
1376
1376
|
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
1377
|
-
|
|
1378
|
-
}), Object.keys(Object.assign({},
|
|
1377
|
+
l[u] = u;
|
|
1378
|
+
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
1379
1379
|
} catch {
|
|
1380
1380
|
return !1;
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
|
-
return
|
|
1384
|
-
for (var s, c = n(i),
|
|
1383
|
+
return vt = a() ? Object.assign : function(i, r) {
|
|
1384
|
+
for (var s, c = n(i), l, u = 1; u < arguments.length; u++) {
|
|
1385
1385
|
s = Object(arguments[u]);
|
|
1386
1386
|
for (var _ in s)
|
|
1387
1387
|
t.call(s, _) && (c[_] = s[_]);
|
|
1388
1388
|
if (e) {
|
|
1389
|
-
|
|
1390
|
-
for (var g = 0; g <
|
|
1391
|
-
o.call(s,
|
|
1389
|
+
l = e(s);
|
|
1390
|
+
for (var g = 0; g < l.length; g++)
|
|
1391
|
+
o.call(s, l[g]) && (c[l[g]] = s[l[g]]);
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
return c;
|
|
1395
|
-
},
|
|
1396
|
-
}
|
|
1397
|
-
var ft, Gt;
|
|
1398
|
-
function Lt() {
|
|
1399
|
-
if (Gt) return ft;
|
|
1400
|
-
Gt = 1;
|
|
1401
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1402
|
-
return ft = e, ft;
|
|
1403
|
-
}
|
|
1404
|
-
var vt, Kt;
|
|
1405
|
-
function ko() {
|
|
1406
|
-
return Kt || (Kt = 1, vt = Function.call.bind(Object.prototype.hasOwnProperty)), vt;
|
|
1395
|
+
}, vt;
|
|
1407
1396
|
}
|
|
1408
1397
|
var gt, Xt;
|
|
1409
|
-
function
|
|
1398
|
+
function Pt() {
|
|
1410
1399
|
if (Xt) return gt;
|
|
1411
1400
|
Xt = 1;
|
|
1401
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1402
|
+
return gt = e, gt;
|
|
1403
|
+
}
|
|
1404
|
+
var xt, Zt;
|
|
1405
|
+
function No() {
|
|
1406
|
+
return Zt || (Zt = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
|
|
1407
|
+
}
|
|
1408
|
+
var ht, Qt;
|
|
1409
|
+
function Ei() {
|
|
1410
|
+
if (Qt) return ht;
|
|
1411
|
+
Qt = 1;
|
|
1412
1412
|
var e = function() {
|
|
1413
1413
|
};
|
|
1414
1414
|
if (process.env.NODE_ENV !== "production") {
|
|
1415
|
-
var t =
|
|
1415
|
+
var t = Pt(), o = {}, n = No();
|
|
1416
1416
|
e = function(i) {
|
|
1417
1417
|
var r = "Warning: " + i;
|
|
1418
1418
|
typeof console < "u" && console.error(r);
|
|
@@ -1422,7 +1422,7 @@ function Ni() {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
};
|
|
1424
1424
|
}
|
|
1425
|
-
function a(i, r, s, c,
|
|
1425
|
+
function a(i, r, s, c, l) {
|
|
1426
1426
|
if (process.env.NODE_ENV !== "production") {
|
|
1427
1427
|
for (var u in i)
|
|
1428
1428
|
if (n(i, u)) {
|
|
@@ -1442,9 +1442,9 @@ function Ni() {
|
|
|
1442
1442
|
(c || "React class") + ": type specification of " + s + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof _ + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1443
1443
|
), _ instanceof Error && !(_.message in o)) {
|
|
1444
1444
|
o[_.message] = !0;
|
|
1445
|
-
var
|
|
1445
|
+
var x = l ? l() : "";
|
|
1446
1446
|
e(
|
|
1447
|
-
"Failed " + s + " type: " + _.message + (
|
|
1447
|
+
"Failed " + s + " type: " + _.message + (x ?? "")
|
|
1448
1448
|
);
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
@@ -1452,13 +1452,13 @@ function Ni() {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
return a.resetWarningCache = function() {
|
|
1454
1454
|
process.env.NODE_ENV !== "production" && (o = {});
|
|
1455
|
-
},
|
|
1455
|
+
}, ht = a, ht;
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1458
|
-
function
|
|
1459
|
-
if (
|
|
1460
|
-
|
|
1461
|
-
var e =
|
|
1457
|
+
var bt, Jt;
|
|
1458
|
+
function Ii() {
|
|
1459
|
+
if (Jt) return bt;
|
|
1460
|
+
Jt = 1;
|
|
1461
|
+
var e = To(), t = Ni(), o = Pt(), n = No(), a = Ei(), i = function() {
|
|
1462
1462
|
};
|
|
1463
1463
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1464
1464
|
var c = "Warning: " + s;
|
|
@@ -1471,29 +1471,29 @@ function Ei() {
|
|
|
1471
1471
|
function r() {
|
|
1472
1472
|
return null;
|
|
1473
1473
|
}
|
|
1474
|
-
return
|
|
1475
|
-
var
|
|
1474
|
+
return bt = function(s, c) {
|
|
1475
|
+
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
1476
1476
|
function _(d) {
|
|
1477
|
-
var v = d && (
|
|
1477
|
+
var v = d && (l && d[l] || d[u]);
|
|
1478
1478
|
if (typeof v == "function")
|
|
1479
1479
|
return v;
|
|
1480
1480
|
}
|
|
1481
|
-
var g = "<<anonymous>>",
|
|
1482
|
-
array:
|
|
1483
|
-
bigint:
|
|
1484
|
-
bool:
|
|
1485
|
-
func:
|
|
1486
|
-
number:
|
|
1487
|
-
object:
|
|
1488
|
-
string:
|
|
1489
|
-
symbol:
|
|
1490
|
-
any:
|
|
1491
|
-
arrayOf:
|
|
1492
|
-
element:
|
|
1481
|
+
var g = "<<anonymous>>", x = {
|
|
1482
|
+
array: O("array"),
|
|
1483
|
+
bigint: O("bigint"),
|
|
1484
|
+
bool: O("boolean"),
|
|
1485
|
+
func: O("function"),
|
|
1486
|
+
number: O("number"),
|
|
1487
|
+
object: O("object"),
|
|
1488
|
+
string: O("string"),
|
|
1489
|
+
symbol: O("symbol"),
|
|
1490
|
+
any: U(),
|
|
1491
|
+
arrayOf: j,
|
|
1492
|
+
element: b(),
|
|
1493
1493
|
elementType: m(),
|
|
1494
|
-
instanceOf:
|
|
1495
|
-
node:
|
|
1496
|
-
objectOf:
|
|
1494
|
+
instanceOf: N,
|
|
1495
|
+
node: re(),
|
|
1496
|
+
objectOf: B,
|
|
1497
1497
|
oneOf: P,
|
|
1498
1498
|
oneOfType: Z,
|
|
1499
1499
|
shape: ue,
|
|
@@ -1506,202 +1506,202 @@ function Ei() {
|
|
|
1506
1506
|
this.message = d, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1507
1507
|
}
|
|
1508
1508
|
C.prototype = Error.prototype;
|
|
1509
|
-
function
|
|
1509
|
+
function T(d) {
|
|
1510
1510
|
if (process.env.NODE_ENV !== "production")
|
|
1511
|
-
var v = {},
|
|
1512
|
-
function
|
|
1513
|
-
if (H = H || g,
|
|
1511
|
+
var v = {}, E = 0;
|
|
1512
|
+
function A(D, F, W, H, Y, $, ie) {
|
|
1513
|
+
if (H = H || g, $ = $ || W, ie !== o) {
|
|
1514
1514
|
if (c) {
|
|
1515
|
-
var
|
|
1515
|
+
var h = new Error(
|
|
1516
1516
|
"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"
|
|
1517
1517
|
);
|
|
1518
|
-
throw
|
|
1518
|
+
throw h.name = "Invariant Violation", h;
|
|
1519
1519
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1520
|
-
var he = H + ":" +
|
|
1520
|
+
var he = H + ":" + W;
|
|
1521
1521
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1522
|
-
|
|
1523
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1524
|
-
), v[he] = !0,
|
|
1522
|
+
E < 3 && (i(
|
|
1523
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1524
|
+
), v[he] = !0, E++);
|
|
1525
1525
|
}
|
|
1526
1526
|
}
|
|
1527
|
-
return
|
|
1527
|
+
return F[W] == null ? D ? F[W] === null ? new C("The " + Y + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new C("The " + Y + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : d(F, W, H, Y, $);
|
|
1528
1528
|
}
|
|
1529
|
-
var
|
|
1530
|
-
return
|
|
1529
|
+
var I = A.bind(null, !1);
|
|
1530
|
+
return I.isRequired = A.bind(null, !0), I;
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1533
|
-
function v(
|
|
1534
|
-
var H =
|
|
1532
|
+
function O(d) {
|
|
1533
|
+
function v(E, A, I, D, F, W) {
|
|
1534
|
+
var H = E[A], Y = Q(H);
|
|
1535
1535
|
if (Y !== d) {
|
|
1536
|
-
var
|
|
1536
|
+
var $ = k(H);
|
|
1537
1537
|
return new C(
|
|
1538
|
-
"Invalid " + D + " `" +
|
|
1538
|
+
"Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + I + "`, expected ") + ("`" + d + "`."),
|
|
1539
1539
|
{ expectedType: d }
|
|
1540
1540
|
);
|
|
1541
1541
|
}
|
|
1542
1542
|
return null;
|
|
1543
1543
|
}
|
|
1544
|
-
return
|
|
1544
|
+
return T(v);
|
|
1545
1545
|
}
|
|
1546
|
-
function
|
|
1547
|
-
return
|
|
1546
|
+
function U() {
|
|
1547
|
+
return T(r);
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1550
|
-
function v(
|
|
1549
|
+
function j(d) {
|
|
1550
|
+
function v(E, A, I, D, F) {
|
|
1551
1551
|
if (typeof d != "function")
|
|
1552
|
-
return new C("Property `" +
|
|
1553
|
-
var
|
|
1554
|
-
if (!Array.isArray(
|
|
1555
|
-
var H = Q(
|
|
1556
|
-
return new C("Invalid " + D + " `" +
|
|
1552
|
+
return new C("Property `" + F + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1553
|
+
var W = E[A];
|
|
1554
|
+
if (!Array.isArray(W)) {
|
|
1555
|
+
var H = Q(W);
|
|
1556
|
+
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an array."));
|
|
1557
1557
|
}
|
|
1558
|
-
for (var Y = 0; Y <
|
|
1559
|
-
var
|
|
1560
|
-
if (
|
|
1561
|
-
return
|
|
1558
|
+
for (var Y = 0; Y < W.length; Y++) {
|
|
1559
|
+
var $ = d(W, Y, I, D, F + "[" + Y + "]", o);
|
|
1560
|
+
if ($ instanceof Error)
|
|
1561
|
+
return $;
|
|
1562
1562
|
}
|
|
1563
1563
|
return null;
|
|
1564
1564
|
}
|
|
1565
|
-
return
|
|
1565
|
+
return T(v);
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1568
|
-
function d(v,
|
|
1569
|
-
var
|
|
1570
|
-
if (!s(
|
|
1571
|
-
var
|
|
1572
|
-
return new C("Invalid " +
|
|
1567
|
+
function b() {
|
|
1568
|
+
function d(v, E, A, I, D) {
|
|
1569
|
+
var F = v[E];
|
|
1570
|
+
if (!s(F)) {
|
|
1571
|
+
var W = Q(F);
|
|
1572
|
+
return new C("Invalid " + I + " `" + D + "` of type " + ("`" + W + "` supplied to `" + A + "`, expected a single ReactElement."));
|
|
1573
1573
|
}
|
|
1574
1574
|
return null;
|
|
1575
1575
|
}
|
|
1576
|
-
return
|
|
1576
|
+
return T(d);
|
|
1577
1577
|
}
|
|
1578
1578
|
function m() {
|
|
1579
|
-
function d(v,
|
|
1580
|
-
var
|
|
1581
|
-
if (!e.isValidElementType(
|
|
1582
|
-
var
|
|
1583
|
-
return new C("Invalid " +
|
|
1579
|
+
function d(v, E, A, I, D) {
|
|
1580
|
+
var F = v[E];
|
|
1581
|
+
if (!e.isValidElementType(F)) {
|
|
1582
|
+
var W = Q(F);
|
|
1583
|
+
return new C("Invalid " + I + " `" + D + "` of type " + ("`" + W + "` supplied to `" + A + "`, expected a single ReactElement type."));
|
|
1584
1584
|
}
|
|
1585
1585
|
return null;
|
|
1586
1586
|
}
|
|
1587
|
-
return
|
|
1587
|
+
return T(d);
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1590
|
-
function v(
|
|
1591
|
-
if (!(
|
|
1592
|
-
var
|
|
1593
|
-
return new C("Invalid " + D + " `" +
|
|
1589
|
+
function N(d) {
|
|
1590
|
+
function v(E, A, I, D, F) {
|
|
1591
|
+
if (!(E[A] instanceof d)) {
|
|
1592
|
+
var W = d.name || g, H = z(E[A]);
|
|
1593
|
+
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected ") + ("instance of `" + W + "`."));
|
|
1594
1594
|
}
|
|
1595
1595
|
return null;
|
|
1596
1596
|
}
|
|
1597
|
-
return
|
|
1597
|
+
return T(v);
|
|
1598
1598
|
}
|
|
1599
1599
|
function P(d) {
|
|
1600
1600
|
if (!Array.isArray(d))
|
|
1601
1601
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1602
1602
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1603
1603
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1604
|
-
function v(
|
|
1605
|
-
for (var
|
|
1606
|
-
if (w(
|
|
1604
|
+
function v(E, A, I, D, F) {
|
|
1605
|
+
for (var W = E[A], H = 0; H < d.length; H++)
|
|
1606
|
+
if (w(W, d[H]))
|
|
1607
1607
|
return null;
|
|
1608
|
-
var Y = JSON.stringify(d, function(
|
|
1609
|
-
var he = k(
|
|
1610
|
-
return he === "symbol" ? String(
|
|
1608
|
+
var Y = JSON.stringify(d, function(ie, h) {
|
|
1609
|
+
var he = k(h);
|
|
1610
|
+
return he === "symbol" ? String(h) : h;
|
|
1611
1611
|
});
|
|
1612
|
-
return new C("Invalid " + D + " `" +
|
|
1612
|
+
return new C("Invalid " + D + " `" + F + "` of value `" + String(W) + "` " + ("supplied to `" + I + "`, expected one of " + Y + "."));
|
|
1613
1613
|
}
|
|
1614
|
-
return
|
|
1614
|
+
return T(v);
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1617
|
-
function v(
|
|
1616
|
+
function B(d) {
|
|
1617
|
+
function v(E, A, I, D, F) {
|
|
1618
1618
|
if (typeof d != "function")
|
|
1619
|
-
return new C("Property `" +
|
|
1620
|
-
var
|
|
1619
|
+
return new C("Property `" + F + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1620
|
+
var W = E[A], H = Q(W);
|
|
1621
1621
|
if (H !== "object")
|
|
1622
|
-
return new C("Invalid " + D + " `" +
|
|
1623
|
-
for (var Y in
|
|
1624
|
-
if (n(
|
|
1625
|
-
var
|
|
1626
|
-
if (
|
|
1627
|
-
return
|
|
1622
|
+
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an object."));
|
|
1623
|
+
for (var Y in W)
|
|
1624
|
+
if (n(W, Y)) {
|
|
1625
|
+
var $ = d(W, Y, I, D, F + "." + Y, o);
|
|
1626
|
+
if ($ instanceof Error)
|
|
1627
|
+
return $;
|
|
1628
1628
|
}
|
|
1629
1629
|
return null;
|
|
1630
1630
|
}
|
|
1631
|
-
return
|
|
1631
|
+
return T(v);
|
|
1632
1632
|
}
|
|
1633
1633
|
function Z(d) {
|
|
1634
1634
|
if (!Array.isArray(d))
|
|
1635
1635
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1636
1636
|
for (var v = 0; v < d.length; v++) {
|
|
1637
|
-
var
|
|
1638
|
-
if (typeof
|
|
1637
|
+
var E = d[v];
|
|
1638
|
+
if (typeof E != "function")
|
|
1639
1639
|
return i(
|
|
1640
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + q(
|
|
1640
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + q(E) + " at index " + v + "."
|
|
1641
1641
|
), r;
|
|
1642
1642
|
}
|
|
1643
|
-
function I
|
|
1644
|
-
for (var Y = [],
|
|
1645
|
-
var
|
|
1646
|
-
if (
|
|
1643
|
+
function A(I, D, F, W, H) {
|
|
1644
|
+
for (var Y = [], $ = 0; $ < d.length; $++) {
|
|
1645
|
+
var ie = d[$], h = ie(I, D, F, W, H, o);
|
|
1646
|
+
if (h == null)
|
|
1647
1647
|
return null;
|
|
1648
|
-
|
|
1648
|
+
h.data && n(h.data, "expectedType") && Y.push(h.data.expectedType);
|
|
1649
1649
|
}
|
|
1650
1650
|
var he = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1651
|
-
return new C("Invalid " +
|
|
1651
|
+
return new C("Invalid " + W + " `" + H + "` supplied to " + ("`" + F + "`" + he + "."));
|
|
1652
1652
|
}
|
|
1653
|
-
return
|
|
1653
|
+
return T(A);
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1656
|
-
function d(v,
|
|
1657
|
-
return G(v[
|
|
1655
|
+
function re() {
|
|
1656
|
+
function d(v, E, A, I, D) {
|
|
1657
|
+
return G(v[E]) ? null : new C("Invalid " + I + " `" + D + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
|
|
1658
1658
|
}
|
|
1659
|
-
return
|
|
1659
|
+
return T(d);
|
|
1660
1660
|
}
|
|
1661
|
-
function
|
|
1661
|
+
function se(d, v, E, A, I) {
|
|
1662
1662
|
return new C(
|
|
1663
|
-
(d || "React class") + ": " + v + " type `" +
|
|
1663
|
+
(d || "React class") + ": " + v + " type `" + E + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1664
1664
|
);
|
|
1665
1665
|
}
|
|
1666
1666
|
function ue(d) {
|
|
1667
|
-
function v(
|
|
1668
|
-
var
|
|
1667
|
+
function v(E, A, I, D, F) {
|
|
1668
|
+
var W = E[A], H = Q(W);
|
|
1669
1669
|
if (H !== "object")
|
|
1670
|
-
return new C("Invalid " + D + " `" +
|
|
1670
|
+
return new C("Invalid " + D + " `" + F + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1671
1671
|
for (var Y in d) {
|
|
1672
|
-
var
|
|
1673
|
-
if (typeof
|
|
1674
|
-
return
|
|
1675
|
-
var
|
|
1676
|
-
if (
|
|
1677
|
-
return
|
|
1672
|
+
var $ = d[Y];
|
|
1673
|
+
if (typeof $ != "function")
|
|
1674
|
+
return se(I, D, F, Y, k($));
|
|
1675
|
+
var ie = $(W, Y, I, D, F + "." + Y, o);
|
|
1676
|
+
if (ie)
|
|
1677
|
+
return ie;
|
|
1678
1678
|
}
|
|
1679
1679
|
return null;
|
|
1680
1680
|
}
|
|
1681
|
-
return
|
|
1681
|
+
return T(v);
|
|
1682
1682
|
}
|
|
1683
1683
|
function ce(d) {
|
|
1684
|
-
function v(
|
|
1685
|
-
var
|
|
1684
|
+
function v(E, A, I, D, F) {
|
|
1685
|
+
var W = E[A], H = Q(W);
|
|
1686
1686
|
if (H !== "object")
|
|
1687
|
-
return new C("Invalid " + D + " `" +
|
|
1688
|
-
var Y = t({},
|
|
1689
|
-
for (var
|
|
1690
|
-
var
|
|
1691
|
-
if (n(d,
|
|
1692
|
-
return
|
|
1693
|
-
if (!
|
|
1687
|
+
return new C("Invalid " + D + " `" + F + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1688
|
+
var Y = t({}, E[A], d);
|
|
1689
|
+
for (var $ in Y) {
|
|
1690
|
+
var ie = d[$];
|
|
1691
|
+
if (n(d, $) && typeof ie != "function")
|
|
1692
|
+
return se(I, D, F, $, k(ie));
|
|
1693
|
+
if (!ie)
|
|
1694
1694
|
return new C(
|
|
1695
|
-
"Invalid " + D + " `" +
|
|
1695
|
+
"Invalid " + D + " `" + F + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(E[A], null, " ") + `
|
|
1696
1696
|
Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
1697
1697
|
);
|
|
1698
|
-
var
|
|
1699
|
-
if (
|
|
1700
|
-
return
|
|
1698
|
+
var h = ie(W, $, I, D, F + "." + $, o);
|
|
1699
|
+
if (h)
|
|
1700
|
+
return h;
|
|
1701
1701
|
}
|
|
1702
1702
|
return null;
|
|
1703
1703
|
}
|
|
1704
|
-
return
|
|
1704
|
+
return T(v);
|
|
1705
1705
|
}
|
|
1706
1706
|
function G(d) {
|
|
1707
1707
|
switch (typeof d) {
|
|
@@ -1718,15 +1718,15 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
1718
1718
|
return !0;
|
|
1719
1719
|
var v = _(d);
|
|
1720
1720
|
if (v) {
|
|
1721
|
-
var
|
|
1721
|
+
var E = v.call(d), A;
|
|
1722
1722
|
if (v !== d.entries) {
|
|
1723
|
-
for (; !(
|
|
1724
|
-
if (!G(
|
|
1723
|
+
for (; !(A = E.next()).done; )
|
|
1724
|
+
if (!G(A.value))
|
|
1725
1725
|
return !1;
|
|
1726
1726
|
} else
|
|
1727
|
-
for (; !(
|
|
1728
|
-
var
|
|
1729
|
-
if (
|
|
1727
|
+
for (; !(A = E.next()).done; ) {
|
|
1728
|
+
var I = A.value;
|
|
1729
|
+
if (I && !G(I[1]))
|
|
1730
1730
|
return !1;
|
|
1731
1731
|
}
|
|
1732
1732
|
} else
|
|
@@ -1736,12 +1736,12 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
1736
1736
|
return !1;
|
|
1737
1737
|
}
|
|
1738
1738
|
}
|
|
1739
|
-
function
|
|
1739
|
+
function ee(d, v) {
|
|
1740
1740
|
return d === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
|
|
1741
1741
|
}
|
|
1742
1742
|
function Q(d) {
|
|
1743
1743
|
var v = typeof d;
|
|
1744
|
-
return Array.isArray(d) ? "array" : d instanceof RegExp ? "object" :
|
|
1744
|
+
return Array.isArray(d) ? "array" : d instanceof RegExp ? "object" : ee(v, d) ? "symbol" : v;
|
|
1745
1745
|
}
|
|
1746
1746
|
function k(d) {
|
|
1747
1747
|
if (typeof d > "u" || d === null)
|
|
@@ -1772,20 +1772,20 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
1772
1772
|
function z(d) {
|
|
1773
1773
|
return !d.constructor || !d.constructor.name ? g : d.constructor.name;
|
|
1774
1774
|
}
|
|
1775
|
-
return
|
|
1776
|
-
},
|
|
1775
|
+
return x.checkPropTypes = a, x.resetWarningCache = a.resetWarningCache, x.PropTypes = x, x;
|
|
1776
|
+
}, bt;
|
|
1777
1777
|
}
|
|
1778
|
-
var
|
|
1778
|
+
var yt, eo;
|
|
1779
1779
|
function Si() {
|
|
1780
|
-
if (
|
|
1781
|
-
|
|
1782
|
-
var e =
|
|
1780
|
+
if (eo) return yt;
|
|
1781
|
+
eo = 1;
|
|
1782
|
+
var e = Pt();
|
|
1783
1783
|
function t() {
|
|
1784
1784
|
}
|
|
1785
1785
|
function o() {
|
|
1786
1786
|
}
|
|
1787
|
-
return o.resetWarningCache = t,
|
|
1788
|
-
function n(r, s, c,
|
|
1787
|
+
return o.resetWarningCache = t, yt = function() {
|
|
1788
|
+
function n(r, s, c, l, u, _) {
|
|
1789
1789
|
if (_ !== e) {
|
|
1790
1790
|
var g = new Error(
|
|
1791
1791
|
"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"
|
|
@@ -1821,15 +1821,15 @@ function Si() {
|
|
|
1821
1821
|
resetWarningCache: t
|
|
1822
1822
|
};
|
|
1823
1823
|
return i.PropTypes = i, i;
|
|
1824
|
-
},
|
|
1824
|
+
}, yt;
|
|
1825
1825
|
}
|
|
1826
1826
|
if (process.env.NODE_ENV !== "production") {
|
|
1827
|
-
var Ri =
|
|
1828
|
-
|
|
1827
|
+
var Ri = To(), Fi = !0;
|
|
1828
|
+
Nt.exports = Ii()(Ri.isElement, Fi);
|
|
1829
1829
|
} else
|
|
1830
|
-
|
|
1831
|
-
var ji =
|
|
1832
|
-
const S = /* @__PURE__ */
|
|
1830
|
+
Nt.exports = Si()();
|
|
1831
|
+
var ji = Nt.exports;
|
|
1832
|
+
const S = /* @__PURE__ */ wo(ji), fe = S.oneOfType([S.string, S.number]), Eo = {
|
|
1833
1833
|
all: S.bool,
|
|
1834
1834
|
grid: S.bool,
|
|
1835
1835
|
aural: S.bool,
|
|
@@ -1841,7 +1841,7 @@ const S = /* @__PURE__ */ bo(ji), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1841
1841
|
tty: S.bool,
|
|
1842
1842
|
tv: S.bool,
|
|
1843
1843
|
embossed: S.bool
|
|
1844
|
-
},
|
|
1844
|
+
}, Ai = {
|
|
1845
1845
|
orientation: S.oneOf(["portrait", "landscape"]),
|
|
1846
1846
|
scan: S.oneOf(["progressive", "interlace"]),
|
|
1847
1847
|
aspectRatio: S.string,
|
|
@@ -1854,8 +1854,8 @@ const S = /* @__PURE__ */ bo(ji), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1854
1854
|
colorIndex: S.bool,
|
|
1855
1855
|
monochrome: S.bool,
|
|
1856
1856
|
resolution: fe,
|
|
1857
|
-
type: Object.keys(
|
|
1858
|
-
}, { type:
|
|
1857
|
+
type: Object.keys(Eo)
|
|
1858
|
+
}, { type: Dp, ...Li } = Ai, Di = {
|
|
1859
1859
|
minAspectRatio: S.string,
|
|
1860
1860
|
maxAspectRatio: S.string,
|
|
1861
1861
|
minDeviceAspectRatio: S.string,
|
|
@@ -1876,40 +1876,40 @@ const S = /* @__PURE__ */ bo(ji), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1876
1876
|
maxMonochrome: S.number,
|
|
1877
1877
|
minResolution: fe,
|
|
1878
1878
|
maxResolution: fe,
|
|
1879
|
-
...
|
|
1880
|
-
},
|
|
1881
|
-
var
|
|
1882
|
-
all:
|
|
1879
|
+
...Li
|
|
1880
|
+
}, Pi = { ...Eo, ...Di };
|
|
1881
|
+
var Oi = {
|
|
1882
|
+
all: Pi
|
|
1883
1883
|
};
|
|
1884
|
-
const
|
|
1885
|
-
const o =
|
|
1886
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ?
|
|
1887
|
-
},
|
|
1884
|
+
const Bi = (e) => `not ${e}`, Wi = (e, t) => {
|
|
1885
|
+
const o = ko(e);
|
|
1886
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? Bi(o) : `(${o}: ${t})`;
|
|
1887
|
+
}, zi = (e) => e.join(" and "), Mi = (e) => {
|
|
1888
1888
|
const t = [];
|
|
1889
|
-
return Object.keys(
|
|
1889
|
+
return Object.keys(Oi.all).forEach((o) => {
|
|
1890
1890
|
const n = e[o];
|
|
1891
|
-
n != null && t.push(
|
|
1892
|
-
}),
|
|
1893
|
-
},
|
|
1891
|
+
n != null && t.push(Wi(o, n));
|
|
1892
|
+
}), zi(t);
|
|
1893
|
+
}, Ui = vo(void 0), $i = (e) => e.query || Mi(e), to = (e) => e ? Object.keys(e).reduce((o, n) => (o[ko(n)] = e[n], o), {}) : void 0, Io = () => {
|
|
1894
1894
|
const e = me(!1);
|
|
1895
|
-
return
|
|
1895
|
+
return ae(() => {
|
|
1896
1896
|
e.current = !0;
|
|
1897
1897
|
}, []), e.current;
|
|
1898
|
-
},
|
|
1899
|
-
const t =
|
|
1900
|
-
return
|
|
1898
|
+
}, qi = (e) => {
|
|
1899
|
+
const t = Yo(Ui), o = () => to(e) || to(t), [n, a] = J(o);
|
|
1900
|
+
return ae(() => {
|
|
1901
1901
|
const i = o();
|
|
1902
|
-
|
|
1902
|
+
Ci(n, i) || a(i);
|
|
1903
1903
|
}, [e, t]), n;
|
|
1904
|
-
},
|
|
1905
|
-
const t = () =>
|
|
1906
|
-
return
|
|
1904
|
+
}, Hi = (e) => {
|
|
1905
|
+
const t = () => $i(e), [o, n] = J(t);
|
|
1906
|
+
return ae(() => {
|
|
1907
1907
|
const a = t();
|
|
1908
1908
|
o !== a && n(a);
|
|
1909
1909
|
}, [e]), o;
|
|
1910
|
-
},
|
|
1911
|
-
const o = () =>
|
|
1912
|
-
return
|
|
1910
|
+
}, Vi = (e, t) => {
|
|
1911
|
+
const o = () => hi(e, t || {}, !!t), [n, a] = J(o), i = Io();
|
|
1912
|
+
return ae(() => {
|
|
1913
1913
|
if (i) {
|
|
1914
1914
|
const r = o();
|
|
1915
1915
|
return a(r), () => {
|
|
@@ -1917,9 +1917,9 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1917
1917
|
};
|
|
1918
1918
|
}
|
|
1919
1919
|
}, [e, t]), n;
|
|
1920
|
-
},
|
|
1921
|
-
const [t, o] =
|
|
1922
|
-
return
|
|
1920
|
+
}, Yi = (e) => {
|
|
1921
|
+
const [t, o] = J(e.matches);
|
|
1922
|
+
return ae(() => {
|
|
1923
1923
|
const n = (a) => {
|
|
1924
1924
|
o(a.matches);
|
|
1925
1925
|
};
|
|
@@ -1927,17 +1927,17 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1927
1927
|
e.removeListener(n);
|
|
1928
1928
|
};
|
|
1929
1929
|
}, [e]), t;
|
|
1930
|
-
},
|
|
1931
|
-
const n =
|
|
1930
|
+
}, wt = (e, t, o) => {
|
|
1931
|
+
const n = qi(t), a = Hi(e);
|
|
1932
1932
|
if (!a)
|
|
1933
1933
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1934
|
-
const i =
|
|
1935
|
-
return
|
|
1936
|
-
}, [r]),
|
|
1934
|
+
const i = Vi(a, n), r = Yi(i);
|
|
1935
|
+
return Io(), ae(() => {
|
|
1936
|
+
}, [r]), ae(() => () => {
|
|
1937
1937
|
i && i.dispose();
|
|
1938
1938
|
}, []), r;
|
|
1939
|
-
},
|
|
1940
|
-
const { desktop: t, tablet: o, mobile: n } = e, a =
|
|
1939
|
+
}, Gi = (e) => {
|
|
1940
|
+
const { desktop: t, tablet: o, mobile: n } = e, a = wt(t), i = wt(o), r = wt(n);
|
|
1941
1941
|
return {
|
|
1942
1942
|
device: {
|
|
1943
1943
|
isDesktop: a,
|
|
@@ -1945,10 +1945,10 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1945
1945
|
isMobile: r
|
|
1946
1946
|
}
|
|
1947
1947
|
};
|
|
1948
|
-
},
|
|
1949
|
-
const { breakpoints: t, children: o } = e, { device: n } =
|
|
1950
|
-
return /* @__PURE__ */
|
|
1951
|
-
|
|
1948
|
+
}, Pp = (e) => {
|
|
1949
|
+
const { breakpoints: t, children: o } = e, { device: n } = Gi(t);
|
|
1950
|
+
return /* @__PURE__ */ p(
|
|
1951
|
+
pi.Provider,
|
|
1952
1952
|
{
|
|
1953
1953
|
value: {
|
|
1954
1954
|
device: n
|
|
@@ -1956,24 +1956,24 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1956
1956
|
children: o
|
|
1957
1957
|
}
|
|
1958
1958
|
);
|
|
1959
|
-
},
|
|
1960
|
-
const { targetValue: t, duration: o =
|
|
1961
|
-
return
|
|
1962
|
-
if (
|
|
1959
|
+
}, Ki = 2e3, Xi = (e) => {
|
|
1960
|
+
const { targetValue: t, duration: o = Ki, doneValue: n } = e, [a, i] = J(t), r = me(), s = me(0), c = me(), l = me(t), [u, _] = J(!1), g = me();
|
|
1961
|
+
return ae(() => {
|
|
1962
|
+
if (l.current = t, t === s.current) return;
|
|
1963
1963
|
if (r.current && cancelAnimationFrame(r.current), t === n && !u) {
|
|
1964
1964
|
i(n), s.current = n;
|
|
1965
1965
|
return;
|
|
1966
1966
|
}
|
|
1967
1967
|
s.current = a, c.current = performance.now();
|
|
1968
|
-
const
|
|
1968
|
+
const x = (w) => {
|
|
1969
1969
|
if (!c.current) return;
|
|
1970
|
-
const C = w - c.current,
|
|
1971
|
-
i(
|
|
1970
|
+
const C = w - c.current, T = Math.min(C / o, 1), O = T < 0.5 ? 4 * T * T * T : 1 - Math.pow(-2 * T + 2, 3) / 2, U = s.current + (l.current - s.current) * O, j = Math.max(0, Math.floor(U));
|
|
1971
|
+
i(j), T < 1 && (r.current = requestAnimationFrame(x));
|
|
1972
1972
|
};
|
|
1973
|
-
return r.current = requestAnimationFrame(
|
|
1973
|
+
return r.current = requestAnimationFrame(x), () => {
|
|
1974
1974
|
r.current && cancelAnimationFrame(r.current);
|
|
1975
1975
|
};
|
|
1976
|
-
}, [t, o, n, u]),
|
|
1976
|
+
}, [t, o, n, u]), ae(() => (a === n ? g.current = window.setTimeout(() => {
|
|
1977
1977
|
_(!1);
|
|
1978
1978
|
}, 500) : (_(!0), g.current && window.clearTimeout(g.current)), () => {
|
|
1979
1979
|
g.current && window.clearTimeout(g.current);
|
|
@@ -1981,17 +1981,17 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1981
1981
|
animatedValue: a,
|
|
1982
1982
|
isLoading: u
|
|
1983
1983
|
};
|
|
1984
|
-
},
|
|
1985
|
-
progressWrapper:
|
|
1986
|
-
progressWrapper_loading:
|
|
1987
|
-
progressWrapper__childrenWrapper:
|
|
1988
|
-
progressWrapper__childrenWrapper_loading:
|
|
1984
|
+
}, Zi = "_progressWrapper_xn9s0_44", Qi = "_progressWrapper_loading_xn9s0_47", Ji = "_progressWrapper__childrenWrapper_xn9s0_52", er = "_progressWrapper__childrenWrapper_loading_xn9s0_58", tr = "_pulse_xn9s0_1", or = "_progressWrapper__progressBadge_xn9s0_64", nr = "_progressWrapper__progressBadge_loading_xn9s0_75", Re = {
|
|
1985
|
+
progressWrapper: Zi,
|
|
1986
|
+
progressWrapper_loading: Qi,
|
|
1987
|
+
progressWrapper__childrenWrapper: Ji,
|
|
1988
|
+
progressWrapper__childrenWrapper_loading: er,
|
|
1989
1989
|
"progressWrapper__childrenWrapper--animated-pulse": "_progressWrapper__childrenWrapper--animated-pulse_xn9s0_58",
|
|
1990
|
-
pulse:
|
|
1990
|
+
pulse: tr,
|
|
1991
1991
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
1992
|
-
progressWrapper__progressBadge:
|
|
1993
|
-
progressWrapper__progressBadge_loading:
|
|
1994
|
-
},
|
|
1992
|
+
progressWrapper__progressBadge: or,
|
|
1993
|
+
progressWrapper__progressBadge_loading: nr
|
|
1994
|
+
}, Op = (e) => {
|
|
1995
1995
|
const {
|
|
1996
1996
|
value: t,
|
|
1997
1997
|
classNameRoot: o,
|
|
@@ -2000,57 +2000,57 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2000
2000
|
children: i,
|
|
2001
2001
|
doneValue: r = 100,
|
|
2002
2002
|
animationVariant: s = "backgroundProgress"
|
|
2003
|
-
} = e, { animatedValue: c, isLoading:
|
|
2003
|
+
} = e, { animatedValue: c, isLoading: l } = Xi({
|
|
2004
2004
|
targetValue: t,
|
|
2005
2005
|
duration: a,
|
|
2006
2006
|
doneValue: r
|
|
2007
2007
|
}), u = f({
|
|
2008
2008
|
[Re.progressWrapper]: !0,
|
|
2009
|
-
[Re.progressWrapper_loading]:
|
|
2009
|
+
[Re.progressWrapper_loading]: l,
|
|
2010
2010
|
...o && { [o]: !0 }
|
|
2011
2011
|
}), _ = f({
|
|
2012
2012
|
[Re.progressWrapper__progressBadge]: !0,
|
|
2013
|
-
[Re.progressWrapper__progressBadge_loading]:
|
|
2013
|
+
[Re.progressWrapper__progressBadge_loading]: l,
|
|
2014
2014
|
...n && { [n]: !0 }
|
|
2015
2015
|
}), g = f({
|
|
2016
2016
|
[Re.progressWrapper__childrenWrapper]: !0,
|
|
2017
2017
|
[Re[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2018
|
-
[Re.progressWrapper__childrenWrapper_loading]:
|
|
2019
|
-
}),
|
|
2018
|
+
[Re.progressWrapper__childrenWrapper_loading]: l
|
|
2019
|
+
}), x = {
|
|
2020
2020
|
"--progress": `${c / r * 100}%`
|
|
2021
2021
|
};
|
|
2022
|
-
return /* @__PURE__ */
|
|
2023
|
-
/* @__PURE__ */
|
|
2022
|
+
return /* @__PURE__ */ M("div", { className: u, children: [
|
|
2023
|
+
/* @__PURE__ */ p(
|
|
2024
2024
|
"div",
|
|
2025
2025
|
{
|
|
2026
2026
|
className: g,
|
|
2027
|
-
style: s === "backgroundProgress" ?
|
|
2027
|
+
style: s === "backgroundProgress" ? x : void 0,
|
|
2028
2028
|
children: i
|
|
2029
2029
|
}
|
|
2030
2030
|
),
|
|
2031
|
-
|
|
2031
|
+
l && /* @__PURE__ */ M(Te, { classNameRoot: _, children: [
|
|
2032
2032
|
c,
|
|
2033
2033
|
"%"
|
|
2034
2034
|
] })
|
|
2035
2035
|
] });
|
|
2036
|
-
},
|
|
2037
|
-
spSelect:
|
|
2038
|
-
spSelect_error:
|
|
2039
|
-
spSelect__control:
|
|
2040
|
-
spSelect__value_empty:
|
|
2041
|
-
spSelect__icon:
|
|
2042
|
-
spSelect_absolutePositionError:
|
|
2043
|
-
spSelect__container:
|
|
2044
|
-
spSelect__control_filled:
|
|
2045
|
-
spSelect__control_outlined:
|
|
2046
|
-
spSelect__control_disabled:
|
|
2047
|
-
spSelect__value:
|
|
2048
|
-
spSelect__list:
|
|
2049
|
-
spSelect__list_scrollable:
|
|
2050
|
-
spSelect__option:
|
|
2051
|
-
spSelect__error:
|
|
2052
|
-
spSelect__error_absolutePosition:
|
|
2053
|
-
},
|
|
2036
|
+
}, ar = 180, ir = "_spSelect_1l6hu_43", rr = "_spSelect_error_1l6hu_48", sr = "_spSelect__control_1l6hu_48", pr = "_spSelect__value_empty_1l6hu_52", lr = "_spSelect__icon_1l6hu_55", cr = "_spSelect_absolutePositionError_1l6hu_58", dr = "_spSelect__container_1l6hu_61", mr = "_spSelect__control_filled_1l6hu_81", ur = "_spSelect__control_outlined_1l6hu_85", _r = "_spSelect__control_disabled_1l6hu_110", fr = "_spSelect__value_1l6hu_52", vr = "_spSelect__list_1l6hu_141", gr = "_spSelect__list_scrollable_1l6hu_148", xr = "_spSelect__option_1l6hu_164", hr = "_spSelect__error_1l6hu_182", br = "_spSelect__error_absolutePosition_1l6hu_189", _e = {
|
|
2037
|
+
spSelect: ir,
|
|
2038
|
+
spSelect_error: rr,
|
|
2039
|
+
spSelect__control: sr,
|
|
2040
|
+
spSelect__value_empty: pr,
|
|
2041
|
+
spSelect__icon: lr,
|
|
2042
|
+
spSelect_absolutePositionError: cr,
|
|
2043
|
+
spSelect__container: dr,
|
|
2044
|
+
spSelect__control_filled: mr,
|
|
2045
|
+
spSelect__control_outlined: ur,
|
|
2046
|
+
spSelect__control_disabled: _r,
|
|
2047
|
+
spSelect__value: fr,
|
|
2048
|
+
spSelect__list: vr,
|
|
2049
|
+
spSelect__list_scrollable: gr,
|
|
2050
|
+
spSelect__option: xr,
|
|
2051
|
+
spSelect__error: hr,
|
|
2052
|
+
spSelect__error_absolutePosition: br
|
|
2053
|
+
}, Bp = (e) => {
|
|
2054
2054
|
const {
|
|
2055
2055
|
options: t,
|
|
2056
2056
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2060,107 +2060,107 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2060
2060
|
onChange: r,
|
|
2061
2061
|
onMouseEnter: s,
|
|
2062
2062
|
error: c,
|
|
2063
|
-
label:
|
|
2063
|
+
label: l,
|
|
2064
2064
|
infoTooltipText: u,
|
|
2065
2065
|
tooltipPosition: _,
|
|
2066
2066
|
disabled: g = !1,
|
|
2067
|
-
required:
|
|
2068
|
-
maxHeightList: w =
|
|
2067
|
+
required: x,
|
|
2068
|
+
maxHeightList: w = ar,
|
|
2069
2069
|
isVisibleDefaultTitle: C = !0,
|
|
2070
|
-
isScrollableList:
|
|
2071
|
-
isAbsolutePositionError:
|
|
2072
|
-
classNameRoot:
|
|
2073
|
-
classNameError:
|
|
2074
|
-
classNameLabel:
|
|
2070
|
+
isScrollableList: T = !1,
|
|
2071
|
+
isAbsolutePositionError: O = !1,
|
|
2072
|
+
classNameRoot: U,
|
|
2073
|
+
classNameError: j,
|
|
2074
|
+
classNameLabel: b,
|
|
2075
2075
|
classNameBaseTooltipRoot: m
|
|
2076
|
-
} = e, [
|
|
2077
|
-
|
|
2078
|
-
[
|
|
2076
|
+
} = e, [N, P] = J(!1), B = me(null);
|
|
2077
|
+
ho(
|
|
2078
|
+
[B],
|
|
2079
2079
|
() => {
|
|
2080
2080
|
P(!1);
|
|
2081
2081
|
},
|
|
2082
|
-
|
|
2082
|
+
N
|
|
2083
2083
|
);
|
|
2084
|
-
const Z = t.find((v) => v.value === n),
|
|
2085
|
-
r(v, { value:
|
|
2086
|
-
},
|
|
2087
|
-
g || P(!
|
|
2084
|
+
const Z = t.find((v) => v.value === n), re = (v, E) => {
|
|
2085
|
+
r(v, { value: E, name: a }), P(!1);
|
|
2086
|
+
}, se = () => {
|
|
2087
|
+
g || P(!N);
|
|
2088
2088
|
}, ue = f({
|
|
2089
2089
|
[_e.spSelect]: !0,
|
|
2090
2090
|
[_e.spSelect_error]: !!c,
|
|
2091
|
-
[_e.spSelect_absolutePositionError]:
|
|
2092
|
-
|
|
2091
|
+
[_e.spSelect_absolutePositionError]: O,
|
|
2092
|
+
...U && { [U]: !0 }
|
|
2093
2093
|
}), ce = f({
|
|
2094
2094
|
[_e.spSelect__container]: !0
|
|
2095
2095
|
}), G = f({
|
|
2096
2096
|
[_e.spSelect__control]: !0,
|
|
2097
2097
|
[_e[`spSelect__control_${i}`]]: i,
|
|
2098
2098
|
[_e.spSelect__control_disabled]: g
|
|
2099
|
-
}),
|
|
2099
|
+
}), ee = f({
|
|
2100
2100
|
[_e.spSelect__value]: !0,
|
|
2101
2101
|
[_e.spSelect__value_empty]: !Z
|
|
2102
2102
|
}), Q = f({
|
|
2103
2103
|
[_e.spSelect__icon]: !0
|
|
2104
2104
|
}), k = f({
|
|
2105
2105
|
[_e.spSelect__list]: !0,
|
|
2106
|
-
[_e.spSelect__list_scrollable]:
|
|
2106
|
+
[_e.spSelect__list_scrollable]: T
|
|
2107
2107
|
}), q = f({
|
|
2108
|
-
...
|
|
2108
|
+
...b && { [b]: !0 }
|
|
2109
2109
|
}), z = f({
|
|
2110
2110
|
[_e.spSelect__error]: !0,
|
|
2111
|
-
[_e.spSelect__error_absolutePosition]:
|
|
2112
|
-
...
|
|
2111
|
+
[_e.spSelect__error_absolutePosition]: O,
|
|
2112
|
+
...j && { [j]: !0 }
|
|
2113
2113
|
});
|
|
2114
|
-
return /* @__PURE__ */
|
|
2115
|
-
|
|
2116
|
-
|
|
2114
|
+
return /* @__PURE__ */ M("div", { className: ue, ref: B, children: [
|
|
2115
|
+
l && /* @__PURE__ */ p(
|
|
2116
|
+
Lt,
|
|
2117
2117
|
{
|
|
2118
2118
|
classNameRoot: q,
|
|
2119
2119
|
tooltipPosition: _,
|
|
2120
|
-
required:
|
|
2121
|
-
label:
|
|
2120
|
+
required: x,
|
|
2121
|
+
label: l,
|
|
2122
2122
|
infoTooltipText: u,
|
|
2123
2123
|
classNameBaseTooltipRoot: m
|
|
2124
2124
|
}
|
|
2125
2125
|
),
|
|
2126
|
-
/* @__PURE__ */
|
|
2127
|
-
/* @__PURE__ */
|
|
2126
|
+
/* @__PURE__ */ M("div", { className: ce, onMouseEnter: s, children: [
|
|
2127
|
+
/* @__PURE__ */ M(
|
|
2128
2128
|
"div",
|
|
2129
2129
|
{
|
|
2130
2130
|
tabIndex: g ? -1 : 0,
|
|
2131
2131
|
title: C ? n : void 0,
|
|
2132
2132
|
className: G,
|
|
2133
|
-
onClick:
|
|
2133
|
+
onClick: se,
|
|
2134
2134
|
children: [
|
|
2135
|
-
/* @__PURE__ */
|
|
2136
|
-
/* @__PURE__ */
|
|
2137
|
-
|
|
2135
|
+
/* @__PURE__ */ p("div", { className: ee, children: (Z == null ? void 0 : Z.label) || o }),
|
|
2136
|
+
/* @__PURE__ */ p(
|
|
2137
|
+
ve,
|
|
2138
2138
|
{
|
|
2139
|
-
name:
|
|
2140
|
-
rotate:
|
|
2139
|
+
name: ne.SelectChevronDown,
|
|
2140
|
+
rotate: N ? 180 : void 0,
|
|
2141
2141
|
className: Q
|
|
2142
2142
|
}
|
|
2143
2143
|
)
|
|
2144
2144
|
]
|
|
2145
2145
|
}
|
|
2146
2146
|
),
|
|
2147
|
-
|
|
2147
|
+
N && /* @__PURE__ */ p(
|
|
2148
2148
|
"div",
|
|
2149
2149
|
{
|
|
2150
2150
|
className: k,
|
|
2151
|
-
style:
|
|
2151
|
+
style: T ? { maxHeight: `${w}px` } : {},
|
|
2152
2152
|
children: t.map((v) => {
|
|
2153
|
-
const
|
|
2154
|
-
return /* @__PURE__ */
|
|
2153
|
+
const E = v.value === n;
|
|
2154
|
+
return /* @__PURE__ */ M(
|
|
2155
2155
|
"div",
|
|
2156
2156
|
{
|
|
2157
2157
|
className: f({
|
|
2158
2158
|
[_e.spSelect__option]: !0
|
|
2159
2159
|
}),
|
|
2160
|
-
onClick: (
|
|
2160
|
+
onClick: (A) => re(A, v.value),
|
|
2161
2161
|
children: [
|
|
2162
2162
|
v.label,
|
|
2163
|
-
|
|
2163
|
+
E && /* @__PURE__ */ p(ve, { name: ne.Check, className: Q })
|
|
2164
2164
|
]
|
|
2165
2165
|
},
|
|
2166
2166
|
v.value
|
|
@@ -2169,101 +2169,101 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
)
|
|
2171
2171
|
] }),
|
|
2172
|
-
c && /* @__PURE__ */
|
|
2172
|
+
c && /* @__PURE__ */ p("div", { className: z, children: c })
|
|
2173
2173
|
] });
|
|
2174
|
-
},
|
|
2175
|
-
skeleton:
|
|
2176
|
-
},
|
|
2174
|
+
}, yr = "_skeleton_1u7gu_43", wr = {
|
|
2175
|
+
skeleton: yr
|
|
2176
|
+
}, Wp = (e) => {
|
|
2177
2177
|
const { width: t = "100%", height: o = "1rem", circle: n = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
2178
2178
|
width: t,
|
|
2179
2179
|
height: o,
|
|
2180
2180
|
borderRadius: n ? "50%" : "0",
|
|
2181
2181
|
...i
|
|
2182
2182
|
};
|
|
2183
|
-
return /* @__PURE__ */
|
|
2184
|
-
},
|
|
2185
|
-
spTable:
|
|
2186
|
-
spTable__tdContentCopyIcon:
|
|
2187
|
-
spTable__tdContent:
|
|
2188
|
-
spTable__tdColorContent:
|
|
2189
|
-
spTable__tdContentCopyIcon_copied:
|
|
2190
|
-
spTable__emptyPage:
|
|
2183
|
+
return /* @__PURE__ */ p("div", { style: r, className: f(a, wr.skeleton) });
|
|
2184
|
+
}, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Cr = "_spTable_1vuaj_43", kr = "_spTable__tdContentCopyIcon_1vuaj_62", Tr = "_spTable__tdContent_1vuaj_62", Nr = "_spTable__tdColorContent_1vuaj_72", Er = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Ir = "_spTable__emptyPage_1vuaj_89", Sr = "_spStringsGroup_1vuaj_105", Rr = "_spStringsGroup__groupItem_1vuaj_119", Fr = "_spStringsGroup__groupItemHeader_1vuaj_134", jr = "_spStringsGroup__groupItemContent_1vuaj_138", Ar = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Lr = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2185
|
+
spTable: Cr,
|
|
2186
|
+
spTable__tdContentCopyIcon: kr,
|
|
2187
|
+
spTable__tdContent: Tr,
|
|
2188
|
+
spTable__tdColorContent: Nr,
|
|
2189
|
+
spTable__tdContentCopyIcon_copied: Er,
|
|
2190
|
+
spTable__emptyPage: Ir,
|
|
2191
2191
|
spStringsGroup: Sr,
|
|
2192
2192
|
spStringsGroup__groupItem: Rr,
|
|
2193
2193
|
spStringsGroup__groupItemHeader: Fr,
|
|
2194
2194
|
spStringsGroup__groupItemContent: jr,
|
|
2195
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
2196
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
2197
|
-
},
|
|
2195
|
+
spStringsGroup__groupItemContentCopyIcon: Ar,
|
|
2196
|
+
spStringsGroup__groupItemContentCopyIcon_copied: Lr
|
|
2197
|
+
}, zp = (e) => {
|
|
2198
2198
|
const {
|
|
2199
2199
|
columns: t,
|
|
2200
2200
|
data: o,
|
|
2201
2201
|
isNotTableOnNotDesktop: n = !1,
|
|
2202
2202
|
isDesktop: a = !0,
|
|
2203
2203
|
classNameRoot: i
|
|
2204
|
-
} = e, r = t.map((
|
|
2205
|
-
...
|
|
2206
|
-
isVisible: o.some((m) => !!m[
|
|
2207
|
-
} :
|
|
2204
|
+
} = e, r = t.map((b) => o ? {
|
|
2205
|
+
...b,
|
|
2206
|
+
isVisible: o.some((m) => !!m[b.key])
|
|
2207
|
+
} : b).filter((b) => b.isVisible), s = f({
|
|
2208
2208
|
[ye.spTable]: !0,
|
|
2209
2209
|
...i && { [i]: !0 }
|
|
2210
2210
|
}), c = f({
|
|
2211
2211
|
[ye.spTable__tdContent]: !0
|
|
2212
|
-
}),
|
|
2212
|
+
}), l = f({
|
|
2213
2213
|
[ye.spTable__tdColorContent]: !0
|
|
2214
2214
|
}), u = f({
|
|
2215
2215
|
[ye.spTable__emptyPage]: !0
|
|
2216
|
-
}), [_, g] =
|
|
2217
|
-
const { text: m, rowIndex:
|
|
2218
|
-
(_ == null ? void 0 : _.rowIndex) ===
|
|
2219
|
-
g({ rowIndex:
|
|
2220
|
-
}).catch((
|
|
2221
|
-
console.error("Ошибка при копировании:",
|
|
2216
|
+
}), [_, g] = J(null), x = (b) => {
|
|
2217
|
+
const { text: m, rowIndex: N, colIndex: P } = b;
|
|
2218
|
+
(_ == null ? void 0 : _.rowIndex) === N && (_ == null ? void 0 : _.colIndex) === P || navigator.clipboard.writeText(m).then(() => {
|
|
2219
|
+
g({ rowIndex: N, colIndex: P });
|
|
2220
|
+
}).catch((B) => {
|
|
2221
|
+
console.error("Ошибка при копировании:", B);
|
|
2222
2222
|
});
|
|
2223
2223
|
}, w = () => {
|
|
2224
2224
|
g(null);
|
|
2225
|
-
}, C = () => /* @__PURE__ */
|
|
2226
|
-
row:
|
|
2225
|
+
}, C = () => /* @__PURE__ */ p("div", { className: u, children: "Данные отсутствуют" }), T = ({
|
|
2226
|
+
row: b,
|
|
2227
2227
|
col: m
|
|
2228
2228
|
}) => {
|
|
2229
|
-
const
|
|
2230
|
-
if (!
|
|
2231
|
-
const [P,
|
|
2232
|
-
return /* @__PURE__ */
|
|
2229
|
+
const N = b[m.key];
|
|
2230
|
+
if (!N) return null;
|
|
2231
|
+
const [P, B] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2232
|
+
return /* @__PURE__ */ M("span", { children: [
|
|
2233
2233
|
P,
|
|
2234
|
-
|
|
2234
|
+
B && /* @__PURE__ */ p("span", { className: l, children: ` ${B}` })
|
|
2235
2235
|
] });
|
|
2236
|
-
},
|
|
2237
|
-
/* @__PURE__ */
|
|
2236
|
+
}, O = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ M("table", { className: s, children: [
|
|
2237
|
+
/* @__PURE__ */ p("colgroup", { children: r.map((b, m, N) => /* @__PURE__ */ p(
|
|
2238
2238
|
"col",
|
|
2239
2239
|
{
|
|
2240
2240
|
style: {
|
|
2241
|
-
width: `calc(100%/${
|
|
2241
|
+
width: `calc(100%/${N.length})`
|
|
2242
2242
|
}
|
|
2243
2243
|
},
|
|
2244
2244
|
m
|
|
2245
2245
|
)) }),
|
|
2246
|
-
/* @__PURE__ */
|
|
2247
|
-
/* @__PURE__ */
|
|
2248
|
-
const
|
|
2249
|
-
return /* @__PURE__ */
|
|
2246
|
+
/* @__PURE__ */ p("thead", { children: /* @__PURE__ */ p("tr", { children: r.map((b, m) => /* @__PURE__ */ p("th", { children: b.title }, m)) }) }),
|
|
2247
|
+
/* @__PURE__ */ p("tbody", { children: o.map((b, m) => b ? /* @__PURE__ */ p("tr", { children: r.map((N, P) => {
|
|
2248
|
+
const B = (_ == null ? void 0 : _.rowIndex) === m && (_ == null ? void 0 : _.colIndex) === P;
|
|
2249
|
+
return /* @__PURE__ */ p(
|
|
2250
2250
|
"td",
|
|
2251
2251
|
{
|
|
2252
|
-
onMouseLeave:
|
|
2253
|
-
children: /* @__PURE__ */
|
|
2254
|
-
/* @__PURE__ */
|
|
2255
|
-
!
|
|
2256
|
-
|
|
2252
|
+
onMouseLeave: B ? w : void 0,
|
|
2253
|
+
children: /* @__PURE__ */ M("div", { className: c, children: [
|
|
2254
|
+
/* @__PURE__ */ p("span", { children: N.isColorContentsCurlyBrackets ? T({ row: b, col: N }) : b[N.key] }),
|
|
2255
|
+
!Et(b[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ p(
|
|
2256
|
+
ve,
|
|
2257
2257
|
{
|
|
2258
2258
|
className: f({
|
|
2259
2259
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
2260
|
-
[ye.spTable__tdContentCopyIcon_copied]:
|
|
2260
|
+
[ye.spTable__tdContentCopyIcon_copied]: B
|
|
2261
2261
|
}),
|
|
2262
|
-
name:
|
|
2262
|
+
name: B ? ne.Check : ne.Copy,
|
|
2263
2263
|
onClick: () => {
|
|
2264
|
-
const Z =
|
|
2264
|
+
const Z = b[N.key];
|
|
2265
2265
|
if (!Z) return null;
|
|
2266
|
-
|
|
2266
|
+
x({
|
|
2267
2267
|
text: Z,
|
|
2268
2268
|
rowIndex: m,
|
|
2269
2269
|
colIndex: P
|
|
@@ -2276,53 +2276,53 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2276
2276
|
`${m}:${P}`
|
|
2277
2277
|
);
|
|
2278
2278
|
}) }, m) : null) })
|
|
2279
|
-
] }) : C(),
|
|
2279
|
+
] }) : C(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ p(
|
|
2280
2280
|
"div",
|
|
2281
2281
|
{
|
|
2282
2282
|
className: f({
|
|
2283
2283
|
[ye.spStringsGroup]: !0
|
|
2284
2284
|
}),
|
|
2285
|
-
children: o.map((
|
|
2286
|
-
if (
|
|
2285
|
+
children: o.map((b, m) => b ? /* @__PURE__ */ p("div", { children: r.map((N, P) => {
|
|
2286
|
+
if (Et(b[N.key]))
|
|
2287
2287
|
return null;
|
|
2288
|
-
const
|
|
2289
|
-
return /* @__PURE__ */
|
|
2288
|
+
const B = (_ == null ? void 0 : _.rowIndex) === m && (_ == null ? void 0 : _.colIndex) === P;
|
|
2289
|
+
return /* @__PURE__ */ M(
|
|
2290
2290
|
"div",
|
|
2291
2291
|
{
|
|
2292
2292
|
className: f({
|
|
2293
2293
|
[ye.spStringsGroup__groupItem]: !0
|
|
2294
2294
|
}),
|
|
2295
|
-
onMouseLeave:
|
|
2295
|
+
onMouseLeave: B ? w : void 0,
|
|
2296
2296
|
children: [
|
|
2297
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ p(
|
|
2298
2298
|
"div",
|
|
2299
2299
|
{
|
|
2300
2300
|
className: f({
|
|
2301
2301
|
[ye.spStringsGroup__groupItemHeader]: !0
|
|
2302
2302
|
}),
|
|
2303
|
-
children:
|
|
2303
|
+
children: N.title
|
|
2304
2304
|
}
|
|
2305
2305
|
),
|
|
2306
|
-
/* @__PURE__ */
|
|
2306
|
+
/* @__PURE__ */ M(
|
|
2307
2307
|
"div",
|
|
2308
2308
|
{
|
|
2309
2309
|
className: f({
|
|
2310
2310
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
2311
2311
|
}),
|
|
2312
2312
|
children: [
|
|
2313
|
-
/* @__PURE__ */
|
|
2314
|
-
|
|
2315
|
-
|
|
2313
|
+
/* @__PURE__ */ p("span", { children: N.isColorContentsCurlyBrackets ? T({ row: b, col: N }) : b[N.key] }),
|
|
2314
|
+
N.isBeCopiedValue && /* @__PURE__ */ p(
|
|
2315
|
+
ve,
|
|
2316
2316
|
{
|
|
2317
2317
|
className: f({
|
|
2318
2318
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
2319
|
-
[ye.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
2319
|
+
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: B
|
|
2320
2320
|
}),
|
|
2321
|
-
name:
|
|
2321
|
+
name: B ? ne.Check : ne.Copy,
|
|
2322
2322
|
onClick: () => {
|
|
2323
|
-
const Z =
|
|
2323
|
+
const Z = b[N.key];
|
|
2324
2324
|
if (!Z) return null;
|
|
2325
|
-
|
|
2325
|
+
x({
|
|
2326
2326
|
text: Z,
|
|
2327
2327
|
rowIndex: m,
|
|
2328
2328
|
colIndex: P
|
|
@@ -2340,18 +2340,18 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2340
2340
|
}) }, m) : null)
|
|
2341
2341
|
}
|
|
2342
2342
|
) : C();
|
|
2343
|
-
return n ? a ?
|
|
2344
|
-
},
|
|
2345
|
-
spTabs:
|
|
2346
|
-
spTabs_separated:
|
|
2343
|
+
return n ? a ? O() : U() : O();
|
|
2344
|
+
}, Dr = "_spTabs_loi7t_43", Pr = "_spTabs_separated_loi7t_48", Or = "_spTabs__tabElement_loi7t_48", Br = "_spTabs__tabElement_active_loi7t_83", Wr = "_spTabs__triggerTooltip_loi7t_90", Fe = {
|
|
2345
|
+
spTabs: Dr,
|
|
2346
|
+
spTabs_separated: Pr,
|
|
2347
2347
|
"spTabs--size-md": "_spTabs--size-md_loi7t_48",
|
|
2348
|
-
spTabs__tabElement:
|
|
2348
|
+
spTabs__tabElement: Or,
|
|
2349
2349
|
"spTabs--size-lg": "_spTabs--size-lg_loi7t_51",
|
|
2350
2350
|
"spTabs--variant-contained": "_spTabs--variant-contained_loi7t_54",
|
|
2351
|
-
spTabs__tabElement_active:
|
|
2352
|
-
spTabs__triggerTooltip:
|
|
2351
|
+
spTabs__tabElement_active: Br,
|
|
2352
|
+
spTabs__triggerTooltip: Wr,
|
|
2353
2353
|
"spTabs--variant-filled": "_spTabs--variant-filled_loi7t_93"
|
|
2354
|
-
},
|
|
2354
|
+
}, Mp = (e) => {
|
|
2355
2355
|
const {
|
|
2356
2356
|
panes: t,
|
|
2357
2357
|
isSeparated: o = !1,
|
|
@@ -2367,7 +2367,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2367
2367
|
...n && { [n]: !0 }
|
|
2368
2368
|
}), c = f({
|
|
2369
2369
|
[Fe.spTabs__triggerTooltip]: !0
|
|
2370
|
-
}),
|
|
2370
|
+
}), l = () => {
|
|
2371
2371
|
switch (r) {
|
|
2372
2372
|
case "md":
|
|
2373
2373
|
return "p2";
|
|
@@ -2375,20 +2375,20 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2375
2375
|
return "p1";
|
|
2376
2376
|
}
|
|
2377
2377
|
};
|
|
2378
|
-
return /* @__PURE__ */
|
|
2379
|
-
const { name: g, active:
|
|
2380
|
-
return /* @__PURE__ */
|
|
2378
|
+
return /* @__PURE__ */ p("div", { className: s, children: t.map((u, _) => {
|
|
2379
|
+
const { name: g, active: x, onClick: w, infoTooltipText: C } = u;
|
|
2380
|
+
return /* @__PURE__ */ M(
|
|
2381
2381
|
"div",
|
|
2382
2382
|
{
|
|
2383
2383
|
className: f({
|
|
2384
2384
|
[Fe.spTabs__tabElement]: !0,
|
|
2385
|
-
[Fe.spTabs__tabElement_active]:
|
|
2385
|
+
[Fe.spTabs__tabElement_active]: x
|
|
2386
2386
|
}),
|
|
2387
2387
|
onClick: w,
|
|
2388
2388
|
children: [
|
|
2389
|
-
/* @__PURE__ */
|
|
2390
|
-
!!C && /* @__PURE__ */
|
|
2391
|
-
|
|
2389
|
+
/* @__PURE__ */ p(Te, { type: l(), children: g }),
|
|
2390
|
+
!!C && /* @__PURE__ */ p(
|
|
2391
|
+
nt,
|
|
2392
2392
|
{
|
|
2393
2393
|
classNameTriggerTooltip: c,
|
|
2394
2394
|
text: C,
|
|
@@ -2400,16 +2400,16 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2400
2400
|
u.key || _
|
|
2401
2401
|
);
|
|
2402
2402
|
}) });
|
|
2403
|
-
},
|
|
2404
|
-
spTextWithLabel:
|
|
2405
|
-
},
|
|
2403
|
+
}, zr = "_spTextWithLabel_1dr7p_1", Mr = {
|
|
2404
|
+
spTextWithLabel: zr
|
|
2405
|
+
}, Up = (e) => {
|
|
2406
2406
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2407
|
-
return /* @__PURE__ */
|
|
2408
|
-
/* @__PURE__ */
|
|
2409
|
-
/* @__PURE__ */
|
|
2407
|
+
return /* @__PURE__ */ M("div", { className: Mr.spTextWithLabel, style: { ...n }, children: [
|
|
2408
|
+
/* @__PURE__ */ p(Lt, { label: o }),
|
|
2409
|
+
/* @__PURE__ */ p(Te, { ...a, children: t })
|
|
2410
2410
|
] });
|
|
2411
2411
|
};
|
|
2412
|
-
function
|
|
2412
|
+
function Ae(e, t, o, n) {
|
|
2413
2413
|
function a(i) {
|
|
2414
2414
|
return i instanceof o ? i : new o(function(r) {
|
|
2415
2415
|
r(i);
|
|
@@ -2418,25 +2418,25 @@ function Ie(e, t, o, n) {
|
|
|
2418
2418
|
return new (o || (o = Promise))(function(i, r) {
|
|
2419
2419
|
function s(u) {
|
|
2420
2420
|
try {
|
|
2421
|
-
|
|
2421
|
+
l(n.next(u));
|
|
2422
2422
|
} catch (_) {
|
|
2423
2423
|
r(_);
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
2426
|
function c(u) {
|
|
2427
2427
|
try {
|
|
2428
|
-
|
|
2428
|
+
l(n.throw(u));
|
|
2429
2429
|
} catch (_) {
|
|
2430
2430
|
r(_);
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
|
-
function
|
|
2433
|
+
function l(u) {
|
|
2434
2434
|
u.done ? i(u.value) : a(u.value).then(s, c);
|
|
2435
2435
|
}
|
|
2436
|
-
|
|
2436
|
+
l((n = n.apply(e, t || [])).next());
|
|
2437
2437
|
});
|
|
2438
2438
|
}
|
|
2439
|
-
const
|
|
2439
|
+
const Ur = /* @__PURE__ */ new Map([
|
|
2440
2440
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
2441
2441
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
2442
2442
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -3639,14 +3639,14 @@ const Mr = /* @__PURE__ */ new Map([
|
|
|
3639
3639
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
3640
3640
|
["zsh", "text/x-scriptzsh"]
|
|
3641
3641
|
]);
|
|
3642
|
-
function
|
|
3643
|
-
const n =
|
|
3644
|
-
return typeof n.path != "string" &&
|
|
3642
|
+
function Oe(e, t, o) {
|
|
3643
|
+
const n = $r(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3644
|
+
return typeof n.path != "string" && oo(n, "path", i), oo(n, "relativePath", i), n;
|
|
3645
3645
|
}
|
|
3646
|
-
function
|
|
3646
|
+
function $r(e) {
|
|
3647
3647
|
const { name: t } = e;
|
|
3648
3648
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3649
|
-
const n = t.split(".").pop().toLowerCase(), a =
|
|
3649
|
+
const n = t.split(".").pop().toLowerCase(), a = Ur.get(n);
|
|
3650
3650
|
a && Object.defineProperty(e, "type", {
|
|
3651
3651
|
value: a,
|
|
3652
3652
|
writable: !1,
|
|
@@ -3656,7 +3656,7 @@ function Ur(e) {
|
|
|
3656
3656
|
}
|
|
3657
3657
|
return e;
|
|
3658
3658
|
}
|
|
3659
|
-
function
|
|
3659
|
+
function oo(e, t, o) {
|
|
3660
3660
|
Object.defineProperty(e, t, {
|
|
3661
3661
|
value: o,
|
|
3662
3662
|
writable: !1,
|
|
@@ -3664,51 +3664,51 @@ function eo(e, t, o) {
|
|
|
3664
3664
|
enumerable: !0
|
|
3665
3665
|
});
|
|
3666
3666
|
}
|
|
3667
|
-
const
|
|
3667
|
+
const qr = [
|
|
3668
3668
|
// Thumbnail cache files for macOS and Windows
|
|
3669
3669
|
".DS_Store",
|
|
3670
3670
|
// macOs
|
|
3671
3671
|
"Thumbs.db"
|
|
3672
3672
|
// Windows
|
|
3673
3673
|
];
|
|
3674
|
-
function qr(e) {
|
|
3675
|
-
return Ie(this, void 0, void 0, function* () {
|
|
3676
|
-
return Ze(e) && Hr(e.dataTransfer) ? Kr(e.dataTransfer, e.type) : Vr(e) ? Yr(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Gr(e) : [];
|
|
3677
|
-
});
|
|
3678
|
-
}
|
|
3679
3674
|
function Hr(e) {
|
|
3680
|
-
return
|
|
3675
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3676
|
+
return Je(e) && Vr(e.dataTransfer) ? Xr(e.dataTransfer, e.type) : Yr(e) ? Gr(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Kr(e) : [];
|
|
3677
|
+
});
|
|
3681
3678
|
}
|
|
3682
3679
|
function Vr(e) {
|
|
3683
|
-
return
|
|
3684
|
-
}
|
|
3685
|
-
function Ze(e) {
|
|
3686
|
-
return typeof e == "object" && e !== null;
|
|
3680
|
+
return Je(e);
|
|
3687
3681
|
}
|
|
3688
3682
|
function Yr(e) {
|
|
3689
|
-
return
|
|
3683
|
+
return Je(e) && Je(e.target);
|
|
3684
|
+
}
|
|
3685
|
+
function Je(e) {
|
|
3686
|
+
return typeof e == "object" && e !== null;
|
|
3690
3687
|
}
|
|
3691
3688
|
function Gr(e) {
|
|
3692
|
-
return
|
|
3693
|
-
|
|
3689
|
+
return It(e.target.files).map((t) => Oe(t));
|
|
3690
|
+
}
|
|
3691
|
+
function Kr(e) {
|
|
3692
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3693
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Oe(o));
|
|
3694
3694
|
});
|
|
3695
3695
|
}
|
|
3696
|
-
function
|
|
3697
|
-
return
|
|
3696
|
+
function Xr(e, t) {
|
|
3697
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3698
3698
|
if (e.items) {
|
|
3699
|
-
const o =
|
|
3699
|
+
const o = It(e.items).filter((a) => a.kind === "file");
|
|
3700
3700
|
if (t !== "drop")
|
|
3701
3701
|
return o;
|
|
3702
|
-
const n = yield Promise.all(o.map(
|
|
3703
|
-
return
|
|
3702
|
+
const n = yield Promise.all(o.map(Zr));
|
|
3703
|
+
return no(So(n));
|
|
3704
3704
|
}
|
|
3705
|
-
return
|
|
3705
|
+
return no(It(e.files).map((o) => Oe(o)));
|
|
3706
3706
|
});
|
|
3707
3707
|
}
|
|
3708
|
-
function
|
|
3709
|
-
return e.filter((t) =>
|
|
3708
|
+
function no(e) {
|
|
3709
|
+
return e.filter((t) => qr.indexOf(t.name) === -1);
|
|
3710
3710
|
}
|
|
3711
|
-
function
|
|
3711
|
+
function It(e) {
|
|
3712
3712
|
if (e === null)
|
|
3713
3713
|
return [];
|
|
3714
3714
|
const t = [];
|
|
@@ -3718,20 +3718,20 @@ function Et(e) {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
return t;
|
|
3720
3720
|
}
|
|
3721
|
-
function
|
|
3721
|
+
function Zr(e) {
|
|
3722
3722
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3723
|
-
return
|
|
3723
|
+
return ao(e);
|
|
3724
3724
|
const t = e.webkitGetAsEntry();
|
|
3725
|
-
return t && t.isDirectory ?
|
|
3725
|
+
return t && t.isDirectory ? Ro(t) : ao(e, t);
|
|
3726
3726
|
}
|
|
3727
|
-
function
|
|
3727
|
+
function So(e) {
|
|
3728
3728
|
return e.reduce((t, o) => [
|
|
3729
3729
|
...t,
|
|
3730
|
-
...Array.isArray(o) ?
|
|
3730
|
+
...Array.isArray(o) ? So(o) : [o]
|
|
3731
3731
|
], []);
|
|
3732
3732
|
}
|
|
3733
|
-
function
|
|
3734
|
-
return
|
|
3733
|
+
function ao(e, t) {
|
|
3734
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3735
3735
|
var o;
|
|
3736
3736
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3737
3737
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3739,28 +3739,28 @@ function oo(e, t) {
|
|
|
3739
3739
|
throw new Error(`${e} is not a File`);
|
|
3740
3740
|
if (i !== void 0) {
|
|
3741
3741
|
const r = yield i.getFile();
|
|
3742
|
-
return r.handle = i,
|
|
3742
|
+
return r.handle = i, Oe(r);
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
|
3745
3745
|
const n = e.getAsFile();
|
|
3746
3746
|
if (!n)
|
|
3747
3747
|
throw new Error(`${e} is not a File`);
|
|
3748
|
-
return
|
|
3748
|
+
return Oe(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
3749
3749
|
});
|
|
3750
3750
|
}
|
|
3751
|
-
function
|
|
3752
|
-
return
|
|
3753
|
-
return e.isDirectory ?
|
|
3751
|
+
function Qr(e) {
|
|
3752
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3753
|
+
return e.isDirectory ? Ro(e) : Jr(e);
|
|
3754
3754
|
});
|
|
3755
3755
|
}
|
|
3756
|
-
function
|
|
3756
|
+
function Ro(e) {
|
|
3757
3757
|
const t = e.createReader();
|
|
3758
3758
|
return new Promise((o, n) => {
|
|
3759
3759
|
const a = [];
|
|
3760
3760
|
function i() {
|
|
3761
|
-
t.readEntries((r) =>
|
|
3761
|
+
t.readEntries((r) => Ae(this, void 0, void 0, function* () {
|
|
3762
3762
|
if (r.length) {
|
|
3763
|
-
const s = Promise.all(r.map(
|
|
3763
|
+
const s = Promise.all(r.map(Qr));
|
|
3764
3764
|
a.push(s), i();
|
|
3765
3765
|
} else
|
|
3766
3766
|
try {
|
|
@@ -3776,11 +3776,11 @@ function So(e) {
|
|
|
3776
3776
|
i();
|
|
3777
3777
|
});
|
|
3778
3778
|
}
|
|
3779
|
-
function
|
|
3780
|
-
return
|
|
3779
|
+
function Jr(e) {
|
|
3780
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3781
3781
|
return new Promise((t, o) => {
|
|
3782
3782
|
e.file((n) => {
|
|
3783
|
-
const a =
|
|
3783
|
+
const a = Oe(n, e.fullPath);
|
|
3784
3784
|
t(a);
|
|
3785
3785
|
}, (n) => {
|
|
3786
3786
|
o(n);
|
|
@@ -3788,7 +3788,7 @@ function Qr(e) {
|
|
|
3788
3788
|
});
|
|
3789
3789
|
});
|
|
3790
3790
|
}
|
|
3791
|
-
var
|
|
3791
|
+
var Ct = function(e, t) {
|
|
3792
3792
|
if (e && t) {
|
|
3793
3793
|
var o = Array.isArray(t) ? t : t.split(",");
|
|
3794
3794
|
if (o.length === 0)
|
|
@@ -3801,20 +3801,20 @@ var yt = function(e, t) {
|
|
|
3801
3801
|
}
|
|
3802
3802
|
return !0;
|
|
3803
3803
|
};
|
|
3804
|
-
function
|
|
3805
|
-
return
|
|
3804
|
+
function io(e) {
|
|
3805
|
+
return os(e) || ts(e) || jo(e) || es();
|
|
3806
3806
|
}
|
|
3807
|
-
function
|
|
3807
|
+
function es() {
|
|
3808
3808
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3809
3809
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3810
3810
|
}
|
|
3811
|
-
function
|
|
3811
|
+
function ts(e) {
|
|
3812
3812
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3813
3813
|
}
|
|
3814
|
-
function
|
|
3814
|
+
function os(e) {
|
|
3815
3815
|
if (Array.isArray(e)) return St(e);
|
|
3816
3816
|
}
|
|
3817
|
-
function
|
|
3817
|
+
function ro(e, t) {
|
|
3818
3818
|
var o = Object.keys(e);
|
|
3819
3819
|
if (Object.getOwnPropertySymbols) {
|
|
3820
3820
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -3824,28 +3824,28 @@ function ao(e, t) {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
return o;
|
|
3826
3826
|
}
|
|
3827
|
-
function
|
|
3827
|
+
function so(e) {
|
|
3828
3828
|
for (var t = 1; t < arguments.length; t++) {
|
|
3829
3829
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
3830
|
-
t % 2 ?
|
|
3831
|
-
|
|
3832
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
3830
|
+
t % 2 ? ro(Object(o), !0).forEach(function(n) {
|
|
3831
|
+
Fo(e, n, o[n]);
|
|
3832
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : ro(Object(o)).forEach(function(n) {
|
|
3833
3833
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
3834
3834
|
});
|
|
3835
3835
|
}
|
|
3836
3836
|
return e;
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function Fo(e, t, o) {
|
|
3839
3839
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
3840
3840
|
}
|
|
3841
|
-
function
|
|
3842
|
-
return
|
|
3841
|
+
function Ue(e, t) {
|
|
3842
|
+
return is(e) || as(e, t) || jo(e, t) || ns();
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function ns() {
|
|
3845
3845
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3846
3846
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3847
3847
|
}
|
|
3848
|
-
function
|
|
3848
|
+
function jo(e, t) {
|
|
3849
3849
|
if (e) {
|
|
3850
3850
|
if (typeof e == "string") return St(e, t);
|
|
3851
3851
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3859,7 +3859,7 @@ function St(e, t) {
|
|
|
3859
3859
|
n[o] = e[o];
|
|
3860
3860
|
return n;
|
|
3861
3861
|
}
|
|
3862
|
-
function
|
|
3862
|
+
function as(e, t) {
|
|
3863
3863
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3864
3864
|
if (o != null) {
|
|
3865
3865
|
var n = [], a = !0, i = !1, r, s;
|
|
@@ -3878,101 +3878,101 @@ function ns(e, t) {
|
|
|
3878
3878
|
return n;
|
|
3879
3879
|
}
|
|
3880
3880
|
}
|
|
3881
|
-
function
|
|
3881
|
+
function is(e) {
|
|
3882
3882
|
if (Array.isArray(e)) return e;
|
|
3883
3883
|
}
|
|
3884
|
-
var
|
|
3885
|
-
FileInvalidType:
|
|
3886
|
-
FileTooLarge:
|
|
3887
|
-
FileTooSmall:
|
|
3888
|
-
},
|
|
3884
|
+
var rs = typeof Ct == "function" ? Ct : Ct.default, Ao = "file-invalid-type", Lo = "file-too-large", Do = "file-too-small", ss = "too-many-files", kt = {
|
|
3885
|
+
FileInvalidType: Ao,
|
|
3886
|
+
FileTooLarge: Lo,
|
|
3887
|
+
FileTooSmall: Do
|
|
3888
|
+
}, ps = function() {
|
|
3889
3889
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = t.split(","), n = o.length > 1 ? "one of ".concat(o.join(", ")) : o[0];
|
|
3890
3890
|
return {
|
|
3891
|
-
code:
|
|
3891
|
+
code: Ao,
|
|
3892
3892
|
message: "File type must be ".concat(n)
|
|
3893
3893
|
};
|
|
3894
|
-
},
|
|
3894
|
+
}, po = function(t) {
|
|
3895
3895
|
return {
|
|
3896
|
-
code:
|
|
3896
|
+
code: Lo,
|
|
3897
3897
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3898
3898
|
};
|
|
3899
|
-
},
|
|
3899
|
+
}, lo = function(t) {
|
|
3900
3900
|
return {
|
|
3901
|
-
code:
|
|
3901
|
+
code: Do,
|
|
3902
3902
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3903
3903
|
};
|
|
3904
|
-
},
|
|
3905
|
-
code:
|
|
3904
|
+
}, ls = {
|
|
3905
|
+
code: ss,
|
|
3906
3906
|
message: "Too many files"
|
|
3907
3907
|
};
|
|
3908
|
-
function
|
|
3909
|
-
var o = e.type === "application/x-moz-file" ||
|
|
3910
|
-
return [o, o ? null :
|
|
3908
|
+
function Po(e, t) {
|
|
3909
|
+
var o = e.type === "application/x-moz-file" || rs(e, t);
|
|
3910
|
+
return [o, o ? null : ps(t)];
|
|
3911
3911
|
}
|
|
3912
|
-
function
|
|
3912
|
+
function Oo(e, t, o) {
|
|
3913
3913
|
if (je(e.size))
|
|
3914
3914
|
if (je(t) && je(o)) {
|
|
3915
|
-
if (e.size > o) return [!1,
|
|
3916
|
-
if (e.size < t) return [!1,
|
|
3915
|
+
if (e.size > o) return [!1, po(o)];
|
|
3916
|
+
if (e.size < t) return [!1, lo(t)];
|
|
3917
3917
|
} else {
|
|
3918
|
-
if (je(t) && e.size < t) return [!1,
|
|
3919
|
-
if (je(o) && e.size > o) return [!1,
|
|
3918
|
+
if (je(t) && e.size < t) return [!1, lo(t)];
|
|
3919
|
+
if (je(o) && e.size > o) return [!1, po(o)];
|
|
3920
3920
|
}
|
|
3921
3921
|
return [!0, null];
|
|
3922
3922
|
}
|
|
3923
3923
|
function je(e) {
|
|
3924
3924
|
return e != null;
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function cs(e) {
|
|
3927
3927
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
3928
3928
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(c) {
|
|
3929
|
-
var
|
|
3929
|
+
var l = Po(c, o), u = Ue(l, 1), _ = u[0], g = Oo(c, n, a), x = Ue(g, 1), w = x[0], C = s ? s(c) : null;
|
|
3930
3930
|
return _ && w && !C;
|
|
3931
3931
|
});
|
|
3932
3932
|
}
|
|
3933
|
-
function
|
|
3933
|
+
function et(e) {
|
|
3934
3934
|
return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
|
|
3935
3935
|
}
|
|
3936
|
-
function
|
|
3936
|
+
function Ze(e) {
|
|
3937
3937
|
return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(t) {
|
|
3938
3938
|
return t === "Files" || t === "application/x-moz-file";
|
|
3939
3939
|
}) : !!e.target && !!e.target.files;
|
|
3940
3940
|
}
|
|
3941
|
-
function
|
|
3941
|
+
function co(e) {
|
|
3942
3942
|
e.preventDefault();
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function ds(e) {
|
|
3945
3945
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
3946
3946
|
}
|
|
3947
|
-
function
|
|
3947
|
+
function ms(e) {
|
|
3948
3948
|
return e.indexOf("Edge/") !== -1;
|
|
3949
3949
|
}
|
|
3950
|
-
function
|
|
3950
|
+
function us() {
|
|
3951
3951
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
3952
|
-
return
|
|
3952
|
+
return ds(e) || ms(e);
|
|
3953
3953
|
}
|
|
3954
|
-
function
|
|
3954
|
+
function Ne() {
|
|
3955
3955
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
3956
3956
|
t[o] = arguments[o];
|
|
3957
3957
|
return function(n) {
|
|
3958
3958
|
for (var a = arguments.length, i = new Array(a > 1 ? a - 1 : 0), r = 1; r < a; r++)
|
|
3959
3959
|
i[r - 1] = arguments[r];
|
|
3960
3960
|
return t.some(function(s) {
|
|
3961
|
-
return !
|
|
3961
|
+
return !et(n) && s && s.apply(void 0, [n].concat(i)), et(n);
|
|
3962
3962
|
});
|
|
3963
3963
|
};
|
|
3964
3964
|
}
|
|
3965
|
-
function
|
|
3965
|
+
function _s() {
|
|
3966
3966
|
return "showOpenFilePicker" in window;
|
|
3967
3967
|
}
|
|
3968
|
-
function
|
|
3968
|
+
function fs(e) {
|
|
3969
3969
|
if (je(e)) {
|
|
3970
3970
|
var t = Object.entries(e).filter(function(o) {
|
|
3971
|
-
var n =
|
|
3972
|
-
return
|
|
3971
|
+
var n = Ue(o, 2), a = n[0], i = n[1], r = !0;
|
|
3972
|
+
return Bo(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(Wo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
3973
3973
|
}).reduce(function(o, n) {
|
|
3974
|
-
var a =
|
|
3975
|
-
return
|
|
3974
|
+
var a = Ue(n, 2), i = a[0], r = a[1];
|
|
3975
|
+
return so(so({}, o), {}, Fo({}, i, r));
|
|
3976
3976
|
}, {});
|
|
3977
3977
|
return [{
|
|
3978
3978
|
// description is required due to https://crbug.com/1264708
|
|
@@ -3982,49 +3982,49 @@ function _s(e) {
|
|
|
3982
3982
|
}
|
|
3983
3983
|
return e;
|
|
3984
3984
|
}
|
|
3985
|
-
function
|
|
3985
|
+
function vs(e) {
|
|
3986
3986
|
if (je(e))
|
|
3987
3987
|
return Object.entries(e).reduce(function(t, o) {
|
|
3988
|
-
var n =
|
|
3989
|
-
return [].concat(
|
|
3988
|
+
var n = Ue(o, 2), a = n[0], i = n[1];
|
|
3989
|
+
return [].concat(io(t), [a], io(i));
|
|
3990
3990
|
}, []).filter(function(t) {
|
|
3991
|
-
return
|
|
3991
|
+
return Bo(t) || Wo(t);
|
|
3992
3992
|
}).join(",");
|
|
3993
3993
|
}
|
|
3994
|
-
function
|
|
3994
|
+
function gs(e) {
|
|
3995
3995
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3997
|
+
function xs(e) {
|
|
3998
3998
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
3999
3999
|
}
|
|
4000
|
-
function
|
|
4000
|
+
function Bo(e) {
|
|
4001
4001
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
4002
4002
|
}
|
|
4003
|
-
function
|
|
4003
|
+
function Wo(e) {
|
|
4004
4004
|
return /^.*\.[\w]+$/.test(e);
|
|
4005
4005
|
}
|
|
4006
|
-
var
|
|
4007
|
-
function
|
|
4008
|
-
return
|
|
4006
|
+
var hs = ["children"], bs = ["open"], ys = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ws = ["refKey", "onChange", "onClick"];
|
|
4007
|
+
function Cs(e) {
|
|
4008
|
+
return Ns(e) || Ts(e) || zo(e) || ks();
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4010
|
+
function ks() {
|
|
4011
4011
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4012
4012
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function Ts(e) {
|
|
4015
4015
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4017
|
+
function Ns(e) {
|
|
4018
4018
|
if (Array.isArray(e)) return Rt(e);
|
|
4019
4019
|
}
|
|
4020
|
-
function
|
|
4021
|
-
return Ss(e) ||
|
|
4020
|
+
function Tt(e, t) {
|
|
4021
|
+
return Ss(e) || Is(e, t) || zo(e, t) || Es();
|
|
4022
4022
|
}
|
|
4023
|
-
function
|
|
4023
|
+
function Es() {
|
|
4024
4024
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4025
4025
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4026
4026
|
}
|
|
4027
|
-
function
|
|
4027
|
+
function zo(e, t) {
|
|
4028
4028
|
if (e) {
|
|
4029
4029
|
if (typeof e == "string") return Rt(e, t);
|
|
4030
4030
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -4038,7 +4038,7 @@ function Rt(e, t) {
|
|
|
4038
4038
|
n[o] = e[o];
|
|
4039
4039
|
return n;
|
|
4040
4040
|
}
|
|
4041
|
-
function
|
|
4041
|
+
function Is(e, t) {
|
|
4042
4042
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4043
4043
|
if (o != null) {
|
|
4044
4044
|
var n = [], a = !0, i = !1, r, s;
|
|
@@ -4060,7 +4060,7 @@ function Es(e, t) {
|
|
|
4060
4060
|
function Ss(e) {
|
|
4061
4061
|
if (Array.isArray(e)) return e;
|
|
4062
4062
|
}
|
|
4063
|
-
function
|
|
4063
|
+
function mo(e, t) {
|
|
4064
4064
|
var o = Object.keys(e);
|
|
4065
4065
|
if (Object.getOwnPropertySymbols) {
|
|
4066
4066
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -4070,12 +4070,12 @@ function lo(e, t) {
|
|
|
4070
4070
|
}
|
|
4071
4071
|
return o;
|
|
4072
4072
|
}
|
|
4073
|
-
function
|
|
4073
|
+
function te(e) {
|
|
4074
4074
|
for (var t = 1; t < arguments.length; t++) {
|
|
4075
4075
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4076
|
-
t % 2 ?
|
|
4076
|
+
t % 2 ? mo(Object(o), !0).forEach(function(n) {
|
|
4077
4077
|
Ft(e, n, o[n]);
|
|
4078
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
4078
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : mo(Object(o)).forEach(function(n) {
|
|
4079
4079
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4080
4080
|
});
|
|
4081
4081
|
}
|
|
@@ -4084,7 +4084,7 @@ function ee(e) {
|
|
|
4084
4084
|
function Ft(e, t, o) {
|
|
4085
4085
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4086
4086
|
}
|
|
4087
|
-
function
|
|
4087
|
+
function tt(e, t) {
|
|
4088
4088
|
if (e == null) return {};
|
|
4089
4089
|
var o = Rs(e, t), n, a;
|
|
4090
4090
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -4101,20 +4101,20 @@ function Rs(e, t) {
|
|
|
4101
4101
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
4102
4102
|
return o;
|
|
4103
4103
|
}
|
|
4104
|
-
var
|
|
4105
|
-
var o = e.children, n =
|
|
4106
|
-
return
|
|
4104
|
+
var Ot = /* @__PURE__ */ Ko(function(e, t) {
|
|
4105
|
+
var o = e.children, n = tt(e, hs), a = Uo(n), i = a.open, r = tt(a, bs);
|
|
4106
|
+
return Xo(t, function() {
|
|
4107
4107
|
return {
|
|
4108
4108
|
open: i
|
|
4109
4109
|
};
|
|
4110
|
-
}, [i]), /* @__PURE__ */
|
|
4110
|
+
}, [i]), /* @__PURE__ */ $e.createElement(Zo, null, o(te(te({}, r), {}, {
|
|
4111
4111
|
open: i
|
|
4112
4112
|
})));
|
|
4113
4113
|
});
|
|
4114
|
-
|
|
4115
|
-
var
|
|
4114
|
+
Ot.displayName = "Dropzone";
|
|
4115
|
+
var Mo = {
|
|
4116
4116
|
disabled: !1,
|
|
4117
|
-
getFilesFromEvent:
|
|
4117
|
+
getFilesFromEvent: Hr,
|
|
4118
4118
|
maxSize: 1 / 0,
|
|
4119
4119
|
minSize: 0,
|
|
4120
4120
|
multiple: !0,
|
|
@@ -4128,8 +4128,8 @@ var Wo = {
|
|
|
4128
4128
|
useFsAccessApi: !1,
|
|
4129
4129
|
autoFocus: !1
|
|
4130
4130
|
};
|
|
4131
|
-
|
|
4132
|
-
|
|
4131
|
+
Ot.defaultProps = Mo;
|
|
4132
|
+
Ot.propTypes = {
|
|
4133
4133
|
/**
|
|
4134
4134
|
* Render function that exposes the dropzone state and prop getter fns
|
|
4135
4135
|
*
|
|
@@ -4306,187 +4306,187 @@ var jt = {
|
|
|
4306
4306
|
acceptedFiles: [],
|
|
4307
4307
|
fileRejections: []
|
|
4308
4308
|
};
|
|
4309
|
-
function
|
|
4310
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t =
|
|
4309
|
+
function Uo() {
|
|
4310
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, Mo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, _ = t.onDragOver, g = t.onDrop, x = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, T = t.onFileDialogOpen, O = t.useFsAccessApi, U = t.autoFocus, j = t.preventDropOnDocument, b = t.noClick, m = t.noKeyboard, N = t.noDrag, P = t.noDragEventsBubbling, B = t.onError, Z = t.validator, re = Pe(function() {
|
|
4311
|
+
return vs(o);
|
|
4312
|
+
}, [o]), se = Pe(function() {
|
|
4311
4313
|
return fs(o);
|
|
4312
|
-
}, [o]),
|
|
4313
|
-
return
|
|
4314
|
-
}, [
|
|
4315
|
-
return typeof
|
|
4316
|
-
}, [
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
if (J.current) {
|
|
4321
|
-
var L = J.current.files;
|
|
4314
|
+
}, [o]), ue = Pe(function() {
|
|
4315
|
+
return typeof T == "function" ? T : uo;
|
|
4316
|
+
}, [T]), ce = Pe(function() {
|
|
4317
|
+
return typeof C == "function" ? C : uo;
|
|
4318
|
+
}, [C]), G = me(null), ee = me(null), Q = Go(Fs, jt), k = Tt(Q, 2), q = k[0], z = k[1], d = q.isFocused, v = q.isFileDialogActive, E = me(typeof window < "u" && window.isSecureContext && O && _s()), A = function() {
|
|
4319
|
+
!E.current && v && setTimeout(function() {
|
|
4320
|
+
if (ee.current) {
|
|
4321
|
+
var L = ee.current.files;
|
|
4322
4322
|
L.length || (z({
|
|
4323
4323
|
type: "closeDialog"
|
|
4324
4324
|
}), ce());
|
|
4325
4325
|
}
|
|
4326
4326
|
}, 300);
|
|
4327
4327
|
};
|
|
4328
|
-
|
|
4329
|
-
return window.addEventListener("focus",
|
|
4330
|
-
window.removeEventListener("focus",
|
|
4328
|
+
ae(function() {
|
|
4329
|
+
return window.addEventListener("focus", A, !1), function() {
|
|
4330
|
+
window.removeEventListener("focus", A, !1);
|
|
4331
4331
|
};
|
|
4332
|
-
}, [
|
|
4333
|
-
var
|
|
4334
|
-
G.current && G.current.contains(L.target) || (L.preventDefault(),
|
|
4332
|
+
}, [ee, v, ce, E]);
|
|
4333
|
+
var I = me([]), D = function(L) {
|
|
4334
|
+
G.current && G.current.contains(L.target) || (L.preventDefault(), I.current = []);
|
|
4335
4335
|
};
|
|
4336
|
-
|
|
4337
|
-
return
|
|
4338
|
-
|
|
4336
|
+
ae(function() {
|
|
4337
|
+
return j && (document.addEventListener("dragover", co, !1), document.addEventListener("drop", D, !1)), function() {
|
|
4338
|
+
j && (document.removeEventListener("dragover", co), document.removeEventListener("drop", D));
|
|
4339
4339
|
};
|
|
4340
|
-
}, [G,
|
|
4341
|
-
return !n &&
|
|
4340
|
+
}, [G, j]), ae(function() {
|
|
4341
|
+
return !n && U && G.current && G.current.focus(), function() {
|
|
4342
4342
|
};
|
|
4343
|
-
}, [G,
|
|
4344
|
-
var
|
|
4345
|
-
|
|
4346
|
-
}, [
|
|
4347
|
-
y.preventDefault(), y.persist(),
|
|
4348
|
-
if (!(
|
|
4349
|
-
var oe = L.length,
|
|
4343
|
+
}, [G, U, n]);
|
|
4344
|
+
var F = xe(function(y) {
|
|
4345
|
+
B ? B(y) : console.error(y);
|
|
4346
|
+
}, [B]), W = xe(function(y) {
|
|
4347
|
+
y.preventDefault(), y.persist(), He(y), I.current = [].concat(Cs(I.current), [y.target]), Ze(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4348
|
+
if (!(et(y) && !P)) {
|
|
4349
|
+
var oe = L.length, pe = oe > 0 && cs({
|
|
4350
4350
|
files: L,
|
|
4351
|
-
accept:
|
|
4351
|
+
accept: re,
|
|
4352
4352
|
minSize: r,
|
|
4353
4353
|
maxSize: i,
|
|
4354
4354
|
multiple: s,
|
|
4355
4355
|
maxFiles: c,
|
|
4356
4356
|
validator: Z
|
|
4357
|
-
}), be = oe > 0 && !
|
|
4357
|
+
}), be = oe > 0 && !pe;
|
|
4358
4358
|
z({
|
|
4359
|
-
isDragAccept:
|
|
4359
|
+
isDragAccept: pe,
|
|
4360
4360
|
isDragReject: be,
|
|
4361
4361
|
isDragActive: !0,
|
|
4362
4362
|
type: "setDraggedFiles"
|
|
4363
|
-
}),
|
|
4363
|
+
}), l && l(y);
|
|
4364
4364
|
}
|
|
4365
4365
|
}).catch(function(L) {
|
|
4366
|
-
return
|
|
4366
|
+
return F(L);
|
|
4367
4367
|
});
|
|
4368
|
-
}, [a,
|
|
4369
|
-
y.preventDefault(), y.persist(),
|
|
4370
|
-
var L =
|
|
4368
|
+
}, [a, l, F, P, re, r, i, s, c, Z]), H = xe(function(y) {
|
|
4369
|
+
y.preventDefault(), y.persist(), He(y);
|
|
4370
|
+
var L = Ze(y);
|
|
4371
4371
|
if (L && y.dataTransfer)
|
|
4372
4372
|
try {
|
|
4373
4373
|
y.dataTransfer.dropEffect = "copy";
|
|
4374
4374
|
} catch {
|
|
4375
4375
|
}
|
|
4376
4376
|
return L && _ && _(y), !1;
|
|
4377
|
-
}, [_, P]), Y =
|
|
4378
|
-
y.preventDefault(), y.persist(),
|
|
4379
|
-
var L =
|
|
4380
|
-
return G.current && G.current.contains(
|
|
4377
|
+
}, [_, P]), Y = xe(function(y) {
|
|
4378
|
+
y.preventDefault(), y.persist(), He(y);
|
|
4379
|
+
var L = I.current.filter(function(pe) {
|
|
4380
|
+
return G.current && G.current.contains(pe);
|
|
4381
4381
|
}), oe = L.indexOf(y.target);
|
|
4382
|
-
oe !== -1 && L.splice(oe, 1),
|
|
4382
|
+
oe !== -1 && L.splice(oe, 1), I.current = L, !(L.length > 0) && (z({
|
|
4383
4383
|
type: "setDraggedFiles",
|
|
4384
4384
|
isDragActive: !1,
|
|
4385
4385
|
isDragAccept: !1,
|
|
4386
4386
|
isDragReject: !1
|
|
4387
|
-
}),
|
|
4388
|
-
}, [G, u, P]),
|
|
4389
|
-
var oe = [],
|
|
4387
|
+
}), Ze(y) && u && u(y));
|
|
4388
|
+
}, [G, u, P]), $ = xe(function(y, L) {
|
|
4389
|
+
var oe = [], pe = [];
|
|
4390
4390
|
y.forEach(function(be) {
|
|
4391
|
-
var
|
|
4392
|
-
if (
|
|
4391
|
+
var We = Po(be, re), De = Tt(We, 2), it = De[0], rt = De[1], st = Oo(be, r, i), Ve = Tt(st, 2), pt = Ve[0], lt = Ve[1], ct = Z ? Z(be) : null;
|
|
4392
|
+
if (it && pt && !ct)
|
|
4393
4393
|
oe.push(be);
|
|
4394
4394
|
else {
|
|
4395
|
-
var
|
|
4396
|
-
|
|
4395
|
+
var dt = [rt, lt];
|
|
4396
|
+
ct && (dt = dt.concat(ct)), pe.push({
|
|
4397
4397
|
file: be,
|
|
4398
|
-
errors:
|
|
4399
|
-
return
|
|
4398
|
+
errors: dt.filter(function(Vo) {
|
|
4399
|
+
return Vo;
|
|
4400
4400
|
})
|
|
4401
4401
|
});
|
|
4402
4402
|
}
|
|
4403
4403
|
}), (!s && oe.length > 1 || s && c >= 1 && oe.length > c) && (oe.forEach(function(be) {
|
|
4404
|
-
|
|
4404
|
+
pe.push({
|
|
4405
4405
|
file: be,
|
|
4406
|
-
errors: [
|
|
4406
|
+
errors: [ls]
|
|
4407
4407
|
});
|
|
4408
4408
|
}), oe.splice(0)), z({
|
|
4409
4409
|
acceptedFiles: oe,
|
|
4410
|
-
fileRejections:
|
|
4411
|
-
isDragReject:
|
|
4410
|
+
fileRejections: pe,
|
|
4411
|
+
isDragReject: pe.length > 0,
|
|
4412
4412
|
type: "setFiles"
|
|
4413
|
-
}), g && g(oe,
|
|
4414
|
-
}, [z, s,
|
|
4415
|
-
y.preventDefault(), y.persist(),
|
|
4416
|
-
|
|
4413
|
+
}), g && g(oe, pe, L), pe.length > 0 && w && w(pe, L), oe.length > 0 && x && x(oe, L);
|
|
4414
|
+
}, [z, s, re, r, i, c, g, x, w, Z]), ie = xe(function(y) {
|
|
4415
|
+
y.preventDefault(), y.persist(), He(y), I.current = [], Ze(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4416
|
+
et(y) && !P || $(L, y);
|
|
4417
4417
|
}).catch(function(L) {
|
|
4418
|
-
return
|
|
4418
|
+
return F(L);
|
|
4419
4419
|
}), z({
|
|
4420
4420
|
type: "reset"
|
|
4421
4421
|
});
|
|
4422
|
-
}, [a,
|
|
4423
|
-
if (
|
|
4422
|
+
}, [a, $, F, P]), h = xe(function() {
|
|
4423
|
+
if (E.current) {
|
|
4424
4424
|
z({
|
|
4425
4425
|
type: "openDialog"
|
|
4426
4426
|
}), ue();
|
|
4427
4427
|
var y = {
|
|
4428
4428
|
multiple: s,
|
|
4429
|
-
types:
|
|
4429
|
+
types: se
|
|
4430
4430
|
};
|
|
4431
4431
|
window.showOpenFilePicker(y).then(function(L) {
|
|
4432
4432
|
return a(L);
|
|
4433
4433
|
}).then(function(L) {
|
|
4434
|
-
|
|
4434
|
+
$(L, null), z({
|
|
4435
4435
|
type: "closeDialog"
|
|
4436
4436
|
});
|
|
4437
4437
|
}).catch(function(L) {
|
|
4438
|
-
|
|
4438
|
+
gs(L) ? (ce(L), z({
|
|
4439
4439
|
type: "closeDialog"
|
|
4440
|
-
})) :
|
|
4440
|
+
})) : xs(L) ? (E.current = !1, ee.current ? (ee.current.value = null, ee.current.click()) : F(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : F(L);
|
|
4441
4441
|
});
|
|
4442
4442
|
return;
|
|
4443
4443
|
}
|
|
4444
|
-
|
|
4444
|
+
ee.current && (z({
|
|
4445
4445
|
type: "openDialog"
|
|
4446
|
-
}), ue(),
|
|
4447
|
-
}, [z, ue, ce,
|
|
4448
|
-
!G.current || !G.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(),
|
|
4449
|
-
}, [G,
|
|
4446
|
+
}), ue(), ee.current.value = null, ee.current.click());
|
|
4447
|
+
}, [z, ue, ce, O, $, F, se, s]), he = xe(function(y) {
|
|
4448
|
+
!G.current || !G.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(), h());
|
|
4449
|
+
}, [G, h]), Se = xe(function() {
|
|
4450
4450
|
z({
|
|
4451
4451
|
type: "focus"
|
|
4452
4452
|
});
|
|
4453
|
-
}, []),
|
|
4453
|
+
}, []), Be = xe(function() {
|
|
4454
4454
|
z({
|
|
4455
4455
|
type: "blur"
|
|
4456
4456
|
});
|
|
4457
|
-
}, []),
|
|
4458
|
-
|
|
4459
|
-
}, [
|
|
4457
|
+
}, []), Bt = xe(function() {
|
|
4458
|
+
b || (us() ? setTimeout(h, 0) : h());
|
|
4459
|
+
}, [b, h]), Le = function(L) {
|
|
4460
4460
|
return n ? null : L;
|
|
4461
|
-
},
|
|
4462
|
-
return m ? null :
|
|
4463
|
-
}, $e = function(L) {
|
|
4464
|
-
return F ? null : Ae(L);
|
|
4461
|
+
}, at = function(L) {
|
|
4462
|
+
return m ? null : Le(L);
|
|
4465
4463
|
}, qe = function(L) {
|
|
4464
|
+
return N ? null : Le(L);
|
|
4465
|
+
}, He = function(L) {
|
|
4466
4466
|
P && L.stopPropagation();
|
|
4467
|
-
},
|
|
4467
|
+
}, $o = Pe(function() {
|
|
4468
4468
|
return function() {
|
|
4469
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L,
|
|
4470
|
-
return
|
|
4471
|
-
onKeyDown:
|
|
4472
|
-
onFocus:
|
|
4473
|
-
onBlur:
|
|
4474
|
-
onClick:
|
|
4475
|
-
onDragEnter:
|
|
4476
|
-
onDragOver:
|
|
4477
|
-
onDragLeave:
|
|
4478
|
-
onDrop:
|
|
4479
|
-
role: typeof
|
|
4469
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, pe = y.role, be = y.onKeyDown, We = y.onFocus, De = y.onBlur, it = y.onClick, rt = y.onDragEnter, st = y.onDragOver, Ve = y.onDragLeave, pt = y.onDrop, lt = tt(y, ys);
|
|
4470
|
+
return te(te(Ft({
|
|
4471
|
+
onKeyDown: at(Ne(be, he)),
|
|
4472
|
+
onFocus: at(Ne(We, Se)),
|
|
4473
|
+
onBlur: at(Ne(De, Be)),
|
|
4474
|
+
onClick: Le(Ne(it, Bt)),
|
|
4475
|
+
onDragEnter: qe(Ne(rt, W)),
|
|
4476
|
+
onDragOver: qe(Ne(st, H)),
|
|
4477
|
+
onDragLeave: qe(Ne(Ve, Y)),
|
|
4478
|
+
onDrop: qe(Ne(pt, ie)),
|
|
4479
|
+
role: typeof pe == "string" && pe !== "" ? pe : "presentation"
|
|
4480
4480
|
}, oe, G), !n && !m ? {
|
|
4481
4481
|
tabIndex: 0
|
|
4482
|
-
} : {}),
|
|
4482
|
+
} : {}), lt);
|
|
4483
4483
|
};
|
|
4484
|
-
}, [G, he, Se,
|
|
4484
|
+
}, [G, he, Se, Be, Bt, W, H, Y, ie, m, N, n]), qo = xe(function(y) {
|
|
4485
4485
|
y.stopPropagation();
|
|
4486
|
-
}, []),
|
|
4486
|
+
}, []), Ho = Pe(function() {
|
|
4487
4487
|
return function() {
|
|
4488
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L,
|
|
4489
|
-
accept:
|
|
4488
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, pe = y.onChange, be = y.onClick, We = tt(y, ws), De = Ft({
|
|
4489
|
+
accept: re,
|
|
4490
4490
|
multiple: s,
|
|
4491
4491
|
type: "file",
|
|
4492
4492
|
style: {
|
|
@@ -4501,116 +4501,116 @@ function zo() {
|
|
|
4501
4501
|
width: "1px",
|
|
4502
4502
|
whiteSpace: "nowrap"
|
|
4503
4503
|
},
|
|
4504
|
-
onChange:
|
|
4505
|
-
onClick:
|
|
4504
|
+
onChange: Le(Ne(pe, ie)),
|
|
4505
|
+
onClick: Le(Ne(be, qo)),
|
|
4506
4506
|
tabIndex: -1
|
|
4507
|
-
}, oe,
|
|
4508
|
-
return
|
|
4507
|
+
}, oe, ee);
|
|
4508
|
+
return te(te({}, De), We);
|
|
4509
4509
|
};
|
|
4510
|
-
}, [
|
|
4511
|
-
return
|
|
4510
|
+
}, [ee, o, s, ie, n]);
|
|
4511
|
+
return te(te({}, q), {}, {
|
|
4512
4512
|
isFocused: d && !n,
|
|
4513
|
-
getRootProps:
|
|
4514
|
-
getInputProps:
|
|
4513
|
+
getRootProps: $o,
|
|
4514
|
+
getInputProps: Ho,
|
|
4515
4515
|
rootRef: G,
|
|
4516
|
-
inputRef:
|
|
4517
|
-
open:
|
|
4516
|
+
inputRef: ee,
|
|
4517
|
+
open: Le(h)
|
|
4518
4518
|
});
|
|
4519
4519
|
}
|
|
4520
4520
|
function Fs(e, t) {
|
|
4521
4521
|
switch (t.type) {
|
|
4522
4522
|
case "focus":
|
|
4523
|
-
return
|
|
4523
|
+
return te(te({}, e), {}, {
|
|
4524
4524
|
isFocused: !0
|
|
4525
4525
|
});
|
|
4526
4526
|
case "blur":
|
|
4527
|
-
return
|
|
4527
|
+
return te(te({}, e), {}, {
|
|
4528
4528
|
isFocused: !1
|
|
4529
4529
|
});
|
|
4530
4530
|
case "openDialog":
|
|
4531
|
-
return
|
|
4531
|
+
return te(te({}, jt), {}, {
|
|
4532
4532
|
isFileDialogActive: !0
|
|
4533
4533
|
});
|
|
4534
4534
|
case "closeDialog":
|
|
4535
|
-
return
|
|
4535
|
+
return te(te({}, e), {}, {
|
|
4536
4536
|
isFileDialogActive: !1
|
|
4537
4537
|
});
|
|
4538
4538
|
case "setDraggedFiles":
|
|
4539
|
-
return
|
|
4539
|
+
return te(te({}, e), {}, {
|
|
4540
4540
|
isDragActive: t.isDragActive,
|
|
4541
4541
|
isDragAccept: t.isDragAccept,
|
|
4542
4542
|
isDragReject: t.isDragReject
|
|
4543
4543
|
});
|
|
4544
4544
|
case "setFiles":
|
|
4545
|
-
return
|
|
4545
|
+
return te(te({}, e), {}, {
|
|
4546
4546
|
acceptedFiles: t.acceptedFiles,
|
|
4547
4547
|
fileRejections: t.fileRejections,
|
|
4548
4548
|
isDragReject: t.isDragReject
|
|
4549
4549
|
});
|
|
4550
4550
|
case "reset":
|
|
4551
|
-
return
|
|
4551
|
+
return te({}, jt);
|
|
4552
4552
|
default:
|
|
4553
4553
|
return e;
|
|
4554
4554
|
}
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4556
|
+
function uo() {
|
|
4557
4557
|
}
|
|
4558
|
-
const js = (e) =>
|
|
4558
|
+
const js = (e) => Uo(e), As = (e) => {
|
|
4559
4559
|
switch (e.code) {
|
|
4560
|
-
case
|
|
4560
|
+
case kt.FileInvalidType:
|
|
4561
4561
|
return "Неверный формат файла";
|
|
4562
|
-
case
|
|
4563
|
-
case
|
|
4562
|
+
case kt.FileTooLarge:
|
|
4563
|
+
case kt.FileTooSmall:
|
|
4564
4564
|
return "Некорректный размер файла";
|
|
4565
4565
|
default:
|
|
4566
4566
|
return "";
|
|
4567
4567
|
}
|
|
4568
|
-
},
|
|
4568
|
+
}, Ls = (e) => {
|
|
4569
4569
|
var t;
|
|
4570
|
-
return
|
|
4571
|
-
},
|
|
4570
|
+
return Et(e) ? "" : (t = e.split(".").pop()) == null ? void 0 : t.toLowerCase();
|
|
4571
|
+
}, Ds = (e, t = {}) => {
|
|
4572
4572
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4573
4573
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4574
4574
|
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, c = n ? " " : "";
|
|
4575
4575
|
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + c + i[r];
|
|
4576
|
-
},
|
|
4577
|
-
ellipsisFileName:
|
|
4578
|
-
tooltipContent:
|
|
4579
|
-
},
|
|
4576
|
+
}, Ps = "_ellipsisFileName_qx34h_1", Os = "_tooltipContent_qx34h_7", _o = {
|
|
4577
|
+
ellipsisFileName: Ps,
|
|
4578
|
+
tooltipContent: Os
|
|
4579
|
+
}, Bs = (e) => {
|
|
4580
4580
|
const {
|
|
4581
4581
|
fileName: t,
|
|
4582
4582
|
classNameRoot: o,
|
|
4583
4583
|
type: n = "p2",
|
|
4584
4584
|
classNameEllipsisText: a,
|
|
4585
4585
|
classNameEllipsisFileNameRoot: i
|
|
4586
|
-
} = e, r = me(null), s = me(null), [c,
|
|
4587
|
-
r.current &&
|
|
4586
|
+
} = e, r = me(null), s = me(null), [c, l] = J(!1), [u, _] = J(0), g = () => {
|
|
4587
|
+
r.current && l(r.current.scrollWidth > r.current.clientWidth), s.current && _(s.current.offsetWidth);
|
|
4588
4588
|
};
|
|
4589
|
-
|
|
4589
|
+
Qo(() => (g(), window.addEventListener("resize", g), () => {
|
|
4590
4590
|
window.removeEventListener("resize", g);
|
|
4591
4591
|
}), [t]);
|
|
4592
|
-
const
|
|
4593
|
-
return /* @__PURE__ */
|
|
4592
|
+
const x = Ls(t);
|
|
4593
|
+
return /* @__PURE__ */ M(
|
|
4594
4594
|
"div",
|
|
4595
4595
|
{
|
|
4596
4596
|
className: f(
|
|
4597
|
-
|
|
4597
|
+
_o.ellipsisFileName,
|
|
4598
4598
|
i && i
|
|
4599
4599
|
),
|
|
4600
4600
|
children: [
|
|
4601
|
-
/* @__PURE__ */
|
|
4602
|
-
|
|
4601
|
+
/* @__PURE__ */ p(
|
|
4602
|
+
ot,
|
|
4603
4603
|
{
|
|
4604
4604
|
position: le.TopLeft,
|
|
4605
|
-
classNameBaseTooltipRoot:
|
|
4605
|
+
classNameBaseTooltipRoot: _o.tooltipContent,
|
|
4606
4606
|
styleTooltip: { maxWidth: c ? `calc(100% - ${u}px)` : "100%" },
|
|
4607
4607
|
classNameTooltip: o,
|
|
4608
4608
|
isVisibleTooltip: c,
|
|
4609
4609
|
text: t,
|
|
4610
|
-
trigger: /* @__PURE__ */
|
|
4610
|
+
trigger: /* @__PURE__ */ p(Te, { type: n, isEllipsis: !0, ref: r, classNameRoot: a, children: t })
|
|
4611
4611
|
}
|
|
4612
4612
|
),
|
|
4613
|
-
/* @__PURE__ */
|
|
4613
|
+
/* @__PURE__ */ p(
|
|
4614
4614
|
"div",
|
|
4615
4615
|
{
|
|
4616
4616
|
ref: s,
|
|
@@ -4620,48 +4620,48 @@ const js = (e) => zo(e), Is = (e) => {
|
|
|
4620
4620
|
pointerEvents: "none",
|
|
4621
4621
|
whiteSpace: "nowrap"
|
|
4622
4622
|
},
|
|
4623
|
-
children: /* @__PURE__ */
|
|
4623
|
+
children: /* @__PURE__ */ p(Te, { type: n, classNameRoot: a, children: x })
|
|
4624
4624
|
}
|
|
4625
4625
|
),
|
|
4626
|
-
c && /* @__PURE__ */
|
|
4626
|
+
c && /* @__PURE__ */ p(Te, { type: n, classNameRoot: a, children: x })
|
|
4627
4627
|
]
|
|
4628
4628
|
}
|
|
4629
4629
|
);
|
|
4630
|
-
},
|
|
4631
|
-
spUploadFiles:
|
|
4632
|
-
spUploadFiles_error:
|
|
4633
|
-
spUploadFiles__control:
|
|
4634
|
-
spUploadFiles__fileNameContainer:
|
|
4635
|
-
spUploadFiles__fileName_dragError:
|
|
4636
|
-
spUploadFiles__placeholderContainer:
|
|
4637
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4638
|
-
spUploadFiles__placeholderContainer_withUloadTooltip:
|
|
4639
|
-
spUploadFiles__placeholder:
|
|
4640
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4641
|
-
spUploadFiles__control_loading:
|
|
4642
|
-
shimmer:
|
|
4643
|
-
spUploadFiles__fileName:
|
|
4644
|
-
spUploadFiles_fileUploaded:
|
|
4645
|
-
spUploadFiles_disabled:
|
|
4646
|
-
spUploadFiles__fileNamesList:
|
|
4647
|
-
spUploadFiles__fileNamesList_loading:
|
|
4648
|
-
spUploadFiles__fileNamesListItem:
|
|
4649
|
-
spUploadFiles__fileNamesListItem__iconContainer:
|
|
4650
|
-
spUploadFiles__fileNamesListItem__iconContainer_error:
|
|
4651
|
-
spUploadFiles__fileNamesListItem__mainContent:
|
|
4652
|
-
spUploadFiles__fileNamesListItem__fileNameWrapper:
|
|
4653
|
-
spUploadFiles__fileNamesListItem__fileName:
|
|
4654
|
-
spUploadFiles__fileNamesListItem__description:
|
|
4655
|
-
spUploadFiles__fileNamesListItem__description__tooltipContent:
|
|
4656
|
-
spUploadFiles__fileNamesListItem__description_error:
|
|
4657
|
-
spUploadFiles__fileNamesListItemDelete:
|
|
4658
|
-
spUploadFiles__fileNamesListItemDelete_error:
|
|
4659
|
-
spUploadFiles__tooltipWrapper:
|
|
4660
|
-
spUploadFiles__tooltip:
|
|
4661
|
-
spUploadFiles__delete:
|
|
4662
|
-
spUploadFiles__delete_loading:
|
|
4663
|
-
spUploadFiles__error:
|
|
4664
|
-
},
|
|
4630
|
+
}, Ws = "_spUploadFiles_1i7hm_43", zs = "_spUploadFiles_error_1i7hm_50", Ms = "_spUploadFiles__control_1i7hm_50", Us = "_spUploadFiles__fileNameContainer_1i7hm_54", $s = "_spUploadFiles__fileName_dragError_1i7hm_58", qs = "_spUploadFiles__placeholderContainer_1i7hm_61", Hs = "_spUploadFiles__placeholderContainer_withUloadTooltip_1i7hm_71", Vs = "_spUploadFiles__placeholder_1i7hm_61", Ys = "_spUploadFiles__control_loading_1i7hm_103", Gs = "_shimmer_1i7hm_1", Ks = "_spUploadFiles__fileName_1i7hm_54", Xs = "_spUploadFiles_fileUploaded_1i7hm_150", Zs = "_spUploadFiles_disabled_1i7hm_150", Qs = "_spUploadFiles__fileNamesList_1i7hm_161", Js = "_spUploadFiles__fileNamesList_loading_1i7hm_172", ep = "_spUploadFiles__fileNamesListItem_1i7hm_177", tp = "_spUploadFiles__fileNamesListItem__iconContainer_1i7hm_204", op = "_spUploadFiles__fileNamesListItem__iconContainer_error_1i7hm_213", np = "_spUploadFiles__fileNamesListItem__mainContent_1i7hm_218", ap = "_spUploadFiles__fileNamesListItem__fileNameWrapper_1i7hm_225", ip = "_spUploadFiles__fileNamesListItem__fileName_1i7hm_225", rp = "_spUploadFiles__fileNamesListItem__description_1i7hm_232", sp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1i7hm_237", pp = "_spUploadFiles__fileNamesListItem__description_error_1i7hm_240", lp = "_spUploadFiles__fileNamesListItemDelete_1i7hm_243", cp = "_spUploadFiles__fileNamesListItemDelete_error_1i7hm_260", dp = "_spUploadFiles__tooltipWrapper_1i7hm_270", mp = "_spUploadFiles__tooltip_1i7hm_270", up = "_spUploadFiles__delete_1i7hm_276", _p = "_spUploadFiles__delete_loading_1i7hm_280", fp = "_spUploadFiles__error_1i7hm_289", V = {
|
|
4631
|
+
spUploadFiles: Ws,
|
|
4632
|
+
spUploadFiles_error: zs,
|
|
4633
|
+
spUploadFiles__control: Ms,
|
|
4634
|
+
spUploadFiles__fileNameContainer: Us,
|
|
4635
|
+
spUploadFiles__fileName_dragError: $s,
|
|
4636
|
+
spUploadFiles__placeholderContainer: qs,
|
|
4637
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1i7hm_64",
|
|
4638
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: Hs,
|
|
4639
|
+
spUploadFiles__placeholder: Vs,
|
|
4640
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1i7hm_86",
|
|
4641
|
+
spUploadFiles__control_loading: Ys,
|
|
4642
|
+
shimmer: Gs,
|
|
4643
|
+
spUploadFiles__fileName: Ks,
|
|
4644
|
+
spUploadFiles_fileUploaded: Xs,
|
|
4645
|
+
spUploadFiles_disabled: Zs,
|
|
4646
|
+
spUploadFiles__fileNamesList: Qs,
|
|
4647
|
+
spUploadFiles__fileNamesList_loading: Js,
|
|
4648
|
+
spUploadFiles__fileNamesListItem: ep,
|
|
4649
|
+
spUploadFiles__fileNamesListItem__iconContainer: tp,
|
|
4650
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: op,
|
|
4651
|
+
spUploadFiles__fileNamesListItem__mainContent: np,
|
|
4652
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: ap,
|
|
4653
|
+
spUploadFiles__fileNamesListItem__fileName: ip,
|
|
4654
|
+
spUploadFiles__fileNamesListItem__description: rp,
|
|
4655
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: sp,
|
|
4656
|
+
spUploadFiles__fileNamesListItem__description_error: pp,
|
|
4657
|
+
spUploadFiles__fileNamesListItemDelete: lp,
|
|
4658
|
+
spUploadFiles__fileNamesListItemDelete_error: cp,
|
|
4659
|
+
spUploadFiles__tooltipWrapper: dp,
|
|
4660
|
+
spUploadFiles__tooltip: mp,
|
|
4661
|
+
spUploadFiles__delete: up,
|
|
4662
|
+
spUploadFiles__delete_loading: _p,
|
|
4663
|
+
spUploadFiles__error: fp
|
|
4664
|
+
}, $p = (e) => {
|
|
4665
4665
|
const {
|
|
4666
4666
|
placeholder: t = "Загрузите файл",
|
|
4667
4667
|
variant: o = "input",
|
|
@@ -4671,221 +4671,290 @@ const js = (e) => zo(e), Is = (e) => {
|
|
|
4671
4671
|
disabled: r,
|
|
4672
4672
|
multiple: s,
|
|
4673
4673
|
files: c = [],
|
|
4674
|
-
infoTooltipText:
|
|
4674
|
+
infoTooltipText: l,
|
|
4675
4675
|
tooltipPosition: u = le.TopRight,
|
|
4676
4676
|
classNameRoot: _,
|
|
4677
4677
|
loading: g,
|
|
4678
|
-
error:
|
|
4679
|
-
} = e, [w, C] =
|
|
4680
|
-
(v,
|
|
4681
|
-
const
|
|
4678
|
+
error: x
|
|
4679
|
+
} = e, [w, C] = J([]), T = xe(
|
|
4680
|
+
(v, E) => {
|
|
4681
|
+
const A = E.map(({ file: D, errors: F }) => ({
|
|
4682
4682
|
file: D,
|
|
4683
|
-
errors:
|
|
4683
|
+
errors: F
|
|
4684
4684
|
}));
|
|
4685
|
-
if (C([...
|
|
4685
|
+
if (C([...A, ...w]), !s) {
|
|
4686
4686
|
a(v, n);
|
|
4687
4687
|
return;
|
|
4688
4688
|
}
|
|
4689
|
-
const
|
|
4690
|
-
a(
|
|
4689
|
+
const I = [...c, ...v];
|
|
4690
|
+
a(I, n);
|
|
4691
4691
|
},
|
|
4692
4692
|
[w, c, s, n, a]
|
|
4693
|
-
), { getRootProps:
|
|
4693
|
+
), { getRootProps: O, getInputProps: U, isDragReject: j } = js({
|
|
4694
4694
|
accept: i,
|
|
4695
|
-
onDrop:
|
|
4695
|
+
onDrop: T,
|
|
4696
4696
|
multiple: s,
|
|
4697
4697
|
disabled: r
|
|
4698
|
-
}), [
|
|
4699
|
-
|
|
4700
|
-
m(
|
|
4701
|
-
}, [
|
|
4702
|
-
const
|
|
4698
|
+
}), [b, m] = J(j);
|
|
4699
|
+
ae(() => {
|
|
4700
|
+
m(j);
|
|
4701
|
+
}, [j]);
|
|
4702
|
+
const N = [...c.map((v) => ({ file: v, errors: null })), ...w], P = (N == null ? void 0 : N.length) > 0 || (w == null ? void 0 : w.length) > 0, B = o === "input", Z = f({
|
|
4703
4703
|
[V.spUploadFiles]: !0,
|
|
4704
4704
|
[V[`spUploadFiles--variant-${o}`]]: o,
|
|
4705
|
-
[V.spUploadFiles_error]:
|
|
4705
|
+
[V.spUploadFiles_error]: b && !s && x && x.length > 0,
|
|
4706
4706
|
[V.spUploadFiles_disabled]: r,
|
|
4707
4707
|
[V.spUploadFiles_fileUploaded]: P,
|
|
4708
4708
|
..._ && { [_]: !0 }
|
|
4709
|
-
}),
|
|
4709
|
+
}), re = f({
|
|
4710
4710
|
[V.spUploadFiles__control]: !0,
|
|
4711
4711
|
[V.spUploadFiles__control_loading]: g
|
|
4712
|
-
}),
|
|
4712
|
+
}), se = f({
|
|
4713
4713
|
[V.spUploadFiles__fileNamesList]: !0,
|
|
4714
4714
|
[V.spUploadFiles__fileNamesList_loading]: g
|
|
4715
4715
|
}), ue = f({
|
|
4716
4716
|
[V.spUploadFiles__delete]: !0,
|
|
4717
4717
|
[V.spUploadFiles__delete_loading]: g
|
|
4718
|
-
}), ce = (v,
|
|
4718
|
+
}), ce = (v, E) => {
|
|
4719
4719
|
if (g)
|
|
4720
4720
|
return;
|
|
4721
|
-
if (
|
|
4722
|
-
const D = [...w],
|
|
4723
|
-
D.splice(
|
|
4721
|
+
if (E) {
|
|
4722
|
+
const D = [...w], F = D.findIndex((W) => W.file.name === v);
|
|
4723
|
+
D.splice(F, 1), C(D);
|
|
4724
4724
|
return;
|
|
4725
4725
|
}
|
|
4726
|
-
const
|
|
4727
|
-
|
|
4726
|
+
const A = [...c], I = A.findIndex((D) => D.name === v);
|
|
4727
|
+
A.splice(I, 1), a(A, n);
|
|
4728
4728
|
}, G = (v) => {
|
|
4729
4729
|
v.stopPropagation(), a([], n), C([]), m(!1);
|
|
4730
|
-
},
|
|
4731
|
-
if (
|
|
4732
|
-
const v =
|
|
4733
|
-
return /* @__PURE__ */
|
|
4734
|
-
|
|
4730
|
+
}, ee = (v) => Object.values(v).flatMap((E) => E.map((A) => A.toUpperCase())).join(", "), Q = () => {
|
|
4731
|
+
if (b) {
|
|
4732
|
+
const v = ee(i);
|
|
4733
|
+
return /* @__PURE__ */ p(
|
|
4734
|
+
Ge,
|
|
4735
4735
|
{
|
|
4736
4736
|
text: `Неверный формат файла. Загрузите файл в формате ${v}`,
|
|
4737
4737
|
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4738
4738
|
classNameRoot: f(
|
|
4739
4739
|
V.spUploadFiles__fileName,
|
|
4740
|
-
|
|
4740
|
+
b && V.spUploadFiles__fileName_dragError
|
|
4741
4741
|
)
|
|
4742
4742
|
}
|
|
4743
4743
|
);
|
|
4744
4744
|
}
|
|
4745
|
-
return /* @__PURE__ */
|
|
4746
|
-
|
|
4745
|
+
return /* @__PURE__ */ p(
|
|
4746
|
+
Ge,
|
|
4747
4747
|
{
|
|
4748
|
-
text:
|
|
4748
|
+
text: N[0].file.name,
|
|
4749
4749
|
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4750
4750
|
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4751
4751
|
}
|
|
4752
4752
|
);
|
|
4753
|
-
}, k = () => /* @__PURE__ */
|
|
4754
|
-
const
|
|
4755
|
-
return /* @__PURE__ */
|
|
4753
|
+
}, k = () => /* @__PURE__ */ p("ul", { className: se, children: N.map(({ file: v, errors: E }, A) => {
|
|
4754
|
+
const I = E ? (E == null ? void 0 : E.length) > 0 : void 0, D = () => E ? E == null ? void 0 : E.map(As).join(", ") : "";
|
|
4755
|
+
return /* @__PURE__ */ M(
|
|
4756
4756
|
"li",
|
|
4757
4757
|
{
|
|
4758
4758
|
className: f(
|
|
4759
4759
|
V.spUploadFiles__fileNamesListItem,
|
|
4760
|
-
|
|
4760
|
+
I && V.spUploadFiles__fileNamesListItem_error
|
|
4761
4761
|
),
|
|
4762
|
-
onClick: (
|
|
4763
|
-
|
|
4762
|
+
onClick: (F) => {
|
|
4763
|
+
F.stopPropagation();
|
|
4764
4764
|
},
|
|
4765
4765
|
children: [
|
|
4766
|
-
/* @__PURE__ */
|
|
4766
|
+
/* @__PURE__ */ p(
|
|
4767
4767
|
"div",
|
|
4768
4768
|
{
|
|
4769
4769
|
className: f(
|
|
4770
4770
|
V.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4771
|
-
|
|
4771
|
+
I && V.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4772
4772
|
),
|
|
4773
|
-
children: /* @__PURE__ */
|
|
4773
|
+
children: /* @__PURE__ */ p(ve, { name: I ? ne.InfoError : ne.File })
|
|
4774
4774
|
}
|
|
4775
4775
|
),
|
|
4776
|
-
/* @__PURE__ */
|
|
4777
|
-
/* @__PURE__ */
|
|
4778
|
-
|
|
4776
|
+
/* @__PURE__ */ M("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4777
|
+
/* @__PURE__ */ p(
|
|
4778
|
+
Bs,
|
|
4779
4779
|
{
|
|
4780
4780
|
fileName: v.name,
|
|
4781
4781
|
classNameEllipsisFileNameRoot: V.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4782
4782
|
classNameEllipsisText: V.spUploadFiles__fileNamesListItem__fileName
|
|
4783
4783
|
}
|
|
4784
4784
|
),
|
|
4785
|
-
/* @__PURE__ */
|
|
4786
|
-
|
|
4785
|
+
/* @__PURE__ */ p(
|
|
4786
|
+
Ge,
|
|
4787
4787
|
{
|
|
4788
|
-
text:
|
|
4788
|
+
text: I ? D() : Ds(v.size),
|
|
4789
4789
|
classNameBaseTooltipRoot: V.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4790
4790
|
classNameRoot: f(
|
|
4791
4791
|
V.spUploadFiles__fileNamesListItem__description,
|
|
4792
|
-
|
|
4792
|
+
I && V.spUploadFiles__fileNamesListItem__description_error
|
|
4793
4793
|
)
|
|
4794
4794
|
}
|
|
4795
4795
|
)
|
|
4796
4796
|
] }),
|
|
4797
|
-
/* @__PURE__ */
|
|
4797
|
+
/* @__PURE__ */ p(
|
|
4798
4798
|
"div",
|
|
4799
4799
|
{
|
|
4800
4800
|
className: f(V.spUploadFiles__fileNamesListItemDelete),
|
|
4801
|
-
onClick: (
|
|
4802
|
-
|
|
4801
|
+
onClick: (F) => {
|
|
4802
|
+
F.stopPropagation(), ce(v.name, I);
|
|
4803
4803
|
},
|
|
4804
|
-
children: /* @__PURE__ */
|
|
4804
|
+
children: /* @__PURE__ */ p(ve, { name: ne.Close })
|
|
4805
4805
|
}
|
|
4806
4806
|
)
|
|
4807
4807
|
]
|
|
4808
4808
|
},
|
|
4809
|
-
|
|
4809
|
+
A
|
|
4810
4810
|
);
|
|
4811
|
-
}) }), q = () => s ? k() : Q(), z = () => /* @__PURE__ */
|
|
4812
|
-
|
|
4811
|
+
}) }), q = () => s ? k() : Q(), z = () => /* @__PURE__ */ p(
|
|
4812
|
+
Ge,
|
|
4813
4813
|
{
|
|
4814
4814
|
classNameRoot: V.spUploadFiles__placeholder,
|
|
4815
4815
|
classNameTooltipRoot: f(
|
|
4816
4816
|
V.spUploadFiles__placeholderContainer,
|
|
4817
|
-
!!
|
|
4817
|
+
!!l && V.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4818
4818
|
),
|
|
4819
4819
|
text: t
|
|
4820
4820
|
}
|
|
4821
|
-
), d = () => /* @__PURE__ */
|
|
4821
|
+
), d = () => /* @__PURE__ */ M(fo, { children: [
|
|
4822
4822
|
P ? q() : z(),
|
|
4823
|
-
P &&
|
|
4824
|
-
|
|
4823
|
+
P && B ? /* @__PURE__ */ p("div", { className: ue, onClick: G, children: /* @__PURE__ */ p(ve, { name: ne.Close }) }) : B && l && /* @__PURE__ */ p(
|
|
4824
|
+
nt,
|
|
4825
4825
|
{
|
|
4826
4826
|
classNameTooltip: V.spUploadFiles__tooltipWrapper,
|
|
4827
4827
|
position: u,
|
|
4828
|
-
text:
|
|
4828
|
+
text: l,
|
|
4829
4829
|
classNameTriggerTooltip: V.spUploadFiles__tooltip
|
|
4830
4830
|
}
|
|
4831
4831
|
)
|
|
4832
4832
|
] });
|
|
4833
|
-
return /* @__PURE__ */
|
|
4833
|
+
return /* @__PURE__ */ p(
|
|
4834
4834
|
Fa,
|
|
4835
4835
|
{
|
|
4836
|
-
getRootProps:
|
|
4837
|
-
getInputProps:
|
|
4836
|
+
getRootProps: O,
|
|
4837
|
+
getInputProps: U,
|
|
4838
4838
|
disabled: r,
|
|
4839
4839
|
name: n,
|
|
4840
|
-
children: /* @__PURE__ */
|
|
4841
|
-
/* @__PURE__ */
|
|
4842
|
-
|
|
4843
|
-
|
|
4840
|
+
children: /* @__PURE__ */ M("div", { className: Z, children: [
|
|
4841
|
+
/* @__PURE__ */ M("div", { className: re, children: [
|
|
4842
|
+
B && (g ? /* @__PURE__ */ p(At, {}) : /* @__PURE__ */ p(
|
|
4843
|
+
ve,
|
|
4844
4844
|
{
|
|
4845
|
-
name: P ?
|
|
4845
|
+
name: P ? ne.Check : ne.Upload,
|
|
4846
4846
|
style: { flexShrink: 0 }
|
|
4847
4847
|
}
|
|
4848
4848
|
)),
|
|
4849
4849
|
d()
|
|
4850
4850
|
] }),
|
|
4851
|
-
|
|
4851
|
+
x && /* @__PURE__ */ p("div", { className: V.spUploadFiles__error, children: x })
|
|
4852
4852
|
] })
|
|
4853
4853
|
}
|
|
4854
4854
|
);
|
|
4855
|
+
}, vp = "_viewImage_r6txf_43", gp = "_viewImage__img_r6txf_66", xp = "_viewImage__img_loading_r6txf_79", hp = "_viewImage__img_error_r6txf_82", bp = "_viewImage__spinner_r6txf_85", yp = "_viewImage__errorWrapper_r6txf_92", wp = "_viewImage__errorIcon_r6txf_107", Cp = "_viewImage__layer_r6txf_112", kp = "_viewImage__closeButton_r6txf_117", Ee = {
|
|
4856
|
+
viewImage: vp,
|
|
4857
|
+
viewImage__img: gp,
|
|
4858
|
+
viewImage__img_loading: xp,
|
|
4859
|
+
viewImage__img_error: hp,
|
|
4860
|
+
viewImage__spinner: bp,
|
|
4861
|
+
viewImage__errorWrapper: yp,
|
|
4862
|
+
viewImage__errorIcon: wp,
|
|
4863
|
+
viewImage__layer: Cp,
|
|
4864
|
+
viewImage__closeButton: kp
|
|
4865
|
+
}, qp = (e) => {
|
|
4866
|
+
const {
|
|
4867
|
+
classNameRoot: t,
|
|
4868
|
+
classNameImageRoot: o,
|
|
4869
|
+
src: n,
|
|
4870
|
+
onLoad: a,
|
|
4871
|
+
onError: i,
|
|
4872
|
+
fallbackSrc: r,
|
|
4873
|
+
showLoader: s = !0,
|
|
4874
|
+
onClose: c
|
|
4875
|
+
} = e, [l, u] = J(!0), [_, g] = J(!1), [x, w] = J(n), C = f({
|
|
4876
|
+
[Ee.viewImage]: !0,
|
|
4877
|
+
...t && { [t]: !0 }
|
|
4878
|
+
}), T = f({
|
|
4879
|
+
[Ee.viewImage__layer]: !0
|
|
4880
|
+
}), O = f({
|
|
4881
|
+
[Ee.viewImage__closeButton]: !0
|
|
4882
|
+
}), U = f({
|
|
4883
|
+
[Ee.viewImage__spinner]: !0
|
|
4884
|
+
}), j = f(Ee.viewImage__img, {
|
|
4885
|
+
[Ee.viewImage__img_loading]: l,
|
|
4886
|
+
[Ee.viewImage__img_error]: _,
|
|
4887
|
+
...o && { [o]: !0 }
|
|
4888
|
+
});
|
|
4889
|
+
return /* @__PURE__ */ M(yo, { classNameRoot: T, children: [
|
|
4890
|
+
s && l && /* @__PURE__ */ p(At, { classNameRoot: U, size: "xl" }),
|
|
4891
|
+
/* @__PURE__ */ M("div", { className: C, children: [
|
|
4892
|
+
/* @__PURE__ */ p(
|
|
4893
|
+
"img",
|
|
4894
|
+
{
|
|
4895
|
+
className: j,
|
|
4896
|
+
src: x,
|
|
4897
|
+
alt: "someImage",
|
|
4898
|
+
onLoad: (N) => {
|
|
4899
|
+
u(!1), a == null || a(N);
|
|
4900
|
+
},
|
|
4901
|
+
onError: (N) => {
|
|
4902
|
+
u(!1), g(!0), r && x !== r && (w(r), g(!1), u(!0)), i == null || i(N);
|
|
4903
|
+
}
|
|
4904
|
+
}
|
|
4905
|
+
),
|
|
4906
|
+
_ && /* @__PURE__ */ M("div", { className: Ee.viewImage__errorWrapper, children: [
|
|
4907
|
+
/* @__PURE__ */ p(ve, { name: ne.InfoError, className: Ee.viewImage__errorIcon }),
|
|
4908
|
+
/* @__PURE__ */ p(Te, { children: "Не удалось загрузить изображение" })
|
|
4909
|
+
] })
|
|
4910
|
+
] }),
|
|
4911
|
+
/* @__PURE__ */ p(
|
|
4912
|
+
Qe,
|
|
4913
|
+
{
|
|
4914
|
+
classNameRoot: O,
|
|
4915
|
+
onClick: c,
|
|
4916
|
+
variant: "link",
|
|
4917
|
+
isOnlyIcon: !0,
|
|
4918
|
+
color: "white",
|
|
4919
|
+
iconName: ne.Close
|
|
4920
|
+
}
|
|
4921
|
+
)
|
|
4922
|
+
] });
|
|
4855
4923
|
};
|
|
4856
4924
|
export {
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4925
|
+
Ip as Accordion,
|
|
4926
|
+
Qn as ApplyButtons,
|
|
4927
|
+
xo as BaseTooltip,
|
|
4928
|
+
Qe as Button,
|
|
4929
|
+
Sp as Checkbox,
|
|
4930
|
+
Fp as Confirm,
|
|
4931
|
+
jp as ContextMenu,
|
|
4864
4932
|
Fa as DefaultDropzone,
|
|
4865
|
-
|
|
4866
|
-
|
|
4933
|
+
Ap as Dropdown,
|
|
4934
|
+
ne as EIconName,
|
|
4867
4935
|
le as ETooltipPosition,
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4936
|
+
Ge as EllipsisTextWithTooltip,
|
|
4937
|
+
Lp as Form,
|
|
4938
|
+
ve as Icon,
|
|
4939
|
+
nt as InfoTooltip,
|
|
4940
|
+
si as Input,
|
|
4941
|
+
Lt as Label,
|
|
4942
|
+
yo as Layer,
|
|
4943
|
+
pi as MediaContext,
|
|
4944
|
+
Pp as MediaContextProvider,
|
|
4945
|
+
Ea as Modal,
|
|
4946
|
+
bo as Portal,
|
|
4947
|
+
Op as ProgressWrapper,
|
|
4948
|
+
Bp as Select,
|
|
4949
|
+
Wp as Skeleton,
|
|
4950
|
+
At as Spinner,
|
|
4951
|
+
zp as Table,
|
|
4952
|
+
Mp as Tabs,
|
|
4953
|
+
Te as Text,
|
|
4954
|
+
Up as TextWithLabel,
|
|
4955
|
+
ot as Tooltip,
|
|
4956
|
+
$p as UploadFiles,
|
|
4957
|
+
qp as ViewImageModal,
|
|
4958
|
+
Xi as useAnimatedValue,
|
|
4959
|
+
Rp as useModal
|
|
4891
4960
|
};
|