@prozilla-os/file-explorer 1.1.6 → 1.1.7

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 CHANGED
@@ -1,3874 +1,321 @@
1
- import { utilStyles as Mt, VirtualFile as wr, useSystemManager as Yn, WindowedModal as Pr, ImagePreview as Gt, StorageManager as Vt, useVirtualRoot as Sr, useWindowsManager as Tr, useHistory as _r, useAlert as Cr, useWindowedModal as kr, useContextMenu as Xt, Actions as Kt, ClickAction as Ie, Vector2 as Ue, Divider as Ir, VirtualRoot as Jt, DialogBox as Qt, ModalsConfig as Zt, DirectoryList as Nr, CODE_EXTENSIONS as Mr, App as Rr, AppsConfig as Lr } from "@prozilla-os/core";
2
- import { jsxs as B, jsx as E } from "react/jsx-runtime";
3
- import $n, { useState as nt, useCallback as Fr, useEffect as en } from "react";
4
- import './assets/main.css';const zr = "_FileExplorer_10w0u_1", jr = "_Header_10w0u_25", Dr = "_IconButton_10w0u_45", Yr = "_PathInput_10w0u_137", $r = "_Body_10w0u_159", Ur = "_Sidebar_10w0u_175", Wr = "_NavButton_10w0u_203", Br = "_Main_10w0u_249", Hr = "_Footer_10w0u_277", qr = "_Selector_10w0u_315", H = {
5
- FileExplorer: zr,
6
- Header: jr,
7
- IconButton: Dr,
8
- PathInput: Yr,
9
- Body: $r,
10
- Sidebar: Ur,
11
- NavButton: Wr,
12
- Main: Br,
13
- Footer: Hr,
14
- Selector: qr
15
- }, tn = () => {
16
- };
17
- let Rt = {}, Un = {}, Wn = null, Bn = {
18
- mark: tn,
19
- measure: tn
20
- };
21
- try {
22
- typeof window < "u" && (Rt = window), typeof document < "u" && (Un = document), typeof MutationObserver < "u" && (Wn = MutationObserver), typeof performance < "u" && (Bn = performance);
23
- } catch {
24
- }
25
- const {
26
- userAgent: nn = ""
27
- } = Rt.navigator || {}, de = Rt, U = Un, rn = Wn, We = Bn;
28
- de.document;
29
- const le = !!U.documentElement && !!U.head && typeof U.addEventListener == "function" && typeof U.createElement == "function", Hn = ~nn.indexOf("MSIE") || ~nn.indexOf("Trident/");
30
- var W = "classic", qn = "duotone", V = "sharp", X = "sharp-duotone", Gr = [W, qn, V, X], Vr = {
31
- classic: {
32
- 900: "fas",
33
- 400: "far",
34
- normal: "far",
35
- 300: "fal",
36
- 100: "fat"
37
- },
38
- sharp: {
39
- 900: "fass",
40
- 400: "fasr",
41
- 300: "fasl",
42
- 100: "fast"
43
- },
44
- "sharp-duotone": {
45
- 900: "fasds"
46
- }
47
- }, an = {
48
- kit: {
49
- fak: "kit",
50
- "fa-kit": "kit"
51
- },
52
- "kit-duotone": {
53
- fakd: "kit-duotone",
54
- "fa-kit-duotone": "kit-duotone"
55
- }
56
- }, Xr = ["kit"], Kr = /fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/, Jr = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, Qr = {
57
- "Font Awesome 5 Free": {
58
- 900: "fas",
59
- 400: "far"
60
- },
61
- "Font Awesome 5 Pro": {
62
- 900: "fas",
63
- 400: "far",
64
- normal: "far",
65
- 300: "fal"
66
- },
67
- "Font Awesome 5 Brands": {
68
- 400: "fab",
69
- normal: "fab"
70
- },
71
- "Font Awesome 5 Duotone": {
72
- 900: "fad"
73
- }
74
- }, Zr = {
75
- "Font Awesome 6 Free": {
76
- 900: "fas",
77
- 400: "far"
78
- },
79
- "Font Awesome 6 Pro": {
80
- 900: "fas",
81
- 400: "far",
82
- normal: "far",
83
- 300: "fal",
84
- 100: "fat"
85
- },
86
- "Font Awesome 6 Brands": {
87
- 400: "fab",
88
- normal: "fab"
89
- },
90
- "Font Awesome 6 Duotone": {
91
- 900: "fad"
92
- },
93
- "Font Awesome 6 Sharp": {
94
- 900: "fass",
95
- 400: "fasr",
96
- normal: "fasr",
97
- 300: "fasl",
98
- 100: "fast"
99
- },
100
- "Font Awesome 6 Sharp Duotone": {
101
- 900: "fasds"
102
- }
103
- }, ea = {
104
- classic: {
105
- "fa-brands": "fab",
106
- "fa-duotone": "fad",
107
- "fa-light": "fal",
108
- "fa-regular": "far",
109
- "fa-solid": "fas",
110
- "fa-thin": "fat"
111
- },
112
- sharp: {
113
- "fa-solid": "fass",
114
- "fa-regular": "fasr",
115
- "fa-light": "fasl",
116
- "fa-thin": "fast"
117
- },
118
- "sharp-duotone": {
119
- "fa-solid": "fasds"
120
- }
121
- }, ta = {
122
- classic: ["fas", "far", "fal", "fat"],
123
- sharp: ["fass", "fasr", "fasl", "fast"],
124
- "sharp-duotone": ["fasds"]
125
- }, na = {
126
- classic: {
127
- fab: "fa-brands",
128
- fad: "fa-duotone",
129
- fal: "fa-light",
130
- far: "fa-regular",
131
- fas: "fa-solid",
132
- fat: "fa-thin"
133
- },
134
- sharp: {
135
- fass: "fa-solid",
136
- fasr: "fa-regular",
137
- fasl: "fa-light",
138
- fast: "fa-thin"
139
- },
140
- "sharp-duotone": {
141
- fasds: "fa-solid"
142
- }
143
- }, ra = {
144
- classic: {
145
- solid: "fas",
146
- regular: "far",
147
- light: "fal",
148
- thin: "fat",
149
- duotone: "fad",
150
- brands: "fab"
151
- },
152
- sharp: {
153
- solid: "fass",
154
- regular: "fasr",
155
- light: "fasl",
156
- thin: "fast"
157
- },
158
- "sharp-duotone": {
159
- solid: "fasds"
160
- }
161
- }, Gn = {
162
- classic: {
163
- fa: "solid",
164
- fas: "solid",
165
- "fa-solid": "solid",
166
- far: "regular",
167
- "fa-regular": "regular",
168
- fal: "light",
169
- "fa-light": "light",
170
- fat: "thin",
171
- "fa-thin": "thin",
172
- fad: "duotone",
173
- "fa-duotone": "duotone",
174
- fab: "brands",
175
- "fa-brands": "brands"
176
- },
177
- sharp: {
178
- fa: "solid",
179
- fass: "solid",
180
- "fa-solid": "solid",
181
- fasr: "regular",
182
- "fa-regular": "regular",
183
- fasl: "light",
184
- "fa-light": "light",
185
- fast: "thin",
186
- "fa-thin": "thin"
187
- },
188
- "sharp-duotone": {
189
- fa: "solid",
190
- fasds: "solid",
191
- "fa-solid": "solid"
192
- }
193
- }, aa = ["solid", "regular", "light", "thin", "duotone", "brands"], Vn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], oa = Vn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Ne = {
194
- GROUP: "duotone-group",
195
- SWAP_OPACITY: "swap-opacity",
196
- PRIMARY: "primary",
197
- SECONDARY: "secondary"
198
- }, ia = [...Object.keys(ta), ...aa, "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", Ne.GROUP, Ne.SWAP_OPACITY, Ne.PRIMARY, Ne.SECONDARY].concat(Vn.map((e) => "".concat(e, "x"))).concat(oa.map((e) => "w-".concat(e))), sa = {
199
- "Font Awesome Kit": {
200
- 400: "fak",
201
- normal: "fak"
202
- },
203
- "Font Awesome Kit Duotone": {
204
- 400: "fakd",
205
- normal: "fakd"
206
- }
207
- }, ca = {
208
- kit: {
209
- "fa-kit": "fak"
210
- },
211
- "kit-duotone": {
212
- "fa-kit-duotone": "fakd"
213
- }
214
- }, la = {
215
- kit: {
216
- fak: "fa-kit"
217
- },
218
- "kit-duotone": {
219
- fakd: "fa-kit-duotone"
220
- }
221
- }, on = {
222
- kit: {
223
- kit: "fak"
224
- },
225
- "kit-duotone": {
226
- "kit-duotone": "fakd"
227
- }
228
- };
229
- const se = "___FONT_AWESOME___", gt = 16, Xn = "fa", Kn = "svg-inline--fa", xe = "data-fa-i2svg", ht = "data-fa-pseudo-element", fa = "data-fa-pseudo-element-pending", Lt = "data-prefix", Ft = "data-icon", sn = "fontawesome-i2svg", ua = "async", da = ["HTML", "HEAD", "STYLE", "SCRIPT"], Jn = (() => {
230
- try {
231
- return process.env.NODE_ENV === "production";
232
- } catch {
233
- return !1;
234
- }
235
- })(), Qn = [W, V, X];
236
- function je(e) {
237
- return new Proxy(e, {
238
- get(t, n) {
239
- return n in t ? t[n] : t[W];
240
- }
241
- });
242
- }
243
- const Zn = {
244
- ...Gn
245
- };
246
- Zn[W] = {
247
- ...Gn[W],
248
- ...an.kit,
249
- ...an["kit-duotone"]
250
- };
251
- const be = je(Zn), yt = {
252
- ...ra
253
- };
254
- yt[W] = {
255
- ...yt[W],
256
- ...on.kit,
257
- ...on["kit-duotone"]
258
- };
259
- const Fe = je(yt), bt = {
260
- ...na
261
- };
262
- bt[W] = {
263
- ...bt[W],
264
- ...la.kit
265
- };
266
- const ve = je(bt), vt = {
267
- ...ea
268
- };
269
- vt[W] = {
270
- ...vt[W],
271
- ...ca.kit
272
- };
273
- const ma = je(vt), pa = Kr, er = "fa-layers-text", ga = Jr, ha = {
274
- ...Vr
275
- };
276
- je(ha);
277
- const ya = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], rt = Ne, Se = /* @__PURE__ */ new Set();
278
- Object.keys(Fe[W]).map(Se.add.bind(Se));
279
- Object.keys(Fe[V]).map(Se.add.bind(Se));
280
- Object.keys(Fe[X]).map(Se.add.bind(Se));
281
- const ba = [...Xr, ...ia], Re = de.FontAwesomeConfig || {};
282
- function va(e) {
283
- var t = U.querySelector("script[" + e + "]");
284
- if (t)
285
- return t.getAttribute(e);
286
- }
287
- function xa(e) {
288
- return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
289
- }
290
- U && typeof U.querySelector == "function" && [["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"]].forEach((t) => {
291
- let [n, r] = t;
292
- const a = xa(va(n));
293
- a != null && (Re[r] = a);
294
- });
295
- const tr = {
296
- styleDefault: "solid",
297
- familyDefault: "classic",
298
- cssPrefix: Xn,
299
- replacementClass: Kn,
300
- autoReplaceSvg: !0,
301
- autoAddCss: !0,
302
- autoA11y: !0,
303
- searchPseudoElements: !1,
304
- observeMutations: !0,
305
- mutateApproach: "async",
306
- keepOriginalSource: !0,
307
- measurePerformance: !1,
308
- showMissingIcons: !0
309
- };
310
- Re.familyPrefix && (Re.cssPrefix = Re.familyPrefix);
311
- const Te = {
312
- ...tr,
313
- ...Re
314
- };
315
- Te.autoReplaceSvg || (Te.observeMutations = !1);
316
- const h = {};
317
- Object.keys(tr).forEach((e) => {
318
- Object.defineProperty(h, e, {
319
- enumerable: !0,
320
- set: function(t) {
321
- Te[e] = t, Le.forEach((n) => n(h));
322
- },
323
- get: function() {
324
- return Te[e];
325
- }
326
- });
327
- });
328
- Object.defineProperty(h, "familyPrefix", {
329
- enumerable: !0,
330
- set: function(e) {
331
- Te.cssPrefix = e, Le.forEach((t) => t(h));
332
- },
333
- get: function() {
334
- return Te.cssPrefix;
335
- }
336
- });
337
- de.FontAwesomeConfig = h;
338
- const Le = [];
339
- function Ea(e) {
340
- return Le.push(e), () => {
341
- Le.splice(Le.indexOf(e), 1);
342
- };
343
- }
344
- const fe = gt, ae = {
345
- size: 16,
346
- x: 0,
347
- y: 0,
348
- rotate: 0,
349
- flipX: !1,
350
- flipY: !1
351
- };
352
- function Aa(e) {
353
- if (!e || !le)
354
- return;
355
- const t = U.createElement("style");
356
- t.setAttribute("type", "text/css"), t.innerHTML = e;
357
- const n = U.head.childNodes;
358
- let r = null;
359
- for (let a = n.length - 1; a > -1; a--) {
360
- const o = n[a], s = (o.tagName || "").toUpperCase();
361
- ["STYLE", "LINK"].indexOf(s) > -1 && (r = o);
362
- }
363
- return U.head.insertBefore(t, r), e;
364
- }
365
- const Oa = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
366
- function ze() {
367
- let e = 12, t = "";
368
- for (; e-- > 0; )
369
- t += Oa[Math.random() * 62 | 0];
370
- return t;
371
- }
372
- function _e(e) {
373
- const t = [];
374
- for (let n = (e || []).length >>> 0; n--; )
375
- t[n] = e[n];
376
- return t;
377
- }
378
- function zt(e) {
379
- return e.classList ? _e(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
380
- }
381
- function nr(e) {
382
- return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
383
- }
384
- function wa(e) {
385
- return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(nr(e[n]), '" '), "").trim();
386
- }
387
- function Je(e) {
388
- return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, ": ").concat(e[n].trim(), ";"), "");
389
- }
390
- function jt(e) {
391
- return e.size !== ae.size || e.x !== ae.x || e.y !== ae.y || e.rotate !== ae.rotate || e.flipX || e.flipY;
392
- }
393
- function Pa(e) {
394
- let {
395
- transform: t,
396
- containerWidth: n,
397
- iconWidth: r
398
- } = e;
399
- const a = {
400
- transform: "translate(".concat(n / 2, " 256)")
401
- }, o = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), s = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), i = "rotate(".concat(t.rotate, " 0 0)"), c = {
402
- transform: "".concat(o, " ").concat(s, " ").concat(i)
403
- }, l = {
404
- transform: "translate(".concat(r / 2 * -1, " -256)")
405
- };
406
- return {
407
- outer: a,
408
- inner: c,
409
- path: l
410
- };
411
- }
412
- function Sa(e) {
413
- let {
414
- transform: t,
415
- width: n = gt,
416
- height: r = gt,
417
- startCentered: a = !1
418
- } = e, o = "";
419
- return a && Hn ? o += "translate(".concat(t.x / fe - n / 2, "em, ").concat(t.y / fe - r / 2, "em) ") : a ? o += "translate(calc(-50% + ".concat(t.x / fe, "em), calc(-50% + ").concat(t.y / fe, "em)) ") : o += "translate(".concat(t.x / fe, "em, ").concat(t.y / fe, "em) "), o += "scale(".concat(t.size / fe * (t.flipX ? -1 : 1), ", ").concat(t.size / fe * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
420
- }
421
- var Ta = `:root, :host {
422
- --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
423
- --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
424
- --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
425
- --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
426
- --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
427
- --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
428
- --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
429
- --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
430
- --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
431
- --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
432
- --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
433
- }
434
-
435
- svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
436
- overflow: visible;
437
- box-sizing: content-box;
438
- }
439
-
440
- .svg-inline--fa {
441
- display: var(--fa-display, inline-block);
442
- height: 1em;
443
- overflow: visible;
444
- vertical-align: -0.125em;
445
- }
446
- .svg-inline--fa.fa-2xs {
447
- vertical-align: 0.1em;
448
- }
449
- .svg-inline--fa.fa-xs {
450
- vertical-align: 0em;
451
- }
452
- .svg-inline--fa.fa-sm {
453
- vertical-align: -0.0714285705em;
454
- }
455
- .svg-inline--fa.fa-lg {
456
- vertical-align: -0.2em;
457
- }
458
- .svg-inline--fa.fa-xl {
459
- vertical-align: -0.25em;
460
- }
461
- .svg-inline--fa.fa-2xl {
462
- vertical-align: -0.3125em;
463
- }
464
- .svg-inline--fa.fa-pull-left {
465
- margin-right: var(--fa-pull-margin, 0.3em);
466
- width: auto;
467
- }
468
- .svg-inline--fa.fa-pull-right {
469
- margin-left: var(--fa-pull-margin, 0.3em);
470
- width: auto;
471
- }
472
- .svg-inline--fa.fa-li {
473
- width: var(--fa-li-width, 2em);
474
- top: 0.25em;
475
- }
476
- .svg-inline--fa.fa-fw {
477
- width: var(--fa-fw-width, 1.25em);
478
- }
479
-
480
- .fa-layers svg.svg-inline--fa {
481
- bottom: 0;
482
- left: 0;
483
- margin: auto;
484
- position: absolute;
485
- right: 0;
486
- top: 0;
487
- }
488
-
489
- .fa-layers-counter, .fa-layers-text {
490
- display: inline-block;
491
- position: absolute;
492
- text-align: center;
493
- }
494
-
495
- .fa-layers {
496
- display: inline-block;
497
- height: 1em;
498
- position: relative;
499
- text-align: center;
500
- vertical-align: -0.125em;
501
- width: 1em;
502
- }
503
- .fa-layers svg.svg-inline--fa {
504
- transform-origin: center center;
505
- }
506
-
507
- .fa-layers-text {
508
- left: 50%;
509
- top: 50%;
510
- transform: translate(-50%, -50%);
511
- transform-origin: center center;
512
- }
513
-
514
- .fa-layers-counter {
515
- background-color: var(--fa-counter-background-color, #ff253a);
516
- border-radius: var(--fa-counter-border-radius, 1em);
517
- box-sizing: border-box;
518
- color: var(--fa-inverse, #fff);
519
- line-height: var(--fa-counter-line-height, 1);
520
- max-width: var(--fa-counter-max-width, 5em);
521
- min-width: var(--fa-counter-min-width, 1.5em);
522
- overflow: hidden;
523
- padding: var(--fa-counter-padding, 0.25em 0.5em);
524
- right: var(--fa-right, 0);
525
- text-overflow: ellipsis;
526
- top: var(--fa-top, 0);
527
- transform: scale(var(--fa-counter-scale, 0.25));
528
- transform-origin: top right;
529
- }
530
-
531
- .fa-layers-bottom-right {
532
- bottom: var(--fa-bottom, 0);
533
- right: var(--fa-right, 0);
534
- top: auto;
535
- transform: scale(var(--fa-layers-scale, 0.25));
536
- transform-origin: bottom right;
537
- }
538
-
539
- .fa-layers-bottom-left {
540
- bottom: var(--fa-bottom, 0);
541
- left: var(--fa-left, 0);
542
- right: auto;
543
- top: auto;
544
- transform: scale(var(--fa-layers-scale, 0.25));
545
- transform-origin: bottom left;
546
- }
547
-
548
- .fa-layers-top-right {
549
- top: var(--fa-top, 0);
550
- right: var(--fa-right, 0);
551
- transform: scale(var(--fa-layers-scale, 0.25));
552
- transform-origin: top right;
553
- }
554
-
555
- .fa-layers-top-left {
556
- left: var(--fa-left, 0);
557
- right: auto;
558
- top: var(--fa-top, 0);
559
- transform: scale(var(--fa-layers-scale, 0.25));
560
- transform-origin: top left;
561
- }
562
-
563
- .fa-1x {
564
- font-size: 1em;
565
- }
566
-
567
- .fa-2x {
568
- font-size: 2em;
569
- }
570
-
571
- .fa-3x {
572
- font-size: 3em;
573
- }
574
-
575
- .fa-4x {
576
- font-size: 4em;
577
- }
578
-
579
- .fa-5x {
580
- font-size: 5em;
581
- }
582
-
583
- .fa-6x {
584
- font-size: 6em;
585
- }
586
-
587
- .fa-7x {
588
- font-size: 7em;
589
- }
590
-
591
- .fa-8x {
592
- font-size: 8em;
593
- }
594
-
595
- .fa-9x {
596
- font-size: 9em;
597
- }
598
-
599
- .fa-10x {
600
- font-size: 10em;
601
- }
602
-
603
- .fa-2xs {
604
- font-size: 0.625em;
605
- line-height: 0.1em;
606
- vertical-align: 0.225em;
607
- }
608
-
609
- .fa-xs {
610
- font-size: 0.75em;
611
- line-height: 0.0833333337em;
612
- vertical-align: 0.125em;
613
- }
614
-
615
- .fa-sm {
616
- font-size: 0.875em;
617
- line-height: 0.0714285718em;
618
- vertical-align: 0.0535714295em;
619
- }
620
-
621
- .fa-lg {
622
- font-size: 1.25em;
623
- line-height: 0.05em;
624
- vertical-align: -0.075em;
625
- }
626
-
627
- .fa-xl {
628
- font-size: 1.5em;
629
- line-height: 0.0416666682em;
630
- vertical-align: -0.125em;
631
- }
632
-
633
- .fa-2xl {
634
- font-size: 2em;
635
- line-height: 0.03125em;
636
- vertical-align: -0.1875em;
637
- }
638
-
639
- .fa-fw {
640
- text-align: center;
641
- width: 1.25em;
642
- }
643
-
644
- .fa-ul {
645
- list-style-type: none;
646
- margin-left: var(--fa-li-margin, 2.5em);
647
- padding-left: 0;
648
- }
649
- .fa-ul > li {
650
- position: relative;
651
- }
652
-
653
- .fa-li {
654
- left: calc(-1 * var(--fa-li-width, 2em));
655
- position: absolute;
656
- text-align: center;
657
- width: var(--fa-li-width, 2em);
658
- line-height: inherit;
659
- }
660
-
661
- .fa-border {
662
- border-color: var(--fa-border-color, #eee);
663
- border-radius: var(--fa-border-radius, 0.1em);
664
- border-style: var(--fa-border-style, solid);
665
- border-width: var(--fa-border-width, 0.08em);
666
- padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
667
- }
668
-
669
- .fa-pull-left {
670
- float: left;
671
- margin-right: var(--fa-pull-margin, 0.3em);
672
- }
673
-
674
- .fa-pull-right {
675
- float: right;
676
- margin-left: var(--fa-pull-margin, 0.3em);
677
- }
678
-
679
- .fa-beat {
680
- animation-name: fa-beat;
681
- animation-delay: var(--fa-animation-delay, 0s);
682
- animation-direction: var(--fa-animation-direction, normal);
683
- animation-duration: var(--fa-animation-duration, 1s);
684
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
685
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
686
- }
687
-
688
- .fa-bounce {
689
- animation-name: fa-bounce;
690
- animation-delay: var(--fa-animation-delay, 0s);
691
- animation-direction: var(--fa-animation-direction, normal);
692
- animation-duration: var(--fa-animation-duration, 1s);
693
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
694
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
695
- }
696
-
697
- .fa-fade {
698
- animation-name: fa-fade;
699
- animation-delay: var(--fa-animation-delay, 0s);
700
- animation-direction: var(--fa-animation-direction, normal);
701
- animation-duration: var(--fa-animation-duration, 1s);
702
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
703
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
704
- }
705
-
706
- .fa-beat-fade {
707
- animation-name: fa-beat-fade;
708
- animation-delay: var(--fa-animation-delay, 0s);
709
- animation-direction: var(--fa-animation-direction, normal);
710
- animation-duration: var(--fa-animation-duration, 1s);
711
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
712
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
713
- }
714
-
715
- .fa-flip {
716
- animation-name: fa-flip;
717
- animation-delay: var(--fa-animation-delay, 0s);
718
- animation-direction: var(--fa-animation-direction, normal);
719
- animation-duration: var(--fa-animation-duration, 1s);
720
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
721
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
722
- }
723
-
724
- .fa-shake {
725
- animation-name: fa-shake;
726
- animation-delay: var(--fa-animation-delay, 0s);
727
- animation-direction: var(--fa-animation-direction, normal);
728
- animation-duration: var(--fa-animation-duration, 1s);
729
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
730
- animation-timing-function: var(--fa-animation-timing, linear);
731
- }
732
-
733
- .fa-spin {
734
- animation-name: fa-spin;
735
- animation-delay: var(--fa-animation-delay, 0s);
736
- animation-direction: var(--fa-animation-direction, normal);
737
- animation-duration: var(--fa-animation-duration, 2s);
738
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
739
- animation-timing-function: var(--fa-animation-timing, linear);
740
- }
741
-
742
- .fa-spin-reverse {
743
- --fa-animation-direction: reverse;
744
- }
745
-
746
- .fa-pulse,
747
- .fa-spin-pulse {
748
- animation-name: fa-spin;
749
- animation-direction: var(--fa-animation-direction, normal);
750
- animation-duration: var(--fa-animation-duration, 1s);
751
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
752
- animation-timing-function: var(--fa-animation-timing, steps(8));
753
- }
754
-
755
- @media (prefers-reduced-motion: reduce) {
756
- .fa-beat,
757
- .fa-bounce,
758
- .fa-fade,
759
- .fa-beat-fade,
760
- .fa-flip,
761
- .fa-pulse,
762
- .fa-shake,
763
- .fa-spin,
764
- .fa-spin-pulse {
765
- animation-delay: -1ms;
766
- animation-duration: 1ms;
767
- animation-iteration-count: 1;
768
- transition-delay: 0s;
769
- transition-duration: 0s;
770
- }
771
- }
772
- @keyframes fa-beat {
773
- 0%, 90% {
774
- transform: scale(1);
775
- }
776
- 45% {
777
- transform: scale(var(--fa-beat-scale, 1.25));
778
- }
779
- }
780
- @keyframes fa-bounce {
781
- 0% {
782
- transform: scale(1, 1) translateY(0);
783
- }
784
- 10% {
785
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
786
- }
787
- 30% {
788
- transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
789
- }
790
- 50% {
791
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
792
- }
793
- 57% {
794
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
795
- }
796
- 64% {
797
- transform: scale(1, 1) translateY(0);
798
- }
799
- 100% {
800
- transform: scale(1, 1) translateY(0);
801
- }
802
- }
803
- @keyframes fa-fade {
804
- 50% {
805
- opacity: var(--fa-fade-opacity, 0.4);
806
- }
807
- }
808
- @keyframes fa-beat-fade {
809
- 0%, 100% {
810
- opacity: var(--fa-beat-fade-opacity, 0.4);
811
- transform: scale(1);
812
- }
813
- 50% {
814
- opacity: 1;
815
- transform: scale(var(--fa-beat-fade-scale, 1.125));
816
- }
817
- }
818
- @keyframes fa-flip {
819
- 50% {
820
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
821
- }
822
- }
823
- @keyframes fa-shake {
824
- 0% {
825
- transform: rotate(-15deg);
826
- }
827
- 4% {
828
- transform: rotate(15deg);
829
- }
830
- 8%, 24% {
831
- transform: rotate(-18deg);
832
- }
833
- 12%, 28% {
834
- transform: rotate(18deg);
835
- }
836
- 16% {
837
- transform: rotate(-22deg);
838
- }
839
- 20% {
840
- transform: rotate(22deg);
841
- }
842
- 32% {
843
- transform: rotate(-12deg);
844
- }
845
- 36% {
846
- transform: rotate(12deg);
847
- }
848
- 40%, 100% {
849
- transform: rotate(0deg);
850
- }
851
- }
852
- @keyframes fa-spin {
853
- 0% {
854
- transform: rotate(0deg);
855
- }
856
- 100% {
857
- transform: rotate(360deg);
858
- }
859
- }
860
- .fa-rotate-90 {
861
- transform: rotate(90deg);
862
- }
863
-
864
- .fa-rotate-180 {
865
- transform: rotate(180deg);
866
- }
867
-
868
- .fa-rotate-270 {
869
- transform: rotate(270deg);
870
- }
871
-
872
- .fa-flip-horizontal {
873
- transform: scale(-1, 1);
874
- }
875
-
876
- .fa-flip-vertical {
877
- transform: scale(1, -1);
878
- }
879
-
880
- .fa-flip-both,
881
- .fa-flip-horizontal.fa-flip-vertical {
882
- transform: scale(-1, -1);
883
- }
884
-
885
- .fa-rotate-by {
886
- transform: rotate(var(--fa-rotate-angle, 0));
887
- }
888
-
889
- .fa-stack {
890
- display: inline-block;
891
- vertical-align: middle;
892
- height: 2em;
893
- position: relative;
894
- width: 2.5em;
895
- }
896
-
897
- .fa-stack-1x,
898
- .fa-stack-2x {
899
- bottom: 0;
900
- left: 0;
901
- margin: auto;
902
- position: absolute;
903
- right: 0;
904
- top: 0;
905
- z-index: var(--fa-stack-z-index, auto);
906
- }
907
-
908
- .svg-inline--fa.fa-stack-1x {
909
- height: 1em;
910
- width: 1.25em;
911
- }
912
- .svg-inline--fa.fa-stack-2x {
913
- height: 2em;
914
- width: 2.5em;
915
- }
916
-
917
- .fa-inverse {
918
- color: var(--fa-inverse, #fff);
919
- }
920
-
921
- .sr-only,
922
- .fa-sr-only {
923
- position: absolute;
924
- width: 1px;
925
- height: 1px;
926
- padding: 0;
927
- margin: -1px;
928
- overflow: hidden;
929
- clip: rect(0, 0, 0, 0);
930
- white-space: nowrap;
931
- border-width: 0;
932
- }
933
-
934
- .sr-only-focusable:not(:focus),
935
- .fa-sr-only-focusable:not(:focus) {
936
- position: absolute;
937
- width: 1px;
938
- height: 1px;
939
- padding: 0;
940
- margin: -1px;
941
- overflow: hidden;
942
- clip: rect(0, 0, 0, 0);
943
- white-space: nowrap;
944
- border-width: 0;
945
- }
946
-
947
- .svg-inline--fa .fa-primary {
948
- fill: var(--fa-primary-color, currentColor);
949
- opacity: var(--fa-primary-opacity, 1);
950
- }
951
-
952
- .svg-inline--fa .fa-secondary {
953
- fill: var(--fa-secondary-color, currentColor);
954
- opacity: var(--fa-secondary-opacity, 0.4);
955
- }
956
-
957
- .svg-inline--fa.fa-swap-opacity .fa-primary {
958
- opacity: var(--fa-secondary-opacity, 0.4);
959
- }
960
-
961
- .svg-inline--fa.fa-swap-opacity .fa-secondary {
962
- opacity: var(--fa-primary-opacity, 1);
963
- }
964
-
965
- .svg-inline--fa mask .fa-primary,
966
- .svg-inline--fa mask .fa-secondary {
967
- fill: black;
968
- }
969
-
970
- .fad.fa-inverse,
971
- .fa-duotone.fa-inverse {
972
- color: var(--fa-inverse, #fff);
973
- }`;
974
- function rr() {
975
- const e = Xn, t = Kn, n = h.cssPrefix, r = h.replacementClass;
976
- let a = Ta;
977
- if (n !== e || r !== t) {
978
- const o = new RegExp("\\.".concat(e, "\\-"), "g"), s = new RegExp("\\--".concat(e, "\\-"), "g"), i = new RegExp("\\.".concat(t), "g");
979
- a = a.replace(o, ".".concat(n, "-")).replace(s, "--".concat(n, "-")).replace(i, ".".concat(r));
980
- }
981
- return a;
982
- }
983
- let cn = !1;
984
- function at() {
985
- h.autoAddCss && !cn && (Aa(rr()), cn = !0);
986
- }
987
- var _a = {
988
- mixout() {
989
- return {
990
- dom: {
991
- css: rr,
992
- insertCss: at
993
- }
994
- };
995
- },
996
- hooks() {
997
- return {
998
- beforeDOMElementCreation() {
999
- at();
1000
- },
1001
- beforeI2svg() {
1002
- at();
1003
- }
1004
- };
1005
- }
1006
- };
1007
- const ce = de || {};
1008
- ce[se] || (ce[se] = {});
1009
- ce[se].styles || (ce[se].styles = {});
1010
- ce[se].hooks || (ce[se].hooks = {});
1011
- ce[se].shims || (ce[se].shims = []);
1012
- var oe = ce[se];
1013
- const ar = [], or = function() {
1014
- U.removeEventListener("DOMContentLoaded", or), Ve = 1, ar.map((e) => e());
1015
- };
1016
- let Ve = !1;
1017
- le && (Ve = (U.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(U.readyState), Ve || U.addEventListener("DOMContentLoaded", or));
1018
- function Ca(e) {
1019
- le && (Ve ? setTimeout(e, 0) : ar.push(e));
1020
- }
1021
- function De(e) {
1022
- const {
1023
- tag: t,
1024
- attributes: n = {},
1025
- children: r = []
1026
- } = e;
1027
- return typeof e == "string" ? nr(e) : "<".concat(t, " ").concat(wa(n), ">").concat(r.map(De).join(""), "</").concat(t, ">");
1028
- }
1029
- function ln(e, t, n) {
1030
- if (e && e[t] && e[t][n])
1031
- return {
1032
- prefix: t,
1033
- iconName: n,
1034
- icon: e[t][n]
1035
- };
1036
- }
1037
- var ot = function(t, n, r, a) {
1038
- var o = Object.keys(t), s = o.length, i = n, c, l, f;
1039
- for (r === void 0 ? (c = 1, f = t[o[0]]) : (c = 0, f = r); c < s; c++)
1040
- l = o[c], f = i(f, t[l], l, t);
1041
- return f;
1042
- };
1043
- function ka(e) {
1044
- const t = [];
1045
- let n = 0;
1046
- const r = e.length;
1047
- for (; n < r; ) {
1048
- const a = e.charCodeAt(n++);
1049
- if (a >= 55296 && a <= 56319 && n < r) {
1050
- const o = e.charCodeAt(n++);
1051
- (o & 64512) == 56320 ? t.push(((a & 1023) << 10) + (o & 1023) + 65536) : (t.push(a), n--);
1052
- } else
1053
- t.push(a);
1054
- }
1055
- return t;
1056
- }
1057
- function xt(e) {
1058
- const t = ka(e);
1059
- return t.length === 1 ? t[0].toString(16) : null;
1060
- }
1061
- function Ia(e, t) {
1062
- const n = e.length;
1063
- let r = e.charCodeAt(t), a;
1064
- return r >= 55296 && r <= 56319 && n > t + 1 && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (r - 55296) * 1024 + a - 56320 + 65536 : r;
1065
- }
1066
- function fn(e) {
1067
- return Object.keys(e).reduce((t, n) => {
1068
- const r = e[n];
1069
- return !!r.icon ? t[r.iconName] = r.icon : t[n] = r, t;
1070
- }, {});
1071
- }
1072
- function Et(e, t) {
1073
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1074
- const {
1075
- skipHooks: r = !1
1076
- } = n, a = fn(t);
1077
- typeof oe.hooks.addPack == "function" && !r ? oe.hooks.addPack(e, fn(t)) : oe.styles[e] = {
1078
- ...oe.styles[e] || {},
1079
- ...a
1080
- }, e === "fas" && Et("fa", t);
1081
- }
1082
- const {
1083
- styles: ye,
1084
- shims: Na
1085
- } = oe, Ma = {
1086
- [W]: Object.values(ve[W]),
1087
- [V]: Object.values(ve[V]),
1088
- [X]: Object.values(ve[X])
1089
- };
1090
- let Dt = null, ir = {}, sr = {}, cr = {}, lr = {}, fr = {};
1091
- const Ra = {
1092
- [W]: Object.keys(be[W]),
1093
- [V]: Object.keys(be[V]),
1094
- [X]: Object.keys(be[X])
1095
- };
1096
- function La(e) {
1097
- return ~ba.indexOf(e);
1098
- }
1099
- function Fa(e, t) {
1100
- const n = t.split("-"), r = n[0], a = n.slice(1).join("-");
1101
- return r === e && a !== "" && !La(a) ? a : null;
1102
- }
1103
- const ur = () => {
1104
- const e = (r) => ot(ye, (a, o, s) => (a[s] = ot(o, r, {}), a), {});
1105
- ir = e((r, a, o) => (a[3] && (r[a[3]] = o), a[2] && a[2].filter((i) => typeof i == "number").forEach((i) => {
1106
- r[i.toString(16)] = o;
1107
- }), r)), sr = e((r, a, o) => (r[o] = o, a[2] && a[2].filter((i) => typeof i == "string").forEach((i) => {
1108
- r[i] = o;
1109
- }), r)), fr = e((r, a, o) => {
1110
- const s = a[2];
1111
- return r[o] = o, s.forEach((i) => {
1112
- r[i] = o;
1113
- }), r;
1114
- });
1115
- const t = "far" in ye || h.autoFetchSvg, n = ot(Na, (r, a) => {
1116
- const o = a[0];
1117
- let s = a[1];
1118
- const i = a[2];
1119
- return s === "far" && !t && (s = "fas"), typeof o == "string" && (r.names[o] = {
1120
- prefix: s,
1121
- iconName: i
1122
- }), typeof o == "number" && (r.unicodes[o.toString(16)] = {
1123
- prefix: s,
1124
- iconName: i
1125
- }), r;
1126
- }, {
1127
- names: {},
1128
- unicodes: {}
1129
- });
1130
- cr = n.names, lr = n.unicodes, Dt = Qe(h.styleDefault, {
1131
- family: h.familyDefault
1132
- });
1133
- };
1134
- Ea((e) => {
1135
- Dt = Qe(e.styleDefault, {
1136
- family: h.familyDefault
1137
- });
1138
- });
1139
- ur();
1140
- function Yt(e, t) {
1141
- return (ir[e] || {})[t];
1142
- }
1143
- function za(e, t) {
1144
- return (sr[e] || {})[t];
1145
- }
1146
- function ue(e, t) {
1147
- return (fr[e] || {})[t];
1148
- }
1149
- function dr(e) {
1150
- return cr[e] || {
1151
- prefix: null,
1152
- iconName: null
1153
- };
1154
- }
1155
- function ja(e) {
1156
- const t = lr[e], n = Yt("fas", e);
1157
- return t || (n ? {
1158
- prefix: "fas",
1159
- iconName: n
1160
- } : null) || {
1161
- prefix: null,
1162
- iconName: null
1163
- };
1164
- }
1165
- function me() {
1166
- return Dt;
1167
- }
1168
- const $t = () => ({
1169
- prefix: null,
1170
- iconName: null,
1171
- rest: []
1172
- });
1173
- function Qe(e) {
1174
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1175
- const {
1176
- family: n = W
1177
- } = t, r = be[n][e], a = Fe[n][e] || Fe[n][r], o = e in oe.styles ? e : null;
1178
- return a || o || null;
1179
- }
1180
- const Da = {
1181
- [W]: Object.keys(ve[W]),
1182
- [V]: Object.keys(ve[V]),
1183
- [X]: Object.keys(ve[X])
1184
- };
1185
- function Ze(e) {
1186
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1187
- const {
1188
- skipLookups: n = !1
1189
- } = t, r = {
1190
- [W]: "".concat(h.cssPrefix, "-").concat(W),
1191
- [V]: "".concat(h.cssPrefix, "-").concat(V),
1192
- [X]: "".concat(h.cssPrefix, "-").concat(X)
1193
- };
1194
- let a = null, o = W;
1195
- const s = Gr.filter((c) => c !== qn);
1196
- s.forEach((c) => {
1197
- (e.includes(r[c]) || e.some((l) => Da[c].includes(l))) && (o = c);
1198
- });
1199
- const i = e.reduce((c, l) => {
1200
- const f = Fa(h.cssPrefix, l);
1201
- if (ye[l] ? (l = Ma[o].includes(l) ? ma[o][l] : l, a = l, c.prefix = l) : Ra[o].indexOf(l) > -1 ? (a = l, c.prefix = Qe(l, {
1202
- family: o
1203
- })) : f ? c.iconName = f : l !== h.replacementClass && !s.some((p) => l === r[p]) && c.rest.push(l), !n && c.prefix && c.iconName) {
1204
- const p = a === "fa" ? dr(c.iconName) : {}, y = ue(c.prefix, c.iconName);
1205
- p.prefix && (a = null), c.iconName = p.iconName || y || c.iconName, c.prefix = p.prefix || c.prefix, c.prefix === "far" && !ye.far && ye.fas && !h.autoFetchSvg && (c.prefix = "fas");
1206
- }
1207
- return c;
1208
- }, $t());
1209
- return (e.includes("fa-brands") || e.includes("fab")) && (i.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (i.prefix = "fad"), !i.prefix && o === V && (ye.fass || h.autoFetchSvg) && (i.prefix = "fass", i.iconName = ue(i.prefix, i.iconName) || i.iconName), !i.prefix && o === X && (ye.fasds || h.autoFetchSvg) && (i.prefix = "fasds", i.iconName = ue(i.prefix, i.iconName) || i.iconName), (i.prefix === "fa" || a === "fa") && (i.prefix = me() || "fas"), i;
1210
- }
1211
- class Ya {
1212
- constructor() {
1213
- this.definitions = {};
1214
- }
1215
- add() {
1216
- for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
1217
- n[r] = arguments[r];
1218
- const a = n.reduce(this._pullDefinitions, {});
1219
- Object.keys(a).forEach((o) => {
1220
- this.definitions[o] = {
1221
- ...this.definitions[o] || {},
1222
- ...a[o]
1223
- }, Et(o, a[o]);
1224
- const s = ve[W][o];
1225
- s && Et(s, a[o]), ur();
1226
- });
1227
- }
1228
- reset() {
1229
- this.definitions = {};
1230
- }
1231
- _pullDefinitions(t, n) {
1232
- const r = n.prefix && n.iconName && n.icon ? {
1233
- 0: n
1234
- } : n;
1235
- return Object.keys(r).map((a) => {
1236
- const {
1237
- prefix: o,
1238
- iconName: s,
1239
- icon: i
1240
- } = r[a], c = i[2];
1241
- t[o] || (t[o] = {}), c.length > 0 && c.forEach((l) => {
1242
- typeof l == "string" && (t[o][l] = i);
1243
- }), t[o][s] = i;
1244
- }), t;
1245
- }
1246
- }
1247
- let un = [], Oe = {};
1248
- const Pe = {}, $a = Object.keys(Pe);
1249
- function Ua(e, t) {
1250
- let {
1251
- mixoutsTo: n
1252
- } = t;
1253
- return un = e, Oe = {}, Object.keys(Pe).forEach((r) => {
1254
- $a.indexOf(r) === -1 && delete Pe[r];
1255
- }), un.forEach((r) => {
1256
- const a = r.mixout ? r.mixout() : {};
1257
- if (Object.keys(a).forEach((o) => {
1258
- typeof a[o] == "function" && (n[o] = a[o]), typeof a[o] == "object" && Object.keys(a[o]).forEach((s) => {
1259
- n[o] || (n[o] = {}), n[o][s] = a[o][s];
1260
- });
1261
- }), r.hooks) {
1262
- const o = r.hooks();
1263
- Object.keys(o).forEach((s) => {
1264
- Oe[s] || (Oe[s] = []), Oe[s].push(o[s]);
1265
- });
1266
- }
1267
- r.provides && r.provides(Pe);
1268
- }), n;
1269
- }
1270
- function At(e, t) {
1271
- for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), a = 2; a < n; a++)
1272
- r[a - 2] = arguments[a];
1273
- return (Oe[e] || []).forEach((s) => {
1274
- t = s.apply(null, [t, ...r]);
1275
- }), t;
1276
- }
1277
- function Ee(e) {
1278
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
1279
- n[r - 1] = arguments[r];
1280
- (Oe[e] || []).forEach((o) => {
1281
- o.apply(null, n);
1282
- });
1283
- }
1284
- function pe() {
1285
- const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
1286
- return Pe[e] ? Pe[e].apply(null, t) : void 0;
1287
- }
1288
- function Ot(e) {
1289
- e.prefix === "fa" && (e.prefix = "fas");
1290
- let {
1291
- iconName: t
1292
- } = e;
1293
- const n = e.prefix || me();
1294
- if (t)
1295
- return t = ue(n, t) || t, ln(mr.definitions, n, t) || ln(oe.styles, n, t);
1296
- }
1297
- const mr = new Ya(), Wa = () => {
1298
- h.autoReplaceSvg = !1, h.observeMutations = !1, Ee("noAuto");
1299
- }, Ba = {
1300
- i2svg: function() {
1301
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1302
- return le ? (Ee("beforeI2svg", e), pe("pseudoElements2svg", e), pe("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
1303
- },
1304
- watch: function() {
1305
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1306
- const {
1307
- autoReplaceSvgRoot: t
1308
- } = e;
1309
- h.autoReplaceSvg === !1 && (h.autoReplaceSvg = !0), h.observeMutations = !0, Ca(() => {
1310
- qa({
1311
- autoReplaceSvgRoot: t
1312
- }), Ee("watch", e);
1313
- });
1314
- }
1315
- }, Ha = {
1316
- icon: (e) => {
1317
- if (e === null)
1318
- return null;
1319
- if (typeof e == "object" && e.prefix && e.iconName)
1320
- return {
1321
- prefix: e.prefix,
1322
- iconName: ue(e.prefix, e.iconName) || e.iconName
1323
- };
1324
- if (Array.isArray(e) && e.length === 2) {
1325
- const t = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], n = Qe(e[0]);
1326
- return {
1327
- prefix: n,
1328
- iconName: ue(n, t) || t
1329
- };
1330
- }
1331
- if (typeof e == "string" && (e.indexOf("".concat(h.cssPrefix, "-")) > -1 || e.match(pa))) {
1332
- const t = Ze(e.split(" "), {
1333
- skipLookups: !0
1334
- });
1335
- return {
1336
- prefix: t.prefix || me(),
1337
- iconName: ue(t.prefix, t.iconName) || t.iconName
1338
- };
1339
- }
1340
- if (typeof e == "string") {
1341
- const t = me();
1342
- return {
1343
- prefix: t,
1344
- iconName: ue(t, e) || e
1345
- };
1346
- }
1347
- }
1348
- }, K = {
1349
- noAuto: Wa,
1350
- config: h,
1351
- dom: Ba,
1352
- parse: Ha,
1353
- library: mr,
1354
- findIconDefinition: Ot,
1355
- toHtml: De
1356
- }, qa = function() {
1357
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1358
- const {
1359
- autoReplaceSvgRoot: t = U
1360
- } = e;
1361
- (Object.keys(oe.styles).length > 0 || h.autoFetchSvg) && le && h.autoReplaceSvg && K.dom.i2svg({
1362
- node: t
1363
- });
1364
- };
1365
- function et(e, t) {
1366
- return Object.defineProperty(e, "abstract", {
1367
- get: t
1368
- }), Object.defineProperty(e, "html", {
1369
- get: function() {
1370
- return e.abstract.map((n) => De(n));
1371
- }
1372
- }), Object.defineProperty(e, "node", {
1373
- get: function() {
1374
- if (!le) return;
1375
- const n = U.createElement("div");
1376
- return n.innerHTML = e.html, n.children;
1377
- }
1378
- }), e;
1379
- }
1380
- function Ga(e) {
1381
- let {
1382
- children: t,
1383
- main: n,
1384
- mask: r,
1385
- attributes: a,
1386
- styles: o,
1387
- transform: s
1388
- } = e;
1389
- if (jt(s) && n.found && !r.found) {
1390
- const {
1391
- width: i,
1392
- height: c
1393
- } = n, l = {
1394
- x: i / c / 2,
1395
- y: 0.5
1396
- };
1397
- a.style = Je({
1398
- ...o,
1399
- "transform-origin": "".concat(l.x + s.x / 16, "em ").concat(l.y + s.y / 16, "em")
1400
- });
1401
- }
1402
- return [{
1403
- tag: "svg",
1404
- attributes: a,
1405
- children: t
1406
- }];
1407
- }
1408
- function Va(e) {
1409
- let {
1410
- prefix: t,
1411
- iconName: n,
1412
- children: r,
1413
- attributes: a,
1414
- symbol: o
1415
- } = e;
1416
- const s = o === !0 ? "".concat(t, "-").concat(h.cssPrefix, "-").concat(n) : o;
1417
- return [{
1418
- tag: "svg",
1419
- attributes: {
1420
- style: "display: none;"
1421
- },
1422
- children: [{
1423
- tag: "symbol",
1424
- attributes: {
1425
- ...a,
1426
- id: s
1427
- },
1428
- children: r
1429
- }]
1430
- }];
1431
- }
1432
- function Ut(e) {
1433
- const {
1434
- icons: {
1435
- main: t,
1436
- mask: n
1437
- },
1438
- prefix: r,
1439
- iconName: a,
1440
- transform: o,
1441
- symbol: s,
1442
- title: i,
1443
- maskId: c,
1444
- titleId: l,
1445
- extra: f,
1446
- watchable: p = !1
1447
- } = e, {
1448
- width: y,
1449
- height: b
1450
- } = n.found ? n : t, L = r === "fak", A = [h.replacementClass, a ? "".concat(h.cssPrefix, "-").concat(a) : ""].filter((d) => f.classes.indexOf(d) === -1).filter((d) => d !== "" || !!d).concat(f.classes).join(" ");
1451
- let v = {
1452
- children: [],
1453
- attributes: {
1454
- ...f.attributes,
1455
- "data-prefix": r,
1456
- "data-icon": a,
1457
- class: A,
1458
- role: f.attributes.role || "img",
1459
- xmlns: "http://www.w3.org/2000/svg",
1460
- viewBox: "0 0 ".concat(y, " ").concat(b)
1461
- }
1462
- };
1463
- const k = L && !~f.classes.indexOf("fa-fw") ? {
1464
- width: "".concat(y / b * 16 * 0.0625, "em")
1465
- } : {};
1466
- p && (v.attributes[xe] = ""), i && (v.children.push({
1467
- tag: "title",
1468
- attributes: {
1469
- id: v.attributes["aria-labelledby"] || "title-".concat(l || ze())
1470
- },
1471
- children: [i]
1472
- }), delete v.attributes.title);
1473
- const $ = {
1474
- ...v,
1475
- prefix: r,
1476
- iconName: a,
1477
- main: t,
1478
- mask: n,
1479
- maskId: c,
1480
- transform: o,
1481
- symbol: s,
1482
- styles: {
1483
- ...k,
1484
- ...f.styles
1485
- }
1486
- }, {
1487
- children: _,
1488
- attributes: F
1489
- } = n.found && t.found ? pe("generateAbstractMask", $) || {
1490
- children: [],
1491
- attributes: {}
1492
- } : pe("generateAbstractIcon", $) || {
1493
- children: [],
1494
- attributes: {}
1495
- };
1496
- return $.children = _, $.attributes = F, s ? Va($) : Ga($);
1497
- }
1498
- function dn(e) {
1499
- const {
1500
- content: t,
1501
- width: n,
1502
- height: r,
1503
- transform: a,
1504
- title: o,
1505
- extra: s,
1506
- watchable: i = !1
1507
- } = e, c = {
1508
- ...s.attributes,
1509
- ...o ? {
1510
- title: o
1511
- } : {},
1512
- class: s.classes.join(" ")
1513
- };
1514
- i && (c[xe] = "");
1515
- const l = {
1516
- ...s.styles
1517
- };
1518
- jt(a) && (l.transform = Sa({
1519
- transform: a,
1520
- startCentered: !0,
1521
- width: n,
1522
- height: r
1523
- }), l["-webkit-transform"] = l.transform);
1524
- const f = Je(l);
1525
- f.length > 0 && (c.style = f);
1526
- const p = [];
1527
- return p.push({
1528
- tag: "span",
1529
- attributes: c,
1530
- children: [t]
1531
- }), o && p.push({
1532
- tag: "span",
1533
- attributes: {
1534
- class: "sr-only"
1535
- },
1536
- children: [o]
1537
- }), p;
1538
- }
1539
- function Xa(e) {
1540
- const {
1541
- content: t,
1542
- title: n,
1543
- extra: r
1544
- } = e, a = {
1545
- ...r.attributes,
1546
- ...n ? {
1547
- title: n
1548
- } : {},
1549
- class: r.classes.join(" ")
1550
- }, o = Je(r.styles);
1551
- o.length > 0 && (a.style = o);
1552
- const s = [];
1553
- return s.push({
1554
- tag: "span",
1555
- attributes: a,
1556
- children: [t]
1557
- }), n && s.push({
1558
- tag: "span",
1559
- attributes: {
1560
- class: "sr-only"
1561
- },
1562
- children: [n]
1563
- }), s;
1564
- }
1565
- const {
1566
- styles: it
1567
- } = oe;
1568
- function wt(e) {
1569
- const t = e[0], n = e[1], [r] = e.slice(4);
1570
- let a = null;
1571
- return Array.isArray(r) ? a = {
1572
- tag: "g",
1573
- attributes: {
1574
- class: "".concat(h.cssPrefix, "-").concat(rt.GROUP)
1575
- },
1576
- children: [{
1577
- tag: "path",
1578
- attributes: {
1579
- class: "".concat(h.cssPrefix, "-").concat(rt.SECONDARY),
1580
- fill: "currentColor",
1581
- d: r[0]
1582
- }
1583
- }, {
1584
- tag: "path",
1585
- attributes: {
1586
- class: "".concat(h.cssPrefix, "-").concat(rt.PRIMARY),
1587
- fill: "currentColor",
1588
- d: r[1]
1589
- }
1590
- }]
1591
- } : a = {
1592
- tag: "path",
1593
- attributes: {
1594
- fill: "currentColor",
1595
- d: r
1596
- }
1597
- }, {
1598
- found: !0,
1599
- width: t,
1600
- height: n,
1601
- icon: a
1602
- };
1603
- }
1604
- const Ka = {
1605
- found: !1,
1606
- width: 512,
1607
- height: 512
1608
- };
1609
- function Ja(e, t) {
1610
- !Jn && !h.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
1611
- }
1612
- function Pt(e, t) {
1613
- let n = t;
1614
- return t === "fa" && h.styleDefault !== null && (t = me()), new Promise((r, a) => {
1615
- if (n === "fa") {
1616
- const o = dr(e) || {};
1617
- e = o.iconName || e, t = o.prefix || t;
1618
- }
1619
- if (e && t && it[t] && it[t][e]) {
1620
- const o = it[t][e];
1621
- return r(wt(o));
1622
- }
1623
- Ja(e, t), r({
1624
- ...Ka,
1625
- icon: h.showMissingIcons && e ? pe("missingIconAbstract") || {} : {}
1626
- });
1627
- });
1628
- }
1629
- const mn = () => {
1630
- }, St = h.measurePerformance && We && We.mark && We.measure ? We : {
1631
- mark: mn,
1632
- measure: mn
1633
- }, Me = 'FA "6.6.0"', Qa = (e) => (St.mark("".concat(Me, " ").concat(e, " begins")), () => pr(e)), pr = (e) => {
1634
- St.mark("".concat(Me, " ").concat(e, " ends")), St.measure("".concat(Me, " ").concat(e), "".concat(Me, " ").concat(e, " begins"), "".concat(Me, " ").concat(e, " ends"));
1635
- };
1636
- var Wt = {
1637
- begin: Qa,
1638
- end: pr
1639
- };
1640
- const qe = () => {
1641
- };
1642
- function pn(e) {
1643
- return typeof (e.getAttribute ? e.getAttribute(xe) : null) == "string";
1644
- }
1645
- function Za(e) {
1646
- const t = e.getAttribute ? e.getAttribute(Lt) : null, n = e.getAttribute ? e.getAttribute(Ft) : null;
1647
- return t && n;
1648
- }
1649
- function eo(e) {
1650
- return e && e.classList && e.classList.contains && e.classList.contains(h.replacementClass);
1651
- }
1652
- function to() {
1653
- return h.autoReplaceSvg === !0 ? Ge.replace : Ge[h.autoReplaceSvg] || Ge.replace;
1654
- }
1655
- function no(e) {
1656
- return U.createElementNS("http://www.w3.org/2000/svg", e);
1657
- }
1658
- function ro(e) {
1659
- return U.createElement(e);
1660
- }
1661
- function gr(e) {
1662
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1663
- const {
1664
- ceFn: n = e.tag === "svg" ? no : ro
1665
- } = t;
1666
- if (typeof e == "string")
1667
- return U.createTextNode(e);
1668
- const r = n(e.tag);
1669
- return Object.keys(e.attributes || []).forEach(function(o) {
1670
- r.setAttribute(o, e.attributes[o]);
1671
- }), (e.children || []).forEach(function(o) {
1672
- r.appendChild(gr(o, {
1673
- ceFn: n
1674
- }));
1675
- }), r;
1676
- }
1677
- function ao(e) {
1678
- let t = " ".concat(e.outerHTML, " ");
1679
- return t = "".concat(t, "Font Awesome fontawesome.com "), t;
1680
- }
1681
- const Ge = {
1682
- replace: function(e) {
1683
- const t = e[0];
1684
- if (t.parentNode)
1685
- if (e[1].forEach((n) => {
1686
- t.parentNode.insertBefore(gr(n), t);
1687
- }), t.getAttribute(xe) === null && h.keepOriginalSource) {
1688
- let n = U.createComment(ao(t));
1689
- t.parentNode.replaceChild(n, t);
1690
- } else
1691
- t.remove();
1692
- },
1693
- nest: function(e) {
1694
- const t = e[0], n = e[1];
1695
- if (~zt(t).indexOf(h.replacementClass))
1696
- return Ge.replace(e);
1697
- const r = new RegExp("".concat(h.cssPrefix, "-.*"));
1698
- if (delete n[0].attributes.id, n[0].attributes.class) {
1699
- const o = n[0].attributes.class.split(" ").reduce((s, i) => (i === h.replacementClass || i.match(r) ? s.toSvg.push(i) : s.toNode.push(i), s), {
1700
- toNode: [],
1701
- toSvg: []
1702
- });
1703
- n[0].attributes.class = o.toSvg.join(" "), o.toNode.length === 0 ? t.removeAttribute("class") : t.setAttribute("class", o.toNode.join(" "));
1704
- }
1705
- const a = n.map((o) => De(o)).join(`
1706
- `);
1707
- t.setAttribute(xe, ""), t.innerHTML = a;
1708
- }
1709
- };
1710
- function gn(e) {
1711
- e();
1712
- }
1713
- function hr(e, t) {
1714
- const n = typeof t == "function" ? t : qe;
1715
- if (e.length === 0)
1716
- n();
1717
- else {
1718
- let r = gn;
1719
- h.mutateApproach === ua && (r = de.requestAnimationFrame || gn), r(() => {
1720
- const a = to(), o = Wt.begin("mutate");
1721
- e.map(a), o(), n();
1722
- });
1723
- }
1724
- }
1725
- let Bt = !1;
1726
- function yr() {
1727
- Bt = !0;
1728
- }
1729
- function Tt() {
1730
- Bt = !1;
1731
- }
1732
- let Xe = null;
1733
- function hn(e) {
1734
- if (!rn || !h.observeMutations)
1735
- return;
1736
- const {
1737
- treeCallback: t = qe,
1738
- nodeCallback: n = qe,
1739
- pseudoElementsCallback: r = qe,
1740
- observeMutationsRoot: a = U
1741
- } = e;
1742
- Xe = new rn((o) => {
1743
- if (Bt) return;
1744
- const s = me();
1745
- _e(o).forEach((i) => {
1746
- if (i.type === "childList" && i.addedNodes.length > 0 && !pn(i.addedNodes[0]) && (h.searchPseudoElements && r(i.target), t(i.target)), i.type === "attributes" && i.target.parentNode && h.searchPseudoElements && r(i.target.parentNode), i.type === "attributes" && pn(i.target) && ~ya.indexOf(i.attributeName))
1747
- if (i.attributeName === "class" && Za(i.target)) {
1748
- const {
1749
- prefix: c,
1750
- iconName: l
1751
- } = Ze(zt(i.target));
1752
- i.target.setAttribute(Lt, c || s), l && i.target.setAttribute(Ft, l);
1753
- } else eo(i.target) && n(i.target);
1754
- });
1755
- }), le && Xe.observe(a, {
1756
- childList: !0,
1757
- attributes: !0,
1758
- characterData: !0,
1759
- subtree: !0
1760
- });
1761
- }
1762
- function oo() {
1763
- Xe && Xe.disconnect();
1764
- }
1765
- function io(e) {
1766
- const t = e.getAttribute("style");
1767
- let n = [];
1768
- return t && (n = t.split(";").reduce((r, a) => {
1769
- const o = a.split(":"), s = o[0], i = o.slice(1);
1770
- return s && i.length > 0 && (r[s] = i.join(":").trim()), r;
1771
- }, {})), n;
1772
- }
1773
- function so(e) {
1774
- const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "";
1775
- let a = Ze(zt(e));
1776
- return a.prefix || (a.prefix = me()), t && n && (a.prefix = t, a.iconName = n), a.iconName && a.prefix || (a.prefix && r.length > 0 && (a.iconName = za(a.prefix, e.innerText) || Yt(a.prefix, xt(e.innerText))), !a.iconName && h.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (a.iconName = e.firstChild.data)), a;
1777
- }
1778
- function co(e) {
1779
- const t = _e(e.attributes).reduce((a, o) => (a.name !== "class" && a.name !== "style" && (a[o.name] = o.value), a), {}), n = e.getAttribute("title"), r = e.getAttribute("data-fa-title-id");
1780
- return h.autoA11y && (n ? t["aria-labelledby"] = "".concat(h.replacementClass, "-title-").concat(r || ze()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
1781
- }
1782
- function lo() {
1783
- return {
1784
- iconName: null,
1785
- title: null,
1786
- titleId: null,
1787
- prefix: null,
1788
- transform: ae,
1789
- symbol: !1,
1790
- mask: {
1791
- iconName: null,
1792
- prefix: null,
1793
- rest: []
1794
- },
1795
- maskId: null,
1796
- extra: {
1797
- classes: [],
1798
- styles: {},
1799
- attributes: {}
1800
- }
1801
- };
1802
- }
1803
- function yn(e) {
1804
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
1805
- styleParser: !0
1806
- };
1807
- const {
1808
- iconName: n,
1809
- prefix: r,
1810
- rest: a
1811
- } = so(e), o = co(e), s = At("parseNodeAttributes", {}, e);
1812
- let i = t.styleParser ? io(e) : [];
1813
- return {
1814
- iconName: n,
1815
- title: e.getAttribute("title"),
1816
- titleId: e.getAttribute("data-fa-title-id"),
1817
- prefix: r,
1818
- transform: ae,
1819
- mask: {
1820
- iconName: null,
1821
- prefix: null,
1822
- rest: []
1823
- },
1824
- maskId: null,
1825
- symbol: !1,
1826
- extra: {
1827
- classes: a,
1828
- styles: i,
1829
- attributes: o
1830
- },
1831
- ...s
1832
- };
1833
- }
1834
- const {
1835
- styles: fo
1836
- } = oe;
1837
- function br(e) {
1838
- const t = h.autoReplaceSvg === "nest" ? yn(e, {
1839
- styleParser: !1
1840
- }) : yn(e);
1841
- return ~t.extra.classes.indexOf(er) ? pe("generateLayersText", e, t) : pe("generateSvgReplacementMutation", e, t);
1842
- }
1843
- let ie = /* @__PURE__ */ new Set();
1844
- Qn.map((e) => {
1845
- ie.add("fa-".concat(e));
1846
- });
1847
- Object.keys(be[W]).map(ie.add.bind(ie));
1848
- Object.keys(be[V]).map(ie.add.bind(ie));
1849
- Object.keys(be[X]).map(ie.add.bind(ie));
1850
- ie = [...ie];
1851
- function bn(e) {
1852
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1853
- if (!le) return Promise.resolve();
1854
- const n = U.documentElement.classList, r = (f) => n.add("".concat(sn, "-").concat(f)), a = (f) => n.remove("".concat(sn, "-").concat(f)), o = h.autoFetchSvg ? ie : Qn.map((f) => "fa-".concat(f)).concat(Object.keys(fo));
1855
- o.includes("fa") || o.push("fa");
1856
- const s = [".".concat(er, ":not([").concat(xe, "])")].concat(o.map((f) => ".".concat(f, ":not([").concat(xe, "])"))).join(", ");
1857
- if (s.length === 0)
1858
- return Promise.resolve();
1859
- let i = [];
1860
- try {
1861
- i = _e(e.querySelectorAll(s));
1862
- } catch {
1863
- }
1864
- if (i.length > 0)
1865
- r("pending"), a("complete");
1866
- else
1867
- return Promise.resolve();
1868
- const c = Wt.begin("onTree"), l = i.reduce((f, p) => {
1869
- try {
1870
- const y = br(p);
1871
- y && f.push(y);
1872
- } catch (y) {
1873
- Jn || y.name === "MissingIcon" && console.error(y);
1874
- }
1875
- return f;
1876
- }, []);
1877
- return new Promise((f, p) => {
1878
- Promise.all(l).then((y) => {
1879
- hr(y, () => {
1880
- r("active"), r("complete"), a("pending"), typeof t == "function" && t(), c(), f();
1881
- });
1882
- }).catch((y) => {
1883
- c(), p(y);
1884
- });
1885
- });
1886
- }
1887
- function uo(e) {
1888
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1889
- br(e).then((n) => {
1890
- n && hr([n], t);
1891
- });
1892
- }
1893
- function mo(e) {
1894
- return function(t) {
1895
- let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1896
- const r = (t || {}).icon ? t : Ot(t || {});
1897
- let {
1898
- mask: a
1899
- } = n;
1900
- return a && (a = (a || {}).icon ? a : Ot(a || {})), e(r, {
1901
- ...n,
1902
- mask: a
1903
- });
1904
- };
1905
- }
1906
- const po = function(e) {
1907
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1908
- const {
1909
- transform: n = ae,
1910
- symbol: r = !1,
1911
- mask: a = null,
1912
- maskId: o = null,
1913
- title: s = null,
1914
- titleId: i = null,
1915
- classes: c = [],
1916
- attributes: l = {},
1917
- styles: f = {}
1918
- } = t;
1919
- if (!e) return;
1920
- const {
1921
- prefix: p,
1922
- iconName: y,
1923
- icon: b
1924
- } = e;
1925
- return et({
1926
- type: "icon",
1927
- ...e
1928
- }, () => (Ee("beforeDOMElementCreation", {
1929
- iconDefinition: e,
1930
- params: t
1931
- }), h.autoA11y && (s ? l["aria-labelledby"] = "".concat(h.replacementClass, "-title-").concat(i || ze()) : (l["aria-hidden"] = "true", l.focusable = "false")), Ut({
1932
- icons: {
1933
- main: wt(b),
1934
- mask: a ? wt(a.icon) : {
1935
- found: !1,
1936
- width: null,
1937
- height: null,
1938
- icon: {}
1939
- }
1940
- },
1941
- prefix: p,
1942
- iconName: y,
1943
- transform: {
1944
- ...ae,
1945
- ...n
1946
- },
1947
- symbol: r,
1948
- title: s,
1949
- maskId: o,
1950
- titleId: i,
1951
- extra: {
1952
- attributes: l,
1953
- styles: f,
1954
- classes: c
1955
- }
1956
- })));
1957
- };
1958
- var go = {
1959
- mixout() {
1960
- return {
1961
- icon: mo(po)
1962
- };
1963
- },
1964
- hooks() {
1965
- return {
1966
- mutationObserverCallbacks(e) {
1967
- return e.treeCallback = bn, e.nodeCallback = uo, e;
1968
- }
1969
- };
1970
- },
1971
- provides(e) {
1972
- e.i2svg = function(t) {
1973
- const {
1974
- node: n = U,
1975
- callback: r = () => {
1976
- }
1977
- } = t;
1978
- return bn(n, r);
1979
- }, e.generateSvgReplacementMutation = function(t, n) {
1980
- const {
1981
- iconName: r,
1982
- title: a,
1983
- titleId: o,
1984
- prefix: s,
1985
- transform: i,
1986
- symbol: c,
1987
- mask: l,
1988
- maskId: f,
1989
- extra: p
1990
- } = n;
1991
- return new Promise((y, b) => {
1992
- Promise.all([Pt(r, s), l.iconName ? Pt(l.iconName, l.prefix) : Promise.resolve({
1993
- found: !1,
1994
- width: 512,
1995
- height: 512,
1996
- icon: {}
1997
- })]).then((L) => {
1998
- let [A, v] = L;
1999
- y([t, Ut({
2000
- icons: {
2001
- main: A,
2002
- mask: v
2003
- },
2004
- prefix: s,
2005
- iconName: r,
2006
- transform: i,
2007
- symbol: c,
2008
- maskId: f,
2009
- title: a,
2010
- titleId: o,
2011
- extra: p,
2012
- watchable: !0
2013
- })]);
2014
- }).catch(b);
2015
- });
2016
- }, e.generateAbstractIcon = function(t) {
2017
- let {
2018
- children: n,
2019
- attributes: r,
2020
- main: a,
2021
- transform: o,
2022
- styles: s
2023
- } = t;
2024
- const i = Je(s);
2025
- i.length > 0 && (r.style = i);
2026
- let c;
2027
- return jt(o) && (c = pe("generateAbstractTransformGrouping", {
2028
- main: a,
2029
- transform: o,
2030
- containerWidth: a.width,
2031
- iconWidth: a.width
2032
- })), n.push(c || a.icon), {
2033
- children: n,
2034
- attributes: r
2035
- };
2036
- };
2037
- }
2038
- }, ho = {
2039
- mixout() {
2040
- return {
2041
- layer(e) {
2042
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2043
- const {
2044
- classes: n = []
2045
- } = t;
2046
- return et({
2047
- type: "layer"
2048
- }, () => {
2049
- Ee("beforeDOMElementCreation", {
2050
- assembler: e,
2051
- params: t
2052
- });
2053
- let r = [];
2054
- return e((a) => {
2055
- Array.isArray(a) ? a.map((o) => {
2056
- r = r.concat(o.abstract);
2057
- }) : r = r.concat(a.abstract);
2058
- }), [{
2059
- tag: "span",
2060
- attributes: {
2061
- class: ["".concat(h.cssPrefix, "-layers"), ...n].join(" ")
2062
- },
2063
- children: r
2064
- }];
2065
- });
2066
- }
2067
- };
2068
- }
2069
- }, yo = {
2070
- mixout() {
2071
- return {
2072
- counter(e) {
2073
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2074
- const {
2075
- title: n = null,
2076
- classes: r = [],
2077
- attributes: a = {},
2078
- styles: o = {}
2079
- } = t;
2080
- return et({
2081
- type: "counter",
2082
- content: e
2083
- }, () => (Ee("beforeDOMElementCreation", {
2084
- content: e,
2085
- params: t
2086
- }), Xa({
2087
- content: e.toString(),
2088
- title: n,
2089
- extra: {
2090
- attributes: a,
2091
- styles: o,
2092
- classes: ["".concat(h.cssPrefix, "-layers-counter"), ...r]
2093
- }
2094
- })));
2095
- }
2096
- };
2097
- }
2098
- }, bo = {
2099
- mixout() {
2100
- return {
2101
- text(e) {
2102
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2103
- const {
2104
- transform: n = ae,
2105
- title: r = null,
2106
- classes: a = [],
2107
- attributes: o = {},
2108
- styles: s = {}
2109
- } = t;
2110
- return et({
2111
- type: "text",
2112
- content: e
2113
- }, () => (Ee("beforeDOMElementCreation", {
2114
- content: e,
2115
- params: t
2116
- }), dn({
2117
- content: e,
2118
- transform: {
2119
- ...ae,
2120
- ...n
2121
- },
2122
- title: r,
2123
- extra: {
2124
- attributes: o,
2125
- styles: s,
2126
- classes: ["".concat(h.cssPrefix, "-layers-text"), ...a]
2127
- }
2128
- })));
2129
- }
2130
- };
2131
- },
2132
- provides(e) {
2133
- e.generateLayersText = function(t, n) {
2134
- const {
2135
- title: r,
2136
- transform: a,
2137
- extra: o
2138
- } = n;
2139
- let s = null, i = null;
2140
- if (Hn) {
2141
- const c = parseInt(getComputedStyle(t).fontSize, 10), l = t.getBoundingClientRect();
2142
- s = l.width / c, i = l.height / c;
2143
- }
2144
- return h.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t, dn({
2145
- content: t.innerHTML,
2146
- width: s,
2147
- height: i,
2148
- transform: a,
2149
- title: r,
2150
- extra: o,
2151
- watchable: !0
2152
- })]);
2153
- };
2154
- }
2155
- };
2156
- const vo = new RegExp('"', "ug"), vn = [1105920, 1112319], xn = {
2157
- FontAwesome: {
2158
- normal: "fas",
2159
- 400: "fas"
2160
- },
2161
- ...Zr,
2162
- ...Qr,
2163
- ...sa
2164
- }, _t = Object.keys(xn).reduce((e, t) => (e[t.toLowerCase()] = xn[t], e), {}), xo = Object.keys(_t).reduce((e, t) => {
2165
- const n = _t[t];
2166
- return e[t] = n[900] || [...Object.entries(n)][0][1], e;
2167
- }, {});
2168
- function Eo(e) {
2169
- const t = e.replace(vo, ""), n = Ia(t, 0), r = n >= vn[0] && n <= vn[1], a = t.length === 2 ? t[0] === t[1] : !1;
2170
- return {
2171
- value: xt(a ? t[0] : t),
2172
- isSecondary: r || a
2173
- };
2174
- }
2175
- function Ao(e, t) {
2176
- const n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), r = parseInt(t), a = isNaN(r) ? "normal" : r;
2177
- return (_t[n] || {})[a] || xo[n];
2178
- }
2179
- function En(e, t) {
2180
- const n = "".concat(fa).concat(t.replace(":", "-"));
2181
- return new Promise((r, a) => {
2182
- if (e.getAttribute(n) !== null)
2183
- return r();
2184
- const s = _e(e.children).filter((y) => y.getAttribute(ht) === t)[0], i = de.getComputedStyle(e, t), c = i.getPropertyValue("font-family"), l = c.match(ga), f = i.getPropertyValue("font-weight"), p = i.getPropertyValue("content");
2185
- if (s && !l)
2186
- return e.removeChild(s), r();
2187
- if (l && p !== "none" && p !== "") {
2188
- const y = i.getPropertyValue("content");
2189
- let b = Ao(c, f);
2190
- const {
2191
- value: L,
2192
- isSecondary: A
2193
- } = Eo(y), v = l[0].startsWith("FontAwesome");
2194
- let k = Yt(b, L), $ = k;
2195
- if (v) {
2196
- const _ = ja(L);
2197
- _.iconName && _.prefix && (k = _.iconName, b = _.prefix);
2198
- }
2199
- if (k && !A && (!s || s.getAttribute(Lt) !== b || s.getAttribute(Ft) !== $)) {
2200
- e.setAttribute(n, $), s && e.removeChild(s);
2201
- const _ = lo(), {
2202
- extra: F
2203
- } = _;
2204
- F.attributes[ht] = t, Pt(k, b).then((d) => {
2205
- const J = Ut({
2206
- ..._,
2207
- icons: {
2208
- main: d,
2209
- mask: $t()
2210
- },
2211
- prefix: b,
2212
- iconName: $,
2213
- extra: F,
2214
- watchable: !0
2215
- }), Q = U.createElementNS("http://www.w3.org/2000/svg", "svg");
2216
- t === "::before" ? e.insertBefore(Q, e.firstChild) : e.appendChild(Q), Q.outerHTML = J.map((ge) => De(ge)).join(`
2217
- `), e.removeAttribute(n), r();
2218
- }).catch(a);
2219
- } else
2220
- r();
2221
- } else
2222
- r();
2223
- });
2224
- }
2225
- function Oo(e) {
2226
- return Promise.all([En(e, "::before"), En(e, "::after")]);
2227
- }
2228
- function wo(e) {
2229
- return e.parentNode !== document.head && !~da.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(ht) && (!e.parentNode || e.parentNode.tagName !== "svg");
2230
- }
2231
- function An(e) {
2232
- if (le)
2233
- return new Promise((t, n) => {
2234
- const r = _e(e.querySelectorAll("*")).filter(wo).map(Oo), a = Wt.begin("searchPseudoElements");
2235
- yr(), Promise.all(r).then(() => {
2236
- a(), Tt(), t();
2237
- }).catch(() => {
2238
- a(), Tt(), n();
2239
- });
2240
- });
2241
- }
2242
- var Po = {
2243
- hooks() {
2244
- return {
2245
- mutationObserverCallbacks(e) {
2246
- return e.pseudoElementsCallback = An, e;
2247
- }
2248
- };
2249
- },
2250
- provides(e) {
2251
- e.pseudoElements2svg = function(t) {
2252
- const {
2253
- node: n = U
2254
- } = t;
2255
- h.searchPseudoElements && An(n);
2256
- };
2257
- }
2258
- };
2259
- let On = !1;
2260
- var So = {
2261
- mixout() {
2262
- return {
2263
- dom: {
2264
- unwatch() {
2265
- yr(), On = !0;
2266
- }
2267
- }
2268
- };
2269
- },
2270
- hooks() {
2271
- return {
2272
- bootstrap() {
2273
- hn(At("mutationObserverCallbacks", {}));
2274
- },
2275
- noAuto() {
2276
- oo();
2277
- },
2278
- watch(e) {
2279
- const {
2280
- observeMutationsRoot: t
2281
- } = e;
2282
- On ? Tt() : hn(At("mutationObserverCallbacks", {
2283
- observeMutationsRoot: t
2284
- }));
2285
- }
2286
- };
2287
- }
2288
- };
2289
- const wn = (e) => {
2290
- let t = {
2291
- size: 16,
2292
- x: 0,
2293
- y: 0,
2294
- flipX: !1,
2295
- flipY: !1,
2296
- rotate: 0
2297
- };
2298
- return e.toLowerCase().split(" ").reduce((n, r) => {
2299
- const a = r.toLowerCase().split("-"), o = a[0];
2300
- let s = a.slice(1).join("-");
2301
- if (o && s === "h")
2302
- return n.flipX = !0, n;
2303
- if (o && s === "v")
2304
- return n.flipY = !0, n;
2305
- if (s = parseFloat(s), isNaN(s))
2306
- return n;
2307
- switch (o) {
2308
- case "grow":
2309
- n.size = n.size + s;
2310
- break;
2311
- case "shrink":
2312
- n.size = n.size - s;
2313
- break;
2314
- case "left":
2315
- n.x = n.x - s;
2316
- break;
2317
- case "right":
2318
- n.x = n.x + s;
2319
- break;
2320
- case "up":
2321
- n.y = n.y - s;
2322
- break;
2323
- case "down":
2324
- n.y = n.y + s;
2325
- break;
2326
- case "rotate":
2327
- n.rotate = n.rotate + s;
2328
- break;
2329
- }
2330
- return n;
2331
- }, t);
2332
- };
2333
- var To = {
2334
- mixout() {
2335
- return {
2336
- parse: {
2337
- transform: (e) => wn(e)
2338
- }
2339
- };
2340
- },
2341
- hooks() {
2342
- return {
2343
- parseNodeAttributes(e, t) {
2344
- const n = t.getAttribute("data-fa-transform");
2345
- return n && (e.transform = wn(n)), e;
2346
- }
2347
- };
2348
- },
2349
- provides(e) {
2350
- e.generateAbstractTransformGrouping = function(t) {
2351
- let {
2352
- main: n,
2353
- transform: r,
2354
- containerWidth: a,
2355
- iconWidth: o
2356
- } = t;
2357
- const s = {
2358
- transform: "translate(".concat(a / 2, " 256)")
2359
- }, i = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), c = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"), f = {
2360
- transform: "".concat(i, " ").concat(c, " ").concat(l)
2361
- }, p = {
2362
- transform: "translate(".concat(o / 2 * -1, " -256)")
2363
- }, y = {
2364
- outer: s,
2365
- inner: f,
2366
- path: p
2367
- };
2368
- return {
2369
- tag: "g",
2370
- attributes: {
2371
- ...y.outer
2372
- },
2373
- children: [{
2374
- tag: "g",
2375
- attributes: {
2376
- ...y.inner
2377
- },
2378
- children: [{
2379
- tag: n.icon.tag,
2380
- children: n.icon.children,
2381
- attributes: {
2382
- ...n.icon.attributes,
2383
- ...y.path
2384
- }
2385
- }]
2386
- }]
2387
- };
2388
- };
2389
- }
2390
- };
2391
- const st = {
2392
- x: 0,
2393
- y: 0,
2394
- width: "100%",
2395
- height: "100%"
2396
- };
2397
- function Pn(e) {
2398
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2399
- return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
2400
- }
2401
- function _o(e) {
2402
- return e.tag === "g" ? e.children : [e];
2403
- }
2404
- var Co = {
2405
- hooks() {
2406
- return {
2407
- parseNodeAttributes(e, t) {
2408
- const n = t.getAttribute("data-fa-mask"), r = n ? Ze(n.split(" ").map((a) => a.trim())) : $t();
2409
- return r.prefix || (r.prefix = me()), e.mask = r, e.maskId = t.getAttribute("data-fa-mask-id"), e;
2410
- }
2411
- };
2412
- },
2413
- provides(e) {
2414
- e.generateAbstractMask = function(t) {
2415
- let {
2416
- children: n,
2417
- attributes: r,
2418
- main: a,
2419
- mask: o,
2420
- maskId: s,
2421
- transform: i
2422
- } = t;
2423
- const {
2424
- width: c,
2425
- icon: l
2426
- } = a, {
2427
- width: f,
2428
- icon: p
2429
- } = o, y = Pa({
2430
- transform: i,
2431
- containerWidth: f,
2432
- iconWidth: c
2433
- }), b = {
2434
- tag: "rect",
2435
- attributes: {
2436
- ...st,
2437
- fill: "white"
2438
- }
2439
- }, L = l.children ? {
2440
- children: l.children.map(Pn)
2441
- } : {}, A = {
2442
- tag: "g",
2443
- attributes: {
2444
- ...y.inner
2445
- },
2446
- children: [Pn({
2447
- tag: l.tag,
2448
- attributes: {
2449
- ...l.attributes,
2450
- ...y.path
2451
- },
2452
- ...L
2453
- })]
2454
- }, v = {
2455
- tag: "g",
2456
- attributes: {
2457
- ...y.outer
2458
- },
2459
- children: [A]
2460
- }, k = "mask-".concat(s || ze()), $ = "clip-".concat(s || ze()), _ = {
2461
- tag: "mask",
2462
- attributes: {
2463
- ...st,
2464
- id: k,
2465
- maskUnits: "userSpaceOnUse",
2466
- maskContentUnits: "userSpaceOnUse"
2467
- },
2468
- children: [b, v]
2469
- }, F = {
2470
- tag: "defs",
2471
- children: [{
2472
- tag: "clipPath",
2473
- attributes: {
2474
- id: $
2475
- },
2476
- children: _o(p)
2477
- }, _]
2478
- };
2479
- return n.push(F, {
2480
- tag: "rect",
2481
- attributes: {
2482
- fill: "currentColor",
2483
- "clip-path": "url(#".concat($, ")"),
2484
- mask: "url(#".concat(k, ")"),
2485
- ...st
2486
- }
2487
- }), {
2488
- children: n,
2489
- attributes: r
2490
- };
2491
- };
2492
- }
2493
- }, ko = {
2494
- provides(e) {
2495
- let t = !1;
2496
- de.matchMedia && (t = de.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
2497
- const n = [], r = {
2498
- fill: "currentColor"
2499
- }, a = {
2500
- attributeType: "XML",
2501
- repeatCount: "indefinite",
2502
- dur: "2s"
2503
- };
2504
- n.push({
2505
- tag: "path",
2506
- attributes: {
2507
- ...r,
2508
- d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
2509
- }
2510
- });
2511
- const o = {
2512
- ...a,
2513
- attributeName: "opacity"
2514
- }, s = {
2515
- tag: "circle",
2516
- attributes: {
2517
- ...r,
2518
- cx: "256",
2519
- cy: "364",
2520
- r: "28"
2521
- },
2522
- children: []
2523
- };
2524
- return t || s.children.push({
2525
- tag: "animate",
2526
- attributes: {
2527
- ...a,
2528
- attributeName: "r",
2529
- values: "28;14;28;28;14;28;"
2530
- }
2531
- }, {
2532
- tag: "animate",
2533
- attributes: {
2534
- ...o,
2535
- values: "1;0;1;1;0;1;"
2536
- }
2537
- }), n.push(s), n.push({
2538
- tag: "path",
2539
- attributes: {
2540
- ...r,
2541
- opacity: "1",
2542
- d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
2543
- },
2544
- children: t ? [] : [{
2545
- tag: "animate",
2546
- attributes: {
2547
- ...o,
2548
- values: "1;0;0;0;0;1;"
2549
- }
2550
- }]
2551
- }), t || n.push({
2552
- tag: "path",
2553
- attributes: {
2554
- ...r,
2555
- opacity: "0",
2556
- d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
2557
- },
2558
- children: [{
2559
- tag: "animate",
2560
- attributes: {
2561
- ...o,
2562
- values: "0;0;1;1;0;0;"
2563
- }
2564
- }]
2565
- }), {
2566
- tag: "g",
2567
- attributes: {
2568
- class: "missing"
2569
- },
2570
- children: n
2571
- };
2572
- };
2573
- }
2574
- }, Io = {
2575
- hooks() {
2576
- return {
2577
- parseNodeAttributes(e, t) {
2578
- const n = t.getAttribute("data-fa-symbol"), r = n === null ? !1 : n === "" ? !0 : n;
2579
- return e.symbol = r, e;
2580
- }
2581
- };
2582
- }
2583
- }, No = [_a, go, ho, yo, bo, Po, So, To, Co, ko, Io];
2584
- Ua(No, {
2585
- mixoutsTo: K
2586
- });
2587
- K.noAuto;
2588
- K.config;
2589
- K.library;
2590
- K.dom;
2591
- const Ct = K.parse;
2592
- K.findIconDefinition;
2593
- K.toHtml;
2594
- const Mo = K.icon;
2595
- K.layer;
2596
- K.text;
2597
- K.counter;
2598
- function Ro(e) {
2599
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2600
- }
2601
- var kt = { exports: {} }, Be = { exports: {} }, z = {};
2602
- /** @license React v16.13.1
2603
- * react-is.production.min.js
2604
- *
2605
- * Copyright (c) Facebook, Inc. and its affiliates.
2606
- *
2607
- * This source code is licensed under the MIT license found in the
2608
- * LICENSE file in the root directory of this source tree.
2609
- */
2610
- var Sn;
2611
- function Lo() {
2612
- if (Sn) return z;
2613
- Sn = 1;
2614
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
2615
- function _(d) {
2616
- if (typeof d == "object" && d !== null) {
2617
- var J = d.$$typeof;
2618
- switch (J) {
2619
- case t:
2620
- switch (d = d.type, d) {
2621
- case c:
2622
- case l:
2623
- case r:
2624
- case o:
2625
- case a:
2626
- case p:
2627
- return d;
2628
- default:
2629
- switch (d = d && d.$$typeof, d) {
2630
- case i:
2631
- case f:
2632
- case L:
2633
- case b:
2634
- case s:
2635
- return d;
2636
- default:
2637
- return J;
2638
- }
2639
- }
2640
- case n:
2641
- return J;
2642
- }
2643
- }
2644
- }
2645
- function F(d) {
2646
- return _(d) === l;
2647
- }
2648
- return z.AsyncMode = c, z.ConcurrentMode = l, z.ContextConsumer = i, z.ContextProvider = s, z.Element = t, z.ForwardRef = f, z.Fragment = r, z.Lazy = L, z.Memo = b, z.Portal = n, z.Profiler = o, z.StrictMode = a, z.Suspense = p, z.isAsyncMode = function(d) {
2649
- return F(d) || _(d) === c;
2650
- }, z.isConcurrentMode = F, z.isContextConsumer = function(d) {
2651
- return _(d) === i;
2652
- }, z.isContextProvider = function(d) {
2653
- return _(d) === s;
2654
- }, z.isElement = function(d) {
2655
- return typeof d == "object" && d !== null && d.$$typeof === t;
2656
- }, z.isForwardRef = function(d) {
2657
- return _(d) === f;
2658
- }, z.isFragment = function(d) {
2659
- return _(d) === r;
2660
- }, z.isLazy = function(d) {
2661
- return _(d) === L;
2662
- }, z.isMemo = function(d) {
2663
- return _(d) === b;
2664
- }, z.isPortal = function(d) {
2665
- return _(d) === n;
2666
- }, z.isProfiler = function(d) {
2667
- return _(d) === o;
2668
- }, z.isStrictMode = function(d) {
2669
- return _(d) === a;
2670
- }, z.isSuspense = function(d) {
2671
- return _(d) === p;
2672
- }, z.isValidElementType = function(d) {
2673
- return typeof d == "string" || typeof d == "function" || d === r || d === l || d === o || d === a || d === p || d === y || typeof d == "object" && d !== null && (d.$$typeof === L || d.$$typeof === b || d.$$typeof === s || d.$$typeof === i || d.$$typeof === f || d.$$typeof === v || d.$$typeof === k || d.$$typeof === $ || d.$$typeof === A);
2674
- }, z.typeOf = _, z;
2675
- }
2676
- var j = {};
2677
- /** @license React v16.13.1
2678
- * react-is.development.js
2679
- *
2680
- * Copyright (c) Facebook, Inc. and its affiliates.
2681
- *
2682
- * This source code is licensed under the MIT license found in the
2683
- * LICENSE file in the root directory of this source tree.
2684
- */
2685
- var Tn;
2686
- function Fo() {
2687
- return Tn || (Tn = 1, process.env.NODE_ENV !== "production" && function() {
2688
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
2689
- function _(m) {
2690
- return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2691
- m === r || m === l || m === o || m === a || m === p || m === y || typeof m == "object" && m !== null && (m.$$typeof === L || m.$$typeof === b || m.$$typeof === s || m.$$typeof === i || m.$$typeof === f || m.$$typeof === v || m.$$typeof === k || m.$$typeof === $ || m.$$typeof === A);
2692
- }
2693
- function F(m) {
2694
- if (typeof m == "object" && m !== null) {
2695
- var te = m.$$typeof;
2696
- switch (te) {
2697
- case t:
2698
- var $e = m.type;
2699
- switch ($e) {
2700
- case c:
2701
- case l:
2702
- case r:
2703
- case o:
2704
- case a:
2705
- case p:
2706
- return $e;
2707
- default:
2708
- var qt = $e && $e.$$typeof;
2709
- switch (qt) {
2710
- case i:
2711
- case f:
2712
- case L:
2713
- case b:
2714
- case s:
2715
- return qt;
2716
- default:
2717
- return te;
2718
- }
2719
- }
2720
- case n:
2721
- return te;
2722
- }
2723
- }
2724
- }
2725
- var d = c, J = l, Q = i, ge = s, Ce = t, Z = f, Ae = r, ke = L, he = b, D = n, R = o, O = a, ee = p, Ye = !1;
2726
- function tt(m) {
2727
- return Ye || (Ye = !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.")), u(m) || F(m) === c;
2728
- }
2729
- function u(m) {
2730
- return F(m) === l;
2731
- }
2732
- function g(m) {
2733
- return F(m) === i;
2734
- }
2735
- function C(m) {
2736
- return F(m) === s;
2737
- }
2738
- function S(m) {
2739
- return typeof m == "object" && m !== null && m.$$typeof === t;
2740
- }
2741
- function x(m) {
2742
- return F(m) === f;
2743
- }
2744
- function I(m) {
2745
- return F(m) === r;
2746
- }
2747
- function w(m) {
2748
- return F(m) === L;
2749
- }
2750
- function T(m) {
2751
- return F(m) === b;
2752
- }
2753
- function N(m) {
2754
- return F(m) === n;
2755
- }
2756
- function Y(m) {
2757
- return F(m) === o;
2758
- }
2759
- function M(m) {
2760
- return F(m) === a;
2761
- }
2762
- function q(m) {
2763
- return F(m) === p;
2764
- }
2765
- j.AsyncMode = d, j.ConcurrentMode = J, j.ContextConsumer = Q, j.ContextProvider = ge, j.Element = Ce, j.ForwardRef = Z, j.Fragment = Ae, j.Lazy = ke, j.Memo = he, j.Portal = D, j.Profiler = R, j.StrictMode = O, j.Suspense = ee, j.isAsyncMode = tt, j.isConcurrentMode = u, j.isContextConsumer = g, j.isContextProvider = C, j.isElement = S, j.isForwardRef = x, j.isFragment = I, j.isLazy = w, j.isMemo = T, j.isPortal = N, j.isProfiler = Y, j.isStrictMode = M, j.isSuspense = q, j.isValidElementType = _, j.typeOf = F;
2766
- }()), j;
2767
- }
2768
- var _n;
2769
- function vr() {
2770
- return _n || (_n = 1, process.env.NODE_ENV === "production" ? Be.exports = Lo() : Be.exports = Fo()), Be.exports;
2771
- }
2772
- /*
2773
- object-assign
2774
- (c) Sindre Sorhus
2775
- @license MIT
2776
- */
2777
- var ct, Cn;
2778
- function zo() {
2779
- if (Cn) return ct;
2780
- Cn = 1;
2781
- var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
2782
- function r(o) {
2783
- if (o == null)
2784
- throw new TypeError("Object.assign cannot be called with null or undefined");
2785
- return Object(o);
2786
- }
2787
- function a() {
2788
- try {
2789
- if (!Object.assign)
2790
- return !1;
2791
- var o = new String("abc");
2792
- if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
2793
- return !1;
2794
- for (var s = {}, i = 0; i < 10; i++)
2795
- s["_" + String.fromCharCode(i)] = i;
2796
- var c = Object.getOwnPropertyNames(s).map(function(f) {
2797
- return s[f];
2798
- });
2799
- if (c.join("") !== "0123456789")
2800
- return !1;
2801
- var l = {};
2802
- return "abcdefghijklmnopqrst".split("").forEach(function(f) {
2803
- l[f] = f;
2804
- }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
2805
- } catch {
2806
- return !1;
2807
- }
2808
- }
2809
- return ct = a() ? Object.assign : function(o, s) {
2810
- for (var i, c = r(o), l, f = 1; f < arguments.length; f++) {
2811
- i = Object(arguments[f]);
2812
- for (var p in i)
2813
- t.call(i, p) && (c[p] = i[p]);
2814
- if (e) {
2815
- l = e(i);
2816
- for (var y = 0; y < l.length; y++)
2817
- n.call(i, l[y]) && (c[l[y]] = i[l[y]]);
2818
- }
2819
- }
2820
- return c;
2821
- }, ct;
2822
- }
2823
- var lt, kn;
2824
- function Ht() {
2825
- if (kn) return lt;
2826
- kn = 1;
2827
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2828
- return lt = e, lt;
2829
- }
2830
- var ft, In;
2831
- function xr() {
2832
- return In || (In = 1, ft = Function.call.bind(Object.prototype.hasOwnProperty)), ft;
2833
- }
2834
- var ut, Nn;
2835
- function jo() {
2836
- if (Nn) return ut;
2837
- Nn = 1;
2838
- var e = function() {
2839
- };
2840
- if (process.env.NODE_ENV !== "production") {
2841
- var t = Ht(), n = {}, r = xr();
2842
- e = function(o) {
2843
- var s = "Warning: " + o;
2844
- typeof console < "u" && console.error(s);
2845
- try {
2846
- throw new Error(s);
2847
- } catch {
2848
- }
2849
- };
2850
- }
2851
- function a(o, s, i, c, l) {
2852
- if (process.env.NODE_ENV !== "production") {
2853
- for (var f in o)
2854
- if (r(o, f)) {
2855
- var p;
2856
- try {
2857
- if (typeof o[f] != "function") {
2858
- var y = Error(
2859
- (c || "React class") + ": " + i + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2860
- );
2861
- throw y.name = "Invariant Violation", y;
2862
- }
2863
- p = o[f](s, f, c, i, null, t);
2864
- } catch (L) {
2865
- p = L;
2866
- }
2867
- if (p && !(p instanceof Error) && e(
2868
- (c || "React class") + ": type specification of " + i + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2869
- ), p instanceof Error && !(p.message in n)) {
2870
- n[p.message] = !0;
2871
- var b = l ? l() : "";
2872
- e(
2873
- "Failed " + i + " type: " + p.message + (b ?? "")
2874
- );
2875
- }
2876
- }
2877
- }
2878
- }
2879
- return a.resetWarningCache = function() {
2880
- process.env.NODE_ENV !== "production" && (n = {});
2881
- }, ut = a, ut;
2882
- }
2883
- var dt, Mn;
2884
- function Do() {
2885
- if (Mn) return dt;
2886
- Mn = 1;
2887
- var e = vr(), t = zo(), n = Ht(), r = xr(), a = jo(), o = function() {
2888
- };
2889
- process.env.NODE_ENV !== "production" && (o = function(i) {
2890
- var c = "Warning: " + i;
2891
- typeof console < "u" && console.error(c);
2892
- try {
2893
- throw new Error(c);
2894
- } catch {
2895
- }
2896
- });
2897
- function s() {
2898
- return null;
2899
- }
2900
- return dt = function(i, c) {
2901
- var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
2902
- function p(u) {
2903
- var g = u && (l && u[l] || u[f]);
2904
- if (typeof g == "function")
2905
- return g;
2906
- }
2907
- var y = "<<anonymous>>", b = {
2908
- array: k("array"),
2909
- bigint: k("bigint"),
2910
- bool: k("boolean"),
2911
- func: k("function"),
2912
- number: k("number"),
2913
- object: k("object"),
2914
- string: k("string"),
2915
- symbol: k("symbol"),
2916
- any: $(),
2917
- arrayOf: _,
2918
- element: F(),
2919
- elementType: d(),
2920
- instanceOf: J,
2921
- node: Z(),
2922
- objectOf: ge,
2923
- oneOf: Q,
2924
- oneOfType: Ce,
2925
- shape: ke,
2926
- exact: he
2927
- };
2928
- function L(u, g) {
2929
- return u === g ? u !== 0 || 1 / u === 1 / g : u !== u && g !== g;
2930
- }
2931
- function A(u, g) {
2932
- this.message = u, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
2933
- }
2934
- A.prototype = Error.prototype;
2935
- function v(u) {
2936
- if (process.env.NODE_ENV !== "production")
2937
- var g = {}, C = 0;
2938
- function S(I, w, T, N, Y, M, q) {
2939
- if (N = N || y, M = M || T, q !== n) {
2940
- if (c) {
2941
- var m = new Error(
2942
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2943
- );
2944
- throw m.name = "Invariant Violation", m;
2945
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2946
- var te = N + ":" + T;
2947
- !g[te] && // Avoid spamming the console because they are often not actionable except for lib authors
2948
- C < 3 && (o(
2949
- "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2950
- ), g[te] = !0, C++);
2951
- }
2952
- }
2953
- return w[T] == null ? I ? w[T] === null ? new A("The " + Y + " `" + M + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new A("The " + Y + " `" + M + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : u(w, T, N, Y, M);
2954
- }
2955
- var x = S.bind(null, !1);
2956
- return x.isRequired = S.bind(null, !0), x;
2957
- }
2958
- function k(u) {
2959
- function g(C, S, x, I, w, T) {
2960
- var N = C[S], Y = O(N);
2961
- if (Y !== u) {
2962
- var M = ee(N);
2963
- return new A(
2964
- "Invalid " + I + " `" + w + "` of type " + ("`" + M + "` supplied to `" + x + "`, expected ") + ("`" + u + "`."),
2965
- { expectedType: u }
2966
- );
2967
- }
2968
- return null;
2969
- }
2970
- return v(g);
2971
- }
2972
- function $() {
2973
- return v(s);
2974
- }
2975
- function _(u) {
2976
- function g(C, S, x, I, w) {
2977
- if (typeof u != "function")
2978
- return new A("Property `" + w + "` of component `" + x + "` has invalid PropType notation inside arrayOf.");
2979
- var T = C[S];
2980
- if (!Array.isArray(T)) {
2981
- var N = O(T);
2982
- return new A("Invalid " + I + " `" + w + "` of type " + ("`" + N + "` supplied to `" + x + "`, expected an array."));
2983
- }
2984
- for (var Y = 0; Y < T.length; Y++) {
2985
- var M = u(T, Y, x, I, w + "[" + Y + "]", n);
2986
- if (M instanceof Error)
2987
- return M;
2988
- }
2989
- return null;
2990
- }
2991
- return v(g);
2992
- }
2993
- function F() {
2994
- function u(g, C, S, x, I) {
2995
- var w = g[C];
2996
- if (!i(w)) {
2997
- var T = O(w);
2998
- return new A("Invalid " + x + " `" + I + "` of type " + ("`" + T + "` supplied to `" + S + "`, expected a single ReactElement."));
2999
- }
3000
- return null;
3001
- }
3002
- return v(u);
3003
- }
3004
- function d() {
3005
- function u(g, C, S, x, I) {
3006
- var w = g[C];
3007
- if (!e.isValidElementType(w)) {
3008
- var T = O(w);
3009
- return new A("Invalid " + x + " `" + I + "` of type " + ("`" + T + "` supplied to `" + S + "`, expected a single ReactElement type."));
3010
- }
3011
- return null;
3012
- }
3013
- return v(u);
3014
- }
3015
- function J(u) {
3016
- function g(C, S, x, I, w) {
3017
- if (!(C[S] instanceof u)) {
3018
- var T = u.name || y, N = tt(C[S]);
3019
- return new A("Invalid " + I + " `" + w + "` of type " + ("`" + N + "` supplied to `" + x + "`, expected ") + ("instance of `" + T + "`."));
3020
- }
3021
- return null;
3022
- }
3023
- return v(g);
3024
- }
3025
- function Q(u) {
3026
- if (!Array.isArray(u))
3027
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
3028
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
3029
- ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
3030
- function g(C, S, x, I, w) {
3031
- for (var T = C[S], N = 0; N < u.length; N++)
3032
- if (L(T, u[N]))
3033
- return null;
3034
- var Y = JSON.stringify(u, function(q, m) {
3035
- var te = ee(m);
3036
- return te === "symbol" ? String(m) : m;
3037
- });
3038
- return new A("Invalid " + I + " `" + w + "` of value `" + String(T) + "` " + ("supplied to `" + x + "`, expected one of " + Y + "."));
3039
- }
3040
- return v(g);
3041
- }
3042
- function ge(u) {
3043
- function g(C, S, x, I, w) {
3044
- if (typeof u != "function")
3045
- return new A("Property `" + w + "` of component `" + x + "` has invalid PropType notation inside objectOf.");
3046
- var T = C[S], N = O(T);
3047
- if (N !== "object")
3048
- return new A("Invalid " + I + " `" + w + "` of type " + ("`" + N + "` supplied to `" + x + "`, expected an object."));
3049
- for (var Y in T)
3050
- if (r(T, Y)) {
3051
- var M = u(T, Y, x, I, w + "." + Y, n);
3052
- if (M instanceof Error)
3053
- return M;
3054
- }
3055
- return null;
3056
- }
3057
- return v(g);
3058
- }
3059
- function Ce(u) {
3060
- if (!Array.isArray(u))
3061
- return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
3062
- for (var g = 0; g < u.length; g++) {
3063
- var C = u[g];
3064
- if (typeof C != "function")
3065
- return o(
3066
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ye(C) + " at index " + g + "."
3067
- ), s;
3068
- }
3069
- function S(x, I, w, T, N) {
3070
- for (var Y = [], M = 0; M < u.length; M++) {
3071
- var q = u[M], m = q(x, I, w, T, N, n);
3072
- if (m == null)
3073
- return null;
3074
- m.data && r(m.data, "expectedType") && Y.push(m.data.expectedType);
3075
- }
3076
- var te = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
3077
- return new A("Invalid " + T + " `" + N + "` supplied to " + ("`" + w + "`" + te + "."));
3078
- }
3079
- return v(S);
3080
- }
3081
- function Z() {
3082
- function u(g, C, S, x, I) {
3083
- return D(g[C]) ? null : new A("Invalid " + x + " `" + I + "` supplied to " + ("`" + S + "`, expected a ReactNode."));
3084
- }
3085
- return v(u);
3086
- }
3087
- function Ae(u, g, C, S, x) {
3088
- return new A(
3089
- (u || "React class") + ": " + g + " type `" + C + "." + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + x + "`."
3090
- );
3091
- }
3092
- function ke(u) {
3093
- function g(C, S, x, I, w) {
3094
- var T = C[S], N = O(T);
3095
- if (N !== "object")
3096
- return new A("Invalid " + I + " `" + w + "` of type `" + N + "` " + ("supplied to `" + x + "`, expected `object`."));
3097
- for (var Y in u) {
3098
- var M = u[Y];
3099
- if (typeof M != "function")
3100
- return Ae(x, I, w, Y, ee(M));
3101
- var q = M(T, Y, x, I, w + "." + Y, n);
3102
- if (q)
3103
- return q;
3104
- }
3105
- return null;
3106
- }
3107
- return v(g);
3108
- }
3109
- function he(u) {
3110
- function g(C, S, x, I, w) {
3111
- var T = C[S], N = O(T);
3112
- if (N !== "object")
3113
- return new A("Invalid " + I + " `" + w + "` of type `" + N + "` " + ("supplied to `" + x + "`, expected `object`."));
3114
- var Y = t({}, C[S], u);
3115
- for (var M in Y) {
3116
- var q = u[M];
3117
- if (r(u, M) && typeof q != "function")
3118
- return Ae(x, I, w, M, ee(q));
3119
- if (!q)
3120
- return new A(
3121
- "Invalid " + I + " `" + w + "` key `" + M + "` supplied to `" + x + "`.\nBad object: " + JSON.stringify(C[S], null, " ") + `
3122
- Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
3123
- );
3124
- var m = q(T, M, x, I, w + "." + M, n);
3125
- if (m)
3126
- return m;
3127
- }
3128
- return null;
3129
- }
3130
- return v(g);
3131
- }
3132
- function D(u) {
3133
- switch (typeof u) {
3134
- case "number":
3135
- case "string":
3136
- case "undefined":
3137
- return !0;
3138
- case "boolean":
3139
- return !u;
3140
- case "object":
3141
- if (Array.isArray(u))
3142
- return u.every(D);
3143
- if (u === null || i(u))
3144
- return !0;
3145
- var g = p(u);
3146
- if (g) {
3147
- var C = g.call(u), S;
3148
- if (g !== u.entries) {
3149
- for (; !(S = C.next()).done; )
3150
- if (!D(S.value))
3151
- return !1;
3152
- } else
3153
- for (; !(S = C.next()).done; ) {
3154
- var x = S.value;
3155
- if (x && !D(x[1]))
3156
- return !1;
3157
- }
3158
- } else
3159
- return !1;
3160
- return !0;
3161
- default:
3162
- return !1;
3163
- }
3164
- }
3165
- function R(u, g) {
3166
- return u === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
3167
- }
3168
- function O(u) {
3169
- var g = typeof u;
3170
- return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : R(g, u) ? "symbol" : g;
3171
- }
3172
- function ee(u) {
3173
- if (typeof u > "u" || u === null)
3174
- return "" + u;
3175
- var g = O(u);
3176
- if (g === "object") {
3177
- if (u instanceof Date)
3178
- return "date";
3179
- if (u instanceof RegExp)
3180
- return "regexp";
3181
- }
3182
- return g;
3183
- }
3184
- function Ye(u) {
3185
- var g = ee(u);
3186
- switch (g) {
3187
- case "array":
3188
- case "object":
3189
- return "an " + g;
3190
- case "boolean":
3191
- case "date":
3192
- case "regexp":
3193
- return "a " + g;
3194
- default:
3195
- return g;
3196
- }
3197
- }
3198
- function tt(u) {
3199
- return !u.constructor || !u.constructor.name ? y : u.constructor.name;
3200
- }
3201
- return b.checkPropTypes = a, b.resetWarningCache = a.resetWarningCache, b.PropTypes = b, b;
3202
- }, dt;
3203
- }
3204
- var mt, Rn;
3205
- function Yo() {
3206
- if (Rn) return mt;
3207
- Rn = 1;
3208
- var e = Ht();
3209
- function t() {
3210
- }
3211
- function n() {
3212
- }
3213
- return n.resetWarningCache = t, mt = function() {
3214
- function r(s, i, c, l, f, p) {
3215
- if (p !== e) {
3216
- var y = new Error(
3217
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
3218
- );
3219
- throw y.name = "Invariant Violation", y;
3220
- }
3221
- }
3222
- r.isRequired = r;
3223
- function a() {
3224
- return r;
3225
- }
3226
- var o = {
3227
- array: r,
3228
- bigint: r,
3229
- bool: r,
3230
- func: r,
3231
- number: r,
3232
- object: r,
3233
- string: r,
3234
- symbol: r,
3235
- any: r,
3236
- arrayOf: a,
3237
- element: r,
3238
- elementType: r,
3239
- instanceOf: a,
3240
- node: r,
3241
- objectOf: a,
3242
- oneOf: a,
3243
- oneOfType: a,
3244
- shape: a,
3245
- exact: a,
3246
- checkPropTypes: n,
3247
- resetWarningCache: t
3248
- };
3249
- return o.PropTypes = o, o;
3250
- }, mt;
3251
- }
3252
- if (process.env.NODE_ENV !== "production") {
3253
- var $o = vr(), Uo = !0;
3254
- kt.exports = Do()($o.isElement, Uo);
3255
- } else
3256
- kt.exports = Yo()();
3257
- var Wo = kt.exports;
3258
- const P = /* @__PURE__ */ Ro(Wo);
3259
- function Ln(e, t) {
3260
- var n = Object.keys(e);
3261
- if (Object.getOwnPropertySymbols) {
3262
- var r = Object.getOwnPropertySymbols(e);
3263
- t && (r = r.filter(function(a) {
3264
- return Object.getOwnPropertyDescriptor(e, a).enumerable;
3265
- })), n.push.apply(n, r);
3266
- }
3267
- return n;
3268
- }
3269
- function ne(e) {
3270
- for (var t = 1; t < arguments.length; t++) {
3271
- var n = arguments[t] != null ? arguments[t] : {};
3272
- t % 2 ? Ln(Object(n), !0).forEach(function(r) {
3273
- we(e, r, n[r]);
3274
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ln(Object(n)).forEach(function(r) {
3275
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
3276
- });
3277
- }
3278
- return e;
3279
- }
3280
- function Ke(e) {
3281
- "@babel/helpers - typeof";
3282
- return Ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3283
- return typeof t;
3284
- } : function(t) {
3285
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3286
- }, Ke(e);
3287
- }
3288
- function we(e, t, n) {
3289
- return t in e ? Object.defineProperty(e, t, {
3290
- value: n,
3291
- enumerable: !0,
3292
- configurable: !0,
3293
- writable: !0
3294
- }) : e[t] = n, e;
3295
- }
3296
- function Bo(e, t) {
3297
- if (e == null) return {};
3298
- var n = {}, r = Object.keys(e), a, o;
3299
- for (o = 0; o < r.length; o++)
3300
- a = r[o], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
3301
- return n;
3302
- }
3303
- function Ho(e, t) {
3304
- if (e == null) return {};
3305
- var n = Bo(e, t), r, a;
3306
- if (Object.getOwnPropertySymbols) {
3307
- var o = Object.getOwnPropertySymbols(e);
3308
- for (a = 0; a < o.length; a++)
3309
- r = o[a], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
3310
- }
3311
- return n;
3312
- }
3313
- function It(e) {
3314
- return qo(e) || Go(e) || Vo(e) || Xo();
3315
- }
3316
- function qo(e) {
3317
- if (Array.isArray(e)) return Nt(e);
3318
- }
3319
- function Go(e) {
3320
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
3321
- }
3322
- function Vo(e, t) {
3323
- if (e) {
3324
- if (typeof e == "string") return Nt(e, t);
3325
- var n = Object.prototype.toString.call(e).slice(8, -1);
3326
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
3327
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Nt(e, t);
3328
- }
3329
- }
3330
- function Nt(e, t) {
3331
- (t == null || t > e.length) && (t = e.length);
3332
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
3333
- return r;
3334
- }
3335
- function Xo() {
3336
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
3337
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3338
- }
3339
- function Ko(e) {
3340
- var t, n = e.beat, r = e.fade, a = e.beatFade, o = e.bounce, s = e.shake, i = e.flash, c = e.spin, l = e.spinPulse, f = e.spinReverse, p = e.pulse, y = e.fixedWidth, b = e.inverse, L = e.border, A = e.listItem, v = e.flip, k = e.size, $ = e.rotation, _ = e.pull, F = (t = {
3341
- "fa-beat": n,
3342
- "fa-fade": r,
3343
- "fa-beat-fade": a,
3344
- "fa-bounce": o,
3345
- "fa-shake": s,
3346
- "fa-flash": i,
3347
- "fa-spin": c,
3348
- "fa-spin-reverse": f,
3349
- "fa-spin-pulse": l,
3350
- "fa-pulse": p,
3351
- "fa-fw": y,
3352
- "fa-inverse": b,
3353
- "fa-border": L,
3354
- "fa-li": A,
3355
- "fa-flip": v === !0,
3356
- "fa-flip-horizontal": v === "horizontal" || v === "both",
3357
- "fa-flip-vertical": v === "vertical" || v === "both"
3358
- }, we(t, "fa-".concat(k), typeof k < "u" && k !== null), we(t, "fa-rotate-".concat($), typeof $ < "u" && $ !== null && $ !== 0), we(t, "fa-pull-".concat(_), typeof _ < "u" && _ !== null), we(t, "fa-swap-opacity", e.swapOpacity), t);
3359
- return Object.keys(F).map(function(d) {
3360
- return F[d] ? d : null;
3361
- }).filter(function(d) {
3362
- return d;
3363
- });
3364
- }
3365
- function Jo(e) {
3366
- return e = e - 0, e === e;
3367
- }
3368
- function Er(e) {
3369
- return Jo(e) ? e : (e = e.replace(/[\-_\s]+(.)?/g, function(t, n) {
3370
- return n ? n.toUpperCase() : "";
3371
- }), e.substr(0, 1).toLowerCase() + e.substr(1));
3372
- }
3373
- var Qo = ["style"];
3374
- function Zo(e) {
3375
- return e.charAt(0).toUpperCase() + e.slice(1);
3376
- }
3377
- function ei(e) {
3378
- return e.split(";").map(function(t) {
3379
- return t.trim();
3380
- }).filter(function(t) {
3381
- return t;
3382
- }).reduce(function(t, n) {
3383
- var r = n.indexOf(":"), a = Er(n.slice(0, r)), o = n.slice(r + 1).trim();
3384
- return a.startsWith("webkit") ? t[Zo(a)] = o : t[a] = o, t;
3385
- }, {});
3386
- }
3387
- function Ar(e, t) {
3388
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3389
- if (typeof t == "string")
3390
- return t;
3391
- var r = (t.children || []).map(function(c) {
3392
- return Ar(e, c);
3393
- }), a = Object.keys(t.attributes || {}).reduce(function(c, l) {
3394
- var f = t.attributes[l];
3395
- switch (l) {
3396
- case "class":
3397
- c.attrs.className = f, delete t.attributes.class;
3398
- break;
3399
- case "style":
3400
- c.attrs.style = ei(f);
3401
- break;
3402
- default:
3403
- l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? c.attrs[l.toLowerCase()] = f : c.attrs[Er(l)] = f;
3404
- }
3405
- return c;
3406
- }, {
3407
- attrs: {}
3408
- }), o = n.style, s = o === void 0 ? {} : o, i = Ho(n, Qo);
3409
- return a.attrs.style = ne(ne({}, a.attrs.style), s), e.apply(void 0, [t.tag, ne(ne({}, a.attrs), i)].concat(It(r)));
3410
- }
3411
- var Or = !1;
3412
- try {
3413
- Or = process.env.NODE_ENV === "production";
3414
- } catch {
3415
- }
3416
- function ti() {
3417
- if (!Or && console && typeof console.error == "function") {
3418
- var e;
3419
- (e = console).error.apply(e, arguments);
3420
- }
3421
- }
3422
- function Fn(e) {
3423
- if (e && Ke(e) === "object" && e.prefix && e.iconName && e.icon)
3424
- return e;
3425
- if (Ct.icon)
3426
- return Ct.icon(e);
3427
- if (e === null)
3428
- return null;
3429
- if (e && Ke(e) === "object" && e.prefix && e.iconName)
3430
- return e;
3431
- if (Array.isArray(e) && e.length === 2)
3432
- return {
3433
- prefix: e[0],
3434
- iconName: e[1]
3435
- };
3436
- if (typeof e == "string")
3437
- return {
3438
- prefix: "fas",
3439
- iconName: e
3440
- };
3441
- }
3442
- function pt(e, t) {
3443
- return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? we({}, e, t) : {};
3444
- }
3445
- var zn = {
3446
- border: !1,
3447
- className: "",
3448
- mask: null,
3449
- maskId: null,
3450
- fixedWidth: !1,
3451
- inverse: !1,
3452
- flip: !1,
3453
- icon: null,
3454
- listItem: !1,
3455
- pull: null,
3456
- pulse: !1,
3457
- rotation: null,
3458
- size: null,
3459
- spin: !1,
3460
- spinPulse: !1,
3461
- spinReverse: !1,
3462
- beat: !1,
3463
- fade: !1,
3464
- beatFade: !1,
3465
- bounce: !1,
3466
- shake: !1,
3467
- symbol: !1,
3468
- title: "",
3469
- titleId: null,
3470
- transform: null,
3471
- swapOpacity: !1
3472
- }, re = /* @__PURE__ */ $n.forwardRef(function(e, t) {
3473
- var n = ne(ne({}, zn), e), r = n.icon, a = n.mask, o = n.symbol, s = n.className, i = n.title, c = n.titleId, l = n.maskId, f = Fn(r), p = pt("classes", [].concat(It(Ko(n)), It((s || "").split(" ")))), y = pt("transform", typeof n.transform == "string" ? Ct.transform(n.transform) : n.transform), b = pt("mask", Fn(a)), L = Mo(f, ne(ne(ne(ne({}, p), y), b), {}, {
3474
- symbol: o,
3475
- title: i,
3476
- titleId: c,
3477
- maskId: l
3478
- }));
3479
- if (!L)
3480
- return ti("Could not find icon", f), null;
3481
- var A = L.abstract, v = {
3482
- ref: t
3483
- };
3484
- return Object.keys(n).forEach(function(k) {
3485
- zn.hasOwnProperty(k) || (v[k] = n[k]);
3486
- }), ni(A[0], v);
3487
- });
3488
- re.displayName = "FontAwesomeIcon";
3489
- re.propTypes = {
3490
- beat: P.bool,
3491
- border: P.bool,
3492
- beatFade: P.bool,
3493
- bounce: P.bool,
3494
- className: P.string,
3495
- fade: P.bool,
3496
- flash: P.bool,
3497
- mask: P.oneOfType([P.object, P.array, P.string]),
3498
- maskId: P.string,
3499
- fixedWidth: P.bool,
3500
- inverse: P.bool,
3501
- flip: P.oneOf([!0, !1, "horizontal", "vertical", "both"]),
3502
- icon: P.oneOfType([P.object, P.array, P.string]),
3503
- listItem: P.bool,
3504
- pull: P.oneOf(["right", "left"]),
3505
- pulse: P.bool,
3506
- rotation: P.oneOf([0, 90, 180, 270]),
3507
- shake: P.bool,
3508
- size: P.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
3509
- spin: P.bool,
3510
- spinPulse: P.bool,
3511
- spinReverse: P.bool,
3512
- symbol: P.oneOfType([P.bool, P.string]),
3513
- title: P.string,
3514
- titleId: P.string,
3515
- transform: P.oneOfType([P.string, P.object]),
3516
- swapOpacity: P.bool
3517
- };
3518
- var ni = Ar.bind(null, $n.createElement);
3519
- const ri = {
3520
- prefix: "fas",
3521
- iconName: "file-lines",
3522
- icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM112 256l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
3523
- }, ai = {
3524
- prefix: "fas",
3525
- iconName: "caret-right",
3526
- 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"]
3527
- }, oi = {
3528
- prefix: "fas",
3529
- iconName: "caret-left",
3530
- 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"]
3531
- }, ii = {
3532
- prefix: "fas",
3533
- iconName: "image",
3534
- icon: [512, 512, [], "f03e", "M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM323.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.6l96 0 32 0 208 0c8.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"]
3535
- }, jn = {
3536
- prefix: "fas",
3537
- iconName: "trash",
3538
- icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]
3539
- }, si = {
3540
- prefix: "fas",
3541
- iconName: "circle-info",
3542
- icon: [512, 512, ["info-circle"], "f05a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-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"]
3543
- }, ci = {
3544
- prefix: "fas",
3545
- iconName: "gear",
3546
- 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"]
3547
- }, li = ci, fi = {
3548
- prefix: "fas",
3549
- iconName: "download",
3550
- icon: [512, 512, [], "f019", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-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.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]
3551
- }, ui = {
3552
- prefix: "fas",
3553
- iconName: "house",
3554
- icon: [576, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-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"]
3555
- }, di = {
3556
- prefix: "fas",
3557
- iconName: "magnifying-glass",
3558
- 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"]
3559
- }, mi = di, pi = {
3560
- prefix: "fas",
3561
- iconName: "arrow-up",
3562
- 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.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]
3563
- }, gi = {
3564
- prefix: "fas",
3565
- iconName: "plus",
3566
- icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]
3567
- }, hi = {
3568
- prefix: "fas",
3569
- iconName: "desktop",
3570
- icon: [576, 512, [128421, 61704, "desktop-alt"], "f390", "M64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l176 0-10.7 32L160 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-69.3 0L336 416l176 0c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0zM512 64l0 224L64 288 64 64l448 0z"]
3571
- };
3572
- function He({ onClick: e, icon: t, name: n }) {
3573
- return /* @__PURE__ */ B(
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('._FileExplorer_10w0u_1{--header-height: 3.5rem;--sidebar-width: 10rem;--footer-height: 1.75rem;--scale: 1.15rem;display:flex;flex-direction:column;width:100%;height:100%}._Header_10w0u_25{display:flex;gap:1rem;align-items:center;width:100%;height:var(--header-height);padding:1rem;background-color:var(--background-color-0)}._IconButton_10w0u_45{--color: var(--foreground-color-0);position:relative;height:1.25rem;width:auto;padding:0;background:none;border:none;outline:none;aspect-ratio:1;cursor:pointer}._IconButton_10w0u_45:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff0;border-radius:var(--border-radius-99);transform:scale(1);transform-origin:center;transition:all .2s ease-in-out}._IconButton_10w0u_45:hover:after,._IconButton_10w0u_45:focus-visible:after{background-color:#ffffff1a;transform:scale(1.5)}._IconButton_10w0u_45:disabled{--color: var(--background-color-1)}._IconButton_10w0u_45 svg{height:100%}._IconButton_10w0u_45 svg path{fill:var(--color);transition:fill .1s ease-in-out}._PathInput_10w0u_137{flex:1;padding:.25rem .5rem;background-color:var(--background-color-2);border:none;border-radius:var(--border-radius-1);outline:none;font-family:inherit;font-size:inherit}._Body_10w0u_159{flex:1;display:flex;width:100%;height:calc(100% - var(--header-height));background-color:var(--background-color-2)}._Sidebar_10w0u_175{display:flex;gap:.25rem;flex-direction:column;min-width:calc(var(--sidebar-width) / 2);width:var(--sidebar-width);height:100%;max-width:50%;padding:.5rem;background-color:var(--background-color-1);resize:horizontal;overflow:hidden}._NavButton_10w0u_203{display:flex;gap:.5rem;align-items:center;width:100%;padding:.5rem;background:none;border:none;border-radius:var(--border-radius-1);outline:none;cursor:pointer;transition:background-color .1s ease-in-out}._NavButton_10w0u_203:hover,._NavButton_10w0u_203:focus-visible{background-color:color-mix(in srgb,var(--background-color-0) 75%,transparent)}._NavButton_10w0u_203 svg{height:1.35rem;aspect-ratio:1}._Main_10w0u_249{--scale: inherit !important;position:relative;flex:1;display:flex;flex-wrap:wrap;align-content:flex-start;height:100%;padding:.5rem;padding-bottom:calc(.5rem + var(--footer-height));overflow:auto}._Footer_10w0u_277{position:absolute;display:flex;justify-content:flex-start;align-items:center;bottom:0;left:0;width:100%;height:var(--footer-height);padding:0 .75rem;border-top:.25rem solid var(--background-color-0);background-color:var(--background-color-2)}._Footer_10w0u_277 p{margin:0;font-size:.875em}._Selector_10w0u_315{--footer-height: 4rem}._FileProperties_s5har_1{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:1rem}._Icon_s5har_17{width:3rem;height:3rem}._Icon_s5har_17 div{width:inherit;height:inherit;object-fit:contain}._Icon_s5har_17 svg{max-width:100%;max-height:100%}._Section_s5har_49{--divider-width: .25rem;position:relative;display:flex;gap:.25rem;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:100%;padding:1rem 0;padding-bottom:calc(1rem + var(--divider-width))}._Section_s5har_49:first-child{gap:.5rem;align-items:center;flex-direction:row;padding-top:0}._Section_s5har_49:first-child ._Line_s5har_91{font-size:1.25rem}._Section_s5har_49:not(:last-child):after{content:"";position:absolute;bottom:0;left:0;width:100%;height:var(--divider-width);border-radius:var(--border-radius-0);background-color:var(--background-color-0)}._Line_s5har_91{margin:0;text-align:left;padding-left:2rem;text-indent:-2rem}._AppIcon_s5har_135{display:inline-block;width:2rem;height:2rem;vertical-align:middle;margin-left:.5rem;margin-right:.25rem}._AppIcon_s5har_135 div{position:relative;width:inherit;height:inherit;object-fit:contain}._AppIcon_s5har_135 svg{position:absolute;top:0;left:0;max-width:100%;max-height:100%}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { utilStyles as P, VirtualFile as te, useSystemManager as G, WindowedModal as ne, ImagePreview as O, StorageManager as D, useVirtualRoot as oe, useWindowsManager as re, useHistory as se, useAlert as ie, useWindowedModal as ae, useContextMenu as M, Actions as F, ClickAction as x, Vector2 as f, Divider as le, VirtualRoot as U, DialogBox as $, ModalsConfig as z, DirectoryList as ce, CODE_EXTENSIONS as de, App as ue, AppsConfig as pe } from "@prozilla-os/core";
3
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
4
+ import { useState as S, useCallback as me, useEffect as H } from "react";
5
+ import { FontAwesomeIcon as m } from "@fortawesome/react-fontawesome";
6
+ import { faDownload as he, faTrash as V, faCircleInfo as Ne, faCaretLeft as _e, faCaretRight as Ie, faArrowUp as ge, faPlus as xe, faSearch as Ee, faCog as fe, faHouse as be, faDesktop as ye, faImage as we, faFileLines as Ce } from "@fortawesome/free-solid-svg-icons";
7
+ const Be = "_FileExplorer_10w0u_1", ve = "_Header_10w0u_25", Ae = "_IconButton_10w0u_45", Se = "_PathInput_10w0u_137", Pe = "_Body_10w0u_159", Le = "_Sidebar_10w0u_175", Te = "_NavButton_10w0u_203", ke = "_Main_10w0u_249", Oe = "_Footer_10w0u_277", De = "_Selector_10w0u_315", l = {
8
+ FileExplorer: Be,
9
+ Header: ve,
10
+ IconButton: Ae,
11
+ PathInput: Se,
12
+ Body: Pe,
13
+ Sidebar: Le,
14
+ NavButton: Te,
15
+ Main: ke,
16
+ Footer: Oe,
17
+ Selector: De
18
+ };
19
+ function b({ onClick: o, icon: h, name: a }) {
20
+ return /* @__PURE__ */ i(
3574
21
  "button",
3575
22
  {
3576
23
  tabIndex: 0,
3577
- className: `${H.NavButton} ${Mt.TextSemibold}`,
3578
- onClick: e,
24
+ className: `${l.NavButton} ${P.TextSemibold}`,
25
+ onClick: o,
3579
26
  children: [
3580
- /* @__PURE__ */ E(re, { icon: t }),
3581
- n
27
+ /* @__PURE__ */ e(m, { icon: h }),
28
+ a
3582
29
  ]
3583
30
  }
3584
31
  );
3585
32
  }
3586
- function yi({ directory: e }) {
3587
- const t = (n) => {
3588
- const r = n.target.files;
3589
- r != null && Array.from(r).forEach((a) => {
3590
- const { name: o, extension: s } = wr.splitId(a.name), i = new FileReader();
3591
- i.onload = (c) => {
3592
- const { result: l } = c.target;
3593
- e.createFile(o, s, (f) => {
3594
- f.setSource(l);
33
+ function Me({ directory: o }) {
34
+ const h = (a) => {
35
+ const N = a.target.files;
36
+ N != null && Array.from(N).forEach((p) => {
37
+ const { name: u, extension: _ } = te.splitId(p.name), r = new FileReader();
38
+ r.onload = (I) => {
39
+ const { result: y } = I.target;
40
+ o.createFile(u, _, (c) => {
41
+ c.setSource(y);
3595
42
  });
3596
- }, i.readAsDataURL(a);
43
+ }, r.readAsDataURL(p);
3597
44
  });
3598
45
  };
3599
- return /* @__PURE__ */ B("label", { title: "Import", tabIndex: 0, className: H.IconButton, children: [
3600
- /* @__PURE__ */ E(
46
+ return /* @__PURE__ */ i("label", { title: "Import", tabIndex: 0, className: l.IconButton, children: [
47
+ /* @__PURE__ */ e(
3601
48
  "input",
3602
49
  {
3603
50
  type: "file",
3604
51
  id: "import",
3605
52
  multiple: !0,
3606
53
  style: { display: "none" },
3607
- onChange: t
54
+ onChange: h
3608
55
  }
3609
56
  ),
3610
- /* @__PURE__ */ E(re, { icon: fi })
57
+ /* @__PURE__ */ e(m, { icon: he })
3611
58
  ] });
3612
59
  }
3613
- const Dn = {
60
+ const R = {
3614
61
  NONE: 0,
3615
62
  SINGLE: 1,
3616
63
  MULTIPLE: 2
3617
- }, bi = "_FileProperties_s5har_1", vi = "_Icon_s5har_17", xi = "_Section_s5har_49", Ei = "_Line_s5har_91", Ai = "_AppIcon_s5har_135", G = {
3618
- FileProperties: bi,
3619
- Icon: vi,
3620
- Section: xi,
3621
- Line: Ei,
3622
- AppIcon: Ai
3623
- };
3624
- function Oi({ modal: e, params: t, file: n, ...r }) {
3625
- const { appsConfig: a } = Yn(), o = n.extension != null ? a.getAppByFileExtension(n.extension) : null;
3626
- return /* @__PURE__ */ B(Pr, { className: G.FileProperties, modal: e, params: t, ...r, children: [
3627
- /* @__PURE__ */ B("span", { className: G.Section, children: [
3628
- /* @__PURE__ */ E(Gt, { className: G.Icon, source: n.getIconUrl() }),
3629
- /* @__PURE__ */ E("p", { className: `${G.Line} ${Mt.TextBold}`, children: n.id })
64
+ }, Fe = "_FileProperties_s5har_1", Ue = "_Icon_s5har_17", $e = "_Section_s5har_49", ze = "_Line_s5har_91", He = "_AppIcon_s5har_135", d = {
65
+ FileProperties: Fe,
66
+ Icon: Ue,
67
+ Section: $e,
68
+ Line: ze,
69
+ AppIcon: He
70
+ };
71
+ function Ve({ modal: o, params: h, file: a, ...N }) {
72
+ const { appsConfig: p } = G(), u = a.extension != null ? p.getAppByFileExtension(a.extension) : null;
73
+ return /* @__PURE__ */ i(ne, { className: d.FileProperties, modal: o, params: h, ...N, children: [
74
+ /* @__PURE__ */ i("span", { className: d.Section, children: [
75
+ /* @__PURE__ */ e(O, { className: d.Icon, source: a.getIconUrl() }),
76
+ /* @__PURE__ */ e("p", { className: `${d.Line} ${P.TextBold}`, children: a.id })
3630
77
  ] }),
3631
- /* @__PURE__ */ B("span", { className: G.Section, children: [
3632
- /* @__PURE__ */ B("p", { className: G.Line, children: [
78
+ /* @__PURE__ */ i("span", { className: d.Section, children: [
79
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3633
80
  "Type: ",
3634
- n.getType()
81
+ a.getType()
3635
82
  ] }),
3636
- o != null && /* @__PURE__ */ B("span", { className: G.Line, children: [
83
+ u != null && /* @__PURE__ */ i("span", { className: d.Line, children: [
3637
84
  "Opens with:",
3638
- /* @__PURE__ */ E(Gt, { className: G.AppIcon, source: o.iconUrl ?? "" }),
3639
- o.name
85
+ /* @__PURE__ */ e(O, { className: d.AppIcon, source: u.iconUrl ?? "" }),
86
+ u.name
3640
87
  ] })
3641
88
  ] }),
3642
- /* @__PURE__ */ B("span", { className: G.Section, children: [
3643
- /* @__PURE__ */ B("p", { className: G.Line, children: [
89
+ /* @__PURE__ */ i("span", { className: d.Section, children: [
90
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3644
91
  "Location: ",
3645
- n.path
92
+ a.path
3646
93
  ] }),
3647
- /* @__PURE__ */ B("p", { className: G.Line, children: [
94
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3648
95
  "Size: ",
3649
- Vt.getByteSize(n.source ?? n.content),
96
+ D.getByteSize(a.source ?? a.content),
3650
97
  " bytes"
3651
98
  ] }),
3652
- /* @__PURE__ */ B("p", { className: G.Line, children: [
99
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3653
100
  "Size on drive: ",
3654
- Vt.getByteSize(n.toString()),
101
+ D.getByteSize(a.toString()),
3655
102
  " bytes"
3656
103
  ] })
3657
104
  ] }),
3658
- /* @__PURE__ */ E("span", { className: G.Section, children: /* @__PURE__ */ B("p", { className: G.Line, children: [
105
+ /* @__PURE__ */ e("span", { className: d.Section, children: /* @__PURE__ */ i("p", { className: d.Line, children: [
3659
106
  "Attributes: ",
3660
- n.isProtected ? "Protected" : "N/A"
107
+ a.isProtected ? "Protected" : "N/A"
3661
108
  ] }) })
3662
109
  ] });
3663
110
  }
3664
- function wi({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a, onSelectionFinish: o }) {
3665
- const s = r != null && n != null && n !== Dn.NONE, i = Sr(), c = Tr(), { windowsConfig: l } = Yn(), [f, p] = nt(i == null ? void 0 : i.navigate(t ?? "~")), [y, b] = nt((f == null ? void 0 : f.path) ?? ""), [L] = nt(!0), { history: A, stateIndex: v, pushState: k, undo: $, redo: _, undoAvailable: F, redoAvailable: d } = _r(f.path), { alert: J } = Cr(), { openWindowedModal: Q } = kr(), { onContextMenu: ge } = Xt({
3666
- Actions: (D) => /* @__PURE__ */ B(Kt, { ...D, children: [
3667
- /* @__PURE__ */ E(Ie, { label: s ? "Select" : "Open", onTrigger: (R, O) => {
3668
- if (s) {
3669
- a == null || a({ files: [O.id], directory: f }), o == null || o();
111
+ function Re({ app: o, path: h, selectorMode: a, Footer: N, onSelectionChange: p, onSelectionFinish: u }) {
112
+ const _ = N != null && a != null && a !== R.NONE, r = oe(), I = re(), { windowsConfig: y } = G(), [c, w] = S(r == null ? void 0 : r.navigate(h ?? "~")), [W, E] = S((c == null ? void 0 : c.path) ?? ""), [L] = S(!0), { history: C, stateIndex: T, pushState: k, undo: Y, redo: j, undoAvailable: K, redoAvailable: Q } = se(c.path), { alert: X } = ie(), { openWindowedModal: B } = ae(), { onContextMenu: q } = M({
113
+ Actions: (s) => /* @__PURE__ */ i(F, { ...s, children: [
114
+ /* @__PURE__ */ e(x, { label: _ ? "Select" : "Open", onTrigger: (t, n) => {
115
+ if (_) {
116
+ p == null || p({ files: [n.id], directory: c }), u == null || u();
3670
117
  return;
3671
118
  }
3672
- c != null && O.open(c);
119
+ I != null && n.open(I);
3673
120
  } }),
3674
- /* @__PURE__ */ E(Ie, { label: "Delete", icon: jn, onTrigger: (R, O) => {
3675
- O.delete();
121
+ /* @__PURE__ */ e(x, { label: "Delete", icon: V, onTrigger: (t, n) => {
122
+ n.delete();
3676
123
  } }),
3677
- /* @__PURE__ */ E(Ie, { label: "Properties", icon: si, onTrigger: (R, O) => {
3678
- Q({
3679
- title: `${O.id} ${l.titleSeparator} Properties`,
3680
- iconUrl: O.getIconUrl(),
3681
- size: new Ue(400, 500),
3682
- Modal: (ee) => /* @__PURE__ */ E(Oi, { file: O, ...ee })
124
+ /* @__PURE__ */ e(x, { label: "Properties", icon: Ne, onTrigger: (t, n) => {
125
+ B({
126
+ title: `${n.id} ${y.titleSeparator} Properties`,
127
+ iconUrl: n.getIconUrl(),
128
+ size: new f(400, 500),
129
+ Modal: (A) => /* @__PURE__ */ e(Ve, { file: n, ...A })
3683
130
  });
3684
131
  } })
3685
132
  ] })
3686
- }), { onContextMenu: Ce } = Xt({
3687
- Actions: (D) => /* @__PURE__ */ B(Kt, { ...D, children: [
3688
- /* @__PURE__ */ E(Ie, { label: "Open", onTrigger: (R, O) => {
3689
- Z(O.linkedPath ?? O.name);
133
+ }), { onContextMenu: J } = M({
134
+ Actions: (s) => /* @__PURE__ */ i(F, { ...s, children: [
135
+ /* @__PURE__ */ e(x, { label: "Open", onTrigger: (t, n) => {
136
+ g(n.linkedPath ?? n.name);
3690
137
  } }),
3691
- /* @__PURE__ */ E(Ir, {}),
3692
- /* @__PURE__ */ E(Ie, { label: "Delete", icon: jn, onTrigger: (R, O) => {
3693
- O.delete();
138
+ /* @__PURE__ */ e(le, {}),
139
+ /* @__PURE__ */ e(x, { label: "Delete", icon: V, onTrigger: (t, n) => {
140
+ n.delete();
3694
141
  } })
3695
142
  ] })
3696
- }), Z = Fr((D, R = !1) => {
3697
- if (D == null)
143
+ }), g = me((s, t = !1) => {
144
+ if (s == null)
3698
145
  return;
3699
- f == null && (R = !0);
3700
- const O = R ? i == null ? void 0 : i.navigate(D) : f.navigate(D);
3701
- O != null && (p(O), b(O.root ? "/" : O.path), k(O.path));
3702
- }, [f, k, i]);
3703
- en(() => {
3704
- if (A.length === 0)
146
+ c == null && (t = !0);
147
+ const n = t ? r == null ? void 0 : r.navigate(s) : c.navigate(s);
148
+ n != null && (w(n), E(n.root ? "/" : n.path), k(n.path));
149
+ }, [c, k, r]);
150
+ H(() => {
151
+ if (C.length === 0)
3705
152
  return;
3706
- const D = A[v], R = i == null ? void 0 : i.navigate(D);
3707
- R != null && (p(R), b(R.root ? "/" : R.path));
3708
- }, [A, v, i]), en(() => {
3709
- const D = (R) => {
3710
- J({
3711
- title: R.message,
153
+ const s = C[T], t = r == null ? void 0 : r.navigate(s);
154
+ t != null && (w(t), E(t.root ? "/" : t.path));
155
+ }, [C, T, r]), H(() => {
156
+ const s = (t) => {
157
+ X({
158
+ title: t.message,
3712
159
  text: "You have exceeded the virtual drive capacity. Files and folders will not be saved until more storage is freed.",
3713
- iconUrl: e == null ? void 0 : e.iconUrl,
3714
- size: new Ue(300, 200),
160
+ iconUrl: o == null ? void 0 : o.iconUrl,
161
+ size: new f(300, 200),
3715
162
  single: !0
3716
163
  });
3717
164
  };
3718
- return i == null || i.on(Jt.EVENT_NAMES.ERROR, D), () => {
3719
- i == null || i.off(Jt.EVENT_NAMES.ERROR, D);
165
+ return r == null || r.on(U.EVENT_NAMES.ERROR, s), () => {
166
+ r == null || r.off(U.EVENT_NAMES.ERROR, s);
3720
167
  };
3721
168
  }, []);
3722
- const Ae = (D) => {
3723
- b(D.target.value);
3724
- }, ke = (D) => {
3725
- let R = D.target.value;
3726
- if (D.key === "Enter") {
3727
- R === "" && (R = "~");
3728
- const O = i == null ? void 0 : i.navigate(R);
3729
- if (O == null) {
3730
- Q({
169
+ const Z = (s) => {
170
+ E(s.target.value);
171
+ }, ee = (s) => {
172
+ let t = s.target.value;
173
+ if (s.key === "Enter") {
174
+ t === "" && (t = "~");
175
+ const n = r == null ? void 0 : r.navigate(t);
176
+ if (n == null) {
177
+ B({
3731
178
  title: "Error",
3732
- iconUrl: e == null ? void 0 : e.iconUrl,
3733
- size: new Ue(300, 150),
3734
- Modal: (ee) => /* @__PURE__ */ B(Qt, { ...ee, children: [
3735
- /* @__PURE__ */ B("p", { children: [
179
+ iconUrl: o == null ? void 0 : o.iconUrl,
180
+ size: new f(300, 150),
181
+ Modal: (A) => /* @__PURE__ */ i($, { ...A, children: [
182
+ /* @__PURE__ */ i("p", { children: [
3736
183
  'Invalid path: "',
3737
- R,
184
+ t,
3738
185
  '"'
3739
186
  ] }),
3740
- /* @__PURE__ */ E("button", { "data-type": Zt.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
187
+ /* @__PURE__ */ e("button", { "data-type": z.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
3741
188
  ] })
3742
189
  });
3743
190
  return;
3744
191
  }
3745
- p(O), b(O.root ? "/" : O.path);
192
+ w(n), E(n.root ? "/" : n.path);
3746
193
  }
3747
- }, he = f.getItemCount(L);
3748
- return /* @__PURE__ */ B("div", { className: s ? `${H.FileExplorer} ${H.Selector}` : H.FileExplorer, children: [
3749
- /* @__PURE__ */ B("div", { className: H.Header, children: [
3750
- /* @__PURE__ */ E(
194
+ }, v = c.getItemCount(L);
195
+ return /* @__PURE__ */ i("div", { className: _ ? `${l.FileExplorer} ${l.Selector}` : l.FileExplorer, children: [
196
+ /* @__PURE__ */ i("div", { className: l.Header, children: [
197
+ /* @__PURE__ */ e(
3751
198
  "button",
3752
199
  {
3753
200
  title: "Back",
3754
201
  tabIndex: 0,
3755
- className: H.IconButton,
202
+ className: l.IconButton,
3756
203
  onClick: () => {
3757
- $();
204
+ Y();
3758
205
  },
3759
- disabled: !F,
3760
- children: /* @__PURE__ */ E(re, { icon: oi })
206
+ disabled: !K,
207
+ children: /* @__PURE__ */ e(m, { icon: _e })
3761
208
  }
3762
209
  ),
3763
- /* @__PURE__ */ E(
210
+ /* @__PURE__ */ e(
3764
211
  "button",
3765
212
  {
3766
213
  title: "Forward",
3767
214
  tabIndex: 0,
3768
- className: H.IconButton,
215
+ className: l.IconButton,
3769
216
  onClick: () => {
3770
- _();
217
+ j();
3771
218
  },
3772
- disabled: !d,
3773
- children: /* @__PURE__ */ E(re, { icon: ai })
219
+ disabled: !Q,
220
+ children: /* @__PURE__ */ e(m, { icon: Ie })
3774
221
  }
3775
222
  ),
3776
- /* @__PURE__ */ E(
223
+ /* @__PURE__ */ e(
3777
224
  "button",
3778
225
  {
3779
226
  title: "Up",
3780
227
  tabIndex: 0,
3781
- className: H.IconButton,
228
+ className: l.IconButton,
3782
229
  onClick: () => {
3783
- Z("..");
230
+ g("..");
3784
231
  },
3785
- disabled: f.isRoot != null && f.isRoot,
3786
- children: /* @__PURE__ */ E(re, { icon: pi })
232
+ disabled: c.isRoot != null && c.isRoot,
233
+ children: /* @__PURE__ */ e(m, { icon: ge })
3787
234
  }
3788
235
  ),
3789
- /* @__PURE__ */ E(
236
+ /* @__PURE__ */ e(
3790
237
  "button",
3791
238
  {
3792
239
  title: "New",
3793
240
  tabIndex: 0,
3794
- className: H.IconButton,
241
+ className: l.IconButton,
3795
242
  onClick: () => {
3796
- Q({
243
+ B({
3797
244
  title: "Error",
3798
- iconUrl: e == null ? void 0 : e.iconUrl,
3799
- size: new Ue(300, 150),
3800
- Modal: (D) => /* @__PURE__ */ B(Qt, { ...D, children: [
3801
- /* @__PURE__ */ E("p", { children: "This folder is protected." }),
3802
- /* @__PURE__ */ E("button", { "data-type": Zt.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
245
+ iconUrl: o == null ? void 0 : o.iconUrl,
246
+ size: new f(300, 150),
247
+ Modal: (s) => /* @__PURE__ */ i($, { ...s, children: [
248
+ /* @__PURE__ */ e("p", { children: "This folder is protected." }),
249
+ /* @__PURE__ */ e("button", { "data-type": z.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
3803
250
  ] })
3804
251
  });
3805
252
  },
3806
- disabled: !f.canBeEdited,
3807
- children: /* @__PURE__ */ E(re, { icon: gi })
253
+ disabled: !c.canBeEdited,
254
+ children: /* @__PURE__ */ e(m, { icon: xe })
3808
255
  }
3809
256
  ),
3810
- /* @__PURE__ */ E(
257
+ /* @__PURE__ */ e(
3811
258
  "input",
3812
259
  {
3813
- value: y,
260
+ value: W,
3814
261
  type: "text",
3815
262
  "aria-label": "Path",
3816
- className: H.PathInput,
263
+ className: l.PathInput,
3817
264
  tabIndex: 0,
3818
- onChange: Ae,
3819
- onKeyDown: ke,
265
+ onChange: Z,
266
+ onKeyDown: ee,
3820
267
  placeholder: "Enter a path..."
3821
268
  }
3822
269
  ),
3823
- /* @__PURE__ */ E(yi, { directory: f }),
3824
- /* @__PURE__ */ E("button", { title: "Search", tabIndex: 0, className: H.IconButton, children: /* @__PURE__ */ E(re, { icon: mi }) }),
3825
- /* @__PURE__ */ E("button", { title: "Settings", tabIndex: 0, className: H.IconButton, children: /* @__PURE__ */ E(re, { icon: li }) })
270
+ /* @__PURE__ */ e(Me, { directory: c }),
271
+ /* @__PURE__ */ e("button", { title: "Search", tabIndex: 0, className: l.IconButton, children: /* @__PURE__ */ e(m, { icon: Ee }) }),
272
+ /* @__PURE__ */ e("button", { title: "Settings", tabIndex: 0, className: l.IconButton, children: /* @__PURE__ */ e(m, { icon: fe }) })
3826
273
  ] }),
3827
- /* @__PURE__ */ B("div", { className: H.Body, children: [
3828
- /* @__PURE__ */ B("div", { className: H.Sidebar, children: [
3829
- /* @__PURE__ */ E(He, { name: "Home", onClick: () => {
3830
- Z("~");
3831
- }, icon: ui }),
3832
- /* @__PURE__ */ E(He, { name: "Desktop", onClick: () => {
3833
- Z("~/Desktop");
3834
- }, icon: hi }),
3835
- /* @__PURE__ */ E(He, { name: "Images", onClick: () => {
3836
- Z("~/Pictures");
3837
- }, icon: ii }),
3838
- /* @__PURE__ */ E(He, { name: "Documents", onClick: () => {
3839
- Z("~/Documents");
3840
- }, icon: ri })
274
+ /* @__PURE__ */ i("div", { className: l.Body, children: [
275
+ /* @__PURE__ */ i("div", { className: l.Sidebar, children: [
276
+ /* @__PURE__ */ e(b, { name: "Home", onClick: () => {
277
+ g("~");
278
+ }, icon: be }),
279
+ /* @__PURE__ */ e(b, { name: "Desktop", onClick: () => {
280
+ g("~/Desktop");
281
+ }, icon: ye }),
282
+ /* @__PURE__ */ e(b, { name: "Images", onClick: () => {
283
+ g("~/Pictures");
284
+ }, icon: we }),
285
+ /* @__PURE__ */ e(b, { name: "Documents", onClick: () => {
286
+ g("~/Documents");
287
+ }, icon: Ce })
3841
288
  ] }),
3842
- /* @__PURE__ */ E(
3843
- Nr,
289
+ /* @__PURE__ */ e(
290
+ ce,
3844
291
  {
3845
- directory: f,
292
+ directory: c,
3846
293
  id: "main",
3847
- className: H.Main,
294
+ className: l.Main,
3848
295
  showHidden: L,
3849
- onOpenFile: (D, R) => {
3850
- if (D.preventDefault(), s)
3851
- return void (o == null ? void 0 : o());
3852
- const O = {};
3853
- (R.extension === "md" || R.extension != null && Mr.includes(R.extension)) && (O.mode = "view"), c == null || c.openFile(R, O);
296
+ onOpenFile: (s, t) => {
297
+ if (s.preventDefault(), _)
298
+ return void (u == null ? void 0 : u());
299
+ const n = {};
300
+ (t.extension === "md" || t.extension != null && de.includes(t.extension)) && (n.mode = "view"), I == null || I.openFile(t, n);
3854
301
  },
3855
- onOpenFolder: (D, R) => {
3856
- Z(R.linkedPath ?? R.name);
302
+ onOpenFolder: (s, t) => {
303
+ g(t.linkedPath ?? t.name);
3857
304
  },
3858
- onContextMenuFile: ge,
3859
- onContextMenuFolder: Ce,
3860
- allowMultiSelect: n !== Dn.SINGLE,
3861
- onSelectionChange: a
305
+ onContextMenuFile: q,
306
+ onContextMenuFolder: J,
307
+ allowMultiSelect: a !== R.SINGLE,
308
+ onSelectionChange: p
3862
309
  }
3863
310
  )
3864
311
  ] }),
3865
- s ? /* @__PURE__ */ E("div", { className: H.Footer, children: /* @__PURE__ */ E(r, {}) }) : /* @__PURE__ */ E("span", { className: H.Footer, children: /* @__PURE__ */ E("p", { className: Mt.TextLight, children: he === 1 ? he + " item" : he + " items" }) })
312
+ _ ? /* @__PURE__ */ e("div", { className: l.Footer, children: /* @__PURE__ */ e(N, {}) }) : /* @__PURE__ */ e("span", { className: l.Footer, children: /* @__PURE__ */ e("p", { className: P.TextLight, children: v === 1 ? v + " item" : v + " items" }) })
3866
313
  ] });
3867
314
  }
3868
- var Pi = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(Pi || {});
3869
- const Ci = new Rr("File Explorer", "file-explorer", wi).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(Lr.APP_ROLES.FileExplorer);
315
+ var Ge = /* @__PURE__ */ ((o) => (o[o.None = 0] = "None", o[o.Single = 1] = "Single", o[o.Multi = 2] = "Multi", o))(Ge || {});
316
+ const Xe = new ue("File Explorer", "file-explorer", Re).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(pe.APP_ROLES.FileExplorer);
3870
317
  export {
3871
- Pi as FileSelectorMode,
3872
- Ci as fileExplorer
318
+ Ge as FileSelectorMode,
319
+ Xe as fileExplorer
3873
320
  };
3874
321
  //# sourceMappingURL=main.js.map