@g4rcez/components 3.0.2 → 4.0.0
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/CaretDown.es-Cj7klWI3.js +33 -0
- package/dist/CaretDown.es-Cj7klWI3.js.map +1 -0
- package/dist/CaretRight.es-0-M8D9y8.js +33 -0
- package/dist/CaretRight.es-0-M8D9y8.js.map +1 -0
- package/dist/CheckCircle.es-C6QWLfk_.js +33 -0
- package/dist/CheckCircle.es-C6QWLfk_.js.map +1 -0
- package/dist/File.es-CA-vuPED.js +33 -0
- package/dist/File.es-CA-vuPED.js.map +1 -0
- package/dist/IconBase.es-DJ1oCtpo.js +50 -0
- package/dist/IconBase.es-DJ1oCtpo.js.map +1 -0
- package/dist/Info.es-CrZKs4q4.js +33 -0
- package/dist/Info.es-CrZKs4q4.js.map +1 -0
- package/dist/MotionConfigContext-C7MqlSdv.js.map +1 -1
- package/dist/Warning.es-D_eI6tLe.js +39 -0
- package/dist/Warning.es-D_eI6tLe.js.map +1 -0
- package/dist/X.es-BJ1O93El.js +39 -0
- package/dist/X.es-BJ1O93El.js.map +1 -0
- package/dist/ai/docs/Alert.md +1 -1
- package/dist/ai/docs/AnimatedList.md +3 -3
- package/dist/ai/docs/Button.md +1 -1
- package/dist/ai/docs/CommandPalette.md +7 -7
- package/dist/ai/docs/Dropdown.md +4 -4
- package/dist/ai/docs/Empty.md +9 -9
- package/dist/ai/docs/Expand.md +1 -1
- package/dist/ai/docs/FileUpload.md +2 -2
- package/dist/ai/docs/Input.md +2 -2
- package/dist/ai/docs/InputField.md +2 -2
- package/dist/ai/docs/List.md +3 -3
- package/dist/ai/docs/Menu.md +3 -3
- package/dist/ai/docs/MultiSelect.md +1 -1
- package/dist/ai/docs/PageCalendar.md +1 -1
- package/dist/ai/docs/Select.md +1 -1
- package/dist/ai/docs/Slot.md +1 -1
- package/dist/ai/docs/Stats.md +11 -11
- package/dist/ai/docs/Table.md +1 -1
- package/dist/ai/docs/Tag.md +2 -2
- package/dist/ai/docs/Timeline.md +5 -5
- package/dist/ai/docs/Toolbar.md +2 -2
- package/dist/ai/docs/Tooltip.md +3 -3
- package/dist/ai/docs/TransferList.md +2 -2
- package/dist/{autocomplete-Boida9R7.js → autocomplete-Cn9Z2hLq.js} +48 -48
- package/dist/autocomplete-Cn9Z2hLq.js.map +1 -0
- package/dist/{calendar-BswV66Nx.js → calendar-B5lSd0ID.js} +599 -571
- package/dist/calendar-B5lSd0ID.js.map +1 -0
- package/dist/components/display/alert.js +18 -18
- package/dist/components/display/alert.js.map +1 -1
- package/dist/components/display/calendar.js +4 -4
- package/dist/components/display/card.d.ts +2 -2
- package/dist/components/display/card.d.ts.map +1 -1
- package/dist/components/display/card.js +6 -6
- package/dist/components/display/card.js.map +1 -1
- package/dist/components/display/empty.d.ts +2 -2
- package/dist/components/display/empty.d.ts.map +1 -1
- package/dist/components/display/list.js +15 -15
- package/dist/components/display/list.js.map +1 -1
- package/dist/components/display/notifications.js +5 -5
- package/dist/components/display/tabs.js +1 -1
- package/dist/components/floating/command-palette.d.ts +3 -3
- package/dist/components/floating/command-palette.d.ts.map +1 -1
- package/dist/components/floating/dropdown.js +1 -1
- package/dist/components/floating/expand.js +1 -1
- package/dist/components/floating/menu.d.ts +2 -2
- package/dist/components/floating/menu.d.ts.map +1 -1
- package/dist/components/floating/menu.js +31 -31
- package/dist/components/floating/menu.js.map +1 -1
- package/dist/components/floating/modal.js +35 -35
- package/dist/components/floating/modal.js.map +1 -1
- package/dist/components/floating/tooltip.js +1 -1
- package/dist/components/form/autocomplete.js +5 -5
- package/dist/components/form/date-picker.js +3 -3
- package/dist/components/form/file-upload.d.ts.map +1 -1
- package/dist/components/form/file-upload.js +3 -3
- package/dist/components/form/input-field.d.ts.map +1 -1
- package/dist/components/form/input.js +1 -1
- package/dist/components/form/select.js +29 -29
- package/dist/components/form/select.js.map +1 -1
- package/dist/components/form/task-list.js.map +1 -1
- package/dist/components/form/transfer-list.js +15 -15
- package/dist/components/form/transfer-list.js.map +1 -1
- package/dist/components/page-calendar/calendar-header.d.ts.map +1 -1
- package/dist/components/table/table.js +3 -3
- package/dist/config/context.d.ts +2 -0
- package/dist/config/context.d.ts.map +1 -1
- package/dist/context-BFXNJVn2.js.map +1 -1
- package/dist/{date-picker-BxPTdZPy.js → date-picker-DwNo22lx.js} +316 -288
- package/dist/date-picker-DwNo22lx.js.map +1 -0
- package/dist/{file-upload-BB6BdGcE.js → file-upload-Brf2NkLr.js} +1103 -976
- package/dist/file-upload-Brf2NkLr.js.map +1 -0
- package/dist/{floating-ui.react-DycKASR0.js → floating-ui.react-QNHG9W4N.js} +205 -205
- package/dist/{floating-ui.react-DycKASR0.js.map → floating-ui.react-QNHG9W4N.js.map} +1 -1
- package/dist/hooks/use-components-provider.d.ts.map +1 -1
- package/dist/index-0YMC-_Lt.js.map +1 -1
- package/dist/index-BelDtX5M.js +1821 -0
- package/dist/index-BelDtX5M.js.map +1 -0
- package/dist/{index-BtlhELJ3.js → index-C-PuFUZi.js} +136 -136
- package/dist/index-C-PuFUZi.js.map +1 -0
- package/dist/index-Z-fZHxfJ.js +335 -0
- package/dist/index-Z-fZHxfJ.js.map +1 -0
- package/dist/index-t1qLJTt5.js.map +1 -1
- package/dist/index.js +2404 -2328
- package/dist/index.js.map +1 -1
- package/dist/{input-CoJoHIhd.js → input-CrGrSnUt.js} +2 -2
- package/dist/{input-CoJoHIhd.js.map → input-CrGrSnUt.js.map} +1 -1
- package/dist/input-field-5vYcz5tT.js +166 -0
- package/dist/input-field-5vYcz5tT.js.map +1 -0
- package/dist/notifications-cUdVPs-B.js +2786 -0
- package/dist/notifications-cUdVPs-B.js.map +1 -0
- package/dist/proxy-BZcQiBrp.js.map +1 -1
- package/dist/{slot-CQW8ZzBb.js → slot-CRyweuj0.js} +5 -5
- package/dist/{slot-CQW8ZzBb.js.map → slot-CRyweuj0.js.map} +1 -1
- package/dist/{tabs-ccIA7vMo.js → tabs-S00a8qq8.js} +5 -5
- package/dist/{tabs-ccIA7vMo.js.map → tabs-S00a8qq8.js.map} +1 -1
- package/dist/use-motion-value-eGwNuWuw.js.map +1 -1
- package/package.json +2 -2
- package/dist/autocomplete-Boida9R7.js.map +0 -1
- package/dist/calendar-BswV66Nx.js.map +0 -1
- package/dist/chevron-down-BBFYYzZq.js +0 -6
- package/dist/chevron-down-BBFYYzZq.js.map +0 -1
- package/dist/chevron-right-DvXGOiS_.js +0 -6
- package/dist/chevron-right-DvXGOiS_.js.map +0 -1
- package/dist/circle-check-big-3M5lhTxx.js +0 -9
- package/dist/circle-check-big-3M5lhTxx.js.map +0 -1
- package/dist/createLucideIcon-CP-mMPfa.js +0 -76
- package/dist/createLucideIcon-CP-mMPfa.js.map +0 -1
- package/dist/date-picker-BxPTdZPy.js.map +0 -1
- package/dist/file-CBCP85VI.js +0 -15
- package/dist/file-CBCP85VI.js.map +0 -1
- package/dist/file-upload-BB6BdGcE.js.map +0 -1
- package/dist/index-BJ1ayTam.js +0 -126
- package/dist/index-BJ1ayTam.js.map +0 -1
- package/dist/index-BtlhELJ3.js.map +0 -1
- package/dist/index-ChfR6F8d.js +0 -1590
- package/dist/index-ChfR6F8d.js.map +0 -1
- package/dist/index-DE4shK8D.js +0 -215
- package/dist/index-DE4shK8D.js.map +0 -1
- package/dist/info-N5jWZg2A.js +0 -10
- package/dist/info-N5jWZg2A.js.map +0 -1
- package/dist/input-field-DTeIrwpK.js +0 -146
- package/dist/input-field-DTeIrwpK.js.map +0 -1
- package/dist/notifications-NPuFDsBp.js +0 -2550
- package/dist/notifications-NPuFDsBp.js.map +0 -1
- package/dist/triangle-alert-CHMhQ6yd.js +0 -16
- package/dist/triangle-alert-CHMhQ6yd.js.map +0 -1
- package/dist/x-B9bYxG31.js +0 -9
- package/dist/x-B9bYxG31.js.map +0 -1
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as oe, jsx as Z } from "react/jsx-runtime";
|
|
2
|
+
import { o as rt } from "./File.es-CA-vuPED.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import pt, { useMemo as ge, useRef as be, useReducer as lt, useEffect as Ee, useCallback as K, forwardRef as ct, useImperativeHandle as st, Fragment as Fa, createContext as dt, useState as Ke, useContext as mt } from "react";
|
|
5
|
+
import { p as fe } from "./IconBase.es-DJ1oCtpo.js";
|
|
6
|
+
import { e as ut } from "./X.es-BJ1O93El.js";
|
|
7
|
+
import { u as _a } from "./use-translations-BwLKTrZv.js";
|
|
8
|
+
import { Modal as ft } from "./components/floating/modal.js";
|
|
9
|
+
var Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
+
function Pa(e) {
|
|
10
11
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
11
12
|
}
|
|
12
|
-
function
|
|
13
|
+
function Gi(e) {
|
|
13
14
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
14
15
|
var a = e.default;
|
|
15
16
|
if (typeof a == "function") {
|
|
16
17
|
var t = function i() {
|
|
17
|
-
var
|
|
18
|
+
var o = !1;
|
|
18
19
|
try {
|
|
19
|
-
|
|
20
|
+
o = this instanceof i;
|
|
20
21
|
} catch {
|
|
21
22
|
}
|
|
22
|
-
return
|
|
23
|
+
return o ? Reflect.construct(a, arguments, this.constructor) : a.apply(this, arguments);
|
|
23
24
|
};
|
|
24
25
|
t.prototype = a.prototype;
|
|
25
26
|
} else t = {};
|
|
26
27
|
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(i) {
|
|
27
|
-
var
|
|
28
|
-
Object.defineProperty(t, i,
|
|
28
|
+
var o = Object.getOwnPropertyDescriptor(e, i);
|
|
29
|
+
Object.defineProperty(t, i, o.get ? o : {
|
|
29
30
|
enumerable: !0,
|
|
30
31
|
get: function() {
|
|
31
32
|
return e[i];
|
|
@@ -33,88 +34,214 @@ function Ki(e) {
|
|
|
33
34
|
});
|
|
34
35
|
}), t;
|
|
35
36
|
}
|
|
36
|
-
const
|
|
37
|
-
["path", { d: "M2 10v3", key: "1fnikh" }],
|
|
38
|
-
["path", { d: "M6 6v11", key: "11sgs0" }],
|
|
39
|
-
["path", { d: "M10 3v18", key: "yhl04a" }],
|
|
40
|
-
["path", { d: "M14 8v7", key: "3a1oy3" }],
|
|
41
|
-
["path", { d: "M18 5v13", key: "123xd1" }],
|
|
42
|
-
["path", { d: "M22 10v3", key: "154ddg" }]
|
|
43
|
-
], dt = ue("audio-lines", st);
|
|
44
|
-
const mt = [
|
|
37
|
+
const vt = /* @__PURE__ */ new Map([
|
|
45
38
|
[
|
|
46
|
-
"
|
|
47
|
-
{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
"bold",
|
|
40
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z" }))
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"duotone",
|
|
44
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,88H152V32Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"fill",
|
|
48
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z" }))
|
|
51
49
|
],
|
|
52
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
53
50
|
[
|
|
54
|
-
"
|
|
55
|
-
{ d: "
|
|
51
|
+
"light",
|
|
52
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z" }))
|
|
56
53
|
],
|
|
57
54
|
[
|
|
58
|
-
"
|
|
59
|
-
{ d: "
|
|
55
|
+
"regular",
|
|
56
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))
|
|
57
|
+
],
|
|
58
|
+
[
|
|
59
|
+
"thin",
|
|
60
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z" }))
|
|
60
61
|
]
|
|
61
|
-
],
|
|
62
|
-
const ft = [
|
|
62
|
+
]), xt = /* @__PURE__ */ new Map([
|
|
63
63
|
[
|
|
64
|
-
"
|
|
65
|
-
{
|
|
66
|
-
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
67
|
-
key: "1oefj6"
|
|
68
|
-
}
|
|
64
|
+
"bold",
|
|
65
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z" }))
|
|
69
66
|
],
|
|
70
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
71
|
-
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
72
|
-
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
73
|
-
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
74
|
-
], oa = ue("file-text", ft);
|
|
75
|
-
const vt = [
|
|
76
67
|
[
|
|
77
|
-
"
|
|
78
|
-
{
|
|
79
|
-
d: "M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2",
|
|
80
|
-
key: "jrl274"
|
|
81
|
-
}
|
|
68
|
+
"duotone",
|
|
69
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,88H152V32Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))
|
|
82
70
|
],
|
|
83
|
-
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
84
71
|
[
|
|
85
|
-
"
|
|
86
|
-
{
|
|
87
|
-
d: "m10 17.843 3.033-1.755a.64.64 0 0 1 .967.56v4.704a.65.65 0 0 1-.967.56L10 20.157",
|
|
88
|
-
key: "17aeo9"
|
|
89
|
-
}
|
|
72
|
+
"fill",
|
|
73
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z" }))
|
|
90
74
|
],
|
|
91
|
-
["rect", { width: "7", height: "6", x: "3", y: "16", rx: "1", key: "s27ndx" }]
|
|
92
|
-
], ra = ue("file-video-camera", vt);
|
|
93
|
-
const xt = [
|
|
94
75
|
[
|
|
95
|
-
"
|
|
96
|
-
{
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
76
|
+
"light",
|
|
77
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z" }))
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
"regular",
|
|
81
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
"thin",
|
|
85
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z" }))
|
|
100
86
|
]
|
|
101
|
-
], gt =
|
|
102
|
-
const yt = [
|
|
87
|
+
]), gt = /* @__PURE__ */ new Map([
|
|
103
88
|
[
|
|
104
|
-
"
|
|
105
|
-
{
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
89
|
+
"bold",
|
|
90
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212a12,12,0,0,0,0,24h4a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-1.91,84.69a12,12,0,0,0-11.92-.15L126.5,152.44A20,20,0,0,0,108,140H48a20,20,0,0,0-20,20v48a20,20,0,0,0,20,20h60a20,20,0,0,0,18.5-12.44l19.67,10.93A12,12,0,0,0,164,216V152A12,12,0,0,0,158.09,141.66ZM104,204H52V164h52Zm36-8.39-12-6.67v-9.88l12-6.67Z" }))
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
"duotone",
|
|
94
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
95
|
+
"path",
|
|
96
|
+
{
|
|
97
|
+
d: "M208,88H152V32Zm-88,72a8,8,0,0,0-8-8H48a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V196l32,20V152l-32,20Z",
|
|
98
|
+
opacity: "0.2"
|
|
99
|
+
}
|
|
100
|
+
), /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z" }))
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
"fill",
|
|
104
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM144,201.57l-16-10V176.43l16-10Z" }))
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
"light",
|
|
108
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158Zm-3.09,100.27a6,6,0,0,0-6.09.16L126,161.17V160a14,14,0,0,0-14-14H48a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h64a14,14,0,0,0,14-14v-1.17l22.82,14.26A6,6,0,0,0,158,216V152A6,6,0,0,0,154.91,146.75ZM114,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V160a2,2,0,0,1,2-2h64a2,2,0,0,1,2,2Zm32-2.83-20-12.5V175.33l20-12.5Z" }))
|
|
109
|
+
],
|
|
110
|
+
[
|
|
111
|
+
"regular",
|
|
112
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z" }))
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
"thin",
|
|
116
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM153.94,148.5a4,4,0,0,0-4.06.11L124,164.78V160a12,12,0,0,0-12-12H48a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12v-4.78l25.88,16.17A4,4,0,0,0,152,220a4.06,4.06,0,0,0,1.94-.5A4,4,0,0,0,156,216V152A4,4,0,0,0,153.94,148.5ZM116,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V160a4,4,0,0,1,4-4h64a4,4,0,0,1,4,4Zm32,.78-24-15V174.22l24-15Z" }))
|
|
109
117
|
]
|
|
110
|
-
],
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
[
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
]), ht = /* @__PURE__ */ new Map([
|
|
119
|
+
[
|
|
120
|
+
"bold",
|
|
121
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z" }))
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
"duotone",
|
|
125
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
126
|
+
"path",
|
|
127
|
+
{
|
|
128
|
+
d: "M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",
|
|
129
|
+
opacity: "0.2"
|
|
130
|
+
}
|
|
131
|
+
), /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z" }))
|
|
132
|
+
],
|
|
133
|
+
[
|
|
134
|
+
"fill",
|
|
135
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z" }))
|
|
136
|
+
],
|
|
137
|
+
[
|
|
138
|
+
"light",
|
|
139
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z" }))
|
|
140
|
+
],
|
|
141
|
+
[
|
|
142
|
+
"regular",
|
|
143
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z" }))
|
|
144
|
+
],
|
|
145
|
+
[
|
|
146
|
+
"thin",
|
|
147
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z" }))
|
|
148
|
+
]
|
|
149
|
+
]), yt = /* @__PURE__ */ new Map([
|
|
150
|
+
[
|
|
151
|
+
"bold",
|
|
152
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M248.23,112.31A20,20,0,0,0,232,104H220V88a20,20,0,0,0-20-20H132L105.34,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V208a12,12,0,0,0,12,12H211.1a12,12,0,0,0,11.33-8l28.49-81.47.06-.17A20,20,0,0,0,248.23,112.31ZM92,68l28.8,21.6A12,12,0,0,0,128,92h68v12H69.77a20,20,0,0,0-18.94,13.58L44,137.15V68ZM202.59,196H48.89l23.72-68H226.37Z" }))
|
|
153
|
+
],
|
|
154
|
+
[
|
|
155
|
+
"duotone",
|
|
156
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
157
|
+
"path",
|
|
158
|
+
{
|
|
159
|
+
d: "M208,88v24H69.77a8,8,0,0,0-7.59,5.47L32,208V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h72A8,8,0,0,1,208,88Z",
|
|
160
|
+
opacity: "0.2"
|
|
161
|
+
}
|
|
162
|
+
), /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }))
|
|
163
|
+
],
|
|
164
|
+
[
|
|
165
|
+
"fill",
|
|
166
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z" }))
|
|
167
|
+
],
|
|
168
|
+
[
|
|
169
|
+
"light",
|
|
170
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M243.36,111.81A14,14,0,0,0,232,106H214V88a14,14,0,0,0-14-14H130L101.74,52.8a14.06,14.06,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V208a6,6,0,0,0,6,6H211.1a6,6,0,0,0,5.69-4.1l28.49-85.47A14,14,0,0,0,243.36,111.81ZM40,62H93.34a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h72a2,2,0,0,1,2,2v18H69.77a14,14,0,0,0-13.28,9.57L38,171V64A2,2,0,0,1,40,62Zm193.9,58.63L206.78,202H40.33l27.54-82.63a2,2,0,0,1,1.9-1.37H232a2,2,0,0,1,1.9,2.63Z" }))
|
|
171
|
+
],
|
|
172
|
+
[
|
|
173
|
+
"regular",
|
|
174
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }))
|
|
175
|
+
],
|
|
176
|
+
[
|
|
177
|
+
"thin",
|
|
178
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M241.72,113a11.88,11.88,0,0,0-9.73-5H212V88a12,12,0,0,0-12-12H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V208a4,4,0,0,0,4,4H211.09a4,4,0,0,0,3.79-2.74l28.49-85.47A11.86,11.86,0,0,0,241.72,113ZM40,60H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4v20H69.76a12,12,0,0,0-11.38,8.21L36,183.35V64A4,4,0,0,1,40,60Zm195.78,61.26L208.2,204H37.55L66,118.74A4,4,0,0,1,69.76,116H232a4,4,0,0,1,3.79,5.26Z" }))
|
|
179
|
+
]
|
|
180
|
+
]), bt = /* @__PURE__ */ new Map([
|
|
181
|
+
[
|
|
182
|
+
"bold",
|
|
183
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM44,116H76v24H44Zm56,0H212v24H100ZM212,68V92H44V68ZM44,164H76v24H44Zm56,24V164H212v24Z" }))
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
"duotone",
|
|
187
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M88,104v96H32V104Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
188
|
+
],
|
|
189
|
+
[
|
|
190
|
+
"fill",
|
|
191
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
192
|
+
],
|
|
193
|
+
[
|
|
194
|
+
"light",
|
|
195
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM38,110H82v36H38Zm56,0H218v36H94ZM218,62V98H38V62ZM38,192V158H82v36H40A2,2,0,0,1,38,192Zm178,2H94V158H218v34A2,2,0,0,1,216,194Z" }))
|
|
196
|
+
],
|
|
197
|
+
[
|
|
198
|
+
"regular",
|
|
199
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
200
|
+
],
|
|
201
|
+
[
|
|
202
|
+
"thin",
|
|
203
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52ZM36,108H84v40H36Zm56,0H220v40H92ZM220,60v40H36V60ZM36,192V156H84v40H40A4,4,0,0,1,36,192Zm180,4H92V156H220v36A4,4,0,0,1,216,196Z" }))
|
|
204
|
+
]
|
|
205
|
+
]), wt = /* @__PURE__ */ new Map([
|
|
206
|
+
[
|
|
207
|
+
"bold",
|
|
208
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z" }))
|
|
209
|
+
],
|
|
210
|
+
[
|
|
211
|
+
"duotone",
|
|
212
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,96v64H48V96Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z" }))
|
|
213
|
+
],
|
|
214
|
+
[
|
|
215
|
+
"fill",
|
|
216
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z" }))
|
|
217
|
+
],
|
|
218
|
+
[
|
|
219
|
+
"light",
|
|
220
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z" }))
|
|
221
|
+
],
|
|
222
|
+
[
|
|
223
|
+
"regular",
|
|
224
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z" }))
|
|
225
|
+
],
|
|
226
|
+
[
|
|
227
|
+
"thin",
|
|
228
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z" }))
|
|
229
|
+
]
|
|
230
|
+
]), Sa = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: vt }));
|
|
231
|
+
Sa.displayName = "FileCodeIcon";
|
|
232
|
+
const Je = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: xt }));
|
|
233
|
+
Je.displayName = "FileTextIcon";
|
|
234
|
+
const Xe = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: gt }));
|
|
235
|
+
Xe.displayName = "FileVideoIcon";
|
|
236
|
+
const za = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: ht }));
|
|
237
|
+
za.displayName = "FolderIcon";
|
|
238
|
+
const Ra = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: yt }));
|
|
239
|
+
Ra.displayName = "FolderOpenIcon";
|
|
240
|
+
const De = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: bt }));
|
|
241
|
+
De.displayName = "TableIcon";
|
|
242
|
+
const Ca = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: wt }));
|
|
243
|
+
Ca.displayName = "WaveformIcon";
|
|
244
|
+
const Et = [
|
|
118
245
|
"B",
|
|
119
246
|
"kB",
|
|
120
247
|
"MB",
|
|
@@ -124,7 +251,7 @@ const ht = [
|
|
|
124
251
|
"EB",
|
|
125
252
|
"ZB",
|
|
126
253
|
"YB"
|
|
127
|
-
],
|
|
254
|
+
], At = [
|
|
128
255
|
"B",
|
|
129
256
|
"KiB",
|
|
130
257
|
"MiB",
|
|
@@ -134,7 +261,7 @@ const ht = [
|
|
|
134
261
|
"EiB",
|
|
135
262
|
"ZiB",
|
|
136
263
|
"YiB"
|
|
137
|
-
],
|
|
264
|
+
], kt = [
|
|
138
265
|
"b",
|
|
139
266
|
"kbit",
|
|
140
267
|
"Mbit",
|
|
@@ -154,15 +281,15 @@ const ht = [
|
|
|
154
281
|
"Eibit",
|
|
155
282
|
"Zibit",
|
|
156
283
|
"Yibit"
|
|
157
|
-
],
|
|
284
|
+
], la = (e, a, t) => {
|
|
158
285
|
let i = e;
|
|
159
286
|
return typeof a == "string" || Array.isArray(a) ? i = e.toLocaleString(a, t) : (a === !0 || t !== void 0) && (i = e.toLocaleString(void 0, t)), i;
|
|
160
|
-
},
|
|
287
|
+
}, Ia = (e) => {
|
|
161
288
|
if (typeof e == "number")
|
|
162
289
|
return Math.log10(e);
|
|
163
290
|
const a = e.toString(10);
|
|
164
291
|
return a.length + Math.log10(`0.${a.slice(0, 15)}`);
|
|
165
|
-
},
|
|
292
|
+
}, Ht = (e) => typeof e == "number" ? Math.log(e) : Ia(e) * Math.log(10), Vt = (e, a) => {
|
|
166
293
|
if (typeof e == "number")
|
|
167
294
|
return e / a;
|
|
168
295
|
const t = e / BigInt(a), i = e % BigInt(a);
|
|
@@ -173,7 +300,7 @@ const ht = [
|
|
|
173
300
|
if (typeof a != "number" || !Number.isSafeInteger(a) || a < 0)
|
|
174
301
|
throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof a}: ${a}`);
|
|
175
302
|
return a === 0 ? e : e.length < a ? e.padStart(a, " ") : e;
|
|
176
|
-
},
|
|
303
|
+
}, Mt = (e) => {
|
|
177
304
|
const { minimumFractionDigits: a, maximumFractionDigits: t } = e;
|
|
178
305
|
if (!(a === void 0 && t === void 0))
|
|
179
306
|
return {
|
|
@@ -182,7 +309,7 @@ const ht = [
|
|
|
182
309
|
roundingMode: "trunc"
|
|
183
310
|
};
|
|
184
311
|
};
|
|
185
|
-
function
|
|
312
|
+
function Tt(e, a) {
|
|
186
313
|
if (typeof e != "bigint" && !Number.isFinite(e))
|
|
187
314
|
throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);
|
|
188
315
|
a = {
|
|
@@ -192,563 +319,563 @@ function _t(e, a) {
|
|
|
192
319
|
nonBreakingSpace: !1,
|
|
193
320
|
...a
|
|
194
321
|
};
|
|
195
|
-
const t = a.bits ? a.binary ? jt :
|
|
196
|
-
if (a.signed &&
|
|
197
|
-
const
|
|
198
|
-
return ca(
|
|
322
|
+
const t = a.bits ? a.binary ? jt : kt : a.binary ? At : Et, i = a.space ? a.nonBreakingSpace ? " " : " " : "", o = typeof e == "number" ? e === 0 : e === 0n;
|
|
323
|
+
if (a.signed && o) {
|
|
324
|
+
const x = ` 0${i}${t[0]}`;
|
|
325
|
+
return ca(x, a.fixedWidth);
|
|
199
326
|
}
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
const c =
|
|
203
|
-
let
|
|
327
|
+
const r = e < 0, l = r ? "-" : a.signed ? "+" : "";
|
|
328
|
+
r && (e = -e);
|
|
329
|
+
const c = Mt(a);
|
|
330
|
+
let f;
|
|
204
331
|
if (e < 1) {
|
|
205
|
-
const
|
|
206
|
-
|
|
332
|
+
const x = la(e, a.locale, c);
|
|
333
|
+
f = l + x + i + t[0];
|
|
207
334
|
} else {
|
|
208
|
-
const
|
|
209
|
-
if (e =
|
|
210
|
-
const
|
|
211
|
-
e = e.toPrecision(
|
|
335
|
+
const x = Math.min(Math.floor(a.binary ? Ht(e) / Math.log(1024) : Ia(e) / 3), t.length - 1);
|
|
336
|
+
if (e = Vt(e, (a.binary ? 1024 : 1e3) ** x), !c) {
|
|
337
|
+
const O = Math.max(3, Math.floor(e).toString().length);
|
|
338
|
+
e = e.toPrecision(O);
|
|
212
339
|
}
|
|
213
|
-
const
|
|
214
|
-
|
|
340
|
+
const g = la(Number(e), a.locale, c), b = t[x];
|
|
341
|
+
f = l + g + i + b;
|
|
215
342
|
}
|
|
216
|
-
return ca(
|
|
217
|
-
}
|
|
218
|
-
var
|
|
219
|
-
var
|
|
220
|
-
function
|
|
221
|
-
if (
|
|
222
|
-
|
|
223
|
-
var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107,
|
|
224
|
-
function
|
|
225
|
-
if (typeof
|
|
226
|
-
var
|
|
227
|
-
switch (
|
|
343
|
+
return ca(f, a.fixedWidth);
|
|
344
|
+
}
|
|
345
|
+
var Ve = { exports: {} }, Me = { exports: {} }, T = {};
|
|
346
|
+
var sa;
|
|
347
|
+
function Dt() {
|
|
348
|
+
if (sa) return T;
|
|
349
|
+
sa = 1;
|
|
350
|
+
var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
351
|
+
function I(m) {
|
|
352
|
+
if (typeof m == "object" && m !== null) {
|
|
353
|
+
var X = m.$$typeof;
|
|
354
|
+
switch (X) {
|
|
228
355
|
case a:
|
|
229
|
-
switch (
|
|
230
|
-
case
|
|
231
|
-
case
|
|
356
|
+
switch (m = m.type, m) {
|
|
357
|
+
case f:
|
|
358
|
+
case x:
|
|
232
359
|
case i:
|
|
360
|
+
case r:
|
|
233
361
|
case o:
|
|
234
|
-
case n:
|
|
235
362
|
case b:
|
|
236
|
-
return
|
|
363
|
+
return m;
|
|
237
364
|
default:
|
|
238
|
-
switch (
|
|
365
|
+
switch (m = m && m.$$typeof, m) {
|
|
239
366
|
case c:
|
|
240
|
-
case
|
|
241
|
-
case
|
|
242
|
-
case
|
|
243
|
-
case
|
|
244
|
-
return
|
|
367
|
+
case g:
|
|
368
|
+
case C:
|
|
369
|
+
case _:
|
|
370
|
+
case l:
|
|
371
|
+
return m;
|
|
245
372
|
default:
|
|
246
|
-
return
|
|
373
|
+
return X;
|
|
247
374
|
}
|
|
248
375
|
}
|
|
249
376
|
case t:
|
|
250
|
-
return
|
|
377
|
+
return X;
|
|
251
378
|
}
|
|
252
379
|
}
|
|
253
380
|
}
|
|
254
|
-
function L(
|
|
255
|
-
return
|
|
381
|
+
function L(m) {
|
|
382
|
+
return I(m) === x;
|
|
256
383
|
}
|
|
257
|
-
return
|
|
258
|
-
return L(
|
|
259
|
-
},
|
|
260
|
-
return
|
|
261
|
-
},
|
|
262
|
-
return
|
|
263
|
-
},
|
|
264
|
-
return typeof
|
|
265
|
-
},
|
|
266
|
-
return
|
|
267
|
-
},
|
|
268
|
-
return
|
|
269
|
-
},
|
|
270
|
-
return
|
|
271
|
-
},
|
|
272
|
-
return
|
|
273
|
-
},
|
|
274
|
-
return
|
|
275
|
-
},
|
|
276
|
-
return
|
|
277
|
-
},
|
|
278
|
-
return
|
|
279
|
-
},
|
|
280
|
-
return
|
|
281
|
-
},
|
|
282
|
-
return typeof
|
|
283
|
-
},
|
|
284
|
-
}
|
|
285
|
-
var
|
|
286
|
-
var
|
|
287
|
-
function
|
|
288
|
-
return
|
|
289
|
-
var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107,
|
|
290
|
-
function
|
|
291
|
-
return typeof
|
|
292
|
-
|
|
384
|
+
return T.AsyncMode = f, T.ConcurrentMode = x, T.ContextConsumer = c, T.ContextProvider = l, T.Element = a, T.ForwardRef = g, T.Fragment = i, T.Lazy = C, T.Memo = _, T.Portal = t, T.Profiler = r, T.StrictMode = o, T.Suspense = b, T.isAsyncMode = function(m) {
|
|
385
|
+
return L(m) || I(m) === f;
|
|
386
|
+
}, T.isConcurrentMode = L, T.isContextConsumer = function(m) {
|
|
387
|
+
return I(m) === c;
|
|
388
|
+
}, T.isContextProvider = function(m) {
|
|
389
|
+
return I(m) === l;
|
|
390
|
+
}, T.isElement = function(m) {
|
|
391
|
+
return typeof m == "object" && m !== null && m.$$typeof === a;
|
|
392
|
+
}, T.isForwardRef = function(m) {
|
|
393
|
+
return I(m) === g;
|
|
394
|
+
}, T.isFragment = function(m) {
|
|
395
|
+
return I(m) === i;
|
|
396
|
+
}, T.isLazy = function(m) {
|
|
397
|
+
return I(m) === C;
|
|
398
|
+
}, T.isMemo = function(m) {
|
|
399
|
+
return I(m) === _;
|
|
400
|
+
}, T.isPortal = function(m) {
|
|
401
|
+
return I(m) === t;
|
|
402
|
+
}, T.isProfiler = function(m) {
|
|
403
|
+
return I(m) === r;
|
|
404
|
+
}, T.isStrictMode = function(m) {
|
|
405
|
+
return I(m) === o;
|
|
406
|
+
}, T.isSuspense = function(m) {
|
|
407
|
+
return I(m) === b;
|
|
408
|
+
}, T.isValidElementType = function(m) {
|
|
409
|
+
return typeof m == "string" || typeof m == "function" || m === i || m === x || m === r || m === o || m === b || m === O || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === _ || m.$$typeof === l || m.$$typeof === c || m.$$typeof === g || m.$$typeof === R || m.$$typeof === U || m.$$typeof === re || m.$$typeof === M);
|
|
410
|
+
}, T.typeOf = I, T;
|
|
411
|
+
}
|
|
412
|
+
var D = {};
|
|
413
|
+
var da;
|
|
414
|
+
function Zt() {
|
|
415
|
+
return da || (da = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
416
|
+
var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
417
|
+
function I(s) {
|
|
418
|
+
return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
419
|
+
s === i || s === x || s === r || s === o || s === b || s === O || typeof s == "object" && s !== null && (s.$$typeof === C || s.$$typeof === _ || s.$$typeof === l || s.$$typeof === c || s.$$typeof === g || s.$$typeof === R || s.$$typeof === U || s.$$typeof === re || s.$$typeof === M);
|
|
293
420
|
}
|
|
294
|
-
function L(
|
|
295
|
-
if (typeof
|
|
296
|
-
var
|
|
297
|
-
switch (
|
|
421
|
+
function L(s) {
|
|
422
|
+
if (typeof s == "object" && s !== null) {
|
|
423
|
+
var B = s.$$typeof;
|
|
424
|
+
switch (B) {
|
|
298
425
|
case a:
|
|
299
|
-
var
|
|
300
|
-
switch (
|
|
301
|
-
case
|
|
302
|
-
case
|
|
426
|
+
var me = s.type;
|
|
427
|
+
switch (me) {
|
|
428
|
+
case f:
|
|
429
|
+
case x:
|
|
303
430
|
case i:
|
|
431
|
+
case r:
|
|
304
432
|
case o:
|
|
305
|
-
case n:
|
|
306
433
|
case b:
|
|
307
|
-
return
|
|
434
|
+
return me;
|
|
308
435
|
default:
|
|
309
|
-
var ye =
|
|
436
|
+
var ye = me && me.$$typeof;
|
|
310
437
|
switch (ye) {
|
|
311
438
|
case c:
|
|
312
|
-
case
|
|
313
|
-
case
|
|
314
|
-
case
|
|
315
|
-
case
|
|
439
|
+
case g:
|
|
440
|
+
case C:
|
|
441
|
+
case _:
|
|
442
|
+
case l:
|
|
316
443
|
return ye;
|
|
317
444
|
default:
|
|
318
|
-
return
|
|
445
|
+
return B;
|
|
319
446
|
}
|
|
320
447
|
}
|
|
321
448
|
case t:
|
|
322
|
-
return
|
|
449
|
+
return B;
|
|
323
450
|
}
|
|
324
451
|
}
|
|
325
452
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
328
|
-
return
|
|
453
|
+
var m = f, X = x, J = c, ce = l, te = a, ie = g, se = i, de = C, pe = _, S = t, W = r, G = o, Q = b, le = !1;
|
|
454
|
+
function q(s) {
|
|
455
|
+
return le || (le = !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.")), p(s) || L(s) === f;
|
|
329
456
|
}
|
|
330
|
-
function
|
|
331
|
-
return L(
|
|
457
|
+
function p(s) {
|
|
458
|
+
return L(s) === x;
|
|
332
459
|
}
|
|
333
|
-
function
|
|
334
|
-
return L(
|
|
460
|
+
function u(s) {
|
|
461
|
+
return L(s) === c;
|
|
335
462
|
}
|
|
336
|
-
function
|
|
337
|
-
return L(
|
|
463
|
+
function w(s) {
|
|
464
|
+
return L(s) === l;
|
|
338
465
|
}
|
|
339
|
-
function
|
|
340
|
-
return typeof
|
|
466
|
+
function k(s) {
|
|
467
|
+
return typeof s == "object" && s !== null && s.$$typeof === a;
|
|
341
468
|
}
|
|
342
|
-
function
|
|
343
|
-
return L(
|
|
469
|
+
function h(s) {
|
|
470
|
+
return L(s) === g;
|
|
344
471
|
}
|
|
345
|
-
function
|
|
346
|
-
return L(
|
|
472
|
+
function E(s) {
|
|
473
|
+
return L(s) === i;
|
|
347
474
|
}
|
|
348
|
-
function
|
|
349
|
-
return L(
|
|
475
|
+
function A(s) {
|
|
476
|
+
return L(s) === C;
|
|
350
477
|
}
|
|
351
|
-
function y(
|
|
352
|
-
return L(
|
|
478
|
+
function y(s) {
|
|
479
|
+
return L(s) === _;
|
|
353
480
|
}
|
|
354
|
-
function j(
|
|
355
|
-
return L(
|
|
481
|
+
function j(s) {
|
|
482
|
+
return L(s) === t;
|
|
356
483
|
}
|
|
357
|
-
function
|
|
358
|
-
return L(
|
|
484
|
+
function V(s) {
|
|
485
|
+
return L(s) === r;
|
|
359
486
|
}
|
|
360
|
-
function
|
|
361
|
-
return L(
|
|
487
|
+
function H(s) {
|
|
488
|
+
return L(s) === o;
|
|
362
489
|
}
|
|
363
|
-
function
|
|
364
|
-
return L(
|
|
490
|
+
function N(s) {
|
|
491
|
+
return L(s) === b;
|
|
365
492
|
}
|
|
366
|
-
|
|
367
|
-
})()),
|
|
493
|
+
D.AsyncMode = m, D.ConcurrentMode = X, D.ContextConsumer = J, D.ContextProvider = ce, D.Element = te, D.ForwardRef = ie, D.Fragment = se, D.Lazy = de, D.Memo = pe, D.Portal = S, D.Profiler = W, D.StrictMode = G, D.Suspense = Q, D.isAsyncMode = q, D.isConcurrentMode = p, D.isContextConsumer = u, D.isContextProvider = w, D.isElement = k, D.isForwardRef = h, D.isFragment = E, D.isLazy = A, D.isMemo = y, D.isPortal = j, D.isProfiler = V, D.isStrictMode = H, D.isSuspense = N, D.isValidElementType = I, D.typeOf = L;
|
|
494
|
+
})()), D;
|
|
368
495
|
}
|
|
369
|
-
var
|
|
370
|
-
function
|
|
371
|
-
return
|
|
496
|
+
var ma;
|
|
497
|
+
function La() {
|
|
498
|
+
return ma || (ma = 1, process.env.NODE_ENV === "production" ? Me.exports = Dt() : Me.exports = Zt()), Me.exports;
|
|
372
499
|
}
|
|
373
|
-
var
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
376
|
-
|
|
500
|
+
var qe, ua;
|
|
501
|
+
function Ot() {
|
|
502
|
+
if (ua) return qe;
|
|
503
|
+
ua = 1;
|
|
377
504
|
var e = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
378
|
-
function i(
|
|
379
|
-
if (
|
|
505
|
+
function i(r) {
|
|
506
|
+
if (r == null)
|
|
380
507
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
381
|
-
return Object(
|
|
508
|
+
return Object(r);
|
|
382
509
|
}
|
|
383
|
-
function
|
|
510
|
+
function o() {
|
|
384
511
|
try {
|
|
385
512
|
if (!Object.assign)
|
|
386
513
|
return !1;
|
|
387
|
-
var
|
|
388
|
-
if (
|
|
514
|
+
var r = new String("abc");
|
|
515
|
+
if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
|
|
389
516
|
return !1;
|
|
390
|
-
for (var
|
|
391
|
-
|
|
392
|
-
var
|
|
393
|
-
return
|
|
517
|
+
for (var l = {}, c = 0; c < 10; c++)
|
|
518
|
+
l["_" + String.fromCharCode(c)] = c;
|
|
519
|
+
var f = Object.getOwnPropertyNames(l).map(function(g) {
|
|
520
|
+
return l[g];
|
|
394
521
|
});
|
|
395
|
-
if (
|
|
522
|
+
if (f.join("") !== "0123456789")
|
|
396
523
|
return !1;
|
|
397
|
-
var
|
|
398
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
399
|
-
|
|
400
|
-
}), Object.keys(Object.assign({},
|
|
524
|
+
var x = {};
|
|
525
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
|
|
526
|
+
x[g] = g;
|
|
527
|
+
}), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
|
|
401
528
|
} catch {
|
|
402
529
|
return !1;
|
|
403
530
|
}
|
|
404
531
|
}
|
|
405
|
-
return
|
|
406
|
-
for (var c,
|
|
407
|
-
c = Object(arguments[
|
|
532
|
+
return qe = o() ? Object.assign : function(r, l) {
|
|
533
|
+
for (var c, f = i(r), x, g = 1; g < arguments.length; g++) {
|
|
534
|
+
c = Object(arguments[g]);
|
|
408
535
|
for (var b in c)
|
|
409
|
-
a.call(c, b) && (
|
|
536
|
+
a.call(c, b) && (f[b] = c[b]);
|
|
410
537
|
if (e) {
|
|
411
|
-
|
|
412
|
-
for (var
|
|
413
|
-
t.call(c,
|
|
538
|
+
x = e(c);
|
|
539
|
+
for (var O = 0; O < x.length; O++)
|
|
540
|
+
t.call(c, x[O]) && (f[x[O]] = c[x[O]]);
|
|
414
541
|
}
|
|
415
542
|
}
|
|
416
|
-
return
|
|
417
|
-
},
|
|
543
|
+
return f;
|
|
544
|
+
}, qe;
|
|
418
545
|
}
|
|
419
|
-
var
|
|
420
|
-
function
|
|
421
|
-
if (
|
|
422
|
-
|
|
546
|
+
var $e, fa;
|
|
547
|
+
function na() {
|
|
548
|
+
if (fa) return $e;
|
|
549
|
+
fa = 1;
|
|
423
550
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
424
|
-
return
|
|
551
|
+
return $e = e, $e;
|
|
425
552
|
}
|
|
426
|
-
var
|
|
427
|
-
function
|
|
428
|
-
return
|
|
553
|
+
var Ne, va;
|
|
554
|
+
function qa() {
|
|
555
|
+
return va || (va = 1, Ne = Function.call.bind(Object.prototype.hasOwnProperty)), Ne;
|
|
429
556
|
}
|
|
430
|
-
var
|
|
431
|
-
function
|
|
432
|
-
if (
|
|
433
|
-
|
|
557
|
+
var Be, xa;
|
|
558
|
+
function Ft() {
|
|
559
|
+
if (xa) return Be;
|
|
560
|
+
xa = 1;
|
|
434
561
|
var e = function() {
|
|
435
562
|
};
|
|
436
563
|
if (process.env.NODE_ENV !== "production") {
|
|
437
|
-
var a = /* @__PURE__ */
|
|
438
|
-
e = function(
|
|
439
|
-
var
|
|
440
|
-
typeof console < "u" && console.error(
|
|
564
|
+
var a = /* @__PURE__ */ na(), t = {}, i = /* @__PURE__ */ qa();
|
|
565
|
+
e = function(r) {
|
|
566
|
+
var l = "Warning: " + r;
|
|
567
|
+
typeof console < "u" && console.error(l);
|
|
441
568
|
try {
|
|
442
|
-
throw new Error(
|
|
569
|
+
throw new Error(l);
|
|
443
570
|
} catch {
|
|
444
571
|
}
|
|
445
572
|
};
|
|
446
573
|
}
|
|
447
|
-
function
|
|
574
|
+
function o(r, l, c, f, x) {
|
|
448
575
|
if (process.env.NODE_ENV !== "production") {
|
|
449
|
-
for (var
|
|
450
|
-
if (i(
|
|
576
|
+
for (var g in r)
|
|
577
|
+
if (i(r, g)) {
|
|
451
578
|
var b;
|
|
452
579
|
try {
|
|
453
|
-
if (typeof
|
|
454
|
-
var
|
|
455
|
-
(
|
|
580
|
+
if (typeof r[g] != "function") {
|
|
581
|
+
var O = Error(
|
|
582
|
+
(f || "React class") + ": " + c + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
456
583
|
);
|
|
457
|
-
throw
|
|
584
|
+
throw O.name = "Invariant Violation", O;
|
|
458
585
|
}
|
|
459
|
-
b =
|
|
460
|
-
} catch (
|
|
461
|
-
b =
|
|
586
|
+
b = r[g](l, g, f, c, null, a);
|
|
587
|
+
} catch (C) {
|
|
588
|
+
b = C;
|
|
462
589
|
}
|
|
463
590
|
if (b && !(b instanceof Error) && e(
|
|
464
|
-
(
|
|
591
|
+
(f || "React class") + ": type specification of " + c + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
465
592
|
), b instanceof Error && !(b.message in t)) {
|
|
466
593
|
t[b.message] = !0;
|
|
467
|
-
var
|
|
594
|
+
var _ = x ? x() : "";
|
|
468
595
|
e(
|
|
469
|
-
"Failed " + c + " type: " + b.message + (
|
|
596
|
+
"Failed " + c + " type: " + b.message + (_ ?? "")
|
|
470
597
|
);
|
|
471
598
|
}
|
|
472
599
|
}
|
|
473
600
|
}
|
|
474
601
|
}
|
|
475
|
-
return
|
|
602
|
+
return o.resetWarningCache = function() {
|
|
476
603
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
477
|
-
},
|
|
604
|
+
}, Be = o, Be;
|
|
478
605
|
}
|
|
479
|
-
var
|
|
480
|
-
function
|
|
481
|
-
if (
|
|
482
|
-
|
|
483
|
-
var e =
|
|
606
|
+
var Ye, ga;
|
|
607
|
+
function _t() {
|
|
608
|
+
if (ga) return Ye;
|
|
609
|
+
ga = 1;
|
|
610
|
+
var e = La(), a = Ot(), t = /* @__PURE__ */ na(), i = /* @__PURE__ */ qa(), o = /* @__PURE__ */ Ft(), r = function() {
|
|
484
611
|
};
|
|
485
|
-
process.env.NODE_ENV !== "production" && (
|
|
486
|
-
var
|
|
487
|
-
typeof console < "u" && console.error(
|
|
612
|
+
process.env.NODE_ENV !== "production" && (r = function(c) {
|
|
613
|
+
var f = "Warning: " + c;
|
|
614
|
+
typeof console < "u" && console.error(f);
|
|
488
615
|
try {
|
|
489
|
-
throw new Error(
|
|
616
|
+
throw new Error(f);
|
|
490
617
|
} catch {
|
|
491
618
|
}
|
|
492
619
|
});
|
|
493
|
-
function
|
|
620
|
+
function l() {
|
|
494
621
|
return null;
|
|
495
622
|
}
|
|
496
|
-
return
|
|
497
|
-
var
|
|
498
|
-
function b(
|
|
499
|
-
var
|
|
500
|
-
if (typeof
|
|
501
|
-
return
|
|
623
|
+
return Ye = function(c, f) {
|
|
624
|
+
var x = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
625
|
+
function b(p) {
|
|
626
|
+
var u = p && (x && p[x] || p[g]);
|
|
627
|
+
if (typeof u == "function")
|
|
628
|
+
return u;
|
|
502
629
|
}
|
|
503
|
-
var
|
|
504
|
-
array:
|
|
505
|
-
bigint:
|
|
506
|
-
bool:
|
|
507
|
-
func:
|
|
508
|
-
number:
|
|
509
|
-
object:
|
|
510
|
-
string:
|
|
511
|
-
symbol:
|
|
512
|
-
any:
|
|
513
|
-
arrayOf:
|
|
630
|
+
var O = "<<anonymous>>", _ = {
|
|
631
|
+
array: U("array"),
|
|
632
|
+
bigint: U("bigint"),
|
|
633
|
+
bool: U("boolean"),
|
|
634
|
+
func: U("function"),
|
|
635
|
+
number: U("number"),
|
|
636
|
+
object: U("object"),
|
|
637
|
+
string: U("string"),
|
|
638
|
+
symbol: U("symbol"),
|
|
639
|
+
any: re(),
|
|
640
|
+
arrayOf: I,
|
|
514
641
|
element: L(),
|
|
515
|
-
elementType:
|
|
516
|
-
instanceOf:
|
|
517
|
-
node:
|
|
642
|
+
elementType: m(),
|
|
643
|
+
instanceOf: X,
|
|
644
|
+
node: ie(),
|
|
518
645
|
objectOf: ce,
|
|
519
|
-
oneOf:
|
|
520
|
-
oneOfType:
|
|
521
|
-
shape:
|
|
522
|
-
exact:
|
|
646
|
+
oneOf: J,
|
|
647
|
+
oneOfType: te,
|
|
648
|
+
shape: de,
|
|
649
|
+
exact: pe
|
|
523
650
|
};
|
|
524
|
-
function
|
|
525
|
-
return
|
|
651
|
+
function C(p, u) {
|
|
652
|
+
return p === u ? p !== 0 || 1 / p === 1 / u : p !== p && u !== u;
|
|
526
653
|
}
|
|
527
|
-
function
|
|
528
|
-
this.message =
|
|
654
|
+
function M(p, u) {
|
|
655
|
+
this.message = p, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
|
|
529
656
|
}
|
|
530
|
-
|
|
531
|
-
function
|
|
657
|
+
M.prototype = Error.prototype;
|
|
658
|
+
function R(p) {
|
|
532
659
|
if (process.env.NODE_ENV !== "production")
|
|
533
|
-
var
|
|
534
|
-
function E
|
|
535
|
-
if (j = j ||
|
|
536
|
-
if (
|
|
537
|
-
var
|
|
660
|
+
var u = {}, w = 0;
|
|
661
|
+
function k(E, A, y, j, V, H, N) {
|
|
662
|
+
if (j = j || O, H = H || y, N !== t) {
|
|
663
|
+
if (f) {
|
|
664
|
+
var s = new Error(
|
|
538
665
|
"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"
|
|
539
666
|
);
|
|
540
|
-
throw
|
|
667
|
+
throw s.name = "Invariant Violation", s;
|
|
541
668
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
542
|
-
var
|
|
543
|
-
!
|
|
544
|
-
|
|
545
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
546
|
-
),
|
|
669
|
+
var B = j + ":" + y;
|
|
670
|
+
!u[B] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
671
|
+
w < 3 && (r(
|
|
672
|
+
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + j + "`. 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."
|
|
673
|
+
), u[B] = !0, w++);
|
|
547
674
|
}
|
|
548
675
|
}
|
|
549
|
-
return
|
|
676
|
+
return A[y] == null ? E ? A[y] === null ? new M("The " + V + " `" + H + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new M("The " + V + " `" + H + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : p(A, y, j, V, H);
|
|
550
677
|
}
|
|
551
|
-
var
|
|
552
|
-
return
|
|
678
|
+
var h = k.bind(null, !1);
|
|
679
|
+
return h.isRequired = k.bind(null, !0), h;
|
|
553
680
|
}
|
|
554
|
-
function
|
|
555
|
-
function
|
|
556
|
-
var j =
|
|
557
|
-
if (
|
|
558
|
-
var
|
|
559
|
-
return new
|
|
560
|
-
"Invalid " +
|
|
561
|
-
{ expectedType:
|
|
681
|
+
function U(p) {
|
|
682
|
+
function u(w, k, h, E, A, y) {
|
|
683
|
+
var j = w[k], V = G(j);
|
|
684
|
+
if (V !== p) {
|
|
685
|
+
var H = Q(j);
|
|
686
|
+
return new M(
|
|
687
|
+
"Invalid " + E + " `" + A + "` of type " + ("`" + H + "` supplied to `" + h + "`, expected ") + ("`" + p + "`."),
|
|
688
|
+
{ expectedType: p }
|
|
562
689
|
);
|
|
563
690
|
}
|
|
564
691
|
return null;
|
|
565
692
|
}
|
|
566
|
-
return
|
|
693
|
+
return R(u);
|
|
567
694
|
}
|
|
568
|
-
function
|
|
569
|
-
return
|
|
695
|
+
function re() {
|
|
696
|
+
return R(l);
|
|
570
697
|
}
|
|
571
|
-
function
|
|
572
|
-
function
|
|
573
|
-
if (typeof
|
|
574
|
-
return new
|
|
575
|
-
var y =
|
|
698
|
+
function I(p) {
|
|
699
|
+
function u(w, k, h, E, A) {
|
|
700
|
+
if (typeof p != "function")
|
|
701
|
+
return new M("Property `" + A + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
|
|
702
|
+
var y = w[k];
|
|
576
703
|
if (!Array.isArray(y)) {
|
|
577
|
-
var j =
|
|
578
|
-
return new
|
|
704
|
+
var j = G(y);
|
|
705
|
+
return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected an array."));
|
|
579
706
|
}
|
|
580
|
-
for (var
|
|
581
|
-
var
|
|
582
|
-
if (
|
|
583
|
-
return
|
|
707
|
+
for (var V = 0; V < y.length; V++) {
|
|
708
|
+
var H = p(y, V, h, E, A + "[" + V + "]", t);
|
|
709
|
+
if (H instanceof Error)
|
|
710
|
+
return H;
|
|
584
711
|
}
|
|
585
712
|
return null;
|
|
586
713
|
}
|
|
587
|
-
return
|
|
714
|
+
return R(u);
|
|
588
715
|
}
|
|
589
716
|
function L() {
|
|
590
|
-
function
|
|
591
|
-
var
|
|
592
|
-
if (!c(
|
|
593
|
-
var y =
|
|
594
|
-
return new
|
|
717
|
+
function p(u, w, k, h, E) {
|
|
718
|
+
var A = u[w];
|
|
719
|
+
if (!c(A)) {
|
|
720
|
+
var y = G(A);
|
|
721
|
+
return new M("Invalid " + h + " `" + E + "` of type " + ("`" + y + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
595
722
|
}
|
|
596
723
|
return null;
|
|
597
724
|
}
|
|
598
|
-
return
|
|
725
|
+
return R(p);
|
|
599
726
|
}
|
|
600
|
-
function
|
|
601
|
-
function
|
|
602
|
-
var
|
|
603
|
-
if (!e.isValidElementType(
|
|
604
|
-
var y =
|
|
605
|
-
return new
|
|
727
|
+
function m() {
|
|
728
|
+
function p(u, w, k, h, E) {
|
|
729
|
+
var A = u[w];
|
|
730
|
+
if (!e.isValidElementType(A)) {
|
|
731
|
+
var y = G(A);
|
|
732
|
+
return new M("Invalid " + h + " `" + E + "` of type " + ("`" + y + "` supplied to `" + k + "`, expected a single ReactElement type."));
|
|
606
733
|
}
|
|
607
734
|
return null;
|
|
608
735
|
}
|
|
609
|
-
return
|
|
736
|
+
return R(p);
|
|
610
737
|
}
|
|
611
|
-
function
|
|
612
|
-
function
|
|
613
|
-
if (!(
|
|
614
|
-
var y =
|
|
615
|
-
return new
|
|
738
|
+
function X(p) {
|
|
739
|
+
function u(w, k, h, E, A) {
|
|
740
|
+
if (!(w[k] instanceof p)) {
|
|
741
|
+
var y = p.name || O, j = q(w[k]);
|
|
742
|
+
return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected ") + ("instance of `" + y + "`."));
|
|
616
743
|
}
|
|
617
744
|
return null;
|
|
618
745
|
}
|
|
619
|
-
return
|
|
746
|
+
return R(u);
|
|
620
747
|
}
|
|
621
|
-
function
|
|
622
|
-
if (!Array.isArray(
|
|
623
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
748
|
+
function J(p) {
|
|
749
|
+
if (!Array.isArray(p))
|
|
750
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
624
751
|
"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])."
|
|
625
|
-
) :
|
|
626
|
-
function
|
|
627
|
-
for (var y =
|
|
628
|
-
if (
|
|
752
|
+
) : r("Invalid argument supplied to oneOf, expected an array.")), l;
|
|
753
|
+
function u(w, k, h, E, A) {
|
|
754
|
+
for (var y = w[k], j = 0; j < p.length; j++)
|
|
755
|
+
if (C(y, p[j]))
|
|
629
756
|
return null;
|
|
630
|
-
var
|
|
631
|
-
var
|
|
632
|
-
return
|
|
757
|
+
var V = JSON.stringify(p, function(N, s) {
|
|
758
|
+
var B = Q(s);
|
|
759
|
+
return B === "symbol" ? String(s) : s;
|
|
633
760
|
});
|
|
634
|
-
return new
|
|
761
|
+
return new M("Invalid " + E + " `" + A + "` of value `" + String(y) + "` " + ("supplied to `" + h + "`, expected one of " + V + "."));
|
|
635
762
|
}
|
|
636
|
-
return
|
|
763
|
+
return R(u);
|
|
637
764
|
}
|
|
638
|
-
function ce(
|
|
639
|
-
function
|
|
640
|
-
if (typeof
|
|
641
|
-
return new
|
|
642
|
-
var y =
|
|
765
|
+
function ce(p) {
|
|
766
|
+
function u(w, k, h, E, A) {
|
|
767
|
+
if (typeof p != "function")
|
|
768
|
+
return new M("Property `" + A + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
|
|
769
|
+
var y = w[k], j = G(y);
|
|
643
770
|
if (j !== "object")
|
|
644
|
-
return new
|
|
645
|
-
for (var
|
|
646
|
-
if (i(y,
|
|
647
|
-
var
|
|
648
|
-
if (
|
|
649
|
-
return
|
|
771
|
+
return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected an object."));
|
|
772
|
+
for (var V in y)
|
|
773
|
+
if (i(y, V)) {
|
|
774
|
+
var H = p(y, V, h, E, A + "." + V, t);
|
|
775
|
+
if (H instanceof Error)
|
|
776
|
+
return H;
|
|
650
777
|
}
|
|
651
778
|
return null;
|
|
652
779
|
}
|
|
653
|
-
return
|
|
780
|
+
return R(u);
|
|
654
781
|
}
|
|
655
|
-
function
|
|
656
|
-
if (!Array.isArray(
|
|
657
|
-
return process.env.NODE_ENV !== "production" &&
|
|
658
|
-
for (var
|
|
659
|
-
var
|
|
660
|
-
if (typeof
|
|
661
|
-
return
|
|
662
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
663
|
-
),
|
|
782
|
+
function te(p) {
|
|
783
|
+
if (!Array.isArray(p))
|
|
784
|
+
return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), l;
|
|
785
|
+
for (var u = 0; u < p.length; u++) {
|
|
786
|
+
var w = p[u];
|
|
787
|
+
if (typeof w != "function")
|
|
788
|
+
return r(
|
|
789
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + le(w) + " at index " + u + "."
|
|
790
|
+
), l;
|
|
664
791
|
}
|
|
665
|
-
function
|
|
666
|
-
for (var
|
|
667
|
-
var
|
|
668
|
-
if (
|
|
792
|
+
function k(h, E, A, y, j) {
|
|
793
|
+
for (var V = [], H = 0; H < p.length; H++) {
|
|
794
|
+
var N = p[H], s = N(h, E, A, y, j, t);
|
|
795
|
+
if (s == null)
|
|
669
796
|
return null;
|
|
670
|
-
|
|
797
|
+
s.data && i(s.data, "expectedType") && V.push(s.data.expectedType);
|
|
671
798
|
}
|
|
672
|
-
var
|
|
673
|
-
return new
|
|
799
|
+
var B = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
800
|
+
return new M("Invalid " + y + " `" + j + "` supplied to " + ("`" + A + "`" + B + "."));
|
|
674
801
|
}
|
|
675
|
-
return
|
|
802
|
+
return R(k);
|
|
676
803
|
}
|
|
677
|
-
function
|
|
678
|
-
function
|
|
679
|
-
return
|
|
804
|
+
function ie() {
|
|
805
|
+
function p(u, w, k, h, E) {
|
|
806
|
+
return S(u[w]) ? null : new M("Invalid " + h + " `" + E + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
680
807
|
}
|
|
681
|
-
return
|
|
808
|
+
return R(p);
|
|
682
809
|
}
|
|
683
|
-
function
|
|
684
|
-
return new
|
|
685
|
-
(
|
|
810
|
+
function se(p, u, w, k, h) {
|
|
811
|
+
return new M(
|
|
812
|
+
(p || "React class") + ": " + u + " type `" + w + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
|
|
686
813
|
);
|
|
687
814
|
}
|
|
688
|
-
function
|
|
689
|
-
function
|
|
690
|
-
var y =
|
|
815
|
+
function de(p) {
|
|
816
|
+
function u(w, k, h, E, A) {
|
|
817
|
+
var y = w[k], j = G(y);
|
|
691
818
|
if (j !== "object")
|
|
692
|
-
return new
|
|
693
|
-
for (var
|
|
694
|
-
var
|
|
695
|
-
if (typeof
|
|
696
|
-
return
|
|
697
|
-
var
|
|
698
|
-
if (
|
|
699
|
-
return
|
|
819
|
+
return new M("Invalid " + E + " `" + A + "` of type `" + j + "` " + ("supplied to `" + h + "`, expected `object`."));
|
|
820
|
+
for (var V in p) {
|
|
821
|
+
var H = p[V];
|
|
822
|
+
if (typeof H != "function")
|
|
823
|
+
return se(h, E, A, V, Q(H));
|
|
824
|
+
var N = H(y, V, h, E, A + "." + V, t);
|
|
825
|
+
if (N)
|
|
826
|
+
return N;
|
|
700
827
|
}
|
|
701
828
|
return null;
|
|
702
829
|
}
|
|
703
|
-
return
|
|
830
|
+
return R(u);
|
|
704
831
|
}
|
|
705
|
-
function
|
|
706
|
-
function
|
|
707
|
-
var y =
|
|
832
|
+
function pe(p) {
|
|
833
|
+
function u(w, k, h, E, A) {
|
|
834
|
+
var y = w[k], j = G(y);
|
|
708
835
|
if (j !== "object")
|
|
709
|
-
return new
|
|
710
|
-
var
|
|
711
|
-
for (var
|
|
712
|
-
var
|
|
713
|
-
if (i(
|
|
714
|
-
return
|
|
715
|
-
if (!
|
|
716
|
-
return new
|
|
717
|
-
"Invalid " +
|
|
718
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
836
|
+
return new M("Invalid " + E + " `" + A + "` of type `" + j + "` " + ("supplied to `" + h + "`, expected `object`."));
|
|
837
|
+
var V = a({}, w[k], p);
|
|
838
|
+
for (var H in V) {
|
|
839
|
+
var N = p[H];
|
|
840
|
+
if (i(p, H) && typeof N != "function")
|
|
841
|
+
return se(h, E, A, H, Q(N));
|
|
842
|
+
if (!N)
|
|
843
|
+
return new M(
|
|
844
|
+
"Invalid " + E + " `" + A + "` key `" + H + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(w[k], null, " ") + `
|
|
845
|
+
Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
719
846
|
);
|
|
720
|
-
var
|
|
721
|
-
if (
|
|
722
|
-
return
|
|
847
|
+
var s = N(y, H, h, E, A + "." + H, t);
|
|
848
|
+
if (s)
|
|
849
|
+
return s;
|
|
723
850
|
}
|
|
724
851
|
return null;
|
|
725
852
|
}
|
|
726
|
-
return
|
|
853
|
+
return R(u);
|
|
727
854
|
}
|
|
728
|
-
function
|
|
729
|
-
switch (typeof
|
|
855
|
+
function S(p) {
|
|
856
|
+
switch (typeof p) {
|
|
730
857
|
case "number":
|
|
731
858
|
case "string":
|
|
732
859
|
case "undefined":
|
|
733
860
|
return !0;
|
|
734
861
|
case "boolean":
|
|
735
|
-
return !
|
|
862
|
+
return !p;
|
|
736
863
|
case "object":
|
|
737
|
-
if (Array.isArray(
|
|
738
|
-
return
|
|
739
|
-
if (
|
|
864
|
+
if (Array.isArray(p))
|
|
865
|
+
return p.every(S);
|
|
866
|
+
if (p === null || c(p))
|
|
740
867
|
return !0;
|
|
741
|
-
var
|
|
742
|
-
if (
|
|
743
|
-
var
|
|
744
|
-
if (
|
|
745
|
-
for (; !(
|
|
746
|
-
if (!
|
|
868
|
+
var u = b(p);
|
|
869
|
+
if (u) {
|
|
870
|
+
var w = u.call(p), k;
|
|
871
|
+
if (u !== p.entries) {
|
|
872
|
+
for (; !(k = w.next()).done; )
|
|
873
|
+
if (!S(k.value))
|
|
747
874
|
return !1;
|
|
748
875
|
} else
|
|
749
|
-
for (; !(
|
|
750
|
-
var
|
|
751
|
-
if (
|
|
876
|
+
for (; !(k = w.next()).done; ) {
|
|
877
|
+
var h = k.value;
|
|
878
|
+
if (h && !S(h[1]))
|
|
752
879
|
return !1;
|
|
753
880
|
}
|
|
754
881
|
} else
|
|
@@ -758,68 +885,68 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
758
885
|
return !1;
|
|
759
886
|
}
|
|
760
887
|
}
|
|
761
|
-
function
|
|
762
|
-
return
|
|
888
|
+
function W(p, u) {
|
|
889
|
+
return p === "symbol" ? !0 : u ? u["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && u instanceof Symbol : !1;
|
|
763
890
|
}
|
|
764
|
-
function
|
|
765
|
-
var
|
|
766
|
-
return Array.isArray(
|
|
891
|
+
function G(p) {
|
|
892
|
+
var u = typeof p;
|
|
893
|
+
return Array.isArray(p) ? "array" : p instanceof RegExp ? "object" : W(u, p) ? "symbol" : u;
|
|
767
894
|
}
|
|
768
|
-
function
|
|
769
|
-
if (typeof
|
|
770
|
-
return "" +
|
|
771
|
-
var
|
|
772
|
-
if (
|
|
773
|
-
if (
|
|
895
|
+
function Q(p) {
|
|
896
|
+
if (typeof p > "u" || p === null)
|
|
897
|
+
return "" + p;
|
|
898
|
+
var u = G(p);
|
|
899
|
+
if (u === "object") {
|
|
900
|
+
if (p instanceof Date)
|
|
774
901
|
return "date";
|
|
775
|
-
if (
|
|
902
|
+
if (p instanceof RegExp)
|
|
776
903
|
return "regexp";
|
|
777
904
|
}
|
|
778
|
-
return
|
|
905
|
+
return u;
|
|
779
906
|
}
|
|
780
|
-
function
|
|
781
|
-
var
|
|
782
|
-
switch (
|
|
907
|
+
function le(p) {
|
|
908
|
+
var u = Q(p);
|
|
909
|
+
switch (u) {
|
|
783
910
|
case "array":
|
|
784
911
|
case "object":
|
|
785
|
-
return "an " +
|
|
912
|
+
return "an " + u;
|
|
786
913
|
case "boolean":
|
|
787
914
|
case "date":
|
|
788
915
|
case "regexp":
|
|
789
|
-
return "a " +
|
|
916
|
+
return "a " + u;
|
|
790
917
|
default:
|
|
791
|
-
return
|
|
918
|
+
return u;
|
|
792
919
|
}
|
|
793
920
|
}
|
|
794
|
-
function
|
|
795
|
-
return !
|
|
921
|
+
function q(p) {
|
|
922
|
+
return !p.constructor || !p.constructor.name ? O : p.constructor.name;
|
|
796
923
|
}
|
|
797
|
-
return
|
|
798
|
-
},
|
|
924
|
+
return _.checkPropTypes = o, _.resetWarningCache = o.resetWarningCache, _.PropTypes = _, _;
|
|
925
|
+
}, Ye;
|
|
799
926
|
}
|
|
800
|
-
var
|
|
801
|
-
function
|
|
802
|
-
if (
|
|
803
|
-
|
|
804
|
-
var e = /* @__PURE__ */
|
|
927
|
+
var We, ha;
|
|
928
|
+
function Pt() {
|
|
929
|
+
if (ha) return We;
|
|
930
|
+
ha = 1;
|
|
931
|
+
var e = /* @__PURE__ */ na();
|
|
805
932
|
function a() {
|
|
806
933
|
}
|
|
807
934
|
function t() {
|
|
808
935
|
}
|
|
809
|
-
return t.resetWarningCache = a,
|
|
810
|
-
function i(
|
|
936
|
+
return t.resetWarningCache = a, We = function() {
|
|
937
|
+
function i(l, c, f, x, g, b) {
|
|
811
938
|
if (b !== e) {
|
|
812
|
-
var
|
|
939
|
+
var O = new Error(
|
|
813
940
|
"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"
|
|
814
941
|
);
|
|
815
|
-
throw
|
|
942
|
+
throw O.name = "Invariant Violation", O;
|
|
816
943
|
}
|
|
817
944
|
}
|
|
818
945
|
i.isRequired = i;
|
|
819
|
-
function
|
|
946
|
+
function o() {
|
|
820
947
|
return i;
|
|
821
948
|
}
|
|
822
|
-
var
|
|
949
|
+
var r = {
|
|
823
950
|
array: i,
|
|
824
951
|
bigint: i,
|
|
825
952
|
bool: i,
|
|
@@ -829,62 +956,62 @@ function Ft() {
|
|
|
829
956
|
string: i,
|
|
830
957
|
symbol: i,
|
|
831
958
|
any: i,
|
|
832
|
-
arrayOf:
|
|
959
|
+
arrayOf: o,
|
|
833
960
|
element: i,
|
|
834
961
|
elementType: i,
|
|
835
|
-
instanceOf:
|
|
962
|
+
instanceOf: o,
|
|
836
963
|
node: i,
|
|
837
|
-
objectOf:
|
|
838
|
-
oneOf:
|
|
839
|
-
oneOfType:
|
|
840
|
-
shape:
|
|
841
|
-
exact:
|
|
964
|
+
objectOf: o,
|
|
965
|
+
oneOf: o,
|
|
966
|
+
oneOfType: o,
|
|
967
|
+
shape: o,
|
|
968
|
+
exact: o,
|
|
842
969
|
checkPropTypes: t,
|
|
843
970
|
resetWarningCache: a
|
|
844
971
|
};
|
|
845
|
-
return
|
|
846
|
-
},
|
|
972
|
+
return r.PropTypes = r, r;
|
|
973
|
+
}, We;
|
|
847
974
|
}
|
|
848
975
|
var ya;
|
|
849
|
-
function
|
|
850
|
-
if (ya) return
|
|
976
|
+
function St() {
|
|
977
|
+
if (ya) return Ve.exports;
|
|
851
978
|
if (ya = 1, process.env.NODE_ENV !== "production") {
|
|
852
|
-
var e =
|
|
853
|
-
|
|
979
|
+
var e = La(), a = !0;
|
|
980
|
+
Ve.exports = /* @__PURE__ */ _t()(e.isElement, a);
|
|
854
981
|
} else
|
|
855
|
-
|
|
856
|
-
return
|
|
857
|
-
}
|
|
858
|
-
var
|
|
859
|
-
const
|
|
860
|
-
function
|
|
861
|
-
function
|
|
862
|
-
return
|
|
863
|
-
|
|
982
|
+
Ve.exports = /* @__PURE__ */ Pt()();
|
|
983
|
+
return Ve.exports;
|
|
984
|
+
}
|
|
985
|
+
var zt = /* @__PURE__ */ St();
|
|
986
|
+
const F = /* @__PURE__ */ Pa(zt);
|
|
987
|
+
function ve(e, a, t, i) {
|
|
988
|
+
function o(r) {
|
|
989
|
+
return r instanceof t ? r : new t(function(l) {
|
|
990
|
+
l(r);
|
|
864
991
|
});
|
|
865
992
|
}
|
|
866
|
-
return new (t || (t = Promise))(function(
|
|
867
|
-
function c(
|
|
993
|
+
return new (t || (t = Promise))(function(r, l) {
|
|
994
|
+
function c(g) {
|
|
868
995
|
try {
|
|
869
|
-
|
|
996
|
+
x(i.next(g));
|
|
870
997
|
} catch (b) {
|
|
871
|
-
|
|
998
|
+
l(b);
|
|
872
999
|
}
|
|
873
1000
|
}
|
|
874
|
-
function
|
|
1001
|
+
function f(g) {
|
|
875
1002
|
try {
|
|
876
|
-
|
|
1003
|
+
x(i.throw(g));
|
|
877
1004
|
} catch (b) {
|
|
878
|
-
|
|
1005
|
+
l(b);
|
|
879
1006
|
}
|
|
880
1007
|
}
|
|
881
|
-
function
|
|
882
|
-
|
|
1008
|
+
function x(g) {
|
|
1009
|
+
g.done ? r(g.value) : o(g.value).then(c, f);
|
|
883
1010
|
}
|
|
884
|
-
|
|
1011
|
+
x((i = i.apply(e, a || [])).next());
|
|
885
1012
|
});
|
|
886
1013
|
}
|
|
887
|
-
const
|
|
1014
|
+
const Rt = /* @__PURE__ */ new Map([
|
|
888
1015
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
889
1016
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
890
1017
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2087,16 +2214,16 @@ const Mt = /* @__PURE__ */ new Map([
|
|
|
2087
2214
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
2088
2215
|
["zsh", "text/x-scriptzsh"]
|
|
2089
2216
|
]);
|
|
2090
|
-
function
|
|
2091
|
-
const i =
|
|
2092
|
-
return typeof i.path != "string" && ba(i, "path",
|
|
2217
|
+
function he(e, a, t) {
|
|
2218
|
+
const i = Ct(e), { webkitRelativePath: o } = e, r = typeof a == "string" ? a : typeof o == "string" && o.length > 0 ? o : `./${e.name}`;
|
|
2219
|
+
return typeof i.path != "string" && ba(i, "path", r), ba(i, "relativePath", r), i;
|
|
2093
2220
|
}
|
|
2094
|
-
function
|
|
2221
|
+
function Ct(e) {
|
|
2095
2222
|
const { name: a } = e;
|
|
2096
2223
|
if (a && a.lastIndexOf(".") !== -1 && !e.type) {
|
|
2097
|
-
const i = a.split(".").pop().toLowerCase(),
|
|
2098
|
-
|
|
2099
|
-
value:
|
|
2224
|
+
const i = a.split(".").pop().toLowerCase(), o = Rt.get(i);
|
|
2225
|
+
o && Object.defineProperty(e, "type", {
|
|
2226
|
+
value: o,
|
|
2100
2227
|
writable: !1,
|
|
2101
2228
|
configurable: !1,
|
|
2102
2229
|
enumerable: !0
|
|
@@ -2112,7 +2239,7 @@ function ba(e, a, t) {
|
|
|
2112
2239
|
enumerable: !0
|
|
2113
2240
|
});
|
|
2114
2241
|
}
|
|
2115
|
-
const
|
|
2242
|
+
const It = [
|
|
2116
2243
|
// Thumbnail cache files for macOS and Windows
|
|
2117
2244
|
".DS_Store",
|
|
2118
2245
|
// macOs
|
|
@@ -2120,43 +2247,43 @@ const $t = [
|
|
|
2120
2247
|
// Windows
|
|
2121
2248
|
];
|
|
2122
2249
|
function Lt(e) {
|
|
2123
|
-
return
|
|
2124
|
-
return
|
|
2250
|
+
return ve(this, void 0, void 0, function* () {
|
|
2251
|
+
return Ze(e) && qt(e.dataTransfer) ? Yt(e.dataTransfer, e.type) : $t(e) ? Nt(e) : Array.isArray(e) && e.every((a) => "getFile" in a && typeof a.getFile == "function") ? Bt(e) : [];
|
|
2125
2252
|
});
|
|
2126
2253
|
}
|
|
2127
|
-
function
|
|
2128
|
-
return
|
|
2254
|
+
function qt(e) {
|
|
2255
|
+
return Ze(e);
|
|
2129
2256
|
}
|
|
2130
|
-
function
|
|
2131
|
-
return
|
|
2257
|
+
function $t(e) {
|
|
2258
|
+
return Ze(e) && Ze(e.target);
|
|
2132
2259
|
}
|
|
2133
|
-
function
|
|
2260
|
+
function Ze(e) {
|
|
2134
2261
|
return typeof e == "object" && e !== null;
|
|
2135
2262
|
}
|
|
2136
|
-
function
|
|
2137
|
-
return
|
|
2263
|
+
function Nt(e) {
|
|
2264
|
+
return Qe(e.target.files).map((a) => he(a));
|
|
2138
2265
|
}
|
|
2139
|
-
function
|
|
2140
|
-
return
|
|
2141
|
-
return (yield Promise.all(e.map((t) => t.getFile()))).map((t) =>
|
|
2266
|
+
function Bt(e) {
|
|
2267
|
+
return ve(this, void 0, void 0, function* () {
|
|
2268
|
+
return (yield Promise.all(e.map((t) => t.getFile()))).map((t) => he(t));
|
|
2142
2269
|
});
|
|
2143
2270
|
}
|
|
2144
|
-
function
|
|
2145
|
-
return
|
|
2271
|
+
function Yt(e, a) {
|
|
2272
|
+
return ve(this, void 0, void 0, function* () {
|
|
2146
2273
|
if (e.items) {
|
|
2147
|
-
const t =
|
|
2274
|
+
const t = Qe(e.items).filter((o) => o.kind === "file");
|
|
2148
2275
|
if (a !== "drop")
|
|
2149
2276
|
return t;
|
|
2150
|
-
const i = yield Promise.all(t.map(
|
|
2151
|
-
return
|
|
2277
|
+
const i = yield Promise.all(t.map(Wt));
|
|
2278
|
+
return wa($a(i));
|
|
2152
2279
|
}
|
|
2153
|
-
return
|
|
2280
|
+
return wa(Qe(e.files).map((t) => he(t)));
|
|
2154
2281
|
});
|
|
2155
2282
|
}
|
|
2156
|
-
function
|
|
2157
|
-
return e.filter((a) =>
|
|
2283
|
+
function wa(e) {
|
|
2284
|
+
return e.filter((a) => It.indexOf(a.name) === -1);
|
|
2158
2285
|
}
|
|
2159
|
-
function
|
|
2286
|
+
function Qe(e) {
|
|
2160
2287
|
if (e === null)
|
|
2161
2288
|
return [];
|
|
2162
2289
|
const a = [];
|
|
@@ -2166,265 +2293,265 @@ function Ze(e) {
|
|
|
2166
2293
|
}
|
|
2167
2294
|
return a;
|
|
2168
2295
|
}
|
|
2169
|
-
function
|
|
2296
|
+
function Wt(e) {
|
|
2170
2297
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2171
|
-
return
|
|
2298
|
+
return Ea(e);
|
|
2172
2299
|
const a = e.webkitGetAsEntry();
|
|
2173
|
-
return a && a.isDirectory ?
|
|
2300
|
+
return a && a.isDirectory ? Na(a) : Ea(e, a);
|
|
2174
2301
|
}
|
|
2175
|
-
function
|
|
2302
|
+
function $a(e) {
|
|
2176
2303
|
return e.reduce((a, t) => [
|
|
2177
2304
|
...a,
|
|
2178
|
-
...Array.isArray(t) ?
|
|
2305
|
+
...Array.isArray(t) ? $a(t) : [t]
|
|
2179
2306
|
], []);
|
|
2180
2307
|
}
|
|
2181
|
-
function
|
|
2182
|
-
return
|
|
2308
|
+
function Ea(e, a) {
|
|
2309
|
+
return ve(this, void 0, void 0, function* () {
|
|
2183
2310
|
var t;
|
|
2184
2311
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
2185
|
-
const
|
|
2186
|
-
if (
|
|
2312
|
+
const r = yield e.getAsFileSystemHandle();
|
|
2313
|
+
if (r === null)
|
|
2187
2314
|
throw new Error(`${e} is not a File`);
|
|
2188
|
-
if (
|
|
2189
|
-
const
|
|
2190
|
-
return
|
|
2315
|
+
if (r !== void 0) {
|
|
2316
|
+
const l = yield r.getFile();
|
|
2317
|
+
return l.handle = r, he(l);
|
|
2191
2318
|
}
|
|
2192
2319
|
}
|
|
2193
2320
|
const i = e.getAsFile();
|
|
2194
2321
|
if (!i)
|
|
2195
2322
|
throw new Error(`${e} is not a File`);
|
|
2196
|
-
return
|
|
2323
|
+
return he(i, (t = a?.fullPath) !== null && t !== void 0 ? t : void 0);
|
|
2197
2324
|
});
|
|
2198
2325
|
}
|
|
2199
|
-
function
|
|
2200
|
-
return
|
|
2201
|
-
return e.isDirectory ?
|
|
2326
|
+
function Ut(e) {
|
|
2327
|
+
return ve(this, void 0, void 0, function* () {
|
|
2328
|
+
return e.isDirectory ? Na(e) : Gt(e);
|
|
2202
2329
|
});
|
|
2203
2330
|
}
|
|
2204
|
-
function
|
|
2331
|
+
function Na(e) {
|
|
2205
2332
|
const a = e.createReader();
|
|
2206
2333
|
return new Promise((t, i) => {
|
|
2207
|
-
const
|
|
2208
|
-
function
|
|
2209
|
-
a.readEntries((
|
|
2210
|
-
if (
|
|
2211
|
-
const c = Promise.all(
|
|
2212
|
-
|
|
2334
|
+
const o = [];
|
|
2335
|
+
function r() {
|
|
2336
|
+
a.readEntries((l) => ve(this, void 0, void 0, function* () {
|
|
2337
|
+
if (l.length) {
|
|
2338
|
+
const c = Promise.all(l.map(Ut));
|
|
2339
|
+
o.push(c), r();
|
|
2213
2340
|
} else
|
|
2214
2341
|
try {
|
|
2215
|
-
const c = yield Promise.all(
|
|
2342
|
+
const c = yield Promise.all(o);
|
|
2216
2343
|
t(c);
|
|
2217
2344
|
} catch (c) {
|
|
2218
2345
|
i(c);
|
|
2219
2346
|
}
|
|
2220
|
-
}), (
|
|
2221
|
-
i(
|
|
2347
|
+
}), (l) => {
|
|
2348
|
+
i(l);
|
|
2222
2349
|
});
|
|
2223
2350
|
}
|
|
2224
|
-
|
|
2351
|
+
r();
|
|
2225
2352
|
});
|
|
2226
2353
|
}
|
|
2227
|
-
function
|
|
2228
|
-
return
|
|
2354
|
+
function Gt(e) {
|
|
2355
|
+
return ve(this, void 0, void 0, function* () {
|
|
2229
2356
|
return new Promise((a, t) => {
|
|
2230
2357
|
e.file((i) => {
|
|
2231
|
-
const
|
|
2232
|
-
a(
|
|
2358
|
+
const o = he(i, e.fullPath);
|
|
2359
|
+
a(o);
|
|
2233
2360
|
}, (i) => {
|
|
2234
2361
|
t(i);
|
|
2235
2362
|
});
|
|
2236
2363
|
});
|
|
2237
2364
|
});
|
|
2238
2365
|
}
|
|
2239
|
-
var
|
|
2240
|
-
function
|
|
2241
|
-
return
|
|
2366
|
+
var Te = {}, Aa;
|
|
2367
|
+
function Kt() {
|
|
2368
|
+
return Aa || (Aa = 1, Te.__esModule = !0, Te.default = function(e, a) {
|
|
2242
2369
|
if (e && a) {
|
|
2243
2370
|
var t = Array.isArray(a) ? a : a.split(",");
|
|
2244
2371
|
if (t.length === 0)
|
|
2245
2372
|
return !0;
|
|
2246
|
-
var i = e.name || "",
|
|
2247
|
-
return t.some(function(
|
|
2248
|
-
var c =
|
|
2249
|
-
return c.charAt(0) === "." ? i.toLowerCase().endsWith(c) : c.endsWith("/*") ?
|
|
2373
|
+
var i = e.name || "", o = (e.type || "").toLowerCase(), r = o.replace(/\/.*$/, "");
|
|
2374
|
+
return t.some(function(l) {
|
|
2375
|
+
var c = l.trim().toLowerCase();
|
|
2376
|
+
return c.charAt(0) === "." ? i.toLowerCase().endsWith(c) : c.endsWith("/*") ? r === c.replace(/\/.*$/, "") : o === c;
|
|
2250
2377
|
});
|
|
2251
2378
|
}
|
|
2252
2379
|
return !0;
|
|
2253
|
-
}),
|
|
2380
|
+
}), Te;
|
|
2254
2381
|
}
|
|
2255
|
-
var
|
|
2256
|
-
const
|
|
2257
|
-
function
|
|
2258
|
-
return
|
|
2382
|
+
var Jt = Kt();
|
|
2383
|
+
const Ue = /* @__PURE__ */ Pa(Jt);
|
|
2384
|
+
function ka(e) {
|
|
2385
|
+
return ei(e) || Qt(e) || Ya(e) || Xt();
|
|
2259
2386
|
}
|
|
2260
|
-
function
|
|
2387
|
+
function Xt() {
|
|
2261
2388
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2262
2389
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2263
2390
|
}
|
|
2264
|
-
function
|
|
2391
|
+
function Qt(e) {
|
|
2265
2392
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2266
2393
|
}
|
|
2267
|
-
function
|
|
2268
|
-
if (Array.isArray(e)) return
|
|
2394
|
+
function ei(e) {
|
|
2395
|
+
if (Array.isArray(e)) return ea(e);
|
|
2269
2396
|
}
|
|
2270
2397
|
function ja(e, a) {
|
|
2271
2398
|
var t = Object.keys(e);
|
|
2272
2399
|
if (Object.getOwnPropertySymbols) {
|
|
2273
2400
|
var i = Object.getOwnPropertySymbols(e);
|
|
2274
|
-
a && (i = i.filter(function(
|
|
2275
|
-
return Object.getOwnPropertyDescriptor(e,
|
|
2401
|
+
a && (i = i.filter(function(o) {
|
|
2402
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
2276
2403
|
})), t.push.apply(t, i);
|
|
2277
2404
|
}
|
|
2278
2405
|
return t;
|
|
2279
2406
|
}
|
|
2280
|
-
function
|
|
2407
|
+
function Ha(e) {
|
|
2281
2408
|
for (var a = 1; a < arguments.length; a++) {
|
|
2282
2409
|
var t = arguments[a] != null ? arguments[a] : {};
|
|
2283
2410
|
a % 2 ? ja(Object(t), !0).forEach(function(i) {
|
|
2284
|
-
|
|
2411
|
+
Ba(e, i, t[i]);
|
|
2285
2412
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ja(Object(t)).forEach(function(i) {
|
|
2286
2413
|
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(t, i));
|
|
2287
2414
|
});
|
|
2288
2415
|
}
|
|
2289
2416
|
return e;
|
|
2290
2417
|
}
|
|
2291
|
-
function
|
|
2418
|
+
function Ba(e, a, t) {
|
|
2292
2419
|
return a in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e;
|
|
2293
2420
|
}
|
|
2294
|
-
function
|
|
2295
|
-
return
|
|
2421
|
+
function Ae(e, a) {
|
|
2422
|
+
return ii(e) || ti(e, a) || Ya(e, a) || ai();
|
|
2296
2423
|
}
|
|
2297
|
-
function
|
|
2424
|
+
function ai() {
|
|
2298
2425
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2299
2426
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2300
2427
|
}
|
|
2301
|
-
function
|
|
2428
|
+
function Ya(e, a) {
|
|
2302
2429
|
if (e) {
|
|
2303
|
-
if (typeof e == "string") return
|
|
2430
|
+
if (typeof e == "string") return ea(e, a);
|
|
2304
2431
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
2305
2432
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
2306
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return
|
|
2433
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ea(e, a);
|
|
2307
2434
|
}
|
|
2308
2435
|
}
|
|
2309
|
-
function
|
|
2436
|
+
function ea(e, a) {
|
|
2310
2437
|
(a == null || a > e.length) && (a = e.length);
|
|
2311
2438
|
for (var t = 0, i = new Array(a); t < a; t++)
|
|
2312
2439
|
i[t] = e[t];
|
|
2313
2440
|
return i;
|
|
2314
2441
|
}
|
|
2315
|
-
function
|
|
2442
|
+
function ti(e, a) {
|
|
2316
2443
|
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2317
2444
|
if (t != null) {
|
|
2318
|
-
var i = [],
|
|
2445
|
+
var i = [], o = !0, r = !1, l, c;
|
|
2319
2446
|
try {
|
|
2320
|
-
for (t = t.call(e); !(
|
|
2447
|
+
for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
|
|
2321
2448
|
;
|
|
2322
|
-
} catch (
|
|
2323
|
-
|
|
2449
|
+
} catch (f) {
|
|
2450
|
+
r = !0, c = f;
|
|
2324
2451
|
} finally {
|
|
2325
2452
|
try {
|
|
2326
|
-
!
|
|
2453
|
+
!o && t.return != null && t.return();
|
|
2327
2454
|
} finally {
|
|
2328
|
-
if (
|
|
2455
|
+
if (r) throw c;
|
|
2329
2456
|
}
|
|
2330
2457
|
}
|
|
2331
2458
|
return i;
|
|
2332
2459
|
}
|
|
2333
2460
|
}
|
|
2334
|
-
function
|
|
2461
|
+
function ii(e) {
|
|
2335
2462
|
if (Array.isArray(e)) return e;
|
|
2336
2463
|
}
|
|
2337
|
-
var
|
|
2464
|
+
var ni = typeof Ue == "function" ? Ue : Ue.default, oi = "file-invalid-type", ri = "file-too-large", pi = "file-too-small", li = "too-many-files", ci = function() {
|
|
2338
2465
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = a.split(","), i = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
|
|
2339
2466
|
return {
|
|
2340
|
-
code:
|
|
2467
|
+
code: oi,
|
|
2341
2468
|
message: "File type must be ".concat(i)
|
|
2342
2469
|
};
|
|
2343
|
-
},
|
|
2470
|
+
}, Va = function(a) {
|
|
2344
2471
|
return {
|
|
2345
|
-
code:
|
|
2472
|
+
code: ri,
|
|
2346
2473
|
message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
|
|
2347
2474
|
};
|
|
2348
|
-
},
|
|
2475
|
+
}, Ma = function(a) {
|
|
2349
2476
|
return {
|
|
2350
|
-
code:
|
|
2477
|
+
code: pi,
|
|
2351
2478
|
message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
|
|
2352
2479
|
};
|
|
2353
|
-
},
|
|
2354
|
-
code:
|
|
2480
|
+
}, si = {
|
|
2481
|
+
code: li,
|
|
2355
2482
|
message: "Too many files"
|
|
2356
2483
|
};
|
|
2357
|
-
function
|
|
2484
|
+
function di(e) {
|
|
2358
2485
|
return e.type === "" && typeof e.getAsFile == "function";
|
|
2359
2486
|
}
|
|
2360
|
-
function
|
|
2361
|
-
var t = e.type === "application/x-moz-file" ||
|
|
2487
|
+
function Wa(e, a) {
|
|
2488
|
+
var t = e.type === "application/x-moz-file" || ni(e, a) || di(e);
|
|
2362
2489
|
return [t, t ? null : ci(a)];
|
|
2363
2490
|
}
|
|
2364
|
-
function
|
|
2365
|
-
if (
|
|
2366
|
-
if (
|
|
2367
|
-
if (e.size > t) return [!1,
|
|
2368
|
-
if (e.size < a) return [!1,
|
|
2491
|
+
function Ua(e, a, t) {
|
|
2492
|
+
if (ue(e.size))
|
|
2493
|
+
if (ue(a) && ue(t)) {
|
|
2494
|
+
if (e.size > t) return [!1, Va(t)];
|
|
2495
|
+
if (e.size < a) return [!1, Ma(a)];
|
|
2369
2496
|
} else {
|
|
2370
|
-
if (
|
|
2371
|
-
if (
|
|
2497
|
+
if (ue(a) && e.size < a) return [!1, Ma(a)];
|
|
2498
|
+
if (ue(t) && e.size > t) return [!1, Va(t)];
|
|
2372
2499
|
}
|
|
2373
2500
|
return [!0, null];
|
|
2374
2501
|
}
|
|
2375
|
-
function
|
|
2502
|
+
function ue(e) {
|
|
2376
2503
|
return e != null;
|
|
2377
2504
|
}
|
|
2378
|
-
function
|
|
2379
|
-
var a = e.files, t = e.accept, i = e.minSize,
|
|
2380
|
-
return !
|
|
2381
|
-
var
|
|
2382
|
-
return b &&
|
|
2505
|
+
function mi(e) {
|
|
2506
|
+
var a = e.files, t = e.accept, i = e.minSize, o = e.maxSize, r = e.multiple, l = e.maxFiles, c = e.validator;
|
|
2507
|
+
return !r && a.length > 1 || r && l >= 1 && a.length > l ? !1 : a.every(function(f) {
|
|
2508
|
+
var x = Wa(f, t), g = Ae(x, 1), b = g[0], O = Ua(f, i, o), _ = Ae(O, 1), C = _[0], M = c ? c(f) : null;
|
|
2509
|
+
return b && C && !M;
|
|
2383
2510
|
});
|
|
2384
2511
|
}
|
|
2385
|
-
function
|
|
2512
|
+
function Oe(e) {
|
|
2386
2513
|
return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
|
|
2387
2514
|
}
|
|
2388
|
-
function
|
|
2515
|
+
function we(e) {
|
|
2389
2516
|
return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(a) {
|
|
2390
2517
|
return a === "Files" || a === "application/x-moz-file";
|
|
2391
2518
|
}) : !!e.target && !!e.target.files;
|
|
2392
2519
|
}
|
|
2393
|
-
function
|
|
2520
|
+
function Ta(e) {
|
|
2394
2521
|
e.preventDefault();
|
|
2395
2522
|
}
|
|
2396
|
-
function
|
|
2523
|
+
function ui(e) {
|
|
2397
2524
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2398
2525
|
}
|
|
2399
|
-
function
|
|
2526
|
+
function fi(e) {
|
|
2400
2527
|
return e.indexOf("Edge/") !== -1;
|
|
2401
2528
|
}
|
|
2402
|
-
function
|
|
2529
|
+
function vi() {
|
|
2403
2530
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2404
|
-
return
|
|
2531
|
+
return ui(e) || fi(e);
|
|
2405
2532
|
}
|
|
2406
|
-
function
|
|
2533
|
+
function ae() {
|
|
2407
2534
|
for (var e = arguments.length, a = new Array(e), t = 0; t < e; t++)
|
|
2408
2535
|
a[t] = arguments[t];
|
|
2409
2536
|
return function(i) {
|
|
2410
|
-
for (var
|
|
2411
|
-
|
|
2537
|
+
for (var o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), l = 1; l < o; l++)
|
|
2538
|
+
r[l - 1] = arguments[l];
|
|
2412
2539
|
return a.some(function(c) {
|
|
2413
|
-
return !
|
|
2540
|
+
return !Oe(i) && c && c.apply(void 0, [i].concat(r)), Oe(i);
|
|
2414
2541
|
});
|
|
2415
2542
|
};
|
|
2416
2543
|
}
|
|
2417
|
-
function
|
|
2544
|
+
function xi() {
|
|
2418
2545
|
return "showOpenFilePicker" in window;
|
|
2419
2546
|
}
|
|
2420
|
-
function
|
|
2421
|
-
if (
|
|
2547
|
+
function gi(e) {
|
|
2548
|
+
if (ue(e)) {
|
|
2422
2549
|
var a = Object.entries(e).filter(function(t) {
|
|
2423
|
-
var i =
|
|
2424
|
-
return
|
|
2550
|
+
var i = Ae(t, 2), o = i[0], r = i[1], l = !0;
|
|
2551
|
+
return Ga(o) || (console.warn('Skipped "'.concat(o, '" 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.')), l = !1), (!Array.isArray(r) || !r.every(Ka)) && (console.warn('Skipped "'.concat(o, '" because an invalid file extension was provided.')), l = !1), l;
|
|
2425
2552
|
}).reduce(function(t, i) {
|
|
2426
|
-
var
|
|
2427
|
-
return
|
|
2553
|
+
var o = Ae(i, 2), r = o[0], l = o[1];
|
|
2554
|
+
return Ha(Ha({}, t), {}, Ba({}, r, l));
|
|
2428
2555
|
}, {});
|
|
2429
2556
|
return [{
|
|
2430
2557
|
// description is required due to https://crbug.com/1264708
|
|
@@ -2434,13 +2561,13 @@ function xi(e) {
|
|
|
2434
2561
|
}
|
|
2435
2562
|
return e;
|
|
2436
2563
|
}
|
|
2437
|
-
function
|
|
2438
|
-
if (
|
|
2564
|
+
function hi(e) {
|
|
2565
|
+
if (ue(e))
|
|
2439
2566
|
return Object.entries(e).reduce(function(a, t) {
|
|
2440
|
-
var i =
|
|
2441
|
-
return [].concat(
|
|
2567
|
+
var i = Ae(t, 2), o = i[0], r = i[1];
|
|
2568
|
+
return [].concat(ka(a), [o], ka(r));
|
|
2442
2569
|
}, []).filter(function(a) {
|
|
2443
|
-
return
|
|
2570
|
+
return Ga(a) || Ka(a);
|
|
2444
2571
|
}).join(",");
|
|
2445
2572
|
}
|
|
2446
2573
|
function yi(e) {
|
|
@@ -2449,122 +2576,122 @@ function yi(e) {
|
|
|
2449
2576
|
function bi(e) {
|
|
2450
2577
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2451
2578
|
}
|
|
2452
|
-
function
|
|
2579
|
+
function Ga(e) {
|
|
2453
2580
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2454
2581
|
}
|
|
2455
|
-
function
|
|
2582
|
+
function Ka(e) {
|
|
2456
2583
|
return /^.*\.[\w]+$/.test(e);
|
|
2457
2584
|
}
|
|
2458
|
-
var
|
|
2459
|
-
function
|
|
2460
|
-
return
|
|
2585
|
+
var wi = ["children"], Ei = ["open"], Ai = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ki = ["refKey", "onChange", "onClick"];
|
|
2586
|
+
function Da(e) {
|
|
2587
|
+
return Vi(e) || Hi(e) || Ja(e) || ji();
|
|
2461
2588
|
}
|
|
2462
2589
|
function ji() {
|
|
2463
2590
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2464
2591
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2465
2592
|
}
|
|
2466
|
-
function
|
|
2593
|
+
function Hi(e) {
|
|
2467
2594
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2468
2595
|
}
|
|
2469
|
-
function
|
|
2470
|
-
if (Array.isArray(e)) return
|
|
2596
|
+
function Vi(e) {
|
|
2597
|
+
if (Array.isArray(e)) return aa(e);
|
|
2471
2598
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return
|
|
2599
|
+
function Ge(e, a) {
|
|
2600
|
+
return Di(e) || Ti(e, a) || Ja(e, a) || Mi();
|
|
2474
2601
|
}
|
|
2475
|
-
function
|
|
2602
|
+
function Mi() {
|
|
2476
2603
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2477
2604
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2478
2605
|
}
|
|
2479
|
-
function
|
|
2606
|
+
function Ja(e, a) {
|
|
2480
2607
|
if (e) {
|
|
2481
|
-
if (typeof e == "string") return
|
|
2608
|
+
if (typeof e == "string") return aa(e, a);
|
|
2482
2609
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
2483
2610
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
2484
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return
|
|
2611
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return aa(e, a);
|
|
2485
2612
|
}
|
|
2486
2613
|
}
|
|
2487
|
-
function
|
|
2614
|
+
function aa(e, a) {
|
|
2488
2615
|
(a == null || a > e.length) && (a = e.length);
|
|
2489
2616
|
for (var t = 0, i = new Array(a); t < a; t++)
|
|
2490
2617
|
i[t] = e[t];
|
|
2491
2618
|
return i;
|
|
2492
2619
|
}
|
|
2493
|
-
function
|
|
2620
|
+
function Ti(e, a) {
|
|
2494
2621
|
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2495
2622
|
if (t != null) {
|
|
2496
|
-
var i = [],
|
|
2623
|
+
var i = [], o = !0, r = !1, l, c;
|
|
2497
2624
|
try {
|
|
2498
|
-
for (t = t.call(e); !(
|
|
2625
|
+
for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
|
|
2499
2626
|
;
|
|
2500
|
-
} catch (
|
|
2501
|
-
|
|
2627
|
+
} catch (f) {
|
|
2628
|
+
r = !0, c = f;
|
|
2502
2629
|
} finally {
|
|
2503
2630
|
try {
|
|
2504
|
-
!
|
|
2631
|
+
!o && t.return != null && t.return();
|
|
2505
2632
|
} finally {
|
|
2506
|
-
if (
|
|
2633
|
+
if (r) throw c;
|
|
2507
2634
|
}
|
|
2508
2635
|
}
|
|
2509
2636
|
return i;
|
|
2510
2637
|
}
|
|
2511
2638
|
}
|
|
2512
|
-
function
|
|
2639
|
+
function Di(e) {
|
|
2513
2640
|
if (Array.isArray(e)) return e;
|
|
2514
2641
|
}
|
|
2515
|
-
function
|
|
2642
|
+
function Za(e, a) {
|
|
2516
2643
|
var t = Object.keys(e);
|
|
2517
2644
|
if (Object.getOwnPropertySymbols) {
|
|
2518
2645
|
var i = Object.getOwnPropertySymbols(e);
|
|
2519
|
-
a && (i = i.filter(function(
|
|
2520
|
-
return Object.getOwnPropertyDescriptor(e,
|
|
2646
|
+
a && (i = i.filter(function(o) {
|
|
2647
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
2521
2648
|
})), t.push.apply(t, i);
|
|
2522
2649
|
}
|
|
2523
2650
|
return t;
|
|
2524
2651
|
}
|
|
2525
|
-
function
|
|
2652
|
+
function P(e) {
|
|
2526
2653
|
for (var a = 1; a < arguments.length; a++) {
|
|
2527
2654
|
var t = arguments[a] != null ? arguments[a] : {};
|
|
2528
|
-
a % 2 ?
|
|
2529
|
-
|
|
2530
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
2655
|
+
a % 2 ? Za(Object(t), !0).forEach(function(i) {
|
|
2656
|
+
ta(e, i, t[i]);
|
|
2657
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Za(Object(t)).forEach(function(i) {
|
|
2531
2658
|
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(t, i));
|
|
2532
2659
|
});
|
|
2533
2660
|
}
|
|
2534
2661
|
return e;
|
|
2535
2662
|
}
|
|
2536
|
-
function
|
|
2663
|
+
function ta(e, a, t) {
|
|
2537
2664
|
return a in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e;
|
|
2538
2665
|
}
|
|
2539
|
-
function
|
|
2666
|
+
function Fe(e, a) {
|
|
2540
2667
|
if (e == null) return {};
|
|
2541
|
-
var t =
|
|
2668
|
+
var t = Zi(e, a), i, o;
|
|
2542
2669
|
if (Object.getOwnPropertySymbols) {
|
|
2543
|
-
var
|
|
2544
|
-
for (
|
|
2545
|
-
i = o
|
|
2670
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
2671
|
+
for (o = 0; o < r.length; o++)
|
|
2672
|
+
i = r[o], !(a.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (t[i] = e[i]);
|
|
2546
2673
|
}
|
|
2547
2674
|
return t;
|
|
2548
2675
|
}
|
|
2549
|
-
function
|
|
2676
|
+
function Zi(e, a) {
|
|
2550
2677
|
if (e == null) return {};
|
|
2551
|
-
var t = {}, i = Object.keys(e),
|
|
2552
|
-
for (
|
|
2553
|
-
|
|
2678
|
+
var t = {}, i = Object.keys(e), o, r;
|
|
2679
|
+
for (r = 0; r < i.length; r++)
|
|
2680
|
+
o = i[r], !(a.indexOf(o) >= 0) && (t[o] = e[o]);
|
|
2554
2681
|
return t;
|
|
2555
2682
|
}
|
|
2556
|
-
var
|
|
2557
|
-
var t = e.children, i =
|
|
2558
|
-
return
|
|
2683
|
+
var oa = /* @__PURE__ */ ct(function(e, a) {
|
|
2684
|
+
var t = e.children, i = Fe(e, wi), o = Qa(i), r = o.open, l = Fe(o, Ei);
|
|
2685
|
+
return st(a, function() {
|
|
2559
2686
|
return {
|
|
2560
|
-
open:
|
|
2687
|
+
open: r
|
|
2561
2688
|
};
|
|
2562
|
-
}, [
|
|
2563
|
-
open:
|
|
2689
|
+
}, [r]), /* @__PURE__ */ pt.createElement(Fa, null, t(P(P({}, l), {}, {
|
|
2690
|
+
open: r
|
|
2564
2691
|
})));
|
|
2565
2692
|
});
|
|
2566
|
-
|
|
2567
|
-
var
|
|
2693
|
+
oa.displayName = "Dropzone";
|
|
2694
|
+
var Xa = {
|
|
2568
2695
|
disabled: !1,
|
|
2569
2696
|
getFilesFromEvent: Lt,
|
|
2570
2697
|
maxSize: 1 / 0,
|
|
@@ -2580,8 +2707,8 @@ var Ga = {
|
|
|
2580
2707
|
useFsAccessApi: !1,
|
|
2581
2708
|
autoFocus: !1
|
|
2582
2709
|
};
|
|
2583
|
-
|
|
2584
|
-
|
|
2710
|
+
oa.defaultProps = Xa;
|
|
2711
|
+
oa.propTypes = {
|
|
2585
2712
|
/**
|
|
2586
2713
|
* Render function that exposes the dropzone state and prop getter fns
|
|
2587
2714
|
*
|
|
@@ -2598,7 +2725,7 @@ ta.propTypes = {
|
|
|
2598
2725
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
2599
2726
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected. This persists after drop and is the source of truth for post-drop rejections.
|
|
2600
2727
|
*/
|
|
2601
|
-
children:
|
|
2728
|
+
children: F.func,
|
|
2602
2729
|
/**
|
|
2603
2730
|
* Set accepted file types.
|
|
2604
2731
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -2606,90 +2733,90 @@ ta.propTypes = {
|
|
|
2606
2733
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
2607
2734
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
2608
2735
|
*/
|
|
2609
|
-
accept:
|
|
2736
|
+
accept: F.objectOf(F.arrayOf(F.string)),
|
|
2610
2737
|
/**
|
|
2611
2738
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
2612
2739
|
*/
|
|
2613
|
-
multiple:
|
|
2740
|
+
multiple: F.bool,
|
|
2614
2741
|
/**
|
|
2615
2742
|
* If false, allow dropped items to take over the current browser window
|
|
2616
2743
|
*/
|
|
2617
|
-
preventDropOnDocument:
|
|
2744
|
+
preventDropOnDocument: F.bool,
|
|
2618
2745
|
/**
|
|
2619
2746
|
* If true, disables click to open the native file selection dialog
|
|
2620
2747
|
*/
|
|
2621
|
-
noClick:
|
|
2748
|
+
noClick: F.bool,
|
|
2622
2749
|
/**
|
|
2623
2750
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
2624
2751
|
* Note that it also stops tracking the focus state.
|
|
2625
2752
|
*/
|
|
2626
|
-
noKeyboard:
|
|
2753
|
+
noKeyboard: F.bool,
|
|
2627
2754
|
/**
|
|
2628
2755
|
* If true, disables drag 'n' drop
|
|
2629
2756
|
*/
|
|
2630
|
-
noDrag:
|
|
2757
|
+
noDrag: F.bool,
|
|
2631
2758
|
/**
|
|
2632
2759
|
* If true, stops drag event propagation to parents
|
|
2633
2760
|
*/
|
|
2634
|
-
noDragEventsBubbling:
|
|
2761
|
+
noDragEventsBubbling: F.bool,
|
|
2635
2762
|
/**
|
|
2636
2763
|
* Minimum file size (in bytes)
|
|
2637
2764
|
*/
|
|
2638
|
-
minSize:
|
|
2765
|
+
minSize: F.number,
|
|
2639
2766
|
/**
|
|
2640
2767
|
* Maximum file size (in bytes)
|
|
2641
2768
|
*/
|
|
2642
|
-
maxSize:
|
|
2769
|
+
maxSize: F.number,
|
|
2643
2770
|
/**
|
|
2644
2771
|
* Maximum accepted number of files
|
|
2645
2772
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
2646
2773
|
*/
|
|
2647
|
-
maxFiles:
|
|
2774
|
+
maxFiles: F.number,
|
|
2648
2775
|
/**
|
|
2649
2776
|
* Enable/disable the dropzone
|
|
2650
2777
|
*/
|
|
2651
|
-
disabled:
|
|
2778
|
+
disabled: F.bool,
|
|
2652
2779
|
/**
|
|
2653
2780
|
* Use this to provide a custom file aggregator
|
|
2654
2781
|
*
|
|
2655
2782
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
2656
2783
|
*/
|
|
2657
|
-
getFilesFromEvent:
|
|
2784
|
+
getFilesFromEvent: F.func,
|
|
2658
2785
|
/**
|
|
2659
2786
|
* Cb for when closing the file dialog with no selection
|
|
2660
2787
|
*/
|
|
2661
|
-
onFileDialogCancel:
|
|
2788
|
+
onFileDialogCancel: F.func,
|
|
2662
2789
|
/**
|
|
2663
2790
|
* Cb for when opening the file dialog
|
|
2664
2791
|
*/
|
|
2665
|
-
onFileDialogOpen:
|
|
2792
|
+
onFileDialogOpen: F.func,
|
|
2666
2793
|
/**
|
|
2667
2794
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
2668
2795
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
2669
2796
|
*/
|
|
2670
|
-
useFsAccessApi:
|
|
2797
|
+
useFsAccessApi: F.bool,
|
|
2671
2798
|
/**
|
|
2672
2799
|
* Set to true to focus the root element on render
|
|
2673
2800
|
*/
|
|
2674
|
-
autoFocus:
|
|
2801
|
+
autoFocus: F.bool,
|
|
2675
2802
|
/**
|
|
2676
2803
|
* Cb for when the `dragenter` event occurs.
|
|
2677
2804
|
*
|
|
2678
2805
|
* @param {DragEvent} event
|
|
2679
2806
|
*/
|
|
2680
|
-
onDragEnter:
|
|
2807
|
+
onDragEnter: F.func,
|
|
2681
2808
|
/**
|
|
2682
2809
|
* Cb for when the `dragleave` event occurs
|
|
2683
2810
|
*
|
|
2684
2811
|
* @param {DragEvent} event
|
|
2685
2812
|
*/
|
|
2686
|
-
onDragLeave:
|
|
2813
|
+
onDragLeave: F.func,
|
|
2687
2814
|
/**
|
|
2688
2815
|
* Cb for when the `dragover` event occurs
|
|
2689
2816
|
*
|
|
2690
2817
|
* @param {DragEvent} event
|
|
2691
2818
|
*/
|
|
2692
|
-
onDragOver:
|
|
2819
|
+
onDragOver: F.func,
|
|
2693
2820
|
/**
|
|
2694
2821
|
* Cb for when the `drop` event occurs.
|
|
2695
2822
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -2720,7 +2847,7 @@ ta.propTypes = {
|
|
|
2720
2847
|
* @param {FileRejection[]} fileRejections
|
|
2721
2848
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
2722
2849
|
*/
|
|
2723
|
-
onDrop:
|
|
2850
|
+
onDrop: F.func,
|
|
2724
2851
|
/**
|
|
2725
2852
|
* Cb for when the `drop` event occurs.
|
|
2726
2853
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -2728,7 +2855,7 @@ ta.propTypes = {
|
|
|
2728
2855
|
* @param {File[]} files
|
|
2729
2856
|
* @param {(DragEvent|Event)} event
|
|
2730
2857
|
*/
|
|
2731
|
-
onDropAccepted:
|
|
2858
|
+
onDropAccepted: F.func,
|
|
2732
2859
|
/**
|
|
2733
2860
|
* Cb for when the `drop` event occurs.
|
|
2734
2861
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -2736,21 +2863,21 @@ ta.propTypes = {
|
|
|
2736
2863
|
* @param {FileRejection[]} fileRejections
|
|
2737
2864
|
* @param {(DragEvent|Event)} event
|
|
2738
2865
|
*/
|
|
2739
|
-
onDropRejected:
|
|
2866
|
+
onDropRejected: F.func,
|
|
2740
2867
|
/**
|
|
2741
2868
|
* Cb for when there's some error from any of the promises.
|
|
2742
2869
|
*
|
|
2743
2870
|
* @param {Error} error
|
|
2744
2871
|
*/
|
|
2745
|
-
onError:
|
|
2872
|
+
onError: F.func,
|
|
2746
2873
|
/**
|
|
2747
2874
|
* Custom validation function. It must return null if there's no errors.
|
|
2748
2875
|
* @param {File} file
|
|
2749
2876
|
* @returns {FileError|FileError[]|null}
|
|
2750
2877
|
*/
|
|
2751
|
-
validator:
|
|
2878
|
+
validator: F.func
|
|
2752
2879
|
};
|
|
2753
|
-
var
|
|
2880
|
+
var ia = {
|
|
2754
2881
|
isFocused: !1,
|
|
2755
2882
|
isFileDialogActive: !1,
|
|
2756
2883
|
isDragActive: !1,
|
|
@@ -2760,213 +2887,213 @@ var ea = {
|
|
|
2760
2887
|
acceptedFiles: [],
|
|
2761
2888
|
fileRejections: []
|
|
2762
2889
|
};
|
|
2763
|
-
function
|
|
2764
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a =
|
|
2890
|
+
function Qa() {
|
|
2891
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = P(P({}, Xa), e), t = a.accept, i = a.disabled, o = a.getFilesFromEvent, r = a.maxSize, l = a.minSize, c = a.multiple, f = a.maxFiles, x = a.onDragEnter, g = a.onDragLeave, b = a.onDragOver, O = a.onDrop, _ = a.onDropAccepted, C = a.onDropRejected, M = a.onFileDialogCancel, R = a.onFileDialogOpen, U = a.useFsAccessApi, re = a.autoFocus, I = a.preventDropOnDocument, L = a.noClick, m = a.noKeyboard, X = a.noDrag, J = a.noDragEventsBubbling, ce = a.onError, te = a.validator, ie = ge(function() {
|
|
2892
|
+
return hi(t);
|
|
2893
|
+
}, [t]), se = ge(function() {
|
|
2765
2894
|
return gi(t);
|
|
2766
|
-
}, [t]),
|
|
2767
|
-
return
|
|
2768
|
-
}, [
|
|
2769
|
-
return typeof M == "function" ? M :
|
|
2770
|
-
}, [M]),
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
var f = H.current.files;
|
|
2776
|
-
f.length || (N({
|
|
2895
|
+
}, [t]), de = ge(function() {
|
|
2896
|
+
return typeof R == "function" ? R : Oa;
|
|
2897
|
+
}, [R]), pe = ge(function() {
|
|
2898
|
+
return typeof M == "function" ? M : Oa;
|
|
2899
|
+
}, [M]), S = be(null), W = be(null), G = lt(Oi, ia), Q = Ge(G, 2), le = Q[0], q = Q[1], p = le.isFocused, u = le.isFileDialogActive, w = be(typeof window < "u" && window.isSecureContext && U && xi()), k = function() {
|
|
2900
|
+
!w.current && u && setTimeout(function() {
|
|
2901
|
+
if (W.current) {
|
|
2902
|
+
var v = W.current.files;
|
|
2903
|
+
v.length || (q({
|
|
2777
2904
|
type: "closeDialog"
|
|
2778
|
-
}),
|
|
2905
|
+
}), pe());
|
|
2779
2906
|
}
|
|
2780
2907
|
}, 300);
|
|
2781
2908
|
};
|
|
2782
|
-
|
|
2783
|
-
return window.addEventListener("focus",
|
|
2784
|
-
window.removeEventListener("focus",
|
|
2909
|
+
Ee(function() {
|
|
2910
|
+
return window.addEventListener("focus", k, !1), function() {
|
|
2911
|
+
window.removeEventListener("focus", k, !1);
|
|
2785
2912
|
};
|
|
2786
|
-
}, [
|
|
2787
|
-
var
|
|
2788
|
-
|
|
2913
|
+
}, [W, u, pe, w]);
|
|
2914
|
+
var h = be([]), E = be([]), A = function(v) {
|
|
2915
|
+
S.current && S.current.contains(v.target) || (v.preventDefault(), h.current = []);
|
|
2789
2916
|
};
|
|
2790
|
-
|
|
2791
|
-
return
|
|
2792
|
-
|
|
2917
|
+
Ee(function() {
|
|
2918
|
+
return I && (document.addEventListener("dragover", Ta, !1), document.addEventListener("drop", A, !1)), function() {
|
|
2919
|
+
I && (document.removeEventListener("dragover", Ta), document.removeEventListener("drop", A));
|
|
2793
2920
|
};
|
|
2794
|
-
}, [
|
|
2795
|
-
var
|
|
2796
|
-
|
|
2921
|
+
}, [S, I]), Ee(function() {
|
|
2922
|
+
var d = function(ee) {
|
|
2923
|
+
E.current = [].concat(Da(E.current), [ee.target]), we(ee) && q({
|
|
2797
2924
|
isDragGlobal: !0,
|
|
2798
2925
|
type: "setDragGlobal"
|
|
2799
2926
|
});
|
|
2800
|
-
},
|
|
2801
|
-
|
|
2802
|
-
return
|
|
2803
|
-
}), !(
|
|
2927
|
+
}, v = function(ee) {
|
|
2928
|
+
E.current = E.current.filter(function(ne) {
|
|
2929
|
+
return ne !== ee.target && ne !== null;
|
|
2930
|
+
}), !(E.current.length > 0) && q({
|
|
2804
2931
|
isDragGlobal: !1,
|
|
2805
2932
|
type: "setDragGlobal"
|
|
2806
2933
|
});
|
|
2807
|
-
},
|
|
2808
|
-
|
|
2934
|
+
}, z = function() {
|
|
2935
|
+
E.current = [], q({
|
|
2809
2936
|
isDragGlobal: !1,
|
|
2810
2937
|
type: "setDragGlobal"
|
|
2811
2938
|
});
|
|
2812
|
-
},
|
|
2813
|
-
|
|
2939
|
+
}, $ = function() {
|
|
2940
|
+
E.current = [], q({
|
|
2814
2941
|
isDragGlobal: !1,
|
|
2815
2942
|
type: "setDragGlobal"
|
|
2816
2943
|
});
|
|
2817
2944
|
};
|
|
2818
|
-
return document.addEventListener("dragenter",
|
|
2819
|
-
document.removeEventListener("dragenter",
|
|
2945
|
+
return document.addEventListener("dragenter", d, !1), document.addEventListener("dragleave", v, !1), document.addEventListener("dragend", z, !1), document.addEventListener("drop", $, !1), function() {
|
|
2946
|
+
document.removeEventListener("dragenter", d), document.removeEventListener("dragleave", v), document.removeEventListener("dragend", z), document.removeEventListener("drop", $);
|
|
2820
2947
|
};
|
|
2821
|
-
}, [
|
|
2822
|
-
return !i &&
|
|
2948
|
+
}, [S]), Ee(function() {
|
|
2949
|
+
return !i && re && S.current && S.current.focus(), function() {
|
|
2823
2950
|
};
|
|
2824
|
-
}, [
|
|
2825
|
-
var y =
|
|
2826
|
-
ce ? ce(
|
|
2827
|
-
}, [ce]), j =
|
|
2828
|
-
|
|
2829
|
-
if (!(
|
|
2830
|
-
var
|
|
2831
|
-
files:
|
|
2832
|
-
accept:
|
|
2833
|
-
minSize:
|
|
2834
|
-
maxSize:
|
|
2951
|
+
}, [S, re, i]);
|
|
2952
|
+
var y = K(function(d) {
|
|
2953
|
+
ce ? ce(d) : console.error(d);
|
|
2954
|
+
}, [ce]), j = K(function(d) {
|
|
2955
|
+
d.preventDefault(), d.persist(), je(d), h.current = [].concat(Da(h.current), [d.target]), we(d) && Promise.resolve(o(d)).then(function(v) {
|
|
2956
|
+
if (!(Oe(d) && !J)) {
|
|
2957
|
+
var z = v.length, $ = z > 0 && mi({
|
|
2958
|
+
files: v,
|
|
2959
|
+
accept: ie,
|
|
2960
|
+
minSize: l,
|
|
2961
|
+
maxSize: r,
|
|
2835
2962
|
multiple: c,
|
|
2836
|
-
maxFiles:
|
|
2837
|
-
validator:
|
|
2838
|
-
}),
|
|
2839
|
-
|
|
2840
|
-
isDragAccept:
|
|
2841
|
-
isDragReject:
|
|
2963
|
+
maxFiles: f,
|
|
2964
|
+
validator: te
|
|
2965
|
+
}), Y = z > 0 && !$;
|
|
2966
|
+
q({
|
|
2967
|
+
isDragAccept: $,
|
|
2968
|
+
isDragReject: Y,
|
|
2842
2969
|
isDragActive: !0,
|
|
2843
2970
|
type: "setDraggedFiles"
|
|
2844
|
-
}),
|
|
2971
|
+
}), x && x(d);
|
|
2845
2972
|
}
|
|
2846
|
-
}).catch(function(
|
|
2847
|
-
return y(
|
|
2973
|
+
}).catch(function(v) {
|
|
2974
|
+
return y(v);
|
|
2848
2975
|
});
|
|
2849
|
-
}, [
|
|
2850
|
-
|
|
2851
|
-
var
|
|
2852
|
-
if (
|
|
2976
|
+
}, [o, x, y, J, ie, l, r, c, f, te]), V = K(function(d) {
|
|
2977
|
+
d.preventDefault(), d.persist(), je(d);
|
|
2978
|
+
var v = we(d);
|
|
2979
|
+
if (v && d.dataTransfer)
|
|
2853
2980
|
try {
|
|
2854
|
-
|
|
2981
|
+
d.dataTransfer.dropEffect = "copy";
|
|
2855
2982
|
} catch {
|
|
2856
2983
|
}
|
|
2857
|
-
return
|
|
2858
|
-
}, [b,
|
|
2859
|
-
|
|
2860
|
-
var
|
|
2861
|
-
return
|
|
2862
|
-
}),
|
|
2863
|
-
|
|
2984
|
+
return v && b && b(d), !1;
|
|
2985
|
+
}, [b, J]), H = K(function(d) {
|
|
2986
|
+
d.preventDefault(), d.persist(), je(d);
|
|
2987
|
+
var v = h.current.filter(function($) {
|
|
2988
|
+
return S.current && S.current.contains($);
|
|
2989
|
+
}), z = v.indexOf(d.target);
|
|
2990
|
+
z !== -1 && v.splice(z, 1), h.current = v, !(v.length > 0) && (q({
|
|
2864
2991
|
type: "setDraggedFiles",
|
|
2865
2992
|
isDragActive: !1,
|
|
2866
2993
|
isDragAccept: !1,
|
|
2867
2994
|
isDragReject: !1
|
|
2868
|
-
}),
|
|
2869
|
-
}, [
|
|
2870
|
-
var
|
|
2871
|
-
|
|
2872
|
-
var
|
|
2873
|
-
if (
|
|
2874
|
-
|
|
2995
|
+
}), we(d) && g && g(d));
|
|
2996
|
+
}, [S, g, J]), N = K(function(d, v) {
|
|
2997
|
+
var z = [], $ = [];
|
|
2998
|
+
d.forEach(function(Y) {
|
|
2999
|
+
var ee = Wa(Y, ie), ne = Ge(ee, 2), Pe = ne[0], Se = ne[1], ze = Ua(Y, l, r), He = Ge(ze, 2), Re = He[0], Ce = He[1], Ie = te ? te(Y) : null;
|
|
3000
|
+
if (Pe && Re && !Ie)
|
|
3001
|
+
z.push(Y);
|
|
2875
3002
|
else {
|
|
2876
|
-
var
|
|
2877
|
-
|
|
2878
|
-
file:
|
|
2879
|
-
errors:
|
|
2880
|
-
return
|
|
3003
|
+
var Le = [Se, Ce];
|
|
3004
|
+
Ie && (Le = Le.concat(Ie)), $.push({
|
|
3005
|
+
file: Y,
|
|
3006
|
+
errors: Le.filter(function(ot) {
|
|
3007
|
+
return ot;
|
|
2881
3008
|
})
|
|
2882
3009
|
});
|
|
2883
3010
|
}
|
|
2884
|
-
}), (!c &&
|
|
2885
|
-
|
|
2886
|
-
file:
|
|
2887
|
-
errors: [
|
|
3011
|
+
}), (!c && z.length > 1 || c && f >= 1 && z.length > f) && (z.forEach(function(Y) {
|
|
3012
|
+
$.push({
|
|
3013
|
+
file: Y,
|
|
3014
|
+
errors: [si]
|
|
2888
3015
|
});
|
|
2889
|
-
}),
|
|
2890
|
-
acceptedFiles:
|
|
2891
|
-
fileRejections:
|
|
3016
|
+
}), z.splice(0)), q({
|
|
3017
|
+
acceptedFiles: z,
|
|
3018
|
+
fileRejections: $,
|
|
2892
3019
|
type: "setFiles"
|
|
2893
|
-
}),
|
|
2894
|
-
}, [
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
}).catch(function(
|
|
2898
|
-
return y(
|
|
2899
|
-
}),
|
|
3020
|
+
}), O && O(z, $, v), $.length > 0 && C && C($, v), z.length > 0 && _ && _(z, v);
|
|
3021
|
+
}, [q, c, ie, l, r, f, O, _, C, te]), s = K(function(d) {
|
|
3022
|
+
d.preventDefault(), d.persist(), je(d), h.current = [], we(d) && Promise.resolve(o(d)).then(function(v) {
|
|
3023
|
+
Oe(d) && !J || N(v, d);
|
|
3024
|
+
}).catch(function(v) {
|
|
3025
|
+
return y(v);
|
|
3026
|
+
}), q({
|
|
2900
3027
|
type: "reset"
|
|
2901
3028
|
});
|
|
2902
|
-
}, [
|
|
2903
|
-
if (
|
|
2904
|
-
|
|
3029
|
+
}, [o, N, y, J]), B = K(function() {
|
|
3030
|
+
if (w.current) {
|
|
3031
|
+
q({
|
|
2905
3032
|
type: "openDialog"
|
|
2906
|
-
}),
|
|
2907
|
-
var
|
|
3033
|
+
}), de();
|
|
3034
|
+
var d = {
|
|
2908
3035
|
multiple: c,
|
|
2909
|
-
types:
|
|
3036
|
+
types: se
|
|
2910
3037
|
};
|
|
2911
|
-
window.showOpenFilePicker(
|
|
2912
|
-
return
|
|
2913
|
-
}).then(function(
|
|
2914
|
-
|
|
3038
|
+
window.showOpenFilePicker(d).then(function(v) {
|
|
3039
|
+
return o(v);
|
|
3040
|
+
}).then(function(v) {
|
|
3041
|
+
N(v, null), q({
|
|
2915
3042
|
type: "closeDialog"
|
|
2916
3043
|
});
|
|
2917
|
-
}).catch(function(
|
|
2918
|
-
yi(
|
|
3044
|
+
}).catch(function(v) {
|
|
3045
|
+
yi(v) ? (pe(v), q({
|
|
2919
3046
|
type: "closeDialog"
|
|
2920
|
-
})) : bi(
|
|
3047
|
+
})) : bi(v) ? (w.current = !1, W.current ? (W.current.value = null, W.current.click()) : y(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."))) : y(v);
|
|
2921
3048
|
});
|
|
2922
3049
|
return;
|
|
2923
3050
|
}
|
|
2924
|
-
|
|
3051
|
+
W.current && (q({
|
|
2925
3052
|
type: "openDialog"
|
|
2926
|
-
}),
|
|
2927
|
-
}, [
|
|
2928
|
-
!
|
|
2929
|
-
}, [
|
|
2930
|
-
|
|
3053
|
+
}), de(), W.current.value = null, W.current.click());
|
|
3054
|
+
}, [q, de, pe, U, N, y, se, c]), me = K(function(d) {
|
|
3055
|
+
!S.current || !S.current.isEqualNode(d.target) || (d.key === " " || d.key === "Enter" || d.keyCode === 32 || d.keyCode === 13) && (d.preventDefault(), B());
|
|
3056
|
+
}, [S, B]), ye = K(function() {
|
|
3057
|
+
q({
|
|
2931
3058
|
type: "focus"
|
|
2932
3059
|
});
|
|
2933
|
-
}, []),
|
|
2934
|
-
|
|
3060
|
+
}, []), ra = K(function() {
|
|
3061
|
+
q({
|
|
2935
3062
|
type: "blur"
|
|
2936
3063
|
});
|
|
2937
|
-
}, []),
|
|
2938
|
-
L || (
|
|
2939
|
-
}, [L,
|
|
2940
|
-
return i ? null :
|
|
2941
|
-
},
|
|
2942
|
-
return
|
|
2943
|
-
},
|
|
2944
|
-
return
|
|
2945
|
-
}, je = function(
|
|
2946
|
-
|
|
2947
|
-
},
|
|
3064
|
+
}, []), pa = K(function() {
|
|
3065
|
+
L || (vi() ? setTimeout(B, 0) : B());
|
|
3066
|
+
}, [L, B]), xe = function(v) {
|
|
3067
|
+
return i ? null : v;
|
|
3068
|
+
}, _e = function(v) {
|
|
3069
|
+
return m ? null : xe(v);
|
|
3070
|
+
}, ke = function(v) {
|
|
3071
|
+
return X ? null : xe(v);
|
|
3072
|
+
}, je = function(v) {
|
|
3073
|
+
J && v.stopPropagation();
|
|
3074
|
+
}, tt = ge(function() {
|
|
2948
3075
|
return function() {
|
|
2949
|
-
var
|
|
2950
|
-
return
|
|
2951
|
-
onKeyDown:
|
|
2952
|
-
onFocus:
|
|
2953
|
-
onBlur:
|
|
2954
|
-
onClick:
|
|
2955
|
-
onDragEnter:
|
|
2956
|
-
onDragOver:
|
|
2957
|
-
onDragLeave:
|
|
2958
|
-
onDrop:
|
|
2959
|
-
role: typeof
|
|
2960
|
-
},
|
|
3076
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.role, Y = d.onKeyDown, ee = d.onFocus, ne = d.onBlur, Pe = d.onClick, Se = d.onDragEnter, ze = d.onDragOver, He = d.onDragLeave, Re = d.onDrop, Ce = Fe(d, Ai);
|
|
3077
|
+
return P(P(ta({
|
|
3078
|
+
onKeyDown: _e(ae(Y, me)),
|
|
3079
|
+
onFocus: _e(ae(ee, ye)),
|
|
3080
|
+
onBlur: _e(ae(ne, ra)),
|
|
3081
|
+
onClick: xe(ae(Pe, pa)),
|
|
3082
|
+
onDragEnter: ke(ae(Se, j)),
|
|
3083
|
+
onDragOver: ke(ae(ze, V)),
|
|
3084
|
+
onDragLeave: ke(ae(He, H)),
|
|
3085
|
+
onDrop: ke(ae(Re, s)),
|
|
3086
|
+
role: typeof $ == "string" && $ !== "" ? $ : "presentation"
|
|
3087
|
+
}, z, S), !i && !m ? {
|
|
2961
3088
|
tabIndex: 0
|
|
2962
|
-
} : {}),
|
|
3089
|
+
} : {}), Ce);
|
|
2963
3090
|
};
|
|
2964
|
-
}, [
|
|
2965
|
-
|
|
2966
|
-
}, []),
|
|
3091
|
+
}, [S, me, ye, ra, pa, j, V, H, s, m, X, i]), it = K(function(d) {
|
|
3092
|
+
d.stopPropagation();
|
|
3093
|
+
}, []), nt = ge(function() {
|
|
2967
3094
|
return function() {
|
|
2968
|
-
var
|
|
2969
|
-
accept:
|
|
3095
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.onChange, Y = d.onClick, ee = Fe(d, ki), ne = ta({
|
|
3096
|
+
accept: ie,
|
|
2970
3097
|
multiple: c,
|
|
2971
3098
|
type: "file",
|
|
2972
3099
|
style: {
|
|
@@ -2981,138 +3108,138 @@ function Ka() {
|
|
|
2981
3108
|
width: "1px",
|
|
2982
3109
|
whiteSpace: "nowrap"
|
|
2983
3110
|
},
|
|
2984
|
-
onChange:
|
|
2985
|
-
onClick:
|
|
3111
|
+
onChange: xe(ae($, s)),
|
|
3112
|
+
onClick: xe(ae(Y, it)),
|
|
2986
3113
|
tabIndex: -1
|
|
2987
|
-
},
|
|
2988
|
-
return
|
|
3114
|
+
}, z, W);
|
|
3115
|
+
return P(P({}, ne), ee);
|
|
2989
3116
|
};
|
|
2990
|
-
}, [
|
|
2991
|
-
return
|
|
2992
|
-
isFocused:
|
|
2993
|
-
getRootProps:
|
|
2994
|
-
getInputProps:
|
|
2995
|
-
rootRef:
|
|
2996
|
-
inputRef:
|
|
2997
|
-
open:
|
|
3117
|
+
}, [W, t, c, s, i]);
|
|
3118
|
+
return P(P({}, le), {}, {
|
|
3119
|
+
isFocused: p && !i,
|
|
3120
|
+
getRootProps: tt,
|
|
3121
|
+
getInputProps: nt,
|
|
3122
|
+
rootRef: S,
|
|
3123
|
+
inputRef: W,
|
|
3124
|
+
open: xe(B)
|
|
2998
3125
|
});
|
|
2999
3126
|
}
|
|
3000
|
-
function
|
|
3127
|
+
function Oi(e, a) {
|
|
3001
3128
|
switch (a.type) {
|
|
3002
3129
|
case "focus":
|
|
3003
|
-
return
|
|
3130
|
+
return P(P({}, e), {}, {
|
|
3004
3131
|
isFocused: !0
|
|
3005
3132
|
});
|
|
3006
3133
|
case "blur":
|
|
3007
|
-
return
|
|
3134
|
+
return P(P({}, e), {}, {
|
|
3008
3135
|
isFocused: !1
|
|
3009
3136
|
});
|
|
3010
3137
|
case "openDialog":
|
|
3011
|
-
return
|
|
3138
|
+
return P(P({}, ia), {}, {
|
|
3012
3139
|
isFileDialogActive: !0
|
|
3013
3140
|
});
|
|
3014
3141
|
case "closeDialog":
|
|
3015
|
-
return
|
|
3142
|
+
return P(P({}, e), {}, {
|
|
3016
3143
|
isFileDialogActive: !1
|
|
3017
3144
|
});
|
|
3018
3145
|
case "setDraggedFiles":
|
|
3019
|
-
return
|
|
3146
|
+
return P(P({}, e), {}, {
|
|
3020
3147
|
isDragActive: a.isDragActive,
|
|
3021
3148
|
isDragAccept: a.isDragAccept,
|
|
3022
3149
|
isDragReject: a.isDragReject
|
|
3023
3150
|
});
|
|
3024
3151
|
case "setFiles":
|
|
3025
|
-
return
|
|
3152
|
+
return P(P({}, e), {}, {
|
|
3026
3153
|
acceptedFiles: a.acceptedFiles,
|
|
3027
3154
|
fileRejections: a.fileRejections,
|
|
3028
3155
|
isDragReject: !1
|
|
3029
3156
|
});
|
|
3030
3157
|
case "setDragGlobal":
|
|
3031
|
-
return
|
|
3158
|
+
return P(P({}, e), {}, {
|
|
3032
3159
|
isDragGlobal: a.isDragGlobal
|
|
3033
3160
|
});
|
|
3034
3161
|
case "reset":
|
|
3035
|
-
return
|
|
3162
|
+
return P({}, ia);
|
|
3036
3163
|
default:
|
|
3037
3164
|
return e;
|
|
3038
3165
|
}
|
|
3039
3166
|
}
|
|
3040
|
-
function
|
|
3041
|
-
}
|
|
3042
|
-
const
|
|
3043
|
-
}]),
|
|
3044
|
-
csv:
|
|
3045
|
-
xls:
|
|
3046
|
-
mov:
|
|
3047
|
-
mp4:
|
|
3048
|
-
xlsx:
|
|
3049
|
-
pdf:
|
|
3050
|
-
txt:
|
|
3051
|
-
json:
|
|
3052
|
-
mp3:
|
|
3053
|
-
},
|
|
3054
|
-
const [, a] =
|
|
3055
|
-
|
|
3056
|
-
const
|
|
3057
|
-
return i({ url:
|
|
3167
|
+
function Oa() {
|
|
3168
|
+
}
|
|
3169
|
+
const et = dt([null, () => {
|
|
3170
|
+
}]), Fi = () => mt(et), _i = (e) => e.type.startsWith("image/") ? "img" : e.type.startsWith("audio/") ? "audio" : e.type.startsWith("video/") ? "video" : e.type, Pi = {
|
|
3171
|
+
csv: De,
|
|
3172
|
+
xls: De,
|
|
3173
|
+
mov: Xe,
|
|
3174
|
+
mp4: Xe,
|
|
3175
|
+
xlsx: De,
|
|
3176
|
+
pdf: Je,
|
|
3177
|
+
txt: Je,
|
|
3178
|
+
json: Sa,
|
|
3179
|
+
mp3: Ca
|
|
3180
|
+
}, Si = (e) => {
|
|
3181
|
+
const [, a] = Fi(), [t, i] = Ke({ url: "", type: "", size: "" });
|
|
3182
|
+
Ee(() => {
|
|
3183
|
+
const f = e.file, x = URL.createObjectURL(f);
|
|
3184
|
+
return i({ url: x, type: _i(f), size: Tt(f.size) }), () => URL.revokeObjectURL(x);
|
|
3058
3185
|
}, [e.file]);
|
|
3059
|
-
const
|
|
3060
|
-
|
|
3061
|
-
},
|
|
3062
|
-
|
|
3063
|
-
},
|
|
3064
|
-
return /* @__PURE__ */
|
|
3065
|
-
/* @__PURE__ */
|
|
3066
|
-
/* @__PURE__ */
|
|
3067
|
-
/* @__PURE__ */
|
|
3068
|
-
/* @__PURE__ */
|
|
3069
|
-
/* @__PURE__ */
|
|
3070
|
-
/* @__PURE__ */
|
|
3186
|
+
const o = (f) => {
|
|
3187
|
+
f.stopPropagation(), f.preventDefault(), a({ ...t, file: e.file });
|
|
3188
|
+
}, r = (f) => {
|
|
3189
|
+
f.preventDefault(), f.stopPropagation(), e.onDeleteFile?.(e.file);
|
|
3190
|
+
}, l = Pi[e.file.name.split(".").at(-1)] ?? rt, c = t.type === "img" ? /* @__PURE__ */ Z("img", { src: t.url, className: "w-full object-contain", alt: e.file.name }) : /* @__PURE__ */ Z(l, { size: 48 });
|
|
3191
|
+
return /* @__PURE__ */ oe("li", { className: "flex w-full flex-row justify-between gap-4 border-b border-card-border last:border-b-transparent", children: [
|
|
3192
|
+
/* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
|
|
3193
|
+
/* @__PURE__ */ oe("div", { className: "flex flex-row items-center gap-4", children: [
|
|
3194
|
+
/* @__PURE__ */ Z("button", { type: "button", onClick: o, className: "m-2 flex size-16 max-w-16 items-center justify-center overflow-hidden", children: c }),
|
|
3195
|
+
/* @__PURE__ */ oe("div", { className: "flex flex-col items-start justify-start text-left", children: [
|
|
3196
|
+
/* @__PURE__ */ Z("span", { children: e.file.name }),
|
|
3197
|
+
/* @__PURE__ */ Z("span", { className: "text-sm italic", children: t.size })
|
|
3071
3198
|
] })
|
|
3072
3199
|
] }),
|
|
3073
|
-
e.File ? /* @__PURE__ */
|
|
3200
|
+
e.File ? /* @__PURE__ */ Z("div", { className: "min-w-full flex-1", children: /* @__PURE__ */ Z(e.File, { file: e.file }) }) : null
|
|
3074
3201
|
] }),
|
|
3075
|
-
/* @__PURE__ */
|
|
3202
|
+
/* @__PURE__ */ Z("div", { className: "align-start flex justify-start py-4 transition-colors duration-300 ease-linear hover:text-danger-hover", children: /* @__PURE__ */ Z("button", { onClick: r, type: "button", className: "flex size-6 items-center justify-center", children: /* @__PURE__ */ Z(ut, { size: 16 }) }) })
|
|
3076
3203
|
] });
|
|
3077
|
-
},
|
|
3078
|
-
const a =
|
|
3079
|
-
return /* @__PURE__ */
|
|
3080
|
-
/* @__PURE__ */
|
|
3081
|
-
/* @__PURE__ */
|
|
3082
|
-
/* @__PURE__ */
|
|
3083
|
-
/* @__PURE__ */
|
|
3204
|
+
}, zi = (e) => /* @__PURE__ */ Z("ul", { className: "w-full space-y-8", children: e.files.map((a) => /* @__PURE__ */ Z(Si, { File: e.File, onDeleteFile: e.onDeleteFile, file: a }, a.name)) }), at = (e) => {
|
|
3205
|
+
const a = _a(), t = e.dragging ? Ra : za;
|
|
3206
|
+
return /* @__PURE__ */ oe("div", { className: "flex flex-col items-center justify-center", children: [
|
|
3207
|
+
/* @__PURE__ */ Z("div", { className: "flex flex-col items-center justify-center gap-2", children: /* @__PURE__ */ Z(t, { className: "text-primary", size: 80 }) }),
|
|
3208
|
+
/* @__PURE__ */ oe("div", { className: "my-4 flex flex-col items-center gap-1", children: [
|
|
3209
|
+
/* @__PURE__ */ Z("p", { children: a.uploadIdle }),
|
|
3210
|
+
/* @__PURE__ */ Z("button", { className: "text-primary underline", type: "button", children: a.uploadIdleButton })
|
|
3084
3211
|
] })
|
|
3085
3212
|
] });
|
|
3086
|
-
},
|
|
3213
|
+
}, Ri = (e) => e.isDragActive ? /* @__PURE__ */ Z(at, { files: e.files, dragging: !0 }) : e.files.length > 0 ? /* @__PURE__ */ Z(zi, { File: e.File, onDeleteFile: e.onDeleteFile, files: e.files }) : /* @__PURE__ */ Z(Fa, { children: e.idle }), Ci = /* @__PURE__ */ Z(at, { dragging: !1 }), Ii = (e) => {
|
|
3087
3214
|
const a = e.item.file, t = e.item.type;
|
|
3088
|
-
return /* @__PURE__ */
|
|
3089
|
-
/* @__PURE__ */
|
|
3090
|
-
/* @__PURE__ */
|
|
3091
|
-
t === "img" ? /* @__PURE__ */
|
|
3215
|
+
return /* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
|
|
3216
|
+
/* @__PURE__ */ Z("p", { className: "text-lg font-medium", children: e.item.file.name }),
|
|
3217
|
+
/* @__PURE__ */ Z("p", { className: "text-base", children: e.item.size }),
|
|
3218
|
+
t === "img" ? /* @__PURE__ */ Z("img", { className: "container inline-block w-full max-w-96", src: e.item.url, alt: a.name }) : t === "video" ? /* @__PURE__ */ Z("video", { className: "container block w-full max-w-96", src: e.item.url, controls: !0, muted: !0 }) : t === "audio" ? /* @__PURE__ */ Z("figure", { children: /* @__PURE__ */ Z("audio", { controls: !0, src: e.item.url }) }) : null
|
|
3092
3219
|
] });
|
|
3093
|
-
},
|
|
3094
|
-
const
|
|
3095
|
-
i?.(
|
|
3096
|
-
}, { getRootProps:
|
|
3097
|
-
return /* @__PURE__ */
|
|
3098
|
-
/* @__PURE__ */
|
|
3099
|
-
/* @__PURE__ */
|
|
3220
|
+
}, Ki = ({ idle: e = Ci, onDeleteFile: a, File: t, onDrop: i, ...o }) => {
|
|
3221
|
+
const r = _a(), l = Ke(null), [c, f] = Ke([]), x = o.files ?? c, g = () => l[1](null), b = (M) => {
|
|
3222
|
+
i?.(M), f((R) => R.concat(M));
|
|
3223
|
+
}, { getRootProps: O, getInputProps: _, isDragActive: C } = Qa({ onDrop: b });
|
|
3224
|
+
return /* @__PURE__ */ oe(et.Provider, { value: l, children: [
|
|
3225
|
+
/* @__PURE__ */ Z(ft, { overlayClickClose: !0, title: r.uploadDialogTitle, ariaTitle: r.uploadDialogTitle, open: l[0] !== null, onChange: g, children: l[0] ? /* @__PURE__ */ Z(Ii, { item: l[0] }) : null }),
|
|
3226
|
+
/* @__PURE__ */ oe(
|
|
3100
3227
|
"div",
|
|
3101
3228
|
{
|
|
3102
|
-
...
|
|
3103
|
-
"data-active":
|
|
3229
|
+
...O(),
|
|
3230
|
+
"data-active": x ? x.length > 0 : !1,
|
|
3104
3231
|
className: "flex flex-col items-center justify-center rounded-lg border border-card-border p-6 text-foreground data-[active=true]:border-solid data-[active=false]:border-dashed data-[active=true]:border-transparent data-[active=true]:bg-card-background",
|
|
3105
3232
|
children: [
|
|
3106
|
-
/* @__PURE__ */
|
|
3107
|
-
/* @__PURE__ */
|
|
3233
|
+
/* @__PURE__ */ Z("input", { ..._(o), name: o.name, id: o.name }),
|
|
3234
|
+
/* @__PURE__ */ Z(Ri, { File: t, onDeleteFile: a, isDragActive: C, idle: e, files: x })
|
|
3108
3235
|
]
|
|
3109
3236
|
}
|
|
3110
3237
|
)
|
|
3111
3238
|
] });
|
|
3112
3239
|
};
|
|
3113
3240
|
export {
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3241
|
+
Ki as F,
|
|
3242
|
+
Ui as c,
|
|
3243
|
+
Gi as g
|
|
3117
3244
|
};
|
|
3118
|
-
//# sourceMappingURL=file-upload-
|
|
3245
|
+
//# sourceMappingURL=file-upload-Brf2NkLr.js.map
|