@prozilla-os/file-explorer 1.0.9 → 1.0.10
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/main.js +563 -554
- package/dist/main.js.map +1 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { utilStyles as $t, VirtualFile as
|
|
2
|
-
import { jsxs as V, jsx as
|
|
3
|
-
import
|
|
4
|
-
import './assets/main.css';const
|
|
5
|
-
FileExplorer:
|
|
6
|
-
Header:
|
|
7
|
-
IconButton:
|
|
8
|
-
PathInput:
|
|
9
|
-
Body:
|
|
10
|
-
Sidebar:
|
|
11
|
-
NavButton:
|
|
12
|
-
Main:
|
|
13
|
-
Footer:
|
|
14
|
-
Selector:
|
|
1
|
+
import { utilStyles as $t, VirtualFile as _a, useSystemManager as Xn, WindowedModal as Ca, ImagePreview as nn, StorageManager as an, useVirtualRoot as Ia, useWindowsManager as Na, useHistory as Ma, useAlert as Ra, useWindowedModal as La, useContextMenu as rn, Actions as on, ClickAction as Ce, Vector2 as We, Divider as ja, VirtualRoot as sn, DialogBox as fn, ModalsConfig as cn, DirectoryList as za, CODE_EXTENSIONS as Da, App as Fa, AppsConfig as $a } from "@prozilla-os/core";
|
|
2
|
+
import { jsxs as V, jsx as E } from "react/jsx-runtime";
|
|
3
|
+
import Kn, { useState as dt, useCallback as Ya, useEffect as ln } from "react";
|
|
4
|
+
import './assets/main.css';const Ha = "_FileExplorer_10w0u_1", Ua = "_Header_10w0u_25", Wa = "_IconButton_10w0u_45", Ba = "_PathInput_10w0u_137", Va = "_Body_10w0u_159", qa = "_Sidebar_10w0u_175", Ga = "_NavButton_10w0u_203", Xa = "_Main_10w0u_249", Ka = "_Footer_10w0u_277", Ja = "_Selector_10w0u_315", G = {
|
|
5
|
+
FileExplorer: Ha,
|
|
6
|
+
Header: Ua,
|
|
7
|
+
IconButton: Wa,
|
|
8
|
+
PathInput: Ba,
|
|
9
|
+
Body: Va,
|
|
10
|
+
Sidebar: qa,
|
|
11
|
+
NavButton: Ga,
|
|
12
|
+
Main: Xa,
|
|
13
|
+
Footer: Ka,
|
|
14
|
+
Selector: Ja
|
|
15
15
|
};
|
|
16
|
-
function
|
|
16
|
+
function un(e, t) {
|
|
17
17
|
var n = Object.keys(e);
|
|
18
18
|
if (Object.getOwnPropertySymbols) {
|
|
19
19
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -26,34 +26,34 @@ function cn(e, t) {
|
|
|
26
26
|
function p(e) {
|
|
27
27
|
for (var t = 1; t < arguments.length; t++) {
|
|
28
28
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
29
|
-
t % 2 ?
|
|
29
|
+
t % 2 ? un(Object(n), !0).forEach(function(a) {
|
|
30
30
|
q(e, a, n[a]);
|
|
31
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : un(Object(n)).forEach(function(a) {
|
|
32
32
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
return e;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function rt(e) {
|
|
38
38
|
"@babel/helpers - typeof";
|
|
39
|
-
return
|
|
39
|
+
return rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
40
40
|
return typeof t;
|
|
41
41
|
} : function(t) {
|
|
42
42
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
43
|
-
},
|
|
43
|
+
}, rt(e);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Qa(e, t) {
|
|
46
46
|
if (!(e instanceof t))
|
|
47
47
|
throw new TypeError("Cannot call a class as a function");
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Za(e, t) {
|
|
50
50
|
for (var n = 0; n < t.length; n++) {
|
|
51
51
|
var a = t[n];
|
|
52
52
|
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return t &&
|
|
55
|
+
function er(e, t, n) {
|
|
56
|
+
return t && Za(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
57
57
|
writable: !1
|
|
58
58
|
}), e;
|
|
59
59
|
}
|
|
@@ -66,21 +66,21 @@ function q(e, t, n) {
|
|
|
66
66
|
}) : e[t] = n, e;
|
|
67
67
|
}
|
|
68
68
|
function Yt(e, t) {
|
|
69
|
-
return
|
|
69
|
+
return nr(e) || rr(e, t) || Jn(e, t) || or();
|
|
70
70
|
}
|
|
71
71
|
function Fe(e) {
|
|
72
|
-
return
|
|
72
|
+
return tr(e) || ar(e) || Jn(e) || ir();
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function tr(e) {
|
|
75
75
|
if (Array.isArray(e)) return Ot(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function nr(e) {
|
|
78
78
|
if (Array.isArray(e)) return e;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ar(e) {
|
|
81
81
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function rr(e, t) {
|
|
84
84
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
85
85
|
if (n != null) {
|
|
86
86
|
var a = [], r = !0, i = !1, o, s;
|
|
@@ -99,7 +99,7 @@ function ar(e, t) {
|
|
|
99
99
|
return a;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Jn(e, t) {
|
|
103
103
|
if (e) {
|
|
104
104
|
if (typeof e == "string") return Ot(e, t);
|
|
105
105
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -112,26 +112,26 @@ function Ot(e, t) {
|
|
|
112
112
|
for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
|
|
113
113
|
return a;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function ir() {
|
|
116
116
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
117
117
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function or() {
|
|
120
120
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
121
121
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
122
122
|
}
|
|
123
|
-
var
|
|
124
|
-
}, Ht = {},
|
|
125
|
-
mark:
|
|
126
|
-
measure:
|
|
123
|
+
var mn = function() {
|
|
124
|
+
}, Ht = {}, Qn = {}, Zn = null, ea = {
|
|
125
|
+
mark: mn,
|
|
126
|
+
measure: mn
|
|
127
127
|
};
|
|
128
128
|
try {
|
|
129
|
-
typeof window < "u" && (Ht = window), typeof document < "u" && (
|
|
129
|
+
typeof window < "u" && (Ht = window), typeof document < "u" && (Qn = document), typeof MutationObserver < "u" && (Zn = MutationObserver), typeof performance < "u" && (ea = performance);
|
|
130
130
|
} catch {
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var sr = Ht.navigator || {}, dn = sr.userAgent, vn = dn === void 0 ? "" : dn, ve = Ht, W = Qn, pn = Zn, Be = ea;
|
|
133
133
|
ve.document;
|
|
134
|
-
var me = !!W.documentElement && !!W.head && typeof W.addEventListener == "function" && typeof W.createElement == "function",
|
|
134
|
+
var me = !!W.documentElement && !!W.head && typeof W.addEventListener == "function" && typeof W.createElement == "function", ta = ~vn.indexOf("MSIE") || ~vn.indexOf("Trident/"), Ve, qe, Ge, Xe, Ke, ce = "___FONT_AWESOME___", St = 16, na = "fa", aa = "svg-inline--fa", xe = "data-fa-i2svg", Pt = "data-fa-pseudo-element", fr = "data-fa-pseudo-element-pending", Ut = "data-prefix", Wt = "data-icon", bn = "fontawesome-i2svg", cr = "async", lr = ["HTML", "HEAD", "STYLE", "SCRIPT"], ra = function() {
|
|
135
135
|
try {
|
|
136
136
|
return process.env.NODE_ENV === "production";
|
|
137
137
|
} catch {
|
|
@@ -145,7 +145,7 @@ function $e(e) {
|
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
var Re = $e((
|
|
148
|
+
var Re = $e((Ve = {}, q(Ve, U, {
|
|
149
149
|
fa: "solid",
|
|
150
150
|
fas: "solid",
|
|
151
151
|
"fa-solid": "solid",
|
|
@@ -163,7 +163,7 @@ var Re = $e((Be = {}, q(Be, U, {
|
|
|
163
163
|
fakd: "kit",
|
|
164
164
|
"fa-kit": "kit",
|
|
165
165
|
"fa-kit-duotone": "kit"
|
|
166
|
-
}), q(
|
|
166
|
+
}), q(Ve, B, {
|
|
167
167
|
fa: "solid",
|
|
168
168
|
fass: "solid",
|
|
169
169
|
"fa-solid": "solid",
|
|
@@ -173,7 +173,7 @@ var Re = $e((Be = {}, q(Be, U, {
|
|
|
173
173
|
"fa-light": "light",
|
|
174
174
|
fast: "thin",
|
|
175
175
|
"fa-thin": "thin"
|
|
176
|
-
}),
|
|
176
|
+
}), Ve)), Le = $e((qe = {}, q(qe, U, {
|
|
177
177
|
solid: "fas",
|
|
178
178
|
regular: "far",
|
|
179
179
|
light: "fal",
|
|
@@ -181,12 +181,12 @@ var Re = $e((Be = {}, q(Be, U, {
|
|
|
181
181
|
duotone: "fad",
|
|
182
182
|
brands: "fab",
|
|
183
183
|
kit: "fak"
|
|
184
|
-
}), q(
|
|
184
|
+
}), q(qe, B, {
|
|
185
185
|
solid: "fass",
|
|
186
186
|
regular: "fasr",
|
|
187
187
|
light: "fasl",
|
|
188
188
|
thin: "fast"
|
|
189
|
-
}),
|
|
189
|
+
}), qe)), je = $e((Ge = {}, q(Ge, U, {
|
|
190
190
|
fab: "fa-brands",
|
|
191
191
|
fad: "fa-duotone",
|
|
192
192
|
fak: "fa-kit",
|
|
@@ -194,12 +194,12 @@ var Re = $e((Be = {}, q(Be, U, {
|
|
|
194
194
|
far: "fa-regular",
|
|
195
195
|
fas: "fa-solid",
|
|
196
196
|
fat: "fa-thin"
|
|
197
|
-
}), q(
|
|
197
|
+
}), q(Ge, B, {
|
|
198
198
|
fass: "fa-solid",
|
|
199
199
|
fasr: "fa-regular",
|
|
200
200
|
fasl: "fa-light",
|
|
201
201
|
fast: "fa-thin"
|
|
202
|
-
}),
|
|
202
|
+
}), Ge)), ur = $e((Xe = {}, q(Xe, U, {
|
|
203
203
|
"fa-brands": "fab",
|
|
204
204
|
"fa-duotone": "fad",
|
|
205
205
|
"fa-kit": "fak",
|
|
@@ -207,23 +207,23 @@ var Re = $e((Be = {}, q(Be, U, {
|
|
|
207
207
|
"fa-regular": "far",
|
|
208
208
|
"fa-solid": "fas",
|
|
209
209
|
"fa-thin": "fat"
|
|
210
|
-
}), q(
|
|
210
|
+
}), q(Xe, B, {
|
|
211
211
|
"fa-solid": "fass",
|
|
212
212
|
"fa-regular": "fasr",
|
|
213
213
|
"fa-light": "fasl",
|
|
214
214
|
"fa-thin": "fast"
|
|
215
|
-
}),
|
|
215
|
+
}), Xe)), mr = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, ia = "fa-layers-text", dr = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, vr = $e((Ke = {}, q(Ke, U, {
|
|
216
216
|
900: "fas",
|
|
217
217
|
400: "far",
|
|
218
218
|
normal: "far",
|
|
219
219
|
300: "fal",
|
|
220
220
|
100: "fat"
|
|
221
|
-
}), q(
|
|
221
|
+
}), q(Ke, B, {
|
|
222
222
|
900: "fass",
|
|
223
223
|
400: "fasr",
|
|
224
224
|
300: "fasl",
|
|
225
225
|
100: "fast"
|
|
226
|
-
}),
|
|
226
|
+
}), Ke)), oa = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], pr = oa.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), br = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ye = {
|
|
227
227
|
GROUP: "duotone-group",
|
|
228
228
|
SWAP_OPACITY: "swap-opacity",
|
|
229
229
|
PRIMARY: "primary",
|
|
@@ -231,31 +231,31 @@ var Re = $e((Be = {}, q(Be, U, {
|
|
|
231
231
|
}, ze = /* @__PURE__ */ new Set();
|
|
232
232
|
Object.keys(Le[U]).map(ze.add.bind(ze));
|
|
233
233
|
Object.keys(Le[B]).map(ze.add.bind(ze));
|
|
234
|
-
var
|
|
234
|
+
var gr = [].concat(Bt, Fe(ze), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", ye.GROUP, ye.SWAP_OPACITY, ye.PRIMARY, ye.SECONDARY]).concat(oa.map(function(e) {
|
|
235
235
|
return "".concat(e, "x");
|
|
236
|
-
})).concat(
|
|
236
|
+
})).concat(pr.map(function(e) {
|
|
237
237
|
return "w-".concat(e);
|
|
238
238
|
})), Ne = ve.FontAwesomeConfig || {};
|
|
239
|
-
function
|
|
239
|
+
function yr(e) {
|
|
240
240
|
var t = W.querySelector("script[" + e + "]");
|
|
241
241
|
if (t)
|
|
242
242
|
return t.getAttribute(e);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function hr(e) {
|
|
245
245
|
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
246
246
|
}
|
|
247
247
|
if (W && typeof W.querySelector == "function") {
|
|
248
|
-
var
|
|
249
|
-
|
|
250
|
-
var t = Yt(e, 2), n = t[0], a = t[1], r = yr(
|
|
248
|
+
var xr = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
249
|
+
xr.forEach(function(e) {
|
|
250
|
+
var t = Yt(e, 2), n = t[0], a = t[1], r = hr(yr(n));
|
|
251
251
|
r != null && (Ne[a] = r);
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
|
-
var
|
|
254
|
+
var sa = {
|
|
255
255
|
styleDefault: "solid",
|
|
256
256
|
familyDefault: "classic",
|
|
257
|
-
cssPrefix:
|
|
258
|
-
replacementClass:
|
|
257
|
+
cssPrefix: na,
|
|
258
|
+
replacementClass: aa,
|
|
259
259
|
autoReplaceSvg: !0,
|
|
260
260
|
autoAddCss: !0,
|
|
261
261
|
autoA11y: !0,
|
|
@@ -267,10 +267,10 @@ var ia = {
|
|
|
267
267
|
showMissingIcons: !0
|
|
268
268
|
};
|
|
269
269
|
Ne.familyPrefix && (Ne.cssPrefix = Ne.familyPrefix);
|
|
270
|
-
var Pe = p(p({},
|
|
270
|
+
var Pe = p(p({}, sa), Ne);
|
|
271
271
|
Pe.autoReplaceSvg || (Pe.observeMutations = !1);
|
|
272
272
|
var y = {};
|
|
273
|
-
Object.keys(
|
|
273
|
+
Object.keys(sa).forEach(function(e) {
|
|
274
274
|
Object.defineProperty(y, e, {
|
|
275
275
|
enumerable: !0,
|
|
276
276
|
set: function(n) {
|
|
@@ -296,7 +296,7 @@ Object.defineProperty(y, "familyPrefix", {
|
|
|
296
296
|
});
|
|
297
297
|
ve.FontAwesomeConfig = y;
|
|
298
298
|
var Me = [];
|
|
299
|
-
function
|
|
299
|
+
function wr(e) {
|
|
300
300
|
return Me.push(e), function() {
|
|
301
301
|
Me.splice(Me.indexOf(e), 1);
|
|
302
302
|
};
|
|
@@ -309,7 +309,7 @@ var de = St, se = {
|
|
|
309
309
|
flipX: !1,
|
|
310
310
|
flipY: !1
|
|
311
311
|
};
|
|
312
|
-
function
|
|
312
|
+
function kr(e) {
|
|
313
313
|
if (!(!e || !me)) {
|
|
314
314
|
var t = W.createElement("style");
|
|
315
315
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
@@ -320,10 +320,10 @@ function wr(e) {
|
|
|
320
320
|
return W.head.insertBefore(t, a), e;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
-
var
|
|
323
|
+
var Er = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
324
324
|
function De() {
|
|
325
325
|
for (var e = 12, t = ""; e-- > 0; )
|
|
326
|
-
t +=
|
|
326
|
+
t += Er[Math.random() * 62 | 0];
|
|
327
327
|
return t;
|
|
328
328
|
}
|
|
329
329
|
function Te(e) {
|
|
@@ -336,15 +336,15 @@ function Vt(e) {
|
|
|
336
336
|
return t;
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function fa(e) {
|
|
340
340
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Ar(e) {
|
|
343
343
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
344
|
-
return t + "".concat(n, '="').concat(
|
|
344
|
+
return t + "".concat(n, '="').concat(fa(e[n]), '" ');
|
|
345
345
|
}, "").trim();
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function ft(e) {
|
|
348
348
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
349
349
|
return t + "".concat(n, ": ").concat(e[n].trim(), ";");
|
|
350
350
|
}, "");
|
|
@@ -352,7 +352,7 @@ function st(e) {
|
|
|
352
352
|
function qt(e) {
|
|
353
353
|
return e.size !== se.size || e.x !== se.x || e.y !== se.y || e.rotate !== se.rotate || e.flipX || e.flipY;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function Or(e) {
|
|
356
356
|
var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
|
|
357
357
|
transform: "translate(".concat(n / 2, " 256)")
|
|
358
358
|
}, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), f = {
|
|
@@ -366,11 +366,11 @@ function Ar(e) {
|
|
|
366
366
|
path: l
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Sr(e) {
|
|
370
370
|
var t = e.transform, n = e.width, a = n === void 0 ? St : n, r = e.height, i = r === void 0 ? St : r, o = e.startCentered, s = o === void 0 ? !1 : o, f = "";
|
|
371
|
-
return s &&
|
|
371
|
+
return s && ta ? f += "translate(".concat(t.x / de - a / 2, "em, ").concat(t.y / de - i / 2, "em) ") : s ? f += "translate(calc(-50% + ".concat(t.x / de, "em), calc(-50% + ").concat(t.y / de, "em)) ") : f += "translate(".concat(t.x / de, "em, ").concat(t.y / de, "em) "), f += "scale(".concat(t.size / de * (t.flipX ? -1 : 1), ", ").concat(t.size / de * (t.flipY ? -1 : 1), ") "), f += "rotate(".concat(t.rotate, "deg) "), f;
|
|
372
372
|
}
|
|
373
|
-
var
|
|
373
|
+
var Pr = `:root, :host {
|
|
374
374
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
375
375
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
376
376
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
@@ -1128,23 +1128,23 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1128
1128
|
.fa-duotone.fa-inverse {
|
|
1129
1129
|
color: var(--fa-inverse, #fff);
|
|
1130
1130
|
}`;
|
|
1131
|
-
function
|
|
1132
|
-
var e =
|
|
1131
|
+
function ca() {
|
|
1132
|
+
var e = na, t = aa, n = y.cssPrefix, a = y.replacementClass, r = Pr;
|
|
1133
1133
|
if (n !== e || a !== t) {
|
|
1134
1134
|
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
1135
1135
|
r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(s, ".".concat(a));
|
|
1136
1136
|
}
|
|
1137
1137
|
return r;
|
|
1138
1138
|
}
|
|
1139
|
-
var
|
|
1139
|
+
var gn = !1;
|
|
1140
1140
|
function vt() {
|
|
1141
|
-
y.autoAddCss && !
|
|
1141
|
+
y.autoAddCss && !gn && (kr(ca()), gn = !0);
|
|
1142
1142
|
}
|
|
1143
|
-
var
|
|
1143
|
+
var Tr = {
|
|
1144
1144
|
mixout: function() {
|
|
1145
1145
|
return {
|
|
1146
1146
|
dom: {
|
|
1147
|
-
css:
|
|
1147
|
+
css: ca,
|
|
1148
1148
|
insertCss: vt
|
|
1149
1149
|
}
|
|
1150
1150
|
};
|
|
@@ -1164,20 +1164,20 @@ le[ce] || (le[ce] = {});
|
|
|
1164
1164
|
le[ce].styles || (le[ce].styles = {});
|
|
1165
1165
|
le[ce].hooks || (le[ce].hooks = {});
|
|
1166
1166
|
le[ce].shims || (le[ce].shims = []);
|
|
1167
|
-
var ae = le[ce],
|
|
1168
|
-
W.removeEventListener("DOMContentLoaded", e),
|
|
1167
|
+
var ae = le[ce], la = [], _r = function e() {
|
|
1168
|
+
W.removeEventListener("DOMContentLoaded", e), it = 1, la.map(function(t) {
|
|
1169
1169
|
return t();
|
|
1170
1170
|
});
|
|
1171
|
-
},
|
|
1172
|
-
me && (
|
|
1173
|
-
function
|
|
1174
|
-
me && (
|
|
1171
|
+
}, it = !1;
|
|
1172
|
+
me && (it = (W.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(W.readyState), it || W.addEventListener("DOMContentLoaded", _r));
|
|
1173
|
+
function Cr(e) {
|
|
1174
|
+
me && (it ? setTimeout(e, 0) : la.push(e));
|
|
1175
1175
|
}
|
|
1176
1176
|
function Ye(e) {
|
|
1177
1177
|
var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
|
|
1178
|
-
return typeof e == "string" ?
|
|
1178
|
+
return typeof e == "string" ? fa(e) : "<".concat(t, " ").concat(Ar(a), ">").concat(i.map(Ye).join(""), "</").concat(t, ">");
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function yn(e, t, n) {
|
|
1181
1181
|
if (e && e[t] && e[t][n])
|
|
1182
1182
|
return {
|
|
1183
1183
|
prefix: t,
|
|
@@ -1191,7 +1191,7 @@ var pt = function(t, n, a, r) {
|
|
|
1191
1191
|
l = i[f], c = s(c, t[l], l, t);
|
|
1192
1192
|
return c;
|
|
1193
1193
|
};
|
|
1194
|
-
function
|
|
1194
|
+
function Ir(e) {
|
|
1195
1195
|
for (var t = [], n = 0, a = e.length; n < a; ) {
|
|
1196
1196
|
var r = e.charCodeAt(n++);
|
|
1197
1197
|
if (r >= 55296 && r <= 56319 && n < a) {
|
|
@@ -1203,38 +1203,38 @@ function Cr(e) {
|
|
|
1203
1203
|
return t;
|
|
1204
1204
|
}
|
|
1205
1205
|
function Tt(e) {
|
|
1206
|
-
var t =
|
|
1206
|
+
var t = Ir(e);
|
|
1207
1207
|
return t.length === 1 ? t[0].toString(16) : null;
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1209
|
+
function Nr(e, t) {
|
|
1210
1210
|
var n = e.length, a = e.charCodeAt(t), r;
|
|
1211
1211
|
return a >= 55296 && a <= 56319 && n > t + 1 && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (a - 55296) * 1024 + r - 56320 + 65536 : a;
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function hn(e) {
|
|
1214
1214
|
return Object.keys(e).reduce(function(t, n) {
|
|
1215
1215
|
var a = e[n], r = !!a.icon;
|
|
1216
1216
|
return r ? t[a.iconName] = a.icon : t[n] = a, t;
|
|
1217
1217
|
}, {});
|
|
1218
1218
|
}
|
|
1219
1219
|
function _t(e, t) {
|
|
1220
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i =
|
|
1221
|
-
typeof ae.hooks.addPack == "function" && !r ? ae.hooks.addPack(e,
|
|
1220
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = hn(t);
|
|
1221
|
+
typeof ae.hooks.addPack == "function" && !r ? ae.hooks.addPack(e, hn(t)) : ae.styles[e] = p(p({}, ae.styles[e] || {}), i), e === "fas" && _t("fa", t);
|
|
1222
1222
|
}
|
|
1223
|
-
var
|
|
1224
|
-
function
|
|
1225
|
-
return ~
|
|
1223
|
+
var Je, Qe, Ze, Ee = ae.styles, Mr = ae.shims, Rr = (Je = {}, q(Je, U, Object.values(je[U])), q(Je, B, Object.values(je[B])), Je), Gt = null, ua = {}, ma = {}, da = {}, va = {}, pa = {}, Lr = (Qe = {}, q(Qe, U, Object.keys(Re[U])), q(Qe, B, Object.keys(Re[B])), Qe);
|
|
1224
|
+
function jr(e) {
|
|
1225
|
+
return ~gr.indexOf(e);
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function zr(e, t) {
|
|
1228
1228
|
var n = t.split("-"), a = n[0], r = n.slice(1).join("-");
|
|
1229
|
-
return a === e && r !== "" && !
|
|
1229
|
+
return a === e && r !== "" && !jr(r) ? r : null;
|
|
1230
1230
|
}
|
|
1231
|
-
var
|
|
1231
|
+
var ba = function() {
|
|
1232
1232
|
var t = function(i) {
|
|
1233
1233
|
return pt(Ee, function(o, s, f) {
|
|
1234
1234
|
return o[f] = pt(s, i, {}), o;
|
|
1235
1235
|
}, {});
|
|
1236
1236
|
};
|
|
1237
|
-
|
|
1237
|
+
ua = t(function(r, i, o) {
|
|
1238
1238
|
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
1239
1239
|
var s = i[2].filter(function(f) {
|
|
1240
1240
|
return typeof f == "number";
|
|
@@ -1244,7 +1244,7 @@ var va = function() {
|
|
|
1244
1244
|
});
|
|
1245
1245
|
}
|
|
1246
1246
|
return r;
|
|
1247
|
-
}),
|
|
1247
|
+
}), ma = t(function(r, i, o) {
|
|
1248
1248
|
if (r[o] = o, i[2]) {
|
|
1249
1249
|
var s = i[2].filter(function(f) {
|
|
1250
1250
|
return typeof f == "string";
|
|
@@ -1254,13 +1254,13 @@ var va = function() {
|
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
1256
|
return r;
|
|
1257
|
-
}),
|
|
1257
|
+
}), pa = t(function(r, i, o) {
|
|
1258
1258
|
var s = i[2];
|
|
1259
1259
|
return r[o] = o, s.forEach(function(f) {
|
|
1260
1260
|
r[f] = o;
|
|
1261
1261
|
}), r;
|
|
1262
1262
|
});
|
|
1263
|
-
var n = "far" in Ee || y.autoFetchSvg, a = pt(
|
|
1263
|
+
var n = "far" in Ee || y.autoFetchSvg, a = pt(Mr, function(r, i) {
|
|
1264
1264
|
var o = i[0], s = i[1], f = i[2];
|
|
1265
1265
|
return s === "far" && !n && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1266
1266
|
prefix: s,
|
|
@@ -1273,33 +1273,33 @@ var va = function() {
|
|
|
1273
1273
|
names: {},
|
|
1274
1274
|
unicodes: {}
|
|
1275
1275
|
});
|
|
1276
|
-
|
|
1276
|
+
da = a.names, va = a.unicodes, Gt = ct(y.styleDefault, {
|
|
1277
1277
|
family: y.familyDefault
|
|
1278
1278
|
});
|
|
1279
1279
|
};
|
|
1280
|
-
|
|
1281
|
-
Gt =
|
|
1280
|
+
wr(function(e) {
|
|
1281
|
+
Gt = ct(e.styleDefault, {
|
|
1282
1282
|
family: y.familyDefault
|
|
1283
1283
|
});
|
|
1284
1284
|
});
|
|
1285
|
-
|
|
1285
|
+
ba();
|
|
1286
1286
|
function Xt(e, t) {
|
|
1287
|
-
return (
|
|
1287
|
+
return (ua[e] || {})[t];
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1290
|
-
return (
|
|
1289
|
+
function Dr(e, t) {
|
|
1290
|
+
return (ma[e] || {})[t];
|
|
1291
1291
|
}
|
|
1292
1292
|
function he(e, t) {
|
|
1293
|
-
return (
|
|
1293
|
+
return (pa[e] || {})[t];
|
|
1294
1294
|
}
|
|
1295
|
-
function
|
|
1296
|
-
return
|
|
1295
|
+
function ga(e) {
|
|
1296
|
+
return da[e] || {
|
|
1297
1297
|
prefix: null,
|
|
1298
1298
|
iconName: null
|
|
1299
1299
|
};
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1302
|
-
var t =
|
|
1301
|
+
function Fr(e) {
|
|
1302
|
+
var t = va[e], n = Xt("fas", e);
|
|
1303
1303
|
return t || (n ? {
|
|
1304
1304
|
prefix: "fas",
|
|
1305
1305
|
iconName: n
|
|
@@ -1318,35 +1318,35 @@ var Kt = function() {
|
|
|
1318
1318
|
rest: []
|
|
1319
1319
|
};
|
|
1320
1320
|
};
|
|
1321
|
-
function
|
|
1321
|
+
function ct(e) {
|
|
1322
1322
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? U : n, r = Re[a][e], i = Le[a][e] || Le[a][r], o = e in ae.styles ? e : null;
|
|
1323
1323
|
return i || o || null;
|
|
1324
1324
|
}
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1325
|
+
var xn = (Ze = {}, q(Ze, U, Object.keys(je[U])), q(Ze, B, Object.keys(je[B])), Ze);
|
|
1326
|
+
function lt(e) {
|
|
1327
1327
|
var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.skipLookups, r = a === void 0 ? !1 : a, i = (t = {}, q(t, U, "".concat(y.cssPrefix, "-").concat(U)), q(t, B, "".concat(y.cssPrefix, "-").concat(B)), t), o = null, s = U;
|
|
1328
1328
|
(e.includes(i[U]) || e.some(function(l) {
|
|
1329
|
-
return
|
|
1329
|
+
return xn[U].includes(l);
|
|
1330
1330
|
})) && (s = U), (e.includes(i[B]) || e.some(function(l) {
|
|
1331
|
-
return
|
|
1331
|
+
return xn[B].includes(l);
|
|
1332
1332
|
})) && (s = B);
|
|
1333
1333
|
var f = e.reduce(function(l, c) {
|
|
1334
|
-
var u =
|
|
1335
|
-
if (Ee[c] ? (c =
|
|
1334
|
+
var u = zr(y.cssPrefix, c);
|
|
1335
|
+
if (Ee[c] ? (c = Rr[s].includes(c) ? ur[s][c] : c, o = c, l.prefix = c) : Lr[s].indexOf(c) > -1 ? (o = c, l.prefix = ct(c, {
|
|
1336
1336
|
family: s
|
|
1337
1337
|
})) : u ? l.iconName = u : c !== y.replacementClass && c !== i[U] && c !== i[B] && l.rest.push(c), !r && l.prefix && l.iconName) {
|
|
1338
|
-
var g = o === "fa" ?
|
|
1338
|
+
var g = o === "fa" ? ga(l.iconName) : {}, h = he(l.prefix, l.iconName);
|
|
1339
1339
|
g.prefix && (o = null), l.iconName = g.iconName || h || l.iconName, l.prefix = g.prefix || l.prefix, l.prefix === "far" && !Ee.far && Ee.fas && !y.autoFetchSvg && (l.prefix = "fas");
|
|
1340
1340
|
}
|
|
1341
1341
|
return l;
|
|
1342
1342
|
}, Kt());
|
|
1343
1343
|
return (e.includes("fa-brands") || e.includes("fab")) && (f.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (f.prefix = "fad"), !f.prefix && s === B && (Ee.fass || y.autoFetchSvg) && (f.prefix = "fass", f.iconName = he(f.prefix, f.iconName) || f.iconName), (f.prefix === "fa" || o === "fa") && (f.prefix = pe() || "fas"), f;
|
|
1344
1344
|
}
|
|
1345
|
-
var
|
|
1345
|
+
var $r = /* @__PURE__ */ function() {
|
|
1346
1346
|
function e() {
|
|
1347
|
-
|
|
1347
|
+
Qa(this, e), this.definitions = {};
|
|
1348
1348
|
}
|
|
1349
|
-
return
|
|
1349
|
+
return er(e, [{
|
|
1350
1350
|
key: "add",
|
|
1351
1351
|
value: function() {
|
|
1352
1352
|
for (var n = this, a = arguments.length, r = new Array(a), i = 0; i < a; i++)
|
|
@@ -1355,7 +1355,7 @@ var Fr = /* @__PURE__ */ function() {
|
|
|
1355
1355
|
Object.keys(o).forEach(function(s) {
|
|
1356
1356
|
n.definitions[s] = p(p({}, n.definitions[s] || {}), o[s]), _t(s, o[s]);
|
|
1357
1357
|
var f = je[U][s];
|
|
1358
|
-
f && _t(f, o[s]),
|
|
1358
|
+
f && _t(f, o[s]), ba();
|
|
1359
1359
|
});
|
|
1360
1360
|
}
|
|
1361
1361
|
}, {
|
|
@@ -1377,15 +1377,15 @@ var Fr = /* @__PURE__ */ function() {
|
|
|
1377
1377
|
}), n;
|
|
1378
1378
|
}
|
|
1379
1379
|
}]), e;
|
|
1380
|
-
}(),
|
|
1381
|
-
function
|
|
1380
|
+
}(), wn = [], Ae = {}, Se = {}, Yr = Object.keys(Se);
|
|
1381
|
+
function Hr(e, t) {
|
|
1382
1382
|
var n = t.mixoutsTo;
|
|
1383
|
-
return
|
|
1384
|
-
|
|
1385
|
-
}),
|
|
1383
|
+
return wn = e, Ae = {}, Object.keys(Se).forEach(function(a) {
|
|
1384
|
+
Yr.indexOf(a) === -1 && delete Se[a];
|
|
1385
|
+
}), wn.forEach(function(a) {
|
|
1386
1386
|
var r = a.mixout ? a.mixout() : {};
|
|
1387
1387
|
if (Object.keys(r).forEach(function(o) {
|
|
1388
|
-
typeof r[o] == "function" && (n[o] = r[o]),
|
|
1388
|
+
typeof r[o] == "function" && (n[o] = r[o]), rt(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
1389
1389
|
n[o] || (n[o] = {}), n[o][s] = r[o][s];
|
|
1390
1390
|
});
|
|
1391
1391
|
}), a.hooks) {
|
|
@@ -1421,41 +1421,41 @@ function It(e) {
|
|
|
1421
1421
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
1422
1422
|
var t = e.iconName, n = e.prefix || pe();
|
|
1423
1423
|
if (t)
|
|
1424
|
-
return t = he(n, t) || t,
|
|
1424
|
+
return t = he(n, t) || t, yn(ya.definitions, n, t) || yn(ae.styles, n, t);
|
|
1425
1425
|
}
|
|
1426
|
-
var
|
|
1426
|
+
var ya = new $r(), Ur = function() {
|
|
1427
1427
|
y.autoReplaceSvg = !1, y.observeMutations = !1, we("noAuto");
|
|
1428
|
-
},
|
|
1428
|
+
}, Wr = {
|
|
1429
1429
|
i2svg: function() {
|
|
1430
1430
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1431
1431
|
return me ? (we("beforeI2svg", t), ue("pseudoElements2svg", t), ue("i2svg", t)) : Promise.reject("Operation requires a DOM of some kind.");
|
|
1432
1432
|
},
|
|
1433
1433
|
watch: function() {
|
|
1434
1434
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
|
|
1435
|
-
y.autoReplaceSvg === !1 && (y.autoReplaceSvg = !0), y.observeMutations = !0,
|
|
1436
|
-
|
|
1435
|
+
y.autoReplaceSvg === !1 && (y.autoReplaceSvg = !0), y.observeMutations = !0, Cr(function() {
|
|
1436
|
+
Vr({
|
|
1437
1437
|
autoReplaceSvgRoot: n
|
|
1438
1438
|
}), we("watch", t);
|
|
1439
1439
|
});
|
|
1440
1440
|
}
|
|
1441
|
-
},
|
|
1441
|
+
}, Br = {
|
|
1442
1442
|
icon: function(t) {
|
|
1443
1443
|
if (t === null)
|
|
1444
1444
|
return null;
|
|
1445
|
-
if (
|
|
1445
|
+
if (rt(t) === "object" && t.prefix && t.iconName)
|
|
1446
1446
|
return {
|
|
1447
1447
|
prefix: t.prefix,
|
|
1448
1448
|
iconName: he(t.prefix, t.iconName) || t.iconName
|
|
1449
1449
|
};
|
|
1450
1450
|
if (Array.isArray(t) && t.length === 2) {
|
|
1451
|
-
var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], a =
|
|
1451
|
+
var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], a = ct(t[0]);
|
|
1452
1452
|
return {
|
|
1453
1453
|
prefix: a,
|
|
1454
1454
|
iconName: he(a, n) || n
|
|
1455
1455
|
};
|
|
1456
1456
|
}
|
|
1457
|
-
if (typeof t == "string" && (t.indexOf("".concat(y.cssPrefix, "-")) > -1 || t.match(
|
|
1458
|
-
var r =
|
|
1457
|
+
if (typeof t == "string" && (t.indexOf("".concat(y.cssPrefix, "-")) > -1 || t.match(mr))) {
|
|
1458
|
+
var r = lt(t.split(" "), {
|
|
1459
1459
|
skipLookups: !0
|
|
1460
1460
|
});
|
|
1461
1461
|
return {
|
|
@@ -1472,20 +1472,20 @@ var ba = new Fr(), Hr = function() {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
1474
|
}, te = {
|
|
1475
|
-
noAuto:
|
|
1475
|
+
noAuto: Ur,
|
|
1476
1476
|
config: y,
|
|
1477
|
-
dom:
|
|
1478
|
-
parse:
|
|
1479
|
-
library:
|
|
1477
|
+
dom: Wr,
|
|
1478
|
+
parse: Br,
|
|
1479
|
+
library: ya,
|
|
1480
1480
|
findIconDefinition: It,
|
|
1481
1481
|
toHtml: Ye
|
|
1482
|
-
},
|
|
1482
|
+
}, Vr = function() {
|
|
1483
1483
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? W : n;
|
|
1484
1484
|
(Object.keys(ae.styles).length > 0 || y.autoFetchSvg) && me && y.autoReplaceSvg && te.dom.i2svg({
|
|
1485
1485
|
node: a
|
|
1486
1486
|
});
|
|
1487
1487
|
};
|
|
1488
|
-
function
|
|
1488
|
+
function ut(e, t) {
|
|
1489
1489
|
return Object.defineProperty(e, "abstract", {
|
|
1490
1490
|
get: t
|
|
1491
1491
|
}), Object.defineProperty(e, "html", {
|
|
@@ -1503,14 +1503,14 @@ function lt(e, t) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
}), e;
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1506
|
+
function qr(e) {
|
|
1507
1507
|
var t = e.children, n = e.main, a = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
1508
1508
|
if (qt(o) && n.found && !a.found) {
|
|
1509
1509
|
var s = n.width, f = n.height, l = {
|
|
1510
1510
|
x: s / f / 2,
|
|
1511
1511
|
y: 0.5
|
|
1512
1512
|
};
|
|
1513
|
-
r.style =
|
|
1513
|
+
r.style = ft(p(p({}, i), {}, {
|
|
1514
1514
|
"transform-origin": "".concat(l.x + o.x / 16, "em ").concat(l.y + o.y / 16, "em")
|
|
1515
1515
|
}));
|
|
1516
1516
|
}
|
|
@@ -1520,7 +1520,7 @@ function Vr(e) {
|
|
|
1520
1520
|
children: t
|
|
1521
1521
|
}];
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function Gr(e) {
|
|
1524
1524
|
var t = e.prefix, n = e.iconName, a = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(y.cssPrefix, "-").concat(n) : i;
|
|
1525
1525
|
return [{
|
|
1526
1526
|
tag: "svg",
|
|
@@ -1541,7 +1541,7 @@ function Jt(e) {
|
|
|
1541
1541
|
return u.classes.indexOf(J) === -1;
|
|
1542
1542
|
}).filter(function(J) {
|
|
1543
1543
|
return J !== "" || !!J;
|
|
1544
|
-
}).concat(u.classes).join(" "),
|
|
1544
|
+
}).concat(u.classes).join(" "), A = {
|
|
1545
1545
|
children: [],
|
|
1546
1546
|
attributes: p(p({}, u.attributes), {}, {
|
|
1547
1547
|
"data-prefix": r,
|
|
@@ -1554,14 +1554,14 @@ function Jt(e) {
|
|
|
1554
1554
|
}, M = N && !~u.classes.indexOf("fa-fw") ? {
|
|
1555
1555
|
width: "".concat(x / w * 16 * 0.0625, "em")
|
|
1556
1556
|
} : {};
|
|
1557
|
-
h && (
|
|
1557
|
+
h && (A.attributes[xe] = ""), f && (A.children.push({
|
|
1558
1558
|
tag: "title",
|
|
1559
1559
|
attributes: {
|
|
1560
|
-
id:
|
|
1560
|
+
id: A.attributes["aria-labelledby"] || "title-".concat(c || De())
|
|
1561
1561
|
},
|
|
1562
1562
|
children: [f]
|
|
1563
|
-
}), delete
|
|
1564
|
-
var m = p(p({},
|
|
1563
|
+
}), delete A.attributes.title);
|
|
1564
|
+
var m = p(p({}, A), {}, {
|
|
1565
1565
|
prefix: r,
|
|
1566
1566
|
iconName: i,
|
|
1567
1567
|
main: n,
|
|
@@ -1577,9 +1577,9 @@ function Jt(e) {
|
|
|
1577
1577
|
children: [],
|
|
1578
1578
|
attributes: {}
|
|
1579
1579
|
}, K = X.children, fe = X.attributes;
|
|
1580
|
-
return m.children = K, m.attributes = fe, s ?
|
|
1580
|
+
return m.children = K, m.attributes = fe, s ? Gr(m) : qr(m);
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function kn(e) {
|
|
1583
1583
|
var t = e.content, n = e.width, a = e.height, r = e.transform, i = e.title, o = e.extra, s = e.watchable, f = s === void 0 ? !1 : s, l = p(p(p({}, o.attributes), i ? {
|
|
1584
1584
|
title: i
|
|
1585
1585
|
} : {}), {}, {
|
|
@@ -1587,13 +1587,13 @@ function xn(e) {
|
|
|
1587
1587
|
});
|
|
1588
1588
|
f && (l[xe] = "");
|
|
1589
1589
|
var c = p({}, o.styles);
|
|
1590
|
-
qt(r) && (c.transform =
|
|
1590
|
+
qt(r) && (c.transform = Sr({
|
|
1591
1591
|
transform: r,
|
|
1592
1592
|
startCentered: !0,
|
|
1593
1593
|
width: n,
|
|
1594
1594
|
height: a
|
|
1595
1595
|
}), c["-webkit-transform"] = c.transform);
|
|
1596
|
-
var u =
|
|
1596
|
+
var u = ft(c);
|
|
1597
1597
|
u.length > 0 && (l.style = u);
|
|
1598
1598
|
var g = [];
|
|
1599
1599
|
return g.push({
|
|
@@ -1608,12 +1608,12 @@ function xn(e) {
|
|
|
1608
1608
|
children: [i]
|
|
1609
1609
|
}), g;
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function Xr(e) {
|
|
1612
1612
|
var t = e.content, n = e.title, a = e.extra, r = p(p(p({}, a.attributes), n ? {
|
|
1613
1613
|
title: n
|
|
1614
1614
|
} : {}), {}, {
|
|
1615
1615
|
class: a.classes.join(" ")
|
|
1616
|
-
}), i =
|
|
1616
|
+
}), i = ft(a.styles);
|
|
1617
1617
|
i.length > 0 && (r.style = i);
|
|
1618
1618
|
var o = [];
|
|
1619
1619
|
return o.push({
|
|
@@ -1664,70 +1664,70 @@ function Nt(e) {
|
|
|
1664
1664
|
icon: o
|
|
1665
1665
|
};
|
|
1666
1666
|
}
|
|
1667
|
-
var
|
|
1667
|
+
var Kr = {
|
|
1668
1668
|
found: !1,
|
|
1669
1669
|
width: 512,
|
|
1670
1670
|
height: 512
|
|
1671
1671
|
};
|
|
1672
|
-
function
|
|
1673
|
-
!
|
|
1672
|
+
function Jr(e, t) {
|
|
1673
|
+
!ra && !y.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
1674
1674
|
}
|
|
1675
1675
|
function Mt(e, t) {
|
|
1676
1676
|
var n = t;
|
|
1677
1677
|
return t === "fa" && y.styleDefault !== null && (t = pe()), new Promise(function(a, r) {
|
|
1678
1678
|
if (ue("missingIconAbstract"), n === "fa") {
|
|
1679
|
-
var i =
|
|
1679
|
+
var i = ga(e) || {};
|
|
1680
1680
|
e = i.iconName || e, t = i.prefix || t;
|
|
1681
1681
|
}
|
|
1682
1682
|
if (e && t && bt[t] && bt[t][e]) {
|
|
1683
1683
|
var o = bt[t][e];
|
|
1684
1684
|
return a(Nt(o));
|
|
1685
1685
|
}
|
|
1686
|
-
|
|
1686
|
+
Jr(e, t), a(p(p({}, Kr), {}, {
|
|
1687
1687
|
icon: y.showMissingIcons && e ? ue("missingIconAbstract") || {} : {}
|
|
1688
1688
|
}));
|
|
1689
1689
|
});
|
|
1690
1690
|
}
|
|
1691
|
-
var
|
|
1692
|
-
}, Rt = y.measurePerformance &&
|
|
1693
|
-
mark:
|
|
1694
|
-
measure:
|
|
1695
|
-
}, Ie = 'FA "6.5.2"',
|
|
1691
|
+
var En = function() {
|
|
1692
|
+
}, Rt = y.measurePerformance && Be && Be.mark && Be.measure ? Be : {
|
|
1693
|
+
mark: En,
|
|
1694
|
+
measure: En
|
|
1695
|
+
}, Ie = 'FA "6.5.2"', Qr = function(t) {
|
|
1696
1696
|
return Rt.mark("".concat(Ie, " ").concat(t, " begins")), function() {
|
|
1697
|
-
return
|
|
1697
|
+
return ha(t);
|
|
1698
1698
|
};
|
|
1699
|
-
},
|
|
1699
|
+
}, ha = function(t) {
|
|
1700
1700
|
Rt.mark("".concat(Ie, " ").concat(t, " ends")), Rt.measure("".concat(Ie, " ").concat(t), "".concat(Ie, " ").concat(t, " begins"), "".concat(Ie, " ").concat(t, " ends"));
|
|
1701
1701
|
}, Qt = {
|
|
1702
|
-
begin:
|
|
1703
|
-
end:
|
|
1704
|
-
},
|
|
1702
|
+
begin: Qr,
|
|
1703
|
+
end: ha
|
|
1704
|
+
}, nt = function() {
|
|
1705
1705
|
};
|
|
1706
|
-
function
|
|
1706
|
+
function An(e) {
|
|
1707
1707
|
var t = e.getAttribute ? e.getAttribute(xe) : null;
|
|
1708
1708
|
return typeof t == "string";
|
|
1709
1709
|
}
|
|
1710
|
-
function
|
|
1710
|
+
function Zr(e) {
|
|
1711
1711
|
var t = e.getAttribute ? e.getAttribute(Ut) : null, n = e.getAttribute ? e.getAttribute(Wt) : null;
|
|
1712
1712
|
return t && n;
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function ei(e) {
|
|
1715
1715
|
return e && e.classList && e.classList.contains && e.classList.contains(y.replacementClass);
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1717
|
+
function ti() {
|
|
1718
1718
|
if (y.autoReplaceSvg === !0)
|
|
1719
|
-
return
|
|
1720
|
-
var e =
|
|
1721
|
-
return e ||
|
|
1719
|
+
return at.replace;
|
|
1720
|
+
var e = at[y.autoReplaceSvg];
|
|
1721
|
+
return e || at.replace;
|
|
1722
1722
|
}
|
|
1723
|
-
function
|
|
1723
|
+
function ni(e) {
|
|
1724
1724
|
return W.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function ai(e) {
|
|
1727
1727
|
return W.createElement(e);
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1730
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ?
|
|
1729
|
+
function xa(e) {
|
|
1730
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ? ni : ai : n;
|
|
1731
1731
|
if (typeof e == "string")
|
|
1732
1732
|
return W.createTextNode(e);
|
|
1733
1733
|
var r = a(e.tag);
|
|
@@ -1736,23 +1736,23 @@ function ya(e) {
|
|
|
1736
1736
|
});
|
|
1737
1737
|
var i = e.children || [];
|
|
1738
1738
|
return i.forEach(function(o) {
|
|
1739
|
-
r.appendChild(
|
|
1739
|
+
r.appendChild(xa(o, {
|
|
1740
1740
|
ceFn: a
|
|
1741
1741
|
}));
|
|
1742
1742
|
}), r;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function ri(e) {
|
|
1745
1745
|
var t = " ".concat(e.outerHTML, " ");
|
|
1746
1746
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
1747
1747
|
}
|
|
1748
|
-
var
|
|
1748
|
+
var at = {
|
|
1749
1749
|
replace: function(t) {
|
|
1750
1750
|
var n = t[0];
|
|
1751
1751
|
if (n.parentNode)
|
|
1752
1752
|
if (t[1].forEach(function(r) {
|
|
1753
|
-
n.parentNode.insertBefore(
|
|
1753
|
+
n.parentNode.insertBefore(xa(r), n);
|
|
1754
1754
|
}), n.getAttribute(xe) === null && y.keepOriginalSource) {
|
|
1755
|
-
var a = W.createComment(
|
|
1755
|
+
var a = W.createComment(ri(n));
|
|
1756
1756
|
n.parentNode.replaceChild(a, n);
|
|
1757
1757
|
} else
|
|
1758
1758
|
n.remove();
|
|
@@ -1760,7 +1760,7 @@ var nt = {
|
|
|
1760
1760
|
nest: function(t) {
|
|
1761
1761
|
var n = t[0], a = t[1];
|
|
1762
1762
|
if (~Vt(n).indexOf(y.replacementClass))
|
|
1763
|
-
return
|
|
1763
|
+
return at.replace(t);
|
|
1764
1764
|
var r = new RegExp("".concat(y.cssPrefix, "-.*"));
|
|
1765
1765
|
if (delete a[0].attributes.id, a[0].attributes.class) {
|
|
1766
1766
|
var i = a[0].attributes.class.split(" ").reduce(function(s, f) {
|
|
@@ -1778,44 +1778,44 @@ var nt = {
|
|
|
1778
1778
|
n.setAttribute(xe, ""), n.innerHTML = o;
|
|
1779
1779
|
}
|
|
1780
1780
|
};
|
|
1781
|
-
function
|
|
1781
|
+
function On(e) {
|
|
1782
1782
|
e();
|
|
1783
1783
|
}
|
|
1784
|
-
function
|
|
1785
|
-
var n = typeof t == "function" ? t :
|
|
1784
|
+
function wa(e, t) {
|
|
1785
|
+
var n = typeof t == "function" ? t : nt;
|
|
1786
1786
|
if (e.length === 0)
|
|
1787
1787
|
n();
|
|
1788
1788
|
else {
|
|
1789
|
-
var a =
|
|
1790
|
-
y.mutateApproach ===
|
|
1791
|
-
var r =
|
|
1789
|
+
var a = On;
|
|
1790
|
+
y.mutateApproach === cr && (a = ve.requestAnimationFrame || On), a(function() {
|
|
1791
|
+
var r = ti(), i = Qt.begin("mutate");
|
|
1792
1792
|
e.map(r), i(), n();
|
|
1793
1793
|
});
|
|
1794
1794
|
}
|
|
1795
1795
|
}
|
|
1796
1796
|
var Zt = !1;
|
|
1797
|
-
function
|
|
1797
|
+
function ka() {
|
|
1798
1798
|
Zt = !0;
|
|
1799
1799
|
}
|
|
1800
1800
|
function Lt() {
|
|
1801
1801
|
Zt = !1;
|
|
1802
1802
|
}
|
|
1803
|
-
var
|
|
1804
|
-
function
|
|
1805
|
-
if (
|
|
1806
|
-
var t = e.treeCallback, n = t === void 0 ?
|
|
1807
|
-
|
|
1803
|
+
var ot = null;
|
|
1804
|
+
function Sn(e) {
|
|
1805
|
+
if (pn && y.observeMutations) {
|
|
1806
|
+
var t = e.treeCallback, n = t === void 0 ? nt : t, a = e.nodeCallback, r = a === void 0 ? nt : a, i = e.pseudoElementsCallback, o = i === void 0 ? nt : i, s = e.observeMutationsRoot, f = s === void 0 ? W : s;
|
|
1807
|
+
ot = new pn(function(l) {
|
|
1808
1808
|
if (!Zt) {
|
|
1809
1809
|
var c = pe();
|
|
1810
1810
|
Te(l).forEach(function(u) {
|
|
1811
|
-
if (u.type === "childList" && u.addedNodes.length > 0 && !
|
|
1812
|
-
if (u.attributeName === "class" &&
|
|
1813
|
-
var g =
|
|
1811
|
+
if (u.type === "childList" && u.addedNodes.length > 0 && !An(u.addedNodes[0]) && (y.searchPseudoElements && o(u.target), n(u.target)), u.type === "attributes" && u.target.parentNode && y.searchPseudoElements && o(u.target.parentNode), u.type === "attributes" && An(u.target) && ~br.indexOf(u.attributeName))
|
|
1812
|
+
if (u.attributeName === "class" && Zr(u.target)) {
|
|
1813
|
+
var g = lt(Vt(u.target)), h = g.prefix, S = g.iconName;
|
|
1814
1814
|
u.target.setAttribute(Ut, h || c), S && u.target.setAttribute(Wt, S);
|
|
1815
|
-
} else
|
|
1815
|
+
} else ei(u.target) && r(u.target);
|
|
1816
1816
|
});
|
|
1817
1817
|
}
|
|
1818
|
-
}), me &&
|
|
1818
|
+
}), me && ot.observe(f, {
|
|
1819
1819
|
childList: !0,
|
|
1820
1820
|
attributes: !0,
|
|
1821
1821
|
characterData: !0,
|
|
@@ -1823,27 +1823,27 @@ function An(e) {
|
|
|
1823
1823
|
});
|
|
1824
1824
|
}
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1827
|
-
|
|
1826
|
+
function ii() {
|
|
1827
|
+
ot && ot.disconnect();
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function oi(e) {
|
|
1830
1830
|
var t = e.getAttribute("style"), n = [];
|
|
1831
1831
|
return t && (n = t.split(";").reduce(function(a, r) {
|
|
1832
1832
|
var i = r.split(":"), o = i[0], s = i.slice(1);
|
|
1833
1833
|
return o && s.length > 0 && (a[o] = s.join(":").trim()), a;
|
|
1834
1834
|
}, {})), n;
|
|
1835
1835
|
}
|
|
1836
|
-
function oi(e) {
|
|
1837
|
-
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = ct(Vt(e));
|
|
1838
|
-
return r.prefix || (r.prefix = pe()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = zr(r.prefix, e.innerText) || Xt(r.prefix, Tt(e.innerText))), !r.iconName && y.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
1839
|
-
}
|
|
1840
1836
|
function si(e) {
|
|
1837
|
+
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = lt(Vt(e));
|
|
1838
|
+
return r.prefix || (r.prefix = pe()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Dr(r.prefix, e.innerText) || Xt(r.prefix, Tt(e.innerText))), !r.iconName && y.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
1839
|
+
}
|
|
1840
|
+
function fi(e) {
|
|
1841
1841
|
var t = Te(e.attributes).reduce(function(r, i) {
|
|
1842
1842
|
return r.name !== "class" && r.name !== "style" && (r[i.name] = i.value), r;
|
|
1843
1843
|
}, {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
|
|
1844
1844
|
return y.autoA11y && (n ? t["aria-labelledby"] = "".concat(y.replacementClass, "-title-").concat(a || De()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function ci() {
|
|
1847
1847
|
return {
|
|
1848
1848
|
iconName: null,
|
|
1849
1849
|
title: null,
|
|
@@ -1864,10 +1864,10 @@ function fi() {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
};
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1867
|
+
function Pn(e) {
|
|
1868
1868
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
1869
1869
|
styleParser: !0
|
|
1870
|
-
}, n =
|
|
1870
|
+
}, n = si(e), a = n.iconName, r = n.prefix, i = n.rest, o = fi(e), s = Ct("parseNodeAttributes", {}, e), f = t.styleParser ? oi(e) : [];
|
|
1871
1871
|
return p({
|
|
1872
1872
|
iconName: a,
|
|
1873
1873
|
title: e.getAttribute("title"),
|
|
@@ -1888,12 +1888,12 @@ function On(e) {
|
|
|
1888
1888
|
}
|
|
1889
1889
|
}, s);
|
|
1890
1890
|
}
|
|
1891
|
-
var
|
|
1892
|
-
function
|
|
1893
|
-
var t = y.autoReplaceSvg === "nest" ?
|
|
1891
|
+
var li = ae.styles;
|
|
1892
|
+
function Ea(e) {
|
|
1893
|
+
var t = y.autoReplaceSvg === "nest" ? Pn(e, {
|
|
1894
1894
|
styleParser: !1
|
|
1895
|
-
}) :
|
|
1896
|
-
return ~t.extra.classes.indexOf(
|
|
1895
|
+
}) : Pn(e);
|
|
1896
|
+
return ~t.extra.classes.indexOf(ia) ? ue("generateLayersText", e, t) : ue("generateSvgReplacementMutation", e, t);
|
|
1897
1897
|
}
|
|
1898
1898
|
var be = /* @__PURE__ */ new Set();
|
|
1899
1899
|
Bt.map(function(e) {
|
|
@@ -1902,18 +1902,18 @@ Bt.map(function(e) {
|
|
|
1902
1902
|
Object.keys(Re[U]).map(be.add.bind(be));
|
|
1903
1903
|
Object.keys(Re[B]).map(be.add.bind(be));
|
|
1904
1904
|
be = Fe(be);
|
|
1905
|
-
function
|
|
1905
|
+
function Tn(e) {
|
|
1906
1906
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1907
1907
|
if (!me) return Promise.resolve();
|
|
1908
1908
|
var n = W.documentElement.classList, a = function(u) {
|
|
1909
|
-
return n.add("".concat(
|
|
1909
|
+
return n.add("".concat(bn, "-").concat(u));
|
|
1910
1910
|
}, r = function(u) {
|
|
1911
|
-
return n.remove("".concat(
|
|
1911
|
+
return n.remove("".concat(bn, "-").concat(u));
|
|
1912
1912
|
}, i = y.autoFetchSvg ? be : Bt.map(function(c) {
|
|
1913
1913
|
return "fa-".concat(c);
|
|
1914
|
-
}).concat(Object.keys(
|
|
1914
|
+
}).concat(Object.keys(li));
|
|
1915
1915
|
i.includes("fa") || i.push("fa");
|
|
1916
|
-
var o = [".".concat(
|
|
1916
|
+
var o = [".".concat(ia, ":not([").concat(xe, "])")].concat(i.map(function(c) {
|
|
1917
1917
|
return ".".concat(c, ":not([").concat(xe, "])");
|
|
1918
1918
|
})).join(", ");
|
|
1919
1919
|
if (o.length === 0)
|
|
@@ -1929,16 +1929,16 @@ function Sn(e) {
|
|
|
1929
1929
|
return Promise.resolve();
|
|
1930
1930
|
var f = Qt.begin("onTree"), l = s.reduce(function(c, u) {
|
|
1931
1931
|
try {
|
|
1932
|
-
var g =
|
|
1932
|
+
var g = Ea(u);
|
|
1933
1933
|
g && c.push(g);
|
|
1934
1934
|
} catch (h) {
|
|
1935
|
-
|
|
1935
|
+
ra || h.name === "MissingIcon" && console.error(h);
|
|
1936
1936
|
}
|
|
1937
1937
|
return c;
|
|
1938
1938
|
}, []);
|
|
1939
1939
|
return new Promise(function(c, u) {
|
|
1940
1940
|
Promise.all(l).then(function(g) {
|
|
1941
|
-
|
|
1941
|
+
wa(g, function() {
|
|
1942
1942
|
a("active"), a("complete"), r("pending"), typeof t == "function" && t(), f(), c();
|
|
1943
1943
|
});
|
|
1944
1944
|
}).catch(function(g) {
|
|
@@ -1946,13 +1946,13 @@ function Sn(e) {
|
|
|
1946
1946
|
});
|
|
1947
1947
|
});
|
|
1948
1948
|
}
|
|
1949
|
-
function
|
|
1949
|
+
function ui(e) {
|
|
1950
1950
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1951
|
-
|
|
1952
|
-
n &&
|
|
1951
|
+
Ea(e).then(function(n) {
|
|
1952
|
+
n && wa([n], t);
|
|
1953
1953
|
});
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1955
|
+
function mi(e) {
|
|
1956
1956
|
return function(t) {
|
|
1957
1957
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = (t || {}).icon ? t : It(t || {}), r = n.mask;
|
|
1958
1958
|
return r && (r = (r || {}).icon ? r : It(r || {})), e(a, p(p({}, n), {}, {
|
|
@@ -1960,11 +1960,11 @@ function ui(e) {
|
|
|
1960
1960
|
}));
|
|
1961
1961
|
};
|
|
1962
1962
|
}
|
|
1963
|
-
var
|
|
1964
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? se : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, f = s === void 0 ? null : s, l = n.maskId, c = l === void 0 ? null : l, u = n.title, g = u === void 0 ? null : u, h = n.titleId, S = h === void 0 ? null : h, x = n.classes, w = x === void 0 ? [] : x, N = n.attributes, $ = N === void 0 ? {} : N,
|
|
1963
|
+
var di = function(t) {
|
|
1964
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? se : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, f = s === void 0 ? null : s, l = n.maskId, c = l === void 0 ? null : l, u = n.title, g = u === void 0 ? null : u, h = n.titleId, S = h === void 0 ? null : h, x = n.classes, w = x === void 0 ? [] : x, N = n.attributes, $ = N === void 0 ? {} : N, A = n.styles, M = A === void 0 ? {} : A;
|
|
1965
1965
|
if (t) {
|
|
1966
1966
|
var m = t.prefix, X = t.iconName, K = t.icon;
|
|
1967
|
-
return
|
|
1967
|
+
return ut(p({
|
|
1968
1968
|
type: "icon"
|
|
1969
1969
|
}, t), function() {
|
|
1970
1970
|
return we("beforeDOMElementCreation", {
|
|
@@ -1995,16 +1995,16 @@ var mi = function(t) {
|
|
|
1995
1995
|
});
|
|
1996
1996
|
});
|
|
1997
1997
|
}
|
|
1998
|
-
},
|
|
1998
|
+
}, vi = {
|
|
1999
1999
|
mixout: function() {
|
|
2000
2000
|
return {
|
|
2001
|
-
icon:
|
|
2001
|
+
icon: mi(di)
|
|
2002
2002
|
};
|
|
2003
2003
|
},
|
|
2004
2004
|
hooks: function() {
|
|
2005
2005
|
return {
|
|
2006
2006
|
mutationObserverCallbacks: function(n) {
|
|
2007
|
-
return n.treeCallback =
|
|
2007
|
+
return n.treeCallback = Tn, n.nodeCallback = ui, n;
|
|
2008
2008
|
}
|
|
2009
2009
|
};
|
|
2010
2010
|
},
|
|
@@ -2012,7 +2012,7 @@ var mi = function(t) {
|
|
|
2012
2012
|
t.i2svg = function(n) {
|
|
2013
2013
|
var a = n.node, r = a === void 0 ? W : a, i = n.callback, o = i === void 0 ? function() {
|
|
2014
2014
|
} : i;
|
|
2015
|
-
return
|
|
2015
|
+
return Tn(r, o);
|
|
2016
2016
|
}, t.generateSvgReplacementMutation = function(n, a) {
|
|
2017
2017
|
var r = a.iconName, i = a.title, o = a.titleId, s = a.prefix, f = a.transform, l = a.symbol, c = a.mask, u = a.maskId, g = a.extra;
|
|
2018
2018
|
return new Promise(function(h, S) {
|
|
@@ -2041,7 +2041,7 @@ var mi = function(t) {
|
|
|
2041
2041
|
}).catch(S);
|
|
2042
2042
|
});
|
|
2043
2043
|
}, t.generateAbstractIcon = function(n) {
|
|
2044
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, f =
|
|
2044
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, f = ft(s);
|
|
2045
2045
|
f.length > 0 && (r.style = f);
|
|
2046
2046
|
var l;
|
|
2047
2047
|
return qt(o) && (l = ue("generateAbstractTransformGrouping", {
|
|
@@ -2055,12 +2055,12 @@ var mi = function(t) {
|
|
|
2055
2055
|
};
|
|
2056
2056
|
};
|
|
2057
2057
|
}
|
|
2058
|
-
},
|
|
2058
|
+
}, pi = {
|
|
2059
2059
|
mixout: function() {
|
|
2060
2060
|
return {
|
|
2061
2061
|
layer: function(n) {
|
|
2062
2062
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.classes, i = r === void 0 ? [] : r;
|
|
2063
|
-
return
|
|
2063
|
+
return ut({
|
|
2064
2064
|
type: "layer"
|
|
2065
2065
|
}, function() {
|
|
2066
2066
|
we("beforeDOMElementCreation", {
|
|
@@ -2083,19 +2083,19 @@ var mi = function(t) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
};
|
|
2085
2085
|
}
|
|
2086
|
-
},
|
|
2086
|
+
}, bi = {
|
|
2087
2087
|
mixout: function() {
|
|
2088
2088
|
return {
|
|
2089
2089
|
counter: function(n) {
|
|
2090
2090
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.title, i = r === void 0 ? null : r, o = a.classes, s = o === void 0 ? [] : o, f = a.attributes, l = f === void 0 ? {} : f, c = a.styles, u = c === void 0 ? {} : c;
|
|
2091
|
-
return
|
|
2091
|
+
return ut({
|
|
2092
2092
|
type: "counter",
|
|
2093
2093
|
content: n
|
|
2094
2094
|
}, function() {
|
|
2095
2095
|
return we("beforeDOMElementCreation", {
|
|
2096
2096
|
content: n,
|
|
2097
2097
|
params: a
|
|
2098
|
-
}),
|
|
2098
|
+
}), Xr({
|
|
2099
2099
|
content: n.toString(),
|
|
2100
2100
|
title: i,
|
|
2101
2101
|
extra: {
|
|
@@ -2108,19 +2108,19 @@ var mi = function(t) {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
};
|
|
2110
2110
|
}
|
|
2111
|
-
},
|
|
2111
|
+
}, gi = {
|
|
2112
2112
|
mixout: function() {
|
|
2113
2113
|
return {
|
|
2114
2114
|
text: function(n) {
|
|
2115
2115
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? se : r, o = a.title, s = o === void 0 ? null : o, f = a.classes, l = f === void 0 ? [] : f, c = a.attributes, u = c === void 0 ? {} : c, g = a.styles, h = g === void 0 ? {} : g;
|
|
2116
|
-
return
|
|
2116
|
+
return ut({
|
|
2117
2117
|
type: "text",
|
|
2118
2118
|
content: n
|
|
2119
2119
|
}, function() {
|
|
2120
2120
|
return we("beforeDOMElementCreation", {
|
|
2121
2121
|
content: n,
|
|
2122
2122
|
params: a
|
|
2123
|
-
}),
|
|
2123
|
+
}), kn({
|
|
2124
2124
|
content: n,
|
|
2125
2125
|
transform: p(p({}, se), i),
|
|
2126
2126
|
title: s,
|
|
@@ -2137,11 +2137,11 @@ var mi = function(t) {
|
|
|
2137
2137
|
provides: function(t) {
|
|
2138
2138
|
t.generateLayersText = function(n, a) {
|
|
2139
2139
|
var r = a.title, i = a.transform, o = a.extra, s = null, f = null;
|
|
2140
|
-
if (
|
|
2140
|
+
if (ta) {
|
|
2141
2141
|
var l = parseInt(getComputedStyle(n).fontSize, 10), c = n.getBoundingClientRect();
|
|
2142
2142
|
s = c.width / l, f = c.height / l;
|
|
2143
2143
|
}
|
|
2144
|
-
return y.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([n,
|
|
2144
|
+
return y.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([n, kn({
|
|
2145
2145
|
content: n.innerHTML,
|
|
2146
2146
|
width: s,
|
|
2147
2147
|
height: f,
|
|
@@ -2152,33 +2152,33 @@ var mi = function(t) {
|
|
|
2152
2152
|
})]);
|
|
2153
2153
|
};
|
|
2154
2154
|
}
|
|
2155
|
-
},
|
|
2156
|
-
function
|
|
2157
|
-
var t = e.replace(
|
|
2155
|
+
}, yi = new RegExp('"', "ug"), _n = [1105920, 1112319];
|
|
2156
|
+
function hi(e) {
|
|
2157
|
+
var t = e.replace(yi, ""), n = Nr(t, 0), a = n >= _n[0] && n <= _n[1], r = t.length === 2 ? t[0] === t[1] : !1;
|
|
2158
2158
|
return {
|
|
2159
2159
|
value: Tt(r ? t[0] : t),
|
|
2160
2160
|
isSecondary: a || r
|
|
2161
2161
|
};
|
|
2162
2162
|
}
|
|
2163
|
-
function
|
|
2164
|
-
var n = "".concat(
|
|
2163
|
+
function Cn(e, t) {
|
|
2164
|
+
var n = "".concat(fr).concat(t.replace(":", "-"));
|
|
2165
2165
|
return new Promise(function(a, r) {
|
|
2166
2166
|
if (e.getAttribute(n) !== null)
|
|
2167
2167
|
return a();
|
|
2168
2168
|
var i = Te(e.children), o = i.filter(function(K) {
|
|
2169
2169
|
return K.getAttribute(Pt) === t;
|
|
2170
|
-
})[0], s = ve.getComputedStyle(e, t), f = s.getPropertyValue("font-family").match(
|
|
2170
|
+
})[0], s = ve.getComputedStyle(e, t), f = s.getPropertyValue("font-family").match(dr), l = s.getPropertyValue("font-weight"), c = s.getPropertyValue("content");
|
|
2171
2171
|
if (o && !f)
|
|
2172
2172
|
return e.removeChild(o), a();
|
|
2173
2173
|
if (f && c !== "none" && c !== "") {
|
|
2174
|
-
var u = s.getPropertyValue("content"), g = ~["Sharp"].indexOf(f[2]) ? B : U, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(f[2]) ? Le[g][f[2].toLowerCase()] :
|
|
2174
|
+
var u = s.getPropertyValue("content"), g = ~["Sharp"].indexOf(f[2]) ? B : U, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(f[2]) ? Le[g][f[2].toLowerCase()] : vr[g][l], S = hi(u), x = S.value, w = S.isSecondary, N = f[0].startsWith("FontAwesome"), $ = Xt(h, x), A = $;
|
|
2175
2175
|
if (N) {
|
|
2176
|
-
var M =
|
|
2176
|
+
var M = Fr(x);
|
|
2177
2177
|
M.iconName && M.prefix && ($ = M.iconName, h = M.prefix);
|
|
2178
2178
|
}
|
|
2179
|
-
if ($ && !w && (!o || o.getAttribute(Ut) !== h || o.getAttribute(Wt) !==
|
|
2180
|
-
e.setAttribute(n,
|
|
2181
|
-
var m =
|
|
2179
|
+
if ($ && !w && (!o || o.getAttribute(Ut) !== h || o.getAttribute(Wt) !== A)) {
|
|
2180
|
+
e.setAttribute(n, A), o && e.removeChild(o);
|
|
2181
|
+
var m = ci(), X = m.extra;
|
|
2182
2182
|
X.attributes[Pt] = t, Mt($, h).then(function(K) {
|
|
2183
2183
|
var fe = Jt(p(p({}, m), {}, {
|
|
2184
2184
|
icons: {
|
|
@@ -2186,7 +2186,7 @@ function Tn(e, t) {
|
|
|
2186
2186
|
mask: Kt()
|
|
2187
2187
|
},
|
|
2188
2188
|
prefix: h,
|
|
2189
|
-
iconName:
|
|
2189
|
+
iconName: A,
|
|
2190
2190
|
extra: X,
|
|
2191
2191
|
watchable: !0
|
|
2192
2192
|
})), J = W.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
@@ -2201,43 +2201,43 @@ function Tn(e, t) {
|
|
|
2201
2201
|
a();
|
|
2202
2202
|
});
|
|
2203
2203
|
}
|
|
2204
|
-
function hi(e) {
|
|
2205
|
-
return Promise.all([Tn(e, "::before"), Tn(e, "::after")]);
|
|
2206
|
-
}
|
|
2207
2204
|
function xi(e) {
|
|
2208
|
-
return
|
|
2205
|
+
return Promise.all([Cn(e, "::before"), Cn(e, "::after")]);
|
|
2206
|
+
}
|
|
2207
|
+
function wi(e) {
|
|
2208
|
+
return e.parentNode !== document.head && !~lr.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Pt) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2209
2209
|
}
|
|
2210
|
-
function
|
|
2210
|
+
function In(e) {
|
|
2211
2211
|
if (me)
|
|
2212
2212
|
return new Promise(function(t, n) {
|
|
2213
|
-
var a = Te(e.querySelectorAll("*")).filter(
|
|
2214
|
-
|
|
2213
|
+
var a = Te(e.querySelectorAll("*")).filter(wi).map(xi), r = Qt.begin("searchPseudoElements");
|
|
2214
|
+
ka(), Promise.all(a).then(function() {
|
|
2215
2215
|
r(), Lt(), t();
|
|
2216
2216
|
}).catch(function() {
|
|
2217
2217
|
r(), Lt(), n();
|
|
2218
2218
|
});
|
|
2219
2219
|
});
|
|
2220
2220
|
}
|
|
2221
|
-
var
|
|
2221
|
+
var ki = {
|
|
2222
2222
|
hooks: function() {
|
|
2223
2223
|
return {
|
|
2224
2224
|
mutationObserverCallbacks: function(n) {
|
|
2225
|
-
return n.pseudoElementsCallback =
|
|
2225
|
+
return n.pseudoElementsCallback = In, n;
|
|
2226
2226
|
}
|
|
2227
2227
|
};
|
|
2228
2228
|
},
|
|
2229
2229
|
provides: function(t) {
|
|
2230
2230
|
t.pseudoElements2svg = function(n) {
|
|
2231
2231
|
var a = n.node, r = a === void 0 ? W : a;
|
|
2232
|
-
y.searchPseudoElements &&
|
|
2232
|
+
y.searchPseudoElements && In(r);
|
|
2233
2233
|
};
|
|
2234
2234
|
}
|
|
2235
|
-
},
|
|
2235
|
+
}, Nn = !1, Ei = {
|
|
2236
2236
|
mixout: function() {
|
|
2237
2237
|
return {
|
|
2238
2238
|
dom: {
|
|
2239
2239
|
unwatch: function() {
|
|
2240
|
-
|
|
2240
|
+
ka(), Nn = !0;
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
2243
|
};
|
|
@@ -2245,20 +2245,20 @@ var wi = {
|
|
|
2245
2245
|
hooks: function() {
|
|
2246
2246
|
return {
|
|
2247
2247
|
bootstrap: function() {
|
|
2248
|
-
|
|
2248
|
+
Sn(Ct("mutationObserverCallbacks", {}));
|
|
2249
2249
|
},
|
|
2250
2250
|
noAuto: function() {
|
|
2251
|
-
|
|
2251
|
+
ii();
|
|
2252
2252
|
},
|
|
2253
2253
|
watch: function(n) {
|
|
2254
2254
|
var a = n.observeMutationsRoot;
|
|
2255
|
-
|
|
2255
|
+
Nn ? Lt() : Sn(Ct("mutationObserverCallbacks", {
|
|
2256
2256
|
observeMutationsRoot: a
|
|
2257
2257
|
}));
|
|
2258
2258
|
}
|
|
2259
2259
|
};
|
|
2260
2260
|
}
|
|
2261
|
-
},
|
|
2261
|
+
}, Mn = function(t) {
|
|
2262
2262
|
var n = {
|
|
2263
2263
|
size: 16,
|
|
2264
2264
|
x: 0,
|
|
@@ -2300,12 +2300,12 @@ var wi = {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
return a;
|
|
2302
2302
|
}, n);
|
|
2303
|
-
},
|
|
2303
|
+
}, Ai = {
|
|
2304
2304
|
mixout: function() {
|
|
2305
2305
|
return {
|
|
2306
2306
|
parse: {
|
|
2307
2307
|
transform: function(n) {
|
|
2308
|
-
return
|
|
2308
|
+
return Mn(n);
|
|
2309
2309
|
}
|
|
2310
2310
|
}
|
|
2311
2311
|
};
|
|
@@ -2314,7 +2314,7 @@ var wi = {
|
|
|
2314
2314
|
return {
|
|
2315
2315
|
parseNodeAttributes: function(n, a) {
|
|
2316
2316
|
var r = a.getAttribute("data-fa-transform");
|
|
2317
|
-
return r && (n.transform =
|
|
2317
|
+
return r && (n.transform = Mn(r)), n;
|
|
2318
2318
|
}
|
|
2319
2319
|
};
|
|
2320
2320
|
},
|
|
@@ -2352,18 +2352,18 @@ var wi = {
|
|
|
2352
2352
|
width: "100%",
|
|
2353
2353
|
height: "100%"
|
|
2354
2354
|
};
|
|
2355
|
-
function
|
|
2355
|
+
function Rn(e) {
|
|
2356
2356
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
2357
2357
|
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
2358
2358
|
}
|
|
2359
|
-
function
|
|
2359
|
+
function Oi(e) {
|
|
2360
2360
|
return e.tag === "g" ? e.children : [e];
|
|
2361
2361
|
}
|
|
2362
|
-
var
|
|
2362
|
+
var Si = {
|
|
2363
2363
|
hooks: function() {
|
|
2364
2364
|
return {
|
|
2365
2365
|
parseNodeAttributes: function(n, a) {
|
|
2366
|
-
var r = a.getAttribute("data-fa-mask"), i = r ?
|
|
2366
|
+
var r = a.getAttribute("data-fa-mask"), i = r ? lt(r.split(" ").map(function(o) {
|
|
2367
2367
|
return o.trim();
|
|
2368
2368
|
})) : Kt();
|
|
2369
2369
|
return i.prefix || (i.prefix = pe()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
|
|
@@ -2372,7 +2372,7 @@ var Oi = {
|
|
|
2372
2372
|
},
|
|
2373
2373
|
provides: function(t) {
|
|
2374
2374
|
t.generateAbstractMask = function(n) {
|
|
2375
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, f = n.transform, l = i.width, c = i.icon, u = o.width, g = o.icon, h =
|
|
2375
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, f = n.transform, l = i.width, c = i.icon, u = o.width, g = o.icon, h = Or({
|
|
2376
2376
|
transform: f,
|
|
2377
2377
|
containerWidth: u,
|
|
2378
2378
|
iconWidth: l
|
|
@@ -2382,11 +2382,11 @@ var Oi = {
|
|
|
2382
2382
|
fill: "white"
|
|
2383
2383
|
})
|
|
2384
2384
|
}, x = c.children ? {
|
|
2385
|
-
children: c.children.map(
|
|
2385
|
+
children: c.children.map(Rn)
|
|
2386
2386
|
} : {}, w = {
|
|
2387
2387
|
tag: "g",
|
|
2388
2388
|
attributes: p({}, h.inner),
|
|
2389
|
-
children: [
|
|
2389
|
+
children: [Rn(p({
|
|
2390
2390
|
tag: c.tag,
|
|
2391
2391
|
attributes: p(p({}, c.attributes), h.path)
|
|
2392
2392
|
}, x))]
|
|
@@ -2394,7 +2394,7 @@ var Oi = {
|
|
|
2394
2394
|
tag: "g",
|
|
2395
2395
|
attributes: p({}, h.outer),
|
|
2396
2396
|
children: [w]
|
|
2397
|
-
}, $ = "mask-".concat(s || De()),
|
|
2397
|
+
}, $ = "mask-".concat(s || De()), A = "clip-".concat(s || De()), M = {
|
|
2398
2398
|
tag: "mask",
|
|
2399
2399
|
attributes: p(p({}, gt), {}, {
|
|
2400
2400
|
id: $,
|
|
@@ -2407,16 +2407,16 @@ var Oi = {
|
|
|
2407
2407
|
children: [{
|
|
2408
2408
|
tag: "clipPath",
|
|
2409
2409
|
attributes: {
|
|
2410
|
-
id:
|
|
2410
|
+
id: A
|
|
2411
2411
|
},
|
|
2412
|
-
children:
|
|
2412
|
+
children: Oi(g)
|
|
2413
2413
|
}, M]
|
|
2414
2414
|
};
|
|
2415
2415
|
return a.push(m, {
|
|
2416
2416
|
tag: "rect",
|
|
2417
2417
|
attributes: p({
|
|
2418
2418
|
fill: "currentColor",
|
|
2419
|
-
"clip-path": "url(#".concat(
|
|
2419
|
+
"clip-path": "url(#".concat(A, ")"),
|
|
2420
2420
|
mask: "url(#".concat($, ")")
|
|
2421
2421
|
}, gt)
|
|
2422
2422
|
}), {
|
|
@@ -2425,7 +2425,7 @@ var Oi = {
|
|
|
2425
2425
|
};
|
|
2426
2426
|
};
|
|
2427
2427
|
}
|
|
2428
|
-
},
|
|
2428
|
+
}, Pi = {
|
|
2429
2429
|
provides: function(t) {
|
|
2430
2430
|
var n = !1;
|
|
2431
2431
|
ve.matchMedia && (n = ve.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
@@ -2497,7 +2497,7 @@ var Oi = {
|
|
|
2497
2497
|
};
|
|
2498
2498
|
};
|
|
2499
2499
|
}
|
|
2500
|
-
},
|
|
2500
|
+
}, Ti = {
|
|
2501
2501
|
hooks: function() {
|
|
2502
2502
|
return {
|
|
2503
2503
|
parseNodeAttributes: function(n, a) {
|
|
@@ -2506,8 +2506,8 @@ var Oi = {
|
|
|
2506
2506
|
}
|
|
2507
2507
|
};
|
|
2508
2508
|
}
|
|
2509
|
-
},
|
|
2510
|
-
|
|
2509
|
+
}, _i = [Tr, vi, pi, bi, gi, ki, Ei, Ai, Si, Pi, Ti];
|
|
2510
|
+
Hr(_i, {
|
|
2511
2511
|
mixoutsTo: te
|
|
2512
2512
|
});
|
|
2513
2513
|
te.noAuto;
|
|
@@ -2517,14 +2517,14 @@ te.dom;
|
|
|
2517
2517
|
var jt = te.parse;
|
|
2518
2518
|
te.findIconDefinition;
|
|
2519
2519
|
te.toHtml;
|
|
2520
|
-
var
|
|
2520
|
+
var Ci = te.icon;
|
|
2521
2521
|
te.layer;
|
|
2522
2522
|
te.text;
|
|
2523
2523
|
te.counter;
|
|
2524
|
-
function
|
|
2524
|
+
function Ii(e) {
|
|
2525
2525
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2526
2526
|
}
|
|
2527
|
-
var zt = { exports: {} },
|
|
2527
|
+
var zt = { exports: {} }, et = { exports: {} }, D = {};
|
|
2528
2528
|
/** @license React v16.13.1
|
|
2529
2529
|
* react-is.production.min.js
|
|
2530
2530
|
*
|
|
@@ -2533,12 +2533,12 @@ var zt = { exports: {} }, Ze = { exports: {} }, D = {};
|
|
|
2533
2533
|
* This source code is licensed under the MIT license found in the
|
|
2534
2534
|
* LICENSE file in the root directory of this source tree.
|
|
2535
2535
|
*/
|
|
2536
|
-
var
|
|
2537
|
-
function
|
|
2538
|
-
if (
|
|
2539
|
-
|
|
2536
|
+
var Ln;
|
|
2537
|
+
function Ni() {
|
|
2538
|
+
if (Ln) return D;
|
|
2539
|
+
Ln = 1;
|
|
2540
2540
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
|
|
2541
|
-
function
|
|
2541
|
+
function A(m) {
|
|
2542
2542
|
if (typeof m == "object" && m !== null) {
|
|
2543
2543
|
var X = m.$$typeof;
|
|
2544
2544
|
switch (X) {
|
|
@@ -2569,35 +2569,35 @@ function Ii() {
|
|
|
2569
2569
|
}
|
|
2570
2570
|
}
|
|
2571
2571
|
function M(m) {
|
|
2572
|
-
return
|
|
2572
|
+
return A(m) === l;
|
|
2573
2573
|
}
|
|
2574
2574
|
return D.AsyncMode = f, D.ConcurrentMode = l, D.ContextConsumer = s, D.ContextProvider = o, D.Element = t, D.ForwardRef = c, D.Fragment = a, D.Lazy = S, D.Memo = h, D.Portal = n, D.Profiler = i, D.StrictMode = r, D.Suspense = u, D.isAsyncMode = function(m) {
|
|
2575
|
-
return M(m) ||
|
|
2575
|
+
return M(m) || A(m) === f;
|
|
2576
2576
|
}, D.isConcurrentMode = M, D.isContextConsumer = function(m) {
|
|
2577
|
-
return
|
|
2577
|
+
return A(m) === s;
|
|
2578
2578
|
}, D.isContextProvider = function(m) {
|
|
2579
|
-
return
|
|
2579
|
+
return A(m) === o;
|
|
2580
2580
|
}, D.isElement = function(m) {
|
|
2581
2581
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
2582
2582
|
}, D.isForwardRef = function(m) {
|
|
2583
|
-
return
|
|
2583
|
+
return A(m) === c;
|
|
2584
2584
|
}, D.isFragment = function(m) {
|
|
2585
|
-
return
|
|
2585
|
+
return A(m) === a;
|
|
2586
2586
|
}, D.isLazy = function(m) {
|
|
2587
|
-
return
|
|
2587
|
+
return A(m) === S;
|
|
2588
2588
|
}, D.isMemo = function(m) {
|
|
2589
|
-
return
|
|
2589
|
+
return A(m) === h;
|
|
2590
2590
|
}, D.isPortal = function(m) {
|
|
2591
|
-
return
|
|
2591
|
+
return A(m) === n;
|
|
2592
2592
|
}, D.isProfiler = function(m) {
|
|
2593
|
-
return
|
|
2593
|
+
return A(m) === i;
|
|
2594
2594
|
}, D.isStrictMode = function(m) {
|
|
2595
|
-
return
|
|
2595
|
+
return A(m) === r;
|
|
2596
2596
|
}, D.isSuspense = function(m) {
|
|
2597
|
-
return
|
|
2597
|
+
return A(m) === u;
|
|
2598
2598
|
}, D.isValidElementType = function(m) {
|
|
2599
2599
|
return typeof m == "string" || typeof m == "function" || m === a || m === l || m === i || m === r || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === S || m.$$typeof === h || m.$$typeof === o || m.$$typeof === s || m.$$typeof === c || m.$$typeof === w || m.$$typeof === N || m.$$typeof === $ || m.$$typeof === x);
|
|
2600
|
-
}, D.typeOf =
|
|
2600
|
+
}, D.typeOf = A, D;
|
|
2601
2601
|
}
|
|
2602
2602
|
var F = {};
|
|
2603
2603
|
/** @license React v16.13.1
|
|
@@ -2608,11 +2608,11 @@ var F = {};
|
|
|
2608
2608
|
* This source code is licensed under the MIT license found in the
|
|
2609
2609
|
* LICENSE file in the root directory of this source tree.
|
|
2610
2610
|
*/
|
|
2611
|
-
var
|
|
2612
|
-
function
|
|
2613
|
-
return
|
|
2611
|
+
var jn;
|
|
2612
|
+
function Mi() {
|
|
2613
|
+
return jn || (jn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2614
2614
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
|
|
2615
|
-
function
|
|
2615
|
+
function A(v) {
|
|
2616
2616
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2617
2617
|
v === a || v === l || v === i || v === r || v === u || v === g || typeof v == "object" && v !== null && (v.$$typeof === S || v.$$typeof === h || v.$$typeof === o || v.$$typeof === s || v.$$typeof === c || v.$$typeof === w || v.$$typeof === N || v.$$typeof === $ || v.$$typeof === x);
|
|
2618
2618
|
}
|
|
@@ -2648,8 +2648,8 @@ function Ni() {
|
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
2650
|
}
|
|
2651
|
-
var m = f, X = l, K = s, fe = o, J = t, ee = c, ke = a, _e = S, ge = h,
|
|
2652
|
-
function
|
|
2651
|
+
var m = f, X = l, K = s, fe = o, J = t, ee = c, ke = a, _e = S, ge = h, Y = n, z = i, O = r, ne = u, He = !1;
|
|
2652
|
+
function mt(v) {
|
|
2653
2653
|
return He || (He = !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.")), d(v) || M(v) === f;
|
|
2654
2654
|
}
|
|
2655
2655
|
function d(v) {
|
|
@@ -2679,7 +2679,7 @@ function Ni() {
|
|
|
2679
2679
|
function L(v) {
|
|
2680
2680
|
return M(v) === n;
|
|
2681
2681
|
}
|
|
2682
|
-
function
|
|
2682
|
+
function H(v) {
|
|
2683
2683
|
return M(v) === i;
|
|
2684
2684
|
}
|
|
2685
2685
|
function j(v) {
|
|
@@ -2688,22 +2688,22 @@ function Ni() {
|
|
|
2688
2688
|
function Q(v) {
|
|
2689
2689
|
return M(v) === u;
|
|
2690
2690
|
}
|
|
2691
|
-
F.AsyncMode = m, F.ConcurrentMode = X, F.ContextConsumer = K, F.ContextProvider = fe, F.Element = J, F.ForwardRef = ee, F.Fragment = ke, F.Lazy = _e, F.Memo = ge, F.Portal =
|
|
2691
|
+
F.AsyncMode = m, F.ConcurrentMode = X, F.ContextConsumer = K, F.ContextProvider = fe, F.Element = J, F.ForwardRef = ee, F.Fragment = ke, F.Lazy = _e, F.Memo = ge, F.Portal = Y, F.Profiler = z, F.StrictMode = O, F.Suspense = ne, F.isAsyncMode = mt, F.isConcurrentMode = d, F.isContextConsumer = b, F.isContextProvider = I, F.isElement = _, F.isForwardRef = k, F.isFragment = R, F.isLazy = P, F.isMemo = C, F.isPortal = L, F.isProfiler = H, F.isStrictMode = j, F.isSuspense = Q, F.isValidElementType = A, F.typeOf = M;
|
|
2692
2692
|
}()), F;
|
|
2693
2693
|
}
|
|
2694
|
-
var
|
|
2695
|
-
function
|
|
2696
|
-
return
|
|
2694
|
+
var zn;
|
|
2695
|
+
function Aa() {
|
|
2696
|
+
return zn || (zn = 1, process.env.NODE_ENV === "production" ? et.exports = Ni() : et.exports = Mi()), et.exports;
|
|
2697
2697
|
}
|
|
2698
2698
|
/*
|
|
2699
2699
|
object-assign
|
|
2700
2700
|
(c) Sindre Sorhus
|
|
2701
2701
|
@license MIT
|
|
2702
2702
|
*/
|
|
2703
|
-
var yt,
|
|
2704
|
-
function
|
|
2705
|
-
if (
|
|
2706
|
-
|
|
2703
|
+
var yt, Dn;
|
|
2704
|
+
function Ri() {
|
|
2705
|
+
if (Dn) return yt;
|
|
2706
|
+
Dn = 1;
|
|
2707
2707
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
2708
2708
|
function a(i) {
|
|
2709
2709
|
if (i == null)
|
|
@@ -2746,25 +2746,25 @@ function Mi() {
|
|
|
2746
2746
|
return f;
|
|
2747
2747
|
}, yt;
|
|
2748
2748
|
}
|
|
2749
|
-
var ht,
|
|
2749
|
+
var ht, Fn;
|
|
2750
2750
|
function en() {
|
|
2751
|
-
if (
|
|
2752
|
-
|
|
2751
|
+
if (Fn) return ht;
|
|
2752
|
+
Fn = 1;
|
|
2753
2753
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2754
2754
|
return ht = e, ht;
|
|
2755
2755
|
}
|
|
2756
|
-
var xt,
|
|
2757
|
-
function
|
|
2758
|
-
return
|
|
2756
|
+
var xt, $n;
|
|
2757
|
+
function Oa() {
|
|
2758
|
+
return $n || ($n = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
|
|
2759
2759
|
}
|
|
2760
|
-
var wt,
|
|
2761
|
-
function
|
|
2762
|
-
if (
|
|
2763
|
-
|
|
2760
|
+
var wt, Yn;
|
|
2761
|
+
function Li() {
|
|
2762
|
+
if (Yn) return wt;
|
|
2763
|
+
Yn = 1;
|
|
2764
2764
|
var e = function() {
|
|
2765
2765
|
};
|
|
2766
2766
|
if (process.env.NODE_ENV !== "production") {
|
|
2767
|
-
var t = en(), n = {}, a =
|
|
2767
|
+
var t = en(), n = {}, a = Oa();
|
|
2768
2768
|
e = function(i) {
|
|
2769
2769
|
var o = "Warning: " + i;
|
|
2770
2770
|
typeof console < "u" && console.error(o);
|
|
@@ -2806,11 +2806,11 @@ function Ri() {
|
|
|
2806
2806
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
2807
2807
|
}, wt = r, wt;
|
|
2808
2808
|
}
|
|
2809
|
-
var kt,
|
|
2810
|
-
function
|
|
2811
|
-
if (
|
|
2812
|
-
|
|
2813
|
-
var e =
|
|
2809
|
+
var kt, Hn;
|
|
2810
|
+
function ji() {
|
|
2811
|
+
if (Hn) return kt;
|
|
2812
|
+
Hn = 1;
|
|
2813
|
+
var e = Aa(), t = Ri(), n = en(), a = Oa(), r = Li(), i = function() {
|
|
2814
2814
|
};
|
|
2815
2815
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
2816
2816
|
var f = "Warning: " + s;
|
|
@@ -2840,7 +2840,7 @@ function Li() {
|
|
|
2840
2840
|
string: N("string"),
|
|
2841
2841
|
symbol: N("symbol"),
|
|
2842
2842
|
any: $(),
|
|
2843
|
-
arrayOf:
|
|
2843
|
+
arrayOf: A,
|
|
2844
2844
|
element: M(),
|
|
2845
2845
|
elementType: m(),
|
|
2846
2846
|
instanceOf: X,
|
|
@@ -2861,7 +2861,7 @@ function Li() {
|
|
|
2861
2861
|
function w(d) {
|
|
2862
2862
|
if (process.env.NODE_ENV !== "production")
|
|
2863
2863
|
var b = {}, I = 0;
|
|
2864
|
-
function _(R, P, C, L,
|
|
2864
|
+
function _(R, P, C, L, H, j, Q) {
|
|
2865
2865
|
if (L = L || g, j = j || C, Q !== n) {
|
|
2866
2866
|
if (f) {
|
|
2867
2867
|
var v = new Error(
|
|
@@ -2876,15 +2876,15 @@ function Li() {
|
|
|
2876
2876
|
), b[re] = !0, I++);
|
|
2877
2877
|
}
|
|
2878
2878
|
}
|
|
2879
|
-
return P[C] == null ? R ? P[C] === null ? new x("The " +
|
|
2879
|
+
return P[C] == null ? R ? P[C] === null ? new x("The " + H + " `" + j + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new x("The " + H + " `" + j + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : d(P, C, L, H, j);
|
|
2880
2880
|
}
|
|
2881
2881
|
var k = _.bind(null, !1);
|
|
2882
2882
|
return k.isRequired = _.bind(null, !0), k;
|
|
2883
2883
|
}
|
|
2884
2884
|
function N(d) {
|
|
2885
2885
|
function b(I, _, k, R, P, C) {
|
|
2886
|
-
var L = I[_],
|
|
2887
|
-
if (
|
|
2886
|
+
var L = I[_], H = O(L);
|
|
2887
|
+
if (H !== d) {
|
|
2888
2888
|
var j = ne(L);
|
|
2889
2889
|
return new x(
|
|
2890
2890
|
"Invalid " + R + " `" + P + "` of type " + ("`" + j + "` supplied to `" + k + "`, expected ") + ("`" + d + "`."),
|
|
@@ -2898,17 +2898,17 @@ function Li() {
|
|
|
2898
2898
|
function $() {
|
|
2899
2899
|
return w(o);
|
|
2900
2900
|
}
|
|
2901
|
-
function
|
|
2901
|
+
function A(d) {
|
|
2902
2902
|
function b(I, _, k, R, P) {
|
|
2903
2903
|
if (typeof d != "function")
|
|
2904
2904
|
return new x("Property `" + P + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
2905
2905
|
var C = I[_];
|
|
2906
2906
|
if (!Array.isArray(C)) {
|
|
2907
|
-
var L =
|
|
2907
|
+
var L = O(C);
|
|
2908
2908
|
return new x("Invalid " + R + " `" + P + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected an array."));
|
|
2909
2909
|
}
|
|
2910
|
-
for (var
|
|
2911
|
-
var j = d(C,
|
|
2910
|
+
for (var H = 0; H < C.length; H++) {
|
|
2911
|
+
var j = d(C, H, k, R, P + "[" + H + "]", n);
|
|
2912
2912
|
if (j instanceof Error)
|
|
2913
2913
|
return j;
|
|
2914
2914
|
}
|
|
@@ -2920,7 +2920,7 @@ function Li() {
|
|
|
2920
2920
|
function d(b, I, _, k, R) {
|
|
2921
2921
|
var P = b[I];
|
|
2922
2922
|
if (!s(P)) {
|
|
2923
|
-
var C =
|
|
2923
|
+
var C = O(P);
|
|
2924
2924
|
return new x("Invalid " + k + " `" + R + "` of type " + ("`" + C + "` supplied to `" + _ + "`, expected a single ReactElement."));
|
|
2925
2925
|
}
|
|
2926
2926
|
return null;
|
|
@@ -2931,7 +2931,7 @@ function Li() {
|
|
|
2931
2931
|
function d(b, I, _, k, R) {
|
|
2932
2932
|
var P = b[I];
|
|
2933
2933
|
if (!e.isValidElementType(P)) {
|
|
2934
|
-
var C =
|
|
2934
|
+
var C = O(P);
|
|
2935
2935
|
return new x("Invalid " + k + " `" + R + "` of type " + ("`" + C + "` supplied to `" + _ + "`, expected a single ReactElement type."));
|
|
2936
2936
|
}
|
|
2937
2937
|
return null;
|
|
@@ -2941,7 +2941,7 @@ function Li() {
|
|
|
2941
2941
|
function X(d) {
|
|
2942
2942
|
function b(I, _, k, R, P) {
|
|
2943
2943
|
if (!(I[_] instanceof d)) {
|
|
2944
|
-
var C = d.name || g, L =
|
|
2944
|
+
var C = d.name || g, L = mt(I[_]);
|
|
2945
2945
|
return new x("Invalid " + R + " `" + P + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected ") + ("instance of `" + C + "`."));
|
|
2946
2946
|
}
|
|
2947
2947
|
return null;
|
|
@@ -2957,11 +2957,11 @@ function Li() {
|
|
|
2957
2957
|
for (var C = I[_], L = 0; L < d.length; L++)
|
|
2958
2958
|
if (S(C, d[L]))
|
|
2959
2959
|
return null;
|
|
2960
|
-
var
|
|
2960
|
+
var H = JSON.stringify(d, function(Q, v) {
|
|
2961
2961
|
var re = ne(v);
|
|
2962
2962
|
return re === "symbol" ? String(v) : v;
|
|
2963
2963
|
});
|
|
2964
|
-
return new x("Invalid " + R + " `" + P + "` of value `" + String(C) + "` " + ("supplied to `" + k + "`, expected one of " +
|
|
2964
|
+
return new x("Invalid " + R + " `" + P + "` of value `" + String(C) + "` " + ("supplied to `" + k + "`, expected one of " + H + "."));
|
|
2965
2965
|
}
|
|
2966
2966
|
return w(b);
|
|
2967
2967
|
}
|
|
@@ -2969,12 +2969,12 @@ function Li() {
|
|
|
2969
2969
|
function b(I, _, k, R, P) {
|
|
2970
2970
|
if (typeof d != "function")
|
|
2971
2971
|
return new x("Property `" + P + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
2972
|
-
var C = I[_], L =
|
|
2972
|
+
var C = I[_], L = O(C);
|
|
2973
2973
|
if (L !== "object")
|
|
2974
2974
|
return new x("Invalid " + R + " `" + P + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected an object."));
|
|
2975
|
-
for (var
|
|
2976
|
-
if (a(C,
|
|
2977
|
-
var j = d(C,
|
|
2975
|
+
for (var H in C)
|
|
2976
|
+
if (a(C, H)) {
|
|
2977
|
+
var j = d(C, H, k, R, P + "." + H, n);
|
|
2978
2978
|
if (j instanceof Error)
|
|
2979
2979
|
return j;
|
|
2980
2980
|
}
|
|
@@ -2993,20 +2993,20 @@ function Li() {
|
|
|
2993
2993
|
), o;
|
|
2994
2994
|
}
|
|
2995
2995
|
function _(k, R, P, C, L) {
|
|
2996
|
-
for (var
|
|
2996
|
+
for (var H = [], j = 0; j < d.length; j++) {
|
|
2997
2997
|
var Q = d[j], v = Q(k, R, P, C, L, n);
|
|
2998
2998
|
if (v == null)
|
|
2999
2999
|
return null;
|
|
3000
|
-
v.data && a(v.data, "expectedType") &&
|
|
3000
|
+
v.data && a(v.data, "expectedType") && H.push(v.data.expectedType);
|
|
3001
3001
|
}
|
|
3002
|
-
var re =
|
|
3002
|
+
var re = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
3003
3003
|
return new x("Invalid " + C + " `" + L + "` supplied to " + ("`" + P + "`" + re + "."));
|
|
3004
3004
|
}
|
|
3005
3005
|
return w(_);
|
|
3006
3006
|
}
|
|
3007
3007
|
function ee() {
|
|
3008
3008
|
function d(b, I, _, k, R) {
|
|
3009
|
-
return
|
|
3009
|
+
return Y(b[I]) ? null : new x("Invalid " + k + " `" + R + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
|
|
3010
3010
|
}
|
|
3011
3011
|
return w(d);
|
|
3012
3012
|
}
|
|
@@ -3017,14 +3017,14 @@ function Li() {
|
|
|
3017
3017
|
}
|
|
3018
3018
|
function _e(d) {
|
|
3019
3019
|
function b(I, _, k, R, P) {
|
|
3020
|
-
var C = I[_], L =
|
|
3020
|
+
var C = I[_], L = O(C);
|
|
3021
3021
|
if (L !== "object")
|
|
3022
3022
|
return new x("Invalid " + R + " `" + P + "` of type `" + L + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
3023
|
-
for (var
|
|
3024
|
-
var j = d[
|
|
3023
|
+
for (var H in d) {
|
|
3024
|
+
var j = d[H];
|
|
3025
3025
|
if (typeof j != "function")
|
|
3026
|
-
return ke(k, R, P,
|
|
3027
|
-
var Q = j(C,
|
|
3026
|
+
return ke(k, R, P, H, ne(j));
|
|
3027
|
+
var Q = j(C, H, k, R, P + "." + H, n);
|
|
3028
3028
|
if (Q)
|
|
3029
3029
|
return Q;
|
|
3030
3030
|
}
|
|
@@ -3034,11 +3034,11 @@ function Li() {
|
|
|
3034
3034
|
}
|
|
3035
3035
|
function ge(d) {
|
|
3036
3036
|
function b(I, _, k, R, P) {
|
|
3037
|
-
var C = I[_], L =
|
|
3037
|
+
var C = I[_], L = O(C);
|
|
3038
3038
|
if (L !== "object")
|
|
3039
3039
|
return new x("Invalid " + R + " `" + P + "` of type `" + L + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
3040
|
-
var
|
|
3041
|
-
for (var j in
|
|
3040
|
+
var H = t({}, I[_], d);
|
|
3041
|
+
for (var j in H) {
|
|
3042
3042
|
var Q = d[j];
|
|
3043
3043
|
if (a(d, j) && typeof Q != "function")
|
|
3044
3044
|
return ke(k, R, P, j, ne(Q));
|
|
@@ -3055,7 +3055,7 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3055
3055
|
}
|
|
3056
3056
|
return w(b);
|
|
3057
3057
|
}
|
|
3058
|
-
function
|
|
3058
|
+
function Y(d) {
|
|
3059
3059
|
switch (typeof d) {
|
|
3060
3060
|
case "number":
|
|
3061
3061
|
case "string":
|
|
@@ -3065,7 +3065,7 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3065
3065
|
return !d;
|
|
3066
3066
|
case "object":
|
|
3067
3067
|
if (Array.isArray(d))
|
|
3068
|
-
return d.every(
|
|
3068
|
+
return d.every(Y);
|
|
3069
3069
|
if (d === null || s(d))
|
|
3070
3070
|
return !0;
|
|
3071
3071
|
var b = u(d);
|
|
@@ -3073,12 +3073,12 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3073
3073
|
var I = b.call(d), _;
|
|
3074
3074
|
if (b !== d.entries) {
|
|
3075
3075
|
for (; !(_ = I.next()).done; )
|
|
3076
|
-
if (!
|
|
3076
|
+
if (!Y(_.value))
|
|
3077
3077
|
return !1;
|
|
3078
3078
|
} else
|
|
3079
3079
|
for (; !(_ = I.next()).done; ) {
|
|
3080
3080
|
var k = _.value;
|
|
3081
|
-
if (k && !
|
|
3081
|
+
if (k && !Y(k[1]))
|
|
3082
3082
|
return !1;
|
|
3083
3083
|
}
|
|
3084
3084
|
} else
|
|
@@ -3091,14 +3091,14 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3091
3091
|
function z(d, b) {
|
|
3092
3092
|
return d === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1;
|
|
3093
3093
|
}
|
|
3094
|
-
function
|
|
3094
|
+
function O(d) {
|
|
3095
3095
|
var b = typeof d;
|
|
3096
3096
|
return Array.isArray(d) ? "array" : d instanceof RegExp ? "object" : z(b, d) ? "symbol" : b;
|
|
3097
3097
|
}
|
|
3098
3098
|
function ne(d) {
|
|
3099
3099
|
if (typeof d > "u" || d === null)
|
|
3100
3100
|
return "" + d;
|
|
3101
|
-
var b =
|
|
3101
|
+
var b = O(d);
|
|
3102
3102
|
if (b === "object") {
|
|
3103
3103
|
if (d instanceof Date)
|
|
3104
3104
|
return "date";
|
|
@@ -3121,16 +3121,16 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3121
3121
|
return b;
|
|
3122
3122
|
}
|
|
3123
3123
|
}
|
|
3124
|
-
function
|
|
3124
|
+
function mt(d) {
|
|
3125
3125
|
return !d.constructor || !d.constructor.name ? g : d.constructor.name;
|
|
3126
3126
|
}
|
|
3127
3127
|
return h.checkPropTypes = r, h.resetWarningCache = r.resetWarningCache, h.PropTypes = h, h;
|
|
3128
3128
|
}, kt;
|
|
3129
3129
|
}
|
|
3130
|
-
var Et,
|
|
3131
|
-
function
|
|
3132
|
-
if (
|
|
3133
|
-
|
|
3130
|
+
var Et, Un;
|
|
3131
|
+
function zi() {
|
|
3132
|
+
if (Un) return Et;
|
|
3133
|
+
Un = 1;
|
|
3134
3134
|
var e = en();
|
|
3135
3135
|
function t() {
|
|
3136
3136
|
}
|
|
@@ -3176,13 +3176,13 @@ function ji() {
|
|
|
3176
3176
|
}, Et;
|
|
3177
3177
|
}
|
|
3178
3178
|
if (process.env.NODE_ENV !== "production") {
|
|
3179
|
-
var
|
|
3180
|
-
zt.exports =
|
|
3179
|
+
var Di = Aa(), Fi = !0;
|
|
3180
|
+
zt.exports = ji()(Di.isElement, Fi);
|
|
3181
3181
|
} else
|
|
3182
|
-
zt.exports =
|
|
3183
|
-
var
|
|
3184
|
-
const T = /* @__PURE__ */
|
|
3185
|
-
function
|
|
3182
|
+
zt.exports = zi()();
|
|
3183
|
+
var $i = zt.exports;
|
|
3184
|
+
const T = /* @__PURE__ */ Ii($i);
|
|
3185
|
+
function Wn(e, t) {
|
|
3186
3186
|
var n = Object.keys(e);
|
|
3187
3187
|
if (Object.getOwnPropertySymbols) {
|
|
3188
3188
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -3195,21 +3195,21 @@ function Hn(e, t) {
|
|
|
3195
3195
|
function ie(e) {
|
|
3196
3196
|
for (var t = 1; t < arguments.length; t++) {
|
|
3197
3197
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3198
|
-
t % 2 ?
|
|
3198
|
+
t % 2 ? Wn(Object(n), !0).forEach(function(a) {
|
|
3199
3199
|
Oe(e, a, n[a]);
|
|
3200
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3200
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wn(Object(n)).forEach(function(a) {
|
|
3201
3201
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
3202
3202
|
});
|
|
3203
3203
|
}
|
|
3204
3204
|
return e;
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3206
|
+
function st(e) {
|
|
3207
3207
|
"@babel/helpers - typeof";
|
|
3208
|
-
return
|
|
3208
|
+
return st = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3209
3209
|
return typeof t;
|
|
3210
3210
|
} : function(t) {
|
|
3211
3211
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3212
|
-
},
|
|
3212
|
+
}, st(e);
|
|
3213
3213
|
}
|
|
3214
3214
|
function Oe(e, t, n) {
|
|
3215
3215
|
return t in e ? Object.defineProperty(e, t, {
|
|
@@ -3219,16 +3219,16 @@ function Oe(e, t, n) {
|
|
|
3219
3219
|
writable: !0
|
|
3220
3220
|
}) : e[t] = n, e;
|
|
3221
3221
|
}
|
|
3222
|
-
function
|
|
3222
|
+
function Yi(e, t) {
|
|
3223
3223
|
if (e == null) return {};
|
|
3224
3224
|
var n = {}, a = Object.keys(e), r, i;
|
|
3225
3225
|
for (i = 0; i < a.length; i++)
|
|
3226
3226
|
r = a[i], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
|
|
3227
3227
|
return n;
|
|
3228
3228
|
}
|
|
3229
|
-
function
|
|
3229
|
+
function Hi(e, t) {
|
|
3230
3230
|
if (e == null) return {};
|
|
3231
|
-
var n =
|
|
3231
|
+
var n = Yi(e, t), a, r;
|
|
3232
3232
|
if (Object.getOwnPropertySymbols) {
|
|
3233
3233
|
var i = Object.getOwnPropertySymbols(e);
|
|
3234
3234
|
for (r = 0; r < i.length; r++)
|
|
@@ -3237,15 +3237,15 @@ function Yi(e, t) {
|
|
|
3237
3237
|
return n;
|
|
3238
3238
|
}
|
|
3239
3239
|
function Dt(e) {
|
|
3240
|
-
return
|
|
3240
|
+
return Ui(e) || Wi(e) || Bi(e) || Vi();
|
|
3241
3241
|
}
|
|
3242
|
-
function
|
|
3242
|
+
function Ui(e) {
|
|
3243
3243
|
if (Array.isArray(e)) return Ft(e);
|
|
3244
3244
|
}
|
|
3245
|
-
function
|
|
3245
|
+
function Wi(e) {
|
|
3246
3246
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3247
3247
|
}
|
|
3248
|
-
function
|
|
3248
|
+
function Bi(e, t) {
|
|
3249
3249
|
if (e) {
|
|
3250
3250
|
if (typeof e == "string") return Ft(e, t);
|
|
3251
3251
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3258,12 +3258,12 @@ function Ft(e, t) {
|
|
|
3258
3258
|
for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
|
|
3259
3259
|
return a;
|
|
3260
3260
|
}
|
|
3261
|
-
function
|
|
3261
|
+
function Vi() {
|
|
3262
3262
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3263
3263
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3264
3264
|
}
|
|
3265
|
-
function
|
|
3266
|
-
var t, n = e.beat, a = e.fade, r = e.beatFade, i = e.bounce, o = e.shake, s = e.flash, f = e.spin, l = e.spinPulse, c = e.spinReverse, u = e.pulse, g = e.fixedWidth, h = e.inverse, S = e.border, x = e.listItem, w = e.flip, N = e.size, $ = e.rotation,
|
|
3265
|
+
function qi(e) {
|
|
3266
|
+
var t, n = e.beat, a = e.fade, r = e.beatFade, i = e.bounce, o = e.shake, s = e.flash, f = e.spin, l = e.spinPulse, c = e.spinReverse, u = e.pulse, g = e.fixedWidth, h = e.inverse, S = e.border, x = e.listItem, w = e.flip, N = e.size, $ = e.rotation, A = e.pull, M = (t = {
|
|
3267
3267
|
"fa-beat": n,
|
|
3268
3268
|
"fa-fade": a,
|
|
3269
3269
|
"fa-beat-fade": r,
|
|
@@ -3281,41 +3281,41 @@ function Vi(e) {
|
|
|
3281
3281
|
"fa-flip": w === !0,
|
|
3282
3282
|
"fa-flip-horizontal": w === "horizontal" || w === "both",
|
|
3283
3283
|
"fa-flip-vertical": w === "vertical" || w === "both"
|
|
3284
|
-
}, Oe(t, "fa-".concat(N), typeof N < "u" && N !== null), Oe(t, "fa-rotate-".concat($), typeof $ < "u" && $ !== null && $ !== 0), Oe(t, "fa-pull-".concat(
|
|
3284
|
+
}, Oe(t, "fa-".concat(N), typeof N < "u" && N !== null), Oe(t, "fa-rotate-".concat($), typeof $ < "u" && $ !== null && $ !== 0), Oe(t, "fa-pull-".concat(A), typeof A < "u" && A !== null), Oe(t, "fa-swap-opacity", e.swapOpacity), t);
|
|
3285
3285
|
return Object.keys(M).map(function(m) {
|
|
3286
3286
|
return M[m] ? m : null;
|
|
3287
3287
|
}).filter(function(m) {
|
|
3288
3288
|
return m;
|
|
3289
3289
|
});
|
|
3290
3290
|
}
|
|
3291
|
-
function
|
|
3291
|
+
function Gi(e) {
|
|
3292
3292
|
return e = e - 0, e === e;
|
|
3293
3293
|
}
|
|
3294
|
-
function
|
|
3295
|
-
return
|
|
3294
|
+
function Sa(e) {
|
|
3295
|
+
return Gi(e) ? e : (e = e.replace(/[\-_\s]+(.)?/g, function(t, n) {
|
|
3296
3296
|
return n ? n.toUpperCase() : "";
|
|
3297
3297
|
}), e.substr(0, 1).toLowerCase() + e.substr(1));
|
|
3298
3298
|
}
|
|
3299
|
-
var
|
|
3300
|
-
function
|
|
3299
|
+
var Xi = ["style"];
|
|
3300
|
+
function Ki(e) {
|
|
3301
3301
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3302
3302
|
}
|
|
3303
|
-
function
|
|
3303
|
+
function Ji(e) {
|
|
3304
3304
|
return e.split(";").map(function(t) {
|
|
3305
3305
|
return t.trim();
|
|
3306
3306
|
}).filter(function(t) {
|
|
3307
3307
|
return t;
|
|
3308
3308
|
}).reduce(function(t, n) {
|
|
3309
|
-
var a = n.indexOf(":"), r =
|
|
3310
|
-
return r.startsWith("webkit") ? t[
|
|
3309
|
+
var a = n.indexOf(":"), r = Sa(n.slice(0, a)), i = n.slice(a + 1).trim();
|
|
3310
|
+
return r.startsWith("webkit") ? t[Ki(r)] = i : t[r] = i, t;
|
|
3311
3311
|
}, {});
|
|
3312
3312
|
}
|
|
3313
|
-
function
|
|
3313
|
+
function Pa(e, t) {
|
|
3314
3314
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3315
3315
|
if (typeof t == "string")
|
|
3316
3316
|
return t;
|
|
3317
3317
|
var a = (t.children || []).map(function(f) {
|
|
3318
|
-
return
|
|
3318
|
+
return Pa(e, f);
|
|
3319
3319
|
}), r = Object.keys(t.attributes || {}).reduce(function(f, l) {
|
|
3320
3320
|
var c = t.attributes[l];
|
|
3321
3321
|
switch (l) {
|
|
@@ -3323,36 +3323,36 @@ function Oa(e, t) {
|
|
|
3323
3323
|
f.attrs.className = c, delete t.attributes.class;
|
|
3324
3324
|
break;
|
|
3325
3325
|
case "style":
|
|
3326
|
-
f.attrs.style =
|
|
3326
|
+
f.attrs.style = Ji(c);
|
|
3327
3327
|
break;
|
|
3328
3328
|
default:
|
|
3329
|
-
l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? f.attrs[l.toLowerCase()] = c : f.attrs[
|
|
3329
|
+
l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? f.attrs[l.toLowerCase()] = c : f.attrs[Sa(l)] = c;
|
|
3330
3330
|
}
|
|
3331
3331
|
return f;
|
|
3332
3332
|
}, {
|
|
3333
3333
|
attrs: {}
|
|
3334
|
-
}), i = n.style, o = i === void 0 ? {} : i, s =
|
|
3334
|
+
}), i = n.style, o = i === void 0 ? {} : i, s = Hi(n, Xi);
|
|
3335
3335
|
return r.attrs.style = ie(ie({}, r.attrs.style), o), e.apply(void 0, [t.tag, ie(ie({}, r.attrs), s)].concat(Dt(a)));
|
|
3336
3336
|
}
|
|
3337
|
-
var
|
|
3337
|
+
var Ta = !1;
|
|
3338
3338
|
try {
|
|
3339
|
-
|
|
3339
|
+
Ta = process.env.NODE_ENV === "production";
|
|
3340
3340
|
} catch {
|
|
3341
3341
|
}
|
|
3342
|
-
function
|
|
3343
|
-
if (!
|
|
3342
|
+
function Qi() {
|
|
3343
|
+
if (!Ta && console && typeof console.error == "function") {
|
|
3344
3344
|
var e;
|
|
3345
3345
|
(e = console).error.apply(e, arguments);
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
|
-
function
|
|
3349
|
-
if (e &&
|
|
3348
|
+
function Bn(e) {
|
|
3349
|
+
if (e && st(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
3350
3350
|
return e;
|
|
3351
3351
|
if (jt.icon)
|
|
3352
3352
|
return jt.icon(e);
|
|
3353
3353
|
if (e === null)
|
|
3354
3354
|
return null;
|
|
3355
|
-
if (e &&
|
|
3355
|
+
if (e && st(e) === "object" && e.prefix && e.iconName)
|
|
3356
3356
|
return e;
|
|
3357
3357
|
if (Array.isArray(e) && e.length === 2)
|
|
3358
3358
|
return {
|
|
@@ -3368,7 +3368,7 @@ function Un(e) {
|
|
|
3368
3368
|
function At(e, t) {
|
|
3369
3369
|
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? Oe({}, e, t) : {};
|
|
3370
3370
|
}
|
|
3371
|
-
var
|
|
3371
|
+
var Vn = {
|
|
3372
3372
|
border: !1,
|
|
3373
3373
|
className: "",
|
|
3374
3374
|
mask: null,
|
|
@@ -3395,21 +3395,21 @@ var Wn = {
|
|
|
3395
3395
|
titleId: null,
|
|
3396
3396
|
transform: null,
|
|
3397
3397
|
swapOpacity: !1
|
|
3398
|
-
}, oe = /* @__PURE__ */
|
|
3399
|
-
var n = ie(ie({},
|
|
3398
|
+
}, oe = /* @__PURE__ */ Kn.forwardRef(function(e, t) {
|
|
3399
|
+
var n = ie(ie({}, Vn), e), a = n.icon, r = n.mask, i = n.symbol, o = n.className, s = n.title, f = n.titleId, l = n.maskId, c = Bn(a), u = At("classes", [].concat(Dt(qi(n)), Dt((o || "").split(" ")))), g = At("transform", typeof n.transform == "string" ? jt.transform(n.transform) : n.transform), h = At("mask", Bn(r)), S = Ci(c, ie(ie(ie(ie({}, u), g), h), {}, {
|
|
3400
3400
|
symbol: i,
|
|
3401
3401
|
title: s,
|
|
3402
3402
|
titleId: f,
|
|
3403
3403
|
maskId: l
|
|
3404
3404
|
}));
|
|
3405
3405
|
if (!S)
|
|
3406
|
-
return
|
|
3406
|
+
return Qi("Could not find icon", c), null;
|
|
3407
3407
|
var x = S.abstract, w = {
|
|
3408
3408
|
ref: t
|
|
3409
3409
|
};
|
|
3410
3410
|
return Object.keys(n).forEach(function(N) {
|
|
3411
|
-
|
|
3412
|
-
}),
|
|
3411
|
+
Vn.hasOwnProperty(N) || (w[N] = n[N]);
|
|
3412
|
+
}), Zi(x[0], w);
|
|
3413
3413
|
});
|
|
3414
3414
|
oe.displayName = "FontAwesomeIcon";
|
|
3415
3415
|
oe.propTypes = {
|
|
@@ -3441,60 +3441,60 @@ oe.propTypes = {
|
|
|
3441
3441
|
transform: T.oneOfType([T.string, T.object]),
|
|
3442
3442
|
swapOpacity: T.bool
|
|
3443
3443
|
};
|
|
3444
|
-
var
|
|
3444
|
+
var Zi = Pa.bind(null, Kn.createElement), eo = {
|
|
3445
3445
|
prefix: "fas",
|
|
3446
3446
|
iconName: "file-lines",
|
|
3447
3447
|
icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
|
|
3448
|
-
},
|
|
3448
|
+
}, to = {
|
|
3449
3449
|
prefix: "fas",
|
|
3450
3450
|
iconName: "caret-right",
|
|
3451
3451
|
icon: [256, 512, [], "f0da", "M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]
|
|
3452
|
-
},
|
|
3452
|
+
}, no = {
|
|
3453
3453
|
prefix: "fas",
|
|
3454
3454
|
iconName: "caret-left",
|
|
3455
3455
|
icon: [256, 512, [], "f0d9", "M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]
|
|
3456
|
-
},
|
|
3456
|
+
}, ao = {
|
|
3457
3457
|
prefix: "fas",
|
|
3458
3458
|
iconName: "image",
|
|
3459
3459
|
icon: [512, 512, [], "f03e", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]
|
|
3460
|
-
},
|
|
3460
|
+
}, qn = {
|
|
3461
3461
|
prefix: "fas",
|
|
3462
3462
|
iconName: "trash",
|
|
3463
3463
|
icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]
|
|
3464
|
-
},
|
|
3464
|
+
}, ro = {
|
|
3465
3465
|
prefix: "fas",
|
|
3466
3466
|
iconName: "circle-info",
|
|
3467
3467
|
icon: [512, 512, ["info-circle"], "f05a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
|
|
3468
|
-
},
|
|
3468
|
+
}, io = {
|
|
3469
3469
|
prefix: "fas",
|
|
3470
3470
|
iconName: "gear",
|
|
3471
3471
|
icon: [512, 512, [9881, "cog"], "f013", "M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]
|
|
3472
|
-
},
|
|
3472
|
+
}, oo = io, so = {
|
|
3473
3473
|
prefix: "fas",
|
|
3474
3474
|
iconName: "download",
|
|
3475
3475
|
icon: [512, 512, [], "f019", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]
|
|
3476
|
-
},
|
|
3476
|
+
}, fo = {
|
|
3477
3477
|
prefix: "fas",
|
|
3478
3478
|
iconName: "house",
|
|
3479
3479
|
icon: [576, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]
|
|
3480
|
-
},
|
|
3480
|
+
}, co = {
|
|
3481
3481
|
prefix: "fas",
|
|
3482
3482
|
iconName: "magnifying-glass",
|
|
3483
3483
|
icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
|
|
3484
|
-
},
|
|
3484
|
+
}, lo = co, uo = {
|
|
3485
3485
|
prefix: "fas",
|
|
3486
3486
|
iconName: "arrow-up",
|
|
3487
3487
|
icon: [384, 512, [8593], "f062", "M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]
|
|
3488
|
-
},
|
|
3488
|
+
}, mo = {
|
|
3489
3489
|
prefix: "fas",
|
|
3490
3490
|
iconName: "plus",
|
|
3491
3491
|
icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]
|
|
3492
|
-
},
|
|
3492
|
+
}, vo = {
|
|
3493
3493
|
prefix: "fas",
|
|
3494
3494
|
iconName: "desktop",
|
|
3495
3495
|
icon: [576, 512, [128421, 61704, "desktop-alt"], "f390", "M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V288H64V64H512z"]
|
|
3496
3496
|
};
|
|
3497
|
-
function
|
|
3497
|
+
function tt({ onClick: e, icon: t, name: n }) {
|
|
3498
3498
|
return /* @__PURE__ */ V(
|
|
3499
3499
|
"button",
|
|
3500
3500
|
{
|
|
@@ -3502,17 +3502,17 @@ function et({ onClick: e, icon: t, name: n }) {
|
|
|
3502
3502
|
className: `${G.NavButton} ${$t.TextSemibold}`,
|
|
3503
3503
|
onClick: e,
|
|
3504
3504
|
children: [
|
|
3505
|
-
/* @__PURE__ */
|
|
3505
|
+
/* @__PURE__ */ E(oe, { icon: t }),
|
|
3506
3506
|
n
|
|
3507
3507
|
]
|
|
3508
3508
|
}
|
|
3509
3509
|
);
|
|
3510
3510
|
}
|
|
3511
|
-
function
|
|
3511
|
+
function po({ directory: e }) {
|
|
3512
3512
|
const t = (n) => {
|
|
3513
3513
|
const a = n.target.files;
|
|
3514
3514
|
a != null && Array.from(a).forEach((r) => {
|
|
3515
|
-
const { name: i, extension: o } =
|
|
3515
|
+
const { name: i, extension: o } = _a.splitId(r.name), s = new FileReader();
|
|
3516
3516
|
s.onload = (f) => {
|
|
3517
3517
|
const { result: l } = f.target;
|
|
3518
3518
|
e.createFile(i, o, (c) => {
|
|
@@ -3522,7 +3522,7 @@ function vo({ directory: e }) {
|
|
|
3522
3522
|
});
|
|
3523
3523
|
};
|
|
3524
3524
|
return /* @__PURE__ */ V("label", { title: "Import", tabIndex: 0, className: G.IconButton, children: [
|
|
3525
|
-
/* @__PURE__ */
|
|
3525
|
+
/* @__PURE__ */ E(
|
|
3526
3526
|
"input",
|
|
3527
3527
|
{
|
|
3528
3528
|
type: "file",
|
|
@@ -3532,26 +3532,26 @@ function vo({ directory: e }) {
|
|
|
3532
3532
|
onChange: t
|
|
3533
3533
|
}
|
|
3534
3534
|
),
|
|
3535
|
-
/* @__PURE__ */
|
|
3535
|
+
/* @__PURE__ */ E(oe, { icon: so })
|
|
3536
3536
|
] });
|
|
3537
3537
|
}
|
|
3538
|
-
const
|
|
3538
|
+
const Gn = {
|
|
3539
3539
|
NONE: 0,
|
|
3540
3540
|
SINGLE: 1,
|
|
3541
3541
|
MULTIPLE: 2
|
|
3542
|
-
},
|
|
3543
|
-
FileProperties:
|
|
3544
|
-
Icon:
|
|
3545
|
-
Section:
|
|
3546
|
-
Line:
|
|
3547
|
-
AppIcon:
|
|
3542
|
+
}, bo = "_FileProperties_s5har_1", go = "_Icon_s5har_17", yo = "_Section_s5har_49", ho = "_Line_s5har_91", xo = "_AppIcon_s5har_135", Z = {
|
|
3543
|
+
FileProperties: bo,
|
|
3544
|
+
Icon: go,
|
|
3545
|
+
Section: yo,
|
|
3546
|
+
Line: ho,
|
|
3547
|
+
AppIcon: xo
|
|
3548
3548
|
};
|
|
3549
|
-
function
|
|
3550
|
-
const { appsConfig: r } =
|
|
3551
|
-
return /* @__PURE__ */ V(
|
|
3549
|
+
function wo({ modal: e, params: t, file: n, ...a }) {
|
|
3550
|
+
const { appsConfig: r } = Xn(), i = n.extension != null ? r.getAppByFileExtension(n.extension) : null;
|
|
3551
|
+
return /* @__PURE__ */ V(Ca, { className: Z.FileProperties, modal: e, params: t, ...a, children: [
|
|
3552
3552
|
/* @__PURE__ */ V("span", { className: Z.Section, children: [
|
|
3553
|
-
/* @__PURE__ */
|
|
3554
|
-
/* @__PURE__ */
|
|
3553
|
+
/* @__PURE__ */ E(nn, { className: Z.Icon, source: n.getIconUrl() }),
|
|
3554
|
+
/* @__PURE__ */ E("p", { className: `${Z.Line} ${$t.TextBold}`, children: n.id })
|
|
3555
3555
|
] }),
|
|
3556
3556
|
/* @__PURE__ */ V("span", { className: Z.Section, children: [
|
|
3557
3557
|
/* @__PURE__ */ V("p", { className: Z.Line, children: [
|
|
@@ -3560,7 +3560,7 @@ function xo({ modal: e, params: t, file: n, ...a }) {
|
|
|
3560
3560
|
] }),
|
|
3561
3561
|
i != null && /* @__PURE__ */ V("span", { className: Z.Line, children: [
|
|
3562
3562
|
"Opens with:",
|
|
3563
|
-
/* @__PURE__ */
|
|
3563
|
+
/* @__PURE__ */ E(nn, { className: Z.AppIcon, source: i.iconUrl ?? "" }),
|
|
3564
3564
|
i.name
|
|
3565
3565
|
] })
|
|
3566
3566
|
] }),
|
|
@@ -3580,99 +3580,99 @@ function xo({ modal: e, params: t, file: n, ...a }) {
|
|
|
3580
3580
|
" bytes"
|
|
3581
3581
|
] })
|
|
3582
3582
|
] }),
|
|
3583
|
-
/* @__PURE__ */
|
|
3583
|
+
/* @__PURE__ */ E("span", { className: Z.Section, children: /* @__PURE__ */ V("p", { className: Z.Line, children: [
|
|
3584
3584
|
"Attributes: ",
|
|
3585
3585
|
n.isProtected ? "Protected" : "N/A"
|
|
3586
3586
|
] }) })
|
|
3587
3587
|
] });
|
|
3588
3588
|
}
|
|
3589
|
-
function
|
|
3590
|
-
const o = a != null && n != null && n !==
|
|
3591
|
-
Actions: (
|
|
3592
|
-
/* @__PURE__ */
|
|
3589
|
+
function ko({ app: e, path: t, selectorMode: n, Footer: a, onSelectionChange: r, onSelectionFinish: i }) {
|
|
3590
|
+
const o = a != null && n != null && n !== Gn.NONE, s = Ia(), f = Na(), { windowsConfig: l } = Xn(), [c, u] = dt(s == null ? void 0 : s.navigate(t ?? "~")), [g, h] = dt((c == null ? void 0 : c.path) ?? ""), [S] = dt(!0), { history: x, stateIndex: w, pushState: N, undo: $, redo: A, undoAvailable: M, redoAvailable: m } = Ma(c.path), { alert: X } = Ra(), { openWindowedModal: K } = La(), { onContextMenu: fe } = rn({
|
|
3591
|
+
Actions: (Y) => /* @__PURE__ */ V(on, { ...Y, children: [
|
|
3592
|
+
/* @__PURE__ */ E(Ce, { label: o ? "Select" : "Open", onTrigger: (z, O) => {
|
|
3593
3593
|
if (o) {
|
|
3594
|
-
r == null || r({ files: [
|
|
3594
|
+
r == null || r({ files: [O.id], directory: c }), i == null || i();
|
|
3595
3595
|
return;
|
|
3596
3596
|
}
|
|
3597
|
-
f != null &&
|
|
3597
|
+
f != null && O.open(f);
|
|
3598
3598
|
} }),
|
|
3599
|
-
/* @__PURE__ */
|
|
3600
|
-
|
|
3599
|
+
/* @__PURE__ */ E(Ce, { label: "Delete", icon: qn, onTrigger: (z, O) => {
|
|
3600
|
+
O.delete();
|
|
3601
3601
|
} }),
|
|
3602
|
-
/* @__PURE__ */
|
|
3602
|
+
/* @__PURE__ */ E(Ce, { label: "Properties", icon: ro, onTrigger: (z, O) => {
|
|
3603
3603
|
K({
|
|
3604
|
-
title: `${
|
|
3605
|
-
iconUrl:
|
|
3606
|
-
size: new
|
|
3607
|
-
Modal: (ne) => /* @__PURE__ */
|
|
3604
|
+
title: `${O.id} ${l.titleSeparator} Properties`,
|
|
3605
|
+
iconUrl: O.getIconUrl(),
|
|
3606
|
+
size: new We(400, 500),
|
|
3607
|
+
Modal: (ne) => /* @__PURE__ */ E(wo, { file: O, ...ne })
|
|
3608
3608
|
});
|
|
3609
3609
|
} })
|
|
3610
3610
|
] })
|
|
3611
3611
|
}), { onContextMenu: J } = rn({
|
|
3612
|
-
Actions: (
|
|
3613
|
-
/* @__PURE__ */
|
|
3614
|
-
ee(
|
|
3612
|
+
Actions: (Y) => /* @__PURE__ */ V(on, { ...Y, children: [
|
|
3613
|
+
/* @__PURE__ */ E(Ce, { label: "Open", onTrigger: (z, O) => {
|
|
3614
|
+
ee(O.linkedPath ?? O.name);
|
|
3615
3615
|
} }),
|
|
3616
|
-
/* @__PURE__ */
|
|
3617
|
-
/* @__PURE__ */
|
|
3618
|
-
|
|
3616
|
+
/* @__PURE__ */ E(ja, {}),
|
|
3617
|
+
/* @__PURE__ */ E(Ce, { label: "Delete", icon: qn, onTrigger: (z, O) => {
|
|
3618
|
+
O.delete();
|
|
3619
3619
|
} })
|
|
3620
3620
|
] })
|
|
3621
|
-
}), ee =
|
|
3622
|
-
if (
|
|
3621
|
+
}), ee = Ya((Y, z = !1) => {
|
|
3622
|
+
if (Y == null)
|
|
3623
3623
|
return;
|
|
3624
3624
|
c == null && (z = !0);
|
|
3625
|
-
const
|
|
3626
|
-
|
|
3625
|
+
const O = z ? s == null ? void 0 : s.navigate(Y) : c.navigate(Y);
|
|
3626
|
+
O != null && (u(O), h(O.root ? "/" : O.path), N(O.path));
|
|
3627
3627
|
}, [c, N, s]);
|
|
3628
|
-
|
|
3628
|
+
ln(() => {
|
|
3629
3629
|
if (x.length === 0)
|
|
3630
3630
|
return;
|
|
3631
|
-
const
|
|
3631
|
+
const Y = x[w], z = s == null ? void 0 : s.navigate(Y);
|
|
3632
3632
|
z != null && (u(z), h(z.root ? "/" : z.path));
|
|
3633
|
-
}, [x, w, s]),
|
|
3634
|
-
const
|
|
3633
|
+
}, [x, w, s]), ln(() => {
|
|
3634
|
+
const Y = (z) => {
|
|
3635
3635
|
X({
|
|
3636
3636
|
title: z.message,
|
|
3637
3637
|
text: "You have exceeded the virtual drive capacity. Files and folders will not be saved until more storage is freed.",
|
|
3638
3638
|
iconUrl: e == null ? void 0 : e.iconUrl,
|
|
3639
|
-
size: new
|
|
3639
|
+
size: new We(300, 200),
|
|
3640
3640
|
single: !0
|
|
3641
3641
|
});
|
|
3642
3642
|
};
|
|
3643
|
-
return s == null || s.on(sn.EVENT_NAMES.ERROR,
|
|
3644
|
-
s == null || s.off(sn.EVENT_NAMES.ERROR,
|
|
3643
|
+
return s == null || s.on(sn.EVENT_NAMES.ERROR, Y), () => {
|
|
3644
|
+
s == null || s.off(sn.EVENT_NAMES.ERROR, Y);
|
|
3645
3645
|
};
|
|
3646
3646
|
}, []);
|
|
3647
|
-
const ke = (
|
|
3648
|
-
h(
|
|
3649
|
-
}, _e = (
|
|
3650
|
-
let z =
|
|
3651
|
-
if (
|
|
3647
|
+
const ke = (Y) => {
|
|
3648
|
+
h(Y.target.value);
|
|
3649
|
+
}, _e = (Y) => {
|
|
3650
|
+
let z = Y.target.value;
|
|
3651
|
+
if (Y.key === "Enter") {
|
|
3652
3652
|
z === "" && (z = "~");
|
|
3653
|
-
const
|
|
3654
|
-
if (
|
|
3653
|
+
const O = s == null ? void 0 : s.navigate(z);
|
|
3654
|
+
if (O == null) {
|
|
3655
3655
|
K({
|
|
3656
3656
|
title: "Error",
|
|
3657
3657
|
iconUrl: e == null ? void 0 : e.iconUrl,
|
|
3658
|
-
size: new
|
|
3659
|
-
Modal: (ne) => /* @__PURE__ */ V(
|
|
3658
|
+
size: new We(300, 150),
|
|
3659
|
+
Modal: (ne) => /* @__PURE__ */ V(fn, { ...ne, children: [
|
|
3660
3660
|
/* @__PURE__ */ V("p", { children: [
|
|
3661
3661
|
'Invalid path: "',
|
|
3662
3662
|
z,
|
|
3663
3663
|
'"'
|
|
3664
3664
|
] }),
|
|
3665
|
-
/* @__PURE__ */
|
|
3665
|
+
/* @__PURE__ */ E("button", { "data-type": cn.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
|
|
3666
3666
|
] })
|
|
3667
3667
|
});
|
|
3668
3668
|
return;
|
|
3669
3669
|
}
|
|
3670
|
-
u(
|
|
3670
|
+
u(O), h(O.root ? "/" : O.path);
|
|
3671
3671
|
}
|
|
3672
3672
|
}, ge = c.getItemCount(S);
|
|
3673
3673
|
return /* @__PURE__ */ V("div", { className: o ? `${G.FileExplorer} ${G.Selector}` : G.FileExplorer, children: [
|
|
3674
3674
|
/* @__PURE__ */ V("div", { className: G.Header, children: [
|
|
3675
|
-
/* @__PURE__ */
|
|
3675
|
+
/* @__PURE__ */ E(
|
|
3676
3676
|
"button",
|
|
3677
3677
|
{
|
|
3678
3678
|
title: "Back",
|
|
@@ -3682,23 +3682,23 @@ function wo({ app: e, path: t, selectorMode: n, Footer: a, onSelectionChange: r,
|
|
|
3682
3682
|
$();
|
|
3683
3683
|
},
|
|
3684
3684
|
disabled: !M,
|
|
3685
|
-
children: /* @__PURE__ */
|
|
3685
|
+
children: /* @__PURE__ */ E(oe, { icon: no })
|
|
3686
3686
|
}
|
|
3687
3687
|
),
|
|
3688
|
-
/* @__PURE__ */
|
|
3688
|
+
/* @__PURE__ */ E(
|
|
3689
3689
|
"button",
|
|
3690
3690
|
{
|
|
3691
3691
|
title: "Forward",
|
|
3692
3692
|
tabIndex: 0,
|
|
3693
3693
|
className: G.IconButton,
|
|
3694
3694
|
onClick: () => {
|
|
3695
|
-
|
|
3695
|
+
A();
|
|
3696
3696
|
},
|
|
3697
3697
|
disabled: !m,
|
|
3698
|
-
children: /* @__PURE__ */
|
|
3698
|
+
children: /* @__PURE__ */ E(oe, { icon: to })
|
|
3699
3699
|
}
|
|
3700
3700
|
),
|
|
3701
|
-
/* @__PURE__ */
|
|
3701
|
+
/* @__PURE__ */ E(
|
|
3702
3702
|
"button",
|
|
3703
3703
|
{
|
|
3704
3704
|
title: "Up",
|
|
@@ -3708,22 +3708,31 @@ function wo({ app: e, path: t, selectorMode: n, Footer: a, onSelectionChange: r,
|
|
|
3708
3708
|
ee("..");
|
|
3709
3709
|
},
|
|
3710
3710
|
disabled: c.isRoot != null && c.isRoot,
|
|
3711
|
-
children: /* @__PURE__ */
|
|
3711
|
+
children: /* @__PURE__ */ E(oe, { icon: uo })
|
|
3712
3712
|
}
|
|
3713
3713
|
),
|
|
3714
|
-
/* @__PURE__ */
|
|
3714
|
+
/* @__PURE__ */ E(
|
|
3715
3715
|
"button",
|
|
3716
3716
|
{
|
|
3717
3717
|
title: "New",
|
|
3718
3718
|
tabIndex: 0,
|
|
3719
3719
|
className: G.IconButton,
|
|
3720
3720
|
onClick: () => {
|
|
3721
|
+
K({
|
|
3722
|
+
title: "Error",
|
|
3723
|
+
iconUrl: e == null ? void 0 : e.iconUrl,
|
|
3724
|
+
size: new We(300, 150),
|
|
3725
|
+
Modal: (Y) => /* @__PURE__ */ V(fn, { ...Y, children: [
|
|
3726
|
+
/* @__PURE__ */ E("p", { children: "This folder is protected." }),
|
|
3727
|
+
/* @__PURE__ */ E("button", { "data-type": cn.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
|
|
3728
|
+
] })
|
|
3729
|
+
});
|
|
3721
3730
|
},
|
|
3722
3731
|
disabled: !c.canBeEdited,
|
|
3723
|
-
children: /* @__PURE__ */
|
|
3732
|
+
children: /* @__PURE__ */ E(oe, { icon: mo })
|
|
3724
3733
|
}
|
|
3725
3734
|
),
|
|
3726
|
-
/* @__PURE__ */
|
|
3735
|
+
/* @__PURE__ */ E(
|
|
3727
3736
|
"input",
|
|
3728
3737
|
{
|
|
3729
3738
|
value: g,
|
|
@@ -3736,55 +3745,55 @@ function wo({ app: e, path: t, selectorMode: n, Footer: a, onSelectionChange: r,
|
|
|
3736
3745
|
placeholder: "Enter a path..."
|
|
3737
3746
|
}
|
|
3738
3747
|
),
|
|
3739
|
-
/* @__PURE__ */
|
|
3740
|
-
/* @__PURE__ */
|
|
3741
|
-
/* @__PURE__ */
|
|
3748
|
+
/* @__PURE__ */ E(po, { directory: c }),
|
|
3749
|
+
/* @__PURE__ */ E("button", { title: "Search", tabIndex: 0, className: G.IconButton, children: /* @__PURE__ */ E(oe, { icon: lo }) }),
|
|
3750
|
+
/* @__PURE__ */ E("button", { title: "Settings", tabIndex: 0, className: G.IconButton, children: /* @__PURE__ */ E(oe, { icon: oo }) })
|
|
3742
3751
|
] }),
|
|
3743
3752
|
/* @__PURE__ */ V("div", { className: G.Body, children: [
|
|
3744
3753
|
/* @__PURE__ */ V("div", { className: G.Sidebar, children: [
|
|
3745
|
-
/* @__PURE__ */
|
|
3754
|
+
/* @__PURE__ */ E(tt, { name: "Home", onClick: () => {
|
|
3746
3755
|
ee("~");
|
|
3747
|
-
}, icon:
|
|
3748
|
-
/* @__PURE__ */
|
|
3756
|
+
}, icon: fo }),
|
|
3757
|
+
/* @__PURE__ */ E(tt, { name: "Desktop", onClick: () => {
|
|
3749
3758
|
ee("~/Desktop");
|
|
3750
|
-
}, icon:
|
|
3751
|
-
/* @__PURE__ */
|
|
3759
|
+
}, icon: vo }),
|
|
3760
|
+
/* @__PURE__ */ E(tt, { name: "Images", onClick: () => {
|
|
3752
3761
|
ee("~/Pictures");
|
|
3753
|
-
}, icon:
|
|
3754
|
-
/* @__PURE__ */
|
|
3762
|
+
}, icon: ao }),
|
|
3763
|
+
/* @__PURE__ */ E(tt, { name: "Documents", onClick: () => {
|
|
3755
3764
|
ee("~/Documents");
|
|
3756
|
-
}, icon:
|
|
3765
|
+
}, icon: eo })
|
|
3757
3766
|
] }),
|
|
3758
|
-
/* @__PURE__ */
|
|
3759
|
-
|
|
3767
|
+
/* @__PURE__ */ E(
|
|
3768
|
+
za,
|
|
3760
3769
|
{
|
|
3761
3770
|
directory: c,
|
|
3762
3771
|
id: "main",
|
|
3763
3772
|
className: G.Main,
|
|
3764
3773
|
showHidden: S,
|
|
3765
|
-
onOpenFile: (
|
|
3766
|
-
if (
|
|
3774
|
+
onOpenFile: (Y, z) => {
|
|
3775
|
+
if (Y.preventDefault(), o)
|
|
3767
3776
|
return void (i == null ? void 0 : i());
|
|
3768
|
-
const
|
|
3769
|
-
(z.extension === "md" || z.extension != null &&
|
|
3777
|
+
const O = {};
|
|
3778
|
+
(z.extension === "md" || z.extension != null && Da.includes(z.extension)) && (O.mode = "view"), f == null || f.openFile(z, O);
|
|
3770
3779
|
},
|
|
3771
|
-
onOpenFolder: (
|
|
3780
|
+
onOpenFolder: (Y, z) => {
|
|
3772
3781
|
ee(z.linkedPath ?? z.name);
|
|
3773
3782
|
},
|
|
3774
3783
|
onContextMenuFile: fe,
|
|
3775
3784
|
onContextMenuFolder: J,
|
|
3776
|
-
allowMultiSelect: n !==
|
|
3785
|
+
allowMultiSelect: n !== Gn.SINGLE,
|
|
3777
3786
|
onSelectionChange: r
|
|
3778
3787
|
}
|
|
3779
3788
|
)
|
|
3780
3789
|
] }),
|
|
3781
|
-
o ? /* @__PURE__ */
|
|
3790
|
+
o ? /* @__PURE__ */ E("div", { className: G.Footer, children: /* @__PURE__ */ E(a, {}) }) : /* @__PURE__ */ E("span", { className: G.Footer, children: /* @__PURE__ */ E("p", { className: $t.TextLight, children: ge === 1 ? ge + " item" : ge + " items" }) })
|
|
3782
3791
|
] });
|
|
3783
3792
|
}
|
|
3784
|
-
var
|
|
3785
|
-
const
|
|
3793
|
+
var Eo = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(Eo || {});
|
|
3794
|
+
const Po = new Fa("File Explorer", "file-explorer", ko).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole($a.APP_ROLES.FileExplorer);
|
|
3786
3795
|
export {
|
|
3787
|
-
|
|
3788
|
-
|
|
3796
|
+
Eo as FileSelectorMode,
|
|
3797
|
+
Po as fileExplorer
|
|
3789
3798
|
};
|
|
3790
3799
|
//# sourceMappingURL=main.js.map
|