@modelmenu/navigation 1.1.0 → 2.1.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 +593 -603
- package/dist/index.umd.js +10 -10
- package/menu/MenuPlate.vue +28 -49
- package/menu/components/menu-item.vue +19 -6
- package/menu/components/sub-menu-items.vue +8 -3
- package/menu/components/top-menu-items/top-menu-item.vue +37 -13
- package/menu/components/top-menu-items/top-sub-menu-items.vue +15 -16
- package/menu/models/menu-models.ts +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
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 b = (e, t, n) =>
|
|
5
|
-
import { defineComponent as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".menu-plate[data-v-c4bf0968]{display:flex;flex-direction:column;width:100%;height:100%;background-color:#2c2c2c;color:#fff}.horizontal-menu[data-v-c4bf0968]{display:flex;gap:20px;padding:10px}.clicked[data-v-c4bf0968]{background-color:#d3d3d3}.menu-item-text[data-v-c4bf0968]{margin-left:8px}.show[data-v-c4bf0968]{display:flex}.vertical-menu[data-v-c4bf0968]{display:flex;flex-direction:column;align-items:center;gap:20px;padding:10px}.vertical-menu-opened[data-v-c4bf0968]{width:200px}.svg-inline--fa[data-v-c4bf0968]{color:#3c3c3ccc!important}.menu-item[data-v-c4bf0968]{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-c4bf0968]{animation:openMenuText-c4bf0968 .2s ease-in forwards}.menu-text-closed[data-v-c4bf0968]{animation:closeMenuText-c4bf0968 .2s ease-out forwards}.item-active[data-v-c4bf0968]{background-color:#ececec}.sub-menu-button[data-v-c4bf0968]{margin-left:8px}@keyframes openMenuText-c4bf0968{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes closeMenuText-c4bf0968{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-20px)}}@keyframes openMenu-c4bf0968{0%{transform:rotate(0)}to{transform:rotate(90deg)}}.icon-opened[data-v-c4bf0968]{animation:openMenu-c4bf0968 .02s ease forwards}.active-tooltip[data-v-4a385910]{position:relative;left:74px;width:240px;height:80px;border-radius:4px;border:1px solid #424242;background-color:#fff!important;z-index:999999999}.item[data-v-4a385910]{display:flex;flex-wrap:wrap;width:180px}.item-active[data-v-4a385910]{background-color:#ececec}.sub-menu-button[data-v-4a385910]{cursor:pointer}.svg-inline--fa[data-v-4a385910]{color:#3c3c3ccc!important}.sub-menu-items .menu-item[data-v-4a385910]{margin-left:60px}.sub-menu-item p[data-v-4a385910]{margin-left:60px;font-size:16px;padding:4px}.top-sub-menu-items{position:absolute;top:48px;right:0;border:1px solid #424242;padding:10px;margin-top:1px;width:200px;z-index:999999999;background-color:#fff}.svg-inline--fa{color:#3c3c3ccc!important}.top-menu-item{display:flex;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)}}.icon-opened{animation:openMenu .02s ease forwards}.item[data-v-2de9d68c]{display:flex;flex-wrap:wrap;width:180px}.horizontal-items[data-v-2de9d68c]{display:flex;gap:20px;padding:10px}.top-menu-item-heading[data-v-2de9d68c]{display:flex;align-items:center;cursor:pointer;border-bottom:1px solid transparent;box-sizing:border-box}.horizontal-top-menu-item.active[data-v-2de9d68c]{border-bottom:2px solid black}.menu-hover[data-v-2de9d68c]{background-color:#eee}.horizontal-top-menu[data-v-2de9d68c]{width:100%;display:flex;justify-content:flex-end;align-items:center}.horizontal-top-menu-item[data-v-2de9d68c]{display:flex;align-items:center;box-sizing:border-box;cursor:pointer;height:48px;border-bottom:2px solid transparent;padding:4px 12px}@keyframes openMenu-2de9d68c{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.icon-opened[data-v-2de9d68c]{animation:openMenu-2de9d68c .02s ease forwards}.menu-container[data-v-ec9036f9]{position:relative;width:100%;height:100%}.top-sub-menu-items[data-v-ec9036f9]{position:absolute;top:38px;right:0;border:1px solid #424242;padding:10px;width:150px;z-index:99999}.svg-inline--fa[data-v-ec9036f9]{color:#3c3c3ccc!important}.item-active[data-v-ec9036f9]{background-color:#f2f2f2}.horizontal-menu-item[data-v-ec9036f9]{cursor:pointer}.horizontal-items[data-v-ec9036f9]{display:flex;gap:20px;padding:10px}.loader[data-v-ec9036f9]{width:100%;display:flex;position:fixed;top:40%;left:50%;height:36dvh}.loader-icon[data-v-ec9036f9]{width:60px;height:60px;transform-origin:center;animation:rotateLoader-ec9036f9 1s linear infinite}@keyframes rotateLoader-ec9036f9{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loader-track[data-v-ec9036f9],.loader-ring[data-v-ec9036f9]{fill:none;stroke-width:8}.loader-track[data-v-ec9036f9]{stroke:#4294ff2e}.loader-ring[data-v-ec9036f9]{stroke:#4294ff;stroke-dasharray:110 160;stroke-dashoffset:0}.menu-text-opened[data-v-ec9036f9]{display:inline-block}.menu-text-closed[data-v-ec9036f9]{display:none}.item[data-v-ec9036f9]{display:flex;flex-wrap:wrap;cursor:pointer;width:180px}.menu-item p[data-v-ec9036f9]{margin-left:10px}.menu-item-opened[data-v-ec9036f9]{display:flex}.horizontal-items[data-v-ec9036f9]{display:flex;align-self:flex-end}.tooltip-item[data-v-ec9036f9]{padding:8px;cursor:pointer}.horizontal-menu[data-v-ec9036f9]{position:absolute;border-bottom:1px solid rgba(70,70,70,.5);top:0;left:0;width:100%;height:50px;display:flex;align-items:center;justify-content:space-between}.vertical-menu[data-v-ec9036f9]{position:absolute;top:50px;overflow-x:hidden;left:0;z-index:200;width:70px;animation:closeMenu-ec9036f9 .3s ease-out forwards;height:100dvh;background-color:#fff;border-right:1px solid rgba(70,70,70,.5)}.menu-item[data-v-ec9036f9]{width:180px;margin:10px auto 10px 20px;height:30px;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}@keyframes openMenu-ec9036f9{0%{width:70px}to{width:200px}}@keyframes closeMenu-ec9036f9{0%{width:200px}to{width:70px}}.vertical-menu.vertical-menu-opened[data-v-ec9036f9]{width:200px;animation:openMenu-ec9036f9 .3s ease-in forwards}.menu-button[data-v-ec9036f9]{width:74px;height:50px;display:flex;justify-content:center;cursor:pointer;align-items:center;border-right:1px solid rgba(70,70,70,.5)}.menu-icon[data-v-ec9036f9]{width:30px;height:30px;border:1px solid rgba(0,0,0,.7);display:flex;justify-content:center;align-items:center;border-radius:4px}.menu-icon[data-v-ec9036f9]:hover{cursor:pointer;background-color:#4242421a}@keyframes flipAnimation-ec9036f9{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes rotateAnimation-ec9036f9{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes hoverAnimation-ec9036f9{0%{transform:scale(1)}to{transform:scale(1.2)}}.menu-icon.opened.flip svg[data-v-ec9036f9]{transform:rotate(180deg)}.menu-icon.opened.rotate svg[data-v-ec9036f9]{animation:rotateAnimation-ec9036f9 .5s forwards}.menu-icon.opened.hover svg[data-v-ec9036f9]{animation:hoverAnimation-ec9036f9 .5s forwards}.none[data-v-ec9036f9]{transform:none}.horizontal-menu-item[data-v-ec9036f9]{display:flex;align-items:center;justify-content:center;margin-right:10px!important;margin:0 auto}.active-tooltip[data-v-ec9036f9]{position:fixed;left:80px;width:240px;height:80px;background-color:#fff;z-index:9999999;border:1px solid #424242}.main[data-v-ec9036f9]{width:calc(100vw - 300px);height:100%;position:absolute;left:180px;top:70px}.main-loading[data-v-ec9036f9]{opacity:0;background-color:#fff}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
var ka = Object.defineProperty;
|
|
3
|
+
var Ma = (e, t, n) => t in e ? ka(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
|
+
var b = (e, t, n) => Ma(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
|
+
import { defineComponent as Ne, computed as j, watch as Pa, h as ce, resolveComponent as $, openBlock as x, createElementBlock as P, normalizeClass as L, createBlock as ge, createCommentVNode as C, createElementVNode as N, toDisplayString as ye, createVNode as q, Fragment as ie, renderList as oe, withDirectives as dn, vShow as mn, withModifiers as pn, createTextVNode as hn, normalizeStyle as Oa, renderSlot as Fa } 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 ne = {
|
|
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
|
+
}, qe = {
|
|
16
16
|
prefix: "fas",
|
|
17
17
|
iconName: "chevron-right",
|
|
18
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
|
-
},
|
|
19
|
+
}, Ot = {
|
|
20
20
|
prefix: "fas",
|
|
21
21
|
iconName: "chevron-down",
|
|
22
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
|
-
},
|
|
23
|
+
}, vn = {
|
|
24
24
|
prefix: "fas",
|
|
25
25
|
iconName: "chevron-left",
|
|
26
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"]
|
|
@@ -42,7 +42,7 @@ class Ks {
|
|
|
42
42
|
}
|
|
43
43
|
class _a {
|
|
44
44
|
constructor() {
|
|
45
|
-
b(this, "icon",
|
|
45
|
+
b(this, "icon", vn);
|
|
46
46
|
//angle-arrow, bars, ellipsis
|
|
47
47
|
b(this, "name", "");
|
|
48
48
|
b(this, "loading", !1);
|
|
@@ -57,19 +57,19 @@ class Ta {
|
|
|
57
57
|
b(this, "icon");
|
|
58
58
|
b(this, "route", "");
|
|
59
59
|
b(this, "opened", !1);
|
|
60
|
-
b(this, "openIcon",
|
|
60
|
+
b(this, "openIcon", qe);
|
|
61
61
|
b(this, "items", []);
|
|
62
62
|
b(this, "active", !1);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
class
|
|
65
|
+
class Ca {
|
|
66
66
|
constructor() {
|
|
67
67
|
b(this, "id", 0);
|
|
68
68
|
b(this, "name", "");
|
|
69
69
|
b(this, "route", "");
|
|
70
70
|
b(this, "opened", !1);
|
|
71
71
|
b(this, "active", !1);
|
|
72
|
-
b(this, "openIcon",
|
|
72
|
+
b(this, "openIcon", ne);
|
|
73
73
|
b(this, "items", []);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -90,7 +90,7 @@ function Je(e, t) {
|
|
|
90
90
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
91
91
|
return a;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Ea(e) {
|
|
94
94
|
if (Array.isArray(e)) return e;
|
|
95
95
|
}
|
|
96
96
|
function Na(e) {
|
|
@@ -102,15 +102,15 @@ function ja(e, t) {
|
|
|
102
102
|
function $a(e, t) {
|
|
103
103
|
for (var n = 0; n < t.length; n++) {
|
|
104
104
|
var a = t[n];
|
|
105
|
-
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, gn(a.key), a);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function La(e, t, n) {
|
|
109
109
|
return t && $a(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
110
110
|
writable: !1
|
|
111
111
|
}), e;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function ke(e, t) {
|
|
114
114
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
115
115
|
if (!n) {
|
|
116
116
|
if (Array.isArray(e) || (n = ht(e)) || t) {
|
|
@@ -158,14 +158,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
160
|
function y(e, t, n) {
|
|
161
|
-
return (t =
|
|
161
|
+
return (t = gn(t)) in e ? Object.defineProperty(e, t, {
|
|
162
162
|
value: n,
|
|
163
163
|
enumerable: !0,
|
|
164
164
|
configurable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
}) : e[t] = n, e;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function Ba(e) {
|
|
169
169
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
170
170
|
}
|
|
171
171
|
function Da(e, t) {
|
|
@@ -218,11 +218,11 @@ function f(e) {
|
|
|
218
218
|
}
|
|
219
219
|
return e;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
222
|
-
return
|
|
221
|
+
function je(e, t) {
|
|
222
|
+
return Ea(e) || Da(e, t) || ht(e, t) || za();
|
|
223
223
|
}
|
|
224
224
|
function D(e) {
|
|
225
|
-
return Na(e) ||
|
|
225
|
+
return Na(e) || Ba(e) || ht(e) || Ra();
|
|
226
226
|
}
|
|
227
227
|
function Wa(e, t) {
|
|
228
228
|
if (typeof e != "object" || !e) return e;
|
|
@@ -234,17 +234,17 @@ function Wa(e, t) {
|
|
|
234
234
|
}
|
|
235
235
|
return (t === "string" ? String : Number)(e);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function gn(e) {
|
|
238
238
|
var t = Wa(e, "string");
|
|
239
239
|
return typeof t == "symbol" ? t : t + "";
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Oe(e) {
|
|
242
242
|
"@babel/helpers - typeof";
|
|
243
|
-
return
|
|
243
|
+
return Oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
244
244
|
return typeof t;
|
|
245
245
|
} : function(t) {
|
|
246
246
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
247
|
-
},
|
|
247
|
+
}, Oe(e);
|
|
248
248
|
}
|
|
249
249
|
function ht(e, t) {
|
|
250
250
|
if (e) {
|
|
@@ -254,17 +254,17 @@ function ht(e, t) {
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
var Tt = function() {
|
|
257
|
-
}, vt = {},
|
|
257
|
+
}, vt = {}, yn = {}, bn = null, In = {
|
|
258
258
|
mark: Tt,
|
|
259
259
|
measure: Tt
|
|
260
260
|
};
|
|
261
261
|
try {
|
|
262
|
-
typeof window < "u" && (vt = window), typeof document < "u" && (
|
|
262
|
+
typeof window < "u" && (vt = window), typeof document < "u" && (yn = document), typeof MutationObserver < "u" && (bn = MutationObserver), typeof performance < "u" && (In = performance);
|
|
263
263
|
} catch {
|
|
264
264
|
}
|
|
265
|
-
var Ua = vt.navigator || {},
|
|
266
|
-
|
|
267
|
-
var
|
|
265
|
+
var Ua = vt.navigator || {}, Ct = Ua.userAgent, Et = Ct === void 0 ? "" : Ct, G = vt, k = yn, Nt = bn, Se = In;
|
|
266
|
+
G.document;
|
|
267
|
+
var H = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", xn = ~Et.indexOf("MSIE") || ~Et.indexOf("Trident/"), We, Ya = /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)?[\-\ ]/, Ha = /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, wn = {
|
|
268
268
|
classic: {
|
|
269
269
|
fa: "solid",
|
|
270
270
|
fas: "solid",
|
|
@@ -376,8 +376,8 @@ var G = !!k.documentElement && !!k.head && typeof k.addEventListener == "functio
|
|
|
376
376
|
GROUP: "duotone-group",
|
|
377
377
|
PRIMARY: "primary",
|
|
378
378
|
SECONDARY: "secondary"
|
|
379
|
-
}, Sn = ["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"], _ = "classic",
|
|
380
|
-
|
|
379
|
+
}, Sn = ["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"], _ = "classic", be = "duotone", An = "sharp", kn = "sharp-duotone", Mn = "chisel", Pn = "etch", On = "graphite", Fn = "jelly", _n = "jelly-duo", Tn = "jelly-fill", Cn = "notdog", En = "notdog-duo", Nn = "slab", jn = "slab-press", $n = "thumbprint", Ln = "utility", Bn = "utility-duo", Dn = "utility-fill", zn = "whiteboard", Va = "Classic", Xa = "Duotone", Ka = "Sharp", qa = "Sharp Duotone", Ja = "Chisel", Qa = "Etch", Za = "Graphite", er = "Jelly", tr = "Jelly Duo", nr = "Jelly Fill", ar = "Notdog", rr = "Notdog Duo", ir = "Slab", or = "Slab Press", sr = "Thumbprint", lr = "Utility", fr = "Utility Duo", ur = "Utility Fill", cr = "Whiteboard", Rn = [_, be, An, kn, Mn, Pn, On, Fn, _n, Tn, Cn, En, Nn, jn, $n, Ln, Bn, Dn, zn];
|
|
380
|
+
We = {}, y(y(y(y(y(y(y(y(y(y(We, _, Va), be, Xa), An, Ka), kn, qa), Mn, Ja), Pn, Qa), On, Za), Fn, er), _n, tr), Tn, nr), y(y(y(y(y(y(y(y(y(We, Cn, ar), En, rr), Nn, ir), jn, or), $n, sr), Ln, lr), Bn, fr), Dn, ur), zn, cr);
|
|
381
381
|
var dr = {
|
|
382
382
|
classic: {
|
|
383
383
|
900: "fas",
|
|
@@ -731,7 +731,7 @@ var dr = {
|
|
|
731
731
|
whiteboard: {
|
|
732
732
|
semibold: "fawsb"
|
|
733
733
|
}
|
|
734
|
-
},
|
|
734
|
+
}, Wn = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], jt = {
|
|
735
735
|
kit: {
|
|
736
736
|
fak: "kit",
|
|
737
737
|
"fa-kit": "kit"
|
|
@@ -755,7 +755,7 @@ var xr = {
|
|
|
755
755
|
400: "fakd",
|
|
756
756
|
normal: "fakd"
|
|
757
757
|
}
|
|
758
|
-
},
|
|
758
|
+
}, Sr = {
|
|
759
759
|
kit: {
|
|
760
760
|
fak: "fa-kit"
|
|
761
761
|
}
|
|
@@ -766,13 +766,13 @@ var xr = {
|
|
|
766
766
|
"kit-duotone": {
|
|
767
767
|
"kit-duotone": "fakd"
|
|
768
768
|
}
|
|
769
|
-
},
|
|
769
|
+
}, Ue, Ae = {
|
|
770
770
|
GROUP: "duotone-group",
|
|
771
771
|
SWAP_OPACITY: "swap-opacity",
|
|
772
772
|
PRIMARY: "primary",
|
|
773
773
|
SECONDARY: "secondary"
|
|
774
|
-
},
|
|
775
|
-
|
|
774
|
+
}, Ar = ["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"], kr = "classic", Mr = "duotone", Pr = "sharp", Or = "sharp-duotone", Fr = "chisel", _r = "etch", Tr = "graphite", Cr = "jelly", Er = "jelly-duo", Nr = "jelly-fill", jr = "notdog", $r = "notdog-duo", Lr = "slab", Br = "slab-press", Dr = "thumbprint", zr = "utility", Rr = "utility-duo", Wr = "utility-fill", Ur = "whiteboard", Yr = "Classic", Hr = "Duotone", Gr = "Sharp", Vr = "Sharp Duotone", Xr = "Chisel", Kr = "Etch", qr = "Graphite", Jr = "Jelly", Qr = "Jelly Duo", Zr = "Jelly Fill", ei = "Notdog", ti = "Notdog Duo", ni = "Slab", ai = "Slab Press", ri = "Thumbprint", ii = "Utility", oi = "Utility Duo", si = "Utility Fill", li = "Whiteboard";
|
|
775
|
+
Ue = {}, y(y(y(y(y(y(y(y(y(y(Ue, kr, Yr), Mr, Hr), Pr, Gr), Or, Vr), Fr, Xr), _r, Kr), Tr, qr), Cr, Jr), Er, Qr), Nr, Zr), y(y(y(y(y(y(y(y(y(Ue, jr, ei), $r, ti), Lr, ni), Br, ai), Dr, ri), zr, ii), Rr, oi), Wr, si), Ur, li);
|
|
776
776
|
var fi = "kit", ui = "kit-duotone", ci = "Kit", di = "Kit Duotone";
|
|
777
777
|
y(y({}, fi, ci), ui, di);
|
|
778
778
|
var mi = {
|
|
@@ -937,7 +937,7 @@ var mi = {
|
|
|
937
937
|
"utility-fill": {
|
|
938
938
|
faufsb: "fa-semibold"
|
|
939
939
|
}
|
|
940
|
-
}, hi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"],
|
|
940
|
+
}, hi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Un = ["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(Ar, hi), vi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Yn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], gi = Yn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), yi = ["aw", "fw", "pull-left", "pull-right"], bi = [].concat(D(Object.keys(pi)), vi, yi, ["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", Ae.GROUP, Ae.SWAP_OPACITY, Ae.PRIMARY, Ae.SECONDARY]).concat(Yn.map(function(e) {
|
|
941
941
|
return "".concat(e, "x");
|
|
942
942
|
})).concat(gi.map(function(e) {
|
|
943
943
|
return "w-".concat(e);
|
|
@@ -959,36 +959,36 @@ var mi = {
|
|
|
959
959
|
"Font Awesome 5 Duotone": {
|
|
960
960
|
900: "fad"
|
|
961
961
|
}
|
|
962
|
-
},
|
|
962
|
+
}, U = "___FONT_AWESOME___", Ze = 16, Hn = "fa", Gn = "svg-inline--fa", Q = "data-fa-i2svg", et = "data-fa-pseudo-element", xi = "data-fa-pseudo-element-pending", gt = "data-prefix", yt = "data-icon", Lt = "fontawesome-i2svg", wi = "async", Si = ["HTML", "HEAD", "STYLE", "SCRIPT"], Vn = ["::before", "::after", ":before", ":after"], Xn = function() {
|
|
963
963
|
try {
|
|
964
964
|
return process.env.NODE_ENV === "production";
|
|
965
965
|
} catch {
|
|
966
966
|
return !1;
|
|
967
967
|
}
|
|
968
968
|
}();
|
|
969
|
-
function
|
|
969
|
+
function Ie(e) {
|
|
970
970
|
return new Proxy(e, {
|
|
971
971
|
get: function(n, a) {
|
|
972
972
|
return a in n ? n[a] : n[_];
|
|
973
973
|
}
|
|
974
974
|
});
|
|
975
975
|
}
|
|
976
|
-
var
|
|
977
|
-
|
|
976
|
+
var Kn = f({}, wn);
|
|
977
|
+
Kn[_] = f(f(f(f({}, {
|
|
978
978
|
"fa-duotone": "duotone"
|
|
979
|
-
}),
|
|
980
|
-
var
|
|
979
|
+
}), wn[_]), jt.kit), jt["kit-duotone"]);
|
|
980
|
+
var Ai = Ie(Kn), tt = f({}, hr);
|
|
981
981
|
tt[_] = f(f(f(f({}, {
|
|
982
982
|
duotone: "fad"
|
|
983
983
|
}), tt[_]), $t.kit), $t["kit-duotone"]);
|
|
984
|
-
var
|
|
985
|
-
nt[_] = f(f({}, nt[_]),
|
|
986
|
-
var bt =
|
|
984
|
+
var Bt = Ie(tt), nt = f({}, Qe);
|
|
985
|
+
nt[_] = f(f({}, nt[_]), Sr.kit);
|
|
986
|
+
var bt = Ie(nt), at = f({}, mi);
|
|
987
987
|
at[_] = f(f({}, at[_]), xr.kit);
|
|
988
|
-
|
|
989
|
-
var ki = Ya,
|
|
990
|
-
|
|
991
|
-
var Oi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"],
|
|
988
|
+
Ie(at);
|
|
989
|
+
var ki = Ya, qn = "fa-layers-text", Mi = Ha, Pi = f({}, dr);
|
|
990
|
+
Ie(Pi);
|
|
991
|
+
var Oi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Ye = Ga, Fi = [].concat(D(vr), D(bi)), de = G.FontAwesomeConfig || {};
|
|
992
992
|
function _i(e) {
|
|
993
993
|
var t = k.querySelector("script[" + e + "]");
|
|
994
994
|
if (t)
|
|
@@ -998,17 +998,17 @@ function Ti(e) {
|
|
|
998
998
|
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
999
999
|
}
|
|
1000
1000
|
if (k && typeof k.querySelector == "function") {
|
|
1001
|
-
var
|
|
1002
|
-
|
|
1003
|
-
var t =
|
|
1004
|
-
r != null && (
|
|
1001
|
+
var Ci = [["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
|
+
Ci.forEach(function(e) {
|
|
1003
|
+
var t = je(e, 2), n = t[0], a = t[1], r = Ti(_i(n));
|
|
1004
|
+
r != null && (de[a] = r);
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
|
-
var
|
|
1007
|
+
var Jn = {
|
|
1008
1008
|
styleDefault: "solid",
|
|
1009
1009
|
familyDefault: _,
|
|
1010
|
-
cssPrefix:
|
|
1011
|
-
replacementClass:
|
|
1010
|
+
cssPrefix: Hn,
|
|
1011
|
+
replacementClass: Gn,
|
|
1012
1012
|
autoReplaceSvg: !0,
|
|
1013
1013
|
autoAddCss: !0,
|
|
1014
1014
|
searchPseudoElements: !1,
|
|
@@ -1020,42 +1020,42 @@ var Qn = {
|
|
|
1020
1020
|
measurePerformance: !1,
|
|
1021
1021
|
showMissingIcons: !0
|
|
1022
1022
|
};
|
|
1023
|
-
|
|
1024
|
-
var
|
|
1025
|
-
|
|
1026
|
-
var
|
|
1027
|
-
Object.keys(
|
|
1028
|
-
Object.defineProperty(
|
|
1023
|
+
de.familyPrefix && (de.cssPrefix = de.familyPrefix);
|
|
1024
|
+
var se = f(f({}, Jn), de);
|
|
1025
|
+
se.autoReplaceSvg || (se.observeMutations = !1);
|
|
1026
|
+
var v = {};
|
|
1027
|
+
Object.keys(Jn).forEach(function(e) {
|
|
1028
|
+
Object.defineProperty(v, e, {
|
|
1029
1029
|
enumerable: !0,
|
|
1030
1030
|
set: function(n) {
|
|
1031
|
-
|
|
1032
|
-
return a(
|
|
1031
|
+
se[e] = n, me.forEach(function(a) {
|
|
1032
|
+
return a(v);
|
|
1033
1033
|
});
|
|
1034
1034
|
},
|
|
1035
1035
|
get: function() {
|
|
1036
|
-
return
|
|
1036
|
+
return se[e];
|
|
1037
1037
|
}
|
|
1038
1038
|
});
|
|
1039
1039
|
});
|
|
1040
|
-
Object.defineProperty(
|
|
1040
|
+
Object.defineProperty(v, "familyPrefix", {
|
|
1041
1041
|
enumerable: !0,
|
|
1042
1042
|
set: function(t) {
|
|
1043
|
-
|
|
1044
|
-
return n(
|
|
1043
|
+
se.cssPrefix = t, me.forEach(function(n) {
|
|
1044
|
+
return n(v);
|
|
1045
1045
|
});
|
|
1046
1046
|
},
|
|
1047
1047
|
get: function() {
|
|
1048
|
-
return
|
|
1048
|
+
return se.cssPrefix;
|
|
1049
1049
|
}
|
|
1050
1050
|
});
|
|
1051
|
-
|
|
1052
|
-
var
|
|
1053
|
-
function
|
|
1054
|
-
return
|
|
1055
|
-
|
|
1051
|
+
G.FontAwesomeConfig = v;
|
|
1052
|
+
var me = [];
|
|
1053
|
+
function Ei(e) {
|
|
1054
|
+
return me.push(e), function() {
|
|
1055
|
+
me.splice(me.indexOf(e), 1);
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
1058
|
-
var
|
|
1058
|
+
var ee = Ze, R = {
|
|
1059
1059
|
size: 16,
|
|
1060
1060
|
x: 0,
|
|
1061
1061
|
y: 0,
|
|
@@ -1064,7 +1064,7 @@ var ne = Ze, R = {
|
|
|
1064
1064
|
flipY: !1
|
|
1065
1065
|
};
|
|
1066
1066
|
function Ni(e) {
|
|
1067
|
-
if (!(!e || !
|
|
1067
|
+
if (!(!e || !H)) {
|
|
1068
1068
|
var t = k.createElement("style");
|
|
1069
1069
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
1070
1070
|
for (var n = k.head.childNodes, a = null, r = n.length - 1; r > -1; r--) {
|
|
@@ -1080,25 +1080,25 @@ function Dt() {
|
|
|
1080
1080
|
t += ji[Math.random() * 62 | 0];
|
|
1081
1081
|
return t;
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function le(e) {
|
|
1084
1084
|
for (var t = [], n = (e || []).length >>> 0; n--; )
|
|
1085
1085
|
t[n] = e[n];
|
|
1086
1086
|
return t;
|
|
1087
1087
|
}
|
|
1088
1088
|
function It(e) {
|
|
1089
|
-
return e.classList ?
|
|
1089
|
+
return e.classList ? le(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
1090
1090
|
return t;
|
|
1091
1091
|
});
|
|
1092
1092
|
}
|
|
1093
|
-
function
|
|
1093
|
+
function Qn(e) {
|
|
1094
1094
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1095
1095
|
}
|
|
1096
1096
|
function $i(e) {
|
|
1097
1097
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
1098
|
-
return t + "".concat(n, '="').concat(
|
|
1098
|
+
return t + "".concat(n, '="').concat(Qn(e[n]), '" ');
|
|
1099
1099
|
}, "").trim();
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function $e(e) {
|
|
1102
1102
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
1103
1103
|
return t + "".concat(n, ": ").concat(e[n].trim(), ";");
|
|
1104
1104
|
}, "");
|
|
@@ -1106,7 +1106,7 @@ function Be(e) {
|
|
|
1106
1106
|
function xt(e) {
|
|
1107
1107
|
return e.size !== R.size || e.x !== R.x || e.y !== R.y || e.rotate !== R.rotate || e.flipX || e.flipY;
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Li(e) {
|
|
1110
1110
|
var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
|
|
1111
1111
|
transform: "translate(".concat(n / 2, " 256)")
|
|
1112
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 = {
|
|
@@ -1120,9 +1120,9 @@ function Bi(e) {
|
|
|
1120
1120
|
path: u
|
|
1121
1121
|
};
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Bi(e) {
|
|
1124
1124
|
var t = e.transform, n = e.width, a = n === void 0 ? Ze : n, r = e.height, i = r === void 0 ? Ze : r, o = "";
|
|
1125
|
-
return
|
|
1125
|
+
return xn ? o += "translate(".concat(t.x / ee - a / 2, "em, ").concat(t.y / ee - i / 2, "em) ") : o += "translate(calc(-50% + ".concat(t.x / ee, "em), calc(-50% + ").concat(t.y / ee, "em)) "), o += "scale(".concat(t.size / ee * (t.flipX ? -1 : 1), ", ").concat(t.size / ee * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
1126
1126
|
}
|
|
1127
1127
|
var Di = `:root, :host {
|
|
1128
1128
|
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
@@ -1676,8 +1676,8 @@ var Di = `:root, :host {
|
|
|
1676
1676
|
position: absolute;
|
|
1677
1677
|
z-index: var(--fa-stack-z-index, auto);
|
|
1678
1678
|
}`;
|
|
1679
|
-
function
|
|
1680
|
-
var e =
|
|
1679
|
+
function Zn() {
|
|
1680
|
+
var e = Hn, t = Gn, n = v.cssPrefix, a = v.replacementClass, r = Di;
|
|
1681
1681
|
if (n !== e || a !== t) {
|
|
1682
1682
|
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
1683
1683
|
r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(s, ".".concat(a));
|
|
@@ -1685,45 +1685,45 @@ function ea() {
|
|
|
1685
1685
|
return r;
|
|
1686
1686
|
}
|
|
1687
1687
|
var zt = !1;
|
|
1688
|
-
function
|
|
1689
|
-
|
|
1688
|
+
function He() {
|
|
1689
|
+
v.autoAddCss && !zt && (Ni(Zn()), zt = !0);
|
|
1690
1690
|
}
|
|
1691
1691
|
var zi = {
|
|
1692
1692
|
mixout: function() {
|
|
1693
1693
|
return {
|
|
1694
1694
|
dom: {
|
|
1695
|
-
css:
|
|
1696
|
-
insertCss:
|
|
1695
|
+
css: Zn,
|
|
1696
|
+
insertCss: He
|
|
1697
1697
|
}
|
|
1698
1698
|
};
|
|
1699
1699
|
},
|
|
1700
1700
|
hooks: function() {
|
|
1701
1701
|
return {
|
|
1702
1702
|
beforeDOMElementCreation: function() {
|
|
1703
|
-
|
|
1703
|
+
He();
|
|
1704
1704
|
},
|
|
1705
1705
|
beforeI2svg: function() {
|
|
1706
|
-
|
|
1706
|
+
He();
|
|
1707
1707
|
}
|
|
1708
1708
|
};
|
|
1709
1709
|
}
|
|
1710
|
-
},
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
var
|
|
1716
|
-
k.removeEventListener("DOMContentLoaded",
|
|
1710
|
+
}, Y = G || {};
|
|
1711
|
+
Y[U] || (Y[U] = {});
|
|
1712
|
+
Y[U].styles || (Y[U].styles = {});
|
|
1713
|
+
Y[U].hooks || (Y[U].hooks = {});
|
|
1714
|
+
Y[U].shims || (Y[U].shims = []);
|
|
1715
|
+
var B = Y[U], ea = [], ta = function() {
|
|
1716
|
+
k.removeEventListener("DOMContentLoaded", ta), Fe = 1, ea.map(function(t) {
|
|
1717
1717
|
return t();
|
|
1718
1718
|
});
|
|
1719
|
-
},
|
|
1720
|
-
|
|
1719
|
+
}, Fe = !1;
|
|
1720
|
+
H && (Fe = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Fe || k.addEventListener("DOMContentLoaded", ta));
|
|
1721
1721
|
function Ri(e) {
|
|
1722
|
-
|
|
1722
|
+
H && (Fe ? setTimeout(e, 0) : ea.push(e));
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function xe(e) {
|
|
1725
1725
|
var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
|
|
1726
|
-
return typeof e == "string" ?
|
|
1726
|
+
return typeof e == "string" ? Qn(e) : "<".concat(t, " ").concat($i(a), ">").concat(i.map(xe).join(""), "</").concat(t, ">");
|
|
1727
1727
|
}
|
|
1728
1728
|
function Rt(e, t, n) {
|
|
1729
1729
|
if (e && e[t] && e[t][n])
|
|
@@ -1733,13 +1733,13 @@ function Rt(e, t, n) {
|
|
|
1733
1733
|
icon: e[t][n]
|
|
1734
1734
|
};
|
|
1735
1735
|
}
|
|
1736
|
-
var
|
|
1736
|
+
var Ge = function(t, n, a, r) {
|
|
1737
1737
|
var i = Object.keys(t), o = i.length, s = n, l, u, c;
|
|
1738
1738
|
for (a === void 0 ? (l = 1, c = t[i[0]]) : (l = 0, c = a); l < o; l++)
|
|
1739
1739
|
u = i[l], c = s(c, t[u], u, t);
|
|
1740
1740
|
return c;
|
|
1741
1741
|
};
|
|
1742
|
-
function
|
|
1742
|
+
function na(e) {
|
|
1743
1743
|
return D(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
1744
1744
|
}
|
|
1745
1745
|
function Wt(e) {
|
|
@@ -1750,11 +1750,11 @@ function Wt(e) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
function rt(e, t) {
|
|
1752
1752
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = Wt(t);
|
|
1753
|
-
typeof
|
|
1753
|
+
typeof B.hooks.addPack == "function" && !r ? B.hooks.addPack(e, Wt(t)) : B.styles[e] = f(f({}, B.styles[e] || {}), i), e === "fas" && rt("fa", t);
|
|
1754
1754
|
}
|
|
1755
|
-
var
|
|
1755
|
+
var he = B.styles, Wi = B.shims, aa = Object.keys(bt), Ui = aa.reduce(function(e, t) {
|
|
1756
1756
|
return e[t] = Object.keys(bt[t]), e;
|
|
1757
|
-
}, {}), wt = null,
|
|
1757
|
+
}, {}), wt = null, ra = {}, ia = {}, oa = {}, sa = {}, la = {};
|
|
1758
1758
|
function Yi(e) {
|
|
1759
1759
|
return ~Fi.indexOf(e);
|
|
1760
1760
|
}
|
|
@@ -1762,13 +1762,13 @@ function Hi(e, t) {
|
|
|
1762
1762
|
var n = t.split("-"), a = n[0], r = n.slice(1).join("-");
|
|
1763
1763
|
return a === e && r !== "" && !Yi(r) ? r : null;
|
|
1764
1764
|
}
|
|
1765
|
-
var
|
|
1765
|
+
var fa = function() {
|
|
1766
1766
|
var t = function(i) {
|
|
1767
|
-
return
|
|
1768
|
-
return o[l] =
|
|
1767
|
+
return Ge(he, function(o, s, l) {
|
|
1768
|
+
return o[l] = Ge(s, i, {}), o;
|
|
1769
1769
|
}, {});
|
|
1770
1770
|
};
|
|
1771
|
-
|
|
1771
|
+
ra = t(function(r, i, o) {
|
|
1772
1772
|
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
1773
1773
|
var s = i[2].filter(function(l) {
|
|
1774
1774
|
return typeof l == "number";
|
|
@@ -1778,7 +1778,7 @@ var ua = function() {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
}
|
|
1780
1780
|
return r;
|
|
1781
|
-
}),
|
|
1781
|
+
}), ia = t(function(r, i, o) {
|
|
1782
1782
|
if (r[o] = o, i[2]) {
|
|
1783
1783
|
var s = i[2].filter(function(l) {
|
|
1784
1784
|
return typeof l == "string";
|
|
@@ -1788,13 +1788,13 @@ var ua = function() {
|
|
|
1788
1788
|
});
|
|
1789
1789
|
}
|
|
1790
1790
|
return r;
|
|
1791
|
-
}),
|
|
1791
|
+
}), la = t(function(r, i, o) {
|
|
1792
1792
|
var s = i[2];
|
|
1793
1793
|
return r[o] = o, s.forEach(function(l) {
|
|
1794
1794
|
r[l] = o;
|
|
1795
1795
|
}), r;
|
|
1796
1796
|
});
|
|
1797
|
-
var n = "far" in
|
|
1797
|
+
var n = "far" in he || v.autoFetchSvg, a = Ge(Wi, function(r, i) {
|
|
1798
1798
|
var o = i[0], s = i[1], l = i[2];
|
|
1799
1799
|
return s === "far" && !n && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1800
1800
|
prefix: s,
|
|
@@ -1807,33 +1807,33 @@ var ua = function() {
|
|
|
1807
1807
|
names: {},
|
|
1808
1808
|
unicodes: {}
|
|
1809
1809
|
});
|
|
1810
|
-
|
|
1811
|
-
family:
|
|
1810
|
+
oa = a.names, sa = a.unicodes, wt = Le(v.styleDefault, {
|
|
1811
|
+
family: v.familyDefault
|
|
1812
1812
|
});
|
|
1813
1813
|
};
|
|
1814
|
-
|
|
1814
|
+
Ei(function(e) {
|
|
1815
1815
|
wt = Le(e.styleDefault, {
|
|
1816
|
-
family:
|
|
1816
|
+
family: v.familyDefault
|
|
1817
1817
|
});
|
|
1818
1818
|
});
|
|
1819
|
-
|
|
1820
|
-
function
|
|
1821
|
-
return (
|
|
1819
|
+
fa();
|
|
1820
|
+
function St(e, t) {
|
|
1821
|
+
return (ra[e] || {})[t];
|
|
1822
1822
|
}
|
|
1823
1823
|
function Gi(e, t) {
|
|
1824
|
-
return (
|
|
1824
|
+
return (ia[e] || {})[t];
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1827
|
-
return (
|
|
1826
|
+
function K(e, t) {
|
|
1827
|
+
return (la[e] || {})[t];
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1830
|
-
return
|
|
1829
|
+
function ua(e) {
|
|
1830
|
+
return oa[e] || {
|
|
1831
1831
|
prefix: null,
|
|
1832
1832
|
iconName: null
|
|
1833
1833
|
};
|
|
1834
1834
|
}
|
|
1835
1835
|
function Vi(e) {
|
|
1836
|
-
var t =
|
|
1836
|
+
var t = sa[e], n = St("fas", e);
|
|
1837
1837
|
return t || (n ? {
|
|
1838
1838
|
prefix: "fas",
|
|
1839
1839
|
iconName: n
|
|
@@ -1842,10 +1842,10 @@ function Vi(e) {
|
|
|
1842
1842
|
iconName: null
|
|
1843
1843
|
};
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function V() {
|
|
1846
1846
|
return wt;
|
|
1847
1847
|
}
|
|
1848
|
-
var
|
|
1848
|
+
var ca = function() {
|
|
1849
1849
|
return {
|
|
1850
1850
|
prefix: null,
|
|
1851
1851
|
iconName: null,
|
|
@@ -1853,26 +1853,26 @@ var da = function() {
|
|
|
1853
1853
|
};
|
|
1854
1854
|
};
|
|
1855
1855
|
function Xi(e) {
|
|
1856
|
-
var t = _, n =
|
|
1857
|
-
return a[r] = "".concat(
|
|
1856
|
+
var t = _, n = aa.reduce(function(a, r) {
|
|
1857
|
+
return a[r] = "".concat(v.cssPrefix, "-").concat(r), a;
|
|
1858
1858
|
}, {});
|
|
1859
|
-
return
|
|
1859
|
+
return Rn.forEach(function(a) {
|
|
1860
1860
|
(e.includes(n[a]) || e.some(function(r) {
|
|
1861
1861
|
return Ui[a].includes(r);
|
|
1862
1862
|
})) && (t = a);
|
|
1863
1863
|
}), t;
|
|
1864
1864
|
}
|
|
1865
1865
|
function Le(e) {
|
|
1866
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? _ : n, r =
|
|
1867
|
-
if (a ===
|
|
1866
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? _ : n, r = Ai[a][e];
|
|
1867
|
+
if (a === be && !e)
|
|
1868
1868
|
return "fad";
|
|
1869
|
-
var i =
|
|
1869
|
+
var i = Bt[a][e] || Bt[a][r], o = e in B.styles ? e : null, s = i || o || null;
|
|
1870
1870
|
return s;
|
|
1871
1871
|
}
|
|
1872
1872
|
function Ki(e) {
|
|
1873
1873
|
var t = [], n = null;
|
|
1874
1874
|
return e.forEach(function(a) {
|
|
1875
|
-
var r = Hi(
|
|
1875
|
+
var r = Hi(v.cssPrefix, a);
|
|
1876
1876
|
r ? n = r : a && t.push(a);
|
|
1877
1877
|
}), {
|
|
1878
1878
|
iconName: n,
|
|
@@ -1884,27 +1884,27 @@ function Ut(e) {
|
|
|
1884
1884
|
return a.indexOf(t) === n;
|
|
1885
1885
|
});
|
|
1886
1886
|
}
|
|
1887
|
-
var Yt =
|
|
1888
|
-
function
|
|
1887
|
+
var Yt = Un.concat(Wn);
|
|
1888
|
+
function Be(e) {
|
|
1889
1889
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.skipLookups, a = n === void 0 ? !1 : n, r = null, i = Ut(e.filter(function(p) {
|
|
1890
1890
|
return Yt.includes(p);
|
|
1891
1891
|
})), o = Ut(e.filter(function(p) {
|
|
1892
1892
|
return !Yt.includes(p);
|
|
1893
1893
|
})), s = i.filter(function(p) {
|
|
1894
1894
|
return r = p, !Sn.includes(p);
|
|
1895
|
-
}), l =
|
|
1895
|
+
}), l = je(s, 1), u = l[0], c = u === void 0 ? null : u, d = Xi(i), h = f(f({}, Ki(o)), {}, {
|
|
1896
1896
|
prefix: Le(c, {
|
|
1897
1897
|
family: d
|
|
1898
1898
|
})
|
|
1899
1899
|
});
|
|
1900
|
-
return f(f(f({},
|
|
1900
|
+
return f(f(f({}, h), Zi({
|
|
1901
1901
|
values: e,
|
|
1902
1902
|
family: d,
|
|
1903
|
-
styles:
|
|
1904
|
-
config:
|
|
1905
|
-
canonical:
|
|
1903
|
+
styles: he,
|
|
1904
|
+
config: v,
|
|
1905
|
+
canonical: h,
|
|
1906
1906
|
givenPrefix: r
|
|
1907
|
-
})), qi(a, r,
|
|
1907
|
+
})), qi(a, r, h));
|
|
1908
1908
|
}
|
|
1909
1909
|
function qi(e, t, n) {
|
|
1910
1910
|
var a = n.prefix, r = n.iconName;
|
|
@@ -1913,37 +1913,37 @@ function qi(e, t, n) {
|
|
|
1913
1913
|
prefix: a,
|
|
1914
1914
|
iconName: r
|
|
1915
1915
|
};
|
|
1916
|
-
var i = t === "fa" ?
|
|
1917
|
-
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !
|
|
1916
|
+
var i = t === "fa" ? ua(r) : {}, o = K(a, r);
|
|
1917
|
+
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !he.far && he.fas && !v.autoFetchSvg && (a = "fas"), {
|
|
1918
1918
|
prefix: a,
|
|
1919
1919
|
iconName: r
|
|
1920
1920
|
};
|
|
1921
1921
|
}
|
|
1922
|
-
var Ji =
|
|
1923
|
-
return e !== _ || e !==
|
|
1922
|
+
var Ji = Rn.filter(function(e) {
|
|
1923
|
+
return e !== _ || e !== be;
|
|
1924
1924
|
}), Qi = Object.keys(Qe).filter(function(e) {
|
|
1925
1925
|
return e !== _;
|
|
1926
1926
|
}).map(function(e) {
|
|
1927
1927
|
return Object.keys(Qe[e]);
|
|
1928
1928
|
}).flat();
|
|
1929
1929
|
function Zi(e) {
|
|
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 ===
|
|
1931
|
-
if (!c && (d ||
|
|
1932
|
-
var
|
|
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 === be, d = t.includes("fa-duotone") || t.includes("fad"), h = u.familyDefault === "duotone", p = a.prefix === "fad" || a.prefix === "fa-duotone";
|
|
1931
|
+
if (!c && (d || h || p) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && Ji.includes(n)) {
|
|
1932
|
+
var S = Object.keys(s).find(function(O) {
|
|
1933
1933
|
return Qi.includes(O);
|
|
1934
1934
|
});
|
|
1935
|
-
if (
|
|
1935
|
+
if (S || u.autoFetchSvg) {
|
|
1936
1936
|
var I = pr.get(n).defaultShortPrefixId;
|
|
1937
|
-
a.prefix = I, a.iconName =
|
|
1937
|
+
a.prefix = I, a.iconName = K(a.prefix, a.iconName) || a.iconName;
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
|
-
return (a.prefix === "fa" || i === "fa") && (a.prefix =
|
|
1940
|
+
return (a.prefix === "fa" || i === "fa") && (a.prefix = V() || "fas"), a;
|
|
1941
1941
|
}
|
|
1942
1942
|
var eo = /* @__PURE__ */ function() {
|
|
1943
1943
|
function e() {
|
|
1944
1944
|
ja(this, e), this.definitions = {};
|
|
1945
1945
|
}
|
|
1946
|
-
return
|
|
1946
|
+
return La(e, [{
|
|
1947
1947
|
key: "add",
|
|
1948
1948
|
value: function() {
|
|
1949
1949
|
for (var n = this, a = arguments.length, r = new Array(a), i = 0; i < a; i++)
|
|
@@ -1952,7 +1952,7 @@ var eo = /* @__PURE__ */ function() {
|
|
|
1952
1952
|
Object.keys(o).forEach(function(s) {
|
|
1953
1953
|
n.definitions[s] = f(f({}, n.definitions[s] || {}), o[s]), rt(s, o[s]);
|
|
1954
1954
|
var l = bt[_][s];
|
|
1955
|
-
l && rt(l, o[s]),
|
|
1955
|
+
l && rt(l, o[s]), fa();
|
|
1956
1956
|
});
|
|
1957
1957
|
}
|
|
1958
1958
|
}, {
|
|
@@ -1974,126 +1974,126 @@ var eo = /* @__PURE__ */ function() {
|
|
|
1974
1974
|
}), n;
|
|
1975
1975
|
}
|
|
1976
1976
|
}]);
|
|
1977
|
-
}(), Ht = [],
|
|
1977
|
+
}(), Ht = [], te = {}, ae = {}, to = Object.keys(ae);
|
|
1978
1978
|
function no(e, t) {
|
|
1979
1979
|
var n = t.mixoutsTo;
|
|
1980
|
-
return Ht = e,
|
|
1981
|
-
to.indexOf(a) === -1 && delete
|
|
1980
|
+
return Ht = e, te = {}, Object.keys(ae).forEach(function(a) {
|
|
1981
|
+
to.indexOf(a) === -1 && delete ae[a];
|
|
1982
1982
|
}), Ht.forEach(function(a) {
|
|
1983
1983
|
var r = a.mixout ? a.mixout() : {};
|
|
1984
1984
|
if (Object.keys(r).forEach(function(o) {
|
|
1985
|
-
typeof r[o] == "function" && (n[o] = r[o]),
|
|
1985
|
+
typeof r[o] == "function" && (n[o] = r[o]), Oe(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
1986
1986
|
n[o] || (n[o] = {}), n[o][s] = r[o][s];
|
|
1987
1987
|
});
|
|
1988
1988
|
}), a.hooks) {
|
|
1989
1989
|
var i = a.hooks();
|
|
1990
1990
|
Object.keys(i).forEach(function(o) {
|
|
1991
|
-
|
|
1991
|
+
te[o] || (te[o] = []), te[o].push(i[o]);
|
|
1992
1992
|
});
|
|
1993
1993
|
}
|
|
1994
|
-
a.provides && a.provides(
|
|
1994
|
+
a.provides && a.provides(ae);
|
|
1995
1995
|
}), n;
|
|
1996
1996
|
}
|
|
1997
1997
|
function it(e, t) {
|
|
1998
1998
|
for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
|
|
1999
1999
|
a[r - 2] = arguments[r];
|
|
2000
|
-
var i =
|
|
2000
|
+
var i = te[e] || [];
|
|
2001
2001
|
return i.forEach(function(o) {
|
|
2002
2002
|
t = o.apply(null, [t].concat(a));
|
|
2003
2003
|
}), t;
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function Z(e) {
|
|
2006
2006
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
2007
2007
|
n[a - 1] = arguments[a];
|
|
2008
|
-
var r =
|
|
2008
|
+
var r = te[e] || [];
|
|
2009
2009
|
r.forEach(function(i) {
|
|
2010
2010
|
i.apply(null, n);
|
|
2011
2011
|
});
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function X() {
|
|
2014
2014
|
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
2015
|
-
return
|
|
2015
|
+
return ae[e] ? ae[e].apply(null, t) : void 0;
|
|
2016
2016
|
}
|
|
2017
2017
|
function ot(e) {
|
|
2018
2018
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
2019
|
-
var t = e.iconName, n = e.prefix ||
|
|
2019
|
+
var t = e.iconName, n = e.prefix || V();
|
|
2020
2020
|
if (t)
|
|
2021
|
-
return t =
|
|
2021
|
+
return t = K(n, t) || t, Rt(da.definitions, n, t) || Rt(B.styles, n, t);
|
|
2022
2022
|
}
|
|
2023
|
-
var
|
|
2024
|
-
|
|
2023
|
+
var da = new eo(), ao = function() {
|
|
2024
|
+
v.autoReplaceSvg = !1, v.observeMutations = !1, Z("noAuto");
|
|
2025
2025
|
}, ro = {
|
|
2026
2026
|
i2svg: function() {
|
|
2027
2027
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2028
|
-
return
|
|
2028
|
+
return H ? (Z("beforeI2svg", t), X("pseudoElements2svg", t), X("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
2029
2029
|
},
|
|
2030
2030
|
watch: function() {
|
|
2031
2031
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
|
|
2032
|
-
|
|
2032
|
+
v.autoReplaceSvg === !1 && (v.autoReplaceSvg = !0), v.observeMutations = !0, Ri(function() {
|
|
2033
2033
|
oo({
|
|
2034
2034
|
autoReplaceSvgRoot: n
|
|
2035
|
-
}),
|
|
2035
|
+
}), Z("watch", t);
|
|
2036
2036
|
});
|
|
2037
2037
|
}
|
|
2038
2038
|
}, io = {
|
|
2039
2039
|
icon: function(t) {
|
|
2040
2040
|
if (t === null)
|
|
2041
2041
|
return null;
|
|
2042
|
-
if (
|
|
2042
|
+
if (Oe(t) === "object" && t.prefix && t.iconName)
|
|
2043
2043
|
return {
|
|
2044
2044
|
prefix: t.prefix,
|
|
2045
|
-
iconName:
|
|
2045
|
+
iconName: K(t.prefix, t.iconName) || t.iconName
|
|
2046
2046
|
};
|
|
2047
2047
|
if (Array.isArray(t) && t.length === 2) {
|
|
2048
2048
|
var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], a = Le(t[0]);
|
|
2049
2049
|
return {
|
|
2050
2050
|
prefix: a,
|
|
2051
|
-
iconName:
|
|
2051
|
+
iconName: K(a, n) || n
|
|
2052
2052
|
};
|
|
2053
2053
|
}
|
|
2054
|
-
if (typeof t == "string" && (t.indexOf("".concat(
|
|
2055
|
-
var r =
|
|
2054
|
+
if (typeof t == "string" && (t.indexOf("".concat(v.cssPrefix, "-")) > -1 || t.match(ki))) {
|
|
2055
|
+
var r = Be(t.split(" "), {
|
|
2056
2056
|
skipLookups: !0
|
|
2057
2057
|
});
|
|
2058
2058
|
return {
|
|
2059
|
-
prefix: r.prefix ||
|
|
2060
|
-
iconName:
|
|
2059
|
+
prefix: r.prefix || V(),
|
|
2060
|
+
iconName: K(r.prefix, r.iconName) || r.iconName
|
|
2061
2061
|
};
|
|
2062
2062
|
}
|
|
2063
2063
|
if (typeof t == "string") {
|
|
2064
|
-
var i =
|
|
2064
|
+
var i = V();
|
|
2065
2065
|
return {
|
|
2066
2066
|
prefix: i,
|
|
2067
|
-
iconName:
|
|
2067
|
+
iconName: K(i, t) || t
|
|
2068
2068
|
};
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
|
-
},
|
|
2071
|
+
}, E = {
|
|
2072
2072
|
noAuto: ao,
|
|
2073
|
-
config:
|
|
2073
|
+
config: v,
|
|
2074
2074
|
dom: ro,
|
|
2075
2075
|
parse: io,
|
|
2076
|
-
library:
|
|
2076
|
+
library: da,
|
|
2077
2077
|
findIconDefinition: ot,
|
|
2078
|
-
toHtml:
|
|
2078
|
+
toHtml: xe
|
|
2079
2079
|
}, oo = function() {
|
|
2080
2080
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? k : n;
|
|
2081
|
-
(Object.keys(
|
|
2081
|
+
(Object.keys(B.styles).length > 0 || v.autoFetchSvg) && H && v.autoReplaceSvg && E.dom.i2svg({
|
|
2082
2082
|
node: a
|
|
2083
2083
|
});
|
|
2084
2084
|
};
|
|
2085
|
-
function
|
|
2085
|
+
function De(e, t) {
|
|
2086
2086
|
return Object.defineProperty(e, "abstract", {
|
|
2087
2087
|
get: t
|
|
2088
2088
|
}), Object.defineProperty(e, "html", {
|
|
2089
2089
|
get: function() {
|
|
2090
2090
|
return e.abstract.map(function(a) {
|
|
2091
|
-
return
|
|
2091
|
+
return xe(a);
|
|
2092
2092
|
});
|
|
2093
2093
|
}
|
|
2094
2094
|
}), Object.defineProperty(e, "node", {
|
|
2095
2095
|
get: function() {
|
|
2096
|
-
if (
|
|
2096
|
+
if (H) {
|
|
2097
2097
|
var a = k.createElement("div");
|
|
2098
2098
|
return a.innerHTML = e.html, a.children;
|
|
2099
2099
|
}
|
|
@@ -2107,7 +2107,7 @@ function so(e) {
|
|
|
2107
2107
|
x: s / l / 2,
|
|
2108
2108
|
y: 0.5
|
|
2109
2109
|
};
|
|
2110
|
-
r.style =
|
|
2110
|
+
r.style = $e(f(f({}, i), {}, {
|
|
2111
2111
|
"transform-origin": "".concat(u.x + o.x / 16, "em ").concat(u.y + o.y / 16, "em")
|
|
2112
2112
|
}));
|
|
2113
2113
|
}
|
|
@@ -2118,7 +2118,7 @@ function so(e) {
|
|
|
2118
2118
|
}];
|
|
2119
2119
|
}
|
|
2120
2120
|
function lo(e) {
|
|
2121
|
-
var t = e.prefix, n = e.iconName, a = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(
|
|
2121
|
+
var t = e.prefix, n = e.iconName, a = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(v.cssPrefix, "-").concat(n) : i;
|
|
2122
2122
|
return [{
|
|
2123
2123
|
tag: "svg",
|
|
2124
2124
|
attributes: {
|
|
@@ -2139,8 +2139,8 @@ function fo(e) {
|
|
|
2139
2139
|
return n in e;
|
|
2140
2140
|
});
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
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,
|
|
2142
|
+
function At(e) {
|
|
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, h = a.found ? a : n, p = h.width, S = h.height, I = [v.replacementClass, i ? "".concat(v.cssPrefix, "-").concat(i) : ""].filter(function(F) {
|
|
2144
2144
|
return u.classes.indexOf(F) === -1;
|
|
2145
2145
|
}).filter(function(F) {
|
|
2146
2146
|
return F !== "" || !!F;
|
|
@@ -2151,10 +2151,10 @@ function St(e) {
|
|
|
2151
2151
|
"data-icon": i,
|
|
2152
2152
|
class: I,
|
|
2153
2153
|
role: u.attributes.role || "img",
|
|
2154
|
-
viewBox: "0 0 ".concat(p, " ").concat(
|
|
2154
|
+
viewBox: "0 0 ".concat(p, " ").concat(S)
|
|
2155
2155
|
})
|
|
2156
2156
|
};
|
|
2157
|
-
!fo(u.attributes) && !u.attributes["aria-hidden"] && (O.attributes["aria-hidden"] = "true"), d && (O.attributes[
|
|
2157
|
+
!fo(u.attributes) && !u.attributes["aria-hidden"] && (O.attributes["aria-hidden"] = "true"), d && (O.attributes[Q] = "");
|
|
2158
2158
|
var m = f(f({}, O), {}, {
|
|
2159
2159
|
prefix: r,
|
|
2160
2160
|
iconName: i,
|
|
@@ -2164,27 +2164,27 @@ function St(e) {
|
|
|
2164
2164
|
transform: o,
|
|
2165
2165
|
symbol: s,
|
|
2166
2166
|
styles: f({}, u.styles)
|
|
2167
|
-
}), g = a.found && n.found ?
|
|
2167
|
+
}), g = a.found && n.found ? X("generateAbstractMask", m) || {
|
|
2168
2168
|
children: [],
|
|
2169
2169
|
attributes: {}
|
|
2170
|
-
} :
|
|
2170
|
+
} : X("generateAbstractIcon", m) || {
|
|
2171
2171
|
children: [],
|
|
2172
2172
|
attributes: {}
|
|
2173
|
-
},
|
|
2174
|
-
return m.children =
|
|
2173
|
+
}, A = g.children, M = g.attributes;
|
|
2174
|
+
return m.children = A, m.attributes = M, s ? lo(m) : so(m);
|
|
2175
2175
|
}
|
|
2176
2176
|
function Gt(e) {
|
|
2177
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), {}, {
|
|
2178
2178
|
class: i.classes.join(" ")
|
|
2179
2179
|
});
|
|
2180
|
-
s && (l[
|
|
2180
|
+
s && (l[Q] = "");
|
|
2181
2181
|
var u = f({}, i.styles);
|
|
2182
|
-
xt(r) && (u.transform =
|
|
2182
|
+
xt(r) && (u.transform = Bi({
|
|
2183
2183
|
transform: r,
|
|
2184
2184
|
width: n,
|
|
2185
2185
|
height: a
|
|
2186
2186
|
}), u["-webkit-transform"] = u.transform);
|
|
2187
|
-
var c =
|
|
2187
|
+
var c = $e(u);
|
|
2188
2188
|
c.length > 0 && (l.style = c);
|
|
2189
2189
|
var d = [];
|
|
2190
2190
|
return d.push({
|
|
@@ -2196,7 +2196,7 @@ function Gt(e) {
|
|
|
2196
2196
|
function uo(e) {
|
|
2197
2197
|
var t = e.content, n = e.extra, a = f(f({}, n.attributes), {}, {
|
|
2198
2198
|
class: n.classes.join(" ")
|
|
2199
|
-
}), r =
|
|
2199
|
+
}), r = $e(n.styles);
|
|
2200
2200
|
r.length > 0 && (a.style = r);
|
|
2201
2201
|
var i = [];
|
|
2202
2202
|
return i.push({
|
|
@@ -2205,25 +2205,25 @@ function uo(e) {
|
|
|
2205
2205
|
children: [t]
|
|
2206
2206
|
}), i;
|
|
2207
2207
|
}
|
|
2208
|
-
var
|
|
2208
|
+
var Ve = B.styles;
|
|
2209
2209
|
function st(e) {
|
|
2210
|
-
var t = e[0], n = e[1], a = e.slice(4), r =
|
|
2210
|
+
var t = e[0], n = e[1], a = e.slice(4), r = je(a, 1), i = r[0], o = null;
|
|
2211
2211
|
return Array.isArray(i) ? o = {
|
|
2212
2212
|
tag: "g",
|
|
2213
2213
|
attributes: {
|
|
2214
|
-
class: "".concat(
|
|
2214
|
+
class: "".concat(v.cssPrefix, "-").concat(Ye.GROUP)
|
|
2215
2215
|
},
|
|
2216
2216
|
children: [{
|
|
2217
2217
|
tag: "path",
|
|
2218
2218
|
attributes: {
|
|
2219
|
-
class: "".concat(
|
|
2219
|
+
class: "".concat(v.cssPrefix, "-").concat(Ye.SECONDARY),
|
|
2220
2220
|
fill: "currentColor",
|
|
2221
2221
|
d: i[0]
|
|
2222
2222
|
}
|
|
2223
2223
|
}, {
|
|
2224
2224
|
tag: "path",
|
|
2225
2225
|
attributes: {
|
|
2226
|
-
class: "".concat(
|
|
2226
|
+
class: "".concat(v.cssPrefix, "-").concat(Ye.PRIMARY),
|
|
2227
2227
|
fill: "currentColor",
|
|
2228
2228
|
d: i[1]
|
|
2229
2229
|
}
|
|
@@ -2247,41 +2247,41 @@ var co = {
|
|
|
2247
2247
|
height: 512
|
|
2248
2248
|
};
|
|
2249
2249
|
function mo(e, t) {
|
|
2250
|
-
!
|
|
2250
|
+
!Xn && !v.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
2251
2251
|
}
|
|
2252
2252
|
function lt(e, t) {
|
|
2253
2253
|
var n = t;
|
|
2254
|
-
return t === "fa" &&
|
|
2254
|
+
return t === "fa" && v.styleDefault !== null && (t = V()), new Promise(function(a, r) {
|
|
2255
2255
|
if (n === "fa") {
|
|
2256
|
-
var i =
|
|
2256
|
+
var i = ua(e) || {};
|
|
2257
2257
|
e = i.iconName || e, t = i.prefix || t;
|
|
2258
2258
|
}
|
|
2259
|
-
if (e && t &&
|
|
2260
|
-
var o =
|
|
2259
|
+
if (e && t && Ve[t] && Ve[t][e]) {
|
|
2260
|
+
var o = Ve[t][e];
|
|
2261
2261
|
return a(st(o));
|
|
2262
2262
|
}
|
|
2263
2263
|
mo(e, t), a(f(f({}, co), {}, {
|
|
2264
|
-
icon:
|
|
2264
|
+
icon: v.showMissingIcons && e ? X("missingIconAbstract") || {} : {}
|
|
2265
2265
|
}));
|
|
2266
2266
|
});
|
|
2267
2267
|
}
|
|
2268
2268
|
var Vt = function() {
|
|
2269
|
-
}, ft =
|
|
2269
|
+
}, ft = v.measurePerformance && Se && Se.mark && Se.measure ? Se : {
|
|
2270
2270
|
mark: Vt,
|
|
2271
2271
|
measure: Vt
|
|
2272
|
-
},
|
|
2273
|
-
return ft.mark("".concat(
|
|
2274
|
-
return
|
|
2272
|
+
}, ue = 'FA "7.2.0"', po = function(t) {
|
|
2273
|
+
return ft.mark("".concat(ue, " ").concat(t, " begins")), function() {
|
|
2274
|
+
return ma(t);
|
|
2275
2275
|
};
|
|
2276
|
-
},
|
|
2277
|
-
ft.mark("".concat(
|
|
2276
|
+
}, ma = function(t) {
|
|
2277
|
+
ft.mark("".concat(ue, " ").concat(t, " ends")), ft.measure("".concat(ue, " ").concat(t), "".concat(ue, " ").concat(t, " begins"), "".concat(ue, " ").concat(t, " ends"));
|
|
2278
2278
|
}, kt = {
|
|
2279
2279
|
begin: po,
|
|
2280
|
-
end:
|
|
2281
|
-
},
|
|
2280
|
+
end: ma
|
|
2281
|
+
}, Me = function() {
|
|
2282
2282
|
};
|
|
2283
2283
|
function Xt(e) {
|
|
2284
|
-
var t = e.getAttribute ? e.getAttribute(
|
|
2284
|
+
var t = e.getAttribute ? e.getAttribute(Q) : null;
|
|
2285
2285
|
return typeof t == "string";
|
|
2286
2286
|
}
|
|
2287
2287
|
function ho(e) {
|
|
@@ -2289,13 +2289,13 @@ function ho(e) {
|
|
|
2289
2289
|
return t && n;
|
|
2290
2290
|
}
|
|
2291
2291
|
function vo(e) {
|
|
2292
|
-
return e && e.classList && e.classList.contains && e.classList.contains(
|
|
2292
|
+
return e && e.classList && e.classList.contains && e.classList.contains(v.replacementClass);
|
|
2293
2293
|
}
|
|
2294
2294
|
function go() {
|
|
2295
|
-
if (
|
|
2296
|
-
return
|
|
2297
|
-
var e =
|
|
2298
|
-
return e ||
|
|
2295
|
+
if (v.autoReplaceSvg === !0)
|
|
2296
|
+
return Pe.replace;
|
|
2297
|
+
var e = Pe[v.autoReplaceSvg];
|
|
2298
|
+
return e || Pe.replace;
|
|
2299
2299
|
}
|
|
2300
2300
|
function yo(e) {
|
|
2301
2301
|
return k.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -2303,7 +2303,7 @@ function yo(e) {
|
|
|
2303
2303
|
function bo(e) {
|
|
2304
2304
|
return k.createElement(e);
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function pa(e) {
|
|
2307
2307
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ? yo : bo : n;
|
|
2308
2308
|
if (typeof e == "string")
|
|
2309
2309
|
return k.createTextNode(e);
|
|
@@ -2313,7 +2313,7 @@ function ha(e) {
|
|
|
2313
2313
|
});
|
|
2314
2314
|
var i = e.children || [];
|
|
2315
2315
|
return i.forEach(function(o) {
|
|
2316
|
-
r.appendChild(
|
|
2316
|
+
r.appendChild(pa(o, {
|
|
2317
2317
|
ceFn: a
|
|
2318
2318
|
}));
|
|
2319
2319
|
}), r;
|
|
@@ -2322,13 +2322,13 @@ function Io(e) {
|
|
|
2322
2322
|
var t = " ".concat(e.outerHTML, " ");
|
|
2323
2323
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
2324
2324
|
}
|
|
2325
|
-
var
|
|
2325
|
+
var Pe = {
|
|
2326
2326
|
replace: function(t) {
|
|
2327
2327
|
var n = t[0];
|
|
2328
2328
|
if (n.parentNode)
|
|
2329
2329
|
if (t[1].forEach(function(r) {
|
|
2330
|
-
n.parentNode.insertBefore(
|
|
2331
|
-
}), n.getAttribute(
|
|
2330
|
+
n.parentNode.insertBefore(pa(r), n);
|
|
2331
|
+
}), n.getAttribute(Q) === null && v.keepOriginalSource) {
|
|
2332
2332
|
var a = k.createComment(Io(n));
|
|
2333
2333
|
n.parentNode.replaceChild(a, n);
|
|
2334
2334
|
} else
|
|
@@ -2336,12 +2336,12 @@ var Oe = {
|
|
|
2336
2336
|
},
|
|
2337
2337
|
nest: function(t) {
|
|
2338
2338
|
var n = t[0], a = t[1];
|
|
2339
|
-
if (~It(n).indexOf(
|
|
2340
|
-
return
|
|
2341
|
-
var r = new RegExp("".concat(
|
|
2339
|
+
if (~It(n).indexOf(v.replacementClass))
|
|
2340
|
+
return Pe.replace(t);
|
|
2341
|
+
var r = new RegExp("".concat(v.cssPrefix, "-.*"));
|
|
2342
2342
|
if (delete a[0].attributes.id, a[0].attributes.class) {
|
|
2343
2343
|
var i = a[0].attributes.class.split(" ").reduce(function(s, l) {
|
|
2344
|
-
return l ===
|
|
2344
|
+
return l === v.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
|
|
2345
2345
|
}, {
|
|
2346
2346
|
toNode: [],
|
|
2347
2347
|
toSvg: []
|
|
@@ -2349,50 +2349,50 @@ var Oe = {
|
|
|
2349
2349
|
a[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? n.removeAttribute("class") : n.setAttribute("class", i.toNode.join(" "));
|
|
2350
2350
|
}
|
|
2351
2351
|
var o = a.map(function(s) {
|
|
2352
|
-
return
|
|
2352
|
+
return xe(s);
|
|
2353
2353
|
}).join(`
|
|
2354
2354
|
`);
|
|
2355
|
-
n.setAttribute(
|
|
2355
|
+
n.setAttribute(Q, ""), n.innerHTML = o;
|
|
2356
2356
|
}
|
|
2357
2357
|
};
|
|
2358
2358
|
function Kt(e) {
|
|
2359
2359
|
e();
|
|
2360
2360
|
}
|
|
2361
|
-
function
|
|
2362
|
-
var n = typeof t == "function" ? t :
|
|
2361
|
+
function ha(e, t) {
|
|
2362
|
+
var n = typeof t == "function" ? t : Me;
|
|
2363
2363
|
if (e.length === 0)
|
|
2364
2364
|
n();
|
|
2365
2365
|
else {
|
|
2366
2366
|
var a = Kt;
|
|
2367
|
-
|
|
2367
|
+
v.mutateApproach === wi && (a = G.requestAnimationFrame || Kt), a(function() {
|
|
2368
2368
|
var r = go(), i = kt.begin("mutate");
|
|
2369
2369
|
e.map(r), i(), n();
|
|
2370
2370
|
});
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
2373
|
var Mt = !1;
|
|
2374
|
-
function
|
|
2374
|
+
function va() {
|
|
2375
2375
|
Mt = !0;
|
|
2376
2376
|
}
|
|
2377
2377
|
function ut() {
|
|
2378
2378
|
Mt = !1;
|
|
2379
2379
|
}
|
|
2380
|
-
var
|
|
2380
|
+
var _e = null;
|
|
2381
2381
|
function qt(e) {
|
|
2382
|
-
if (Nt &&
|
|
2383
|
-
var t = e.treeCallback, n = t === void 0 ?
|
|
2384
|
-
|
|
2382
|
+
if (Nt && v.observeMutations) {
|
|
2383
|
+
var t = e.treeCallback, n = t === void 0 ? Me : t, a = e.nodeCallback, r = a === void 0 ? Me : a, i = e.pseudoElementsCallback, o = i === void 0 ? Me : i, s = e.observeMutationsRoot, l = s === void 0 ? k : s;
|
|
2384
|
+
_e = new Nt(function(u) {
|
|
2385
2385
|
if (!Mt) {
|
|
2386
|
-
var c =
|
|
2387
|
-
|
|
2388
|
-
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (
|
|
2386
|
+
var c = V();
|
|
2387
|
+
le(u).forEach(function(d) {
|
|
2388
|
+
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (v.searchPseudoElements && o(d.target), n(d.target)), d.type === "attributes" && d.target.parentNode && v.searchPseudoElements && o([d.target], !0), d.type === "attributes" && Xt(d.target) && ~Oi.indexOf(d.attributeName))
|
|
2389
2389
|
if (d.attributeName === "class" && ho(d.target)) {
|
|
2390
|
-
var
|
|
2391
|
-
d.target.setAttribute(gt, p || c),
|
|
2390
|
+
var h = Be(It(d.target)), p = h.prefix, S = h.iconName;
|
|
2391
|
+
d.target.setAttribute(gt, p || c), S && d.target.setAttribute(yt, S);
|
|
2392
2392
|
} else vo(d.target) && r(d.target);
|
|
2393
2393
|
});
|
|
2394
2394
|
}
|
|
2395
|
-
}),
|
|
2395
|
+
}), H && _e.observe(l, {
|
|
2396
2396
|
childList: !0,
|
|
2397
2397
|
attributes: !0,
|
|
2398
2398
|
characterData: !0,
|
|
@@ -2401,7 +2401,7 @@ function qt(e) {
|
|
|
2401
2401
|
}
|
|
2402
2402
|
}
|
|
2403
2403
|
function xo() {
|
|
2404
|
-
|
|
2404
|
+
_e && _e.disconnect();
|
|
2405
2405
|
}
|
|
2406
2406
|
function wo(e) {
|
|
2407
2407
|
var t = e.getAttribute("style"), n = [];
|
|
@@ -2410,12 +2410,12 @@ function wo(e) {
|
|
|
2410
2410
|
return o && s.length > 0 && (a[o] = s.join(":").trim()), a;
|
|
2411
2411
|
}, {})), n;
|
|
2412
2412
|
}
|
|
2413
|
-
function Ao(e) {
|
|
2414
|
-
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = De(It(e));
|
|
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 = Gi(r.prefix, e.innerText) || At(r.prefix, aa(e.innerText))), !r.iconName && h.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
2416
|
-
}
|
|
2417
2413
|
function So(e) {
|
|
2418
|
-
var t =
|
|
2414
|
+
var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = Be(It(e));
|
|
2415
|
+
return r.prefix || (r.prefix = V()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Gi(r.prefix, e.innerText) || St(r.prefix, na(e.innerText))), !r.iconName && v.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
2416
|
+
}
|
|
2417
|
+
function Ao(e) {
|
|
2418
|
+
var t = le(e.attributes).reduce(function(n, a) {
|
|
2419
2419
|
return n.name !== "class" && n.name !== "style" && (n[a.name] = a.value), n;
|
|
2420
2420
|
}, {});
|
|
2421
2421
|
return t;
|
|
@@ -2442,7 +2442,7 @@ function ko() {
|
|
|
2442
2442
|
function Jt(e) {
|
|
2443
2443
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
2444
2444
|
styleParser: !0
|
|
2445
|
-
}, n =
|
|
2445
|
+
}, n = So(e), a = n.iconName, r = n.prefix, i = n.rest, o = Ao(e), s = it("parseNodeAttributes", {}, e), l = t.styleParser ? wo(e) : [];
|
|
2446
2446
|
return f({
|
|
2447
2447
|
iconName: a,
|
|
2448
2448
|
prefix: r,
|
|
@@ -2461,33 +2461,33 @@ function Jt(e) {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
}, s);
|
|
2463
2463
|
}
|
|
2464
|
-
var Mo =
|
|
2465
|
-
function
|
|
2466
|
-
var t =
|
|
2464
|
+
var Mo = B.styles;
|
|
2465
|
+
function ga(e) {
|
|
2466
|
+
var t = v.autoReplaceSvg === "nest" ? Jt(e, {
|
|
2467
2467
|
styleParser: !1
|
|
2468
2468
|
}) : Jt(e);
|
|
2469
|
-
return ~t.extra.classes.indexOf(
|
|
2469
|
+
return ~t.extra.classes.indexOf(qn) ? X("generateLayersText", e, t) : X("generateSvgReplacementMutation", e, t);
|
|
2470
2470
|
}
|
|
2471
2471
|
function Po() {
|
|
2472
|
-
return [].concat(D(
|
|
2472
|
+
return [].concat(D(Wn), D(Un));
|
|
2473
2473
|
}
|
|
2474
2474
|
function Qt(e) {
|
|
2475
2475
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2476
|
-
if (!
|
|
2476
|
+
if (!H) return Promise.resolve();
|
|
2477
2477
|
var n = k.documentElement.classList, a = function(d) {
|
|
2478
|
-
return n.add("".concat(
|
|
2478
|
+
return n.add("".concat(Lt, "-").concat(d));
|
|
2479
2479
|
}, r = function(d) {
|
|
2480
|
-
return n.remove("".concat(
|
|
2481
|
-
}, i =
|
|
2480
|
+
return n.remove("".concat(Lt, "-").concat(d));
|
|
2481
|
+
}, i = v.autoFetchSvg ? Po() : Sn.concat(Object.keys(Mo));
|
|
2482
2482
|
i.includes("fa") || i.push("fa");
|
|
2483
|
-
var o = [".".concat(
|
|
2484
|
-
return ".".concat(c, ":not([").concat(
|
|
2483
|
+
var o = [".".concat(qn, ":not([").concat(Q, "])")].concat(i.map(function(c) {
|
|
2484
|
+
return ".".concat(c, ":not([").concat(Q, "])");
|
|
2485
2485
|
})).join(", ");
|
|
2486
2486
|
if (o.length === 0)
|
|
2487
2487
|
return Promise.resolve();
|
|
2488
2488
|
var s = [];
|
|
2489
2489
|
try {
|
|
2490
|
-
s =
|
|
2490
|
+
s = le(e.querySelectorAll(o));
|
|
2491
2491
|
} catch {
|
|
2492
2492
|
}
|
|
2493
2493
|
if (s.length > 0)
|
|
@@ -2496,27 +2496,27 @@ function Qt(e) {
|
|
|
2496
2496
|
return Promise.resolve();
|
|
2497
2497
|
var l = kt.begin("onTree"), u = s.reduce(function(c, d) {
|
|
2498
2498
|
try {
|
|
2499
|
-
var
|
|
2500
|
-
|
|
2499
|
+
var h = ga(d);
|
|
2500
|
+
h && c.push(h);
|
|
2501
2501
|
} catch (p) {
|
|
2502
|
-
|
|
2502
|
+
Xn || p.name === "MissingIcon" && console.error(p);
|
|
2503
2503
|
}
|
|
2504
2504
|
return c;
|
|
2505
2505
|
}, []);
|
|
2506
2506
|
return new Promise(function(c, d) {
|
|
2507
|
-
Promise.all(u).then(function(
|
|
2508
|
-
|
|
2507
|
+
Promise.all(u).then(function(h) {
|
|
2508
|
+
ha(h, function() {
|
|
2509
2509
|
a("active"), a("complete"), r("pending"), typeof t == "function" && t(), l(), c();
|
|
2510
2510
|
});
|
|
2511
|
-
}).catch(function(
|
|
2512
|
-
l(), d(
|
|
2511
|
+
}).catch(function(h) {
|
|
2512
|
+
l(), d(h);
|
|
2513
2513
|
});
|
|
2514
2514
|
});
|
|
2515
2515
|
}
|
|
2516
2516
|
function Oo(e) {
|
|
2517
2517
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2518
|
-
|
|
2519
|
-
n &&
|
|
2518
|
+
ga(e).then(function(n) {
|
|
2519
|
+
n && ha([n], t);
|
|
2520
2520
|
});
|
|
2521
2521
|
}
|
|
2522
2522
|
function Fo(e) {
|
|
@@ -2528,18 +2528,18 @@ function Fo(e) {
|
|
|
2528
2528
|
};
|
|
2529
2529
|
}
|
|
2530
2530
|
var _o = 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,
|
|
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, h = d === void 0 ? [] : d, p = n.attributes, S = p === void 0 ? {} : p, I = n.styles, O = I === void 0 ? {} : I;
|
|
2532
2532
|
if (t) {
|
|
2533
|
-
var m = t.prefix, g = t.iconName,
|
|
2534
|
-
return
|
|
2533
|
+
var m = t.prefix, g = t.iconName, A = t.icon;
|
|
2534
|
+
return De(f({
|
|
2535
2535
|
type: "icon"
|
|
2536
2536
|
}, t), function() {
|
|
2537
|
-
return
|
|
2537
|
+
return Z("beforeDOMElementCreation", {
|
|
2538
2538
|
iconDefinition: t,
|
|
2539
2539
|
params: n
|
|
2540
|
-
}),
|
|
2540
|
+
}), At({
|
|
2541
2541
|
icons: {
|
|
2542
|
-
main: st(
|
|
2542
|
+
main: st(A),
|
|
2543
2543
|
mask: l ? st(l.icon) : {
|
|
2544
2544
|
found: !1,
|
|
2545
2545
|
width: null,
|
|
@@ -2553,9 +2553,9 @@ var _o = function(t) {
|
|
|
2553
2553
|
symbol: o,
|
|
2554
2554
|
maskId: c,
|
|
2555
2555
|
extra: {
|
|
2556
|
-
attributes:
|
|
2556
|
+
attributes: S,
|
|
2557
2557
|
styles: O,
|
|
2558
|
-
classes:
|
|
2558
|
+
classes: h
|
|
2559
2559
|
}
|
|
2560
2560
|
});
|
|
2561
2561
|
});
|
|
@@ -2580,15 +2580,15 @@ var _o = function(t) {
|
|
|
2580
2580
|
return Qt(r, o);
|
|
2581
2581
|
}, t.generateSvgReplacementMutation = function(n, a) {
|
|
2582
2582
|
var r = a.iconName, i = a.prefix, o = a.transform, s = a.symbol, l = a.mask, u = a.maskId, c = a.extra;
|
|
2583
|
-
return new Promise(function(d,
|
|
2583
|
+
return new Promise(function(d, h) {
|
|
2584
2584
|
Promise.all([lt(r, i), l.iconName ? lt(l.iconName, l.prefix) : Promise.resolve({
|
|
2585
2585
|
found: !1,
|
|
2586
2586
|
width: 512,
|
|
2587
2587
|
height: 512,
|
|
2588
2588
|
icon: {}
|
|
2589
2589
|
})]).then(function(p) {
|
|
2590
|
-
var
|
|
2591
|
-
d([n,
|
|
2590
|
+
var S = je(p, 2), I = S[0], O = S[1];
|
|
2591
|
+
d([n, At({
|
|
2592
2592
|
icons: {
|
|
2593
2593
|
main: I,
|
|
2594
2594
|
mask: O
|
|
@@ -2601,13 +2601,13 @@ var _o = function(t) {
|
|
|
2601
2601
|
extra: c,
|
|
2602
2602
|
watchable: !0
|
|
2603
2603
|
})]);
|
|
2604
|
-
}).catch(
|
|
2604
|
+
}).catch(h);
|
|
2605
2605
|
});
|
|
2606
2606
|
}, t.generateAbstractIcon = function(n) {
|
|
2607
|
-
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, l =
|
|
2607
|
+
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, l = $e(s);
|
|
2608
2608
|
l.length > 0 && (r.style = l);
|
|
2609
2609
|
var u;
|
|
2610
|
-
return xt(o) && (u =
|
|
2610
|
+
return xt(o) && (u = X("generateAbstractTransformGrouping", {
|
|
2611
2611
|
main: i,
|
|
2612
2612
|
transform: o,
|
|
2613
2613
|
containerWidth: i.width,
|
|
@@ -2618,15 +2618,15 @@ var _o = function(t) {
|
|
|
2618
2618
|
};
|
|
2619
2619
|
};
|
|
2620
2620
|
}
|
|
2621
|
-
},
|
|
2621
|
+
}, Co = {
|
|
2622
2622
|
mixout: function() {
|
|
2623
2623
|
return {
|
|
2624
2624
|
layer: function(n) {
|
|
2625
2625
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.classes, i = r === void 0 ? [] : r;
|
|
2626
|
-
return
|
|
2626
|
+
return De({
|
|
2627
2627
|
type: "layer"
|
|
2628
2628
|
}, function() {
|
|
2629
|
-
|
|
2629
|
+
Z("beforeDOMElementCreation", {
|
|
2630
2630
|
assembler: n,
|
|
2631
2631
|
params: a
|
|
2632
2632
|
});
|
|
@@ -2638,7 +2638,7 @@ var _o = function(t) {
|
|
|
2638
2638
|
}), [{
|
|
2639
2639
|
tag: "span",
|
|
2640
2640
|
attributes: {
|
|
2641
|
-
class: ["".concat(
|
|
2641
|
+
class: ["".concat(v.cssPrefix, "-layers")].concat(D(i)).join(" ")
|
|
2642
2642
|
},
|
|
2643
2643
|
children: o
|
|
2644
2644
|
}];
|
|
@@ -2646,18 +2646,18 @@ var _o = function(t) {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
};
|
|
2648
2648
|
}
|
|
2649
|
-
},
|
|
2649
|
+
}, Eo = {
|
|
2650
2650
|
mixout: function() {
|
|
2651
2651
|
return {
|
|
2652
2652
|
counter: function(n) {
|
|
2653
2653
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2654
2654
|
a.title;
|
|
2655
2655
|
var r = a.classes, i = r === void 0 ? [] : r, o = a.attributes, s = o === void 0 ? {} : o, l = a.styles, u = l === void 0 ? {} : l;
|
|
2656
|
-
return
|
|
2656
|
+
return De({
|
|
2657
2657
|
type: "counter",
|
|
2658
2658
|
content: n
|
|
2659
2659
|
}, function() {
|
|
2660
|
-
return
|
|
2660
|
+
return Z("beforeDOMElementCreation", {
|
|
2661
2661
|
content: n,
|
|
2662
2662
|
params: a
|
|
2663
2663
|
}), uo({
|
|
@@ -2665,7 +2665,7 @@ var _o = function(t) {
|
|
|
2665
2665
|
extra: {
|
|
2666
2666
|
attributes: s,
|
|
2667
2667
|
styles: u,
|
|
2668
|
-
classes: ["".concat(
|
|
2668
|
+
classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(D(i))
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
2671
|
});
|
|
@@ -2677,11 +2677,11 @@ var _o = function(t) {
|
|
|
2677
2677
|
return {
|
|
2678
2678
|
text: function(n) {
|
|
2679
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;
|
|
2680
|
-
return
|
|
2680
|
+
return De({
|
|
2681
2681
|
type: "text",
|
|
2682
2682
|
content: n
|
|
2683
2683
|
}, function() {
|
|
2684
|
-
return
|
|
2684
|
+
return Z("beforeDOMElementCreation", {
|
|
2685
2685
|
content: n,
|
|
2686
2686
|
params: a
|
|
2687
2687
|
}), Gt({
|
|
@@ -2690,7 +2690,7 @@ var _o = function(t) {
|
|
|
2690
2690
|
extra: {
|
|
2691
2691
|
attributes: u,
|
|
2692
2692
|
styles: d,
|
|
2693
|
-
classes: ["".concat(
|
|
2693
|
+
classes: ["".concat(v.cssPrefix, "-layers-text")].concat(D(s))
|
|
2694
2694
|
}
|
|
2695
2695
|
});
|
|
2696
2696
|
});
|
|
@@ -2700,7 +2700,7 @@ var _o = function(t) {
|
|
|
2700
2700
|
provides: function(t) {
|
|
2701
2701
|
t.generateLayersText = function(n, a) {
|
|
2702
2702
|
var r = a.transform, i = a.extra, o = null, s = null;
|
|
2703
|
-
if (
|
|
2703
|
+
if (xn) {
|
|
2704
2704
|
var l = parseInt(getComputedStyle(n).fontSize, 10), u = n.getBoundingClientRect();
|
|
2705
2705
|
o = u.width / l, s = u.height / l;
|
|
2706
2706
|
}
|
|
@@ -2714,7 +2714,7 @@ var _o = function(t) {
|
|
|
2714
2714
|
})]);
|
|
2715
2715
|
};
|
|
2716
2716
|
}
|
|
2717
|
-
},
|
|
2717
|
+
}, ya = new RegExp('"', "ug"), Zt = [1105920, 1112319], en = f(f(f(f({}, {
|
|
2718
2718
|
FontAwesome: {
|
|
2719
2719
|
normal: "fas",
|
|
2720
2720
|
400: "fas"
|
|
@@ -2726,14 +2726,14 @@ var _o = function(t) {
|
|
|
2726
2726
|
return e[t] = n[900] || D(Object.entries(n))[0][1], e;
|
|
2727
2727
|
}, {});
|
|
2728
2728
|
function $o(e) {
|
|
2729
|
-
var t = e.replace(
|
|
2730
|
-
return
|
|
2729
|
+
var t = e.replace(ya, "");
|
|
2730
|
+
return na(D(t)[0] || "");
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2733
|
-
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), n = e.getPropertyValue("content"), a = n.replace(
|
|
2732
|
+
function Lo(e) {
|
|
2733
|
+
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), n = e.getPropertyValue("content"), a = n.replace(ya, ""), r = a.codePointAt(0), i = r >= Zt[0] && r <= Zt[1], o = a.length === 2 ? a[0] === a[1] : !1;
|
|
2734
2734
|
return i || o || t;
|
|
2735
2735
|
}
|
|
2736
|
-
function
|
|
2736
|
+
function Bo(e, t) {
|
|
2737
2737
|
var n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), a = parseInt(t), r = isNaN(a) ? "normal" : a;
|
|
2738
2738
|
return (ct[n] || {})[r] || jo[n];
|
|
2739
2739
|
}
|
|
@@ -2742,33 +2742,33 @@ function tn(e, t) {
|
|
|
2742
2742
|
return new Promise(function(a, r) {
|
|
2743
2743
|
if (e.getAttribute(n) !== null)
|
|
2744
2744
|
return a();
|
|
2745
|
-
var i =
|
|
2745
|
+
var i = le(e.children), o = i.filter(function(z) {
|
|
2746
2746
|
return z.getAttribute(et) === t;
|
|
2747
|
-
})[0], s =
|
|
2747
|
+
})[0], s = G.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(Mi), c = s.getPropertyValue("font-weight"), d = s.getPropertyValue("content");
|
|
2748
2748
|
if (o && !u)
|
|
2749
2749
|
return e.removeChild(o), a();
|
|
2750
2750
|
if (u && d !== "none" && d !== "") {
|
|
2751
|
-
var
|
|
2751
|
+
var h = s.getPropertyValue("content"), p = Bo(l, c), S = $o(h), I = u[0].startsWith("FontAwesome"), O = Lo(s), m = St(p, S), g = m;
|
|
2752
2752
|
if (I) {
|
|
2753
|
-
var
|
|
2754
|
-
|
|
2753
|
+
var A = Vi(S);
|
|
2754
|
+
A.iconName && A.prefix && (m = A.iconName, p = A.prefix);
|
|
2755
2755
|
}
|
|
2756
2756
|
if (m && !O && (!o || o.getAttribute(gt) !== p || o.getAttribute(yt) !== g)) {
|
|
2757
2757
|
e.setAttribute(n, g), o && e.removeChild(o);
|
|
2758
2758
|
var M = ko(), F = M.extra;
|
|
2759
2759
|
F.attributes[et] = t, lt(m, p).then(function(z) {
|
|
2760
|
-
var
|
|
2760
|
+
var fe = At(f(f({}, M), {}, {
|
|
2761
2761
|
icons: {
|
|
2762
2762
|
main: z,
|
|
2763
|
-
mask:
|
|
2763
|
+
mask: ca()
|
|
2764
2764
|
},
|
|
2765
2765
|
prefix: p,
|
|
2766
2766
|
iconName: g,
|
|
2767
2767
|
extra: F,
|
|
2768
2768
|
watchable: !0
|
|
2769
|
-
})),
|
|
2770
|
-
t === "::before" ? e.insertBefore(
|
|
2771
|
-
return
|
|
2769
|
+
})), Re = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2770
|
+
t === "::before" ? e.insertBefore(Re, e.firstChild) : e.appendChild(Re), Re.outerHTML = fe.map(function(Aa) {
|
|
2771
|
+
return xe(Aa);
|
|
2772
2772
|
}).join(`
|
|
2773
2773
|
`), e.removeAttribute(n), a();
|
|
2774
2774
|
}).catch(r);
|
|
@@ -2782,10 +2782,10 @@ function Do(e) {
|
|
|
2782
2782
|
return Promise.all([tn(e, "::before"), tn(e, "::after")]);
|
|
2783
2783
|
}
|
|
2784
2784
|
function zo(e) {
|
|
2785
|
-
return e.parentNode !== document.head && !~
|
|
2785
|
+
return e.parentNode !== document.head && !~Si.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(et) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2786
2786
|
}
|
|
2787
2787
|
var Ro = function(t) {
|
|
2788
|
-
return !!t &&
|
|
2788
|
+
return !!t && Vn.some(function(n) {
|
|
2789
2789
|
return t.includes(n);
|
|
2790
2790
|
});
|
|
2791
2791
|
}, Wo = function(t) {
|
|
@@ -2798,12 +2798,12 @@ var Ro = function(t) {
|
|
|
2798
2798
|
return u.trim();
|
|
2799
2799
|
});
|
|
2800
2800
|
});
|
|
2801
|
-
var r =
|
|
2801
|
+
var r = ke(a), i;
|
|
2802
2802
|
try {
|
|
2803
2803
|
for (r.s(); !(i = r.n()).done; ) {
|
|
2804
2804
|
var o = i.value;
|
|
2805
2805
|
if (Ro(o)) {
|
|
2806
|
-
var s =
|
|
2806
|
+
var s = Vn.reduce(function(l, u) {
|
|
2807
2807
|
return l.replace(u, "");
|
|
2808
2808
|
}, o);
|
|
2809
2809
|
s !== "" && s !== "*" && n.add(s);
|
|
@@ -2818,25 +2818,25 @@ var Ro = function(t) {
|
|
|
2818
2818
|
};
|
|
2819
2819
|
function nn(e) {
|
|
2820
2820
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2821
|
-
if (
|
|
2821
|
+
if (H) {
|
|
2822
2822
|
var n;
|
|
2823
2823
|
if (t)
|
|
2824
2824
|
n = e;
|
|
2825
|
-
else if (
|
|
2825
|
+
else if (v.searchPseudoElementsFullScan)
|
|
2826
2826
|
n = e.querySelectorAll("*");
|
|
2827
2827
|
else {
|
|
2828
|
-
var a = /* @__PURE__ */ new Set(), r =
|
|
2828
|
+
var a = /* @__PURE__ */ new Set(), r = ke(document.styleSheets), i;
|
|
2829
2829
|
try {
|
|
2830
2830
|
for (r.s(); !(i = r.n()).done; ) {
|
|
2831
2831
|
var o = i.value;
|
|
2832
2832
|
try {
|
|
2833
|
-
var s =
|
|
2833
|
+
var s = ke(o.cssRules), l;
|
|
2834
2834
|
try {
|
|
2835
2835
|
for (s.s(); !(l = s.n()).done; ) {
|
|
2836
|
-
var u = l.value, c = Wo(u.selectorText), d =
|
|
2836
|
+
var u = l.value, c = Wo(u.selectorText), d = ke(c), h;
|
|
2837
2837
|
try {
|
|
2838
|
-
for (d.s(); !(
|
|
2839
|
-
var p =
|
|
2838
|
+
for (d.s(); !(h = d.n()).done; ) {
|
|
2839
|
+
var p = h.value;
|
|
2840
2840
|
a.add(p);
|
|
2841
2841
|
}
|
|
2842
2842
|
} catch (I) {
|
|
@@ -2851,7 +2851,7 @@ function nn(e) {
|
|
|
2851
2851
|
s.f();
|
|
2852
2852
|
}
|
|
2853
2853
|
} catch (I) {
|
|
2854
|
-
|
|
2854
|
+
v.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href, " (").concat(I.message, `)
|
|
2855
2855
|
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`));
|
|
2856
2856
|
}
|
|
2857
2857
|
}
|
|
@@ -2861,15 +2861,15 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2861
2861
|
r.f();
|
|
2862
2862
|
}
|
|
2863
2863
|
if (!a.size) return;
|
|
2864
|
-
var
|
|
2864
|
+
var S = Array.from(a).join(", ");
|
|
2865
2865
|
try {
|
|
2866
|
-
n = e.querySelectorAll(
|
|
2866
|
+
n = e.querySelectorAll(S);
|
|
2867
2867
|
} catch {
|
|
2868
2868
|
}
|
|
2869
2869
|
}
|
|
2870
2870
|
return new Promise(function(I, O) {
|
|
2871
|
-
var m =
|
|
2872
|
-
|
|
2871
|
+
var m = le(n).filter(zo).map(Do), g = kt.begin("searchPseudoElements");
|
|
2872
|
+
va(), Promise.all(m).then(function() {
|
|
2873
2873
|
g(), ut(), I();
|
|
2874
2874
|
}).catch(function() {
|
|
2875
2875
|
g(), ut(), O();
|
|
@@ -2888,7 +2888,7 @@ var Uo = {
|
|
|
2888
2888
|
provides: function(t) {
|
|
2889
2889
|
t.pseudoElements2svg = function(n) {
|
|
2890
2890
|
var a = n.node, r = a === void 0 ? k : a;
|
|
2891
|
-
|
|
2891
|
+
v.searchPseudoElements && nn(r);
|
|
2892
2892
|
};
|
|
2893
2893
|
}
|
|
2894
2894
|
}, an = !1, Yo = {
|
|
@@ -2896,7 +2896,7 @@ var Uo = {
|
|
|
2896
2896
|
return {
|
|
2897
2897
|
dom: {
|
|
2898
2898
|
unwatch: function() {
|
|
2899
|
-
|
|
2899
|
+
va(), an = !0;
|
|
2900
2900
|
}
|
|
2901
2901
|
}
|
|
2902
2902
|
};
|
|
@@ -2983,12 +2983,12 @@ var Uo = {
|
|
|
2983
2983
|
transform: "translate(".concat(i / 2, " 256)")
|
|
2984
2984
|
}, l = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), u = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), c = "rotate(".concat(r.rotate, " 0 0)"), d = {
|
|
2985
2985
|
transform: "".concat(l, " ").concat(u, " ").concat(c)
|
|
2986
|
-
},
|
|
2986
|
+
}, h = {
|
|
2987
2987
|
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2988
2988
|
}, p = {
|
|
2989
2989
|
outer: s,
|
|
2990
2990
|
inner: d,
|
|
2991
|
-
path:
|
|
2991
|
+
path: h
|
|
2992
2992
|
};
|
|
2993
2993
|
return {
|
|
2994
2994
|
tag: "g",
|
|
@@ -3005,7 +3005,7 @@ var Uo = {
|
|
|
3005
3005
|
};
|
|
3006
3006
|
};
|
|
3007
3007
|
}
|
|
3008
|
-
},
|
|
3008
|
+
}, Xe = {
|
|
3009
3009
|
x: 0,
|
|
3010
3010
|
y: 0,
|
|
3011
3011
|
width: "100%",
|
|
@@ -3022,22 +3022,22 @@ var Vo = {
|
|
|
3022
3022
|
hooks: function() {
|
|
3023
3023
|
return {
|
|
3024
3024
|
parseNodeAttributes: function(n, a) {
|
|
3025
|
-
var r = a.getAttribute("data-fa-mask"), i = r ?
|
|
3025
|
+
var r = a.getAttribute("data-fa-mask"), i = r ? Be(r.split(" ").map(function(o) {
|
|
3026
3026
|
return o.trim();
|
|
3027
|
-
})) :
|
|
3028
|
-
return i.prefix || (i.prefix =
|
|
3027
|
+
})) : ca();
|
|
3028
|
+
return i.prefix || (i.prefix = V()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
|
|
3029
3029
|
}
|
|
3030
3030
|
};
|
|
3031
3031
|
},
|
|
3032
3032
|
provides: function(t) {
|
|
3033
3033
|
t.generateAbstractMask = function(n) {
|
|
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,
|
|
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, h = o.icon, p = Li({
|
|
3035
3035
|
transform: l,
|
|
3036
3036
|
containerWidth: d,
|
|
3037
3037
|
iconWidth: u
|
|
3038
|
-
}),
|
|
3038
|
+
}), S = {
|
|
3039
3039
|
tag: "rect",
|
|
3040
|
-
attributes: f(f({},
|
|
3040
|
+
attributes: f(f({}, Xe), {}, {
|
|
3041
3041
|
fill: "white"
|
|
3042
3042
|
})
|
|
3043
3043
|
}, I = c.children ? {
|
|
@@ -3053,31 +3053,31 @@ var Vo = {
|
|
|
3053
3053
|
tag: "g",
|
|
3054
3054
|
attributes: f({}, p.outer),
|
|
3055
3055
|
children: [O]
|
|
3056
|
-
}, g = "mask-".concat(s || Dt()),
|
|
3056
|
+
}, g = "mask-".concat(s || Dt()), A = "clip-".concat(s || Dt()), M = {
|
|
3057
3057
|
tag: "mask",
|
|
3058
|
-
attributes: f(f({},
|
|
3058
|
+
attributes: f(f({}, Xe), {}, {
|
|
3059
3059
|
id: g,
|
|
3060
3060
|
maskUnits: "userSpaceOnUse",
|
|
3061
3061
|
maskContentUnits: "userSpaceOnUse"
|
|
3062
3062
|
}),
|
|
3063
|
-
children: [
|
|
3063
|
+
children: [S, m]
|
|
3064
3064
|
}, F = {
|
|
3065
3065
|
tag: "defs",
|
|
3066
3066
|
children: [{
|
|
3067
3067
|
tag: "clipPath",
|
|
3068
3068
|
attributes: {
|
|
3069
|
-
id:
|
|
3069
|
+
id: A
|
|
3070
3070
|
},
|
|
3071
|
-
children: Go(
|
|
3071
|
+
children: Go(h)
|
|
3072
3072
|
}, M]
|
|
3073
3073
|
};
|
|
3074
3074
|
return a.push(F, {
|
|
3075
3075
|
tag: "rect",
|
|
3076
3076
|
attributes: f({
|
|
3077
3077
|
fill: "currentColor",
|
|
3078
|
-
"clip-path": "url(#".concat(
|
|
3078
|
+
"clip-path": "url(#".concat(A, ")"),
|
|
3079
3079
|
mask: "url(#".concat(g, ")")
|
|
3080
|
-
},
|
|
3080
|
+
}, Xe)
|
|
3081
3081
|
}), {
|
|
3082
3082
|
children: a,
|
|
3083
3083
|
attributes: r
|
|
@@ -3087,7 +3087,7 @@ var Vo = {
|
|
|
3087
3087
|
}, Xo = {
|
|
3088
3088
|
provides: function(t) {
|
|
3089
3089
|
var n = !1;
|
|
3090
|
-
|
|
3090
|
+
G.matchMedia && (n = G.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
3091
3091
|
var a = [], r = {
|
|
3092
3092
|
fill: "currentColor"
|
|
3093
3093
|
}, i = {
|
|
@@ -3165,21 +3165,21 @@ var Vo = {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
};
|
|
3167
3167
|
}
|
|
3168
|
-
}, qo = [zi, To,
|
|
3168
|
+
}, qo = [zi, To, Co, Eo, No, Uo, Yo, Ho, Vo, Xo, Ko];
|
|
3169
3169
|
no(qo, {
|
|
3170
|
-
mixoutsTo:
|
|
3170
|
+
mixoutsTo: E
|
|
3171
3171
|
});
|
|
3172
|
-
|
|
3173
|
-
var
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
var
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
var Jo =
|
|
3180
|
-
|
|
3181
|
-
var Qo =
|
|
3182
|
-
|
|
3172
|
+
E.noAuto;
|
|
3173
|
+
var ba = E.config;
|
|
3174
|
+
E.library;
|
|
3175
|
+
E.dom;
|
|
3176
|
+
var Te = E.parse;
|
|
3177
|
+
E.findIconDefinition;
|
|
3178
|
+
E.toHtml;
|
|
3179
|
+
var Jo = E.icon;
|
|
3180
|
+
E.layer;
|
|
3181
|
+
var Qo = E.text;
|
|
3182
|
+
E.counter;
|
|
3183
3183
|
function dt(e, t) {
|
|
3184
3184
|
(t == null || t > e.length) && (t = e.length);
|
|
3185
3185
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
@@ -3224,7 +3224,7 @@ function w(e) {
|
|
|
3224
3224
|
}
|
|
3225
3225
|
return e;
|
|
3226
3226
|
}
|
|
3227
|
-
function
|
|
3227
|
+
function Ke(e, t) {
|
|
3228
3228
|
if (e == null) return {};
|
|
3229
3229
|
var n, a, r = ns(e, t);
|
|
3230
3230
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3259,13 +3259,13 @@ function rs(e) {
|
|
|
3259
3259
|
var t = as(e, "string");
|
|
3260
3260
|
return typeof t == "symbol" ? t : t + "";
|
|
3261
3261
|
}
|
|
3262
|
-
function
|
|
3262
|
+
function Ee(e) {
|
|
3263
3263
|
"@babel/helpers - typeof";
|
|
3264
|
-
return
|
|
3264
|
+
return Ee = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3265
3265
|
return typeof t;
|
|
3266
3266
|
} : function(t) {
|
|
3267
3267
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3268
|
-
},
|
|
3268
|
+
}, Ee(e);
|
|
3269
3269
|
}
|
|
3270
3270
|
function is(e, t) {
|
|
3271
3271
|
if (e) {
|
|
@@ -3274,7 +3274,7 @@ function is(e, t) {
|
|
|
3274
3274
|
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) ? dt(e, t) : void 0;
|
|
3275
3275
|
}
|
|
3276
3276
|
}
|
|
3277
|
-
function
|
|
3277
|
+
function pe(e, t) {
|
|
3278
3278
|
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? T({}, e, t) : {};
|
|
3279
3279
|
}
|
|
3280
3280
|
function os(e) {
|
|
@@ -3296,29 +3296,29 @@ function os(e) {
|
|
|
3296
3296
|
return a;
|
|
3297
3297
|
});
|
|
3298
3298
|
}
|
|
3299
|
-
var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
3299
|
+
var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ia = { exports: {} };
|
|
3300
3300
|
(function(e) {
|
|
3301
3301
|
(function(t) {
|
|
3302
|
-
var n = function(m, g,
|
|
3303
|
-
if (!u(g) || d(g) ||
|
|
3302
|
+
var n = function(m, g, A) {
|
|
3303
|
+
if (!u(g) || d(g) || h(g) || p(g) || l(g))
|
|
3304
3304
|
return g;
|
|
3305
3305
|
var M, F = 0, z = 0;
|
|
3306
3306
|
if (c(g))
|
|
3307
3307
|
for (M = [], z = g.length; F < z; F++)
|
|
3308
|
-
M.push(n(m, g[F],
|
|
3308
|
+
M.push(n(m, g[F], A));
|
|
3309
3309
|
else {
|
|
3310
3310
|
M = {};
|
|
3311
|
-
for (var
|
|
3312
|
-
Object.prototype.hasOwnProperty.call(g,
|
|
3311
|
+
for (var fe in g)
|
|
3312
|
+
Object.prototype.hasOwnProperty.call(g, fe) && (M[m(fe, A)] = n(m, g[fe], A));
|
|
3313
3313
|
}
|
|
3314
3314
|
return M;
|
|
3315
3315
|
}, a = function(m, g) {
|
|
3316
3316
|
g = g || {};
|
|
3317
|
-
var
|
|
3318
|
-
return m.split(M).join(
|
|
3317
|
+
var A = g.separator || "_", M = g.split || /(?=[A-Z])/;
|
|
3318
|
+
return m.split(M).join(A);
|
|
3319
3319
|
}, r = function(m) {
|
|
3320
|
-
return
|
|
3321
|
-
return
|
|
3320
|
+
return S(m) ? m : (m = m.replace(/[\-_\s]+(.)?/g, function(g, A) {
|
|
3321
|
+
return A ? A.toUpperCase() : "";
|
|
3322
3322
|
}), m.substr(0, 1).toLowerCase() + m.substr(1));
|
|
3323
3323
|
}, i = function(m) {
|
|
3324
3324
|
var g = r(m);
|
|
@@ -3333,16 +3333,16 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3333
3333
|
return s.call(m) == "[object Array]";
|
|
3334
3334
|
}, d = function(m) {
|
|
3335
3335
|
return s.call(m) == "[object Date]";
|
|
3336
|
-
},
|
|
3336
|
+
}, h = function(m) {
|
|
3337
3337
|
return s.call(m) == "[object RegExp]";
|
|
3338
3338
|
}, p = function(m) {
|
|
3339
3339
|
return s.call(m) == "[object Boolean]";
|
|
3340
|
-
},
|
|
3340
|
+
}, S = function(m) {
|
|
3341
3341
|
return m = m - 0, m === m;
|
|
3342
3342
|
}, I = function(m, g) {
|
|
3343
|
-
var
|
|
3344
|
-
return typeof
|
|
3345
|
-
return
|
|
3343
|
+
var A = g && "process" in g ? g.process : g;
|
|
3344
|
+
return typeof A != "function" ? m : function(M, F) {
|
|
3345
|
+
return A(M, m, F);
|
|
3346
3346
|
};
|
|
3347
3347
|
}, O = {
|
|
3348
3348
|
camelize: r,
|
|
@@ -3364,8 +3364,8 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3364
3364
|
};
|
|
3365
3365
|
e.exports ? e.exports = O : t.humps = O;
|
|
3366
3366
|
})(ss);
|
|
3367
|
-
})(
|
|
3368
|
-
var ls =
|
|
3367
|
+
})(Ia);
|
|
3368
|
+
var ls = Ia.exports, fs = ["gradientFill"], us = ["class", "style"], cs = ["type", "stops", "id"];
|
|
3369
3369
|
function ds(e) {
|
|
3370
3370
|
return e.split(";").map(function(t) {
|
|
3371
3371
|
return t.trim();
|
|
@@ -3382,7 +3382,7 @@ function ms(e) {
|
|
|
3382
3382
|
}, {});
|
|
3383
3383
|
}
|
|
3384
3384
|
function ps(e, t) {
|
|
3385
|
-
return
|
|
3385
|
+
return ce("stop", w({
|
|
3386
3386
|
key: "".concat(t, "-").concat(e.offset),
|
|
3387
3387
|
offset: e.offset,
|
|
3388
3388
|
"stop-color": e.color
|
|
@@ -3390,9 +3390,9 @@ function ps(e, t) {
|
|
|
3390
3390
|
"stop-opacity": e.opacity
|
|
3391
3391
|
}));
|
|
3392
3392
|
}
|
|
3393
|
-
function
|
|
3393
|
+
function xa(e) {
|
|
3394
3394
|
if (typeof e == "string") return e;
|
|
3395
|
-
var t = (e.children || []).map(
|
|
3395
|
+
var t = (e.children || []).map(xa);
|
|
3396
3396
|
return e.tag === "path" && e.attributes && "fill" in e.attributes ? w(w({}, e), {}, {
|
|
3397
3397
|
attributes: w(w({}, e.attributes), {}, {
|
|
3398
3398
|
fill: void 0
|
|
@@ -3406,7 +3406,7 @@ function Pt(e) {
|
|
|
3406
3406
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3407
3407
|
if (typeof e == "string")
|
|
3408
3408
|
return e;
|
|
3409
|
-
var a = t.gradientFill, r = a === void 0 ? null : a, i =
|
|
3409
|
+
var a = t.gradientFill, r = a === void 0 ? null : a, i = Ke(t, fs), o = !!r || "fill" in n, s = o ? xa(e) : e, l = (s.children || []).map(function(M) {
|
|
3410
3410
|
return Pt(M, {}, {});
|
|
3411
3411
|
}), u = Object.keys(s.attributes || {}).reduce(function(M, F) {
|
|
3412
3412
|
var z = s.attributes[F];
|
|
@@ -3427,42 +3427,42 @@ function Pt(e) {
|
|
|
3427
3427
|
style: {}
|
|
3428
3428
|
});
|
|
3429
3429
|
n.class;
|
|
3430
|
-
var c = n.style, d = c === void 0 ? {} : c,
|
|
3430
|
+
var c = n.style, d = c === void 0 ? {} : c, h = Ke(n, us);
|
|
3431
3431
|
if (r && r.id && (r.type === "linear" || r.type === "radial")) {
|
|
3432
|
-
var p = r.type,
|
|
3432
|
+
var p = r.type, S = r.stops, I = S === void 0 ? [] : S, O = r.id, m = Ke(r, cs), g = p === "linear" ? "linearGradient" : "radialGradient", A = ce(g, w(w({}, m), {}, {
|
|
3433
3433
|
id: O
|
|
3434
3434
|
}), I.map(ps));
|
|
3435
|
-
return
|
|
3435
|
+
return ce(s.tag, w(w(w(w({}, i), {}, {
|
|
3436
3436
|
class: u.class,
|
|
3437
3437
|
style: w(w({}, u.style), d)
|
|
3438
|
-
}, u.attrs),
|
|
3438
|
+
}, u.attrs), h), {}, {
|
|
3439
3439
|
fill: "url(#".concat(O, ")")
|
|
3440
|
-
}), [
|
|
3440
|
+
}), [A].concat(Ce(l)));
|
|
3441
3441
|
}
|
|
3442
|
-
return
|
|
3442
|
+
return ce(e.tag, w(w(w({}, i), {}, {
|
|
3443
3443
|
class: u.class,
|
|
3444
3444
|
style: w(w({}, u.style), d)
|
|
3445
|
-
}, u.attrs),
|
|
3445
|
+
}, u.attrs), h), l);
|
|
3446
3446
|
}
|
|
3447
|
-
var
|
|
3447
|
+
var wa = !1;
|
|
3448
3448
|
try {
|
|
3449
|
-
|
|
3449
|
+
wa = process.env.NODE_ENV === "production";
|
|
3450
3450
|
} catch {
|
|
3451
3451
|
}
|
|
3452
3452
|
function ln() {
|
|
3453
|
-
if (!
|
|
3453
|
+
if (!wa && console && typeof console.error == "function") {
|
|
3454
3454
|
var e;
|
|
3455
3455
|
(e = console).error.apply(e, arguments);
|
|
3456
3456
|
}
|
|
3457
3457
|
}
|
|
3458
3458
|
function fn(e) {
|
|
3459
|
-
if (e &&
|
|
3459
|
+
if (e && Ee(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
3460
3460
|
return e;
|
|
3461
|
-
if (
|
|
3462
|
-
return
|
|
3461
|
+
if (Te.icon)
|
|
3462
|
+
return Te.icon(e);
|
|
3463
3463
|
if (e === null)
|
|
3464
3464
|
return null;
|
|
3465
|
-
if (
|
|
3465
|
+
if (Ee(e) === "object" && e.prefix && e.iconName)
|
|
3466
3466
|
return e;
|
|
3467
3467
|
if (Array.isArray(e) && e.length === 2)
|
|
3468
3468
|
return {
|
|
@@ -3475,7 +3475,7 @@ function fn(e) {
|
|
|
3475
3475
|
iconName: e
|
|
3476
3476
|
};
|
|
3477
3477
|
}
|
|
3478
|
-
var
|
|
3478
|
+
var ze = Ne({
|
|
3479
3479
|
name: "FontAwesomeIcon",
|
|
3480
3480
|
props: {
|
|
3481
3481
|
border: {
|
|
@@ -3617,11 +3617,11 @@ var Re = je({
|
|
|
3617
3617
|
var a = n.attrs, r = j(function() {
|
|
3618
3618
|
return fn(t.icon);
|
|
3619
3619
|
}), i = j(function() {
|
|
3620
|
-
return
|
|
3620
|
+
return pe("classes", os(t));
|
|
3621
3621
|
}), o = j(function() {
|
|
3622
|
-
return
|
|
3622
|
+
return pe("transform", typeof t.transform == "string" ? Te.transform(t.transform) : t.transform);
|
|
3623
3623
|
}), s = j(function() {
|
|
3624
|
-
return
|
|
3624
|
+
return pe("mask", fn(t.mask));
|
|
3625
3625
|
}), l = j(function() {
|
|
3626
3626
|
var c = w(w(w(w({}, i.value), o.value), s.value), {}, {
|
|
3627
3627
|
symbol: t.symbol,
|
|
@@ -3629,7 +3629,7 @@ var Re = je({
|
|
|
3629
3629
|
});
|
|
3630
3630
|
return c.title = t.title, c.titleId = t.titleId, Jo(r.value, c);
|
|
3631
3631
|
});
|
|
3632
|
-
|
|
3632
|
+
Pa(l, function(c) {
|
|
3633
3633
|
if (!c)
|
|
3634
3634
|
return ln("Could not find one or more icon(s)", r.value, s.value);
|
|
3635
3635
|
}, {
|
|
@@ -3645,7 +3645,7 @@ var Re = je({
|
|
|
3645
3645
|
};
|
|
3646
3646
|
}
|
|
3647
3647
|
});
|
|
3648
|
-
|
|
3648
|
+
Ne({
|
|
3649
3649
|
name: "FontAwesomeLayers",
|
|
3650
3650
|
props: {
|
|
3651
3651
|
fixedWidth: {
|
|
@@ -3654,17 +3654,17 @@ je({
|
|
|
3654
3654
|
}
|
|
3655
3655
|
},
|
|
3656
3656
|
setup: function(t, n) {
|
|
3657
|
-
var a = n.slots, r =
|
|
3657
|
+
var a = n.slots, r = ba.familyPrefix, i = j(function() {
|
|
3658
3658
|
return ["".concat(r, "-layers")].concat(Ce(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
3659
3659
|
});
|
|
3660
3660
|
return function() {
|
|
3661
|
-
return
|
|
3661
|
+
return ce("div", {
|
|
3662
3662
|
class: i.value
|
|
3663
3663
|
}, a.default ? a.default() : []);
|
|
3664
3664
|
};
|
|
3665
3665
|
}
|
|
3666
3666
|
});
|
|
3667
|
-
|
|
3667
|
+
Ne({
|
|
3668
3668
|
name: "FontAwesomeLayersText",
|
|
3669
3669
|
props: {
|
|
3670
3670
|
value: {
|
|
@@ -3688,10 +3688,10 @@ je({
|
|
|
3688
3688
|
}
|
|
3689
3689
|
},
|
|
3690
3690
|
setup: function(t, n) {
|
|
3691
|
-
var a = n.attrs, r =
|
|
3692
|
-
return
|
|
3691
|
+
var a = n.attrs, r = ba.familyPrefix, i = j(function() {
|
|
3692
|
+
return pe("classes", [].concat(Ce(t.counter ? ["".concat(r, "-layers-counter")] : []), Ce(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
3693
3693
|
}), o = j(function() {
|
|
3694
|
-
return
|
|
3694
|
+
return pe("transform", typeof t.transform == "string" ? Te.transform(t.transform) : t.transform);
|
|
3695
3695
|
}), s = j(function() {
|
|
3696
3696
|
var u = Qo(t.value.toString(), w(w({}, o.value), i.value)), c = u.abstract;
|
|
3697
3697
|
return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
@@ -3703,29 +3703,29 @@ je({
|
|
|
3703
3703
|
};
|
|
3704
3704
|
}
|
|
3705
3705
|
});
|
|
3706
|
-
let
|
|
3706
|
+
let re, ve, W;
|
|
3707
3707
|
const mt = (e) => {
|
|
3708
|
-
|
|
3708
|
+
re = e;
|
|
3709
3709
|
}, un = (e) => {
|
|
3710
|
-
|
|
3710
|
+
ve = e;
|
|
3711
3711
|
}, hs = (e) => {
|
|
3712
|
-
|
|
3712
|
+
W = e;
|
|
3713
3713
|
}, pt = (e) => {
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3714
|
+
re != null && (W = !0, ve.loading = W, setTimeout(() => {
|
|
3715
|
+
re.push({ path: `${e}` }).finally(() => {
|
|
3716
|
+
W = !1, ve.loading = W;
|
|
3717
3717
|
});
|
|
3718
3718
|
}, 400));
|
|
3719
|
-
},
|
|
3720
|
-
console.log("toTop", e), console.log("Router",
|
|
3721
|
-
|
|
3722
|
-
|
|
3719
|
+
}, J = (e) => {
|
|
3720
|
+
console.log("toTop", e), console.log("Router", re), re != null && (W = !0, ve.loading = W, setTimeout(() => {
|
|
3721
|
+
re.push({ path: `${e}` }).finally(() => {
|
|
3722
|
+
W = !1, ve.loading = W;
|
|
3723
3723
|
});
|
|
3724
3724
|
}, 400));
|
|
3725
3725
|
}, vs = {
|
|
3726
3726
|
name: "MenuItem",
|
|
3727
3727
|
components: {
|
|
3728
|
-
FontAwesomeIcon:
|
|
3728
|
+
FontAwesomeIcon: ze
|
|
3729
3729
|
},
|
|
3730
3730
|
props: {
|
|
3731
3731
|
item: {
|
|
@@ -3743,7 +3743,6 @@ const mt = (e) => {
|
|
|
3743
3743
|
},
|
|
3744
3744
|
data() {
|
|
3745
3745
|
return {
|
|
3746
|
-
faChevronDown: V,
|
|
3747
3746
|
menuBar: this.menuBar,
|
|
3748
3747
|
tooltip: !0,
|
|
3749
3748
|
item: this.item,
|
|
@@ -3771,20 +3770,20 @@ const mt = (e) => {
|
|
|
3771
3770
|
openSubMenu(e) {
|
|
3772
3771
|
var t;
|
|
3773
3772
|
if (!((t = e.items) != null && t.length)) {
|
|
3774
|
-
pt(e.route), this.findItem(this.leftItems, e, !0), this.$emit("changeMenuItem", this.leftItems);
|
|
3773
|
+
pt(e.route), this.setUnActiveItems(this.leftItems), this.findItem(this.leftItems, e, !0), this.$emit("changeMenuItem", this.leftItems);
|
|
3775
3774
|
return;
|
|
3776
3775
|
}
|
|
3777
|
-
e.opened = !e.opened,
|
|
3776
|
+
e.opened = !e.opened, this.menuBar.opened;
|
|
3778
3777
|
},
|
|
3779
3778
|
findItem(e, t, n) {
|
|
3780
3779
|
var a;
|
|
3781
3780
|
for (const r of e) {
|
|
3782
3781
|
if (r.id === t.id)
|
|
3783
|
-
return r.active = n, r;
|
|
3782
|
+
return r.active = n, r.opened = n, r;
|
|
3784
3783
|
if ((a = r.items) != null && a.length) {
|
|
3785
3784
|
const i = this.findItem(r.items, t, n);
|
|
3786
3785
|
if (i)
|
|
3787
|
-
return r.active = n, i;
|
|
3786
|
+
return r.active = n, r.opened = n, i;
|
|
3788
3787
|
}
|
|
3789
3788
|
}
|
|
3790
3789
|
},
|
|
@@ -3807,7 +3806,7 @@ const mt = (e) => {
|
|
|
3807
3806
|
this.menuBar.opened || (this.tooltip = !1, (t = document.querySelector(".active-tooltip")) == null || t.classList.remove("show"));
|
|
3808
3807
|
}
|
|
3809
3808
|
}
|
|
3810
|
-
},
|
|
3809
|
+
}, we = (e, t) => {
|
|
3811
3810
|
const n = e.__vccOpts || e;
|
|
3812
3811
|
for (const [a, r] of t)
|
|
3813
3812
|
n[a] = r;
|
|
@@ -3820,28 +3819,28 @@ function ys(e, t, n, a, r, i) {
|
|
|
3820
3819
|
var s;
|
|
3821
3820
|
const o = $("FontAwesomeIcon");
|
|
3822
3821
|
return x(), P("div", {
|
|
3823
|
-
class:
|
|
3822
|
+
class: L(["menu-item", { "item-opened": r.item.opened, "item-closed": !r.item.opened, "item-active": r.item.active }]),
|
|
3824
3823
|
ref: r.ref,
|
|
3825
3824
|
onClick: t[0] || (t[0] = (l) => i.openSubMenu(r.item))
|
|
3826
3825
|
}, [
|
|
3827
|
-
r.item.icon ? (x(),
|
|
3826
|
+
r.item.icon ? (x(), ge(o, {
|
|
3828
3827
|
key: 0,
|
|
3829
3828
|
class: "menu-item-icon",
|
|
3830
3829
|
size: "lg",
|
|
3831
3830
|
icon: r.item.icon
|
|
3832
|
-
}, null, 8, ["icon"])) :
|
|
3831
|
+
}, null, 8, ["icon"])) : C("", !0),
|
|
3833
3832
|
N("p", {
|
|
3834
|
-
class:
|
|
3835
|
-
},
|
|
3833
|
+
class: L(["menu-item-text", { "menu-text-opened": r.menuBar.opened, "menu-text-closed": !r.menuBar.opened }])
|
|
3834
|
+
}, ye(r.item.name), 3),
|
|
3836
3835
|
(s = r.item.items) != null && s.length ? (x(), P("div", gs, [
|
|
3837
|
-
|
|
3838
|
-
class:
|
|
3836
|
+
q(o, {
|
|
3837
|
+
class: L({ "icon-opened": r.item.opened }),
|
|
3839
3838
|
icon: r.item.openIcon
|
|
3840
3839
|
}, null, 8, ["class", "icon"])
|
|
3841
|
-
])) :
|
|
3840
|
+
])) : C("", !0)
|
|
3842
3841
|
], 2);
|
|
3843
3842
|
}
|
|
3844
|
-
const Sa = /* @__PURE__ */
|
|
3843
|
+
const Sa = /* @__PURE__ */ we(vs, [["render", ys], ["__scopeId", "data-v-c4bf0968"]]), bs = {
|
|
3845
3844
|
name: "SubMenuItems",
|
|
3846
3845
|
components: {
|
|
3847
3846
|
MenuItem: Sa
|
|
@@ -3869,7 +3868,8 @@ const Sa = /* @__PURE__ */ Ae(vs, [["render", ys], ["__scopeId", "data-v-64b7e51
|
|
|
3869
3868
|
};
|
|
3870
3869
|
},
|
|
3871
3870
|
emits: [
|
|
3872
|
-
"openmenu"
|
|
3871
|
+
"openmenu",
|
|
3872
|
+
"changeMenuItem"
|
|
3873
3873
|
],
|
|
3874
3874
|
watch: {
|
|
3875
3875
|
menuBar(e) {
|
|
@@ -3884,6 +3884,9 @@ const Sa = /* @__PURE__ */ Ae(vs, [["render", ys], ["__scopeId", "data-v-64b7e51
|
|
|
3884
3884
|
var t;
|
|
3885
3885
|
this.menuBar.opened || (t = this.item.items) != null && t.length && (this.tooltip = !0);
|
|
3886
3886
|
},
|
|
3887
|
+
handleMenuItem(e) {
|
|
3888
|
+
this.$emit("changeMenuItem", e);
|
|
3889
|
+
},
|
|
3887
3890
|
hideTooltipItems(e) {
|
|
3888
3891
|
this.menuBar.opened || (this.tooltip = !1);
|
|
3889
3892
|
},
|
|
@@ -3904,46 +3907,48 @@ const Sa = /* @__PURE__ */ Ae(vs, [["render", ys], ["__scopeId", "data-v-64b7e51
|
|
|
3904
3907
|
key: 1,
|
|
3905
3908
|
class: "active-tooltip"
|
|
3906
3909
|
}, ws = ["onClick"];
|
|
3907
|
-
function
|
|
3910
|
+
function Ss(e, t, n, a, r, i) {
|
|
3908
3911
|
const o = $("MenuItem"), s = $("SubMenuItems", !0);
|
|
3909
3912
|
return r.item.opened ? (x(), P("div", Is, [
|
|
3910
|
-
(x(!0), P(
|
|
3913
|
+
(x(!0), P(ie, null, oe(r.item.items, (l, u) => {
|
|
3911
3914
|
var c, d;
|
|
3912
3915
|
return x(), P("div", {
|
|
3913
3916
|
key: u,
|
|
3914
|
-
class:
|
|
3915
|
-
onMouseenter: t[
|
|
3916
|
-
onMouseleave: t[
|
|
3917
|
+
class: L(["item", { "menu-item-opened": r.menuBar.opened }]),
|
|
3918
|
+
onMouseenter: t[4] || (t[4] = (h) => i.showTooltipItems(h)),
|
|
3919
|
+
onMouseleave: t[5] || (t[5] = (h) => i.hideTooltipItems(h))
|
|
3917
3920
|
}, [
|
|
3918
|
-
|
|
3921
|
+
q(o, {
|
|
3919
3922
|
item: l,
|
|
3920
3923
|
leftItems: r.leftMenuItems,
|
|
3924
|
+
onChangeMenuItem: t[0] || (t[0] = (h) => i.handleMenuItem(h)),
|
|
3921
3925
|
menuBar: r.menuBar
|
|
3922
3926
|
}, null, 8, ["item", "leftItems", "menuBar"]),
|
|
3923
|
-
(c = l.items) != null && c.length ?
|
|
3927
|
+
(c = l.items) != null && c.length ? dn((x(), ge(s, {
|
|
3924
3928
|
key: 0,
|
|
3929
|
+
onChangeMenuItem: t[1] || (t[1] = (h) => i.handleMenuItem(h)),
|
|
3925
3930
|
item: l,
|
|
3926
3931
|
menuBar: r.menuBar
|
|
3927
3932
|
}, null, 8, ["item", "menuBar"])), [
|
|
3928
|
-
[
|
|
3929
|
-
]) :
|
|
3933
|
+
[mn, r.menuBar.opened]
|
|
3934
|
+
]) : C("", !0),
|
|
3930
3935
|
r.tooltip && ((d = l.items) != null && d.length) ? (x(), P("div", xs, [
|
|
3931
|
-
r.menuBar.opened ?
|
|
3932
|
-
key:
|
|
3936
|
+
r.menuBar.opened ? C("", !0) : (x(!0), P(ie, { key: 0 }, oe(l.items, (h) => (x(), P("div", {
|
|
3937
|
+
key: h.name,
|
|
3933
3938
|
class: "tooltip-item",
|
|
3934
|
-
onClick: (p) => i.tooltipItemClick(p, l,
|
|
3935
|
-
onMouseenter: t[
|
|
3936
|
-
onMouseleave: t[
|
|
3937
|
-
},
|
|
3938
|
-
])) :
|
|
3939
|
+
onClick: (p) => i.tooltipItemClick(p, l, h),
|
|
3940
|
+
onMouseenter: t[2] || (t[2] = (p) => i.showTooltipItems(p)),
|
|
3941
|
+
onMouseleave: t[3] || (t[3] = (p) => i.hideTooltipItems(p))
|
|
3942
|
+
}, ye(h.name), 41, ws))), 128))
|
|
3943
|
+
])) : C("", !0)
|
|
3939
3944
|
], 34);
|
|
3940
3945
|
}), 128))
|
|
3941
|
-
])) :
|
|
3946
|
+
])) : C("", !0);
|
|
3942
3947
|
}
|
|
3943
|
-
const
|
|
3948
|
+
const As = /* @__PURE__ */ we(bs, [["render", Ss], ["__scopeId", "data-v-4a385910"]]), ks = {
|
|
3944
3949
|
name: "TopSubMenuItems",
|
|
3945
3950
|
components: {
|
|
3946
|
-
FontAwesomeIcon:
|
|
3951
|
+
FontAwesomeIcon: ze
|
|
3947
3952
|
},
|
|
3948
3953
|
props: {
|
|
3949
3954
|
item: {
|
|
@@ -3962,11 +3967,10 @@ const Ss = /* @__PURE__ */ Ae(bs, [["render", As], ["__scopeId", "data-v-60f034c
|
|
|
3962
3967
|
data() {
|
|
3963
3968
|
return {
|
|
3964
3969
|
tooltip: !1,
|
|
3965
|
-
|
|
3970
|
+
topMenuItems: this.topMenuItems,
|
|
3966
3971
|
item: this.item,
|
|
3967
3972
|
menuBar: this.menuBar,
|
|
3968
|
-
|
|
3969
|
-
toTop: Z
|
|
3973
|
+
toTop: J
|
|
3970
3974
|
};
|
|
3971
3975
|
},
|
|
3972
3976
|
watch: {
|
|
@@ -3979,23 +3983,17 @@ const Ss = /* @__PURE__ */ Ae(bs, [["render", As], ["__scopeId", "data-v-60f034c
|
|
|
3979
3983
|
},
|
|
3980
3984
|
methods: {
|
|
3981
3985
|
openHoverTopMenuItem(e, t) {
|
|
3982
|
-
t.opened = !0
|
|
3986
|
+
t.opened = !0;
|
|
3983
3987
|
},
|
|
3984
3988
|
closeTopMenuItem(e, t) {
|
|
3985
|
-
t.opened = !1
|
|
3989
|
+
t.opened = !1;
|
|
3986
3990
|
},
|
|
3987
3991
|
openTopMenuItem(e, t) {
|
|
3988
3992
|
var n;
|
|
3989
3993
|
if (!((n = t.items) != null && n.length)) {
|
|
3990
|
-
|
|
3994
|
+
J(t.route);
|
|
3991
3995
|
return;
|
|
3992
3996
|
}
|
|
3993
|
-
},
|
|
3994
|
-
closeSubItems(e) {
|
|
3995
|
-
var t;
|
|
3996
|
-
if (!e.opened)
|
|
3997
|
-
for (let n of e.items || [])
|
|
3998
|
-
n.opened = !1, (t = n.items) != null && t.length && this.closeSubItems(n);
|
|
3999
3997
|
}
|
|
4000
3998
|
}
|
|
4001
3999
|
}, Ms = {
|
|
@@ -4008,7 +4006,7 @@ const Ss = /* @__PURE__ */ Ae(bs, [["render", As], ["__scopeId", "data-v-60f034c
|
|
|
4008
4006
|
function Fs(e, t, n, a, r, i) {
|
|
4009
4007
|
const o = $("FontAwesomeIcon"), s = $("TopSubMenuItems", !0);
|
|
4010
4008
|
return r.item.opened ? (x(), P("div", Ms, [
|
|
4011
|
-
(x(!0), P(
|
|
4009
|
+
(x(!0), P(ie, null, oe(r.item.items, (l, u) => {
|
|
4012
4010
|
var c, d;
|
|
4013
4011
|
return x(), P("div", {
|
|
4014
4012
|
key: l.id,
|
|
@@ -4016,33 +4014,34 @@ function Fs(e, t, n, a, r, i) {
|
|
|
4016
4014
|
}, [
|
|
4017
4015
|
N("div", {
|
|
4018
4016
|
class: "top-menu-item",
|
|
4019
|
-
onClick:
|
|
4020
|
-
onMouseenter: (
|
|
4017
|
+
onClick: pn((h) => i.openTopMenuItem(h, l), ["stop"]),
|
|
4018
|
+
onMouseenter: (h) => i.openHoverTopMenuItem(h, l)
|
|
4021
4019
|
}, [
|
|
4022
|
-
|
|
4020
|
+
hn(ye(l.name) + " ", 1),
|
|
4023
4021
|
(c = l.items) != null && c.length ? (x(), P("div", Os, [
|
|
4024
|
-
|
|
4022
|
+
q(o, {
|
|
4025
4023
|
size: "sm",
|
|
4024
|
+
class: L({ "icon-opened": r.item.opened }),
|
|
4026
4025
|
icon: l.openIcon
|
|
4027
|
-
}, null, 8, ["icon"])
|
|
4028
|
-
])) :
|
|
4026
|
+
}, null, 8, ["class", "icon"])
|
|
4027
|
+
])) : C("", !0)
|
|
4029
4028
|
], 40, Ps),
|
|
4030
|
-
(d = l.items) != null && d.length ? (x(),
|
|
4031
|
-
onMouseleave: (
|
|
4029
|
+
(d = l.items) != null && d.length ? (x(), ge(s, {
|
|
4030
|
+
onMouseleave: (h) => i.closeTopMenuItem(h, l),
|
|
4032
4031
|
style: Oa({ top: `${Number(u) * 70}px`, right: `${2 * 10 + 40}px` }),
|
|
4033
4032
|
key: l.id,
|
|
4034
4033
|
item: l,
|
|
4035
|
-
topMenuItems:
|
|
4034
|
+
topMenuItems: r.topMenuItems,
|
|
4036
4035
|
menuBar: r.menuBar
|
|
4037
|
-
}, null, 8, ["onMouseleave", "style", "item", "topMenuItems", "menuBar"])) :
|
|
4036
|
+
}, null, 8, ["onMouseleave", "style", "item", "topMenuItems", "menuBar"])) : C("", !0)
|
|
4038
4037
|
]);
|
|
4039
4038
|
}), 128))
|
|
4040
|
-
])) :
|
|
4039
|
+
])) : C("", !0);
|
|
4041
4040
|
}
|
|
4042
|
-
const _s = /* @__PURE__ */
|
|
4041
|
+
const _s = /* @__PURE__ */ we(ks, [["render", Fs]]), Ts = {
|
|
4043
4042
|
name: "TopMenuItems",
|
|
4044
4043
|
components: {
|
|
4045
|
-
FontAwesomeIcon:
|
|
4044
|
+
FontAwesomeIcon: ze,
|
|
4046
4045
|
TopSubMenuItems: _s
|
|
4047
4046
|
},
|
|
4048
4047
|
props: {
|
|
@@ -4062,36 +4061,44 @@ const _s = /* @__PURE__ */ Ae(ks, [["render", Fs]]), Ts = {
|
|
|
4062
4061
|
return {
|
|
4063
4062
|
topMenuItems: this.topMenuItems,
|
|
4064
4063
|
menuBar: this.menuBar,
|
|
4065
|
-
toTop:
|
|
4064
|
+
toTop: J
|
|
4066
4065
|
};
|
|
4067
4066
|
},
|
|
4068
4067
|
methods: {
|
|
4069
4068
|
openTopMenuItem(e, t) {
|
|
4070
4069
|
var n;
|
|
4071
4070
|
if (console.log(t), !((n = t.items) != null && n.length)) {
|
|
4072
|
-
|
|
4071
|
+
J(t.route);
|
|
4073
4072
|
return;
|
|
4074
4073
|
}
|
|
4075
4074
|
},
|
|
4076
4075
|
hoverOpenTopMenuItem(e, t) {
|
|
4077
4076
|
var n;
|
|
4078
|
-
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.add("menu-hover"),
|
|
4077
|
+
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.add("menu-hover"), this.closeMenuTabs(this.topMenuItems), setTimeout(() => {
|
|
4078
|
+
t.opened = !0, this.closeSubItems(t);
|
|
4079
|
+
}, 200);
|
|
4079
4080
|
},
|
|
4080
4081
|
closeTopMenuItem(e, t) {
|
|
4081
4082
|
var n;
|
|
4082
|
-
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.remove("menu-hover"),
|
|
4083
|
+
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.remove("menu-hover"), setTimeout(() => {
|
|
4084
|
+
t.opened = !1, t.openIcon = ne, this.closeSubItems(t);
|
|
4085
|
+
}, 200);
|
|
4083
4086
|
},
|
|
4084
4087
|
closeTopMenu(e, t) {
|
|
4085
4088
|
var n;
|
|
4086
|
-
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon =
|
|
4089
|
+
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon = ne), this.closeSubItems(t);
|
|
4087
4090
|
},
|
|
4088
4091
|
openMenuItem(e, t) {
|
|
4089
4092
|
var n;
|
|
4090
4093
|
if (!((n = t.items) != null && n.length)) {
|
|
4091
|
-
|
|
4094
|
+
J(t.route);
|
|
4092
4095
|
return;
|
|
4093
4096
|
}
|
|
4094
4097
|
},
|
|
4098
|
+
closeMenuTabs(e) {
|
|
4099
|
+
for (let t of e)
|
|
4100
|
+
t.opened = !1, t.openIcon = ne;
|
|
4101
|
+
},
|
|
4095
4102
|
closeSubItems(e) {
|
|
4096
4103
|
var t;
|
|
4097
4104
|
if (!e.opened)
|
|
@@ -4099,15 +4106,15 @@ const _s = /* @__PURE__ */ Ae(ks, [["render", Fs]]), Ts = {
|
|
|
4099
4106
|
n.opened = !1, (t = n.items) != null && t.length && this.closeSubItems(n);
|
|
4100
4107
|
}
|
|
4101
4108
|
}
|
|
4102
|
-
},
|
|
4109
|
+
}, Cs = { class: "horizontal-top-menu" }, Es = ["onMouseenter"], Ns = ["onClick", "onMouseleave"], js = { key: 0 };
|
|
4103
4110
|
function $s(e, t, n, a, r, i) {
|
|
4104
4111
|
const o = $("FontAwesomeIcon"), s = $("TopSubMenuItems");
|
|
4105
|
-
return x(), P("div",
|
|
4106
|
-
(x(!0), P(
|
|
4112
|
+
return x(), P("div", Cs, [
|
|
4113
|
+
(x(!0), P(ie, null, oe(r.topMenuItems, (l) => {
|
|
4107
4114
|
var u, c;
|
|
4108
4115
|
return x(), P("div", {
|
|
4109
4116
|
key: l.id,
|
|
4110
|
-
class:
|
|
4117
|
+
class: L(["horizontal-top-menu-item", { "menu-hover": l.opened, active: l.opened }]),
|
|
4111
4118
|
onMouseenter: (d) => i.hoverOpenTopMenuItem(d, l)
|
|
4112
4119
|
}, [
|
|
4113
4120
|
N("div", {
|
|
@@ -4115,28 +4122,29 @@ function $s(e, t, n, a, r, i) {
|
|
|
4115
4122
|
onClick: (d) => i.openMenuItem(d, l),
|
|
4116
4123
|
onMouseleave: (d) => i.closeTopMenu(d, l)
|
|
4117
4124
|
}, [
|
|
4118
|
-
|
|
4125
|
+
hn(ye(l.name) + " ", 1),
|
|
4119
4126
|
(u = l.items) != null && u.length ? (x(), P("div", js, [
|
|
4120
|
-
|
|
4127
|
+
q(o, {
|
|
4121
4128
|
size: "sm",
|
|
4129
|
+
class: L({ "icon-opened": l.opened }),
|
|
4122
4130
|
icon: l.openIcon
|
|
4123
|
-
}, null, 8, ["icon"])
|
|
4124
|
-
])) :
|
|
4131
|
+
}, null, 8, ["class", "icon"])
|
|
4132
|
+
])) : C("", !0)
|
|
4125
4133
|
], 40, Ns),
|
|
4126
|
-
(c = l.items) != null && c.length ? (x(),
|
|
4134
|
+
(c = l.items) != null && c.length ? (x(), ge(s, {
|
|
4127
4135
|
key: 0,
|
|
4128
4136
|
onMouseleave: (d) => i.closeTopMenuItem(d, l),
|
|
4129
4137
|
item: l,
|
|
4130
4138
|
topMenuItems: r.topMenuItems,
|
|
4131
4139
|
menuBar: r.menuBar,
|
|
4132
|
-
onClick: t[0] || (t[0] =
|
|
4140
|
+
onClick: t[0] || (t[0] = pn(() => {
|
|
4133
4141
|
}, ["stop"]))
|
|
4134
|
-
}, null, 8, ["onMouseleave", "item", "topMenuItems", "menuBar"])) :
|
|
4135
|
-
], 42,
|
|
4142
|
+
}, null, 8, ["onMouseleave", "item", "topMenuItems", "menuBar"])) : C("", !0)
|
|
4143
|
+
], 42, Es);
|
|
4136
4144
|
}), 128))
|
|
4137
4145
|
]);
|
|
4138
4146
|
}
|
|
4139
|
-
const
|
|
4147
|
+
const Ls = /* @__PURE__ */ we(Ts, [["render", $s], ["__scopeId", "data-v-2de9d68c"]]), cn = [
|
|
4140
4148
|
{
|
|
4141
4149
|
name: "Light",
|
|
4142
4150
|
value: "light",
|
|
@@ -4177,13 +4185,13 @@ const Bs = /* @__PURE__ */ Ae(Ts, [["render", $s], ["__scopeId", "data-v-64dbf20
|
|
|
4177
4185
|
text: "#000000",
|
|
4178
4186
|
iconColor: "#000000"
|
|
4179
4187
|
}
|
|
4180
|
-
],
|
|
4188
|
+
], Bs = Ne({
|
|
4181
4189
|
name: "MenuPlate",
|
|
4182
4190
|
components: {
|
|
4183
|
-
FontAwesomeIcon:
|
|
4191
|
+
FontAwesomeIcon: ze,
|
|
4184
4192
|
MenuItem: Sa,
|
|
4185
|
-
SubMenuItems:
|
|
4186
|
-
TopMenuItem:
|
|
4193
|
+
SubMenuItems: As,
|
|
4194
|
+
TopMenuItem: Ls
|
|
4187
4195
|
},
|
|
4188
4196
|
props: {
|
|
4189
4197
|
initialMenuBar: {
|
|
@@ -4217,20 +4225,17 @@ const Bs = /* @__PURE__ */ Ae(Ts, [["render", $s], ["__scopeId", "data-v-64dbf20
|
|
|
4217
4225
|
leftItems(e) {
|
|
4218
4226
|
this.leftItems = e;
|
|
4219
4227
|
const t = { value: 0 };
|
|
4220
|
-
this.leftMenuItems = this.toLeftMenuItems(e, t)
|
|
4228
|
+
this.leftMenuItems = this.toLeftMenuItems(e, t);
|
|
4221
4229
|
},
|
|
4222
4230
|
topItems(e) {
|
|
4223
4231
|
this.topItems = e;
|
|
4224
4232
|
}
|
|
4225
4233
|
},
|
|
4226
4234
|
mounted() {
|
|
4227
|
-
dn(() => this.$route, () => {
|
|
4228
|
-
this.setActiveByRoute();
|
|
4229
|
-
});
|
|
4230
4235
|
},
|
|
4231
4236
|
created() {
|
|
4232
4237
|
const e = { value: 0 };
|
|
4233
|
-
this.leftMenuItems = this.toLeftMenuItems(this.leftItems, e), this.topMenuItems = this.toTopMenuItems(this.topItems, e), mt(this.Router), hs(!1), un(this.menuBar)
|
|
4238
|
+
this.leftMenuItems = this.toLeftMenuItems(this.leftItems, e), this.topMenuItems = this.toTopMenuItems(this.topItems, e), mt(this.Router), hs(!1), un(this.menuBar);
|
|
4234
4239
|
},
|
|
4235
4240
|
initTheme() {
|
|
4236
4241
|
let e = cn.find((t) => t.type === this.theme.type);
|
|
@@ -4239,8 +4244,7 @@ const Bs = /* @__PURE__ */ Ae(Ts, [["render", $s], ["__scopeId", "data-v-64dbf20
|
|
|
4239
4244
|
data() {
|
|
4240
4245
|
return {
|
|
4241
4246
|
menuBar: this.initialMenuBar,
|
|
4242
|
-
|
|
4243
|
-
faChevronRight: B,
|
|
4247
|
+
faChevronRight: qe,
|
|
4244
4248
|
topMenuItems: [],
|
|
4245
4249
|
leftMenuItems: [],
|
|
4246
4250
|
tooltip: !1,
|
|
@@ -4249,7 +4253,7 @@ const Bs = /* @__PURE__ */ Ae(Ts, [["render", $s], ["__scopeId", "data-v-64dbf20
|
|
|
4249
4253
|
leftItems: this.leftItems,
|
|
4250
4254
|
floor: 20,
|
|
4251
4255
|
router: mt,
|
|
4252
|
-
toTop:
|
|
4256
|
+
toTop: J,
|
|
4253
4257
|
menubar: un,
|
|
4254
4258
|
themes: cn
|
|
4255
4259
|
};
|
|
@@ -4271,36 +4275,17 @@ const Bs = /* @__PURE__ */ Ae(Ts, [["render", $s], ["__scopeId", "data-v-64dbf20
|
|
|
4271
4275
|
var a;
|
|
4272
4276
|
let n = [];
|
|
4273
4277
|
for (let r of e) {
|
|
4274
|
-
let i = new
|
|
4278
|
+
let i = new Ca();
|
|
4275
4279
|
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];
|
|
4276
4280
|
}
|
|
4277
4281
|
return n;
|
|
4278
4282
|
},
|
|
4279
4283
|
openVerticalMenu(e) {
|
|
4280
|
-
this.menuBar.opened = !this.menuBar.opened, this.menuBar.changeIcon = "flip", this.menuBar.icon = this.menuBar.opened ?
|
|
4284
|
+
this.menuBar.opened = !this.menuBar.opened, this.menuBar.changeIcon = "flip", this.menuBar.icon = this.menuBar.opened ? qe : vn;
|
|
4281
4285
|
},
|
|
4282
4286
|
openSubMenu(e) {
|
|
4283
4287
|
e.opened = !e.opened;
|
|
4284
4288
|
},
|
|
4285
|
-
setActiveByRoute() {
|
|
4286
|
-
var t;
|
|
4287
|
-
const e = ((t = this.$route) == null ? void 0 : t.path) || "/";
|
|
4288
|
-
this.clearActiveItems(this.leftMenuItems), this.markActiveRoute(this.leftMenuItems, e);
|
|
4289
|
-
},
|
|
4290
|
-
clearActiveItems(e) {
|
|
4291
|
-
var t;
|
|
4292
|
-
for (const n of e)
|
|
4293
|
-
n.active = !1, (t = n.items) != null && t.length && this.clearActiveItems(n.items);
|
|
4294
|
-
},
|
|
4295
|
-
markActiveRoute(e, t) {
|
|
4296
|
-
var a;
|
|
4297
|
-
let n = !1;
|
|
4298
|
-
for (const r of e) {
|
|
4299
|
-
const i = (a = r.items) != null && a.length ? this.markActiveRoute(r.items, t) : !1;
|
|
4300
|
-
r.active = r.route === t || i, r.opened = i, r.active && (n = !0);
|
|
4301
|
-
}
|
|
4302
|
-
return n;
|
|
4303
|
-
},
|
|
4304
4289
|
showTooltipItems(e, t) {
|
|
4305
4290
|
this.menuBar.opened || t != null && t.length && (this.tooltip = !0, this.tooltipItems = t);
|
|
4306
4291
|
},
|
|
@@ -4310,21 +4295,26 @@ const Bs = /* @__PURE__ */ Ae(Ts, [["render", $s], ["__scopeId", "data-v-64dbf20
|
|
|
4310
4295
|
handleOpenMenu(e) {
|
|
4311
4296
|
var n;
|
|
4312
4297
|
for (let a of this.leftMenuItems || [])
|
|
4313
|
-
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ?
|
|
4298
|
+
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ? Ot : ne);
|
|
4314
4299
|
let t = this.leftMenuItems.find((a) => a.name === e.name);
|
|
4315
|
-
t && (t.opened = !t.opened, t.openIcon = t.opened ?
|
|
4300
|
+
t && (t.opened = !t.opened, t.openIcon = t.opened ? Ot : ne);
|
|
4316
4301
|
},
|
|
4317
4302
|
openTooltipItem(e, t, n) {
|
|
4318
4303
|
var a;
|
|
4319
|
-
if ((a = t.items) != null && a.length) {
|
|
4304
|
+
if (this.closeItems(this.leftMenuItems), (a = t.items) != null && a.length) {
|
|
4320
4305
|
this.openVerticalMenu(e);
|
|
4321
4306
|
let r = this.leftMenuItems.find((o) => o.id === n.id);
|
|
4322
|
-
r.opened = !0
|
|
4307
|
+
r.opened = !0;
|
|
4323
4308
|
let i = r.items.find((o) => o.id === t.id);
|
|
4324
|
-
i.opened = !0
|
|
4309
|
+
i.opened = !0;
|
|
4325
4310
|
return;
|
|
4326
4311
|
}
|
|
4327
|
-
n.active = !0,
|
|
4312
|
+
n.active = !0, J(t.route);
|
|
4313
|
+
},
|
|
4314
|
+
closeItems(e) {
|
|
4315
|
+
var t;
|
|
4316
|
+
for (let n of e)
|
|
4317
|
+
n.active = !1, (t = n.items) != null && t.length && this.closeItems(n.items);
|
|
4328
4318
|
}
|
|
4329
4319
|
}
|
|
4330
4320
|
}), Ds = { class: "menu-container" }, zs = { class: "horizontal-menu" }, Rs = { class: "menu-button" }, Ws = ["onMouseenter"], Us = ["onClick"], Ys = {
|
|
@@ -4340,87 +4330,87 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4340
4330
|
class: "menu-icon",
|
|
4341
4331
|
onClick: t[0] || (t[0] = (c) => e.openVerticalMenu(c))
|
|
4342
4332
|
}, [
|
|
4343
|
-
e.menuBar.icon ? (x(),
|
|
4333
|
+
e.menuBar.icon ? (x(), ge(o, {
|
|
4344
4334
|
key: 0,
|
|
4345
4335
|
icon: e.menuBar.icon
|
|
4346
|
-
}, null, 8, ["icon"])) :
|
|
4336
|
+
}, null, 8, ["icon"])) : C("", !0)
|
|
4347
4337
|
])
|
|
4348
4338
|
]),
|
|
4349
|
-
|
|
4339
|
+
q(s, {
|
|
4350
4340
|
topMenuItems: e.topMenuItems,
|
|
4351
4341
|
menuBar: e.menuBar
|
|
4352
4342
|
}, null, 8, ["topMenuItems", "menuBar"])
|
|
4353
4343
|
]),
|
|
4354
4344
|
N("div", {
|
|
4355
|
-
class:
|
|
4345
|
+
class: L(["vertical-menu", { "vertical-menu-opened": e.menuBar.opened }])
|
|
4356
4346
|
}, [
|
|
4357
|
-
(x(!0), P(
|
|
4358
|
-
var
|
|
4347
|
+
(x(!0), P(ie, null, oe(e.leftMenuItems, (c, d) => {
|
|
4348
|
+
var h;
|
|
4359
4349
|
return x(), P("div", {
|
|
4360
4350
|
key: d,
|
|
4361
|
-
class:
|
|
4351
|
+
class: L(["menu-item-heading", { "item-active": c.active }]),
|
|
4362
4352
|
onMouseenter: (p) => e.showTooltipItems(p, c.items)
|
|
4363
4353
|
}, [
|
|
4364
4354
|
N("div", {
|
|
4365
|
-
class:
|
|
4355
|
+
class: L(["item", { "menu-item-opened": e.menuBar.opened }])
|
|
4366
4356
|
}, [
|
|
4367
|
-
|
|
4368
|
-
onChangeMenuItem: t[1] || (t[1] = (p) => e.handleMenuItem(p)),
|
|
4357
|
+
q(l, {
|
|
4369
4358
|
item: c,
|
|
4370
4359
|
menuBar: e.menuBar,
|
|
4371
4360
|
"left-items": e.leftMenuItems
|
|
4372
4361
|
}, null, 8, ["item", "menuBar", "left-items"]),
|
|
4373
|
-
|
|
4374
|
-
onOpenmenu: t[
|
|
4362
|
+
dn(q(u, {
|
|
4363
|
+
onOpenmenu: t[1] || (t[1] = (p) => e.handleOpenMenu(p)),
|
|
4364
|
+
onChangeMenuItem: t[2] || (t[2] = (p) => e.handleMenuItem(p)),
|
|
4375
4365
|
"left-menu-items": e.leftMenuItems,
|
|
4376
4366
|
item: c,
|
|
4377
4367
|
menuBar: e.menuBar
|
|
4378
4368
|
}, null, 8, ["left-menu-items", "item", "menuBar"]), [
|
|
4379
|
-
[
|
|
4369
|
+
[mn, e.menuBar.opened]
|
|
4380
4370
|
]),
|
|
4381
|
-
e.tooltip && ((
|
|
4371
|
+
e.tooltip && ((h = c.items) != null && h.length) && !e.menuBar.opened ? (x(), P("div", {
|
|
4382
4372
|
key: 0,
|
|
4383
4373
|
class: "active-tooltip",
|
|
4384
4374
|
onMouseleave: t[3] || (t[3] = (p) => e.hideTooltipItems(p))
|
|
4385
4375
|
}, [
|
|
4386
|
-
(x(!0), P(
|
|
4376
|
+
(x(!0), P(ie, null, oe(c.items, (p) => (x(), P("div", {
|
|
4387
4377
|
key: p.name,
|
|
4388
4378
|
class: "tooltip-item",
|
|
4389
|
-
onClick: (
|
|
4390
|
-
},
|
|
4391
|
-
], 32)) :
|
|
4379
|
+
onClick: (S) => e.openTooltipItem(S, p, c)
|
|
4380
|
+
}, ye(p.name), 9, Us))), 128))
|
|
4381
|
+
], 32)) : C("", !0)
|
|
4392
4382
|
], 2)
|
|
4393
4383
|
], 42, Ws);
|
|
4394
4384
|
}), 128))
|
|
4395
4385
|
], 2),
|
|
4396
4386
|
N("div", {
|
|
4397
|
-
class:
|
|
4387
|
+
class: L(["main", { "main-loading": e.menuBar.loading }])
|
|
4398
4388
|
}, [
|
|
4399
|
-
Fa(e.$slots, "handler", {}, void 0, !0)
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
]
|
|
4420
|
-
],
|
|
4389
|
+
Fa(e.$slots, "handler", {}, void 0, !0)
|
|
4390
|
+
], 2),
|
|
4391
|
+
e.menuBar.loading ? (x(), P("div", Ys, [...t[4] || (t[4] = [
|
|
4392
|
+
N("svg", {
|
|
4393
|
+
class: "loader-icon",
|
|
4394
|
+
viewBox: "0 0 64 64",
|
|
4395
|
+
"aria-hidden": "true"
|
|
4396
|
+
}, [
|
|
4397
|
+
N("circle", {
|
|
4398
|
+
class: "loader-track",
|
|
4399
|
+
cx: "32",
|
|
4400
|
+
cy: "32",
|
|
4401
|
+
r: "24"
|
|
4402
|
+
}),
|
|
4403
|
+
N("circle", {
|
|
4404
|
+
class: "loader-ring",
|
|
4405
|
+
cx: "32",
|
|
4406
|
+
cy: "32",
|
|
4407
|
+
r: "24"
|
|
4408
|
+
})
|
|
4409
|
+
], -1)
|
|
4410
|
+
])])) : C("", !0)
|
|
4421
4411
|
]);
|
|
4422
4412
|
}
|
|
4423
|
-
const qs = /* @__PURE__ */
|
|
4413
|
+
const qs = /* @__PURE__ */ we(Bs, [["render", Hs], ["__scopeId", "data-v-ec9036f9"]]);
|
|
4424
4414
|
export {
|
|
4425
4415
|
Xs as LeftMenuModel,
|
|
4426
4416
|
_a as MenuBarModel,
|