@modelmenu/navigation 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +1 -6
- package/dist/index.es.js +326 -315
- package/dist/index.umd.js +9 -9
- package/menu/MenuPlate.vue +21 -12
- package/menu/components/menu-item.vue +0 -3
- package/menu/components/sub-menu-items.vue +1 -4
- package/menu/components/top-menu-items/top-menu-item.vue +17 -6
- package/menu/components/top-menu-items/top-sub-menu-items.vue +32 -12
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".menu-plate[data-v-aa1375d4]{display:flex;flex-direction:column;width:100%;height:100%;background-color:#2c2c2c;color:#fff}.horizontal-menu[data-v-aa1375d4]{display:flex;gap:20px;padding:10px}.clicked[data-v-aa1375d4]{background-color:#d3d3d3}.menu-item-text[data-v-aa1375d4]{margin-left:8px}.show[data-v-aa1375d4]{display:flex}.vertical-menu[data-v-aa1375d4]{display:flex;flex-direction:column;align-items:center;gap:20px;padding:10px}.vertical-menu-opened[data-v-aa1375d4]{width:200px}.menu-item[data-v-aa1375d4]{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-aa1375d4]{animation:openMenuText-aa1375d4 .2s ease-in forwards}.menu-text-closed[data-v-aa1375d4]{animation:closeMenuText-aa1375d4 .2s ease-out forwards}.item-active[data-v-aa1375d4]{background-color:#ececec}.sub-menu-button[data-v-aa1375d4]{margin-left:8px}@keyframes openMenuText-aa1375d4{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes closeMenuText-aa1375d4{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-20px)}}@keyframes openMenu-aa1375d4{0%{transform:rotate(0)}to{transform:rotate(90deg)}}.icon-opened[data-v-aa1375d4]{animation:openMenu-aa1375d4 .02s ease forwards}.active-tooltip[data-v-29197020]{position:relative;left:74px;width:240px;height:80px;border-radius:4px;border:1px solid rgba(70,70,70,.4);background-color:#fff!important;z-index:999999999}.item[data-v-29197020]{display:flex;flex-wrap:wrap;width:180px}.item-active[data-v-29197020]{background-color:#ececec}.sub-menu-button[data-v-29197020]{cursor:pointer}.sub-menu-items .menu-item[data-v-29197020]{margin-left:60px}.sub-menu-item p[data-v-29197020]{margin-left:60px;font-size:16px;padding:4px}.top-sub-menu-items{position:absolute;top:48px;right:0;padding:8px 0;margin-top:1px;width:200px;z-index:999999999;background-color:transparent}.content{border:2px solid rgba(70,70,70,.4);border-radius:4px;padding:10px;background-color:#fff}.top-menu-item{display:flex;justify-content:space-between;column-gap:4px;cursor:pointer}.item{display:flex;flex-direction:row;width:200px;padding:3px 7px;cursor:pointer}@keyframes openMenu{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes menuTooltipOpened{0%{transform:translateY(-1px)}to{transform:translateY(0)}}.tooltip-opened{animation:menuTooltipOpened .09s ease forwards}.icon-opened{animation:openMenu .02s ease forwards}.item[data-v-a134b05b]{display:flex;flex-wrap:wrap;width:180px}.horizontal-items[data-v-a134b05b]{display:flex;gap:20px;padding:10px}.top-menu-item-heading[data-v-a134b05b]{display:flex;align-items:center;cursor:pointer;column-gap:4px;border-bottom:1px solid transparent;margin:4px;box-sizing:border-box}.horizontal-top-menu-item.active[data-v-a134b05b]{border-bottom:2px solid black}.menu-hover[data-v-a134b05b]{background-color:#eee}.horizontal-top-menu[data-v-a134b05b]{width:100%;display:flex;justify-content:flex-end;align-items:center}.horizontal-top-menu-item[data-v-a134b05b]{display:flex;align-items:center;box-sizing:border-box;cursor:pointer;height:48px;border-bottom:2px solid transparent;padding:4px 12px}@keyframes openMenu-a134b05b{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.icon-opened[data-v-a134b05b]{animation:openMenu-a134b05b .2s ease forwards}.menu-container[data-v-a3c46537]{position:relative;width:100%;height:100%}.top-sub-menu-items[data-v-a3c46537]{position:absolute;top:38px;right:0;border:1px solid #424242;padding:10px;width:150px;z-index:99999}.item-active[data-v-a3c46537]{background-color:#f2f2f2}.horizontal-menu-item[data-v-a3c46537]{cursor:pointer}.horizontal-items[data-v-a3c46537]{display:flex;gap:20px;padding:10px}.loader[data-v-a3c46537]{width:100%;display:flex;position:fixed;top:40%;left:50%;height:36dvh}.loader-icon[data-v-a3c46537]{width:60px;height:60px;transform-origin:center;animation:rotateLoader-a3c46537 1s linear infinite}@keyframes rotateLoader-a3c46537{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes menuTooltipOpened-a3c46537{0%{transform:translate(-1px)}to{transform:translate(0)}}.tooltip-opened[data-v-a3c46537]{animation:menuTooltipOpened-a3c46537 .2s ease forwards}.loader-track[data-v-a3c46537],.loader-ring[data-v-a3c46537]{fill:none;stroke-width:8}.loader-track[data-v-a3c46537]{stroke:#4294ff2e}.loader-ring[data-v-a3c46537]{stroke:#4294ff;stroke-dasharray:110 160;stroke-dashoffset:0}.menu-text-opened[data-v-a3c46537]{display:inline-block}.menu-text-closed[data-v-a3c46537]{display:none}.item[data-v-a3c46537]{display:flex;flex-wrap:wrap;cursor:pointer;width:180px}.menu-item p[data-v-a3c46537]{margin-left:10px}.menu-item-opened[data-v-a3c46537]{display:flex}.horizontal-items[data-v-a3c46537]{display:flex;align-self:flex-end}.tooltip-item[data-v-a3c46537]{padding:8px;cursor:pointer}.horizontal-menu[data-v-a3c46537]{position:absolute;border-bottom:2px solid rgba(70,70,70,.4);top:0;left:0;width:100%;height:50px;display:flex;align-items:center;justify-content:space-between}.vertical-menu[data-v-a3c46537]{position:absolute;top:50px;overflow-x:hidden;left:0;z-index:200;width:70px;animation:closeMenu-a3c46537 .3s ease-out forwards;height:100dvh;background-color:#fff;border-right:2px solid rgba(70,70,70,.4)}.menu-item[data-v-a3c46537]{width:180px;margin:10px auto 10px 20px;height:30px;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}@keyframes openMenu-a3c46537{0%{width:70px}to{width:200px}}@keyframes closeMenu-a3c46537{0%{width:200px}to{width:70px}}.vertical-menu.vertical-menu-opened[data-v-a3c46537]{width:200px;animation:openMenu-a3c46537 .3s ease-in forwards}.menu-button[data-v-a3c46537]{width:74px;height:50px;display:flex;justify-content:center;cursor:pointer;align-items:center;border-right:2px solid rgba(70,70,70,.4)}.menu-icon[data-v-a3c46537]{width:30px;height:30px;border:2px solid rgba(70,70,70,.4);display:flex;justify-content:center;align-items:center;border-radius:4px}.menu-icon[data-v-a3c46537]:hover{cursor:pointer;background-color:#8585851a}@keyframes flipAnimation-a3c46537{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes rotateAnimation-a3c46537{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes hoverAnimation-a3c46537{0%{transform:scale(1)}to{transform:scale(1.2)}}.menu-icon.opened.flip svg[data-v-a3c46537]{transform:rotate(180deg)}.menu-icon.opened.rotate svg[data-v-a3c46537]{animation:rotateAnimation-a3c46537 .5s forwards}.menu-icon.opened.hover svg[data-v-a3c46537]{animation:hoverAnimation-a3c46537 .5s forwards}.none[data-v-a3c46537]{transform:none}.horizontal-menu-item[data-v-a3c46537]{display:flex;align-items:center;justify-content:center;margin-right:10px!important;margin:0 auto}.active-tooltip[data-v-a3c46537]{position:fixed;left:80px;width:240px;border-radius:4px;background-color:#fff;z-index:9999999;border:2px solid rgba(70,70,70,.4)}.main[data-v-a3c46537]{width:calc(100vw - 300px);height:100%;position:absolute;left:180px;top:70px}.main-loading[data-v-a3c46537]{opacity:0;background-color:#fff}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
var Aa = Object.defineProperty;
|
|
3
3
|
var ka = (e, t, n) => t in e ? Aa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
|
-
var
|
|
5
|
-
import { defineComponent as Ne, computed as
|
|
4
|
+
var x = (e, t, n) => ka(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
|
+
import { defineComponent as Ne, computed as $, watch as Ma, h as ce, resolveComponent as L, openBlock as w, createElementBlock as P, normalizeClass as N, createBlock as ge, createCommentVNode as E, createElementVNode as C, toDisplayString as ye, createVNode as q, Fragment as ie, renderList as oe, withDirectives as dn, vShow as mn, withModifiers as pn, createTextVNode as Pa, 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)
|
|
@@ -27,57 +27,57 @@ var ne = {
|
|
|
27
27
|
};
|
|
28
28
|
class Xs {
|
|
29
29
|
constructor() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
x(this, "name", "");
|
|
31
|
+
x(this, "icon");
|
|
32
|
+
x(this, "route", "");
|
|
33
|
+
x(this, "items", []);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
class Ks {
|
|
37
37
|
constructor() {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
x(this, "name", "");
|
|
39
|
+
x(this, "route", "");
|
|
40
|
+
x(this, "items", []);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
class Ta {
|
|
44
44
|
constructor() {
|
|
45
|
-
|
|
45
|
+
x(this, "icon", hn);
|
|
46
46
|
//angle-arrow, bars, ellipsis
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
x(this, "name", "");
|
|
48
|
+
x(this, "loading", !1);
|
|
49
|
+
x(this, "opened", !1);
|
|
50
|
+
x(this, "changeIcon", "none");
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
class _a {
|
|
54
54
|
constructor() {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
x(this, "id", 0);
|
|
56
|
+
x(this, "name", "");
|
|
57
|
+
x(this, "icon");
|
|
58
|
+
x(this, "route", "");
|
|
59
|
+
x(this, "opened", !1);
|
|
60
|
+
x(this, "openIcon", qe);
|
|
61
|
+
x(this, "items", []);
|
|
62
|
+
x(this, "active", !1);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
class Ca {
|
|
66
66
|
constructor() {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
x(this, "id", 0);
|
|
68
|
+
x(this, "name", "");
|
|
69
|
+
x(this, "route", "");
|
|
70
|
+
x(this, "opened", !1);
|
|
71
|
+
x(this, "active", !1);
|
|
72
|
+
x(this, "openIcon", ne);
|
|
73
|
+
x(this, "items", []);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
class Ft {
|
|
77
77
|
constructor() {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
x(this, "name", "");
|
|
79
|
+
x(this, "value", "");
|
|
80
|
+
x(this, "type", "primary");
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
/*!
|
|
@@ -1023,13 +1023,13 @@ var qn = {
|
|
|
1023
1023
|
de.familyPrefix && (de.cssPrefix = de.familyPrefix);
|
|
1024
1024
|
var se = f(f({}, qn), de);
|
|
1025
1025
|
se.autoReplaceSvg || (se.observeMutations = !1);
|
|
1026
|
-
var
|
|
1026
|
+
var h = {};
|
|
1027
1027
|
Object.keys(qn).forEach(function(e) {
|
|
1028
|
-
Object.defineProperty(
|
|
1028
|
+
Object.defineProperty(h, e, {
|
|
1029
1029
|
enumerable: !0,
|
|
1030
1030
|
set: function(n) {
|
|
1031
1031
|
se[e] = n, me.forEach(function(a) {
|
|
1032
|
-
return a(
|
|
1032
|
+
return a(h);
|
|
1033
1033
|
});
|
|
1034
1034
|
},
|
|
1035
1035
|
get: function() {
|
|
@@ -1037,18 +1037,18 @@ Object.keys(qn).forEach(function(e) {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
});
|
|
1039
1039
|
});
|
|
1040
|
-
Object.defineProperty(
|
|
1040
|
+
Object.defineProperty(h, "familyPrefix", {
|
|
1041
1041
|
enumerable: !0,
|
|
1042
1042
|
set: function(t) {
|
|
1043
1043
|
se.cssPrefix = t, me.forEach(function(n) {
|
|
1044
|
-
return n(
|
|
1044
|
+
return n(h);
|
|
1045
1045
|
});
|
|
1046
1046
|
},
|
|
1047
1047
|
get: function() {
|
|
1048
1048
|
return se.cssPrefix;
|
|
1049
1049
|
}
|
|
1050
1050
|
});
|
|
1051
|
-
G.FontAwesomeConfig =
|
|
1051
|
+
G.FontAwesomeConfig = h;
|
|
1052
1052
|
var me = [];
|
|
1053
1053
|
function Ei(e) {
|
|
1054
1054
|
return me.push(e), function() {
|
|
@@ -1677,7 +1677,7 @@ var Di = `:root, :host {
|
|
|
1677
1677
|
z-index: var(--fa-stack-z-index, auto);
|
|
1678
1678
|
}`;
|
|
1679
1679
|
function Qn() {
|
|
1680
|
-
var e = Yn, t = Hn, n =
|
|
1680
|
+
var e = Yn, t = Hn, n = h.cssPrefix, a = h.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));
|
|
@@ -1686,7 +1686,7 @@ function Qn() {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
var zt = !1;
|
|
1688
1688
|
function He() {
|
|
1689
|
-
|
|
1689
|
+
h.autoAddCss && !zt && (Ni(Qn()), zt = !0);
|
|
1690
1690
|
}
|
|
1691
1691
|
var zi = {
|
|
1692
1692
|
mixout: function() {
|
|
@@ -1794,7 +1794,7 @@ var la = function() {
|
|
|
1794
1794
|
r[l] = o;
|
|
1795
1795
|
}), r;
|
|
1796
1796
|
});
|
|
1797
|
-
var n = "far" in he ||
|
|
1797
|
+
var n = "far" in he || h.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,13 +1807,13 @@ var la = function() {
|
|
|
1807
1807
|
names: {},
|
|
1808
1808
|
unicodes: {}
|
|
1809
1809
|
});
|
|
1810
|
-
ia = a.names, oa = a.unicodes, wt = Le(
|
|
1811
|
-
family:
|
|
1810
|
+
ia = a.names, oa = a.unicodes, wt = Le(h.styleDefault, {
|
|
1811
|
+
family: h.familyDefault
|
|
1812
1812
|
});
|
|
1813
1813
|
};
|
|
1814
1814
|
Ei(function(e) {
|
|
1815
1815
|
wt = Le(e.styleDefault, {
|
|
1816
|
-
family:
|
|
1816
|
+
family: h.familyDefault
|
|
1817
1817
|
});
|
|
1818
1818
|
});
|
|
1819
1819
|
la();
|
|
@@ -1854,7 +1854,7 @@ var ua = function() {
|
|
|
1854
1854
|
};
|
|
1855
1855
|
function Xi(e) {
|
|
1856
1856
|
var t = T, n = na.reduce(function(a, r) {
|
|
1857
|
-
return a[r] = "".concat(
|
|
1857
|
+
return a[r] = "".concat(h.cssPrefix, "-").concat(r), a;
|
|
1858
1858
|
}, {});
|
|
1859
1859
|
return zn.forEach(function(a) {
|
|
1860
1860
|
(e.includes(n[a]) || e.some(function(r) {
|
|
@@ -1872,7 +1872,7 @@ function Le(e) {
|
|
|
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(h.cssPrefix, a);
|
|
1876
1876
|
r ? n = r : a && t.push(a);
|
|
1877
1877
|
}), {
|
|
1878
1878
|
iconName: n,
|
|
@@ -1886,25 +1886,25 @@ function Ut(e) {
|
|
|
1886
1886
|
}
|
|
1887
1887
|
var Yt = Wn.concat(Rn);
|
|
1888
1888
|
function Be(e) {
|
|
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(
|
|
1890
|
-
return Yt.includes(
|
|
1891
|
-
})), o = Ut(e.filter(function(
|
|
1892
|
-
return !Yt.includes(
|
|
1893
|
-
})), s = i.filter(function(
|
|
1894
|
-
return r =
|
|
1895
|
-
}), l = je(s, 1), u = l[0], c = u === void 0 ? null : u, d = Xi(i),
|
|
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(g) {
|
|
1890
|
+
return Yt.includes(g);
|
|
1891
|
+
})), o = Ut(e.filter(function(g) {
|
|
1892
|
+
return !Yt.includes(g);
|
|
1893
|
+
})), s = i.filter(function(g) {
|
|
1894
|
+
return r = g, !wn.includes(g);
|
|
1895
|
+
}), l = je(s, 1), u = l[0], c = u === void 0 ? null : u, d = Xi(i), p = 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({}, p), Zi({
|
|
1901
1901
|
values: e,
|
|
1902
1902
|
family: d,
|
|
1903
1903
|
styles: he,
|
|
1904
|
-
config:
|
|
1905
|
-
canonical:
|
|
1904
|
+
config: h,
|
|
1905
|
+
canonical: p,
|
|
1906
1906
|
givenPrefix: r
|
|
1907
|
-
})), qi(a, r,
|
|
1907
|
+
})), qi(a, r, p));
|
|
1908
1908
|
}
|
|
1909
1909
|
function qi(e, t, n) {
|
|
1910
1910
|
var a = n.prefix, r = n.iconName;
|
|
@@ -1914,7 +1914,7 @@ function qi(e, t, n) {
|
|
|
1914
1914
|
iconName: r
|
|
1915
1915
|
};
|
|
1916
1916
|
var i = t === "fa" ? fa(r) : {}, o = K(a, r);
|
|
1917
|
-
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !he.far && he.fas && !
|
|
1917
|
+
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !he.far && he.fas && !h.autoFetchSvg && (a = "fas"), {
|
|
1918
1918
|
prefix: a,
|
|
1919
1919
|
iconName: r
|
|
1920
1920
|
};
|
|
@@ -1927,12 +1927,12 @@ var Ji = zn.filter(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 === be, d = t.includes("fa-duotone") || t.includes("fad"),
|
|
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"), p = u.familyDefault === "duotone", g = a.prefix === "fad" || a.prefix === "fa-duotone";
|
|
1931
|
+
if (!c && (d || p || g) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && Ji.includes(n)) {
|
|
1932
|
+
var b = Object.keys(s).find(function(O) {
|
|
1933
1933
|
return Qi.includes(O);
|
|
1934
1934
|
});
|
|
1935
|
-
if (
|
|
1935
|
+
if (b || u.autoFetchSvg) {
|
|
1936
1936
|
var I = pr.get(n).defaultShortPrefixId;
|
|
1937
1937
|
a.prefix = I, a.iconName = K(a.prefix, a.iconName) || a.iconName;
|
|
1938
1938
|
}
|
|
@@ -2021,7 +2021,7 @@ function ot(e) {
|
|
|
2021
2021
|
return t = K(n, t) || t, Rt(ca.definitions, n, t) || Rt(B.styles, n, t);
|
|
2022
2022
|
}
|
|
2023
2023
|
var ca = new eo(), ao = function() {
|
|
2024
|
-
|
|
2024
|
+
h.autoReplaceSvg = !1, h.observeMutations = !1, Z("noAuto");
|
|
2025
2025
|
}, ro = {
|
|
2026
2026
|
i2svg: function() {
|
|
2027
2027
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -2029,7 +2029,7 @@ var ca = new eo(), ao = function() {
|
|
|
2029
2029
|
},
|
|
2030
2030
|
watch: function() {
|
|
2031
2031
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
|
|
2032
|
-
|
|
2032
|
+
h.autoReplaceSvg === !1 && (h.autoReplaceSvg = !0), h.observeMutations = !0, Ri(function() {
|
|
2033
2033
|
oo({
|
|
2034
2034
|
autoReplaceSvgRoot: n
|
|
2035
2035
|
}), Z("watch", t);
|
|
@@ -2051,7 +2051,7 @@ var ca = new eo(), ao = function() {
|
|
|
2051
2051
|
iconName: K(a, n) || n
|
|
2052
2052
|
};
|
|
2053
2053
|
}
|
|
2054
|
-
if (typeof t == "string" && (t.indexOf("".concat(
|
|
2054
|
+
if (typeof t == "string" && (t.indexOf("".concat(h.cssPrefix, "-")) > -1 || t.match(ki))) {
|
|
2055
2055
|
var r = Be(t.split(" "), {
|
|
2056
2056
|
skipLookups: !0
|
|
2057
2057
|
});
|
|
@@ -2068,9 +2068,9 @@ var ca = new eo(), ao = function() {
|
|
|
2068
2068
|
};
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
|
-
},
|
|
2071
|
+
}, j = {
|
|
2072
2072
|
noAuto: ao,
|
|
2073
|
-
config:
|
|
2073
|
+
config: h,
|
|
2074
2074
|
dom: ro,
|
|
2075
2075
|
parse: io,
|
|
2076
2076
|
library: ca,
|
|
@@ -2078,7 +2078,7 @@ var ca = new eo(), ao = function() {
|
|
|
2078
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(B.styles).length > 0 ||
|
|
2081
|
+
(Object.keys(B.styles).length > 0 || h.autoFetchSvg) && H && h.autoReplaceSvg && j.dom.i2svg({
|
|
2082
2082
|
node: a
|
|
2083
2083
|
});
|
|
2084
2084
|
};
|
|
@@ -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(h.cssPrefix, "-").concat(n) : i;
|
|
2122
2122
|
return [{
|
|
2123
2123
|
tag: "svg",
|
|
2124
2124
|
attributes: {
|
|
@@ -2140,7 +2140,7 @@ function fo(e) {
|
|
|
2140
2140
|
});
|
|
2141
2141
|
}
|
|
2142
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,
|
|
2143
|
+
var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, d = c === void 0 ? !1 : c, p = a.found ? a : n, g = p.width, b = p.height, I = [h.replacementClass, i ? "".concat(h.cssPrefix, "-").concat(i) : ""].filter(function(F) {
|
|
2144
2144
|
return u.classes.indexOf(F) === -1;
|
|
2145
2145
|
}).filter(function(F) {
|
|
2146
2146
|
return F !== "" || !!F;
|
|
@@ -2151,7 +2151,7 @@ function At(e) {
|
|
|
2151
2151
|
"data-icon": i,
|
|
2152
2152
|
class: I,
|
|
2153
2153
|
role: u.attributes.role || "img",
|
|
2154
|
-
viewBox: "0 0 ".concat(
|
|
2154
|
+
viewBox: "0 0 ".concat(g, " ").concat(b)
|
|
2155
2155
|
})
|
|
2156
2156
|
};
|
|
2157
2157
|
!fo(u.attributes) && !u.attributes["aria-hidden"] && (O.attributes["aria-hidden"] = "true"), d && (O.attributes[Q] = "");
|
|
@@ -2164,13 +2164,13 @@ function At(e) {
|
|
|
2164
2164
|
transform: o,
|
|
2165
2165
|
symbol: s,
|
|
2166
2166
|
styles: f({}, u.styles)
|
|
2167
|
-
}),
|
|
2167
|
+
}), v = 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
|
-
}, A =
|
|
2173
|
+
}, A = v.children, M = v.attributes;
|
|
2174
2174
|
return m.children = A, m.attributes = M, s ? lo(m) : so(m);
|
|
2175
2175
|
}
|
|
2176
2176
|
function Gt(e) {
|
|
@@ -2211,19 +2211,19 @@ function st(e) {
|
|
|
2211
2211
|
return Array.isArray(i) ? o = {
|
|
2212
2212
|
tag: "g",
|
|
2213
2213
|
attributes: {
|
|
2214
|
-
class: "".concat(
|
|
2214
|
+
class: "".concat(h.cssPrefix, "-").concat(Ye.GROUP)
|
|
2215
2215
|
},
|
|
2216
2216
|
children: [{
|
|
2217
2217
|
tag: "path",
|
|
2218
2218
|
attributes: {
|
|
2219
|
-
class: "".concat(
|
|
2219
|
+
class: "".concat(h.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(h.cssPrefix, "-").concat(Ye.PRIMARY),
|
|
2227
2227
|
fill: "currentColor",
|
|
2228
2228
|
d: i[1]
|
|
2229
2229
|
}
|
|
@@ -2247,11 +2247,11 @@ var co = {
|
|
|
2247
2247
|
height: 512
|
|
2248
2248
|
};
|
|
2249
2249
|
function mo(e, t) {
|
|
2250
|
-
!Vn && !
|
|
2250
|
+
!Vn && !h.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" && h.styleDefault !== null && (t = V()), new Promise(function(a, r) {
|
|
2255
2255
|
if (n === "fa") {
|
|
2256
2256
|
var i = fa(e) || {};
|
|
2257
2257
|
e = i.iconName || e, t = i.prefix || t;
|
|
@@ -2261,12 +2261,12 @@ function lt(e, t) {
|
|
|
2261
2261
|
return a(st(o));
|
|
2262
2262
|
}
|
|
2263
2263
|
mo(e, t), a(f(f({}, co), {}, {
|
|
2264
|
-
icon:
|
|
2264
|
+
icon: h.showMissingIcons && e ? X("missingIconAbstract") || {} : {}
|
|
2265
2265
|
}));
|
|
2266
2266
|
});
|
|
2267
2267
|
}
|
|
2268
2268
|
var Vt = function() {
|
|
2269
|
-
}, ft =
|
|
2269
|
+
}, ft = h.measurePerformance && Se && Se.mark && Se.measure ? Se : {
|
|
2270
2270
|
mark: Vt,
|
|
2271
2271
|
measure: Vt
|
|
2272
2272
|
}, ue = 'FA "7.2.0"', po = function(t) {
|
|
@@ -2289,12 +2289,12 @@ 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(h.replacementClass);
|
|
2293
2293
|
}
|
|
2294
2294
|
function go() {
|
|
2295
|
-
if (
|
|
2295
|
+
if (h.autoReplaceSvg === !0)
|
|
2296
2296
|
return Pe.replace;
|
|
2297
|
-
var e = Pe[
|
|
2297
|
+
var e = Pe[h.autoReplaceSvg];
|
|
2298
2298
|
return e || Pe.replace;
|
|
2299
2299
|
}
|
|
2300
2300
|
function yo(e) {
|
|
@@ -2328,7 +2328,7 @@ var Pe = {
|
|
|
2328
2328
|
if (n.parentNode)
|
|
2329
2329
|
if (t[1].forEach(function(r) {
|
|
2330
2330
|
n.parentNode.insertBefore(ma(r), n);
|
|
2331
|
-
}), n.getAttribute(Q) === null &&
|
|
2331
|
+
}), n.getAttribute(Q) === null && h.keepOriginalSource) {
|
|
2332
2332
|
var a = k.createComment(Io(n));
|
|
2333
2333
|
n.parentNode.replaceChild(a, n);
|
|
2334
2334
|
} else
|
|
@@ -2336,12 +2336,12 @@ var Pe = {
|
|
|
2336
2336
|
},
|
|
2337
2337
|
nest: function(t) {
|
|
2338
2338
|
var n = t[0], a = t[1];
|
|
2339
|
-
if (~It(n).indexOf(
|
|
2339
|
+
if (~It(n).indexOf(h.replacementClass))
|
|
2340
2340
|
return Pe.replace(t);
|
|
2341
|
-
var r = new RegExp("".concat(
|
|
2341
|
+
var r = new RegExp("".concat(h.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 === h.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
|
|
2345
2345
|
}, {
|
|
2346
2346
|
toNode: [],
|
|
2347
2347
|
toSvg: []
|
|
@@ -2364,7 +2364,7 @@ function pa(e, t) {
|
|
|
2364
2364
|
n();
|
|
2365
2365
|
else {
|
|
2366
2366
|
var a = Kt;
|
|
2367
|
-
|
|
2367
|
+
h.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
|
});
|
|
@@ -2379,16 +2379,16 @@ function ut() {
|
|
|
2379
2379
|
}
|
|
2380
2380
|
var Te = null;
|
|
2381
2381
|
function qt(e) {
|
|
2382
|
-
if (Nt &&
|
|
2382
|
+
if (Nt && h.observeMutations) {
|
|
2383
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
2384
|
Te = new Nt(function(u) {
|
|
2385
2385
|
if (!Mt) {
|
|
2386
2386
|
var c = V();
|
|
2387
2387
|
le(u).forEach(function(d) {
|
|
2388
|
-
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (
|
|
2388
|
+
if (d.type === "childList" && d.addedNodes.length > 0 && !Xt(d.addedNodes[0]) && (h.searchPseudoElements && o(d.target), n(d.target)), d.type === "attributes" && d.target.parentNode && h.searchPseudoElements && o([d.target], !0), d.type === "attributes" && Xt(d.target) && ~Oi.indexOf(d.attributeName))
|
|
2389
2389
|
if (d.attributeName === "class" && ho(d.target)) {
|
|
2390
|
-
var
|
|
2391
|
-
d.target.setAttribute(gt,
|
|
2390
|
+
var p = Be(It(d.target)), g = p.prefix, b = p.iconName;
|
|
2391
|
+
d.target.setAttribute(gt, g || c), b && d.target.setAttribute(yt, b);
|
|
2392
2392
|
} else vo(d.target) && r(d.target);
|
|
2393
2393
|
});
|
|
2394
2394
|
}
|
|
@@ -2412,7 +2412,7 @@ function wo(e) {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
function So(e) {
|
|
2414
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, ta(e.innerText))), !r.iconName &&
|
|
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, ta(e.innerText))), !r.iconName && h.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
2416
2416
|
}
|
|
2417
2417
|
function Ao(e) {
|
|
2418
2418
|
var t = le(e.attributes).reduce(function(n, a) {
|
|
@@ -2463,7 +2463,7 @@ function Jt(e) {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
var Mo = B.styles;
|
|
2465
2465
|
function va(e) {
|
|
2466
|
-
var t =
|
|
2466
|
+
var t = h.autoReplaceSvg === "nest" ? Jt(e, {
|
|
2467
2467
|
styleParser: !1
|
|
2468
2468
|
}) : Jt(e);
|
|
2469
2469
|
return ~t.extra.classes.indexOf(Kn) ? X("generateLayersText", e, t) : X("generateSvgReplacementMutation", e, t);
|
|
@@ -2478,7 +2478,7 @@ function Qt(e) {
|
|
|
2478
2478
|
return n.add("".concat(Lt, "-").concat(d));
|
|
2479
2479
|
}, r = function(d) {
|
|
2480
2480
|
return n.remove("".concat(Lt, "-").concat(d));
|
|
2481
|
-
}, i =
|
|
2481
|
+
}, i = h.autoFetchSvg ? Po() : wn.concat(Object.keys(Mo));
|
|
2482
2482
|
i.includes("fa") || i.push("fa");
|
|
2483
2483
|
var o = [".".concat(Kn, ":not([").concat(Q, "])")].concat(i.map(function(c) {
|
|
2484
2484
|
return ".".concat(c, ":not([").concat(Q, "])");
|
|
@@ -2496,20 +2496,20 @@ 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
|
-
|
|
2501
|
-
} catch (
|
|
2502
|
-
Vn ||
|
|
2499
|
+
var p = va(d);
|
|
2500
|
+
p && c.push(p);
|
|
2501
|
+
} catch (g) {
|
|
2502
|
+
Vn || g.name === "MissingIcon" && console.error(g);
|
|
2503
2503
|
}
|
|
2504
2504
|
return c;
|
|
2505
2505
|
}, []);
|
|
2506
2506
|
return new Promise(function(c, d) {
|
|
2507
|
-
Promise.all(u).then(function(
|
|
2508
|
-
pa(
|
|
2507
|
+
Promise.all(u).then(function(p) {
|
|
2508
|
+
pa(p, 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(p) {
|
|
2512
|
+
l(), d(p);
|
|
2513
2513
|
});
|
|
2514
2514
|
});
|
|
2515
2515
|
}
|
|
@@ -2528,9 +2528,9 @@ function Fo(e) {
|
|
|
2528
2528
|
};
|
|
2529
2529
|
}
|
|
2530
2530
|
var To = function(t) {
|
|
2531
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? R : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, c = u === void 0 ? null : u, d = n.classes,
|
|
2531
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? R : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, c = u === void 0 ? null : u, d = n.classes, p = d === void 0 ? [] : d, g = n.attributes, b = g === void 0 ? {} : g, I = n.styles, O = I === void 0 ? {} : I;
|
|
2532
2532
|
if (t) {
|
|
2533
|
-
var m = t.prefix,
|
|
2533
|
+
var m = t.prefix, v = t.iconName, A = t.icon;
|
|
2534
2534
|
return De(f({
|
|
2535
2535
|
type: "icon"
|
|
2536
2536
|
}, t), function() {
|
|
@@ -2548,14 +2548,14 @@ var To = function(t) {
|
|
|
2548
2548
|
}
|
|
2549
2549
|
},
|
|
2550
2550
|
prefix: m,
|
|
2551
|
-
iconName:
|
|
2551
|
+
iconName: v,
|
|
2552
2552
|
transform: f(f({}, R), r),
|
|
2553
2553
|
symbol: o,
|
|
2554
2554
|
maskId: c,
|
|
2555
2555
|
extra: {
|
|
2556
|
-
attributes:
|
|
2556
|
+
attributes: b,
|
|
2557
2557
|
styles: O,
|
|
2558
|
-
classes:
|
|
2558
|
+
classes: p
|
|
2559
2559
|
}
|
|
2560
2560
|
});
|
|
2561
2561
|
});
|
|
@@ -2580,14 +2580,14 @@ var To = 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, p) {
|
|
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
|
-
})]).then(function(
|
|
2590
|
-
var
|
|
2589
|
+
})]).then(function(g) {
|
|
2590
|
+
var b = je(g, 2), I = b[0], O = b[1];
|
|
2591
2591
|
d([n, At({
|
|
2592
2592
|
icons: {
|
|
2593
2593
|
main: I,
|
|
@@ -2601,7 +2601,7 @@ var To = function(t) {
|
|
|
2601
2601
|
extra: c,
|
|
2602
2602
|
watchable: !0
|
|
2603
2603
|
})]);
|
|
2604
|
-
}).catch(
|
|
2604
|
+
}).catch(p);
|
|
2605
2605
|
});
|
|
2606
2606
|
}, t.generateAbstractIcon = function(n) {
|
|
2607
2607
|
var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, l = $e(s);
|
|
@@ -2638,7 +2638,7 @@ var To = function(t) {
|
|
|
2638
2638
|
}), [{
|
|
2639
2639
|
tag: "span",
|
|
2640
2640
|
attributes: {
|
|
2641
|
-
class: ["".concat(
|
|
2641
|
+
class: ["".concat(h.cssPrefix, "-layers")].concat(D(i)).join(" ")
|
|
2642
2642
|
},
|
|
2643
2643
|
children: o
|
|
2644
2644
|
}];
|
|
@@ -2665,7 +2665,7 @@ var To = function(t) {
|
|
|
2665
2665
|
extra: {
|
|
2666
2666
|
attributes: s,
|
|
2667
2667
|
styles: u,
|
|
2668
|
-
classes: ["".concat(
|
|
2668
|
+
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(D(i))
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
2671
|
});
|
|
@@ -2690,7 +2690,7 @@ var To = function(t) {
|
|
|
2690
2690
|
extra: {
|
|
2691
2691
|
attributes: u,
|
|
2692
2692
|
styles: d,
|
|
2693
|
-
classes: ["".concat(
|
|
2693
|
+
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(D(s))
|
|
2694
2694
|
}
|
|
2695
2695
|
});
|
|
2696
2696
|
});
|
|
@@ -2748,22 +2748,22 @@ function tn(e, t) {
|
|
|
2748
2748
|
if (o && !u)
|
|
2749
2749
|
return e.removeChild(o), a();
|
|
2750
2750
|
if (u && d !== "none" && d !== "") {
|
|
2751
|
-
var
|
|
2751
|
+
var p = s.getPropertyValue("content"), g = Bo(l, c), b = $o(p), I = u[0].startsWith("FontAwesome"), O = Lo(s), m = St(g, b), v = m;
|
|
2752
2752
|
if (I) {
|
|
2753
|
-
var A = Vi(
|
|
2754
|
-
A.iconName && A.prefix && (m = A.iconName,
|
|
2753
|
+
var A = Vi(b);
|
|
2754
|
+
A.iconName && A.prefix && (m = A.iconName, g = A.prefix);
|
|
2755
2755
|
}
|
|
2756
|
-
if (m && !O && (!o || o.getAttribute(gt) !==
|
|
2757
|
-
e.setAttribute(n,
|
|
2756
|
+
if (m && !O && (!o || o.getAttribute(gt) !== g || o.getAttribute(yt) !== v)) {
|
|
2757
|
+
e.setAttribute(n, v), o && e.removeChild(o);
|
|
2758
2758
|
var M = ko(), F = M.extra;
|
|
2759
|
-
F.attributes[et] = t, lt(m,
|
|
2759
|
+
F.attributes[et] = t, lt(m, g).then(function(z) {
|
|
2760
2760
|
var fe = At(f(f({}, M), {}, {
|
|
2761
2761
|
icons: {
|
|
2762
2762
|
main: z,
|
|
2763
2763
|
mask: ua()
|
|
2764
2764
|
},
|
|
2765
|
-
prefix:
|
|
2766
|
-
iconName:
|
|
2765
|
+
prefix: g,
|
|
2766
|
+
iconName: v,
|
|
2767
2767
|
extra: F,
|
|
2768
2768
|
watchable: !0
|
|
2769
2769
|
})), Re = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
@@ -2822,7 +2822,7 @@ function nn(e) {
|
|
|
2822
2822
|
var n;
|
|
2823
2823
|
if (t)
|
|
2824
2824
|
n = e;
|
|
2825
|
-
else if (
|
|
2825
|
+
else if (h.searchPseudoElementsFullScan)
|
|
2826
2826
|
n = e.querySelectorAll("*");
|
|
2827
2827
|
else {
|
|
2828
2828
|
var a = /* @__PURE__ */ new Set(), r = ke(document.styleSheets), i;
|
|
@@ -2833,11 +2833,11 @@ function nn(e) {
|
|
|
2833
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 = ke(c),
|
|
2836
|
+
var u = l.value, c = Wo(u.selectorText), d = ke(c), p;
|
|
2837
2837
|
try {
|
|
2838
|
-
for (d.s(); !(
|
|
2839
|
-
var
|
|
2840
|
-
a.add(
|
|
2838
|
+
for (d.s(); !(p = d.n()).done; ) {
|
|
2839
|
+
var g = p.value;
|
|
2840
|
+
a.add(g);
|
|
2841
2841
|
}
|
|
2842
2842
|
} catch (I) {
|
|
2843
2843
|
d.e(I);
|
|
@@ -2851,7 +2851,7 @@ function nn(e) {
|
|
|
2851
2851
|
s.f();
|
|
2852
2852
|
}
|
|
2853
2853
|
} catch (I) {
|
|
2854
|
-
|
|
2854
|
+
h.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,18 +2861,18 @@ 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 b = Array.from(a).join(", ");
|
|
2865
2865
|
try {
|
|
2866
|
-
n = e.querySelectorAll(
|
|
2866
|
+
n = e.querySelectorAll(b);
|
|
2867
2867
|
} catch {
|
|
2868
2868
|
}
|
|
2869
2869
|
}
|
|
2870
2870
|
return new Promise(function(I, O) {
|
|
2871
|
-
var m = le(n).filter(zo).map(Do),
|
|
2871
|
+
var m = le(n).filter(zo).map(Do), v = kt.begin("searchPseudoElements");
|
|
2872
2872
|
ha(), Promise.all(m).then(function() {
|
|
2873
|
-
|
|
2873
|
+
v(), ut(), I();
|
|
2874
2874
|
}).catch(function() {
|
|
2875
|
-
|
|
2875
|
+
v(), ut(), O();
|
|
2876
2876
|
});
|
|
2877
2877
|
});
|
|
2878
2878
|
}
|
|
@@ -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
|
+
h.searchPseudoElements && nn(r);
|
|
2892
2892
|
};
|
|
2893
2893
|
}
|
|
2894
2894
|
}, an = !1, Yo = {
|
|
@@ -2983,23 +2983,23 @@ 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
|
-
}, h = {
|
|
2987
|
-
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2988
2986
|
}, p = {
|
|
2987
|
+
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2988
|
+
}, g = {
|
|
2989
2989
|
outer: s,
|
|
2990
2990
|
inner: d,
|
|
2991
|
-
path:
|
|
2991
|
+
path: p
|
|
2992
2992
|
};
|
|
2993
2993
|
return {
|
|
2994
2994
|
tag: "g",
|
|
2995
|
-
attributes: f({},
|
|
2995
|
+
attributes: f({}, g.outer),
|
|
2996
2996
|
children: [{
|
|
2997
2997
|
tag: "g",
|
|
2998
|
-
attributes: f({},
|
|
2998
|
+
attributes: f({}, g.inner),
|
|
2999
2999
|
children: [{
|
|
3000
3000
|
tag: a.icon.tag,
|
|
3001
3001
|
children: a.icon.children,
|
|
3002
|
-
attributes: f(f({}, a.icon.attributes),
|
|
3002
|
+
attributes: f(f({}, a.icon.attributes), g.path)
|
|
3003
3003
|
}]
|
|
3004
3004
|
}]
|
|
3005
3005
|
};
|
|
@@ -3031,11 +3031,11 @@ var Vo = {
|
|
|
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, p = o.icon, g = Li({
|
|
3035
3035
|
transform: l,
|
|
3036
3036
|
containerWidth: d,
|
|
3037
3037
|
iconWidth: u
|
|
3038
|
-
}),
|
|
3038
|
+
}), b = {
|
|
3039
3039
|
tag: "rect",
|
|
3040
3040
|
attributes: f(f({}, Xe), {}, {
|
|
3041
3041
|
fill: "white"
|
|
@@ -3044,23 +3044,23 @@ var Vo = {
|
|
|
3044
3044
|
children: c.children.map(on)
|
|
3045
3045
|
} : {}, O = {
|
|
3046
3046
|
tag: "g",
|
|
3047
|
-
attributes: f({},
|
|
3047
|
+
attributes: f({}, g.inner),
|
|
3048
3048
|
children: [on(f({
|
|
3049
3049
|
tag: c.tag,
|
|
3050
|
-
attributes: f(f({}, c.attributes),
|
|
3050
|
+
attributes: f(f({}, c.attributes), g.path)
|
|
3051
3051
|
}, I))]
|
|
3052
3052
|
}, m = {
|
|
3053
3053
|
tag: "g",
|
|
3054
|
-
attributes: f({},
|
|
3054
|
+
attributes: f({}, g.outer),
|
|
3055
3055
|
children: [O]
|
|
3056
|
-
},
|
|
3056
|
+
}, v = "mask-".concat(s || Dt()), A = "clip-".concat(s || Dt()), M = {
|
|
3057
3057
|
tag: "mask",
|
|
3058
3058
|
attributes: f(f({}, Xe), {}, {
|
|
3059
|
-
id:
|
|
3059
|
+
id: v,
|
|
3060
3060
|
maskUnits: "userSpaceOnUse",
|
|
3061
3061
|
maskContentUnits: "userSpaceOnUse"
|
|
3062
3062
|
}),
|
|
3063
|
-
children: [
|
|
3063
|
+
children: [b, m]
|
|
3064
3064
|
}, F = {
|
|
3065
3065
|
tag: "defs",
|
|
3066
3066
|
children: [{
|
|
@@ -3068,7 +3068,7 @@ var Vo = {
|
|
|
3068
3068
|
attributes: {
|
|
3069
3069
|
id: A
|
|
3070
3070
|
},
|
|
3071
|
-
children: Go(
|
|
3071
|
+
children: Go(p)
|
|
3072
3072
|
}, M]
|
|
3073
3073
|
};
|
|
3074
3074
|
return a.push(F, {
|
|
@@ -3076,7 +3076,7 @@ var Vo = {
|
|
|
3076
3076
|
attributes: f({
|
|
3077
3077
|
fill: "currentColor",
|
|
3078
3078
|
"clip-path": "url(#".concat(A, ")"),
|
|
3079
|
-
mask: "url(#".concat(
|
|
3079
|
+
mask: "url(#".concat(v, ")")
|
|
3080
3080
|
}, Xe)
|
|
3081
3081
|
}), {
|
|
3082
3082
|
children: a,
|
|
@@ -3167,19 +3167,19 @@ var Vo = {
|
|
|
3167
3167
|
}
|
|
3168
3168
|
}, qo = [zi, _o, Co, Eo, No, Uo, Yo, Ho, Vo, Xo, Ko];
|
|
3169
3169
|
no(qo, {
|
|
3170
|
-
mixoutsTo:
|
|
3170
|
+
mixoutsTo: j
|
|
3171
3171
|
});
|
|
3172
|
-
|
|
3173
|
-
var ya =
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
var _e =
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
var Jo =
|
|
3180
|
-
|
|
3181
|
-
var Qo =
|
|
3182
|
-
|
|
3172
|
+
j.noAuto;
|
|
3173
|
+
var ya = j.config;
|
|
3174
|
+
j.library;
|
|
3175
|
+
j.dom;
|
|
3176
|
+
var _e = j.parse;
|
|
3177
|
+
j.findIconDefinition;
|
|
3178
|
+
j.toHtml;
|
|
3179
|
+
var Jo = j.icon;
|
|
3180
|
+
j.layer;
|
|
3181
|
+
var Qo = j.text;
|
|
3182
|
+
j.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];
|
|
@@ -3213,7 +3213,7 @@ function sn(e, t) {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
return n;
|
|
3215
3215
|
}
|
|
3216
|
-
function
|
|
3216
|
+
function S(e) {
|
|
3217
3217
|
for (var t = 1; t < arguments.length; t++) {
|
|
3218
3218
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3219
3219
|
t % 2 ? sn(Object(n), !0).forEach(function(a) {
|
|
@@ -3299,32 +3299,32 @@ function os(e) {
|
|
|
3299
3299
|
var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ba = { exports: {} };
|
|
3300
3300
|
(function(e) {
|
|
3301
3301
|
(function(t) {
|
|
3302
|
-
var n = function(m,
|
|
3303
|
-
if (!u(
|
|
3304
|
-
return
|
|
3302
|
+
var n = function(m, v, A) {
|
|
3303
|
+
if (!u(v) || d(v) || p(v) || g(v) || l(v))
|
|
3304
|
+
return v;
|
|
3305
3305
|
var M, F = 0, z = 0;
|
|
3306
|
-
if (c(
|
|
3307
|
-
for (M = [], z =
|
|
3308
|
-
M.push(n(m,
|
|
3306
|
+
if (c(v))
|
|
3307
|
+
for (M = [], z = v.length; F < z; F++)
|
|
3308
|
+
M.push(n(m, v[F], A));
|
|
3309
3309
|
else {
|
|
3310
3310
|
M = {};
|
|
3311
|
-
for (var fe in
|
|
3312
|
-
Object.prototype.hasOwnProperty.call(
|
|
3311
|
+
for (var fe in v)
|
|
3312
|
+
Object.prototype.hasOwnProperty.call(v, fe) && (M[m(fe, A)] = n(m, v[fe], A));
|
|
3313
3313
|
}
|
|
3314
3314
|
return M;
|
|
3315
|
-
}, a = function(m,
|
|
3316
|
-
|
|
3317
|
-
var A =
|
|
3315
|
+
}, a = function(m, v) {
|
|
3316
|
+
v = v || {};
|
|
3317
|
+
var A = v.separator || "_", M = v.split || /(?=[A-Z])/;
|
|
3318
3318
|
return m.split(M).join(A);
|
|
3319
3319
|
}, r = function(m) {
|
|
3320
|
-
return
|
|
3320
|
+
return b(m) ? m : (m = m.replace(/[\-_\s]+(.)?/g, function(v, A) {
|
|
3321
3321
|
return A ? A.toUpperCase() : "";
|
|
3322
3322
|
}), m.substr(0, 1).toLowerCase() + m.substr(1));
|
|
3323
3323
|
}, i = function(m) {
|
|
3324
|
-
var
|
|
3325
|
-
return
|
|
3326
|
-
}, o = function(m,
|
|
3327
|
-
return a(m,
|
|
3324
|
+
var v = r(m);
|
|
3325
|
+
return v.substr(0, 1).toUpperCase() + v.substr(1);
|
|
3326
|
+
}, o = function(m, v) {
|
|
3327
|
+
return a(m, v).toLowerCase();
|
|
3328
3328
|
}, s = Object.prototype.toString, l = function(m) {
|
|
3329
3329
|
return typeof m == "function";
|
|
3330
3330
|
}, u = function(m) {
|
|
@@ -3333,14 +3333,14 @@ 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
|
-
}, h = function(m) {
|
|
3337
|
-
return s.call(m) == "[object RegExp]";
|
|
3338
3336
|
}, p = function(m) {
|
|
3337
|
+
return s.call(m) == "[object RegExp]";
|
|
3338
|
+
}, g = function(m) {
|
|
3339
3339
|
return s.call(m) == "[object Boolean]";
|
|
3340
|
-
},
|
|
3340
|
+
}, b = function(m) {
|
|
3341
3341
|
return m = m - 0, m === m;
|
|
3342
|
-
}, I = function(m,
|
|
3343
|
-
var A =
|
|
3342
|
+
}, I = function(m, v) {
|
|
3343
|
+
var A = v && "process" in v ? v.process : v;
|
|
3344
3344
|
return typeof A != "function" ? m : function(M, F) {
|
|
3345
3345
|
return A(M, m, F);
|
|
3346
3346
|
};
|
|
@@ -3349,14 +3349,14 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3349
3349
|
decamelize: o,
|
|
3350
3350
|
pascalize: i,
|
|
3351
3351
|
depascalize: o,
|
|
3352
|
-
camelizeKeys: function(m,
|
|
3353
|
-
return n(I(r,
|
|
3352
|
+
camelizeKeys: function(m, v) {
|
|
3353
|
+
return n(I(r, v), m);
|
|
3354
3354
|
},
|
|
3355
|
-
decamelizeKeys: function(m,
|
|
3356
|
-
return n(I(o,
|
|
3355
|
+
decamelizeKeys: function(m, v) {
|
|
3356
|
+
return n(I(o, v), m, v);
|
|
3357
3357
|
},
|
|
3358
|
-
pascalizeKeys: function(m,
|
|
3359
|
-
return n(I(i,
|
|
3358
|
+
pascalizeKeys: function(m, v) {
|
|
3359
|
+
return n(I(i, v), m);
|
|
3360
3360
|
},
|
|
3361
3361
|
depascalizeKeys: function() {
|
|
3362
3362
|
return this.decamelizeKeys.apply(this, arguments);
|
|
@@ -3382,7 +3382,7 @@ function ms(e) {
|
|
|
3382
3382
|
}, {});
|
|
3383
3383
|
}
|
|
3384
3384
|
function ps(e, t) {
|
|
3385
|
-
return ce("stop",
|
|
3385
|
+
return ce("stop", S({
|
|
3386
3386
|
key: "".concat(t, "-").concat(e.offset),
|
|
3387
3387
|
offset: e.offset,
|
|
3388
3388
|
"stop-color": e.color
|
|
@@ -3393,12 +3393,12 @@ function ps(e, t) {
|
|
|
3393
3393
|
function Ia(e) {
|
|
3394
3394
|
if (typeof e == "string") return e;
|
|
3395
3395
|
var t = (e.children || []).map(Ia);
|
|
3396
|
-
return e.tag === "path" && e.attributes && "fill" in e.attributes ?
|
|
3397
|
-
attributes:
|
|
3396
|
+
return e.tag === "path" && e.attributes && "fill" in e.attributes ? S(S({}, e), {}, {
|
|
3397
|
+
attributes: S(S({}, e.attributes), {}, {
|
|
3398
3398
|
fill: void 0
|
|
3399
3399
|
}),
|
|
3400
3400
|
children: t
|
|
3401
|
-
}) :
|
|
3401
|
+
}) : S(S({}, e), {}, {
|
|
3402
3402
|
children: t
|
|
3403
3403
|
});
|
|
3404
3404
|
}
|
|
@@ -3427,22 +3427,22 @@ 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, p = Ke(n, us);
|
|
3431
3431
|
if (r && r.id && (r.type === "linear" || r.type === "radial")) {
|
|
3432
|
-
var
|
|
3432
|
+
var g = r.type, b = r.stops, I = b === void 0 ? [] : b, O = r.id, m = Ke(r, cs), v = g === "linear" ? "linearGradient" : "radialGradient", A = ce(v, S(S({}, m), {}, {
|
|
3433
3433
|
id: O
|
|
3434
3434
|
}), I.map(ps));
|
|
3435
|
-
return ce(s.tag,
|
|
3435
|
+
return ce(s.tag, S(S(S(S({}, i), {}, {
|
|
3436
3436
|
class: u.class,
|
|
3437
|
-
style:
|
|
3438
|
-
}, u.attrs),
|
|
3437
|
+
style: S(S({}, u.style), d)
|
|
3438
|
+
}, u.attrs), p), {}, {
|
|
3439
3439
|
fill: "url(#".concat(O, ")")
|
|
3440
3440
|
}), [A].concat(Ce(l)));
|
|
3441
3441
|
}
|
|
3442
|
-
return ce(e.tag,
|
|
3442
|
+
return ce(e.tag, S(S(S({}, i), {}, {
|
|
3443
3443
|
class: u.class,
|
|
3444
|
-
style:
|
|
3445
|
-
}, u.attrs),
|
|
3444
|
+
style: S(S({}, u.style), d)
|
|
3445
|
+
}, u.attrs), p), l);
|
|
3446
3446
|
}
|
|
3447
3447
|
var xa = !1;
|
|
3448
3448
|
try {
|
|
@@ -3614,16 +3614,16 @@ var ze = Ne({
|
|
|
3614
3614
|
}
|
|
3615
3615
|
},
|
|
3616
3616
|
setup: function(t, n) {
|
|
3617
|
-
var a = n.attrs, r =
|
|
3617
|
+
var a = n.attrs, r = $(function() {
|
|
3618
3618
|
return fn(t.icon);
|
|
3619
|
-
}), i =
|
|
3619
|
+
}), i = $(function() {
|
|
3620
3620
|
return pe("classes", os(t));
|
|
3621
|
-
}), o =
|
|
3621
|
+
}), o = $(function() {
|
|
3622
3622
|
return pe("transform", typeof t.transform == "string" ? _e.transform(t.transform) : t.transform);
|
|
3623
|
-
}), s =
|
|
3623
|
+
}), s = $(function() {
|
|
3624
3624
|
return pe("mask", fn(t.mask));
|
|
3625
|
-
}), l =
|
|
3626
|
-
var c =
|
|
3625
|
+
}), l = $(function() {
|
|
3626
|
+
var c = S(S(S(S({}, i.value), o.value), s.value), {}, {
|
|
3627
3627
|
symbol: t.symbol,
|
|
3628
3628
|
maskId: t.maskId
|
|
3629
3629
|
});
|
|
@@ -3635,7 +3635,7 @@ var ze = Ne({
|
|
|
3635
3635
|
}, {
|
|
3636
3636
|
immediate: !0
|
|
3637
3637
|
}), t.gradientFill && t.symbol && ln("gradientFill is not supported when symbol is true and will be ignored");
|
|
3638
|
-
var u =
|
|
3638
|
+
var u = $(function() {
|
|
3639
3639
|
return l.value ? Pt(l.value.abstract[0], {
|
|
3640
3640
|
gradientFill: t.symbol ? null : t.gradientFill
|
|
3641
3641
|
}, a) : null;
|
|
@@ -3654,7 +3654,7 @@ Ne({
|
|
|
3654
3654
|
}
|
|
3655
3655
|
},
|
|
3656
3656
|
setup: function(t, n) {
|
|
3657
|
-
var a = n.slots, r = ya.familyPrefix, i =
|
|
3657
|
+
var a = n.slots, r = ya.familyPrefix, i = $(function() {
|
|
3658
3658
|
return ["".concat(r, "-layers")].concat(Ce(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
3659
3659
|
});
|
|
3660
3660
|
return function() {
|
|
@@ -3688,14 +3688,14 @@ Ne({
|
|
|
3688
3688
|
}
|
|
3689
3689
|
},
|
|
3690
3690
|
setup: function(t, n) {
|
|
3691
|
-
var a = n.attrs, r = ya.familyPrefix, i =
|
|
3691
|
+
var a = n.attrs, r = ya.familyPrefix, i = $(function() {
|
|
3692
3692
|
return pe("classes", [].concat(Ce(t.counter ? ["".concat(r, "-layers-counter")] : []), Ce(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
3693
|
-
}), o =
|
|
3693
|
+
}), o = $(function() {
|
|
3694
3694
|
return pe("transform", typeof t.transform == "string" ? _e.transform(t.transform) : t.transform);
|
|
3695
|
-
}), s =
|
|
3696
|
-
var u = Qo(t.value.toString(),
|
|
3695
|
+
}), s = $(function() {
|
|
3696
|
+
var u = Qo(t.value.toString(), S(S({}, 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];
|
|
3698
|
-
}), l =
|
|
3698
|
+
}), l = $(function() {
|
|
3699
3699
|
return Pt(s.value, {}, a);
|
|
3700
3700
|
});
|
|
3701
3701
|
return function() {
|
|
@@ -3817,30 +3817,30 @@ const mt = (e) => {
|
|
|
3817
3817
|
};
|
|
3818
3818
|
function ys(e, t, n, a, r, i) {
|
|
3819
3819
|
var s;
|
|
3820
|
-
const o =
|
|
3821
|
-
return
|
|
3822
|
-
class:
|
|
3820
|
+
const o = L("FontAwesomeIcon");
|
|
3821
|
+
return w(), P("div", {
|
|
3822
|
+
class: N(["menu-item", { "item-opened": r.item.opened, "item-closed": !r.item.opened, "item-active": r.item.active }]),
|
|
3823
3823
|
ref: r.ref,
|
|
3824
3824
|
onClick: t[0] || (t[0] = (l) => i.openSubMenu(r.item))
|
|
3825
3825
|
}, [
|
|
3826
|
-
r.item.icon ? (
|
|
3826
|
+
r.item.icon ? (w(), ge(o, {
|
|
3827
3827
|
key: 0,
|
|
3828
3828
|
class: "menu-item-icon",
|
|
3829
3829
|
size: "lg",
|
|
3830
3830
|
icon: r.item.icon
|
|
3831
3831
|
}, null, 8, ["icon"])) : E("", !0),
|
|
3832
3832
|
C("p", {
|
|
3833
|
-
class:
|
|
3833
|
+
class: N(["menu-item-text", { "menu-text-opened": r.menuBar.opened, "menu-text-closed": !r.menuBar.opened }])
|
|
3834
3834
|
}, ye(r.item.name), 3),
|
|
3835
|
-
(s = r.item.items) != null && s.length ? (
|
|
3835
|
+
(s = r.item.items) != null && s.length ? (w(), P("div", gs, [
|
|
3836
3836
|
q(o, {
|
|
3837
|
-
class:
|
|
3837
|
+
class: N({ "icon-opened": r.item.opened }),
|
|
3838
3838
|
icon: r.item.openIcon
|
|
3839
3839
|
}, null, 8, ["class", "icon"])
|
|
3840
3840
|
])) : E("", !0)
|
|
3841
3841
|
], 2);
|
|
3842
3842
|
}
|
|
3843
|
-
const wa = /* @__PURE__ */ we(vs, [["render", ys], ["__scopeId", "data-v-
|
|
3843
|
+
const wa = /* @__PURE__ */ we(vs, [["render", ys], ["__scopeId", "data-v-aa1375d4"]]), bs = {
|
|
3844
3844
|
name: "SubMenuItems",
|
|
3845
3845
|
components: {
|
|
3846
3846
|
MenuItem: wa
|
|
@@ -3908,44 +3908,44 @@ const wa = /* @__PURE__ */ we(vs, [["render", ys], ["__scopeId", "data-v-c4bf096
|
|
|
3908
3908
|
class: "active-tooltip"
|
|
3909
3909
|
}, ws = ["onClick"];
|
|
3910
3910
|
function Ss(e, t, n, a, r, i) {
|
|
3911
|
-
const o =
|
|
3912
|
-
return r.item.opened ? (
|
|
3913
|
-
(
|
|
3911
|
+
const o = L("MenuItem"), s = L("SubMenuItems", !0);
|
|
3912
|
+
return r.item.opened ? (w(), P("div", Is, [
|
|
3913
|
+
(w(!0), P(ie, null, oe(r.item.items, (l, u) => {
|
|
3914
3914
|
var c, d;
|
|
3915
|
-
return
|
|
3915
|
+
return w(), P("div", {
|
|
3916
3916
|
key: u,
|
|
3917
|
-
class:
|
|
3918
|
-
onMouseenter: t[4] || (t[4] = (
|
|
3919
|
-
onMouseleave: t[5] || (t[5] = (
|
|
3917
|
+
class: N(["item", { "menu-item-opened": r.menuBar.opened }]),
|
|
3918
|
+
onMouseenter: t[4] || (t[4] = (p) => i.showTooltipItems(p)),
|
|
3919
|
+
onMouseleave: t[5] || (t[5] = (p) => i.hideTooltipItems(p))
|
|
3920
3920
|
}, [
|
|
3921
3921
|
q(o, {
|
|
3922
3922
|
item: l,
|
|
3923
3923
|
leftItems: r.leftMenuItems,
|
|
3924
|
-
onChangeMenuItem: t[0] || (t[0] = (
|
|
3924
|
+
onChangeMenuItem: t[0] || (t[0] = (p) => i.handleMenuItem(p)),
|
|
3925
3925
|
menuBar: r.menuBar
|
|
3926
3926
|
}, null, 8, ["item", "leftItems", "menuBar"]),
|
|
3927
|
-
(c = l.items) != null && c.length ? dn((
|
|
3927
|
+
(c = l.items) != null && c.length ? dn((w(), ge(s, {
|
|
3928
3928
|
key: 0,
|
|
3929
|
-
onChangeMenuItem: t[1] || (t[1] = (
|
|
3929
|
+
onChangeMenuItem: t[1] || (t[1] = (p) => i.handleMenuItem(p)),
|
|
3930
3930
|
item: l,
|
|
3931
3931
|
menuBar: r.menuBar
|
|
3932
3932
|
}, null, 8, ["item", "menuBar"])), [
|
|
3933
3933
|
[mn, r.menuBar.opened]
|
|
3934
3934
|
]) : E("", !0),
|
|
3935
|
-
r.tooltip && ((d = l.items) != null && d.length) ? (
|
|
3936
|
-
r.menuBar.opened ? E("", !0) : (
|
|
3937
|
-
key:
|
|
3935
|
+
r.tooltip && ((d = l.items) != null && d.length) ? (w(), P("div", xs, [
|
|
3936
|
+
r.menuBar.opened ? E("", !0) : (w(!0), P(ie, { key: 0 }, oe(l.items, (p) => (w(), P("div", {
|
|
3937
|
+
key: p.name,
|
|
3938
3938
|
class: "tooltip-item",
|
|
3939
|
-
onClick: (
|
|
3940
|
-
onMouseenter: t[2] || (t[2] = (
|
|
3941
|
-
onMouseleave: t[3] || (t[3] = (
|
|
3942
|
-
}, ye(
|
|
3939
|
+
onClick: (g) => i.tooltipItemClick(g, l, p),
|
|
3940
|
+
onMouseenter: t[2] || (t[2] = (g) => i.showTooltipItems(g)),
|
|
3941
|
+
onMouseleave: t[3] || (t[3] = (g) => i.hideTooltipItems(g))
|
|
3942
|
+
}, ye(p.name), 41, ws))), 128))
|
|
3943
3943
|
])) : E("", !0)
|
|
3944
3944
|
], 34);
|
|
3945
3945
|
}), 128))
|
|
3946
3946
|
])) : E("", !0);
|
|
3947
3947
|
}
|
|
3948
|
-
const As = /* @__PURE__ */ we(bs, [["render", Ss], ["__scopeId", "data-v-
|
|
3948
|
+
const As = /* @__PURE__ */ we(bs, [["render", Ss], ["__scopeId", "data-v-29197020"]]), ks = {
|
|
3949
3949
|
name: "TopSubMenuItems",
|
|
3950
3950
|
components: {
|
|
3951
3951
|
FontAwesomeIcon: ze
|
|
@@ -3996,45 +3996,47 @@ const As = /* @__PURE__ */ we(bs, [["render", Ss], ["__scopeId", "data-v-4a38591
|
|
|
3996
3996
|
}
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
3999
|
-
}, Ms = {
|
|
4000
|
-
key: 0,
|
|
4001
|
-
class: "top-sub-menu-items"
|
|
4002
|
-
}, Ps = ["onClick", "onMouseenter"], Os = { key: 0 };
|
|
3999
|
+
}, Ms = { class: "content" }, Ps = ["onClick", "onMouseenter"], Os = { key: 0 };
|
|
4003
4000
|
function Fs(e, t, n, a, r, i) {
|
|
4004
|
-
const o =
|
|
4005
|
-
return r.item.opened ? (
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
class: "top-menu-item",
|
|
4014
|
-
onClick: pn((h) => i.openTopMenuItem(h, l), ["stop"]),
|
|
4015
|
-
onMouseenter: (h) => i.openHoverTopMenuItem(h, l)
|
|
4016
|
-
}, [
|
|
4017
|
-
C("div", null, ye(l.name), 1),
|
|
4018
|
-
t[0] || (t[0] = Pa()),
|
|
4019
|
-
(c = l.items) != null && c.length ? (x(), P("div", Os, [
|
|
4020
|
-
q(o, {
|
|
4021
|
-
size: "sm",
|
|
4022
|
-
class: L({ "icon-opened": r.item.opened }),
|
|
4023
|
-
icon: l.openIcon
|
|
4024
|
-
}, null, 8, ["class", "icon"])
|
|
4025
|
-
])) : E("", !0)
|
|
4026
|
-
], 40, Ps),
|
|
4027
|
-
(d = l.items) != null && d.length ? (x(), ge(s, {
|
|
4028
|
-
onMouseleave: (h) => i.closeTopMenuItem(h, l),
|
|
4029
|
-
style: Oa({ top: `${Number(u) * 70}px`, right: `${2 * 10 + 40}px` }),
|
|
4001
|
+
const o = L("FontAwesomeIcon"), s = L("TopSubMenuItems", !0);
|
|
4002
|
+
return r.item.opened ? (w(), P("div", {
|
|
4003
|
+
key: 0,
|
|
4004
|
+
class: N(["top-sub-menu-items", { "tooltip-opened": r.item.opened }])
|
|
4005
|
+
}, [
|
|
4006
|
+
C("div", Ms, [
|
|
4007
|
+
(w(!0), P(ie, null, oe(r.item.items, (l, u) => {
|
|
4008
|
+
var c, d;
|
|
4009
|
+
return w(), P("div", {
|
|
4030
4010
|
key: l.id,
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4011
|
+
class: "item"
|
|
4012
|
+
}, [
|
|
4013
|
+
C("div", {
|
|
4014
|
+
class: "top-menu-item",
|
|
4015
|
+
onClick: pn((p) => i.openTopMenuItem(p, l), ["stop"]),
|
|
4016
|
+
onMouseenter: (p) => i.openHoverTopMenuItem(p, l)
|
|
4017
|
+
}, [
|
|
4018
|
+
C("div", null, ye(l.name), 1),
|
|
4019
|
+
t[0] || (t[0] = Pa()),
|
|
4020
|
+
(c = l.items) != null && c.length ? (w(), P("div", Os, [
|
|
4021
|
+
q(o, {
|
|
4022
|
+
size: "sm",
|
|
4023
|
+
class: N({ "icon-opened": r.item.opened }),
|
|
4024
|
+
icon: l.openIcon
|
|
4025
|
+
}, null, 8, ["class", "icon"])
|
|
4026
|
+
])) : E("", !0)
|
|
4027
|
+
], 40, Ps),
|
|
4028
|
+
(d = l.items) != null && d.length ? (w(), ge(s, {
|
|
4029
|
+
onMouseleave: (p) => i.closeTopMenuItem(p, l),
|
|
4030
|
+
style: Oa({ top: `${Number(u) * 70}px`, right: `${2 * 10 + 40}px` }),
|
|
4031
|
+
key: l.id,
|
|
4032
|
+
item: l,
|
|
4033
|
+
topMenuItems: r.topMenuItems,
|
|
4034
|
+
menuBar: r.menuBar
|
|
4035
|
+
}, null, 8, ["onMouseleave", "style", "item", "topMenuItems", "menuBar"])) : E("", !0)
|
|
4036
|
+
]);
|
|
4037
|
+
}), 128))
|
|
4038
|
+
])
|
|
4039
|
+
], 2)) : E("", !0);
|
|
4038
4040
|
}
|
|
4039
4041
|
const Ts = /* @__PURE__ */ we(ks, [["render", Fs]]), _s = {
|
|
4040
4042
|
name: "TopMenuItems",
|
|
@@ -4062,6 +4064,11 @@ const Ts = /* @__PURE__ */ we(ks, [["render", Fs]]), _s = {
|
|
|
4062
4064
|
toTop: J
|
|
4063
4065
|
};
|
|
4064
4066
|
},
|
|
4067
|
+
watch: {
|
|
4068
|
+
topMenuItems(e) {
|
|
4069
|
+
this.topMenuItems = e;
|
|
4070
|
+
}
|
|
4071
|
+
},
|
|
4065
4072
|
methods: {
|
|
4066
4073
|
openTopMenuItem(e, t) {
|
|
4067
4074
|
var n;
|
|
@@ -4071,10 +4078,14 @@ const Ts = /* @__PURE__ */ we(ks, [["render", Fs]]), _s = {
|
|
|
4071
4078
|
}
|
|
4072
4079
|
},
|
|
4073
4080
|
hoverOpenTopMenuItem(e, t) {
|
|
4074
|
-
var
|
|
4075
|
-
(
|
|
4081
|
+
var a;
|
|
4082
|
+
(a = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || a.classList.add("menu-hover"), this.closeMenuTabs(this.topMenuItems);
|
|
4083
|
+
let n = 200;
|
|
4084
|
+
for (let r of document.querySelectorAll(".top-sub-menu-items"))
|
|
4085
|
+
r.classList.remove("tooltip-opened");
|
|
4086
|
+
setTimeout(() => {
|
|
4076
4087
|
t.opened = !0, this.closeSubItems(t);
|
|
4077
|
-
},
|
|
4088
|
+
}, n);
|
|
4078
4089
|
},
|
|
4079
4090
|
closeTopMenuItem(e, t) {
|
|
4080
4091
|
var n;
|
|
@@ -4106,13 +4117,13 @@ const Ts = /* @__PURE__ */ we(ks, [["render", Fs]]), _s = {
|
|
|
4106
4117
|
}
|
|
4107
4118
|
}, Cs = { class: "horizontal-top-menu" }, Es = ["onMouseenter"], Ns = ["onClick", "onMouseleave"], js = { key: 0 };
|
|
4108
4119
|
function $s(e, t, n, a, r, i) {
|
|
4109
|
-
const o =
|
|
4110
|
-
return
|
|
4111
|
-
(
|
|
4120
|
+
const o = L("FontAwesomeIcon"), s = L("TopSubMenuItems");
|
|
4121
|
+
return w(), P("div", Cs, [
|
|
4122
|
+
(w(!0), P(ie, null, oe(r.topMenuItems, (l) => {
|
|
4112
4123
|
var u, c;
|
|
4113
|
-
return
|
|
4124
|
+
return w(), P("div", {
|
|
4114
4125
|
key: l.id,
|
|
4115
|
-
class:
|
|
4126
|
+
class: N(["horizontal-top-menu-item", { "menu-hover": l.opened, active: l.opened }]),
|
|
4116
4127
|
onMouseenter: (d) => i.hoverOpenTopMenuItem(d, l)
|
|
4117
4128
|
}, [
|
|
4118
4129
|
C("div", {
|
|
@@ -4121,15 +4132,15 @@ function $s(e, t, n, a, r, i) {
|
|
|
4121
4132
|
onMouseleave: (d) => i.closeTopMenu(d, l)
|
|
4122
4133
|
}, [
|
|
4123
4134
|
C("div", null, ye(l.name), 1),
|
|
4124
|
-
(u = l.items) != null && u.length ? (
|
|
4135
|
+
(u = l.items) != null && u.length ? (w(), P("div", js, [
|
|
4125
4136
|
q(o, {
|
|
4126
4137
|
size: "sm",
|
|
4127
|
-
class:
|
|
4138
|
+
class: N({ "icon-opened": l.opened }),
|
|
4128
4139
|
icon: l.openIcon
|
|
4129
4140
|
}, null, 8, ["class", "icon"])
|
|
4130
4141
|
])) : E("", !0)
|
|
4131
4142
|
], 40, Ns),
|
|
4132
|
-
(c = l.items) != null && c.length ? (
|
|
4143
|
+
(c = l.items) != null && c.length ? (w(), ge(s, {
|
|
4133
4144
|
key: 0,
|
|
4134
4145
|
onMouseleave: (d) => i.closeTopMenuItem(d, l),
|
|
4135
4146
|
item: l,
|
|
@@ -4142,7 +4153,7 @@ function $s(e, t, n, a, r, i) {
|
|
|
4142
4153
|
}), 128))
|
|
4143
4154
|
]);
|
|
4144
4155
|
}
|
|
4145
|
-
const Ls = /* @__PURE__ */ we(_s, [["render", $s], ["__scopeId", "data-v-
|
|
4156
|
+
const Ls = /* @__PURE__ */ we(_s, [["render", $s], ["__scopeId", "data-v-a134b05b"]]), cn = [
|
|
4146
4157
|
{
|
|
4147
4158
|
name: "Light",
|
|
4148
4159
|
value: "light",
|
|
@@ -4320,15 +4331,15 @@ const Ls = /* @__PURE__ */ we(_s, [["render", $s], ["__scopeId", "data-v-88b5373
|
|
|
4320
4331
|
class: "loader"
|
|
4321
4332
|
};
|
|
4322
4333
|
function Hs(e, t, n, a, r, i) {
|
|
4323
|
-
const o =
|
|
4324
|
-
return
|
|
4334
|
+
const o = L("FontAwesomeIcon"), s = L("TopMenuItem"), l = L("MenuItem"), u = L("SubMenuItems");
|
|
4335
|
+
return w(), P("div", Ds, [
|
|
4325
4336
|
C("div", zs, [
|
|
4326
4337
|
C("div", Rs, [
|
|
4327
4338
|
C("div", {
|
|
4328
4339
|
class: "menu-icon",
|
|
4329
4340
|
onClick: t[0] || (t[0] = (c) => e.openVerticalMenu(c))
|
|
4330
4341
|
}, [
|
|
4331
|
-
e.menuBar.icon ? (
|
|
4342
|
+
e.menuBar.icon ? (w(), ge(o, {
|
|
4332
4343
|
key: 0,
|
|
4333
4344
|
icon: e.menuBar.icon
|
|
4334
4345
|
}, null, 8, ["icon"])) : E("", !0)
|
|
@@ -4340,17 +4351,17 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4340
4351
|
}, null, 8, ["topMenuItems", "menuBar"])
|
|
4341
4352
|
]),
|
|
4342
4353
|
C("div", {
|
|
4343
|
-
class:
|
|
4354
|
+
class: N(["vertical-menu", { "vertical-menu-opened": e.menuBar.opened }])
|
|
4344
4355
|
}, [
|
|
4345
|
-
(
|
|
4346
|
-
var
|
|
4347
|
-
return
|
|
4356
|
+
(w(!0), P(ie, null, oe(e.leftMenuItems, (c, d) => {
|
|
4357
|
+
var p, g;
|
|
4358
|
+
return w(), P("div", {
|
|
4348
4359
|
key: d,
|
|
4349
|
-
class:
|
|
4350
|
-
onMouseenter: (
|
|
4360
|
+
class: N(["menu-item-heading", { "item-active": c.active }]),
|
|
4361
|
+
onMouseenter: (b) => e.showTooltipItems(b, c.items)
|
|
4351
4362
|
}, [
|
|
4352
4363
|
C("div", {
|
|
4353
|
-
class:
|
|
4364
|
+
class: N(["item", { "menu-item-opened": e.menuBar.opened }])
|
|
4354
4365
|
}, [
|
|
4355
4366
|
q(l, {
|
|
4356
4367
|
item: c,
|
|
@@ -4358,35 +4369,35 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4358
4369
|
"left-items": e.leftMenuItems
|
|
4359
4370
|
}, null, 8, ["item", "menuBar", "left-items"]),
|
|
4360
4371
|
dn(q(u, {
|
|
4361
|
-
onOpenmenu: t[1] || (t[1] = (
|
|
4362
|
-
onChangeMenuItem: t[2] || (t[2] = (
|
|
4372
|
+
onOpenmenu: t[1] || (t[1] = (b) => e.handleOpenMenu(b)),
|
|
4373
|
+
onChangeMenuItem: t[2] || (t[2] = (b) => e.handleMenuItem(b)),
|
|
4363
4374
|
"left-menu-items": e.leftMenuItems,
|
|
4364
4375
|
item: c,
|
|
4365
4376
|
menuBar: e.menuBar
|
|
4366
4377
|
}, null, 8, ["left-menu-items", "item", "menuBar"]), [
|
|
4367
4378
|
[mn, e.menuBar.opened]
|
|
4368
4379
|
]),
|
|
4369
|
-
e.tooltip && ((
|
|
4380
|
+
e.tooltip && ((p = c.items) != null && p.length) && !e.menuBar.opened ? (w(), P("div", {
|
|
4370
4381
|
key: 0,
|
|
4371
|
-
class: "active-tooltip",
|
|
4372
|
-
onMouseleave: t[3] || (t[3] = (
|
|
4382
|
+
class: N(["active-tooltip", { "tooltip-opened": e.tooltip && ((g = c.items) == null ? void 0 : g.length) && !e.menuBar.opened }]),
|
|
4383
|
+
onMouseleave: t[3] || (t[3] = (b) => e.hideTooltipItems(b))
|
|
4373
4384
|
}, [
|
|
4374
|
-
(
|
|
4375
|
-
key:
|
|
4385
|
+
(w(!0), P(ie, null, oe(c.items, (b) => (w(), P("div", {
|
|
4386
|
+
key: b.name,
|
|
4376
4387
|
class: "tooltip-item",
|
|
4377
|
-
onClick: (
|
|
4378
|
-
}, ye(
|
|
4379
|
-
],
|
|
4388
|
+
onClick: (I) => e.openTooltipItem(I, b, c)
|
|
4389
|
+
}, ye(b.name), 9, Us))), 128))
|
|
4390
|
+
], 34)) : E("", !0)
|
|
4380
4391
|
], 2)
|
|
4381
4392
|
], 42, Ws);
|
|
4382
4393
|
}), 128))
|
|
4383
4394
|
], 2),
|
|
4384
4395
|
C("div", {
|
|
4385
|
-
class:
|
|
4396
|
+
class: N(["main", { "main-loading": e.menuBar.loading }])
|
|
4386
4397
|
}, [
|
|
4387
4398
|
Fa(e.$slots, "handler", {}, void 0, !0)
|
|
4388
4399
|
], 2),
|
|
4389
|
-
e.menuBar.loading ? (
|
|
4400
|
+
e.menuBar.loading ? (w(), P("div", Ys, [...t[4] || (t[4] = [
|
|
4390
4401
|
C("svg", {
|
|
4391
4402
|
class: "loader-icon",
|
|
4392
4403
|
viewBox: "0 0 64 64",
|
|
@@ -4408,7 +4419,7 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4408
4419
|
])])) : E("", !0)
|
|
4409
4420
|
]);
|
|
4410
4421
|
}
|
|
4411
|
-
const qs = /* @__PURE__ */ we(Bs, [["render", Hs], ["__scopeId", "data-v-
|
|
4422
|
+
const qs = /* @__PURE__ */ we(Bs, [["render", Hs], ["__scopeId", "data-v-a3c46537"]]);
|
|
4412
4423
|
export {
|
|
4413
4424
|
Xs as LeftMenuModel,
|
|
4414
4425
|
Ta as MenuBarModel,
|