wcz-layout 7.6.4 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DialogsContext-D5A8xncJ.js +7 -0
- package/dist/{DialogsContext-BIhId-r8.js.map → DialogsContext-D5A8xncJ.js.map} +1 -1
- package/dist/FileMeta-D9HyhrGi.js +42 -0
- package/dist/{FileMeta-YGG9mxo_.js.map → FileMeta-D9HyhrGi.js.map} +1 -1
- package/dist/FileMeta-fQnJ6uFX.d.ts +20 -0
- package/dist/NotificationContext-DBTYc5z-.js +7 -0
- package/dist/{NotificationContext-DovR_auQ.js.map → NotificationContext-DBTYc5z-.js.map} +1 -1
- package/dist/RouterListItemButton-rcdkgOXQ.js +78 -0
- package/dist/RouterListItemButton-rcdkgOXQ.js.map +1 -0
- package/dist/User-C21DoZOa.d.ts +15 -0
- package/dist/components.d.ts +118 -0
- package/dist/components.js +1438 -3179
- package/dist/components.js.map +1 -1
- package/dist/hooks.d.ts +229 -0
- package/dist/hooks.js +1136 -1031
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +49 -0
- package/dist/index.js +2002 -1023
- package/dist/index.js.map +1 -1
- package/dist/middleware.d.ts +33 -0
- package/dist/middleware.js +51 -1031
- package/dist/middleware.js.map +1 -1
- package/dist/models.d.ts +447 -0
- package/dist/models.js +174 -136
- package/dist/models.js.map +1 -1
- package/dist/msalClient-MNN6BwL6.d.ts +16 -0
- package/dist/queries-JPqCc5Tb.js +551 -0
- package/dist/queries-JPqCc5Tb.js.map +1 -0
- package/dist/query.d.ts +3052 -0
- package/dist/query.js +3 -3
- package/dist/queryClient-CAJR3qjE.js +7 -0
- package/dist/{queryClient-B__OEZ70.js.map → queryClient-CAJR3qjE.js.map} +1 -1
- package/dist/useDialogs-BaxhulU9.js +248 -0
- package/dist/useDialogs-BaxhulU9.js.map +1 -0
- package/dist/utils-BBQ5S6oM.d.ts +56 -0
- package/dist/utils-CqQKSaSs.js +219 -0
- package/dist/utils-CqQKSaSs.js.map +1 -0
- package/dist/utils.d.ts +21 -0
- package/dist/utils.js +43 -28
- package/dist/utils.js.map +1 -1
- package/dist/vite.d.ts +7 -0
- package/dist/vite.js +105 -73
- package/dist/vite.js.map +1 -1
- package/package.json +52 -50
- package/skills/api-routes/SKILL.md +251 -251
- package/skills/auth/SKILL.md +268 -268
- package/skills/data-grid/SKILL.md +229 -229
- package/skills/database-schema/SKILL.md +182 -182
- package/skills/dialogs-notifications/SKILL.md +241 -241
- package/skills/forms-validation/SKILL.md +331 -331
- package/skills/forms-validation/references/field-components.md +212 -212
- package/skills/layout-navigation/SKILL.md +259 -259
- package/skills/project-initialization/SKILL.md +181 -181
- package/skills/project-structure/SKILL.md +157 -157
- package/skills/tanstack-db-collections/SKILL.md +270 -270
- package/skills/template-init.md +146 -146
- package/skills/ui-pages/SKILL.md +278 -278
- package/dist/DialogsContext-BIhId-r8.js +0 -7
- package/dist/FileMeta-YGG9mxo_.js +0 -36
- package/dist/NotificationContext-DovR_auQ.js +0 -7
- package/dist/RouterListItemButton-DeaQB4ym.js +0 -31
- package/dist/RouterListItemButton-DeaQB4ym.js.map +0 -1
- package/dist/components/core/AppTitle.d.ts +0 -2
- package/dist/components/core/Fullscreen.d.ts +0 -3
- package/dist/components/core/Layout.d.ts +0 -10
- package/dist/components/core/TypographyWithIcon.d.ts +0 -7
- package/dist/components/core/account/UserAvatar.d.ts +0 -2
- package/dist/components/core/account/UserMenu.d.ts +0 -2
- package/dist/components/core/navigation/NavigationContent.d.ts +0 -11
- package/dist/components/core/navigation/NavigationList.d.ts +0 -17
- package/dist/components/core/navigation/NavigationListItem.d.ts +0 -16
- package/dist/components/core/navigation/NavigationRail.d.ts +0 -12
- package/dist/components/data-grid/ChipInputCell.d.ts +0 -9
- package/dist/components/data-grid/EditableColumnHeader.d.ts +0 -2
- package/dist/components/file/Dropzone.d.ts +0 -8
- package/dist/components/file/FileViewer.d.ts +0 -20
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +0 -17
- package/dist/components/file/fileViewer/FileViewerList.d.ts +0 -12
- package/dist/components/file/fileViewer/ImageViewer.d.ts +0 -6
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +0 -15
- package/dist/components/form/FormAutocomplete.d.ts +0 -7
- package/dist/components/form/FormCheckbox.d.ts +0 -7
- package/dist/components/form/FormDatePicker.d.ts +0 -8
- package/dist/components/form/FormDateRangePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimeRangePicker.d.ts +0 -8
- package/dist/components/form/FormNumberField.d.ts +0 -9
- package/dist/components/form/FormRadioGroup.d.ts +0 -13
- package/dist/components/form/FormSlider.d.ts +0 -7
- package/dist/components/form/FormSubmitButton.d.ts +0 -4
- package/dist/components/form/FormSwitch.d.ts +0 -7
- package/dist/components/form/FormTextField.d.ts +0 -7
- package/dist/components/form/FormTimePicker.d.ts +0 -8
- package/dist/components/form/FormTimeRangePicker.d.ts +0 -8
- package/dist/components/router/RouterButton.d.ts +0 -6
- package/dist/components/router/RouterError.d.ts +0 -7
- package/dist/components/router/RouterFab.d.ts +0 -6
- package/dist/components/router/RouterGridActionsCellItem.d.ts +0 -6
- package/dist/components/router/RouterIconButton.d.ts +0 -6
- package/dist/components/router/RouterLink.d.ts +0 -6
- package/dist/components/router/RouterListItemButton.d.ts +0 -6
- package/dist/components/router/RouterNotFound.d.ts +0 -1
- package/dist/components/router/RouterTab.d.ts +0 -6
- package/dist/contexts/DialogsContext.d.ts +0 -6
- package/dist/contexts/FileContext.d.ts +0 -13
- package/dist/contexts/NotificationContext.d.ts +0 -9
- package/dist/dist-Bxzg1_9c.js +0 -152
- package/dist/dist-Bxzg1_9c.js.map +0 -1
- package/dist/exports/components.d.ts +0 -15
- package/dist/exports/hooks.d.ts +0 -7
- package/dist/exports/index.d.ts +0 -5
- package/dist/exports/middleware.d.ts +0 -2
- package/dist/exports/models.d.ts +0 -24
- package/dist/exports/query.d.ts +0 -3
- package/dist/exports/utils.d.ts +0 -6
- package/dist/exports/vite.d.ts +0 -1
- package/dist/hooks/UseNotification.d.ts +0 -1
- package/dist/hooks/UseScanDetection.d.ts +0 -28
- package/dist/hooks/useDialogs.d.ts +0 -42
- package/dist/hooks/useForm.d.ts +0 -52
- package/dist/hooks/useTheme.d.ts +0 -1
- package/dist/lib/auth/msalClient.d.ts +0 -19
- package/dist/lib/auth/msalServer.d.ts +0 -11
- package/dist/lib/auth/permissions.d.ts +0 -4
- package/dist/lib/auth/scopes.d.ts +0 -4
- package/dist/lib/db/collections/userCollection.d.ts +0 -18
- package/dist/lib/queryClient.d.ts +0 -2
- package/dist/lib/utils.d.ts +0 -63
- package/dist/lib/vite-plugin.d.ts +0 -2
- package/dist/middleware/authMiddleware.d.ts +0 -22
- package/dist/middleware/validationMiddleware.d.ts +0 -4
- package/dist/models/LayoutOptions.d.ts +0 -7
- package/dist/models/Navigation.d.ts +0 -29
- package/dist/models/TokenPayload.d.ts +0 -9
- package/dist/models/User.d.ts +0 -10
- package/dist/models/VaultConfig.d.ts +0 -9
- package/dist/models/approval/Approval.d.ts +0 -177
- package/dist/models/approval/ApprovalEmployee.d.ts +0 -7
- package/dist/models/approval/ApprovalFlow.d.ts +0 -49
- package/dist/models/approval/ApprovalFlowStep.d.ts +0 -29
- package/dist/models/approval/ApprovalRequestType.d.ts +0 -5
- package/dist/models/approval/ApprovalStatus.d.ts +0 -9
- package/dist/models/approval/ApprovalStepResult.d.ts +0 -11
- package/dist/models/approval/StepApprovalOrder.d.ts +0 -6
- package/dist/models/email/Email.d.ts +0 -13
- package/dist/models/email/EmailAttachment.d.ts +0 -6
- package/dist/models/file/FileActions.d.ts +0 -6
- package/dist/models/file/FileMeta.d.ts +0 -15
- package/dist/models/peoplesoft/Department.d.ts +0 -58
- package/dist/models/peoplesoft/Employee.d.ts +0 -46
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +0 -6
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +0 -6
- package/dist/providers/DialogsProvider.d.ts +0 -5
- package/dist/providers/LayoutProvider.d.ts +0 -12
- package/dist/providers/MsalAuthProvider.d.ts +0 -6
- package/dist/providers/NotificationProvider.d.ts +0 -7
- package/dist/queries/ApprovalQueries.d.ts +0 -661
- package/dist/queries/FileQueries.d.ts +0 -205
- package/dist/queries/PeopleSoftQueries.d.ts +0 -2173
- package/dist/queries/index.d.ts +0 -2958
- package/dist/queries-D8Ys1kLs.js +0 -2936
- package/dist/queries-D8Ys1kLs.js.map +0 -1
- package/dist/queryClient-B__OEZ70.js +0 -7
- package/dist/useDialogs-CX8kuAuA.js +0 -208
- package/dist/useDialogs-CX8kuAuA.js.map +0 -1
- package/dist/utils-C4oJ0tr5.js +0 -157
- package/dist/utils-C4oJ0tr5.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -1,3008 +1,937 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { c
|
|
5
|
-
import { Box
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
1
|
+
import { n as RouterIconButton, t as RouterListItemButton } from "./RouterListItemButton-rcdkgOXQ.js";
|
|
2
|
+
import { t as useDialogs } from "./useDialogs-BaxhulU9.js";
|
|
3
|
+
import { t as query } from "./queries-JPqCc5Tb.js";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { Box, Button, Chip, Dialog, Divider, Fab, IconButton, ImageListItem, ImageListItemBar, Link, List, ListItemButton, ListItemIcon, ListItemText, Menu, Stack, Tab, Tooltip, Typography, useTheme } from "@mui/material";
|
|
6
|
+
import React, { Fragment, createContext, useContext, useEffect, useEffectEvent, useLayoutEffect, useRef, useState } from "react";
|
|
7
|
+
import { useTranslation } from "react-i18next";
|
|
8
|
+
import { createLink } from "@tanstack/react-router";
|
|
9
|
+
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import CloudUpload from "@mui/icons-material/CloudUpload";
|
|
12
|
+
import { useDropzone } from "react-dropzone";
|
|
13
|
+
import MoreVert from "@mui/icons-material/MoreVert";
|
|
14
|
+
import { grey } from "@mui/material/colors";
|
|
15
|
+
import { useInView } from "react-intersection-observer";
|
|
16
|
+
import Delete from "@mui/icons-material/Delete";
|
|
17
|
+
import FileDownload from "@mui/icons-material/FileDownload";
|
|
18
|
+
import AttachFile from "@mui/icons-material/AttachFile";
|
|
19
|
+
import Image from "@mui/icons-material/Image";
|
|
20
|
+
import SmartDisplay from "@mui/icons-material/SmartDisplay";
|
|
21
|
+
import Close from "@mui/icons-material/Close";
|
|
22
|
+
import Edit from "@mui/icons-material/Edit";
|
|
23
|
+
import { GridActionsCellItem } from "@mui/x-data-grid-premium";
|
|
22
24
|
//#region src/components/core/TypographyWithIcon.tsx
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
display: "inline-flex",
|
|
29
|
-
alignItems: "center",
|
|
30
|
-
justifyContent: "center",
|
|
31
|
-
flexShrink: 0,
|
|
32
|
-
lineHeight: 0,
|
|
33
|
-
"& > svg": { display: "block" }
|
|
34
|
-
}, t[6] = c) : c = t[6];
|
|
35
|
-
let l = c, u;
|
|
36
|
-
t[7] === o ? u = t[8] : (u = {
|
|
37
|
-
display: "inline-flex",
|
|
38
|
-
alignItems: "center",
|
|
39
|
-
verticalAlign: "middle",
|
|
40
|
-
...o
|
|
41
|
-
}, t[7] = o, t[8] = u);
|
|
42
|
-
let d;
|
|
43
|
-
t[9] === a ? d = t[10] : (d = a && /* @__PURE__ */ B(C, {
|
|
44
|
-
component: "span",
|
|
45
|
-
sx: l,
|
|
46
|
-
children: a
|
|
47
|
-
}), t[9] = a, t[10] = d);
|
|
48
|
-
let f;
|
|
49
|
-
t[11] === Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
50
|
-
display: "inline",
|
|
51
|
-
lineHeight: "inherit"
|
|
52
|
-
}, t[11] = f) : f = t[11];
|
|
53
|
-
let p;
|
|
54
|
-
t[12] === n ? p = t[13] : (p = /* @__PURE__ */ B(C, {
|
|
55
|
-
component: "span",
|
|
56
|
-
sx: f,
|
|
57
|
-
children: n
|
|
58
|
-
}), t[12] = n, t[13] = p);
|
|
59
|
-
let m;
|
|
60
|
-
t[14] === r ? m = t[15] : (m = r && /* @__PURE__ */ B(C, {
|
|
61
|
-
component: "span",
|
|
62
|
-
sx: l,
|
|
63
|
-
children: r
|
|
64
|
-
}), t[14] = r, t[15] = m);
|
|
65
|
-
let h;
|
|
66
|
-
return t[16] !== i || t[17] !== u || t[18] !== d || t[19] !== p || t[20] !== m ? (h = /* @__PURE__ */ V(E, {
|
|
67
|
-
component: "span",
|
|
68
|
-
sx: u,
|
|
69
|
-
gap: 1,
|
|
70
|
-
...i,
|
|
71
|
-
children: [
|
|
72
|
-
d,
|
|
73
|
-
p,
|
|
74
|
-
m
|
|
75
|
-
]
|
|
76
|
-
}), t[16] = i, t[17] = u, t[18] = d, t[19] = p, t[20] = m, t[21] = h) : h = t[21], h;
|
|
77
|
-
}, X = (e) => {
|
|
78
|
-
let t = s(15), n, r, i;
|
|
79
|
-
t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({children: n, sx: i, ...r} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
|
|
80
|
-
let a = R(null), [o, l] = z(), u;
|
|
81
|
-
t[4] === Symbol.for("react.memo_cache_sentinel") ? (u = () => {
|
|
82
|
-
if (!a.current) return;
|
|
83
|
-
let e = a.current.getBoundingClientRect().top, t = window.visualViewport?.height ?? window.innerHeight;
|
|
84
|
-
l(Math.max(0, Math.floor(t - e)));
|
|
85
|
-
}, t[4] = u) : u = t[4];
|
|
86
|
-
let d = I(u), f;
|
|
87
|
-
t[5] === d ? f = t[6] : (f = () => {
|
|
88
|
-
let e = a.current;
|
|
89
|
-
if (!e) return;
|
|
90
|
-
d(), window.addEventListener("resize", d);
|
|
91
|
-
let t = new ResizeObserver(d);
|
|
92
|
-
return t.observe(document.documentElement), t.observe(document.body), t.observe(e), () => {
|
|
93
|
-
window.removeEventListener("resize", d), t.disconnect();
|
|
94
|
-
};
|
|
95
|
-
}, t[5] = d, t[6] = f);
|
|
96
|
-
let p;
|
|
97
|
-
t[7] === Symbol.for("react.memo_cache_sentinel") ? (p = [], t[7] = p) : p = t[7], te(f, p);
|
|
98
|
-
let m;
|
|
99
|
-
t[8] === i ? m = t[9] : (m = {
|
|
100
|
-
display: "flex",
|
|
101
|
-
flexDirection: "column",
|
|
102
|
-
boxSizing: "border-box",
|
|
103
|
-
minHeight: 0,
|
|
104
|
-
width: "100%",
|
|
105
|
-
overflow: "auto",
|
|
106
|
-
...i
|
|
107
|
-
}, t[8] = i, t[9] = m);
|
|
108
|
-
let h;
|
|
109
|
-
return t[10] !== n || t[11] !== o || t[12] !== r || t[13] !== m ? (h = /* @__PURE__ */ B(c, {
|
|
110
|
-
ref: a,
|
|
111
|
-
sx: m,
|
|
112
|
-
height: o,
|
|
113
|
-
...r,
|
|
114
|
-
children: n
|
|
115
|
-
}), t[10] = n, t[11] = o, t[12] = r, t[13] = m, t[14] = h) : h = t[14], h;
|
|
116
|
-
}, de = /* @__PURE__ */ t(((e) => {
|
|
117
|
-
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
118
|
-
function b(e) {
|
|
119
|
-
if (typeof e == "object" && e) {
|
|
120
|
-
var t = e.$$typeof;
|
|
121
|
-
switch (t) {
|
|
122
|
-
case n: switch (e = e.type, e) {
|
|
123
|
-
case l:
|
|
124
|
-
case u:
|
|
125
|
-
case i:
|
|
126
|
-
case o:
|
|
127
|
-
case a:
|
|
128
|
-
case f: return e;
|
|
129
|
-
default: switch (e &&= e.$$typeof, e) {
|
|
130
|
-
case c:
|
|
131
|
-
case d:
|
|
132
|
-
case h:
|
|
133
|
-
case m:
|
|
134
|
-
case s: return e;
|
|
135
|
-
default: return t;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
case r: return t;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
function x(e) {
|
|
143
|
-
return b(e) === u;
|
|
144
|
-
}
|
|
145
|
-
e.AsyncMode = l, e.ConcurrentMode = u, e.ContextConsumer = c, e.ContextProvider = s, e.Element = n, e.ForwardRef = d, e.Fragment = i, e.Lazy = h, e.Memo = m, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = f, e.isAsyncMode = function(e) {
|
|
146
|
-
return x(e) || b(e) === l;
|
|
147
|
-
}, e.isConcurrentMode = x, e.isContextConsumer = function(e) {
|
|
148
|
-
return b(e) === c;
|
|
149
|
-
}, e.isContextProvider = function(e) {
|
|
150
|
-
return b(e) === s;
|
|
151
|
-
}, e.isElement = function(e) {
|
|
152
|
-
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
153
|
-
}, e.isForwardRef = function(e) {
|
|
154
|
-
return b(e) === d;
|
|
155
|
-
}, e.isFragment = function(e) {
|
|
156
|
-
return b(e) === i;
|
|
157
|
-
}, e.isLazy = function(e) {
|
|
158
|
-
return b(e) === h;
|
|
159
|
-
}, e.isMemo = function(e) {
|
|
160
|
-
return b(e) === m;
|
|
161
|
-
}, e.isPortal = function(e) {
|
|
162
|
-
return b(e) === r;
|
|
163
|
-
}, e.isProfiler = function(e) {
|
|
164
|
-
return b(e) === o;
|
|
165
|
-
}, e.isStrictMode = function(e) {
|
|
166
|
-
return b(e) === a;
|
|
167
|
-
}, e.isSuspense = function(e) {
|
|
168
|
-
return b(e) === f;
|
|
169
|
-
}, e.isValidElementType = function(e) {
|
|
170
|
-
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
171
|
-
}, e.typeOf = b;
|
|
172
|
-
})), fe = /* @__PURE__ */ t(((e) => {
|
|
173
|
-
process.env.NODE_ENV !== "production" && (function() {
|
|
174
|
-
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
175
|
-
function b(e) {
|
|
176
|
-
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
177
|
-
}
|
|
178
|
-
function x(e) {
|
|
179
|
-
if (typeof e == "object" && e) {
|
|
180
|
-
var t = e.$$typeof;
|
|
181
|
-
switch (t) {
|
|
182
|
-
case n:
|
|
183
|
-
var p = e.type;
|
|
184
|
-
switch (p) {
|
|
185
|
-
case l:
|
|
186
|
-
case u:
|
|
187
|
-
case i:
|
|
188
|
-
case o:
|
|
189
|
-
case a:
|
|
190
|
-
case f: return p;
|
|
191
|
-
default:
|
|
192
|
-
var g = p && p.$$typeof;
|
|
193
|
-
switch (g) {
|
|
194
|
-
case c:
|
|
195
|
-
case d:
|
|
196
|
-
case h:
|
|
197
|
-
case m:
|
|
198
|
-
case s: return g;
|
|
199
|
-
default: return t;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
case r: return t;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
var S = l, C = u, w = c, T = s, E = n, D = d, O = i, k = h, A = m, j = r, M = o, N = a, P = f, F = !1;
|
|
207
|
-
function I(e) {
|
|
208
|
-
return F || (F = !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.")), ee(e) || x(e) === l;
|
|
209
|
-
}
|
|
210
|
-
function ee(e) {
|
|
211
|
-
return x(e) === u;
|
|
212
|
-
}
|
|
213
|
-
function te(e) {
|
|
214
|
-
return x(e) === c;
|
|
215
|
-
}
|
|
216
|
-
function L(e) {
|
|
217
|
-
return x(e) === s;
|
|
218
|
-
}
|
|
219
|
-
function ne(e) {
|
|
220
|
-
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
221
|
-
}
|
|
222
|
-
function R(e) {
|
|
223
|
-
return x(e) === d;
|
|
224
|
-
}
|
|
225
|
-
function z(e) {
|
|
226
|
-
return x(e) === i;
|
|
227
|
-
}
|
|
228
|
-
function B(e) {
|
|
229
|
-
return x(e) === h;
|
|
230
|
-
}
|
|
231
|
-
function V(e) {
|
|
232
|
-
return x(e) === m;
|
|
233
|
-
}
|
|
234
|
-
function H(e) {
|
|
235
|
-
return x(e) === r;
|
|
236
|
-
}
|
|
237
|
-
function re(e) {
|
|
238
|
-
return x(e) === o;
|
|
239
|
-
}
|
|
240
|
-
function U(e) {
|
|
241
|
-
return x(e) === a;
|
|
242
|
-
}
|
|
243
|
-
function ie(e) {
|
|
244
|
-
return x(e) === f;
|
|
245
|
-
}
|
|
246
|
-
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = ee, e.isContextConsumer = te, e.isContextProvider = L, e.isElement = ne, e.isForwardRef = R, e.isFragment = z, e.isLazy = B, e.isMemo = V, e.isPortal = H, e.isProfiler = re, e.isStrictMode = U, e.isSuspense = ie, e.isValidElementType = b, e.typeOf = x;
|
|
247
|
-
})();
|
|
248
|
-
})), pe = /* @__PURE__ */ t(((e, t) => {
|
|
249
|
-
process.env.NODE_ENV === "production" ? t.exports = de() : t.exports = fe();
|
|
250
|
-
})), me = /* @__PURE__ */ t(((e, t) => {
|
|
251
|
-
var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
252
|
-
function a(e) {
|
|
253
|
-
if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
|
|
254
|
-
return Object(e);
|
|
25
|
+
const TypographyWithIcon = (t0) => {
|
|
26
|
+
const $ = c(22);
|
|
27
|
+
if ($[0] !== "c907f878079ab2aaf6c4f1ddc11a48963df3a6aab19bcf04c50580ea956cba1f") {
|
|
28
|
+
for (let $i = 0; $i < 22; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
29
|
+
$[0] = "c907f878079ab2aaf6c4f1ddc11a48963df3a6aab19bcf04c50580ea956cba1f";
|
|
255
30
|
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
31
|
+
let children;
|
|
32
|
+
let endIcon;
|
|
33
|
+
let props;
|
|
34
|
+
let startIcon;
|
|
35
|
+
let sx;
|
|
36
|
+
let t1;
|
|
37
|
+
if ($[1] !== t0) {
|
|
38
|
+
({startIcon, endIcon, children, gap: t1, sx, ...props} = t0);
|
|
39
|
+
$[1] = t0;
|
|
40
|
+
$[2] = children;
|
|
41
|
+
$[3] = endIcon;
|
|
42
|
+
$[4] = props;
|
|
43
|
+
$[5] = startIcon;
|
|
44
|
+
$[6] = sx;
|
|
45
|
+
$[7] = t1;
|
|
46
|
+
} else {
|
|
47
|
+
children = $[2];
|
|
48
|
+
endIcon = $[3];
|
|
49
|
+
props = $[4];
|
|
50
|
+
startIcon = $[5];
|
|
51
|
+
sx = $[6];
|
|
52
|
+
t1 = $[7];
|
|
272
53
|
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
return s;
|
|
282
|
-
};
|
|
283
|
-
})), he = /* @__PURE__ */ t(((e, t) => {
|
|
284
|
-
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
285
|
-
})), ge = /* @__PURE__ */ t(((e, t) => {
|
|
286
|
-
t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
287
|
-
})), _e = /* @__PURE__ */ t(((e, t) => {
|
|
288
|
-
var n = function() {};
|
|
289
|
-
if (process.env.NODE_ENV !== "production") {
|
|
290
|
-
var r = he(), i = {}, a = ge();
|
|
291
|
-
n = function(e) {
|
|
292
|
-
var t = "Warning: " + e;
|
|
293
|
-
typeof console < "u" && console.error(t);
|
|
294
|
-
try {
|
|
295
|
-
throw Error(t);
|
|
296
|
-
} catch {}
|
|
54
|
+
const gap = t1 === void 0 ? 1 : t1;
|
|
55
|
+
let t2;
|
|
56
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
57
|
+
t2 = {
|
|
58
|
+
display: "block",
|
|
59
|
+
flexShrink: 0
|
|
297
60
|
};
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
u = e[l](t, l, s, o, null, r);
|
|
309
|
-
} catch (e) {
|
|
310
|
-
u = e;
|
|
311
|
-
}
|
|
312
|
-
if (u && !(u instanceof Error) && n((s || "React class") + ": type specification of " + o + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."), u instanceof Error && !(u.message in i)) {
|
|
313
|
-
i[u.message] = !0;
|
|
314
|
-
var f = c ? c() : "";
|
|
315
|
-
n("Failed " + o + " type: " + u.message + (f ?? ""));
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
o.resetWarningCache = function() {
|
|
321
|
-
process.env.NODE_ENV !== "production" && (i = {});
|
|
322
|
-
}, t.exports = o;
|
|
323
|
-
})), ve = /* @__PURE__ */ t(((e, t) => {
|
|
324
|
-
var n = pe(), r = me(), i = he(), a = ge(), o = _e(), s = function() {};
|
|
325
|
-
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
326
|
-
var t = "Warning: " + e;
|
|
327
|
-
typeof console < "u" && console.error(t);
|
|
328
|
-
try {
|
|
329
|
-
throw Error(t);
|
|
330
|
-
} catch {}
|
|
331
|
-
});
|
|
332
|
-
function c() {
|
|
333
|
-
return null;
|
|
334
|
-
}
|
|
335
|
-
t.exports = function(e, t) {
|
|
336
|
-
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
337
|
-
function d(e) {
|
|
338
|
-
var t = e && (l && e[l] || e[u]);
|
|
339
|
-
if (typeof t == "function") return t;
|
|
340
|
-
}
|
|
341
|
-
var f = "<<anonymous>>", p = {
|
|
342
|
-
array: _("array"),
|
|
343
|
-
bigint: _("bigint"),
|
|
344
|
-
bool: _("boolean"),
|
|
345
|
-
func: _("function"),
|
|
346
|
-
number: _("number"),
|
|
347
|
-
object: _("object"),
|
|
348
|
-
string: _("string"),
|
|
349
|
-
symbol: _("symbol"),
|
|
350
|
-
any: v(),
|
|
351
|
-
arrayOf: y,
|
|
352
|
-
element: b(),
|
|
353
|
-
elementType: x(),
|
|
354
|
-
instanceOf: S,
|
|
355
|
-
node: E(),
|
|
356
|
-
objectOf: w,
|
|
357
|
-
oneOf: C,
|
|
358
|
-
oneOfType: T,
|
|
359
|
-
shape: O,
|
|
360
|
-
exact: k
|
|
361
|
-
};
|
|
362
|
-
function m(e, t) {
|
|
363
|
-
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
|
|
364
|
-
}
|
|
365
|
-
function h(e, t) {
|
|
366
|
-
this.message = e, this.data = t && typeof t == "object" ? t : {}, this.stack = "";
|
|
367
|
-
}
|
|
368
|
-
h.prototype = Error.prototype;
|
|
369
|
-
function g(e) {
|
|
370
|
-
if (process.env.NODE_ENV !== "production") var n = {}, r = 0;
|
|
371
|
-
function a(a, o, c, l, u, d, p) {
|
|
372
|
-
if (l ||= f, d ||= c, p !== i) {
|
|
373
|
-
if (t) {
|
|
374
|
-
var m = /* @__PURE__ */ Error("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");
|
|
375
|
-
throw m.name = "Invariant Violation", m;
|
|
376
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
377
|
-
var g = l + ":" + c;
|
|
378
|
-
!n[g] && r < 3 && (s("You are manually calling a React.PropTypes validation function for the `" + d + "` prop on `" + l + "`. 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."), n[g] = !0, r++);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
return o[c] == null ? a ? o[c] === null ? new h("The " + u + " `" + d + "` is marked as required " + ("in `" + l + "`, but its value is `null`.")) : new h("The " + u + " `" + d + "` is marked as required in " + ("`" + l + "`, but its value is `undefined`.")) : null : e(o, c, l, u, d);
|
|
382
|
-
}
|
|
383
|
-
var o = a.bind(null, !1);
|
|
384
|
-
return o.isRequired = a.bind(null, !0), o;
|
|
385
|
-
}
|
|
386
|
-
function _(e) {
|
|
387
|
-
function t(t, n, r, i, a, o) {
|
|
388
|
-
var s = t[n];
|
|
389
|
-
if (M(s) !== e) {
|
|
390
|
-
var c = N(s);
|
|
391
|
-
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + c + "` supplied to `" + r + "`, expected ") + ("`" + e + "`."), { expectedType: e });
|
|
392
|
-
}
|
|
393
|
-
return null;
|
|
394
|
-
}
|
|
395
|
-
return g(t);
|
|
396
|
-
}
|
|
397
|
-
function v() {
|
|
398
|
-
return g(c);
|
|
399
|
-
}
|
|
400
|
-
function y(e) {
|
|
401
|
-
function t(t, n, r, a, o) {
|
|
402
|
-
if (typeof e != "function") return new h("Property `" + o + "` of component `" + r + "` has invalid PropType notation inside arrayOf.");
|
|
403
|
-
var s = t[n];
|
|
404
|
-
if (!Array.isArray(s)) {
|
|
405
|
-
var c = M(s);
|
|
406
|
-
return new h("Invalid " + a + " `" + o + "` of type " + ("`" + c + "` supplied to `" + r + "`, expected an array."));
|
|
407
|
-
}
|
|
408
|
-
for (var l = 0; l < s.length; l++) {
|
|
409
|
-
var u = e(s, l, r, a, o + "[" + l + "]", i);
|
|
410
|
-
if (u instanceof Error) return u;
|
|
411
|
-
}
|
|
412
|
-
return null;
|
|
413
|
-
}
|
|
414
|
-
return g(t);
|
|
415
|
-
}
|
|
416
|
-
function b() {
|
|
417
|
-
function t(t, n, r, i, a) {
|
|
418
|
-
var o = t[n];
|
|
419
|
-
if (!e(o)) {
|
|
420
|
-
var s = M(o);
|
|
421
|
-
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected a single ReactElement."));
|
|
422
|
-
}
|
|
423
|
-
return null;
|
|
424
|
-
}
|
|
425
|
-
return g(t);
|
|
426
|
-
}
|
|
427
|
-
function x() {
|
|
428
|
-
function e(e, t, r, i, a) {
|
|
429
|
-
var o = e[t];
|
|
430
|
-
if (!n.isValidElementType(o)) {
|
|
431
|
-
var s = M(o);
|
|
432
|
-
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected a single ReactElement type."));
|
|
433
|
-
}
|
|
434
|
-
return null;
|
|
435
|
-
}
|
|
436
|
-
return g(e);
|
|
437
|
-
}
|
|
438
|
-
function S(e) {
|
|
439
|
-
function t(t, n, r, i, a) {
|
|
440
|
-
if (!(t[n] instanceof e)) {
|
|
441
|
-
var o = e.name || f, s = F(t[n]);
|
|
442
|
-
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected ") + ("instance of `" + o + "`."));
|
|
443
|
-
}
|
|
444
|
-
return null;
|
|
445
|
-
}
|
|
446
|
-
return g(t);
|
|
447
|
-
}
|
|
448
|
-
function C(e) {
|
|
449
|
-
if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s("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]).") : s("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
450
|
-
function t(t, n, r, i, a) {
|
|
451
|
-
for (var o = t[n], s = 0; s < e.length; s++) if (m(o, e[s])) return null;
|
|
452
|
-
var c = JSON.stringify(e, function(e, t) {
|
|
453
|
-
return N(t) === "symbol" ? String(t) : t;
|
|
454
|
-
});
|
|
455
|
-
return new h("Invalid " + i + " `" + a + "` of value `" + String(o) + "` " + ("supplied to `" + r + "`, expected one of " + c + "."));
|
|
456
|
-
}
|
|
457
|
-
return g(t);
|
|
458
|
-
}
|
|
459
|
-
function w(e) {
|
|
460
|
-
function t(t, n, r, o, s) {
|
|
461
|
-
if (typeof e != "function") return new h("Property `" + s + "` of component `" + r + "` has invalid PropType notation inside objectOf.");
|
|
462
|
-
var c = t[n], l = M(c);
|
|
463
|
-
if (l !== "object") return new h("Invalid " + o + " `" + s + "` of type " + ("`" + l + "` supplied to `" + r + "`, expected an object."));
|
|
464
|
-
for (var u in c) if (a(c, u)) {
|
|
465
|
-
var d = e(c, u, r, o, s + "." + u, i);
|
|
466
|
-
if (d instanceof Error) return d;
|
|
467
|
-
}
|
|
468
|
-
return null;
|
|
469
|
-
}
|
|
470
|
-
return g(t);
|
|
471
|
-
}
|
|
472
|
-
function T(e) {
|
|
473
|
-
if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
474
|
-
for (var t = 0; t < e.length; t++) {
|
|
475
|
-
var n = e[t];
|
|
476
|
-
if (typeof n != "function") return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + P(n) + " at index " + t + "."), c;
|
|
477
|
-
}
|
|
478
|
-
function r(t, n, r, o, s) {
|
|
479
|
-
for (var c = [], l = 0; l < e.length; l++) {
|
|
480
|
-
var u = e[l], d = u(t, n, r, o, s, i);
|
|
481
|
-
if (d == null) return null;
|
|
482
|
-
d.data && a(d.data, "expectedType") && c.push(d.data.expectedType);
|
|
483
|
-
}
|
|
484
|
-
var f = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
|
|
485
|
-
return new h("Invalid " + o + " `" + s + "` supplied to " + ("`" + r + "`" + f + "."));
|
|
486
|
-
}
|
|
487
|
-
return g(r);
|
|
488
|
-
}
|
|
489
|
-
function E() {
|
|
490
|
-
function e(e, t, n, r, i) {
|
|
491
|
-
return A(e[t]) ? null : new h("Invalid " + r + " `" + i + "` supplied to " + ("`" + n + "`, expected a ReactNode."));
|
|
492
|
-
}
|
|
493
|
-
return g(e);
|
|
494
|
-
}
|
|
495
|
-
function D(e, t, n, r, i) {
|
|
496
|
-
return new h((e || "React class") + ": " + t + " type `" + n + "." + r + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`.");
|
|
497
|
-
}
|
|
498
|
-
function O(e) {
|
|
499
|
-
function t(t, n, r, a, o) {
|
|
500
|
-
var s = t[n], c = M(s);
|
|
501
|
-
if (c !== "object") return new h("Invalid " + a + " `" + o + "` of type `" + c + "` " + ("supplied to `" + r + "`, expected `object`."));
|
|
502
|
-
for (var l in e) {
|
|
503
|
-
var u = e[l];
|
|
504
|
-
if (typeof u != "function") return D(r, a, o, l, N(u));
|
|
505
|
-
var d = u(s, l, r, a, o + "." + l, i);
|
|
506
|
-
if (d) return d;
|
|
507
|
-
}
|
|
508
|
-
return null;
|
|
509
|
-
}
|
|
510
|
-
return g(t);
|
|
511
|
-
}
|
|
512
|
-
function k(e) {
|
|
513
|
-
function t(t, n, o, s, c) {
|
|
514
|
-
var l = t[n], u = M(l);
|
|
515
|
-
if (u !== "object") return new h("Invalid " + s + " `" + c + "` of type `" + u + "` " + ("supplied to `" + o + "`, expected `object`."));
|
|
516
|
-
for (var d in r({}, t[n], e)) {
|
|
517
|
-
var f = e[d];
|
|
518
|
-
if (a(e, d) && typeof f != "function") return D(o, s, c, d, N(f));
|
|
519
|
-
if (!f) return new h("Invalid " + s + " `" + c + "` key `" + d + "` supplied to `" + o + "`.\nBad object: " + JSON.stringify(t[n], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(e), null, " "));
|
|
520
|
-
var p = f(l, d, o, s, c + "." + d, i);
|
|
521
|
-
if (p) return p;
|
|
522
|
-
}
|
|
523
|
-
return null;
|
|
524
|
-
}
|
|
525
|
-
return g(t);
|
|
526
|
-
}
|
|
527
|
-
function A(t) {
|
|
528
|
-
switch (typeof t) {
|
|
529
|
-
case "number":
|
|
530
|
-
case "string":
|
|
531
|
-
case "undefined": return !0;
|
|
532
|
-
case "boolean": return !t;
|
|
533
|
-
case "object":
|
|
534
|
-
if (Array.isArray(t)) return t.every(A);
|
|
535
|
-
if (t === null || e(t)) return !0;
|
|
536
|
-
var n = d(t);
|
|
537
|
-
if (n) {
|
|
538
|
-
var r = n.call(t), i;
|
|
539
|
-
if (n !== t.entries) {
|
|
540
|
-
for (; !(i = r.next()).done;) if (!A(i.value)) return !1;
|
|
541
|
-
} else for (; !(i = r.next()).done;) {
|
|
542
|
-
var a = i.value;
|
|
543
|
-
if (a && !A(a[1])) return !1;
|
|
544
|
-
}
|
|
545
|
-
} else return !1;
|
|
546
|
-
return !0;
|
|
547
|
-
default: return !1;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
function j(e, t) {
|
|
551
|
-
return e === "symbol" ? !0 : t ? t["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && t instanceof Symbol : !1;
|
|
552
|
-
}
|
|
553
|
-
function M(e) {
|
|
554
|
-
var t = typeof e;
|
|
555
|
-
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : j(t, e) ? "symbol" : t;
|
|
556
|
-
}
|
|
557
|
-
function N(e) {
|
|
558
|
-
if (e == null) return "" + e;
|
|
559
|
-
var t = M(e);
|
|
560
|
-
if (t === "object") {
|
|
561
|
-
if (e instanceof Date) return "date";
|
|
562
|
-
if (e instanceof RegExp) return "regexp";
|
|
563
|
-
}
|
|
564
|
-
return t;
|
|
565
|
-
}
|
|
566
|
-
function P(e) {
|
|
567
|
-
var t = N(e);
|
|
568
|
-
switch (t) {
|
|
569
|
-
case "array":
|
|
570
|
-
case "object": return "an " + t;
|
|
571
|
-
case "boolean":
|
|
572
|
-
case "date":
|
|
573
|
-
case "regexp": return "a " + t;
|
|
574
|
-
default: return t;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
function F(e) {
|
|
578
|
-
return !e.constructor || !e.constructor.name ? f : e.constructor.name;
|
|
579
|
-
}
|
|
580
|
-
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
581
|
-
};
|
|
582
|
-
})), ye = /* @__PURE__ */ t(((e, t) => {
|
|
583
|
-
var n = he();
|
|
584
|
-
function r() {}
|
|
585
|
-
function i() {}
|
|
586
|
-
i.resetWarningCache = r, t.exports = function() {
|
|
587
|
-
function e(e, t, r, i, a, o) {
|
|
588
|
-
if (o !== n) {
|
|
589
|
-
var s = /* @__PURE__ */ Error("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");
|
|
590
|
-
throw s.name = "Invariant Violation", s;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
e.isRequired = e;
|
|
594
|
-
function t() {
|
|
595
|
-
return e;
|
|
596
|
-
}
|
|
597
|
-
var a = {
|
|
598
|
-
array: e,
|
|
599
|
-
bigint: e,
|
|
600
|
-
bool: e,
|
|
601
|
-
func: e,
|
|
602
|
-
number: e,
|
|
603
|
-
object: e,
|
|
604
|
-
string: e,
|
|
605
|
-
symbol: e,
|
|
606
|
-
any: e,
|
|
607
|
-
arrayOf: t,
|
|
608
|
-
element: e,
|
|
609
|
-
elementType: e,
|
|
610
|
-
instanceOf: t,
|
|
611
|
-
node: e,
|
|
612
|
-
objectOf: t,
|
|
613
|
-
oneOf: t,
|
|
614
|
-
oneOfType: t,
|
|
615
|
-
shape: t,
|
|
616
|
-
exact: t,
|
|
617
|
-
checkPropTypes: i,
|
|
618
|
-
resetWarningCache: r
|
|
61
|
+
$[8] = t2;
|
|
62
|
+
} else t2 = $[8];
|
|
63
|
+
let t3;
|
|
64
|
+
if ($[9] !== gap) {
|
|
65
|
+
t3 = {
|
|
66
|
+
display: "inline-flex",
|
|
67
|
+
alignItems: "center",
|
|
68
|
+
verticalAlign: "middle",
|
|
69
|
+
gap,
|
|
70
|
+
"& > svg": t2
|
|
619
71
|
};
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
72
|
+
$[9] = gap;
|
|
73
|
+
$[10] = t3;
|
|
74
|
+
} else t3 = $[10];
|
|
75
|
+
let t4;
|
|
76
|
+
if ($[11] !== sx) {
|
|
77
|
+
t4 = Array.isArray(sx) ? sx : [sx];
|
|
78
|
+
$[11] = sx;
|
|
79
|
+
$[12] = t4;
|
|
80
|
+
} else t4 = $[12];
|
|
81
|
+
let t5;
|
|
82
|
+
if ($[13] !== t3 || $[14] !== t4) {
|
|
83
|
+
t5 = [t3, ...t4];
|
|
84
|
+
$[13] = t3;
|
|
85
|
+
$[14] = t4;
|
|
86
|
+
$[15] = t5;
|
|
87
|
+
} else t5 = $[15];
|
|
88
|
+
let t6;
|
|
89
|
+
if ($[16] !== children || $[17] !== endIcon || $[18] !== props || $[19] !== startIcon || $[20] !== t5) {
|
|
90
|
+
t6 = /* @__PURE__ */ jsxs(Typography, {
|
|
91
|
+
component: "span",
|
|
92
|
+
sx: t5,
|
|
93
|
+
...props,
|
|
94
|
+
children: [
|
|
95
|
+
startIcon,
|
|
96
|
+
children,
|
|
97
|
+
endIcon
|
|
98
|
+
]
|
|
634
99
|
});
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
function s(e) {
|
|
645
|
-
try {
|
|
646
|
-
c(r.throw(e));
|
|
647
|
-
} catch (e) {
|
|
648
|
-
a(e);
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
function c(e) {
|
|
652
|
-
e.done ? n(e.value) : i(e.value).then(o, s);
|
|
653
|
-
}
|
|
654
|
-
c((r = r.apply(e, t || [])).next());
|
|
655
|
-
});
|
|
656
|
-
}
|
|
100
|
+
$[16] = children;
|
|
101
|
+
$[17] = endIcon;
|
|
102
|
+
$[18] = props;
|
|
103
|
+
$[19] = startIcon;
|
|
104
|
+
$[20] = t5;
|
|
105
|
+
$[21] = t6;
|
|
106
|
+
} else t6 = $[21];
|
|
107
|
+
return t6;
|
|
108
|
+
};
|
|
657
109
|
//#endregion
|
|
658
|
-
//#region
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
["
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
["3gp", "video/3gp"],
|
|
665
|
-
["3gpp", "video/3gpp"],
|
|
666
|
-
["3mf", "model/3mf"],
|
|
667
|
-
["7z", "application/x-7z-compressed"],
|
|
668
|
-
["7zip", "application/x-7z-compressed"],
|
|
669
|
-
["123", "application/vnd.lotus-1-2-3"],
|
|
670
|
-
["aab", "application/x-authorware-bin"],
|
|
671
|
-
["aac", "audio/x-acc"],
|
|
672
|
-
["aam", "application/x-authorware-map"],
|
|
673
|
-
["aas", "application/x-authorware-seg"],
|
|
674
|
-
["abw", "application/x-abiword"],
|
|
675
|
-
["ac", "application/vnd.nokia.n-gage.ac+xml"],
|
|
676
|
-
["ac3", "audio/ac3"],
|
|
677
|
-
["acc", "application/vnd.americandynamics.acc"],
|
|
678
|
-
["ace", "application/x-ace-compressed"],
|
|
679
|
-
["acu", "application/vnd.acucobol"],
|
|
680
|
-
["acutc", "application/vnd.acucorp"],
|
|
681
|
-
["adp", "audio/adpcm"],
|
|
682
|
-
["aep", "application/vnd.audiograph"],
|
|
683
|
-
["afm", "application/x-font-type1"],
|
|
684
|
-
["afp", "application/vnd.ibm.modcap"],
|
|
685
|
-
["ahead", "application/vnd.ahead.space"],
|
|
686
|
-
["ai", "application/pdf"],
|
|
687
|
-
["aif", "audio/x-aiff"],
|
|
688
|
-
["aifc", "audio/x-aiff"],
|
|
689
|
-
["aiff", "audio/x-aiff"],
|
|
690
|
-
["air", "application/vnd.adobe.air-application-installer-package+zip"],
|
|
691
|
-
["ait", "application/vnd.dvb.ait"],
|
|
692
|
-
["ami", "application/vnd.amiga.ami"],
|
|
693
|
-
["amr", "audio/amr"],
|
|
694
|
-
["apk", "application/vnd.android.package-archive"],
|
|
695
|
-
["apng", "image/apng"],
|
|
696
|
-
["appcache", "text/cache-manifest"],
|
|
697
|
-
["application", "application/x-ms-application"],
|
|
698
|
-
["apr", "application/vnd.lotus-approach"],
|
|
699
|
-
["arc", "application/x-freearc"],
|
|
700
|
-
["arj", "application/x-arj"],
|
|
701
|
-
["asc", "application/pgp-signature"],
|
|
702
|
-
["asf", "video/x-ms-asf"],
|
|
703
|
-
["asm", "text/x-asm"],
|
|
704
|
-
["aso", "application/vnd.accpac.simply.aso"],
|
|
705
|
-
["asx", "video/x-ms-asf"],
|
|
706
|
-
["atc", "application/vnd.acucorp"],
|
|
707
|
-
["atom", "application/atom+xml"],
|
|
708
|
-
["atomcat", "application/atomcat+xml"],
|
|
709
|
-
["atomdeleted", "application/atomdeleted+xml"],
|
|
710
|
-
["atomsvc", "application/atomsvc+xml"],
|
|
711
|
-
["atx", "application/vnd.antix.game-component"],
|
|
712
|
-
["au", "audio/x-au"],
|
|
713
|
-
["avi", "video/x-msvideo"],
|
|
714
|
-
["avif", "image/avif"],
|
|
715
|
-
["aw", "application/applixware"],
|
|
716
|
-
["azf", "application/vnd.airzip.filesecure.azf"],
|
|
717
|
-
["azs", "application/vnd.airzip.filesecure.azs"],
|
|
718
|
-
["azv", "image/vnd.airzip.accelerator.azv"],
|
|
719
|
-
["azw", "application/vnd.amazon.ebook"],
|
|
720
|
-
["b16", "image/vnd.pco.b16"],
|
|
721
|
-
["bat", "application/x-msdownload"],
|
|
722
|
-
["bcpio", "application/x-bcpio"],
|
|
723
|
-
["bdf", "application/x-font-bdf"],
|
|
724
|
-
["bdm", "application/vnd.syncml.dm+wbxml"],
|
|
725
|
-
["bdoc", "application/x-bdoc"],
|
|
726
|
-
["bed", "application/vnd.realvnc.bed"],
|
|
727
|
-
["bh2", "application/vnd.fujitsu.oasysprs"],
|
|
728
|
-
["bin", "application/octet-stream"],
|
|
729
|
-
["blb", "application/x-blorb"],
|
|
730
|
-
["blorb", "application/x-blorb"],
|
|
731
|
-
["bmi", "application/vnd.bmi"],
|
|
732
|
-
["bmml", "application/vnd.balsamiq.bmml+xml"],
|
|
733
|
-
["bmp", "image/bmp"],
|
|
734
|
-
["book", "application/vnd.framemaker"],
|
|
735
|
-
["box", "application/vnd.previewsystems.box"],
|
|
736
|
-
["boz", "application/x-bzip2"],
|
|
737
|
-
["bpk", "application/octet-stream"],
|
|
738
|
-
["bpmn", "application/octet-stream"],
|
|
739
|
-
["bsp", "model/vnd.valve.source.compiled-map"],
|
|
740
|
-
["btif", "image/prs.btif"],
|
|
741
|
-
["buffer", "application/octet-stream"],
|
|
742
|
-
["bz", "application/x-bzip"],
|
|
743
|
-
["bz2", "application/x-bzip2"],
|
|
744
|
-
["c", "text/x-c"],
|
|
745
|
-
["c4d", "application/vnd.clonk.c4group"],
|
|
746
|
-
["c4f", "application/vnd.clonk.c4group"],
|
|
747
|
-
["c4g", "application/vnd.clonk.c4group"],
|
|
748
|
-
["c4p", "application/vnd.clonk.c4group"],
|
|
749
|
-
["c4u", "application/vnd.clonk.c4group"],
|
|
750
|
-
["c11amc", "application/vnd.cluetrust.cartomobile-config"],
|
|
751
|
-
["c11amz", "application/vnd.cluetrust.cartomobile-config-pkg"],
|
|
752
|
-
["cab", "application/vnd.ms-cab-compressed"],
|
|
753
|
-
["caf", "audio/x-caf"],
|
|
754
|
-
["cap", "application/vnd.tcpdump.pcap"],
|
|
755
|
-
["car", "application/vnd.curl.car"],
|
|
756
|
-
["cat", "application/vnd.ms-pki.seccat"],
|
|
757
|
-
["cb7", "application/x-cbr"],
|
|
758
|
-
["cba", "application/x-cbr"],
|
|
759
|
-
["cbr", "application/x-cbr"],
|
|
760
|
-
["cbt", "application/x-cbr"],
|
|
761
|
-
["cbz", "application/x-cbr"],
|
|
762
|
-
["cc", "text/x-c"],
|
|
763
|
-
["cco", "application/x-cocoa"],
|
|
764
|
-
["cct", "application/x-director"],
|
|
765
|
-
["ccxml", "application/ccxml+xml"],
|
|
766
|
-
["cdbcmsg", "application/vnd.contact.cmsg"],
|
|
767
|
-
["cda", "application/x-cdf"],
|
|
768
|
-
["cdf", "application/x-netcdf"],
|
|
769
|
-
["cdfx", "application/cdfx+xml"],
|
|
770
|
-
["cdkey", "application/vnd.mediastation.cdkey"],
|
|
771
|
-
["cdmia", "application/cdmi-capability"],
|
|
772
|
-
["cdmic", "application/cdmi-container"],
|
|
773
|
-
["cdmid", "application/cdmi-domain"],
|
|
774
|
-
["cdmio", "application/cdmi-object"],
|
|
775
|
-
["cdmiq", "application/cdmi-queue"],
|
|
776
|
-
["cdr", "application/cdr"],
|
|
777
|
-
["cdx", "chemical/x-cdx"],
|
|
778
|
-
["cdxml", "application/vnd.chemdraw+xml"],
|
|
779
|
-
["cdy", "application/vnd.cinderella"],
|
|
780
|
-
["cer", "application/pkix-cert"],
|
|
781
|
-
["cfs", "application/x-cfs-compressed"],
|
|
782
|
-
["cgm", "image/cgm"],
|
|
783
|
-
["chat", "application/x-chat"],
|
|
784
|
-
["chm", "application/vnd.ms-htmlhelp"],
|
|
785
|
-
["chrt", "application/vnd.kde.kchart"],
|
|
786
|
-
["cif", "chemical/x-cif"],
|
|
787
|
-
["cii", "application/vnd.anser-web-certificate-issue-initiation"],
|
|
788
|
-
["cil", "application/vnd.ms-artgalry"],
|
|
789
|
-
["cjs", "application/node"],
|
|
790
|
-
["cla", "application/vnd.claymore"],
|
|
791
|
-
["class", "application/octet-stream"],
|
|
792
|
-
["clkk", "application/vnd.crick.clicker.keyboard"],
|
|
793
|
-
["clkp", "application/vnd.crick.clicker.palette"],
|
|
794
|
-
["clkt", "application/vnd.crick.clicker.template"],
|
|
795
|
-
["clkw", "application/vnd.crick.clicker.wordbank"],
|
|
796
|
-
["clkx", "application/vnd.crick.clicker"],
|
|
797
|
-
["clp", "application/x-msclip"],
|
|
798
|
-
["cmc", "application/vnd.cosmocaller"],
|
|
799
|
-
["cmdf", "chemical/x-cmdf"],
|
|
800
|
-
["cml", "chemical/x-cml"],
|
|
801
|
-
["cmp", "application/vnd.yellowriver-custom-menu"],
|
|
802
|
-
["cmx", "image/x-cmx"],
|
|
803
|
-
["cod", "application/vnd.rim.cod"],
|
|
804
|
-
["coffee", "text/coffeescript"],
|
|
805
|
-
["com", "application/x-msdownload"],
|
|
806
|
-
["conf", "text/plain"],
|
|
807
|
-
["cpio", "application/x-cpio"],
|
|
808
|
-
["cpp", "text/x-c"],
|
|
809
|
-
["cpt", "application/mac-compactpro"],
|
|
810
|
-
["crd", "application/x-mscardfile"],
|
|
811
|
-
["crl", "application/pkix-crl"],
|
|
812
|
-
["crt", "application/x-x509-ca-cert"],
|
|
813
|
-
["crx", "application/x-chrome-extension"],
|
|
814
|
-
["cryptonote", "application/vnd.rig.cryptonote"],
|
|
815
|
-
["csh", "application/x-csh"],
|
|
816
|
-
["csl", "application/vnd.citationstyles.style+xml"],
|
|
817
|
-
["csml", "chemical/x-csml"],
|
|
818
|
-
["csp", "application/vnd.commonspace"],
|
|
819
|
-
["csr", "application/octet-stream"],
|
|
820
|
-
["css", "text/css"],
|
|
821
|
-
["cst", "application/x-director"],
|
|
822
|
-
["csv", "text/csv"],
|
|
823
|
-
["cu", "application/cu-seeme"],
|
|
824
|
-
["curl", "text/vnd.curl"],
|
|
825
|
-
["cww", "application/prs.cww"],
|
|
826
|
-
["cxt", "application/x-director"],
|
|
827
|
-
["cxx", "text/x-c"],
|
|
828
|
-
["dae", "model/vnd.collada+xml"],
|
|
829
|
-
["daf", "application/vnd.mobius.daf"],
|
|
830
|
-
["dart", "application/vnd.dart"],
|
|
831
|
-
["dataless", "application/vnd.fdsn.seed"],
|
|
832
|
-
["davmount", "application/davmount+xml"],
|
|
833
|
-
["dbf", "application/vnd.dbf"],
|
|
834
|
-
["dbk", "application/docbook+xml"],
|
|
835
|
-
["dcr", "application/x-director"],
|
|
836
|
-
["dcurl", "text/vnd.curl.dcurl"],
|
|
837
|
-
["dd2", "application/vnd.oma.dd2+xml"],
|
|
838
|
-
["ddd", "application/vnd.fujixerox.ddd"],
|
|
839
|
-
["ddf", "application/vnd.syncml.dmddf+xml"],
|
|
840
|
-
["dds", "image/vnd.ms-dds"],
|
|
841
|
-
["deb", "application/x-debian-package"],
|
|
842
|
-
["def", "text/plain"],
|
|
843
|
-
["deploy", "application/octet-stream"],
|
|
844
|
-
["der", "application/x-x509-ca-cert"],
|
|
845
|
-
["dfac", "application/vnd.dreamfactory"],
|
|
846
|
-
["dgc", "application/x-dgc-compressed"],
|
|
847
|
-
["dic", "text/x-c"],
|
|
848
|
-
["dir", "application/x-director"],
|
|
849
|
-
["dis", "application/vnd.mobius.dis"],
|
|
850
|
-
["disposition-notification", "message/disposition-notification"],
|
|
851
|
-
["dist", "application/octet-stream"],
|
|
852
|
-
["distz", "application/octet-stream"],
|
|
853
|
-
["djv", "image/vnd.djvu"],
|
|
854
|
-
["djvu", "image/vnd.djvu"],
|
|
855
|
-
["dll", "application/octet-stream"],
|
|
856
|
-
["dmg", "application/x-apple-diskimage"],
|
|
857
|
-
["dmn", "application/octet-stream"],
|
|
858
|
-
["dmp", "application/vnd.tcpdump.pcap"],
|
|
859
|
-
["dms", "application/octet-stream"],
|
|
860
|
-
["dna", "application/vnd.dna"],
|
|
861
|
-
["doc", "application/msword"],
|
|
862
|
-
["docm", "application/vnd.ms-word.template.macroEnabled.12"],
|
|
863
|
-
["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
|
|
864
|
-
["dot", "application/msword"],
|
|
865
|
-
["dotm", "application/vnd.ms-word.template.macroEnabled.12"],
|
|
866
|
-
["dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
|
|
867
|
-
["dp", "application/vnd.osgi.dp"],
|
|
868
|
-
["dpg", "application/vnd.dpgraph"],
|
|
869
|
-
["dra", "audio/vnd.dra"],
|
|
870
|
-
["drle", "image/dicom-rle"],
|
|
871
|
-
["dsc", "text/prs.lines.tag"],
|
|
872
|
-
["dssc", "application/dssc+der"],
|
|
873
|
-
["dtb", "application/x-dtbook+xml"],
|
|
874
|
-
["dtd", "application/xml-dtd"],
|
|
875
|
-
["dts", "audio/vnd.dts"],
|
|
876
|
-
["dtshd", "audio/vnd.dts.hd"],
|
|
877
|
-
["dump", "application/octet-stream"],
|
|
878
|
-
["dvb", "video/vnd.dvb.file"],
|
|
879
|
-
["dvi", "application/x-dvi"],
|
|
880
|
-
["dwd", "application/atsc-dwd+xml"],
|
|
881
|
-
["dwf", "model/vnd.dwf"],
|
|
882
|
-
["dwg", "image/vnd.dwg"],
|
|
883
|
-
["dxf", "image/vnd.dxf"],
|
|
884
|
-
["dxp", "application/vnd.spotfire.dxp"],
|
|
885
|
-
["dxr", "application/x-director"],
|
|
886
|
-
["ear", "application/java-archive"],
|
|
887
|
-
["ecelp4800", "audio/vnd.nuera.ecelp4800"],
|
|
888
|
-
["ecelp7470", "audio/vnd.nuera.ecelp7470"],
|
|
889
|
-
["ecelp9600", "audio/vnd.nuera.ecelp9600"],
|
|
890
|
-
["ecma", "application/ecmascript"],
|
|
891
|
-
["edm", "application/vnd.novadigm.edm"],
|
|
892
|
-
["edx", "application/vnd.novadigm.edx"],
|
|
893
|
-
["efif", "application/vnd.picsel"],
|
|
894
|
-
["ei6", "application/vnd.pg.osasli"],
|
|
895
|
-
["elc", "application/octet-stream"],
|
|
896
|
-
["emf", "image/emf"],
|
|
897
|
-
["eml", "message/rfc822"],
|
|
898
|
-
["emma", "application/emma+xml"],
|
|
899
|
-
["emotionml", "application/emotionml+xml"],
|
|
900
|
-
["emz", "application/x-msmetafile"],
|
|
901
|
-
["eol", "audio/vnd.digital-winds"],
|
|
902
|
-
["eot", "application/vnd.ms-fontobject"],
|
|
903
|
-
["eps", "application/postscript"],
|
|
904
|
-
["epub", "application/epub+zip"],
|
|
905
|
-
["es", "application/ecmascript"],
|
|
906
|
-
["es3", "application/vnd.eszigno3+xml"],
|
|
907
|
-
["esa", "application/vnd.osgi.subsystem"],
|
|
908
|
-
["esf", "application/vnd.epson.esf"],
|
|
909
|
-
["et3", "application/vnd.eszigno3+xml"],
|
|
910
|
-
["etx", "text/x-setext"],
|
|
911
|
-
["eva", "application/x-eva"],
|
|
912
|
-
["evy", "application/x-envoy"],
|
|
913
|
-
["exe", "application/octet-stream"],
|
|
914
|
-
["exi", "application/exi"],
|
|
915
|
-
["exp", "application/express"],
|
|
916
|
-
["exr", "image/aces"],
|
|
917
|
-
["ext", "application/vnd.novadigm.ext"],
|
|
918
|
-
["ez", "application/andrew-inset"],
|
|
919
|
-
["ez2", "application/vnd.ezpix-album"],
|
|
920
|
-
["ez3", "application/vnd.ezpix-package"],
|
|
921
|
-
["f", "text/x-fortran"],
|
|
922
|
-
["f4v", "video/mp4"],
|
|
923
|
-
["f77", "text/x-fortran"],
|
|
924
|
-
["f90", "text/x-fortran"],
|
|
925
|
-
["fbs", "image/vnd.fastbidsheet"],
|
|
926
|
-
["fcdt", "application/vnd.adobe.formscentral.fcdt"],
|
|
927
|
-
["fcs", "application/vnd.isac.fcs"],
|
|
928
|
-
["fdf", "application/vnd.fdf"],
|
|
929
|
-
["fdt", "application/fdt+xml"],
|
|
930
|
-
["fe_launch", "application/vnd.denovo.fcselayout-link"],
|
|
931
|
-
["fg5", "application/vnd.fujitsu.oasysgp"],
|
|
932
|
-
["fgd", "application/x-director"],
|
|
933
|
-
["fh", "image/x-freehand"],
|
|
934
|
-
["fh4", "image/x-freehand"],
|
|
935
|
-
["fh5", "image/x-freehand"],
|
|
936
|
-
["fh7", "image/x-freehand"],
|
|
937
|
-
["fhc", "image/x-freehand"],
|
|
938
|
-
["fig", "application/x-xfig"],
|
|
939
|
-
["fits", "image/fits"],
|
|
940
|
-
["flac", "audio/x-flac"],
|
|
941
|
-
["fli", "video/x-fli"],
|
|
942
|
-
["flo", "application/vnd.micrografx.flo"],
|
|
943
|
-
["flv", "video/x-flv"],
|
|
944
|
-
["flw", "application/vnd.kde.kivio"],
|
|
945
|
-
["flx", "text/vnd.fmi.flexstor"],
|
|
946
|
-
["fly", "text/vnd.fly"],
|
|
947
|
-
["fm", "application/vnd.framemaker"],
|
|
948
|
-
["fnc", "application/vnd.frogans.fnc"],
|
|
949
|
-
["fo", "application/vnd.software602.filler.form+xml"],
|
|
950
|
-
["for", "text/x-fortran"],
|
|
951
|
-
["fpx", "image/vnd.fpx"],
|
|
952
|
-
["frame", "application/vnd.framemaker"],
|
|
953
|
-
["fsc", "application/vnd.fsc.weblaunch"],
|
|
954
|
-
["fst", "image/vnd.fst"],
|
|
955
|
-
["ftc", "application/vnd.fluxtime.clip"],
|
|
956
|
-
["fti", "application/vnd.anser-web-funds-transfer-initiation"],
|
|
957
|
-
["fvt", "video/vnd.fvt"],
|
|
958
|
-
["fxp", "application/vnd.adobe.fxp"],
|
|
959
|
-
["fxpl", "application/vnd.adobe.fxp"],
|
|
960
|
-
["fzs", "application/vnd.fuzzysheet"],
|
|
961
|
-
["g2w", "application/vnd.geoplan"],
|
|
962
|
-
["g3", "image/g3fax"],
|
|
963
|
-
["g3w", "application/vnd.geospace"],
|
|
964
|
-
["gac", "application/vnd.groove-account"],
|
|
965
|
-
["gam", "application/x-tads"],
|
|
966
|
-
["gbr", "application/rpki-ghostbusters"],
|
|
967
|
-
["gca", "application/x-gca-compressed"],
|
|
968
|
-
["gdl", "model/vnd.gdl"],
|
|
969
|
-
["gdoc", "application/vnd.google-apps.document"],
|
|
970
|
-
["geo", "application/vnd.dynageo"],
|
|
971
|
-
["geojson", "application/geo+json"],
|
|
972
|
-
["gex", "application/vnd.geometry-explorer"],
|
|
973
|
-
["ggb", "application/vnd.geogebra.file"],
|
|
974
|
-
["ggt", "application/vnd.geogebra.tool"],
|
|
975
|
-
["ghf", "application/vnd.groove-help"],
|
|
976
|
-
["gif", "image/gif"],
|
|
977
|
-
["gim", "application/vnd.groove-identity-message"],
|
|
978
|
-
["glb", "model/gltf-binary"],
|
|
979
|
-
["gltf", "model/gltf+json"],
|
|
980
|
-
["gml", "application/gml+xml"],
|
|
981
|
-
["gmx", "application/vnd.gmx"],
|
|
982
|
-
["gnumeric", "application/x-gnumeric"],
|
|
983
|
-
["gpg", "application/gpg-keys"],
|
|
984
|
-
["gph", "application/vnd.flographit"],
|
|
985
|
-
["gpx", "application/gpx+xml"],
|
|
986
|
-
["gqf", "application/vnd.grafeq"],
|
|
987
|
-
["gqs", "application/vnd.grafeq"],
|
|
988
|
-
["gram", "application/srgs"],
|
|
989
|
-
["gramps", "application/x-gramps-xml"],
|
|
990
|
-
["gre", "application/vnd.geometry-explorer"],
|
|
991
|
-
["grv", "application/vnd.groove-injector"],
|
|
992
|
-
["grxml", "application/srgs+xml"],
|
|
993
|
-
["gsf", "application/x-font-ghostscript"],
|
|
994
|
-
["gsheet", "application/vnd.google-apps.spreadsheet"],
|
|
995
|
-
["gslides", "application/vnd.google-apps.presentation"],
|
|
996
|
-
["gtar", "application/x-gtar"],
|
|
997
|
-
["gtm", "application/vnd.groove-tool-message"],
|
|
998
|
-
["gtw", "model/vnd.gtw"],
|
|
999
|
-
["gv", "text/vnd.graphviz"],
|
|
1000
|
-
["gxf", "application/gxf"],
|
|
1001
|
-
["gxt", "application/vnd.geonext"],
|
|
1002
|
-
["gz", "application/gzip"],
|
|
1003
|
-
["gzip", "application/gzip"],
|
|
1004
|
-
["h", "text/x-c"],
|
|
1005
|
-
["h261", "video/h261"],
|
|
1006
|
-
["h263", "video/h263"],
|
|
1007
|
-
["h264", "video/h264"],
|
|
1008
|
-
["hal", "application/vnd.hal+xml"],
|
|
1009
|
-
["hbci", "application/vnd.hbci"],
|
|
1010
|
-
["hbs", "text/x-handlebars-template"],
|
|
1011
|
-
["hdd", "application/x-virtualbox-hdd"],
|
|
1012
|
-
["hdf", "application/x-hdf"],
|
|
1013
|
-
["heic", "image/heic"],
|
|
1014
|
-
["heics", "image/heic-sequence"],
|
|
1015
|
-
["heif", "image/heif"],
|
|
1016
|
-
["heifs", "image/heif-sequence"],
|
|
1017
|
-
["hej2", "image/hej2k"],
|
|
1018
|
-
["held", "application/atsc-held+xml"],
|
|
1019
|
-
["hh", "text/x-c"],
|
|
1020
|
-
["hjson", "application/hjson"],
|
|
1021
|
-
["hlp", "application/winhlp"],
|
|
1022
|
-
["hpgl", "application/vnd.hp-hpgl"],
|
|
1023
|
-
["hpid", "application/vnd.hp-hpid"],
|
|
1024
|
-
["hps", "application/vnd.hp-hps"],
|
|
1025
|
-
["hqx", "application/mac-binhex40"],
|
|
1026
|
-
["hsj2", "image/hsj2"],
|
|
1027
|
-
["htc", "text/x-component"],
|
|
1028
|
-
["htke", "application/vnd.kenameaapp"],
|
|
1029
|
-
["htm", "text/html"],
|
|
1030
|
-
["html", "text/html"],
|
|
1031
|
-
["hvd", "application/vnd.yamaha.hv-dic"],
|
|
1032
|
-
["hvp", "application/vnd.yamaha.hv-voice"],
|
|
1033
|
-
["hvs", "application/vnd.yamaha.hv-script"],
|
|
1034
|
-
["i2g", "application/vnd.intergeo"],
|
|
1035
|
-
["icc", "application/vnd.iccprofile"],
|
|
1036
|
-
["ice", "x-conference/x-cooltalk"],
|
|
1037
|
-
["icm", "application/vnd.iccprofile"],
|
|
1038
|
-
["ico", "image/x-icon"],
|
|
1039
|
-
["ics", "text/calendar"],
|
|
1040
|
-
["ief", "image/ief"],
|
|
1041
|
-
["ifb", "text/calendar"],
|
|
1042
|
-
["ifm", "application/vnd.shana.informed.formdata"],
|
|
1043
|
-
["iges", "model/iges"],
|
|
1044
|
-
["igl", "application/vnd.igloader"],
|
|
1045
|
-
["igm", "application/vnd.insors.igm"],
|
|
1046
|
-
["igs", "model/iges"],
|
|
1047
|
-
["igx", "application/vnd.micrografx.igx"],
|
|
1048
|
-
["iif", "application/vnd.shana.informed.interchange"],
|
|
1049
|
-
["img", "application/octet-stream"],
|
|
1050
|
-
["imp", "application/vnd.accpac.simply.imp"],
|
|
1051
|
-
["ims", "application/vnd.ms-ims"],
|
|
1052
|
-
["in", "text/plain"],
|
|
1053
|
-
["ini", "text/plain"],
|
|
1054
|
-
["ink", "application/inkml+xml"],
|
|
1055
|
-
["inkml", "application/inkml+xml"],
|
|
1056
|
-
["install", "application/x-install-instructions"],
|
|
1057
|
-
["iota", "application/vnd.astraea-software.iota"],
|
|
1058
|
-
["ipfix", "application/ipfix"],
|
|
1059
|
-
["ipk", "application/vnd.shana.informed.package"],
|
|
1060
|
-
["irm", "application/vnd.ibm.rights-management"],
|
|
1061
|
-
["irp", "application/vnd.irepository.package+xml"],
|
|
1062
|
-
["iso", "application/x-iso9660-image"],
|
|
1063
|
-
["itp", "application/vnd.shana.informed.formtemplate"],
|
|
1064
|
-
["its", "application/its+xml"],
|
|
1065
|
-
["ivp", "application/vnd.immervision-ivp"],
|
|
1066
|
-
["ivu", "application/vnd.immervision-ivu"],
|
|
1067
|
-
["jad", "text/vnd.sun.j2me.app-descriptor"],
|
|
1068
|
-
["jade", "text/jade"],
|
|
1069
|
-
["jam", "application/vnd.jam"],
|
|
1070
|
-
["jar", "application/java-archive"],
|
|
1071
|
-
["jardiff", "application/x-java-archive-diff"],
|
|
1072
|
-
["java", "text/x-java-source"],
|
|
1073
|
-
["jhc", "image/jphc"],
|
|
1074
|
-
["jisp", "application/vnd.jisp"],
|
|
1075
|
-
["jls", "image/jls"],
|
|
1076
|
-
["jlt", "application/vnd.hp-jlyt"],
|
|
1077
|
-
["jng", "image/x-jng"],
|
|
1078
|
-
["jnlp", "application/x-java-jnlp-file"],
|
|
1079
|
-
["joda", "application/vnd.joost.joda-archive"],
|
|
1080
|
-
["jp2", "image/jp2"],
|
|
1081
|
-
["jpe", "image/jpeg"],
|
|
1082
|
-
["jpeg", "image/jpeg"],
|
|
1083
|
-
["jpf", "image/jpx"],
|
|
1084
|
-
["jpg", "image/jpeg"],
|
|
1085
|
-
["jpg2", "image/jp2"],
|
|
1086
|
-
["jpgm", "video/jpm"],
|
|
1087
|
-
["jpgv", "video/jpeg"],
|
|
1088
|
-
["jph", "image/jph"],
|
|
1089
|
-
["jpm", "video/jpm"],
|
|
1090
|
-
["jpx", "image/jpx"],
|
|
1091
|
-
["js", "application/javascript"],
|
|
1092
|
-
["json", "application/json"],
|
|
1093
|
-
["json5", "application/json5"],
|
|
1094
|
-
["jsonld", "application/ld+json"],
|
|
1095
|
-
["jsonl", "application/jsonl"],
|
|
1096
|
-
["jsonml", "application/jsonml+json"],
|
|
1097
|
-
["jsx", "text/jsx"],
|
|
1098
|
-
["jxr", "image/jxr"],
|
|
1099
|
-
["jxra", "image/jxra"],
|
|
1100
|
-
["jxrs", "image/jxrs"],
|
|
1101
|
-
["jxs", "image/jxs"],
|
|
1102
|
-
["jxsc", "image/jxsc"],
|
|
1103
|
-
["jxsi", "image/jxsi"],
|
|
1104
|
-
["jxss", "image/jxss"],
|
|
1105
|
-
["kar", "audio/midi"],
|
|
1106
|
-
["karbon", "application/vnd.kde.karbon"],
|
|
1107
|
-
["kdb", "application/octet-stream"],
|
|
1108
|
-
["kdbx", "application/x-keepass2"],
|
|
1109
|
-
["key", "application/x-iwork-keynote-sffkey"],
|
|
1110
|
-
["kfo", "application/vnd.kde.kformula"],
|
|
1111
|
-
["kia", "application/vnd.kidspiration"],
|
|
1112
|
-
["kml", "application/vnd.google-earth.kml+xml"],
|
|
1113
|
-
["kmz", "application/vnd.google-earth.kmz"],
|
|
1114
|
-
["kne", "application/vnd.kinar"],
|
|
1115
|
-
["knp", "application/vnd.kinar"],
|
|
1116
|
-
["kon", "application/vnd.kde.kontour"],
|
|
1117
|
-
["kpr", "application/vnd.kde.kpresenter"],
|
|
1118
|
-
["kpt", "application/vnd.kde.kpresenter"],
|
|
1119
|
-
["kpxx", "application/vnd.ds-keypoint"],
|
|
1120
|
-
["ksp", "application/vnd.kde.kspread"],
|
|
1121
|
-
["ktr", "application/vnd.kahootz"],
|
|
1122
|
-
["ktx", "image/ktx"],
|
|
1123
|
-
["ktx2", "image/ktx2"],
|
|
1124
|
-
["ktz", "application/vnd.kahootz"],
|
|
1125
|
-
["kwd", "application/vnd.kde.kword"],
|
|
1126
|
-
["kwt", "application/vnd.kde.kword"],
|
|
1127
|
-
["lasxml", "application/vnd.las.las+xml"],
|
|
1128
|
-
["latex", "application/x-latex"],
|
|
1129
|
-
["lbd", "application/vnd.llamagraphics.life-balance.desktop"],
|
|
1130
|
-
["lbe", "application/vnd.llamagraphics.life-balance.exchange+xml"],
|
|
1131
|
-
["les", "application/vnd.hhe.lesson-player"],
|
|
1132
|
-
["less", "text/less"],
|
|
1133
|
-
["lgr", "application/lgr+xml"],
|
|
1134
|
-
["lha", "application/octet-stream"],
|
|
1135
|
-
["link66", "application/vnd.route66.link66+xml"],
|
|
1136
|
-
["list", "text/plain"],
|
|
1137
|
-
["list3820", "application/vnd.ibm.modcap"],
|
|
1138
|
-
["listafp", "application/vnd.ibm.modcap"],
|
|
1139
|
-
["litcoffee", "text/coffeescript"],
|
|
1140
|
-
["lnk", "application/x-ms-shortcut"],
|
|
1141
|
-
["log", "text/plain"],
|
|
1142
|
-
["lostxml", "application/lost+xml"],
|
|
1143
|
-
["lrf", "application/octet-stream"],
|
|
1144
|
-
["lrm", "application/vnd.ms-lrm"],
|
|
1145
|
-
["ltf", "application/vnd.frogans.ltf"],
|
|
1146
|
-
["lua", "text/x-lua"],
|
|
1147
|
-
["luac", "application/x-lua-bytecode"],
|
|
1148
|
-
["lvp", "audio/vnd.lucent.voice"],
|
|
1149
|
-
["lwp", "application/vnd.lotus-wordpro"],
|
|
1150
|
-
["lzh", "application/octet-stream"],
|
|
1151
|
-
["m1v", "video/mpeg"],
|
|
1152
|
-
["m2a", "audio/mpeg"],
|
|
1153
|
-
["m2v", "video/mpeg"],
|
|
1154
|
-
["m3a", "audio/mpeg"],
|
|
1155
|
-
["m3u", "text/plain"],
|
|
1156
|
-
["m3u8", "application/vnd.apple.mpegurl"],
|
|
1157
|
-
["m4a", "audio/x-m4a"],
|
|
1158
|
-
["m4p", "application/mp4"],
|
|
1159
|
-
["m4s", "video/iso.segment"],
|
|
1160
|
-
["m4u", "application/vnd.mpegurl"],
|
|
1161
|
-
["m4v", "video/x-m4v"],
|
|
1162
|
-
["m13", "application/x-msmediaview"],
|
|
1163
|
-
["m14", "application/x-msmediaview"],
|
|
1164
|
-
["m21", "application/mp21"],
|
|
1165
|
-
["ma", "application/mathematica"],
|
|
1166
|
-
["mads", "application/mads+xml"],
|
|
1167
|
-
["maei", "application/mmt-aei+xml"],
|
|
1168
|
-
["mag", "application/vnd.ecowin.chart"],
|
|
1169
|
-
["maker", "application/vnd.framemaker"],
|
|
1170
|
-
["man", "text/troff"],
|
|
1171
|
-
["manifest", "text/cache-manifest"],
|
|
1172
|
-
["map", "application/json"],
|
|
1173
|
-
["mar", "application/octet-stream"],
|
|
1174
|
-
["markdown", "text/markdown"],
|
|
1175
|
-
["mathml", "application/mathml+xml"],
|
|
1176
|
-
["mb", "application/mathematica"],
|
|
1177
|
-
["mbk", "application/vnd.mobius.mbk"],
|
|
1178
|
-
["mbox", "application/mbox"],
|
|
1179
|
-
["mc1", "application/vnd.medcalcdata"],
|
|
1180
|
-
["mcd", "application/vnd.mcd"],
|
|
1181
|
-
["mcurl", "text/vnd.curl.mcurl"],
|
|
1182
|
-
["md", "text/markdown"],
|
|
1183
|
-
["mdb", "application/x-msaccess"],
|
|
1184
|
-
["mdi", "image/vnd.ms-modi"],
|
|
1185
|
-
["mdx", "text/mdx"],
|
|
1186
|
-
["me", "text/troff"],
|
|
1187
|
-
["mesh", "model/mesh"],
|
|
1188
|
-
["meta4", "application/metalink4+xml"],
|
|
1189
|
-
["metalink", "application/metalink+xml"],
|
|
1190
|
-
["mets", "application/mets+xml"],
|
|
1191
|
-
["mfm", "application/vnd.mfmp"],
|
|
1192
|
-
["mft", "application/rpki-manifest"],
|
|
1193
|
-
["mgp", "application/vnd.osgeo.mapguide.package"],
|
|
1194
|
-
["mgz", "application/vnd.proteus.magazine"],
|
|
1195
|
-
["mid", "audio/midi"],
|
|
1196
|
-
["midi", "audio/midi"],
|
|
1197
|
-
["mie", "application/x-mie"],
|
|
1198
|
-
["mif", "application/vnd.mif"],
|
|
1199
|
-
["mime", "message/rfc822"],
|
|
1200
|
-
["mj2", "video/mj2"],
|
|
1201
|
-
["mjp2", "video/mj2"],
|
|
1202
|
-
["mjs", "application/javascript"],
|
|
1203
|
-
["mk3d", "video/x-matroska"],
|
|
1204
|
-
["mka", "audio/x-matroska"],
|
|
1205
|
-
["mkd", "text/x-markdown"],
|
|
1206
|
-
["mks", "video/x-matroska"],
|
|
1207
|
-
["mkv", "video/x-matroska"],
|
|
1208
|
-
["mlp", "application/vnd.dolby.mlp"],
|
|
1209
|
-
["mmd", "application/vnd.chipnuts.karaoke-mmd"],
|
|
1210
|
-
["mmf", "application/vnd.smaf"],
|
|
1211
|
-
["mml", "text/mathml"],
|
|
1212
|
-
["mmr", "image/vnd.fujixerox.edmics-mmr"],
|
|
1213
|
-
["mng", "video/x-mng"],
|
|
1214
|
-
["mny", "application/x-msmoney"],
|
|
1215
|
-
["mobi", "application/x-mobipocket-ebook"],
|
|
1216
|
-
["mods", "application/mods+xml"],
|
|
1217
|
-
["mov", "video/quicktime"],
|
|
1218
|
-
["movie", "video/x-sgi-movie"],
|
|
1219
|
-
["mp2", "audio/mpeg"],
|
|
1220
|
-
["mp2a", "audio/mpeg"],
|
|
1221
|
-
["mp3", "audio/mpeg"],
|
|
1222
|
-
["mp4", "video/mp4"],
|
|
1223
|
-
["mp4a", "audio/mp4"],
|
|
1224
|
-
["mp4s", "application/mp4"],
|
|
1225
|
-
["mp4v", "video/mp4"],
|
|
1226
|
-
["mp21", "application/mp21"],
|
|
1227
|
-
["mpc", "application/vnd.mophun.certificate"],
|
|
1228
|
-
["mpd", "application/dash+xml"],
|
|
1229
|
-
["mpe", "video/mpeg"],
|
|
1230
|
-
["mpeg", "video/mpeg"],
|
|
1231
|
-
["mpg", "video/mpeg"],
|
|
1232
|
-
["mpg4", "video/mp4"],
|
|
1233
|
-
["mpga", "audio/mpeg"],
|
|
1234
|
-
["mpkg", "application/vnd.apple.installer+xml"],
|
|
1235
|
-
["mpm", "application/vnd.blueice.multipass"],
|
|
1236
|
-
["mpn", "application/vnd.mophun.application"],
|
|
1237
|
-
["mpp", "application/vnd.ms-project"],
|
|
1238
|
-
["mpt", "application/vnd.ms-project"],
|
|
1239
|
-
["mpy", "application/vnd.ibm.minipay"],
|
|
1240
|
-
["mqy", "application/vnd.mobius.mqy"],
|
|
1241
|
-
["mrc", "application/marc"],
|
|
1242
|
-
["mrcx", "application/marcxml+xml"],
|
|
1243
|
-
["ms", "text/troff"],
|
|
1244
|
-
["mscml", "application/mediaservercontrol+xml"],
|
|
1245
|
-
["mseed", "application/vnd.fdsn.mseed"],
|
|
1246
|
-
["mseq", "application/vnd.mseq"],
|
|
1247
|
-
["msf", "application/vnd.epson.msf"],
|
|
1248
|
-
["msg", "application/vnd.ms-outlook"],
|
|
1249
|
-
["msh", "model/mesh"],
|
|
1250
|
-
["msi", "application/x-msdownload"],
|
|
1251
|
-
["msl", "application/vnd.mobius.msl"],
|
|
1252
|
-
["msm", "application/octet-stream"],
|
|
1253
|
-
["msp", "application/octet-stream"],
|
|
1254
|
-
["msty", "application/vnd.muvee.style"],
|
|
1255
|
-
["mtl", "model/mtl"],
|
|
1256
|
-
["mts", "model/vnd.mts"],
|
|
1257
|
-
["mus", "application/vnd.musician"],
|
|
1258
|
-
["musd", "application/mmt-usd+xml"],
|
|
1259
|
-
["musicxml", "application/vnd.recordare.musicxml+xml"],
|
|
1260
|
-
["mvb", "application/x-msmediaview"],
|
|
1261
|
-
["mvt", "application/vnd.mapbox-vector-tile"],
|
|
1262
|
-
["mwf", "application/vnd.mfer"],
|
|
1263
|
-
["mxf", "application/mxf"],
|
|
1264
|
-
["mxl", "application/vnd.recordare.musicxml"],
|
|
1265
|
-
["mxmf", "audio/mobile-xmf"],
|
|
1266
|
-
["mxml", "application/xv+xml"],
|
|
1267
|
-
["mxs", "application/vnd.triscape.mxs"],
|
|
1268
|
-
["mxu", "video/vnd.mpegurl"],
|
|
1269
|
-
["n-gage", "application/vnd.nokia.n-gage.symbian.install"],
|
|
1270
|
-
["n3", "text/n3"],
|
|
1271
|
-
["nb", "application/mathematica"],
|
|
1272
|
-
["nbp", "application/vnd.wolfram.player"],
|
|
1273
|
-
["nc", "application/x-netcdf"],
|
|
1274
|
-
["ncx", "application/x-dtbncx+xml"],
|
|
1275
|
-
["nfo", "text/x-nfo"],
|
|
1276
|
-
["ngdat", "application/vnd.nokia.n-gage.data"],
|
|
1277
|
-
["nitf", "application/vnd.nitf"],
|
|
1278
|
-
["nlu", "application/vnd.neurolanguage.nlu"],
|
|
1279
|
-
["nml", "application/vnd.enliven"],
|
|
1280
|
-
["nnd", "application/vnd.noblenet-directory"],
|
|
1281
|
-
["nns", "application/vnd.noblenet-sealer"],
|
|
1282
|
-
["nnw", "application/vnd.noblenet-web"],
|
|
1283
|
-
["npx", "image/vnd.net-fpx"],
|
|
1284
|
-
["nq", "application/n-quads"],
|
|
1285
|
-
["nsc", "application/x-conference"],
|
|
1286
|
-
["nsf", "application/vnd.lotus-notes"],
|
|
1287
|
-
["nt", "application/n-triples"],
|
|
1288
|
-
["ntf", "application/vnd.nitf"],
|
|
1289
|
-
["numbers", "application/x-iwork-numbers-sffnumbers"],
|
|
1290
|
-
["nzb", "application/x-nzb"],
|
|
1291
|
-
["oa2", "application/vnd.fujitsu.oasys2"],
|
|
1292
|
-
["oa3", "application/vnd.fujitsu.oasys3"],
|
|
1293
|
-
["oas", "application/vnd.fujitsu.oasys"],
|
|
1294
|
-
["obd", "application/x-msbinder"],
|
|
1295
|
-
["obgx", "application/vnd.openblox.game+xml"],
|
|
1296
|
-
["obj", "model/obj"],
|
|
1297
|
-
["oda", "application/oda"],
|
|
1298
|
-
["odb", "application/vnd.oasis.opendocument.database"],
|
|
1299
|
-
["odc", "application/vnd.oasis.opendocument.chart"],
|
|
1300
|
-
["odf", "application/vnd.oasis.opendocument.formula"],
|
|
1301
|
-
["odft", "application/vnd.oasis.opendocument.formula-template"],
|
|
1302
|
-
["odg", "application/vnd.oasis.opendocument.graphics"],
|
|
1303
|
-
["odi", "application/vnd.oasis.opendocument.image"],
|
|
1304
|
-
["odm", "application/vnd.oasis.opendocument.text-master"],
|
|
1305
|
-
["odp", "application/vnd.oasis.opendocument.presentation"],
|
|
1306
|
-
["ods", "application/vnd.oasis.opendocument.spreadsheet"],
|
|
1307
|
-
["odt", "application/vnd.oasis.opendocument.text"],
|
|
1308
|
-
["oga", "audio/ogg"],
|
|
1309
|
-
["ogex", "model/vnd.opengex"],
|
|
1310
|
-
["ogg", "audio/ogg"],
|
|
1311
|
-
["ogv", "video/ogg"],
|
|
1312
|
-
["ogx", "application/ogg"],
|
|
1313
|
-
["omdoc", "application/omdoc+xml"],
|
|
1314
|
-
["onepkg", "application/onenote"],
|
|
1315
|
-
["onetmp", "application/onenote"],
|
|
1316
|
-
["onetoc", "application/onenote"],
|
|
1317
|
-
["onetoc2", "application/onenote"],
|
|
1318
|
-
["opf", "application/oebps-package+xml"],
|
|
1319
|
-
["opml", "text/x-opml"],
|
|
1320
|
-
["oprc", "application/vnd.palm"],
|
|
1321
|
-
["opus", "audio/ogg"],
|
|
1322
|
-
["org", "text/x-org"],
|
|
1323
|
-
["osf", "application/vnd.yamaha.openscoreformat"],
|
|
1324
|
-
["osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml"],
|
|
1325
|
-
["osm", "application/vnd.openstreetmap.data+xml"],
|
|
1326
|
-
["otc", "application/vnd.oasis.opendocument.chart-template"],
|
|
1327
|
-
["otf", "font/otf"],
|
|
1328
|
-
["otg", "application/vnd.oasis.opendocument.graphics-template"],
|
|
1329
|
-
["oth", "application/vnd.oasis.opendocument.text-web"],
|
|
1330
|
-
["oti", "application/vnd.oasis.opendocument.image-template"],
|
|
1331
|
-
["otp", "application/vnd.oasis.opendocument.presentation-template"],
|
|
1332
|
-
["ots", "application/vnd.oasis.opendocument.spreadsheet-template"],
|
|
1333
|
-
["ott", "application/vnd.oasis.opendocument.text-template"],
|
|
1334
|
-
["ova", "application/x-virtualbox-ova"],
|
|
1335
|
-
["ovf", "application/x-virtualbox-ovf"],
|
|
1336
|
-
["owl", "application/rdf+xml"],
|
|
1337
|
-
["oxps", "application/oxps"],
|
|
1338
|
-
["oxt", "application/vnd.openofficeorg.extension"],
|
|
1339
|
-
["p", "text/x-pascal"],
|
|
1340
|
-
["p7a", "application/x-pkcs7-signature"],
|
|
1341
|
-
["p7b", "application/x-pkcs7-certificates"],
|
|
1342
|
-
["p7c", "application/pkcs7-mime"],
|
|
1343
|
-
["p7m", "application/pkcs7-mime"],
|
|
1344
|
-
["p7r", "application/x-pkcs7-certreqresp"],
|
|
1345
|
-
["p7s", "application/pkcs7-signature"],
|
|
1346
|
-
["p8", "application/pkcs8"],
|
|
1347
|
-
["p10", "application/x-pkcs10"],
|
|
1348
|
-
["p12", "application/x-pkcs12"],
|
|
1349
|
-
["pac", "application/x-ns-proxy-autoconfig"],
|
|
1350
|
-
["pages", "application/x-iwork-pages-sffpages"],
|
|
1351
|
-
["pas", "text/x-pascal"],
|
|
1352
|
-
["paw", "application/vnd.pawaafile"],
|
|
1353
|
-
["pbd", "application/vnd.powerbuilder6"],
|
|
1354
|
-
["pbm", "image/x-portable-bitmap"],
|
|
1355
|
-
["pcap", "application/vnd.tcpdump.pcap"],
|
|
1356
|
-
["pcf", "application/x-font-pcf"],
|
|
1357
|
-
["pcl", "application/vnd.hp-pcl"],
|
|
1358
|
-
["pclxl", "application/vnd.hp-pclxl"],
|
|
1359
|
-
["pct", "image/x-pict"],
|
|
1360
|
-
["pcurl", "application/vnd.curl.pcurl"],
|
|
1361
|
-
["pcx", "image/x-pcx"],
|
|
1362
|
-
["pdb", "application/x-pilot"],
|
|
1363
|
-
["pde", "text/x-processing"],
|
|
1364
|
-
["pdf", "application/pdf"],
|
|
1365
|
-
["pem", "application/x-x509-user-cert"],
|
|
1366
|
-
["pfa", "application/x-font-type1"],
|
|
1367
|
-
["pfb", "application/x-font-type1"],
|
|
1368
|
-
["pfm", "application/x-font-type1"],
|
|
1369
|
-
["pfr", "application/font-tdpfr"],
|
|
1370
|
-
["pfx", "application/x-pkcs12"],
|
|
1371
|
-
["pgm", "image/x-portable-graymap"],
|
|
1372
|
-
["pgn", "application/x-chess-pgn"],
|
|
1373
|
-
["pgp", "application/pgp"],
|
|
1374
|
-
["php", "application/x-httpd-php"],
|
|
1375
|
-
["php3", "application/x-httpd-php"],
|
|
1376
|
-
["php4", "application/x-httpd-php"],
|
|
1377
|
-
["phps", "application/x-httpd-php-source"],
|
|
1378
|
-
["phtml", "application/x-httpd-php"],
|
|
1379
|
-
["pic", "image/x-pict"],
|
|
1380
|
-
["pkg", "application/octet-stream"],
|
|
1381
|
-
["pki", "application/pkixcmp"],
|
|
1382
|
-
["pkipath", "application/pkix-pkipath"],
|
|
1383
|
-
["pkpass", "application/vnd.apple.pkpass"],
|
|
1384
|
-
["pl", "application/x-perl"],
|
|
1385
|
-
["plb", "application/vnd.3gpp.pic-bw-large"],
|
|
1386
|
-
["plc", "application/vnd.mobius.plc"],
|
|
1387
|
-
["plf", "application/vnd.pocketlearn"],
|
|
1388
|
-
["pls", "application/pls+xml"],
|
|
1389
|
-
["pm", "application/x-perl"],
|
|
1390
|
-
["pml", "application/vnd.ctc-posml"],
|
|
1391
|
-
["png", "image/png"],
|
|
1392
|
-
["pnm", "image/x-portable-anymap"],
|
|
1393
|
-
["portpkg", "application/vnd.macports.portpkg"],
|
|
1394
|
-
["pot", "application/vnd.ms-powerpoint"],
|
|
1395
|
-
["potm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
|
|
1396
|
-
["potx", "application/vnd.openxmlformats-officedocument.presentationml.template"],
|
|
1397
|
-
["ppa", "application/vnd.ms-powerpoint"],
|
|
1398
|
-
["ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"],
|
|
1399
|
-
["ppd", "application/vnd.cups-ppd"],
|
|
1400
|
-
["ppm", "image/x-portable-pixmap"],
|
|
1401
|
-
["pps", "application/vnd.ms-powerpoint"],
|
|
1402
|
-
["ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
|
|
1403
|
-
["ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
|
|
1404
|
-
["ppt", "application/powerpoint"],
|
|
1405
|
-
["pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
|
|
1406
|
-
["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
|
|
1407
|
-
["pqa", "application/vnd.palm"],
|
|
1408
|
-
["prc", "application/x-pilot"],
|
|
1409
|
-
["pre", "application/vnd.lotus-freelance"],
|
|
1410
|
-
["prf", "application/pics-rules"],
|
|
1411
|
-
["provx", "application/provenance+xml"],
|
|
1412
|
-
["ps", "application/postscript"],
|
|
1413
|
-
["psb", "application/vnd.3gpp.pic-bw-small"],
|
|
1414
|
-
["psd", "application/x-photoshop"],
|
|
1415
|
-
["psf", "application/x-font-linux-psf"],
|
|
1416
|
-
["pskcxml", "application/pskc+xml"],
|
|
1417
|
-
["pti", "image/prs.pti"],
|
|
1418
|
-
["ptid", "application/vnd.pvi.ptid1"],
|
|
1419
|
-
["pub", "application/x-mspublisher"],
|
|
1420
|
-
["pvb", "application/vnd.3gpp.pic-bw-var"],
|
|
1421
|
-
["pwn", "application/vnd.3m.post-it-notes"],
|
|
1422
|
-
["pya", "audio/vnd.ms-playready.media.pya"],
|
|
1423
|
-
["pyv", "video/vnd.ms-playready.media.pyv"],
|
|
1424
|
-
["qam", "application/vnd.epson.quickanime"],
|
|
1425
|
-
["qbo", "application/vnd.intu.qbo"],
|
|
1426
|
-
["qfx", "application/vnd.intu.qfx"],
|
|
1427
|
-
["qps", "application/vnd.publishare-delta-tree"],
|
|
1428
|
-
["qt", "video/quicktime"],
|
|
1429
|
-
["qwd", "application/vnd.quark.quarkxpress"],
|
|
1430
|
-
["qwt", "application/vnd.quark.quarkxpress"],
|
|
1431
|
-
["qxb", "application/vnd.quark.quarkxpress"],
|
|
1432
|
-
["qxd", "application/vnd.quark.quarkxpress"],
|
|
1433
|
-
["qxl", "application/vnd.quark.quarkxpress"],
|
|
1434
|
-
["qxt", "application/vnd.quark.quarkxpress"],
|
|
1435
|
-
["ra", "audio/x-realaudio"],
|
|
1436
|
-
["ram", "audio/x-pn-realaudio"],
|
|
1437
|
-
["raml", "application/raml+yaml"],
|
|
1438
|
-
["rapd", "application/route-apd+xml"],
|
|
1439
|
-
["rar", "application/x-rar"],
|
|
1440
|
-
["ras", "image/x-cmu-raster"],
|
|
1441
|
-
["rcprofile", "application/vnd.ipunplugged.rcprofile"],
|
|
1442
|
-
["rdf", "application/rdf+xml"],
|
|
1443
|
-
["rdz", "application/vnd.data-vision.rdz"],
|
|
1444
|
-
["relo", "application/p2p-overlay+xml"],
|
|
1445
|
-
["rep", "application/vnd.businessobjects"],
|
|
1446
|
-
["res", "application/x-dtbresource+xml"],
|
|
1447
|
-
["rgb", "image/x-rgb"],
|
|
1448
|
-
["rif", "application/reginfo+xml"],
|
|
1449
|
-
["rip", "audio/vnd.rip"],
|
|
1450
|
-
["ris", "application/x-research-info-systems"],
|
|
1451
|
-
["rl", "application/resource-lists+xml"],
|
|
1452
|
-
["rlc", "image/vnd.fujixerox.edmics-rlc"],
|
|
1453
|
-
["rld", "application/resource-lists-diff+xml"],
|
|
1454
|
-
["rm", "audio/x-pn-realaudio"],
|
|
1455
|
-
["rmi", "audio/midi"],
|
|
1456
|
-
["rmp", "audio/x-pn-realaudio-plugin"],
|
|
1457
|
-
["rms", "application/vnd.jcp.javame.midlet-rms"],
|
|
1458
|
-
["rmvb", "application/vnd.rn-realmedia-vbr"],
|
|
1459
|
-
["rnc", "application/relax-ng-compact-syntax"],
|
|
1460
|
-
["rng", "application/xml"],
|
|
1461
|
-
["roa", "application/rpki-roa"],
|
|
1462
|
-
["roff", "text/troff"],
|
|
1463
|
-
["rp9", "application/vnd.cloanto.rp9"],
|
|
1464
|
-
["rpm", "audio/x-pn-realaudio-plugin"],
|
|
1465
|
-
["rpss", "application/vnd.nokia.radio-presets"],
|
|
1466
|
-
["rpst", "application/vnd.nokia.radio-preset"],
|
|
1467
|
-
["rq", "application/sparql-query"],
|
|
1468
|
-
["rs", "application/rls-services+xml"],
|
|
1469
|
-
["rsa", "application/x-pkcs7"],
|
|
1470
|
-
["rsat", "application/atsc-rsat+xml"],
|
|
1471
|
-
["rsd", "application/rsd+xml"],
|
|
1472
|
-
["rsheet", "application/urc-ressheet+xml"],
|
|
1473
|
-
["rss", "application/rss+xml"],
|
|
1474
|
-
["rtf", "text/rtf"],
|
|
1475
|
-
["rtx", "text/richtext"],
|
|
1476
|
-
["run", "application/x-makeself"],
|
|
1477
|
-
["rusd", "application/route-usd+xml"],
|
|
1478
|
-
["rv", "video/vnd.rn-realvideo"],
|
|
1479
|
-
["s", "text/x-asm"],
|
|
1480
|
-
["s3m", "audio/s3m"],
|
|
1481
|
-
["saf", "application/vnd.yamaha.smaf-audio"],
|
|
1482
|
-
["sass", "text/x-sass"],
|
|
1483
|
-
["sbml", "application/sbml+xml"],
|
|
1484
|
-
["sc", "application/vnd.ibm.secure-container"],
|
|
1485
|
-
["scd", "application/x-msschedule"],
|
|
1486
|
-
["scm", "application/vnd.lotus-screencam"],
|
|
1487
|
-
["scq", "application/scvp-cv-request"],
|
|
1488
|
-
["scs", "application/scvp-cv-response"],
|
|
1489
|
-
["scss", "text/x-scss"],
|
|
1490
|
-
["scurl", "text/vnd.curl.scurl"],
|
|
1491
|
-
["sda", "application/vnd.stardivision.draw"],
|
|
1492
|
-
["sdc", "application/vnd.stardivision.calc"],
|
|
1493
|
-
["sdd", "application/vnd.stardivision.impress"],
|
|
1494
|
-
["sdkd", "application/vnd.solent.sdkm+xml"],
|
|
1495
|
-
["sdkm", "application/vnd.solent.sdkm+xml"],
|
|
1496
|
-
["sdp", "application/sdp"],
|
|
1497
|
-
["sdw", "application/vnd.stardivision.writer"],
|
|
1498
|
-
["sea", "application/octet-stream"],
|
|
1499
|
-
["see", "application/vnd.seemail"],
|
|
1500
|
-
["seed", "application/vnd.fdsn.seed"],
|
|
1501
|
-
["sema", "application/vnd.sema"],
|
|
1502
|
-
["semd", "application/vnd.semd"],
|
|
1503
|
-
["semf", "application/vnd.semf"],
|
|
1504
|
-
["senmlx", "application/senml+xml"],
|
|
1505
|
-
["sensmlx", "application/sensml+xml"],
|
|
1506
|
-
["ser", "application/java-serialized-object"],
|
|
1507
|
-
["setpay", "application/set-payment-initiation"],
|
|
1508
|
-
["setreg", "application/set-registration-initiation"],
|
|
1509
|
-
["sfd-hdstx", "application/vnd.hydrostatix.sof-data"],
|
|
1510
|
-
["sfs", "application/vnd.spotfire.sfs"],
|
|
1511
|
-
["sfv", "text/x-sfv"],
|
|
1512
|
-
["sgi", "image/sgi"],
|
|
1513
|
-
["sgl", "application/vnd.stardivision.writer-global"],
|
|
1514
|
-
["sgm", "text/sgml"],
|
|
1515
|
-
["sgml", "text/sgml"],
|
|
1516
|
-
["sh", "application/x-sh"],
|
|
1517
|
-
["shar", "application/x-shar"],
|
|
1518
|
-
["shex", "text/shex"],
|
|
1519
|
-
["shf", "application/shf+xml"],
|
|
1520
|
-
["shtml", "text/html"],
|
|
1521
|
-
["sid", "image/x-mrsid-image"],
|
|
1522
|
-
["sieve", "application/sieve"],
|
|
1523
|
-
["sig", "application/pgp-signature"],
|
|
1524
|
-
["sil", "audio/silk"],
|
|
1525
|
-
["silo", "model/mesh"],
|
|
1526
|
-
["sis", "application/vnd.symbian.install"],
|
|
1527
|
-
["sisx", "application/vnd.symbian.install"],
|
|
1528
|
-
["sit", "application/x-stuffit"],
|
|
1529
|
-
["sitx", "application/x-stuffitx"],
|
|
1530
|
-
["siv", "application/sieve"],
|
|
1531
|
-
["skd", "application/vnd.koan"],
|
|
1532
|
-
["skm", "application/vnd.koan"],
|
|
1533
|
-
["skp", "application/vnd.koan"],
|
|
1534
|
-
["skt", "application/vnd.koan"],
|
|
1535
|
-
["sldm", "application/vnd.ms-powerpoint.slide.macroenabled.12"],
|
|
1536
|
-
["sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"],
|
|
1537
|
-
["slim", "text/slim"],
|
|
1538
|
-
["slm", "text/slim"],
|
|
1539
|
-
["sls", "application/route-s-tsid+xml"],
|
|
1540
|
-
["slt", "application/vnd.epson.salt"],
|
|
1541
|
-
["sm", "application/vnd.stepmania.stepchart"],
|
|
1542
|
-
["smf", "application/vnd.stardivision.math"],
|
|
1543
|
-
["smi", "application/smil"],
|
|
1544
|
-
["smil", "application/smil"],
|
|
1545
|
-
["smv", "video/x-smv"],
|
|
1546
|
-
["smzip", "application/vnd.stepmania.package"],
|
|
1547
|
-
["snd", "audio/basic"],
|
|
1548
|
-
["snf", "application/x-font-snf"],
|
|
1549
|
-
["so", "application/octet-stream"],
|
|
1550
|
-
["spc", "application/x-pkcs7-certificates"],
|
|
1551
|
-
["spdx", "text/spdx"],
|
|
1552
|
-
["spf", "application/vnd.yamaha.smaf-phrase"],
|
|
1553
|
-
["spl", "application/x-futuresplash"],
|
|
1554
|
-
["spot", "text/vnd.in3d.spot"],
|
|
1555
|
-
["spp", "application/scvp-vp-response"],
|
|
1556
|
-
["spq", "application/scvp-vp-request"],
|
|
1557
|
-
["spx", "audio/ogg"],
|
|
1558
|
-
["sql", "application/x-sql"],
|
|
1559
|
-
["src", "application/x-wais-source"],
|
|
1560
|
-
["srt", "application/x-subrip"],
|
|
1561
|
-
["sru", "application/sru+xml"],
|
|
1562
|
-
["srx", "application/sparql-results+xml"],
|
|
1563
|
-
["ssdl", "application/ssdl+xml"],
|
|
1564
|
-
["sse", "application/vnd.kodak-descriptor"],
|
|
1565
|
-
["ssf", "application/vnd.epson.ssf"],
|
|
1566
|
-
["ssml", "application/ssml+xml"],
|
|
1567
|
-
["sst", "application/octet-stream"],
|
|
1568
|
-
["st", "application/vnd.sailingtracker.track"],
|
|
1569
|
-
["stc", "application/vnd.sun.xml.calc.template"],
|
|
1570
|
-
["std", "application/vnd.sun.xml.draw.template"],
|
|
1571
|
-
["stf", "application/vnd.wt.stf"],
|
|
1572
|
-
["sti", "application/vnd.sun.xml.impress.template"],
|
|
1573
|
-
["stk", "application/hyperstudio"],
|
|
1574
|
-
["stl", "model/stl"],
|
|
1575
|
-
["stpx", "model/step+xml"],
|
|
1576
|
-
["stpxz", "model/step-xml+zip"],
|
|
1577
|
-
["stpz", "model/step+zip"],
|
|
1578
|
-
["str", "application/vnd.pg.format"],
|
|
1579
|
-
["stw", "application/vnd.sun.xml.writer.template"],
|
|
1580
|
-
["styl", "text/stylus"],
|
|
1581
|
-
["stylus", "text/stylus"],
|
|
1582
|
-
["sub", "text/vnd.dvb.subtitle"],
|
|
1583
|
-
["sus", "application/vnd.sus-calendar"],
|
|
1584
|
-
["susp", "application/vnd.sus-calendar"],
|
|
1585
|
-
["sv4cpio", "application/x-sv4cpio"],
|
|
1586
|
-
["sv4crc", "application/x-sv4crc"],
|
|
1587
|
-
["svc", "application/vnd.dvb.service"],
|
|
1588
|
-
["svd", "application/vnd.svd"],
|
|
1589
|
-
["svg", "image/svg+xml"],
|
|
1590
|
-
["svgz", "image/svg+xml"],
|
|
1591
|
-
["swa", "application/x-director"],
|
|
1592
|
-
["swf", "application/x-shockwave-flash"],
|
|
1593
|
-
["swi", "application/vnd.aristanetworks.swi"],
|
|
1594
|
-
["swidtag", "application/swid+xml"],
|
|
1595
|
-
["sxc", "application/vnd.sun.xml.calc"],
|
|
1596
|
-
["sxd", "application/vnd.sun.xml.draw"],
|
|
1597
|
-
["sxg", "application/vnd.sun.xml.writer.global"],
|
|
1598
|
-
["sxi", "application/vnd.sun.xml.impress"],
|
|
1599
|
-
["sxm", "application/vnd.sun.xml.math"],
|
|
1600
|
-
["sxw", "application/vnd.sun.xml.writer"],
|
|
1601
|
-
["t", "text/troff"],
|
|
1602
|
-
["t3", "application/x-t3vm-image"],
|
|
1603
|
-
["t38", "image/t38"],
|
|
1604
|
-
["taglet", "application/vnd.mynfc"],
|
|
1605
|
-
["tao", "application/vnd.tao.intent-module-archive"],
|
|
1606
|
-
["tap", "image/vnd.tencent.tap"],
|
|
1607
|
-
["tar", "application/x-tar"],
|
|
1608
|
-
["tcap", "application/vnd.3gpp2.tcap"],
|
|
1609
|
-
["tcl", "application/x-tcl"],
|
|
1610
|
-
["td", "application/urc-targetdesc+xml"],
|
|
1611
|
-
["teacher", "application/vnd.smart.teacher"],
|
|
1612
|
-
["tei", "application/tei+xml"],
|
|
1613
|
-
["teicorpus", "application/tei+xml"],
|
|
1614
|
-
["tex", "application/x-tex"],
|
|
1615
|
-
["texi", "application/x-texinfo"],
|
|
1616
|
-
["texinfo", "application/x-texinfo"],
|
|
1617
|
-
["text", "text/plain"],
|
|
1618
|
-
["tfi", "application/thraud+xml"],
|
|
1619
|
-
["tfm", "application/x-tex-tfm"],
|
|
1620
|
-
["tfx", "image/tiff-fx"],
|
|
1621
|
-
["tga", "image/x-tga"],
|
|
1622
|
-
["tgz", "application/x-tar"],
|
|
1623
|
-
["thmx", "application/vnd.ms-officetheme"],
|
|
1624
|
-
["tif", "image/tiff"],
|
|
1625
|
-
["tiff", "image/tiff"],
|
|
1626
|
-
["tk", "application/x-tcl"],
|
|
1627
|
-
["tmo", "application/vnd.tmobile-livetv"],
|
|
1628
|
-
["toml", "application/toml"],
|
|
1629
|
-
["torrent", "application/x-bittorrent"],
|
|
1630
|
-
["tpl", "application/vnd.groove-tool-template"],
|
|
1631
|
-
["tpt", "application/vnd.trid.tpt"],
|
|
1632
|
-
["tr", "text/troff"],
|
|
1633
|
-
["tra", "application/vnd.trueapp"],
|
|
1634
|
-
["trig", "application/trig"],
|
|
1635
|
-
["trm", "application/x-msterminal"],
|
|
1636
|
-
["ts", "video/mp2t"],
|
|
1637
|
-
["tsd", "application/timestamped-data"],
|
|
1638
|
-
["tsv", "text/tab-separated-values"],
|
|
1639
|
-
["ttc", "font/collection"],
|
|
1640
|
-
["ttf", "font/ttf"],
|
|
1641
|
-
["ttl", "text/turtle"],
|
|
1642
|
-
["ttml", "application/ttml+xml"],
|
|
1643
|
-
["twd", "application/vnd.simtech-mindmapper"],
|
|
1644
|
-
["twds", "application/vnd.simtech-mindmapper"],
|
|
1645
|
-
["txd", "application/vnd.genomatix.tuxedo"],
|
|
1646
|
-
["txf", "application/vnd.mobius.txf"],
|
|
1647
|
-
["txt", "text/plain"],
|
|
1648
|
-
["u8dsn", "message/global-delivery-status"],
|
|
1649
|
-
["u8hdr", "message/global-headers"],
|
|
1650
|
-
["u8mdn", "message/global-disposition-notification"],
|
|
1651
|
-
["u8msg", "message/global"],
|
|
1652
|
-
["u32", "application/x-authorware-bin"],
|
|
1653
|
-
["ubj", "application/ubjson"],
|
|
1654
|
-
["udeb", "application/x-debian-package"],
|
|
1655
|
-
["ufd", "application/vnd.ufdl"],
|
|
1656
|
-
["ufdl", "application/vnd.ufdl"],
|
|
1657
|
-
["ulx", "application/x-glulx"],
|
|
1658
|
-
["umj", "application/vnd.umajin"],
|
|
1659
|
-
["unityweb", "application/vnd.unity"],
|
|
1660
|
-
["uoml", "application/vnd.uoml+xml"],
|
|
1661
|
-
["uri", "text/uri-list"],
|
|
1662
|
-
["uris", "text/uri-list"],
|
|
1663
|
-
["urls", "text/uri-list"],
|
|
1664
|
-
["usdz", "model/vnd.usdz+zip"],
|
|
1665
|
-
["ustar", "application/x-ustar"],
|
|
1666
|
-
["utz", "application/vnd.uiq.theme"],
|
|
1667
|
-
["uu", "text/x-uuencode"],
|
|
1668
|
-
["uva", "audio/vnd.dece.audio"],
|
|
1669
|
-
["uvd", "application/vnd.dece.data"],
|
|
1670
|
-
["uvf", "application/vnd.dece.data"],
|
|
1671
|
-
["uvg", "image/vnd.dece.graphic"],
|
|
1672
|
-
["uvh", "video/vnd.dece.hd"],
|
|
1673
|
-
["uvi", "image/vnd.dece.graphic"],
|
|
1674
|
-
["uvm", "video/vnd.dece.mobile"],
|
|
1675
|
-
["uvp", "video/vnd.dece.pd"],
|
|
1676
|
-
["uvs", "video/vnd.dece.sd"],
|
|
1677
|
-
["uvt", "application/vnd.dece.ttml+xml"],
|
|
1678
|
-
["uvu", "video/vnd.uvvu.mp4"],
|
|
1679
|
-
["uvv", "video/vnd.dece.video"],
|
|
1680
|
-
["uvva", "audio/vnd.dece.audio"],
|
|
1681
|
-
["uvvd", "application/vnd.dece.data"],
|
|
1682
|
-
["uvvf", "application/vnd.dece.data"],
|
|
1683
|
-
["uvvg", "image/vnd.dece.graphic"],
|
|
1684
|
-
["uvvh", "video/vnd.dece.hd"],
|
|
1685
|
-
["uvvi", "image/vnd.dece.graphic"],
|
|
1686
|
-
["uvvm", "video/vnd.dece.mobile"],
|
|
1687
|
-
["uvvp", "video/vnd.dece.pd"],
|
|
1688
|
-
["uvvs", "video/vnd.dece.sd"],
|
|
1689
|
-
["uvvt", "application/vnd.dece.ttml+xml"],
|
|
1690
|
-
["uvvu", "video/vnd.uvvu.mp4"],
|
|
1691
|
-
["uvvv", "video/vnd.dece.video"],
|
|
1692
|
-
["uvvx", "application/vnd.dece.unspecified"],
|
|
1693
|
-
["uvvz", "application/vnd.dece.zip"],
|
|
1694
|
-
["uvx", "application/vnd.dece.unspecified"],
|
|
1695
|
-
["uvz", "application/vnd.dece.zip"],
|
|
1696
|
-
["vbox", "application/x-virtualbox-vbox"],
|
|
1697
|
-
["vbox-extpack", "application/x-virtualbox-vbox-extpack"],
|
|
1698
|
-
["vcard", "text/vcard"],
|
|
1699
|
-
["vcd", "application/x-cdlink"],
|
|
1700
|
-
["vcf", "text/x-vcard"],
|
|
1701
|
-
["vcg", "application/vnd.groove-vcard"],
|
|
1702
|
-
["vcs", "text/x-vcalendar"],
|
|
1703
|
-
["vcx", "application/vnd.vcx"],
|
|
1704
|
-
["vdi", "application/x-virtualbox-vdi"],
|
|
1705
|
-
["vds", "model/vnd.sap.vds"],
|
|
1706
|
-
["vhd", "application/x-virtualbox-vhd"],
|
|
1707
|
-
["vis", "application/vnd.visionary"],
|
|
1708
|
-
["viv", "video/vnd.vivo"],
|
|
1709
|
-
["vlc", "application/videolan"],
|
|
1710
|
-
["vmdk", "application/x-virtualbox-vmdk"],
|
|
1711
|
-
["vob", "video/x-ms-vob"],
|
|
1712
|
-
["vor", "application/vnd.stardivision.writer"],
|
|
1713
|
-
["vox", "application/x-authorware-bin"],
|
|
1714
|
-
["vrml", "model/vrml"],
|
|
1715
|
-
["vsd", "application/vnd.visio"],
|
|
1716
|
-
["vsf", "application/vnd.vsf"],
|
|
1717
|
-
["vss", "application/vnd.visio"],
|
|
1718
|
-
["vst", "application/vnd.visio"],
|
|
1719
|
-
["vsw", "application/vnd.visio"],
|
|
1720
|
-
["vtf", "image/vnd.valve.source.texture"],
|
|
1721
|
-
["vtt", "text/vtt"],
|
|
1722
|
-
["vtu", "model/vnd.vtu"],
|
|
1723
|
-
["vxml", "application/voicexml+xml"],
|
|
1724
|
-
["w3d", "application/x-director"],
|
|
1725
|
-
["wad", "application/x-doom"],
|
|
1726
|
-
["wadl", "application/vnd.sun.wadl+xml"],
|
|
1727
|
-
["war", "application/java-archive"],
|
|
1728
|
-
["wasm", "application/wasm"],
|
|
1729
|
-
["wav", "audio/x-wav"],
|
|
1730
|
-
["wax", "audio/x-ms-wax"],
|
|
1731
|
-
["wbmp", "image/vnd.wap.wbmp"],
|
|
1732
|
-
["wbs", "application/vnd.criticaltools.wbs+xml"],
|
|
1733
|
-
["wbxml", "application/wbxml"],
|
|
1734
|
-
["wcm", "application/vnd.ms-works"],
|
|
1735
|
-
["wdb", "application/vnd.ms-works"],
|
|
1736
|
-
["wdp", "image/vnd.ms-photo"],
|
|
1737
|
-
["weba", "audio/webm"],
|
|
1738
|
-
["webapp", "application/x-web-app-manifest+json"],
|
|
1739
|
-
["webm", "video/webm"],
|
|
1740
|
-
["webmanifest", "application/manifest+json"],
|
|
1741
|
-
["webp", "image/webp"],
|
|
1742
|
-
["wg", "application/vnd.pmi.widget"],
|
|
1743
|
-
["wgt", "application/widget"],
|
|
1744
|
-
["wks", "application/vnd.ms-works"],
|
|
1745
|
-
["wm", "video/x-ms-wm"],
|
|
1746
|
-
["wma", "audio/x-ms-wma"],
|
|
1747
|
-
["wmd", "application/x-ms-wmd"],
|
|
1748
|
-
["wmf", "image/wmf"],
|
|
1749
|
-
["wml", "text/vnd.wap.wml"],
|
|
1750
|
-
["wmlc", "application/wmlc"],
|
|
1751
|
-
["wmls", "text/vnd.wap.wmlscript"],
|
|
1752
|
-
["wmlsc", "application/vnd.wap.wmlscriptc"],
|
|
1753
|
-
["wmv", "video/x-ms-wmv"],
|
|
1754
|
-
["wmx", "video/x-ms-wmx"],
|
|
1755
|
-
["wmz", "application/x-msmetafile"],
|
|
1756
|
-
["woff", "font/woff"],
|
|
1757
|
-
["woff2", "font/woff2"],
|
|
1758
|
-
["word", "application/msword"],
|
|
1759
|
-
["wpd", "application/vnd.wordperfect"],
|
|
1760
|
-
["wpl", "application/vnd.ms-wpl"],
|
|
1761
|
-
["wps", "application/vnd.ms-works"],
|
|
1762
|
-
["wqd", "application/vnd.wqd"],
|
|
1763
|
-
["wri", "application/x-mswrite"],
|
|
1764
|
-
["wrl", "model/vrml"],
|
|
1765
|
-
["wsc", "message/vnd.wfa.wsc"],
|
|
1766
|
-
["wsdl", "application/wsdl+xml"],
|
|
1767
|
-
["wspolicy", "application/wspolicy+xml"],
|
|
1768
|
-
["wtb", "application/vnd.webturbo"],
|
|
1769
|
-
["wvx", "video/x-ms-wvx"],
|
|
1770
|
-
["x3d", "model/x3d+xml"],
|
|
1771
|
-
["x3db", "model/x3d+fastinfoset"],
|
|
1772
|
-
["x3dbz", "model/x3d+binary"],
|
|
1773
|
-
["x3dv", "model/x3d-vrml"],
|
|
1774
|
-
["x3dvz", "model/x3d+vrml"],
|
|
1775
|
-
["x3dz", "model/x3d+xml"],
|
|
1776
|
-
["x32", "application/x-authorware-bin"],
|
|
1777
|
-
["x_b", "model/vnd.parasolid.transmit.binary"],
|
|
1778
|
-
["x_t", "model/vnd.parasolid.transmit.text"],
|
|
1779
|
-
["xaml", "application/xaml+xml"],
|
|
1780
|
-
["xap", "application/x-silverlight-app"],
|
|
1781
|
-
["xar", "application/vnd.xara"],
|
|
1782
|
-
["xav", "application/xcap-att+xml"],
|
|
1783
|
-
["xbap", "application/x-ms-xbap"],
|
|
1784
|
-
["xbd", "application/vnd.fujixerox.docuworks.binder"],
|
|
1785
|
-
["xbm", "image/x-xbitmap"],
|
|
1786
|
-
["xca", "application/xcap-caps+xml"],
|
|
1787
|
-
["xcs", "application/calendar+xml"],
|
|
1788
|
-
["xdf", "application/xcap-diff+xml"],
|
|
1789
|
-
["xdm", "application/vnd.syncml.dm+xml"],
|
|
1790
|
-
["xdp", "application/vnd.adobe.xdp+xml"],
|
|
1791
|
-
["xdssc", "application/dssc+xml"],
|
|
1792
|
-
["xdw", "application/vnd.fujixerox.docuworks"],
|
|
1793
|
-
["xel", "application/xcap-el+xml"],
|
|
1794
|
-
["xenc", "application/xenc+xml"],
|
|
1795
|
-
["xer", "application/patch-ops-error+xml"],
|
|
1796
|
-
["xfdf", "application/vnd.adobe.xfdf"],
|
|
1797
|
-
["xfdl", "application/vnd.xfdl"],
|
|
1798
|
-
["xht", "application/xhtml+xml"],
|
|
1799
|
-
["xhtml", "application/xhtml+xml"],
|
|
1800
|
-
["xhvml", "application/xv+xml"],
|
|
1801
|
-
["xif", "image/vnd.xiff"],
|
|
1802
|
-
["xl", "application/excel"],
|
|
1803
|
-
["xla", "application/vnd.ms-excel"],
|
|
1804
|
-
["xlam", "application/vnd.ms-excel.addin.macroEnabled.12"],
|
|
1805
|
-
["xlc", "application/vnd.ms-excel"],
|
|
1806
|
-
["xlf", "application/xliff+xml"],
|
|
1807
|
-
["xlm", "application/vnd.ms-excel"],
|
|
1808
|
-
["xls", "application/vnd.ms-excel"],
|
|
1809
|
-
["xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
|
|
1810
|
-
["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
|
|
1811
|
-
["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
|
|
1812
|
-
["xlt", "application/vnd.ms-excel"],
|
|
1813
|
-
["xltm", "application/vnd.ms-excel.template.macroEnabled.12"],
|
|
1814
|
-
["xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
|
|
1815
|
-
["xlw", "application/vnd.ms-excel"],
|
|
1816
|
-
["xm", "audio/xm"],
|
|
1817
|
-
["xml", "application/xml"],
|
|
1818
|
-
["xns", "application/xcap-ns+xml"],
|
|
1819
|
-
["xo", "application/vnd.olpc-sugar"],
|
|
1820
|
-
["xop", "application/xop+xml"],
|
|
1821
|
-
["xpi", "application/x-xpinstall"],
|
|
1822
|
-
["xpl", "application/xproc+xml"],
|
|
1823
|
-
["xpm", "image/x-xpixmap"],
|
|
1824
|
-
["xpr", "application/vnd.is-xpr"],
|
|
1825
|
-
["xps", "application/vnd.ms-xpsdocument"],
|
|
1826
|
-
["xpw", "application/vnd.intercon.formnet"],
|
|
1827
|
-
["xpx", "application/vnd.intercon.formnet"],
|
|
1828
|
-
["xsd", "application/xml"],
|
|
1829
|
-
["xsl", "application/xml"],
|
|
1830
|
-
["xslt", "application/xslt+xml"],
|
|
1831
|
-
["xsm", "application/vnd.syncml+xml"],
|
|
1832
|
-
["xspf", "application/xspf+xml"],
|
|
1833
|
-
["xul", "application/vnd.mozilla.xul+xml"],
|
|
1834
|
-
["xvm", "application/xv+xml"],
|
|
1835
|
-
["xvml", "application/xv+xml"],
|
|
1836
|
-
["xwd", "image/x-xwindowdump"],
|
|
1837
|
-
["xyz", "chemical/x-xyz"],
|
|
1838
|
-
["xz", "application/x-xz"],
|
|
1839
|
-
["yaml", "text/yaml"],
|
|
1840
|
-
["yang", "application/yang"],
|
|
1841
|
-
["yin", "application/yin+xml"],
|
|
1842
|
-
["yml", "text/yaml"],
|
|
1843
|
-
["ymp", "text/x-suse-ymp"],
|
|
1844
|
-
["z", "application/x-compress"],
|
|
1845
|
-
["z1", "application/x-zmachine"],
|
|
1846
|
-
["z2", "application/x-zmachine"],
|
|
1847
|
-
["z3", "application/x-zmachine"],
|
|
1848
|
-
["z4", "application/x-zmachine"],
|
|
1849
|
-
["z5", "application/x-zmachine"],
|
|
1850
|
-
["z6", "application/x-zmachine"],
|
|
1851
|
-
["z7", "application/x-zmachine"],
|
|
1852
|
-
["z8", "application/x-zmachine"],
|
|
1853
|
-
["zaz", "application/vnd.zzazz.deck+xml"],
|
|
1854
|
-
["zip", "application/zip"],
|
|
1855
|
-
["zir", "application/vnd.zul"],
|
|
1856
|
-
["zirz", "application/vnd.zul"],
|
|
1857
|
-
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
1858
|
-
["zsh", "text/x-scriptzsh"]
|
|
1859
|
-
]);
|
|
1860
|
-
function Ce(e, t, n) {
|
|
1861
|
-
let r = we(e), { webkitRelativePath: i } = e, a = typeof t == "string" ? t : typeof i == "string" && i.length > 0 ? i : `./${e.name}`;
|
|
1862
|
-
return typeof r.path != "string" && Te(r, "path", a), n !== void 0 && Object.defineProperty(r, "handle", {
|
|
1863
|
-
value: n,
|
|
1864
|
-
writable: !1,
|
|
1865
|
-
configurable: !1,
|
|
1866
|
-
enumerable: !0
|
|
1867
|
-
}), Te(r, "relativePath", a), r;
|
|
1868
|
-
}
|
|
1869
|
-
function we(e) {
|
|
1870
|
-
let { name: t } = e;
|
|
1871
|
-
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
1872
|
-
let n = t.split(".").pop().toLowerCase(), r = Se.get(n);
|
|
1873
|
-
r && Object.defineProperty(e, "type", {
|
|
1874
|
-
value: r,
|
|
1875
|
-
writable: !1,
|
|
1876
|
-
configurable: !1,
|
|
1877
|
-
enumerable: !0
|
|
1878
|
-
});
|
|
110
|
+
//#region src/components/core/Fullscreen.tsx
|
|
111
|
+
const Fullscreen = (t0) => {
|
|
112
|
+
const $ = c(16);
|
|
113
|
+
if ($[0] !== "2243979894039564df2fd1f70562faf7a7d5878eaeea3b472ad974fd8b0c233e") {
|
|
114
|
+
for (let $i = 0; $i < 16; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
115
|
+
$[0] = "2243979894039564df2fd1f70562faf7a7d5878eaeea3b472ad974fd8b0c233e";
|
|
1879
116
|
}
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
function De(e) {
|
|
1894
|
-
return xe(this, void 0, void 0, function* () {
|
|
1895
|
-
return Ae(e) && Oe(e.dataTransfer) ? Ne(e.dataTransfer, e.type) : ke(e) ? je(e) : Array.isArray(e) && e.every((e) => "getFile" in e && typeof e.getFile == "function") ? Me(e) : [];
|
|
1896
|
-
});
|
|
1897
|
-
}
|
|
1898
|
-
function Oe(e) {
|
|
1899
|
-
return Ae(e);
|
|
1900
|
-
}
|
|
1901
|
-
function ke(e) {
|
|
1902
|
-
return Ae(e) && Ae(e.target);
|
|
1903
|
-
}
|
|
1904
|
-
function Ae(e) {
|
|
1905
|
-
return typeof e == "object" && !!e;
|
|
1906
|
-
}
|
|
1907
|
-
function je(e) {
|
|
1908
|
-
return Fe(e.target.files).map((e) => Ce(e));
|
|
1909
|
-
}
|
|
1910
|
-
function Me(e) {
|
|
1911
|
-
return xe(this, void 0, void 0, function* () {
|
|
1912
|
-
return (yield Promise.all(e.map((e) => e.getFile()))).map((e) => Ce(e));
|
|
1913
|
-
});
|
|
1914
|
-
}
|
|
1915
|
-
function Ne(e, t) {
|
|
1916
|
-
return xe(this, void 0, void 0, function* () {
|
|
1917
|
-
if (e.items) {
|
|
1918
|
-
let n = Fe(e.items).filter((e) => e.kind === "file");
|
|
1919
|
-
return t === "drop" ? Pe(Le(yield Promise.all(n.map(Ie)))) : n;
|
|
1920
|
-
}
|
|
1921
|
-
return Pe(Fe(e.files).map((e) => Ce(e)));
|
|
1922
|
-
});
|
|
1923
|
-
}
|
|
1924
|
-
function Pe(e) {
|
|
1925
|
-
return e.filter((e) => Ee.indexOf(e.name) === -1);
|
|
1926
|
-
}
|
|
1927
|
-
function Fe(e) {
|
|
1928
|
-
if (e === null) return [];
|
|
1929
|
-
let t = [];
|
|
1930
|
-
for (let n = 0; n < e.length; n++) {
|
|
1931
|
-
let r = e[n];
|
|
1932
|
-
t.push(r);
|
|
117
|
+
let children;
|
|
118
|
+
let props;
|
|
119
|
+
let sx;
|
|
120
|
+
if ($[1] !== t0) {
|
|
121
|
+
({children, sx, ...props} = t0);
|
|
122
|
+
$[1] = t0;
|
|
123
|
+
$[2] = children;
|
|
124
|
+
$[3] = props;
|
|
125
|
+
$[4] = sx;
|
|
126
|
+
} else {
|
|
127
|
+
children = $[2];
|
|
128
|
+
props = $[3];
|
|
129
|
+
sx = $[4];
|
|
1933
130
|
}
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
if (
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
131
|
+
const reference = useRef(null);
|
|
132
|
+
const [height, setHeight] = useState();
|
|
133
|
+
let t1;
|
|
134
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
135
|
+
t1 = () => {
|
|
136
|
+
if (!reference.current) return;
|
|
137
|
+
const top = reference.current.getBoundingClientRect().top;
|
|
138
|
+
const viewportHeight = window.visualViewport?.height ?? window.innerHeight;
|
|
139
|
+
setHeight(Math.max(0, Math.floor(viewportHeight - top)));
|
|
140
|
+
};
|
|
141
|
+
$[5] = t1;
|
|
142
|
+
} else t1 = $[5];
|
|
143
|
+
const recompute = useEffectEvent(t1);
|
|
144
|
+
let t2;
|
|
145
|
+
if ($[6] !== recompute) {
|
|
146
|
+
t2 = () => {
|
|
147
|
+
const element = reference.current;
|
|
148
|
+
if (!element) return;
|
|
149
|
+
recompute();
|
|
150
|
+
window.addEventListener("resize", recompute);
|
|
151
|
+
const ro = new ResizeObserver(recompute);
|
|
152
|
+
ro.observe(document.documentElement);
|
|
153
|
+
ro.observe(document.body);
|
|
154
|
+
ro.observe(element);
|
|
155
|
+
return () => {
|
|
156
|
+
window.removeEventListener("resize", recompute);
|
|
157
|
+
ro.disconnect();
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
$[6] = recompute;
|
|
161
|
+
$[7] = t2;
|
|
162
|
+
} else t2 = $[7];
|
|
163
|
+
let t3;
|
|
164
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
165
|
+
t3 = [];
|
|
166
|
+
$[8] = t3;
|
|
167
|
+
} else t3 = $[8];
|
|
168
|
+
useLayoutEffect(t2, t3);
|
|
169
|
+
let t4;
|
|
170
|
+
if ($[9] !== height || $[10] !== sx) {
|
|
171
|
+
t4 = {
|
|
172
|
+
display: "flex",
|
|
173
|
+
flexDirection: "column",
|
|
174
|
+
boxSizing: "border-box",
|
|
175
|
+
minHeight: 0,
|
|
176
|
+
width: "100%",
|
|
177
|
+
overflow: "auto",
|
|
178
|
+
height,
|
|
179
|
+
...sx
|
|
180
|
+
};
|
|
181
|
+
$[9] = height;
|
|
182
|
+
$[10] = sx;
|
|
183
|
+
$[11] = t4;
|
|
184
|
+
} else t4 = $[11];
|
|
185
|
+
let t5;
|
|
186
|
+
if ($[12] !== children || $[13] !== props || $[14] !== t4) {
|
|
187
|
+
t5 = /* @__PURE__ */ jsx(Box, {
|
|
188
|
+
ref: reference,
|
|
189
|
+
sx: t4,
|
|
190
|
+
...props,
|
|
191
|
+
children
|
|
1993
192
|
});
|
|
1994
|
-
|
|
1995
|
-
|
|
193
|
+
$[12] = children;
|
|
194
|
+
$[13] = props;
|
|
195
|
+
$[14] = t4;
|
|
196
|
+
$[15] = t5;
|
|
197
|
+
} else t5 = $[15];
|
|
198
|
+
return t5;
|
|
199
|
+
};
|
|
1996
200
|
//#endregion
|
|
1997
|
-
//#region
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2017
|
-
}
|
|
2018
|
-
function Ke(e) {
|
|
2019
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2020
|
-
}
|
|
2021
|
-
function qe(e) {
|
|
2022
|
-
if (Array.isArray(e)) return et(e);
|
|
2023
|
-
}
|
|
2024
|
-
function Je(e, t) {
|
|
2025
|
-
var n = Object.keys(e);
|
|
2026
|
-
if (Object.getOwnPropertySymbols) {
|
|
2027
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
2028
|
-
t && (r = r.filter(function(t) {
|
|
2029
|
-
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
2030
|
-
})), n.push.apply(n, r);
|
|
201
|
+
//#region src/components/file/Dropzone.tsx
|
|
202
|
+
const baseStyle = {
|
|
203
|
+
flex: 1,
|
|
204
|
+
display: "flex",
|
|
205
|
+
flexDirection: "column",
|
|
206
|
+
alignItems: "center",
|
|
207
|
+
padding: "20px",
|
|
208
|
+
borderWidth: 2,
|
|
209
|
+
borderRadius: 2,
|
|
210
|
+
borderStyle: "dashed",
|
|
211
|
+
outline: "none",
|
|
212
|
+
transition: "border .24s ease-in-out",
|
|
213
|
+
cursor: "pointer"
|
|
214
|
+
};
|
|
215
|
+
const Dropzone = (t0) => {
|
|
216
|
+
const $ = c(28);
|
|
217
|
+
if ($[0] !== "a5cc9eacf700dc99d6fa09d79a30e7ee2585596689730acf08a56fb43f1c5490") {
|
|
218
|
+
for (let $i = 0; $i < 28; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
219
|
+
$[0] = "a5cc9eacf700dc99d6fa09d79a30e7ee2585596689730acf08a56fb43f1c5490";
|
|
2031
220
|
}
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
221
|
+
let props;
|
|
222
|
+
let sx;
|
|
223
|
+
if ($[1] !== t0) {
|
|
224
|
+
({sx, ...props} = t0);
|
|
225
|
+
$[1] = t0;
|
|
226
|
+
$[2] = props;
|
|
227
|
+
$[3] = sx;
|
|
228
|
+
} else {
|
|
229
|
+
props = $[2];
|
|
230
|
+
sx = $[3];
|
|
2042
231
|
}
|
|
2043
|
-
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
232
|
+
const { getRootProps, getInputProps, isFocused, isDragAccept, isDragReject } = useDropzone(props);
|
|
233
|
+
const { t } = useTranslation();
|
|
234
|
+
const theme = useTheme();
|
|
235
|
+
const t1 = theme.vars || theme;
|
|
236
|
+
let T0;
|
|
237
|
+
let t2;
|
|
238
|
+
if ($[4] !== getRootProps || $[5] !== isDragAccept || $[6] !== isDragReject || $[7] !== isFocused || $[8] !== t1.palette.text.disabled || $[9] !== theme) {
|
|
239
|
+
const style = {
|
|
240
|
+
...baseStyle,
|
|
241
|
+
borderColor: t1.palette.text.disabled,
|
|
242
|
+
...isFocused ? { borderColor: (theme.vars || theme).palette.primary.main } : {},
|
|
243
|
+
...isDragAccept ? { borderColor: (theme.vars || theme).palette.success.main } : {},
|
|
244
|
+
...isDragReject ? { borderColor: (theme.vars || theme).palette.error.main } : {}
|
|
245
|
+
};
|
|
246
|
+
T0 = Box;
|
|
247
|
+
t2 = getRootProps({ style });
|
|
248
|
+
$[4] = getRootProps;
|
|
249
|
+
$[5] = isDragAccept;
|
|
250
|
+
$[6] = isDragReject;
|
|
251
|
+
$[7] = isFocused;
|
|
252
|
+
$[8] = t1.palette.text.disabled;
|
|
253
|
+
$[9] = theme;
|
|
254
|
+
$[10] = T0;
|
|
255
|
+
$[11] = t2;
|
|
256
|
+
} else {
|
|
257
|
+
T0 = $[10];
|
|
258
|
+
t2 = $[11];
|
|
2065
259
|
}
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
260
|
+
let t3;
|
|
261
|
+
if ($[12] !== getInputProps) {
|
|
262
|
+
t3 = getInputProps();
|
|
263
|
+
$[12] = getInputProps;
|
|
264
|
+
$[13] = t3;
|
|
265
|
+
} else t3 = $[13];
|
|
266
|
+
let t4;
|
|
267
|
+
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
268
|
+
t4 = { display: "none" };
|
|
269
|
+
$[14] = t4;
|
|
270
|
+
} else t4 = $[14];
|
|
271
|
+
let t5;
|
|
272
|
+
if ($[15] !== t3) {
|
|
273
|
+
t5 = /* @__PURE__ */ jsx("input", {
|
|
274
|
+
...t3,
|
|
275
|
+
style: t4
|
|
276
|
+
});
|
|
277
|
+
$[15] = t3;
|
|
278
|
+
$[16] = t5;
|
|
279
|
+
} else t5 = $[16];
|
|
280
|
+
let t6;
|
|
281
|
+
if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
282
|
+
t6 = /* @__PURE__ */ jsx(CloudUpload, {});
|
|
283
|
+
$[17] = t6;
|
|
284
|
+
} else t6 = $[17];
|
|
285
|
+
let t7;
|
|
286
|
+
if ($[18] !== t) {
|
|
287
|
+
t7 = t("Layout.File.DragSomeFilesHereOrClickToSelectThem");
|
|
288
|
+
$[18] = t;
|
|
289
|
+
$[19] = t7;
|
|
290
|
+
} else t7 = $[19];
|
|
291
|
+
let t8;
|
|
292
|
+
if ($[20] !== t7) {
|
|
293
|
+
t8 = /* @__PURE__ */ jsx(Typography, { children: t7 });
|
|
294
|
+
$[20] = t7;
|
|
295
|
+
$[21] = t8;
|
|
296
|
+
} else t8 = $[21];
|
|
297
|
+
let t9;
|
|
298
|
+
if ($[22] !== T0 || $[23] !== sx || $[24] !== t2 || $[25] !== t5 || $[26] !== t8) {
|
|
299
|
+
t9 = /* @__PURE__ */ jsxs(T0, {
|
|
300
|
+
...t2,
|
|
301
|
+
sx,
|
|
302
|
+
children: [
|
|
303
|
+
t5,
|
|
304
|
+
t6,
|
|
305
|
+
t8
|
|
306
|
+
]
|
|
307
|
+
});
|
|
308
|
+
$[22] = T0;
|
|
309
|
+
$[23] = sx;
|
|
310
|
+
$[24] = t2;
|
|
311
|
+
$[25] = t5;
|
|
312
|
+
$[26] = t8;
|
|
313
|
+
$[27] = t9;
|
|
314
|
+
} else t9 = $[27];
|
|
315
|
+
return t9;
|
|
316
|
+
};
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region src/contexts/FileContext.ts
|
|
319
|
+
const FileContext = createContext(null);
|
|
320
|
+
const useFile = () => {
|
|
321
|
+
const $ = c(1);
|
|
322
|
+
if ($[0] !== "193c0b45a7883bd131e17408cdd051a0ae7aea9ba1a5ba0d64ffd3abfdd90e7e") {
|
|
323
|
+
for (let $i = 0; $i < 1; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
324
|
+
$[0] = "193c0b45a7883bd131e17408cdd051a0ae7aea9ba1a5ba0d64ffd3abfdd90e7e";
|
|
2088
325
|
}
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
}
|
|
2093
|
-
var rt = typeof Ue.default == "function" ? Ue.default : Ue.default.default, it = "file-invalid-type", at = "file-too-large", ot = "file-too-small", st = "too-many-files", ct = function() {
|
|
2094
|
-
var e = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "").split(",");
|
|
2095
|
-
return {
|
|
2096
|
-
code: it,
|
|
2097
|
-
message: `File type must be ${e.length > 1 ? `one of ${e.join(", ")}` : e[0]}`
|
|
2098
|
-
};
|
|
2099
|
-
}, lt = function(e) {
|
|
2100
|
-
return {
|
|
2101
|
-
code: at,
|
|
2102
|
-
message: `File is larger than ${e} ${e === 1 ? "byte" : "bytes"}`
|
|
2103
|
-
};
|
|
2104
|
-
}, ut = function(e) {
|
|
2105
|
-
return {
|
|
2106
|
-
code: ot,
|
|
2107
|
-
message: `File is smaller than ${e} ${e === 1 ? "byte" : "bytes"}`
|
|
2108
|
-
};
|
|
2109
|
-
}, dt = {
|
|
2110
|
-
code: st,
|
|
2111
|
-
message: "Too many files"
|
|
326
|
+
const context = useContext(FileContext);
|
|
327
|
+
if (!context) throw new Error("FileViewer components must be used within FileViewer");
|
|
328
|
+
return context;
|
|
2112
329
|
};
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
function mt(e, t, n) {
|
|
2121
|
-
if (ht(e.size)) {
|
|
2122
|
-
if (ht(t) && ht(n)) {
|
|
2123
|
-
if (e.size > n) return [!1, lt(n)];
|
|
2124
|
-
if (e.size < t) return [!1, ut(t)];
|
|
2125
|
-
} else if (ht(t) && e.size < t) return [!1, ut(t)];
|
|
2126
|
-
else if (ht(n) && e.size > n) return [!1, lt(n)];
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/components/file/fileViewer/common/ActionsMenu.tsx
|
|
332
|
+
const ActionsMenu = (t0) => {
|
|
333
|
+
const $ = c(37);
|
|
334
|
+
if ($[0] !== "b35696825eb8b28a7bdd276de406f40ec37c9c341f84e48336cf4684164d76da") {
|
|
335
|
+
for (let $i = 0; $i < 37; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
336
|
+
$[0] = "b35696825eb8b28a7bdd276de406f40ec37c9c341f84e48336cf4684164d76da";
|
|
2127
337
|
}
|
|
2128
|
-
|
|
2129
|
-
}
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
338
|
+
const { meta, menu, setMenu } = t0;
|
|
339
|
+
const { t } = useTranslation();
|
|
340
|
+
const { fileMetas, onDelete, actions } = useFile();
|
|
341
|
+
const { confirm } = useDialogs();
|
|
342
|
+
let t1;
|
|
343
|
+
if ($[1] !== setMenu) {
|
|
344
|
+
t1 = () => {
|
|
345
|
+
setMenu(null);
|
|
346
|
+
};
|
|
347
|
+
$[1] = setMenu;
|
|
348
|
+
$[2] = t1;
|
|
349
|
+
} else t1 = $[2];
|
|
350
|
+
const handleMenuClose = t1;
|
|
351
|
+
let t2;
|
|
352
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
353
|
+
t2 = query.file.download();
|
|
354
|
+
$[3] = t2;
|
|
355
|
+
} else t2 = $[3];
|
|
356
|
+
const { mutate: download, isPending: isDownloading } = useMutation(t2);
|
|
357
|
+
let t3;
|
|
358
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
359
|
+
t3 = query.file.delete();
|
|
360
|
+
$[4] = t3;
|
|
361
|
+
} else t3 = $[4];
|
|
362
|
+
const { mutate: deleteFile, isPending: isDeleting } = useMutation(t3);
|
|
363
|
+
let t4;
|
|
364
|
+
if ($[5] !== download || $[6] !== handleMenuClose || $[7] !== meta) {
|
|
365
|
+
t4 = () => {
|
|
366
|
+
handleMenuClose();
|
|
367
|
+
download(meta);
|
|
368
|
+
};
|
|
369
|
+
$[5] = download;
|
|
370
|
+
$[6] = handleMenuClose;
|
|
371
|
+
$[7] = meta;
|
|
372
|
+
$[8] = t4;
|
|
373
|
+
} else t4 = $[8];
|
|
374
|
+
const handleOnDownload = t4;
|
|
375
|
+
let t5;
|
|
376
|
+
if ($[9] !== confirm || $[10] !== deleteFile || $[11] !== fileMetas || $[12] !== handleMenuClose || $[13] !== meta || $[14] !== onDelete || $[15] !== t) {
|
|
377
|
+
t5 = async () => {
|
|
378
|
+
if (!await confirm(t("Layout.File.AreYouSureYouWantToDelete", { fileName: meta.fileName }))) return;
|
|
379
|
+
deleteFile(meta);
|
|
380
|
+
handleMenuClose();
|
|
381
|
+
if (onDelete) onDelete({
|
|
382
|
+
remainingFileMetas: fileMetas.filter((m) => m.id !== meta.id),
|
|
383
|
+
deletedFileMeta: meta
|
|
384
|
+
});
|
|
385
|
+
};
|
|
386
|
+
$[9] = confirm;
|
|
387
|
+
$[10] = deleteFile;
|
|
388
|
+
$[11] = fileMetas;
|
|
389
|
+
$[12] = handleMenuClose;
|
|
390
|
+
$[13] = meta;
|
|
391
|
+
$[14] = onDelete;
|
|
392
|
+
$[15] = t;
|
|
393
|
+
$[16] = t5;
|
|
394
|
+
} else t5 = $[16];
|
|
395
|
+
const handleOnDelete = t5;
|
|
396
|
+
const t6 = menu !== null;
|
|
397
|
+
let t7;
|
|
398
|
+
if ($[17] !== menu) {
|
|
399
|
+
t7 = menu === null ? void 0 : {
|
|
400
|
+
top: menu.mouseY,
|
|
401
|
+
left: menu.mouseX
|
|
402
|
+
};
|
|
403
|
+
$[17] = menu;
|
|
404
|
+
$[18] = t7;
|
|
405
|
+
} else t7 = $[18];
|
|
406
|
+
let t8;
|
|
407
|
+
if ($[19] !== actions?.download || $[20] !== handleOnDownload || $[21] !== isDownloading || $[22] !== t) {
|
|
408
|
+
t8 = actions?.download !== false && /* @__PURE__ */ jsxs(ListItemButton, {
|
|
409
|
+
onClick: handleOnDownload,
|
|
410
|
+
disabled: isDownloading,
|
|
411
|
+
children: [/* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(FileDownload, {}) }), /* @__PURE__ */ jsx(ListItemText, { children: t("Layout.File.Download") })]
|
|
2167
412
|
});
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
413
|
+
$[19] = actions?.download;
|
|
414
|
+
$[20] = handleOnDownload;
|
|
415
|
+
$[21] = isDownloading;
|
|
416
|
+
$[22] = t;
|
|
417
|
+
$[23] = t8;
|
|
418
|
+
} else t8 = $[23];
|
|
419
|
+
let t9;
|
|
420
|
+
if ($[24] !== actions?.delete || $[25] !== handleOnDelete || $[26] !== isDeleting || $[27] !== t) {
|
|
421
|
+
t9 = actions?.delete !== false && /* @__PURE__ */ jsxs(ListItemButton, {
|
|
422
|
+
onClick: handleOnDelete,
|
|
423
|
+
disabled: isDeleting,
|
|
424
|
+
children: [/* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(Delete, {}) }), /* @__PURE__ */ jsx(ListItemText, { children: t("Layout.File.Delete") })]
|
|
425
|
+
});
|
|
426
|
+
$[24] = actions?.delete;
|
|
427
|
+
$[25] = handleOnDelete;
|
|
428
|
+
$[26] = isDeleting;
|
|
429
|
+
$[27] = t;
|
|
430
|
+
$[28] = t9;
|
|
431
|
+
} else t9 = $[28];
|
|
432
|
+
let t10;
|
|
433
|
+
if ($[29] !== t8 || $[30] !== t9) {
|
|
434
|
+
t10 = /* @__PURE__ */ jsxs(List, {
|
|
435
|
+
disablePadding: true,
|
|
436
|
+
children: [t8, t9]
|
|
437
|
+
});
|
|
438
|
+
$[29] = t8;
|
|
439
|
+
$[30] = t9;
|
|
440
|
+
$[31] = t10;
|
|
441
|
+
} else t10 = $[31];
|
|
442
|
+
let t11;
|
|
443
|
+
if ($[32] !== handleMenuClose || $[33] !== t10 || $[34] !== t6 || $[35] !== t7) {
|
|
444
|
+
t11 = /* @__PURE__ */ jsx(Menu, {
|
|
445
|
+
open: t6,
|
|
446
|
+
onClose: handleMenuClose,
|
|
447
|
+
anchorReference: "anchorPosition",
|
|
448
|
+
variant: "menu",
|
|
449
|
+
anchorPosition: t7,
|
|
450
|
+
children: t10
|
|
451
|
+
});
|
|
452
|
+
$[32] = handleMenuClose;
|
|
453
|
+
$[33] = t10;
|
|
454
|
+
$[34] = t6;
|
|
455
|
+
$[35] = t7;
|
|
456
|
+
$[36] = t11;
|
|
457
|
+
} else t11 = $[36];
|
|
458
|
+
return t11;
|
|
459
|
+
};
|
|
2205
460
|
//#endregion
|
|
2206
|
-
//#region
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
"
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
"onClick",
|
|
2214
|
-
"onDragEnter",
|
|
2215
|
-
"onDragOver",
|
|
2216
|
-
"onDragLeave",
|
|
2217
|
-
"onDrop"
|
|
2218
|
-
], Nt = [
|
|
2219
|
-
"refKey",
|
|
2220
|
-
"onChange",
|
|
2221
|
-
"onClick"
|
|
2222
|
-
];
|
|
2223
|
-
function Pt(e) {
|
|
2224
|
-
return Lt(e) || It(e) || Bt(e) || Ft();
|
|
2225
|
-
}
|
|
2226
|
-
function Ft() {
|
|
2227
|
-
throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2228
|
-
}
|
|
2229
|
-
function It(e) {
|
|
2230
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2231
|
-
}
|
|
2232
|
-
function Lt(e) {
|
|
2233
|
-
if (Array.isArray(e)) return Vt(e);
|
|
2234
|
-
}
|
|
2235
|
-
function Rt(e, t) {
|
|
2236
|
-
return Ut(e) || Ht(e, t) || Bt(e, t) || zt();
|
|
2237
|
-
}
|
|
2238
|
-
function zt() {
|
|
2239
|
-
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2240
|
-
}
|
|
2241
|
-
function Bt(e, t) {
|
|
2242
|
-
if (e) {
|
|
2243
|
-
if (typeof e == "string") return Vt(e, t);
|
|
2244
|
-
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
2245
|
-
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
2246
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Vt(e, t);
|
|
461
|
+
//#region src/components/file/fileViewer/FileViewerGrid.tsx
|
|
462
|
+
const IMAGE_SIZE = 150;
|
|
463
|
+
const FileViewerGrid = (t0) => {
|
|
464
|
+
const $ = c(13);
|
|
465
|
+
if ($[0] !== "aa3240322f961e4de8656d3cbe3b3ed5b13d366ee38a8345dd8610ea4e3bb457") {
|
|
466
|
+
for (let $i = 0; $i < 13; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
467
|
+
$[0] = "aa3240322f961e4de8656d3cbe3b3ed5b13d366ee38a8345dd8610ea4e3bb457";
|
|
2247
468
|
}
|
|
2248
|
-
}
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
function $(e) {
|
|
2286
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
2287
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
2288
|
-
t % 2 ? Wt(Object(n), !0).forEach(function(t) {
|
|
2289
|
-
Gt(e, t, n[t]);
|
|
2290
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wt(Object(n)).forEach(function(t) {
|
|
2291
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
469
|
+
const { sx, size, itemBar } = t0;
|
|
470
|
+
const { fileMetas } = useFile();
|
|
471
|
+
let t1;
|
|
472
|
+
if ($[1] !== sx) {
|
|
473
|
+
t1 = {
|
|
474
|
+
overflow: "auto",
|
|
475
|
+
...sx
|
|
476
|
+
};
|
|
477
|
+
$[1] = sx;
|
|
478
|
+
$[2] = t1;
|
|
479
|
+
} else t1 = $[2];
|
|
480
|
+
let t2;
|
|
481
|
+
if ($[3] !== fileMetas || $[4] !== itemBar || $[5] !== size) {
|
|
482
|
+
let t3;
|
|
483
|
+
if ($[7] !== itemBar || $[8] !== size) {
|
|
484
|
+
t3 = (fileMeta) => /* @__PURE__ */ jsx(GridFileViewerItem, {
|
|
485
|
+
meta: fileMeta,
|
|
486
|
+
size,
|
|
487
|
+
itemBar
|
|
488
|
+
}, fileMeta.id);
|
|
489
|
+
$[7] = itemBar;
|
|
490
|
+
$[8] = size;
|
|
491
|
+
$[9] = t3;
|
|
492
|
+
} else t3 = $[9];
|
|
493
|
+
t2 = fileMetas.map(t3);
|
|
494
|
+
$[3] = fileMetas;
|
|
495
|
+
$[4] = itemBar;
|
|
496
|
+
$[5] = size;
|
|
497
|
+
$[6] = t2;
|
|
498
|
+
} else t2 = $[6];
|
|
499
|
+
let t3;
|
|
500
|
+
if ($[10] !== t1 || $[11] !== t2) {
|
|
501
|
+
t3 = /* @__PURE__ */ jsx(Stack, {
|
|
502
|
+
direction: "row",
|
|
503
|
+
spacing: 1,
|
|
504
|
+
sx: t1,
|
|
505
|
+
children: t2
|
|
2292
506
|
});
|
|
507
|
+
$[10] = t1;
|
|
508
|
+
$[11] = t2;
|
|
509
|
+
$[12] = t3;
|
|
510
|
+
} else t3 = $[12];
|
|
511
|
+
return t3;
|
|
512
|
+
};
|
|
513
|
+
const GridFileViewerItem = (t0) => {
|
|
514
|
+
const $ = c(55);
|
|
515
|
+
if ($[0] !== "aa3240322f961e4de8656d3cbe3b3ed5b13d366ee38a8345dd8610ea4e3bb457") {
|
|
516
|
+
for (let $i = 0; $i < 55; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
517
|
+
$[0] = "aa3240322f961e4de8656d3cbe3b3ed5b13d366ee38a8345dd8610ea4e3bb457";
|
|
2293
518
|
}
|
|
2294
|
-
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
519
|
+
const { meta, size, itemBar } = t0;
|
|
520
|
+
const { setImageId, actions } = useFile();
|
|
521
|
+
const [showItemBar, setShowItemBar] = useState(itemBar === "always");
|
|
522
|
+
const [menu, setMenu] = useState(null);
|
|
523
|
+
const { ref, inView } = useInView();
|
|
524
|
+
const queryClient = useQueryClient();
|
|
525
|
+
let t1;
|
|
526
|
+
let t2;
|
|
527
|
+
if ($[1] !== itemBar) {
|
|
528
|
+
t1 = () => {
|
|
529
|
+
setShowItemBar(itemBar === "always");
|
|
530
|
+
};
|
|
531
|
+
t2 = [itemBar];
|
|
532
|
+
$[1] = itemBar;
|
|
533
|
+
$[2] = t1;
|
|
534
|
+
$[3] = t2;
|
|
535
|
+
} else {
|
|
536
|
+
t1 = $[2];
|
|
537
|
+
t2 = $[3];
|
|
2310
538
|
}
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
}, [i]), /* @__PURE__ */ k.createElement(A, null, n($($({}, a), {}, { open: i })));
|
|
2324
|
-
});
|
|
2325
|
-
Jt.displayName = "Dropzone";
|
|
2326
|
-
var Yt = {
|
|
2327
|
-
disabled: !1,
|
|
2328
|
-
getFilesFromEvent: De,
|
|
2329
|
-
maxSize: Infinity,
|
|
2330
|
-
minSize: 0,
|
|
2331
|
-
multiple: !0,
|
|
2332
|
-
maxFiles: 0,
|
|
2333
|
-
preventDropOnDocument: !0,
|
|
2334
|
-
noClick: !1,
|
|
2335
|
-
noKeyboard: !1,
|
|
2336
|
-
noDrag: !1,
|
|
2337
|
-
noDragEventsBubbling: !1,
|
|
2338
|
-
validator: null,
|
|
2339
|
-
useFsAccessApi: !1,
|
|
2340
|
-
autoFocus: !1
|
|
2341
|
-
};
|
|
2342
|
-
Jt.defaultProps = Yt, Jt.propTypes = {
|
|
2343
|
-
children: Z.default.func,
|
|
2344
|
-
accept: Z.default.objectOf(Z.default.arrayOf(Z.default.string)),
|
|
2345
|
-
multiple: Z.default.bool,
|
|
2346
|
-
preventDropOnDocument: Z.default.bool,
|
|
2347
|
-
noClick: Z.default.bool,
|
|
2348
|
-
noKeyboard: Z.default.bool,
|
|
2349
|
-
noDrag: Z.default.bool,
|
|
2350
|
-
noDragEventsBubbling: Z.default.bool,
|
|
2351
|
-
minSize: Z.default.number,
|
|
2352
|
-
maxSize: Z.default.number,
|
|
2353
|
-
maxFiles: Z.default.number,
|
|
2354
|
-
disabled: Z.default.bool,
|
|
2355
|
-
getFilesFromEvent: Z.default.func,
|
|
2356
|
-
onFileDialogCancel: Z.default.func,
|
|
2357
|
-
onFileDialogOpen: Z.default.func,
|
|
2358
|
-
useFsAccessApi: Z.default.bool,
|
|
2359
|
-
autoFocus: Z.default.bool,
|
|
2360
|
-
onDragEnter: Z.default.func,
|
|
2361
|
-
onDragLeave: Z.default.func,
|
|
2362
|
-
onDragOver: Z.default.func,
|
|
2363
|
-
onDrop: Z.default.func,
|
|
2364
|
-
onDropAccepted: Z.default.func,
|
|
2365
|
-
onDropRejected: Z.default.func,
|
|
2366
|
-
onError: Z.default.func,
|
|
2367
|
-
validator: Z.default.func
|
|
2368
|
-
};
|
|
2369
|
-
var Xt = {
|
|
2370
|
-
isFocused: !1,
|
|
2371
|
-
isFileDialogActive: !1,
|
|
2372
|
-
isDragActive: !1,
|
|
2373
|
-
isDragAccept: !1,
|
|
2374
|
-
isDragReject: !1,
|
|
2375
|
-
isDragGlobal: !1,
|
|
2376
|
-
acceptedFiles: [],
|
|
2377
|
-
fileRejections: []
|
|
2378
|
-
};
|
|
2379
|
-
function Zt() {
|
|
2380
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = $($({}, Yt), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, f = t.onDrop, p = t.onDropAccepted, m = t.onDropRejected, h = t.onFileDialogCancel, g = t.onFileDialogOpen, _ = t.useFsAccessApi, v = t.autoFocus, y = t.preventDropOnDocument, b = t.noClick, x = t.noKeyboard, S = t.noDrag, C = t.noDragEventsBubbling, w = t.onError, T = t.validator, E = L(function() {
|
|
2381
|
-
return Tt(n);
|
|
2382
|
-
}, [n]), D = L(function() {
|
|
2383
|
-
return wt(n);
|
|
2384
|
-
}, [n]), O = L(function() {
|
|
2385
|
-
return typeof g == "function" ? g : $t;
|
|
2386
|
-
}, [g]), k = L(function() {
|
|
2387
|
-
return typeof h == "function" ? h : $t;
|
|
2388
|
-
}, [h]), A = R(null), j = R(null), M = Rt(ne(Qt, Xt), 2), P = M[0], I = M[1], ee = P.isFocused, te = P.isFileDialogActive, z = R(typeof window < "u" && window.isSecureContext && _ && Ct()), B = function() {
|
|
2389
|
-
!z.current && te && setTimeout(function() {
|
|
2390
|
-
j.current && (j.current.files.length || (I({ type: "closeDialog" }), k()));
|
|
2391
|
-
}, 300);
|
|
2392
|
-
};
|
|
2393
|
-
F(function() {
|
|
2394
|
-
return window.addEventListener("focus", B, !1), function() {
|
|
2395
|
-
window.removeEventListener("focus", B, !1);
|
|
539
|
+
useEffect(t1, t2);
|
|
540
|
+
let t3;
|
|
541
|
+
if ($[4] !== meta) {
|
|
542
|
+
t3 = query.file.thumbnail({ meta });
|
|
543
|
+
$[4] = meta;
|
|
544
|
+
$[5] = t3;
|
|
545
|
+
} else t3 = $[5];
|
|
546
|
+
let t4;
|
|
547
|
+
if ($[6] !== inView || $[7] !== t3) {
|
|
548
|
+
t4 = {
|
|
549
|
+
...t3,
|
|
550
|
+
enabled: inView
|
|
2396
551
|
};
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
552
|
+
$[6] = inView;
|
|
553
|
+
$[7] = t3;
|
|
554
|
+
$[8] = t4;
|
|
555
|
+
} else t4 = $[8];
|
|
556
|
+
const { data: source } = useQuery(t4);
|
|
557
|
+
let t5;
|
|
558
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
559
|
+
t5 = () => setShowItemBar(true);
|
|
560
|
+
$[9] = t5;
|
|
561
|
+
} else t5 = $[9];
|
|
562
|
+
const handleOnMouseEnter = t5;
|
|
563
|
+
let t6;
|
|
564
|
+
if ($[10] !== itemBar) {
|
|
565
|
+
t6 = () => itemBar !== "always" && setShowItemBar(false);
|
|
566
|
+
$[10] = itemBar;
|
|
567
|
+
$[11] = t6;
|
|
568
|
+
} else t6 = $[11];
|
|
569
|
+
const handleOnMouseLeave = t6;
|
|
570
|
+
let t7;
|
|
571
|
+
if ($[12] !== menu) {
|
|
572
|
+
t7 = (event) => {
|
|
573
|
+
setMenu(menu === null ? {
|
|
574
|
+
mouseX: event.clientX,
|
|
575
|
+
mouseY: event.clientY
|
|
576
|
+
} : null);
|
|
577
|
+
setTimeout(() => setShowItemBar(true));
|
|
2409
578
|
};
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
579
|
+
$[12] = menu;
|
|
580
|
+
$[13] = t7;
|
|
581
|
+
} else t7 = $[13];
|
|
582
|
+
const openMenu = t7;
|
|
583
|
+
let t8;
|
|
584
|
+
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
585
|
+
t8 = query.file.open();
|
|
586
|
+
$[14] = t8;
|
|
587
|
+
} else t8 = $[14];
|
|
588
|
+
const { mutate: openFile } = useMutation(t8);
|
|
589
|
+
let t9;
|
|
590
|
+
if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
591
|
+
t9 = query.file.download();
|
|
592
|
+
$[15] = t9;
|
|
593
|
+
} else t9 = $[15];
|
|
594
|
+
const { mutate: download } = useMutation(t9);
|
|
595
|
+
let t10;
|
|
596
|
+
if ($[16] !== download || $[17] !== meta || $[18] !== openFile || $[19] !== setImageId) {
|
|
597
|
+
t10 = () => {
|
|
598
|
+
switch (meta.mediaType) {
|
|
599
|
+
case "image": return setImageId(meta.id);
|
|
600
|
+
case "application": return openFile(meta);
|
|
601
|
+
case "video": return openFile(meta);
|
|
602
|
+
default: return download(meta);
|
|
603
|
+
}
|
|
2433
604
|
};
|
|
2434
|
-
|
|
2435
|
-
|
|
605
|
+
$[16] = download;
|
|
606
|
+
$[17] = meta;
|
|
607
|
+
$[18] = openFile;
|
|
608
|
+
$[19] = setImageId;
|
|
609
|
+
$[20] = t10;
|
|
610
|
+
} else t10 = $[20];
|
|
611
|
+
const onClick = t10;
|
|
612
|
+
const t11 = size ?? IMAGE_SIZE;
|
|
613
|
+
const t12 = size ?? IMAGE_SIZE;
|
|
614
|
+
let t13;
|
|
615
|
+
if ($[21] !== t11 || $[22] !== t12) {
|
|
616
|
+
t13 = {
|
|
617
|
+
width: t11,
|
|
618
|
+
height: t12
|
|
2436
619
|
};
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
])
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
620
|
+
$[21] = t11;
|
|
621
|
+
$[22] = t12;
|
|
622
|
+
$[23] = t13;
|
|
623
|
+
} else t13 = $[23];
|
|
624
|
+
const t14 = "thumbnail-" + meta.id;
|
|
625
|
+
let t15;
|
|
626
|
+
if ($[24] !== meta || $[25] !== queryClient) {
|
|
627
|
+
t15 = () => queryClient.prefetchQuery(query.file.getOne({ meta }));
|
|
628
|
+
$[24] = meta;
|
|
629
|
+
$[25] = queryClient;
|
|
630
|
+
$[26] = t15;
|
|
631
|
+
} else t15 = $[26];
|
|
632
|
+
const t16 = size ?? IMAGE_SIZE;
|
|
633
|
+
const t17 = size ?? IMAGE_SIZE;
|
|
634
|
+
let t18;
|
|
635
|
+
if ($[27] !== t16 || $[28] !== t17) {
|
|
636
|
+
t18 = {
|
|
637
|
+
cursor: "pointer",
|
|
638
|
+
objectFit: "contain",
|
|
639
|
+
width: t16,
|
|
640
|
+
height: t17
|
|
641
|
+
};
|
|
642
|
+
$[27] = t16;
|
|
643
|
+
$[28] = t17;
|
|
644
|
+
$[29] = t18;
|
|
645
|
+
} else t18 = $[29];
|
|
646
|
+
let t19;
|
|
647
|
+
if ($[30] !== onClick || $[31] !== source || $[32] !== t14 || $[33] !== t15 || $[34] !== t18) {
|
|
648
|
+
t19 = /* @__PURE__ */ jsx(Box, {
|
|
649
|
+
component: "img",
|
|
650
|
+
src: source,
|
|
651
|
+
loading: "lazy",
|
|
652
|
+
alt: t14,
|
|
653
|
+
onClick,
|
|
654
|
+
onMouseEnter: t15,
|
|
655
|
+
sx: t18
|
|
2467
656
|
});
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
657
|
+
$[30] = onClick;
|
|
658
|
+
$[31] = source;
|
|
659
|
+
$[32] = t14;
|
|
660
|
+
$[33] = t15;
|
|
661
|
+
$[34] = t18;
|
|
662
|
+
$[35] = t19;
|
|
663
|
+
} else t19 = $[35];
|
|
664
|
+
let t20;
|
|
665
|
+
if ($[36] !== actions || $[37] !== itemBar || $[38] !== meta.fileName || $[39] !== openMenu || $[40] !== showItemBar) {
|
|
666
|
+
t20 = itemBar !== "hidden" && showItemBar && /* @__PURE__ */ jsx(ImageListItemBar, {
|
|
667
|
+
title: /* @__PURE__ */ jsx(Tooltip, {
|
|
668
|
+
title: meta.fileName,
|
|
669
|
+
children: /* @__PURE__ */ jsx(Box, { children: meta.fileName })
|
|
670
|
+
}),
|
|
671
|
+
actionIcon: (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(IconButton, {
|
|
672
|
+
sx: { color: grey[100] },
|
|
673
|
+
onClick: openMenu,
|
|
674
|
+
children: /* @__PURE__ */ jsx(MoreVert, {})
|
|
675
|
+
})
|
|
676
|
+
});
|
|
677
|
+
$[36] = actions;
|
|
678
|
+
$[37] = itemBar;
|
|
679
|
+
$[38] = meta.fileName;
|
|
680
|
+
$[39] = openMenu;
|
|
681
|
+
$[40] = showItemBar;
|
|
682
|
+
$[41] = t20;
|
|
683
|
+
} else t20 = $[41];
|
|
684
|
+
let t21;
|
|
685
|
+
if ($[42] !== handleOnMouseLeave || $[43] !== ref || $[44] !== t13 || $[45] !== t19 || $[46] !== t20) {
|
|
686
|
+
t21 = /* @__PURE__ */ jsxs(ImageListItem, {
|
|
687
|
+
sx: t13,
|
|
688
|
+
onMouseEnter: handleOnMouseEnter,
|
|
689
|
+
onMouseLeave: handleOnMouseLeave,
|
|
690
|
+
ref,
|
|
691
|
+
children: [t19, t20]
|
|
692
|
+
});
|
|
693
|
+
$[42] = handleOnMouseLeave;
|
|
694
|
+
$[43] = ref;
|
|
695
|
+
$[44] = t13;
|
|
696
|
+
$[45] = t19;
|
|
697
|
+
$[46] = t20;
|
|
698
|
+
$[47] = t21;
|
|
699
|
+
} else t21 = $[47];
|
|
700
|
+
let t22;
|
|
701
|
+
if ($[48] !== actions || $[49] !== menu || $[50] !== meta) {
|
|
702
|
+
t22 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(ActionsMenu, {
|
|
703
|
+
meta,
|
|
704
|
+
menu,
|
|
705
|
+
setMenu
|
|
706
|
+
});
|
|
707
|
+
$[48] = actions;
|
|
708
|
+
$[49] = menu;
|
|
709
|
+
$[50] = meta;
|
|
710
|
+
$[51] = t22;
|
|
711
|
+
} else t22 = $[51];
|
|
712
|
+
let t23;
|
|
713
|
+
if ($[52] !== t21 || $[53] !== t22) {
|
|
714
|
+
t23 = /* @__PURE__ */ jsxs(Fragment, { children: [t21, t22] });
|
|
715
|
+
$[52] = t21;
|
|
716
|
+
$[53] = t22;
|
|
717
|
+
$[54] = t23;
|
|
718
|
+
} else t23 = $[54];
|
|
719
|
+
return t23;
|
|
720
|
+
};
|
|
721
|
+
//#endregion
|
|
722
|
+
//#region src/components/file/fileViewer/FileViewerList.tsx
|
|
723
|
+
const FileViewerList = (t0) => {
|
|
724
|
+
const $ = c(6);
|
|
725
|
+
if ($[0] !== "47bf83cf7b96aca451496f16de43f8c285d7726133fe1863d9d137acb1d5dd3e") {
|
|
726
|
+
for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
727
|
+
$[0] = "47bf83cf7b96aca451496f16de43f8c285d7726133fe1863d9d137acb1d5dd3e";
|
|
728
|
+
}
|
|
729
|
+
const { sx } = t0;
|
|
730
|
+
const { fileMetas } = useFile();
|
|
731
|
+
let t1;
|
|
732
|
+
if ($[1] !== fileMetas) {
|
|
733
|
+
t1 = fileMetas.map(_temp);
|
|
734
|
+
$[1] = fileMetas;
|
|
735
|
+
$[2] = t1;
|
|
736
|
+
} else t1 = $[2];
|
|
737
|
+
let t2;
|
|
738
|
+
if ($[3] !== sx || $[4] !== t1) {
|
|
739
|
+
t2 = /* @__PURE__ */ jsx(List, {
|
|
740
|
+
dense: true,
|
|
741
|
+
sx,
|
|
742
|
+
children: t1
|
|
743
|
+
});
|
|
744
|
+
$[3] = sx;
|
|
745
|
+
$[4] = t1;
|
|
746
|
+
$[5] = t2;
|
|
747
|
+
} else t2 = $[5];
|
|
748
|
+
return t2;
|
|
749
|
+
};
|
|
750
|
+
const ListFileViewerItem = (t0) => {
|
|
751
|
+
const $ = c(36);
|
|
752
|
+
if ($[0] !== "47bf83cf7b96aca451496f16de43f8c285d7726133fe1863d9d137acb1d5dd3e") {
|
|
753
|
+
for (let $i = 0; $i < 36; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
754
|
+
$[0] = "47bf83cf7b96aca451496f16de43f8c285d7726133fe1863d9d137acb1d5dd3e";
|
|
755
|
+
}
|
|
756
|
+
const { meta } = t0;
|
|
757
|
+
const { setImageId, actions } = useFile();
|
|
758
|
+
const [menu, setMenu] = useState(null);
|
|
759
|
+
const queryClient = useQueryClient();
|
|
760
|
+
let t1;
|
|
761
|
+
if ($[1] !== menu) {
|
|
762
|
+
t1 = (event) => {
|
|
763
|
+
event.stopPropagation();
|
|
764
|
+
setMenu(menu === null ? {
|
|
765
|
+
mouseX: event.clientX,
|
|
766
|
+
mouseY: event.clientY
|
|
767
|
+
} : null);
|
|
768
|
+
};
|
|
769
|
+
$[1] = menu;
|
|
770
|
+
$[2] = t1;
|
|
771
|
+
} else t1 = $[2];
|
|
772
|
+
const openMenu = t1;
|
|
773
|
+
let t2;
|
|
774
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
775
|
+
t2 = query.file.open();
|
|
776
|
+
$[3] = t2;
|
|
777
|
+
} else t2 = $[3];
|
|
778
|
+
const { mutate: openFile } = useMutation(t2);
|
|
779
|
+
let t3;
|
|
780
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
781
|
+
t3 = query.file.download();
|
|
782
|
+
$[4] = t3;
|
|
783
|
+
} else t3 = $[4];
|
|
784
|
+
const { mutate: download } = useMutation(t3);
|
|
785
|
+
let t4;
|
|
786
|
+
if ($[5] !== download || $[6] !== meta || $[7] !== openFile || $[8] !== setImageId) {
|
|
787
|
+
t4 = () => {
|
|
788
|
+
switch (meta.mediaType) {
|
|
789
|
+
case "image": return setImageId(meta.id);
|
|
790
|
+
case "application": return openFile(meta);
|
|
791
|
+
case "video": return openFile(meta);
|
|
792
|
+
default: return download(meta);
|
|
2514
793
|
}
|
|
2515
|
-
}), (!s && n.length > 1 || s && c >= 1 && n.length > c) && (n.forEach(function(e) {
|
|
2516
|
-
r.push({
|
|
2517
|
-
file: e,
|
|
2518
|
-
errors: [dt]
|
|
2519
|
-
});
|
|
2520
|
-
}), n.splice(0)), I({
|
|
2521
|
-
acceptedFiles: n,
|
|
2522
|
-
fileRejections: r,
|
|
2523
|
-
type: "setFiles"
|
|
2524
|
-
}), f && f(n, r, t), r.length > 0 && m && m(r, t), n.length > 0 && p && p(n, t);
|
|
2525
|
-
}, [
|
|
2526
|
-
I,
|
|
2527
|
-
s,
|
|
2528
|
-
E,
|
|
2529
|
-
o,
|
|
2530
|
-
a,
|
|
2531
|
-
c,
|
|
2532
|
-
f,
|
|
2533
|
-
p,
|
|
2534
|
-
m,
|
|
2535
|
-
T
|
|
2536
|
-
]), ce = N(function(e) {
|
|
2537
|
-
e.preventDefault(), e.persist(), X(e), V.current = [], vt(e) && Promise.resolve(i(e)).then(function(t) {
|
|
2538
|
-
_t(e) && !C || se(t, e);
|
|
2539
|
-
}).catch(function(e) {
|
|
2540
|
-
return U(e);
|
|
2541
|
-
}), I({ type: "reset" });
|
|
2542
|
-
}, [
|
|
2543
|
-
i,
|
|
2544
|
-
se,
|
|
2545
|
-
U,
|
|
2546
|
-
C
|
|
2547
|
-
]), W = N(function() {
|
|
2548
|
-
if (z.current) {
|
|
2549
|
-
I({ type: "openDialog" }), O();
|
|
2550
|
-
var e = {
|
|
2551
|
-
multiple: s,
|
|
2552
|
-
types: D
|
|
2553
|
-
};
|
|
2554
|
-
window.showOpenFilePicker(e).then(function(e) {
|
|
2555
|
-
return i(e);
|
|
2556
|
-
}).then(function(e) {
|
|
2557
|
-
se(e, null), I({ type: "closeDialog" });
|
|
2558
|
-
}).catch(function(e) {
|
|
2559
|
-
Et(e) ? (k(e), I({ type: "closeDialog" })) : Dt(e) ? (z.current = !1, j.current ? (j.current.value = null, j.current.click()) : U(/* @__PURE__ */ 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."))) : U(e);
|
|
2560
|
-
});
|
|
2561
|
-
return;
|
|
2562
|
-
}
|
|
2563
|
-
j.current && (I({ type: "openDialog" }), O(), j.current.value = null, j.current.click());
|
|
2564
|
-
}, [
|
|
2565
|
-
I,
|
|
2566
|
-
O,
|
|
2567
|
-
k,
|
|
2568
|
-
_,
|
|
2569
|
-
se,
|
|
2570
|
-
U,
|
|
2571
|
-
D,
|
|
2572
|
-
s
|
|
2573
|
-
]), le = N(function(e) {
|
|
2574
|
-
!A.current || !A.current.isEqualNode(e.target) || (e.key === " " || e.key === "Enter" || e.keyCode === 32 || e.keyCode === 13) && (e.preventDefault(), W());
|
|
2575
|
-
}, [A, W]), ue = N(function() {
|
|
2576
|
-
I({ type: "focus" });
|
|
2577
|
-
}, []), G = N(function() {
|
|
2578
|
-
I({ type: "blur" });
|
|
2579
|
-
}, []), K = N(function() {
|
|
2580
|
-
b || (St() ? setTimeout(W, 0) : W());
|
|
2581
|
-
}, [b, W]), q = function(e) {
|
|
2582
|
-
return r ? null : e;
|
|
2583
|
-
}, J = function(e) {
|
|
2584
|
-
return x ? null : q(e);
|
|
2585
|
-
}, Y = function(e) {
|
|
2586
|
-
return S ? null : q(e);
|
|
2587
|
-
}, X = function(e) {
|
|
2588
|
-
C && e.stopPropagation();
|
|
2589
|
-
}, de = L(function() {
|
|
2590
|
-
return function() {
|
|
2591
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p = Kt(e, Mt);
|
|
2592
|
-
return $($(Gt({
|
|
2593
|
-
onKeyDown: J(Q(a, le)),
|
|
2594
|
-
onFocus: J(Q(o, ue)),
|
|
2595
|
-
onBlur: J(Q(s, G)),
|
|
2596
|
-
onClick: q(Q(c, K)),
|
|
2597
|
-
onDragEnter: Y(Q(l, ie)),
|
|
2598
|
-
onDragOver: Y(Q(u, ae)),
|
|
2599
|
-
onDragLeave: Y(Q(d, oe)),
|
|
2600
|
-
onDrop: Y(Q(f, ce)),
|
|
2601
|
-
role: typeof i == "string" && i !== "" ? i : "presentation"
|
|
2602
|
-
}, n, A), !r && !x ? { tabIndex: 0 } : {}), p);
|
|
2603
794
|
};
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
}, []), pe = L(function() {
|
|
2620
|
-
return function() {
|
|
2621
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, r = e.onChange, i = e.onClick, a = Kt(e, Nt);
|
|
2622
|
-
return $($({}, Gt({
|
|
2623
|
-
accept: E,
|
|
2624
|
-
multiple: s,
|
|
2625
|
-
type: "file",
|
|
2626
|
-
style: {
|
|
2627
|
-
border: 0,
|
|
2628
|
-
clip: "rect(0, 0, 0, 0)",
|
|
2629
|
-
clipPath: "inset(50%)",
|
|
2630
|
-
height: "1px",
|
|
2631
|
-
margin: "0 -1px -1px 0",
|
|
2632
|
-
overflow: "hidden",
|
|
2633
|
-
padding: 0,
|
|
2634
|
-
position: "absolute",
|
|
2635
|
-
width: "1px",
|
|
2636
|
-
whiteSpace: "nowrap"
|
|
2637
|
-
},
|
|
2638
|
-
onChange: q(Q(r, ce)),
|
|
2639
|
-
onClick: q(Q(i, fe)),
|
|
2640
|
-
tabIndex: -1
|
|
2641
|
-
}, n, j)), a);
|
|
795
|
+
$[5] = download;
|
|
796
|
+
$[6] = meta;
|
|
797
|
+
$[7] = openFile;
|
|
798
|
+
$[8] = setImageId;
|
|
799
|
+
$[9] = t4;
|
|
800
|
+
} else t4 = $[9];
|
|
801
|
+
const onClick = t4;
|
|
802
|
+
let t5;
|
|
803
|
+
if ($[10] !== meta.mediaType) {
|
|
804
|
+
t5 = () => {
|
|
805
|
+
switch (meta.mediaType) {
|
|
806
|
+
case "image": return /* @__PURE__ */ jsx(Image, {});
|
|
807
|
+
case "video": return /* @__PURE__ */ jsx(SmartDisplay, {});
|
|
808
|
+
default: return /* @__PURE__ */ jsx(AttachFile, {});
|
|
809
|
+
}
|
|
2642
810
|
};
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
811
|
+
$[10] = meta.mediaType;
|
|
812
|
+
$[11] = t5;
|
|
813
|
+
} else t5 = $[11];
|
|
814
|
+
const icon = t5;
|
|
815
|
+
let t6;
|
|
816
|
+
if ($[12] !== meta || $[13] !== queryClient) {
|
|
817
|
+
t6 = () => queryClient.prefetchQuery(query.file.getOne({ meta }));
|
|
818
|
+
$[12] = meta;
|
|
819
|
+
$[13] = queryClient;
|
|
820
|
+
$[14] = t6;
|
|
821
|
+
} else t6 = $[14];
|
|
822
|
+
let t7;
|
|
823
|
+
if ($[15] !== icon) {
|
|
824
|
+
t7 = /* @__PURE__ */ jsx(ListItemIcon, { children: icon() });
|
|
825
|
+
$[15] = icon;
|
|
826
|
+
$[16] = t7;
|
|
827
|
+
} else t7 = $[16];
|
|
828
|
+
const t8 = `${meta.fileName}.${meta.fileExtension}`;
|
|
829
|
+
let t9;
|
|
830
|
+
if ($[17] !== t8) {
|
|
831
|
+
t9 = /* @__PURE__ */ jsx(ListItemText, { primary: t8 });
|
|
832
|
+
$[17] = t8;
|
|
833
|
+
$[18] = t9;
|
|
834
|
+
} else t9 = $[18];
|
|
835
|
+
let t10;
|
|
836
|
+
if ($[19] !== actions || $[20] !== openMenu) {
|
|
837
|
+
t10 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(IconButton, {
|
|
838
|
+
edge: "end",
|
|
839
|
+
onClick: openMenu,
|
|
840
|
+
children: /* @__PURE__ */ jsx(MoreVert, {})
|
|
2670
841
|
});
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
842
|
+
$[19] = actions;
|
|
843
|
+
$[20] = openMenu;
|
|
844
|
+
$[21] = t10;
|
|
845
|
+
} else t10 = $[21];
|
|
846
|
+
let t11;
|
|
847
|
+
if ($[22] !== meta.id || $[23] !== onClick || $[24] !== t10 || $[25] !== t6 || $[26] !== t7 || $[27] !== t9) {
|
|
848
|
+
t11 = /* @__PURE__ */ jsxs(ListItemButton, {
|
|
849
|
+
onClick,
|
|
850
|
+
onMouseEnter: t6,
|
|
851
|
+
children: [
|
|
852
|
+
t7,
|
|
853
|
+
t9,
|
|
854
|
+
t10
|
|
855
|
+
]
|
|
856
|
+
}, meta.id);
|
|
857
|
+
$[22] = meta.id;
|
|
858
|
+
$[23] = onClick;
|
|
859
|
+
$[24] = t10;
|
|
860
|
+
$[25] = t6;
|
|
861
|
+
$[26] = t7;
|
|
862
|
+
$[27] = t9;
|
|
863
|
+
$[28] = t11;
|
|
864
|
+
} else t11 = $[28];
|
|
865
|
+
let t12;
|
|
866
|
+
if ($[29] !== actions || $[30] !== menu || $[31] !== meta) {
|
|
867
|
+
t12 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(ActionsMenu, {
|
|
868
|
+
meta,
|
|
869
|
+
menu,
|
|
870
|
+
setMenu
|
|
2675
871
|
});
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
}
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
padding: "20px",
|
|
2690
|
-
borderWidth: 2,
|
|
2691
|
-
borderRadius: 2,
|
|
2692
|
-
borderStyle: "dashed",
|
|
2693
|
-
outline: "none",
|
|
2694
|
-
transition: "border .24s ease-in-out",
|
|
2695
|
-
cursor: "pointer"
|
|
2696
|
-
}, tn = (e) => {
|
|
2697
|
-
let t = s(29), n, r;
|
|
2698
|
-
t[0] === e ? (n = t[1], r = t[2]) : ({sx: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r);
|
|
2699
|
-
let { getRootProps: i, getInputProps: a, isFocused: o, isDragAccept: l, isDragReject: u } = Zt(n), { t: d } = O(), f = D(), p, m;
|
|
2700
|
-
if (t[3] !== i || t[4] !== l || t[5] !== u || t[6] !== o || t[7] !== f.palette.divider || t[8] !== f.palette.error || t[9] !== f.palette.primary || t[10] !== f.palette.success) {
|
|
2701
|
-
let e = {
|
|
2702
|
-
...en,
|
|
2703
|
-
borderColor: f.palette.divider,
|
|
2704
|
-
...o ? { borderColor: f.palette.primary.main } : {},
|
|
2705
|
-
...l ? { borderColor: f.palette.success.main } : {},
|
|
2706
|
-
...u ? { borderColor: f.palette.error.main } : {}
|
|
2707
|
-
};
|
|
2708
|
-
p = c, m = i({ style: e }), t[3] = i, t[4] = l, t[5] = u, t[6] = o, t[7] = f.palette.divider, t[8] = f.palette.error, t[9] = f.palette.primary, t[10] = f.palette.success, t[11] = p, t[12] = m;
|
|
2709
|
-
} else p = t[11], m = t[12];
|
|
2710
|
-
let h;
|
|
2711
|
-
t[13] === a ? h = t[14] : (h = a(), t[13] = a, t[14] = h);
|
|
2712
|
-
let g;
|
|
2713
|
-
t[15] === Symbol.for("react.memo_cache_sentinel") ? (g = { display: "none" }, t[15] = g) : g = t[15];
|
|
2714
|
-
let _;
|
|
2715
|
-
t[16] === h ? _ = t[17] : (_ = /* @__PURE__ */ B("input", {
|
|
2716
|
-
...h,
|
|
2717
|
-
style: g
|
|
2718
|
-
}), t[16] = h, t[17] = _);
|
|
2719
|
-
let v;
|
|
2720
|
-
t[18] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ B(ae, {}), t[18] = v) : v = t[18];
|
|
2721
|
-
let y;
|
|
2722
|
-
t[19] === d ? y = t[20] : (y = d("Layout.File.DragSomeFilesHereOrClickToSelectThem"), t[19] = d, t[20] = y);
|
|
2723
|
-
let b;
|
|
2724
|
-
t[21] === y ? b = t[22] : (b = /* @__PURE__ */ B(E, { children: y }), t[21] = y, t[22] = b);
|
|
2725
|
-
let x;
|
|
2726
|
-
return t[23] !== p || t[24] !== r || t[25] !== m || t[26] !== _ || t[27] !== b ? (x = /* @__PURE__ */ V(p, {
|
|
2727
|
-
...m,
|
|
2728
|
-
sx: r,
|
|
2729
|
-
children: [
|
|
2730
|
-
_,
|
|
2731
|
-
v,
|
|
2732
|
-
b
|
|
2733
|
-
]
|
|
2734
|
-
}), t[23] = p, t[24] = r, t[25] = m, t[26] = _, t[27] = b, t[28] = x) : x = t[28], x;
|
|
2735
|
-
}, nn = j(null), rn = () => {
|
|
2736
|
-
let e = P(nn);
|
|
2737
|
-
if (!e) throw Error("FileViewer components must be used within FileViewer");
|
|
2738
|
-
return e;
|
|
2739
|
-
}, an = (e) => {
|
|
2740
|
-
let t = s(36), { meta: r, menu: i, setMenu: a } = e, { t: c } = O(), { fileMetas: l, onDelete: u, actions: d } = rn(), { confirm: f } = o(), p;
|
|
2741
|
-
t[0] === a ? p = t[1] : (p = () => {
|
|
2742
|
-
a(null);
|
|
2743
|
-
}, t[0] = a, t[1] = p);
|
|
2744
|
-
let m = p, h;
|
|
2745
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (h = n.file.download(), t[2] = h) : h = t[2];
|
|
2746
|
-
let { mutate: g, isPending: _ } = re(h), C;
|
|
2747
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (C = n.file.delete(), t[3] = C) : C = t[3];
|
|
2748
|
-
let { mutate: w, isPending: T } = re(C), E;
|
|
2749
|
-
t[4] !== g || t[5] !== m || t[6] !== r ? (E = () => {
|
|
2750
|
-
m(), g(r);
|
|
2751
|
-
}, t[4] = g, t[5] = m, t[6] = r, t[7] = E) : E = t[7];
|
|
2752
|
-
let D = E, k;
|
|
2753
|
-
t[8] !== f || t[9] !== w || t[10] !== l || t[11] !== m || t[12] !== r || t[13] !== u || t[14] !== c ? (k = async () => {
|
|
2754
|
-
await f(c("Layout.File.AreYouSureYouWantToDelete", { fileName: r.fileName })) && (w(r), m(), u && u({
|
|
2755
|
-
remainingFileMetas: l.filter((e) => e.id !== r.id),
|
|
2756
|
-
deletedFileMeta: r
|
|
2757
|
-
}));
|
|
2758
|
-
}, t[8] = f, t[9] = w, t[10] = l, t[11] = m, t[12] = r, t[13] = u, t[14] = c, t[15] = k) : k = t[15];
|
|
2759
|
-
let A = k, j = i !== null, M;
|
|
2760
|
-
t[16] === i ? M = t[17] : (M = i === null ? void 0 : {
|
|
2761
|
-
top: i.mouseY,
|
|
2762
|
-
left: i.mouseX
|
|
2763
|
-
}, t[16] = i, t[17] = M);
|
|
2764
|
-
let N;
|
|
2765
|
-
t[18] !== d?.download || t[19] !== D || t[20] !== _ || t[21] !== c ? (N = d?.download !== !1 && /* @__PURE__ */ V(y, {
|
|
2766
|
-
onClick: D,
|
|
2767
|
-
disabled: _,
|
|
2768
|
-
children: [/* @__PURE__ */ B(b, { children: /* @__PURE__ */ B(W, {}) }), /* @__PURE__ */ B(x, { children: c("Layout.File.Download") })]
|
|
2769
|
-
}), t[18] = d?.download, t[19] = D, t[20] = _, t[21] = c, t[22] = N) : N = t[22];
|
|
2770
|
-
let P;
|
|
2771
|
-
t[23] !== d?.delete || t[24] !== A || t[25] !== T || t[26] !== c ? (P = d?.delete !== !1 && /* @__PURE__ */ V(y, {
|
|
2772
|
-
onClick: A,
|
|
2773
|
-
disabled: T,
|
|
2774
|
-
children: [/* @__PURE__ */ B(b, { children: /* @__PURE__ */ B(ce, {}) }), /* @__PURE__ */ B(x, { children: c("Layout.File.Delete") })]
|
|
2775
|
-
}), t[23] = d?.delete, t[24] = A, t[25] = T, t[26] = c, t[27] = P) : P = t[27];
|
|
2776
|
-
let F;
|
|
2777
|
-
t[28] !== N || t[29] !== P ? (F = /* @__PURE__ */ V(v, {
|
|
2778
|
-
disablePadding: !0,
|
|
2779
|
-
children: [N, P]
|
|
2780
|
-
}), t[28] = N, t[29] = P, t[30] = F) : F = t[30];
|
|
2781
|
-
let I;
|
|
2782
|
-
return t[31] !== m || t[32] !== F || t[33] !== j || t[34] !== M ? (I = /* @__PURE__ */ B(S, {
|
|
2783
|
-
open: j,
|
|
2784
|
-
onClose: m,
|
|
2785
|
-
anchorReference: "anchorPosition",
|
|
2786
|
-
variant: "menu",
|
|
2787
|
-
anchorPosition: M,
|
|
2788
|
-
children: F
|
|
2789
|
-
}), t[31] = m, t[32] = F, t[33] = j, t[34] = M, t[35] = I) : I = t[35], I;
|
|
2790
|
-
}, on = 150, sn = (e) => {
|
|
2791
|
-
let t = s(12), { sx: n, size: r, itemBar: i } = e, { fileMetas: a } = rn(), o;
|
|
2792
|
-
t[0] === n ? o = t[1] : (o = {
|
|
2793
|
-
overflow: "auto",
|
|
2794
|
-
...n
|
|
2795
|
-
}, t[0] = n, t[1] = o);
|
|
2796
|
-
let c;
|
|
2797
|
-
if (t[2] !== a || t[3] !== i || t[4] !== r) {
|
|
2798
|
-
let e;
|
|
2799
|
-
t[6] !== i || t[7] !== r ? (e = (e) => /* @__PURE__ */ B(cn, {
|
|
2800
|
-
meta: e,
|
|
2801
|
-
size: r,
|
|
2802
|
-
itemBar: i
|
|
2803
|
-
}, e.id), t[6] = i, t[7] = r, t[8] = e) : e = t[8], c = a.map(e), t[2] = a, t[3] = i, t[4] = r, t[5] = c;
|
|
2804
|
-
} else c = t[5];
|
|
2805
|
-
let l;
|
|
2806
|
-
return t[9] !== o || t[10] !== c ? (l = /* @__PURE__ */ B(C, {
|
|
2807
|
-
direction: "row",
|
|
2808
|
-
spacing: 1,
|
|
2809
|
-
sx: o,
|
|
2810
|
-
children: c
|
|
2811
|
-
}), t[9] = o, t[10] = c, t[11] = l) : l = t[11], l;
|
|
2812
|
-
}, cn = (e) => {
|
|
2813
|
-
let t = s(54), { meta: r, size: i, itemBar: o } = e, { setImageId: l, actions: u } = rn(), [d, f] = z(o === "always"), [p, _] = z(null), { ref: v, inView: y } = a(), b = ie(), x, S;
|
|
2814
|
-
t[0] === o ? (x = t[1], S = t[2]) : (x = () => {
|
|
2815
|
-
f(o === "always");
|
|
2816
|
-
}, S = [o], t[0] = o, t[1] = x, t[2] = S), F(x, S);
|
|
2817
|
-
let C;
|
|
2818
|
-
t[3] === r ? C = t[4] : (C = n.file.thumbnail({ meta: r }), t[3] = r, t[4] = C);
|
|
2819
|
-
let w;
|
|
2820
|
-
t[5] !== y || t[6] !== C ? (w = {
|
|
2821
|
-
...C,
|
|
2822
|
-
enabled: y
|
|
2823
|
-
}, t[5] = y, t[6] = C, t[7] = w) : w = t[7];
|
|
2824
|
-
let { data: E } = U(w), D;
|
|
2825
|
-
t[8] === Symbol.for("react.memo_cache_sentinel") ? (D = () => f(!0), t[8] = D) : D = t[8];
|
|
2826
|
-
let O = D, k;
|
|
2827
|
-
t[9] === o ? k = t[10] : (k = () => o !== "always" && f(!1), t[9] = o, t[10] = k);
|
|
2828
|
-
let j = k, M;
|
|
2829
|
-
t[11] === p ? M = t[12] : (M = (e) => {
|
|
2830
|
-
_(p === null ? {
|
|
2831
|
-
mouseX: e.clientX,
|
|
2832
|
-
mouseY: e.clientY
|
|
2833
|
-
} : null), setTimeout(() => f(!0));
|
|
2834
|
-
}, t[11] = p, t[12] = M);
|
|
2835
|
-
let N = M, P;
|
|
2836
|
-
t[13] === Symbol.for("react.memo_cache_sentinel") ? (P = n.file.open(), t[13] = P) : P = t[13];
|
|
2837
|
-
let { mutate: I } = re(P), ee;
|
|
2838
|
-
t[14] === Symbol.for("react.memo_cache_sentinel") ? (ee = n.file.download(), t[14] = ee) : ee = t[14];
|
|
2839
|
-
let { mutate: te } = re(ee), L;
|
|
2840
|
-
t[15] !== te || t[16] !== r || t[17] !== I || t[18] !== l ? (L = () => {
|
|
2841
|
-
switch (r.mediaType) {
|
|
2842
|
-
case "image": return l(r.id);
|
|
2843
|
-
case "application": return I(r);
|
|
2844
|
-
case "video": return I(r);
|
|
2845
|
-
default: return te(r);
|
|
2846
|
-
}
|
|
2847
|
-
}, t[15] = te, t[16] = r, t[17] = I, t[18] = l, t[19] = L) : L = t[19];
|
|
2848
|
-
let ne = L, R = i ?? on, H = i ?? on, ae;
|
|
2849
|
-
t[20] !== R || t[21] !== H ? (ae = {
|
|
2850
|
-
width: R,
|
|
2851
|
-
height: H
|
|
2852
|
-
}, t[20] = R, t[21] = H, t[22] = ae) : ae = t[22];
|
|
2853
|
-
let ce = "thumbnail-" + r.id, W;
|
|
2854
|
-
t[23] !== r || t[24] !== b ? (W = () => b.prefetchQuery(n.file.getOne({ meta: r })), t[23] = r, t[24] = b, t[25] = W) : W = t[25];
|
|
2855
|
-
let le = i ?? on, ue = i ?? on, G;
|
|
2856
|
-
t[26] !== le || t[27] !== ue ? (G = {
|
|
2857
|
-
cursor: "pointer",
|
|
2858
|
-
objectFit: "contain",
|
|
2859
|
-
width: le,
|
|
2860
|
-
height: ue
|
|
2861
|
-
}, t[26] = le, t[27] = ue, t[28] = G) : G = t[28];
|
|
2862
|
-
let K;
|
|
2863
|
-
t[29] !== ne || t[30] !== E || t[31] !== ce || t[32] !== W || t[33] !== G ? (K = /* @__PURE__ */ B(c, {
|
|
2864
|
-
component: "img",
|
|
2865
|
-
src: E,
|
|
2866
|
-
loading: "lazy",
|
|
2867
|
-
alt: ce,
|
|
2868
|
-
onClick: ne,
|
|
2869
|
-
onMouseEnter: W,
|
|
2870
|
-
sx: G
|
|
2871
|
-
}), t[29] = ne, t[30] = E, t[31] = ce, t[32] = W, t[33] = G, t[34] = K) : K = t[34];
|
|
2872
|
-
let q;
|
|
2873
|
-
t[35] !== u || t[36] !== o || t[37] !== r.fileName || t[38] !== N || t[39] !== d ? (q = o !== "hidden" && d && /* @__PURE__ */ B(g, {
|
|
2874
|
-
title: /* @__PURE__ */ B(T, {
|
|
2875
|
-
title: r.fileName,
|
|
2876
|
-
children: /* @__PURE__ */ B(c, { children: r.fileName })
|
|
2877
|
-
}),
|
|
2878
|
-
actionIcon: (u?.download !== !1 || u.delete !== !1) && /* @__PURE__ */ B(m, {
|
|
2879
|
-
sx: { color: se[100] },
|
|
2880
|
-
onClick: N,
|
|
2881
|
-
children: /* @__PURE__ */ B(oe, {})
|
|
2882
|
-
})
|
|
2883
|
-
}), t[35] = u, t[36] = o, t[37] = r.fileName, t[38] = N, t[39] = d, t[40] = q) : q = t[40];
|
|
2884
|
-
let J;
|
|
2885
|
-
t[41] !== j || t[42] !== v || t[43] !== ae || t[44] !== K || t[45] !== q ? (J = /* @__PURE__ */ V(h, {
|
|
2886
|
-
sx: ae,
|
|
2887
|
-
onMouseEnter: O,
|
|
2888
|
-
onMouseLeave: j,
|
|
2889
|
-
ref: v,
|
|
2890
|
-
children: [K, q]
|
|
2891
|
-
}), t[41] = j, t[42] = v, t[43] = ae, t[44] = K, t[45] = q, t[46] = J) : J = t[46];
|
|
2892
|
-
let Y;
|
|
2893
|
-
t[47] !== u || t[48] !== p || t[49] !== r ? (Y = (u?.download !== !1 || u.delete !== !1) && /* @__PURE__ */ B(an, {
|
|
2894
|
-
meta: r,
|
|
2895
|
-
menu: p,
|
|
2896
|
-
setMenu: _
|
|
2897
|
-
}), t[47] = u, t[48] = p, t[49] = r, t[50] = Y) : Y = t[50];
|
|
2898
|
-
let X;
|
|
2899
|
-
return t[51] !== J || t[52] !== Y ? (X = /* @__PURE__ */ V(A, { children: [J, Y] }), t[51] = J, t[52] = Y, t[53] = X) : X = t[53], X;
|
|
2900
|
-
}, ln = (e) => {
|
|
2901
|
-
let t = s(5), { sx: n } = e, { fileMetas: r } = rn(), i;
|
|
2902
|
-
t[0] === r ? i = t[1] : (i = r.map(dn), t[0] = r, t[1] = i);
|
|
2903
|
-
let a;
|
|
2904
|
-
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ B(v, {
|
|
2905
|
-
dense: !0,
|
|
2906
|
-
sx: n,
|
|
2907
|
-
children: i
|
|
2908
|
-
}), t[2] = n, t[3] = i, t[4] = a) : a = t[4], a;
|
|
2909
|
-
}, un = (e) => {
|
|
2910
|
-
let t = s(35), { meta: r } = e, { setImageId: i, actions: a } = rn(), [o, c] = z(null), l = ie(), u;
|
|
2911
|
-
t[0] === o ? u = t[1] : (u = (e) => {
|
|
2912
|
-
e.stopPropagation(), c(o === null ? {
|
|
2913
|
-
mouseX: e.clientX,
|
|
2914
|
-
mouseY: e.clientY
|
|
2915
|
-
} : null);
|
|
2916
|
-
}, t[0] = o, t[1] = u);
|
|
2917
|
-
let d = u, f;
|
|
2918
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (f = n.file.open(), t[2] = f) : f = t[2];
|
|
2919
|
-
let { mutate: p } = re(f), h;
|
|
2920
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (h = n.file.download(), t[3] = h) : h = t[3];
|
|
2921
|
-
let { mutate: g } = re(h), _;
|
|
2922
|
-
t[4] !== g || t[5] !== r || t[6] !== p || t[7] !== i ? (_ = () => {
|
|
2923
|
-
switch (r.mediaType) {
|
|
2924
|
-
case "image": return i(r.id);
|
|
2925
|
-
case "application": return p(r);
|
|
2926
|
-
case "video": return p(r);
|
|
2927
|
-
default: return g(r);
|
|
2928
|
-
}
|
|
2929
|
-
}, t[4] = g, t[5] = r, t[6] = p, t[7] = i, t[8] = _) : _ = t[8];
|
|
2930
|
-
let v = _, S;
|
|
2931
|
-
t[9] === r.mediaType ? S = t[10] : (S = () => {
|
|
2932
|
-
switch (r.mediaType) {
|
|
2933
|
-
case "image": return /* @__PURE__ */ B(ue, {});
|
|
2934
|
-
case "video": return /* @__PURE__ */ B(G, {});
|
|
2935
|
-
default: return /* @__PURE__ */ B(le, {});
|
|
2936
|
-
}
|
|
2937
|
-
}, t[9] = r.mediaType, t[10] = S);
|
|
2938
|
-
let C = S, w;
|
|
2939
|
-
t[11] !== r || t[12] !== l ? (w = () => l.prefetchQuery(n.file.getOne({ meta: r })), t[11] = r, t[12] = l, t[13] = w) : w = t[13];
|
|
2940
|
-
let T;
|
|
2941
|
-
t[14] === C ? T = t[15] : (T = /* @__PURE__ */ B(b, { children: C() }), t[14] = C, t[15] = T);
|
|
2942
|
-
let E = `${r.fileName}.${r.fileExtension}`, D;
|
|
2943
|
-
t[16] === E ? D = t[17] : (D = /* @__PURE__ */ B(x, { primary: E }), t[16] = E, t[17] = D);
|
|
2944
|
-
let O;
|
|
2945
|
-
t[18] !== a || t[19] !== d ? (O = (a?.download !== !1 || a.delete !== !1) && /* @__PURE__ */ B(m, {
|
|
2946
|
-
edge: "end",
|
|
2947
|
-
onClick: d,
|
|
2948
|
-
children: /* @__PURE__ */ B(oe, {})
|
|
2949
|
-
}), t[18] = a, t[19] = d, t[20] = O) : O = t[20];
|
|
2950
|
-
let k;
|
|
2951
|
-
t[21] !== r.id || t[22] !== v || t[23] !== O || t[24] !== w || t[25] !== T || t[26] !== D ? (k = /* @__PURE__ */ V(y, {
|
|
2952
|
-
onClick: v,
|
|
2953
|
-
onMouseEnter: w,
|
|
2954
|
-
children: [
|
|
2955
|
-
T,
|
|
2956
|
-
D,
|
|
2957
|
-
O
|
|
2958
|
-
]
|
|
2959
|
-
}, r.id), t[21] = r.id, t[22] = v, t[23] = O, t[24] = w, t[25] = T, t[26] = D, t[27] = k) : k = t[27];
|
|
2960
|
-
let j;
|
|
2961
|
-
t[28] !== a || t[29] !== o || t[30] !== r ? (j = (a?.download !== !1 || a.delete !== !1) && /* @__PURE__ */ B(an, {
|
|
2962
|
-
meta: r,
|
|
2963
|
-
menu: o,
|
|
2964
|
-
setMenu: c
|
|
2965
|
-
}), t[28] = a, t[29] = o, t[30] = r, t[31] = j) : j = t[31];
|
|
2966
|
-
let M;
|
|
2967
|
-
return t[32] !== k || t[33] !== j ? (M = /* @__PURE__ */ V(A, { children: [k, j] }), t[32] = k, t[33] = j, t[34] = M) : M = t[34], M;
|
|
872
|
+
$[29] = actions;
|
|
873
|
+
$[30] = menu;
|
|
874
|
+
$[31] = meta;
|
|
875
|
+
$[32] = t12;
|
|
876
|
+
} else t12 = $[32];
|
|
877
|
+
let t13;
|
|
878
|
+
if ($[33] !== t11 || $[34] !== t12) {
|
|
879
|
+
t13 = /* @__PURE__ */ jsxs(Fragment, { children: [t11, t12] });
|
|
880
|
+
$[33] = t11;
|
|
881
|
+
$[34] = t12;
|
|
882
|
+
$[35] = t13;
|
|
883
|
+
} else t13 = $[35];
|
|
884
|
+
return t13;
|
|
2968
885
|
};
|
|
2969
|
-
function
|
|
2970
|
-
return /* @__PURE__ */
|
|
886
|
+
function _temp(fileMeta) {
|
|
887
|
+
return /* @__PURE__ */ jsx(ListFileViewerItem, { meta: fileMeta }, fileMeta.id);
|
|
2971
888
|
}
|
|
2972
889
|
//#endregion
|
|
2973
890
|
//#region src/components/file/fileViewer/ImageViewer.tsx
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
891
|
+
const ImageViewer = ({ metaId }) => {
|
|
892
|
+
const { fileMetas, setImageId } = useFile();
|
|
893
|
+
const meta = fileMetas.find((m) => m.id === metaId);
|
|
894
|
+
const { data: source } = useQuery(query.file.getOne({ meta }));
|
|
895
|
+
useEffect(() => {
|
|
896
|
+
if (metaId) globalThis.addEventListener("keydown", handleOnKeydown);
|
|
897
|
+
return () => {
|
|
898
|
+
globalThis.removeEventListener("keydown", handleOnKeydown);
|
|
899
|
+
};
|
|
900
|
+
}, [metaId]);
|
|
901
|
+
const handleOnKeydown = (event) => {
|
|
902
|
+
const images = fileMetas.filter((m_0) => m_0.mediaType === "image");
|
|
903
|
+
const imageIndex = images.findIndex((m_1) => m_1.id === metaId);
|
|
904
|
+
switch (event.key) {
|
|
905
|
+
case "ArrowLeft": return handleOnArrowLeft(images, imageIndex);
|
|
906
|
+
case "ArrowRight": return handleOnArrowRight(images, imageIndex);
|
|
2984
907
|
case "Backspace":
|
|
2985
|
-
case "Escape":
|
|
908
|
+
case "Escape":
|
|
909
|
+
event.preventDefault();
|
|
910
|
+
return onClose();
|
|
2986
911
|
}
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
912
|
+
};
|
|
913
|
+
const handleOnArrowLeft = (images_0, index) => {
|
|
914
|
+
if (index > 0) {
|
|
915
|
+
const previousFile = images_0[index - 1];
|
|
916
|
+
setImageId(previousFile.id);
|
|
2991
917
|
}
|
|
2992
|
-
}
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
918
|
+
};
|
|
919
|
+
const handleOnArrowRight = (images_1, index_0) => {
|
|
920
|
+
if (index_0 < images_1.length - 1) {
|
|
921
|
+
const nextFile = images_1[index_0 + 1];
|
|
922
|
+
setImageId(nextFile.id);
|
|
2996
923
|
}
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
924
|
+
};
|
|
925
|
+
const onClose = () => setImageId("");
|
|
926
|
+
if (!metaId) return null;
|
|
927
|
+
return /* @__PURE__ */ jsxs(Dialog, {
|
|
928
|
+
open: true,
|
|
929
|
+
onClose,
|
|
3001
930
|
maxWidth: "xl",
|
|
3002
|
-
children: [/* @__PURE__ */
|
|
931
|
+
children: [/* @__PURE__ */ jsx(Box, {
|
|
3003
932
|
component: "img",
|
|
3004
|
-
src:
|
|
3005
|
-
alt:
|
|
933
|
+
src: source,
|
|
934
|
+
alt: metaId,
|
|
3006
935
|
sx: {
|
|
3007
936
|
maxWidth: "100vw",
|
|
3008
937
|
maxHeight: {
|
|
@@ -3010,247 +939,577 @@ var fn = ({ metaId: e }) => {
|
|
|
3010
939
|
sm: "calc(100vh - 64px)"
|
|
3011
940
|
}
|
|
3012
941
|
}
|
|
3013
|
-
}), /* @__PURE__ */
|
|
942
|
+
}), /* @__PURE__ */ jsx(Fab, {
|
|
3014
943
|
size: "medium",
|
|
3015
|
-
onClick:
|
|
944
|
+
onClick: onClose,
|
|
3016
945
|
sx: {
|
|
3017
946
|
position: "fixed",
|
|
3018
947
|
top: 8,
|
|
3019
948
|
right: 8
|
|
3020
949
|
},
|
|
3021
|
-
children: /* @__PURE__ */
|
|
950
|
+
children: /* @__PURE__ */ jsx(Close, {})
|
|
3022
951
|
})]
|
|
3023
|
-
})
|
|
3024
|
-
}
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
let
|
|
3035
|
-
if (
|
|
3036
|
-
|
|
952
|
+
});
|
|
953
|
+
};
|
|
954
|
+
//#endregion
|
|
955
|
+
//#region src/components/file/FileViewer.tsx
|
|
956
|
+
const FileViewer = (t0) => {
|
|
957
|
+
const $ = c(27);
|
|
958
|
+
if ($[0] !== "1fc590339866fd082bb6bd43ba68c115aa74351506f0ea013495a119fe115495") {
|
|
959
|
+
for (let $i = 0; $i < 27; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
960
|
+
$[0] = "1fc590339866fd082bb6bd43ba68c115aa74351506f0ea013495a119fe115495";
|
|
961
|
+
}
|
|
962
|
+
const { subId, onDelete, actions, children } = t0;
|
|
963
|
+
let t1;
|
|
964
|
+
if ($[1] !== subId) {
|
|
965
|
+
t1 = query.file.metas({ subId });
|
|
966
|
+
$[1] = subId;
|
|
967
|
+
$[2] = t1;
|
|
968
|
+
} else t1 = $[2];
|
|
969
|
+
const t2 = !!subId;
|
|
970
|
+
let t3;
|
|
971
|
+
if ($[3] !== t1 || $[4] !== t2) {
|
|
972
|
+
t3 = {
|
|
973
|
+
...t1,
|
|
974
|
+
enabled: t2
|
|
975
|
+
};
|
|
976
|
+
$[3] = t1;
|
|
977
|
+
$[4] = t2;
|
|
978
|
+
$[5] = t3;
|
|
979
|
+
} else t3 = $[5];
|
|
980
|
+
const { data: t4 } = useQuery(t3);
|
|
981
|
+
let t5;
|
|
982
|
+
if ($[6] !== t4) {
|
|
983
|
+
t5 = t4 === void 0 ? [] : t4;
|
|
984
|
+
$[6] = t4;
|
|
985
|
+
$[7] = t5;
|
|
986
|
+
} else t5 = $[7];
|
|
987
|
+
const fileMetas = t5;
|
|
988
|
+
const [imageId, setImageId] = useState("");
|
|
989
|
+
let T0;
|
|
990
|
+
let t6;
|
|
991
|
+
let t7;
|
|
992
|
+
let t8;
|
|
993
|
+
if ($[8] !== actions || $[9] !== children || $[10] !== fileMetas || $[11] !== onDelete) {
|
|
994
|
+
t8 = Symbol.for("react.early_return_sentinel");
|
|
3037
995
|
bb0: {
|
|
3038
|
-
|
|
3039
|
-
Grid:
|
|
3040
|
-
List:
|
|
996
|
+
const components = {
|
|
997
|
+
Grid: FileViewerGrid,
|
|
998
|
+
List: FileViewerList
|
|
3041
999
|
};
|
|
3042
|
-
if (
|
|
3043
|
-
|
|
1000
|
+
if (fileMetas.length === 0) {
|
|
1001
|
+
t8 = null;
|
|
3044
1002
|
break bb0;
|
|
3045
1003
|
}
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
1004
|
+
T0 = FileContext.Provider;
|
|
1005
|
+
if ($[16] !== actions || $[17] !== fileMetas || $[18] !== onDelete) {
|
|
1006
|
+
t6 = {
|
|
1007
|
+
fileMetas,
|
|
1008
|
+
onDelete,
|
|
1009
|
+
actions,
|
|
1010
|
+
setImageId
|
|
1011
|
+
};
|
|
1012
|
+
$[16] = actions;
|
|
1013
|
+
$[17] = fileMetas;
|
|
1014
|
+
$[18] = onDelete;
|
|
1015
|
+
$[19] = t6;
|
|
1016
|
+
} else t6 = $[19];
|
|
1017
|
+
t7 = children(components);
|
|
3052
1018
|
}
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
let a;
|
|
3067
|
-
t[0] === i ? a = t[1] : (a = (e) => i ? i(e) : e, t[0] = i, t[1] = a);
|
|
3068
|
-
let o = a;
|
|
3069
|
-
if (mn(n.value)) {
|
|
3070
|
-
let e;
|
|
3071
|
-
t[2] === n.colDef.computedWidth ? e = t[3] : (e = {
|
|
3072
|
-
overflowX: "auto",
|
|
3073
|
-
height: "100%",
|
|
3074
|
-
width: n.colDef.computedWidth
|
|
3075
|
-
}, t[2] = n.colDef.computedWidth, t[3] = e);
|
|
3076
|
-
let i;
|
|
3077
|
-
if (t[4] !== o || t[5] !== n.value || t[6] !== r) {
|
|
3078
|
-
let e;
|
|
3079
|
-
t[8] !== o || t[9] !== r ? (e = (e, t) => /* @__PURE__ */ B(u, {
|
|
3080
|
-
label: o(e),
|
|
3081
|
-
...r
|
|
3082
|
-
}, `${t + 1}-chip-input-cell`), t[8] = o, t[9] = r, t[10] = e) : e = t[10], i = n.value.map(e), t[4] = o, t[5] = n.value, t[6] = r, t[7] = i;
|
|
3083
|
-
} else i = t[7];
|
|
3084
|
-
let a;
|
|
3085
|
-
return t[11] !== e || t[12] !== i ? (a = /* @__PURE__ */ B(C, {
|
|
3086
|
-
direction: "row",
|
|
3087
|
-
alignItems: "center",
|
|
3088
|
-
gap: 1,
|
|
3089
|
-
sx: e,
|
|
3090
|
-
children: i
|
|
3091
|
-
}), t[11] = e, t[12] = i, t[13] = a) : a = t[13], a;
|
|
1019
|
+
$[8] = actions;
|
|
1020
|
+
$[9] = children;
|
|
1021
|
+
$[10] = fileMetas;
|
|
1022
|
+
$[11] = onDelete;
|
|
1023
|
+
$[12] = T0;
|
|
1024
|
+
$[13] = t6;
|
|
1025
|
+
$[14] = t7;
|
|
1026
|
+
$[15] = t8;
|
|
1027
|
+
} else {
|
|
1028
|
+
T0 = $[12];
|
|
1029
|
+
t6 = $[13];
|
|
1030
|
+
t7 = $[14];
|
|
1031
|
+
t8 = $[15];
|
|
3092
1032
|
}
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
}
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
}
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
}
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
}
|
|
3160
|
-
|
|
3161
|
-
|
|
1033
|
+
if (t8 !== Symbol.for("react.early_return_sentinel")) return t8;
|
|
1034
|
+
let t9;
|
|
1035
|
+
if ($[20] !== imageId) {
|
|
1036
|
+
t9 = /* @__PURE__ */ jsx(ImageViewer, { metaId: imageId });
|
|
1037
|
+
$[20] = imageId;
|
|
1038
|
+
$[21] = t9;
|
|
1039
|
+
} else t9 = $[21];
|
|
1040
|
+
let t10;
|
|
1041
|
+
if ($[22] !== T0 || $[23] !== t6 || $[24] !== t7 || $[25] !== t9) {
|
|
1042
|
+
t10 = /* @__PURE__ */ jsxs(T0, {
|
|
1043
|
+
value: t6,
|
|
1044
|
+
children: [t7, t9]
|
|
1045
|
+
});
|
|
1046
|
+
$[22] = T0;
|
|
1047
|
+
$[23] = t6;
|
|
1048
|
+
$[24] = t7;
|
|
1049
|
+
$[25] = t9;
|
|
1050
|
+
$[26] = t10;
|
|
1051
|
+
} else t10 = $[26];
|
|
1052
|
+
return t10;
|
|
1053
|
+
};
|
|
1054
|
+
//#endregion
|
|
1055
|
+
//#region src/components/data-grid/ChipInputCell.tsx
|
|
1056
|
+
const isArray = (value) => Array.isArray(value);
|
|
1057
|
+
const ChipInputCell = (t0) => {
|
|
1058
|
+
const $ = c(21);
|
|
1059
|
+
if ($[0] !== "ebd026ef7b2b058bdb41c547491f28ac20bf350e7dcbb4d506fa4c0ec63a0b52") {
|
|
1060
|
+
for (let $i = 0; $i < 21; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1061
|
+
$[0] = "ebd026ef7b2b058bdb41c547491f28ac20bf350e7dcbb4d506fa4c0ec63a0b52";
|
|
1062
|
+
}
|
|
1063
|
+
const { params, slotProps, getLabel } = t0;
|
|
1064
|
+
if (!params.value) return null;
|
|
1065
|
+
let t1;
|
|
1066
|
+
if ($[1] !== getLabel) {
|
|
1067
|
+
t1 = (value) => {
|
|
1068
|
+
if (getLabel) return getLabel(value);
|
|
1069
|
+
return value;
|
|
1070
|
+
};
|
|
1071
|
+
$[1] = getLabel;
|
|
1072
|
+
$[2] = t1;
|
|
1073
|
+
} else t1 = $[2];
|
|
1074
|
+
const getLabelValue = t1;
|
|
1075
|
+
if (isArray(params.value)) {
|
|
1076
|
+
let t2;
|
|
1077
|
+
if ($[3] !== params.colDef.computedWidth) {
|
|
1078
|
+
t2 = {
|
|
1079
|
+
alignItems: "center",
|
|
1080
|
+
gap: 1,
|
|
1081
|
+
overflowX: "auto",
|
|
1082
|
+
height: "100%",
|
|
1083
|
+
width: params.colDef.computedWidth
|
|
1084
|
+
};
|
|
1085
|
+
$[3] = params.colDef.computedWidth;
|
|
1086
|
+
$[4] = t2;
|
|
1087
|
+
} else t2 = $[4];
|
|
1088
|
+
let t3;
|
|
1089
|
+
if ($[5] !== getLabelValue || $[6] !== params.value || $[7] !== slotProps) {
|
|
1090
|
+
let t4;
|
|
1091
|
+
if ($[9] !== getLabelValue || $[10] !== slotProps) {
|
|
1092
|
+
t4 = (value_0, index) => /* @__PURE__ */ jsx(Chip, {
|
|
1093
|
+
label: getLabelValue(value_0),
|
|
1094
|
+
...slotProps
|
|
1095
|
+
}, `${index + 1}-chip-input-cell`);
|
|
1096
|
+
$[9] = getLabelValue;
|
|
1097
|
+
$[10] = slotProps;
|
|
1098
|
+
$[11] = t4;
|
|
1099
|
+
} else t4 = $[11];
|
|
1100
|
+
t3 = params.value.map(t4);
|
|
1101
|
+
$[5] = getLabelValue;
|
|
1102
|
+
$[6] = params.value;
|
|
1103
|
+
$[7] = slotProps;
|
|
1104
|
+
$[8] = t3;
|
|
1105
|
+
} else t3 = $[8];
|
|
1106
|
+
let t4;
|
|
1107
|
+
if ($[12] !== t2 || $[13] !== t3) {
|
|
1108
|
+
t4 = /* @__PURE__ */ jsx(Stack, {
|
|
1109
|
+
direction: "row",
|
|
1110
|
+
sx: t2,
|
|
1111
|
+
children: t3
|
|
1112
|
+
});
|
|
1113
|
+
$[12] = t2;
|
|
1114
|
+
$[13] = t3;
|
|
1115
|
+
$[14] = t4;
|
|
1116
|
+
} else t4 = $[14];
|
|
1117
|
+
return t4;
|
|
1118
|
+
}
|
|
1119
|
+
let t2;
|
|
1120
|
+
if ($[15] !== getLabelValue || $[16] !== params.value) {
|
|
1121
|
+
t2 = getLabelValue(params.value);
|
|
1122
|
+
$[15] = getLabelValue;
|
|
1123
|
+
$[16] = params.value;
|
|
1124
|
+
$[17] = t2;
|
|
1125
|
+
} else t2 = $[17];
|
|
1126
|
+
let t3;
|
|
1127
|
+
if ($[18] !== slotProps || $[19] !== t2) {
|
|
1128
|
+
t3 = /* @__PURE__ */ jsx(Chip, {
|
|
1129
|
+
label: t2,
|
|
1130
|
+
...slotProps
|
|
1131
|
+
});
|
|
1132
|
+
$[18] = slotProps;
|
|
1133
|
+
$[19] = t2;
|
|
1134
|
+
$[20] = t3;
|
|
1135
|
+
} else t3 = $[20];
|
|
1136
|
+
return t3;
|
|
1137
|
+
};
|
|
1138
|
+
//#endregion
|
|
1139
|
+
//#region src/components/data-grid/EditableColumnHeader.tsx
|
|
1140
|
+
const EditableColumnHeader = (t0) => {
|
|
1141
|
+
const $ = c(4);
|
|
1142
|
+
if ($[0] !== "6a15ed1416d709da03e45c16a891abdc148cf158eccf7a8f811dad6581ee54b2") {
|
|
1143
|
+
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1144
|
+
$[0] = "6a15ed1416d709da03e45c16a891abdc148cf158eccf7a8f811dad6581ee54b2";
|
|
1145
|
+
}
|
|
1146
|
+
const { colDef } = t0;
|
|
1147
|
+
let t1;
|
|
1148
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1149
|
+
t1 = /* @__PURE__ */ jsx(Edit, {
|
|
1150
|
+
color: "disabled",
|
|
1151
|
+
fontSize: "small"
|
|
1152
|
+
});
|
|
1153
|
+
$[1] = t1;
|
|
1154
|
+
} else t1 = $[1];
|
|
1155
|
+
let t2;
|
|
1156
|
+
if ($[2] !== colDef.headerName) {
|
|
1157
|
+
t2 = /* @__PURE__ */ jsx(TypographyWithIcon, {
|
|
1158
|
+
endIcon: t1,
|
|
1159
|
+
variant: "body2",
|
|
1160
|
+
className: "MuiDataGrid-columnHeaderTitle",
|
|
1161
|
+
children: colDef.headerName
|
|
1162
|
+
});
|
|
1163
|
+
$[2] = colDef.headerName;
|
|
1164
|
+
$[3] = t2;
|
|
1165
|
+
} else t2 = $[3];
|
|
1166
|
+
return t2;
|
|
1167
|
+
};
|
|
1168
|
+
//#endregion
|
|
1169
|
+
//#region src/components/router/RouterButton.tsx
|
|
1170
|
+
const CreatedComponent$4 = createLink(React.forwardRef(function ButtonComponent(props, reference) {
|
|
1171
|
+
const $ = c(4);
|
|
1172
|
+
if ($[0] !== "ac6204c9fa419bc8efad3ebea0df725f19f2cc476a09c695e535caec26527133") {
|
|
1173
|
+
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1174
|
+
$[0] = "ac6204c9fa419bc8efad3ebea0df725f19f2cc476a09c695e535caec26527133";
|
|
1175
|
+
}
|
|
1176
|
+
let t0;
|
|
1177
|
+
if ($[1] !== props || $[2] !== reference) {
|
|
1178
|
+
t0 = /* @__PURE__ */ jsx(Button, {
|
|
1179
|
+
ref: reference,
|
|
1180
|
+
component: "a",
|
|
1181
|
+
...props
|
|
1182
|
+
});
|
|
1183
|
+
$[1] = props;
|
|
1184
|
+
$[2] = reference;
|
|
1185
|
+
$[3] = t0;
|
|
1186
|
+
} else t0 = $[3];
|
|
1187
|
+
return t0;
|
|
1188
|
+
}));
|
|
1189
|
+
const RouterButton = (props) => {
|
|
1190
|
+
const $ = c(3);
|
|
1191
|
+
if ($[0] !== "ac6204c9fa419bc8efad3ebea0df725f19f2cc476a09c695e535caec26527133") {
|
|
1192
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1193
|
+
$[0] = "ac6204c9fa419bc8efad3ebea0df725f19f2cc476a09c695e535caec26527133";
|
|
1194
|
+
}
|
|
1195
|
+
let t0;
|
|
1196
|
+
if ($[1] !== props) {
|
|
1197
|
+
t0 = /* @__PURE__ */ jsx(CreatedComponent$4, { ...props });
|
|
1198
|
+
$[1] = props;
|
|
1199
|
+
$[2] = t0;
|
|
1200
|
+
} else t0 = $[2];
|
|
1201
|
+
return t0;
|
|
1202
|
+
};
|
|
1203
|
+
//#endregion
|
|
1204
|
+
//#region src/components/router/RouterFab.tsx
|
|
1205
|
+
const CreatedComponent$3 = createLink(React.forwardRef(function FabComponent(props, reference) {
|
|
1206
|
+
const $ = c(4);
|
|
1207
|
+
if ($[0] !== "ecf406c2f1df75bd8d4f8cc1e2a0841119cda75e807b28c7c03400a2d927c16b") {
|
|
1208
|
+
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1209
|
+
$[0] = "ecf406c2f1df75bd8d4f8cc1e2a0841119cda75e807b28c7c03400a2d927c16b";
|
|
1210
|
+
}
|
|
1211
|
+
let t0;
|
|
1212
|
+
if ($[1] !== props || $[2] !== reference) {
|
|
1213
|
+
t0 = /* @__PURE__ */ jsx(Fab, {
|
|
1214
|
+
ref: reference,
|
|
1215
|
+
component: "a",
|
|
1216
|
+
...props
|
|
1217
|
+
});
|
|
1218
|
+
$[1] = props;
|
|
1219
|
+
$[2] = reference;
|
|
1220
|
+
$[3] = t0;
|
|
1221
|
+
} else t0 = $[3];
|
|
1222
|
+
return t0;
|
|
1223
|
+
}));
|
|
1224
|
+
const RouterFab = (props) => {
|
|
1225
|
+
const $ = c(3);
|
|
1226
|
+
if ($[0] !== "ecf406c2f1df75bd8d4f8cc1e2a0841119cda75e807b28c7c03400a2d927c16b") {
|
|
1227
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1228
|
+
$[0] = "ecf406c2f1df75bd8d4f8cc1e2a0841119cda75e807b28c7c03400a2d927c16b";
|
|
1229
|
+
}
|
|
1230
|
+
let t0;
|
|
1231
|
+
if ($[1] !== props) {
|
|
1232
|
+
t0 = /* @__PURE__ */ jsx(CreatedComponent$3, { ...props });
|
|
1233
|
+
$[1] = props;
|
|
1234
|
+
$[2] = t0;
|
|
1235
|
+
} else t0 = $[2];
|
|
1236
|
+
return t0;
|
|
1237
|
+
};
|
|
1238
|
+
//#endregion
|
|
1239
|
+
//#region src/components/router/RouterGridActionsCellItem.tsx
|
|
1240
|
+
const CreatedComponent$2 = createLink(React.forwardRef(function GridActionsCellItemComponent(props, reference) {
|
|
1241
|
+
const $ = c(4);
|
|
1242
|
+
if ($[0] !== "fe0074f677567d6263d3c9001c809e24912c6a92680ef5ea22c5d1aebd696958") {
|
|
1243
|
+
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1244
|
+
$[0] = "fe0074f677567d6263d3c9001c809e24912c6a92680ef5ea22c5d1aebd696958";
|
|
1245
|
+
}
|
|
1246
|
+
let t0;
|
|
1247
|
+
if ($[1] !== props || $[2] !== reference) {
|
|
1248
|
+
t0 = /* @__PURE__ */ jsx(GridActionsCellItem, {
|
|
1249
|
+
ref: reference,
|
|
1250
|
+
component: "a",
|
|
1251
|
+
...props
|
|
1252
|
+
});
|
|
1253
|
+
$[1] = props;
|
|
1254
|
+
$[2] = reference;
|
|
1255
|
+
$[3] = t0;
|
|
1256
|
+
} else t0 = $[3];
|
|
1257
|
+
return t0;
|
|
1258
|
+
}));
|
|
1259
|
+
const RouterGridActionsCellItem = (props) => {
|
|
1260
|
+
const $ = c(3);
|
|
1261
|
+
if ($[0] !== "fe0074f677567d6263d3c9001c809e24912c6a92680ef5ea22c5d1aebd696958") {
|
|
1262
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1263
|
+
$[0] = "fe0074f677567d6263d3c9001c809e24912c6a92680ef5ea22c5d1aebd696958";
|
|
1264
|
+
}
|
|
1265
|
+
let t0;
|
|
1266
|
+
if ($[1] !== props) {
|
|
1267
|
+
t0 = /* @__PURE__ */ jsx(CreatedComponent$2, { ...props });
|
|
1268
|
+
$[1] = props;
|
|
1269
|
+
$[2] = t0;
|
|
1270
|
+
} else t0 = $[2];
|
|
1271
|
+
return t0;
|
|
1272
|
+
};
|
|
1273
|
+
//#endregion
|
|
1274
|
+
//#region src/components/router/RouterLink.tsx
|
|
1275
|
+
const CreatedComponent$1 = createLink(React.forwardRef(function LinkComponent(props, reference) {
|
|
1276
|
+
const $ = c(4);
|
|
1277
|
+
if ($[0] !== "b12e87e18a050ab0e29a4efcc3bd2a9fa6915db983e56ea2dc68853a7dc4b979") {
|
|
1278
|
+
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1279
|
+
$[0] = "b12e87e18a050ab0e29a4efcc3bd2a9fa6915db983e56ea2dc68853a7dc4b979";
|
|
1280
|
+
}
|
|
1281
|
+
let t0;
|
|
1282
|
+
if ($[1] !== props || $[2] !== reference) {
|
|
1283
|
+
t0 = /* @__PURE__ */ jsx(Link, {
|
|
1284
|
+
ref: reference,
|
|
1285
|
+
...props
|
|
1286
|
+
});
|
|
1287
|
+
$[1] = props;
|
|
1288
|
+
$[2] = reference;
|
|
1289
|
+
$[3] = t0;
|
|
1290
|
+
} else t0 = $[3];
|
|
1291
|
+
return t0;
|
|
1292
|
+
}));
|
|
1293
|
+
const RouterLink = (props) => {
|
|
1294
|
+
const $ = c(3);
|
|
1295
|
+
if ($[0] !== "b12e87e18a050ab0e29a4efcc3bd2a9fa6915db983e56ea2dc68853a7dc4b979") {
|
|
1296
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1297
|
+
$[0] = "b12e87e18a050ab0e29a4efcc3bd2a9fa6915db983e56ea2dc68853a7dc4b979";
|
|
1298
|
+
}
|
|
1299
|
+
let t0;
|
|
1300
|
+
if ($[1] !== props) {
|
|
1301
|
+
t0 = /* @__PURE__ */ jsx(CreatedComponent$1, { ...props });
|
|
1302
|
+
$[1] = props;
|
|
1303
|
+
$[2] = t0;
|
|
1304
|
+
} else t0 = $[2];
|
|
1305
|
+
return t0;
|
|
1306
|
+
};
|
|
1307
|
+
//#endregion
|
|
1308
|
+
//#region src/components/router/RouterTab.tsx
|
|
1309
|
+
const CreatedComponent = createLink(React.forwardRef(function TabComponent(props, reference) {
|
|
1310
|
+
const $ = c(4);
|
|
1311
|
+
if ($[0] !== "219e07108be3e229bc6eb53840beb65505cbaaf46f02d872937e7895165a73de") {
|
|
1312
|
+
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1313
|
+
$[0] = "219e07108be3e229bc6eb53840beb65505cbaaf46f02d872937e7895165a73de";
|
|
1314
|
+
}
|
|
1315
|
+
let t0;
|
|
1316
|
+
if ($[1] !== props || $[2] !== reference) {
|
|
1317
|
+
t0 = /* @__PURE__ */ jsx(Tab, {
|
|
1318
|
+
ref: reference,
|
|
1319
|
+
component: "a",
|
|
1320
|
+
...props
|
|
1321
|
+
});
|
|
1322
|
+
$[1] = props;
|
|
1323
|
+
$[2] = reference;
|
|
1324
|
+
$[3] = t0;
|
|
1325
|
+
} else t0 = $[3];
|
|
1326
|
+
return t0;
|
|
1327
|
+
}));
|
|
1328
|
+
const RouterTab = (props) => {
|
|
1329
|
+
const $ = c(3);
|
|
1330
|
+
if ($[0] !== "219e07108be3e229bc6eb53840beb65505cbaaf46f02d872937e7895165a73de") {
|
|
1331
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1332
|
+
$[0] = "219e07108be3e229bc6eb53840beb65505cbaaf46f02d872937e7895165a73de";
|
|
1333
|
+
}
|
|
1334
|
+
let t0;
|
|
1335
|
+
if ($[1] !== props) {
|
|
1336
|
+
t0 = /* @__PURE__ */ jsx(CreatedComponent, { ...props });
|
|
1337
|
+
$[1] = props;
|
|
1338
|
+
$[2] = t0;
|
|
1339
|
+
} else t0 = $[2];
|
|
1340
|
+
return t0;
|
|
3162
1341
|
};
|
|
3163
1342
|
//#endregion
|
|
3164
1343
|
//#region src/components/router/RouterNotFound.tsx
|
|
3165
|
-
function
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
orientation: "vertical",
|
|
3177
|
-
flexItem: !0,
|
|
3178
|
-
sx: { mx: 3 }
|
|
3179
|
-
}), e[1] = r) : r = e[1];
|
|
3180
|
-
let i;
|
|
3181
|
-
e[2] === t ? i = e[3] : (i = t("Layout.ThisPageCouldNotBeFound"), e[2] = t, e[3] = i);
|
|
3182
|
-
let a;
|
|
3183
|
-
return e[4] === i ? a = e[5] : (a = /* @__PURE__ */ B(c, {
|
|
3184
|
-
height: "100vh",
|
|
3185
|
-
display: "flex",
|
|
3186
|
-
flexDirection: "column",
|
|
3187
|
-
alignItems: "center",
|
|
3188
|
-
justifyContent: "center",
|
|
3189
|
-
textAlign: "center",
|
|
3190
|
-
px: 2,
|
|
3191
|
-
children: /* @__PURE__ */ V(c, {
|
|
1344
|
+
function RouterNotFound() {
|
|
1345
|
+
const $ = c(9);
|
|
1346
|
+
if ($[0] !== "a2fff6f270e5984a013a333cd77bf760bd02234c9fba174ec98da467b3cc7c39") {
|
|
1347
|
+
for (let $i = 0; $i < 9; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1348
|
+
$[0] = "a2fff6f270e5984a013a333cd77bf760bd02234c9fba174ec98da467b3cc7c39";
|
|
1349
|
+
}
|
|
1350
|
+
const { t } = useTranslation();
|
|
1351
|
+
let t0;
|
|
1352
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1353
|
+
t0 = {
|
|
1354
|
+
height: "100vh",
|
|
3192
1355
|
display: "flex",
|
|
1356
|
+
flexDirection: "column",
|
|
3193
1357
|
alignItems: "center",
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
1358
|
+
justifyContent: "center",
|
|
1359
|
+
textAlign: "center",
|
|
1360
|
+
px: 2
|
|
1361
|
+
};
|
|
1362
|
+
$[1] = t0;
|
|
1363
|
+
} else t0 = $[1];
|
|
1364
|
+
let t1;
|
|
1365
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1366
|
+
t1 = {
|
|
1367
|
+
display: "flex",
|
|
1368
|
+
alignItems: "center",
|
|
1369
|
+
mb: 4
|
|
1370
|
+
};
|
|
1371
|
+
$[2] = t1;
|
|
1372
|
+
} else t1 = $[2];
|
|
1373
|
+
let t2;
|
|
1374
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1375
|
+
t2 = /* @__PURE__ */ jsx(Typography, {
|
|
1376
|
+
variant: "h3",
|
|
1377
|
+
component: "span",
|
|
1378
|
+
sx: {
|
|
1379
|
+
fontWeight: 500,
|
|
1380
|
+
lineHeight: 1
|
|
1381
|
+
},
|
|
1382
|
+
children: "404"
|
|
1383
|
+
});
|
|
1384
|
+
$[3] = t2;
|
|
1385
|
+
} else t2 = $[3];
|
|
1386
|
+
let t3;
|
|
1387
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1388
|
+
t3 = /* @__PURE__ */ jsx(Divider, {
|
|
1389
|
+
orientation: "vertical",
|
|
1390
|
+
flexItem: true,
|
|
1391
|
+
sx: { mx: 3 }
|
|
1392
|
+
});
|
|
1393
|
+
$[4] = t3;
|
|
1394
|
+
} else t3 = $[4];
|
|
1395
|
+
let t4;
|
|
1396
|
+
if ($[5] !== t) {
|
|
1397
|
+
t4 = t("Layout.ThisPageCouldNotBeFound");
|
|
1398
|
+
$[5] = t;
|
|
1399
|
+
$[6] = t4;
|
|
1400
|
+
} else t4 = $[6];
|
|
1401
|
+
let t5;
|
|
1402
|
+
if ($[7] !== t4) {
|
|
1403
|
+
t5 = /* @__PURE__ */ jsx(Box, {
|
|
1404
|
+
sx: t0,
|
|
1405
|
+
children: /* @__PURE__ */ jsxs(Box, {
|
|
1406
|
+
sx: t1,
|
|
1407
|
+
children: [
|
|
1408
|
+
t2,
|
|
1409
|
+
t3,
|
|
1410
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1411
|
+
variant: "h5",
|
|
1412
|
+
component: "span",
|
|
1413
|
+
children: t4
|
|
1414
|
+
})
|
|
1415
|
+
]
|
|
1416
|
+
})
|
|
1417
|
+
});
|
|
1418
|
+
$[7] = t4;
|
|
1419
|
+
$[8] = t5;
|
|
1420
|
+
} else t5 = $[8];
|
|
1421
|
+
return t5;
|
|
3206
1422
|
}
|
|
3207
1423
|
//#endregion
|
|
3208
1424
|
//#region src/components/router/RouterError.tsx
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
let o;
|
|
3221
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ B(f, {
|
|
3222
|
-
orientation: "vertical",
|
|
3223
|
-
flexItem: !0,
|
|
3224
|
-
sx: { mx: 3 }
|
|
3225
|
-
}), t[3] = o) : o = t[3];
|
|
3226
|
-
let l;
|
|
3227
|
-
t[4] === n.message ? l = t[5] : (l = /* @__PURE__ */ B(E, {
|
|
3228
|
-
variant: "h5",
|
|
3229
|
-
component: "span",
|
|
3230
|
-
children: n.message
|
|
3231
|
-
}), t[4] = n.message, t[5] = l);
|
|
3232
|
-
let u;
|
|
3233
|
-
return t[6] !== a || t[7] !== l ? (u = /* @__PURE__ */ B(c, {
|
|
3234
|
-
height: "100vh",
|
|
3235
|
-
display: "flex",
|
|
3236
|
-
flexDirection: "column",
|
|
3237
|
-
alignItems: "center",
|
|
3238
|
-
justifyContent: "center",
|
|
3239
|
-
textAlign: "center",
|
|
3240
|
-
px: 2,
|
|
3241
|
-
children: /* @__PURE__ */ V(c, {
|
|
1425
|
+
const RouterError = (t0) => {
|
|
1426
|
+
const $ = c(12);
|
|
1427
|
+
if ($[0] !== "cf071e5896b5a38250f396768818719aba3f257e614991b086e2337a7a292d24") {
|
|
1428
|
+
for (let $i = 0; $i < 12; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1429
|
+
$[0] = "cf071e5896b5a38250f396768818719aba3f257e614991b086e2337a7a292d24";
|
|
1430
|
+
}
|
|
1431
|
+
const { error } = t0;
|
|
1432
|
+
let t1;
|
|
1433
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1434
|
+
t1 = {
|
|
1435
|
+
height: "100vh",
|
|
3242
1436
|
display: "flex",
|
|
1437
|
+
flexDirection: "column",
|
|
3243
1438
|
alignItems: "center",
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
1439
|
+
justifyContent: "center",
|
|
1440
|
+
textAlign: "center",
|
|
1441
|
+
px: 2
|
|
1442
|
+
};
|
|
1443
|
+
$[1] = t1;
|
|
1444
|
+
} else t1 = $[1];
|
|
1445
|
+
let t2;
|
|
1446
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1447
|
+
t2 = {
|
|
1448
|
+
display: "flex",
|
|
1449
|
+
alignItems: "center",
|
|
1450
|
+
mb: 4
|
|
1451
|
+
};
|
|
1452
|
+
$[2] = t2;
|
|
1453
|
+
} else t2 = $[2];
|
|
1454
|
+
let t3;
|
|
1455
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1456
|
+
t3 = {
|
|
1457
|
+
fontWeight: 500,
|
|
1458
|
+
lineHeight: 1
|
|
1459
|
+
};
|
|
1460
|
+
$[3] = t3;
|
|
1461
|
+
} else t3 = $[3];
|
|
1462
|
+
const t4 = error.name || "500";
|
|
1463
|
+
let t5;
|
|
1464
|
+
if ($[4] !== t4) {
|
|
1465
|
+
t5 = /* @__PURE__ */ jsx(Typography, {
|
|
1466
|
+
variant: "h3",
|
|
1467
|
+
component: "span",
|
|
1468
|
+
sx: t3,
|
|
1469
|
+
children: t4
|
|
1470
|
+
});
|
|
1471
|
+
$[4] = t4;
|
|
1472
|
+
$[5] = t5;
|
|
1473
|
+
} else t5 = $[5];
|
|
1474
|
+
let t6;
|
|
1475
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1476
|
+
t6 = /* @__PURE__ */ jsx(Divider, {
|
|
1477
|
+
orientation: "vertical",
|
|
1478
|
+
flexItem: true,
|
|
1479
|
+
sx: { mx: 3 }
|
|
1480
|
+
});
|
|
1481
|
+
$[6] = t6;
|
|
1482
|
+
} else t6 = $[6];
|
|
1483
|
+
let t7;
|
|
1484
|
+
if ($[7] !== error.message) {
|
|
1485
|
+
t7 = /* @__PURE__ */ jsx(Typography, {
|
|
1486
|
+
variant: "h5",
|
|
1487
|
+
component: "span",
|
|
1488
|
+
children: error.message
|
|
1489
|
+
});
|
|
1490
|
+
$[7] = error.message;
|
|
1491
|
+
$[8] = t7;
|
|
1492
|
+
} else t7 = $[8];
|
|
1493
|
+
let t8;
|
|
1494
|
+
if ($[9] !== t5 || $[10] !== t7) {
|
|
1495
|
+
t8 = /* @__PURE__ */ jsx(Box, {
|
|
1496
|
+
sx: t1,
|
|
1497
|
+
children: /* @__PURE__ */ jsxs(Box, {
|
|
1498
|
+
sx: t2,
|
|
1499
|
+
children: [
|
|
1500
|
+
t5,
|
|
1501
|
+
t6,
|
|
1502
|
+
t7
|
|
1503
|
+
]
|
|
1504
|
+
})
|
|
1505
|
+
});
|
|
1506
|
+
$[9] = t5;
|
|
1507
|
+
$[10] = t7;
|
|
1508
|
+
$[11] = t8;
|
|
1509
|
+
} else t8 = $[11];
|
|
1510
|
+
return t8;
|
|
3252
1511
|
};
|
|
3253
1512
|
//#endregion
|
|
3254
|
-
export {
|
|
1513
|
+
export { ChipInputCell, Dropzone, EditableColumnHeader, FileViewer, Fullscreen, RouterButton, RouterError, RouterFab, RouterGridActionsCellItem, RouterIconButton, RouterLink, RouterListItemButton, RouterNotFound, RouterTab, TypographyWithIcon };
|
|
3255
1514
|
|
|
3256
1515
|
//# sourceMappingURL=components.js.map
|