test-stpr-ui-kit 0.4.58 → 0.4.59
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.css +1 -1
- package/dist/test-stpr-ui-kit.es.d.ts +2 -0
- package/dist/test-stpr-ui-kit.js +1188 -1178
- 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 U, jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import Ue, { useState as te, useEffect as ne, useRef as me, useCallback as
|
|
1
|
+
import { jsxs as U, jsx as l, Fragment as uo } from "react/jsx-runtime";
|
|
2
|
+
import * as T from "react";
|
|
3
|
+
import Ue, { useState as te, useEffect as ne, useRef as me, useCallback as ge, createContext as _o, useContext as Ho, useMemo as De, useReducer as Vo, forwardRef as Yo, useImperativeHandle as Go, Fragment as Ko, useLayoutEffect as Xo } from "react";
|
|
4
4
|
import Zo from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function fo(e) {
|
|
6
6
|
var t, o, n = "";
|
|
@@ -15,7 +15,7 @@ function f() {
|
|
|
15
15
|
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = fo(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
|
-
const Qo = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Jo = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), en = (e) => /* @__PURE__ */ k.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__ */ k.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__ */ k.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), tn = (e) => /* @__PURE__ */ k.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__ */ k.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__ */ k.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), on = (e) => /* @__PURE__ */ k.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__ */ k.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ k.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ k.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), nn = (e) => /* @__PURE__ */ k.createElement("svg", { className: "stpr-icon", width: 26, height: 32, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ k.createElement("g", { clipPath: "url(#clip0_1827_3469)" }, /* @__PURE__ */ k.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", { id: "clip0_1827_3469" }, /* @__PURE__ */ k.createElement("rect", { width: 26, height: 32, fill: "white" })))), an = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ k.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__ */ k.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__ */ k.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), sn = (e) => /* @__PURE__ */ k.createElement("svg", { className: "stpr-icon", width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", { id: "clip0_1827_3485" }, /* @__PURE__ */ k.createElement("rect", { width: 32, height: 32, fill: "white" })))), pn = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ln = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), cn = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), dn = (e) => /* @__PURE__ */ k.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__ */ k.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__ */ k.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), un = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), _n = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ k.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__ */ k.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__ */ k.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ k.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ k.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__ */ k.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ k.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ k.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ k.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ge = (e) => {
|
|
18
|
+
const Qo = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Jo = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), en = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ T.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ T.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), tn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), on = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ T.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ T.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), nn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 26, height: 32, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("g", { clipPath: "url(#clip0_1827_3469)" }, /* @__PURE__ */ T.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), /* @__PURE__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_1827_3469" }, /* @__PURE__ */ T.createElement("rect", { width: 26, height: 32, fill: "white" })))), an = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), sn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M16 0.5C24.5604 0.5 31.5 7.43959 31.5 16C31.5 24.5604 24.5604 31.5 16 31.5C7.43959 31.5 0.5 24.5604 0.5 16C0.5 7.43959 7.43959 0.5 16 0.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("defs", null, /* @__PURE__ */ T.createElement("clipPath", { id: "clip0_1827_3485" }, /* @__PURE__ */ T.createElement("rect", { width: 32, height: 32, fill: "white" })))), pn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ln = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), cn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), dn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), un = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), _n = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ T.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ T.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ T.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ T.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ T.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), xe = (e) => {
|
|
19
19
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
20
20
|
...n.style,
|
|
21
21
|
transform: o ? `rotate(${o}deg)` : ""
|
|
@@ -45,7 +45,7 @@ const Qo = (e) => /* @__PURE__ */ k.createElement("svg", { className: "stpr-icon
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
var pe = /* @__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))(pe || {});
|
|
48
|
-
const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn = "_spAccordion_noPadding_11ek7_60", bn = "_spAccordion_open_11ek7_63", yn = "_spAccordion__header_11ek7_66", wn = "_spAccordion_noOpen_11ek7_74", Cn = "_spAccordion__name_11ek7_96", kn = "_spAccordion__name_hiddenExpand_11ek7_107", Tn = "_spAccordion__icon_11ek7_122", Nn = "_spAccordion__icon_hidden_11ek7_128", En = "_spAccordion__icon_open_11ek7_131", Sn = "_spAccordion__childrenWrapper_11ek7_138", Rn = "_spAccordion__childrenWrapper_open_11ek7_147", Fn = "_spAccordion__content_11ek7_150",
|
|
48
|
+
const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn = "_spAccordion_noPadding_11ek7_60", bn = "_spAccordion_open_11ek7_63", yn = "_spAccordion__header_11ek7_66", wn = "_spAccordion_noOpen_11ek7_74", Cn = "_spAccordion__name_11ek7_96", kn = "_spAccordion__name_hiddenExpand_11ek7_107", Tn = "_spAccordion__icon_11ek7_122", Nn = "_spAccordion__icon_hidden_11ek7_128", En = "_spAccordion__icon_open_11ek7_131", Sn = "_spAccordion__childrenWrapper_11ek7_138", Rn = "_spAccordion__childrenWrapper_open_11ek7_147", Fn = "_spAccordion__content_11ek7_150", In = "_spAccordion__content_open_11ek7_156", de = {
|
|
49
49
|
spAccordion: gn,
|
|
50
50
|
spAccordion_noBorder: xn,
|
|
51
51
|
spAccordion_noPadding: hn,
|
|
@@ -62,8 +62,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
62
62
|
spAccordion__childrenWrapper: Sn,
|
|
63
63
|
spAccordion__childrenWrapper_open: Rn,
|
|
64
64
|
spAccordion__content: Fn,
|
|
65
|
-
spAccordion__content_open:
|
|
66
|
-
},
|
|
65
|
+
spAccordion__content_open: In
|
|
66
|
+
}, xp = (e) => {
|
|
67
67
|
const {
|
|
68
68
|
name: t,
|
|
69
69
|
children: o,
|
|
@@ -72,27 +72,27 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
72
72
|
onOpen: i,
|
|
73
73
|
noBorder: r = !1,
|
|
74
74
|
noPadding: s = !1,
|
|
75
|
-
level:
|
|
76
|
-
classNameRoot:
|
|
75
|
+
level: d = 1,
|
|
76
|
+
classNameRoot: p,
|
|
77
77
|
classNameHeader: _,
|
|
78
78
|
classNameTitle: u,
|
|
79
79
|
classNameIcon: g,
|
|
80
80
|
classNameChildrenWrapper: h
|
|
81
|
-
} = e, [w, C] = te(n),
|
|
81
|
+
} = e, [w, C] = te(n), R = () => {
|
|
82
82
|
a || (C(!w), i == null || i(!w));
|
|
83
|
-
},
|
|
83
|
+
}, W = f({
|
|
84
84
|
[de.spAccordion]: !0,
|
|
85
85
|
[de.spAccordion_open]: w,
|
|
86
86
|
[de.spAccordion_noOpen]: !w,
|
|
87
87
|
[de.spAccordion_noBorder]: r,
|
|
88
88
|
[de.spAccordion_noPadding]: s,
|
|
89
|
-
...
|
|
89
|
+
...p && { [p]: !0 }
|
|
90
90
|
}), q = f({
|
|
91
91
|
[de.spAccordion__header]: !0,
|
|
92
92
|
..._ && { [_]: !0 }
|
|
93
93
|
}), A = f({
|
|
94
94
|
[de.spAccordion__name]: !0,
|
|
95
|
-
[de[`spAccordion__name--level-${
|
|
95
|
+
[de[`spAccordion__name--level-${d}`]]: d,
|
|
96
96
|
[de.spAccordion__name_hiddenExpand]: a,
|
|
97
97
|
...u && { [u]: !0 }
|
|
98
98
|
}), b = f({
|
|
@@ -100,24 +100,24 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
100
100
|
[de.spAccordion__icon_open]: w,
|
|
101
101
|
[de.spAccordion__icon_hidden]: a,
|
|
102
102
|
...g && { [g]: !0 }
|
|
103
|
-
}),
|
|
103
|
+
}), m = f({
|
|
104
104
|
[de.spAccordion__childrenWrapper]: !0,
|
|
105
105
|
[de.spAccordion__childrenWrapper_open]: w,
|
|
106
106
|
...h && { [h]: !0 }
|
|
107
|
-
}),
|
|
107
|
+
}), F = f({
|
|
108
108
|
[de.spAccordion__content]: !0,
|
|
109
109
|
[de.spAccordion__content_open]: w
|
|
110
110
|
});
|
|
111
|
-
return /* @__PURE__ */ U("div", { className:
|
|
111
|
+
return /* @__PURE__ */ U("div", { className: W, children: [
|
|
112
112
|
/* @__PURE__ */ U("div", { className: q, children: [
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ l("div", { className: A, children: /* @__PURE__ */ l("span", { onClick: R, children: t }) }),
|
|
114
|
+
/* @__PURE__ */ l(xe, { onClick: R, className: b, name: pe.ChevronDown })
|
|
115
115
|
] }),
|
|
116
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l("div", { className: F, children: o }) })
|
|
117
117
|
] });
|
|
118
|
-
},
|
|
119
|
-
spinner:
|
|
120
|
-
spinner__inner:
|
|
118
|
+
}, jn = "_spinner_18qva_43", An = "_spinner__inner_18qva_54", ct = {
|
|
119
|
+
spinner: jn,
|
|
120
|
+
spinner__inner: An,
|
|
121
121
|
"spinner-rotate": "_spinner-rotate_18qva_1",
|
|
122
122
|
"spinner--sm": "_spinner--sm_18qva_67",
|
|
123
123
|
"spinner--md": "_spinner--md_18qva_71",
|
|
@@ -125,21 +125,21 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
125
125
|
"spinner--xl": "_spinner--xl_18qva_78"
|
|
126
126
|
}, vo = (e) => {
|
|
127
127
|
const { size: t = "md", color: o = "#036bfd", classNameRoot: n } = e;
|
|
128
|
-
return /* @__PURE__ */
|
|
128
|
+
return /* @__PURE__ */ l(
|
|
129
129
|
"div",
|
|
130
130
|
{
|
|
131
131
|
className: f(ct.spinner, ct[`spinner--${t}`], n),
|
|
132
132
|
"aria-label": "Loading",
|
|
133
133
|
role: "status",
|
|
134
134
|
style: { color: o },
|
|
135
|
-
children: /* @__PURE__ */
|
|
135
|
+
children: /* @__PURE__ */ l("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59",
|
|
138
|
+
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", Pn = "_spButton_onlyIcon_zixup_62", On = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89", Un = "_spButton_white_zixup_99", qn = "_spButton_secondary_zixup_109", $n = "_spButton_fullWidth_zixup_129", Hn = "_spButton_disabled_zixup_132", Vn = "_spButton__spinner_zixup_141", we = {
|
|
139
139
|
spButton: Ln,
|
|
140
140
|
spButton_noPadding: Dn,
|
|
141
|
-
spButton_onlyIcon:
|
|
142
|
-
spButton__iconContainer:
|
|
141
|
+
spButton_onlyIcon: Pn,
|
|
142
|
+
spButton__iconContainer: On,
|
|
143
143
|
spButton_link: Bn,
|
|
144
144
|
spButton__text: Wn,
|
|
145
145
|
spButton_primary: zn,
|
|
@@ -158,27 +158,27 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
158
158
|
iconName: i,
|
|
159
159
|
iconRotate: r = 0,
|
|
160
160
|
disabled: s = !1,
|
|
161
|
-
type:
|
|
162
|
-
form:
|
|
161
|
+
type: d = "button",
|
|
162
|
+
form: p,
|
|
163
163
|
children: _,
|
|
164
164
|
loading: u = !1,
|
|
165
165
|
isFullWidth: g = !1,
|
|
166
166
|
isOnlyIcon: h = !1,
|
|
167
167
|
noPadding: w = !1,
|
|
168
168
|
classNameRoot: C,
|
|
169
|
-
classNameIconContainerRoot:
|
|
170
|
-
} = e,
|
|
169
|
+
classNameIconContainerRoot: R
|
|
170
|
+
} = e, W = (b) => {
|
|
171
171
|
s || a == null || a(b);
|
|
172
172
|
}, q = () => {
|
|
173
173
|
const b = f({
|
|
174
174
|
[we.spButton__text]: !0
|
|
175
|
-
}),
|
|
175
|
+
}), m = f({
|
|
176
176
|
[we.spButton__iconContainer]: !0,
|
|
177
|
-
...
|
|
177
|
+
...R && { [R]: !0 }
|
|
178
178
|
});
|
|
179
179
|
return /* @__PURE__ */ U(uo, { children: [
|
|
180
|
-
(i || u) && /* @__PURE__ */
|
|
181
|
-
!h && _ && /* @__PURE__ */
|
|
180
|
+
(i || u) && /* @__PURE__ */ l("div", { className: m, children: u ? /* @__PURE__ */ l(vo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ l(xe, { name: i, rotate: r }) }),
|
|
181
|
+
!h && _ && /* @__PURE__ */ l("div", { className: b, children: _ })
|
|
182
182
|
] });
|
|
183
183
|
}, A = f({
|
|
184
184
|
[we.spButton]: !0,
|
|
@@ -191,15 +191,15 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
191
191
|
[we.spButton_loading]: u,
|
|
192
192
|
...C && { [C]: !0 }
|
|
193
193
|
});
|
|
194
|
-
return /* @__PURE__ */
|
|
194
|
+
return /* @__PURE__ */ l(
|
|
195
195
|
"button",
|
|
196
196
|
{
|
|
197
197
|
style: n,
|
|
198
198
|
className: A,
|
|
199
|
-
onClick:
|
|
199
|
+
onClick: W,
|
|
200
200
|
disabled: s,
|
|
201
|
-
type:
|
|
202
|
-
form:
|
|
201
|
+
type: d,
|
|
202
|
+
form: p,
|
|
203
203
|
children: q()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
@@ -220,8 +220,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
220
220
|
cancelBtnDisabled: i,
|
|
221
221
|
submitBtnContent: r,
|
|
222
222
|
formId: s,
|
|
223
|
-
disabled:
|
|
224
|
-
onClose:
|
|
223
|
+
disabled: d,
|
|
224
|
+
onClose: p,
|
|
225
225
|
submit: _,
|
|
226
226
|
loading: u
|
|
227
227
|
} = e, g = f({
|
|
@@ -234,7 +234,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
234
234
|
[We.spApplyButtons__cancel]: !0
|
|
235
235
|
});
|
|
236
236
|
return /* @__PURE__ */ U("div", { className: g, children: [
|
|
237
|
-
n &&
|
|
237
|
+
n && p && /* @__PURE__ */ l(
|
|
238
238
|
kt,
|
|
239
239
|
{
|
|
240
240
|
type: "button",
|
|
@@ -242,18 +242,18 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
242
242
|
iconName: a,
|
|
243
243
|
classNameRoot: w,
|
|
244
244
|
disabled: i,
|
|
245
|
-
onClick:
|
|
245
|
+
onClick: p,
|
|
246
246
|
children: n
|
|
247
247
|
}
|
|
248
248
|
),
|
|
249
|
-
r && /* @__PURE__ */
|
|
249
|
+
r && /* @__PURE__ */ l(
|
|
250
250
|
kt,
|
|
251
251
|
{
|
|
252
252
|
type: "submit",
|
|
253
253
|
variant: "primary",
|
|
254
254
|
classNameRoot: h,
|
|
255
255
|
form: s || void 0,
|
|
256
|
-
disabled:
|
|
256
|
+
disabled: d,
|
|
257
257
|
onClick: _,
|
|
258
258
|
loading: u,
|
|
259
259
|
children: r
|
|
@@ -275,11 +275,11 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
275
275
|
[dt.spBaseTooltip]: !0,
|
|
276
276
|
[dt.spBaseTooltip_noPadding]: n,
|
|
277
277
|
...i && { [i]: !0 }
|
|
278
|
-
}),
|
|
278
|
+
}), d = f({
|
|
279
279
|
[dt.spBaseTooltip__content]: !0,
|
|
280
280
|
...r && { [r]: !0 }
|
|
281
281
|
});
|
|
282
|
-
return /* @__PURE__ */
|
|
282
|
+
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className: d, children: o }) });
|
|
283
283
|
});
|
|
284
284
|
go.displayName = "BaseTooltip";
|
|
285
285
|
function xo(e, t, o = !0) {
|
|
@@ -305,7 +305,7 @@ const ho = ({ children: e, node: t, classNameRoot: o }) => {
|
|
|
305
305
|
t || document.body.removeChild(i);
|
|
306
306
|
};
|
|
307
307
|
}, [t, o]), n ? Zo.createPortal(e, n) : null;
|
|
308
|
-
}, ea = "_spTooltip_9ogwj_43", ta = "_spTooltip__trigger_9ogwj_46",
|
|
308
|
+
}, ea = "_spTooltip_9ogwj_43", ta = "_spTooltip__trigger_9ogwj_46", Ot = {
|
|
309
309
|
spTooltip: ea,
|
|
310
310
|
spTooltip__trigger: ta
|
|
311
311
|
};
|
|
@@ -319,125 +319,125 @@ const et = (e) => {
|
|
|
319
319
|
trigger: i,
|
|
320
320
|
triggerAction: r,
|
|
321
321
|
actionOnClose: s,
|
|
322
|
-
classNameTriggerTooltip:
|
|
323
|
-
position:
|
|
322
|
+
classNameTriggerTooltip: d,
|
|
323
|
+
position: p = le.BottomLeft,
|
|
324
324
|
text: _,
|
|
325
325
|
noPadding: u,
|
|
326
326
|
classNameTooltip: g,
|
|
327
327
|
classNameBaseTooltipRoot: h,
|
|
328
328
|
classNameBaseTooltipContentRoot: w,
|
|
329
329
|
styleTooltip: C
|
|
330
|
-
} = e, [
|
|
330
|
+
} = e, [R, W] = te(!1), q = me(null), A = me(null), [b, m] = te(!1);
|
|
331
331
|
xo(
|
|
332
332
|
[q, A],
|
|
333
333
|
() => {
|
|
334
|
-
s && s(),
|
|
334
|
+
s && s(), W(!1);
|
|
335
335
|
},
|
|
336
|
-
|
|
336
|
+
R
|
|
337
337
|
);
|
|
338
|
-
const
|
|
339
|
-
n &&
|
|
340
|
-
}, [
|
|
338
|
+
const F = (k) => {
|
|
339
|
+
n && k.stopPropagation(), !t && (R ? s && s() : r && r(), W(($) => o ? !$ : !0));
|
|
340
|
+
}, [P, O] = te({
|
|
341
341
|
visibility: "hidden",
|
|
342
342
|
opacity: 0,
|
|
343
343
|
left: "-9999px"
|
|
344
|
-
}), [
|
|
344
|
+
}), [Z, ie] = te(!1), re = ge(() => {
|
|
345
345
|
if (!q.current || !A.current) return;
|
|
346
|
-
const
|
|
347
|
-
let z = 0,
|
|
348
|
-
switch (
|
|
346
|
+
const k = q.current.getBoundingClientRect(), $ = A.current.getBoundingClientRect();
|
|
347
|
+
let z = 0, c = 0;
|
|
348
|
+
switch (p) {
|
|
349
349
|
case le.Right:
|
|
350
|
-
z =
|
|
350
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.right + window.scrollX;
|
|
351
351
|
break;
|
|
352
352
|
case le.RightTop:
|
|
353
|
-
z =
|
|
353
|
+
z = k.top + window.scrollY, c = k.right + window.scrollX;
|
|
354
354
|
break;
|
|
355
355
|
case le.RightBottom:
|
|
356
|
-
z =
|
|
356
|
+
z = k.bottom + window.scrollY - $.height, c = k.right + window.scrollX;
|
|
357
357
|
break;
|
|
358
358
|
case le.Left:
|
|
359
|
-
z =
|
|
359
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.left + window.scrollX - $.width;
|
|
360
360
|
break;
|
|
361
361
|
case le.LeftTop:
|
|
362
|
-
z =
|
|
362
|
+
z = k.top + window.scrollY, c = k.left + window.scrollX - $.width;
|
|
363
363
|
break;
|
|
364
364
|
case le.LeftBottom:
|
|
365
|
-
z =
|
|
365
|
+
z = k.bottom + window.scrollY - $.height, c = k.left + window.scrollX - $.width;
|
|
366
366
|
break;
|
|
367
367
|
case le.Bottom:
|
|
368
|
-
z =
|
|
368
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
369
369
|
break;
|
|
370
370
|
case le.BottomLeft:
|
|
371
|
-
z =
|
|
371
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
372
372
|
break;
|
|
373
373
|
case le.BottomRight:
|
|
374
|
-
z =
|
|
374
|
+
z = k.bottom + window.scrollY, c = k.right + window.scrollX - $.width;
|
|
375
375
|
break;
|
|
376
376
|
case le.Top:
|
|
377
|
-
z =
|
|
377
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
378
378
|
break;
|
|
379
379
|
case le.TopLeft:
|
|
380
|
-
z =
|
|
380
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX;
|
|
381
381
|
break;
|
|
382
382
|
case le.TopRight:
|
|
383
|
-
z =
|
|
383
|
+
z = k.top + window.scrollY - $.height, c = k.right + window.scrollX - $.width;
|
|
384
384
|
break;
|
|
385
385
|
default:
|
|
386
|
-
z =
|
|
386
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
387
387
|
}
|
|
388
|
-
z +
|
|
388
|
+
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z = k.top + window.scrollY - $.height : z < window.scrollY && p.includes("top") && (z = k.bottom + window.scrollY), c + $.width > window.innerWidth + window.scrollX && p.includes("left") ? c = k.left + window.scrollX - $.width + k.width : c < window.scrollX && p.includes("right") && (c = k.right + window.scrollX - k.width), O((v) => ({
|
|
389
389
|
...v,
|
|
390
390
|
top: `${z}px`,
|
|
391
|
-
left: `${
|
|
392
|
-
visibility:
|
|
393
|
-
opacity:
|
|
391
|
+
left: `${c}px`,
|
|
392
|
+
visibility: R || Z ? "visible" : "hidden",
|
|
393
|
+
opacity: R || Z ? 1 : 0
|
|
394
394
|
}));
|
|
395
|
-
}, [
|
|
396
|
-
ne(() => (
|
|
395
|
+
}, [p, R, Z]);
|
|
396
|
+
ne(() => (m(!0), () => m(!1)), []), ne(() => {
|
|
397
397
|
b && re();
|
|
398
398
|
}, [b, re]), ne(() => {
|
|
399
399
|
if (!b) return;
|
|
400
|
-
const
|
|
401
|
-
return window.addEventListener("resize",
|
|
402
|
-
window.removeEventListener("resize",
|
|
400
|
+
const k = () => re();
|
|
401
|
+
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
402
|
+
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
403
403
|
};
|
|
404
404
|
}, [b, re]);
|
|
405
405
|
const ue = f({
|
|
406
|
-
[
|
|
406
|
+
[Ot.spTooltip]: !0,
|
|
407
407
|
...g && { [g]: !0 }
|
|
408
408
|
}), ce = f({
|
|
409
409
|
...h && { [h]: !0 }
|
|
410
|
-
}),
|
|
410
|
+
}), G = f({
|
|
411
411
|
...w && { [w]: !0 }
|
|
412
|
-
}),
|
|
413
|
-
[
|
|
414
|
-
...
|
|
415
|
-
}),
|
|
412
|
+
}), J = f({
|
|
413
|
+
[Ot.spTooltip__trigger]: !0,
|
|
414
|
+
...d && { [d]: !0 }
|
|
415
|
+
}), Q = document.body;
|
|
416
416
|
return /* @__PURE__ */ U(
|
|
417
417
|
"div",
|
|
418
418
|
{
|
|
419
419
|
className: ue,
|
|
420
|
-
onClick:
|
|
420
|
+
onClick: F,
|
|
421
421
|
onMouseEnter: () => t && ie(!0),
|
|
422
422
|
onMouseLeave: () => t && ie(!1),
|
|
423
423
|
style: C,
|
|
424
424
|
children: [
|
|
425
|
-
/* @__PURE__ */
|
|
426
|
-
a && /* @__PURE__ */
|
|
425
|
+
/* @__PURE__ */ l("div", { ref: q, className: J, children: i }),
|
|
426
|
+
a && /* @__PURE__ */ l(ho, { node: Q, children: /* @__PURE__ */ l(
|
|
427
427
|
go,
|
|
428
428
|
{
|
|
429
|
-
style:
|
|
429
|
+
style: P,
|
|
430
430
|
ref: A,
|
|
431
431
|
noPadding: u,
|
|
432
432
|
text: _,
|
|
433
433
|
classNameRoot: ce,
|
|
434
|
-
classNameContentRoot:
|
|
434
|
+
classNameContentRoot: G
|
|
435
435
|
}
|
|
436
436
|
) })
|
|
437
437
|
]
|
|
438
438
|
}
|
|
439
439
|
);
|
|
440
|
-
}, tt = (e) => /* @__PURE__ */
|
|
440
|
+
}, tt = (e) => /* @__PURE__ */ l(et, { ...e, hover: !0, trigger: /* @__PURE__ */ l(xe, { name: pe.Info }) }), oa = "_spCheckbox_uc4g8_43", na = "_spCheckbox__control_uc4g8_49", aa = "_spCheckbox__label_uc4g8_52", ia = "_spCheckbox__box_uc4g8_63", ra = "_spCheckbox__box_checked_uc4g8_90", sa = "_spCheckbox__box_disabled_uc4g8_100", pa = "_spCheckbox__box_error_uc4g8_111", la = "_spCheckbox__tooltip_uc4g8_114", ca = "_spCheckbox__required_uc4g8_119", da = "_spCheckbox__error_uc4g8_125", Ce = {
|
|
441
441
|
spCheckbox: oa,
|
|
442
442
|
spCheckbox__control: na,
|
|
443
443
|
spCheckbox__label: aa,
|
|
@@ -450,7 +450,7 @@ const et = (e) => {
|
|
|
450
450
|
spCheckbox__tooltip: la,
|
|
451
451
|
spCheckbox__required: ca,
|
|
452
452
|
spCheckbox__error: da
|
|
453
|
-
},
|
|
453
|
+
}, hp = (e) => {
|
|
454
454
|
const {
|
|
455
455
|
size: t = "lg",
|
|
456
456
|
checked: o,
|
|
@@ -459,8 +459,8 @@ const et = (e) => {
|
|
|
459
459
|
name: i,
|
|
460
460
|
label: r,
|
|
461
461
|
error: s,
|
|
462
|
-
value:
|
|
463
|
-
required:
|
|
462
|
+
value: d,
|
|
463
|
+
required: p,
|
|
464
464
|
tooltipPosition: _,
|
|
465
465
|
infoTooltipText: u,
|
|
466
466
|
onMouseEnter: g,
|
|
@@ -469,13 +469,13 @@ const et = (e) => {
|
|
|
469
469
|
} = e, C = f({
|
|
470
470
|
[Ce.spCheckbox]: !0,
|
|
471
471
|
...h && { [h]: !0 }
|
|
472
|
-
}),
|
|
472
|
+
}), R = f({
|
|
473
473
|
[Ce.spCheckbox__box]: !0,
|
|
474
474
|
[Ce.spCheckbox__box_checked]: o,
|
|
475
475
|
[Ce.spCheckbox__box_disabled]: n,
|
|
476
476
|
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
477
477
|
[Ce.spCheckbox__box_error]: s
|
|
478
|
-
}),
|
|
478
|
+
}), W = f({
|
|
479
479
|
[Ce.spCheckbox__control]: !0
|
|
480
480
|
}), q = f({
|
|
481
481
|
[Ce.spCheckbox__label]: !0
|
|
@@ -484,29 +484,29 @@ const et = (e) => {
|
|
|
484
484
|
}), b = f({
|
|
485
485
|
[Ce.spCheckbox__error]: !0,
|
|
486
486
|
...w && { [w]: !0 }
|
|
487
|
-
}),
|
|
487
|
+
}), m = f({
|
|
488
488
|
[Ce.spCheckbox__tooltip]: !0
|
|
489
489
|
});
|
|
490
490
|
return /* @__PURE__ */ U("div", { className: C, onMouseEnter: g, children: [
|
|
491
|
-
/* @__PURE__ */ U("label", { className:
|
|
492
|
-
/* @__PURE__ */
|
|
491
|
+
/* @__PURE__ */ U("label", { className: R, children: [
|
|
492
|
+
/* @__PURE__ */ l(
|
|
493
493
|
"input",
|
|
494
494
|
{
|
|
495
495
|
type: "checkbox",
|
|
496
|
-
className:
|
|
496
|
+
className: W,
|
|
497
497
|
checked: o,
|
|
498
|
-
onChange: (
|
|
499
|
-
!n && a && a(
|
|
498
|
+
onChange: (P) => {
|
|
499
|
+
!n && a && a(P, { name: i, checked: !o, value: d });
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
|
-
r && /* @__PURE__ */
|
|
504
|
-
|
|
505
|
-
u && /* @__PURE__ */
|
|
503
|
+
r && /* @__PURE__ */ l("span", { className: q, children: r }),
|
|
504
|
+
p && /* @__PURE__ */ l("div", { className: A, children: "*" }),
|
|
505
|
+
u && /* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(tt, { position: _, text: u }) })
|
|
506
506
|
] }),
|
|
507
|
-
s && /* @__PURE__ */
|
|
507
|
+
s && /* @__PURE__ */ l("div", { className: b, children: s })
|
|
508
508
|
] });
|
|
509
|
-
},
|
|
509
|
+
}, bp = (e = {}) => {
|
|
510
510
|
const { initialValue: t = null } = e, [o, n] = te(t);
|
|
511
511
|
return {
|
|
512
512
|
isOpen: !!o,
|
|
@@ -532,7 +532,7 @@ const et = (e) => {
|
|
|
532
532
|
[Bt.layer_hidden]: n,
|
|
533
533
|
...a && { [a]: !0 }
|
|
534
534
|
});
|
|
535
|
-
return /* @__PURE__ */
|
|
535
|
+
return /* @__PURE__ */ l(ho, { node: i, children: /* @__PURE__ */ l("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
536
536
|
}, fa = "_spText_1gech_43", va = "_spText_ellipsis_1gech_56", ga = "_spText_cursorPointer_1gech_113", Ve = {
|
|
537
537
|
spText: fa,
|
|
538
538
|
spText_ellipsis: va,
|
|
@@ -543,7 +543,7 @@ const et = (e) => {
|
|
|
543
543
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
544
544
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
545
545
|
spText_cursorPointer: ga
|
|
546
|
-
},
|
|
546
|
+
}, Ne = Ue.forwardRef((e, t) => {
|
|
547
547
|
const {
|
|
548
548
|
type: o,
|
|
549
549
|
children: n,
|
|
@@ -551,18 +551,18 @@ const et = (e) => {
|
|
|
551
551
|
title: i,
|
|
552
552
|
style: r,
|
|
553
553
|
onClick: s,
|
|
554
|
-
isEllipsis:
|
|
555
|
-
isCursorPointer:
|
|
554
|
+
isEllipsis: d = !1,
|
|
555
|
+
isCursorPointer: p = !1,
|
|
556
556
|
isCursorPointerByOnClick: _ = !0,
|
|
557
557
|
classNameRoot: u
|
|
558
|
-
} = e, g = () => s && _ ? !0 :
|
|
558
|
+
} = e, g = () => s && _ ? !0 : p, h = f({
|
|
559
559
|
[Ve.spText]: !0,
|
|
560
|
-
[Ve.spText_ellipsis]:
|
|
560
|
+
[Ve.spText_ellipsis]: d,
|
|
561
561
|
[Ve.spText_cursorPointer]: g(),
|
|
562
562
|
[Ve[`spText_type-${o}`]]: o,
|
|
563
563
|
...u && { [u]: !0 }
|
|
564
564
|
});
|
|
565
|
-
return /* @__PURE__ */
|
|
565
|
+
return /* @__PURE__ */ l(
|
|
566
566
|
"span",
|
|
567
567
|
{
|
|
568
568
|
style: { ...r, color: a },
|
|
@@ -574,8 +574,8 @@ const et = (e) => {
|
|
|
574
574
|
}
|
|
575
575
|
);
|
|
576
576
|
});
|
|
577
|
-
|
|
578
|
-
const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba = "_modalWrapper__content_1qgyc_92", ya = "_modalWrapper__header_1qgyc_95", wa = "_modalWrapper__subHeader_1qgyc_103", Ca = "_modalWrapper__subHeader_onlySubHeader_1qgyc_111", ka = "_modalWrapper__footer_1qgyc_114", Ta = "_modalWrapper__closeButton_1qgyc_117",
|
|
577
|
+
Ne.displayName = "Text";
|
|
578
|
+
const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba = "_modalWrapper__content_1qgyc_92", ya = "_modalWrapper__header_1qgyc_95", wa = "_modalWrapper__subHeader_1qgyc_103", Ca = "_modalWrapper__subHeader_onlySubHeader_1qgyc_111", ka = "_modalWrapper__footer_1qgyc_114", Ta = "_modalWrapper__closeButton_1qgyc_117", ve = {
|
|
579
579
|
modalWrapper: xa,
|
|
580
580
|
"modalWrapper--modalAlign-top": "_modalWrapper--modalAlign-top_1qgyc_48",
|
|
581
581
|
"modalWrapper--modalAlign-center": "_modalWrapper--modalAlign-center_1qgyc_51",
|
|
@@ -604,53 +604,53 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
604
604
|
classNameLayerRoot: i,
|
|
605
605
|
classNameRoot: r,
|
|
606
606
|
style: s,
|
|
607
|
-
modalAlign:
|
|
608
|
-
textAlign:
|
|
607
|
+
modalAlign: d = "top",
|
|
608
|
+
textAlign: p = "left",
|
|
609
609
|
onClose: _,
|
|
610
610
|
header: u,
|
|
611
611
|
subHeader: g,
|
|
612
612
|
footer: h,
|
|
613
613
|
size: w = "lg"
|
|
614
614
|
} = e, C = f({
|
|
615
|
-
[
|
|
616
|
-
[
|
|
617
|
-
[
|
|
618
|
-
}),
|
|
619
|
-
[
|
|
620
|
-
[
|
|
615
|
+
[ve.modalWrapper]: !0,
|
|
616
|
+
[ve[`modalWrapper--modalAlign-${d}`]]: d,
|
|
617
|
+
[ve[`modalWrapper--textAlign-${p}`]]: p
|
|
618
|
+
}), R = f({
|
|
619
|
+
[ve.modalWrapper__modal]: !0,
|
|
620
|
+
[ve[`modalWrapper__modal--size-${w}`]]: w,
|
|
621
621
|
...r && { [r]: !0 }
|
|
622
|
-
}),
|
|
623
|
-
[
|
|
624
|
-
[
|
|
622
|
+
}), W = f({
|
|
623
|
+
[ve.modalWrapper__closeButton]: !0,
|
|
624
|
+
[ve[`modalWrapper__closeButton--size-${w}`]]: w
|
|
625
625
|
}), q = f({
|
|
626
|
-
[
|
|
627
|
-
[
|
|
626
|
+
[ve.modalWrapper__closeButtonIconContainer]: !0,
|
|
627
|
+
[ve[`modalWrapper__closeButtonIconContainer--size-${w}`]]: w
|
|
628
628
|
}), A = f({
|
|
629
|
-
[
|
|
629
|
+
[ve.modalWrapper__content]: !0
|
|
630
630
|
}), b = f({
|
|
631
|
-
[
|
|
632
|
-
}),
|
|
633
|
-
[
|
|
634
|
-
[
|
|
635
|
-
}),
|
|
636
|
-
[
|
|
631
|
+
[ve.modalWrapper__header]: !0
|
|
632
|
+
}), m = f({
|
|
633
|
+
[ve.modalWrapper__subHeader]: !0,
|
|
634
|
+
[ve.modalWrapper__subHeader_onlySubHeader]: !u
|
|
635
|
+
}), F = f({
|
|
636
|
+
[ve.modalWrapper__footer]: !0
|
|
637
637
|
});
|
|
638
638
|
return ne(() => {
|
|
639
|
-
const
|
|
640
|
-
return O.style.position = "fixed", O.style.top = `-${
|
|
641
|
-
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0,
|
|
639
|
+
const P = window.scrollY, O = document.body;
|
|
640
|
+
return O.style.position = "fixed", O.style.top = `-${P}px`, O.style.left = "0", O.style.right = "0", O.style.overflow = "hidden", () => {
|
|
641
|
+
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, P);
|
|
642
642
|
};
|
|
643
|
-
}, []), /* @__PURE__ */
|
|
643
|
+
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: C, children: /* @__PURE__ */ U("div", { className: R, style: s, children: [
|
|
644
644
|
(u || g) && /* @__PURE__ */ U("div", { className: b, children: [
|
|
645
|
-
typeof u == "string" ? /* @__PURE__ */
|
|
646
|
-
g && /* @__PURE__ */
|
|
645
|
+
typeof u == "string" ? /* @__PURE__ */ l(Ne, { type: "h3", children: u }) : u,
|
|
646
|
+
g && /* @__PURE__ */ l("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ l(Ne, { children: g }) : g })
|
|
647
647
|
] }),
|
|
648
|
-
a && /* @__PURE__ */
|
|
649
|
-
h && /* @__PURE__ */
|
|
650
|
-
n && _ && /* @__PURE__ */
|
|
648
|
+
a && /* @__PURE__ */ l("div", { className: A, children: a }),
|
|
649
|
+
h && /* @__PURE__ */ l("div", { className: F, children: h }),
|
|
650
|
+
n && _ && /* @__PURE__ */ l(
|
|
651
651
|
kt,
|
|
652
652
|
{
|
|
653
|
-
classNameRoot:
|
|
653
|
+
classNameRoot: W,
|
|
654
654
|
classNameIconContainerRoot: q,
|
|
655
655
|
onClick: _,
|
|
656
656
|
iconName: pe.Close,
|
|
@@ -660,7 +660,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
660
660
|
}
|
|
661
661
|
)
|
|
662
662
|
] }) }) });
|
|
663
|
-
},
|
|
663
|
+
}, yp = (e) => {
|
|
664
664
|
const {
|
|
665
665
|
zIndex: t,
|
|
666
666
|
title: o,
|
|
@@ -669,20 +669,20 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
669
669
|
cancelBtnDisabled: i,
|
|
670
670
|
cancelBtnIconName: r,
|
|
671
671
|
submitBtnContent: s,
|
|
672
|
-
submit:
|
|
673
|
-
disabled:
|
|
672
|
+
submit: d,
|
|
673
|
+
disabled: p,
|
|
674
674
|
formId: _,
|
|
675
675
|
onClose: u,
|
|
676
676
|
mobile: g = "column",
|
|
677
677
|
align: h = "right",
|
|
678
678
|
modalAlign: w = "top",
|
|
679
679
|
textAlign: C = "left",
|
|
680
|
-
loading:
|
|
681
|
-
isVisibleCloseButton:
|
|
680
|
+
loading: R,
|
|
681
|
+
isVisibleCloseButton: W,
|
|
682
682
|
isHiddenModal: q,
|
|
683
683
|
size: A
|
|
684
684
|
} = e;
|
|
685
|
-
return /* @__PURE__ */
|
|
685
|
+
return /* @__PURE__ */ l(
|
|
686
686
|
Na,
|
|
687
687
|
{
|
|
688
688
|
zIndex: t,
|
|
@@ -691,10 +691,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
691
691
|
modalAlign: w,
|
|
692
692
|
textAlign: C,
|
|
693
693
|
subHeader: n,
|
|
694
|
-
isVisibleCloseButton:
|
|
694
|
+
isVisibleCloseButton: W,
|
|
695
695
|
isHiddenModal: q,
|
|
696
696
|
size: A,
|
|
697
|
-
footer: a || s ? /* @__PURE__ */
|
|
697
|
+
footer: a || s ? /* @__PURE__ */ l(
|
|
698
698
|
Xn,
|
|
699
699
|
{
|
|
700
700
|
mobile: g,
|
|
@@ -704,10 +704,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
704
704
|
cancelBtnDisabled: i,
|
|
705
705
|
submitBtnContent: s,
|
|
706
706
|
formId: _,
|
|
707
|
-
disabled:
|
|
707
|
+
disabled: p,
|
|
708
708
|
onClose: u,
|
|
709
|
-
submit:
|
|
710
|
-
loading:
|
|
709
|
+
submit: d,
|
|
710
|
+
loading: R
|
|
711
711
|
}
|
|
712
712
|
) : null
|
|
713
713
|
}
|
|
@@ -716,12 +716,12 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
716
716
|
spContextMenu: Ea,
|
|
717
717
|
spContextMenu__item: Sa,
|
|
718
718
|
spContextMenu__item_deleteItem: Ra
|
|
719
|
-
},
|
|
719
|
+
}, wp = (e) => {
|
|
720
720
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
721
721
|
[mt.spContextMenu]: !0,
|
|
722
722
|
...n && { [n]: !0 }
|
|
723
723
|
});
|
|
724
|
-
return /* @__PURE__ */
|
|
724
|
+
return /* @__PURE__ */ l("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
725
725
|
const r = i.key === "delete";
|
|
726
726
|
return /* @__PURE__ */ U(
|
|
727
727
|
"li",
|
|
@@ -734,7 +734,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
734
734
|
t && t(i);
|
|
735
735
|
},
|
|
736
736
|
children: [
|
|
737
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */
|
|
737
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(xe, { name: i.iconName }),
|
|
738
738
|
i.label
|
|
739
739
|
]
|
|
740
740
|
},
|
|
@@ -744,19 +744,19 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
744
744
|
}, Fa = (e) => {
|
|
745
745
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
746
746
|
return /* @__PURE__ */ U("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
747
|
-
/* @__PURE__ */
|
|
747
|
+
/* @__PURE__ */ l("input", { ...i({}), disabled: n, name: a }),
|
|
748
748
|
o
|
|
749
749
|
] });
|
|
750
|
-
},
|
|
751
|
-
spDropdown:
|
|
752
|
-
spDropdown__labelText:
|
|
753
|
-
spDropdown__tooltipContainer:
|
|
750
|
+
}, Ia = "_spDropdown_1f4lf_43", ja = "_spDropdown__labelText_1f4lf_54", Aa = "_spDropdown__tooltipContainer_1f4lf_62", La = "_spDropdown__dropdownList_1f4lf_67", Da = "_spDropdown__dropdownListHeader_1f4lf_73", Pa = "_spDropdown__dopdownListItem_1f4lf_80", Oa = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Ba = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
751
|
+
spDropdown: Ia,
|
|
752
|
+
spDropdown__labelText: ja,
|
|
753
|
+
spDropdown__tooltipContainer: Aa,
|
|
754
754
|
spDropdown__dropdownList: La,
|
|
755
755
|
spDropdown__dropdownListHeader: Da,
|
|
756
|
-
spDropdown__dopdownListItem:
|
|
757
|
-
spDropdown__dopdownListItem_textCenter:
|
|
756
|
+
spDropdown__dopdownListItem: Pa,
|
|
757
|
+
spDropdown__dopdownListItem_textCenter: Oa,
|
|
758
758
|
spDropdown__downloadListItemDescription: Ba
|
|
759
|
-
},
|
|
759
|
+
}, Cp = (e) => {
|
|
760
760
|
const {
|
|
761
761
|
labelText: t = "Выпадающий список",
|
|
762
762
|
listName: o,
|
|
@@ -768,24 +768,24 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
768
768
|
...i && { [i]: !0 }
|
|
769
769
|
}), s = f({
|
|
770
770
|
[Ee.spDropdown__labelText]: !0
|
|
771
|
-
}),
|
|
771
|
+
}), d = f({
|
|
772
772
|
[Ee.spDropdown__tooltipContainer]: !0
|
|
773
|
-
}),
|
|
773
|
+
}), p = f({
|
|
774
774
|
[Ee.spDropdown__dropdownList]: !0
|
|
775
775
|
}), _ = f({
|
|
776
776
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
777
777
|
}), u = f({
|
|
778
778
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
779
779
|
}), [g, h] = te(!1);
|
|
780
|
-
return /* @__PURE__ */
|
|
780
|
+
return /* @__PURE__ */ l(
|
|
781
781
|
et,
|
|
782
782
|
{
|
|
783
783
|
hover: !1,
|
|
784
784
|
triggerAction: () => h(!0),
|
|
785
785
|
actionOnClose: () => h(!1),
|
|
786
|
-
text: /* @__PURE__ */ U("div", { className:
|
|
787
|
-
o && /* @__PURE__ */
|
|
788
|
-
n.map((C,
|
|
786
|
+
text: /* @__PURE__ */ U("div", { className: p, children: [
|
|
787
|
+
o && /* @__PURE__ */ l("div", { className: _, children: o }),
|
|
788
|
+
n.map((C, R) => /* @__PURE__ */ U(
|
|
789
789
|
"div",
|
|
790
790
|
{
|
|
791
791
|
className: f({
|
|
@@ -795,10 +795,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
795
795
|
onClick: C.onClick,
|
|
796
796
|
children: [
|
|
797
797
|
C.name,
|
|
798
|
-
C.description && /* @__PURE__ */
|
|
798
|
+
C.description && /* @__PURE__ */ l("span", { className: u, children: C.description })
|
|
799
799
|
]
|
|
800
800
|
},
|
|
801
|
-
|
|
801
|
+
R
|
|
802
802
|
))
|
|
803
803
|
] }),
|
|
804
804
|
position: a,
|
|
@@ -806,8 +806,8 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
806
806
|
isToggleClick: !0,
|
|
807
807
|
isStopPropagationClickOnTrigger: !0,
|
|
808
808
|
trigger: /* @__PURE__ */ U("div", { className: r, children: [
|
|
809
|
-
/* @__PURE__ */
|
|
810
|
-
/* @__PURE__ */
|
|
809
|
+
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
810
|
+
/* @__PURE__ */ l("div", { className: d, children: /* @__PURE__ */ l(xe, { name: pe.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
811
811
|
] })
|
|
812
812
|
}
|
|
813
813
|
);
|
|
@@ -823,9 +823,9 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
823
823
|
classNameBaseTooltipContentRoot: i,
|
|
824
824
|
classNameBaseTooltipRoot: r,
|
|
825
825
|
...s
|
|
826
|
-
} = e,
|
|
826
|
+
} = e, d = me(null), [p, _] = te(!1);
|
|
827
827
|
ne(() => {
|
|
828
|
-
|
|
828
|
+
d.current && _(d.current.scrollWidth > d.current.clientWidth);
|
|
829
829
|
}, [t]);
|
|
830
830
|
const u = f({
|
|
831
831
|
[Wt.ellipsisTextWithTooltip]: !0,
|
|
@@ -836,16 +836,16 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
836
836
|
}), h = f({
|
|
837
837
|
...a && { [a]: !0 }
|
|
838
838
|
});
|
|
839
|
-
return /* @__PURE__ */
|
|
839
|
+
return /* @__PURE__ */ l(
|
|
840
840
|
et,
|
|
841
841
|
{
|
|
842
842
|
classNameTooltip: g,
|
|
843
843
|
classNameTriggerTooltip: h,
|
|
844
844
|
classNameBaseTooltipContentRoot: i,
|
|
845
845
|
classNameBaseTooltipRoot: r,
|
|
846
|
-
isVisibleTooltip:
|
|
846
|
+
isVisibleTooltip: p,
|
|
847
847
|
text: t,
|
|
848
|
-
trigger: /* @__PURE__ */
|
|
848
|
+
trigger: /* @__PURE__ */ l(Ne, { ...s, classNameRoot: u, isEllipsis: !0, ref: d, children: t })
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
851
|
}, Ma = "_spForm_zefbj_43", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49", ze = {
|
|
@@ -854,7 +854,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
854
854
|
spForm_withSeparator: qa,
|
|
855
855
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
856
856
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
857
|
-
},
|
|
857
|
+
}, kp = (e) => {
|
|
858
858
|
const {
|
|
859
859
|
size: t = "lg",
|
|
860
860
|
children: o,
|
|
@@ -863,8 +863,8 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
863
863
|
withSeparator: i = !1,
|
|
864
864
|
fullWidth: r = !0,
|
|
865
865
|
classNameRoot: s,
|
|
866
|
-
...
|
|
867
|
-
} = e,
|
|
866
|
+
...d
|
|
867
|
+
} = e, p = f({
|
|
868
868
|
[ze.spForm]: !0,
|
|
869
869
|
[ze.spForm_fullWidth]: r,
|
|
870
870
|
[ze.spForm_addMargin]: a,
|
|
@@ -872,15 +872,15 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
872
872
|
[ze.spForm_withSeparator]: i,
|
|
873
873
|
...s && { [s]: !0 }
|
|
874
874
|
});
|
|
875
|
-
return /* @__PURE__ */
|
|
875
|
+
return /* @__PURE__ */ l("form", { ...d, onSubmit: (u) => {
|
|
876
876
|
u.preventDefault(), n && n();
|
|
877
|
-
}, className:
|
|
877
|
+
}, className: p, children: o });
|
|
878
878
|
}, $a = "_spLabel_g0hfy_43", Ha = "_spLabel__text_g0hfy_52", Va = "_spLabel__tooltip_g0hfy_62", Ya = "_spLabel__required_g0hfy_67", Ge = {
|
|
879
879
|
spLabel: $a,
|
|
880
880
|
spLabel__text: Ha,
|
|
881
881
|
spLabel__tooltip: Va,
|
|
882
882
|
spLabel__required: Ya
|
|
883
|
-
},
|
|
883
|
+
}, jt = (e) => {
|
|
884
884
|
const {
|
|
885
885
|
required: t,
|
|
886
886
|
label: o,
|
|
@@ -891,17 +891,17 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
891
891
|
} = e, s = f({
|
|
892
892
|
[Ge.spLabel]: !0,
|
|
893
893
|
...i && { [i]: !0 }
|
|
894
|
-
}),
|
|
894
|
+
}), d = f({
|
|
895
895
|
[Ge.spLabel__text]: !0
|
|
896
|
-
}),
|
|
896
|
+
}), p = f({
|
|
897
897
|
[Ge.spLabel__required]: t
|
|
898
898
|
}), _ = f({
|
|
899
899
|
[Ge.spLabel__tooltip]: !0
|
|
900
900
|
});
|
|
901
901
|
return /* @__PURE__ */ U("div", { className: s, children: [
|
|
902
|
-
/* @__PURE__ */
|
|
903
|
-
t && /* @__PURE__ */
|
|
904
|
-
n && /* @__PURE__ */
|
|
902
|
+
/* @__PURE__ */ l("label", { className: d, children: o }),
|
|
903
|
+
t && /* @__PURE__ */ l("div", { className: p, children: "*" }),
|
|
904
|
+
n && /* @__PURE__ */ l("div", { className: _, children: /* @__PURE__ */ l(
|
|
905
905
|
tt,
|
|
906
906
|
{
|
|
907
907
|
position: a,
|
|
@@ -910,97 +910,102 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
910
910
|
}
|
|
911
911
|
) })
|
|
912
912
|
] });
|
|
913
|
-
}, Ga = "
|
|
913
|
+
}, Ga = "_spInput_l89ke_43", Ka = "_spInput_error_l89ke_48", Xa = "_spInput__control_l89ke_48", Za = "_spInput_absolutePositionError_l89ke_55", Qa = "_spInput__container_l89ke_58", Ja = "_spInput__control_filled_l89ke_77", ei = "_spInput__control_outlined_l89ke_81", ti = "_spInput__control_disabled_l89ke_85", oi = "_spInput__control_clearable_l89ke_89", ni = "_spInput__clear_l89ke_116", ai = "_spInput__error_l89ke_125", ii = "_spInput__error_absolutePosition_l89ke_132", ke = {
|
|
914
914
|
spInput: Ga,
|
|
915
915
|
spInput_error: Ka,
|
|
916
916
|
spInput__control: Xa,
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
917
|
+
spInput_absolutePositionError: Za,
|
|
918
|
+
spInput__container: Qa,
|
|
919
|
+
spInput__control_filled: Ja,
|
|
920
|
+
spInput__control_outlined: ei,
|
|
921
|
+
spInput__control_disabled: ti,
|
|
922
|
+
spInput__control_clearable: oi,
|
|
923
|
+
spInput__clear: ni,
|
|
924
|
+
spInput__error: ai,
|
|
925
|
+
spInput__error_absolutePosition: ii
|
|
926
|
+
}, ri = Ue.forwardRef((e, t) => {
|
|
925
927
|
const {
|
|
926
928
|
value: o,
|
|
927
929
|
onChange: n,
|
|
928
930
|
label: a,
|
|
929
931
|
variant: i = "outlined",
|
|
930
932
|
disabled: r = !1,
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
[
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
[
|
|
933
|
+
isAbsolutePositionError: s = !1,
|
|
934
|
+
error: d,
|
|
935
|
+
required: p,
|
|
936
|
+
name: _,
|
|
937
|
+
isClearable: u,
|
|
938
|
+
pattern: g,
|
|
939
|
+
onMouseEnter: h,
|
|
940
|
+
infoTooltipText: w,
|
|
941
|
+
tooltipPosition: C,
|
|
942
|
+
isVisibleDefaultTitle: R = !0,
|
|
943
|
+
placeholder: W = "Введите...",
|
|
944
|
+
classNameRoot: q,
|
|
945
|
+
classNameError: A,
|
|
946
|
+
classNameLabel: b,
|
|
947
|
+
classNameBaseTooltipRoot: m,
|
|
948
|
+
...F
|
|
949
|
+
} = e, P = f({
|
|
950
|
+
[ke.spInput]: !0,
|
|
951
|
+
[ke.spInput_error]: !!d,
|
|
952
|
+
[ke.spInput_absolutePositionError]: s,
|
|
953
|
+
...q && { [q]: !0 }
|
|
952
954
|
}), O = f({
|
|
953
|
-
[
|
|
954
|
-
|
|
955
|
-
[
|
|
956
|
-
[
|
|
957
|
-
|
|
958
|
-
[
|
|
955
|
+
[ke.spInput__container]: !0
|
|
956
|
+
}), Z = f({
|
|
957
|
+
[ke.spInput__control]: !0,
|
|
958
|
+
[ke.spInput__control_disabled]: r,
|
|
959
|
+
[ke[`spInput__control_${i}`]]: i,
|
|
960
|
+
[ke.spInput__control_clearable]: u
|
|
959
961
|
}), ie = f({
|
|
960
|
-
[
|
|
961
|
-
...q && { [q]: !0 }
|
|
962
|
+
[ke.spInput__clear]: !0
|
|
962
963
|
}), re = f({
|
|
964
|
+
[ke.spInput__error]: !0,
|
|
965
|
+
[ke.spInput__error_absolutePosition]: s,
|
|
963
966
|
...A && { [A]: !0 }
|
|
964
|
-
}), ue = (
|
|
965
|
-
|
|
966
|
-
}, ce = (
|
|
967
|
-
|
|
968
|
-
|
|
967
|
+
}), ue = f({
|
|
968
|
+
...b && { [b]: !0 }
|
|
969
|
+
}), ce = (Q) => {
|
|
970
|
+
n(Q, { name: _, value: "" });
|
|
971
|
+
}, G = (Q) => {
|
|
972
|
+
const { value: k, name: $ } = Q.target;
|
|
973
|
+
g && k && !new RegExp(g).test(k) || n(Q, { value: k, name: $ });
|
|
969
974
|
};
|
|
970
|
-
return /* @__PURE__ */ U("div", { className:
|
|
971
|
-
a && /* @__PURE__ */
|
|
972
|
-
|
|
975
|
+
return /* @__PURE__ */ U("div", { className: P, children: [
|
|
976
|
+
a && /* @__PURE__ */ l(
|
|
977
|
+
jt,
|
|
973
978
|
{
|
|
974
|
-
classNameRoot:
|
|
975
|
-
tooltipPosition:
|
|
976
|
-
required:
|
|
979
|
+
classNameRoot: ue,
|
|
980
|
+
tooltipPosition: C,
|
|
981
|
+
required: p,
|
|
977
982
|
label: a,
|
|
978
|
-
infoTooltipText:
|
|
979
|
-
classNameBaseTooltipRoot:
|
|
983
|
+
infoTooltipText: w,
|
|
984
|
+
classNameBaseTooltipRoot: m
|
|
980
985
|
}
|
|
981
986
|
),
|
|
982
|
-
/* @__PURE__ */ U("div", { className:
|
|
983
|
-
/* @__PURE__ */
|
|
987
|
+
/* @__PURE__ */ U("div", { className: O, onMouseEnter: h, children: [
|
|
988
|
+
/* @__PURE__ */ l(
|
|
984
989
|
"input",
|
|
985
990
|
{
|
|
986
|
-
...
|
|
987
|
-
placeholder:
|
|
991
|
+
...F,
|
|
992
|
+
placeholder: W,
|
|
988
993
|
disabled: r,
|
|
989
|
-
onChange:
|
|
990
|
-
title:
|
|
994
|
+
onChange: G,
|
|
995
|
+
title: R ? o : void 0,
|
|
991
996
|
value: o,
|
|
992
|
-
name:
|
|
993
|
-
className:
|
|
997
|
+
name: _,
|
|
998
|
+
className: Z,
|
|
994
999
|
ref: t
|
|
995
1000
|
}
|
|
996
1001
|
),
|
|
997
|
-
|
|
1002
|
+
u && o && !r && /* @__PURE__ */ l(xe, { onClick: ce, className: ie, name: pe.Trash })
|
|
998
1003
|
] }),
|
|
999
|
-
|
|
1004
|
+
d && /* @__PURE__ */ l("div", { className: re, children: d })
|
|
1000
1005
|
] });
|
|
1001
1006
|
});
|
|
1002
|
-
|
|
1003
|
-
const
|
|
1007
|
+
ri.displayName = "Input";
|
|
1008
|
+
const si = _o({
|
|
1004
1009
|
device: {
|
|
1005
1010
|
isDesktop: !1,
|
|
1006
1011
|
isMobile: !1,
|
|
@@ -1010,52 +1015,52 @@ const ii = _o({
|
|
|
1010
1015
|
function bo(e) {
|
|
1011
1016
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1012
1017
|
}
|
|
1013
|
-
var
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
var
|
|
1017
|
-
function
|
|
1018
|
+
var At = {};
|
|
1019
|
+
At.match = ui;
|
|
1020
|
+
At.parse = yo;
|
|
1021
|
+
var pi = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, li = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, ci = /^(?:(min|max)-)?(.+)/, di = /(em|rem|px|cm|mm|in|pt|pc)?$/, mi = /(dpi|dpcm|dppx)?$/;
|
|
1022
|
+
function ui(e, t) {
|
|
1018
1023
|
return yo(e).some(function(o) {
|
|
1019
1024
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
1020
1025
|
if (a && n || !(a || n))
|
|
1021
1026
|
return !1;
|
|
1022
1027
|
var i = o.expressions.every(function(r) {
|
|
1023
|
-
var s = r.feature,
|
|
1028
|
+
var s = r.feature, d = r.modifier, p = r.value, _ = t[s];
|
|
1024
1029
|
if (!_)
|
|
1025
1030
|
return !1;
|
|
1026
1031
|
switch (s) {
|
|
1027
1032
|
case "orientation":
|
|
1028
1033
|
case "scan":
|
|
1029
|
-
return _.toLowerCase() ===
|
|
1034
|
+
return _.toLowerCase() === p.toLowerCase();
|
|
1030
1035
|
case "width":
|
|
1031
1036
|
case "height":
|
|
1032
1037
|
case "device-width":
|
|
1033
1038
|
case "device-height":
|
|
1034
|
-
|
|
1039
|
+
p = Ut(p), _ = Ut(_);
|
|
1035
1040
|
break;
|
|
1036
1041
|
case "resolution":
|
|
1037
|
-
|
|
1042
|
+
p = Mt(p), _ = Mt(_);
|
|
1038
1043
|
break;
|
|
1039
1044
|
case "aspect-ratio":
|
|
1040
1045
|
case "device-aspect-ratio":
|
|
1041
1046
|
case /* Deprecated */
|
|
1042
1047
|
"device-pixel-ratio":
|
|
1043
|
-
|
|
1048
|
+
p = zt(p), _ = zt(_);
|
|
1044
1049
|
break;
|
|
1045
1050
|
case "grid":
|
|
1046
1051
|
case "color":
|
|
1047
1052
|
case "color-index":
|
|
1048
1053
|
case "monochrome":
|
|
1049
|
-
|
|
1054
|
+
p = parseInt(p, 10) || 1, _ = parseInt(_, 10) || 0;
|
|
1050
1055
|
break;
|
|
1051
1056
|
}
|
|
1052
|
-
switch (
|
|
1057
|
+
switch (d) {
|
|
1053
1058
|
case "min":
|
|
1054
|
-
return _ >=
|
|
1059
|
+
return _ >= p;
|
|
1055
1060
|
case "max":
|
|
1056
|
-
return _ <=
|
|
1061
|
+
return _ <= p;
|
|
1057
1062
|
default:
|
|
1058
|
-
return _ ===
|
|
1063
|
+
return _ === p;
|
|
1059
1064
|
}
|
|
1060
1065
|
});
|
|
1061
1066
|
return i && !n || !i && n;
|
|
@@ -1064,13 +1069,13 @@ function di(e, t) {
|
|
|
1064
1069
|
function yo(e) {
|
|
1065
1070
|
return e.split(",").map(function(t) {
|
|
1066
1071
|
t = t.trim();
|
|
1067
|
-
var o = t.match(
|
|
1072
|
+
var o = t.match(pi), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
1068
1073
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
1069
|
-
var
|
|
1074
|
+
var d = s.match(li), p = d[1].toLowerCase().match(ci);
|
|
1070
1075
|
return {
|
|
1071
|
-
modifier:
|
|
1072
|
-
feature:
|
|
1073
|
-
value:
|
|
1076
|
+
modifier: p[1],
|
|
1077
|
+
feature: p[2],
|
|
1078
|
+
value: d[2]
|
|
1074
1079
|
};
|
|
1075
1080
|
}), r;
|
|
1076
1081
|
});
|
|
@@ -1080,7 +1085,7 @@ function zt(e) {
|
|
|
1080
1085
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1081
1086
|
}
|
|
1082
1087
|
function Mt(e) {
|
|
1083
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1088
|
+
var t = parseFloat(e), o = String(e).match(mi)[1];
|
|
1084
1089
|
switch (o) {
|
|
1085
1090
|
case "dpcm":
|
|
1086
1091
|
return t / 2.54;
|
|
@@ -1091,7 +1096,7 @@ function Mt(e) {
|
|
|
1091
1096
|
}
|
|
1092
1097
|
}
|
|
1093
1098
|
function Ut(e) {
|
|
1094
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1099
|
+
var t = parseFloat(e), o = String(e).match(di)[1];
|
|
1095
1100
|
switch (o) {
|
|
1096
1101
|
case "em":
|
|
1097
1102
|
return t * 16;
|
|
@@ -1111,39 +1116,39 @@ function Ut(e) {
|
|
|
1111
1116
|
return t;
|
|
1112
1117
|
}
|
|
1113
1118
|
}
|
|
1114
|
-
var
|
|
1115
|
-
function
|
|
1119
|
+
var _i = At.match, qt = typeof window < "u" ? window.matchMedia : null;
|
|
1120
|
+
function fi(e, t, o) {
|
|
1116
1121
|
var n = this, a;
|
|
1117
|
-
qt && !o && (a = qt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
1118
|
-
function i(
|
|
1119
|
-
a && a.addListener(
|
|
1122
|
+
qt && !o && (a = qt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = _i(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = d;
|
|
1123
|
+
function i(p) {
|
|
1124
|
+
a && a.addListener(p);
|
|
1120
1125
|
}
|
|
1121
|
-
function r(
|
|
1122
|
-
a && a.removeListener(
|
|
1126
|
+
function r(p) {
|
|
1127
|
+
a && a.removeListener(p);
|
|
1123
1128
|
}
|
|
1124
|
-
function s(
|
|
1125
|
-
n.matches =
|
|
1129
|
+
function s(p) {
|
|
1130
|
+
n.matches = p.matches, n.media = p.media;
|
|
1126
1131
|
}
|
|
1127
|
-
function
|
|
1132
|
+
function d() {
|
|
1128
1133
|
a && a.removeListener(s);
|
|
1129
1134
|
}
|
|
1130
1135
|
}
|
|
1131
|
-
function
|
|
1132
|
-
return new
|
|
1136
|
+
function vi(e, t, o) {
|
|
1137
|
+
return new fi(e, t, o);
|
|
1133
1138
|
}
|
|
1134
|
-
var
|
|
1135
|
-
const
|
|
1136
|
-
var
|
|
1137
|
-
function
|
|
1139
|
+
var gi = vi;
|
|
1140
|
+
const xi = /* @__PURE__ */ bo(gi);
|
|
1141
|
+
var hi = /[A-Z]/g, bi = /^ms-/, ut = {};
|
|
1142
|
+
function yi(e) {
|
|
1138
1143
|
return "-" + e.toLowerCase();
|
|
1139
1144
|
}
|
|
1140
1145
|
function wo(e) {
|
|
1141
1146
|
if (ut.hasOwnProperty(e))
|
|
1142
1147
|
return ut[e];
|
|
1143
|
-
var t = e.replace(
|
|
1144
|
-
return ut[e] =
|
|
1148
|
+
var t = e.replace(hi, yi);
|
|
1149
|
+
return ut[e] = bi.test(t) ? "-" + t : t;
|
|
1145
1150
|
}
|
|
1146
|
-
function
|
|
1151
|
+
function wi(e, t) {
|
|
1147
1152
|
if (e === t)
|
|
1148
1153
|
return !0;
|
|
1149
1154
|
if (!e || !t)
|
|
@@ -1158,7 +1163,7 @@ function bi(e, t) {
|
|
|
1158
1163
|
}
|
|
1159
1164
|
return !0;
|
|
1160
1165
|
}
|
|
1161
|
-
var Tt = { exports: {} }, Ke = { exports: {} },
|
|
1166
|
+
var Tt = { exports: {} }, Ke = { exports: {} }, K = {};
|
|
1162
1167
|
/** @license React v16.13.1
|
|
1163
1168
|
* react-is.production.min.js
|
|
1164
1169
|
*
|
|
@@ -1168,72 +1173,72 @@ var Tt = { exports: {} }, Ke = { exports: {} }, G = {};
|
|
|
1168
1173
|
* LICENSE file in the root directory of this source tree.
|
|
1169
1174
|
*/
|
|
1170
1175
|
var $t;
|
|
1171
|
-
function
|
|
1172
|
-
if ($t) return
|
|
1176
|
+
function Ci() {
|
|
1177
|
+
if ($t) return K;
|
|
1173
1178
|
$t = 1;
|
|
1174
|
-
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,
|
|
1175
|
-
function A(
|
|
1176
|
-
if (typeof
|
|
1177
|
-
var
|
|
1178
|
-
switch (
|
|
1179
|
+
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, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = 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, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1180
|
+
function A(m) {
|
|
1181
|
+
if (typeof m == "object" && m !== null) {
|
|
1182
|
+
var F = m.$$typeof;
|
|
1183
|
+
switch (F) {
|
|
1179
1184
|
case t:
|
|
1180
|
-
switch (
|
|
1181
|
-
case
|
|
1182
|
-
case
|
|
1185
|
+
switch (m = m.type, m) {
|
|
1186
|
+
case d:
|
|
1187
|
+
case p:
|
|
1183
1188
|
case n:
|
|
1184
1189
|
case i:
|
|
1185
1190
|
case a:
|
|
1186
1191
|
case u:
|
|
1187
|
-
return
|
|
1192
|
+
return m;
|
|
1188
1193
|
default:
|
|
1189
|
-
switch (
|
|
1194
|
+
switch (m = m && m.$$typeof, m) {
|
|
1190
1195
|
case s:
|
|
1191
1196
|
case _:
|
|
1192
1197
|
case w:
|
|
1193
1198
|
case h:
|
|
1194
1199
|
case r:
|
|
1195
|
-
return
|
|
1200
|
+
return m;
|
|
1196
1201
|
default:
|
|
1197
|
-
return
|
|
1202
|
+
return F;
|
|
1198
1203
|
}
|
|
1199
1204
|
}
|
|
1200
1205
|
case o:
|
|
1201
|
-
return
|
|
1206
|
+
return F;
|
|
1202
1207
|
}
|
|
1203
1208
|
}
|
|
1204
1209
|
}
|
|
1205
|
-
function b(
|
|
1206
|
-
return A(
|
|
1210
|
+
function b(m) {
|
|
1211
|
+
return A(m) === p;
|
|
1207
1212
|
}
|
|
1208
|
-
return
|
|
1209
|
-
return b(
|
|
1210
|
-
},
|
|
1211
|
-
return A(
|
|
1212
|
-
},
|
|
1213
|
-
return A(
|
|
1214
|
-
},
|
|
1215
|
-
return typeof
|
|
1216
|
-
},
|
|
1217
|
-
return A(
|
|
1218
|
-
},
|
|
1219
|
-
return A(
|
|
1220
|
-
},
|
|
1221
|
-
return A(
|
|
1222
|
-
},
|
|
1223
|
-
return A(
|
|
1224
|
-
},
|
|
1225
|
-
return A(
|
|
1226
|
-
},
|
|
1227
|
-
return A(
|
|
1228
|
-
},
|
|
1229
|
-
return A(
|
|
1230
|
-
},
|
|
1231
|
-
return A(
|
|
1232
|
-
},
|
|
1233
|
-
return typeof
|
|
1234
|
-
},
|
|
1213
|
+
return K.AsyncMode = d, K.ConcurrentMode = p, K.ContextConsumer = s, K.ContextProvider = r, K.Element = t, K.ForwardRef = _, K.Fragment = n, K.Lazy = w, K.Memo = h, K.Portal = o, K.Profiler = i, K.StrictMode = a, K.Suspense = u, K.isAsyncMode = function(m) {
|
|
1214
|
+
return b(m) || A(m) === d;
|
|
1215
|
+
}, K.isConcurrentMode = b, K.isContextConsumer = function(m) {
|
|
1216
|
+
return A(m) === s;
|
|
1217
|
+
}, K.isContextProvider = function(m) {
|
|
1218
|
+
return A(m) === r;
|
|
1219
|
+
}, K.isElement = function(m) {
|
|
1220
|
+
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
1221
|
+
}, K.isForwardRef = function(m) {
|
|
1222
|
+
return A(m) === _;
|
|
1223
|
+
}, K.isFragment = function(m) {
|
|
1224
|
+
return A(m) === n;
|
|
1225
|
+
}, K.isLazy = function(m) {
|
|
1226
|
+
return A(m) === w;
|
|
1227
|
+
}, K.isMemo = function(m) {
|
|
1228
|
+
return A(m) === h;
|
|
1229
|
+
}, K.isPortal = function(m) {
|
|
1230
|
+
return A(m) === o;
|
|
1231
|
+
}, K.isProfiler = function(m) {
|
|
1232
|
+
return A(m) === i;
|
|
1233
|
+
}, K.isStrictMode = function(m) {
|
|
1234
|
+
return A(m) === a;
|
|
1235
|
+
}, K.isSuspense = function(m) {
|
|
1236
|
+
return A(m) === u;
|
|
1237
|
+
}, K.isValidElementType = function(m) {
|
|
1238
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof === q || m.$$typeof === C);
|
|
1239
|
+
}, K.typeOf = A, K;
|
|
1235
1240
|
}
|
|
1236
|
-
var
|
|
1241
|
+
var X = {};
|
|
1237
1242
|
/** @license React v16.13.1
|
|
1238
1243
|
* react-is.development.js
|
|
1239
1244
|
*
|
|
@@ -1243,74 +1248,74 @@ var K = {};
|
|
|
1243
1248
|
* LICENSE file in the root directory of this source tree.
|
|
1244
1249
|
*/
|
|
1245
1250
|
var Ht;
|
|
1246
|
-
function
|
|
1251
|
+
function ki() {
|
|
1247
1252
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1248
|
-
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,
|
|
1253
|
+
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, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = 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, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1249
1254
|
function A(x) {
|
|
1250
1255
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1251
|
-
x === n || x ===
|
|
1256
|
+
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof === q || x.$$typeof === C);
|
|
1252
1257
|
}
|
|
1253
1258
|
function b(x) {
|
|
1254
1259
|
if (typeof x == "object" && x !== null) {
|
|
1255
|
-
var
|
|
1256
|
-
switch (
|
|
1260
|
+
var he = x.$$typeof;
|
|
1261
|
+
switch (he) {
|
|
1257
1262
|
case t:
|
|
1258
1263
|
var Se = x.type;
|
|
1259
1264
|
switch (Se) {
|
|
1260
|
-
case
|
|
1261
|
-
case
|
|
1265
|
+
case d:
|
|
1266
|
+
case p:
|
|
1262
1267
|
case n:
|
|
1263
1268
|
case i:
|
|
1264
1269
|
case a:
|
|
1265
1270
|
case u:
|
|
1266
1271
|
return Se;
|
|
1267
1272
|
default:
|
|
1268
|
-
var
|
|
1269
|
-
switch (
|
|
1273
|
+
var Oe = Se && Se.$$typeof;
|
|
1274
|
+
switch (Oe) {
|
|
1270
1275
|
case s:
|
|
1271
1276
|
case _:
|
|
1272
1277
|
case w:
|
|
1273
1278
|
case h:
|
|
1274
1279
|
case r:
|
|
1275
|
-
return
|
|
1280
|
+
return Oe;
|
|
1276
1281
|
default:
|
|
1277
|
-
return
|
|
1282
|
+
return he;
|
|
1278
1283
|
}
|
|
1279
1284
|
}
|
|
1280
1285
|
case o:
|
|
1281
|
-
return
|
|
1286
|
+
return he;
|
|
1282
1287
|
}
|
|
1283
1288
|
}
|
|
1284
1289
|
}
|
|
1285
|
-
var
|
|
1290
|
+
var m = d, F = p, P = s, O = r, Z = t, ie = _, re = n, ue = w, ce = h, G = o, J = i, Q = a, k = u, $ = !1;
|
|
1286
1291
|
function z(x) {
|
|
1287
|
-
return
|
|
1292
|
+
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), c(x) || b(x) === d;
|
|
1288
1293
|
}
|
|
1289
|
-
function
|
|
1290
|
-
return b(x) ===
|
|
1294
|
+
function c(x) {
|
|
1295
|
+
return b(x) === p;
|
|
1291
1296
|
}
|
|
1292
1297
|
function v(x) {
|
|
1293
1298
|
return b(x) === s;
|
|
1294
1299
|
}
|
|
1295
|
-
function
|
|
1300
|
+
function N(x) {
|
|
1296
1301
|
return b(x) === r;
|
|
1297
1302
|
}
|
|
1298
|
-
function
|
|
1303
|
+
function j(x) {
|
|
1299
1304
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
1300
1305
|
}
|
|
1301
|
-
function
|
|
1306
|
+
function E(x) {
|
|
1302
1307
|
return b(x) === _;
|
|
1303
1308
|
}
|
|
1304
1309
|
function D(x) {
|
|
1305
1310
|
return b(x) === n;
|
|
1306
1311
|
}
|
|
1307
|
-
function
|
|
1312
|
+
function I(x) {
|
|
1308
1313
|
return b(x) === w;
|
|
1309
1314
|
}
|
|
1310
|
-
function
|
|
1315
|
+
function B(x) {
|
|
1311
1316
|
return b(x) === h;
|
|
1312
1317
|
}
|
|
1313
|
-
function
|
|
1318
|
+
function H(x) {
|
|
1314
1319
|
return b(x) === o;
|
|
1315
1320
|
}
|
|
1316
1321
|
function Y(x) {
|
|
@@ -1322,12 +1327,12 @@ function wi() {
|
|
|
1322
1327
|
function ae(x) {
|
|
1323
1328
|
return b(x) === u;
|
|
1324
1329
|
}
|
|
1325
|
-
|
|
1326
|
-
}()),
|
|
1330
|
+
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer = P, X.ContextProvider = O, X.Element = Z, X.ForwardRef = ie, X.Fragment = re, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = J, X.StrictMode = Q, X.Suspense = k, X.isAsyncMode = z, X.isConcurrentMode = c, X.isContextConsumer = v, X.isContextProvider = N, X.isElement = j, X.isForwardRef = E, X.isFragment = D, X.isLazy = I, X.isMemo = B, X.isPortal = H, X.isProfiler = Y, X.isStrictMode = M, X.isSuspense = ae, X.isValidElementType = A, X.typeOf = b;
|
|
1331
|
+
}()), X;
|
|
1327
1332
|
}
|
|
1328
1333
|
var Vt;
|
|
1329
1334
|
function Co() {
|
|
1330
|
-
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports =
|
|
1335
|
+
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports = Ci() : Ke.exports = ki()), Ke.exports;
|
|
1331
1336
|
}
|
|
1332
1337
|
/*
|
|
1333
1338
|
object-assign
|
|
@@ -1335,7 +1340,7 @@ object-assign
|
|
|
1335
1340
|
@license MIT
|
|
1336
1341
|
*/
|
|
1337
1342
|
var _t, Yt;
|
|
1338
|
-
function
|
|
1343
|
+
function Ti() {
|
|
1339
1344
|
if (Yt) return _t;
|
|
1340
1345
|
Yt = 1;
|
|
1341
1346
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
@@ -1353,31 +1358,31 @@ function Ci() {
|
|
|
1353
1358
|
return !1;
|
|
1354
1359
|
for (var r = {}, s = 0; s < 10; s++)
|
|
1355
1360
|
r["_" + String.fromCharCode(s)] = s;
|
|
1356
|
-
var
|
|
1361
|
+
var d = Object.getOwnPropertyNames(r).map(function(_) {
|
|
1357
1362
|
return r[_];
|
|
1358
1363
|
});
|
|
1359
|
-
if (
|
|
1364
|
+
if (d.join("") !== "0123456789")
|
|
1360
1365
|
return !1;
|
|
1361
|
-
var
|
|
1366
|
+
var p = {};
|
|
1362
1367
|
return "abcdefghijklmnopqrst".split("").forEach(function(_) {
|
|
1363
|
-
|
|
1364
|
-
}), Object.keys(Object.assign({},
|
|
1368
|
+
p[_] = _;
|
|
1369
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
1365
1370
|
} catch {
|
|
1366
1371
|
return !1;
|
|
1367
1372
|
}
|
|
1368
1373
|
}
|
|
1369
1374
|
return _t = a() ? Object.assign : function(i, r) {
|
|
1370
|
-
for (var s,
|
|
1375
|
+
for (var s, d = n(i), p, _ = 1; _ < arguments.length; _++) {
|
|
1371
1376
|
s = Object(arguments[_]);
|
|
1372
1377
|
for (var u in s)
|
|
1373
|
-
t.call(s, u) && (
|
|
1378
|
+
t.call(s, u) && (d[u] = s[u]);
|
|
1374
1379
|
if (e) {
|
|
1375
|
-
|
|
1376
|
-
for (var g = 0; g <
|
|
1377
|
-
o.call(s,
|
|
1380
|
+
p = e(s);
|
|
1381
|
+
for (var g = 0; g < p.length; g++)
|
|
1382
|
+
o.call(s, p[g]) && (d[p[g]] = s[p[g]]);
|
|
1378
1383
|
}
|
|
1379
1384
|
}
|
|
1380
|
-
return
|
|
1385
|
+
return d;
|
|
1381
1386
|
}, _t;
|
|
1382
1387
|
}
|
|
1383
1388
|
var ft, Gt;
|
|
@@ -1392,7 +1397,7 @@ function ko() {
|
|
|
1392
1397
|
return Kt || (Kt = 1, vt = Function.call.bind(Object.prototype.hasOwnProperty)), vt;
|
|
1393
1398
|
}
|
|
1394
1399
|
var gt, Xt;
|
|
1395
|
-
function
|
|
1400
|
+
function Ni() {
|
|
1396
1401
|
if (Xt) return gt;
|
|
1397
1402
|
Xt = 1;
|
|
1398
1403
|
var e = function() {
|
|
@@ -1408,7 +1413,7 @@ function ki() {
|
|
|
1408
1413
|
}
|
|
1409
1414
|
};
|
|
1410
1415
|
}
|
|
1411
|
-
function a(i, r, s,
|
|
1416
|
+
function a(i, r, s, d, p) {
|
|
1412
1417
|
if (process.env.NODE_ENV !== "production") {
|
|
1413
1418
|
for (var _ in i)
|
|
1414
1419
|
if (n(i, _)) {
|
|
@@ -1416,19 +1421,19 @@ function ki() {
|
|
|
1416
1421
|
try {
|
|
1417
1422
|
if (typeof i[_] != "function") {
|
|
1418
1423
|
var g = Error(
|
|
1419
|
-
(
|
|
1424
|
+
(d || "React class") + ": " + s + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1420
1425
|
);
|
|
1421
1426
|
throw g.name = "Invariant Violation", g;
|
|
1422
1427
|
}
|
|
1423
|
-
u = i[_](r, _,
|
|
1428
|
+
u = i[_](r, _, d, s, null, t);
|
|
1424
1429
|
} catch (w) {
|
|
1425
1430
|
u = w;
|
|
1426
1431
|
}
|
|
1427
1432
|
if (u && !(u instanceof Error) && e(
|
|
1428
|
-
(
|
|
1433
|
+
(d || "React class") + ": type specification of " + s + " `" + _ + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1429
1434
|
), u instanceof Error && !(u.message in o)) {
|
|
1430
1435
|
o[u.message] = !0;
|
|
1431
|
-
var h =
|
|
1436
|
+
var h = p ? p() : "";
|
|
1432
1437
|
e(
|
|
1433
1438
|
"Failed " + s + " type: " + u.message + (h ?? "")
|
|
1434
1439
|
);
|
|
@@ -1441,278 +1446,278 @@ function ki() {
|
|
|
1441
1446
|
}, gt = a, gt;
|
|
1442
1447
|
}
|
|
1443
1448
|
var xt, Zt;
|
|
1444
|
-
function
|
|
1449
|
+
function Ei() {
|
|
1445
1450
|
if (Zt) return xt;
|
|
1446
1451
|
Zt = 1;
|
|
1447
|
-
var e = Co(), t =
|
|
1452
|
+
var e = Co(), t = Ti(), o = Lt(), n = ko(), a = Ni(), i = function() {
|
|
1448
1453
|
};
|
|
1449
1454
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1450
|
-
var
|
|
1451
|
-
typeof console < "u" && console.error(
|
|
1455
|
+
var d = "Warning: " + s;
|
|
1456
|
+
typeof console < "u" && console.error(d);
|
|
1452
1457
|
try {
|
|
1453
|
-
throw new Error(
|
|
1458
|
+
throw new Error(d);
|
|
1454
1459
|
} catch {
|
|
1455
1460
|
}
|
|
1456
1461
|
});
|
|
1457
1462
|
function r() {
|
|
1458
1463
|
return null;
|
|
1459
1464
|
}
|
|
1460
|
-
return xt = function(s,
|
|
1461
|
-
var
|
|
1462
|
-
function u(
|
|
1463
|
-
var v =
|
|
1465
|
+
return xt = function(s, d) {
|
|
1466
|
+
var p = typeof Symbol == "function" && Symbol.iterator, _ = "@@iterator";
|
|
1467
|
+
function u(c) {
|
|
1468
|
+
var v = c && (p && c[p] || c[_]);
|
|
1464
1469
|
if (typeof v == "function")
|
|
1465
1470
|
return v;
|
|
1466
1471
|
}
|
|
1467
1472
|
var g = "<<anonymous>>", h = {
|
|
1468
|
-
array:
|
|
1469
|
-
bigint:
|
|
1470
|
-
bool:
|
|
1471
|
-
func:
|
|
1472
|
-
number:
|
|
1473
|
-
object:
|
|
1474
|
-
string:
|
|
1475
|
-
symbol:
|
|
1473
|
+
array: W("array"),
|
|
1474
|
+
bigint: W("bigint"),
|
|
1475
|
+
bool: W("boolean"),
|
|
1476
|
+
func: W("function"),
|
|
1477
|
+
number: W("number"),
|
|
1478
|
+
object: W("object"),
|
|
1479
|
+
string: W("string"),
|
|
1480
|
+
symbol: W("symbol"),
|
|
1476
1481
|
any: q(),
|
|
1477
1482
|
arrayOf: A,
|
|
1478
1483
|
element: b(),
|
|
1479
|
-
elementType:
|
|
1480
|
-
instanceOf:
|
|
1484
|
+
elementType: m(),
|
|
1485
|
+
instanceOf: F,
|
|
1481
1486
|
node: ie(),
|
|
1482
1487
|
objectOf: O,
|
|
1483
|
-
oneOf:
|
|
1484
|
-
oneOfType:
|
|
1488
|
+
oneOf: P,
|
|
1489
|
+
oneOfType: Z,
|
|
1485
1490
|
shape: ue,
|
|
1486
1491
|
exact: ce
|
|
1487
1492
|
};
|
|
1488
|
-
function w(
|
|
1489
|
-
return
|
|
1493
|
+
function w(c, v) {
|
|
1494
|
+
return c === v ? c !== 0 || 1 / c === 1 / v : c !== c && v !== v;
|
|
1490
1495
|
}
|
|
1491
|
-
function C(
|
|
1492
|
-
this.message =
|
|
1496
|
+
function C(c, v) {
|
|
1497
|
+
this.message = c, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1493
1498
|
}
|
|
1494
1499
|
C.prototype = Error.prototype;
|
|
1495
|
-
function
|
|
1500
|
+
function R(c) {
|
|
1496
1501
|
if (process.env.NODE_ENV !== "production")
|
|
1497
|
-
var v = {},
|
|
1498
|
-
function
|
|
1499
|
-
if (
|
|
1500
|
-
if (
|
|
1502
|
+
var v = {}, N = 0;
|
|
1503
|
+
function j(D, I, B, H, Y, M, ae) {
|
|
1504
|
+
if (H = H || g, M = M || B, ae !== o) {
|
|
1505
|
+
if (d) {
|
|
1501
1506
|
var x = new Error(
|
|
1502
1507
|
"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"
|
|
1503
1508
|
);
|
|
1504
1509
|
throw x.name = "Invariant Violation", x;
|
|
1505
1510
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1506
|
-
var
|
|
1507
|
-
!v[
|
|
1508
|
-
|
|
1509
|
-
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" +
|
|
1510
|
-
), v[
|
|
1511
|
+
var he = H + ":" + B;
|
|
1512
|
+
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1513
|
+
N < 3 && (i(
|
|
1514
|
+
"You are manually calling a React.PropTypes validation function for the `" + M + "` 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."
|
|
1515
|
+
), v[he] = !0, N++);
|
|
1511
1516
|
}
|
|
1512
1517
|
}
|
|
1513
|
-
return
|
|
1518
|
+
return I[B] == null ? D ? I[B] === null ? new C("The " + Y + " `" + M + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new C("The " + Y + " `" + M + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : c(I, B, H, Y, M);
|
|
1514
1519
|
}
|
|
1515
|
-
var
|
|
1516
|
-
return
|
|
1520
|
+
var E = j.bind(null, !1);
|
|
1521
|
+
return E.isRequired = j.bind(null, !0), E;
|
|
1517
1522
|
}
|
|
1518
|
-
function
|
|
1519
|
-
function v(
|
|
1520
|
-
var
|
|
1521
|
-
if (Y !==
|
|
1522
|
-
var M =
|
|
1523
|
+
function W(c) {
|
|
1524
|
+
function v(N, j, E, D, I, B) {
|
|
1525
|
+
var H = N[j], Y = Q(H);
|
|
1526
|
+
if (Y !== c) {
|
|
1527
|
+
var M = k(H);
|
|
1523
1528
|
return new C(
|
|
1524
|
-
"Invalid " + D + " `" +
|
|
1525
|
-
{ expectedType:
|
|
1529
|
+
"Invalid " + D + " `" + I + "` of type " + ("`" + M + "` supplied to `" + E + "`, expected ") + ("`" + c + "`."),
|
|
1530
|
+
{ expectedType: c }
|
|
1526
1531
|
);
|
|
1527
1532
|
}
|
|
1528
1533
|
return null;
|
|
1529
1534
|
}
|
|
1530
|
-
return
|
|
1535
|
+
return R(v);
|
|
1531
1536
|
}
|
|
1532
1537
|
function q() {
|
|
1533
|
-
return
|
|
1538
|
+
return R(r);
|
|
1534
1539
|
}
|
|
1535
|
-
function A(
|
|
1536
|
-
function v(
|
|
1537
|
-
if (typeof
|
|
1538
|
-
return new C("Property `" +
|
|
1539
|
-
var
|
|
1540
|
-
if (!Array.isArray(
|
|
1541
|
-
var
|
|
1542
|
-
return new C("Invalid " + D + " `" +
|
|
1540
|
+
function A(c) {
|
|
1541
|
+
function v(N, j, E, D, I) {
|
|
1542
|
+
if (typeof c != "function")
|
|
1543
|
+
return new C("Property `" + I + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
1544
|
+
var B = N[j];
|
|
1545
|
+
if (!Array.isArray(B)) {
|
|
1546
|
+
var H = Q(B);
|
|
1547
|
+
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an array."));
|
|
1543
1548
|
}
|
|
1544
|
-
for (var Y = 0; Y <
|
|
1545
|
-
var M =
|
|
1549
|
+
for (var Y = 0; Y < B.length; Y++) {
|
|
1550
|
+
var M = c(B, Y, E, D, I + "[" + Y + "]", o);
|
|
1546
1551
|
if (M instanceof Error)
|
|
1547
1552
|
return M;
|
|
1548
1553
|
}
|
|
1549
1554
|
return null;
|
|
1550
1555
|
}
|
|
1551
|
-
return
|
|
1556
|
+
return R(v);
|
|
1552
1557
|
}
|
|
1553
1558
|
function b() {
|
|
1554
|
-
function
|
|
1555
|
-
var
|
|
1556
|
-
if (!s(
|
|
1557
|
-
var
|
|
1558
|
-
return new C("Invalid " +
|
|
1559
|
+
function c(v, N, j, E, D) {
|
|
1560
|
+
var I = v[N];
|
|
1561
|
+
if (!s(I)) {
|
|
1562
|
+
var B = Q(I);
|
|
1563
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
1559
1564
|
}
|
|
1560
1565
|
return null;
|
|
1561
1566
|
}
|
|
1562
|
-
return
|
|
1567
|
+
return R(c);
|
|
1563
1568
|
}
|
|
1564
|
-
function
|
|
1565
|
-
function
|
|
1566
|
-
var
|
|
1567
|
-
if (!e.isValidElementType(
|
|
1568
|
-
var
|
|
1569
|
-
return new C("Invalid " +
|
|
1569
|
+
function m() {
|
|
1570
|
+
function c(v, N, j, E, D) {
|
|
1571
|
+
var I = v[N];
|
|
1572
|
+
if (!e.isValidElementType(I)) {
|
|
1573
|
+
var B = Q(I);
|
|
1574
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
1570
1575
|
}
|
|
1571
1576
|
return null;
|
|
1572
1577
|
}
|
|
1573
|
-
return
|
|
1578
|
+
return R(c);
|
|
1574
1579
|
}
|
|
1575
|
-
function
|
|
1576
|
-
function v(
|
|
1577
|
-
if (!(
|
|
1578
|
-
var
|
|
1579
|
-
return new C("Invalid " + D + " `" +
|
|
1580
|
+
function F(c) {
|
|
1581
|
+
function v(N, j, E, D, I) {
|
|
1582
|
+
if (!(N[j] instanceof c)) {
|
|
1583
|
+
var B = c.name || g, H = z(N[j]);
|
|
1584
|
+
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" + B + "`."));
|
|
1580
1585
|
}
|
|
1581
1586
|
return null;
|
|
1582
1587
|
}
|
|
1583
|
-
return
|
|
1588
|
+
return R(v);
|
|
1584
1589
|
}
|
|
1585
|
-
function
|
|
1586
|
-
if (!Array.isArray(
|
|
1590
|
+
function P(c) {
|
|
1591
|
+
if (!Array.isArray(c))
|
|
1587
1592
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1588
1593
|
"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])."
|
|
1589
1594
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1590
|
-
function v(
|
|
1591
|
-
for (var
|
|
1592
|
-
if (w(
|
|
1595
|
+
function v(N, j, E, D, I) {
|
|
1596
|
+
for (var B = N[j], H = 0; H < c.length; H++)
|
|
1597
|
+
if (w(B, c[H]))
|
|
1593
1598
|
return null;
|
|
1594
|
-
var Y = JSON.stringify(
|
|
1595
|
-
var
|
|
1596
|
-
return
|
|
1599
|
+
var Y = JSON.stringify(c, function(ae, x) {
|
|
1600
|
+
var he = k(x);
|
|
1601
|
+
return he === "symbol" ? String(x) : x;
|
|
1597
1602
|
});
|
|
1598
|
-
return new C("Invalid " + D + " `" +
|
|
1603
|
+
return new C("Invalid " + D + " `" + I + "` of value `" + String(B) + "` " + ("supplied to `" + E + "`, expected one of " + Y + "."));
|
|
1599
1604
|
}
|
|
1600
|
-
return
|
|
1605
|
+
return R(v);
|
|
1601
1606
|
}
|
|
1602
|
-
function O(
|
|
1603
|
-
function v(
|
|
1604
|
-
if (typeof
|
|
1605
|
-
return new C("Property `" +
|
|
1606
|
-
var
|
|
1607
|
-
if (
|
|
1608
|
-
return new C("Invalid " + D + " `" +
|
|
1609
|
-
for (var Y in
|
|
1610
|
-
if (n(
|
|
1611
|
-
var M =
|
|
1607
|
+
function O(c) {
|
|
1608
|
+
function v(N, j, E, D, I) {
|
|
1609
|
+
if (typeof c != "function")
|
|
1610
|
+
return new C("Property `" + I + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
1611
|
+
var B = N[j], H = Q(B);
|
|
1612
|
+
if (H !== "object")
|
|
1613
|
+
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an object."));
|
|
1614
|
+
for (var Y in B)
|
|
1615
|
+
if (n(B, Y)) {
|
|
1616
|
+
var M = c(B, Y, E, D, I + "." + Y, o);
|
|
1612
1617
|
if (M instanceof Error)
|
|
1613
1618
|
return M;
|
|
1614
1619
|
}
|
|
1615
1620
|
return null;
|
|
1616
1621
|
}
|
|
1617
|
-
return
|
|
1622
|
+
return R(v);
|
|
1618
1623
|
}
|
|
1619
|
-
function
|
|
1620
|
-
if (!Array.isArray(
|
|
1624
|
+
function Z(c) {
|
|
1625
|
+
if (!Array.isArray(c))
|
|
1621
1626
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1622
|
-
for (var v = 0; v <
|
|
1623
|
-
var
|
|
1624
|
-
if (typeof
|
|
1627
|
+
for (var v = 0; v < c.length; v++) {
|
|
1628
|
+
var N = c[v];
|
|
1629
|
+
if (typeof N != "function")
|
|
1625
1630
|
return i(
|
|
1626
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1631
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(N) + " at index " + v + "."
|
|
1627
1632
|
), r;
|
|
1628
1633
|
}
|
|
1629
|
-
function
|
|
1630
|
-
for (var Y = [], M = 0; M <
|
|
1631
|
-
var ae =
|
|
1634
|
+
function j(E, D, I, B, H) {
|
|
1635
|
+
for (var Y = [], M = 0; M < c.length; M++) {
|
|
1636
|
+
var ae = c[M], x = ae(E, D, I, B, H, o);
|
|
1632
1637
|
if (x == null)
|
|
1633
1638
|
return null;
|
|
1634
1639
|
x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
|
|
1635
1640
|
}
|
|
1636
|
-
var
|
|
1637
|
-
return new C("Invalid " +
|
|
1641
|
+
var he = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1642
|
+
return new C("Invalid " + B + " `" + H + "` supplied to " + ("`" + I + "`" + he + "."));
|
|
1638
1643
|
}
|
|
1639
|
-
return
|
|
1644
|
+
return R(j);
|
|
1640
1645
|
}
|
|
1641
1646
|
function ie() {
|
|
1642
|
-
function
|
|
1643
|
-
return
|
|
1647
|
+
function c(v, N, j, E, D) {
|
|
1648
|
+
return G(v[N]) ? null : new C("Invalid " + E + " `" + D + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
1644
1649
|
}
|
|
1645
|
-
return
|
|
1650
|
+
return R(c);
|
|
1646
1651
|
}
|
|
1647
|
-
function re(
|
|
1652
|
+
function re(c, v, N, j, E) {
|
|
1648
1653
|
return new C(
|
|
1649
|
-
(
|
|
1654
|
+
(c || "React class") + ": " + v + " type `" + N + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
1650
1655
|
);
|
|
1651
1656
|
}
|
|
1652
|
-
function ue(
|
|
1653
|
-
function v(
|
|
1654
|
-
var
|
|
1655
|
-
if (
|
|
1656
|
-
return new C("Invalid " + D + " `" +
|
|
1657
|
-
for (var Y in
|
|
1658
|
-
var M =
|
|
1657
|
+
function ue(c) {
|
|
1658
|
+
function v(N, j, E, D, I) {
|
|
1659
|
+
var B = N[j], H = Q(B);
|
|
1660
|
+
if (H !== "object")
|
|
1661
|
+
return new C("Invalid " + D + " `" + I + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1662
|
+
for (var Y in c) {
|
|
1663
|
+
var M = c[Y];
|
|
1659
1664
|
if (typeof M != "function")
|
|
1660
|
-
return re(
|
|
1661
|
-
var ae = M(
|
|
1665
|
+
return re(E, D, I, Y, k(M));
|
|
1666
|
+
var ae = M(B, Y, E, D, I + "." + Y, o);
|
|
1662
1667
|
if (ae)
|
|
1663
1668
|
return ae;
|
|
1664
1669
|
}
|
|
1665
1670
|
return null;
|
|
1666
1671
|
}
|
|
1667
|
-
return
|
|
1672
|
+
return R(v);
|
|
1668
1673
|
}
|
|
1669
|
-
function ce(
|
|
1670
|
-
function v(
|
|
1671
|
-
var
|
|
1672
|
-
if (
|
|
1673
|
-
return new C("Invalid " + D + " `" +
|
|
1674
|
-
var Y = t({},
|
|
1674
|
+
function ce(c) {
|
|
1675
|
+
function v(N, j, E, D, I) {
|
|
1676
|
+
var B = N[j], H = Q(B);
|
|
1677
|
+
if (H !== "object")
|
|
1678
|
+
return new C("Invalid " + D + " `" + I + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1679
|
+
var Y = t({}, N[j], c);
|
|
1675
1680
|
for (var M in Y) {
|
|
1676
|
-
var ae =
|
|
1677
|
-
if (n(
|
|
1678
|
-
return re(
|
|
1681
|
+
var ae = c[M];
|
|
1682
|
+
if (n(c, M) && typeof ae != "function")
|
|
1683
|
+
return re(E, D, I, M, k(ae));
|
|
1679
1684
|
if (!ae)
|
|
1680
1685
|
return new C(
|
|
1681
|
-
"Invalid " + D + " `" +
|
|
1682
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1686
|
+
"Invalid " + D + " `" + I + "` key `" + M + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(N[j], null, " ") + `
|
|
1687
|
+
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1683
1688
|
);
|
|
1684
|
-
var x = ae(
|
|
1689
|
+
var x = ae(B, M, E, D, I + "." + M, o);
|
|
1685
1690
|
if (x)
|
|
1686
1691
|
return x;
|
|
1687
1692
|
}
|
|
1688
1693
|
return null;
|
|
1689
1694
|
}
|
|
1690
|
-
return
|
|
1695
|
+
return R(v);
|
|
1691
1696
|
}
|
|
1692
|
-
function
|
|
1693
|
-
switch (typeof
|
|
1697
|
+
function G(c) {
|
|
1698
|
+
switch (typeof c) {
|
|
1694
1699
|
case "number":
|
|
1695
1700
|
case "string":
|
|
1696
1701
|
case "undefined":
|
|
1697
1702
|
return !0;
|
|
1698
1703
|
case "boolean":
|
|
1699
|
-
return !
|
|
1704
|
+
return !c;
|
|
1700
1705
|
case "object":
|
|
1701
|
-
if (Array.isArray(
|
|
1702
|
-
return
|
|
1703
|
-
if (
|
|
1706
|
+
if (Array.isArray(c))
|
|
1707
|
+
return c.every(G);
|
|
1708
|
+
if (c === null || s(c))
|
|
1704
1709
|
return !0;
|
|
1705
|
-
var v = u(
|
|
1710
|
+
var v = u(c);
|
|
1706
1711
|
if (v) {
|
|
1707
|
-
var
|
|
1708
|
-
if (v !==
|
|
1709
|
-
for (; !(
|
|
1710
|
-
if (!
|
|
1712
|
+
var N = v.call(c), j;
|
|
1713
|
+
if (v !== c.entries) {
|
|
1714
|
+
for (; !(j = N.next()).done; )
|
|
1715
|
+
if (!G(j.value))
|
|
1711
1716
|
return !1;
|
|
1712
1717
|
} else
|
|
1713
|
-
for (; !(
|
|
1714
|
-
var
|
|
1715
|
-
if (
|
|
1718
|
+
for (; !(j = N.next()).done; ) {
|
|
1719
|
+
var E = j.value;
|
|
1720
|
+
if (E && !G(E[1]))
|
|
1716
1721
|
return !1;
|
|
1717
1722
|
}
|
|
1718
1723
|
} else
|
|
@@ -1722,27 +1727,27 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
|
1722
1727
|
return !1;
|
|
1723
1728
|
}
|
|
1724
1729
|
}
|
|
1725
|
-
function
|
|
1726
|
-
return
|
|
1730
|
+
function J(c, v) {
|
|
1731
|
+
return c === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
|
|
1727
1732
|
}
|
|
1728
|
-
function
|
|
1729
|
-
var v = typeof
|
|
1730
|
-
return Array.isArray(
|
|
1733
|
+
function Q(c) {
|
|
1734
|
+
var v = typeof c;
|
|
1735
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : J(v, c) ? "symbol" : v;
|
|
1731
1736
|
}
|
|
1732
|
-
function
|
|
1733
|
-
if (typeof
|
|
1734
|
-
return "" +
|
|
1735
|
-
var v =
|
|
1737
|
+
function k(c) {
|
|
1738
|
+
if (typeof c > "u" || c === null)
|
|
1739
|
+
return "" + c;
|
|
1740
|
+
var v = Q(c);
|
|
1736
1741
|
if (v === "object") {
|
|
1737
|
-
if (
|
|
1742
|
+
if (c instanceof Date)
|
|
1738
1743
|
return "date";
|
|
1739
|
-
if (
|
|
1744
|
+
if (c instanceof RegExp)
|
|
1740
1745
|
return "regexp";
|
|
1741
1746
|
}
|
|
1742
1747
|
return v;
|
|
1743
1748
|
}
|
|
1744
|
-
function
|
|
1745
|
-
var v =
|
|
1749
|
+
function $(c) {
|
|
1750
|
+
var v = k(c);
|
|
1746
1751
|
switch (v) {
|
|
1747
1752
|
case "array":
|
|
1748
1753
|
case "object":
|
|
@@ -1755,14 +1760,14 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
|
1755
1760
|
return v;
|
|
1756
1761
|
}
|
|
1757
1762
|
}
|
|
1758
|
-
function z(
|
|
1759
|
-
return !
|
|
1763
|
+
function z(c) {
|
|
1764
|
+
return !c.constructor || !c.constructor.name ? g : c.constructor.name;
|
|
1760
1765
|
}
|
|
1761
1766
|
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
1762
1767
|
}, xt;
|
|
1763
1768
|
}
|
|
1764
1769
|
var ht, Qt;
|
|
1765
|
-
function
|
|
1770
|
+
function Si() {
|
|
1766
1771
|
if (Qt) return ht;
|
|
1767
1772
|
Qt = 1;
|
|
1768
1773
|
var e = Lt();
|
|
@@ -1771,7 +1776,7 @@ function Ni() {
|
|
|
1771
1776
|
function o() {
|
|
1772
1777
|
}
|
|
1773
1778
|
return o.resetWarningCache = t, ht = function() {
|
|
1774
|
-
function n(r, s,
|
|
1779
|
+
function n(r, s, d, p, _, u) {
|
|
1775
1780
|
if (u !== e) {
|
|
1776
1781
|
var g = new Error(
|
|
1777
1782
|
"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"
|
|
@@ -1810,91 +1815,91 @@ function Ni() {
|
|
|
1810
1815
|
}, ht;
|
|
1811
1816
|
}
|
|
1812
1817
|
if (process.env.NODE_ENV !== "production") {
|
|
1813
|
-
var
|
|
1814
|
-
Tt.exports =
|
|
1818
|
+
var Ri = Co(), Fi = !0;
|
|
1819
|
+
Tt.exports = Ei()(Ri.isElement, Fi);
|
|
1815
1820
|
} else
|
|
1816
|
-
Tt.exports =
|
|
1817
|
-
var
|
|
1818
|
-
const
|
|
1819
|
-
all:
|
|
1820
|
-
grid:
|
|
1821
|
-
aural:
|
|
1822
|
-
braille:
|
|
1823
|
-
handheld:
|
|
1824
|
-
print:
|
|
1825
|
-
projection:
|
|
1826
|
-
screen:
|
|
1827
|
-
tty:
|
|
1828
|
-
tv:
|
|
1829
|
-
embossed:
|
|
1830
|
-
},
|
|
1831
|
-
orientation:
|
|
1832
|
-
scan:
|
|
1833
|
-
aspectRatio:
|
|
1834
|
-
deviceAspectRatio:
|
|
1835
|
-
height:
|
|
1836
|
-
deviceHeight:
|
|
1837
|
-
width:
|
|
1838
|
-
deviceWidth:
|
|
1839
|
-
color:
|
|
1840
|
-
colorIndex:
|
|
1841
|
-
monochrome:
|
|
1842
|
-
resolution:
|
|
1821
|
+
Tt.exports = Si()();
|
|
1822
|
+
var Ii = Tt.exports;
|
|
1823
|
+
const S = /* @__PURE__ */ bo(Ii), fe = S.oneOfType([S.string, S.number]), To = {
|
|
1824
|
+
all: S.bool,
|
|
1825
|
+
grid: S.bool,
|
|
1826
|
+
aural: S.bool,
|
|
1827
|
+
braille: S.bool,
|
|
1828
|
+
handheld: S.bool,
|
|
1829
|
+
print: S.bool,
|
|
1830
|
+
projection: S.bool,
|
|
1831
|
+
screen: S.bool,
|
|
1832
|
+
tty: S.bool,
|
|
1833
|
+
tv: S.bool,
|
|
1834
|
+
embossed: S.bool
|
|
1835
|
+
}, ji = {
|
|
1836
|
+
orientation: S.oneOf(["portrait", "landscape"]),
|
|
1837
|
+
scan: S.oneOf(["progressive", "interlace"]),
|
|
1838
|
+
aspectRatio: S.string,
|
|
1839
|
+
deviceAspectRatio: S.string,
|
|
1840
|
+
height: fe,
|
|
1841
|
+
deviceHeight: fe,
|
|
1842
|
+
width: fe,
|
|
1843
|
+
deviceWidth: fe,
|
|
1844
|
+
color: S.bool,
|
|
1845
|
+
colorIndex: S.bool,
|
|
1846
|
+
monochrome: S.bool,
|
|
1847
|
+
resolution: fe,
|
|
1843
1848
|
type: Object.keys(To)
|
|
1844
|
-
}, { type:
|
|
1845
|
-
minAspectRatio:
|
|
1846
|
-
maxAspectRatio:
|
|
1847
|
-
minDeviceAspectRatio:
|
|
1848
|
-
maxDeviceAspectRatio:
|
|
1849
|
-
minHeight:
|
|
1850
|
-
maxHeight:
|
|
1851
|
-
minDeviceHeight:
|
|
1852
|
-
maxDeviceHeight:
|
|
1853
|
-
minWidth:
|
|
1854
|
-
maxWidth:
|
|
1855
|
-
minDeviceWidth:
|
|
1856
|
-
maxDeviceWidth:
|
|
1857
|
-
minColor:
|
|
1858
|
-
maxColor:
|
|
1859
|
-
minColorIndex:
|
|
1860
|
-
maxColorIndex:
|
|
1861
|
-
minMonochrome:
|
|
1862
|
-
maxMonochrome:
|
|
1863
|
-
minResolution:
|
|
1864
|
-
maxResolution:
|
|
1865
|
-
...
|
|
1866
|
-
},
|
|
1867
|
-
var
|
|
1868
|
-
all:
|
|
1849
|
+
}, { type: Tp, ...Ai } = ji, Li = {
|
|
1850
|
+
minAspectRatio: S.string,
|
|
1851
|
+
maxAspectRatio: S.string,
|
|
1852
|
+
minDeviceAspectRatio: S.string,
|
|
1853
|
+
maxDeviceAspectRatio: S.string,
|
|
1854
|
+
minHeight: fe,
|
|
1855
|
+
maxHeight: fe,
|
|
1856
|
+
minDeviceHeight: fe,
|
|
1857
|
+
maxDeviceHeight: fe,
|
|
1858
|
+
minWidth: fe,
|
|
1859
|
+
maxWidth: fe,
|
|
1860
|
+
minDeviceWidth: fe,
|
|
1861
|
+
maxDeviceWidth: fe,
|
|
1862
|
+
minColor: S.number,
|
|
1863
|
+
maxColor: S.number,
|
|
1864
|
+
minColorIndex: S.number,
|
|
1865
|
+
maxColorIndex: S.number,
|
|
1866
|
+
minMonochrome: S.number,
|
|
1867
|
+
maxMonochrome: S.number,
|
|
1868
|
+
minResolution: fe,
|
|
1869
|
+
maxResolution: fe,
|
|
1870
|
+
...Ai
|
|
1871
|
+
}, Di = { ...To, ...Li };
|
|
1872
|
+
var Pi = {
|
|
1873
|
+
all: Di
|
|
1869
1874
|
};
|
|
1870
|
-
const
|
|
1875
|
+
const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
1871
1876
|
const o = wo(e);
|
|
1872
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ?
|
|
1873
|
-
},
|
|
1877
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? Oi(o) : `(${o}: ${t})`;
|
|
1878
|
+
}, Wi = (e) => e.join(" and "), zi = (e) => {
|
|
1874
1879
|
const t = [];
|
|
1875
|
-
return Object.keys(
|
|
1880
|
+
return Object.keys(Pi.all).forEach((o) => {
|
|
1876
1881
|
const n = e[o];
|
|
1877
|
-
n != null && t.push(
|
|
1878
|
-
}),
|
|
1879
|
-
},
|
|
1882
|
+
n != null && t.push(Bi(o, n));
|
|
1883
|
+
}), Wi(t);
|
|
1884
|
+
}, Mi = _o(void 0), Ui = (e) => e.query || zi(e), Jt = (e) => e ? Object.keys(e).reduce((o, n) => (o[wo(n)] = e[n], o), {}) : void 0, No = () => {
|
|
1880
1885
|
const e = me(!1);
|
|
1881
1886
|
return ne(() => {
|
|
1882
1887
|
e.current = !0;
|
|
1883
1888
|
}, []), e.current;
|
|
1884
|
-
},
|
|
1885
|
-
const t = Ho(
|
|
1889
|
+
}, qi = (e) => {
|
|
1890
|
+
const t = Ho(Mi), o = () => Jt(e) || Jt(t), [n, a] = te(o);
|
|
1886
1891
|
return ne(() => {
|
|
1887
1892
|
const i = o();
|
|
1888
|
-
|
|
1893
|
+
wi(n, i) || a(i);
|
|
1889
1894
|
}, [e, t]), n;
|
|
1890
|
-
},
|
|
1891
|
-
const t = () =>
|
|
1895
|
+
}, $i = (e) => {
|
|
1896
|
+
const t = () => Ui(e), [o, n] = te(t);
|
|
1892
1897
|
return ne(() => {
|
|
1893
1898
|
const a = t();
|
|
1894
1899
|
o !== a && n(a);
|
|
1895
1900
|
}, [e]), o;
|
|
1896
|
-
},
|
|
1897
|
-
const o = () =>
|
|
1901
|
+
}, Hi = (e, t) => {
|
|
1902
|
+
const o = () => xi(e, t || {}, !!t), [n, a] = te(o), i = No();
|
|
1898
1903
|
return ne(() => {
|
|
1899
1904
|
if (i) {
|
|
1900
1905
|
const r = o();
|
|
@@ -1903,7 +1908,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1903
1908
|
};
|
|
1904
1909
|
}
|
|
1905
1910
|
}, [e, t]), n;
|
|
1906
|
-
},
|
|
1911
|
+
}, Vi = (e) => {
|
|
1907
1912
|
const [t, o] = te(e.matches);
|
|
1908
1913
|
return ne(() => {
|
|
1909
1914
|
const n = (a) => {
|
|
@@ -1914,15 +1919,15 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1914
1919
|
};
|
|
1915
1920
|
}, [e]), t;
|
|
1916
1921
|
}, bt = (e, t, o) => {
|
|
1917
|
-
const n =
|
|
1922
|
+
const n = qi(t), a = $i(e);
|
|
1918
1923
|
if (!a)
|
|
1919
1924
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1920
|
-
const i =
|
|
1925
|
+
const i = Hi(a, n), r = Vi(i);
|
|
1921
1926
|
return No(), ne(() => {
|
|
1922
1927
|
}, [r]), ne(() => () => {
|
|
1923
1928
|
i && i.dispose();
|
|
1924
1929
|
}, []), r;
|
|
1925
|
-
},
|
|
1930
|
+
}, Yi = (e) => {
|
|
1926
1931
|
const { desktop: t, tablet: o, mobile: n } = e, a = bt(t), i = bt(o), r = bt(n);
|
|
1927
1932
|
return {
|
|
1928
1933
|
device: {
|
|
@@ -1931,10 +1936,10 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1931
1936
|
isMobile: r
|
|
1932
1937
|
}
|
|
1933
1938
|
};
|
|
1934
|
-
},
|
|
1935
|
-
const { breakpoints: t, children: o } = e, { device: n } =
|
|
1936
|
-
return /* @__PURE__ */
|
|
1937
|
-
|
|
1939
|
+
}, Np = (e) => {
|
|
1940
|
+
const { breakpoints: t, children: o } = e, { device: n } = Yi(t);
|
|
1941
|
+
return /* @__PURE__ */ l(
|
|
1942
|
+
si.Provider,
|
|
1938
1943
|
{
|
|
1939
1944
|
value: {
|
|
1940
1945
|
device: n
|
|
@@ -1942,19 +1947,19 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1942
1947
|
children: o
|
|
1943
1948
|
}
|
|
1944
1949
|
);
|
|
1945
|
-
},
|
|
1946
|
-
const { targetValue: t, duration: o =
|
|
1950
|
+
}, Gi = 2e3, Ki = (e) => {
|
|
1951
|
+
const { targetValue: t, duration: o = Gi, doneValue: n } = e, [a, i] = te(t), r = me(), s = me(0), d = me(), p = me(t), [_, u] = te(!1), g = me();
|
|
1947
1952
|
return ne(() => {
|
|
1948
|
-
if (
|
|
1953
|
+
if (p.current = t, t === s.current) return;
|
|
1949
1954
|
if (r.current && cancelAnimationFrame(r.current), t === n && !_) {
|
|
1950
1955
|
i(n), s.current = n;
|
|
1951
1956
|
return;
|
|
1952
1957
|
}
|
|
1953
|
-
s.current = a,
|
|
1958
|
+
s.current = a, d.current = performance.now();
|
|
1954
1959
|
const h = (w) => {
|
|
1955
|
-
if (!
|
|
1956
|
-
const C = w -
|
|
1957
|
-
i(A),
|
|
1960
|
+
if (!d.current) return;
|
|
1961
|
+
const C = w - d.current, R = Math.min(C / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, q = s.current + (p.current - s.current) * W, A = Math.max(0, Math.floor(q));
|
|
1962
|
+
i(A), R < 1 && (r.current = requestAnimationFrame(h));
|
|
1958
1963
|
};
|
|
1959
1964
|
return r.current = requestAnimationFrame(h), () => {
|
|
1960
1965
|
r.current && cancelAnimationFrame(r.current);
|
|
@@ -1967,17 +1972,17 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1967
1972
|
animatedValue: a,
|
|
1968
1973
|
isLoading: _
|
|
1969
1974
|
};
|
|
1970
|
-
},
|
|
1971
|
-
progressWrapper:
|
|
1972
|
-
progressWrapper_loading:
|
|
1973
|
-
progressWrapper__childrenWrapper:
|
|
1974
|
-
progressWrapper__childrenWrapper_loading:
|
|
1975
|
+
}, Xi = "_progressWrapper_xn9s0_44", Zi = "_progressWrapper_loading_xn9s0_47", Qi = "_progressWrapper__childrenWrapper_xn9s0_52", Ji = "_progressWrapper__childrenWrapper_loading_xn9s0_58", er = "_pulse_xn9s0_1", tr = "_progressWrapper__progressBadge_xn9s0_64", or = "_progressWrapper__progressBadge_loading_xn9s0_75", Re = {
|
|
1976
|
+
progressWrapper: Xi,
|
|
1977
|
+
progressWrapper_loading: Zi,
|
|
1978
|
+
progressWrapper__childrenWrapper: Qi,
|
|
1979
|
+
progressWrapper__childrenWrapper_loading: Ji,
|
|
1975
1980
|
"progressWrapper__childrenWrapper--animated-pulse": "_progressWrapper__childrenWrapper--animated-pulse_xn9s0_58",
|
|
1976
|
-
pulse:
|
|
1981
|
+
pulse: er,
|
|
1977
1982
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
1978
|
-
progressWrapper__progressBadge:
|
|
1979
|
-
progressWrapper__progressBadge_loading:
|
|
1980
|
-
},
|
|
1983
|
+
progressWrapper__progressBadge: tr,
|
|
1984
|
+
progressWrapper__progressBadge_loading: or
|
|
1985
|
+
}, Ep = (e) => {
|
|
1981
1986
|
const {
|
|
1982
1987
|
value: t,
|
|
1983
1988
|
classNameRoot: o,
|
|
@@ -1986,27 +1991,27 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1986
1991
|
children: i,
|
|
1987
1992
|
doneValue: r = 100,
|
|
1988
1993
|
animationVariant: s = "backgroundProgress"
|
|
1989
|
-
} = e, { animatedValue:
|
|
1994
|
+
} = e, { animatedValue: d, isLoading: p } = Ki({
|
|
1990
1995
|
targetValue: t,
|
|
1991
1996
|
duration: a,
|
|
1992
1997
|
doneValue: r
|
|
1993
1998
|
}), _ = f({
|
|
1994
1999
|
[Re.progressWrapper]: !0,
|
|
1995
|
-
[Re.progressWrapper_loading]:
|
|
2000
|
+
[Re.progressWrapper_loading]: p,
|
|
1996
2001
|
...o && { [o]: !0 }
|
|
1997
2002
|
}), u = f({
|
|
1998
2003
|
[Re.progressWrapper__progressBadge]: !0,
|
|
1999
|
-
[Re.progressWrapper__progressBadge_loading]:
|
|
2004
|
+
[Re.progressWrapper__progressBadge_loading]: p,
|
|
2000
2005
|
...n && { [n]: !0 }
|
|
2001
2006
|
}), g = f({
|
|
2002
2007
|
[Re.progressWrapper__childrenWrapper]: !0,
|
|
2003
2008
|
[Re[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2004
|
-
[Re.progressWrapper__childrenWrapper_loading]:
|
|
2009
|
+
[Re.progressWrapper__childrenWrapper_loading]: p
|
|
2005
2010
|
}), h = {
|
|
2006
|
-
"--progress": `${
|
|
2011
|
+
"--progress": `${d / r * 100}%`
|
|
2007
2012
|
};
|
|
2008
2013
|
return /* @__PURE__ */ U("div", { className: _, children: [
|
|
2009
|
-
/* @__PURE__ */
|
|
2014
|
+
/* @__PURE__ */ l(
|
|
2010
2015
|
"div",
|
|
2011
2016
|
{
|
|
2012
2017
|
className: g,
|
|
@@ -2014,27 +2019,29 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2014
2019
|
children: i
|
|
2015
2020
|
}
|
|
2016
2021
|
),
|
|
2017
|
-
|
|
2018
|
-
|
|
2022
|
+
p && /* @__PURE__ */ U(Ne, { classNameRoot: u, children: [
|
|
2023
|
+
d,
|
|
2019
2024
|
"%"
|
|
2020
2025
|
] })
|
|
2021
2026
|
] });
|
|
2022
|
-
},
|
|
2023
|
-
spSelect:
|
|
2024
|
-
spSelect_error:
|
|
2025
|
-
spSelect__control:
|
|
2026
|
-
spSelect__value_empty:
|
|
2027
|
-
spSelect__icon:
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2027
|
+
}, nr = 180, ar = "_spSelect_1l6hu_43", ir = "_spSelect_error_1l6hu_48", rr = "_spSelect__control_1l6hu_48", sr = "_spSelect__value_empty_1l6hu_52", pr = "_spSelect__icon_1l6hu_55", lr = "_spSelect_absolutePositionError_1l6hu_58", cr = "_spSelect__container_1l6hu_61", dr = "_spSelect__control_filled_1l6hu_81", mr = "_spSelect__control_outlined_1l6hu_85", ur = "_spSelect__control_disabled_1l6hu_110", _r = "_spSelect__value_1l6hu_52", fr = "_spSelect__list_1l6hu_141", vr = "_spSelect__list_scrollable_1l6hu_148", gr = "_spSelect__option_1l6hu_164", xr = "_spSelect__error_1l6hu_182", hr = "_spSelect__error_absolutePosition_1l6hu_189", _e = {
|
|
2028
|
+
spSelect: ar,
|
|
2029
|
+
spSelect_error: ir,
|
|
2030
|
+
spSelect__control: rr,
|
|
2031
|
+
spSelect__value_empty: sr,
|
|
2032
|
+
spSelect__icon: pr,
|
|
2033
|
+
spSelect_absolutePositionError: lr,
|
|
2034
|
+
spSelect__container: cr,
|
|
2035
|
+
spSelect__control_filled: dr,
|
|
2036
|
+
spSelect__control_outlined: mr,
|
|
2037
|
+
spSelect__control_disabled: ur,
|
|
2038
|
+
spSelect__value: _r,
|
|
2039
|
+
spSelect__list: fr,
|
|
2040
|
+
spSelect__list_scrollable: vr,
|
|
2041
|
+
spSelect__option: gr,
|
|
2042
|
+
spSelect__error: xr,
|
|
2043
|
+
spSelect__error_absolutePosition: hr
|
|
2044
|
+
}, Sp = (e) => {
|
|
2038
2045
|
const {
|
|
2039
2046
|
options: t,
|
|
2040
2047
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2043,139 +2050,142 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2043
2050
|
variant: i = "outlined",
|
|
2044
2051
|
onChange: r,
|
|
2045
2052
|
onMouseEnter: s,
|
|
2046
|
-
error:
|
|
2047
|
-
label:
|
|
2053
|
+
error: d,
|
|
2054
|
+
label: p,
|
|
2048
2055
|
infoTooltipText: _,
|
|
2049
2056
|
tooltipPosition: u,
|
|
2050
|
-
disabled: g,
|
|
2057
|
+
disabled: g = !1,
|
|
2051
2058
|
required: h,
|
|
2052
|
-
maxHeightList: w =
|
|
2059
|
+
maxHeightList: w = nr,
|
|
2053
2060
|
isVisibleDefaultTitle: C = !0,
|
|
2054
|
-
isScrollableList:
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2061
|
+
isScrollableList: R = !1,
|
|
2062
|
+
isAbsolutePositionError: W = !1,
|
|
2063
|
+
classNameRoot: q,
|
|
2064
|
+
classNameError: A,
|
|
2065
|
+
classNameLabel: b,
|
|
2066
|
+
classNameBaseTooltipRoot: m
|
|
2067
|
+
} = e, [F, P] = te(!1), O = me(null);
|
|
2060
2068
|
xo(
|
|
2061
|
-
[
|
|
2069
|
+
[O],
|
|
2062
2070
|
() => {
|
|
2063
|
-
|
|
2071
|
+
P(!1);
|
|
2064
2072
|
},
|
|
2065
|
-
|
|
2073
|
+
F
|
|
2066
2074
|
);
|
|
2067
|
-
const
|
|
2068
|
-
r(
|
|
2069
|
-
},
|
|
2070
|
-
g ||
|
|
2071
|
-
},
|
|
2072
|
-
[
|
|
2073
|
-
[
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
[be.spSelect__container]: !0
|
|
2075
|
+
const Z = t.find((v) => v.value === n), ie = (v, N) => {
|
|
2076
|
+
r(v, { value: N, name: a }), P(!1);
|
|
2077
|
+
}, re = () => {
|
|
2078
|
+
g || P(!F);
|
|
2079
|
+
}, ue = f({
|
|
2080
|
+
[_e.spSelect]: !0,
|
|
2081
|
+
[_e.spSelect_error]: !!d,
|
|
2082
|
+
[_e.spSelect_absolutePositionError]: W,
|
|
2083
|
+
...q && { [q]: !0 }
|
|
2077
2084
|
}), ce = f({
|
|
2078
|
-
[
|
|
2079
|
-
|
|
2080
|
-
[
|
|
2081
|
-
|
|
2082
|
-
[
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
[
|
|
2086
|
-
}),
|
|
2087
|
-
[
|
|
2088
|
-
|
|
2089
|
-
|
|
2085
|
+
[_e.spSelect__container]: !0
|
|
2086
|
+
}), G = f({
|
|
2087
|
+
[_e.spSelect__control]: !0,
|
|
2088
|
+
[_e[`spSelect__control_${i}`]]: i,
|
|
2089
|
+
[_e.spSelect__control_disabled]: g
|
|
2090
|
+
}), J = f({
|
|
2091
|
+
[_e.spSelect__value]: !0,
|
|
2092
|
+
[_e.spSelect__value_empty]: !Z
|
|
2093
|
+
}), Q = f({
|
|
2094
|
+
[_e.spSelect__icon]: !0
|
|
2095
|
+
}), k = f({
|
|
2096
|
+
[_e.spSelect__list]: !0,
|
|
2097
|
+
[_e.spSelect__list_scrollable]: R
|
|
2098
|
+
}), $ = f({
|
|
2099
|
+
...b && { [b]: !0 }
|
|
2100
|
+
}), z = f({
|
|
2101
|
+
[_e.spSelect__error]: !0,
|
|
2102
|
+
[_e.spSelect__error_absolutePosition]: W,
|
|
2090
2103
|
...A && { [A]: !0 }
|
|
2091
|
-
}), H = f({
|
|
2092
|
-
[be.spSelect__error]: !0,
|
|
2093
|
-
...q && { [q]: !0 }
|
|
2094
2104
|
});
|
|
2095
|
-
return /* @__PURE__ */ U("div", { className:
|
|
2096
|
-
|
|
2097
|
-
|
|
2105
|
+
return /* @__PURE__ */ U("div", { className: ue, ref: O, children: [
|
|
2106
|
+
p && /* @__PURE__ */ l(
|
|
2107
|
+
jt,
|
|
2098
2108
|
{
|
|
2099
|
-
classNameRoot:
|
|
2109
|
+
classNameRoot: $,
|
|
2100
2110
|
tooltipPosition: u,
|
|
2101
2111
|
required: h,
|
|
2102
|
-
label:
|
|
2112
|
+
label: p,
|
|
2103
2113
|
infoTooltipText: _,
|
|
2104
|
-
classNameBaseTooltipRoot:
|
|
2114
|
+
classNameBaseTooltipRoot: m
|
|
2105
2115
|
}
|
|
2106
2116
|
),
|
|
2107
|
-
/* @__PURE__ */ U("div", { className:
|
|
2117
|
+
/* @__PURE__ */ U("div", { className: ce, onMouseEnter: s, children: [
|
|
2108
2118
|
/* @__PURE__ */ U(
|
|
2109
2119
|
"div",
|
|
2110
2120
|
{
|
|
2111
2121
|
tabIndex: g ? -1 : 0,
|
|
2112
2122
|
title: C ? n : void 0,
|
|
2113
|
-
className:
|
|
2114
|
-
onClick:
|
|
2123
|
+
className: G,
|
|
2124
|
+
onClick: re,
|
|
2115
2125
|
children: [
|
|
2116
|
-
/* @__PURE__ */
|
|
2117
|
-
/* @__PURE__ */
|
|
2118
|
-
|
|
2126
|
+
/* @__PURE__ */ l("div", { className: J, children: (Z == null ? void 0 : Z.label) || o }),
|
|
2127
|
+
/* @__PURE__ */ l(
|
|
2128
|
+
xe,
|
|
2119
2129
|
{
|
|
2120
2130
|
name: pe.SelectChevronDown,
|
|
2121
|
-
rotate:
|
|
2122
|
-
className:
|
|
2131
|
+
rotate: F ? 180 : void 0,
|
|
2132
|
+
className: Q
|
|
2123
2133
|
}
|
|
2124
2134
|
)
|
|
2125
2135
|
]
|
|
2126
2136
|
}
|
|
2127
2137
|
),
|
|
2128
|
-
|
|
2138
|
+
F && /* @__PURE__ */ l(
|
|
2129
2139
|
"div",
|
|
2130
2140
|
{
|
|
2131
|
-
className:
|
|
2132
|
-
style:
|
|
2133
|
-
children: t.map((
|
|
2134
|
-
const
|
|
2141
|
+
className: k,
|
|
2142
|
+
style: R ? { maxHeight: `${w}px` } : {},
|
|
2143
|
+
children: t.map((v) => {
|
|
2144
|
+
const N = v.value === n;
|
|
2135
2145
|
return /* @__PURE__ */ U(
|
|
2136
2146
|
"div",
|
|
2137
2147
|
{
|
|
2138
2148
|
className: f({
|
|
2139
|
-
[
|
|
2149
|
+
[_e.spSelect__option]: !0
|
|
2140
2150
|
}),
|
|
2141
|
-
onClick: (
|
|
2151
|
+
onClick: (j) => ie(j, v.value),
|
|
2142
2152
|
children: [
|
|
2143
|
-
|
|
2144
|
-
|
|
2153
|
+
v.label,
|
|
2154
|
+
N && /* @__PURE__ */ l(xe, { name: pe.Check, className: Q })
|
|
2145
2155
|
]
|
|
2146
2156
|
},
|
|
2147
|
-
|
|
2157
|
+
v.value
|
|
2148
2158
|
);
|
|
2149
2159
|
})
|
|
2150
2160
|
}
|
|
2151
2161
|
)
|
|
2152
2162
|
] }),
|
|
2153
|
-
|
|
2163
|
+
d && /* @__PURE__ */ l("div", { className: z, children: d })
|
|
2154
2164
|
] });
|
|
2155
|
-
},
|
|
2156
|
-
skeleton:
|
|
2157
|
-
},
|
|
2165
|
+
}, br = "_skeleton_1u7gu_43", yr = {
|
|
2166
|
+
skeleton: br
|
|
2167
|
+
}, Rp = (e) => {
|
|
2158
2168
|
const { width: t = "100%", height: o = "1rem", circle: n = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
2159
2169
|
width: t,
|
|
2160
2170
|
height: o,
|
|
2161
2171
|
borderRadius: n ? "50%" : "0",
|
|
2162
2172
|
...i
|
|
2163
2173
|
};
|
|
2164
|
-
return /* @__PURE__ */
|
|
2165
|
-
}, Nt = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1,
|
|
2166
|
-
spTable:
|
|
2167
|
-
spTable__tdContentCopyIcon:
|
|
2168
|
-
spTable__tdContent:
|
|
2169
|
-
spTable__tdColorContent:
|
|
2170
|
-
spTable__tdContentCopyIcon_copied:
|
|
2171
|
-
spTable__emptyPage:
|
|
2172
|
-
spStringsGroup:
|
|
2173
|
-
spStringsGroup__groupItem:
|
|
2174
|
-
spStringsGroup__groupItemHeader:
|
|
2175
|
-
spStringsGroup__groupItemContent:
|
|
2176
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
2177
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
2178
|
-
},
|
|
2174
|
+
return /* @__PURE__ */ l("div", { style: r, className: f(a, yr.skeleton) });
|
|
2175
|
+
}, Nt = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, wr = "_spTable_1vuaj_43", Cr = "_spTable__tdContentCopyIcon_1vuaj_62", kr = "_spTable__tdContent_1vuaj_62", Tr = "_spTable__tdColorContent_1vuaj_72", Nr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Er = "_spTable__emptyPage_1vuaj_89", Sr = "_spStringsGroup_1vuaj_105", Rr = "_spStringsGroup__groupItem_1vuaj_119", Fr = "_spStringsGroup__groupItemHeader_1vuaj_134", Ir = "_spStringsGroup__groupItemContent_1vuaj_138", jr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Ar = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2176
|
+
spTable: wr,
|
|
2177
|
+
spTable__tdContentCopyIcon: Cr,
|
|
2178
|
+
spTable__tdContent: kr,
|
|
2179
|
+
spTable__tdColorContent: Tr,
|
|
2180
|
+
spTable__tdContentCopyIcon_copied: Nr,
|
|
2181
|
+
spTable__emptyPage: Er,
|
|
2182
|
+
spStringsGroup: Sr,
|
|
2183
|
+
spStringsGroup__groupItem: Rr,
|
|
2184
|
+
spStringsGroup__groupItemHeader: Fr,
|
|
2185
|
+
spStringsGroup__groupItemContent: Ir,
|
|
2186
|
+
spStringsGroup__groupItemContentCopyIcon: jr,
|
|
2187
|
+
spStringsGroup__groupItemContentCopyIcon_copied: Ar
|
|
2188
|
+
}, Fp = (e) => {
|
|
2179
2189
|
const {
|
|
2180
2190
|
columns: t,
|
|
2181
2191
|
data: o,
|
|
@@ -2184,57 +2194,57 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2184
2194
|
classNameRoot: i
|
|
2185
2195
|
} = e, r = t.map((b) => o ? {
|
|
2186
2196
|
...b,
|
|
2187
|
-
isVisible: o.some((
|
|
2197
|
+
isVisible: o.some((m) => !!m[b.key])
|
|
2188
2198
|
} : b).filter((b) => b.isVisible), s = f({
|
|
2189
2199
|
[ye.spTable]: !0,
|
|
2190
2200
|
...i && { [i]: !0 }
|
|
2191
|
-
}),
|
|
2201
|
+
}), d = f({
|
|
2192
2202
|
[ye.spTable__tdContent]: !0
|
|
2193
|
-
}),
|
|
2203
|
+
}), p = f({
|
|
2194
2204
|
[ye.spTable__tdColorContent]: !0
|
|
2195
2205
|
}), _ = f({
|
|
2196
2206
|
[ye.spTable__emptyPage]: !0
|
|
2197
2207
|
}), [u, g] = te(null), h = (b) => {
|
|
2198
|
-
const { text:
|
|
2199
|
-
(u == null ? void 0 : u.rowIndex) ===
|
|
2200
|
-
g({ rowIndex:
|
|
2208
|
+
const { text: m, rowIndex: F, colIndex: P } = b;
|
|
2209
|
+
(u == null ? void 0 : u.rowIndex) === F && (u == null ? void 0 : u.colIndex) === P || navigator.clipboard.writeText(m).then(() => {
|
|
2210
|
+
g({ rowIndex: F, colIndex: P });
|
|
2201
2211
|
}).catch((O) => {
|
|
2202
2212
|
console.error("Ошибка при копировании:", O);
|
|
2203
2213
|
});
|
|
2204
2214
|
}, w = () => {
|
|
2205
2215
|
g(null);
|
|
2206
|
-
}, C = () => /* @__PURE__ */
|
|
2216
|
+
}, C = () => /* @__PURE__ */ l("div", { className: _, children: "Данные отсутствуют" }), R = ({
|
|
2207
2217
|
row: b,
|
|
2208
|
-
col:
|
|
2218
|
+
col: m
|
|
2209
2219
|
}) => {
|
|
2210
|
-
const
|
|
2211
|
-
if (!
|
|
2212
|
-
const [
|
|
2220
|
+
const F = b[m.key];
|
|
2221
|
+
if (!F) return null;
|
|
2222
|
+
const [P, O] = F.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2213
2223
|
return /* @__PURE__ */ U("span", { children: [
|
|
2214
|
-
|
|
2215
|
-
O && /* @__PURE__ */
|
|
2224
|
+
P,
|
|
2225
|
+
O && /* @__PURE__ */ l("span", { className: p, children: ` ${O}` })
|
|
2216
2226
|
] });
|
|
2217
|
-
},
|
|
2218
|
-
/* @__PURE__ */
|
|
2227
|
+
}, W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ U("table", { className: s, children: [
|
|
2228
|
+
/* @__PURE__ */ l("colgroup", { children: r.map((b, m, F) => /* @__PURE__ */ l(
|
|
2219
2229
|
"col",
|
|
2220
2230
|
{
|
|
2221
2231
|
style: {
|
|
2222
|
-
width: `calc(100%/${
|
|
2232
|
+
width: `calc(100%/${F.length})`
|
|
2223
2233
|
}
|
|
2224
2234
|
},
|
|
2225
|
-
|
|
2235
|
+
m
|
|
2226
2236
|
)) }),
|
|
2227
|
-
/* @__PURE__ */
|
|
2228
|
-
/* @__PURE__ */
|
|
2229
|
-
const O = (u == null ? void 0 : u.rowIndex) ===
|
|
2230
|
-
return /* @__PURE__ */
|
|
2237
|
+
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: r.map((b, m) => /* @__PURE__ */ l("th", { children: b.title }, m)) }) }),
|
|
2238
|
+
/* @__PURE__ */ l("tbody", { children: o.map((b, m) => b ? /* @__PURE__ */ l("tr", { children: r.map((F, P) => {
|
|
2239
|
+
const O = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === P;
|
|
2240
|
+
return /* @__PURE__ */ l(
|
|
2231
2241
|
"td",
|
|
2232
2242
|
{
|
|
2233
2243
|
onMouseLeave: O ? w : void 0,
|
|
2234
|
-
children: /* @__PURE__ */ U("div", { className:
|
|
2235
|
-
/* @__PURE__ */
|
|
2236
|
-
!Nt(b[
|
|
2237
|
-
|
|
2244
|
+
children: /* @__PURE__ */ U("div", { className: d, children: [
|
|
2245
|
+
/* @__PURE__ */ l("span", { children: F.isColorContentsCurlyBrackets ? R({ row: b, col: F }) : b[F.key] }),
|
|
2246
|
+
!Nt(b[F.key]) && F.isBeCopiedValue && /* @__PURE__ */ l(
|
|
2247
|
+
xe,
|
|
2238
2248
|
{
|
|
2239
2249
|
className: f({
|
|
2240
2250
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
@@ -2242,31 +2252,31 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2242
2252
|
}),
|
|
2243
2253
|
name: O ? pe.Check : pe.Copy,
|
|
2244
2254
|
onClick: () => {
|
|
2245
|
-
const
|
|
2246
|
-
if (!
|
|
2255
|
+
const Z = b[F.key];
|
|
2256
|
+
if (!Z) return null;
|
|
2247
2257
|
h({
|
|
2248
|
-
text:
|
|
2249
|
-
rowIndex:
|
|
2250
|
-
colIndex:
|
|
2258
|
+
text: Z,
|
|
2259
|
+
rowIndex: m,
|
|
2260
|
+
colIndex: P
|
|
2251
2261
|
});
|
|
2252
2262
|
}
|
|
2253
2263
|
}
|
|
2254
2264
|
)
|
|
2255
2265
|
] })
|
|
2256
2266
|
},
|
|
2257
|
-
`${
|
|
2267
|
+
`${m}:${P}`
|
|
2258
2268
|
);
|
|
2259
|
-
}) },
|
|
2260
|
-
] }) : C(), q = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
2269
|
+
}) }, m) : null) })
|
|
2270
|
+
] }) : C(), q = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ l(
|
|
2261
2271
|
"div",
|
|
2262
2272
|
{
|
|
2263
2273
|
className: f({
|
|
2264
2274
|
[ye.spStringsGroup]: !0
|
|
2265
2275
|
}),
|
|
2266
|
-
children: o.map((b,
|
|
2267
|
-
if (Nt(b[
|
|
2276
|
+
children: o.map((b, m) => b ? /* @__PURE__ */ l("div", { children: r.map((F, P) => {
|
|
2277
|
+
if (Nt(b[F.key]))
|
|
2268
2278
|
return null;
|
|
2269
|
-
const O = (u == null ? void 0 : u.rowIndex) ===
|
|
2279
|
+
const O = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === P;
|
|
2270
2280
|
return /* @__PURE__ */ U(
|
|
2271
2281
|
"div",
|
|
2272
2282
|
{
|
|
@@ -2275,13 +2285,13 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2275
2285
|
}),
|
|
2276
2286
|
onMouseLeave: O ? w : void 0,
|
|
2277
2287
|
children: [
|
|
2278
|
-
/* @__PURE__ */
|
|
2288
|
+
/* @__PURE__ */ l(
|
|
2279
2289
|
"div",
|
|
2280
2290
|
{
|
|
2281
2291
|
className: f({
|
|
2282
2292
|
[ye.spStringsGroup__groupItemHeader]: !0
|
|
2283
2293
|
}),
|
|
2284
|
-
children:
|
|
2294
|
+
children: F.title
|
|
2285
2295
|
}
|
|
2286
2296
|
),
|
|
2287
2297
|
/* @__PURE__ */ U(
|
|
@@ -2291,9 +2301,9 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2291
2301
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
2292
2302
|
}),
|
|
2293
2303
|
children: [
|
|
2294
|
-
/* @__PURE__ */
|
|
2295
|
-
|
|
2296
|
-
|
|
2304
|
+
/* @__PURE__ */ l("span", { children: F.isColorContentsCurlyBrackets ? R({ row: b, col: F }) : b[F.key] }),
|
|
2305
|
+
F.isBeCopiedValue && /* @__PURE__ */ l(
|
|
2306
|
+
xe,
|
|
2297
2307
|
{
|
|
2298
2308
|
className: f({
|
|
2299
2309
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
@@ -2301,12 +2311,12 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2301
2311
|
}),
|
|
2302
2312
|
name: O ? pe.Check : pe.Copy,
|
|
2303
2313
|
onClick: () => {
|
|
2304
|
-
const
|
|
2305
|
-
if (!
|
|
2314
|
+
const Z = b[F.key];
|
|
2315
|
+
if (!Z) return null;
|
|
2306
2316
|
h({
|
|
2307
|
-
text:
|
|
2308
|
-
rowIndex:
|
|
2309
|
-
colIndex:
|
|
2317
|
+
text: Z,
|
|
2318
|
+
rowIndex: m,
|
|
2319
|
+
colIndex: P
|
|
2310
2320
|
});
|
|
2311
2321
|
}
|
|
2312
2322
|
}
|
|
@@ -2316,23 +2326,23 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2316
2326
|
)
|
|
2317
2327
|
]
|
|
2318
2328
|
},
|
|
2319
|
-
|
|
2329
|
+
P
|
|
2320
2330
|
);
|
|
2321
|
-
}) },
|
|
2331
|
+
}) }, m) : null)
|
|
2322
2332
|
}
|
|
2323
2333
|
) : C();
|
|
2324
|
-
return n ? a ?
|
|
2325
|
-
},
|
|
2326
|
-
spTabs:
|
|
2327
|
-
spTabs_separated:
|
|
2334
|
+
return n ? a ? W() : q() : W();
|
|
2335
|
+
}, Lr = "_spTabs_1citb_43", Dr = "_spTabs_separated_1citb_48", Pr = "_spTabs__tabElement_1citb_48", Or = "_spTabs__tabElement_active_1citb_83", Br = "_spTabs__triggerTooltip_1citb_90", Fe = {
|
|
2336
|
+
spTabs: Lr,
|
|
2337
|
+
spTabs_separated: Dr,
|
|
2328
2338
|
"spTabs--size-md": "_spTabs--size-md_1citb_48",
|
|
2329
|
-
spTabs__tabElement:
|
|
2339
|
+
spTabs__tabElement: Pr,
|
|
2330
2340
|
"spTabs--size-lg": "_spTabs--size-lg_1citb_51",
|
|
2331
2341
|
"spTabs--variant-contained": "_spTabs--variant-contained_1citb_54",
|
|
2332
|
-
spTabs__tabElement_active:
|
|
2333
|
-
spTabs__triggerTooltip:
|
|
2342
|
+
spTabs__tabElement_active: Or,
|
|
2343
|
+
spTabs__triggerTooltip: Br,
|
|
2334
2344
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
2335
|
-
},
|
|
2345
|
+
}, Ip = (e) => {
|
|
2336
2346
|
const {
|
|
2337
2347
|
panes: t,
|
|
2338
2348
|
isSeparated: o = !1,
|
|
@@ -2346,9 +2356,9 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2346
2356
|
[Fe[`spTabs--variant-${i}`]]: i,
|
|
2347
2357
|
[Fe[`spTabs--size-${r}`]]: r,
|
|
2348
2358
|
...n && { [n]: !0 }
|
|
2349
|
-
}),
|
|
2359
|
+
}), d = f({
|
|
2350
2360
|
[Fe.spTabs__triggerTooltip]: !0
|
|
2351
|
-
}),
|
|
2361
|
+
}), p = () => {
|
|
2352
2362
|
switch (r) {
|
|
2353
2363
|
case "md":
|
|
2354
2364
|
return "p2";
|
|
@@ -2356,7 +2366,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2356
2366
|
return "p1";
|
|
2357
2367
|
}
|
|
2358
2368
|
};
|
|
2359
|
-
return /* @__PURE__ */
|
|
2369
|
+
return /* @__PURE__ */ l("div", { className: s, children: t.map((_, u) => {
|
|
2360
2370
|
const { name: g, active: h, onClick: w, infoTooltipText: C } = _;
|
|
2361
2371
|
return /* @__PURE__ */ U(
|
|
2362
2372
|
"div",
|
|
@@ -2367,11 +2377,11 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2367
2377
|
}),
|
|
2368
2378
|
onClick: w,
|
|
2369
2379
|
children: [
|
|
2370
|
-
/* @__PURE__ */
|
|
2371
|
-
!!C && /* @__PURE__ */
|
|
2380
|
+
/* @__PURE__ */ l(Ne, { type: p(), children: g }),
|
|
2381
|
+
!!C && /* @__PURE__ */ l(
|
|
2372
2382
|
tt,
|
|
2373
2383
|
{
|
|
2374
|
-
classNameTriggerTooltip:
|
|
2384
|
+
classNameTriggerTooltip: d,
|
|
2375
2385
|
text: C,
|
|
2376
2386
|
classNameBaseTooltipRoot: a
|
|
2377
2387
|
}
|
|
@@ -2381,16 +2391,16 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2381
2391
|
_.key || u
|
|
2382
2392
|
);
|
|
2383
2393
|
}) });
|
|
2384
|
-
},
|
|
2385
|
-
spTextWithLabel:
|
|
2386
|
-
},
|
|
2394
|
+
}, Wr = "_spTextWithLabel_1dr7p_1", zr = {
|
|
2395
|
+
spTextWithLabel: Wr
|
|
2396
|
+
}, jp = (e) => {
|
|
2387
2397
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2388
|
-
return /* @__PURE__ */ U("div", { className:
|
|
2389
|
-
/* @__PURE__ */
|
|
2390
|
-
/* @__PURE__ */
|
|
2398
|
+
return /* @__PURE__ */ U("div", { className: zr.spTextWithLabel, style: { ...n }, children: [
|
|
2399
|
+
/* @__PURE__ */ l(jt, { label: o }),
|
|
2400
|
+
/* @__PURE__ */ l(Ne, { ...a, children: t })
|
|
2391
2401
|
] });
|
|
2392
2402
|
};
|
|
2393
|
-
function
|
|
2403
|
+
function je(e, t, o, n) {
|
|
2394
2404
|
function a(i) {
|
|
2395
2405
|
return i instanceof o ? i : new o(function(r) {
|
|
2396
2406
|
r(i);
|
|
@@ -2399,25 +2409,25 @@ function Ae(e, t, o, n) {
|
|
|
2399
2409
|
return new (o || (o = Promise))(function(i, r) {
|
|
2400
2410
|
function s(_) {
|
|
2401
2411
|
try {
|
|
2402
|
-
|
|
2412
|
+
p(n.next(_));
|
|
2403
2413
|
} catch (u) {
|
|
2404
2414
|
r(u);
|
|
2405
2415
|
}
|
|
2406
2416
|
}
|
|
2407
|
-
function
|
|
2417
|
+
function d(_) {
|
|
2408
2418
|
try {
|
|
2409
|
-
|
|
2419
|
+
p(n.throw(_));
|
|
2410
2420
|
} catch (u) {
|
|
2411
2421
|
r(u);
|
|
2412
2422
|
}
|
|
2413
2423
|
}
|
|
2414
|
-
function
|
|
2415
|
-
_.done ? i(_.value) : a(_.value).then(s,
|
|
2424
|
+
function p(_) {
|
|
2425
|
+
_.done ? i(_.value) : a(_.value).then(s, d);
|
|
2416
2426
|
}
|
|
2417
|
-
|
|
2427
|
+
p((n = n.apply(e, t || [])).next());
|
|
2418
2428
|
});
|
|
2419
2429
|
}
|
|
2420
|
-
const
|
|
2430
|
+
const Mr = /* @__PURE__ */ new Map([
|
|
2421
2431
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
2422
2432
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
2423
2433
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -3620,14 +3630,14 @@ const Pr = /* @__PURE__ */ new Map([
|
|
|
3620
3630
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
3621
3631
|
["zsh", "text/x-scriptzsh"]
|
|
3622
3632
|
]);
|
|
3623
|
-
function
|
|
3624
|
-
const n =
|
|
3633
|
+
function Pe(e, t, o) {
|
|
3634
|
+
const n = Ur(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3625
3635
|
return typeof n.path != "string" && eo(n, "path", i), eo(n, "relativePath", i), n;
|
|
3626
3636
|
}
|
|
3627
|
-
function
|
|
3637
|
+
function Ur(e) {
|
|
3628
3638
|
const { name: t } = e;
|
|
3629
3639
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3630
|
-
const n = t.split(".").pop().toLowerCase(), a =
|
|
3640
|
+
const n = t.split(".").pop().toLowerCase(), a = Mr.get(n);
|
|
3631
3641
|
a && Object.defineProperty(e, "type", {
|
|
3632
3642
|
value: a,
|
|
3633
3643
|
writable: !1,
|
|
@@ -3645,49 +3655,49 @@ function eo(e, t, o) {
|
|
|
3645
3655
|
enumerable: !0
|
|
3646
3656
|
});
|
|
3647
3657
|
}
|
|
3648
|
-
const
|
|
3658
|
+
const qr = [
|
|
3649
3659
|
// Thumbnail cache files for macOS and Windows
|
|
3650
3660
|
".DS_Store",
|
|
3651
3661
|
// macOs
|
|
3652
3662
|
"Thumbs.db"
|
|
3653
3663
|
// Windows
|
|
3654
3664
|
];
|
|
3655
|
-
function
|
|
3656
|
-
return
|
|
3657
|
-
return Ze(e) &&
|
|
3665
|
+
function $r(e) {
|
|
3666
|
+
return je(this, void 0, void 0, function* () {
|
|
3667
|
+
return Ze(e) && Hr(e.dataTransfer) ? Kr(e.dataTransfer, e.type) : Vr(e) ? Yr(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Gr(e) : [];
|
|
3658
3668
|
});
|
|
3659
3669
|
}
|
|
3660
|
-
function
|
|
3670
|
+
function Hr(e) {
|
|
3661
3671
|
return Ze(e);
|
|
3662
3672
|
}
|
|
3663
|
-
function
|
|
3673
|
+
function Vr(e) {
|
|
3664
3674
|
return Ze(e) && Ze(e.target);
|
|
3665
3675
|
}
|
|
3666
3676
|
function Ze(e) {
|
|
3667
3677
|
return typeof e == "object" && e !== null;
|
|
3668
3678
|
}
|
|
3669
|
-
function
|
|
3670
|
-
return Et(e.target.files).map((t) =>
|
|
3679
|
+
function Yr(e) {
|
|
3680
|
+
return Et(e.target.files).map((t) => Pe(t));
|
|
3671
3681
|
}
|
|
3672
|
-
function
|
|
3673
|
-
return
|
|
3674
|
-
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) =>
|
|
3682
|
+
function Gr(e) {
|
|
3683
|
+
return je(this, void 0, void 0, function* () {
|
|
3684
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3675
3685
|
});
|
|
3676
3686
|
}
|
|
3677
|
-
function
|
|
3678
|
-
return
|
|
3687
|
+
function Kr(e, t) {
|
|
3688
|
+
return je(this, void 0, void 0, function* () {
|
|
3679
3689
|
if (e.items) {
|
|
3680
3690
|
const o = Et(e.items).filter((a) => a.kind === "file");
|
|
3681
3691
|
if (t !== "drop")
|
|
3682
3692
|
return o;
|
|
3683
|
-
const n = yield Promise.all(o.map(
|
|
3693
|
+
const n = yield Promise.all(o.map(Xr));
|
|
3684
3694
|
return to(Eo(n));
|
|
3685
3695
|
}
|
|
3686
|
-
return to(Et(e.files).map((o) =>
|
|
3696
|
+
return to(Et(e.files).map((o) => Pe(o)));
|
|
3687
3697
|
});
|
|
3688
3698
|
}
|
|
3689
3699
|
function to(e) {
|
|
3690
|
-
return e.filter((t) =>
|
|
3700
|
+
return e.filter((t) => qr.indexOf(t.name) === -1);
|
|
3691
3701
|
}
|
|
3692
3702
|
function Et(e) {
|
|
3693
3703
|
if (e === null)
|
|
@@ -3699,7 +3709,7 @@ function Et(e) {
|
|
|
3699
3709
|
}
|
|
3700
3710
|
return t;
|
|
3701
3711
|
}
|
|
3702
|
-
function
|
|
3712
|
+
function Xr(e) {
|
|
3703
3713
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3704
3714
|
return oo(e);
|
|
3705
3715
|
const t = e.webkitGetAsEntry();
|
|
@@ -3712,7 +3722,7 @@ function Eo(e) {
|
|
|
3712
3722
|
], []);
|
|
3713
3723
|
}
|
|
3714
3724
|
function oo(e, t) {
|
|
3715
|
-
return
|
|
3725
|
+
return je(this, void 0, void 0, function* () {
|
|
3716
3726
|
var o;
|
|
3717
3727
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3718
3728
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3720,18 +3730,18 @@ function oo(e, t) {
|
|
|
3720
3730
|
throw new Error(`${e} is not a File`);
|
|
3721
3731
|
if (i !== void 0) {
|
|
3722
3732
|
const r = yield i.getFile();
|
|
3723
|
-
return r.handle = i,
|
|
3733
|
+
return r.handle = i, Pe(r);
|
|
3724
3734
|
}
|
|
3725
3735
|
}
|
|
3726
3736
|
const n = e.getAsFile();
|
|
3727
3737
|
if (!n)
|
|
3728
3738
|
throw new Error(`${e} is not a File`);
|
|
3729
|
-
return
|
|
3739
|
+
return Pe(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
3730
3740
|
});
|
|
3731
3741
|
}
|
|
3732
|
-
function
|
|
3733
|
-
return
|
|
3734
|
-
return e.isDirectory ? So(e) :
|
|
3742
|
+
function Zr(e) {
|
|
3743
|
+
return je(this, void 0, void 0, function* () {
|
|
3744
|
+
return e.isDirectory ? So(e) : Qr(e);
|
|
3735
3745
|
});
|
|
3736
3746
|
}
|
|
3737
3747
|
function So(e) {
|
|
@@ -3739,9 +3749,9 @@ function So(e) {
|
|
|
3739
3749
|
return new Promise((o, n) => {
|
|
3740
3750
|
const a = [];
|
|
3741
3751
|
function i() {
|
|
3742
|
-
t.readEntries((r) =>
|
|
3752
|
+
t.readEntries((r) => je(this, void 0, void 0, function* () {
|
|
3743
3753
|
if (r.length) {
|
|
3744
|
-
const s = Promise.all(r.map(
|
|
3754
|
+
const s = Promise.all(r.map(Zr));
|
|
3745
3755
|
a.push(s), i();
|
|
3746
3756
|
} else
|
|
3747
3757
|
try {
|
|
@@ -3757,11 +3767,11 @@ function So(e) {
|
|
|
3757
3767
|
i();
|
|
3758
3768
|
});
|
|
3759
3769
|
}
|
|
3760
|
-
function
|
|
3761
|
-
return
|
|
3770
|
+
function Qr(e) {
|
|
3771
|
+
return je(this, void 0, void 0, function* () {
|
|
3762
3772
|
return new Promise((t, o) => {
|
|
3763
3773
|
e.file((n) => {
|
|
3764
|
-
const a =
|
|
3774
|
+
const a = Pe(n, e.fullPath);
|
|
3765
3775
|
t(a);
|
|
3766
3776
|
}, (n) => {
|
|
3767
3777
|
o(n);
|
|
@@ -3783,16 +3793,16 @@ var yt = function(e, t) {
|
|
|
3783
3793
|
return !0;
|
|
3784
3794
|
};
|
|
3785
3795
|
function no(e) {
|
|
3786
|
-
return
|
|
3796
|
+
return ts(e) || es(e) || Fo(e) || Jr();
|
|
3787
3797
|
}
|
|
3788
|
-
function
|
|
3798
|
+
function Jr() {
|
|
3789
3799
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3790
3800
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3791
3801
|
}
|
|
3792
|
-
function
|
|
3802
|
+
function es(e) {
|
|
3793
3803
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3794
3804
|
}
|
|
3795
|
-
function
|
|
3805
|
+
function ts(e) {
|
|
3796
3806
|
if (Array.isArray(e)) return St(e);
|
|
3797
3807
|
}
|
|
3798
3808
|
function ao(e, t) {
|
|
@@ -3820,9 +3830,9 @@ function Ro(e, t, o) {
|
|
|
3820
3830
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
3821
3831
|
}
|
|
3822
3832
|
function Me(e, t) {
|
|
3823
|
-
return
|
|
3833
|
+
return as(e) || ns(e, t) || Fo(e, t) || os();
|
|
3824
3834
|
}
|
|
3825
|
-
function
|
|
3835
|
+
function os() {
|
|
3826
3836
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3827
3837
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3828
3838
|
}
|
|
@@ -3840,15 +3850,15 @@ function St(e, t) {
|
|
|
3840
3850
|
n[o] = e[o];
|
|
3841
3851
|
return n;
|
|
3842
3852
|
}
|
|
3843
|
-
function
|
|
3853
|
+
function ns(e, t) {
|
|
3844
3854
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3845
3855
|
if (o != null) {
|
|
3846
3856
|
var n = [], a = !0, i = !1, r, s;
|
|
3847
3857
|
try {
|
|
3848
3858
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
3849
3859
|
;
|
|
3850
|
-
} catch (
|
|
3851
|
-
i = !0, s =
|
|
3860
|
+
} catch (d) {
|
|
3861
|
+
i = !0, s = d;
|
|
3852
3862
|
} finally {
|
|
3853
3863
|
try {
|
|
3854
3864
|
!a && o.return != null && o.return();
|
|
@@ -3859,55 +3869,55 @@ function Jr(e, t) {
|
|
|
3859
3869
|
return n;
|
|
3860
3870
|
}
|
|
3861
3871
|
}
|
|
3862
|
-
function
|
|
3872
|
+
function as(e) {
|
|
3863
3873
|
if (Array.isArray(e)) return e;
|
|
3864
3874
|
}
|
|
3865
|
-
var
|
|
3866
|
-
FileInvalidType:
|
|
3867
|
-
FileTooLarge:
|
|
3868
|
-
FileTooSmall:
|
|
3869
|
-
},
|
|
3875
|
+
var is = typeof yt == "function" ? yt : yt.default, Io = "file-invalid-type", jo = "file-too-large", Ao = "file-too-small", rs = "too-many-files", wt = {
|
|
3876
|
+
FileInvalidType: Io,
|
|
3877
|
+
FileTooLarge: jo,
|
|
3878
|
+
FileTooSmall: Ao
|
|
3879
|
+
}, ss = function() {
|
|
3870
3880
|
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];
|
|
3871
3881
|
return {
|
|
3872
|
-
code:
|
|
3882
|
+
code: Io,
|
|
3873
3883
|
message: "File type must be ".concat(n)
|
|
3874
3884
|
};
|
|
3875
3885
|
}, ro = function(t) {
|
|
3876
3886
|
return {
|
|
3877
|
-
code:
|
|
3887
|
+
code: jo,
|
|
3878
3888
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3879
3889
|
};
|
|
3880
3890
|
}, so = function(t) {
|
|
3881
3891
|
return {
|
|
3882
|
-
code:
|
|
3892
|
+
code: Ao,
|
|
3883
3893
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3884
3894
|
};
|
|
3885
|
-
},
|
|
3886
|
-
code:
|
|
3895
|
+
}, ps = {
|
|
3896
|
+
code: rs,
|
|
3887
3897
|
message: "Too many files"
|
|
3888
3898
|
};
|
|
3889
3899
|
function Lo(e, t) {
|
|
3890
|
-
var o = e.type === "application/x-moz-file" ||
|
|
3891
|
-
return [o, o ? null :
|
|
3900
|
+
var o = e.type === "application/x-moz-file" || is(e, t);
|
|
3901
|
+
return [o, o ? null : ss(t)];
|
|
3892
3902
|
}
|
|
3893
3903
|
function Do(e, t, o) {
|
|
3894
|
-
if (
|
|
3895
|
-
if (
|
|
3904
|
+
if (Ie(e.size))
|
|
3905
|
+
if (Ie(t) && Ie(o)) {
|
|
3896
3906
|
if (e.size > o) return [!1, ro(o)];
|
|
3897
3907
|
if (e.size < t) return [!1, so(t)];
|
|
3898
3908
|
} else {
|
|
3899
|
-
if (
|
|
3900
|
-
if (
|
|
3909
|
+
if (Ie(t) && e.size < t) return [!1, so(t)];
|
|
3910
|
+
if (Ie(o) && e.size > o) return [!1, ro(o)];
|
|
3901
3911
|
}
|
|
3902
3912
|
return [!0, null];
|
|
3903
3913
|
}
|
|
3904
|
-
function
|
|
3914
|
+
function Ie(e) {
|
|
3905
3915
|
return e != null;
|
|
3906
3916
|
}
|
|
3907
|
-
function
|
|
3917
|
+
function ls(e) {
|
|
3908
3918
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
3909
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
3910
|
-
var
|
|
3919
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(d) {
|
|
3920
|
+
var p = Lo(d, o), _ = Me(p, 1), u = _[0], g = Do(d, n, a), h = Me(g, 1), w = h[0], C = s ? s(d) : null;
|
|
3911
3921
|
return u && w && !C;
|
|
3912
3922
|
});
|
|
3913
3923
|
}
|
|
@@ -3922,17 +3932,17 @@ function Xe(e) {
|
|
|
3922
3932
|
function po(e) {
|
|
3923
3933
|
e.preventDefault();
|
|
3924
3934
|
}
|
|
3925
|
-
function
|
|
3935
|
+
function cs(e) {
|
|
3926
3936
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
3927
3937
|
}
|
|
3928
|
-
function
|
|
3938
|
+
function ds(e) {
|
|
3929
3939
|
return e.indexOf("Edge/") !== -1;
|
|
3930
3940
|
}
|
|
3931
|
-
function
|
|
3941
|
+
function ms() {
|
|
3932
3942
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
3933
|
-
return
|
|
3943
|
+
return cs(e) || ds(e);
|
|
3934
3944
|
}
|
|
3935
|
-
function
|
|
3945
|
+
function Te() {
|
|
3936
3946
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
3937
3947
|
t[o] = arguments[o];
|
|
3938
3948
|
return function(n) {
|
|
@@ -3943,14 +3953,14 @@ function ke() {
|
|
|
3943
3953
|
});
|
|
3944
3954
|
};
|
|
3945
3955
|
}
|
|
3946
|
-
function
|
|
3956
|
+
function us() {
|
|
3947
3957
|
return "showOpenFilePicker" in window;
|
|
3948
3958
|
}
|
|
3949
|
-
function
|
|
3950
|
-
if (
|
|
3959
|
+
function _s(e) {
|
|
3960
|
+
if (Ie(e)) {
|
|
3951
3961
|
var t = Object.entries(e).filter(function(o) {
|
|
3952
3962
|
var n = Me(o, 2), a = n[0], i = n[1], r = !0;
|
|
3953
|
-
return
|
|
3963
|
+
return Po(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(Oo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
3954
3964
|
}).reduce(function(o, n) {
|
|
3955
3965
|
var a = Me(n, 2), i = a[0], r = a[1];
|
|
3956
3966
|
return io(io({}, o), {}, Ro({}, i, r));
|
|
@@ -3963,45 +3973,45 @@ function cs(e) {
|
|
|
3963
3973
|
}
|
|
3964
3974
|
return e;
|
|
3965
3975
|
}
|
|
3966
|
-
function
|
|
3967
|
-
if (
|
|
3976
|
+
function fs(e) {
|
|
3977
|
+
if (Ie(e))
|
|
3968
3978
|
return Object.entries(e).reduce(function(t, o) {
|
|
3969
3979
|
var n = Me(o, 2), a = n[0], i = n[1];
|
|
3970
3980
|
return [].concat(no(t), [a], no(i));
|
|
3971
3981
|
}, []).filter(function(t) {
|
|
3972
|
-
return
|
|
3982
|
+
return Po(t) || Oo(t);
|
|
3973
3983
|
}).join(",");
|
|
3974
3984
|
}
|
|
3975
|
-
function
|
|
3985
|
+
function vs(e) {
|
|
3976
3986
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
3977
3987
|
}
|
|
3978
|
-
function
|
|
3988
|
+
function gs(e) {
|
|
3979
3989
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
3980
3990
|
}
|
|
3981
|
-
function
|
|
3991
|
+
function Po(e) {
|
|
3982
3992
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
3983
3993
|
}
|
|
3984
|
-
function
|
|
3994
|
+
function Oo(e) {
|
|
3985
3995
|
return /^.*\.[\w]+$/.test(e);
|
|
3986
3996
|
}
|
|
3987
|
-
var
|
|
3988
|
-
function
|
|
3989
|
-
return
|
|
3997
|
+
var xs = ["children"], hs = ["open"], bs = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ys = ["refKey", "onChange", "onClick"];
|
|
3998
|
+
function ws(e) {
|
|
3999
|
+
return Ts(e) || ks(e) || Bo(e) || Cs();
|
|
3990
4000
|
}
|
|
3991
|
-
function
|
|
4001
|
+
function Cs() {
|
|
3992
4002
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3993
4003
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3994
4004
|
}
|
|
3995
|
-
function
|
|
4005
|
+
function ks(e) {
|
|
3996
4006
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3997
4007
|
}
|
|
3998
|
-
function
|
|
4008
|
+
function Ts(e) {
|
|
3999
4009
|
if (Array.isArray(e)) return Rt(e);
|
|
4000
4010
|
}
|
|
4001
4011
|
function Ct(e, t) {
|
|
4002
|
-
return
|
|
4012
|
+
return Ss(e) || Es(e, t) || Bo(e, t) || Ns();
|
|
4003
4013
|
}
|
|
4004
|
-
function
|
|
4014
|
+
function Ns() {
|
|
4005
4015
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4006
4016
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4007
4017
|
}
|
|
@@ -4019,15 +4029,15 @@ function Rt(e, t) {
|
|
|
4019
4029
|
n[o] = e[o];
|
|
4020
4030
|
return n;
|
|
4021
4031
|
}
|
|
4022
|
-
function
|
|
4032
|
+
function Es(e, t) {
|
|
4023
4033
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4024
4034
|
if (o != null) {
|
|
4025
4035
|
var n = [], a = !0, i = !1, r, s;
|
|
4026
4036
|
try {
|
|
4027
4037
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
4028
4038
|
;
|
|
4029
|
-
} catch (
|
|
4030
|
-
i = !0, s =
|
|
4039
|
+
} catch (d) {
|
|
4040
|
+
i = !0, s = d;
|
|
4031
4041
|
} finally {
|
|
4032
4042
|
try {
|
|
4033
4043
|
!a && o.return != null && o.return();
|
|
@@ -4038,7 +4048,7 @@ function Cs(e, t) {
|
|
|
4038
4048
|
return n;
|
|
4039
4049
|
}
|
|
4040
4050
|
}
|
|
4041
|
-
function
|
|
4051
|
+
function Ss(e) {
|
|
4042
4052
|
if (Array.isArray(e)) return e;
|
|
4043
4053
|
}
|
|
4044
4054
|
function lo(e, t) {
|
|
@@ -4051,7 +4061,7 @@ function lo(e, t) {
|
|
|
4051
4061
|
}
|
|
4052
4062
|
return o;
|
|
4053
4063
|
}
|
|
4054
|
-
function
|
|
4064
|
+
function ee(e) {
|
|
4055
4065
|
for (var t = 1; t < arguments.length; t++) {
|
|
4056
4066
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4057
4067
|
t % 2 ? lo(Object(o), !0).forEach(function(n) {
|
|
@@ -4067,7 +4077,7 @@ function Ft(e, t, o) {
|
|
|
4067
4077
|
}
|
|
4068
4078
|
function Je(e, t) {
|
|
4069
4079
|
if (e == null) return {};
|
|
4070
|
-
var o =
|
|
4080
|
+
var o = Rs(e, t), n, a;
|
|
4071
4081
|
if (Object.getOwnPropertySymbols) {
|
|
4072
4082
|
var i = Object.getOwnPropertySymbols(e);
|
|
4073
4083
|
for (a = 0; a < i.length; a++)
|
|
@@ -4075,7 +4085,7 @@ function Je(e, t) {
|
|
|
4075
4085
|
}
|
|
4076
4086
|
return o;
|
|
4077
4087
|
}
|
|
4078
|
-
function
|
|
4088
|
+
function Rs(e, t) {
|
|
4079
4089
|
if (e == null) return {};
|
|
4080
4090
|
var o = {}, n = Object.keys(e), a, i;
|
|
4081
4091
|
for (i = 0; i < n.length; i++)
|
|
@@ -4083,19 +4093,19 @@ function Ts(e, t) {
|
|
|
4083
4093
|
return o;
|
|
4084
4094
|
}
|
|
4085
4095
|
var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
4086
|
-
var o = e.children, n = Je(e,
|
|
4096
|
+
var o = e.children, n = Je(e, xs), a = zo(n), i = a.open, r = Je(a, hs);
|
|
4087
4097
|
return Go(t, function() {
|
|
4088
4098
|
return {
|
|
4089
4099
|
open: i
|
|
4090
4100
|
};
|
|
4091
|
-
}, [i]), /* @__PURE__ */ Ue.createElement(Ko, null, o(
|
|
4101
|
+
}, [i]), /* @__PURE__ */ Ue.createElement(Ko, null, o(ee(ee({}, r), {}, {
|
|
4092
4102
|
open: i
|
|
4093
4103
|
})));
|
|
4094
4104
|
});
|
|
4095
4105
|
Dt.displayName = "Dropzone";
|
|
4096
4106
|
var Wo = {
|
|
4097
4107
|
disabled: !1,
|
|
4098
|
-
getFilesFromEvent:
|
|
4108
|
+
getFilesFromEvent: $r,
|
|
4099
4109
|
maxSize: 1 / 0,
|
|
4100
4110
|
minSize: 0,
|
|
4101
4111
|
multiple: !0,
|
|
@@ -4126,7 +4136,7 @@ Dt.propTypes = {
|
|
|
4126
4136
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
4127
4137
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
|
|
4128
4138
|
*/
|
|
4129
|
-
children:
|
|
4139
|
+
children: S.func,
|
|
4130
4140
|
/**
|
|
4131
4141
|
* Set accepted file types.
|
|
4132
4142
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -4134,90 +4144,90 @@ Dt.propTypes = {
|
|
|
4134
4144
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
4135
4145
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
4136
4146
|
*/
|
|
4137
|
-
accept:
|
|
4147
|
+
accept: S.objectOf(S.arrayOf(S.string)),
|
|
4138
4148
|
/**
|
|
4139
4149
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
4140
4150
|
*/
|
|
4141
|
-
multiple:
|
|
4151
|
+
multiple: S.bool,
|
|
4142
4152
|
/**
|
|
4143
4153
|
* If false, allow dropped items to take over the current browser window
|
|
4144
4154
|
*/
|
|
4145
|
-
preventDropOnDocument:
|
|
4155
|
+
preventDropOnDocument: S.bool,
|
|
4146
4156
|
/**
|
|
4147
4157
|
* If true, disables click to open the native file selection dialog
|
|
4148
4158
|
*/
|
|
4149
|
-
noClick:
|
|
4159
|
+
noClick: S.bool,
|
|
4150
4160
|
/**
|
|
4151
4161
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
4152
4162
|
* Note that it also stops tracking the focus state.
|
|
4153
4163
|
*/
|
|
4154
|
-
noKeyboard:
|
|
4164
|
+
noKeyboard: S.bool,
|
|
4155
4165
|
/**
|
|
4156
4166
|
* If true, disables drag 'n' drop
|
|
4157
4167
|
*/
|
|
4158
|
-
noDrag:
|
|
4168
|
+
noDrag: S.bool,
|
|
4159
4169
|
/**
|
|
4160
4170
|
* If true, stops drag event propagation to parents
|
|
4161
4171
|
*/
|
|
4162
|
-
noDragEventsBubbling:
|
|
4172
|
+
noDragEventsBubbling: S.bool,
|
|
4163
4173
|
/**
|
|
4164
4174
|
* Minimum file size (in bytes)
|
|
4165
4175
|
*/
|
|
4166
|
-
minSize:
|
|
4176
|
+
minSize: S.number,
|
|
4167
4177
|
/**
|
|
4168
4178
|
* Maximum file size (in bytes)
|
|
4169
4179
|
*/
|
|
4170
|
-
maxSize:
|
|
4180
|
+
maxSize: S.number,
|
|
4171
4181
|
/**
|
|
4172
4182
|
* Maximum accepted number of files
|
|
4173
4183
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
4174
4184
|
*/
|
|
4175
|
-
maxFiles:
|
|
4185
|
+
maxFiles: S.number,
|
|
4176
4186
|
/**
|
|
4177
4187
|
* Enable/disable the dropzone
|
|
4178
4188
|
*/
|
|
4179
|
-
disabled:
|
|
4189
|
+
disabled: S.bool,
|
|
4180
4190
|
/**
|
|
4181
4191
|
* Use this to provide a custom file aggregator
|
|
4182
4192
|
*
|
|
4183
4193
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
4184
4194
|
*/
|
|
4185
|
-
getFilesFromEvent:
|
|
4195
|
+
getFilesFromEvent: S.func,
|
|
4186
4196
|
/**
|
|
4187
4197
|
* Cb for when closing the file dialog with no selection
|
|
4188
4198
|
*/
|
|
4189
|
-
onFileDialogCancel:
|
|
4199
|
+
onFileDialogCancel: S.func,
|
|
4190
4200
|
/**
|
|
4191
4201
|
* Cb for when opening the file dialog
|
|
4192
4202
|
*/
|
|
4193
|
-
onFileDialogOpen:
|
|
4203
|
+
onFileDialogOpen: S.func,
|
|
4194
4204
|
/**
|
|
4195
4205
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
4196
4206
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
4197
4207
|
*/
|
|
4198
|
-
useFsAccessApi:
|
|
4208
|
+
useFsAccessApi: S.bool,
|
|
4199
4209
|
/**
|
|
4200
4210
|
* Set to true to focus the root element on render
|
|
4201
4211
|
*/
|
|
4202
|
-
autoFocus:
|
|
4212
|
+
autoFocus: S.bool,
|
|
4203
4213
|
/**
|
|
4204
4214
|
* Cb for when the `dragenter` event occurs.
|
|
4205
4215
|
*
|
|
4206
4216
|
* @param {DragEvent} event
|
|
4207
4217
|
*/
|
|
4208
|
-
onDragEnter:
|
|
4218
|
+
onDragEnter: S.func,
|
|
4209
4219
|
/**
|
|
4210
4220
|
* Cb for when the `dragleave` event occurs
|
|
4211
4221
|
*
|
|
4212
4222
|
* @param {DragEvent} event
|
|
4213
4223
|
*/
|
|
4214
|
-
onDragLeave:
|
|
4224
|
+
onDragLeave: S.func,
|
|
4215
4225
|
/**
|
|
4216
4226
|
* Cb for when the `dragover` event occurs
|
|
4217
4227
|
*
|
|
4218
4228
|
* @param {DragEvent} event
|
|
4219
4229
|
*/
|
|
4220
|
-
onDragOver:
|
|
4230
|
+
onDragOver: S.func,
|
|
4221
4231
|
/**
|
|
4222
4232
|
* Cb for when the `drop` event occurs.
|
|
4223
4233
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -4248,7 +4258,7 @@ Dt.propTypes = {
|
|
|
4248
4258
|
* @param {FileRejection[]} fileRejections
|
|
4249
4259
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
4250
4260
|
*/
|
|
4251
|
-
onDrop:
|
|
4261
|
+
onDrop: S.func,
|
|
4252
4262
|
/**
|
|
4253
4263
|
* Cb for when the `drop` event occurs.
|
|
4254
4264
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -4256,7 +4266,7 @@ Dt.propTypes = {
|
|
|
4256
4266
|
* @param {File[]} files
|
|
4257
4267
|
* @param {(DragEvent|Event)} event
|
|
4258
4268
|
*/
|
|
4259
|
-
onDropAccepted:
|
|
4269
|
+
onDropAccepted: S.func,
|
|
4260
4270
|
/**
|
|
4261
4271
|
* Cb for when the `drop` event occurs.
|
|
4262
4272
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -4264,21 +4274,21 @@ Dt.propTypes = {
|
|
|
4264
4274
|
* @param {FileRejection[]} fileRejections
|
|
4265
4275
|
* @param {(DragEvent|Event)} event
|
|
4266
4276
|
*/
|
|
4267
|
-
onDropRejected:
|
|
4277
|
+
onDropRejected: S.func,
|
|
4268
4278
|
/**
|
|
4269
4279
|
* Cb for when there's some error from any of the promises.
|
|
4270
4280
|
*
|
|
4271
4281
|
* @param {Error} error
|
|
4272
4282
|
*/
|
|
4273
|
-
onError:
|
|
4283
|
+
onError: S.func,
|
|
4274
4284
|
/**
|
|
4275
4285
|
* Custom validation function. It must return null if there's no errors.
|
|
4276
4286
|
* @param {File} file
|
|
4277
4287
|
* @returns {FileError|FileError[]|null}
|
|
4278
4288
|
*/
|
|
4279
|
-
validator:
|
|
4289
|
+
validator: S.func
|
|
4280
4290
|
};
|
|
4281
|
-
var
|
|
4291
|
+
var It = {
|
|
4282
4292
|
isFocused: !1,
|
|
4283
4293
|
isFileDialogActive: !1,
|
|
4284
4294
|
isDragActive: !1,
|
|
@@ -4288,18 +4298,18 @@ var jt = {
|
|
|
4288
4298
|
fileRejections: []
|
|
4289
4299
|
};
|
|
4290
4300
|
function zo() {
|
|
4291
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t =
|
|
4292
|
-
return
|
|
4301
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, R = t.onFileDialogOpen, W = t.useFsAccessApi, q = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, m = t.noKeyboard, F = t.noDrag, P = t.noDragEventsBubbling, O = t.onError, Z = t.validator, ie = De(function() {
|
|
4302
|
+
return fs(o);
|
|
4293
4303
|
}, [o]), re = De(function() {
|
|
4294
|
-
return
|
|
4304
|
+
return _s(o);
|
|
4295
4305
|
}, [o]), ue = De(function() {
|
|
4296
|
-
return typeof
|
|
4297
|
-
}, [
|
|
4306
|
+
return typeof R == "function" ? R : co;
|
|
4307
|
+
}, [R]), ce = De(function() {
|
|
4298
4308
|
return typeof C == "function" ? C : co;
|
|
4299
|
-
}, [C]),
|
|
4300
|
-
!
|
|
4301
|
-
if (
|
|
4302
|
-
var L =
|
|
4309
|
+
}, [C]), G = me(null), J = me(null), Q = Vo(Fs, It), k = Ct(Q, 2), $ = k[0], z = k[1], c = $.isFocused, v = $.isFileDialogActive, N = me(typeof window < "u" && window.isSecureContext && W && us()), j = function() {
|
|
4310
|
+
!N.current && v && setTimeout(function() {
|
|
4311
|
+
if (J.current) {
|
|
4312
|
+
var L = J.current.files;
|
|
4303
4313
|
L.length || (z({
|
|
4304
4314
|
type: "closeDialog"
|
|
4305
4315
|
}), ce());
|
|
@@ -4307,46 +4317,46 @@ function zo() {
|
|
|
4307
4317
|
}, 300);
|
|
4308
4318
|
};
|
|
4309
4319
|
ne(function() {
|
|
4310
|
-
return window.addEventListener("focus",
|
|
4311
|
-
window.removeEventListener("focus",
|
|
4320
|
+
return window.addEventListener("focus", j, !1), function() {
|
|
4321
|
+
window.removeEventListener("focus", j, !1);
|
|
4312
4322
|
};
|
|
4313
|
-
}, [
|
|
4314
|
-
var
|
|
4315
|
-
|
|
4323
|
+
}, [J, v, ce, N]);
|
|
4324
|
+
var E = me([]), D = function(L) {
|
|
4325
|
+
G.current && G.current.contains(L.target) || (L.preventDefault(), E.current = []);
|
|
4316
4326
|
};
|
|
4317
4327
|
ne(function() {
|
|
4318
4328
|
return A && (document.addEventListener("dragover", po, !1), document.addEventListener("drop", D, !1)), function() {
|
|
4319
4329
|
A && (document.removeEventListener("dragover", po), document.removeEventListener("drop", D));
|
|
4320
4330
|
};
|
|
4321
|
-
}, [
|
|
4322
|
-
return !n && q &&
|
|
4331
|
+
}, [G, A]), ne(function() {
|
|
4332
|
+
return !n && q && G.current && G.current.focus(), function() {
|
|
4323
4333
|
};
|
|
4324
|
-
}, [
|
|
4325
|
-
var
|
|
4334
|
+
}, [G, q, n]);
|
|
4335
|
+
var I = ge(function(y) {
|
|
4326
4336
|
O ? O(y) : console.error(y);
|
|
4327
|
-
}, [O]),
|
|
4328
|
-
y.preventDefault(), y.persist(), $e(y),
|
|
4329
|
-
if (!(Qe(y) && !
|
|
4330
|
-
var oe = L.length, se = oe > 0 &&
|
|
4337
|
+
}, [O]), B = ge(function(y) {
|
|
4338
|
+
y.preventDefault(), y.persist(), $e(y), E.current = [].concat(ws(E.current), [y.target]), Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4339
|
+
if (!(Qe(y) && !P)) {
|
|
4340
|
+
var oe = L.length, se = oe > 0 && ls({
|
|
4331
4341
|
files: L,
|
|
4332
4342
|
accept: ie,
|
|
4333
4343
|
minSize: r,
|
|
4334
4344
|
maxSize: i,
|
|
4335
4345
|
multiple: s,
|
|
4336
|
-
maxFiles:
|
|
4337
|
-
validator:
|
|
4338
|
-
}),
|
|
4346
|
+
maxFiles: d,
|
|
4347
|
+
validator: Z
|
|
4348
|
+
}), be = oe > 0 && !se;
|
|
4339
4349
|
z({
|
|
4340
4350
|
isDragAccept: se,
|
|
4341
|
-
isDragReject:
|
|
4351
|
+
isDragReject: be,
|
|
4342
4352
|
isDragActive: !0,
|
|
4343
4353
|
type: "setDraggedFiles"
|
|
4344
|
-
}),
|
|
4354
|
+
}), p && p(y);
|
|
4345
4355
|
}
|
|
4346
4356
|
}).catch(function(L) {
|
|
4347
|
-
return
|
|
4357
|
+
return I(L);
|
|
4348
4358
|
});
|
|
4349
|
-
}, [a,
|
|
4359
|
+
}, [a, p, I, P, ie, r, i, s, d, Z]), H = ge(function(y) {
|
|
4350
4360
|
y.preventDefault(), y.persist(), $e(y);
|
|
4351
4361
|
var L = Xe(y);
|
|
4352
4362
|
if (L && y.dataTransfer)
|
|
@@ -4355,36 +4365,36 @@ function zo() {
|
|
|
4355
4365
|
} catch {
|
|
4356
4366
|
}
|
|
4357
4367
|
return L && u && u(y), !1;
|
|
4358
|
-
}, [u,
|
|
4368
|
+
}, [u, P]), Y = ge(function(y) {
|
|
4359
4369
|
y.preventDefault(), y.persist(), $e(y);
|
|
4360
|
-
var L =
|
|
4361
|
-
return
|
|
4370
|
+
var L = E.current.filter(function(se) {
|
|
4371
|
+
return G.current && G.current.contains(se);
|
|
4362
4372
|
}), oe = L.indexOf(y.target);
|
|
4363
|
-
oe !== -1 && L.splice(oe, 1),
|
|
4373
|
+
oe !== -1 && L.splice(oe, 1), E.current = L, !(L.length > 0) && (z({
|
|
4364
4374
|
type: "setDraggedFiles",
|
|
4365
4375
|
isDragActive: !1,
|
|
4366
4376
|
isDragAccept: !1,
|
|
4367
4377
|
isDragReject: !1
|
|
4368
4378
|
}), Xe(y) && _ && _(y));
|
|
4369
|
-
}, [
|
|
4379
|
+
}, [G, _, P]), M = ge(function(y, L) {
|
|
4370
4380
|
var oe = [], se = [];
|
|
4371
|
-
y.forEach(function(
|
|
4372
|
-
var Be = Lo(
|
|
4381
|
+
y.forEach(function(be) {
|
|
4382
|
+
var Be = Lo(be, ie), Le = Ct(Be, 2), nt = Le[0], at = Le[1], it = Do(be, r, i), He = Ct(it, 2), rt = He[0], st = He[1], pt = Z ? Z(be) : null;
|
|
4373
4383
|
if (nt && rt && !pt)
|
|
4374
|
-
oe.push(
|
|
4384
|
+
oe.push(be);
|
|
4375
4385
|
else {
|
|
4376
4386
|
var lt = [at, st];
|
|
4377
4387
|
pt && (lt = lt.concat(pt)), se.push({
|
|
4378
|
-
file:
|
|
4388
|
+
file: be,
|
|
4379
4389
|
errors: lt.filter(function($o) {
|
|
4380
4390
|
return $o;
|
|
4381
4391
|
})
|
|
4382
4392
|
});
|
|
4383
4393
|
}
|
|
4384
|
-
}), (!s && oe.length > 1 || s &&
|
|
4394
|
+
}), (!s && oe.length > 1 || s && d >= 1 && oe.length > d) && (oe.forEach(function(be) {
|
|
4385
4395
|
se.push({
|
|
4386
|
-
file:
|
|
4387
|
-
errors: [
|
|
4396
|
+
file: be,
|
|
4397
|
+
errors: [ps]
|
|
4388
4398
|
});
|
|
4389
4399
|
}), oe.splice(0)), z({
|
|
4390
4400
|
acceptedFiles: oe,
|
|
@@ -4392,16 +4402,16 @@ function zo() {
|
|
|
4392
4402
|
isDragReject: se.length > 0,
|
|
4393
4403
|
type: "setFiles"
|
|
4394
4404
|
}), g && g(oe, se, L), se.length > 0 && w && w(se, L), oe.length > 0 && h && h(oe, L);
|
|
4395
|
-
}, [z, s, ie, r, i,
|
|
4396
|
-
y.preventDefault(), y.persist(), $e(y),
|
|
4397
|
-
Qe(y) && !
|
|
4405
|
+
}, [z, s, ie, r, i, d, g, h, w, Z]), ae = ge(function(y) {
|
|
4406
|
+
y.preventDefault(), y.persist(), $e(y), E.current = [], Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4407
|
+
Qe(y) && !P || M(L, y);
|
|
4398
4408
|
}).catch(function(L) {
|
|
4399
|
-
return
|
|
4409
|
+
return I(L);
|
|
4400
4410
|
}), z({
|
|
4401
4411
|
type: "reset"
|
|
4402
4412
|
});
|
|
4403
|
-
}, [a, M,
|
|
4404
|
-
if (
|
|
4413
|
+
}, [a, M, I, P]), x = ge(function() {
|
|
4414
|
+
if (N.current) {
|
|
4405
4415
|
z({
|
|
4406
4416
|
type: "openDialog"
|
|
4407
4417
|
}), ue();
|
|
@@ -4416,57 +4426,57 @@ function zo() {
|
|
|
4416
4426
|
type: "closeDialog"
|
|
4417
4427
|
});
|
|
4418
4428
|
}).catch(function(L) {
|
|
4419
|
-
|
|
4429
|
+
vs(L) ? (ce(L), z({
|
|
4420
4430
|
type: "closeDialog"
|
|
4421
|
-
})) :
|
|
4431
|
+
})) : gs(L) ? (N.current = !1, J.current ? (J.current.value = null, J.current.click()) : I(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."))) : I(L);
|
|
4422
4432
|
});
|
|
4423
4433
|
return;
|
|
4424
4434
|
}
|
|
4425
|
-
|
|
4435
|
+
J.current && (z({
|
|
4426
4436
|
type: "openDialog"
|
|
4427
|
-
}), ue(),
|
|
4428
|
-
}, [z, ue, ce,
|
|
4429
|
-
!
|
|
4430
|
-
}, [
|
|
4437
|
+
}), ue(), J.current.value = null, J.current.click());
|
|
4438
|
+
}, [z, ue, ce, W, M, I, re, s]), he = ge(function(y) {
|
|
4439
|
+
!G.current || !G.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(), x());
|
|
4440
|
+
}, [G, x]), Se = ge(function() {
|
|
4431
4441
|
z({
|
|
4432
4442
|
type: "focus"
|
|
4433
4443
|
});
|
|
4434
|
-
}, []),
|
|
4444
|
+
}, []), Oe = ge(function() {
|
|
4435
4445
|
z({
|
|
4436
4446
|
type: "blur"
|
|
4437
4447
|
});
|
|
4438
|
-
}, []),
|
|
4439
|
-
b || (
|
|
4440
|
-
}, [b, x]),
|
|
4448
|
+
}, []), Pt = ge(function() {
|
|
4449
|
+
b || (ms() ? setTimeout(x, 0) : x());
|
|
4450
|
+
}, [b, x]), Ae = function(L) {
|
|
4441
4451
|
return n ? null : L;
|
|
4442
4452
|
}, ot = function(L) {
|
|
4443
|
-
return
|
|
4453
|
+
return m ? null : Ae(L);
|
|
4444
4454
|
}, qe = function(L) {
|
|
4445
|
-
return
|
|
4455
|
+
return F ? null : Ae(L);
|
|
4446
4456
|
}, $e = function(L) {
|
|
4447
|
-
|
|
4457
|
+
P && L.stopPropagation();
|
|
4448
4458
|
}, Mo = De(function() {
|
|
4449
4459
|
return function() {
|
|
4450
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.role,
|
|
4451
|
-
return
|
|
4452
|
-
onKeyDown: ot(
|
|
4453
|
-
onFocus: ot(
|
|
4454
|
-
onBlur: ot(
|
|
4455
|
-
onClick:
|
|
4456
|
-
onDragEnter: qe(
|
|
4457
|
-
onDragOver: qe(
|
|
4458
|
-
onDragLeave: qe(
|
|
4459
|
-
onDrop: qe(
|
|
4460
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.role, be = y.onKeyDown, Be = y.onFocus, Le = y.onBlur, nt = y.onClick, at = y.onDragEnter, it = y.onDragOver, He = y.onDragLeave, rt = y.onDrop, st = Je(y, bs);
|
|
4461
|
+
return ee(ee(Ft({
|
|
4462
|
+
onKeyDown: ot(Te(be, he)),
|
|
4463
|
+
onFocus: ot(Te(Be, Se)),
|
|
4464
|
+
onBlur: ot(Te(Le, Oe)),
|
|
4465
|
+
onClick: Ae(Te(nt, Pt)),
|
|
4466
|
+
onDragEnter: qe(Te(at, B)),
|
|
4467
|
+
onDragOver: qe(Te(it, H)),
|
|
4468
|
+
onDragLeave: qe(Te(He, Y)),
|
|
4469
|
+
onDrop: qe(Te(rt, ae)),
|
|
4460
4470
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4461
|
-
}, oe,
|
|
4471
|
+
}, oe, G), !n && !m ? {
|
|
4462
4472
|
tabIndex: 0
|
|
4463
4473
|
} : {}), st);
|
|
4464
4474
|
};
|
|
4465
|
-
}, [
|
|
4475
|
+
}, [G, he, Se, Oe, Pt, B, H, Y, ae, m, F, n]), Uo = ge(function(y) {
|
|
4466
4476
|
y.stopPropagation();
|
|
4467
4477
|
}, []), qo = De(function() {
|
|
4468
4478
|
return function() {
|
|
4469
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange,
|
|
4479
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange, be = y.onClick, Be = Je(y, ys), Le = Ft({
|
|
4470
4480
|
accept: ie,
|
|
4471
4481
|
multiple: s,
|
|
4472
4482
|
type: "file",
|
|
@@ -4482,61 +4492,61 @@ function zo() {
|
|
|
4482
4492
|
width: "1px",
|
|
4483
4493
|
whiteSpace: "nowrap"
|
|
4484
4494
|
},
|
|
4485
|
-
onChange:
|
|
4486
|
-
onClick:
|
|
4495
|
+
onChange: Ae(Te(se, ae)),
|
|
4496
|
+
onClick: Ae(Te(be, Uo)),
|
|
4487
4497
|
tabIndex: -1
|
|
4488
|
-
}, oe,
|
|
4489
|
-
return
|
|
4498
|
+
}, oe, J);
|
|
4499
|
+
return ee(ee({}, Le), Be);
|
|
4490
4500
|
};
|
|
4491
|
-
}, [
|
|
4492
|
-
return
|
|
4493
|
-
isFocused:
|
|
4501
|
+
}, [J, o, s, ae, n]);
|
|
4502
|
+
return ee(ee({}, $), {}, {
|
|
4503
|
+
isFocused: c && !n,
|
|
4494
4504
|
getRootProps: Mo,
|
|
4495
4505
|
getInputProps: qo,
|
|
4496
|
-
rootRef:
|
|
4497
|
-
inputRef:
|
|
4498
|
-
open:
|
|
4506
|
+
rootRef: G,
|
|
4507
|
+
inputRef: J,
|
|
4508
|
+
open: Ae(x)
|
|
4499
4509
|
});
|
|
4500
4510
|
}
|
|
4501
|
-
function
|
|
4511
|
+
function Fs(e, t) {
|
|
4502
4512
|
switch (t.type) {
|
|
4503
4513
|
case "focus":
|
|
4504
|
-
return
|
|
4514
|
+
return ee(ee({}, e), {}, {
|
|
4505
4515
|
isFocused: !0
|
|
4506
4516
|
});
|
|
4507
4517
|
case "blur":
|
|
4508
|
-
return
|
|
4518
|
+
return ee(ee({}, e), {}, {
|
|
4509
4519
|
isFocused: !1
|
|
4510
4520
|
});
|
|
4511
4521
|
case "openDialog":
|
|
4512
|
-
return
|
|
4522
|
+
return ee(ee({}, It), {}, {
|
|
4513
4523
|
isFileDialogActive: !0
|
|
4514
4524
|
});
|
|
4515
4525
|
case "closeDialog":
|
|
4516
|
-
return
|
|
4526
|
+
return ee(ee({}, e), {}, {
|
|
4517
4527
|
isFileDialogActive: !1
|
|
4518
4528
|
});
|
|
4519
4529
|
case "setDraggedFiles":
|
|
4520
|
-
return
|
|
4530
|
+
return ee(ee({}, e), {}, {
|
|
4521
4531
|
isDragActive: t.isDragActive,
|
|
4522
4532
|
isDragAccept: t.isDragAccept,
|
|
4523
4533
|
isDragReject: t.isDragReject
|
|
4524
4534
|
});
|
|
4525
4535
|
case "setFiles":
|
|
4526
|
-
return
|
|
4536
|
+
return ee(ee({}, e), {}, {
|
|
4527
4537
|
acceptedFiles: t.acceptedFiles,
|
|
4528
4538
|
fileRejections: t.fileRejections,
|
|
4529
4539
|
isDragReject: t.isDragReject
|
|
4530
4540
|
});
|
|
4531
4541
|
case "reset":
|
|
4532
|
-
return
|
|
4542
|
+
return ee({}, It);
|
|
4533
4543
|
default:
|
|
4534
4544
|
return e;
|
|
4535
4545
|
}
|
|
4536
4546
|
}
|
|
4537
4547
|
function co() {
|
|
4538
4548
|
}
|
|
4539
|
-
const
|
|
4549
|
+
const Is = (e) => zo(e), js = (e) => {
|
|
4540
4550
|
switch (e.code) {
|
|
4541
4551
|
case wt.FileInvalidType:
|
|
4542
4552
|
return "Неверный формат файла";
|
|
@@ -4546,31 +4556,31 @@ const Es = (e) => zo(e), Ss = (e) => {
|
|
|
4546
4556
|
default:
|
|
4547
4557
|
return "";
|
|
4548
4558
|
}
|
|
4549
|
-
},
|
|
4559
|
+
}, As = (e) => {
|
|
4550
4560
|
var t;
|
|
4551
4561
|
return Nt(e) ? "" : (t = e.split(".").pop()) == null ? void 0 : t.toLowerCase();
|
|
4552
|
-
},
|
|
4562
|
+
}, Ls = (e, t = {}) => {
|
|
4553
4563
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4554
4564
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4555
|
-
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o,
|
|
4556
|
-
return parseFloat((e / Math.pow(a, r)).toFixed(s)) +
|
|
4557
|
-
},
|
|
4558
|
-
ellipsisFileName:
|
|
4559
|
-
tooltipContent:
|
|
4560
|
-
},
|
|
4565
|
+
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, d = n ? " " : "";
|
|
4566
|
+
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + d + i[r];
|
|
4567
|
+
}, Ds = "_ellipsisFileName_qx34h_1", Ps = "_tooltipContent_qx34h_7", mo = {
|
|
4568
|
+
ellipsisFileName: Ds,
|
|
4569
|
+
tooltipContent: Ps
|
|
4570
|
+
}, Os = (e) => {
|
|
4561
4571
|
const {
|
|
4562
4572
|
fileName: t,
|
|
4563
4573
|
classNameRoot: o,
|
|
4564
4574
|
type: n = "p2",
|
|
4565
4575
|
classNameEllipsisText: a,
|
|
4566
4576
|
classNameEllipsisFileNameRoot: i
|
|
4567
|
-
} = e, r = me(null), s = me(null), [
|
|
4568
|
-
r.current &&
|
|
4577
|
+
} = e, r = me(null), s = me(null), [d, p] = te(!1), [_, u] = te(0), g = () => {
|
|
4578
|
+
r.current && p(r.current.scrollWidth > r.current.clientWidth), s.current && u(s.current.offsetWidth);
|
|
4569
4579
|
};
|
|
4570
4580
|
Xo(() => (g(), window.addEventListener("resize", g), () => {
|
|
4571
4581
|
window.removeEventListener("resize", g);
|
|
4572
4582
|
}), [t]);
|
|
4573
|
-
const h =
|
|
4583
|
+
const h = As(t);
|
|
4574
4584
|
return /* @__PURE__ */ U(
|
|
4575
4585
|
"div",
|
|
4576
4586
|
{
|
|
@@ -4579,19 +4589,19 @@ const Es = (e) => zo(e), Ss = (e) => {
|
|
|
4579
4589
|
i && i
|
|
4580
4590
|
),
|
|
4581
4591
|
children: [
|
|
4582
|
-
/* @__PURE__ */
|
|
4592
|
+
/* @__PURE__ */ l(
|
|
4583
4593
|
et,
|
|
4584
4594
|
{
|
|
4585
4595
|
position: le.TopLeft,
|
|
4586
4596
|
classNameBaseTooltipRoot: mo.tooltipContent,
|
|
4587
|
-
styleTooltip: { maxWidth:
|
|
4597
|
+
styleTooltip: { maxWidth: d ? `calc(100% - ${_}px)` : "100%" },
|
|
4588
4598
|
classNameTooltip: o,
|
|
4589
|
-
isVisibleTooltip:
|
|
4599
|
+
isVisibleTooltip: d,
|
|
4590
4600
|
text: t,
|
|
4591
|
-
trigger: /* @__PURE__ */
|
|
4601
|
+
trigger: /* @__PURE__ */ l(Ne, { type: n, isEllipsis: !0, ref: r, classNameRoot: a, children: t })
|
|
4592
4602
|
}
|
|
4593
4603
|
),
|
|
4594
|
-
/* @__PURE__ */
|
|
4604
|
+
/* @__PURE__ */ l(
|
|
4595
4605
|
"div",
|
|
4596
4606
|
{
|
|
4597
4607
|
ref: s,
|
|
@@ -4601,48 +4611,48 @@ const Es = (e) => zo(e), Ss = (e) => {
|
|
|
4601
4611
|
pointerEvents: "none",
|
|
4602
4612
|
whiteSpace: "nowrap"
|
|
4603
4613
|
},
|
|
4604
|
-
children: /* @__PURE__ */
|
|
4614
|
+
children: /* @__PURE__ */ l(Ne, { type: n, classNameRoot: a, children: h })
|
|
4605
4615
|
}
|
|
4606
4616
|
),
|
|
4607
|
-
|
|
4617
|
+
d && /* @__PURE__ */ l(Ne, { type: n, classNameRoot: a, children: h })
|
|
4608
4618
|
]
|
|
4609
4619
|
}
|
|
4610
4620
|
);
|
|
4611
|
-
},
|
|
4612
|
-
spUploadFiles:
|
|
4613
|
-
spUploadFiles_error:
|
|
4614
|
-
spUploadFiles__control:
|
|
4615
|
-
spUploadFiles__fileNameContainer:
|
|
4616
|
-
spUploadFiles__fileName_dragError:
|
|
4617
|
-
spUploadFiles__placeholderContainer:
|
|
4621
|
+
}, Bs = "_spUploadFiles_8f1mv_43", Ws = "_spUploadFiles_error_8f1mv_49", zs = "_spUploadFiles__control_8f1mv_49", Ms = "_spUploadFiles__fileNameContainer_8f1mv_53", Us = "_spUploadFiles__fileName_dragError_8f1mv_57", qs = "_spUploadFiles__placeholderContainer_8f1mv_60", $s = "_spUploadFiles__placeholderContainer_withUloadTooltip_8f1mv_70", Hs = "_spUploadFiles__placeholder_8f1mv_60", Vs = "_spUploadFiles__control_loading_8f1mv_102", Ys = "_shimmer_8f1mv_1", Gs = "_spUploadFiles__fileName_8f1mv_53", Ks = "_spUploadFiles_fileUploaded_8f1mv_149", Xs = "_spUploadFiles_disabled_8f1mv_149", Zs = "_spUploadFiles__fileNamesList_8f1mv_160", Qs = "_spUploadFiles__fileNamesList_loading_8f1mv_169", Js = "_spUploadFiles__fileNamesListItem_8f1mv_185", ep = "_spUploadFiles__fileNamesListItem__iconContainer_8f1mv_193", tp = "_spUploadFiles__fileNamesListItem__iconContainer_error_8f1mv_198", op = "_spUploadFiles__fileNamesListItem__mainContent_8f1mv_202", np = "_spUploadFiles__fileNamesListItem__fileNameWrapper_8f1mv_208", ap = "_spUploadFiles__fileNamesListItem__fileName_8f1mv_208", ip = "_spUploadFiles__fileNamesListItem__description_8f1mv_215", rp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_8f1mv_220", sp = "_spUploadFiles__fileNamesListItem__description_error_8f1mv_223", pp = "_spUploadFiles__fileNamesListItemDelete_8f1mv_226", lp = "_spUploadFiles__fileNamesListItemDelete_error_8f1mv_243", cp = "_spUploadFiles__tooltipWrapper_8f1mv_253", dp = "_spUploadFiles__tooltip_8f1mv_253", mp = "_spUploadFiles__delete_8f1mv_259", up = "_spUploadFiles__delete_loading_8f1mv_263", _p = "_spUploadFiles__error_8f1mv_272", V = {
|
|
4622
|
+
spUploadFiles: Bs,
|
|
4623
|
+
spUploadFiles_error: Ws,
|
|
4624
|
+
spUploadFiles__control: zs,
|
|
4625
|
+
spUploadFiles__fileNameContainer: Ms,
|
|
4626
|
+
spUploadFiles__fileName_dragError: Us,
|
|
4627
|
+
spUploadFiles__placeholderContainer: qs,
|
|
4618
4628
|
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_8f1mv_63",
|
|
4619
|
-
spUploadFiles__placeholderContainer_withUloadTooltip:
|
|
4620
|
-
spUploadFiles__placeholder:
|
|
4629
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: $s,
|
|
4630
|
+
spUploadFiles__placeholder: Hs,
|
|
4621
4631
|
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_8f1mv_85",
|
|
4622
|
-
spUploadFiles__control_loading:
|
|
4623
|
-
shimmer:
|
|
4624
|
-
spUploadFiles__fileName:
|
|
4625
|
-
spUploadFiles_fileUploaded:
|
|
4626
|
-
spUploadFiles_disabled:
|
|
4627
|
-
spUploadFiles__fileNamesList:
|
|
4628
|
-
spUploadFiles__fileNamesList_loading:
|
|
4629
|
-
spUploadFiles__fileNamesListItem:
|
|
4630
|
-
spUploadFiles__fileNamesListItem__iconContainer:
|
|
4631
|
-
spUploadFiles__fileNamesListItem__iconContainer_error:
|
|
4632
|
-
spUploadFiles__fileNamesListItem__mainContent:
|
|
4633
|
-
spUploadFiles__fileNamesListItem__fileNameWrapper:
|
|
4634
|
-
spUploadFiles__fileNamesListItem__fileName:
|
|
4635
|
-
spUploadFiles__fileNamesListItem__description:
|
|
4636
|
-
spUploadFiles__fileNamesListItem__description__tooltipContent:
|
|
4637
|
-
spUploadFiles__fileNamesListItem__description_error:
|
|
4638
|
-
spUploadFiles__fileNamesListItemDelete:
|
|
4639
|
-
spUploadFiles__fileNamesListItemDelete_error:
|
|
4640
|
-
spUploadFiles__tooltipWrapper:
|
|
4641
|
-
spUploadFiles__tooltip:
|
|
4642
|
-
spUploadFiles__delete:
|
|
4643
|
-
spUploadFiles__delete_loading:
|
|
4644
|
-
spUploadFiles__error:
|
|
4645
|
-
},
|
|
4632
|
+
spUploadFiles__control_loading: Vs,
|
|
4633
|
+
shimmer: Ys,
|
|
4634
|
+
spUploadFiles__fileName: Gs,
|
|
4635
|
+
spUploadFiles_fileUploaded: Ks,
|
|
4636
|
+
spUploadFiles_disabled: Xs,
|
|
4637
|
+
spUploadFiles__fileNamesList: Zs,
|
|
4638
|
+
spUploadFiles__fileNamesList_loading: Qs,
|
|
4639
|
+
spUploadFiles__fileNamesListItem: Js,
|
|
4640
|
+
spUploadFiles__fileNamesListItem__iconContainer: ep,
|
|
4641
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: tp,
|
|
4642
|
+
spUploadFiles__fileNamesListItem__mainContent: op,
|
|
4643
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: np,
|
|
4644
|
+
spUploadFiles__fileNamesListItem__fileName: ap,
|
|
4645
|
+
spUploadFiles__fileNamesListItem__description: ip,
|
|
4646
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: rp,
|
|
4647
|
+
spUploadFiles__fileNamesListItem__description_error: sp,
|
|
4648
|
+
spUploadFiles__fileNamesListItemDelete: pp,
|
|
4649
|
+
spUploadFiles__fileNamesListItemDelete_error: lp,
|
|
4650
|
+
spUploadFiles__tooltipWrapper: cp,
|
|
4651
|
+
spUploadFiles__tooltip: dp,
|
|
4652
|
+
spUploadFiles__delete: mp,
|
|
4653
|
+
spUploadFiles__delete_loading: up,
|
|
4654
|
+
spUploadFiles__error: _p
|
|
4655
|
+
}, Ap = (e) => {
|
|
4646
4656
|
const {
|
|
4647
4657
|
placeholder: t = "Загрузите файл",
|
|
4648
4658
|
variant: o = "input",
|
|
@@ -4651,41 +4661,41 @@ const Es = (e) => zo(e), Ss = (e) => {
|
|
|
4651
4661
|
accept: i,
|
|
4652
4662
|
disabled: r,
|
|
4653
4663
|
multiple: s,
|
|
4654
|
-
files:
|
|
4655
|
-
infoTooltipText:
|
|
4664
|
+
files: d = [],
|
|
4665
|
+
infoTooltipText: p,
|
|
4656
4666
|
tooltipPosition: _ = le.TopRight,
|
|
4657
4667
|
classNameRoot: u,
|
|
4658
4668
|
loading: g,
|
|
4659
4669
|
error: h
|
|
4660
|
-
} = e, [w, C] = te([]),
|
|
4661
|
-
(v,
|
|
4662
|
-
const
|
|
4670
|
+
} = e, [w, C] = te([]), R = ge(
|
|
4671
|
+
(v, N) => {
|
|
4672
|
+
const j = N.map(({ file: D, errors: I }) => ({
|
|
4663
4673
|
file: D,
|
|
4664
|
-
errors:
|
|
4674
|
+
errors: I
|
|
4665
4675
|
}));
|
|
4666
|
-
if (C([...
|
|
4676
|
+
if (C([...j, ...w]), !s) {
|
|
4667
4677
|
a(v, n);
|
|
4668
4678
|
return;
|
|
4669
4679
|
}
|
|
4670
|
-
const
|
|
4671
|
-
a(
|
|
4680
|
+
const E = [...d, ...v];
|
|
4681
|
+
a(E, n);
|
|
4672
4682
|
},
|
|
4673
|
-
[w,
|
|
4674
|
-
), { getRootProps:
|
|
4683
|
+
[w, d, s, n, a]
|
|
4684
|
+
), { getRootProps: W, getInputProps: q, isDragReject: A } = Is({
|
|
4675
4685
|
accept: i,
|
|
4676
|
-
onDrop:
|
|
4686
|
+
onDrop: R,
|
|
4677
4687
|
multiple: s,
|
|
4678
4688
|
disabled: r
|
|
4679
|
-
}), [b,
|
|
4689
|
+
}), [b, m] = te(A);
|
|
4680
4690
|
ne(() => {
|
|
4681
|
-
|
|
4691
|
+
m(A);
|
|
4682
4692
|
}, [A]);
|
|
4683
|
-
const
|
|
4693
|
+
const F = [...d.map((v) => ({ file: v, errors: null })), ...w], P = (F == null ? void 0 : F.length) > 0 || (w == null ? void 0 : w.length) > 0, O = o === "input", Z = f({
|
|
4684
4694
|
[V.spUploadFiles]: !0,
|
|
4685
4695
|
[V[`spUploadFiles--variant-${o}`]]: o,
|
|
4686
4696
|
[V.spUploadFiles_error]: b && !s && h && h.length > 0,
|
|
4687
4697
|
[V.spUploadFiles_disabled]: r,
|
|
4688
|
-
[V.spUploadFiles_fileUploaded]:
|
|
4698
|
+
[V.spUploadFiles_fileUploaded]: P,
|
|
4689
4699
|
...u && { [u]: !0 }
|
|
4690
4700
|
}), ie = f({
|
|
4691
4701
|
[V.spUploadFiles__control]: !0,
|
|
@@ -4696,22 +4706,22 @@ const Es = (e) => zo(e), Ss = (e) => {
|
|
|
4696
4706
|
}), ue = f({
|
|
4697
4707
|
[V.spUploadFiles__delete]: !0,
|
|
4698
4708
|
[V.spUploadFiles__delete_loading]: g
|
|
4699
|
-
}), ce = (v,
|
|
4709
|
+
}), ce = (v, N) => {
|
|
4700
4710
|
if (g)
|
|
4701
4711
|
return;
|
|
4702
|
-
if (
|
|
4703
|
-
const D = [...w],
|
|
4704
|
-
D.splice(
|
|
4712
|
+
if (N) {
|
|
4713
|
+
const D = [...w], I = D.findIndex((B) => B.file.name === v);
|
|
4714
|
+
D.splice(I, 1), C(D);
|
|
4705
4715
|
return;
|
|
4706
4716
|
}
|
|
4707
|
-
const
|
|
4708
|
-
|
|
4709
|
-
},
|
|
4710
|
-
v.stopPropagation(), a([], n), C([]),
|
|
4711
|
-
},
|
|
4717
|
+
const j = [...d], E = j.findIndex((D) => D.name === v);
|
|
4718
|
+
j.splice(E, 1), a(j, n);
|
|
4719
|
+
}, G = (v) => {
|
|
4720
|
+
v.stopPropagation(), a([], n), C([]), m(!1);
|
|
4721
|
+
}, J = (v) => Object.values(v).flatMap((N) => N.map((j) => j.toUpperCase())).join(", "), Q = () => {
|
|
4712
4722
|
if (b) {
|
|
4713
|
-
const v =
|
|
4714
|
-
return /* @__PURE__ */
|
|
4723
|
+
const v = J(i);
|
|
4724
|
+
return /* @__PURE__ */ l(
|
|
4715
4725
|
Ye,
|
|
4716
4726
|
{
|
|
4717
4727
|
text: `Неверный формат файла. Загрузите файл в формате ${v}`,
|
|
@@ -4723,144 +4733,144 @@ const Es = (e) => zo(e), Ss = (e) => {
|
|
|
4723
4733
|
}
|
|
4724
4734
|
);
|
|
4725
4735
|
}
|
|
4726
|
-
return /* @__PURE__ */
|
|
4736
|
+
return /* @__PURE__ */ l(
|
|
4727
4737
|
Ye,
|
|
4728
4738
|
{
|
|
4729
|
-
text:
|
|
4739
|
+
text: F[0].file.name,
|
|
4730
4740
|
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4731
4741
|
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4732
4742
|
}
|
|
4733
4743
|
);
|
|
4734
|
-
},
|
|
4735
|
-
const
|
|
4744
|
+
}, k = () => /* @__PURE__ */ l("ul", { className: re, children: F.map(({ file: v, errors: N }, j) => {
|
|
4745
|
+
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(js).join(", ") : "";
|
|
4736
4746
|
return /* @__PURE__ */ U(
|
|
4737
4747
|
"li",
|
|
4738
4748
|
{
|
|
4739
4749
|
className: f(
|
|
4740
4750
|
V.spUploadFiles__fileNamesListItem,
|
|
4741
|
-
|
|
4751
|
+
E && V.spUploadFiles__fileNamesListItem_error
|
|
4742
4752
|
),
|
|
4743
|
-
onClick: (
|
|
4744
|
-
|
|
4753
|
+
onClick: (I) => {
|
|
4754
|
+
I.stopPropagation();
|
|
4745
4755
|
},
|
|
4746
4756
|
children: [
|
|
4747
|
-
/* @__PURE__ */
|
|
4757
|
+
/* @__PURE__ */ l(
|
|
4748
4758
|
"div",
|
|
4749
4759
|
{
|
|
4750
4760
|
className: f(
|
|
4751
4761
|
V.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4752
|
-
|
|
4762
|
+
E && V.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4753
4763
|
),
|
|
4754
|
-
children: /* @__PURE__ */
|
|
4764
|
+
children: /* @__PURE__ */ l(xe, { name: E ? pe.InfoError : pe.File })
|
|
4755
4765
|
}
|
|
4756
4766
|
),
|
|
4757
4767
|
/* @__PURE__ */ U("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4758
|
-
/* @__PURE__ */
|
|
4759
|
-
|
|
4768
|
+
/* @__PURE__ */ l(
|
|
4769
|
+
Os,
|
|
4760
4770
|
{
|
|
4761
4771
|
fileName: v.name,
|
|
4762
4772
|
classNameEllipsisFileNameRoot: V.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4763
4773
|
classNameEllipsisText: V.spUploadFiles__fileNamesListItem__fileName
|
|
4764
4774
|
}
|
|
4765
4775
|
),
|
|
4766
|
-
/* @__PURE__ */
|
|
4776
|
+
/* @__PURE__ */ l(
|
|
4767
4777
|
Ye,
|
|
4768
4778
|
{
|
|
4769
|
-
text:
|
|
4779
|
+
text: E ? D() : Ls(v.size),
|
|
4770
4780
|
classNameBaseTooltipRoot: V.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4771
4781
|
classNameRoot: f(
|
|
4772
4782
|
V.spUploadFiles__fileNamesListItem__description,
|
|
4773
|
-
|
|
4783
|
+
E && V.spUploadFiles__fileNamesListItem__description_error
|
|
4774
4784
|
)
|
|
4775
4785
|
}
|
|
4776
4786
|
)
|
|
4777
4787
|
] }),
|
|
4778
|
-
/* @__PURE__ */
|
|
4788
|
+
/* @__PURE__ */ l(
|
|
4779
4789
|
"div",
|
|
4780
4790
|
{
|
|
4781
4791
|
className: f(V.spUploadFiles__fileNamesListItemDelete),
|
|
4782
|
-
onClick: (
|
|
4783
|
-
|
|
4792
|
+
onClick: (I) => {
|
|
4793
|
+
I.stopPropagation(), ce(v.name, E);
|
|
4784
4794
|
},
|
|
4785
|
-
children: /* @__PURE__ */
|
|
4795
|
+
children: /* @__PURE__ */ l(xe, { name: pe.Close })
|
|
4786
4796
|
}
|
|
4787
4797
|
)
|
|
4788
4798
|
]
|
|
4789
4799
|
},
|
|
4790
|
-
|
|
4800
|
+
j
|
|
4791
4801
|
);
|
|
4792
|
-
}) }),
|
|
4802
|
+
}) }), $ = () => s ? k() : Q(), z = () => /* @__PURE__ */ l(
|
|
4793
4803
|
Ye,
|
|
4794
4804
|
{
|
|
4795
4805
|
classNameRoot: V.spUploadFiles__placeholder,
|
|
4796
4806
|
classNameTooltipRoot: f(
|
|
4797
4807
|
V.spUploadFiles__placeholderContainer,
|
|
4798
|
-
!!
|
|
4808
|
+
!!p && V.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4799
4809
|
),
|
|
4800
4810
|
text: t
|
|
4801
4811
|
}
|
|
4802
|
-
),
|
|
4803
|
-
|
|
4804
|
-
|
|
4812
|
+
), c = () => /* @__PURE__ */ U(uo, { children: [
|
|
4813
|
+
P ? $() : z(),
|
|
4814
|
+
P && O ? /* @__PURE__ */ l("div", { className: ue, onClick: G, children: /* @__PURE__ */ l(xe, { name: pe.Close }) }) : O && p && /* @__PURE__ */ l(
|
|
4805
4815
|
tt,
|
|
4806
4816
|
{
|
|
4807
4817
|
classNameTooltip: V.spUploadFiles__tooltipWrapper,
|
|
4808
4818
|
position: _,
|
|
4809
|
-
text:
|
|
4819
|
+
text: p,
|
|
4810
4820
|
classNameTriggerTooltip: V.spUploadFiles__tooltip
|
|
4811
4821
|
}
|
|
4812
4822
|
)
|
|
4813
4823
|
] });
|
|
4814
|
-
return /* @__PURE__ */
|
|
4824
|
+
return /* @__PURE__ */ l(
|
|
4815
4825
|
Fa,
|
|
4816
4826
|
{
|
|
4817
|
-
getRootProps:
|
|
4827
|
+
getRootProps: W,
|
|
4818
4828
|
getInputProps: q,
|
|
4819
4829
|
disabled: r,
|
|
4820
4830
|
name: n,
|
|
4821
|
-
children: /* @__PURE__ */ U("div", { className:
|
|
4831
|
+
children: /* @__PURE__ */ U("div", { className: Z, children: [
|
|
4822
4832
|
/* @__PURE__ */ U("div", { className: ie, children: [
|
|
4823
|
-
O && (g ? /* @__PURE__ */
|
|
4824
|
-
|
|
4833
|
+
O && (g ? /* @__PURE__ */ l(vo, {}) : /* @__PURE__ */ l(xe, { name: P ? pe.Check : pe.Upload })),
|
|
4834
|
+
c()
|
|
4825
4835
|
] }),
|
|
4826
|
-
h && /* @__PURE__ */
|
|
4836
|
+
h && /* @__PURE__ */ l("div", { className: V.spUploadFiles__error, children: h })
|
|
4827
4837
|
] })
|
|
4828
4838
|
}
|
|
4829
4839
|
);
|
|
4830
4840
|
};
|
|
4831
4841
|
export {
|
|
4832
|
-
|
|
4842
|
+
xp as Accordion,
|
|
4833
4843
|
Xn as ApplyButtons,
|
|
4834
4844
|
go as BaseTooltip,
|
|
4835
4845
|
kt as Button,
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4846
|
+
hp as Checkbox,
|
|
4847
|
+
yp as Confirm,
|
|
4848
|
+
wp as ContextMenu,
|
|
4839
4849
|
Fa as DefaultDropzone,
|
|
4840
|
-
|
|
4850
|
+
Cp as Dropdown,
|
|
4841
4851
|
pe as EIconName,
|
|
4842
4852
|
le as ETooltipPosition,
|
|
4843
4853
|
Ye as EllipsisTextWithTooltip,
|
|
4844
|
-
|
|
4845
|
-
|
|
4854
|
+
kp as Form,
|
|
4855
|
+
xe as Icon,
|
|
4846
4856
|
tt as InfoTooltip,
|
|
4847
|
-
|
|
4848
|
-
|
|
4857
|
+
ri as Input,
|
|
4858
|
+
jt as Label,
|
|
4849
4859
|
_a as Layer,
|
|
4850
|
-
|
|
4851
|
-
|
|
4860
|
+
si as MediaContext,
|
|
4861
|
+
Np as MediaContextProvider,
|
|
4852
4862
|
Na as Modal,
|
|
4853
4863
|
ho as Portal,
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4864
|
+
Ep as ProgressWrapper,
|
|
4865
|
+
Sp as Select,
|
|
4866
|
+
Rp as Skeleton,
|
|
4857
4867
|
vo as Spinner,
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4868
|
+
Fp as Table,
|
|
4869
|
+
Ip as Tabs,
|
|
4870
|
+
Ne as Text,
|
|
4871
|
+
jp as TextWithLabel,
|
|
4862
4872
|
et as Tooltip,
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4873
|
+
Ap as UploadFiles,
|
|
4874
|
+
Ki as useAnimatedValue,
|
|
4875
|
+
bp as useModal
|
|
4866
4876
|
};
|