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