@zelloptt/react-native-zello-sdk 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModule.kt +2 -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 +756 -429
- 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 +1435 -1288
- 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/hierarchy.html +1 -0
- package/lib/commonjs/docs/index.html +22 -22
- 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 -5
- package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +14 -8
- package/lib/commonjs/docs/types/types.ZelloConfig.html +8 -6
- package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +14 -8
- package/lib/commonjs/docs/types/types.ZelloContact.html +8 -5
- package/lib/commonjs/docs/types/types.ZelloCredentials.html +9 -6
- package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +12 -7
- package/lib/commonjs/docs/types/types.ZelloMessage.html +10 -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 +756 -429
- 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 +1435 -1288
- 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/hierarchy.html +1 -0
- package/lib/module/docs/index.html +22 -22
- 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 -5
- package/lib/module/docs/types/types.ZelloChannelOptions.html +14 -8
- package/lib/module/docs/types/types.ZelloConfig.html +8 -6
- package/lib/module/docs/types/types.ZelloConsoleSettings.html +14 -8
- package/lib/module/docs/types/types.ZelloContact.html +8 -5
- package/lib/module/docs/types/types.ZelloCredentials.html +9 -6
- package/lib/module/docs/types/types.ZelloHistoryMessage.html +12 -7
- package/lib/module/docs/types/types.ZelloMessage.html +10 -6
- package/package.json +1 -1
- package/react-native-zello-sdk.podspec +1 -1
|
@@ -10,36 +10,66 @@ 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
|
+
"search_index_not_available": "The search index is not available",
|
|
24
|
+
"search_no_results_found_for_0": "No results found for {0}",
|
|
25
|
+
"kind_1": "Project",
|
|
26
|
+
"kind_2": "Module",
|
|
27
|
+
"kind_4": "Namespace",
|
|
28
|
+
"kind_8": "Enumeration",
|
|
29
|
+
"kind_16": "Enumeration Member",
|
|
30
|
+
"kind_32": "Variable",
|
|
31
|
+
"kind_64": "Function",
|
|
32
|
+
"kind_128": "Class",
|
|
33
|
+
"kind_256": "Interface",
|
|
34
|
+
"kind_512": "Constructor",
|
|
35
|
+
"kind_1024": "Property",
|
|
36
|
+
"kind_2048": "Method",
|
|
37
|
+
"kind_4096": "Call Signature",
|
|
38
|
+
"kind_8192": "Index Signature",
|
|
39
|
+
"kind_16384": "Constructor Signature",
|
|
40
|
+
"kind_32768": "Parameter",
|
|
41
|
+
"kind_65536": "Type Literal",
|
|
42
|
+
"kind_131072": "Type Parameter",
|
|
43
|
+
"kind_262144": "Accessor",
|
|
44
|
+
"kind_524288": "Get Signature",
|
|
45
|
+
"kind_1048576": "Set Signature",
|
|
46
|
+
"kind_2097152": "Type Alias",
|
|
47
|
+
"kind_4194304": "Reference",
|
|
48
|
+
"kind_8388608": "Document"
|
|
19
49
|
};
|
|
20
50
|
"use strict";
|
|
21
51
|
(() => {
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
var
|
|
52
|
+
var Ke = Object.create;
|
|
53
|
+
var he = Object.defineProperty;
|
|
54
|
+
var Ge = Object.getOwnPropertyDescriptor;
|
|
55
|
+
var Ze = Object.getOwnPropertyNames;
|
|
56
|
+
var Xe = Object.getPrototypeOf,
|
|
57
|
+
Ye = Object.prototype.hasOwnProperty;
|
|
58
|
+
var et = (t, e) => () => (e || t((e = {
|
|
29
59
|
exports: {}
|
|
30
60
|
}).exports, e), e.exports);
|
|
31
|
-
var
|
|
32
|
-
if (e && typeof e == "object" || typeof e == "function") for (let i of
|
|
61
|
+
var tt = (t, e, n, r) => {
|
|
62
|
+
if (e && typeof e == "object" || typeof e == "function") for (let i of Ze(e)) !Ye.call(t, i) && i !== n && he(t, i, {
|
|
33
63
|
get: () => e[i],
|
|
34
|
-
enumerable: !(r =
|
|
64
|
+
enumerable: !(r = Ge(e, i)) || r.enumerable
|
|
35
65
|
});
|
|
36
66
|
return t;
|
|
37
67
|
};
|
|
38
|
-
var
|
|
68
|
+
var nt = (t, e, n) => (n = t != null ? Ke(Xe(t)) : {}, tt(e || !t || !t.__esModule ? he(n, "default", {
|
|
39
69
|
value: t,
|
|
40
70
|
enumerable: !0
|
|
41
71
|
}) : n, t));
|
|
42
|
-
var
|
|
72
|
+
var ye = et((me, ge) => {
|
|
43
73
|
(function () {
|
|
44
74
|
var t = function (e) {
|
|
45
75
|
var n = new t.Builder();
|
|
@@ -139,16 +169,16 @@ window.translations = {
|
|
|
139
169
|
};
|
|
140
170
|
t.tokenizer = function (e, n) {
|
|
141
171
|
if (e == null || e == null) return [];
|
|
142
|
-
if (Array.isArray(e)) return e.map(function (
|
|
143
|
-
return new t.Token(t.utils.asString(
|
|
172
|
+
if (Array.isArray(e)) return e.map(function (f) {
|
|
173
|
+
return new t.Token(t.utils.asString(f).toLowerCase(), t.utils.clone(n));
|
|
144
174
|
});
|
|
145
175
|
for (var r = e.toString().toLowerCase(), i = r.length, s = [], o = 0, a = 0; o <= i; o++) {
|
|
146
|
-
var
|
|
147
|
-
|
|
148
|
-
if (
|
|
149
|
-
if (
|
|
176
|
+
var c = r.charAt(o),
|
|
177
|
+
l = o - a;
|
|
178
|
+
if (c.match(t.tokenizer.separator) || o == i) {
|
|
179
|
+
if (l > 0) {
|
|
150
180
|
var d = t.utils.clone(n) || {};
|
|
151
|
-
d.position = [a,
|
|
181
|
+
d.position = [a, l], d.index = s.length, s.push(new t.Token(r.slice(a, o), d));
|
|
152
182
|
}
|
|
153
183
|
a = o + 1;
|
|
154
184
|
}
|
|
@@ -191,7 +221,7 @@ window.translations = {
|
|
|
191
221
|
for (var n = this._stack.length, r = 0; r < n; r++) {
|
|
192
222
|
for (var i = this._stack[r], s = [], o = 0; o < e.length; o++) {
|
|
193
223
|
var a = i(e[o], o, e);
|
|
194
|
-
if (!(a == null || a === "")) if (Array.isArray(a)) for (var
|
|
224
|
+
if (!(a == null || a === "")) if (Array.isArray(a)) for (var c = 0; c < a.length; c++) s.push(a[c]);else s.push(a);
|
|
195
225
|
}
|
|
196
226
|
e = s;
|
|
197
227
|
}
|
|
@@ -231,7 +261,7 @@ window.translations = {
|
|
|
231
261
|
}
|
|
232
262
|
return this._magnitude = Math.sqrt(e);
|
|
233
263
|
}, 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,
|
|
264
|
+
for (var n = 0, r = this.elements, i = e.elements, s = r.length, o = i.length, a = 0, c = 0, l = 0, d = 0; l < s && d < o;) a = r[l], c = i[d], a < c ? l += 2 : a > c ? d += 2 : a == c && (n += r[l + 1] * i[d + 1], l += 2, d += 2);
|
|
235
265
|
return n;
|
|
236
266
|
}, t.Vector.prototype.similarity = function (e) {
|
|
237
267
|
return this.dot(e) / this.magnitude() || 0;
|
|
@@ -279,66 +309,66 @@ window.translations = {
|
|
|
279
309
|
s = r + "[^aeiouy]*",
|
|
280
310
|
o = i + "[aeiou]*",
|
|
281
311
|
a = "^(" + s + ")?" + o + s,
|
|
282
|
-
|
|
283
|
-
|
|
312
|
+
c = "^(" + s + ")?" + o + s + "(" + o + ")?$",
|
|
313
|
+
l = "^(" + s + ")?" + o + s + o + s,
|
|
284
314
|
d = "^(" + s + ")?" + i,
|
|
285
|
-
|
|
286
|
-
p = new RegExp(
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
var
|
|
307
|
-
if (
|
|
308
|
-
if (
|
|
309
|
-
var
|
|
310
|
-
h =
|
|
311
|
-
} else if (
|
|
312
|
-
var
|
|
313
|
-
|
|
315
|
+
f = new RegExp(a),
|
|
316
|
+
p = new RegExp(l),
|
|
317
|
+
v = new RegExp(c),
|
|
318
|
+
x = new RegExp(d),
|
|
319
|
+
w = /^(.+?)(ss|i)es$/,
|
|
320
|
+
m = /^(.+?)([^s])s$/,
|
|
321
|
+
g = /^(.+?)eed$/,
|
|
322
|
+
T = /^(.+?)(ed|ing)$/,
|
|
323
|
+
L = /.$/,
|
|
324
|
+
C = /(at|bl|iz)$/,
|
|
325
|
+
O = new RegExp("([^aeiouylsz])\\1$"),
|
|
326
|
+
j = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
327
|
+
N = /^(.+?[^aeiou])y$/,
|
|
328
|
+
q = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,
|
|
329
|
+
W = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,
|
|
330
|
+
B = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,
|
|
331
|
+
z = /^(.+?)(s|t)(ion)$/,
|
|
332
|
+
_ = /^(.+?)e$/,
|
|
333
|
+
U = /ll$/,
|
|
334
|
+
J = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
335
|
+
V = function (u) {
|
|
336
|
+
var y, P, k, h, E, Q, H;
|
|
337
|
+
if (u.length < 3) return u;
|
|
338
|
+
if (k = u.substr(0, 1), k == "y" && (u = k.toUpperCase() + u.substr(1)), h = w, E = m, h.test(u) ? u = u.replace(h, "$1$2") : E.test(u) && (u = u.replace(E, "$1$2")), h = g, E = T, h.test(u)) {
|
|
339
|
+
var b = h.exec(u);
|
|
340
|
+
h = f, h.test(b[1]) && (h = L, u = u.replace(h, ""));
|
|
341
|
+
} else if (E.test(u)) {
|
|
342
|
+
var b = E.exec(u);
|
|
343
|
+
y = b[1], E = x, E.test(y) && (u = y, E = C, Q = O, H = j, E.test(u) ? u = u + "e" : Q.test(u) ? (h = L, u = u.replace(h, "")) : H.test(u) && (u = u + "e"));
|
|
314
344
|
}
|
|
315
|
-
if (h =
|
|
316
|
-
var
|
|
317
|
-
|
|
345
|
+
if (h = N, h.test(u)) {
|
|
346
|
+
var b = h.exec(u);
|
|
347
|
+
y = b[1], u = y + "i";
|
|
318
348
|
}
|
|
319
|
-
if (h =
|
|
320
|
-
var
|
|
321
|
-
|
|
349
|
+
if (h = q, h.test(u)) {
|
|
350
|
+
var b = h.exec(u);
|
|
351
|
+
y = b[1], P = b[2], h = f, h.test(y) && (u = y + e[P]);
|
|
322
352
|
}
|
|
323
|
-
if (h =
|
|
324
|
-
var
|
|
325
|
-
|
|
353
|
+
if (h = W, h.test(u)) {
|
|
354
|
+
var b = h.exec(u);
|
|
355
|
+
y = b[1], P = b[2], h = f, h.test(y) && (u = y + n[P]);
|
|
326
356
|
}
|
|
327
|
-
if (h =
|
|
328
|
-
var
|
|
329
|
-
|
|
330
|
-
} else if (
|
|
331
|
-
var
|
|
332
|
-
|
|
357
|
+
if (h = B, E = z, h.test(u)) {
|
|
358
|
+
var b = h.exec(u);
|
|
359
|
+
y = b[1], h = p, h.test(y) && (u = y);
|
|
360
|
+
} else if (E.test(u)) {
|
|
361
|
+
var b = E.exec(u);
|
|
362
|
+
y = b[1] + b[2], E = p, E.test(y) && (u = y);
|
|
333
363
|
}
|
|
334
|
-
if (h =
|
|
335
|
-
var
|
|
336
|
-
|
|
364
|
+
if (h = _, h.test(u)) {
|
|
365
|
+
var b = h.exec(u);
|
|
366
|
+
y = b[1], h = p, E = v, Q = J, (h.test(y) || E.test(y) && !Q.test(y)) && (u = y);
|
|
337
367
|
}
|
|
338
|
-
return h =
|
|
368
|
+
return h = U, E = p, h.test(u) && E.test(u) && (h = L, u = u.replace(h, "")), k == "y" && (u = k.toLowerCase() + u.substr(1)), u;
|
|
339
369
|
};
|
|
340
|
-
return function (
|
|
341
|
-
return
|
|
370
|
+
return function (A) {
|
|
371
|
+
return A.update(V);
|
|
342
372
|
};
|
|
343
373
|
}(), t.Pipeline.registerFunction(t.stemmer, "stemmer");
|
|
344
374
|
t.generateStopWordFilter = function (e) {
|
|
@@ -378,12 +408,12 @@ window.translations = {
|
|
|
378
408
|
});
|
|
379
409
|
}
|
|
380
410
|
if (s.editsRemaining != 0) {
|
|
381
|
-
if ("*" in s.node.edges) var
|
|
382
|
-
var
|
|
383
|
-
s.node.edges["*"] =
|
|
411
|
+
if ("*" in s.node.edges) var c = s.node.edges["*"];else {
|
|
412
|
+
var c = new t.TokenSet();
|
|
413
|
+
s.node.edges["*"] = c;
|
|
384
414
|
}
|
|
385
|
-
if (s.str.length == 0 && (
|
|
386
|
-
node:
|
|
415
|
+
if (s.str.length == 0 && (c.final = !0), i.push({
|
|
416
|
+
node: c,
|
|
387
417
|
editsRemaining: s.editsRemaining - 1,
|
|
388
418
|
str: s.str
|
|
389
419
|
}), s.str.length > 1 && i.push({
|
|
@@ -391,21 +421,21 @@ window.translations = {
|
|
|
391
421
|
editsRemaining: s.editsRemaining - 1,
|
|
392
422
|
str: s.str.slice(1)
|
|
393
423
|
}), 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["*"] =
|
|
424
|
+
if ("*" in s.node.edges) var l = s.node.edges["*"];else {
|
|
425
|
+
var l = new t.TokenSet();
|
|
426
|
+
s.node.edges["*"] = l;
|
|
397
427
|
}
|
|
398
|
-
s.str.length == 1 && (
|
|
399
|
-
node:
|
|
428
|
+
s.str.length == 1 && (l.final = !0), i.push({
|
|
429
|
+
node: l,
|
|
400
430
|
editsRemaining: s.editsRemaining - 1,
|
|
401
431
|
str: s.str.slice(1)
|
|
402
432
|
});
|
|
403
433
|
}
|
|
404
434
|
if (s.str.length > 1) {
|
|
405
435
|
var d = s.str.charAt(0),
|
|
406
|
-
|
|
436
|
+
f = s.str.charAt(1),
|
|
407
437
|
p;
|
|
408
|
-
|
|
438
|
+
f in s.node.edges ? p = s.node.edges[f] : (p = new t.TokenSet(), s.node.edges[f] = p), s.str.length == 1 && (p.final = !0), i.push({
|
|
409
439
|
node: p,
|
|
410
440
|
editsRemaining: s.editsRemaining - 1,
|
|
411
441
|
str: d + s.str.slice(2)
|
|
@@ -419,8 +449,8 @@ window.translations = {
|
|
|
419
449
|
var o = e[i],
|
|
420
450
|
a = i == s - 1;
|
|
421
451
|
if (o == "*") n.edges[o] = n, n.final = a;else {
|
|
422
|
-
var
|
|
423
|
-
|
|
452
|
+
var c = new t.TokenSet();
|
|
453
|
+
c.final = a, n.edges[o] = c, n = c;
|
|
424
454
|
}
|
|
425
455
|
}
|
|
426
456
|
return r;
|
|
@@ -457,17 +487,17 @@ window.translations = {
|
|
|
457
487
|
node: this
|
|
458
488
|
}]; i.length;) {
|
|
459
489
|
r = i.pop();
|
|
460
|
-
for (var s = Object.keys(r.qNode.edges), o = s.length, a = Object.keys(r.node.edges),
|
|
461
|
-
var p = a[
|
|
490
|
+
for (var s = Object.keys(r.qNode.edges), o = s.length, a = Object.keys(r.node.edges), c = a.length, l = 0; l < o; l++) for (var d = s[l], f = 0; f < c; f++) {
|
|
491
|
+
var p = a[f];
|
|
462
492
|
if (p == d || d == "*") {
|
|
463
|
-
var
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
p in r.output.edges ? (
|
|
468
|
-
qNode:
|
|
469
|
-
output:
|
|
470
|
-
node:
|
|
493
|
+
var v = r.node.edges[p],
|
|
494
|
+
x = r.qNode.edges[d],
|
|
495
|
+
w = v.final && x.final,
|
|
496
|
+
m = void 0;
|
|
497
|
+
p in r.output.edges ? (m = r.output.edges[p], m.final = m.final || w) : (m = new t.TokenSet(), m.final = w, r.output.edges[p] = m), i.push({
|
|
498
|
+
qNode: x,
|
|
499
|
+
output: m,
|
|
500
|
+
node: v
|
|
471
501
|
});
|
|
472
502
|
}
|
|
473
503
|
}
|
|
@@ -508,90 +538,90 @@ window.translations = {
|
|
|
508
538
|
r.parse();
|
|
509
539
|
});
|
|
510
540
|
}, t.Index.prototype.query = function (e) {
|
|
511
|
-
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),
|
|
541
|
+
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), c = 0; c < this.fields.length; c++) i[this.fields[c]] = new t.Vector();
|
|
512
542
|
e.call(n, n);
|
|
513
|
-
for (var
|
|
514
|
-
var
|
|
543
|
+
for (var c = 0; c < n.clauses.length; c++) {
|
|
544
|
+
var l = n.clauses[c],
|
|
515
545
|
d = null,
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
fields:
|
|
519
|
-
}) : d = [
|
|
546
|
+
f = t.Set.empty;
|
|
547
|
+
l.usePipeline ? d = this.pipeline.runString(l.term, {
|
|
548
|
+
fields: l.fields
|
|
549
|
+
}) : d = [l.term];
|
|
520
550
|
for (var p = 0; p < d.length; p++) {
|
|
521
|
-
var
|
|
522
|
-
|
|
523
|
-
var
|
|
524
|
-
|
|
525
|
-
if (
|
|
526
|
-
for (var
|
|
527
|
-
var
|
|
528
|
-
o[
|
|
551
|
+
var v = d[p];
|
|
552
|
+
l.term = v;
|
|
553
|
+
var x = t.TokenSet.fromClause(l),
|
|
554
|
+
w = this.tokenSet.intersect(x).toArray();
|
|
555
|
+
if (w.length === 0 && l.presence === t.Query.presence.REQUIRED) {
|
|
556
|
+
for (var m = 0; m < l.fields.length; m++) {
|
|
557
|
+
var g = l.fields[m];
|
|
558
|
+
o[g] = t.Set.empty;
|
|
529
559
|
}
|
|
530
560
|
break;
|
|
531
561
|
}
|
|
532
|
-
for (var
|
|
533
|
-
var
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
if (
|
|
539
|
-
a[
|
|
562
|
+
for (var T = 0; T < w.length; T++) for (var L = w[T], C = this.invertedIndex[L], O = C._index, m = 0; m < l.fields.length; m++) {
|
|
563
|
+
var g = l.fields[m],
|
|
564
|
+
j = C[g],
|
|
565
|
+
N = Object.keys(j),
|
|
566
|
+
q = L + "/" + g,
|
|
567
|
+
W = new t.Set(N);
|
|
568
|
+
if (l.presence == t.Query.presence.REQUIRED && (f = f.union(W), o[g] === void 0 && (o[g] = t.Set.complete)), l.presence == t.Query.presence.PROHIBITED) {
|
|
569
|
+
a[g] === void 0 && (a[g] = t.Set.empty), a[g] = a[g].union(W);
|
|
540
570
|
continue;
|
|
541
571
|
}
|
|
542
|
-
if (i[
|
|
543
|
-
return
|
|
544
|
-
}), !s[
|
|
545
|
-
for (var
|
|
546
|
-
var
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
(
|
|
572
|
+
if (i[g].upsert(O, l.boost, function (Ue, Je) {
|
|
573
|
+
return Ue + Je;
|
|
574
|
+
}), !s[q]) {
|
|
575
|
+
for (var B = 0; B < N.length; B++) {
|
|
576
|
+
var z = N[B],
|
|
577
|
+
_ = new t.FieldRef(z, g),
|
|
578
|
+
U = j[z],
|
|
579
|
+
J;
|
|
580
|
+
(J = r[_]) === void 0 ? r[_] = new t.MatchData(L, g, U) : J.add(L, g, U);
|
|
551
581
|
}
|
|
552
|
-
s[
|
|
582
|
+
s[q] = !0;
|
|
553
583
|
}
|
|
554
584
|
}
|
|
555
585
|
}
|
|
556
|
-
if (
|
|
557
|
-
var
|
|
558
|
-
o[
|
|
586
|
+
if (l.presence === t.Query.presence.REQUIRED) for (var m = 0; m < l.fields.length; m++) {
|
|
587
|
+
var g = l.fields[m];
|
|
588
|
+
o[g] = o[g].intersect(f);
|
|
559
589
|
}
|
|
560
590
|
}
|
|
561
|
-
for (var
|
|
562
|
-
var
|
|
563
|
-
o[
|
|
591
|
+
for (var V = t.Set.complete, A = t.Set.empty, c = 0; c < this.fields.length; c++) {
|
|
592
|
+
var g = this.fields[c];
|
|
593
|
+
o[g] && (V = V.intersect(o[g])), a[g] && (A = A.union(a[g]));
|
|
564
594
|
}
|
|
565
|
-
var
|
|
566
|
-
|
|
595
|
+
var u = Object.keys(r),
|
|
596
|
+
y = [],
|
|
567
597
|
P = Object.create(null);
|
|
568
598
|
if (n.isNegated()) {
|
|
569
|
-
|
|
570
|
-
for (var
|
|
571
|
-
var
|
|
572
|
-
|
|
573
|
-
r[
|
|
599
|
+
u = Object.keys(this.fieldVectors);
|
|
600
|
+
for (var c = 0; c < u.length; c++) {
|
|
601
|
+
var _ = u[c],
|
|
602
|
+
k = t.FieldRef.fromString(_);
|
|
603
|
+
r[_] = new t.MatchData();
|
|
574
604
|
}
|
|
575
605
|
}
|
|
576
|
-
for (var
|
|
577
|
-
var
|
|
578
|
-
h =
|
|
579
|
-
if (
|
|
580
|
-
var
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
if ((
|
|
584
|
-
var
|
|
606
|
+
for (var c = 0; c < u.length; c++) {
|
|
607
|
+
var k = t.FieldRef.fromString(u[c]),
|
|
608
|
+
h = k.docRef;
|
|
609
|
+
if (V.contains(h) && !A.contains(h)) {
|
|
610
|
+
var E = this.fieldVectors[k],
|
|
611
|
+
Q = i[k.fieldName].similarity(E),
|
|
612
|
+
H;
|
|
613
|
+
if ((H = P[h]) !== void 0) H.score += Q, H.matchData.combine(r[k]);else {
|
|
614
|
+
var b = {
|
|
585
615
|
ref: h,
|
|
586
|
-
score:
|
|
587
|
-
matchData: r[
|
|
616
|
+
score: Q,
|
|
617
|
+
matchData: r[k]
|
|
588
618
|
};
|
|
589
|
-
P[h] =
|
|
619
|
+
P[h] = b, y.push(b);
|
|
590
620
|
}
|
|
591
621
|
}
|
|
592
622
|
}
|
|
593
|
-
return
|
|
594
|
-
return
|
|
623
|
+
return y.sort(function (We, ze) {
|
|
624
|
+
return ze.score - We.score;
|
|
595
625
|
});
|
|
596
626
|
}, t.Index.prototype.toJSON = function () {
|
|
597
627
|
var e = Object.keys(this.invertedIndex).sort().map(function (r) {
|
|
@@ -614,21 +644,21 @@ window.translations = {
|
|
|
614
644
|
s = Object.create(null),
|
|
615
645
|
o = e.invertedIndex,
|
|
616
646
|
a = new t.TokenSet.Builder(),
|
|
617
|
-
|
|
647
|
+
c = t.Pipeline.load(e.pipeline);
|
|
618
648
|
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[
|
|
621
|
-
|
|
649
|
+
for (var l = 0; l < i.length; l++) {
|
|
650
|
+
var d = i[l],
|
|
651
|
+
f = d[0],
|
|
622
652
|
p = d[1];
|
|
623
|
-
r[
|
|
653
|
+
r[f] = new t.Vector(p);
|
|
624
654
|
}
|
|
625
|
-
for (var
|
|
626
|
-
var d = o[
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
a.insert(
|
|
655
|
+
for (var l = 0; l < o.length; l++) {
|
|
656
|
+
var d = o[l],
|
|
657
|
+
v = d[0],
|
|
658
|
+
x = d[1];
|
|
659
|
+
a.insert(v), s[v] = x;
|
|
630
660
|
}
|
|
631
|
-
return a.finish(), n.fields = e.fields, n.fieldVectors = r, n.invertedIndex = s, n.tokenSet = a.root, n.pipeline =
|
|
661
|
+
return a.finish(), n.fields = e.fields, n.fieldVectors = r, n.invertedIndex = s, n.tokenSet = a.root, n.pipeline = c, new t.Index(n);
|
|
632
662
|
};
|
|
633
663
|
t.Builder = function () {
|
|
634
664
|
this._ref = "id", this._fields = Object.create(null), this._documents = Object.create(null), this.invertedIndex = Object.create(null), this.fieldTermFrequencies = {}, this.fieldLengths = {}, this.tokenizer = t.tokenizer, this.pipeline = new t.Pipeline(), this.searchPipeline = new t.Pipeline(), this.documentCount = 0, this._b = .75, this._k1 = 1.2, this.termIndex = 0, this.metadataWhitelist = [];
|
|
@@ -648,27 +678,27 @@ window.translations = {
|
|
|
648
678
|
for (var s = 0; s < i.length; s++) {
|
|
649
679
|
var o = i[s],
|
|
650
680
|
a = this._fields[o].extractor,
|
|
651
|
-
|
|
652
|
-
|
|
681
|
+
c = a ? a(e) : e[o],
|
|
682
|
+
l = this.tokenizer(c, {
|
|
653
683
|
fields: [o]
|
|
654
684
|
}),
|
|
655
|
-
d = this.pipeline.run(
|
|
656
|
-
|
|
685
|
+
d = this.pipeline.run(l),
|
|
686
|
+
f = new t.FieldRef(r, o),
|
|
657
687
|
p = Object.create(null);
|
|
658
|
-
this.fieldTermFrequencies[
|
|
659
|
-
for (var
|
|
660
|
-
var
|
|
661
|
-
if (p[
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
for (var
|
|
665
|
-
this.invertedIndex[
|
|
688
|
+
this.fieldTermFrequencies[f] = p, this.fieldLengths[f] = 0, this.fieldLengths[f] += d.length;
|
|
689
|
+
for (var v = 0; v < d.length; v++) {
|
|
690
|
+
var x = d[v];
|
|
691
|
+
if (p[x] == null && (p[x] = 0), p[x] += 1, this.invertedIndex[x] == null) {
|
|
692
|
+
var w = Object.create(null);
|
|
693
|
+
w._index = this.termIndex, this.termIndex += 1;
|
|
694
|
+
for (var m = 0; m < i.length; m++) w[i[m]] = Object.create(null);
|
|
695
|
+
this.invertedIndex[x] = w;
|
|
666
696
|
}
|
|
667
|
-
this.invertedIndex[
|
|
668
|
-
for (var
|
|
669
|
-
var
|
|
670
|
-
|
|
671
|
-
this.invertedIndex[
|
|
697
|
+
this.invertedIndex[x][o][r] == null && (this.invertedIndex[x][o][r] = Object.create(null));
|
|
698
|
+
for (var g = 0; g < this.metadataWhitelist.length; g++) {
|
|
699
|
+
var T = this.metadataWhitelist[g],
|
|
700
|
+
L = x.metadata[T];
|
|
701
|
+
this.invertedIndex[x][o][r][T] == null && (this.invertedIndex[x][o][r][T] = []), this.invertedIndex[x][o][r][T].push(L);
|
|
672
702
|
}
|
|
673
703
|
}
|
|
674
704
|
}
|
|
@@ -678,23 +708,23 @@ window.translations = {
|
|
|
678
708
|
a = o.fieldName;
|
|
679
709
|
i[a] || (i[a] = 0), i[a] += 1, r[a] || (r[a] = 0), r[a] += this.fieldLengths[o];
|
|
680
710
|
}
|
|
681
|
-
for (var
|
|
682
|
-
var
|
|
683
|
-
r[
|
|
711
|
+
for (var c = Object.keys(this._fields), s = 0; s < c.length; s++) {
|
|
712
|
+
var l = c[s];
|
|
713
|
+
r[l] = r[l] / i[l];
|
|
684
714
|
}
|
|
685
715
|
this.averageFieldLength = r;
|
|
686
716
|
}, t.Builder.prototype.createFieldVectors = function () {
|
|
687
717
|
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,
|
|
689
|
-
var
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
i[
|
|
718
|
+
for (var o = t.FieldRef.fromString(n[s]), a = o.fieldName, c = this.fieldLengths[o], l = new t.Vector(), d = this.fieldTermFrequencies[o], f = Object.keys(d), p = f.length, v = this._fields[a].boost || 1, x = this._documents[o.docRef].boost || 1, w = 0; w < p; w++) {
|
|
719
|
+
var m = f[w],
|
|
720
|
+
g = d[m],
|
|
721
|
+
T = this.invertedIndex[m]._index,
|
|
722
|
+
L,
|
|
723
|
+
C,
|
|
724
|
+
O;
|
|
725
|
+
i[m] === void 0 ? (L = t.idf(this.invertedIndex[m], this.documentCount), i[m] = L) : L = i[m], C = L * ((this._k1 + 1) * g) / (this._k1 * (1 - this._b + this._b * (c / this.averageFieldLength[a])) + g), C *= v, C *= x, O = Math.round(C * 1e3) / 1e3, l.insert(T, O);
|
|
696
726
|
}
|
|
697
|
-
e[o] =
|
|
727
|
+
e[o] = l;
|
|
698
728
|
}
|
|
699
729
|
this.fieldVectors = e;
|
|
700
730
|
}, t.Builder.prototype.createTokenSet = function () {
|
|
@@ -723,10 +753,10 @@ window.translations = {
|
|
|
723
753
|
this.metadata[i] == null && (this.metadata[i] = Object.create(null));
|
|
724
754
|
for (var o = 0; o < s.length; o++) {
|
|
725
755
|
var a = s[o],
|
|
726
|
-
|
|
756
|
+
c = Object.keys(e.metadata[i][a]);
|
|
727
757
|
this.metadata[i][a] == null && (this.metadata[i][a] = Object.create(null));
|
|
728
|
-
for (var
|
|
729
|
-
var d = l
|
|
758
|
+
for (var l = 0; l < c.length; l++) {
|
|
759
|
+
var d = c[l];
|
|
730
760
|
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
761
|
}
|
|
732
762
|
}
|
|
@@ -985,29 +1015,100 @@ window.translations = {
|
|
|
985
1015
|
}
|
|
986
1016
|
}
|
|
987
1017
|
}, function (e, n) {
|
|
988
|
-
typeof define == "function" && define.amd ? define(n) : typeof
|
|
1018
|
+
typeof define == "function" && define.amd ? define(n) : typeof me == "object" ? ge.exports = n() : e.lunr = n();
|
|
989
1019
|
}(this, function () {
|
|
990
1020
|
return t;
|
|
991
1021
|
});
|
|
992
1022
|
})();
|
|
993
1023
|
});
|
|
994
|
-
var
|
|
995
|
-
|
|
996
|
-
|
|
1024
|
+
var M,
|
|
1025
|
+
G = {
|
|
1026
|
+
getItem() {
|
|
1027
|
+
return null;
|
|
1028
|
+
},
|
|
1029
|
+
setItem() {}
|
|
1030
|
+
},
|
|
1031
|
+
K;
|
|
1032
|
+
try {
|
|
1033
|
+
K = localStorage, M = K;
|
|
1034
|
+
} catch {
|
|
1035
|
+
K = G, M = G;
|
|
1036
|
+
}
|
|
1037
|
+
var S = {
|
|
1038
|
+
getItem: t => M.getItem(t),
|
|
1039
|
+
setItem: (t, e) => M.setItem(t, e),
|
|
1040
|
+
disableWritingLocalStorage() {
|
|
1041
|
+
M = G;
|
|
1042
|
+
},
|
|
1043
|
+
disable() {
|
|
1044
|
+
localStorage.clear(), M = G;
|
|
1045
|
+
},
|
|
1046
|
+
enable() {
|
|
1047
|
+
M = K;
|
|
1048
|
+
}
|
|
1049
|
+
};
|
|
1050
|
+
window.TypeDoc ||= {
|
|
1051
|
+
disableWritingLocalStorage() {
|
|
1052
|
+
S.disableWritingLocalStorage();
|
|
1053
|
+
},
|
|
1054
|
+
disableLocalStorage: () => {
|
|
1055
|
+
S.disable();
|
|
1056
|
+
},
|
|
1057
|
+
enableLocalStorage: () => {
|
|
1058
|
+
S.enable();
|
|
1059
|
+
}
|
|
1060
|
+
};
|
|
1061
|
+
window.translations ||= {
|
|
1062
|
+
copy: "Copy",
|
|
1063
|
+
copied: "Copied!",
|
|
1064
|
+
normally_hidden: "This member is normally hidden due to your filter settings.",
|
|
1065
|
+
hierarchy_expand: "Expand",
|
|
1066
|
+
hierarchy_collapse: "Collapse",
|
|
1067
|
+
search_index_not_available: "The search index is not available",
|
|
1068
|
+
search_no_results_found_for_0: "No results found for {0}",
|
|
1069
|
+
folder: "Folder",
|
|
1070
|
+
kind_1: "Project",
|
|
1071
|
+
kind_2: "Module",
|
|
1072
|
+
kind_4: "Namespace",
|
|
1073
|
+
kind_8: "Enumeration",
|
|
1074
|
+
kind_16: "Enumeration Member",
|
|
1075
|
+
kind_32: "Variable",
|
|
1076
|
+
kind_64: "Function",
|
|
1077
|
+
kind_128: "Class",
|
|
1078
|
+
kind_256: "Interface",
|
|
1079
|
+
kind_512: "Constructor",
|
|
1080
|
+
kind_1024: "Property",
|
|
1081
|
+
kind_2048: "Method",
|
|
1082
|
+
kind_4096: "Call Signature",
|
|
1083
|
+
kind_8192: "Index Signature",
|
|
1084
|
+
kind_16384: "Constructor Signature",
|
|
1085
|
+
kind_32768: "Parameter",
|
|
1086
|
+
kind_65536: "Type Literal",
|
|
1087
|
+
kind_131072: "Type Parameter",
|
|
1088
|
+
kind_262144: "Accessor",
|
|
1089
|
+
kind_524288: "Get Signature",
|
|
1090
|
+
kind_1048576: "Set Signature",
|
|
1091
|
+
kind_2097152: "Type Alias",
|
|
1092
|
+
kind_4194304: "Reference",
|
|
1093
|
+
kind_8388608: "Document"
|
|
1094
|
+
};
|
|
1095
|
+
var pe = [];
|
|
1096
|
+
function X(t, e) {
|
|
1097
|
+
pe.push({
|
|
997
1098
|
selector: e,
|
|
998
1099
|
constructor: t
|
|
999
1100
|
});
|
|
1000
1101
|
}
|
|
1001
|
-
var
|
|
1002
|
-
function
|
|
1003
|
-
_classCallCheck(this,
|
|
1004
|
-
this
|
|
1102
|
+
var Z = /*#__PURE__*/function () {
|
|
1103
|
+
function Z() {
|
|
1104
|
+
_classCallCheck(this, Z);
|
|
1105
|
+
_defineProperty(this, "alwaysVisibleMember", null);
|
|
1005
1106
|
this.createComponents(document.body), this.ensureFocusedElementVisible(), this.listenForCodeCopies(), window.addEventListener("hashchange", () => this.ensureFocusedElementVisible()), document.body.style.display || (this.ensureFocusedElementVisible(), this.updateIndexVisibility(), this.scrollToHash());
|
|
1006
1107
|
}
|
|
1007
|
-
return _createClass(
|
|
1108
|
+
return _createClass(Z, [{
|
|
1008
1109
|
key: "createComponents",
|
|
1009
1110
|
value: function createComponents(e) {
|
|
1010
|
-
|
|
1111
|
+
pe.forEach(n => {
|
|
1011
1112
|
e.querySelectorAll(n.selector).forEach(r => {
|
|
1012
1113
|
r.dataset.hasInstance || (new n.constructor({
|
|
1013
1114
|
el: r,
|
|
@@ -1044,7 +1145,7 @@ window.translations = {
|
|
|
1044
1145
|
let e = document.querySelector(".tsd-navigation .current"),
|
|
1045
1146
|
n = e?.parentElement;
|
|
1046
1147
|
for (; n && !n.classList.contains(".tsd-navigation");) n instanceof HTMLDetailsElement && (n.open = !0), n = n.parentElement;
|
|
1047
|
-
if (e && !
|
|
1148
|
+
if (e && !rt(e)) {
|
|
1048
1149
|
let r = e.getBoundingClientRect().top - document.documentElement.clientHeight / 4;
|
|
1049
1150
|
document.querySelector(".site-menu").scrollTop = r, document.querySelector(".col-sidebar").scrollTop = r;
|
|
1050
1151
|
}
|
|
@@ -1095,175 +1196,308 @@ window.translations = {
|
|
|
1095
1196
|
}
|
|
1096
1197
|
}]);
|
|
1097
1198
|
}();
|
|
1098
|
-
function
|
|
1199
|
+
function rt(t) {
|
|
1099
1200
|
let e = t.getBoundingClientRect(),
|
|
1100
1201
|
n = Math.max(document.documentElement.clientHeight, window.innerHeight);
|
|
1101
1202
|
return !(e.bottom < 0 || e.top - n >= 0);
|
|
1102
1203
|
}
|
|
1103
|
-
var
|
|
1204
|
+
var fe = (t, e = 100) => {
|
|
1104
1205
|
let n;
|
|
1105
1206
|
return () => {
|
|
1106
1207
|
clearTimeout(n), n = setTimeout(() => t(), e);
|
|
1107
1208
|
};
|
|
1108
1209
|
};
|
|
1109
|
-
var
|
|
1110
|
-
async function
|
|
1210
|
+
var Ie = nt(ye(), 1);
|
|
1211
|
+
async function R(t) {
|
|
1212
|
+
let e = Uint8Array.from(atob(t), s => s.charCodeAt(0)),
|
|
1213
|
+
r = new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),
|
|
1214
|
+
i = await new Response(r).text();
|
|
1215
|
+
return JSON.parse(i);
|
|
1216
|
+
}
|
|
1217
|
+
var Y = "closing",
|
|
1218
|
+
ae = "tsd-overlay";
|
|
1219
|
+
function it() {
|
|
1220
|
+
let t = Math.abs(window.innerWidth - document.documentElement.clientWidth);
|
|
1221
|
+
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${t}px`;
|
|
1222
|
+
}
|
|
1223
|
+
function st() {
|
|
1224
|
+
document.body.style.removeProperty("overflow"), document.body.style.removeProperty("padding-right");
|
|
1225
|
+
}
|
|
1226
|
+
function xe(t, e) {
|
|
1227
|
+
t.addEventListener("animationend", () => {
|
|
1228
|
+
t.classList.contains(Y) && (t.classList.remove(Y), document.getElementById(ae)?.remove(), t.close(), st());
|
|
1229
|
+
}), t.addEventListener("cancel", n => {
|
|
1230
|
+
n.preventDefault(), ve(t);
|
|
1231
|
+
}), e?.closeOnClick && document.addEventListener("click", n => {
|
|
1232
|
+
t.open && !t.contains(n.target) && ve(t);
|
|
1233
|
+
}, !0);
|
|
1234
|
+
}
|
|
1235
|
+
function Ee(t) {
|
|
1236
|
+
if (t.open) return;
|
|
1237
|
+
let e = document.createElement("div");
|
|
1238
|
+
e.id = ae, document.body.appendChild(e), t.showModal(), it();
|
|
1239
|
+
}
|
|
1240
|
+
function ve(t) {
|
|
1241
|
+
if (!t.open) return;
|
|
1242
|
+
document.getElementById(ae)?.classList.add(Y), t.classList.add(Y);
|
|
1243
|
+
}
|
|
1244
|
+
var I = /*#__PURE__*/_createClass(function I(e) {
|
|
1245
|
+
_classCallCheck(this, I);
|
|
1246
|
+
_defineProperty(this, "el", void 0);
|
|
1247
|
+
_defineProperty(this, "app", void 0);
|
|
1248
|
+
this.el = e.el, this.app = e.app;
|
|
1249
|
+
});
|
|
1250
|
+
var be = document.head.appendChild(document.createElement("style"));
|
|
1251
|
+
be.dataset.for = "filters";
|
|
1252
|
+
var le = {};
|
|
1253
|
+
function we(t) {
|
|
1254
|
+
for (let e of t.split(/\s+/)) if (le.hasOwnProperty(e) && !le[e]) return !0;
|
|
1255
|
+
return !1;
|
|
1256
|
+
}
|
|
1257
|
+
var ee = /*#__PURE__*/function (_I) {
|
|
1258
|
+
function ee(e) {
|
|
1259
|
+
var _this;
|
|
1260
|
+
_classCallCheck(this, ee);
|
|
1261
|
+
(_this = _callSuper(this, ee, [e]), _defineProperty(_assertThisInitialized(_this), "key", void 0), _defineProperty(_assertThisInitialized(_this), "value", void 0)), _this.key = `filter-${_this.el.name}`, _this.value = _this.el.checked, _this.el.addEventListener("change", () => {
|
|
1262
|
+
_this.setLocalStorage(_this.el.checked);
|
|
1263
|
+
}), _this.setLocalStorage(_this.fromLocalStorage()), be.innerHTML += `html:not(.${_this.key}) .tsd-is-${_this.el.name} { display: none; }
|
|
1264
|
+
`, _this.app.updateIndexVisibility();
|
|
1265
|
+
return _this;
|
|
1266
|
+
}
|
|
1267
|
+
_inherits(ee, _I);
|
|
1268
|
+
return _createClass(ee, [{
|
|
1269
|
+
key: "fromLocalStorage",
|
|
1270
|
+
value: function fromLocalStorage() {
|
|
1271
|
+
let e = S.getItem(this.key);
|
|
1272
|
+
return e ? e === "true" : this.el.checked;
|
|
1273
|
+
}
|
|
1274
|
+
}, {
|
|
1275
|
+
key: "setLocalStorage",
|
|
1276
|
+
value: function setLocalStorage(e) {
|
|
1277
|
+
S.setItem(this.key, e.toString()), this.value = e, this.handleValueChange();
|
|
1278
|
+
}
|
|
1279
|
+
}, {
|
|
1280
|
+
key: "handleValueChange",
|
|
1281
|
+
value: function handleValueChange() {
|
|
1282
|
+
this.el.checked = this.value, document.documentElement.classList.toggle(this.key, this.value), le[`tsd-is-${this.el.name}`] = this.value, this.app.filterChanged(), this.app.updateIndexVisibility();
|
|
1283
|
+
}
|
|
1284
|
+
}]);
|
|
1285
|
+
}(I);
|
|
1286
|
+
var Le = 0;
|
|
1287
|
+
async function Se(t, e) {
|
|
1111
1288
|
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");
|
|
1289
|
+
let n = await R(window.searchData);
|
|
1290
|
+
t.data = n, t.index = Ie.Index.load(n.index), e.innerHTML = "";
|
|
1116
1291
|
}
|
|
1117
|
-
function
|
|
1118
|
-
let t = document.getElementById("tsd-search")
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
t
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1292
|
+
function _e() {
|
|
1293
|
+
let t = document.getElementById("tsd-search-trigger"),
|
|
1294
|
+
e = document.getElementById("tsd-search"),
|
|
1295
|
+
n = document.getElementById("tsd-search-input"),
|
|
1296
|
+
r = document.getElementById("tsd-search-results"),
|
|
1297
|
+
i = document.getElementById("tsd-search-script"),
|
|
1298
|
+
s = document.getElementById("tsd-search-status");
|
|
1299
|
+
if (!(t && e && n && r && i && s)) throw new Error("Search controls missing");
|
|
1300
|
+
let o = {
|
|
1301
|
+
base: document.documentElement.dataset.base
|
|
1302
|
+
};
|
|
1303
|
+
o.base.endsWith("/") || (o.base += "/"), i.addEventListener("error", () => {
|
|
1304
|
+
let a = window.translations.search_index_not_available;
|
|
1305
|
+
Pe(s, a);
|
|
1306
|
+
}), i.addEventListener("load", () => {
|
|
1307
|
+
Se(o, s);
|
|
1308
|
+
}), Se(o, s), ot({
|
|
1309
|
+
trigger: t,
|
|
1310
|
+
searchEl: e,
|
|
1311
|
+
results: r,
|
|
1312
|
+
field: n,
|
|
1313
|
+
status: s
|
|
1314
|
+
}, o);
|
|
1135
1315
|
}
|
|
1136
|
-
function
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1316
|
+
function ot(t, e) {
|
|
1317
|
+
let {
|
|
1318
|
+
field: n,
|
|
1319
|
+
results: r,
|
|
1320
|
+
searchEl: i,
|
|
1321
|
+
status: s,
|
|
1322
|
+
trigger: o
|
|
1323
|
+
} = t;
|
|
1324
|
+
xe(i, {
|
|
1325
|
+
closeOnClick: !0
|
|
1326
|
+
});
|
|
1327
|
+
function a() {
|
|
1328
|
+
Ee(i), n.setSelectionRange(0, n.value.length);
|
|
1329
|
+
}
|
|
1330
|
+
o.addEventListener("click", a), n.addEventListener("input", fe(() => {
|
|
1331
|
+
at(r, n, s, e);
|
|
1332
|
+
}, 200)), n.addEventListener("keydown", l => {
|
|
1333
|
+
if (r.childElementCount === 0 || l.ctrlKey || l.metaKey || l.altKey) return;
|
|
1334
|
+
let d = n.getAttribute("aria-activedescendant"),
|
|
1335
|
+
f = d ? document.getElementById(d) : null;
|
|
1336
|
+
if (f) {
|
|
1337
|
+
let p = !1,
|
|
1338
|
+
v = !1;
|
|
1339
|
+
switch (l.key) {
|
|
1340
|
+
case "Home":
|
|
1341
|
+
case "End":
|
|
1342
|
+
case "ArrowLeft":
|
|
1343
|
+
case "ArrowRight":
|
|
1344
|
+
v = !0;
|
|
1345
|
+
break;
|
|
1346
|
+
case "ArrowDown":
|
|
1347
|
+
case "ArrowUp":
|
|
1348
|
+
p = l.shiftKey;
|
|
1349
|
+
break;
|
|
1350
|
+
}
|
|
1351
|
+
(p || v) && ke(n);
|
|
1352
|
+
}
|
|
1353
|
+
if (!l.shiftKey) switch (l.key) {
|
|
1354
|
+
case "Enter":
|
|
1355
|
+
f?.querySelector("a")?.click();
|
|
1356
|
+
break;
|
|
1357
|
+
case "ArrowUp":
|
|
1358
|
+
Te(r, n, f, -1), l.preventDefault();
|
|
1359
|
+
break;
|
|
1360
|
+
case "ArrowDown":
|
|
1361
|
+
Te(r, n, f, 1), l.preventDefault();
|
|
1362
|
+
break;
|
|
1363
|
+
}
|
|
1364
|
+
});
|
|
1365
|
+
function c() {
|
|
1366
|
+
ke(n);
|
|
1367
|
+
}
|
|
1368
|
+
n.addEventListener("change", c), n.addEventListener("blur", c), n.addEventListener("click", c), document.body.addEventListener("keydown", l => {
|
|
1369
|
+
if (l.altKey || l.metaKey || l.shiftKey) return;
|
|
1370
|
+
let d = l.ctrlKey && l.key === "k",
|
|
1371
|
+
f = !l.ctrlKey && !ut() && l.key === "/";
|
|
1372
|
+
(d || f) && (l.preventDefault(), a());
|
|
1145
1373
|
});
|
|
1146
1374
|
}
|
|
1147
|
-
function
|
|
1148
|
-
t.classList.remove("has-focus");
|
|
1149
|
-
}
|
|
1150
|
-
function Ne(t, e, n, r) {
|
|
1375
|
+
function at(t, e, n, r) {
|
|
1151
1376
|
if (!r.index || !r.data) return;
|
|
1152
|
-
|
|
1153
|
-
let i =
|
|
1377
|
+
t.innerHTML = "", n.innerHTML = "", Le += 1;
|
|
1378
|
+
let i = e.value.trim(),
|
|
1154
1379
|
s;
|
|
1155
1380
|
if (i) {
|
|
1156
|
-
let
|
|
1157
|
-
s = r.index.search(
|
|
1381
|
+
let a = i.split(" ").map(c => c.length ? `*${c}*` : "").join(" ");
|
|
1382
|
+
s = r.index.search(a).filter(({
|
|
1383
|
+
ref: c
|
|
1384
|
+
}) => {
|
|
1385
|
+
let l = r.data.rows[Number(c)].classes;
|
|
1386
|
+
return !l || !we(l);
|
|
1387
|
+
});
|
|
1158
1388
|
} else s = [];
|
|
1159
|
-
|
|
1160
|
-
let a =
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
l.name.toLowerCase().startsWith(i.toLowerCase()) && (u *= 1 + 1 / (1 + Math.abs(l.name.length - i.length))), a.score *= u;
|
|
1389
|
+
if (s.length === 0 && i) {
|
|
1390
|
+
let a = window.translations.search_no_results_found_for_0.replace("{0}", ` "<strong>${te(i)}</strong>" `);
|
|
1391
|
+
Pe(n, a);
|
|
1392
|
+
return;
|
|
1164
1393
|
}
|
|
1165
|
-
|
|
1166
|
-
let
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1394
|
+
for (let a = 0; a < s.length; a++) {
|
|
1395
|
+
let c = s[a],
|
|
1396
|
+
l = r.data.rows[Number(c.ref)],
|
|
1397
|
+
d = 1;
|
|
1398
|
+
l.name.toLowerCase().startsWith(i.toLowerCase()) && (d *= 10 / (1 + Math.abs(l.name.length - i.length))), c.score *= d;
|
|
1170
1399
|
}
|
|
1171
|
-
s.sort((
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
d =
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
}), e.appendChild(m);
|
|
1400
|
+
s.sort((a, c) => c.score - a.score);
|
|
1401
|
+
let o = Math.min(10, s.length);
|
|
1402
|
+
for (let a = 0; a < o; a++) {
|
|
1403
|
+
let c = r.data.rows[Number(s[a].ref)],
|
|
1404
|
+
d = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${window.translations[`kind_${c.kind}`].replaceAll('"', """)}"><use href="#icon-${c.icon || c.kind}"></use></svg>`,
|
|
1405
|
+
f = Ce(c.name, i);
|
|
1406
|
+
globalThis.DEBUG_SEARCH_WEIGHTS && (f += ` (score: ${s[a].score.toFixed(2)})`), c.parent && (f = `<span class="parent">
|
|
1407
|
+
${Ce(c.parent, i)}.</span>${f}`);
|
|
1408
|
+
let p = document.createElement("li");
|
|
1409
|
+
p.id = `tsd-search:${Le}-${a}`, p.role = "option", p.ariaSelected = "false", p.classList.value = c.classes ?? "";
|
|
1410
|
+
let v = document.createElement("a");
|
|
1411
|
+
v.tabIndex = -1, v.href = r.base + c.url, v.innerHTML = d + `<span class="text">${f}</span>`, p.append(v), t.appendChild(p);
|
|
1184
1412
|
}
|
|
1185
1413
|
}
|
|
1186
|
-
function
|
|
1187
|
-
let
|
|
1188
|
-
if (
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1414
|
+
function Te(t, e, n, r) {
|
|
1415
|
+
let i;
|
|
1416
|
+
if (r === 1 ? i = n?.nextElementSibling || t.firstElementChild : i = n?.previousElementSibling || t.lastElementChild, i !== n) {
|
|
1417
|
+
if (!i || i.role !== "option") {
|
|
1418
|
+
console.error("Option missing");
|
|
1419
|
+
return;
|
|
1420
|
+
}
|
|
1421
|
+
i.ariaSelected = "true", i.scrollIntoView({
|
|
1422
|
+
behavior: "smooth",
|
|
1423
|
+
block: "nearest"
|
|
1424
|
+
}), e.setAttribute("aria-activedescendant", i.id), n?.setAttribute("aria-selected", "false");
|
|
1192
1425
|
}
|
|
1193
1426
|
}
|
|
1194
|
-
function
|
|
1195
|
-
let
|
|
1196
|
-
|
|
1197
|
-
let r = n.querySelector("a");
|
|
1198
|
-
r && (window.location.href = r.href), te(e);
|
|
1199
|
-
}
|
|
1427
|
+
function ke(t) {
|
|
1428
|
+
let e = t.getAttribute("aria-activedescendant");
|
|
1429
|
+
(e ? document.getElementById(e) : null)?.setAttribute("aria-selected", "false"), t.setAttribute("aria-activedescendant", "");
|
|
1200
1430
|
}
|
|
1201
|
-
function
|
|
1431
|
+
function Ce(t, e) {
|
|
1202
1432
|
if (e === "") return t;
|
|
1203
1433
|
let n = t.toLocaleLowerCase(),
|
|
1204
1434
|
r = e.toLocaleLowerCase(),
|
|
1205
1435
|
i = [],
|
|
1206
1436
|
s = 0,
|
|
1207
1437
|
o = n.indexOf(r);
|
|
1208
|
-
for (; o != -1;) i.push(
|
|
1209
|
-
return i.push(
|
|
1438
|
+
for (; o != -1;) i.push(te(t.substring(s, o)), `<mark>${te(t.substring(o, o + r.length))}</mark>`), s = o + r.length, o = n.indexOf(r, s);
|
|
1439
|
+
return i.push(te(t.substring(s))), i.join("");
|
|
1210
1440
|
}
|
|
1211
|
-
var
|
|
1441
|
+
var lt = {
|
|
1212
1442
|
"&": "&",
|
|
1213
1443
|
"<": "<",
|
|
1214
1444
|
">": ">",
|
|
1215
1445
|
"'": "'",
|
|
1216
1446
|
'"': """
|
|
1217
1447
|
};
|
|
1218
|
-
function
|
|
1219
|
-
return t.replace(/[&<>"'"]/g, e =>
|
|
1448
|
+
function te(t) {
|
|
1449
|
+
return t.replace(/[&<>"'"]/g, e => lt[e]);
|
|
1220
1450
|
}
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1451
|
+
function Pe(t, e) {
|
|
1452
|
+
t.innerHTML = e ? `<div>${e}</div>` : "";
|
|
1453
|
+
}
|
|
1454
|
+
var ct = ["button", "checkbox", "file", "hidden", "image", "radio", "range", "reset", "submit"];
|
|
1455
|
+
function ut() {
|
|
1456
|
+
let t = document.activeElement;
|
|
1457
|
+
return t ? t.isContentEditable || t.tagName === "TEXTAREA" || t.tagName === "SEARCH" ? !0 : t.tagName === "INPUT" && !ct.includes(t.type) : !1;
|
|
1458
|
+
}
|
|
1459
|
+
var D = "mousedown",
|
|
1460
|
+
Me = "mousemove",
|
|
1461
|
+
$ = "mouseup",
|
|
1462
|
+
ne = {
|
|
1229
1463
|
x: 0,
|
|
1230
1464
|
y: 0
|
|
1231
1465
|
},
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
document.documentElement.classList.add(
|
|
1238
|
-
|
|
1239
|
-
document.addEventListener(
|
|
1240
|
-
|
|
1241
|
-
let e =
|
|
1242
|
-
|
|
1466
|
+
Qe = !1,
|
|
1467
|
+
ce = !1,
|
|
1468
|
+
dt = !1,
|
|
1469
|
+
F = !1,
|
|
1470
|
+
Oe = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1471
|
+
document.documentElement.classList.add(Oe ? "is-mobile" : "not-mobile");
|
|
1472
|
+
Oe && "ontouchstart" in document.documentElement && (dt = !0, D = "touchstart", Me = "touchmove", $ = "touchend");
|
|
1473
|
+
document.addEventListener(D, t => {
|
|
1474
|
+
ce = !0, F = !1;
|
|
1475
|
+
let e = D == "touchstart" ? t.targetTouches[0] : t;
|
|
1476
|
+
ne.y = e.pageY || 0, ne.x = e.pageX || 0;
|
|
1243
1477
|
});
|
|
1244
|
-
document.addEventListener(
|
|
1245
|
-
if (
|
|
1246
|
-
let e =
|
|
1247
|
-
n =
|
|
1248
|
-
r =
|
|
1249
|
-
|
|
1478
|
+
document.addEventListener(Me, t => {
|
|
1479
|
+
if (ce && !F) {
|
|
1480
|
+
let e = D == "touchstart" ? t.targetTouches[0] : t,
|
|
1481
|
+
n = ne.x - (e.pageX || 0),
|
|
1482
|
+
r = ne.y - (e.pageY || 0);
|
|
1483
|
+
F = Math.sqrt(n * n + r * r) > 10;
|
|
1250
1484
|
}
|
|
1251
1485
|
});
|
|
1252
|
-
document.addEventListener(
|
|
1253
|
-
|
|
1486
|
+
document.addEventListener($, () => {
|
|
1487
|
+
ce = !1;
|
|
1254
1488
|
});
|
|
1255
1489
|
document.addEventListener("click", t => {
|
|
1256
|
-
|
|
1490
|
+
Qe && (t.preventDefault(), t.stopImmediatePropagation(), Qe = !1);
|
|
1257
1491
|
});
|
|
1258
|
-
var
|
|
1259
|
-
function
|
|
1260
|
-
var
|
|
1261
|
-
_classCallCheck(this,
|
|
1262
|
-
|
|
1263
|
-
return
|
|
1492
|
+
var re = /*#__PURE__*/function (_I2) {
|
|
1493
|
+
function re(e) {
|
|
1494
|
+
var _this2;
|
|
1495
|
+
_classCallCheck(this, re);
|
|
1496
|
+
(_this2 = _callSuper(this, re, [e]), _defineProperty(_assertThisInitialized(_this2), "active", void 0), _defineProperty(_assertThisInitialized(_this2), "className", void 0)), _this2.className = _this2.el.dataset.toggle || "", _this2.el.addEventListener($, n => _this2.onPointerUp(n)), _this2.el.addEventListener("click", n => n.preventDefault()), document.addEventListener(D, n => _this2.onDocumentPointerDown(n)), document.addEventListener($, n => _this2.onDocumentPointerUp(n));
|
|
1497
|
+
return _this2;
|
|
1264
1498
|
}
|
|
1265
|
-
_inherits(
|
|
1266
|
-
return _createClass(
|
|
1499
|
+
_inherits(re, _I2);
|
|
1500
|
+
return _createClass(re, [{
|
|
1267
1501
|
key: "setActive",
|
|
1268
1502
|
value: function setActive(e) {
|
|
1269
1503
|
if (this.active == e) return;
|
|
@@ -1274,7 +1508,7 @@ window.translations = {
|
|
|
1274
1508
|
}, {
|
|
1275
1509
|
key: "onPointerUp",
|
|
1276
1510
|
value: function onPointerUp(e) {
|
|
1277
|
-
|
|
1511
|
+
F || (this.setActive(!0), e.preventDefault());
|
|
1278
1512
|
}
|
|
1279
1513
|
}, {
|
|
1280
1514
|
key: "onDocumentPointerDown",
|
|
@@ -1287,7 +1521,7 @@ window.translations = {
|
|
|
1287
1521
|
}, {
|
|
1288
1522
|
key: "onDocumentPointerUp",
|
|
1289
1523
|
value: function onDocumentPointerUp(e) {
|
|
1290
|
-
if (!
|
|
1524
|
+
if (!F && this.active && e.target.closest(".col-sidebar")) {
|
|
1291
1525
|
let n = e.target.closest("a");
|
|
1292
1526
|
if (n) {
|
|
1293
1527
|
let r = window.location.href;
|
|
@@ -1297,129 +1531,222 @@ window.translations = {
|
|
|
1297
1531
|
}
|
|
1298
1532
|
}]);
|
|
1299
1533
|
}(I);
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
setItem() {}
|
|
1309
|
-
};
|
|
1310
|
-
}
|
|
1311
|
-
var Q = re;
|
|
1312
|
-
var ge = document.head.appendChild(document.createElement("style"));
|
|
1313
|
-
ge.dataset.for = "filters";
|
|
1314
|
-
var Y = /*#__PURE__*/function (_I2) {
|
|
1315
|
-
function Y(e) {
|
|
1316
|
-
var _this2;
|
|
1317
|
-
_classCallCheck(this, Y);
|
|
1318
|
-
_this2 = _callSuper(this, Y, [e]), _this2.key = `filter-${_this2.el.name}`, _this2.value = _this2.el.checked, _this2.el.addEventListener("change", () => {
|
|
1319
|
-
_this2.setLocalStorage(_this2.el.checked);
|
|
1320
|
-
}), _this2.setLocalStorage(_this2.fromLocalStorage()), ge.innerHTML += `html:not(.${_this2.key}) .tsd-is-${_this2.el.name} { display: none; }
|
|
1321
|
-
`, _this2.app.updateIndexVisibility();
|
|
1322
|
-
return _this2;
|
|
1323
|
-
}
|
|
1324
|
-
_inherits(Y, _I2);
|
|
1325
|
-
return _createClass(Y, [{
|
|
1326
|
-
key: "fromLocalStorage",
|
|
1327
|
-
value: function fromLocalStorage() {
|
|
1328
|
-
let e = Q.getItem(this.key);
|
|
1329
|
-
return e ? e === "true" : this.el.checked;
|
|
1330
|
-
}
|
|
1331
|
-
}, {
|
|
1332
|
-
key: "setLocalStorage",
|
|
1333
|
-
value: function setLocalStorage(e) {
|
|
1334
|
-
Q.setItem(this.key, e.toString()), this.value = e, this.handleValueChange();
|
|
1534
|
+
var ue = new Map(),
|
|
1535
|
+
de = /*#__PURE__*/function () {
|
|
1536
|
+
function de(e, n) {
|
|
1537
|
+
_classCallCheck(this, de);
|
|
1538
|
+
_defineProperty(this, "open", void 0);
|
|
1539
|
+
_defineProperty(this, "accordions", []);
|
|
1540
|
+
_defineProperty(this, "key", void 0);
|
|
1541
|
+
this.key = e, this.open = n;
|
|
1335
1542
|
}
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1543
|
+
return _createClass(de, [{
|
|
1544
|
+
key: "add",
|
|
1545
|
+
value: function add(e) {
|
|
1546
|
+
this.accordions.push(e), e.open = this.open, e.addEventListener("toggle", () => {
|
|
1547
|
+
this.toggle(e.open);
|
|
1548
|
+
});
|
|
1549
|
+
}
|
|
1550
|
+
}, {
|
|
1551
|
+
key: "toggle",
|
|
1552
|
+
value: function toggle(e) {
|
|
1553
|
+
for (let n of this.accordions) n.open = e;
|
|
1554
|
+
S.setItem(this.key, e.toString());
|
|
1555
|
+
}
|
|
1556
|
+
}]);
|
|
1557
|
+
}(),
|
|
1558
|
+
ie = /*#__PURE__*/function (_I3) {
|
|
1559
|
+
function ie(e) {
|
|
1560
|
+
var _this3;
|
|
1561
|
+
_classCallCheck(this, ie);
|
|
1562
|
+
_this3 = _callSuper(this, ie, [e]);
|
|
1563
|
+
let n = _this3.el.querySelector("summary"),
|
|
1564
|
+
r = n.querySelector("a");
|
|
1565
|
+
r && r.addEventListener("click", () => {
|
|
1566
|
+
location.assign(r.href);
|
|
1567
|
+
});
|
|
1568
|
+
let i = `tsd-accordion-${n.dataset.key ?? n.textContent.trim().replace(/\s+/g, "-").toLowerCase()}`,
|
|
1569
|
+
s;
|
|
1570
|
+
if (ue.has(i)) s = ue.get(i);else {
|
|
1571
|
+
let o = S.getItem(i),
|
|
1572
|
+
a = o ? o === "true" : _this3.el.open;
|
|
1573
|
+
s = new de(i, a), ue.set(i, s);
|
|
1574
|
+
}
|
|
1575
|
+
s.add(_this3.el);
|
|
1576
|
+
return _this3;
|
|
1361
1577
|
}
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1578
|
+
_inherits(ie, _I3);
|
|
1579
|
+
return _createClass(ie);
|
|
1580
|
+
}(I);
|
|
1581
|
+
function He(t) {
|
|
1582
|
+
let e = S.getItem("tsd-theme") || "os";
|
|
1583
|
+
t.value = e, Ae(e), t.addEventListener("change", () => {
|
|
1584
|
+
S.setItem("tsd-theme", t.value), Ae(t.value);
|
|
1368
1585
|
});
|
|
1369
1586
|
}
|
|
1370
|
-
function
|
|
1587
|
+
function Ae(t) {
|
|
1371
1588
|
document.documentElement.dataset.theme = t;
|
|
1372
1589
|
}
|
|
1373
|
-
var
|
|
1374
|
-
function
|
|
1590
|
+
var se;
|
|
1591
|
+
function Ne() {
|
|
1375
1592
|
let t = document.getElementById("tsd-nav-script");
|
|
1376
|
-
t && (t.addEventListener("load",
|
|
1593
|
+
t && (t.addEventListener("load", Re), Re());
|
|
1377
1594
|
}
|
|
1378
|
-
async function
|
|
1595
|
+
async function Re() {
|
|
1379
1596
|
let t = document.getElementById("tsd-nav-container");
|
|
1380
1597
|
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, []);
|
|
1598
|
+
let e = await R(window.navigationData);
|
|
1599
|
+
se = document.documentElement.dataset.base, se.endsWith("/") || (se += "/"), t.innerHTML = "";
|
|
1600
|
+
for (let n of e) Be(n, t, []);
|
|
1386
1601
|
window.app.createComponents(t), window.app.showPage(), window.app.ensureActivePageVisible();
|
|
1387
1602
|
}
|
|
1388
|
-
function
|
|
1603
|
+
function Be(t, e, n) {
|
|
1389
1604
|
let r = e.appendChild(document.createElement("li"));
|
|
1390
1605
|
if (t.children) {
|
|
1391
1606
|
let i = [...n, t.text],
|
|
1392
1607
|
s = r.appendChild(document.createElement("details"));
|
|
1393
1608
|
s.className = t.class ? `${t.class} tsd-accordion` : "tsd-accordion";
|
|
1394
1609
|
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>',
|
|
1610
|
+
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>', De(t, o);
|
|
1396
1611
|
let a = s.appendChild(document.createElement("div"));
|
|
1397
1612
|
a.className = "tsd-accordion-details";
|
|
1398
|
-
let
|
|
1399
|
-
|
|
1400
|
-
for (let
|
|
1401
|
-
} else
|
|
1613
|
+
let c = a.appendChild(document.createElement("ul"));
|
|
1614
|
+
c.className = "tsd-nested-navigation";
|
|
1615
|
+
for (let l of t.children) Be(l, c, i);
|
|
1616
|
+
} else De(t, r, t.class);
|
|
1402
1617
|
}
|
|
1403
|
-
function
|
|
1618
|
+
function De(t, e, n) {
|
|
1404
1619
|
if (t.path) {
|
|
1405
1620
|
let r = e.appendChild(document.createElement("a"));
|
|
1406
|
-
r.href =
|
|
1621
|
+
if (r.href = se + t.path, n && (r.className = n), location.pathname === r.pathname && !r.href.includes("#") && (r.classList.add("current"), r.ariaCurrent = "page"), t.kind) {
|
|
1622
|
+
let i = window.translations[`kind_${t.kind}`].replaceAll('"', """);
|
|
1623
|
+
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.icon || t.kind}"></use></svg>`;
|
|
1624
|
+
}
|
|
1625
|
+
r.appendChild(Fe(t.text, document.createElement("span")));
|
|
1407
1626
|
} else {
|
|
1408
|
-
let r = e.appendChild(document.createElement("span"))
|
|
1409
|
-
|
|
1627
|
+
let r = e.appendChild(document.createElement("span")),
|
|
1628
|
+
i = window.translations.folder.replaceAll('"', """);
|
|
1629
|
+
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(Fe(t.text, document.createElement("span")));
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
function Fe(t, e) {
|
|
1633
|
+
let n = t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);
|
|
1634
|
+
for (let r = 0; r < n.length; ++r) r !== 0 && e.appendChild(document.createElement("wbr")), e.appendChild(document.createTextNode(n[r]));
|
|
1635
|
+
return e;
|
|
1636
|
+
}
|
|
1637
|
+
var oe = document.documentElement.dataset.base;
|
|
1638
|
+
oe.endsWith("/") || (oe += "/");
|
|
1639
|
+
function $e() {
|
|
1640
|
+
document.querySelector(".tsd-full-hierarchy") ? ht() : document.querySelector(".tsd-hierarchy") && pt();
|
|
1641
|
+
}
|
|
1642
|
+
function ht() {
|
|
1643
|
+
document.addEventListener("click", r => {
|
|
1644
|
+
let i = r.target;
|
|
1645
|
+
for (; i.parentElement && i.parentElement.tagName != "LI";) i = i.parentElement;
|
|
1646
|
+
i.dataset.dropdown && (i.dataset.dropdown = String(i.dataset.dropdown !== "true"));
|
|
1647
|
+
});
|
|
1648
|
+
let t = new Map(),
|
|
1649
|
+
e = new Set();
|
|
1650
|
+
for (let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")) {
|
|
1651
|
+
let i = r.querySelector("ul");
|
|
1652
|
+
t.has(r.dataset.refl) ? e.add(r.dataset.refl) : i && t.set(r.dataset.refl, i);
|
|
1410
1653
|
}
|
|
1654
|
+
for (let r of e) n(r);
|
|
1655
|
+
function n(r) {
|
|
1656
|
+
let i = t.get(r).cloneNode(!0);
|
|
1657
|
+
i.querySelectorAll("[id]").forEach(s => {
|
|
1658
|
+
s.removeAttribute("id");
|
|
1659
|
+
}), i.querySelectorAll("[data-dropdown]").forEach(s => {
|
|
1660
|
+
s.dataset.dropdown = "false";
|
|
1661
|
+
});
|
|
1662
|
+
for (let s of document.querySelectorAll(`[data-refl="${r}"]`)) {
|
|
1663
|
+
let o = gt(),
|
|
1664
|
+
a = s.querySelector("ul");
|
|
1665
|
+
s.insertBefore(o, a), o.dataset.dropdown = String(!!a), a || s.appendChild(i.cloneNode(!0));
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
function pt() {
|
|
1670
|
+
let t = document.getElementById("tsd-hierarchy-script");
|
|
1671
|
+
t && (t.addEventListener("load", Ve), Ve());
|
|
1672
|
+
}
|
|
1673
|
+
async function Ve() {
|
|
1674
|
+
let t = document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");
|
|
1675
|
+
if (!t || !window.hierarchyData) return;
|
|
1676
|
+
let e = +t.dataset.refl,
|
|
1677
|
+
n = await R(window.hierarchyData),
|
|
1678
|
+
r = t.querySelector("ul"),
|
|
1679
|
+
i = document.createElement("ul");
|
|
1680
|
+
if (i.classList.add("tsd-hierarchy"), ft(i, n, e), r.querySelectorAll("li").length == i.querySelectorAll("li").length) return;
|
|
1681
|
+
let s = document.createElement("span");
|
|
1682
|
+
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", () => {
|
|
1683
|
+
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);
|
|
1684
|
+
});
|
|
1685
|
+
}
|
|
1686
|
+
function ft(t, e, n) {
|
|
1687
|
+
let r = e.roots.filter(i => mt(e, i, n));
|
|
1688
|
+
for (let i of r) t.appendChild(je(e, i, n));
|
|
1689
|
+
}
|
|
1690
|
+
function je(t, e, n, r = new Set()) {
|
|
1691
|
+
if (r.has(e)) return;
|
|
1692
|
+
r.add(e);
|
|
1693
|
+
let i = t.reflections[e],
|
|
1694
|
+
s = document.createElement("li");
|
|
1695
|
+
if (s.classList.add("tsd-hierarchy-item"), e === n) {
|
|
1696
|
+
let o = s.appendChild(document.createElement("span"));
|
|
1697
|
+
o.textContent = i.name, o.classList.add("tsd-hierarchy-target");
|
|
1698
|
+
} else {
|
|
1699
|
+
for (let a of i.uniqueNameParents || []) {
|
|
1700
|
+
let c = t.reflections[a],
|
|
1701
|
+
l = s.appendChild(document.createElement("a"));
|
|
1702
|
+
l.textContent = c.name, l.href = oe + c.url, l.className = c.class + " tsd-signature-type", s.append(document.createTextNode("."));
|
|
1703
|
+
}
|
|
1704
|
+
let o = s.appendChild(document.createElement("a"));
|
|
1705
|
+
o.textContent = t.reflections[e].name, o.href = oe + i.url, o.className = i.class + " tsd-signature-type";
|
|
1706
|
+
}
|
|
1707
|
+
if (i.children) {
|
|
1708
|
+
let o = s.appendChild(document.createElement("ul"));
|
|
1709
|
+
o.classList.add("tsd-hierarchy");
|
|
1710
|
+
for (let a of i.children) {
|
|
1711
|
+
let c = je(t, a, n, r);
|
|
1712
|
+
c && o.appendChild(c);
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
return r.delete(e), s;
|
|
1716
|
+
}
|
|
1717
|
+
function mt(t, e, n) {
|
|
1718
|
+
if (e === n) return !0;
|
|
1719
|
+
let r = new Set(),
|
|
1720
|
+
i = [t.reflections[e]];
|
|
1721
|
+
for (; i.length;) {
|
|
1722
|
+
let s = i.pop();
|
|
1723
|
+
if (!r.has(s)) {
|
|
1724
|
+
r.add(s);
|
|
1725
|
+
for (let o of s.children || []) {
|
|
1726
|
+
if (o === n) return !0;
|
|
1727
|
+
i.push(t.reflections[o]);
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
return !1;
|
|
1732
|
+
}
|
|
1733
|
+
function gt() {
|
|
1734
|
+
let t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
1735
|
+
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;
|
|
1411
1736
|
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
var
|
|
1416
|
-
|
|
1417
|
-
var
|
|
1737
|
+
X(re, "a[data-toggle]");
|
|
1738
|
+
X(ie, ".tsd-accordion");
|
|
1739
|
+
X(ee, ".tsd-filter-item input[type=checkbox]");
|
|
1740
|
+
var qe = document.getElementById("tsd-theme");
|
|
1741
|
+
qe && He(qe);
|
|
1742
|
+
var yt = new Z();
|
|
1418
1743
|
Object.defineProperty(window, "app", {
|
|
1419
|
-
value:
|
|
1744
|
+
value: yt
|
|
1420
1745
|
});
|
|
1421
|
-
|
|
1422
|
-
|
|
1746
|
+
_e();
|
|
1747
|
+
Ne();
|
|
1748
|
+
$e();
|
|
1749
|
+
"virtualKeyboard" in navigator && (navigator.virtualKeyboard.overlaysContent = !0);
|
|
1423
1750
|
})();
|
|
1424
1751
|
/*! Bundled license information:
|
|
1425
1752
|
|