@modelmenu/navigation 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +579 -565
- package/dist/index.umd.js +12 -12
- package/menu/MenuPlate.vue +544 -504
- package/menu/components/menu-item.vue +256 -238
- package/menu/components/sub-menu-items.vue +146 -125
- package/menu/components/top-menu-items/top-menu-item.vue +224 -194
- package/menu/components/top-menu-items/top-sub-menu-items.vue +156 -133
- package/menu/index.d.ts +13 -8
- package/menu/index.ts +13 -8
- package/menu/models/menu-models.ts +53 -49
- package/menu/resources/theme.ts +42 -42
- package/menu/routing/routing.ts +41 -41
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,23 +1,31 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".menu-plate[data-v-
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var x = (e, t, n) =>
|
|
5
|
-
import { defineComponent as je, computed as $, watch as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".menu-plate[data-v-cff4f977]{display:flex;flex-direction:column;width:100%;height:100%;background-color:#2c2c2c;color:#fff}.horizontal-menu[data-v-cff4f977]{display:flex;gap:20px;padding:10px}.clicked[data-v-cff4f977]{background-color:#d3d3d3}.menu-item-text[data-v-cff4f977]{margin-left:8px}.show[data-v-cff4f977]{display:flex}.vertical-menu[data-v-cff4f977]{display:flex;flex-direction:column;align-items:center;gap:20px;padding:10px}.vertical-menu-opened[data-v-cff4f977]{width:200px}.menu-item[data-v-cff4f977]{margin-top:20px;width:180px;margin-left:20px;height:30px;margin:0 16px!important;padding:20px 0;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}.menu-text-opened[data-v-cff4f977]{animation:openMenuText-cff4f977 .2s ease-in forwards}.menu-text-closed[data-v-cff4f977]{animation:closeMenuText-cff4f977 .2s ease-out forwards}.item-active[data-v-cff4f977]{background-color:#ececec}.sub-menu-button[data-v-cff4f977]{margin-left:8px}@keyframes openMenuText-cff4f977{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes closeMenuText-cff4f977{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-20px)}}@keyframes openMenu-cff4f977{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.icon-opened[data-v-cff4f977]{animation:openMenu-cff4f977 .02s ease forwards}.active-tooltip[data-v-6f31ff16]{position:relative;left:74px;width:240px;height:80px;border-radius:4px;border:1px solid rgba(70,70,70,.4);background-color:#fff!important;z-index:999999999}.item[data-v-6f31ff16]{display:flex;flex-wrap:wrap;width:180px}.item-active[data-v-6f31ff16]{background-color:#ececec}.sub-menu-button[data-v-6f31ff16]{cursor:pointer}.sub-menu-items .menu-item[data-v-6f31ff16]{margin-left:60px}.sub-menu-item p[data-v-6f31ff16]{margin-left:60px;font-size:16px;padding:4px}.top-sub-menu-items{position:absolute;top:48px;right:0;padding:8px 0;margin-top:1px;width:200px;z-index:999999999;background-color:transparent}.content{border:2px solid rgba(70,70,70,.4);border-radius:4px;padding:10px;background-color:#fff}.top-menu-item{display:flex;justify-content:space-between;column-gap:4px;cursor:pointer}.item{display:flex;flex-direction:row;width:200px;padding:3px 7px;cursor:pointer}@keyframes openMenu{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes menuTooltipOpened{0%{transform:translateY(-1px)}to{transform:translateY(0)}}.tooltip-opened{animation:menuTooltipOpened .09s ease forwards}.icon-opened{animation:openMenu .02s ease forwards}.item[data-v-9060ac81]{display:flex;flex-wrap:wrap;width:180px}.horizontal-items[data-v-9060ac81]{display:flex;gap:20px;padding:10px}.top-menu-item-heading[data-v-9060ac81]{display:flex;align-items:center;cursor:pointer;column-gap:4px;border-bottom:1px solid transparent;margin:4px;box-sizing:border-box}.horizontal-top-menu-item.active[data-v-9060ac81]{border-bottom:2px solid black}.menu-hover[data-v-9060ac81]{background-color:#eee}.horizontal-top-menu[data-v-9060ac81]{width:100%;display:flex;justify-content:flex-end;align-items:center}.horizontal-top-menu-item[data-v-9060ac81]{display:flex;align-items:center;box-sizing:border-box;cursor:pointer;height:48px;border-bottom:2px solid transparent;padding:4px 12px}@keyframes openMenu-9060ac81{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes closeMenu-9060ac81{0%{transform:rotate(0)}to{transform:rotate(-180deg)}}.icon-opened[data-v-9060ac81]{animation:openMenu-9060ac81 .2s ease forwards}.icon-closed[data-v-9060ac81]{animation:closeMenu-9060ac81 .2s ease forwards}.menu-container[data-v-3072b4e3]{position:relative;width:100%;height:100%}.top-sub-menu-items[data-v-3072b4e3]{position:absolute;top:38px;right:0;border:1px solid #424242;padding:10px;width:150px;z-index:99999}.item-active[data-v-3072b4e3]{background-color:#f2f2f2}.horizontal-menu-item[data-v-3072b4e3]{cursor:pointer}.horizontal-items[data-v-3072b4e3]{display:flex;gap:20px;padding:10px}.loader[data-v-3072b4e3]{width:100%;display:flex;position:fixed;top:40%;left:50%;height:36dvh}.loader-icon[data-v-3072b4e3]{width:60px;height:60px;transform-origin:center;animation:rotateLoader-3072b4e3 1s linear infinite}@keyframes rotateLoader-3072b4e3{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tooltip-opened[data-v-3072b4e3]{animation:menuTooltipOpened .2s ease forwards}.loader-track[data-v-3072b4e3],.loader-ring[data-v-3072b4e3]{fill:none;stroke-width:8}.loader-track[data-v-3072b4e3]{stroke:#4294ff2e}.loader-ring[data-v-3072b4e3]{stroke:#4294ff;stroke-dasharray:110 160;stroke-dashoffset:0}.menu-text-opened[data-v-3072b4e3]{display:inline-block}.menu-text-closed[data-v-3072b4e3]{display:none}.item[data-v-3072b4e3]{display:flex;flex-wrap:wrap;cursor:pointer;width:180px}.menu-item p[data-v-3072b4e3]{margin-left:10px}.menu-item-opened[data-v-3072b4e3]{display:flex}.horizontal-items[data-v-3072b4e3]{display:flex;align-self:flex-end}.tooltip-item[data-v-3072b4e3]{padding:8px;cursor:pointer}.horizontal-menu[data-v-3072b4e3]{position:absolute;border-bottom:2px solid rgba(70,70,70,.4);top:0;left:0;width:100%;height:50px;display:flex;align-items:center;justify-content:space-between}.vertical-menu[data-v-3072b4e3]{position:absolute;top:50px;overflow-x:hidden;left:0;z-index:200;width:70px;animation:closeMenu-3072b4e3 .3s ease-out forwards;height:100dvh;background-color:#fff;border-right:2px solid rgba(70,70,70,.4)}.menu-item[data-v-3072b4e3]{width:180px;margin:10px auto 10px 20px;height:30px;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}@keyframes openMenu-3072b4e3{0%{width:70px}to{width:200px}}@keyframes closeMenu-3072b4e3{0%{width:200px}to{width:70px}}.vertical-menu.vertical-menu-opened[data-v-3072b4e3]{width:200px;animation:openMenu-3072b4e3 .3s ease-in forwards}.menu-button[data-v-3072b4e3]{width:74px;height:50px;display:flex;justify-content:center;cursor:pointer;align-items:center;border-right:2px solid rgba(70,70,70,.4)}.menu-icon[data-v-3072b4e3]{width:30px;height:30px;border:2px solid rgba(70,70,70,.4);display:flex;justify-content:center;align-items:center;border-radius:4px}.menu-icon[data-v-3072b4e3]:hover{cursor:pointer;background-color:#8585851a}@keyframes flipAnimation-3072b4e3{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes rotateAnimation-3072b4e3{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes hoverAnimation-3072b4e3{0%{transform:scale(1)}to{transform:scale(1.2)}}.menu-icon.opened.flip svg[data-v-3072b4e3]{transform:rotate(180deg)}.menu-icon.opened.rotate svg[data-v-3072b4e3]{animation:rotateAnimation-3072b4e3 .5s forwards}.menu-icon.opened.hover svg[data-v-3072b4e3]{animation:hoverAnimation-3072b4e3 .5s forwards}.none[data-v-3072b4e3]{transform:none}.horizontal-menu-item[data-v-3072b4e3]{display:flex;align-items:center;justify-content:center;margin-right:10px!important;margin:0 auto}.active-tooltip[data-v-3072b4e3]{position:fixed;left:80px;width:240px;border-radius:4px;background-color:#fff;z-index:9999999;border:2px solid rgba(70,70,70,.4)}.main[data-v-3072b4e3]{width:calc(100vw - 300px);height:100%;position:absolute;left:180px;top:70px}.main-loading[data-v-3072b4e3]{opacity:0;background-color:#fff}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
var Sa = Object.defineProperty;
|
|
3
|
+
var Aa = (e, t, n) => t in e ? Sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
|
+
var x = (e, t, n) => Aa(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
|
+
import { defineComponent as je, computed as $, watch as ka, h as ue, resolveComponent as L, openBlock as w, createElementBlock as P, normalizeClass as N, createBlock as ye, createCommentVNode as E, createElementVNode as C, toDisplayString as be, createVNode as J, Fragment as re, renderList as ie, withDirectives as cn, vShow as dn, withModifiers as mn, normalizeStyle as Ma, renderSlot as Pa } from "vue";
|
|
6
6
|
/*!
|
|
7
7
|
* Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
|
|
8
8
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
9
9
|
* Copyright 2026 Fonticons, Inc.
|
|
10
10
|
*/
|
|
11
|
-
var
|
|
11
|
+
var ce = {
|
|
12
12
|
prefix: "fas",
|
|
13
13
|
iconName: "chevron-up",
|
|
14
14
|
icon: [448, 512, [], "f077", "M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
|
|
15
|
-
},
|
|
15
|
+
}, pn = {
|
|
16
|
+
prefix: "fas",
|
|
17
|
+
iconName: "chevron-right",
|
|
18
|
+
icon: [320, 512, [9002], "f054", "M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]
|
|
19
|
+
}, U = {
|
|
16
20
|
prefix: "fas",
|
|
17
21
|
iconName: "chevron-down",
|
|
18
22
|
icon: [448, 512, [], "f078", "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
|
|
23
|
+
}, Oa = {
|
|
24
|
+
prefix: "fas",
|
|
25
|
+
iconName: "chevron-left",
|
|
26
|
+
icon: [320, 512, [9001], "f053", "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]
|
|
19
27
|
};
|
|
20
|
-
class
|
|
28
|
+
class Xs {
|
|
21
29
|
constructor() {
|
|
22
30
|
x(this, "name", "");
|
|
23
31
|
x(this, "icon");
|
|
@@ -25,16 +33,16 @@ class Gs {
|
|
|
25
33
|
x(this, "items", []);
|
|
26
34
|
}
|
|
27
35
|
}
|
|
28
|
-
class
|
|
36
|
+
class Ks {
|
|
29
37
|
constructor() {
|
|
30
38
|
x(this, "name", "");
|
|
31
39
|
x(this, "route", "");
|
|
32
40
|
x(this, "items", []);
|
|
33
41
|
}
|
|
34
42
|
}
|
|
35
|
-
class
|
|
43
|
+
class Ta {
|
|
36
44
|
constructor() {
|
|
37
|
-
x(this, "icon",
|
|
45
|
+
x(this, "icon", pn);
|
|
38
46
|
//angle-arrow, bars, ellipsis
|
|
39
47
|
x(this, "name", "");
|
|
40
48
|
x(this, "loading", !1);
|
|
@@ -49,19 +57,19 @@ class Fa {
|
|
|
49
57
|
x(this, "icon");
|
|
50
58
|
x(this, "route", "");
|
|
51
59
|
x(this, "opened", !1);
|
|
52
|
-
x(this, "openIcon",
|
|
60
|
+
x(this, "openIcon", U);
|
|
53
61
|
x(this, "items", []);
|
|
54
62
|
x(this, "active", !1);
|
|
55
63
|
}
|
|
56
64
|
}
|
|
57
|
-
class
|
|
65
|
+
class _a {
|
|
58
66
|
constructor() {
|
|
59
67
|
x(this, "id", 0);
|
|
60
68
|
x(this, "name", "");
|
|
61
69
|
x(this, "route", "");
|
|
62
70
|
x(this, "opened", !1);
|
|
63
71
|
x(this, "active", !1);
|
|
64
|
-
x(this, "openIcon",
|
|
72
|
+
x(this, "openIcon", U);
|
|
65
73
|
x(this, "items", []);
|
|
66
74
|
}
|
|
67
75
|
}
|
|
@@ -82,23 +90,23 @@ function Je(e, t) {
|
|
|
82
90
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
83
91
|
return a;
|
|
84
92
|
}
|
|
85
|
-
function
|
|
93
|
+
function Ca(e) {
|
|
86
94
|
if (Array.isArray(e)) return e;
|
|
87
95
|
}
|
|
88
96
|
function Ea(e) {
|
|
89
97
|
if (Array.isArray(e)) return Je(e);
|
|
90
98
|
}
|
|
91
|
-
function
|
|
99
|
+
function Na(e, t) {
|
|
92
100
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
93
101
|
}
|
|
94
|
-
function
|
|
102
|
+
function ja(e, t) {
|
|
95
103
|
for (var n = 0; n < t.length; n++) {
|
|
96
104
|
var a = t[n];
|
|
97
|
-
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e,
|
|
105
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, hn(a.key), a);
|
|
98
106
|
}
|
|
99
107
|
}
|
|
100
|
-
function
|
|
101
|
-
return t &&
|
|
108
|
+
function $a(e, t, n) {
|
|
109
|
+
return t && ja(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
102
110
|
writable: !1
|
|
103
111
|
}), e;
|
|
104
112
|
}
|
|
@@ -150,17 +158,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
150
158
|
};
|
|
151
159
|
}
|
|
152
160
|
function y(e, t, n) {
|
|
153
|
-
return (t =
|
|
161
|
+
return (t = hn(t)) in e ? Object.defineProperty(e, t, {
|
|
154
162
|
value: n,
|
|
155
163
|
enumerable: !0,
|
|
156
164
|
configurable: !0,
|
|
157
165
|
writable: !0
|
|
158
166
|
}) : e[t] = n, e;
|
|
159
167
|
}
|
|
160
|
-
function
|
|
168
|
+
function La(e) {
|
|
161
169
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
162
170
|
}
|
|
163
|
-
function
|
|
171
|
+
function Ba(e, t) {
|
|
164
172
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
165
173
|
if (n != null) {
|
|
166
174
|
var a, r, i, o, s = [], l = !0, u = !1;
|
|
@@ -181,15 +189,15 @@ function La(e, t) {
|
|
|
181
189
|
return s;
|
|
182
190
|
}
|
|
183
191
|
}
|
|
184
|
-
function
|
|
192
|
+
function Da() {
|
|
185
193
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
186
194
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
187
195
|
}
|
|
188
|
-
function
|
|
196
|
+
function za() {
|
|
189
197
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
190
198
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
191
199
|
}
|
|
192
|
-
function
|
|
200
|
+
function Tt(e, t) {
|
|
193
201
|
var n = Object.keys(e);
|
|
194
202
|
if (Object.getOwnPropertySymbols) {
|
|
195
203
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -202,21 +210,21 @@ function Ft(e, t) {
|
|
|
202
210
|
function f(e) {
|
|
203
211
|
for (var t = 1; t < arguments.length; t++) {
|
|
204
212
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
205
|
-
t % 2 ?
|
|
213
|
+
t % 2 ? Tt(Object(n), !0).forEach(function(a) {
|
|
206
214
|
y(e, a, n[a]);
|
|
207
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
215
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Tt(Object(n)).forEach(function(a) {
|
|
208
216
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
209
217
|
});
|
|
210
218
|
}
|
|
211
219
|
return e;
|
|
212
220
|
}
|
|
213
221
|
function $e(e, t) {
|
|
214
|
-
return
|
|
222
|
+
return Ca(e) || Ba(e, t) || ht(e, t) || Da();
|
|
215
223
|
}
|
|
216
|
-
function
|
|
217
|
-
return Ea(e) ||
|
|
224
|
+
function D(e) {
|
|
225
|
+
return Ea(e) || La(e) || ht(e) || za();
|
|
218
226
|
}
|
|
219
|
-
function
|
|
227
|
+
function Ra(e, t) {
|
|
220
228
|
if (typeof e != "object" || !e) return e;
|
|
221
229
|
var n = e[Symbol.toPrimitive];
|
|
222
230
|
if (n !== void 0) {
|
|
@@ -226,17 +234,17 @@ function za(e, t) {
|
|
|
226
234
|
}
|
|
227
235
|
return (t === "string" ? String : Number)(e);
|
|
228
236
|
}
|
|
229
|
-
function
|
|
230
|
-
var t =
|
|
237
|
+
function hn(e) {
|
|
238
|
+
var t = Ra(e, "string");
|
|
231
239
|
return typeof t == "symbol" ? t : t + "";
|
|
232
240
|
}
|
|
233
|
-
function
|
|
241
|
+
function Te(e) {
|
|
234
242
|
"@babel/helpers - typeof";
|
|
235
|
-
return
|
|
243
|
+
return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
236
244
|
return typeof t;
|
|
237
245
|
} : function(t) {
|
|
238
246
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
239
|
-
},
|
|
247
|
+
}, Te(e);
|
|
240
248
|
}
|
|
241
249
|
function ht(e, t) {
|
|
242
250
|
if (e) {
|
|
@@ -245,18 +253,18 @@ function ht(e, t) {
|
|
|
245
253
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Je(e, t) : void 0;
|
|
246
254
|
}
|
|
247
255
|
}
|
|
248
|
-
var
|
|
249
|
-
}, vt = {},
|
|
250
|
-
mark:
|
|
251
|
-
measure:
|
|
256
|
+
var Ft = function() {
|
|
257
|
+
}, vt = {}, vn = {}, gn = null, yn = {
|
|
258
|
+
mark: Ft,
|
|
259
|
+
measure: Ft
|
|
252
260
|
};
|
|
253
261
|
try {
|
|
254
|
-
typeof window < "u" && (vt = window), typeof document < "u" && (
|
|
262
|
+
typeof window < "u" && (vt = window), typeof document < "u" && (vn = document), typeof MutationObserver < "u" && (gn = MutationObserver), typeof performance < "u" && (yn = performance);
|
|
255
263
|
} catch {
|
|
256
264
|
}
|
|
257
|
-
var
|
|
258
|
-
|
|
259
|
-
var G = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function",
|
|
265
|
+
var Wa = vt.navigator || {}, _t = Wa.userAgent, Ct = _t === void 0 ? "" : _t, X = vt, k = vn, Et = gn, Ae = yn;
|
|
266
|
+
X.document;
|
|
267
|
+
var G = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", bn = ~Ct.indexOf("MSIE") || ~Ct.indexOf("Trident/"), Ue, Ua = /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)?[\-\ ]/, Ya = /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, In = {
|
|
260
268
|
classic: {
|
|
261
269
|
fa: "solid",
|
|
262
270
|
fas: "solid",
|
|
@@ -364,13 +372,13 @@ var G = !!k.documentElement && !!k.head && typeof k.addEventListener == "functio
|
|
|
364
372
|
"fa-semibold": "semibold",
|
|
365
373
|
faufsb: "semibold"
|
|
366
374
|
}
|
|
367
|
-
},
|
|
375
|
+
}, Ha = {
|
|
368
376
|
GROUP: "duotone-group",
|
|
369
377
|
PRIMARY: "primary",
|
|
370
378
|
SECONDARY: "secondary"
|
|
371
|
-
},
|
|
372
|
-
Ue = {}, y(y(y(y(y(y(y(y(y(y(Ue,
|
|
373
|
-
var
|
|
379
|
+
}, xn = ["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"], F = "classic", Ie = "duotone", wn = "sharp", Sn = "sharp-duotone", An = "chisel", kn = "etch", Mn = "graphite", Pn = "jelly", On = "jelly-duo", Tn = "jelly-fill", Fn = "notdog", _n = "notdog-duo", Cn = "slab", En = "slab-press", Nn = "thumbprint", jn = "utility", $n = "utility-duo", Ln = "utility-fill", Bn = "whiteboard", Ga = "Classic", Xa = "Duotone", Ka = "Sharp", Va = "Sharp Duotone", qa = "Chisel", Ja = "Etch", Qa = "Graphite", Za = "Jelly", er = "Jelly Duo", tr = "Jelly Fill", nr = "Notdog", ar = "Notdog Duo", rr = "Slab", ir = "Slab Press", or = "Thumbprint", sr = "Utility", lr = "Utility Duo", fr = "Utility Fill", ur = "Whiteboard", Dn = [F, Ie, wn, Sn, An, kn, Mn, Pn, On, Tn, Fn, _n, Cn, En, Nn, jn, $n, Ln, Bn];
|
|
380
|
+
Ue = {}, y(y(y(y(y(y(y(y(y(y(Ue, F, Ga), Ie, Xa), wn, Ka), Sn, Va), An, qa), kn, Ja), Mn, Qa), Pn, Za), On, er), Tn, tr), y(y(y(y(y(y(y(y(y(Ue, Fn, nr), _n, ar), Cn, rr), En, ir), Nn, or), jn, sr), $n, lr), Ln, fr), Bn, ur);
|
|
381
|
+
var cr = {
|
|
374
382
|
classic: {
|
|
375
383
|
900: "fas",
|
|
376
384
|
400: "far",
|
|
@@ -441,7 +449,7 @@ var ur = {
|
|
|
441
449
|
"utility-fill": {
|
|
442
450
|
600: "faufsb"
|
|
443
451
|
}
|
|
444
|
-
},
|
|
452
|
+
}, dr = {
|
|
445
453
|
"Font Awesome 7 Free": {
|
|
446
454
|
900: "fas",
|
|
447
455
|
400: "far"
|
|
@@ -538,7 +546,7 @@ var ur = {
|
|
|
538
546
|
600: "faufsb",
|
|
539
547
|
normal: "faufsb"
|
|
540
548
|
}
|
|
541
|
-
},
|
|
549
|
+
}, mr = /* @__PURE__ */ new Map([["classic", {
|
|
542
550
|
defaultShortPrefixId: "fas",
|
|
543
551
|
defaultStyleId: "solid",
|
|
544
552
|
styleIds: ["solid", "regular", "light", "thin", "brands"],
|
|
@@ -652,7 +660,7 @@ var ur = {
|
|
|
652
660
|
styleIds: ["semibold"],
|
|
653
661
|
futureStyleIds: [],
|
|
654
662
|
defaultFontWeight: 600
|
|
655
|
-
}]]),
|
|
663
|
+
}]]), pr = {
|
|
656
664
|
chisel: {
|
|
657
665
|
regular: "facr"
|
|
658
666
|
},
|
|
@@ -723,7 +731,7 @@ var ur = {
|
|
|
723
731
|
whiteboard: {
|
|
724
732
|
semibold: "fawsb"
|
|
725
733
|
}
|
|
726
|
-
},
|
|
734
|
+
}, zn = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], Nt = {
|
|
727
735
|
kit: {
|
|
728
736
|
fak: "kit",
|
|
729
737
|
"fa-kit": "kit"
|
|
@@ -732,13 +740,13 @@ var ur = {
|
|
|
732
740
|
fakd: "kit-duotone",
|
|
733
741
|
"fa-kit-duotone": "kit-duotone"
|
|
734
742
|
}
|
|
735
|
-
},
|
|
736
|
-
y(y({},
|
|
737
|
-
var
|
|
743
|
+
}, hr = ["kit"], vr = "kit", gr = "kit-duotone", yr = "Kit", br = "Kit Duotone";
|
|
744
|
+
y(y({}, vr, yr), gr, br);
|
|
745
|
+
var Ir = {
|
|
738
746
|
kit: {
|
|
739
747
|
"fa-kit": "fak"
|
|
740
748
|
}
|
|
741
|
-
},
|
|
749
|
+
}, xr = {
|
|
742
750
|
"Font Awesome Kit": {
|
|
743
751
|
400: "fak",
|
|
744
752
|
normal: "fak"
|
|
@@ -747,7 +755,7 @@ var br = {
|
|
|
747
755
|
400: "fakd",
|
|
748
756
|
normal: "fakd"
|
|
749
757
|
}
|
|
750
|
-
},
|
|
758
|
+
}, wr = {
|
|
751
759
|
kit: {
|
|
752
760
|
fak: "fa-kit"
|
|
753
761
|
}
|
|
@@ -763,11 +771,11 @@ var br = {
|
|
|
763
771
|
SWAP_OPACITY: "swap-opacity",
|
|
764
772
|
PRIMARY: "primary",
|
|
765
773
|
SECONDARY: "secondary"
|
|
766
|
-
},
|
|
767
|
-
Ye = {}, y(y(y(y(y(y(y(y(y(y(Ye,
|
|
768
|
-
var
|
|
769
|
-
y(y({},
|
|
770
|
-
var
|
|
774
|
+
}, Sr = ["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"], Ar = "classic", kr = "duotone", Mr = "sharp", Pr = "sharp-duotone", Or = "chisel", Tr = "etch", Fr = "graphite", _r = "jelly", Cr = "jelly-duo", Er = "jelly-fill", Nr = "notdog", jr = "notdog-duo", $r = "slab", Lr = "slab-press", Br = "thumbprint", Dr = "utility", zr = "utility-duo", Rr = "utility-fill", Wr = "whiteboard", Ur = "Classic", Yr = "Duotone", Hr = "Sharp", Gr = "Sharp Duotone", Xr = "Chisel", Kr = "Etch", Vr = "Graphite", qr = "Jelly", Jr = "Jelly Duo", Qr = "Jelly Fill", Zr = "Notdog", ei = "Notdog Duo", ti = "Slab", ni = "Slab Press", ai = "Thumbprint", ri = "Utility", ii = "Utility Duo", oi = "Utility Fill", si = "Whiteboard";
|
|
775
|
+
Ye = {}, y(y(y(y(y(y(y(y(y(y(Ye, Ar, Ur), kr, Yr), Mr, Hr), Pr, Gr), Or, Xr), Tr, Kr), Fr, Vr), _r, qr), Cr, Jr), Er, Qr), y(y(y(y(y(y(y(y(y(Ye, Nr, Zr), jr, ei), $r, ti), Lr, ni), Br, ai), Dr, ri), zr, ii), Rr, oi), Wr, si);
|
|
776
|
+
var li = "kit", fi = "kit-duotone", ui = "Kit", ci = "Kit Duotone";
|
|
777
|
+
y(y({}, li, ui), fi, ci);
|
|
778
|
+
var di = {
|
|
771
779
|
classic: {
|
|
772
780
|
"fa-brands": "fab",
|
|
773
781
|
"fa-duotone": "fad",
|
|
@@ -838,7 +846,7 @@ var ci = {
|
|
|
838
846
|
"utility-fill": {
|
|
839
847
|
"fa-semibold": "faufsb"
|
|
840
848
|
}
|
|
841
|
-
},
|
|
849
|
+
}, mi = {
|
|
842
850
|
classic: ["fas", "far", "fal", "fat", "fad"],
|
|
843
851
|
duotone: ["fadr", "fadl", "fadt"],
|
|
844
852
|
sharp: ["fass", "fasr", "fasl", "fast"],
|
|
@@ -929,11 +937,11 @@ var ci = {
|
|
|
929
937
|
"utility-fill": {
|
|
930
938
|
faufsb: "fa-semibold"
|
|
931
939
|
}
|
|
932
|
-
},
|
|
940
|
+
}, pi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Rn = ["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(Sr, pi), hi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Wn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], vi = Wn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), gi = ["aw", "fw", "pull-left", "pull-right"], yi = [].concat(D(Object.keys(mi)), hi, gi, ["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", ke.GROUP, ke.SWAP_OPACITY, ke.PRIMARY, ke.SECONDARY]).concat(Wn.map(function(e) {
|
|
933
941
|
return "".concat(e, "x");
|
|
934
|
-
})).concat(
|
|
942
|
+
})).concat(vi.map(function(e) {
|
|
935
943
|
return "w-".concat(e);
|
|
936
|
-
})),
|
|
944
|
+
})), bi = {
|
|
937
945
|
"Font Awesome 5 Free": {
|
|
938
946
|
900: "fas",
|
|
939
947
|
400: "far"
|
|
@@ -951,7 +959,7 @@ var ci = {
|
|
|
951
959
|
"Font Awesome 5 Duotone": {
|
|
952
960
|
900: "fad"
|
|
953
961
|
}
|
|
954
|
-
}, Y = "___FONT_AWESOME___", Ze = 16,
|
|
962
|
+
}, Y = "___FONT_AWESOME___", Ze = 16, Un = "fa", Yn = "svg-inline--fa", Z = "data-fa-i2svg", et = "data-fa-pseudo-element", Ii = "data-fa-pseudo-element-pending", gt = "data-prefix", yt = "data-icon", $t = "fontawesome-i2svg", xi = "async", wi = ["HTML", "HEAD", "STYLE", "SCRIPT"], Hn = ["::before", "::after", ":before", ":after"], Gn = function() {
|
|
955
963
|
try {
|
|
956
964
|
return process.env.NODE_ENV === "production";
|
|
957
965
|
} catch {
|
|
@@ -961,27 +969,27 @@ var ci = {
|
|
|
961
969
|
function xe(e) {
|
|
962
970
|
return new Proxy(e, {
|
|
963
971
|
get: function(n, a) {
|
|
964
|
-
return a in n ? n[a] : n[
|
|
972
|
+
return a in n ? n[a] : n[F];
|
|
965
973
|
}
|
|
966
974
|
});
|
|
967
975
|
}
|
|
968
|
-
var
|
|
969
|
-
|
|
976
|
+
var Xn = f({}, In);
|
|
977
|
+
Xn[F] = f(f(f(f({}, {
|
|
970
978
|
"fa-duotone": "duotone"
|
|
971
|
-
}),
|
|
972
|
-
var
|
|
973
|
-
tt[
|
|
979
|
+
}), In[F]), Nt.kit), Nt["kit-duotone"]);
|
|
980
|
+
var Si = xe(Xn), tt = f({}, pr);
|
|
981
|
+
tt[F] = f(f(f(f({}, {
|
|
974
982
|
duotone: "fad"
|
|
975
|
-
}), tt[
|
|
983
|
+
}), tt[F]), jt.kit), jt["kit-duotone"]);
|
|
976
984
|
var Lt = xe(tt), nt = f({}, Qe);
|
|
977
|
-
nt[
|
|
978
|
-
var bt = xe(nt), at = f({},
|
|
979
|
-
at[
|
|
985
|
+
nt[F] = f(f({}, nt[F]), wr.kit);
|
|
986
|
+
var bt = xe(nt), at = f({}, di);
|
|
987
|
+
at[F] = f(f({}, at[F]), Ir.kit);
|
|
980
988
|
xe(at);
|
|
981
|
-
var
|
|
982
|
-
xe(
|
|
983
|
-
var
|
|
984
|
-
function
|
|
989
|
+
var Ai = Ua, Kn = "fa-layers-text", ki = Ya, Mi = f({}, cr);
|
|
990
|
+
xe(Mi);
|
|
991
|
+
var Pi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], He = Ha, Oi = [].concat(D(hr), D(yi)), de = X.FontAwesomeConfig || {};
|
|
992
|
+
function Ti(e) {
|
|
985
993
|
var t = k.querySelector("script[" + e + "]");
|
|
986
994
|
if (t)
|
|
987
995
|
return t.getAttribute(e);
|
|
@@ -990,17 +998,17 @@ function Fi(e) {
|
|
|
990
998
|
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
991
999
|
}
|
|
992
1000
|
if (k && typeof k.querySelector == "function") {
|
|
993
|
-
var
|
|
994
|
-
|
|
995
|
-
var t = $e(e, 2), n = t[0], a = t[1], r = Fi(
|
|
1001
|
+
var _i = [["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"]];
|
|
1002
|
+
_i.forEach(function(e) {
|
|
1003
|
+
var t = $e(e, 2), n = t[0], a = t[1], r = Fi(Ti(n));
|
|
996
1004
|
r != null && (de[a] = r);
|
|
997
1005
|
});
|
|
998
1006
|
}
|
|
999
|
-
var
|
|
1007
|
+
var Vn = {
|
|
1000
1008
|
styleDefault: "solid",
|
|
1001
|
-
familyDefault:
|
|
1002
|
-
cssPrefix:
|
|
1003
|
-
replacementClass:
|
|
1009
|
+
familyDefault: F,
|
|
1010
|
+
cssPrefix: Un,
|
|
1011
|
+
replacementClass: Yn,
|
|
1004
1012
|
autoReplaceSvg: !0,
|
|
1005
1013
|
autoAddCss: !0,
|
|
1006
1014
|
searchPseudoElements: !1,
|
|
@@ -1013,41 +1021,41 @@ var Xn = {
|
|
|
1013
1021
|
showMissingIcons: !0
|
|
1014
1022
|
};
|
|
1015
1023
|
de.familyPrefix && (de.cssPrefix = de.familyPrefix);
|
|
1016
|
-
var
|
|
1017
|
-
|
|
1024
|
+
var oe = f(f({}, Vn), de);
|
|
1025
|
+
oe.autoReplaceSvg || (oe.observeMutations = !1);
|
|
1018
1026
|
var h = {};
|
|
1019
|
-
Object.keys(
|
|
1027
|
+
Object.keys(Vn).forEach(function(e) {
|
|
1020
1028
|
Object.defineProperty(h, e, {
|
|
1021
1029
|
enumerable: !0,
|
|
1022
1030
|
set: function(n) {
|
|
1023
|
-
|
|
1031
|
+
oe[e] = n, me.forEach(function(a) {
|
|
1024
1032
|
return a(h);
|
|
1025
1033
|
});
|
|
1026
1034
|
},
|
|
1027
1035
|
get: function() {
|
|
1028
|
-
return
|
|
1036
|
+
return oe[e];
|
|
1029
1037
|
}
|
|
1030
1038
|
});
|
|
1031
1039
|
});
|
|
1032
1040
|
Object.defineProperty(h, "familyPrefix", {
|
|
1033
1041
|
enumerable: !0,
|
|
1034
1042
|
set: function(t) {
|
|
1035
|
-
|
|
1043
|
+
oe.cssPrefix = t, me.forEach(function(n) {
|
|
1036
1044
|
return n(h);
|
|
1037
1045
|
});
|
|
1038
1046
|
},
|
|
1039
1047
|
get: function() {
|
|
1040
|
-
return
|
|
1048
|
+
return oe.cssPrefix;
|
|
1041
1049
|
}
|
|
1042
1050
|
});
|
|
1043
|
-
|
|
1051
|
+
X.FontAwesomeConfig = h;
|
|
1044
1052
|
var me = [];
|
|
1045
|
-
function
|
|
1053
|
+
function Ci(e) {
|
|
1046
1054
|
return me.push(e), function() {
|
|
1047
1055
|
me.splice(me.indexOf(e), 1);
|
|
1048
1056
|
};
|
|
1049
1057
|
}
|
|
1050
|
-
var te = Ze,
|
|
1058
|
+
var te = Ze, R = {
|
|
1051
1059
|
size: 16,
|
|
1052
1060
|
x: 0,
|
|
1053
1061
|
y: 0,
|
|
@@ -1066,28 +1074,28 @@ function Ei(e) {
|
|
|
1066
1074
|
return k.head.insertBefore(t, a), e;
|
|
1067
1075
|
}
|
|
1068
1076
|
}
|
|
1069
|
-
var
|
|
1077
|
+
var Ni = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
1070
1078
|
function Bt() {
|
|
1071
1079
|
for (var e = 12, t = ""; e-- > 0; )
|
|
1072
|
-
t +=
|
|
1080
|
+
t += Ni[Math.random() * 62 | 0];
|
|
1073
1081
|
return t;
|
|
1074
1082
|
}
|
|
1075
|
-
function
|
|
1083
|
+
function se(e) {
|
|
1076
1084
|
for (var t = [], n = (e || []).length >>> 0; n--; )
|
|
1077
1085
|
t[n] = e[n];
|
|
1078
1086
|
return t;
|
|
1079
1087
|
}
|
|
1080
1088
|
function It(e) {
|
|
1081
|
-
return e.classList ?
|
|
1089
|
+
return e.classList ? se(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
1082
1090
|
return t;
|
|
1083
1091
|
});
|
|
1084
1092
|
}
|
|
1085
|
-
function
|
|
1093
|
+
function qn(e) {
|
|
1086
1094
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1087
1095
|
}
|
|
1088
|
-
function
|
|
1096
|
+
function ji(e) {
|
|
1089
1097
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
1090
|
-
return t + "".concat(n, '="').concat(
|
|
1098
|
+
return t + "".concat(n, '="').concat(qn(e[n]), '" ');
|
|
1091
1099
|
}, "").trim();
|
|
1092
1100
|
}
|
|
1093
1101
|
function Le(e) {
|
|
@@ -1096,9 +1104,9 @@ function Le(e) {
|
|
|
1096
1104
|
}, "");
|
|
1097
1105
|
}
|
|
1098
1106
|
function xt(e) {
|
|
1099
|
-
return e.size !==
|
|
1107
|
+
return e.size !== R.size || e.x !== R.x || e.y !== R.y || e.rotate !== R.rotate || e.flipX || e.flipY;
|
|
1100
1108
|
}
|
|
1101
|
-
function
|
|
1109
|
+
function $i(e) {
|
|
1102
1110
|
var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
|
|
1103
1111
|
transform: "translate(".concat(n / 2, " 256)")
|
|
1104
1112
|
}, 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 = {
|
|
@@ -1112,11 +1120,11 @@ function ji(e) {
|
|
|
1112
1120
|
path: u
|
|
1113
1121
|
};
|
|
1114
1122
|
}
|
|
1115
|
-
function
|
|
1123
|
+
function Li(e) {
|
|
1116
1124
|
var t = e.transform, n = e.width, a = n === void 0 ? Ze : n, r = e.height, i = r === void 0 ? Ze : r, o = "";
|
|
1117
|
-
return
|
|
1125
|
+
return bn ? o += "translate(".concat(t.x / te - a / 2, "em, ").concat(t.y / te - i / 2, "em) ") : o += "translate(calc(-50% + ".concat(t.x / te, "em), calc(-50% + ").concat(t.y / te, "em)) "), o += "scale(".concat(t.size / te * (t.flipX ? -1 : 1), ", ").concat(t.size / te * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
1118
1126
|
}
|
|
1119
|
-
var
|
|
1127
|
+
var Bi = `:root, :host {
|
|
1120
1128
|
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
1121
1129
|
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
1122
1130
|
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
@@ -1668,8 +1676,8 @@ var Li = `:root, :host {
|
|
|
1668
1676
|
position: absolute;
|
|
1669
1677
|
z-index: var(--fa-stack-z-index, auto);
|
|
1670
1678
|
}`;
|
|
1671
|
-
function
|
|
1672
|
-
var e =
|
|
1679
|
+
function Jn() {
|
|
1680
|
+
var e = Un, t = Yn, n = h.cssPrefix, a = h.replacementClass, r = Bi;
|
|
1673
1681
|
if (n !== e || a !== t) {
|
|
1674
1682
|
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
1675
1683
|
r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(s, ".".concat(a));
|
|
@@ -1678,13 +1686,13 @@ function qn() {
|
|
|
1678
1686
|
}
|
|
1679
1687
|
var Dt = !1;
|
|
1680
1688
|
function Ge() {
|
|
1681
|
-
h.autoAddCss && !Dt && (Ei(
|
|
1689
|
+
h.autoAddCss && !Dt && (Ei(Jn()), Dt = !0);
|
|
1682
1690
|
}
|
|
1683
|
-
var
|
|
1691
|
+
var Di = {
|
|
1684
1692
|
mixout: function() {
|
|
1685
1693
|
return {
|
|
1686
1694
|
dom: {
|
|
1687
|
-
css:
|
|
1695
|
+
css: Jn,
|
|
1688
1696
|
insertCss: Ge
|
|
1689
1697
|
}
|
|
1690
1698
|
};
|
|
@@ -1699,23 +1707,23 @@ var Bi = {
|
|
|
1699
1707
|
}
|
|
1700
1708
|
};
|
|
1701
1709
|
}
|
|
1702
|
-
}, H =
|
|
1710
|
+
}, H = X || {};
|
|
1703
1711
|
H[Y] || (H[Y] = {});
|
|
1704
1712
|
H[Y].styles || (H[Y].styles = {});
|
|
1705
1713
|
H[Y].hooks || (H[Y].hooks = {});
|
|
1706
1714
|
H[Y].shims || (H[Y].shims = []);
|
|
1707
|
-
var
|
|
1708
|
-
k.removeEventListener("DOMContentLoaded",
|
|
1715
|
+
var B = H[Y], Qn = [], Zn = function() {
|
|
1716
|
+
k.removeEventListener("DOMContentLoaded", Zn), Fe = 1, Qn.map(function(t) {
|
|
1709
1717
|
return t();
|
|
1710
1718
|
});
|
|
1711
|
-
},
|
|
1712
|
-
G && (
|
|
1713
|
-
function
|
|
1714
|
-
G && (
|
|
1719
|
+
}, Fe = !1;
|
|
1720
|
+
G && (Fe = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Fe || k.addEventListener("DOMContentLoaded", Zn));
|
|
1721
|
+
function zi(e) {
|
|
1722
|
+
G && (Fe ? setTimeout(e, 0) : Qn.push(e));
|
|
1715
1723
|
}
|
|
1716
1724
|
function we(e) {
|
|
1717
1725
|
var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
|
|
1718
|
-
return typeof e == "string" ?
|
|
1726
|
+
return typeof e == "string" ? qn(e) : "<".concat(t, " ").concat(ji(a), ">").concat(i.map(we).join(""), "</").concat(t, ">");
|
|
1719
1727
|
}
|
|
1720
1728
|
function zt(e, t, n) {
|
|
1721
1729
|
if (e && e[t] && e[t][n])
|
|
@@ -1725,14 +1733,14 @@ function zt(e, t, n) {
|
|
|
1725
1733
|
icon: e[t][n]
|
|
1726
1734
|
};
|
|
1727
1735
|
}
|
|
1728
|
-
var
|
|
1736
|
+
var Xe = function(t, n, a, r) {
|
|
1729
1737
|
var i = Object.keys(t), o = i.length, s = n, l, u, c;
|
|
1730
1738
|
for (a === void 0 ? (l = 1, c = t[i[0]]) : (l = 0, c = a); l < o; l++)
|
|
1731
1739
|
u = i[l], c = s(c, t[u], u, t);
|
|
1732
1740
|
return c;
|
|
1733
1741
|
};
|
|
1734
|
-
function
|
|
1735
|
-
return
|
|
1742
|
+
function ea(e) {
|
|
1743
|
+
return D(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
1736
1744
|
}
|
|
1737
1745
|
function Rt(e) {
|
|
1738
1746
|
return Object.keys(e).reduce(function(t, n) {
|
|
@@ -1742,25 +1750,25 @@ function Rt(e) {
|
|
|
1742
1750
|
}
|
|
1743
1751
|
function rt(e, t) {
|
|
1744
1752
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = Rt(t);
|
|
1745
|
-
typeof
|
|
1753
|
+
typeof B.hooks.addPack == "function" && !r ? B.hooks.addPack(e, Rt(t)) : B.styles[e] = f(f({}, B.styles[e] || {}), i), e === "fas" && rt("fa", t);
|
|
1746
1754
|
}
|
|
1747
|
-
var he =
|
|
1755
|
+
var he = B.styles, Ri = B.shims, ta = Object.keys(bt), Wi = ta.reduce(function(e, t) {
|
|
1748
1756
|
return e[t] = Object.keys(bt[t]), e;
|
|
1749
|
-
}, {}), wt = null,
|
|
1750
|
-
function
|
|
1751
|
-
return ~
|
|
1757
|
+
}, {}), wt = null, na = {}, aa = {}, ra = {}, ia = {}, oa = {};
|
|
1758
|
+
function Ui(e) {
|
|
1759
|
+
return ~Oi.indexOf(e);
|
|
1752
1760
|
}
|
|
1753
|
-
function
|
|
1761
|
+
function Yi(e, t) {
|
|
1754
1762
|
var n = t.split("-"), a = n[0], r = n.slice(1).join("-");
|
|
1755
|
-
return a === e && r !== "" && !
|
|
1763
|
+
return a === e && r !== "" && !Ui(r) ? r : null;
|
|
1756
1764
|
}
|
|
1757
|
-
var
|
|
1765
|
+
var sa = function() {
|
|
1758
1766
|
var t = function(i) {
|
|
1759
|
-
return
|
|
1760
|
-
return o[l] =
|
|
1767
|
+
return Xe(he, function(o, s, l) {
|
|
1768
|
+
return o[l] = Xe(s, i, {}), o;
|
|
1761
1769
|
}, {});
|
|
1762
1770
|
};
|
|
1763
|
-
|
|
1771
|
+
na = t(function(r, i, o) {
|
|
1764
1772
|
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
1765
1773
|
var s = i[2].filter(function(l) {
|
|
1766
1774
|
return typeof l == "number";
|
|
@@ -1770,7 +1778,7 @@ var oa = function() {
|
|
|
1770
1778
|
});
|
|
1771
1779
|
}
|
|
1772
1780
|
return r;
|
|
1773
|
-
}),
|
|
1781
|
+
}), aa = t(function(r, i, o) {
|
|
1774
1782
|
if (r[o] = o, i[2]) {
|
|
1775
1783
|
var s = i[2].filter(function(l) {
|
|
1776
1784
|
return typeof l == "string";
|
|
@@ -1780,13 +1788,13 @@ var oa = function() {
|
|
|
1780
1788
|
});
|
|
1781
1789
|
}
|
|
1782
1790
|
return r;
|
|
1783
|
-
}),
|
|
1791
|
+
}), oa = t(function(r, i, o) {
|
|
1784
1792
|
var s = i[2];
|
|
1785
1793
|
return r[o] = o, s.forEach(function(l) {
|
|
1786
1794
|
r[l] = o;
|
|
1787
1795
|
}), r;
|
|
1788
1796
|
});
|
|
1789
|
-
var n = "far" in he || h.autoFetchSvg, a =
|
|
1797
|
+
var n = "far" in he || h.autoFetchSvg, a = Xe(Ri, function(r, i) {
|
|
1790
1798
|
var o = i[0], s = i[1], l = i[2];
|
|
1791
1799
|
return s === "far" && !n && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1792
1800
|
prefix: s,
|
|
@@ -1799,33 +1807,33 @@ var oa = function() {
|
|
|
1799
1807
|
names: {},
|
|
1800
1808
|
unicodes: {}
|
|
1801
1809
|
});
|
|
1802
|
-
|
|
1810
|
+
ra = a.names, ia = a.unicodes, wt = Be(h.styleDefault, {
|
|
1803
1811
|
family: h.familyDefault
|
|
1804
1812
|
});
|
|
1805
1813
|
};
|
|
1806
|
-
|
|
1814
|
+
Ci(function(e) {
|
|
1807
1815
|
wt = Be(e.styleDefault, {
|
|
1808
1816
|
family: h.familyDefault
|
|
1809
1817
|
});
|
|
1810
1818
|
});
|
|
1811
|
-
|
|
1819
|
+
sa();
|
|
1812
1820
|
function St(e, t) {
|
|
1813
|
-
return (ta[e] || {})[t];
|
|
1814
|
-
}
|
|
1815
|
-
function Yi(e, t) {
|
|
1816
1821
|
return (na[e] || {})[t];
|
|
1817
1822
|
}
|
|
1823
|
+
function Hi(e, t) {
|
|
1824
|
+
return (aa[e] || {})[t];
|
|
1825
|
+
}
|
|
1818
1826
|
function q(e, t) {
|
|
1819
|
-
return (
|
|
1827
|
+
return (oa[e] || {})[t];
|
|
1820
1828
|
}
|
|
1821
|
-
function
|
|
1822
|
-
return
|
|
1829
|
+
function la(e) {
|
|
1830
|
+
return ra[e] || {
|
|
1823
1831
|
prefix: null,
|
|
1824
1832
|
iconName: null
|
|
1825
1833
|
};
|
|
1826
1834
|
}
|
|
1827
|
-
function
|
|
1828
|
-
var t =
|
|
1835
|
+
function Gi(e) {
|
|
1836
|
+
var t = ia[e], n = St("fas", e);
|
|
1829
1837
|
return t || (n ? {
|
|
1830
1838
|
prefix: "fas",
|
|
1831
1839
|
iconName: n
|
|
@@ -1834,37 +1842,37 @@ function Hi(e) {
|
|
|
1834
1842
|
iconName: null
|
|
1835
1843
|
};
|
|
1836
1844
|
}
|
|
1837
|
-
function
|
|
1845
|
+
function K() {
|
|
1838
1846
|
return wt;
|
|
1839
1847
|
}
|
|
1840
|
-
var
|
|
1848
|
+
var fa = function() {
|
|
1841
1849
|
return {
|
|
1842
1850
|
prefix: null,
|
|
1843
1851
|
iconName: null,
|
|
1844
1852
|
rest: []
|
|
1845
1853
|
};
|
|
1846
1854
|
};
|
|
1847
|
-
function
|
|
1848
|
-
var t =
|
|
1855
|
+
function Xi(e) {
|
|
1856
|
+
var t = F, n = ta.reduce(function(a, r) {
|
|
1849
1857
|
return a[r] = "".concat(h.cssPrefix, "-").concat(r), a;
|
|
1850
1858
|
}, {});
|
|
1851
|
-
return
|
|
1859
|
+
return Dn.forEach(function(a) {
|
|
1852
1860
|
(e.includes(n[a]) || e.some(function(r) {
|
|
1853
|
-
return
|
|
1861
|
+
return Wi[a].includes(r);
|
|
1854
1862
|
})) && (t = a);
|
|
1855
1863
|
}), t;
|
|
1856
1864
|
}
|
|
1857
1865
|
function Be(e) {
|
|
1858
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ?
|
|
1866
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? F : n, r = Si[a][e];
|
|
1859
1867
|
if (a === Ie && !e)
|
|
1860
1868
|
return "fad";
|
|
1861
|
-
var i = Lt[a][e] || Lt[a][r], o = e in
|
|
1869
|
+
var i = Lt[a][e] || Lt[a][r], o = e in B.styles ? e : null, s = i || o || null;
|
|
1862
1870
|
return s;
|
|
1863
1871
|
}
|
|
1864
|
-
function
|
|
1872
|
+
function Ki(e) {
|
|
1865
1873
|
var t = [], n = null;
|
|
1866
1874
|
return e.forEach(function(a) {
|
|
1867
|
-
var r =
|
|
1875
|
+
var r = Yi(h.cssPrefix, a);
|
|
1868
1876
|
r ? n = r : a && t.push(a);
|
|
1869
1877
|
}), {
|
|
1870
1878
|
iconName: n,
|
|
@@ -1876,66 +1884,66 @@ function Wt(e) {
|
|
|
1876
1884
|
return a.indexOf(t) === n;
|
|
1877
1885
|
});
|
|
1878
1886
|
}
|
|
1879
|
-
var Ut =
|
|
1887
|
+
var Ut = Rn.concat(zn);
|
|
1880
1888
|
function De(e) {
|
|
1881
1889
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.skipLookups, a = n === void 0 ? !1 : n, r = null, i = Wt(e.filter(function(g) {
|
|
1882
1890
|
return Ut.includes(g);
|
|
1883
1891
|
})), o = Wt(e.filter(function(g) {
|
|
1884
1892
|
return !Ut.includes(g);
|
|
1885
1893
|
})), s = i.filter(function(g) {
|
|
1886
|
-
return r = g, !
|
|
1887
|
-
}), l = $e(s, 1), u = l[0], c = u === void 0 ? null : u, d =
|
|
1894
|
+
return r = g, !xn.includes(g);
|
|
1895
|
+
}), l = $e(s, 1), u = l[0], c = u === void 0 ? null : u, d = Xi(i), p = f(f({}, Ki(o)), {}, {
|
|
1888
1896
|
prefix: Be(c, {
|
|
1889
1897
|
family: d
|
|
1890
1898
|
})
|
|
1891
1899
|
});
|
|
1892
|
-
return f(f(f({}, p),
|
|
1900
|
+
return f(f(f({}, p), Qi({
|
|
1893
1901
|
values: e,
|
|
1894
1902
|
family: d,
|
|
1895
1903
|
styles: he,
|
|
1896
1904
|
config: h,
|
|
1897
1905
|
canonical: p,
|
|
1898
1906
|
givenPrefix: r
|
|
1899
|
-
})),
|
|
1907
|
+
})), Vi(a, r, p));
|
|
1900
1908
|
}
|
|
1901
|
-
function
|
|
1909
|
+
function Vi(e, t, n) {
|
|
1902
1910
|
var a = n.prefix, r = n.iconName;
|
|
1903
1911
|
if (e || !a || !r)
|
|
1904
1912
|
return {
|
|
1905
1913
|
prefix: a,
|
|
1906
1914
|
iconName: r
|
|
1907
1915
|
};
|
|
1908
|
-
var i = t === "fa" ?
|
|
1916
|
+
var i = t === "fa" ? la(r) : {}, o = q(a, r);
|
|
1909
1917
|
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !he.far && he.fas && !h.autoFetchSvg && (a = "fas"), {
|
|
1910
1918
|
prefix: a,
|
|
1911
1919
|
iconName: r
|
|
1912
1920
|
};
|
|
1913
1921
|
}
|
|
1914
|
-
var
|
|
1915
|
-
return e !==
|
|
1916
|
-
}),
|
|
1917
|
-
return e !==
|
|
1922
|
+
var qi = Dn.filter(function(e) {
|
|
1923
|
+
return e !== F || e !== Ie;
|
|
1924
|
+
}), Ji = Object.keys(Qe).filter(function(e) {
|
|
1925
|
+
return e !== F;
|
|
1918
1926
|
}).map(function(e) {
|
|
1919
1927
|
return Object.keys(Qe[e]);
|
|
1920
1928
|
}).flat();
|
|
1921
|
-
function
|
|
1929
|
+
function Qi(e) {
|
|
1922
1930
|
var t = e.values, n = e.family, a = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, o = e.styles, s = o === void 0 ? {} : o, l = e.config, u = l === void 0 ? {} : l, c = n === Ie, d = t.includes("fa-duotone") || t.includes("fad"), p = u.familyDefault === "duotone", g = a.prefix === "fad" || a.prefix === "fa-duotone";
|
|
1923
|
-
if (!c && (d || p || g) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix &&
|
|
1931
|
+
if (!c && (d || p || g) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && qi.includes(n)) {
|
|
1924
1932
|
var b = Object.keys(s).find(function(O) {
|
|
1925
|
-
return
|
|
1933
|
+
return Ji.includes(O);
|
|
1926
1934
|
});
|
|
1927
1935
|
if (b || u.autoFetchSvg) {
|
|
1928
|
-
var I =
|
|
1936
|
+
var I = mr.get(n).defaultShortPrefixId;
|
|
1929
1937
|
a.prefix = I, a.iconName = q(a.prefix, a.iconName) || a.iconName;
|
|
1930
1938
|
}
|
|
1931
1939
|
}
|
|
1932
|
-
return (a.prefix === "fa" || i === "fa") && (a.prefix =
|
|
1940
|
+
return (a.prefix === "fa" || i === "fa") && (a.prefix = K() || "fas"), a;
|
|
1933
1941
|
}
|
|
1934
|
-
var
|
|
1942
|
+
var Zi = /* @__PURE__ */ function() {
|
|
1935
1943
|
function e() {
|
|
1936
|
-
|
|
1944
|
+
Na(this, e), this.definitions = {};
|
|
1937
1945
|
}
|
|
1938
|
-
return
|
|
1946
|
+
return $a(e, [{
|
|
1939
1947
|
key: "add",
|
|
1940
1948
|
value: function() {
|
|
1941
1949
|
for (var n = this, a = arguments.length, r = new Array(a), i = 0; i < a; i++)
|
|
@@ -1943,8 +1951,8 @@ var Qi = /* @__PURE__ */ function() {
|
|
|
1943
1951
|
var o = r.reduce(this._pullDefinitions, {});
|
|
1944
1952
|
Object.keys(o).forEach(function(s) {
|
|
1945
1953
|
n.definitions[s] = f(f({}, n.definitions[s] || {}), o[s]), rt(s, o[s]);
|
|
1946
|
-
var l = bt[
|
|
1947
|
-
l && rt(l, o[s]),
|
|
1954
|
+
var l = bt[F][s];
|
|
1955
|
+
l && rt(l, o[s]), sa();
|
|
1948
1956
|
});
|
|
1949
1957
|
}
|
|
1950
1958
|
}, {
|
|
@@ -1966,30 +1974,30 @@ var Qi = /* @__PURE__ */ function() {
|
|
|
1966
1974
|
}), n;
|
|
1967
1975
|
}
|
|
1968
1976
|
}]);
|
|
1969
|
-
}(), Yt = [],
|
|
1970
|
-
function
|
|
1977
|
+
}(), Yt = [], ne = {}, ae = {}, eo = Object.keys(ae);
|
|
1978
|
+
function to(e, t) {
|
|
1971
1979
|
var n = t.mixoutsTo;
|
|
1972
|
-
return Yt = e,
|
|
1973
|
-
|
|
1980
|
+
return Yt = e, ne = {}, Object.keys(ae).forEach(function(a) {
|
|
1981
|
+
eo.indexOf(a) === -1 && delete ae[a];
|
|
1974
1982
|
}), Yt.forEach(function(a) {
|
|
1975
1983
|
var r = a.mixout ? a.mixout() : {};
|
|
1976
1984
|
if (Object.keys(r).forEach(function(o) {
|
|
1977
|
-
typeof r[o] == "function" && (n[o] = r[o]),
|
|
1985
|
+
typeof r[o] == "function" && (n[o] = r[o]), Te(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
1978
1986
|
n[o] || (n[o] = {}), n[o][s] = r[o][s];
|
|
1979
1987
|
});
|
|
1980
1988
|
}), a.hooks) {
|
|
1981
1989
|
var i = a.hooks();
|
|
1982
1990
|
Object.keys(i).forEach(function(o) {
|
|
1983
|
-
|
|
1991
|
+
ne[o] || (ne[o] = []), ne[o].push(i[o]);
|
|
1984
1992
|
});
|
|
1985
1993
|
}
|
|
1986
|
-
a.provides && a.provides(
|
|
1994
|
+
a.provides && a.provides(ae);
|
|
1987
1995
|
}), n;
|
|
1988
1996
|
}
|
|
1989
1997
|
function it(e, t) {
|
|
1990
1998
|
for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
|
|
1991
1999
|
a[r - 2] = arguments[r];
|
|
1992
|
-
var i =
|
|
2000
|
+
var i = ne[e] || [];
|
|
1993
2001
|
return i.forEach(function(o) {
|
|
1994
2002
|
t = o.apply(null, [t].concat(a));
|
|
1995
2003
|
}), t;
|
|
@@ -1997,41 +2005,41 @@ function it(e, t) {
|
|
|
1997
2005
|
function ee(e) {
|
|
1998
2006
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1999
2007
|
n[a - 1] = arguments[a];
|
|
2000
|
-
var r =
|
|
2008
|
+
var r = ne[e] || [];
|
|
2001
2009
|
r.forEach(function(i) {
|
|
2002
2010
|
i.apply(null, n);
|
|
2003
2011
|
});
|
|
2004
2012
|
}
|
|
2005
|
-
function
|
|
2013
|
+
function V() {
|
|
2006
2014
|
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
2007
|
-
return
|
|
2015
|
+
return ae[e] ? ae[e].apply(null, t) : void 0;
|
|
2008
2016
|
}
|
|
2009
2017
|
function ot(e) {
|
|
2010
2018
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
2011
|
-
var t = e.iconName, n = e.prefix ||
|
|
2019
|
+
var t = e.iconName, n = e.prefix || K();
|
|
2012
2020
|
if (t)
|
|
2013
|
-
return t = q(n, t) || t, zt(
|
|
2021
|
+
return t = q(n, t) || t, zt(ua.definitions, n, t) || zt(B.styles, n, t);
|
|
2014
2022
|
}
|
|
2015
|
-
var
|
|
2023
|
+
var ua = new Zi(), no = function() {
|
|
2016
2024
|
h.autoReplaceSvg = !1, h.observeMutations = !1, ee("noAuto");
|
|
2017
|
-
},
|
|
2025
|
+
}, ao = {
|
|
2018
2026
|
i2svg: function() {
|
|
2019
2027
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2020
|
-
return G ? (ee("beforeI2svg", t),
|
|
2028
|
+
return G ? (ee("beforeI2svg", t), V("pseudoElements2svg", t), V("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
2021
2029
|
},
|
|
2022
2030
|
watch: function() {
|
|
2023
2031
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
|
|
2024
|
-
h.autoReplaceSvg === !1 && (h.autoReplaceSvg = !0), h.observeMutations = !0,
|
|
2025
|
-
|
|
2032
|
+
h.autoReplaceSvg === !1 && (h.autoReplaceSvg = !0), h.observeMutations = !0, zi(function() {
|
|
2033
|
+
io({
|
|
2026
2034
|
autoReplaceSvgRoot: n
|
|
2027
2035
|
}), ee("watch", t);
|
|
2028
2036
|
});
|
|
2029
2037
|
}
|
|
2030
|
-
},
|
|
2038
|
+
}, ro = {
|
|
2031
2039
|
icon: function(t) {
|
|
2032
2040
|
if (t === null)
|
|
2033
2041
|
return null;
|
|
2034
|
-
if (
|
|
2042
|
+
if (Te(t) === "object" && t.prefix && t.iconName)
|
|
2035
2043
|
return {
|
|
2036
2044
|
prefix: t.prefix,
|
|
2037
2045
|
iconName: q(t.prefix, t.iconName) || t.iconName
|
|
@@ -2043,17 +2051,17 @@ var fa = new Qi(), to = function() {
|
|
|
2043
2051
|
iconName: q(a, n) || n
|
|
2044
2052
|
};
|
|
2045
2053
|
}
|
|
2046
|
-
if (typeof t == "string" && (t.indexOf("".concat(h.cssPrefix, "-")) > -1 || t.match(
|
|
2054
|
+
if (typeof t == "string" && (t.indexOf("".concat(h.cssPrefix, "-")) > -1 || t.match(Ai))) {
|
|
2047
2055
|
var r = De(t.split(" "), {
|
|
2048
2056
|
skipLookups: !0
|
|
2049
2057
|
});
|
|
2050
2058
|
return {
|
|
2051
|
-
prefix: r.prefix ||
|
|
2059
|
+
prefix: r.prefix || K(),
|
|
2052
2060
|
iconName: q(r.prefix, r.iconName) || r.iconName
|
|
2053
2061
|
};
|
|
2054
2062
|
}
|
|
2055
2063
|
if (typeof t == "string") {
|
|
2056
|
-
var i =
|
|
2064
|
+
var i = K();
|
|
2057
2065
|
return {
|
|
2058
2066
|
prefix: i,
|
|
2059
2067
|
iconName: q(i, t) || t
|
|
@@ -2061,16 +2069,16 @@ var fa = new Qi(), to = function() {
|
|
|
2061
2069
|
}
|
|
2062
2070
|
}
|
|
2063
2071
|
}, j = {
|
|
2064
|
-
noAuto:
|
|
2072
|
+
noAuto: no,
|
|
2065
2073
|
config: h,
|
|
2066
|
-
dom:
|
|
2067
|
-
parse:
|
|
2068
|
-
library:
|
|
2074
|
+
dom: ao,
|
|
2075
|
+
parse: ro,
|
|
2076
|
+
library: ua,
|
|
2069
2077
|
findIconDefinition: ot,
|
|
2070
2078
|
toHtml: we
|
|
2071
|
-
},
|
|
2079
|
+
}, io = function() {
|
|
2072
2080
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? k : n;
|
|
2073
|
-
(Object.keys(
|
|
2081
|
+
(Object.keys(B.styles).length > 0 || h.autoFetchSvg) && G && h.autoReplaceSvg && j.dom.i2svg({
|
|
2074
2082
|
node: a
|
|
2075
2083
|
});
|
|
2076
2084
|
};
|
|
@@ -2092,7 +2100,7 @@ function ze(e, t) {
|
|
|
2092
2100
|
}
|
|
2093
2101
|
}), e;
|
|
2094
2102
|
}
|
|
2095
|
-
function
|
|
2103
|
+
function oo(e) {
|
|
2096
2104
|
var t = e.children, n = e.main, a = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
2097
2105
|
if (xt(o) && n.found && !a.found) {
|
|
2098
2106
|
var s = n.width, l = n.height, u = {
|
|
@@ -2109,7 +2117,7 @@ function io(e) {
|
|
|
2109
2117
|
children: t
|
|
2110
2118
|
}];
|
|
2111
2119
|
}
|
|
2112
|
-
function
|
|
2120
|
+
function so(e) {
|
|
2113
2121
|
var t = e.prefix, n = e.iconName, a = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(h.cssPrefix, "-").concat(n) : i;
|
|
2114
2122
|
return [{
|
|
2115
2123
|
tag: "svg",
|
|
@@ -2125,17 +2133,17 @@ function oo(e) {
|
|
|
2125
2133
|
}]
|
|
2126
2134
|
}];
|
|
2127
2135
|
}
|
|
2128
|
-
function
|
|
2136
|
+
function lo(e) {
|
|
2129
2137
|
var t = ["aria-label", "aria-labelledby", "title", "role"];
|
|
2130
2138
|
return t.some(function(n) {
|
|
2131
2139
|
return n in e;
|
|
2132
2140
|
});
|
|
2133
2141
|
}
|
|
2134
2142
|
function At(e) {
|
|
2135
|
-
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, d = c === void 0 ? !1 : c, p = a.found ? a : n, g = p.width, b = p.height, I = [h.replacementClass, i ? "".concat(h.cssPrefix, "-").concat(i) : ""].filter(function(
|
|
2136
|
-
return u.classes.indexOf(
|
|
2137
|
-
}).filter(function(
|
|
2138
|
-
return
|
|
2143
|
+
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, d = c === void 0 ? !1 : c, p = a.found ? a : n, g = p.width, b = p.height, I = [h.replacementClass, i ? "".concat(h.cssPrefix, "-").concat(i) : ""].filter(function(T) {
|
|
2144
|
+
return u.classes.indexOf(T) === -1;
|
|
2145
|
+
}).filter(function(T) {
|
|
2146
|
+
return T !== "" || !!T;
|
|
2139
2147
|
}).concat(u.classes).join(" "), O = {
|
|
2140
2148
|
children: [],
|
|
2141
2149
|
attributes: f(f({}, u.attributes), {}, {
|
|
@@ -2146,7 +2154,7 @@ function At(e) {
|
|
|
2146
2154
|
viewBox: "0 0 ".concat(g, " ").concat(b)
|
|
2147
2155
|
})
|
|
2148
2156
|
};
|
|
2149
|
-
!
|
|
2157
|
+
!lo(u.attributes) && !u.attributes["aria-hidden"] && (O.attributes["aria-hidden"] = "true"), d && (O.attributes[Z] = "");
|
|
2150
2158
|
var m = f(f({}, O), {}, {
|
|
2151
2159
|
prefix: r,
|
|
2152
2160
|
iconName: i,
|
|
@@ -2156,14 +2164,14 @@ function At(e) {
|
|
|
2156
2164
|
transform: o,
|
|
2157
2165
|
symbol: s,
|
|
2158
2166
|
styles: f({}, u.styles)
|
|
2159
|
-
}), v = a.found && n.found ?
|
|
2167
|
+
}), v = a.found && n.found ? V("generateAbstractMask", m) || {
|
|
2160
2168
|
children: [],
|
|
2161
2169
|
attributes: {}
|
|
2162
|
-
} :
|
|
2170
|
+
} : V("generateAbstractIcon", m) || {
|
|
2163
2171
|
children: [],
|
|
2164
2172
|
attributes: {}
|
|
2165
2173
|
}, A = v.children, M = v.attributes;
|
|
2166
|
-
return m.children = A, m.attributes = M, s ?
|
|
2174
|
+
return m.children = A, m.attributes = M, s ? so(m) : oo(m);
|
|
2167
2175
|
}
|
|
2168
2176
|
function Ht(e) {
|
|
2169
2177
|
var t = e.content, n = e.width, a = e.height, r = e.transform, i = e.extra, o = e.watchable, s = o === void 0 ? !1 : o, l = f(f({}, i.attributes), {}, {
|
|
@@ -2171,7 +2179,7 @@ function Ht(e) {
|
|
|
2171
2179
|
});
|
|
2172
2180
|
s && (l[Z] = "");
|
|
2173
2181
|
var u = f({}, i.styles);
|
|
2174
|
-
xt(r) && (u.transform =
|
|
2182
|
+
xt(r) && (u.transform = Li({
|
|
2175
2183
|
transform: r,
|
|
2176
2184
|
width: n,
|
|
2177
2185
|
height: a
|
|
@@ -2185,7 +2193,7 @@ function Ht(e) {
|
|
|
2185
2193
|
children: [t]
|
|
2186
2194
|
}), d;
|
|
2187
2195
|
}
|
|
2188
|
-
function
|
|
2196
|
+
function fo(e) {
|
|
2189
2197
|
var t = e.content, n = e.extra, a = f(f({}, n.attributes), {}, {
|
|
2190
2198
|
class: n.classes.join(" ")
|
|
2191
2199
|
}), r = Le(n.styles);
|
|
@@ -2197,7 +2205,7 @@ function lo(e) {
|
|
|
2197
2205
|
children: [t]
|
|
2198
2206
|
}), i;
|
|
2199
2207
|
}
|
|
2200
|
-
var
|
|
2208
|
+
var Ke = B.styles;
|
|
2201
2209
|
function st(e) {
|
|
2202
2210
|
var t = e[0], n = e[1], a = e.slice(4), r = $e(a, 1), i = r[0], o = null;
|
|
2203
2211
|
return Array.isArray(i) ? o = {
|
|
@@ -2233,27 +2241,27 @@ function st(e) {
|
|
|
2233
2241
|
icon: o
|
|
2234
2242
|
};
|
|
2235
2243
|
}
|
|
2236
|
-
var
|
|
2244
|
+
var uo = {
|
|
2237
2245
|
found: !1,
|
|
2238
2246
|
width: 512,
|
|
2239
2247
|
height: 512
|
|
2240
2248
|
};
|
|
2241
|
-
function
|
|
2242
|
-
!
|
|
2249
|
+
function co(e, t) {
|
|
2250
|
+
!Gn && !h.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
2243
2251
|
}
|
|
2244
2252
|
function lt(e, t) {
|
|
2245
2253
|
var n = t;
|
|
2246
|
-
return t === "fa" && h.styleDefault !== null && (t =
|
|
2254
|
+
return t === "fa" && h.styleDefault !== null && (t = K()), new Promise(function(a, r) {
|
|
2247
2255
|
if (n === "fa") {
|
|
2248
|
-
var i =
|
|
2256
|
+
var i = la(e) || {};
|
|
2249
2257
|
e = i.iconName || e, t = i.prefix || t;
|
|
2250
2258
|
}
|
|
2251
|
-
if (e && t &&
|
|
2252
|
-
var o =
|
|
2259
|
+
if (e && t && Ke[t] && Ke[t][e]) {
|
|
2260
|
+
var o = Ke[t][e];
|
|
2253
2261
|
return a(st(o));
|
|
2254
2262
|
}
|
|
2255
|
-
|
|
2256
|
-
icon: h.showMissingIcons && e ?
|
|
2263
|
+
co(e, t), a(f(f({}, uo), {}, {
|
|
2264
|
+
icon: h.showMissingIcons && e ? V("missingIconAbstract") || {} : {}
|
|
2257
2265
|
}));
|
|
2258
2266
|
});
|
|
2259
2267
|
}
|
|
@@ -2261,42 +2269,42 @@ var Gt = function() {
|
|
|
2261
2269
|
}, ft = h.measurePerformance && Ae && Ae.mark && Ae.measure ? Ae : {
|
|
2262
2270
|
mark: Gt,
|
|
2263
2271
|
measure: Gt
|
|
2264
|
-
},
|
|
2265
|
-
return ft.mark("".concat(
|
|
2266
|
-
return
|
|
2272
|
+
}, fe = 'FA "7.2.0"', mo = function(t) {
|
|
2273
|
+
return ft.mark("".concat(fe, " ").concat(t, " begins")), function() {
|
|
2274
|
+
return ca(t);
|
|
2267
2275
|
};
|
|
2268
|
-
},
|
|
2269
|
-
ft.mark("".concat(
|
|
2276
|
+
}, ca = function(t) {
|
|
2277
|
+
ft.mark("".concat(fe, " ").concat(t, " ends")), ft.measure("".concat(fe, " ").concat(t), "".concat(fe, " ").concat(t, " begins"), "".concat(fe, " ").concat(t, " ends"));
|
|
2270
2278
|
}, kt = {
|
|
2271
|
-
begin:
|
|
2272
|
-
end:
|
|
2279
|
+
begin: mo,
|
|
2280
|
+
end: ca
|
|
2273
2281
|
}, Pe = function() {
|
|
2274
2282
|
};
|
|
2275
|
-
function
|
|
2283
|
+
function Xt(e) {
|
|
2276
2284
|
var t = e.getAttribute ? e.getAttribute(Z) : null;
|
|
2277
2285
|
return typeof t == "string";
|
|
2278
2286
|
}
|
|
2279
|
-
function
|
|
2287
|
+
function po(e) {
|
|
2280
2288
|
var t = e.getAttribute ? e.getAttribute(gt) : null, n = e.getAttribute ? e.getAttribute(yt) : null;
|
|
2281
2289
|
return t && n;
|
|
2282
2290
|
}
|
|
2283
|
-
function
|
|
2291
|
+
function ho(e) {
|
|
2284
2292
|
return e && e.classList && e.classList.contains && e.classList.contains(h.replacementClass);
|
|
2285
2293
|
}
|
|
2286
|
-
function
|
|
2294
|
+
function vo() {
|
|
2287
2295
|
if (h.autoReplaceSvg === !0)
|
|
2288
2296
|
return Oe.replace;
|
|
2289
2297
|
var e = Oe[h.autoReplaceSvg];
|
|
2290
2298
|
return e || Oe.replace;
|
|
2291
2299
|
}
|
|
2292
|
-
function
|
|
2300
|
+
function go(e) {
|
|
2293
2301
|
return k.createElementNS("http://www.w3.org/2000/svg", e);
|
|
2294
2302
|
}
|
|
2295
|
-
function
|
|
2303
|
+
function yo(e) {
|
|
2296
2304
|
return k.createElement(e);
|
|
2297
2305
|
}
|
|
2298
|
-
function
|
|
2299
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ?
|
|
2306
|
+
function da(e) {
|
|
2307
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ? go : yo : n;
|
|
2300
2308
|
if (typeof e == "string")
|
|
2301
2309
|
return k.createTextNode(e);
|
|
2302
2310
|
var r = a(e.tag);
|
|
@@ -2305,12 +2313,12 @@ function ca(e) {
|
|
|
2305
2313
|
});
|
|
2306
2314
|
var i = e.children || [];
|
|
2307
2315
|
return i.forEach(function(o) {
|
|
2308
|
-
r.appendChild(
|
|
2316
|
+
r.appendChild(da(o, {
|
|
2309
2317
|
ceFn: a
|
|
2310
2318
|
}));
|
|
2311
2319
|
}), r;
|
|
2312
2320
|
}
|
|
2313
|
-
function
|
|
2321
|
+
function bo(e) {
|
|
2314
2322
|
var t = " ".concat(e.outerHTML, " ");
|
|
2315
2323
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
2316
2324
|
}
|
|
@@ -2319,9 +2327,9 @@ var Oe = {
|
|
|
2319
2327
|
var n = t[0];
|
|
2320
2328
|
if (n.parentNode)
|
|
2321
2329
|
if (t[1].forEach(function(r) {
|
|
2322
|
-
n.parentNode.insertBefore(
|
|
2330
|
+
n.parentNode.insertBefore(da(r), n);
|
|
2323
2331
|
}), n.getAttribute(Z) === null && h.keepOriginalSource) {
|
|
2324
|
-
var a = k.createComment(
|
|
2332
|
+
var a = k.createComment(bo(n));
|
|
2325
2333
|
n.parentNode.replaceChild(a, n);
|
|
2326
2334
|
} else
|
|
2327
2335
|
n.remove();
|
|
@@ -2347,41 +2355,41 @@ var Oe = {
|
|
|
2347
2355
|
n.setAttribute(Z, ""), n.innerHTML = o;
|
|
2348
2356
|
}
|
|
2349
2357
|
};
|
|
2350
|
-
function
|
|
2358
|
+
function Kt(e) {
|
|
2351
2359
|
e();
|
|
2352
2360
|
}
|
|
2353
|
-
function
|
|
2361
|
+
function ma(e, t) {
|
|
2354
2362
|
var n = typeof t == "function" ? t : Pe;
|
|
2355
2363
|
if (e.length === 0)
|
|
2356
2364
|
n();
|
|
2357
2365
|
else {
|
|
2358
|
-
var a =
|
|
2359
|
-
h.mutateApproach ===
|
|
2360
|
-
var r =
|
|
2366
|
+
var a = Kt;
|
|
2367
|
+
h.mutateApproach === xi && (a = X.requestAnimationFrame || Kt), a(function() {
|
|
2368
|
+
var r = vo(), i = kt.begin("mutate");
|
|
2361
2369
|
e.map(r), i(), n();
|
|
2362
2370
|
});
|
|
2363
2371
|
}
|
|
2364
2372
|
}
|
|
2365
2373
|
var Mt = !1;
|
|
2366
|
-
function
|
|
2374
|
+
function pa() {
|
|
2367
2375
|
Mt = !0;
|
|
2368
2376
|
}
|
|
2369
2377
|
function ut() {
|
|
2370
2378
|
Mt = !1;
|
|
2371
2379
|
}
|
|
2372
2380
|
var _e = null;
|
|
2373
|
-
function
|
|
2374
|
-
if (
|
|
2381
|
+
function Vt(e) {
|
|
2382
|
+
if (Et && h.observeMutations) {
|
|
2375
2383
|
var t = e.treeCallback, n = t === void 0 ? Pe : t, a = e.nodeCallback, r = a === void 0 ? Pe : a, i = e.pseudoElementsCallback, o = i === void 0 ? Pe : i, s = e.observeMutationsRoot, l = s === void 0 ? k : s;
|
|
2376
|
-
_e = new
|
|
2384
|
+
_e = new Et(function(u) {
|
|
2377
2385
|
if (!Mt) {
|
|
2378
|
-
var c =
|
|
2379
|
-
|
|
2380
|
-
if (d.type === "childList" && d.addedNodes.length > 0 && !
|
|
2381
|
-
if (d.attributeName === "class" &&
|
|
2386
|
+
var c = K();
|
|
2387
|
+
se(u).forEach(function(d) {
|
|
2388
|
+
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (h.searchPseudoElements && o(d.target), n(d.target)), d.type === "attributes" && d.target.parentNode && h.searchPseudoElements && o([d.target], !0), d.type === "attributes" && Xt(d.target) && ~Pi.indexOf(d.attributeName))
|
|
2389
|
+
if (d.attributeName === "class" && po(d.target)) {
|
|
2382
2390
|
var p = De(It(d.target)), g = p.prefix, b = p.iconName;
|
|
2383
2391
|
d.target.setAttribute(gt, g || c), b && d.target.setAttribute(yt, b);
|
|
2384
|
-
} else
|
|
2392
|
+
} else ho(d.target) && r(d.target);
|
|
2385
2393
|
});
|
|
2386
2394
|
}
|
|
2387
2395
|
}), G && _e.observe(l, {
|
|
@@ -2392,31 +2400,31 @@ function Kt(e) {
|
|
|
2392
2400
|
});
|
|
2393
2401
|
}
|
|
2394
2402
|
}
|
|
2395
|
-
function
|
|
2403
|
+
function Io() {
|
|
2396
2404
|
_e && _e.disconnect();
|
|
2397
2405
|
}
|
|
2398
|
-
function
|
|
2406
|
+
function xo(e) {
|
|
2399
2407
|
var t = e.getAttribute("style"), n = [];
|
|
2400
2408
|
return t && (n = t.split(";").reduce(function(a, r) {
|
|
2401
2409
|
var i = r.split(":"), o = i[0], s = i.slice(1);
|
|
2402
2410
|
return o && s.length > 0 && (a[o] = s.join(":").trim()), a;
|
|
2403
2411
|
}, {})), n;
|
|
2404
2412
|
}
|
|
2405
|
-
function
|
|
2413
|
+
function wo(e) {
|
|
2406
2414
|
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = De(It(e));
|
|
2407
|
-
return r.prefix || (r.prefix =
|
|
2415
|
+
return r.prefix || (r.prefix = K()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Hi(r.prefix, e.innerText) || St(r.prefix, ea(e.innerText))), !r.iconName && h.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
2408
2416
|
}
|
|
2409
|
-
function
|
|
2410
|
-
var t =
|
|
2417
|
+
function So(e) {
|
|
2418
|
+
var t = se(e.attributes).reduce(function(n, a) {
|
|
2411
2419
|
return n.name !== "class" && n.name !== "style" && (n[a.name] = a.value), n;
|
|
2412
2420
|
}, {});
|
|
2413
2421
|
return t;
|
|
2414
2422
|
}
|
|
2415
|
-
function
|
|
2423
|
+
function Ao() {
|
|
2416
2424
|
return {
|
|
2417
2425
|
iconName: null,
|
|
2418
2426
|
prefix: null,
|
|
2419
|
-
transform:
|
|
2427
|
+
transform: R,
|
|
2420
2428
|
symbol: !1,
|
|
2421
2429
|
mask: {
|
|
2422
2430
|
iconName: null,
|
|
@@ -2434,11 +2442,11 @@ function So() {
|
|
|
2434
2442
|
function qt(e) {
|
|
2435
2443
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
2436
2444
|
styleParser: !0
|
|
2437
|
-
}, n =
|
|
2445
|
+
}, n = wo(e), a = n.iconName, r = n.prefix, i = n.rest, o = So(e), s = it("parseNodeAttributes", {}, e), l = t.styleParser ? xo(e) : [];
|
|
2438
2446
|
return f({
|
|
2439
2447
|
iconName: a,
|
|
2440
2448
|
prefix: r,
|
|
2441
|
-
transform:
|
|
2449
|
+
transform: R,
|
|
2442
2450
|
mask: {
|
|
2443
2451
|
iconName: null,
|
|
2444
2452
|
prefix: null,
|
|
@@ -2453,15 +2461,15 @@ function qt(e) {
|
|
|
2453
2461
|
}
|
|
2454
2462
|
}, s);
|
|
2455
2463
|
}
|
|
2456
|
-
var
|
|
2457
|
-
function
|
|
2464
|
+
var ko = B.styles;
|
|
2465
|
+
function ha(e) {
|
|
2458
2466
|
var t = h.autoReplaceSvg === "nest" ? qt(e, {
|
|
2459
2467
|
styleParser: !1
|
|
2460
2468
|
}) : qt(e);
|
|
2461
|
-
return ~t.extra.classes.indexOf(
|
|
2469
|
+
return ~t.extra.classes.indexOf(Kn) ? V("generateLayersText", e, t) : V("generateSvgReplacementMutation", e, t);
|
|
2462
2470
|
}
|
|
2463
|
-
function
|
|
2464
|
-
return [].concat(
|
|
2471
|
+
function Mo() {
|
|
2472
|
+
return [].concat(D(zn), D(Rn));
|
|
2465
2473
|
}
|
|
2466
2474
|
function Jt(e) {
|
|
2467
2475
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
@@ -2470,16 +2478,16 @@ function Jt(e) {
|
|
|
2470
2478
|
return n.add("".concat($t, "-").concat(d));
|
|
2471
2479
|
}, r = function(d) {
|
|
2472
2480
|
return n.remove("".concat($t, "-").concat(d));
|
|
2473
|
-
}, i = h.autoFetchSvg ?
|
|
2481
|
+
}, i = h.autoFetchSvg ? Mo() : xn.concat(Object.keys(ko));
|
|
2474
2482
|
i.includes("fa") || i.push("fa");
|
|
2475
|
-
var o = [".".concat(
|
|
2483
|
+
var o = [".".concat(Kn, ":not([").concat(Z, "])")].concat(i.map(function(c) {
|
|
2476
2484
|
return ".".concat(c, ":not([").concat(Z, "])");
|
|
2477
2485
|
})).join(", ");
|
|
2478
2486
|
if (o.length === 0)
|
|
2479
2487
|
return Promise.resolve();
|
|
2480
2488
|
var s = [];
|
|
2481
2489
|
try {
|
|
2482
|
-
s =
|
|
2490
|
+
s = se(e.querySelectorAll(o));
|
|
2483
2491
|
} catch {
|
|
2484
2492
|
}
|
|
2485
2493
|
if (s.length > 0)
|
|
@@ -2488,16 +2496,16 @@ function Jt(e) {
|
|
|
2488
2496
|
return Promise.resolve();
|
|
2489
2497
|
var l = kt.begin("onTree"), u = s.reduce(function(c, d) {
|
|
2490
2498
|
try {
|
|
2491
|
-
var p =
|
|
2499
|
+
var p = ha(d);
|
|
2492
2500
|
p && c.push(p);
|
|
2493
2501
|
} catch (g) {
|
|
2494
|
-
|
|
2502
|
+
Gn || g.name === "MissingIcon" && console.error(g);
|
|
2495
2503
|
}
|
|
2496
2504
|
return c;
|
|
2497
2505
|
}, []);
|
|
2498
2506
|
return new Promise(function(c, d) {
|
|
2499
2507
|
Promise.all(u).then(function(p) {
|
|
2500
|
-
|
|
2508
|
+
ma(p, function() {
|
|
2501
2509
|
a("active"), a("complete"), r("pending"), typeof t == "function" && t(), l(), c();
|
|
2502
2510
|
});
|
|
2503
2511
|
}).catch(function(p) {
|
|
@@ -2505,13 +2513,13 @@ function Jt(e) {
|
|
|
2505
2513
|
});
|
|
2506
2514
|
});
|
|
2507
2515
|
}
|
|
2508
|
-
function
|
|
2516
|
+
function Po(e) {
|
|
2509
2517
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2510
|
-
|
|
2511
|
-
n &&
|
|
2518
|
+
ha(e).then(function(n) {
|
|
2519
|
+
n && ma([n], t);
|
|
2512
2520
|
});
|
|
2513
2521
|
}
|
|
2514
|
-
function
|
|
2522
|
+
function Oo(e) {
|
|
2515
2523
|
return function(t) {
|
|
2516
2524
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = (t || {}).icon ? t : ot(t || {}), r = n.mask;
|
|
2517
2525
|
return r && (r = (r || {}).icon ? r : ot(r || {})), e(a, f(f({}, n), {}, {
|
|
@@ -2519,8 +2527,8 @@ function Po(e) {
|
|
|
2519
2527
|
}));
|
|
2520
2528
|
};
|
|
2521
2529
|
}
|
|
2522
|
-
var
|
|
2523
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ?
|
|
2530
|
+
var To = function(t) {
|
|
2531
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? R : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, c = u === void 0 ? null : u, d = n.classes, p = d === void 0 ? [] : d, g = n.attributes, b = g === void 0 ? {} : g, I = n.styles, O = I === void 0 ? {} : I;
|
|
2524
2532
|
if (t) {
|
|
2525
2533
|
var m = t.prefix, v = t.iconName, A = t.icon;
|
|
2526
2534
|
return ze(f({
|
|
@@ -2541,7 +2549,7 @@ var Oo = function(t) {
|
|
|
2541
2549
|
},
|
|
2542
2550
|
prefix: m,
|
|
2543
2551
|
iconName: v,
|
|
2544
|
-
transform: f(f({},
|
|
2552
|
+
transform: f(f({}, R), r),
|
|
2545
2553
|
symbol: o,
|
|
2546
2554
|
maskId: c,
|
|
2547
2555
|
extra: {
|
|
@@ -2555,13 +2563,13 @@ var Oo = function(t) {
|
|
|
2555
2563
|
}, Fo = {
|
|
2556
2564
|
mixout: function() {
|
|
2557
2565
|
return {
|
|
2558
|
-
icon:
|
|
2566
|
+
icon: Oo(To)
|
|
2559
2567
|
};
|
|
2560
2568
|
},
|
|
2561
2569
|
hooks: function() {
|
|
2562
2570
|
return {
|
|
2563
2571
|
mutationObserverCallbacks: function(n) {
|
|
2564
|
-
return n.treeCallback = Jt, n.nodeCallback =
|
|
2572
|
+
return n.treeCallback = Jt, n.nodeCallback = Po, n;
|
|
2565
2573
|
}
|
|
2566
2574
|
};
|
|
2567
2575
|
},
|
|
@@ -2599,7 +2607,7 @@ var Oo = function(t) {
|
|
|
2599
2607
|
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, l = Le(s);
|
|
2600
2608
|
l.length > 0 && (r.style = l);
|
|
2601
2609
|
var u;
|
|
2602
|
-
return xt(o) && (u =
|
|
2610
|
+
return xt(o) && (u = V("generateAbstractTransformGrouping", {
|
|
2603
2611
|
main: i,
|
|
2604
2612
|
transform: o,
|
|
2605
2613
|
containerWidth: i.width,
|
|
@@ -2610,7 +2618,7 @@ var Oo = function(t) {
|
|
|
2610
2618
|
};
|
|
2611
2619
|
};
|
|
2612
2620
|
}
|
|
2613
|
-
},
|
|
2621
|
+
}, _o = {
|
|
2614
2622
|
mixout: function() {
|
|
2615
2623
|
return {
|
|
2616
2624
|
layer: function(n) {
|
|
@@ -2630,7 +2638,7 @@ var Oo = function(t) {
|
|
|
2630
2638
|
}), [{
|
|
2631
2639
|
tag: "span",
|
|
2632
2640
|
attributes: {
|
|
2633
|
-
class: ["".concat(h.cssPrefix, "-layers")].concat(
|
|
2641
|
+
class: ["".concat(h.cssPrefix, "-layers")].concat(D(i)).join(" ")
|
|
2634
2642
|
},
|
|
2635
2643
|
children: o
|
|
2636
2644
|
}];
|
|
@@ -2638,7 +2646,7 @@ var Oo = function(t) {
|
|
|
2638
2646
|
}
|
|
2639
2647
|
};
|
|
2640
2648
|
}
|
|
2641
|
-
},
|
|
2649
|
+
}, Co = {
|
|
2642
2650
|
mixout: function() {
|
|
2643
2651
|
return {
|
|
2644
2652
|
counter: function(n) {
|
|
@@ -2652,12 +2660,12 @@ var Oo = function(t) {
|
|
|
2652
2660
|
return ee("beforeDOMElementCreation", {
|
|
2653
2661
|
content: n,
|
|
2654
2662
|
params: a
|
|
2655
|
-
}),
|
|
2663
|
+
}), fo({
|
|
2656
2664
|
content: n.toString(),
|
|
2657
2665
|
extra: {
|
|
2658
2666
|
attributes: s,
|
|
2659
2667
|
styles: u,
|
|
2660
|
-
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(
|
|
2668
|
+
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(D(i))
|
|
2661
2669
|
}
|
|
2662
2670
|
});
|
|
2663
2671
|
});
|
|
@@ -2668,7 +2676,7 @@ var Oo = function(t) {
|
|
|
2668
2676
|
mixout: function() {
|
|
2669
2677
|
return {
|
|
2670
2678
|
text: function(n) {
|
|
2671
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ?
|
|
2679
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? R : r, o = a.classes, s = o === void 0 ? [] : o, l = a.attributes, u = l === void 0 ? {} : l, c = a.styles, d = c === void 0 ? {} : c;
|
|
2672
2680
|
return ze({
|
|
2673
2681
|
type: "text",
|
|
2674
2682
|
content: n
|
|
@@ -2678,11 +2686,11 @@ var Oo = function(t) {
|
|
|
2678
2686
|
params: a
|
|
2679
2687
|
}), Ht({
|
|
2680
2688
|
content: n,
|
|
2681
|
-
transform: f(f({},
|
|
2689
|
+
transform: f(f({}, R), i),
|
|
2682
2690
|
extra: {
|
|
2683
2691
|
attributes: u,
|
|
2684
2692
|
styles: d,
|
|
2685
|
-
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(
|
|
2693
|
+
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(D(s))
|
|
2686
2694
|
}
|
|
2687
2695
|
});
|
|
2688
2696
|
});
|
|
@@ -2692,7 +2700,7 @@ var Oo = function(t) {
|
|
|
2692
2700
|
provides: function(t) {
|
|
2693
2701
|
t.generateLayersText = function(n, a) {
|
|
2694
2702
|
var r = a.transform, i = a.extra, o = null, s = null;
|
|
2695
|
-
if (
|
|
2703
|
+
if (bn) {
|
|
2696
2704
|
var l = parseInt(getComputedStyle(n).fontSize, 10), u = n.getBoundingClientRect();
|
|
2697
2705
|
o = u.width / l, s = u.height / l;
|
|
2698
2706
|
}
|
|
@@ -2706,61 +2714,61 @@ var Oo = function(t) {
|
|
|
2706
2714
|
})]);
|
|
2707
2715
|
};
|
|
2708
2716
|
}
|
|
2709
|
-
},
|
|
2717
|
+
}, va = new RegExp('"', "ug"), Qt = [1105920, 1112319], Zt = f(f(f(f({}, {
|
|
2710
2718
|
FontAwesome: {
|
|
2711
2719
|
normal: "fas",
|
|
2712
2720
|
400: "fas"
|
|
2713
2721
|
}
|
|
2714
|
-
}),
|
|
2722
|
+
}), dr), bi), xr), ct = Object.keys(Zt).reduce(function(e, t) {
|
|
2715
2723
|
return e[t.toLowerCase()] = Zt[t], e;
|
|
2716
|
-
}, {}),
|
|
2724
|
+
}, {}), No = Object.keys(ct).reduce(function(e, t) {
|
|
2717
2725
|
var n = ct[t];
|
|
2718
|
-
return e[t] = n[900] ||
|
|
2726
|
+
return e[t] = n[900] || D(Object.entries(n))[0][1], e;
|
|
2719
2727
|
}, {});
|
|
2720
|
-
function No(e) {
|
|
2721
|
-
var t = e.replace(ha, "");
|
|
2722
|
-
return Zn(z(t)[0] || "");
|
|
2723
|
-
}
|
|
2724
2728
|
function jo(e) {
|
|
2725
|
-
var t = e.
|
|
2729
|
+
var t = e.replace(va, "");
|
|
2730
|
+
return ea(D(t)[0] || "");
|
|
2731
|
+
}
|
|
2732
|
+
function $o(e) {
|
|
2733
|
+
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), n = e.getPropertyValue("content"), a = n.replace(va, ""), r = a.codePointAt(0), i = r >= Qt[0] && r <= Qt[1], o = a.length === 2 ? a[0] === a[1] : !1;
|
|
2726
2734
|
return i || o || t;
|
|
2727
2735
|
}
|
|
2728
|
-
function
|
|
2736
|
+
function Lo(e, t) {
|
|
2729
2737
|
var n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), a = parseInt(t), r = isNaN(a) ? "normal" : a;
|
|
2730
|
-
return (ct[n] || {})[r] ||
|
|
2738
|
+
return (ct[n] || {})[r] || No[n];
|
|
2731
2739
|
}
|
|
2732
2740
|
function en(e, t) {
|
|
2733
|
-
var n = "".concat(
|
|
2741
|
+
var n = "".concat(Ii).concat(t.replace(":", "-"));
|
|
2734
2742
|
return new Promise(function(a, r) {
|
|
2735
2743
|
if (e.getAttribute(n) !== null)
|
|
2736
2744
|
return a();
|
|
2737
|
-
var i =
|
|
2738
|
-
return
|
|
2739
|
-
})[0], s =
|
|
2745
|
+
var i = se(e.children), o = i.filter(function(z) {
|
|
2746
|
+
return z.getAttribute(et) === t;
|
|
2747
|
+
})[0], s = X.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(ki), c = s.getPropertyValue("font-weight"), d = s.getPropertyValue("content");
|
|
2740
2748
|
if (o && !u)
|
|
2741
2749
|
return e.removeChild(o), a();
|
|
2742
2750
|
if (u && d !== "none" && d !== "") {
|
|
2743
|
-
var p = s.getPropertyValue("content"), g =
|
|
2751
|
+
var p = s.getPropertyValue("content"), g = Lo(l, c), b = jo(p), I = u[0].startsWith("FontAwesome"), O = $o(s), m = St(g, b), v = m;
|
|
2744
2752
|
if (I) {
|
|
2745
|
-
var A =
|
|
2753
|
+
var A = Gi(b);
|
|
2746
2754
|
A.iconName && A.prefix && (m = A.iconName, g = A.prefix);
|
|
2747
2755
|
}
|
|
2748
2756
|
if (m && !O && (!o || o.getAttribute(gt) !== g || o.getAttribute(yt) !== v)) {
|
|
2749
2757
|
e.setAttribute(n, v), o && e.removeChild(o);
|
|
2750
|
-
var M =
|
|
2751
|
-
|
|
2752
|
-
var
|
|
2758
|
+
var M = Ao(), T = M.extra;
|
|
2759
|
+
T.attributes[et] = t, lt(m, g).then(function(z) {
|
|
2760
|
+
var le = At(f(f({}, M), {}, {
|
|
2753
2761
|
icons: {
|
|
2754
|
-
main:
|
|
2755
|
-
mask:
|
|
2762
|
+
main: z,
|
|
2763
|
+
mask: fa()
|
|
2756
2764
|
},
|
|
2757
2765
|
prefix: g,
|
|
2758
2766
|
iconName: v,
|
|
2759
|
-
extra:
|
|
2767
|
+
extra: T,
|
|
2760
2768
|
watchable: !0
|
|
2761
2769
|
})), We = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2762
|
-
t === "::before" ? e.insertBefore(We, e.firstChild) : e.appendChild(We), We.outerHTML =
|
|
2763
|
-
return we(
|
|
2770
|
+
t === "::before" ? e.insertBefore(We, e.firstChild) : e.appendChild(We), We.outerHTML = le.map(function(wa) {
|
|
2771
|
+
return we(wa);
|
|
2764
2772
|
}).join(`
|
|
2765
2773
|
`), e.removeAttribute(n), a();
|
|
2766
2774
|
}).catch(r);
|
|
@@ -2770,17 +2778,17 @@ function en(e, t) {
|
|
|
2770
2778
|
a();
|
|
2771
2779
|
});
|
|
2772
2780
|
}
|
|
2773
|
-
function
|
|
2781
|
+
function Bo(e) {
|
|
2774
2782
|
return Promise.all([en(e, "::before"), en(e, "::after")]);
|
|
2775
2783
|
}
|
|
2776
|
-
function
|
|
2777
|
-
return e.parentNode !== document.head && !~
|
|
2784
|
+
function Do(e) {
|
|
2785
|
+
return e.parentNode !== document.head && !~wi.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(et) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2778
2786
|
}
|
|
2779
|
-
var
|
|
2780
|
-
return !!t &&
|
|
2787
|
+
var zo = function(t) {
|
|
2788
|
+
return !!t && Hn.some(function(n) {
|
|
2781
2789
|
return t.includes(n);
|
|
2782
2790
|
});
|
|
2783
|
-
},
|
|
2791
|
+
}, Ro = function(t) {
|
|
2784
2792
|
if (!t) return [];
|
|
2785
2793
|
var n = /* @__PURE__ */ new Set(), a = t.split(/,(?![^()]*\))/).map(function(l) {
|
|
2786
2794
|
return l.trim();
|
|
@@ -2794,8 +2802,8 @@ var Do = function(t) {
|
|
|
2794
2802
|
try {
|
|
2795
2803
|
for (r.s(); !(i = r.n()).done; ) {
|
|
2796
2804
|
var o = i.value;
|
|
2797
|
-
if (
|
|
2798
|
-
var s =
|
|
2805
|
+
if (zo(o)) {
|
|
2806
|
+
var s = Hn.reduce(function(l, u) {
|
|
2799
2807
|
return l.replace(u, "");
|
|
2800
2808
|
}, o);
|
|
2801
2809
|
s !== "" && s !== "*" && n.add(s);
|
|
@@ -2825,7 +2833,7 @@ function tn(e) {
|
|
|
2825
2833
|
var s = Me(o.cssRules), l;
|
|
2826
2834
|
try {
|
|
2827
2835
|
for (s.s(); !(l = s.n()).done; ) {
|
|
2828
|
-
var u = l.value, c =
|
|
2836
|
+
var u = l.value, c = Ro(u.selectorText), d = Me(c), p;
|
|
2829
2837
|
try {
|
|
2830
2838
|
for (d.s(); !(p = d.n()).done; ) {
|
|
2831
2839
|
var g = p.value;
|
|
@@ -2860,8 +2868,8 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2860
2868
|
}
|
|
2861
2869
|
}
|
|
2862
2870
|
return new Promise(function(I, O) {
|
|
2863
|
-
var m =
|
|
2864
|
-
|
|
2871
|
+
var m = se(n).filter(Do).map(Bo), v = kt.begin("searchPseudoElements");
|
|
2872
|
+
pa(), Promise.all(m).then(function() {
|
|
2865
2873
|
v(), ut(), I();
|
|
2866
2874
|
}).catch(function() {
|
|
2867
2875
|
v(), ut(), O();
|
|
@@ -2869,7 +2877,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2869
2877
|
});
|
|
2870
2878
|
}
|
|
2871
2879
|
}
|
|
2872
|
-
var
|
|
2880
|
+
var Wo = {
|
|
2873
2881
|
hooks: function() {
|
|
2874
2882
|
return {
|
|
2875
2883
|
mutationObserverCallbacks: function(n) {
|
|
@@ -2883,12 +2891,12 @@ var Ro = {
|
|
|
2883
2891
|
h.searchPseudoElements && tn(r);
|
|
2884
2892
|
};
|
|
2885
2893
|
}
|
|
2886
|
-
}, nn = !1,
|
|
2894
|
+
}, nn = !1, Uo = {
|
|
2887
2895
|
mixout: function() {
|
|
2888
2896
|
return {
|
|
2889
2897
|
dom: {
|
|
2890
2898
|
unwatch: function() {
|
|
2891
|
-
|
|
2899
|
+
pa(), nn = !0;
|
|
2892
2900
|
}
|
|
2893
2901
|
}
|
|
2894
2902
|
};
|
|
@@ -2896,14 +2904,14 @@ var Ro = {
|
|
|
2896
2904
|
hooks: function() {
|
|
2897
2905
|
return {
|
|
2898
2906
|
bootstrap: function() {
|
|
2899
|
-
|
|
2907
|
+
Vt(it("mutationObserverCallbacks", {}));
|
|
2900
2908
|
},
|
|
2901
2909
|
noAuto: function() {
|
|
2902
|
-
|
|
2910
|
+
Io();
|
|
2903
2911
|
},
|
|
2904
2912
|
watch: function(n) {
|
|
2905
2913
|
var a = n.observeMutationsRoot;
|
|
2906
|
-
nn ? ut() :
|
|
2914
|
+
nn ? ut() : Vt(it("mutationObserverCallbacks", {
|
|
2907
2915
|
observeMutationsRoot: a
|
|
2908
2916
|
}));
|
|
2909
2917
|
}
|
|
@@ -2951,7 +2959,7 @@ var Ro = {
|
|
|
2951
2959
|
}
|
|
2952
2960
|
return a;
|
|
2953
2961
|
}, n);
|
|
2954
|
-
},
|
|
2962
|
+
}, Yo = {
|
|
2955
2963
|
mixout: function() {
|
|
2956
2964
|
return {
|
|
2957
2965
|
parse: {
|
|
@@ -2997,7 +3005,7 @@ var Ro = {
|
|
|
2997
3005
|
};
|
|
2998
3006
|
};
|
|
2999
3007
|
}
|
|
3000
|
-
},
|
|
3008
|
+
}, Ve = {
|
|
3001
3009
|
x: 0,
|
|
3002
3010
|
y: 0,
|
|
3003
3011
|
width: "100%",
|
|
@@ -3007,29 +3015,29 @@ function rn(e) {
|
|
|
3007
3015
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
3008
3016
|
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
3009
3017
|
}
|
|
3010
|
-
function
|
|
3018
|
+
function Ho(e) {
|
|
3011
3019
|
return e.tag === "g" ? e.children : [e];
|
|
3012
3020
|
}
|
|
3013
|
-
var
|
|
3021
|
+
var Go = {
|
|
3014
3022
|
hooks: function() {
|
|
3015
3023
|
return {
|
|
3016
3024
|
parseNodeAttributes: function(n, a) {
|
|
3017
3025
|
var r = a.getAttribute("data-fa-mask"), i = r ? De(r.split(" ").map(function(o) {
|
|
3018
3026
|
return o.trim();
|
|
3019
|
-
})) :
|
|
3020
|
-
return i.prefix || (i.prefix =
|
|
3027
|
+
})) : fa();
|
|
3028
|
+
return i.prefix || (i.prefix = K()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
|
|
3021
3029
|
}
|
|
3022
3030
|
};
|
|
3023
3031
|
},
|
|
3024
3032
|
provides: function(t) {
|
|
3025
3033
|
t.generateAbstractMask = function(n) {
|
|
3026
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, l = n.transform, u = i.width, c = i.icon, d = o.width, p = o.icon, g =
|
|
3034
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, l = n.transform, u = i.width, c = i.icon, d = o.width, p = o.icon, g = $i({
|
|
3027
3035
|
transform: l,
|
|
3028
3036
|
containerWidth: d,
|
|
3029
3037
|
iconWidth: u
|
|
3030
3038
|
}), b = {
|
|
3031
3039
|
tag: "rect",
|
|
3032
|
-
attributes: f(f({},
|
|
3040
|
+
attributes: f(f({}, Ve), {}, {
|
|
3033
3041
|
fill: "white"
|
|
3034
3042
|
})
|
|
3035
3043
|
}, I = c.children ? {
|
|
@@ -3047,39 +3055,39 @@ var Ho = {
|
|
|
3047
3055
|
children: [O]
|
|
3048
3056
|
}, v = "mask-".concat(s || Bt()), A = "clip-".concat(s || Bt()), M = {
|
|
3049
3057
|
tag: "mask",
|
|
3050
|
-
attributes: f(f({},
|
|
3058
|
+
attributes: f(f({}, Ve), {}, {
|
|
3051
3059
|
id: v,
|
|
3052
3060
|
maskUnits: "userSpaceOnUse",
|
|
3053
3061
|
maskContentUnits: "userSpaceOnUse"
|
|
3054
3062
|
}),
|
|
3055
3063
|
children: [b, m]
|
|
3056
|
-
},
|
|
3064
|
+
}, T = {
|
|
3057
3065
|
tag: "defs",
|
|
3058
3066
|
children: [{
|
|
3059
3067
|
tag: "clipPath",
|
|
3060
3068
|
attributes: {
|
|
3061
3069
|
id: A
|
|
3062
3070
|
},
|
|
3063
|
-
children:
|
|
3071
|
+
children: Ho(p)
|
|
3064
3072
|
}, M]
|
|
3065
3073
|
};
|
|
3066
|
-
return a.push(
|
|
3074
|
+
return a.push(T, {
|
|
3067
3075
|
tag: "rect",
|
|
3068
3076
|
attributes: f({
|
|
3069
3077
|
fill: "currentColor",
|
|
3070
3078
|
"clip-path": "url(#".concat(A, ")"),
|
|
3071
3079
|
mask: "url(#".concat(v, ")")
|
|
3072
|
-
},
|
|
3080
|
+
}, Ve)
|
|
3073
3081
|
}), {
|
|
3074
3082
|
children: a,
|
|
3075
3083
|
attributes: r
|
|
3076
3084
|
};
|
|
3077
3085
|
};
|
|
3078
3086
|
}
|
|
3079
|
-
},
|
|
3087
|
+
}, Xo = {
|
|
3080
3088
|
provides: function(t) {
|
|
3081
3089
|
var n = !1;
|
|
3082
|
-
|
|
3090
|
+
X.matchMedia && (n = X.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
3083
3091
|
var a = [], r = {
|
|
3084
3092
|
fill: "currentColor"
|
|
3085
3093
|
}, i = {
|
|
@@ -3148,7 +3156,7 @@ var Ho = {
|
|
|
3148
3156
|
};
|
|
3149
3157
|
};
|
|
3150
3158
|
}
|
|
3151
|
-
},
|
|
3159
|
+
}, Ko = {
|
|
3152
3160
|
hooks: function() {
|
|
3153
3161
|
return {
|
|
3154
3162
|
parseNodeAttributes: function(n, a) {
|
|
@@ -3157,41 +3165,41 @@ var Ho = {
|
|
|
3157
3165
|
}
|
|
3158
3166
|
};
|
|
3159
3167
|
}
|
|
3160
|
-
},
|
|
3161
|
-
|
|
3168
|
+
}, Vo = [Di, Fo, _o, Co, Eo, Wo, Uo, Yo, Go, Xo, Ko];
|
|
3169
|
+
to(Vo, {
|
|
3162
3170
|
mixoutsTo: j
|
|
3163
3171
|
});
|
|
3164
3172
|
j.noAuto;
|
|
3165
|
-
var
|
|
3173
|
+
var ga = j.config;
|
|
3166
3174
|
j.library;
|
|
3167
3175
|
j.dom;
|
|
3168
|
-
var
|
|
3176
|
+
var Ce = j.parse;
|
|
3169
3177
|
j.findIconDefinition;
|
|
3170
3178
|
j.toHtml;
|
|
3171
|
-
var
|
|
3179
|
+
var qo = j.icon;
|
|
3172
3180
|
j.layer;
|
|
3173
|
-
var
|
|
3181
|
+
var Jo = j.text;
|
|
3174
3182
|
j.counter;
|
|
3175
3183
|
function dt(e, t) {
|
|
3176
3184
|
(t == null || t > e.length) && (t = e.length);
|
|
3177
3185
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
3178
3186
|
return a;
|
|
3179
3187
|
}
|
|
3180
|
-
function
|
|
3188
|
+
function Qo(e) {
|
|
3181
3189
|
if (Array.isArray(e)) return dt(e);
|
|
3182
3190
|
}
|
|
3183
3191
|
function _(e, t, n) {
|
|
3184
|
-
return (t =
|
|
3192
|
+
return (t = as(t)) in e ? Object.defineProperty(e, t, {
|
|
3185
3193
|
value: n,
|
|
3186
3194
|
enumerable: !0,
|
|
3187
3195
|
configurable: !0,
|
|
3188
3196
|
writable: !0
|
|
3189
3197
|
}) : e[t] = n, e;
|
|
3190
3198
|
}
|
|
3191
|
-
function
|
|
3199
|
+
function Zo(e) {
|
|
3192
3200
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3193
3201
|
}
|
|
3194
|
-
function
|
|
3202
|
+
function es() {
|
|
3195
3203
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3196
3204
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3197
3205
|
}
|
|
@@ -3218,14 +3226,14 @@ function S(e) {
|
|
|
3218
3226
|
}
|
|
3219
3227
|
function qe(e, t) {
|
|
3220
3228
|
if (e == null) return {};
|
|
3221
|
-
var n, a, r =
|
|
3229
|
+
var n, a, r = ts(e, t);
|
|
3222
3230
|
if (Object.getOwnPropertySymbols) {
|
|
3223
3231
|
var i = Object.getOwnPropertySymbols(e);
|
|
3224
3232
|
for (a = 0; a < i.length; a++) n = i[a], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
|
|
3225
3233
|
}
|
|
3226
3234
|
return r;
|
|
3227
3235
|
}
|
|
3228
|
-
function
|
|
3236
|
+
function ts(e, t) {
|
|
3229
3237
|
if (e == null) return {};
|
|
3230
3238
|
var n = {};
|
|
3231
3239
|
for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
|
|
@@ -3234,10 +3242,10 @@ function es(e, t) {
|
|
|
3234
3242
|
}
|
|
3235
3243
|
return n;
|
|
3236
3244
|
}
|
|
3237
|
-
function
|
|
3238
|
-
return
|
|
3245
|
+
function Ee(e) {
|
|
3246
|
+
return Qo(e) || Zo(e) || rs(e) || es();
|
|
3239
3247
|
}
|
|
3240
|
-
function
|
|
3248
|
+
function ns(e, t) {
|
|
3241
3249
|
if (typeof e != "object" || !e) return e;
|
|
3242
3250
|
var n = e[Symbol.toPrimitive];
|
|
3243
3251
|
if (n !== void 0) {
|
|
@@ -3247,8 +3255,8 @@ function ts(e, t) {
|
|
|
3247
3255
|
}
|
|
3248
3256
|
return (t === "string" ? String : Number)(e);
|
|
3249
3257
|
}
|
|
3250
|
-
function
|
|
3251
|
-
var t =
|
|
3258
|
+
function as(e) {
|
|
3259
|
+
var t = ns(e, "string");
|
|
3252
3260
|
return typeof t == "symbol" ? t : t + "";
|
|
3253
3261
|
}
|
|
3254
3262
|
function Ne(e) {
|
|
@@ -3259,7 +3267,7 @@ function Ne(e) {
|
|
|
3259
3267
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3260
3268
|
}, Ne(e);
|
|
3261
3269
|
}
|
|
3262
|
-
function
|
|
3270
|
+
function rs(e, t) {
|
|
3263
3271
|
if (e) {
|
|
3264
3272
|
if (typeof e == "string") return dt(e, t);
|
|
3265
3273
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -3269,7 +3277,7 @@ function as(e, t) {
|
|
|
3269
3277
|
function pe(e, t) {
|
|
3270
3278
|
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? _({}, e, t) : {};
|
|
3271
3279
|
}
|
|
3272
|
-
function
|
|
3280
|
+
function is(e) {
|
|
3273
3281
|
var t, n = (t = {
|
|
3274
3282
|
"fa-spin": e.spin,
|
|
3275
3283
|
"fa-pulse": e.pulse,
|
|
@@ -3288,20 +3296,20 @@ function rs(e) {
|
|
|
3288
3296
|
return a;
|
|
3289
3297
|
});
|
|
3290
3298
|
}
|
|
3291
|
-
var
|
|
3299
|
+
var os = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ya = { exports: {} };
|
|
3292
3300
|
(function(e) {
|
|
3293
3301
|
(function(t) {
|
|
3294
3302
|
var n = function(m, v, A) {
|
|
3295
3303
|
if (!u(v) || d(v) || p(v) || g(v) || l(v))
|
|
3296
3304
|
return v;
|
|
3297
|
-
var M,
|
|
3305
|
+
var M, T = 0, z = 0;
|
|
3298
3306
|
if (c(v))
|
|
3299
|
-
for (M = [],
|
|
3300
|
-
M.push(n(m, v[
|
|
3307
|
+
for (M = [], z = v.length; T < z; T++)
|
|
3308
|
+
M.push(n(m, v[T], A));
|
|
3301
3309
|
else {
|
|
3302
3310
|
M = {};
|
|
3303
|
-
for (var
|
|
3304
|
-
Object.prototype.hasOwnProperty.call(v,
|
|
3311
|
+
for (var le in v)
|
|
3312
|
+
Object.prototype.hasOwnProperty.call(v, le) && (M[m(le, A)] = n(m, v[le], A));
|
|
3305
3313
|
}
|
|
3306
3314
|
return M;
|
|
3307
3315
|
}, a = function(m, v) {
|
|
@@ -3333,8 +3341,8 @@ var is = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3333
3341
|
return m = m - 0, m === m;
|
|
3334
3342
|
}, I = function(m, v) {
|
|
3335
3343
|
var A = v && "process" in v ? v.process : v;
|
|
3336
|
-
return typeof A != "function" ? m : function(M,
|
|
3337
|
-
return A(M, m,
|
|
3344
|
+
return typeof A != "function" ? m : function(M, T) {
|
|
3345
|
+
return A(M, m, T);
|
|
3338
3346
|
};
|
|
3339
3347
|
}, O = {
|
|
3340
3348
|
camelize: r,
|
|
@@ -3355,26 +3363,26 @@ var is = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3355
3363
|
}
|
|
3356
3364
|
};
|
|
3357
3365
|
e.exports ? e.exports = O : t.humps = O;
|
|
3358
|
-
})(
|
|
3359
|
-
})(
|
|
3360
|
-
var
|
|
3361
|
-
function
|
|
3366
|
+
})(os);
|
|
3367
|
+
})(ya);
|
|
3368
|
+
var ss = ya.exports, ls = ["gradientFill"], fs = ["class", "style"], us = ["type", "stops", "id"];
|
|
3369
|
+
function cs(e) {
|
|
3362
3370
|
return e.split(";").map(function(t) {
|
|
3363
3371
|
return t.trim();
|
|
3364
3372
|
}).filter(function(t) {
|
|
3365
3373
|
return t;
|
|
3366
3374
|
}).reduce(function(t, n) {
|
|
3367
|
-
var a = n.indexOf(":"), r =
|
|
3375
|
+
var a = n.indexOf(":"), r = ss.camelize(n.slice(0, a)), i = n.slice(a + 1).trim();
|
|
3368
3376
|
return t[r] = i, t;
|
|
3369
3377
|
}, {});
|
|
3370
3378
|
}
|
|
3371
|
-
function
|
|
3379
|
+
function ds(e) {
|
|
3372
3380
|
return e.split(/\s+/).reduce(function(t, n) {
|
|
3373
3381
|
return t[n] = !0, t;
|
|
3374
3382
|
}, {});
|
|
3375
3383
|
}
|
|
3376
|
-
function
|
|
3377
|
-
return
|
|
3384
|
+
function ms(e, t) {
|
|
3385
|
+
return ue("stop", S({
|
|
3378
3386
|
key: "".concat(t, "-").concat(e.offset),
|
|
3379
3387
|
offset: e.offset,
|
|
3380
3388
|
"stop-color": e.color
|
|
@@ -3382,9 +3390,9 @@ function ds(e, t) {
|
|
|
3382
3390
|
"stop-opacity": e.opacity
|
|
3383
3391
|
}));
|
|
3384
3392
|
}
|
|
3385
|
-
function
|
|
3393
|
+
function ba(e) {
|
|
3386
3394
|
if (typeof e == "string") return e;
|
|
3387
|
-
var t = (e.children || []).map(
|
|
3395
|
+
var t = (e.children || []).map(ba);
|
|
3388
3396
|
return e.tag === "path" && e.attributes && "fill" in e.attributes ? S(S({}, e), {}, {
|
|
3389
3397
|
attributes: S(S({}, e.attributes), {}, {
|
|
3390
3398
|
fill: void 0
|
|
@@ -3398,19 +3406,19 @@ function Pt(e) {
|
|
|
3398
3406
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3399
3407
|
if (typeof e == "string")
|
|
3400
3408
|
return e;
|
|
3401
|
-
var a = t.gradientFill, r = a === void 0 ? null : a, i = qe(t,
|
|
3409
|
+
var a = t.gradientFill, r = a === void 0 ? null : a, i = qe(t, ls), o = !!r || "fill" in n, s = o ? ba(e) : e, l = (s.children || []).map(function(M) {
|
|
3402
3410
|
return Pt(M, {}, {});
|
|
3403
|
-
}), u = Object.keys(s.attributes || {}).reduce(function(M,
|
|
3404
|
-
var
|
|
3405
|
-
switch (
|
|
3411
|
+
}), u = Object.keys(s.attributes || {}).reduce(function(M, T) {
|
|
3412
|
+
var z = s.attributes[T];
|
|
3413
|
+
switch (T) {
|
|
3406
3414
|
case "class":
|
|
3407
|
-
M.class =
|
|
3415
|
+
M.class = ds(z);
|
|
3408
3416
|
break;
|
|
3409
3417
|
case "style":
|
|
3410
|
-
M.style =
|
|
3418
|
+
M.style = cs(z);
|
|
3411
3419
|
break;
|
|
3412
3420
|
default:
|
|
3413
|
-
M.attrs[
|
|
3421
|
+
M.attrs[T] = z;
|
|
3414
3422
|
}
|
|
3415
3423
|
return M;
|
|
3416
3424
|
}, {
|
|
@@ -3419,30 +3427,30 @@ function Pt(e) {
|
|
|
3419
3427
|
style: {}
|
|
3420
3428
|
});
|
|
3421
3429
|
n.class;
|
|
3422
|
-
var c = n.style, d = c === void 0 ? {} : c, p = qe(n,
|
|
3430
|
+
var c = n.style, d = c === void 0 ? {} : c, p = qe(n, fs);
|
|
3423
3431
|
if (r && r.id && (r.type === "linear" || r.type === "radial")) {
|
|
3424
|
-
var g = r.type, b = r.stops, I = b === void 0 ? [] : b, O = r.id, m = qe(r,
|
|
3432
|
+
var g = r.type, b = r.stops, I = b === void 0 ? [] : b, O = r.id, m = qe(r, us), v = g === "linear" ? "linearGradient" : "radialGradient", A = ue(v, S(S({}, m), {}, {
|
|
3425
3433
|
id: O
|
|
3426
|
-
}), I.map(
|
|
3427
|
-
return
|
|
3434
|
+
}), I.map(ms));
|
|
3435
|
+
return ue(s.tag, S(S(S(S({}, i), {}, {
|
|
3428
3436
|
class: u.class,
|
|
3429
3437
|
style: S(S({}, u.style), d)
|
|
3430
3438
|
}, u.attrs), p), {}, {
|
|
3431
3439
|
fill: "url(#".concat(O, ")")
|
|
3432
|
-
}), [A].concat(
|
|
3440
|
+
}), [A].concat(Ee(l)));
|
|
3433
3441
|
}
|
|
3434
|
-
return
|
|
3442
|
+
return ue(e.tag, S(S(S({}, i), {}, {
|
|
3435
3443
|
class: u.class,
|
|
3436
3444
|
style: S(S({}, u.style), d)
|
|
3437
3445
|
}, u.attrs), p), l);
|
|
3438
3446
|
}
|
|
3439
|
-
var
|
|
3447
|
+
var Ia = !1;
|
|
3440
3448
|
try {
|
|
3441
|
-
|
|
3449
|
+
Ia = process.env.NODE_ENV === "production";
|
|
3442
3450
|
} catch {
|
|
3443
3451
|
}
|
|
3444
3452
|
function sn() {
|
|
3445
|
-
if (!
|
|
3453
|
+
if (!Ia && console && typeof console.error == "function") {
|
|
3446
3454
|
var e;
|
|
3447
3455
|
(e = console).error.apply(e, arguments);
|
|
3448
3456
|
}
|
|
@@ -3450,8 +3458,8 @@ function sn() {
|
|
|
3450
3458
|
function ln(e) {
|
|
3451
3459
|
if (e && Ne(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
3452
3460
|
return e;
|
|
3453
|
-
if (
|
|
3454
|
-
return
|
|
3461
|
+
if (Ce.icon)
|
|
3462
|
+
return Ce.icon(e);
|
|
3455
3463
|
if (e === null)
|
|
3456
3464
|
return null;
|
|
3457
3465
|
if (Ne(e) === "object" && e.prefix && e.iconName)
|
|
@@ -3609,9 +3617,9 @@ var Re = je({
|
|
|
3609
3617
|
var a = n.attrs, r = $(function() {
|
|
3610
3618
|
return ln(t.icon);
|
|
3611
3619
|
}), i = $(function() {
|
|
3612
|
-
return pe("classes",
|
|
3620
|
+
return pe("classes", is(t));
|
|
3613
3621
|
}), o = $(function() {
|
|
3614
|
-
return pe("transform", typeof t.transform == "string" ?
|
|
3622
|
+
return pe("transform", typeof t.transform == "string" ? Ce.transform(t.transform) : t.transform);
|
|
3615
3623
|
}), s = $(function() {
|
|
3616
3624
|
return pe("mask", ln(t.mask));
|
|
3617
3625
|
}), l = $(function() {
|
|
@@ -3619,9 +3627,9 @@ var Re = je({
|
|
|
3619
3627
|
symbol: t.symbol,
|
|
3620
3628
|
maskId: t.maskId
|
|
3621
3629
|
});
|
|
3622
|
-
return c.title = t.title, c.titleId = t.titleId,
|
|
3630
|
+
return c.title = t.title, c.titleId = t.titleId, qo(r.value, c);
|
|
3623
3631
|
});
|
|
3624
|
-
|
|
3632
|
+
ka(l, function(c) {
|
|
3625
3633
|
if (!c)
|
|
3626
3634
|
return sn("Could not find one or more icon(s)", r.value, s.value);
|
|
3627
3635
|
}, {
|
|
@@ -3646,11 +3654,11 @@ je({
|
|
|
3646
3654
|
}
|
|
3647
3655
|
},
|
|
3648
3656
|
setup: function(t, n) {
|
|
3649
|
-
var a = n.slots, r =
|
|
3650
|
-
return ["".concat(r, "-layers")].concat(
|
|
3657
|
+
var a = n.slots, r = ga.familyPrefix, i = $(function() {
|
|
3658
|
+
return ["".concat(r, "-layers")].concat(Ee(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
3651
3659
|
});
|
|
3652
3660
|
return function() {
|
|
3653
|
-
return
|
|
3661
|
+
return ue("div", {
|
|
3654
3662
|
class: i.value
|
|
3655
3663
|
}, a.default ? a.default() : []);
|
|
3656
3664
|
};
|
|
@@ -3680,12 +3688,12 @@ je({
|
|
|
3680
3688
|
}
|
|
3681
3689
|
},
|
|
3682
3690
|
setup: function(t, n) {
|
|
3683
|
-
var a = n.attrs, r =
|
|
3684
|
-
return pe("classes", [].concat(
|
|
3691
|
+
var a = n.attrs, r = ga.familyPrefix, i = $(function() {
|
|
3692
|
+
return pe("classes", [].concat(Ee(t.counter ? ["".concat(r, "-layers-counter")] : []), Ee(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
3685
3693
|
}), o = $(function() {
|
|
3686
|
-
return pe("transform", typeof t.transform == "string" ?
|
|
3694
|
+
return pe("transform", typeof t.transform == "string" ? Ce.transform(t.transform) : t.transform);
|
|
3687
3695
|
}), s = $(function() {
|
|
3688
|
-
var u =
|
|
3696
|
+
var u = Jo(t.value.toString(), S(S({}, o.value), i.value)), c = u.abstract;
|
|
3689
3697
|
return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
3690
3698
|
}), l = $(function() {
|
|
3691
3699
|
return Pt(s.value, {}, a);
|
|
@@ -3695,26 +3703,26 @@ je({
|
|
|
3695
3703
|
};
|
|
3696
3704
|
}
|
|
3697
3705
|
});
|
|
3698
|
-
let ve, ge,
|
|
3706
|
+
let ve, ge, W;
|
|
3699
3707
|
const mt = (e) => {
|
|
3700
3708
|
ve = e;
|
|
3701
3709
|
}, fn = (e) => {
|
|
3702
3710
|
ge = e;
|
|
3703
|
-
},
|
|
3704
|
-
|
|
3711
|
+
}, ps = (e) => {
|
|
3712
|
+
W = e;
|
|
3705
3713
|
}, pt = (e) => {
|
|
3706
|
-
ve != null && (
|
|
3714
|
+
ve != null && (W = !0, ge.loading = W, setTimeout(() => {
|
|
3707
3715
|
ve.push({ path: `${e}` }).finally(() => {
|
|
3708
|
-
|
|
3716
|
+
W = !1, ge.loading = W;
|
|
3709
3717
|
});
|
|
3710
3718
|
}, 400));
|
|
3711
3719
|
}, Q = (e) => {
|
|
3712
|
-
ve != null && (
|
|
3720
|
+
ve != null && (W = !0, ge.loading = W, setTimeout(() => {
|
|
3713
3721
|
ve.push({ path: `${e}` }).finally(() => {
|
|
3714
|
-
|
|
3722
|
+
W = !1, ge.loading = W;
|
|
3715
3723
|
});
|
|
3716
3724
|
}, 400));
|
|
3717
|
-
},
|
|
3725
|
+
}, hs = {
|
|
3718
3726
|
name: "MenuItem",
|
|
3719
3727
|
components: {
|
|
3720
3728
|
FontAwesomeIcon: Re
|
|
@@ -3738,7 +3746,7 @@ const mt = (e) => {
|
|
|
3738
3746
|
menuBar: this.menuBar,
|
|
3739
3747
|
tooltip: !0,
|
|
3740
3748
|
item: this.item,
|
|
3741
|
-
faChevronDown:
|
|
3749
|
+
faChevronDown: U,
|
|
3742
3750
|
leftItems: this.leftItems,
|
|
3743
3751
|
ref: "item",
|
|
3744
3752
|
rotuer: mt,
|
|
@@ -3756,9 +3764,7 @@ const mt = (e) => {
|
|
|
3756
3764
|
this.leftItems = e;
|
|
3757
3765
|
}
|
|
3758
3766
|
},
|
|
3759
|
-
emits: [
|
|
3760
|
-
"changeMenuItem"
|
|
3761
|
-
],
|
|
3767
|
+
emits: ["changeMenuItem"],
|
|
3762
3768
|
methods: {
|
|
3763
3769
|
openSubMenu(e) {
|
|
3764
3770
|
var t;
|
|
@@ -3782,12 +3788,12 @@ const mt = (e) => {
|
|
|
3782
3788
|
},
|
|
3783
3789
|
setUnActiveItems(e) {
|
|
3784
3790
|
var t;
|
|
3785
|
-
for (
|
|
3791
|
+
for (const n of e)
|
|
3786
3792
|
n.active = !1, (t = n.items) != null && t.length && this.setUnActiveItems(n.items);
|
|
3787
3793
|
},
|
|
3788
3794
|
setActiveItem(e, t = null) {
|
|
3789
3795
|
var n;
|
|
3790
|
-
for (
|
|
3796
|
+
for (const a of e)
|
|
3791
3797
|
a.active = a.id === (t == null ? void 0 : t.id), (n = a.items) != null && n.length && this.setActiveItem(a.items, t);
|
|
3792
3798
|
},
|
|
3793
3799
|
showTooltipItems(e) {
|
|
@@ -3804,15 +3810,19 @@ const mt = (e) => {
|
|
|
3804
3810
|
for (const [a, r] of t)
|
|
3805
3811
|
n[a] = r;
|
|
3806
3812
|
return n;
|
|
3807
|
-
},
|
|
3813
|
+
}, vs = {
|
|
3808
3814
|
key: 1,
|
|
3809
3815
|
class: "sub-menu-button"
|
|
3810
3816
|
};
|
|
3811
|
-
function
|
|
3817
|
+
function gs(e, t, n, a, r, i) {
|
|
3812
3818
|
var s;
|
|
3813
3819
|
const o = L("FontAwesomeIcon");
|
|
3814
3820
|
return w(), P("div", {
|
|
3815
|
-
class: N(["menu-item", {
|
|
3821
|
+
class: N(["menu-item", {
|
|
3822
|
+
"item-opened": r.item.opened,
|
|
3823
|
+
"item-closed": !r.item.opened,
|
|
3824
|
+
"item-active": r.item.active
|
|
3825
|
+
}]),
|
|
3816
3826
|
ref: r.ref,
|
|
3817
3827
|
onClick: t[0] || (t[0] = (l) => i.openSubMenu(r.item))
|
|
3818
3828
|
}, [
|
|
@@ -3821,22 +3831,25 @@ function vs(e, t, n, a, r, i) {
|
|
|
3821
3831
|
class: "menu-item-icon",
|
|
3822
3832
|
size: "lg",
|
|
3823
3833
|
icon: r.item.icon
|
|
3824
|
-
}, null, 8, ["icon"])) :
|
|
3825
|
-
|
|
3826
|
-
class: N(["menu-item-text", {
|
|
3834
|
+
}, null, 8, ["icon"])) : E("", !0),
|
|
3835
|
+
C("p", {
|
|
3836
|
+
class: N(["menu-item-text", {
|
|
3837
|
+
"menu-text-opened": r.menuBar.opened,
|
|
3838
|
+
"menu-text-closed": !r.menuBar.opened
|
|
3839
|
+
}])
|
|
3827
3840
|
}, be(r.item.name), 3),
|
|
3828
|
-
(s = r.item.items) != null && s.length ? (w(), P("div",
|
|
3841
|
+
(s = r.item.items) != null && s.length ? (w(), P("div", vs, [
|
|
3829
3842
|
J(o, {
|
|
3830
3843
|
class: N({ "icon-opened": r.item.opened }),
|
|
3831
3844
|
icon: r.item.openIcon
|
|
3832
3845
|
}, null, 8, ["class", "icon"])
|
|
3833
|
-
])) :
|
|
3846
|
+
])) : E("", !0)
|
|
3834
3847
|
], 2);
|
|
3835
3848
|
}
|
|
3836
|
-
const
|
|
3849
|
+
const xa = /* @__PURE__ */ Se(hs, [["render", gs], ["__scopeId", "data-v-cff4f977"]]), ys = {
|
|
3837
3850
|
name: "SubMenuItems",
|
|
3838
3851
|
components: {
|
|
3839
|
-
MenuItem:
|
|
3852
|
+
MenuItem: xa
|
|
3840
3853
|
},
|
|
3841
3854
|
props: {
|
|
3842
3855
|
item: {
|
|
@@ -3860,10 +3873,7 @@ const Ia = /* @__PURE__ */ Se(ps, [["render", vs], ["__scopeId", "data-v-d3a31a8
|
|
|
3860
3873
|
leftMenuItems: this.leftMenuItems
|
|
3861
3874
|
};
|
|
3862
3875
|
},
|
|
3863
|
-
emits: [
|
|
3864
|
-
"openmenu",
|
|
3865
|
-
"changeMenuItem"
|
|
3866
|
-
],
|
|
3876
|
+
emits: ["openmenu", "changeMenuItem"],
|
|
3867
3877
|
watch: {
|
|
3868
3878
|
menuBar(e) {
|
|
3869
3879
|
this.menuBar = e;
|
|
@@ -3893,17 +3903,17 @@ const Ia = /* @__PURE__ */ Se(ps, [["render", vs], ["__scopeId", "data-v-d3a31a8
|
|
|
3893
3903
|
}
|
|
3894
3904
|
}
|
|
3895
3905
|
}
|
|
3896
|
-
},
|
|
3906
|
+
}, bs = {
|
|
3897
3907
|
key: 0,
|
|
3898
3908
|
class: "sub-menu-items"
|
|
3899
|
-
},
|
|
3909
|
+
}, Is = {
|
|
3900
3910
|
key: 1,
|
|
3901
3911
|
class: "active-tooltip"
|
|
3902
|
-
},
|
|
3903
|
-
function
|
|
3912
|
+
}, xs = ["onClick"];
|
|
3913
|
+
function ws(e, t, n, a, r, i) {
|
|
3904
3914
|
const o = L("MenuItem"), s = L("SubMenuItems", !0);
|
|
3905
|
-
return r.item.opened ? (w(), P("div",
|
|
3906
|
-
(w(!0), P(
|
|
3915
|
+
return r.item.opened ? (w(), P("div", bs, [
|
|
3916
|
+
(w(!0), P(re, null, ie(r.item.items, (l, u) => {
|
|
3907
3917
|
var c, d;
|
|
3908
3918
|
return w(), P("div", {
|
|
3909
3919
|
key: u,
|
|
@@ -3924,21 +3934,21 @@ function xs(e, t, n, a, r, i) {
|
|
|
3924
3934
|
menuBar: r.menuBar
|
|
3925
3935
|
}, null, 8, ["item", "menuBar"])), [
|
|
3926
3936
|
[dn, r.menuBar.opened]
|
|
3927
|
-
]) :
|
|
3928
|
-
r.tooltip && ((d = l.items) != null && d.length) ? (w(), P("div",
|
|
3929
|
-
r.menuBar.opened ?
|
|
3937
|
+
]) : E("", !0),
|
|
3938
|
+
r.tooltip && ((d = l.items) != null && d.length) ? (w(), P("div", Is, [
|
|
3939
|
+
r.menuBar.opened ? E("", !0) : (w(!0), P(re, { key: 0 }, ie(l.items, (p) => (w(), P("div", {
|
|
3930
3940
|
key: p.name,
|
|
3931
3941
|
class: "tooltip-item",
|
|
3932
3942
|
onClick: (g) => i.tooltipItemClick(g, l, p),
|
|
3933
3943
|
onMouseenter: t[2] || (t[2] = (g) => i.showTooltipItems(g)),
|
|
3934
3944
|
onMouseleave: t[3] || (t[3] = (g) => i.hideTooltipItems(g))
|
|
3935
|
-
}, be(p.name), 41,
|
|
3936
|
-
])) :
|
|
3945
|
+
}, be(p.name), 41, xs))), 128))
|
|
3946
|
+
])) : E("", !0)
|
|
3937
3947
|
], 34);
|
|
3938
3948
|
}), 128))
|
|
3939
|
-
])) :
|
|
3949
|
+
])) : E("", !0);
|
|
3940
3950
|
}
|
|
3941
|
-
const
|
|
3951
|
+
const Ss = /* @__PURE__ */ Se(ys, [["render", ws], ["__scopeId", "data-v-6f31ff16"]]), As = {
|
|
3942
3952
|
name: "TopSubMenuItems",
|
|
3943
3953
|
components: {
|
|
3944
3954
|
FontAwesomeIcon: Re
|
|
@@ -3989,35 +3999,34 @@ const ws = /* @__PURE__ */ Se(gs, [["render", xs], ["__scopeId", "data-v-2919702
|
|
|
3989
3999
|
}
|
|
3990
4000
|
}
|
|
3991
4001
|
}
|
|
3992
|
-
},
|
|
3993
|
-
function
|
|
4002
|
+
}, ks = { class: "content" }, Ms = ["onClick", "onMouseenter"], Ps = { key: 0 };
|
|
4003
|
+
function Os(e, t, n, a, r, i) {
|
|
3994
4004
|
const o = L("FontAwesomeIcon"), s = L("TopSubMenuItems", !0);
|
|
3995
4005
|
return r.item.opened ? (w(), P("div", {
|
|
3996
4006
|
key: 0,
|
|
3997
4007
|
class: N(["top-sub-menu-items", { "tooltip-opened": r.item.opened }])
|
|
3998
4008
|
}, [
|
|
3999
|
-
|
|
4000
|
-
(w(!0), P(
|
|
4009
|
+
C("div", ks, [
|
|
4010
|
+
(w(!0), P(re, null, ie(r.item.items, (l, u) => {
|
|
4001
4011
|
var c, d;
|
|
4002
4012
|
return w(), P("div", {
|
|
4003
4013
|
key: l.id,
|
|
4004
4014
|
class: "item"
|
|
4005
4015
|
}, [
|
|
4006
|
-
|
|
4016
|
+
C("div", {
|
|
4007
4017
|
class: "top-menu-item",
|
|
4008
4018
|
onClick: mn((p) => i.openTopMenuItem(p, l), ["stop"]),
|
|
4009
4019
|
onMouseenter: (p) => i.openHoverTopMenuItem(p, l)
|
|
4010
4020
|
}, [
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
(c = l.items) != null && c.length ? (w(), P("div", Ms, [
|
|
4021
|
+
C("div", null, be(l.name), 1),
|
|
4022
|
+
(c = l.items) != null && c.length ? (w(), P("div", Ps, [
|
|
4014
4023
|
J(o, {
|
|
4015
4024
|
size: "sm",
|
|
4016
4025
|
class: N({ "icon-opened": r.item.opened }),
|
|
4017
4026
|
icon: l.openIcon
|
|
4018
4027
|
}, null, 8, ["class", "icon"])
|
|
4019
|
-
])) :
|
|
4020
|
-
], 40,
|
|
4028
|
+
])) : E("", !0)
|
|
4029
|
+
], 40, Ms),
|
|
4021
4030
|
(d = l.items) != null && d.length ? (w(), ye(s, {
|
|
4022
4031
|
onMouseleave: (p) => i.closeTopMenuItem(p, l),
|
|
4023
4032
|
style: Ma({ top: `${Number(u) * 70}px`, right: `${2 * 10 + 40}px` }),
|
|
@@ -4025,17 +4034,17 @@ function Ps(e, t, n, a, r, i) {
|
|
|
4025
4034
|
item: l,
|
|
4026
4035
|
topMenuItems: r.topMenuItems,
|
|
4027
4036
|
menuBar: r.menuBar
|
|
4028
|
-
}, null, 8, ["onMouseleave", "style", "item", "topMenuItems", "menuBar"])) :
|
|
4037
|
+
}, null, 8, ["onMouseleave", "style", "item", "topMenuItems", "menuBar"])) : E("", !0)
|
|
4029
4038
|
]);
|
|
4030
4039
|
}), 128))
|
|
4031
4040
|
])
|
|
4032
|
-
], 2)) :
|
|
4041
|
+
], 2)) : E("", !0);
|
|
4033
4042
|
}
|
|
4034
|
-
const
|
|
4043
|
+
const Ts = /* @__PURE__ */ Se(As, [["render", Os]]), Fs = {
|
|
4035
4044
|
name: "TopMenuItems",
|
|
4036
4045
|
components: {
|
|
4037
4046
|
FontAwesomeIcon: Re,
|
|
4038
|
-
TopSubMenuItems:
|
|
4047
|
+
TopSubMenuItems: Ts
|
|
4039
4048
|
},
|
|
4040
4049
|
props: {
|
|
4041
4050
|
topMenuItems: {
|
|
@@ -4054,7 +4063,8 @@ const Os = /* @__PURE__ */ Se(Ss, [["render", Ps]]), Fs = {
|
|
|
4054
4063
|
return {
|
|
4055
4064
|
topMenuItems: this.topMenuItems,
|
|
4056
4065
|
menuBar: this.menuBar,
|
|
4057
|
-
toTop: Q
|
|
4066
|
+
toTop: Q,
|
|
4067
|
+
menuTimeout: null
|
|
4058
4068
|
};
|
|
4059
4069
|
},
|
|
4060
4070
|
watch: {
|
|
@@ -4066,72 +4076,71 @@ const Os = /* @__PURE__ */ Se(Ss, [["render", Ps]]), Fs = {
|
|
|
4066
4076
|
openTopMenuItem(e, t) {
|
|
4067
4077
|
var n;
|
|
4068
4078
|
if (console.log(t), !((n = t.items) != null && n.length)) {
|
|
4069
|
-
t.openIcon =
|
|
4079
|
+
t.openIcon = ce, Q(t.route);
|
|
4070
4080
|
return;
|
|
4071
4081
|
}
|
|
4072
4082
|
},
|
|
4073
4083
|
hoverOpenTopMenuItem(e, t) {
|
|
4074
|
-
var
|
|
4075
|
-
(
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
}, n);
|
|
4084
|
+
var n;
|
|
4085
|
+
this.menuTimeout && clearTimeout(this.menuTimeout), (n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.add("menu-hover"), this.closeMenuTabs(this.topMenuItems);
|
|
4086
|
+
for (const a of document.querySelectorAll(".top-sub-menu-items"))
|
|
4087
|
+
a.classList.remove("tooltip-opened");
|
|
4088
|
+
this.menuTimeout = setTimeout(() => {
|
|
4089
|
+
t.opened = !0, this.closeSubItems(t), this.menuTimeout = null;
|
|
4090
|
+
}, 200);
|
|
4082
4091
|
},
|
|
4083
4092
|
closeTopMenuItem(e, t) {
|
|
4084
4093
|
var n;
|
|
4085
|
-
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.remove("menu-hover"), setTimeout(() => {
|
|
4086
|
-
t.opened = !1, t.openIcon =
|
|
4094
|
+
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.remove("menu-hover"), this.menuTimeout && clearTimeout(this.menuTimeout), this.menuTimeout = setTimeout(() => {
|
|
4095
|
+
t.opened = !1, t.openIcon = U, this.closeSubItems(t), this.menuTimeout = null;
|
|
4087
4096
|
}, 200);
|
|
4088
4097
|
},
|
|
4089
4098
|
closeTopMenu(e, t) {
|
|
4090
4099
|
var n;
|
|
4091
|
-
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon =
|
|
4100
|
+
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon = U), this.closeSubItems(t);
|
|
4092
4101
|
},
|
|
4093
4102
|
openMenuItem(e, t) {
|
|
4094
4103
|
var n;
|
|
4095
|
-
if (t.openIcon =
|
|
4104
|
+
if (t.openIcon = ce, !((n = t.items) != null && n.length)) {
|
|
4096
4105
|
Q(t.route);
|
|
4097
4106
|
return;
|
|
4098
4107
|
}
|
|
4099
4108
|
},
|
|
4100
4109
|
closeMenuTabs(e) {
|
|
4101
|
-
for (
|
|
4102
|
-
t.opened = !1, t.openIcon =
|
|
4110
|
+
for (const t of e)
|
|
4111
|
+
t.opened = !1, t.openIcon = U;
|
|
4103
4112
|
},
|
|
4104
4113
|
closeSubItems(e) {
|
|
4105
4114
|
var t;
|
|
4106
4115
|
if (!e.opened)
|
|
4107
|
-
for (
|
|
4116
|
+
for (const n of e.items || [])
|
|
4108
4117
|
n.opened = !1, (t = n.items) != null && t.length && this.closeSubItems(n);
|
|
4109
4118
|
}
|
|
4110
4119
|
}
|
|
4111
|
-
},
|
|
4112
|
-
function
|
|
4120
|
+
}, _s = { class: "horizontal-top-menu" }, Cs = ["onMouseenter"], Es = ["onClick", "onMouseleave"], Ns = { key: 0 };
|
|
4121
|
+
function js(e, t, n, a, r, i) {
|
|
4113
4122
|
const o = L("FontAwesomeIcon"), s = L("TopSubMenuItems");
|
|
4114
|
-
return w(), P("div",
|
|
4115
|
-
(w(!0), P(
|
|
4123
|
+
return w(), P("div", _s, [
|
|
4124
|
+
(w(!0), P(re, null, ie(r.topMenuItems, (l) => {
|
|
4116
4125
|
var u, c;
|
|
4117
4126
|
return w(), P("div", {
|
|
4118
4127
|
key: l.id,
|
|
4119
4128
|
class: N(["horizontal-top-menu-item", { "menu-hover": l.opened, active: l.opened }]),
|
|
4120
4129
|
onMouseenter: (d) => i.hoverOpenTopMenuItem(d, l)
|
|
4121
4130
|
}, [
|
|
4122
|
-
|
|
4131
|
+
C("div", {
|
|
4123
4132
|
class: "top-menu-item-heading",
|
|
4124
4133
|
onClick: (d) => i.openMenuItem(d, l),
|
|
4125
4134
|
onMouseleave: (d) => i.closeTopMenu(d, l)
|
|
4126
4135
|
}, [
|
|
4127
|
-
|
|
4128
|
-
(u = l.items) != null && u.length ? (w(), P("div",
|
|
4136
|
+
C("div", null, be(l.name), 1),
|
|
4137
|
+
(u = l.items) != null && u.length ? (w(), P("div", Ns, [
|
|
4129
4138
|
J(o, {
|
|
4130
4139
|
size: "sm",
|
|
4131
4140
|
class: N({ "icon-opened": l.opened }),
|
|
4132
4141
|
icon: l.openIcon
|
|
4133
4142
|
}, null, 8, ["class", "icon"])
|
|
4134
|
-
])) :
|
|
4143
|
+
])) : E("", !0)
|
|
4135
4144
|
], 40, Es),
|
|
4136
4145
|
(c = l.items) != null && c.length ? (w(), ye(s, {
|
|
4137
4146
|
key: 0,
|
|
@@ -4141,12 +4150,12 @@ function Ns(e, t, n, a, r, i) {
|
|
|
4141
4150
|
menuBar: r.menuBar,
|
|
4142
4151
|
onClick: t[0] || (t[0] = mn(() => {
|
|
4143
4152
|
}, ["stop"]))
|
|
4144
|
-
}, null, 8, ["onMouseleave", "item", "topMenuItems", "menuBar"])) :
|
|
4145
|
-
], 42,
|
|
4153
|
+
}, null, 8, ["onMouseleave", "item", "topMenuItems", "menuBar"])) : E("", !0)
|
|
4154
|
+
], 42, Cs);
|
|
4146
4155
|
}), 128))
|
|
4147
4156
|
]);
|
|
4148
4157
|
}
|
|
4149
|
-
const
|
|
4158
|
+
const $s = /* @__PURE__ */ Se(Fs, [["render", js], ["__scopeId", "data-v-9060ac81"]]), un = [
|
|
4150
4159
|
{
|
|
4151
4160
|
name: "Light",
|
|
4152
4161
|
value: "light",
|
|
@@ -4187,18 +4196,18 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4187
4196
|
text: "#000000",
|
|
4188
4197
|
iconColor: "#000000"
|
|
4189
4198
|
}
|
|
4190
|
-
],
|
|
4199
|
+
], Ls = je({
|
|
4191
4200
|
name: "MenuPlate",
|
|
4192
4201
|
components: {
|
|
4193
4202
|
FontAwesomeIcon: Re,
|
|
4194
|
-
MenuItem:
|
|
4195
|
-
SubMenuItems:
|
|
4196
|
-
TopMenuItem:
|
|
4203
|
+
MenuItem: xa,
|
|
4204
|
+
SubMenuItems: Ss,
|
|
4205
|
+
TopMenuItem: $s
|
|
4197
4206
|
},
|
|
4198
4207
|
props: {
|
|
4199
4208
|
initialMenuBar: {
|
|
4200
4209
|
type: Object,
|
|
4201
|
-
default: () => new
|
|
4210
|
+
default: () => new Ta()
|
|
4202
4211
|
},
|
|
4203
4212
|
leftItems: {
|
|
4204
4213
|
type: Array,
|
|
@@ -4217,9 +4226,7 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4217
4226
|
default: () => new Ot()
|
|
4218
4227
|
}
|
|
4219
4228
|
},
|
|
4220
|
-
emits: [
|
|
4221
|
-
"changeTheme"
|
|
4222
|
-
],
|
|
4229
|
+
emits: ["changeTheme"],
|
|
4223
4230
|
watch: {
|
|
4224
4231
|
initialMenuBar(e) {
|
|
4225
4232
|
this.menuBar = e;
|
|
@@ -4237,17 +4244,17 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4237
4244
|
},
|
|
4238
4245
|
created() {
|
|
4239
4246
|
const e = { value: 0 };
|
|
4240
|
-
this.leftMenuItems = this.toLeftMenuItems(this.leftItems, e), this.topMenuItems = this.toTopMenuItems(this.topItems, e), mt(this.Router),
|
|
4247
|
+
this.leftMenuItems = this.toLeftMenuItems(this.leftItems, e), this.topMenuItems = this.toTopMenuItems(this.topItems, e), mt(this.Router), ps(!1), fn(this.menuBar);
|
|
4241
4248
|
},
|
|
4242
4249
|
initTheme() {
|
|
4243
|
-
|
|
4250
|
+
const e = un.find((t) => t.type === this.theme.type);
|
|
4244
4251
|
e && document.documentElement.setAttribute("data-theme", e.value), this.$emit("changeTheme", this.theme);
|
|
4245
4252
|
},
|
|
4246
4253
|
data() {
|
|
4247
4254
|
return {
|
|
4248
4255
|
menuBar: this.initialMenuBar,
|
|
4249
|
-
faChevronDown:
|
|
4250
|
-
faChevronUp:
|
|
4256
|
+
faChevronDown: U,
|
|
4257
|
+
faChevronUp: ce,
|
|
4251
4258
|
topMenuItems: [],
|
|
4252
4259
|
leftMenuItems: [],
|
|
4253
4260
|
tooltip: !1,
|
|
@@ -4265,8 +4272,8 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4265
4272
|
toLeftMenuItems(e, t) {
|
|
4266
4273
|
var a;
|
|
4267
4274
|
let n = [];
|
|
4268
|
-
for (
|
|
4269
|
-
|
|
4275
|
+
for (const r of e) {
|
|
4276
|
+
const i = new Fa();
|
|
4270
4277
|
i.id = t.value++, i.name = r.name, i.icon = r.icon, i.route = r.route, (a = r.items) != null && a.length && (i.items = this.toTopMenuItems(r.items, t)), n = [...n, i];
|
|
4271
4278
|
}
|
|
4272
4279
|
return n;
|
|
@@ -4277,14 +4284,14 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4277
4284
|
toTopMenuItems(e, t) {
|
|
4278
4285
|
var a;
|
|
4279
4286
|
let n = [];
|
|
4280
|
-
for (
|
|
4281
|
-
|
|
4287
|
+
for (const r of e) {
|
|
4288
|
+
const i = new _a();
|
|
4282
4289
|
i.id = t.value++, i.name = r.name, i.route = r.route, (a = r.items) != null && a.length && (i.items = this.toTopMenuItems(r.items, t)), n = [...n, i];
|
|
4283
4290
|
}
|
|
4284
4291
|
return n;
|
|
4285
4292
|
},
|
|
4286
4293
|
openVerticalMenu(e) {
|
|
4287
|
-
this.menuBar.opened = !this.menuBar.opened, this.menuBar.changeIcon = "flip", this.menuBar.icon = this.menuBar.opened ?
|
|
4294
|
+
this.menuBar.opened = !this.menuBar.opened, this.menuBar.changeIcon = "flip", this.menuBar.icon = this.menuBar.opened ? pn : Oa;
|
|
4288
4295
|
},
|
|
4289
4296
|
openSubMenu(e) {
|
|
4290
4297
|
e.opened = !e.opened;
|
|
@@ -4297,18 +4304,20 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4297
4304
|
},
|
|
4298
4305
|
handleOpenMenu(e) {
|
|
4299
4306
|
var n;
|
|
4300
|
-
for (
|
|
4301
|
-
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ?
|
|
4302
|
-
|
|
4303
|
-
t && (t.opened = !t.opened, t.openIcon = t.opened ?
|
|
4307
|
+
for (const a of this.leftMenuItems || [])
|
|
4308
|
+
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ? U : ce);
|
|
4309
|
+
const t = this.leftMenuItems.find((a) => a.name === e.name);
|
|
4310
|
+
t && (t.opened = !t.opened, t.openIcon = t.opened ? U : ce);
|
|
4304
4311
|
},
|
|
4305
4312
|
openTooltipItem(e, t, n) {
|
|
4306
4313
|
var a;
|
|
4307
4314
|
if (this.closeItems(this.leftMenuItems), (a = t.items) != null && a.length) {
|
|
4308
4315
|
this.openVerticalMenu(e);
|
|
4309
|
-
|
|
4316
|
+
const r = this.leftMenuItems.find(
|
|
4317
|
+
(o) => o.id === n.id
|
|
4318
|
+
);
|
|
4310
4319
|
r.opened = !0;
|
|
4311
|
-
|
|
4320
|
+
const i = r.items.find((o) => o.id === t.id);
|
|
4312
4321
|
i.opened = !0;
|
|
4313
4322
|
return;
|
|
4314
4323
|
}
|
|
@@ -4316,27 +4325,27 @@ const js = /* @__PURE__ */ Se(Fs, [["render", Ns], ["__scopeId", "data-v-2803d65
|
|
|
4316
4325
|
},
|
|
4317
4326
|
closeItems(e) {
|
|
4318
4327
|
var t;
|
|
4319
|
-
for (
|
|
4328
|
+
for (const n of e)
|
|
4320
4329
|
n.active = !1, (t = n.items) != null && t.length && this.closeItems(n.items);
|
|
4321
4330
|
}
|
|
4322
4331
|
}
|
|
4323
|
-
}),
|
|
4332
|
+
}), Bs = { class: "menu-container" }, Ds = { class: "horizontal-menu" }, zs = { class: "menu-button" }, Rs = ["onMouseenter"], Ws = ["onClick"], Us = {
|
|
4324
4333
|
key: 0,
|
|
4325
4334
|
class: "loader"
|
|
4326
4335
|
};
|
|
4327
|
-
function
|
|
4336
|
+
function Ys(e, t, n, a, r, i) {
|
|
4328
4337
|
const o = L("FontAwesomeIcon"), s = L("TopMenuItem"), l = L("MenuItem"), u = L("SubMenuItems");
|
|
4329
|
-
return w(), P("div",
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4338
|
+
return w(), P("div", Bs, [
|
|
4339
|
+
C("div", Ds, [
|
|
4340
|
+
C("div", zs, [
|
|
4341
|
+
C("div", {
|
|
4333
4342
|
class: "menu-icon",
|
|
4334
4343
|
onClick: t[0] || (t[0] = (c) => e.openVerticalMenu(c))
|
|
4335
4344
|
}, [
|
|
4336
4345
|
e.menuBar.icon ? (w(), ye(o, {
|
|
4337
4346
|
key: 0,
|
|
4338
4347
|
icon: e.menuBar.icon
|
|
4339
|
-
}, null, 8, ["icon"])) :
|
|
4348
|
+
}, null, 8, ["icon"])) : E("", !0)
|
|
4340
4349
|
])
|
|
4341
4350
|
]),
|
|
4342
4351
|
J(s, {
|
|
@@ -4344,17 +4353,17 @@ function Us(e, t, n, a, r, i) {
|
|
|
4344
4353
|
menuBar: e.menuBar
|
|
4345
4354
|
}, null, 8, ["topMenuItems", "menuBar"])
|
|
4346
4355
|
]),
|
|
4347
|
-
|
|
4356
|
+
C("div", {
|
|
4348
4357
|
class: N(["vertical-menu", { "vertical-menu-opened": e.menuBar.opened }])
|
|
4349
4358
|
}, [
|
|
4350
|
-
(w(!0), P(
|
|
4359
|
+
(w(!0), P(re, null, ie(e.leftMenuItems, (c, d) => {
|
|
4351
4360
|
var p, g;
|
|
4352
4361
|
return w(), P("div", {
|
|
4353
4362
|
key: d,
|
|
4354
4363
|
class: N(["menu-item-heading", { "item-active": c.active }]),
|
|
4355
4364
|
onMouseenter: (b) => e.showTooltipItems(b, c.items)
|
|
4356
4365
|
}, [
|
|
4357
|
-
|
|
4366
|
+
C("div", {
|
|
4358
4367
|
class: N(["item", { "menu-item-opened": e.menuBar.opened }])
|
|
4359
4368
|
}, [
|
|
4360
4369
|
J(l, {
|
|
@@ -4373,51 +4382,56 @@ function Us(e, t, n, a, r, i) {
|
|
|
4373
4382
|
]),
|
|
4374
4383
|
e.tooltip && ((p = c.items) != null && p.length) && !e.menuBar.opened ? (w(), P("div", {
|
|
4375
4384
|
key: 0,
|
|
4376
|
-
class: N([
|
|
4385
|
+
class: N([
|
|
4386
|
+
"active-tooltip",
|
|
4387
|
+
{
|
|
4388
|
+
"tooltip-opened": e.tooltip && ((g = c.items) == null ? void 0 : g.length) && !e.menuBar.opened
|
|
4389
|
+
}
|
|
4390
|
+
]),
|
|
4377
4391
|
onMouseleave: t[3] || (t[3] = (b) => e.hideTooltipItems(b))
|
|
4378
4392
|
}, [
|
|
4379
|
-
(w(!0), P(
|
|
4393
|
+
(w(!0), P(re, null, ie(c.items, (b) => (w(), P("div", {
|
|
4380
4394
|
key: b.name,
|
|
4381
4395
|
class: "tooltip-item",
|
|
4382
4396
|
onClick: (I) => e.openTooltipItem(I, b, c)
|
|
4383
|
-
}, be(b.name), 9,
|
|
4384
|
-
], 34)) :
|
|
4397
|
+
}, be(b.name), 9, Ws))), 128))
|
|
4398
|
+
], 34)) : E("", !0)
|
|
4385
4399
|
], 2)
|
|
4386
|
-
], 42,
|
|
4400
|
+
], 42, Rs);
|
|
4387
4401
|
}), 128))
|
|
4388
4402
|
], 2),
|
|
4389
|
-
|
|
4403
|
+
C("div", {
|
|
4390
4404
|
class: N(["main", { "main-loading": e.menuBar.loading }])
|
|
4391
4405
|
}, [
|
|
4392
4406
|
Pa(e.$slots, "handler", {}, void 0, !0)
|
|
4393
4407
|
], 2),
|
|
4394
|
-
e.menuBar.loading ? (w(), P("div",
|
|
4395
|
-
|
|
4408
|
+
e.menuBar.loading ? (w(), P("div", Us, [...t[4] || (t[4] = [
|
|
4409
|
+
C("svg", {
|
|
4396
4410
|
class: "loader-icon",
|
|
4397
4411
|
viewBox: "0 0 64 64",
|
|
4398
4412
|
"aria-hidden": "true"
|
|
4399
4413
|
}, [
|
|
4400
|
-
|
|
4414
|
+
C("circle", {
|
|
4401
4415
|
class: "loader-track",
|
|
4402
4416
|
cx: "32",
|
|
4403
4417
|
cy: "32",
|
|
4404
4418
|
r: "24"
|
|
4405
4419
|
}),
|
|
4406
|
-
|
|
4420
|
+
C("circle", {
|
|
4407
4421
|
class: "loader-ring",
|
|
4408
4422
|
cx: "32",
|
|
4409
4423
|
cy: "32",
|
|
4410
4424
|
r: "24"
|
|
4411
4425
|
})
|
|
4412
4426
|
], -1)
|
|
4413
|
-
])])) :
|
|
4427
|
+
])])) : E("", !0)
|
|
4414
4428
|
]);
|
|
4415
4429
|
}
|
|
4416
|
-
const
|
|
4430
|
+
const Vs = /* @__PURE__ */ Se(Ls, [["render", Ys], ["__scopeId", "data-v-3072b4e3"]]);
|
|
4417
4431
|
export {
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4432
|
+
Xs as LeftMenuModel,
|
|
4433
|
+
Ta as MenuBarModel,
|
|
4434
|
+
Ks as MenuItemModel,
|
|
4435
|
+
Vs as MenuPlate,
|
|
4422
4436
|
Ot as ThemeModel
|
|
4423
4437
|
};
|