@anzusystems/common-admin 1.47.0-beta.357 → 1.47.0-beta.359
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/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs +7449 -0
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs.map +1 -0
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.d.ts +9764 -3615
- package/dist/common-admin.js +15864 -14333
- package/dist/common-admin.js.map +1 -1
- package/dist/{index-B02Fo3dC.mjs → index-so4LUFja.mjs} +6282 -5863
- package/dist/index-so4LUFja.mjs.map +1 -0
- package/dist/labs.d.ts +90 -36
- package/dist/labs.js +488 -919
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-DeB77L0f.mjs → webfontloader-CtCXi-3v.mjs} +161 -159
- package/dist/webfontloader-CtCXi-3v.mjs.map +1 -0
- package/package.json +45 -38
- package/src/eslint/plugin.mjs +574 -0
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWXEGI77.mjs +0 -6789
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWXEGI77.mjs.map +0 -1
- package/dist/index-B02Fo3dC.mjs.map +0 -1
- package/dist/webfontloader-DeB77L0f.mjs.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { av as Ft } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs";
|
|
2
|
+
function Pt(w, S) {
|
|
2
3
|
for (var _ = 0; _ < S.length; _++) {
|
|
3
|
-
const
|
|
4
|
-
if (typeof
|
|
5
|
-
for (const d in
|
|
4
|
+
const l = S[_];
|
|
5
|
+
if (typeof l != "string" && !Array.isArray(l)) {
|
|
6
|
+
for (const d in l)
|
|
6
7
|
if (d !== "default" && !(d in w)) {
|
|
7
|
-
const T = Object.getOwnPropertyDescriptor(
|
|
8
|
+
const T = Object.getOwnPropertyDescriptor(l, d);
|
|
8
9
|
T && Object.defineProperty(w, d, T.get ? T : {
|
|
9
10
|
enumerable: !0,
|
|
10
|
-
get: () =>
|
|
11
|
+
get: () => l[d]
|
|
11
12
|
});
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -15,27 +16,27 @@ function Wt(w, S) {
|
|
|
15
16
|
return Object.freeze(Object.defineProperty(w, Symbol.toStringTag, { value: "Module" }));
|
|
16
17
|
}
|
|
17
18
|
var B = { exports: {} }, ft;
|
|
18
|
-
function
|
|
19
|
+
function It() {
|
|
19
20
|
return ft || (ft = 1, (function(w) {
|
|
20
21
|
(function() {
|
|
21
|
-
function S(t, n,
|
|
22
|
+
function S(t, n, i) {
|
|
22
23
|
return t.call.apply(t.bind, arguments);
|
|
23
24
|
}
|
|
24
|
-
function _(t, n,
|
|
25
|
+
function _(t, n, i) {
|
|
25
26
|
if (!t) throw Error();
|
|
26
27
|
if (2 < arguments.length) {
|
|
27
|
-
var
|
|
28
|
+
var e = Array.prototype.slice.call(arguments, 2);
|
|
28
29
|
return function() {
|
|
29
30
|
var o = Array.prototype.slice.call(arguments);
|
|
30
|
-
return Array.prototype.unshift.apply(o,
|
|
31
|
+
return Array.prototype.unshift.apply(o, e), t.apply(n, o);
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
return function() {
|
|
34
35
|
return t.apply(n, arguments);
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
38
|
+
function l(t, n, i) {
|
|
39
|
+
return l = Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? S : _, l.apply(null, arguments);
|
|
39
40
|
}
|
|
40
41
|
var d = Date.now || function() {
|
|
41
42
|
return +/* @__PURE__ */ new Date();
|
|
@@ -43,65 +44,65 @@ function Ft() {
|
|
|
43
44
|
function T(t, n) {
|
|
44
45
|
this.a = t, this.o = n || t, this.c = this.o.document;
|
|
45
46
|
}
|
|
46
|
-
var
|
|
47
|
-
function W(t, n,
|
|
48
|
-
if (n = t.c.createElement(n),
|
|
49
|
-
return
|
|
47
|
+
var ct = !!window.FontFace;
|
|
48
|
+
function W(t, n, i, e) {
|
|
49
|
+
if (n = t.c.createElement(n), i) for (var o in i) i.hasOwnProperty(o) && (o == "style" ? n.style.cssText = i[o] : n.setAttribute(o, i[o]));
|
|
50
|
+
return e && n.appendChild(t.c.createTextNode(e)), n;
|
|
50
51
|
}
|
|
51
|
-
function D(t, n,
|
|
52
|
-
t = t.c.getElementsByTagName(n)[0], t || (t = document.documentElement), t.insertBefore(
|
|
52
|
+
function D(t, n, i) {
|
|
53
|
+
t = t.c.getElementsByTagName(n)[0], t || (t = document.documentElement), t.insertBefore(i, t.lastChild);
|
|
53
54
|
}
|
|
54
55
|
function E(t) {
|
|
55
56
|
t.parentNode && t.parentNode.removeChild(t);
|
|
56
57
|
}
|
|
57
|
-
function y(t, n,
|
|
58
|
-
n = n || [],
|
|
59
|
-
for (var
|
|
60
|
-
for (var s = !1, r = 0; r <
|
|
58
|
+
function y(t, n, i) {
|
|
59
|
+
n = n || [], i = i || [];
|
|
60
|
+
for (var e = t.className.split(/\s+/), o = 0; o < n.length; o += 1) {
|
|
61
|
+
for (var s = !1, r = 0; r < e.length; r += 1) if (n[o] === e[r]) {
|
|
61
62
|
s = !0;
|
|
62
63
|
break;
|
|
63
64
|
}
|
|
64
|
-
s ||
|
|
65
|
+
s || e.push(n[o]);
|
|
65
66
|
}
|
|
66
|
-
for (n = [], o = 0; o <
|
|
67
|
-
for (s = !1, r = 0; r <
|
|
67
|
+
for (n = [], o = 0; o < e.length; o += 1) {
|
|
68
|
+
for (s = !1, r = 0; r < i.length; r += 1) if (e[o] === i[r]) {
|
|
68
69
|
s = !0;
|
|
69
70
|
break;
|
|
70
71
|
}
|
|
71
|
-
s || n.push(
|
|
72
|
+
s || n.push(e[o]);
|
|
72
73
|
}
|
|
73
74
|
t.className = n.join(" ").replace(/\s+/g, " ").replace(/^\s+|\s+$/, "");
|
|
74
75
|
}
|
|
75
76
|
function q(t, n) {
|
|
76
|
-
for (var
|
|
77
|
+
for (var i = t.className.split(/\s+/), e = 0, o = i.length; e < o; e++) if (i[e] == n) return !0;
|
|
77
78
|
return !1;
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function lt(t) {
|
|
80
81
|
return t.o.location.hostname || t.a.location.hostname;
|
|
81
82
|
}
|
|
82
|
-
function L(t, n,
|
|
83
|
-
function
|
|
83
|
+
function L(t, n, i) {
|
|
84
|
+
function e() {
|
|
84
85
|
a && o && s && (a(r), a = null);
|
|
85
86
|
}
|
|
86
87
|
n = W(t, "link", { rel: "stylesheet", href: n, media: "all" });
|
|
87
|
-
var o = !1, s = !0, r = null, a =
|
|
88
|
-
|
|
89
|
-
o = !0,
|
|
88
|
+
var o = !1, s = !0, r = null, a = i || null;
|
|
89
|
+
ct ? (n.onload = function() {
|
|
90
|
+
o = !0, e();
|
|
90
91
|
}, n.onerror = function() {
|
|
91
|
-
o = !0, r = Error("Stylesheet failed to load"),
|
|
92
|
+
o = !0, r = Error("Stylesheet failed to load"), e();
|
|
92
93
|
}) : setTimeout(function() {
|
|
93
|
-
o = !0,
|
|
94
|
+
o = !0, e();
|
|
94
95
|
}, 0), D(t, "head", n);
|
|
95
96
|
}
|
|
96
|
-
function F(t, n,
|
|
97
|
+
function F(t, n, i, e) {
|
|
97
98
|
var o = t.c.getElementsByTagName("head")[0];
|
|
98
99
|
if (o) {
|
|
99
100
|
var s = W(t, "script", { src: n }), r = !1;
|
|
100
101
|
return s.onload = s.onreadystatechange = function() {
|
|
101
|
-
r || this.readyState && this.readyState != "loaded" && this.readyState != "complete" || (r = !0,
|
|
102
|
+
r || this.readyState && this.readyState != "loaded" && this.readyState != "complete" || (r = !0, i && i(null), s.onload = s.onreadystatechange = null, s.parentNode.tagName == "HEAD" && o.removeChild(s));
|
|
102
103
|
}, o.appendChild(s), setTimeout(function() {
|
|
103
|
-
r || (r = !0,
|
|
104
|
-
},
|
|
104
|
+
r || (r = !0, i && i(Error("Script load timeout")));
|
|
105
|
+
}, e || 5e3), s;
|
|
105
106
|
}
|
|
106
107
|
return null;
|
|
107
108
|
}
|
|
@@ -123,13 +124,13 @@ function Ft() {
|
|
|
123
124
|
this.a = t || "-";
|
|
124
125
|
}
|
|
125
126
|
G.prototype.c = function(t) {
|
|
126
|
-
for (var n = [],
|
|
127
|
+
for (var n = [], i = 0; i < arguments.length; i++) n.push(arguments[i].replace(/[\W_]+/g, "").toLowerCase());
|
|
127
128
|
return n.join(this.a);
|
|
128
129
|
};
|
|
129
130
|
function g(t, n) {
|
|
130
131
|
this.c = t, this.f = 4, this.a = "n";
|
|
131
|
-
var
|
|
132
|
-
|
|
132
|
+
var i = (n || "n4").match(/^([nio])([1-9])$/i);
|
|
133
|
+
i && (this.a = i[1], this.f = parseInt(i[2], 10));
|
|
133
134
|
}
|
|
134
135
|
function ht(t) {
|
|
135
136
|
return K(t) + " " + (t.f + "00") + " 300px " + R(t.c);
|
|
@@ -137,9 +138,9 @@ function Ft() {
|
|
|
137
138
|
function R(t) {
|
|
138
139
|
var n = [];
|
|
139
140
|
t = t.split(/,\s*/);
|
|
140
|
-
for (var
|
|
141
|
-
var
|
|
142
|
-
|
|
141
|
+
for (var i = 0; i < t.length; i++) {
|
|
142
|
+
var e = t[i].replace(/['"]/g, "");
|
|
143
|
+
e.indexOf(" ") != -1 || /^\d/.test(e) ? n.push("'" + e + "'") : n.push(e);
|
|
143
144
|
}
|
|
144
145
|
return n.join(",");
|
|
145
146
|
}
|
|
@@ -150,36 +151,36 @@ function Ft() {
|
|
|
150
151
|
var n = "normal";
|
|
151
152
|
return t.a === "o" ? n = "oblique" : t.a === "i" && (n = "italic"), n;
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
-
var n = 4,
|
|
155
|
-
return t && ((
|
|
154
|
+
function pt(t) {
|
|
155
|
+
var n = 4, i = "n", e = null;
|
|
156
|
+
return t && ((e = t.match(/(normal|oblique|italic)/i)) && e[1] && (i = e[1].substr(0, 1).toLowerCase()), (e = t.match(/([1-9]00|normal|bold)/i)) && e[1] && (/bold/i.test(e[1]) ? n = 7 : /[1-9]00/.test(e[1]) && (n = parseInt(e[1].substr(0, 1), 10)))), i + n;
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
+
function gt(t, n) {
|
|
158
159
|
this.c = t, this.f = t.o.document.documentElement, this.h = n, this.a = new G("-"), this.j = n.events !== !1, this.g = n.classes !== !1;
|
|
159
160
|
}
|
|
160
|
-
function
|
|
161
|
+
function vt(t) {
|
|
161
162
|
t.g && y(t.f, [t.a.c("wf", "loading")]), x(t, "loading");
|
|
162
163
|
}
|
|
163
164
|
function U(t) {
|
|
164
165
|
if (t.g) {
|
|
165
|
-
var n = q(t.f, t.a.c("wf", "active")),
|
|
166
|
-
n ||
|
|
166
|
+
var n = q(t.f, t.a.c("wf", "active")), i = [], e = [t.a.c("wf", "loading")];
|
|
167
|
+
n || i.push(t.a.c("wf", "inactive")), y(t.f, i, e);
|
|
167
168
|
}
|
|
168
169
|
x(t, "inactive");
|
|
169
170
|
}
|
|
170
|
-
function x(t, n,
|
|
171
|
-
t.j && t.h[n] && (
|
|
171
|
+
function x(t, n, i) {
|
|
172
|
+
t.j && t.h[n] && (i ? t.h[n](i.c, p(i)) : t.h[n]());
|
|
172
173
|
}
|
|
173
|
-
function
|
|
174
|
+
function dt() {
|
|
174
175
|
this.c = {};
|
|
175
176
|
}
|
|
176
|
-
function
|
|
177
|
-
var
|
|
177
|
+
function mt(t, n, i) {
|
|
178
|
+
var e = [], o;
|
|
178
179
|
for (o in n) if (n.hasOwnProperty(o)) {
|
|
179
180
|
var s = t.c[o];
|
|
180
|
-
s &&
|
|
181
|
+
s && e.push(s(n[o], i));
|
|
181
182
|
}
|
|
182
|
-
return
|
|
183
|
+
return e;
|
|
183
184
|
}
|
|
184
185
|
function b(t, n) {
|
|
185
186
|
this.c = t, this.f = n, this.a = W(this.c, "span", { "aria-hidden": "true" }, this.f);
|
|
@@ -190,13 +191,13 @@ function Ft() {
|
|
|
190
191
|
function C(t) {
|
|
191
192
|
return "display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:" + R(t.c) + ";" + ("font-style:" + K(t) + ";font-weight:" + (t.f + "00") + ";");
|
|
192
193
|
}
|
|
193
|
-
function V(t, n,
|
|
194
|
-
this.g = t, this.j = n, this.a =
|
|
194
|
+
function V(t, n, i, e, o, s) {
|
|
195
|
+
this.g = t, this.j = n, this.a = e, this.c = i, this.f = o || 3e3, this.h = s || void 0;
|
|
195
196
|
}
|
|
196
197
|
V.prototype.start = function() {
|
|
197
|
-
var t = this.c.o.document, n = this,
|
|
198
|
+
var t = this.c.o.document, n = this, i = d(), e = new Promise(function(r, a) {
|
|
198
199
|
function f() {
|
|
199
|
-
d() -
|
|
200
|
+
d() - i >= n.f ? a() : t.fonts.load(ht(n.a), n.h).then(function(u) {
|
|
200
201
|
1 <= u.length ? r() : setTimeout(f, 25);
|
|
201
202
|
}, function() {
|
|
202
203
|
a();
|
|
@@ -206,14 +207,14 @@ function Ft() {
|
|
|
206
207
|
}), o = null, s = new Promise(function(r, a) {
|
|
207
208
|
o = setTimeout(a, n.f);
|
|
208
209
|
});
|
|
209
|
-
Promise.race([s,
|
|
210
|
+
Promise.race([s, e]).then(function() {
|
|
210
211
|
o && (clearTimeout(o), o = null), n.g(n.a);
|
|
211
212
|
}, function() {
|
|
212
213
|
n.j(n.a);
|
|
213
214
|
});
|
|
214
215
|
};
|
|
215
|
-
function X(t, n,
|
|
216
|
-
this.v = t, this.B = n, this.c =
|
|
216
|
+
function X(t, n, i, e, o, s, r) {
|
|
217
|
+
this.v = t, this.B = n, this.c = i, this.a = e, this.s = r || "BESbswy", this.f = {}, this.w = o || 3e3, this.u = s || null, this.m = this.j = this.h = this.g = null, this.g = new b(this.c, this.s), this.h = new b(this.c, this.s), this.j = new b(this.c, this.s), this.m = new b(this.c, this.s), t = new g(this.a.c + ",serif", p(this.a)), t = C(t), this.g.a.style.cssText = t, t = new g(this.a.c + ",sans-serif", p(this.a)), t = C(t), this.h.a.style.cssText = t, t = new g("serif", p(this.a)), t = C(t), this.j.a.style.cssText = t, t = new g("sans-serif", p(this.a)), t = C(t), this.m.a.style.cssText = t, A(this.g), A(this.h), A(this.j), A(this.m);
|
|
217
218
|
}
|
|
218
219
|
var N = { D: "serif", C: "sans-serif" }, P = null;
|
|
219
220
|
function J() {
|
|
@@ -226,26 +227,26 @@ function Ft() {
|
|
|
226
227
|
X.prototype.start = function() {
|
|
227
228
|
this.f.serif = this.j.a.offsetWidth, this.f["sans-serif"] = this.m.a.offsetWidth, this.A = d(), Y(this);
|
|
228
229
|
};
|
|
229
|
-
function Q(t, n,
|
|
230
|
-
for (var
|
|
230
|
+
function Q(t, n, i) {
|
|
231
|
+
for (var e in N) if (N.hasOwnProperty(e) && n === t.f[N[e]] && i === t.f[N[e]]) return !0;
|
|
231
232
|
return !1;
|
|
232
233
|
}
|
|
233
234
|
function Y(t) {
|
|
234
|
-
var n = t.g.a.offsetWidth,
|
|
235
|
-
(
|
|
235
|
+
var n = t.g.a.offsetWidth, i = t.h.a.offsetWidth, e;
|
|
236
|
+
(e = n === t.f.serif && i === t.f["sans-serif"]) || (e = J() && Q(t, n, i)), e ? d() - t.A >= t.w ? J() && Q(t, n, i) && (t.u === null || t.u.hasOwnProperty(t.a.c)) ? I(t, t.v) : I(t, t.B) : wt(t) : I(t, t.v);
|
|
236
237
|
}
|
|
237
|
-
function
|
|
238
|
-
setTimeout(
|
|
238
|
+
function wt(t) {
|
|
239
|
+
setTimeout(l(function() {
|
|
239
240
|
Y(this);
|
|
240
241
|
}, t), 50);
|
|
241
242
|
}
|
|
242
243
|
function I(t, n) {
|
|
243
|
-
setTimeout(
|
|
244
|
+
setTimeout(l(function() {
|
|
244
245
|
E(this.g.a), E(this.h.a), E(this.j.a), E(this.m.a), n(this.a);
|
|
245
246
|
}, t), 0);
|
|
246
247
|
}
|
|
247
|
-
function k(t, n,
|
|
248
|
-
this.c = t, this.a = n, this.f = 0, this.m = this.j = !1, this.s =
|
|
248
|
+
function k(t, n, i) {
|
|
249
|
+
this.c = t, this.a = n, this.f = 0, this.m = this.j = !1, this.s = i;
|
|
249
250
|
}
|
|
250
251
|
var O = null;
|
|
251
252
|
k.prototype.g = function(t) {
|
|
@@ -254,8 +255,8 @@ function Ft() {
|
|
|
254
255
|
}, k.prototype.h = function(t) {
|
|
255
256
|
var n = this.a;
|
|
256
257
|
if (n.g) {
|
|
257
|
-
var
|
|
258
|
-
|
|
258
|
+
var i = q(n.f, n.a.c("wf", t.c, p(t).toString(), "active")), e = [], o = [n.a.c("wf", t.c, p(t).toString(), "loading")];
|
|
259
|
+
i || e.push(n.a.c("wf", t.c, p(t).toString(), "inactive")), y(n.f, e, o);
|
|
259
260
|
}
|
|
260
261
|
x(n, "fontinactive", t), Z(this);
|
|
261
262
|
};
|
|
@@ -263,37 +264,37 @@ function Ft() {
|
|
|
263
264
|
--t.f == 0 && t.j && (t.m ? (t = t.a, t.g && y(t.f, [t.a.c("wf", "active")], [t.a.c("wf", "loading"), t.a.c("wf", "inactive")]), x(t, "active")) : U(t.a));
|
|
264
265
|
}
|
|
265
266
|
function tt(t) {
|
|
266
|
-
this.j = t, this.a = new
|
|
267
|
+
this.j = t, this.a = new dt(), this.h = 0, this.f = this.g = !0;
|
|
267
268
|
}
|
|
268
269
|
tt.prototype.load = function(t) {
|
|
269
|
-
this.c = new T(this.j, t.context || this.j), this.g = t.events !== !1, this.f = t.classes !== !1,
|
|
270
|
+
this.c = new T(this.j, t.context || this.j), this.g = t.events !== !1, this.f = t.classes !== !1, xt(this, new gt(this.c, t), t);
|
|
270
271
|
};
|
|
271
|
-
function
|
|
272
|
+
function yt(t, n, i, e, o) {
|
|
272
273
|
var s = --t.h == 0;
|
|
273
274
|
(t.f || t.g) && setTimeout(function() {
|
|
274
|
-
var r = o || null, a =
|
|
275
|
-
if (
|
|
275
|
+
var r = o || null, a = e || null || {};
|
|
276
|
+
if (i.length === 0 && s) U(n.a);
|
|
276
277
|
else {
|
|
277
|
-
n.f +=
|
|
278
|
+
n.f += i.length, s && (n.j = s);
|
|
278
279
|
var f, u = [];
|
|
279
|
-
for (f = 0; f <
|
|
280
|
-
var c =
|
|
280
|
+
for (f = 0; f < i.length; f++) {
|
|
281
|
+
var c = i[f], h = a[c.c], v = n.a, j = c;
|
|
281
282
|
if (v.g && y(v.f, [v.a.c("wf", j.c, p(j).toString(), "loading")]), x(v, "fontloading", j), v = null, O === null) if (window.FontFace) {
|
|
282
|
-
var j = /Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),
|
|
283
|
-
O = j ? 42 < parseInt(j[1], 10) : !
|
|
283
|
+
var j = /Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent), Wt = /OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent) && /Apple/.exec(window.navigator.vendor);
|
|
284
|
+
O = j ? 42 < parseInt(j[1], 10) : !Wt;
|
|
284
285
|
} else O = !1;
|
|
285
|
-
O ? v = new V(
|
|
286
|
+
O ? v = new V(l(n.g, n), l(n.h, n), n.c, c, n.s, h) : v = new X(l(n.g, n), l(n.h, n), n.c, c, n.s, r, h), u.push(v);
|
|
286
287
|
}
|
|
287
288
|
for (f = 0; f < u.length; f++) u[f].start();
|
|
288
289
|
}
|
|
289
290
|
}, 0);
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
-
var o = [],
|
|
293
|
-
|
|
294
|
-
var o =
|
|
295
|
-
for (t.h = o.length, n = 0,
|
|
296
|
-
|
|
292
|
+
function xt(t, n, i) {
|
|
293
|
+
var o = [], e = i.timeout;
|
|
294
|
+
vt(n);
|
|
295
|
+
var o = mt(t.a, i, t.c), s = new k(t.c, n, e);
|
|
296
|
+
for (t.h = o.length, n = 0, i = o.length; n < i; n++) o[n].load(function(r, a, f) {
|
|
297
|
+
yt(t, s, r, a, f);
|
|
297
298
|
});
|
|
298
299
|
}
|
|
299
300
|
function nt(t, n) {
|
|
@@ -301,8 +302,8 @@ function Ft() {
|
|
|
301
302
|
}
|
|
302
303
|
nt.prototype.load = function(t) {
|
|
303
304
|
function n() {
|
|
304
|
-
if (s["__mti_fntLst" +
|
|
305
|
-
var r = s["__mti_fntLst" +
|
|
305
|
+
if (s["__mti_fntLst" + e]) {
|
|
306
|
+
var r = s["__mti_fntLst" + e](), a = [], f;
|
|
306
307
|
if (r) for (var u = 0; u < r.length; u++) {
|
|
307
308
|
var c = r[u].fontfamily;
|
|
308
309
|
r[u].fontStyle != null && r[u].fontWeight != null ? (f = r[u].fontStyle + r[u].fontWeight, a.push(new g(c, f))) : a.push(new g(c));
|
|
@@ -312,98 +313,98 @@ function Ft() {
|
|
|
312
313
|
n();
|
|
313
314
|
}, 50);
|
|
314
315
|
}
|
|
315
|
-
var
|
|
316
|
-
if (
|
|
317
|
-
var s =
|
|
318
|
-
F(this.c, (
|
|
319
|
-
r ? t([]) : (s["__MonotypeConfiguration__" +
|
|
320
|
-
return
|
|
316
|
+
var i = this, e = i.a.projectId, o = i.a.version;
|
|
317
|
+
if (e) {
|
|
318
|
+
var s = i.c.o;
|
|
319
|
+
F(this.c, (i.a.api || "https://fast.fonts.net/jsapi") + "/" + e + ".js" + (o ? "?v=" + o : ""), function(r) {
|
|
320
|
+
r ? t([]) : (s["__MonotypeConfiguration__" + e] = function() {
|
|
321
|
+
return i.a;
|
|
321
322
|
}, n());
|
|
322
|
-
}).id = "__MonotypeAPIScript__" +
|
|
323
|
+
}).id = "__MonotypeAPIScript__" + e;
|
|
323
324
|
} else t([]);
|
|
324
325
|
};
|
|
325
|
-
function
|
|
326
|
+
function et(t, n) {
|
|
326
327
|
this.c = t, this.a = n;
|
|
327
328
|
}
|
|
328
|
-
|
|
329
|
-
var n,
|
|
330
|
-
for (n = 0,
|
|
329
|
+
et.prototype.load = function(t) {
|
|
330
|
+
var n, i, e = this.a.urls || [], o = this.a.families || [], s = this.a.testStrings || {}, r = new $();
|
|
331
|
+
for (n = 0, i = e.length; n < i; n++) L(this.c, e[n], z(r));
|
|
331
332
|
var a = [];
|
|
332
|
-
for (n = 0,
|
|
333
|
-
else a.push(new g(
|
|
333
|
+
for (n = 0, i = o.length; n < i; n++) if (e = o[n].split(":"), e[1]) for (var f = e[1].split(","), u = 0; u < f.length; u += 1) a.push(new g(e[0], f[u]));
|
|
334
|
+
else a.push(new g(e[0]));
|
|
334
335
|
H(r, function() {
|
|
335
336
|
t(a, s);
|
|
336
337
|
});
|
|
337
338
|
};
|
|
338
|
-
function
|
|
339
|
-
t ? this.c = t : this.c =
|
|
339
|
+
function jt(t, n) {
|
|
340
|
+
t ? this.c = t : this.c = _t, this.a = [], this.f = [], this.g = n || "";
|
|
340
341
|
}
|
|
341
|
-
var
|
|
342
|
-
function
|
|
343
|
-
for (var
|
|
344
|
-
var o = n[
|
|
342
|
+
var _t = "https://fonts.googleapis.com/css";
|
|
343
|
+
function Tt(t, n) {
|
|
344
|
+
for (var i = n.length, e = 0; e < i; e++) {
|
|
345
|
+
var o = n[e].split(":");
|
|
345
346
|
o.length == 3 && t.f.push(o.pop());
|
|
346
347
|
var s = "";
|
|
347
348
|
o.length == 2 && o[1] != "" && (s = ":"), t.a.push(o.join(s));
|
|
348
349
|
}
|
|
349
350
|
}
|
|
350
|
-
function
|
|
351
|
+
function St(t) {
|
|
351
352
|
if (t.a.length == 0) throw Error("No fonts to load!");
|
|
352
353
|
if (t.c.indexOf("kit=") != -1) return t.c;
|
|
353
|
-
for (var n = t.a.length,
|
|
354
|
-
return n = t.c + "?family=" +
|
|
354
|
+
for (var n = t.a.length, i = [], e = 0; e < n; e++) i.push(t.a[e].replace(/ /g, "+"));
|
|
355
|
+
return n = t.c + "?family=" + i.join("%7C"), 0 < t.f.length && (n += "&subset=" + t.f.join(",")), 0 < t.g.length && (n += "&text=" + encodeURIComponent(t.g)), n;
|
|
355
356
|
}
|
|
356
|
-
function
|
|
357
|
+
function Et(t) {
|
|
357
358
|
this.f = t, this.a = [], this.c = {};
|
|
358
359
|
}
|
|
359
|
-
var
|
|
360
|
-
function
|
|
361
|
-
for (var n = t.f.length,
|
|
362
|
-
var
|
|
363
|
-
if (2 <=
|
|
364
|
-
var r, a =
|
|
360
|
+
var it = { latin: "BESbswy", "latin-ext": "çöüğş", cyrillic: "йяЖ", greek: "αβΣ", khmer: "កខគ", Hanuman: "កខគ" }, bt = { thin: "1", extralight: "2", "extra-light": "2", ultralight: "2", "ultra-light": "2", light: "3", regular: "4", book: "4", medium: "5", "semi-bold": "6", semibold: "6", "demi-bold": "6", demibold: "6", bold: "7", "extra-bold": "8", extrabold: "8", "ultra-bold": "8", ultrabold: "8", black: "9", heavy: "9", l: "3", r: "4", b: "7" }, At = { i: "i", italic: "i", n: "n", normal: "n" }, Ct = /^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
|
|
361
|
+
function Nt(t) {
|
|
362
|
+
for (var n = t.f.length, i = 0; i < n; i++) {
|
|
363
|
+
var e = t.f[i].split(":"), o = e[0].replace(/\+/g, " "), s = ["n4"];
|
|
364
|
+
if (2 <= e.length) {
|
|
365
|
+
var r, a = e[1];
|
|
365
366
|
if (r = [], a) for (var a = a.split(","), f = a.length, u = 0; u < f; u++) {
|
|
366
367
|
var c;
|
|
367
368
|
if (c = a[u], c.match(/^[\w-]+$/)) {
|
|
368
|
-
var
|
|
369
|
-
if (
|
|
369
|
+
var h = Ct.exec(c.toLowerCase());
|
|
370
|
+
if (h == null) c = "";
|
|
370
371
|
else {
|
|
371
|
-
if (c =
|
|
372
|
-
else var v =
|
|
373
|
-
c = [c,
|
|
372
|
+
if (c = h[2], c = c == null || c == "" ? "n" : At[c], h = h[1], h == null || h == "") h = "4";
|
|
373
|
+
else var v = bt[h], h = v || (isNaN(h) ? "4" : h.substr(0, 1));
|
|
374
|
+
c = [c, h].join("");
|
|
374
375
|
}
|
|
375
376
|
} else c = "";
|
|
376
377
|
c && r.push(c);
|
|
377
378
|
}
|
|
378
|
-
0 < r.length && (s = r),
|
|
379
|
+
0 < r.length && (s = r), e.length == 3 && (e = e[2], r = [], e = e ? e.split(",") : r, 0 < e.length && (e = it[e[0]]) && (t.c[o] = e));
|
|
379
380
|
}
|
|
380
|
-
for (t.c[o] || (
|
|
381
|
+
for (t.c[o] || (e = it[o]) && (t.c[o] = e), e = 0; e < s.length; e += 1) t.a.push(new g(o, s[e]));
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
384
|
function ot(t, n) {
|
|
384
385
|
this.c = t, this.a = n;
|
|
385
386
|
}
|
|
386
|
-
var
|
|
387
|
+
var Ot = { Arimo: !0, Cousine: !0, Tinos: !0 };
|
|
387
388
|
ot.prototype.load = function(t) {
|
|
388
|
-
var n = new $(),
|
|
389
|
-
|
|
390
|
-
var s = new
|
|
391
|
-
|
|
392
|
-
t(s.a, s.c,
|
|
389
|
+
var n = new $(), i = this.c, e = new jt(this.a.api, this.a.text), o = this.a.families;
|
|
390
|
+
Tt(e, o);
|
|
391
|
+
var s = new Et(o);
|
|
392
|
+
Nt(s), L(i, St(e), z(n)), H(n, function() {
|
|
393
|
+
t(s.a, s.c, Ot);
|
|
393
394
|
});
|
|
394
395
|
};
|
|
395
396
|
function st(t, n) {
|
|
396
397
|
this.c = t, this.a = n;
|
|
397
398
|
}
|
|
398
399
|
st.prototype.load = function(t) {
|
|
399
|
-
var n = this.a.id,
|
|
400
|
-
n ? F(this.c, (this.a.api || "https://use.typekit.net") + "/" + n + ".js", function(
|
|
401
|
-
if (
|
|
402
|
-
else if (
|
|
403
|
-
|
|
404
|
-
for (var o = [], s = 0; s <
|
|
400
|
+
var n = this.a.id, i = this.c.o;
|
|
401
|
+
n ? F(this.c, (this.a.api || "https://use.typekit.net") + "/" + n + ".js", function(e) {
|
|
402
|
+
if (e) t([]);
|
|
403
|
+
else if (i.Typekit && i.Typekit.config && i.Typekit.config.fn) {
|
|
404
|
+
e = i.Typekit.config.fn;
|
|
405
|
+
for (var o = [], s = 0; s < e.length; s += 2) for (var r = e[s], a = e[s + 1], f = 0; f < a.length; f++) o.push(new g(r, a[f]));
|
|
405
406
|
try {
|
|
406
|
-
|
|
407
|
+
i.Typekit.load({ events: !1, classes: !1, async: !0 });
|
|
407
408
|
} catch {
|
|
408
409
|
}
|
|
409
410
|
t(o);
|
|
@@ -414,20 +415,20 @@ function Ft() {
|
|
|
414
415
|
this.c = t, this.f = n, this.a = [];
|
|
415
416
|
}
|
|
416
417
|
rt.prototype.load = function(t) {
|
|
417
|
-
var n = this.f.id,
|
|
418
|
-
n ? (
|
|
418
|
+
var n = this.f.id, i = this.c.o, e = this;
|
|
419
|
+
n ? (i.__webfontfontdeckmodule__ || (i.__webfontfontdeckmodule__ = {}), i.__webfontfontdeckmodule__[n] = function(o, s) {
|
|
419
420
|
for (var r = 0, a = s.fonts.length; r < a; ++r) {
|
|
420
421
|
var f = s.fonts[r];
|
|
421
|
-
|
|
422
|
+
e.a.push(new g(f.name, pt("font-weight:" + f.weight + ";font-style:" + f.style)));
|
|
422
423
|
}
|
|
423
|
-
t(
|
|
424
|
-
}, F(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") +
|
|
424
|
+
t(e.a);
|
|
425
|
+
}, F(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + lt(this.c) + "/" + n + ".js", function(o) {
|
|
425
426
|
o && t([]);
|
|
426
427
|
})) : t([]);
|
|
427
428
|
};
|
|
428
429
|
var m = new tt(window);
|
|
429
430
|
m.a.c.custom = function(t, n) {
|
|
430
|
-
return new
|
|
431
|
+
return new et(n, t);
|
|
431
432
|
}, m.a.c.fontdeck = function(t, n) {
|
|
432
433
|
return new rt(n, t);
|
|
433
434
|
}, m.a.c.monotype = function(t, n) {
|
|
@@ -437,16 +438,17 @@ function Ft() {
|
|
|
437
438
|
}, m.a.c.google = function(t, n) {
|
|
438
439
|
return new ot(n, t);
|
|
439
440
|
};
|
|
440
|
-
var at = { load:
|
|
441
|
+
var at = { load: l(m.load, m) };
|
|
441
442
|
w.exports ? w.exports = at : (window.WebFont = at, window.WebFontConfig && m.load(window.WebFontConfig));
|
|
442
443
|
})();
|
|
443
444
|
})(B)), B.exports;
|
|
444
445
|
}
|
|
445
|
-
var
|
|
446
|
-
const
|
|
447
|
-
__proto__: null
|
|
448
|
-
|
|
446
|
+
var ut = It();
|
|
447
|
+
const kt = /* @__PURE__ */ Ft(ut), Dt = /* @__PURE__ */ Pt({
|
|
448
|
+
__proto__: null,
|
|
449
|
+
default: kt
|
|
450
|
+
}, [ut]);
|
|
449
451
|
export {
|
|
450
|
-
|
|
452
|
+
Dt as w
|
|
451
453
|
};
|
|
452
|
-
//# sourceMappingURL=webfontloader-
|
|
454
|
+
//# sourceMappingURL=webfontloader-CtCXi-3v.mjs.map
|