test-stpr-ui-kit 0.5.0 → 0.5.1
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/test-stpr-ui-kit.es.d.ts +8 -1
- package/dist/test-stpr-ui-kit.js +1142 -1130
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as O, jsx as c, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import qe, { useState as
|
|
1
|
+
import { jsxs as O, jsx as c, Fragment as At } from "react/jsx-runtime";
|
|
2
|
+
import * as C from "react";
|
|
3
|
+
import qe, { useState as ee, useEffect as re, useRef as de, useCallback as xe, useLayoutEffect as go, createContext as xo, useContext as Xo, useMemo as Be, useReducer as Zo, forwardRef as Qo, useImperativeHandle as Jo, Fragment as en } from "react";
|
|
4
4
|
import tn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function ho(e) {
|
|
6
6
|
var t, o, n = "";
|
|
@@ -15,55 +15,62 @@ function f() {
|
|
|
15
15
|
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = ho(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
|
-
const on = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), nn = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), an = (e) => /* @__PURE__ */ S.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__ */ S.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__ */ S.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 })), rn = (e) => /* @__PURE__ */ S.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__ */ S.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__ */ S.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" })), sn = (e) => /* @__PURE__ */ S.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__ */ S.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ S.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ S.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), pn = (e) => /* @__PURE__ */ S.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__ */ S.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" })), ln = (e) => /* @__PURE__ */ S.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__ */ S.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" })), cn = (e) => /* @__PURE__ */ S.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__ */ S.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__ */ S.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), dn = (e) => /* @__PURE__ */ S.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__ */ S.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__ */ S.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), un = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), _n = (e) => /* @__PURE__ */ S.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__ */ S.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" })), fn = (e) => /* @__PURE__ */ S.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__ */ S.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__ */ S.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), gn = (e) => /* @__PURE__ */ S.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__ */ S.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" })), xn = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), hn = (e) => /* @__PURE__ */ S.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__ */ S.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__ */ S.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), bn = (e) => /* @__PURE__ */ S.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__ */ S.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ S.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ve = (e) => {
|
|
18
|
+
const on = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M10.4058 21.6H5.6058C4.28031 21.6 3.2058 20.5254 3.20581 19.2L3.2059 4.80001C3.20591 3.47453 4.28043 2.40002 5.6059 2.40002H16.4062C17.7317 2.40002 18.8062 3.47454 18.8062 4.80002V11.4M17.3999 21.1882V17.7941M17.3999 17.7941V14.4M17.3999 17.7941L14.0058 17.7941M17.3999 17.7941L20.794 17.7941M7.40619 7.20002H14.6062M7.40619 10.8H14.6062M7.40619 14.4H11.0062", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), nn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12.5 15.5H8C6.60444 15.5 5.90665 15.5 5.33886 15.6722C4.06045 16.06 3.06004 17.0605 2.67224 18.3389C2.5 18.9067 2.5 19.6044 2.5 21M19.5 21V15M16.5 18H22.5M15 7.5C15 9.98528 12.9853 12 10.5 12C8.01472 12 6 9.98528 6 7.5C6 5.01472 8.01472 3 10.5 3C12.9853 3 15 5.01472 15 7.5Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), rn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), sn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.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 })), pn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.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" })), ln = (e) => /* @__PURE__ */ C.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__ */ C.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), cn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M19.5 14V17.3333C19.5 17.7754 19.3244 18.1993 19.0118 18.5118C18.6993 18.8244 18.2754 19 17.8333 19H6.16667C5.72464 19 5.30072 18.8244 4.98816 18.5118C4.67559 18.1993 4.5 17.7754 4.5 17.3333V14", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M7.83325 9.83333L11.9999 14L16.1666 9.83333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 14V3.99995", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), dn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M13.9487 6.9516L17.5487 10.5516M4.94873 19.5516L9.31472 18.6719C9.54649 18.6252 9.75931 18.511 9.92645 18.3438L19.7001 8.56478C20.1687 8.09593 20.1684 7.33594 19.6994 6.86748L17.629 4.7994C17.1602 4.33113 16.4006 4.33145 15.9322 4.80011L6.15749 14.5802C5.99068 14.7471 5.87678 14.9595 5.83003 15.1908L4.94873 19.5516Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ C.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__ */ C.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" })), un = (e) => /* @__PURE__ */ C.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__ */ C.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" })), _n = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 15L15 12M15 12L12 9M15 12H4M9 7.24859V7.2002C9 6.08009 9 5.51962 9.21799 5.0918C9.40973 4.71547 9.71547 4.40973 10.0918 4.21799C10.5196 4 11.0801 4 12.2002 4H16.8002C17.9203 4 18.4796 4 18.9074 4.21799C19.2837 4.40973 19.5905 4.71547 19.7822 5.0918C20 5.5192 20 6.07899 20 7.19691V16.8036C20 17.9215 20 18.4805 19.7822 18.9079C19.5905 19.2842 19.2837 19.5905 18.9074 19.7822C18.48 20 17.921 20 16.8031 20H12.1969C11.079 20 10.5192 20 10.0918 19.7822C9.71547 19.5905 9.40973 19.2839 9.21799 18.9076C9 18.4798 9 17.9201 9 16.8V16.75", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), gn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), hn = (e) => /* @__PURE__ */ C.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__ */ C.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" })), bn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), yn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M4.5 10.2222C4.5 10.2222 6.18841 7.79397 7.56007 6.34511C8.93174 4.89624 10.8272 4 12.9211 4C17.1068 4 20.5 7.58172 20.5 12C20.5 16.4183 17.1068 20 12.9211 20C9.46582 20 6.55062 17.5594 5.63833 14.2222M4.5 10.2222V4.88889M4.5 10.2222H9.55263", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), wn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M16.4444 20L7.55556 19.9998M16.4444 20L17.1583 19.9998C18.152 19.9998 18.6489 19.9998 19.0288 19.8063C19.3633 19.6358 19.636 19.3637 19.8064 19.0292C20 18.6493 20 18.1519 20 17.1582V9.52843C20 9.12948 20 8.92902 19.9575 8.73866C19.9195 8.56884 19.8571 8.40575 19.7717 8.25413C19.677 8.08595 19.544 7.93822 19.2826 7.64777L16.8335 4.92658C16.5306 4.58998 16.377 4.41938 16.1927 4.29687C16.0269 4.18667 15.8438 4.10541 15.6509 4.05588C15.4333 4 15.1998 4 14.7334 4H6.84462C5.84897 4 5.35077 4 4.97049 4.19376C4.63598 4.3642 4.36421 4.63597 4.19377 4.97048C4 5.35076 4 5.84895 4 6.84459V17.1556C4 18.1512 4 18.6484 4.19377 19.0286C4.36421 19.3631 4.63598 19.6358 4.97049 19.8063C5.3504 19.9998 5.84799 19.9998 6.8417 19.9998H7.55556M16.4444 20V16.6193C16.4444 15.6256 16.4444 15.1281 16.2509 14.7481C16.0804 14.4136 15.8077 14.1419 15.4732 13.9714C15.093 13.7777 14.5958 13.7777 13.6002 13.7777H10.4002C9.40452 13.7777 8.90633 13.7777 8.52604 13.9714C8.19153 14.1419 7.91976 14.4136 7.74932 14.7481C7.55556 15.1284 7.55556 15.6266 7.55556 16.6223V19.9998M14.6667 7.55552H9.33333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Cn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), kn = (e) => /* @__PURE__ */ C.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__ */ C.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" })), Tn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Nn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), En = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ C.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" }));
|
|
19
|
+
var B = /* @__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.Save = "save", e.Refresh = "refresh", e.Logout = "logout", e.Edit = "edit", e.Download = "download", e.AddUser = "addUser", e.AddFile = "addFile", e))(B || {});
|
|
20
|
+
const ve = (e) => {
|
|
19
21
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
20
22
|
...n.style,
|
|
21
23
|
transform: o ? `rotate(${o}deg)` : ""
|
|
22
24
|
}, i = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
25
|
+
[B.ChevronDown]: rn,
|
|
26
|
+
[B.Info]: _n,
|
|
27
|
+
[B.Plus]: xn,
|
|
28
|
+
[B.Minus]: gn,
|
|
29
|
+
[B.SelectChevronDown]: Cn,
|
|
30
|
+
[B.Upload]: Nn,
|
|
31
|
+
[B.Trash]: Tn,
|
|
32
|
+
[B.Check]: an,
|
|
33
|
+
[B.Copy]: pn,
|
|
34
|
+
[B.Close]: sn,
|
|
35
|
+
[B.PlusSquare]: bn,
|
|
36
|
+
[B.WarningColor]: En,
|
|
37
|
+
[B.Dots]: ln,
|
|
38
|
+
[B.HistoryClock]: un,
|
|
39
|
+
[B.PlusCircle]: hn,
|
|
40
|
+
[B.TerminalSquare]: kn,
|
|
41
|
+
[B.File]: mn,
|
|
42
|
+
[B.InfoError]: fn,
|
|
43
|
+
[B.AddFile]: on,
|
|
44
|
+
[B.AddUser]: nn,
|
|
45
|
+
[B.Download]: cn,
|
|
46
|
+
[B.Edit]: dn,
|
|
47
|
+
[B.Refresh]: yn,
|
|
48
|
+
[B.Logout]: vn,
|
|
49
|
+
[B.Save]: wn
|
|
41
50
|
};
|
|
42
51
|
return qe.createElement(i[t], {
|
|
43
52
|
...n,
|
|
44
53
|
style: a
|
|
45
54
|
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
spAccordion__name: En,
|
|
56
|
-
spAccordion__name_hiddenExpand: In,
|
|
55
|
+
}, In = "_spAccordion_14avc_43", Sn = "_spAccordion_noBorder_14avc_60", Ln = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", Fn = "_spAccordion__header_14avc_69", An = "_spAccordion_noOpen_14avc_88", jn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Bn = "_spAccordion__icon_14avc_125", Pn = "_spAccordion__icon_hidden_14avc_131", Wn = "_spAccordion__icon_open_14avc_134", On = "_spAccordion__childrenWrapper_14avc_141", Mn = "_spAccordion__childrenWrapper_open_14avc_150", zn = "_spAccordion__content_14avc_153", Un = "_spAccordion__content_open_14avc_159", ce = {
|
|
56
|
+
spAccordion: In,
|
|
57
|
+
spAccordion_noBorder: Sn,
|
|
58
|
+
spAccordion_noPadding: Ln,
|
|
59
|
+
spAccordion_open: Rn,
|
|
60
|
+
spAccordion__header: Fn,
|
|
61
|
+
spAccordion_noOpen: An,
|
|
62
|
+
spAccordion__name: jn,
|
|
63
|
+
spAccordion__name_hiddenExpand: Dn,
|
|
57
64
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
|
|
58
65
|
"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
|
-
},
|
|
66
|
+
spAccordion__icon: Bn,
|
|
67
|
+
spAccordion__icon_hidden: Pn,
|
|
68
|
+
spAccordion__icon_open: Wn,
|
|
69
|
+
spAccordion__childrenWrapper: On,
|
|
70
|
+
spAccordion__childrenWrapper_open: Mn,
|
|
71
|
+
spAccordion__content: zn,
|
|
72
|
+
spAccordion__content_open: Un
|
|
73
|
+
}, Op = (e) => {
|
|
67
74
|
const {
|
|
68
75
|
name: t,
|
|
69
76
|
children: o,
|
|
@@ -78,19 +85,19 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
78
85
|
classNameTitle: u,
|
|
79
86
|
classNameIcon: g,
|
|
80
87
|
classNameChildrenWrapper: h
|
|
81
|
-
} = e, [x, w] =
|
|
88
|
+
} = e, [x, w] = ee(n), R = () => {
|
|
82
89
|
a || (i == null || i(!x), w(!x));
|
|
83
|
-
},
|
|
90
|
+
}, A = f({
|
|
84
91
|
[ce.spAccordion]: !0,
|
|
85
92
|
[ce.spAccordion_open]: x,
|
|
86
93
|
[ce.spAccordion_noOpen]: !x,
|
|
87
94
|
[ce.spAccordion_noBorder]: r,
|
|
88
95
|
[ce.spAccordion_noPadding]: s,
|
|
89
96
|
...l && { [l]: !0 }
|
|
90
|
-
}),
|
|
97
|
+
}), U = f({
|
|
91
98
|
[ce.spAccordion__header]: !0,
|
|
92
99
|
...d && { [d]: !0 }
|
|
93
|
-
}),
|
|
100
|
+
}), F = f({
|
|
94
101
|
[ce.spAccordion__name]: !0,
|
|
95
102
|
[ce[`spAccordion__name--level-${p}`]]: p,
|
|
96
103
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
@@ -104,19 +111,19 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
104
111
|
[ce.spAccordion__childrenWrapper]: !0,
|
|
105
112
|
[ce.spAccordion__childrenWrapper_open]: x,
|
|
106
113
|
...h && { [h]: !0 }
|
|
107
|
-
}),
|
|
114
|
+
}), N = f({
|
|
108
115
|
[ce.spAccordion__content]: !0,
|
|
109
116
|
[ce.spAccordion__content_open]: x
|
|
110
117
|
});
|
|
111
|
-
return /* @__PURE__ */ O("div", { className:
|
|
112
|
-
/* @__PURE__ */ O("div", { className:
|
|
113
|
-
/* @__PURE__ */ c("div", { className:
|
|
114
|
-
/* @__PURE__ */ c(ve, { onClick:
|
|
118
|
+
return /* @__PURE__ */ O("div", { className: A, children: [
|
|
119
|
+
/* @__PURE__ */ O("div", { className: U, children: [
|
|
120
|
+
/* @__PURE__ */ c("div", { className: F, children: /* @__PURE__ */ c("span", { onClick: R, children: t }) }),
|
|
121
|
+
/* @__PURE__ */ c(ve, { onClick: R, className: y, name: B.ChevronDown })
|
|
115
122
|
] }),
|
|
116
|
-
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className:
|
|
123
|
+
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
117
124
|
] });
|
|
118
|
-
},
|
|
119
|
-
spinner:
|
|
125
|
+
}, qn = "_spinner_16mxl_43", Mt = {
|
|
126
|
+
spinner: qn,
|
|
120
127
|
"spinner-rotate": "_spinner-rotate_16mxl_1",
|
|
121
128
|
"spinner-clip": "_spinner-clip_16mxl_1",
|
|
122
129
|
"spinner--sm": "_spinner--sm_16mxl_62",
|
|
@@ -128,26 +135,26 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
128
135
|
return /* @__PURE__ */ c(
|
|
129
136
|
"div",
|
|
130
137
|
{
|
|
131
|
-
className: f(
|
|
138
|
+
className: f(Mt.spinner, Mt[`spinner--${t}`], n),
|
|
132
139
|
"aria-label": "Loading",
|
|
133
140
|
role: "status",
|
|
134
141
|
style: { color: o }
|
|
135
142
|
}
|
|
136
143
|
);
|
|
137
|
-
},
|
|
138
|
-
spButton:
|
|
139
|
-
spButton_noPadding:
|
|
140
|
-
spButton_onlyIcon:
|
|
141
|
-
spButton__iconContainer:
|
|
142
|
-
spButton_link:
|
|
143
|
-
spButton__text:
|
|
144
|
-
spButton_white:
|
|
145
|
-
spButton_primary:
|
|
146
|
-
spButton_blue:
|
|
147
|
-
spButton_secondary:
|
|
148
|
-
spButton_fullWidth:
|
|
149
|
-
spButton_disabled:
|
|
150
|
-
spButton__spinner:
|
|
144
|
+
}, $n = "_spButton_7ic3z_43", Hn = "_spButton_noPadding_7ic3z_62", Vn = "_spButton_onlyIcon_7ic3z_65", Yn = "_spButton__iconContainer_7ic3z_73", Gn = "_spButton_link_7ic3z_76", Kn = "_spButton__text_7ic3z_80", Xn = "_spButton_white_7ic3z_92", Zn = "_spButton_primary_7ic3z_95", Qn = "_spButton_blue_7ic3z_95", Jn = "_spButton_secondary_7ic3z_115", ea = "_spButton_fullWidth_7ic3z_135", ta = "_spButton_disabled_7ic3z_138", oa = "_spButton__spinner_7ic3z_147", we = {
|
|
145
|
+
spButton: $n,
|
|
146
|
+
spButton_noPadding: Hn,
|
|
147
|
+
spButton_onlyIcon: Vn,
|
|
148
|
+
spButton__iconContainer: Yn,
|
|
149
|
+
spButton_link: Gn,
|
|
150
|
+
spButton__text: Kn,
|
|
151
|
+
spButton_white: Xn,
|
|
152
|
+
spButton_primary: Zn,
|
|
153
|
+
spButton_blue: Qn,
|
|
154
|
+
spButton_secondary: Jn,
|
|
155
|
+
spButton_fullWidth: ea,
|
|
156
|
+
spButton_disabled: ta,
|
|
157
|
+
spButton__spinner: oa
|
|
151
158
|
}, et = (e) => {
|
|
152
159
|
const {
|
|
153
160
|
color: t = "blue",
|
|
@@ -165,19 +172,19 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
165
172
|
isFullWidth: h = !1,
|
|
166
173
|
isOnlyIcon: x = !1,
|
|
167
174
|
noPadding: w = !1,
|
|
168
|
-
classNameRoot:
|
|
169
|
-
classNameIconContainerRoot:
|
|
170
|
-
} = e,
|
|
175
|
+
classNameRoot: R,
|
|
176
|
+
classNameIconContainerRoot: A
|
|
177
|
+
} = e, U = (m) => {
|
|
171
178
|
p || a == null || a(m);
|
|
172
|
-
},
|
|
179
|
+
}, F = () => {
|
|
173
180
|
const m = f({
|
|
174
181
|
[we.spButton__text]: !0
|
|
175
|
-
}),
|
|
182
|
+
}), N = f({
|
|
176
183
|
[we.spButton__iconContainer]: !0,
|
|
177
|
-
...
|
|
184
|
+
...A && { [A]: !0 }
|
|
178
185
|
});
|
|
179
|
-
return /* @__PURE__ */ O(
|
|
180
|
-
(r || i || g) && /* @__PURE__ */ c("div", { className:
|
|
186
|
+
return /* @__PURE__ */ O(At, { children: [
|
|
187
|
+
(r || i || g) && /* @__PURE__ */ c("div", { className: N, children: g ? /* @__PURE__ */ c(jt, { size: "md", classNameRoot: we.spButton__spinner }) : i ? /* @__PURE__ */ c(ve, { name: i, rotate: s }) : r || null }),
|
|
181
188
|
!x && u && /* @__PURE__ */ c("div", { className: m, children: u })
|
|
182
189
|
] });
|
|
183
190
|
}, y = f({
|
|
@@ -189,30 +196,30 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
189
196
|
[we.spButton_fullWidth]: h,
|
|
190
197
|
[we.spButton_disabled]: p,
|
|
191
198
|
[we.spButton_loading]: g,
|
|
192
|
-
...
|
|
199
|
+
...R && { [R]: !0 }
|
|
193
200
|
});
|
|
194
201
|
return /* @__PURE__ */ c(
|
|
195
202
|
"button",
|
|
196
203
|
{
|
|
197
204
|
style: n,
|
|
198
205
|
className: y,
|
|
199
|
-
onClick:
|
|
206
|
+
onClick: U,
|
|
200
207
|
disabled: p,
|
|
201
208
|
type: l,
|
|
202
209
|
form: d,
|
|
203
|
-
children:
|
|
210
|
+
children: F()
|
|
204
211
|
}
|
|
205
212
|
);
|
|
206
|
-
},
|
|
207
|
-
spApplyButtons:
|
|
213
|
+
}, na = "_spApplyButtons_1l9jg_43", aa = "_spApplyButtons__cancel_1l9jg_73", ia = "_spApplyButtons__submit_1l9jg_76", Me = {
|
|
214
|
+
spApplyButtons: na,
|
|
208
215
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_1l9jg_48",
|
|
209
216
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_1l9jg_51",
|
|
210
217
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_1l9jg_54",
|
|
211
218
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_1l9jg_57",
|
|
212
219
|
"spApplyButtons_mobile-column-reverse": "_spApplyButtons_mobile-column-reverse_1l9jg_65",
|
|
213
|
-
spApplyButtons__cancel:
|
|
214
|
-
spApplyButtons__submit:
|
|
215
|
-
},
|
|
220
|
+
spApplyButtons__cancel: aa,
|
|
221
|
+
spApplyButtons__submit: ia
|
|
222
|
+
}, ra = (e) => {
|
|
216
223
|
const {
|
|
217
224
|
applyButtonsMobileDirection: t = "column",
|
|
218
225
|
applyButtonsAlign: o = "center",
|
|
@@ -227,13 +234,13 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
227
234
|
submit: u,
|
|
228
235
|
loading: g
|
|
229
236
|
} = e, h = f({
|
|
230
|
-
[
|
|
231
|
-
[
|
|
232
|
-
[
|
|
237
|
+
[Me.spApplyButtons]: !0,
|
|
238
|
+
[Me[`spApplyButtons_mobile-${t}`]]: t,
|
|
239
|
+
[Me[`spApplyButtons_align-${o}`]]: o
|
|
233
240
|
}), x = f({
|
|
234
|
-
[
|
|
241
|
+
[Me.spApplyButtons__submit]: !0
|
|
235
242
|
}), w = f({
|
|
236
|
-
[
|
|
243
|
+
[Me.spApplyButtons__cancel]: !0
|
|
237
244
|
});
|
|
238
245
|
return /* @__PURE__ */ O("div", { className: h, children: [
|
|
239
246
|
n && /* @__PURE__ */ c(
|
|
@@ -263,8 +270,8 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
263
270
|
}
|
|
264
271
|
)
|
|
265
272
|
] });
|
|
266
|
-
},
|
|
267
|
-
const { initialValue: t = null } = e, [o, n] =
|
|
273
|
+
}, Mp = (e = {}) => {
|
|
274
|
+
const { initialValue: t = null } = e, [o, n] = ee(t);
|
|
268
275
|
return {
|
|
269
276
|
isOpen: !!o,
|
|
270
277
|
modalData: o,
|
|
@@ -276,7 +283,7 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
276
283
|
}
|
|
277
284
|
};
|
|
278
285
|
}, bo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
279
|
-
const [n, a] =
|
|
286
|
+
const [n, a] = ee(null);
|
|
280
287
|
return re(() => {
|
|
281
288
|
if (t) {
|
|
282
289
|
a(t);
|
|
@@ -287,9 +294,9 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
287
294
|
t || document.body.removeChild(i);
|
|
288
295
|
};
|
|
289
296
|
}, [t, o]), n ? tn.createPortal(e, n) : null;
|
|
290
|
-
},
|
|
291
|
-
layer:
|
|
292
|
-
layer_hidden:
|
|
297
|
+
}, sa = "_layer_14g8d_43", pa = "_layer_hidden_14g8d_65", zt = {
|
|
298
|
+
layer: sa,
|
|
299
|
+
layer_hidden: pa
|
|
293
300
|
}, yo = (e) => {
|
|
294
301
|
const {
|
|
295
302
|
children: t,
|
|
@@ -297,8 +304,8 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
297
304
|
isHiddenModal: n = !1,
|
|
298
305
|
classNameRoot: a
|
|
299
306
|
} = e, i = document.body, r = f({
|
|
300
|
-
[
|
|
301
|
-
[
|
|
307
|
+
[zt.layer]: !0,
|
|
308
|
+
[zt.layer_hidden]: n,
|
|
302
309
|
...a && { [a]: !0 }
|
|
303
310
|
});
|
|
304
311
|
return re(() => {
|
|
@@ -307,16 +314,16 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
307
314
|
p.style.position = "", p.style.top = "", p.style.left = "", p.style.right = "", p.style.overflow = "", window.scrollTo(0, s);
|
|
308
315
|
};
|
|
309
316
|
}, []), /* @__PURE__ */ c(bo, { node: i, children: /* @__PURE__ */ c("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
310
|
-
},
|
|
311
|
-
spText:
|
|
312
|
-
spText_ellipsis:
|
|
317
|
+
}, la = "_spText_1gech_43", ca = "_spText_ellipsis_1gech_56", da = "_spText_cursorPointer_1gech_113", Ge = {
|
|
318
|
+
spText: la,
|
|
319
|
+
spText_ellipsis: ca,
|
|
313
320
|
"spText_type-h1": "_spText_type-h1_1gech_62",
|
|
314
321
|
"spText_type-h3": "_spText_type-h3_1gech_72",
|
|
315
322
|
"spText_type-p1": "_spText_type-p1_1gech_83",
|
|
316
323
|
"spText_type-p2": "_spText_type-p2_1gech_88",
|
|
317
324
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
318
325
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
319
|
-
spText_cursorPointer:
|
|
326
|
+
spText_cursorPointer: da
|
|
320
327
|
}, Te = qe.forwardRef((e, t) => {
|
|
321
328
|
const {
|
|
322
329
|
type: o,
|
|
@@ -349,27 +356,27 @@ const yn = "_spAccordion_14avc_43", wn = "_spAccordion_noBorder_14avc_60", Cn =
|
|
|
349
356
|
);
|
|
350
357
|
});
|
|
351
358
|
Te.displayName = "Text";
|
|
352
|
-
const
|
|
353
|
-
modalWrapper:
|
|
359
|
+
const ma = "_modalWrapper_1pg9r_43", ua = "_modalWrapper__modal_1pg9r_63", _a = "_modalWrapper__content_1pg9r_106", fa = "_modalWrapper__header_1pg9r_109", va = "_modalWrapper__subHeader_1pg9r_117", ga = "_modalWrapper__subHeader_onlySubHeader_1pg9r_125", xa = "_modalWrapper__footer_1pg9r_128", ha = "_modalWrapper__closeButton_1pg9r_131", ge = {
|
|
360
|
+
modalWrapper: ma,
|
|
354
361
|
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-top_1pg9r_48",
|
|
355
362
|
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-center_1pg9r_51",
|
|
356
363
|
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-left_1pg9r_54",
|
|
357
364
|
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-center_1pg9r_57",
|
|
358
365
|
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-right_1pg9r_60",
|
|
359
|
-
modalWrapper__modal:
|
|
366
|
+
modalWrapper__modal: ua,
|
|
360
367
|
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_1pg9r_95",
|
|
361
368
|
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_1pg9r_101",
|
|
362
|
-
modalWrapper__content:
|
|
363
|
-
modalWrapper__header:
|
|
364
|
-
modalWrapper__subHeader:
|
|
365
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
366
|
-
modalWrapper__footer:
|
|
367
|
-
modalWrapper__closeButton:
|
|
369
|
+
modalWrapper__content: _a,
|
|
370
|
+
modalWrapper__header: fa,
|
|
371
|
+
modalWrapper__subHeader: va,
|
|
372
|
+
modalWrapper__subHeader_onlySubHeader: ga,
|
|
373
|
+
modalWrapper__footer: xa,
|
|
374
|
+
modalWrapper__closeButton: ha,
|
|
368
375
|
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1pg9r_140",
|
|
369
376
|
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1pg9r_144",
|
|
370
377
|
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-lg_1pg9r_149",
|
|
371
378
|
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-md_1pg9r_153"
|
|
372
|
-
},
|
|
379
|
+
}, ba = (e) => {
|
|
373
380
|
const {
|
|
374
381
|
zIndex: t = 999,
|
|
375
382
|
isHiddenModal: o = !1,
|
|
@@ -389,47 +396,47 @@ const ia = "_modalWrapper_1pg9r_43", ra = "_modalWrapper__modal_1pg9r_63", sa =
|
|
|
389
396
|
[ge.modalWrapper]: !0,
|
|
390
397
|
[ge[`modalWrapper--modalVerticalAlign-${p}`]]: p,
|
|
391
398
|
[ge[`modalWrapper--textAlign-${l}`]]: l
|
|
392
|
-
}),
|
|
399
|
+
}), R = f({
|
|
393
400
|
[ge.modalWrapper__modal]: !0,
|
|
394
401
|
[ge[`modalWrapper__modal--size-${x}`]]: x,
|
|
395
402
|
...r && { [r]: !0 }
|
|
396
|
-
}),
|
|
403
|
+
}), A = f({
|
|
397
404
|
[ge.modalWrapper__closeButton]: !0,
|
|
398
405
|
[ge[`modalWrapper__closeButton--size-${x}`]]: x
|
|
399
|
-
}),
|
|
406
|
+
}), U = f({
|
|
400
407
|
[ge.modalWrapper__closeButtonIconContainer]: !0,
|
|
401
408
|
[ge[`modalWrapper__closeButtonIconContainer--size-${x}`]]: x
|
|
402
|
-
}),
|
|
409
|
+
}), F = f({
|
|
403
410
|
[ge.modalWrapper__content]: !0
|
|
404
411
|
}), y = f({
|
|
405
412
|
[ge.modalWrapper__header]: !0
|
|
406
413
|
}), m = f({
|
|
407
414
|
[ge.modalWrapper__subHeader]: !0,
|
|
408
415
|
[ge.modalWrapper__subHeader_onlySubHeader]: !u
|
|
409
|
-
}),
|
|
416
|
+
}), N = f({
|
|
410
417
|
[ge.modalWrapper__footer]: !0
|
|
411
418
|
});
|
|
412
|
-
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */ O("div", { className:
|
|
419
|
+
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */ O("div", { className: R, style: s, children: [
|
|
413
420
|
(u || g) && /* @__PURE__ */ O("div", { className: y, children: [
|
|
414
421
|
typeof u == "string" ? /* @__PURE__ */ c(Te, { type: "h3", children: u }) : u,
|
|
415
422
|
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Te, { children: g }) : g })
|
|
416
423
|
] }),
|
|
417
|
-
a && /* @__PURE__ */ c("div", { className:
|
|
418
|
-
h && /* @__PURE__ */ c("div", { className:
|
|
424
|
+
a && /* @__PURE__ */ c("div", { className: F, children: a }),
|
|
425
|
+
h && /* @__PURE__ */ c("div", { className: N, children: h }),
|
|
419
426
|
n && d && /* @__PURE__ */ c(
|
|
420
427
|
et,
|
|
421
428
|
{
|
|
422
|
-
classNameRoot:
|
|
423
|
-
classNameIconContainerRoot:
|
|
429
|
+
classNameRoot: A,
|
|
430
|
+
classNameIconContainerRoot: U,
|
|
424
431
|
onClick: d,
|
|
425
|
-
iconName:
|
|
432
|
+
iconName: B.Close,
|
|
426
433
|
variant: "link",
|
|
427
434
|
noPadding: !0,
|
|
428
435
|
isOnlyIcon: !0
|
|
429
436
|
}
|
|
430
437
|
)
|
|
431
438
|
] }) }) });
|
|
432
|
-
},
|
|
439
|
+
}, ya = (e) => {
|
|
433
440
|
const {
|
|
434
441
|
zIndex: t,
|
|
435
442
|
header: o,
|
|
@@ -446,30 +453,30 @@ const ia = "_modalWrapper_1pg9r_43", ra = "_modalWrapper__modal_1pg9r_63", sa =
|
|
|
446
453
|
applyButtonsMobileDirection: h = "column",
|
|
447
454
|
applyButtonsAlign: x = "right",
|
|
448
455
|
modalVerticalAlign: w = "top",
|
|
449
|
-
textAlign:
|
|
450
|
-
loading:
|
|
451
|
-
isVisibleCloseButton:
|
|
452
|
-
isHiddenModal:
|
|
456
|
+
textAlign: R = "left",
|
|
457
|
+
loading: A,
|
|
458
|
+
isVisibleCloseButton: U,
|
|
459
|
+
isHiddenModal: F,
|
|
453
460
|
size: y,
|
|
454
461
|
classNameRoot: m,
|
|
455
|
-
classNameLayerRoot:
|
|
462
|
+
classNameLayerRoot: N
|
|
456
463
|
} = e;
|
|
457
464
|
return /* @__PURE__ */ c(
|
|
458
|
-
|
|
465
|
+
ba,
|
|
459
466
|
{
|
|
460
467
|
zIndex: t,
|
|
461
468
|
header: o,
|
|
462
469
|
onClose: g,
|
|
463
470
|
modalVerticalAlign: w,
|
|
464
|
-
textAlign:
|
|
471
|
+
textAlign: R,
|
|
465
472
|
subHeader: n,
|
|
466
|
-
isVisibleCloseButton:
|
|
467
|
-
isHiddenModal:
|
|
473
|
+
isVisibleCloseButton: U,
|
|
474
|
+
isHiddenModal: F,
|
|
468
475
|
size: y,
|
|
469
476
|
classNameRoot: m,
|
|
470
|
-
classNameLayerRoot:
|
|
477
|
+
classNameLayerRoot: N,
|
|
471
478
|
footer: a || r || s || p ? /* @__PURE__ */ c(
|
|
472
|
-
|
|
479
|
+
ra,
|
|
473
480
|
{
|
|
474
481
|
applyButtonsMobileDirection: h,
|
|
475
482
|
applyButtonsAlign: x,
|
|
@@ -482,12 +489,12 @@ const ia = "_modalWrapper_1pg9r_43", ra = "_modalWrapper__modal_1pg9r_63", sa =
|
|
|
482
489
|
disabled: d,
|
|
483
490
|
onClose: g,
|
|
484
491
|
submit: l,
|
|
485
|
-
loading:
|
|
492
|
+
loading: A
|
|
486
493
|
}
|
|
487
494
|
) : null
|
|
488
495
|
}
|
|
489
496
|
);
|
|
490
|
-
},
|
|
497
|
+
}, zp = (e) => {
|
|
491
498
|
const {
|
|
492
499
|
children: t,
|
|
493
500
|
isNeedAuthorized: o,
|
|
@@ -496,13 +503,13 @@ const ia = "_modalWrapper_1pg9r_43", ra = "_modalWrapper__modal_1pg9r_63", sa =
|
|
|
496
503
|
authButtonText: i = "Авторизоваться",
|
|
497
504
|
confirmSize: r = "md",
|
|
498
505
|
zIndex: s = 999
|
|
499
|
-
} = e, [p, l] =
|
|
506
|
+
} = e, [p, l] = ee(o);
|
|
500
507
|
return re(() => {
|
|
501
508
|
l(o);
|
|
502
|
-
}, [o]), /* @__PURE__ */ O(
|
|
509
|
+
}, [o]), /* @__PURE__ */ O(At, { children: [
|
|
503
510
|
t,
|
|
504
511
|
p && /* @__PURE__ */ c(
|
|
505
|
-
|
|
512
|
+
ya,
|
|
506
513
|
{
|
|
507
514
|
zIndex: s,
|
|
508
515
|
isVisibleCloseButton: !1,
|
|
@@ -517,10 +524,10 @@ const ia = "_modalWrapper_1pg9r_43", ra = "_modalWrapper__modal_1pg9r_63", sa =
|
|
|
517
524
|
}
|
|
518
525
|
)
|
|
519
526
|
] });
|
|
520
|
-
},
|
|
521
|
-
spBaseTooltip:
|
|
522
|
-
spBaseTooltip_noPadding:
|
|
523
|
-
spBaseTooltip__content:
|
|
527
|
+
}, wa = "_spBaseTooltip_5usel_43", Ca = "_spBaseTooltip_noPadding_5usel_70", ka = "_spBaseTooltip__content_5usel_96", ut = {
|
|
528
|
+
spBaseTooltip: wa,
|
|
529
|
+
spBaseTooltip_noPadding: Ca,
|
|
530
|
+
spBaseTooltip__content: ka
|
|
524
531
|
}, wo = qe.forwardRef((e, t) => {
|
|
525
532
|
const {
|
|
526
533
|
text: o,
|
|
@@ -550,9 +557,9 @@ function Co(e, t, o = !0) {
|
|
|
550
557
|
};
|
|
551
558
|
}, [e, t, o]);
|
|
552
559
|
}
|
|
553
|
-
const
|
|
554
|
-
spTooltip:
|
|
555
|
-
spInfoTooltip:
|
|
560
|
+
const Ta = "_spTooltip_1pqws_43", Na = "_spInfoTooltip_1pqws_48", ko = {
|
|
561
|
+
spTooltip: Ta,
|
|
562
|
+
spInfoTooltip: Na
|
|
556
563
|
};
|
|
557
564
|
var pe = /* @__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))(pe || {});
|
|
558
565
|
const $e = (e) => {
|
|
@@ -571,81 +578,81 @@ const $e = (e) => {
|
|
|
571
578
|
classNameBaseTooltipRoot: g,
|
|
572
579
|
classNameBaseTooltipContentRoot: h,
|
|
573
580
|
styleTooltip: x
|
|
574
|
-
} = e, [w,
|
|
581
|
+
} = e, [w, R] = ee(!1), A = de(null), U = de(null), [F, y] = ee(!1);
|
|
575
582
|
Co(
|
|
576
|
-
[
|
|
583
|
+
[A, U],
|
|
577
584
|
() => {
|
|
578
|
-
s && s(),
|
|
585
|
+
s && s(), R(!1);
|
|
579
586
|
},
|
|
580
587
|
w
|
|
581
588
|
);
|
|
582
|
-
const m = (
|
|
583
|
-
n &&
|
|
584
|
-
}, [
|
|
589
|
+
const m = (T) => {
|
|
590
|
+
n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((P) => o ? !P : !0));
|
|
591
|
+
}, [N, z] = ee({
|
|
585
592
|
visibility: "hidden",
|
|
586
593
|
opacity: 0,
|
|
587
594
|
left: "-9999px"
|
|
588
|
-
}), [
|
|
589
|
-
if (!
|
|
590
|
-
const
|
|
591
|
-
let
|
|
595
|
+
}), [K, J] = ee(!1), ne = xe(() => {
|
|
596
|
+
if (!A.current || !U.current) return;
|
|
597
|
+
const T = A.current.getBoundingClientRect(), P = U.current.getBoundingClientRect();
|
|
598
|
+
let q = 0, V = 0;
|
|
592
599
|
switch (l) {
|
|
593
600
|
case pe.Right:
|
|
594
|
-
|
|
601
|
+
q = T.top + window.scrollY - (P.height - T.height) / 2, V = T.right + window.scrollX;
|
|
595
602
|
break;
|
|
596
603
|
case pe.RightTop:
|
|
597
|
-
|
|
604
|
+
q = T.top + window.scrollY, V = T.right + window.scrollX;
|
|
598
605
|
break;
|
|
599
606
|
case pe.RightBottom:
|
|
600
|
-
|
|
607
|
+
q = T.bottom + window.scrollY - P.height, V = T.right + window.scrollX;
|
|
601
608
|
break;
|
|
602
609
|
case pe.Left:
|
|
603
|
-
|
|
610
|
+
q = T.top + window.scrollY - (P.height - T.height) / 2, V = T.left + window.scrollX - P.width;
|
|
604
611
|
break;
|
|
605
612
|
case pe.LeftTop:
|
|
606
|
-
|
|
613
|
+
q = T.top + window.scrollY, V = T.left + window.scrollX - P.width;
|
|
607
614
|
break;
|
|
608
615
|
case pe.LeftBottom:
|
|
609
|
-
|
|
616
|
+
q = T.bottom + window.scrollY - P.height, V = T.left + window.scrollX - P.width;
|
|
610
617
|
break;
|
|
611
618
|
case pe.Bottom:
|
|
612
|
-
|
|
619
|
+
q = T.bottom + window.scrollY, V = T.left + window.scrollX - (P.width - T.width) / 2;
|
|
613
620
|
break;
|
|
614
621
|
case pe.BottomLeft:
|
|
615
|
-
|
|
622
|
+
q = T.bottom + window.scrollY, V = T.left + window.scrollX;
|
|
616
623
|
break;
|
|
617
624
|
case pe.BottomRight:
|
|
618
|
-
|
|
625
|
+
q = T.bottom + window.scrollY, V = T.right + window.scrollX - P.width;
|
|
619
626
|
break;
|
|
620
627
|
case pe.Top:
|
|
621
|
-
|
|
628
|
+
q = T.top + window.scrollY - P.height, V = T.left + window.scrollX - (P.width - T.width) / 2;
|
|
622
629
|
break;
|
|
623
630
|
case pe.TopLeft:
|
|
624
|
-
|
|
631
|
+
q = T.top + window.scrollY - P.height, V = T.left + window.scrollX;
|
|
625
632
|
break;
|
|
626
633
|
case pe.TopRight:
|
|
627
|
-
|
|
634
|
+
q = T.top + window.scrollY - P.height, V = T.right + window.scrollX - P.width;
|
|
628
635
|
break;
|
|
629
636
|
default:
|
|
630
|
-
|
|
637
|
+
q = T.bottom + window.scrollY, V = T.left + window.scrollX;
|
|
631
638
|
}
|
|
632
|
-
|
|
633
|
-
...
|
|
634
|
-
top: `${
|
|
635
|
-
left: `${
|
|
636
|
-
visibility: w ||
|
|
637
|
-
opacity: w ||
|
|
639
|
+
q + P.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - P.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY), V + P.width > window.innerWidth + window.scrollX && l.includes("left") ? V = T.left + window.scrollX - P.width + T.width : V < window.scrollX && l.includes("right") && (V = T.right + window.scrollX - T.width), z((te) => ({
|
|
640
|
+
...te,
|
|
641
|
+
top: `${q}px`,
|
|
642
|
+
left: `${V}px`,
|
|
643
|
+
visibility: w || K ? "visible" : "hidden",
|
|
644
|
+
opacity: w || K ? 1 : 0
|
|
638
645
|
}));
|
|
639
|
-
}, [l, w,
|
|
646
|
+
}, [l, w, K]);
|
|
640
647
|
re(() => (y(!0), () => y(!1)), []), re(() => {
|
|
641
|
-
|
|
642
|
-
}, [
|
|
643
|
-
if (!
|
|
644
|
-
const
|
|
645
|
-
return window.addEventListener("resize",
|
|
646
|
-
window.removeEventListener("resize",
|
|
648
|
+
F && ne();
|
|
649
|
+
}, [F, ne]), re(() => {
|
|
650
|
+
if (!F) return;
|
|
651
|
+
const T = () => ne();
|
|
652
|
+
return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
|
|
653
|
+
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
647
654
|
};
|
|
648
|
-
}, [
|
|
655
|
+
}, [F, ne]);
|
|
649
656
|
const me = f({
|
|
650
657
|
...g && { [g]: !0 }
|
|
651
658
|
}), ue = f({
|
|
@@ -653,23 +660,23 @@ const $e = (e) => {
|
|
|
653
660
|
}), le = f({
|
|
654
661
|
[ko.spTooltip]: !0,
|
|
655
662
|
...p && { [p]: !0 }
|
|
656
|
-
}),
|
|
663
|
+
}), X = document.body;
|
|
657
664
|
return /* @__PURE__ */ O(
|
|
658
665
|
"div",
|
|
659
666
|
{
|
|
660
|
-
ref:
|
|
667
|
+
ref: A,
|
|
661
668
|
className: le,
|
|
662
669
|
onClick: m,
|
|
663
|
-
onMouseEnter: () => t &&
|
|
664
|
-
onMouseLeave: () => t &&
|
|
670
|
+
onMouseEnter: () => t && J(!0),
|
|
671
|
+
onMouseLeave: () => t && J(!1),
|
|
665
672
|
style: x,
|
|
666
673
|
children: [
|
|
667
674
|
i,
|
|
668
|
-
a && /* @__PURE__ */ c(bo, { node:
|
|
675
|
+
a && /* @__PURE__ */ c(bo, { node: X, children: /* @__PURE__ */ c(
|
|
669
676
|
wo,
|
|
670
677
|
{
|
|
671
|
-
style:
|
|
672
|
-
ref:
|
|
678
|
+
style: N,
|
|
679
|
+
ref: U,
|
|
673
680
|
noPadding: u,
|
|
674
681
|
text: d,
|
|
675
682
|
classNameRoot: me,
|
|
@@ -689,23 +696,23 @@ const $e = (e) => {
|
|
|
689
696
|
{
|
|
690
697
|
...e,
|
|
691
698
|
classNameTooltip: o,
|
|
692
|
-
trigger: /* @__PURE__ */ c(ve, { name:
|
|
699
|
+
trigger: /* @__PURE__ */ c(ve, { name: B.Info })
|
|
693
700
|
}
|
|
694
701
|
);
|
|
695
|
-
},
|
|
696
|
-
spCheckbox:
|
|
697
|
-
spCheckbox__control:
|
|
698
|
-
spCheckbox__label:
|
|
699
|
-
spCheckbox__box:
|
|
702
|
+
}, Ea = "_spCheckbox_1ypiv_43", Ia = "_spCheckbox__control_1ypiv_49", Sa = "_spCheckbox__label_1ypiv_52", La = "_spCheckbox__box_1ypiv_63", Ra = "_spCheckbox__box_checked_1ypiv_90", Fa = "_spCheckbox__box_disabled_1ypiv_100", Aa = "_spCheckbox__box_error_1ypiv_111", ja = "_spCheckbox__tooltip_1ypiv_114", Da = "_spCheckbox__required_1ypiv_119", Ba = "_spCheckbox__error_1ypiv_125", Ce = {
|
|
703
|
+
spCheckbox: Ea,
|
|
704
|
+
spCheckbox__control: Ia,
|
|
705
|
+
spCheckbox__label: Sa,
|
|
706
|
+
spCheckbox__box: La,
|
|
700
707
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1ypiv_68",
|
|
701
708
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1ypiv_73",
|
|
702
|
-
spCheckbox__box_checked:
|
|
703
|
-
spCheckbox__box_disabled:
|
|
704
|
-
spCheckbox__box_error:
|
|
705
|
-
spCheckbox__tooltip:
|
|
706
|
-
spCheckbox__required:
|
|
707
|
-
spCheckbox__error:
|
|
708
|
-
},
|
|
709
|
+
spCheckbox__box_checked: Ra,
|
|
710
|
+
spCheckbox__box_disabled: Fa,
|
|
711
|
+
spCheckbox__box_error: Aa,
|
|
712
|
+
spCheckbox__tooltip: ja,
|
|
713
|
+
spCheckbox__required: Da,
|
|
714
|
+
spCheckbox__error: Ba
|
|
715
|
+
}, Up = (e) => {
|
|
709
716
|
const {
|
|
710
717
|
size: t = "lg",
|
|
711
718
|
checked: o,
|
|
@@ -724,17 +731,17 @@ const $e = (e) => {
|
|
|
724
731
|
} = e, w = f({
|
|
725
732
|
[Ce.spCheckbox]: !0,
|
|
726
733
|
...h && { [h]: !0 }
|
|
727
|
-
}),
|
|
734
|
+
}), R = f({
|
|
728
735
|
[Ce.spCheckbox__box]: !0,
|
|
729
736
|
[Ce.spCheckbox__box_checked]: o,
|
|
730
737
|
[Ce.spCheckbox__box_disabled]: n,
|
|
731
738
|
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
732
739
|
[Ce.spCheckbox__box_error]: s
|
|
733
|
-
}),
|
|
740
|
+
}), A = f({
|
|
734
741
|
[Ce.spCheckbox__control]: !0
|
|
735
|
-
}),
|
|
742
|
+
}), U = f({
|
|
736
743
|
[Ce.spCheckbox__label]: !0
|
|
737
|
-
}),
|
|
744
|
+
}), F = f({
|
|
738
745
|
[Ce.spCheckbox__required]: !0
|
|
739
746
|
}), y = f({
|
|
740
747
|
[Ce.spCheckbox__error]: !0,
|
|
@@ -743,29 +750,29 @@ const $e = (e) => {
|
|
|
743
750
|
[Ce.spCheckbox__tooltip]: !0
|
|
744
751
|
});
|
|
745
752
|
return /* @__PURE__ */ O("div", { className: w, onMouseEnter: g, children: [
|
|
746
|
-
/* @__PURE__ */ O("label", { className:
|
|
753
|
+
/* @__PURE__ */ O("label", { className: R, children: [
|
|
747
754
|
/* @__PURE__ */ c(
|
|
748
755
|
"input",
|
|
749
756
|
{
|
|
750
757
|
type: "checkbox",
|
|
751
|
-
className:
|
|
758
|
+
className: A,
|
|
752
759
|
checked: o,
|
|
753
760
|
onChange: (z) => {
|
|
754
761
|
!n && a && a(z, { name: i, checked: !o, value: p });
|
|
755
762
|
}
|
|
756
763
|
}
|
|
757
764
|
),
|
|
758
|
-
r && /* @__PURE__ */ c("span", { className:
|
|
759
|
-
l && /* @__PURE__ */ c("div", { className:
|
|
760
|
-
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(at, { position: d, text: u }) })
|
|
765
|
+
r && /* @__PURE__ */ c("span", { className: U, children: r }),
|
|
766
|
+
l && /* @__PURE__ */ c("div", { className: F, children: "*" }),
|
|
767
|
+
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(at, { hover: !0, position: d, text: u }) })
|
|
761
768
|
] }),
|
|
762
769
|
s && /* @__PURE__ */ c("div", { className: y, children: s })
|
|
763
770
|
] });
|
|
764
|
-
},
|
|
765
|
-
spContextMenu:
|
|
766
|
-
spContextMenu__item:
|
|
767
|
-
spContextMenu__item_deleteItem:
|
|
768
|
-
},
|
|
771
|
+
}, Pa = "_spContextMenu_1cza9_43", Wa = "_spContextMenu__item_1cza9_55", Oa = "_spContextMenu__item_deleteItem_1cza9_74", _t = {
|
|
772
|
+
spContextMenu: Pa,
|
|
773
|
+
spContextMenu__item: Wa,
|
|
774
|
+
spContextMenu__item_deleteItem: Oa
|
|
775
|
+
}, qp = (e) => {
|
|
769
776
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
770
777
|
[_t.spContextMenu]: !0,
|
|
771
778
|
...n && { [n]: !0 }
|
|
@@ -790,22 +797,22 @@ const $e = (e) => {
|
|
|
790
797
|
i.key
|
|
791
798
|
);
|
|
792
799
|
}) });
|
|
793
|
-
},
|
|
800
|
+
}, Ma = (e) => {
|
|
794
801
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
795
802
|
return /* @__PURE__ */ O("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
796
803
|
/* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
|
|
797
804
|
o
|
|
798
805
|
] });
|
|
799
|
-
},
|
|
800
|
-
spDropdown:
|
|
801
|
-
spDropdown__labelText:
|
|
802
|
-
spDropdown__tooltipContainer:
|
|
803
|
-
spDropdown__dropdownList:
|
|
804
|
-
spDropdown__dropdownListHeader:
|
|
805
|
-
spDropdown__dopdownListItem:
|
|
806
|
-
spDropdown__dopdownListItem_textCenter:
|
|
807
|
-
spDropdown__downloadListItemDescription:
|
|
808
|
-
},
|
|
806
|
+
}, za = "_spDropdown_miycs_43", Ua = "_spDropdown__labelText_miycs_55", qa = "_spDropdown__tooltipContainer_miycs_63", $a = "_spDropdown__dropdownList_miycs_68", Ha = "_spDropdown__dropdownListHeader_miycs_74", Va = "_spDropdown__dopdownListItem_miycs_81", Ya = "_spDropdown__dopdownListItem_textCenter_miycs_93", Ga = "_spDropdown__downloadListItemDescription_miycs_97", Ie = {
|
|
807
|
+
spDropdown: za,
|
|
808
|
+
spDropdown__labelText: Ua,
|
|
809
|
+
spDropdown__tooltipContainer: qa,
|
|
810
|
+
spDropdown__dropdownList: $a,
|
|
811
|
+
spDropdown__dropdownListHeader: Ha,
|
|
812
|
+
spDropdown__dopdownListItem: Va,
|
|
813
|
+
spDropdown__dopdownListItem_textCenter: Ya,
|
|
814
|
+
spDropdown__downloadListItemDescription: Ga
|
|
815
|
+
}, $p = (e) => {
|
|
809
816
|
const {
|
|
810
817
|
labelText: t = "Выпадающий список",
|
|
811
818
|
listName: o,
|
|
@@ -825,7 +832,7 @@ const $e = (e) => {
|
|
|
825
832
|
[Ie.spDropdown__dropdownListHeader]: !0
|
|
826
833
|
}), u = f({
|
|
827
834
|
[Ie.spDropdown__downloadListItemDescription]: !0
|
|
828
|
-
}), [g, h] =
|
|
835
|
+
}), [g, h] = ee(!1);
|
|
829
836
|
return /* @__PURE__ */ c(
|
|
830
837
|
$e,
|
|
831
838
|
{
|
|
@@ -834,7 +841,7 @@ const $e = (e) => {
|
|
|
834
841
|
actionOnClose: () => h(!1),
|
|
835
842
|
text: /* @__PURE__ */ O("div", { className: l, children: [
|
|
836
843
|
o && /* @__PURE__ */ c("div", { className: d, children: o }),
|
|
837
|
-
n.map((w,
|
|
844
|
+
n.map((w, R) => /* @__PURE__ */ O(
|
|
838
845
|
"div",
|
|
839
846
|
{
|
|
840
847
|
className: f({
|
|
@@ -847,7 +854,7 @@ const $e = (e) => {
|
|
|
847
854
|
w.description && /* @__PURE__ */ c("span", { className: u, children: w.description })
|
|
848
855
|
]
|
|
849
856
|
},
|
|
850
|
-
|
|
857
|
+
R
|
|
851
858
|
))
|
|
852
859
|
] }),
|
|
853
860
|
position: a,
|
|
@@ -856,13 +863,13 @@ const $e = (e) => {
|
|
|
856
863
|
isStopPropagationClickOnTrigger: !0,
|
|
857
864
|
trigger: /* @__PURE__ */ O("div", { className: r, children: [
|
|
858
865
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
859
|
-
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(ve, { name:
|
|
866
|
+
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(ve, { name: B.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
860
867
|
] })
|
|
861
868
|
}
|
|
862
869
|
);
|
|
863
|
-
},
|
|
864
|
-
ellipsisTextWithTooltip:
|
|
865
|
-
ellipsisTextWithTooltip__tooltip:
|
|
870
|
+
}, Ka = "_ellipsisTextWithTooltip_1nhiw_43", Xa = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", Ut = {
|
|
871
|
+
ellipsisTextWithTooltip: Ka,
|
|
872
|
+
ellipsisTextWithTooltip__tooltip: Xa
|
|
866
873
|
}, Ke = (e) => {
|
|
867
874
|
const {
|
|
868
875
|
text: t,
|
|
@@ -871,7 +878,7 @@ const $e = (e) => {
|
|
|
871
878
|
classNameBaseTooltipContentRoot: a,
|
|
872
879
|
classNameBaseTooltipRoot: i,
|
|
873
880
|
...r
|
|
874
|
-
} = e, s = de(null), [p, l] =
|
|
881
|
+
} = e, s = de(null), [p, l] = ee(!1), d = () => {
|
|
875
882
|
s.current && l(s.current.scrollWidth > s.current.clientWidth);
|
|
876
883
|
};
|
|
877
884
|
go(() => (d(), window.addEventListener("resize", d), () => {
|
|
@@ -887,6 +894,7 @@ const $e = (e) => {
|
|
|
887
894
|
return /* @__PURE__ */ c(
|
|
888
895
|
$e,
|
|
889
896
|
{
|
|
897
|
+
hover: !0,
|
|
890
898
|
classNameTooltip: g,
|
|
891
899
|
classNameBaseTooltipContentRoot: a,
|
|
892
900
|
classNameBaseTooltipRoot: i,
|
|
@@ -895,14 +903,14 @@ const $e = (e) => {
|
|
|
895
903
|
trigger: /* @__PURE__ */ c(Te, { ...r, classNameRoot: u, isEllipsis: !0, ref: s, children: t })
|
|
896
904
|
}
|
|
897
905
|
);
|
|
898
|
-
},
|
|
899
|
-
spForm:
|
|
900
|
-
spForm_fullWidth:
|
|
901
|
-
spForm_addMargin:
|
|
906
|
+
}, Za = "_spForm_1mrvg_43", Qa = "_spForm_fullWidth_1mrvg_48", Ja = "_spForm_addMargin_1mrvg_51", ei = "_spForm_withSeparator_1mrvg_69", ze = {
|
|
907
|
+
spForm: Za,
|
|
908
|
+
spForm_fullWidth: Qa,
|
|
909
|
+
spForm_addMargin: Ja,
|
|
902
910
|
"spForm--size-lg": "_spForm--size-lg_1mrvg_51",
|
|
903
911
|
"spForm--size-md": "_spForm--size-md_1mrvg_60",
|
|
904
|
-
spForm_withSeparator:
|
|
905
|
-
},
|
|
912
|
+
spForm_withSeparator: ei
|
|
913
|
+
}, Hp = (e) => {
|
|
906
914
|
const {
|
|
907
915
|
size: t = "lg",
|
|
908
916
|
children: o,
|
|
@@ -913,21 +921,21 @@ const $e = (e) => {
|
|
|
913
921
|
classNameRoot: s,
|
|
914
922
|
...p
|
|
915
923
|
} = e, l = f({
|
|
916
|
-
[
|
|
917
|
-
[
|
|
918
|
-
[
|
|
919
|
-
[
|
|
920
|
-
[
|
|
924
|
+
[ze.spForm]: !0,
|
|
925
|
+
[ze[`spForm--size-${t}`]]: t,
|
|
926
|
+
[ze.spForm_fullWidth]: r,
|
|
927
|
+
[ze.spForm_addMargin]: a,
|
|
928
|
+
[ze.spForm_withSeparator]: i && a,
|
|
921
929
|
...s && { [s]: !0 }
|
|
922
930
|
});
|
|
923
931
|
return /* @__PURE__ */ c("form", { ...p, onSubmit: (u) => {
|
|
924
932
|
u.preventDefault(), n && n();
|
|
925
933
|
}, className: l, children: o });
|
|
926
|
-
},
|
|
927
|
-
spLabel:
|
|
928
|
-
spLabel__text:
|
|
929
|
-
spLabel__tooltip:
|
|
930
|
-
spLabel__required:
|
|
934
|
+
}, ti = "_spLabel_1mq16_43", oi = "_spLabel__text_1mq16_52", ni = "_spLabel__tooltip_1mq16_62", ai = "_spLabel__required_1mq16_69", Xe = {
|
|
935
|
+
spLabel: ti,
|
|
936
|
+
spLabel__text: oi,
|
|
937
|
+
spLabel__tooltip: ni,
|
|
938
|
+
spLabel__required: ai
|
|
931
939
|
}, Dt = (e) => {
|
|
932
940
|
const {
|
|
933
941
|
required: t,
|
|
@@ -952,6 +960,7 @@ const $e = (e) => {
|
|
|
952
960
|
n && /* @__PURE__ */ c(
|
|
953
961
|
at,
|
|
954
962
|
{
|
|
963
|
+
hover: !0,
|
|
955
964
|
classNameTooltip: d,
|
|
956
965
|
position: a,
|
|
957
966
|
text: n,
|
|
@@ -959,20 +968,20 @@ const $e = (e) => {
|
|
|
959
968
|
}
|
|
960
969
|
)
|
|
961
970
|
] });
|
|
962
|
-
},
|
|
963
|
-
spInput:
|
|
964
|
-
spInput_error:
|
|
965
|
-
spInput__control:
|
|
966
|
-
spInput_absolutePositionError:
|
|
967
|
-
spInput__container:
|
|
968
|
-
spInput__control_filled:
|
|
969
|
-
spInput__control_outlined:
|
|
970
|
-
spInput__control_disabled:
|
|
971
|
-
spInput__control_clearable:
|
|
972
|
-
spInput__clear:
|
|
973
|
-
spInput__error:
|
|
974
|
-
spInput__error_absolutePosition:
|
|
975
|
-
},
|
|
971
|
+
}, ii = "_spInput_1qpas_43", ri = "_spInput_error_1qpas_48", si = "_spInput__control_1qpas_48", pi = "_spInput_absolutePositionError_1qpas_55", li = "_spInput__container_1qpas_58", ci = "_spInput__control_filled_1qpas_77", di = "_spInput__control_outlined_1qpas_81", mi = "_spInput__control_disabled_1qpas_85", ui = "_spInput__control_clearable_1qpas_89", _i = "_spInput__clear_1qpas_116", fi = "_spInput__error_1qpas_125", vi = "_spInput__error_absolutePosition_1qpas_132", ke = {
|
|
972
|
+
spInput: ii,
|
|
973
|
+
spInput_error: ri,
|
|
974
|
+
spInput__control: si,
|
|
975
|
+
spInput_absolutePositionError: pi,
|
|
976
|
+
spInput__container: li,
|
|
977
|
+
spInput__control_filled: ci,
|
|
978
|
+
spInput__control_outlined: di,
|
|
979
|
+
spInput__control_disabled: mi,
|
|
980
|
+
spInput__control_clearable: ui,
|
|
981
|
+
spInput__clear: _i,
|
|
982
|
+
spInput__error: fi,
|
|
983
|
+
spInput__error_absolutePosition: vi
|
|
984
|
+
}, gi = qe.forwardRef((e, t) => {
|
|
976
985
|
const {
|
|
977
986
|
value: o,
|
|
978
987
|
onChange: n,
|
|
@@ -988,38 +997,38 @@ const $e = (e) => {
|
|
|
988
997
|
onMouseEnter: h,
|
|
989
998
|
infoTooltipText: x,
|
|
990
999
|
tooltipPosition: w,
|
|
991
|
-
isVisibleDefaultTitle:
|
|
992
|
-
placeholder:
|
|
993
|
-
classNameRoot:
|
|
994
|
-
classNameError:
|
|
1000
|
+
isVisibleDefaultTitle: R = !0,
|
|
1001
|
+
placeholder: A = "Введите...",
|
|
1002
|
+
classNameRoot: U,
|
|
1003
|
+
classNameError: F,
|
|
995
1004
|
classNameLabel: y,
|
|
996
1005
|
classNameBaseTooltipRoot: m,
|
|
997
|
-
...
|
|
1006
|
+
...N
|
|
998
1007
|
} = e, z = f({
|
|
999
1008
|
[ke.spInput]: !0,
|
|
1000
1009
|
[ke.spInput_error]: !!p,
|
|
1001
1010
|
[ke.spInput_absolutePositionError]: s,
|
|
1002
|
-
...
|
|
1003
|
-
}),
|
|
1011
|
+
...U && { [U]: !0 }
|
|
1012
|
+
}), K = f({
|
|
1004
1013
|
[ke.spInput__container]: !0
|
|
1005
|
-
}),
|
|
1014
|
+
}), J = f({
|
|
1006
1015
|
[ke.spInput__control]: !0,
|
|
1007
1016
|
[ke.spInput__control_disabled]: r,
|
|
1008
1017
|
[ke[`spInput__control_${i}`]]: i,
|
|
1009
1018
|
[ke.spInput__control_clearable]: u
|
|
1010
|
-
}),
|
|
1019
|
+
}), ne = f({
|
|
1011
1020
|
[ke.spInput__clear]: !0
|
|
1012
1021
|
}), me = f({
|
|
1013
1022
|
[ke.spInput__error]: !0,
|
|
1014
1023
|
[ke.spInput__error_absolutePosition]: s,
|
|
1015
|
-
...
|
|
1024
|
+
...F && { [F]: !0 }
|
|
1016
1025
|
}), ue = f({
|
|
1017
1026
|
...y && { [y]: !0 }
|
|
1018
1027
|
}), le = (P) => {
|
|
1019
1028
|
n(P, { name: d, value: "" });
|
|
1020
|
-
},
|
|
1021
|
-
const { value:
|
|
1022
|
-
g &&
|
|
1029
|
+
}, X = (P) => {
|
|
1030
|
+
const { value: q, name: V } = P.target;
|
|
1031
|
+
g && q && !new RegExp(g).test(q) || n(P, { value: q, name: V });
|
|
1023
1032
|
};
|
|
1024
1033
|
return /* @__PURE__ */ O("div", { className: z, children: [
|
|
1025
1034
|
a && /* @__PURE__ */ c(
|
|
@@ -1033,28 +1042,28 @@ const $e = (e) => {
|
|
|
1033
1042
|
classNameBaseTooltipRoot: m
|
|
1034
1043
|
}
|
|
1035
1044
|
),
|
|
1036
|
-
/* @__PURE__ */ O("div", { className:
|
|
1045
|
+
/* @__PURE__ */ O("div", { className: K, onMouseEnter: h, children: [
|
|
1037
1046
|
/* @__PURE__ */ c(
|
|
1038
1047
|
"input",
|
|
1039
1048
|
{
|
|
1040
|
-
...
|
|
1041
|
-
placeholder:
|
|
1049
|
+
...N,
|
|
1050
|
+
placeholder: A,
|
|
1042
1051
|
disabled: r,
|
|
1043
|
-
onChange:
|
|
1044
|
-
title:
|
|
1052
|
+
onChange: X,
|
|
1053
|
+
title: R ? o : void 0,
|
|
1045
1054
|
value: o,
|
|
1046
1055
|
name: d,
|
|
1047
|
-
className:
|
|
1056
|
+
className: J,
|
|
1048
1057
|
ref: t
|
|
1049
1058
|
}
|
|
1050
1059
|
),
|
|
1051
|
-
u && o && !r && /* @__PURE__ */ c(ve, { onClick: le, className:
|
|
1060
|
+
u && o && !r && /* @__PURE__ */ c(ve, { onClick: le, className: ne, name: B.Trash })
|
|
1052
1061
|
] }),
|
|
1053
1062
|
p && /* @__PURE__ */ c("div", { className: me, children: p })
|
|
1054
1063
|
] });
|
|
1055
1064
|
});
|
|
1056
|
-
|
|
1057
|
-
const
|
|
1065
|
+
gi.displayName = "Input";
|
|
1066
|
+
const xi = xo({
|
|
1058
1067
|
device: {
|
|
1059
1068
|
isDesktop: !1,
|
|
1060
1069
|
isMobile: !1,
|
|
@@ -1064,11 +1073,11 @@ const di = xo({
|
|
|
1064
1073
|
function To(e) {
|
|
1065
1074
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1066
1075
|
}
|
|
1067
|
-
var
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
var
|
|
1071
|
-
function
|
|
1076
|
+
var Bt = {};
|
|
1077
|
+
Bt.match = ki;
|
|
1078
|
+
Bt.parse = No;
|
|
1079
|
+
var hi = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, bi = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, yi = /^(?:(min|max)-)?(.+)/, wi = /(em|rem|px|cm|mm|in|pt|pc)?$/, Ci = /(dpi|dpcm|dppx)?$/;
|
|
1080
|
+
function ki(e, t) {
|
|
1072
1081
|
return No(e).some(function(o) {
|
|
1073
1082
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
1074
1083
|
if (a && n || !(a || n))
|
|
@@ -1118,9 +1127,9 @@ function gi(e, t) {
|
|
|
1118
1127
|
function No(e) {
|
|
1119
1128
|
return e.split(",").map(function(t) {
|
|
1120
1129
|
t = t.trim();
|
|
1121
|
-
var o = t.match(
|
|
1130
|
+
var o = t.match(hi), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
1122
1131
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
1123
|
-
var p = s.match(
|
|
1132
|
+
var p = s.match(bi), l = p[1].toLowerCase().match(yi);
|
|
1124
1133
|
return {
|
|
1125
1134
|
modifier: l[1],
|
|
1126
1135
|
feature: l[2],
|
|
@@ -1134,7 +1143,7 @@ function qt(e) {
|
|
|
1134
1143
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1135
1144
|
}
|
|
1136
1145
|
function $t(e) {
|
|
1137
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1146
|
+
var t = parseFloat(e), o = String(e).match(Ci)[1];
|
|
1138
1147
|
switch (o) {
|
|
1139
1148
|
case "dpcm":
|
|
1140
1149
|
return t / 2.54;
|
|
@@ -1145,7 +1154,7 @@ function $t(e) {
|
|
|
1145
1154
|
}
|
|
1146
1155
|
}
|
|
1147
1156
|
function Ht(e) {
|
|
1148
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1157
|
+
var t = parseFloat(e), o = String(e).match(wi)[1];
|
|
1149
1158
|
switch (o) {
|
|
1150
1159
|
case "em":
|
|
1151
1160
|
return t * 16;
|
|
@@ -1165,10 +1174,10 @@ function Ht(e) {
|
|
|
1165
1174
|
return t;
|
|
1166
1175
|
}
|
|
1167
1176
|
}
|
|
1168
|
-
var
|
|
1169
|
-
function
|
|
1177
|
+
var Ti = Bt.match, Vt = typeof window < "u" ? window.matchMedia : null;
|
|
1178
|
+
function Ni(e, t, o) {
|
|
1170
1179
|
var n = this, a;
|
|
1171
|
-
Vt && !o && (a = Vt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
1180
|
+
Vt && !o && (a = Vt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = Ti(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = p;
|
|
1172
1181
|
function i(l) {
|
|
1173
1182
|
a && a.addListener(l);
|
|
1174
1183
|
}
|
|
@@ -1182,22 +1191,22 @@ function hi(e, t, o) {
|
|
|
1182
1191
|
a && a.removeListener(s);
|
|
1183
1192
|
}
|
|
1184
1193
|
}
|
|
1185
|
-
function
|
|
1186
|
-
return new
|
|
1194
|
+
function Ei(e, t, o) {
|
|
1195
|
+
return new Ni(e, t, o);
|
|
1187
1196
|
}
|
|
1188
|
-
var
|
|
1189
|
-
const
|
|
1190
|
-
var
|
|
1191
|
-
function
|
|
1197
|
+
var Ii = Ei;
|
|
1198
|
+
const Si = /* @__PURE__ */ To(Ii);
|
|
1199
|
+
var Li = /[A-Z]/g, Ri = /^ms-/, ft = {};
|
|
1200
|
+
function Fi(e) {
|
|
1192
1201
|
return "-" + e.toLowerCase();
|
|
1193
1202
|
}
|
|
1194
1203
|
function Eo(e) {
|
|
1195
1204
|
if (ft.hasOwnProperty(e))
|
|
1196
1205
|
return ft[e];
|
|
1197
|
-
var t = e.replace(
|
|
1198
|
-
return ft[e] =
|
|
1206
|
+
var t = e.replace(Li, Fi);
|
|
1207
|
+
return ft[e] = Ri.test(t) ? "-" + t : t;
|
|
1199
1208
|
}
|
|
1200
|
-
function
|
|
1209
|
+
function Ai(e, t) {
|
|
1201
1210
|
if (e === t)
|
|
1202
1211
|
return !0;
|
|
1203
1212
|
if (!e || !t)
|
|
@@ -1212,7 +1221,7 @@ function Ni(e, t) {
|
|
|
1212
1221
|
}
|
|
1213
1222
|
return !0;
|
|
1214
1223
|
}
|
|
1215
|
-
var Nt = { exports: {} }, Ze = { exports: {} },
|
|
1224
|
+
var Nt = { exports: {} }, Ze = { exports: {} }, Z = {};
|
|
1216
1225
|
/** @license React v16.13.1
|
|
1217
1226
|
* react-is.production.min.js
|
|
1218
1227
|
*
|
|
@@ -1222,14 +1231,14 @@ var Nt = { exports: {} }, Ze = { exports: {} }, X = {};
|
|
|
1222
1231
|
* LICENSE file in the root directory of this source tree.
|
|
1223
1232
|
*/
|
|
1224
1233
|
var Yt;
|
|
1225
|
-
function
|
|
1226
|
-
if (Yt) return
|
|
1234
|
+
function ji() {
|
|
1235
|
+
if (Yt) return Z;
|
|
1227
1236
|
Yt = 1;
|
|
1228
|
-
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121,
|
|
1229
|
-
function
|
|
1237
|
+
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1238
|
+
function F(m) {
|
|
1230
1239
|
if (typeof m == "object" && m !== null) {
|
|
1231
|
-
var
|
|
1232
|
-
switch (
|
|
1240
|
+
var N = m.$$typeof;
|
|
1241
|
+
switch (N) {
|
|
1233
1242
|
case t:
|
|
1234
1243
|
switch (m = m.type, m) {
|
|
1235
1244
|
case p:
|
|
@@ -1248,46 +1257,46 @@ function Ei() {
|
|
|
1248
1257
|
case r:
|
|
1249
1258
|
return m;
|
|
1250
1259
|
default:
|
|
1251
|
-
return
|
|
1260
|
+
return N;
|
|
1252
1261
|
}
|
|
1253
1262
|
}
|
|
1254
1263
|
case o:
|
|
1255
|
-
return
|
|
1264
|
+
return N;
|
|
1256
1265
|
}
|
|
1257
1266
|
}
|
|
1258
1267
|
}
|
|
1259
1268
|
function y(m) {
|
|
1260
|
-
return
|
|
1269
|
+
return F(m) === l;
|
|
1261
1270
|
}
|
|
1262
|
-
return
|
|
1263
|
-
return y(m) ||
|
|
1264
|
-
},
|
|
1265
|
-
return
|
|
1266
|
-
},
|
|
1267
|
-
return
|
|
1268
|
-
},
|
|
1271
|
+
return Z.AsyncMode = p, Z.ConcurrentMode = l, Z.ContextConsumer = s, Z.ContextProvider = r, Z.Element = t, Z.ForwardRef = d, Z.Fragment = n, Z.Lazy = x, Z.Memo = h, Z.Portal = o, Z.Profiler = i, Z.StrictMode = a, Z.Suspense = u, Z.isAsyncMode = function(m) {
|
|
1272
|
+
return y(m) || F(m) === p;
|
|
1273
|
+
}, Z.isConcurrentMode = y, Z.isContextConsumer = function(m) {
|
|
1274
|
+
return F(m) === s;
|
|
1275
|
+
}, Z.isContextProvider = function(m) {
|
|
1276
|
+
return F(m) === r;
|
|
1277
|
+
}, Z.isElement = function(m) {
|
|
1269
1278
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
1270
|
-
},
|
|
1271
|
-
return
|
|
1272
|
-
},
|
|
1273
|
-
return
|
|
1274
|
-
},
|
|
1275
|
-
return
|
|
1276
|
-
},
|
|
1277
|
-
return
|
|
1278
|
-
},
|
|
1279
|
-
return
|
|
1280
|
-
},
|
|
1281
|
-
return
|
|
1282
|
-
},
|
|
1283
|
-
return
|
|
1284
|
-
},
|
|
1285
|
-
return
|
|
1286
|
-
},
|
|
1287
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof ===
|
|
1288
|
-
},
|
|
1279
|
+
}, Z.isForwardRef = function(m) {
|
|
1280
|
+
return F(m) === d;
|
|
1281
|
+
}, Z.isFragment = function(m) {
|
|
1282
|
+
return F(m) === n;
|
|
1283
|
+
}, Z.isLazy = function(m) {
|
|
1284
|
+
return F(m) === x;
|
|
1285
|
+
}, Z.isMemo = function(m) {
|
|
1286
|
+
return F(m) === h;
|
|
1287
|
+
}, Z.isPortal = function(m) {
|
|
1288
|
+
return F(m) === o;
|
|
1289
|
+
}, Z.isProfiler = function(m) {
|
|
1290
|
+
return F(m) === i;
|
|
1291
|
+
}, Z.isStrictMode = function(m) {
|
|
1292
|
+
return F(m) === a;
|
|
1293
|
+
}, Z.isSuspense = function(m) {
|
|
1294
|
+
return F(m) === u;
|
|
1295
|
+
}, Z.isValidElementType = function(m) {
|
|
1296
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof === R || m.$$typeof === A || m.$$typeof === U || m.$$typeof === w);
|
|
1297
|
+
}, Z.typeOf = F, Z;
|
|
1289
1298
|
}
|
|
1290
|
-
var
|
|
1299
|
+
var Q = {};
|
|
1291
1300
|
/** @license React v16.13.1
|
|
1292
1301
|
* react-is.development.js
|
|
1293
1302
|
*
|
|
@@ -1297,12 +1306,12 @@ var Z = {};
|
|
|
1297
1306
|
* LICENSE file in the root directory of this source tree.
|
|
1298
1307
|
*/
|
|
1299
1308
|
var Gt;
|
|
1300
|
-
function
|
|
1309
|
+
function Di() {
|
|
1301
1310
|
return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1302
|
-
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121,
|
|
1303
|
-
function
|
|
1311
|
+
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1312
|
+
function F(b) {
|
|
1304
1313
|
return typeof b == "string" || typeof b == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1305
|
-
b === n || b === l || b === i || b === a || b === u || b === g || typeof b == "object" && b !== null && (b.$$typeof === x || b.$$typeof === h || b.$$typeof === r || b.$$typeof === s || b.$$typeof === d || b.$$typeof ===
|
|
1314
|
+
b === n || b === l || b === i || b === a || b === u || b === g || typeof b == "object" && b !== null && (b.$$typeof === x || b.$$typeof === h || b.$$typeof === r || b.$$typeof === s || b.$$typeof === d || b.$$typeof === R || b.$$typeof === A || b.$$typeof === U || b.$$typeof === w);
|
|
1306
1315
|
}
|
|
1307
1316
|
function y(b) {
|
|
1308
1317
|
if (typeof b == "object" && b !== null) {
|
|
@@ -1319,14 +1328,14 @@ function Ii() {
|
|
|
1319
1328
|
case u:
|
|
1320
1329
|
return Se;
|
|
1321
1330
|
default:
|
|
1322
|
-
var
|
|
1323
|
-
switch (
|
|
1331
|
+
var We = Se && Se.$$typeof;
|
|
1332
|
+
switch (We) {
|
|
1324
1333
|
case s:
|
|
1325
1334
|
case d:
|
|
1326
1335
|
case x:
|
|
1327
1336
|
case h:
|
|
1328
1337
|
case r:
|
|
1329
|
-
return
|
|
1338
|
+
return We;
|
|
1330
1339
|
default:
|
|
1331
1340
|
return he;
|
|
1332
1341
|
}
|
|
@@ -1336,9 +1345,9 @@ function Ii() {
|
|
|
1336
1345
|
}
|
|
1337
1346
|
}
|
|
1338
1347
|
}
|
|
1339
|
-
var m = p,
|
|
1340
|
-
function
|
|
1341
|
-
return
|
|
1348
|
+
var m = p, N = l, z = s, K = r, J = t, ne = d, me = n, ue = x, le = h, X = o, T = i, P = a, q = u, V = !1;
|
|
1349
|
+
function te(b) {
|
|
1350
|
+
return V || (V = !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.")), _(b) || y(b) === p;
|
|
1342
1351
|
}
|
|
1343
1352
|
function _(b) {
|
|
1344
1353
|
return y(b) === l;
|
|
@@ -1346,42 +1355,42 @@ function Ii() {
|
|
|
1346
1355
|
function v(b) {
|
|
1347
1356
|
return y(b) === s;
|
|
1348
1357
|
}
|
|
1349
|
-
function
|
|
1358
|
+
function S(b) {
|
|
1350
1359
|
return y(b) === r;
|
|
1351
1360
|
}
|
|
1352
|
-
function
|
|
1361
|
+
function L(b) {
|
|
1353
1362
|
return typeof b == "object" && b !== null && b.$$typeof === t;
|
|
1354
1363
|
}
|
|
1355
|
-
function
|
|
1364
|
+
function I(b) {
|
|
1356
1365
|
return y(b) === d;
|
|
1357
1366
|
}
|
|
1358
|
-
function
|
|
1367
|
+
function W(b) {
|
|
1359
1368
|
return y(b) === n;
|
|
1360
1369
|
}
|
|
1361
1370
|
function D(b) {
|
|
1362
1371
|
return y(b) === x;
|
|
1363
1372
|
}
|
|
1364
|
-
function
|
|
1373
|
+
function M(b) {
|
|
1365
1374
|
return y(b) === h;
|
|
1366
1375
|
}
|
|
1367
|
-
function
|
|
1376
|
+
function H(b) {
|
|
1368
1377
|
return y(b) === o;
|
|
1369
1378
|
}
|
|
1370
|
-
function
|
|
1379
|
+
function G(b) {
|
|
1371
1380
|
return y(b) === i;
|
|
1372
1381
|
}
|
|
1373
|
-
function
|
|
1382
|
+
function $(b) {
|
|
1374
1383
|
return y(b) === a;
|
|
1375
1384
|
}
|
|
1376
1385
|
function ie(b) {
|
|
1377
1386
|
return y(b) === u;
|
|
1378
1387
|
}
|
|
1379
|
-
|
|
1380
|
-
}()),
|
|
1388
|
+
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer = z, Q.ContextProvider = K, Q.Element = J, Q.ForwardRef = ne, Q.Fragment = me, Q.Lazy = ue, Q.Memo = le, Q.Portal = X, Q.Profiler = T, Q.StrictMode = P, Q.Suspense = q, Q.isAsyncMode = te, Q.isConcurrentMode = _, Q.isContextConsumer = v, Q.isContextProvider = S, Q.isElement = L, Q.isForwardRef = I, Q.isFragment = W, Q.isLazy = D, Q.isMemo = M, Q.isPortal = H, Q.isProfiler = G, Q.isStrictMode = $, Q.isSuspense = ie, Q.isValidElementType = F, Q.typeOf = y;
|
|
1389
|
+
}()), Q;
|
|
1381
1390
|
}
|
|
1382
1391
|
var Kt;
|
|
1383
1392
|
function Io() {
|
|
1384
|
-
return Kt || (Kt = 1, process.env.NODE_ENV === "production" ? Ze.exports =
|
|
1393
|
+
return Kt || (Kt = 1, process.env.NODE_ENV === "production" ? Ze.exports = ji() : Ze.exports = Di()), Ze.exports;
|
|
1385
1394
|
}
|
|
1386
1395
|
/*
|
|
1387
1396
|
object-assign
|
|
@@ -1389,7 +1398,7 @@ object-assign
|
|
|
1389
1398
|
@license MIT
|
|
1390
1399
|
*/
|
|
1391
1400
|
var vt, Xt;
|
|
1392
|
-
function
|
|
1401
|
+
function Bi() {
|
|
1393
1402
|
if (Xt) return vt;
|
|
1394
1403
|
Xt = 1;
|
|
1395
1404
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
@@ -1435,7 +1444,7 @@ function Si() {
|
|
|
1435
1444
|
}, vt;
|
|
1436
1445
|
}
|
|
1437
1446
|
var gt, Zt;
|
|
1438
|
-
function
|
|
1447
|
+
function Pt() {
|
|
1439
1448
|
if (Zt) return gt;
|
|
1440
1449
|
Zt = 1;
|
|
1441
1450
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -1446,13 +1455,13 @@ function So() {
|
|
|
1446
1455
|
return Qt || (Qt = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
|
|
1447
1456
|
}
|
|
1448
1457
|
var ht, Jt;
|
|
1449
|
-
function
|
|
1458
|
+
function Pi() {
|
|
1450
1459
|
if (Jt) return ht;
|
|
1451
1460
|
Jt = 1;
|
|
1452
1461
|
var e = function() {
|
|
1453
1462
|
};
|
|
1454
1463
|
if (process.env.NODE_ENV !== "production") {
|
|
1455
|
-
var t =
|
|
1464
|
+
var t = Pt(), o = {}, n = So();
|
|
1456
1465
|
e = function(i) {
|
|
1457
1466
|
var r = "Warning: " + i;
|
|
1458
1467
|
typeof console < "u" && console.error(r);
|
|
@@ -1495,10 +1504,10 @@ function Ri() {
|
|
|
1495
1504
|
}, ht = a, ht;
|
|
1496
1505
|
}
|
|
1497
1506
|
var bt, eo;
|
|
1498
|
-
function
|
|
1507
|
+
function Wi() {
|
|
1499
1508
|
if (eo) return bt;
|
|
1500
1509
|
eo = 1;
|
|
1501
|
-
var e = Io(), t =
|
|
1510
|
+
var e = Io(), t = Bi(), o = Pt(), n = So(), a = Pi(), i = function() {
|
|
1502
1511
|
};
|
|
1503
1512
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1504
1513
|
var p = "Warning: " + s;
|
|
@@ -1519,23 +1528,23 @@ function Fi() {
|
|
|
1519
1528
|
return v;
|
|
1520
1529
|
}
|
|
1521
1530
|
var g = "<<anonymous>>", h = {
|
|
1522
|
-
array:
|
|
1523
|
-
bigint:
|
|
1524
|
-
bool:
|
|
1525
|
-
func:
|
|
1526
|
-
number:
|
|
1527
|
-
object:
|
|
1528
|
-
string:
|
|
1529
|
-
symbol:
|
|
1530
|
-
any:
|
|
1531
|
-
arrayOf:
|
|
1531
|
+
array: A("array"),
|
|
1532
|
+
bigint: A("bigint"),
|
|
1533
|
+
bool: A("boolean"),
|
|
1534
|
+
func: A("function"),
|
|
1535
|
+
number: A("number"),
|
|
1536
|
+
object: A("object"),
|
|
1537
|
+
string: A("string"),
|
|
1538
|
+
symbol: A("symbol"),
|
|
1539
|
+
any: U(),
|
|
1540
|
+
arrayOf: F,
|
|
1532
1541
|
element: y(),
|
|
1533
1542
|
elementType: m(),
|
|
1534
|
-
instanceOf:
|
|
1535
|
-
node:
|
|
1536
|
-
objectOf:
|
|
1543
|
+
instanceOf: N,
|
|
1544
|
+
node: ne(),
|
|
1545
|
+
objectOf: K,
|
|
1537
1546
|
oneOf: z,
|
|
1538
|
-
oneOfType:
|
|
1547
|
+
oneOfType: J,
|
|
1539
1548
|
shape: ue,
|
|
1540
1549
|
exact: le
|
|
1541
1550
|
};
|
|
@@ -1546,204 +1555,204 @@ function Fi() {
|
|
|
1546
1555
|
this.message = _, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1547
1556
|
}
|
|
1548
1557
|
w.prototype = Error.prototype;
|
|
1549
|
-
function
|
|
1558
|
+
function R(_) {
|
|
1550
1559
|
if (process.env.NODE_ENV !== "production")
|
|
1551
|
-
var v = {},
|
|
1552
|
-
function
|
|
1553
|
-
if (
|
|
1560
|
+
var v = {}, S = 0;
|
|
1561
|
+
function L(W, D, M, H, G, $, ie) {
|
|
1562
|
+
if (H = H || g, $ = $ || M, ie !== o) {
|
|
1554
1563
|
if (p) {
|
|
1555
1564
|
var b = new Error(
|
|
1556
1565
|
"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"
|
|
1557
1566
|
);
|
|
1558
1567
|
throw b.name = "Invariant Violation", b;
|
|
1559
1568
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1560
|
-
var he =
|
|
1569
|
+
var he = H + ":" + M;
|
|
1561
1570
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1562
|
-
|
|
1563
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1564
|
-
), v[he] = !0,
|
|
1571
|
+
S < 3 && (i(
|
|
1572
|
+
"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."
|
|
1573
|
+
), v[he] = !0, S++);
|
|
1565
1574
|
}
|
|
1566
1575
|
}
|
|
1567
|
-
return D[
|
|
1576
|
+
return D[M] == null ? W ? D[M] === null ? new w("The " + G + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new w("The " + G + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : _(D, M, H, G, $);
|
|
1568
1577
|
}
|
|
1569
|
-
var
|
|
1570
|
-
return
|
|
1578
|
+
var I = L.bind(null, !1);
|
|
1579
|
+
return I.isRequired = L.bind(null, !0), I;
|
|
1571
1580
|
}
|
|
1572
|
-
function
|
|
1573
|
-
function v(
|
|
1574
|
-
var
|
|
1575
|
-
if (
|
|
1576
|
-
var
|
|
1581
|
+
function A(_) {
|
|
1582
|
+
function v(S, L, I, W, D, M) {
|
|
1583
|
+
var H = S[L], G = P(H);
|
|
1584
|
+
if (G !== _) {
|
|
1585
|
+
var $ = q(H);
|
|
1577
1586
|
return new w(
|
|
1578
|
-
"Invalid " +
|
|
1587
|
+
"Invalid " + W + " `" + D + "` of type " + ("`" + $ + "` supplied to `" + I + "`, expected ") + ("`" + _ + "`."),
|
|
1579
1588
|
{ expectedType: _ }
|
|
1580
1589
|
);
|
|
1581
1590
|
}
|
|
1582
1591
|
return null;
|
|
1583
1592
|
}
|
|
1584
|
-
return
|
|
1593
|
+
return R(v);
|
|
1585
1594
|
}
|
|
1586
|
-
function
|
|
1587
|
-
return
|
|
1595
|
+
function U() {
|
|
1596
|
+
return R(r);
|
|
1588
1597
|
}
|
|
1589
|
-
function
|
|
1590
|
-
function v(
|
|
1598
|
+
function F(_) {
|
|
1599
|
+
function v(S, L, I, W, D) {
|
|
1591
1600
|
if (typeof _ != "function")
|
|
1592
|
-
return new w("Property `" + D + "` of component `" +
|
|
1593
|
-
var
|
|
1594
|
-
if (!Array.isArray(
|
|
1595
|
-
var
|
|
1596
|
-
return new w("Invalid " +
|
|
1601
|
+
return new w("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1602
|
+
var M = S[L];
|
|
1603
|
+
if (!Array.isArray(M)) {
|
|
1604
|
+
var H = P(M);
|
|
1605
|
+
return new w("Invalid " + W + " `" + D + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an array."));
|
|
1597
1606
|
}
|
|
1598
|
-
for (var
|
|
1599
|
-
var
|
|
1600
|
-
if (
|
|
1601
|
-
return
|
|
1607
|
+
for (var G = 0; G < M.length; G++) {
|
|
1608
|
+
var $ = _(M, G, I, W, D + "[" + G + "]", o);
|
|
1609
|
+
if ($ instanceof Error)
|
|
1610
|
+
return $;
|
|
1602
1611
|
}
|
|
1603
1612
|
return null;
|
|
1604
1613
|
}
|
|
1605
|
-
return
|
|
1614
|
+
return R(v);
|
|
1606
1615
|
}
|
|
1607
1616
|
function y() {
|
|
1608
|
-
function _(v,
|
|
1609
|
-
var D = v[
|
|
1617
|
+
function _(v, S, L, I, W) {
|
|
1618
|
+
var D = v[S];
|
|
1610
1619
|
if (!s(D)) {
|
|
1611
|
-
var
|
|
1612
|
-
return new w("Invalid " +
|
|
1620
|
+
var M = P(D);
|
|
1621
|
+
return new w("Invalid " + I + " `" + W + "` of type " + ("`" + M + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
1613
1622
|
}
|
|
1614
1623
|
return null;
|
|
1615
1624
|
}
|
|
1616
|
-
return
|
|
1625
|
+
return R(_);
|
|
1617
1626
|
}
|
|
1618
1627
|
function m() {
|
|
1619
|
-
function _(v,
|
|
1620
|
-
var D = v[
|
|
1628
|
+
function _(v, S, L, I, W) {
|
|
1629
|
+
var D = v[S];
|
|
1621
1630
|
if (!e.isValidElementType(D)) {
|
|
1622
|
-
var
|
|
1623
|
-
return new w("Invalid " +
|
|
1631
|
+
var M = P(D);
|
|
1632
|
+
return new w("Invalid " + I + " `" + W + "` of type " + ("`" + M + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
1624
1633
|
}
|
|
1625
1634
|
return null;
|
|
1626
1635
|
}
|
|
1627
|
-
return
|
|
1636
|
+
return R(_);
|
|
1628
1637
|
}
|
|
1629
|
-
function
|
|
1630
|
-
function v(
|
|
1631
|
-
if (!(
|
|
1632
|
-
var
|
|
1633
|
-
return new w("Invalid " +
|
|
1638
|
+
function N(_) {
|
|
1639
|
+
function v(S, L, I, W, D) {
|
|
1640
|
+
if (!(S[L] instanceof _)) {
|
|
1641
|
+
var M = _.name || g, H = te(S[L]);
|
|
1642
|
+
return new w("Invalid " + W + " `" + D + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected ") + ("instance of `" + M + "`."));
|
|
1634
1643
|
}
|
|
1635
1644
|
return null;
|
|
1636
1645
|
}
|
|
1637
|
-
return
|
|
1646
|
+
return R(v);
|
|
1638
1647
|
}
|
|
1639
1648
|
function z(_) {
|
|
1640
1649
|
if (!Array.isArray(_))
|
|
1641
1650
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1642
1651
|
"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])."
|
|
1643
1652
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1644
|
-
function v(
|
|
1645
|
-
for (var
|
|
1646
|
-
if (x(
|
|
1653
|
+
function v(S, L, I, W, D) {
|
|
1654
|
+
for (var M = S[L], H = 0; H < _.length; H++)
|
|
1655
|
+
if (x(M, _[H]))
|
|
1647
1656
|
return null;
|
|
1648
|
-
var
|
|
1649
|
-
var he =
|
|
1657
|
+
var G = JSON.stringify(_, function(ie, b) {
|
|
1658
|
+
var he = q(b);
|
|
1650
1659
|
return he === "symbol" ? String(b) : b;
|
|
1651
1660
|
});
|
|
1652
|
-
return new w("Invalid " +
|
|
1661
|
+
return new w("Invalid " + W + " `" + D + "` of value `" + String(M) + "` " + ("supplied to `" + I + "`, expected one of " + G + "."));
|
|
1653
1662
|
}
|
|
1654
|
-
return
|
|
1663
|
+
return R(v);
|
|
1655
1664
|
}
|
|
1656
|
-
function
|
|
1657
|
-
function v(
|
|
1665
|
+
function K(_) {
|
|
1666
|
+
function v(S, L, I, W, D) {
|
|
1658
1667
|
if (typeof _ != "function")
|
|
1659
|
-
return new w("Property `" + D + "` of component `" +
|
|
1660
|
-
var
|
|
1661
|
-
if (
|
|
1662
|
-
return new w("Invalid " +
|
|
1663
|
-
for (var
|
|
1664
|
-
if (n(
|
|
1665
|
-
var
|
|
1666
|
-
if (
|
|
1667
|
-
return
|
|
1668
|
+
return new w("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1669
|
+
var M = S[L], H = P(M);
|
|
1670
|
+
if (H !== "object")
|
|
1671
|
+
return new w("Invalid " + W + " `" + D + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an object."));
|
|
1672
|
+
for (var G in M)
|
|
1673
|
+
if (n(M, G)) {
|
|
1674
|
+
var $ = _(M, G, I, W, D + "." + G, o);
|
|
1675
|
+
if ($ instanceof Error)
|
|
1676
|
+
return $;
|
|
1668
1677
|
}
|
|
1669
1678
|
return null;
|
|
1670
1679
|
}
|
|
1671
|
-
return
|
|
1680
|
+
return R(v);
|
|
1672
1681
|
}
|
|
1673
|
-
function
|
|
1682
|
+
function J(_) {
|
|
1674
1683
|
if (!Array.isArray(_))
|
|
1675
1684
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1676
1685
|
for (var v = 0; v < _.length; v++) {
|
|
1677
|
-
var
|
|
1678
|
-
if (typeof
|
|
1686
|
+
var S = _[v];
|
|
1687
|
+
if (typeof S != "function")
|
|
1679
1688
|
return i(
|
|
1680
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1689
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(S) + " at index " + v + "."
|
|
1681
1690
|
), r;
|
|
1682
1691
|
}
|
|
1683
|
-
function
|
|
1684
|
-
for (var
|
|
1685
|
-
var ie = _[
|
|
1692
|
+
function L(I, W, D, M, H) {
|
|
1693
|
+
for (var G = [], $ = 0; $ < _.length; $++) {
|
|
1694
|
+
var ie = _[$], b = ie(I, W, D, M, H, o);
|
|
1686
1695
|
if (b == null)
|
|
1687
1696
|
return null;
|
|
1688
|
-
b.data && n(b.data, "expectedType") &&
|
|
1697
|
+
b.data && n(b.data, "expectedType") && G.push(b.data.expectedType);
|
|
1689
1698
|
}
|
|
1690
|
-
var he =
|
|
1691
|
-
return new w("Invalid " +
|
|
1699
|
+
var he = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
|
|
1700
|
+
return new w("Invalid " + M + " `" + H + "` supplied to " + ("`" + D + "`" + he + "."));
|
|
1692
1701
|
}
|
|
1693
|
-
return
|
|
1702
|
+
return R(L);
|
|
1694
1703
|
}
|
|
1695
|
-
function
|
|
1696
|
-
function _(v,
|
|
1697
|
-
return
|
|
1704
|
+
function ne() {
|
|
1705
|
+
function _(v, S, L, I, W) {
|
|
1706
|
+
return X(v[S]) ? null : new w("Invalid " + I + " `" + W + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
1698
1707
|
}
|
|
1699
|
-
return
|
|
1708
|
+
return R(_);
|
|
1700
1709
|
}
|
|
1701
|
-
function me(_, v,
|
|
1710
|
+
function me(_, v, S, L, I) {
|
|
1702
1711
|
return new w(
|
|
1703
|
-
(_ || "React class") + ": " + v + " type `" +
|
|
1712
|
+
(_ || "React class") + ": " + v + " type `" + S + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1704
1713
|
);
|
|
1705
1714
|
}
|
|
1706
1715
|
function ue(_) {
|
|
1707
|
-
function v(
|
|
1708
|
-
var
|
|
1709
|
-
if (
|
|
1710
|
-
return new w("Invalid " +
|
|
1711
|
-
for (var
|
|
1712
|
-
var
|
|
1713
|
-
if (typeof
|
|
1714
|
-
return me(
|
|
1715
|
-
var ie =
|
|
1716
|
+
function v(S, L, I, W, D) {
|
|
1717
|
+
var M = S[L], H = P(M);
|
|
1718
|
+
if (H !== "object")
|
|
1719
|
+
return new w("Invalid " + W + " `" + D + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1720
|
+
for (var G in _) {
|
|
1721
|
+
var $ = _[G];
|
|
1722
|
+
if (typeof $ != "function")
|
|
1723
|
+
return me(I, W, D, G, q($));
|
|
1724
|
+
var ie = $(M, G, I, W, D + "." + G, o);
|
|
1716
1725
|
if (ie)
|
|
1717
1726
|
return ie;
|
|
1718
1727
|
}
|
|
1719
1728
|
return null;
|
|
1720
1729
|
}
|
|
1721
|
-
return
|
|
1730
|
+
return R(v);
|
|
1722
1731
|
}
|
|
1723
1732
|
function le(_) {
|
|
1724
|
-
function v(
|
|
1725
|
-
var
|
|
1726
|
-
if (
|
|
1727
|
-
return new w("Invalid " +
|
|
1728
|
-
var
|
|
1729
|
-
for (var
|
|
1730
|
-
var ie = _[
|
|
1731
|
-
if (n(_,
|
|
1732
|
-
return me(
|
|
1733
|
+
function v(S, L, I, W, D) {
|
|
1734
|
+
var M = S[L], H = P(M);
|
|
1735
|
+
if (H !== "object")
|
|
1736
|
+
return new w("Invalid " + W + " `" + D + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1737
|
+
var G = t({}, S[L], _);
|
|
1738
|
+
for (var $ in G) {
|
|
1739
|
+
var ie = _[$];
|
|
1740
|
+
if (n(_, $) && typeof ie != "function")
|
|
1741
|
+
return me(I, W, D, $, q(ie));
|
|
1733
1742
|
if (!ie)
|
|
1734
1743
|
return new w(
|
|
1735
|
-
"Invalid " +
|
|
1744
|
+
"Invalid " + W + " `" + D + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(S[L], null, " ") + `
|
|
1736
1745
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1737
1746
|
);
|
|
1738
|
-
var b = ie(
|
|
1747
|
+
var b = ie(M, $, I, W, D + "." + $, o);
|
|
1739
1748
|
if (b)
|
|
1740
1749
|
return b;
|
|
1741
1750
|
}
|
|
1742
1751
|
return null;
|
|
1743
1752
|
}
|
|
1744
|
-
return
|
|
1753
|
+
return R(v);
|
|
1745
1754
|
}
|
|
1746
|
-
function
|
|
1755
|
+
function X(_) {
|
|
1747
1756
|
switch (typeof _) {
|
|
1748
1757
|
case "number":
|
|
1749
1758
|
case "string":
|
|
@@ -1753,20 +1762,20 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1753
1762
|
return !_;
|
|
1754
1763
|
case "object":
|
|
1755
1764
|
if (Array.isArray(_))
|
|
1756
|
-
return _.every(
|
|
1765
|
+
return _.every(X);
|
|
1757
1766
|
if (_ === null || s(_))
|
|
1758
1767
|
return !0;
|
|
1759
1768
|
var v = u(_);
|
|
1760
1769
|
if (v) {
|
|
1761
|
-
var
|
|
1770
|
+
var S = v.call(_), L;
|
|
1762
1771
|
if (v !== _.entries) {
|
|
1763
|
-
for (; !(
|
|
1764
|
-
if (!
|
|
1772
|
+
for (; !(L = S.next()).done; )
|
|
1773
|
+
if (!X(L.value))
|
|
1765
1774
|
return !1;
|
|
1766
1775
|
} else
|
|
1767
|
-
for (; !(
|
|
1768
|
-
var
|
|
1769
|
-
if (
|
|
1776
|
+
for (; !(L = S.next()).done; ) {
|
|
1777
|
+
var I = L.value;
|
|
1778
|
+
if (I && !X(I[1]))
|
|
1770
1779
|
return !1;
|
|
1771
1780
|
}
|
|
1772
1781
|
} else
|
|
@@ -1776,14 +1785,14 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1776
1785
|
return !1;
|
|
1777
1786
|
}
|
|
1778
1787
|
}
|
|
1779
|
-
function
|
|
1788
|
+
function T(_, v) {
|
|
1780
1789
|
return _ === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
|
|
1781
1790
|
}
|
|
1782
1791
|
function P(_) {
|
|
1783
1792
|
var v = typeof _;
|
|
1784
|
-
return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" :
|
|
1793
|
+
return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : T(v, _) ? "symbol" : v;
|
|
1785
1794
|
}
|
|
1786
|
-
function
|
|
1795
|
+
function q(_) {
|
|
1787
1796
|
if (typeof _ > "u" || _ === null)
|
|
1788
1797
|
return "" + _;
|
|
1789
1798
|
var v = P(_);
|
|
@@ -1795,8 +1804,8 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1795
1804
|
}
|
|
1796
1805
|
return v;
|
|
1797
1806
|
}
|
|
1798
|
-
function
|
|
1799
|
-
var v =
|
|
1807
|
+
function V(_) {
|
|
1808
|
+
var v = q(_);
|
|
1800
1809
|
switch (v) {
|
|
1801
1810
|
case "array":
|
|
1802
1811
|
case "object":
|
|
@@ -1809,17 +1818,17 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1809
1818
|
return v;
|
|
1810
1819
|
}
|
|
1811
1820
|
}
|
|
1812
|
-
function
|
|
1821
|
+
function te(_) {
|
|
1813
1822
|
return !_.constructor || !_.constructor.name ? g : _.constructor.name;
|
|
1814
1823
|
}
|
|
1815
1824
|
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
1816
1825
|
}, bt;
|
|
1817
1826
|
}
|
|
1818
1827
|
var yt, to;
|
|
1819
|
-
function
|
|
1828
|
+
function Oi() {
|
|
1820
1829
|
if (to) return yt;
|
|
1821
1830
|
to = 1;
|
|
1822
|
-
var e =
|
|
1831
|
+
var e = Pt();
|
|
1823
1832
|
function t() {
|
|
1824
1833
|
}
|
|
1825
1834
|
function o() {
|
|
@@ -1864,42 +1873,42 @@ function Ai() {
|
|
|
1864
1873
|
}, yt;
|
|
1865
1874
|
}
|
|
1866
1875
|
if (process.env.NODE_ENV !== "production") {
|
|
1867
|
-
var
|
|
1868
|
-
Nt.exports =
|
|
1876
|
+
var Mi = Io(), zi = !0;
|
|
1877
|
+
Nt.exports = Wi()(Mi.isElement, zi);
|
|
1869
1878
|
} else
|
|
1870
|
-
Nt.exports =
|
|
1871
|
-
var
|
|
1872
|
-
const
|
|
1873
|
-
all:
|
|
1874
|
-
grid:
|
|
1875
|
-
aural:
|
|
1876
|
-
braille:
|
|
1877
|
-
handheld:
|
|
1878
|
-
print:
|
|
1879
|
-
projection:
|
|
1880
|
-
screen:
|
|
1881
|
-
tty:
|
|
1882
|
-
tv:
|
|
1883
|
-
embossed:
|
|
1884
|
-
},
|
|
1885
|
-
orientation:
|
|
1886
|
-
scan:
|
|
1887
|
-
aspectRatio:
|
|
1888
|
-
deviceAspectRatio:
|
|
1879
|
+
Nt.exports = Oi()();
|
|
1880
|
+
var Ui = Nt.exports;
|
|
1881
|
+
const E = /* @__PURE__ */ To(Ui), fe = E.oneOfType([E.string, E.number]), Lo = {
|
|
1882
|
+
all: E.bool,
|
|
1883
|
+
grid: E.bool,
|
|
1884
|
+
aural: E.bool,
|
|
1885
|
+
braille: E.bool,
|
|
1886
|
+
handheld: E.bool,
|
|
1887
|
+
print: E.bool,
|
|
1888
|
+
projection: E.bool,
|
|
1889
|
+
screen: E.bool,
|
|
1890
|
+
tty: E.bool,
|
|
1891
|
+
tv: E.bool,
|
|
1892
|
+
embossed: E.bool
|
|
1893
|
+
}, qi = {
|
|
1894
|
+
orientation: E.oneOf(["portrait", "landscape"]),
|
|
1895
|
+
scan: E.oneOf(["progressive", "interlace"]),
|
|
1896
|
+
aspectRatio: E.string,
|
|
1897
|
+
deviceAspectRatio: E.string,
|
|
1889
1898
|
height: fe,
|
|
1890
1899
|
deviceHeight: fe,
|
|
1891
1900
|
width: fe,
|
|
1892
1901
|
deviceWidth: fe,
|
|
1893
|
-
color:
|
|
1894
|
-
colorIndex:
|
|
1895
|
-
monochrome:
|
|
1902
|
+
color: E.bool,
|
|
1903
|
+
colorIndex: E.bool,
|
|
1904
|
+
monochrome: E.bool,
|
|
1896
1905
|
resolution: fe,
|
|
1897
|
-
type: Object.keys(
|
|
1898
|
-
}, { type:
|
|
1899
|
-
minAspectRatio:
|
|
1900
|
-
maxAspectRatio:
|
|
1901
|
-
minDeviceAspectRatio:
|
|
1902
|
-
maxDeviceAspectRatio:
|
|
1906
|
+
type: Object.keys(Lo)
|
|
1907
|
+
}, { type: Vp, ...$i } = qi, Hi = {
|
|
1908
|
+
minAspectRatio: E.string,
|
|
1909
|
+
maxAspectRatio: E.string,
|
|
1910
|
+
minDeviceAspectRatio: E.string,
|
|
1911
|
+
maxDeviceAspectRatio: E.string,
|
|
1903
1912
|
minHeight: fe,
|
|
1904
1913
|
maxHeight: fe,
|
|
1905
1914
|
minDeviceHeight: fe,
|
|
@@ -1908,47 +1917,47 @@ const N = /* @__PURE__ */ To(Di), fe = N.oneOfType([N.string, N.number]), Ro = {
|
|
|
1908
1917
|
maxWidth: fe,
|
|
1909
1918
|
minDeviceWidth: fe,
|
|
1910
1919
|
maxDeviceWidth: fe,
|
|
1911
|
-
minColor:
|
|
1912
|
-
maxColor:
|
|
1913
|
-
minColorIndex:
|
|
1914
|
-
maxColorIndex:
|
|
1915
|
-
minMonochrome:
|
|
1916
|
-
maxMonochrome:
|
|
1920
|
+
minColor: E.number,
|
|
1921
|
+
maxColor: E.number,
|
|
1922
|
+
minColorIndex: E.number,
|
|
1923
|
+
maxColorIndex: E.number,
|
|
1924
|
+
minMonochrome: E.number,
|
|
1925
|
+
maxMonochrome: E.number,
|
|
1917
1926
|
minResolution: fe,
|
|
1918
1927
|
maxResolution: fe,
|
|
1919
|
-
|
|
1920
|
-
},
|
|
1921
|
-
var
|
|
1922
|
-
all:
|
|
1928
|
+
...$i
|
|
1929
|
+
}, Vi = { ...Lo, ...Hi };
|
|
1930
|
+
var Yi = {
|
|
1931
|
+
all: Vi
|
|
1923
1932
|
};
|
|
1924
|
-
const
|
|
1933
|
+
const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
1925
1934
|
const o = Eo(e);
|
|
1926
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ?
|
|
1927
|
-
},
|
|
1935
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? Gi(o) : `(${o}: ${t})`;
|
|
1936
|
+
}, Xi = (e) => e.join(" and "), Zi = (e) => {
|
|
1928
1937
|
const t = [];
|
|
1929
|
-
return Object.keys(
|
|
1938
|
+
return Object.keys(Yi.all).forEach((o) => {
|
|
1930
1939
|
const n = e[o];
|
|
1931
|
-
n != null && t.push(
|
|
1932
|
-
}),
|
|
1933
|
-
},
|
|
1940
|
+
n != null && t.push(Ki(o, n));
|
|
1941
|
+
}), Xi(t);
|
|
1942
|
+
}, Qi = xo(void 0), Ji = (e) => e.query || Zi(e), oo = (e) => e ? Object.keys(e).reduce((o, n) => (o[Eo(n)] = e[n], o), {}) : void 0, Ro = () => {
|
|
1934
1943
|
const e = de(!1);
|
|
1935
1944
|
return re(() => {
|
|
1936
1945
|
e.current = !0;
|
|
1937
1946
|
}, []), e.current;
|
|
1938
|
-
},
|
|
1939
|
-
const t = Xo(
|
|
1947
|
+
}, er = (e) => {
|
|
1948
|
+
const t = Xo(Qi), o = () => oo(e) || oo(t), [n, a] = ee(o);
|
|
1940
1949
|
return re(() => {
|
|
1941
1950
|
const i = o();
|
|
1942
|
-
|
|
1951
|
+
Ai(n, i) || a(i);
|
|
1943
1952
|
}, [e, t]), n;
|
|
1944
|
-
},
|
|
1945
|
-
const t = () =>
|
|
1953
|
+
}, tr = (e) => {
|
|
1954
|
+
const t = () => Ji(e), [o, n] = ee(t);
|
|
1946
1955
|
return re(() => {
|
|
1947
1956
|
const a = t();
|
|
1948
1957
|
o !== a && n(a);
|
|
1949
1958
|
}, [e]), o;
|
|
1950
|
-
},
|
|
1951
|
-
const o = () =>
|
|
1959
|
+
}, or = (e, t) => {
|
|
1960
|
+
const o = () => Si(e, t || {}, !!t), [n, a] = ee(o), i = Ro();
|
|
1952
1961
|
return re(() => {
|
|
1953
1962
|
if (i) {
|
|
1954
1963
|
const r = o();
|
|
@@ -1957,8 +1966,8 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
1957
1966
|
};
|
|
1958
1967
|
}
|
|
1959
1968
|
}, [e, t]), n;
|
|
1960
|
-
},
|
|
1961
|
-
const [t, o] =
|
|
1969
|
+
}, nr = (e) => {
|
|
1970
|
+
const [t, o] = ee(e.matches);
|
|
1962
1971
|
return re(() => {
|
|
1963
1972
|
const n = (a) => {
|
|
1964
1973
|
o(a.matches);
|
|
@@ -1968,15 +1977,15 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
1968
1977
|
};
|
|
1969
1978
|
}, [e]), t;
|
|
1970
1979
|
}, wt = (e, t, o) => {
|
|
1971
|
-
const n =
|
|
1980
|
+
const n = er(t), a = tr(e);
|
|
1972
1981
|
if (!a)
|
|
1973
1982
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1974
|
-
const i =
|
|
1975
|
-
return
|
|
1983
|
+
const i = or(a, n), r = nr(i);
|
|
1984
|
+
return Ro(), re(() => {
|
|
1976
1985
|
}, [r]), re(() => () => {
|
|
1977
1986
|
i && i.dispose();
|
|
1978
1987
|
}, []), r;
|
|
1979
|
-
},
|
|
1988
|
+
}, ar = (e) => {
|
|
1980
1989
|
const { desktop: t, tablet: o, mobile: n } = e, a = wt(t), i = wt(o), r = wt(n);
|
|
1981
1990
|
return {
|
|
1982
1991
|
device: {
|
|
@@ -1985,7 +1994,7 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
1985
1994
|
isMobile: r
|
|
1986
1995
|
}
|
|
1987
1996
|
};
|
|
1988
|
-
},
|
|
1997
|
+
}, Yp = (e) => {
|
|
1989
1998
|
const {
|
|
1990
1999
|
breakpoints: t = {
|
|
1991
2000
|
desktop: { minWidth: 1440 },
|
|
@@ -1993,9 +2002,9 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
1993
2002
|
mobile: { maxWidth: 767 }
|
|
1994
2003
|
},
|
|
1995
2004
|
children: o
|
|
1996
|
-
} = e, { device: n } =
|
|
2005
|
+
} = e, { device: n } = ar(t);
|
|
1997
2006
|
return /* @__PURE__ */ c(
|
|
1998
|
-
|
|
2007
|
+
xi.Provider,
|
|
1999
2008
|
{
|
|
2000
2009
|
value: {
|
|
2001
2010
|
device: n
|
|
@@ -2003,8 +2012,8 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2003
2012
|
children: o
|
|
2004
2013
|
}
|
|
2005
2014
|
);
|
|
2006
|
-
},
|
|
2007
|
-
const { targetValue: t, duration: o =
|
|
2015
|
+
}, ir = 2e3, rr = (e) => {
|
|
2016
|
+
const { targetValue: t, duration: o = ir, doneValue: n, onSuccessLoaded: a } = e, [i, r] = ee(t), s = de(), p = de(0), l = de(), d = de(t), [u, g] = ee(!1), h = de();
|
|
2008
2017
|
return re(() => {
|
|
2009
2018
|
if (d.current = t, t === p.current) return;
|
|
2010
2019
|
if (s.current && cancelAnimationFrame(s.current), t === n && !u) {
|
|
@@ -2014,8 +2023,8 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2014
2023
|
p.current = i, l.current = performance.now();
|
|
2015
2024
|
const x = (w) => {
|
|
2016
2025
|
if (!l.current) return;
|
|
2017
|
-
const
|
|
2018
|
-
r(y),
|
|
2026
|
+
const R = w - l.current, A = Math.min(R / o, 1), U = A < 0.5 ? 4 * A * A * A : 1 - Math.pow(-2 * A + 2, 3) / 2, F = p.current + (d.current - p.current) * U, y = Math.max(0, Math.floor(F));
|
|
2027
|
+
r(y), A < 1 && (s.current = requestAnimationFrame(x));
|
|
2019
2028
|
};
|
|
2020
2029
|
return s.current = requestAnimationFrame(x), () => {
|
|
2021
2030
|
s.current && cancelAnimationFrame(s.current);
|
|
@@ -2028,17 +2037,17 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2028
2037
|
animatedValue: i,
|
|
2029
2038
|
isLoading: u
|
|
2030
2039
|
};
|
|
2031
|
-
},
|
|
2032
|
-
progressWrapper:
|
|
2033
|
-
progressWrapper_loading:
|
|
2034
|
-
progressWrapper__childrenWrapper:
|
|
2035
|
-
progressWrapper__childrenWrapper_loading:
|
|
2040
|
+
}, sr = "_progressWrapper_xn9s0_44", pr = "_progressWrapper_loading_xn9s0_47", lr = "_progressWrapper__childrenWrapper_xn9s0_52", cr = "_progressWrapper__childrenWrapper_loading_xn9s0_58", dr = "_pulse_xn9s0_1", mr = "_progressWrapper__progressBadge_xn9s0_64", ur = "_progressWrapper__progressBadge_loading_xn9s0_75", Le = {
|
|
2041
|
+
progressWrapper: sr,
|
|
2042
|
+
progressWrapper_loading: pr,
|
|
2043
|
+
progressWrapper__childrenWrapper: lr,
|
|
2044
|
+
progressWrapper__childrenWrapper_loading: cr,
|
|
2036
2045
|
"progressWrapper__childrenWrapper--animated-pulse": "_progressWrapper__childrenWrapper--animated-pulse_xn9s0_58",
|
|
2037
|
-
pulse:
|
|
2046
|
+
pulse: dr,
|
|
2038
2047
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
2039
|
-
progressWrapper__progressBadge:
|
|
2040
|
-
progressWrapper__progressBadge_loading:
|
|
2041
|
-
},
|
|
2048
|
+
progressWrapper__progressBadge: mr,
|
|
2049
|
+
progressWrapper__progressBadge_loading: ur
|
|
2050
|
+
}, Gp = (e) => {
|
|
2042
2051
|
const {
|
|
2043
2052
|
value: t,
|
|
2044
2053
|
classNameRoot: o,
|
|
@@ -2048,23 +2057,23 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2048
2057
|
doneValue: r = 100,
|
|
2049
2058
|
animationVariant: s = "backgroundProgress",
|
|
2050
2059
|
onSuccessLoaded: p
|
|
2051
|
-
} = e, { animatedValue: l, isLoading: d } =
|
|
2060
|
+
} = e, { animatedValue: l, isLoading: d } = rr({
|
|
2052
2061
|
targetValue: t,
|
|
2053
2062
|
duration: a,
|
|
2054
2063
|
doneValue: r,
|
|
2055
2064
|
onSuccessLoaded: p
|
|
2056
2065
|
}), u = f({
|
|
2057
|
-
[
|
|
2058
|
-
[
|
|
2066
|
+
[Le.progressWrapper]: !0,
|
|
2067
|
+
[Le.progressWrapper_loading]: d,
|
|
2059
2068
|
...o && { [o]: !0 }
|
|
2060
2069
|
}), g = f({
|
|
2061
|
-
[
|
|
2062
|
-
[
|
|
2070
|
+
[Le.progressWrapper__progressBadge]: !0,
|
|
2071
|
+
[Le.progressWrapper__progressBadge_loading]: d,
|
|
2063
2072
|
...n && { [n]: !0 }
|
|
2064
2073
|
}), h = f({
|
|
2065
|
-
[
|
|
2066
|
-
[
|
|
2067
|
-
[
|
|
2074
|
+
[Le.progressWrapper__childrenWrapper]: !0,
|
|
2075
|
+
[Le[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2076
|
+
[Le.progressWrapper__childrenWrapper_loading]: d
|
|
2068
2077
|
}), x = {
|
|
2069
2078
|
"--progress": `${l / r * 100}%`
|
|
2070
2079
|
};
|
|
@@ -2082,24 +2091,24 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2082
2091
|
"%"
|
|
2083
2092
|
] })
|
|
2084
2093
|
] });
|
|
2085
|
-
},
|
|
2086
|
-
spSelect:
|
|
2087
|
-
spSelect_error:
|
|
2088
|
-
spSelect__control:
|
|
2089
|
-
spSelect__value_empty:
|
|
2090
|
-
spSelect__icon:
|
|
2091
|
-
spSelect_absolutePositionError:
|
|
2092
|
-
spSelect__container:
|
|
2093
|
-
spSelect__control_filled:
|
|
2094
|
-
spSelect__control_outlined:
|
|
2095
|
-
spSelect__control_disabled:
|
|
2096
|
-
spSelect__value:
|
|
2097
|
-
spSelect__list:
|
|
2098
|
-
spSelect__list_scrollable:
|
|
2099
|
-
spSelect__option:
|
|
2100
|
-
spSelect__error:
|
|
2101
|
-
spSelect__error_absolutePosition:
|
|
2102
|
-
},
|
|
2094
|
+
}, _r = 180, fr = "_spSelect_1l6hu_43", vr = "_spSelect_error_1l6hu_48", gr = "_spSelect__control_1l6hu_48", xr = "_spSelect__value_empty_1l6hu_52", hr = "_spSelect__icon_1l6hu_55", br = "_spSelect_absolutePositionError_1l6hu_58", yr = "_spSelect__container_1l6hu_61", wr = "_spSelect__control_filled_1l6hu_81", Cr = "_spSelect__control_outlined_1l6hu_85", kr = "_spSelect__control_disabled_1l6hu_110", Tr = "_spSelect__value_1l6hu_52", Nr = "_spSelect__list_1l6hu_141", Er = "_spSelect__list_scrollable_1l6hu_148", Ir = "_spSelect__option_1l6hu_164", Sr = "_spSelect__error_1l6hu_182", Lr = "_spSelect__error_absolutePosition_1l6hu_189", _e = {
|
|
2095
|
+
spSelect: fr,
|
|
2096
|
+
spSelect_error: vr,
|
|
2097
|
+
spSelect__control: gr,
|
|
2098
|
+
spSelect__value_empty: xr,
|
|
2099
|
+
spSelect__icon: hr,
|
|
2100
|
+
spSelect_absolutePositionError: br,
|
|
2101
|
+
spSelect__container: yr,
|
|
2102
|
+
spSelect__control_filled: wr,
|
|
2103
|
+
spSelect__control_outlined: Cr,
|
|
2104
|
+
spSelect__control_disabled: kr,
|
|
2105
|
+
spSelect__value: Tr,
|
|
2106
|
+
spSelect__list: Nr,
|
|
2107
|
+
spSelect__list_scrollable: Er,
|
|
2108
|
+
spSelect__option: Ir,
|
|
2109
|
+
spSelect__error: Sr,
|
|
2110
|
+
spSelect__error_absolutePosition: Lr
|
|
2111
|
+
}, Kp = (e) => {
|
|
2103
2112
|
const {
|
|
2104
2113
|
options: t,
|
|
2105
2114
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2114,57 +2123,57 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2114
2123
|
tooltipPosition: u,
|
|
2115
2124
|
disabled: g = !1,
|
|
2116
2125
|
required: h,
|
|
2117
|
-
maxHeightList: x =
|
|
2126
|
+
maxHeightList: x = _r,
|
|
2118
2127
|
isVisibleDefaultTitle: w = !0,
|
|
2119
|
-
isScrollableList:
|
|
2120
|
-
isAbsolutePositionError:
|
|
2121
|
-
classNameRoot:
|
|
2122
|
-
classNameError:
|
|
2128
|
+
isScrollableList: R = !1,
|
|
2129
|
+
isAbsolutePositionError: A = !1,
|
|
2130
|
+
classNameRoot: U,
|
|
2131
|
+
classNameError: F,
|
|
2123
2132
|
classNameLabel: y,
|
|
2124
2133
|
classNameBaseTooltipRoot: m
|
|
2125
|
-
} = e, [
|
|
2134
|
+
} = e, [N, z] = ee(!1), K = de(null);
|
|
2126
2135
|
Co(
|
|
2127
|
-
[
|
|
2136
|
+
[K],
|
|
2128
2137
|
() => {
|
|
2129
2138
|
z(!1);
|
|
2130
2139
|
},
|
|
2131
|
-
|
|
2140
|
+
N
|
|
2132
2141
|
);
|
|
2133
|
-
const
|
|
2134
|
-
r(v, { value:
|
|
2142
|
+
const J = t.find((v) => v.value === n), ne = (v, S) => {
|
|
2143
|
+
r(v, { value: S, name: a }), z(!1);
|
|
2135
2144
|
}, me = () => {
|
|
2136
|
-
g || z(!
|
|
2145
|
+
g || z(!N);
|
|
2137
2146
|
}, ue = f({
|
|
2138
2147
|
[_e.spSelect]: !0,
|
|
2139
2148
|
[_e.spSelect_error]: !!p,
|
|
2140
|
-
[_e.spSelect_absolutePositionError]:
|
|
2141
|
-
...
|
|
2149
|
+
[_e.spSelect_absolutePositionError]: A,
|
|
2150
|
+
...U && { [U]: !0 }
|
|
2142
2151
|
}), le = f({
|
|
2143
2152
|
[_e.spSelect__container]: !0
|
|
2144
|
-
}),
|
|
2153
|
+
}), X = f({
|
|
2145
2154
|
[_e.spSelect__control]: !0,
|
|
2146
2155
|
[_e[`spSelect__control_${i}`]]: i,
|
|
2147
2156
|
[_e.spSelect__control_disabled]: g
|
|
2148
|
-
}),
|
|
2157
|
+
}), T = f({
|
|
2149
2158
|
[_e.spSelect__value]: !0,
|
|
2150
|
-
[_e.spSelect__value_empty]: !
|
|
2159
|
+
[_e.spSelect__value_empty]: !J
|
|
2151
2160
|
}), P = f({
|
|
2152
2161
|
[_e.spSelect__icon]: !0
|
|
2153
|
-
}),
|
|
2162
|
+
}), q = f({
|
|
2154
2163
|
[_e.spSelect__list]: !0,
|
|
2155
|
-
[_e.spSelect__list_scrollable]:
|
|
2156
|
-
}),
|
|
2164
|
+
[_e.spSelect__list_scrollable]: R
|
|
2165
|
+
}), V = f({
|
|
2157
2166
|
...y && { [y]: !0 }
|
|
2158
|
-
}),
|
|
2167
|
+
}), te = f({
|
|
2159
2168
|
[_e.spSelect__error]: !0,
|
|
2160
|
-
[_e.spSelect__error_absolutePosition]:
|
|
2161
|
-
...
|
|
2169
|
+
[_e.spSelect__error_absolutePosition]: A,
|
|
2170
|
+
...F && { [F]: !0 }
|
|
2162
2171
|
});
|
|
2163
|
-
return /* @__PURE__ */ O("div", { className: ue, ref:
|
|
2172
|
+
return /* @__PURE__ */ O("div", { className: ue, ref: K, children: [
|
|
2164
2173
|
l && /* @__PURE__ */ c(
|
|
2165
2174
|
Dt,
|
|
2166
2175
|
{
|
|
2167
|
-
classNameRoot:
|
|
2176
|
+
classNameRoot: V,
|
|
2168
2177
|
tooltipPosition: u,
|
|
2169
2178
|
required: h,
|
|
2170
2179
|
label: l,
|
|
@@ -2178,38 +2187,38 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2178
2187
|
{
|
|
2179
2188
|
tabIndex: g ? -1 : 0,
|
|
2180
2189
|
title: w ? n : void 0,
|
|
2181
|
-
className:
|
|
2190
|
+
className: X,
|
|
2182
2191
|
onClick: me,
|
|
2183
2192
|
children: [
|
|
2184
|
-
/* @__PURE__ */ c("div", { className:
|
|
2193
|
+
/* @__PURE__ */ c("div", { className: T, children: (J == null ? void 0 : J.label) || o }),
|
|
2185
2194
|
/* @__PURE__ */ c(
|
|
2186
2195
|
ve,
|
|
2187
2196
|
{
|
|
2188
|
-
name:
|
|
2189
|
-
rotate:
|
|
2197
|
+
name: B.SelectChevronDown,
|
|
2198
|
+
rotate: N ? 180 : void 0,
|
|
2190
2199
|
className: P
|
|
2191
2200
|
}
|
|
2192
2201
|
)
|
|
2193
2202
|
]
|
|
2194
2203
|
}
|
|
2195
2204
|
),
|
|
2196
|
-
|
|
2205
|
+
N && /* @__PURE__ */ c(
|
|
2197
2206
|
"div",
|
|
2198
2207
|
{
|
|
2199
|
-
className:
|
|
2200
|
-
style:
|
|
2208
|
+
className: q,
|
|
2209
|
+
style: R ? { maxHeight: `${x}px` } : {},
|
|
2201
2210
|
children: t.map((v) => {
|
|
2202
|
-
const
|
|
2211
|
+
const S = v.value === n;
|
|
2203
2212
|
return /* @__PURE__ */ O(
|
|
2204
2213
|
"div",
|
|
2205
2214
|
{
|
|
2206
2215
|
className: f({
|
|
2207
2216
|
[_e.spSelect__option]: !0
|
|
2208
2217
|
}),
|
|
2209
|
-
onClick: (
|
|
2218
|
+
onClick: (L) => ne(L, v.value),
|
|
2210
2219
|
children: [
|
|
2211
2220
|
v.label,
|
|
2212
|
-
|
|
2221
|
+
S && /* @__PURE__ */ c(ve, { name: B.Check, className: P })
|
|
2213
2222
|
]
|
|
2214
2223
|
},
|
|
2215
2224
|
v.value
|
|
@@ -2218,14 +2227,14 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2218
2227
|
}
|
|
2219
2228
|
)
|
|
2220
2229
|
] }),
|
|
2221
|
-
p && /* @__PURE__ */ c("div", { className:
|
|
2230
|
+
p && /* @__PURE__ */ c("div", { className: te, children: p })
|
|
2222
2231
|
] });
|
|
2223
|
-
},
|
|
2224
|
-
skeleton:
|
|
2225
|
-
skeleton_circle:
|
|
2226
|
-
skeleton_customStart:
|
|
2227
|
-
skeleton_customEnd:
|
|
2228
|
-
},
|
|
2232
|
+
}, Rr = "_skeleton_155t5_43", Fr = "_skeleton_circle_155t5_52", Ar = "_skeleton_customStart_155t5_55", jr = "_skeleton_customEnd_155t5_58", Qe = {
|
|
2233
|
+
skeleton: Rr,
|
|
2234
|
+
skeleton_circle: Fr,
|
|
2235
|
+
skeleton_customStart: Ar,
|
|
2236
|
+
skeleton_customEnd: jr
|
|
2237
|
+
}, Xp = (e) => {
|
|
2229
2238
|
const {
|
|
2230
2239
|
startColor: t,
|
|
2231
2240
|
endColor: o,
|
|
@@ -2256,20 +2265,20 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2256
2265
|
}
|
|
2257
2266
|
}
|
|
2258
2267
|
);
|
|
2259
|
-
}, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1,
|
|
2260
|
-
spTable:
|
|
2261
|
-
spTable__tdContentCopyIcon:
|
|
2262
|
-
spTable__tdContent:
|
|
2263
|
-
spTable__tdColorContent:
|
|
2264
|
-
spTable__tdContentCopyIcon_copied:
|
|
2265
|
-
spTable__emptyPage:
|
|
2266
|
-
spStringsGroup:
|
|
2267
|
-
spStringsGroup__groupItem:
|
|
2268
|
-
spStringsGroup__groupItemHeader:
|
|
2269
|
-
spStringsGroup__groupItemContent:
|
|
2270
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
2271
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
2272
|
-
},
|
|
2268
|
+
}, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Dr = "_spTable_1vuaj_43", Br = "_spTable__tdContentCopyIcon_1vuaj_62", Pr = "_spTable__tdContent_1vuaj_62", Wr = "_spTable__tdColorContent_1vuaj_72", Or = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Mr = "_spTable__emptyPage_1vuaj_89", zr = "_spStringsGroup_1vuaj_105", Ur = "_spStringsGroup__groupItem_1vuaj_119", qr = "_spStringsGroup__groupItemHeader_1vuaj_134", $r = "_spStringsGroup__groupItemContent_1vuaj_138", Hr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Vr = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2269
|
+
spTable: Dr,
|
|
2270
|
+
spTable__tdContentCopyIcon: Br,
|
|
2271
|
+
spTable__tdContent: Pr,
|
|
2272
|
+
spTable__tdColorContent: Wr,
|
|
2273
|
+
spTable__tdContentCopyIcon_copied: Or,
|
|
2274
|
+
spTable__emptyPage: Mr,
|
|
2275
|
+
spStringsGroup: zr,
|
|
2276
|
+
spStringsGroup__groupItem: Ur,
|
|
2277
|
+
spStringsGroup__groupItemHeader: qr,
|
|
2278
|
+
spStringsGroup__groupItemContent: $r,
|
|
2279
|
+
spStringsGroup__groupItemContentCopyIcon: Hr,
|
|
2280
|
+
spStringsGroup__groupItemContentCopyIcon_copied: Vr
|
|
2281
|
+
}, Zp = (e) => {
|
|
2273
2282
|
const {
|
|
2274
2283
|
columns: t,
|
|
2275
2284
|
data: o,
|
|
@@ -2288,58 +2297,58 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2288
2297
|
[ye.spTable__tdColorContent]: !0
|
|
2289
2298
|
}), d = f({
|
|
2290
2299
|
[ye.spTable__emptyPage]: !0
|
|
2291
|
-
}), [u, g] =
|
|
2292
|
-
const { text: m, rowIndex:
|
|
2293
|
-
(u == null ? void 0 : u.rowIndex) ===
|
|
2294
|
-
g({ rowIndex:
|
|
2295
|
-
}).catch((
|
|
2296
|
-
console.error("Ошибка при копировании:",
|
|
2300
|
+
}), [u, g] = ee(null), h = (y) => {
|
|
2301
|
+
const { text: m, rowIndex: N, colIndex: z } = y;
|
|
2302
|
+
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === z || navigator.clipboard.writeText(m).then(() => {
|
|
2303
|
+
g({ rowIndex: N, colIndex: z });
|
|
2304
|
+
}).catch((K) => {
|
|
2305
|
+
console.error("Ошибка при копировании:", K);
|
|
2297
2306
|
});
|
|
2298
2307
|
}, x = () => {
|
|
2299
2308
|
g(null);
|
|
2300
|
-
}, w = () => /* @__PURE__ */ c("div", { className: d, children: "Данные отсутствуют" }),
|
|
2309
|
+
}, w = () => /* @__PURE__ */ c("div", { className: d, children: "Данные отсутствуют" }), R = ({
|
|
2301
2310
|
row: y,
|
|
2302
2311
|
col: m
|
|
2303
2312
|
}) => {
|
|
2304
|
-
const
|
|
2305
|
-
if (!
|
|
2306
|
-
const [z,
|
|
2313
|
+
const N = y[m.key];
|
|
2314
|
+
if (!N) return null;
|
|
2315
|
+
const [z, K] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2307
2316
|
return /* @__PURE__ */ O("span", { children: [
|
|
2308
2317
|
z,
|
|
2309
|
-
|
|
2318
|
+
K && /* @__PURE__ */ c("span", { className: l, children: ` ${K}` })
|
|
2310
2319
|
] });
|
|
2311
|
-
},
|
|
2312
|
-
/* @__PURE__ */ c("colgroup", { children: r.map((y, m,
|
|
2320
|
+
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ O("table", { className: s, children: [
|
|
2321
|
+
/* @__PURE__ */ c("colgroup", { children: r.map((y, m, N) => /* @__PURE__ */ c(
|
|
2313
2322
|
"col",
|
|
2314
2323
|
{
|
|
2315
2324
|
style: {
|
|
2316
|
-
width: `calc(100%/${
|
|
2325
|
+
width: `calc(100%/${N.length})`
|
|
2317
2326
|
}
|
|
2318
2327
|
},
|
|
2319
2328
|
m
|
|
2320
2329
|
)) }),
|
|
2321
2330
|
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((y, m) => /* @__PURE__ */ c("th", { children: y.title }, m)) }) }),
|
|
2322
|
-
/* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((
|
|
2323
|
-
const
|
|
2331
|
+
/* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N, z) => {
|
|
2332
|
+
const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === z;
|
|
2324
2333
|
return /* @__PURE__ */ c(
|
|
2325
2334
|
"td",
|
|
2326
2335
|
{
|
|
2327
|
-
onMouseLeave:
|
|
2336
|
+
onMouseLeave: K ? x : void 0,
|
|
2328
2337
|
children: /* @__PURE__ */ O("div", { className: p, children: [
|
|
2329
|
-
/* @__PURE__ */ c("span", { children:
|
|
2330
|
-
!Et(y[
|
|
2338
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? R({ row: y, col: N }) : y[N.key] }),
|
|
2339
|
+
!Et(y[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2331
2340
|
ve,
|
|
2332
2341
|
{
|
|
2333
2342
|
className: f({
|
|
2334
2343
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
2335
|
-
[ye.spTable__tdContentCopyIcon_copied]:
|
|
2344
|
+
[ye.spTable__tdContentCopyIcon_copied]: K
|
|
2336
2345
|
}),
|
|
2337
|
-
name:
|
|
2346
|
+
name: K ? B.Check : B.Copy,
|
|
2338
2347
|
onClick: () => {
|
|
2339
|
-
const
|
|
2340
|
-
if (!
|
|
2348
|
+
const J = y[N.key];
|
|
2349
|
+
if (!J) return null;
|
|
2341
2350
|
h({
|
|
2342
|
-
text:
|
|
2351
|
+
text: J,
|
|
2343
2352
|
rowIndex: m,
|
|
2344
2353
|
colIndex: z
|
|
2345
2354
|
});
|
|
@@ -2351,23 +2360,23 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2351
2360
|
`${m}:${z}`
|
|
2352
2361
|
);
|
|
2353
2362
|
}) }, m) : null) })
|
|
2354
|
-
] }) : w(),
|
|
2363
|
+
] }) : w(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
2355
2364
|
"div",
|
|
2356
2365
|
{
|
|
2357
2366
|
className: f({
|
|
2358
2367
|
[ye.spStringsGroup]: !0
|
|
2359
2368
|
}),
|
|
2360
|
-
children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((
|
|
2361
|
-
if (Et(y[
|
|
2369
|
+
children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N, z) => {
|
|
2370
|
+
if (Et(y[N.key]))
|
|
2362
2371
|
return null;
|
|
2363
|
-
const
|
|
2372
|
+
const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === z;
|
|
2364
2373
|
return /* @__PURE__ */ O(
|
|
2365
2374
|
"div",
|
|
2366
2375
|
{
|
|
2367
2376
|
className: f({
|
|
2368
2377
|
[ye.spStringsGroup__groupItem]: !0
|
|
2369
2378
|
}),
|
|
2370
|
-
onMouseLeave:
|
|
2379
|
+
onMouseLeave: K ? x : void 0,
|
|
2371
2380
|
children: [
|
|
2372
2381
|
/* @__PURE__ */ c(
|
|
2373
2382
|
"div",
|
|
@@ -2375,7 +2384,7 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2375
2384
|
className: f({
|
|
2376
2385
|
[ye.spStringsGroup__groupItemHeader]: !0
|
|
2377
2386
|
}),
|
|
2378
|
-
children:
|
|
2387
|
+
children: N.title
|
|
2379
2388
|
}
|
|
2380
2389
|
),
|
|
2381
2390
|
/* @__PURE__ */ O(
|
|
@@ -2385,20 +2394,20 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2385
2394
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
2386
2395
|
}),
|
|
2387
2396
|
children: [
|
|
2388
|
-
/* @__PURE__ */ c("span", { children:
|
|
2389
|
-
|
|
2397
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? R({ row: y, col: N }) : y[N.key] }),
|
|
2398
|
+
N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2390
2399
|
ve,
|
|
2391
2400
|
{
|
|
2392
2401
|
className: f({
|
|
2393
2402
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
2394
|
-
[ye.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
2403
|
+
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: K
|
|
2395
2404
|
}),
|
|
2396
|
-
name:
|
|
2405
|
+
name: K ? B.Check : B.Copy,
|
|
2397
2406
|
onClick: () => {
|
|
2398
|
-
const
|
|
2399
|
-
if (!
|
|
2407
|
+
const J = y[N.key];
|
|
2408
|
+
if (!J) return null;
|
|
2400
2409
|
h({
|
|
2401
|
-
text:
|
|
2410
|
+
text: J,
|
|
2402
2411
|
rowIndex: m,
|
|
2403
2412
|
colIndex: z
|
|
2404
2413
|
});
|
|
@@ -2415,18 +2424,18 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2415
2424
|
}) }, m) : null)
|
|
2416
2425
|
}
|
|
2417
2426
|
) : w();
|
|
2418
|
-
return n ? a ?
|
|
2419
|
-
},
|
|
2420
|
-
spTabs:
|
|
2421
|
-
spTabs_separated:
|
|
2427
|
+
return n ? a ? A() : U() : A();
|
|
2428
|
+
}, Yr = "_spTabs_p5nml_43", Gr = "_spTabs_separated_p5nml_48", Kr = "_spTabs__tabElement_p5nml_48", Xr = "_spTabs__tabElement_active_p5nml_83", Zr = "_spTabs__tooltip_p5nml_90", Re = {
|
|
2429
|
+
spTabs: Yr,
|
|
2430
|
+
spTabs_separated: Gr,
|
|
2422
2431
|
"spTabs--size-md": "_spTabs--size-md_p5nml_48",
|
|
2423
|
-
spTabs__tabElement:
|
|
2432
|
+
spTabs__tabElement: Kr,
|
|
2424
2433
|
"spTabs--size-lg": "_spTabs--size-lg_p5nml_51",
|
|
2425
2434
|
"spTabs--variant-contained": "_spTabs--variant-contained_p5nml_54",
|
|
2426
|
-
spTabs__tabElement_active:
|
|
2427
|
-
spTabs__tooltip:
|
|
2435
|
+
spTabs__tabElement_active: Xr,
|
|
2436
|
+
spTabs__tooltip: Zr,
|
|
2428
2437
|
"spTabs--variant-filled": "_spTabs--variant-filled_p5nml_93"
|
|
2429
|
-
},
|
|
2438
|
+
}, Qp = (e) => {
|
|
2430
2439
|
const {
|
|
2431
2440
|
panes: t,
|
|
2432
2441
|
isSeparated: o = !1,
|
|
@@ -2435,13 +2444,13 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2435
2444
|
variant: i = "contained",
|
|
2436
2445
|
size: r = "md"
|
|
2437
2446
|
} = e, s = f({
|
|
2438
|
-
[
|
|
2439
|
-
[
|
|
2440
|
-
[
|
|
2441
|
-
[
|
|
2447
|
+
[Re.spTabs]: !0,
|
|
2448
|
+
[Re.spTabs_separated]: o,
|
|
2449
|
+
[Re[`spTabs--variant-${i}`]]: i,
|
|
2450
|
+
[Re[`spTabs--size-${r}`]]: r,
|
|
2442
2451
|
...n && { [n]: !0 }
|
|
2443
2452
|
}), p = f({
|
|
2444
|
-
[
|
|
2453
|
+
[Re.spTabs__tooltip]: !0
|
|
2445
2454
|
}), l = () => {
|
|
2446
2455
|
switch (r) {
|
|
2447
2456
|
case "md":
|
|
@@ -2456,8 +2465,8 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2456
2465
|
"div",
|
|
2457
2466
|
{
|
|
2458
2467
|
className: f({
|
|
2459
|
-
[
|
|
2460
|
-
[
|
|
2468
|
+
[Re.spTabs__tabElement]: !0,
|
|
2469
|
+
[Re.spTabs__tabElement_active]: h
|
|
2461
2470
|
}),
|
|
2462
2471
|
onClick: x,
|
|
2463
2472
|
children: [
|
|
@@ -2465,6 +2474,7 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2465
2474
|
!!w && /* @__PURE__ */ c(
|
|
2466
2475
|
at,
|
|
2467
2476
|
{
|
|
2477
|
+
hover: !0,
|
|
2468
2478
|
classNameTooltip: p,
|
|
2469
2479
|
text: w,
|
|
2470
2480
|
classNameBaseTooltipRoot: a
|
|
@@ -2475,10 +2485,10 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2475
2485
|
d.key || u
|
|
2476
2486
|
);
|
|
2477
2487
|
}) });
|
|
2478
|
-
},
|
|
2479
|
-
spTextWithLabel:
|
|
2480
|
-
spTextWithLabel_ellipsis:
|
|
2481
|
-
},
|
|
2488
|
+
}, Qr = "_spTextWithLabel_18nkl_1", Jr = "_spTextWithLabel_ellipsis_18nkl_4", no = {
|
|
2489
|
+
spTextWithLabel: Qr,
|
|
2490
|
+
spTextWithLabel_ellipsis: Jr
|
|
2491
|
+
}, Jp = (e) => {
|
|
2482
2492
|
const {
|
|
2483
2493
|
label: t,
|
|
2484
2494
|
required: o,
|
|
@@ -2509,7 +2519,7 @@ const Mi = (e) => `not ${e}`, Ui = (e, t) => {
|
|
|
2509
2519
|
/* @__PURE__ */ c(Te, { ...l, children: p })
|
|
2510
2520
|
] });
|
|
2511
2521
|
};
|
|
2512
|
-
function
|
|
2522
|
+
function Ae(e, t, o, n) {
|
|
2513
2523
|
function a(i) {
|
|
2514
2524
|
return i instanceof o ? i : new o(function(r) {
|
|
2515
2525
|
r(i);
|
|
@@ -2536,7 +2546,7 @@ function Le(e, t, o, n) {
|
|
|
2536
2546
|
l((n = n.apply(e, t || [])).next());
|
|
2537
2547
|
});
|
|
2538
2548
|
}
|
|
2539
|
-
const
|
|
2549
|
+
const es = /* @__PURE__ */ new Map([
|
|
2540
2550
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
2541
2551
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
2542
2552
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -3739,14 +3749,14 @@ const Yr = /* @__PURE__ */ new Map([
|
|
|
3739
3749
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
3740
3750
|
["zsh", "text/x-scriptzsh"]
|
|
3741
3751
|
]);
|
|
3742
|
-
function
|
|
3743
|
-
const n =
|
|
3752
|
+
function Pe(e, t, o) {
|
|
3753
|
+
const n = ts(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3744
3754
|
return typeof n.path != "string" && ao(n, "path", i), ao(n, "relativePath", i), n;
|
|
3745
3755
|
}
|
|
3746
|
-
function
|
|
3756
|
+
function ts(e) {
|
|
3747
3757
|
const { name: t } = e;
|
|
3748
3758
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3749
|
-
const n = t.split(".").pop().toLowerCase(), a =
|
|
3759
|
+
const n = t.split(".").pop().toLowerCase(), a = es.get(n);
|
|
3750
3760
|
a && Object.defineProperty(e, "type", {
|
|
3751
3761
|
value: a,
|
|
3752
3762
|
writable: !1,
|
|
@@ -3764,49 +3774,49 @@ function ao(e, t, o) {
|
|
|
3764
3774
|
enumerable: !0
|
|
3765
3775
|
});
|
|
3766
3776
|
}
|
|
3767
|
-
const
|
|
3777
|
+
const os = [
|
|
3768
3778
|
// Thumbnail cache files for macOS and Windows
|
|
3769
3779
|
".DS_Store",
|
|
3770
3780
|
// macOs
|
|
3771
3781
|
"Thumbs.db"
|
|
3772
3782
|
// Windows
|
|
3773
3783
|
];
|
|
3774
|
-
function
|
|
3775
|
-
return
|
|
3776
|
-
return tt(e) &&
|
|
3784
|
+
function ns(e) {
|
|
3785
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3786
|
+
return tt(e) && as(e.dataTransfer) ? ps(e.dataTransfer, e.type) : is(e) ? rs(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? ss(e) : [];
|
|
3777
3787
|
});
|
|
3778
3788
|
}
|
|
3779
|
-
function
|
|
3789
|
+
function as(e) {
|
|
3780
3790
|
return tt(e);
|
|
3781
3791
|
}
|
|
3782
|
-
function
|
|
3792
|
+
function is(e) {
|
|
3783
3793
|
return tt(e) && tt(e.target);
|
|
3784
3794
|
}
|
|
3785
3795
|
function tt(e) {
|
|
3786
3796
|
return typeof e == "object" && e !== null;
|
|
3787
3797
|
}
|
|
3788
|
-
function
|
|
3789
|
-
return It(e.target.files).map((t) =>
|
|
3798
|
+
function rs(e) {
|
|
3799
|
+
return It(e.target.files).map((t) => Pe(t));
|
|
3790
3800
|
}
|
|
3791
|
-
function
|
|
3792
|
-
return
|
|
3793
|
-
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) =>
|
|
3801
|
+
function ss(e) {
|
|
3802
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3803
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3794
3804
|
});
|
|
3795
3805
|
}
|
|
3796
|
-
function
|
|
3797
|
-
return
|
|
3806
|
+
function ps(e, t) {
|
|
3807
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3798
3808
|
if (e.items) {
|
|
3799
3809
|
const o = It(e.items).filter((a) => a.kind === "file");
|
|
3800
3810
|
if (t !== "drop")
|
|
3801
3811
|
return o;
|
|
3802
|
-
const n = yield Promise.all(o.map(
|
|
3803
|
-
return io(
|
|
3812
|
+
const n = yield Promise.all(o.map(ls));
|
|
3813
|
+
return io(Fo(n));
|
|
3804
3814
|
}
|
|
3805
|
-
return io(It(e.files).map((o) =>
|
|
3815
|
+
return io(It(e.files).map((o) => Pe(o)));
|
|
3806
3816
|
});
|
|
3807
3817
|
}
|
|
3808
3818
|
function io(e) {
|
|
3809
|
-
return e.filter((t) =>
|
|
3819
|
+
return e.filter((t) => os.indexOf(t.name) === -1);
|
|
3810
3820
|
}
|
|
3811
3821
|
function It(e) {
|
|
3812
3822
|
if (e === null)
|
|
@@ -3818,20 +3828,20 @@ function It(e) {
|
|
|
3818
3828
|
}
|
|
3819
3829
|
return t;
|
|
3820
3830
|
}
|
|
3821
|
-
function
|
|
3831
|
+
function ls(e) {
|
|
3822
3832
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3823
3833
|
return ro(e);
|
|
3824
3834
|
const t = e.webkitGetAsEntry();
|
|
3825
|
-
return t && t.isDirectory ?
|
|
3835
|
+
return t && t.isDirectory ? Ao(t) : ro(e, t);
|
|
3826
3836
|
}
|
|
3827
|
-
function
|
|
3837
|
+
function Fo(e) {
|
|
3828
3838
|
return e.reduce((t, o) => [
|
|
3829
3839
|
...t,
|
|
3830
|
-
...Array.isArray(o) ?
|
|
3840
|
+
...Array.isArray(o) ? Fo(o) : [o]
|
|
3831
3841
|
], []);
|
|
3832
3842
|
}
|
|
3833
3843
|
function ro(e, t) {
|
|
3834
|
-
return
|
|
3844
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3835
3845
|
var o;
|
|
3836
3846
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3837
3847
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3839,28 +3849,28 @@ function ro(e, t) {
|
|
|
3839
3849
|
throw new Error(`${e} is not a File`);
|
|
3840
3850
|
if (i !== void 0) {
|
|
3841
3851
|
const r = yield i.getFile();
|
|
3842
|
-
return r.handle = i,
|
|
3852
|
+
return r.handle = i, Pe(r);
|
|
3843
3853
|
}
|
|
3844
3854
|
}
|
|
3845
3855
|
const n = e.getAsFile();
|
|
3846
3856
|
if (!n)
|
|
3847
3857
|
throw new Error(`${e} is not a File`);
|
|
3848
|
-
return
|
|
3858
|
+
return Pe(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
3849
3859
|
});
|
|
3850
3860
|
}
|
|
3851
|
-
function
|
|
3852
|
-
return
|
|
3853
|
-
return e.isDirectory ?
|
|
3861
|
+
function cs(e) {
|
|
3862
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3863
|
+
return e.isDirectory ? Ao(e) : ds(e);
|
|
3854
3864
|
});
|
|
3855
3865
|
}
|
|
3856
|
-
function
|
|
3866
|
+
function Ao(e) {
|
|
3857
3867
|
const t = e.createReader();
|
|
3858
3868
|
return new Promise((o, n) => {
|
|
3859
3869
|
const a = [];
|
|
3860
3870
|
function i() {
|
|
3861
|
-
t.readEntries((r) =>
|
|
3871
|
+
t.readEntries((r) => Ae(this, void 0, void 0, function* () {
|
|
3862
3872
|
if (r.length) {
|
|
3863
|
-
const s = Promise.all(r.map(
|
|
3873
|
+
const s = Promise.all(r.map(cs));
|
|
3864
3874
|
a.push(s), i();
|
|
3865
3875
|
} else
|
|
3866
3876
|
try {
|
|
@@ -3876,11 +3886,11 @@ function Lo(e) {
|
|
|
3876
3886
|
i();
|
|
3877
3887
|
});
|
|
3878
3888
|
}
|
|
3879
|
-
function
|
|
3880
|
-
return
|
|
3889
|
+
function ds(e) {
|
|
3890
|
+
return Ae(this, void 0, void 0, function* () {
|
|
3881
3891
|
return new Promise((t, o) => {
|
|
3882
3892
|
e.file((n) => {
|
|
3883
|
-
const a =
|
|
3893
|
+
const a = Pe(n, e.fullPath);
|
|
3884
3894
|
t(a);
|
|
3885
3895
|
}, (n) => {
|
|
3886
3896
|
o(n);
|
|
@@ -3902,16 +3912,16 @@ var Ct = function(e, t) {
|
|
|
3902
3912
|
return !0;
|
|
3903
3913
|
};
|
|
3904
3914
|
function so(e) {
|
|
3905
|
-
return
|
|
3915
|
+
return _s(e) || us(e) || Do(e) || ms();
|
|
3906
3916
|
}
|
|
3907
|
-
function
|
|
3917
|
+
function ms() {
|
|
3908
3918
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3909
3919
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3910
3920
|
}
|
|
3911
|
-
function
|
|
3921
|
+
function us(e) {
|
|
3912
3922
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3913
3923
|
}
|
|
3914
|
-
function
|
|
3924
|
+
function _s(e) {
|
|
3915
3925
|
if (Array.isArray(e)) return St(e);
|
|
3916
3926
|
}
|
|
3917
3927
|
function po(e, t) {
|
|
@@ -3939,9 +3949,9 @@ function jo(e, t, o) {
|
|
|
3939
3949
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
3940
3950
|
}
|
|
3941
3951
|
function Ue(e, t) {
|
|
3942
|
-
return
|
|
3952
|
+
return gs(e) || vs(e, t) || Do(e, t) || fs();
|
|
3943
3953
|
}
|
|
3944
|
-
function
|
|
3954
|
+
function fs() {
|
|
3945
3955
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3946
3956
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3947
3957
|
}
|
|
@@ -3959,7 +3969,7 @@ function St(e, t) {
|
|
|
3959
3969
|
n[o] = e[o];
|
|
3960
3970
|
return n;
|
|
3961
3971
|
}
|
|
3962
|
-
function
|
|
3972
|
+
function vs(e, t) {
|
|
3963
3973
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3964
3974
|
if (o != null) {
|
|
3965
3975
|
var n = [], a = !0, i = !1, r, s;
|
|
@@ -3978,55 +3988,55 @@ function ls(e, t) {
|
|
|
3978
3988
|
return n;
|
|
3979
3989
|
}
|
|
3980
3990
|
}
|
|
3981
|
-
function
|
|
3991
|
+
function gs(e) {
|
|
3982
3992
|
if (Array.isArray(e)) return e;
|
|
3983
3993
|
}
|
|
3984
|
-
var
|
|
3985
|
-
FileInvalidType:
|
|
3986
|
-
FileTooLarge:
|
|
3987
|
-
FileTooSmall:
|
|
3988
|
-
},
|
|
3994
|
+
var xs = typeof Ct == "function" ? Ct : Ct.default, Bo = "file-invalid-type", Po = "file-too-large", Wo = "file-too-small", hs = "too-many-files", kt = {
|
|
3995
|
+
FileInvalidType: Bo,
|
|
3996
|
+
FileTooLarge: Po,
|
|
3997
|
+
FileTooSmall: Wo
|
|
3998
|
+
}, bs = function() {
|
|
3989
3999
|
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];
|
|
3990
4000
|
return {
|
|
3991
|
-
code:
|
|
4001
|
+
code: Bo,
|
|
3992
4002
|
message: "File type must be ".concat(n)
|
|
3993
4003
|
};
|
|
3994
4004
|
}, co = function(t) {
|
|
3995
4005
|
return {
|
|
3996
|
-
code:
|
|
4006
|
+
code: Po,
|
|
3997
4007
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3998
4008
|
};
|
|
3999
4009
|
}, mo = function(t) {
|
|
4000
4010
|
return {
|
|
4001
|
-
code:
|
|
4011
|
+
code: Wo,
|
|
4002
4012
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4003
4013
|
};
|
|
4004
|
-
},
|
|
4005
|
-
code:
|
|
4014
|
+
}, ys = {
|
|
4015
|
+
code: hs,
|
|
4006
4016
|
message: "Too many files"
|
|
4007
4017
|
};
|
|
4008
|
-
function
|
|
4009
|
-
var o = e.type === "application/x-moz-file" ||
|
|
4010
|
-
return [o, o ? null :
|
|
4018
|
+
function Oo(e, t) {
|
|
4019
|
+
var o = e.type === "application/x-moz-file" || xs(e, t);
|
|
4020
|
+
return [o, o ? null : bs(t)];
|
|
4011
4021
|
}
|
|
4012
|
-
function
|
|
4013
|
-
if (
|
|
4014
|
-
if (
|
|
4022
|
+
function Mo(e, t, o) {
|
|
4023
|
+
if (Fe(e.size))
|
|
4024
|
+
if (Fe(t) && Fe(o)) {
|
|
4015
4025
|
if (e.size > o) return [!1, co(o)];
|
|
4016
4026
|
if (e.size < t) return [!1, mo(t)];
|
|
4017
4027
|
} else {
|
|
4018
|
-
if (
|
|
4019
|
-
if (
|
|
4028
|
+
if (Fe(t) && e.size < t) return [!1, mo(t)];
|
|
4029
|
+
if (Fe(o) && e.size > o) return [!1, co(o)];
|
|
4020
4030
|
}
|
|
4021
4031
|
return [!0, null];
|
|
4022
4032
|
}
|
|
4023
|
-
function
|
|
4033
|
+
function Fe(e) {
|
|
4024
4034
|
return e != null;
|
|
4025
4035
|
}
|
|
4026
|
-
function
|
|
4036
|
+
function ws(e) {
|
|
4027
4037
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
4028
4038
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(p) {
|
|
4029
|
-
var l =
|
|
4039
|
+
var l = Oo(p, o), d = Ue(l, 1), u = d[0], g = Mo(p, n, a), h = Ue(g, 1), x = h[0], w = s ? s(p) : null;
|
|
4030
4040
|
return u && x && !w;
|
|
4031
4041
|
});
|
|
4032
4042
|
}
|
|
@@ -4041,15 +4051,15 @@ function Je(e) {
|
|
|
4041
4051
|
function uo(e) {
|
|
4042
4052
|
e.preventDefault();
|
|
4043
4053
|
}
|
|
4044
|
-
function
|
|
4054
|
+
function Cs(e) {
|
|
4045
4055
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
4046
4056
|
}
|
|
4047
|
-
function
|
|
4057
|
+
function ks(e) {
|
|
4048
4058
|
return e.indexOf("Edge/") !== -1;
|
|
4049
4059
|
}
|
|
4050
|
-
function
|
|
4060
|
+
function Ts() {
|
|
4051
4061
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
4052
|
-
return
|
|
4062
|
+
return Cs(e) || ks(e);
|
|
4053
4063
|
}
|
|
4054
4064
|
function Ne() {
|
|
4055
4065
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
@@ -4062,14 +4072,14 @@ function Ne() {
|
|
|
4062
4072
|
});
|
|
4063
4073
|
};
|
|
4064
4074
|
}
|
|
4065
|
-
function
|
|
4075
|
+
function Ns() {
|
|
4066
4076
|
return "showOpenFilePicker" in window;
|
|
4067
4077
|
}
|
|
4068
|
-
function
|
|
4069
|
-
if (
|
|
4078
|
+
function Es(e) {
|
|
4079
|
+
if (Fe(e)) {
|
|
4070
4080
|
var t = Object.entries(e).filter(function(o) {
|
|
4071
4081
|
var n = Ue(o, 2), a = n[0], i = n[1], r = !0;
|
|
4072
|
-
return
|
|
4082
|
+
return zo(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(Uo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
4073
4083
|
}).reduce(function(o, n) {
|
|
4074
4084
|
var a = Ue(n, 2), i = a[0], r = a[1];
|
|
4075
4085
|
return lo(lo({}, o), {}, jo({}, i, r));
|
|
@@ -4082,63 +4092,63 @@ function bs(e) {
|
|
|
4082
4092
|
}
|
|
4083
4093
|
return e;
|
|
4084
4094
|
}
|
|
4085
|
-
function
|
|
4086
|
-
if (
|
|
4095
|
+
function Is(e) {
|
|
4096
|
+
if (Fe(e))
|
|
4087
4097
|
return Object.entries(e).reduce(function(t, o) {
|
|
4088
4098
|
var n = Ue(o, 2), a = n[0], i = n[1];
|
|
4089
4099
|
return [].concat(so(t), [a], so(i));
|
|
4090
4100
|
}, []).filter(function(t) {
|
|
4091
|
-
return
|
|
4101
|
+
return zo(t) || Uo(t);
|
|
4092
4102
|
}).join(",");
|
|
4093
4103
|
}
|
|
4094
|
-
function
|
|
4104
|
+
function Ss(e) {
|
|
4095
4105
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
4096
4106
|
}
|
|
4097
|
-
function
|
|
4107
|
+
function Ls(e) {
|
|
4098
4108
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
4099
4109
|
}
|
|
4100
|
-
function
|
|
4110
|
+
function zo(e) {
|
|
4101
4111
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
4102
4112
|
}
|
|
4103
4113
|
function Uo(e) {
|
|
4104
4114
|
return /^.*\.[\w]+$/.test(e);
|
|
4105
4115
|
}
|
|
4106
|
-
var
|
|
4107
|
-
function
|
|
4108
|
-
return
|
|
4116
|
+
var Rs = ["children"], Fs = ["open"], As = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], js = ["refKey", "onChange", "onClick"];
|
|
4117
|
+
function Ds(e) {
|
|
4118
|
+
return Ws(e) || Ps(e) || qo(e) || Bs();
|
|
4109
4119
|
}
|
|
4110
|
-
function
|
|
4120
|
+
function Bs() {
|
|
4111
4121
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4112
4122
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4113
4123
|
}
|
|
4114
|
-
function
|
|
4124
|
+
function Ps(e) {
|
|
4115
4125
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4116
4126
|
}
|
|
4117
|
-
function
|
|
4118
|
-
if (Array.isArray(e)) return
|
|
4127
|
+
function Ws(e) {
|
|
4128
|
+
if (Array.isArray(e)) return Lt(e);
|
|
4119
4129
|
}
|
|
4120
4130
|
function Tt(e, t) {
|
|
4121
|
-
return
|
|
4131
|
+
return zs(e) || Ms(e, t) || qo(e, t) || Os();
|
|
4122
4132
|
}
|
|
4123
|
-
function
|
|
4133
|
+
function Os() {
|
|
4124
4134
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4125
4135
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4126
4136
|
}
|
|
4127
4137
|
function qo(e, t) {
|
|
4128
4138
|
if (e) {
|
|
4129
|
-
if (typeof e == "string") return
|
|
4139
|
+
if (typeof e == "string") return Lt(e, t);
|
|
4130
4140
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4131
4141
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4132
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4142
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Lt(e, t);
|
|
4133
4143
|
}
|
|
4134
4144
|
}
|
|
4135
|
-
function
|
|
4145
|
+
function Lt(e, t) {
|
|
4136
4146
|
(t == null || t > e.length) && (t = e.length);
|
|
4137
4147
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4138
4148
|
n[o] = e[o];
|
|
4139
4149
|
return n;
|
|
4140
4150
|
}
|
|
4141
|
-
function
|
|
4151
|
+
function Ms(e, t) {
|
|
4142
4152
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4143
4153
|
if (o != null) {
|
|
4144
4154
|
var n = [], a = !0, i = !1, r, s;
|
|
@@ -4157,7 +4167,7 @@ function Ls(e, t) {
|
|
|
4157
4167
|
return n;
|
|
4158
4168
|
}
|
|
4159
4169
|
}
|
|
4160
|
-
function
|
|
4170
|
+
function zs(e) {
|
|
4161
4171
|
if (Array.isArray(e)) return e;
|
|
4162
4172
|
}
|
|
4163
4173
|
function _o(e, t) {
|
|
@@ -4170,23 +4180,23 @@ function _o(e, t) {
|
|
|
4170
4180
|
}
|
|
4171
4181
|
return o;
|
|
4172
4182
|
}
|
|
4173
|
-
function
|
|
4183
|
+
function oe(e) {
|
|
4174
4184
|
for (var t = 1; t < arguments.length; t++) {
|
|
4175
4185
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4176
4186
|
t % 2 ? _o(Object(o), !0).forEach(function(n) {
|
|
4177
|
-
|
|
4187
|
+
Rt(e, n, o[n]);
|
|
4178
4188
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : _o(Object(o)).forEach(function(n) {
|
|
4179
4189
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4180
4190
|
});
|
|
4181
4191
|
}
|
|
4182
4192
|
return e;
|
|
4183
4193
|
}
|
|
4184
|
-
function
|
|
4194
|
+
function Rt(e, t, o) {
|
|
4185
4195
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4186
4196
|
}
|
|
4187
4197
|
function nt(e, t) {
|
|
4188
4198
|
if (e == null) return {};
|
|
4189
|
-
var o =
|
|
4199
|
+
var o = Us(e, t), n, a;
|
|
4190
4200
|
if (Object.getOwnPropertySymbols) {
|
|
4191
4201
|
var i = Object.getOwnPropertySymbols(e);
|
|
4192
4202
|
for (a = 0; a < i.length; a++)
|
|
@@ -4194,27 +4204,27 @@ function nt(e, t) {
|
|
|
4194
4204
|
}
|
|
4195
4205
|
return o;
|
|
4196
4206
|
}
|
|
4197
|
-
function
|
|
4207
|
+
function Us(e, t) {
|
|
4198
4208
|
if (e == null) return {};
|
|
4199
4209
|
var o = {}, n = Object.keys(e), a, i;
|
|
4200
4210
|
for (i = 0; i < n.length; i++)
|
|
4201
4211
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
4202
4212
|
return o;
|
|
4203
4213
|
}
|
|
4204
|
-
var
|
|
4205
|
-
var o = e.children, n = nt(e,
|
|
4214
|
+
var Wt = /* @__PURE__ */ Qo(function(e, t) {
|
|
4215
|
+
var o = e.children, n = nt(e, Rs), a = Ho(n), i = a.open, r = nt(a, Fs);
|
|
4206
4216
|
return Jo(t, function() {
|
|
4207
4217
|
return {
|
|
4208
4218
|
open: i
|
|
4209
4219
|
};
|
|
4210
|
-
}, [i]), /* @__PURE__ */ qe.createElement(en, null, o(
|
|
4220
|
+
}, [i]), /* @__PURE__ */ qe.createElement(en, null, o(oe(oe({}, r), {}, {
|
|
4211
4221
|
open: i
|
|
4212
4222
|
})));
|
|
4213
4223
|
});
|
|
4214
|
-
|
|
4224
|
+
Wt.displayName = "Dropzone";
|
|
4215
4225
|
var $o = {
|
|
4216
4226
|
disabled: !1,
|
|
4217
|
-
getFilesFromEvent:
|
|
4227
|
+
getFilesFromEvent: ns,
|
|
4218
4228
|
maxSize: 1 / 0,
|
|
4219
4229
|
minSize: 0,
|
|
4220
4230
|
multiple: !0,
|
|
@@ -4228,8 +4238,8 @@ var $o = {
|
|
|
4228
4238
|
useFsAccessApi: !1,
|
|
4229
4239
|
autoFocus: !1
|
|
4230
4240
|
};
|
|
4231
|
-
|
|
4232
|
-
|
|
4241
|
+
Wt.defaultProps = $o;
|
|
4242
|
+
Wt.propTypes = {
|
|
4233
4243
|
/**
|
|
4234
4244
|
* Render function that exposes the dropzone state and prop getter fns
|
|
4235
4245
|
*
|
|
@@ -4245,7 +4255,7 @@ Ot.propTypes = {
|
|
|
4245
4255
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
4246
4256
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
|
|
4247
4257
|
*/
|
|
4248
|
-
children:
|
|
4258
|
+
children: E.func,
|
|
4249
4259
|
/**
|
|
4250
4260
|
* Set accepted file types.
|
|
4251
4261
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -4253,90 +4263,90 @@ Ot.propTypes = {
|
|
|
4253
4263
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
4254
4264
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
4255
4265
|
*/
|
|
4256
|
-
accept:
|
|
4266
|
+
accept: E.objectOf(E.arrayOf(E.string)),
|
|
4257
4267
|
/**
|
|
4258
4268
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
4259
4269
|
*/
|
|
4260
|
-
multiple:
|
|
4270
|
+
multiple: E.bool,
|
|
4261
4271
|
/**
|
|
4262
4272
|
* If false, allow dropped items to take over the current browser window
|
|
4263
4273
|
*/
|
|
4264
|
-
preventDropOnDocument:
|
|
4274
|
+
preventDropOnDocument: E.bool,
|
|
4265
4275
|
/**
|
|
4266
4276
|
* If true, disables click to open the native file selection dialog
|
|
4267
4277
|
*/
|
|
4268
|
-
noClick:
|
|
4278
|
+
noClick: E.bool,
|
|
4269
4279
|
/**
|
|
4270
4280
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
4271
4281
|
* Note that it also stops tracking the focus state.
|
|
4272
4282
|
*/
|
|
4273
|
-
noKeyboard:
|
|
4283
|
+
noKeyboard: E.bool,
|
|
4274
4284
|
/**
|
|
4275
4285
|
* If true, disables drag 'n' drop
|
|
4276
4286
|
*/
|
|
4277
|
-
noDrag:
|
|
4287
|
+
noDrag: E.bool,
|
|
4278
4288
|
/**
|
|
4279
4289
|
* If true, stops drag event propagation to parents
|
|
4280
4290
|
*/
|
|
4281
|
-
noDragEventsBubbling:
|
|
4291
|
+
noDragEventsBubbling: E.bool,
|
|
4282
4292
|
/**
|
|
4283
4293
|
* Minimum file size (in bytes)
|
|
4284
4294
|
*/
|
|
4285
|
-
minSize:
|
|
4295
|
+
minSize: E.number,
|
|
4286
4296
|
/**
|
|
4287
4297
|
* Maximum file size (in bytes)
|
|
4288
4298
|
*/
|
|
4289
|
-
maxSize:
|
|
4299
|
+
maxSize: E.number,
|
|
4290
4300
|
/**
|
|
4291
4301
|
* Maximum accepted number of files
|
|
4292
4302
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
4293
4303
|
*/
|
|
4294
|
-
maxFiles:
|
|
4304
|
+
maxFiles: E.number,
|
|
4295
4305
|
/**
|
|
4296
4306
|
* Enable/disable the dropzone
|
|
4297
4307
|
*/
|
|
4298
|
-
disabled:
|
|
4308
|
+
disabled: E.bool,
|
|
4299
4309
|
/**
|
|
4300
4310
|
* Use this to provide a custom file aggregator
|
|
4301
4311
|
*
|
|
4302
4312
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
4303
4313
|
*/
|
|
4304
|
-
getFilesFromEvent:
|
|
4314
|
+
getFilesFromEvent: E.func,
|
|
4305
4315
|
/**
|
|
4306
4316
|
* Cb for when closing the file dialog with no selection
|
|
4307
4317
|
*/
|
|
4308
|
-
onFileDialogCancel:
|
|
4318
|
+
onFileDialogCancel: E.func,
|
|
4309
4319
|
/**
|
|
4310
4320
|
* Cb for when opening the file dialog
|
|
4311
4321
|
*/
|
|
4312
|
-
onFileDialogOpen:
|
|
4322
|
+
onFileDialogOpen: E.func,
|
|
4313
4323
|
/**
|
|
4314
4324
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
4315
4325
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
4316
4326
|
*/
|
|
4317
|
-
useFsAccessApi:
|
|
4327
|
+
useFsAccessApi: E.bool,
|
|
4318
4328
|
/**
|
|
4319
4329
|
* Set to true to focus the root element on render
|
|
4320
4330
|
*/
|
|
4321
|
-
autoFocus:
|
|
4331
|
+
autoFocus: E.bool,
|
|
4322
4332
|
/**
|
|
4323
4333
|
* Cb for when the `dragenter` event occurs.
|
|
4324
4334
|
*
|
|
4325
4335
|
* @param {DragEvent} event
|
|
4326
4336
|
*/
|
|
4327
|
-
onDragEnter:
|
|
4337
|
+
onDragEnter: E.func,
|
|
4328
4338
|
/**
|
|
4329
4339
|
* Cb for when the `dragleave` event occurs
|
|
4330
4340
|
*
|
|
4331
4341
|
* @param {DragEvent} event
|
|
4332
4342
|
*/
|
|
4333
|
-
onDragLeave:
|
|
4343
|
+
onDragLeave: E.func,
|
|
4334
4344
|
/**
|
|
4335
4345
|
* Cb for when the `dragover` event occurs
|
|
4336
4346
|
*
|
|
4337
4347
|
* @param {DragEvent} event
|
|
4338
4348
|
*/
|
|
4339
|
-
onDragOver:
|
|
4349
|
+
onDragOver: E.func,
|
|
4340
4350
|
/**
|
|
4341
4351
|
* Cb for when the `drop` event occurs.
|
|
4342
4352
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -4367,7 +4377,7 @@ Ot.propTypes = {
|
|
|
4367
4377
|
* @param {FileRejection[]} fileRejections
|
|
4368
4378
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
4369
4379
|
*/
|
|
4370
|
-
onDrop:
|
|
4380
|
+
onDrop: E.func,
|
|
4371
4381
|
/**
|
|
4372
4382
|
* Cb for when the `drop` event occurs.
|
|
4373
4383
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -4375,7 +4385,7 @@ Ot.propTypes = {
|
|
|
4375
4385
|
* @param {File[]} files
|
|
4376
4386
|
* @param {(DragEvent|Event)} event
|
|
4377
4387
|
*/
|
|
4378
|
-
onDropAccepted:
|
|
4388
|
+
onDropAccepted: E.func,
|
|
4379
4389
|
/**
|
|
4380
4390
|
* Cb for when the `drop` event occurs.
|
|
4381
4391
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -4383,21 +4393,21 @@ Ot.propTypes = {
|
|
|
4383
4393
|
* @param {FileRejection[]} fileRejections
|
|
4384
4394
|
* @param {(DragEvent|Event)} event
|
|
4385
4395
|
*/
|
|
4386
|
-
onDropRejected:
|
|
4396
|
+
onDropRejected: E.func,
|
|
4387
4397
|
/**
|
|
4388
4398
|
* Cb for when there's some error from any of the promises.
|
|
4389
4399
|
*
|
|
4390
4400
|
* @param {Error} error
|
|
4391
4401
|
*/
|
|
4392
|
-
onError:
|
|
4402
|
+
onError: E.func,
|
|
4393
4403
|
/**
|
|
4394
4404
|
* Custom validation function. It must return null if there's no errors.
|
|
4395
4405
|
* @param {File} file
|
|
4396
4406
|
* @returns {FileError|FileError[]|null}
|
|
4397
4407
|
*/
|
|
4398
|
-
validator:
|
|
4408
|
+
validator: E.func
|
|
4399
4409
|
};
|
|
4400
|
-
var
|
|
4410
|
+
var Ft = {
|
|
4401
4411
|
isFocused: !1,
|
|
4402
4412
|
isFileDialogActive: !1,
|
|
4403
4413
|
isDragActive: !1,
|
|
@@ -4407,90 +4417,90 @@ var At = {
|
|
|
4407
4417
|
fileRejections: []
|
|
4408
4418
|
};
|
|
4409
4419
|
function Ho() {
|
|
4410
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t =
|
|
4411
|
-
return
|
|
4412
|
-
}, [o]), me =
|
|
4413
|
-
return
|
|
4414
|
-
}, [o]), ue =
|
|
4415
|
-
return typeof
|
|
4416
|
-
}, [
|
|
4420
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, w = t.onFileDialogCancel, R = t.onFileDialogOpen, A = t.useFsAccessApi, U = t.autoFocus, F = t.preventDropOnDocument, y = t.noClick, m = t.noKeyboard, N = t.noDrag, z = t.noDragEventsBubbling, K = t.onError, J = t.validator, ne = Be(function() {
|
|
4421
|
+
return Is(o);
|
|
4422
|
+
}, [o]), me = Be(function() {
|
|
4423
|
+
return Es(o);
|
|
4424
|
+
}, [o]), ue = Be(function() {
|
|
4425
|
+
return typeof R == "function" ? R : fo;
|
|
4426
|
+
}, [R]), le = Be(function() {
|
|
4417
4427
|
return typeof w == "function" ? w : fo;
|
|
4418
|
-
}, [w]),
|
|
4419
|
-
!
|
|
4420
|
-
if (
|
|
4421
|
-
var j =
|
|
4422
|
-
j.length || (
|
|
4428
|
+
}, [w]), X = de(null), T = de(null), P = Zo(qs, Ft), q = Tt(P, 2), V = q[0], te = q[1], _ = V.isFocused, v = V.isFileDialogActive, S = de(typeof window < "u" && window.isSecureContext && A && Ns()), L = function() {
|
|
4429
|
+
!S.current && v && setTimeout(function() {
|
|
4430
|
+
if (T.current) {
|
|
4431
|
+
var j = T.current.files;
|
|
4432
|
+
j.length || (te({
|
|
4423
4433
|
type: "closeDialog"
|
|
4424
4434
|
}), le());
|
|
4425
4435
|
}
|
|
4426
4436
|
}, 300);
|
|
4427
4437
|
};
|
|
4428
4438
|
re(function() {
|
|
4429
|
-
return window.addEventListener("focus",
|
|
4430
|
-
window.removeEventListener("focus",
|
|
4439
|
+
return window.addEventListener("focus", L, !1), function() {
|
|
4440
|
+
window.removeEventListener("focus", L, !1);
|
|
4431
4441
|
};
|
|
4432
|
-
}, [
|
|
4433
|
-
var
|
|
4434
|
-
|
|
4442
|
+
}, [T, v, le, S]);
|
|
4443
|
+
var I = de([]), W = function(j) {
|
|
4444
|
+
X.current && X.current.contains(j.target) || (j.preventDefault(), I.current = []);
|
|
4435
4445
|
};
|
|
4436
4446
|
re(function() {
|
|
4437
|
-
return
|
|
4438
|
-
|
|
4447
|
+
return F && (document.addEventListener("dragover", uo, !1), document.addEventListener("drop", W, !1)), function() {
|
|
4448
|
+
F && (document.removeEventListener("dragover", uo), document.removeEventListener("drop", W));
|
|
4439
4449
|
};
|
|
4440
|
-
}, [
|
|
4441
|
-
return !n &&
|
|
4450
|
+
}, [X, F]), re(function() {
|
|
4451
|
+
return !n && U && X.current && X.current.focus(), function() {
|
|
4442
4452
|
};
|
|
4443
|
-
}, [
|
|
4444
|
-
var D = xe(function(
|
|
4445
|
-
|
|
4446
|
-
}, [
|
|
4447
|
-
|
|
4448
|
-
if (!(ot(
|
|
4449
|
-
var
|
|
4453
|
+
}, [X, U, n]);
|
|
4454
|
+
var D = xe(function(k) {
|
|
4455
|
+
K ? K(k) : console.error(k);
|
|
4456
|
+
}, [K]), M = xe(function(k) {
|
|
4457
|
+
k.preventDefault(), k.persist(), Ve(k), I.current = [].concat(Ds(I.current), [k.target]), Je(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4458
|
+
if (!(ot(k) && !z)) {
|
|
4459
|
+
var ae = j.length, se = ae > 0 && ws({
|
|
4450
4460
|
files: j,
|
|
4451
|
-
accept:
|
|
4461
|
+
accept: ne,
|
|
4452
4462
|
minSize: r,
|
|
4453
4463
|
maxSize: i,
|
|
4454
4464
|
multiple: s,
|
|
4455
4465
|
maxFiles: p,
|
|
4456
|
-
validator:
|
|
4457
|
-
}), be =
|
|
4458
|
-
|
|
4466
|
+
validator: J
|
|
4467
|
+
}), be = ae > 0 && !se;
|
|
4468
|
+
te({
|
|
4459
4469
|
isDragAccept: se,
|
|
4460
4470
|
isDragReject: be,
|
|
4461
4471
|
isDragActive: !0,
|
|
4462
4472
|
type: "setDraggedFiles"
|
|
4463
|
-
}), l && l(
|
|
4473
|
+
}), l && l(k);
|
|
4464
4474
|
}
|
|
4465
4475
|
}).catch(function(j) {
|
|
4466
4476
|
return D(j);
|
|
4467
4477
|
});
|
|
4468
|
-
}, [a, l, D, z,
|
|
4469
|
-
|
|
4470
|
-
var j = Je(
|
|
4471
|
-
if (j &&
|
|
4478
|
+
}, [a, l, D, z, ne, r, i, s, p, J]), H = xe(function(k) {
|
|
4479
|
+
k.preventDefault(), k.persist(), Ve(k);
|
|
4480
|
+
var j = Je(k);
|
|
4481
|
+
if (j && k.dataTransfer)
|
|
4472
4482
|
try {
|
|
4473
|
-
|
|
4483
|
+
k.dataTransfer.dropEffect = "copy";
|
|
4474
4484
|
} catch {
|
|
4475
4485
|
}
|
|
4476
|
-
return j && u && u(
|
|
4477
|
-
}, [u, z]),
|
|
4478
|
-
|
|
4479
|
-
var j =
|
|
4480
|
-
return
|
|
4481
|
-
}),
|
|
4482
|
-
|
|
4486
|
+
return j && u && u(k), !1;
|
|
4487
|
+
}, [u, z]), G = xe(function(k) {
|
|
4488
|
+
k.preventDefault(), k.persist(), Ve(k);
|
|
4489
|
+
var j = I.current.filter(function(se) {
|
|
4490
|
+
return X.current && X.current.contains(se);
|
|
4491
|
+
}), ae = j.indexOf(k.target);
|
|
4492
|
+
ae !== -1 && j.splice(ae, 1), I.current = j, !(j.length > 0) && (te({
|
|
4483
4493
|
type: "setDraggedFiles",
|
|
4484
4494
|
isDragActive: !1,
|
|
4485
4495
|
isDragAccept: !1,
|
|
4486
4496
|
isDragReject: !1
|
|
4487
|
-
}), Je(
|
|
4488
|
-
}, [
|
|
4489
|
-
var
|
|
4490
|
-
|
|
4491
|
-
var
|
|
4497
|
+
}), Je(k) && d && d(k));
|
|
4498
|
+
}, [X, d, z]), $ = xe(function(k, j) {
|
|
4499
|
+
var ae = [], se = [];
|
|
4500
|
+
k.forEach(function(be) {
|
|
4501
|
+
var Oe = Oo(be, ne), De = Tt(Oe, 2), rt = De[0], st = De[1], pt = Mo(be, r, i), Ye = Tt(pt, 2), lt = Ye[0], ct = Ye[1], dt = J ? J(be) : null;
|
|
4492
4502
|
if (rt && lt && !dt)
|
|
4493
|
-
|
|
4503
|
+
ae.push(be);
|
|
4494
4504
|
else {
|
|
4495
4505
|
var mt = [st, ct];
|
|
4496
4506
|
dt && (mt = mt.concat(dt)), se.push({
|
|
@@ -4500,93 +4510,93 @@ function Ho() {
|
|
|
4500
4510
|
})
|
|
4501
4511
|
});
|
|
4502
4512
|
}
|
|
4503
|
-
}), (!s &&
|
|
4513
|
+
}), (!s && ae.length > 1 || s && p >= 1 && ae.length > p) && (ae.forEach(function(be) {
|
|
4504
4514
|
se.push({
|
|
4505
4515
|
file: be,
|
|
4506
|
-
errors: [
|
|
4516
|
+
errors: [ys]
|
|
4507
4517
|
});
|
|
4508
|
-
}),
|
|
4509
|
-
acceptedFiles:
|
|
4518
|
+
}), ae.splice(0)), te({
|
|
4519
|
+
acceptedFiles: ae,
|
|
4510
4520
|
fileRejections: se,
|
|
4511
4521
|
isDragReject: se.length > 0,
|
|
4512
4522
|
type: "setFiles"
|
|
4513
|
-
}), g && g(
|
|
4514
|
-
}, [
|
|
4515
|
-
|
|
4516
|
-
ot(
|
|
4523
|
+
}), g && g(ae, se, j), se.length > 0 && x && x(se, j), ae.length > 0 && h && h(ae, j);
|
|
4524
|
+
}, [te, s, ne, r, i, p, g, h, x, J]), ie = xe(function(k) {
|
|
4525
|
+
k.preventDefault(), k.persist(), Ve(k), I.current = [], Je(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4526
|
+
ot(k) && !z || $(j, k);
|
|
4517
4527
|
}).catch(function(j) {
|
|
4518
4528
|
return D(j);
|
|
4519
|
-
}),
|
|
4529
|
+
}), te({
|
|
4520
4530
|
type: "reset"
|
|
4521
4531
|
});
|
|
4522
|
-
}, [a,
|
|
4523
|
-
if (
|
|
4524
|
-
|
|
4532
|
+
}, [a, $, D, z]), b = xe(function() {
|
|
4533
|
+
if (S.current) {
|
|
4534
|
+
te({
|
|
4525
4535
|
type: "openDialog"
|
|
4526
4536
|
}), ue();
|
|
4527
|
-
var
|
|
4537
|
+
var k = {
|
|
4528
4538
|
multiple: s,
|
|
4529
4539
|
types: me
|
|
4530
4540
|
};
|
|
4531
|
-
window.showOpenFilePicker(
|
|
4541
|
+
window.showOpenFilePicker(k).then(function(j) {
|
|
4532
4542
|
return a(j);
|
|
4533
4543
|
}).then(function(j) {
|
|
4534
|
-
|
|
4544
|
+
$(j, null), te({
|
|
4535
4545
|
type: "closeDialog"
|
|
4536
4546
|
});
|
|
4537
4547
|
}).catch(function(j) {
|
|
4538
|
-
|
|
4548
|
+
Ss(j) ? (le(j), te({
|
|
4539
4549
|
type: "closeDialog"
|
|
4540
|
-
})) :
|
|
4550
|
+
})) : Ls(j) ? (S.current = !1, T.current ? (T.current.value = null, T.current.click()) : D(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."))) : D(j);
|
|
4541
4551
|
});
|
|
4542
4552
|
return;
|
|
4543
4553
|
}
|
|
4544
|
-
|
|
4554
|
+
T.current && (te({
|
|
4545
4555
|
type: "openDialog"
|
|
4546
|
-
}), ue(),
|
|
4547
|
-
}, [
|
|
4548
|
-
!
|
|
4549
|
-
}, [
|
|
4550
|
-
|
|
4556
|
+
}), ue(), T.current.value = null, T.current.click());
|
|
4557
|
+
}, [te, ue, le, A, $, D, me, s]), he = xe(function(k) {
|
|
4558
|
+
!X.current || !X.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), b());
|
|
4559
|
+
}, [X, b]), Se = xe(function() {
|
|
4560
|
+
te({
|
|
4551
4561
|
type: "focus"
|
|
4552
4562
|
});
|
|
4553
|
-
}, []),
|
|
4554
|
-
|
|
4563
|
+
}, []), We = xe(function() {
|
|
4564
|
+
te({
|
|
4555
4565
|
type: "blur"
|
|
4556
4566
|
});
|
|
4557
|
-
}, []),
|
|
4558
|
-
y || (
|
|
4567
|
+
}, []), Ot = xe(function() {
|
|
4568
|
+
y || (Ts() ? setTimeout(b, 0) : b());
|
|
4559
4569
|
}, [y, b]), je = function(j) {
|
|
4560
4570
|
return n ? null : j;
|
|
4561
4571
|
}, it = function(j) {
|
|
4562
4572
|
return m ? null : je(j);
|
|
4563
4573
|
}, He = function(j) {
|
|
4564
|
-
return
|
|
4574
|
+
return N ? null : je(j);
|
|
4565
4575
|
}, Ve = function(j) {
|
|
4566
4576
|
z && j.stopPropagation();
|
|
4567
|
-
}, Vo =
|
|
4577
|
+
}, Vo = Be(function() {
|
|
4568
4578
|
return function() {
|
|
4569
|
-
var
|
|
4570
|
-
return
|
|
4579
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown, Oe = k.onFocus, De = k.onBlur, rt = k.onClick, st = k.onDragEnter, pt = k.onDragOver, Ye = k.onDragLeave, lt = k.onDrop, ct = nt(k, As);
|
|
4580
|
+
return oe(oe(Rt({
|
|
4571
4581
|
onKeyDown: it(Ne(be, he)),
|
|
4572
|
-
onFocus: it(Ne(
|
|
4573
|
-
onBlur: it(Ne(De,
|
|
4574
|
-
onClick: je(Ne(rt,
|
|
4575
|
-
onDragEnter: He(Ne(st,
|
|
4576
|
-
onDragOver: He(Ne(pt,
|
|
4577
|
-
onDragLeave: He(Ne(Ye,
|
|
4582
|
+
onFocus: it(Ne(Oe, Se)),
|
|
4583
|
+
onBlur: it(Ne(De, We)),
|
|
4584
|
+
onClick: je(Ne(rt, Ot)),
|
|
4585
|
+
onDragEnter: He(Ne(st, M)),
|
|
4586
|
+
onDragOver: He(Ne(pt, H)),
|
|
4587
|
+
onDragLeave: He(Ne(Ye, G)),
|
|
4578
4588
|
onDrop: He(Ne(lt, ie)),
|
|
4579
4589
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4580
|
-
},
|
|
4590
|
+
}, ae, X), !n && !m ? {
|
|
4581
4591
|
tabIndex: 0
|
|
4582
4592
|
} : {}), ct);
|
|
4583
4593
|
};
|
|
4584
|
-
}, [
|
|
4585
|
-
|
|
4586
|
-
}, []), Go =
|
|
4594
|
+
}, [X, he, Se, We, Ot, M, H, G, ie, m, N, n]), Yo = xe(function(k) {
|
|
4595
|
+
k.stopPropagation();
|
|
4596
|
+
}, []), Go = Be(function() {
|
|
4587
4597
|
return function() {
|
|
4588
|
-
var
|
|
4589
|
-
accept:
|
|
4598
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick, Oe = nt(k, js), De = Rt({
|
|
4599
|
+
accept: ne,
|
|
4590
4600
|
multiple: s,
|
|
4591
4601
|
type: "file",
|
|
4592
4602
|
style: {
|
|
@@ -4604,58 +4614,58 @@ function Ho() {
|
|
|
4604
4614
|
onChange: je(Ne(se, ie)),
|
|
4605
4615
|
onClick: je(Ne(be, Yo)),
|
|
4606
4616
|
tabIndex: -1
|
|
4607
|
-
},
|
|
4608
|
-
return
|
|
4617
|
+
}, ae, T);
|
|
4618
|
+
return oe(oe({}, De), Oe);
|
|
4609
4619
|
};
|
|
4610
|
-
}, [
|
|
4611
|
-
return
|
|
4620
|
+
}, [T, o, s, ie, n]);
|
|
4621
|
+
return oe(oe({}, V), {}, {
|
|
4612
4622
|
isFocused: _ && !n,
|
|
4613
4623
|
getRootProps: Vo,
|
|
4614
4624
|
getInputProps: Go,
|
|
4615
|
-
rootRef:
|
|
4616
|
-
inputRef:
|
|
4625
|
+
rootRef: X,
|
|
4626
|
+
inputRef: T,
|
|
4617
4627
|
open: je(b)
|
|
4618
4628
|
});
|
|
4619
4629
|
}
|
|
4620
|
-
function
|
|
4630
|
+
function qs(e, t) {
|
|
4621
4631
|
switch (t.type) {
|
|
4622
4632
|
case "focus":
|
|
4623
|
-
return
|
|
4633
|
+
return oe(oe({}, e), {}, {
|
|
4624
4634
|
isFocused: !0
|
|
4625
4635
|
});
|
|
4626
4636
|
case "blur":
|
|
4627
|
-
return
|
|
4637
|
+
return oe(oe({}, e), {}, {
|
|
4628
4638
|
isFocused: !1
|
|
4629
4639
|
});
|
|
4630
4640
|
case "openDialog":
|
|
4631
|
-
return
|
|
4641
|
+
return oe(oe({}, Ft), {}, {
|
|
4632
4642
|
isFileDialogActive: !0
|
|
4633
4643
|
});
|
|
4634
4644
|
case "closeDialog":
|
|
4635
|
-
return
|
|
4645
|
+
return oe(oe({}, e), {}, {
|
|
4636
4646
|
isFileDialogActive: !1
|
|
4637
4647
|
});
|
|
4638
4648
|
case "setDraggedFiles":
|
|
4639
|
-
return
|
|
4649
|
+
return oe(oe({}, e), {}, {
|
|
4640
4650
|
isDragActive: t.isDragActive,
|
|
4641
4651
|
isDragAccept: t.isDragAccept,
|
|
4642
4652
|
isDragReject: t.isDragReject
|
|
4643
4653
|
});
|
|
4644
4654
|
case "setFiles":
|
|
4645
|
-
return
|
|
4655
|
+
return oe(oe({}, e), {}, {
|
|
4646
4656
|
acceptedFiles: t.acceptedFiles,
|
|
4647
4657
|
fileRejections: t.fileRejections,
|
|
4648
4658
|
isDragReject: t.isDragReject
|
|
4649
4659
|
});
|
|
4650
4660
|
case "reset":
|
|
4651
|
-
return
|
|
4661
|
+
return oe({}, Ft);
|
|
4652
4662
|
default:
|
|
4653
4663
|
return e;
|
|
4654
4664
|
}
|
|
4655
4665
|
}
|
|
4656
4666
|
function fo() {
|
|
4657
4667
|
}
|
|
4658
|
-
const
|
|
4668
|
+
const $s = (e) => Ho(e), Hs = (e) => {
|
|
4659
4669
|
switch (e.code) {
|
|
4660
4670
|
case kt.FileInvalidType:
|
|
4661
4671
|
return "Неверный формат файла";
|
|
@@ -4665,31 +4675,31 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4665
4675
|
default:
|
|
4666
4676
|
return "";
|
|
4667
4677
|
}
|
|
4668
|
-
},
|
|
4678
|
+
}, Vs = (e) => {
|
|
4669
4679
|
var t;
|
|
4670
4680
|
return Et(e) ? "" : (t = e.split(".").pop()) == null ? void 0 : t.toLowerCase();
|
|
4671
|
-
},
|
|
4681
|
+
}, Ys = (e, t = {}) => {
|
|
4672
4682
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4673
4683
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4674
4684
|
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, p = n ? " " : "";
|
|
4675
4685
|
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + p + i[r];
|
|
4676
|
-
},
|
|
4677
|
-
ellipsisFileName:
|
|
4678
|
-
tooltipContent:
|
|
4679
|
-
},
|
|
4686
|
+
}, Gs = "_ellipsisFileName_qx34h_1", Ks = "_tooltipContent_qx34h_7", vo = {
|
|
4687
|
+
ellipsisFileName: Gs,
|
|
4688
|
+
tooltipContent: Ks
|
|
4689
|
+
}, Xs = (e) => {
|
|
4680
4690
|
const {
|
|
4681
4691
|
fileName: t,
|
|
4682
4692
|
classNameRoot: o,
|
|
4683
4693
|
type: n = "p2",
|
|
4684
4694
|
classNameEllipsisText: a,
|
|
4685
4695
|
classNameEllipsisFileNameRoot: i
|
|
4686
|
-
} = e, r = de(null), s = de(null), [p, l] =
|
|
4696
|
+
} = e, r = de(null), s = de(null), [p, l] = ee(!1), [d, u] = ee(0), g = () => {
|
|
4687
4697
|
r.current && l(r.current.scrollWidth > r.current.clientWidth), s.current && u(s.current.offsetWidth);
|
|
4688
4698
|
};
|
|
4689
4699
|
go(() => (g(), window.addEventListener("resize", g), () => {
|
|
4690
4700
|
window.removeEventListener("resize", g);
|
|
4691
4701
|
}), [t]);
|
|
4692
|
-
const h =
|
|
4702
|
+
const h = Vs(t);
|
|
4693
4703
|
return /* @__PURE__ */ O(
|
|
4694
4704
|
"div",
|
|
4695
4705
|
{
|
|
@@ -4701,6 +4711,7 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4701
4711
|
/* @__PURE__ */ c(
|
|
4702
4712
|
$e,
|
|
4703
4713
|
{
|
|
4714
|
+
hover: !0,
|
|
4704
4715
|
position: pe.TopLeft,
|
|
4705
4716
|
classNameBaseTooltipRoot: vo.tooltipContent,
|
|
4706
4717
|
styleTooltip: { maxWidth: p ? `calc(100% - ${d}px)` : "100%" },
|
|
@@ -4727,40 +4738,40 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4727
4738
|
]
|
|
4728
4739
|
}
|
|
4729
4740
|
);
|
|
4730
|
-
},
|
|
4731
|
-
spUploadFiles:
|
|
4732
|
-
spUploadFiles_error:
|
|
4733
|
-
spUploadFiles__control:
|
|
4734
|
-
spUploadFiles__fileNameContainer:
|
|
4735
|
-
spUploadFiles__fileName_dragError:
|
|
4736
|
-
spUploadFiles__placeholderContainer:
|
|
4741
|
+
}, Zs = "_spUploadFiles_19te9_43", Qs = "_spUploadFiles_error_19te9_51", Js = "_spUploadFiles__control_19te9_51", ep = "_spUploadFiles__fileNameContainer_19te9_55", tp = "_spUploadFiles__fileName_dragError_19te9_59", op = "_spUploadFiles__placeholderContainer_19te9_62", np = "_spUploadFiles__placeholderContainer_withUloadTooltip_19te9_72", ap = "_spUploadFiles__placeholder_19te9_62", ip = "_spUploadFiles__control_loading_19te9_104", rp = "_shimmer_19te9_1", sp = "_spUploadFiles__fileName_19te9_55", pp = "_spUploadFiles__tooltip_19te9_130", lp = "_spUploadFiles_fileUploaded_19te9_160", cp = "_spUploadFiles_disabled_19te9_160", dp = "_spUploadFiles__fileNamesList_19te9_171", mp = "_spUploadFiles__fileNamesList_loading_19te9_182", up = "_spUploadFiles__fileNamesListItem_19te9_187", _p = "_spUploadFiles__fileNamesListItem__iconContainer_19te9_214", fp = "_spUploadFiles__fileNamesListItem__iconContainer_error_19te9_223", vp = "_spUploadFiles__fileNamesListItem__mainContent_19te9_228", gp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_19te9_235", xp = "_spUploadFiles__fileNamesListItem__fileName_19te9_235", hp = "_spUploadFiles__fileNamesListItem__description_19te9_242", bp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_19te9_247", yp = "_spUploadFiles__fileNamesListItem__description_error_19te9_250", wp = "_spUploadFiles__fileNamesListItemDelete_19te9_253", Cp = "_spUploadFiles__fileNamesListItemDelete_error_19te9_270", kp = "_spUploadFiles__delete_19te9_283", Tp = "_spUploadFiles__delete_loading_19te9_287", Np = "_spUploadFiles__error_19te9_296", Y = {
|
|
4742
|
+
spUploadFiles: Zs,
|
|
4743
|
+
spUploadFiles_error: Qs,
|
|
4744
|
+
spUploadFiles__control: Js,
|
|
4745
|
+
spUploadFiles__fileNameContainer: ep,
|
|
4746
|
+
spUploadFiles__fileName_dragError: tp,
|
|
4747
|
+
spUploadFiles__placeholderContainer: op,
|
|
4737
4748
|
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_19te9_65",
|
|
4738
|
-
spUploadFiles__placeholderContainer_withUloadTooltip:
|
|
4739
|
-
spUploadFiles__placeholder:
|
|
4749
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: np,
|
|
4750
|
+
spUploadFiles__placeholder: ap,
|
|
4740
4751
|
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_19te9_87",
|
|
4741
|
-
spUploadFiles__control_loading:
|
|
4742
|
-
shimmer:
|
|
4743
|
-
spUploadFiles__fileName:
|
|
4744
|
-
spUploadFiles__tooltip:
|
|
4745
|
-
spUploadFiles_fileUploaded:
|
|
4746
|
-
spUploadFiles_disabled:
|
|
4747
|
-
spUploadFiles__fileNamesList:
|
|
4748
|
-
spUploadFiles__fileNamesList_loading:
|
|
4749
|
-
spUploadFiles__fileNamesListItem:
|
|
4750
|
-
spUploadFiles__fileNamesListItem__iconContainer:
|
|
4751
|
-
spUploadFiles__fileNamesListItem__iconContainer_error:
|
|
4752
|
-
spUploadFiles__fileNamesListItem__mainContent:
|
|
4753
|
-
spUploadFiles__fileNamesListItem__fileNameWrapper:
|
|
4754
|
-
spUploadFiles__fileNamesListItem__fileName:
|
|
4755
|
-
spUploadFiles__fileNamesListItem__description:
|
|
4756
|
-
spUploadFiles__fileNamesListItem__description__tooltipContent:
|
|
4757
|
-
spUploadFiles__fileNamesListItem__description_error:
|
|
4758
|
-
spUploadFiles__fileNamesListItemDelete:
|
|
4759
|
-
spUploadFiles__fileNamesListItemDelete_error:
|
|
4760
|
-
spUploadFiles__delete:
|
|
4761
|
-
spUploadFiles__delete_loading:
|
|
4762
|
-
spUploadFiles__error:
|
|
4763
|
-
},
|
|
4752
|
+
spUploadFiles__control_loading: ip,
|
|
4753
|
+
shimmer: rp,
|
|
4754
|
+
spUploadFiles__fileName: sp,
|
|
4755
|
+
spUploadFiles__tooltip: pp,
|
|
4756
|
+
spUploadFiles_fileUploaded: lp,
|
|
4757
|
+
spUploadFiles_disabled: cp,
|
|
4758
|
+
spUploadFiles__fileNamesList: dp,
|
|
4759
|
+
spUploadFiles__fileNamesList_loading: mp,
|
|
4760
|
+
spUploadFiles__fileNamesListItem: up,
|
|
4761
|
+
spUploadFiles__fileNamesListItem__iconContainer: _p,
|
|
4762
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: fp,
|
|
4763
|
+
spUploadFiles__fileNamesListItem__mainContent: vp,
|
|
4764
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: gp,
|
|
4765
|
+
spUploadFiles__fileNamesListItem__fileName: xp,
|
|
4766
|
+
spUploadFiles__fileNamesListItem__description: hp,
|
|
4767
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: bp,
|
|
4768
|
+
spUploadFiles__fileNamesListItem__description_error: yp,
|
|
4769
|
+
spUploadFiles__fileNamesListItemDelete: wp,
|
|
4770
|
+
spUploadFiles__fileNamesListItemDelete_error: Cp,
|
|
4771
|
+
spUploadFiles__delete: kp,
|
|
4772
|
+
spUploadFiles__delete_loading: Tp,
|
|
4773
|
+
spUploadFiles__error: Np
|
|
4774
|
+
}, el = (e) => {
|
|
4764
4775
|
const {
|
|
4765
4776
|
placeholder: t = "Загрузите файл",
|
|
4766
4777
|
variant: o = "input",
|
|
@@ -4775,64 +4786,64 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4775
4786
|
classNameRoot: u,
|
|
4776
4787
|
loading: g,
|
|
4777
4788
|
error: h
|
|
4778
|
-
} = e, [x, w] =
|
|
4789
|
+
} = e, [x, w] = ee([]), R = xe(
|
|
4779
4790
|
(_, v) => {
|
|
4780
|
-
const
|
|
4781
|
-
file:
|
|
4782
|
-
errors:
|
|
4791
|
+
const S = v.map(({ file: I, errors: W }) => ({
|
|
4792
|
+
file: I,
|
|
4793
|
+
errors: W
|
|
4783
4794
|
}));
|
|
4784
4795
|
if (!s) {
|
|
4785
|
-
w([...
|
|
4796
|
+
w([...S]), a(_, n);
|
|
4786
4797
|
return;
|
|
4787
4798
|
}
|
|
4788
|
-
const
|
|
4789
|
-
w([...
|
|
4799
|
+
const L = [...p, ..._];
|
|
4800
|
+
w([...S, ...x]), a(L, n);
|
|
4790
4801
|
},
|
|
4791
4802
|
[x, p, s, n, a]
|
|
4792
|
-
), { getRootProps:
|
|
4803
|
+
), { getRootProps: A, getInputProps: U } = $s({
|
|
4793
4804
|
accept: i,
|
|
4794
|
-
onDrop:
|
|
4805
|
+
onDrop: R,
|
|
4795
4806
|
multiple: s,
|
|
4796
4807
|
disabled: r
|
|
4797
|
-
}),
|
|
4798
|
-
[
|
|
4799
|
-
[
|
|
4800
|
-
[
|
|
4801
|
-
[
|
|
4802
|
-
[
|
|
4808
|
+
}), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (y == null ? void 0 : y.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", z = o === "dropzone", K = f({
|
|
4809
|
+
[Y.spUploadFiles]: !0,
|
|
4810
|
+
[Y[`spUploadFiles--variant-${o}`]]: o,
|
|
4811
|
+
[Y.spUploadFiles_error]: F && !s && h && h.length > 0,
|
|
4812
|
+
[Y.spUploadFiles_disabled]: r,
|
|
4813
|
+
[Y.spUploadFiles_fileUploaded]: m,
|
|
4803
4814
|
...u && { [u]: !0 }
|
|
4804
|
-
}),
|
|
4805
|
-
[
|
|
4806
|
-
[
|
|
4807
|
-
}),
|
|
4808
|
-
[
|
|
4809
|
-
[
|
|
4815
|
+
}), J = f({
|
|
4816
|
+
[Y.spUploadFiles__control]: !0,
|
|
4817
|
+
[Y.spUploadFiles__control_loading]: g
|
|
4818
|
+
}), ne = f({
|
|
4819
|
+
[Y.spUploadFiles__fileNamesList]: !0,
|
|
4820
|
+
[Y.spUploadFiles__fileNamesList_loading]: g
|
|
4810
4821
|
}), me = f({
|
|
4811
|
-
[
|
|
4812
|
-
[
|
|
4822
|
+
[Y.spUploadFiles__delete]: !0,
|
|
4823
|
+
[Y.spUploadFiles__delete_loading]: g
|
|
4813
4824
|
}), ue = (_, v) => {
|
|
4814
4825
|
if (g)
|
|
4815
4826
|
return;
|
|
4816
4827
|
if (v) {
|
|
4817
|
-
const
|
|
4818
|
-
|
|
4828
|
+
const I = [...x], W = I.findIndex((D) => D.file.name === _);
|
|
4829
|
+
I.splice(W, 1), w(I);
|
|
4819
4830
|
return;
|
|
4820
4831
|
}
|
|
4821
|
-
const
|
|
4822
|
-
|
|
4832
|
+
const S = [...p], L = S.findIndex((I) => I.name === _);
|
|
4833
|
+
S.splice(L, 1), a(S, n);
|
|
4823
4834
|
}, le = (_) => {
|
|
4824
4835
|
_.stopPropagation(), a([], n), w([]);
|
|
4825
|
-
},
|
|
4826
|
-
if (
|
|
4827
|
-
const _ =
|
|
4836
|
+
}, X = (_) => Object.values(_).flatMap((v) => v.map((S) => S.toUpperCase())).join(", "), T = () => {
|
|
4837
|
+
if (F) {
|
|
4838
|
+
const _ = X(i);
|
|
4828
4839
|
return /* @__PURE__ */ c(
|
|
4829
4840
|
Ke,
|
|
4830
4841
|
{
|
|
4831
4842
|
text: `Неверный формат файла. Загрузите файл в формате ${_}`,
|
|
4832
|
-
classNameTooltipRoot: f(
|
|
4843
|
+
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4833
4844
|
classNameRoot: f(
|
|
4834
|
-
|
|
4835
|
-
|
|
4845
|
+
Y.spUploadFiles__fileName,
|
|
4846
|
+
F && Y.spUploadFiles__fileName_dragError
|
|
4836
4847
|
)
|
|
4837
4848
|
}
|
|
4838
4849
|
);
|
|
@@ -4841,50 +4852,50 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4841
4852
|
Ke,
|
|
4842
4853
|
{
|
|
4843
4854
|
text: y[0].file.name,
|
|
4844
|
-
classNameTooltipRoot: f(
|
|
4845
|
-
classNameRoot: f(
|
|
4855
|
+
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4856
|
+
classNameRoot: f(Y.spUploadFiles__fileName)
|
|
4846
4857
|
}
|
|
4847
4858
|
);
|
|
4848
|
-
}, P = () => /* @__PURE__ */ c("ul", { className:
|
|
4849
|
-
const
|
|
4859
|
+
}, P = () => /* @__PURE__ */ c("ul", { className: ne, children: y.map(({ file: _, errors: v }, S) => {
|
|
4860
|
+
const L = v ? (v == null ? void 0 : v.length) > 0 : void 0, I = () => v ? v == null ? void 0 : v.map(Hs).join(", ") : "";
|
|
4850
4861
|
return /* @__PURE__ */ O(
|
|
4851
4862
|
"li",
|
|
4852
4863
|
{
|
|
4853
4864
|
className: f(
|
|
4854
|
-
|
|
4855
|
-
|
|
4865
|
+
Y.spUploadFiles__fileNamesListItem,
|
|
4866
|
+
L && Y.spUploadFiles__fileNamesListItem_error
|
|
4856
4867
|
),
|
|
4857
|
-
onClick: (
|
|
4858
|
-
|
|
4868
|
+
onClick: (W) => {
|
|
4869
|
+
W.stopPropagation();
|
|
4859
4870
|
},
|
|
4860
4871
|
children: [
|
|
4861
4872
|
/* @__PURE__ */ c(
|
|
4862
4873
|
"div",
|
|
4863
4874
|
{
|
|
4864
4875
|
className: f(
|
|
4865
|
-
|
|
4866
|
-
|
|
4876
|
+
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4877
|
+
L && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4867
4878
|
),
|
|
4868
|
-
children: /* @__PURE__ */ c(ve, { name:
|
|
4879
|
+
children: /* @__PURE__ */ c(ve, { name: L ? B.InfoError : B.File })
|
|
4869
4880
|
}
|
|
4870
4881
|
),
|
|
4871
|
-
/* @__PURE__ */ O("div", { className:
|
|
4882
|
+
/* @__PURE__ */ O("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4872
4883
|
/* @__PURE__ */ c(
|
|
4873
|
-
|
|
4884
|
+
Xs,
|
|
4874
4885
|
{
|
|
4875
4886
|
fileName: _.name,
|
|
4876
|
-
classNameEllipsisFileNameRoot:
|
|
4877
|
-
classNameEllipsisText:
|
|
4887
|
+
classNameEllipsisFileNameRoot: Y.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4888
|
+
classNameEllipsisText: Y.spUploadFiles__fileNamesListItem__fileName
|
|
4878
4889
|
}
|
|
4879
4890
|
),
|
|
4880
4891
|
/* @__PURE__ */ c(
|
|
4881
4892
|
Ke,
|
|
4882
4893
|
{
|
|
4883
|
-
text:
|
|
4884
|
-
classNameBaseTooltipRoot:
|
|
4894
|
+
text: L ? I() : Ys(_.size),
|
|
4895
|
+
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4885
4896
|
classNameRoot: f(
|
|
4886
|
-
|
|
4887
|
-
|
|
4897
|
+
Y.spUploadFiles__fileNamesListItem__description,
|
|
4898
|
+
L && Y.spUploadFiles__fileNamesListItem__description_error
|
|
4888
4899
|
)
|
|
4889
4900
|
}
|
|
4890
4901
|
)
|
|
@@ -4892,81 +4903,82 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4892
4903
|
/* @__PURE__ */ c(
|
|
4893
4904
|
"div",
|
|
4894
4905
|
{
|
|
4895
|
-
className: f(
|
|
4896
|
-
onClick: (
|
|
4897
|
-
|
|
4906
|
+
className: f(Y.spUploadFiles__fileNamesListItemDelete),
|
|
4907
|
+
onClick: (W) => {
|
|
4908
|
+
W.stopPropagation(), ue(_.name, L);
|
|
4898
4909
|
},
|
|
4899
|
-
children: /* @__PURE__ */ c(ve, { name:
|
|
4910
|
+
children: /* @__PURE__ */ c(ve, { name: B.Close })
|
|
4900
4911
|
}
|
|
4901
4912
|
)
|
|
4902
4913
|
]
|
|
4903
4914
|
},
|
|
4904
|
-
|
|
4915
|
+
S
|
|
4905
4916
|
);
|
|
4906
|
-
}) }),
|
|
4917
|
+
}) }), q = () => s ? P() : T(), V = () => /* @__PURE__ */ c(
|
|
4907
4918
|
Ke,
|
|
4908
4919
|
{
|
|
4909
|
-
classNameRoot:
|
|
4920
|
+
classNameRoot: Y.spUploadFiles__placeholder,
|
|
4910
4921
|
classNameTooltipRoot: f(
|
|
4911
|
-
|
|
4912
|
-
!!l &&
|
|
4922
|
+
Y.spUploadFiles__placeholderContainer,
|
|
4923
|
+
!!l && Y.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4913
4924
|
),
|
|
4914
4925
|
text: t
|
|
4915
4926
|
}
|
|
4916
|
-
),
|
|
4917
|
-
m ?
|
|
4918
|
-
m &&
|
|
4927
|
+
), te = () => /* @__PURE__ */ O(At, { children: [
|
|
4928
|
+
m ? q() : V(),
|
|
4929
|
+
m && N ? /* @__PURE__ */ c("div", { className: me, onClick: le, children: /* @__PURE__ */ c(ve, { name: B.Close }) }) : N && l && /* @__PURE__ */ c(
|
|
4919
4930
|
at,
|
|
4920
4931
|
{
|
|
4932
|
+
hover: !0,
|
|
4921
4933
|
position: d,
|
|
4922
4934
|
text: l,
|
|
4923
|
-
classNameTooltip:
|
|
4935
|
+
classNameTooltip: Y.spUploadFiles__tooltip
|
|
4924
4936
|
}
|
|
4925
4937
|
)
|
|
4926
4938
|
] });
|
|
4927
4939
|
return /* @__PURE__ */ c(
|
|
4928
|
-
|
|
4940
|
+
Ma,
|
|
4929
4941
|
{
|
|
4930
|
-
getRootProps:
|
|
4931
|
-
getInputProps:
|
|
4942
|
+
getRootProps: A,
|
|
4943
|
+
getInputProps: U,
|
|
4932
4944
|
disabled: r,
|
|
4933
4945
|
name: n,
|
|
4934
|
-
children: /* @__PURE__ */ O("div", { className:
|
|
4946
|
+
children: /* @__PURE__ */ O("div", { className: K, children: [
|
|
4935
4947
|
z && /* @__PURE__ */ c(
|
|
4936
4948
|
$e,
|
|
4937
4949
|
{
|
|
4938
4950
|
hover: !0,
|
|
4939
4951
|
text: l,
|
|
4940
4952
|
position: d,
|
|
4941
|
-
classNameTooltip:
|
|
4953
|
+
classNameTooltip: Y.spUploadFiles__tooltip,
|
|
4942
4954
|
trigger: void 0
|
|
4943
4955
|
}
|
|
4944
4956
|
),
|
|
4945
|
-
/* @__PURE__ */ O("div", { className:
|
|
4946
|
-
|
|
4957
|
+
/* @__PURE__ */ O("div", { className: J, children: [
|
|
4958
|
+
N && (g ? /* @__PURE__ */ c(jt, {}) : /* @__PURE__ */ c(
|
|
4947
4959
|
ve,
|
|
4948
4960
|
{
|
|
4949
|
-
name: m ?
|
|
4961
|
+
name: m ? B.Check : B.Upload,
|
|
4950
4962
|
style: { flexShrink: 0 }
|
|
4951
4963
|
}
|
|
4952
4964
|
)),
|
|
4953
|
-
|
|
4965
|
+
te()
|
|
4954
4966
|
] }),
|
|
4955
|
-
h && /* @__PURE__ */ c("div", { className:
|
|
4967
|
+
h && /* @__PURE__ */ c("div", { className: Y.spUploadFiles__error, children: h })
|
|
4956
4968
|
] })
|
|
4957
4969
|
}
|
|
4958
4970
|
);
|
|
4959
|
-
},
|
|
4960
|
-
viewImage:
|
|
4961
|
-
viewImage__img:
|
|
4962
|
-
viewImage__img_loading:
|
|
4963
|
-
viewImage__img_error:
|
|
4964
|
-
viewImage__spinner:
|
|
4965
|
-
viewImage__errorWrapper:
|
|
4966
|
-
viewImage__errorIcon:
|
|
4967
|
-
viewImage__layer:
|
|
4968
|
-
viewImage__closeButton:
|
|
4969
|
-
},
|
|
4971
|
+
}, Ep = "_viewImage_r6txf_43", Ip = "_viewImage__img_r6txf_66", Sp = "_viewImage__img_loading_r6txf_79", Lp = "_viewImage__img_error_r6txf_82", Rp = "_viewImage__spinner_r6txf_85", Fp = "_viewImage__errorWrapper_r6txf_92", Ap = "_viewImage__errorIcon_r6txf_107", jp = "_viewImage__layer_r6txf_112", Dp = "_viewImage__closeButton_r6txf_117", Ee = {
|
|
4972
|
+
viewImage: Ep,
|
|
4973
|
+
viewImage__img: Ip,
|
|
4974
|
+
viewImage__img_loading: Sp,
|
|
4975
|
+
viewImage__img_error: Lp,
|
|
4976
|
+
viewImage__spinner: Rp,
|
|
4977
|
+
viewImage__errorWrapper: Fp,
|
|
4978
|
+
viewImage__errorIcon: Ap,
|
|
4979
|
+
viewImage__layer: jp,
|
|
4980
|
+
viewImage__closeButton: Dp
|
|
4981
|
+
}, tl = (e) => {
|
|
4970
4982
|
const {
|
|
4971
4983
|
classNameRoot: t,
|
|
4972
4984
|
classNameImageRoot: o,
|
|
@@ -4976,90 +4988,90 @@ const Bs = (e) => Ho(e), Os = (e) => {
|
|
|
4976
4988
|
fallbackSrc: r,
|
|
4977
4989
|
showLoader: s = !0,
|
|
4978
4990
|
onClose: p
|
|
4979
|
-
} = e, [l, d] =
|
|
4991
|
+
} = e, [l, d] = ee(!0), [u, g] = ee(!1), [h, x] = ee(n), w = f({
|
|
4980
4992
|
[Ee.viewImage]: !0,
|
|
4981
4993
|
...t && { [t]: !0 }
|
|
4982
|
-
}),
|
|
4994
|
+
}), R = f({
|
|
4983
4995
|
[Ee.viewImage__layer]: !0
|
|
4984
|
-
}),
|
|
4996
|
+
}), A = f({
|
|
4985
4997
|
[Ee.viewImage__closeButton]: !0
|
|
4986
|
-
}),
|
|
4998
|
+
}), U = f({
|
|
4987
4999
|
[Ee.viewImage__spinner]: !0
|
|
4988
|
-
}),
|
|
5000
|
+
}), F = f(Ee.viewImage__img, {
|
|
4989
5001
|
[Ee.viewImage__img_loading]: l,
|
|
4990
5002
|
[Ee.viewImage__img_error]: u,
|
|
4991
5003
|
...o && { [o]: !0 }
|
|
4992
5004
|
});
|
|
4993
|
-
return /* @__PURE__ */ O(yo, { classNameRoot:
|
|
4994
|
-
s && l && /* @__PURE__ */ c(jt, { classNameRoot:
|
|
5005
|
+
return /* @__PURE__ */ O(yo, { classNameRoot: R, children: [
|
|
5006
|
+
s && l && /* @__PURE__ */ c(jt, { classNameRoot: U, size: "xl" }),
|
|
4995
5007
|
/* @__PURE__ */ O("div", { className: w, children: [
|
|
4996
5008
|
/* @__PURE__ */ c(
|
|
4997
5009
|
"img",
|
|
4998
5010
|
{
|
|
4999
|
-
className:
|
|
5011
|
+
className: F,
|
|
5000
5012
|
src: h,
|
|
5001
5013
|
alt: "someImage",
|
|
5002
|
-
onLoad: (
|
|
5003
|
-
d(!1), a == null || a(
|
|
5014
|
+
onLoad: (N) => {
|
|
5015
|
+
d(!1), a == null || a(N);
|
|
5004
5016
|
},
|
|
5005
|
-
onError: (
|
|
5006
|
-
d(!1), g(!0), r && h !== r && (x(r), g(!1), d(!0)), i == null || i(
|
|
5017
|
+
onError: (N) => {
|
|
5018
|
+
d(!1), g(!0), r && h !== r && (x(r), g(!1), d(!0)), i == null || i(N);
|
|
5007
5019
|
}
|
|
5008
5020
|
}
|
|
5009
5021
|
),
|
|
5010
5022
|
u && /* @__PURE__ */ O("div", { className: Ee.viewImage__errorWrapper, children: [
|
|
5011
|
-
/* @__PURE__ */ c(ve, { name:
|
|
5023
|
+
/* @__PURE__ */ c(ve, { name: B.InfoError, className: Ee.viewImage__errorIcon }),
|
|
5012
5024
|
/* @__PURE__ */ c(Te, { children: "Не удалось загрузить изображение" })
|
|
5013
5025
|
] })
|
|
5014
5026
|
] }),
|
|
5015
5027
|
/* @__PURE__ */ c(
|
|
5016
5028
|
et,
|
|
5017
5029
|
{
|
|
5018
|
-
classNameRoot:
|
|
5030
|
+
classNameRoot: A,
|
|
5019
5031
|
onClick: p,
|
|
5020
5032
|
variant: "link",
|
|
5021
5033
|
isOnlyIcon: !0,
|
|
5022
5034
|
color: "white",
|
|
5023
|
-
iconName:
|
|
5035
|
+
iconName: B.Close
|
|
5024
5036
|
}
|
|
5025
5037
|
)
|
|
5026
5038
|
] });
|
|
5027
5039
|
};
|
|
5028
5040
|
export {
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5041
|
+
Op as Accordion,
|
|
5042
|
+
ra as ApplyButtons,
|
|
5043
|
+
zp as AuthProtected,
|
|
5032
5044
|
wo as BaseTooltip,
|
|
5033
5045
|
et as Button,
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5046
|
+
Up as Checkbox,
|
|
5047
|
+
ya as Confirm,
|
|
5048
|
+
qp as ContextMenu,
|
|
5049
|
+
Ma as DefaultDropzone,
|
|
5050
|
+
$p as Dropdown,
|
|
5051
|
+
B as EIconName,
|
|
5040
5052
|
pe as ETooltipPosition,
|
|
5041
5053
|
Ke as EllipsisTextWithTooltip,
|
|
5042
|
-
|
|
5054
|
+
Hp as Form,
|
|
5043
5055
|
ve as Icon,
|
|
5044
5056
|
at as InfoTooltip,
|
|
5045
|
-
|
|
5057
|
+
gi as Input,
|
|
5046
5058
|
Dt as Label,
|
|
5047
5059
|
yo as Layer,
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5060
|
+
xi as MediaContext,
|
|
5061
|
+
Yp as MediaContextProvider,
|
|
5062
|
+
ba as Modal,
|
|
5051
5063
|
bo as Portal,
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5064
|
+
Gp as ProgressWrapper,
|
|
5065
|
+
Kp as Select,
|
|
5066
|
+
Xp as Skeleton,
|
|
5055
5067
|
jt as Spinner,
|
|
5056
|
-
|
|
5057
|
-
|
|
5068
|
+
Zp as Table,
|
|
5069
|
+
Qp as Tabs,
|
|
5058
5070
|
Te as Text,
|
|
5059
|
-
|
|
5071
|
+
Jp as TextWithLabel,
|
|
5060
5072
|
$e as Tooltip,
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5073
|
+
el as UploadFiles,
|
|
5074
|
+
tl as ViewImageModal,
|
|
5075
|
+
rr as useAnimatedValue,
|
|
5076
|
+
Mp as useModal
|
|
5065
5077
|
};
|