@zelloptt/react-native-zello-sdk 1.0.1 → 1.0.3
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/android/build.gradle +1 -1
- package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModule.kt +3 -2
- package/lib/commonjs/docs/assets/hierarchy.js +4 -0
- package/lib/commonjs/docs/assets/hierarchy.js.map +1 -0
- package/lib/commonjs/docs/assets/icons.js +1 -1
- package/lib/commonjs/docs/assets/icons.js.map +1 -1
- package/lib/commonjs/docs/assets/icons.svg +1 -1
- package/lib/commonjs/docs/assets/main.js +486 -287
- package/lib/commonjs/docs/assets/main.js.map +1 -1
- package/lib/commonjs/docs/assets/navigation.js +1 -1
- package/lib/commonjs/docs/assets/navigation.js.map +1 -1
- package/lib/commonjs/docs/assets/search.js +1 -1
- package/lib/commonjs/docs/assets/search.js.map +1 -1
- package/lib/commonjs/docs/assets/style.css +1418 -1255
- package/lib/commonjs/docs/classes/sdk.Zello.html +137 -137
- package/lib/commonjs/docs/classes/types.ZelloAlertMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloChannel.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloChannelUser.html +5 -5
- package/lib/commonjs/docs/classes/types.ZelloDispatchCall.html +7 -7
- package/lib/commonjs/docs/classes/types.ZelloDispatchChannel.html +17 -17
- package/lib/commonjs/docs/classes/types.ZelloGroupConversation.html +22 -22
- package/lib/commonjs/docs/classes/types.ZelloHistoryAlertMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloHistoryImageMessage.html +14 -14
- package/lib/commonjs/docs/classes/types.ZelloHistoryLocationMessage.html +21 -21
- package/lib/commonjs/docs/classes/types.ZelloHistoryTextMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloHistoryVoiceMessage.html +16 -16
- package/lib/commonjs/docs/classes/types.ZelloImageMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloIncomingEmergency.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloIncomingVoiceMessage.html +11 -11
- package/lib/commonjs/docs/classes/types.ZelloLocationMessage.html +19 -19
- package/lib/commonjs/docs/classes/types.ZelloOutgoingEmergency.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloOutgoingVoiceMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloRecentEntry.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloTextMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloUser.html +18 -18
- package/lib/commonjs/docs/classes/types.ZelloUserSupportedFeatures.html +5 -5
- package/lib/commonjs/docs/enums/events.ZelloEvent.html +163 -163
- package/lib/commonjs/docs/enums/types.ZelloAccountStatus.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloChannelAlertLevel.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloChannelConnectionStatus.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloConnectionError.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloConnectionState.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloContactType.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloDispatchCallStatus.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageError.html +4 -4
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageState.html +7 -7
- package/lib/commonjs/docs/enums/types.ZelloRecentEntryType.html +7 -7
- package/lib/commonjs/docs/enums/types.ZelloUserStatus.html +10 -10
- package/lib/commonjs/docs/index.html +15 -15
- package/lib/commonjs/docs/modules/events.html +1 -2
- package/lib/commonjs/docs/modules/index.html +1 -42
- package/lib/commonjs/docs/modules/sdk.html +1 -2
- package/lib/commonjs/docs/modules/types.html +1 -40
- package/lib/commonjs/docs/modules.html +1 -0
- package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +8 -8
- package/lib/commonjs/docs/types/types.ZelloConfig.html +6 -6
- package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +8 -8
- package/lib/commonjs/docs/types/types.ZelloContact.html +5 -5
- package/lib/commonjs/docs/types/types.ZelloCredentials.html +6 -6
- package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +7 -7
- package/lib/commonjs/docs/types/types.ZelloMessage.html +6 -6
- package/lib/module/docs/assets/hierarchy.js +4 -0
- package/lib/module/docs/assets/hierarchy.js.map +1 -0
- package/lib/module/docs/assets/icons.js +1 -1
- package/lib/module/docs/assets/icons.js.map +1 -1
- package/lib/module/docs/assets/icons.svg +1 -1
- package/lib/module/docs/assets/main.js +486 -287
- package/lib/module/docs/assets/main.js.map +1 -1
- package/lib/module/docs/assets/navigation.js +1 -1
- package/lib/module/docs/assets/navigation.js.map +1 -1
- package/lib/module/docs/assets/search.js +1 -1
- package/lib/module/docs/assets/search.js.map +1 -1
- package/lib/module/docs/assets/style.css +1418 -1255
- package/lib/module/docs/classes/sdk.Zello.html +137 -137
- package/lib/module/docs/classes/types.ZelloAlertMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloChannel.html +15 -15
- package/lib/module/docs/classes/types.ZelloChannelUser.html +5 -5
- package/lib/module/docs/classes/types.ZelloDispatchCall.html +7 -7
- package/lib/module/docs/classes/types.ZelloDispatchChannel.html +17 -17
- package/lib/module/docs/classes/types.ZelloGroupConversation.html +22 -22
- package/lib/module/docs/classes/types.ZelloHistoryAlertMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloHistoryImageMessage.html +14 -14
- package/lib/module/docs/classes/types.ZelloHistoryLocationMessage.html +21 -21
- package/lib/module/docs/classes/types.ZelloHistoryTextMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloHistoryVoiceMessage.html +16 -16
- package/lib/module/docs/classes/types.ZelloImageMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloIncomingEmergency.html +13 -13
- package/lib/module/docs/classes/types.ZelloIncomingVoiceMessage.html +11 -11
- package/lib/module/docs/classes/types.ZelloLocationMessage.html +19 -19
- package/lib/module/docs/classes/types.ZelloOutgoingEmergency.html +9 -9
- package/lib/module/docs/classes/types.ZelloOutgoingVoiceMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloRecentEntry.html +13 -13
- package/lib/module/docs/classes/types.ZelloTextMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloUser.html +18 -18
- package/lib/module/docs/classes/types.ZelloUserSupportedFeatures.html +5 -5
- package/lib/module/docs/enums/events.ZelloEvent.html +163 -163
- package/lib/module/docs/enums/types.ZelloAccountStatus.html +6 -6
- package/lib/module/docs/enums/types.ZelloChannelAlertLevel.html +6 -6
- package/lib/module/docs/enums/types.ZelloChannelConnectionStatus.html +5 -5
- package/lib/module/docs/enums/types.ZelloConnectionError.html +5 -5
- package/lib/module/docs/enums/types.ZelloConnectionState.html +6 -6
- package/lib/module/docs/enums/types.ZelloContactType.html +6 -6
- package/lib/module/docs/enums/types.ZelloDispatchCallStatus.html +6 -6
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageError.html +4 -4
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageState.html +7 -7
- package/lib/module/docs/enums/types.ZelloRecentEntryType.html +7 -7
- package/lib/module/docs/enums/types.ZelloUserStatus.html +10 -10
- package/lib/module/docs/index.html +15 -15
- package/lib/module/docs/modules/events.html +1 -2
- package/lib/module/docs/modules/index.html +1 -42
- package/lib/module/docs/modules/sdk.html +1 -2
- package/lib/module/docs/modules/types.html +1 -40
- package/lib/module/docs/modules.html +1 -0
- package/lib/module/docs/types/types.ZelloChannelOptions.html +8 -8
- package/lib/module/docs/types/types.ZelloConfig.html +6 -6
- package/lib/module/docs/types/types.ZelloConsoleSettings.html +8 -8
- package/lib/module/docs/types/types.ZelloContact.html +5 -5
- package/lib/module/docs/types/types.ZelloCredentials.html +6 -6
- package/lib/module/docs/types/types.ZelloHistoryMessage.html +7 -7
- package/lib/module/docs/types/types.ZelloMessage.html +6 -6
- package/package.json +1 -1
|
@@ -10,36 +10,64 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
|
|
|
10
10
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
11
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
13
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
14
15
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
16
|
window.translations = {
|
|
16
17
|
"copy": "Copy",
|
|
17
18
|
"copied": "Copied!",
|
|
18
|
-
"normally_hidden": "This member is normally hidden due to your filter settings."
|
|
19
|
+
"normally_hidden": "This member is normally hidden due to your filter settings.",
|
|
20
|
+
"hierarchy_expand": "Expand",
|
|
21
|
+
"hierarchy_collapse": "Collapse",
|
|
22
|
+
"folder": "Folder",
|
|
23
|
+
"kind_1": "Project",
|
|
24
|
+
"kind_2": "Module",
|
|
25
|
+
"kind_4": "Namespace",
|
|
26
|
+
"kind_8": "Enumeration",
|
|
27
|
+
"kind_16": "Enumeration Member",
|
|
28
|
+
"kind_32": "Variable",
|
|
29
|
+
"kind_64": "Function",
|
|
30
|
+
"kind_128": "Class",
|
|
31
|
+
"kind_256": "Interface",
|
|
32
|
+
"kind_512": "Constructor",
|
|
33
|
+
"kind_1024": "Property",
|
|
34
|
+
"kind_2048": "Method",
|
|
35
|
+
"kind_4096": "Call Signature",
|
|
36
|
+
"kind_8192": "Index Signature",
|
|
37
|
+
"kind_16384": "Constructor Signature",
|
|
38
|
+
"kind_32768": "Parameter",
|
|
39
|
+
"kind_65536": "Type Literal",
|
|
40
|
+
"kind_131072": "Type Parameter",
|
|
41
|
+
"kind_262144": "Accessor",
|
|
42
|
+
"kind_524288": "Get Signature",
|
|
43
|
+
"kind_1048576": "Set Signature",
|
|
44
|
+
"kind_2097152": "Type Alias",
|
|
45
|
+
"kind_4194304": "Reference",
|
|
46
|
+
"kind_8388608": "Document"
|
|
19
47
|
};
|
|
20
48
|
"use strict";
|
|
21
49
|
(() => {
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
var
|
|
50
|
+
var De = Object.create;
|
|
51
|
+
var le = Object.defineProperty;
|
|
52
|
+
var Fe = Object.getOwnPropertyDescriptor;
|
|
53
|
+
var Ne = Object.getOwnPropertyNames;
|
|
54
|
+
var Ve = Object.getPrototypeOf,
|
|
55
|
+
Be = Object.prototype.hasOwnProperty;
|
|
56
|
+
var qe = (t, e) => () => (e || t((e = {
|
|
29
57
|
exports: {}
|
|
30
58
|
}).exports, e), e.exports);
|
|
31
|
-
var
|
|
32
|
-
if (e && typeof e == "object" || typeof e == "function") for (let i of
|
|
59
|
+
var je = (t, e, n, r) => {
|
|
60
|
+
if (e && typeof e == "object" || typeof e == "function") for (let i of Ne(e)) !Be.call(t, i) && i !== n && le(t, i, {
|
|
33
61
|
get: () => e[i],
|
|
34
|
-
enumerable: !(r =
|
|
62
|
+
enumerable: !(r = Fe(e, i)) || r.enumerable
|
|
35
63
|
});
|
|
36
64
|
return t;
|
|
37
65
|
};
|
|
38
|
-
var
|
|
66
|
+
var $e = (t, e, n) => (n = t != null ? De(Ve(t)) : {}, je(e || !t || !t.__esModule ? le(n, "default", {
|
|
39
67
|
value: t,
|
|
40
68
|
enumerable: !0
|
|
41
69
|
}) : n, t));
|
|
42
|
-
var
|
|
70
|
+
var pe = qe((de, he) => {
|
|
43
71
|
(function () {
|
|
44
72
|
var t = function (e) {
|
|
45
73
|
var n = new t.Builder();
|
|
@@ -144,11 +172,11 @@ window.translations = {
|
|
|
144
172
|
});
|
|
145
173
|
for (var r = e.toString().toLowerCase(), i = r.length, s = [], o = 0, a = 0; o <= i; o++) {
|
|
146
174
|
var l = r.charAt(o),
|
|
147
|
-
|
|
175
|
+
c = o - a;
|
|
148
176
|
if (l.match(t.tokenizer.separator) || o == i) {
|
|
149
|
-
if (
|
|
177
|
+
if (c > 0) {
|
|
150
178
|
var d = t.utils.clone(n) || {};
|
|
151
|
-
d.position = [a,
|
|
179
|
+
d.position = [a, c], d.index = s.length, s.push(new t.Token(r.slice(a, o), d));
|
|
152
180
|
}
|
|
153
181
|
a = o + 1;
|
|
154
182
|
}
|
|
@@ -231,7 +259,7 @@ window.translations = {
|
|
|
231
259
|
}
|
|
232
260
|
return this._magnitude = Math.sqrt(e);
|
|
233
261
|
}, t.Vector.prototype.dot = function (e) {
|
|
234
|
-
for (var n = 0, r = this.elements, i = e.elements, s = r.length, o = i.length, a = 0, l = 0,
|
|
262
|
+
for (var n = 0, r = this.elements, i = e.elements, s = r.length, o = i.length, a = 0, l = 0, c = 0, d = 0; c < s && d < o;) a = r[c], l = i[d], a < l ? c += 2 : a > l ? d += 2 : a == l && (n += r[c + 1] * i[d + 1], c += 2, d += 2);
|
|
235
263
|
return n;
|
|
236
264
|
}, t.Vector.prototype.similarity = function (e) {
|
|
237
265
|
return this.dot(e) / this.magnitude() || 0;
|
|
@@ -280,65 +308,65 @@ window.translations = {
|
|
|
280
308
|
o = i + "[aeiou]*",
|
|
281
309
|
a = "^(" + s + ")?" + o + s,
|
|
282
310
|
l = "^(" + s + ")?" + o + s + "(" + o + ")?$",
|
|
283
|
-
|
|
311
|
+
c = "^(" + s + ")?" + o + s + o + s,
|
|
284
312
|
d = "^(" + s + ")?" + i,
|
|
285
313
|
m = new RegExp(a),
|
|
286
|
-
p = new RegExp(
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
314
|
+
p = new RegExp(c),
|
|
315
|
+
L = new RegExp(l),
|
|
316
|
+
v = new RegExp(d),
|
|
317
|
+
b = /^(.+?)(ss|i)es$/,
|
|
290
318
|
f = /^(.+?)([^s])s$/,
|
|
291
319
|
y = /^(.+?)eed$/,
|
|
292
320
|
S = /^(.+?)(ed|ing)$/,
|
|
293
321
|
w = /.$/,
|
|
294
322
|
k = /(at|bl|iz)$/,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
323
|
+
O = new RegExp("([^aeiouylsz])\\1$"),
|
|
324
|
+
q = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
325
|
+
F = /^(.+?[^aeiou])y$/,
|
|
298
326
|
j = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
var
|
|
307
|
-
if (
|
|
308
|
-
if (T =
|
|
309
|
-
var E = h.exec(
|
|
310
|
-
h = m, h.test(E[1]) && (h = w,
|
|
311
|
-
} else if (x.test(
|
|
312
|
-
var E = x.exec(
|
|
313
|
-
|
|
327
|
+
$ = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,
|
|
328
|
+
N = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,
|
|
329
|
+
z = /^(.+?)(s|t)(ion)$/,
|
|
330
|
+
Q = /^(.+?)e$/,
|
|
331
|
+
W = /ll$/,
|
|
332
|
+
U = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
333
|
+
V = function (u) {
|
|
334
|
+
var g, P, T, h, x, _, R;
|
|
335
|
+
if (u.length < 3) return u;
|
|
336
|
+
if (T = u.substr(0, 1), T == "y" && (u = T.toUpperCase() + u.substr(1)), h = b, x = f, h.test(u) ? u = u.replace(h, "$1$2") : x.test(u) && (u = u.replace(x, "$1$2")), h = y, x = S, h.test(u)) {
|
|
337
|
+
var E = h.exec(u);
|
|
338
|
+
h = m, h.test(E[1]) && (h = w, u = u.replace(h, ""));
|
|
339
|
+
} else if (x.test(u)) {
|
|
340
|
+
var E = x.exec(u);
|
|
341
|
+
g = E[1], x = v, x.test(g) && (u = g, x = k, _ = O, R = q, x.test(u) ? u = u + "e" : _.test(u) ? (h = w, u = u.replace(h, "")) : R.test(u) && (u = u + "e"));
|
|
314
342
|
}
|
|
315
|
-
if (h =
|
|
316
|
-
var E = h.exec(
|
|
317
|
-
|
|
343
|
+
if (h = F, h.test(u)) {
|
|
344
|
+
var E = h.exec(u);
|
|
345
|
+
g = E[1], u = g + "i";
|
|
318
346
|
}
|
|
319
|
-
if (h = j, h.test(
|
|
320
|
-
var E = h.exec(
|
|
321
|
-
|
|
347
|
+
if (h = j, h.test(u)) {
|
|
348
|
+
var E = h.exec(u);
|
|
349
|
+
g = E[1], P = E[2], h = m, h.test(g) && (u = g + e[P]);
|
|
322
350
|
}
|
|
323
|
-
if (h =
|
|
324
|
-
var E = h.exec(
|
|
325
|
-
|
|
351
|
+
if (h = $, h.test(u)) {
|
|
352
|
+
var E = h.exec(u);
|
|
353
|
+
g = E[1], P = E[2], h = m, h.test(g) && (u = g + n[P]);
|
|
326
354
|
}
|
|
327
|
-
if (h =
|
|
328
|
-
var E = h.exec(
|
|
329
|
-
|
|
330
|
-
} else if (x.test(
|
|
331
|
-
var E = x.exec(
|
|
332
|
-
|
|
355
|
+
if (h = N, x = z, h.test(u)) {
|
|
356
|
+
var E = h.exec(u);
|
|
357
|
+
g = E[1], h = p, h.test(g) && (u = g);
|
|
358
|
+
} else if (x.test(u)) {
|
|
359
|
+
var E = x.exec(u);
|
|
360
|
+
g = E[1] + E[2], x = p, x.test(g) && (u = g);
|
|
333
361
|
}
|
|
334
|
-
if (h =
|
|
335
|
-
var E = h.exec(
|
|
336
|
-
|
|
362
|
+
if (h = Q, h.test(u)) {
|
|
363
|
+
var E = h.exec(u);
|
|
364
|
+
g = E[1], h = p, x = L, _ = U, (h.test(g) || x.test(g) && !_.test(g)) && (u = g);
|
|
337
365
|
}
|
|
338
|
-
return h =
|
|
366
|
+
return h = W, x = p, h.test(u) && x.test(u) && (h = w, u = u.replace(h, "")), T == "y" && (u = T.toLowerCase() + u.substr(1)), u;
|
|
339
367
|
};
|
|
340
|
-
return function (
|
|
341
|
-
return
|
|
368
|
+
return function (M) {
|
|
369
|
+
return M.update(V);
|
|
342
370
|
};
|
|
343
371
|
}(), t.Pipeline.registerFunction(t.stemmer, "stemmer");
|
|
344
372
|
t.generateStopWordFilter = function (e) {
|
|
@@ -391,12 +419,12 @@ window.translations = {
|
|
|
391
419
|
editsRemaining: s.editsRemaining - 1,
|
|
392
420
|
str: s.str.slice(1)
|
|
393
421
|
}), s.str.length == 1 && (s.node.final = !0), s.str.length >= 1) {
|
|
394
|
-
if ("*" in s.node.edges) var
|
|
395
|
-
var
|
|
396
|
-
s.node.edges["*"] =
|
|
422
|
+
if ("*" in s.node.edges) var c = s.node.edges["*"];else {
|
|
423
|
+
var c = new t.TokenSet();
|
|
424
|
+
s.node.edges["*"] = c;
|
|
397
425
|
}
|
|
398
|
-
s.str.length == 1 && (
|
|
399
|
-
node:
|
|
426
|
+
s.str.length == 1 && (c.final = !0), i.push({
|
|
427
|
+
node: c,
|
|
400
428
|
editsRemaining: s.editsRemaining - 1,
|
|
401
429
|
str: s.str.slice(1)
|
|
402
430
|
});
|
|
@@ -457,17 +485,17 @@ window.translations = {
|
|
|
457
485
|
node: this
|
|
458
486
|
}]; i.length;) {
|
|
459
487
|
r = i.pop();
|
|
460
|
-
for (var s = Object.keys(r.qNode.edges), o = s.length, a = Object.keys(r.node.edges), l = a.length,
|
|
488
|
+
for (var s = Object.keys(r.qNode.edges), o = s.length, a = Object.keys(r.node.edges), l = a.length, c = 0; c < o; c++) for (var d = s[c], m = 0; m < l; m++) {
|
|
461
489
|
var p = a[m];
|
|
462
490
|
if (p == d || d == "*") {
|
|
463
|
-
var
|
|
464
|
-
|
|
465
|
-
|
|
491
|
+
var L = r.node.edges[p],
|
|
492
|
+
v = r.qNode.edges[d],
|
|
493
|
+
b = L.final && v.final,
|
|
466
494
|
f = void 0;
|
|
467
|
-
p in r.output.edges ? (f = r.output.edges[p], f.final = f.final ||
|
|
468
|
-
qNode:
|
|
495
|
+
p in r.output.edges ? (f = r.output.edges[p], f.final = f.final || b) : (f = new t.TokenSet(), f.final = b, r.output.edges[p] = f), i.push({
|
|
496
|
+
qNode: v,
|
|
469
497
|
output: f,
|
|
470
|
-
node:
|
|
498
|
+
node: L
|
|
471
499
|
});
|
|
472
500
|
}
|
|
473
501
|
}
|
|
@@ -511,87 +539,87 @@ window.translations = {
|
|
|
511
539
|
for (var n = new t.Query(this.fields), r = Object.create(null), i = Object.create(null), s = Object.create(null), o = Object.create(null), a = Object.create(null), l = 0; l < this.fields.length; l++) i[this.fields[l]] = new t.Vector();
|
|
512
540
|
e.call(n, n);
|
|
513
541
|
for (var l = 0; l < n.clauses.length; l++) {
|
|
514
|
-
var
|
|
542
|
+
var c = n.clauses[l],
|
|
515
543
|
d = null,
|
|
516
544
|
m = t.Set.empty;
|
|
517
|
-
|
|
518
|
-
fields:
|
|
519
|
-
}) : d = [
|
|
545
|
+
c.usePipeline ? d = this.pipeline.runString(c.term, {
|
|
546
|
+
fields: c.fields
|
|
547
|
+
}) : d = [c.term];
|
|
520
548
|
for (var p = 0; p < d.length; p++) {
|
|
521
|
-
var
|
|
522
|
-
|
|
523
|
-
var
|
|
524
|
-
|
|
525
|
-
if (
|
|
526
|
-
for (var f = 0; f <
|
|
527
|
-
var y =
|
|
549
|
+
var L = d[p];
|
|
550
|
+
c.term = L;
|
|
551
|
+
var v = t.TokenSet.fromClause(c),
|
|
552
|
+
b = this.tokenSet.intersect(v).toArray();
|
|
553
|
+
if (b.length === 0 && c.presence === t.Query.presence.REQUIRED) {
|
|
554
|
+
for (var f = 0; f < c.fields.length; f++) {
|
|
555
|
+
var y = c.fields[f];
|
|
528
556
|
o[y] = t.Set.empty;
|
|
529
557
|
}
|
|
530
558
|
break;
|
|
531
559
|
}
|
|
532
|
-
for (var S = 0; S <
|
|
533
|
-
var y =
|
|
534
|
-
|
|
535
|
-
|
|
560
|
+
for (var S = 0; S < b.length; S++) for (var w = b[S], k = this.invertedIndex[w], O = k._index, f = 0; f < c.fields.length; f++) {
|
|
561
|
+
var y = c.fields[f],
|
|
562
|
+
q = k[y],
|
|
563
|
+
F = Object.keys(q),
|
|
536
564
|
j = w + "/" + y,
|
|
537
|
-
|
|
538
|
-
if (
|
|
539
|
-
a[y] === void 0 && (a[y] = t.Set.empty), a[y] = a[y].union(
|
|
565
|
+
$ = new t.Set(F);
|
|
566
|
+
if (c.presence == t.Query.presence.REQUIRED && (m = m.union($), o[y] === void 0 && (o[y] = t.Set.complete)), c.presence == t.Query.presence.PROHIBITED) {
|
|
567
|
+
a[y] === void 0 && (a[y] = t.Set.empty), a[y] = a[y].union($);
|
|
540
568
|
continue;
|
|
541
569
|
}
|
|
542
|
-
if (i[y].upsert(
|
|
543
|
-
return
|
|
570
|
+
if (i[y].upsert(O, c.boost, function (Ae, He) {
|
|
571
|
+
return Ae + He;
|
|
544
572
|
}), !s[j]) {
|
|
545
|
-
for (var
|
|
546
|
-
var
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
(
|
|
573
|
+
for (var N = 0; N < F.length; N++) {
|
|
574
|
+
var z = F[N],
|
|
575
|
+
Q = new t.FieldRef(z, y),
|
|
576
|
+
W = q[z],
|
|
577
|
+
U;
|
|
578
|
+
(U = r[Q]) === void 0 ? r[Q] = new t.MatchData(w, y, W) : U.add(w, y, W);
|
|
551
579
|
}
|
|
552
580
|
s[j] = !0;
|
|
553
581
|
}
|
|
554
582
|
}
|
|
555
583
|
}
|
|
556
|
-
if (
|
|
557
|
-
var y =
|
|
584
|
+
if (c.presence === t.Query.presence.REQUIRED) for (var f = 0; f < c.fields.length; f++) {
|
|
585
|
+
var y = c.fields[f];
|
|
558
586
|
o[y] = o[y].intersect(m);
|
|
559
587
|
}
|
|
560
588
|
}
|
|
561
|
-
for (var
|
|
589
|
+
for (var V = t.Set.complete, M = t.Set.empty, l = 0; l < this.fields.length; l++) {
|
|
562
590
|
var y = this.fields[l];
|
|
563
|
-
o[y] && (
|
|
591
|
+
o[y] && (V = V.intersect(o[y])), a[y] && (M = M.union(a[y]));
|
|
564
592
|
}
|
|
565
|
-
var
|
|
566
|
-
|
|
593
|
+
var u = Object.keys(r),
|
|
594
|
+
g = [],
|
|
567
595
|
P = Object.create(null);
|
|
568
596
|
if (n.isNegated()) {
|
|
569
|
-
|
|
570
|
-
for (var l = 0; l <
|
|
571
|
-
var
|
|
572
|
-
T = t.FieldRef.fromString(
|
|
573
|
-
r[
|
|
597
|
+
u = Object.keys(this.fieldVectors);
|
|
598
|
+
for (var l = 0; l < u.length; l++) {
|
|
599
|
+
var Q = u[l],
|
|
600
|
+
T = t.FieldRef.fromString(Q);
|
|
601
|
+
r[Q] = new t.MatchData();
|
|
574
602
|
}
|
|
575
603
|
}
|
|
576
|
-
for (var l = 0; l <
|
|
577
|
-
var T = t.FieldRef.fromString(
|
|
604
|
+
for (var l = 0; l < u.length; l++) {
|
|
605
|
+
var T = t.FieldRef.fromString(u[l]),
|
|
578
606
|
h = T.docRef;
|
|
579
|
-
if (
|
|
607
|
+
if (V.contains(h) && !M.contains(h)) {
|
|
580
608
|
var x = this.fieldVectors[T],
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
if ((
|
|
609
|
+
_ = i[T.fieldName].similarity(x),
|
|
610
|
+
R;
|
|
611
|
+
if ((R = P[h]) !== void 0) R.score += _, R.matchData.combine(r[T]);else {
|
|
584
612
|
var E = {
|
|
585
613
|
ref: h,
|
|
586
|
-
score:
|
|
614
|
+
score: _,
|
|
587
615
|
matchData: r[T]
|
|
588
616
|
};
|
|
589
|
-
P[h] = E,
|
|
617
|
+
P[h] = E, g.push(E);
|
|
590
618
|
}
|
|
591
619
|
}
|
|
592
620
|
}
|
|
593
|
-
return
|
|
594
|
-
return
|
|
621
|
+
return g.sort(function (Me, Re) {
|
|
622
|
+
return Re.score - Me.score;
|
|
595
623
|
});
|
|
596
624
|
}, t.Index.prototype.toJSON = function () {
|
|
597
625
|
var e = Object.keys(this.invertedIndex).sort().map(function (r) {
|
|
@@ -616,17 +644,17 @@ window.translations = {
|
|
|
616
644
|
a = new t.TokenSet.Builder(),
|
|
617
645
|
l = t.Pipeline.load(e.pipeline);
|
|
618
646
|
e.version != t.version && t.utils.warn("Version mismatch when loading serialised index. Current version of lunr '" + t.version + "' does not match serialized index '" + e.version + "'");
|
|
619
|
-
for (var
|
|
620
|
-
var d = i[
|
|
647
|
+
for (var c = 0; c < i.length; c++) {
|
|
648
|
+
var d = i[c],
|
|
621
649
|
m = d[0],
|
|
622
650
|
p = d[1];
|
|
623
651
|
r[m] = new t.Vector(p);
|
|
624
652
|
}
|
|
625
|
-
for (var
|
|
626
|
-
var d = o[
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
a.insert(
|
|
653
|
+
for (var c = 0; c < o.length; c++) {
|
|
654
|
+
var d = o[c],
|
|
655
|
+
L = d[0],
|
|
656
|
+
v = d[1];
|
|
657
|
+
a.insert(L), s[L] = v;
|
|
630
658
|
}
|
|
631
659
|
return a.finish(), n.fields = e.fields, n.fieldVectors = r, n.invertedIndex = s, n.tokenSet = a.root, n.pipeline = l, new t.Index(n);
|
|
632
660
|
};
|
|
@@ -649,26 +677,26 @@ window.translations = {
|
|
|
649
677
|
var o = i[s],
|
|
650
678
|
a = this._fields[o].extractor,
|
|
651
679
|
l = a ? a(e) : e[o],
|
|
652
|
-
|
|
680
|
+
c = this.tokenizer(l, {
|
|
653
681
|
fields: [o]
|
|
654
682
|
}),
|
|
655
|
-
d = this.pipeline.run(
|
|
683
|
+
d = this.pipeline.run(c),
|
|
656
684
|
m = new t.FieldRef(r, o),
|
|
657
685
|
p = Object.create(null);
|
|
658
686
|
this.fieldTermFrequencies[m] = p, this.fieldLengths[m] = 0, this.fieldLengths[m] += d.length;
|
|
659
|
-
for (var
|
|
660
|
-
var
|
|
661
|
-
if (p[
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
for (var f = 0; f < i.length; f++)
|
|
665
|
-
this.invertedIndex[
|
|
687
|
+
for (var L = 0; L < d.length; L++) {
|
|
688
|
+
var v = d[L];
|
|
689
|
+
if (p[v] == null && (p[v] = 0), p[v] += 1, this.invertedIndex[v] == null) {
|
|
690
|
+
var b = Object.create(null);
|
|
691
|
+
b._index = this.termIndex, this.termIndex += 1;
|
|
692
|
+
for (var f = 0; f < i.length; f++) b[i[f]] = Object.create(null);
|
|
693
|
+
this.invertedIndex[v] = b;
|
|
666
694
|
}
|
|
667
|
-
this.invertedIndex[
|
|
695
|
+
this.invertedIndex[v][o][r] == null && (this.invertedIndex[v][o][r] = Object.create(null));
|
|
668
696
|
for (var y = 0; y < this.metadataWhitelist.length; y++) {
|
|
669
697
|
var S = this.metadataWhitelist[y],
|
|
670
|
-
w =
|
|
671
|
-
this.invertedIndex[
|
|
698
|
+
w = v.metadata[S];
|
|
699
|
+
this.invertedIndex[v][o][r][S] == null && (this.invertedIndex[v][o][r][S] = []), this.invertedIndex[v][o][r][S].push(w);
|
|
672
700
|
}
|
|
673
701
|
}
|
|
674
702
|
}
|
|
@@ -679,22 +707,22 @@ window.translations = {
|
|
|
679
707
|
i[a] || (i[a] = 0), i[a] += 1, r[a] || (r[a] = 0), r[a] += this.fieldLengths[o];
|
|
680
708
|
}
|
|
681
709
|
for (var l = Object.keys(this._fields), s = 0; s < l.length; s++) {
|
|
682
|
-
var
|
|
683
|
-
r[
|
|
710
|
+
var c = l[s];
|
|
711
|
+
r[c] = r[c] / i[c];
|
|
684
712
|
}
|
|
685
713
|
this.averageFieldLength = r;
|
|
686
714
|
}, t.Builder.prototype.createFieldVectors = function () {
|
|
687
715
|
for (var e = {}, n = Object.keys(this.fieldTermFrequencies), r = n.length, i = Object.create(null), s = 0; s < r; s++) {
|
|
688
|
-
for (var o = t.FieldRef.fromString(n[s]), a = o.fieldName, l = this.fieldLengths[o],
|
|
689
|
-
var f = m[
|
|
716
|
+
for (var o = t.FieldRef.fromString(n[s]), a = o.fieldName, l = this.fieldLengths[o], c = new t.Vector(), d = this.fieldTermFrequencies[o], m = Object.keys(d), p = m.length, L = this._fields[a].boost || 1, v = this._documents[o.docRef].boost || 1, b = 0; b < p; b++) {
|
|
717
|
+
var f = m[b],
|
|
690
718
|
y = d[f],
|
|
691
719
|
S = this.invertedIndex[f]._index,
|
|
692
720
|
w,
|
|
693
721
|
k,
|
|
694
|
-
|
|
695
|
-
i[f] === void 0 ? (w = t.idf(this.invertedIndex[f], this.documentCount), i[f] = w) : w = i[f], k = w * ((this._k1 + 1) * y) / (this._k1 * (1 - this._b + this._b * (l / this.averageFieldLength[a])) + y), k *=
|
|
722
|
+
O;
|
|
723
|
+
i[f] === void 0 ? (w = t.idf(this.invertedIndex[f], this.documentCount), i[f] = w) : w = i[f], k = w * ((this._k1 + 1) * y) / (this._k1 * (1 - this._b + this._b * (l / this.averageFieldLength[a])) + y), k *= L, k *= v, O = Math.round(k * 1e3) / 1e3, c.insert(S, O);
|
|
696
724
|
}
|
|
697
|
-
e[o] =
|
|
725
|
+
e[o] = c;
|
|
698
726
|
}
|
|
699
727
|
this.fieldVectors = e;
|
|
700
728
|
}, t.Builder.prototype.createTokenSet = function () {
|
|
@@ -725,8 +753,8 @@ window.translations = {
|
|
|
725
753
|
var a = s[o],
|
|
726
754
|
l = Object.keys(e.metadata[i][a]);
|
|
727
755
|
this.metadata[i][a] == null && (this.metadata[i][a] = Object.create(null));
|
|
728
|
-
for (var
|
|
729
|
-
var d = l[
|
|
756
|
+
for (var c = 0; c < l.length; c++) {
|
|
757
|
+
var d = l[c];
|
|
730
758
|
this.metadata[i][a][d] == null ? this.metadata[i][a][d] = e.metadata[i][a][d] : this.metadata[i][a][d] = this.metadata[i][a][d].concat(e.metadata[i][a][d]);
|
|
731
759
|
}
|
|
732
760
|
}
|
|
@@ -985,29 +1013,61 @@ window.translations = {
|
|
|
985
1013
|
}
|
|
986
1014
|
}
|
|
987
1015
|
}, function (e, n) {
|
|
988
|
-
typeof define == "function" && define.amd ? define(n) : typeof
|
|
1016
|
+
typeof define == "function" && define.amd ? define(n) : typeof de == "object" ? he.exports = n() : e.lunr = n();
|
|
989
1017
|
}(this, function () {
|
|
990
1018
|
return t;
|
|
991
1019
|
});
|
|
992
1020
|
})();
|
|
993
1021
|
});
|
|
994
|
-
|
|
1022
|
+
window.translations ||= {
|
|
1023
|
+
copy: "Copy",
|
|
1024
|
+
copied: "Copied!",
|
|
1025
|
+
normally_hidden: "This member is normally hidden due to your filter settings.",
|
|
1026
|
+
hierarchy_expand: "Expand",
|
|
1027
|
+
hierarchy_collapse: "Collapse",
|
|
1028
|
+
folder: "Folder",
|
|
1029
|
+
kind_1: "Project",
|
|
1030
|
+
kind_2: "Module",
|
|
1031
|
+
kind_4: "Namespace",
|
|
1032
|
+
kind_8: "Enumeration",
|
|
1033
|
+
kind_16: "Enumeration Member",
|
|
1034
|
+
kind_32: "Variable",
|
|
1035
|
+
kind_64: "Function",
|
|
1036
|
+
kind_128: "Class",
|
|
1037
|
+
kind_256: "Interface",
|
|
1038
|
+
kind_512: "Constructor",
|
|
1039
|
+
kind_1024: "Property",
|
|
1040
|
+
kind_2048: "Method",
|
|
1041
|
+
kind_4096: "Call Signature",
|
|
1042
|
+
kind_8192: "Index Signature",
|
|
1043
|
+
kind_16384: "Constructor Signature",
|
|
1044
|
+
kind_32768: "Parameter",
|
|
1045
|
+
kind_65536: "Type Literal",
|
|
1046
|
+
kind_131072: "Type Parameter",
|
|
1047
|
+
kind_262144: "Accessor",
|
|
1048
|
+
kind_524288: "Get Signature",
|
|
1049
|
+
kind_1048576: "Set Signature",
|
|
1050
|
+
kind_2097152: "Type Alias",
|
|
1051
|
+
kind_4194304: "Reference",
|
|
1052
|
+
kind_8388608: "Document"
|
|
1053
|
+
};
|
|
1054
|
+
var ce = [];
|
|
995
1055
|
function G(t, e) {
|
|
996
|
-
|
|
1056
|
+
ce.push({
|
|
997
1057
|
selector: e,
|
|
998
1058
|
constructor: t
|
|
999
1059
|
});
|
|
1000
1060
|
}
|
|
1001
|
-
var
|
|
1002
|
-
function
|
|
1003
|
-
_classCallCheck(this,
|
|
1004
|
-
this
|
|
1061
|
+
var J = /*#__PURE__*/function () {
|
|
1062
|
+
function J() {
|
|
1063
|
+
_classCallCheck(this, J);
|
|
1064
|
+
_defineProperty(this, "alwaysVisibleMember", null);
|
|
1005
1065
|
this.createComponents(document.body), this.ensureFocusedElementVisible(), this.listenForCodeCopies(), window.addEventListener("hashchange", () => this.ensureFocusedElementVisible()), document.body.style.display || (this.ensureFocusedElementVisible(), this.updateIndexVisibility(), this.scrollToHash());
|
|
1006
1066
|
}
|
|
1007
|
-
return _createClass(
|
|
1067
|
+
return _createClass(J, [{
|
|
1008
1068
|
key: "createComponents",
|
|
1009
1069
|
value: function createComponents(e) {
|
|
1010
|
-
|
|
1070
|
+
ce.forEach(n => {
|
|
1011
1071
|
e.querySelectorAll(n.selector).forEach(r => {
|
|
1012
1072
|
r.dataset.hasInstance || (new n.constructor({
|
|
1013
1073
|
el: r,
|
|
@@ -1044,7 +1104,7 @@ window.translations = {
|
|
|
1044
1104
|
let e = document.querySelector(".tsd-navigation .current"),
|
|
1045
1105
|
n = e?.parentElement;
|
|
1046
1106
|
for (; n && !n.classList.contains(".tsd-navigation");) n instanceof HTMLDetailsElement && (n.open = !0), n = n.parentElement;
|
|
1047
|
-
if (e && !
|
|
1107
|
+
if (e && !ze(e)) {
|
|
1048
1108
|
let r = e.getBoundingClientRect().top - document.documentElement.clientHeight / 4;
|
|
1049
1109
|
document.querySelector(".site-menu").scrollTop = r, document.querySelector(".col-sidebar").scrollTop = r;
|
|
1050
1110
|
}
|
|
@@ -1095,59 +1155,63 @@ window.translations = {
|
|
|
1095
1155
|
}
|
|
1096
1156
|
}]);
|
|
1097
1157
|
}();
|
|
1098
|
-
function
|
|
1158
|
+
function ze(t) {
|
|
1099
1159
|
let e = t.getBoundingClientRect(),
|
|
1100
1160
|
n = Math.max(document.documentElement.clientHeight, window.innerHeight);
|
|
1101
1161
|
return !(e.bottom < 0 || e.top - n >= 0);
|
|
1102
1162
|
}
|
|
1103
|
-
var
|
|
1163
|
+
var ue = (t, e = 100) => {
|
|
1104
1164
|
let n;
|
|
1105
1165
|
return () => {
|
|
1106
1166
|
clearTimeout(n), n = setTimeout(() => t(), e);
|
|
1107
1167
|
};
|
|
1108
1168
|
};
|
|
1109
|
-
var
|
|
1110
|
-
async function
|
|
1169
|
+
var ge = $e(pe(), 1);
|
|
1170
|
+
async function A(t) {
|
|
1171
|
+
let e = Uint8Array.from(atob(t), s => s.charCodeAt(0)),
|
|
1172
|
+
r = new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),
|
|
1173
|
+
i = await new Response(r).text();
|
|
1174
|
+
return JSON.parse(i);
|
|
1175
|
+
}
|
|
1176
|
+
async function fe(t, e) {
|
|
1111
1177
|
if (!window.searchData) return;
|
|
1112
|
-
let n = await
|
|
1113
|
-
|
|
1114
|
-
i = await new Response(r).json();
|
|
1115
|
-
t.data = i, t.index = pe.Index.load(i.index), e.classList.remove("loading"), e.classList.add("ready");
|
|
1178
|
+
let n = await A(window.searchData);
|
|
1179
|
+
t.data = n, t.index = ge.Index.load(n.index), e.classList.remove("loading"), e.classList.add("ready");
|
|
1116
1180
|
}
|
|
1117
|
-
function
|
|
1181
|
+
function ve() {
|
|
1118
1182
|
let t = document.getElementById("tsd-search");
|
|
1119
1183
|
if (!t) return;
|
|
1120
1184
|
let e = {
|
|
1121
|
-
base:
|
|
1185
|
+
base: document.documentElement.dataset.base + "/"
|
|
1122
1186
|
},
|
|
1123
1187
|
n = document.getElementById("tsd-search-script");
|
|
1124
1188
|
t.classList.add("loading"), n && (n.addEventListener("error", () => {
|
|
1125
1189
|
t.classList.remove("loading"), t.classList.add("failure");
|
|
1126
1190
|
}), n.addEventListener("load", () => {
|
|
1127
|
-
|
|
1128
|
-
}),
|
|
1191
|
+
fe(e, t);
|
|
1192
|
+
}), fe(e, t));
|
|
1129
1193
|
let r = document.querySelector("#tsd-search input"),
|
|
1130
1194
|
i = document.querySelector("#tsd-search .results");
|
|
1131
1195
|
if (!r || !i) throw new Error("The input field or the result list wrapper was not found");
|
|
1132
1196
|
i.addEventListener("mouseup", () => {
|
|
1133
|
-
|
|
1134
|
-
}), r.addEventListener("focus", () => t.classList.add("has-focus")),
|
|
1197
|
+
re(t);
|
|
1198
|
+
}), r.addEventListener("focus", () => t.classList.add("has-focus")), We(t, i, r, e);
|
|
1135
1199
|
}
|
|
1136
|
-
function
|
|
1137
|
-
n.addEventListener("input",
|
|
1138
|
-
|
|
1200
|
+
function We(t, e, n, r) {
|
|
1201
|
+
n.addEventListener("input", ue(() => {
|
|
1202
|
+
Ue(t, e, n, r);
|
|
1139
1203
|
}, 200)), n.addEventListener("keydown", i => {
|
|
1140
|
-
i.key == "Enter" ?
|
|
1204
|
+
i.key == "Enter" ? Je(e, t) : i.key == "ArrowUp" ? (me(e, n, -1), i.preventDefault()) : i.key === "ArrowDown" && (me(e, n, 1), i.preventDefault());
|
|
1141
1205
|
}), document.body.addEventListener("keypress", i => {
|
|
1142
1206
|
i.altKey || i.ctrlKey || i.metaKey || !n.matches(":focus") && i.key === "/" && (i.preventDefault(), n.focus());
|
|
1143
1207
|
}), document.body.addEventListener("keyup", i => {
|
|
1144
|
-
t.classList.contains("has-focus") && (i.key === "Escape" || !e.matches(":focus-within") && !n.matches(":focus")) && (n.blur(),
|
|
1208
|
+
t.classList.contains("has-focus") && (i.key === "Escape" || !e.matches(":focus-within") && !n.matches(":focus")) && (n.blur(), re(t));
|
|
1145
1209
|
});
|
|
1146
1210
|
}
|
|
1147
|
-
function
|
|
1211
|
+
function re(t) {
|
|
1148
1212
|
t.classList.remove("has-focus");
|
|
1149
1213
|
}
|
|
1150
|
-
function
|
|
1214
|
+
function Ue(t, e, n, r) {
|
|
1151
1215
|
if (!r.index || !r.data) return;
|
|
1152
1216
|
e.textContent = "";
|
|
1153
1217
|
let i = n.value.trim(),
|
|
@@ -1159,8 +1223,8 @@ window.translations = {
|
|
|
1159
1223
|
for (let o = 0; o < s.length; o++) {
|
|
1160
1224
|
let a = s[o],
|
|
1161
1225
|
l = r.data.rows[Number(a.ref)],
|
|
1162
|
-
|
|
1163
|
-
l.name.toLowerCase().startsWith(i.toLowerCase()) && (
|
|
1226
|
+
c = 1;
|
|
1227
|
+
l.name.toLowerCase().startsWith(i.toLowerCase()) && (c *= 1 + 1 / (1 + Math.abs(l.name.length - i.length))), a.score *= c;
|
|
1164
1228
|
}
|
|
1165
1229
|
if (s.length === 0) {
|
|
1166
1230
|
let o = document.createElement("li");
|
|
@@ -1171,19 +1235,19 @@ window.translations = {
|
|
|
1171
1235
|
s.sort((o, a) => a.score - o.score);
|
|
1172
1236
|
for (let o = 0, a = Math.min(10, s.length); o < a; o++) {
|
|
1173
1237
|
let l = r.data.rows[Number(s[o].ref)],
|
|
1174
|
-
|
|
1175
|
-
d =
|
|
1238
|
+
c = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon"><use href="#icon-${l.kind}"></use></svg>`,
|
|
1239
|
+
d = ye(l.name, i);
|
|
1176
1240
|
globalThis.DEBUG_SEARCH_WEIGHTS && (d += ` (score: ${s[o].score.toFixed(2)})`), l.parent && (d = `<span class="parent">
|
|
1177
|
-
${
|
|
1241
|
+
${ye(l.parent, i)}.</span>${d}`);
|
|
1178
1242
|
let m = document.createElement("li");
|
|
1179
1243
|
m.classList.value = l.classes ?? "";
|
|
1180
1244
|
let p = document.createElement("a");
|
|
1181
|
-
p.href = r.base + l.url, p.innerHTML =
|
|
1245
|
+
p.href = r.base + l.url, p.innerHTML = c + d, m.append(p), p.addEventListener("focus", () => {
|
|
1182
1246
|
e.querySelector(".current")?.classList.remove("current"), m.classList.add("current");
|
|
1183
1247
|
}), e.appendChild(m);
|
|
1184
1248
|
}
|
|
1185
1249
|
}
|
|
1186
|
-
function
|
|
1250
|
+
function me(t, e, n) {
|
|
1187
1251
|
let r = t.querySelector(".current");
|
|
1188
1252
|
if (!r) r = t.querySelector(n == 1 ? "li:first-child" : "li:last-child"), r && r.classList.add("current");else {
|
|
1189
1253
|
let i = r;
|
|
@@ -1191,79 +1255,81 @@ window.translations = {
|
|
|
1191
1255
|
i ? (r.classList.remove("current"), i.classList.add("current")) : n === -1 && (r.classList.remove("current"), e.focus());
|
|
1192
1256
|
}
|
|
1193
1257
|
}
|
|
1194
|
-
function
|
|
1258
|
+
function Je(t, e) {
|
|
1195
1259
|
let n = t.querySelector(".current");
|
|
1196
1260
|
if (n || (n = t.querySelector("li:first-child")), n) {
|
|
1197
1261
|
let r = n.querySelector("a");
|
|
1198
|
-
r && (window.location.href = r.href),
|
|
1262
|
+
r && (window.location.href = r.href), re(e);
|
|
1199
1263
|
}
|
|
1200
1264
|
}
|
|
1201
|
-
function
|
|
1265
|
+
function ye(t, e) {
|
|
1202
1266
|
if (e === "") return t;
|
|
1203
1267
|
let n = t.toLocaleLowerCase(),
|
|
1204
1268
|
r = e.toLocaleLowerCase(),
|
|
1205
1269
|
i = [],
|
|
1206
1270
|
s = 0,
|
|
1207
1271
|
o = n.indexOf(r);
|
|
1208
|
-
for (; o != -1;) i.push(
|
|
1209
|
-
return i.push(
|
|
1272
|
+
for (; o != -1;) i.push(ne(t.substring(s, o)), `<b>${ne(t.substring(o, o + r.length))}</b>`), s = o + r.length, o = n.indexOf(r, s);
|
|
1273
|
+
return i.push(ne(t.substring(s))), i.join("");
|
|
1210
1274
|
}
|
|
1211
|
-
var
|
|
1275
|
+
var Ge = {
|
|
1212
1276
|
"&": "&",
|
|
1213
1277
|
"<": "<",
|
|
1214
1278
|
">": ">",
|
|
1215
1279
|
"'": "'",
|
|
1216
1280
|
'"': """
|
|
1217
1281
|
};
|
|
1218
|
-
function
|
|
1219
|
-
return t.replace(/[&<>"'"]/g, e =>
|
|
1282
|
+
function ne(t) {
|
|
1283
|
+
return t.replace(/[&<>"'"]/g, e => Ge[e]);
|
|
1220
1284
|
}
|
|
1221
1285
|
var I = /*#__PURE__*/_createClass(function I(e) {
|
|
1222
1286
|
_classCallCheck(this, I);
|
|
1287
|
+
_defineProperty(this, "el", void 0);
|
|
1288
|
+
_defineProperty(this, "app", void 0);
|
|
1223
1289
|
this.el = e.el, this.app = e.app;
|
|
1224
1290
|
});
|
|
1225
|
-
var
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1291
|
+
var H = "mousedown",
|
|
1292
|
+
Ee = "mousemove",
|
|
1293
|
+
B = "mouseup",
|
|
1294
|
+
X = {
|
|
1229
1295
|
x: 0,
|
|
1230
1296
|
y: 0
|
|
1231
1297
|
},
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1298
|
+
xe = !1,
|
|
1299
|
+
ie = !1,
|
|
1300
|
+
Xe = !1,
|
|
1235
1301
|
D = !1,
|
|
1236
|
-
|
|
1237
|
-
document.documentElement.classList.add(
|
|
1238
|
-
|
|
1239
|
-
document.addEventListener(
|
|
1240
|
-
|
|
1241
|
-
let e =
|
|
1242
|
-
|
|
1302
|
+
be = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1303
|
+
document.documentElement.classList.add(be ? "is-mobile" : "not-mobile");
|
|
1304
|
+
be && "ontouchstart" in document.documentElement && (Xe = !0, H = "touchstart", Ee = "touchmove", B = "touchend");
|
|
1305
|
+
document.addEventListener(H, t => {
|
|
1306
|
+
ie = !0, D = !1;
|
|
1307
|
+
let e = H == "touchstart" ? t.targetTouches[0] : t;
|
|
1308
|
+
X.y = e.pageY || 0, X.x = e.pageX || 0;
|
|
1243
1309
|
});
|
|
1244
|
-
document.addEventListener(
|
|
1245
|
-
if (
|
|
1246
|
-
let e =
|
|
1247
|
-
n =
|
|
1248
|
-
r =
|
|
1310
|
+
document.addEventListener(Ee, t => {
|
|
1311
|
+
if (ie && !D) {
|
|
1312
|
+
let e = H == "touchstart" ? t.targetTouches[0] : t,
|
|
1313
|
+
n = X.x - (e.pageX || 0),
|
|
1314
|
+
r = X.y - (e.pageY || 0);
|
|
1249
1315
|
D = Math.sqrt(n * n + r * r) > 10;
|
|
1250
1316
|
}
|
|
1251
1317
|
});
|
|
1252
|
-
document.addEventListener(
|
|
1253
|
-
|
|
1318
|
+
document.addEventListener(B, () => {
|
|
1319
|
+
ie = !1;
|
|
1254
1320
|
});
|
|
1255
1321
|
document.addEventListener("click", t => {
|
|
1256
|
-
|
|
1322
|
+
xe && (t.preventDefault(), t.stopImmediatePropagation(), xe = !1);
|
|
1257
1323
|
});
|
|
1258
|
-
var
|
|
1259
|
-
function
|
|
1324
|
+
var Y = /*#__PURE__*/function (_I) {
|
|
1325
|
+
function Y(e) {
|
|
1260
1326
|
var _this;
|
|
1261
|
-
_classCallCheck(this,
|
|
1262
|
-
_this = _callSuper(this,
|
|
1327
|
+
_classCallCheck(this, Y);
|
|
1328
|
+
(_this = _callSuper(this, Y, [e]), _defineProperty(_assertThisInitialized(_this), "active", void 0), _defineProperty(_assertThisInitialized(_this), "className", void 0)), _this.className = _this.el.dataset.toggle || "", _this.el.addEventListener(B, n => _this.onPointerUp(n)), _this.el.addEventListener("click", n => n.preventDefault()), document.addEventListener(H, n => _this.onDocumentPointerDown(n)), document.addEventListener(B, n => _this.onDocumentPointerUp(n));
|
|
1263
1329
|
return _this;
|
|
1264
1330
|
}
|
|
1265
|
-
_inherits(
|
|
1266
|
-
return _createClass(
|
|
1331
|
+
_inherits(Y, _I);
|
|
1332
|
+
return _createClass(Y, [{
|
|
1267
1333
|
key: "setActive",
|
|
1268
1334
|
value: function setActive(e) {
|
|
1269
1335
|
if (this.active == e) return;
|
|
@@ -1297,41 +1363,41 @@ window.translations = {
|
|
|
1297
1363
|
}
|
|
1298
1364
|
}]);
|
|
1299
1365
|
}(I);
|
|
1300
|
-
var
|
|
1366
|
+
var se;
|
|
1301
1367
|
try {
|
|
1302
|
-
|
|
1368
|
+
se = localStorage;
|
|
1303
1369
|
} catch {
|
|
1304
|
-
|
|
1370
|
+
se = {
|
|
1305
1371
|
getItem() {
|
|
1306
1372
|
return null;
|
|
1307
1373
|
},
|
|
1308
1374
|
setItem() {}
|
|
1309
1375
|
};
|
|
1310
1376
|
}
|
|
1311
|
-
var
|
|
1312
|
-
var
|
|
1313
|
-
|
|
1314
|
-
var
|
|
1315
|
-
function
|
|
1377
|
+
var C = se;
|
|
1378
|
+
var Le = document.head.appendChild(document.createElement("style"));
|
|
1379
|
+
Le.dataset.for = "filters";
|
|
1380
|
+
var Z = /*#__PURE__*/function (_I2) {
|
|
1381
|
+
function Z(e) {
|
|
1316
1382
|
var _this2;
|
|
1317
|
-
_classCallCheck(this,
|
|
1318
|
-
_this2 = _callSuper(this,
|
|
1383
|
+
_classCallCheck(this, Z);
|
|
1384
|
+
(_this2 = _callSuper(this, Z, [e]), _defineProperty(_assertThisInitialized(_this2), "key", void 0), _defineProperty(_assertThisInitialized(_this2), "value", void 0)), _this2.key = `filter-${_this2.el.name}`, _this2.value = _this2.el.checked, _this2.el.addEventListener("change", () => {
|
|
1319
1385
|
_this2.setLocalStorage(_this2.el.checked);
|
|
1320
|
-
}), _this2.setLocalStorage(_this2.fromLocalStorage()),
|
|
1386
|
+
}), _this2.setLocalStorage(_this2.fromLocalStorage()), Le.innerHTML += `html:not(.${_this2.key}) .tsd-is-${_this2.el.name} { display: none; }
|
|
1321
1387
|
`, _this2.app.updateIndexVisibility();
|
|
1322
1388
|
return _this2;
|
|
1323
1389
|
}
|
|
1324
|
-
_inherits(
|
|
1325
|
-
return _createClass(
|
|
1390
|
+
_inherits(Z, _I2);
|
|
1391
|
+
return _createClass(Z, [{
|
|
1326
1392
|
key: "fromLocalStorage",
|
|
1327
1393
|
value: function fromLocalStorage() {
|
|
1328
|
-
let e =
|
|
1394
|
+
let e = C.getItem(this.key);
|
|
1329
1395
|
return e ? e === "true" : this.el.checked;
|
|
1330
1396
|
}
|
|
1331
1397
|
}, {
|
|
1332
1398
|
key: "setLocalStorage",
|
|
1333
1399
|
value: function setLocalStorage(e) {
|
|
1334
|
-
|
|
1400
|
+
C.setItem(this.key, e.toString()), this.value = e, this.handleValueChange();
|
|
1335
1401
|
}
|
|
1336
1402
|
}, {
|
|
1337
1403
|
key: "handleValueChange",
|
|
@@ -1340,83 +1406,216 @@ window.translations = {
|
|
|
1340
1406
|
}
|
|
1341
1407
|
}]);
|
|
1342
1408
|
}(I);
|
|
1343
|
-
var
|
|
1344
|
-
function
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
r && r.addEventListener("click", () => {
|
|
1352
|
-
location.assign(r.href);
|
|
1353
|
-
}), _this3.update();
|
|
1354
|
-
return _this3;
|
|
1355
|
-
}
|
|
1356
|
-
_inherits(Z, _I3);
|
|
1357
|
-
return _createClass(Z, [{
|
|
1358
|
-
key: "update",
|
|
1359
|
-
value: function update() {
|
|
1360
|
-
this.icon.style.transform = `rotate(${this.el.open ? 0 : -90}deg)`, Q.setItem(this.key, this.el.open.toString());
|
|
1409
|
+
var oe = new Map(),
|
|
1410
|
+
ae = /*#__PURE__*/function () {
|
|
1411
|
+
function ae(e, n) {
|
|
1412
|
+
_classCallCheck(this, ae);
|
|
1413
|
+
_defineProperty(this, "open", void 0);
|
|
1414
|
+
_defineProperty(this, "accordions", []);
|
|
1415
|
+
_defineProperty(this, "key", void 0);
|
|
1416
|
+
this.key = e, this.open = n;
|
|
1361
1417
|
}
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1418
|
+
return _createClass(ae, [{
|
|
1419
|
+
key: "add",
|
|
1420
|
+
value: function add(e) {
|
|
1421
|
+
this.accordions.push(e), e.open = this.open, e.addEventListener("toggle", () => {
|
|
1422
|
+
this.toggle(e.open);
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
}, {
|
|
1426
|
+
key: "toggle",
|
|
1427
|
+
value: function toggle(e) {
|
|
1428
|
+
for (let n of this.accordions) n.open = e;
|
|
1429
|
+
C.setItem(this.key, e.toString());
|
|
1430
|
+
}
|
|
1431
|
+
}]);
|
|
1432
|
+
}(),
|
|
1433
|
+
K = /*#__PURE__*/function (_I3) {
|
|
1434
|
+
function K(e) {
|
|
1435
|
+
var _this3;
|
|
1436
|
+
_classCallCheck(this, K);
|
|
1437
|
+
_this3 = _callSuper(this, K, [e]);
|
|
1438
|
+
let n = _this3.el.querySelector("summary"),
|
|
1439
|
+
r = n.querySelector("a");
|
|
1440
|
+
r && r.addEventListener("click", () => {
|
|
1441
|
+
location.assign(r.href);
|
|
1442
|
+
});
|
|
1443
|
+
let i = `tsd-accordion-${n.dataset.key ?? n.textContent.trim().replace(/\s+/g, "-").toLowerCase()}`,
|
|
1444
|
+
s;
|
|
1445
|
+
if (oe.has(i)) s = oe.get(i);else {
|
|
1446
|
+
let o = C.getItem(i),
|
|
1447
|
+
a = o ? o === "true" : _this3.el.open;
|
|
1448
|
+
s = new ae(i, a), oe.set(i, s);
|
|
1449
|
+
}
|
|
1450
|
+
s.add(_this3.el);
|
|
1451
|
+
return _this3;
|
|
1452
|
+
}
|
|
1453
|
+
_inherits(K, _I3);
|
|
1454
|
+
return _createClass(K);
|
|
1455
|
+
}(I);
|
|
1456
|
+
function Se(t) {
|
|
1457
|
+
let e = C.getItem("tsd-theme") || "os";
|
|
1458
|
+
t.value = e, we(e), t.addEventListener("change", () => {
|
|
1459
|
+
C.setItem("tsd-theme", t.value), we(t.value);
|
|
1368
1460
|
});
|
|
1369
1461
|
}
|
|
1370
|
-
function
|
|
1462
|
+
function we(t) {
|
|
1371
1463
|
document.documentElement.dataset.theme = t;
|
|
1372
1464
|
}
|
|
1373
|
-
var
|
|
1374
|
-
function
|
|
1465
|
+
var ee;
|
|
1466
|
+
function Ce() {
|
|
1375
1467
|
let t = document.getElementById("tsd-nav-script");
|
|
1376
|
-
t && (t.addEventListener("load",
|
|
1468
|
+
t && (t.addEventListener("load", Te), Te());
|
|
1377
1469
|
}
|
|
1378
|
-
async function
|
|
1470
|
+
async function Te() {
|
|
1379
1471
|
let t = document.getElementById("tsd-nav-container");
|
|
1380
1472
|
if (!t || !window.navigationData) return;
|
|
1381
|
-
let
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
K = t.dataset.base, K.endsWith("/") || (K += "/"), t.innerHTML = "";
|
|
1385
|
-
for (let s of i) Se(s, t, []);
|
|
1473
|
+
let e = await A(window.navigationData);
|
|
1474
|
+
ee = document.documentElement.dataset.base, ee.endsWith("/") || (ee += "/"), t.innerHTML = "";
|
|
1475
|
+
for (let n of e) Ie(n, t, []);
|
|
1386
1476
|
window.app.createComponents(t), window.app.showPage(), window.app.ensureActivePageVisible();
|
|
1387
1477
|
}
|
|
1388
|
-
function
|
|
1478
|
+
function Ie(t, e, n) {
|
|
1389
1479
|
let r = e.appendChild(document.createElement("li"));
|
|
1390
1480
|
if (t.children) {
|
|
1391
1481
|
let i = [...n, t.text],
|
|
1392
1482
|
s = r.appendChild(document.createElement("details"));
|
|
1393
1483
|
s.className = t.class ? `${t.class} tsd-accordion` : "tsd-accordion";
|
|
1394
1484
|
let o = s.appendChild(document.createElement("summary"));
|
|
1395
|
-
o.className = "tsd-accordion-summary", o.dataset.key = i.join("$"), o.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>',
|
|
1485
|
+
o.className = "tsd-accordion-summary", o.dataset.key = i.join("$"), o.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>', ke(t, o);
|
|
1396
1486
|
let a = s.appendChild(document.createElement("div"));
|
|
1397
1487
|
a.className = "tsd-accordion-details";
|
|
1398
1488
|
let l = a.appendChild(document.createElement("ul"));
|
|
1399
1489
|
l.className = "tsd-nested-navigation";
|
|
1400
|
-
for (let
|
|
1401
|
-
} else
|
|
1490
|
+
for (let c of t.children) Ie(c, l, i);
|
|
1491
|
+
} else ke(t, r, t.class);
|
|
1402
1492
|
}
|
|
1403
|
-
function
|
|
1493
|
+
function ke(t, e, n) {
|
|
1404
1494
|
if (t.path) {
|
|
1405
1495
|
let r = e.appendChild(document.createElement("a"));
|
|
1406
|
-
r.href =
|
|
1407
|
-
|
|
1496
|
+
if (r.href = ee + t.path, n && (r.className = n), location.pathname === r.pathname && !r.href.includes("#") && r.classList.add("current"), t.kind) {
|
|
1497
|
+
let i = window.translations[`kind_${t.kind}`].replaceAll('"', """);
|
|
1498
|
+
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-${t.kind}"></use></svg>`;
|
|
1499
|
+
}
|
|
1500
|
+
r.appendChild(document.createElement("span")).textContent = t.text;
|
|
1501
|
+
} else {
|
|
1502
|
+
let r = e.appendChild(document.createElement("span")),
|
|
1503
|
+
i = window.translations.folder.replaceAll('"', """);
|
|
1504
|
+
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-folder"></use></svg>`, r.appendChild(document.createElement("span")).textContent = t.text;
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
var te = document.documentElement.dataset.base;
|
|
1508
|
+
te.endsWith("/") || (te += "/");
|
|
1509
|
+
function Pe() {
|
|
1510
|
+
document.querySelector(".tsd-full-hierarchy") ? Ye() : document.querySelector(".tsd-hierarchy") && Ze();
|
|
1511
|
+
}
|
|
1512
|
+
function Ye() {
|
|
1513
|
+
document.addEventListener("click", r => {
|
|
1514
|
+
let i = r.target;
|
|
1515
|
+
for (; i.parentElement && i.parentElement.tagName != "LI";) i = i.parentElement;
|
|
1516
|
+
i.dataset.dropdown && (i.dataset.dropdown = String(i.dataset.dropdown !== "true"));
|
|
1517
|
+
});
|
|
1518
|
+
let t = new Map(),
|
|
1519
|
+
e = new Set();
|
|
1520
|
+
for (let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")) {
|
|
1521
|
+
let i = r.querySelector("ul");
|
|
1522
|
+
t.has(r.dataset.refl) ? e.add(r.dataset.refl) : i && t.set(r.dataset.refl, i);
|
|
1523
|
+
}
|
|
1524
|
+
for (let r of e) n(r);
|
|
1525
|
+
function n(r) {
|
|
1526
|
+
let i = t.get(r).cloneNode(!0);
|
|
1527
|
+
i.querySelectorAll("[id]").forEach(s => {
|
|
1528
|
+
s.removeAttribute("id");
|
|
1529
|
+
}), i.querySelectorAll("[data-dropdown]").forEach(s => {
|
|
1530
|
+
s.dataset.dropdown = "false";
|
|
1531
|
+
});
|
|
1532
|
+
for (let s of document.querySelectorAll(`[data-refl="${r}"]`)) {
|
|
1533
|
+
let o = tt(),
|
|
1534
|
+
a = s.querySelector("ul");
|
|
1535
|
+
s.insertBefore(o, a), o.dataset.dropdown = String(!!a), a || s.appendChild(i.cloneNode(!0));
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
function Ze() {
|
|
1540
|
+
let t = document.getElementById("tsd-hierarchy-script");
|
|
1541
|
+
t && (t.addEventListener("load", Qe), Qe());
|
|
1542
|
+
}
|
|
1543
|
+
async function Qe() {
|
|
1544
|
+
let t = document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");
|
|
1545
|
+
if (!t || !window.hierarchyData) return;
|
|
1546
|
+
let e = +t.dataset.refl,
|
|
1547
|
+
n = await A(window.hierarchyData),
|
|
1548
|
+
r = t.querySelector("ul"),
|
|
1549
|
+
i = document.createElement("ul");
|
|
1550
|
+
if (i.classList.add("tsd-hierarchy"), Ke(i, n, e), r.querySelectorAll("li").length == i.querySelectorAll("li").length) return;
|
|
1551
|
+
let s = document.createElement("span");
|
|
1552
|
+
s.classList.add("tsd-hierarchy-toggle"), s.textContent = window.translations.hierarchy_expand, t.querySelector("h4 a")?.insertAdjacentElement("afterend", s), s.insertAdjacentText("beforebegin", ", "), s.addEventListener("click", () => {
|
|
1553
|
+
s.textContent === window.translations.hierarchy_expand ? (r.insertAdjacentElement("afterend", i), r.remove(), s.textContent = window.translations.hierarchy_collapse) : (i.insertAdjacentElement("afterend", r), i.remove(), s.textContent = window.translations.hierarchy_expand);
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
function Ke(t, e, n) {
|
|
1557
|
+
let r = e.roots.filter(i => et(e, i, n));
|
|
1558
|
+
for (let i of r) t.appendChild(_e(e, i, n));
|
|
1559
|
+
}
|
|
1560
|
+
function _e(t, e, n, r = new Set()) {
|
|
1561
|
+
if (r.has(e)) return;
|
|
1562
|
+
r.add(e);
|
|
1563
|
+
let i = t.reflections[e],
|
|
1564
|
+
s = document.createElement("li");
|
|
1565
|
+
if (s.classList.add("tsd-hierarchy-item"), e === n) {
|
|
1566
|
+
let o = s.appendChild(document.createElement("span"));
|
|
1567
|
+
o.textContent = i.name, o.classList.add("tsd-hierarchy-target");
|
|
1568
|
+
} else {
|
|
1569
|
+
for (let a of i.uniqueNameParents || []) {
|
|
1570
|
+
let l = t.reflections[a],
|
|
1571
|
+
c = s.appendChild(document.createElement("a"));
|
|
1572
|
+
c.textContent = l.name, c.href = te + l.url, c.className = l.class + " tsd-signature-type", s.append(document.createTextNode("."));
|
|
1573
|
+
}
|
|
1574
|
+
let o = s.appendChild(document.createElement("a"));
|
|
1575
|
+
o.textContent = t.reflections[e].name, o.href = te + i.url, o.className = i.class + " tsd-signature-type";
|
|
1576
|
+
}
|
|
1577
|
+
if (i.children) {
|
|
1578
|
+
let o = s.appendChild(document.createElement("ul"));
|
|
1579
|
+
o.classList.add("tsd-hierarchy");
|
|
1580
|
+
for (let a of i.children) {
|
|
1581
|
+
let l = _e(t, a, n, r);
|
|
1582
|
+
l && o.appendChild(l);
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
return r.delete(e), s;
|
|
1586
|
+
}
|
|
1587
|
+
function et(t, e, n) {
|
|
1588
|
+
if (e === n) return !0;
|
|
1589
|
+
let r = new Set(),
|
|
1590
|
+
i = [t.reflections[e]];
|
|
1591
|
+
for (; i.length;) {
|
|
1592
|
+
let s = i.pop();
|
|
1593
|
+
if (!r.has(s)) {
|
|
1594
|
+
r.add(s);
|
|
1595
|
+
for (let o of s.children || []) {
|
|
1596
|
+
if (o === n) return !0;
|
|
1597
|
+
i.push(t.reflections[o]);
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
return !1;
|
|
1602
|
+
}
|
|
1603
|
+
function tt() {
|
|
1604
|
+
let t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
1605
|
+
return t.setAttribute("width", "20"), t.setAttribute("height", "20"), t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("fill", "none"), t.innerHTML = '<use href="#icon-chevronDown"></use>', t;
|
|
1408
1606
|
}
|
|
1409
|
-
G(
|
|
1410
|
-
G(
|
|
1411
|
-
G(
|
|
1412
|
-
var
|
|
1413
|
-
|
|
1414
|
-
var
|
|
1607
|
+
G(Y, "a[data-toggle]");
|
|
1608
|
+
G(K, ".tsd-accordion");
|
|
1609
|
+
G(Z, ".tsd-filter-item input[type=checkbox]");
|
|
1610
|
+
var Oe = document.getElementById("tsd-theme");
|
|
1611
|
+
Oe && Se(Oe);
|
|
1612
|
+
var nt = new J();
|
|
1415
1613
|
Object.defineProperty(window, "app", {
|
|
1416
|
-
value:
|
|
1614
|
+
value: nt
|
|
1417
1615
|
});
|
|
1418
|
-
|
|
1419
|
-
|
|
1616
|
+
ve();
|
|
1617
|
+
Ce();
|
|
1618
|
+
Pe();
|
|
1420
1619
|
})();
|
|
1421
1620
|
/*! Bundled license information:
|
|
1422
1621
|
|