@wemap/providers 14.1.0-beta.1 → 14.1.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/dist/index.js +771 -1999
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { Browser, BrowserUtils, TimeUtils, UserAgentUtils } from "@wemap/utils";
|
|
1
2
|
import { Camera, SharedCameras, base64ToCanvas, canvasToBase64, convertToGrayscale, reduceImageSize } from "@wemap/camera";
|
|
2
|
-
var __create
|
|
3
|
-
if (t && typeof t == "object" || typeof t == "function") for (var o = __getOwnPropNames
|
|
4
|
-
get: ((e) => t[e]).bind(null,
|
|
5
|
-
enumerable: !(a = __getOwnPropDesc
|
|
3
|
+
var __create = Object.create, __defProp$5 = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __commonJSMin = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), __copyProps = (e, t, r, a) => {
|
|
4
|
+
if (t && typeof t == "object" || typeof t == "function") for (var o = __getOwnPropNames(t), s = 0, c = o.length, l; s < c; s++) l = o[s], !__hasOwnProp.call(e, l) && l !== r && __defProp$5(e, l, {
|
|
5
|
+
get: ((e) => t[e]).bind(null, l),
|
|
6
|
+
enumerable: !(a = __getOwnPropDesc(t, l)) || a.enumerable
|
|
6
7
|
});
|
|
7
8
|
return e;
|
|
8
|
-
}, __toESM
|
|
9
|
+
}, __toESM = (e, t, r) => (r = e == null ? {} : __create(__getProtoOf(e)), __copyProps(t || !e || !e.__esModule ? __defProp$5(r, "default", {
|
|
9
10
|
value: e,
|
|
10
11
|
enumerable: !0
|
|
11
|
-
}) : r, e)), __defProp$
|
|
12
|
+
}) : r, e)), __defProp$4 = Object.defineProperty, __defNormalProp$4 = (e, t, r) => t in e ? __defProp$4(e, t, {
|
|
12
13
|
enumerable: !0,
|
|
13
14
|
configurable: !0,
|
|
14
15
|
writable: !0,
|
|
@@ -1201,7 +1202,7 @@ function inRing(e, t, r) {
|
|
|
1201
1202
|
function inBBox(e, t) {
|
|
1202
1203
|
return t[0] <= e[0] && t[1] <= e[1] && t[2] >= e[0] && t[3] >= e[1];
|
|
1203
1204
|
}
|
|
1204
|
-
var __defProp$
|
|
1205
|
+
var __defProp$3 = Object.defineProperty, __defNormalProp$3 = (e, t, r) => t in e ? __defProp$3(e, t, {
|
|
1205
1206
|
enumerable: !0,
|
|
1206
1207
|
configurable: !0,
|
|
1207
1208
|
writable: !0,
|
|
@@ -1832,7 +1833,7 @@ var Utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
1832
1833
|
get hasPoleStar() {
|
|
1833
1834
|
return this.optionalProviders.includes("PoleStar");
|
|
1834
1835
|
}
|
|
1835
|
-
}, __defProp$
|
|
1836
|
+
}, __defProp$2 = Object.defineProperty, __defNormalProp$2 = (e, t, r) => t in e ? __defProp$2(e, t, {
|
|
1836
1837
|
enumerable: !0,
|
|
1837
1838
|
configurable: !0,
|
|
1838
1839
|
writable: !0,
|
|
@@ -1941,7 +1942,7 @@ var _Logger = class e {
|
|
|
1941
1942
|
}
|
|
1942
1943
|
};
|
|
1943
1944
|
__publicField$2(_Logger, "LOG_LEVEL", "debug"), __publicField$2(_Logger, "SHOW_ORIGIN", !0), __publicField$2(_Logger, "ENABLED", !0), __publicField$2(_Logger, "HISTORY", []), __publicField$2(_Logger, "_COLOR_TOKEN", "%c"), __publicField$2(_Logger, "_TYPE_PREFIX", "<<<< "), __publicField$2(_Logger, "_TYPE_SUFFIX", " >>>>");
|
|
1944
|
-
var Logger = _Logger, require_ed5 = /* @__PURE__ */ __commonJSMin
|
|
1945
|
+
var Logger = _Logger, require_ed5 = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
1945
1946
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CHAR = " \n\r --�𐀀-", e.S = " \r\n", e.NAME_START_CHAR = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", e.NAME_CHAR = "-" + e.NAME_START_CHAR + ".0-9·̀-ͯ‿-⁀", e.CHAR_RE = RegExp("^[" + e.CHAR + "]$", "u"), e.S_RE = RegExp("^[" + e.S + "]+$", "u"), e.NAME_START_CHAR_RE = RegExp("^[" + e.NAME_START_CHAR + "]$", "u"), e.NAME_CHAR_RE = RegExp("^[" + e.NAME_CHAR + "]$", "u"), e.NAME_RE = RegExp("^[" + e.NAME_START_CHAR + "][" + e.NAME_CHAR + "]*$", "u"), e.NMTOKEN_RE = RegExp("^[" + e.NAME_CHAR + "]+$", "u");
|
|
1946
1947
|
var t = 9, r = 10, a = 13, o = 32;
|
|
1947
1948
|
e.S_LIST = [
|
|
@@ -1966,7 +1967,7 @@ var Logger = _Logger, require_ed5 = /* @__PURE__ */ __commonJSMin$1(((e) => {
|
|
|
1966
1967
|
return l(e) || e >= 48 && e <= 57 || e === 45 || e === 46 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
|
|
1967
1968
|
}
|
|
1968
1969
|
e.isNameChar = u;
|
|
1969
|
-
})), require_ed2 = /* @__PURE__ */ __commonJSMin
|
|
1970
|
+
})), require_ed2 = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
1970
1971
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CHAR = "--�𐀀-", e.RESTRICTED_CHAR = "-\b\v\f---", e.S = " \r\n", e.NAME_START_CHAR = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", e.NAME_CHAR = "-" + e.NAME_START_CHAR + ".0-9·̀-ͯ‿-⁀", e.CHAR_RE = RegExp("^[" + e.CHAR + "]$", "u"), e.RESTRICTED_CHAR_RE = RegExp("^[" + e.RESTRICTED_CHAR + "]$", "u"), e.S_RE = RegExp("^[" + e.S + "]+$", "u"), e.NAME_START_CHAR_RE = RegExp("^[" + e.NAME_START_CHAR + "]$", "u"), e.NAME_CHAR_RE = RegExp("^[" + e.NAME_CHAR + "]$", "u"), e.NAME_RE = RegExp("^[" + e.NAME_START_CHAR + "][" + e.NAME_CHAR + "]*$", "u"), e.NMTOKEN_RE = RegExp("^[" + e.NAME_CHAR + "]+$", "u");
|
|
1971
1972
|
var t = 9, r = 10, a = 13, o = 32;
|
|
1972
1973
|
e.S_LIST = [
|
|
@@ -1999,7 +2000,7 @@ var Logger = _Logger, require_ed5 = /* @__PURE__ */ __commonJSMin$1(((e) => {
|
|
|
1999
2000
|
return d(e) || e >= 48 && e <= 57 || e === 45 || e === 46 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
|
|
2000
2001
|
}
|
|
2001
2002
|
e.isNameChar = f;
|
|
2002
|
-
})), require_ed3 = /* @__PURE__ */ __commonJSMin
|
|
2003
|
+
})), require_ed3 = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
2003
2004
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NC_NAME_START_CHAR = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", e.NC_NAME_CHAR = "-" + e.NC_NAME_START_CHAR + ".0-9·̀-ͯ‿-⁀", e.NC_NAME_START_CHAR_RE = RegExp("^[" + e.NC_NAME_START_CHAR + "]$", "u"), e.NC_NAME_CHAR_RE = RegExp("^[" + e.NC_NAME_CHAR + "]$", "u"), e.NC_NAME_RE = RegExp("^[" + e.NC_NAME_START_CHAR + "][" + e.NC_NAME_CHAR + "]*$", "u");
|
|
2004
2005
|
function t(e) {
|
|
2005
2006
|
return e >= 65 && e <= 90 || e === 95 || e >= 97 && e <= 122 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 767 || e >= 880 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
@@ -2009,7 +2010,7 @@ var Logger = _Logger, require_ed5 = /* @__PURE__ */ __commonJSMin$1(((e) => {
|
|
|
2009
2010
|
return t(e) || e === 45 || e === 46 || e >= 48 && e <= 57 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
|
|
2010
2011
|
}
|
|
2011
2012
|
e.isNCNameChar = r;
|
|
2012
|
-
})), import_saxes = (/* @__PURE__ */ __commonJSMin
|
|
2013
|
+
})), import_saxes = (/* @__PURE__ */ __commonJSMin(((e) => {
|
|
2013
2014
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
2014
2015
|
var t = require_ed5(), r = require_ed2(), a = require_ed3(), o = t.isS, s = t.isChar, c = t.isNameStartChar, l = t.isNameChar, u = t.S_LIST, d = t.NAME_RE, f = r.isChar, p = a.isNCNameStartChar, h = a.isNCNameChar, v = a.NC_NAME_RE, y = "http://www.w3.org/XML/1998/namespace", b = "http://www.w3.org/2000/xmlns/", x = {
|
|
2015
2016
|
__proto__: null,
|
|
@@ -2022,25 +2023,25 @@ var Logger = _Logger, require_ed5 = /* @__PURE__ */ __commonJSMin$1(((e) => {
|
|
|
2022
2023
|
lt: "<",
|
|
2023
2024
|
quot: "\"",
|
|
2024
2025
|
apos: "'"
|
|
2025
|
-
}, w = -1, T = -2, E = 0, D = 1, O = 2, k = 3, A = 4, j = 5, M = 6, N = 7, F = 8, I = 9, L = 10, R = 11, z = 12, B = 13, V = 14,
|
|
2026
|
-
|
|
2027
|
-
|
|
2026
|
+
}, w = -1, T = -2, E = 0, D = 1, O = 2, k = 3, A = 4, j = 5, M = 6, N = 7, F = 8, I = 9, L = 10, R = 11, z = 12, B = 13, V = 14, fa = 15, pa = 16, ma = 17, ha = 18, ga = 19, _a = 20, va = 21, ya = 22, ba = 23, xa = 24, Sa = 25, Ca = 26, H = 27, U = 28, wa = 29, Ta = 30, Ea = 31, Da = 32, W = 33, Oa = 34, ka = 35, Aa = 36, ja = 37, G = 38, Ma = 39, Na = 40, Pa = 41, Fa = 42, Ia = 43, La = 44, Ra = 9, K = 10, za = 13, Ba = 32, Va = 33, Ha = 34, Ua = 38, Wa = 39, Ga = 45, Ka = 47, qa = 59, q = 60, Ja = 61, J = 62, Y = 63, Ya = 91, X = 93, Xa = 133, Za = 8232, Qa = (e) => e === Ha || e === Wa, $a = [Ha, Wa], ro = [
|
|
2027
|
+
...$a,
|
|
2028
|
+
Ya,
|
|
2029
|
+
J
|
|
2030
|
+
], io = [
|
|
2031
|
+
...$a,
|
|
2032
|
+
q,
|
|
2028
2033
|
X
|
|
2029
|
-
],
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
uo
|
|
2033
|
-
], xo = [
|
|
2034
|
-
co,
|
|
2035
|
-
Z,
|
|
2034
|
+
], ao = [
|
|
2035
|
+
Ja,
|
|
2036
|
+
Y,
|
|
2036
2037
|
...u
|
|
2037
|
-
],
|
|
2038
|
+
], oo = [
|
|
2038
2039
|
...u,
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2040
|
+
J,
|
|
2041
|
+
Ua,
|
|
2042
|
+
q
|
|
2042
2043
|
];
|
|
2043
|
-
function
|
|
2044
|
+
function so(e, t, r) {
|
|
2044
2045
|
switch (t) {
|
|
2045
2046
|
case "xml":
|
|
2046
2047
|
r !== y && e.fail(`xml prefix must be bound to ${y}.`);
|
|
@@ -2067,10 +2068,10 @@ ${b}.`);
|
|
|
2067
2068
|
default:
|
|
2068
2069
|
}
|
|
2069
2070
|
}
|
|
2070
|
-
function
|
|
2071
|
-
for (let r of Object.keys(t))
|
|
2071
|
+
function co(e, t) {
|
|
2072
|
+
for (let r of Object.keys(t)) so(e, r, t[r]);
|
|
2072
2073
|
}
|
|
2073
|
-
var
|
|
2074
|
+
var lo = (e) => v.test(e), uo = (e) => d.test(e), fo = 0, po = 1, mo = 2, ho = {
|
|
2074
2075
|
xmldecl: "xmldeclHandler",
|
|
2075
2076
|
text: "textHandler",
|
|
2076
2077
|
processinginstruction: "piHandler",
|
|
@@ -2090,10 +2091,10 @@ ${b}.`);
|
|
|
2090
2091
|
this.opt = e ?? {}, this.fragmentOpt = !!this.opt.fragment;
|
|
2091
2092
|
let t = this.xmlnsOpt = !!this.opt.xmlns;
|
|
2092
2093
|
if (this.trackPosition = this.opt.position !== !1, this.fileName = this.opt.fileName, t) {
|
|
2093
|
-
this.nameStartCheck = p, this.nameCheck = h, this.isName =
|
|
2094
|
+
this.nameStartCheck = p, this.nameCheck = h, this.isName = lo, this.processAttribs = this.processAttribsNS, this.pushAttrib = this.pushAttribNS, this.ns = Object.assign({ __proto__: null }, x);
|
|
2094
2095
|
let e = this.opt.additionalNamespaces;
|
|
2095
|
-
e != null && (
|
|
2096
|
-
} else this.nameStartCheck = c, this.nameCheck = l, this.isName =
|
|
2096
|
+
e != null && (co(this, e), Object.assign(this.ns, e));
|
|
2097
|
+
} else this.nameStartCheck = c, this.nameCheck = l, this.isName = uo, this.processAttribs = this.processAttribsPlain, this.pushAttrib = this.pushAttribPlain;
|
|
2097
2098
|
this.stateTable = [
|
|
2098
2099
|
this.sBegin,
|
|
2099
2100
|
this.sBeginWhitespace,
|
|
@@ -2147,7 +2148,7 @@ ${b}.`);
|
|
|
2147
2148
|
}
|
|
2148
2149
|
_init() {
|
|
2149
2150
|
var e;
|
|
2150
|
-
this.openWakaBang = "", this.text = "", this.name = "", this.piTarget = "", this.entity = "", this.q = null, this.tags = [], this.tag = null, this.topNS = null, this.chunk = "", this.chunkPosition = 0, this.i = 0, this.prevI = 0, this.carriedFromPrevious = void 0, this.forbiddenState =
|
|
2151
|
+
this.openWakaBang = "", this.text = "", this.name = "", this.piTarget = "", this.entity = "", this.q = null, this.tags = [], this.tag = null, this.topNS = null, this.chunk = "", this.chunkPosition = 0, this.i = 0, this.prevI = 0, this.carriedFromPrevious = void 0, this.forbiddenState = fo, this.attribList = [];
|
|
2151
2152
|
let { fragmentOpt: t } = this;
|
|
2152
2153
|
this.state = t ? B : E, this.reportedTextBeforeRoot = this.reportedTextAfterRoot = this.closedRoot = this.sawRoot = t, this.xmlDeclPossible = !t, this.xmlDeclExpects = ["version"], this.entityReturnState = void 0;
|
|
2153
2154
|
let { defaultXMLVersion: r } = this.opt;
|
|
@@ -2168,10 +2169,10 @@ ${b}.`);
|
|
|
2168
2169
|
return this.position - this.positionAtNewLine;
|
|
2169
2170
|
}
|
|
2170
2171
|
on(e, t) {
|
|
2171
|
-
this[
|
|
2172
|
+
this[ho[e]] = t;
|
|
2172
2173
|
}
|
|
2173
2174
|
off(e) {
|
|
2174
|
-
this[
|
|
2175
|
+
this[ho[e]] = void 0;
|
|
2175
2176
|
}
|
|
2176
2177
|
makeError(e) {
|
|
2177
2178
|
let t = this.fileName ?? "";
|
|
@@ -2187,7 +2188,7 @@ ${b}.`);
|
|
|
2187
2188
|
let t = !1;
|
|
2188
2189
|
e === null ? (t = !0, e = "") : typeof e == "object" && (e = e.toString()), this.carriedFromPrevious !== void 0 && (e = `${this.carriedFromPrevious}${e}`, this.carriedFromPrevious = void 0);
|
|
2189
2190
|
let r = e.length, a = e.charCodeAt(r - 1);
|
|
2190
|
-
!t && (a ===
|
|
2191
|
+
!t && (a === za || a >= 55296 && a <= 56319) && (this.carriedFromPrevious = e[r - 1], r--, e = e.slice(0, r));
|
|
2191
2192
|
let { stateTable: o } = this;
|
|
2192
2193
|
for (this.chunk = e, this.i = 0; this.i < r;) o[this.state].call(this);
|
|
2193
2194
|
return this.chunkPosition += r, t ? this.end() : this;
|
|
@@ -2200,10 +2201,10 @@ ${b}.`);
|
|
|
2200
2201
|
if (this.prevI = t, this.i = t + 1, t >= e.length) return w;
|
|
2201
2202
|
let r = e.charCodeAt(t);
|
|
2202
2203
|
if (this.column++, r < 55296) {
|
|
2203
|
-
if (r >=
|
|
2204
|
+
if (r >= Ba || r === Ra) return r;
|
|
2204
2205
|
switch (r) {
|
|
2205
|
-
case
|
|
2206
|
-
case
|
|
2206
|
+
case K: return this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
|
|
2207
|
+
case za: return e.charCodeAt(t + 1) === K && (this.i = t + 2), this.line++, this.column = 0, this.positionAtNewLine = this.position, T;
|
|
2207
2208
|
default: return this.fail("disallowed character."), r;
|
|
2208
2209
|
}
|
|
2209
2210
|
}
|
|
@@ -2216,15 +2217,15 @@ ${b}.`);
|
|
|
2216
2217
|
if (this.prevI = t, this.i = t + 1, t >= e.length) return w;
|
|
2217
2218
|
let r = e.charCodeAt(t);
|
|
2218
2219
|
if (this.column++, r < 55296) {
|
|
2219
|
-
if (r > 31 && r < 127 || r > 159 && r !==
|
|
2220
|
+
if (r > 31 && r < 127 || r > 159 && r !== Za || r === Ra) return r;
|
|
2220
2221
|
switch (r) {
|
|
2221
|
-
case
|
|
2222
|
-
case
|
|
2222
|
+
case K: return this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
|
|
2223
|
+
case za: {
|
|
2223
2224
|
let r = e.charCodeAt(t + 1);
|
|
2224
|
-
(r ===
|
|
2225
|
+
(r === K || r === Xa) && (this.i = t + 2);
|
|
2225
2226
|
}
|
|
2226
|
-
case
|
|
2227
|
-
case
|
|
2227
|
+
case Xa:
|
|
2228
|
+
case Za: return this.line++, this.column = 0, this.positionAtNewLine = this.position, T;
|
|
2228
2229
|
default: return this.fail("disallowed character."), r;
|
|
2229
2230
|
}
|
|
2230
2231
|
}
|
|
@@ -2234,7 +2235,7 @@ ${b}.`);
|
|
|
2234
2235
|
}
|
|
2235
2236
|
getCodeNorm() {
|
|
2236
2237
|
let e = this.getCode();
|
|
2237
|
-
return e === T ?
|
|
2238
|
+
return e === T ? K : e;
|
|
2238
2239
|
}
|
|
2239
2240
|
unget() {
|
|
2240
2241
|
this.i = this.prevI, this.column--;
|
|
@@ -2242,7 +2243,7 @@ ${b}.`);
|
|
|
2242
2243
|
captureTo(e) {
|
|
2243
2244
|
let { i: t } = this, { chunk: r } = this;
|
|
2244
2245
|
for (;;) {
|
|
2245
|
-
let a = this.getCode(), o = a === T, s = o ?
|
|
2246
|
+
let a = this.getCode(), o = a === T, s = o ? K : a;
|
|
2246
2247
|
if (s === w || e.includes(s)) return this.text += r.slice(t, this.prevI), s;
|
|
2247
2248
|
o && (this.text += `${r.slice(t, this.prevI)}\n`, t = this.i);
|
|
2248
2249
|
}
|
|
@@ -2253,7 +2254,7 @@ ${b}.`);
|
|
|
2253
2254
|
let a = this.getCode();
|
|
2254
2255
|
switch (a) {
|
|
2255
2256
|
case T:
|
|
2256
|
-
this.text += `${r.slice(t, this.prevI)}\n`, t = this.i, a =
|
|
2257
|
+
this.text += `${r.slice(t, this.prevI)}\n`, t = this.i, a = K;
|
|
2257
2258
|
break;
|
|
2258
2259
|
case w: return this.text += r.slice(t), !1;
|
|
2259
2260
|
default:
|
|
@@ -2266,7 +2267,7 @@ ${b}.`);
|
|
|
2266
2267
|
for (;;) {
|
|
2267
2268
|
let r = this.getCode();
|
|
2268
2269
|
if (r === w) return this.name += e.slice(t), w;
|
|
2269
|
-
if (!l(r)) return this.name += e.slice(t, this.prevI), r === T ?
|
|
2270
|
+
if (!l(r)) return this.name += e.slice(t, this.prevI), r === T ? K : r;
|
|
2270
2271
|
}
|
|
2271
2272
|
}
|
|
2272
2273
|
skipSpaces() {
|
|
@@ -2284,8 +2285,8 @@ ${b}.`);
|
|
|
2284
2285
|
sBeginWhitespace() {
|
|
2285
2286
|
let e = this.i, t = this.skipSpaces();
|
|
2286
2287
|
switch (this.prevI !== e && (this.xmlDeclPossible = !1), t) {
|
|
2287
|
-
case
|
|
2288
|
-
if (this.state =
|
|
2288
|
+
case q:
|
|
2289
|
+
if (this.state = fa, this.text.length !== 0) throw Error("no-empty text at start");
|
|
2289
2290
|
break;
|
|
2290
2291
|
case w: break;
|
|
2291
2292
|
default: this.unget(), this.state = B, this.xmlDeclPossible = !1;
|
|
@@ -2293,13 +2294,13 @@ ${b}.`);
|
|
|
2293
2294
|
}
|
|
2294
2295
|
sDoctype() {
|
|
2295
2296
|
var e;
|
|
2296
|
-
let t = this.captureTo(
|
|
2297
|
+
let t = this.captureTo(ro);
|
|
2297
2298
|
switch (t) {
|
|
2298
|
-
case
|
|
2299
|
+
case J:
|
|
2299
2300
|
(e = this.doctypeHandler) == null || e.call(this, this.text), this.text = "", this.state = B, this.doctype = !0;
|
|
2300
2301
|
break;
|
|
2301
2302
|
case w: break;
|
|
2302
|
-
default: this.text += String.fromCodePoint(t), t ===
|
|
2303
|
+
default: this.text += String.fromCodePoint(t), t === Ya ? this.state = A : Qa(t) && (this.state = k, this.q = t);
|
|
2303
2304
|
}
|
|
2304
2305
|
}
|
|
2305
2306
|
sDoctypeQuote() {
|
|
@@ -2307,8 +2308,8 @@ ${b}.`);
|
|
|
2307
2308
|
this.captureToChar(e) && (this.text += String.fromCodePoint(e), this.q = null, this.state = O);
|
|
2308
2309
|
}
|
|
2309
2310
|
sDTD() {
|
|
2310
|
-
let e = this.captureTo(
|
|
2311
|
-
e !== w && (this.text += String.fromCodePoint(e), e ===
|
|
2311
|
+
let e = this.captureTo(io);
|
|
2312
|
+
e !== w && (this.text += String.fromCodePoint(e), e === X ? this.state = O : e === q ? this.state = M : Qa(e) && (this.state = j, this.q = e));
|
|
2312
2313
|
}
|
|
2313
2314
|
sDTDQuoted() {
|
|
2314
2315
|
let e = this.q;
|
|
@@ -2317,10 +2318,10 @@ ${b}.`);
|
|
|
2317
2318
|
sDTDOpenWaka() {
|
|
2318
2319
|
let e = this.getCodeNorm();
|
|
2319
2320
|
switch (this.text += String.fromCodePoint(e), e) {
|
|
2320
|
-
case
|
|
2321
|
+
case Va:
|
|
2321
2322
|
this.state = N, this.openWakaBang = "";
|
|
2322
2323
|
break;
|
|
2323
|
-
case
|
|
2324
|
+
case Y:
|
|
2324
2325
|
this.state = R;
|
|
2325
2326
|
break;
|
|
2326
2327
|
default: this.state = A;
|
|
@@ -2331,22 +2332,22 @@ ${b}.`);
|
|
|
2331
2332
|
this.text += e, t !== "-" && (this.state = t === "--" ? F : A, this.openWakaBang = "");
|
|
2332
2333
|
}
|
|
2333
2334
|
sDTDComment() {
|
|
2334
|
-
this.captureToChar(
|
|
2335
|
+
this.captureToChar(Ga) && (this.text += "-", this.state = I);
|
|
2335
2336
|
}
|
|
2336
2337
|
sDTDCommentEnding() {
|
|
2337
2338
|
let e = this.getCodeNorm();
|
|
2338
|
-
this.text += String.fromCodePoint(e), this.state = e ===
|
|
2339
|
+
this.text += String.fromCodePoint(e), this.state = e === Ga ? L : F;
|
|
2339
2340
|
}
|
|
2340
2341
|
sDTDCommentEnded() {
|
|
2341
2342
|
let e = this.getCodeNorm();
|
|
2342
|
-
this.text += String.fromCodePoint(e), e ===
|
|
2343
|
+
this.text += String.fromCodePoint(e), e === J ? this.state = A : (this.fail("malformed comment."), this.state = F);
|
|
2343
2344
|
}
|
|
2344
2345
|
sDTDPI() {
|
|
2345
|
-
this.captureToChar(
|
|
2346
|
+
this.captureToChar(Y) && (this.text += "?", this.state = z);
|
|
2346
2347
|
}
|
|
2347
2348
|
sDTDPIEnding() {
|
|
2348
2349
|
let e = this.getCodeNorm();
|
|
2349
|
-
this.text += String.fromCodePoint(e), e ===
|
|
2350
|
+
this.text += String.fromCodePoint(e), e === J && (this.state = A);
|
|
2350
2351
|
}
|
|
2351
2352
|
sText() {
|
|
2352
2353
|
this.tags.length === 0 ? this.handleTextOutsideRoot() : this.handleTextInRoot();
|
|
@@ -2357,7 +2358,7 @@ ${b}.`);
|
|
|
2357
2358
|
case T:
|
|
2358
2359
|
this.entity += `${t.slice(e, this.prevI)}\n`, e = this.i;
|
|
2359
2360
|
break;
|
|
2360
|
-
case
|
|
2361
|
+
case qa: {
|
|
2361
2362
|
let { entityReturnState: r } = this, a = this.entity + t.slice(e, this.prevI);
|
|
2362
2363
|
this.state = r;
|
|
2363
2364
|
let o;
|
|
@@ -2372,16 +2373,16 @@ ${b}.`);
|
|
|
2372
2373
|
}
|
|
2373
2374
|
sOpenWaka() {
|
|
2374
2375
|
let e = this.getCode();
|
|
2375
|
-
if (c(e)) this.state =
|
|
2376
|
+
if (c(e)) this.state = Oa, this.unget(), this.xmlDeclPossible = !1;
|
|
2376
2377
|
else switch (e) {
|
|
2377
|
-
case
|
|
2378
|
-
this.state =
|
|
2378
|
+
case Ka:
|
|
2379
|
+
this.state = Ia, this.xmlDeclPossible = !1;
|
|
2379
2380
|
break;
|
|
2380
|
-
case
|
|
2381
|
-
this.state =
|
|
2381
|
+
case Va:
|
|
2382
|
+
this.state = pa, this.openWakaBang = "", this.xmlDeclPossible = !1;
|
|
2382
2383
|
break;
|
|
2383
|
-
case
|
|
2384
|
-
this.state =
|
|
2384
|
+
case Y:
|
|
2385
|
+
this.state = ba;
|
|
2385
2386
|
break;
|
|
2386
2387
|
default: this.fail("disallowed character in tag name"), this.state = B, this.xmlDeclPossible = !1;
|
|
2387
2388
|
}
|
|
@@ -2389,10 +2390,10 @@ ${b}.`);
|
|
|
2389
2390
|
sOpenWakaBang() {
|
|
2390
2391
|
switch (this.openWakaBang += String.fromCodePoint(this.getCodeNorm()), this.openWakaBang) {
|
|
2391
2392
|
case "[CDATA[":
|
|
2392
|
-
!this.sawRoot && !this.reportedTextBeforeRoot && (this.fail("text data outside of root node."), this.reportedTextBeforeRoot = !0), this.closedRoot && !this.reportedTextAfterRoot && (this.fail("text data outside of root node."), this.reportedTextAfterRoot = !0), this.state =
|
|
2393
|
+
!this.sawRoot && !this.reportedTextBeforeRoot && (this.fail("text data outside of root node."), this.reportedTextBeforeRoot = !0), this.closedRoot && !this.reportedTextAfterRoot && (this.fail("text data outside of root node."), this.reportedTextAfterRoot = !0), this.state = _a, this.openWakaBang = "";
|
|
2393
2394
|
break;
|
|
2394
2395
|
case "--":
|
|
2395
|
-
this.state =
|
|
2396
|
+
this.state = ma, this.openWakaBang = "";
|
|
2396
2397
|
break;
|
|
2397
2398
|
case "DOCTYPE":
|
|
2398
2399
|
this.state = O, (this.doctype || this.sawRoot) && this.fail("inappropriately located doctype declaration."), this.openWakaBang = "";
|
|
@@ -2401,40 +2402,40 @@ ${b}.`);
|
|
|
2401
2402
|
}
|
|
2402
2403
|
}
|
|
2403
2404
|
sComment() {
|
|
2404
|
-
this.captureToChar(
|
|
2405
|
+
this.captureToChar(Ga) && (this.state = ha);
|
|
2405
2406
|
}
|
|
2406
2407
|
sCommentEnding() {
|
|
2407
2408
|
var e;
|
|
2408
2409
|
let t = this.getCodeNorm();
|
|
2409
|
-
t ===
|
|
2410
|
+
t === Ga ? (this.state = ga, (e = this.commentHandler) == null || e.call(this, this.text), this.text = "") : (this.text += `-${String.fromCodePoint(t)}`, this.state = ma);
|
|
2410
2411
|
}
|
|
2411
2412
|
sCommentEnded() {
|
|
2412
2413
|
let e = this.getCodeNorm();
|
|
2413
|
-
e ===
|
|
2414
|
+
e === J ? this.state = B : (this.fail("malformed comment."), this.text += `--${String.fromCodePoint(e)}`, this.state = ma);
|
|
2414
2415
|
}
|
|
2415
2416
|
sCData() {
|
|
2416
|
-
this.captureToChar(
|
|
2417
|
+
this.captureToChar(X) && (this.state = va);
|
|
2417
2418
|
}
|
|
2418
2419
|
sCDataEnding() {
|
|
2419
2420
|
let e = this.getCodeNorm();
|
|
2420
|
-
e ===
|
|
2421
|
+
e === X ? this.state = ya : (this.text += `]${String.fromCodePoint(e)}`, this.state = _a);
|
|
2421
2422
|
}
|
|
2422
2423
|
sCDataEnding2() {
|
|
2423
2424
|
var e;
|
|
2424
2425
|
let t = this.getCodeNorm();
|
|
2425
2426
|
switch (t) {
|
|
2426
|
-
case
|
|
2427
|
+
case J:
|
|
2427
2428
|
(e = this.cdataHandler) == null || e.call(this, this.text), this.text = "", this.state = B;
|
|
2428
2429
|
break;
|
|
2429
|
-
case
|
|
2430
|
+
case X:
|
|
2430
2431
|
this.text += "]";
|
|
2431
2432
|
break;
|
|
2432
|
-
default: this.text += `]]${String.fromCodePoint(t)}`, this.state =
|
|
2433
|
+
default: this.text += `]]${String.fromCodePoint(t)}`, this.state = _a;
|
|
2433
2434
|
}
|
|
2434
2435
|
}
|
|
2435
2436
|
sPIFirstChar() {
|
|
2436
2437
|
let e = this.getCodeNorm();
|
|
2437
|
-
this.nameStartCheck(e) ? (this.piTarget += String.fromCodePoint(e), this.state =
|
|
2438
|
+
this.nameStartCheck(e) ? (this.piTarget += String.fromCodePoint(e), this.state = xa) : e === Y || o(e) ? (this.fail("processing instruction without a target."), this.state = e === Y ? Ca : Sa) : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(e), this.state = xa);
|
|
2438
2439
|
}
|
|
2439
2440
|
sPIRest() {
|
|
2440
2441
|
let { chunk: e, i: t } = this;
|
|
@@ -2446,8 +2447,8 @@ ${b}.`);
|
|
|
2446
2447
|
}
|
|
2447
2448
|
if (!this.nameCheck(r)) {
|
|
2448
2449
|
this.piTarget += e.slice(t, this.prevI);
|
|
2449
|
-
let a = r ===
|
|
2450
|
-
a || o(r) ? this.piTarget === "xml" ? (this.xmlDeclPossible || this.fail("an XML declaration must be at the start of the document."), this.state = a ? W : H) : this.state = a ?
|
|
2450
|
+
let a = r === Y;
|
|
2451
|
+
a || o(r) ? this.piTarget === "xml" ? (this.xmlDeclPossible || this.fail("an XML declaration must be at the start of the document."), this.state = a ? W : H) : this.state = a ? Ca : Sa : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(r));
|
|
2451
2452
|
break;
|
|
2452
2453
|
}
|
|
2453
2454
|
}
|
|
@@ -2455,36 +2456,36 @@ ${b}.`);
|
|
|
2455
2456
|
sPIBody() {
|
|
2456
2457
|
if (this.text.length === 0) {
|
|
2457
2458
|
let e = this.getCodeNorm();
|
|
2458
|
-
e ===
|
|
2459
|
-
} else this.captureToChar(
|
|
2459
|
+
e === Y ? this.state = Ca : o(e) || (this.text = String.fromCodePoint(e));
|
|
2460
|
+
} else this.captureToChar(Y) && (this.state = Ca);
|
|
2460
2461
|
}
|
|
2461
2462
|
sPIEnding() {
|
|
2462
2463
|
var e;
|
|
2463
2464
|
let t = this.getCodeNorm();
|
|
2464
|
-
if (t ===
|
|
2465
|
+
if (t === J) {
|
|
2465
2466
|
let { piTarget: t } = this;
|
|
2466
2467
|
t.toLowerCase() === "xml" && this.fail("the XML declaration must appear at the start of the document."), (e = this.piHandler) == null || e.call(this, {
|
|
2467
2468
|
target: t,
|
|
2468
2469
|
body: this.text
|
|
2469
2470
|
}), this.piTarget = this.text = "", this.state = B;
|
|
2470
|
-
} else t ===
|
|
2471
|
+
} else t === Y ? this.text += "?" : (this.text += `?${String.fromCodePoint(t)}`, this.state = Sa);
|
|
2471
2472
|
this.xmlDeclPossible = !1;
|
|
2472
2473
|
}
|
|
2473
2474
|
sXMLDeclNameStart() {
|
|
2474
2475
|
let e = this.skipSpaces();
|
|
2475
|
-
if (e ===
|
|
2476
|
+
if (e === Y) {
|
|
2476
2477
|
this.state = W;
|
|
2477
2478
|
return;
|
|
2478
2479
|
}
|
|
2479
2480
|
e !== w && (this.state = U, this.name = String.fromCodePoint(e));
|
|
2480
2481
|
}
|
|
2481
2482
|
sXMLDeclName() {
|
|
2482
|
-
let e = this.captureTo(
|
|
2483
|
-
if (e ===
|
|
2483
|
+
let e = this.captureTo(ao);
|
|
2484
|
+
if (e === Y) {
|
|
2484
2485
|
this.state = W, this.name += this.text, this.text = "", this.fail("XML declaration is incomplete.");
|
|
2485
2486
|
return;
|
|
2486
2487
|
}
|
|
2487
|
-
if (o(e) || e ===
|
|
2488
|
+
if (o(e) || e === Ja) {
|
|
2488
2489
|
if (this.name += this.text, this.text = "", !this.xmlDeclExpects.includes(this.name)) switch (this.name.length) {
|
|
2489
2490
|
case 0:
|
|
2490
2491
|
this.fail("did not expect any more name/value pairs.");
|
|
@@ -2494,28 +2495,28 @@ ${b}.`);
|
|
|
2494
2495
|
break;
|
|
2495
2496
|
default: this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`);
|
|
2496
2497
|
}
|
|
2497
|
-
this.state = e ===
|
|
2498
|
+
this.state = e === Ja ? Ta : wa;
|
|
2498
2499
|
}
|
|
2499
2500
|
}
|
|
2500
2501
|
sXMLDeclEq() {
|
|
2501
2502
|
let e = this.getCodeNorm();
|
|
2502
|
-
if (e ===
|
|
2503
|
+
if (e === Y) {
|
|
2503
2504
|
this.state = W, this.fail("XML declaration is incomplete.");
|
|
2504
2505
|
return;
|
|
2505
2506
|
}
|
|
2506
|
-
o(e) || (e !==
|
|
2507
|
+
o(e) || (e !== Ja && this.fail("value required."), this.state = Ta);
|
|
2507
2508
|
}
|
|
2508
2509
|
sXMLDeclValueStart() {
|
|
2509
2510
|
let e = this.getCodeNorm();
|
|
2510
|
-
if (e ===
|
|
2511
|
+
if (e === Y) {
|
|
2511
2512
|
this.state = W, this.fail("XML declaration is incomplete.");
|
|
2512
2513
|
return;
|
|
2513
2514
|
}
|
|
2514
|
-
o(e) || (
|
|
2515
|
+
o(e) || (Qa(e) ? this.q = e : (this.fail("value must be quoted."), this.q = Ba), this.state = Ea);
|
|
2515
2516
|
}
|
|
2516
2517
|
sXMLDeclValue() {
|
|
2517
|
-
let e = this.captureTo([this.q,
|
|
2518
|
-
if (e ===
|
|
2518
|
+
let e = this.captureTo([this.q, Y]);
|
|
2519
|
+
if (e === Y) {
|
|
2519
2520
|
this.state = W, this.text = "", this.fail("XML declaration is incomplete.");
|
|
2520
2521
|
return;
|
|
2521
2522
|
}
|
|
@@ -2536,11 +2537,11 @@ ${b}.`);
|
|
|
2536
2537
|
break;
|
|
2537
2538
|
default:
|
|
2538
2539
|
}
|
|
2539
|
-
this.name = "", this.state =
|
|
2540
|
+
this.name = "", this.state = Da;
|
|
2540
2541
|
}
|
|
2541
2542
|
sXMLDeclSeparator() {
|
|
2542
2543
|
let e = this.getCodeNorm();
|
|
2543
|
-
if (e ===
|
|
2544
|
+
if (e === Y) {
|
|
2544
2545
|
this.state = W;
|
|
2545
2546
|
return;
|
|
2546
2547
|
}
|
|
@@ -2548,7 +2549,7 @@ ${b}.`);
|
|
|
2548
2549
|
}
|
|
2549
2550
|
sXMLDeclEnding() {
|
|
2550
2551
|
var e;
|
|
2551
|
-
this.getCodeNorm() ===
|
|
2552
|
+
this.getCodeNorm() === J ? (this.piTarget === "xml" ? this.name !== "version" && this.xmlDeclExpects.includes("version") && this.fail("XML declaration must contain a version.") : this.fail("processing instructions are not allowed before root."), (e = this.xmldeclHandler) == null || e.call(this, this.xmlDecl), this.name = "", this.piTarget = this.text = "", this.state = B) : this.fail("The character ? is disallowed anywhere in XML declarations."), this.xmlDeclPossible = !1;
|
|
2552
2553
|
}
|
|
2553
2554
|
sOpenTag() {
|
|
2554
2555
|
var e;
|
|
@@ -2559,55 +2560,55 @@ ${b}.`);
|
|
|
2559
2560
|
attributes: Object.create(null)
|
|
2560
2561
|
};
|
|
2561
2562
|
switch (this.name = "", this.xmlnsOpt && (this.topNS = r.ns = Object.create(null)), (e = this.openTagStartHandler) == null || e.call(this, r), this.sawRoot = !0, !this.fragmentOpt && this.closedRoot && this.fail("documents may contain only one root."), t) {
|
|
2562
|
-
case
|
|
2563
|
+
case J:
|
|
2563
2564
|
this.openTag();
|
|
2564
2565
|
break;
|
|
2565
|
-
case
|
|
2566
|
-
this.state =
|
|
2566
|
+
case Ka:
|
|
2567
|
+
this.state = ka;
|
|
2567
2568
|
break;
|
|
2568
|
-
default: o(t) || this.fail("disallowed character in tag name."), this.state =
|
|
2569
|
+
default: o(t) || this.fail("disallowed character in tag name."), this.state = Aa;
|
|
2569
2570
|
}
|
|
2570
2571
|
}
|
|
2571
2572
|
sOpenTagSlash() {
|
|
2572
|
-
this.getCode() ===
|
|
2573
|
+
this.getCode() === J ? this.openSelfClosingTag() : (this.fail("forward-slash in opening tag not followed by >."), this.state = Aa);
|
|
2573
2574
|
}
|
|
2574
2575
|
sAttrib() {
|
|
2575
2576
|
let e = this.skipSpaces();
|
|
2576
|
-
e !== w && (c(e) ? (this.unget(), this.state =
|
|
2577
|
+
e !== w && (c(e) ? (this.unget(), this.state = ja) : e === J ? this.openTag() : e === Ka ? this.state = ka : this.fail("disallowed character in attribute name."));
|
|
2577
2578
|
}
|
|
2578
2579
|
sAttribName() {
|
|
2579
2580
|
let e = this.captureNameChars();
|
|
2580
|
-
e ===
|
|
2581
|
+
e === Ja ? this.state = Ma : o(e) ? this.state = G : e === J ? (this.fail("attribute without value."), this.pushAttrib(this.name, this.name), this.name = this.text = "", this.openTag()) : e !== w && this.fail("disallowed character in attribute name.");
|
|
2581
2582
|
}
|
|
2582
2583
|
sAttribNameSawWhite() {
|
|
2583
2584
|
let e = this.skipSpaces();
|
|
2584
2585
|
switch (e) {
|
|
2585
2586
|
case w: return;
|
|
2586
|
-
case
|
|
2587
|
-
this.state =
|
|
2587
|
+
case Ja:
|
|
2588
|
+
this.state = Ma;
|
|
2588
2589
|
break;
|
|
2589
|
-
default: this.fail("attribute without value."), this.text = "", this.name = "", e ===
|
|
2590
|
+
default: this.fail("attribute without value."), this.text = "", this.name = "", e === J ? this.openTag() : c(e) ? (this.unget(), this.state = ja) : (this.fail("disallowed character in attribute name."), this.state = Aa);
|
|
2590
2591
|
}
|
|
2591
2592
|
}
|
|
2592
2593
|
sAttribValue() {
|
|
2593
2594
|
let e = this.getCodeNorm();
|
|
2594
|
-
|
|
2595
|
+
Qa(e) ? (this.q = e, this.state = Na) : o(e) || (this.fail("unquoted attribute value."), this.state = Fa, this.unget());
|
|
2595
2596
|
}
|
|
2596
2597
|
sAttribValueQuoted() {
|
|
2597
2598
|
let { q: e, chunk: t } = this, { i: r } = this;
|
|
2598
2599
|
for (;;) switch (this.getCode()) {
|
|
2599
2600
|
case e:
|
|
2600
|
-
this.pushAttrib(this.name, this.text + t.slice(r, this.prevI)), this.name = this.text = "", this.q = null, this.state =
|
|
2601
|
+
this.pushAttrib(this.name, this.text + t.slice(r, this.prevI)), this.name = this.text = "", this.q = null, this.state = Pa;
|
|
2601
2602
|
return;
|
|
2602
|
-
case
|
|
2603
|
-
this.text += t.slice(r, this.prevI), this.state = V, this.entityReturnState =
|
|
2603
|
+
case Ua:
|
|
2604
|
+
this.text += t.slice(r, this.prevI), this.state = V, this.entityReturnState = Na;
|
|
2604
2605
|
return;
|
|
2605
|
-
case
|
|
2606
|
+
case K:
|
|
2606
2607
|
case T:
|
|
2607
|
-
case
|
|
2608
|
+
case Ra:
|
|
2608
2609
|
this.text += `${t.slice(r, this.prevI)} `, r = this.i;
|
|
2609
2610
|
break;
|
|
2610
|
-
case
|
|
2611
|
+
case q:
|
|
2611
2612
|
this.text += t.slice(r, this.prevI), this.fail("disallowed character.");
|
|
2612
2613
|
return;
|
|
2613
2614
|
case w:
|
|
@@ -2618,28 +2619,28 @@ ${b}.`);
|
|
|
2618
2619
|
}
|
|
2619
2620
|
sAttribValueClosed() {
|
|
2620
2621
|
let e = this.getCodeNorm();
|
|
2621
|
-
o(e) ? this.state =
|
|
2622
|
+
o(e) ? this.state = Aa : e === J ? this.openTag() : e === Ka ? this.state = ka : c(e) ? (this.fail("no whitespace between attributes."), this.unget(), this.state = ja) : this.fail("disallowed character in attribute name.");
|
|
2622
2623
|
}
|
|
2623
2624
|
sAttribValueUnquoted() {
|
|
2624
|
-
let e = this.captureTo(
|
|
2625
|
+
let e = this.captureTo(oo);
|
|
2625
2626
|
switch (e) {
|
|
2626
|
-
case
|
|
2627
|
-
this.state = V, this.entityReturnState =
|
|
2627
|
+
case Ua:
|
|
2628
|
+
this.state = V, this.entityReturnState = Fa;
|
|
2628
2629
|
break;
|
|
2629
|
-
case
|
|
2630
|
+
case q:
|
|
2630
2631
|
this.fail("disallowed character.");
|
|
2631
2632
|
break;
|
|
2632
2633
|
case w: break;
|
|
2633
|
-
default: this.text.includes("]]>") && this.fail("the string \"]]>\" is disallowed in char data."), this.pushAttrib(this.name, this.text), this.name = this.text = "", e ===
|
|
2634
|
+
default: this.text.includes("]]>") && this.fail("the string \"]]>\" is disallowed in char data."), this.pushAttrib(this.name, this.text), this.name = this.text = "", e === J ? this.openTag() : this.state = Aa;
|
|
2634
2635
|
}
|
|
2635
2636
|
}
|
|
2636
2637
|
sCloseTag() {
|
|
2637
2638
|
let e = this.captureNameChars();
|
|
2638
|
-
e ===
|
|
2639
|
+
e === J ? this.closeTag() : o(e) ? this.state = La : e !== w && this.fail("disallowed character in closing tag.");
|
|
2639
2640
|
}
|
|
2640
2641
|
sCloseTagSawWhite() {
|
|
2641
2642
|
switch (this.skipSpaces()) {
|
|
2642
|
-
case
|
|
2643
|
+
case J:
|
|
2643
2644
|
this.closeTag();
|
|
2644
2645
|
break;
|
|
2645
2646
|
case w: break;
|
|
@@ -2649,38 +2650,38 @@ ${b}.`);
|
|
|
2649
2650
|
handleTextInRoot() {
|
|
2650
2651
|
let { i: e, forbiddenState: t } = this, { chunk: r, textHandler: a } = this;
|
|
2651
2652
|
scanLoop: for (;;) switch (this.getCode()) {
|
|
2652
|
-
case
|
|
2653
|
-
if (this.state =
|
|
2653
|
+
case q:
|
|
2654
|
+
if (this.state = fa, a !== void 0) {
|
|
2654
2655
|
let { text: t } = this, o = r.slice(e, this.prevI);
|
|
2655
2656
|
t.length === 0 ? o.length !== 0 && a(o) : (a(t + o), this.text = "");
|
|
2656
2657
|
}
|
|
2657
|
-
t =
|
|
2658
|
+
t = fo;
|
|
2658
2659
|
break scanLoop;
|
|
2659
|
-
case
|
|
2660
|
-
this.state = V, this.entityReturnState = B, a !== void 0 && (this.text += r.slice(e, this.prevI)), t =
|
|
2660
|
+
case Ua:
|
|
2661
|
+
this.state = V, this.entityReturnState = B, a !== void 0 && (this.text += r.slice(e, this.prevI)), t = fo;
|
|
2661
2662
|
break scanLoop;
|
|
2662
|
-
case
|
|
2663
|
+
case X:
|
|
2663
2664
|
switch (t) {
|
|
2664
|
-
case
|
|
2665
|
-
t =
|
|
2665
|
+
case fo:
|
|
2666
|
+
t = po;
|
|
2666
2667
|
break;
|
|
2667
|
-
case
|
|
2668
|
-
t =
|
|
2668
|
+
case po:
|
|
2669
|
+
t = mo;
|
|
2669
2670
|
break;
|
|
2670
|
-
case
|
|
2671
|
+
case mo: break;
|
|
2671
2672
|
default: throw Error("impossible state");
|
|
2672
2673
|
}
|
|
2673
2674
|
break;
|
|
2674
|
-
case
|
|
2675
|
-
t ===
|
|
2675
|
+
case J:
|
|
2676
|
+
t === mo && this.fail("the string \"]]>\" is disallowed in char data."), t = fo;
|
|
2676
2677
|
break;
|
|
2677
2678
|
case T:
|
|
2678
|
-
a !== void 0 && (this.text += `${r.slice(e, this.prevI)}\n`), e = this.i, t =
|
|
2679
|
+
a !== void 0 && (this.text += `${r.slice(e, this.prevI)}\n`), e = this.i, t = fo;
|
|
2679
2680
|
break;
|
|
2680
2681
|
case w:
|
|
2681
2682
|
a !== void 0 && (this.text += r.slice(e));
|
|
2682
2683
|
break scanLoop;
|
|
2683
|
-
default: t =
|
|
2684
|
+
default: t = fo;
|
|
2684
2685
|
}
|
|
2685
2686
|
this.forbiddenState = t;
|
|
2686
2687
|
}
|
|
@@ -2689,13 +2690,13 @@ ${b}.`);
|
|
|
2689
2690
|
outRootLoop: for (;;) {
|
|
2690
2691
|
let s = this.getCode();
|
|
2691
2692
|
switch (s) {
|
|
2692
|
-
case
|
|
2693
|
-
if (this.state =
|
|
2693
|
+
case q:
|
|
2694
|
+
if (this.state = fa, r !== void 0) {
|
|
2694
2695
|
let { text: a } = this, o = t.slice(e, this.prevI);
|
|
2695
2696
|
a.length === 0 ? o.length !== 0 && r(o) : (r(a + o), this.text = "");
|
|
2696
2697
|
}
|
|
2697
2698
|
break outRootLoop;
|
|
2698
|
-
case
|
|
2699
|
+
case Ua:
|
|
2699
2700
|
this.state = V, this.entityReturnState = B, r !== void 0 && (this.text += t.slice(e, this.prevI)), a = !0;
|
|
2700
2701
|
break outRootLoop;
|
|
2701
2702
|
case T:
|
|
@@ -2719,10 +2720,10 @@ ${b}.`);
|
|
|
2719
2720
|
};
|
|
2720
2721
|
if (this.attribList.push(s), (r = this.attributeHandler) == null || r.call(this, s), a === "xmlns") {
|
|
2721
2722
|
let e = t.trim();
|
|
2722
|
-
this.currentXMLVersion === "1.0" && e === "" && this.fail("invalid attempt to undefine prefix in XML 1.0"), this.topNS[o] = e,
|
|
2723
|
+
this.currentXMLVersion === "1.0" && e === "" && this.fail("invalid attempt to undefine prefix in XML 1.0"), this.topNS[o] = e, so(this, o, e);
|
|
2723
2724
|
} else if (e === "xmlns") {
|
|
2724
2725
|
let e = t.trim();
|
|
2725
|
-
this.topNS[""] = e,
|
|
2726
|
+
this.topNS[""] = e, so(this, "", e);
|
|
2726
2727
|
}
|
|
2727
2728
|
}
|
|
2728
2729
|
pushAttribPlain(e, t) {
|
|
@@ -2821,7 +2822,7 @@ ${b}.`);
|
|
|
2821
2822
|
return e[1] === "x" && /^#x[0-9a-f]+$/i.test(e) ? t = parseInt(e.slice(2), 16) : /^#[0-9]+$/.test(e) && (t = parseInt(e.slice(1), 10)), this.isChar(t) ? String.fromCodePoint(t) : (this.fail("malformed character entity."), `&${e};`);
|
|
2822
2823
|
}
|
|
2823
2824
|
};
|
|
2824
|
-
})))(), __defProp$
|
|
2825
|
+
})))(), __defProp$1 = Object.defineProperty, __defNormalProp$1 = (e, t, r) => t in e ? __defProp$1(e, t, {
|
|
2825
2826
|
enumerable: !0,
|
|
2826
2827
|
configurable: !0,
|
|
2827
2828
|
writable: !0,
|
|
@@ -3023,7 +3024,7 @@ ${b}.`);
|
|
|
3023
3024
|
static isRoutingBoundsEntryPoint(e) {
|
|
3024
3025
|
return e["wemap:routing-io"] === "yes";
|
|
3025
3026
|
}
|
|
3026
|
-
}, require_salesman = /* @__PURE__ */ __commonJSMin
|
|
3027
|
+
}, require_salesman = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
3027
3028
|
function r(e, t) {
|
|
3028
3029
|
this.points = e, this.distanceFunc = t, this.initializeOrder(), this.initializeDistances();
|
|
3029
3030
|
}
|
|
@@ -3071,7 +3072,7 @@ ${b}.`);
|
|
|
3071
3072
|
solve: o,
|
|
3072
3073
|
Point: a
|
|
3073
3074
|
});
|
|
3074
|
-
})), require_polyline = /* @__PURE__ */ __commonJSMin
|
|
3075
|
+
})), require_polyline = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
3075
3076
|
var r = {};
|
|
3076
3077
|
function a(e) {
|
|
3077
3078
|
return Math.floor(Math.abs(e) + .5) * (e >= 0 ? 1 : -1);
|
|
@@ -3122,7 +3123,7 @@ ${b}.`);
|
|
|
3122
3123
|
}, typeof t == "object" && t.exports && (t.exports = r);
|
|
3123
3124
|
}));
|
|
3124
3125
|
require_salesman();
|
|
3125
|
-
var import_polyline = /* @__PURE__ */ __toESM
|
|
3126
|
+
var import_polyline = /* @__PURE__ */ __toESM(require_polyline(), 1), __defProp = Object.defineProperty, __defNormalProp = (e, t, r) => t in e ? __defProp(e, t, {
|
|
3126
3127
|
enumerable: !0,
|
|
3127
3128
|
configurable: !0,
|
|
3128
3129
|
writable: !0,
|
|
@@ -3394,14 +3395,14 @@ var GraphRoute = class e extends Graph {
|
|
|
3394
3395
|
for (let r = 0; r < e.vertices.length - 1; r++) {
|
|
3395
3396
|
let a = e.vertices[r], c = a.coords, l = e.vertices[r + 1], u = l.coords, d = e.edges[r], f = a.bearingTo(l), p = diffAngle(s, f + Math.PI), h = t.length ? t[t.length - 1] : null, v = OsmTagsUtils.isSubwayEntrance(a.rawTags), y = OsmTagsUtils.isGate(a.rawTags), b = OsmTagsUtils.getRef(a.rawTags), { isElevator: x, areEscalators: C, areStairs: w, isMovingWalkway: T, incline: E } = d.properties, D;
|
|
3396
3397
|
(w || x) && E && (h?.levelDifference === null || h?.levelDifference === void 0) && (D = E);
|
|
3397
|
-
let O = (r > 0 ? e.edges[r - 1] : null)?.properties || {}, k = !!(O.incline && O.areStairs && (!E || !w)), A = v, j = d.properties.name || b || null, M = e.edgesWeights[r],
|
|
3398
|
-
|
|
3399
|
-
let
|
|
3400
|
-
if (!o ||
|
|
3398
|
+
let O = (r > 0 ? e.edges[r - 1] : null)?.properties || {}, k = !!(O.incline && O.areStairs && (!E || !w)), A = v, j = d.properties.name || b || null, M = e.edgesWeights[r], N = Math.abs(diffAngle(Math.PI, p)) >= SKIP_STEP_ANGLE_MAX, F = Level.isRange(d.level) && !Level.isRange(c.level) || D;
|
|
3399
|
+
N &&= !(c.level && Level.isRange(c.level));
|
|
3400
|
+
let I = isStepLevelChange(h) && !Level.isRange(c.level) || k;
|
|
3401
|
+
if (!o || N || F || I || A) {
|
|
3401
3402
|
let e = null, r = "turn";
|
|
3402
|
-
x ? r = "elevator" : C ? r = "escalator" : w ? r = "stairs" : v ? r = "subway-entrance" : y ? r = "gate" : T ? r = "moving-walkway" :
|
|
3403
|
+
x ? r = "elevator" : C ? r = "escalator" : w ? r = "stairs" : v ? r = "subway-entrance" : y ? r = "gate" : T ? r = "moving-walkway" : F && (r = "incline-plane");
|
|
3403
3404
|
let a = getDirectionFromAngle(p);
|
|
3404
|
-
|
|
3405
|
+
F && (e = Level.diff(c.level, u.level) || 0, a = e > 0 ? "up" : "down", D && (a = D)), o = {
|
|
3405
3406
|
coords: c,
|
|
3406
3407
|
...j && { name: j },
|
|
3407
3408
|
type: r,
|
|
@@ -3700,20 +3701,20 @@ var GraphRoute = class e extends Graph {
|
|
|
3700
3701
|
}, commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, uaParser = { exports: {} };
|
|
3701
3702
|
(function(e, t) {
|
|
3702
3703
|
(function(r, a) {
|
|
3703
|
-
var o = "1.0.35", s = "", c = "?", l = "function", u = "undefined", d = "object", f = "string", p = "major", h = "model", v = "name", y = "type", b = "vendor", x = "version", C = "architecture", w = "console", T = "mobile", E = "tablet", D = "smarttv", O = "wearable", k = "embedded", A = 350, j = "Amazon", M = "Apple", N = "ASUS", F = "BlackBerry", I = "Browser", L = "Chrome", R = "Edge", z = "Firefox", B = "Google", V = "Huawei",
|
|
3704
|
+
var o = "1.0.35", s = "", c = "?", l = "function", u = "undefined", d = "object", f = "string", p = "major", h = "model", v = "name", y = "type", b = "vendor", x = "version", C = "architecture", w = "console", T = "mobile", E = "tablet", D = "smarttv", O = "wearable", k = "embedded", A = 350, j = "Amazon", M = "Apple", N = "ASUS", F = "BlackBerry", I = "Browser", L = "Chrome", R = "Edge", z = "Firefox", B = "Google", V = "Huawei", fa = "LG", pa = "Microsoft", ma = "Motorola", ha = "Opera", ga = "Samsung", _a = "Sharp", va = "Sony", ya = "Xiaomi", ba = "Zebra", xa = "Facebook", Sa = "Chromium OS", Ca = "Mac OS", H = function(e, t) {
|
|
3704
3705
|
var r = {};
|
|
3705
3706
|
for (var a in e) t[a] && t[a].length % 2 == 0 ? r[a] = t[a].concat(e[a]) : r[a] = e[a];
|
|
3706
3707
|
return r;
|
|
3707
3708
|
}, U = function(e) {
|
|
3708
3709
|
for (var t = {}, r = 0; r < e.length; r++) t[e[r].toUpperCase()] = e[r];
|
|
3709
3710
|
return t;
|
|
3710
|
-
},
|
|
3711
|
-
return typeof e === f ?
|
|
3712
|
-
},
|
|
3711
|
+
}, wa = function(e, t) {
|
|
3712
|
+
return typeof e === f ? Ta(t).indexOf(Ta(e)) !== -1 : !1;
|
|
3713
|
+
}, Ta = function(e) {
|
|
3713
3714
|
return e.toLowerCase();
|
|
3714
|
-
},
|
|
3715
|
+
}, Ea = function(e) {
|
|
3715
3716
|
return typeof e === f ? e.replace(/[^\d\.]/g, s).split(".")[0] : a;
|
|
3716
|
-
},
|
|
3717
|
+
}, Da = function(e, t) {
|
|
3717
3718
|
if (typeof e === f) return e = e.replace(/^\s\s*/, s), typeof t === u ? e : e.substring(0, A);
|
|
3718
3719
|
}, W = function(e, t) {
|
|
3719
3720
|
for (var r = 0, o, s, c, u, f, p; r < t.length && !f;) {
|
|
@@ -3721,12 +3722,12 @@ var GraphRoute = class e extends Graph {
|
|
|
3721
3722
|
for (o = s = 0; o < h.length && !f && h[o];) if (f = h[o++].exec(e), f) for (c = 0; c < v.length; c++) p = f[++s], u = v[c], typeof u === d && u.length > 0 ? u.length === 2 ? typeof u[1] == l ? this[u[0]] = u[1].call(this, p) : this[u[0]] = u[1] : u.length === 3 ? typeof u[1] === l && !(u[1].exec && u[1].test) ? this[u[0]] = p ? u[1].call(this, p, u[2]) : a : this[u[0]] = p ? p.replace(u[1], u[2]) : a : u.length === 4 && (this[u[0]] = p ? u[3].call(this, p.replace(u[1], u[2])) : a) : this[u] = p || a;
|
|
3722
3723
|
r += 2;
|
|
3723
3724
|
}
|
|
3724
|
-
},
|
|
3725
|
+
}, Oa = function(e, t) {
|
|
3725
3726
|
for (var r in t) if (typeof t[r] === d && t[r].length > 0) {
|
|
3726
|
-
for (var o = 0; o < t[r].length; o++) if (
|
|
3727
|
-
} else if (
|
|
3727
|
+
for (var o = 0; o < t[r].length; o++) if (wa(t[r][o], e)) return r === c ? a : r;
|
|
3728
|
+
} else if (wa(t[r], e)) return r === c ? a : r;
|
|
3728
3729
|
return e;
|
|
3729
|
-
},
|
|
3730
|
+
}, ka = {
|
|
3730
3731
|
"1.0": "/8",
|
|
3731
3732
|
"1.2": "/1",
|
|
3732
3733
|
"1.3": "/3",
|
|
@@ -3735,7 +3736,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3735
3736
|
"2.0.3": "/417",
|
|
3736
3737
|
"2.0.4": "/419",
|
|
3737
3738
|
"?": "/"
|
|
3738
|
-
},
|
|
3739
|
+
}, Aa = {
|
|
3739
3740
|
ME: "4.90",
|
|
3740
3741
|
"NT 3.11": "NT3.51",
|
|
3741
3742
|
"NT 4.0": "NT4.0",
|
|
@@ -3747,7 +3748,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3747
3748
|
"8.1": "NT 6.3",
|
|
3748
3749
|
10: ["NT 6.4", "NT 10.0"],
|
|
3749
3750
|
RT: "ARM"
|
|
3750
|
-
},
|
|
3751
|
+
}, ja = {
|
|
3751
3752
|
browser: [
|
|
3752
3753
|
[/\b(?:crmo|crios)\/([\w\.]+)/i],
|
|
3753
3754
|
[x, [v, "Chrome"]],
|
|
@@ -3760,9 +3761,9 @@ var GraphRoute = class e extends Graph {
|
|
|
3760
3761
|
],
|
|
3761
3762
|
[v, x],
|
|
3762
3763
|
[/opios[\/ ]+([\w\.]+)/i],
|
|
3763
|
-
[x, [v,
|
|
3764
|
+
[x, [v, ha + " Mini"]],
|
|
3764
3765
|
[/\bopr\/([\w\.]+)/i],
|
|
3765
|
-
[x, [v,
|
|
3766
|
+
[x, [v, ha]],
|
|
3766
3767
|
[
|
|
3767
3768
|
/(kindle)\/([\w\.]+)/i,
|
|
3768
3769
|
/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,
|
|
@@ -3795,13 +3796,13 @@ var GraphRoute = class e extends Graph {
|
|
|
3795
3796
|
[/\bfocus\/([\w\.]+)/i],
|
|
3796
3797
|
[x, [v, z + " Focus"]],
|
|
3797
3798
|
[/\bopt\/([\w\.]+)/i],
|
|
3798
|
-
[x, [v,
|
|
3799
|
+
[x, [v, ha + " Touch"]],
|
|
3799
3800
|
[/coc_coc\w+\/([\w\.]+)/i],
|
|
3800
3801
|
[x, [v, "Coc Coc"]],
|
|
3801
3802
|
[/dolfin\/([\w\.]+)/i],
|
|
3802
3803
|
[x, [v, "Dolphin"]],
|
|
3803
3804
|
[/coast\/([\w\.]+)/i],
|
|
3804
|
-
[x, [v,
|
|
3805
|
+
[x, [v, ha + " Coast"]],
|
|
3805
3806
|
[/miuibrowser\/([\w\.]+)/i],
|
|
3806
3807
|
[x, [v, "MIUI " + I]],
|
|
3807
3808
|
[/fxios\/([-\w\.]+)/i],
|
|
@@ -3833,7 +3834,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3833
3834
|
],
|
|
3834
3835
|
[v],
|
|
3835
3836
|
[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
|
|
3836
|
-
[[v,
|
|
3837
|
+
[[v, xa], x],
|
|
3837
3838
|
[
|
|
3838
3839
|
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
3839
3840
|
/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,
|
|
@@ -3861,8 +3862,8 @@ var GraphRoute = class e extends Graph {
|
|
|
3861
3862
|
[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
|
|
3862
3863
|
[v, [
|
|
3863
3864
|
x,
|
|
3864
|
-
|
|
3865
|
-
|
|
3865
|
+
Oa,
|
|
3866
|
+
ka
|
|
3866
3867
|
]],
|
|
3867
3868
|
[/(webkit|khtml)\/([\w\.]+)/i],
|
|
3868
3869
|
[v, x],
|
|
@@ -3893,7 +3894,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3893
3894
|
[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],
|
|
3894
3895
|
[[C, "amd64"]],
|
|
3895
3896
|
[/(ia32(?=;))/i],
|
|
3896
|
-
[[C,
|
|
3897
|
+
[[C, Ta]],
|
|
3897
3898
|
[/((?:i[346]|x)86)[;\)]/i],
|
|
3898
3899
|
[[C, "ia32"]],
|
|
3899
3900
|
[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],
|
|
@@ -3907,18 +3908,18 @@ var GraphRoute = class e extends Graph {
|
|
|
3907
3908
|
C,
|
|
3908
3909
|
/ower/,
|
|
3909
3910
|
s,
|
|
3910
|
-
|
|
3911
|
+
Ta
|
|
3911
3912
|
]],
|
|
3912
3913
|
[/(sun4\w)[;\)]/i],
|
|
3913
3914
|
[[C, "sparc"]],
|
|
3914
3915
|
[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],
|
|
3915
|
-
[[C,
|
|
3916
|
+
[[C, Ta]]
|
|
3916
3917
|
],
|
|
3917
3918
|
device: [
|
|
3918
3919
|
[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],
|
|
3919
3920
|
[
|
|
3920
3921
|
h,
|
|
3921
|
-
[b,
|
|
3922
|
+
[b, ga],
|
|
3922
3923
|
[y, E]
|
|
3923
3924
|
],
|
|
3924
3925
|
[
|
|
@@ -3928,7 +3929,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3928
3929
|
],
|
|
3929
3930
|
[
|
|
3930
3931
|
h,
|
|
3931
|
-
[b,
|
|
3932
|
+
[b, ga],
|
|
3932
3933
|
[y, T]
|
|
3933
3934
|
],
|
|
3934
3935
|
[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
|
|
@@ -3952,7 +3953,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3952
3953
|
[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
|
|
3953
3954
|
[
|
|
3954
3955
|
h,
|
|
3955
|
-
[b,
|
|
3956
|
+
[b, _a],
|
|
3956
3957
|
[y, T]
|
|
3957
3958
|
],
|
|
3958
3959
|
[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],
|
|
@@ -3980,7 +3981,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3980
3981
|
/_/g,
|
|
3981
3982
|
" "
|
|
3982
3983
|
],
|
|
3983
|
-
[b,
|
|
3984
|
+
[b, ya],
|
|
3984
3985
|
[y, T]
|
|
3985
3986
|
],
|
|
3986
3987
|
[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],
|
|
@@ -3990,7 +3991,7 @@ var GraphRoute = class e extends Graph {
|
|
|
3990
3991
|
/_/g,
|
|
3991
3992
|
" "
|
|
3992
3993
|
],
|
|
3993
|
-
[b,
|
|
3994
|
+
[b, ya],
|
|
3994
3995
|
[y, E]
|
|
3995
3996
|
],
|
|
3996
3997
|
[/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
|
|
@@ -4018,19 +4019,19 @@ var GraphRoute = class e extends Graph {
|
|
|
4018
4019
|
],
|
|
4019
4020
|
[
|
|
4020
4021
|
h,
|
|
4021
|
-
[b,
|
|
4022
|
+
[b, ma],
|
|
4022
4023
|
[y, T]
|
|
4023
4024
|
],
|
|
4024
4025
|
[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
|
|
4025
4026
|
[
|
|
4026
4027
|
h,
|
|
4027
|
-
[b,
|
|
4028
|
+
[b, ma],
|
|
4028
4029
|
[y, E]
|
|
4029
4030
|
],
|
|
4030
4031
|
[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
|
|
4031
4032
|
[
|
|
4032
4033
|
h,
|
|
4033
|
-
[b,
|
|
4034
|
+
[b, fa],
|
|
4034
4035
|
[y, E]
|
|
4035
4036
|
],
|
|
4036
4037
|
[
|
|
@@ -4040,7 +4041,7 @@ var GraphRoute = class e extends Graph {
|
|
|
4040
4041
|
],
|
|
4041
4042
|
[
|
|
4042
4043
|
h,
|
|
4043
|
-
[b,
|
|
4044
|
+
[b, fa],
|
|
4044
4045
|
[y, T]
|
|
4045
4046
|
],
|
|
4046
4047
|
[/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],
|
|
@@ -4074,13 +4075,13 @@ var GraphRoute = class e extends Graph {
|
|
|
4074
4075
|
[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
|
|
4075
4076
|
[
|
|
4076
4077
|
h,
|
|
4077
|
-
[b,
|
|
4078
|
+
[b, va],
|
|
4078
4079
|
[y, T]
|
|
4079
4080
|
],
|
|
4080
4081
|
[/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
|
|
4081
4082
|
[
|
|
4082
4083
|
[h, "Xperia Tablet"],
|
|
4083
|
-
[b,
|
|
4084
|
+
[b, va],
|
|
4084
4085
|
[y, E]
|
|
4085
4086
|
],
|
|
4086
4087
|
[/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
|
|
@@ -4199,7 +4200,7 @@ var GraphRoute = class e extends Graph {
|
|
|
4199
4200
|
[/(surface duo)/i],
|
|
4200
4201
|
[
|
|
4201
4202
|
h,
|
|
4202
|
-
[b,
|
|
4203
|
+
[b, pa],
|
|
4203
4204
|
[y, E]
|
|
4204
4205
|
],
|
|
4205
4206
|
[/droid [\d\.]+; (fp\du?)(?: b|\))/i],
|
|
@@ -4353,19 +4354,19 @@ var GraphRoute = class e extends Graph {
|
|
|
4353
4354
|
/\./g,
|
|
4354
4355
|
" "
|
|
4355
4356
|
],
|
|
4356
|
-
[b,
|
|
4357
|
+
[b, pa],
|
|
4357
4358
|
[y, T]
|
|
4358
4359
|
],
|
|
4359
4360
|
[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
|
|
4360
4361
|
[
|
|
4361
4362
|
h,
|
|
4362
|
-
[b,
|
|
4363
|
+
[b, ba],
|
|
4363
4364
|
[y, E]
|
|
4364
4365
|
],
|
|
4365
4366
|
[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
|
|
4366
4367
|
[
|
|
4367
4368
|
h,
|
|
4368
|
-
[b,
|
|
4369
|
+
[b, ba],
|
|
4369
4370
|
[y, T]
|
|
4370
4371
|
],
|
|
4371
4372
|
[/smart-tv.+(samsung)/i],
|
|
@@ -4377,11 +4378,11 @@ var GraphRoute = class e extends Graph {
|
|
|
4377
4378
|
/^/,
|
|
4378
4379
|
"SmartTV"
|
|
4379
4380
|
],
|
|
4380
|
-
[b,
|
|
4381
|
+
[b, ga],
|
|
4381
4382
|
[y, D]
|
|
4382
4383
|
],
|
|
4383
4384
|
[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
|
|
4384
|
-
[[b,
|
|
4385
|
+
[[b, fa], [y, D]],
|
|
4385
4386
|
[/(apple) ?tv/i],
|
|
4386
4387
|
[
|
|
4387
4388
|
b,
|
|
@@ -4403,19 +4404,19 @@ var GraphRoute = class e extends Graph {
|
|
|
4403
4404
|
[/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
|
|
4404
4405
|
[
|
|
4405
4406
|
h,
|
|
4406
|
-
[b,
|
|
4407
|
+
[b, _a],
|
|
4407
4408
|
[y, D]
|
|
4408
4409
|
],
|
|
4409
4410
|
[/(bravia[\w ]+)( bui|\))/i],
|
|
4410
4411
|
[
|
|
4411
4412
|
h,
|
|
4412
|
-
[b,
|
|
4413
|
+
[b, va],
|
|
4413
4414
|
[y, D]
|
|
4414
4415
|
],
|
|
4415
4416
|
[/(mitv-\w{5}) bui/i],
|
|
4416
4417
|
[
|
|
4417
4418
|
h,
|
|
4418
|
-
[b,
|
|
4419
|
+
[b, ya],
|
|
4419
4420
|
[y, D]
|
|
4420
4421
|
],
|
|
4421
4422
|
[/Hbbtv.*(technisat) (.*);/i],
|
|
@@ -4426,8 +4427,8 @@ var GraphRoute = class e extends Graph {
|
|
|
4426
4427
|
],
|
|
4427
4428
|
[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
|
|
4428
4429
|
[
|
|
4429
|
-
[b,
|
|
4430
|
-
[h,
|
|
4430
|
+
[b, Da],
|
|
4431
|
+
[h, Da],
|
|
4431
4432
|
[y, D]
|
|
4432
4433
|
],
|
|
4433
4434
|
[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
|
|
@@ -4447,13 +4448,13 @@ var GraphRoute = class e extends Graph {
|
|
|
4447
4448
|
[/(playstation [345portablevi]+)/i],
|
|
4448
4449
|
[
|
|
4449
4450
|
h,
|
|
4450
|
-
[b,
|
|
4451
|
+
[b, va],
|
|
4451
4452
|
[y, w]
|
|
4452
4453
|
],
|
|
4453
4454
|
[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
|
|
4454
4455
|
[
|
|
4455
4456
|
h,
|
|
4456
|
-
[b,
|
|
4457
|
+
[b, pa],
|
|
4457
4458
|
[y, w]
|
|
4458
4459
|
],
|
|
4459
4460
|
[/((pebble))app/i],
|
|
@@ -4477,13 +4478,13 @@ var GraphRoute = class e extends Graph {
|
|
|
4477
4478
|
[/droid.+; (wt63?0{2,3})\)/i],
|
|
4478
4479
|
[
|
|
4479
4480
|
h,
|
|
4480
|
-
[b,
|
|
4481
|
+
[b, ba],
|
|
4481
4482
|
[y, O]
|
|
4482
4483
|
],
|
|
4483
4484
|
[/(quest( 2| pro)?)/i],
|
|
4484
4485
|
[
|
|
4485
4486
|
h,
|
|
4486
|
-
[b,
|
|
4487
|
+
[b, xa],
|
|
4487
4488
|
[y, O]
|
|
4488
4489
|
],
|
|
4489
4490
|
[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
|
|
@@ -4532,14 +4533,14 @@ var GraphRoute = class e extends Graph {
|
|
|
4532
4533
|
],
|
|
4533
4534
|
[v, [
|
|
4534
4535
|
x,
|
|
4535
|
-
|
|
4536
|
-
|
|
4536
|
+
Oa,
|
|
4537
|
+
Aa
|
|
4537
4538
|
]],
|
|
4538
4539
|
[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
|
|
4539
4540
|
[[v, "Windows"], [
|
|
4540
4541
|
x,
|
|
4541
|
-
|
|
4542
|
-
|
|
4542
|
+
Oa,
|
|
4543
|
+
Aa
|
|
4543
4544
|
]],
|
|
4544
4545
|
[
|
|
4545
4546
|
/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -4552,7 +4553,7 @@ var GraphRoute = class e extends Graph {
|
|
|
4552
4553
|
"."
|
|
4553
4554
|
], [v, "iOS"]],
|
|
4554
4555
|
[/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
|
|
4555
|
-
[[v,
|
|
4556
|
+
[[v, Ca], [
|
|
4556
4557
|
x,
|
|
4557
4558
|
/_/g,
|
|
4558
4559
|
"."
|
|
@@ -4579,7 +4580,7 @@ var GraphRoute = class e extends Graph {
|
|
|
4579
4580
|
[/crkey\/([\d\.]+)/i],
|
|
4580
4581
|
[x, [v, L + "cast"]],
|
|
4581
4582
|
[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
|
|
4582
|
-
[[v,
|
|
4583
|
+
[[v, Sa], x],
|
|
4583
4584
|
[
|
|
4584
4585
|
/panasonic;(viera)/i,
|
|
4585
4586
|
/(netrange)mmh/i,
|
|
@@ -4606,12 +4607,12 @@ var GraphRoute = class e extends Graph {
|
|
|
4606
4607
|
],
|
|
4607
4608
|
[v, x]
|
|
4608
4609
|
]
|
|
4609
|
-
},
|
|
4610
|
-
if (typeof e === d && (t = e, e = a), !(this instanceof
|
|
4611
|
-
var o = typeof r !== u && r.navigator ? r.navigator : a, c = e || (o && o.userAgent ? o.userAgent : s), w = o && o.userAgentData ? o.userAgentData : a, D = t ? H(
|
|
4610
|
+
}, G = function(e, t) {
|
|
4611
|
+
if (typeof e === d && (t = e, e = a), !(this instanceof G)) return new G(e, t).getResult();
|
|
4612
|
+
var o = typeof r !== u && r.navigator ? r.navigator : a, c = e || (o && o.userAgent ? o.userAgent : s), w = o && o.userAgentData ? o.userAgentData : a, D = t ? H(ja, t) : ja, O = o && o.userAgent == c;
|
|
4612
4613
|
return this.getBrowser = function() {
|
|
4613
4614
|
var e = {};
|
|
4614
|
-
return e[v] = a, e[x] = a, W.call(e, c, D.browser), e[p] =
|
|
4615
|
+
return e[v] = a, e[x] = a, W.call(e, c, D.browser), e[p] = Ea(e[x]), O && o && o.brave && typeof o.brave.isBrave == l && (e[v] = "Brave"), e;
|
|
4615
4616
|
}, this.getCPU = function() {
|
|
4616
4617
|
var e = {};
|
|
4617
4618
|
return e[C] = a, W.call(e, c, D.cpu), e;
|
|
@@ -4623,7 +4624,7 @@ var GraphRoute = class e extends Graph {
|
|
|
4623
4624
|
return e[v] = a, e[x] = a, W.call(e, c, D.engine), e;
|
|
4624
4625
|
}, this.getOS = function() {
|
|
4625
4626
|
var e = {};
|
|
4626
|
-
return e[v] = a, e[x] = a, W.call(e, c, D.os), O && !e[v] && w && w.platform != "Unknown" && (e[v] = w.platform.replace(/chrome os/i,
|
|
4627
|
+
return e[v] = a, e[x] = a, W.call(e, c, D.os), O && !e[v] && w && w.platform != "Unknown" && (e[v] = w.platform.replace(/chrome os/i, Sa).replace(/macos/i, Ca)), e;
|
|
4627
4628
|
}, this.getResult = function() {
|
|
4628
4629
|
return {
|
|
4629
4630
|
ua: this.getUA(),
|
|
@@ -4636,14 +4637,14 @@ var GraphRoute = class e extends Graph {
|
|
|
4636
4637
|
}, this.getUA = function() {
|
|
4637
4638
|
return c;
|
|
4638
4639
|
}, this.setUA = function(e) {
|
|
4639
|
-
return c = typeof e === f && e.length > A ?
|
|
4640
|
+
return c = typeof e === f && e.length > A ? Da(e, A) : e, this;
|
|
4640
4641
|
}, this.setUA(c), this;
|
|
4641
4642
|
};
|
|
4642
|
-
|
|
4643
|
+
G.VERSION = o, G.BROWSER = U([
|
|
4643
4644
|
v,
|
|
4644
4645
|
x,
|
|
4645
4646
|
p
|
|
4646
|
-
]),
|
|
4647
|
+
]), G.CPU = U([C]), G.DEVICE = U([
|
|
4647
4648
|
h,
|
|
4648
4649
|
b,
|
|
4649
4650
|
y,
|
|
@@ -4653,16 +4654,16 @@ var GraphRoute = class e extends Graph {
|
|
|
4653
4654
|
E,
|
|
4654
4655
|
O,
|
|
4655
4656
|
k
|
|
4656
|
-
]),
|
|
4657
|
-
var
|
|
4658
|
-
if (
|
|
4659
|
-
var
|
|
4660
|
-
|
|
4661
|
-
return
|
|
4662
|
-
},
|
|
4663
|
-
|
|
4664
|
-
var t =
|
|
4665
|
-
for (var r in t)
|
|
4657
|
+
]), G.ENGINE = G.OS = U([v, x]), e.exports && (t = e.exports = G), t.UAParser = G;
|
|
4658
|
+
var Ma = typeof r !== u && (r.jQuery || r.Zepto);
|
|
4659
|
+
if (Ma && !Ma.ua) {
|
|
4660
|
+
var Na = new G();
|
|
4661
|
+
Ma.ua = Na.getResult(), Ma.ua.get = function() {
|
|
4662
|
+
return Na.getUA();
|
|
4663
|
+
}, Ma.ua.set = function(e) {
|
|
4664
|
+
Na.setUA(e);
|
|
4665
|
+
var t = Na.getResult();
|
|
4666
|
+
for (var r in t) Ma.ua[r] = t[r];
|
|
4666
4667
|
};
|
|
4667
4668
|
}
|
|
4668
4669
|
})(typeof window == "object" ? window : commonjsGlobal);
|
|
@@ -4672,19 +4673,19 @@ var __defProp2 = Object.defineProperty, __defNormalProp2 = (e, t, r) => t in e ?
|
|
|
4672
4673
|
configurable: !0,
|
|
4673
4674
|
writable: !0,
|
|
4674
4675
|
value: r
|
|
4675
|
-
}) : e[t] = r, __publicField2 = (e, t, r) => (__defNormalProp2(e, typeof t == "symbol" ? t : t + "", r), r), Browser = {
|
|
4676
|
+
}) : e[t] = r, __publicField2 = (e, t, r) => (__defNormalProp2(e, typeof t == "symbol" ? t : t + "", r), r), Browser$1 = {
|
|
4676
4677
|
UNKNOWN: "Unknown",
|
|
4677
4678
|
SAFARI: "Safari",
|
|
4678
4679
|
FIREFOX: "Firefox",
|
|
4679
4680
|
OPERA: "Opera",
|
|
4680
4681
|
CHROME: "Chrome",
|
|
4681
4682
|
IOS_WEBVIEW: "iOS-webview"
|
|
4682
|
-
}, BrowserUtils = class {
|
|
4683
|
+
}, BrowserUtils$1 = class {
|
|
4683
4684
|
static getName() {
|
|
4684
|
-
if (!this._name) if (typeof navigator > "u" || !navigator) this._name = Browser.UNKNOWN;
|
|
4685
|
+
if (!this._name) if (typeof navigator > "u" || !navigator) this._name = Browser$1.UNKNOWN;
|
|
4685
4686
|
else {
|
|
4686
4687
|
let { userAgent: e } = navigator;
|
|
4687
|
-
e.match(/Firefox/i) ? this._name = Browser.FIREFOX : e.match(/(Opera|OPR)/i) ? this._name = Browser.OPERA : e.match(/Chrome/i) ? this._name = Browser.CHROME : e.match(/Safari/i) ? this._name = Browser.SAFARI : e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Version)/i) ? this._name = Browser.IOS_WEBVIEW : this._name = Browser.UNKNOWN;
|
|
4688
|
+
e.match(/Firefox/i) ? this._name = Browser$1.FIREFOX : e.match(/(Opera|OPR)/i) ? this._name = Browser$1.OPERA : e.match(/Chrome/i) ? this._name = Browser$1.CHROME : e.match(/Safari/i) ? this._name = Browser$1.SAFARI : e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Version)/i) ? this._name = Browser$1.IOS_WEBVIEW : this._name = Browser$1.UNKNOWN;
|
|
4688
4689
|
}
|
|
4689
4690
|
return this._name;
|
|
4690
4691
|
}
|
|
@@ -4699,7 +4700,7 @@ var __defProp2 = Object.defineProperty, __defNormalProp2 = (e, t, r) => t in e ?
|
|
|
4699
4700
|
this._name = null, this._isMobile = null;
|
|
4700
4701
|
}
|
|
4701
4702
|
};
|
|
4702
|
-
__publicField2(BrowserUtils, "_name", null), __publicField2(BrowserUtils, "_isMobile", null);
|
|
4703
|
+
__publicField2(BrowserUtils$1, "_name", null), __publicField2(BrowserUtils$1, "_isMobile", null);
|
|
4703
4704
|
function formatSO(e, ...t) {
|
|
4704
4705
|
let r = e.toString();
|
|
4705
4706
|
if (t.length) {
|
|
@@ -6147,22 +6148,22 @@ new class {
|
|
|
6147
6148
|
var lodash_custom = { exports: {} };
|
|
6148
6149
|
lodash_custom.exports, (function(e, t) {
|
|
6149
6150
|
(function() {
|
|
6150
|
-
var r, a = "4.15.0", o = 200, s = "Expected a function", c = "__lodash_hash_undefined__", l = 1, u = 2, d = Infinity, f = 9007199254740991, p = "[object Arguments]", h = "[object Array]", v = "[object Boolean]", y = "[object Date]", b = "[object Error]", x = "[object Function]", C = "[object GeneratorFunction]", w = "[object Map]", T = "[object Number]", E = "[object Object]", D = "[object Promise]", O = "[object RegExp]", k = "[object Set]", A = "[object String]", j = "[object Symbol]", M = "[object WeakMap]", N = "[object ArrayBuffer]", F = "[object DataView]", I = "[object Float32Array]", L = "[object Float64Array]", R = "[object Int8Array]", z = "[object Int16Array]", B = "[object Int32Array]", V = "[object Uint8Array]",
|
|
6151
|
-
H[I] = H[L] = H[R] = H[z] = H[B] = H[V] = H[
|
|
6151
|
+
var r, a = "4.15.0", o = 200, s = "Expected a function", c = "__lodash_hash_undefined__", l = 1, u = 2, d = Infinity, f = 9007199254740991, p = "[object Arguments]", h = "[object Array]", v = "[object Boolean]", y = "[object Date]", b = "[object Error]", x = "[object Function]", C = "[object GeneratorFunction]", w = "[object Map]", T = "[object Number]", E = "[object Object]", D = "[object Promise]", O = "[object RegExp]", k = "[object Set]", A = "[object String]", j = "[object Symbol]", M = "[object WeakMap]", N = "[object ArrayBuffer]", F = "[object DataView]", I = "[object Float32Array]", L = "[object Float64Array]", R = "[object Int8Array]", z = "[object Int16Array]", B = "[object Int32Array]", V = "[object Uint8Array]", fa = "[object Uint8ClampedArray]", pa = "[object Uint16Array]", ma = "[object Uint32Array]", ha = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ga = /^\w*$/, _a = /^\./, va = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ya = /[\\^$.*+?()[\]{}|]/g, ba = /\\(\\)?/g, xa = /\w*$/, Sa = /^\[object .+?Constructor\]$/, Ca = /^(?:0|[1-9]\d*)$/, H = {};
|
|
6152
|
+
H[I] = H[L] = H[R] = H[z] = H[B] = H[V] = H[fa] = H[pa] = H[ma] = !0, H[p] = H[h] = H[N] = H[v] = H[F] = H[y] = H[b] = H[x] = H[w] = H[T] = H[E] = H[O] = H[k] = H[A] = H[M] = !1;
|
|
6152
6153
|
var U = {};
|
|
6153
|
-
U[p] = U[h] = U[N] = U[F] = U[v] = U[y] = U[I] = U[L] = U[R] = U[z] = U[B] = U[w] = U[T] = U[E] = U[O] = U[k] = U[A] = U[j] = U[V] = U[
|
|
6154
|
-
var
|
|
6154
|
+
U[p] = U[h] = U[N] = U[F] = U[v] = U[y] = U[I] = U[L] = U[R] = U[z] = U[B] = U[w] = U[T] = U[E] = U[O] = U[k] = U[A] = U[j] = U[V] = U[fa] = U[pa] = U[ma] = !0, U[b] = U[x] = U[M] = !1;
|
|
6155
|
+
var wa = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal, Ta = typeof self == "object" && self && self.Object === Object && self, Ea = wa || Ta || Function("return this")(), Da = t && !t.nodeType && t, W = Da && e && !e.nodeType && e, Oa = W && W.exports === Da, ka = Oa && wa.process, Aa = function() {
|
|
6155
6156
|
try {
|
|
6156
|
-
return
|
|
6157
|
+
return ka && ka.binding("util");
|
|
6157
6158
|
} catch {}
|
|
6158
|
-
}(),
|
|
6159
|
-
function
|
|
6159
|
+
}(), ja = Aa && Aa.isTypedArray;
|
|
6160
|
+
function G(e, t) {
|
|
6160
6161
|
return e.set(t[0], t[1]), e;
|
|
6161
6162
|
}
|
|
6162
|
-
function
|
|
6163
|
+
function Ma(e, t) {
|
|
6163
6164
|
return e.add(t), e;
|
|
6164
6165
|
}
|
|
6165
|
-
function
|
|
6166
|
+
function Na(e, t, r) {
|
|
6166
6167
|
switch (r.length) {
|
|
6167
6168
|
case 0: return e.call(t);
|
|
6168
6169
|
case 1: return e.call(t, r[0]);
|
|
@@ -6171,273 +6172,273 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6171
6172
|
}
|
|
6172
6173
|
return e.apply(t, r);
|
|
6173
6174
|
}
|
|
6174
|
-
function
|
|
6175
|
+
function Pa(e, t) {
|
|
6175
6176
|
for (var r = -1, a = e ? e.length : 0; ++r < a && t(e[r], r, e) !== !1;);
|
|
6176
6177
|
return e;
|
|
6177
6178
|
}
|
|
6178
|
-
function
|
|
6179
|
+
function Fa(e, t) {
|
|
6179
6180
|
for (var r = -1, a = t.length, o = e.length; ++r < a;) e[o + r] = t[r];
|
|
6180
6181
|
return e;
|
|
6181
6182
|
}
|
|
6182
|
-
function
|
|
6183
|
+
function Ia(e, t, r, a) {
|
|
6183
6184
|
var o = -1, s = e ? e.length : 0;
|
|
6184
6185
|
for (a && s && (r = e[++o]); ++o < s;) r = t(r, e[o], o, e);
|
|
6185
6186
|
return r;
|
|
6186
6187
|
}
|
|
6187
|
-
function
|
|
6188
|
+
function La(e, t) {
|
|
6188
6189
|
for (var r = -1, a = e ? e.length : 0; ++r < a;) if (t(e[r], r, e)) return !0;
|
|
6189
6190
|
return !1;
|
|
6190
6191
|
}
|
|
6191
|
-
function
|
|
6192
|
+
function Ra(e) {
|
|
6192
6193
|
return function(t) {
|
|
6193
6194
|
return t == null ? r : t[e];
|
|
6194
6195
|
};
|
|
6195
6196
|
}
|
|
6196
|
-
function
|
|
6197
|
+
function K(e, t) {
|
|
6197
6198
|
for (var r = -1, a = Array(e); ++r < e;) a[r] = t(r);
|
|
6198
6199
|
return a;
|
|
6199
6200
|
}
|
|
6200
|
-
function
|
|
6201
|
+
function za(e) {
|
|
6201
6202
|
return function(t) {
|
|
6202
6203
|
return e(t);
|
|
6203
6204
|
};
|
|
6204
6205
|
}
|
|
6205
|
-
function
|
|
6206
|
+
function Ba(e, t) {
|
|
6206
6207
|
return e == null ? r : e[t];
|
|
6207
6208
|
}
|
|
6208
|
-
function
|
|
6209
|
+
function Va(e) {
|
|
6209
6210
|
var t = !1;
|
|
6210
6211
|
if (e != null && typeof e.toString != "function") try {
|
|
6211
6212
|
t = !!(e + "");
|
|
6212
6213
|
} catch {}
|
|
6213
6214
|
return t;
|
|
6214
6215
|
}
|
|
6215
|
-
function
|
|
6216
|
+
function Ha(e) {
|
|
6216
6217
|
var t = -1, r = Array(e.size);
|
|
6217
6218
|
return e.forEach(function(e, a) {
|
|
6218
6219
|
r[++t] = [a, e];
|
|
6219
6220
|
}), r;
|
|
6220
6221
|
}
|
|
6221
|
-
function
|
|
6222
|
+
function Ua(e, t) {
|
|
6222
6223
|
return function(r) {
|
|
6223
6224
|
return e(t(r));
|
|
6224
6225
|
};
|
|
6225
6226
|
}
|
|
6226
|
-
function
|
|
6227
|
+
function Wa(e) {
|
|
6227
6228
|
var t = -1, r = Array(e.size);
|
|
6228
6229
|
return e.forEach(function(e) {
|
|
6229
6230
|
r[++t] = e;
|
|
6230
6231
|
}), r;
|
|
6231
6232
|
}
|
|
6232
|
-
var
|
|
6233
|
-
var e = /[^.]+$/.exec(
|
|
6233
|
+
var Ga = Array.prototype, Ka = Function.prototype, qa = Object.prototype, q = Ea["__core-js_shared__"], Ja = function() {
|
|
6234
|
+
var e = /[^.]+$/.exec(q && q.keys && q.keys.IE_PROTO || "");
|
|
6234
6235
|
return e ? "Symbol(src)_1." + e : "";
|
|
6235
|
-
}(),
|
|
6236
|
-
function
|
|
6237
|
-
function
|
|
6236
|
+
}(), J = Ka.toString, Y = qa.hasOwnProperty, Ya = J.call(Object), X = qa.toString, Xa = RegExp("^" + J.call(Y).replace(ya, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), Za = Oa ? Ea.Buffer : r, Qa = Ea.Symbol, $a = Ea.Uint8Array, eo = Ua(Object.getPrototypeOf, Object), to = Object.create, no = qa.propertyIsEnumerable, ro = Ga.splice, io = Object.getOwnPropertySymbols, ao = Za ? Za.isBuffer : r, oo = Ua(Object.keys, Object), so = Math.max, co = qs(Ea, "DataView"), lo = qs(Ea, "Map"), uo = qs(Ea, "Promise"), fo = qs(Ea, "Set"), po = qs(Ea, "WeakMap"), mo = qs(Object, "create"), ho = !no.call({ valueOf: 1 }, "valueOf"), go = dc(co), _o = dc(lo), vo = dc(uo), yo = dc(fo), bo = dc(po), xo = Qa ? Qa.prototype : r, So = xo ? xo.valueOf : r, Co = xo ? xo.toString : r;
|
|
6237
|
+
function Z() {}
|
|
6238
|
+
function wo(e) {
|
|
6238
6239
|
var t = -1, r = e ? e.length : 0;
|
|
6239
6240
|
for (this.clear(); ++t < r;) {
|
|
6240
6241
|
var a = e[t];
|
|
6241
6242
|
this.set(a[0], a[1]);
|
|
6242
6243
|
}
|
|
6243
6244
|
}
|
|
6244
|
-
function
|
|
6245
|
-
this.__data__ =
|
|
6245
|
+
function To() {
|
|
6246
|
+
this.__data__ = mo ? mo(null) : {};
|
|
6246
6247
|
}
|
|
6247
|
-
function
|
|
6248
|
+
function Eo(e) {
|
|
6248
6249
|
return this.has(e) && delete this.__data__[e];
|
|
6249
6250
|
}
|
|
6250
|
-
function
|
|
6251
|
+
function Do(e) {
|
|
6251
6252
|
var t = this.__data__;
|
|
6252
|
-
if (
|
|
6253
|
+
if (mo) {
|
|
6253
6254
|
var a = t[e];
|
|
6254
6255
|
return a === c ? r : a;
|
|
6255
6256
|
}
|
|
6256
|
-
return
|
|
6257
|
+
return Y.call(t, e) ? t[e] : r;
|
|
6257
6258
|
}
|
|
6258
|
-
function
|
|
6259
|
+
function Oo(e) {
|
|
6259
6260
|
var t = this.__data__;
|
|
6260
|
-
return
|
|
6261
|
+
return mo ? t[e] !== r : Y.call(t, e);
|
|
6261
6262
|
}
|
|
6262
|
-
function
|
|
6263
|
+
function ko(e, t) {
|
|
6263
6264
|
var a = this.__data__;
|
|
6264
|
-
return a[e] =
|
|
6265
|
+
return a[e] = mo && t === r ? c : t, this;
|
|
6265
6266
|
}
|
|
6266
|
-
|
|
6267
|
-
function
|
|
6267
|
+
wo.prototype.clear = To, wo.prototype.delete = Eo, wo.prototype.get = Do, wo.prototype.has = Oo, wo.prototype.set = ko;
|
|
6268
|
+
function Ao(e) {
|
|
6268
6269
|
var t = -1, r = e ? e.length : 0;
|
|
6269
6270
|
for (this.clear(); ++t < r;) {
|
|
6270
6271
|
var a = e[t];
|
|
6271
6272
|
this.set(a[0], a[1]);
|
|
6272
6273
|
}
|
|
6273
6274
|
}
|
|
6274
|
-
function
|
|
6275
|
+
function jo() {
|
|
6275
6276
|
this.__data__ = [];
|
|
6276
6277
|
}
|
|
6277
|
-
function
|
|
6278
|
-
var t = this.__data__, r =
|
|
6279
|
-
return r < 0 ? !1 : (r == t.length - 1 ? t.pop() :
|
|
6278
|
+
function Mo(e) {
|
|
6279
|
+
var t = this.__data__, r = $o(t, e);
|
|
6280
|
+
return r < 0 ? !1 : (r == t.length - 1 ? t.pop() : ro.call(t, r, 1), !0);
|
|
6280
6281
|
}
|
|
6281
|
-
function
|
|
6282
|
-
var t = this.__data__, a =
|
|
6282
|
+
function No(e) {
|
|
6283
|
+
var t = this.__data__, a = $o(t, e);
|
|
6283
6284
|
return a < 0 ? r : t[a][1];
|
|
6284
6285
|
}
|
|
6285
|
-
function
|
|
6286
|
-
return
|
|
6286
|
+
function Po(e) {
|
|
6287
|
+
return $o(this.__data__, e) > -1;
|
|
6287
6288
|
}
|
|
6288
|
-
function
|
|
6289
|
-
var r = this.__data__, a =
|
|
6289
|
+
function Fo(e, t) {
|
|
6290
|
+
var r = this.__data__, a = $o(r, e);
|
|
6290
6291
|
return a < 0 ? r.push([e, t]) : r[a][1] = t, this;
|
|
6291
6292
|
}
|
|
6292
|
-
|
|
6293
|
-
function
|
|
6293
|
+
Ao.prototype.clear = jo, Ao.prototype.delete = Mo, Ao.prototype.get = No, Ao.prototype.has = Po, Ao.prototype.set = Fo;
|
|
6294
|
+
function Io(e) {
|
|
6294
6295
|
var t = -1, r = e ? e.length : 0;
|
|
6295
6296
|
for (this.clear(); ++t < r;) {
|
|
6296
6297
|
var a = e[t];
|
|
6297
6298
|
this.set(a[0], a[1]);
|
|
6298
6299
|
}
|
|
6299
6300
|
}
|
|
6300
|
-
function
|
|
6301
|
+
function Lo() {
|
|
6301
6302
|
this.__data__ = {
|
|
6302
|
-
hash: new
|
|
6303
|
-
map: new (
|
|
6304
|
-
string: new
|
|
6303
|
+
hash: new wo(),
|
|
6304
|
+
map: new (lo || Ao)(),
|
|
6305
|
+
string: new wo()
|
|
6305
6306
|
};
|
|
6306
6307
|
}
|
|
6307
|
-
function
|
|
6308
|
-
return
|
|
6308
|
+
function Ro(e) {
|
|
6309
|
+
return Gs(this, e).delete(e);
|
|
6309
6310
|
}
|
|
6310
|
-
function
|
|
6311
|
-
return
|
|
6311
|
+
function zo(e) {
|
|
6312
|
+
return Gs(this, e).get(e);
|
|
6312
6313
|
}
|
|
6313
|
-
function
|
|
6314
|
-
return
|
|
6314
|
+
function Bo(e) {
|
|
6315
|
+
return Gs(this, e).has(e);
|
|
6315
6316
|
}
|
|
6316
|
-
function
|
|
6317
|
-
return
|
|
6317
|
+
function Vo(e, t) {
|
|
6318
|
+
return Gs(this, e).set(e, t), this;
|
|
6318
6319
|
}
|
|
6319
|
-
|
|
6320
|
-
function
|
|
6320
|
+
Io.prototype.clear = Lo, Io.prototype.delete = Ro, Io.prototype.get = zo, Io.prototype.has = Bo, Io.prototype.set = Vo;
|
|
6321
|
+
function Ho(e) {
|
|
6321
6322
|
var t = -1, r = e ? e.length : 0;
|
|
6322
|
-
for (this.__data__ = new
|
|
6323
|
+
for (this.__data__ = new Io(); ++t < r;) this.add(e[t]);
|
|
6323
6324
|
}
|
|
6324
|
-
function
|
|
6325
|
+
function Uo(e) {
|
|
6325
6326
|
return this.__data__.set(e, c), this;
|
|
6326
6327
|
}
|
|
6327
|
-
function
|
|
6328
|
+
function Wo(e) {
|
|
6328
6329
|
return this.__data__.has(e);
|
|
6329
6330
|
}
|
|
6330
|
-
|
|
6331
|
-
function
|
|
6332
|
-
this.__data__ = new
|
|
6331
|
+
Ho.prototype.add = Ho.prototype.push = Uo, Ho.prototype.has = Wo;
|
|
6332
|
+
function Q(e) {
|
|
6333
|
+
this.__data__ = new Ao(e);
|
|
6333
6334
|
}
|
|
6334
|
-
function
|
|
6335
|
-
this.__data__ = new
|
|
6335
|
+
function Go() {
|
|
6336
|
+
this.__data__ = new Ao();
|
|
6336
6337
|
}
|
|
6337
|
-
function
|
|
6338
|
+
function Ko(e) {
|
|
6338
6339
|
return this.__data__.delete(e);
|
|
6339
6340
|
}
|
|
6340
|
-
function
|
|
6341
|
+
function qo(e) {
|
|
6341
6342
|
return this.__data__.get(e);
|
|
6342
6343
|
}
|
|
6343
|
-
function
|
|
6344
|
+
function Jo(e) {
|
|
6344
6345
|
return this.__data__.has(e);
|
|
6345
6346
|
}
|
|
6346
|
-
function
|
|
6347
|
+
function Yo(e, t) {
|
|
6347
6348
|
var r = this.__data__;
|
|
6348
|
-
if (r instanceof
|
|
6349
|
+
if (r instanceof Ao) {
|
|
6349
6350
|
var a = r.__data__;
|
|
6350
|
-
if (!
|
|
6351
|
-
r = this.__data__ = new
|
|
6351
|
+
if (!lo || a.length < o - 1) return a.push([e, t]), this;
|
|
6352
|
+
r = this.__data__ = new Io(a);
|
|
6352
6353
|
}
|
|
6353
6354
|
return r.set(e, t), this;
|
|
6354
6355
|
}
|
|
6355
|
-
|
|
6356
|
-
function
|
|
6357
|
-
var r = $(e) ||
|
|
6358
|
-
for (var s in e) (t ||
|
|
6356
|
+
Q.prototype.clear = Go, Q.prototype.delete = Ko, Q.prototype.get = qo, Q.prototype.has = Jo, Q.prototype.set = Yo;
|
|
6357
|
+
function Xo(e, t) {
|
|
6358
|
+
var r = $(e) || _c(e) ? K(e.length, String) : [], a = r.length, o = !!a;
|
|
6359
|
+
for (var s in e) (t || Y.call(e, s)) && !(o && (s == "length" || ec(s, a))) && r.push(s);
|
|
6359
6360
|
return r;
|
|
6360
6361
|
}
|
|
6361
|
-
function
|
|
6362
|
-
(a !== r && !
|
|
6362
|
+
function Zo(e, t, a) {
|
|
6363
|
+
(a !== r && !gc(e[t], a) || typeof t == "number" && a === r && !(t in e)) && (e[t] = a);
|
|
6363
6364
|
}
|
|
6364
|
-
function
|
|
6365
|
+
function Qo(e, t, a) {
|
|
6365
6366
|
var o = e[t];
|
|
6366
|
-
(!(
|
|
6367
|
+
(!(Y.call(e, t) && gc(o, a)) || a === r && !(t in e)) && (e[t] = a);
|
|
6367
6368
|
}
|
|
6368
|
-
function
|
|
6369
|
-
for (var r = e.length; r--;) if (
|
|
6369
|
+
function $o(e, t) {
|
|
6370
|
+
for (var r = e.length; r--;) if (gc(e[r][0], t)) return r;
|
|
6370
6371
|
return -1;
|
|
6371
6372
|
}
|
|
6372
|
-
function
|
|
6373
|
-
return e &&
|
|
6373
|
+
function es(e, t) {
|
|
6374
|
+
return e && Fs(t, Nc(t), e);
|
|
6374
6375
|
}
|
|
6375
|
-
function
|
|
6376
|
+
function ts(e, t, a, o, s, c, l) {
|
|
6376
6377
|
var u;
|
|
6377
6378
|
if (o && (u = c ? o(e, s, c, l) : o(e)), u !== r) return u;
|
|
6378
|
-
if (!
|
|
6379
|
+
if (!wc(e)) return e;
|
|
6379
6380
|
var d = $(e);
|
|
6380
6381
|
if (d) {
|
|
6381
|
-
if (u =
|
|
6382
|
+
if (u = Zs(e), !t) return Ps(e, u);
|
|
6382
6383
|
} else {
|
|
6383
|
-
var f =
|
|
6384
|
-
if (
|
|
6384
|
+
var f = Ys(e), h = f == x || f == C;
|
|
6385
|
+
if (bc(e)) return Es(e, t);
|
|
6385
6386
|
if (f == E || f == p || h && !c) {
|
|
6386
|
-
if (
|
|
6387
|
-
if (u =
|
|
6387
|
+
if (Va(e)) return c ? e : {};
|
|
6388
|
+
if (u = Qs(h ? {} : e), !t) return Is(e, es(u, e));
|
|
6388
6389
|
} else {
|
|
6389
6390
|
if (!U[f]) return c ? e : {};
|
|
6390
|
-
u =
|
|
6391
|
+
u = $s(e, f, ts, t);
|
|
6391
6392
|
}
|
|
6392
6393
|
}
|
|
6393
|
-
l ||= new
|
|
6394
|
+
l ||= new Q();
|
|
6394
6395
|
var v = l.get(e);
|
|
6395
6396
|
if (v) return v;
|
|
6396
|
-
if (l.set(e, u), !d) var y = a ?
|
|
6397
|
-
return
|
|
6398
|
-
y && (s = r, r = e[s]),
|
|
6397
|
+
if (l.set(e, u), !d) var y = a ? Us(e) : Nc(e);
|
|
6398
|
+
return Pa(y || e, function(r, s) {
|
|
6399
|
+
y && (s = r, r = e[s]), Qo(u, s, ts(r, t, a, o, s, e, l));
|
|
6399
6400
|
}), u;
|
|
6400
6401
|
}
|
|
6401
|
-
function
|
|
6402
|
-
return
|
|
6402
|
+
function ns(e) {
|
|
6403
|
+
return wc(e) ? to(e) : {};
|
|
6403
6404
|
}
|
|
6404
|
-
var
|
|
6405
|
-
function
|
|
6406
|
-
return e &&
|
|
6405
|
+
var rs = Rs(as), is = zs();
|
|
6406
|
+
function as(e, t) {
|
|
6407
|
+
return e && is(e, t, Nc);
|
|
6407
6408
|
}
|
|
6408
|
-
function
|
|
6409
|
-
t =
|
|
6410
|
-
for (var a = 0, o = t.length; e != null && a < o;) e = e[
|
|
6409
|
+
function os(e, t) {
|
|
6410
|
+
t = nc(t, e) ? [t] : Ts(t);
|
|
6411
|
+
for (var a = 0, o = t.length; e != null && a < o;) e = e[uc(t[a++])];
|
|
6411
6412
|
return a && a == o ? e : r;
|
|
6412
6413
|
}
|
|
6413
|
-
function
|
|
6414
|
+
function ss(e, t, r) {
|
|
6414
6415
|
var a = t(e);
|
|
6415
|
-
return $(e) ? a :
|
|
6416
|
+
return $(e) ? a : Fa(a, r(e));
|
|
6416
6417
|
}
|
|
6417
|
-
function
|
|
6418
|
-
return
|
|
6418
|
+
function cs(e) {
|
|
6419
|
+
return X.call(e);
|
|
6419
6420
|
}
|
|
6420
|
-
function
|
|
6421
|
+
function ls(e, t) {
|
|
6421
6422
|
return e != null && t in Object(e);
|
|
6422
6423
|
}
|
|
6423
|
-
function
|
|
6424
|
-
return e === t ? !0 : e == null || t == null || !
|
|
6424
|
+
function us(e, t, r, a, o) {
|
|
6425
|
+
return e === t ? !0 : e == null || t == null || !wc(e) && !Tc(t) ? e !== e && t !== t : ds(e, t, us, r, a, o);
|
|
6425
6426
|
}
|
|
6426
|
-
function
|
|
6427
|
+
function ds(e, t, r, a, o, s) {
|
|
6427
6428
|
var c = $(e), l = $(t), d = h, f = h;
|
|
6428
|
-
c || (d =
|
|
6429
|
-
var v = d == E && !
|
|
6430
|
-
if (b && !v) return s ||= new
|
|
6429
|
+
c || (d = Ys(e), d = d == p ? E : d), l || (f = Ys(t), f = f == p ? E : f);
|
|
6430
|
+
var v = d == E && !Va(e), y = f == E && !Va(t), b = d == f;
|
|
6431
|
+
if (b && !v) return s ||= new Q(), c || Oc(e) ? Bs(e, t, r, a, o, s) : Vs(e, t, d, r, a, o, s);
|
|
6431
6432
|
if (!(o & u)) {
|
|
6432
|
-
var x = v &&
|
|
6433
|
+
var x = v && Y.call(e, "__wrapped__"), C = y && Y.call(t, "__wrapped__");
|
|
6433
6434
|
if (x || C) {
|
|
6434
6435
|
var w = x ? e.value() : e, T = C ? t.value() : t;
|
|
6435
|
-
return s ||= new
|
|
6436
|
+
return s ||= new Q(), r(w, T, a, o, s);
|
|
6436
6437
|
}
|
|
6437
6438
|
}
|
|
6438
|
-
return b ? (s ||= new
|
|
6439
|
+
return b ? (s ||= new Q(), Hs(e, t, r, a, o, s)) : !1;
|
|
6439
6440
|
}
|
|
6440
|
-
function
|
|
6441
|
+
function fs(e, t, a, o) {
|
|
6441
6442
|
var s = a.length, c = s, d = !o;
|
|
6442
6443
|
if (e == null) return !c;
|
|
6443
6444
|
for (e = Object(e); s--;) {
|
|
@@ -6450,154 +6451,154 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6450
6451
|
if (d && f[2]) {
|
|
6451
6452
|
if (h === r && !(p in e)) return !1;
|
|
6452
6453
|
} else {
|
|
6453
|
-
var y = new
|
|
6454
|
+
var y = new Q();
|
|
6454
6455
|
if (o) var b = o(h, v, p, e, t, y);
|
|
6455
|
-
if (!(b === r ?
|
|
6456
|
+
if (!(b === r ? us(v, h, o, l | u, y) : b)) return !1;
|
|
6456
6457
|
}
|
|
6457
6458
|
}
|
|
6458
6459
|
return !0;
|
|
6459
6460
|
}
|
|
6460
|
-
function
|
|
6461
|
-
return !
|
|
6461
|
+
function ps(e) {
|
|
6462
|
+
return !wc(e) || ic(e) ? !1 : (Sc(e) || Va(e) ? Xa : Sa).test(dc(e));
|
|
6462
6463
|
}
|
|
6463
|
-
function
|
|
6464
|
-
return
|
|
6464
|
+
function ms(e) {
|
|
6465
|
+
return Tc(e) && Cc(e.length) && !!H[X.call(e)];
|
|
6465
6466
|
}
|
|
6466
|
-
function
|
|
6467
|
-
return typeof e == "function" ? e : e == null ?
|
|
6467
|
+
function hs(e) {
|
|
6468
|
+
return typeof e == "function" ? e : e == null ? Ic : typeof e == "object" ? $(e) ? ys(e[0], e[1]) : vs(e) : Rc(e);
|
|
6468
6469
|
}
|
|
6469
|
-
function
|
|
6470
|
-
if (!
|
|
6470
|
+
function gs(e) {
|
|
6471
|
+
if (!ac(e)) return oo(e);
|
|
6471
6472
|
var t = [];
|
|
6472
|
-
for (var r in Object(e))
|
|
6473
|
+
for (var r in Object(e)) Y.call(e, r) && r != "constructor" && t.push(r);
|
|
6473
6474
|
return t;
|
|
6474
6475
|
}
|
|
6475
|
-
function
|
|
6476
|
-
if (!
|
|
6477
|
-
var t =
|
|
6478
|
-
for (var a in e) a == "constructor" && (t || !
|
|
6476
|
+
function _s(e) {
|
|
6477
|
+
if (!wc(e)) return cc(e);
|
|
6478
|
+
var t = ac(e), r = [];
|
|
6479
|
+
for (var a in e) a == "constructor" && (t || !Y.call(e, a)) || r.push(a);
|
|
6479
6480
|
return r;
|
|
6480
6481
|
}
|
|
6481
|
-
function
|
|
6482
|
-
var t =
|
|
6483
|
-
return t.length == 1 && t[0][2] ?
|
|
6484
|
-
return r === e ||
|
|
6482
|
+
function vs(e) {
|
|
6483
|
+
var t = Ks(e);
|
|
6484
|
+
return t.length == 1 && t[0][2] ? sc(t[0][0], t[0][1]) : function(r) {
|
|
6485
|
+
return r === e || fs(r, e, t);
|
|
6485
6486
|
};
|
|
6486
6487
|
}
|
|
6487
|
-
function
|
|
6488
|
-
return
|
|
6489
|
-
var o =
|
|
6490
|
-
return o === r && o === t ?
|
|
6488
|
+
function ys(e, t) {
|
|
6489
|
+
return nc(e) && oc(t) ? sc(uc(e), t) : function(a) {
|
|
6490
|
+
var o = jc(a, e);
|
|
6491
|
+
return o === r && o === t ? Mc(a, e) : us(t, o, r, l | u);
|
|
6491
6492
|
};
|
|
6492
6493
|
}
|
|
6493
|
-
function
|
|
6494
|
+
function bs(e, t, a, o, s) {
|
|
6494
6495
|
if (e !== t) {
|
|
6495
|
-
if (!($(t) ||
|
|
6496
|
-
|
|
6497
|
-
if (c && (u = l, l = t[u]),
|
|
6496
|
+
if (!($(t) || Oc(t))) var c = _s(t);
|
|
6497
|
+
Pa(c || t, function(l, u) {
|
|
6498
|
+
if (c && (u = l, l = t[u]), wc(l)) s ||= new Q(), xs(e, t, u, a, bs, o, s);
|
|
6498
6499
|
else {
|
|
6499
6500
|
var d = o ? o(e[u], l, u + "", e, t, s) : r;
|
|
6500
|
-
d === r && (d = l),
|
|
6501
|
+
d === r && (d = l), Zo(e, u, d);
|
|
6501
6502
|
}
|
|
6502
6503
|
});
|
|
6503
6504
|
}
|
|
6504
6505
|
}
|
|
6505
|
-
function
|
|
6506
|
+
function xs(e, t, a, o, s, c, l) {
|
|
6506
6507
|
var u = e[a], d = t[a], f = l.get(d);
|
|
6507
6508
|
if (f) {
|
|
6508
|
-
|
|
6509
|
+
Zo(e, a, f);
|
|
6509
6510
|
return;
|
|
6510
6511
|
}
|
|
6511
6512
|
var p = c ? c(u, d, a + "", e, t, l) : r, h = p === r;
|
|
6512
|
-
h && (p = d, $(d) ||
|
|
6513
|
+
h && (p = d, $(d) || Oc(d) ? $(u) ? p = u : yc(u) ? p = Ps(u) : (h = !1, p = ts(d, !0)) : Ec(d) || _c(d) ? _c(u) ? p = kc(u) : !wc(u) || o && Sc(u) ? (h = !1, p = ts(d, !0)) : p = u : h = !1), h && (l.set(d, p), s(p, d, o, c, l), l.delete(d)), Zo(e, a, p);
|
|
6513
6514
|
}
|
|
6514
|
-
function
|
|
6515
|
+
function Ss(e) {
|
|
6515
6516
|
return function(t) {
|
|
6516
|
-
return
|
|
6517
|
+
return os(t, e);
|
|
6517
6518
|
};
|
|
6518
6519
|
}
|
|
6519
|
-
function
|
|
6520
|
-
return t =
|
|
6521
|
-
for (var r = arguments, a = -1, o =
|
|
6520
|
+
function Cs(e, t) {
|
|
6521
|
+
return t = so(t === r ? e.length - 1 : t, 0), function() {
|
|
6522
|
+
for (var r = arguments, a = -1, o = so(r.length - t, 0), s = Array(o); ++a < o;) s[a] = r[t + a];
|
|
6522
6523
|
a = -1;
|
|
6523
6524
|
for (var c = Array(t + 1); ++a < t;) c[a] = r[a];
|
|
6524
|
-
return c[t] = s,
|
|
6525
|
+
return c[t] = s, Na(e, this, c);
|
|
6525
6526
|
};
|
|
6526
6527
|
}
|
|
6527
|
-
function
|
|
6528
|
+
function ws(e) {
|
|
6528
6529
|
if (typeof e == "string") return e;
|
|
6529
|
-
if (
|
|
6530
|
+
if (Dc(e)) return Co ? Co.call(e) : "";
|
|
6530
6531
|
var t = e + "";
|
|
6531
6532
|
return t == "0" && 1 / e == -d ? "-0" : t;
|
|
6532
6533
|
}
|
|
6533
|
-
function
|
|
6534
|
-
return $(e) ? e :
|
|
6534
|
+
function Ts(e) {
|
|
6535
|
+
return $(e) ? e : lc(e);
|
|
6535
6536
|
}
|
|
6536
|
-
function
|
|
6537
|
+
function Es(e, t) {
|
|
6537
6538
|
if (t) return e.slice();
|
|
6538
6539
|
var r = new e.constructor(e.length);
|
|
6539
6540
|
return e.copy(r), r;
|
|
6540
6541
|
}
|
|
6541
|
-
function
|
|
6542
|
+
function Ds(e) {
|
|
6542
6543
|
var t = new e.constructor(e.byteLength);
|
|
6543
|
-
return new
|
|
6544
|
+
return new $a(t).set(new $a(e)), t;
|
|
6544
6545
|
}
|
|
6545
|
-
function
|
|
6546
|
-
var r = t ?
|
|
6546
|
+
function Os(e, t) {
|
|
6547
|
+
var r = t ? Ds(e.buffer) : e.buffer;
|
|
6547
6548
|
return new e.constructor(r, e.byteOffset, e.byteLength);
|
|
6548
6549
|
}
|
|
6549
|
-
function
|
|
6550
|
-
return
|
|
6550
|
+
function ks(e, t, r) {
|
|
6551
|
+
return Ia(t ? r(Ha(e), !0) : Ha(e), G, new e.constructor());
|
|
6551
6552
|
}
|
|
6552
|
-
function
|
|
6553
|
-
var t = new e.constructor(e.source,
|
|
6553
|
+
function As(e) {
|
|
6554
|
+
var t = new e.constructor(e.source, xa.exec(e));
|
|
6554
6555
|
return t.lastIndex = e.lastIndex, t;
|
|
6555
6556
|
}
|
|
6556
|
-
function
|
|
6557
|
-
return
|
|
6557
|
+
function js(e, t, r) {
|
|
6558
|
+
return Ia(t ? r(Wa(e), !0) : Wa(e), Ma, new e.constructor());
|
|
6558
6559
|
}
|
|
6559
|
-
function
|
|
6560
|
-
return
|
|
6560
|
+
function Ms(e) {
|
|
6561
|
+
return So ? Object(So.call(e)) : {};
|
|
6561
6562
|
}
|
|
6562
|
-
function
|
|
6563
|
-
var r = t ?
|
|
6563
|
+
function Ns(e, t) {
|
|
6564
|
+
var r = t ? Ds(e.buffer) : e.buffer;
|
|
6564
6565
|
return new e.constructor(r, e.byteOffset, e.length);
|
|
6565
6566
|
}
|
|
6566
|
-
function
|
|
6567
|
+
function Ps(e, t) {
|
|
6567
6568
|
var r = -1, a = e.length;
|
|
6568
6569
|
for (t ||= Array(a); ++r < a;) t[r] = e[r];
|
|
6569
6570
|
return t;
|
|
6570
6571
|
}
|
|
6571
|
-
function
|
|
6572
|
+
function Fs(e, t, a, o) {
|
|
6572
6573
|
a ||= {};
|
|
6573
6574
|
for (var s = -1, c = t.length; ++s < c;) {
|
|
6574
6575
|
var l = t[s], u = o ? o(a[l], e[l], l, a, e) : r;
|
|
6575
|
-
|
|
6576
|
+
Qo(a, l, u === r ? e[l] : u);
|
|
6576
6577
|
}
|
|
6577
6578
|
return a;
|
|
6578
6579
|
}
|
|
6579
|
-
function
|
|
6580
|
-
return
|
|
6580
|
+
function Is(e, t) {
|
|
6581
|
+
return Fs(e, Js(e), t);
|
|
6581
6582
|
}
|
|
6582
|
-
function
|
|
6583
|
-
return
|
|
6583
|
+
function Ls(e) {
|
|
6584
|
+
return Cs(function(t, a) {
|
|
6584
6585
|
var o = -1, s = a.length, c = s > 1 ? a[s - 1] : r, l = s > 2 ? a[2] : r;
|
|
6585
|
-
for (c = e.length > 3 && typeof c == "function" ? (s--, c) : r, l &&
|
|
6586
|
+
for (c = e.length > 3 && typeof c == "function" ? (s--, c) : r, l && tc(a[0], a[1], l) && (c = s < 3 ? r : c, s = 1), t = Object(t); ++o < s;) {
|
|
6586
6587
|
var u = a[o];
|
|
6587
6588
|
u && e(t, u, o, c);
|
|
6588
6589
|
}
|
|
6589
6590
|
return t;
|
|
6590
6591
|
});
|
|
6591
6592
|
}
|
|
6592
|
-
function
|
|
6593
|
+
function Rs(e, t) {
|
|
6593
6594
|
return function(r, a) {
|
|
6594
6595
|
if (r == null) return r;
|
|
6595
|
-
if (!
|
|
6596
|
+
if (!vc(r)) return e(r, a);
|
|
6596
6597
|
for (var o = r.length, s = t ? o : -1, c = Object(r); (t ? s-- : ++s < o) && a(c[s], s, c) !== !1;);
|
|
6597
6598
|
return r;
|
|
6598
6599
|
};
|
|
6599
6600
|
}
|
|
6600
|
-
function
|
|
6601
|
+
function zs(e) {
|
|
6601
6602
|
return function(t, r, a) {
|
|
6602
6603
|
for (var o = -1, s = Object(t), c = a(t), l = c.length; l--;) {
|
|
6603
6604
|
var u = c[e ? l : ++o];
|
|
@@ -6606,12 +6607,12 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6606
6607
|
return t;
|
|
6607
6608
|
};
|
|
6608
6609
|
}
|
|
6609
|
-
function
|
|
6610
|
+
function Bs(e, t, a, o, s, c) {
|
|
6610
6611
|
var d = s & u, f = e.length, p = t.length;
|
|
6611
6612
|
if (f != p && !(d && p > f)) return !1;
|
|
6612
6613
|
var h = c.get(e);
|
|
6613
6614
|
if (h && c.get(t)) return h == t;
|
|
6614
|
-
var v = -1, y = !0, b = s & l ? new
|
|
6615
|
+
var v = -1, y = !0, b = s & l ? new Ho() : r;
|
|
6615
6616
|
for (c.set(e, t), c.set(t, e); ++v < f;) {
|
|
6616
6617
|
var x = e[v], C = t[v];
|
|
6617
6618
|
if (o) var w = d ? o(C, x, v, t, e, c) : o(x, C, v, e, t, c);
|
|
@@ -6621,7 +6622,7 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6621
6622
|
break;
|
|
6622
6623
|
}
|
|
6623
6624
|
if (b) {
|
|
6624
|
-
if (!
|
|
6625
|
+
if (!La(t, function(e, t) {
|
|
6625
6626
|
if (!b.has(t) && (x === e || a(x, e, o, s, c))) return b.add(t);
|
|
6626
6627
|
})) {
|
|
6627
6628
|
y = !1;
|
|
@@ -6634,37 +6635,37 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6634
6635
|
}
|
|
6635
6636
|
return c.delete(e), c.delete(t), y;
|
|
6636
6637
|
}
|
|
6637
|
-
function
|
|
6638
|
+
function Vs(e, t, r, a, o, s, c) {
|
|
6638
6639
|
switch (r) {
|
|
6639
6640
|
case F:
|
|
6640
6641
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
|
|
6641
6642
|
e = e.buffer, t = t.buffer;
|
|
6642
|
-
case N: return !(e.byteLength != t.byteLength || !a(new
|
|
6643
|
+
case N: return !(e.byteLength != t.byteLength || !a(new $a(e), new $a(t)));
|
|
6643
6644
|
case v:
|
|
6644
6645
|
case y:
|
|
6645
|
-
case T: return
|
|
6646
|
+
case T: return gc(+e, +t);
|
|
6646
6647
|
case b: return e.name == t.name && e.message == t.message;
|
|
6647
6648
|
case O:
|
|
6648
6649
|
case A: return e == t + "";
|
|
6649
|
-
case w: var d =
|
|
6650
|
+
case w: var d = Ha;
|
|
6650
6651
|
case k:
|
|
6651
6652
|
var f = s & u;
|
|
6652
|
-
if (d ||=
|
|
6653
|
+
if (d ||= Wa, e.size != t.size && !f) return !1;
|
|
6653
6654
|
var p = c.get(e);
|
|
6654
6655
|
if (p) return p == t;
|
|
6655
6656
|
s |= l, c.set(e, t);
|
|
6656
|
-
var h =
|
|
6657
|
+
var h = Bs(d(e), d(t), a, o, s, c);
|
|
6657
6658
|
return c.delete(e), h;
|
|
6658
|
-
case j: if (
|
|
6659
|
+
case j: if (So) return So.call(e) == So.call(t);
|
|
6659
6660
|
}
|
|
6660
6661
|
return !1;
|
|
6661
6662
|
}
|
|
6662
|
-
function
|
|
6663
|
-
var l = s & u, d =
|
|
6664
|
-
if (f !=
|
|
6663
|
+
function Hs(e, t, a, o, s, c) {
|
|
6664
|
+
var l = s & u, d = Nc(e), f = d.length;
|
|
6665
|
+
if (f != Nc(t).length && !l) return !1;
|
|
6665
6666
|
for (var p = f; p--;) {
|
|
6666
6667
|
var h = d[p];
|
|
6667
|
-
if (!(l ? h in t :
|
|
6668
|
+
if (!(l ? h in t : Y.call(t, h))) return !1;
|
|
6668
6669
|
}
|
|
6669
6670
|
var v = c.get(e);
|
|
6670
6671
|
if (v && c.get(t)) return v == t;
|
|
@@ -6686,139 +6687,139 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6686
6687
|
}
|
|
6687
6688
|
return c.delete(e), c.delete(t), y;
|
|
6688
6689
|
}
|
|
6689
|
-
function
|
|
6690
|
-
return
|
|
6690
|
+
function Us(e) {
|
|
6691
|
+
return ss(e, Nc, Js);
|
|
6691
6692
|
}
|
|
6692
|
-
function
|
|
6693
|
-
var e =
|
|
6694
|
-
return e = e ===
|
|
6693
|
+
function Ws() {
|
|
6694
|
+
var e = Z.iteratee || Lc;
|
|
6695
|
+
return e = e === Lc ? hs : e, arguments.length ? e(arguments[0], arguments[1]) : e;
|
|
6695
6696
|
}
|
|
6696
|
-
function
|
|
6697
|
+
function Gs(e, t) {
|
|
6697
6698
|
var r = e.__data__;
|
|
6698
|
-
return
|
|
6699
|
+
return rc(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
6699
6700
|
}
|
|
6700
|
-
function
|
|
6701
|
-
for (var t =
|
|
6701
|
+
function Ks(e) {
|
|
6702
|
+
for (var t = Nc(e), r = t.length; r--;) {
|
|
6702
6703
|
var a = t[r], o = e[a];
|
|
6703
6704
|
t[r] = [
|
|
6704
6705
|
a,
|
|
6705
6706
|
o,
|
|
6706
|
-
|
|
6707
|
+
oc(o)
|
|
6707
6708
|
];
|
|
6708
6709
|
}
|
|
6709
6710
|
return t;
|
|
6710
6711
|
}
|
|
6711
|
-
function
|
|
6712
|
-
var a =
|
|
6713
|
-
return
|
|
6712
|
+
function qs(e, t) {
|
|
6713
|
+
var a = Ba(e, t);
|
|
6714
|
+
return ps(a) ? a : r;
|
|
6714
6715
|
}
|
|
6715
|
-
var
|
|
6716
|
-
(
|
|
6717
|
-
var t =
|
|
6716
|
+
var Js = io ? Ua(io, Object) : zc, Ys = cs;
|
|
6717
|
+
(co && Ys(new co(/* @__PURE__ */ new ArrayBuffer(1))) != F || lo && Ys(new lo()) != w || uo && Ys(uo.resolve()) != D || fo && Ys(new fo()) != k || po && Ys(new po()) != M) && (Ys = function(e) {
|
|
6718
|
+
var t = X.call(e), a = t == E ? e.constructor : r, o = a ? dc(a) : r;
|
|
6718
6719
|
if (o) switch (o) {
|
|
6719
|
-
case
|
|
6720
|
-
case
|
|
6721
|
-
case
|
|
6722
|
-
case
|
|
6723
|
-
case
|
|
6720
|
+
case go: return F;
|
|
6721
|
+
case _o: return w;
|
|
6722
|
+
case vo: return D;
|
|
6723
|
+
case yo: return k;
|
|
6724
|
+
case bo: return M;
|
|
6724
6725
|
}
|
|
6725
6726
|
return t;
|
|
6726
6727
|
});
|
|
6727
|
-
function
|
|
6728
|
-
t =
|
|
6728
|
+
function Xs(e, t, r) {
|
|
6729
|
+
t = nc(t, e) ? [t] : Ts(t);
|
|
6729
6730
|
for (var a, o = -1, s = t.length; ++o < s;) {
|
|
6730
|
-
var c =
|
|
6731
|
+
var c = uc(t[o]);
|
|
6731
6732
|
if (!(a = e != null && r(e, c))) break;
|
|
6732
6733
|
e = e[c];
|
|
6733
6734
|
}
|
|
6734
6735
|
if (a) return a;
|
|
6735
6736
|
var s = e ? e.length : 0;
|
|
6736
|
-
return !!s &&
|
|
6737
|
+
return !!s && Cc(s) && ec(c, s) && ($(e) || _c(e));
|
|
6737
6738
|
}
|
|
6738
|
-
function
|
|
6739
|
+
function Zs(e) {
|
|
6739
6740
|
var t = e.length, r = e.constructor(t);
|
|
6740
|
-
return t && typeof e[0] == "string" &&
|
|
6741
|
+
return t && typeof e[0] == "string" && Y.call(e, "index") && (r.index = e.index, r.input = e.input), r;
|
|
6741
6742
|
}
|
|
6742
|
-
function
|
|
6743
|
-
return typeof e.constructor == "function" && !
|
|
6743
|
+
function Qs(e) {
|
|
6744
|
+
return typeof e.constructor == "function" && !ac(e) ? ns(eo(e)) : {};
|
|
6744
6745
|
}
|
|
6745
|
-
function
|
|
6746
|
+
function $s(e, t, r, a) {
|
|
6746
6747
|
var o = e.constructor;
|
|
6747
6748
|
switch (t) {
|
|
6748
|
-
case N: return
|
|
6749
|
+
case N: return Ds(e);
|
|
6749
6750
|
case v:
|
|
6750
6751
|
case y: return new o(+e);
|
|
6751
|
-
case F: return
|
|
6752
|
+
case F: return Os(e, a);
|
|
6752
6753
|
case I:
|
|
6753
6754
|
case L:
|
|
6754
6755
|
case R:
|
|
6755
6756
|
case z:
|
|
6756
6757
|
case B:
|
|
6757
6758
|
case V:
|
|
6758
|
-
case
|
|
6759
|
-
case
|
|
6760
|
-
case
|
|
6761
|
-
case w: return
|
|
6759
|
+
case fa:
|
|
6760
|
+
case pa:
|
|
6761
|
+
case ma: return Ns(e, a);
|
|
6762
|
+
case w: return ks(e, a, r);
|
|
6762
6763
|
case T:
|
|
6763
6764
|
case A: return new o(e);
|
|
6764
|
-
case O: return
|
|
6765
|
-
case k: return
|
|
6766
|
-
case j: return
|
|
6765
|
+
case O: return As(e);
|
|
6766
|
+
case k: return js(e, a, r);
|
|
6767
|
+
case j: return Ms(e);
|
|
6767
6768
|
}
|
|
6768
6769
|
}
|
|
6769
|
-
function
|
|
6770
|
-
return t ??= f, !!t && (typeof e == "number" ||
|
|
6770
|
+
function ec(e, t) {
|
|
6771
|
+
return t ??= f, !!t && (typeof e == "number" || Ca.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
6771
6772
|
}
|
|
6772
|
-
function
|
|
6773
|
-
if (!
|
|
6773
|
+
function tc(e, t, r) {
|
|
6774
|
+
if (!wc(r)) return !1;
|
|
6774
6775
|
var a = typeof t;
|
|
6775
|
-
return (a == "number" ?
|
|
6776
|
+
return (a == "number" ? vc(r) && ec(t, r.length) : a == "string" && t in r) ? gc(r[t], e) : !1;
|
|
6776
6777
|
}
|
|
6777
|
-
function
|
|
6778
|
+
function nc(e, t) {
|
|
6778
6779
|
if ($(e)) return !1;
|
|
6779
6780
|
var r = typeof e;
|
|
6780
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null ||
|
|
6781
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || Dc(e) ? !0 : ga.test(e) || !ha.test(e) || t != null && e in Object(t);
|
|
6781
6782
|
}
|
|
6782
|
-
function
|
|
6783
|
+
function rc(e) {
|
|
6783
6784
|
var t = typeof e;
|
|
6784
6785
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
6785
6786
|
}
|
|
6786
|
-
function
|
|
6787
|
-
return !!
|
|
6787
|
+
function ic(e) {
|
|
6788
|
+
return !!Ja && Ja in e;
|
|
6788
6789
|
}
|
|
6789
|
-
function
|
|
6790
|
+
function ac(e) {
|
|
6790
6791
|
var t = e && e.constructor;
|
|
6791
|
-
return e === (typeof t == "function" && t.prototype ||
|
|
6792
|
+
return e === (typeof t == "function" && t.prototype || qa);
|
|
6792
6793
|
}
|
|
6793
|
-
function
|
|
6794
|
-
return e === e && !
|
|
6794
|
+
function oc(e) {
|
|
6795
|
+
return e === e && !wc(e);
|
|
6795
6796
|
}
|
|
6796
|
-
function
|
|
6797
|
+
function sc(e, t) {
|
|
6797
6798
|
return function(a) {
|
|
6798
6799
|
return a == null ? !1 : a[e] === t && (t !== r || e in Object(a));
|
|
6799
6800
|
};
|
|
6800
6801
|
}
|
|
6801
|
-
function
|
|
6802
|
+
function cc(e) {
|
|
6802
6803
|
var t = [];
|
|
6803
6804
|
if (e != null) for (var r in Object(e)) t.push(r);
|
|
6804
6805
|
return t;
|
|
6805
6806
|
}
|
|
6806
|
-
var
|
|
6807
|
-
e =
|
|
6807
|
+
var lc = mc(function(e) {
|
|
6808
|
+
e = Ac(e);
|
|
6808
6809
|
var t = [];
|
|
6809
|
-
return
|
|
6810
|
-
t.push(a ? o.replace(
|
|
6810
|
+
return _a.test(e) && t.push(""), e.replace(va, function(e, r, a, o) {
|
|
6811
|
+
t.push(a ? o.replace(ba, "$1") : r || e);
|
|
6811
6812
|
}), t;
|
|
6812
6813
|
});
|
|
6813
|
-
function
|
|
6814
|
-
if (typeof e == "string" ||
|
|
6814
|
+
function uc(e) {
|
|
6815
|
+
if (typeof e == "string" || Dc(e)) return e;
|
|
6815
6816
|
var t = e + "";
|
|
6816
6817
|
return t == "0" && 1 / e == -d ? "-0" : t;
|
|
6817
6818
|
}
|
|
6818
|
-
function
|
|
6819
|
+
function dc(e) {
|
|
6819
6820
|
if (e != null) {
|
|
6820
6821
|
try {
|
|
6821
|
-
return
|
|
6822
|
+
return J.call(e);
|
|
6822
6823
|
} catch {}
|
|
6823
6824
|
try {
|
|
6824
6825
|
return e + "";
|
|
@@ -6826,17 +6827,17 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6826
6827
|
}
|
|
6827
6828
|
return "";
|
|
6828
6829
|
}
|
|
6829
|
-
function
|
|
6830
|
+
function fc(e) {
|
|
6830
6831
|
for (var t = -1, r = e ? e.length : 0, a = 0, o = []; ++t < r;) {
|
|
6831
6832
|
var s = e[t];
|
|
6832
6833
|
s && (o[a++] = s);
|
|
6833
6834
|
}
|
|
6834
6835
|
return o;
|
|
6835
6836
|
}
|
|
6836
|
-
function
|
|
6837
|
-
return ($(e) ?
|
|
6837
|
+
function pc(e, t) {
|
|
6838
|
+
return ($(e) ? Pa : rs)(e, Ws(t, 3));
|
|
6838
6839
|
}
|
|
6839
|
-
function
|
|
6840
|
+
function mc(e, t) {
|
|
6840
6841
|
if (typeof e != "function" || t && typeof t != "function") throw TypeError(s);
|
|
6841
6842
|
var r = function() {
|
|
6842
6843
|
var a = arguments, o = t ? t.apply(this, a) : a[0], s = r.cache;
|
|
@@ -6844,97 +6845,97 @@ lodash_custom.exports, (function(e, t) {
|
|
|
6844
6845
|
var c = e.apply(this, a);
|
|
6845
6846
|
return r.cache = s.set(o, c), c;
|
|
6846
6847
|
};
|
|
6847
|
-
return r.cache = new (
|
|
6848
|
+
return r.cache = new (mc.Cache || Io)(), r;
|
|
6848
6849
|
}
|
|
6849
|
-
|
|
6850
|
-
function
|
|
6851
|
-
return
|
|
6850
|
+
mc.Cache = Io;
|
|
6851
|
+
function hc(e) {
|
|
6852
|
+
return ts(e, !1, !0);
|
|
6852
6853
|
}
|
|
6853
|
-
function
|
|
6854
|
+
function gc(e, t) {
|
|
6854
6855
|
return e === t || e !== e && t !== t;
|
|
6855
6856
|
}
|
|
6856
|
-
function
|
|
6857
|
-
return
|
|
6857
|
+
function _c(e) {
|
|
6858
|
+
return yc(e) && Y.call(e, "callee") && (!no.call(e, "callee") || X.call(e) == p);
|
|
6858
6859
|
}
|
|
6859
6860
|
var $ = Array.isArray;
|
|
6860
|
-
function
|
|
6861
|
-
return e != null &&
|
|
6861
|
+
function vc(e) {
|
|
6862
|
+
return e != null && Cc(e.length) && !Sc(e);
|
|
6862
6863
|
}
|
|
6863
|
-
function
|
|
6864
|
-
return
|
|
6864
|
+
function yc(e) {
|
|
6865
|
+
return Tc(e) && vc(e);
|
|
6865
6866
|
}
|
|
6866
|
-
var
|
|
6867
|
-
function
|
|
6868
|
-
if (
|
|
6869
|
-
var t =
|
|
6867
|
+
var bc = ao || Bc;
|
|
6868
|
+
function xc(e) {
|
|
6869
|
+
if (vc(e) && ($(e) || typeof e == "string" || typeof e.splice == "function" || bc(e) || _c(e))) return !e.length;
|
|
6870
|
+
var t = Ys(e);
|
|
6870
6871
|
if (t == w || t == k) return !e.size;
|
|
6871
|
-
if (
|
|
6872
|
-
for (var r in e) if (
|
|
6872
|
+
if (ho || ac(e)) return !oo(e).length;
|
|
6873
|
+
for (var r in e) if (Y.call(e, r)) return !1;
|
|
6873
6874
|
return !0;
|
|
6874
6875
|
}
|
|
6875
|
-
function
|
|
6876
|
-
var t =
|
|
6876
|
+
function Sc(e) {
|
|
6877
|
+
var t = wc(e) ? X.call(e) : "";
|
|
6877
6878
|
return t == x || t == C;
|
|
6878
6879
|
}
|
|
6879
|
-
function
|
|
6880
|
+
function Cc(e) {
|
|
6880
6881
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= f;
|
|
6881
6882
|
}
|
|
6882
|
-
function
|
|
6883
|
+
function wc(e) {
|
|
6883
6884
|
var t = typeof e;
|
|
6884
6885
|
return !!e && (t == "object" || t == "function");
|
|
6885
6886
|
}
|
|
6886
|
-
function
|
|
6887
|
+
function Tc(e) {
|
|
6887
6888
|
return !!e && typeof e == "object";
|
|
6888
6889
|
}
|
|
6889
|
-
function
|
|
6890
|
-
if (!
|
|
6891
|
-
var t =
|
|
6890
|
+
function Ec(e) {
|
|
6891
|
+
if (!Tc(e) || X.call(e) != E || Va(e)) return !1;
|
|
6892
|
+
var t = eo(e);
|
|
6892
6893
|
if (t === null) return !0;
|
|
6893
|
-
var r =
|
|
6894
|
-
return typeof r == "function" && r instanceof r &&
|
|
6894
|
+
var r = Y.call(t, "constructor") && t.constructor;
|
|
6895
|
+
return typeof r == "function" && r instanceof r && J.call(r) == Ya;
|
|
6895
6896
|
}
|
|
6896
|
-
function
|
|
6897
|
-
return typeof e == "symbol" ||
|
|
6897
|
+
function Dc(e) {
|
|
6898
|
+
return typeof e == "symbol" || Tc(e) && X.call(e) == j;
|
|
6898
6899
|
}
|
|
6899
|
-
var
|
|
6900
|
-
function
|
|
6901
|
-
return
|
|
6900
|
+
var Oc = ja ? za(ja) : ms;
|
|
6901
|
+
function kc(e) {
|
|
6902
|
+
return Fs(e, Pc(e));
|
|
6902
6903
|
}
|
|
6903
|
-
function
|
|
6904
|
-
return e == null ? "" :
|
|
6904
|
+
function Ac(e) {
|
|
6905
|
+
return e == null ? "" : ws(e);
|
|
6905
6906
|
}
|
|
6906
|
-
function
|
|
6907
|
-
var o = e == null ? r :
|
|
6907
|
+
function jc(e, t, a) {
|
|
6908
|
+
var o = e == null ? r : os(e, t);
|
|
6908
6909
|
return o === r ? a : o;
|
|
6909
6910
|
}
|
|
6910
|
-
function
|
|
6911
|
-
return e != null &&
|
|
6911
|
+
function Mc(e, t) {
|
|
6912
|
+
return e != null && Xs(e, t, ls);
|
|
6912
6913
|
}
|
|
6913
|
-
function
|
|
6914
|
-
return
|
|
6914
|
+
function Nc(e) {
|
|
6915
|
+
return vc(e) ? Xo(e) : gs(e);
|
|
6915
6916
|
}
|
|
6916
|
-
function
|
|
6917
|
-
return
|
|
6917
|
+
function Pc(e) {
|
|
6918
|
+
return vc(e) ? Xo(e, !0) : _s(e);
|
|
6918
6919
|
}
|
|
6919
|
-
var
|
|
6920
|
-
|
|
6920
|
+
var Fc = Ls(function(e, t, r) {
|
|
6921
|
+
bs(e, t, r);
|
|
6921
6922
|
});
|
|
6922
|
-
function
|
|
6923
|
+
function Ic(e) {
|
|
6923
6924
|
return e;
|
|
6924
6925
|
}
|
|
6925
|
-
function
|
|
6926
|
-
return
|
|
6926
|
+
function Lc(e) {
|
|
6927
|
+
return hs(typeof e == "function" ? e : ts(e, !0));
|
|
6927
6928
|
}
|
|
6928
|
-
function
|
|
6929
|
-
return
|
|
6929
|
+
function Rc(e) {
|
|
6930
|
+
return nc(e) ? Ra(uc(e)) : Ss(e);
|
|
6930
6931
|
}
|
|
6931
|
-
function
|
|
6932
|
+
function zc() {
|
|
6932
6933
|
return [];
|
|
6933
6934
|
}
|
|
6934
|
-
function
|
|
6935
|
+
function Bc() {
|
|
6935
6936
|
return !1;
|
|
6936
6937
|
}
|
|
6937
|
-
|
|
6938
|
+
Z.compact = fc, Z.iteratee = Lc, Z.keys = Nc, Z.keysIn = Pc, Z.memoize = mc, Z.merge = Fc, Z.property = Rc, Z.toPlainObject = kc, Z.clone = hc, Z.eq = gc, Z.forEach = pc, Z.get = jc, Z.hasIn = Mc, Z.identity = Ic, Z.isArguments = _c, Z.isArray = $, Z.isArrayLike = vc, Z.isArrayLikeObject = yc, Z.isBuffer = bc, Z.isEmpty = xc, Z.isFunction = Sc, Z.isLength = Cc, Z.isObject = wc, Z.isObjectLike = Tc, Z.isPlainObject = Ec, Z.isSymbol = Dc, Z.isTypedArray = Oc, Z.stubArray = zc, Z.stubFalse = Bc, Z.toString = Ac, Z.each = pc, Z.VERSION = a, W && ((W.exports = Z)._ = Z, Da._ = Z);
|
|
6938
6939
|
}).call(commonjsGlobal);
|
|
6939
6940
|
})(lodash_custom, lodash_custom.exports);
|
|
6940
6941
|
var lodash_customExports = lodash_custom.exports, geojsonRewind = rewind$1;
|
|
@@ -11720,7 +11721,7 @@ __publicField(_OsmGraphUtils, "RESTRICTED_PEDESTRIANS_HIGHWAYS", ["motorway", "m
|
|
|
11720
11721
|
let t = e.tags.highway === "elevator" && e.isGeometryClosed;
|
|
11721
11722
|
return e.tags.highway && !_OsmGraphUtils.RESTRICTED_PEDESTRIANS_HIGHWAYS.includes(e.tags.highway) && !t || e.tags.footway === "sidewalk" || e.tags.public_transport === "platform" || e.tags.railway === "platform";
|
|
11722
11723
|
});
|
|
11723
|
-
var ItineraryInfoManager = class {
|
|
11724
|
+
for (var ItineraryInfoManager = class {
|
|
11724
11725
|
constructor(e = null) {
|
|
11725
11726
|
__publicField(this, "_itinerary", null), __publicField(this, "_graph", null), __publicField(this, "_steps", []), __publicField(this, "_coordsNextStep", []), __publicField(this, "_coordsPreviousStep", []), __publicField(this, "_coordsDistanceTraveled", []), __publicField(this, "_coordsLeg", []), __publicField(this, "_itineraryDistanceWithoutProjections", 0), this.itinerary = e;
|
|
11726
11727
|
}
|
|
@@ -11775,1315 +11776,86 @@ var ItineraryInfoManager = class {
|
|
|
11775
11776
|
}
|
|
11776
11777
|
return r;
|
|
11777
11778
|
}
|
|
11778
|
-
},
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
}
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
enumerable: !(a = __getOwnPropDesc(t, l)) || a.enumerable
|
|
11789
|
-
});
|
|
11790
|
-
return e;
|
|
11791
|
-
}, __toESM = (e, t, r) => (r = e == null ? {} : __create(__getProtoOf(e)), __copyProps(t || !e || !e.__esModule ? __defProp(r, "default", {
|
|
11792
|
-
value: e,
|
|
11793
|
-
enumerable: !0
|
|
11794
|
-
}) : r, e)), Browser_default = {
|
|
11795
|
-
UNKNOWN: "Unknown",
|
|
11796
|
-
SAFARI: "Safari",
|
|
11797
|
-
FIREFOX: "Firefox",
|
|
11798
|
-
OPERA: "Opera",
|
|
11799
|
-
CHROME: "Chrome",
|
|
11800
|
-
IOS_WEBVIEW: "iOS-webview"
|
|
11801
|
-
}, BrowserUtils_default = class {
|
|
11802
|
-
static _name = null;
|
|
11803
|
-
static _isMobile = null;
|
|
11804
|
-
static getName() {
|
|
11805
|
-
if (!this._name) if (typeof navigator > "u" || !navigator) this._name = Browser_default.UNKNOWN;
|
|
11806
|
-
else {
|
|
11807
|
-
let { userAgent: e } = navigator;
|
|
11808
|
-
e.match(/Firefox/i) ? this._name = Browser_default.FIREFOX : e.match(/(Opera|OPR)/i) ? this._name = Browser_default.OPERA : e.match(/Chrome/i) ? this._name = Browser_default.CHROME : e.match(/Safari/i) ? this._name = Browser_default.SAFARI : e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Version)/i) ? this._name = Browser_default.IOS_WEBVIEW : this._name = Browser_default.UNKNOWN;
|
|
11809
|
-
}
|
|
11810
|
-
return this._name;
|
|
11779
|
+
}, ProvidersLoggerOld_default = new class {
|
|
11780
|
+
_enabled = !1;
|
|
11781
|
+
currentId = 0;
|
|
11782
|
+
objectsIdMap = /* @__PURE__ */ new WeakMap();
|
|
11783
|
+
pushEvents = {};
|
|
11784
|
+
pushEventsRef = {};
|
|
11785
|
+
interval;
|
|
11786
|
+
initDate;
|
|
11787
|
+
get enabled() {
|
|
11788
|
+
return this._enabled;
|
|
11811
11789
|
}
|
|
11812
|
-
|
|
11813
|
-
|
|
11814
|
-
let e = navigator.userAgent || navigator.vendor;
|
|
11815
|
-
e && (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4))) && (this._isMobile = !0);
|
|
11816
|
-
}
|
|
11817
|
-
return this._isMobile;
|
|
11790
|
+
set enabled(e) {
|
|
11791
|
+
this._enabled = e;
|
|
11818
11792
|
}
|
|
11819
|
-
|
|
11820
|
-
this.
|
|
11793
|
+
initializeInterval() {
|
|
11794
|
+
this.interval ||= window.setInterval(() => {
|
|
11795
|
+
for (let [e, t] of Object.entries(this.pushEvents)) Logger.debug("Received " + t + " notifications from " + this.pushEventsRef[Number(e)].getName() + " last second");
|
|
11796
|
+
this.pushEvents = {}, this.pushEventsRef = {};
|
|
11797
|
+
}, 1e3);
|
|
11821
11798
|
}
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
|
|
11869
|
-
|
|
11870
|
-
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
[v, x],
|
|
11883
|
-
[/opios[\/ ]+([\w\.]+)/i],
|
|
11884
|
-
[x, [v, Fa + " Mini"]],
|
|
11885
|
-
[/\bop(?:rg)?x\/([\w\.]+)/i],
|
|
11886
|
-
[x, [v, Fa + " GX"]],
|
|
11887
|
-
[/\bopr\/([\w\.]+)/i],
|
|
11888
|
-
[x, [v, Fa]],
|
|
11889
|
-
[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],
|
|
11890
|
-
[x, [v, "Baidu"]],
|
|
11891
|
-
[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],
|
|
11892
|
-
[x, [v, "Maxthon"]],
|
|
11893
|
-
[
|
|
11894
|
-
/(kindle)\/([\w\.]+)/i,
|
|
11895
|
-
/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,
|
|
11896
|
-
/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,
|
|
11897
|
-
/(?:ms|\()(ie) ([\w\.]+)/i,
|
|
11898
|
-
/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,
|
|
11899
|
-
/(heytap|ovi|115)browser\/([\d\.]+)/i,
|
|
11900
|
-
/(weibo)__([\d\.]+)/i
|
|
11901
|
-
],
|
|
11902
|
-
[v, x],
|
|
11903
|
-
[/quark(?:pc)?\/([-\w\.]+)/i],
|
|
11904
|
-
[x, [v, "Quark"]],
|
|
11905
|
-
[/\bddg\/([\w\.]+)/i],
|
|
11906
|
-
[x, [v, "DuckDuckGo"]],
|
|
11907
|
-
[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],
|
|
11908
|
-
[x, [v, "UC" + I]],
|
|
11909
|
-
[
|
|
11910
|
-
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
11911
|
-
/\bqbcore\/([\w\.]+).+microm/i,
|
|
11912
|
-
/micromessenger\/([\w\.]+)/i
|
|
11913
|
-
],
|
|
11914
|
-
[x, [v, "WeChat"]],
|
|
11915
|
-
[/konqueror\/([\w\.]+)/i],
|
|
11916
|
-
[x, [v, "Konqueror"]],
|
|
11917
|
-
[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],
|
|
11918
|
-
[x, [v, "IE"]],
|
|
11919
|
-
[/ya(?:search)?browser\/([\w\.]+)/i],
|
|
11920
|
-
[x, [v, "Yandex"]],
|
|
11921
|
-
[/slbrowser\/([\w\.]+)/i],
|
|
11922
|
-
[x, [v, "Smart Lenovo " + I]],
|
|
11923
|
-
[/(avast|avg)\/([\w\.]+)/i],
|
|
11924
|
-
[[
|
|
11925
|
-
v,
|
|
11926
|
-
/(.+)/,
|
|
11927
|
-
"$1 Secure " + I
|
|
11928
|
-
], x],
|
|
11929
|
-
[/\bfocus\/([\w\.]+)/i],
|
|
11930
|
-
[x, [v, z + " Focus"]],
|
|
11931
|
-
[/\bopt\/([\w\.]+)/i],
|
|
11932
|
-
[x, [v, Fa + " Touch"]],
|
|
11933
|
-
[/coc_coc\w+\/([\w\.]+)/i],
|
|
11934
|
-
[x, [v, "Coc Coc"]],
|
|
11935
|
-
[/dolfin\/([\w\.]+)/i],
|
|
11936
|
-
[x, [v, "Dolphin"]],
|
|
11937
|
-
[/coast\/([\w\.]+)/i],
|
|
11938
|
-
[x, [v, Fa + " Coast"]],
|
|
11939
|
-
[/miuibrowser\/([\w\.]+)/i],
|
|
11940
|
-
[x, [v, "MIUI" + Ua]],
|
|
11941
|
-
[/fxios\/([\w\.-]+)/i],
|
|
11942
|
-
[x, [v, z]],
|
|
11943
|
-
[/\bqihoobrowser\/?([\w\.]*)/i],
|
|
11944
|
-
[x, [v, "360"]],
|
|
11945
|
-
[/\b(qq)\/([\w\.]+)/i],
|
|
11946
|
-
[[
|
|
11947
|
-
v,
|
|
11948
|
-
/(.+)/,
|
|
11949
|
-
"$1Browser"
|
|
11950
|
-
], x],
|
|
11951
|
-
[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],
|
|
11952
|
-
[[
|
|
11953
|
-
v,
|
|
11954
|
-
/(.+)/,
|
|
11955
|
-
"$1" + Ua
|
|
11956
|
-
], x],
|
|
11957
|
-
[/samsungbrowser\/([\w\.]+)/i],
|
|
11958
|
-
[x, [v, La + " Internet"]],
|
|
11959
|
-
[/metasr[\/ ]?([\d\.]+)/i],
|
|
11960
|
-
[x, [v, "Sogou Explorer"]],
|
|
11961
|
-
[/(sogou)mo\w+\/([\d\.]+)/i],
|
|
11962
|
-
[[v, "Sogou Mobile"], x],
|
|
11963
|
-
[
|
|
11964
|
-
/(electron)\/([\w\.]+) safari/i,
|
|
11965
|
-
/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,
|
|
11966
|
-
/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
|
|
11967
|
-
],
|
|
11968
|
-
[v, x],
|
|
11969
|
-
[/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i],
|
|
11970
|
-
[v],
|
|
11971
|
-
[/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i],
|
|
11972
|
-
[x, v],
|
|
11973
|
-
[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
|
|
11974
|
-
[[v, Ba], x],
|
|
11975
|
-
[
|
|
11976
|
-
/(Klarna)\/([\w\.]+)/i,
|
|
11977
|
-
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
11978
|
-
/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,
|
|
11979
|
-
/(daum)apps[\/ ]([\w\.]+)/i,
|
|
11980
|
-
/safari (line)\/([\w\.]+)/i,
|
|
11981
|
-
/\b(line)\/([\w\.]+)\/iab/i,
|
|
11982
|
-
/(alipay)client\/([\w\.]+)/i,
|
|
11983
|
-
/(twitter)(?:and| f.+e\/([\w\.]+))/i,
|
|
11984
|
-
/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
|
|
11985
|
-
],
|
|
11986
|
-
[v, x],
|
|
11987
|
-
[/\bgsa\/([\w\.]+) .*safari\//i],
|
|
11988
|
-
[x, [v, "GSA"]],
|
|
11989
|
-
[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],
|
|
11990
|
-
[x, [v, "TikTok"]],
|
|
11991
|
-
[/headlesschrome(?:\/([\w\.]+)| )/i],
|
|
11992
|
-
[x, [v, L + " Headless"]],
|
|
11993
|
-
[/ wv\).+(chrome)\/([\w\.]+)/i],
|
|
11994
|
-
[[v, L + " WebView"], x],
|
|
11995
|
-
[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],
|
|
11996
|
-
[x, [v, "Android " + I]],
|
|
11997
|
-
[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],
|
|
11998
|
-
[v, x],
|
|
11999
|
-
[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],
|
|
12000
|
-
[x, [v, "Mobile Safari"]],
|
|
12001
|
-
[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],
|
|
12002
|
-
[x, v],
|
|
12003
|
-
[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
|
|
12004
|
-
[v, [
|
|
12005
|
-
x,
|
|
12006
|
-
qa,
|
|
12007
|
-
Ja
|
|
12008
|
-
]],
|
|
12009
|
-
[/(webkit|khtml)\/([\w\.]+)/i],
|
|
12010
|
-
[v, x],
|
|
12011
|
-
[/(navigator|netscape\d?)\/([-\w\.]+)/i],
|
|
12012
|
-
[[v, "Netscape"], x],
|
|
12013
|
-
[/(wolvic|librewolf)\/([\w\.]+)/i],
|
|
12014
|
-
[v, x],
|
|
12015
|
-
[/mobile vr; rv:([\w\.]+)\).+firefox/i],
|
|
12016
|
-
[x, [v, z + " Reality"]],
|
|
12017
|
-
[
|
|
12018
|
-
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
12019
|
-
/(swiftfox)/i,
|
|
12020
|
-
/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,
|
|
12021
|
-
/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,
|
|
12022
|
-
/(firefox)\/([\w\.]+)/i,
|
|
12023
|
-
/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,
|
|
12024
|
-
/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
|
|
12025
|
-
/\b(links) \(([\w\.]+)/i
|
|
12026
|
-
],
|
|
12027
|
-
[v, [
|
|
12028
|
-
x,
|
|
12029
|
-
/_/g,
|
|
12030
|
-
"."
|
|
12031
|
-
]],
|
|
12032
|
-
[/(cobalt)\/([\w\.]+)/i],
|
|
12033
|
-
[v, [
|
|
12034
|
-
x,
|
|
12035
|
-
/master.|lts./,
|
|
12036
|
-
""
|
|
12037
|
-
]]
|
|
12038
|
-
],
|
|
12039
|
-
cpu: [
|
|
12040
|
-
[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],
|
|
12041
|
-
[[C, "amd64"]],
|
|
12042
|
-
[/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i],
|
|
12043
|
-
[[C, "ia32"]],
|
|
12044
|
-
[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],
|
|
12045
|
-
[[C, "arm64"]],
|
|
12046
|
-
[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],
|
|
12047
|
-
[[C, "armhf"]],
|
|
12048
|
-
[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],
|
|
12049
|
-
[[C, "arm"]],
|
|
12050
|
-
[/((ppc|powerpc)(64)?)( mac|;|\))/i],
|
|
12051
|
-
[[
|
|
12052
|
-
C,
|
|
12053
|
-
/ower/,
|
|
12054
|
-
s,
|
|
12055
|
-
G
|
|
12056
|
-
]],
|
|
12057
|
-
[/ sun4\w[;\)]/i],
|
|
12058
|
-
[[C, "sparc"]],
|
|
12059
|
-
[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],
|
|
12060
|
-
[[C, G]]
|
|
12061
|
-
],
|
|
12062
|
-
device: [
|
|
12063
|
-
[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],
|
|
12064
|
-
[
|
|
12065
|
-
h,
|
|
12066
|
-
[b, La],
|
|
12067
|
-
[y, E]
|
|
12068
|
-
],
|
|
12069
|
-
[
|
|
12070
|
-
/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
|
|
12071
|
-
/samsung[- ]((?!sm-[lr])[-\w]+)/i,
|
|
12072
|
-
/sec-(sgh\w+)/i
|
|
12073
|
-
],
|
|
12074
|
-
[
|
|
12075
|
-
h,
|
|
12076
|
-
[b, La],
|
|
12077
|
-
[y, T]
|
|
12078
|
-
],
|
|
12079
|
-
[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
|
|
12080
|
-
[
|
|
12081
|
-
h,
|
|
12082
|
-
[b, M],
|
|
12083
|
-
[y, T]
|
|
12084
|
-
],
|
|
12085
|
-
[
|
|
12086
|
-
/\((ipad);[-\w\),; ]+apple/i,
|
|
12087
|
-
/applecoremedia\/[\w\.]+ \((ipad)/i,
|
|
12088
|
-
/\b(ipad)\d\d?,\d\d?[;\]].+ios/i
|
|
12089
|
-
],
|
|
12090
|
-
[
|
|
12091
|
-
h,
|
|
12092
|
-
[b, M],
|
|
12093
|
-
[y, E]
|
|
12094
|
-
],
|
|
12095
|
-
[/(macintosh);/i],
|
|
12096
|
-
[h, [b, M]],
|
|
12097
|
-
[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
|
|
12098
|
-
[
|
|
12099
|
-
h,
|
|
12100
|
-
[b, Ra],
|
|
12101
|
-
[y, T]
|
|
12102
|
-
],
|
|
12103
|
-
[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],
|
|
12104
|
-
[
|
|
12105
|
-
h,
|
|
12106
|
-
[b, V],
|
|
12107
|
-
[y, E]
|
|
12108
|
-
],
|
|
12109
|
-
[/honor([-\w ]+)[;\)]/i],
|
|
12110
|
-
[
|
|
12111
|
-
h,
|
|
12112
|
-
[b, V],
|
|
12113
|
-
[y, T]
|
|
12114
|
-
],
|
|
12115
|
-
[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],
|
|
12116
|
-
[
|
|
12117
|
-
h,
|
|
12118
|
-
[b, Oa],
|
|
12119
|
-
[y, E]
|
|
12120
|
-
],
|
|
12121
|
-
[/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],
|
|
12122
|
-
[
|
|
12123
|
-
h,
|
|
12124
|
-
[b, Oa],
|
|
12125
|
-
[y, T]
|
|
12126
|
-
],
|
|
12127
|
-
[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],
|
|
12128
|
-
[
|
|
12129
|
-
[
|
|
12130
|
-
h,
|
|
12131
|
-
/_/g,
|
|
12132
|
-
" "
|
|
12133
|
-
],
|
|
12134
|
-
[b, H],
|
|
12135
|
-
[y, E]
|
|
12136
|
-
],
|
|
12137
|
-
[
|
|
12138
|
-
/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
|
|
12139
|
-
/\b; (\w+) build\/hm\1/i,
|
|
12140
|
-
/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,
|
|
12141
|
-
/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,
|
|
12142
|
-
/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,
|
|
12143
|
-
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,
|
|
12144
|
-
/ ([\w ]+) miui\/v?\d/i
|
|
12145
|
-
],
|
|
12146
|
-
[
|
|
12147
|
-
[
|
|
12148
|
-
h,
|
|
12149
|
-
/_/g,
|
|
12150
|
-
" "
|
|
12151
|
-
],
|
|
12152
|
-
[b, H],
|
|
12153
|
-
[y, T]
|
|
12154
|
-
],
|
|
12155
|
-
[/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
|
|
12156
|
-
[
|
|
12157
|
-
h,
|
|
12158
|
-
[b, Ia],
|
|
12159
|
-
[y, T]
|
|
12160
|
-
],
|
|
12161
|
-
[/\b(opd2(\d{3}a?))(?: bui|\))/i],
|
|
12162
|
-
[
|
|
12163
|
-
h,
|
|
12164
|
-
[
|
|
12165
|
-
b,
|
|
12166
|
-
qa,
|
|
12167
|
-
{
|
|
12168
|
-
OnePlus: [
|
|
12169
|
-
"304",
|
|
12170
|
-
"403",
|
|
12171
|
-
"203"
|
|
12172
|
-
],
|
|
12173
|
-
"*": Ia
|
|
12174
|
-
}
|
|
12175
|
-
],
|
|
12176
|
-
[y, E]
|
|
12177
|
-
],
|
|
12178
|
-
[/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i],
|
|
12179
|
-
[
|
|
12180
|
-
h,
|
|
12181
|
-
[b, "Vivo"],
|
|
12182
|
-
[y, T]
|
|
12183
|
-
],
|
|
12184
|
-
[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],
|
|
12185
|
-
[
|
|
12186
|
-
h,
|
|
12187
|
-
[b, "Realme"],
|
|
12188
|
-
[y, T]
|
|
12189
|
-
],
|
|
12190
|
-
[
|
|
12191
|
-
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
|
|
12192
|
-
/\bmot(?:orola)?[- ](\w*)/i,
|
|
12193
|
-
/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
|
|
12194
|
-
],
|
|
12195
|
-
[
|
|
12196
|
-
h,
|
|
12197
|
-
[b, Ma],
|
|
12198
|
-
[y, T]
|
|
12199
|
-
],
|
|
12200
|
-
[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
|
|
12201
|
-
[
|
|
12202
|
-
h,
|
|
12203
|
-
[b, Ma],
|
|
12204
|
-
[y, E]
|
|
12205
|
-
],
|
|
12206
|
-
[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
|
|
12207
|
-
[
|
|
12208
|
-
h,
|
|
12209
|
-
[b, Aa],
|
|
12210
|
-
[y, E]
|
|
12211
|
-
],
|
|
12212
|
-
[
|
|
12213
|
-
/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
|
|
12214
|
-
/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,
|
|
12215
|
-
/\blg-?([\d\w]+) bui/i
|
|
12216
|
-
],
|
|
12217
|
-
[
|
|
12218
|
-
h,
|
|
12219
|
-
[b, Aa],
|
|
12220
|
-
[y, T]
|
|
12221
|
-
],
|
|
12222
|
-
[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],
|
|
12223
|
-
[
|
|
12224
|
-
h,
|
|
12225
|
-
[b, ka],
|
|
12226
|
-
[y, E]
|
|
12227
|
-
],
|
|
12228
|
-
[/(nokia) (t[12][01])/i],
|
|
12229
|
-
[
|
|
12230
|
-
b,
|
|
12231
|
-
h,
|
|
12232
|
-
[y, E]
|
|
12233
|
-
],
|
|
12234
|
-
[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i],
|
|
12235
|
-
[
|
|
12236
|
-
[
|
|
12237
|
-
h,
|
|
12238
|
-
/_/g,
|
|
12239
|
-
" "
|
|
12240
|
-
],
|
|
12241
|
-
[y, T],
|
|
12242
|
-
[b, "Nokia"]
|
|
12243
|
-
],
|
|
12244
|
-
[/(pixel (c|tablet))\b/i],
|
|
12245
|
-
[
|
|
12246
|
-
h,
|
|
12247
|
-
[b, B],
|
|
12248
|
-
[y, E]
|
|
12249
|
-
],
|
|
12250
|
-
[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],
|
|
12251
|
-
[
|
|
12252
|
-
h,
|
|
12253
|
-
[b, B],
|
|
12254
|
-
[y, T]
|
|
12255
|
-
],
|
|
12256
|
-
[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
|
|
12257
|
-
[
|
|
12258
|
-
h,
|
|
12259
|
-
[b, za],
|
|
12260
|
-
[y, T]
|
|
12261
|
-
],
|
|
12262
|
-
[/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
|
|
12263
|
-
[
|
|
12264
|
-
[h, "Xperia Tablet"],
|
|
12265
|
-
[b, za],
|
|
12266
|
-
[y, E]
|
|
12267
|
-
],
|
|
12268
|
-
[/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
|
|
12269
|
-
[
|
|
12270
|
-
h,
|
|
12271
|
-
[b, Pa],
|
|
12272
|
-
[y, T]
|
|
12273
|
-
],
|
|
12274
|
-
[
|
|
12275
|
-
/(alexa)webm/i,
|
|
12276
|
-
/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,
|
|
12277
|
-
/(kf[a-z]+)( bui|\)).+silk\//i
|
|
12278
|
-
],
|
|
12279
|
-
[
|
|
12280
|
-
h,
|
|
12281
|
-
[b, j],
|
|
12282
|
-
[y, E]
|
|
12283
|
-
],
|
|
12284
|
-
[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],
|
|
12285
|
-
[
|
|
12286
|
-
[
|
|
12287
|
-
h,
|
|
12288
|
-
/(.+)/g,
|
|
12289
|
-
"Fire Phone $1"
|
|
12290
|
-
],
|
|
12291
|
-
[b, j],
|
|
12292
|
-
[y, T]
|
|
12293
|
-
],
|
|
12294
|
-
[/(playbook);[-\w\),; ]+(rim)/i],
|
|
12295
|
-
[
|
|
12296
|
-
h,
|
|
12297
|
-
b,
|
|
12298
|
-
[y, E]
|
|
12299
|
-
],
|
|
12300
|
-
[/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i],
|
|
12301
|
-
[
|
|
12302
|
-
h,
|
|
12303
|
-
[b, F],
|
|
12304
|
-
[y, T]
|
|
12305
|
-
],
|
|
12306
|
-
[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],
|
|
12307
|
-
[
|
|
12308
|
-
h,
|
|
12309
|
-
[b, N],
|
|
12310
|
-
[y, E]
|
|
12311
|
-
],
|
|
12312
|
-
[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],
|
|
12313
|
-
[
|
|
12314
|
-
h,
|
|
12315
|
-
[b, N],
|
|
12316
|
-
[y, T]
|
|
12317
|
-
],
|
|
12318
|
-
[/(nexus 9)/i],
|
|
12319
|
-
[
|
|
12320
|
-
h,
|
|
12321
|
-
[b, "HTC"],
|
|
12322
|
-
[y, E]
|
|
12323
|
-
],
|
|
12324
|
-
[
|
|
12325
|
-
/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
|
|
12326
|
-
/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,
|
|
12327
|
-
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
12328
|
-
],
|
|
12329
|
-
[
|
|
12330
|
-
b,
|
|
12331
|
-
[
|
|
12332
|
-
h,
|
|
12333
|
-
/_/g,
|
|
12334
|
-
" "
|
|
12335
|
-
],
|
|
12336
|
-
[y, T]
|
|
12337
|
-
],
|
|
12338
|
-
[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],
|
|
12339
|
-
[
|
|
12340
|
-
h,
|
|
12341
|
-
[b, "TCL"],
|
|
12342
|
-
[y, E]
|
|
12343
|
-
],
|
|
12344
|
-
[/(itel) ((\w+))/i],
|
|
12345
|
-
[
|
|
12346
|
-
[b, G],
|
|
12347
|
-
h,
|
|
12348
|
-
[
|
|
12349
|
-
y,
|
|
12350
|
-
qa,
|
|
12351
|
-
{
|
|
12352
|
-
tablet: ["p10001l", "w7001"],
|
|
12353
|
-
"*": "mobile"
|
|
12354
|
-
}
|
|
12355
|
-
]
|
|
12356
|
-
],
|
|
12357
|
-
[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],
|
|
12358
|
-
[
|
|
12359
|
-
h,
|
|
12360
|
-
[b, "Acer"],
|
|
12361
|
-
[y, E]
|
|
12362
|
-
],
|
|
12363
|
-
[/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i],
|
|
12364
|
-
[
|
|
12365
|
-
h,
|
|
12366
|
-
[b, "Meizu"],
|
|
12367
|
-
[y, T]
|
|
12368
|
-
],
|
|
12369
|
-
[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],
|
|
12370
|
-
[
|
|
12371
|
-
h,
|
|
12372
|
-
[b, "Ulefone"],
|
|
12373
|
-
[y, T]
|
|
12374
|
-
],
|
|
12375
|
-
[/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i],
|
|
12376
|
-
[
|
|
12377
|
-
h,
|
|
12378
|
-
[b, "Energizer"],
|
|
12379
|
-
[y, T]
|
|
12380
|
-
],
|
|
12381
|
-
[/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],
|
|
12382
|
-
[
|
|
12383
|
-
h,
|
|
12384
|
-
[b, "Cat"],
|
|
12385
|
-
[y, T]
|
|
12386
|
-
],
|
|
12387
|
-
[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],
|
|
12388
|
-
[
|
|
12389
|
-
h,
|
|
12390
|
-
[b, "Smartfren"],
|
|
12391
|
-
[y, T]
|
|
12392
|
-
],
|
|
12393
|
-
[/droid.+; (a(?:015|06[35]|142p?))/i],
|
|
12394
|
-
[
|
|
12395
|
-
h,
|
|
12396
|
-
[b, "Nothing"],
|
|
12397
|
-
[y, T]
|
|
12398
|
-
],
|
|
12399
|
-
[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],
|
|
12400
|
-
[
|
|
12401
|
-
h,
|
|
12402
|
-
[b, "Archos"],
|
|
12403
|
-
[y, E]
|
|
12404
|
-
],
|
|
12405
|
-
[/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i],
|
|
12406
|
-
[
|
|
12407
|
-
h,
|
|
12408
|
-
[b, "Archos"],
|
|
12409
|
-
[y, T]
|
|
12410
|
-
],
|
|
12411
|
-
[/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i],
|
|
12412
|
-
[
|
|
12413
|
-
b,
|
|
12414
|
-
h,
|
|
12415
|
-
[y, E]
|
|
12416
|
-
],
|
|
12417
|
-
[
|
|
12418
|
-
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
|
|
12419
|
-
/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,
|
|
12420
|
-
/(hp) ([\w ]+\w)/i,
|
|
12421
|
-
/(microsoft); (lumia[\w ]+)/i,
|
|
12422
|
-
/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,
|
|
12423
|
-
/(oppo) ?([\w ]+) bui/i
|
|
12424
|
-
],
|
|
12425
|
-
[
|
|
12426
|
-
b,
|
|
12427
|
-
h,
|
|
12428
|
-
[y, T]
|
|
12429
|
-
],
|
|
12430
|
-
[
|
|
12431
|
-
/(kobo)\s(ereader|touch)/i,
|
|
12432
|
-
/(hp).+(touchpad(?!.+tablet)|tablet)/i,
|
|
12433
|
-
/(kindle)\/([\w\.]+)/i,
|
|
12434
|
-
/(nook)[\w ]+build\/(\w+)/i,
|
|
12435
|
-
/(dell) (strea[kpr\d ]*[\dko])/i,
|
|
12436
|
-
/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,
|
|
12437
|
-
/(trinity)[- ]*(t\d{3}) bui/i,
|
|
12438
|
-
/(gigaset)[- ]+(q\w{1,9}) bui/i,
|
|
12439
|
-
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
12440
|
-
],
|
|
12441
|
-
[
|
|
12442
|
-
b,
|
|
12443
|
-
h,
|
|
12444
|
-
[y, E]
|
|
12445
|
-
],
|
|
12446
|
-
[/(surface duo)/i],
|
|
12447
|
-
[
|
|
12448
|
-
h,
|
|
12449
|
-
[b, ja],
|
|
12450
|
-
[y, E]
|
|
12451
|
-
],
|
|
12452
|
-
[/droid [\d\.]+; (fp\du?)(?: b|\))/i],
|
|
12453
|
-
[
|
|
12454
|
-
h,
|
|
12455
|
-
[b, "Fairphone"],
|
|
12456
|
-
[y, T]
|
|
12457
|
-
],
|
|
12458
|
-
[/(u304aa)/i],
|
|
12459
|
-
[
|
|
12460
|
-
h,
|
|
12461
|
-
[b, "AT&T"],
|
|
12462
|
-
[y, T]
|
|
12463
|
-
],
|
|
12464
|
-
[/\bsie-(\w*)/i],
|
|
12465
|
-
[
|
|
12466
|
-
h,
|
|
12467
|
-
[b, "Siemens"],
|
|
12468
|
-
[y, T]
|
|
12469
|
-
],
|
|
12470
|
-
[/\b(rct\w+) b/i],
|
|
12471
|
-
[
|
|
12472
|
-
h,
|
|
12473
|
-
[b, "RCA"],
|
|
12474
|
-
[y, E]
|
|
12475
|
-
],
|
|
12476
|
-
[/\b(venue[\d ]{2,7}) b/i],
|
|
12477
|
-
[
|
|
12478
|
-
h,
|
|
12479
|
-
[b, "Dell"],
|
|
12480
|
-
[y, E]
|
|
12481
|
-
],
|
|
12482
|
-
[/\b(q(?:mv|ta)\w+) b/i],
|
|
12483
|
-
[
|
|
12484
|
-
h,
|
|
12485
|
-
[b, "Verizon"],
|
|
12486
|
-
[y, E]
|
|
12487
|
-
],
|
|
12488
|
-
[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],
|
|
12489
|
-
[
|
|
12490
|
-
h,
|
|
12491
|
-
[b, "Barnes & Noble"],
|
|
12492
|
-
[y, E]
|
|
12493
|
-
],
|
|
12494
|
-
[/\b(tm\d{3}\w+) b/i],
|
|
12495
|
-
[
|
|
12496
|
-
h,
|
|
12497
|
-
[b, "NuVision"],
|
|
12498
|
-
[y, E]
|
|
12499
|
-
],
|
|
12500
|
-
[/\b(k88) b/i],
|
|
12501
|
-
[
|
|
12502
|
-
h,
|
|
12503
|
-
[b, "ZTE"],
|
|
12504
|
-
[y, E]
|
|
12505
|
-
],
|
|
12506
|
-
[/\b(nx\d{3}j) b/i],
|
|
12507
|
-
[
|
|
12508
|
-
h,
|
|
12509
|
-
[b, "ZTE"],
|
|
12510
|
-
[y, T]
|
|
12511
|
-
],
|
|
12512
|
-
[/\b(gen\d{3}) b.+49h/i],
|
|
12513
|
-
[
|
|
12514
|
-
h,
|
|
12515
|
-
[b, "Swiss"],
|
|
12516
|
-
[y, T]
|
|
12517
|
-
],
|
|
12518
|
-
[/\b(zur\d{3}) b/i],
|
|
12519
|
-
[
|
|
12520
|
-
h,
|
|
12521
|
-
[b, "Swiss"],
|
|
12522
|
-
[y, E]
|
|
12523
|
-
],
|
|
12524
|
-
[/\b((zeki)?tb.*\b) b/i],
|
|
12525
|
-
[
|
|
12526
|
-
h,
|
|
12527
|
-
[b, "Zeki"],
|
|
12528
|
-
[y, E]
|
|
12529
|
-
],
|
|
12530
|
-
[/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i],
|
|
12531
|
-
[
|
|
12532
|
-
[b, "Dragon Touch"],
|
|
12533
|
-
h,
|
|
12534
|
-
[y, E]
|
|
12535
|
-
],
|
|
12536
|
-
[/\b(ns-?\w{0,9}) b/i],
|
|
12537
|
-
[
|
|
12538
|
-
h,
|
|
12539
|
-
[b, "Insignia"],
|
|
12540
|
-
[y, E]
|
|
12541
|
-
],
|
|
12542
|
-
[/\b((nxa|next)-?\w{0,9}) b/i],
|
|
12543
|
-
[
|
|
12544
|
-
h,
|
|
12545
|
-
[b, "NextBook"],
|
|
12546
|
-
[y, E]
|
|
12547
|
-
],
|
|
12548
|
-
[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],
|
|
12549
|
-
[
|
|
12550
|
-
[b, "Voice"],
|
|
12551
|
-
h,
|
|
12552
|
-
[y, T]
|
|
12553
|
-
],
|
|
12554
|
-
[/\b(lvtel\-)?(v1[12]) b/i],
|
|
12555
|
-
[
|
|
12556
|
-
[b, "LvTel"],
|
|
12557
|
-
h,
|
|
12558
|
-
[y, T]
|
|
12559
|
-
],
|
|
12560
|
-
[/\b(ph-1) /i],
|
|
12561
|
-
[
|
|
12562
|
-
h,
|
|
12563
|
-
[b, "Essential"],
|
|
12564
|
-
[y, T]
|
|
12565
|
-
],
|
|
12566
|
-
[/\b(v(100md|700na|7011|917g).*\b) b/i],
|
|
12567
|
-
[
|
|
12568
|
-
h,
|
|
12569
|
-
[b, "Envizen"],
|
|
12570
|
-
[y, E]
|
|
12571
|
-
],
|
|
12572
|
-
[/\b(trio[-\w\. ]+) b/i],
|
|
12573
|
-
[
|
|
12574
|
-
h,
|
|
12575
|
-
[b, "MachSpeed"],
|
|
12576
|
-
[y, E]
|
|
12577
|
-
],
|
|
12578
|
-
[/\btu_(1491) b/i],
|
|
12579
|
-
[
|
|
12580
|
-
h,
|
|
12581
|
-
[b, "Rotor"],
|
|
12582
|
-
[y, E]
|
|
12583
|
-
],
|
|
12584
|
-
[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],
|
|
12585
|
-
[
|
|
12586
|
-
h,
|
|
12587
|
-
[b, Na],
|
|
12588
|
-
[y, E]
|
|
12589
|
-
],
|
|
12590
|
-
[/(sprint) (\w+)/i],
|
|
12591
|
-
[
|
|
12592
|
-
b,
|
|
12593
|
-
h,
|
|
12594
|
-
[y, T]
|
|
12595
|
-
],
|
|
12596
|
-
[/(kin\.[onetw]{3})/i],
|
|
12597
|
-
[
|
|
12598
|
-
[
|
|
12599
|
-
h,
|
|
12600
|
-
/\./g,
|
|
12601
|
-
" "
|
|
12602
|
-
],
|
|
12603
|
-
[b, ja],
|
|
12604
|
-
[y, T]
|
|
12605
|
-
],
|
|
12606
|
-
[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
|
|
12607
|
-
[
|
|
12608
|
-
h,
|
|
12609
|
-
[b, U],
|
|
12610
|
-
[y, E]
|
|
12611
|
-
],
|
|
12612
|
-
[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
|
|
12613
|
-
[
|
|
12614
|
-
h,
|
|
12615
|
-
[b, U],
|
|
12616
|
-
[y, T]
|
|
12617
|
-
],
|
|
12618
|
-
[/smart-tv.+(samsung)/i],
|
|
12619
|
-
[b, [y, D]],
|
|
12620
|
-
[/hbbtv.+maple;(\d+)/i],
|
|
12621
|
-
[
|
|
12622
|
-
[
|
|
12623
|
-
h,
|
|
12624
|
-
/^/,
|
|
12625
|
-
"SmartTV"
|
|
12626
|
-
],
|
|
12627
|
-
[b, La],
|
|
12628
|
-
[y, D]
|
|
12629
|
-
],
|
|
12630
|
-
[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
|
|
12631
|
-
[[b, Aa], [y, D]],
|
|
12632
|
-
[/(apple) ?tv/i],
|
|
12633
|
-
[
|
|
12634
|
-
b,
|
|
12635
|
-
[h, M + " TV"],
|
|
12636
|
-
[y, D]
|
|
12637
|
-
],
|
|
12638
|
-
[/crkey/i],
|
|
12639
|
-
[
|
|
12640
|
-
[h, L + "cast"],
|
|
12641
|
-
[b, B],
|
|
12642
|
-
[y, D]
|
|
12643
|
-
],
|
|
12644
|
-
[/droid.+aft(\w+)( bui|\))/i],
|
|
12645
|
-
[
|
|
12646
|
-
h,
|
|
12647
|
-
[b, j],
|
|
12648
|
-
[y, D]
|
|
12649
|
-
],
|
|
12650
|
-
[/(shield \w+ tv)/i],
|
|
12651
|
-
[
|
|
12652
|
-
h,
|
|
12653
|
-
[b, Na],
|
|
12654
|
-
[y, D]
|
|
12655
|
-
],
|
|
12656
|
-
[/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
|
|
12657
|
-
[
|
|
12658
|
-
h,
|
|
12659
|
-
[b, Ra],
|
|
12660
|
-
[y, D]
|
|
12661
|
-
],
|
|
12662
|
-
[/(bravia[\w ]+)( bui|\))/i],
|
|
12663
|
-
[
|
|
12664
|
-
h,
|
|
12665
|
-
[b, za],
|
|
12666
|
-
[y, D]
|
|
12667
|
-
],
|
|
12668
|
-
[/(mi(tv|box)-?\w+) bui/i],
|
|
12669
|
-
[
|
|
12670
|
-
h,
|
|
12671
|
-
[b, H],
|
|
12672
|
-
[y, D]
|
|
12673
|
-
],
|
|
12674
|
-
[/Hbbtv.*(technisat) (.*);/i],
|
|
12675
|
-
[
|
|
12676
|
-
b,
|
|
12677
|
-
h,
|
|
12678
|
-
[y, D]
|
|
12679
|
-
],
|
|
12680
|
-
[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
|
|
12681
|
-
[
|
|
12682
|
-
[b, K],
|
|
12683
|
-
[h, K],
|
|
12684
|
-
[y, D]
|
|
12685
|
-
],
|
|
12686
|
-
[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],
|
|
12687
|
-
[h, [y, D]],
|
|
12688
|
-
[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
|
|
12689
|
-
[[y, D]],
|
|
12690
|
-
[/(ouya)/i, /(nintendo) ([wids3utch]+)/i],
|
|
12691
|
-
[
|
|
12692
|
-
b,
|
|
12693
|
-
h,
|
|
12694
|
-
[y, w]
|
|
12695
|
-
],
|
|
12696
|
-
[/droid.+; (shield)( bui|\))/i],
|
|
12697
|
-
[
|
|
12698
|
-
h,
|
|
12699
|
-
[b, Na],
|
|
12700
|
-
[y, w]
|
|
12701
|
-
],
|
|
12702
|
-
[/(playstation \w+)/i],
|
|
12703
|
-
[
|
|
12704
|
-
h,
|
|
12705
|
-
[b, za],
|
|
12706
|
-
[y, w]
|
|
12707
|
-
],
|
|
12708
|
-
[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
|
|
12709
|
-
[
|
|
12710
|
-
h,
|
|
12711
|
-
[b, ja],
|
|
12712
|
-
[y, w]
|
|
12713
|
-
],
|
|
12714
|
-
[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],
|
|
12715
|
-
[
|
|
12716
|
-
h,
|
|
12717
|
-
[b, La],
|
|
12718
|
-
[y, O]
|
|
12719
|
-
],
|
|
12720
|
-
[/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],
|
|
12721
|
-
[
|
|
12722
|
-
b,
|
|
12723
|
-
h,
|
|
12724
|
-
[y, O]
|
|
12725
|
-
],
|
|
12726
|
-
[/(ow(?:19|20)?we?[1-3]{1,3})/i],
|
|
12727
|
-
[
|
|
12728
|
-
h,
|
|
12729
|
-
[b, Ia],
|
|
12730
|
-
[y, O]
|
|
12731
|
-
],
|
|
12732
|
-
[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],
|
|
12733
|
-
[
|
|
12734
|
-
h,
|
|
12735
|
-
[b, M],
|
|
12736
|
-
[y, O]
|
|
12737
|
-
],
|
|
12738
|
-
[/(opwwe\d{3})/i],
|
|
12739
|
-
[
|
|
12740
|
-
h,
|
|
12741
|
-
[b, Pa],
|
|
12742
|
-
[y, O]
|
|
12743
|
-
],
|
|
12744
|
-
[/(moto 360)/i],
|
|
12745
|
-
[
|
|
12746
|
-
h,
|
|
12747
|
-
[b, Ma],
|
|
12748
|
-
[y, O]
|
|
12749
|
-
],
|
|
12750
|
-
[/(smartwatch 3)/i],
|
|
12751
|
-
[
|
|
12752
|
-
h,
|
|
12753
|
-
[b, za],
|
|
12754
|
-
[y, O]
|
|
12755
|
-
],
|
|
12756
|
-
[/(g watch r)/i],
|
|
12757
|
-
[
|
|
12758
|
-
h,
|
|
12759
|
-
[b, Aa],
|
|
12760
|
-
[y, O]
|
|
12761
|
-
],
|
|
12762
|
-
[/droid.+; (wt63?0{2,3})\)/i],
|
|
12763
|
-
[
|
|
12764
|
-
h,
|
|
12765
|
-
[b, U],
|
|
12766
|
-
[y, O]
|
|
12767
|
-
],
|
|
12768
|
-
[/droid.+; (glass) \d/i],
|
|
12769
|
-
[
|
|
12770
|
-
h,
|
|
12771
|
-
[b, B],
|
|
12772
|
-
[y, O]
|
|
12773
|
-
],
|
|
12774
|
-
[/(pico) (4|neo3(?: link|pro)?)/i],
|
|
12775
|
-
[
|
|
12776
|
-
b,
|
|
12777
|
-
h,
|
|
12778
|
-
[y, O]
|
|
12779
|
-
],
|
|
12780
|
-
[/; (quest( \d| pro)?)/i],
|
|
12781
|
-
[
|
|
12782
|
-
h,
|
|
12783
|
-
[b, Ba],
|
|
12784
|
-
[y, O]
|
|
12785
|
-
],
|
|
12786
|
-
[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
|
|
12787
|
-
[b, [y, k]],
|
|
12788
|
-
[/(aeobc)\b/i],
|
|
12789
|
-
[
|
|
12790
|
-
h,
|
|
12791
|
-
[b, j],
|
|
12792
|
-
[y, k]
|
|
12793
|
-
],
|
|
12794
|
-
[/(homepod).+mac os/i],
|
|
12795
|
-
[
|
|
12796
|
-
h,
|
|
12797
|
-
[b, M],
|
|
12798
|
-
[y, k]
|
|
12799
|
-
],
|
|
12800
|
-
[/windows iot/i],
|
|
12801
|
-
[[y, k]],
|
|
12802
|
-
[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],
|
|
12803
|
-
[h, [y, T]],
|
|
12804
|
-
[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],
|
|
12805
|
-
[h, [y, E]],
|
|
12806
|
-
[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],
|
|
12807
|
-
[[y, E]],
|
|
12808
|
-
[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],
|
|
12809
|
-
[[y, T]],
|
|
12810
|
-
[/droid .+?; ([\w\. -]+)( bui|\))/i],
|
|
12811
|
-
[h, [b, "Generic"]]
|
|
12812
|
-
],
|
|
12813
|
-
engine: [
|
|
12814
|
-
[/windows.+ edge\/([\w\.]+)/i],
|
|
12815
|
-
[x, [v, R + "HTML"]],
|
|
12816
|
-
[/(arkweb)\/([\w\.]+)/i],
|
|
12817
|
-
[v, x],
|
|
12818
|
-
[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
|
|
12819
|
-
[x, [v, "Blink"]],
|
|
12820
|
-
[
|
|
12821
|
-
/(presto)\/([\w\.]+)/i,
|
|
12822
|
-
/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,
|
|
12823
|
-
/ekioh(flow)\/([\w\.]+)/i,
|
|
12824
|
-
/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,
|
|
12825
|
-
/(icab)[\/ ]([23]\.[\d\.]+)/i,
|
|
12826
|
-
/\b(libweb)/i
|
|
12827
|
-
],
|
|
12828
|
-
[v, x],
|
|
12829
|
-
[/ladybird\//i],
|
|
12830
|
-
[[v, "LibWeb"]],
|
|
12831
|
-
[/rv\:([\w\.]{1,9})\b.+(gecko)/i],
|
|
12832
|
-
[x, v]
|
|
12833
|
-
],
|
|
12834
|
-
os: [
|
|
12835
|
-
[/microsoft (windows) (vista|xp)/i],
|
|
12836
|
-
[v, x],
|
|
12837
|
-
[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],
|
|
12838
|
-
[v, [
|
|
12839
|
-
x,
|
|
12840
|
-
qa,
|
|
12841
|
-
Ya
|
|
12842
|
-
]],
|
|
12843
|
-
[
|
|
12844
|
-
/windows nt 6\.2; (arm)/i,
|
|
12845
|
-
/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
|
|
12846
|
-
/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
|
|
12847
|
-
],
|
|
12848
|
-
[[
|
|
12849
|
-
x,
|
|
12850
|
-
qa,
|
|
12851
|
-
Ya
|
|
12852
|
-
], [v, "Windows"]],
|
|
12853
|
-
[
|
|
12854
|
-
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
12855
|
-
/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
|
|
12856
|
-
/cfnetwork\/.+darwin/i
|
|
12857
|
-
],
|
|
12858
|
-
[[
|
|
12859
|
-
x,
|
|
12860
|
-
/_/g,
|
|
12861
|
-
"."
|
|
12862
|
-
], [v, "iOS"]],
|
|
12863
|
-
[/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
|
|
12864
|
-
[[v, Ha], [
|
|
12865
|
-
x,
|
|
12866
|
-
/_/g,
|
|
12867
|
-
"."
|
|
12868
|
-
]],
|
|
12869
|
-
[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],
|
|
12870
|
-
[x, v],
|
|
12871
|
-
[/(ubuntu) ([\w\.]+) like android/i],
|
|
12872
|
-
[[
|
|
12873
|
-
v,
|
|
12874
|
-
/(.+)/,
|
|
12875
|
-
"$1 Touch"
|
|
12876
|
-
], x],
|
|
12877
|
-
[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],
|
|
12878
|
-
[v, x],
|
|
12879
|
-
[/\(bb(10);/i],
|
|
12880
|
-
[x, [v, F]],
|
|
12881
|
-
[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],
|
|
12882
|
-
[x, [v, "Symbian"]],
|
|
12883
|
-
[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
|
|
12884
|
-
[x, [v, z + " OS"]],
|
|
12885
|
-
[/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
|
|
12886
|
-
[x, [v, "webOS"]],
|
|
12887
|
-
[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],
|
|
12888
|
-
[x, [v, "watchOS"]],
|
|
12889
|
-
[/crkey\/([\d\.]+)/i],
|
|
12890
|
-
[x, [v, L + "cast"]],
|
|
12891
|
-
[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
|
|
12892
|
-
[[v, Va], x],
|
|
12893
|
-
[
|
|
12894
|
-
/panasonic;(viera)/i,
|
|
12895
|
-
/(netrange)mmh/i,
|
|
12896
|
-
/(nettv)\/(\d+\.[\w\.]+)/i,
|
|
12897
|
-
/(nintendo|playstation) ([wids345portablevuch]+)/i,
|
|
12898
|
-
/(xbox); +xbox ([^\);]+)/i,
|
|
12899
|
-
/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,
|
|
12900
|
-
/(mint)[\/\(\) ]?(\w*)/i,
|
|
12901
|
-
/(mageia|vectorlinux)[; ]/i,
|
|
12902
|
-
/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,
|
|
12903
|
-
/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,
|
|
12904
|
-
/(gnu) ?([\w\.]*)/i,
|
|
12905
|
-
/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
|
|
12906
|
-
/(haiku) (\w+)/i
|
|
12907
|
-
],
|
|
12908
|
-
[v, x],
|
|
12909
|
-
[/(sunos) ?([\w\.\d]*)/i],
|
|
12910
|
-
[[v, "Solaris"], x],
|
|
12911
|
-
[
|
|
12912
|
-
/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
|
|
12913
|
-
/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,
|
|
12914
|
-
/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,
|
|
12915
|
-
/(unix) ?([\w\.]*)/i
|
|
12916
|
-
],
|
|
12917
|
-
[v, x]
|
|
12918
|
-
]
|
|
12919
|
-
}, J = function(e, t) {
|
|
12920
|
-
if (typeof e === d && (t = e, e = a), !(this instanceof J)) return new J(e, t).getResult();
|
|
12921
|
-
var o = typeof r !== u && r.navigator ? r.navigator : a, c = e || (o && o.userAgent ? o.userAgent : s), w = o && o.userAgentData ? o.userAgentData : a, D = t ? W(Xa, t) : Xa, O = o && o.userAgent == c;
|
|
12922
|
-
return this.getBrowser = function() {
|
|
12923
|
-
var e = {};
|
|
12924
|
-
return e[v] = a, e[x] = a, q.call(e, c, D.browser), e[p] = Ka(e[x]), O && o && o.brave && typeof o.brave.isBrave == l && (e[v] = "Brave"), e;
|
|
12925
|
-
}, this.getCPU = function() {
|
|
12926
|
-
var e = {};
|
|
12927
|
-
return e[C] = a, q.call(e, c, D.cpu), e;
|
|
12928
|
-
}, this.getDevice = function() {
|
|
12929
|
-
var e = {};
|
|
12930
|
-
return e[b] = a, e[h] = a, e[y] = a, q.call(e, c, D.device), O && !e[y] && w && w.mobile && (e[y] = T), O && e[h] == "Macintosh" && o && typeof o.standalone !== u && o.maxTouchPoints && o.maxTouchPoints > 2 && (e[h] = "iPad", e[y] = E), e;
|
|
12931
|
-
}, this.getEngine = function() {
|
|
12932
|
-
var e = {};
|
|
12933
|
-
return e[v] = a, e[x] = a, q.call(e, c, D.engine), e;
|
|
12934
|
-
}, this.getOS = function() {
|
|
12935
|
-
var e = {};
|
|
12936
|
-
return e[v] = a, e[x] = a, q.call(e, c, D.os), O && !e[v] && w && w.platform && w.platform != "Unknown" && (e[v] = w.platform.replace(/chrome os/i, Va).replace(/macos/i, Ha)), e;
|
|
12937
|
-
}, this.getResult = function() {
|
|
12938
|
-
return {
|
|
12939
|
-
ua: this.getUA(),
|
|
12940
|
-
browser: this.getBrowser(),
|
|
12941
|
-
engine: this.getEngine(),
|
|
12942
|
-
os: this.getOS(),
|
|
12943
|
-
device: this.getDevice(),
|
|
12944
|
-
cpu: this.getCPU()
|
|
12945
|
-
};
|
|
12946
|
-
}, this.getUA = function() {
|
|
12947
|
-
return c;
|
|
12948
|
-
}, this.setUA = function(e) {
|
|
12949
|
-
return c = typeof e === f && e.length > A ? K(e, A) : e, this;
|
|
12950
|
-
}, this.setUA(c), this;
|
|
12951
|
-
};
|
|
12952
|
-
J.VERSION = o, J.BROWSER = Wa([
|
|
12953
|
-
v,
|
|
12954
|
-
x,
|
|
12955
|
-
p
|
|
12956
|
-
]), J.CPU = Wa([C]), J.DEVICE = Wa([
|
|
12957
|
-
h,
|
|
12958
|
-
b,
|
|
12959
|
-
y,
|
|
12960
|
-
w,
|
|
12961
|
-
T,
|
|
12962
|
-
D,
|
|
12963
|
-
E,
|
|
12964
|
-
O,
|
|
12965
|
-
k
|
|
12966
|
-
]), J.ENGINE = J.OS = Wa([v, x]), typeof e === u ? typeof define === l && define.amd ? define(function() {
|
|
12967
|
-
return J;
|
|
12968
|
-
}) : typeof r !== u && (r.UAParser = J) : (typeof t !== u && t.exports && (e = t.exports = J), e.UAParser = J);
|
|
12969
|
-
var Za = typeof r !== u && (r.jQuery || r.Zepto);
|
|
12970
|
-
if (Za && !Za.ua) {
|
|
12971
|
-
var Y = new J();
|
|
12972
|
-
Za.ua = Y.getResult(), Za.ua.get = function() {
|
|
12973
|
-
return Y.getUA();
|
|
12974
|
-
}, Za.ua.set = function(e) {
|
|
12975
|
-
Y.setUA(e);
|
|
12976
|
-
var t = Y.getResult();
|
|
12977
|
-
for (var r in t) Za.ua[r] = t[r];
|
|
12978
|
-
};
|
|
12979
|
-
}
|
|
12980
|
-
})(typeof window == "object" ? window : e);
|
|
12981
|
-
})), UserAgentUtils_exports = /* @__PURE__ */ __export({ getDeviceFromUserAgent: () => getDeviceFromUserAgent }), import_ua_parser = /* @__PURE__ */ __toESM(require_ua_parser(), 1);
|
|
12982
|
-
function getDeviceFromUserAgent() {
|
|
12983
|
-
let e = new import_ua_parser.default().getResult();
|
|
12984
|
-
if (!e) return null;
|
|
12985
|
-
let t = {
|
|
12986
|
-
vendor: e.device.vendor,
|
|
12987
|
-
model: e.device.model
|
|
12988
|
-
};
|
|
12989
|
-
return !t.vendor && !t.model && e.os.name === "Mac OS" && (t.vendor = "Apple", t.model = "Mac"), t;
|
|
12990
|
-
}
|
|
12991
|
-
var TimeUtils_exports = /* @__PURE__ */ __export({
|
|
12992
|
-
preciseTime: () => preciseTime,
|
|
12993
|
-
preciseTimeToUnixTimestamp: () => preciseTimeToUnixTimestamp,
|
|
12994
|
-
unixTimestampToPreciseTime: () => unixTimestampToPreciseTime
|
|
12995
|
-
});
|
|
12996
|
-
function preciseTime() {
|
|
12997
|
-
if (typeof window < "u" && window.performance) return window.performance.now();
|
|
12998
|
-
let e = process.hrtime();
|
|
12999
|
-
return Math.round(e[0] * 1e3 + e[1] / 1e6);
|
|
13000
|
-
}
|
|
13001
|
-
function unixTimestampToPreciseTime(e) {
|
|
13002
|
-
return preciseTime() + e - (/* @__PURE__ */ new Date()).getTime();
|
|
13003
|
-
}
|
|
13004
|
-
function preciseTimeToUnixTimestamp(e) {
|
|
13005
|
-
return (/* @__PURE__ */ new Date()).getTime() + e - preciseTime();
|
|
13006
|
-
}
|
|
13007
|
-
for (var ProvidersLoggerOld_default = new class {
|
|
13008
|
-
_enabled = !1;
|
|
13009
|
-
currentId = 0;
|
|
13010
|
-
objectsIdMap = /* @__PURE__ */ new WeakMap();
|
|
13011
|
-
pushEvents = {};
|
|
13012
|
-
pushEventsRef = {};
|
|
13013
|
-
interval;
|
|
13014
|
-
initDate;
|
|
13015
|
-
get enabled() {
|
|
13016
|
-
return this._enabled;
|
|
13017
|
-
}
|
|
13018
|
-
set enabled(e) {
|
|
13019
|
-
this._enabled = e;
|
|
13020
|
-
}
|
|
13021
|
-
initializeInterval() {
|
|
13022
|
-
this.interval ||= window.setInterval(() => {
|
|
13023
|
-
for (let [e, t] of Object.entries(this.pushEvents)) Logger.debug("Received " + t + " notifications from " + this.pushEventsRef[Number(e)].getName() + " last second");
|
|
13024
|
-
this.pushEvents = {}, this.pushEventsRef = {};
|
|
13025
|
-
}, 1e3);
|
|
13026
|
-
}
|
|
13027
|
-
getObjectId(e) {
|
|
13028
|
-
return this.objectsIdMap.has(e) || this.objectsIdMap.set(e, ++this.currentId), this.objectsIdMap.get(e);
|
|
13029
|
-
}
|
|
13030
|
-
addEvent(e, t) {
|
|
13031
|
-
if (!this.enabled) return;
|
|
13032
|
-
this.initDate ||= Date.now(), this.initializeInterval();
|
|
13033
|
-
let r = this.getObjectId(e), a = e.getName();
|
|
13034
|
-
Logger.debug(a + "[" + r + "]." + t);
|
|
13035
|
-
}
|
|
13036
|
-
incrementNotifications(e) {
|
|
13037
|
-
if (!this.enabled) return;
|
|
13038
|
-
let t = this.getObjectId(e), r = this.pushEvents[t];
|
|
13039
|
-
r || (r = 0, this.pushEventsRef[t] = e), this.pushEvents[t] = r + 1;
|
|
13040
|
-
}
|
|
13041
|
-
}(), ContainsIgnoredProviderError_default = class e extends Error {
|
|
13042
|
-
static DEFAULT_MESSAGE = "Contains ignored provider";
|
|
13043
|
-
constructor(t) {
|
|
13044
|
-
super(t || e.DEFAULT_MESSAGE);
|
|
13045
|
-
}
|
|
13046
|
-
}, Provider_default = class e {
|
|
13047
|
-
static _callbackUniqueId = 0;
|
|
13048
|
-
static _uniqueId = 1;
|
|
13049
|
-
id;
|
|
13050
|
-
state = "stopped";
|
|
13051
|
-
_lastEvent = null;
|
|
13052
|
-
_eventsCallbacks = [];
|
|
13053
|
-
_monitoringCallbacks = [];
|
|
13054
|
-
constructor() {
|
|
13055
|
-
this.id = e._uniqueId++, ProvidersLoggerOld_default.addEvent(this, "constructor");
|
|
13056
|
-
}
|
|
13057
|
-
getAvailability() {
|
|
13058
|
-
return ProvidersOptions_default.ignoreProviders.includes(this.getName()) ? Promise.resolve(new ContainsIgnoredProviderError_default()) : this.availability();
|
|
13059
|
-
}
|
|
13060
|
-
get hasNativeInterface() {
|
|
13061
|
-
return !!this.nativeInterface;
|
|
13062
|
-
}
|
|
13063
|
-
get nativeInterface() {
|
|
13064
|
-
return typeof window < "u" && window.__nativeProviders || null;
|
|
13065
|
-
}
|
|
13066
|
-
get nativeJsInterface() {
|
|
13067
|
-
return typeof window > "u" ? null : (window.__nativeJsProviders || (window.__nativeJsProviders = {}), window.__nativeJsProviders);
|
|
13068
|
-
}
|
|
13069
|
-
get useCameraNatively() {
|
|
13070
|
-
return !1;
|
|
13071
|
-
}
|
|
13072
|
-
addEventListener(t = null, r = null, a = !0) {
|
|
13073
|
-
let o = ++e._callbackUniqueId;
|
|
13074
|
-
if (this._eventsCallbacks.push({
|
|
13075
|
-
id: o,
|
|
13076
|
-
onEvent: t || (() => {}),
|
|
13077
|
-
onError: r || (() => {}),
|
|
13078
|
-
optional: !a
|
|
13079
|
-
}), !a || this.state !== "stopped") return o;
|
|
13080
|
-
this.state = "starting";
|
|
13081
|
-
let s = Promise.resolve();
|
|
13082
|
-
return ProvidersOptions_default.checkAvailabilityOnStart && (s = this.getAvailability()), (async () => {
|
|
13083
|
-
let e = await s;
|
|
13084
|
-
if (e) {
|
|
13085
|
-
this.state = "stopped", this.notifyError(e);
|
|
13086
|
-
return;
|
|
11799
|
+
getObjectId(e) {
|
|
11800
|
+
return this.objectsIdMap.has(e) || this.objectsIdMap.set(e, ++this.currentId), this.objectsIdMap.get(e);
|
|
11801
|
+
}
|
|
11802
|
+
addEvent(e, t) {
|
|
11803
|
+
if (!this.enabled) return;
|
|
11804
|
+
this.initDate ||= Date.now(), this.initializeInterval();
|
|
11805
|
+
let r = this.getObjectId(e), a = e.getName();
|
|
11806
|
+
Logger.debug(a + "[" + r + "]." + t);
|
|
11807
|
+
}
|
|
11808
|
+
incrementNotifications(e) {
|
|
11809
|
+
if (!this.enabled) return;
|
|
11810
|
+
let t = this.getObjectId(e), r = this.pushEvents[t];
|
|
11811
|
+
r || (r = 0, this.pushEventsRef[t] = e), this.pushEvents[t] = r + 1;
|
|
11812
|
+
}
|
|
11813
|
+
}(), ContainsIgnoredProviderError_default = class e extends Error {
|
|
11814
|
+
static DEFAULT_MESSAGE = "Contains ignored provider";
|
|
11815
|
+
constructor(t) {
|
|
11816
|
+
super(t || e.DEFAULT_MESSAGE);
|
|
11817
|
+
}
|
|
11818
|
+
}, Provider_default = class e {
|
|
11819
|
+
static _callbackUniqueId = 0;
|
|
11820
|
+
static _uniqueId = 1;
|
|
11821
|
+
id;
|
|
11822
|
+
state = "stopped";
|
|
11823
|
+
_lastEvent = null;
|
|
11824
|
+
_eventsCallbacks = [];
|
|
11825
|
+
_monitoringCallbacks = [];
|
|
11826
|
+
constructor() {
|
|
11827
|
+
this.id = e._uniqueId++, ProvidersLoggerOld_default.addEvent(this, "constructor");
|
|
11828
|
+
}
|
|
11829
|
+
getAvailability() {
|
|
11830
|
+
return ProvidersOptions_default.ignoreProviders.includes(this.getName()) ? Promise.resolve(new ContainsIgnoredProviderError_default()) : this.availability();
|
|
11831
|
+
}
|
|
11832
|
+
get hasNativeInterface() {
|
|
11833
|
+
return !!this.nativeInterface;
|
|
11834
|
+
}
|
|
11835
|
+
get nativeInterface() {
|
|
11836
|
+
return typeof window < "u" && window.__nativeProviders || null;
|
|
11837
|
+
}
|
|
11838
|
+
get nativeJsInterface() {
|
|
11839
|
+
return typeof window > "u" ? null : (window.__nativeJsProviders || (window.__nativeJsProviders = {}), window.__nativeJsProviders);
|
|
11840
|
+
}
|
|
11841
|
+
get useCameraNatively() {
|
|
11842
|
+
return !1;
|
|
11843
|
+
}
|
|
11844
|
+
addEventListener(t = null, r = null, a = !0) {
|
|
11845
|
+
let o = ++e._callbackUniqueId;
|
|
11846
|
+
if (this._eventsCallbacks.push({
|
|
11847
|
+
id: o,
|
|
11848
|
+
onEvent: t || (() => {}),
|
|
11849
|
+
onError: r || (() => {}),
|
|
11850
|
+
optional: !a
|
|
11851
|
+
}), !a || this.state !== "stopped") return o;
|
|
11852
|
+
this.state = "starting";
|
|
11853
|
+
let s = Promise.resolve();
|
|
11854
|
+
return ProvidersOptions_default.checkAvailabilityOnStart && (s = this.getAvailability()), (async () => {
|
|
11855
|
+
let e = await s;
|
|
11856
|
+
if (e) {
|
|
11857
|
+
this.state = "stopped", this.notifyError(e);
|
|
11858
|
+
return;
|
|
13087
11859
|
}
|
|
13088
11860
|
ProvidersLoggerOld_default.addEvent(this, "start"), this.start(), this.state = "started", this._monitoringCallbacks.forEach((e) => e.onStarted?.());
|
|
13089
11861
|
})(), o;
|
|
@@ -14023,10 +12795,10 @@ var field = function(e, t, r) {
|
|
|
14023
12795
|
onNewPosition = (e) => {
|
|
14024
12796
|
let { coords: t } = e;
|
|
14025
12797
|
if (!t) return;
|
|
14026
|
-
let
|
|
14027
|
-
t.heading && (
|
|
14028
|
-
let
|
|
14029
|
-
this.enableHighAccuracy && typeof this.discardPositionsAbove == "number" && t.accuracy > this.discardPositionsAbove || this.notify(
|
|
12798
|
+
let a;
|
|
12799
|
+
t.heading && (a = deg2rad(t.heading));
|
|
12800
|
+
let o = TimeUtils.unixTimestampToPreciseTime(e.timestamp) / 1e3, s = new UserPosition(t.latitude, t.longitude, Constants_default.DEFAULT_ALTITUDE, null, o, t.accuracy, a);
|
|
12801
|
+
this.enableHighAccuracy && typeof this.discardPositionsAbove == "number" && t.accuracy > this.discardPositionsAbove || this.notify(s);
|
|
14030
12802
|
};
|
|
14031
12803
|
onPositionError = (e) => {
|
|
14032
12804
|
Logger.warn(`[Providers] watchPosition error: [${e.code}] ${e.message}`);
|
|
@@ -14099,21 +12871,21 @@ var field = function(e, t, r) {
|
|
|
14099
12871
|
e.length > 1 && this.parsePayload(e), requestAnimationFrame(this.pullDataLoop);
|
|
14100
12872
|
};
|
|
14101
12873
|
parsePayload(t) {
|
|
14102
|
-
let
|
|
14103
|
-
if (
|
|
14104
|
-
|
|
12874
|
+
let a = t[0], o = 1, s, c, l, u, d = TimeUtils.preciseTime() / 1e3;
|
|
12875
|
+
if (a & e.Payload.Pose.ref) {
|
|
12876
|
+
s = new RelativeAttitude(t.slice(o, o + 4), d, e.RELATIVE_ATTITUDE_DRIFT);
|
|
14105
12877
|
let r = [
|
|
14106
|
-
t[
|
|
14107
|
-
t[
|
|
14108
|
-
t[
|
|
12878
|
+
t[o + 4],
|
|
12879
|
+
t[o + 5],
|
|
12880
|
+
t[o + 6]
|
|
14109
12881
|
];
|
|
14110
|
-
|
|
12882
|
+
c = new RelativePosition(r[0] - this.previousPosition[0], r[1] - this.previousPosition[1], r[2] - this.previousPosition[2], d, 1e-4), this.previousPosition = r, o += e.Payload.Pose.size;
|
|
14111
12883
|
}
|
|
14112
|
-
|
|
14113
|
-
relativePosition:
|
|
14114
|
-
relativeAttitude:
|
|
14115
|
-
...
|
|
14116
|
-
...
|
|
12884
|
+
a & e.Payload.Barcode.ref && (u = t[o], o += e.Payload.Barcode.size), a & e.Payload.ProjMat.ref && (l = t.slice(o, o + e.Payload.ProjMat.size), o += e.Payload.ProjMat.size), this.notify({
|
|
12885
|
+
relativePosition: c,
|
|
12886
|
+
relativeAttitude: s,
|
|
12887
|
+
...u && { barcode: u },
|
|
12888
|
+
...l && { cameraProjection: l }
|
|
14117
12889
|
});
|
|
14118
12890
|
}
|
|
14119
12891
|
get nativeProvider() {
|
|
@@ -14275,22 +13047,22 @@ var field = function(e, t, r) {
|
|
|
14275
13047
|
-1 * s[1],
|
|
14276
13048
|
-1 * s[2],
|
|
14277
13049
|
-1 * s[3]
|
|
14278
|
-
], h = Matrix.concatRow([p], Matrix3.sum(f, d)), v = Matrix4.multiplyScalar(Matrix.multiply(Matrix.multiply(h, this.noises[a ? "absolute" : "relative"].gyr), Matrix.transpose(h)), (e / 2) ** 2), y = Matrix4.sum(Matrix4.multiply(Matrix4.multiply(l, this.P), Matrix4.transpose(l)), v), b = Vector3.normalize(t), x, C,
|
|
13050
|
+
], h = Matrix.concatRow([p], Matrix3.sum(f, d)), v = Matrix4.multiplyScalar(Matrix.multiply(Matrix.multiply(h, this.noises[a ? "absolute" : "relative"].gyr), Matrix.transpose(h)), (e / 2) ** 2), y = Matrix4.sum(Matrix4.multiply(Matrix4.multiply(l, this.P), Matrix4.transpose(l)), v), b = Vector3.normalize(t), x, C, w;
|
|
14279
13051
|
if (a) {
|
|
14280
13052
|
let e = Vector3.normalize(a), t = Vector3.cross(b, e), r = Vector3.normalize(t), o = Vector3.subtract(r, Quaternion.rotateMatlab(u, this.cRef)), s = Vector3.subtract(b, Quaternion.rotateMatlab(u, this.accRef));
|
|
14281
13053
|
x = Vector.concat(o, s);
|
|
14282
13054
|
let c = this.jacobianES(u, this.cRef), l = this.jacobianES(u, this.accRef);
|
|
14283
|
-
|
|
13055
|
+
w = Matrix.concatRow(c, l);
|
|
14284
13056
|
let d = Matrix.concatLine(this.noises.absolute.yc, Matrix3.zeros), f = Matrix.concatLine(Matrix3.zeros, this.noises.absolute.acc), p = Matrix.concatRow(d, f);
|
|
14285
|
-
C = Matrix.multiply(Matrix.multiply(y, Matrix.transpose(
|
|
13057
|
+
C = Matrix.multiply(Matrix.multiply(y, Matrix.transpose(w)), Matrix.inverse(Matrix.sum(Matrix.multiply(Matrix.multiply(w, y), Matrix.transpose(w)), p)));
|
|
14286
13058
|
} else {
|
|
14287
|
-
x = Vector3.subtract(b, Quaternion.rotateMatlab(u, this.accRef)),
|
|
13059
|
+
x = Vector3.subtract(b, Quaternion.rotateMatlab(u, this.accRef)), w = this.jacobianES(u, this.accRef);
|
|
14288
13060
|
let e = this.noises.relative.acc;
|
|
14289
|
-
C = Matrix.multiply(Matrix.multiply(y, Matrix.transpose(
|
|
13061
|
+
C = Matrix.multiply(Matrix.multiply(y, Matrix.transpose(w)), Matrix3.inverse(Matrix3.sum(Matrix.multiply(Matrix.multiply(w, y), Matrix.transpose(w)), e)));
|
|
14290
13062
|
}
|
|
14291
13063
|
o = Quaternion.sum(u, Matrix.multiplyVector(C, x));
|
|
14292
|
-
let
|
|
14293
|
-
return o = Quaternion.normalize(o), this.quaternion = o, this.P =
|
|
13064
|
+
let T = Matrix4.multiply(Matrix4.subtract(Matrix4.identity, Matrix.multiply(C, w)), y);
|
|
13065
|
+
return o = Quaternion.normalize(o), this.quaternion = o, this.P = T, o;
|
|
14294
13066
|
}
|
|
14295
13067
|
computeC(e) {
|
|
14296
13068
|
return [
|
|
@@ -14346,7 +13118,7 @@ var field = function(e, t, r) {
|
|
|
14346
13118
|
}, ImuProvider_default = new class extends Provider_default {
|
|
14347
13119
|
getName = () => "IMU";
|
|
14348
13120
|
availability() {
|
|
14349
|
-
return
|
|
13121
|
+
return BrowserUtils.isMobile ? Promise.resolve() : Promise.resolve(new AskImuOnDesktopError_default());
|
|
14350
13122
|
}
|
|
14351
13123
|
start() {
|
|
14352
13124
|
let e = () => window.addEventListener("devicemotion", this.parseDeviceMotionEvent, !0), t = DeviceMotionEvent.requestPermission || void 0;
|
|
@@ -14358,33 +13130,33 @@ var field = function(e, t, r) {
|
|
|
14358
13130
|
stop() {
|
|
14359
13131
|
window.removeEventListener("devicemotion", this.parseDeviceMotionEvent, !0);
|
|
14360
13132
|
}
|
|
14361
|
-
parseDeviceMotionEvent = (
|
|
14362
|
-
let
|
|
14363
|
-
if (
|
|
14364
|
-
let { x:
|
|
14365
|
-
typeof
|
|
14366
|
-
t,
|
|
13133
|
+
parseDeviceMotionEvent = (r) => {
|
|
13134
|
+
let a = r.timeStamp / 1e3, o;
|
|
13135
|
+
if (r.accelerationIncludingGravity) {
|
|
13136
|
+
let { x: a, y: s, z: c } = r.accelerationIncludingGravity;
|
|
13137
|
+
typeof a == "number" && typeof s == "number" && typeof c == "number" && (o = [
|
|
14367
13138
|
a,
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
13139
|
+
s,
|
|
13140
|
+
c
|
|
13141
|
+
], (BrowserUtils.getName() === Browser.SAFARI || BrowserUtils.getName() === Browser.IOS_WEBVIEW) && (o[0] *= -1, o[1] *= -1, o[2] *= -1));
|
|
13142
|
+
}
|
|
13143
|
+
let s;
|
|
13144
|
+
if (r.rotationRate) {
|
|
13145
|
+
let { alpha: e, beta: t, gamma: a } = r.rotationRate;
|
|
13146
|
+
typeof e == "number" && typeof t == "number" && typeof a == "number" && (s = [
|
|
13147
|
+
deg2rad(e),
|
|
14375
13148
|
deg2rad(t),
|
|
14376
|
-
deg2rad(
|
|
14377
|
-
deg2rad(o)
|
|
13149
|
+
deg2rad(a)
|
|
14378
13150
|
]);
|
|
14379
13151
|
}
|
|
14380
|
-
(
|
|
14381
|
-
...
|
|
14382
|
-
timestamp:
|
|
14383
|
-
values:
|
|
13152
|
+
(o || s) && this.notify({
|
|
13153
|
+
...o && { acceleration: {
|
|
13154
|
+
timestamp: a,
|
|
13155
|
+
values: o
|
|
14384
13156
|
} },
|
|
14385
|
-
...
|
|
14386
|
-
timestamp:
|
|
14387
|
-
values:
|
|
13157
|
+
...s && { angularRate: {
|
|
13158
|
+
timestamp: a,
|
|
13159
|
+
values: s
|
|
14388
13160
|
} }
|
|
14389
13161
|
});
|
|
14390
13162
|
};
|
|
@@ -14458,7 +13230,7 @@ var field = function(e, t, r) {
|
|
|
14458
13230
|
static DEFAULT_DRIFT = deg2rad(5) / 60;
|
|
14459
13231
|
getName = () => "RelativeAttitudeFromBrowser";
|
|
14460
13232
|
availability() {
|
|
14461
|
-
return
|
|
13233
|
+
return BrowserUtils.isMobile ? Promise.resolve() : Promise.resolve(new AskImuOnDesktopError_default());
|
|
14462
13234
|
}
|
|
14463
13235
|
start() {
|
|
14464
13236
|
let e = () => window.addEventListener("deviceorientation", this.onDeviceOrientationEvent, !0), t = DeviceOrientationEvent.requestPermission || void 0;
|
|
@@ -14788,7 +13560,7 @@ var field = function(e, t, r) {
|
|
|
14788
13560
|
}
|
|
14789
13561
|
}(), package_default = {
|
|
14790
13562
|
name: "@wemap/providers",
|
|
14791
|
-
version: "14.1.0-beta.
|
|
13563
|
+
version: "14.1.0-beta.2",
|
|
14792
13564
|
type: "module",
|
|
14793
13565
|
publishConfig: { access: "public" },
|
|
14794
13566
|
main: "./dist/index.js",
|
|
@@ -14799,9 +13571,9 @@ var field = function(e, t, r) {
|
|
|
14799
13571
|
} },
|
|
14800
13572
|
files: ["dist"],
|
|
14801
13573
|
dependencies: {
|
|
14802
|
-
"@wemap/camera": "14.1.0-beta.
|
|
14803
|
-
"@wemap/core": "14.1.0-beta.
|
|
14804
|
-
"@wemap/utils": "14.1.0-beta.
|
|
13574
|
+
"@wemap/camera": "14.1.0-beta.2",
|
|
13575
|
+
"@wemap/core": "14.1.0-beta.2",
|
|
13576
|
+
"@wemap/utils": "14.1.0-beta.2"
|
|
14805
13577
|
},
|
|
14806
13578
|
devDependencies: {
|
|
14807
13579
|
"@wemap/geo-legacy": "^13.3.0",
|
|
@@ -14938,32 +13710,32 @@ var field = function(e, t, r) {
|
|
|
14938
13710
|
return t.position && (o = UserPosition.fromJson(t.position), o.time = r), new e(t.success, a, o);
|
|
14939
13711
|
}
|
|
14940
13712
|
}, ImageRelocalization_default = class {
|
|
14941
|
-
static _prepareRequest(e, t = null, r = null,
|
|
13713
|
+
static _prepareRequest(e, t = null, r = null, o = null) {
|
|
14942
13714
|
convertToGrayscale(e);
|
|
14943
|
-
let
|
|
14944
|
-
return
|
|
14945
|
-
width:
|
|
14946
|
-
height:
|
|
14947
|
-
}, t, r,
|
|
14948
|
-
}
|
|
14949
|
-
static async relocalize(e, t,
|
|
14950
|
-
let
|
|
13715
|
+
let s = reduceImageSize(e, 1280), c = UserAgentUtils.getDeviceFromUserAgent() || {};
|
|
13716
|
+
return c.caller = o, new VpsRequest_default(new VpsMetadata_default({
|
|
13717
|
+
width: s.width,
|
|
13718
|
+
height: s.height
|
|
13719
|
+
}, t, r, c), s);
|
|
13720
|
+
}
|
|
13721
|
+
static async relocalize(e, t, a = null, o = null, s = null, c = null) {
|
|
13722
|
+
let l = TimeUtils.preciseTime() / 1e3, u = this._prepareRequest(t, a, o, s), d;
|
|
14951
13723
|
try {
|
|
14952
|
-
let t = JSON.stringify(
|
|
14953
|
-
Logger.debug(`[VPS] Request (${(t.length / 1024).toFixed(0)} kB) sent to server ${e}`),
|
|
13724
|
+
let t = JSON.stringify(u.toJson());
|
|
13725
|
+
Logger.debug(`[VPS] Request (${(t.length / 1024).toFixed(0)} kB) sent to server ${e}`), d = await fetch(e, {
|
|
14954
13726
|
method: "POST",
|
|
14955
13727
|
body: t,
|
|
14956
13728
|
headers: Object.assign({
|
|
14957
13729
|
"Content-Type": "application/json",
|
|
14958
13730
|
Accept: "application/vnd.geopose+json; version=1"
|
|
14959
|
-
},
|
|
13731
|
+
}, c || {})
|
|
14960
13732
|
});
|
|
14961
13733
|
} catch {
|
|
14962
13734
|
return Logger.debug("[VPS] Server respond error"), null;
|
|
14963
13735
|
}
|
|
14964
|
-
if (
|
|
14965
|
-
let
|
|
14966
|
-
return Logger.debug(`[VPS] Server respond ${
|
|
13736
|
+
if (d.status !== 200) return Logger.debug("[VPS] Server respond error"), null;
|
|
13737
|
+
let f = await d.json(), p = VpsResponse_default.fromJson(f, l);
|
|
13738
|
+
return Logger.debug(`[VPS] Server respond ${p.success ? "success" : "not found"}`), p;
|
|
14967
13739
|
}
|
|
14968
13740
|
static getHeadingFromQuaternion(e) {
|
|
14969
13741
|
let [t, r, a, o] = e, s = Math.sqrt(2) / 2, c = [
|
|
@@ -15031,12 +13803,12 @@ var field = function(e, t, r) {
|
|
|
15031
13803
|
this.nativeJsInterface && (this.nativeJsInterface.polestar = {
|
|
15032
13804
|
callbackError: (e) => this.notifyError(Error(e)),
|
|
15033
13805
|
callbackPosition: (e) => {
|
|
15034
|
-
let t = JSON.parse(e),
|
|
15035
|
-
this.notify(
|
|
13806
|
+
let t = JSON.parse(e), a = TimeUtils.unixTimestampToPreciseTime(t.time) / 1e3, o = new AbsolutePosition(t.lat, t.lng, Constants_default.DEFAULT_ALTITUDE, t.alt / 5, a, t.accuracy, deg2rad(t.bearing));
|
|
13807
|
+
this.notify(o);
|
|
15036
13808
|
}
|
|
15037
13809
|
});
|
|
15038
13810
|
}
|
|
15039
|
-
}(), VpsProvider_default = new class
|
|
13811
|
+
}(), VpsProvider_default = new class e extends Provider_default {
|
|
15040
13812
|
static MIN_TIME_BETWEEN_TWO_REQUESTS = 1e3;
|
|
15041
13813
|
static DEFAULT_MIN_INCLINATION_FOR_REQUEST = deg2rad(60);
|
|
15042
13814
|
static DEFAULT_WAIT_TIME_MIN_INCLINATION_FOR_REQUEST = 200;
|
|
@@ -15053,10 +13825,10 @@ var field = function(e, t, r) {
|
|
|
15053
13825
|
_camera = null;
|
|
15054
13826
|
_endpoint = null;
|
|
15055
13827
|
_inclinationProviderId;
|
|
15056
|
-
_minInclinationForRequest =
|
|
15057
|
-
_waitTimeMinInclinationForRequest =
|
|
15058
|
-
_useCoarsePose =
|
|
15059
|
-
_requestCaller =
|
|
13828
|
+
_minInclinationForRequest = e.DEFAULT_MIN_INCLINATION_FOR_REQUEST;
|
|
13829
|
+
_waitTimeMinInclinationForRequest = e.DEFAULT_WAIT_TIME_MIN_INCLINATION_FOR_REQUEST;
|
|
13830
|
+
_useCoarsePose = e.DEFAULT_USE_COARSE_POSE;
|
|
13831
|
+
_requestCaller = e.DEFAULT_REQUEST_CALLER;
|
|
15060
13832
|
getName = () => "Vps";
|
|
15061
13833
|
availability = () => Camera.checkAvailability();
|
|
15062
13834
|
start() {
|
|
@@ -15079,42 +13851,42 @@ var field = function(e, t, r) {
|
|
|
15079
13851
|
this.notifyError(/* @__PURE__ */ Error("VPS endpoint has not been set before calling start()"));
|
|
15080
13852
|
return;
|
|
15081
13853
|
}
|
|
15082
|
-
let
|
|
15083
|
-
for (; !
|
|
15084
|
-
if (
|
|
15085
|
-
let
|
|
15086
|
-
await new Promise((e) => setTimeout(e,
|
|
13854
|
+
let t = null, a = () => this.state === "stopped";
|
|
13855
|
+
for (; !a();) {
|
|
13856
|
+
if (t !== null) {
|
|
13857
|
+
let a = TimeUtils.preciseTime() - t, o = Math.max(0, e.MIN_TIME_BETWEEN_TWO_REQUESTS - a);
|
|
13858
|
+
await new Promise((e) => setTimeout(e, o));
|
|
15087
13859
|
}
|
|
15088
|
-
if (
|
|
15089
|
-
let
|
|
15090
|
-
if (
|
|
13860
|
+
if (t = TimeUtils.preciseTime(), a() || !this._camera || this._camera.state !== "started") break;
|
|
13861
|
+
let o = InclinationProvider_default.lastEvent ? InclinationProvider_default.lastEvent : null;
|
|
13862
|
+
if (o !== null && o < this._minInclinationForRequest) {
|
|
15091
13863
|
await new Promise((e) => setTimeout(e, this._waitTimeMinInclinationForRequest));
|
|
15092
13864
|
continue;
|
|
15093
13865
|
}
|
|
15094
13866
|
this._relativeRotationCalc?.tickStart();
|
|
15095
|
-
let
|
|
15096
|
-
if (!
|
|
15097
|
-
let
|
|
15098
|
-
this._useCoarsePose && (
|
|
15099
|
-
...
|
|
13867
|
+
let s = await this._camera.currentImage;
|
|
13868
|
+
if (!s) continue;
|
|
13869
|
+
let c = null, l = AbsolutePositionProvider_default.getBestPositionEvent(GnssWifiProvider_default.lastEvent, PoleStarProvider_default.lastEvent);
|
|
13870
|
+
this._useCoarsePose && (l || AbsoluteAttitudeProvider_default.lastEvent) && (c = {
|
|
13871
|
+
...l && { position: l },
|
|
15100
13872
|
...AbsoluteAttitudeProvider_default.lastEvent && { attitude: AbsoluteAttitudeProvider_default.lastEvent }
|
|
15101
13873
|
});
|
|
15102
|
-
let
|
|
15103
|
-
if (!
|
|
15104
|
-
let
|
|
13874
|
+
let u = await ImageRelocalization_default.relocalize(this._endpoint, s, null, c, this._requestCaller);
|
|
13875
|
+
if (!u || !u.success) continue;
|
|
13876
|
+
let d = u.attitude.quaternion, f = Quaternion.multiply(d, e.CAMERA_TO_SMARTPHONE_ROT), p = Quaternion.multiply(Quaternion.fromAxisAngle([
|
|
15105
13877
|
0,
|
|
15106
13878
|
0,
|
|
15107
13879
|
1
|
|
15108
|
-
], deg2rad(window.orientation || 0)),
|
|
13880
|
+
], deg2rad(window.orientation || 0)), f), h = this._relativeRotationCalc?.tickEnd() || new Attitude([
|
|
15109
13881
|
1,
|
|
15110
13882
|
0,
|
|
15111
13883
|
0,
|
|
15112
13884
|
0
|
|
15113
|
-
]),
|
|
15114
|
-
if (
|
|
13885
|
+
]), v = new AbsoluteAttitude(Quaternion.multiply(p, h.quaternion), u.attitude.time, u.attitude.accuracy), y = u.position.clone();
|
|
13886
|
+
if (y.accuracy === null && (y.accuracy = 5), a()) break;
|
|
15115
13887
|
this.notify({
|
|
15116
|
-
absoluteAttitude:
|
|
15117
|
-
absolutePosition:
|
|
13888
|
+
absoluteAttitude: v,
|
|
13889
|
+
absolutePosition: y
|
|
15118
13890
|
});
|
|
15119
13891
|
}
|
|
15120
13892
|
};
|
|
@@ -15176,7 +13948,7 @@ var field = function(e, t, r) {
|
|
|
15176
13948
|
let t = e.clone();
|
|
15177
13949
|
t.bearing = null, this._onAbsolutePosition(t, !1);
|
|
15178
13950
|
}), this._vpsProviderId = VpsProvider_default.addEventListener((e) => this._onAbsolutePosition(e.absolutePosition), this.notifyError, !1), ProvidersOptions_default.hasPoleStar && (this._polestarProviderId = PoleStarProvider_default.addEventListener((e) => {
|
|
15179
|
-
if (this._lastPolestarFix =
|
|
13951
|
+
if (this._lastPolestarFix = TimeUtils.preciseTime(), !this._onAbsolutePosition(e) && this.lastEvent?.level === null) {
|
|
15180
13952
|
let t = this.lastEvent.clone();
|
|
15181
13953
|
t.level = e.level, this.notify(t);
|
|
15182
13954
|
}
|
|
@@ -15226,7 +13998,7 @@ var field = function(e, t, r) {
|
|
|
15226
13998
|
return r < o + 1.3888 * (a - s) ? t : e;
|
|
15227
13999
|
}, null);
|
|
15228
14000
|
}
|
|
15229
|
-
}(), AbsoluteAttitudeFromBrowserProvider_default = new class
|
|
14001
|
+
}(), AbsoluteAttitudeFromBrowserProvider_default = new class r extends Provider_default {
|
|
15230
14002
|
DEFAULT_ACCURACY = deg2rad(15);
|
|
15231
14003
|
absolutePositionProviderId;
|
|
15232
14004
|
absolutePositionEvent;
|
|
@@ -15237,34 +14009,34 @@ var field = function(e, t, r) {
|
|
|
15237
14009
|
iosIsSkyMode = null;
|
|
15238
14010
|
getName = () => "AbsoluteAttitudeFromBrowser";
|
|
15239
14011
|
availability() {
|
|
15240
|
-
return
|
|
14012
|
+
return BrowserUtils.isMobile ? Promise.resolve() : Promise.resolve(new AskImuOnDesktopError_default());
|
|
15241
14013
|
}
|
|
15242
14014
|
start() {
|
|
15243
|
-
let
|
|
15244
|
-
switch (
|
|
15245
|
-
case
|
|
14015
|
+
let r = () => {
|
|
14016
|
+
switch (BrowserUtils.getName()) {
|
|
14017
|
+
case Browser.CHROME:
|
|
15246
14018
|
window.addEventListener("deviceorientationabsolute", this.onDeviceOrientationChromeEvent, !0);
|
|
15247
14019
|
break;
|
|
15248
|
-
case
|
|
15249
|
-
case
|
|
14020
|
+
case Browser.SAFARI:
|
|
14021
|
+
case Browser.IOS_WEBVIEW:
|
|
15250
14022
|
window.addEventListener("deviceorientation", this.onDeviceOrientationSafariEvent, !0);
|
|
15251
14023
|
break;
|
|
15252
14024
|
}
|
|
15253
|
-
},
|
|
15254
|
-
|
|
15255
|
-
if (
|
|
15256
|
-
|
|
15257
|
-
}).catch(this.notifyError) :
|
|
15258
|
-
let
|
|
15259
|
-
|
|
14025
|
+
}, a = DeviceOrientationEvent.requestPermission || void 0;
|
|
14026
|
+
a ? a().then((e) => {
|
|
14027
|
+
if (e !== "granted") throw Error("Permission not granted");
|
|
14028
|
+
r();
|
|
14029
|
+
}).catch(this.notifyError) : r();
|
|
14030
|
+
let o = AbsolutePositionProvider_default.lastEvent;
|
|
14031
|
+
o ? this.onAbsolutePositionEvent(o) : this.absolutePositionProviderId = AbsolutePositionProvider_default.addEventListener(this.onAbsolutePositionEvent, this.notifyError, !1);
|
|
15260
14032
|
}
|
|
15261
14033
|
stop() {
|
|
15262
|
-
switch (
|
|
15263
|
-
case
|
|
14034
|
+
switch (BrowserUtils.getName()) {
|
|
14035
|
+
case Browser.CHROME:
|
|
15264
14036
|
window.removeEventListener("deviceorientationabsolute", this.onDeviceOrientationChromeEvent, !0);
|
|
15265
14037
|
break;
|
|
15266
|
-
case
|
|
15267
|
-
case
|
|
14038
|
+
case Browser.SAFARI:
|
|
14039
|
+
case Browser.IOS_WEBVIEW:
|
|
15268
14040
|
window.removeEventListener("deviceorientation", this.onDeviceOrientationSafariEvent, !0);
|
|
15269
14041
|
break;
|
|
15270
14042
|
}
|
|
@@ -15281,19 +14053,19 @@ var field = function(e, t, r) {
|
|
|
15281
14053
|
e.gamma
|
|
15282
14054
|
]), this.compute();
|
|
15283
14055
|
};
|
|
15284
|
-
onDeviceOrientationSafariEvent = (
|
|
15285
|
-
if (this.magQuaternionTimestamp =
|
|
14056
|
+
onDeviceOrientationSafariEvent = (e) => {
|
|
14057
|
+
if (this.magQuaternionTimestamp = e.timeStamp / 1e3, typeof e.beta != "number" || typeof e.gamma != "number") {
|
|
15286
14058
|
this.notifyError(new MissingSensorError_default().from("deviceorientation"));
|
|
15287
14059
|
return;
|
|
15288
14060
|
}
|
|
15289
|
-
if (typeof
|
|
14061
|
+
if (typeof e.webkitCompassHeading != "number") {
|
|
15290
14062
|
this.notifyError(new MissingMagnetometerError_default().from("deviceorientation"));
|
|
15291
14063
|
return;
|
|
15292
14064
|
}
|
|
15293
|
-
let
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
|
|
14065
|
+
let t, [a, o, s, c] = Rotations.eulerToQuaternionZXYDegrees([
|
|
14066
|
+
e.webkitCompassHeading,
|
|
14067
|
+
e.beta,
|
|
14068
|
+
e.gamma
|
|
15297
14069
|
]), l = rad2deg(Math.acos(a ** 2 - o ** 2 - s ** 2 + c ** 2)), u = null;
|
|
15298
14070
|
l > 136 ? u = !0 : l < 134 ? u = !1 : this.iosPreviousQuat && this.iosIsSkyMode !== null && (u = Quaternion.distance([
|
|
15299
14071
|
a,
|
|
@@ -15305,10 +14077,10 @@ var field = function(e, t, r) {
|
|
|
15305
14077
|
o,
|
|
15306
14078
|
s,
|
|
15307
14079
|
c
|
|
15308
|
-
], this.iosIsSkyMode = u, u !== void 0 && (
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
14080
|
+
], this.iosIsSkyMode = u, u !== void 0 && (t = u ? 180 - e.webkitCompassHeading : r.webkitCompassToHeading(e.webkitCompassHeading, e.beta, e.gamma), this.magQuaternion = Rotations.eulerToQuaternionZXYDegrees([
|
|
14081
|
+
t,
|
|
14082
|
+
e.beta,
|
|
14083
|
+
e.gamma
|
|
15312
14084
|
]), this.compute());
|
|
15313
14085
|
};
|
|
15314
14086
|
compute() {
|
|
@@ -15571,12 +14343,12 @@ var field = function(e, t, r) {
|
|
|
15571
14343
|
}
|
|
15572
14344
|
_notifyPositionFromItineraryInput(e) {
|
|
15573
14345
|
if (!this._useItineraryStartAsPosition || !e.origin) return;
|
|
15574
|
-
let t = AbsolutePositionProvider_default.lastEvent || null,
|
|
15575
|
-
if (t)
|
|
15576
|
-
else if (e.coords.length >= 2)
|
|
14346
|
+
let t = AbsolutePositionProvider_default.lastEvent || null, a = UserPosition.fromCoordinates(e.origin);
|
|
14347
|
+
if (t) a.alt = t.alt, a.time = t.time, a.accuracy = t.accuracy + a.distanceTo(t), a.bearing = t.bearing;
|
|
14348
|
+
else if (e.coords.length >= 2) a.alt = Constants_default.DEFAULT_ALTITUDE, a.time = TimeUtils.preciseTime(), a.accuracy = 0, a.bearing = e.coords[0].bearingTo(e.coords[1]);
|
|
15577
14349
|
else return;
|
|
15578
|
-
let
|
|
15579
|
-
|
|
14350
|
+
let o = this.getProjection(a, !0);
|
|
14351
|
+
o ? AbsolutePositionProvider_default.notify(o.coords) : AbsolutePositionProvider_default.notify(a);
|
|
15580
14352
|
}
|
|
15581
14353
|
notifyPositionFromFeed(e) {
|
|
15582
14354
|
let t = this.getProjection(e, !0, !1);
|
|
@@ -15810,8 +14582,8 @@ var field = function(e, t, r) {
|
|
|
15810
14582
|
this.notifyError(new IpResolveServerError_default());
|
|
15811
14583
|
return;
|
|
15812
14584
|
}
|
|
15813
|
-
let t =
|
|
15814
|
-
this.notify(
|
|
14585
|
+
let t = TimeUtils.preciseTime() / 1e3, a = (await e.json()).loc.split(","), o = new UserPosition(parseFloat(a[0]), parseFloat(a[1]), null, null, t, 1e5);
|
|
14586
|
+
this.notify(o);
|
|
15815
14587
|
}
|
|
15816
14588
|
stop() {}
|
|
15817
14589
|
}(), BarcodeProvider_default = new class extends Provider_default {
|