welcome-ui 1.0.0-beta.9 → 7.0.0-alpha.6
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/{AXB53BZF-DCqNWRx3.mjs → AXB53BZF-CGoc4K3d.mjs} +3 -3
- package/dist/{AXB53BZF-CAQ85RSy.js → AXB53BZF-KWM2jKTz.js} +1 -1
- package/dist/Accordion.js +3 -3
- package/dist/Accordion.mjs +11 -11
- package/dist/Alert.js +4 -4
- package/dist/Alert.mjs +29 -29
- package/dist/AspectRatio.js +1 -1
- package/dist/AspectRatio.mjs +5 -5
- package/dist/Avatar.js +3 -3
- package/dist/Avatar.mjs +8 -8
- package/dist/{BYC7LY2E-BE1a2svb.js → BYC7LY2E-BkAEL2VD.js} +1 -1
- package/dist/{BYC7LY2E-BNqcw1O8.mjs → BYC7LY2E-CVjUW1dr.mjs} +4 -4
- package/dist/Badge.js +1 -1
- package/dist/Badge.mjs +5 -5
- package/dist/Breadcrumb.js +54 -1
- package/dist/Breadcrumb.mjs +438 -8
- package/dist/Button.js +4 -4
- package/dist/Button.mjs +10 -10
- package/dist/ButtonGroup.js +1 -1
- package/dist/ButtonGroup.mjs +5 -5
- package/dist/Card.js +2 -2
- package/dist/Card.mjs +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/Checkbox.mjs +1 -1
- package/dist/ClearButton.js +3 -3
- package/dist/ClearButton.mjs +10 -10
- package/dist/CloseButton.js +2 -2
- package/dist/CloseButton.mjs +6 -6
- package/dist/CustomInput-BCCxIle7.mjs +7826 -0
- package/dist/CustomInput-CDNZy-pz.js +1070 -0
- package/dist/DatePicker.js +1 -1
- package/dist/DatePicker.mjs +1 -1
- package/dist/DateTimePicker.js +1 -1
- package/dist/DateTimePicker.mjs +15 -15
- package/dist/DateTimePickerCommon.js +1 -1
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.js +64 -1
- package/dist/Drawer.mjs +266 -10
- package/dist/DropdownMenu.js +1 -1
- package/dist/DropdownMenu.mjs +9 -9
- package/dist/Field.js +2 -2
- package/dist/Field.mjs +10 -10
- package/dist/FieldGroup.js +1 -1
- package/dist/FieldGroup.mjs +8 -8
- package/dist/FileDrop.js +46 -1
- package/dist/FileDrop.mjs +2324 -8
- package/dist/FileUpload.js +2 -2
- package/dist/FileUpload.mjs +10 -10
- package/dist/Hint.js +1 -1
- package/dist/Hint.mjs +6 -6
- package/dist/{ITI7HKP4-Couz1Z73.mjs → ITI7HKP4-BONrZ9Pq.mjs} +3 -3
- package/dist/Icon.js +1 -1
- package/dist/Icon.mjs +5 -5
- package/dist/{index.js → Icons.js} +6 -23
- package/dist/{index.mjs → Icons.mjs} +1348 -3484
- package/dist/{IconFont.js → IconsFont.js} +1 -1
- package/dist/{IconFont.mjs → IconsFont.mjs} +2 -2
- package/dist/InputText.js +3 -3
- package/dist/InputText.mjs +14 -14
- package/dist/{JC64G2H7-HxATiU-t.mjs → JC64G2H7-Dey-8h60.mjs} +4 -4
- package/dist/{JC64G2H7-VmOGyhc1.js → JC64G2H7-YkBMNrtl.js} +1 -1
- package/dist/{KUU7WJ55-bC4FU_j7.mjs → KUU7WJ55-3sP-w1F1.mjs} +13 -13
- package/dist/{LVA2YJMS-Dm5ieEMw.mjs → LVA2YJMS-qFC9J-lt.mjs} +18 -18
- package/dist/Label.js +35 -1
- package/dist/Label.mjs +76 -7
- package/dist/Link.js +2 -2
- package/dist/Link.mjs +9 -9
- package/dist/Loader.js +3 -3
- package/dist/Loader.mjs +9 -9
- package/dist/Logo.js +3 -1
- package/dist/Logo.mjs +45 -5
- package/dist/{MTZPJQMC-D0pYOjc_.js → MTZPJQMC-5Xg78Uyy.js} +1 -1
- package/dist/MTZPJQMC-C0Xe_WK4.mjs +13 -0
- package/dist/Modal.js +5 -5
- package/dist/Modal.mjs +14 -14
- package/dist/{NLEBE274-FThuwZH_.mjs → NLEBE274-C94QU78N.mjs} +19 -19
- package/dist/{P2CTZE2T-5jxBu6ix.mjs → P2CTZE2T-YPes1GXe.mjs} +28 -28
- package/dist/{P4IRICAX-C0oIr4wI.mjs → P4IRICAX-DzXqUYe-.mjs} +10 -10
- package/dist/{P4IRICAX-t3xfwWga.js → P4IRICAX-nhgZ26A1.js} +1 -1
- package/dist/Pagination.js +3 -3
- package/dist/Pagination.mjs +10 -10
- package/dist/PasswordInput.js +1 -1
- package/dist/PasswordInput.mjs +53 -5
- package/dist/Picker.js +2 -2
- package/dist/Picker.mjs +13 -13
- package/dist/Popover.js +31 -1
- package/dist/Popover.mjs +141 -5
- package/dist/{QYJ6MIDR-YegHsExc.mjs → QYJ6MIDR-BLLqyXdd.mjs} +12 -12
- package/dist/{QYJ6MIDR-T-fJ_t8N.js → QYJ6MIDR-CRK3satR.js} +1 -1
- package/dist/Radio.js +3 -3
- package/dist/Radio.mjs +16 -16
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioGroup.mjs +11 -11
- package/dist/RadioTab.js +4 -4
- package/dist/RadioTab.mjs +12 -12
- package/dist/{SYRFVSLH-Babm193P.js → SYRFVSLH-BpAfr7UE.js} +1 -1
- package/dist/{SYRFVSLH-DXZgEwus.mjs → SYRFVSLH-cVmYtx36.mjs} +6 -6
- package/dist/Search.js +8 -8
- package/dist/Search.mjs +46 -46
- package/dist/Select.js +122 -1
- package/dist/Select.mjs +1070 -11
- package/dist/Shape.js +3 -3
- package/dist/Shape.mjs +5 -5
- package/dist/Slider.js +1 -1
- package/dist/Slider.mjs +3 -3
- package/dist/Swiper.js +2 -2
- package/dist/Swiper.mjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/Table.mjs +1 -1
- package/dist/Tabs.js +8 -8
- package/dist/Tabs.mjs +178 -173
- package/dist/Tag.js +3 -3
- package/dist/Tag.mjs +10 -10
- package/dist/Text.js +1 -1
- package/dist/Text.mjs +4 -4
- package/dist/Textarea.js +1 -1
- package/dist/Textarea.mjs +9 -9
- package/dist/TimePicker.js +2 -2
- package/dist/TimePicker.mjs +11 -11
- package/dist/Toast.js +1 -1
- package/dist/Toast.mjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/Toggle.mjs +7 -7
- package/dist/Tooltip.js +1 -1
- package/dist/Tooltip.mjs +10 -10
- package/dist/UniversalLink.js +1 -1
- package/dist/UniversalLink.mjs +4 -4
- package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +20 -0
- package/dist/{VEVQD5MH-Cal9SWXl.js → VEVQD5MH-mN1wMozH.js} +1 -1
- package/dist/{VGCJ63VH-BqPfqkK_.mjs → VGCJ63VH-B39w1tBw.mjs} +19 -19
- package/dist/{VGCJ63VH-Cuf7P3qW.js → VGCJ63VH-BNLwLOaC.js} +1 -1
- package/dist/VariantIcon.js +8 -1
- package/dist/VariantIcon.mjs +30 -4
- package/dist/WelcomeLoader.js +11 -1
- package/dist/WelcomeLoader.mjs +5086 -25
- package/dist/X5NMLKT6-uFSu0Lii.mjs +25 -0
- package/dist/{YV4JVR4I-1ezWeCCz.mjs → YV4JVR4I-BGfUf3Nu.mjs} +1 -1
- package/dist/downshift.esm-BOfUfcgd.mjs +1085 -0
- package/dist/downshift.esm-dvOEflhK.js +1 -0
- package/dist/hex-to-rgba-BIDK-3ab.mjs +11 -0
- package/dist/hex-to-rgba-cCYXRc5D.js +1 -0
- package/dist/index-23RJrN0D.js +1 -0
- package/dist/{index-CQyLvMJP.js → index-BHi0wohR.js} +23 -23
- package/dist/index-BJAZgeHL.mjs +11 -0
- package/dist/index-BJzGkA7x.js +1 -0
- package/dist/index-BLom3M2B.js +2 -0
- package/dist/index-BNGGwOCo.mjs +11 -0
- package/dist/index-BQtDgQBH.mjs +11 -0
- package/dist/{index-BZmKn5VO.mjs → index-BYdkhqH4.mjs} +14 -11
- package/dist/{index-DCOLdphy.mjs → index-CDjY0N2Z.mjs} +11 -11
- package/dist/index-CExLVjET.mjs +26 -0
- package/dist/{index-C_r0bVmL.js → index-CUtaVckz.js} +1 -1
- package/dist/{index-BxWjuyQw.js → index-CxDKPhvU.js} +1 -1
- package/dist/index-D4H6DSEx.mjs +133 -0
- package/dist/index-D6MJAN7T.js +1 -0
- package/dist/index-DEJJvyGk.mjs +66 -0
- package/dist/index-DTx8atxB.js +1 -0
- package/dist/index-Db47iJVz.js +1 -0
- package/dist/{index-DRa_xux4.mjs → index-RUkz9Z2V.mjs} +27 -53
- package/dist/index-SbQUT2mU.mjs +639 -0
- package/dist/index-_wqLxu7x.js +1 -0
- package/dist/index-gts_19_n.js +1 -0
- package/dist/{index-CQ1IPLlk.mjs → index-u1oHKa7X.mjs} +13 -61
- package/dist/{radio-group-29lMl-2M.mjs → radio-group-CGC6DTFJ.mjs} +14 -14
- package/dist/theme.js +18 -0
- package/dist/theme.mjs +1649 -0
- package/dist/types/components/Alert/styles.d.ts +2 -2
- package/dist/types/components/Avatar/styles.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +1 -1
- package/dist/types/components/Button/theme.d.ts +1 -1
- package/dist/types/components/Card/Cover.styles.d.ts +1 -1
- package/dist/types/components/Checkbox/index.d.ts +1 -1
- package/dist/types/components/ClearButton/styles.d.ts +1 -1
- package/dist/types/components/CloseButton/styles.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +2 -2
- package/dist/types/components/Drawer/styles.d.ts +1 -1
- package/dist/types/components/DropdownMenu/index.d.ts +1 -1
- package/dist/types/components/DropdownMenu/styles.d.ts +1 -1
- package/dist/types/components/Field/index.d.ts +1 -1
- package/dist/types/components/Field/styles.d.ts +1 -1
- package/dist/types/components/FileDrop/FilePreview.d.ts +1 -1
- package/dist/types/components/FileDrop/index.d.ts +1 -1
- package/dist/types/components/FileUpload/index.d.ts +1 -1
- package/dist/types/components/Icon/styles.d.ts +1 -1
- package/dist/types/components/IconsFont/_hash.d.ts +1 -0
- package/dist/types/components/{IconFont → IconsFont}/index.d.ts +4 -4
- package/dist/types/components/InputText/index.d.ts +1 -1
- package/dist/types/components/Logo/index.d.ts +1 -1
- package/dist/types/components/Modal/Assets/index.d.ts +4 -4
- package/dist/types/components/Modal/Assets/styles.d.ts +2 -2
- package/dist/types/components/Modal/index.d.ts +4 -4
- package/dist/types/components/Modal/styles.d.ts +2 -2
- package/dist/types/components/Popover/Popover.d.ts +1 -1
- package/dist/types/components/Popover/PopoverHover.d.ts +1 -1
- package/dist/types/components/Popover/Trigger.d.ts +1 -1
- package/dist/types/components/Radio/index.d.ts +1 -1
- package/dist/types/components/RadioTab/index.d.ts +1 -1
- package/dist/types/components/Search/index.d.ts +1 -1
- package/dist/types/components/Select/index.d.ts +2 -2
- package/dist/types/components/Shape/styles.d.ts +1 -1
- package/dist/types/components/Slider/Range.d.ts +1 -1
- package/dist/types/components/Slider/index.d.ts +1 -1
- package/dist/types/components/Slider/styles.d.ts +5 -5
- package/dist/types/components/Tabs/TabList.d.ts +1 -1
- package/dist/types/components/Tabs/TabPanel.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +1 -1
- package/dist/types/components/Tag/styles.d.ts +1 -1
- package/dist/types/components/Tag/theme.d.ts +1 -1
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/Toast/index.d.ts +3 -3
- package/dist/types/components/Toast/styles.d.ts +8 -8
- package/dist/utils.js +1 -0
- package/dist/utils.mjs +77 -0
- package/package.json +52 -67
- package/dist/CustomInput-CHhz-wtr.js +0 -1064
- package/dist/CustomInput-DsJYqH0X.mjs +0 -1272
- package/dist/MTZPJQMC-C9lHSyrL.mjs +0 -13
- package/dist/VEVQD5MH-DOp_qaPw.mjs +0 -20
- package/dist/Welcome-BNr4uu5n.mjs +0 -48
- package/dist/Welcome-Dw9OaREs.js +0 -3
- package/dist/X5NMLKT6-DGZEtYXj.mjs +0 -25
- package/dist/index-B8roHPE-.js +0 -64
- package/dist/index-BFQbRuqA.mjs +0 -165
- package/dist/index-BjGfAqCk.mjs +0 -209
- package/dist/index-Bn9aiaUQ.mjs +0 -193
- package/dist/index-CiYwvMF0.js +0 -8
- package/dist/index-Cjf3wLkx.mjs +0 -272
- package/dist/index-CmBs24Im.mjs +0 -413
- package/dist/index-D3Tnfi3U.mjs +0 -83
- package/dist/index-DG7ovxHW.js +0 -117
- package/dist/index-DHCyCfRv.js +0 -35
- package/dist/index-DSZG0Sqy.js +0 -54
- package/dist/index-DhF591OM.js +0 -42
- package/dist/index-gPtu0TOV.js +0 -1
- package/dist/types/components/index.d.ts +0 -61
- package/dist/types/index.d.ts +0 -3
- package/dist/usePopover-AbS2gpZq.mjs +0 -144
- package/dist/usePopover-CzPtX0h_.js +0 -31
- package/dist/types/components/{IconFont → IconsFont}/styles.d.ts +1 -1
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { g as Ee } from "./_commonjsHelpers-CXJ7dpIk.mjs";
|
|
2
|
+
var ae = { exports: {} }, V = { exports: {} }, m = {}, fe;
|
|
3
|
+
function ge() {
|
|
4
|
+
if (fe) return m;
|
|
5
|
+
fe = 1;
|
|
6
|
+
var o = typeof Symbol == "function" && Symbol.for, I = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, y = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, x = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, Y = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
7
|
+
function A(t) {
|
|
8
|
+
if (typeof t == "object" && t !== null) {
|
|
9
|
+
var k = t.$$typeof;
|
|
10
|
+
switch (k) {
|
|
11
|
+
case I:
|
|
12
|
+
switch (t = t.type, t) {
|
|
13
|
+
case _:
|
|
14
|
+
case g:
|
|
15
|
+
case y:
|
|
16
|
+
case a:
|
|
17
|
+
case S:
|
|
18
|
+
case E:
|
|
19
|
+
return t;
|
|
20
|
+
default:
|
|
21
|
+
switch (t = t && t.$$typeof, t) {
|
|
22
|
+
case l:
|
|
23
|
+
case b:
|
|
24
|
+
case M:
|
|
25
|
+
case x:
|
|
26
|
+
case P:
|
|
27
|
+
return t;
|
|
28
|
+
default:
|
|
29
|
+
return k;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
case O:
|
|
33
|
+
return k;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function w(t) {
|
|
38
|
+
return A(t) === g;
|
|
39
|
+
}
|
|
40
|
+
return m.AsyncMode = _, m.ConcurrentMode = g, m.ContextConsumer = l, m.ContextProvider = P, m.Element = I, m.ForwardRef = b, m.Fragment = y, m.Lazy = M, m.Memo = x, m.Portal = O, m.Profiler = a, m.StrictMode = S, m.Suspense = E, m.isAsyncMode = function(t) {
|
|
41
|
+
return w(t) || A(t) === _;
|
|
42
|
+
}, m.isConcurrentMode = w, m.isContextConsumer = function(t) {
|
|
43
|
+
return A(t) === l;
|
|
44
|
+
}, m.isContextProvider = function(t) {
|
|
45
|
+
return A(t) === P;
|
|
46
|
+
}, m.isElement = function(t) {
|
|
47
|
+
return typeof t == "object" && t !== null && t.$$typeof === I;
|
|
48
|
+
}, m.isForwardRef = function(t) {
|
|
49
|
+
return A(t) === b;
|
|
50
|
+
}, m.isFragment = function(t) {
|
|
51
|
+
return A(t) === y;
|
|
52
|
+
}, m.isLazy = function(t) {
|
|
53
|
+
return A(t) === M;
|
|
54
|
+
}, m.isMemo = function(t) {
|
|
55
|
+
return A(t) === x;
|
|
56
|
+
}, m.isPortal = function(t) {
|
|
57
|
+
return A(t) === O;
|
|
58
|
+
}, m.isProfiler = function(t) {
|
|
59
|
+
return A(t) === a;
|
|
60
|
+
}, m.isStrictMode = function(t) {
|
|
61
|
+
return A(t) === S;
|
|
62
|
+
}, m.isSuspense = function(t) {
|
|
63
|
+
return A(t) === E;
|
|
64
|
+
}, m.isValidElementType = function(t) {
|
|
65
|
+
return typeof t == "string" || typeof t == "function" || t === y || t === g || t === a || t === S || t === E || t === C || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === x || t.$$typeof === P || t.$$typeof === l || t.$$typeof === b || t.$$typeof === j || t.$$typeof === Y || t.$$typeof === F || t.$$typeof === R);
|
|
66
|
+
}, m.typeOf = A, m;
|
|
67
|
+
}
|
|
68
|
+
var T = {}, ue;
|
|
69
|
+
function Se() {
|
|
70
|
+
return ue || (ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
71
|
+
var o = typeof Symbol == "function" && Symbol.for, I = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, y = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, x = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, Y = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
72
|
+
function A(r) {
|
|
73
|
+
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
74
|
+
r === y || r === g || r === a || r === S || r === E || r === C || typeof r == "object" && r !== null && (r.$$typeof === M || r.$$typeof === x || r.$$typeof === P || r.$$typeof === l || r.$$typeof === b || r.$$typeof === j || r.$$typeof === Y || r.$$typeof === F || r.$$typeof === R);
|
|
75
|
+
}
|
|
76
|
+
function w(r) {
|
|
77
|
+
if (typeof r == "object" && r !== null) {
|
|
78
|
+
var D = r.$$typeof;
|
|
79
|
+
switch (D) {
|
|
80
|
+
case I:
|
|
81
|
+
var B = r.type;
|
|
82
|
+
switch (B) {
|
|
83
|
+
case _:
|
|
84
|
+
case g:
|
|
85
|
+
case y:
|
|
86
|
+
case a:
|
|
87
|
+
case S:
|
|
88
|
+
case E:
|
|
89
|
+
return B;
|
|
90
|
+
default:
|
|
91
|
+
var se = B && B.$$typeof;
|
|
92
|
+
switch (se) {
|
|
93
|
+
case l:
|
|
94
|
+
case b:
|
|
95
|
+
case M:
|
|
96
|
+
case x:
|
|
97
|
+
case P:
|
|
98
|
+
return se;
|
|
99
|
+
default:
|
|
100
|
+
return D;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
case O:
|
|
104
|
+
return D;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
var t = _, k = g, N = l, H = P, J = I, X = b, U = y, G = M, K = x, L = O, Z = a, q = S, W = E, z = !1;
|
|
109
|
+
function Q(r) {
|
|
110
|
+
return z || (z = !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.")), e(r) || w(r) === _;
|
|
111
|
+
}
|
|
112
|
+
function e(r) {
|
|
113
|
+
return w(r) === g;
|
|
114
|
+
}
|
|
115
|
+
function n(r) {
|
|
116
|
+
return w(r) === l;
|
|
117
|
+
}
|
|
118
|
+
function u(r) {
|
|
119
|
+
return w(r) === P;
|
|
120
|
+
}
|
|
121
|
+
function s(r) {
|
|
122
|
+
return typeof r == "object" && r !== null && r.$$typeof === I;
|
|
123
|
+
}
|
|
124
|
+
function i(r) {
|
|
125
|
+
return w(r) === b;
|
|
126
|
+
}
|
|
127
|
+
function p(r) {
|
|
128
|
+
return w(r) === y;
|
|
129
|
+
}
|
|
130
|
+
function c(r) {
|
|
131
|
+
return w(r) === M;
|
|
132
|
+
}
|
|
133
|
+
function f(r) {
|
|
134
|
+
return w(r) === x;
|
|
135
|
+
}
|
|
136
|
+
function d(r) {
|
|
137
|
+
return w(r) === O;
|
|
138
|
+
}
|
|
139
|
+
function h(r) {
|
|
140
|
+
return w(r) === a;
|
|
141
|
+
}
|
|
142
|
+
function v(r) {
|
|
143
|
+
return w(r) === S;
|
|
144
|
+
}
|
|
145
|
+
function $(r) {
|
|
146
|
+
return w(r) === E;
|
|
147
|
+
}
|
|
148
|
+
T.AsyncMode = t, T.ConcurrentMode = k, T.ContextConsumer = N, T.ContextProvider = H, T.Element = J, T.ForwardRef = X, T.Fragment = U, T.Lazy = G, T.Memo = K, T.Portal = L, T.Profiler = Z, T.StrictMode = q, T.Suspense = W, T.isAsyncMode = Q, T.isConcurrentMode = e, T.isContextConsumer = n, T.isContextProvider = u, T.isElement = s, T.isForwardRef = i, T.isFragment = p, T.isLazy = c, T.isMemo = f, T.isPortal = d, T.isProfiler = h, T.isStrictMode = v, T.isSuspense = $, T.isValidElementType = A, T.typeOf = w;
|
|
149
|
+
}()), T;
|
|
150
|
+
}
|
|
151
|
+
var le;
|
|
152
|
+
function Te() {
|
|
153
|
+
return le || (le = 1, process.env.NODE_ENV === "production" ? V.exports = ge() : V.exports = Se()), V.exports;
|
|
154
|
+
}
|
|
155
|
+
var ee, ye;
|
|
156
|
+
function Pe() {
|
|
157
|
+
if (ye) return ee;
|
|
158
|
+
ye = 1;
|
|
159
|
+
var o = Object.getOwnPropertySymbols, I = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
160
|
+
function y(a) {
|
|
161
|
+
if (a == null)
|
|
162
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
163
|
+
return Object(a);
|
|
164
|
+
}
|
|
165
|
+
function S() {
|
|
166
|
+
try {
|
|
167
|
+
if (!Object.assign)
|
|
168
|
+
return !1;
|
|
169
|
+
var a = new String("abc");
|
|
170
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
171
|
+
return !1;
|
|
172
|
+
for (var P = {}, l = 0; l < 10; l++)
|
|
173
|
+
P["_" + String.fromCharCode(l)] = l;
|
|
174
|
+
var _ = Object.getOwnPropertyNames(P).map(function(b) {
|
|
175
|
+
return P[b];
|
|
176
|
+
});
|
|
177
|
+
if (_.join("") !== "0123456789")
|
|
178
|
+
return !1;
|
|
179
|
+
var g = {};
|
|
180
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(b) {
|
|
181
|
+
g[b] = b;
|
|
182
|
+
}), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
|
|
183
|
+
} catch {
|
|
184
|
+
return !1;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return ee = S() ? Object.assign : function(a, P) {
|
|
188
|
+
for (var l, _ = y(a), g, b = 1; b < arguments.length; b++) {
|
|
189
|
+
l = Object(arguments[b]);
|
|
190
|
+
for (var E in l)
|
|
191
|
+
I.call(l, E) && (_[E] = l[E]);
|
|
192
|
+
if (o) {
|
|
193
|
+
g = o(l);
|
|
194
|
+
for (var C = 0; C < g.length; C++)
|
|
195
|
+
O.call(l, g[C]) && (_[g[C]] = l[g[C]]);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return _;
|
|
199
|
+
}, ee;
|
|
200
|
+
}
|
|
201
|
+
var re, pe;
|
|
202
|
+
function ce() {
|
|
203
|
+
if (pe) return re;
|
|
204
|
+
pe = 1;
|
|
205
|
+
var o = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
206
|
+
return re = o, re;
|
|
207
|
+
}
|
|
208
|
+
var te, de;
|
|
209
|
+
function he() {
|
|
210
|
+
return de || (de = 1, te = Function.call.bind(Object.prototype.hasOwnProperty)), te;
|
|
211
|
+
}
|
|
212
|
+
var ne, ve;
|
|
213
|
+
function Oe() {
|
|
214
|
+
if (ve) return ne;
|
|
215
|
+
ve = 1;
|
|
216
|
+
var o = function() {
|
|
217
|
+
};
|
|
218
|
+
if (process.env.NODE_ENV !== "production") {
|
|
219
|
+
var I = ce(), O = {}, y = he();
|
|
220
|
+
o = function(a) {
|
|
221
|
+
var P = "Warning: " + a;
|
|
222
|
+
typeof console < "u" && console.error(P);
|
|
223
|
+
try {
|
|
224
|
+
throw new Error(P);
|
|
225
|
+
} catch {
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function S(a, P, l, _, g) {
|
|
230
|
+
if (process.env.NODE_ENV !== "production") {
|
|
231
|
+
for (var b in a)
|
|
232
|
+
if (y(a, b)) {
|
|
233
|
+
var E;
|
|
234
|
+
try {
|
|
235
|
+
if (typeof a[b] != "function") {
|
|
236
|
+
var C = Error(
|
|
237
|
+
(_ || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
238
|
+
);
|
|
239
|
+
throw C.name = "Invariant Violation", C;
|
|
240
|
+
}
|
|
241
|
+
E = a[b](P, b, _, l, null, I);
|
|
242
|
+
} catch (M) {
|
|
243
|
+
E = M;
|
|
244
|
+
}
|
|
245
|
+
if (E && !(E instanceof Error) && o(
|
|
246
|
+
(_ || "React class") + ": type specification of " + l + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
247
|
+
), E instanceof Error && !(E.message in O)) {
|
|
248
|
+
O[E.message] = !0;
|
|
249
|
+
var x = g ? g() : "";
|
|
250
|
+
o(
|
|
251
|
+
"Failed " + l + " type: " + E.message + (x ?? "")
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return S.resetWarningCache = function() {
|
|
258
|
+
process.env.NODE_ENV !== "production" && (O = {});
|
|
259
|
+
}, ne = S, ne;
|
|
260
|
+
}
|
|
261
|
+
var oe, be;
|
|
262
|
+
function _e() {
|
|
263
|
+
if (be) return oe;
|
|
264
|
+
be = 1;
|
|
265
|
+
var o = Te(), I = Pe(), O = ce(), y = he(), S = Oe(), a = function() {
|
|
266
|
+
};
|
|
267
|
+
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
268
|
+
var _ = "Warning: " + l;
|
|
269
|
+
typeof console < "u" && console.error(_);
|
|
270
|
+
try {
|
|
271
|
+
throw new Error(_);
|
|
272
|
+
} catch {
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
function P() {
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
return oe = function(l, _) {
|
|
279
|
+
var g = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
|
|
280
|
+
function E(e) {
|
|
281
|
+
var n = e && (g && e[g] || e[b]);
|
|
282
|
+
if (typeof n == "function")
|
|
283
|
+
return n;
|
|
284
|
+
}
|
|
285
|
+
var C = "<<anonymous>>", x = {
|
|
286
|
+
array: Y("array"),
|
|
287
|
+
bigint: Y("bigint"),
|
|
288
|
+
bool: Y("boolean"),
|
|
289
|
+
func: Y("function"),
|
|
290
|
+
number: Y("number"),
|
|
291
|
+
object: Y("object"),
|
|
292
|
+
string: Y("string"),
|
|
293
|
+
symbol: Y("symbol"),
|
|
294
|
+
any: F(),
|
|
295
|
+
arrayOf: A,
|
|
296
|
+
element: w(),
|
|
297
|
+
elementType: t(),
|
|
298
|
+
instanceOf: k,
|
|
299
|
+
node: X(),
|
|
300
|
+
objectOf: H,
|
|
301
|
+
oneOf: N,
|
|
302
|
+
oneOfType: J,
|
|
303
|
+
shape: G,
|
|
304
|
+
exact: K
|
|
305
|
+
};
|
|
306
|
+
function M(e, n) {
|
|
307
|
+
return e === n ? e !== 0 || 1 / e === 1 / n : e !== e && n !== n;
|
|
308
|
+
}
|
|
309
|
+
function R(e, n) {
|
|
310
|
+
this.message = e, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
311
|
+
}
|
|
312
|
+
R.prototype = Error.prototype;
|
|
313
|
+
function j(e) {
|
|
314
|
+
if (process.env.NODE_ENV !== "production")
|
|
315
|
+
var n = {}, u = 0;
|
|
316
|
+
function s(p, c, f, d, h, v, $) {
|
|
317
|
+
if (d = d || C, v = v || f, $ !== O) {
|
|
318
|
+
if (_) {
|
|
319
|
+
var r = new Error(
|
|
320
|
+
"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"
|
|
321
|
+
);
|
|
322
|
+
throw r.name = "Invariant Violation", r;
|
|
323
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
324
|
+
var D = d + ":" + f;
|
|
325
|
+
!n[D] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
326
|
+
u < 3 && (a(
|
|
327
|
+
"You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + d + "`. 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."
|
|
328
|
+
), n[D] = !0, u++);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
return c[f] == null ? p ? c[f] === null ? new R("The " + h + " `" + v + "` is marked as required " + ("in `" + d + "`, but its value is `null`.")) : new R("The " + h + " `" + v + "` is marked as required in " + ("`" + d + "`, but its value is `undefined`.")) : null : e(c, f, d, h, v);
|
|
332
|
+
}
|
|
333
|
+
var i = s.bind(null, !1);
|
|
334
|
+
return i.isRequired = s.bind(null, !0), i;
|
|
335
|
+
}
|
|
336
|
+
function Y(e) {
|
|
337
|
+
function n(u, s, i, p, c, f) {
|
|
338
|
+
var d = u[s], h = q(d);
|
|
339
|
+
if (h !== e) {
|
|
340
|
+
var v = W(d);
|
|
341
|
+
return new R(
|
|
342
|
+
"Invalid " + p + " `" + c + "` of type " + ("`" + v + "` supplied to `" + i + "`, expected ") + ("`" + e + "`."),
|
|
343
|
+
{ expectedType: e }
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
return null;
|
|
347
|
+
}
|
|
348
|
+
return j(n);
|
|
349
|
+
}
|
|
350
|
+
function F() {
|
|
351
|
+
return j(P);
|
|
352
|
+
}
|
|
353
|
+
function A(e) {
|
|
354
|
+
function n(u, s, i, p, c) {
|
|
355
|
+
if (typeof e != "function")
|
|
356
|
+
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside arrayOf.");
|
|
357
|
+
var f = u[s];
|
|
358
|
+
if (!Array.isArray(f)) {
|
|
359
|
+
var d = q(f);
|
|
360
|
+
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an array."));
|
|
361
|
+
}
|
|
362
|
+
for (var h = 0; h < f.length; h++) {
|
|
363
|
+
var v = e(f, h, i, p, c + "[" + h + "]", O);
|
|
364
|
+
if (v instanceof Error)
|
|
365
|
+
return v;
|
|
366
|
+
}
|
|
367
|
+
return null;
|
|
368
|
+
}
|
|
369
|
+
return j(n);
|
|
370
|
+
}
|
|
371
|
+
function w() {
|
|
372
|
+
function e(n, u, s, i, p) {
|
|
373
|
+
var c = n[u];
|
|
374
|
+
if (!l(c)) {
|
|
375
|
+
var f = q(c);
|
|
376
|
+
return new R("Invalid " + i + " `" + p + "` of type " + ("`" + f + "` supplied to `" + s + "`, expected a single ReactElement."));
|
|
377
|
+
}
|
|
378
|
+
return null;
|
|
379
|
+
}
|
|
380
|
+
return j(e);
|
|
381
|
+
}
|
|
382
|
+
function t() {
|
|
383
|
+
function e(n, u, s, i, p) {
|
|
384
|
+
var c = n[u];
|
|
385
|
+
if (!o.isValidElementType(c)) {
|
|
386
|
+
var f = q(c);
|
|
387
|
+
return new R("Invalid " + i + " `" + p + "` of type " + ("`" + f + "` supplied to `" + s + "`, expected a single ReactElement type."));
|
|
388
|
+
}
|
|
389
|
+
return null;
|
|
390
|
+
}
|
|
391
|
+
return j(e);
|
|
392
|
+
}
|
|
393
|
+
function k(e) {
|
|
394
|
+
function n(u, s, i, p, c) {
|
|
395
|
+
if (!(u[s] instanceof e)) {
|
|
396
|
+
var f = e.name || C, d = Q(u[s]);
|
|
397
|
+
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected ") + ("instance of `" + f + "`."));
|
|
398
|
+
}
|
|
399
|
+
return null;
|
|
400
|
+
}
|
|
401
|
+
return j(n);
|
|
402
|
+
}
|
|
403
|
+
function N(e) {
|
|
404
|
+
if (!Array.isArray(e))
|
|
405
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
406
|
+
"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])."
|
|
407
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), P;
|
|
408
|
+
function n(u, s, i, p, c) {
|
|
409
|
+
for (var f = u[s], d = 0; d < e.length; d++)
|
|
410
|
+
if (M(f, e[d]))
|
|
411
|
+
return null;
|
|
412
|
+
var h = JSON.stringify(e, function($, r) {
|
|
413
|
+
var D = W(r);
|
|
414
|
+
return D === "symbol" ? String(r) : r;
|
|
415
|
+
});
|
|
416
|
+
return new R("Invalid " + p + " `" + c + "` of value `" + String(f) + "` " + ("supplied to `" + i + "`, expected one of " + h + "."));
|
|
417
|
+
}
|
|
418
|
+
return j(n);
|
|
419
|
+
}
|
|
420
|
+
function H(e) {
|
|
421
|
+
function n(u, s, i, p, c) {
|
|
422
|
+
if (typeof e != "function")
|
|
423
|
+
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside objectOf.");
|
|
424
|
+
var f = u[s], d = q(f);
|
|
425
|
+
if (d !== "object")
|
|
426
|
+
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an object."));
|
|
427
|
+
for (var h in f)
|
|
428
|
+
if (y(f, h)) {
|
|
429
|
+
var v = e(f, h, i, p, c + "." + h, O);
|
|
430
|
+
if (v instanceof Error)
|
|
431
|
+
return v;
|
|
432
|
+
}
|
|
433
|
+
return null;
|
|
434
|
+
}
|
|
435
|
+
return j(n);
|
|
436
|
+
}
|
|
437
|
+
function J(e) {
|
|
438
|
+
if (!Array.isArray(e))
|
|
439
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), P;
|
|
440
|
+
for (var n = 0; n < e.length; n++) {
|
|
441
|
+
var u = e[n];
|
|
442
|
+
if (typeof u != "function")
|
|
443
|
+
return a(
|
|
444
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(u) + " at index " + n + "."
|
|
445
|
+
), P;
|
|
446
|
+
}
|
|
447
|
+
function s(i, p, c, f, d) {
|
|
448
|
+
for (var h = [], v = 0; v < e.length; v++) {
|
|
449
|
+
var $ = e[v], r = $(i, p, c, f, d, O);
|
|
450
|
+
if (r == null)
|
|
451
|
+
return null;
|
|
452
|
+
r.data && y(r.data, "expectedType") && h.push(r.data.expectedType);
|
|
453
|
+
}
|
|
454
|
+
var D = h.length > 0 ? ", expected one of type [" + h.join(", ") + "]" : "";
|
|
455
|
+
return new R("Invalid " + f + " `" + d + "` supplied to " + ("`" + c + "`" + D + "."));
|
|
456
|
+
}
|
|
457
|
+
return j(s);
|
|
458
|
+
}
|
|
459
|
+
function X() {
|
|
460
|
+
function e(n, u, s, i, p) {
|
|
461
|
+
return L(n[u]) ? null : new R("Invalid " + i + " `" + p + "` supplied to " + ("`" + s + "`, expected a ReactNode."));
|
|
462
|
+
}
|
|
463
|
+
return j(e);
|
|
464
|
+
}
|
|
465
|
+
function U(e, n, u, s, i) {
|
|
466
|
+
return new R(
|
|
467
|
+
(e || "React class") + ": " + n + " type `" + u + "." + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`."
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
function G(e) {
|
|
471
|
+
function n(u, s, i, p, c) {
|
|
472
|
+
var f = u[s], d = q(f);
|
|
473
|
+
if (d !== "object")
|
|
474
|
+
return new R("Invalid " + p + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
475
|
+
for (var h in e) {
|
|
476
|
+
var v = e[h];
|
|
477
|
+
if (typeof v != "function")
|
|
478
|
+
return U(i, p, c, h, W(v));
|
|
479
|
+
var $ = v(f, h, i, p, c + "." + h, O);
|
|
480
|
+
if ($)
|
|
481
|
+
return $;
|
|
482
|
+
}
|
|
483
|
+
return null;
|
|
484
|
+
}
|
|
485
|
+
return j(n);
|
|
486
|
+
}
|
|
487
|
+
function K(e) {
|
|
488
|
+
function n(u, s, i, p, c) {
|
|
489
|
+
var f = u[s], d = q(f);
|
|
490
|
+
if (d !== "object")
|
|
491
|
+
return new R("Invalid " + p + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
492
|
+
var h = I({}, u[s], e);
|
|
493
|
+
for (var v in h) {
|
|
494
|
+
var $ = e[v];
|
|
495
|
+
if (y(e, v) && typeof $ != "function")
|
|
496
|
+
return U(i, p, c, v, W($));
|
|
497
|
+
if (!$)
|
|
498
|
+
return new R(
|
|
499
|
+
"Invalid " + p + " `" + c + "` key `" + v + "` supplied to `" + i + "`.\nBad object: " + JSON.stringify(u[s], null, " ") + `
|
|
500
|
+
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
501
|
+
);
|
|
502
|
+
var r = $(f, v, i, p, c + "." + v, O);
|
|
503
|
+
if (r)
|
|
504
|
+
return r;
|
|
505
|
+
}
|
|
506
|
+
return null;
|
|
507
|
+
}
|
|
508
|
+
return j(n);
|
|
509
|
+
}
|
|
510
|
+
function L(e) {
|
|
511
|
+
switch (typeof e) {
|
|
512
|
+
case "number":
|
|
513
|
+
case "string":
|
|
514
|
+
case "undefined":
|
|
515
|
+
return !0;
|
|
516
|
+
case "boolean":
|
|
517
|
+
return !e;
|
|
518
|
+
case "object":
|
|
519
|
+
if (Array.isArray(e))
|
|
520
|
+
return e.every(L);
|
|
521
|
+
if (e === null || l(e))
|
|
522
|
+
return !0;
|
|
523
|
+
var n = E(e);
|
|
524
|
+
if (n) {
|
|
525
|
+
var u = n.call(e), s;
|
|
526
|
+
if (n !== e.entries) {
|
|
527
|
+
for (; !(s = u.next()).done; )
|
|
528
|
+
if (!L(s.value))
|
|
529
|
+
return !1;
|
|
530
|
+
} else
|
|
531
|
+
for (; !(s = u.next()).done; ) {
|
|
532
|
+
var i = s.value;
|
|
533
|
+
if (i && !L(i[1]))
|
|
534
|
+
return !1;
|
|
535
|
+
}
|
|
536
|
+
} else
|
|
537
|
+
return !1;
|
|
538
|
+
return !0;
|
|
539
|
+
default:
|
|
540
|
+
return !1;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
function Z(e, n) {
|
|
544
|
+
return e === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
545
|
+
}
|
|
546
|
+
function q(e) {
|
|
547
|
+
var n = typeof e;
|
|
548
|
+
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(n, e) ? "symbol" : n;
|
|
549
|
+
}
|
|
550
|
+
function W(e) {
|
|
551
|
+
if (typeof e > "u" || e === null)
|
|
552
|
+
return "" + e;
|
|
553
|
+
var n = q(e);
|
|
554
|
+
if (n === "object") {
|
|
555
|
+
if (e instanceof Date)
|
|
556
|
+
return "date";
|
|
557
|
+
if (e instanceof RegExp)
|
|
558
|
+
return "regexp";
|
|
559
|
+
}
|
|
560
|
+
return n;
|
|
561
|
+
}
|
|
562
|
+
function z(e) {
|
|
563
|
+
var n = W(e);
|
|
564
|
+
switch (n) {
|
|
565
|
+
case "array":
|
|
566
|
+
case "object":
|
|
567
|
+
return "an " + n;
|
|
568
|
+
case "boolean":
|
|
569
|
+
case "date":
|
|
570
|
+
case "regexp":
|
|
571
|
+
return "a " + n;
|
|
572
|
+
default:
|
|
573
|
+
return n;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
function Q(e) {
|
|
577
|
+
return !e.constructor || !e.constructor.name ? C : e.constructor.name;
|
|
578
|
+
}
|
|
579
|
+
return x.checkPropTypes = S, x.resetWarningCache = S.resetWarningCache, x.PropTypes = x, x;
|
|
580
|
+
}, oe;
|
|
581
|
+
}
|
|
582
|
+
var ie, me;
|
|
583
|
+
function Re() {
|
|
584
|
+
if (me) return ie;
|
|
585
|
+
me = 1;
|
|
586
|
+
var o = ce();
|
|
587
|
+
function I() {
|
|
588
|
+
}
|
|
589
|
+
function O() {
|
|
590
|
+
}
|
|
591
|
+
return O.resetWarningCache = I, ie = function() {
|
|
592
|
+
function y(P, l, _, g, b, E) {
|
|
593
|
+
if (E !== o) {
|
|
594
|
+
var C = new Error(
|
|
595
|
+
"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"
|
|
596
|
+
);
|
|
597
|
+
throw C.name = "Invariant Violation", C;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
y.isRequired = y;
|
|
601
|
+
function S() {
|
|
602
|
+
return y;
|
|
603
|
+
}
|
|
604
|
+
var a = {
|
|
605
|
+
array: y,
|
|
606
|
+
bigint: y,
|
|
607
|
+
bool: y,
|
|
608
|
+
func: y,
|
|
609
|
+
number: y,
|
|
610
|
+
object: y,
|
|
611
|
+
string: y,
|
|
612
|
+
symbol: y,
|
|
613
|
+
any: y,
|
|
614
|
+
arrayOf: S,
|
|
615
|
+
element: y,
|
|
616
|
+
elementType: y,
|
|
617
|
+
instanceOf: S,
|
|
618
|
+
node: y,
|
|
619
|
+
objectOf: S,
|
|
620
|
+
oneOf: S,
|
|
621
|
+
oneOfType: S,
|
|
622
|
+
shape: S,
|
|
623
|
+
exact: S,
|
|
624
|
+
checkPropTypes: O,
|
|
625
|
+
resetWarningCache: I
|
|
626
|
+
};
|
|
627
|
+
return a.PropTypes = a, a;
|
|
628
|
+
}, ie;
|
|
629
|
+
}
|
|
630
|
+
if (process.env.NODE_ENV !== "production") {
|
|
631
|
+
var Ce = Te(), xe = !0;
|
|
632
|
+
ae.exports = _e()(Ce.isElement, xe);
|
|
633
|
+
} else
|
|
634
|
+
ae.exports = Re()();
|
|
635
|
+
var we = ae.exports;
|
|
636
|
+
const Ie = /* @__PURE__ */ Ee(we);
|
|
637
|
+
export {
|
|
638
|
+
Ie as P
|
|
639
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const t=require("react"),c=require("./Icon.js"),o=15,n=15,r='<path fill="currentColor" fill-rule="evenodd" d="M84.496 42.08 26.17 48.79l19.538-21.976a4.112 4.112 0 0 0-.307-5.768 4.02 4.02 0 0 0-5.715.31L13.03 51.338c-.027.03-.044.066-.07.098-.089.105-.166.219-.244.333-.07.105-.144.209-.205.32-.066.119-.116.243-.17.368-.05.118-.104.234-.142.357-.043.129-.067.261-.095.395-.029.129-.058.256-.073.388-.015.128-.014.26-.016.393-.003.104-.02.206-.014.31.003.04.015.078.019.118.003.037-.003.073.001.111.011.108.045.207.065.312.022.115.04.229.07.34.043.157.104.304.165.453.037.088.067.18.109.265.082.166.182.318.285.47.043.06.075.125.12.184.156.208.331.4.524.572l26.658 23.848a4.02 4.02 0 0 0 5.71-.349 4.114 4.114 0 0 0-.345-5.767L25.518 57.088l59.895-6.89c2.219-.256 3.814-2.28 3.56-4.52-.252-2.242-2.253-3.859-4.477-3.597Z" clip-rule="evenodd"/>',l={width:o,height:n,block:r},i=e=>t.createElement(c.Icon,{alt:"ArrowLeft",content:l,...e});exports.ArrowLeftIcon=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";require("react");require("./Icon.js");const e=require("./index-CxDKPhvU.js"),c=(i,p=2)=>{if(i===0)return"0 Bytes";const a=1024,n=p<0?0:p,m=["Bytes","KB","MB","GB"],o=Math.floor(Math.log(i)/Math.log(a));return parseFloat((i/Math.pow(a,o)).toFixed(n))+" "+m[o]},s={"7z":"application/x-7z-compressed",aac:"audio/aac",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",au:"audio/basic",avi:"video/x-msvideo",bmp:"image/x-ms-bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",gif:"image/gif",gz:"application/gzip",ico:"image/x-icon",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",m1v:"video/mpeg",mid:"audio/midi",midi:"audio/x-midi",mov:"video/quicktime",movie:"video/x-sgi-movie",mp2:"audio/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpa:"video/mpeg",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pgm:"image/x-portable-graymap",png:"image/png",pnm:"image/x-portable-anymap",pot:"application/vnd.ms-powerpoint",ppa:"application/vnd.ms-powerpoint",ppm:"image/x-portable-pixmap",pps:"application/vnd.ms-powerpoint",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ps:"application/postscript",pwz:"application/vnd.ms-powerpoint",qt:"video/quicktime",ra:"audio/x-pn-realaudio",rar:"application/vnd.rar",ras:"image/x-cmu-raster",rgb:"image/x-rgb",snd:"audio/basic",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",wav:"audio/x-wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",wiz:"application/msword",xbm:"image/x-xbitmap",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xpm:"image/x-xpixmap",xwd:"image/x-xwindowdump",zip:"application/zip"};function r(i){return i.split("?")[0]}function t(i){return typeof i=="string"?r(i).split("/").pop():i.name}function d(i){if(typeof i=="string"){const p=t(i).split(".").pop();return s[p]||null}else return i.type}function l(i){return i instanceof File&&i.size?c(i.size,0):null}function u(i,p){const a=d(i);if(!p&&!a)return e.AttachmentIcon;if(p==="image"||a&&a.startsWith("image/"))return e.CameraIcon;if(p==="audio"||a&&a.startsWith("audio/"))return e.MusicIcon;if(p==="video"||a&&a.startsWith("video/"))return e.VideoIcon;switch(a){case"application/pdf":return e.PdfIcon;case"application/msword":return e.DocIcon;case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return e.DocxIcon;case"application/vnd.ms-excel":return e.XlsIcon;case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return e.XlsxIcon;case"application/vnd.ms-powerpoint":case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return e.PptIcon;case"application/zip":case"application/x-bzip":case"application/x-bzip2":case"application/x-7z-compressed":case"application/gzip":case"application/vnd.rar":return e.ZipIcon;case"text/csv":return e.CsvIcon;default:return e.AttachmentIcon}}exports.getFileIcon=u;exports.getFileName=t;exports.getFileSize=l;
|