prozilla-os 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +3 -4285
- package/dist/main.js.map +1 -1
- package/package.json +9 -7
package/dist/main.js
CHANGED
|
@@ -1,4294 +1,12 @@
|
|
|
1
|
-
import { App as aa, AppsConfig as na, ExecutableResolver as pn, useFontMetrics as vn, useShell as bn, HistoryFlags as yn, Button as _n, utilStyles as xn, useHistory as wn, WebView as kn, isValidUrl as Sn } from "@prozilla-os/core";
|
|
2
1
|
export * from "@prozilla-os/core";
|
|
3
|
-
import { Vector2 as ra, Ansi as An } from "@prozilla-os/shared";
|
|
4
2
|
export * from "@prozilla-os/shared";
|
|
5
3
|
export * from "@prozilla-os/file-explorer";
|
|
6
|
-
|
|
7
|
-
import * as _e from "react";
|
|
8
|
-
import it, { memo as In, forwardRef as En, useRef as le, useState as de, useEffect as Y, useMemo as je, useLayoutEffect as Pn, useId as Cn } from "react";
|
|
4
|
+
export * from "@prozilla-os/terminal";
|
|
9
5
|
export * from "@prozilla-os/text-editor";
|
|
10
6
|
export * from "@prozilla-os/settings";
|
|
11
7
|
export * from "@prozilla-os/media-viewer";
|
|
8
|
+
export * from "@prozilla-os/browser";
|
|
12
9
|
export * from "@prozilla-os/calculator";
|
|
13
10
|
export * from "@prozilla-os/app-center";
|
|
14
|
-
|
|
15
|
-
prefix: "fas",
|
|
16
|
-
iconName: "caret-right",
|
|
17
|
-
icon: [256, 512, [], "f0da", "M249.3 235.8c10.2 12.6 9.5 31.1-2.2 42.8l-128 128c-9.2 9.2-22.9 11.9-34.9 6.9S64.5 396.9 64.5 384l0-256c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l128 128 2.2 2.4z"]
|
|
18
|
-
}, On = {
|
|
19
|
-
prefix: "fas",
|
|
20
|
-
iconName: "caret-left",
|
|
21
|
-
icon: [256, 512, [], "f0d9", "M7.7 235.8c-10.3 12.6-9.5 31.1 2.2 42.8l128 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 128-2.2 2.4z"]
|
|
22
|
-
}, Nn = {
|
|
23
|
-
prefix: "fas",
|
|
24
|
-
iconName: "stop",
|
|
25
|
-
icon: [448, 512, [9209], "f04d", "M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]
|
|
26
|
-
}, Tn = {
|
|
27
|
-
prefix: "fas",
|
|
28
|
-
iconName: "house",
|
|
29
|
-
icon: [512, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z"]
|
|
30
|
-
}, jn = Tn, $n = {
|
|
31
|
-
prefix: "fas",
|
|
32
|
-
iconName: "rotate-right",
|
|
33
|
-
icon: [512, 512, ["redo-alt", "rotate-forward"], "f2f9", "M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]
|
|
34
|
-
};
|
|
35
|
-
(function() {
|
|
36
|
-
try {
|
|
37
|
-
if (typeof document < "u") {
|
|
38
|
-
var e = document.createElement("style");
|
|
39
|
-
e.appendChild(document.createTextNode('._Terminal_1y9ey_1{--char-width: .585rem;--char-height: 1.25rem;position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:.5rem;overflow:auto;height:100%;cursor:text;box-sizing:border-box}._Terminal_1y9ey_1 *{font-family:var(--mono-font-family);letter-spacing:-.03em}._Terminal_1y9ey_1 p,._Terminal_1y9ey_1 pre{margin:0;height:var(--char-height);line-height:var(--char-height);font-size:1rem;letter-spacing:inherit}._VirtualCursor_1y9ey_29{position:absolute;margin-left:.5rem;margin-top:.5rem;width:var(--char-width);height:var(--char-height);background-color:var(--foreground-color-0);mix-blend-mode:difference;pointer-events:none;z-index:10;animation:_blink_1y9ey_1 1s step-end infinite}._History_1y9ey_44{width:100%}._Prefix_1y9ey_48{display:flex;width:max-content;white-space:nowrap}._Input_1y9ey_54,._Output_1y9ey_54{display:flex;flex-direction:row;align-items:center;width:100%;line-height:var(--char-height);font-size:1rem;text-align:start;white-space:pre}._Input_1y9ey_54{height:var(--char-height)}._Input-container_1y9ey_69{--cursor-width: var(--char-width);--cursor-offset: 0;position:relative;height:100%;width:fit-content}._Input-container_1y9ey_69:after{content:"";position:absolute;top:0;left:calc(var(--cursor-offset) * var(--char-width));width:var(--cursor-width);height:100%;background-color:var(--foreground-color-0);animation:_blink_1y9ey_1 1s step-end infinite}._Input-container_1y9ey_69 input{color:transparent;position:absolute;left:0;width:100%;padding:0;background:none;border:none;outline:none;font-size:inherit;caret-color:transparent}@keyframes _blink_1y9ey_1{0%,to{opacity:0}50%{opacity:1}}._Input_1y9ey_54 label{position:absolute;width:100%;height:100%;top:0;left:0;cursor:text}._InterruptButton_1y9ey_120{display:none;gap:.5rem;flex-direction:row-reverse;justify-content:center;align-items:center;position:absolute;bottom:1rem;right:1rem;padding:.5rem 1rem;border-radius:var(--border-radius-1)}._InterruptButton_1y9ey_120>svg{margin:0!important;width:auto}._InterruptButton_1y9ey_120 *{color:inherit}@media(pointer:coarse){._InterruptButton_1y9ey_120{display:flex}}._ansi-black-fg_1y9ey_148{color:var(--black-2)}._ansi-red-fg_1y9ey_149{color:var(--red-0)}._ansi-green-fg_1y9ey_150{color:var(--green-0)}._ansi-yellow-fg_1y9ey_151{color:var(--yellow-0)}._ansi-blue-fg_1y9ey_152{color:var(--blue-0)}._ansi-magenta-fg_1y9ey_153{color:var(--purple-0)}._ansi-cyan-fg_1y9ey_154{color:var(--cyan-0)}._ansi-white-fg_1y9ey_155{color:var(--foreground-color-0)}._ansi-bright-black-fg_1y9ey_157{color:var(--black-2)}._ansi-bright-red-fg_1y9ey_158{color:var(--red-0)}._ansi-bright-green-fg_1y9ey_159{color:var(--green-0)}._ansi-bright-yellow-fg_1y9ey_160{color:var(--yellow-0)}._ansi-bright-blue-fg_1y9ey_161{color:var(--blue-0)}._ansi-bright-magenta-fg_1y9ey_162{color:var(--purple-0)}._ansi-bright-cyan-fg_1y9ey_163{color:var(--cyan-0)}._ansi-bright-white-fg_1y9ey_164{color:var(--foreground-color-0)}._ansi-black-bg_1y9ey_166{background-color:var(--black-2)}._ansi-red-bg_1y9ey_167{background-color:var(--red-0)}._ansi-green-bg_1y9ey_168{background-color:var(--green-0)}._ansi-yellow-bg_1y9ey_169{background-color:var(--yellow-0)}._ansi-blue-bg_1y9ey_170{background-color:var(--blue-0)}._ansi-magenta-bg_1y9ey_171{background-color:var(--purple-0)}._ansi-cyan-bg_1y9ey_172{background-color:var(--cyan-0)}._ansi-white-bg_1y9ey_173{background-color:var(--foreground-color-0)}._ansi-dim_1y9ey_175{opacity:.65}')), document.head.appendChild(e);
|
|
40
|
-
}
|
|
41
|
-
} catch (t) {
|
|
42
|
-
console.error("vite-plugin-css-injected-by-js", t);
|
|
43
|
-
}
|
|
44
|
-
})();
|
|
45
|
-
const Ln = "_Terminal_1y9ey_1", Rn = "_VirtualCursor_1y9ey_29", Dn = "_blink_1y9ey_1", Mn = "_History_1y9ey_44", zn = "_Prefix_1y9ey_48", Un = "_Input_1y9ey_54", Bn = "_Output_1y9ey_54", Wn = "_InterruptButton_1y9ey_120", O = {
|
|
46
|
-
Terminal: Ln,
|
|
47
|
-
VirtualCursor: Rn,
|
|
48
|
-
blink: Dn,
|
|
49
|
-
History: Mn,
|
|
50
|
-
Prefix: zn,
|
|
51
|
-
Input: Un,
|
|
52
|
-
Output: Bn,
|
|
53
|
-
"Input-container": "_Input-container_1y9ey_69",
|
|
54
|
-
InterruptButton: Wn,
|
|
55
|
-
"ansi-black-fg": "_ansi-black-fg_1y9ey_148",
|
|
56
|
-
"ansi-red-fg": "_ansi-red-fg_1y9ey_149",
|
|
57
|
-
"ansi-green-fg": "_ansi-green-fg_1y9ey_150",
|
|
58
|
-
"ansi-yellow-fg": "_ansi-yellow-fg_1y9ey_151",
|
|
59
|
-
"ansi-blue-fg": "_ansi-blue-fg_1y9ey_152",
|
|
60
|
-
"ansi-magenta-fg": "_ansi-magenta-fg_1y9ey_153",
|
|
61
|
-
"ansi-cyan-fg": "_ansi-cyan-fg_1y9ey_154",
|
|
62
|
-
"ansi-white-fg": "_ansi-white-fg_1y9ey_155",
|
|
63
|
-
"ansi-bright-black-fg": "_ansi-bright-black-fg_1y9ey_157",
|
|
64
|
-
"ansi-bright-red-fg": "_ansi-bright-red-fg_1y9ey_158",
|
|
65
|
-
"ansi-bright-green-fg": "_ansi-bright-green-fg_1y9ey_159",
|
|
66
|
-
"ansi-bright-yellow-fg": "_ansi-bright-yellow-fg_1y9ey_160",
|
|
67
|
-
"ansi-bright-blue-fg": "_ansi-bright-blue-fg_1y9ey_161",
|
|
68
|
-
"ansi-bright-magenta-fg": "_ansi-bright-magenta-fg_1y9ey_162",
|
|
69
|
-
"ansi-bright-cyan-fg": "_ansi-bright-cyan-fg_1y9ey_163",
|
|
70
|
-
"ansi-bright-white-fg": "_ansi-bright-white-fg_1y9ey_164",
|
|
71
|
-
"ansi-black-bg": "_ansi-black-bg_1y9ey_166",
|
|
72
|
-
"ansi-red-bg": "_ansi-red-bg_1y9ey_167",
|
|
73
|
-
"ansi-green-bg": "_ansi-green-bg_1y9ey_168",
|
|
74
|
-
"ansi-yellow-bg": "_ansi-yellow-bg_1y9ey_169",
|
|
75
|
-
"ansi-blue-bg": "_ansi-blue-bg_1y9ey_170",
|
|
76
|
-
"ansi-magenta-bg": "_ansi-magenta-bg_1y9ey_171",
|
|
77
|
-
"ansi-cyan-bg": "_ansi-cyan-bg_1y9ey_172",
|
|
78
|
-
"ansi-white-bg": "_ansi-white-bg_1y9ey_173",
|
|
79
|
-
"ansi-dim": "_ansi-dim_1y9ey_175"
|
|
80
|
-
};
|
|
81
|
-
function Hn(e) {
|
|
82
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
83
|
-
}
|
|
84
|
-
var $e, _t;
|
|
85
|
-
function Yn() {
|
|
86
|
-
if (_t) return $e;
|
|
87
|
-
_t = 1;
|
|
88
|
-
const e = [
|
|
89
|
-
[
|
|
90
|
-
{ color: "0, 0, 0", class: "ansi-black" },
|
|
91
|
-
{ color: "187, 0, 0", class: "ansi-red" },
|
|
92
|
-
{ color: "0, 187, 0", class: "ansi-green" },
|
|
93
|
-
{ color: "187, 187, 0", class: "ansi-yellow" },
|
|
94
|
-
{ color: "0, 0, 187", class: "ansi-blue" },
|
|
95
|
-
{ color: "187, 0, 187", class: "ansi-magenta" },
|
|
96
|
-
{ color: "0, 187, 187", class: "ansi-cyan" },
|
|
97
|
-
{ color: "255,255,255", class: "ansi-white" }
|
|
98
|
-
],
|
|
99
|
-
[
|
|
100
|
-
{ color: "85, 85, 85", class: "ansi-bright-black" },
|
|
101
|
-
{ color: "255, 85, 85", class: "ansi-bright-red" },
|
|
102
|
-
{ color: "0, 255, 0", class: "ansi-bright-green" },
|
|
103
|
-
{ color: "255, 255, 85", class: "ansi-bright-yellow" },
|
|
104
|
-
{ color: "85, 85, 255", class: "ansi-bright-blue" },
|
|
105
|
-
{ color: "255, 85, 255", class: "ansi-bright-magenta" },
|
|
106
|
-
{ color: "85, 255, 255", class: "ansi-bright-cyan" },
|
|
107
|
-
{ color: "255, 255, 255", class: "ansi-bright-white" }
|
|
108
|
-
]
|
|
109
|
-
], t = /(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;
|
|
110
|
-
class a {
|
|
111
|
-
/**
|
|
112
|
-
* Anser.escapeForHtml
|
|
113
|
-
* Escape the input HTML.
|
|
114
|
-
*
|
|
115
|
-
* This does the minimum escaping of text to make it compliant with HTML.
|
|
116
|
-
* In particular, the '&','<', and '>' characters are escaped. This should
|
|
117
|
-
* be run prior to `ansiToHtml`.
|
|
118
|
-
*
|
|
119
|
-
* @name Anser.escapeForHtml
|
|
120
|
-
* @function
|
|
121
|
-
* @param {String} txt The input text (containing the ANSI snippets).
|
|
122
|
-
* @returns {String} The escaped html.
|
|
123
|
-
*/
|
|
124
|
-
static escapeForHtml(r) {
|
|
125
|
-
return new a().escapeForHtml(r);
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Anser.linkify
|
|
129
|
-
* Adds the links in the HTML.
|
|
130
|
-
*
|
|
131
|
-
* This replaces any links in the text with anchor tags that display the
|
|
132
|
-
* link. You should apply this after you have run `ansiToHtml` on the text.
|
|
133
|
-
*
|
|
134
|
-
* @name Anser.linkify
|
|
135
|
-
* @function
|
|
136
|
-
* @param {String} txt The input text.
|
|
137
|
-
* @returns {String} The HTML containing the <a> tags (unescaped).
|
|
138
|
-
*/
|
|
139
|
-
static linkify(r) {
|
|
140
|
-
return new a().linkify(r);
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Anser.ansiToHtml
|
|
144
|
-
* This replaces ANSI terminal escape codes with SPAN tags that wrap the
|
|
145
|
-
* content.
|
|
146
|
-
*
|
|
147
|
-
* This function only interprets ANSI SGR (Select Graphic Rendition) codes
|
|
148
|
-
* that can be represented in HTML.
|
|
149
|
-
* For example, cursor movement codes are ignored and hidden from output.
|
|
150
|
-
* The default style uses colors that are very close to the prescribed
|
|
151
|
-
* standard. The standard assumes that the text will have a black
|
|
152
|
-
* background. These colors are set as inline styles on the SPAN tags.
|
|
153
|
-
*
|
|
154
|
-
* Another option is to set `use_classes: true` in the options argument.
|
|
155
|
-
* This will instead set classes on the spans so the colors can be set via
|
|
156
|
-
* CSS. The class names used are of the format `ansi-*-fg/bg` and
|
|
157
|
-
* `ansi-bright-*-fg/bg` where `*` is the color name,
|
|
158
|
-
* i.e black/red/green/yellow/blue/magenta/cyan/white.
|
|
159
|
-
*
|
|
160
|
-
* @name Anser.ansiToHtml
|
|
161
|
-
* @function
|
|
162
|
-
* @param {String} txt The input text.
|
|
163
|
-
* @param {Object} options The options passed to the ansiToHTML method.
|
|
164
|
-
* @returns {String} The HTML output.
|
|
165
|
-
*/
|
|
166
|
-
static ansiToHtml(r, i) {
|
|
167
|
-
return new a().ansiToHtml(r, i);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Anser.ansiToJson
|
|
171
|
-
* Converts ANSI input into JSON output.
|
|
172
|
-
*
|
|
173
|
-
* @name Anser.ansiToJson
|
|
174
|
-
* @function
|
|
175
|
-
* @param {String} txt The input text.
|
|
176
|
-
* @param {Object} options The options passed to the ansiToHTML method.
|
|
177
|
-
* @returns {String} The HTML output.
|
|
178
|
-
*/
|
|
179
|
-
static ansiToJson(r, i) {
|
|
180
|
-
return new a().ansiToJson(r, i);
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Anser.ansiToText
|
|
184
|
-
* Converts ANSI input into text output.
|
|
185
|
-
*
|
|
186
|
-
* @name Anser.ansiToText
|
|
187
|
-
* @function
|
|
188
|
-
* @param {String} txt The input text.
|
|
189
|
-
* @returns {String} The text output.
|
|
190
|
-
*/
|
|
191
|
-
static ansiToText(r) {
|
|
192
|
-
return new a().ansiToText(r);
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Anser
|
|
196
|
-
* The `Anser` class.
|
|
197
|
-
*
|
|
198
|
-
* @name Anser
|
|
199
|
-
* @function
|
|
200
|
-
* @returns {Anser}
|
|
201
|
-
*/
|
|
202
|
-
constructor() {
|
|
203
|
-
this.fg = this.bg = this.fg_truecolor = this.bg_truecolor = null, this.bright = 0, this.decorations = [];
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* setupPalette
|
|
207
|
-
* Sets up the palette.
|
|
208
|
-
*
|
|
209
|
-
* @name setupPalette
|
|
210
|
-
* @function
|
|
211
|
-
*/
|
|
212
|
-
setupPalette() {
|
|
213
|
-
this.PALETTE_COLORS = [];
|
|
214
|
-
for (let s = 0; s < 2; ++s)
|
|
215
|
-
for (let l = 0; l < 8; ++l)
|
|
216
|
-
this.PALETTE_COLORS.push(e[s][l].color);
|
|
217
|
-
let r = [0, 95, 135, 175, 215, 255], i = (s, l, f) => r[s] + ", " + r[l] + ", " + r[f];
|
|
218
|
-
for (let s = 0; s < 6; ++s)
|
|
219
|
-
for (let l = 0; l < 6; ++l)
|
|
220
|
-
for (let f = 0; f < 6; ++f)
|
|
221
|
-
this.PALETTE_COLORS.push(i(s, l, f));
|
|
222
|
-
let o = 8;
|
|
223
|
-
for (let s = 0; s < 24; ++s, o += 10)
|
|
224
|
-
this.PALETTE_COLORS.push(o + ", " + o + ", " + o);
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* escapeForHtml
|
|
228
|
-
* Escapes the input text.
|
|
229
|
-
*
|
|
230
|
-
* @name escapeForHtml
|
|
231
|
-
* @function
|
|
232
|
-
* @param {String} txt The input text.
|
|
233
|
-
* @returns {String} The escpaed HTML output.
|
|
234
|
-
*/
|
|
235
|
-
escapeForHtml(r) {
|
|
236
|
-
return r.replace(
|
|
237
|
-
/[&<>\"]/gm,
|
|
238
|
-
(i) => i == "&" ? "&" : i == '"' ? """ : i == "<" ? "<" : i == ">" ? ">" : ""
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* linkify
|
|
243
|
-
* Adds HTML link elements.
|
|
244
|
-
*
|
|
245
|
-
* @name linkify
|
|
246
|
-
* @function
|
|
247
|
-
* @param {String} txt The input text.
|
|
248
|
-
* @returns {String} The HTML output containing link elements.
|
|
249
|
-
*/
|
|
250
|
-
linkify(r) {
|
|
251
|
-
return r.replace(t, (i) => `<a href="${i}">${i}</a>`);
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* ansiToHtml
|
|
255
|
-
* Converts ANSI input into HTML output.
|
|
256
|
-
*
|
|
257
|
-
* @name ansiToHtml
|
|
258
|
-
* @function
|
|
259
|
-
* @param {String} txt The input text.
|
|
260
|
-
* @param {Object} options The options passed ot the `process` method.
|
|
261
|
-
* @returns {String} The HTML output.
|
|
262
|
-
*/
|
|
263
|
-
ansiToHtml(r, i) {
|
|
264
|
-
return this.process(r, i, !0);
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* ansiToJson
|
|
268
|
-
* Converts ANSI input into HTML output.
|
|
269
|
-
*
|
|
270
|
-
* @name ansiToJson
|
|
271
|
-
* @function
|
|
272
|
-
* @param {String} txt The input text.
|
|
273
|
-
* @param {Object} options The options passed ot the `process` method.
|
|
274
|
-
* @returns {String} The JSON output.
|
|
275
|
-
*/
|
|
276
|
-
ansiToJson(r, i) {
|
|
277
|
-
return i = i || {}, i.json = !0, i.clearLine = !1, this.process(r, i, !0);
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* ansiToText
|
|
281
|
-
* Converts ANSI input into HTML output.
|
|
282
|
-
*
|
|
283
|
-
* @name ansiToText
|
|
284
|
-
* @function
|
|
285
|
-
* @param {String} txt The input text.
|
|
286
|
-
* @returns {String} The text output.
|
|
287
|
-
*/
|
|
288
|
-
ansiToText(r) {
|
|
289
|
-
return this.process(r, {}, !1);
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* process
|
|
293
|
-
* Processes the input.
|
|
294
|
-
*
|
|
295
|
-
* @name process
|
|
296
|
-
* @function
|
|
297
|
-
* @param {String} txt The input text.
|
|
298
|
-
* @param {Object} options An object passed to `processChunk` method, extended with:
|
|
299
|
-
*
|
|
300
|
-
* - `json` (Boolean): If `true`, the result will be an object.
|
|
301
|
-
* - `use_classes` (Boolean): If `true`, HTML classes will be appended to the HTML output.
|
|
302
|
-
*
|
|
303
|
-
* @param {Boolean} markup
|
|
304
|
-
*/
|
|
305
|
-
process(r, i, o) {
|
|
306
|
-
let s = this, l = r.split(/\033\[/), f = l.shift();
|
|
307
|
-
i == null && (i = {}), i.clearLine = /\r/.test(r);
|
|
308
|
-
let d = l.map((u) => this.processChunk(u, i, o));
|
|
309
|
-
if (i && i.json) {
|
|
310
|
-
let u = s.processChunkJson("");
|
|
311
|
-
return u.content = f, u.clearLine = i.clearLine, d.unshift(u), i.remove_empty && (d = d.filter((c) => !c.isEmpty())), d;
|
|
312
|
-
} else
|
|
313
|
-
d.unshift(f);
|
|
314
|
-
return d.join("");
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* processChunkJson
|
|
318
|
-
* Processes the current chunk into json output.
|
|
319
|
-
*
|
|
320
|
-
* @name processChunkJson
|
|
321
|
-
* @function
|
|
322
|
-
* @param {String} text The input text.
|
|
323
|
-
* @param {Object} options An object containing the following fields:
|
|
324
|
-
*
|
|
325
|
-
* - `json` (Boolean): If `true`, the result will be an object.
|
|
326
|
-
* - `use_classes` (Boolean): If `true`, HTML classes will be appended to the HTML output.
|
|
327
|
-
*
|
|
328
|
-
* @param {Boolean} markup If false, the colors will not be parsed.
|
|
329
|
-
* @return {Object} The result object:
|
|
330
|
-
*
|
|
331
|
-
* - `content` (String): The text.
|
|
332
|
-
* - `fg` (String|null): The foreground color.
|
|
333
|
-
* - `bg` (String|null): The background color.
|
|
334
|
-
* - `fg_truecolor` (String|null): The foreground true color (if 16m color is enabled).
|
|
335
|
-
* - `bg_truecolor` (String|null): The background true color (if 16m color is enabled).
|
|
336
|
-
* - `clearLine` (Boolean): `true` if a carriageReturn \r was fount at end of line.
|
|
337
|
-
* - `was_processed` (Bolean): `true` if the colors were processed, `false` otherwise.
|
|
338
|
-
* - `isEmpty` (Function): A function returning `true` if the content is empty, or `false` otherwise.
|
|
339
|
-
*
|
|
340
|
-
*/
|
|
341
|
-
processChunkJson(r, i, o) {
|
|
342
|
-
i = typeof i > "u" ? {} : i;
|
|
343
|
-
let s = i.use_classes = typeof i.use_classes < "u" && i.use_classes, l = i.key = s ? "class" : "color", f = {
|
|
344
|
-
content: r,
|
|
345
|
-
fg: null,
|
|
346
|
-
bg: null,
|
|
347
|
-
fg_truecolor: null,
|
|
348
|
-
bg_truecolor: null,
|
|
349
|
-
isInverted: !1,
|
|
350
|
-
clearLine: i.clearLine,
|
|
351
|
-
decoration: null,
|
|
352
|
-
decorations: [],
|
|
353
|
-
was_processed: !1,
|
|
354
|
-
isEmpty: () => !f.content
|
|
355
|
-
}, d = r.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);
|
|
356
|
-
if (!d) return f;
|
|
357
|
-
f.content = d[4];
|
|
358
|
-
let u = d[2].split(";");
|
|
359
|
-
if (d[1] !== "" || d[3] !== "m" || !o)
|
|
360
|
-
return f;
|
|
361
|
-
let c = this;
|
|
362
|
-
for (; u.length > 0; ) {
|
|
363
|
-
let p = u.shift(), h = parseInt(p);
|
|
364
|
-
if (isNaN(h) || h === 0)
|
|
365
|
-
c.fg = c.bg = null, c.decorations = [];
|
|
366
|
-
else if (h === 1)
|
|
367
|
-
c.decorations.push("bold");
|
|
368
|
-
else if (h === 2)
|
|
369
|
-
c.decorations.push("dim");
|
|
370
|
-
else if (h === 3)
|
|
371
|
-
c.decorations.push("italic");
|
|
372
|
-
else if (h === 4)
|
|
373
|
-
c.decorations.push("underline");
|
|
374
|
-
else if (h === 5)
|
|
375
|
-
c.decorations.push("blink");
|
|
376
|
-
else if (h === 7)
|
|
377
|
-
c.decorations.push("reverse");
|
|
378
|
-
else if (h === 8)
|
|
379
|
-
c.decorations.push("hidden");
|
|
380
|
-
else if (h === 9)
|
|
381
|
-
c.decorations.push("strikethrough");
|
|
382
|
-
else if (h === 21)
|
|
383
|
-
c.removeDecoration("bold");
|
|
384
|
-
else if (h === 22)
|
|
385
|
-
c.removeDecoration("bold"), c.removeDecoration("dim");
|
|
386
|
-
else if (h === 23)
|
|
387
|
-
c.removeDecoration("italic");
|
|
388
|
-
else if (h === 24)
|
|
389
|
-
c.removeDecoration("underline");
|
|
390
|
-
else if (h === 25)
|
|
391
|
-
c.removeDecoration("blink");
|
|
392
|
-
else if (h === 27)
|
|
393
|
-
c.removeDecoration("reverse");
|
|
394
|
-
else if (h === 28)
|
|
395
|
-
c.removeDecoration("hidden");
|
|
396
|
-
else if (h === 29)
|
|
397
|
-
c.removeDecoration("strikethrough");
|
|
398
|
-
else if (h === 39)
|
|
399
|
-
c.fg = null;
|
|
400
|
-
else if (h === 49)
|
|
401
|
-
c.bg = null;
|
|
402
|
-
else if (h >= 30 && h < 38)
|
|
403
|
-
c.fg = e[0][h % 10][l];
|
|
404
|
-
else if (h >= 90 && h < 98)
|
|
405
|
-
c.fg = e[1][h % 10][l];
|
|
406
|
-
else if (h >= 40 && h < 48)
|
|
407
|
-
c.bg = e[0][h % 10][l];
|
|
408
|
-
else if (h >= 100 && h < 108)
|
|
409
|
-
c.bg = e[1][h % 10][l];
|
|
410
|
-
else if (h === 38 || h === 48) {
|
|
411
|
-
let b = h === 38;
|
|
412
|
-
if (u.length >= 1) {
|
|
413
|
-
let w = u.shift();
|
|
414
|
-
if (w === "5" && u.length >= 1) {
|
|
415
|
-
let x = parseInt(u.shift());
|
|
416
|
-
if (x >= 0 && x <= 255)
|
|
417
|
-
if (!s)
|
|
418
|
-
this.PALETTE_COLORS || c.setupPalette(), b ? c.fg = this.PALETTE_COLORS[x] : c.bg = this.PALETTE_COLORS[x];
|
|
419
|
-
else {
|
|
420
|
-
let y = x >= 16 ? "ansi-palette-" + x : e[x > 7 ? 1 : 0][x % 8].class;
|
|
421
|
-
b ? c.fg = y : c.bg = y;
|
|
422
|
-
}
|
|
423
|
-
} else if (w === "2" && u.length >= 3) {
|
|
424
|
-
let x = parseInt(u.shift()), y = parseInt(u.shift()), g = parseInt(u.shift());
|
|
425
|
-
if (x >= 0 && x <= 255 && y >= 0 && y <= 255 && g >= 0 && g <= 255) {
|
|
426
|
-
let P = x + ", " + y + ", " + g;
|
|
427
|
-
s ? b ? (c.fg = "ansi-truecolor", c.fg_truecolor = P) : (c.bg = "ansi-truecolor", c.bg_truecolor = P) : b ? c.fg = P : c.bg = P;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
return c.fg === null && c.bg === null && c.decorations.length === 0 || (f.fg = c.fg, f.bg = c.bg, f.fg_truecolor = c.fg_truecolor, f.bg_truecolor = c.bg_truecolor, f.decorations = c.decorations, f.decoration = c.decorations.slice(-1).pop() || null, f.was_processed = !0), f;
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* processChunk
|
|
437
|
-
* Processes the current chunk of text.
|
|
438
|
-
*
|
|
439
|
-
* @name processChunk
|
|
440
|
-
* @function
|
|
441
|
-
* @param {String} text The input text.
|
|
442
|
-
* @param {Object} options An object containing the following fields:
|
|
443
|
-
*
|
|
444
|
-
* - `json` (Boolean): If `true`, the result will be an object.
|
|
445
|
-
* - `use_classes` (Boolean): If `true`, HTML classes will be appended to the HTML output.
|
|
446
|
-
*
|
|
447
|
-
* @param {Boolean} markup If false, the colors will not be parsed.
|
|
448
|
-
* @return {Object|String} The result (object if `json` is wanted back or string otherwise).
|
|
449
|
-
*/
|
|
450
|
-
processChunk(r, i, o) {
|
|
451
|
-
i = i || {};
|
|
452
|
-
let s = this.processChunkJson(r, i, o), l = i.use_classes;
|
|
453
|
-
if (s.decorations = s.decorations.filter((h) => {
|
|
454
|
-
if (h === "reverse") {
|
|
455
|
-
s.fg || (s.fg = e[0][7][l ? "class" : "color"]), s.bg || (s.bg = e[0][0][l ? "class" : "color"]);
|
|
456
|
-
let b = s.fg;
|
|
457
|
-
s.fg = s.bg, s.bg = b;
|
|
458
|
-
let w = s.fg_truecolor;
|
|
459
|
-
return s.fg_truecolor = s.bg_truecolor, s.bg_truecolor = w, s.isInverted = !0, !1;
|
|
460
|
-
}
|
|
461
|
-
return !0;
|
|
462
|
-
}), i.json)
|
|
463
|
-
return s;
|
|
464
|
-
if (s.isEmpty())
|
|
465
|
-
return "";
|
|
466
|
-
if (!s.was_processed)
|
|
467
|
-
return s.content;
|
|
468
|
-
let f = [], d = [], u = [], c = {}, p = (h) => {
|
|
469
|
-
let b = [], w;
|
|
470
|
-
for (w in h)
|
|
471
|
-
h.hasOwnProperty(w) && b.push("data-" + w + '="' + this.escapeForHtml(h[w]) + '"');
|
|
472
|
-
return b.length > 0 ? " " + b.join(" ") : "";
|
|
473
|
-
};
|
|
474
|
-
return s.isInverted && (c["ansi-is-inverted"] = "true"), s.fg && (l ? (f.push(s.fg + "-fg"), s.fg_truecolor !== null && (c["ansi-truecolor-fg"] = s.fg_truecolor, s.fg_truecolor = null)) : f.push("color:rgb(" + s.fg + ")")), s.bg && (l ? (f.push(s.bg + "-bg"), s.bg_truecolor !== null && (c["ansi-truecolor-bg"] = s.bg_truecolor, s.bg_truecolor = null)) : f.push("background-color:rgb(" + s.bg + ")")), s.decorations.forEach((h) => {
|
|
475
|
-
if (l) {
|
|
476
|
-
d.push("ansi-" + h);
|
|
477
|
-
return;
|
|
478
|
-
}
|
|
479
|
-
h === "bold" ? d.push("font-weight:bold") : h === "dim" ? d.push("opacity:0.5") : h === "italic" ? d.push("font-style:italic") : h === "hidden" ? d.push("visibility:hidden") : h === "strikethrough" ? u.push("line-through") : u.push(h);
|
|
480
|
-
}), u.length && d.push("text-decoration:" + u.join(" ")), l ? '<span class="' + f.concat(d).join(" ") + '"' + p(c) + ">" + s.content + "</span>" : '<span style="' + f.concat(d).join(";") + '"' + p(c) + ">" + s.content + "</span>";
|
|
481
|
-
}
|
|
482
|
-
removeDecoration(r) {
|
|
483
|
-
const i = this.decorations.indexOf(r);
|
|
484
|
-
i >= 0 && this.decorations.splice(i, 1);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
return $e = a, $e;
|
|
488
|
-
}
|
|
489
|
-
var Vn = Yn();
|
|
490
|
-
const Gn = /* @__PURE__ */ Hn(Vn);
|
|
491
|
-
var ie = { exports: {} }, xt;
|
|
492
|
-
function Kn() {
|
|
493
|
-
if (xt) return ie.exports;
|
|
494
|
-
xt = 1;
|
|
495
|
-
function e(r) {
|
|
496
|
-
if (!r) return "";
|
|
497
|
-
if (!/\r/.test(r)) return r;
|
|
498
|
-
for (r = r.replace(/\r+\n/gm, `
|
|
499
|
-
`); /\r./.test(r); )
|
|
500
|
-
r = r.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm, function(i, o, s) {
|
|
501
|
-
return s + o.slice(s.length);
|
|
502
|
-
});
|
|
503
|
-
return r;
|
|
504
|
-
}
|
|
505
|
-
function t(r) {
|
|
506
|
-
for (var i = 0, o = 0; o < r.length; o++)
|
|
507
|
-
r[i].length <= r[o].length && (i = o);
|
|
508
|
-
return i;
|
|
509
|
-
}
|
|
510
|
-
function a(r) {
|
|
511
|
-
if (!/\r/.test(r)) return r;
|
|
512
|
-
for (var i = r.split("\r"), o = []; i.length > 0; ) {
|
|
513
|
-
var s = t(i);
|
|
514
|
-
o.push(i[s]), i = i.slice(s + 1);
|
|
515
|
-
}
|
|
516
|
-
return o.join("\r");
|
|
517
|
-
}
|
|
518
|
-
function n(r) {
|
|
519
|
-
if (!r) return "";
|
|
520
|
-
if (!/\r/.test(r)) return r;
|
|
521
|
-
if (!/\n/.test(r)) return a(r);
|
|
522
|
-
r = r.replace(/\r+\n/gm, `
|
|
523
|
-
`);
|
|
524
|
-
var i = r.lastIndexOf(`
|
|
525
|
-
`);
|
|
526
|
-
return e(r.slice(0, i)) + `
|
|
527
|
-
` + a(r.slice(i + 1));
|
|
528
|
-
}
|
|
529
|
-
return ie.exports = e, ie.exports.escapeCarriageReturn = e, ie.exports.escapeCarriageReturnSafe = n, ie.exports;
|
|
530
|
-
}
|
|
531
|
-
var Xn = Kn();
|
|
532
|
-
function Jn(e, t) {
|
|
533
|
-
return e = Xn.escapeCarriageReturn(er(e)), Gn.ansiToJson(e, {
|
|
534
|
-
json: !0,
|
|
535
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
536
|
-
remove_empty: !0,
|
|
537
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
538
|
-
use_classes: t
|
|
539
|
-
});
|
|
540
|
-
}
|
|
541
|
-
function qn(e) {
|
|
542
|
-
const t = [];
|
|
543
|
-
return e.bg && t.push(O[`${e.bg}-bg`]), e.fg && t.push(O[`${e.fg}-fg`]), e.decoration && t.push(O[`ansi-${e.decoration}`]), t.length === 0 ? null : t.join(" ");
|
|
544
|
-
}
|
|
545
|
-
function Zn(e) {
|
|
546
|
-
const t = {};
|
|
547
|
-
switch (e.bg && (t.backgroundColor = `rgb(${e.bg})`), e.fg && (t.color = `rgb(${e.fg})`), e.decoration) {
|
|
548
|
-
case "bold":
|
|
549
|
-
t.fontWeight = "bold";
|
|
550
|
-
break;
|
|
551
|
-
case "dim":
|
|
552
|
-
t.opacity = "0.5";
|
|
553
|
-
break;
|
|
554
|
-
case "italic":
|
|
555
|
-
t.fontStyle = "italic";
|
|
556
|
-
break;
|
|
557
|
-
case "hidden":
|
|
558
|
-
t.visibility = "hidden";
|
|
559
|
-
break;
|
|
560
|
-
case "strikethrough":
|
|
561
|
-
t.textDecoration = "line-through";
|
|
562
|
-
break;
|
|
563
|
-
case "underline":
|
|
564
|
-
t.textDecoration = "underline";
|
|
565
|
-
break;
|
|
566
|
-
case "blink":
|
|
567
|
-
t.textDecoration = "blink";
|
|
568
|
-
break;
|
|
569
|
-
}
|
|
570
|
-
return t;
|
|
571
|
-
}
|
|
572
|
-
function Qn(e, t, a, n) {
|
|
573
|
-
const r = t ? null : Zn(a), i = t ? qn(a) : null;
|
|
574
|
-
if (!e)
|
|
575
|
-
return _e.createElement(
|
|
576
|
-
"pre",
|
|
577
|
-
{ style: r, key: n, className: i },
|
|
578
|
-
a.content
|
|
579
|
-
);
|
|
580
|
-
const o = [], s = /(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g;
|
|
581
|
-
let l = 0, f;
|
|
582
|
-
for (; (f = s.exec(a.content)) !== null; ) {
|
|
583
|
-
const [, d, u] = f, c = f.index + d.length;
|
|
584
|
-
c > l && o.push(a.content.substring(l, c));
|
|
585
|
-
const p = u.startsWith("www.") ? `http://${u}` : u;
|
|
586
|
-
o.push(
|
|
587
|
-
_e.createElement(
|
|
588
|
-
"a",
|
|
589
|
-
{
|
|
590
|
-
key: l,
|
|
591
|
-
href: p,
|
|
592
|
-
target: "_blank"
|
|
593
|
-
},
|
|
594
|
-
`${u}`
|
|
595
|
-
)
|
|
596
|
-
), l = s.lastIndex;
|
|
597
|
-
}
|
|
598
|
-
return l < a.content.length && o.push(a.content.substring(l)), _e.createElement("span", { style: r, key: n, className: i }, o);
|
|
599
|
-
}
|
|
600
|
-
function ia(e) {
|
|
601
|
-
const { className: t, useClasses: a, children: n, linkify: r } = e;
|
|
602
|
-
return _e.createElement(
|
|
603
|
-
"code",
|
|
604
|
-
{ className: t },
|
|
605
|
-
Jn(n ?? "", a ?? !1).map(
|
|
606
|
-
Qn.bind(null, r ?? !1, a ?? !1)
|
|
607
|
-
)
|
|
608
|
-
);
|
|
609
|
-
}
|
|
610
|
-
function er(e) {
|
|
611
|
-
let t = e;
|
|
612
|
-
do
|
|
613
|
-
e = t, t = e.replace(/[^\n]\x08/gm, "");
|
|
614
|
-
while (t.length < e.length);
|
|
615
|
-
return e;
|
|
616
|
-
}
|
|
617
|
-
const Le = In(En(({ text: e }, t) => {
|
|
618
|
-
const a = e?.split(`
|
|
619
|
-
`);
|
|
620
|
-
return /* @__PURE__ */ I("div", { ref: t, children: a?.map(
|
|
621
|
-
(n, r) => /* @__PURE__ */ I(ia, { className: O.Output, useClasses: !0, children: n === "" ? " " : n }, r)
|
|
622
|
-
) });
|
|
623
|
-
}));
|
|
624
|
-
function tr({ value: e, prefix: t, onChange: a, onKeyUp: n, onKeyDown: r, inputRef: i }) {
|
|
625
|
-
const [o, s] = de(0), l = le(null);
|
|
626
|
-
Pn(() => {
|
|
627
|
-
const d = i.current;
|
|
628
|
-
d && l.current !== null ? (d.setSelectionRange(l.current, l.current), s(l.current), l.current = null) : d && d.selectionStart !== null && s(d.selectionStart);
|
|
629
|
-
}, [e, i]);
|
|
630
|
-
const f = () => {
|
|
631
|
-
const d = i.current?.selectionStart;
|
|
632
|
-
d != null && s(d);
|
|
633
|
-
};
|
|
634
|
-
return /* @__PURE__ */ G("span", { className: O.Input, children: [
|
|
635
|
-
t && /* @__PURE__ */ I(ia, { className: O.Prefix, useClasses: !0, children: t }),
|
|
636
|
-
/* @__PURE__ */ G("span", { className: O["Input-container"], style: { "--cursor-offset": o }, children: [
|
|
637
|
-
/* @__PURE__ */ I("span", { "aria-hidden": "true", children: e }),
|
|
638
|
-
/* @__PURE__ */ I(
|
|
639
|
-
"input",
|
|
640
|
-
{
|
|
641
|
-
id: "input",
|
|
642
|
-
value: e,
|
|
643
|
-
"aria-label": "Command input",
|
|
644
|
-
onChange: (d) => {
|
|
645
|
-
l.current = d.target.selectionStart, a(d);
|
|
646
|
-
},
|
|
647
|
-
ref: i,
|
|
648
|
-
onKeyUp: n,
|
|
649
|
-
onKeyDown: (d) => {
|
|
650
|
-
r?.(d), f();
|
|
651
|
-
},
|
|
652
|
-
onClick: f,
|
|
653
|
-
onSelect: f,
|
|
654
|
-
spellCheck: !1,
|
|
655
|
-
autoComplete: "off",
|
|
656
|
-
autoFocus: !0
|
|
657
|
-
}
|
|
658
|
-
)
|
|
659
|
-
] })
|
|
660
|
-
] });
|
|
661
|
-
}
|
|
662
|
-
function ar({ app: e, path: t, input: a, setTitle: n, close: r, active: i, focus: o, autoSubmit: s }) {
|
|
663
|
-
const l = le(null), f = le(null), d = le(ra.ZERO), { charSize: u, containerSize: c, sentinel: p } = vn({ containerRef: l }), [h, b] = de(0), [w, x] = de(!1), [y, g] = bn({
|
|
664
|
-
app: e,
|
|
665
|
-
path: t,
|
|
666
|
-
input: a,
|
|
667
|
-
exit: r,
|
|
668
|
-
sizeRef: d
|
|
669
|
-
});
|
|
670
|
-
Y(() => {
|
|
671
|
-
s && a && g.prompt && !w && (x(!0), window.confirm(`Do you want to run the following command?
|
|
672
|
-
|
|
673
|
-
${a}`) && (y.run(a), b((S) => S + 1)));
|
|
674
|
-
}, [s, a, w, g.prompt, y]), Y(() => {
|
|
675
|
-
n?.(An.strip(g.prompt).trim());
|
|
676
|
-
}, [g.prompt, n]), Y(() => {
|
|
677
|
-
i && (g.stream ? l.current?.focus() : f.current?.focus());
|
|
678
|
-
}, [i, g.stream]), Y(() => {
|
|
679
|
-
if (f.current && !g.stream) {
|
|
680
|
-
const S = g.line.length;
|
|
681
|
-
f.current.setSelectionRange(S, S);
|
|
682
|
-
}
|
|
683
|
-
}, [g.historyOffset]);
|
|
684
|
-
const P = () => {
|
|
685
|
-
l.current && (l.current.scrollTop = l.current.scrollHeight);
|
|
686
|
-
};
|
|
687
|
-
Y(() => {
|
|
688
|
-
P();
|
|
689
|
-
}, [g.history.length, g.line, g.ttyBuffer]), Y(() => {
|
|
690
|
-
d.current.set(c.x, c.y);
|
|
691
|
-
}, [c]);
|
|
692
|
-
const k = (S) => {
|
|
693
|
-
y.handleKeyDown(S), S.key === "Enter" && !g.stream && b((C) => C + 1);
|
|
694
|
-
}, J = (S) => {
|
|
695
|
-
y.setLine(S.target.value);
|
|
696
|
-
}, Ne = je(() => {
|
|
697
|
-
if (g.isUsingAltScreen)
|
|
698
|
-
return g.ttyBuffer ? /* @__PURE__ */ I(Le, { text: g.ttyBuffer }) : null;
|
|
699
|
-
let S = 0;
|
|
700
|
-
for (let C = g.history.length - 1; C >= 0; C--)
|
|
701
|
-
if ((g.history[C].flags & yn.Clear) !== 0) {
|
|
702
|
-
S = C + 1;
|
|
703
|
-
break;
|
|
704
|
-
}
|
|
705
|
-
return g.history.slice(S).map(
|
|
706
|
-
(C, H) => /* @__PURE__ */ I(Le, { text: C.displayText }, H)
|
|
707
|
-
);
|
|
708
|
-
}, [g.history, g.isUsingAltScreen, g.ttyBuffer]), re = (S) => {
|
|
709
|
-
o?.(S), S.button === 2 && (S.preventDefault(), navigator.clipboard.readText().then((C) => {
|
|
710
|
-
if (g.isRawMode) {
|
|
711
|
-
for (const ve of C)
|
|
712
|
-
y.handleKeyDown({
|
|
713
|
-
key: ve,
|
|
714
|
-
ctrlKey: S.ctrlKey,
|
|
715
|
-
metaKey: S.metaKey,
|
|
716
|
-
shiftKey: S.shiftKey,
|
|
717
|
-
preventDefault: S.preventDefault.bind(S)
|
|
718
|
-
});
|
|
719
|
-
return;
|
|
720
|
-
}
|
|
721
|
-
const H = f.current;
|
|
722
|
-
if (!H)
|
|
723
|
-
return;
|
|
724
|
-
const bt = H.selectionStart ?? g.line.length, gn = H.selectionEnd ?? g.line.length;
|
|
725
|
-
y.setLine((ve) => ve.substring(0, bt) + C + ve.substring(gn));
|
|
726
|
-
const yt = bt + C.length;
|
|
727
|
-
setTimeout(() => {
|
|
728
|
-
H.focus(), H.setSelectionRange(yt, yt);
|
|
729
|
-
}, 0);
|
|
730
|
-
}).catch((C) => {
|
|
731
|
-
console.error(C);
|
|
732
|
-
}));
|
|
733
|
-
}, Te = (S) => {
|
|
734
|
-
S.preventDefault();
|
|
735
|
-
}, mn = je(() => u.x === 0 || u.y === 0 ? {} : {
|
|
736
|
-
"--char-width": `${u.x}px`,
|
|
737
|
-
"--char-height": `${u.y}px`
|
|
738
|
-
}, [u]), hn = je(() => !g.isRawMode || u.x === 0 || u.y === 0 ? {} : {
|
|
739
|
-
left: g.cursorPosition.x * u.x,
|
|
740
|
-
top: g.cursorPosition.y * u.y
|
|
741
|
-
}, [g.cursorPosition, g.isRawMode, u]);
|
|
742
|
-
return /* @__PURE__ */ G(
|
|
743
|
-
"div",
|
|
744
|
-
{
|
|
745
|
-
ref: l,
|
|
746
|
-
tabIndex: 0,
|
|
747
|
-
className: O.Terminal,
|
|
748
|
-
style: mn,
|
|
749
|
-
onKeyDown: k,
|
|
750
|
-
onMouseDown: re,
|
|
751
|
-
onContextMenu: Te,
|
|
752
|
-
onClick: (S) => {
|
|
753
|
-
window.getSelection()?.toString().length || (S.preventDefault(), g.stream ? l.current?.focus() : f.current?.focus());
|
|
754
|
-
},
|
|
755
|
-
children: [
|
|
756
|
-
p,
|
|
757
|
-
/* @__PURE__ */ G("div", { className: O.History, children: [
|
|
758
|
-
Ne,
|
|
759
|
-
g.isRawMode && /* @__PURE__ */ I("div", { className: O.VirtualCursor, style: hn })
|
|
760
|
-
] }),
|
|
761
|
-
!g.isUsingAltScreen && !g.stream && /* @__PURE__ */ I(
|
|
762
|
-
tr,
|
|
763
|
-
{
|
|
764
|
-
value: g.line,
|
|
765
|
-
prefix: (g.ttyBuffer ?? "") + g.prompt,
|
|
766
|
-
onChange: J,
|
|
767
|
-
inputRef: f
|
|
768
|
-
},
|
|
769
|
-
h
|
|
770
|
-
),
|
|
771
|
-
!g.isUsingAltScreen && g.stream && g.ttyBuffer && /* @__PURE__ */ I(Le, { text: g.ttyBuffer }),
|
|
772
|
-
g.stream && /* @__PURE__ */ I(
|
|
773
|
-
_n,
|
|
774
|
-
{
|
|
775
|
-
className: `${O.InterruptButton} ${xn.TextBold}`,
|
|
776
|
-
onClick: () => y.interrupt(),
|
|
777
|
-
title: "Interrupt (Ctrl+C)",
|
|
778
|
-
icon: Nn,
|
|
779
|
-
children: "Stop"
|
|
780
|
-
}
|
|
781
|
-
)
|
|
782
|
-
]
|
|
783
|
-
}
|
|
784
|
-
);
|
|
785
|
-
}
|
|
786
|
-
class nr extends aa {
|
|
787
|
-
constructor() {
|
|
788
|
-
super("Terminal", "terminal", ar), this.setIconUrl("https://os.prozilla.dev/assets/apps/icons/terminal.svg"), this.setRole(na.APP_ROLES.terminal), this.setCategory("Utilities & tools");
|
|
789
|
-
}
|
|
790
|
-
addCommands(t) {
|
|
791
|
-
return t.forEach((a) => this.addCommand(a)), this;
|
|
792
|
-
}
|
|
793
|
-
addCommand(t) {
|
|
794
|
-
return pn.builtins.push(t), this;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
const rr = new nr();
|
|
798
|
-
rr.setMetadata({ name: "@prozilla-os/terminal", version: "2.0.1", author: "Prozilla", website: "https://os.prozilla.dev/terminal" });
|
|
799
|
-
function He(e, t) {
|
|
800
|
-
(t == null || t > e.length) && (t = e.length);
|
|
801
|
-
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
|
|
802
|
-
return n;
|
|
803
|
-
}
|
|
804
|
-
function ir(e) {
|
|
805
|
-
if (Array.isArray(e)) return e;
|
|
806
|
-
}
|
|
807
|
-
function or(e) {
|
|
808
|
-
if (Array.isArray(e)) return He(e);
|
|
809
|
-
}
|
|
810
|
-
function sr(e, t) {
|
|
811
|
-
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
812
|
-
}
|
|
813
|
-
function lr(e, t) {
|
|
814
|
-
for (var a = 0; a < t.length; a++) {
|
|
815
|
-
var n = t[a];
|
|
816
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, oa(n.key), n);
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
function fr(e, t, a) {
|
|
820
|
-
return t && lr(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
821
|
-
writable: !1
|
|
822
|
-
}), e;
|
|
823
|
-
}
|
|
824
|
-
function xe(e, t) {
|
|
825
|
-
var a = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
826
|
-
if (!a) {
|
|
827
|
-
if (Array.isArray(e) || (a = ot(e)) || t) {
|
|
828
|
-
a && (e = a);
|
|
829
|
-
var n = 0, r = function() {
|
|
830
|
-
};
|
|
831
|
-
return {
|
|
832
|
-
s: r,
|
|
833
|
-
n: function() {
|
|
834
|
-
return n >= e.length ? {
|
|
835
|
-
done: !0
|
|
836
|
-
} : {
|
|
837
|
-
done: !1,
|
|
838
|
-
value: e[n++]
|
|
839
|
-
};
|
|
840
|
-
},
|
|
841
|
-
e: function(l) {
|
|
842
|
-
throw l;
|
|
843
|
-
},
|
|
844
|
-
f: r
|
|
845
|
-
};
|
|
846
|
-
}
|
|
847
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
848
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
849
|
-
}
|
|
850
|
-
var i, o = !0, s = !1;
|
|
851
|
-
return {
|
|
852
|
-
s: function() {
|
|
853
|
-
a = a.call(e);
|
|
854
|
-
},
|
|
855
|
-
n: function() {
|
|
856
|
-
var l = a.next();
|
|
857
|
-
return o = l.done, l;
|
|
858
|
-
},
|
|
859
|
-
e: function(l) {
|
|
860
|
-
s = !0, i = l;
|
|
861
|
-
},
|
|
862
|
-
f: function() {
|
|
863
|
-
try {
|
|
864
|
-
o || a.return == null || a.return();
|
|
865
|
-
} finally {
|
|
866
|
-
if (s) throw i;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
};
|
|
870
|
-
}
|
|
871
|
-
function _(e, t, a) {
|
|
872
|
-
return (t = oa(t)) in e ? Object.defineProperty(e, t, {
|
|
873
|
-
value: a,
|
|
874
|
-
enumerable: !0,
|
|
875
|
-
configurable: !0,
|
|
876
|
-
writable: !0
|
|
877
|
-
}) : e[t] = a, e;
|
|
878
|
-
}
|
|
879
|
-
function ur(e) {
|
|
880
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
881
|
-
}
|
|
882
|
-
function cr(e, t) {
|
|
883
|
-
var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
884
|
-
if (a != null) {
|
|
885
|
-
var n, r, i, o, s = [], l = !0, f = !1;
|
|
886
|
-
try {
|
|
887
|
-
if (i = (a = a.call(e)).next, t === 0) {
|
|
888
|
-
if (Object(a) !== a) return;
|
|
889
|
-
l = !1;
|
|
890
|
-
} else for (; !(l = (n = i.call(a)).done) && (s.push(n.value), s.length !== t); l = !0) ;
|
|
891
|
-
} catch (d) {
|
|
892
|
-
f = !0, r = d;
|
|
893
|
-
} finally {
|
|
894
|
-
try {
|
|
895
|
-
if (!l && a.return != null && (o = a.return(), Object(o) !== o)) return;
|
|
896
|
-
} finally {
|
|
897
|
-
if (f) throw r;
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
return s;
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
function dr() {
|
|
904
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
905
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
906
|
-
}
|
|
907
|
-
function mr() {
|
|
908
|
-
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
909
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
910
|
-
}
|
|
911
|
-
function wt(e, t) {
|
|
912
|
-
var a = Object.keys(e);
|
|
913
|
-
if (Object.getOwnPropertySymbols) {
|
|
914
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
915
|
-
t && (n = n.filter(function(r) {
|
|
916
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
917
|
-
})), a.push.apply(a, n);
|
|
918
|
-
}
|
|
919
|
-
return a;
|
|
920
|
-
}
|
|
921
|
-
function m(e) {
|
|
922
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
923
|
-
var a = arguments[t] != null ? arguments[t] : {};
|
|
924
|
-
t % 2 ? wt(Object(a), !0).forEach(function(n) {
|
|
925
|
-
_(e, n, a[n]);
|
|
926
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : wt(Object(a)).forEach(function(n) {
|
|
927
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
|
|
928
|
-
});
|
|
929
|
-
}
|
|
930
|
-
return e;
|
|
931
|
-
}
|
|
932
|
-
function Ee(e, t) {
|
|
933
|
-
return ir(e) || cr(e, t) || ot(e, t) || dr();
|
|
934
|
-
}
|
|
935
|
-
function T(e) {
|
|
936
|
-
return or(e) || ur(e) || ot(e) || mr();
|
|
937
|
-
}
|
|
938
|
-
function hr(e, t) {
|
|
939
|
-
if (typeof e != "object" || !e) return e;
|
|
940
|
-
var a = e[Symbol.toPrimitive];
|
|
941
|
-
if (a !== void 0) {
|
|
942
|
-
var n = a.call(e, t);
|
|
943
|
-
if (typeof n != "object") return n;
|
|
944
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
945
|
-
}
|
|
946
|
-
return (t === "string" ? String : Number)(e);
|
|
947
|
-
}
|
|
948
|
-
function oa(e) {
|
|
949
|
-
var t = hr(e, "string");
|
|
950
|
-
return typeof t == "symbol" ? t : t + "";
|
|
951
|
-
}
|
|
952
|
-
function Se(e) {
|
|
953
|
-
"@babel/helpers - typeof";
|
|
954
|
-
return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
955
|
-
return typeof t;
|
|
956
|
-
} : function(t) {
|
|
957
|
-
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
958
|
-
}, Se(e);
|
|
959
|
-
}
|
|
960
|
-
function ot(e, t) {
|
|
961
|
-
if (e) {
|
|
962
|
-
if (typeof e == "string") return He(e, t);
|
|
963
|
-
var a = {}.toString.call(e).slice(8, -1);
|
|
964
|
-
return a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set" ? Array.from(e) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? He(e, t) : void 0;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
var kt = function() {
|
|
968
|
-
}, st = {}, sa = {}, la = null, fa = {
|
|
969
|
-
mark: kt,
|
|
970
|
-
measure: kt
|
|
971
|
-
};
|
|
972
|
-
try {
|
|
973
|
-
typeof window < "u" && (st = window), typeof document < "u" && (sa = document), typeof MutationObserver < "u" && (la = MutationObserver), typeof performance < "u" && (fa = performance);
|
|
974
|
-
} catch {
|
|
975
|
-
}
|
|
976
|
-
var gr = st.navigator || {}, St = gr.userAgent, At = St === void 0 ? "" : St, U = st, A = sa, It = la, be = fa;
|
|
977
|
-
U.document;
|
|
978
|
-
var z = !!A.documentElement && !!A.head && typeof A.addEventListener == "function" && typeof A.createElement == "function", ua = ~At.indexOf("MSIE") || ~At.indexOf("Trident/"), Re, pr = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, vr = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i, ca = {
|
|
979
|
-
classic: {
|
|
980
|
-
fa: "solid",
|
|
981
|
-
fas: "solid",
|
|
982
|
-
"fa-solid": "solid",
|
|
983
|
-
far: "regular",
|
|
984
|
-
"fa-regular": "regular",
|
|
985
|
-
fal: "light",
|
|
986
|
-
"fa-light": "light",
|
|
987
|
-
fat: "thin",
|
|
988
|
-
"fa-thin": "thin",
|
|
989
|
-
fab: "brands",
|
|
990
|
-
"fa-brands": "brands"
|
|
991
|
-
},
|
|
992
|
-
duotone: {
|
|
993
|
-
fa: "solid",
|
|
994
|
-
fad: "solid",
|
|
995
|
-
"fa-solid": "solid",
|
|
996
|
-
"fa-duotone": "solid",
|
|
997
|
-
fadr: "regular",
|
|
998
|
-
"fa-regular": "regular",
|
|
999
|
-
fadl: "light",
|
|
1000
|
-
"fa-light": "light",
|
|
1001
|
-
fadt: "thin",
|
|
1002
|
-
"fa-thin": "thin"
|
|
1003
|
-
},
|
|
1004
|
-
sharp: {
|
|
1005
|
-
fa: "solid",
|
|
1006
|
-
fass: "solid",
|
|
1007
|
-
"fa-solid": "solid",
|
|
1008
|
-
fasr: "regular",
|
|
1009
|
-
"fa-regular": "regular",
|
|
1010
|
-
fasl: "light",
|
|
1011
|
-
"fa-light": "light",
|
|
1012
|
-
fast: "thin",
|
|
1013
|
-
"fa-thin": "thin"
|
|
1014
|
-
},
|
|
1015
|
-
"sharp-duotone": {
|
|
1016
|
-
fa: "solid",
|
|
1017
|
-
fasds: "solid",
|
|
1018
|
-
"fa-solid": "solid",
|
|
1019
|
-
fasdr: "regular",
|
|
1020
|
-
"fa-regular": "regular",
|
|
1021
|
-
fasdl: "light",
|
|
1022
|
-
"fa-light": "light",
|
|
1023
|
-
fasdt: "thin",
|
|
1024
|
-
"fa-thin": "thin"
|
|
1025
|
-
},
|
|
1026
|
-
slab: {
|
|
1027
|
-
"fa-regular": "regular",
|
|
1028
|
-
faslr: "regular"
|
|
1029
|
-
},
|
|
1030
|
-
"slab-press": {
|
|
1031
|
-
"fa-regular": "regular",
|
|
1032
|
-
faslpr: "regular"
|
|
1033
|
-
},
|
|
1034
|
-
thumbprint: {
|
|
1035
|
-
"fa-light": "light",
|
|
1036
|
-
fatl: "light"
|
|
1037
|
-
},
|
|
1038
|
-
whiteboard: {
|
|
1039
|
-
"fa-semibold": "semibold",
|
|
1040
|
-
fawsb: "semibold"
|
|
1041
|
-
},
|
|
1042
|
-
notdog: {
|
|
1043
|
-
"fa-solid": "solid",
|
|
1044
|
-
fans: "solid"
|
|
1045
|
-
},
|
|
1046
|
-
"notdog-duo": {
|
|
1047
|
-
"fa-solid": "solid",
|
|
1048
|
-
fands: "solid"
|
|
1049
|
-
},
|
|
1050
|
-
etch: {
|
|
1051
|
-
"fa-solid": "solid",
|
|
1052
|
-
faes: "solid"
|
|
1053
|
-
},
|
|
1054
|
-
graphite: {
|
|
1055
|
-
"fa-thin": "thin",
|
|
1056
|
-
fagt: "thin"
|
|
1057
|
-
},
|
|
1058
|
-
jelly: {
|
|
1059
|
-
"fa-regular": "regular",
|
|
1060
|
-
fajr: "regular"
|
|
1061
|
-
},
|
|
1062
|
-
"jelly-fill": {
|
|
1063
|
-
"fa-regular": "regular",
|
|
1064
|
-
fajfr: "regular"
|
|
1065
|
-
},
|
|
1066
|
-
"jelly-duo": {
|
|
1067
|
-
"fa-regular": "regular",
|
|
1068
|
-
fajdr: "regular"
|
|
1069
|
-
},
|
|
1070
|
-
chisel: {
|
|
1071
|
-
"fa-regular": "regular",
|
|
1072
|
-
facr: "regular"
|
|
1073
|
-
},
|
|
1074
|
-
utility: {
|
|
1075
|
-
"fa-semibold": "semibold",
|
|
1076
|
-
fausb: "semibold"
|
|
1077
|
-
},
|
|
1078
|
-
"utility-duo": {
|
|
1079
|
-
"fa-semibold": "semibold",
|
|
1080
|
-
faudsb: "semibold"
|
|
1081
|
-
},
|
|
1082
|
-
"utility-fill": {
|
|
1083
|
-
"fa-semibold": "semibold",
|
|
1084
|
-
faufsb: "semibold"
|
|
1085
|
-
}
|
|
1086
|
-
}, br = {
|
|
1087
|
-
GROUP: "duotone-group",
|
|
1088
|
-
PRIMARY: "primary",
|
|
1089
|
-
SECONDARY: "secondary"
|
|
1090
|
-
}, da = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], E = "classic", he = "duotone", ma = "sharp", ha = "sharp-duotone", ga = "chisel", pa = "etch", va = "graphite", ba = "jelly", ya = "jelly-duo", _a = "jelly-fill", xa = "notdog", wa = "notdog-duo", ka = "slab", Sa = "slab-press", Aa = "thumbprint", Ia = "utility", Ea = "utility-duo", Pa = "utility-fill", Ca = "whiteboard", yr = "Classic", _r = "Duotone", xr = "Sharp", wr = "Sharp Duotone", kr = "Chisel", Sr = "Etch", Ar = "Graphite", Ir = "Jelly", Er = "Jelly Duo", Pr = "Jelly Fill", Cr = "Notdog", Fr = "Notdog Duo", Or = "Slab", Nr = "Slab Press", Tr = "Thumbprint", jr = "Utility", $r = "Utility Duo", Lr = "Utility Fill", Rr = "Whiteboard", Fa = [E, he, ma, ha, ga, pa, va, ba, ya, _a, xa, wa, ka, Sa, Aa, Ia, Ea, Pa, Ca];
|
|
1091
|
-
Re = {}, _(_(_(_(_(_(_(_(_(_(Re, E, yr), he, _r), ma, xr), ha, wr), ga, kr), pa, Sr), va, Ar), ba, Ir), ya, Er), _a, Pr), _(_(_(_(_(_(_(_(_(Re, xa, Cr), wa, Fr), ka, Or), Sa, Nr), Aa, Tr), Ia, jr), Ea, $r), Pa, Lr), Ca, Rr);
|
|
1092
|
-
var Dr = {
|
|
1093
|
-
classic: {
|
|
1094
|
-
900: "fas",
|
|
1095
|
-
400: "far",
|
|
1096
|
-
normal: "far",
|
|
1097
|
-
300: "fal",
|
|
1098
|
-
100: "fat"
|
|
1099
|
-
},
|
|
1100
|
-
duotone: {
|
|
1101
|
-
900: "fad",
|
|
1102
|
-
400: "fadr",
|
|
1103
|
-
300: "fadl",
|
|
1104
|
-
100: "fadt"
|
|
1105
|
-
},
|
|
1106
|
-
sharp: {
|
|
1107
|
-
900: "fass",
|
|
1108
|
-
400: "fasr",
|
|
1109
|
-
300: "fasl",
|
|
1110
|
-
100: "fast"
|
|
1111
|
-
},
|
|
1112
|
-
"sharp-duotone": {
|
|
1113
|
-
900: "fasds",
|
|
1114
|
-
400: "fasdr",
|
|
1115
|
-
300: "fasdl",
|
|
1116
|
-
100: "fasdt"
|
|
1117
|
-
},
|
|
1118
|
-
slab: {
|
|
1119
|
-
400: "faslr"
|
|
1120
|
-
},
|
|
1121
|
-
"slab-press": {
|
|
1122
|
-
400: "faslpr"
|
|
1123
|
-
},
|
|
1124
|
-
whiteboard: {
|
|
1125
|
-
600: "fawsb"
|
|
1126
|
-
},
|
|
1127
|
-
thumbprint: {
|
|
1128
|
-
300: "fatl"
|
|
1129
|
-
},
|
|
1130
|
-
notdog: {
|
|
1131
|
-
900: "fans"
|
|
1132
|
-
},
|
|
1133
|
-
"notdog-duo": {
|
|
1134
|
-
900: "fands"
|
|
1135
|
-
},
|
|
1136
|
-
etch: {
|
|
1137
|
-
900: "faes"
|
|
1138
|
-
},
|
|
1139
|
-
graphite: {
|
|
1140
|
-
100: "fagt"
|
|
1141
|
-
},
|
|
1142
|
-
chisel: {
|
|
1143
|
-
400: "facr"
|
|
1144
|
-
},
|
|
1145
|
-
jelly: {
|
|
1146
|
-
400: "fajr"
|
|
1147
|
-
},
|
|
1148
|
-
"jelly-fill": {
|
|
1149
|
-
400: "fajfr"
|
|
1150
|
-
},
|
|
1151
|
-
"jelly-duo": {
|
|
1152
|
-
400: "fajdr"
|
|
1153
|
-
},
|
|
1154
|
-
utility: {
|
|
1155
|
-
600: "fausb"
|
|
1156
|
-
},
|
|
1157
|
-
"utility-duo": {
|
|
1158
|
-
600: "faudsb"
|
|
1159
|
-
},
|
|
1160
|
-
"utility-fill": {
|
|
1161
|
-
600: "faufsb"
|
|
1162
|
-
}
|
|
1163
|
-
}, Mr = {
|
|
1164
|
-
"Font Awesome 7 Free": {
|
|
1165
|
-
900: "fas",
|
|
1166
|
-
400: "far"
|
|
1167
|
-
},
|
|
1168
|
-
"Font Awesome 7 Pro": {
|
|
1169
|
-
900: "fas",
|
|
1170
|
-
400: "far",
|
|
1171
|
-
normal: "far",
|
|
1172
|
-
300: "fal",
|
|
1173
|
-
100: "fat"
|
|
1174
|
-
},
|
|
1175
|
-
"Font Awesome 7 Brands": {
|
|
1176
|
-
400: "fab",
|
|
1177
|
-
normal: "fab"
|
|
1178
|
-
},
|
|
1179
|
-
"Font Awesome 7 Duotone": {
|
|
1180
|
-
900: "fad",
|
|
1181
|
-
400: "fadr",
|
|
1182
|
-
normal: "fadr",
|
|
1183
|
-
300: "fadl",
|
|
1184
|
-
100: "fadt"
|
|
1185
|
-
},
|
|
1186
|
-
"Font Awesome 7 Sharp": {
|
|
1187
|
-
900: "fass",
|
|
1188
|
-
400: "fasr",
|
|
1189
|
-
normal: "fasr",
|
|
1190
|
-
300: "fasl",
|
|
1191
|
-
100: "fast"
|
|
1192
|
-
},
|
|
1193
|
-
"Font Awesome 7 Sharp Duotone": {
|
|
1194
|
-
900: "fasds",
|
|
1195
|
-
400: "fasdr",
|
|
1196
|
-
normal: "fasdr",
|
|
1197
|
-
300: "fasdl",
|
|
1198
|
-
100: "fasdt"
|
|
1199
|
-
},
|
|
1200
|
-
"Font Awesome 7 Jelly": {
|
|
1201
|
-
400: "fajr",
|
|
1202
|
-
normal: "fajr"
|
|
1203
|
-
},
|
|
1204
|
-
"Font Awesome 7 Jelly Fill": {
|
|
1205
|
-
400: "fajfr",
|
|
1206
|
-
normal: "fajfr"
|
|
1207
|
-
},
|
|
1208
|
-
"Font Awesome 7 Jelly Duo": {
|
|
1209
|
-
400: "fajdr",
|
|
1210
|
-
normal: "fajdr"
|
|
1211
|
-
},
|
|
1212
|
-
"Font Awesome 7 Slab": {
|
|
1213
|
-
400: "faslr",
|
|
1214
|
-
normal: "faslr"
|
|
1215
|
-
},
|
|
1216
|
-
"Font Awesome 7 Slab Press": {
|
|
1217
|
-
400: "faslpr",
|
|
1218
|
-
normal: "faslpr"
|
|
1219
|
-
},
|
|
1220
|
-
"Font Awesome 7 Thumbprint": {
|
|
1221
|
-
300: "fatl",
|
|
1222
|
-
normal: "fatl"
|
|
1223
|
-
},
|
|
1224
|
-
"Font Awesome 7 Notdog": {
|
|
1225
|
-
900: "fans",
|
|
1226
|
-
normal: "fans"
|
|
1227
|
-
},
|
|
1228
|
-
"Font Awesome 7 Notdog Duo": {
|
|
1229
|
-
900: "fands",
|
|
1230
|
-
normal: "fands"
|
|
1231
|
-
},
|
|
1232
|
-
"Font Awesome 7 Etch": {
|
|
1233
|
-
900: "faes",
|
|
1234
|
-
normal: "faes"
|
|
1235
|
-
},
|
|
1236
|
-
"Font Awesome 7 Graphite": {
|
|
1237
|
-
100: "fagt",
|
|
1238
|
-
normal: "fagt"
|
|
1239
|
-
},
|
|
1240
|
-
"Font Awesome 7 Chisel": {
|
|
1241
|
-
400: "facr",
|
|
1242
|
-
normal: "facr"
|
|
1243
|
-
},
|
|
1244
|
-
"Font Awesome 7 Whiteboard": {
|
|
1245
|
-
600: "fawsb",
|
|
1246
|
-
normal: "fawsb"
|
|
1247
|
-
},
|
|
1248
|
-
"Font Awesome 7 Utility": {
|
|
1249
|
-
600: "fausb",
|
|
1250
|
-
normal: "fausb"
|
|
1251
|
-
},
|
|
1252
|
-
"Font Awesome 7 Utility Duo": {
|
|
1253
|
-
600: "faudsb",
|
|
1254
|
-
normal: "faudsb"
|
|
1255
|
-
},
|
|
1256
|
-
"Font Awesome 7 Utility Fill": {
|
|
1257
|
-
600: "faufsb",
|
|
1258
|
-
normal: "faufsb"
|
|
1259
|
-
}
|
|
1260
|
-
}, zr = /* @__PURE__ */ new Map([["classic", {
|
|
1261
|
-
defaultShortPrefixId: "fas",
|
|
1262
|
-
defaultStyleId: "solid",
|
|
1263
|
-
styleIds: ["solid", "regular", "light", "thin", "brands"],
|
|
1264
|
-
futureStyleIds: [],
|
|
1265
|
-
defaultFontWeight: 900
|
|
1266
|
-
}], ["duotone", {
|
|
1267
|
-
defaultShortPrefixId: "fad",
|
|
1268
|
-
defaultStyleId: "solid",
|
|
1269
|
-
styleIds: ["solid", "regular", "light", "thin"],
|
|
1270
|
-
futureStyleIds: [],
|
|
1271
|
-
defaultFontWeight: 900
|
|
1272
|
-
}], ["sharp", {
|
|
1273
|
-
defaultShortPrefixId: "fass",
|
|
1274
|
-
defaultStyleId: "solid",
|
|
1275
|
-
styleIds: ["solid", "regular", "light", "thin"],
|
|
1276
|
-
futureStyleIds: [],
|
|
1277
|
-
defaultFontWeight: 900
|
|
1278
|
-
}], ["sharp-duotone", {
|
|
1279
|
-
defaultShortPrefixId: "fasds",
|
|
1280
|
-
defaultStyleId: "solid",
|
|
1281
|
-
styleIds: ["solid", "regular", "light", "thin"],
|
|
1282
|
-
futureStyleIds: [],
|
|
1283
|
-
defaultFontWeight: 900
|
|
1284
|
-
}], ["chisel", {
|
|
1285
|
-
defaultShortPrefixId: "facr",
|
|
1286
|
-
defaultStyleId: "regular",
|
|
1287
|
-
styleIds: ["regular"],
|
|
1288
|
-
futureStyleIds: [],
|
|
1289
|
-
defaultFontWeight: 400
|
|
1290
|
-
}], ["etch", {
|
|
1291
|
-
defaultShortPrefixId: "faes",
|
|
1292
|
-
defaultStyleId: "solid",
|
|
1293
|
-
styleIds: ["solid"],
|
|
1294
|
-
futureStyleIds: [],
|
|
1295
|
-
defaultFontWeight: 900
|
|
1296
|
-
}], ["graphite", {
|
|
1297
|
-
defaultShortPrefixId: "fagt",
|
|
1298
|
-
defaultStyleId: "thin",
|
|
1299
|
-
styleIds: ["thin"],
|
|
1300
|
-
futureStyleIds: [],
|
|
1301
|
-
defaultFontWeight: 100
|
|
1302
|
-
}], ["jelly", {
|
|
1303
|
-
defaultShortPrefixId: "fajr",
|
|
1304
|
-
defaultStyleId: "regular",
|
|
1305
|
-
styleIds: ["regular"],
|
|
1306
|
-
futureStyleIds: [],
|
|
1307
|
-
defaultFontWeight: 400
|
|
1308
|
-
}], ["jelly-duo", {
|
|
1309
|
-
defaultShortPrefixId: "fajdr",
|
|
1310
|
-
defaultStyleId: "regular",
|
|
1311
|
-
styleIds: ["regular"],
|
|
1312
|
-
futureStyleIds: [],
|
|
1313
|
-
defaultFontWeight: 400
|
|
1314
|
-
}], ["jelly-fill", {
|
|
1315
|
-
defaultShortPrefixId: "fajfr",
|
|
1316
|
-
defaultStyleId: "regular",
|
|
1317
|
-
styleIds: ["regular"],
|
|
1318
|
-
futureStyleIds: [],
|
|
1319
|
-
defaultFontWeight: 400
|
|
1320
|
-
}], ["notdog", {
|
|
1321
|
-
defaultShortPrefixId: "fans",
|
|
1322
|
-
defaultStyleId: "solid",
|
|
1323
|
-
styleIds: ["solid"],
|
|
1324
|
-
futureStyleIds: [],
|
|
1325
|
-
defaultFontWeight: 900
|
|
1326
|
-
}], ["notdog-duo", {
|
|
1327
|
-
defaultShortPrefixId: "fands",
|
|
1328
|
-
defaultStyleId: "solid",
|
|
1329
|
-
styleIds: ["solid"],
|
|
1330
|
-
futureStyleIds: [],
|
|
1331
|
-
defaultFontWeight: 900
|
|
1332
|
-
}], ["slab", {
|
|
1333
|
-
defaultShortPrefixId: "faslr",
|
|
1334
|
-
defaultStyleId: "regular",
|
|
1335
|
-
styleIds: ["regular"],
|
|
1336
|
-
futureStyleIds: [],
|
|
1337
|
-
defaultFontWeight: 400
|
|
1338
|
-
}], ["slab-press", {
|
|
1339
|
-
defaultShortPrefixId: "faslpr",
|
|
1340
|
-
defaultStyleId: "regular",
|
|
1341
|
-
styleIds: ["regular"],
|
|
1342
|
-
futureStyleIds: [],
|
|
1343
|
-
defaultFontWeight: 400
|
|
1344
|
-
}], ["thumbprint", {
|
|
1345
|
-
defaultShortPrefixId: "fatl",
|
|
1346
|
-
defaultStyleId: "light",
|
|
1347
|
-
styleIds: ["light"],
|
|
1348
|
-
futureStyleIds: [],
|
|
1349
|
-
defaultFontWeight: 300
|
|
1350
|
-
}], ["utility", {
|
|
1351
|
-
defaultShortPrefixId: "fausb",
|
|
1352
|
-
defaultStyleId: "semibold",
|
|
1353
|
-
styleIds: ["semibold"],
|
|
1354
|
-
futureStyleIds: [],
|
|
1355
|
-
defaultFontWeight: 600
|
|
1356
|
-
}], ["utility-duo", {
|
|
1357
|
-
defaultShortPrefixId: "faudsb",
|
|
1358
|
-
defaultStyleId: "semibold",
|
|
1359
|
-
styleIds: ["semibold"],
|
|
1360
|
-
futureStyleIds: [],
|
|
1361
|
-
defaultFontWeight: 600
|
|
1362
|
-
}], ["utility-fill", {
|
|
1363
|
-
defaultShortPrefixId: "faufsb",
|
|
1364
|
-
defaultStyleId: "semibold",
|
|
1365
|
-
styleIds: ["semibold"],
|
|
1366
|
-
futureStyleIds: [],
|
|
1367
|
-
defaultFontWeight: 600
|
|
1368
|
-
}], ["whiteboard", {
|
|
1369
|
-
defaultShortPrefixId: "fawsb",
|
|
1370
|
-
defaultStyleId: "semibold",
|
|
1371
|
-
styleIds: ["semibold"],
|
|
1372
|
-
futureStyleIds: [],
|
|
1373
|
-
defaultFontWeight: 600
|
|
1374
|
-
}]]), Ur = {
|
|
1375
|
-
chisel: {
|
|
1376
|
-
regular: "facr"
|
|
1377
|
-
},
|
|
1378
|
-
classic: {
|
|
1379
|
-
brands: "fab",
|
|
1380
|
-
light: "fal",
|
|
1381
|
-
regular: "far",
|
|
1382
|
-
solid: "fas",
|
|
1383
|
-
thin: "fat"
|
|
1384
|
-
},
|
|
1385
|
-
duotone: {
|
|
1386
|
-
light: "fadl",
|
|
1387
|
-
regular: "fadr",
|
|
1388
|
-
solid: "fad",
|
|
1389
|
-
thin: "fadt"
|
|
1390
|
-
},
|
|
1391
|
-
etch: {
|
|
1392
|
-
solid: "faes"
|
|
1393
|
-
},
|
|
1394
|
-
graphite: {
|
|
1395
|
-
thin: "fagt"
|
|
1396
|
-
},
|
|
1397
|
-
jelly: {
|
|
1398
|
-
regular: "fajr"
|
|
1399
|
-
},
|
|
1400
|
-
"jelly-duo": {
|
|
1401
|
-
regular: "fajdr"
|
|
1402
|
-
},
|
|
1403
|
-
"jelly-fill": {
|
|
1404
|
-
regular: "fajfr"
|
|
1405
|
-
},
|
|
1406
|
-
notdog: {
|
|
1407
|
-
solid: "fans"
|
|
1408
|
-
},
|
|
1409
|
-
"notdog-duo": {
|
|
1410
|
-
solid: "fands"
|
|
1411
|
-
},
|
|
1412
|
-
sharp: {
|
|
1413
|
-
light: "fasl",
|
|
1414
|
-
regular: "fasr",
|
|
1415
|
-
solid: "fass",
|
|
1416
|
-
thin: "fast"
|
|
1417
|
-
},
|
|
1418
|
-
"sharp-duotone": {
|
|
1419
|
-
light: "fasdl",
|
|
1420
|
-
regular: "fasdr",
|
|
1421
|
-
solid: "fasds",
|
|
1422
|
-
thin: "fasdt"
|
|
1423
|
-
},
|
|
1424
|
-
slab: {
|
|
1425
|
-
regular: "faslr"
|
|
1426
|
-
},
|
|
1427
|
-
"slab-press": {
|
|
1428
|
-
regular: "faslpr"
|
|
1429
|
-
},
|
|
1430
|
-
thumbprint: {
|
|
1431
|
-
light: "fatl"
|
|
1432
|
-
},
|
|
1433
|
-
utility: {
|
|
1434
|
-
semibold: "fausb"
|
|
1435
|
-
},
|
|
1436
|
-
"utility-duo": {
|
|
1437
|
-
semibold: "faudsb"
|
|
1438
|
-
},
|
|
1439
|
-
"utility-fill": {
|
|
1440
|
-
semibold: "faufsb"
|
|
1441
|
-
},
|
|
1442
|
-
whiteboard: {
|
|
1443
|
-
semibold: "fawsb"
|
|
1444
|
-
}
|
|
1445
|
-
}, Oa = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], Et = {
|
|
1446
|
-
kit: {
|
|
1447
|
-
fak: "kit",
|
|
1448
|
-
"fa-kit": "kit"
|
|
1449
|
-
},
|
|
1450
|
-
"kit-duotone": {
|
|
1451
|
-
fakd: "kit-duotone",
|
|
1452
|
-
"fa-kit-duotone": "kit-duotone"
|
|
1453
|
-
}
|
|
1454
|
-
}, Br = ["kit"], Wr = "kit", Hr = "kit-duotone", Yr = "Kit", Vr = "Kit Duotone";
|
|
1455
|
-
_(_({}, Wr, Yr), Hr, Vr);
|
|
1456
|
-
var Gr = {
|
|
1457
|
-
kit: {
|
|
1458
|
-
"fa-kit": "fak"
|
|
1459
|
-
}
|
|
1460
|
-
}, Kr = {
|
|
1461
|
-
"Font Awesome Kit": {
|
|
1462
|
-
400: "fak",
|
|
1463
|
-
normal: "fak"
|
|
1464
|
-
},
|
|
1465
|
-
"Font Awesome Kit Duotone": {
|
|
1466
|
-
400: "fakd",
|
|
1467
|
-
normal: "fakd"
|
|
1468
|
-
}
|
|
1469
|
-
}, Xr = {
|
|
1470
|
-
kit: {
|
|
1471
|
-
fak: "fa-kit"
|
|
1472
|
-
}
|
|
1473
|
-
}, Pt = {
|
|
1474
|
-
kit: {
|
|
1475
|
-
kit: "fak"
|
|
1476
|
-
},
|
|
1477
|
-
"kit-duotone": {
|
|
1478
|
-
"kit-duotone": "fakd"
|
|
1479
|
-
}
|
|
1480
|
-
}, De, ye = {
|
|
1481
|
-
GROUP: "duotone-group",
|
|
1482
|
-
SWAP_OPACITY: "swap-opacity",
|
|
1483
|
-
PRIMARY: "primary",
|
|
1484
|
-
SECONDARY: "secondary"
|
|
1485
|
-
}, Jr = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], qr = "classic", Zr = "duotone", Qr = "sharp", ei = "sharp-duotone", ti = "chisel", ai = "etch", ni = "graphite", ri = "jelly", ii = "jelly-duo", oi = "jelly-fill", si = "notdog", li = "notdog-duo", fi = "slab", ui = "slab-press", ci = "thumbprint", di = "utility", mi = "utility-duo", hi = "utility-fill", gi = "whiteboard", pi = "Classic", vi = "Duotone", bi = "Sharp", yi = "Sharp Duotone", _i = "Chisel", xi = "Etch", wi = "Graphite", ki = "Jelly", Si = "Jelly Duo", Ai = "Jelly Fill", Ii = "Notdog", Ei = "Notdog Duo", Pi = "Slab", Ci = "Slab Press", Fi = "Thumbprint", Oi = "Utility", Ni = "Utility Duo", Ti = "Utility Fill", ji = "Whiteboard";
|
|
1486
|
-
De = {}, _(_(_(_(_(_(_(_(_(_(De, qr, pi), Zr, vi), Qr, bi), ei, yi), ti, _i), ai, xi), ni, wi), ri, ki), ii, Si), oi, Ai), _(_(_(_(_(_(_(_(_(De, si, Ii), li, Ei), fi, Pi), ui, Ci), ci, Fi), di, Oi), mi, Ni), hi, Ti), gi, ji);
|
|
1487
|
-
var $i = "kit", Li = "kit-duotone", Ri = "Kit", Di = "Kit Duotone";
|
|
1488
|
-
_(_({}, $i, Ri), Li, Di);
|
|
1489
|
-
var Mi = {
|
|
1490
|
-
classic: {
|
|
1491
|
-
"fa-brands": "fab",
|
|
1492
|
-
"fa-duotone": "fad",
|
|
1493
|
-
"fa-light": "fal",
|
|
1494
|
-
"fa-regular": "far",
|
|
1495
|
-
"fa-solid": "fas",
|
|
1496
|
-
"fa-thin": "fat"
|
|
1497
|
-
},
|
|
1498
|
-
duotone: {
|
|
1499
|
-
"fa-regular": "fadr",
|
|
1500
|
-
"fa-light": "fadl",
|
|
1501
|
-
"fa-thin": "fadt"
|
|
1502
|
-
},
|
|
1503
|
-
sharp: {
|
|
1504
|
-
"fa-solid": "fass",
|
|
1505
|
-
"fa-regular": "fasr",
|
|
1506
|
-
"fa-light": "fasl",
|
|
1507
|
-
"fa-thin": "fast"
|
|
1508
|
-
},
|
|
1509
|
-
"sharp-duotone": {
|
|
1510
|
-
"fa-solid": "fasds",
|
|
1511
|
-
"fa-regular": "fasdr",
|
|
1512
|
-
"fa-light": "fasdl",
|
|
1513
|
-
"fa-thin": "fasdt"
|
|
1514
|
-
},
|
|
1515
|
-
slab: {
|
|
1516
|
-
"fa-regular": "faslr"
|
|
1517
|
-
},
|
|
1518
|
-
"slab-press": {
|
|
1519
|
-
"fa-regular": "faslpr"
|
|
1520
|
-
},
|
|
1521
|
-
whiteboard: {
|
|
1522
|
-
"fa-semibold": "fawsb"
|
|
1523
|
-
},
|
|
1524
|
-
thumbprint: {
|
|
1525
|
-
"fa-light": "fatl"
|
|
1526
|
-
},
|
|
1527
|
-
notdog: {
|
|
1528
|
-
"fa-solid": "fans"
|
|
1529
|
-
},
|
|
1530
|
-
"notdog-duo": {
|
|
1531
|
-
"fa-solid": "fands"
|
|
1532
|
-
},
|
|
1533
|
-
etch: {
|
|
1534
|
-
"fa-solid": "faes"
|
|
1535
|
-
},
|
|
1536
|
-
graphite: {
|
|
1537
|
-
"fa-thin": "fagt"
|
|
1538
|
-
},
|
|
1539
|
-
jelly: {
|
|
1540
|
-
"fa-regular": "fajr"
|
|
1541
|
-
},
|
|
1542
|
-
"jelly-fill": {
|
|
1543
|
-
"fa-regular": "fajfr"
|
|
1544
|
-
},
|
|
1545
|
-
"jelly-duo": {
|
|
1546
|
-
"fa-regular": "fajdr"
|
|
1547
|
-
},
|
|
1548
|
-
chisel: {
|
|
1549
|
-
"fa-regular": "facr"
|
|
1550
|
-
},
|
|
1551
|
-
utility: {
|
|
1552
|
-
"fa-semibold": "fausb"
|
|
1553
|
-
},
|
|
1554
|
-
"utility-duo": {
|
|
1555
|
-
"fa-semibold": "faudsb"
|
|
1556
|
-
},
|
|
1557
|
-
"utility-fill": {
|
|
1558
|
-
"fa-semibold": "faufsb"
|
|
1559
|
-
}
|
|
1560
|
-
}, zi = {
|
|
1561
|
-
classic: ["fas", "far", "fal", "fat", "fad"],
|
|
1562
|
-
duotone: ["fadr", "fadl", "fadt"],
|
|
1563
|
-
sharp: ["fass", "fasr", "fasl", "fast"],
|
|
1564
|
-
"sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"],
|
|
1565
|
-
slab: ["faslr"],
|
|
1566
|
-
"slab-press": ["faslpr"],
|
|
1567
|
-
whiteboard: ["fawsb"],
|
|
1568
|
-
thumbprint: ["fatl"],
|
|
1569
|
-
notdog: ["fans"],
|
|
1570
|
-
"notdog-duo": ["fands"],
|
|
1571
|
-
etch: ["faes"],
|
|
1572
|
-
graphite: ["fagt"],
|
|
1573
|
-
jelly: ["fajr"],
|
|
1574
|
-
"jelly-fill": ["fajfr"],
|
|
1575
|
-
"jelly-duo": ["fajdr"],
|
|
1576
|
-
chisel: ["facr"],
|
|
1577
|
-
utility: ["fausb"],
|
|
1578
|
-
"utility-duo": ["faudsb"],
|
|
1579
|
-
"utility-fill": ["faufsb"]
|
|
1580
|
-
}, Ye = {
|
|
1581
|
-
classic: {
|
|
1582
|
-
fab: "fa-brands",
|
|
1583
|
-
fad: "fa-duotone",
|
|
1584
|
-
fal: "fa-light",
|
|
1585
|
-
far: "fa-regular",
|
|
1586
|
-
fas: "fa-solid",
|
|
1587
|
-
fat: "fa-thin"
|
|
1588
|
-
},
|
|
1589
|
-
duotone: {
|
|
1590
|
-
fadr: "fa-regular",
|
|
1591
|
-
fadl: "fa-light",
|
|
1592
|
-
fadt: "fa-thin"
|
|
1593
|
-
},
|
|
1594
|
-
sharp: {
|
|
1595
|
-
fass: "fa-solid",
|
|
1596
|
-
fasr: "fa-regular",
|
|
1597
|
-
fasl: "fa-light",
|
|
1598
|
-
fast: "fa-thin"
|
|
1599
|
-
},
|
|
1600
|
-
"sharp-duotone": {
|
|
1601
|
-
fasds: "fa-solid",
|
|
1602
|
-
fasdr: "fa-regular",
|
|
1603
|
-
fasdl: "fa-light",
|
|
1604
|
-
fasdt: "fa-thin"
|
|
1605
|
-
},
|
|
1606
|
-
slab: {
|
|
1607
|
-
faslr: "fa-regular"
|
|
1608
|
-
},
|
|
1609
|
-
"slab-press": {
|
|
1610
|
-
faslpr: "fa-regular"
|
|
1611
|
-
},
|
|
1612
|
-
whiteboard: {
|
|
1613
|
-
fawsb: "fa-semibold"
|
|
1614
|
-
},
|
|
1615
|
-
thumbprint: {
|
|
1616
|
-
fatl: "fa-light"
|
|
1617
|
-
},
|
|
1618
|
-
notdog: {
|
|
1619
|
-
fans: "fa-solid"
|
|
1620
|
-
},
|
|
1621
|
-
"notdog-duo": {
|
|
1622
|
-
fands: "fa-solid"
|
|
1623
|
-
},
|
|
1624
|
-
etch: {
|
|
1625
|
-
faes: "fa-solid"
|
|
1626
|
-
},
|
|
1627
|
-
graphite: {
|
|
1628
|
-
fagt: "fa-thin"
|
|
1629
|
-
},
|
|
1630
|
-
jelly: {
|
|
1631
|
-
fajr: "fa-regular"
|
|
1632
|
-
},
|
|
1633
|
-
"jelly-fill": {
|
|
1634
|
-
fajfr: "fa-regular"
|
|
1635
|
-
},
|
|
1636
|
-
"jelly-duo": {
|
|
1637
|
-
fajdr: "fa-regular"
|
|
1638
|
-
},
|
|
1639
|
-
chisel: {
|
|
1640
|
-
facr: "fa-regular"
|
|
1641
|
-
},
|
|
1642
|
-
utility: {
|
|
1643
|
-
fausb: "fa-semibold"
|
|
1644
|
-
},
|
|
1645
|
-
"utility-duo": {
|
|
1646
|
-
faudsb: "fa-semibold"
|
|
1647
|
-
},
|
|
1648
|
-
"utility-fill": {
|
|
1649
|
-
faufsb: "fa-semibold"
|
|
1650
|
-
}
|
|
1651
|
-
}, Ui = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Na = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Jr, Ui), Bi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Ta = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Wi = Ta.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Hi = ["aw", "fw", "pull-left", "pull-right"], Yi = [].concat(T(Object.keys(zi)), Bi, Hi, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", ye.GROUP, ye.SWAP_OPACITY, ye.PRIMARY, ye.SECONDARY]).concat(Ta.map(function(e) {
|
|
1652
|
-
return "".concat(e, "x");
|
|
1653
|
-
})).concat(Wi.map(function(e) {
|
|
1654
|
-
return "w-".concat(e);
|
|
1655
|
-
})), Vi = {
|
|
1656
|
-
"Font Awesome 5 Free": {
|
|
1657
|
-
900: "fas",
|
|
1658
|
-
400: "far"
|
|
1659
|
-
},
|
|
1660
|
-
"Font Awesome 5 Pro": {
|
|
1661
|
-
900: "fas",
|
|
1662
|
-
400: "far",
|
|
1663
|
-
normal: "far",
|
|
1664
|
-
300: "fal"
|
|
1665
|
-
},
|
|
1666
|
-
"Font Awesome 5 Brands": {
|
|
1667
|
-
400: "fab",
|
|
1668
|
-
normal: "fab"
|
|
1669
|
-
},
|
|
1670
|
-
"Font Awesome 5 Duotone": {
|
|
1671
|
-
900: "fad"
|
|
1672
|
-
}
|
|
1673
|
-
}, D = "___FONT_AWESOME___", Ve = 16, ja = "fa", $a = "svg-inline--fa", K = "data-fa-i2svg", Ge = "data-fa-pseudo-element", Gi = "data-fa-pseudo-element-pending", lt = "data-prefix", ft = "data-icon", Ct = "fontawesome-i2svg", Ki = "async", Xi = ["HTML", "HEAD", "STYLE", "SCRIPT"], La = ["::before", "::after", ":before", ":after"], Ra = (function() {
|
|
1674
|
-
try {
|
|
1675
|
-
return process.env.NODE_ENV === "production";
|
|
1676
|
-
} catch {
|
|
1677
|
-
return !1;
|
|
1678
|
-
}
|
|
1679
|
-
})();
|
|
1680
|
-
function ge(e) {
|
|
1681
|
-
return new Proxy(e, {
|
|
1682
|
-
get: function(a, n) {
|
|
1683
|
-
return n in a ? a[n] : a[E];
|
|
1684
|
-
}
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
var Da = m({}, ca);
|
|
1688
|
-
Da[E] = m(m(m(m({}, {
|
|
1689
|
-
"fa-duotone": "duotone"
|
|
1690
|
-
}), ca[E]), Et.kit), Et["kit-duotone"]);
|
|
1691
|
-
var Ji = ge(Da), Ke = m({}, Ur);
|
|
1692
|
-
Ke[E] = m(m(m(m({}, {
|
|
1693
|
-
duotone: "fad"
|
|
1694
|
-
}), Ke[E]), Pt.kit), Pt["kit-duotone"]);
|
|
1695
|
-
var Ft = ge(Ke), Xe = m({}, Ye);
|
|
1696
|
-
Xe[E] = m(m({}, Xe[E]), Xr.kit);
|
|
1697
|
-
var ut = ge(Xe), Je = m({}, Mi);
|
|
1698
|
-
Je[E] = m(m({}, Je[E]), Gr.kit);
|
|
1699
|
-
ge(Je);
|
|
1700
|
-
var qi = pr, Ma = "fa-layers-text", Zi = vr, Qi = m({}, Dr);
|
|
1701
|
-
ge(Qi);
|
|
1702
|
-
var eo = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Me = br, to = [].concat(T(Br), T(Yi)), fe = U.FontAwesomeConfig || {};
|
|
1703
|
-
function ao(e) {
|
|
1704
|
-
var t = A.querySelector("script[" + e + "]");
|
|
1705
|
-
if (t)
|
|
1706
|
-
return t.getAttribute(e);
|
|
1707
|
-
}
|
|
1708
|
-
function no(e) {
|
|
1709
|
-
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
1710
|
-
}
|
|
1711
|
-
if (A && typeof A.querySelector == "function") {
|
|
1712
|
-
var ro = [["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-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
1713
|
-
ro.forEach(function(e) {
|
|
1714
|
-
var t = Ee(e, 2), a = t[0], n = t[1], r = no(ao(a));
|
|
1715
|
-
r != null && (fe[n] = r);
|
|
1716
|
-
});
|
|
1717
|
-
}
|
|
1718
|
-
var za = {
|
|
1719
|
-
styleDefault: "solid",
|
|
1720
|
-
familyDefault: E,
|
|
1721
|
-
cssPrefix: ja,
|
|
1722
|
-
replacementClass: $a,
|
|
1723
|
-
autoReplaceSvg: !0,
|
|
1724
|
-
autoAddCss: !0,
|
|
1725
|
-
searchPseudoElements: !1,
|
|
1726
|
-
searchPseudoElementsWarnings: !0,
|
|
1727
|
-
searchPseudoElementsFullScan: !1,
|
|
1728
|
-
observeMutations: !0,
|
|
1729
|
-
mutateApproach: "async",
|
|
1730
|
-
keepOriginalSource: !0,
|
|
1731
|
-
measurePerformance: !1,
|
|
1732
|
-
showMissingIcons: !0
|
|
1733
|
-
};
|
|
1734
|
-
fe.familyPrefix && (fe.cssPrefix = fe.familyPrefix);
|
|
1735
|
-
var te = m(m({}, za), fe);
|
|
1736
|
-
te.autoReplaceSvg || (te.observeMutations = !1);
|
|
1737
|
-
var v = {};
|
|
1738
|
-
Object.keys(za).forEach(function(e) {
|
|
1739
|
-
Object.defineProperty(v, e, {
|
|
1740
|
-
enumerable: !0,
|
|
1741
|
-
set: function(a) {
|
|
1742
|
-
te[e] = a, ue.forEach(function(n) {
|
|
1743
|
-
return n(v);
|
|
1744
|
-
});
|
|
1745
|
-
},
|
|
1746
|
-
get: function() {
|
|
1747
|
-
return te[e];
|
|
1748
|
-
}
|
|
1749
|
-
});
|
|
1750
|
-
});
|
|
1751
|
-
Object.defineProperty(v, "familyPrefix", {
|
|
1752
|
-
enumerable: !0,
|
|
1753
|
-
set: function(t) {
|
|
1754
|
-
te.cssPrefix = t, ue.forEach(function(a) {
|
|
1755
|
-
return a(v);
|
|
1756
|
-
});
|
|
1757
|
-
},
|
|
1758
|
-
get: function() {
|
|
1759
|
-
return te.cssPrefix;
|
|
1760
|
-
}
|
|
1761
|
-
});
|
|
1762
|
-
U.FontAwesomeConfig = v;
|
|
1763
|
-
var ue = [];
|
|
1764
|
-
function io(e) {
|
|
1765
|
-
return ue.push(e), function() {
|
|
1766
|
-
ue.splice(ue.indexOf(e), 1);
|
|
1767
|
-
};
|
|
1768
|
-
}
|
|
1769
|
-
var q = Ve, j = {
|
|
1770
|
-
size: 16,
|
|
1771
|
-
x: 0,
|
|
1772
|
-
y: 0,
|
|
1773
|
-
rotate: 0,
|
|
1774
|
-
flipX: !1,
|
|
1775
|
-
flipY: !1
|
|
1776
|
-
};
|
|
1777
|
-
function oo(e) {
|
|
1778
|
-
if (!(!e || !z)) {
|
|
1779
|
-
var t = A.createElement("style");
|
|
1780
|
-
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
1781
|
-
for (var a = A.head.childNodes, n = null, r = a.length - 1; r > -1; r--) {
|
|
1782
|
-
var i = a[r], o = (i.tagName || "").toUpperCase();
|
|
1783
|
-
["STYLE", "LINK"].indexOf(o) > -1 && (n = i);
|
|
1784
|
-
}
|
|
1785
|
-
return A.head.insertBefore(t, n), e;
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
var so = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
1789
|
-
function Ot() {
|
|
1790
|
-
for (var e = 12, t = ""; e-- > 0; )
|
|
1791
|
-
t += so[Math.random() * 62 | 0];
|
|
1792
|
-
return t;
|
|
1793
|
-
}
|
|
1794
|
-
function ne(e) {
|
|
1795
|
-
for (var t = [], a = (e || []).length >>> 0; a--; )
|
|
1796
|
-
t[a] = e[a];
|
|
1797
|
-
return t;
|
|
1798
|
-
}
|
|
1799
|
-
function ct(e) {
|
|
1800
|
-
return e.classList ? ne(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
1801
|
-
return t;
|
|
1802
|
-
});
|
|
1803
|
-
}
|
|
1804
|
-
function Ua(e) {
|
|
1805
|
-
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1806
|
-
}
|
|
1807
|
-
function lo(e) {
|
|
1808
|
-
return Object.keys(e || {}).reduce(function(t, a) {
|
|
1809
|
-
return t + "".concat(a, '="').concat(Ua(e[a]), '" ');
|
|
1810
|
-
}, "").trim();
|
|
1811
|
-
}
|
|
1812
|
-
function Pe(e) {
|
|
1813
|
-
return Object.keys(e || {}).reduce(function(t, a) {
|
|
1814
|
-
return t + "".concat(a, ": ").concat(e[a].trim(), ";");
|
|
1815
|
-
}, "");
|
|
1816
|
-
}
|
|
1817
|
-
function dt(e) {
|
|
1818
|
-
return e.size !== j.size || e.x !== j.x || e.y !== j.y || e.rotate !== j.rotate || e.flipX || e.flipY;
|
|
1819
|
-
}
|
|
1820
|
-
function fo(e) {
|
|
1821
|
-
var t = e.transform, a = e.containerWidth, n = e.iconWidth, r = {
|
|
1822
|
-
transform: "translate(".concat(a / 2, " 256)")
|
|
1823
|
-
}, 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)"), l = {
|
|
1824
|
-
transform: "".concat(i, " ").concat(o, " ").concat(s)
|
|
1825
|
-
}, f = {
|
|
1826
|
-
transform: "translate(".concat(n / 2 * -1, " -256)")
|
|
1827
|
-
};
|
|
1828
|
-
return {
|
|
1829
|
-
outer: r,
|
|
1830
|
-
inner: l,
|
|
1831
|
-
path: f
|
|
1832
|
-
};
|
|
1833
|
-
}
|
|
1834
|
-
function uo(e) {
|
|
1835
|
-
var t = e.transform, a = e.width, n = a === void 0 ? Ve : a, r = e.height, i = r === void 0 ? Ve : r, o = "";
|
|
1836
|
-
return ua ? o += "translate(".concat(t.x / q - n / 2, "em, ").concat(t.y / q - i / 2, "em) ") : o += "translate(calc(-50% + ".concat(t.x / q, "em), calc(-50% + ").concat(t.y / q, "em)) "), o += "scale(".concat(t.size / q * (t.flipX ? -1 : 1), ", ").concat(t.size / q * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
1837
|
-
}
|
|
1838
|
-
var co = `:root, :host {
|
|
1839
|
-
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
1840
|
-
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
1841
|
-
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
1842
|
-
--fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
|
|
1843
|
-
--fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
|
|
1844
|
-
--fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
|
|
1845
|
-
--fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
|
|
1846
|
-
--fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
|
|
1847
|
-
--fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
|
|
1848
|
-
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
|
|
1849
|
-
--fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
|
|
1850
|
-
--fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
|
|
1851
|
-
--fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
|
|
1852
|
-
--fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1853
|
-
--fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1854
|
-
--fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1855
|
-
--fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1856
|
-
--fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
|
|
1857
|
-
--fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
|
|
1858
|
-
--fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
|
|
1859
|
-
--fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
|
|
1860
|
-
--fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
|
|
1861
|
-
--fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
|
|
1862
|
-
--fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
|
|
1863
|
-
--fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
|
|
1864
|
-
--fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
|
|
1865
|
-
--fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
|
|
1866
|
-
--fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
|
|
1867
|
-
--fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
|
|
1868
|
-
--fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
|
|
1869
|
-
--fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
|
|
1870
|
-
--fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
.svg-inline--fa {
|
|
1874
|
-
box-sizing: content-box;
|
|
1875
|
-
display: var(--fa-display, inline-block);
|
|
1876
|
-
height: 1em;
|
|
1877
|
-
overflow: visible;
|
|
1878
|
-
vertical-align: -0.125em;
|
|
1879
|
-
width: var(--fa-width, 1.25em);
|
|
1880
|
-
}
|
|
1881
|
-
.svg-inline--fa.fa-2xs {
|
|
1882
|
-
vertical-align: 0.1em;
|
|
1883
|
-
}
|
|
1884
|
-
.svg-inline--fa.fa-xs {
|
|
1885
|
-
vertical-align: 0em;
|
|
1886
|
-
}
|
|
1887
|
-
.svg-inline--fa.fa-sm {
|
|
1888
|
-
vertical-align: -0.0714285714em;
|
|
1889
|
-
}
|
|
1890
|
-
.svg-inline--fa.fa-lg {
|
|
1891
|
-
vertical-align: -0.2em;
|
|
1892
|
-
}
|
|
1893
|
-
.svg-inline--fa.fa-xl {
|
|
1894
|
-
vertical-align: -0.25em;
|
|
1895
|
-
}
|
|
1896
|
-
.svg-inline--fa.fa-2xl {
|
|
1897
|
-
vertical-align: -0.3125em;
|
|
1898
|
-
}
|
|
1899
|
-
.svg-inline--fa.fa-pull-left,
|
|
1900
|
-
.svg-inline--fa .fa-pull-start {
|
|
1901
|
-
float: inline-start;
|
|
1902
|
-
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
1903
|
-
}
|
|
1904
|
-
.svg-inline--fa.fa-pull-right,
|
|
1905
|
-
.svg-inline--fa .fa-pull-end {
|
|
1906
|
-
float: inline-end;
|
|
1907
|
-
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
1908
|
-
}
|
|
1909
|
-
.svg-inline--fa.fa-li {
|
|
1910
|
-
width: var(--fa-li-width, 2em);
|
|
1911
|
-
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
1912
|
-
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
.fa-layers-counter, .fa-layers-text {
|
|
1916
|
-
display: inline-block;
|
|
1917
|
-
position: absolute;
|
|
1918
|
-
text-align: center;
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
.fa-layers {
|
|
1922
|
-
display: inline-block;
|
|
1923
|
-
height: 1em;
|
|
1924
|
-
position: relative;
|
|
1925
|
-
text-align: center;
|
|
1926
|
-
vertical-align: -0.125em;
|
|
1927
|
-
width: var(--fa-width, 1.25em);
|
|
1928
|
-
}
|
|
1929
|
-
.fa-layers .svg-inline--fa {
|
|
1930
|
-
inset: 0;
|
|
1931
|
-
margin: auto;
|
|
1932
|
-
position: absolute;
|
|
1933
|
-
transform-origin: center center;
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
.fa-layers-text {
|
|
1937
|
-
left: 50%;
|
|
1938
|
-
top: 50%;
|
|
1939
|
-
transform: translate(-50%, -50%);
|
|
1940
|
-
transform-origin: center center;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
.fa-layers-counter {
|
|
1944
|
-
background-color: var(--fa-counter-background-color, #ff253a);
|
|
1945
|
-
border-radius: var(--fa-counter-border-radius, 1em);
|
|
1946
|
-
box-sizing: border-box;
|
|
1947
|
-
color: var(--fa-inverse, #fff);
|
|
1948
|
-
line-height: var(--fa-counter-line-height, 1);
|
|
1949
|
-
max-width: var(--fa-counter-max-width, 5em);
|
|
1950
|
-
min-width: var(--fa-counter-min-width, 1.5em);
|
|
1951
|
-
overflow: hidden;
|
|
1952
|
-
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
1953
|
-
right: var(--fa-right, 0);
|
|
1954
|
-
text-overflow: ellipsis;
|
|
1955
|
-
top: var(--fa-top, 0);
|
|
1956
|
-
transform: scale(var(--fa-counter-scale, 0.25));
|
|
1957
|
-
transform-origin: top right;
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
.fa-layers-bottom-right {
|
|
1961
|
-
bottom: var(--fa-bottom, 0);
|
|
1962
|
-
right: var(--fa-right, 0);
|
|
1963
|
-
top: auto;
|
|
1964
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1965
|
-
transform-origin: bottom right;
|
|
1966
|
-
}
|
|
1967
|
-
|
|
1968
|
-
.fa-layers-bottom-left {
|
|
1969
|
-
bottom: var(--fa-bottom, 0);
|
|
1970
|
-
left: var(--fa-left, 0);
|
|
1971
|
-
right: auto;
|
|
1972
|
-
top: auto;
|
|
1973
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1974
|
-
transform-origin: bottom left;
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
.fa-layers-top-right {
|
|
1978
|
-
top: var(--fa-top, 0);
|
|
1979
|
-
right: var(--fa-right, 0);
|
|
1980
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1981
|
-
transform-origin: top right;
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
.fa-layers-top-left {
|
|
1985
|
-
left: var(--fa-left, 0);
|
|
1986
|
-
right: auto;
|
|
1987
|
-
top: var(--fa-top, 0);
|
|
1988
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1989
|
-
transform-origin: top left;
|
|
1990
|
-
}
|
|
1991
|
-
|
|
1992
|
-
.fa-1x {
|
|
1993
|
-
font-size: 1em;
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
.fa-2x {
|
|
1997
|
-
font-size: 2em;
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2000
|
-
.fa-3x {
|
|
2001
|
-
font-size: 3em;
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
.fa-4x {
|
|
2005
|
-
font-size: 4em;
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
.fa-5x {
|
|
2009
|
-
font-size: 5em;
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
.fa-6x {
|
|
2013
|
-
font-size: 6em;
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
.fa-7x {
|
|
2017
|
-
font-size: 7em;
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
.fa-8x {
|
|
2021
|
-
font-size: 8em;
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
.fa-9x {
|
|
2025
|
-
font-size: 9em;
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
.fa-10x {
|
|
2029
|
-
font-size: 10em;
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
.fa-2xs {
|
|
2033
|
-
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
|
|
2034
|
-
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
2035
|
-
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
.fa-xs {
|
|
2039
|
-
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
|
|
2040
|
-
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
2041
|
-
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
.fa-sm {
|
|
2045
|
-
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
|
|
2046
|
-
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
2047
|
-
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
.fa-lg {
|
|
2051
|
-
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
|
|
2052
|
-
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
2053
|
-
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
.fa-xl {
|
|
2057
|
-
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
|
|
2058
|
-
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
2059
|
-
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
.fa-2xl {
|
|
2063
|
-
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
|
|
2064
|
-
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
2065
|
-
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
.fa-width-auto {
|
|
2069
|
-
--fa-width: auto;
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
|
-
.fa-fw,
|
|
2073
|
-
.fa-width-fixed {
|
|
2074
|
-
--fa-width: 1.25em;
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
.fa-ul {
|
|
2078
|
-
list-style-type: none;
|
|
2079
|
-
margin-inline-start: var(--fa-li-margin, 2.5em);
|
|
2080
|
-
padding-inline-start: 0;
|
|
2081
|
-
}
|
|
2082
|
-
.fa-ul > li {
|
|
2083
|
-
position: relative;
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
.fa-li {
|
|
2087
|
-
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
2088
|
-
position: absolute;
|
|
2089
|
-
text-align: center;
|
|
2090
|
-
width: var(--fa-li-width, 2em);
|
|
2091
|
-
line-height: inherit;
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
/* Heads Up: Bordered Icons will not be supported in the future!
|
|
2095
|
-
- This feature will be deprecated in the next major release of Font Awesome (v8)!
|
|
2096
|
-
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
|
|
2097
|
-
*/
|
|
2098
|
-
/* Notes:
|
|
2099
|
-
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
|
|
2100
|
-
* --@{v.$css-prefix}-border-padding =
|
|
2101
|
-
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
|
|
2102
|
-
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
|
|
2103
|
-
*/
|
|
2104
|
-
.fa-border {
|
|
2105
|
-
border-color: var(--fa-border-color, #eee);
|
|
2106
|
-
border-radius: var(--fa-border-radius, 0.1em);
|
|
2107
|
-
border-style: var(--fa-border-style, solid);
|
|
2108
|
-
border-width: var(--fa-border-width, 0.0625em);
|
|
2109
|
-
box-sizing: var(--fa-border-box-sizing, content-box);
|
|
2110
|
-
padding: var(--fa-border-padding, 0.1875em 0.25em);
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
.fa-pull-left,
|
|
2114
|
-
.fa-pull-start {
|
|
2115
|
-
float: inline-start;
|
|
2116
|
-
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
.fa-pull-right,
|
|
2120
|
-
.fa-pull-end {
|
|
2121
|
-
float: inline-end;
|
|
2122
|
-
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
2123
|
-
}
|
|
2124
|
-
|
|
2125
|
-
.fa-beat {
|
|
2126
|
-
animation-name: fa-beat;
|
|
2127
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2128
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2129
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2130
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2131
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
|
-
.fa-bounce {
|
|
2135
|
-
animation-name: fa-bounce;
|
|
2136
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2137
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2138
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2139
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2140
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
|
-
.fa-fade {
|
|
2144
|
-
animation-name: fa-fade;
|
|
2145
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2146
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2147
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2148
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2149
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
.fa-beat-fade {
|
|
2153
|
-
animation-name: fa-beat-fade;
|
|
2154
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2155
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2156
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2157
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2158
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
.fa-flip {
|
|
2162
|
-
animation-name: fa-flip;
|
|
2163
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2164
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2165
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2166
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2167
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
.fa-shake {
|
|
2171
|
-
animation-name: fa-shake;
|
|
2172
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2173
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2174
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2175
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2176
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
.fa-spin {
|
|
2180
|
-
animation-name: fa-spin;
|
|
2181
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
2182
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2183
|
-
animation-duration: var(--fa-animation-duration, 2s);
|
|
2184
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2185
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
.fa-spin-reverse {
|
|
2189
|
-
--fa-animation-direction: reverse;
|
|
2190
|
-
}
|
|
2191
|
-
|
|
2192
|
-
.fa-pulse,
|
|
2193
|
-
.fa-spin-pulse {
|
|
2194
|
-
animation-name: fa-spin;
|
|
2195
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
2196
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
2197
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
2198
|
-
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2202
|
-
.fa-beat,
|
|
2203
|
-
.fa-bounce,
|
|
2204
|
-
.fa-fade,
|
|
2205
|
-
.fa-beat-fade,
|
|
2206
|
-
.fa-flip,
|
|
2207
|
-
.fa-pulse,
|
|
2208
|
-
.fa-shake,
|
|
2209
|
-
.fa-spin,
|
|
2210
|
-
.fa-spin-pulse {
|
|
2211
|
-
animation: none !important;
|
|
2212
|
-
transition: none !important;
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
@keyframes fa-beat {
|
|
2216
|
-
0%, 90% {
|
|
2217
|
-
transform: scale(1);
|
|
2218
|
-
}
|
|
2219
|
-
45% {
|
|
2220
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
@keyframes fa-bounce {
|
|
2224
|
-
0% {
|
|
2225
|
-
transform: scale(1, 1) translateY(0);
|
|
2226
|
-
}
|
|
2227
|
-
10% {
|
|
2228
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
2229
|
-
}
|
|
2230
|
-
30% {
|
|
2231
|
-
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));
|
|
2232
|
-
}
|
|
2233
|
-
50% {
|
|
2234
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
2235
|
-
}
|
|
2236
|
-
57% {
|
|
2237
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
2238
|
-
}
|
|
2239
|
-
64% {
|
|
2240
|
-
transform: scale(1, 1) translateY(0);
|
|
2241
|
-
}
|
|
2242
|
-
100% {
|
|
2243
|
-
transform: scale(1, 1) translateY(0);
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
@keyframes fa-fade {
|
|
2247
|
-
50% {
|
|
2248
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
@keyframes fa-beat-fade {
|
|
2252
|
-
0%, 100% {
|
|
2253
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
2254
|
-
transform: scale(1);
|
|
2255
|
-
}
|
|
2256
|
-
50% {
|
|
2257
|
-
opacity: 1;
|
|
2258
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
@keyframes fa-flip {
|
|
2262
|
-
50% {
|
|
2263
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
2264
|
-
}
|
|
2265
|
-
}
|
|
2266
|
-
@keyframes fa-shake {
|
|
2267
|
-
0% {
|
|
2268
|
-
transform: rotate(-15deg);
|
|
2269
|
-
}
|
|
2270
|
-
4% {
|
|
2271
|
-
transform: rotate(15deg);
|
|
2272
|
-
}
|
|
2273
|
-
8%, 24% {
|
|
2274
|
-
transform: rotate(-18deg);
|
|
2275
|
-
}
|
|
2276
|
-
12%, 28% {
|
|
2277
|
-
transform: rotate(18deg);
|
|
2278
|
-
}
|
|
2279
|
-
16% {
|
|
2280
|
-
transform: rotate(-22deg);
|
|
2281
|
-
}
|
|
2282
|
-
20% {
|
|
2283
|
-
transform: rotate(22deg);
|
|
2284
|
-
}
|
|
2285
|
-
32% {
|
|
2286
|
-
transform: rotate(-12deg);
|
|
2287
|
-
}
|
|
2288
|
-
36% {
|
|
2289
|
-
transform: rotate(12deg);
|
|
2290
|
-
}
|
|
2291
|
-
40%, 100% {
|
|
2292
|
-
transform: rotate(0deg);
|
|
2293
|
-
}
|
|
2294
|
-
}
|
|
2295
|
-
@keyframes fa-spin {
|
|
2296
|
-
0% {
|
|
2297
|
-
transform: rotate(0deg);
|
|
2298
|
-
}
|
|
2299
|
-
100% {
|
|
2300
|
-
transform: rotate(360deg);
|
|
2301
|
-
}
|
|
2302
|
-
}
|
|
2303
|
-
.fa-rotate-90 {
|
|
2304
|
-
transform: rotate(90deg);
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
|
-
.fa-rotate-180 {
|
|
2308
|
-
transform: rotate(180deg);
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
.fa-rotate-270 {
|
|
2312
|
-
transform: rotate(270deg);
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
|
-
.fa-flip-horizontal {
|
|
2316
|
-
transform: scale(-1, 1);
|
|
2317
|
-
}
|
|
2318
|
-
|
|
2319
|
-
.fa-flip-vertical {
|
|
2320
|
-
transform: scale(1, -1);
|
|
2321
|
-
}
|
|
2322
|
-
|
|
2323
|
-
.fa-flip-both,
|
|
2324
|
-
.fa-flip-horizontal.fa-flip-vertical {
|
|
2325
|
-
transform: scale(-1, -1);
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
.fa-rotate-by {
|
|
2329
|
-
transform: rotate(var(--fa-rotate-angle, 0));
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
.svg-inline--fa .fa-primary {
|
|
2333
|
-
fill: var(--fa-primary-color, currentColor);
|
|
2334
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
2335
|
-
}
|
|
2336
|
-
|
|
2337
|
-
.svg-inline--fa .fa-secondary {
|
|
2338
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
2339
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
2340
|
-
}
|
|
2341
|
-
|
|
2342
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
2343
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
2344
|
-
}
|
|
2345
|
-
|
|
2346
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
2347
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
.svg-inline--fa mask .fa-primary,
|
|
2351
|
-
.svg-inline--fa mask .fa-secondary {
|
|
2352
|
-
fill: black;
|
|
2353
|
-
}
|
|
2354
|
-
|
|
2355
|
-
.svg-inline--fa.fa-inverse {
|
|
2356
|
-
fill: var(--fa-inverse, #fff);
|
|
2357
|
-
}
|
|
2358
|
-
|
|
2359
|
-
.fa-stack {
|
|
2360
|
-
display: inline-block;
|
|
2361
|
-
height: 2em;
|
|
2362
|
-
line-height: 2em;
|
|
2363
|
-
position: relative;
|
|
2364
|
-
vertical-align: middle;
|
|
2365
|
-
width: 2.5em;
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
.fa-inverse {
|
|
2369
|
-
color: var(--fa-inverse, #fff);
|
|
2370
|
-
}
|
|
2371
|
-
|
|
2372
|
-
.svg-inline--fa.fa-stack-1x {
|
|
2373
|
-
--fa-width: 1.25em;
|
|
2374
|
-
height: 1em;
|
|
2375
|
-
width: var(--fa-width);
|
|
2376
|
-
}
|
|
2377
|
-
.svg-inline--fa.fa-stack-2x {
|
|
2378
|
-
--fa-width: 2.5em;
|
|
2379
|
-
height: 2em;
|
|
2380
|
-
width: var(--fa-width);
|
|
2381
|
-
}
|
|
2382
|
-
|
|
2383
|
-
.fa-stack-1x,
|
|
2384
|
-
.fa-stack-2x {
|
|
2385
|
-
inset: 0;
|
|
2386
|
-
margin: auto;
|
|
2387
|
-
position: absolute;
|
|
2388
|
-
z-index: var(--fa-stack-z-index, auto);
|
|
2389
|
-
}`;
|
|
2390
|
-
function Ba() {
|
|
2391
|
-
var e = ja, t = $a, a = v.cssPrefix, n = v.replacementClass, r = co;
|
|
2392
|
-
if (a !== e || n !== t) {
|
|
2393
|
-
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
2394
|
-
r = r.replace(i, ".".concat(a, "-")).replace(o, "--".concat(a, "-")).replace(s, ".".concat(n));
|
|
2395
|
-
}
|
|
2396
|
-
return r;
|
|
2397
|
-
}
|
|
2398
|
-
var Nt = !1;
|
|
2399
|
-
function ze() {
|
|
2400
|
-
v.autoAddCss && !Nt && (oo(Ba()), Nt = !0);
|
|
2401
|
-
}
|
|
2402
|
-
var mo = {
|
|
2403
|
-
mixout: function() {
|
|
2404
|
-
return {
|
|
2405
|
-
dom: {
|
|
2406
|
-
css: Ba,
|
|
2407
|
-
insertCss: ze
|
|
2408
|
-
}
|
|
2409
|
-
};
|
|
2410
|
-
},
|
|
2411
|
-
hooks: function() {
|
|
2412
|
-
return {
|
|
2413
|
-
beforeDOMElementCreation: function() {
|
|
2414
|
-
ze();
|
|
2415
|
-
},
|
|
2416
|
-
beforeI2svg: function() {
|
|
2417
|
-
ze();
|
|
2418
|
-
}
|
|
2419
|
-
};
|
|
2420
|
-
}
|
|
2421
|
-
}, M = U || {};
|
|
2422
|
-
M[D] || (M[D] = {});
|
|
2423
|
-
M[D].styles || (M[D].styles = {});
|
|
2424
|
-
M[D].hooks || (M[D].hooks = {});
|
|
2425
|
-
M[D].shims || (M[D].shims = []);
|
|
2426
|
-
var N = M[D], Wa = [], Ha = function() {
|
|
2427
|
-
A.removeEventListener("DOMContentLoaded", Ha), Ae = 1, Wa.map(function(t) {
|
|
2428
|
-
return t();
|
|
2429
|
-
});
|
|
2430
|
-
}, Ae = !1;
|
|
2431
|
-
z && (Ae = (A.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(A.readyState), Ae || A.addEventListener("DOMContentLoaded", Ha));
|
|
2432
|
-
function ho(e) {
|
|
2433
|
-
z && (Ae ? setTimeout(e, 0) : Wa.push(e));
|
|
2434
|
-
}
|
|
2435
|
-
function pe(e) {
|
|
2436
|
-
var t = e.tag, a = e.attributes, n = a === void 0 ? {} : a, r = e.children, i = r === void 0 ? [] : r;
|
|
2437
|
-
return typeof e == "string" ? Ua(e) : "<".concat(t, " ").concat(lo(n), ">").concat(i.map(pe).join(""), "</").concat(t, ">");
|
|
2438
|
-
}
|
|
2439
|
-
function Tt(e, t, a) {
|
|
2440
|
-
if (e && e[t] && e[t][a])
|
|
2441
|
-
return {
|
|
2442
|
-
prefix: t,
|
|
2443
|
-
iconName: a,
|
|
2444
|
-
icon: e[t][a]
|
|
2445
|
-
};
|
|
2446
|
-
}
|
|
2447
|
-
var Ue = function(t, a, n, r) {
|
|
2448
|
-
var i = Object.keys(t), o = i.length, s = a, l, f, d;
|
|
2449
|
-
for (n === void 0 ? (l = 1, d = t[i[0]]) : (l = 0, d = n); l < o; l++)
|
|
2450
|
-
f = i[l], d = s(d, t[f], f, t);
|
|
2451
|
-
return d;
|
|
2452
|
-
};
|
|
2453
|
-
function Ya(e) {
|
|
2454
|
-
return T(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
2455
|
-
}
|
|
2456
|
-
function jt(e) {
|
|
2457
|
-
return Object.keys(e).reduce(function(t, a) {
|
|
2458
|
-
var n = e[a], r = !!n.icon;
|
|
2459
|
-
return r ? t[n.iconName] = n.icon : t[a] = n, t;
|
|
2460
|
-
}, {});
|
|
2461
|
-
}
|
|
2462
|
-
function qe(e, t) {
|
|
2463
|
-
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = a.skipHooks, r = n === void 0 ? !1 : n, i = jt(t);
|
|
2464
|
-
typeof N.hooks.addPack == "function" && !r ? N.hooks.addPack(e, jt(t)) : N.styles[e] = m(m({}, N.styles[e] || {}), i), e === "fas" && qe("fa", t);
|
|
2465
|
-
}
|
|
2466
|
-
var me = N.styles, go = N.shims, Va = Object.keys(ut), po = Va.reduce(function(e, t) {
|
|
2467
|
-
return e[t] = Object.keys(ut[t]), e;
|
|
2468
|
-
}, {}), mt = null, Ga = {}, Ka = {}, Xa = {}, Ja = {}, qa = {};
|
|
2469
|
-
function vo(e) {
|
|
2470
|
-
return ~to.indexOf(e);
|
|
2471
|
-
}
|
|
2472
|
-
function bo(e, t) {
|
|
2473
|
-
var a = t.split("-"), n = a[0], r = a.slice(1).join("-");
|
|
2474
|
-
return n === e && r !== "" && !vo(r) ? r : null;
|
|
2475
|
-
}
|
|
2476
|
-
var Za = function() {
|
|
2477
|
-
var t = function(i) {
|
|
2478
|
-
return Ue(me, function(o, s, l) {
|
|
2479
|
-
return o[l] = Ue(s, i, {}), o;
|
|
2480
|
-
}, {});
|
|
2481
|
-
};
|
|
2482
|
-
Ga = t(function(r, i, o) {
|
|
2483
|
-
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
2484
|
-
var s = i[2].filter(function(l) {
|
|
2485
|
-
return typeof l == "number";
|
|
2486
|
-
});
|
|
2487
|
-
s.forEach(function(l) {
|
|
2488
|
-
r[l.toString(16)] = o;
|
|
2489
|
-
});
|
|
2490
|
-
}
|
|
2491
|
-
return r;
|
|
2492
|
-
}), Ka = t(function(r, i, o) {
|
|
2493
|
-
if (r[o] = o, i[2]) {
|
|
2494
|
-
var s = i[2].filter(function(l) {
|
|
2495
|
-
return typeof l == "string";
|
|
2496
|
-
});
|
|
2497
|
-
s.forEach(function(l) {
|
|
2498
|
-
r[l] = o;
|
|
2499
|
-
});
|
|
2500
|
-
}
|
|
2501
|
-
return r;
|
|
2502
|
-
}), qa = t(function(r, i, o) {
|
|
2503
|
-
var s = i[2];
|
|
2504
|
-
return r[o] = o, s.forEach(function(l) {
|
|
2505
|
-
r[l] = o;
|
|
2506
|
-
}), r;
|
|
2507
|
-
});
|
|
2508
|
-
var a = "far" in me || v.autoFetchSvg, n = Ue(go, function(r, i) {
|
|
2509
|
-
var o = i[0], s = i[1], l = i[2];
|
|
2510
|
-
return s === "far" && !a && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
2511
|
-
prefix: s,
|
|
2512
|
-
iconName: l
|
|
2513
|
-
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
|
|
2514
|
-
prefix: s,
|
|
2515
|
-
iconName: l
|
|
2516
|
-
}), r;
|
|
2517
|
-
}, {
|
|
2518
|
-
names: {},
|
|
2519
|
-
unicodes: {}
|
|
2520
|
-
});
|
|
2521
|
-
Xa = n.names, Ja = n.unicodes, mt = Ce(v.styleDefault, {
|
|
2522
|
-
family: v.familyDefault
|
|
2523
|
-
});
|
|
2524
|
-
};
|
|
2525
|
-
io(function(e) {
|
|
2526
|
-
mt = Ce(e.styleDefault, {
|
|
2527
|
-
family: v.familyDefault
|
|
2528
|
-
});
|
|
2529
|
-
});
|
|
2530
|
-
Za();
|
|
2531
|
-
function ht(e, t) {
|
|
2532
|
-
return (Ga[e] || {})[t];
|
|
2533
|
-
}
|
|
2534
|
-
function yo(e, t) {
|
|
2535
|
-
return (Ka[e] || {})[t];
|
|
2536
|
-
}
|
|
2537
|
-
function V(e, t) {
|
|
2538
|
-
return (qa[e] || {})[t];
|
|
2539
|
-
}
|
|
2540
|
-
function Qa(e) {
|
|
2541
|
-
return Xa[e] || {
|
|
2542
|
-
prefix: null,
|
|
2543
|
-
iconName: null
|
|
2544
|
-
};
|
|
2545
|
-
}
|
|
2546
|
-
function _o(e) {
|
|
2547
|
-
var t = Ja[e], a = ht("fas", e);
|
|
2548
|
-
return t || (a ? {
|
|
2549
|
-
prefix: "fas",
|
|
2550
|
-
iconName: a
|
|
2551
|
-
} : null) || {
|
|
2552
|
-
prefix: null,
|
|
2553
|
-
iconName: null
|
|
2554
|
-
};
|
|
2555
|
-
}
|
|
2556
|
-
function B() {
|
|
2557
|
-
return mt;
|
|
2558
|
-
}
|
|
2559
|
-
var en = function() {
|
|
2560
|
-
return {
|
|
2561
|
-
prefix: null,
|
|
2562
|
-
iconName: null,
|
|
2563
|
-
rest: []
|
|
2564
|
-
};
|
|
2565
|
-
};
|
|
2566
|
-
function xo(e) {
|
|
2567
|
-
var t = E, a = Va.reduce(function(n, r) {
|
|
2568
|
-
return n[r] = "".concat(v.cssPrefix, "-").concat(r), n;
|
|
2569
|
-
}, {});
|
|
2570
|
-
return Fa.forEach(function(n) {
|
|
2571
|
-
(e.includes(a[n]) || e.some(function(r) {
|
|
2572
|
-
return po[n].includes(r);
|
|
2573
|
-
})) && (t = n);
|
|
2574
|
-
}), t;
|
|
2575
|
-
}
|
|
2576
|
-
function Ce(e) {
|
|
2577
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.family, n = a === void 0 ? E : a, r = Ji[n][e];
|
|
2578
|
-
if (n === he && !e)
|
|
2579
|
-
return "fad";
|
|
2580
|
-
var i = Ft[n][e] || Ft[n][r], o = e in N.styles ? e : null, s = i || o || null;
|
|
2581
|
-
return s;
|
|
2582
|
-
}
|
|
2583
|
-
function wo(e) {
|
|
2584
|
-
var t = [], a = null;
|
|
2585
|
-
return e.forEach(function(n) {
|
|
2586
|
-
var r = bo(v.cssPrefix, n);
|
|
2587
|
-
r ? a = r : n && t.push(n);
|
|
2588
|
-
}), {
|
|
2589
|
-
iconName: a,
|
|
2590
|
-
rest: t
|
|
2591
|
-
};
|
|
2592
|
-
}
|
|
2593
|
-
function $t(e) {
|
|
2594
|
-
return e.sort().filter(function(t, a, n) {
|
|
2595
|
-
return n.indexOf(t) === a;
|
|
2596
|
-
});
|
|
2597
|
-
}
|
|
2598
|
-
var Lt = Na.concat(Oa);
|
|
2599
|
-
function Fe(e) {
|
|
2600
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.skipLookups, n = a === void 0 ? !1 : a, r = null, i = $t(e.filter(function(p) {
|
|
2601
|
-
return Lt.includes(p);
|
|
2602
|
-
})), o = $t(e.filter(function(p) {
|
|
2603
|
-
return !Lt.includes(p);
|
|
2604
|
-
})), s = i.filter(function(p) {
|
|
2605
|
-
return r = p, !da.includes(p);
|
|
2606
|
-
}), l = Ee(s, 1), f = l[0], d = f === void 0 ? null : f, u = xo(i), c = m(m({}, wo(o)), {}, {
|
|
2607
|
-
prefix: Ce(d, {
|
|
2608
|
-
family: u
|
|
2609
|
-
})
|
|
2610
|
-
});
|
|
2611
|
-
return m(m(m({}, c), Io({
|
|
2612
|
-
values: e,
|
|
2613
|
-
family: u,
|
|
2614
|
-
styles: me,
|
|
2615
|
-
config: v,
|
|
2616
|
-
canonical: c,
|
|
2617
|
-
givenPrefix: r
|
|
2618
|
-
})), ko(n, r, c));
|
|
2619
|
-
}
|
|
2620
|
-
function ko(e, t, a) {
|
|
2621
|
-
var n = a.prefix, r = a.iconName;
|
|
2622
|
-
if (e || !n || !r)
|
|
2623
|
-
return {
|
|
2624
|
-
prefix: n,
|
|
2625
|
-
iconName: r
|
|
2626
|
-
};
|
|
2627
|
-
var i = t === "fa" ? Qa(r) : {}, o = V(n, r);
|
|
2628
|
-
return r = i.iconName || o || r, n = i.prefix || n, n === "far" && !me.far && me.fas && !v.autoFetchSvg && (n = "fas"), {
|
|
2629
|
-
prefix: n,
|
|
2630
|
-
iconName: r
|
|
2631
|
-
};
|
|
2632
|
-
}
|
|
2633
|
-
var So = Fa.filter(function(e) {
|
|
2634
|
-
return e !== E || e !== he;
|
|
2635
|
-
}), Ao = Object.keys(Ye).filter(function(e) {
|
|
2636
|
-
return e !== E;
|
|
2637
|
-
}).map(function(e) {
|
|
2638
|
-
return Object.keys(Ye[e]);
|
|
2639
|
-
}).flat();
|
|
2640
|
-
function Io(e) {
|
|
2641
|
-
var t = e.values, a = e.family, n = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, o = e.styles, s = o === void 0 ? {} : o, l = e.config, f = l === void 0 ? {} : l, d = a === he, u = t.includes("fa-duotone") || t.includes("fad"), c = f.familyDefault === "duotone", p = n.prefix === "fad" || n.prefix === "fa-duotone";
|
|
2642
|
-
if (!d && (u || c || p) && (n.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (n.prefix = "fab"), !n.prefix && So.includes(a)) {
|
|
2643
|
-
var h = Object.keys(s).find(function(w) {
|
|
2644
|
-
return Ao.includes(w);
|
|
2645
|
-
});
|
|
2646
|
-
if (h || f.autoFetchSvg) {
|
|
2647
|
-
var b = zr.get(a).defaultShortPrefixId;
|
|
2648
|
-
n.prefix = b, n.iconName = V(n.prefix, n.iconName) || n.iconName;
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
return (n.prefix === "fa" || i === "fa") && (n.prefix = B() || "fas"), n;
|
|
2652
|
-
}
|
|
2653
|
-
var Eo = /* @__PURE__ */ (function() {
|
|
2654
|
-
function e() {
|
|
2655
|
-
sr(this, e), this.definitions = {};
|
|
2656
|
-
}
|
|
2657
|
-
return fr(e, [{
|
|
2658
|
-
key: "add",
|
|
2659
|
-
value: function() {
|
|
2660
|
-
for (var a = this, n = arguments.length, r = new Array(n), i = 0; i < n; i++)
|
|
2661
|
-
r[i] = arguments[i];
|
|
2662
|
-
var o = r.reduce(this._pullDefinitions, {});
|
|
2663
|
-
Object.keys(o).forEach(function(s) {
|
|
2664
|
-
a.definitions[s] = m(m({}, a.definitions[s] || {}), o[s]), qe(s, o[s]);
|
|
2665
|
-
var l = ut[E][s];
|
|
2666
|
-
l && qe(l, o[s]), Za();
|
|
2667
|
-
});
|
|
2668
|
-
}
|
|
2669
|
-
}, {
|
|
2670
|
-
key: "reset",
|
|
2671
|
-
value: function() {
|
|
2672
|
-
this.definitions = {};
|
|
2673
|
-
}
|
|
2674
|
-
}, {
|
|
2675
|
-
key: "_pullDefinitions",
|
|
2676
|
-
value: function(a, n) {
|
|
2677
|
-
var r = n.prefix && n.iconName && n.icon ? {
|
|
2678
|
-
0: n
|
|
2679
|
-
} : n;
|
|
2680
|
-
return Object.keys(r).map(function(i) {
|
|
2681
|
-
var o = r[i], s = o.prefix, l = o.iconName, f = o.icon, d = f[2];
|
|
2682
|
-
a[s] || (a[s] = {}), d.length > 0 && d.forEach(function(u) {
|
|
2683
|
-
typeof u == "string" && (a[s][u] = f);
|
|
2684
|
-
}), a[s][l] = f;
|
|
2685
|
-
}), a;
|
|
2686
|
-
}
|
|
2687
|
-
}]);
|
|
2688
|
-
})(), Rt = [], Q = {}, ee = {}, Po = Object.keys(ee);
|
|
2689
|
-
function Co(e, t) {
|
|
2690
|
-
var a = t.mixoutsTo;
|
|
2691
|
-
return Rt = e, Q = {}, Object.keys(ee).forEach(function(n) {
|
|
2692
|
-
Po.indexOf(n) === -1 && delete ee[n];
|
|
2693
|
-
}), Rt.forEach(function(n) {
|
|
2694
|
-
var r = n.mixout ? n.mixout() : {};
|
|
2695
|
-
if (Object.keys(r).forEach(function(o) {
|
|
2696
|
-
typeof r[o] == "function" && (a[o] = r[o]), Se(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
2697
|
-
a[o] || (a[o] = {}), a[o][s] = r[o][s];
|
|
2698
|
-
});
|
|
2699
|
-
}), n.hooks) {
|
|
2700
|
-
var i = n.hooks();
|
|
2701
|
-
Object.keys(i).forEach(function(o) {
|
|
2702
|
-
Q[o] || (Q[o] = []), Q[o].push(i[o]);
|
|
2703
|
-
});
|
|
2704
|
-
}
|
|
2705
|
-
n.provides && n.provides(ee);
|
|
2706
|
-
}), a;
|
|
2707
|
-
}
|
|
2708
|
-
function Ze(e, t) {
|
|
2709
|
-
for (var a = arguments.length, n = new Array(a > 2 ? a - 2 : 0), r = 2; r < a; r++)
|
|
2710
|
-
n[r - 2] = arguments[r];
|
|
2711
|
-
var i = Q[e] || [];
|
|
2712
|
-
return i.forEach(function(o) {
|
|
2713
|
-
t = o.apply(null, [t].concat(n));
|
|
2714
|
-
}), t;
|
|
2715
|
-
}
|
|
2716
|
-
function X(e) {
|
|
2717
|
-
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2718
|
-
a[n - 1] = arguments[n];
|
|
2719
|
-
var r = Q[e] || [];
|
|
2720
|
-
r.forEach(function(i) {
|
|
2721
|
-
i.apply(null, a);
|
|
2722
|
-
});
|
|
2723
|
-
}
|
|
2724
|
-
function W() {
|
|
2725
|
-
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
2726
|
-
return ee[e] ? ee[e].apply(null, t) : void 0;
|
|
2727
|
-
}
|
|
2728
|
-
function Qe(e) {
|
|
2729
|
-
e.prefix === "fa" && (e.prefix = "fas");
|
|
2730
|
-
var t = e.iconName, a = e.prefix || B();
|
|
2731
|
-
if (t)
|
|
2732
|
-
return t = V(a, t) || t, Tt(tn.definitions, a, t) || Tt(N.styles, a, t);
|
|
2733
|
-
}
|
|
2734
|
-
var tn = new Eo(), Fo = function() {
|
|
2735
|
-
v.autoReplaceSvg = !1, v.observeMutations = !1, X("noAuto");
|
|
2736
|
-
}, Oo = {
|
|
2737
|
-
i2svg: function() {
|
|
2738
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2739
|
-
return z ? (X("beforeI2svg", t), W("pseudoElements2svg", t), W("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
2740
|
-
},
|
|
2741
|
-
watch: function() {
|
|
2742
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot;
|
|
2743
|
-
v.autoReplaceSvg === !1 && (v.autoReplaceSvg = !0), v.observeMutations = !0, ho(function() {
|
|
2744
|
-
To({
|
|
2745
|
-
autoReplaceSvgRoot: a
|
|
2746
|
-
}), X("watch", t);
|
|
2747
|
-
});
|
|
2748
|
-
}
|
|
2749
|
-
}, No = {
|
|
2750
|
-
icon: function(t) {
|
|
2751
|
-
if (t === null)
|
|
2752
|
-
return null;
|
|
2753
|
-
if (Se(t) === "object" && t.prefix && t.iconName)
|
|
2754
|
-
return {
|
|
2755
|
-
prefix: t.prefix,
|
|
2756
|
-
iconName: V(t.prefix, t.iconName) || t.iconName
|
|
2757
|
-
};
|
|
2758
|
-
if (Array.isArray(t) && t.length === 2) {
|
|
2759
|
-
var a = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], n = Ce(t[0]);
|
|
2760
|
-
return {
|
|
2761
|
-
prefix: n,
|
|
2762
|
-
iconName: V(n, a) || a
|
|
2763
|
-
};
|
|
2764
|
-
}
|
|
2765
|
-
if (typeof t == "string" && (t.indexOf("".concat(v.cssPrefix, "-")) > -1 || t.match(qi))) {
|
|
2766
|
-
var r = Fe(t.split(" "), {
|
|
2767
|
-
skipLookups: !0
|
|
2768
|
-
});
|
|
2769
|
-
return {
|
|
2770
|
-
prefix: r.prefix || B(),
|
|
2771
|
-
iconName: V(r.prefix, r.iconName) || r.iconName
|
|
2772
|
-
};
|
|
2773
|
-
}
|
|
2774
|
-
if (typeof t == "string") {
|
|
2775
|
-
var i = B();
|
|
2776
|
-
return {
|
|
2777
|
-
prefix: i,
|
|
2778
|
-
iconName: V(i, t) || t
|
|
2779
|
-
};
|
|
2780
|
-
}
|
|
2781
|
-
}
|
|
2782
|
-
}, F = {
|
|
2783
|
-
noAuto: Fo,
|
|
2784
|
-
config: v,
|
|
2785
|
-
dom: Oo,
|
|
2786
|
-
parse: No,
|
|
2787
|
-
library: tn,
|
|
2788
|
-
findIconDefinition: Qe,
|
|
2789
|
-
toHtml: pe
|
|
2790
|
-
}, To = function() {
|
|
2791
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot, n = a === void 0 ? A : a;
|
|
2792
|
-
(Object.keys(N.styles).length > 0 || v.autoFetchSvg) && z && v.autoReplaceSvg && F.dom.i2svg({
|
|
2793
|
-
node: n
|
|
2794
|
-
});
|
|
2795
|
-
};
|
|
2796
|
-
function Oe(e, t) {
|
|
2797
|
-
return Object.defineProperty(e, "abstract", {
|
|
2798
|
-
get: t
|
|
2799
|
-
}), Object.defineProperty(e, "html", {
|
|
2800
|
-
get: function() {
|
|
2801
|
-
return e.abstract.map(function(n) {
|
|
2802
|
-
return pe(n);
|
|
2803
|
-
});
|
|
2804
|
-
}
|
|
2805
|
-
}), Object.defineProperty(e, "node", {
|
|
2806
|
-
get: function() {
|
|
2807
|
-
if (z) {
|
|
2808
|
-
var n = A.createElement("div");
|
|
2809
|
-
return n.innerHTML = e.html, n.children;
|
|
2810
|
-
}
|
|
2811
|
-
}
|
|
2812
|
-
}), e;
|
|
2813
|
-
}
|
|
2814
|
-
function jo(e) {
|
|
2815
|
-
var t = e.children, a = e.main, n = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
2816
|
-
if (dt(o) && a.found && !n.found) {
|
|
2817
|
-
var s = a.width, l = a.height, f = {
|
|
2818
|
-
x: s / l / 2,
|
|
2819
|
-
y: 0.5
|
|
2820
|
-
};
|
|
2821
|
-
r.style = Pe(m(m({}, i), {}, {
|
|
2822
|
-
"transform-origin": "".concat(f.x + o.x / 16, "em ").concat(f.y + o.y / 16, "em")
|
|
2823
|
-
}));
|
|
2824
|
-
}
|
|
2825
|
-
return [{
|
|
2826
|
-
tag: "svg",
|
|
2827
|
-
attributes: r,
|
|
2828
|
-
children: t
|
|
2829
|
-
}];
|
|
2830
|
-
}
|
|
2831
|
-
function $o(e) {
|
|
2832
|
-
var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(v.cssPrefix, "-").concat(a) : i;
|
|
2833
|
-
return [{
|
|
2834
|
-
tag: "svg",
|
|
2835
|
-
attributes: {
|
|
2836
|
-
style: "display: none;"
|
|
2837
|
-
},
|
|
2838
|
-
children: [{
|
|
2839
|
-
tag: "symbol",
|
|
2840
|
-
attributes: m(m({}, r), {}, {
|
|
2841
|
-
id: o
|
|
2842
|
-
}),
|
|
2843
|
-
children: n
|
|
2844
|
-
}]
|
|
2845
|
-
}];
|
|
2846
|
-
}
|
|
2847
|
-
function Lo(e) {
|
|
2848
|
-
var t = ["aria-label", "aria-labelledby", "title", "role"];
|
|
2849
|
-
return t.some(function(a) {
|
|
2850
|
-
return a in e;
|
|
2851
|
-
});
|
|
2852
|
-
}
|
|
2853
|
-
function gt(e) {
|
|
2854
|
-
var t = e.icons, a = t.main, n = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.maskId, f = e.extra, d = e.watchable, u = d === void 0 ? !1 : d, c = n.found ? n : a, p = c.width, h = c.height, b = [v.replacementClass, i ? "".concat(v.cssPrefix, "-").concat(i) : ""].filter(function(k) {
|
|
2855
|
-
return f.classes.indexOf(k) === -1;
|
|
2856
|
-
}).filter(function(k) {
|
|
2857
|
-
return k !== "" || !!k;
|
|
2858
|
-
}).concat(f.classes).join(" "), w = {
|
|
2859
|
-
children: [],
|
|
2860
|
-
attributes: m(m({}, f.attributes), {}, {
|
|
2861
|
-
"data-prefix": r,
|
|
2862
|
-
"data-icon": i,
|
|
2863
|
-
class: b,
|
|
2864
|
-
role: f.attributes.role || "img",
|
|
2865
|
-
viewBox: "0 0 ".concat(p, " ").concat(h)
|
|
2866
|
-
})
|
|
2867
|
-
};
|
|
2868
|
-
!Lo(f.attributes) && !f.attributes["aria-hidden"] && (w.attributes["aria-hidden"] = "true"), u && (w.attributes[K] = "");
|
|
2869
|
-
var x = m(m({}, w), {}, {
|
|
2870
|
-
prefix: r,
|
|
2871
|
-
iconName: i,
|
|
2872
|
-
main: a,
|
|
2873
|
-
mask: n,
|
|
2874
|
-
maskId: l,
|
|
2875
|
-
transform: o,
|
|
2876
|
-
symbol: s,
|
|
2877
|
-
styles: m({}, f.styles)
|
|
2878
|
-
}), y = n.found && a.found ? W("generateAbstractMask", x) || {
|
|
2879
|
-
children: [],
|
|
2880
|
-
attributes: {}
|
|
2881
|
-
} : W("generateAbstractIcon", x) || {
|
|
2882
|
-
children: [],
|
|
2883
|
-
attributes: {}
|
|
2884
|
-
}, g = y.children, P = y.attributes;
|
|
2885
|
-
return x.children = g, x.attributes = P, s ? $o(x) : jo(x);
|
|
2886
|
-
}
|
|
2887
|
-
function Dt(e) {
|
|
2888
|
-
var t = e.content, a = e.width, n = e.height, r = e.transform, i = e.extra, o = e.watchable, s = o === void 0 ? !1 : o, l = m(m({}, i.attributes), {}, {
|
|
2889
|
-
class: i.classes.join(" ")
|
|
2890
|
-
});
|
|
2891
|
-
s && (l[K] = "");
|
|
2892
|
-
var f = m({}, i.styles);
|
|
2893
|
-
dt(r) && (f.transform = uo({
|
|
2894
|
-
transform: r,
|
|
2895
|
-
width: a,
|
|
2896
|
-
height: n
|
|
2897
|
-
}), f["-webkit-transform"] = f.transform);
|
|
2898
|
-
var d = Pe(f);
|
|
2899
|
-
d.length > 0 && (l.style = d);
|
|
2900
|
-
var u = [];
|
|
2901
|
-
return u.push({
|
|
2902
|
-
tag: "span",
|
|
2903
|
-
attributes: l,
|
|
2904
|
-
children: [t]
|
|
2905
|
-
}), u;
|
|
2906
|
-
}
|
|
2907
|
-
function Ro(e) {
|
|
2908
|
-
var t = e.content, a = e.extra, n = m(m({}, a.attributes), {}, {
|
|
2909
|
-
class: a.classes.join(" ")
|
|
2910
|
-
}), r = Pe(a.styles);
|
|
2911
|
-
r.length > 0 && (n.style = r);
|
|
2912
|
-
var i = [];
|
|
2913
|
-
return i.push({
|
|
2914
|
-
tag: "span",
|
|
2915
|
-
attributes: n,
|
|
2916
|
-
children: [t]
|
|
2917
|
-
}), i;
|
|
2918
|
-
}
|
|
2919
|
-
var Be = N.styles;
|
|
2920
|
-
function et(e) {
|
|
2921
|
-
var t = e[0], a = e[1], n = e.slice(4), r = Ee(n, 1), i = r[0], o = null;
|
|
2922
|
-
return Array.isArray(i) ? o = {
|
|
2923
|
-
tag: "g",
|
|
2924
|
-
attributes: {
|
|
2925
|
-
class: "".concat(v.cssPrefix, "-").concat(Me.GROUP)
|
|
2926
|
-
},
|
|
2927
|
-
children: [{
|
|
2928
|
-
tag: "path",
|
|
2929
|
-
attributes: {
|
|
2930
|
-
class: "".concat(v.cssPrefix, "-").concat(Me.SECONDARY),
|
|
2931
|
-
fill: "currentColor",
|
|
2932
|
-
d: i[0]
|
|
2933
|
-
}
|
|
2934
|
-
}, {
|
|
2935
|
-
tag: "path",
|
|
2936
|
-
attributes: {
|
|
2937
|
-
class: "".concat(v.cssPrefix, "-").concat(Me.PRIMARY),
|
|
2938
|
-
fill: "currentColor",
|
|
2939
|
-
d: i[1]
|
|
2940
|
-
}
|
|
2941
|
-
}]
|
|
2942
|
-
} : o = {
|
|
2943
|
-
tag: "path",
|
|
2944
|
-
attributes: {
|
|
2945
|
-
fill: "currentColor",
|
|
2946
|
-
d: i
|
|
2947
|
-
}
|
|
2948
|
-
}, {
|
|
2949
|
-
found: !0,
|
|
2950
|
-
width: t,
|
|
2951
|
-
height: a,
|
|
2952
|
-
icon: o
|
|
2953
|
-
};
|
|
2954
|
-
}
|
|
2955
|
-
var Do = {
|
|
2956
|
-
found: !1,
|
|
2957
|
-
width: 512,
|
|
2958
|
-
height: 512
|
|
2959
|
-
};
|
|
2960
|
-
function Mo(e, t) {
|
|
2961
|
-
!Ra && !v.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
2962
|
-
}
|
|
2963
|
-
function tt(e, t) {
|
|
2964
|
-
var a = t;
|
|
2965
|
-
return t === "fa" && v.styleDefault !== null && (t = B()), new Promise(function(n, r) {
|
|
2966
|
-
if (a === "fa") {
|
|
2967
|
-
var i = Qa(e) || {};
|
|
2968
|
-
e = i.iconName || e, t = i.prefix || t;
|
|
2969
|
-
}
|
|
2970
|
-
if (e && t && Be[t] && Be[t][e]) {
|
|
2971
|
-
var o = Be[t][e];
|
|
2972
|
-
return n(et(o));
|
|
2973
|
-
}
|
|
2974
|
-
Mo(e, t), n(m(m({}, Do), {}, {
|
|
2975
|
-
icon: v.showMissingIcons && e ? W("missingIconAbstract") || {} : {}
|
|
2976
|
-
}));
|
|
2977
|
-
});
|
|
2978
|
-
}
|
|
2979
|
-
var Mt = function() {
|
|
2980
|
-
}, at = v.measurePerformance && be && be.mark && be.measure ? be : {
|
|
2981
|
-
mark: Mt,
|
|
2982
|
-
measure: Mt
|
|
2983
|
-
}, oe = 'FA "7.2.0"', zo = function(t) {
|
|
2984
|
-
return at.mark("".concat(oe, " ").concat(t, " begins")), function() {
|
|
2985
|
-
return an(t);
|
|
2986
|
-
};
|
|
2987
|
-
}, an = function(t) {
|
|
2988
|
-
at.mark("".concat(oe, " ").concat(t, " ends")), at.measure("".concat(oe, " ").concat(t), "".concat(oe, " ").concat(t, " begins"), "".concat(oe, " ").concat(t, " ends"));
|
|
2989
|
-
}, pt = {
|
|
2990
|
-
begin: zo,
|
|
2991
|
-
end: an
|
|
2992
|
-
}, we = function() {
|
|
2993
|
-
};
|
|
2994
|
-
function zt(e) {
|
|
2995
|
-
var t = e.getAttribute ? e.getAttribute(K) : null;
|
|
2996
|
-
return typeof t == "string";
|
|
2997
|
-
}
|
|
2998
|
-
function Uo(e) {
|
|
2999
|
-
var t = e.getAttribute ? e.getAttribute(lt) : null, a = e.getAttribute ? e.getAttribute(ft) : null;
|
|
3000
|
-
return t && a;
|
|
3001
|
-
}
|
|
3002
|
-
function Bo(e) {
|
|
3003
|
-
return e && e.classList && e.classList.contains && e.classList.contains(v.replacementClass);
|
|
3004
|
-
}
|
|
3005
|
-
function Wo() {
|
|
3006
|
-
if (v.autoReplaceSvg === !0)
|
|
3007
|
-
return ke.replace;
|
|
3008
|
-
var e = ke[v.autoReplaceSvg];
|
|
3009
|
-
return e || ke.replace;
|
|
3010
|
-
}
|
|
3011
|
-
function Ho(e) {
|
|
3012
|
-
return A.createElementNS("http://www.w3.org/2000/svg", e);
|
|
3013
|
-
}
|
|
3014
|
-
function Yo(e) {
|
|
3015
|
-
return A.createElement(e);
|
|
3016
|
-
}
|
|
3017
|
-
function nn(e) {
|
|
3018
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.ceFn, n = a === void 0 ? e.tag === "svg" ? Ho : Yo : a;
|
|
3019
|
-
if (typeof e == "string")
|
|
3020
|
-
return A.createTextNode(e);
|
|
3021
|
-
var r = n(e.tag);
|
|
3022
|
-
Object.keys(e.attributes || []).forEach(function(o) {
|
|
3023
|
-
r.setAttribute(o, e.attributes[o]);
|
|
3024
|
-
});
|
|
3025
|
-
var i = e.children || [];
|
|
3026
|
-
return i.forEach(function(o) {
|
|
3027
|
-
r.appendChild(nn(o, {
|
|
3028
|
-
ceFn: n
|
|
3029
|
-
}));
|
|
3030
|
-
}), r;
|
|
3031
|
-
}
|
|
3032
|
-
function Vo(e) {
|
|
3033
|
-
var t = " ".concat(e.outerHTML, " ");
|
|
3034
|
-
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
3035
|
-
}
|
|
3036
|
-
var ke = {
|
|
3037
|
-
replace: function(t) {
|
|
3038
|
-
var a = t[0];
|
|
3039
|
-
if (a.parentNode)
|
|
3040
|
-
if (t[1].forEach(function(r) {
|
|
3041
|
-
a.parentNode.insertBefore(nn(r), a);
|
|
3042
|
-
}), a.getAttribute(K) === null && v.keepOriginalSource) {
|
|
3043
|
-
var n = A.createComment(Vo(a));
|
|
3044
|
-
a.parentNode.replaceChild(n, a);
|
|
3045
|
-
} else
|
|
3046
|
-
a.remove();
|
|
3047
|
-
},
|
|
3048
|
-
nest: function(t) {
|
|
3049
|
-
var a = t[0], n = t[1];
|
|
3050
|
-
if (~ct(a).indexOf(v.replacementClass))
|
|
3051
|
-
return ke.replace(t);
|
|
3052
|
-
var r = new RegExp("".concat(v.cssPrefix, "-.*"));
|
|
3053
|
-
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
3054
|
-
var i = n[0].attributes.class.split(" ").reduce(function(s, l) {
|
|
3055
|
-
return l === v.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
|
|
3056
|
-
}, {
|
|
3057
|
-
toNode: [],
|
|
3058
|
-
toSvg: []
|
|
3059
|
-
});
|
|
3060
|
-
n[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? a.removeAttribute("class") : a.setAttribute("class", i.toNode.join(" "));
|
|
3061
|
-
}
|
|
3062
|
-
var o = n.map(function(s) {
|
|
3063
|
-
return pe(s);
|
|
3064
|
-
}).join(`
|
|
3065
|
-
`);
|
|
3066
|
-
a.setAttribute(K, ""), a.innerHTML = o;
|
|
3067
|
-
}
|
|
3068
|
-
};
|
|
3069
|
-
function Ut(e) {
|
|
3070
|
-
e();
|
|
3071
|
-
}
|
|
3072
|
-
function rn(e, t) {
|
|
3073
|
-
var a = typeof t == "function" ? t : we;
|
|
3074
|
-
if (e.length === 0)
|
|
3075
|
-
a();
|
|
3076
|
-
else {
|
|
3077
|
-
var n = Ut;
|
|
3078
|
-
v.mutateApproach === Ki && (n = U.requestAnimationFrame || Ut), n(function() {
|
|
3079
|
-
var r = Wo(), i = pt.begin("mutate");
|
|
3080
|
-
e.map(r), i(), a();
|
|
3081
|
-
});
|
|
3082
|
-
}
|
|
3083
|
-
}
|
|
3084
|
-
var vt = !1;
|
|
3085
|
-
function on() {
|
|
3086
|
-
vt = !0;
|
|
3087
|
-
}
|
|
3088
|
-
function nt() {
|
|
3089
|
-
vt = !1;
|
|
3090
|
-
}
|
|
3091
|
-
var Ie = null;
|
|
3092
|
-
function Bt(e) {
|
|
3093
|
-
if (It && v.observeMutations) {
|
|
3094
|
-
var t = e.treeCallback, a = t === void 0 ? we : t, n = e.nodeCallback, r = n === void 0 ? we : n, i = e.pseudoElementsCallback, o = i === void 0 ? we : i, s = e.observeMutationsRoot, l = s === void 0 ? A : s;
|
|
3095
|
-
Ie = new It(function(f) {
|
|
3096
|
-
if (!vt) {
|
|
3097
|
-
var d = B();
|
|
3098
|
-
ne(f).forEach(function(u) {
|
|
3099
|
-
if (u.type === "childList" && u.addedNodes.length > 0 && !zt(u.addedNodes[0]) && (v.searchPseudoElements && o(u.target), a(u.target)), u.type === "attributes" && u.target.parentNode && v.searchPseudoElements && o([u.target], !0), u.type === "attributes" && zt(u.target) && ~eo.indexOf(u.attributeName))
|
|
3100
|
-
if (u.attributeName === "class" && Uo(u.target)) {
|
|
3101
|
-
var c = Fe(ct(u.target)), p = c.prefix, h = c.iconName;
|
|
3102
|
-
u.target.setAttribute(lt, p || d), h && u.target.setAttribute(ft, h);
|
|
3103
|
-
} else Bo(u.target) && r(u.target);
|
|
3104
|
-
});
|
|
3105
|
-
}
|
|
3106
|
-
}), z && Ie.observe(l, {
|
|
3107
|
-
childList: !0,
|
|
3108
|
-
attributes: !0,
|
|
3109
|
-
characterData: !0,
|
|
3110
|
-
subtree: !0
|
|
3111
|
-
});
|
|
3112
|
-
}
|
|
3113
|
-
}
|
|
3114
|
-
function Go() {
|
|
3115
|
-
Ie && Ie.disconnect();
|
|
3116
|
-
}
|
|
3117
|
-
function Ko(e) {
|
|
3118
|
-
var t = e.getAttribute("style"), a = [];
|
|
3119
|
-
return t && (a = t.split(";").reduce(function(n, r) {
|
|
3120
|
-
var i = r.split(":"), o = i[0], s = i.slice(1);
|
|
3121
|
-
return o && s.length > 0 && (n[o] = s.join(":").trim()), n;
|
|
3122
|
-
}, {})), a;
|
|
3123
|
-
}
|
|
3124
|
-
function Xo(e) {
|
|
3125
|
-
var t = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r = Fe(ct(e));
|
|
3126
|
-
return r.prefix || (r.prefix = B()), t && a && (r.prefix = t, r.iconName = a), r.iconName && r.prefix || (r.prefix && n.length > 0 && (r.iconName = yo(r.prefix, e.innerText) || ht(r.prefix, Ya(e.innerText))), !r.iconName && v.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
3127
|
-
}
|
|
3128
|
-
function Jo(e) {
|
|
3129
|
-
var t = ne(e.attributes).reduce(function(a, n) {
|
|
3130
|
-
return a.name !== "class" && a.name !== "style" && (a[n.name] = n.value), a;
|
|
3131
|
-
}, {});
|
|
3132
|
-
return t;
|
|
3133
|
-
}
|
|
3134
|
-
function qo() {
|
|
3135
|
-
return {
|
|
3136
|
-
iconName: null,
|
|
3137
|
-
prefix: null,
|
|
3138
|
-
transform: j,
|
|
3139
|
-
symbol: !1,
|
|
3140
|
-
mask: {
|
|
3141
|
-
iconName: null,
|
|
3142
|
-
prefix: null,
|
|
3143
|
-
rest: []
|
|
3144
|
-
},
|
|
3145
|
-
maskId: null,
|
|
3146
|
-
extra: {
|
|
3147
|
-
classes: [],
|
|
3148
|
-
styles: {},
|
|
3149
|
-
attributes: {}
|
|
3150
|
-
}
|
|
3151
|
-
};
|
|
3152
|
-
}
|
|
3153
|
-
function Wt(e) {
|
|
3154
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
3155
|
-
styleParser: !0
|
|
3156
|
-
}, a = Xo(e), n = a.iconName, r = a.prefix, i = a.rest, o = Jo(e), s = Ze("parseNodeAttributes", {}, e), l = t.styleParser ? Ko(e) : [];
|
|
3157
|
-
return m({
|
|
3158
|
-
iconName: n,
|
|
3159
|
-
prefix: r,
|
|
3160
|
-
transform: j,
|
|
3161
|
-
mask: {
|
|
3162
|
-
iconName: null,
|
|
3163
|
-
prefix: null,
|
|
3164
|
-
rest: []
|
|
3165
|
-
},
|
|
3166
|
-
maskId: null,
|
|
3167
|
-
symbol: !1,
|
|
3168
|
-
extra: {
|
|
3169
|
-
classes: i,
|
|
3170
|
-
styles: l,
|
|
3171
|
-
attributes: o
|
|
3172
|
-
}
|
|
3173
|
-
}, s);
|
|
3174
|
-
}
|
|
3175
|
-
var Zo = N.styles;
|
|
3176
|
-
function sn(e) {
|
|
3177
|
-
var t = v.autoReplaceSvg === "nest" ? Wt(e, {
|
|
3178
|
-
styleParser: !1
|
|
3179
|
-
}) : Wt(e);
|
|
3180
|
-
return ~t.extra.classes.indexOf(Ma) ? W("generateLayersText", e, t) : W("generateSvgReplacementMutation", e, t);
|
|
3181
|
-
}
|
|
3182
|
-
function Qo() {
|
|
3183
|
-
return [].concat(T(Oa), T(Na));
|
|
3184
|
-
}
|
|
3185
|
-
function Ht(e) {
|
|
3186
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3187
|
-
if (!z) return Promise.resolve();
|
|
3188
|
-
var a = A.documentElement.classList, n = function(u) {
|
|
3189
|
-
return a.add("".concat(Ct, "-").concat(u));
|
|
3190
|
-
}, r = function(u) {
|
|
3191
|
-
return a.remove("".concat(Ct, "-").concat(u));
|
|
3192
|
-
}, i = v.autoFetchSvg ? Qo() : da.concat(Object.keys(Zo));
|
|
3193
|
-
i.includes("fa") || i.push("fa");
|
|
3194
|
-
var o = [".".concat(Ma, ":not([").concat(K, "])")].concat(i.map(function(d) {
|
|
3195
|
-
return ".".concat(d, ":not([").concat(K, "])");
|
|
3196
|
-
})).join(", ");
|
|
3197
|
-
if (o.length === 0)
|
|
3198
|
-
return Promise.resolve();
|
|
3199
|
-
var s = [];
|
|
3200
|
-
try {
|
|
3201
|
-
s = ne(e.querySelectorAll(o));
|
|
3202
|
-
} catch {
|
|
3203
|
-
}
|
|
3204
|
-
if (s.length > 0)
|
|
3205
|
-
n("pending"), r("complete");
|
|
3206
|
-
else
|
|
3207
|
-
return Promise.resolve();
|
|
3208
|
-
var l = pt.begin("onTree"), f = s.reduce(function(d, u) {
|
|
3209
|
-
try {
|
|
3210
|
-
var c = sn(u);
|
|
3211
|
-
c && d.push(c);
|
|
3212
|
-
} catch (p) {
|
|
3213
|
-
Ra || p.name === "MissingIcon" && console.error(p);
|
|
3214
|
-
}
|
|
3215
|
-
return d;
|
|
3216
|
-
}, []);
|
|
3217
|
-
return new Promise(function(d, u) {
|
|
3218
|
-
Promise.all(f).then(function(c) {
|
|
3219
|
-
rn(c, function() {
|
|
3220
|
-
n("active"), n("complete"), r("pending"), typeof t == "function" && t(), l(), d();
|
|
3221
|
-
});
|
|
3222
|
-
}).catch(function(c) {
|
|
3223
|
-
l(), u(c);
|
|
3224
|
-
});
|
|
3225
|
-
});
|
|
3226
|
-
}
|
|
3227
|
-
function es(e) {
|
|
3228
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3229
|
-
sn(e).then(function(a) {
|
|
3230
|
-
a && rn([a], t);
|
|
3231
|
-
});
|
|
3232
|
-
}
|
|
3233
|
-
function ts(e) {
|
|
3234
|
-
return function(t) {
|
|
3235
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (t || {}).icon ? t : Qe(t || {}), r = a.mask;
|
|
3236
|
-
return r && (r = (r || {}).icon ? r : Qe(r || {})), e(n, m(m({}, a), {}, {
|
|
3237
|
-
mask: r
|
|
3238
|
-
}));
|
|
3239
|
-
};
|
|
3240
|
-
}
|
|
3241
|
-
var as = function(t) {
|
|
3242
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ? j : n, i = a.symbol, o = i === void 0 ? !1 : i, s = a.mask, l = s === void 0 ? null : s, f = a.maskId, d = f === void 0 ? null : f, u = a.classes, c = u === void 0 ? [] : u, p = a.attributes, h = p === void 0 ? {} : p, b = a.styles, w = b === void 0 ? {} : b;
|
|
3243
|
-
if (t) {
|
|
3244
|
-
var x = t.prefix, y = t.iconName, g = t.icon;
|
|
3245
|
-
return Oe(m({
|
|
3246
|
-
type: "icon"
|
|
3247
|
-
}, t), function() {
|
|
3248
|
-
return X("beforeDOMElementCreation", {
|
|
3249
|
-
iconDefinition: t,
|
|
3250
|
-
params: a
|
|
3251
|
-
}), gt({
|
|
3252
|
-
icons: {
|
|
3253
|
-
main: et(g),
|
|
3254
|
-
mask: l ? et(l.icon) : {
|
|
3255
|
-
found: !1,
|
|
3256
|
-
width: null,
|
|
3257
|
-
height: null,
|
|
3258
|
-
icon: {}
|
|
3259
|
-
}
|
|
3260
|
-
},
|
|
3261
|
-
prefix: x,
|
|
3262
|
-
iconName: y,
|
|
3263
|
-
transform: m(m({}, j), r),
|
|
3264
|
-
symbol: o,
|
|
3265
|
-
maskId: d,
|
|
3266
|
-
extra: {
|
|
3267
|
-
attributes: h,
|
|
3268
|
-
styles: w,
|
|
3269
|
-
classes: c
|
|
3270
|
-
}
|
|
3271
|
-
});
|
|
3272
|
-
});
|
|
3273
|
-
}
|
|
3274
|
-
}, ns = {
|
|
3275
|
-
mixout: function() {
|
|
3276
|
-
return {
|
|
3277
|
-
icon: ts(as)
|
|
3278
|
-
};
|
|
3279
|
-
},
|
|
3280
|
-
hooks: function() {
|
|
3281
|
-
return {
|
|
3282
|
-
mutationObserverCallbacks: function(a) {
|
|
3283
|
-
return a.treeCallback = Ht, a.nodeCallback = es, a;
|
|
3284
|
-
}
|
|
3285
|
-
};
|
|
3286
|
-
},
|
|
3287
|
-
provides: function(t) {
|
|
3288
|
-
t.i2svg = function(a) {
|
|
3289
|
-
var n = a.node, r = n === void 0 ? A : n, i = a.callback, o = i === void 0 ? function() {
|
|
3290
|
-
} : i;
|
|
3291
|
-
return Ht(r, o);
|
|
3292
|
-
}, t.generateSvgReplacementMutation = function(a, n) {
|
|
3293
|
-
var r = n.iconName, i = n.prefix, o = n.transform, s = n.symbol, l = n.mask, f = n.maskId, d = n.extra;
|
|
3294
|
-
return new Promise(function(u, c) {
|
|
3295
|
-
Promise.all([tt(r, i), l.iconName ? tt(l.iconName, l.prefix) : Promise.resolve({
|
|
3296
|
-
found: !1,
|
|
3297
|
-
width: 512,
|
|
3298
|
-
height: 512,
|
|
3299
|
-
icon: {}
|
|
3300
|
-
})]).then(function(p) {
|
|
3301
|
-
var h = Ee(p, 2), b = h[0], w = h[1];
|
|
3302
|
-
u([a, gt({
|
|
3303
|
-
icons: {
|
|
3304
|
-
main: b,
|
|
3305
|
-
mask: w
|
|
3306
|
-
},
|
|
3307
|
-
prefix: i,
|
|
3308
|
-
iconName: r,
|
|
3309
|
-
transform: o,
|
|
3310
|
-
symbol: s,
|
|
3311
|
-
maskId: f,
|
|
3312
|
-
extra: d,
|
|
3313
|
-
watchable: !0
|
|
3314
|
-
})]);
|
|
3315
|
-
}).catch(c);
|
|
3316
|
-
});
|
|
3317
|
-
}, t.generateAbstractIcon = function(a) {
|
|
3318
|
-
var n = a.children, r = a.attributes, i = a.main, o = a.transform, s = a.styles, l = Pe(s);
|
|
3319
|
-
l.length > 0 && (r.style = l);
|
|
3320
|
-
var f;
|
|
3321
|
-
return dt(o) && (f = W("generateAbstractTransformGrouping", {
|
|
3322
|
-
main: i,
|
|
3323
|
-
transform: o,
|
|
3324
|
-
containerWidth: i.width,
|
|
3325
|
-
iconWidth: i.width
|
|
3326
|
-
})), n.push(f || i.icon), {
|
|
3327
|
-
children: n,
|
|
3328
|
-
attributes: r
|
|
3329
|
-
};
|
|
3330
|
-
};
|
|
3331
|
-
}
|
|
3332
|
-
}, rs = {
|
|
3333
|
-
mixout: function() {
|
|
3334
|
-
return {
|
|
3335
|
-
layer: function(a) {
|
|
3336
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.classes, i = r === void 0 ? [] : r;
|
|
3337
|
-
return Oe({
|
|
3338
|
-
type: "layer"
|
|
3339
|
-
}, function() {
|
|
3340
|
-
X("beforeDOMElementCreation", {
|
|
3341
|
-
assembler: a,
|
|
3342
|
-
params: n
|
|
3343
|
-
});
|
|
3344
|
-
var o = [];
|
|
3345
|
-
return a(function(s) {
|
|
3346
|
-
Array.isArray(s) ? s.map(function(l) {
|
|
3347
|
-
o = o.concat(l.abstract);
|
|
3348
|
-
}) : o = o.concat(s.abstract);
|
|
3349
|
-
}), [{
|
|
3350
|
-
tag: "span",
|
|
3351
|
-
attributes: {
|
|
3352
|
-
class: ["".concat(v.cssPrefix, "-layers")].concat(T(i)).join(" ")
|
|
3353
|
-
},
|
|
3354
|
-
children: o
|
|
3355
|
-
}];
|
|
3356
|
-
});
|
|
3357
|
-
}
|
|
3358
|
-
};
|
|
3359
|
-
}
|
|
3360
|
-
}, is = {
|
|
3361
|
-
mixout: function() {
|
|
3362
|
-
return {
|
|
3363
|
-
counter: function(a) {
|
|
3364
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3365
|
-
n.title;
|
|
3366
|
-
var r = n.classes, i = r === void 0 ? [] : r, o = n.attributes, s = o === void 0 ? {} : o, l = n.styles, f = l === void 0 ? {} : l;
|
|
3367
|
-
return Oe({
|
|
3368
|
-
type: "counter",
|
|
3369
|
-
content: a
|
|
3370
|
-
}, function() {
|
|
3371
|
-
return X("beforeDOMElementCreation", {
|
|
3372
|
-
content: a,
|
|
3373
|
-
params: n
|
|
3374
|
-
}), Ro({
|
|
3375
|
-
content: a.toString(),
|
|
3376
|
-
extra: {
|
|
3377
|
-
attributes: s,
|
|
3378
|
-
styles: f,
|
|
3379
|
-
classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(T(i))
|
|
3380
|
-
}
|
|
3381
|
-
});
|
|
3382
|
-
});
|
|
3383
|
-
}
|
|
3384
|
-
};
|
|
3385
|
-
}
|
|
3386
|
-
}, os = {
|
|
3387
|
-
mixout: function() {
|
|
3388
|
-
return {
|
|
3389
|
-
text: function(a) {
|
|
3390
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, i = r === void 0 ? j : r, o = n.classes, s = o === void 0 ? [] : o, l = n.attributes, f = l === void 0 ? {} : l, d = n.styles, u = d === void 0 ? {} : d;
|
|
3391
|
-
return Oe({
|
|
3392
|
-
type: "text",
|
|
3393
|
-
content: a
|
|
3394
|
-
}, function() {
|
|
3395
|
-
return X("beforeDOMElementCreation", {
|
|
3396
|
-
content: a,
|
|
3397
|
-
params: n
|
|
3398
|
-
}), Dt({
|
|
3399
|
-
content: a,
|
|
3400
|
-
transform: m(m({}, j), i),
|
|
3401
|
-
extra: {
|
|
3402
|
-
attributes: f,
|
|
3403
|
-
styles: u,
|
|
3404
|
-
classes: ["".concat(v.cssPrefix, "-layers-text")].concat(T(s))
|
|
3405
|
-
}
|
|
3406
|
-
});
|
|
3407
|
-
});
|
|
3408
|
-
}
|
|
3409
|
-
};
|
|
3410
|
-
},
|
|
3411
|
-
provides: function(t) {
|
|
3412
|
-
t.generateLayersText = function(a, n) {
|
|
3413
|
-
var r = n.transform, i = n.extra, o = null, s = null;
|
|
3414
|
-
if (ua) {
|
|
3415
|
-
var l = parseInt(getComputedStyle(a).fontSize, 10), f = a.getBoundingClientRect();
|
|
3416
|
-
o = f.width / l, s = f.height / l;
|
|
3417
|
-
}
|
|
3418
|
-
return Promise.resolve([a, Dt({
|
|
3419
|
-
content: a.innerHTML,
|
|
3420
|
-
width: o,
|
|
3421
|
-
height: s,
|
|
3422
|
-
transform: r,
|
|
3423
|
-
extra: i,
|
|
3424
|
-
watchable: !0
|
|
3425
|
-
})]);
|
|
3426
|
-
};
|
|
3427
|
-
}
|
|
3428
|
-
}, ln = new RegExp('"', "ug"), Yt = [1105920, 1112319], Vt = m(m(m(m({}, {
|
|
3429
|
-
FontAwesome: {
|
|
3430
|
-
normal: "fas",
|
|
3431
|
-
400: "fas"
|
|
3432
|
-
}
|
|
3433
|
-
}), Mr), Vi), Kr), rt = Object.keys(Vt).reduce(function(e, t) {
|
|
3434
|
-
return e[t.toLowerCase()] = Vt[t], e;
|
|
3435
|
-
}, {}), ss = Object.keys(rt).reduce(function(e, t) {
|
|
3436
|
-
var a = rt[t];
|
|
3437
|
-
return e[t] = a[900] || T(Object.entries(a))[0][1], e;
|
|
3438
|
-
}, {});
|
|
3439
|
-
function ls(e) {
|
|
3440
|
-
var t = e.replace(ln, "");
|
|
3441
|
-
return Ya(T(t)[0] || "");
|
|
3442
|
-
}
|
|
3443
|
-
function fs(e) {
|
|
3444
|
-
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), a = e.getPropertyValue("content"), n = a.replace(ln, ""), r = n.codePointAt(0), i = r >= Yt[0] && r <= Yt[1], o = n.length === 2 ? n[0] === n[1] : !1;
|
|
3445
|
-
return i || o || t;
|
|
3446
|
-
}
|
|
3447
|
-
function us(e, t) {
|
|
3448
|
-
var a = e.replace(/^['"]|['"]$/g, "").toLowerCase(), n = parseInt(t), r = isNaN(n) ? "normal" : n;
|
|
3449
|
-
return (rt[a] || {})[r] || ss[a];
|
|
3450
|
-
}
|
|
3451
|
-
function Gt(e, t) {
|
|
3452
|
-
var a = "".concat(Gi).concat(t.replace(":", "-"));
|
|
3453
|
-
return new Promise(function(n, r) {
|
|
3454
|
-
if (e.getAttribute(a) !== null)
|
|
3455
|
-
return n();
|
|
3456
|
-
var i = ne(e.children), o = i.filter(function(J) {
|
|
3457
|
-
return J.getAttribute(Ge) === t;
|
|
3458
|
-
})[0], s = U.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), f = l.match(Zi), d = s.getPropertyValue("font-weight"), u = s.getPropertyValue("content");
|
|
3459
|
-
if (o && !f)
|
|
3460
|
-
return e.removeChild(o), n();
|
|
3461
|
-
if (f && u !== "none" && u !== "") {
|
|
3462
|
-
var c = s.getPropertyValue("content"), p = us(l, d), h = ls(c), b = f[0].startsWith("FontAwesome"), w = fs(s), x = ht(p, h), y = x;
|
|
3463
|
-
if (b) {
|
|
3464
|
-
var g = _o(h);
|
|
3465
|
-
g.iconName && g.prefix && (x = g.iconName, p = g.prefix);
|
|
3466
|
-
}
|
|
3467
|
-
if (x && !w && (!o || o.getAttribute(lt) !== p || o.getAttribute(ft) !== y)) {
|
|
3468
|
-
e.setAttribute(a, y), o && e.removeChild(o);
|
|
3469
|
-
var P = qo(), k = P.extra;
|
|
3470
|
-
k.attributes[Ge] = t, tt(x, p).then(function(J) {
|
|
3471
|
-
var Ne = gt(m(m({}, P), {}, {
|
|
3472
|
-
icons: {
|
|
3473
|
-
main: J,
|
|
3474
|
-
mask: en()
|
|
3475
|
-
},
|
|
3476
|
-
prefix: p,
|
|
3477
|
-
iconName: y,
|
|
3478
|
-
extra: k,
|
|
3479
|
-
watchable: !0
|
|
3480
|
-
})), re = A.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
3481
|
-
t === "::before" ? e.insertBefore(re, e.firstChild) : e.appendChild(re), re.outerHTML = Ne.map(function(Te) {
|
|
3482
|
-
return pe(Te);
|
|
3483
|
-
}).join(`
|
|
3484
|
-
`), e.removeAttribute(a), n();
|
|
3485
|
-
}).catch(r);
|
|
3486
|
-
} else
|
|
3487
|
-
n();
|
|
3488
|
-
} else
|
|
3489
|
-
n();
|
|
3490
|
-
});
|
|
3491
|
-
}
|
|
3492
|
-
function cs(e) {
|
|
3493
|
-
return Promise.all([Gt(e, "::before"), Gt(e, "::after")]);
|
|
3494
|
-
}
|
|
3495
|
-
function ds(e) {
|
|
3496
|
-
return e.parentNode !== document.head && !~Xi.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ge) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
3497
|
-
}
|
|
3498
|
-
var ms = function(t) {
|
|
3499
|
-
return !!t && La.some(function(a) {
|
|
3500
|
-
return t.includes(a);
|
|
3501
|
-
});
|
|
3502
|
-
}, hs = function(t) {
|
|
3503
|
-
if (!t) return [];
|
|
3504
|
-
var a = /* @__PURE__ */ new Set(), n = t.split(/,(?![^()]*\))/).map(function(l) {
|
|
3505
|
-
return l.trim();
|
|
3506
|
-
});
|
|
3507
|
-
n = n.flatMap(function(l) {
|
|
3508
|
-
return l.includes("(") ? l : l.split(",").map(function(f) {
|
|
3509
|
-
return f.trim();
|
|
3510
|
-
});
|
|
3511
|
-
});
|
|
3512
|
-
var r = xe(n), i;
|
|
3513
|
-
try {
|
|
3514
|
-
for (r.s(); !(i = r.n()).done; ) {
|
|
3515
|
-
var o = i.value;
|
|
3516
|
-
if (ms(o)) {
|
|
3517
|
-
var s = La.reduce(function(l, f) {
|
|
3518
|
-
return l.replace(f, "");
|
|
3519
|
-
}, o);
|
|
3520
|
-
s !== "" && s !== "*" && a.add(s);
|
|
3521
|
-
}
|
|
3522
|
-
}
|
|
3523
|
-
} catch (l) {
|
|
3524
|
-
r.e(l);
|
|
3525
|
-
} finally {
|
|
3526
|
-
r.f();
|
|
3527
|
-
}
|
|
3528
|
-
return a;
|
|
3529
|
-
};
|
|
3530
|
-
function Kt(e) {
|
|
3531
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
3532
|
-
if (z) {
|
|
3533
|
-
var a;
|
|
3534
|
-
if (t)
|
|
3535
|
-
a = e;
|
|
3536
|
-
else if (v.searchPseudoElementsFullScan)
|
|
3537
|
-
a = e.querySelectorAll("*");
|
|
3538
|
-
else {
|
|
3539
|
-
var n = /* @__PURE__ */ new Set(), r = xe(document.styleSheets), i;
|
|
3540
|
-
try {
|
|
3541
|
-
for (r.s(); !(i = r.n()).done; ) {
|
|
3542
|
-
var o = i.value;
|
|
3543
|
-
try {
|
|
3544
|
-
var s = xe(o.cssRules), l;
|
|
3545
|
-
try {
|
|
3546
|
-
for (s.s(); !(l = s.n()).done; ) {
|
|
3547
|
-
var f = l.value, d = hs(f.selectorText), u = xe(d), c;
|
|
3548
|
-
try {
|
|
3549
|
-
for (u.s(); !(c = u.n()).done; ) {
|
|
3550
|
-
var p = c.value;
|
|
3551
|
-
n.add(p);
|
|
3552
|
-
}
|
|
3553
|
-
} catch (b) {
|
|
3554
|
-
u.e(b);
|
|
3555
|
-
} finally {
|
|
3556
|
-
u.f();
|
|
3557
|
-
}
|
|
3558
|
-
}
|
|
3559
|
-
} catch (b) {
|
|
3560
|
-
s.e(b);
|
|
3561
|
-
} finally {
|
|
3562
|
-
s.f();
|
|
3563
|
-
}
|
|
3564
|
-
} catch (b) {
|
|
3565
|
-
v.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href, " (").concat(b.message, `)
|
|
3566
|
-
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`));
|
|
3567
|
-
}
|
|
3568
|
-
}
|
|
3569
|
-
} catch (b) {
|
|
3570
|
-
r.e(b);
|
|
3571
|
-
} finally {
|
|
3572
|
-
r.f();
|
|
3573
|
-
}
|
|
3574
|
-
if (!n.size) return;
|
|
3575
|
-
var h = Array.from(n).join(", ");
|
|
3576
|
-
try {
|
|
3577
|
-
a = e.querySelectorAll(h);
|
|
3578
|
-
} catch {
|
|
3579
|
-
}
|
|
3580
|
-
}
|
|
3581
|
-
return new Promise(function(b, w) {
|
|
3582
|
-
var x = ne(a).filter(ds).map(cs), y = pt.begin("searchPseudoElements");
|
|
3583
|
-
on(), Promise.all(x).then(function() {
|
|
3584
|
-
y(), nt(), b();
|
|
3585
|
-
}).catch(function() {
|
|
3586
|
-
y(), nt(), w();
|
|
3587
|
-
});
|
|
3588
|
-
});
|
|
3589
|
-
}
|
|
3590
|
-
}
|
|
3591
|
-
var gs = {
|
|
3592
|
-
hooks: function() {
|
|
3593
|
-
return {
|
|
3594
|
-
mutationObserverCallbacks: function(a) {
|
|
3595
|
-
return a.pseudoElementsCallback = Kt, a;
|
|
3596
|
-
}
|
|
3597
|
-
};
|
|
3598
|
-
},
|
|
3599
|
-
provides: function(t) {
|
|
3600
|
-
t.pseudoElements2svg = function(a) {
|
|
3601
|
-
var n = a.node, r = n === void 0 ? A : n;
|
|
3602
|
-
v.searchPseudoElements && Kt(r);
|
|
3603
|
-
};
|
|
3604
|
-
}
|
|
3605
|
-
}, Xt = !1, ps = {
|
|
3606
|
-
mixout: function() {
|
|
3607
|
-
return {
|
|
3608
|
-
dom: {
|
|
3609
|
-
unwatch: function() {
|
|
3610
|
-
on(), Xt = !0;
|
|
3611
|
-
}
|
|
3612
|
-
}
|
|
3613
|
-
};
|
|
3614
|
-
},
|
|
3615
|
-
hooks: function() {
|
|
3616
|
-
return {
|
|
3617
|
-
bootstrap: function() {
|
|
3618
|
-
Bt(Ze("mutationObserverCallbacks", {}));
|
|
3619
|
-
},
|
|
3620
|
-
noAuto: function() {
|
|
3621
|
-
Go();
|
|
3622
|
-
},
|
|
3623
|
-
watch: function(a) {
|
|
3624
|
-
var n = a.observeMutationsRoot;
|
|
3625
|
-
Xt ? nt() : Bt(Ze("mutationObserverCallbacks", {
|
|
3626
|
-
observeMutationsRoot: n
|
|
3627
|
-
}));
|
|
3628
|
-
}
|
|
3629
|
-
};
|
|
3630
|
-
}
|
|
3631
|
-
}, Jt = function(t) {
|
|
3632
|
-
var a = {
|
|
3633
|
-
size: 16,
|
|
3634
|
-
x: 0,
|
|
3635
|
-
y: 0,
|
|
3636
|
-
flipX: !1,
|
|
3637
|
-
flipY: !1,
|
|
3638
|
-
rotate: 0
|
|
3639
|
-
};
|
|
3640
|
-
return t.toLowerCase().split(" ").reduce(function(n, r) {
|
|
3641
|
-
var i = r.toLowerCase().split("-"), o = i[0], s = i.slice(1).join("-");
|
|
3642
|
-
if (o && s === "h")
|
|
3643
|
-
return n.flipX = !0, n;
|
|
3644
|
-
if (o && s === "v")
|
|
3645
|
-
return n.flipY = !0, n;
|
|
3646
|
-
if (s = parseFloat(s), isNaN(s))
|
|
3647
|
-
return n;
|
|
3648
|
-
switch (o) {
|
|
3649
|
-
case "grow":
|
|
3650
|
-
n.size = n.size + s;
|
|
3651
|
-
break;
|
|
3652
|
-
case "shrink":
|
|
3653
|
-
n.size = n.size - s;
|
|
3654
|
-
break;
|
|
3655
|
-
case "left":
|
|
3656
|
-
n.x = n.x - s;
|
|
3657
|
-
break;
|
|
3658
|
-
case "right":
|
|
3659
|
-
n.x = n.x + s;
|
|
3660
|
-
break;
|
|
3661
|
-
case "up":
|
|
3662
|
-
n.y = n.y - s;
|
|
3663
|
-
break;
|
|
3664
|
-
case "down":
|
|
3665
|
-
n.y = n.y + s;
|
|
3666
|
-
break;
|
|
3667
|
-
case "rotate":
|
|
3668
|
-
n.rotate = n.rotate + s;
|
|
3669
|
-
break;
|
|
3670
|
-
}
|
|
3671
|
-
return n;
|
|
3672
|
-
}, a);
|
|
3673
|
-
}, vs = {
|
|
3674
|
-
mixout: function() {
|
|
3675
|
-
return {
|
|
3676
|
-
parse: {
|
|
3677
|
-
transform: function(a) {
|
|
3678
|
-
return Jt(a);
|
|
3679
|
-
}
|
|
3680
|
-
}
|
|
3681
|
-
};
|
|
3682
|
-
},
|
|
3683
|
-
hooks: function() {
|
|
3684
|
-
return {
|
|
3685
|
-
parseNodeAttributes: function(a, n) {
|
|
3686
|
-
var r = n.getAttribute("data-fa-transform");
|
|
3687
|
-
return r && (a.transform = Jt(r)), a;
|
|
3688
|
-
}
|
|
3689
|
-
};
|
|
3690
|
-
},
|
|
3691
|
-
provides: function(t) {
|
|
3692
|
-
t.generateAbstractTransformGrouping = function(a) {
|
|
3693
|
-
var n = a.main, r = a.transform, i = a.containerWidth, o = a.iconWidth, s = {
|
|
3694
|
-
transform: "translate(".concat(i / 2, " 256)")
|
|
3695
|
-
}, l = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), f = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), d = "rotate(".concat(r.rotate, " 0 0)"), u = {
|
|
3696
|
-
transform: "".concat(l, " ").concat(f, " ").concat(d)
|
|
3697
|
-
}, c = {
|
|
3698
|
-
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
3699
|
-
}, p = {
|
|
3700
|
-
outer: s,
|
|
3701
|
-
inner: u,
|
|
3702
|
-
path: c
|
|
3703
|
-
};
|
|
3704
|
-
return {
|
|
3705
|
-
tag: "g",
|
|
3706
|
-
attributes: m({}, p.outer),
|
|
3707
|
-
children: [{
|
|
3708
|
-
tag: "g",
|
|
3709
|
-
attributes: m({}, p.inner),
|
|
3710
|
-
children: [{
|
|
3711
|
-
tag: n.icon.tag,
|
|
3712
|
-
children: n.icon.children,
|
|
3713
|
-
attributes: m(m({}, n.icon.attributes), p.path)
|
|
3714
|
-
}]
|
|
3715
|
-
}]
|
|
3716
|
-
};
|
|
3717
|
-
};
|
|
3718
|
-
}
|
|
3719
|
-
}, We = {
|
|
3720
|
-
x: 0,
|
|
3721
|
-
y: 0,
|
|
3722
|
-
width: "100%",
|
|
3723
|
-
height: "100%"
|
|
3724
|
-
};
|
|
3725
|
-
function qt(e) {
|
|
3726
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
3727
|
-
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
3728
|
-
}
|
|
3729
|
-
function bs(e) {
|
|
3730
|
-
return e.tag === "g" ? e.children : [e];
|
|
3731
|
-
}
|
|
3732
|
-
var ys = {
|
|
3733
|
-
hooks: function() {
|
|
3734
|
-
return {
|
|
3735
|
-
parseNodeAttributes: function(a, n) {
|
|
3736
|
-
var r = n.getAttribute("data-fa-mask"), i = r ? Fe(r.split(" ").map(function(o) {
|
|
3737
|
-
return o.trim();
|
|
3738
|
-
})) : en();
|
|
3739
|
-
return i.prefix || (i.prefix = B()), a.mask = i, a.maskId = n.getAttribute("data-fa-mask-id"), a;
|
|
3740
|
-
}
|
|
3741
|
-
};
|
|
3742
|
-
},
|
|
3743
|
-
provides: function(t) {
|
|
3744
|
-
t.generateAbstractMask = function(a) {
|
|
3745
|
-
var n = a.children, r = a.attributes, i = a.main, o = a.mask, s = a.maskId, l = a.transform, f = i.width, d = i.icon, u = o.width, c = o.icon, p = fo({
|
|
3746
|
-
transform: l,
|
|
3747
|
-
containerWidth: u,
|
|
3748
|
-
iconWidth: f
|
|
3749
|
-
}), h = {
|
|
3750
|
-
tag: "rect",
|
|
3751
|
-
attributes: m(m({}, We), {}, {
|
|
3752
|
-
fill: "white"
|
|
3753
|
-
})
|
|
3754
|
-
}, b = d.children ? {
|
|
3755
|
-
children: d.children.map(qt)
|
|
3756
|
-
} : {}, w = {
|
|
3757
|
-
tag: "g",
|
|
3758
|
-
attributes: m({}, p.inner),
|
|
3759
|
-
children: [qt(m({
|
|
3760
|
-
tag: d.tag,
|
|
3761
|
-
attributes: m(m({}, d.attributes), p.path)
|
|
3762
|
-
}, b))]
|
|
3763
|
-
}, x = {
|
|
3764
|
-
tag: "g",
|
|
3765
|
-
attributes: m({}, p.outer),
|
|
3766
|
-
children: [w]
|
|
3767
|
-
}, y = "mask-".concat(s || Ot()), g = "clip-".concat(s || Ot()), P = {
|
|
3768
|
-
tag: "mask",
|
|
3769
|
-
attributes: m(m({}, We), {}, {
|
|
3770
|
-
id: y,
|
|
3771
|
-
maskUnits: "userSpaceOnUse",
|
|
3772
|
-
maskContentUnits: "userSpaceOnUse"
|
|
3773
|
-
}),
|
|
3774
|
-
children: [h, x]
|
|
3775
|
-
}, k = {
|
|
3776
|
-
tag: "defs",
|
|
3777
|
-
children: [{
|
|
3778
|
-
tag: "clipPath",
|
|
3779
|
-
attributes: {
|
|
3780
|
-
id: g
|
|
3781
|
-
},
|
|
3782
|
-
children: bs(c)
|
|
3783
|
-
}, P]
|
|
3784
|
-
};
|
|
3785
|
-
return n.push(k, {
|
|
3786
|
-
tag: "rect",
|
|
3787
|
-
attributes: m({
|
|
3788
|
-
fill: "currentColor",
|
|
3789
|
-
"clip-path": "url(#".concat(g, ")"),
|
|
3790
|
-
mask: "url(#".concat(y, ")")
|
|
3791
|
-
}, We)
|
|
3792
|
-
}), {
|
|
3793
|
-
children: n,
|
|
3794
|
-
attributes: r
|
|
3795
|
-
};
|
|
3796
|
-
};
|
|
3797
|
-
}
|
|
3798
|
-
}, _s = {
|
|
3799
|
-
provides: function(t) {
|
|
3800
|
-
var a = !1;
|
|
3801
|
-
U.matchMedia && (a = U.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
3802
|
-
var n = [], r = {
|
|
3803
|
-
fill: "currentColor"
|
|
3804
|
-
}, i = {
|
|
3805
|
-
attributeType: "XML",
|
|
3806
|
-
repeatCount: "indefinite",
|
|
3807
|
-
dur: "2s"
|
|
3808
|
-
};
|
|
3809
|
-
n.push({
|
|
3810
|
-
tag: "path",
|
|
3811
|
-
attributes: m(m({}, r), {}, {
|
|
3812
|
-
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"
|
|
3813
|
-
})
|
|
3814
|
-
});
|
|
3815
|
-
var o = m(m({}, i), {}, {
|
|
3816
|
-
attributeName: "opacity"
|
|
3817
|
-
}), s = {
|
|
3818
|
-
tag: "circle",
|
|
3819
|
-
attributes: m(m({}, r), {}, {
|
|
3820
|
-
cx: "256",
|
|
3821
|
-
cy: "364",
|
|
3822
|
-
r: "28"
|
|
3823
|
-
}),
|
|
3824
|
-
children: []
|
|
3825
|
-
};
|
|
3826
|
-
return a || s.children.push({
|
|
3827
|
-
tag: "animate",
|
|
3828
|
-
attributes: m(m({}, i), {}, {
|
|
3829
|
-
attributeName: "r",
|
|
3830
|
-
values: "28;14;28;28;14;28;"
|
|
3831
|
-
})
|
|
3832
|
-
}, {
|
|
3833
|
-
tag: "animate",
|
|
3834
|
-
attributes: m(m({}, o), {}, {
|
|
3835
|
-
values: "1;0;1;1;0;1;"
|
|
3836
|
-
})
|
|
3837
|
-
}), n.push(s), n.push({
|
|
3838
|
-
tag: "path",
|
|
3839
|
-
attributes: m(m({}, r), {}, {
|
|
3840
|
-
opacity: "1",
|
|
3841
|
-
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"
|
|
3842
|
-
}),
|
|
3843
|
-
children: a ? [] : [{
|
|
3844
|
-
tag: "animate",
|
|
3845
|
-
attributes: m(m({}, o), {}, {
|
|
3846
|
-
values: "1;0;0;0;0;1;"
|
|
3847
|
-
})
|
|
3848
|
-
}]
|
|
3849
|
-
}), a || n.push({
|
|
3850
|
-
tag: "path",
|
|
3851
|
-
attributes: m(m({}, r), {}, {
|
|
3852
|
-
opacity: "0",
|
|
3853
|
-
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"
|
|
3854
|
-
}),
|
|
3855
|
-
children: [{
|
|
3856
|
-
tag: "animate",
|
|
3857
|
-
attributes: m(m({}, o), {}, {
|
|
3858
|
-
values: "0;0;1;1;0;0;"
|
|
3859
|
-
})
|
|
3860
|
-
}]
|
|
3861
|
-
}), {
|
|
3862
|
-
tag: "g",
|
|
3863
|
-
attributes: {
|
|
3864
|
-
class: "missing"
|
|
3865
|
-
},
|
|
3866
|
-
children: n
|
|
3867
|
-
};
|
|
3868
|
-
};
|
|
3869
|
-
}
|
|
3870
|
-
}, xs = {
|
|
3871
|
-
hooks: function() {
|
|
3872
|
-
return {
|
|
3873
|
-
parseNodeAttributes: function(a, n) {
|
|
3874
|
-
var r = n.getAttribute("data-fa-symbol"), i = r === null ? !1 : r === "" ? !0 : r;
|
|
3875
|
-
return a.symbol = i, a;
|
|
3876
|
-
}
|
|
3877
|
-
};
|
|
3878
|
-
}
|
|
3879
|
-
}, ws = [mo, ns, rs, is, os, gs, ps, vs, ys, _s, xs];
|
|
3880
|
-
Co(ws, {
|
|
3881
|
-
mixoutsTo: F
|
|
3882
|
-
});
|
|
3883
|
-
F.noAuto;
|
|
3884
|
-
var ae = F.config;
|
|
3885
|
-
F.library;
|
|
3886
|
-
F.dom;
|
|
3887
|
-
var fn = F.parse;
|
|
3888
|
-
F.findIconDefinition;
|
|
3889
|
-
F.toHtml;
|
|
3890
|
-
var ks = F.icon;
|
|
3891
|
-
F.layer;
|
|
3892
|
-
F.text;
|
|
3893
|
-
F.counter;
|
|
3894
|
-
function Ss(e) {
|
|
3895
|
-
return e = e - 0, e === e;
|
|
3896
|
-
}
|
|
3897
|
-
function un(e) {
|
|
3898
|
-
return Ss(e) ? e : (e = e.replace(/[_-]+(.)?/g, (t, a) => a ? a.toUpperCase() : ""), e.charAt(0).toLowerCase() + e.slice(1));
|
|
3899
|
-
}
|
|
3900
|
-
var As = (e, t) => it.createElement("stop", {
|
|
3901
|
-
key: `${t}-${e.offset}`,
|
|
3902
|
-
offset: e.offset,
|
|
3903
|
-
stopColor: e.color,
|
|
3904
|
-
...e.opacity !== void 0 && { stopOpacity: e.opacity }
|
|
3905
|
-
});
|
|
3906
|
-
function Is(e) {
|
|
3907
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3908
|
-
}
|
|
3909
|
-
var Z = /* @__PURE__ */ new Map(), Es = 1e3;
|
|
3910
|
-
function Ps(e) {
|
|
3911
|
-
if (Z.has(e))
|
|
3912
|
-
return Z.get(e);
|
|
3913
|
-
const t = {};
|
|
3914
|
-
let a = 0;
|
|
3915
|
-
const n = e.length;
|
|
3916
|
-
for (; a < n; ) {
|
|
3917
|
-
const r = e.indexOf(";", a), i = r === -1 ? n : r, o = e.slice(a, i).trim();
|
|
3918
|
-
if (o) {
|
|
3919
|
-
const s = o.indexOf(":");
|
|
3920
|
-
if (s > 0) {
|
|
3921
|
-
const l = o.slice(0, s).trim(), f = o.slice(s + 1).trim();
|
|
3922
|
-
if (l && f) {
|
|
3923
|
-
const d = un(l);
|
|
3924
|
-
t[d.startsWith("webkit") ? Is(d) : d] = f;
|
|
3925
|
-
}
|
|
3926
|
-
}
|
|
3927
|
-
}
|
|
3928
|
-
a = i + 1;
|
|
3929
|
-
}
|
|
3930
|
-
if (Z.size === Es) {
|
|
3931
|
-
const r = Z.keys().next().value;
|
|
3932
|
-
r && Z.delete(r);
|
|
3933
|
-
}
|
|
3934
|
-
return Z.set(e, t), t;
|
|
3935
|
-
}
|
|
3936
|
-
function cn(e, t, a = {}) {
|
|
3937
|
-
if (typeof t == "string")
|
|
3938
|
-
return t;
|
|
3939
|
-
const n = (t.children || []).map((u) => {
|
|
3940
|
-
let c = u;
|
|
3941
|
-
return ("fill" in a || a.gradientFill) && u.tag === "path" && "fill" in u.attributes && (c = {
|
|
3942
|
-
...u,
|
|
3943
|
-
attributes: {
|
|
3944
|
-
...u.attributes,
|
|
3945
|
-
fill: void 0
|
|
3946
|
-
}
|
|
3947
|
-
}), cn(e, c);
|
|
3948
|
-
}), r = t.attributes || {}, i = {};
|
|
3949
|
-
for (const [u, c] of Object.entries(r))
|
|
3950
|
-
switch (!0) {
|
|
3951
|
-
case u === "class": {
|
|
3952
|
-
i.className = c;
|
|
3953
|
-
break;
|
|
3954
|
-
}
|
|
3955
|
-
case u === "style": {
|
|
3956
|
-
i.style = Ps(String(c));
|
|
3957
|
-
break;
|
|
3958
|
-
}
|
|
3959
|
-
case u.startsWith("aria-"):
|
|
3960
|
-
case u.startsWith("data-"): {
|
|
3961
|
-
i[u.toLowerCase()] = c;
|
|
3962
|
-
break;
|
|
3963
|
-
}
|
|
3964
|
-
default:
|
|
3965
|
-
i[un(u)] = c;
|
|
3966
|
-
}
|
|
3967
|
-
const {
|
|
3968
|
-
style: o,
|
|
3969
|
-
role: s,
|
|
3970
|
-
"aria-label": l,
|
|
3971
|
-
gradientFill: f,
|
|
3972
|
-
...d
|
|
3973
|
-
} = a;
|
|
3974
|
-
if (o && (i.style = i.style ? { ...i.style, ...o } : o), s && (i.role = s), l && (i["aria-label"] = l, i["aria-hidden"] = "false"), f) {
|
|
3975
|
-
i.fill = `url(#${f.id})`;
|
|
3976
|
-
const {
|
|
3977
|
-
type: u,
|
|
3978
|
-
stops: c = [],
|
|
3979
|
-
...p
|
|
3980
|
-
} = f;
|
|
3981
|
-
n.unshift(
|
|
3982
|
-
e(
|
|
3983
|
-
u === "linear" ? "linearGradient" : "radialGradient",
|
|
3984
|
-
{
|
|
3985
|
-
...p,
|
|
3986
|
-
id: f.id
|
|
3987
|
-
},
|
|
3988
|
-
c.map(As)
|
|
3989
|
-
)
|
|
3990
|
-
);
|
|
3991
|
-
}
|
|
3992
|
-
return e(t.tag, { ...i, ...d }, ...n);
|
|
3993
|
-
}
|
|
3994
|
-
var Cs = cn.bind(null, it.createElement), Zt = (e, t) => {
|
|
3995
|
-
const a = Cn();
|
|
3996
|
-
return e || (t ? a : void 0);
|
|
3997
|
-
}, Fs = class {
|
|
3998
|
-
constructor(e = "react-fontawesome") {
|
|
3999
|
-
this.enabled = !1;
|
|
4000
|
-
let t = !1;
|
|
4001
|
-
try {
|
|
4002
|
-
t = typeof process < "u" && process.env?.NODE_ENV === "development";
|
|
4003
|
-
} catch {
|
|
4004
|
-
}
|
|
4005
|
-
this.scope = e, this.enabled = t;
|
|
4006
|
-
}
|
|
4007
|
-
/**
|
|
4008
|
-
* Logs messages to the console if not in production.
|
|
4009
|
-
* @param args - The message and/or data to log.
|
|
4010
|
-
*/
|
|
4011
|
-
log(...e) {
|
|
4012
|
-
this.enabled && console.log(`[${this.scope}]`, ...e);
|
|
4013
|
-
}
|
|
4014
|
-
/**
|
|
4015
|
-
* Logs warnings to the console if not in production.
|
|
4016
|
-
* @param args - The warning message and/or data to log.
|
|
4017
|
-
*/
|
|
4018
|
-
warn(...e) {
|
|
4019
|
-
this.enabled && console.warn(`[${this.scope}]`, ...e);
|
|
4020
|
-
}
|
|
4021
|
-
/**
|
|
4022
|
-
* Logs errors to the console if not in production.
|
|
4023
|
-
* @param args - The error message and/or data to log.
|
|
4024
|
-
*/
|
|
4025
|
-
error(...e) {
|
|
4026
|
-
this.enabled && console.error(`[${this.scope}]`, ...e);
|
|
4027
|
-
}
|
|
4028
|
-
};
|
|
4029
|
-
typeof process < "u" && process.env?.FA_VERSION;
|
|
4030
|
-
var Os = (
|
|
4031
|
-
// @ts-expect-error TS2872 - Expression is always truthy - This is true when v7 of SVGCore is used, but not when v6 is used.
|
|
4032
|
-
// This is the point of this check - if the property exists on config, we have v7, otherwise we have v6.
|
|
4033
|
-
// TS is checking this against the dev dependencies which uses v7, so it reports a false error here.
|
|
4034
|
-
"searchPseudoElementsFullScan" in ae && typeof ae.searchPseudoElementsFullScan == "boolean" ? "7.0.0" : "6.0.0"
|
|
4035
|
-
), Ns = Number.parseInt(Os) >= 7, Ts = () => Ns, ce = "fa", $ = {
|
|
4036
|
-
beat: "fa-beat",
|
|
4037
|
-
fade: "fa-fade",
|
|
4038
|
-
beatFade: "fa-beat-fade",
|
|
4039
|
-
bounce: "fa-bounce",
|
|
4040
|
-
shake: "fa-shake",
|
|
4041
|
-
spin: "fa-spin",
|
|
4042
|
-
spinPulse: "fa-spin-pulse",
|
|
4043
|
-
spinReverse: "fa-spin-reverse",
|
|
4044
|
-
pulse: "fa-pulse"
|
|
4045
|
-
}, js = {
|
|
4046
|
-
left: "fa-pull-left",
|
|
4047
|
-
right: "fa-pull-right"
|
|
4048
|
-
}, $s = {
|
|
4049
|
-
90: "fa-rotate-90",
|
|
4050
|
-
180: "fa-rotate-180",
|
|
4051
|
-
270: "fa-rotate-270"
|
|
4052
|
-
}, Ls = {
|
|
4053
|
-
"2xs": "fa-2xs",
|
|
4054
|
-
xs: "fa-xs",
|
|
4055
|
-
sm: "fa-sm",
|
|
4056
|
-
lg: "fa-lg",
|
|
4057
|
-
xl: "fa-xl",
|
|
4058
|
-
"2xl": "fa-2xl",
|
|
4059
|
-
"1x": "fa-1x",
|
|
4060
|
-
"2x": "fa-2x",
|
|
4061
|
-
"3x": "fa-3x",
|
|
4062
|
-
"4x": "fa-4x",
|
|
4063
|
-
"5x": "fa-5x",
|
|
4064
|
-
"6x": "fa-6x",
|
|
4065
|
-
"7x": "fa-7x",
|
|
4066
|
-
"8x": "fa-8x",
|
|
4067
|
-
"9x": "fa-9x",
|
|
4068
|
-
"10x": "fa-10x"
|
|
4069
|
-
}, L = {
|
|
4070
|
-
border: "fa-border",
|
|
4071
|
-
/** @deprecated */
|
|
4072
|
-
fixedWidth: "fa-fw",
|
|
4073
|
-
flip: "fa-flip",
|
|
4074
|
-
flipHorizontal: "fa-flip-horizontal",
|
|
4075
|
-
flipVertical: "fa-flip-vertical",
|
|
4076
|
-
inverse: "fa-inverse",
|
|
4077
|
-
rotateBy: "fa-rotate-by",
|
|
4078
|
-
swapOpacity: "fa-swap-opacity",
|
|
4079
|
-
widthAuto: "fa-width-auto"
|
|
4080
|
-
};
|
|
4081
|
-
function Rs(e) {
|
|
4082
|
-
const t = ae.cssPrefix || ae.familyPrefix || ce;
|
|
4083
|
-
return t === ce ? e : e.replace(
|
|
4084
|
-
new RegExp(String.raw`(?<=^|\s)${ce}-`, "g"),
|
|
4085
|
-
`${t}-`
|
|
4086
|
-
);
|
|
4087
|
-
}
|
|
4088
|
-
function Ds(e) {
|
|
4089
|
-
const {
|
|
4090
|
-
beat: t,
|
|
4091
|
-
fade: a,
|
|
4092
|
-
beatFade: n,
|
|
4093
|
-
bounce: r,
|
|
4094
|
-
shake: i,
|
|
4095
|
-
spin: o,
|
|
4096
|
-
spinPulse: s,
|
|
4097
|
-
spinReverse: l,
|
|
4098
|
-
pulse: f,
|
|
4099
|
-
fixedWidth: d,
|
|
4100
|
-
inverse: u,
|
|
4101
|
-
border: c,
|
|
4102
|
-
flip: p,
|
|
4103
|
-
size: h,
|
|
4104
|
-
rotation: b,
|
|
4105
|
-
pull: w,
|
|
4106
|
-
swapOpacity: x,
|
|
4107
|
-
rotateBy: y,
|
|
4108
|
-
widthAuto: g,
|
|
4109
|
-
className: P
|
|
4110
|
-
} = e, k = [];
|
|
4111
|
-
return P && k.push(...P.split(" ")), t && k.push($.beat), a && k.push($.fade), n && k.push($.beatFade), r && k.push($.bounce), i && k.push($.shake), o && k.push($.spin), l && k.push($.spinReverse), s && k.push($.spinPulse), f && k.push($.pulse), d && k.push(L.fixedWidth), u && k.push(L.inverse), c && k.push(L.border), p === !0 && k.push(L.flip), (p === "horizontal" || p === "both") && k.push(L.flipHorizontal), (p === "vertical" || p === "both") && k.push(L.flipVertical), h != null && k.push(Ls[h]), b != null && b !== 0 && k.push($s[b]), w != null && k.push(js[w]), x && k.push(L.swapOpacity), Ts() ? (y && k.push(L.rotateBy), g && k.push(L.widthAuto), (ae.cssPrefix || ae.familyPrefix || ce) === ce ? k : (
|
|
4112
|
-
// TODO: see if we can achieve custom prefix support without iterating
|
|
4113
|
-
// eslint-disable-next-line unicorn/no-array-callback-reference
|
|
4114
|
-
k.map(Rs)
|
|
4115
|
-
)) : k;
|
|
4116
|
-
}
|
|
4117
|
-
var Ms = (e) => typeof e == "object" && "icon" in e && !!e.icon;
|
|
4118
|
-
function Qt(e) {
|
|
4119
|
-
if (e)
|
|
4120
|
-
return Ms(e) ? e : fn.icon(e);
|
|
4121
|
-
}
|
|
4122
|
-
function zs(e) {
|
|
4123
|
-
return Object.keys(e);
|
|
4124
|
-
}
|
|
4125
|
-
var ea = new Fs("FontAwesomeIcon"), dn = {
|
|
4126
|
-
border: !1,
|
|
4127
|
-
className: "",
|
|
4128
|
-
mask: void 0,
|
|
4129
|
-
maskId: void 0,
|
|
4130
|
-
fixedWidth: !1,
|
|
4131
|
-
inverse: !1,
|
|
4132
|
-
flip: !1,
|
|
4133
|
-
icon: void 0,
|
|
4134
|
-
listItem: !1,
|
|
4135
|
-
pull: void 0,
|
|
4136
|
-
pulse: !1,
|
|
4137
|
-
rotation: void 0,
|
|
4138
|
-
rotateBy: !1,
|
|
4139
|
-
size: void 0,
|
|
4140
|
-
spin: !1,
|
|
4141
|
-
spinPulse: !1,
|
|
4142
|
-
spinReverse: !1,
|
|
4143
|
-
beat: !1,
|
|
4144
|
-
fade: !1,
|
|
4145
|
-
beatFade: !1,
|
|
4146
|
-
bounce: !1,
|
|
4147
|
-
shake: !1,
|
|
4148
|
-
symbol: !1,
|
|
4149
|
-
title: "",
|
|
4150
|
-
titleId: void 0,
|
|
4151
|
-
transform: void 0,
|
|
4152
|
-
swapOpacity: !1,
|
|
4153
|
-
widthAuto: !1
|
|
4154
|
-
}, Us = new Set(Object.keys(dn)), se = it.forwardRef((e, t) => {
|
|
4155
|
-
const a = { ...dn, ...e }, {
|
|
4156
|
-
icon: n,
|
|
4157
|
-
mask: r,
|
|
4158
|
-
symbol: i,
|
|
4159
|
-
title: o,
|
|
4160
|
-
titleId: s,
|
|
4161
|
-
maskId: l,
|
|
4162
|
-
transform: f
|
|
4163
|
-
} = a, d = Zt(l, !!r), u = Zt(s, !!o), c = Qt(n);
|
|
4164
|
-
if (!c)
|
|
4165
|
-
return ea.error("Icon lookup is undefined", n), null;
|
|
4166
|
-
const p = Ds(a), h = typeof f == "string" ? fn.transform(f) : f, b = Qt(r), w = ks(c, {
|
|
4167
|
-
...p.length > 0 && { classes: p },
|
|
4168
|
-
...h && { transform: h },
|
|
4169
|
-
...b && { mask: b },
|
|
4170
|
-
symbol: i,
|
|
4171
|
-
title: o,
|
|
4172
|
-
titleId: u,
|
|
4173
|
-
maskId: d
|
|
4174
|
-
});
|
|
4175
|
-
if (!w)
|
|
4176
|
-
return ea.error("Could not find icon", c), null;
|
|
4177
|
-
const { abstract: x } = w, y = { ref: t };
|
|
4178
|
-
for (const g of zs(a))
|
|
4179
|
-
Us.has(g) || (y[g] = a[g]);
|
|
4180
|
-
return Cs(x[0], y);
|
|
4181
|
-
});
|
|
4182
|
-
se.displayName = "FontAwesomeIcon";
|
|
4183
|
-
(function() {
|
|
4184
|
-
try {
|
|
4185
|
-
if (typeof document < "u") {
|
|
4186
|
-
var e = document.createElement("style");
|
|
4187
|
-
e.appendChild(document.createTextNode('._Browser_rk8bv_1{--header-height: 3.5rem;--nav-bar-height: 2.25rem;display:flex;flex-direction:column;width:100%;height:100%}._Header_rk8bv_11{display:flex;flex-direction:column;width:100%;height:var(--header-height);background-color:var(--background-color-0)}._NavBar_rk8bv_19{display:flex;gap:1rem;justify-content:flex-start;align-items:center;width:100%;height:var(--nav-bar-height);padding:1.25rem}._IconButton_rk8bv_29{--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_rk8bv_29: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 var(--transition-duration-1) var(--ease-in-out-default)}._IconButton_rk8bv_29:hover:after,._IconButton_rk8bv_29:focus-visible:after{background-color:#ffffff1a;transform:scale(175%)}._IconButton_rk8bv_29:disabled{--color: var(--foreground-color-2)}._IconButton_rk8bv_29 svg{height:100%}._IconButton_rk8bv_29 svg path{fill:var(--color);transition:fill var(--transition-duration-0) var(--ease-in-out-default)}._SearchBar_rk8bv_79{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_rk8bv_90{height:calc(var(--header-height) - var(--nav-bar-height))}')), document.head.appendChild(e);
|
|
4188
|
-
}
|
|
4189
|
-
} catch (t) {
|
|
4190
|
-
console.error("vite-plugin-css-injected-by-js", t);
|
|
4191
|
-
}
|
|
4192
|
-
})();
|
|
4193
|
-
const Bs = "_Browser_rk8bv_1", Ws = "_Header_rk8bv_11", Hs = "_NavBar_rk8bv_19", Ys = "_IconButton_rk8bv_29", Vs = "_SearchBar_rk8bv_79", Gs = "_Bookmarks_rk8bv_90", R = {
|
|
4194
|
-
Browser: Bs,
|
|
4195
|
-
Header: Ws,
|
|
4196
|
-
NavBar: Hs,
|
|
4197
|
-
IconButton: Ys,
|
|
4198
|
-
SearchBar: Vs,
|
|
4199
|
-
Bookmarks: Gs
|
|
4200
|
-
}, ta = "https://prozilla.dev/", Ks = "https://www.google.com/search?igu=1";
|
|
4201
|
-
function Xs({ url: e = ta, focus: t }) {
|
|
4202
|
-
const [a, n] = de(e), [r, i] = de(e), { history: o, pushState: s, stateIndex: l, undo: f, redo: d, undoAvailable: u, redoAvailable: c } = wn(e), p = le(null);
|
|
4203
|
-
Y(() => {
|
|
4204
|
-
o.length !== 0 && n(o[l]);
|
|
4205
|
-
}, [o, l]);
|
|
4206
|
-
const h = () => {
|
|
4207
|
-
p.current == null || p.current.contentWindow == null || (p.current.contentWindow.location.href = a);
|
|
4208
|
-
}, b = (y) => {
|
|
4209
|
-
if (a === y)
|
|
4210
|
-
return h();
|
|
4211
|
-
n(y), i(y), s(y);
|
|
4212
|
-
}, w = (y) => {
|
|
4213
|
-
i(y.target.value);
|
|
4214
|
-
}, x = (y) => {
|
|
4215
|
-
const g = y.target.value;
|
|
4216
|
-
y.key === "Enter" && g !== "" && (Sn(g) ? b(g) : b(`${Ks}&q=${g}`));
|
|
4217
|
-
};
|
|
4218
|
-
return /* @__PURE__ */ G("div", { className: R.Browser, children: [
|
|
4219
|
-
/* @__PURE__ */ G("div", { className: R.Header, children: [
|
|
4220
|
-
/* @__PURE__ */ G("div", { className: R.NavBar, children: [
|
|
4221
|
-
/* @__PURE__ */ I(
|
|
4222
|
-
"button",
|
|
4223
|
-
{
|
|
4224
|
-
title: "Back",
|
|
4225
|
-
tabIndex: 0,
|
|
4226
|
-
className: R.IconButton,
|
|
4227
|
-
onClick: () => {
|
|
4228
|
-
f();
|
|
4229
|
-
},
|
|
4230
|
-
disabled: !u,
|
|
4231
|
-
children: /* @__PURE__ */ I(se, { icon: On })
|
|
4232
|
-
}
|
|
4233
|
-
),
|
|
4234
|
-
/* @__PURE__ */ I(
|
|
4235
|
-
"button",
|
|
4236
|
-
{
|
|
4237
|
-
title: "Forward",
|
|
4238
|
-
tabIndex: 0,
|
|
4239
|
-
className: R.IconButton,
|
|
4240
|
-
onClick: () => {
|
|
4241
|
-
d();
|
|
4242
|
-
},
|
|
4243
|
-
disabled: !c,
|
|
4244
|
-
children: /* @__PURE__ */ I(se, { icon: Fn })
|
|
4245
|
-
}
|
|
4246
|
-
),
|
|
4247
|
-
/* @__PURE__ */ I(
|
|
4248
|
-
"button",
|
|
4249
|
-
{
|
|
4250
|
-
title: "Reload",
|
|
4251
|
-
tabIndex: 0,
|
|
4252
|
-
className: R.IconButton,
|
|
4253
|
-
onClick: h,
|
|
4254
|
-
children: /* @__PURE__ */ I(se, { icon: $n })
|
|
4255
|
-
}
|
|
4256
|
-
),
|
|
4257
|
-
/* @__PURE__ */ I(
|
|
4258
|
-
"button",
|
|
4259
|
-
{
|
|
4260
|
-
title: "Home",
|
|
4261
|
-
tabIndex: 0,
|
|
4262
|
-
className: R.IconButton,
|
|
4263
|
-
onClick: () => {
|
|
4264
|
-
b(ta);
|
|
4265
|
-
},
|
|
4266
|
-
children: /* @__PURE__ */ I(se, { icon: jn })
|
|
4267
|
-
}
|
|
4268
|
-
),
|
|
4269
|
-
/* @__PURE__ */ I(
|
|
4270
|
-
"input",
|
|
4271
|
-
{
|
|
4272
|
-
value: r,
|
|
4273
|
-
type: "text",
|
|
4274
|
-
"aria-label": "Search bar",
|
|
4275
|
-
className: R.SearchBar,
|
|
4276
|
-
tabIndex: 0,
|
|
4277
|
-
onChange: w,
|
|
4278
|
-
onKeyDown: x
|
|
4279
|
-
}
|
|
4280
|
-
)
|
|
4281
|
-
] }),
|
|
4282
|
-
/* @__PURE__ */ I("div", { className: R.Bookmarks })
|
|
4283
|
-
] }),
|
|
4284
|
-
/* @__PURE__ */ I(kn, { ref: p, source: a, title: "Browser", focus: t })
|
|
4285
|
-
] });
|
|
4286
|
-
}
|
|
4287
|
-
const Js = new aa("Browser", "browser", Xs, { size: new ra(700, 500) }).setIconUrl("https://os.prozilla.dev/assets/apps/icons/browser.svg").setRole(na.APP_ROLES.browser).setCategory("Utilities & tools");
|
|
4288
|
-
Js.setMetadata({ name: "@prozilla-os/browser", version: "1.1.22", author: "Prozilla", website: "https://os.prozilla.dev/browser" });
|
|
4289
|
-
export {
|
|
4290
|
-
nr as TerminalApp,
|
|
4291
|
-
Js as browser,
|
|
4292
|
-
rr as terminal
|
|
4293
|
-
};
|
|
11
|
+
export * from "@prozilla-os/code-editor";
|
|
4294
12
|
//# sourceMappingURL=main.js.map
|