archgine 1.0.75 → 1.0.76
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/lib/applications/app-cvs.d.ts +2 -0
- package/lib/applications/app-offscreen.d.ts +2 -0
- package/lib/environment.worker.js +1 -1
- package/lib/extras/interfaces.d.ts +2 -0
- package/lib/extras/svg-app.d.ts +2 -0
- package/lib/extras/svg-chef.d.ts +1 -0
- package/lib/index.cjs.js +22 -22
- package/lib/index.mjs +528 -487
- package/lib/index.umd.js +21 -21
- package/lib/interfaces.d.ts +2 -0
- package/lib/renderer.worker.js +1496 -1470
- package/lib/scenes/main-scene.d.ts +2 -0
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -9,9 +9,9 @@ var Il = (i, e, t) => e in i ? Cx(i, e, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var t of Jf(e))
|
|
10
10
|
Mx.call(e, t) && Il(i, t, e[t]);
|
|
11
11
|
return i;
|
|
12
|
-
},
|
|
12
|
+
}, ko = (i, e) => Dx(i, Sx(e));
|
|
13
13
|
var d = (i, e, t) => Il(i, typeof e != "symbol" ? e + "" : e, t);
|
|
14
|
-
var
|
|
14
|
+
var Tt = (i, e, t) => new Promise((r, s) => {
|
|
15
15
|
var o = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
h(t.next(c));
|
|
@@ -423,7 +423,7 @@ Vi.find = kx;
|
|
|
423
423
|
Vi.freeze = Eh;
|
|
424
424
|
Vi.MIME_TYPE = cd;
|
|
425
425
|
Vi.NAMESPACE = fd;
|
|
426
|
-
var pd = Vi, ci = pd.find,
|
|
426
|
+
var pd = Vi, ci = pd.find, Da = pd.NAMESPACE;
|
|
427
427
|
function Ux(i) {
|
|
428
428
|
return i !== "";
|
|
429
429
|
}
|
|
@@ -443,7 +443,7 @@ function Wx(i) {
|
|
|
443
443
|
return i && i.indexOf(e) !== -1;
|
|
444
444
|
};
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function Fa(i, e) {
|
|
447
447
|
for (var t in i)
|
|
448
448
|
Object.prototype.hasOwnProperty.call(i, t) && (e[t] = i[t]);
|
|
449
449
|
}
|
|
@@ -452,7 +452,7 @@ function ir(i, e) {
|
|
|
452
452
|
if (!(t instanceof e)) {
|
|
453
453
|
let r = function() {
|
|
454
454
|
};
|
|
455
|
-
r.prototype = e.prototype, r = new r(),
|
|
455
|
+
r.prototype = e.prototype, r = new r(), Fa(t, r), i.prototype = t = r;
|
|
456
456
|
}
|
|
457
457
|
t.constructor != i && (typeof i != "function" && console.error("unknown Class:" + i), t.constructor = i);
|
|
458
458
|
}
|
|
@@ -480,7 +480,7 @@ function oe(i, e) {
|
|
|
480
480
|
return t.code = i, e && (this.message = this.message + ": " + e), t;
|
|
481
481
|
}
|
|
482
482
|
oe.prototype = Error.prototype;
|
|
483
|
-
|
|
483
|
+
Fa(Pe, oe);
|
|
484
484
|
function ki() {
|
|
485
485
|
}
|
|
486
486
|
ki.prototype = {
|
|
@@ -532,7 +532,7 @@ function Ah(i) {
|
|
|
532
532
|
if (Nd(i, "length", t.length), !i.$$length || t.length < i.$$length)
|
|
533
533
|
for (var r = t.length; r in i; r++)
|
|
534
534
|
Object.prototype.hasOwnProperty.call(i, r) && delete i[r];
|
|
535
|
-
|
|
535
|
+
Fa(t, i), i._inc = e;
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
Os.prototype.item = function(i) {
|
|
@@ -653,7 +653,7 @@ bd.prototype = {
|
|
|
653
653
|
* @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
|
|
654
654
|
*/
|
|
655
655
|
createDocument: function(i, e, t) {
|
|
656
|
-
var r = new
|
|
656
|
+
var r = new ka();
|
|
657
657
|
if (r.implementation = this, r.childNodes = new ki(), r.doctype = t || null, t && r.appendChild(t), e) {
|
|
658
658
|
var s = r.createElementNS(i, e);
|
|
659
659
|
r.appendChild(s);
|
|
@@ -780,29 +780,29 @@ Ut.prototype = {
|
|
|
780
780
|
function wd(i) {
|
|
781
781
|
return i == "<" && "<" || i == ">" && ">" || i == "&" && "&" || i == '"' && """ || "&#" + i.charCodeAt() + ";";
|
|
782
782
|
}
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
function
|
|
783
|
+
Fa(nr, Ut);
|
|
784
|
+
Fa(nr, Ut.prototype);
|
|
785
|
+
function Sa(i, e) {
|
|
786
786
|
if (e(i))
|
|
787
787
|
return !0;
|
|
788
788
|
if (i = i.firstChild)
|
|
789
789
|
do
|
|
790
|
-
if (
|
|
790
|
+
if (Sa(i, e))
|
|
791
791
|
return !0;
|
|
792
792
|
while (i = i.nextSibling);
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function ka() {
|
|
795
795
|
this.ownerDocument = this;
|
|
796
796
|
}
|
|
797
797
|
function Gx(i, e, t) {
|
|
798
798
|
i && i._inc++;
|
|
799
799
|
var r = t.namespaceURI;
|
|
800
|
-
r ===
|
|
800
|
+
r === Da.XMLNS && (e._nsMap[t.prefix ? t.localName : ""] = t.value);
|
|
801
801
|
}
|
|
802
802
|
function Td(i, e, t, r) {
|
|
803
803
|
i && i._inc++;
|
|
804
804
|
var s = t.namespaceURI;
|
|
805
|
-
s ===
|
|
805
|
+
s === Da.XMLNS && delete e._nsMap[t.prefix ? t.localName : ""];
|
|
806
806
|
}
|
|
807
807
|
function bh(i, e, t) {
|
|
808
808
|
if (i && i._inc) {
|
|
@@ -933,7 +933,7 @@ function su(i, e, t, r) {
|
|
|
933
933
|
function Kx(i, e) {
|
|
934
934
|
return e.parentNode && e.parentNode.removeChild(e), e.parentNode = i, e.previousSibling = i.lastChild, e.nextSibling = null, e.previousSibling ? e.previousSibling.nextSibling = e : i.firstChild = e, i.lastChild = e, bh(i.ownerDocument, i, e), e;
|
|
935
935
|
}
|
|
936
|
-
|
|
936
|
+
ka.prototype = {
|
|
937
937
|
//implementation : null,
|
|
938
938
|
nodeName: "#document",
|
|
939
939
|
nodeType: md,
|
|
@@ -969,7 +969,7 @@ Fa.prototype = {
|
|
|
969
969
|
// Introduced in DOM Level 2:
|
|
970
970
|
getElementById: function(i) {
|
|
971
971
|
var e = null;
|
|
972
|
-
return
|
|
972
|
+
return Sa(this.documentElement, function(t) {
|
|
973
973
|
if (t.nodeType == Yr && t.getAttribute("id") == i)
|
|
974
974
|
return e = t, !0;
|
|
975
975
|
}), e;
|
|
@@ -995,7 +995,7 @@ Fa.prototype = {
|
|
|
995
995
|
var e = rp(i);
|
|
996
996
|
return new Os(this, function(t) {
|
|
997
997
|
var r = [];
|
|
998
|
-
return e.length > 0 &&
|
|
998
|
+
return e.length > 0 && Sa(t.documentElement, function(s) {
|
|
999
999
|
if (s !== t && s.nodeType === Yr) {
|
|
1000
1000
|
var o = s.getAttribute("class");
|
|
1001
1001
|
if (o) {
|
|
@@ -1056,7 +1056,7 @@ Fa.prototype = {
|
|
|
1056
1056
|
return t.ownerDocument = this, t.nodeName = e, t.name = e, t.namespaceURI = i, t.specified = !0, r.length == 2 ? (t.prefix = r[0], t.localName = r[1]) : t.localName = e, t;
|
|
1057
1057
|
}
|
|
1058
1058
|
};
|
|
1059
|
-
ir(
|
|
1059
|
+
ir(ka, Ut);
|
|
1060
1060
|
function Xn() {
|
|
1061
1061
|
this._nsMap = {};
|
|
1062
1062
|
}
|
|
@@ -1115,7 +1115,7 @@ Xn.prototype = {
|
|
|
1115
1115
|
getElementsByTagName: function(i) {
|
|
1116
1116
|
return new Os(this, function(e) {
|
|
1117
1117
|
var t = [];
|
|
1118
|
-
return
|
|
1118
|
+
return Sa(e, function(r) {
|
|
1119
1119
|
r !== e && r.nodeType == Yr && (i === "*" || r.tagName == i) && t.push(r);
|
|
1120
1120
|
}), t;
|
|
1121
1121
|
});
|
|
@@ -1123,22 +1123,22 @@ Xn.prototype = {
|
|
|
1123
1123
|
getElementsByTagNameNS: function(i, e) {
|
|
1124
1124
|
return new Os(this, function(t) {
|
|
1125
1125
|
var r = [];
|
|
1126
|
-
return
|
|
1126
|
+
return Sa(t, function(s) {
|
|
1127
1127
|
s !== t && s.nodeType === Yr && (i === "*" || s.namespaceURI === i) && (e === "*" || s.localName == e) && r.push(s);
|
|
1128
1128
|
}), r;
|
|
1129
1129
|
});
|
|
1130
1130
|
}
|
|
1131
1131
|
};
|
|
1132
|
-
|
|
1133
|
-
|
|
1132
|
+
ka.prototype.getElementsByTagName = Xn.prototype.getElementsByTagName;
|
|
1133
|
+
ka.prototype.getElementsByTagNameNS = Xn.prototype.getElementsByTagNameNS;
|
|
1134
1134
|
ir(Xn, Ut);
|
|
1135
1135
|
function au() {
|
|
1136
1136
|
}
|
|
1137
1137
|
au.prototype.nodeType = Ss;
|
|
1138
1138
|
ir(au, Ut);
|
|
1139
|
-
function
|
|
1139
|
+
function Ha() {
|
|
1140
1140
|
}
|
|
1141
|
-
|
|
1141
|
+
Ha.prototype = {
|
|
1142
1142
|
data: "",
|
|
1143
1143
|
substringData: function(i, e) {
|
|
1144
1144
|
return this.data.substring(i, i + e);
|
|
@@ -1160,7 +1160,7 @@ ka.prototype = {
|
|
|
1160
1160
|
t = r + t + s, this.nodeValue = this.data = t, this.length = t.length;
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
|
-
ir(
|
|
1163
|
+
ir(Ha, Ut);
|
|
1164
1164
|
function Th() {
|
|
1165
1165
|
}
|
|
1166
1166
|
Th.prototype = {
|
|
@@ -1173,21 +1173,21 @@ Th.prototype = {
|
|
|
1173
1173
|
return this.parentNode && this.parentNode.insertBefore(r, this.nextSibling), r;
|
|
1174
1174
|
}
|
|
1175
1175
|
};
|
|
1176
|
-
ir(Th,
|
|
1176
|
+
ir(Th, Ha);
|
|
1177
1177
|
function _h() {
|
|
1178
1178
|
}
|
|
1179
1179
|
_h.prototype = {
|
|
1180
1180
|
nodeName: "#comment",
|
|
1181
1181
|
nodeType: vd
|
|
1182
1182
|
};
|
|
1183
|
-
ir(_h,
|
|
1183
|
+
ir(_h, Ha);
|
|
1184
1184
|
function Ch() {
|
|
1185
1185
|
}
|
|
1186
1186
|
Ch.prototype = {
|
|
1187
1187
|
nodeName: "#cdata-section",
|
|
1188
1188
|
nodeType: dd
|
|
1189
1189
|
};
|
|
1190
|
-
ir(Ch,
|
|
1190
|
+
ir(Ch, Ha);
|
|
1191
1191
|
function pu() {
|
|
1192
1192
|
}
|
|
1193
1193
|
pu.prototype.nodeType = xd;
|
|
@@ -1233,7 +1233,7 @@ function Md(i, e) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
function up(i, e, t) {
|
|
1235
1235
|
var r = i.prefix || "", s = i.namespaceURI;
|
|
1236
|
-
if (!s || r === "xml" && s ===
|
|
1236
|
+
if (!s || r === "xml" && s === Da.XML || s === Da.XMLNS)
|
|
1237
1237
|
return !1;
|
|
1238
1238
|
for (var o = t.length; o--; ) {
|
|
1239
1239
|
var u = t[o];
|
|
@@ -1257,7 +1257,7 @@ function _s(i, e, t, r, s) {
|
|
|
1257
1257
|
switch (i.nodeType) {
|
|
1258
1258
|
case Yr:
|
|
1259
1259
|
var o = i.attributes, u = o.length, P = i.firstChild, h = i.tagName;
|
|
1260
|
-
t =
|
|
1260
|
+
t = Da.isHTML(i.namespaceURI) || t;
|
|
1261
1261
|
var c = h;
|
|
1262
1262
|
if (!t && !i.prefix && i.namespaceURI) {
|
|
1263
1263
|
for (var y, p = 0; p < o.length; p++)
|
|
@@ -3570,7 +3570,7 @@ var gu = {}, Bd = {};
|
|
|
3570
3570
|
zwnj: ""
|
|
3571
3571
|
}), i.entityMap = i.HTML_ENTITIES;
|
|
3572
3572
|
})(Bd);
|
|
3573
|
-
var Oh = {},
|
|
3573
|
+
var Oh = {}, Oa = Vi.NAMESPACE, uh = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, lp = new RegExp("[\\-\\.0-9" + uh.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), hp = new RegExp("^" + uh.source + lp.source + "*(?::" + uh.source + lp.source + "*)?$"), oa = 0, un = 1, vs = 2, ua = 3, ms = 4, xs = 5, la = 6, Ho = 7;
|
|
3574
3574
|
function Ms(i, e) {
|
|
3575
3575
|
this.message = i, this.locator = e, Error.captureStackTrace && Error.captureStackTrace(this, Ms);
|
|
3576
3576
|
}
|
|
@@ -3655,7 +3655,7 @@ function jx(i, e, t, r, s) {
|
|
|
3655
3655
|
r.locator = ct, fp(Q, r, K) && C.push(Q), r.locator = T;
|
|
3656
3656
|
} else
|
|
3657
3657
|
fp(Q, r, K) && C.push(Q);
|
|
3658
|
-
|
|
3658
|
+
Oa.isHTML(Q.uri) && !Q.closed ? rt = tE(i, rt, Q.tagName, u, r) : rt++;
|
|
3659
3659
|
}
|
|
3660
3660
|
} catch (B) {
|
|
3661
3661
|
if (B instanceof Ms)
|
|
@@ -3709,8 +3709,8 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3709
3709
|
t.setTagName(i.slice(e, y));
|
|
3710
3710
|
case xs:
|
|
3711
3711
|
case la:
|
|
3712
|
-
case
|
|
3713
|
-
p =
|
|
3712
|
+
case Ho:
|
|
3713
|
+
p = Ho, t.closed = !0;
|
|
3714
3714
|
case ms:
|
|
3715
3715
|
case un:
|
|
3716
3716
|
break;
|
|
@@ -3729,13 +3729,13 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3729
3729
|
t.setTagName(i.slice(e, y));
|
|
3730
3730
|
case xs:
|
|
3731
3731
|
case la:
|
|
3732
|
-
case
|
|
3732
|
+
case Ho:
|
|
3733
3733
|
break;
|
|
3734
3734
|
case ms:
|
|
3735
3735
|
case un:
|
|
3736
3736
|
c = i.slice(e, y), c.slice(-1) === "/" && (t.closed = !0, c = c.slice(0, -1));
|
|
3737
3737
|
case vs:
|
|
3738
|
-
p === vs && (c = h), p == ms ? (o.warning('attribute "' + c + '" missed quot(")!'), u(h, c, e)) : ((!
|
|
3738
|
+
p === vs && (c = h), p == ms ? (o.warning('attribute "' + c + '" missed quot(")!'), u(h, c, e)) : ((!Oa.isHTML(r[""]) || !c.match(/^(?:disabled|checked|selected)$/i)) && o.warning('attribute "' + c + '" missed value!! "' + c + '" instead!!'), u(c, c, e));
|
|
3739
3739
|
break;
|
|
3740
3740
|
case ua:
|
|
3741
3741
|
throw new Error("attribute value missed!!");
|
|
@@ -3762,7 +3762,7 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3762
3762
|
else
|
|
3763
3763
|
switch (p) {
|
|
3764
3764
|
case vs:
|
|
3765
|
-
t.tagName, (!
|
|
3765
|
+
t.tagName, (!Oa.isHTML(r[""]) || !h.match(/^(?:disabled|checked|selected)$/i)) && o.warning('attribute "' + h + '" missed value!! "' + h + '" instead2!!'), u(h, h, e), e = y, p = un;
|
|
3766
3766
|
break;
|
|
3767
3767
|
case xs:
|
|
3768
3768
|
o.warning('attribute space is required"' + h + '"!!');
|
|
@@ -3772,7 +3772,7 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3772
3772
|
case ua:
|
|
3773
3773
|
p = ms, e = y;
|
|
3774
3774
|
break;
|
|
3775
|
-
case
|
|
3775
|
+
case Ho:
|
|
3776
3776
|
throw new Error("elements closed character '/' and '>' must be connected to");
|
|
3777
3777
|
}
|
|
3778
3778
|
}
|
|
@@ -3786,12 +3786,12 @@ function fp(i, e, t) {
|
|
|
3786
3786
|
var c = o.prefix = u.slice(0, T), y = u.slice(T + 1), p = c === "xmlns" && y;
|
|
3787
3787
|
else
|
|
3788
3788
|
y = u, c = null, p = u === "xmlns" && "";
|
|
3789
|
-
o.localName = y, p !== !1 && (s == null && (s = {}, Rd(t, t = {})), t[p] = s[p] = h, o.uri =
|
|
3789
|
+
o.localName = y, p !== !1 && (s == null && (s = {}, Rd(t, t = {})), t[p] = s[p] = h, o.uri = Oa.XMLNS, e.startPrefixMapping(p, h));
|
|
3790
3790
|
}
|
|
3791
3791
|
for (var A = i.length; A--; ) {
|
|
3792
3792
|
o = i[A];
|
|
3793
3793
|
var c = o.prefix;
|
|
3794
|
-
c && (c === "xml" && (o.uri =
|
|
3794
|
+
c && (c === "xml" && (o.uri = Oa.XML), c !== "xmlns" && (o.uri = t[c || ""]));
|
|
3795
3795
|
}
|
|
3796
3796
|
var T = r.indexOf(":");
|
|
3797
3797
|
T > 0 ? (c = i.prefix = r.slice(0, T), y = i.localName = r.slice(T + 1)) : (c = null, y = i.localName = r);
|
|
@@ -3909,7 +3909,7 @@ function Hd(i) {
|
|
|
3909
3909
|
this.options = i || { locator: {} };
|
|
3910
3910
|
}
|
|
3911
3911
|
Hd.prototype.parseFromString = function(i, e) {
|
|
3912
|
-
var t = this.options, r = new lE(), s = t.domBuilder || new
|
|
3912
|
+
var t = this.options, r = new lE(), s = t.domBuilder || new Ua(), o = t.errorHandler, u = t.locator, h = t.xmlns || {}, c = /\/x?html?$/.test(e), y = c ? pp.HTML_ENTITIES : pp.XML_ENTITIES;
|
|
3913
3913
|
u && s.setDocumentLocator(u), r.errorHandler = hE(o, s, u), r.domBuilder = t.domBuilder || s, c && (h[""] = dp.HTML), h.xml = h.xml || dp.XML;
|
|
3914
3914
|
var p = t.normalizeLineEndings || kd;
|
|
3915
3915
|
return i && typeof i == "string" ? r.parse(
|
|
@@ -3920,7 +3920,7 @@ Hd.prototype.parseFromString = function(i, e) {
|
|
|
3920
3920
|
};
|
|
3921
3921
|
function hE(i, e, t) {
|
|
3922
3922
|
if (!i) {
|
|
3923
|
-
if (e instanceof
|
|
3923
|
+
if (e instanceof Ua)
|
|
3924
3924
|
return e;
|
|
3925
3925
|
i = e;
|
|
3926
3926
|
}
|
|
@@ -3937,19 +3937,19 @@ function hE(i, e, t) {
|
|
|
3937
3937
|
}
|
|
3938
3938
|
return o("warning"), o("error"), o("fatalError"), r;
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function Ua() {
|
|
3941
3941
|
this.cdata = !1;
|
|
3942
3942
|
}
|
|
3943
3943
|
function Es(i, e) {
|
|
3944
3944
|
e.lineNumber = i.lineNumber, e.columnNumber = i.columnNumber;
|
|
3945
3945
|
}
|
|
3946
|
-
|
|
3946
|
+
Ua.prototype = {
|
|
3947
3947
|
startDocument: function() {
|
|
3948
3948
|
this.doc = new oE().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
|
|
3949
3949
|
},
|
|
3950
3950
|
startElement: function(i, e, t, r) {
|
|
3951
3951
|
var s = this.doc, o = s.createElementNS(i, t || e), u = r.length;
|
|
3952
|
-
|
|
3952
|
+
Uo(this, o), this.currentElement = o, this.locator && Es(this.locator, o);
|
|
3953
3953
|
for (var h = 0; h < u; h++) {
|
|
3954
3954
|
var i = r.getURI(h), c = r.getValue(h), t = r.getQName(h), y = s.createAttributeNS(i, t);
|
|
3955
3955
|
this.locator && Es(r.getLocator(h), y), y.value = y.nodeValue = c, o.setAttributeNode(y);
|
|
@@ -3965,7 +3965,7 @@ Ha.prototype = {
|
|
|
3965
3965
|
},
|
|
3966
3966
|
processingInstruction: function(i, e) {
|
|
3967
3967
|
var t = this.doc.createProcessingInstruction(i, e);
|
|
3968
|
-
this.locator && Es(this.locator, t),
|
|
3968
|
+
this.locator && Es(this.locator, t), Uo(this, t);
|
|
3969
3969
|
},
|
|
3970
3970
|
ignorableWhitespace: function(i, e, t) {
|
|
3971
3971
|
},
|
|
@@ -3990,7 +3990,7 @@ Ha.prototype = {
|
|
|
3990
3990
|
comment: function(i, e, t) {
|
|
3991
3991
|
i = gp.apply(this, arguments);
|
|
3992
3992
|
var r = this.doc.createComment(i);
|
|
3993
|
-
this.locator && Es(this.locator, r),
|
|
3993
|
+
this.locator && Es(this.locator, r), Uo(this, r);
|
|
3994
3994
|
},
|
|
3995
3995
|
startCDATA: function() {
|
|
3996
3996
|
this.cdata = !0;
|
|
@@ -4002,7 +4002,7 @@ Ha.prototype = {
|
|
|
4002
4002
|
var r = this.doc.implementation;
|
|
4003
4003
|
if (r && r.createDocumentType) {
|
|
4004
4004
|
var s = r.createDocumentType(i, e, t);
|
|
4005
|
-
this.locator && Es(this.locator, s),
|
|
4005
|
+
this.locator && Es(this.locator, s), Uo(this, s), this.doc.doctype = s;
|
|
4006
4006
|
}
|
|
4007
4007
|
},
|
|
4008
4008
|
/**
|
|
@@ -4028,18 +4028,18 @@ function gp(i, e, t) {
|
|
|
4028
4028
|
return typeof i == "string" ? i.substr(e, t) : i.length >= e + t || e ? new java.lang.String(i, e, t) + "" : i;
|
|
4029
4029
|
}
|
|
4030
4030
|
"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(i) {
|
|
4031
|
-
|
|
4031
|
+
Ua.prototype[i] = function() {
|
|
4032
4032
|
return null;
|
|
4033
4033
|
};
|
|
4034
4034
|
});
|
|
4035
|
-
function
|
|
4035
|
+
function Uo(i, e) {
|
|
4036
4036
|
i.currentElement ? i.currentElement.appendChild(e) : i.doc.appendChild(e);
|
|
4037
4037
|
}
|
|
4038
|
-
gu.__DOMHandler =
|
|
4038
|
+
gu.__DOMHandler = Ua;
|
|
4039
4039
|
gu.normalizeLineEndings = kd;
|
|
4040
4040
|
gu.DOMParser = Hd;
|
|
4041
4041
|
var cE = gu.DOMParser;
|
|
4042
|
-
const fE = "1.0.
|
|
4042
|
+
const fE = "1.0.76";
|
|
4043
4043
|
function pE() {
|
|
4044
4044
|
return typeof window != "undefined" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
|
|
4045
4045
|
}
|
|
@@ -4228,7 +4228,7 @@ const zt = {
|
|
|
4228
4228
|
whitesmoke: 16119285,
|
|
4229
4229
|
yellow: 16776960,
|
|
4230
4230
|
yellowgreen: 10145074
|
|
4231
|
-
}, Vr = { h: 0, s: 0, l: 0 },
|
|
4231
|
+
}, Vr = { h: 0, s: 0, l: 0 }, qo = { h: 0, s: 0, l: 0 };
|
|
4232
4232
|
function Hl(i, e, t) {
|
|
4233
4233
|
return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? i + (e - i) * 6 * t : t < 1 / 2 ? e : t < 2 / 3 ? i + (e - i) * 6 * (2 / 3 - t) : i;
|
|
4234
4234
|
}
|
|
@@ -4252,7 +4252,7 @@ class Zt {
|
|
|
4252
4252
|
return Li.random().getStyle();
|
|
4253
4253
|
}
|
|
4254
4254
|
static getDarken(e, t = 0.8) {
|
|
4255
|
-
return Li.set(e).getHSL(
|
|
4255
|
+
return Li.set(e).getHSL(Vo), Li.setHSL(Vo.h, Vo.s, Vo.l * t).getStyle();
|
|
4256
4256
|
}
|
|
4257
4257
|
static getLighten(e, t = 1.2) {
|
|
4258
4258
|
return this.getDarken(e, t);
|
|
@@ -4485,8 +4485,8 @@ class Zt {
|
|
|
4485
4485
|
return this.r = e.r + (t.r - e.r) * r, this.g = e.g + (t.g - e.g) * r, this.b = e.b + (t.b - e.b) * r, this;
|
|
4486
4486
|
}
|
|
4487
4487
|
lerpHSL(e, t) {
|
|
4488
|
-
this.getHSL(Vr), e.getHSL(
|
|
4489
|
-
const r = kl(Vr.h,
|
|
4488
|
+
this.getHSL(Vr), e.getHSL(qo);
|
|
4489
|
+
const r = kl(Vr.h, qo.h, t), s = kl(Vr.s, qo.s, t), o = kl(Vr.l, qo.l, t);
|
|
4490
4490
|
return this.setHSL(r, s, o), this;
|
|
4491
4491
|
}
|
|
4492
4492
|
equals(e) {
|
|
@@ -4509,7 +4509,7 @@ class Zt {
|
|
|
4509
4509
|
yield this.r, yield this.g, yield this.b;
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
|
-
const Li = new Zt(),
|
|
4512
|
+
const Li = new Zt(), Vo = { h: 0, s: 0, l: 0 };
|
|
4513
4513
|
class k {
|
|
4514
4514
|
constructor(e = 0, t = 0, r) {
|
|
4515
4515
|
d(this, "isVector2", !0);
|
|
@@ -4935,7 +4935,7 @@ ou.exports;
|
|
|
4935
4935
|
["partial", Y],
|
|
4936
4936
|
["partialRight", z],
|
|
4937
4937
|
["rearg", tt]
|
|
4938
|
-
], le = "[object Arguments]", Se = "[object Array]", Yt = "[object AsyncFunction]", Qt = "[object Boolean]", Lt = "[object Date]", $t = "[object DOMException]", Oe = "[object Error]", He = "[object Function]", We = "[object GeneratorFunction]", ee = "[object Map]", Me = "[object Number]", Ee = "[object Null]", Kt = "[object Object]", jr = "[object Promise]", yi = "[object Proxy]", he = "[object RegExp]", Nt = "[object Set]", ar = "[object String]", ze = "[object Symbol]", vi = "[object Undefined]", xr = "[object WeakMap]", Wi = "[object WeakSet]", or = "[object ArrayBuffer]", $e = "[object DataView]", zi = "[object Float32Array]", $i = "[object Float64Array]", Jr = "[object Int8Array]", mi = "[object Int16Array]", En = "[object Int32Array]", H = "[object Uint8Array]", nt = "[object Uint8ClampedArray]", ot = "[object Uint16Array]",
|
|
4938
|
+
], le = "[object Arguments]", Se = "[object Array]", Yt = "[object AsyncFunction]", Qt = "[object Boolean]", Lt = "[object Date]", $t = "[object DOMException]", Oe = "[object Error]", He = "[object Function]", We = "[object GeneratorFunction]", ee = "[object Map]", Me = "[object Number]", Ee = "[object Null]", Kt = "[object Object]", jr = "[object Promise]", yi = "[object Proxy]", he = "[object RegExp]", Nt = "[object Set]", ar = "[object String]", ze = "[object Symbol]", vi = "[object Undefined]", xr = "[object WeakMap]", Wi = "[object WeakSet]", or = "[object ArrayBuffer]", $e = "[object DataView]", zi = "[object Float32Array]", $i = "[object Float64Array]", Jr = "[object Int8Array]", mi = "[object Int16Array]", En = "[object Int32Array]", H = "[object Uint8Array]", nt = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", St = "[object Uint32Array]", Et = /\b__p \+= '';/g, ye = /\b(__p \+=) '' \+/g, Le = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Er = /&(?:amp|lt|gt|quot|#39);/g, Gi = /[&<>"']/g, ur = RegExp(Er.source), An = RegExp(Gi.source), Yi = /<%-([\s\S]+?)%>/g, ti = /<%([\s\S]+?)%>/g, bn = /<%=([\s\S]+?)%>/g, wn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Xi = /^\w*$/, Au = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Zi = /[\\^$.*+?()[\]{}|]/g, bu = RegExp(Zi.source), Fs = /^\s+/, za = /\s/, ks = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, wu = /\{\n\/\* \[wrapped with (.+)\] \*/, $a = /,? & /, Tu = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ga = /[()=,{}\[\]\/\s]/, Ya = /\\(\\)?/g, Xa = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Hs = /\w*$/, Us = /^[-+]0x[0-9a-f]+$/i, xi = /^0b[01]+$/i, Tn = /^\[object .+?Constructor\]$/, _n = /^0o[0-7]+$/i, Qn = /^(?:0|[1-9]\d*)$/, qs = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Kn = /($^)/, _u = /['\n\r\u2028\u2029\\]/g, Ei = "\\ud800-\\udfff", Ge = "\\u0300-\\u036f", Qi = "\\ufe20-\\ufe2f", ei = "\\u20d0-\\u20ff", Ar = Ge + Qi + ei, Ki = "\\u2700-\\u27bf", lr = "a-z\\xdf-\\xf6\\xf8-\\xff", Pr = "\\xac\\xb1\\xd7\\xf7", Za = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Qa = "\\u2000-\\u206f", jn = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ye = "A-Z\\xc0-\\xd6\\xd8-\\xde", Cn = "\\ufe0e\\ufe0f", Jn = Pr + Za + Qa + jn, Dn = "['’]", Vs = "[" + Ei + "]", ts = "[" + Jn + "]", Ai = "[" + Ar + "]", Fr = "\\d+", Cu = "[" + Ki + "]", Ws = "[" + lr + "]", es = "[^" + Ei + Jn + Fr + Ki + lr + Ye + "]", rs = "\\ud83c[\\udffb-\\udfff]", Du = "(?:" + Ai + "|" + rs + ")", Ka = "[^" + Ei + "]", v = "(?:\\ud83c[\\udde6-\\uddff]){2}", E = "[\\ud800-\\udbff][\\udc00-\\udfff]", _ = "[" + Ye + "]", I = "\\u200d", Z = "(?:" + Ws + "|" + es + ")", et = "(?:" + _ + "|" + es + ")", At = "(?:" + Dn + "(?:d|ll|m|re|s|t|ve))?", ie = "(?:" + Dn + "(?:D|LL|M|RE|S|T|VE))?", ce = Du + "?", Ae = "[" + Cn + "]?", br = "(?:" + I + "(?:" + [Ka, v, E].join("|") + ")" + Ae + ce + ")*", Lg = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ng = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", zh = Ae + ce + br, Bg = "(?:" + [Cu, v, E].join("|") + ")" + zh, Ig = "(?:" + [Ka + Ai + "?", Ai, v, E, Vs].join("|") + ")", Rg = RegExp(Dn, "g"), Pg = RegExp(Ai, "g"), Su = RegExp(rs + "(?=" + rs + ")|" + Ig + zh, "g"), Fg = RegExp([
|
|
4939
4939
|
_ + "?" + Ws + "+" + At + "(?=" + [ts, _, "$"].join("|") + ")",
|
|
4940
4940
|
et + "+" + ie + "(?=" + [ts, _ + Z, "$"].join("|") + ")",
|
|
4941
4941
|
_ + "?" + Z + "+" + At,
|
|
@@ -4976,9 +4976,9 @@ ou.exports;
|
|
|
4976
4976
|
"parseInt",
|
|
4977
4977
|
"setTimeout"
|
|
4978
4978
|
], qg = -1, Gt = {};
|
|
4979
|
-
Gt[zi] = Gt[$i] = Gt[Jr] = Gt[mi] = Gt[En] = Gt[H] = Gt[nt] = Gt[ot] = Gt[
|
|
4979
|
+
Gt[zi] = Gt[$i] = Gt[Jr] = Gt[mi] = Gt[En] = Gt[H] = Gt[nt] = Gt[ot] = Gt[St] = !0, Gt[le] = Gt[Se] = Gt[or] = Gt[Qt] = Gt[$e] = Gt[Lt] = Gt[Oe] = Gt[He] = Gt[ee] = Gt[Me] = Gt[Kt] = Gt[he] = Gt[Nt] = Gt[ar] = Gt[xr] = !1;
|
|
4980
4980
|
var Wt = {};
|
|
4981
|
-
Wt[le] = Wt[Se] = Wt[or] = Wt[$e] = Wt[Qt] = Wt[Lt] = Wt[zi] = Wt[$i] = Wt[Jr] = Wt[mi] = Wt[En] = Wt[ee] = Wt[Me] = Wt[Kt] = Wt[he] = Wt[Nt] = Wt[ar] = Wt[ze] = Wt[H] = Wt[nt] = Wt[ot] = Wt[
|
|
4981
|
+
Wt[le] = Wt[Se] = Wt[or] = Wt[$e] = Wt[Qt] = Wt[Lt] = Wt[zi] = Wt[$i] = Wt[Jr] = Wt[mi] = Wt[En] = Wt[ee] = Wt[Me] = Wt[Kt] = Wt[he] = Wt[Nt] = Wt[ar] = Wt[ze] = Wt[H] = Wt[nt] = Wt[ot] = Wt[St] = !0, Wt[Oe] = Wt[He] = Wt[xr] = !1;
|
|
4982
4982
|
var Vg = {
|
|
4983
4983
|
// Latin-1 Supplement block.
|
|
4984
4984
|
À: "A",
|
|
@@ -5241,7 +5241,7 @@ ou.exports;
|
|
|
5241
5241
|
}
|
|
5242
5242
|
return Rt;
|
|
5243
5243
|
}
|
|
5244
|
-
function
|
|
5244
|
+
function ja(S, U) {
|
|
5245
5245
|
var F = S == null ? 0 : S.length;
|
|
5246
5246
|
return !!F && is(S, U, 0) > -1;
|
|
5247
5247
|
}
|
|
@@ -5293,14 +5293,14 @@ ou.exports;
|
|
|
5293
5293
|
return it = Rt, !1;
|
|
5294
5294
|
}), it;
|
|
5295
5295
|
}
|
|
5296
|
-
function
|
|
5296
|
+
function Ja(S, U, F, it) {
|
|
5297
5297
|
for (var gt = S.length, Rt = F + (it ? 1 : -1); it ? Rt-- : ++Rt < gt; )
|
|
5298
5298
|
if (U(S[Rt], Rt, S))
|
|
5299
5299
|
return Rt;
|
|
5300
5300
|
return -1;
|
|
5301
5301
|
}
|
|
5302
5302
|
function is(S, U, F) {
|
|
5303
|
-
return U === U ? f0(S, U, F) :
|
|
5303
|
+
return U === U ? f0(S, U, F) : Ja(S, ec, F);
|
|
5304
5304
|
}
|
|
5305
5305
|
function e0(S, U, F, it) {
|
|
5306
5306
|
for (var gt = F - 1, Rt = S.length; ++gt < Rt; )
|
|
@@ -5420,7 +5420,7 @@ ou.exports;
|
|
|
5420
5420
|
}
|
|
5421
5421
|
return Rt;
|
|
5422
5422
|
}
|
|
5423
|
-
function
|
|
5423
|
+
function to(S) {
|
|
5424
5424
|
var U = -1, F = Array(S.size);
|
|
5425
5425
|
return S.forEach(function(it) {
|
|
5426
5426
|
F[++U] = it;
|
|
@@ -5451,7 +5451,7 @@ ou.exports;
|
|
|
5451
5451
|
return ns(S) ? y0(S) : Jg(S);
|
|
5452
5452
|
}
|
|
5453
5453
|
function uc(S) {
|
|
5454
|
-
for (var U = S.length; U-- &&
|
|
5454
|
+
for (var U = S.length; U-- && za.test(S.charAt(U)); )
|
|
5455
5455
|
;
|
|
5456
5456
|
return U;
|
|
5457
5457
|
}
|
|
@@ -5469,18 +5469,18 @@ ou.exports;
|
|
|
5469
5469
|
}
|
|
5470
5470
|
var m0 = function S(U) {
|
|
5471
5471
|
U = U == null ? _e : as.defaults(_e.Object(), U, as.pick(_e, Ug));
|
|
5472
|
-
var F = U.Array, it = U.Date, gt = U.Error, Rt = U.Function, ve = U.Math, qt = U.Object, Uu = U.RegExp, x0 = U.String, _r = U.TypeError,
|
|
5473
|
-
var n = /[^.]+$/.exec(
|
|
5472
|
+
var F = U.Array, it = U.Date, gt = U.Error, Rt = U.Function, ve = U.Math, qt = U.Object, Uu = U.RegExp, x0 = U.String, _r = U.TypeError, eo = F.prototype, E0 = Rt.prototype, os = qt.prototype, ro = U["__core-js_shared__"], io = E0.toString, Ht = os.hasOwnProperty, A0 = 0, lc = function() {
|
|
5473
|
+
var n = /[^.]+$/.exec(ro && ro.keys && ro.keys.IE_PROTO || "");
|
|
5474
5474
|
return n ? "Symbol(src)_1." + n : "";
|
|
5475
|
-
}(),
|
|
5476
|
-
"^" +
|
|
5477
|
-
),
|
|
5475
|
+
}(), no = os.toString, b0 = io.call(qt), w0 = _e._, T0 = Uu(
|
|
5476
|
+
"^" + io.call(Ht).replace(Zi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5477
|
+
), so = Gh ? U.Buffer : t, en = U.Symbol, ao = U.Uint8Array, hc = so ? so.allocUnsafe : t, oo = oc(qt.getPrototypeOf, qt), cc = qt.create, fc = os.propertyIsEnumerable, uo = eo.splice, pc = en ? en.isConcatSpreadable : t, $s = en ? en.iterator : t, On = en ? en.toStringTag : t, lo = function() {
|
|
5478
5478
|
try {
|
|
5479
5479
|
var n = In(qt, "defineProperty");
|
|
5480
5480
|
return n({}, "", {}), n;
|
|
5481
5481
|
} catch (a) {
|
|
5482
5482
|
}
|
|
5483
|
-
}(), _0 = U.clearTimeout !== _e.clearTimeout && U.clearTimeout, C0 = it && it.now !== _e.Date.now && it.now, D0 = U.setTimeout !== _e.setTimeout && U.setTimeout,
|
|
5483
|
+
}(), _0 = U.clearTimeout !== _e.clearTimeout && U.clearTimeout, C0 = it && it.now !== _e.Date.now && it.now, D0 = U.setTimeout !== _e.setTimeout && U.setTimeout, ho = ve.ceil, co = ve.floor, qu = qt.getOwnPropertySymbols, S0 = so ? so.isBuffer : t, dc = U.isFinite, O0 = eo.join, M0 = oc(qt.keys, qt), me = ve.max, Ne = ve.min, L0 = it.now, N0 = U.parseInt, gc = ve.random, B0 = eo.reverse, Vu = In(U, "DataView"), Gs = In(U, "Map"), Wu = In(U, "Promise"), us = In(U, "Set"), Ys = In(U, "WeakMap"), Xs = In(qt, "create"), fo = Ys && new Ys(), ls = {}, I0 = Rn(Vu), R0 = Rn(Gs), P0 = Rn(Wu), F0 = Rn(us), k0 = Rn(Ys), po = en ? en.prototype : t, Zs = po ? po.valueOf : t, yc = po ? po.toString : t;
|
|
5484
5484
|
function m(n) {
|
|
5485
5485
|
if (re(n) && !yt(n) && !(n instanceof Ct)) {
|
|
5486
5486
|
if (n instanceof Cr)
|
|
@@ -5503,7 +5503,7 @@ ou.exports;
|
|
|
5503
5503
|
return n.prototype = t, l;
|
|
5504
5504
|
};
|
|
5505
5505
|
}();
|
|
5506
|
-
function
|
|
5506
|
+
function go() {
|
|
5507
5507
|
}
|
|
5508
5508
|
function Cr(n, a) {
|
|
5509
5509
|
this.__wrapped__ = n, this.__actions__ = [], this.__chain__ = !!a, this.__index__ = 0, this.__values__ = t;
|
|
@@ -5552,7 +5552,7 @@ ou.exports;
|
|
|
5552
5552
|
*/
|
|
5553
5553
|
_: m
|
|
5554
5554
|
}
|
|
5555
|
-
}, m.prototype =
|
|
5555
|
+
}, m.prototype = go.prototype, m.prototype.constructor = m, Cr.prototype = hs(go.prototype), Cr.prototype.constructor = Cr;
|
|
5556
5556
|
function Ct(n) {
|
|
5557
5557
|
this.__wrapped__ = n, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = ue, this.__views__ = [];
|
|
5558
5558
|
}
|
|
@@ -5577,7 +5577,7 @@ ou.exports;
|
|
|
5577
5577
|
for (; M-- && J < st; ) {
|
|
5578
5578
|
$ += a;
|
|
5579
5579
|
for (var bt = -1, ht = n[$]; ++bt < X; ) {
|
|
5580
|
-
var
|
|
5580
|
+
var _t = G[bt], Ot = _t.iteratee, dr = _t.type, Ve = Ot(ht);
|
|
5581
5581
|
if (dr == dt)
|
|
5582
5582
|
ht = Ve;
|
|
5583
5583
|
else if (!Ve) {
|
|
@@ -5590,7 +5590,7 @@ ou.exports;
|
|
|
5590
5590
|
}
|
|
5591
5591
|
return lt;
|
|
5592
5592
|
}
|
|
5593
|
-
Ct.prototype = hs(
|
|
5593
|
+
Ct.prototype = hs(go.prototype), Ct.prototype.constructor = Ct;
|
|
5594
5594
|
function Mn(n) {
|
|
5595
5595
|
var a = -1, l = n == null ? 0 : n.length;
|
|
5596
5596
|
for (this.clear(); ++a < l; ) {
|
|
@@ -5633,21 +5633,21 @@ ou.exports;
|
|
|
5633
5633
|
this.__data__ = [], this.size = 0;
|
|
5634
5634
|
}
|
|
5635
5635
|
function X0(n) {
|
|
5636
|
-
var a = this.__data__, l =
|
|
5636
|
+
var a = this.__data__, l = yo(a, n);
|
|
5637
5637
|
if (l < 0)
|
|
5638
5638
|
return !1;
|
|
5639
5639
|
var f = a.length - 1;
|
|
5640
|
-
return l == f ? a.pop() :
|
|
5640
|
+
return l == f ? a.pop() : uo.call(a, l, 1), --this.size, !0;
|
|
5641
5641
|
}
|
|
5642
5642
|
function Z0(n) {
|
|
5643
|
-
var a = this.__data__, l =
|
|
5643
|
+
var a = this.__data__, l = yo(a, n);
|
|
5644
5644
|
return l < 0 ? t : a[l][1];
|
|
5645
5645
|
}
|
|
5646
5646
|
function Q0(n) {
|
|
5647
|
-
return
|
|
5647
|
+
return yo(this.__data__, n) > -1;
|
|
5648
5648
|
}
|
|
5649
5649
|
function K0(n, a) {
|
|
5650
|
-
var l = this.__data__, f =
|
|
5650
|
+
var l = this.__data__, f = yo(l, n);
|
|
5651
5651
|
return f < 0 ? (++this.size, l.push([n, a])) : l[f][1] = a, this;
|
|
5652
5652
|
}
|
|
5653
5653
|
bi.prototype.clear = Y0, bi.prototype.delete = X0, bi.prototype.get = Z0, bi.prototype.has = Q0, bi.prototype.set = K0;
|
|
@@ -5666,17 +5666,17 @@ ou.exports;
|
|
|
5666
5666
|
};
|
|
5667
5667
|
}
|
|
5668
5668
|
function J0(n) {
|
|
5669
|
-
var a =
|
|
5669
|
+
var a = So(this, n).delete(n);
|
|
5670
5670
|
return this.size -= a ? 1 : 0, a;
|
|
5671
5671
|
}
|
|
5672
5672
|
function t2(n) {
|
|
5673
|
-
return
|
|
5673
|
+
return So(this, n).get(n);
|
|
5674
5674
|
}
|
|
5675
5675
|
function e2(n) {
|
|
5676
|
-
return
|
|
5676
|
+
return So(this, n).has(n);
|
|
5677
5677
|
}
|
|
5678
5678
|
function r2(n, a) {
|
|
5679
|
-
var l =
|
|
5679
|
+
var l = So(this, n), f = l.size;
|
|
5680
5680
|
return l.set(n, a), this.size += l.size == f ? 0 : 1, this;
|
|
5681
5681
|
}
|
|
5682
5682
|
wi.prototype.clear = j0, wi.prototype.delete = J0, wi.prototype.get = t2, wi.prototype.has = e2, wi.prototype.set = r2;
|
|
@@ -5735,10 +5735,10 @@ ou.exports;
|
|
|
5735
5735
|
return a ? n[tl(0, a - 1)] : t;
|
|
5736
5736
|
}
|
|
5737
5737
|
function h2(n, a) {
|
|
5738
|
-
return
|
|
5738
|
+
return Oo(Xe(n), Nn(a, 0, n.length));
|
|
5739
5739
|
}
|
|
5740
5740
|
function c2(n) {
|
|
5741
|
-
return
|
|
5741
|
+
return Oo(Xe(n));
|
|
5742
5742
|
}
|
|
5743
5743
|
function zu(n, a, l) {
|
|
5744
5744
|
(l !== t && !Ur(n[a], l) || l === t && !(a in n)) && Ti(n, a, l);
|
|
@@ -5747,7 +5747,7 @@ ou.exports;
|
|
|
5747
5747
|
var f = n[a];
|
|
5748
5748
|
(!(Ht.call(n, a) && Ur(f, l)) || l === t && !(a in n)) && Ti(n, a, l);
|
|
5749
5749
|
}
|
|
5750
|
-
function
|
|
5750
|
+
function yo(n, a) {
|
|
5751
5751
|
for (var l = n.length; l--; )
|
|
5752
5752
|
if (Ur(n[l][0], a))
|
|
5753
5753
|
return l;
|
|
@@ -5765,7 +5765,7 @@ ou.exports;
|
|
|
5765
5765
|
return n && ii(a, Qe(a), n);
|
|
5766
5766
|
}
|
|
5767
5767
|
function Ti(n, a, l) {
|
|
5768
|
-
a == "__proto__" &&
|
|
5768
|
+
a == "__proto__" && lo ? lo(n, a, {
|
|
5769
5769
|
configurable: !0,
|
|
5770
5770
|
enumerable: !0,
|
|
5771
5771
|
value: l,
|
|
@@ -5809,12 +5809,12 @@ ou.exports;
|
|
|
5809
5809
|
return st;
|
|
5810
5810
|
x.set(n, w), kf(n) ? n.forEach(function(ht) {
|
|
5811
5811
|
w.add(Dr(ht, a, l, ht, n, x));
|
|
5812
|
-
}) : Pf(n) && n.forEach(function(ht,
|
|
5813
|
-
w.set(
|
|
5812
|
+
}) : Pf(n) && n.forEach(function(ht, _t) {
|
|
5813
|
+
w.set(_t, Dr(ht, a, l, _t, n, x));
|
|
5814
5814
|
});
|
|
5815
5815
|
var lt = $ ? M ? cl : hl : M ? Qe : be, bt = G ? t : lt(n);
|
|
5816
|
-
return Tr(bt || n, function(ht,
|
|
5817
|
-
bt && (
|
|
5816
|
+
return Tr(bt || n, function(ht, _t) {
|
|
5817
|
+
bt && (_t = ht, ht = n[_t]), Qs(w, _t, Dr(ht, a, l, _t, n, x));
|
|
5818
5818
|
}), w;
|
|
5819
5819
|
}
|
|
5820
5820
|
function d2(n) {
|
|
@@ -5842,7 +5842,7 @@ ou.exports;
|
|
|
5842
5842
|
}, a);
|
|
5843
5843
|
}
|
|
5844
5844
|
function Ks(n, a, l, f) {
|
|
5845
|
-
var g = -1, x =
|
|
5845
|
+
var g = -1, x = ja, w = !0, D = n.length, M = [], $ = a.length;
|
|
5846
5846
|
if (!D)
|
|
5847
5847
|
return M;
|
|
5848
5848
|
l && (a = Xt(a, cr(l))), f ? (x = Lu, w = !1) : a.length >= s && (x = zs, w = !1, a = new Ln(a));
|
|
@@ -5865,7 +5865,7 @@ ou.exports;
|
|
|
5865
5865
|
return l = !!a(f, g, x), l;
|
|
5866
5866
|
}), l;
|
|
5867
5867
|
}
|
|
5868
|
-
function
|
|
5868
|
+
function vo(n, a, l) {
|
|
5869
5869
|
for (var f = -1, g = n.length; ++f < g; ) {
|
|
5870
5870
|
var x = n[f], w = a(x);
|
|
5871
5871
|
if (w != null && (D === t ? w === w && !pr(w) : l(w, D)))
|
|
@@ -5900,7 +5900,7 @@ ou.exports;
|
|
|
5900
5900
|
function Yu(n, a) {
|
|
5901
5901
|
return n && Tc(n, a, be);
|
|
5902
5902
|
}
|
|
5903
|
-
function
|
|
5903
|
+
function mo(n, a) {
|
|
5904
5904
|
return ji(a, function(l) {
|
|
5905
5905
|
return Si(n[l]);
|
|
5906
5906
|
});
|
|
@@ -5931,7 +5931,7 @@ ou.exports;
|
|
|
5931
5931
|
return n >= Ne(a, l) && n < me(a, l);
|
|
5932
5932
|
}
|
|
5933
5933
|
function Zu(n, a, l) {
|
|
5934
|
-
for (var f = l ? Lu :
|
|
5934
|
+
for (var f = l ? Lu : ja, g = n[0].length, x = n.length, w = x, D = F(x), M = 1 / 0, $ = []; w--; ) {
|
|
5935
5935
|
var G = n[w];
|
|
5936
5936
|
w && a && (G = Xt(G, cr(a))), M = Ne(G.length, M), D[w] = !l && (a || g >= 120 && G.length >= 120) ? new Ln(w && G) : t;
|
|
5937
5937
|
}
|
|
@@ -6034,7 +6034,7 @@ ou.exports;
|
|
|
6034
6034
|
return re(n) && Be(n) == Nt;
|
|
6035
6035
|
}
|
|
6036
6036
|
function D2(n) {
|
|
6037
|
-
return re(n) &&
|
|
6037
|
+
return re(n) && Ro(n.length) && !!Gt[Ue(n)];
|
|
6038
6038
|
}
|
|
6039
6039
|
function Sc(n) {
|
|
6040
6040
|
return typeof n == "function" ? n : n == null ? Ke : typeof n == "object" ? yt(n) ? Lc(n[0], n[1]) : Mc(n) : Kf(n);
|
|
@@ -6076,10 +6076,10 @@ ou.exports;
|
|
|
6076
6076
|
return f === t && f === a ? Cl(l, n) : Js(a, f, N | O);
|
|
6077
6077
|
};
|
|
6078
6078
|
}
|
|
6079
|
-
function
|
|
6079
|
+
function xo(n, a, l, f, g) {
|
|
6080
6080
|
n !== a && Gu(a, function(x, w) {
|
|
6081
6081
|
if (g || (g = new Hr()), jt(x))
|
|
6082
|
-
O2(n, a, w, l,
|
|
6082
|
+
O2(n, a, w, l, xo, f, g);
|
|
6083
6083
|
else {
|
|
6084
6084
|
var D = f ? f(vl(n, w), x, w + "", n, a, g) : t;
|
|
6085
6085
|
D === t && (D = x), zu(n, w, D);
|
|
@@ -6143,7 +6143,7 @@ ou.exports;
|
|
|
6143
6143
|
var g = f ? e0 : is, x = -1, w = a.length, D = n;
|
|
6144
6144
|
for (n === a && (a = Xe(a)), l && (D = Xt(n, cr(l))); ++x < w; )
|
|
6145
6145
|
for (var M = 0, $ = a[x], G = l ? l($) : $; (M = g(D, G, M, f)) > -1; )
|
|
6146
|
-
D !== n &&
|
|
6146
|
+
D !== n && uo.call(D, M, 1), uo.call(n, M, 1);
|
|
6147
6147
|
return n;
|
|
6148
6148
|
}
|
|
6149
6149
|
function Rc(n, a) {
|
|
@@ -6151,16 +6151,16 @@ ou.exports;
|
|
|
6151
6151
|
var g = a[l];
|
|
6152
6152
|
if (l == f || g !== x) {
|
|
6153
6153
|
var x = g;
|
|
6154
|
-
Di(g) ?
|
|
6154
|
+
Di(g) ? uo.call(n, g, 1) : il(n, g);
|
|
6155
6155
|
}
|
|
6156
6156
|
}
|
|
6157
6157
|
return n;
|
|
6158
6158
|
}
|
|
6159
6159
|
function tl(n, a) {
|
|
6160
|
-
return n +
|
|
6160
|
+
return n + co(gc() * (a - n + 1));
|
|
6161
6161
|
}
|
|
6162
6162
|
function N2(n, a, l, f) {
|
|
6163
|
-
for (var g = -1, x = me(
|
|
6163
|
+
for (var g = -1, x = me(ho((a - n) / (l || 1)), 0), w = F(x); x--; )
|
|
6164
6164
|
w[f ? x : ++g] = n, n += l;
|
|
6165
6165
|
return w;
|
|
6166
6166
|
}
|
|
@@ -6169,7 +6169,7 @@ ou.exports;
|
|
|
6169
6169
|
if (!n || a < 1 || a > Pt)
|
|
6170
6170
|
return l;
|
|
6171
6171
|
do
|
|
6172
|
-
a % 2 && (l += n), a =
|
|
6172
|
+
a % 2 && (l += n), a = co(a / 2), a && (n += n);
|
|
6173
6173
|
while (a);
|
|
6174
6174
|
return l;
|
|
6175
6175
|
}
|
|
@@ -6181,7 +6181,7 @@ ou.exports;
|
|
|
6181
6181
|
}
|
|
6182
6182
|
function I2(n, a) {
|
|
6183
6183
|
var l = gs(n);
|
|
6184
|
-
return
|
|
6184
|
+
return Oo(l, Nn(a, 0, l.length));
|
|
6185
6185
|
}
|
|
6186
6186
|
function ta(n, a, l, f) {
|
|
6187
6187
|
if (!jt(n))
|
|
@@ -6199,10 +6199,10 @@ ou.exports;
|
|
|
6199
6199
|
}
|
|
6200
6200
|
return n;
|
|
6201
6201
|
}
|
|
6202
|
-
var Pc =
|
|
6203
|
-
return
|
|
6204
|
-
} : Ke, R2 =
|
|
6205
|
-
return
|
|
6202
|
+
var Pc = fo ? function(n, a) {
|
|
6203
|
+
return fo.set(n, a), n;
|
|
6204
|
+
} : Ke, R2 = lo ? function(n, a) {
|
|
6205
|
+
return lo(n, "toString", {
|
|
6206
6206
|
configurable: !0,
|
|
6207
6207
|
enumerable: !1,
|
|
6208
6208
|
value: Sl(a),
|
|
@@ -6210,7 +6210,7 @@ ou.exports;
|
|
|
6210
6210
|
});
|
|
6211
6211
|
} : Ke;
|
|
6212
6212
|
function P2(n) {
|
|
6213
|
-
return
|
|
6213
|
+
return Oo(gs(n));
|
|
6214
6214
|
}
|
|
6215
6215
|
function Sr(n, a, l) {
|
|
6216
6216
|
var f = -1, g = n.length;
|
|
@@ -6225,7 +6225,7 @@ ou.exports;
|
|
|
6225
6225
|
return l = a(f, g, x), !l;
|
|
6226
6226
|
}), !!l;
|
|
6227
6227
|
}
|
|
6228
|
-
function
|
|
6228
|
+
function Eo(n, a, l) {
|
|
6229
6229
|
var f = 0, g = n == null ? f : n.length;
|
|
6230
6230
|
if (typeof a == "number" && a === a && g <= Rr) {
|
|
6231
6231
|
for (; f < g; ) {
|
|
@@ -6242,7 +6242,7 @@ ou.exports;
|
|
|
6242
6242
|
return 0;
|
|
6243
6243
|
a = l(a);
|
|
6244
6244
|
for (var w = a !== a, D = a === null, M = pr(a), $ = a === t; g < x; ) {
|
|
6245
|
-
var G =
|
|
6245
|
+
var G = co((g + x) / 2), X = l(n[G]), J = X !== t, st = X === null, lt = X === X, bt = pr(X);
|
|
6246
6246
|
if (w)
|
|
6247
6247
|
var ht = f || lt;
|
|
6248
6248
|
else $ ? ht = lt && (f || J) : D ? ht = lt && J && (f || !st) : M ? ht = lt && J && !st && (f || !bt) : st || bt ? ht = !1 : ht = f ? X <= a : X < a;
|
|
@@ -6274,13 +6274,13 @@ ou.exports;
|
|
|
6274
6274
|
return a == "0" && 1 / n == -xt ? "-0" : a;
|
|
6275
6275
|
}
|
|
6276
6276
|
function nn(n, a, l) {
|
|
6277
|
-
var f = -1, g =
|
|
6277
|
+
var f = -1, g = ja, x = n.length, w = !0, D = [], M = D;
|
|
6278
6278
|
if (l)
|
|
6279
6279
|
w = !1, g = Lu;
|
|
6280
6280
|
else if (x >= s) {
|
|
6281
6281
|
var $ = a ? null : X2(n);
|
|
6282
6282
|
if ($)
|
|
6283
|
-
return
|
|
6283
|
+
return to($);
|
|
6284
6284
|
w = !1, g = zs, M = new Ln();
|
|
6285
6285
|
} else
|
|
6286
6286
|
M = a ? [] : D;
|
|
@@ -6302,7 +6302,7 @@ ou.exports;
|
|
|
6302
6302
|
function Hc(n, a, l, f) {
|
|
6303
6303
|
return ta(n, a, l(Bn(n, a)), f);
|
|
6304
6304
|
}
|
|
6305
|
-
function
|
|
6305
|
+
function Ao(n, a, l, f) {
|
|
6306
6306
|
for (var g = n.length, x = f ? g : -1; (f ? x-- : ++x < g) && a(n[x], x, n); )
|
|
6307
6307
|
;
|
|
6308
6308
|
return l ? Sr(n, f ? 0 : x, f ? x + 1 : g) : Sr(n, f ? x + 1 : 0, f ? g : x);
|
|
@@ -6354,7 +6354,7 @@ ou.exports;
|
|
|
6354
6354
|
}
|
|
6355
6355
|
function ol(n) {
|
|
6356
6356
|
var a = new n.constructor(n.byteLength);
|
|
6357
|
-
return new
|
|
6357
|
+
return new ao(a).set(new ao(n)), a;
|
|
6358
6358
|
}
|
|
6359
6359
|
function H2(n, a) {
|
|
6360
6360
|
var l = a ? ol(n.buffer) : n.buffer;
|
|
@@ -6432,7 +6432,7 @@ ou.exports;
|
|
|
6432
6432
|
function z2(n, a) {
|
|
6433
6433
|
return ii(n, of(n), a);
|
|
6434
6434
|
}
|
|
6435
|
-
function
|
|
6435
|
+
function bo(n, a) {
|
|
6436
6436
|
return function(l, f) {
|
|
6437
6437
|
var g = yt(l) ? Zg : f2, x = a ? a() : {};
|
|
6438
6438
|
return g(l, n, ut(f, 2), x);
|
|
@@ -6524,7 +6524,7 @@ ou.exports;
|
|
|
6524
6524
|
return ef(
|
|
6525
6525
|
n,
|
|
6526
6526
|
a,
|
|
6527
|
-
|
|
6527
|
+
wo,
|
|
6528
6528
|
g.placeholder,
|
|
6529
6529
|
t,
|
|
6530
6530
|
w,
|
|
@@ -6558,13 +6558,13 @@ ou.exports;
|
|
|
6558
6558
|
var x = a[f];
|
|
6559
6559
|
if (typeof x != "function")
|
|
6560
6560
|
throw new _r(u);
|
|
6561
|
-
if (g && !w &&
|
|
6561
|
+
if (g && !w && Do(x) == "wrapper")
|
|
6562
6562
|
var w = new Cr([], !0);
|
|
6563
6563
|
}
|
|
6564
6564
|
for (f = w ? f : l; ++f < l; ) {
|
|
6565
6565
|
x = a[f];
|
|
6566
|
-
var D =
|
|
6567
|
-
M && yl(M[0]) && M[1] == (j | q | Y | tt) && !M[4].length && M[9] == 1 ? w = w[
|
|
6566
|
+
var D = Do(x), M = D == "wrapper" ? fl(x) : t;
|
|
6567
|
+
M && yl(M[0]) && M[1] == (j | q | Y | tt) && !M[4].length && M[9] == 1 ? w = w[Do(M[0])].apply(w, M[3]) : w = x.length == 1 && yl(x) ? w[D]() : w.thru(x);
|
|
6568
6568
|
}
|
|
6569
6569
|
return function() {
|
|
6570
6570
|
var $ = arguments, G = $[0];
|
|
@@ -6576,30 +6576,30 @@ ou.exports;
|
|
|
6576
6576
|
};
|
|
6577
6577
|
});
|
|
6578
6578
|
}
|
|
6579
|
-
function
|
|
6579
|
+
function wo(n, a, l, f, g, x, w, D, M, $) {
|
|
6580
6580
|
var G = a & j, X = a & L, J = a & P, st = a & (q | b), lt = a & Q, bt = J ? t : ea(n);
|
|
6581
6581
|
function ht() {
|
|
6582
|
-
for (var
|
|
6583
|
-
|
|
6582
|
+
for (var _t = arguments.length, Ot = F(_t), dr = _t; dr--; )
|
|
6583
|
+
Ot[dr] = arguments[dr];
|
|
6584
6584
|
if (st)
|
|
6585
|
-
var Ve = ps(ht), gr = n0(
|
|
6586
|
-
if (f && (
|
|
6587
|
-
var se = tn(
|
|
6585
|
+
var Ve = ps(ht), gr = n0(Ot, Ve);
|
|
6586
|
+
if (f && (Ot = Gc(Ot, f, g, st)), x && (Ot = Yc(Ot, x, w, st)), _t -= gr, st && _t < $) {
|
|
6587
|
+
var se = tn(Ot, Ve);
|
|
6588
6588
|
return ef(
|
|
6589
6589
|
n,
|
|
6590
6590
|
a,
|
|
6591
|
-
|
|
6591
|
+
wo,
|
|
6592
6592
|
ht.placeholder,
|
|
6593
6593
|
l,
|
|
6594
|
-
|
|
6594
|
+
Ot,
|
|
6595
6595
|
se,
|
|
6596
6596
|
D,
|
|
6597
6597
|
M,
|
|
6598
|
-
$ -
|
|
6598
|
+
$ - _t
|
|
6599
6599
|
);
|
|
6600
6600
|
}
|
|
6601
6601
|
var qr = X ? l : this, Mi = J ? qr[n] : n;
|
|
6602
|
-
return
|
|
6602
|
+
return _t = Ot.length, D ? Ot = fy(Ot, D) : lt && _t > 1 && Ot.reverse(), G && M < _t && (Ot.length = M), this && this !== _e && this instanceof ht && (Mi = bt || ea(Mi)), Mi.apply(qr, Ot);
|
|
6603
6603
|
}
|
|
6604
6604
|
return ht;
|
|
6605
6605
|
}
|
|
@@ -6608,7 +6608,7 @@ ou.exports;
|
|
|
6608
6608
|
return E2(l, n, a(f), {});
|
|
6609
6609
|
};
|
|
6610
6610
|
}
|
|
6611
|
-
function
|
|
6611
|
+
function To(n, a) {
|
|
6612
6612
|
return function(l, f) {
|
|
6613
6613
|
var g;
|
|
6614
6614
|
if (l === t && f === t)
|
|
@@ -6631,12 +6631,12 @@ ou.exports;
|
|
|
6631
6631
|
});
|
|
6632
6632
|
});
|
|
6633
6633
|
}
|
|
6634
|
-
function
|
|
6634
|
+
function _o(n, a) {
|
|
6635
6635
|
a = a === t ? " " : fr(a);
|
|
6636
6636
|
var l = a.length;
|
|
6637
6637
|
if (l < 2)
|
|
6638
6638
|
return l ? el(a, n) : a;
|
|
6639
|
-
var f = el(a,
|
|
6639
|
+
var f = el(a, ho(n / ss(a)));
|
|
6640
6640
|
return ns(a) ? an(kr(f), 0, n).join("") : f.slice(0, n);
|
|
6641
6641
|
}
|
|
6642
6642
|
function Y2(n, a, l, f) {
|
|
@@ -6655,7 +6655,7 @@ ou.exports;
|
|
|
6655
6655
|
return f && typeof f != "number" && qe(a, l, f) && (l = f = t), a = Oi(a), l === t ? (l = a, a = 0) : l = Oi(l), f = f === t ? a < l ? 1 : -1 : Oi(f), N2(a, l, f, n);
|
|
6656
6656
|
};
|
|
6657
6657
|
}
|
|
6658
|
-
function
|
|
6658
|
+
function Co(n) {
|
|
6659
6659
|
return function(a, l) {
|
|
6660
6660
|
return typeof a == "string" && typeof l == "string" || (a = Mr(a), l = Mr(l)), n(a, l);
|
|
6661
6661
|
};
|
|
@@ -6687,7 +6687,7 @@ ou.exports;
|
|
|
6687
6687
|
return a(l);
|
|
6688
6688
|
};
|
|
6689
6689
|
}
|
|
6690
|
-
var X2 = us && 1 /
|
|
6690
|
+
var X2 = us && 1 / to(new us([, -0]))[1] == xt ? function(n) {
|
|
6691
6691
|
return new us(n);
|
|
6692
6692
|
} : Ll;
|
|
6693
6693
|
function rf(n) {
|
|
@@ -6719,7 +6719,7 @@ ou.exports;
|
|
|
6719
6719
|
];
|
|
6720
6720
|
if (J && ly(st, J), n = st[0], a = st[1], l = st[2], f = st[3], g = st[4], D = st[9] = st[9] === t ? M ? 0 : n.length : me(st[9] - $, 0), !D && a & (q | b) && (a &= ~(q | b)), !a || a == L)
|
|
6721
6721
|
var lt = $2(n, a, l);
|
|
6722
|
-
else a == q || a == b ? lt = G2(n, a, D) : (a == Y || a == (L | Y)) && !g.length ? lt = Y2(n, a, l, f) : lt =
|
|
6722
|
+
else a == q || a == b ? lt = G2(n, a, D) : (a == Y || a == (L | Y)) && !g.length ? lt = Y2(n, a, l, f) : lt = wo.apply(t, st);
|
|
6723
6723
|
var bt = J ? Pc : df;
|
|
6724
6724
|
return gf(bt(lt, st), n, a);
|
|
6725
6725
|
}
|
|
@@ -6727,7 +6727,7 @@ ou.exports;
|
|
|
6727
6727
|
return n === t || Ur(n, os[l]) && !Ht.call(f, l) ? a : n;
|
|
6728
6728
|
}
|
|
6729
6729
|
function sf(n, a, l, f, g, x) {
|
|
6730
|
-
return jt(n) && jt(a) && (x.set(a, n),
|
|
6730
|
+
return jt(n) && jt(a) && (x.set(a, n), xo(n, a, t, sf, x), x.delete(a)), n;
|
|
6731
6731
|
}
|
|
6732
6732
|
function Z2(n) {
|
|
6733
6733
|
return na(n) ? t : n;
|
|
@@ -6751,9 +6751,9 @@ ou.exports;
|
|
|
6751
6751
|
break;
|
|
6752
6752
|
}
|
|
6753
6753
|
if (st) {
|
|
6754
|
-
if (!Bu(a, function(
|
|
6755
|
-
if (!zs(st,
|
|
6756
|
-
return st.push(
|
|
6754
|
+
if (!Bu(a, function(_t, Ot) {
|
|
6755
|
+
if (!zs(st, Ot) && (lt === _t || g(lt, _t, l, f, x)))
|
|
6756
|
+
return st.push(Ot);
|
|
6757
6757
|
})) {
|
|
6758
6758
|
J = !1;
|
|
6759
6759
|
break;
|
|
@@ -6772,7 +6772,7 @@ ou.exports;
|
|
|
6772
6772
|
return !1;
|
|
6773
6773
|
n = n.buffer, a = a.buffer;
|
|
6774
6774
|
case or:
|
|
6775
|
-
return !(n.byteLength != a.byteLength || !x(new
|
|
6775
|
+
return !(n.byteLength != a.byteLength || !x(new ao(n), new ao(a)));
|
|
6776
6776
|
case Qt:
|
|
6777
6777
|
case Lt:
|
|
6778
6778
|
case Me:
|
|
@@ -6786,7 +6786,7 @@ ou.exports;
|
|
|
6786
6786
|
var D = Hu;
|
|
6787
6787
|
case Nt:
|
|
6788
6788
|
var M = f & N;
|
|
6789
|
-
if (D || (D =
|
|
6789
|
+
if (D || (D = to), n.size != a.size && !M)
|
|
6790
6790
|
return !1;
|
|
6791
6791
|
var $ = w.get(n);
|
|
6792
6792
|
if ($)
|
|
@@ -6816,10 +6816,10 @@ ou.exports;
|
|
|
6816
6816
|
x.set(n, a), x.set(a, n);
|
|
6817
6817
|
for (var ht = w; ++X < M; ) {
|
|
6818
6818
|
J = D[X];
|
|
6819
|
-
var
|
|
6819
|
+
var _t = n[J], Ot = a[J];
|
|
6820
6820
|
if (f)
|
|
6821
|
-
var dr = w ? f(
|
|
6822
|
-
if (!(dr === t ?
|
|
6821
|
+
var dr = w ? f(Ot, _t, J, a, n, x) : f(_t, Ot, J, n, a, x);
|
|
6822
|
+
if (!(dr === t ? _t === Ot || g(_t, Ot, l, f, x) : dr)) {
|
|
6823
6823
|
bt = !1;
|
|
6824
6824
|
break;
|
|
6825
6825
|
}
|
|
@@ -6840,10 +6840,10 @@ ou.exports;
|
|
|
6840
6840
|
function cl(n) {
|
|
6841
6841
|
return _c(n, Qe, of);
|
|
6842
6842
|
}
|
|
6843
|
-
var fl =
|
|
6844
|
-
return
|
|
6843
|
+
var fl = fo ? function(n) {
|
|
6844
|
+
return fo.get(n);
|
|
6845
6845
|
} : Ll;
|
|
6846
|
-
function
|
|
6846
|
+
function Do(n) {
|
|
6847
6847
|
for (var a = n.name + "", l = ls[a], f = Ht.call(ls, a) ? l.length : 0; f--; ) {
|
|
6848
6848
|
var g = l[f], x = g.func;
|
|
6849
6849
|
if (x == null || x == n)
|
|
@@ -6859,7 +6859,7 @@ ou.exports;
|
|
|
6859
6859
|
var n = m.iteratee || Ol;
|
|
6860
6860
|
return n = n === Ol ? Sc : n, arguments.length ? n(arguments[0], arguments[1]) : n;
|
|
6861
6861
|
}
|
|
6862
|
-
function
|
|
6862
|
+
function So(n, a) {
|
|
6863
6863
|
var l = n.__data__;
|
|
6864
6864
|
return sy(a) ? l[typeof a == "string" ? "string" : "hash"] : l.map;
|
|
6865
6865
|
}
|
|
@@ -6881,7 +6881,7 @@ ou.exports;
|
|
|
6881
6881
|
var f = !0;
|
|
6882
6882
|
} catch (x) {
|
|
6883
6883
|
}
|
|
6884
|
-
var g =
|
|
6884
|
+
var g = no.call(n);
|
|
6885
6885
|
return f && (a ? n[On] = l : delete n[On]), g;
|
|
6886
6886
|
}
|
|
6887
6887
|
var dl = qu ? function(n) {
|
|
@@ -6890,7 +6890,7 @@ ou.exports;
|
|
|
6890
6890
|
}));
|
|
6891
6891
|
} : Nl, of = qu ? function(n) {
|
|
6892
6892
|
for (var a = []; n; )
|
|
6893
|
-
Ji(a, dl(n)), n =
|
|
6893
|
+
Ji(a, dl(n)), n = oo(n);
|
|
6894
6894
|
return a;
|
|
6895
6895
|
} : Nl, Be = Ue;
|
|
6896
6896
|
(Vu && Be(new Vu(new ArrayBuffer(1))) != $e || Gs && Be(new Gs()) != ee || Wu && Be(Wu.resolve()) != jr || us && Be(new us()) != Nt || Ys && Be(new Ys()) != xr) && (Be = function(n) {
|
|
@@ -6932,7 +6932,7 @@ ou.exports;
|
|
|
6932
6932
|
}
|
|
6933
6933
|
function ty(n) {
|
|
6934
6934
|
var a = n.match(wu);
|
|
6935
|
-
return a ? a[1].split(
|
|
6935
|
+
return a ? a[1].split($a) : [];
|
|
6936
6936
|
}
|
|
6937
6937
|
function uf(n, a, l) {
|
|
6938
6938
|
a = sn(a, n);
|
|
@@ -6942,14 +6942,14 @@ ou.exports;
|
|
|
6942
6942
|
break;
|
|
6943
6943
|
n = n[w];
|
|
6944
6944
|
}
|
|
6945
|
-
return x || ++f != g ? x : (g = n == null ? 0 : n.length, !!g &&
|
|
6945
|
+
return x || ++f != g ? x : (g = n == null ? 0 : n.length, !!g && Ro(g) && Di(w, g) && (yt(n) || Pn(n)));
|
|
6946
6946
|
}
|
|
6947
6947
|
function ey(n) {
|
|
6948
6948
|
var a = n.length, l = new n.constructor(a);
|
|
6949
6949
|
return a && typeof n[0] == "string" && Ht.call(n, "index") && (l.index = n.index, l.input = n.input), l;
|
|
6950
6950
|
}
|
|
6951
6951
|
function lf(n) {
|
|
6952
|
-
return typeof n.constructor == "function" && !ra(n) ? hs(
|
|
6952
|
+
return typeof n.constructor == "function" && !ra(n) ? hs(oo(n)) : {};
|
|
6953
6953
|
}
|
|
6954
6954
|
function ry(n, a, l) {
|
|
6955
6955
|
var f = n.constructor;
|
|
@@ -6969,7 +6969,7 @@ ou.exports;
|
|
|
6969
6969
|
case H:
|
|
6970
6970
|
case nt:
|
|
6971
6971
|
case ot:
|
|
6972
|
-
case
|
|
6972
|
+
case St:
|
|
6973
6973
|
return zc(n, l);
|
|
6974
6974
|
case ee:
|
|
6975
6975
|
return new f();
|
|
@@ -7017,7 +7017,7 @@ ou.exports;
|
|
|
7017
7017
|
return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? n !== "__proto__" : n === null;
|
|
7018
7018
|
}
|
|
7019
7019
|
function yl(n) {
|
|
7020
|
-
var a =
|
|
7020
|
+
var a = Do(n), l = m[a];
|
|
7021
7021
|
if (typeof l != "function" || !(a in Ct.prototype))
|
|
7022
7022
|
return !1;
|
|
7023
7023
|
if (n === l)
|
|
@@ -7028,7 +7028,7 @@ ou.exports;
|
|
|
7028
7028
|
function ay(n) {
|
|
7029
7029
|
return !!lc && lc in n;
|
|
7030
7030
|
}
|
|
7031
|
-
var oy =
|
|
7031
|
+
var oy = ro ? Si : Bl;
|
|
7032
7032
|
function ra(n) {
|
|
7033
7033
|
var a = n && n.constructor, l = typeof a == "function" && a.prototype || os;
|
|
7034
7034
|
return n === l;
|
|
@@ -7042,7 +7042,7 @@ ou.exports;
|
|
|
7042
7042
|
};
|
|
7043
7043
|
}
|
|
7044
7044
|
function uy(n) {
|
|
7045
|
-
var a =
|
|
7045
|
+
var a = Bo(n, function(f) {
|
|
7046
7046
|
return l.size === y && l.clear(), f;
|
|
7047
7047
|
}), l = a.cache;
|
|
7048
7048
|
return a;
|
|
@@ -7067,7 +7067,7 @@ ou.exports;
|
|
|
7067
7067
|
return a;
|
|
7068
7068
|
}
|
|
7069
7069
|
function cy(n) {
|
|
7070
|
-
return
|
|
7070
|
+
return no.call(n);
|
|
7071
7071
|
}
|
|
7072
7072
|
function ff(n, a, l) {
|
|
7073
7073
|
return a = me(a === t ? n.length - 1 : a, 0), function() {
|
|
@@ -7112,7 +7112,7 @@ ou.exports;
|
|
|
7112
7112
|
return n.apply(t, arguments);
|
|
7113
7113
|
};
|
|
7114
7114
|
}
|
|
7115
|
-
function
|
|
7115
|
+
function Oo(n, a) {
|
|
7116
7116
|
var l = -1, f = n.length, g = f - 1;
|
|
7117
7117
|
for (a = a === t ? f : a; ++l < a; ) {
|
|
7118
7118
|
var x = tl(l, g), w = n[x];
|
|
@@ -7123,7 +7123,7 @@ ou.exports;
|
|
|
7123
7123
|
var vf = uy(function(n) {
|
|
7124
7124
|
var a = [];
|
|
7125
7125
|
return n.charCodeAt(0) === 46 && a.push(""), n.replace(Au, function(l, f, g, x) {
|
|
7126
|
-
a.push(g ? x.replace(
|
|
7126
|
+
a.push(g ? x.replace(Ya, "$1") : f || l);
|
|
7127
7127
|
}), a;
|
|
7128
7128
|
});
|
|
7129
7129
|
function ni(n) {
|
|
@@ -7135,7 +7135,7 @@ ou.exports;
|
|
|
7135
7135
|
function Rn(n) {
|
|
7136
7136
|
if (n != null) {
|
|
7137
7137
|
try {
|
|
7138
|
-
return
|
|
7138
|
+
return io.call(n);
|
|
7139
7139
|
} catch (a) {
|
|
7140
7140
|
}
|
|
7141
7141
|
try {
|
|
@@ -7148,7 +7148,7 @@ ou.exports;
|
|
|
7148
7148
|
function py(n, a) {
|
|
7149
7149
|
return Tr(ke, function(l) {
|
|
7150
7150
|
var f = "_." + l[0];
|
|
7151
|
-
a & l[1] && !
|
|
7151
|
+
a & l[1] && !ja(n, f) && n.push(f);
|
|
7152
7152
|
}), n.sort();
|
|
7153
7153
|
}
|
|
7154
7154
|
function mf(n) {
|
|
@@ -7162,7 +7162,7 @@ ou.exports;
|
|
|
7162
7162
|
var f = n == null ? 0 : n.length;
|
|
7163
7163
|
if (!f || a < 1)
|
|
7164
7164
|
return [];
|
|
7165
|
-
for (var g = 0, x = 0, w = F(
|
|
7165
|
+
for (var g = 0, x = 0, w = F(ho(f / a)); g < f; )
|
|
7166
7166
|
w[x++] = Sr(n, g, g += a);
|
|
7167
7167
|
return w;
|
|
7168
7168
|
}
|
|
@@ -7199,10 +7199,10 @@ ou.exports;
|
|
|
7199
7199
|
return f ? (a = l || a === t ? 1 : mt(a), a = f - a, Sr(n, 0, a < 0 ? 0 : a)) : [];
|
|
7200
7200
|
}
|
|
7201
7201
|
function by(n, a) {
|
|
7202
|
-
return n && n.length ?
|
|
7202
|
+
return n && n.length ? Ao(n, ut(a, 3), !0, !0) : [];
|
|
7203
7203
|
}
|
|
7204
7204
|
function wy(n, a) {
|
|
7205
|
-
return n && n.length ?
|
|
7205
|
+
return n && n.length ? Ao(n, ut(a, 3), !0) : [];
|
|
7206
7206
|
}
|
|
7207
7207
|
function Ty(n, a, l, f) {
|
|
7208
7208
|
var g = n == null ? 0 : n.length;
|
|
@@ -7213,14 +7213,14 @@ ou.exports;
|
|
|
7213
7213
|
if (!f)
|
|
7214
7214
|
return -1;
|
|
7215
7215
|
var g = l == null ? 0 : mt(l);
|
|
7216
|
-
return g < 0 && (g = me(f + g, 0)),
|
|
7216
|
+
return g < 0 && (g = me(f + g, 0)), Ja(n, ut(a, 3), g);
|
|
7217
7217
|
}
|
|
7218
7218
|
function Ef(n, a, l) {
|
|
7219
7219
|
var f = n == null ? 0 : n.length;
|
|
7220
7220
|
if (!f)
|
|
7221
7221
|
return -1;
|
|
7222
7222
|
var g = f - 1;
|
|
7223
|
-
return l !== t && (g = mt(l), g = l < 0 ? me(f + g, 0) : Ne(g, f - 1)),
|
|
7223
|
+
return l !== t && (g = mt(l), g = l < 0 ? me(f + g, 0) : Ne(g, f - 1)), Ja(n, ut(a, 3), g, !0);
|
|
7224
7224
|
}
|
|
7225
7225
|
function Af(n) {
|
|
7226
7226
|
var a = n == null ? 0 : n.length;
|
|
@@ -7277,7 +7277,7 @@ ou.exports;
|
|
|
7277
7277
|
if (!f)
|
|
7278
7278
|
return -1;
|
|
7279
7279
|
var g = f;
|
|
7280
|
-
return l !== t && (g = mt(l), g = g < 0 ? me(f + g, 0) : Ne(g, f - 1)), a === a ? p0(n, a, g) :
|
|
7280
|
+
return l !== t && (g = mt(l), g = g < 0 ? me(f + g, 0) : Ne(g, f - 1)), a === a ? p0(n, a, g) : Ja(n, ec, g, !0);
|
|
7281
7281
|
}
|
|
7282
7282
|
function Ry(n, a) {
|
|
7283
7283
|
return n && n.length ? Nc(n, mt(a)) : t;
|
|
@@ -7317,7 +7317,7 @@ ou.exports;
|
|
|
7317
7317
|
return f ? (l && typeof l != "number" && qe(n, a, l) ? (a = 0, l = f) : (a = a == null ? 0 : mt(a), l = l === t ? f : mt(l)), Sr(n, a, l)) : [];
|
|
7318
7318
|
}
|
|
7319
7319
|
function Vy(n, a) {
|
|
7320
|
-
return
|
|
7320
|
+
return Eo(n, a);
|
|
7321
7321
|
}
|
|
7322
7322
|
function Wy(n, a, l) {
|
|
7323
7323
|
return rl(n, a, ut(l, 2));
|
|
@@ -7325,14 +7325,14 @@ ou.exports;
|
|
|
7325
7325
|
function zy(n, a) {
|
|
7326
7326
|
var l = n == null ? 0 : n.length;
|
|
7327
7327
|
if (l) {
|
|
7328
|
-
var f =
|
|
7328
|
+
var f = Eo(n, a);
|
|
7329
7329
|
if (f < l && Ur(n[f], a))
|
|
7330
7330
|
return f;
|
|
7331
7331
|
}
|
|
7332
7332
|
return -1;
|
|
7333
7333
|
}
|
|
7334
7334
|
function $y(n, a) {
|
|
7335
|
-
return
|
|
7335
|
+
return Eo(n, a, !0);
|
|
7336
7336
|
}
|
|
7337
7337
|
function Gy(n, a, l) {
|
|
7338
7338
|
return rl(n, a, ut(l, 2), !0);
|
|
@@ -7340,7 +7340,7 @@ ou.exports;
|
|
|
7340
7340
|
function Yy(n, a) {
|
|
7341
7341
|
var l = n == null ? 0 : n.length;
|
|
7342
7342
|
if (l) {
|
|
7343
|
-
var f =
|
|
7343
|
+
var f = Eo(n, a, !0) - 1;
|
|
7344
7344
|
if (Ur(n[f], a))
|
|
7345
7345
|
return f;
|
|
7346
7346
|
}
|
|
@@ -7364,10 +7364,10 @@ ou.exports;
|
|
|
7364
7364
|
return f ? (a = l || a === t ? 1 : mt(a), a = f - a, Sr(n, a < 0 ? 0 : a, f)) : [];
|
|
7365
7365
|
}
|
|
7366
7366
|
function Jy(n, a) {
|
|
7367
|
-
return n && n.length ?
|
|
7367
|
+
return n && n.length ? Ao(n, ut(a, 3), !1, !0) : [];
|
|
7368
7368
|
}
|
|
7369
7369
|
function tv(n, a) {
|
|
7370
|
-
return n && n.length ?
|
|
7370
|
+
return n && n.length ? Ao(n, ut(a, 3)) : [];
|
|
7371
7371
|
}
|
|
7372
7372
|
var ev = wt(function(n) {
|
|
7373
7373
|
return nn(Ce(n, 1, ne, !0));
|
|
@@ -7434,7 +7434,7 @@ ou.exports;
|
|
|
7434
7434
|
function gv(n, a) {
|
|
7435
7435
|
return a(n), n;
|
|
7436
7436
|
}
|
|
7437
|
-
function
|
|
7437
|
+
function Mo(n, a) {
|
|
7438
7438
|
return a(n);
|
|
7439
7439
|
}
|
|
7440
7440
|
var yv = Ci(function(n) {
|
|
@@ -7442,7 +7442,7 @@ ou.exports;
|
|
|
7442
7442
|
return $u(x, n);
|
|
7443
7443
|
};
|
|
7444
7444
|
return a > 1 || this.__actions__.length || !(f instanceof Ct) || !Di(l) ? this.thru(g) : (f = f.slice(l, +l + (a ? 1 : 0)), f.__actions__.push({
|
|
7445
|
-
func:
|
|
7445
|
+
func: Mo,
|
|
7446
7446
|
args: [g],
|
|
7447
7447
|
thisArg: t
|
|
7448
7448
|
}), new Cr(f, this.__chain__).thru(function(x) {
|
|
@@ -7464,7 +7464,7 @@ ou.exports;
|
|
|
7464
7464
|
return this;
|
|
7465
7465
|
}
|
|
7466
7466
|
function Av(n) {
|
|
7467
|
-
for (var a, l = this; l instanceof
|
|
7467
|
+
for (var a, l = this; l instanceof go; ) {
|
|
7468
7468
|
var f = mf(l);
|
|
7469
7469
|
f.__index__ = 0, f.__values__ = t, a ? g.__wrapped__ = f : a = f;
|
|
7470
7470
|
var g = f;
|
|
@@ -7477,7 +7477,7 @@ ou.exports;
|
|
|
7477
7477
|
if (n instanceof Ct) {
|
|
7478
7478
|
var a = n;
|
|
7479
7479
|
return this.__actions__.length && (a = new Ct(this)), a = a.reverse(), a.__actions__.push({
|
|
7480
|
-
func:
|
|
7480
|
+
func: Mo,
|
|
7481
7481
|
args: [xl],
|
|
7482
7482
|
thisArg: t
|
|
7483
7483
|
}), new Cr(a, this.__chain__);
|
|
@@ -7487,7 +7487,7 @@ ou.exports;
|
|
|
7487
7487
|
function wv() {
|
|
7488
7488
|
return Uc(this.__wrapped__, this.__actions__);
|
|
7489
7489
|
}
|
|
7490
|
-
var Tv =
|
|
7490
|
+
var Tv = bo(function(n, a, l) {
|
|
7491
7491
|
Ht.call(n, l) ? ++n[l] : Ti(n, l, 1);
|
|
7492
7492
|
});
|
|
7493
7493
|
function _v(n, a, l) {
|
|
@@ -7500,13 +7500,13 @@ ou.exports;
|
|
|
7500
7500
|
}
|
|
7501
7501
|
var Dv = Kc(xf), Sv = Kc(Ef);
|
|
7502
7502
|
function Ov(n, a) {
|
|
7503
|
-
return Ce(
|
|
7503
|
+
return Ce(Lo(n, a), 1);
|
|
7504
7504
|
}
|
|
7505
7505
|
function Mv(n, a) {
|
|
7506
|
-
return Ce(
|
|
7506
|
+
return Ce(Lo(n, a), xt);
|
|
7507
7507
|
}
|
|
7508
7508
|
function Lv(n, a, l) {
|
|
7509
|
-
return l = l === t ? 1 : mt(l), Ce(
|
|
7509
|
+
return l = l === t ? 1 : mt(l), Ce(Lo(n, a), l);
|
|
7510
7510
|
}
|
|
7511
7511
|
function Cf(n, a) {
|
|
7512
7512
|
var l = yt(n) ? Tr : rn;
|
|
@@ -7516,30 +7516,30 @@ ou.exports;
|
|
|
7516
7516
|
var l = yt(n) ? Qg : bc;
|
|
7517
7517
|
return l(n, ut(a, 3));
|
|
7518
7518
|
}
|
|
7519
|
-
var Nv =
|
|
7519
|
+
var Nv = bo(function(n, a, l) {
|
|
7520
7520
|
Ht.call(n, l) ? n[l].push(a) : Ti(n, l, [a]);
|
|
7521
7521
|
});
|
|
7522
7522
|
function Bv(n, a, l, f) {
|
|
7523
7523
|
n = Ze(n) ? n : gs(n), l = l && !f ? mt(l) : 0;
|
|
7524
7524
|
var g = n.length;
|
|
7525
|
-
return l < 0 && (l = me(g + l, 0)),
|
|
7525
|
+
return l < 0 && (l = me(g + l, 0)), Po(n) ? l <= g && n.indexOf(a, l) > -1 : !!g && is(n, a, l) > -1;
|
|
7526
7526
|
}
|
|
7527
7527
|
var Iv = wt(function(n, a, l) {
|
|
7528
7528
|
var f = -1, g = typeof a == "function", x = Ze(n) ? F(n.length) : [];
|
|
7529
7529
|
return rn(n, function(w) {
|
|
7530
7530
|
x[++f] = g ? hr(a, w, l) : js(w, a, l);
|
|
7531
7531
|
}), x;
|
|
7532
|
-
}), Rv =
|
|
7532
|
+
}), Rv = bo(function(n, a, l) {
|
|
7533
7533
|
Ti(n, l, a);
|
|
7534
7534
|
});
|
|
7535
|
-
function
|
|
7535
|
+
function Lo(n, a) {
|
|
7536
7536
|
var l = yt(n) ? Xt : Oc;
|
|
7537
7537
|
return l(n, ut(a, 3));
|
|
7538
7538
|
}
|
|
7539
7539
|
function Pv(n, a, l, f) {
|
|
7540
7540
|
return n == null ? [] : (yt(a) || (a = a == null ? [] : [a]), l = f ? t : l, yt(l) || (l = l == null ? [] : [l]), Bc(n, a, l));
|
|
7541
7541
|
}
|
|
7542
|
-
var Fv =
|
|
7542
|
+
var Fv = bo(function(n, a, l) {
|
|
7543
7543
|
n[l ? 0 : 1].push(a);
|
|
7544
7544
|
}, function() {
|
|
7545
7545
|
return [[], []];
|
|
@@ -7554,7 +7554,7 @@ ou.exports;
|
|
|
7554
7554
|
}
|
|
7555
7555
|
function Uv(n, a) {
|
|
7556
7556
|
var l = yt(n) ? ji : wc;
|
|
7557
|
-
return l(n,
|
|
7557
|
+
return l(n, Io(ut(a, 3)));
|
|
7558
7558
|
}
|
|
7559
7559
|
function qv(n) {
|
|
7560
7560
|
var a = yt(n) ? mc : B2;
|
|
@@ -7573,7 +7573,7 @@ ou.exports;
|
|
|
7573
7573
|
if (n == null)
|
|
7574
7574
|
return 0;
|
|
7575
7575
|
if (Ze(n))
|
|
7576
|
-
return
|
|
7576
|
+
return Po(n) ? ss(n) : n.length;
|
|
7577
7577
|
var a = Be(n);
|
|
7578
7578
|
return a == ee || a == Nt ? n.size : Ku(n).length;
|
|
7579
7579
|
}
|
|
@@ -7586,7 +7586,7 @@ ou.exports;
|
|
|
7586
7586
|
return [];
|
|
7587
7587
|
var l = a.length;
|
|
7588
7588
|
return l > 1 && qe(n, a[0], a[1]) ? a = [] : l > 2 && qe(a[0], a[1], a[2]) && (a = [a[0]]), Bc(n, Ce(a, 1), []);
|
|
7589
|
-
}),
|
|
7589
|
+
}), No = C0 || function() {
|
|
7590
7590
|
return _e.Date.now();
|
|
7591
7591
|
};
|
|
7592
7592
|
function Yv(n, a) {
|
|
@@ -7643,7 +7643,7 @@ ou.exports;
|
|
|
7643
7643
|
return f = g = t, $ = se, w = n.apply(Mi, qr), w;
|
|
7644
7644
|
}
|
|
7645
7645
|
function lt(se) {
|
|
7646
|
-
return $ = se, D = ia(
|
|
7646
|
+
return $ = se, D = ia(_t, a), G ? st(se) : w;
|
|
7647
7647
|
}
|
|
7648
7648
|
function bt(se) {
|
|
7649
7649
|
var qr = se - M, Mi = se - $, jf = a - qr;
|
|
@@ -7653,30 +7653,30 @@ ou.exports;
|
|
|
7653
7653
|
var qr = se - M, Mi = se - $;
|
|
7654
7654
|
return M === t || qr >= a || qr < 0 || X && Mi >= x;
|
|
7655
7655
|
}
|
|
7656
|
-
function
|
|
7657
|
-
var se =
|
|
7656
|
+
function _t() {
|
|
7657
|
+
var se = No();
|
|
7658
7658
|
if (ht(se))
|
|
7659
|
-
return
|
|
7660
|
-
D = ia(
|
|
7659
|
+
return Ot(se);
|
|
7660
|
+
D = ia(_t, bt(se));
|
|
7661
7661
|
}
|
|
7662
|
-
function
|
|
7662
|
+
function Ot(se) {
|
|
7663
7663
|
return D = t, J && f ? st(se) : (f = g = t, w);
|
|
7664
7664
|
}
|
|
7665
7665
|
function dr() {
|
|
7666
7666
|
D !== t && Vc(D), $ = 0, f = M = g = D = t;
|
|
7667
7667
|
}
|
|
7668
7668
|
function Ve() {
|
|
7669
|
-
return D === t ? w :
|
|
7669
|
+
return D === t ? w : Ot(No());
|
|
7670
7670
|
}
|
|
7671
7671
|
function gr() {
|
|
7672
|
-
var se =
|
|
7672
|
+
var se = No(), qr = ht(se);
|
|
7673
7673
|
if (f = arguments, g = this, M = se, qr) {
|
|
7674
7674
|
if (D === t)
|
|
7675
7675
|
return lt(M);
|
|
7676
7676
|
if (X)
|
|
7677
|
-
return Vc(D), D = ia(
|
|
7677
|
+
return Vc(D), D = ia(_t, a), st(M);
|
|
7678
7678
|
}
|
|
7679
|
-
return D === t && (D = ia(
|
|
7679
|
+
return D === t && (D = ia(_t, a)), w;
|
|
7680
7680
|
}
|
|
7681
7681
|
return gr.cancel = dr, gr.flush = Ve, gr;
|
|
7682
7682
|
}
|
|
@@ -7688,7 +7688,7 @@ ou.exports;
|
|
|
7688
7688
|
function Qv(n) {
|
|
7689
7689
|
return _i(n, Q);
|
|
7690
7690
|
}
|
|
7691
|
-
function
|
|
7691
|
+
function Bo(n, a) {
|
|
7692
7692
|
if (typeof n != "function" || a != null && typeof a != "function")
|
|
7693
7693
|
throw new _r(u);
|
|
7694
7694
|
var l = function() {
|
|
@@ -7698,10 +7698,10 @@ ou.exports;
|
|
|
7698
7698
|
var w = n.apply(this, f);
|
|
7699
7699
|
return l.cache = x.set(g, w) || x, w;
|
|
7700
7700
|
};
|
|
7701
|
-
return l.cache = new (
|
|
7701
|
+
return l.cache = new (Bo.Cache || wi)(), l;
|
|
7702
7702
|
}
|
|
7703
|
-
|
|
7704
|
-
function
|
|
7703
|
+
Bo.Cache = wi;
|
|
7704
|
+
function Io(n) {
|
|
7705
7705
|
if (typeof n != "function")
|
|
7706
7706
|
throw new _r(u);
|
|
7707
7707
|
return function() {
|
|
@@ -7792,7 +7792,7 @@ ou.exports;
|
|
|
7792
7792
|
function Ur(n, a) {
|
|
7793
7793
|
return n === a || n !== n && a !== a;
|
|
7794
7794
|
}
|
|
7795
|
-
var cm =
|
|
7795
|
+
var cm = Co(Xu), fm = Co(function(n, a) {
|
|
7796
7796
|
return n >= a;
|
|
7797
7797
|
}), Pn = Cc(/* @__PURE__ */ function() {
|
|
7798
7798
|
return arguments;
|
|
@@ -7800,7 +7800,7 @@ ou.exports;
|
|
|
7800
7800
|
return re(n) && Ht.call(n, "callee") && !fc.call(n, "callee");
|
|
7801
7801
|
}, yt = F.isArray, pm = Yh ? cr(Yh) : A2;
|
|
7802
7802
|
function Ze(n) {
|
|
7803
|
-
return n != null &&
|
|
7803
|
+
return n != null && Ro(n.length) && !Si(n);
|
|
7804
7804
|
}
|
|
7805
7805
|
function ne(n) {
|
|
7806
7806
|
return re(n) && Ze(n);
|
|
@@ -7853,7 +7853,7 @@ ou.exports;
|
|
|
7853
7853
|
function Rf(n) {
|
|
7854
7854
|
return typeof n == "number" && n == mt(n);
|
|
7855
7855
|
}
|
|
7856
|
-
function
|
|
7856
|
+
function Ro(n) {
|
|
7857
7857
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Pt;
|
|
7858
7858
|
}
|
|
7859
7859
|
function jt(n) {
|
|
@@ -7890,18 +7890,18 @@ ou.exports;
|
|
|
7890
7890
|
function na(n) {
|
|
7891
7891
|
if (!re(n) || Ue(n) != Kt)
|
|
7892
7892
|
return !1;
|
|
7893
|
-
var a =
|
|
7893
|
+
var a = oo(n);
|
|
7894
7894
|
if (a === null)
|
|
7895
7895
|
return !0;
|
|
7896
7896
|
var l = Ht.call(a, "constructor") && a.constructor;
|
|
7897
|
-
return typeof l == "function" && l instanceof l &&
|
|
7897
|
+
return typeof l == "function" && l instanceof l && io.call(l) == b0;
|
|
7898
7898
|
}
|
|
7899
7899
|
var Tl = Qh ? cr(Qh) : _2;
|
|
7900
7900
|
function Dm(n) {
|
|
7901
7901
|
return Rf(n) && n >= -Pt && n <= Pt;
|
|
7902
7902
|
}
|
|
7903
7903
|
var kf = Kh ? cr(Kh) : C2;
|
|
7904
|
-
function
|
|
7904
|
+
function Po(n) {
|
|
7905
7905
|
return typeof n == "string" || !yt(n) && re(n) && Ue(n) == ar;
|
|
7906
7906
|
}
|
|
7907
7907
|
function pr(n) {
|
|
@@ -7917,17 +7917,17 @@ ou.exports;
|
|
|
7917
7917
|
function Mm(n) {
|
|
7918
7918
|
return re(n) && Ue(n) == Wi;
|
|
7919
7919
|
}
|
|
7920
|
-
var Lm =
|
|
7920
|
+
var Lm = Co(ju), Nm = Co(function(n, a) {
|
|
7921
7921
|
return n <= a;
|
|
7922
7922
|
});
|
|
7923
7923
|
function Hf(n) {
|
|
7924
7924
|
if (!n)
|
|
7925
7925
|
return [];
|
|
7926
7926
|
if (Ze(n))
|
|
7927
|
-
return
|
|
7927
|
+
return Po(n) ? kr(n) : Xe(n);
|
|
7928
7928
|
if ($s && n[$s])
|
|
7929
7929
|
return h0(n[$s]());
|
|
7930
|
-
var a = Be(n), l = a == ee ? Hu : a == Nt ?
|
|
7930
|
+
var a = Be(n), l = a == ee ? Hu : a == Nt ? to : gs;
|
|
7931
7931
|
return l(n);
|
|
7932
7932
|
}
|
|
7933
7933
|
function Oi(n) {
|
|
@@ -7979,7 +7979,7 @@ ou.exports;
|
|
|
7979
7979
|
Ht.call(a, l) && Qs(n, l, a[l]);
|
|
7980
7980
|
}), Vf = cs(function(n, a) {
|
|
7981
7981
|
ii(a, Qe(a), n);
|
|
7982
|
-
}),
|
|
7982
|
+
}), Fo = cs(function(n, a, l, f) {
|
|
7983
7983
|
ii(a, Qe(a), n, f);
|
|
7984
7984
|
}), Rm = cs(function(n, a, l, f) {
|
|
7985
7985
|
ii(a, be(a), n, f);
|
|
@@ -8019,10 +8019,10 @@ ou.exports;
|
|
|
8019
8019
|
return n && Yu(n, ut(a, 3));
|
|
8020
8020
|
}
|
|
8021
8021
|
function Gm(n) {
|
|
8022
|
-
return n == null ? [] :
|
|
8022
|
+
return n == null ? [] : mo(n, be(n));
|
|
8023
8023
|
}
|
|
8024
8024
|
function Ym(n) {
|
|
8025
|
-
return n == null ? [] :
|
|
8025
|
+
return n == null ? [] : mo(n, Qe(n));
|
|
8026
8026
|
}
|
|
8027
8027
|
function _l(n, a, l) {
|
|
8028
8028
|
var f = n == null ? t : Bn(n, a);
|
|
@@ -8035,9 +8035,9 @@ ou.exports;
|
|
|
8035
8035
|
return n != null && uf(n, a, m2);
|
|
8036
8036
|
}
|
|
8037
8037
|
var Zm = Jc(function(n, a, l) {
|
|
8038
|
-
a != null && typeof a.toString != "function" && (a =
|
|
8038
|
+
a != null && typeof a.toString != "function" && (a = no.call(a)), n[a] = l;
|
|
8039
8039
|
}, Sl(Ke)), Qm = Jc(function(n, a, l) {
|
|
8040
|
-
a != null && typeof a.toString != "function" && (a =
|
|
8040
|
+
a != null && typeof a.toString != "function" && (a = no.call(a)), Ht.call(n, a) ? n[a].push(l) : n[a] = [l];
|
|
8041
8041
|
}, ut), Km = wt(js);
|
|
8042
8042
|
function be(n) {
|
|
8043
8043
|
return Ze(n) ? vc(n) : Ku(n);
|
|
@@ -8058,9 +8058,9 @@ ou.exports;
|
|
|
8058
8058
|
}), l;
|
|
8059
8059
|
}
|
|
8060
8060
|
var t1 = cs(function(n, a, l) {
|
|
8061
|
-
|
|
8061
|
+
xo(n, a, l);
|
|
8062
8062
|
}), Wf = cs(function(n, a, l, f) {
|
|
8063
|
-
|
|
8063
|
+
xo(n, a, l, f);
|
|
8064
8064
|
}), e1 = Ci(function(n, a) {
|
|
8065
8065
|
var l = {};
|
|
8066
8066
|
if (n == null)
|
|
@@ -8074,7 +8074,7 @@ ou.exports;
|
|
|
8074
8074
|
return l;
|
|
8075
8075
|
});
|
|
8076
8076
|
function r1(n, a) {
|
|
8077
|
-
return zf(n,
|
|
8077
|
+
return zf(n, Io(ut(a)));
|
|
8078
8078
|
}
|
|
8079
8079
|
var i1 = Ci(function(n, a) {
|
|
8080
8080
|
return n == null ? {} : M2(n, a);
|
|
@@ -8109,7 +8109,7 @@ ou.exports;
|
|
|
8109
8109
|
var f = yt(n), g = f || on(n) || ds(n);
|
|
8110
8110
|
if (a = ut(a, 4), l == null) {
|
|
8111
8111
|
var x = n && n.constructor;
|
|
8112
|
-
g ? l = f ? new x() : [] : jt(n) ? l = Si(x) ? hs(
|
|
8112
|
+
g ? l = f ? new x() : [] : jt(n) ? l = Si(x) ? hs(oo(n)) : {} : l = {};
|
|
8113
8113
|
}
|
|
8114
8114
|
return (g ? Tr : ri)(n, function(w, D, M) {
|
|
8115
8115
|
return a(l, w, D, M);
|
|
@@ -8180,17 +8180,17 @@ ou.exports;
|
|
|
8180
8180
|
if (!a || f >= a)
|
|
8181
8181
|
return n;
|
|
8182
8182
|
var g = (a - f) / 2;
|
|
8183
|
-
return
|
|
8183
|
+
return _o(co(g), l) + n + _o(ho(g), l);
|
|
8184
8184
|
}
|
|
8185
8185
|
function w1(n, a, l) {
|
|
8186
8186
|
n = Ft(n), a = mt(a);
|
|
8187
8187
|
var f = a ? ss(n) : 0;
|
|
8188
|
-
return a && f < a ? n +
|
|
8188
|
+
return a && f < a ? n + _o(a - f, l) : n;
|
|
8189
8189
|
}
|
|
8190
8190
|
function T1(n, a, l) {
|
|
8191
8191
|
n = Ft(n), a = mt(a);
|
|
8192
8192
|
var f = a ? ss(n) : 0;
|
|
8193
|
-
return a && f < a ?
|
|
8193
|
+
return a && f < a ? _o(a - f, l) + n : n;
|
|
8194
8194
|
}
|
|
8195
8195
|
function _1(n, a, l) {
|
|
8196
8196
|
return l || a == null ? a = 0 : a && (a = +a), N0(Ft(n).replace(Fs, ""), a || 0);
|
|
@@ -8216,19 +8216,19 @@ ou.exports;
|
|
|
8216
8216
|
}
|
|
8217
8217
|
function N1(n, a, l) {
|
|
8218
8218
|
var f = m.templateSettings;
|
|
8219
|
-
l && qe(n, a, l) && (a = t), n = Ft(n), a =
|
|
8220
|
-
var g =
|
|
8221
|
-
(a.escape || Kn).source + "|" + G.source + "|" + (G === bn ?
|
|
8219
|
+
l && qe(n, a, l) && (a = t), n = Ft(n), a = Fo({}, a, f, nf);
|
|
8220
|
+
var g = Fo({}, a.imports, f.imports, nf), x = be(g), w = ku(g, x), D, M, $ = 0, G = a.interpolate || Kn, X = "__p += '", J = Uu(
|
|
8221
|
+
(a.escape || Kn).source + "|" + G.source + "|" + (G === bn ? Xa : Kn).source + "|" + (a.evaluate || Kn).source + "|$",
|
|
8222
8222
|
"g"
|
|
8223
8223
|
), st = "//# sourceURL=" + (Ht.call(a, "sourceURL") ? (a.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++qg + "]") + `
|
|
8224
8224
|
`;
|
|
8225
|
-
n.replace(J, function(ht,
|
|
8226
|
-
return
|
|
8227
|
-
__e(` +
|
|
8225
|
+
n.replace(J, function(ht, _t, Ot, dr, Ve, gr) {
|
|
8226
|
+
return Ot || (Ot = dr), X += n.slice($, gr).replace(_u, o0), _t && (D = !0, X += `' +
|
|
8227
|
+
__e(` + _t + `) +
|
|
8228
8228
|
'`), Ve && (M = !0, X += `';
|
|
8229
8229
|
` + Ve + `;
|
|
8230
|
-
__p += '`),
|
|
8231
|
-
((__t = (` +
|
|
8230
|
+
__p += '`), Ot && (X += `' +
|
|
8231
|
+
((__t = (` + Ot + `)) == null ? '' : __t) +
|
|
8232
8232
|
'`), $ = gr + ht.length, ht;
|
|
8233
8233
|
}), X += `';
|
|
8234
8234
|
`;
|
|
@@ -8238,7 +8238,7 @@ __p += '`), St && (X += `' +
|
|
|
8238
8238
|
` + X + `
|
|
8239
8239
|
}
|
|
8240
8240
|
`;
|
|
8241
|
-
else if (
|
|
8241
|
+
else if (Ga.test(lt))
|
|
8242
8242
|
throw new gt(h);
|
|
8243
8243
|
X = (M ? X.replace(Et, "") : X).replace(ye, "$1").replace(Le, "$1;"), X = "function(" + (lt || "obj") + `) {
|
|
8244
8244
|
` + (lt ? "" : `obj || (obj = {});
|
|
@@ -8385,8 +8385,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8385
8385
|
};
|
|
8386
8386
|
});
|
|
8387
8387
|
function Ml(n, a, l) {
|
|
8388
|
-
var f = be(a), g =
|
|
8389
|
-
l == null && !(jt(a) && (g.length || !f.length)) && (l = a, a = n, n = this, g =
|
|
8388
|
+
var f = be(a), g = mo(a, f);
|
|
8389
|
+
l == null && !(jt(a) && (g.length || !f.length)) && (l = a, a = n, n = this, g = mo(a, be(a)));
|
|
8390
8390
|
var x = !(jt(l) && "chain" in l) || !!l.chain, w = Si(n);
|
|
8391
8391
|
return Tr(g, function(D) {
|
|
8392
8392
|
var M = a[D];
|
|
@@ -8451,16 +8451,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8451
8451
|
var a = ++A0;
|
|
8452
8452
|
return Ft(n) + a;
|
|
8453
8453
|
}
|
|
8454
|
-
var cx =
|
|
8454
|
+
var cx = To(function(n, a) {
|
|
8455
8455
|
return n + a;
|
|
8456
|
-
}, 0), fx = ll("ceil"), px =
|
|
8456
|
+
}, 0), fx = ll("ceil"), px = To(function(n, a) {
|
|
8457
8457
|
return n / a;
|
|
8458
8458
|
}, 1), dx = ll("floor");
|
|
8459
8459
|
function gx(n) {
|
|
8460
|
-
return n && n.length ?
|
|
8460
|
+
return n && n.length ? vo(n, Ke, Xu) : t;
|
|
8461
8461
|
}
|
|
8462
8462
|
function yx(n, a) {
|
|
8463
|
-
return n && n.length ?
|
|
8463
|
+
return n && n.length ? vo(n, ut(a, 2), Xu) : t;
|
|
8464
8464
|
}
|
|
8465
8465
|
function vx(n) {
|
|
8466
8466
|
return rc(n, Ke);
|
|
@@ -8469,14 +8469,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8469
8469
|
return rc(n, ut(a, 2));
|
|
8470
8470
|
}
|
|
8471
8471
|
function xx(n) {
|
|
8472
|
-
return n && n.length ?
|
|
8472
|
+
return n && n.length ? vo(n, Ke, ju) : t;
|
|
8473
8473
|
}
|
|
8474
8474
|
function Ex(n, a) {
|
|
8475
|
-
return n && n.length ?
|
|
8475
|
+
return n && n.length ? vo(n, ut(a, 2), ju) : t;
|
|
8476
8476
|
}
|
|
8477
|
-
var Ax =
|
|
8477
|
+
var Ax = To(function(n, a) {
|
|
8478
8478
|
return n * a;
|
|
8479
|
-
}, 1), bx = ll("round"), wx =
|
|
8479
|
+
}, 1), bx = ll("round"), wx = To(function(n, a) {
|
|
8480
8480
|
return n - a;
|
|
8481
8481
|
}, 0);
|
|
8482
8482
|
function Tx(n) {
|
|
@@ -8485,7 +8485,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8485
8485
|
function _x(n, a) {
|
|
8486
8486
|
return n && n.length ? Pu(n, ut(a, 2)) : 0;
|
|
8487
8487
|
}
|
|
8488
|
-
return m.after = Yv, m.ary = Sf, m.assign = Im, m.assignIn = Vf, m.assignInWith =
|
|
8488
|
+
return m.after = Yv, m.ary = Sf, m.assign = Im, m.assignIn = Vf, m.assignInWith = Fo, m.assignWith = Rm, m.at = Pm, m.before = Of, m.bind = Al, m.bindAll = q1, m.bindKey = Mf, m.castArray = sm, m.chain = _f, m.chunk = dy, m.compact = gy, m.concat = yy, m.cond = V1, m.conforms = W1, m.constant = Sl, m.countBy = Tv, m.create = Fm, m.curry = Lf, m.curryRight = Nf, m.debounce = Bf, m.defaults = km, m.defaultsDeep = Hm, m.defer = Xv, m.delay = Zv, m.difference = vy, m.differenceBy = my, m.differenceWith = xy, m.drop = Ey, m.dropRight = Ay, m.dropRightWhile = by, m.dropWhile = wy, m.fill = Ty, m.filter = Cv, m.flatMap = Ov, m.flatMapDeep = Mv, m.flatMapDepth = Lv, m.flatten = Af, m.flattenDeep = _y, m.flattenDepth = Cy, m.flip = Qv, m.flow = $1, m.flowRight = G1, m.fromPairs = Dy, m.functions = Gm, m.functionsIn = Ym, m.groupBy = Nv, m.initial = Oy, m.intersection = My, m.intersectionBy = Ly, m.intersectionWith = Ny, m.invert = Zm, m.invertBy = Qm, m.invokeMap = Iv, m.iteratee = Ol, m.keyBy = Rv, m.keys = be, m.keysIn = Qe, m.map = Lo, m.mapKeys = jm, m.mapValues = Jm, m.matches = Y1, m.matchesProperty = X1, m.memoize = Bo, m.merge = t1, m.mergeWith = Wf, m.method = Z1, m.methodOf = Q1, m.mixin = Ml, m.negate = Io, m.nthArg = j1, m.omit = e1, m.omitBy = r1, m.once = Kv, m.orderBy = Pv, m.over = J1, m.overArgs = jv, m.overEvery = tx, m.overSome = ex, m.partial = bl, m.partialRight = If, m.partition = Fv, m.pick = i1, m.pickBy = zf, m.property = Kf, m.propertyOf = rx, m.pull = Py, m.pullAll = wf, m.pullAllBy = Fy, m.pullAllWith = ky, m.pullAt = Hy, m.range = ix, m.rangeRight = nx, m.rearg = Jv, m.reject = Uv, m.remove = Uy, m.rest = tm, m.reverse = xl, m.sampleSize = Vv, m.set = s1, m.setWith = a1, m.shuffle = Wv, m.slice = qy, m.sortBy = Gv, m.sortedUniq = Xy, m.sortedUniqBy = Zy, m.split = O1, m.spread = em, m.tail = Qy, m.take = Ky, m.takeRight = jy, m.takeRightWhile = Jy, m.takeWhile = tv, m.tap = gv, m.throttle = rm, m.thru = Mo, m.toArray = Hf, m.toPairs = $f, m.toPairsIn = Gf, m.toPath = lx, m.toPlainObject = qf, m.transform = o1, m.unary = im, m.union = ev, m.unionBy = rv, m.unionWith = iv, m.uniq = nv, m.uniqBy = sv, m.uniqWith = av, m.unset = u1, m.unzip = El, m.unzipWith = Tf, m.update = l1, m.updateWith = h1, m.values = gs, m.valuesIn = c1, m.without = ov, m.words = Zf, m.wrap = nm, m.xor = uv, m.xorBy = lv, m.xorWith = hv, m.zip = cv, m.zipObject = fv, m.zipObjectDeep = pv, m.zipWith = dv, m.entries = $f, m.entriesIn = Gf, m.extend = Vf, m.extendWith = Fo, Ml(m, m), m.add = cx, m.attempt = Qf, m.camelCase = g1, m.capitalize = Yf, m.ceil = fx, m.clamp = f1, m.clone = am, m.cloneDeep = um, m.cloneDeepWith = lm, m.cloneWith = om, m.conformsTo = hm, m.deburr = Xf, m.defaultTo = z1, m.divide = px, m.endsWith = y1, m.eq = Ur, m.escape = v1, m.escapeRegExp = m1, m.every = _v, m.find = Dv, m.findIndex = xf, m.findKey = Um, m.findLast = Sv, m.findLastIndex = Ef, m.findLastKey = qm, m.floor = dx, m.forEach = Cf, m.forEachRight = Df, m.forIn = Vm, m.forInRight = Wm, m.forOwn = zm, m.forOwnRight = $m, m.get = _l, m.gt = cm, m.gte = fm, m.has = Xm, m.hasIn = Cl, m.head = bf, m.identity = Ke, m.includes = Bv, m.indexOf = Sy, m.inRange = p1, m.invoke = Km, m.isArguments = Pn, m.isArray = yt, m.isArrayBuffer = pm, m.isArrayLike = Ze, m.isArrayLikeObject = ne, m.isBoolean = dm, m.isBuffer = on, m.isDate = gm, m.isElement = ym, m.isEmpty = vm, m.isEqual = mm, m.isEqualWith = xm, m.isError = wl, m.isFinite = Em, m.isFunction = Si, m.isInteger = Rf, m.isLength = Ro, m.isMap = Pf, m.isMatch = Am, m.isMatchWith = bm, m.isNaN = wm, m.isNative = Tm, m.isNil = Cm, m.isNull = _m, m.isNumber = Ff, m.isObject = jt, m.isObjectLike = re, m.isPlainObject = na, m.isRegExp = Tl, m.isSafeInteger = Dm, m.isSet = kf, m.isString = Po, m.isSymbol = pr, m.isTypedArray = ds, m.isUndefined = Sm, m.isWeakMap = Om, m.isWeakSet = Mm, m.join = By, m.kebabCase = x1, m.last = Or, m.lastIndexOf = Iy, m.lowerCase = E1, m.lowerFirst = A1, m.lt = Lm, m.lte = Nm, m.max = gx, m.maxBy = yx, m.mean = vx, m.meanBy = mx, m.min = xx, m.minBy = Ex, m.stubArray = Nl, m.stubFalse = Bl, m.stubObject = sx, m.stubString = ax, m.stubTrue = ox, m.multiply = Ax, m.nth = Ry, m.noConflict = K1, m.noop = Ll, m.now = No, m.pad = b1, m.padEnd = w1, m.padStart = T1, m.parseInt = _1, m.random = d1, m.reduce = kv, m.reduceRight = Hv, m.repeat = C1, m.replace = D1, m.result = n1, m.round = bx, m.runInContext = S, m.sample = qv, m.size = zv, m.snakeCase = S1, m.some = $v, m.sortedIndex = Vy, m.sortedIndexBy = Wy, m.sortedIndexOf = zy, m.sortedLastIndex = $y, m.sortedLastIndexBy = Gy, m.sortedLastIndexOf = Yy, m.startCase = M1, m.startsWith = L1, m.subtract = wx, m.sum = Tx, m.sumBy = _x, m.template = N1, m.times = ux, m.toFinite = Oi, m.toInteger = mt, m.toLength = Uf, m.toLower = B1, m.toNumber = Mr, m.toSafeInteger = Bm, m.toString = Ft, m.toUpper = I1, m.trim = R1, m.trimEnd = P1, m.trimStart = F1, m.truncate = k1, m.unescape = H1, m.uniqueId = hx, m.upperCase = U1, m.upperFirst = Dl, m.each = Cf, m.eachRight = Df, m.first = bf, Ml(m, function() {
|
|
8489
8489
|
var n = {};
|
|
8490
8490
|
return ri(m, function(a, l) {
|
|
8491
8491
|
Ht.call(m.prototype, l) || (n[l] = a);
|
|
@@ -8533,7 +8533,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8533
8533
|
return js(l, n, a);
|
|
8534
8534
|
});
|
|
8535
8535
|
}), Ct.prototype.reject = function(n) {
|
|
8536
|
-
return this.filter(
|
|
8536
|
+
return this.filter(Io(ut(n)));
|
|
8537
8537
|
}, Ct.prototype.slice = function(n, a) {
|
|
8538
8538
|
n = mt(n);
|
|
8539
8539
|
var l = this;
|
|
@@ -8545,21 +8545,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8545
8545
|
}, ri(Ct.prototype, function(n, a) {
|
|
8546
8546
|
var l = /^(?:filter|find|map|reject)|While$/.test(a), f = /^(?:head|last)$/.test(a), g = m[f ? "take" + (a == "last" ? "Right" : "") : a], x = f || /^find/.test(a);
|
|
8547
8547
|
g && (m.prototype[a] = function() {
|
|
8548
|
-
var w = this.__wrapped__, D = f ? [1] : arguments, M = w instanceof Ct, $ = D[0], G = M || yt(w), X = function(
|
|
8549
|
-
var
|
|
8550
|
-
return f && J ?
|
|
8548
|
+
var w = this.__wrapped__, D = f ? [1] : arguments, M = w instanceof Ct, $ = D[0], G = M || yt(w), X = function(_t) {
|
|
8549
|
+
var Ot = g.apply(m, Ji([_t], D));
|
|
8550
|
+
return f && J ? Ot[0] : Ot;
|
|
8551
8551
|
};
|
|
8552
8552
|
G && l && typeof $ == "function" && $.length != 1 && (M = G = !1);
|
|
8553
8553
|
var J = this.__chain__, st = !!this.__actions__.length, lt = x && !J, bt = M && !st;
|
|
8554
8554
|
if (!x && G) {
|
|
8555
8555
|
w = bt ? w : new Ct(this);
|
|
8556
8556
|
var ht = n.apply(w, D);
|
|
8557
|
-
return ht.__actions__.push({ func:
|
|
8557
|
+
return ht.__actions__.push({ func: Mo, args: [X], thisArg: t }), new Cr(ht, J);
|
|
8558
8558
|
}
|
|
8559
8559
|
return lt && bt ? n.apply(this, D) : (ht = this.thru(X), lt ? f ? ht.value()[0] : ht.value() : ht);
|
|
8560
8560
|
});
|
|
8561
8561
|
}), Tr(["pop", "push", "shift", "sort", "splice", "unshift"], function(n) {
|
|
8562
|
-
var a =
|
|
8562
|
+
var a = eo[n], l = /^(?:push|sort|unshift)$/.test(n) ? "tap" : "thru", f = /^(?:pop|shift)$/.test(n);
|
|
8563
8563
|
m.prototype[n] = function() {
|
|
8564
8564
|
var g = arguments;
|
|
8565
8565
|
if (f && !this.__chain__) {
|
|
@@ -8576,7 +8576,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8576
8576
|
var f = l.name + "";
|
|
8577
8577
|
Ht.call(ls, f) || (ls[f] = []), ls[f].push({ name: a, func: l });
|
|
8578
8578
|
}
|
|
8579
|
-
}), ls[
|
|
8579
|
+
}), ls[wo(t, P).name] = [{
|
|
8580
8580
|
name: "wrapper",
|
|
8581
8581
|
func: t
|
|
8582
8582
|
}], Ct.prototype.clone = H0, Ct.prototype.reverse = U0, Ct.prototype.value = q0, m.prototype.at = yv, m.prototype.chain = vv, m.prototype.commit = mv, m.prototype.next = xv, m.prototype.plant = Av, m.prototype.reverse = bv, m.prototype.toJSON = m.prototype.valueOf = m.prototype.value = wv, m.prototype.first = m.prototype.head, $s && (m.prototype[$s] = Ev), m;
|
|
@@ -8586,7 +8586,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8586
8586
|
})(ou, ou.exports);
|
|
8587
8587
|
var xE = ou.exports;
|
|
8588
8588
|
const It = /* @__PURE__ */ hd(xE);
|
|
8589
|
-
class
|
|
8589
|
+
class Mt {
|
|
8590
8590
|
constructor(e = new k(1 / 0, 1 / 0), t = new k(-1 / 0, -1 / 0)) {
|
|
8591
8591
|
d(this, "isBox2", !0);
|
|
8592
8592
|
d(this, "min");
|
|
@@ -8597,7 +8597,7 @@ class Ot {
|
|
|
8597
8597
|
return this.isEmpty() ? this : (ca[0].set(this.min.x, this.min.y).applyMatrix3(e), ca[1].set(this.min.x, this.max.y).applyMatrix3(e), ca[3].set(this.max.x, this.max.y).applyMatrix3(e), ca[2].set(this.max.x, this.min.y).applyMatrix3(e), this.setFromPoints(ca), this);
|
|
8598
8598
|
}
|
|
8599
8599
|
clone() {
|
|
8600
|
-
return new
|
|
8600
|
+
return new Mt().copy(this);
|
|
8601
8601
|
}
|
|
8602
8602
|
copy(e) {
|
|
8603
8603
|
return this.min.copy(e.min), this.max.copy(e.max), this;
|
|
@@ -8749,9 +8749,9 @@ class Ot {
|
|
|
8749
8749
|
return je.copy(this.min).multiplyScalar(1, -1), si.copy(this.max).multiplyScalar(1, -1), this.min.set(je.x, si.y), this.max.set(si.x, je.y), this;
|
|
8750
8750
|
}
|
|
8751
8751
|
}
|
|
8752
|
-
const As = new
|
|
8752
|
+
const As = new Mt(), ca = [new k(), new k(), new k(), new k()], je = new k(), si = new k(), lT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8753
8753
|
__proto__: null,
|
|
8754
|
-
default:
|
|
8754
|
+
default: Mt
|
|
8755
8755
|
}, Symbol.toStringTag, { value: "Module" })), EE = zt.window.requestAnimationFrame, fa = zt.window.performance ? () => zt.window.performance.now() : () => (/* @__PURE__ */ new Date()).getTime(), vp = EE, Bt = class Bt {
|
|
8756
8756
|
constructor() {
|
|
8757
8757
|
d(this, "id", Bt.idCounter++);
|
|
@@ -8875,7 +8875,7 @@ const As = new Ot(), ca = [new k(), new k(), new k(), new k()], je = new k(), si
|
|
|
8875
8875
|
};
|
|
8876
8876
|
d(Bt, "idCounter", 0), d(Bt, "children", []), d(Bt, "isRunning", !1), d(Bt, "actived", !1), d(Bt, "duration", 0), d(Bt, "lastTime", fa()), d(Bt, "messages", []), // { avg, min, max, stdDev, count }
|
|
8877
8877
|
d(Bt, "maxLetters", 20);
|
|
8878
|
-
let
|
|
8878
|
+
let Ma = Bt;
|
|
8879
8879
|
const yu = 20, vu = ["avg", "min", "max", "stdDev", "count", "FPS"], li = CE(vu, 1), AE = _E(vu, yu), bE = DE(vu, yu), wE = SE(vu, yu), TE = ME(yu);
|
|
8880
8880
|
function _E(i, e = 20) {
|
|
8881
8881
|
let t = "┌";
|
|
@@ -8921,7 +8921,7 @@ function ql(i, e = "http://www.w3.org/2000/svg") {
|
|
|
8921
8921
|
return (r = (t = zt.window) == null ? void 0 : t.document) == null ? void 0 : r.createElementNS(e, i);
|
|
8922
8922
|
}
|
|
8923
8923
|
function Vl(i = 2e3) {
|
|
8924
|
-
return
|
|
8924
|
+
return Tt(this, null, function* () {
|
|
8925
8925
|
return new Promise((e) => setTimeout(e, (Math.random() + 0.5) * i));
|
|
8926
8926
|
});
|
|
8927
8927
|
}
|
|
@@ -8931,7 +8931,7 @@ function Ud(i, e = []) {
|
|
|
8931
8931
|
}
|
|
8932
8932
|
var vr = /* @__PURE__ */ ((i) => (i.GROS = "gros", i.RM = "rm", i.WS = "ws", i.SU = "su", i.EQ = "eq", i.FN = "fn", i.GL = "gl", i.IP = "ip", i))(vr || {}), mu = /* @__PURE__ */ ((i) => (i.BACKGROUND = "background", i.ASSETS = "assets", i.ANNOTATIONS = "annotations", i.TEXT = "text", i.ASSET_LABELS = "asset-labels", i.LABELS = "labels", i))(mu || {});
|
|
8933
8933
|
const Ns = "ae", qd = "-", hh = "rm-assets", LE = "rm-labels", mp = "ws-assets", xp = "ws-labels";
|
|
8934
|
-
function
|
|
8934
|
+
function wa(i) {
|
|
8935
8935
|
return i + qd + mu.ASSETS;
|
|
8936
8936
|
}
|
|
8937
8937
|
function tu(i) {
|
|
@@ -9018,12 +9018,12 @@ function BE(i) {
|
|
|
9018
9018
|
}
|
|
9019
9019
|
return t;
|
|
9020
9020
|
}
|
|
9021
|
-
function IE(i, e = new
|
|
9021
|
+
function IE(i, e = new Mt()) {
|
|
9022
9022
|
if (!i) return e;
|
|
9023
9023
|
let t = i.split(" "), r = It.map(t, (s) => parseFloat(s));
|
|
9024
9024
|
return (r == null ? void 0 : r.length) !== 4 || (e.min.set(r[0], r[1]), e.max.set(r[0] + r[2], r[1] + r[3])), e;
|
|
9025
9025
|
}
|
|
9026
|
-
function RE(i = new
|
|
9026
|
+
function RE(i = new Mt()) {
|
|
9027
9027
|
let e = "";
|
|
9028
9028
|
const t = [];
|
|
9029
9029
|
return t.push(i.min.x), t.push(i.min.y), t.push(Math.abs(i.max.x - i.min.x)), t.push(Math.abs(i.max.y - i.min.y)), e = t.join(" "), e;
|
|
@@ -9036,7 +9036,7 @@ function Wd(i) {
|
|
|
9036
9036
|
return i.children[t];
|
|
9037
9037
|
}
|
|
9038
9038
|
}
|
|
9039
|
-
const PE = new
|
|
9039
|
+
const PE = new Ma().start();
|
|
9040
9040
|
class FE extends sr {
|
|
9041
9041
|
constructor(t) {
|
|
9042
9042
|
super();
|
|
@@ -9048,10 +9048,10 @@ class FE extends sr {
|
|
|
9048
9048
|
d(this, "viewAreaLimit", -1);
|
|
9049
9049
|
// @ts-ignore
|
|
9050
9050
|
d(this, "autoClear");
|
|
9051
|
-
this.id = "SvgRenderer@" + Date.now(), this.params = t, zt.config = t, this.initSvg(),
|
|
9051
|
+
this.id = "SvgRenderer@" + Date.now(), this.params = t, zt.config = t, this.initSvg(), Ma.active(this.params.monitorDuration);
|
|
9052
9052
|
}
|
|
9053
9053
|
destroy() {
|
|
9054
|
-
|
|
9054
|
+
Ma.active(0);
|
|
9055
9055
|
}
|
|
9056
9056
|
initSvg() {
|
|
9057
9057
|
if (this.params.containerId && (this.container = zt.window.document.getElementById(this.params.containerId)), this.container || (this.container = zt.window.document.getElementsByTagName("body")[0]), !this.params.width || !this.params.height) {
|
|
@@ -9096,7 +9096,7 @@ class FE extends sr {
|
|
|
9096
9096
|
}
|
|
9097
9097
|
// render svg
|
|
9098
9098
|
render(t, r) {
|
|
9099
|
-
return
|
|
9099
|
+
return Tt(this, null, function* () {
|
|
9100
9100
|
var o;
|
|
9101
9101
|
if (!t || !r || this.cameraVersion === (r == null ? void 0 : r.version)) return;
|
|
9102
9102
|
r.updateMatrixWorld(), Ap.set(0, 0).unproject(r), bp.set(this.params.width, this.params.height).unproject(r), Ep.setFromPoints([Ap, bp]);
|
|
@@ -9113,7 +9113,7 @@ class FE extends sr {
|
|
|
9113
9113
|
renderTexture(t, r) {
|
|
9114
9114
|
}
|
|
9115
9115
|
}
|
|
9116
|
-
const Ep = new
|
|
9116
|
+
const Ep = new Mt(), Ap = new k(), bp = new k();
|
|
9117
9117
|
class ge {
|
|
9118
9118
|
constructor() {
|
|
9119
9119
|
d(this, "isMatrix3", !0);
|
|
@@ -9161,7 +9161,7 @@ class ge {
|
|
|
9161
9161
|
);
|
|
9162
9162
|
}
|
|
9163
9163
|
composeWithCenter(e, t, r, s) {
|
|
9164
|
-
return Wr.identity(),
|
|
9164
|
+
return Wr.identity(), Wo.makeTranslation(e.x, e.y), pa.makeRotation(t.x), Fn.makeScale(r.x, r.y), De.copy(s).applyMatrix3(Fn), Wr.multiply(Wl.makeTranslation(-De.x, -De.y)).multiply(Wo).multiply(Wl.makeTranslation(De.x, De.y)).multiply(pa).multiply(Wl.makeTranslation(-De.x, -De.y)).multiply(Fn), this.copy(Wr);
|
|
9165
9165
|
}
|
|
9166
9166
|
decompose(e, t, r) {
|
|
9167
9167
|
const s = Wr.copy(this).elements, o = Math.sqrt(s[0] * s[0] + s[3] * s[3]), u = Math.sqrt(s[1] * s[1] + s[4] * s[4]), h = s[0] * s[4] - s[3] * s[1];
|
|
@@ -9204,7 +9204,7 @@ class ge {
|
|
|
9204
9204
|
} else if (c) {
|
|
9205
9205
|
const p = dE(Number(c[1]) || 0);
|
|
9206
9206
|
Number(c[2]) || Number(c[3]) ? (Ie.set(Number(c[2] || "0"), Number(c[3] || "0")), Wr.multiply(pa.makeRotationByPoint(p, Ie))) : Wr.multiply(pa.makeRotation(p));
|
|
9207
|
-
} else y && Wr.multiply(
|
|
9207
|
+
} else y && Wr.multiply(Wo.makeTranslation(Number(y[1]) || 0, Number(y[2]) || 0));
|
|
9208
9208
|
}), this.copy(Wr), s && this.premultiply(Fn.makeScale(1, -1)), this;
|
|
9209
9209
|
}
|
|
9210
9210
|
// decompose: el.transform.baseVal.consolidate()?.matrix
|
|
@@ -9410,7 +9410,7 @@ class ge {
|
|
|
9410
9410
|
return `[${this.elements[0]},${this.elements[1]}, ${this.elements[3]},${this.elements[4]}, ${this.elements[6]},${this.elements[7]}]`;
|
|
9411
9411
|
}
|
|
9412
9412
|
translate(e, t) {
|
|
9413
|
-
return this.premultiply(
|
|
9413
|
+
return this.premultiply(Wo.makeTranslation(e, t));
|
|
9414
9414
|
}
|
|
9415
9415
|
transpose() {
|
|
9416
9416
|
let e;
|
|
@@ -9432,7 +9432,7 @@ const kE = [
|
|
|
9432
9432
|
0,
|
|
9433
9433
|
0,
|
|
9434
9434
|
1
|
|
9435
|
-
], Ie = /* @__PURE__ */ new k(), De = /* @__PURE__ */ new k(), wp = /* @__PURE__ */ new k(), Wr = /* @__PURE__ */ new ge(),
|
|
9435
|
+
], Ie = /* @__PURE__ */ new k(), De = /* @__PURE__ */ new k(), wp = /* @__PURE__ */ new k(), Wr = /* @__PURE__ */ new ge(), Wo = /* @__PURE__ */ new ge(), pa = /* @__PURE__ */ new ge(), Fn = /* @__PURE__ */ new ge(), Wl = /* @__PURE__ */ new ge(), HE = /* @__PURE__ */ new k(0, 0, 0), UE = /* @__PURE__ */ new k(1, 1, 1), Re = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0a", "0b", "0c", "0d", "0e", "0f", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "1a", "1b", "1c", "1d", "1e", "1f", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "2a", "2b", "2c", "2d", "2e", "2f", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "3a", "3b", "3c", "3d", "3e", "3f", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "4a", "4b", "4c", "4d", "4e", "4f", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "5a", "5b", "5c", "5d", "5e", "5f", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "6a", "6b", "6c", "6d", "6e", "6f", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "7a", "7b", "7c", "7d", "7e", "7f", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "8a", "8b", "8c", "8d", "8e", "8f", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "9a", "9b", "9c", "9d", "9e", "9f", "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9", "aa", "ab", "ac", "ad", "ae", "af", "b0", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8", "b9", "ba", "bb", "bc", "bd", "be", "bf", "c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7", "c8", "c9", "ca", "cb", "cc", "cd", "ce", "cf", "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "da", "db", "dc", "dd", "de", "df", "e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7", "e8", "e9", "ea", "eb", "ec", "ed", "ee", "ef", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "fa", "fb", "fc", "fd", "fe", "ff"], zd = () => {
|
|
9436
9436
|
const i = Math.random() * 4294967295 | 0, e = Math.random() * 4294967295 | 0, t = Math.random() * 4294967295 | 0, r = Math.random() * 4294967295 | 0;
|
|
9437
9437
|
return (Re[i & 255] + Re[i >> 8 & 255] + Re[i >> 16 & 255] + Re[i >> 24 & 255] + "-" + Re[e & 255] + Re[e >> 8 & 255] + "-" + Re[e >> 16 & 15 | 64] + Re[e >> 24 & 255] + "-" + Re[t & 63 | 128] + Re[t >> 8 & 255] + "-" + Re[t >> 16 & 255] + Re[t >> 24 & 255] + Re[r & 255] + Re[r >> 8 & 255] + Re[r >> 16 & 255] + Re[r >> 24 & 255]).toLowerCase();
|
|
9438
9438
|
};
|
|
@@ -9466,8 +9466,8 @@ class $d extends sr {
|
|
|
9466
9466
|
d(this, "composeNode", !1);
|
|
9467
9467
|
d(this, "isInComposeNode", !1);
|
|
9468
9468
|
d(this, "alignCenter", !1);
|
|
9469
|
-
d(this, "boundingBox", new
|
|
9470
|
-
d(this, "boundingBoxWorld", new
|
|
9469
|
+
d(this, "boundingBox", new Mt());
|
|
9470
|
+
d(this, "boundingBoxWorld", new Mt());
|
|
9471
9471
|
d(this, "boundingBoxNeedsUpdate", !1);
|
|
9472
9472
|
d(this, "centerPoint", new k());
|
|
9473
9473
|
d(this, "visible", !0);
|
|
@@ -9691,7 +9691,7 @@ class $d extends sr {
|
|
|
9691
9691
|
}
|
|
9692
9692
|
}
|
|
9693
9693
|
let qE = 0;
|
|
9694
|
-
const zl = new k(), ai = new ge(), Tp = new k(), da = new
|
|
9694
|
+
const zl = new k(), ai = new ge(), Tp = new k(), da = new Mt(), ga = new k(), $l = new k(), kn = new k(), VE = new k(0, 1), WE = { type: "added" }, Gl = { type: "removed" };
|
|
9695
9695
|
class zE extends $d {
|
|
9696
9696
|
constructor() {
|
|
9697
9697
|
super();
|
|
@@ -9953,7 +9953,7 @@ class Yd extends Gd {
|
|
|
9953
9953
|
}, r, s);
|
|
9954
9954
|
}
|
|
9955
9955
|
}
|
|
9956
|
-
function
|
|
9956
|
+
function ba(i, e, t) {
|
|
9957
9957
|
if (!i) return t;
|
|
9958
9958
|
let r = t;
|
|
9959
9959
|
if (typeof i.getAttribute == "function" ? r = i == null ? void 0 : i.getAttribute(e) : Object.hasOwnProperty.call(i, "attributes") && (r = i.attributes[e]), !r) return t;
|
|
@@ -10137,7 +10137,7 @@ function tA(i, e = !0) {
|
|
|
10137
10137
|
return i;
|
|
10138
10138
|
const t = de.INFO((o, u, h) => {
|
|
10139
10139
|
var c, y, p;
|
|
10140
|
-
return
|
|
10140
|
+
return ko(ys({}, o), {
|
|
10141
10141
|
x: (c = o.x) != null ? c : u,
|
|
10142
10142
|
y: (y = o.y) != null ? y : h,
|
|
10143
10143
|
relative: (p = o.relative) != null ? p : !1
|
|
@@ -11082,7 +11082,7 @@ function TA(i, e = !0) {
|
|
|
11082
11082
|
if (i.length < 2) return i;
|
|
11083
11083
|
const t = ae.INFO((o, u, h) => {
|
|
11084
11084
|
var c, y, p;
|
|
11085
|
-
return
|
|
11085
|
+
return ko(ys({}, o), {
|
|
11086
11086
|
x: (c = o.x) != null ? c : u,
|
|
11087
11087
|
y: (y = o.y) != null ? y : h,
|
|
11088
11088
|
relative: (p = o.relative) != null ? p : !1
|
|
@@ -11399,7 +11399,7 @@ class Gr {
|
|
|
11399
11399
|
e instanceof OffscreenCanvas ? (e.width = t, e.height = r) : e instanceof HTMLCanvasElement && (e.setAttribute("width", (t * s).toString()), e.setAttribute("height", (r * s).toString()), e.style.width = t + "px", e.style.height = r + "px", e.style.padding = "0", e.style.margin = "0", e.style.border = "0", e.style.imageRendering = "pixelated", e.style.transform = "translateZ(0)");
|
|
11400
11400
|
}
|
|
11401
11401
|
static getImageBitmapByCanvasAsync(e) {
|
|
11402
|
-
return
|
|
11402
|
+
return Tt(this, null, function* () {
|
|
11403
11403
|
if (e)
|
|
11404
11404
|
return e instanceof OffscreenCanvas ? e.transferToImageBitmap() : e instanceof HTMLCanvasElement ? yield createImageBitmap(e) : void 0;
|
|
11405
11405
|
});
|
|
@@ -11465,7 +11465,7 @@ class eu extends R {
|
|
|
11465
11465
|
d(this, "id", ++HA);
|
|
11466
11466
|
d(this, "params");
|
|
11467
11467
|
d(this, "viewMatrix", new ge());
|
|
11468
|
-
d(this, "boundingBox", new
|
|
11468
|
+
d(this, "boundingBox", new Mt());
|
|
11469
11469
|
d(this, "flipY", !1);
|
|
11470
11470
|
d(this, "renderPath");
|
|
11471
11471
|
d(this, "_version", 0);
|
|
@@ -11731,7 +11731,7 @@ class ng {
|
|
|
11731
11731
|
}
|
|
11732
11732
|
static getInstanceByPath(e, t = !1) {
|
|
11733
11733
|
if (!e) return;
|
|
11734
|
-
const r =
|
|
11734
|
+
const r = ba(e, "d");
|
|
11735
11735
|
if (!r) return;
|
|
11736
11736
|
const s = r.replace(/([+\-.])\s+/gm, "$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g, ""), o = s.match(/([Mm][^Mm]*)/g);
|
|
11737
11737
|
if (!o || o.length <= this.splitLimit)
|
|
@@ -11754,8 +11754,8 @@ class ng {
|
|
|
11754
11754
|
}
|
|
11755
11755
|
static getInstanceByCircle(e, t = !1) {
|
|
11756
11756
|
if (!e || e.nodeName !== "circle") return;
|
|
11757
|
-
kp.set(
|
|
11758
|
-
const r =
|
|
11757
|
+
kp.set(ba(e, "cx", 0), ba(e, "cy", 0));
|
|
11758
|
+
const r = ba(e, "r", 0);
|
|
11759
11759
|
return new qA({ points: [kp.clone()], radius: r, flipY: t });
|
|
11760
11760
|
}
|
|
11761
11761
|
static getInstance(e, t = !1) {
|
|
@@ -11773,7 +11773,7 @@ class VA {
|
|
|
11773
11773
|
d(this, "layers", []);
|
|
11774
11774
|
d(this, "elementsMap", {});
|
|
11775
11775
|
d(this, "boundingBoxMap", {});
|
|
11776
|
-
d(this, "boundingBox", new
|
|
11776
|
+
d(this, "boundingBox", new Mt());
|
|
11777
11777
|
d(this, "svgSkeletons", []);
|
|
11778
11778
|
d(this, "data");
|
|
11779
11779
|
d(this, "_exceptTypes", ["view"]);
|
|
@@ -11822,14 +11822,14 @@ class VA {
|
|
|
11822
11822
|
const h = this.boundingBoxMap[u];
|
|
11823
11823
|
if (h && !h.isEmpty()) {
|
|
11824
11824
|
Ii.set(Number(r.getAttribute("x") || "0"), Number(r.getAttribute("y") || "0")), Go.composeSvgTransform(Ii.x, Ii.y, r.getAttribute("transform"));
|
|
11825
|
-
const p = new
|
|
11825
|
+
const p = new Mt().copy(h).applyMatrix3(Go);
|
|
11826
11826
|
this.boundingBoxMap[r.id] = p;
|
|
11827
11827
|
return;
|
|
11828
11828
|
}
|
|
11829
11829
|
const c = this.getUseElementBoundingBoxWithSymbol(r);
|
|
11830
11830
|
if (!c) return;
|
|
11831
11831
|
this.boundingBoxMap[u] = c, Ii.set(Number(r.getAttribute("x") || "0"), Number(r.getAttribute("y") || "0")), Go.composeSvgTransform(Ii.x, Ii.y, r.getAttribute("transform"));
|
|
11832
|
-
const y = new
|
|
11832
|
+
const y = new Mt().copy(c).applyMatrix3(Go);
|
|
11833
11833
|
this.boundingBoxMap[r.id] = y, this.boundingBox.expandByBox(y);
|
|
11834
11834
|
return;
|
|
11835
11835
|
}
|
|
@@ -11844,7 +11844,7 @@ class VA {
|
|
|
11844
11844
|
}
|
|
11845
11845
|
}
|
|
11846
11846
|
if (!s.width || !s.height) return;
|
|
11847
|
-
const o = new
|
|
11847
|
+
const o = new Mt(new k(s.x, s.y), new k(s.x + s.width, s.y + s.height));
|
|
11848
11848
|
this.boundingBoxMap[r.id] = o.round(), this.boundingBox.expandByBox(o);
|
|
11849
11849
|
}), this.boundingBoxMap;
|
|
11850
11850
|
}
|
|
@@ -12080,7 +12080,7 @@ class VA {
|
|
|
12080
12080
|
s.appendChild(o), o.setAttribute("style", "stroke: #333333;"), document.body.appendChild(s);
|
|
12081
12081
|
const u = s.getBBox();
|
|
12082
12082
|
if (document.body.removeChild(s), !u) return;
|
|
12083
|
-
const h = new
|
|
12083
|
+
const h = new Mt();
|
|
12084
12084
|
return h.set(new k(u.x, u.y), new k(u.x + u.width, u.y + u.height)), h;
|
|
12085
12085
|
}
|
|
12086
12086
|
fontZoom(e, t = 1) {
|
|
@@ -12092,6 +12092,29 @@ class VA {
|
|
|
12092
12092
|
let h = Math.round(parseFloat(s) * t * 100) / 100;
|
|
12093
12093
|
r.setAttribute("font-size", h + u);
|
|
12094
12094
|
}
|
|
12095
|
+
strokeWidthChanged(e = 1) {
|
|
12096
|
+
var c;
|
|
12097
|
+
const t = (c = this.svg) == null ? void 0 : c.querySelector("#mirror");
|
|
12098
|
+
if (!t) {
|
|
12099
|
+
console.error("Cannot find g SVGElement with ID mirror");
|
|
12100
|
+
return;
|
|
12101
|
+
}
|
|
12102
|
+
let r = ba(t, "stroke-width"), s, o = "";
|
|
12103
|
+
if (typeof r == "string") {
|
|
12104
|
+
const y = r.match(/^(\d+(\.\d+)?)(\w*)$/);
|
|
12105
|
+
if (y)
|
|
12106
|
+
s = parseFloat(y[1]), o = y[3] || "px";
|
|
12107
|
+
else {
|
|
12108
|
+
console.error("Invalid stroke-width value:", r);
|
|
12109
|
+
return;
|
|
12110
|
+
}
|
|
12111
|
+
} else {
|
|
12112
|
+
console.error("Invalid stroke-width type:", typeof r);
|
|
12113
|
+
return;
|
|
12114
|
+
}
|
|
12115
|
+
const h = `${s * e}${o}`;
|
|
12116
|
+
t.setAttribute("stroke-width", h);
|
|
12117
|
+
}
|
|
12095
12118
|
getCentroid(e, t = new k()) {
|
|
12096
12119
|
const r = e.getAttribute("insX"), s = e.getAttribute("insY");
|
|
12097
12120
|
return r || s ? t.set(Number(r || "0"), Number(s || "0")) : this.getCentroidByDom(e, t);
|
|
@@ -12119,7 +12142,7 @@ class VA {
|
|
|
12119
12142
|
}
|
|
12120
12143
|
clearLinkedLines(e) {
|
|
12121
12144
|
var s;
|
|
12122
|
-
const t =
|
|
12145
|
+
const t = wa(e);
|
|
12123
12146
|
if (this.getElementById(t)) {
|
|
12124
12147
|
for (let o = ((s = this._lastLinked) == null ? void 0 : s.length) - 1; o >= 0; o--) {
|
|
12125
12148
|
const u = this._lastLinked[o];
|
|
@@ -12131,7 +12154,7 @@ class VA {
|
|
|
12131
12154
|
drawLinkedLines(e, t) {
|
|
12132
12155
|
var o;
|
|
12133
12156
|
if (!(t != null && t.length)) return;
|
|
12134
|
-
const r =
|
|
12157
|
+
const r = wa(e), s = this.getElementById(r);
|
|
12135
12158
|
if (s)
|
|
12136
12159
|
for (let u = 0, h = t.length; u < h; u++) {
|
|
12137
12160
|
const c = t[u][0], y = t[u][((o = t[u]) == null ? void 0 : o.length) - 1], p = ql("line");
|
|
@@ -12216,7 +12239,7 @@ function xu(i, e) {
|
|
|
12216
12239
|
throw new Error("className should not contain space.");
|
|
12217
12240
|
return i.classList ? i.classList.contains(e) : (" " + i.className + " ").indexOf(" " + e + " ") > -1;
|
|
12218
12241
|
}
|
|
12219
|
-
function
|
|
12242
|
+
function La(i, e) {
|
|
12220
12243
|
if (!i) return;
|
|
12221
12244
|
let t = i.className;
|
|
12222
12245
|
const r = (e || "").split(" ");
|
|
@@ -12226,7 +12249,7 @@ function Ma(i, e) {
|
|
|
12226
12249
|
}
|
|
12227
12250
|
i.classList || (i.className = t);
|
|
12228
12251
|
}
|
|
12229
|
-
function
|
|
12252
|
+
function Na(i, e) {
|
|
12230
12253
|
if (!i || !e) return;
|
|
12231
12254
|
const t = e.split(" ");
|
|
12232
12255
|
let r = " " + i.className + " ";
|
|
@@ -12250,7 +12273,7 @@ class Nh extends zE {
|
|
|
12250
12273
|
d(this, "svg");
|
|
12251
12274
|
d(this, "svgStr", "");
|
|
12252
12275
|
d(this, "svgRoot");
|
|
12253
|
-
d(this, "viewBox", new
|
|
12276
|
+
d(this, "viewBox", new Mt());
|
|
12254
12277
|
d(this, "chef");
|
|
12255
12278
|
// defaultLayers: ITree[] = [];
|
|
12256
12279
|
d(this, "defaultLayers", []);
|
|
@@ -12309,7 +12332,7 @@ class Nh extends zE {
|
|
|
12309
12332
|
// // this.params.camera.bottom = this.params.height * -0.5;
|
|
12310
12333
|
// }
|
|
12311
12334
|
load(t) {
|
|
12312
|
-
return
|
|
12335
|
+
return Tt(this, null, function* () {
|
|
12313
12336
|
return new Yd().loadAsync(t);
|
|
12314
12337
|
});
|
|
12315
12338
|
}
|
|
@@ -12356,7 +12379,7 @@ class Nh extends zE {
|
|
|
12356
12379
|
* Some layers overlap with each other, has to be configured the conflict layers. Dio Zhu 2024.9.13
|
|
12357
12380
|
*/
|
|
12358
12381
|
setAssetType(t, r) {
|
|
12359
|
-
this.assetsMap = {}, this.assetType = t, this.setAssetsMap(this.assetType, this.assetsMap), r || (r = [
|
|
12382
|
+
this.assetsMap = {}, this.assetType = t, this.setAssetsMap(this.assetType, this.assetsMap), r || (r = [wa(t)], t !== vr.RM && r.unshift(wa(vr.RM))), this.setDefaultLayers(r), this.updateLayersVisibility(this.defaultLayers, !0);
|
|
12360
12383
|
}
|
|
12361
12384
|
isBelongsToAssetType(t, r) {
|
|
12362
12385
|
r || (r = this.assetType);
|
|
@@ -12364,7 +12387,7 @@ class Nh extends zE {
|
|
|
12364
12387
|
return s ? !!(s != null && s.hasOwnProperty(t)) : !1;
|
|
12365
12388
|
}
|
|
12366
12389
|
setAssetsMap(t, r = {}) {
|
|
12367
|
-
const s = this.chef.getElementById(
|
|
12390
|
+
const s = this.chef.getElementById(wa(t));
|
|
12368
12391
|
if (!s) return r;
|
|
12369
12392
|
r[t] = this.chef.getElementsMap(s);
|
|
12370
12393
|
const o = tu(t), u = this.chef.getElementById(o);
|
|
@@ -12491,14 +12514,14 @@ class Nh extends zE {
|
|
|
12491
12514
|
this.resetHighlightAssets(t);
|
|
12492
12515
|
const s = this.getAssetsByType(t);
|
|
12493
12516
|
!s || !((o = Object.keys(s)) != null && o.length) || (this._lastHighlightType = t, this._lastHighlightIds = Array.isArray(r) ? r : [r], this._lastHighlightIds.forEach((u) => {
|
|
12494
|
-
u && s[u] &&
|
|
12517
|
+
u && s[u] && La(s[u], "active");
|
|
12495
12518
|
}));
|
|
12496
12519
|
}
|
|
12497
12520
|
resetHighlightAssets(t) {
|
|
12498
12521
|
var s;
|
|
12499
12522
|
const r = this.getAssetsByType(t || this._lastHighlightType);
|
|
12500
12523
|
!r || !((s = Object.keys(r)) != null && s.length) || (this._lastHighlightIds.forEach((o) => {
|
|
12501
|
-
o && r[o] &&
|
|
12524
|
+
o && r[o] && Na(r[o], "active");
|
|
12502
12525
|
}), this._lastHighlightIds.length = 0);
|
|
12503
12526
|
}
|
|
12504
12527
|
// ====================== selected
|
|
@@ -12595,7 +12618,7 @@ class Nh extends zE {
|
|
|
12595
12618
|
}
|
|
12596
12619
|
getSelectedBoundingBox() {
|
|
12597
12620
|
var r;
|
|
12598
|
-
const t = new
|
|
12621
|
+
const t = new Mt();
|
|
12599
12622
|
return (r = this.selectedList) != null && r.length ? (this.selectedList.forEach((s) => {
|
|
12600
12623
|
const o = this.chef.boundingBoxMap[s.id];
|
|
12601
12624
|
o && t.expandByBox(o);
|
|
@@ -12628,14 +12651,14 @@ class Nh extends zE {
|
|
|
12628
12651
|
var s, o;
|
|
12629
12652
|
if (!t || Array.isArray(t) && !t.length) return;
|
|
12630
12653
|
Array.isArray(t) || (t = [t]);
|
|
12631
|
-
const r = new
|
|
12654
|
+
const r = new Mt();
|
|
12632
12655
|
for (let u = 0, h = t == null ? void 0 : t.length; u < h; u++)
|
|
12633
12656
|
(o = (s = this.chef) == null ? void 0 : s.boundingBoxMap) != null && o.hasOwnProperty(t[u]) && r.expandByBox(this.chef.boundingBoxMap[t[u]]);
|
|
12634
12657
|
return r;
|
|
12635
12658
|
}
|
|
12636
12659
|
getBoundingBoxById(t) {
|
|
12637
12660
|
if (this.chef.boundingBoxMap.hasOwnProperty(t))
|
|
12638
|
-
return new
|
|
12661
|
+
return new Mt().copy(this.chef.boundingBoxMap[t]);
|
|
12639
12662
|
}
|
|
12640
12663
|
linkAssetsByTree(t) {
|
|
12641
12664
|
this.chef.linkAssetsByTree(this.assetType, t);
|
|
@@ -12962,9 +12985,9 @@ var sg = { exports: {} };
|
|
|
12962
12985
|
mousedown: Yt,
|
|
12963
12986
|
mousemove: Qt,
|
|
12964
12987
|
mouseup: Lt
|
|
12965
|
-
}, ot = "mousedown",
|
|
12988
|
+
}, ot = "mousedown", St = "mousemove mouseup";
|
|
12966
12989
|
function Et() {
|
|
12967
|
-
this.evEl = ot, this.evWin =
|
|
12990
|
+
this.evEl = ot, this.evWin = St, this.pressed = !1, Nt.apply(this, arguments);
|
|
12968
12991
|
}
|
|
12969
12992
|
W(Et, Nt, {
|
|
12970
12993
|
/**
|
|
@@ -13079,7 +13102,7 @@ var sg = { exports: {} };
|
|
|
13079
13102
|
ie
|
|
13080
13103
|
];
|
|
13081
13104
|
}
|
|
13082
|
-
var Fs = 2500,
|
|
13105
|
+
var Fs = 2500, za = 25;
|
|
13083
13106
|
function ks() {
|
|
13084
13107
|
Nt.apply(this, arguments);
|
|
13085
13108
|
var v = q(this.handler, this);
|
|
@@ -13110,9 +13133,9 @@ var sg = { exports: {} };
|
|
|
13110
13133
|
}
|
|
13111
13134
|
});
|
|
13112
13135
|
function wu(v, E) {
|
|
13113
|
-
v & Yt ? (this.primaryTouch = E.changedPointers[0].identifier,
|
|
13136
|
+
v & Yt ? (this.primaryTouch = E.changedPointers[0].identifier, $a.call(this, E)) : v & (Lt | $t) && $a.call(this, E);
|
|
13114
13137
|
}
|
|
13115
|
-
function
|
|
13138
|
+
function $a(v) {
|
|
13116
13139
|
var E = v.changedPointers[0];
|
|
13117
13140
|
if (E.identifier === this.primaryTouch) {
|
|
13118
13141
|
var _ = { x: E.clientX, y: E.clientY };
|
|
@@ -13127,12 +13150,12 @@ var sg = { exports: {} };
|
|
|
13127
13150
|
function Tu(v) {
|
|
13128
13151
|
for (var E = v.srcEvent.clientX, _ = v.srcEvent.clientY, I = 0; I < this.lastTouches.length; I++) {
|
|
13129
13152
|
var Z = this.lastTouches[I], et = Math.abs(E - Z.x), At = Math.abs(_ - Z.y);
|
|
13130
|
-
if (et <=
|
|
13153
|
+
if (et <= za && At <= za)
|
|
13131
13154
|
return !0;
|
|
13132
13155
|
}
|
|
13133
13156
|
return !1;
|
|
13134
13157
|
}
|
|
13135
|
-
var
|
|
13158
|
+
var Ga = pt(u.style, "touchAction"), Ya = Ga !== s, Xa = "compute", Hs = "auto", Us = "manipulation", xi = "none", Tn = "pan-x", _n = "pan-y", Qn = _u();
|
|
13136
13159
|
function qs(v, E) {
|
|
13137
13160
|
this.manager = v, this.set(E);
|
|
13138
13161
|
}
|
|
@@ -13142,7 +13165,7 @@ var sg = { exports: {} };
|
|
|
13142
13165
|
* @param {String} value
|
|
13143
13166
|
*/
|
|
13144
13167
|
set: function(v) {
|
|
13145
|
-
v ==
|
|
13168
|
+
v == Xa && (v = this.compute()), Ya && this.manager.element.style && Qn[v] && (this.manager.element.style[Ga] = v), this.actions = v.toLowerCase().trim();
|
|
13146
13169
|
},
|
|
13147
13170
|
/**
|
|
13148
13171
|
* just re-set the touchAction value
|
|
@@ -13194,7 +13217,7 @@ var sg = { exports: {} };
|
|
|
13194
13217
|
return E && _ ? xi : E || _ ? E ? Tn : _n : Q(v, Us) ? Us : Hs;
|
|
13195
13218
|
}
|
|
13196
13219
|
function _u() {
|
|
13197
|
-
if (!
|
|
13220
|
+
if (!Ya)
|
|
13198
13221
|
return !1;
|
|
13199
13222
|
var v = {}, E = e.CSS && e.CSS.supports;
|
|
13200
13223
|
return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(_) {
|
|
@@ -13286,7 +13309,7 @@ var sg = { exports: {} };
|
|
|
13286
13309
|
function I(Z) {
|
|
13287
13310
|
E.manager.emit(Z, v);
|
|
13288
13311
|
}
|
|
13289
|
-
_ < ei && I(E.options.event +
|
|
13312
|
+
_ < ei && I(E.options.event + Za(_)), I(E.options.event), v.additionalEvent && I(v.additionalEvent), _ >= ei && I(E.options.event + Za(_));
|
|
13290
13313
|
},
|
|
13291
13314
|
/**
|
|
13292
13315
|
* Check that all the require failure recognizers has failed,
|
|
@@ -13348,10 +13371,10 @@ var sg = { exports: {} };
|
|
|
13348
13371
|
reset: function() {
|
|
13349
13372
|
}
|
|
13350
13373
|
};
|
|
13351
|
-
function
|
|
13374
|
+
function Za(v) {
|
|
13352
13375
|
return v & Ki ? "cancel" : v & ei ? "end" : v & Qi ? "move" : v & Ge ? "start" : "";
|
|
13353
13376
|
}
|
|
13354
|
-
function
|
|
13377
|
+
function Qa(v) {
|
|
13355
13378
|
return v == Me ? "down" : v == ee ? "up" : v == He ? "left" : v == We ? "right" : "";
|
|
13356
13379
|
}
|
|
13357
13380
|
function jn(v, E) {
|
|
@@ -13421,7 +13444,7 @@ var sg = { exports: {} };
|
|
|
13421
13444
|
},
|
|
13422
13445
|
emit: function(v) {
|
|
13423
13446
|
this.pX = v.deltaX, this.pY = v.deltaY;
|
|
13424
|
-
var E =
|
|
13447
|
+
var E = Qa(v.direction);
|
|
13425
13448
|
E && (v.additionalEvent = this.options.event + E), this._super.emit.call(this, v);
|
|
13426
13449
|
}
|
|
13427
13450
|
});
|
|
@@ -13533,7 +13556,7 @@ var sg = { exports: {} };
|
|
|
13533
13556
|
return E & (Ee | Kt) ? _ = v.overallVelocity : E & Ee ? _ = v.overallVelocityX : E & Kt && (_ = v.overallVelocityY), this._super.attrTest.call(this, v) && E & v.offsetDirection && v.distance > this.options.threshold && v.maxPointers == this.options.pointers && y(_) > this.options.velocity && v.eventType & Lt;
|
|
13534
13557
|
},
|
|
13535
13558
|
emit: function(v) {
|
|
13536
|
-
var E =
|
|
13559
|
+
var E = Qa(v.offsetDirection);
|
|
13537
13560
|
E && this.manager.emit(this.options.event + E, v), this.manager.emit(this.options.event, v);
|
|
13538
13561
|
}
|
|
13539
13562
|
});
|
|
@@ -13607,7 +13630,7 @@ var sg = { exports: {} };
|
|
|
13607
13630
|
* @type {String}
|
|
13608
13631
|
* @default compute
|
|
13609
13632
|
*/
|
|
13610
|
-
touchAction:
|
|
13633
|
+
touchAction: Xa,
|
|
13611
13634
|
/**
|
|
13612
13635
|
* @type {Boolean}
|
|
13613
13636
|
* @default true
|
|
@@ -13882,8 +13905,8 @@ var sg = { exports: {} };
|
|
|
13882
13905
|
bindFn: q,
|
|
13883
13906
|
prefixed: pt
|
|
13884
13907
|
});
|
|
13885
|
-
var
|
|
13886
|
-
|
|
13908
|
+
var Ka = typeof e != "undefined" ? e : typeof self != "undefined" ? self : {};
|
|
13909
|
+
Ka.Hammer = Fr, i.exports ? i.exports = Fr : e[r] = Fr;
|
|
13887
13910
|
})(window, document, "Hammer");
|
|
13888
13911
|
})(sg);
|
|
13889
13912
|
var GA = sg.exports;
|
|
@@ -14231,7 +14254,7 @@ class Bh extends sr {
|
|
|
14231
14254
|
this.el.style.display = "none";
|
|
14232
14255
|
}
|
|
14233
14256
|
}
|
|
14234
|
-
const Up = new
|
|
14257
|
+
const Up = new Mt(), Zl = new k(), Ql = new k();
|
|
14235
14258
|
class YA extends sr {
|
|
14236
14259
|
constructor(t, r) {
|
|
14237
14260
|
super();
|
|
@@ -14281,7 +14304,7 @@ class YA extends sr {
|
|
|
14281
14304
|
const r = ((s = t == null ? void 0 : t.e) == null ? void 0 : s.target) || ((u = (o = t == null ? void 0 : t.e) == null ? void 0 : o.srcEvent) == null ? void 0 : u.target) || ((c = (h = t == null ? void 0 : t.e) == null ? void 0 : h.srcEvent) == null ? void 0 : c.srcElement);
|
|
14282
14305
|
r != null && r.id && (y = this.scene) != null && y.isBelongsToAssetType(r == null ? void 0 : r.id) && this.dispatchEvent({
|
|
14283
14306
|
type: "SELECTED",
|
|
14284
|
-
data:
|
|
14307
|
+
data: ko(ys({}, t.data), { target: [r], selected: [r == null ? void 0 : r.id] })
|
|
14285
14308
|
});
|
|
14286
14309
|
}
|
|
14287
14310
|
handleControllerPanStart(t) {
|
|
@@ -14299,7 +14322,7 @@ class YA extends sr {
|
|
|
14299
14322
|
}
|
|
14300
14323
|
}
|
|
14301
14324
|
var ph = /* @__PURE__ */ ((i) => (i.SELECTED = "SELECTED", i))(ph || {});
|
|
14302
|
-
const qn = new
|
|
14325
|
+
const qn = new Mt();
|
|
14303
14326
|
var Gn = /* @__PURE__ */ ((i) => (i.DEFAULT = "default", i.INFO = "info", i.PRIMARY = "primary", i.SUCCESS = "success", i.WARNING = "warning", i.DANGER = "danger", i))(Gn || {});
|
|
14304
14327
|
class ug {
|
|
14305
14328
|
constructor() {
|
|
@@ -14327,10 +14350,10 @@ class ug {
|
|
|
14327
14350
|
return r;
|
|
14328
14351
|
}
|
|
14329
14352
|
}
|
|
14330
|
-
var er = "top", Br = "bottom", Ir = "right", rr = "left", Ih = "auto",
|
|
14331
|
-
return i.concat([e + "-" + Bs, e + "-" +
|
|
14332
|
-
}, []), hg = /* @__PURE__ */ [].concat(
|
|
14333
|
-
return i.concat([e, e + "-" + Bs, e + "-" +
|
|
14353
|
+
var er = "top", Br = "bottom", Ir = "right", rr = "left", Ih = "auto", qa = [er, Br, Ir, rr], Bs = "start", Ba = "end", XA = "clippingParents", lg = "viewport", va = "popper", ZA = "reference", qp = /* @__PURE__ */ qa.reduce(function(i, e) {
|
|
14354
|
+
return i.concat([e + "-" + Bs, e + "-" + Ba]);
|
|
14355
|
+
}, []), hg = /* @__PURE__ */ [].concat(qa, [Ih]).reduce(function(i, e) {
|
|
14356
|
+
return i.concat([e, e + "-" + Bs, e + "-" + Ba]);
|
|
14334
14357
|
}, []), QA = "beforeRead", KA = "read", jA = "afterRead", JA = "beforeMain", tb = "main", eb = "afterMain", rb = "beforeWrite", ib = "write", nb = "afterWrite", sb = [QA, KA, jA, JA, tb, eb, rb, ib, nb];
|
|
14335
14358
|
function di(i) {
|
|
14336
14359
|
return i ? (i.nodeName || "").toLowerCase() : null;
|
|
@@ -14496,7 +14519,7 @@ function lb(i) {
|
|
|
14496
14519
|
}
|
|
14497
14520
|
return null;
|
|
14498
14521
|
}
|
|
14499
|
-
function
|
|
14522
|
+
function Va(i) {
|
|
14500
14523
|
for (var e = mr(i), t = Vp(i); t && ub(t) && qi(t).position === "static"; )
|
|
14501
14524
|
t = Vp(t);
|
|
14502
14525
|
return t && (di(t) === "html" || di(t) === "body" && qi(t).position === "static") ? e : t || lb(i) || e;
|
|
@@ -14504,11 +14527,11 @@ function qa(i) {
|
|
|
14504
14527
|
function Fh(i) {
|
|
14505
14528
|
return ["top", "bottom"].indexOf(i) >= 0 ? "x" : "y";
|
|
14506
14529
|
}
|
|
14507
|
-
function
|
|
14530
|
+
function Ta(i, e, t) {
|
|
14508
14531
|
return Yn(i, lu(e, t));
|
|
14509
14532
|
}
|
|
14510
14533
|
function hb(i, e, t) {
|
|
14511
|
-
var r =
|
|
14534
|
+
var r = Ta(i, e, t);
|
|
14512
14535
|
return r > t ? t : r;
|
|
14513
14536
|
}
|
|
14514
14537
|
function dg() {
|
|
@@ -14530,12 +14553,12 @@ function yg(i, e) {
|
|
|
14530
14553
|
var cb = function(e, t) {
|
|
14531
14554
|
return e = typeof e == "function" ? e(Object.assign({}, t.rects, {
|
|
14532
14555
|
placement: t.placement
|
|
14533
|
-
})) : e, gg(typeof e != "number" ? e : yg(e,
|
|
14556
|
+
})) : e, gg(typeof e != "number" ? e : yg(e, qa));
|
|
14534
14557
|
};
|
|
14535
14558
|
function fb(i) {
|
|
14536
14559
|
var e, t = i.state, r = i.name, s = i.options, o = t.elements.arrow, u = t.modifiersData.popperOffsets, h = pi(t.placement), c = Fh(h), y = [rr, Ir].indexOf(h) >= 0, p = y ? "height" : "width";
|
|
14537
14560
|
if (!(!o || !u)) {
|
|
14538
|
-
var A = cb(s.padding, t), T = Ph(o), C = c === "y" ? er : rr, N = c === "y" ? Br : Ir, O = t.rects.reference[p] + t.rects.reference[c] - u[c] - t.rects.popper[p], L = u[c] - t.rects.reference[c], P =
|
|
14561
|
+
var A = cb(s.padding, t), T = Ph(o), C = c === "y" ? er : rr, N = c === "y" ? Br : Ir, O = t.rects.reference[p] + t.rects.reference[c] - u[c] - t.rects.popper[p], L = u[c] - t.rects.reference[c], P = Va(o), W = P ? c === "y" ? P.clientHeight || 0 : P.clientWidth || 0 : 0, q = O / 2 - L / 2, b = A[C], Y = W - T[p] - A[N], z = W / 2 - T[p] / 2 + q, j = Ta(b, z, Y), tt = c;
|
|
14539
14562
|
t.modifiersData[r] = (e = {}, e[tt] = j, e.centerOffset = j - z, e);
|
|
14540
14563
|
}
|
|
14541
14564
|
}
|
|
@@ -14579,8 +14602,8 @@ function Wp(i) {
|
|
|
14579
14602
|
C = L.x, O = L.y;
|
|
14580
14603
|
var P = u.hasOwnProperty("x"), W = u.hasOwnProperty("y"), q = rr, b = er, Y = window;
|
|
14581
14604
|
if (y) {
|
|
14582
|
-
var z =
|
|
14583
|
-
if (z === mr(t) && (z = xn(t), qi(z).position !== "static" && h === "absolute" && (j = "scrollHeight", tt = "scrollWidth")), z = z, s === er || (s === rr || s === Ir) && o ===
|
|
14605
|
+
var z = Va(t), j = "clientHeight", tt = "clientWidth";
|
|
14606
|
+
if (z === mr(t) && (z = xn(t), qi(z).position !== "static" && h === "absolute" && (j = "scrollHeight", tt = "scrollWidth")), z = z, s === er || (s === rr || s === Ir) && o === Ba) {
|
|
14584
14607
|
b = Br;
|
|
14585
14608
|
var Q = A && z === Y && Y.visualViewport ? Y.visualViewport.height : (
|
|
14586
14609
|
// $FlowFixMe[prop-missing]
|
|
@@ -14588,7 +14611,7 @@ function Wp(i) {
|
|
|
14588
14611
|
);
|
|
14589
14612
|
O -= Q - r.height, O *= c ? 1 : -1;
|
|
14590
14613
|
}
|
|
14591
|
-
if (s === rr || (s === er || s === Br) && o ===
|
|
14614
|
+
if (s === rr || (s === er || s === Br) && o === Ba) {
|
|
14592
14615
|
q = Ir;
|
|
14593
14616
|
var K = A && z === Y && Y.visualViewport ? Y.visualViewport.width : (
|
|
14594
14617
|
// $FlowFixMe[prop-missing]
|
|
@@ -14724,13 +14747,13 @@ function Uh(i) {
|
|
|
14724
14747
|
function vg(i) {
|
|
14725
14748
|
return ["html", "body", "#document"].indexOf(di(i)) >= 0 ? i.ownerDocument.body : Nr(i) && Uh(i) ? i : vg(Eu(i));
|
|
14726
14749
|
}
|
|
14727
|
-
function
|
|
14750
|
+
function _a(i, e) {
|
|
14728
14751
|
var t;
|
|
14729
14752
|
e === void 0 && (e = []);
|
|
14730
14753
|
var r = vg(i), s = r === ((t = i.ownerDocument) == null ? void 0 : t.body), o = mr(r), u = s ? [o].concat(o.visualViewport || [], Uh(r) ? r : []) : r, h = e.concat(u);
|
|
14731
14754
|
return s ? h : (
|
|
14732
14755
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
14733
|
-
h.concat(
|
|
14756
|
+
h.concat(_a(Eu(u)))
|
|
14734
14757
|
);
|
|
14735
14758
|
}
|
|
14736
14759
|
function gh(i) {
|
|
@@ -14749,7 +14772,7 @@ function $p(i, e, t) {
|
|
|
14749
14772
|
return e === lg ? gh(wb(i, t)) : Zn(e) ? _b(e, t) : gh(Tb(xn(i)));
|
|
14750
14773
|
}
|
|
14751
14774
|
function Cb(i) {
|
|
14752
|
-
var e =
|
|
14775
|
+
var e = _a(Eu(i)), t = ["absolute", "fixed"].indexOf(qi(i).position) >= 0, r = t && Nr(i) ? Va(i) : i;
|
|
14753
14776
|
return Zn(r) ? e.filter(function(s) {
|
|
14754
14777
|
return Zn(s) && pg(s, r) && di(s) !== "body";
|
|
14755
14778
|
}) : [];
|
|
@@ -14801,16 +14824,16 @@ function mg(i) {
|
|
|
14801
14824
|
case Bs:
|
|
14802
14825
|
c[y] = c[y] - (e[p] / 2 - t[p] / 2);
|
|
14803
14826
|
break;
|
|
14804
|
-
case
|
|
14827
|
+
case Ba:
|
|
14805
14828
|
c[y] = c[y] + (e[p] / 2 - t[p] / 2);
|
|
14806
14829
|
break;
|
|
14807
14830
|
}
|
|
14808
14831
|
}
|
|
14809
14832
|
return c;
|
|
14810
14833
|
}
|
|
14811
|
-
function
|
|
14834
|
+
function Ia(i, e) {
|
|
14812
14835
|
e === void 0 && (e = {});
|
|
14813
|
-
var t = e, r = t.placement, s = r === void 0 ? i.placement : r, o = t.strategy, u = o === void 0 ? i.strategy : o, h = t.boundary, c = h === void 0 ? XA : h, y = t.rootBoundary, p = y === void 0 ? lg : y, A = t.elementContext, T = A === void 0 ? va : A, C = t.altBoundary, N = C === void 0 ? !1 : C, O = t.padding, L = O === void 0 ? 0 : O, P = gg(typeof L != "number" ? L : yg(L,
|
|
14836
|
+
var t = e, r = t.placement, s = r === void 0 ? i.placement : r, o = t.strategy, u = o === void 0 ? i.strategy : o, h = t.boundary, c = h === void 0 ? XA : h, y = t.rootBoundary, p = y === void 0 ? lg : y, A = t.elementContext, T = A === void 0 ? va : A, C = t.altBoundary, N = C === void 0 ? !1 : C, O = t.padding, L = O === void 0 ? 0 : O, P = gg(typeof L != "number" ? L : yg(L, qa)), W = T === va ? ZA : va, q = i.rects.popper, b = i.elements[N ? W : T], Y = Db(Zn(b) ? b : b.contextElement || xn(i.elements.popper), c, p, u), z = Rs(i.elements.reference), j = mg({
|
|
14814
14837
|
reference: z,
|
|
14815
14838
|
element: q,
|
|
14816
14839
|
strategy: "absolute",
|
|
@@ -14834,12 +14857,12 @@ function Sb(i, e) {
|
|
|
14834
14857
|
e === void 0 && (e = {});
|
|
14835
14858
|
var t = e, r = t.placement, s = t.boundary, o = t.rootBoundary, u = t.padding, h = t.flipVariations, c = t.allowedAutoPlacements, y = c === void 0 ? hg : c, p = Ps(r), A = p ? h ? qp : qp.filter(function(N) {
|
|
14836
14859
|
return Ps(N) === p;
|
|
14837
|
-
}) :
|
|
14860
|
+
}) : qa, T = A.filter(function(N) {
|
|
14838
14861
|
return y.indexOf(N) >= 0;
|
|
14839
14862
|
});
|
|
14840
14863
|
T.length === 0 && (T = A);
|
|
14841
14864
|
var C = T.reduce(function(N, O) {
|
|
14842
|
-
return N[O] =
|
|
14865
|
+
return N[O] = Ia(i, {
|
|
14843
14866
|
placement: O,
|
|
14844
14867
|
boundary: s,
|
|
14845
14868
|
rootBoundary: o,
|
|
@@ -14869,7 +14892,7 @@ function Mb(i) {
|
|
|
14869
14892
|
allowedAutoPlacements: O
|
|
14870
14893
|
}) : le);
|
|
14871
14894
|
}, []), Y = e.rects.reference, z = e.rects.popper, j = /* @__PURE__ */ new Map(), tt = !0, Q = b[0], K = 0; K < b.length; K++) {
|
|
14872
|
-
var rt = b[K], at = pi(rt), ct = Ps(rt) === Bs, pt = [er, Br].indexOf(at) >= 0, dt = pt ? "width" : "height", B =
|
|
14895
|
+
var rt = b[K], at = pi(rt), ct = Ps(rt) === Bs, pt = [er, Br].indexOf(at) >= 0, dt = pt ? "width" : "height", B = Ia(e, {
|
|
14873
14896
|
placement: rt,
|
|
14874
14897
|
boundary: p,
|
|
14875
14898
|
rootBoundary: A,
|
|
@@ -14931,9 +14954,9 @@ function Yp(i) {
|
|
|
14931
14954
|
});
|
|
14932
14955
|
}
|
|
14933
14956
|
function Nb(i) {
|
|
14934
|
-
var e = i.state, t = i.name, r = e.rects.reference, s = e.rects.popper, o = e.modifiersData.preventOverflow, u =
|
|
14957
|
+
var e = i.state, t = i.name, r = e.rects.reference, s = e.rects.popper, o = e.modifiersData.preventOverflow, u = Ia(e, {
|
|
14935
14958
|
elementContext: "reference"
|
|
14936
|
-
}), h =
|
|
14959
|
+
}), h = Ia(e, {
|
|
14937
14960
|
altBoundary: !0
|
|
14938
14961
|
}), c = Gp(u, r), y = Gp(h, s, o), p = Yp(c), A = Yp(y);
|
|
14939
14962
|
e.modifiersData[t] = {
|
|
@@ -14998,7 +15021,7 @@ function Hb(i) {
|
|
|
14998
15021
|
return i === "x" ? "y" : "x";
|
|
14999
15022
|
}
|
|
15000
15023
|
function Ub(i) {
|
|
15001
|
-
var e = i.state, t = i.options, r = i.name, s = t.mainAxis, o = s === void 0 ? !0 : s, u = t.altAxis, h = u === void 0 ? !1 : u, c = t.boundary, y = t.rootBoundary, p = t.altBoundary, A = t.padding, T = t.tether, C = T === void 0 ? !0 : T, N = t.tetherOffset, O = N === void 0 ? 0 : N, L =
|
|
15024
|
+
var e = i.state, t = i.options, r = i.name, s = t.mainAxis, o = s === void 0 ? !0 : s, u = t.altAxis, h = u === void 0 ? !1 : u, c = t.boundary, y = t.rootBoundary, p = t.altBoundary, A = t.padding, T = t.tether, C = T === void 0 ? !0 : T, N = t.tetherOffset, O = N === void 0 ? 0 : N, L = Ia(e, {
|
|
15002
15025
|
boundary: c,
|
|
15003
15026
|
rootBoundary: y,
|
|
15004
15027
|
padding: A,
|
|
@@ -15020,11 +15043,11 @@ function Ub(i) {
|
|
|
15020
15043
|
var ct, pt = b === "y" ? er : rr, dt = b === "y" ? Br : Ir, B = b === "y" ? "height" : "width", xt = z[b], Pt = xt + L[pt], Fe = xt - L[dt], Te = C ? -tt[B] / 2 : 0, ue = W === Bs ? j[B] : tt[B], xe = W === Bs ? -tt[B] : -j[B], Rr = e.elements.arrow, ke = C && Rr ? Ph(Rr) : {
|
|
15021
15044
|
width: 0,
|
|
15022
15045
|
height: 0
|
|
15023
|
-
}, le = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dg(), Se = le[pt], Yt = le[dt], Qt =
|
|
15046
|
+
}, le = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dg(), Se = le[pt], Yt = le[dt], Qt = Ta(0, j[B], ke[B]), Lt = q ? j[B] / 2 - Te - Qt - Se - K.mainAxis : ue - Qt - Se - K.mainAxis, $t = q ? -j[B] / 2 + Te + Qt + Yt + K.mainAxis : xe + Qt + Yt + K.mainAxis, Oe = e.elements.arrow && Va(e.elements.arrow), He = Oe ? b === "y" ? Oe.clientTop || 0 : Oe.clientLeft || 0 : 0, We = (ct = rt == null ? void 0 : rt[b]) != null ? ct : 0, ee = xt + Lt - We - He, Me = xt + $t - We, Ee = Ta(C ? lu(Pt, ee) : Pt, xt, C ? Yn(Fe, Me) : Fe);
|
|
15024
15047
|
z[b] = Ee, at[b] = Ee - xt;
|
|
15025
15048
|
}
|
|
15026
15049
|
if (h) {
|
|
15027
|
-
var Kt, jr = b === "x" ? er : rr, yi = b === "x" ? Br : Ir, he = z[Y], Nt = Y === "y" ? "height" : "width", ar = he + L[jr], ze = he - L[yi], vi = [er, rr].indexOf(P) !== -1, xr = (Kt = rt == null ? void 0 : rt[Y]) != null ? Kt : 0, Wi = vi ? ar : he - j[Nt] - tt[Nt] - xr + K.altAxis, or = vi ? he + j[Nt] + tt[Nt] - xr - K.altAxis : ze, $e = C && vi ? hb(Wi, he, or) :
|
|
15050
|
+
var Kt, jr = b === "x" ? er : rr, yi = b === "x" ? Br : Ir, he = z[Y], Nt = Y === "y" ? "height" : "width", ar = he + L[jr], ze = he - L[yi], vi = [er, rr].indexOf(P) !== -1, xr = (Kt = rt == null ? void 0 : rt[Y]) != null ? Kt : 0, Wi = vi ? ar : he - j[Nt] - tt[Nt] - xr + K.altAxis, or = vi ? he + j[Nt] + tt[Nt] - xr - K.altAxis : ze, $e = C && vi ? hb(Wi, he, or) : Ta(C ? Wi : ar, he, C ? or : ze);
|
|
15028
15051
|
z[Y] = $e, at[Y] = $e - he;
|
|
15029
15052
|
}
|
|
15030
15053
|
e.modifiersData[r] = at;
|
|
@@ -15149,8 +15172,8 @@ function Qb(i) {
|
|
|
15149
15172
|
setOptions: function(P) {
|
|
15150
15173
|
var W = typeof P == "function" ? P(p.options) : P;
|
|
15151
15174
|
O(), p.options = Object.assign({}, o, p.options, W), p.scrollParents = {
|
|
15152
|
-
reference: Zn(h) ?
|
|
15153
|
-
popper:
|
|
15175
|
+
reference: Zn(h) ? _a(h) : h.contextElement ? _a(h.contextElement) : [],
|
|
15176
|
+
popper: _a(c)
|
|
15154
15177
|
};
|
|
15155
15178
|
var q = Yb(Zb([].concat(r, p.options.modifiers)));
|
|
15156
15179
|
return p.orderedModifiers = q.filter(function(b) {
|
|
@@ -15167,7 +15190,7 @@ function Qb(i) {
|
|
|
15167
15190
|
var P = p.elements, W = P.reference, q = P.popper;
|
|
15168
15191
|
if (Zp(W, q)) {
|
|
15169
15192
|
p.rects = {
|
|
15170
|
-
reference: $b(W,
|
|
15193
|
+
reference: $b(W, Va(q), p.options.strategy === "fixed"),
|
|
15171
15194
|
popper: Ph(q)
|
|
15172
15195
|
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(K) {
|
|
15173
15196
|
return p.modifiersData[K.name] = Object.assign({}, K.data);
|
|
@@ -15293,10 +15316,10 @@ function jp(i) {
|
|
|
15293
15316
|
return i[t] !== void 0 && (e[t] = i[t]), e;
|
|
15294
15317
|
}, {});
|
|
15295
15318
|
}
|
|
15296
|
-
function
|
|
15319
|
+
function Ca() {
|
|
15297
15320
|
return document.createElement("div");
|
|
15298
15321
|
}
|
|
15299
|
-
function
|
|
15322
|
+
function Ra(i) {
|
|
15300
15323
|
return ["Element", "Fragment"].some(function(e) {
|
|
15301
15324
|
return qh(i, e);
|
|
15302
15325
|
});
|
|
@@ -15311,7 +15334,7 @@ function uw(i) {
|
|
|
15311
15334
|
return !!(i && i._tippy && i._tippy.reference === i);
|
|
15312
15335
|
}
|
|
15313
15336
|
function lw(i) {
|
|
15314
|
-
return
|
|
15337
|
+
return Ra(i) ? [i] : aw(i) ? hu(i) : Array.isArray(i) ? i : hu(document.querySelectorAll(i));
|
|
15315
15338
|
}
|
|
15316
15339
|
function jl(i, e) {
|
|
15317
15340
|
i.forEach(function(t) {
|
|
@@ -15404,21 +15427,21 @@ function _g(i) {
|
|
|
15404
15427
|
"color: #a6a095;"
|
|
15405
15428
|
];
|
|
15406
15429
|
}
|
|
15407
|
-
var
|
|
15430
|
+
var Pa;
|
|
15408
15431
|
process.env.NODE_ENV !== "production" && mw();
|
|
15409
15432
|
function mw() {
|
|
15410
|
-
|
|
15433
|
+
Pa = /* @__PURE__ */ new Set();
|
|
15411
15434
|
}
|
|
15412
15435
|
function Fi(i, e) {
|
|
15413
|
-
if (i && !
|
|
15436
|
+
if (i && !Pa.has(e)) {
|
|
15414
15437
|
var t;
|
|
15415
|
-
|
|
15438
|
+
Pa.add(e), (t = console).warn.apply(t, _g(e));
|
|
15416
15439
|
}
|
|
15417
15440
|
}
|
|
15418
15441
|
function yh(i, e) {
|
|
15419
|
-
if (i && !
|
|
15442
|
+
if (i && !Pa.has(e)) {
|
|
15420
15443
|
var t;
|
|
15421
|
-
|
|
15444
|
+
Pa.add(e), (t = console).error.apply(t, _g(e));
|
|
15422
15445
|
}
|
|
15423
15446
|
}
|
|
15424
15447
|
function xw(i) {
|
|
@@ -15554,11 +15577,11 @@ function vh(i, e) {
|
|
|
15554
15577
|
i[Tw()] = e;
|
|
15555
15578
|
}
|
|
15556
15579
|
function nd(i) {
|
|
15557
|
-
var e =
|
|
15558
|
-
return i === !0 ? e.className = Eg : (e.className = Ag,
|
|
15580
|
+
var e = Ca();
|
|
15581
|
+
return i === !0 ? e.className = Eg : (e.className = Ag, Ra(i) ? e.appendChild(i) : vh(e, i)), e;
|
|
15559
15582
|
}
|
|
15560
15583
|
function sd(i, e) {
|
|
15561
|
-
|
|
15584
|
+
Ra(e.content) ? (vh(i, ""), i.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? vh(i, e.content) : i.textContent = e.content);
|
|
15562
15585
|
}
|
|
15563
15586
|
function mh(i) {
|
|
15564
15587
|
var e = i.firstElementChild, t = hu(e.children);
|
|
@@ -15576,9 +15599,9 @@ function mh(i) {
|
|
|
15576
15599
|
};
|
|
15577
15600
|
}
|
|
15578
15601
|
function Og(i) {
|
|
15579
|
-
var e =
|
|
15602
|
+
var e = Ca(), t = Ca();
|
|
15580
15603
|
t.className = Jb, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
|
|
15581
|
-
var r =
|
|
15604
|
+
var r = Ca();
|
|
15582
15605
|
r.className = xg, r.setAttribute("data-state", "hidden"), sd(r, i.props), e.appendChild(t), t.appendChild(r), s(i.props, i.props);
|
|
15583
15606
|
function s(o, u) {
|
|
15584
15607
|
var h = mh(e), c = h.box, y = h.content, p = h.arrow;
|
|
@@ -15607,7 +15630,7 @@ function Cw(i, e) {
|
|
|
15607
15630
|
// properties
|
|
15608
15631
|
id: L,
|
|
15609
15632
|
reference: i,
|
|
15610
|
-
popper:
|
|
15633
|
+
popper: Ca(),
|
|
15611
15634
|
popperInstance: P,
|
|
15612
15635
|
props: t,
|
|
15613
15636
|
state: q,
|
|
@@ -15667,15 +15690,15 @@ function Cw(i, e) {
|
|
|
15667
15690
|
if (ot === void 0 && (ot = !0), tt.forEach(function(Et) {
|
|
15668
15691
|
Et[H] && Et[H].apply(Et, nt);
|
|
15669
15692
|
}), ot) {
|
|
15670
|
-
var
|
|
15671
|
-
(
|
|
15693
|
+
var St;
|
|
15694
|
+
(St = b.props)[H].apply(St, nt);
|
|
15672
15695
|
}
|
|
15673
15696
|
}
|
|
15674
15697
|
function Fe() {
|
|
15675
15698
|
var H = b.props.aria;
|
|
15676
15699
|
if (H.content) {
|
|
15677
|
-
var nt = "aria-" + H.content, ot = z.id,
|
|
15678
|
-
|
|
15700
|
+
var nt = "aria-" + H.content, ot = z.id, St = Ts(b.props.triggerTarget || i);
|
|
15701
|
+
St.forEach(function(Et) {
|
|
15679
15702
|
var ye = Et.getAttribute(nt);
|
|
15680
15703
|
if (b.state.isVisible)
|
|
15681
15704
|
Et.setAttribute(nt, ye ? ye + " " + ot : ot);
|
|
@@ -15740,17 +15763,17 @@ function Cw(i, e) {
|
|
|
15740
15763
|
}
|
|
15741
15764
|
function Lt(H, nt) {
|
|
15742
15765
|
var ot = dt().box;
|
|
15743
|
-
function
|
|
15744
|
-
Et.target === ot && (Jl(ot, "remove",
|
|
15766
|
+
function St(Et) {
|
|
15767
|
+
Et.target === ot && (Jl(ot, "remove", St), nt());
|
|
15745
15768
|
}
|
|
15746
15769
|
if (H === 0)
|
|
15747
15770
|
return nt();
|
|
15748
|
-
Jl(ot, "remove", A), Jl(ot, "add",
|
|
15771
|
+
Jl(ot, "remove", A), Jl(ot, "add", St), A = St;
|
|
15749
15772
|
}
|
|
15750
15773
|
function $t(H, nt, ot) {
|
|
15751
15774
|
ot === void 0 && (ot = !1);
|
|
15752
|
-
var
|
|
15753
|
-
|
|
15775
|
+
var St = Ts(b.props.triggerTarget || i);
|
|
15776
|
+
St.forEach(function(Et) {
|
|
15754
15777
|
Et.addEventListener(H, nt, ot), C.push({
|
|
15755
15778
|
node: Et,
|
|
15756
15779
|
eventType: H,
|
|
@@ -15781,23 +15804,23 @@ function Cw(i, e) {
|
|
|
15781
15804
|
}
|
|
15782
15805
|
function He() {
|
|
15783
15806
|
C.forEach(function(H) {
|
|
15784
|
-
var nt = H.node, ot = H.eventType,
|
|
15785
|
-
nt.removeEventListener(ot,
|
|
15807
|
+
var nt = H.node, ot = H.eventType, St = H.handler, Et = H.options;
|
|
15808
|
+
nt.removeEventListener(ot, St, Et);
|
|
15786
15809
|
}), C = [];
|
|
15787
15810
|
}
|
|
15788
15811
|
function We(H) {
|
|
15789
15812
|
var nt, ot = !1;
|
|
15790
15813
|
if (!(!b.state.isEnabled || Kt(H) || h)) {
|
|
15791
|
-
var
|
|
15814
|
+
var St = ((nt = p) == null ? void 0 : nt.type) === "focus";
|
|
15792
15815
|
p = H, O = H.currentTarget, Te(), !b.state.isVisible && ow(H) && Xo.forEach(function(Et) {
|
|
15793
15816
|
return Et(H);
|
|
15794
|
-
}), H.type === "click" && (b.props.trigger.indexOf("mouseenter") < 0 || u) && b.props.hideOnClick !== !1 && b.state.isVisible ? ot = !0 : ar(H), H.type === "click" && (u = !ot), ot && !
|
|
15817
|
+
}), H.type === "click" && (b.props.trigger.indexOf("mouseenter") < 0 || u) && b.props.hideOnClick !== !1 && b.state.isVisible ? ot = !0 : ar(H), H.type === "click" && (u = !ot), ot && !St && ze(H);
|
|
15795
15818
|
}
|
|
15796
15819
|
}
|
|
15797
15820
|
function ee(H) {
|
|
15798
15821
|
var nt = H.target, ot = ct().contains(nt) || z.contains(nt);
|
|
15799
15822
|
if (!(H.type === "mousemove" && ot)) {
|
|
15800
|
-
var
|
|
15823
|
+
var St = Nt().concat(z).map(function(Et) {
|
|
15801
15824
|
var ye, Le = Et._tippy, Er = (ye = Le.popperInstance) == null ? void 0 : ye.state;
|
|
15802
15825
|
return Er ? {
|
|
15803
15826
|
popperRect: Et.getBoundingClientRect(),
|
|
@@ -15805,7 +15828,7 @@ function Cw(i, e) {
|
|
|
15805
15828
|
props: t
|
|
15806
15829
|
} : null;
|
|
15807
15830
|
}).filter(Boolean);
|
|
15808
|
-
cw(
|
|
15831
|
+
cw(St, H) && (ue(), ze(H));
|
|
15809
15832
|
}
|
|
15810
15833
|
}
|
|
15811
15834
|
function Me(H) {
|
|
@@ -15826,7 +15849,7 @@ function Cw(i, e) {
|
|
|
15826
15849
|
}
|
|
15827
15850
|
function jr() {
|
|
15828
15851
|
yi();
|
|
15829
|
-
var H = b.props, nt = H.popperOptions, ot = H.placement,
|
|
15852
|
+
var H = b.props, nt = H.popperOptions, ot = H.placement, St = H.offset, Et = H.getReferenceClientRect, ye = H.moveTransition, Le = at() ? mh(z).arrow : null, Er = Et ? {
|
|
15830
15853
|
getBoundingClientRect: Et,
|
|
15831
15854
|
contextElement: Et.contextElement || ct()
|
|
15832
15855
|
} : i, Gi = {
|
|
@@ -15846,7 +15869,7 @@ function Cw(i, e) {
|
|
|
15846
15869
|
}, ur = [{
|
|
15847
15870
|
name: "offset",
|
|
15848
15871
|
options: {
|
|
15849
|
-
offset:
|
|
15872
|
+
offset: St
|
|
15850
15873
|
}
|
|
15851
15874
|
}, {
|
|
15852
15875
|
name: "preventOverflow",
|
|
@@ -15899,8 +15922,8 @@ function Cw(i, e) {
|
|
|
15899
15922
|
}
|
|
15900
15923
|
function ar(H) {
|
|
15901
15924
|
b.clearDelayTimeouts(), H && Pt("onTrigger", [b, H]), le();
|
|
15902
|
-
var nt = B(!0), ot = K(),
|
|
15903
|
-
hi.isTouch &&
|
|
15925
|
+
var nt = B(!0), ot = K(), St = ot[0], Et = ot[1];
|
|
15926
|
+
hi.isTouch && St === "hold" && Et && (nt = Et), nt ? r = setTimeout(function() {
|
|
15904
15927
|
b.show();
|
|
15905
15928
|
}, nt) : b.show();
|
|
15906
15929
|
}
|
|
@@ -15933,10 +15956,10 @@ function Cw(i, e) {
|
|
|
15933
15956
|
var nt = b.props, ot = id(i, Object.assign({}, nt, jp(H), {
|
|
15934
15957
|
ignoreAttributes: !0
|
|
15935
15958
|
}));
|
|
15936
|
-
b.props = ot, Oe(), nt.interactiveDebounce !== ot.interactiveDebounce && (ue(), N = Qp(ee, ot.interactiveDebounce)), nt.triggerTarget && !ot.triggerTarget ? Ts(nt.triggerTarget).forEach(function(
|
|
15937
|
-
|
|
15938
|
-
}) : ot.triggerTarget && i.removeAttribute("aria-expanded"), Te(), xt(), j && j(nt, ot), b.popperInstance && (jr(), Nt().forEach(function(
|
|
15939
|
-
requestAnimationFrame(
|
|
15959
|
+
b.props = ot, Oe(), nt.interactiveDebounce !== ot.interactiveDebounce && (ue(), N = Qp(ee, ot.interactiveDebounce)), nt.triggerTarget && !ot.triggerTarget ? Ts(nt.triggerTarget).forEach(function(St) {
|
|
15960
|
+
St.removeAttribute("aria-expanded");
|
|
15961
|
+
}) : ot.triggerTarget && i.removeAttribute("aria-expanded"), Te(), xt(), j && j(nt, ot), b.popperInstance && (jr(), Nt().forEach(function(St) {
|
|
15962
|
+
requestAnimationFrame(St._tippy.popperInstance.forceUpdate);
|
|
15940
15963
|
})), Pt("onAfterUpdate", [b, H]);
|
|
15941
15964
|
}
|
|
15942
15965
|
}
|
|
@@ -15947,8 +15970,8 @@ function Cw(i, e) {
|
|
|
15947
15970
|
}
|
|
15948
15971
|
function zi() {
|
|
15949
15972
|
process.env.NODE_ENV !== "production" && Fi(b.state.isDestroyed, bs("show"));
|
|
15950
|
-
var H = b.state.isVisible, nt = b.state.isDestroyed, ot = !b.state.isEnabled,
|
|
15951
|
-
if (!(H || nt || ot ||
|
|
15973
|
+
var H = b.state.isVisible, nt = b.state.isDestroyed, ot = !b.state.isEnabled, St = hi.isTouch && !b.props.touch, Et = Kl(b.props.duration, 0, yr.duration);
|
|
15974
|
+
if (!(H || nt || ot || St) && !ct().hasAttribute("disabled") && (Pt("onShow", [b], !1), b.props.onShow(b) !== !1)) {
|
|
15952
15975
|
if (b.state.isVisible = !0, at() && (z.style.visibility = "visible"), xt(), le(), b.state.isMounted || (z.style.transition = "none"), at()) {
|
|
15953
15976
|
var ye = dt(), Le = ye.box, Er = ye.content;
|
|
15954
15977
|
jl([Le, Er], 0);
|
|
@@ -15969,13 +15992,13 @@ function Cw(i, e) {
|
|
|
15969
15992
|
}
|
|
15970
15993
|
function $i() {
|
|
15971
15994
|
process.env.NODE_ENV !== "production" && Fi(b.state.isDestroyed, bs("hide"));
|
|
15972
|
-
var H = !b.state.isVisible, nt = b.state.isDestroyed, ot = !b.state.isEnabled,
|
|
15995
|
+
var H = !b.state.isVisible, nt = b.state.isDestroyed, ot = !b.state.isEnabled, St = Kl(b.props.duration, 1, yr.duration);
|
|
15973
15996
|
if (!(H || nt || ot) && (Pt("onHide", [b], !1), b.props.onHide(b) !== !1)) {
|
|
15974
15997
|
if (b.state.isVisible = !1, b.state.isShown = !1, y = !1, u = !1, at() && (z.style.visibility = "hidden"), ue(), Se(), xt(!0), at()) {
|
|
15975
15998
|
var Et = dt(), ye = Et.box, Le = Et.content;
|
|
15976
|
-
b.props.animation && (jl([ye, Le],
|
|
15999
|
+
b.props.animation && (jl([ye, Le], St), Jp([ye, Le], "hidden"));
|
|
15977
16000
|
}
|
|
15978
|
-
Fe(), Te(), b.props.animation ? at() && Yt(
|
|
16001
|
+
Fe(), Te(), b.props.animation ? at() && Yt(St, b.unmount) : b.unmount();
|
|
15979
16002
|
}
|
|
15980
16003
|
}
|
|
15981
16004
|
function Jr(H) {
|
|
@@ -15992,7 +16015,7 @@ function Cw(i, e) {
|
|
|
15992
16015
|
process.env.NODE_ENV !== "production" && Fi(b.state.isDestroyed, bs("destroy")), !b.state.isDestroyed && (b.clearDelayTimeouts(), b.unmount(), He(), delete i._tippy, b.state.isDestroyed = !0, Pt("onDestroy", [b]));
|
|
15993
16016
|
}
|
|
15994
16017
|
}
|
|
15995
|
-
function
|
|
16018
|
+
function Wa(i, e) {
|
|
15996
16019
|
e === void 0 && (e = {});
|
|
15997
16020
|
var t = yr.plugins.concat(e.plugins || []);
|
|
15998
16021
|
process.env.NODE_ENV !== "production" && (xw(i), Sg(e, t)), dw();
|
|
@@ -16000,7 +16023,7 @@ function Va(i, e) {
|
|
|
16000
16023
|
plugins: t
|
|
16001
16024
|
}), s = lw(i);
|
|
16002
16025
|
if (process.env.NODE_ENV !== "production") {
|
|
16003
|
-
var o =
|
|
16026
|
+
var o = Ra(r.content), u = s.length > 1;
|
|
16004
16027
|
Fi(o && u, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
16005
16028
|
|
|
16006
16029
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
@@ -16012,11 +16035,11 @@ function Va(i, e) {
|
|
|
16012
16035
|
var p = y && Cw(y, r);
|
|
16013
16036
|
return p && c.push(p), c;
|
|
16014
16037
|
}, []);
|
|
16015
|
-
return
|
|
16038
|
+
return Ra(i) ? h[0] : h;
|
|
16016
16039
|
}
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16040
|
+
Wa.defaultProps = yr;
|
|
16041
|
+
Wa.setDefaultProps = bw;
|
|
16042
|
+
Wa.currentInput = hi;
|
|
16020
16043
|
Object.assign({}, cg, {
|
|
16021
16044
|
effect: function(e) {
|
|
16022
16045
|
var t = e.state, r = {
|
|
@@ -16034,11 +16057,11 @@ Object.assign({}, cg, {
|
|
|
16034
16057
|
Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow);
|
|
16035
16058
|
}
|
|
16036
16059
|
});
|
|
16037
|
-
|
|
16060
|
+
Wa.setDefaultProps({
|
|
16038
16061
|
render: Og
|
|
16039
16062
|
});
|
|
16040
16063
|
let Dw = 0;
|
|
16041
|
-
const hn =
|
|
16064
|
+
const hn = Wa(document.body, {
|
|
16042
16065
|
// theme: 'material',
|
|
16043
16066
|
// theme: 'light',
|
|
16044
16067
|
// theme: 'light-border',
|
|
@@ -16097,7 +16120,7 @@ class Vh {
|
|
|
16097
16120
|
e && (this.position.copy(e), hn.show());
|
|
16098
16121
|
}
|
|
16099
16122
|
show(e) {
|
|
16100
|
-
return
|
|
16123
|
+
return Tt(this, null, function* () {
|
|
16101
16124
|
if (e)
|
|
16102
16125
|
return yield this.hide(), this.position.copy(e), hn.setContent(this.text), hn.setProps({
|
|
16103
16126
|
getReferenceClientRect: () => ({
|
|
@@ -16120,7 +16143,7 @@ class Vh {
|
|
|
16120
16143
|
});
|
|
16121
16144
|
}
|
|
16122
16145
|
hide() {
|
|
16123
|
-
return
|
|
16146
|
+
return Tt(this, null, function* () {
|
|
16124
16147
|
return hn.hide(), new Promise((e) => {
|
|
16125
16148
|
It.delay(function() {
|
|
16126
16149
|
e();
|
|
@@ -16181,7 +16204,7 @@ class Ow extends sr {
|
|
|
16181
16204
|
// return this;
|
|
16182
16205
|
// }
|
|
16183
16206
|
setActive(t) {
|
|
16184
|
-
return t ? (
|
|
16207
|
+
return t ? (La(this.el, "active"), this.showLabel()) : (Na(this.el, "active"), this.hideLabel()), this;
|
|
16185
16208
|
}
|
|
16186
16209
|
showLabel() {
|
|
16187
16210
|
var t;
|
|
@@ -16195,7 +16218,7 @@ class Ow extends sr {
|
|
|
16195
16218
|
var s;
|
|
16196
16219
|
if (!this.userData) return this;
|
|
16197
16220
|
const r = (s = this.userData) == null ? void 0 : s.type;
|
|
16198
|
-
return t || (t = Gn.DEFAULT), r && xu(this.el, r) &&
|
|
16221
|
+
return t || (t = Gn.DEFAULT), r && xu(this.el, r) && Na(this.el, r), this.userData.type = t, La(this.el, this.userData.type), this;
|
|
16199
16222
|
}
|
|
16200
16223
|
// setAnimation(v: boolean): IDummy {
|
|
16201
16224
|
// if (v) this.el.style.animation = 'dummyAnimation 1500ms infinite';
|
|
@@ -16259,7 +16282,7 @@ class Nw extends sr {
|
|
|
16259
16282
|
// return this;
|
|
16260
16283
|
// }
|
|
16261
16284
|
setActive(t) {
|
|
16262
|
-
return t ?
|
|
16285
|
+
return t ? La(this.el, "active") : Na(this.el, "active"), this;
|
|
16263
16286
|
}
|
|
16264
16287
|
showLabel() {
|
|
16265
16288
|
var t;
|
|
@@ -16273,7 +16296,7 @@ class Nw extends sr {
|
|
|
16273
16296
|
var s;
|
|
16274
16297
|
if (!this.userData) return this;
|
|
16275
16298
|
const r = (s = this.userData) == null ? void 0 : s.type;
|
|
16276
|
-
return t = Gn.DEFAULT, r && xu(this.el, r) &&
|
|
16299
|
+
return t = Gn.DEFAULT, r && xu(this.el, r) && Na(this.el, r), this.userData.type = t, La(this.el, this.userData.type), this;
|
|
16277
16300
|
}
|
|
16278
16301
|
// setAnimation(v: boolean): IDummy {
|
|
16279
16302
|
// if (v) {
|
|
@@ -16442,7 +16465,7 @@ class Iw extends sr {
|
|
|
16442
16465
|
s && s.showLabel();
|
|
16443
16466
|
}
|
|
16444
16467
|
hideDummyLabel() {
|
|
16445
|
-
return
|
|
16468
|
+
return Tt(this, null, function* () {
|
|
16446
16469
|
this.dummies.forEach((t) => t.hideLabel()), this.mergedMap.forEach((t) => t.hideLabel());
|
|
16447
16470
|
});
|
|
16448
16471
|
}
|
|
@@ -16457,7 +16480,7 @@ class Iw extends sr {
|
|
|
16457
16480
|
s && console.warn("【TODO】handleControllerTap: ", s);
|
|
16458
16481
|
}
|
|
16459
16482
|
}
|
|
16460
|
-
const cn = new k(), eh = new
|
|
16483
|
+
const cn = new k(), eh = new Mt();
|
|
16461
16484
|
(function() {
|
|
16462
16485
|
return window[gn.prefixed(window, "requestAnimationFrame")] || function(i) {
|
|
16463
16486
|
window.setTimeout(i, 1e3 / 60);
|
|
@@ -17341,7 +17364,7 @@ class zw extends sr {
|
|
|
17341
17364
|
// camera location
|
|
17342
17365
|
// @ts-ignore
|
|
17343
17366
|
resetCameraByBoundingBox(t, r = !1) {
|
|
17344
|
-
return
|
|
17367
|
+
return Tt(this, null, function* () {
|
|
17345
17368
|
if (!this.camera) return;
|
|
17346
17369
|
if (!t || t.isEmpty()) throw new Error("BoundingBox empty");
|
|
17347
17370
|
if (!r)
|
|
@@ -17353,7 +17376,7 @@ class zw extends sr {
|
|
|
17353
17376
|
});
|
|
17354
17377
|
}
|
|
17355
17378
|
animateCamera(t, r) {
|
|
17356
|
-
return
|
|
17379
|
+
return Tt(this, null, function* () {
|
|
17357
17380
|
return this.controller && (this.controller.enabled = !1), this.tween && this.tween.stop(), new Promise((s) => {
|
|
17358
17381
|
this.tween = new cu.Tween(t).to(r, this.animateDuration).easing(cu.Easing.Exponential.Out).onUpdate((o) => {
|
|
17359
17382
|
this.camera.position.set(o.x, o.y), this.camera.scaled.set(o.s, o.s), this.camera.rotation.set(o.r, o.r), this.camera.update();
|
|
@@ -17363,10 +17386,10 @@ class zw extends sr {
|
|
|
17363
17386
|
});
|
|
17364
17387
|
});
|
|
17365
17388
|
}
|
|
17366
|
-
computeBoundingBox(t, r = new
|
|
17389
|
+
computeBoundingBox(t, r = new Mt()) {
|
|
17367
17390
|
return !t || !t.length || (r.makeEmpty(), t.forEach((s) => r.union(s.computeBoundingBox()))), r;
|
|
17368
17391
|
}
|
|
17369
|
-
expandScenesBoundingBox(t, r = new
|
|
17392
|
+
expandScenesBoundingBox(t, r = new Mt()) {
|
|
17370
17393
|
t.forEach((s) => s.boundingBox.union(r));
|
|
17371
17394
|
}
|
|
17372
17395
|
// ====================== update
|
|
@@ -17378,7 +17401,7 @@ class zw extends sr {
|
|
|
17378
17401
|
this.tween && this.tween.update(t);
|
|
17379
17402
|
}
|
|
17380
17403
|
}
|
|
17381
|
-
const Lr = "camera_position_", Zo = new k(), rh = new k(), ws = new
|
|
17404
|
+
const Lr = "camera_position_", Zo = new k(), rh = new k(), ws = new Mt();
|
|
17382
17405
|
class $w extends sr {
|
|
17383
17406
|
constructor(t = {}) {
|
|
17384
17407
|
super();
|
|
@@ -17398,7 +17421,7 @@ class $w extends sr {
|
|
|
17398
17421
|
// dummies: SvgDummies<Config>;
|
|
17399
17422
|
d(this, "dummiesController");
|
|
17400
17423
|
d(this, "zoomToSelectEnable", !1);
|
|
17401
|
-
d(this, "zoomBox", new
|
|
17424
|
+
d(this, "zoomBox", new Mt());
|
|
17402
17425
|
d(this, "selectEnable", !1);
|
|
17403
17426
|
d(this, "multiSelectEnable", !1);
|
|
17404
17427
|
d(this, "fnEnable", !1);
|
|
@@ -17432,7 +17455,7 @@ class $w extends sr {
|
|
|
17432
17455
|
o && !o.isEmpty() && (s || (s = (c = this.scene) == null ? void 0 : c.getAssetLabelById(t, r), s || (s = r)), (y = this.label) == null || y.setHtml(s), Vn.copy(o.min).applyMatrix3(this.camera.viewMatrix).add(this.offset).round(), (p = this.label) == null || p.show(Vn));
|
|
17433
17456
|
}
|
|
17434
17457
|
hideAssetsLabel() {
|
|
17435
|
-
return
|
|
17458
|
+
return Tt(this, null, function* () {
|
|
17436
17459
|
var t;
|
|
17437
17460
|
return (t = this.label) == null ? void 0 : t.hide();
|
|
17438
17461
|
});
|
|
@@ -17446,7 +17469,7 @@ class $w extends sr {
|
|
|
17446
17469
|
(t = this.camera) == null || t.resize(), (r = this.controller) == null || r.resize(), console.log("【svgView】resize: ", this.params.width, this.params.height);
|
|
17447
17470
|
}
|
|
17448
17471
|
setByBox(t, r = !0) {
|
|
17449
|
-
return
|
|
17472
|
+
return Tt(this, null, function* () {
|
|
17450
17473
|
yield this.resetCameraByBoundingBox(t, r);
|
|
17451
17474
|
});
|
|
17452
17475
|
}
|
|
@@ -17473,12 +17496,12 @@ class $w extends sr {
|
|
|
17473
17496
|
return this.scene ? this.scene.getIntersectObjects(t, r, s) : s;
|
|
17474
17497
|
}
|
|
17475
17498
|
focusAt(t, r = 500) {
|
|
17476
|
-
return
|
|
17499
|
+
return Tt(this, null, function* () {
|
|
17477
17500
|
return this.camera ? (Jt.setFromCenterAndSize(t, Vn.set(r * 2, r * 2)), this.resetCameraByBoundingBox(Jt, !0)) : Promise.resolve();
|
|
17478
17501
|
});
|
|
17479
17502
|
}
|
|
17480
17503
|
focusAtById(t, r = 500) {
|
|
17481
|
-
return
|
|
17504
|
+
return Tt(this, null, function* () {
|
|
17482
17505
|
var o;
|
|
17483
17506
|
const s = (o = this.scene) == null ? void 0 : o.getBoundingBoxById(t);
|
|
17484
17507
|
if (console.log("focusAtById: ", t, s == null ? void 0 : s.toString()), s) {
|
|
@@ -17488,7 +17511,7 @@ class $w extends sr {
|
|
|
17488
17511
|
});
|
|
17489
17512
|
}
|
|
17490
17513
|
focusAtDummy(t, r = 500) {
|
|
17491
|
-
return
|
|
17514
|
+
return Tt(this, null, function* () {
|
|
17492
17515
|
var u, h;
|
|
17493
17516
|
const s = this.dummiesController.getDummyById(t), o = (u = s == null ? void 0 : s.userData) == null ? void 0 : u.rmId;
|
|
17494
17517
|
if (o) {
|
|
@@ -17505,7 +17528,7 @@ class $w extends sr {
|
|
|
17505
17528
|
});
|
|
17506
17529
|
}
|
|
17507
17530
|
resetCameraByBoundingBox(t, r = !1) {
|
|
17508
|
-
return
|
|
17531
|
+
return Tt(this, null, function* () {
|
|
17509
17532
|
if (!this.camera) return Promise.resolve();
|
|
17510
17533
|
if (!t || t.isEmpty()) throw new Error("BoundingBox empty");
|
|
17511
17534
|
if (!r)
|
|
@@ -17539,7 +17562,7 @@ class $w extends sr {
|
|
|
17539
17562
|
// .start();
|
|
17540
17563
|
// }
|
|
17541
17564
|
animateCamera(t, r) {
|
|
17542
|
-
return
|
|
17565
|
+
return Tt(this, null, function* () {
|
|
17543
17566
|
return this.controller && (this.controller.enabled = !1), this.tween && this.tween.stop(), new Promise((s) => {
|
|
17544
17567
|
this.tween = new cu.Tween(t).to(r, this.animateDuration).easing(cu.Easing.Exponential.Out).onUpdate((o) => {
|
|
17545
17568
|
this.camera.position.set(o.x, o.y), this.camera.scaled.set(o.s, o.s), this.camera.rotation.set(o.r, o.r), this.camera.update();
|
|
@@ -17609,7 +17632,7 @@ class $w extends sr {
|
|
|
17609
17632
|
this.tween && this.tween.update(t);
|
|
17610
17633
|
}
|
|
17611
17634
|
}
|
|
17612
|
-
const Jt = new
|
|
17635
|
+
const Jt = new Mt(), Vn = new k(), ih = new k();
|
|
17613
17636
|
var zn = /* @__PURE__ */ ((i) => (i.SELECTED = "SELECTED", i.POINTEROVER = "POINTEROVER", i.POINTERLEAVE = "POINTERLEAVE", i))(zn || {});
|
|
17614
17637
|
class Gw extends Nh {
|
|
17615
17638
|
constructor(t) {
|
|
@@ -17682,7 +17705,7 @@ class fT extends sr {
|
|
|
17682
17705
|
// @ts-ignore
|
|
17683
17706
|
d(this, "mainScene");
|
|
17684
17707
|
d(this, "zoomToSelectEnable", !1);
|
|
17685
|
-
d(this, "zoomBox", new
|
|
17708
|
+
d(this, "zoomBox", new Mt());
|
|
17686
17709
|
d(this, "selectEnable", !1);
|
|
17687
17710
|
d(this, "multiSelectEnable", !1);
|
|
17688
17711
|
d(this, "fnEnable", !1);
|
|
@@ -17720,13 +17743,13 @@ class fT extends sr {
|
|
|
17720
17743
|
trans2LoadingScene() {
|
|
17721
17744
|
var r, s;
|
|
17722
17745
|
console.log("trans2LoadingScene: ", this.params), this.loadingScene = new $A(this.params), (r = this.scene) == null || r.unmount(), this.scene = this.loadingScene, this.scene.isMounted || this.scene.mount();
|
|
17723
|
-
const t = new
|
|
17746
|
+
const t = new Mt().copy(this.loadingScene.viewBox).expandByVector(new k(1, 1).multiplyScalar(150));
|
|
17724
17747
|
console.log("trans2LoadingScene: ", t.toString()), this.view.setByBox(t, !1), (s = this.mainScene) == null || s.destroy();
|
|
17725
17748
|
}
|
|
17726
17749
|
trans2EmptyScene() {
|
|
17727
17750
|
var r, s;
|
|
17728
17751
|
console.log("trans2EmptyScene: ", this.params), this.emptyScene = new Gw(this.params), (r = this.scene) == null || r.unmount(), this.scene = this.emptyScene, this.scene.isMounted || this.scene.mount();
|
|
17729
|
-
const t = new
|
|
17752
|
+
const t = new Mt().copy(this.emptyScene.viewBox).expandByVector(new k(1, 1).multiplyScalar(150));
|
|
17730
17753
|
console.log("trans2EmptyScene: ", t.toString()), this.view.setByBox(t, !1), (s = this.mainScene) == null || s.destroy();
|
|
17731
17754
|
}
|
|
17732
17755
|
// life cycle
|
|
@@ -17743,7 +17766,7 @@ class fT extends sr {
|
|
|
17743
17766
|
}
|
|
17744
17767
|
// @ts-ignore
|
|
17745
17768
|
load(t, r, s = 2, o) {
|
|
17746
|
-
return
|
|
17769
|
+
return Tt(this, null, function* () {
|
|
17747
17770
|
this.isLoadingScene || this.trans2LoadingScene(), yield Vl(this.params.syncDelay);
|
|
17748
17771
|
const u = yield new Yd().setRequestHeader(this.requestHeader).loadAsync(t).catch(() => {
|
|
17749
17772
|
this.trans2EmptyScene();
|
|
@@ -17752,7 +17775,7 @@ class fT extends sr {
|
|
|
17752
17775
|
});
|
|
17753
17776
|
}
|
|
17754
17777
|
loadByString(t, r, s = 2) {
|
|
17755
|
-
return
|
|
17778
|
+
return Tt(this, null, function* () {
|
|
17756
17779
|
if (this.mainScene = new Nh(this.params), !this.mainScene.bind(t))
|
|
17757
17780
|
return this.trans2EmptyScene(), [];
|
|
17758
17781
|
this.view.setByBox(this.mainScene.viewBox);
|
|
@@ -17800,7 +17823,7 @@ class fT extends sr {
|
|
|
17800
17823
|
return (t = this.scene) == null ? void 0 : t.getSelectedIds();
|
|
17801
17824
|
}
|
|
17802
17825
|
targetByIds(t, r = 100) {
|
|
17803
|
-
return
|
|
17826
|
+
return Tt(this, null, function* () {
|
|
17804
17827
|
var s;
|
|
17805
17828
|
this.scene && ((s = this.scene) == null || s.selectByIds(t, !1), nh.copy(this.scene.getSelectedBoundingBox()).expandByVector(new k(1, 1).multiplyScalar(r)), yield Vl(100), nh.isEmpty() || (yield this.view.setByBox(nh)));
|
|
17806
17829
|
});
|
|
@@ -17882,20 +17905,20 @@ class fT extends sr {
|
|
|
17882
17905
|
(s = this.view) == null || s.focusAt(t, r);
|
|
17883
17906
|
}
|
|
17884
17907
|
focusAtIds(t, r = 100) {
|
|
17885
|
-
return
|
|
17908
|
+
return Tt(this, null, function* () {
|
|
17886
17909
|
if (!this.scene) return;
|
|
17887
17910
|
const s = this.scene.getBoundingBoxByIds(t);
|
|
17888
17911
|
s && (s.expandByVector(new k(1, 1).multiplyScalar(r)), yield Vl(100), s.isEmpty() || (yield this.view.setByBox(s)));
|
|
17889
17912
|
});
|
|
17890
17913
|
}
|
|
17891
17914
|
focusAtById(t, r = 1e3) {
|
|
17892
|
-
return
|
|
17915
|
+
return Tt(this, null, function* () {
|
|
17893
17916
|
var s;
|
|
17894
17917
|
return (s = this.view) == null ? void 0 : s.focusAtById(t, r);
|
|
17895
17918
|
});
|
|
17896
17919
|
}
|
|
17897
17920
|
focusAtDummy(t, r = 1e3) {
|
|
17898
|
-
return
|
|
17921
|
+
return Tt(this, null, function* () {
|
|
17899
17922
|
var s;
|
|
17900
17923
|
return (s = this.view) == null ? void 0 : s.focusAtDummy(t, r);
|
|
17901
17924
|
});
|
|
@@ -17924,6 +17947,14 @@ class fT extends sr {
|
|
|
17924
17947
|
var t;
|
|
17925
17948
|
(t = this.scene) == null || t.chef.fontZoom("asset-labels", 0.9);
|
|
17926
17949
|
}
|
|
17950
|
+
strokeMore() {
|
|
17951
|
+
var t;
|
|
17952
|
+
(t = this.scene) == null || t.chef.strokeWidthChanged(1.1);
|
|
17953
|
+
}
|
|
17954
|
+
strokeLess() {
|
|
17955
|
+
var t;
|
|
17956
|
+
(t = this.scene) == null || t.chef.strokeWidthChanged(0.9);
|
|
17957
|
+
}
|
|
17927
17958
|
zoomToSelectEnableChanged(t) {
|
|
17928
17959
|
this.view.zoomToSelectEnableChanged(t);
|
|
17929
17960
|
}
|
|
@@ -17986,7 +18017,7 @@ class fT extends sr {
|
|
|
17986
18017
|
console.log("App.initializeStart ...");
|
|
17987
18018
|
}
|
|
17988
18019
|
handleInitializeComplete(t) {
|
|
17989
|
-
return
|
|
18020
|
+
return Tt(this, null, function* () {
|
|
17990
18021
|
console.log("App.initializeComplete ...", t), t != null && t.data && this.launch();
|
|
17991
18022
|
});
|
|
17992
18023
|
}
|
|
@@ -17997,8 +18028,8 @@ class fT extends sr {
|
|
|
17997
18028
|
console.log("App.launch ...");
|
|
17998
18029
|
}
|
|
17999
18030
|
}
|
|
18000
|
-
const nh = new
|
|
18001
|
-
var Yw = /* @__PURE__ */ ((i) => (i.SELECTED = "SELECTED", i.POINTEROVER = "pointerover", i.POINTERLEAVE = "pointerleave", i.DRAG_END = "panend", i))(Yw || {}),
|
|
18031
|
+
const nh = new Mt();
|
|
18032
|
+
var Yw = /* @__PURE__ */ ((i) => (i.SELECTED = "SELECTED", i.POINTEROVER = "pointerover", i.POINTERLEAVE = "pointerleave", i.DRAG_END = "panend", i))(Yw || {}), Dt = /* @__PURE__ */ ((i) => (i.INIT = "init", i.LOAD = "load", i.LOADED = "loaded", i.GET_LAYERS = "getLayers", i.GET_ASSET_IDS_BY_TYPE = "getAssetIdsByType", i.SET_FILL_BY_IDS = "setFillByIds", i.CLEAR_FILL = "clearFill", i.SET_STROKE_BY_IDS = "setStrokeByIds", i.CLEAR_STROKE = "clearStroke", i.TERMINATE = "terminate", i.CAMERA_SYNC = "cameraSync", i.ASSET_TYPE_CHANGED = "assetTypeChanged", i.SVG_LOADING_TYPE_CHANGED = "svgLoadingTypeChanged", i.USED_CACHE_CHANGED = "usedCacheChanged", i.DEBOUNCE_CACHE_CHANGED = "debounceCacheChanged", i.WIREFRAME_CHANGED = "wireframeChanged", i.BG_PASS_CHANGED = "bgPass", i.SELECT_ENABLE_CHANGED = "selectEnableChanged", i.MULTI_SELECT_ENABLE_CHANGED = "multiSelectEnableChanged", i.MULTI_SELECT_BY_RANGE = "multiSelectByRange", i.ZOOM_TO_SELECT_ENABLE_CHANGED = "zoomToSelectEnableChanged", i.FONT_ZOOM_IN = "fontZoomIn", i.FONT_ZOOM_OUT = "fontZoomOut", i.STROKE_MORE = "strokeMore", i.STROKE_LESS = "strokeLess", i.CAMERA_CHANGED = "cameraChanged", i.SCENES_CHANGED = "scenesChanged", i.UPDATE_LAYERS_VISIBILITY = "updateLayersVisibility", i.DYNAMIC_LOADED = "dynamicLoaded", i.SYNC_TEXTURE_HELPER_CACHED = "syncTextureHelperCached", i.INITIALIZATION_START = "INITIALIZATION_START", i.INITIALIZATION_COMPLETE = "INITIALIZATION_COMPLETE", i.SELECTED = "selected", i.SELECT_BY_IDS = "selectByIds", i.CLEAR_SELECTED = "clearSelected", i.TARGET_BY_IDS = "targetByIds", i.TAP = "tap", i.SINGLE_TAP = "singletap", i.DOUBLE_TAP = "doubletap", i.PRESS = "press", i.PAN = "pan", i.PAN_START = "panstart", i.PAN_MOVE = "panmove", i.PAN_END = "panend", i.ROTATE = "rotate", i.ROTATE_START = "rotatestart", i.ROTATE_MOVE = "rotatemove", i.ROTATE_END = "rotateend", i.PINCH = "pinch", i.PINCH_START = "pinchstart", i.PINCH_MOVE = "pinchmove", i.PINCH_END = "pinchend", i.PINCH_IN = "pinchin", i.PINCH_OUT = "pinchout", i.SWIPE = "swipe", i))(Dt || {});
|
|
18002
18033
|
class Xw extends zw {
|
|
18003
18034
|
// private multiSelectorSelectedHandler = this.handleMultiSelectorSelected.bind(this);
|
|
18004
18035
|
constructor(t = {}) {
|
|
@@ -18050,8 +18081,8 @@ class Xw extends zw {
|
|
|
18050
18081
|
(t == null ? void 0 : t.type) !== ft.PAN_START && (t == null ? void 0 : t.type) !== ft.WHEEL_START || (this.zoomToSelectEnable || this.multiSelectEnable) && (Qo.copy(t.data.screenCoords), fn.makeEmpty().expandByPoint(Qo), this.graph.draw(fn));
|
|
18051
18082
|
}
|
|
18052
18083
|
handlePanEnd(t) {
|
|
18053
|
-
return
|
|
18054
|
-
(t == null ? void 0 : t.type) !== ft.PAN_END && (t == null ? void 0 : t.type) !== ft.WHEEL_END || ((this.zoomToSelectEnable || this.multiSelectEnable) && (Ko.copy(t.data.screenCoords), fn.makeEmpty().expandByPoint(Qo).expandByPoint(Ko).unproject(this.controller.camera), this.graph.hide()), this.zoomToSelectEnable && (yield this.resetCameraByBoundingBox(fn, !0)), this.multiSelectEnable && this.dispatchEvent({ type:
|
|
18084
|
+
return Tt(this, null, function* () {
|
|
18085
|
+
(t == null ? void 0 : t.type) !== ft.PAN_END && (t == null ? void 0 : t.type) !== ft.WHEEL_END || ((this.zoomToSelectEnable || this.multiSelectEnable) && (Ko.copy(t.data.screenCoords), fn.makeEmpty().expandByPoint(Qo).expandByPoint(Ko).unproject(this.controller.camera), this.graph.hide()), this.zoomToSelectEnable && (yield this.resetCameraByBoundingBox(fn, !0)), this.multiSelectEnable && this.dispatchEvent({ type: Dt.MULTI_SELECT_BY_RANGE, data: fn.clone() }), fn.makeEmpty());
|
|
18055
18086
|
});
|
|
18056
18087
|
}
|
|
18057
18088
|
handleControllerPanMove(t) {
|
|
@@ -18067,7 +18098,7 @@ class Xw extends zw {
|
|
|
18067
18098
|
console.warn("handleCameraChanged: ", t.target.camera.position.z, t.target.camera.scaled.x);
|
|
18068
18099
|
}
|
|
18069
18100
|
}
|
|
18070
|
-
const Qo = new k(), Ko = new k(), fn = new
|
|
18101
|
+
const Qo = new k(), Ko = new k(), fn = new Mt();
|
|
18071
18102
|
function ad(i) {
|
|
18072
18103
|
return !!(i && i.constructor && i.call && i.apply);
|
|
18073
18104
|
}
|
|
@@ -18306,7 +18337,7 @@ d(Je, "cached", /* @__PURE__ */ new Map()), d(Je, "precisionOptimized", !0), d(J
|
|
|
18306
18337
|
iT(r, Je.cached);
|
|
18307
18338
|
}, 5e3));
|
|
18308
18339
|
let fu = Je;
|
|
18309
|
-
const od = new k(10, 10), xa = new k(), Ea = new k(), Ri = new k(), oi = new k(), jo = new k(), Aa = new k(), ui = new k(), Pi = new k(), Jo = new
|
|
18340
|
+
const od = new k(10, 10), xa = new k(), Ea = new k(), Ri = new k(), oi = new k(), jo = new k(), Aa = new k(), ui = new k(), Pi = new k(), Jo = new Mt(), ud = new k(), tT = new k(), ld = new k();
|
|
18310
18341
|
function eT() {
|
|
18311
18342
|
return window.document.getElementById("DEBUG_Displaycached");
|
|
18312
18343
|
}
|
|
@@ -18371,7 +18402,7 @@ class pT extends sr {
|
|
|
18371
18402
|
// worker: Worker = new RenderWorker();
|
|
18372
18403
|
d(this, "worker");
|
|
18373
18404
|
d(this, "view");
|
|
18374
|
-
d(this, "boundingBox", new
|
|
18405
|
+
d(this, "boundingBox", new Mt());
|
|
18375
18406
|
d(this, "viewTapHandler", this.handleViewTap.bind(this));
|
|
18376
18407
|
d(this, "multiSelectByRangeHandler", this.handleMultiSelectByRange.bind(this));
|
|
18377
18408
|
// // readonly runningHandler = this.running.bind(this);
|
|
@@ -18385,37 +18416,37 @@ class pT extends sr {
|
|
|
18385
18416
|
this.cvs = s.transferControlToOffscreen(), this.view = new Xw(t), this.view.camera.name = "mainCamera", this.view.camera.resize(), this.worker = r, this.bindEvents();
|
|
18386
18417
|
}
|
|
18387
18418
|
destroy() {
|
|
18388
|
-
super.destroy(), this.unbindEvents(), this.worker.postMessage({ task:
|
|
18419
|
+
super.destroy(), this.unbindEvents(), this.worker.postMessage({ task: Dt.TERMINATE }), this.worker.terminate();
|
|
18389
18420
|
}
|
|
18390
18421
|
// ========================= events
|
|
18391
18422
|
bindEvents() {
|
|
18392
18423
|
var t, r, s, o, u;
|
|
18393
|
-
(r = (t = this.view) == null ? void 0 : t.controller) == null || r.addEventListener(ft.TAP, this.viewTapHandler), (s = this.view) == null || s.addEventListener(
|
|
18424
|
+
(r = (t = this.view) == null ? void 0 : t.controller) == null || r.addEventListener(ft.TAP, this.viewTapHandler), (s = this.view) == null || s.addEventListener(Dt.MULTI_SELECT_BY_RANGE, this.multiSelectByRangeHandler), (u = (o = this.view) == null ? void 0 : o.camera) == null || u.addEventListener(uu.UPDATE, this.cameraHandler), this.worker.addEventListener("message", this.workerMessageHandler);
|
|
18394
18425
|
}
|
|
18395
18426
|
unbindEvents() {
|
|
18396
18427
|
var t, r, s, o;
|
|
18397
18428
|
(r = (t = this.view) == null ? void 0 : t.controller) == null || r.removeEventListener(ft.TAP, this.viewTapHandler), (o = (s = this.view) == null ? void 0 : s.controller) == null || o.removeEventListener(ft.CAMERA_CHANGED, this.cameraHandler), this.worker.removeEventListener("message", this.workerMessageHandler);
|
|
18398
18429
|
}
|
|
18399
18430
|
handleViewTap(t) {
|
|
18400
|
-
return
|
|
18431
|
+
return Tt(this, null, function* () {
|
|
18401
18432
|
if ((t == null ? void 0 : t.type) !== ft.TAP) return;
|
|
18402
|
-
const r = yield this.promiseWorkerResponse(
|
|
18403
|
-
this.dispatchEvent({ type:
|
|
18433
|
+
const r = yield this.promiseWorkerResponse(Dt.TAP, t.data);
|
|
18434
|
+
this.dispatchEvent({ type: Dt.SELECTED, data: r });
|
|
18404
18435
|
});
|
|
18405
18436
|
}
|
|
18406
18437
|
handleWorkerMessage(t) {
|
|
18407
18438
|
var r, s, o, u, h, c;
|
|
18408
18439
|
switch (t.data.task) {
|
|
18409
|
-
case
|
|
18440
|
+
case Dt.CAMERA_SYNC:
|
|
18410
18441
|
if (!((r = t == null ? void 0 : t.data) != null && r.data)) break;
|
|
18411
18442
|
const y = JSON.parse(t.data.data);
|
|
18412
18443
|
(o = (s = this.view) == null ? void 0 : s.camera) == null || o.fromJSON(y), this.view.camera.computeBoundingBox();
|
|
18413
18444
|
break;
|
|
18414
|
-
case
|
|
18445
|
+
case Dt.CAMERA_CHANGED:
|
|
18415
18446
|
const { t: p, r: A, s: T } = t.data.data;
|
|
18416
18447
|
(h = (u = this.view) == null ? void 0 : u.camera) == null || h.setTRS(p, A, T);
|
|
18417
18448
|
break;
|
|
18418
|
-
case
|
|
18449
|
+
case Dt.SCENES_CHANGED:
|
|
18419
18450
|
const { box: C } = t.data.data;
|
|
18420
18451
|
if (!C) return;
|
|
18421
18452
|
this.boundingBox.fromString(C);
|
|
@@ -18429,7 +18460,7 @@ class pT extends sr {
|
|
|
18429
18460
|
}
|
|
18430
18461
|
}
|
|
18431
18462
|
handleCameraChanged(t) {
|
|
18432
|
-
this.worker.postMessage({ task:
|
|
18463
|
+
this.worker.postMessage({ task: Dt.CAMERA_CHANGED, data: t.data });
|
|
18433
18464
|
}
|
|
18434
18465
|
promiseWorkerResponse(t, r) {
|
|
18435
18466
|
return new Promise((s, o) => {
|
|
@@ -18443,8 +18474,8 @@ class pT extends sr {
|
|
|
18443
18474
|
});
|
|
18444
18475
|
}
|
|
18445
18476
|
handleMultiSelectByRange(t) {
|
|
18446
|
-
return
|
|
18447
|
-
return this.promiseWorkerResponse(
|
|
18477
|
+
return Tt(this, null, function* () {
|
|
18478
|
+
return this.promiseWorkerResponse(Dt.MULTI_SELECT_BY_RANGE, t.data);
|
|
18448
18479
|
});
|
|
18449
18480
|
}
|
|
18450
18481
|
// local events
|
|
@@ -18453,54 +18484,54 @@ class pT extends sr {
|
|
|
18453
18484
|
(t = this.view.camera) == null || t.resize();
|
|
18454
18485
|
}
|
|
18455
18486
|
load(t, r) {
|
|
18456
|
-
return
|
|
18457
|
-
return this.promiseWorkerResponse(
|
|
18487
|
+
return Tt(this, null, function* () {
|
|
18488
|
+
return this.promiseWorkerResponse(Dt.LOAD, { url: t, layers: r });
|
|
18458
18489
|
});
|
|
18459
18490
|
}
|
|
18460
18491
|
getLayers(t = 2) {
|
|
18461
|
-
return
|
|
18462
|
-
return this.promiseWorkerResponse(
|
|
18492
|
+
return Tt(this, null, function* () {
|
|
18493
|
+
return this.promiseWorkerResponse(Dt.GET_LAYERS, { lv: t });
|
|
18463
18494
|
});
|
|
18464
18495
|
}
|
|
18465
18496
|
// ========================= params
|
|
18466
18497
|
assetTypeChanged(t = vr.RM) {
|
|
18467
|
-
this.params.assetType = t, this.worker.postMessage({ task:
|
|
18498
|
+
this.params.assetType = t, this.worker.postMessage({ task: Dt.ASSET_TYPE_CHANGED, data: t });
|
|
18468
18499
|
}
|
|
18469
18500
|
usedCacheChanged(t = !1) {
|
|
18470
|
-
this.params.usedCache = t, this.worker.postMessage({ task:
|
|
18501
|
+
this.params.usedCache = t, this.worker.postMessage({ task: Dt.USED_CACHE_CHANGED, data: t });
|
|
18471
18502
|
}
|
|
18472
18503
|
debounceCacheChanged(t = !1) {
|
|
18473
|
-
this.params.debounceCache = t, this.worker.postMessage({ task:
|
|
18504
|
+
this.params.debounceCache = t, this.worker.postMessage({ task: Dt.DEBOUNCE_CACHE_CHANGED, data: t });
|
|
18474
18505
|
}
|
|
18475
18506
|
wireframeChanged(t = !1) {
|
|
18476
|
-
this.params.wireframe = t, this.worker.postMessage({ task:
|
|
18507
|
+
this.params.wireframe = t, this.worker.postMessage({ task: Dt.WIREFRAME_CHANGED, data: t });
|
|
18477
18508
|
}
|
|
18478
18509
|
bgPassChanged(t = !1) {
|
|
18479
|
-
this.params.bgPass = t, this.worker.postMessage({ task:
|
|
18510
|
+
this.params.bgPass = t, this.worker.postMessage({ task: Dt.BG_PASS_CHANGED, data: t });
|
|
18480
18511
|
}
|
|
18481
18512
|
selectEnableChanged(t = !1) {
|
|
18482
|
-
return
|
|
18483
|
-
yield this.clearSelected(), this.params.selectEnable = t, this.worker.postMessage({ task:
|
|
18513
|
+
return Tt(this, null, function* () {
|
|
18514
|
+
yield this.clearSelected(), this.params.selectEnable = t, this.worker.postMessage({ task: Dt.SELECT_ENABLE_CHANGED, data: t });
|
|
18484
18515
|
});
|
|
18485
18516
|
}
|
|
18486
18517
|
multiSelectEnableChanged(t = !1) {
|
|
18487
|
-
return
|
|
18488
|
-
yield this.clearSelected(), this.params.multiSelectEnable = t, this.view.multiSelectEnableChanged(t), this.worker.postMessage({ task:
|
|
18518
|
+
return Tt(this, null, function* () {
|
|
18519
|
+
yield this.clearSelected(), this.params.multiSelectEnable = t, this.view.multiSelectEnableChanged(t), this.worker.postMessage({ task: Dt.MULTI_SELECT_ENABLE_CHANGED, data: t });
|
|
18489
18520
|
});
|
|
18490
18521
|
}
|
|
18491
18522
|
zoomToSelectEnableChanged(t = !1) {
|
|
18492
|
-
return
|
|
18493
|
-
return this.params.zoomToSelectEnable = t, this.view.zoomToSelectEnableChanged(t), this.promiseWorkerResponse(
|
|
18523
|
+
return Tt(this, null, function* () {
|
|
18524
|
+
return this.params.zoomToSelectEnable = t, this.view.zoomToSelectEnableChanged(t), this.promiseWorkerResponse(Dt.ZOOM_TO_SELECT_ENABLE_CHANGED, { data: t });
|
|
18494
18525
|
});
|
|
18495
18526
|
}
|
|
18496
18527
|
svgLoadingTypeChanged(t) {
|
|
18497
|
-
return
|
|
18498
|
-
return this.params.svgLoadingType = t, this.promiseWorkerResponse(
|
|
18528
|
+
return Tt(this, null, function* () {
|
|
18529
|
+
return this.params.svgLoadingType = t, this.promiseWorkerResponse(Dt.SVG_LOADING_TYPE_CHANGED, t);
|
|
18499
18530
|
});
|
|
18500
18531
|
}
|
|
18501
18532
|
// ========================= view
|
|
18502
18533
|
fullscreen() {
|
|
18503
|
-
return
|
|
18534
|
+
return Tt(this, null, function* () {
|
|
18504
18535
|
yield this.view.resetCameraByBoundingBox(this.boundingBox, !0);
|
|
18505
18536
|
});
|
|
18506
18537
|
}
|
|
@@ -18515,48 +18546,58 @@ class pT extends sr {
|
|
|
18515
18546
|
}
|
|
18516
18547
|
// ========================= assets
|
|
18517
18548
|
updateLayersVisibility(t, r = !1) {
|
|
18518
|
-
this.worker.postMessage({ task:
|
|
18549
|
+
this.worker.postMessage({ task: Dt.UPDATE_LAYERS_VISIBILITY, data: { ids: t, visible: r } });
|
|
18519
18550
|
}
|
|
18520
18551
|
clearSelected(t) {
|
|
18521
|
-
return this.promiseWorkerResponse(
|
|
18552
|
+
return this.promiseWorkerResponse(Dt.CLEAR_SELECTED, { data: t });
|
|
18522
18553
|
}
|
|
18523
18554
|
selectByIds(t) {
|
|
18524
|
-
this.worker.postMessage({ task:
|
|
18555
|
+
this.worker.postMessage({ task: Dt.SELECT_BY_IDS, data: t });
|
|
18525
18556
|
}
|
|
18526
18557
|
targetByIds(t) {
|
|
18527
|
-
this.worker.postMessage({ task:
|
|
18558
|
+
this.worker.postMessage({ task: Dt.TARGET_BY_IDS, data: t });
|
|
18528
18559
|
}
|
|
18529
18560
|
getAssetIdsByType(t) {
|
|
18530
|
-
return
|
|
18531
|
-
return this.promiseWorkerResponse(
|
|
18561
|
+
return Tt(this, null, function* () {
|
|
18562
|
+
return this.promiseWorkerResponse(Dt.GET_ASSET_IDS_BY_TYPE, { assetType: t });
|
|
18532
18563
|
});
|
|
18533
18564
|
}
|
|
18534
18565
|
setFillByIds(t, r) {
|
|
18535
|
-
this.worker.postMessage({ task:
|
|
18566
|
+
this.worker.postMessage({ task: Dt.SET_FILL_BY_IDS, data: { ids: t, c: r } });
|
|
18536
18567
|
}
|
|
18537
18568
|
clearFill() {
|
|
18538
|
-
this.worker.postMessage({ task:
|
|
18569
|
+
this.worker.postMessage({ task: Dt.CLEAR_FILL });
|
|
18539
18570
|
}
|
|
18540
18571
|
setStrokeByIds(t, r) {
|
|
18541
|
-
this.worker.postMessage({ task:
|
|
18572
|
+
this.worker.postMessage({ task: Dt.SET_STROKE_BY_IDS, data: { ids: t, c: r } });
|
|
18542
18573
|
}
|
|
18543
18574
|
clearStroke() {
|
|
18544
|
-
this.worker.postMessage({ task:
|
|
18575
|
+
this.worker.postMessage({ task: Dt.CLEAR_STROKE });
|
|
18545
18576
|
}
|
|
18546
18577
|
fontZoomIn(t = 1.1) {
|
|
18547
|
-
return
|
|
18548
|
-
return this.promiseWorkerResponse(
|
|
18578
|
+
return Tt(this, null, function* () {
|
|
18579
|
+
return this.promiseWorkerResponse(Dt.FONT_ZOOM_IN, t);
|
|
18549
18580
|
});
|
|
18550
18581
|
}
|
|
18551
18582
|
fontZoomOut(t = 0.9) {
|
|
18552
|
-
return
|
|
18553
|
-
return this.promiseWorkerResponse(
|
|
18583
|
+
return Tt(this, null, function* () {
|
|
18584
|
+
return this.promiseWorkerResponse(Dt.FONT_ZOOM_OUT, t);
|
|
18585
|
+
});
|
|
18586
|
+
}
|
|
18587
|
+
strokeMore(t = 1.1) {
|
|
18588
|
+
return Tt(this, null, function* () {
|
|
18589
|
+
return this.promiseWorkerResponse(Dt.STROKE_MORE, t);
|
|
18590
|
+
});
|
|
18591
|
+
}
|
|
18592
|
+
strokeLess(t = 0.9) {
|
|
18593
|
+
return Tt(this, null, function* () {
|
|
18594
|
+
return this.promiseWorkerResponse(Dt.STROKE_LESS, t);
|
|
18554
18595
|
});
|
|
18555
18596
|
}
|
|
18556
18597
|
// ========================= life cycle
|
|
18557
18598
|
start() {
|
|
18558
18599
|
const t = this.cvs, r = JSON.stringify(this.params);
|
|
18559
|
-
this.worker.postMessage({ task:
|
|
18600
|
+
this.worker.postMessage({ task: Dt.INIT, data: { cvs: t, config: r } }, [t]), requestAnimationFrame(this.runningHandler);
|
|
18560
18601
|
}
|
|
18561
18602
|
running(t) {
|
|
18562
18603
|
var r;
|
|
@@ -18593,13 +18634,13 @@ export {
|
|
|
18593
18634
|
dT as EnvironmentWorker,
|
|
18594
18635
|
zt as GLOB,
|
|
18595
18636
|
mu as LayerTypeEnum,
|
|
18596
|
-
|
|
18637
|
+
Ma as Monitor,
|
|
18597
18638
|
gT as RendererWorker,
|
|
18598
18639
|
fT as SvgApp,
|
|
18599
18640
|
uT as Vector2,
|
|
18600
18641
|
NE as assetTypeConflicts,
|
|
18601
18642
|
Lx as defaultConfig,
|
|
18602
18643
|
tu as getAssetLabelByType,
|
|
18603
|
-
|
|
18644
|
+
wa as getAssetLayerByType,
|
|
18604
18645
|
Vl as randomDelay
|
|
18605
18646
|
};
|