@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.
@@ -1,13 +1,14 @@
1
- function Wt(w, S) {
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 h = S[_];
4
- if (typeof h != "string" && !Array.isArray(h)) {
5
- for (const d in h)
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(h, d);
8
+ const T = Object.getOwnPropertyDescriptor(l, d);
8
9
  T && Object.defineProperty(w, d, T.get ? T : {
9
10
  enumerable: !0,
10
- get: () => h[d]
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 Ft() {
19
+ function It() {
19
20
  return ft || (ft = 1, (function(w) {
20
21
  (function() {
21
- function S(t, n, e) {
22
+ function S(t, n, i) {
22
23
  return t.call.apply(t.bind, arguments);
23
24
  }
24
- function _(t, n, e) {
25
+ function _(t, n, i) {
25
26
  if (!t) throw Error();
26
27
  if (2 < arguments.length) {
27
- var i = Array.prototype.slice.call(arguments, 2);
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, i), t.apply(n, 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 h(t, n, e) {
38
- return h = Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? S : _, h.apply(null, arguments);
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 ut = !!window.FontFace;
47
- function W(t, n, e, i) {
48
- if (n = t.c.createElement(n), e) for (var o in e) e.hasOwnProperty(o) && (o == "style" ? n.style.cssText = e[o] : n.setAttribute(o, e[o]));
49
- return i && n.appendChild(t.c.createTextNode(i)), n;
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, e) {
52
- t = t.c.getElementsByTagName(n)[0], t || (t = document.documentElement), t.insertBefore(e, t.lastChild);
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, e) {
58
- n = n || [], e = e || [];
59
- for (var i = t.className.split(/\s+/), o = 0; o < n.length; o += 1) {
60
- for (var s = !1, r = 0; r < i.length; r += 1) if (n[o] === i[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 || i.push(n[o]);
65
+ s || e.push(n[o]);
65
66
  }
66
- for (n = [], o = 0; o < i.length; o += 1) {
67
- for (s = !1, r = 0; r < e.length; r += 1) if (i[o] === e[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(i[o]);
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 e = t.className.split(/\s+/), i = 0, o = e.length; i < o; i++) if (e[i] == n) return !0;
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 ct(t) {
80
+ function lt(t) {
80
81
  return t.o.location.hostname || t.a.location.hostname;
81
82
  }
82
- function L(t, n, e) {
83
- function i() {
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 = e || null;
88
- ut ? (n.onload = function() {
89
- o = !0, i();
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"), i();
92
+ o = !0, r = Error("Stylesheet failed to load"), e();
92
93
  }) : setTimeout(function() {
93
- o = !0, i();
94
+ o = !0, e();
94
95
  }, 0), D(t, "head", n);
95
96
  }
96
- function F(t, n, e, i) {
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, e && e(null), s.onload = s.onreadystatechange = null, s.parentNode.tagName == "HEAD" && o.removeChild(s));
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, e && e(Error("Script load timeout")));
104
- }, i || 5e3), s;
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 = [], e = 0; e < arguments.length; e++) n.push(arguments[e].replace(/[\W_]+/g, "").toLowerCase());
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 e = (n || "n4").match(/^([nio])([1-9])$/i);
132
- e && (this.a = e[1], this.f = parseInt(e[2], 10));
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 e = 0; e < t.length; e++) {
141
- var i = t[e].replace(/['"]/g, "");
142
- i.indexOf(" ") != -1 || /^\d/.test(i) ? n.push("'" + i + "'") : n.push(i);
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 lt(t) {
154
- var n = 4, e = "n", i = null;
155
- return t && ((i = t.match(/(normal|oblique|italic)/i)) && i[1] && (e = i[1].substr(0, 1).toLowerCase()), (i = t.match(/([1-9]00|normal|bold)/i)) && i[1] && (/bold/i.test(i[1]) ? n = 7 : /[1-9]00/.test(i[1]) && (n = parseInt(i[1].substr(0, 1), 10)))), e + n;
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 pt(t, n) {
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 gt(t) {
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")), e = [], i = [t.a.c("wf", "loading")];
166
- n || e.push(t.a.c("wf", "inactive")), y(t.f, e, i);
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, e) {
171
- t.j && t.h[n] && (e ? t.h[n](e.c, p(e)) : 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 vt() {
174
+ function dt() {
174
175
  this.c = {};
175
176
  }
176
- function dt(t, n, e) {
177
- var i = [], o;
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 && i.push(s(n[o], e));
181
+ s && e.push(s(n[o], i));
181
182
  }
182
- return i;
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, e, i, o, s) {
194
- this.g = t, this.j = n, this.a = i, this.c = e, this.f = o || 3e3, this.h = s || void 0;
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, e = d(), i = new Promise(function(r, a) {
198
+ var t = this.c.o.document, n = this, i = d(), e = new Promise(function(r, a) {
198
199
  function f() {
199
- d() - e >= n.f ? a() : t.fonts.load(ht(n.a), n.h).then(function(u) {
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, i]).then(function() {
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, e, i, o, s, r) {
216
- this.v = t, this.B = n, this.c = e, this.a = i, 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);
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, e) {
230
- for (var i in N) if (N.hasOwnProperty(i) && n === t.f[N[i]] && e === t.f[N[i]]) return !0;
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, e = t.h.a.offsetWidth, i;
235
- (i = n === t.f.serif && e === t.f["sans-serif"]) || (i = J() && Q(t, n, e)), i ? d() - t.A >= t.w ? J() && Q(t, n, e) && (t.u === null || t.u.hasOwnProperty(t.a.c)) ? I(t, t.v) : I(t, t.B) : mt(t) : I(t, t.v);
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 mt(t) {
238
- setTimeout(h(function() {
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(h(function() {
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, e) {
248
- this.c = t, this.a = n, this.f = 0, this.m = this.j = !1, this.s = e;
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 e = q(n.f, n.a.c("wf", t.c, p(t).toString(), "active")), i = [], o = [n.a.c("wf", t.c, p(t).toString(), "loading")];
258
- e || i.push(n.a.c("wf", t.c, p(t).toString(), "inactive")), y(n.f, i, o);
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 vt(), this.h = 0, this.f = this.g = !0;
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, yt(this, new pt(this.c, t), t);
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 wt(t, n, e, i, o) {
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 = i || null || {};
275
- if (e.length === 0 && s) U(n.a);
275
+ var r = o || null, a = e || null || {};
276
+ if (i.length === 0 && s) U(n.a);
276
277
  else {
277
- n.f += e.length, s && (n.j = s);
278
+ n.f += i.length, s && (n.j = s);
278
279
  var f, u = [];
279
- for (f = 0; f < e.length; f++) {
280
- var c = e[f], l = a[c.c], v = n.a, j = 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), Ot = /OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent) && /Apple/.exec(window.navigator.vendor);
283
- O = j ? 42 < parseInt(j[1], 10) : !Ot;
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(h(n.g, n), h(n.h, n), n.c, c, n.s, l) : v = new X(h(n.g, n), h(n.h, n), n.c, c, n.s, r, l), u.push(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 yt(t, n, e) {
292
- var o = [], i = e.timeout;
293
- gt(n);
294
- var o = dt(t.a, e, t.c), s = new k(t.c, n, i);
295
- for (t.h = o.length, n = 0, e = o.length; n < e; n++) o[n].load(function(r, a, f) {
296
- wt(t, s, r, a, f);
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" + i]) {
305
- var r = s["__mti_fntLst" + i](), a = [], f;
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 e = this, i = e.a.projectId, o = e.a.version;
316
- if (i) {
317
- var s = e.c.o;
318
- F(this.c, (e.a.api || "https://fast.fonts.net/jsapi") + "/" + i + ".js" + (o ? "?v=" + o : ""), function(r) {
319
- r ? t([]) : (s["__MonotypeConfiguration__" + i] = function() {
320
- return e.a;
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__" + i;
323
+ }).id = "__MonotypeAPIScript__" + e;
323
324
  } else t([]);
324
325
  };
325
- function it(t, n) {
326
+ function et(t, n) {
326
327
  this.c = t, this.a = n;
327
328
  }
328
- it.prototype.load = function(t) {
329
- var n, e, i = this.a.urls || [], o = this.a.families || [], s = this.a.testStrings || {}, r = new $();
330
- for (n = 0, e = i.length; n < e; n++) L(this.c, i[n], z(r));
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, e = o.length; n < e; n++) if (i = o[n].split(":"), i[1]) for (var f = i[1].split(","), u = 0; u < f.length; u += 1) a.push(new g(i[0], f[u]));
333
- else a.push(new g(i[0]));
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 xt(t, n) {
339
- t ? this.c = t : this.c = jt, this.a = [], this.f = [], this.g = n || "";
339
+ function jt(t, n) {
340
+ t ? this.c = t : this.c = _t, this.a = [], this.f = [], this.g = n || "";
340
341
  }
341
- var jt = "https://fonts.googleapis.com/css";
342
- function _t(t, n) {
343
- for (var e = n.length, i = 0; i < e; i++) {
344
- var o = n[i].split(":");
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 Tt(t) {
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, e = [], i = 0; i < n; i++) e.push(t.a[i].replace(/ /g, "+"));
354
- return n = t.c + "?family=" + e.join("%7C"), 0 < t.f.length && (n += "&subset=" + t.f.join(",")), 0 < t.g.length && (n += "&text=" + encodeURIComponent(t.g)), n;
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 St(t) {
357
+ function Et(t) {
357
358
  this.f = t, this.a = [], this.c = {};
358
359
  }
359
- var et = { latin: "BESbswy", "latin-ext": "çöüğş", cyrillic: "йяЖ", greek: "αβΣ", khmer: "កខគ", Hanuman: "កខគ" }, Et = { 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" }, bt = { i: "i", italic: "i", n: "n", normal: "n" }, At = /^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
360
- function Ct(t) {
361
- for (var n = t.f.length, e = 0; e < n; e++) {
362
- var i = t.f[e].split(":"), o = i[0].replace(/\+/g, " "), s = ["n4"];
363
- if (2 <= i.length) {
364
- var r, a = i[1];
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 l = At.exec(c.toLowerCase());
369
- if (l == null) c = "";
369
+ var h = Ct.exec(c.toLowerCase());
370
+ if (h == null) c = "";
370
371
  else {
371
- if (c = l[2], c = c == null || c == "" ? "n" : bt[c], l = l[1], l == null || l == "") l = "4";
372
- else var v = Et[l], l = v || (isNaN(l) ? "4" : l.substr(0, 1));
373
- c = [c, l].join("");
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), i.length == 3 && (i = i[2], r = [], i = i ? i.split(",") : r, 0 < i.length && (i = et[i[0]]) && (t.c[o] = i));
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] || (i = et[o]) && (t.c[o] = i), i = 0; i < s.length; i += 1) t.a.push(new g(o, s[i]));
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 Nt = { Arimo: !0, Cousine: !0, Tinos: !0 };
387
+ var Ot = { Arimo: !0, Cousine: !0, Tinos: !0 };
387
388
  ot.prototype.load = function(t) {
388
- var n = new $(), e = this.c, i = new xt(this.a.api, this.a.text), o = this.a.families;
389
- _t(i, o);
390
- var s = new St(o);
391
- Ct(s), L(e, Tt(i), z(n)), H(n, function() {
392
- t(s.a, s.c, Nt);
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, e = this.c.o;
400
- n ? F(this.c, (this.a.api || "https://use.typekit.net") + "/" + n + ".js", function(i) {
401
- if (i) t([]);
402
- else if (e.Typekit && e.Typekit.config && e.Typekit.config.fn) {
403
- i = e.Typekit.config.fn;
404
- for (var o = [], s = 0; s < i.length; s += 2) for (var r = i[s], a = i[s + 1], f = 0; f < a.length; f++) o.push(new g(r, a[f]));
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
- e.Typekit.load({ events: !1, classes: !1, async: !0 });
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, e = this.c.o, i = this;
418
- n ? (e.__webfontfontdeckmodule__ || (e.__webfontfontdeckmodule__ = {}), e.__webfontfontdeckmodule__[n] = function(o, s) {
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
- i.a.push(new g(f.name, lt("font-weight:" + f.weight + ";font-style:" + f.style)));
422
+ e.a.push(new g(f.name, pt("font-weight:" + f.weight + ";font-style:" + f.style)));
422
423
  }
423
- t(i.a);
424
- }, F(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + ct(this.c) + "/" + n + ".js", function(o) {
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 it(n, t);
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: h(m.load, m) };
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 Pt = Ft();
446
- const It = /* @__PURE__ */ Wt({
447
- __proto__: null
448
- }, [Pt]);
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
- It as w
452
+ Dt as w
451
453
  };
452
- //# sourceMappingURL=webfontloader-DeB77L0f.mjs.map
454
+ //# sourceMappingURL=webfontloader-CtCXi-3v.mjs.map