chbim-plugins 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chbim-plugins.js +676 -673
- package/chbim-plugins.umd.cjs +17 -17
- package/package.json +1 -1
package/chbim-plugins.js
CHANGED
|
@@ -329,15 +329,15 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
|
-
var
|
|
332
|
+
var N = function(E, L, w, M) {
|
|
333
333
|
L = L !== !1, w = w !== !1, M = M !== !1;
|
|
334
334
|
for (var R, C, U = D(M), F = L && w && M, X = U.length; --X > -1; )
|
|
335
335
|
C = U[X], (F || C instanceof a || (R = C.target === C.vars.onComplete) && w || L && !R) && C.paused(E);
|
|
336
336
|
};
|
|
337
337
|
return u.pauseAll = function(E, L, w) {
|
|
338
|
-
|
|
338
|
+
N(!0, E, L, w);
|
|
339
339
|
}, u.resumeAll = function(E, L, w) {
|
|
340
|
-
|
|
340
|
+
N(!1, E, L, w);
|
|
341
341
|
}, u.globalTimeScale = function(E) {
|
|
342
342
|
var L = x._rootTimeline, w = o.ticker.time;
|
|
343
343
|
return arguments.length ? (E = E || m, L._startTime = w - (w - L._startTime) * L._timeScale / E, L = x._rootFramesTimeline, w = o.ticker.frame, L._startTime = w - (w - L._startTime) * L._timeScale / E, L._timeScale = x._rootTimeline._timeScale = E, E) : L._timeScale;
|
|
@@ -385,7 +385,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
385
385
|
for (C in F)
|
|
386
386
|
U = F[C], w[C] = typeof U == "function" ? U(R, M[R]) : U[R % U.length];
|
|
387
387
|
delete w.cycle;
|
|
388
|
-
},
|
|
388
|
+
}, N = m.pauseCallback = function() {
|
|
389
389
|
}, E = function(w) {
|
|
390
390
|
var M, R = [], C = w.length;
|
|
391
391
|
for (M = 0; M !== C; R.push(w[M++]))
|
|
@@ -473,7 +473,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
473
473
|
}, L.addLabel = function(w, M) {
|
|
474
474
|
return this._labels[w] = this._parseTimeOrLabel(M), this;
|
|
475
475
|
}, L.addPause = function(w, M, R, C) {
|
|
476
|
-
var U = o.delayedCall(0,
|
|
476
|
+
var U = o.delayedCall(0, N, R, C || this);
|
|
477
477
|
return U.vars.onComplete = U.vars.onReverseComplete = M, U.data = "isPause", this._hasPause = !0, this.add(U, w);
|
|
478
478
|
}, L.removeLabel = function(w) {
|
|
479
479
|
return delete this._labels[w], this;
|
|
@@ -660,28 +660,28 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
660
660
|
}, f = 1e-10, u = a._internals, m = u.lazyTweens, g = u.lazyRender, y = hn._gsDefine.globals, S = new o(null, null, 1, 0), b = c.prototype = new x();
|
|
661
661
|
return b.constructor = c, b.kill()._gc = !1, c.version = "2.0.2", b.invalidate = function() {
|
|
662
662
|
return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), x.prototype.invalidate.call(this);
|
|
663
|
-
}, b.addCallback = function(O, k, D,
|
|
664
|
-
return this.add(a.delayedCall(0, O, D,
|
|
663
|
+
}, b.addCallback = function(O, k, D, N) {
|
|
664
|
+
return this.add(a.delayedCall(0, O, D, N), k);
|
|
665
665
|
}, b.removeCallback = function(O, k) {
|
|
666
666
|
if (O)
|
|
667
667
|
if (k == null)
|
|
668
668
|
this._kill(null, O);
|
|
669
669
|
else
|
|
670
|
-
for (var D = this.getTweensOf(O, !1),
|
|
671
|
-
D[
|
|
670
|
+
for (var D = this.getTweensOf(O, !1), N = D.length, E = this._parseTimeOrLabel(k); --N > -1; )
|
|
671
|
+
D[N]._startTime === E && D[N]._enabled(!1, !1);
|
|
672
672
|
return this;
|
|
673
673
|
}, b.removePause = function(O) {
|
|
674
674
|
return this.removeCallback(x._internals.pauseCallback, O);
|
|
675
675
|
}, b.tweenTo = function(O, k) {
|
|
676
676
|
k = k || {};
|
|
677
|
-
var D,
|
|
677
|
+
var D, N, E, L = {
|
|
678
678
|
ease: S,
|
|
679
679
|
useFrames: this.usesFrames(),
|
|
680
680
|
immediateRender: !1,
|
|
681
681
|
lazy: !1
|
|
682
682
|
}, w = k.repeat && y.TweenMax || a;
|
|
683
|
-
for (
|
|
684
|
-
L[
|
|
683
|
+
for (N in k)
|
|
684
|
+
L[N] = k[N];
|
|
685
685
|
return L.time = this._parseTimeOrLabel(O), D = Math.abs(Number(L.time) - this._time) / this._timeScale || 1e-3, E = new w(this, D, L), L.onStart = function() {
|
|
686
686
|
E.target.paused(!0), E.vars.time === E.target.time() || D !== E.duration() || E.isFromTo || E.duration(
|
|
687
687
|
Math.abs(E.vars.time - E.target.time()) / E.target._timeScale
|
|
@@ -696,11 +696,11 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
696
696
|
onCompleteParams: [O],
|
|
697
697
|
callbackScope: this
|
|
698
698
|
}, D.immediateRender = D.immediateRender !== !1;
|
|
699
|
-
var
|
|
700
|
-
return
|
|
699
|
+
var N = this.tweenTo(k, D);
|
|
700
|
+
return N.isFromTo = 1, N.duration(Math.abs(N.vars.time - O) / this._timeScale || 1e-3);
|
|
701
701
|
}, b.render = function(O, k, D) {
|
|
702
702
|
this._gc && this._enabled(!0, !1);
|
|
703
|
-
var
|
|
703
|
+
var N, E, L, w, M, R, C, U, F = this._time, X = this._dirty ? this.totalDuration() : this._totalDuration, K = this._duration, Z = this._totalTime, ct = this._startTime, Rt = this._timeScale, tt = this._rawPrevTime, _t = this._paused, G = this._cycle;
|
|
704
704
|
if (F !== this._time && (O += this._time - F), O >= X - 1e-7 && O >= 0)
|
|
705
705
|
this._locked || (this._totalTime = X, this._cycle = this._repeat), this._reversed || this._hasPausedChild() || (E = !0, w = "onComplete", M = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= O && O >= -1e-7 || 0 > tt || tt === f) && tt !== O && this._first && (M = !0, tt > f && (w = "onReverseComplete"))), this._rawPrevTime = this._duration || !k || O || this._rawPrevTime === O ? O : f, this._yoyo && 1 & this._cycle ? this._time = O = 0 : (this._time = K, O = K + 1e-4);
|
|
706
706
|
else if (1e-7 > O)
|
|
@@ -708,17 +708,17 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
708
708
|
this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (M = E = !0, w = "onReverseComplete") : tt >= 0 && this._first && (M = !0), this._rawPrevTime = O;
|
|
709
709
|
else {
|
|
710
710
|
if (this._rawPrevTime = K || !k || O || this._rawPrevTime === O ? O : f, O === 0 && E)
|
|
711
|
-
for (
|
|
712
|
-
|
|
711
|
+
for (N = this._first; N && N._startTime === 0; )
|
|
712
|
+
N._duration || (E = !1), N = N._next;
|
|
713
713
|
O = 0, this._initted || (M = !0);
|
|
714
714
|
}
|
|
715
715
|
else if (K === 0 && 0 > tt && (M = !0), this._time = this._rawPrevTime = O, this._locked || (this._totalTime = O, this._repeat !== 0 && (R = K + this._repeatDelay, this._cycle = this._totalTime / R >> 0, this._cycle !== 0 && this._cycle === this._totalTime / R && O >= Z && this._cycle--, this._time = this._totalTime - this._cycle * R, this._yoyo && 1 & this._cycle && (this._time = K - this._time), this._time > K ? (this._time = K, O = K + 1e-4) : this._time < 0 ? this._time = O = 0 : O = this._time)), this._hasPause && !this._forcingPlayhead && !k) {
|
|
716
716
|
if (O = this._time, O >= F || this._repeat && G !== this._cycle)
|
|
717
|
-
for (
|
|
718
|
-
|
|
717
|
+
for (N = this._first; N && N._startTime <= O && !C; )
|
|
718
|
+
N._duration || N.data !== "isPause" || N.ratio || N._startTime === 0 && this._rawPrevTime === 0 || (C = N), N = N._next;
|
|
719
719
|
else
|
|
720
|
-
for (
|
|
721
|
-
|
|
720
|
+
for (N = this._last; N && N._startTime >= O && !C; )
|
|
721
|
+
N._duration || N.data === "isPause" && N._rawPrevTime > 0 && (C = N), N = N._prev;
|
|
722
722
|
C && C._startTime < K && (this._time = O = C._startTime, this._totalTime = O + this._cycle * (this._totalDuration + this._repeatDelay));
|
|
723
723
|
}
|
|
724
724
|
if (this._cycle !== G && !this._locked) {
|
|
@@ -730,17 +730,17 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
730
730
|
if (!(this._time !== F && this._first || D || M || C))
|
|
731
731
|
return void (Z !== this._totalTime && this._onUpdate && (k || this._callback("onUpdate")));
|
|
732
732
|
if (this._initted || (this._initted = !0), this._active || !this._paused && this._totalTime !== Z && O > 0 && (this._active = !0), Z === 0 && this.vars.onStart && (this._totalTime === 0 && this._totalDuration || k || this._callback("onStart")), U = this._time, U >= F)
|
|
733
|
-
for (
|
|
734
|
-
(
|
|
735
|
-
(
|
|
733
|
+
for (N = this._first; N && (L = N._next, U === this._time && (!this._paused || _t)); )
|
|
734
|
+
(N._active || N._startTime <= this._time && !N._paused && !N._gc) && (C === N && this.pause(), N._reversed ? N.render(
|
|
735
|
+
(N._dirty ? N.totalDuration() : N._totalDuration) - (O - N._startTime) * N._timeScale,
|
|
736
736
|
k,
|
|
737
737
|
D
|
|
738
|
-
) :
|
|
738
|
+
) : N.render((O - N._startTime) * N._timeScale, k, D)), N = L;
|
|
739
739
|
else
|
|
740
|
-
for (
|
|
741
|
-
if (
|
|
742
|
-
if (C ===
|
|
743
|
-
for (C =
|
|
740
|
+
for (N = this._last; N && (L = N._prev, U === this._time && (!this._paused || _t)); ) {
|
|
741
|
+
if (N._active || N._startTime <= F && !N._paused && !N._gc) {
|
|
742
|
+
if (C === N) {
|
|
743
|
+
for (C = N._prev; C && C.endTime() > this._time; )
|
|
744
744
|
C.render(
|
|
745
745
|
C._reversed ? C.totalDuration() - (O - C._startTime) * C._timeScale : (O - C._startTime) * C._timeScale,
|
|
746
746
|
k,
|
|
@@ -748,25 +748,25 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
748
748
|
), C = C._prev;
|
|
749
749
|
C = null, this.pause();
|
|
750
750
|
}
|
|
751
|
-
|
|
752
|
-
(
|
|
751
|
+
N._reversed ? N.render(
|
|
752
|
+
(N._dirty ? N.totalDuration() : N._totalDuration) - (O - N._startTime) * N._timeScale,
|
|
753
753
|
k,
|
|
754
754
|
D
|
|
755
|
-
) :
|
|
755
|
+
) : N.render((O - N._startTime) * N._timeScale, k, D);
|
|
756
756
|
}
|
|
757
|
-
|
|
757
|
+
N = L;
|
|
758
758
|
}
|
|
759
759
|
this._onUpdate && (k || (m.length && g(), this._callback("onUpdate"))), w && (this._locked || this._gc || (ct === this._startTime || Rt !== this._timeScale) && (this._time === 0 || X >= this.totalDuration()) && (E && (m.length && g(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !k && this.vars[w] && this._callback(w)));
|
|
760
760
|
}, b.getActive = function(O, k, D) {
|
|
761
761
|
O == null && (O = !0), k == null && (k = !0), D == null && (D = !1);
|
|
762
|
-
var
|
|
763
|
-
for (
|
|
764
|
-
E = w[
|
|
762
|
+
var N, E, L = [], w = this.getChildren(O, k, D), M = 0, R = w.length;
|
|
763
|
+
for (N = 0; R > N; N++)
|
|
764
|
+
E = w[N], E.isActive() && (L[M++] = E);
|
|
765
765
|
return L;
|
|
766
766
|
}, b.getLabelAfter = function(O) {
|
|
767
767
|
O || O !== 0 && (O = this._time);
|
|
768
|
-
var k, D = this.getLabelsArray(),
|
|
769
|
-
for (k = 0;
|
|
768
|
+
var k, D = this.getLabelsArray(), N = D.length;
|
|
769
|
+
for (k = 0; N > k; k++)
|
|
770
770
|
if (D[k].time > O)
|
|
771
771
|
return D[k].name;
|
|
772
772
|
return null;
|
|
@@ -780,8 +780,8 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
780
780
|
var O, k = [], D = 0;
|
|
781
781
|
for (O in this._labels)
|
|
782
782
|
k[D++] = { time: this._labels[O], name: O };
|
|
783
|
-
return k.sort(function(
|
|
784
|
-
return
|
|
783
|
+
return k.sort(function(N, E) {
|
|
784
|
+
return N.time - E.time;
|
|
785
785
|
}), k;
|
|
786
786
|
}, b.invalidate = function() {
|
|
787
787
|
return this._locked = !1, x.prototype.invalidate.call(this);
|
|
@@ -875,7 +875,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
875
875
|
for (var C, U, F, X, K, Z, ct, Rt, tt, _t, G, Pt = 1 / R, Et = w.length; --Et > -1; )
|
|
876
876
|
for (_t = w[Et], F = _t.a, X = _t.d - F, K = _t.c - F, Z = _t.b - F, C = U = 0, Rt = 1; R >= Rt; Rt++)
|
|
877
877
|
ct = Pt * Rt, tt = 1 - ct, C = U - (U = (ct * ct * X + 3 * tt * (ct * K + tt * Z)) * ct), G = Et * R + Rt - 1, M[G] = (M[G] || 0) + C * C;
|
|
878
|
-
},
|
|
878
|
+
}, N = function(w, M) {
|
|
879
879
|
M = M >> 0 || 6;
|
|
880
880
|
var R, C, U, F, X = [], K = [], Z = 0, ct = 0, Rt = M - 1, tt = [], _t = [];
|
|
881
881
|
for (R in w)
|
|
@@ -905,7 +905,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
905
905
|
M.correlate,
|
|
906
906
|
K
|
|
907
907
|
) : k(Z, M.type, ct), this._segCount = this._beziers[C].length, this._timeRes) {
|
|
908
|
-
var _t =
|
|
908
|
+
var _t = N(this._beziers, this._timeRes);
|
|
909
909
|
this._length = _t.length, this._lengths = _t.lengths, this._segments = _t.segments, this._l1 = this._li = this._s1 = this._si = 0, this._l2 = this._lengths[0], this._curSeg = this._segments[0], this._s2 = this._curSeg[0], this._prec = 1 / this._curSeg.length;
|
|
910
910
|
}
|
|
911
911
|
if (tt = this._autoRotate)
|
|
@@ -1003,7 +1003,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1003
1003
|
perspective: S,
|
|
1004
1004
|
lineHeight: ""
|
|
1005
1005
|
};
|
|
1006
|
-
var b, O, k, D,
|
|
1006
|
+
var b, O, k, D, N, E, L, w, M = /(?:\-|\.|\b)(\d|\.|e\-)+/g, R = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, C = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, U = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, F = /(?:\d|\-|\+|=|#|\.)*/g, X = /opacity *= *([^)]*)/i, K = /opacity:([^;]*)/i, Z = /alpha\(opacity *=.+?\)/i, ct = /^(rgb|hsl)/, Rt = /([A-Z])/g, tt = /-([a-z])/gi, _t = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, G = function(V, et) {
|
|
1007
1007
|
return et.toUpperCase();
|
|
1008
1008
|
}, Pt = /(?:Left|Right|Width)/i, Et = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, At = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, ce = /,(?=[^\)]*(?:\(|$))/gi, re = /[\s,\(]/i, Ft = Math.PI / 180, It = 180 / Math.PI, Nt = {}, Pe = { style: {} }, pe = hn.document || {
|
|
1009
1009
|
createElement: function() {
|
|
@@ -1013,7 +1013,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1013
1013
|
return pe.createElementNS ? pe.createElementNS(et || "http://www.w3.org/1999/xhtml", V) : pe.createElement(V);
|
|
1014
1014
|
}, $e = Wt("div"), Mi = Wt("img"), Oe = m._internals = { _specialProps: y }, Ge = (hn.navigator || {}).userAgent || "", di = function() {
|
|
1015
1015
|
var V = Ge.indexOf("Android"), et = Wt("a");
|
|
1016
|
-
return k = Ge.indexOf("Safari") !== -1 && Ge.indexOf("Chrome") === -1 && (V === -1 || parseFloat(Ge.substr(V + 8, 2)) > 3),
|
|
1016
|
+
return k = Ge.indexOf("Safari") !== -1 && Ge.indexOf("Chrome") === -1 && (V === -1 || parseFloat(Ge.substr(V + 8, 2)) > 3), N = k && parseFloat(Ge.substr(Ge.indexOf("Version/") + 8, 2)) < 6, D = Ge.indexOf("Firefox") !== -1, (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Ge) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Ge)) && (E = parseFloat(RegExp.$1)), et ? (et.style.cssText = "top:1px;opacity:.55;", /^0.55/.test(et.style.opacity)) : !1;
|
|
1017
1017
|
}(), Ri = function(V) {
|
|
1018
1018
|
return X.test(
|
|
1019
1019
|
typeof V == "string" ? V : (V.currentStyle ? V.currentStyle.filter : V.style.filter) || ""
|
|
@@ -1767,7 +1767,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1767
1767
|
null,
|
|
1768
1768
|
et
|
|
1769
1769
|
) : this._firstPT = St = this.parse(V, et, null), this._transformType) {
|
|
1770
|
-
for (se = this._transformType === 3, xn ? k && (O = !0, te.zIndex === "" && (Mt = dt(V, "zIndex", f), (Mt === "auto" || Mt === "") && this._addLazySet(te, "zIndex", 0)),
|
|
1770
|
+
for (se = this._transformType === 3, xn ? k && (O = !0, te.zIndex === "" && (Mt = dt(V, "zIndex", f), (Mt === "auto" || Mt === "") && this._addLazySet(te, "zIndex", 0)), N && this._addLazySet(
|
|
1771
1771
|
te,
|
|
1772
1772
|
"WebkitBackfaceVisibility",
|
|
1773
1773
|
this._vars.WebkitBackfaceVisibility || (se ? "visible" : "hidden")
|
|
@@ -2024,7 +2024,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2024
2024
|
return O(X, M), X;
|
|
2025
2025
|
}, D = function(M, R, C) {
|
|
2026
2026
|
this.t = M, this.v = R, C && (this.next = C, C.prev = this, this.c = C.v - R, this.gap = C.t - M);
|
|
2027
|
-
},
|
|
2027
|
+
}, N = function(M, R) {
|
|
2028
2028
|
var C = S(
|
|
2029
2029
|
"easing." + M,
|
|
2030
2030
|
function(F) {
|
|
@@ -2037,13 +2037,13 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2037
2037
|
}, C;
|
|
2038
2038
|
}, E = k(
|
|
2039
2039
|
"Back",
|
|
2040
|
-
|
|
2040
|
+
N("BackOut", function(M) {
|
|
2041
2041
|
return (M -= 1) * M * ((this._p1 + 1) * M + this._p1) + 1;
|
|
2042
2042
|
}),
|
|
2043
|
-
|
|
2043
|
+
N("BackIn", function(M) {
|
|
2044
2044
|
return M * M * ((this._p1 + 1) * M - this._p1);
|
|
2045
2045
|
}),
|
|
2046
|
-
|
|
2046
|
+
N("BackInOut", function(M) {
|
|
2047
2047
|
return (M *= 2) < 1 ? 0.5 * M * M * ((this._p2 + 1) * M - this._p2) : 0.5 * ((M -= 2) * M * ((this._p2 + 1) * M + this._p2) + 2);
|
|
2048
2048
|
})
|
|
2049
2049
|
), L = S(
|
|
@@ -2203,7 +2203,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2203
2203
|
for (Q = 0; Q < st.length; Q++)
|
|
2204
2204
|
nt[st[Q]] = nt = nt[st[Q]] || {};
|
|
2205
2205
|
return nt;
|
|
2206
|
-
}, k = O("com.greensock"), D = 1e-10,
|
|
2206
|
+
}, k = O("com.greensock"), D = 1e-10, N = function(z) {
|
|
2207
2207
|
var Q, st = [], nt = z.length;
|
|
2208
2208
|
for (Q = 0; Q !== nt; st.push(z[Q++]))
|
|
2209
2209
|
;
|
|
@@ -2469,8 +2469,8 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2469
2469
|
this.target = z = typeof z != "string" ? z : At.selector(z) || z;
|
|
2470
2470
|
var nt, vt, Ut, qt = z.jquery || z.length && z !== x && z[0] && (z[0] === x || z[0].nodeType && z[0].style && !z.nodeType), Xt = this.vars.overwrite;
|
|
2471
2471
|
if (this._overwrite = Xt = Xt == null ? cn[At.defaultOverwrite] : typeof Xt == "number" ? Xt >> 0 : cn[Xt], (qt || z instanceof Array || z.push && L(z)) && typeof z[0] != "number")
|
|
2472
|
-
for (this._targets = Ut =
|
|
2473
|
-
vt = Ut[nt], vt ? typeof vt != "string" ? vt.length && vt !== x && vt[0] && (vt[0] === x || vt[0].nodeType && vt[0].style && !vt.nodeType) ? (Ut.splice(nt--, 1), this._targets = Ut = Ut.concat(
|
|
2472
|
+
for (this._targets = Ut = N(z), this._propLookup = [], this._siblings = [], nt = 0; nt < Ut.length; nt++)
|
|
2473
|
+
vt = Ut[nt], vt ? typeof vt != "string" ? vt.length && vt !== x && vt[0] && (vt[0] === x || vt[0].nodeType && vt[0].style && !vt.nodeType) ? (Ut.splice(nt--, 1), this._targets = Ut = Ut.concat(N(vt))) : (this._siblings[nt] = dt(vt, this, !1), Xt === 1 && this._siblings[nt].length > 1 && Dt(vt, this, null, 1, this._siblings[nt])) : (vt = Ut[nt--] = At.selector(vt), typeof vt == "string" && Ut.splice(nt + 1, 1)) : Ut.splice(nt--, 1);
|
|
2474
2474
|
else
|
|
2475
2475
|
this._propLookup = {}, this._siblings = dt(z, this, !1), Xt === 1 && this._siblings.length > 1 && Dt(z, this, null, 1, this._siblings);
|
|
2476
2476
|
(this.vars.immediateRender || Q === 0 && this._delay === 0 && this.vars.immediateRender !== !1) && (this._time = -D, this.render(Math.min(0, -this._delay)));
|
|
@@ -3193,10 +3193,10 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3193
3193
|
gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );
|
|
3194
3194
|
#endif
|
|
3195
3195
|
}`;
|
|
3196
|
-
var m = document.querySelector(".landscape"), g = window.innerWidth, y = window.innerHeight, S, b, O, k, D = { x: 0, y: 0, xDamped: 0, yDamped: 0 },
|
|
3196
|
+
var m = document.querySelector(".landscape"), g = window.innerWidth, y = window.innerHeight, S, b, O, k, D = { x: 0, y: 0, xDamped: 0, yDamped: 0 }, N = typeof window.orientation < "u";
|
|
3197
3197
|
E();
|
|
3198
3198
|
function E() {
|
|
3199
|
-
L(), w(), M(), F(),
|
|
3199
|
+
L(), w(), M(), F(), N ? window.addEventListener("touchmove", U, { passive: !1 }) : window.addEventListener("mousemove", U), window.addEventListener("resize", C), C();
|
|
3200
3200
|
}
|
|
3201
3201
|
function L() {
|
|
3202
3202
|
S = new THREE.Scene();
|
|
@@ -3357,17 +3357,17 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3357
3357
|
function D(t, e) {
|
|
3358
3358
|
this.center = t !== void 0 ? t : new u(), this.radius = e !== void 0 ? e : 0;
|
|
3359
3359
|
}
|
|
3360
|
-
function
|
|
3360
|
+
function N(t, e) {
|
|
3361
3361
|
this.normal = t !== void 0 ? t : new u(1, 0, 0), this.constant = e !== void 0 ? e : 0;
|
|
3362
3362
|
}
|
|
3363
3363
|
function E(t, e, i, n, s, l) {
|
|
3364
3364
|
this.planes = [
|
|
3365
|
-
t !== void 0 ? t : new
|
|
3366
|
-
e !== void 0 ? e : new
|
|
3367
|
-
i !== void 0 ? i : new
|
|
3368
|
-
n !== void 0 ? n : new
|
|
3369
|
-
s !== void 0 ? s : new
|
|
3370
|
-
l !== void 0 ? l : new
|
|
3365
|
+
t !== void 0 ? t : new N(),
|
|
3366
|
+
e !== void 0 ? e : new N(),
|
|
3367
|
+
i !== void 0 ? i : new N(),
|
|
3368
|
+
n !== void 0 ? n : new N(),
|
|
3369
|
+
s !== void 0 ? s : new N(),
|
|
3370
|
+
l !== void 0 ? l : new N()
|
|
3371
3371
|
];
|
|
3372
3372
|
}
|
|
3373
3373
|
function L(t, e, i) {
|
|
@@ -3526,8 +3526,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3526
3526
|
}
|
|
3527
3527
|
for (We = 0; We < ot; We++)
|
|
3528
3528
|
for (ae = 0; ae < $; ae++)
|
|
3529
|
-
q =
|
|
3530
|
-
p.addGroup(H, be, kt), H += be,
|
|
3529
|
+
q = B + ae + wt * (We + 1), J = B + (ae + 1) + wt * (We + 1), rt = B + (ae + 1) + wt * We, _.push(B + ae + wt * We, q, rt), _.push(q, J, rt), be += 6;
|
|
3530
|
+
p.addGroup(H, be, kt), H += be, B += Ct;
|
|
3531
3531
|
}
|
|
3532
3532
|
Ft.call(this), this.type = "BoxBufferGeometry", this.parameters = {
|
|
3533
3533
|
width: t,
|
|
@@ -3539,7 +3539,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3539
3539
|
};
|
|
3540
3540
|
var p = this;
|
|
3541
3541
|
t = t || 1, e = e || 1, i = i || 1, n = Math.floor(n) || 1, s = Math.floor(s) || 1, l = Math.floor(l) || 1;
|
|
3542
|
-
var _ = [], T = [], A = [], P = [],
|
|
3542
|
+
var _ = [], T = [], A = [], P = [], B = 0, H = 0;
|
|
3543
3543
|
d("z", "y", "x", -1, -1, i, e, t, l, s, 0), d("z", "y", "x", 1, -1, i, e, -t, l, s, 1), d("x", "z", "y", 1, 1, t, i, e, n, l, 2), d("x", "z", "y", 1, -1, t, i, -e, n, l, 3), d("x", "y", "z", 1, -1, t, e, i, n, s, 4), d("x", "y", "z", -1, -1, t, e, -i, n, s, 5), this.setIndex(_), this.addAttribute("position", new Et(T, 3)), this.addAttribute("normal", new Et(A, 3)), this.addAttribute("uv", new Et(P, 2));
|
|
3544
3544
|
}
|
|
3545
3545
|
function Pe(t, e, i, n) {
|
|
@@ -3559,16 +3559,16 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3559
3559
|
}, t = t || 1, e = e || 1;
|
|
3560
3560
|
var s = t / 2, l = e / 2;
|
|
3561
3561
|
i = Math.floor(i) || 1, n = Math.floor(n) || 1;
|
|
3562
|
-
var d = i + 1, p = n + 1, _ = t / i, T = e / n, A = [], P = [],
|
|
3562
|
+
var d = i + 1, p = n + 1, _ = t / i, T = e / n, A = [], P = [], B = [], H = [];
|
|
3563
3563
|
for (t = 0; t < p; t++) {
|
|
3564
3564
|
var q = t * T - l;
|
|
3565
3565
|
for (e = 0; e < d; e++)
|
|
3566
|
-
P.push(e * _ - s, -q, 0),
|
|
3566
|
+
P.push(e * _ - s, -q, 0), B.push(0, 0, 1), H.push(e / i), H.push(1 - t / n);
|
|
3567
3567
|
}
|
|
3568
3568
|
for (t = 0; t < n; t++)
|
|
3569
3569
|
for (e = 0; e < i; e++)
|
|
3570
3570
|
s = e + d * (t + 1), l = e + 1 + d * (t + 1), p = e + 1 + d * t, A.push(e + d * t, s, p), A.push(s, l, p);
|
|
3571
|
-
this.setIndex(A), this.addAttribute("position", new Et(P, 3)), this.addAttribute("normal", new Et(
|
|
3571
|
+
this.setIndex(A), this.addAttribute("position", new Et(P, 3)), this.addAttribute("normal", new Et(B, 3)), this.addAttribute("uv", new Et(H, 2));
|
|
3572
3572
|
}
|
|
3573
3573
|
function Wt() {
|
|
3574
3574
|
Object.defineProperty(this, "id", { value: mu++ }), this.uuid = fi.generateUUID(), this.name = "", this.type = "Material", this.lights = this.fog = !0, this.blending = 1, this.side = 0, this.flatShading = !1, this.vertexColors = 0, this.opacity = 1, this.transparent = !1, this.blendSrc = 204, this.blendDst = 205, this.blendEquation = 100, this.blendEquationAlpha = this.blendDstAlpha = this.blendSrcAlpha = null, this.depthFunc = 3, this.depthWrite = this.depthTest = !0, this.clippingPlanes = null, this.clipShadows = this.clipIntersection = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetUnits = this.polygonOffsetFactor = 0, this.dithering = !1, this.alphaTest = 0, this.premultipliedAlpha = !1, this.visible = !0, this.userData = {}, this.needsUpdate = !0;
|
|
@@ -3615,8 +3615,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3615
3615
|
setClearAlpha: function(T) {
|
|
3616
3616
|
d = T, s(l, d);
|
|
3617
3617
|
},
|
|
3618
|
-
render: function(T, A, P,
|
|
3619
|
-
A = A.background, A === null ? s(l, d) : A && A.isColor && (s(A, 1),
|
|
3618
|
+
render: function(T, A, P, B) {
|
|
3619
|
+
A = A.background, A === null ? s(l, d) : A && A.isColor && (s(A, 1), B = !0), (t.autoClear || B) && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), A && (A.isCubeTexture || A.isWebGLRenderTargetCube) ? (_ === void 0 && (_ = new di(
|
|
3620
3620
|
new Nt(1, 1, 1),
|
|
3621
3621
|
new $e({
|
|
3622
3622
|
type: "BackgroundCubeMaterial",
|
|
@@ -3676,7 +3676,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3676
3676
|
}
|
|
3677
3677
|
var s, l = typeof WebGL2RenderingContext < "u" && t instanceof WebGL2RenderingContext, d = i.precision !== void 0 ? i.precision : "highp", p = n(d);
|
|
3678
3678
|
p !== d && (d = p), i = i.logarithmicDepthBuffer === !0, p = t.getParameter(34930);
|
|
3679
|
-
var _ = t.getParameter(35660), T = t.getParameter(3379), A = t.getParameter(34076), P = t.getParameter(34921),
|
|
3679
|
+
var _ = t.getParameter(35660), T = t.getParameter(3379), A = t.getParameter(34076), P = t.getParameter(34921), B = t.getParameter(36347), H = t.getParameter(36348), q = t.getParameter(36349), J = 0 < _, rt = l || !!e.get("OES_texture_float");
|
|
3680
3680
|
return {
|
|
3681
3681
|
isWebGL2: l,
|
|
3682
3682
|
getMaxAnisotropy: function() {
|
|
@@ -3693,7 +3693,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3693
3693
|
maxTextureSize: T,
|
|
3694
3694
|
maxCubemapSize: A,
|
|
3695
3695
|
maxAttributes: P,
|
|
3696
|
-
maxVertexUniforms:
|
|
3696
|
+
maxVertexUniforms: B,
|
|
3697
3697
|
maxVaryings: H,
|
|
3698
3698
|
maxFragmentUniforms: q,
|
|
3699
3699
|
vertexTextures: J,
|
|
@@ -3705,33 +3705,33 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3705
3705
|
function t() {
|
|
3706
3706
|
T.value !== n && (T.value = n, T.needsUpdate = 0 < s), i.numPlanes = s, i.numIntersection = 0;
|
|
3707
3707
|
}
|
|
3708
|
-
function e(A, P,
|
|
3708
|
+
function e(A, P, B, H) {
|
|
3709
3709
|
var q = A !== null ? A.length : 0, J = null;
|
|
3710
3710
|
if (q !== 0) {
|
|
3711
3711
|
if (J = T.value, H !== !0 || J === null)
|
|
3712
|
-
for (H =
|
|
3713
|
-
p.copy(A[H]).applyMatrix4(P, _), p.normal.toArray(J,
|
|
3712
|
+
for (H = B + 4 * q, P = P.matrixWorldInverse, _.getNormalMatrix(P), (J === null || J.length < H) && (J = new Float32Array(H)), H = 0; H !== q; ++H, B += 4)
|
|
3713
|
+
p.copy(A[H]).applyMatrix4(P, _), p.normal.toArray(J, B), J[B + 3] = p.constant;
|
|
3714
3714
|
T.value = J, T.needsUpdate = !0;
|
|
3715
3715
|
}
|
|
3716
3716
|
return i.numPlanes = q, J;
|
|
3717
3717
|
}
|
|
3718
|
-
var i = this, n = null, s = 0, l = !1, d = !1, p = new
|
|
3719
|
-
this.uniform = T, this.numIntersection = this.numPlanes = 0, this.init = function(A, P,
|
|
3718
|
+
var i = this, n = null, s = 0, l = !1, d = !1, p = new N(), _ = new m(), T = { value: null, needsUpdate: !1 };
|
|
3719
|
+
this.uniform = T, this.numIntersection = this.numPlanes = 0, this.init = function(A, P, B) {
|
|
3720
3720
|
var H = A.length !== 0 || P || s !== 0 || l;
|
|
3721
|
-
return l = P, n = e(A,
|
|
3721
|
+
return l = P, n = e(A, B, 0), s = A.length, H;
|
|
3722
3722
|
}, this.beginShadows = function() {
|
|
3723
3723
|
d = !0, e(null);
|
|
3724
3724
|
}, this.endShadows = function() {
|
|
3725
3725
|
d = !1, t();
|
|
3726
|
-
}, this.setState = function(A, P,
|
|
3727
|
-
if (!l || A === null || A.length === 0 || d && !
|
|
3726
|
+
}, this.setState = function(A, P, B, H, q, J) {
|
|
3727
|
+
if (!l || A === null || A.length === 0 || d && !B)
|
|
3728
3728
|
d ? e(null) : t();
|
|
3729
3729
|
else {
|
|
3730
|
-
|
|
3731
|
-
var rt = 4 *
|
|
3730
|
+
B = d ? 0 : s;
|
|
3731
|
+
var rt = 4 * B, xt = q.clippingState || null;
|
|
3732
3732
|
for (T.value = xt, xt = e(A, H, rt, J), A = 0; A !== rt; ++A)
|
|
3733
3733
|
xt[A] = n[A];
|
|
3734
|
-
q.clippingState = xt, this.numIntersection = P ? this.numPlanes : 0, this.numPlanes +=
|
|
3734
|
+
q.clippingState = xt, this.numIntersection = P ? this.numPlanes : 0, this.numPlanes += B;
|
|
3735
3735
|
}
|
|
3736
3736
|
};
|
|
3737
3737
|
}
|
|
@@ -3796,12 +3796,12 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
3796
3796
|
if (_ !== null) {
|
|
3797
3797
|
_ = _.array, T = 0;
|
|
3798
3798
|
for (var A = _.length; T < A; T += 3) {
|
|
3799
|
-
var P = _[T + 0],
|
|
3800
|
-
p.push(P,
|
|
3799
|
+
var P = _[T + 0], B = _[T + 1], H = _[T + 2];
|
|
3800
|
+
p.push(P, B, B, H, H, P);
|
|
3801
3801
|
}
|
|
3802
3802
|
} else
|
|
3803
3803
|
for (_ = T.position.array, T = 0, A = _.length / 3 - 1; T < A; T += 3)
|
|
3804
|
-
P = T + 0,
|
|
3804
|
+
P = T + 0, B = T + 1, H = T + 2, p.push(P, B, B, H, H, P);
|
|
3805
3805
|
return p = new (65535 < re(p) ? Pt : _t)(p, 1), e.update(p, 34963), l[d.id] = p;
|
|
3806
3806
|
}
|
|
3807
3807
|
};
|
|
@@ -4126,12 +4126,12 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4126
4126
|
for (var n = 0; n < i; ++n) {
|
|
4127
4127
|
var s = t.getActiveUniform(e, n), l = t.getUniformLocation(e, s.name), d = this, p = s.name, _ = p.length;
|
|
4128
4128
|
for (Oh.lastIndex = 0; ; ) {
|
|
4129
|
-
var T = Oh.exec(p), A = Oh.lastIndex, P = T[1],
|
|
4130
|
-
if (T[2] === "]" && (P |= 0),
|
|
4131
|
-
p = d, s =
|
|
4129
|
+
var T = Oh.exec(p), A = Oh.lastIndex, P = T[1], B = T[3];
|
|
4130
|
+
if (T[2] === "]" && (P |= 0), B === void 0 || B === "[" && A + 2 === _) {
|
|
4131
|
+
p = d, s = B === void 0 ? new mh(P, s, l) : new Js(P, s, l), p.seq.push(s), p.map[s.id] = s;
|
|
4132
4132
|
break;
|
|
4133
4133
|
} else
|
|
4134
|
-
|
|
4134
|
+
B = d.map[P], B === void 0 && (B = new Na(P), P = d, d = B, P.seq.push(d), P.map[d.id] = d), d = B;
|
|
4135
4135
|
}
|
|
4136
4136
|
}
|
|
4137
4137
|
}
|
|
@@ -4242,23 +4242,23 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4242
4242
|
function et(t, e, i, n, s, l, d) {
|
|
4243
4243
|
var p = t.context, _ = n.defines, T = s.vertexShader, A = s.fragmentShader, P = "SHADOWMAP_TYPE_BASIC";
|
|
4244
4244
|
l.shadowMapType === 1 ? P = "SHADOWMAP_TYPE_PCF" : l.shadowMapType === 2 && (P = "SHADOWMAP_TYPE_PCF_SOFT");
|
|
4245
|
-
var
|
|
4245
|
+
var B = "ENVMAP_TYPE_CUBE", H = "ENVMAP_MODE_REFLECTION", q = "ENVMAP_BLENDING_MULTIPLY";
|
|
4246
4246
|
if (l.envMap) {
|
|
4247
4247
|
switch (n.envMap.mapping) {
|
|
4248
4248
|
case 301:
|
|
4249
4249
|
case 302:
|
|
4250
|
-
|
|
4250
|
+
B = "ENVMAP_TYPE_CUBE";
|
|
4251
4251
|
break;
|
|
4252
4252
|
case 306:
|
|
4253
4253
|
case 307:
|
|
4254
|
-
|
|
4254
|
+
B = "ENVMAP_TYPE_CUBE_UV";
|
|
4255
4255
|
break;
|
|
4256
4256
|
case 303:
|
|
4257
4257
|
case 304:
|
|
4258
|
-
|
|
4258
|
+
B = "ENVMAP_TYPE_EQUIREC";
|
|
4259
4259
|
break;
|
|
4260
4260
|
case 305:
|
|
4261
|
-
|
|
4261
|
+
B = "ENVMAP_TYPE_SPHERE";
|
|
4262
4262
|
}
|
|
4263
4263
|
switch (n.envMap.mapping) {
|
|
4264
4264
|
case 302:
|
|
@@ -4366,7 +4366,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4366
4366
|
l.useFog && l.fogExp ? "#define FOG_EXP2" : "",
|
|
4367
4367
|
l.map ? "#define USE_MAP" : "",
|
|
4368
4368
|
l.envMap ? "#define USE_ENVMAP" : "",
|
|
4369
|
-
l.envMap ? "#define " +
|
|
4369
|
+
l.envMap ? "#define " + B : "",
|
|
4370
4370
|
l.envMap ? "#define " + H : "",
|
|
4371
4371
|
l.envMap ? "#define " + q : "",
|
|
4372
4372
|
l.lightMap ? "#define USE_LIGHTMAP" : "",
|
|
@@ -4430,8 +4430,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4430
4430
|
#define textureCubeGradEXT textureGrad`
|
|
4431
4431
|
].join(`
|
|
4432
4432
|
`) + `
|
|
4433
|
-
` + e), A = e + A, T = $s(p, 35633, _ + T), A = $s(p, 35632, A), p.attachShader(gt, T), p.attachShader(gt, A), n.index0AttributeName !== void 0 ? p.bindAttribLocation(gt, 0, n.index0AttributeName) : l.morphTargets === !0 && p.bindAttribLocation(gt, 0, "position"), p.linkProgram(gt), l = p.getProgramInfoLog(gt).trim(), d = p.getShaderInfoLog(T).trim(), P = p.getShaderInfoLog(A).trim(), H =
|
|
4434
|
-
runnable:
|
|
4433
|
+
` + e), A = e + A, T = $s(p, 35633, _ + T), A = $s(p, 35632, A), p.attachShader(gt, T), p.attachShader(gt, A), n.index0AttributeName !== void 0 ? p.bindAttribLocation(gt, 0, n.index0AttributeName) : l.morphTargets === !0 && p.bindAttribLocation(gt, 0, "position"), p.linkProgram(gt), l = p.getProgramInfoLog(gt).trim(), d = p.getShaderInfoLog(T).trim(), P = p.getShaderInfoLog(A).trim(), H = B = !0, p.getProgramParameter(gt, 35714) === !1 ? B = !1 : l !== "" || (d === "" || P === "") && (H = !1), H && (this.diagnostics = {
|
|
4434
|
+
runnable: B,
|
|
4435
4435
|
material: n,
|
|
4436
4436
|
programLog: l,
|
|
4437
4437
|
vertexShader: { log: d, prefix: _ },
|
|
@@ -4493,7 +4493,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4493
4493
|
}, d = "precision supportsVertexTextures map mapEncoding matcapEncoding envMap envMapMode envMapEncoding lightMap aoMap emissiveMap emissiveMapEncoding bumpMap normalMap objectSpaceNormalMap displacementMap specularMap roughnessMap metalnessMap gradientMap alphaMap combine vertexColors fog useFog fogExp flatShading sizeAttenuation logarithmicDepthBuffer skinning maxBones useVertexTexture morphTargets morphNormals maxMorphTargets maxMorphNormals premultipliedAlpha numDirLights numPointLights numSpotLights numHemiLights numRectAreaLights shadowMapEnabled shadowMapType toneMapping physicallyCorrectLights alphaTest doubleSided flipSided numClippingPlanes numClipIntersection depthPacking dithering".split(
|
|
4494
4494
|
" "
|
|
4495
4495
|
);
|
|
4496
|
-
this.getParameters = function(p, _, T, A, P,
|
|
4496
|
+
this.getParameters = function(p, _, T, A, P, B, H) {
|
|
4497
4497
|
var q = l[p.type];
|
|
4498
4498
|
if (H.isSkinnedMesh) {
|
|
4499
4499
|
var J = H.skeleton.bones;
|
|
@@ -4557,7 +4557,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4557
4557
|
numRectAreaLights: _.rectArea.length,
|
|
4558
4558
|
numHemiLights: _.hemi.length,
|
|
4559
4559
|
numClippingPlanes: P,
|
|
4560
|
-
numClipIntersection:
|
|
4560
|
+
numClipIntersection: B,
|
|
4561
4561
|
dithering: p.dithering,
|
|
4562
4562
|
shadowMapEnabled: t.shadowMap.enabled && H.receiveShadow && 0 < T.length,
|
|
4563
4563
|
shadowMapType: t.shadowMap.type,
|
|
@@ -4578,8 +4578,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4578
4578
|
T.push(_[d[A]]);
|
|
4579
4579
|
return T.push(p.onBeforeCompile.toString()), T.push(t.gammaOutput), T.push(t.gammaFactor), T.join();
|
|
4580
4580
|
}, this.acquireProgram = function(p, _, T, A) {
|
|
4581
|
-
for (var P,
|
|
4582
|
-
var q = s[
|
|
4581
|
+
for (var P, B = 0, H = s.length; B < H; B++) {
|
|
4582
|
+
var q = s[B];
|
|
4583
4583
|
if (q.code === A) {
|
|
4584
4584
|
P = q, ++P.usedTimes;
|
|
4585
4585
|
break;
|
|
@@ -4742,7 +4742,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4742
4742
|
}, i = new u(), n = new c(), s = new c();
|
|
4743
4743
|
return {
|
|
4744
4744
|
setup: function(l, d, p) {
|
|
4745
|
-
var _ = 0, T = 0, A = 0, P = 0,
|
|
4745
|
+
var _ = 0, T = 0, A = 0, P = 0, B = 0, H = 0, q = 0, J = 0;
|
|
4746
4746
|
p = p.matrixWorldInverse;
|
|
4747
4747
|
for (var rt = 0, xt = l.length; rt < xt; rt++) {
|
|
4748
4748
|
var gt = l[rt], Ct = gt.color, wt = gt.intensity, Vt = gt.distance, $ = gt.shadow && gt.shadow.map ? gt.shadow.map.texture : null;
|
|
@@ -4752,9 +4752,9 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4752
4752
|
var ot = t.get(gt);
|
|
4753
4753
|
ot.color.copy(gt.color).multiplyScalar(gt.intensity), ot.direction.setFromMatrixPosition(gt.matrixWorld), i.setFromMatrixPosition(gt.target.matrixWorld), ot.direction.sub(i), ot.direction.transformDirection(p), (ot.shadow = gt.castShadow) && (Ct = gt.shadow, ot.shadowBias = Ct.bias, ot.shadowRadius = Ct.radius, ot.shadowMapSize = Ct.mapSize), e.directionalShadowMap[P] = $, e.directionalShadowMatrix[P] = gt.shadow.matrix, e.directional[P] = ot, P++;
|
|
4754
4754
|
} else
|
|
4755
|
-
gt.isSpotLight ? (ot = t.get(gt), ot.position.setFromMatrixPosition(gt.matrixWorld), ot.position.applyMatrix4(p), ot.color.copy(Ct).multiplyScalar(wt), ot.distance = Vt, ot.direction.setFromMatrixPosition(gt.matrixWorld), i.setFromMatrixPosition(gt.target.matrixWorld), ot.direction.sub(i), ot.direction.transformDirection(p), ot.coneCos = Math.cos(gt.angle), ot.penumbraCos = Math.cos(gt.angle * (1 - gt.penumbra)), ot.decay = gt.decay, (ot.shadow = gt.castShadow) && (Ct = gt.shadow, ot.shadowBias = Ct.bias, ot.shadowRadius = Ct.radius, ot.shadowMapSize = Ct.mapSize), e.spotShadowMap[H] = $, e.spotShadowMatrix[H] = gt.shadow.matrix, e.spot[H] = ot, H++) : gt.isRectAreaLight ? (ot = t.get(gt), ot.color.copy(Ct).multiplyScalar(wt), ot.position.setFromMatrixPosition(gt.matrixWorld), ot.position.applyMatrix4(p), s.identity(), n.copy(gt.matrixWorld), n.premultiply(p), s.extractRotation(n), ot.halfWidth.set(0.5 * gt.width, 0, 0), ot.halfHeight.set(0, 0.5 * gt.height, 0), ot.halfWidth.applyMatrix4(s), ot.halfHeight.applyMatrix4(s), e.rectArea[q] = ot, q++) : gt.isPointLight ? (ot = t.get(gt), ot.position.setFromMatrixPosition(gt.matrixWorld), ot.position.applyMatrix4(p), ot.color.copy(gt.color).multiplyScalar(gt.intensity), ot.distance = gt.distance, ot.decay = gt.decay, (ot.shadow = gt.castShadow) && (Ct = gt.shadow, ot.shadowBias = Ct.bias, ot.shadowRadius = Ct.radius, ot.shadowMapSize = Ct.mapSize, ot.shadowCameraNear = Ct.camera.near, ot.shadowCameraFar = Ct.camera.far), e.pointShadowMap[
|
|
4755
|
+
gt.isSpotLight ? (ot = t.get(gt), ot.position.setFromMatrixPosition(gt.matrixWorld), ot.position.applyMatrix4(p), ot.color.copy(Ct).multiplyScalar(wt), ot.distance = Vt, ot.direction.setFromMatrixPosition(gt.matrixWorld), i.setFromMatrixPosition(gt.target.matrixWorld), ot.direction.sub(i), ot.direction.transformDirection(p), ot.coneCos = Math.cos(gt.angle), ot.penumbraCos = Math.cos(gt.angle * (1 - gt.penumbra)), ot.decay = gt.decay, (ot.shadow = gt.castShadow) && (Ct = gt.shadow, ot.shadowBias = Ct.bias, ot.shadowRadius = Ct.radius, ot.shadowMapSize = Ct.mapSize), e.spotShadowMap[H] = $, e.spotShadowMatrix[H] = gt.shadow.matrix, e.spot[H] = ot, H++) : gt.isRectAreaLight ? (ot = t.get(gt), ot.color.copy(Ct).multiplyScalar(wt), ot.position.setFromMatrixPosition(gt.matrixWorld), ot.position.applyMatrix4(p), s.identity(), n.copy(gt.matrixWorld), n.premultiply(p), s.extractRotation(n), ot.halfWidth.set(0.5 * gt.width, 0, 0), ot.halfHeight.set(0, 0.5 * gt.height, 0), ot.halfWidth.applyMatrix4(s), ot.halfHeight.applyMatrix4(s), e.rectArea[q] = ot, q++) : gt.isPointLight ? (ot = t.get(gt), ot.position.setFromMatrixPosition(gt.matrixWorld), ot.position.applyMatrix4(p), ot.color.copy(gt.color).multiplyScalar(gt.intensity), ot.distance = gt.distance, ot.decay = gt.decay, (ot.shadow = gt.castShadow) && (Ct = gt.shadow, ot.shadowBias = Ct.bias, ot.shadowRadius = Ct.radius, ot.shadowMapSize = Ct.mapSize, ot.shadowCameraNear = Ct.camera.near, ot.shadowCameraFar = Ct.camera.far), e.pointShadowMap[B] = $, e.pointShadowMatrix[B] = gt.shadow.matrix, e.point[B] = ot, B++) : gt.isHemisphereLight && (ot = t.get(gt), ot.direction.setFromMatrixPosition(gt.matrixWorld), ot.direction.transformDirection(p), ot.direction.normalize(), ot.skyColor.copy(gt.color).multiplyScalar(wt), ot.groundColor.copy(gt.groundColor).multiplyScalar(wt), e.hemi[J] = ot, J++);
|
|
4756
4756
|
}
|
|
4757
|
-
e.ambient[0] = _, e.ambient[1] = T, e.ambient[2] = A, e.directional.length = P, e.spot.length = H, e.rectArea.length = q, e.point.length =
|
|
4757
|
+
e.ambient[0] = _, e.ambient[1] = T, e.ambient[2] = A, e.directional.length = P, e.spot.length = H, e.rectArea.length = q, e.point.length = B, e.hemi.length = J, e.hash.stateID = e.id, e.hash.directionalLength = P, e.hash.pointLength = B, e.hash.spotLength = H, e.hash.rectAreaLength = q, e.hash.hemiLength = J, e.hash.shadowsLength = d.length;
|
|
4758
4758
|
},
|
|
4759
4759
|
state: e
|
|
4760
4760
|
};
|
|
@@ -4802,7 +4802,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4802
4802
|
function ye(t, e, i) {
|
|
4803
4803
|
function n($, ot, kt, ee, $t, Yt) {
|
|
4804
4804
|
var Te = $.geometry, ge = P, De = $.customDepthMaterial;
|
|
4805
|
-
return kt && (ge =
|
|
4805
|
+
return kt && (ge = B, De = $.customDistanceMaterial), De ? ge = De : (De = !1, ot.morphTargets && (Te && Te.isBufferGeometry ? De = Te.morphAttributes && Te.morphAttributes.position && 0 < Te.morphAttributes.position.length : Te && Te.isGeometry && (De = Te.morphTargets && 0 < Te.morphTargets.length)), $.isSkinnedMesh && ot.skinning, $ = $.isSkinnedMesh && ot.skinning, Te = 0, De && (Te |= 1), $ && (Te |= 2), ge = ge[Te]), t.localClippingEnabled && ot.clipShadows === !0 && ot.clippingPlanes.length !== 0 && (Te = ge.uuid, De = ot.uuid, $ = H[Te], $ === void 0 && ($ = {}, H[Te] = $), Te = $[De], Te === void 0 && (Te = ge.clone(), $[De] = Te), ge = Te), ge.visible = ot.visible, ge.wireframe = ot.wireframe, ge.side = ot.shadowSide != null ? ot.shadowSide : q[ot.side], ge.clipShadows = ot.clipShadows, ge.clippingPlanes = ot.clippingPlanes, ge.clipIntersection = ot.clipIntersection, ge.wireframeLinewidth = ot.wireframeLinewidth, ge.linewidth = ot.linewidth, kt && ge.isMeshDistanceMaterial && (ge.referencePosition.copy(ee), ge.nearDistance = $t, ge.farDistance = Yt), ge;
|
|
4806
4806
|
}
|
|
4807
4807
|
function s($, ot, kt, ee) {
|
|
4808
4808
|
if ($.visible !== !1) {
|
|
@@ -4824,7 +4824,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4824
4824
|
s($[$t], ot, kt, ee);
|
|
4825
4825
|
}
|
|
4826
4826
|
}
|
|
4827
|
-
var l = new E(), d = new c(), p = new o(), _ = new o(i, i), T = new u(), A = new u(), P = Array(4),
|
|
4827
|
+
var l = new E(), d = new c(), p = new o(), _ = new o(i, i), T = new u(), A = new u(), P = Array(4), B = Array(4), H = {}, q = { 0: 1, 1: 0, 2: 2 }, J = [
|
|
4828
4828
|
new u(1, 0, 0),
|
|
4829
4829
|
new u(-1, 0, 0),
|
|
4830
4830
|
new u(0, 0, 1),
|
|
@@ -4841,7 +4841,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4841
4841
|
], xt = [new y(), new y(), new y(), new y(), new y(), new y()];
|
|
4842
4842
|
for (i = 0; i !== 4; ++i) {
|
|
4843
4843
|
var gt = (i & 1) !== 0, Ct = (i & 2) !== 0, wt = new se({ depthPacking: 3201, morphTargets: gt, skinning: Ct });
|
|
4844
|
-
P[i] = wt, gt = new te({ morphTargets: gt, skinning: Ct }),
|
|
4844
|
+
P[i] = wt, gt = new te({ morphTargets: gt, skinning: Ct }), B[i] = gt;
|
|
4845
4845
|
}
|
|
4846
4846
|
var Vt = this;
|
|
4847
4847
|
this.enabled = !1, this.autoUpdate = !0, this.needsUpdate = !1, this.type = 1, this.render = function($, ot, kt) {
|
|
@@ -4959,7 +4959,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
4959
4959
|
function P(Ht, Ye, ei) {
|
|
4960
4960
|
Ht ? (d(32823), (ci !== Ye || Sn !== ei) && (t.polygonOffset(Ye, ei), ci = Ye, Sn = ei)) : p(32823);
|
|
4961
4961
|
}
|
|
4962
|
-
function
|
|
4962
|
+
function B(Ht) {
|
|
4963
4963
|
Ht === void 0 && (Ht = 33984 + mn - 1), Gi !== Ht && (t.activeTexture(Ht), Gi = Ht);
|
|
4964
4964
|
}
|
|
4965
4965
|
var H = new function() {
|
|
@@ -5110,9 +5110,9 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5110
5110
|
setScissorTest: function(Ht) {
|
|
5111
5111
|
Ht ? d(3089) : p(3089);
|
|
5112
5112
|
},
|
|
5113
|
-
activeTexture:
|
|
5113
|
+
activeTexture: B,
|
|
5114
5114
|
bindTexture: function(Ht, Ye) {
|
|
5115
|
-
Gi === null &&
|
|
5115
|
+
Gi === null && B();
|
|
5116
5116
|
var ei = en[Gi];
|
|
5117
5117
|
ei === void 0 && (ei = { type: void 0, texture: void 0 }, en[Gi] = ei), (ei.type !== Ht || ei.texture !== Ye) && (t.bindTexture(Ht, Ye || ti[Ht]), ei.type = Ht, ei.texture = Ye);
|
|
5118
5118
|
},
|
|
@@ -5209,7 +5209,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5209
5209
|
}
|
|
5210
5210
|
return $;
|
|
5211
5211
|
}
|
|
5212
|
-
function
|
|
5212
|
+
function B($) {
|
|
5213
5213
|
return $ === 1003 || $ === 1004 || $ === 1005 ? 9728 : 9729;
|
|
5214
5214
|
}
|
|
5215
5215
|
function H($) {
|
|
@@ -5255,7 +5255,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5255
5255
|
i.activeTexture(33984 + ot), i.bindTexture(3553, kt.__webglTexture);
|
|
5256
5256
|
}
|
|
5257
5257
|
function rt($, ot, kt) {
|
|
5258
|
-
kt ? (t.texParameteri($, 10242, l.convert(ot.wrapS)), t.texParameteri($, 10243, l.convert(ot.wrapT)), t.texParameteri($, 10240, l.convert(ot.magFilter)), t.texParameteri($, 10241, l.convert(ot.minFilter))) : (t.texParameteri($, 10242, 33071), t.texParameteri($, 10243, 33071), ot.wrapS === 1001 && ot.wrapT, t.texParameteri($, 10240,
|
|
5258
|
+
kt ? (t.texParameteri($, 10242, l.convert(ot.wrapS)), t.texParameteri($, 10243, l.convert(ot.wrapT)), t.texParameteri($, 10240, l.convert(ot.magFilter)), t.texParameteri($, 10241, l.convert(ot.minFilter))) : (t.texParameteri($, 10242, 33071), t.texParameteri($, 10243, 33071), ot.wrapS === 1001 && ot.wrapT, t.texParameteri($, 10240, B(ot.magFilter)), t.texParameteri($, 10241, B(ot.minFilter)), ot.minFilter !== 1003 && ot.minFilter), !(kt = e.get("EXT_texture_filter_anisotropic")) || ot.type === 1015 && e.get("OES_texture_float_linear") === null || ot.type === 1016 && (s.isWebGL2 || e.get("OES_texture_half_float_linear")) === null || !(1 < ot.anisotropy || n.get(ot).__currentAnisotropy) || (t.texParameterf(
|
|
5259
5259
|
$,
|
|
5260
5260
|
kt.TEXTURE_MAX_ANISOTROPY_EXT,
|
|
5261
5261
|
Math.min(ot.anisotropy, s.getMaxAnisotropy())
|
|
@@ -5598,7 +5598,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5598
5598
|
}
|
|
5599
5599
|
var n = this, s = null, l = null, d = null, p = [], _ = new c(), T = new c(), A = 1, P = "stage";
|
|
5600
5600
|
typeof window < "u" && "VRFrameData" in window && (l = new window.VRFrameData(), window.addEventListener("vrdisplaypresentchange", i, !1));
|
|
5601
|
-
var
|
|
5601
|
+
var B = new c(), H = new f(), q = new u(), J = new _e();
|
|
5602
5602
|
J.bounds = new y(0, 0, 0.5, 1), J.layers.enable(1);
|
|
5603
5603
|
var rt = new _e();
|
|
5604
5604
|
rt.bounds = new y(0.5, 0, 0.5, 1), rt.layers.enable(2);
|
|
@@ -5628,7 +5628,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5628
5628
|
}
|
|
5629
5629
|
if (ot = l.pose, kt = d !== null ? d : $, kt.matrix.copy(_), kt.matrix.decompose(kt.position, kt.quaternion, kt.scale), ot.orientation !== null && (H.fromArray(ot.orientation), kt.quaternion.multiply(H)), ot.position !== null && (H.setFromRotationMatrix(_), q.fromArray(ot.position), q.applyQuaternion(H), kt.position.add(q)), kt.updateMatrixWorld(), s.isPresenting === !1)
|
|
5630
5630
|
return $;
|
|
5631
|
-
J.near = $.near, rt.near = $.near, J.far = $.far, rt.far = $.far, J.matrixWorldInverse.fromArray(l.leftViewMatrix), rt.matrixWorldInverse.fromArray(l.rightViewMatrix), T.getInverse(_), P === "stage" && (J.matrixWorldInverse.multiply(T), rt.matrixWorldInverse.multiply(T)), $ = kt.parent, $ !== null && (
|
|
5631
|
+
J.near = $.near, rt.near = $.near, J.far = $.far, rt.far = $.far, J.matrixWorldInverse.fromArray(l.leftViewMatrix), rt.matrixWorldInverse.fromArray(l.rightViewMatrix), T.getInverse(_), P === "stage" && (J.matrixWorldInverse.multiply(T), rt.matrixWorldInverse.multiply(T)), $ = kt.parent, $ !== null && (B.getInverse($.matrixWorld), J.matrixWorldInverse.multiply(B), rt.matrixWorldInverse.multiply(B)), J.matrixWorld.getInverse(J.matrixWorldInverse), rt.matrixWorld.getInverse(rt.matrixWorldInverse), J.projectionMatrix.fromArray(l.leftProjectionMatrix), rt.projectionMatrix.fromArray(l.rightProjectionMatrix), fe(xt, J, rt), $ = s.getLayers(), $.length && ($ = $[0], $.leftBounds !== null && $.leftBounds.length === 4 && J.bounds.fromArray($.leftBounds), $.rightBounds !== null && $.rightBounds.length === 4 && rt.bounds.fromArray($.rightBounds));
|
|
5632
5632
|
t:
|
|
5633
5633
|
for ($ = 0; $ < p.length; $++) {
|
|
5634
5634
|
ot = p[$];
|
|
@@ -5671,7 +5671,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5671
5671
|
return p !== null && T !== null;
|
|
5672
5672
|
}
|
|
5673
5673
|
function i(Ct) {
|
|
5674
|
-
var wt =
|
|
5674
|
+
var wt = B[H.indexOf(Ct.inputSource)];
|
|
5675
5675
|
wt && wt.dispatchEvent({ type: Ct.type });
|
|
5676
5676
|
}
|
|
5677
5677
|
function n() {
|
|
@@ -5680,14 +5680,14 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5680
5680
|
function s(Ct, wt) {
|
|
5681
5681
|
wt === null ? Ct.matrixWorld.copy(Ct.matrix) : Ct.matrixWorld.multiplyMatrices(wt.matrixWorld, Ct.matrix), Ct.matrixWorldInverse.getInverse(Ct.matrixWorld);
|
|
5682
5682
|
}
|
|
5683
|
-
var l = t.context, d = null, p = null, _ = 1, T = null, A = "stage", P = null,
|
|
5683
|
+
var l = t.context, d = null, p = null, _ = 1, T = null, A = "stage", P = null, B = [], H = [], q = new _e();
|
|
5684
5684
|
q.layers.enable(1), q.viewport = new y();
|
|
5685
5685
|
var J = new _e();
|
|
5686
5686
|
J.layers.enable(2), J.viewport = new y();
|
|
5687
5687
|
var rt = new Fe([q, J]);
|
|
5688
5688
|
rt.layers.enable(1), rt.layers.enable(2), this.enabled = !1, this.getController = function(Ct) {
|
|
5689
|
-
var wt =
|
|
5690
|
-
return wt === void 0 && (wt = new ui(), wt.matrixAutoUpdate = !1, wt.visible = !1,
|
|
5689
|
+
var wt = B[Ct];
|
|
5690
|
+
return wt === void 0 && (wt = new ui(), wt.matrixAutoUpdate = !1, wt.visible = !1, B[Ct] = wt), wt;
|
|
5691
5691
|
}, this.getDevice = function() {
|
|
5692
5692
|
return d;
|
|
5693
5693
|
}, this.setDevice = function(Ct) {
|
|
@@ -5701,8 +5701,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5701
5701
|
T = wt, t.setFramebuffer(p.baseLayer.framebuffer), gt.setContext(p), gt.start();
|
|
5702
5702
|
}), H = p.getInputSources(), p.addEventListener("inputsourceschange", function() {
|
|
5703
5703
|
H = p.getInputSources();
|
|
5704
|
-
for (var wt = 0; wt <
|
|
5705
|
-
|
|
5704
|
+
for (var wt = 0; wt < B.length; wt++)
|
|
5705
|
+
B[wt].userData.inputSource = H[wt];
|
|
5706
5706
|
}));
|
|
5707
5707
|
}, this.getCamera = function(Ct) {
|
|
5708
5708
|
if (e()) {
|
|
@@ -5723,8 +5723,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5723
5723
|
var kt = $[ot], ee = Vt.getViewport(kt), $t = P.getViewMatrix(kt), Yt = rt.cameras[ot];
|
|
5724
5724
|
Yt.matrix.fromArray($t).getInverse(Yt.matrix), Yt.projectionMatrix.fromArray(kt.projectionMatrix), Yt.viewport.set(ee.x, ee.y, ee.width, ee.height), ot === 0 && rt.matrix.copy(Yt.matrix);
|
|
5725
5725
|
}
|
|
5726
|
-
for (ot = 0; ot <
|
|
5727
|
-
if (Vt =
|
|
5726
|
+
for (ot = 0; ot < B.length; ot++) {
|
|
5727
|
+
if (Vt = B[ot], ($ = H[ot]) && ($ = wt.getInputPose($, T), $ !== null)) {
|
|
5728
5728
|
"targetRay" in $ ? Vt.matrix.elements = $.targetRay.transformMatrix : "pointerMatrix" in $ && (Vt.matrix.elements = $.pointerMatrix), Vt.matrix.decompose(Vt.position, Vt.rotation, Vt.scale), Vt.visible = !0;
|
|
5729
5729
|
continue;
|
|
5730
5730
|
}
|
|
@@ -5814,7 +5814,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5814
5814
|
function A(ft, Tt, mt, Me, ze, Ve) {
|
|
5815
5815
|
if (ft.onBeforeRender(Yt, Tt, mt, Me, ze, Ve), $t = Bs.get(Tt, Sn || mt), ft.modelViewMatrix.multiplyMatrices(mt.matrixWorldInverse, ft.matrixWorld), ft.normalMatrix.getNormalMatrix(ft.modelViewMatrix), ft.isImmediateRenderObject) {
|
|
5816
5816
|
ai.setMaterial(ze);
|
|
5817
|
-
var Se =
|
|
5817
|
+
var Se = B(mt, Tt.fog, ze, ft);
|
|
5818
5818
|
We = e = null, Qe = !1, p(ft, Se);
|
|
5819
5819
|
} else
|
|
5820
5820
|
Yt.renderBufferDirect(mt, Tt.fog, Me, ze, ft, Ve);
|
|
@@ -5861,7 +5861,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5861
5861
|
0 <= mt["morphNormal" + Ke] && ft.numSupportedMorphNormals++;
|
|
5862
5862
|
mt = Me.shader.uniforms, (!ft.isShaderMaterial && !ft.isRawShaderMaterial || ft.clipping === !0) && (Me.numClippingPlanes = Ae.numPlanes, Me.numIntersection = Ae.numIntersection, mt.clippingPlanes = Ae.uniform), Me.fog = Tt, Ve === void 0 && (Me.lightsHash = Ve = {}), Ve.stateID = Se.stateID, Ve.directionalLength = Se.directionalLength, Ve.pointLength = Se.pointLength, Ve.spotLength = Se.spotLength, Ve.rectAreaLength = Se.rectAreaLength, Ve.hemiLength = Se.hemiLength, Ve.shadowsLength = Se.shadowsLength, ft.lights && (mt.ambientLightColor.value = ze.state.ambient, mt.directionalLights.value = ze.state.directional, mt.spotLights.value = ze.state.spot, mt.rectAreaLights.value = ze.state.rectArea, mt.pointLights.value = ze.state.point, mt.hemisphereLights.value = ze.state.hemi, mt.directionalShadowMap.value = ze.state.directionalShadowMap, mt.directionalShadowMatrix.value = ze.state.directionalShadowMatrix, mt.spotShadowMap.value = ze.state.spotShadowMap, mt.spotShadowMatrix.value = ze.state.spotShadowMatrix, mt.pointShadowMap.value = ze.state.pointShadowMap, mt.pointShadowMatrix.value = ze.state.pointShadowMatrix), ft = Me.program.getUniforms(), ft = ro.seqWithValue(ft.seq, mt), Me.uniformsList = ft;
|
|
5863
5863
|
}
|
|
5864
|
-
function
|
|
5864
|
+
function B(ft, Tt, mt, Me) {
|
|
5865
5865
|
en = 0;
|
|
5866
5866
|
var ze = bn.get(mt), Ve = ze.lightsHash, Se = $t.state.lights.state.hash;
|
|
5867
5867
|
Xe && (ri || ft !== ci) && Ae.setState(
|
|
@@ -5987,7 +5987,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5987
5987
|
}, this.renderBufferDirect = function(ft, Tt, mt, Me, ze, Ve) {
|
|
5988
5988
|
var Se = ze.isMesh && 0 > ze.normalMatrix.determinant();
|
|
5989
5989
|
ai.setMaterial(Me, Se);
|
|
5990
|
-
var Ke =
|
|
5990
|
+
var Ke = B(ft, Tt, Me, ze), Li = !1;
|
|
5991
5991
|
(e !== mt.id || We !== Ke.id || Qe !== (Me.wireframe === !0)) && (e = mt.id, We = Ke.id, Qe = Me.wireframe === !0, Li = !0), ze.morphTargetInfluences && (kh.update(ze, mt, Me, Ke), Li = !0), Se = mt.index;
|
|
5992
5992
|
var Zi = mt.attributes.position;
|
|
5993
5993
|
if (Tt = 1, Me.wireframe === !0 && (Se = zh.getWireframeAttribute(mt), Tt = 2), ft = Bh, Se !== null) {
|
|
@@ -6255,8 +6255,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6255
6255
|
for (n = _.length; T < n; T++) {
|
|
6256
6256
|
var A = _[T];
|
|
6257
6257
|
for (i = 0; 3 > i; i++) {
|
|
6258
|
-
var P = A[p[i]],
|
|
6259
|
-
l[0] = Math.min(P,
|
|
6258
|
+
var P = A[p[i]], B = A[p[(i + 1) % 3]];
|
|
6259
|
+
l[0] = Math.min(P, B), l[1] = Math.max(P, B), P = l[0] + "," + l[1], d[P] === void 0 && (d[P] = { index1: l[0], index2: l[1] });
|
|
6260
6260
|
}
|
|
6261
6261
|
}
|
|
6262
6262
|
for (P in d)
|
|
@@ -6268,7 +6268,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6268
6268
|
for (H.length === 0 && (H = [{ start: 0, count: A.count, materialIndex: 0 }]), t = 0, s = H.length; t < s; ++t)
|
|
6269
6269
|
for (T = H[t], i = T.start, n = T.count, T = i, n = i + n; T < n; T += 3)
|
|
6270
6270
|
for (i = 0; 3 > i; i++)
|
|
6271
|
-
P = A.getX(T + i),
|
|
6271
|
+
P = A.getX(T + i), B = A.getX(T + (i + 1) % 3), l[0] = Math.min(P, B), l[1] = Math.max(P, B), P = l[0] + "," + l[1], d[P] === void 0 && (d[P] = { index1: l[0], index2: l[1] });
|
|
6272
6272
|
for (P in d)
|
|
6273
6273
|
T = d[P], p.fromBufferAttribute(_, T.index1), e.push(p.x, p.y, p.z), p.fromBufferAttribute(_, T.index2), e.push(p.x, p.y, p.z);
|
|
6274
6274
|
} else
|
|
@@ -6282,19 +6282,19 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6282
6282
|
}
|
|
6283
6283
|
function ea(t, e, i) {
|
|
6284
6284
|
Ft.call(this), this.type = "ParametricBufferGeometry", this.parameters = { func: t, slices: e, stacks: i };
|
|
6285
|
-
var n = [], s = [], l = [], d = [], p = new u(), _ = new u(), T = new u(), A = new u(), P = new u(),
|
|
6285
|
+
var n = [], s = [], l = [], d = [], p = new u(), _ = new u(), T = new u(), A = new u(), P = new u(), B, H;
|
|
6286
6286
|
3 > t.length;
|
|
6287
6287
|
var q = e + 1;
|
|
6288
|
-
for (
|
|
6289
|
-
var J =
|
|
6288
|
+
for (B = 0; B <= i; B++) {
|
|
6289
|
+
var J = B / i;
|
|
6290
6290
|
for (H = 0; H <= e; H++) {
|
|
6291
6291
|
var rt = H / e;
|
|
6292
6292
|
t(rt, J, _), s.push(_.x, _.y, _.z), 0 <= rt - 1e-5 ? (t(rt - 1e-5, J, T), A.subVectors(_, T)) : (t(rt + 1e-5, J, T), A.subVectors(T, _)), 0 <= J - 1e-5 ? (t(rt, J - 1e-5, T), P.subVectors(_, T)) : (t(rt, J + 1e-5, T), P.subVectors(T, _)), p.crossVectors(A, P).normalize(), l.push(p.x, p.y, p.z), d.push(rt, J);
|
|
6293
6293
|
}
|
|
6294
6294
|
}
|
|
6295
|
-
for (
|
|
6295
|
+
for (B = 0; B < i; B++)
|
|
6296
6296
|
for (H = 0; H < e; H++)
|
|
6297
|
-
t =
|
|
6297
|
+
t = B * q + H + 1, p = (B + 1) * q + H + 1, _ = (B + 1) * q + H, n.push(B * q + H, t, _), n.push(t, p, _);
|
|
6298
6298
|
this.setIndex(n), this.addAttribute("position", new Et(s, 3)), this.addAttribute("normal", new Et(l, 3)), this.addAttribute("uv", new Et(d, 2));
|
|
6299
6299
|
}
|
|
6300
6300
|
function Wi(t, e, i, n) {
|
|
@@ -6307,15 +6307,15 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6307
6307
|
function l(T, A) {
|
|
6308
6308
|
T *= 3, A.x = t[T + 0], A.y = t[T + 1], A.z = t[T + 2];
|
|
6309
6309
|
}
|
|
6310
|
-
function d(T, A, P,
|
|
6311
|
-
0 >
|
|
6310
|
+
function d(T, A, P, B) {
|
|
6311
|
+
0 > B && T.x === 1 && (_[A] = T.x - 1), P.x === 0 && P.z === 0 && (_[A] = B / 2 / Math.PI + 0.5);
|
|
6312
6312
|
}
|
|
6313
6313
|
Ft.call(this), this.type = "PolyhedronBufferGeometry", this.parameters = { vertices: t, indices: e, radius: i, detail: n }, i = i || 1, n = n || 0;
|
|
6314
6314
|
var p = [], _ = [];
|
|
6315
6315
|
(function(T) {
|
|
6316
|
-
for (var A = new u(), P = new u(),
|
|
6317
|
-
l(e[H + 0], A), l(e[H + 1], P), l(e[H + 2],
|
|
6318
|
-
var q, J, rt = A, xt = P, gt =
|
|
6316
|
+
for (var A = new u(), P = new u(), B = new u(), H = 0; H < e.length; H += 3) {
|
|
6317
|
+
l(e[H + 0], A), l(e[H + 1], P), l(e[H + 2], B);
|
|
6318
|
+
var q, J, rt = A, xt = P, gt = B, Ct = Math.pow(2, T), wt = [];
|
|
6319
6319
|
for (J = 0; J <= Ct; J++) {
|
|
6320
6320
|
wt[J] = [];
|
|
6321
6321
|
var Vt = rt.clone().lerp(gt, J / Ct), $ = xt.clone().lerp(gt, J / Ct), ot = Ct - J;
|
|
@@ -6336,13 +6336,13 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6336
6336
|
1 - (Math.atan2(-T.y, Math.sqrt(T.x * T.x + T.z * T.z)) / Math.PI + 0.5)
|
|
6337
6337
|
);
|
|
6338
6338
|
T = new u(), A = new u();
|
|
6339
|
-
for (var P = new u(),
|
|
6340
|
-
T.set(p[rt + 0], p[rt + 1], p[rt + 2]), A.set(p[rt + 3], p[rt + 4], p[rt + 5]), P.set(p[rt + 6], p[rt + 7], p[rt + 8]), H.set(_[xt + 0], _[xt + 1]), q.set(_[xt + 2], _[xt + 3]), J.set(_[xt + 4], _[xt + 5]),
|
|
6341
|
-
var gt = Math.atan2(
|
|
6339
|
+
for (var P = new u(), B = new u(), H = new o(), q = new o(), J = new o(), rt = 0, xt = 0; rt < p.length; rt += 9, xt += 6) {
|
|
6340
|
+
T.set(p[rt + 0], p[rt + 1], p[rt + 2]), A.set(p[rt + 3], p[rt + 4], p[rt + 5]), P.set(p[rt + 6], p[rt + 7], p[rt + 8]), H.set(_[xt + 0], _[xt + 1]), q.set(_[xt + 2], _[xt + 3]), J.set(_[xt + 4], _[xt + 5]), B.copy(T).add(A).add(P).divideScalar(3);
|
|
6341
|
+
var gt = Math.atan2(B.z, -B.x);
|
|
6342
6342
|
d(H, xt + 0, T, gt), d(q, xt + 2, A, gt), d(J, xt + 4, P, gt);
|
|
6343
6343
|
}
|
|
6344
6344
|
for (T = 0; T < _.length; T += 6)
|
|
6345
|
-
A = _[T + 0], P = _[T + 2],
|
|
6345
|
+
A = _[T + 0], P = _[T + 2], B = _[T + 4], H = Math.min(A, P, B), 0.9 < Math.max(A, P, B) && 0.1 > H && (0.2 > A && (_[T + 0] += 1), 0.2 > P && (_[T + 2] += 1), 0.2 > B && (_[T + 4] += 1));
|
|
6346
6346
|
}(), this.addAttribute("position", new Et(p, 3)), this.addAttribute("normal", new Et(p.slice(), 3)), this.addAttribute("uv", new Et(_, 2)), n === 0 ? this.computeVertexNormals() : this.normalizeNormals();
|
|
6347
6347
|
}
|
|
6348
6348
|
function Ha(t, e) {
|
|
@@ -6676,8 +6676,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6676
6676
|
function l(xt) {
|
|
6677
6677
|
A = t.getPointAt(xt / e, A);
|
|
6678
6678
|
var gt = d.normals[xt];
|
|
6679
|
-
for (xt = d.binormals[xt],
|
|
6680
|
-
var Ct =
|
|
6679
|
+
for (xt = d.binormals[xt], B = 0; B <= n; B++) {
|
|
6680
|
+
var Ct = B / n * Math.PI * 2, wt = Math.sin(Ct);
|
|
6681
6681
|
Ct = -Math.cos(Ct), _.x = Ct * gt.x + wt * xt.x, _.y = Ct * gt.y + wt * xt.y, _.z = Ct * gt.z + wt * xt.z, _.normalize(), q.push(_.x, _.y, _.z), p.x = A.x + i * _.x, p.y = A.y + i * _.y, p.z = A.z + i * _.z, H.push(p.x, p.y, p.z);
|
|
6682
6682
|
}
|
|
6683
6683
|
}
|
|
@@ -6690,17 +6690,17 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6690
6690
|
}, e = e || 64, i = i || 1, n = n || 8, s = s || !1;
|
|
6691
6691
|
var d = t.computeFrenetFrames(e, s);
|
|
6692
6692
|
this.tangents = d.tangents, this.normals = d.normals, this.binormals = d.binormals;
|
|
6693
|
-
var p = new u(), _ = new u(), T = new o(), A = new u(), P,
|
|
6693
|
+
var p = new u(), _ = new u(), T = new o(), A = new u(), P, B, H = [], q = [], J = [], rt = [];
|
|
6694
6694
|
for (P = 0; P < e; P++)
|
|
6695
6695
|
l(P);
|
|
6696
6696
|
for (l(s === !1 ? e : 0), P = 0; P <= e; P++)
|
|
6697
|
-
for (
|
|
6698
|
-
T.x = P / e, T.y =
|
|
6697
|
+
for (B = 0; B <= n; B++)
|
|
6698
|
+
T.x = P / e, T.y = B / n, J.push(T.x, T.y);
|
|
6699
6699
|
(function() {
|
|
6700
|
-
for (
|
|
6700
|
+
for (B = 1; B <= e; B++)
|
|
6701
6701
|
for (P = 1; P <= n; P++) {
|
|
6702
|
-
var xt = (n + 1) *
|
|
6703
|
-
rt.push((n + 1) * (
|
|
6702
|
+
var xt = (n + 1) * B + (P - 1), gt = (n + 1) * B + P, Ct = (n + 1) * (B - 1) + P;
|
|
6703
|
+
rt.push((n + 1) * (B - 1) + (P - 1), xt, Ct), rt.push(xt, gt, Ct);
|
|
6704
6704
|
}
|
|
6705
6705
|
})(), this.setIndex(rt), this.addAttribute("position", new Et(H, 3)), this.addAttribute("normal", new Et(q, 3)), this.addAttribute("uv", new Et(J, 2));
|
|
6706
6706
|
}
|
|
@@ -6727,12 +6727,12 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6727
6727
|
p: s,
|
|
6728
6728
|
q: l
|
|
6729
6729
|
}, t = t || 1, e = e || 0.4, i = Math.floor(i) || 64, n = Math.floor(n) || 8, s = s || 2, l = l || 3;
|
|
6730
|
-
var p = [], _ = [], T = [], A = [], P,
|
|
6730
|
+
var p = [], _ = [], T = [], A = [], P, B = new u(), H = new u(), q = new u(), J = new u(), rt = new u(), xt = new u(), gt = new u();
|
|
6731
6731
|
for (P = 0; P <= i; ++P) {
|
|
6732
6732
|
var Ct = P / i * s * Math.PI * 2;
|
|
6733
6733
|
for (d(Ct, s, l, t, q), d(Ct + 0.01, s, l, t, J), xt.subVectors(J, q), gt.addVectors(J, q), rt.crossVectors(xt, gt), gt.crossVectors(rt, xt), rt.normalize(), gt.normalize(), Ct = 0; Ct <= n; ++Ct) {
|
|
6734
6734
|
var wt = Ct / n * Math.PI * 2, Vt = -e * Math.cos(wt);
|
|
6735
|
-
wt = e * Math.sin(wt),
|
|
6735
|
+
wt = e * Math.sin(wt), B.x = q.x + (Vt * gt.x + wt * rt.x), B.y = q.y + (Vt * gt.y + wt * rt.y), B.z = q.z + (Vt * gt.z + wt * rt.z), _.push(B.x, B.y, B.z), H.subVectors(B, q).normalize(), T.push(H.x, H.y, H.z), A.push(P / i), A.push(Ct / n);
|
|
6736
6736
|
}
|
|
6737
6737
|
}
|
|
6738
6738
|
for (Ct = 1; Ct <= i; Ct++)
|
|
@@ -6757,15 +6757,15 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6757
6757
|
tubularSegments: n,
|
|
6758
6758
|
arc: s
|
|
6759
6759
|
}, t = t || 1, e = e || 0.4, i = Math.floor(i) || 8, n = Math.floor(n) || 6, s = s || 2 * Math.PI;
|
|
6760
|
-
var l = [], d = [], p = [], _ = [], T = new u(), A = new u(), P = new u(),
|
|
6761
|
-
for (
|
|
6760
|
+
var l = [], d = [], p = [], _ = [], T = new u(), A = new u(), P = new u(), B, H;
|
|
6761
|
+
for (B = 0; B <= i; B++)
|
|
6762
6762
|
for (H = 0; H <= n; H++) {
|
|
6763
|
-
var q = H / n * s, J =
|
|
6764
|
-
A.x = (t + e * Math.cos(J)) * Math.cos(q), A.y = (t + e * Math.cos(J)) * Math.sin(q), A.z = e * Math.sin(J), d.push(A.x, A.y, A.z), T.x = t * Math.cos(q), T.y = t * Math.sin(q), P.subVectors(A, T).normalize(), p.push(P.x, P.y, P.z), _.push(H / n), _.push(
|
|
6763
|
+
var q = H / n * s, J = B / i * Math.PI * 2;
|
|
6764
|
+
A.x = (t + e * Math.cos(J)) * Math.cos(q), A.y = (t + e * Math.cos(J)) * Math.sin(q), A.z = e * Math.sin(J), d.push(A.x, A.y, A.z), T.x = t * Math.cos(q), T.y = t * Math.sin(q), P.subVectors(A, T).normalize(), p.push(P.x, P.y, P.z), _.push(H / n), _.push(B / i);
|
|
6765
6765
|
}
|
|
6766
|
-
for (
|
|
6766
|
+
for (B = 1; B <= i; B++)
|
|
6767
6767
|
for (H = 1; H <= n; H++)
|
|
6768
|
-
t = (n + 1) * (
|
|
6768
|
+
t = (n + 1) * (B - 1) + H - 1, e = (n + 1) * (B - 1) + H, s = (n + 1) * B + H, l.push((n + 1) * B + H - 1, t, s), l.push(t, e, s);
|
|
6769
6769
|
this.setIndex(l), this.addAttribute("position", new Et(d, 3)), this.addAttribute("normal", new Et(p, 3)), this.addAttribute("uv", new Et(_, 2));
|
|
6770
6770
|
}
|
|
6771
6771
|
function _h(t, e, i, n, s) {
|
|
@@ -6803,7 +6803,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6803
6803
|
_.z === null && (_.z = Dl(_.x, _.y, n, s, l)), _.prevZ = _.prev, _ = _.nextZ = _.next;
|
|
6804
6804
|
while (_ !== p);
|
|
6805
6805
|
_.prevZ.nextZ = null, _.prevZ = null, p = _;
|
|
6806
|
-
var T, A, P,
|
|
6806
|
+
var T, A, P, B, H = 1;
|
|
6807
6807
|
do {
|
|
6808
6808
|
_ = p;
|
|
6809
6809
|
var q = p = null;
|
|
@@ -6812,8 +6812,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6812
6812
|
var J = _;
|
|
6813
6813
|
for (T = P = 0; T < H && (P++, J = J.nextZ, J); T++)
|
|
6814
6814
|
;
|
|
6815
|
-
for (
|
|
6816
|
-
P !== 0 && (
|
|
6815
|
+
for (B = H; 0 < P || 0 < B && J; )
|
|
6816
|
+
P !== 0 && (B === 0 || !J || _.z <= J.z) ? (T = _, _ = _.nextZ, P--) : (T = J, J = J.nextZ, B--), q ? q.nextZ = T : p = T, T.prevZ = q, q = T;
|
|
6817
6817
|
_ = J;
|
|
6818
6818
|
}
|
|
6819
6819
|
q.nextZ = null, H *= 2;
|
|
@@ -6822,7 +6822,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6822
6822
|
for (p = t; t.prev !== t.next; ) {
|
|
6823
6823
|
if (_ = t.prev, J = t.next, l)
|
|
6824
6824
|
t: {
|
|
6825
|
-
q = t,
|
|
6825
|
+
q = t, B = n;
|
|
6826
6826
|
var rt = s, xt = l;
|
|
6827
6827
|
if (A = q.prev, P = q, H = q.next, 0 <= Yi(A, P, H))
|
|
6828
6828
|
q = !1;
|
|
@@ -6831,10 +6831,10 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
6831
6831
|
for (T = Dl(
|
|
6832
6832
|
A.x < P.x ? A.x < H.x ? A.x : H.x : P.x < H.x ? P.x : H.x,
|
|
6833
6833
|
A.y < P.y ? A.y < H.y ? A.y : H.y : P.y < H.y ? P.y : H.y,
|
|
6834
|
-
|
|
6834
|
+
B,
|
|
6835
6835
|
rt,
|
|
6836
6836
|
xt
|
|
6837
|
-
),
|
|
6837
|
+
), B = Dl(gt, Ct, B, rt, xt), rt = q.nextZ; rt && rt.z <= B; ) {
|
|
6838
6838
|
if (rt !== q.prev && rt !== q.next && zl(A.x, A.y, P.x, P.y, H.x, H.y, rt.x, rt.y) && 0 <= Yi(rt.prev, rt, rt.next)) {
|
|
6839
6839
|
q = !1;
|
|
6840
6840
|
break t;
|
|
@@ -7030,7 +7030,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7030
7030
|
}
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
function
|
|
7033
|
+
function B(Xe, ri, Ai) {
|
|
7034
7034
|
rt.push(Xe), rt.push(ri), rt.push(Ai);
|
|
7035
7035
|
}
|
|
7036
7036
|
function H(Xe, ri, Ai) {
|
|
@@ -7084,23 +7084,23 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7084
7084
|
var Hi = Vt * Math.cos(ti * Math.PI / 2);
|
|
7085
7085
|
for (ji = $ * Math.sin(ti * Math.PI / 2), Ce = 0, ti = mn.length; Ce < ti; Ce++) {
|
|
7086
7086
|
var Ae = T(mn[Ce], xt[Ce], ji);
|
|
7087
|
-
|
|
7087
|
+
B(Ae.x, Ae.y, -Hi);
|
|
7088
7088
|
}
|
|
7089
7089
|
for (Qe = 0, ae = We.length; Qe < ae; Qe++)
|
|
7090
7090
|
for (ci = We[Qe], ei = kt[Qe], Ce = 0, ti = ci.length; Ce < ti; Ce++)
|
|
7091
|
-
Ae = T(ci[Ce], ei[Ce], ji),
|
|
7091
|
+
Ae = T(ci[Ce], ei[Ce], ji), B(Ae.x, Ae.y, -Hi);
|
|
7092
7092
|
}
|
|
7093
7093
|
for (ji = $, Ce = 0; Ce < Gi; Ce++)
|
|
7094
|
-
Ae = wt ? T(_[Ce], Ye[Ce], ji) : _[Ce], $t ? (De.copy(Te.normals[0]).multiplyScalar(Ae.x), ge.copy(Te.binormals[0]).multiplyScalar(Ae.y), be.copy(Yt[0]).add(De).add(ge),
|
|
7094
|
+
Ae = wt ? T(_[Ce], Ye[Ce], ji) : _[Ce], $t ? (De.copy(Te.normals[0]).multiplyScalar(Ae.x), ge.copy(Te.binormals[0]).multiplyScalar(Ae.y), be.copy(Yt[0]).add(De).add(ge), B(be.x, be.y, be.z)) : B(Ae.x, Ae.y, 0);
|
|
7095
7095
|
for (ti = 1; ti <= gt; ti++)
|
|
7096
7096
|
for (Ce = 0; Ce < Gi; Ce++)
|
|
7097
|
-
Ae = wt ? T(_[Ce], Ye[Ce], ji) : _[Ce], $t ? (De.copy(Te.normals[ti]).multiplyScalar(Ae.x), ge.copy(Te.binormals[ti]).multiplyScalar(Ae.y), be.copy(Yt[ti]).add(De).add(ge),
|
|
7097
|
+
Ae = wt ? T(_[Ce], Ye[Ce], ji) : _[Ce], $t ? (De.copy(Te.normals[ti]).multiplyScalar(Ae.x), ge.copy(Te.binormals[ti]).multiplyScalar(Ae.y), be.copy(Yt[ti]).add(De).add(ge), B(be.x, be.y, be.z)) : B(Ae.x, Ae.y, Ct / gt * ti);
|
|
7098
7098
|
for (Ht = ot - 1; 0 <= Ht; Ht--) {
|
|
7099
7099
|
for (ti = Ht / ot, Hi = Vt * Math.cos(ti * Math.PI / 2), ji = $ * Math.sin(ti * Math.PI / 2), Ce = 0, ti = mn.length; Ce < ti; Ce++)
|
|
7100
|
-
Ae = T(mn[Ce], xt[Ce], ji),
|
|
7100
|
+
Ae = T(mn[Ce], xt[Ce], ji), B(Ae.x, Ae.y, Ct + Hi);
|
|
7101
7101
|
for (Qe = 0, ae = We.length; Qe < ae; Qe++)
|
|
7102
7102
|
for (ci = We[Qe], ei = kt[Qe], Ce = 0, ti = ci.length; Ce < ti; Ce++)
|
|
7103
|
-
Ae = T(ci[Ce], ei[Ce], ji), $t ?
|
|
7103
|
+
Ae = T(ci[Ce], ei[Ce], ji), $t ? B(Ae.x, Ae.y + Yt[gt - 1].y, Yt[gt - 1].x + Hi) : B(Ae.x, Ae.y, Ct + Hi);
|
|
7104
7104
|
}
|
|
7105
7105
|
(function() {
|
|
7106
7106
|
var Xe = s.length / 3;
|
|
@@ -7168,12 +7168,12 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7168
7168
|
thetaStart: l,
|
|
7169
7169
|
thetaLength: d
|
|
7170
7170
|
}, t = t || 1, e = Math.max(3, Math.floor(e) || 8), i = Math.max(2, Math.floor(i) || 6), n = n !== void 0 ? n : 0, s = s !== void 0 ? s : 2 * Math.PI, l = l !== void 0 ? l : 0, d = d !== void 0 ? d : Math.PI;
|
|
7171
|
-
var p = l + d, _, T, A = 0, P = [],
|
|
7171
|
+
var p = l + d, _, T, A = 0, P = [], B = new u(), H = new u(), q = [], J = [], rt = [], xt = [];
|
|
7172
7172
|
for (T = 0; T <= i; T++) {
|
|
7173
7173
|
var gt = [], Ct = T / i;
|
|
7174
7174
|
for (_ = 0; _ <= e; _++) {
|
|
7175
7175
|
var wt = _ / e;
|
|
7176
|
-
|
|
7176
|
+
B.x = -t * Math.cos(n + wt * s) * Math.sin(l + Ct * d), B.y = t * Math.cos(l + Ct * d), B.z = t * Math.sin(n + wt * s) * Math.sin(l + Ct * d), J.push(B.x, B.y, B.z), H.set(B.x, B.y, B.z).normalize(), rt.push(H.x, H.y, H.z), xt.push(wt, 1 - Ct), gt.push(A++);
|
|
7177
7177
|
}
|
|
7178
7178
|
P.push(gt);
|
|
7179
7179
|
}
|
|
@@ -7201,10 +7201,10 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7201
7201
|
thetaStart: s,
|
|
7202
7202
|
thetaLength: l
|
|
7203
7203
|
}, t = t || 0.5, e = e || 1, s = s !== void 0 ? s : 0, l = l !== void 0 ? l : 2 * Math.PI, i = i !== void 0 ? Math.max(3, i) : 8, n = n !== void 0 ? Math.max(1, n) : 1;
|
|
7204
|
-
var d = [], p = [], _ = [], T = [], A = t, P = (e - t) / n,
|
|
7204
|
+
var d = [], p = [], _ = [], T = [], A = t, P = (e - t) / n, B = new u(), H = new o(), q, J;
|
|
7205
7205
|
for (q = 0; q <= n; q++) {
|
|
7206
7206
|
for (J = 0; J <= i; J++)
|
|
7207
|
-
t = s + J / i * l,
|
|
7207
|
+
t = s + J / i * l, B.x = A * Math.cos(t), B.y = A * Math.sin(t), p.push(B.x, B.y, B.z), _.push(0, 0, 1), H.x = (B.x / e + 1) / 2, H.y = (B.y / e + 1) / 2, T.push(H.x, H.y);
|
|
7208
7208
|
A += P;
|
|
7209
7209
|
}
|
|
7210
7210
|
for (q = 0; q < n; q++)
|
|
@@ -7219,9 +7219,9 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7219
7219
|
Ft.call(this), this.type = "LatheBufferGeometry", this.parameters = { points: t, segments: e, phiStart: i, phiLength: n }, e = Math.floor(e) || 12, i = i || 0, n = n || 2 * Math.PI, n = fi.clamp(n, 0, 2 * Math.PI);
|
|
7220
7220
|
var s = [], l = [], d = [], p = 1 / e, _ = new u(), T = new o(), A;
|
|
7221
7221
|
for (A = 0; A <= e; A++) {
|
|
7222
|
-
var P = i + A * p * n,
|
|
7222
|
+
var P = i + A * p * n, B = Math.sin(P), H = Math.cos(P);
|
|
7223
7223
|
for (P = 0; P <= t.length - 1; P++)
|
|
7224
|
-
_.x = t[P].x *
|
|
7224
|
+
_.x = t[P].x * B, _.y = t[P].y, _.z = t[P].x * H, l.push(_.x, _.y, _.z), T.x = A / e, T.y = P / (t.length - 1), d.push(T.x, T.y);
|
|
7225
7225
|
}
|
|
7226
7226
|
for (A = 0; A < e; A++)
|
|
7227
7227
|
for (P = 0; P < t.length - 1; P++)
|
|
@@ -7235,7 +7235,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7235
7235
|
}
|
|
7236
7236
|
function Xo(t, e) {
|
|
7237
7237
|
function i(A) {
|
|
7238
|
-
var P,
|
|
7238
|
+
var P, B = s.length / 3;
|
|
7239
7239
|
A = A.extractPoints(e);
|
|
7240
7240
|
var H = A.shape, q = A.holes;
|
|
7241
7241
|
if (vo.isClockWise(H) === !1)
|
|
@@ -7249,7 +7249,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7249
7249
|
for (A = 0, P = H.length; A < P; A++)
|
|
7250
7250
|
J = H[A], s.push(J.x, J.y, 0), l.push(0, 0, 1), d.push(J.x, J.y);
|
|
7251
7251
|
for (A = 0, P = rt.length; A < P; A++)
|
|
7252
|
-
H = rt[A], n.push(H[0] +
|
|
7252
|
+
H = rt[A], n.push(H[0] + B, H[1] + B, H[2] + B), _ += 3;
|
|
7253
7253
|
}
|
|
7254
7254
|
Ft.call(this), this.type = "ShapeBufferGeometry", this.parameters = { shapes: t, curveSegments: e }, e = e || 12;
|
|
7255
7255
|
var n = [], s = [], l = [], d = [], p = 0, _ = 0;
|
|
@@ -7281,8 +7281,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7281
7281
|
d.mergeVertices(), d.computeFaceNormals(), t = d.vertices, d = d.faces;
|
|
7282
7282
|
for (var p = 0, _ = d.length; p < _; p++)
|
|
7283
7283
|
for (var T = d[p], A = 0; 3 > A; A++) {
|
|
7284
|
-
var P = T[l[A]],
|
|
7285
|
-
n[0] = Math.min(P,
|
|
7284
|
+
var P = T[l[A]], B = T[l[(A + 1) % 3]];
|
|
7285
|
+
n[0] = Math.min(P, B), n[1] = Math.max(P, B), P = n[0] + "," + n[1], s[P] === void 0 ? s[P] = { index1: n[0], index2: n[1], face1: p, face2: void 0 } : s[P].face2 = p;
|
|
7286
7286
|
}
|
|
7287
7287
|
for (P in s)
|
|
7288
7288
|
n = s[P], (n.face2 === void 0 || d[n.face1].normal.dot(d[n.face2].normal) <= e) && (l = t[n.index1], i.push(l.x, l.y, l.z), l = t[n.index2], i.push(l.x, l.y, l.z));
|
|
@@ -7304,11 +7304,11 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7304
7304
|
function _(gt) {
|
|
7305
7305
|
var Ct, wt = new o(), Vt = new u(), $ = 0, ot = gt === !0 ? t : e, kt = gt === !0 ? 1 : -1, ee = q;
|
|
7306
7306
|
for (Ct = 1; Ct <= n; Ct++)
|
|
7307
|
-
P.push(0, rt * kt, 0),
|
|
7307
|
+
P.push(0, rt * kt, 0), B.push(0, kt, 0), H.push(0.5, 0.5), q++;
|
|
7308
7308
|
var $t = q;
|
|
7309
7309
|
for (Ct = 0; Ct <= n; Ct++) {
|
|
7310
7310
|
var Yt = Ct / n * p + d, Te = Math.cos(Yt);
|
|
7311
|
-
Yt = Math.sin(Yt), Vt.x = ot * Yt, Vt.y = rt * kt, Vt.z = ot * Te, P.push(Vt.x, Vt.y, Vt.z),
|
|
7311
|
+
Yt = Math.sin(Yt), Vt.x = ot * Yt, Vt.y = rt * kt, Vt.z = ot * Te, P.push(Vt.x, Vt.y, Vt.z), B.push(0, kt, 0), wt.x = 0.5 * Te + 0.5, wt.y = 0.5 * Yt * kt + 0.5, H.push(wt.x, wt.y), q++;
|
|
7312
7312
|
}
|
|
7313
7313
|
for (Ct = 0; Ct < n; Ct++)
|
|
7314
7314
|
wt = ee + Ct, Vt = $t + Ct, gt === !0 ? A.push(Vt, Vt + 1, wt) : A.push(Vt + 1, Vt, wt), $ += 3;
|
|
@@ -7326,14 +7326,14 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7326
7326
|
};
|
|
7327
7327
|
var T = this;
|
|
7328
7328
|
t = t !== void 0 ? t : 1, e = e !== void 0 ? e : 1, i = i || 1, n = Math.floor(n) || 8, s = Math.floor(s) || 1, l = l !== void 0 ? l : !1, d = d !== void 0 ? d : 0, p = p !== void 0 ? p : 2 * Math.PI;
|
|
7329
|
-
var A = [], P = [],
|
|
7329
|
+
var A = [], P = [], B = [], H = [], q = 0, J = [], rt = i / 2, xt = 0;
|
|
7330
7330
|
(function() {
|
|
7331
7331
|
var gt, Ct, wt = new u(), Vt = new u(), $ = 0, ot = (e - t) / i;
|
|
7332
7332
|
for (Ct = 0; Ct <= s; Ct++) {
|
|
7333
7333
|
var kt = [], ee = Ct / s, $t = ee * (e - t) + t;
|
|
7334
7334
|
for (gt = 0; gt <= n; gt++) {
|
|
7335
7335
|
var Yt = gt / n, Te = Yt * p + d, ge = Math.sin(Te);
|
|
7336
|
-
Te = Math.cos(Te), Vt.x = $t * ge, Vt.y = -ee * i + rt, Vt.z = $t * Te, P.push(Vt.x, Vt.y, Vt.z), wt.set(ge, ot, Te).normalize(),
|
|
7336
|
+
Te = Math.cos(Te), Vt.x = $t * ge, Vt.y = -ee * i + rt, Vt.z = $t * Te, P.push(Vt.x, Vt.y, Vt.z), wt.set(ge, ot, Te).normalize(), B.push(wt.x, wt.y, wt.z), H.push(Yt, 1 - ee), kt.push(q++);
|
|
7337
7337
|
}
|
|
7338
7338
|
J.push(kt);
|
|
7339
7339
|
}
|
|
@@ -7341,7 +7341,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7341
7341
|
for (Ct = 0; Ct < s; Ct++)
|
|
7342
7342
|
wt = J[Ct + 1][gt], Vt = J[Ct + 1][gt + 1], ot = J[Ct][gt + 1], A.push(J[Ct][gt], wt, ot), A.push(wt, Vt, ot), $ += 6;
|
|
7343
7343
|
T.addGroup(xt, $, 0), xt += $;
|
|
7344
|
-
})(), l === !1 && (0 < t && _(!0), 0 < e && _(!1)), this.setIndex(A), this.addAttribute("position", new Et(P, 3)), this.addAttribute("normal", new Et(
|
|
7344
|
+
})(), l === !1 && (0 < t && _(!0), 0 < e && _(!1)), this.setIndex(A), this.addAttribute("position", new Et(P, 3)), this.addAttribute("normal", new Et(B, 3)), this.addAttribute("uv", new Et(H, 2));
|
|
7345
7345
|
}
|
|
7346
7346
|
function ha(t, e, i, n, s, l, d) {
|
|
7347
7347
|
Lo.call(this, 0, t, e, i, n, s, l, d), this.type = "ConeGeometry", this.parameters = {
|
|
@@ -7374,8 +7374,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7374
7374
|
l.push(0, 0, 0), d.push(0, 0, 1), p.push(0.5, 0.5);
|
|
7375
7375
|
var P = 0;
|
|
7376
7376
|
for (_ = 3; P <= e; P++, _ += 3) {
|
|
7377
|
-
var
|
|
7378
|
-
T.x = t * Math.cos(
|
|
7377
|
+
var B = i + P / e * n;
|
|
7378
|
+
T.x = t * Math.cos(B), T.y = t * Math.sin(B), l.push(T.x, T.y, T.z), d.push(0, 0, 1), A.x = (l[_] / t + 1) / 2, A.y = (l[_ + 1] / t + 1) / 2, p.push(A.x, A.y);
|
|
7379
7379
|
}
|
|
7380
7380
|
for (_ = 1; _ <= e; _++)
|
|
7381
7381
|
s.push(_, _ + 1, 0);
|
|
@@ -7692,11 +7692,11 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7692
7692
|
var T = new _e(90, 1, t, e);
|
|
7693
7693
|
T.up.set(0, -1, 0), T.lookAt(new u(0, 0, -1)), this.add(T), n = n || { format: 1022, magFilter: 1006, minFilter: 1006 }, this.renderTarget = new b(i, i, n), this.renderTarget.texture.name = "CubeCamera", this.update = function(A, P) {
|
|
7694
7694
|
this.parent === null && this.updateMatrixWorld();
|
|
7695
|
-
var
|
|
7696
|
-
|
|
7697
|
-
}, this.clear = function(A, P,
|
|
7695
|
+
var B = this.renderTarget, H = B.texture.generateMipmaps;
|
|
7696
|
+
B.texture.generateMipmaps = !1, B.activeCubeFace = 0, A.render(P, s, B), B.activeCubeFace = 1, A.render(P, l, B), B.activeCubeFace = 2, A.render(P, d, B), B.activeCubeFace = 3, A.render(P, p, B), B.activeCubeFace = 4, A.render(P, _, B), B.texture.generateMipmaps = H, B.activeCubeFace = 5, A.render(P, T, B), A.setRenderTarget(null);
|
|
7697
|
+
}, this.clear = function(A, P, B, H) {
|
|
7698
7698
|
for (var q = this.renderTarget, J = 0; 6 > J; J++)
|
|
7699
|
-
q.activeCubeFace = J, A.setRenderTarget(q), A.clear(P,
|
|
7699
|
+
q.activeCubeFace = J, A.setRenderTarget(q), A.clear(P, B, H);
|
|
7700
7700
|
A.setRenderTarget(null);
|
|
7701
7701
|
};
|
|
7702
7702
|
}
|
|
@@ -7913,9 +7913,9 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7913
7913
|
}
|
|
7914
7914
|
for (_ = 0; _ <= i; _++) {
|
|
7915
7915
|
P = _ & 1 ? s : l;
|
|
7916
|
-
var
|
|
7916
|
+
var B = t - t / i * _;
|
|
7917
7917
|
for (e = 0; e < n; e++)
|
|
7918
|
-
T = e / n * 2 * Math.PI, A = Math.sin(T) *
|
|
7918
|
+
T = e / n * 2 * Math.PI, A = Math.sin(T) * B, T = Math.cos(T) * B, d.push(A, 0, T), p.push(P.r, P.g, P.b), T = (e + 1) / n * 2 * Math.PI, A = Math.sin(T) * B, T = Math.cos(T) * B, d.push(A, 0, T), p.push(P.r, P.g, P.b);
|
|
7919
7919
|
}
|
|
7920
7920
|
t = new Ft(), t.addAttribute("position", new Et(d, 3)), t.addAttribute("color", new Et(p, 3)), d = new zi({ vertexColors: 2 }), mi.call(this, t, d);
|
|
7921
7921
|
}
|
|
@@ -7935,8 +7935,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
7935
7935
|
function i(H, q) {
|
|
7936
7936
|
l.push(0, 0, 0), d.push(q.r, q.g, q.b), p[H] === void 0 && (p[H] = []), p[H].push(l.length / 3 - 1);
|
|
7937
7937
|
}
|
|
7938
|
-
var n = new Ft(), s = new zi({ color: 16777215, vertexColors: 1 }), l = [], d = [], p = {}, _ = new L(16755200), T = new L(16711680), A = new L(43775), P = new L(16777215),
|
|
7939
|
-
e("n1", "n2", _), e("n2", "n4", _), e("n4", "n3", _), e("n3", "n1", _), e("f1", "f2", _), e("f2", "f4", _), e("f4", "f3", _), e("f3", "f1", _), e("n1", "f1", _), e("n2", "f2", _), e("n3", "f3", _), e("n4", "f4", _), e("p", "n1", T), e("p", "n2", T), e("p", "n3", T), e("p", "n4", T), e("u1", "u2", A), e("u2", "u3", A), e("u3", "u1", A), e("c", "t", P), e("p", "c",
|
|
7938
|
+
var n = new Ft(), s = new zi({ color: 16777215, vertexColors: 1 }), l = [], d = [], p = {}, _ = new L(16755200), T = new L(16711680), A = new L(43775), P = new L(16777215), B = new L(3355443);
|
|
7939
|
+
e("n1", "n2", _), e("n2", "n4", _), e("n4", "n3", _), e("n3", "n1", _), e("f1", "f2", _), e("f2", "f4", _), e("f4", "f3", _), e("f3", "f1", _), e("n1", "f1", _), e("n2", "f2", _), e("n3", "f3", _), e("n4", "f4", _), e("p", "n1", T), e("p", "n2", T), e("p", "n3", T), e("p", "n4", T), e("u1", "u2", A), e("u2", "u3", A), e("u3", "u1", A), e("c", "t", P), e("p", "c", B), e("cn1", "cn2", B), e("cn3", "cn4", B), e("cf1", "cf2", B), e("cf3", "cf4", B), n.addAttribute("position", new Et(l, 3)), n.addAttribute("color", new Et(d, 3)), mi.call(this, n, s), this.camera = t, this.camera.updateProjectionMatrix && this.camera.updateProjectionMatrix(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.pointMap = p, this.update();
|
|
7940
7940
|
}
|
|
7941
7941
|
function Do(t, e) {
|
|
7942
7942
|
this.object = t, e === void 0 && (e = 16776960), t = new Uint16Array([
|
|
@@ -8391,9 +8391,9 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8391
8391
|
}
|
|
8392
8392
|
}), Object.assign(c.prototype, {
|
|
8393
8393
|
isMatrix4: !0,
|
|
8394
|
-
set: function(t, e, i, n, s, l, d, p, _, T, A, P,
|
|
8394
|
+
set: function(t, e, i, n, s, l, d, p, _, T, A, P, B, H, q, J) {
|
|
8395
8395
|
var rt = this.elements;
|
|
8396
|
-
return rt[0] = t, rt[4] = e, rt[8] = i, rt[12] = n, rt[1] = s, rt[5] = l, rt[9] = d, rt[13] = p, rt[2] = _, rt[6] = T, rt[10] = A, rt[14] = P, rt[3] =
|
|
8396
|
+
return rt[0] = t, rt[4] = e, rt[8] = i, rt[12] = n, rt[1] = s, rt[5] = l, rt[9] = d, rt[13] = p, rt[2] = _, rt[6] = T, rt[10] = A, rt[14] = P, rt[3] = B, rt[7] = H, rt[11] = q, rt[15] = J, this;
|
|
8397
8397
|
},
|
|
8398
8398
|
identity: function() {
|
|
8399
8399
|
return this.set(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1), this;
|
|
@@ -8476,10 +8476,10 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8476
8476
|
multiplyMatrices: function(t, e) {
|
|
8477
8477
|
var i = t.elements, n = e.elements;
|
|
8478
8478
|
e = this.elements, t = i[0];
|
|
8479
|
-
var s = i[4], l = i[8], d = i[12], p = i[1], _ = i[5], T = i[9], A = i[13], P = i[2],
|
|
8479
|
+
var s = i[4], l = i[8], d = i[12], p = i[1], _ = i[5], T = i[9], A = i[13], P = i[2], B = i[6], H = i[10], q = i[14], J = i[3], rt = i[7], xt = i[11];
|
|
8480
8480
|
i = i[15];
|
|
8481
8481
|
var gt = n[0], Ct = n[4], wt = n[8], Vt = n[12], $ = n[1], ot = n[5], kt = n[9], ee = n[13], $t = n[2], Yt = n[6], Te = n[10], ge = n[14], De = n[3], be = n[7], ae = n[11];
|
|
8482
|
-
return n = n[15], e[0] = t * gt + s * $ + l * $t + d * De, e[4] = t * Ct + s * ot + l * Yt + d * be, e[8] = t * wt + s * kt + l * Te + d * ae, e[12] = t * Vt + s * ee + l * ge + d * n, e[1] = p * gt + _ * $ + T * $t + A * De, e[5] = p * Ct + _ * ot + T * Yt + A * be, e[9] = p * wt + _ * kt + T * Te + A * ae, e[13] = p * Vt + _ * ee + T * ge + A * n, e[2] = P * gt +
|
|
8482
|
+
return n = n[15], e[0] = t * gt + s * $ + l * $t + d * De, e[4] = t * Ct + s * ot + l * Yt + d * be, e[8] = t * wt + s * kt + l * Te + d * ae, e[12] = t * Vt + s * ee + l * ge + d * n, e[1] = p * gt + _ * $ + T * $t + A * De, e[5] = p * Ct + _ * ot + T * Yt + A * be, e[9] = p * wt + _ * kt + T * Te + A * ae, e[13] = p * Vt + _ * ee + T * ge + A * n, e[2] = P * gt + B * $ + H * $t + q * De, e[6] = P * Ct + B * ot + H * Yt + q * be, e[10] = P * wt + B * kt + H * Te + q * ae, e[14] = P * Vt + B * ee + H * ge + q * n, e[3] = J * gt + rt * $ + xt * $t + i * De, e[7] = J * Ct + rt * ot + xt * Yt + i * be, e[11] = J * wt + rt * kt + xt * Te + i * ae, e[15] = J * Vt + rt * ee + xt * ge + i * n, this;
|
|
8483
8483
|
},
|
|
8484
8484
|
multiplyScalar: function(t) {
|
|
8485
8485
|
var e = this.elements;
|
|
@@ -8494,8 +8494,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8494
8494
|
};
|
|
8495
8495
|
}(),
|
|
8496
8496
|
determinant: function() {
|
|
8497
|
-
var t = this.elements, e = t[0], i = t[4], n = t[8], s = t[12], l = t[1], d = t[5], p = t[9], _ = t[13], T = t[2], A = t[6], P = t[10],
|
|
8498
|
-
return t[3] * (+s * p * A - n * _ * A - s * d * P + i * _ * P + n * d *
|
|
8497
|
+
var t = this.elements, e = t[0], i = t[4], n = t[8], s = t[12], l = t[1], d = t[5], p = t[9], _ = t[13], T = t[2], A = t[6], P = t[10], B = t[14];
|
|
8498
|
+
return t[3] * (+s * p * A - n * _ * A - s * d * P + i * _ * P + n * d * B - i * p * B) + t[7] * (+e * p * B - e * _ * P + s * l * P - n * l * B + n * _ * T - s * p * T) + t[11] * (+e * _ * A - e * d * B - s * l * A + i * l * B + s * d * T - i * _ * T) + t[15] * (-n * d * T - e * p * A + e * d * P + n * l * A - i * l * P + i * p * T);
|
|
8499
8499
|
},
|
|
8500
8500
|
transpose: function() {
|
|
8501
8501
|
var t = this.elements, e = t[1];
|
|
@@ -8508,9 +8508,9 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8508
8508
|
getInverse: function(t, e) {
|
|
8509
8509
|
var i = this.elements, n = t.elements;
|
|
8510
8510
|
t = n[0];
|
|
8511
|
-
var s = n[1], l = n[2], d = n[3], p = n[4], _ = n[5], T = n[6], A = n[7], P = n[8],
|
|
8511
|
+
var s = n[1], l = n[2], d = n[3], p = n[4], _ = n[5], T = n[6], A = n[7], P = n[8], B = n[9], H = n[10], q = n[11], J = n[12], rt = n[13], xt = n[14];
|
|
8512
8512
|
n = n[15];
|
|
8513
|
-
var gt =
|
|
8513
|
+
var gt = B * xt * A - rt * H * A + rt * T * q - _ * xt * q - B * T * n + _ * H * n, Ct = J * H * A - P * xt * A - J * T * q + p * xt * q + P * T * n - p * H * n, wt = P * rt * A - J * B * A + J * _ * q - p * rt * q - P * _ * n + p * B * n, Vt = J * B * T - P * rt * T - J * _ * H + p * rt * H + P * _ * xt - p * B * xt, $ = t * gt + s * Ct + l * wt + d * Vt;
|
|
8514
8514
|
if ($ === 0) {
|
|
8515
8515
|
if (e === !0)
|
|
8516
8516
|
throw Error(
|
|
@@ -8518,7 +8518,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8518
8518
|
);
|
|
8519
8519
|
return this.identity();
|
|
8520
8520
|
}
|
|
8521
|
-
return e = 1 / $, i[0] = gt * e, i[1] = (rt * H * d -
|
|
8521
|
+
return e = 1 / $, i[0] = gt * e, i[1] = (rt * H * d - B * xt * d - rt * l * q + s * xt * q + B * l * n - s * H * n) * e, i[2] = (_ * xt * d - rt * T * d + rt * l * A - s * xt * A - _ * l * n + s * T * n) * e, i[3] = (B * T * d - _ * H * d - B * l * A + s * H * A + _ * l * q - s * T * q) * e, i[4] = Ct * e, i[5] = (P * xt * d - J * H * d + J * l * q - t * xt * q - P * l * n + t * H * n) * e, i[6] = (J * T * d - p * xt * d - J * l * A + t * xt * A + p * l * n - t * T * n) * e, i[7] = (p * H * d - P * T * d + P * l * A - t * H * A - p * l * q + t * T * q) * e, i[8] = wt * e, i[9] = (J * B * d - P * rt * d - J * s * q + t * rt * q + P * s * n - t * B * n) * e, i[10] = (p * rt * d - J * _ * d + J * s * A - t * rt * A - p * s * n + t * _ * n) * e, i[11] = (P * _ * d - p * B * d - P * s * A + t * B * A + p * s * q - t * _ * q) * e, i[12] = Vt * e, i[13] = (P * rt * l - J * B * l + J * s * H - t * rt * H - P * s * xt + t * B * xt) * e, i[14] = (J * _ * l - p * rt * l - J * s * T + t * rt * T + p * s * xt - t * _ * xt) * e, i[15] = (p * B * l - P * _ * l + P * s * T - t * B * T - p * s * H + t * _ * H) * e, this;
|
|
8522
8522
|
},
|
|
8523
8523
|
scale: function(t) {
|
|
8524
8524
|
var e = this.elements, i = t.x, n = t.y;
|
|
@@ -8585,10 +8585,10 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8585
8585
|
e = s * _;
|
|
8586
8586
|
var P = s * T;
|
|
8587
8587
|
s *= A;
|
|
8588
|
-
var
|
|
8588
|
+
var B = l * T;
|
|
8589
8589
|
l *= A, d *= A, _ *= p, T *= p, p *= A, A = i.x;
|
|
8590
8590
|
var H = i.y;
|
|
8591
|
-
return i = i.z, n[0] = (1 - (
|
|
8591
|
+
return i = i.z, n[0] = (1 - (B + d)) * A, n[1] = (P + p) * A, n[2] = (s - T) * A, n[3] = 0, n[4] = (P - p) * H, n[5] = (1 - (e + d)) * H, n[6] = (l + _) * H, n[7] = 0, n[8] = (s + T) * i, n[9] = (l - _) * i, n[10] = (1 - (e + B)) * i, n[11] = 0, n[12] = t.x, n[13] = t.y, n[14] = t.z, n[15] = 1, this;
|
|
8592
8592
|
},
|
|
8593
8593
|
decompose: function() {
|
|
8594
8594
|
var t = new u(), e = new c();
|
|
@@ -8636,8 +8636,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
8636
8636
|
var A = s[l + 1], P = s[l + 2];
|
|
8637
8637
|
if (s = s[l + 3], i !== s || p !== n || _ !== A || T !== P) {
|
|
8638
8638
|
l = 1 - d;
|
|
8639
|
-
var
|
|
8640
|
-
q > Number.EPSILON && (q = Math.sqrt(q),
|
|
8639
|
+
var B = p * n + _ * A + T * P + i * s, H = 0 <= B ? 1 : -1, q = 1 - B * B;
|
|
8640
|
+
q > Number.EPSILON && (q = Math.sqrt(q), B = Math.atan2(q, B * H), l = Math.sin(l * B) / q, d = Math.sin(d * B) / q), H *= d, p = p * l + n * H, _ = _ * l + A * H, T = T * l + P * H, i = i * l + s * H, l === 1 - d && (d = 1 / Math.sqrt(p * p + _ * _ + T * T + i * i), p *= d, _ *= d, T *= d, i *= d);
|
|
8641
8641
|
}
|
|
8642
8642
|
t[e] = p, t[e + 1] = _, t[e + 2] = T, t[e + 3] = i;
|
|
8643
8643
|
}
|
|
@@ -9085,8 +9085,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
9085
9085
|
e = this.elements, t = i[0];
|
|
9086
9086
|
var s = i[3], l = i[6], d = i[1], p = i[4], _ = i[7], T = i[2], A = i[5];
|
|
9087
9087
|
i = i[8];
|
|
9088
|
-
var P = n[0],
|
|
9089
|
-
return n = n[8], e[0] = t * P + s * q + l * xt, e[3] = t *
|
|
9088
|
+
var P = n[0], B = n[3], H = n[6], q = n[1], J = n[4], rt = n[7], xt = n[2], gt = n[5];
|
|
9089
|
+
return n = n[8], e[0] = t * P + s * q + l * xt, e[3] = t * B + s * J + l * gt, e[6] = t * H + s * rt + l * n, e[1] = d * P + p * q + _ * xt, e[4] = d * B + p * J + _ * gt, e[7] = d * H + p * rt + _ * n, e[2] = T * P + A * q + i * xt, e[5] = T * B + A * J + i * gt, e[8] = T * H + A * rt + i * n, this;
|
|
9090
9090
|
},
|
|
9091
9091
|
multiplyScalar: function(t) {
|
|
9092
9092
|
var e = this.elements;
|
|
@@ -9102,7 +9102,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
9102
9102
|
t = this.elements;
|
|
9103
9103
|
var n = i[0], s = i[1], l = i[2], d = i[3], p = i[4], _ = i[5], T = i[6], A = i[7];
|
|
9104
9104
|
i = i[8];
|
|
9105
|
-
var P = i * p - _ * A,
|
|
9105
|
+
var P = i * p - _ * A, B = _ * T - i * d, H = A * d - p * T, q = n * P + s * B + l * H;
|
|
9106
9106
|
if (q === 0) {
|
|
9107
9107
|
if (e === !0)
|
|
9108
9108
|
throw Error(
|
|
@@ -9110,7 +9110,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
9110
9110
|
);
|
|
9111
9111
|
return this.identity();
|
|
9112
9112
|
}
|
|
9113
|
-
return e = 1 / q, t[0] = P * e, t[1] = (l * A - i * s) * e, t[2] = (_ * s - l * p) * e, t[3] =
|
|
9113
|
+
return e = 1 / q, t[0] = P * e, t[1] = (l * A - i * s) * e, t[2] = (_ * s - l * p) * e, t[3] = B * e, t[4] = (i * n - l * T) * e, t[5] = (l * d - _ * n) * e, t[6] = H * e, t[7] = (s * T - A * n) * e, t[8] = (p * n - s * d) * e, this;
|
|
9114
9114
|
},
|
|
9115
9115
|
transpose: function() {
|
|
9116
9116
|
var t = this.elements, e = t[1];
|
|
@@ -9578,8 +9578,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
9578
9578
|
},
|
|
9579
9579
|
intersectsTriangle: function() {
|
|
9580
9580
|
function t(P) {
|
|
9581
|
-
var
|
|
9582
|
-
for (
|
|
9581
|
+
var B, H = 0;
|
|
9582
|
+
for (B = P.length - 3; H <= B; H += 3) {
|
|
9583
9583
|
p.fromArray(P, H);
|
|
9584
9584
|
var q = T.x * Math.abs(p.x) + T.y * Math.abs(p.y) + T.z * Math.abs(p.z), J = e.dot(p), rt = i.dot(p), xt = n.dot(p);
|
|
9585
9585
|
if (Math.max(-Math.max(J, rt, xt), Math.min(J, rt, xt)) > q)
|
|
@@ -9717,7 +9717,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
9717
9717
|
equals: function(t) {
|
|
9718
9718
|
return t.center.equals(this.center) && t.radius === this.radius;
|
|
9719
9719
|
}
|
|
9720
|
-
}), Object.assign(
|
|
9720
|
+
}), Object.assign(N.prototype, {
|
|
9721
9721
|
set: function(t, e) {
|
|
9722
9722
|
return this.normal.copy(t), this.constant = e, this;
|
|
9723
9723
|
},
|
|
@@ -9808,8 +9808,8 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
9808
9808
|
setFromMatrix: function(t) {
|
|
9809
9809
|
var e = this.planes, i = t.elements;
|
|
9810
9810
|
t = i[0];
|
|
9811
|
-
var n = i[1], s = i[2], l = i[3], d = i[4], p = i[5], _ = i[6], T = i[7], A = i[8], P = i[9],
|
|
9812
|
-
return i = i[15], e[0].setComponents(l - t, T - d, H - A, i - q).normalize(), e[1].setComponents(l + t, T + d, H + A, i + q).normalize(), e[2].setComponents(l + n, T + p, H + P, i + J).normalize(), e[3].setComponents(l - n, T - p, H - P, i - J).normalize(), e[4].setComponents(l - s, T - _, H -
|
|
9811
|
+
var n = i[1], s = i[2], l = i[3], d = i[4], p = i[5], _ = i[6], T = i[7], A = i[8], P = i[9], B = i[10], H = i[11], q = i[12], J = i[13], rt = i[14];
|
|
9812
|
+
return i = i[15], e[0].setComponents(l - t, T - d, H - A, i - q).normalize(), e[1].setComponents(l + t, T + d, H + A, i + q).normalize(), e[2].setComponents(l + n, T + p, H + P, i + J).normalize(), e[3].setComponents(l - n, T - p, H - P, i - J).normalize(), e[4].setComponents(l - s, T - _, H - B, i - rt).normalize(), e[5].setComponents(l + s, T + _, H + B, i + rt).normalize(), this;
|
|
9813
9813
|
},
|
|
9814
9814
|
intersectsObject: function() {
|
|
9815
9815
|
var t = new D();
|
|
@@ -13193,9 +13193,9 @@ void main() {
|
|
|
13193
13193
|
return A[P.uuid] === void 0 && (A[P.uuid] = P.toJSON(t)), P.uuid;
|
|
13194
13194
|
}
|
|
13195
13195
|
function i(A) {
|
|
13196
|
-
var P = [],
|
|
13197
|
-
for (
|
|
13198
|
-
var H = A[
|
|
13196
|
+
var P = [], B;
|
|
13197
|
+
for (B in A) {
|
|
13198
|
+
var H = A[B];
|
|
13199
13199
|
delete H.metadata, P.push(H);
|
|
13200
13200
|
}
|
|
13201
13201
|
return P;
|
|
@@ -13325,8 +13325,8 @@ void main() {
|
|
|
13325
13325
|
if (0 < P.length)
|
|
13326
13326
|
for (s = 0; s < P.length; s++) {
|
|
13327
13327
|
l = P[s];
|
|
13328
|
-
var
|
|
13329
|
-
for (A =
|
|
13328
|
+
var B = l.start, H = l.count;
|
|
13329
|
+
for (A = B, B += H; A < B; A += 3)
|
|
13330
13330
|
n !== void 0 ? e(n[A], n[A + 1], n[A + 2], l.materialIndex) : e(A, A + 1, A + 2, l.materialIndex);
|
|
13331
13331
|
}
|
|
13332
13332
|
else if (n !== void 0)
|
|
@@ -13437,21 +13437,21 @@ void main() {
|
|
|
13437
13437
|
},
|
|
13438
13438
|
merge: function(t, e, i) {
|
|
13439
13439
|
if (t && t.isGeometry) {
|
|
13440
|
-
var n, s = this.vertices.length, l = this.vertices, d = t.vertices, p = this.faces, _ = t.faces, T = this.faceVertexUvs[0], A = t.faceVertexUvs[0], P = this.colors,
|
|
13440
|
+
var n, s = this.vertices.length, l = this.vertices, d = t.vertices, p = this.faces, _ = t.faces, T = this.faceVertexUvs[0], A = t.faceVertexUvs[0], P = this.colors, B = t.colors;
|
|
13441
13441
|
i === void 0 && (i = 0), e !== void 0 && (n = new m().getNormalMatrix(e)), t = 0;
|
|
13442
13442
|
for (var H = d.length; t < H; t++) {
|
|
13443
13443
|
var q = d[t].clone();
|
|
13444
13444
|
e !== void 0 && q.applyMatrix4(e), l.push(q);
|
|
13445
13445
|
}
|
|
13446
|
-
for (t = 0, H =
|
|
13447
|
-
P.push(
|
|
13446
|
+
for (t = 0, H = B.length; t < H; t++)
|
|
13447
|
+
P.push(B[t].clone());
|
|
13448
13448
|
for (t = 0, H = _.length; t < H; t++) {
|
|
13449
13449
|
d = _[t];
|
|
13450
13450
|
var J = d.vertexNormals;
|
|
13451
|
-
for (
|
|
13451
|
+
for (B = d.vertexColors, P = new R(d.a + s, d.b + s, d.c + s), P.normal.copy(d.normal), n !== void 0 && P.normal.applyMatrix3(n).normalize(), e = 0, l = J.length; e < l; e++)
|
|
13452
13452
|
q = J[e].clone(), n !== void 0 && q.applyMatrix3(n).normalize(), P.vertexNormals.push(q);
|
|
13453
|
-
for (P.color.copy(d.color), e = 0, l =
|
|
13454
|
-
q =
|
|
13453
|
+
for (P.color.copy(d.color), e = 0, l = B.length; e < l; e++)
|
|
13454
|
+
q = B[e], P.vertexColors.push(q.clone());
|
|
13455
13455
|
P.materialIndex = d.materialIndex + i, p.push(P);
|
|
13456
13456
|
}
|
|
13457
13457
|
for (t = 0, H = A.length; t < H; t++)
|
|
@@ -13517,7 +13517,7 @@ void main() {
|
|
|
13517
13517
|
}
|
|
13518
13518
|
function n(Vt) {
|
|
13519
13519
|
var $ = Vt.x.toString() + Vt.y.toString();
|
|
13520
|
-
return H[$] !== void 0 || (H[$] =
|
|
13520
|
+
return H[$] !== void 0 || (H[$] = B.length / 2, B.push(Vt.x, Vt.y)), H[$];
|
|
13521
13521
|
}
|
|
13522
13522
|
var s = {
|
|
13523
13523
|
metadata: {
|
|
@@ -13537,12 +13537,12 @@ void main() {
|
|
|
13537
13537
|
l.push(p.x, p.y, p.z);
|
|
13538
13538
|
}
|
|
13539
13539
|
p = [];
|
|
13540
|
-
var _ = [], T = {}, A = [], P = {},
|
|
13540
|
+
var _ = [], T = {}, A = [], P = {}, B = [], H = {};
|
|
13541
13541
|
for (d = 0; d < this.faces.length; d++) {
|
|
13542
13542
|
var q = this.faces[d], J = this.faceVertexUvs[0][d] !== void 0, rt = 0 < q.normal.length(), xt = 0 < q.vertexNormals.length, gt = q.color.r !== 1 || q.color.g !== 1 || q.color.b !== 1, Ct = 0 < q.vertexColors.length, wt = 0;
|
|
13543
13543
|
wt = t(wt, 0, 0), wt = t(wt, 1, !0), wt = t(wt, 2, !1), wt = t(wt, 3, J), wt = t(wt, 4, rt), wt = t(wt, 5, xt), wt = t(wt, 6, gt), wt = t(wt, 7, Ct), p.push(wt), p.push(q.a, q.b, q.c), p.push(q.materialIndex), J && (J = this.faceVertexUvs[0][d], p.push(n(J[0]), n(J[1]), n(J[2]))), rt && p.push(e(q.normal)), xt && (rt = q.vertexNormals, p.push(e(rt[0]), e(rt[1]), e(rt[2]))), gt && p.push(i(q.color)), Ct && (q = q.vertexColors, p.push(i(q[0]), i(q[1]), i(q[2])));
|
|
13544
13544
|
}
|
|
13545
|
-
return s.data = {}, s.data.vertices = l, s.data.normals = _, 0 < A.length && (s.data.colors = A), 0 <
|
|
13545
|
+
return s.data = {}, s.data.vertices = l, s.data.normals = _, 0 < A.length && (s.data.colors = A), 0 < B.length && (s.data.uvs = [B]), s.data.faces = p, s;
|
|
13546
13546
|
},
|
|
13547
13547
|
clone: function() {
|
|
13548
13548
|
return new X().copy(this);
|
|
@@ -13717,10 +13717,10 @@ void main() {
|
|
|
13717
13717
|
}
|
|
13718
13718
|
var A = t.morphNormals, P = A.length;
|
|
13719
13719
|
if (0 < P) {
|
|
13720
|
-
var
|
|
13720
|
+
var B = [];
|
|
13721
13721
|
for (T = 0; T < P; T++)
|
|
13722
|
-
|
|
13723
|
-
this.morphTargets.normal =
|
|
13722
|
+
B[T] = { name: A[T].name, data: [] };
|
|
13723
|
+
this.morphTargets.normal = B;
|
|
13724
13724
|
}
|
|
13725
13725
|
var H = t.skinIndices, q = t.skinWeights, J = H.length === i.length, rt = q.length === i.length;
|
|
13726
13726
|
for (0 < i.length && e.length, T = 0; T < e.length; T++) {
|
|
@@ -13732,7 +13732,7 @@ void main() {
|
|
|
13732
13732
|
_[gt].data.push(Ct[xt.a], Ct[xt.b], Ct[xt.c]);
|
|
13733
13733
|
}
|
|
13734
13734
|
for (gt = 0; gt < P; gt++)
|
|
13735
|
-
Ct = A[gt].vertexNormals[T],
|
|
13735
|
+
Ct = A[gt].vertexNormals[T], B[gt].data.push(Ct.a, Ct.b, Ct.c);
|
|
13736
13736
|
J && this.skinIndices.push(H[xt.a], H[xt.b], H[xt.c]), rt && this.skinWeights.push(q[xt.a], q[xt.b], q[xt.c]);
|
|
13737
13737
|
}
|
|
13738
13738
|
return this.computeGroups(t), this.verticesNeedUpdate = t.verticesNeedUpdate, this.normalsNeedUpdate = t.normalsNeedUpdate, this.colorsNeedUpdate = t.colorsNeedUpdate, this.uvsNeedUpdate = t.uvsNeedUpdate, this.groupsNeedUpdate = t.groupsNeedUpdate, this;
|
|
@@ -13895,8 +13895,8 @@ void main() {
|
|
|
13895
13895
|
var P = t.array;
|
|
13896
13896
|
for (s = 0, l = t.count; s < l; s += 3) {
|
|
13897
13897
|
t = 3 * P[s + 0];
|
|
13898
|
-
var
|
|
13899
|
-
d.fromArray(i, t), p.fromArray(i,
|
|
13898
|
+
var B = 3 * P[s + 1], H = 3 * P[s + 2];
|
|
13899
|
+
d.fromArray(i, t), p.fromArray(i, B), _.fromArray(i, H), T.subVectors(_, p), A.subVectors(d, p), T.cross(A), n[t] += T.x, n[t + 1] += T.y, n[t + 2] += T.z, n[B] += T.x, n[B + 1] += T.y, n[B + 2] += T.z, n[H] += T.x, n[H + 1] += T.y, n[H + 2] += T.z;
|
|
13900
13900
|
}
|
|
13901
13901
|
} else
|
|
13902
13902
|
for (s = 0, l = i.length; s < l; s += 9)
|
|
@@ -14103,11 +14103,11 @@ void main() {
|
|
|
14103
14103
|
var t = new u(), e = new u(), i = new u();
|
|
14104
14104
|
return function(n, s, l, d) {
|
|
14105
14105
|
t.copy(n).add(s).multiplyScalar(0.5), e.copy(s).sub(n).normalize(), i.copy(this.origin).sub(t);
|
|
14106
|
-
var p = 0.5 * n.distanceTo(s), _ = -this.direction.dot(e), T = i.dot(this.direction), A = -i.dot(e), P = i.lengthSq(),
|
|
14107
|
-
if (0 <
|
|
14106
|
+
var p = 0.5 * n.distanceTo(s), _ = -this.direction.dot(e), T = i.dot(this.direction), A = -i.dot(e), P = i.lengthSq(), B = Math.abs(1 - _ * _);
|
|
14107
|
+
if (0 < B) {
|
|
14108
14108
|
n = _ * A - T, s = _ * T - A;
|
|
14109
|
-
var H = p *
|
|
14110
|
-
0 <= n ? s >= -H ? s <= H ? (p = 1 /
|
|
14109
|
+
var H = p * B;
|
|
14110
|
+
0 <= n ? s >= -H ? s <= H ? (p = 1 / B, n *= p, s *= p, _ = n * (n + _ * s + 2 * T) + s * (_ * n + s + 2 * A) + P) : (s = p, n = Math.max(0, -(_ * s + T)), _ = -n * n + s * (s + 2 * A) + P) : (s = -p, n = Math.max(0, -(_ * s + T)), _ = -n * n + s * (s + 2 * A) + P) : s <= -H ? (n = Math.max(0, -(-_ * p + T)), s = 0 < n ? -p : Math.min(Math.max(-p, -A), p), _ = -n * n + s * (s + 2 * A) + P) : s <= H ? (n = 0, s = Math.min(Math.max(-p, -A), p), _ = s * (s + 2 * A) + P) : (n = Math.max(0, -(_ * p + T)), s = 0 < n ? p : Math.min(Math.max(-p, -A), p), _ = -n * n + s * (s + 2 * A) + P);
|
|
14111
14111
|
} else
|
|
14112
14112
|
s = 0 < _ ? -p : p, n = Math.max(0, -(_ * s + T)), _ = -n * n + s * (s + 2 * A) + P;
|
|
14113
14113
|
return l && l.copy(this.direction).multiplyScalar(n).add(this.origin), d && d.copy(e).multiplyScalar(s).add(t), _;
|
|
@@ -14250,19 +14250,19 @@ void main() {
|
|
|
14250
14250
|
p === void 0 && (p = new u());
|
|
14251
14251
|
var _ = this.a, T = this.b, A = this.c;
|
|
14252
14252
|
t.subVectors(T, _), e.subVectors(A, _), n.subVectors(d, _);
|
|
14253
|
-
var P = t.dot(n),
|
|
14254
|
-
if (0 >= P && 0 >=
|
|
14253
|
+
var P = t.dot(n), B = e.dot(n);
|
|
14254
|
+
if (0 >= P && 0 >= B)
|
|
14255
14255
|
return p.copy(_);
|
|
14256
14256
|
s.subVectors(d, T);
|
|
14257
14257
|
var H = t.dot(s), q = e.dot(s);
|
|
14258
14258
|
if (0 <= H && q <= H)
|
|
14259
14259
|
return p.copy(T);
|
|
14260
|
-
var J = P * q - H *
|
|
14260
|
+
var J = P * q - H * B;
|
|
14261
14261
|
if (0 >= J && 0 <= P && 0 >= H)
|
|
14262
14262
|
return T = P / (P - H), p.copy(_).addScaledVector(t, T);
|
|
14263
14263
|
l.subVectors(d, A), d = t.dot(l);
|
|
14264
14264
|
var rt = e.dot(l);
|
|
14265
|
-
return 0 <= rt && d <= rt ? p.copy(A) : (P = d *
|
|
14265
|
+
return 0 <= rt && d <= rt ? p.copy(A) : (P = d * B - P * rt, 0 >= P && 0 <= B && 0 >= rt ? (J = B / (B - rt), p.copy(_).addScaledVector(e, J)) : (B = H * rt - d * q, 0 >= B && 0 <= q - H && 0 <= d - rt ? (i.subVectors(A, T), J = (q - H) / (q - H + (d - rt)), p.copy(T).addScaledVector(i, J)) : (A = 1 / (B + P + J), T = P * A, J *= A, p.copy(_).addScaledVector(t, T).addScaledVector(e, J))));
|
|
14266
14266
|
};
|
|
14267
14267
|
}(),
|
|
14268
14268
|
equals: function(t) {
|
|
@@ -14304,9 +14304,9 @@ void main() {
|
|
|
14304
14304
|
return (xt.side === 1 ? Ct.intersectTriangle($, Vt, wt, !0, ot) : Ct.intersectTriangle(wt, Vt, $, xt.side !== 2, ot)) === null ? null : (J.copy(ot), J.applyMatrix4(rt.matrixWorld), xt = gt.ray.origin.distanceTo(J), xt < gt.near || xt > gt.far ? null : { distance: xt, point: J.clone(), object: rt });
|
|
14305
14305
|
}
|
|
14306
14306
|
function e(rt, xt, gt, Ct, wt, Vt, $, ot, kt) {
|
|
14307
|
-
return l.fromBufferAttribute(wt, $), d.fromBufferAttribute(wt, ot), p.fromBufferAttribute(wt, kt), (rt = t(rt, xt, gt, Ct, l, d, p, q)) && (Vt && (P.fromBufferAttribute(Vt, $),
|
|
14307
|
+
return l.fromBufferAttribute(wt, $), d.fromBufferAttribute(wt, ot), p.fromBufferAttribute(wt, kt), (rt = t(rt, xt, gt, Ct, l, d, p, q)) && (Vt && (P.fromBufferAttribute(Vt, $), B.fromBufferAttribute(Vt, ot), H.fromBufferAttribute(Vt, kt), rt.uv = Oe.getUV(q, l, d, p, P, B, H, new o())), Vt = new R($, ot, kt), Oe.getNormal(l, d, p, Vt.normal), rt.face = Vt), rt;
|
|
14308
14308
|
}
|
|
14309
|
-
var i = new c(), n = new Mi(), s = new D(), l = new u(), d = new u(), p = new u(), _ = new u(), T = new u(), A = new u(), P = new o(),
|
|
14309
|
+
var i = new c(), n = new Mi(), s = new D(), l = new u(), d = new u(), p = new u(), _ = new u(), T = new u(), A = new u(), P = new o(), B = new o(), H = new o(), q = new u(), J = new u();
|
|
14310
14310
|
return function(rt, xt) {
|
|
14311
14311
|
var gt = this.geometry, Ct = this.material, wt = this.matrixWorld;
|
|
14312
14312
|
if (Ct !== void 0 && (gt.boundingSphere === null && gt.computeBoundingSphere(), s.copy(gt.boundingSphere), s.applyMatrix4(wt), rt.ray.intersectsSphere(s) !== !1 && (i.getInverse(wt), n.copy(rt.ray).applyMatrix4(i), gt.boundingBox === null || n.intersectsBox(gt.boundingBox) !== !1))) {
|
|
@@ -14354,7 +14354,7 @@ void main() {
|
|
|
14354
14354
|
}
|
|
14355
14355
|
l.add($t), d.add(ee), p.add(Te), $t = l, ee = d, Te = p;
|
|
14356
14356
|
}
|
|
14357
|
-
(wt = t(this, wt, rt, n, $t, ee, Te, q)) && (Vt && Vt[Yt] && (be = Vt[Yt], P.copy(be[0]),
|
|
14357
|
+
(wt = t(this, wt, rt, n, $t, ee, Te, q)) && (Vt && Vt[Yt] && (be = Vt[Yt], P.copy(be[0]), B.copy(be[1]), H.copy(be[2]), wt.uv = Oe.getUV(q, $t, ee, Te, P, B, H, new o())), wt.face = De, wt.faceIndex = Yt, xt.push(wt));
|
|
14358
14358
|
}
|
|
14359
14359
|
}
|
|
14360
14360
|
}
|
|
@@ -14594,18 +14594,18 @@ void main() {
|
|
|
14594
14594
|
function t(H, q, J, rt, xt, gt) {
|
|
14595
14595
|
s.subVectors(H, J).addScalar(0.5).multiply(rt), xt !== void 0 ? (l.x = gt * s.x - xt * s.y, l.y = xt * s.x + gt * s.y) : l.copy(s), H.copy(q), H.x += l.x, H.y += l.y, H.applyMatrix4(d);
|
|
14596
14596
|
}
|
|
14597
|
-
var e = new u(), i = new u(), n = new u(), s = new o(), l = new o(), d = new c(), p = new u(), _ = new u(), T = new u(), A = new o(), P = new o(),
|
|
14597
|
+
var e = new u(), i = new u(), n = new u(), s = new o(), l = new o(), d = new c(), p = new u(), _ = new u(), T = new u(), A = new o(), P = new o(), B = new o();
|
|
14598
14598
|
return function(H, q) {
|
|
14599
14599
|
i.setFromMatrixScale(this.matrixWorld), d.getInverse(this.modelViewMatrix).premultiply(this.matrixWorld), n.setFromMatrixPosition(this.modelViewMatrix);
|
|
14600
14600
|
var J = this.material.rotation;
|
|
14601
14601
|
if (J !== 0)
|
|
14602
14602
|
var rt = Math.cos(J), xt = Math.sin(J);
|
|
14603
|
-
J = this.center, t(p.set(-0.5, -0.5, 0), n, J, i, xt, rt), t(_.set(0.5, -0.5, 0), n, J, i, xt, rt), t(T.set(0.5, 0.5, 0), n, J, i, xt, rt), A.set(0, 0), P.set(1, 0),
|
|
14603
|
+
J = this.center, t(p.set(-0.5, -0.5, 0), n, J, i, xt, rt), t(_.set(0.5, -0.5, 0), n, J, i, xt, rt), t(T.set(0.5, 0.5, 0), n, J, i, xt, rt), A.set(0, 0), P.set(1, 0), B.set(1, 1);
|
|
14604
14604
|
var gt = H.ray.intersectTriangle(p, _, T, !1, e);
|
|
14605
14605
|
gt === null && (t(_.set(-0.5, 0.5, 0), n, J, i, xt, rt), P.set(0, 1), gt = H.ray.intersectTriangle(p, T, _, !1, e), gt === null) || (xt = H.ray.origin.distanceTo(e), xt < H.near || xt > H.far || q.push({
|
|
14606
14606
|
distance: xt,
|
|
14607
14607
|
point: e.clone(),
|
|
14608
|
-
uv: Oe.getUV(e, p, _, T, A, P,
|
|
14608
|
+
uv: Oe.getUV(e, p, _, T, A, P, B, new o()),
|
|
14609
14609
|
face: null,
|
|
14610
14610
|
object: this
|
|
14611
14611
|
}));
|
|
@@ -14776,12 +14776,12 @@ void main() {
|
|
|
14776
14776
|
p = new u();
|
|
14777
14777
|
var A = new u(), P = this && this.isLineSegments ? 2 : 1;
|
|
14778
14778
|
if (d.isBufferGeometry) {
|
|
14779
|
-
var
|
|
14780
|
-
if (
|
|
14781
|
-
|
|
14782
|
-
for (var q =
|
|
14783
|
-
var J =
|
|
14784
|
-
_.fromArray(H, 3 *
|
|
14779
|
+
var B = d.index, H = d.attributes.position.array;
|
|
14780
|
+
if (B !== null) {
|
|
14781
|
+
B = B.array, d = 0;
|
|
14782
|
+
for (var q = B.length - 1; d < q; d += P) {
|
|
14783
|
+
var J = B[d + 1];
|
|
14784
|
+
_.fromArray(H, 3 * B[d]), T.fromArray(H, 3 * J), J = e.distanceSqToSegment(_, T, A, p), J > l || (A.applyMatrix4(this.matrixWorld), J = n.ray.origin.distanceTo(A), J < n.near || J > n.far || s.push({
|
|
14785
14785
|
distance: J,
|
|
14786
14786
|
point: p.clone().applyMatrix4(this.matrixWorld),
|
|
14787
14787
|
index: d,
|
|
@@ -14867,20 +14867,20 @@ void main() {
|
|
|
14867
14867
|
T = new u();
|
|
14868
14868
|
var P = new u();
|
|
14869
14869
|
if (p.isBufferGeometry) {
|
|
14870
|
-
var
|
|
14871
|
-
if (p = p.attributes.position.array,
|
|
14872
|
-
var H =
|
|
14873
|
-
|
|
14874
|
-
for (var q = H.length;
|
|
14875
|
-
var J = H[
|
|
14870
|
+
var B = p.index;
|
|
14871
|
+
if (p = p.attributes.position.array, B !== null) {
|
|
14872
|
+
var H = B.array;
|
|
14873
|
+
B = 0;
|
|
14874
|
+
for (var q = H.length; B < q; B++) {
|
|
14875
|
+
var J = H[B];
|
|
14876
14876
|
T.fromArray(p, 3 * J), l(T, J);
|
|
14877
14877
|
}
|
|
14878
14878
|
} else
|
|
14879
|
-
for (
|
|
14880
|
-
T.fromArray(p, 3 *
|
|
14879
|
+
for (B = 0, H = p.length / 3; B < H; B++)
|
|
14880
|
+
T.fromArray(p, 3 * B), l(T, B);
|
|
14881
14881
|
} else
|
|
14882
|
-
for (T = p.vertices,
|
|
14883
|
-
l(T[
|
|
14882
|
+
for (T = p.vertices, B = 0, H = T.length; B < H; B++)
|
|
14883
|
+
l(T[B], B);
|
|
14884
14884
|
}
|
|
14885
14885
|
};
|
|
14886
14886
|
}(),
|
|
@@ -14907,8 +14907,8 @@ void main() {
|
|
|
14907
14907
|
n = [];
|
|
14908
14908
|
var T, A = 0;
|
|
14909
14909
|
for (T = e.length; A < T; A++) {
|
|
14910
|
-
var P = e[A] * _,
|
|
14911
|
-
P = _h(t, P,
|
|
14910
|
+
var P = e[A] * _, B = A < T - 1 ? e[A + 1] * _ : t.length;
|
|
14911
|
+
P = _h(t, P, B, _, !1), P === P.next && (P.steiner = !0), n.push(mr(P));
|
|
14912
14912
|
}
|
|
14913
14913
|
for (n.sort(ru), A = 0; A < n.length; A++)
|
|
14914
14914
|
e = n[A], _ = l, (_ = ou(e, _)) && (e = ja(_, e), sa(e, e.next)), l = sa(l, l.next);
|
|
@@ -14962,8 +14962,8 @@ void main() {
|
|
|
14962
14962
|
n = e[3 * n + 2];
|
|
14963
14963
|
var T = e[3 * s], A = e[3 * s + 1];
|
|
14964
14964
|
s = e[3 * s + 2];
|
|
14965
|
-
var P = e[3 * l],
|
|
14966
|
-
return e = e[3 * l + 2], 0.01 > Math.abs(d - _) ? [new o(t, 1 - i), new o(p, 1 - n), new o(T, 1 - s), new o(P, 1 - e)] : [new o(d, 1 - i), new o(_, 1 - n), new o(A, 1 - s), new o(
|
|
14965
|
+
var P = e[3 * l], B = e[3 * l + 1];
|
|
14966
|
+
return e = e[3 * l + 2], 0.01 > Math.abs(d - _) ? [new o(t, 1 - i), new o(p, 1 - n), new o(T, 1 - s), new o(P, 1 - e)] : [new o(d, 1 - i), new o(_, 1 - n), new o(A, 1 - s), new o(B, 1 - e)];
|
|
14967
14967
|
}
|
|
14968
14968
|
};
|
|
14969
14969
|
Xa.prototype = Object.create(X.prototype), Xa.prototype.constructor = Xa, ys.prototype = Object.create(lo.prototype), ys.prototype.constructor = ys, Wo.prototype = Object.create(X.prototype), Wo.prototype.constructor = Wo, Er.prototype = Object.create(Ft.prototype), Er.prototype.constructor = Er, qa.prototype = Object.create(X.prototype), qa.prototype.constructor = qa, _s.prototype = Object.create(Ft.prototype), _s.prototype.constructor = _s, la.prototype = Object.create(X.prototype), la.prototype.constructor = la, jo.prototype = Object.create(Ft.prototype), jo.prototype.constructor = jo, Po.prototype = Object.create(X.prototype), Po.prototype.constructor = Po, Po.prototype.toJSON = function() {
|
|
@@ -15196,9 +15196,9 @@ void main() {
|
|
|
15196
15196
|
interpolate_: function(t, e, i, n) {
|
|
15197
15197
|
var s = this.resultBuffer, l = this.sampleValues, d = this.valueSize;
|
|
15198
15198
|
t *= d;
|
|
15199
|
-
var p = t - d, _ = this._offsetPrev, T = this._offsetNext, A = this._weightPrev, P = this._weightNext,
|
|
15200
|
-
for (i =
|
|
15201
|
-
s[i] = e * l[_ + i] + A * l[p + i] +
|
|
15199
|
+
var p = t - d, _ = this._offsetPrev, T = this._offsetNext, A = this._weightPrev, P = this._weightNext, B = (i - e) / (n - e);
|
|
15200
|
+
for (i = B * B, n = i * B, e = -A * n + 2 * A * i - A * B, A = (1 + A) * n + (-1.5 - 2 * A) * i + (-0.5 + A) * B + 1, B = (-1 - P) * n + (1.5 + P) * i + 0.5 * B, P = P * n - P * i, i = 0; i !== d; ++i)
|
|
15201
|
+
s[i] = e * l[_ + i] + A * l[p + i] + B * l[t + i] + P * l[T + i];
|
|
15202
15202
|
return s;
|
|
15203
15203
|
}
|
|
15204
15204
|
}), Cr.prototype = Object.assign(Object.create(Zn.prototype), {
|
|
@@ -15336,8 +15336,8 @@ void main() {
|
|
|
15336
15336
|
else {
|
|
15337
15337
|
var T = d * i, A = T - i, P = T + i;
|
|
15338
15338
|
for (_ = 0; _ !== i; ++_) {
|
|
15339
|
-
var
|
|
15340
|
-
if (
|
|
15339
|
+
var B = e[T + _];
|
|
15340
|
+
if (B !== e[A + _] || B !== e[P + _]) {
|
|
15341
15341
|
p = !0;
|
|
15342
15342
|
break;
|
|
15343
15343
|
}
|
|
@@ -15460,12 +15460,12 @@ void main() {
|
|
|
15460
15460
|
for (var A = 0; A < _[T].morphTargets.length; A++)
|
|
15461
15461
|
l[_[T].morphTargets[A]] = -1;
|
|
15462
15462
|
for (var P in l) {
|
|
15463
|
-
var
|
|
15463
|
+
var B = [], H = [];
|
|
15464
15464
|
for (A = 0; A !== _[T].morphTargets.length; ++A) {
|
|
15465
15465
|
var q = _[T];
|
|
15466
|
-
|
|
15466
|
+
B.push(q.time), H.push(q.morphTarget === P ? 1 : 0);
|
|
15467
15467
|
}
|
|
15468
|
-
n.push(new jr(".morphTargetInfluence[" + P + "]",
|
|
15468
|
+
n.push(new jr(".morphTargetInfluence[" + P + "]", B, H));
|
|
15469
15469
|
}
|
|
15470
15470
|
l = l.length * (d || 1);
|
|
15471
15471
|
} else
|
|
@@ -15552,9 +15552,9 @@ void main() {
|
|
|
15552
15552
|
setTimeout(function() {
|
|
15553
15553
|
e && e(A), s.manager.itemEnd(t);
|
|
15554
15554
|
}, 0);
|
|
15555
|
-
} catch (
|
|
15555
|
+
} catch (B) {
|
|
15556
15556
|
setTimeout(function() {
|
|
15557
|
-
n && n(
|
|
15557
|
+
n && n(B), s.manager.itemError(t), s.manager.itemEnd(t);
|
|
15558
15558
|
}, 0);
|
|
15559
15559
|
}
|
|
15560
15560
|
} else {
|
|
@@ -15562,7 +15562,7 @@ void main() {
|
|
|
15562
15562
|
var P = new XMLHttpRequest();
|
|
15563
15563
|
P.open("GET", t, !0), P.addEventListener(
|
|
15564
15564
|
"load",
|
|
15565
|
-
function(
|
|
15565
|
+
function(B) {
|
|
15566
15566
|
var H = this.response;
|
|
15567
15567
|
yo.add(t, H);
|
|
15568
15568
|
var q = Lr[t];
|
|
@@ -15574,7 +15574,7 @@ void main() {
|
|
|
15574
15574
|
}
|
|
15575
15575
|
} else {
|
|
15576
15576
|
for (J = 0, rt = q.length; J < rt; J++)
|
|
15577
|
-
xt = q[J], xt.onError && xt.onError(
|
|
15577
|
+
xt = q[J], xt.onError && xt.onError(B);
|
|
15578
15578
|
s.manager.itemError(t);
|
|
15579
15579
|
}
|
|
15580
15580
|
s.manager.itemEnd(t);
|
|
@@ -15582,33 +15582,33 @@ void main() {
|
|
|
15582
15582
|
!1
|
|
15583
15583
|
), P.addEventListener(
|
|
15584
15584
|
"progress",
|
|
15585
|
-
function(
|
|
15585
|
+
function(B) {
|
|
15586
15586
|
for (var H = Lr[t], q = 0, J = H.length; q < J; q++) {
|
|
15587
15587
|
var rt = H[q];
|
|
15588
|
-
rt.onProgress && rt.onProgress(
|
|
15588
|
+
rt.onProgress && rt.onProgress(B);
|
|
15589
15589
|
}
|
|
15590
15590
|
},
|
|
15591
15591
|
!1
|
|
15592
15592
|
), P.addEventListener(
|
|
15593
15593
|
"error",
|
|
15594
|
-
function(
|
|
15594
|
+
function(B) {
|
|
15595
15595
|
var H = Lr[t];
|
|
15596
15596
|
delete Lr[t];
|
|
15597
15597
|
for (var q = 0, J = H.length; q < J; q++) {
|
|
15598
15598
|
var rt = H[q];
|
|
15599
|
-
rt.onError && rt.onError(
|
|
15599
|
+
rt.onError && rt.onError(B);
|
|
15600
15600
|
}
|
|
15601
15601
|
s.manager.itemError(t), s.manager.itemEnd(t);
|
|
15602
15602
|
},
|
|
15603
15603
|
!1
|
|
15604
15604
|
), P.addEventListener(
|
|
15605
15605
|
"abort",
|
|
15606
|
-
function(
|
|
15606
|
+
function(B) {
|
|
15607
15607
|
var H = Lr[t];
|
|
15608
15608
|
delete Lr[t];
|
|
15609
15609
|
for (var q = 0, J = H.length; q < J; q++) {
|
|
15610
15610
|
var rt = H[q];
|
|
15611
|
-
rt.onError && rt.onError(
|
|
15611
|
+
rt.onError && rt.onError(B);
|
|
15612
15612
|
}
|
|
15613
15613
|
s.manager.itemError(t), s.manager.itemEnd(t);
|
|
15614
15614
|
},
|
|
@@ -15662,11 +15662,11 @@ void main() {
|
|
|
15662
15662
|
}
|
|
15663
15663
|
}), Object.assign(Zt.prototype, {
|
|
15664
15664
|
load: function(t, e, i, n) {
|
|
15665
|
-
function s(
|
|
15665
|
+
function s(B) {
|
|
15666
15666
|
_.load(
|
|
15667
|
-
t[
|
|
15667
|
+
t[B],
|
|
15668
15668
|
function(H) {
|
|
15669
|
-
H = l._parser(H, !0), d[
|
|
15669
|
+
H = l._parser(H, !0), d[B] = {
|
|
15670
15670
|
width: H.width,
|
|
15671
15671
|
height: H.height,
|
|
15672
15672
|
format: H.format,
|
|
@@ -15686,16 +15686,16 @@ void main() {
|
|
|
15686
15686
|
else
|
|
15687
15687
|
_.load(
|
|
15688
15688
|
t,
|
|
15689
|
-
function(
|
|
15690
|
-
if (
|
|
15691
|
-
for (var H =
|
|
15689
|
+
function(B) {
|
|
15690
|
+
if (B = l._parser(B, !0), B.isCubemap)
|
|
15691
|
+
for (var H = B.mipmaps.length / B.mipmapCount, q = 0; q < H; q++) {
|
|
15692
15692
|
d[q] = { mipmaps: [] };
|
|
15693
|
-
for (var J = 0; J <
|
|
15694
|
-
d[q].mipmaps.push(
|
|
15693
|
+
for (var J = 0; J < B.mipmapCount; J++)
|
|
15694
|
+
d[q].mipmaps.push(B.mipmaps[q * B.mipmapCount + J]), d[q].format = B.format, d[q].width = B.width, d[q].height = B.height;
|
|
15695
15695
|
}
|
|
15696
15696
|
else
|
|
15697
|
-
p.image.width =
|
|
15698
|
-
|
|
15697
|
+
p.image.width = B.width, p.image.height = B.height, p.mipmaps = B.mipmaps;
|
|
15698
|
+
B.mipmapCount === 1 && (p.minFilter = 1006), p.format = B.format, p.needsUpdate = !0, e && e(p);
|
|
15699
15699
|
},
|
|
15700
15700
|
i,
|
|
15701
15701
|
n
|
|
@@ -16441,10 +16441,10 @@ void main() {
|
|
|
16441
16441
|
CustomBlending: 5
|
|
16442
16442
|
}, e = new L(), i = new ln(), n = new Hl();
|
|
16443
16443
|
return function(s, l, d) {
|
|
16444
|
-
function p(
|
|
16445
|
-
|
|
16446
|
-
var xt = Io.Handlers.get(
|
|
16447
|
-
return xt !== null ?
|
|
16444
|
+
function p(B, H, q, J, rt) {
|
|
16445
|
+
B = l + B;
|
|
16446
|
+
var xt = Io.Handlers.get(B);
|
|
16447
|
+
return xt !== null ? B = xt.load(B) : (i.setCrossOrigin(d), B = i.load(B)), H !== void 0 && (B.repeat.fromArray(H), H[0] !== 1 && (B.wrapS = 1e3), H[1] !== 1 && (B.wrapT = 1e3)), q !== void 0 && B.offset.fromArray(q), J !== void 0 && (J[0] === "repeat" && (B.wrapS = 1e3), J[0] === "mirror" && (B.wrapS = 1002), J[1] === "repeat" && (B.wrapT = 1e3), J[1] === "mirror" && (B.wrapT = 1002)), rt !== void 0 && (B.anisotropy = rt), H = fi.generateUUID(), _[H] = B, H;
|
|
16448
16448
|
}
|
|
16449
16449
|
var _ = {}, T = { uuid: fi.generateUUID(), type: "MeshLambertMaterial" }, A;
|
|
16450
16450
|
for (A in s) {
|
|
@@ -16680,11 +16680,11 @@ void main() {
|
|
|
16680
16680
|
parse: function() {
|
|
16681
16681
|
return function(t, e) {
|
|
16682
16682
|
t.data !== void 0 && (t = t.data), t.scale = t.scale !== void 0 ? 1 / t.scale : 1;
|
|
16683
|
-
var i = new X(), n = t, s, l, d, p = n.faces, _ = n.vertices, T = n.normals, A = n.colors, P = n.scale,
|
|
16683
|
+
var i = new X(), n = t, s, l, d, p = n.faces, _ = n.vertices, T = n.normals, A = n.colors, P = n.scale, B = 0;
|
|
16684
16684
|
if (n.uvs !== void 0) {
|
|
16685
16685
|
for (s = 0; s < n.uvs.length; s++)
|
|
16686
|
-
n.uvs[s].length &&
|
|
16687
|
-
for (s = 0; s <
|
|
16686
|
+
n.uvs[s].length && B++;
|
|
16687
|
+
for (s = 0; s < B; s++)
|
|
16688
16688
|
i.faceVertexUvs[s] = [];
|
|
16689
16689
|
}
|
|
16690
16690
|
var H = 0;
|
|
@@ -16699,7 +16699,7 @@ void main() {
|
|
|
16699
16699
|
q = new R(), q.a = p[H], q.b = p[H + 1], q.c = p[H + 3];
|
|
16700
16700
|
var gt = new R();
|
|
16701
16701
|
if (gt.a = p[H + 1], gt.b = p[H + 2], gt.c = p[H + 3], H += 4, J && (J = p[H++], q.materialIndex = J, gt.materialIndex = J), J = i.faces.length, s)
|
|
16702
|
-
for (s = 0; s <
|
|
16702
|
+
for (s = 0; s < B; s++) {
|
|
16703
16703
|
var Ct = n.uvs[s];
|
|
16704
16704
|
for (i.faceVertexUvs[s][J] = [], i.faceVertexUvs[s][J + 1] = [], l = 0; 4 > l; l++) {
|
|
16705
16705
|
var wt = p[H++], Vt = Ct[2 * wt];
|
|
@@ -16715,7 +16715,7 @@ void main() {
|
|
|
16715
16715
|
i.faces.push(q), i.faces.push(gt);
|
|
16716
16716
|
} else {
|
|
16717
16717
|
if (q = new R(), q.a = p[H++], q.b = p[H++], q.c = p[H++], J && (J = p[H++], q.materialIndex = J), J = i.faces.length, s)
|
|
16718
|
-
for (s = 0; s <
|
|
16718
|
+
for (s = 0; s < B; s++)
|
|
16719
16719
|
for (Ct = n.uvs[s], i.faceVertexUvs[s][J] = [], l = 0; 3 > l; l++)
|
|
16720
16720
|
wt = p[H++], Vt = Ct[2 * wt], wt = Ct[2 * wt + 1], Vt = new o(Vt, wt), i.faceVertexUvs[s][J].push(Vt);
|
|
16721
16721
|
if (rt && (rt = 3 * p[H++], q.normal.set(T[rt++], T[rt++], T[rt])), xt)
|
|
@@ -16749,8 +16749,8 @@ void main() {
|
|
|
16749
16749
|
);
|
|
16750
16750
|
if (i.bones = n.bones, i.bones && 0 < i.bones.length && (i.skinWeights.length !== i.skinIndices.length || (i.skinIndices.length, i.vertices.length)), d = t, p = d.scale, d.morphTargets !== void 0)
|
|
16751
16751
|
for (n = 0, H = d.morphTargets.length; n < H; n++)
|
|
16752
|
-
for (i.morphTargets[n] = {}, i.morphTargets[n].name = d.morphTargets[n].name, i.morphTargets[n].vertices = [], T = i.morphTargets[n].vertices, A = d.morphTargets[n].vertices,
|
|
16753
|
-
P = new u(), P.x = A[
|
|
16752
|
+
for (i.morphTargets[n] = {}, i.morphTargets[n].name = d.morphTargets[n].name, i.morphTargets[n].vertices = [], T = i.morphTargets[n].vertices, A = d.morphTargets[n].vertices, B = 0, _ = A.length; B < _; B += 3)
|
|
16753
|
+
P = new u(), P.x = A[B] * p, P.y = A[B + 1] * p, P.z = A[B + 2] * p, T.push(P);
|
|
16754
16754
|
if (d.morphColors !== void 0 && 0 < d.morphColors.length)
|
|
16755
16755
|
for (p = i.faces, d = d.morphColors[0].colors, n = 0, H = p.length; n < H; n++)
|
|
16756
16756
|
p[n].color.fromArray(d, 3 * n);
|
|
@@ -16989,15 +16989,15 @@ void main() {
|
|
|
16989
16989
|
return e;
|
|
16990
16990
|
},
|
|
16991
16991
|
parseImages: function(t, e) {
|
|
16992
|
-
function i(
|
|
16993
|
-
return n.manager.itemStart(
|
|
16994
|
-
|
|
16992
|
+
function i(B) {
|
|
16993
|
+
return n.manager.itemStart(B), l.load(
|
|
16994
|
+
B,
|
|
16995
16995
|
function() {
|
|
16996
|
-
n.manager.itemEnd(
|
|
16996
|
+
n.manager.itemEnd(B);
|
|
16997
16997
|
},
|
|
16998
16998
|
void 0,
|
|
16999
16999
|
function() {
|
|
17000
|
-
n.manager.itemError(
|
|
17000
|
+
n.manager.itemError(B), n.manager.itemEnd(B);
|
|
17001
17001
|
}
|
|
17002
17002
|
);
|
|
17003
17003
|
}
|
|
@@ -17041,7 +17041,7 @@ void main() {
|
|
|
17041
17041
|
function s(T) {
|
|
17042
17042
|
if (T !== void 0) {
|
|
17043
17043
|
if (Array.isArray(T)) {
|
|
17044
|
-
for (var A = [], P = 0,
|
|
17044
|
+
for (var A = [], P = 0, B = T.length; P < B; P++) {
|
|
17045
17045
|
var H = T[P];
|
|
17046
17046
|
i[H], A.push(i[H]);
|
|
17047
17047
|
}
|
|
@@ -17235,26 +17235,26 @@ void main() {
|
|
|
17235
17235
|
_ = t ? !_ : _, p = [];
|
|
17236
17236
|
var T = [], A = [], P = 0;
|
|
17237
17237
|
T[P] = void 0, A[P] = [];
|
|
17238
|
-
for (var
|
|
17239
|
-
d = l[
|
|
17238
|
+
for (var B = 0, H = l.length; B < H; B++) {
|
|
17239
|
+
d = l[B];
|
|
17240
17240
|
var q = d.getPoints(), J = s(q);
|
|
17241
17241
|
(J = t ? !J : J) ? (!_ && T[P] && P++, T[P] = { s: new $n(), p: q }, T[P].s.curves = d.curves, _ && P++, A[P] = []) : A[P].push({ h: d, p: q[0] });
|
|
17242
17242
|
}
|
|
17243
17243
|
if (!T[0])
|
|
17244
17244
|
return i(l);
|
|
17245
17245
|
if (1 < T.length) {
|
|
17246
|
-
for (
|
|
17246
|
+
for (B = !1, t = [], s = 0, l = T.length; s < l; s++)
|
|
17247
17247
|
p[s] = [];
|
|
17248
17248
|
for (s = 0, l = T.length; s < l; s++)
|
|
17249
17249
|
for (d = A[s], J = 0; J < d.length; J++) {
|
|
17250
17250
|
for (_ = d[J], P = !0, q = 0; q < T.length; q++)
|
|
17251
|
-
n(_.p, T[q].p) && (s !== q && t.push({ froms: s, tos: q, hole: J }), P ? (P = !1, p[q].push(_)) :
|
|
17251
|
+
n(_.p, T[q].p) && (s !== q && t.push({ froms: s, tos: q, hole: J }), P ? (P = !1, p[q].push(_)) : B = !0);
|
|
17252
17252
|
P && p[s].push(_);
|
|
17253
17253
|
}
|
|
17254
|
-
0 < t.length && (
|
|
17254
|
+
0 < t.length && (B || (A = p));
|
|
17255
17255
|
}
|
|
17256
|
-
for (
|
|
17257
|
-
for (p = T[
|
|
17256
|
+
for (B = 0, s = T.length; B < s; B++)
|
|
17257
|
+
for (p = T[B].s, e.push(p), t = A[B], l = 0, d = t.length; l < d; l++)
|
|
17258
17258
|
p.holes.push(t[l].h);
|
|
17259
17259
|
return e;
|
|
17260
17260
|
}
|
|
@@ -17274,25 +17274,25 @@ void main() {
|
|
|
17274
17274
|
`)
|
|
17275
17275
|
d = 0, p -= l;
|
|
17276
17276
|
else {
|
|
17277
|
-
var A = n, P = d,
|
|
17277
|
+
var A = n, P = d, B = p;
|
|
17278
17278
|
if (T = e.glyphs[T] || e.glyphs["?"]) {
|
|
17279
17279
|
var H = new Vl();
|
|
17280
17280
|
if (T.o)
|
|
17281
17281
|
for (var q = T._cachedOutline || (T._cachedOutline = T.o.split(" ")), J = 0, rt = q.length; J < rt; )
|
|
17282
17282
|
switch (q[J++]) {
|
|
17283
17283
|
case "m":
|
|
17284
|
-
var xt = q[J++] * A + P, gt = q[J++] * A +
|
|
17284
|
+
var xt = q[J++] * A + P, gt = q[J++] * A + B;
|
|
17285
17285
|
H.moveTo(xt, gt);
|
|
17286
17286
|
break;
|
|
17287
17287
|
case "l":
|
|
17288
|
-
xt = q[J++] * A + P, gt = q[J++] * A +
|
|
17288
|
+
xt = q[J++] * A + P, gt = q[J++] * A + B, H.lineTo(xt, gt);
|
|
17289
17289
|
break;
|
|
17290
17290
|
case "q":
|
|
17291
|
-
var Ct = q[J++] * A + P, wt = q[J++] * A +
|
|
17291
|
+
var Ct = q[J++] * A + P, wt = q[J++] * A + B, Vt = q[J++] * A + P, $ = q[J++] * A + B;
|
|
17292
17292
|
H.quadraticCurveTo(Vt, $, Ct, wt);
|
|
17293
17293
|
break;
|
|
17294
17294
|
case "b":
|
|
17295
|
-
Ct = q[J++] * A + P, wt = q[J++] * A +
|
|
17295
|
+
Ct = q[J++] * A + P, wt = q[J++] * A + B, Vt = q[J++] * A + P, $ = q[J++] * A + B, xt = q[J++] * A + P, gt = q[J++] * A + B, H.bezierCurveTo(Vt, $, xt, gt, Ct, wt);
|
|
17296
17296
|
}
|
|
17297
17297
|
A = { offsetX: T.ha * A, path: H };
|
|
17298
17298
|
} else
|
|
@@ -17361,10 +17361,10 @@ void main() {
|
|
|
17361
17361
|
t = this, e = A.focus, i = A.fov, n = A.aspect * this.aspect, s = A.near, l = A.far, d = A.zoom;
|
|
17362
17362
|
var P = A.projectionMatrix.clone();
|
|
17363
17363
|
p = this.eyeSep / 2;
|
|
17364
|
-
var
|
|
17364
|
+
var B = p * s / e, H = s * Math.tan(fi.DEG2RAD * i * 0.5) / d;
|
|
17365
17365
|
T.elements[12] = -p, _.elements[12] = p;
|
|
17366
|
-
var q = -H * n +
|
|
17367
|
-
P.elements[0] = 2 * s / (J - q), P.elements[8] = (J + q) / (J - q), this.cameraL.projectionMatrix.copy(P), q = -H * n -
|
|
17366
|
+
var q = -H * n + B, J = H * n + B;
|
|
17367
|
+
P.elements[0] = 2 * s / (J - q), P.elements[8] = (J + q) / (J - q), this.cameraL.projectionMatrix.copy(P), q = -H * n - B, J = H * n - B, P.elements[0] = 2 * s / (J - q), P.elements[8] = (J + q) / (J - q), this.cameraR.projectionMatrix.copy(P);
|
|
17368
17368
|
}
|
|
17369
17369
|
this.cameraL.matrixWorld.copy(A.matrixWorld).multiply(T), this.cameraR.matrixWorld.copy(A.matrixWorld).multiply(_);
|
|
17370
17370
|
};
|
|
@@ -17844,17 +17844,17 @@ void main() {
|
|
|
17844
17844
|
isAnimationObjectGroup: !0,
|
|
17845
17845
|
add: function() {
|
|
17846
17846
|
for (var t = this._objects, e = t.length, i = this.nCachedObjects_, n = this._indicesByUUID, s = this._paths, l = this._parsedPaths, d = this._bindings, p = d.length, _ = void 0, T = 0, A = arguments.length; T !== A; ++T) {
|
|
17847
|
-
var P = arguments[T],
|
|
17847
|
+
var P = arguments[T], B = P.uuid, H = n[B];
|
|
17848
17848
|
if (H === void 0) {
|
|
17849
|
-
H = e++, n[
|
|
17850
|
-
for (var q = p;
|
|
17851
|
-
d[
|
|
17849
|
+
H = e++, n[B] = H, t.push(P), B = 0;
|
|
17850
|
+
for (var q = p; B !== q; ++B)
|
|
17851
|
+
d[B].push(new Tn(P, s[B], l[B]));
|
|
17852
17852
|
} else if (H < i) {
|
|
17853
17853
|
_ = t[H];
|
|
17854
17854
|
var J = --i;
|
|
17855
|
-
for (q = t[J], n[q.uuid] = H, t[H] = q, n[
|
|
17856
|
-
var rt = d[
|
|
17857
|
-
rt[H] = rt[J], xt === void 0 && (xt = new Tn(P, s[
|
|
17855
|
+
for (q = t[J], n[q.uuid] = H, t[H] = q, n[B] = J, t[J] = P, B = 0, q = p; B !== q; ++B) {
|
|
17856
|
+
var rt = d[B], xt = rt[H];
|
|
17857
|
+
rt[H] = rt[J], xt === void 0 && (xt = new Tn(P, s[B], l[B])), rt[J] = xt;
|
|
17858
17858
|
}
|
|
17859
17859
|
} else
|
|
17860
17860
|
t[H];
|
|
@@ -17868,8 +17868,8 @@ void main() {
|
|
|
17868
17868
|
var A = e++, P = t[A];
|
|
17869
17869
|
for (i[P.uuid] = T, t[T] = P, i[_] = A, t[A] = p, p = 0, _ = s; p !== _; ++p) {
|
|
17870
17870
|
P = n[p];
|
|
17871
|
-
var
|
|
17872
|
-
P[T] = P[A], P[A] =
|
|
17871
|
+
var B = P[T];
|
|
17872
|
+
P[T] = P[A], P[A] = B;
|
|
17873
17873
|
}
|
|
17874
17874
|
}
|
|
17875
17875
|
}
|
|
@@ -17881,13 +17881,13 @@ void main() {
|
|
|
17881
17881
|
if (T !== void 0)
|
|
17882
17882
|
if (delete n[_], T < i) {
|
|
17883
17883
|
_ = --i;
|
|
17884
|
-
var A = t[_], P = --e,
|
|
17885
|
-
for (n[A.uuid] = T, t[T] = A, n[
|
|
17884
|
+
var A = t[_], P = --e, B = t[P];
|
|
17885
|
+
for (n[A.uuid] = T, t[T] = A, n[B.uuid] = _, t[_] = B, t.pop(), A = 0, B = l; A !== B; ++A) {
|
|
17886
17886
|
var H = s[A], q = H[P];
|
|
17887
17887
|
H[T] = H[_], H[_] = q, H.pop();
|
|
17888
17888
|
}
|
|
17889
17889
|
} else
|
|
17890
|
-
for (P = --e,
|
|
17890
|
+
for (P = --e, B = t[P], n[B.uuid] = T, t[T] = B, t.pop(), A = 0, B = l; A !== B; ++A)
|
|
17891
17891
|
H = s[A], H[T] = H[P], H.pop();
|
|
17892
17892
|
}
|
|
17893
17893
|
this.nCachedObjects_ = i;
|
|
@@ -18481,13 +18481,13 @@ void main() {
|
|
|
18481
18481
|
var s = this.object.matrixWorld, l = this.geometry.attributes.position, d = this.object.geometry;
|
|
18482
18482
|
if (d && d.isGeometry)
|
|
18483
18483
|
for (var p = d.vertices, _ = d.faces, T = d = 0, A = _.length; T < A; T++)
|
|
18484
|
-
for (var P = _[T],
|
|
18485
|
-
var q = P.vertexNormals[
|
|
18486
|
-
t.copy(p[P[n[
|
|
18484
|
+
for (var P = _[T], B = 0, H = P.vertexNormals.length; B < H; B++) {
|
|
18485
|
+
var q = P.vertexNormals[B];
|
|
18486
|
+
t.copy(p[P[n[B]]]).applyMatrix4(s), e.copy(q).applyMatrix3(i).normalize().multiplyScalar(this.size).add(t), l.setXYZ(d, t.x, t.y, t.z), d += 1, l.setXYZ(d, e.x, e.y, e.z), d += 1;
|
|
18487
18487
|
}
|
|
18488
18488
|
else if (d && d.isBufferGeometry)
|
|
18489
|
-
for (n = d.attributes.position, p = d.attributes.normal,
|
|
18490
|
-
t.set(n.getX(
|
|
18489
|
+
for (n = d.attributes.position, p = d.attributes.normal, B = d = 0, H = n.count; B < H; B++)
|
|
18490
|
+
t.set(n.getX(B), n.getY(B), n.getZ(B)).applyMatrix4(s), e.set(p.getX(B), p.getY(B), p.getZ(B)), e.applyMatrix3(i).normalize().multiplyScalar(this.size).add(t), l.setXYZ(d, t.x, t.y, t.z), d += 1, l.setXYZ(d, e.x, e.y, e.z), d += 1;
|
|
18491
18491
|
l.needsUpdate = !0;
|
|
18492
18492
|
};
|
|
18493
18493
|
}(), va.prototype = Object.create(F.prototype), va.prototype.constructor = va, va.prototype.dispose = function() {
|
|
@@ -18749,7 +18749,7 @@ void main() {
|
|
|
18749
18749
|
makeFrustum: function(t, e, i, n, s, l) {
|
|
18750
18750
|
return this.makePerspective(t, e, n, i, s, l);
|
|
18751
18751
|
}
|
|
18752
|
-
}),
|
|
18752
|
+
}), N.prototype.isIntersectionLine = function(t) {
|
|
18753
18753
|
return this.intersectsLine(t);
|
|
18754
18754
|
}, f.prototype.multiplyVector3 = function(t) {
|
|
18755
18755
|
return t.applyQuaternion(this);
|
|
@@ -19250,7 +19250,7 @@ void main() {
|
|
|
19250
19250
|
return s.setCrossOrigin(this.crossOrigin), t = s.load(t, i, void 0, n), e && (t.mapping = e), t;
|
|
19251
19251
|
}, ts.loadCompressedTexture = function() {
|
|
19252
19252
|
}, ts.loadCompressedTextureCube = function() {
|
|
19253
|
-
}, x.WebGLRenderTargetCube = b, x.WebGLRenderTarget = S, x.WebGLRenderer = xe, x.ShaderLib = go, x.UniformsLib = qe, x.UniformsUtils = Dn, x.ShaderChunk = bi, x.FogExp2 = Re, x.Fog = wn, x.Scene = Hn, x.Sprite = Qi, x.LOD = tn, x.SkinnedMesh = Fi, x.Skeleton = sn, x.Bone = an, x.Mesh = di, x.LineSegments = mi, x.LineLoop = so, x.Line = Vi, x.Points = Qs, x.Group = ui, x.VideoTexture = yh, x.DataTexture = O, x.DataTexture3D = Q, x.CompressedTexture = Ho, x.CubeTexture = z, x.CanvasTexture = Fa, x.DepthTexture = Ua, x.Texture = g, x.AnimationLoader = Qt, x.CompressedTextureLoader = Zt, x.DataTextureLoader = Ue, x.CubeTextureLoader = ki, x.TextureLoader = ln, x.ObjectLoader = Ka, x.MaterialLoader = Hl, x.BufferGeometryLoader = wh, x.DefaultLoadingManager = Kn, x.LoadingManager = Zo, x.JSONLoader = Ls, x.ImageLoader = si, x.ImageBitmapLoader = Th, x.FontLoader = uu, x.FileLoader = Lt, x.Loader = Io, x.LoaderUtils = zs, x.Cache = yo, x.AudioLoader = dn, x.SpotLightShadow = Ja, x.SpotLight = $a, x.PointLight = As, x.RectAreaLight = Gl, x.HemisphereLight = Za, x.DirectionalLightShadow = $o, x.DirectionalLight = mo, x.AmbientLight = Ps, x.LightShadow = po, x.Light = $i, x.StereoCamera = Gn, x.PerspectiveCamera = _e, x.OrthographicCamera = da, x.CubeCamera = Qa, x.ArrayCamera = Fe, x.Camera = Be, x.AudioListener = Wl, x.PositionalAudio = tl, x.AudioContext = Dh, x.AudioAnalyser = Rs, x.Audio = pa, x.VectorKeyframeTrack = ca, x.StringKeyframeTrack = Ul, x.QuaternionKeyframeTrack = ua, x.NumberKeyframeTrack = jr, x.ColorKeyframeTrack = Fl, x.BooleanKeyframeTrack = Nl, x.PropertyMixer = el, x.PropertyBinding = Tn, x.KeyframeTrack = Un, x.AnimationUtils = Wn, x.AnimationObjectGroup = ma, x.AnimationMixer = Ko, x.AnimationClip = gr, x.Uniform = jl, x.InstancedBufferGeometry = Eh, x.BufferGeometry = Ft, x.Geometry = X, x.InterleavedBufferAttribute = Di, x.InstancedInterleavedBuffer = bh, x.InterleavedBuffer = Ii, x.InstancedBufferAttribute = Ch, x.Face3 = R, x.Object3D = F, x.Raycaster = cu, x.Layers = U, x.EventDispatcher = a, x.Clock = Sh, x.QuaternionLinearInterpolant = ir, x.LinearInterpolant = Cr, x.DiscreteInterpolant = Cs, x.CubicInterpolant = Ya, x.Interpolant = Zn, x.Triangle = Oe, x.Math = fi, x.Spherical = Ah, x.Cylindrical = it, x.Plane =
|
|
19253
|
+
}, x.WebGLRenderTargetCube = b, x.WebGLRenderTarget = S, x.WebGLRenderer = xe, x.ShaderLib = go, x.UniformsLib = qe, x.UniformsUtils = Dn, x.ShaderChunk = bi, x.FogExp2 = Re, x.Fog = wn, x.Scene = Hn, x.Sprite = Qi, x.LOD = tn, x.SkinnedMesh = Fi, x.Skeleton = sn, x.Bone = an, x.Mesh = di, x.LineSegments = mi, x.LineLoop = so, x.Line = Vi, x.Points = Qs, x.Group = ui, x.VideoTexture = yh, x.DataTexture = O, x.DataTexture3D = Q, x.CompressedTexture = Ho, x.CubeTexture = z, x.CanvasTexture = Fa, x.DepthTexture = Ua, x.Texture = g, x.AnimationLoader = Qt, x.CompressedTextureLoader = Zt, x.DataTextureLoader = Ue, x.CubeTextureLoader = ki, x.TextureLoader = ln, x.ObjectLoader = Ka, x.MaterialLoader = Hl, x.BufferGeometryLoader = wh, x.DefaultLoadingManager = Kn, x.LoadingManager = Zo, x.JSONLoader = Ls, x.ImageLoader = si, x.ImageBitmapLoader = Th, x.FontLoader = uu, x.FileLoader = Lt, x.Loader = Io, x.LoaderUtils = zs, x.Cache = yo, x.AudioLoader = dn, x.SpotLightShadow = Ja, x.SpotLight = $a, x.PointLight = As, x.RectAreaLight = Gl, x.HemisphereLight = Za, x.DirectionalLightShadow = $o, x.DirectionalLight = mo, x.AmbientLight = Ps, x.LightShadow = po, x.Light = $i, x.StereoCamera = Gn, x.PerspectiveCamera = _e, x.OrthographicCamera = da, x.CubeCamera = Qa, x.ArrayCamera = Fe, x.Camera = Be, x.AudioListener = Wl, x.PositionalAudio = tl, x.AudioContext = Dh, x.AudioAnalyser = Rs, x.Audio = pa, x.VectorKeyframeTrack = ca, x.StringKeyframeTrack = Ul, x.QuaternionKeyframeTrack = ua, x.NumberKeyframeTrack = jr, x.ColorKeyframeTrack = Fl, x.BooleanKeyframeTrack = Nl, x.PropertyMixer = el, x.PropertyBinding = Tn, x.KeyframeTrack = Un, x.AnimationUtils = Wn, x.AnimationObjectGroup = ma, x.AnimationMixer = Ko, x.AnimationClip = gr, x.Uniform = jl, x.InstancedBufferGeometry = Eh, x.BufferGeometry = Ft, x.Geometry = X, x.InterleavedBufferAttribute = Di, x.InstancedInterleavedBuffer = bh, x.InterleavedBuffer = Ii, x.InstancedBufferAttribute = Ch, x.Face3 = R, x.Object3D = F, x.Raycaster = cu, x.Layers = U, x.EventDispatcher = a, x.Clock = Sh, x.QuaternionLinearInterpolant = ir, x.LinearInterpolant = Cr, x.DiscreteInterpolant = Cs, x.CubicInterpolant = Ya, x.Interpolant = Zn, x.Triangle = Oe, x.Math = fi, x.Spherical = Ah, x.Cylindrical = it, x.Plane = N, x.Frustum = E, x.Sphere = D, x.Ray = Mi, x.Matrix4 = c, x.Matrix3 = m, x.Box3 = k, x.Box2 = Qo, x.Line3 = ga, x.Euler = C, x.Vector4 = y, x.Vector3 = u, x.Vector2 = o, x.Quaternion = f, x.Color = L, x.ImmediateRenderObject = Vn, x.VertexNormalsHelper = yi, x.SpotLightHelper = va, x.SkeletonHelper = ya, x.PointLightHelper = Pr, x.RectAreaLightHelper = _a, x.HemisphereLightHelper = xa, x.GridHelper = rl, x.PolarGridHelper = Xl, x.FaceNormalsHelper = ol, x.DirectionalLightHelper = lr, x.CameraHelper = sl, x.BoxHelper = Do, x.Box3Helper = al, x.PlaneHelper = ll, x.ArrowHelper = zo, x.AxesHelper = vr, x.Shape = $n, x.Path = ar, x.ShapePath = Vl, x.Font = Mh, x.CurvePath = Oo, x.Curve = Ee, x.ImageUtils = ts, x.ShapeUtils = vo, x.WebGLUtils = He, x.WireframeGeometry = ta, x.ParametricGeometry = Ga, x.ParametricBufferGeometry = ea, x.TetrahedronGeometry = Ha, x.TetrahedronBufferGeometry = ia, x.OctahedronGeometry = Va, x.OctahedronBufferGeometry = ps, x.IcosahedronGeometry = Wa, x.IcosahedronBufferGeometry = na, x.DodecahedronGeometry = ra, x.DodecahedronBufferGeometry = oa, x.PolyhedronGeometry = Wi, x.PolyhedronBufferGeometry = _i, x.TubeGeometry = fn, x.TubeBufferGeometry = Vo, x.TorusKnotGeometry = Vr, x.TorusKnotBufferGeometry = ms, x.TorusGeometry = gs, x.TorusBufferGeometry = Nn, x.TextGeometry = Xa, x.TextBufferGeometry = ys, x.SphereGeometry = Wo, x.SphereBufferGeometry = Er, x.RingGeometry = qa, x.RingBufferGeometry = _s, x.PlaneGeometry = Pe, x.PlaneBufferGeometry = pe, x.LatheGeometry = la, x.LatheBufferGeometry = jo, x.ShapeGeometry = Po, x.ShapeBufferGeometry = Xo, x.ExtrudeGeometry = Ao, x.ExtrudeBufferGeometry = lo, x.EdgesGeometry = qo, x.ConeGeometry = ha, x.ConeBufferGeometry = Fn, x.CylinderGeometry = Lo, x.CylinderBufferGeometry = Ro, x.CircleGeometry = xs, x.CircleBufferGeometry = ho, x.BoxGeometry = It, x.BoxBufferGeometry = Nt, x.ShadowMaterial = Yo, x.SpriteMaterial = Ui, x.RawShaderMaterial = ws, x.ShaderMaterial = $e, x.PointsMaterial = Bn, x.MeshPhysicalMaterial = Ts, x.MeshStandardMaterial = uo, x.MeshPhongMaterial = Wr, x.MeshToonMaterial = Ms, x.MeshNormalMaterial = Ss, x.MeshLambertMaterial = br, x.MeshDepthMaterial = se, x.MeshDistanceMaterial = te, x.MeshBasicMaterial = Ge, x.MeshMatcapMaterial = Es, x.LineDashedMaterial = bs, x.LineBasicMaterial = zi, x.Material = Wt, x.Float64BufferAttribute = At, x.Float32BufferAttribute = Et, x.Uint32BufferAttribute = Pt, x.Int32BufferAttribute = G, x.Uint16BufferAttribute = _t, x.Int16BufferAttribute = tt, x.Uint8ClampedBufferAttribute = Rt, x.Uint8BufferAttribute = ct, x.Int8BufferAttribute = Z, x.BufferAttribute = K, x.ArcCurve = fa, x.CatmullRomCurve3 = Pn, x.CubicBezierCurve = rr, x.CubicBezierCurve3 = wi, x.EllipseCurve = Jn, x.LineCurve = or, x.LineCurve3 = Ar, x.QuadraticBezierCurve = sr, x.QuadraticBezierCurve3 = fo, x.SplineCurve = Xr, x.REVISION = "98", x.MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, x.CullFaceNone = 0, x.CullFaceBack = 1, x.CullFaceFront = 2, x.CullFaceFrontBack = 3, x.FrontFaceDirectionCW = 0, x.FrontFaceDirectionCCW = 1, x.BasicShadowMap = 0, x.PCFShadowMap = 1, x.PCFSoftShadowMap = 2, x.FrontSide = 0, x.BackSide = 1, x.DoubleSide = 2, x.FlatShading = 1, x.SmoothShading = 2, x.NoColors = 0, x.FaceColors = 1, x.VertexColors = 2, x.NoBlending = 0, x.NormalBlending = 1, x.AdditiveBlending = 2, x.SubtractiveBlending = 3, x.MultiplyBlending = 4, x.CustomBlending = 5, x.AddEquation = 100, x.SubtractEquation = 101, x.ReverseSubtractEquation = 102, x.MinEquation = 103, x.MaxEquation = 104, x.ZeroFactor = 200, x.OneFactor = 201, x.SrcColorFactor = 202, x.OneMinusSrcColorFactor = 203, x.SrcAlphaFactor = 204, x.OneMinusSrcAlphaFactor = 205, x.DstAlphaFactor = 206, x.OneMinusDstAlphaFactor = 207, x.DstColorFactor = 208, x.OneMinusDstColorFactor = 209, x.SrcAlphaSaturateFactor = 210, x.NeverDepth = 0, x.AlwaysDepth = 1, x.LessDepth = 2, x.LessEqualDepth = 3, x.EqualDepth = 4, x.GreaterEqualDepth = 5, x.GreaterDepth = 6, x.NotEqualDepth = 7, x.MultiplyOperation = 0, x.MixOperation = 1, x.AddOperation = 2, x.NoToneMapping = 0, x.LinearToneMapping = 1, x.ReinhardToneMapping = 2, x.Uncharted2ToneMapping = 3, x.CineonToneMapping = 4, x.UVMapping = 300, x.CubeReflectionMapping = 301, x.CubeRefractionMapping = 302, x.EquirectangularReflectionMapping = 303, x.EquirectangularRefractionMapping = 304, x.SphericalReflectionMapping = 305, x.CubeUVReflectionMapping = 306, x.CubeUVRefractionMapping = 307, x.RepeatWrapping = 1e3, x.ClampToEdgeWrapping = 1001, x.MirroredRepeatWrapping = 1002, x.NearestFilter = 1003, x.NearestMipMapNearestFilter = 1004, x.NearestMipMapLinearFilter = 1005, x.LinearFilter = 1006, x.LinearMipMapNearestFilter = 1007, x.LinearMipMapLinearFilter = 1008, x.UnsignedByteType = 1009, x.ByteType = 1010, x.ShortType = 1011, x.UnsignedShortType = 1012, x.IntType = 1013, x.UnsignedIntType = 1014, x.FloatType = 1015, x.HalfFloatType = 1016, x.UnsignedShort4444Type = 1017, x.UnsignedShort5551Type = 1018, x.UnsignedShort565Type = 1019, x.UnsignedInt248Type = 1020, x.AlphaFormat = 1021, x.RGBFormat = 1022, x.RGBAFormat = 1023, x.LuminanceFormat = 1024, x.LuminanceAlphaFormat = 1025, x.RGBEFormat = 1023, x.DepthFormat = 1026, x.DepthStencilFormat = 1027, x.RedFormat = 1028, x.RGB_S3TC_DXT1_Format = 33776, x.RGBA_S3TC_DXT1_Format = 33777, x.RGBA_S3TC_DXT3_Format = 33778, x.RGBA_S3TC_DXT5_Format = 33779, x.RGB_PVRTC_4BPPV1_Format = 35840, x.RGB_PVRTC_2BPPV1_Format = 35841, x.RGBA_PVRTC_4BPPV1_Format = 35842, x.RGBA_PVRTC_2BPPV1_Format = 35843, x.RGB_ETC1_Format = 36196, x.RGBA_ASTC_4x4_Format = 37808, x.RGBA_ASTC_5x4_Format = 37809, x.RGBA_ASTC_5x5_Format = 37810, x.RGBA_ASTC_6x5_Format = 37811, x.RGBA_ASTC_6x6_Format = 37812, x.RGBA_ASTC_8x5_Format = 37813, x.RGBA_ASTC_8x6_Format = 37814, x.RGBA_ASTC_8x8_Format = 37815, x.RGBA_ASTC_10x5_Format = 37816, x.RGBA_ASTC_10x6_Format = 37817, x.RGBA_ASTC_10x8_Format = 37818, x.RGBA_ASTC_10x10_Format = 37819, x.RGBA_ASTC_12x10_Format = 37820, x.RGBA_ASTC_12x12_Format = 37821, x.LoopOnce = 2200, x.LoopRepeat = 2201, x.LoopPingPong = 2202, x.InterpolateDiscrete = 2300, x.InterpolateLinear = 2301, x.InterpolateSmooth = 2302, x.ZeroCurvatureEnding = 2400, x.ZeroSlopeEnding = 2401, x.WrapAroundEnding = 2402, x.TrianglesDrawMode = 0, x.TriangleStripDrawMode = 1, x.TriangleFanDrawMode = 2, x.LinearEncoding = 3e3, x.sRGBEncoding = 3001, x.GammaEncoding = 3007, x.RGBEEncoding = 3002, x.LogLuvEncoding = 3003, x.RGBM7Encoding = 3004, x.RGBM16Encoding = 3005, x.RGBDEncoding = 3006, x.BasicDepthPacking = 3200, x.RGBADepthPacking = 3201, x.TangentSpaceNormalMap = 0, x.ObjectSpaceNormalMap = 1, x.CubeGeometry = It, x.Face4 = function(t, e, i, n, s, l, d) {
|
|
19254
19254
|
return new R(t, e, i, s, l, d);
|
|
19255
19255
|
}, x.LineStrip = 0, x.LinePieces = 1, x.MeshFaceMaterial = function(t) {
|
|
19256
19256
|
return t;
|
|
@@ -19519,18 +19519,20 @@ class v1 {
|
|
|
19519
19519
|
constructor(a = []) {
|
|
19520
19520
|
/**时间轴监听 */
|
|
19521
19521
|
os(this, "componentonTick", () => {
|
|
19522
|
-
|
|
19523
|
-
|
|
19524
|
-
|
|
19525
|
-
|
|
19526
|
-
|
|
19527
|
-
|
|
19528
|
-
S,
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
|
|
19532
|
-
|
|
19533
|
-
|
|
19522
|
+
this.componentColoringArray.forEach((a) => {
|
|
19523
|
+
let { componentMap: o, oldColorRgb: c, modelInit: f, modelId: u } = a, m = c || "rgba(255,255,255", g = this.queryModel(u);
|
|
19524
|
+
g && (g.style = (y) => {
|
|
19525
|
+
const S = mars3d.Util.get3DTileFeatureAttr(y).id, b = window.map.viewer.clock.currentTime;
|
|
19526
|
+
let O = f;
|
|
19527
|
+
if (o.has(S)) {
|
|
19528
|
+
let { startTime: k, totalDuration: D } = o.get(S), E = Cesium.JulianDate.secondsDifference(
|
|
19529
|
+
b,
|
|
19530
|
+
k
|
|
19531
|
+
) / D;
|
|
19532
|
+
return O == 1 ? E = 1 - E : O == 0 && (E = 0 + E), E > 1 ? E = 1 : E < 0 && (E = 0), E == 1 ? `${m},${E})` : `rgba(240, 128, 128,${E})`;
|
|
19533
|
+
}
|
|
19534
|
+
return `${m},${O})`;
|
|
19535
|
+
});
|
|
19534
19536
|
});
|
|
19535
19537
|
});
|
|
19536
19538
|
os(this, "initComponentAnimation", () => {
|
|
@@ -19560,21 +19562,20 @@ class v1 {
|
|
|
19560
19562
|
["initialTilesLoaded", mars3d.EventType.initialTilesLoaded]
|
|
19561
19563
|
]);
|
|
19562
19564
|
return new Promise((m, g) => {
|
|
19563
|
-
let y, S, b, O, k, D,
|
|
19565
|
+
let y, S, b, O, k, D, N, E, L, w = {
|
|
19564
19566
|
enabled: !0,
|
|
19565
19567
|
precise: !1,
|
|
19566
19568
|
czm: !1
|
|
19567
|
-
// maxCanvasSize: 7000,
|
|
19568
19569
|
}, M = { enabled: !0, precise: !1, czm: !1 };
|
|
19569
19570
|
if (typeof a != "object") {
|
|
19570
19571
|
let F = this.query(a);
|
|
19571
19572
|
F || g("缺少树结构");
|
|
19572
19573
|
let { id: X, bimModelExcavationDetails: K, bimModel: Z } = F;
|
|
19573
|
-
y = X, S = Z.modelType, b = Z.tender, O = Z.releasedDistance, k = Z.modelName, D = Z.isDynamicReleased,
|
|
19574
|
+
y = X, S = Z.modelType, b = Z.tender, O = Z.releasedDistance, k = Z.modelName, D = Z.isDynamicReleased, N = {
|
|
19574
19575
|
bimModelExcavationDetails: K
|
|
19575
19576
|
}, E = F.url, L = Z.modelColor, w.maxCanvasSize = Z.gridResolution || 4080;
|
|
19576
19577
|
} else
|
|
19577
|
-
y = a.modelId, S = a.modelType, b = a.tender, O = a.releasedDistance, k = a.modelTitle, D = a.permission,
|
|
19578
|
+
y = a.modelId, S = a.modelType, b = a.tender, O = a.releasedDistance, k = a.modelTitle, D = a.permission, N = a.customize, E = a.url, L = a.color, w.maxCanvasSize = a.maxCanvasSize || 4080;
|
|
19578
19579
|
let R = 2147483648, C = 16;
|
|
19579
19580
|
if (c) {
|
|
19580
19581
|
if (c.color && (L = c.color), c.clip && (w.area = c.clip.handleDataList), c.flat && (M.area = c.flat.handleDataList), c.maxCanvasSize && (w.maxCanvasSize = c.maxCanvasSize || 4080), c.cacheSpaceMultiplier) {
|
|
@@ -19618,7 +19619,7 @@ class v1 {
|
|
|
19618
19619
|
releasedDistance: O,
|
|
19619
19620
|
modelTitle: k,
|
|
19620
19621
|
permission: D,
|
|
19621
|
-
customize:
|
|
19622
|
+
customize: N,
|
|
19622
19623
|
url: encodeURI(E),
|
|
19623
19624
|
skipLevelOfDetail: !1,
|
|
19624
19625
|
loadSiblings: !0,
|
|
@@ -19642,8 +19643,8 @@ class v1 {
|
|
|
19642
19643
|
highlight: {
|
|
19643
19644
|
type: "click",
|
|
19644
19645
|
// outlineEffect: true,
|
|
19645
|
-
width: 8,
|
|
19646
|
-
color: "rgba(255,0,0,
|
|
19646
|
+
// width: 8,
|
|
19647
|
+
color: "rgba(255,0,0,1)"
|
|
19647
19648
|
}
|
|
19648
19649
|
// colorCorrection: {},
|
|
19649
19650
|
}), this.tilesetLayer.bindPopup((Z) => {
|
|
@@ -19664,13 +19665,6 @@ class v1 {
|
|
|
19664
19665
|
m(Z);
|
|
19665
19666
|
}).catch((Z) => {
|
|
19666
19667
|
m();
|
|
19667
|
-
}), this.tilesetLayer.on("click", (Z) => {
|
|
19668
|
-
Z.layer.style == null && map.bimMapEdit == "0" && Z.layer.openHighlight(
|
|
19669
|
-
{
|
|
19670
|
-
color: "rgba(255,0,0,1)"
|
|
19671
|
-
},
|
|
19672
|
-
!0
|
|
19673
|
-
);
|
|
19674
19668
|
}), o && Object.keys(o).forEach((Z) => {
|
|
19675
19669
|
this.tilesetLayer.on(u.get(Z), (ct) => {
|
|
19676
19670
|
o[Z](ct);
|
|
@@ -19839,8 +19833,13 @@ class v1 {
|
|
|
19839
19833
|
* @param {string} modelId - 模型的唯一标识符
|
|
19840
19834
|
* @param {Array} componentArr - 需要淡出的构件ID数组,默认为空数组(表示淡出整个模型)
|
|
19841
19835
|
* @param {number} duration - 日期参数 包含起始日期和结束日期
|
|
19842
|
-
* @param {number} type - 淡出类型,0表示从透明到不透明,1表示从不透明到透明,默认为
|
|
19836
|
+
* @param {number} type - 淡出类型,0表示从透明到不透明,1表示从不透明到透明,默认为1
|
|
19843
19837
|
*/
|
|
19838
|
+
test(a) {
|
|
19839
|
+
var o = 1;
|
|
19840
|
+
setInterval(() => {
|
|
19841
|
+
}, 1e3);
|
|
19842
|
+
}
|
|
19844
19843
|
async fadeOutModel(a, o = [], c = [], f = 1) {
|
|
19845
19844
|
if (c.length > 0) {
|
|
19846
19845
|
let u = new Cesium.JulianDate.fromIso8601(c[0]), m = new Cesium.JulianDate.fromIso8601(
|
|
@@ -19904,21 +19903,21 @@ class v1 {
|
|
|
19904
19903
|
let k;
|
|
19905
19904
|
f == 1 ? k = 1 - O : f == 0 && (k = 0 + O);
|
|
19906
19905
|
const D = bimModel.queryModel(a);
|
|
19907
|
-
D && (D.style = (
|
|
19906
|
+
D && (D.style = (N) => {
|
|
19908
19907
|
if (o.length == 0)
|
|
19909
19908
|
return `rgba(255,0,0,${k})`;
|
|
19910
|
-
const E = mars3d.Util.get3DTileFeatureAttr(
|
|
19909
|
+
const E = mars3d.Util.get3DTileFeatureAttr(N).id;
|
|
19911
19910
|
if (o.length != 0)
|
|
19912
19911
|
return o.includes(E) ? `rgba(255,0,0,${k})` : m;
|
|
19913
19912
|
}), requestAnimationFrame(y);
|
|
19914
19913
|
} else {
|
|
19915
19914
|
const k = bimModel.queryModel(a);
|
|
19916
19915
|
k && (k.style = (D) => {
|
|
19917
|
-
const
|
|
19916
|
+
const N = mars3d.Util.get3DTileFeatureAttr(D).id;
|
|
19918
19917
|
if (o.length == 0)
|
|
19919
19918
|
return `${g}${1 - f})`;
|
|
19920
19919
|
if (o.length != 0)
|
|
19921
|
-
return o.includes(
|
|
19920
|
+
return o.includes(N) ? `${g}${1 - f})` : m;
|
|
19922
19921
|
});
|
|
19923
19922
|
}
|
|
19924
19923
|
};
|
|
@@ -19957,7 +19956,7 @@ const Ud = (x, a, o) => {
|
|
|
19957
19956
|
scaleByDistance: O,
|
|
19958
19957
|
scaleByDistance_far: k,
|
|
19959
19958
|
scaleByDistance_farValue: D,
|
|
19960
|
-
scaleByDistance_near:
|
|
19959
|
+
scaleByDistance_near: N,
|
|
19961
19960
|
scaleByDistance_nearValue: E,
|
|
19962
19961
|
distanceDisplayCondition: L,
|
|
19963
19962
|
distanceDisplayCondition_far: w,
|
|
@@ -20031,7 +20030,7 @@ const Ud = (x, a, o) => {
|
|
|
20031
20030
|
scaleByDistance: O,
|
|
20032
20031
|
scaleByDistance_far: k,
|
|
20033
20032
|
scaleByDistance_farValue: D,
|
|
20034
|
-
scaleByDistance_near:
|
|
20033
|
+
scaleByDistance_near: N,
|
|
20035
20034
|
scaleByDistance_nearValue: E,
|
|
20036
20035
|
distanceDisplayCondition: L,
|
|
20037
20036
|
distanceDisplayCondition_far: w,
|
|
@@ -20069,7 +20068,7 @@ var Gu = { exports: {} };
|
|
|
20069
20068
|
Gu.exports;
|
|
20070
20069
|
(function(x, a) {
|
|
20071
20070
|
(function() {
|
|
20072
|
-
var o, c = "4.17.21", f = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", g = "Invalid `variable` option passed into `_.template`", y = "__lodash_hash_undefined__", S = 500, b = "__lodash_placeholder__", O = 1, k = 2, D = 4,
|
|
20071
|
+
var o, c = "4.17.21", f = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", g = "Invalid `variable` option passed into `_.template`", y = "__lodash_hash_undefined__", S = 500, b = "__lodash_placeholder__", O = 1, k = 2, D = 4, N = 1, E = 2, L = 1, w = 2, M = 4, R = 8, C = 16, U = 32, F = 64, X = 128, K = 256, Z = 512, ct = 30, Rt = "...", tt = 800, _t = 16, G = 1, Pt = 2, Et = 3, At = 1 / 0, ce = 9007199254740991, re = 17976931348623157e292, Ft = 0 / 0, It = 4294967295, Nt = It - 1, Pe = It >>> 1, pe = [
|
|
20073
20072
|
["ary", X],
|
|
20074
20073
|
["bind", L],
|
|
20075
20074
|
["bindKey", w],
|
|
@@ -21129,7 +21128,7 @@ Gu.exports;
|
|
|
21129
21128
|
}
|
|
21130
21129
|
if (ke && !le)
|
|
21131
21130
|
return ut || (ut = new qr()), yt || eh(r) ? Cf(r, h, v, I, Y, ut) : Wp(r, h, Bt, v, I, Y, ut);
|
|
21132
|
-
if (!(v &
|
|
21131
|
+
if (!(v & N)) {
|
|
21133
21132
|
var Ze = le && wi.call(r, "__wrapped__"), li = de && wi.call(h, "__wrapped__");
|
|
21134
21133
|
if (Ze || li) {
|
|
21135
21134
|
var Ti = Ze ? r.value() : r, hi = li ? h.value() : h;
|
|
@@ -21160,7 +21159,7 @@ Gu.exports;
|
|
|
21160
21159
|
var de = new qr();
|
|
21161
21160
|
if (I)
|
|
21162
21161
|
var ke = I(oe, le, Bt, r, h, de);
|
|
21163
|
-
if (!(ke === o ? l(le, oe,
|
|
21162
|
+
if (!(ke === o ? l(le, oe, N | E, I, de) : ke))
|
|
21164
21163
|
return !1;
|
|
21165
21164
|
}
|
|
21166
21165
|
}
|
|
@@ -21178,7 +21177,7 @@ Gu.exports;
|
|
|
21178
21177
|
function P(r) {
|
|
21179
21178
|
return Cn(r) && ur(r) == Kt;
|
|
21180
21179
|
}
|
|
21181
|
-
function
|
|
21180
|
+
function B(r) {
|
|
21182
21181
|
return Cn(r) && Ru(r.length) && !!Wi[jn(r)];
|
|
21183
21182
|
}
|
|
21184
21183
|
function H(r) {
|
|
@@ -21218,7 +21217,7 @@ Gu.exports;
|
|
|
21218
21217
|
function Ct(r, h) {
|
|
21219
21218
|
return cc(r) && Rf(h) ? Of(rs(r), h) : function(v) {
|
|
21220
21219
|
var I = wc(v, r);
|
|
21221
|
-
return I === o && I === h ? Tc(v, r) : l(h, I,
|
|
21220
|
+
return I === o && I === h ? Tc(v, r) : l(h, I, N | E);
|
|
21222
21221
|
};
|
|
21223
21222
|
}
|
|
21224
21223
|
function wt(r, h, v, I, Y) {
|
|
@@ -21881,7 +21880,7 @@ Gu.exports;
|
|
|
21881
21880
|
return Hh(r) ? o : r;
|
|
21882
21881
|
}
|
|
21883
21882
|
function Cf(r, h, v, I, Y, ut) {
|
|
21884
|
-
var yt = v &
|
|
21883
|
+
var yt = v & N, bt = r.length, Bt = h.length;
|
|
21885
21884
|
if (bt != Bt && !(yt && Bt > bt))
|
|
21886
21885
|
return !1;
|
|
21887
21886
|
var oe = ut.get(r), le = ut.get(h);
|
|
@@ -21933,7 +21932,7 @@ Gu.exports;
|
|
|
21933
21932
|
case W:
|
|
21934
21933
|
var bt = Zn;
|
|
21935
21934
|
case Kt:
|
|
21936
|
-
var Bt = I &
|
|
21935
|
+
var Bt = I & N;
|
|
21937
21936
|
if (bt || (bt = Cs), r.size != h.size && !Bt)
|
|
21938
21937
|
return !1;
|
|
21939
21938
|
var oe = yt.get(r);
|
|
@@ -21949,7 +21948,7 @@ Gu.exports;
|
|
|
21949
21948
|
return !1;
|
|
21950
21949
|
}
|
|
21951
21950
|
function jp(r, h, v, I, Y, ut) {
|
|
21952
|
-
var yt = v &
|
|
21951
|
+
var yt = v & N, bt = sc(r), Bt = bt.length, oe = sc(h), le = oe.length;
|
|
21953
21952
|
if (Bt != le && !yt)
|
|
21954
21953
|
return !1;
|
|
21955
21954
|
for (var de = Bt; de--; ) {
|
|
@@ -23055,7 +23054,7 @@ Gu.exports;
|
|
|
23055
23054
|
function Yr(r) {
|
|
23056
23055
|
return typeof r == "symbol" || Cn(r) && jn(r) == Q;
|
|
23057
23056
|
}
|
|
23058
|
-
var eh = Dl ? Fn(Dl) :
|
|
23057
|
+
var eh = Dl ? Fn(Dl) : B;
|
|
23059
23058
|
function T0(r) {
|
|
23060
23059
|
return r === o;
|
|
23061
23060
|
}
|
|
@@ -23797,7 +23796,7 @@ class y1 {
|
|
|
23797
23796
|
new Cesium.Resource({
|
|
23798
23797
|
url: y
|
|
23799
23798
|
}).fetchJson().then((k) => {
|
|
23800
|
-
let { id: D, title:
|
|
23799
|
+
let { id: D, title: N, shpInfo: E } = u, { attributes: L, geometryType: w, geometryCount: M, pointCount: R } = E;
|
|
23801
23800
|
if (L) {
|
|
23802
23801
|
let {
|
|
23803
23802
|
width: C,
|
|
@@ -23925,7 +23924,7 @@ class y1 {
|
|
|
23925
23924
|
window.dynamicMasking && pe(Wt), c(Wt);
|
|
23926
23925
|
}).catch((Wt) => {
|
|
23927
23926
|
c({
|
|
23928
|
-
tite: "【矢量】「" +
|
|
23927
|
+
tite: "【矢量】「" + N + "」无法加载",
|
|
23929
23928
|
type: "error",
|
|
23930
23929
|
id: D,
|
|
23931
23930
|
url: y
|
|
@@ -23933,7 +23932,7 @@ class y1 {
|
|
|
23933
23932
|
});
|
|
23934
23933
|
} else
|
|
23935
23934
|
c({
|
|
23936
|
-
tite: "【矢量】「" +
|
|
23935
|
+
tite: "【矢量】「" + N + "」无法加载",
|
|
23937
23936
|
type: "error",
|
|
23938
23937
|
id: D,
|
|
23939
23938
|
url: y
|
|
@@ -23977,7 +23976,7 @@ class y1 {
|
|
|
23977
23976
|
minDistinct: O,
|
|
23978
23977
|
textDistinct: k,
|
|
23979
23978
|
textSize: D,
|
|
23980
|
-
textColor:
|
|
23979
|
+
textColor: N,
|
|
23981
23980
|
fontStyle: E,
|
|
23982
23981
|
outLine: L,
|
|
23983
23982
|
sideColor: w,
|
|
@@ -24004,7 +24003,7 @@ class y1 {
|
|
|
24004
24003
|
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
|
24005
24004
|
pixelOffsetY: -10,
|
|
24006
24005
|
font_size: 26,
|
|
24007
|
-
color:
|
|
24006
|
+
color: N || "#ffffff",
|
|
24008
24007
|
font_family: E || "黑体",
|
|
24009
24008
|
outline: L || !0,
|
|
24010
24009
|
outlineColor: w || "#000000",
|
|
@@ -24138,7 +24137,11 @@ class _1 {
|
|
|
24138
24137
|
url: f,
|
|
24139
24138
|
//item.gisInfo.gisUrl,
|
|
24140
24139
|
requestVertexNormals: !0,
|
|
24141
|
-
requestMetadata: !0
|
|
24140
|
+
requestMetadata: !0,
|
|
24141
|
+
clip: !0,
|
|
24142
|
+
flat: !0,
|
|
24143
|
+
uplift: !0,
|
|
24144
|
+
flood: !0
|
|
24142
24145
|
}), this.terrainProviderId = u;
|
|
24143
24146
|
}
|
|
24144
24147
|
}
|
|
@@ -24265,16 +24268,16 @@ class x1 {
|
|
|
24265
24268
|
surfaceOpacity: O
|
|
24266
24269
|
} = this.exposureEnvironmentSettings();
|
|
24267
24270
|
return new Promise((k, D) => {
|
|
24268
|
-
let
|
|
24271
|
+
let N, E, L, w, M, R;
|
|
24269
24272
|
if (typeof a != "object") {
|
|
24270
24273
|
let C = this.query(a);
|
|
24271
24274
|
C || D("缺少树结构");
|
|
24272
24275
|
let { gisInfo: U } = C;
|
|
24273
|
-
|
|
24276
|
+
N = U.id, L = U.order, E = C.url, w = U.minLevel, M = U.maxLevel;
|
|
24274
24277
|
} else
|
|
24275
|
-
|
|
24278
|
+
N = a.imageXyzId, E = a.url, L = a.zIndex, w = a.minimumLevel, M = a.maximumLevel, R = a.chinaCRS;
|
|
24276
24279
|
this.elevationImageLayer = new mars3d.layer.XyzLayer({
|
|
24277
|
-
imageXyzId:
|
|
24280
|
+
imageXyzId: N,
|
|
24278
24281
|
type: "xyz",
|
|
24279
24282
|
url: E,
|
|
24280
24283
|
//item.gisUrl,
|
|
@@ -24741,7 +24744,7 @@ class T1 {
|
|
|
24741
24744
|
scaleByDistance_far: O,
|
|
24742
24745
|
scaleByDistance_farValue: k,
|
|
24743
24746
|
scaleByDistance_near: D,
|
|
24744
|
-
scaleByDistance_nearValue:
|
|
24747
|
+
scaleByDistance_nearValue: N,
|
|
24745
24748
|
distanceDisplayCondition: E,
|
|
24746
24749
|
distanceDisplayCondition_far: L,
|
|
24747
24750
|
distanceDisplayCondition_near: w,
|
|
@@ -24754,7 +24757,7 @@ class T1 {
|
|
|
24754
24757
|
scaleByDistance_far: O,
|
|
24755
24758
|
scaleByDistance_farValue: k,
|
|
24756
24759
|
scaleByDistance_near: D,
|
|
24757
|
-
scaleByDistance_nearValue:
|
|
24760
|
+
scaleByDistance_nearValue: N,
|
|
24758
24761
|
distanceDisplayCondition: E,
|
|
24759
24762
|
distanceDisplayCondition_far: L,
|
|
24760
24763
|
distanceDisplayCondition_near: w,
|
|
@@ -24988,9 +24991,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24988
24991
|
throw k.code = "MODULE_NOT_FOUND", k;
|
|
24989
24992
|
}
|
|
24990
24993
|
var D = f[S] = { exports: {} };
|
|
24991
|
-
c[S][0].call(D.exports, function(
|
|
24992
|
-
var E = c[S][1][
|
|
24993
|
-
return m(E ||
|
|
24994
|
+
c[S][0].call(D.exports, function(N) {
|
|
24995
|
+
var E = c[S][1][N];
|
|
24996
|
+
return m(E || N);
|
|
24994
24997
|
}, D, D.exports, o, c, f, u);
|
|
24995
24998
|
}
|
|
24996
24999
|
return f[S].exports;
|
|
@@ -25001,24 +25004,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25001
25004
|
}({ 1: [function(o, c, f) {
|
|
25002
25005
|
var u = o("./utils"), m = o("./support"), g = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
25003
25006
|
f.encode = function(y) {
|
|
25004
|
-
for (var S, b, O, k, D,
|
|
25005
|
-
R = M - w, O = C ? (S = y[w++], b = w < M ? y[w++] : 0, w < M ? y[w++] : 0) : (S = y.charCodeAt(w++), b = w < M ? y.charCodeAt(w++) : 0, w < M ? y.charCodeAt(w++) : 0), k = S >> 2, D = (3 & S) << 4 | b >> 4,
|
|
25007
|
+
for (var S, b, O, k, D, N, E, L = [], w = 0, M = y.length, R = M, C = u.getTypeOf(y) !== "string"; w < y.length; )
|
|
25008
|
+
R = M - w, O = C ? (S = y[w++], b = w < M ? y[w++] : 0, w < M ? y[w++] : 0) : (S = y.charCodeAt(w++), b = w < M ? y.charCodeAt(w++) : 0, w < M ? y.charCodeAt(w++) : 0), k = S >> 2, D = (3 & S) << 4 | b >> 4, N = 1 < R ? (15 & b) << 2 | O >> 6 : 64, E = 2 < R ? 63 & O : 64, L.push(g.charAt(k) + g.charAt(D) + g.charAt(N) + g.charAt(E));
|
|
25006
25009
|
return L.join("");
|
|
25007
25010
|
}, f.decode = function(y) {
|
|
25008
|
-
var S, b, O, k, D,
|
|
25011
|
+
var S, b, O, k, D, N, E = 0, L = 0, w = "data:";
|
|
25009
25012
|
if (y.substr(0, w.length) === w)
|
|
25010
25013
|
throw new Error("Invalid base64 input, it looks like a data url.");
|
|
25011
25014
|
var M, R = 3 * (y = y.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
|
|
25012
25015
|
if (y.charAt(y.length - 1) === g.charAt(64) && R--, y.charAt(y.length - 2) === g.charAt(64) && R--, R % 1 != 0)
|
|
25013
25016
|
throw new Error("Invalid base64 input, bad content length.");
|
|
25014
25017
|
for (M = m.uint8array ? new Uint8Array(0 | R) : new Array(0 | R); E < y.length; )
|
|
25015
|
-
S = g.indexOf(y.charAt(E++)) << 2 | (k = g.indexOf(y.charAt(E++))) >> 4, b = (15 & k) << 4 | (D = g.indexOf(y.charAt(E++))) >> 2, O = (3 & D) << 6 | (
|
|
25018
|
+
S = g.indexOf(y.charAt(E++)) << 2 | (k = g.indexOf(y.charAt(E++))) >> 4, b = (15 & k) << 4 | (D = g.indexOf(y.charAt(E++))) >> 2, O = (3 & D) << 6 | (N = g.indexOf(y.charAt(E++))), M[L++] = S, D !== 64 && (M[L++] = b), N !== 64 && (M[L++] = O);
|
|
25016
25019
|
return M;
|
|
25017
25020
|
};
|
|
25018
25021
|
}, { "./support": 30, "./utils": 32 }], 2: [function(o, c, f) {
|
|
25019
25022
|
var u = o("./external"), m = o("./stream/DataWorker"), g = o("./stream/Crc32Probe"), y = o("./stream/DataLengthProbe");
|
|
25020
|
-
function S(b, O, k, D,
|
|
25021
|
-
this.compressedSize = b, this.uncompressedSize = O, this.crc32 = k, this.compression = D, this.compressedContent =
|
|
25023
|
+
function S(b, O, k, D, N) {
|
|
25024
|
+
this.compressedSize = b, this.uncompressedSize = O, this.crc32 = k, this.compression = D, this.compressedContent = N;
|
|
25022
25025
|
}
|
|
25023
25026
|
S.prototype = { getContentWorker: function() {
|
|
25024
25027
|
var b = new m(u.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new y("data_length")), O = this;
|
|
@@ -25050,15 +25053,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25050
25053
|
}();
|
|
25051
25054
|
c.exports = function(g, y) {
|
|
25052
25055
|
return g !== void 0 && g.length ? u.getTypeOf(g) !== "string" ? function(S, b, O, k) {
|
|
25053
|
-
var D = m,
|
|
25056
|
+
var D = m, N = k + O;
|
|
25054
25057
|
S ^= -1;
|
|
25055
|
-
for (var E = k; E <
|
|
25058
|
+
for (var E = k; E < N; E++)
|
|
25056
25059
|
S = S >>> 8 ^ D[255 & (S ^ b[E])];
|
|
25057
25060
|
return -1 ^ S;
|
|
25058
25061
|
}(0 | y, g, g.length, 0) : function(S, b, O, k) {
|
|
25059
|
-
var D = m,
|
|
25062
|
+
var D = m, N = k + O;
|
|
25060
25063
|
S ^= -1;
|
|
25061
|
-
for (var E = k; E <
|
|
25064
|
+
for (var E = k; E < N; E++)
|
|
25062
25065
|
S = S >>> 8 ^ D[255 & (S ^ b.charCodeAt(E))];
|
|
25063
25066
|
return -1 ^ S;
|
|
25064
25067
|
}(0 | y, g, g.length, 0) : 0;
|
|
@@ -25091,17 +25094,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25091
25094
|
return new b("Inflate", {});
|
|
25092
25095
|
};
|
|
25093
25096
|
}, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(o, c, f) {
|
|
25094
|
-
function u(D,
|
|
25097
|
+
function u(D, N) {
|
|
25095
25098
|
var E, L = "";
|
|
25096
|
-
for (E = 0; E <
|
|
25099
|
+
for (E = 0; E < N; E++)
|
|
25097
25100
|
L += String.fromCharCode(255 & D), D >>>= 8;
|
|
25098
25101
|
return L;
|
|
25099
25102
|
}
|
|
25100
|
-
function m(D,
|
|
25103
|
+
function m(D, N, E, L, w, M) {
|
|
25101
25104
|
var R, C, U = D.file, F = D.compression, X = M !== S.utf8encode, K = g.transformTo("string", M(U.name)), Z = g.transformTo("string", S.utf8encode(U.name)), ct = U.comment, Rt = g.transformTo("string", M(ct)), tt = g.transformTo("string", S.utf8encode(ct)), _t = Z.length !== U.name.length, G = tt.length !== ct.length, Pt = "", Et = "", At = "", ce = U.dir, re = U.date, Ft = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
25102
|
-
|
|
25105
|
+
N && !E || (Ft.crc32 = D.crc32, Ft.compressedSize = D.compressedSize, Ft.uncompressedSize = D.uncompressedSize);
|
|
25103
25106
|
var It = 0;
|
|
25104
|
-
|
|
25107
|
+
N && (It |= 8), X || !_t && !G || (It |= 2048);
|
|
25105
25108
|
var Nt = 0, Pe = 0;
|
|
25106
25109
|
ce && (Nt |= 16), w === "UNIX" ? (Pe = 798, Nt |= function(Wt, $e) {
|
|
25107
25110
|
var Mi = Wt;
|
|
@@ -25114,24 +25117,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25114
25117
|
\0`, pe += u(It, 2), pe += F.magic, pe += u(R, 2), pe += u(C, 2), pe += u(Ft.crc32, 4), pe += u(Ft.compressedSize, 4), pe += u(Ft.uncompressedSize, 4), pe += u(K.length, 2), pe += u(Pt.length, 2), { fileRecord: O.LOCAL_FILE_HEADER + pe + K + Pt, dirRecord: O.CENTRAL_FILE_HEADER + u(Pe, 2) + pe + u(Rt.length, 2) + "\0\0\0\0" + u(Nt, 4) + u(L, 4) + K + Pt + Rt };
|
|
25115
25118
|
}
|
|
25116
25119
|
var g = o("../utils"), y = o("../stream/GenericWorker"), S = o("../utf8"), b = o("../crc32"), O = o("../signature");
|
|
25117
|
-
function k(D,
|
|
25118
|
-
y.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment =
|
|
25120
|
+
function k(D, N, E, L) {
|
|
25121
|
+
y.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = N, this.zipPlatform = E, this.encodeFileName = L, this.streamFiles = D, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
|
|
25119
25122
|
}
|
|
25120
25123
|
g.inherits(k, y), k.prototype.push = function(D) {
|
|
25121
|
-
var
|
|
25122
|
-
this.accumulate ? this.contentBuffer.push(D) : (this.bytesWritten += D.data.length, y.prototype.push.call(this, { data: D.data, meta: { currentFile: this.currentFile, percent: E ? (
|
|
25124
|
+
var N = D.meta.percent || 0, E = this.entriesCount, L = this._sources.length;
|
|
25125
|
+
this.accumulate ? this.contentBuffer.push(D) : (this.bytesWritten += D.data.length, y.prototype.push.call(this, { data: D.data, meta: { currentFile: this.currentFile, percent: E ? (N + 100 * (E - L - 1)) / E : 100 } }));
|
|
25123
25126
|
}, k.prototype.openedSource = function(D) {
|
|
25124
25127
|
this.currentSourceOffset = this.bytesWritten, this.currentFile = D.file.name;
|
|
25125
|
-
var
|
|
25126
|
-
if (
|
|
25127
|
-
var E = m(D,
|
|
25128
|
+
var N = this.streamFiles && !D.file.dir;
|
|
25129
|
+
if (N) {
|
|
25130
|
+
var E = m(D, N, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
|
|
25128
25131
|
this.push({ data: E.fileRecord, meta: { percent: 0 } });
|
|
25129
25132
|
} else
|
|
25130
25133
|
this.accumulate = !0;
|
|
25131
25134
|
}, k.prototype.closedSource = function(D) {
|
|
25132
25135
|
this.accumulate = !1;
|
|
25133
|
-
var
|
|
25134
|
-
if (this.dirRecords.push(E.dirRecord),
|
|
25136
|
+
var N = this.streamFiles && !D.file.dir, E = m(D, N, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
|
|
25137
|
+
if (this.dirRecords.push(E.dirRecord), N)
|
|
25135
25138
|
this.push({ data: function(L) {
|
|
25136
25139
|
return O.DATA_DESCRIPTOR + u(L.crc32, 4) + u(L.compressedSize, 4) + u(L.uncompressedSize, 4);
|
|
25137
25140
|
}(D), meta: { percent: 100 } });
|
|
@@ -25140,8 +25143,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25140
25143
|
this.push(this.contentBuffer.shift());
|
|
25141
25144
|
this.currentFile = null;
|
|
25142
25145
|
}, k.prototype.flush = function() {
|
|
25143
|
-
for (var D = this.bytesWritten,
|
|
25144
|
-
this.push({ data: this.dirRecords[
|
|
25146
|
+
for (var D = this.bytesWritten, N = 0; N < this.dirRecords.length; N++)
|
|
25147
|
+
this.push({ data: this.dirRecords[N], meta: { percent: 100 } });
|
|
25145
25148
|
var E = this.bytesWritten - D, L = function(w, M, R, C, U) {
|
|
25146
25149
|
var F = g.transformTo("string", U(C));
|
|
25147
25150
|
return O.CENTRAL_DIRECTORY_END + "\0\0\0\0" + u(w, 2) + u(w, 2) + u(M, 4) + u(R, 4) + u(F.length, 2) + F;
|
|
@@ -25151,30 +25154,30 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25151
25154
|
this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
|
|
25152
25155
|
}, k.prototype.registerPrevious = function(D) {
|
|
25153
25156
|
this._sources.push(D);
|
|
25154
|
-
var
|
|
25157
|
+
var N = this;
|
|
25155
25158
|
return D.on("data", function(E) {
|
|
25156
|
-
|
|
25159
|
+
N.processChunk(E);
|
|
25157
25160
|
}), D.on("end", function() {
|
|
25158
|
-
|
|
25161
|
+
N.closedSource(N.previous.streamInfo), N._sources.length ? N.prepareNextSource() : N.end();
|
|
25159
25162
|
}), D.on("error", function(E) {
|
|
25160
|
-
|
|
25163
|
+
N.error(E);
|
|
25161
25164
|
}), this;
|
|
25162
25165
|
}, k.prototype.resume = function() {
|
|
25163
25166
|
return !!y.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
|
|
25164
25167
|
}, k.prototype.error = function(D) {
|
|
25165
|
-
var
|
|
25168
|
+
var N = this._sources;
|
|
25166
25169
|
if (!y.prototype.error.call(this, D))
|
|
25167
25170
|
return !1;
|
|
25168
|
-
for (var E = 0; E <
|
|
25171
|
+
for (var E = 0; E < N.length; E++)
|
|
25169
25172
|
try {
|
|
25170
|
-
|
|
25173
|
+
N[E].error(D);
|
|
25171
25174
|
} catch {
|
|
25172
25175
|
}
|
|
25173
25176
|
return !0;
|
|
25174
25177
|
}, k.prototype.lock = function() {
|
|
25175
25178
|
y.prototype.lock.call(this);
|
|
25176
|
-
for (var D = this._sources,
|
|
25177
|
-
D[
|
|
25179
|
+
for (var D = this._sources, N = 0; N < D.length; N++)
|
|
25180
|
+
D[N].lock();
|
|
25178
25181
|
}, c.exports = k;
|
|
25179
25182
|
}, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(o, c, f) {
|
|
25180
25183
|
var u = o("../compressions"), m = o("./ZipFileWorker");
|
|
@@ -25183,13 +25186,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25183
25186
|
try {
|
|
25184
25187
|
g.forEach(function(k, D) {
|
|
25185
25188
|
O++;
|
|
25186
|
-
var
|
|
25189
|
+
var N = function(M, R) {
|
|
25187
25190
|
var C = M || R, U = u[C];
|
|
25188
25191
|
if (!U)
|
|
25189
25192
|
throw new Error(C + " is not a valid compression method !");
|
|
25190
25193
|
return U;
|
|
25191
25194
|
}(D.options.compression, y.compression), E = D.options.compressionOptions || y.compressionOptions || {}, L = D.dir, w = D.date;
|
|
25192
|
-
D._compressWorker(
|
|
25195
|
+
D._compressWorker(N, E).withStreamInfo("file", { name: k, dir: L, date: w, comment: D.comment || "", unixPermissions: D.unixPermissions, dosPermissions: D.dosPermissions }).pipe(b);
|
|
25193
25196
|
}), b.entriesCount = O;
|
|
25194
25197
|
} catch (k) {
|
|
25195
25198
|
b.error(k);
|
|
@@ -25215,17 +25218,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25215
25218
|
}, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(o, c, f) {
|
|
25216
25219
|
var u = o("./utils"), m = o("./external"), g = o("./utf8"), y = o("./zipEntries"), S = o("./stream/Crc32Probe"), b = o("./nodejsUtils");
|
|
25217
25220
|
function O(k) {
|
|
25218
|
-
return new m.Promise(function(D,
|
|
25221
|
+
return new m.Promise(function(D, N) {
|
|
25219
25222
|
var E = k.decompressed.getContentWorker().pipe(new S());
|
|
25220
25223
|
E.on("error", function(L) {
|
|
25221
|
-
|
|
25224
|
+
N(L);
|
|
25222
25225
|
}).on("end", function() {
|
|
25223
|
-
E.streamInfo.crc32 !== k.decompressed.crc32 ?
|
|
25226
|
+
E.streamInfo.crc32 !== k.decompressed.crc32 ? N(new Error("Corrupted zip : CRC32 mismatch")) : D();
|
|
25224
25227
|
}).resume();
|
|
25225
25228
|
});
|
|
25226
25229
|
}
|
|
25227
25230
|
c.exports = function(k, D) {
|
|
25228
|
-
var
|
|
25231
|
+
var N = this;
|
|
25229
25232
|
return D = u.extend(D || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: g.utf8decode }), b.isNode && b.isStream(k) ? m.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : u.prepareContent("the loaded zip file", k, !0, D.optimizedBinaryString, D.base64).then(function(E) {
|
|
25230
25233
|
var L = new y(D);
|
|
25231
25234
|
return L.load(E), L;
|
|
@@ -25238,9 +25241,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25238
25241
|
}).then(function(E) {
|
|
25239
25242
|
for (var L = E.shift(), w = L.files, M = 0; M < w.length; M++) {
|
|
25240
25243
|
var R = w[M], C = R.fileNameStr, U = u.resolve(R.fileNameStr);
|
|
25241
|
-
|
|
25244
|
+
N.file(U, R.decompressed, { binary: !0, optimizedBinaryString: !0, date: R.date, dir: R.dir, comment: R.fileCommentStr.length ? R.fileCommentStr : null, unixPermissions: R.unixPermissions, dosPermissions: R.dosPermissions, createFolders: D.createFolders }), R.dir || (N.file(U).unsafeOriginalName = C);
|
|
25242
25245
|
}
|
|
25243
|
-
return L.zipComment.length && (
|
|
25246
|
+
return L.zipComment.length && (N.comment = L.zipComment), N;
|
|
25244
25247
|
});
|
|
25245
25248
|
};
|
|
25246
25249
|
}, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(o, c, f) {
|
|
@@ -25302,11 +25305,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25302
25305
|
var Rt = Z === "string" && ct.binary === !1 && ct.base64 === !1;
|
|
25303
25306
|
X && X.binary !== void 0 || (ct.binary = !Rt), (F instanceof O && F.uncompressedSize === 0 || ct.dir || !F || F.length === 0) && (ct.base64 = !1, ct.binary = !0, F = "", ct.compression = "STORE", Z = "string");
|
|
25304
25307
|
var tt = null;
|
|
25305
|
-
tt = F instanceof O || F instanceof y ? F :
|
|
25308
|
+
tt = F instanceof O || F instanceof y ? F : N.isNode && N.isStream(F) ? new E(U, F) : g.prepareContent(U, F, ct.binary, ct.optimizedBinaryString, ct.base64);
|
|
25306
25309
|
var _t = new k(U, tt, ct);
|
|
25307
25310
|
this.files[U] = _t;
|
|
25308
25311
|
}
|
|
25309
|
-
var m = o("./utf8"), g = o("./utils"), y = o("./stream/GenericWorker"), S = o("./stream/StreamHelper"), b = o("./defaults"), O = o("./compressedObject"), k = o("./zipObject"), D = o("./generate"),
|
|
25312
|
+
var m = o("./utf8"), g = o("./utils"), y = o("./stream/GenericWorker"), S = o("./stream/StreamHelper"), b = o("./defaults"), O = o("./compressedObject"), k = o("./zipObject"), D = o("./generate"), N = o("./nodejsUtils"), E = o("./nodejs/NodejsStreamInputAdapter"), L = function(U) {
|
|
25310
25313
|
U.slice(-1) === "/" && (U = U.substring(0, U.length - 1));
|
|
25311
25314
|
var F = U.lastIndexOf("/");
|
|
25312
25315
|
return 0 < F ? U.substring(0, F) : "";
|
|
@@ -25613,10 +25616,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25613
25616
|
O = o("../nodejs/NodejsStreamOutputAdapter");
|
|
25614
25617
|
} catch {
|
|
25615
25618
|
}
|
|
25616
|
-
function k(
|
|
25619
|
+
function k(N, E) {
|
|
25617
25620
|
return new b.Promise(function(L, w) {
|
|
25618
|
-
var M = [], R =
|
|
25619
|
-
|
|
25621
|
+
var M = [], R = N._internalType, C = N._outputType, U = N._mimeType;
|
|
25622
|
+
N.on("data", function(F, X) {
|
|
25620
25623
|
M.push(F), E && E(X);
|
|
25621
25624
|
}).on("error", function(F) {
|
|
25622
25625
|
M = [], w(F);
|
|
@@ -25658,7 +25661,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25658
25661
|
}).resume();
|
|
25659
25662
|
});
|
|
25660
25663
|
}
|
|
25661
|
-
function D(
|
|
25664
|
+
function D(N, E, L) {
|
|
25662
25665
|
var w = E;
|
|
25663
25666
|
switch (E) {
|
|
25664
25667
|
case "blob":
|
|
@@ -25669,28 +25672,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25669
25672
|
w = "string";
|
|
25670
25673
|
}
|
|
25671
25674
|
try {
|
|
25672
|
-
this._internalType = w, this._outputType = E, this._mimeType = L, u.checkSupport(w), this._worker =
|
|
25675
|
+
this._internalType = w, this._outputType = E, this._mimeType = L, u.checkSupport(w), this._worker = N.pipe(new m(w)), N.lock();
|
|
25673
25676
|
} catch (M) {
|
|
25674
25677
|
this._worker = new g("error"), this._worker.error(M);
|
|
25675
25678
|
}
|
|
25676
25679
|
}
|
|
25677
|
-
D.prototype = { accumulate: function(
|
|
25678
|
-
return k(this,
|
|
25679
|
-
}, on: function(
|
|
25680
|
+
D.prototype = { accumulate: function(N) {
|
|
25681
|
+
return k(this, N);
|
|
25682
|
+
}, on: function(N, E) {
|
|
25680
25683
|
var L = this;
|
|
25681
|
-
return
|
|
25684
|
+
return N === "data" ? this._worker.on(N, function(w) {
|
|
25682
25685
|
E.call(L, w.data, w.meta);
|
|
25683
|
-
}) : this._worker.on(
|
|
25686
|
+
}) : this._worker.on(N, function() {
|
|
25684
25687
|
u.delay(E, arguments, L);
|
|
25685
25688
|
}), this;
|
|
25686
25689
|
}, resume: function() {
|
|
25687
25690
|
return u.delay(this._worker.resume, [], this._worker), this;
|
|
25688
25691
|
}, pause: function() {
|
|
25689
25692
|
return this._worker.pause(), this;
|
|
25690
|
-
}, toNodejsStream: function(
|
|
25693
|
+
}, toNodejsStream: function(N) {
|
|
25691
25694
|
if (u.checkSupport("nodestream"), this._outputType !== "nodebuffer")
|
|
25692
25695
|
throw new Error(this._outputType + " is not supported by this method");
|
|
25693
|
-
return new O(this, { objectMode: this._outputType !== "nodebuffer" },
|
|
25696
|
+
return new O(this, { objectMode: this._outputType !== "nodebuffer" }, N);
|
|
25694
25697
|
} }, c.exports = D;
|
|
25695
25698
|
}, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(o, c, f) {
|
|
25696
25699
|
if (f.base64 = !0, f.array = !0, f.string = !0, f.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", f.nodebuffer = typeof Buffer < "u", f.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u")
|
|
@@ -25724,37 +25727,37 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25724
25727
|
y.call(this, "utf-8 encode");
|
|
25725
25728
|
}
|
|
25726
25729
|
f.utf8encode = function(D) {
|
|
25727
|
-
return m.nodebuffer ? g.newBufferFrom(D, "utf-8") : function(
|
|
25728
|
-
var E, L, w, M, R, C =
|
|
25730
|
+
return m.nodebuffer ? g.newBufferFrom(D, "utf-8") : function(N) {
|
|
25731
|
+
var E, L, w, M, R, C = N.length, U = 0;
|
|
25729
25732
|
for (M = 0; M < C; M++)
|
|
25730
|
-
(64512 & (L =
|
|
25733
|
+
(64512 & (L = N.charCodeAt(M))) == 55296 && M + 1 < C && (64512 & (w = N.charCodeAt(M + 1))) == 56320 && (L = 65536 + (L - 55296 << 10) + (w - 56320), M++), U += L < 128 ? 1 : L < 2048 ? 2 : L < 65536 ? 3 : 4;
|
|
25731
25734
|
for (E = m.uint8array ? new Uint8Array(U) : new Array(U), M = R = 0; R < U; M++)
|
|
25732
|
-
(64512 & (L =
|
|
25735
|
+
(64512 & (L = N.charCodeAt(M))) == 55296 && M + 1 < C && (64512 & (w = N.charCodeAt(M + 1))) == 56320 && (L = 65536 + (L - 55296 << 10) + (w - 56320), M++), L < 128 ? E[R++] = L : (L < 2048 ? E[R++] = 192 | L >>> 6 : (L < 65536 ? E[R++] = 224 | L >>> 12 : (E[R++] = 240 | L >>> 18, E[R++] = 128 | L >>> 12 & 63), E[R++] = 128 | L >>> 6 & 63), E[R++] = 128 | 63 & L);
|
|
25733
25736
|
return E;
|
|
25734
25737
|
}(D);
|
|
25735
25738
|
}, f.utf8decode = function(D) {
|
|
25736
|
-
return m.nodebuffer ? u.transformTo("nodebuffer", D).toString("utf-8") : function(
|
|
25737
|
-
var E, L, w, M, R =
|
|
25739
|
+
return m.nodebuffer ? u.transformTo("nodebuffer", D).toString("utf-8") : function(N) {
|
|
25740
|
+
var E, L, w, M, R = N.length, C = new Array(2 * R);
|
|
25738
25741
|
for (E = L = 0; E < R; )
|
|
25739
|
-
if ((w =
|
|
25742
|
+
if ((w = N[E++]) < 128)
|
|
25740
25743
|
C[L++] = w;
|
|
25741
25744
|
else if (4 < (M = S[w]))
|
|
25742
25745
|
C[L++] = 65533, E += M - 1;
|
|
25743
25746
|
else {
|
|
25744
25747
|
for (w &= M === 2 ? 31 : M === 3 ? 15 : 7; 1 < M && E < R; )
|
|
25745
|
-
w = w << 6 | 63 &
|
|
25748
|
+
w = w << 6 | 63 & N[E++], M--;
|
|
25746
25749
|
1 < M ? C[L++] = 65533 : w < 65536 ? C[L++] = w : (w -= 65536, C[L++] = 55296 | w >> 10 & 1023, C[L++] = 56320 | 1023 & w);
|
|
25747
25750
|
}
|
|
25748
25751
|
return C.length !== L && (C.subarray ? C = C.subarray(0, L) : C.length = L), u.applyFromCharCode(C);
|
|
25749
25752
|
}(D = u.transformTo(m.uint8array ? "uint8array" : "array", D));
|
|
25750
25753
|
}, u.inherits(O, y), O.prototype.processChunk = function(D) {
|
|
25751
|
-
var
|
|
25754
|
+
var N = u.transformTo(m.uint8array ? "uint8array" : "array", D.data);
|
|
25752
25755
|
if (this.leftOver && this.leftOver.length) {
|
|
25753
25756
|
if (m.uint8array) {
|
|
25754
|
-
var E =
|
|
25755
|
-
(
|
|
25757
|
+
var E = N;
|
|
25758
|
+
(N = new Uint8Array(E.length + this.leftOver.length)).set(this.leftOver, 0), N.set(E, this.leftOver.length);
|
|
25756
25759
|
} else
|
|
25757
|
-
|
|
25760
|
+
N = this.leftOver.concat(N);
|
|
25758
25761
|
this.leftOver = null;
|
|
25759
25762
|
}
|
|
25760
25763
|
var L = function(M, R) {
|
|
@@ -25762,8 +25765,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25762
25765
|
for ((R = R || M.length) > M.length && (R = M.length), C = R - 1; 0 <= C && (192 & M[C]) == 128; )
|
|
25763
25766
|
C--;
|
|
25764
25767
|
return C < 0 || C === 0 ? R : C + S[M[C]] > R ? C : R;
|
|
25765
|
-
}(
|
|
25766
|
-
L !==
|
|
25768
|
+
}(N), w = N;
|
|
25769
|
+
L !== N.length && (m.uint8array ? (w = N.subarray(0, L), this.leftOver = N.subarray(L, N.length)) : (w = N.slice(0, L), this.leftOver = N.slice(L, N.length))), this.push({ data: f.utf8decode(w), meta: D.meta });
|
|
25767
25770
|
}, O.prototype.flush = function() {
|
|
25768
25771
|
this.leftOver && this.leftOver.length && (this.push({ data: f.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
|
|
25769
25772
|
}, f.Utf8DecodeWorker = O, u.inherits(k, y), k.prototype.processChunk = function(D) {
|
|
@@ -25833,22 +25836,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25833
25836
|
return L;
|
|
25834
25837
|
}
|
|
25835
25838
|
f.applyFromCharCode = k;
|
|
25836
|
-
var
|
|
25837
|
-
|
|
25839
|
+
var N = {};
|
|
25840
|
+
N.string = { string: S, array: function(E) {
|
|
25838
25841
|
return b(E, new Array(E.length));
|
|
25839
25842
|
}, arraybuffer: function(E) {
|
|
25840
|
-
return
|
|
25843
|
+
return N.string.uint8array(E).buffer;
|
|
25841
25844
|
}, uint8array: function(E) {
|
|
25842
25845
|
return b(E, new Uint8Array(E.length));
|
|
25843
25846
|
}, nodebuffer: function(E) {
|
|
25844
25847
|
return b(E, g.allocBuffer(E.length));
|
|
25845
|
-
} },
|
|
25848
|
+
} }, N.array = { string: k, array: S, arraybuffer: function(E) {
|
|
25846
25849
|
return new Uint8Array(E).buffer;
|
|
25847
25850
|
}, uint8array: function(E) {
|
|
25848
25851
|
return new Uint8Array(E);
|
|
25849
25852
|
}, nodebuffer: function(E) {
|
|
25850
25853
|
return g.newBufferFrom(E);
|
|
25851
|
-
} },
|
|
25854
|
+
} }, N.arraybuffer = { string: function(E) {
|
|
25852
25855
|
return k(new Uint8Array(E));
|
|
25853
25856
|
}, array: function(E) {
|
|
25854
25857
|
return D(new Uint8Array(E), new Array(E.byteLength));
|
|
@@ -25856,16 +25859,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25856
25859
|
return new Uint8Array(E);
|
|
25857
25860
|
}, nodebuffer: function(E) {
|
|
25858
25861
|
return g.newBufferFrom(new Uint8Array(E));
|
|
25859
|
-
} },
|
|
25862
|
+
} }, N.uint8array = { string: k, array: function(E) {
|
|
25860
25863
|
return D(E, new Array(E.length));
|
|
25861
25864
|
}, arraybuffer: function(E) {
|
|
25862
25865
|
return E.buffer;
|
|
25863
25866
|
}, uint8array: S, nodebuffer: function(E) {
|
|
25864
25867
|
return g.newBufferFrom(E);
|
|
25865
|
-
} },
|
|
25868
|
+
} }, N.nodebuffer = { string: k, array: function(E) {
|
|
25866
25869
|
return D(E, new Array(E.length));
|
|
25867
25870
|
}, arraybuffer: function(E) {
|
|
25868
|
-
return
|
|
25871
|
+
return N.nodebuffer.uint8array(E).buffer;
|
|
25869
25872
|
}, uint8array: function(E) {
|
|
25870
25873
|
return D(E, new Uint8Array(E.length));
|
|
25871
25874
|
}, nodebuffer: S }, f.transformTo = function(E, L) {
|
|
@@ -25873,7 +25876,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25873
25876
|
return L;
|
|
25874
25877
|
f.checkSupport(E);
|
|
25875
25878
|
var w = f.getTypeOf(L);
|
|
25876
|
-
return
|
|
25879
|
+
return N[w][E](L);
|
|
25877
25880
|
}, f.resolve = function(E) {
|
|
25878
25881
|
for (var L = E.split("/"), w = [], M = 0; M < L.length; M++) {
|
|
25879
25882
|
var R = L[M];
|
|
@@ -25935,15 +25938,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25935
25938
|
}, isSignature: function(O, k) {
|
|
25936
25939
|
var D = this.reader.index;
|
|
25937
25940
|
this.reader.setIndex(O);
|
|
25938
|
-
var
|
|
25939
|
-
return this.reader.setIndex(D),
|
|
25941
|
+
var N = this.reader.readString(4) === k;
|
|
25942
|
+
return this.reader.setIndex(D), N;
|
|
25940
25943
|
}, readBlockEndOfCentral: function() {
|
|
25941
25944
|
this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2);
|
|
25942
25945
|
var O = this.reader.readData(this.zipCommentLength), k = S.uint8array ? "uint8array" : "array", D = m.transformTo(k, O);
|
|
25943
25946
|
this.zipComment = this.loadOptions.decodeFileName(D);
|
|
25944
25947
|
}, readBlockZip64EndOfCentral: function() {
|
|
25945
25948
|
this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {};
|
|
25946
|
-
for (var O, k, D,
|
|
25949
|
+
for (var O, k, D, N = this.zip64EndOfCentralSize - 44; 0 < N; )
|
|
25947
25950
|
O = this.reader.readInt(2), k = this.reader.readInt(4), D = this.reader.readData(k), this.zip64ExtensibleData[O] = { id: O, length: k, value: D };
|
|
25948
25951
|
}, readBlockZip64EndOfCentralLocator: function() {
|
|
25949
25952
|
if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount)
|
|
@@ -25973,11 +25976,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25973
25976
|
}
|
|
25974
25977
|
var D = this.centralDirOffset + this.centralDirSize;
|
|
25975
25978
|
this.zip64 && (D += 20, D += 12 + this.zip64EndOfCentralSize);
|
|
25976
|
-
var
|
|
25977
|
-
if (0 <
|
|
25978
|
-
this.isSignature(k, g.CENTRAL_FILE_HEADER) || (this.reader.zero =
|
|
25979
|
-
else if (
|
|
25980
|
-
throw new Error("Corrupted zip: missing " + Math.abs(
|
|
25979
|
+
var N = k - D;
|
|
25980
|
+
if (0 < N)
|
|
25981
|
+
this.isSignature(k, g.CENTRAL_FILE_HEADER) || (this.reader.zero = N);
|
|
25982
|
+
else if (N < 0)
|
|
25983
|
+
throw new Error("Corrupted zip: missing " + Math.abs(N) + " bytes.");
|
|
25981
25984
|
}, prepareReader: function(O) {
|
|
25982
25985
|
this.reader = u(O);
|
|
25983
25986
|
}, load: function(O) {
|
|
@@ -25985,31 +25988,31 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25985
25988
|
} }, c.exports = b;
|
|
25986
25989
|
}, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(o, c, f) {
|
|
25987
25990
|
var u = o("./reader/readerFor"), m = o("./utils"), g = o("./compressedObject"), y = o("./crc32"), S = o("./utf8"), b = o("./compressions"), O = o("./support");
|
|
25988
|
-
function k(D,
|
|
25989
|
-
this.options = D, this.loadOptions =
|
|
25991
|
+
function k(D, N) {
|
|
25992
|
+
this.options = D, this.loadOptions = N;
|
|
25990
25993
|
}
|
|
25991
25994
|
k.prototype = { isEncrypted: function() {
|
|
25992
25995
|
return (1 & this.bitFlag) == 1;
|
|
25993
25996
|
}, useUTF8: function() {
|
|
25994
25997
|
return (2048 & this.bitFlag) == 2048;
|
|
25995
25998
|
}, readLocalPart: function(D) {
|
|
25996
|
-
var
|
|
25999
|
+
var N, E;
|
|
25997
26000
|
if (D.skip(22), this.fileNameLength = D.readInt(2), E = D.readInt(2), this.fileName = D.readData(this.fileNameLength), D.skip(E), this.compressedSize === -1 || this.uncompressedSize === -1)
|
|
25998
26001
|
throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
|
|
25999
|
-
if ((
|
|
26002
|
+
if ((N = function(L) {
|
|
26000
26003
|
for (var w in b)
|
|
26001
26004
|
if (Object.prototype.hasOwnProperty.call(b, w) && b[w].magic === L)
|
|
26002
26005
|
return b[w];
|
|
26003
26006
|
return null;
|
|
26004
26007
|
}(this.compressionMethod)) === null)
|
|
26005
26008
|
throw new Error("Corrupted zip : compression " + m.pretty(this.compressionMethod) + " unknown (inner file : " + m.transformTo("string", this.fileName) + ")");
|
|
26006
|
-
this.decompressed = new g(this.compressedSize, this.uncompressedSize, this.crc32,
|
|
26009
|
+
this.decompressed = new g(this.compressedSize, this.uncompressedSize, this.crc32, N, D.readData(this.compressedSize));
|
|
26007
26010
|
}, readCentralPart: function(D) {
|
|
26008
26011
|
this.versionMadeBy = D.readInt(2), D.skip(2), this.bitFlag = D.readInt(2), this.compressionMethod = D.readString(2), this.date = D.readDate(), this.crc32 = D.readInt(4), this.compressedSize = D.readInt(4), this.uncompressedSize = D.readInt(4);
|
|
26009
|
-
var
|
|
26012
|
+
var N = D.readInt(2);
|
|
26010
26013
|
if (this.extraFieldsLength = D.readInt(2), this.fileCommentLength = D.readInt(2), this.diskNumberStart = D.readInt(2), this.internalFileAttributes = D.readInt(2), this.externalFileAttributes = D.readInt(4), this.localHeaderOffset = D.readInt(4), this.isEncrypted())
|
|
26011
26014
|
throw new Error("Encrypted zip are not supported");
|
|
26012
|
-
D.skip(
|
|
26015
|
+
D.skip(N), this.readExtraFields(D), this.parseZIP64ExtraField(D), this.fileComment = D.readData(this.fileCommentLength);
|
|
26013
26016
|
}, processAttributes: function() {
|
|
26014
26017
|
this.unixPermissions = null, this.dosPermissions = null;
|
|
26015
26018
|
var D = this.versionMadeBy >> 8;
|
|
@@ -26020,18 +26023,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26020
26023
|
this.uncompressedSize === m.MAX_VALUE_32BITS && (this.uncompressedSize = D.readInt(8)), this.compressedSize === m.MAX_VALUE_32BITS && (this.compressedSize = D.readInt(8)), this.localHeaderOffset === m.MAX_VALUE_32BITS && (this.localHeaderOffset = D.readInt(8)), this.diskNumberStart === m.MAX_VALUE_32BITS && (this.diskNumberStart = D.readInt(4));
|
|
26021
26024
|
}
|
|
26022
26025
|
}, readExtraFields: function(D) {
|
|
26023
|
-
var
|
|
26026
|
+
var N, E, L, w = D.index + this.extraFieldsLength;
|
|
26024
26027
|
for (this.extraFields || (this.extraFields = {}); D.index + 4 < w; )
|
|
26025
|
-
|
|
26028
|
+
N = D.readInt(2), E = D.readInt(2), L = D.readData(E), this.extraFields[N] = { id: N, length: E, value: L };
|
|
26026
26029
|
D.setIndex(w);
|
|
26027
26030
|
}, handleUTF8: function() {
|
|
26028
26031
|
var D = O.uint8array ? "uint8array" : "array";
|
|
26029
26032
|
if (this.useUTF8())
|
|
26030
26033
|
this.fileNameStr = S.utf8decode(this.fileName), this.fileCommentStr = S.utf8decode(this.fileComment);
|
|
26031
26034
|
else {
|
|
26032
|
-
var
|
|
26033
|
-
if (
|
|
26034
|
-
this.fileNameStr =
|
|
26035
|
+
var N = this.findExtraFieldUnicodePath();
|
|
26036
|
+
if (N !== null)
|
|
26037
|
+
this.fileNameStr = N;
|
|
26035
26038
|
else {
|
|
26036
26039
|
var E = m.transformTo(D, this.fileName);
|
|
26037
26040
|
this.fileNameStr = this.loadOptions.decodeFileName(E);
|
|
@@ -26047,29 +26050,29 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26047
26050
|
}, findExtraFieldUnicodePath: function() {
|
|
26048
26051
|
var D = this.extraFields[28789];
|
|
26049
26052
|
if (D) {
|
|
26050
|
-
var
|
|
26051
|
-
return
|
|
26053
|
+
var N = u(D.value);
|
|
26054
|
+
return N.readInt(1) !== 1 || y(this.fileName) !== N.readInt(4) ? null : S.utf8decode(N.readData(D.length - 5));
|
|
26052
26055
|
}
|
|
26053
26056
|
return null;
|
|
26054
26057
|
}, findExtraFieldUnicodeComment: function() {
|
|
26055
26058
|
var D = this.extraFields[25461];
|
|
26056
26059
|
if (D) {
|
|
26057
|
-
var
|
|
26058
|
-
return
|
|
26060
|
+
var N = u(D.value);
|
|
26061
|
+
return N.readInt(1) !== 1 || y(this.fileComment) !== N.readInt(4) ? null : S.utf8decode(N.readData(D.length - 5));
|
|
26059
26062
|
}
|
|
26060
26063
|
return null;
|
|
26061
26064
|
} }, c.exports = k;
|
|
26062
26065
|
}, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(o, c, f) {
|
|
26063
|
-
function u(
|
|
26064
|
-
this.name =
|
|
26066
|
+
function u(N, E, L) {
|
|
26067
|
+
this.name = N, this.dir = L.dir, this.date = L.date, this.comment = L.comment, this.unixPermissions = L.unixPermissions, this.dosPermissions = L.dosPermissions, this._data = E, this._dataBinary = L.binary, this.options = { compression: L.compression, compressionOptions: L.compressionOptions };
|
|
26065
26068
|
}
|
|
26066
26069
|
var m = o("./stream/StreamHelper"), g = o("./stream/DataWorker"), y = o("./utf8"), S = o("./compressedObject"), b = o("./stream/GenericWorker");
|
|
26067
|
-
u.prototype = { internalStream: function(
|
|
26070
|
+
u.prototype = { internalStream: function(N) {
|
|
26068
26071
|
var E = null, L = "string";
|
|
26069
26072
|
try {
|
|
26070
|
-
if (!
|
|
26073
|
+
if (!N)
|
|
26071
26074
|
throw new Error("No output type specified.");
|
|
26072
|
-
var w = (L =
|
|
26075
|
+
var w = (L = N.toLowerCase()) === "string" || L === "text";
|
|
26073
26076
|
L !== "binarystring" && L !== "text" || (L = "string"), E = this._decompressWorker();
|
|
26074
26077
|
var M = !this._dataBinary;
|
|
26075
26078
|
M && !w && (E = E.pipe(new y.Utf8EncodeWorker())), !M && w && (E = E.pipe(new y.Utf8DecodeWorker()));
|
|
@@ -26077,15 +26080,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26077
26080
|
(E = new b("error")).error(R);
|
|
26078
26081
|
}
|
|
26079
26082
|
return new m(E, L, "");
|
|
26080
|
-
}, async: function(
|
|
26081
|
-
return this.internalStream(
|
|
26082
|
-
}, nodeStream: function(
|
|
26083
|
-
return this.internalStream(
|
|
26084
|
-
}, _compressWorker: function(
|
|
26085
|
-
if (this._data instanceof S && this._data.compression.magic ===
|
|
26083
|
+
}, async: function(N, E) {
|
|
26084
|
+
return this.internalStream(N).accumulate(E);
|
|
26085
|
+
}, nodeStream: function(N, E) {
|
|
26086
|
+
return this.internalStream(N || "nodebuffer").toNodejsStream(E);
|
|
26087
|
+
}, _compressWorker: function(N, E) {
|
|
26088
|
+
if (this._data instanceof S && this._data.compression.magic === N.magic)
|
|
26086
26089
|
return this._data.getCompressedWorker();
|
|
26087
26090
|
var L = this._decompressWorker();
|
|
26088
|
-
return this._dataBinary || (L = L.pipe(new y.Utf8EncodeWorker())), S.createWorkerFrom(L,
|
|
26091
|
+
return this._dataBinary || (L = L.pipe(new y.Utf8EncodeWorker())), S.createWorkerFrom(L, N, E);
|
|
26089
26092
|
}, _decompressWorker: function() {
|
|
26090
26093
|
return this._data instanceof S ? this._data.getContentWorker() : this._data instanceof b ? this._data : new g(this._data);
|
|
26091
26094
|
} };
|
|
@@ -26098,7 +26101,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26098
26101
|
(function(u) {
|
|
26099
26102
|
var m, g, y = u.MutationObserver || u.WebKitMutationObserver;
|
|
26100
26103
|
if (y) {
|
|
26101
|
-
var S = 0, b = new y(
|
|
26104
|
+
var S = 0, b = new y(N), O = u.document.createTextNode("");
|
|
26102
26105
|
b.observe(O, { characterData: !0 }), m = function() {
|
|
26103
26106
|
O.data = S = ++S % 2;
|
|
26104
26107
|
};
|
|
@@ -26106,19 +26109,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26106
26109
|
m = "document" in u && "onreadystatechange" in u.document.createElement("script") ? function() {
|
|
26107
26110
|
var E = u.document.createElement("script");
|
|
26108
26111
|
E.onreadystatechange = function() {
|
|
26109
|
-
|
|
26112
|
+
N(), E.onreadystatechange = null, E.parentNode.removeChild(E), E = null;
|
|
26110
26113
|
}, u.document.documentElement.appendChild(E);
|
|
26111
26114
|
} : function() {
|
|
26112
|
-
setTimeout(
|
|
26115
|
+
setTimeout(N, 0);
|
|
26113
26116
|
};
|
|
26114
26117
|
else {
|
|
26115
26118
|
var k = new u.MessageChannel();
|
|
26116
|
-
k.port1.onmessage =
|
|
26119
|
+
k.port1.onmessage = N, m = function() {
|
|
26117
26120
|
k.port2.postMessage(0);
|
|
26118
26121
|
};
|
|
26119
26122
|
}
|
|
26120
26123
|
var D = [];
|
|
26121
|
-
function
|
|
26124
|
+
function N() {
|
|
26122
26125
|
var E, L;
|
|
26123
26126
|
g = !0;
|
|
26124
26127
|
for (var w = D.length; w; ) {
|
|
@@ -26156,7 +26159,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26156
26159
|
C === w ? g.reject(w, new TypeError("Cannot resolve promise with itself")) : g.resolve(w, C);
|
|
26157
26160
|
});
|
|
26158
26161
|
}
|
|
26159
|
-
function
|
|
26162
|
+
function N(w) {
|
|
26160
26163
|
var M = w && w.then;
|
|
26161
26164
|
if (w && (typeof w == "object" || typeof w == "function") && typeof M == "function")
|
|
26162
26165
|
return function() {
|
|
@@ -26214,7 +26217,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26214
26217
|
}, k.prototype.otherCallRejected = function(w) {
|
|
26215
26218
|
D(this.promise, this.onRejected, w);
|
|
26216
26219
|
}, g.resolve = function(w, M) {
|
|
26217
|
-
var R = L(
|
|
26220
|
+
var R = L(N, M);
|
|
26218
26221
|
if (R.status === "error")
|
|
26219
26222
|
return g.reject(w, R.value);
|
|
26220
26223
|
var C = R.value;
|
|
@@ -26273,11 +26276,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26273
26276
|
var u = {};
|
|
26274
26277
|
(0, o("./lib/utils/common").assign)(u, o("./lib/deflate"), o("./lib/inflate"), o("./lib/zlib/constants")), c.exports = u;
|
|
26275
26278
|
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(o, c, f) {
|
|
26276
|
-
var u = o("./zlib/deflate"), m = o("./utils/common"), g = o("./utils/strings"), y = o("./zlib/messages"), S = o("./zlib/zstream"), b = Object.prototype.toString, O = 0, k = -1, D = 0,
|
|
26279
|
+
var u = o("./zlib/deflate"), m = o("./utils/common"), g = o("./utils/strings"), y = o("./zlib/messages"), S = o("./zlib/zstream"), b = Object.prototype.toString, O = 0, k = -1, D = 0, N = 8;
|
|
26277
26280
|
function E(w) {
|
|
26278
26281
|
if (!(this instanceof E))
|
|
26279
26282
|
return new E(w);
|
|
26280
|
-
this.options = m.assign({ level: k, method:
|
|
26283
|
+
this.options = m.assign({ level: k, method: N, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: D, to: "" }, w || {});
|
|
26281
26284
|
var M = this.options;
|
|
26282
26285
|
M.raw && 0 < M.windowBits ? M.windowBits = -M.windowBits : M.gzip && 0 < M.windowBits && M.windowBits < 16 && (M.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new S(), this.strm.avail_out = 0;
|
|
26283
26286
|
var R = u.deflateInit2(this.strm, M.level, M.method, M.windowBits, M.memLevel, M.strategy);
|
|
@@ -26329,7 +26332,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26329
26332
|
throw new Error(S[w]);
|
|
26330
26333
|
this.header = new O(), u.inflateGetHeader(this.strm, this.header);
|
|
26331
26334
|
}
|
|
26332
|
-
function
|
|
26335
|
+
function N(E, L) {
|
|
26333
26336
|
var w = new D(L);
|
|
26334
26337
|
if (w.push(E, !0), w.err)
|
|
26335
26338
|
throw w.msg || S[w.err];
|
|
@@ -26350,9 +26353,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26350
26353
|
this.chunks.push(E);
|
|
26351
26354
|
}, D.prototype.onEnd = function(E) {
|
|
26352
26355
|
E === y.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = m.flattenChunks(this.chunks)), this.chunks = [], this.err = E, this.msg = this.strm.msg;
|
|
26353
|
-
}, f.Inflate = D, f.inflate =
|
|
26354
|
-
return (L = L || {}).raw = !0,
|
|
26355
|
-
}, f.ungzip =
|
|
26356
|
+
}, f.Inflate = D, f.inflate = N, f.inflateRaw = function(E, L) {
|
|
26357
|
+
return (L = L || {}).raw = !0, N(E, L);
|
|
26358
|
+
}, f.ungzip = N;
|
|
26356
26359
|
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(o, c, f) {
|
|
26357
26360
|
var u = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
|
|
26358
26361
|
f.assign = function(y) {
|
|
@@ -26376,12 +26379,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26376
26379
|
for (var D = 0; D < O; D++)
|
|
26377
26380
|
y[k + D] = S[b + D];
|
|
26378
26381
|
}, flattenChunks: function(y) {
|
|
26379
|
-
var S, b, O, k, D,
|
|
26382
|
+
var S, b, O, k, D, N;
|
|
26380
26383
|
for (S = O = 0, b = y.length; S < b; S++)
|
|
26381
26384
|
O += y[S].length;
|
|
26382
|
-
for (
|
|
26383
|
-
D = y[S],
|
|
26384
|
-
return
|
|
26385
|
+
for (N = new Uint8Array(O), S = k = 0, b = y.length; S < b; S++)
|
|
26386
|
+
D = y[S], N.set(D, k), k += D.length;
|
|
26387
|
+
return N;
|
|
26385
26388
|
} }, g = { arraySet: function(y, S, b, O, k) {
|
|
26386
26389
|
for (var D = 0; D < O; D++)
|
|
26387
26390
|
y[k + D] = S[b + D];
|
|
@@ -26408,36 +26411,36 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26408
26411
|
function b(O, k) {
|
|
26409
26412
|
if (k < 65537 && (O.subarray && g || !O.subarray && m))
|
|
26410
26413
|
return String.fromCharCode.apply(null, u.shrinkBuf(O, k));
|
|
26411
|
-
for (var D = "",
|
|
26412
|
-
D += String.fromCharCode(O[
|
|
26414
|
+
for (var D = "", N = 0; N < k; N++)
|
|
26415
|
+
D += String.fromCharCode(O[N]);
|
|
26413
26416
|
return D;
|
|
26414
26417
|
}
|
|
26415
26418
|
y[254] = y[254] = 1, f.string2buf = function(O) {
|
|
26416
|
-
var k, D,
|
|
26419
|
+
var k, D, N, E, L, w = O.length, M = 0;
|
|
26417
26420
|
for (E = 0; E < w; E++)
|
|
26418
|
-
(64512 & (D = O.charCodeAt(E))) == 55296 && E + 1 < w && (64512 & (
|
|
26421
|
+
(64512 & (D = O.charCodeAt(E))) == 55296 && E + 1 < w && (64512 & (N = O.charCodeAt(E + 1))) == 56320 && (D = 65536 + (D - 55296 << 10) + (N - 56320), E++), M += D < 128 ? 1 : D < 2048 ? 2 : D < 65536 ? 3 : 4;
|
|
26419
26422
|
for (k = new u.Buf8(M), E = L = 0; L < M; E++)
|
|
26420
|
-
(64512 & (D = O.charCodeAt(E))) == 55296 && E + 1 < w && (64512 & (
|
|
26423
|
+
(64512 & (D = O.charCodeAt(E))) == 55296 && E + 1 < w && (64512 & (N = O.charCodeAt(E + 1))) == 56320 && (D = 65536 + (D - 55296 << 10) + (N - 56320), E++), D < 128 ? k[L++] = D : (D < 2048 ? k[L++] = 192 | D >>> 6 : (D < 65536 ? k[L++] = 224 | D >>> 12 : (k[L++] = 240 | D >>> 18, k[L++] = 128 | D >>> 12 & 63), k[L++] = 128 | D >>> 6 & 63), k[L++] = 128 | 63 & D);
|
|
26421
26424
|
return k;
|
|
26422
26425
|
}, f.buf2binstring = function(O) {
|
|
26423
26426
|
return b(O, O.length);
|
|
26424
26427
|
}, f.binstring2buf = function(O) {
|
|
26425
|
-
for (var k = new u.Buf8(O.length), D = 0,
|
|
26428
|
+
for (var k = new u.Buf8(O.length), D = 0, N = k.length; D < N; D++)
|
|
26426
26429
|
k[D] = O.charCodeAt(D);
|
|
26427
26430
|
return k;
|
|
26428
26431
|
}, f.buf2string = function(O, k) {
|
|
26429
|
-
var D,
|
|
26430
|
-
for (D =
|
|
26432
|
+
var D, N, E, L, w = k || O.length, M = new Array(2 * w);
|
|
26433
|
+
for (D = N = 0; D < w; )
|
|
26431
26434
|
if ((E = O[D++]) < 128)
|
|
26432
|
-
M[
|
|
26435
|
+
M[N++] = E;
|
|
26433
26436
|
else if (4 < (L = y[E]))
|
|
26434
|
-
M[
|
|
26437
|
+
M[N++] = 65533, D += L - 1;
|
|
26435
26438
|
else {
|
|
26436
26439
|
for (E &= L === 2 ? 31 : L === 3 ? 15 : 7; 1 < L && D < w; )
|
|
26437
26440
|
E = E << 6 | 63 & O[D++], L--;
|
|
26438
|
-
1 < L ? M[
|
|
26441
|
+
1 < L ? M[N++] = 65533 : E < 65536 ? M[N++] = E : (E -= 65536, M[N++] = 55296 | E >> 10 & 1023, M[N++] = 56320 | 1023 & E);
|
|
26439
26442
|
}
|
|
26440
|
-
return b(M,
|
|
26443
|
+
return b(M, N);
|
|
26441
26444
|
}, f.utf8border = function(O, k) {
|
|
26442
26445
|
var D;
|
|
26443
26446
|
for ((k = k || O.length) > O.length && (k = O.length), D = k - 1; 0 <= D && (192 & O[D]) == 128; )
|
|
@@ -26473,7 +26476,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26473
26476
|
return -1 ^ m;
|
|
26474
26477
|
};
|
|
26475
26478
|
}, {}], 46: [function(o, c, f) {
|
|
26476
|
-
var u, m = o("../utils/common"), g = o("./trees"), y = o("./adler32"), S = o("./crc32"), b = o("./messages"), O = 0, k = 4, D = 0,
|
|
26479
|
+
var u, m = o("../utils/common"), g = o("./trees"), y = o("./adler32"), S = o("./crc32"), b = o("./messages"), O = 0, k = 4, D = 0, N = -2, E = -1, L = 4, w = 2, M = 8, R = 9, C = 286, U = 30, F = 19, X = 2 * C + 1, K = 15, Z = 3, ct = 258, Rt = ct + Z + 1, tt = 42, _t = 113, G = 1, Pt = 2, Et = 3, At = 4;
|
|
26477
26480
|
function ce(W, Jt) {
|
|
26478
26481
|
return W.msg = b[Jt], Jt;
|
|
26479
26482
|
}
|
|
@@ -26583,7 +26586,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26583
26586
|
}
|
|
26584
26587
|
function Ri(W) {
|
|
26585
26588
|
var Jt;
|
|
26586
|
-
return W && W.state ? (W.total_in = W.total_out = 0, W.data_type = w, (Jt = W.state).pending = 0, Jt.pending_out = 0, Jt.wrap < 0 && (Jt.wrap = -Jt.wrap), Jt.status = Jt.wrap ? tt : _t, W.adler = Jt.wrap === 2 ? 0 : 1, Jt.last_flush = O, g._tr_init(Jt), D) : ce(W,
|
|
26589
|
+
return W && W.state ? (W.total_in = W.total_out = 0, W.data_type = w, (Jt = W.state).pending = 0, Jt.pending_out = 0, Jt.wrap < 0 && (Jt.wrap = -Jt.wrap), Jt.status = Jt.wrap ? tt : _t, W.adler = Jt.wrap === 2 ? 0 : 1, Jt.last_flush = O, g._tr_init(Jt), D) : ce(W, N);
|
|
26587
26590
|
}
|
|
26588
26591
|
function cn(W) {
|
|
26589
26592
|
var Jt = Ri(W);
|
|
@@ -26593,10 +26596,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26593
26596
|
}
|
|
26594
26597
|
function Ji(W, Jt, jt, dt, pt, Dt) {
|
|
26595
26598
|
if (!W)
|
|
26596
|
-
return
|
|
26599
|
+
return N;
|
|
26597
26600
|
var ie = 1;
|
|
26598
26601
|
if (Jt === E && (Jt = 6), dt < 0 ? (ie = 0, dt = -dt) : 15 < dt && (ie = 2, dt -= 16), pt < 1 || R < pt || jt !== M || dt < 8 || 15 < dt || Jt < 0 || 9 < Jt || Dt < 0 || L < Dt)
|
|
26599
|
-
return ce(W,
|
|
26602
|
+
return ce(W, N);
|
|
26600
26603
|
dt === 8 && (dt = 9);
|
|
26601
26604
|
var Kt = new di();
|
|
26602
26605
|
return (W.state = Kt).strm = W, Kt.wrap = ie, Kt.gzhead = null, Kt.w_bits = dt, Kt.w_size = 1 << Kt.w_bits, Kt.w_mask = Kt.w_size - 1, Kt.hash_bits = pt + 7, Kt.hash_size = 1 << Kt.hash_bits, Kt.hash_mask = Kt.hash_size - 1, Kt.hash_shift = ~~((Kt.hash_bits + Z - 1) / Z), Kt.window = new m.Buf8(2 * Kt.w_size), Kt.head = new m.Buf16(Kt.hash_size), Kt.prev = new m.Buf16(Kt.w_size), Kt.lit_bufsize = 1 << pt + 6, Kt.pending_buf_size = 4 * Kt.lit_bufsize, Kt.pending_buf = new m.Buf8(Kt.pending_buf_size), Kt.d_buf = 1 * Kt.lit_bufsize, Kt.l_buf = 3 * Kt.lit_bufsize, Kt.level = Jt, Kt.strategy = Dt, Kt.method = jt, cn(W);
|
|
@@ -26619,13 +26622,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26619
26622
|
}), new Ge(4, 4, 8, 4, Mi), new Ge(4, 5, 16, 8, Mi), new Ge(4, 6, 32, 32, Mi), new Ge(4, 4, 16, 16, Oe), new Ge(8, 16, 32, 32, Oe), new Ge(8, 16, 128, 128, Oe), new Ge(8, 32, 128, 256, Oe), new Ge(32, 128, 258, 1024, Oe), new Ge(32, 258, 258, 4096, Oe)], f.deflateInit = function(W, Jt) {
|
|
26620
26623
|
return Ji(W, Jt, M, 15, 8, 0);
|
|
26621
26624
|
}, f.deflateInit2 = Ji, f.deflateReset = cn, f.deflateResetKeep = Ri, f.deflateSetHeader = function(W, Jt) {
|
|
26622
|
-
return W && W.state ? W.state.wrap !== 2 ?
|
|
26625
|
+
return W && W.state ? W.state.wrap !== 2 ? N : (W.state.gzhead = Jt, D) : N;
|
|
26623
26626
|
}, f.deflate = function(W, Jt) {
|
|
26624
26627
|
var jt, dt, pt, Dt;
|
|
26625
26628
|
if (!W || !W.state || 5 < Jt || Jt < 0)
|
|
26626
|
-
return W ? ce(W,
|
|
26629
|
+
return W ? ce(W, N) : N;
|
|
26627
26630
|
if (dt = W.state, !W.output || !W.input && W.avail_in !== 0 || dt.status === 666 && Jt !== k)
|
|
26628
|
-
return ce(W, W.avail_out === 0 ? -5 :
|
|
26631
|
+
return ce(W, W.avail_out === 0 ? -5 : N);
|
|
26629
26632
|
if (dt.strm = W, jt = dt.last_flush, dt.last_flush = Jt, dt.status === tt)
|
|
26630
26633
|
if (dt.wrap === 2)
|
|
26631
26634
|
W.adler = 0, Pe(dt, 31), Pe(dt, 139), Pe(dt, 8), dt.gzhead ? (Pe(dt, (dt.gzhead.text ? 1 : 0) + (dt.gzhead.hcrc ? 2 : 0) + (dt.gzhead.extra ? 4 : 0) + (dt.gzhead.name ? 8 : 0) + (dt.gzhead.comment ? 16 : 0)), Pe(dt, 255 & dt.gzhead.time), Pe(dt, dt.gzhead.time >> 8 & 255), Pe(dt, dt.gzhead.time >> 16 & 255), Pe(dt, dt.gzhead.time >> 24 & 255), Pe(dt, dt.level === 9 ? 2 : 2 <= dt.strategy || dt.level < 2 ? 4 : 0), Pe(dt, 255 & dt.gzhead.os), dt.gzhead.extra && dt.gzhead.extra.length && (Pe(dt, 255 & dt.gzhead.extra.length), Pe(dt, dt.gzhead.extra.length >> 8 & 255)), dt.gzhead.hcrc && (W.adler = S(W.adler, dt.pending_buf, dt.pending, 0)), dt.gzindex = 0, dt.status = 69) : (Pe(dt, 0), Pe(dt, 0), Pe(dt, 0), Pe(dt, 0), Pe(dt, 0), Pe(dt, dt.level === 9 ? 2 : 2 <= dt.strategy || dt.level < 2 ? 4 : 0), Pe(dt, 3), dt.status = _t);
|
|
@@ -26713,11 +26716,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26713
26716
|
return Jt !== k ? D : dt.wrap <= 0 ? 1 : (dt.wrap === 2 ? (Pe(dt, 255 & W.adler), Pe(dt, W.adler >> 8 & 255), Pe(dt, W.adler >> 16 & 255), Pe(dt, W.adler >> 24 & 255), Pe(dt, 255 & W.total_in), Pe(dt, W.total_in >> 8 & 255), Pe(dt, W.total_in >> 16 & 255), Pe(dt, W.total_in >> 24 & 255)) : (pe(dt, W.adler >>> 16), pe(dt, 65535 & W.adler)), It(W), 0 < dt.wrap && (dt.wrap = -dt.wrap), dt.pending !== 0 ? D : 1);
|
|
26714
26717
|
}, f.deflateEnd = function(W) {
|
|
26715
26718
|
var Jt;
|
|
26716
|
-
return W && W.state ? (Jt = W.state.status) !== tt && Jt !== 69 && Jt !== 73 && Jt !== 91 && Jt !== 103 && Jt !== _t && Jt !== 666 ? ce(W,
|
|
26719
|
+
return W && W.state ? (Jt = W.state.status) !== tt && Jt !== 69 && Jt !== 73 && Jt !== 91 && Jt !== 103 && Jt !== _t && Jt !== 666 ? ce(W, N) : (W.state = null, Jt === _t ? ce(W, -3) : D) : N;
|
|
26717
26720
|
}, f.deflateSetDictionary = function(W, Jt) {
|
|
26718
26721
|
var jt, dt, pt, Dt, ie, Kt, z, Q, st = Jt.length;
|
|
26719
26722
|
if (!W || !W.state || (Dt = (jt = W.state).wrap) === 2 || Dt === 1 && jt.status !== tt || jt.lookahead)
|
|
26720
|
-
return
|
|
26723
|
+
return N;
|
|
26721
26724
|
for (Dt === 1 && (W.adler = y(W.adler, Jt, st, 0)), jt.wrap = 0, st >= jt.w_size && (Dt === 0 && (Ft(jt.head), jt.strstart = 0, jt.block_start = 0, jt.insert = 0), Q = new m.Buf8(jt.w_size), m.arraySet(Q, Jt, st - jt.w_size, jt.w_size, 0), Jt = Q, st = jt.w_size), ie = W.avail_in, Kt = W.next_in, z = W.input, W.avail_in = st, W.next_in = 0, W.input = Jt, $e(jt); jt.lookahead >= Z; ) {
|
|
26722
26725
|
for (dt = jt.strstart, pt = jt.lookahead - (Z - 1); jt.ins_h = (jt.ins_h << jt.hash_shift ^ jt.window[dt + Z - 1]) & jt.hash_mask, jt.prev[dt & jt.w_mask] = jt.head[jt.ins_h], jt.head[jt.ins_h] = dt, dt++, --pt; )
|
|
26723
26726
|
;
|
|
@@ -26731,8 +26734,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26731
26734
|
};
|
|
26732
26735
|
}, {}], 48: [function(o, c, f) {
|
|
26733
26736
|
c.exports = function(u, m) {
|
|
26734
|
-
var g, y, S, b, O, k, D,
|
|
26735
|
-
g = u.state, y = u.next_in, G = u.input, S = y + (u.avail_in - 5), b = u.next_out, Pt = u.output, O = b - (m - u.avail_out), k = b + (u.avail_out - 257), D = g.dmax,
|
|
26737
|
+
var g, y, S, b, O, k, D, N, E, L, w, M, R, C, U, F, X, K, Z, ct, Rt, tt, _t, G, Pt;
|
|
26738
|
+
g = u.state, y = u.next_in, G = u.input, S = y + (u.avail_in - 5), b = u.next_out, Pt = u.output, O = b - (m - u.avail_out), k = b + (u.avail_out - 257), D = g.dmax, N = g.wsize, E = g.whave, L = g.wnext, w = g.window, M = g.hold, R = g.bits, C = g.lencode, U = g.distcode, F = (1 << g.lenbits) - 1, X = (1 << g.distbits) - 1;
|
|
26736
26739
|
t:
|
|
26737
26740
|
do {
|
|
26738
26741
|
R < 15 && (M += G[y++] << R, R += 8, M += G[y++] << R, R += 8), K = C[M & F];
|
|
@@ -26774,13 +26777,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26774
26777
|
break t;
|
|
26775
26778
|
}
|
|
26776
26779
|
if (_t = w, (tt = 0) === L) {
|
|
26777
|
-
if (tt +=
|
|
26780
|
+
if (tt += N - Z, Z < ct) {
|
|
26778
26781
|
for (ct -= Z; Pt[b++] = w[tt++], --Z; )
|
|
26779
26782
|
;
|
|
26780
26783
|
tt = b - Rt, _t = Pt;
|
|
26781
26784
|
}
|
|
26782
26785
|
} else if (L < Z) {
|
|
26783
|
-
if (tt +=
|
|
26786
|
+
if (tt += N + L - Z, (Z -= L) < ct) {
|
|
26784
26787
|
for (ct -= Z; Pt[b++] = w[tt++], --Z; )
|
|
26785
26788
|
;
|
|
26786
26789
|
if (tt = 0, L < ct) {
|
|
@@ -26811,7 +26814,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26811
26814
|
y -= ct = R >> 3, M &= (1 << (R -= ct << 3)) - 1, u.next_in = y, u.next_out = b, u.avail_in = y < S ? S - y + 5 : 5 - (y - S), u.avail_out = b < k ? k - b + 257 : 257 - (b - k), g.hold = M, g.bits = R;
|
|
26812
26815
|
};
|
|
26813
26816
|
}, {}], 49: [function(o, c, f) {
|
|
26814
|
-
var u = o("../utils/common"), m = o("./adler32"), g = o("./crc32"), y = o("./inffast"), S = o("./inftrees"), b = 1, O = 2, k = 0, D = -2,
|
|
26817
|
+
var u = o("../utils/common"), m = o("./adler32"), g = o("./crc32"), y = o("./inffast"), S = o("./inftrees"), b = 1, O = 2, k = 0, D = -2, N = 1, E = 852, L = 592;
|
|
26815
26818
|
function w(tt) {
|
|
26816
26819
|
return (tt >>> 24 & 255) + (tt >>> 8 & 65280) + ((65280 & tt) << 8) + ((255 & tt) << 24);
|
|
26817
26820
|
}
|
|
@@ -26820,7 +26823,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26820
26823
|
}
|
|
26821
26824
|
function R(tt) {
|
|
26822
26825
|
var _t;
|
|
26823
|
-
return tt && tt.state ? (_t = tt.state, tt.total_in = tt.total_out = _t.total = 0, tt.msg = "", _t.wrap && (tt.adler = 1 & _t.wrap), _t.mode =
|
|
26826
|
+
return tt && tt.state ? (_t = tt.state, tt.total_in = tt.total_out = _t.total = 0, tt.msg = "", _t.wrap && (tt.adler = 1 & _t.wrap), _t.mode = N, _t.last = 0, _t.havedict = 0, _t.dmax = 32768, _t.head = null, _t.hold = 0, _t.bits = 0, _t.lencode = _t.lendyn = new u.Buf32(E), _t.distcode = _t.distdyn = new u.Buf32(L), _t.sane = 1, _t.back = -1, k) : D;
|
|
26824
26827
|
}
|
|
26825
26828
|
function C(tt) {
|
|
26826
26829
|
var _t;
|
|
@@ -26866,7 +26869,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
26866
26869
|
t:
|
|
26867
26870
|
for (; ; )
|
|
26868
26871
|
switch (G.mode) {
|
|
26869
|
-
case
|
|
26872
|
+
case N:
|
|
26870
26873
|
if (G.wrap === 0) {
|
|
26871
26874
|
G.mode = 13;
|
|
26872
26875
|
break;
|
|
@@ -27279,7 +27282,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27279
27282
|
}, f.inflateInfo = "pako inflate (from Nodeca project)";
|
|
27280
27283
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(o, c, f) {
|
|
27281
27284
|
var u = o("../utils/common"), m = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], g = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], y = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], S = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
27282
|
-
c.exports = function(b, O, k, D,
|
|
27285
|
+
c.exports = function(b, O, k, D, N, E, L, w) {
|
|
27283
27286
|
var M, R, C, U, F, X, K, Z, ct, Rt = w.bits, tt = 0, _t = 0, G = 0, Pt = 0, Et = 0, At = 0, ce = 0, re = 0, Ft = 0, It = 0, Nt = null, Pe = 0, pe = new u.Buf16(16), Wt = new u.Buf16(16), $e = null, Mi = 0;
|
|
27284
27287
|
for (tt = 0; tt <= 15; tt++)
|
|
27285
27288
|
pe[tt] = 0;
|
|
@@ -27288,7 +27291,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27288
27291
|
for (Et = Rt, Pt = 15; 1 <= Pt && pe[Pt] === 0; Pt--)
|
|
27289
27292
|
;
|
|
27290
27293
|
if (Pt < Et && (Et = Pt), Pt === 0)
|
|
27291
|
-
return
|
|
27294
|
+
return N[E++] = 20971520, N[E++] = 20971520, w.bits = 1, 0;
|
|
27292
27295
|
for (G = 1; G < Pt && pe[G] === 0; G++)
|
|
27293
27296
|
;
|
|
27294
27297
|
for (Et < G && (Et = G), tt = re = 1; tt <= 15; tt++)
|
|
@@ -27303,7 +27306,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27303
27306
|
if (X = b === 0 ? (Nt = $e = L, 19) : b === 1 ? (Nt = m, Pe -= 257, $e = g, Mi -= 257, 256) : (Nt = y, $e = S, -1), tt = G, F = E, ce = _t = It = 0, C = -1, U = (Ft = 1 << (At = Et)) - 1, b === 1 && 852 < Ft || b === 2 && 592 < Ft)
|
|
27304
27307
|
return 1;
|
|
27305
27308
|
for (; ; ) {
|
|
27306
|
-
for (K = tt - ce, ct = L[_t] < X ? (Z = 0, L[_t]) : L[_t] > X ? (Z = $e[Mi + L[_t]], Nt[Pe + L[_t]]) : (Z = 96, 0), M = 1 << tt - ce, G = R = 1 << At;
|
|
27309
|
+
for (K = tt - ce, ct = L[_t] < X ? (Z = 0, L[_t]) : L[_t] > X ? (Z = $e[Mi + L[_t]], Nt[Pe + L[_t]]) : (Z = 96, 0), M = 1 << tt - ce, G = R = 1 << At; N[F + (It >> ce) + (R -= M)] = K << 24 | Z << 16 | ct | 0, R !== 0; )
|
|
27307
27310
|
;
|
|
27308
27311
|
for (M = 1 << tt - 1; It & M; )
|
|
27309
27312
|
M >>= 1;
|
|
@@ -27317,10 +27320,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27317
27320
|
At++, re <<= 1;
|
|
27318
27321
|
if (Ft += 1 << At, b === 1 && 852 < Ft || b === 2 && 592 < Ft)
|
|
27319
27322
|
return 1;
|
|
27320
|
-
|
|
27323
|
+
N[C = It & U] = Et << 24 | At << 16 | F - E | 0;
|
|
27321
27324
|
}
|
|
27322
27325
|
}
|
|
27323
|
-
return It !== 0 && (
|
|
27326
|
+
return It !== 0 && (N[F + It] = tt - ce << 24 | 64 << 16 | 0), w.bits = Et, 0;
|
|
27324
27327
|
};
|
|
27325
27328
|
}, { "../utils/common": 41 }], 51: [function(o, c, f) {
|
|
27326
27329
|
c.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
|
|
@@ -27330,7 +27333,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27330
27333
|
for (var Dt = pt.length; 0 <= --Dt; )
|
|
27331
27334
|
pt[Dt] = 0;
|
|
27332
27335
|
}
|
|
27333
|
-
var S = 0, b = 29, O = 256, k = O + 1 + b, D = 30,
|
|
27336
|
+
var S = 0, b = 29, O = 256, k = O + 1 + b, D = 30, N = 19, E = 2 * k + 1, L = 15, w = 16, M = 7, R = 256, C = 16, U = 17, F = 18, X = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], K = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], Z = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], ct = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Rt = new Array(2 * (k + 2));
|
|
27334
27337
|
y(Rt);
|
|
27335
27338
|
var tt = new Array(2 * D);
|
|
27336
27339
|
y(tt);
|
|
@@ -27379,7 +27382,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27379
27382
|
pt.dyn_ltree[2 * Dt] = 0;
|
|
27380
27383
|
for (Dt = 0; Dt < D; Dt++)
|
|
27381
27384
|
pt.dyn_dtree[2 * Dt] = 0;
|
|
27382
|
-
for (Dt = 0; Dt <
|
|
27385
|
+
for (Dt = 0; Dt < N; Dt++)
|
|
27383
27386
|
pt.bl_tree[2 * Dt] = 0;
|
|
27384
27387
|
pt.dyn_ltree[2 * R] = 1, pt.opt_len = pt.static_len = 0, pt.last_lit = pt.matches = 0;
|
|
27385
27388
|
}
|
|
@@ -27478,7 +27481,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27478
27481
|
Rt[2 * Dt + 1] = 8, Dt++, st[8]++;
|
|
27479
27482
|
for (Mi(Rt, k + 1, st), Dt = 0; Dt < D; Dt++)
|
|
27480
27483
|
tt[2 * Dt + 1] = 5, tt[2 * Dt] = $e(Dt, 5);
|
|
27481
|
-
Et = new Ft(Rt, X, O + 1, k, L), At = new Ft(tt, K, 0, D, L), ce = new Ft(new Array(0), Z, 0,
|
|
27484
|
+
Et = new Ft(Rt, X, O + 1, k, L), At = new Ft(tt, K, 0, D, L), ce = new Ft(new Array(0), Z, 0, N, M);
|
|
27482
27485
|
}(), jt = !0), pt.l_desc = new It(pt.dyn_ltree, Et), pt.d_desc = new It(pt.dyn_dtree, At), pt.bl_desc = new It(pt.bl_tree, ce), pt.bi_buf = 0, pt.bi_valid = 0, Oe(pt);
|
|
27483
27486
|
}, f._tr_stored_block = dt, f._tr_flush_block = function(pt, Dt, ie, Kt) {
|
|
27484
27487
|
var z, Q, st = 0;
|
|
@@ -27495,7 +27498,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27495
27498
|
return m;
|
|
27496
27499
|
}(pt)), Ji(pt, pt.l_desc), Ji(pt, pt.d_desc), st = function(nt) {
|
|
27497
27500
|
var vt;
|
|
27498
|
-
for (W(nt, nt.dyn_ltree, nt.l_desc.max_code), W(nt, nt.dyn_dtree, nt.d_desc.max_code), Ji(nt, nt.bl_desc), vt =
|
|
27501
|
+
for (W(nt, nt.dyn_ltree, nt.l_desc.max_code), W(nt, nt.dyn_dtree, nt.d_desc.max_code), Ji(nt, nt.bl_desc), vt = N - 1; 3 <= vt && nt.bl_tree[2 * ct[vt] + 1] === 0; vt--)
|
|
27499
27502
|
;
|
|
27500
27503
|
return nt.opt_len += 3 * (vt + 1) + 5 + 5 + 4, vt;
|
|
27501
27504
|
}(pt), z = pt.opt_len + 3 + 7 >>> 3, (Q = pt.static_len + 3 + 7 >>> 3) <= z && (z = Q)) : z = Q = ie + 5, ie + 4 <= z && Dt !== -1 ? dt(pt, Dt, ie, Kt) : pt.strategy === 4 || Q === z ? (pe(pt, 2 + (Kt ? 1 : 0), 3), cn(pt, Rt, tt)) : (pe(pt, 4 + (Kt ? 1 : 0), 3), function(nt, vt, Ut, qt) {
|
|
@@ -27519,7 +27522,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27519
27522
|
(function(u) {
|
|
27520
27523
|
(function(m, g) {
|
|
27521
27524
|
if (!m.setImmediate) {
|
|
27522
|
-
var y, S, b, O, k = 1, D = {},
|
|
27525
|
+
var y, S, b, O, k = 1, D = {}, N = !1, E = m.document, L = Object.getPrototypeOf && Object.getPrototypeOf(m);
|
|
27523
27526
|
L = L && L.setTimeout ? L : m, y = {}.toString.call(m.process) === "[object process]" ? function(C) {
|
|
27524
27527
|
process.nextTick(function() {
|
|
27525
27528
|
M(C);
|
|
@@ -27556,12 +27559,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27556
27559
|
delete D[C];
|
|
27557
27560
|
}
|
|
27558
27561
|
function M(C) {
|
|
27559
|
-
if (
|
|
27562
|
+
if (N)
|
|
27560
27563
|
setTimeout(M, 0, C);
|
|
27561
27564
|
else {
|
|
27562
27565
|
var U = D[C];
|
|
27563
27566
|
if (U) {
|
|
27564
|
-
|
|
27567
|
+
N = !0;
|
|
27565
27568
|
try {
|
|
27566
27569
|
(function(F) {
|
|
27567
27570
|
var X = F.callback, K = F.args;
|
|
@@ -27583,7 +27586,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27583
27586
|
}
|
|
27584
27587
|
})(U);
|
|
27585
27588
|
} finally {
|
|
27586
|
-
w(C),
|
|
27589
|
+
w(C), N = !1;
|
|
27587
27590
|
}
|
|
27588
27591
|
}
|
|
27589
27592
|
}
|
|
@@ -27652,8 +27655,8 @@ var Hd = { exports: {} };
|
|
|
27652
27655
|
} : function(S, b, O, k) {
|
|
27653
27656
|
if (k = k || open("", "_blank"), k && (k.document.title = k.document.body.innerText = "downloading..."), typeof S == "string")
|
|
27654
27657
|
return c(S, b, O);
|
|
27655
|
-
var D = S.type === "application/octet-stream",
|
|
27656
|
-
if ((E || D &&
|
|
27658
|
+
var D = S.type === "application/octet-stream", N = /constructor/i.test(m.HTMLElement) || m.safari, E = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
27659
|
+
if ((E || D && N || g) && typeof FileReader < "u") {
|
|
27657
27660
|
var L = new FileReader();
|
|
27658
27661
|
L.onloadend = function() {
|
|
27659
27662
|
var R = L.result;
|
|
@@ -28146,11 +28149,11 @@ var to = {
|
|
|
28146
28149
|
center: 0.5,
|
|
28147
28150
|
edges: 0.5,
|
|
28148
28151
|
end: 1
|
|
28149
|
-
}[f] || 0 : !g && y && (b = f[0], O = f[1]), function(k, D,
|
|
28150
|
-
var E = (
|
|
28152
|
+
}[f] || 0 : !g && y && (b = f[0], O = f[1]), function(k, D, N) {
|
|
28153
|
+
var E = (N || o).length, L = m[E], w, M, R, C, U, F, X, K, Z;
|
|
28151
28154
|
if (!L) {
|
|
28152
28155
|
if (Z = o.grid === "auto" ? 0 : (o.grid || [1, So])[1], !Z) {
|
|
28153
|
-
for (X = -So; X < (X =
|
|
28156
|
+
for (X = -So; X < (X = N[Z++].getBoundingClientRect().left) && Z < E; )
|
|
28154
28157
|
;
|
|
28155
28158
|
Z < E && Z--;
|
|
28156
28159
|
}
|
|
@@ -28231,18 +28234,18 @@ var to = {
|
|
|
28231
28234
|
else if (dr(a) && !dr(o)) {
|
|
28232
28235
|
for (b = [], O = a.length, k = O - 2, S = 1; S < O; S++)
|
|
28233
28236
|
b.push(x(a[S - 1], a[S]));
|
|
28234
|
-
O--, u = function(
|
|
28235
|
-
|
|
28236
|
-
var E = Math.min(k, ~~
|
|
28237
|
-
return b[E](
|
|
28237
|
+
O--, u = function(N) {
|
|
28238
|
+
N *= O;
|
|
28239
|
+
var E = Math.min(k, ~~N);
|
|
28240
|
+
return b[E](N - E);
|
|
28238
28241
|
}, c = o;
|
|
28239
28242
|
} else
|
|
28240
28243
|
f || (a = El(dr(a) ? [] : {}, a));
|
|
28241
28244
|
if (!b) {
|
|
28242
28245
|
for (y in o)
|
|
28243
28246
|
gf.call(g, a, y, "get", o[y]);
|
|
28244
|
-
u = function(
|
|
28245
|
-
return xf(
|
|
28247
|
+
u = function(N) {
|
|
28248
|
+
return xf(N, g) || (m ? a.p : a);
|
|
28246
28249
|
};
|
|
28247
28250
|
}
|
|
28248
28251
|
}
|
|
@@ -28308,7 +28311,7 @@ var to = {
|
|
|
28308
28311
|
}, Oc = function(a, o, c) {
|
|
28309
28312
|
return a += a < 0 ? 1 : a > 1 ? -1 : 0, (a * 6 < 1 ? o + (c - o) * a * 6 : a < 0.5 ? c : a * 3 < 2 ? o + (c - o) * (2 / 3 - a) * 6 : o) * Ki + 0.5 | 0;
|
|
28310
28313
|
}, gp = function(a, o, c) {
|
|
28311
|
-
var f = a ? Xs(a) ? [a >> 16, a >> 8 & Ki, a & Ki] : 0 : Xh.black, u, m, g, y, S, b, O, k, D,
|
|
28314
|
+
var f = a ? Xs(a) ? [a >> 16, a >> 8 & Ki, a & Ki] : 0 : Xh.black, u, m, g, y, S, b, O, k, D, N;
|
|
28312
28315
|
if (!f) {
|
|
28313
28316
|
if (a.substr(-1) === "," && (a = a.substr(0, a.length - 1)), Xh[a])
|
|
28314
28317
|
f = Xh[a];
|
|
@@ -28317,7 +28320,7 @@ var to = {
|
|
|
28317
28320
|
return f = parseInt(a.substr(1, 6), 16), [f >> 16, f >> 8 & Ki, f & Ki, parseInt(a.substr(7), 16) / 255];
|
|
28318
28321
|
a = parseInt(a.substr(1), 16), f = [a >> 16, a >> 8 & Ki, a & Ki];
|
|
28319
28322
|
} else if (a.substr(0, 3) === "hsl") {
|
|
28320
|
-
if (f =
|
|
28323
|
+
if (f = N = a.match(Hc), !o)
|
|
28321
28324
|
y = +f[0] % 360 / 360, S = +f[1] / 100, b = +f[2] / 100, m = b <= 0.5 ? b * (S + 1) : b + S - b * S, u = b * 2 - m, f.length > 3 && (f[3] *= 1), f[0] = Oc(y + 1 / 3, u, m), f[1] = Oc(y, u, m), f[2] = Oc(y - 1 / 3, u, m);
|
|
28322
28325
|
else if (~a.indexOf("="))
|
|
28323
28326
|
return f = a.match(Xd), c && f.length < 4 && (f[3] = 1), f;
|
|
@@ -28325,7 +28328,7 @@ var to = {
|
|
|
28325
28328
|
f = a.match(Hc) || Xh.transparent;
|
|
28326
28329
|
f = f.map(Number);
|
|
28327
28330
|
}
|
|
28328
|
-
return o && !
|
|
28331
|
+
return o && !N && (u = f[0] / Ki, m = f[1] / Ki, g = f[2] / Ki, O = Math.max(u, m, g), k = Math.min(u, m, g), b = (O + k) / 2, O === k ? y = S = 0 : (D = O - k, S = b > 0.5 ? D / (2 - O - k) : D / (O + k), y = O === u ? (m - g) / D + (m < g ? 6 : 0) : O === m ? (g - u) / D + 2 : (u - m) / D + 4, y *= 60), f[0] = ~~(y + 0.5), f[1] = ~~(S * 100 + 0.5), f[2] = ~~(b * 100 + 0.5)), c && f.length < 4 && (f[3] = 1), f;
|
|
28329
28332
|
}, vp = function(a) {
|
|
28330
28333
|
var o = [], c = [], f = -1;
|
|
28331
28334
|
return a.split(Ia).forEach(function(u) {
|
|
@@ -28355,7 +28358,7 @@ var to = {
|
|
|
28355
28358
|
if (Ia.lastIndex = 0, Ia.test(o))
|
|
28356
28359
|
return c = S_.test(o), a[1] = bd(a[1], c), a[0] = bd(a[0], c, vp(a[1])), !0;
|
|
28357
28360
|
}, Qh, Kr = function() {
|
|
28358
|
-
var x = Date.now, a = 500, o = 33, c = x(), f = c, u = 1e3 / 240, m = u, g = [], y, S, b, O, k, D,
|
|
28361
|
+
var x = Date.now, a = 500, o = 33, c = x(), f = c, u = 1e3 / 240, m = u, g = [], y, S, b, O, k, D, N = function E(L) {
|
|
28359
28362
|
var w = x() - f, M = L === !0, R, C, U, F;
|
|
28360
28363
|
if ((w > a || w < 0) && (c += w - o), f += w, U = f - c, R = U - m, (R > 0 || M) && (F = ++O.frame, k = U - O.time * 1e3, O.time = U = U / 1e3, m += R + (R >= u ? 4 : u - R), C = 1), M || (y = S(E)), C)
|
|
28361
28364
|
for (D = 0; D < g.length; D++)
|
|
@@ -28365,7 +28368,7 @@ var to = {
|
|
|
28365
28368
|
time: 0,
|
|
28366
28369
|
frame: 0,
|
|
28367
28370
|
tick: function() {
|
|
28368
|
-
|
|
28371
|
+
N(!0);
|
|
28369
28372
|
},
|
|
28370
28373
|
deltaRatio: function(L) {
|
|
28371
28374
|
return k / (1e3 / (L || 60));
|
|
@@ -28373,7 +28376,7 @@ var to = {
|
|
|
28373
28376
|
wake: function() {
|
|
28374
28377
|
Zd && (!Vc && uf() && (ss = Vc = window, cf = ss.document || {}, eo.gsap = Ur, (ss.gsapVersions || (ss.gsapVersions = [])).push(Ur.version), Jd(Hu || ss.GreenSockGlobals || !ss.gsap && ss || {}), pp.forEach(mp)), b = typeof requestAnimationFrame < "u" && requestAnimationFrame, y && O.sleep(), S = b || function(L) {
|
|
28375
28378
|
return setTimeout(L, m - O.time * 1e3 + 1 | 0);
|
|
28376
|
-
}, Qh = 1,
|
|
28379
|
+
}, Qh = 1, N(2));
|
|
28377
28380
|
},
|
|
28378
28381
|
sleep: function() {
|
|
28379
28382
|
(b ? cancelAnimationFrame : clearTimeout)(y), Qh = 0, S = $h;
|
|
@@ -28651,7 +28654,7 @@ var Tr = /* @__PURE__ */ function(x) {
|
|
|
28651
28654
|
}, o.staggerFromTo = function(f, u, m, g, y, S, b, O) {
|
|
28652
28655
|
return g.startAt = m, qh(g).immediateRender = kr(g.immediateRender), this.staggerTo(f, u, g, y, S, b, O);
|
|
28653
28656
|
}, o.render = function(f, u, m) {
|
|
28654
|
-
var g = this._time, y = this._dirty ? this.totalDuration() : this._tDur, S = this._dur, b = f <= 0 ? 0 : qn(f), O = this._zTime < 0 != f < 0 && (this._initted || !S), k, D,
|
|
28657
|
+
var g = this._time, y = this._dirty ? this.totalDuration() : this._tDur, S = this._dur, b = f <= 0 ? 0 : qn(f), O = this._zTime < 0 != f < 0 && (this._initted || !S), k, D, N, E, L, w, M, R, C, U, F, X;
|
|
28655
28658
|
if (this !== yn && b > y && f >= 0 && (b = y), b !== this._tTime || m || O) {
|
|
28656
28659
|
if (g !== this._time && S && (b += this._time - g, f += this._time - g), k = b, C = this._start, R = this._ts, w = !R, O && (S || (g = this._zTime), (f || !u) && (this._zTime = f)), this._repeat) {
|
|
28657
28660
|
if (F = this._yoyo, L = S + this._rDelay, this._repeat < -1 && f < 0)
|
|
@@ -28669,28 +28672,28 @@ var Tr = /* @__PURE__ */ function(x) {
|
|
|
28669
28672
|
return this;
|
|
28670
28673
|
if (k >= g && f >= 0)
|
|
28671
28674
|
for (D = this._first; D; ) {
|
|
28672
|
-
if (
|
|
28675
|
+
if (N = D._next, (D._act || k >= D._start) && D._ts && M !== D) {
|
|
28673
28676
|
if (D.parent !== this)
|
|
28674
28677
|
return this.render(f, u, m);
|
|
28675
28678
|
if (D.render(D._ts > 0 ? (k - D._start) * D._ts : (D._dirty ? D.totalDuration() : D._tDur) + (k - D._start) * D._ts, u, m), k !== this._time || !this._ts && !w) {
|
|
28676
|
-
M = 0,
|
|
28679
|
+
M = 0, N && (b += this._zTime = -nn);
|
|
28677
28680
|
break;
|
|
28678
28681
|
}
|
|
28679
28682
|
}
|
|
28680
|
-
D =
|
|
28683
|
+
D = N;
|
|
28681
28684
|
}
|
|
28682
28685
|
else {
|
|
28683
28686
|
D = this._last;
|
|
28684
28687
|
for (var ct = f < 0 ? f : k; D; ) {
|
|
28685
|
-
if (
|
|
28688
|
+
if (N = D._prev, (D._act || ct <= D._end) && D._ts && M !== D) {
|
|
28686
28689
|
if (D.parent !== this)
|
|
28687
28690
|
return this.render(f, u, m);
|
|
28688
28691
|
if (D.render(D._ts > 0 ? (ct - D._start) * D._ts : (D._dirty ? D.totalDuration() : D._tDur) + (ct - D._start) * D._ts, u, m || fr && (D._initted || D._startAt)), k !== this._time || !this._ts && !w) {
|
|
28689
|
-
M = 0,
|
|
28692
|
+
M = 0, N && (b += this._zTime = ct ? -nn : nn);
|
|
28690
28693
|
break;
|
|
28691
28694
|
}
|
|
28692
28695
|
}
|
|
28693
|
-
D =
|
|
28696
|
+
D = N;
|
|
28694
28697
|
}
|
|
28695
28698
|
}
|
|
28696
28699
|
if (M && !u && (this.pause(), M.render(k >= g ? 0 : -nn)._zTime = k >= g ? 1 : -1, this._ts))
|
|
@@ -28747,7 +28750,7 @@ var Tr = /* @__PURE__ */ function(x) {
|
|
|
28747
28750
|
return m;
|
|
28748
28751
|
}, o.tweenTo = function(f, u) {
|
|
28749
28752
|
u = u || {};
|
|
28750
|
-
var m = this, g = Mo(m, f), y = u, S = y.startAt, b = y.onStart, O = y.onStartParams, k = y.immediateRender, D,
|
|
28753
|
+
var m = this, g = Mo(m, f), y = u, S = y.startAt, b = y.onStart, O = y.onStartParams, k = y.immediateRender, D, N = kn.to(m, bo({
|
|
28751
28754
|
ease: u.ease || "none",
|
|
28752
28755
|
lazy: !1,
|
|
28753
28756
|
immediateRender: !1,
|
|
@@ -28757,12 +28760,12 @@ var Tr = /* @__PURE__ */ function(x) {
|
|
|
28757
28760
|
onStart: function() {
|
|
28758
28761
|
if (m.pause(), !D) {
|
|
28759
28762
|
var L = u.duration || Math.abs((g - (S && "time" in S ? S.time : m._time)) / m.timeScale());
|
|
28760
|
-
|
|
28763
|
+
N._dur !== L && fh(N, L, 0, 1).render(N._time, !0, !0), D = 1;
|
|
28761
28764
|
}
|
|
28762
|
-
b && b.apply(
|
|
28765
|
+
b && b.apply(N, O || []);
|
|
28763
28766
|
}
|
|
28764
28767
|
}, u));
|
|
28765
|
-
return k ?
|
|
28768
|
+
return k ? N.render(0) : N;
|
|
28766
28769
|
}, o.tweenFromTo = function(f, u, m) {
|
|
28767
28770
|
return this.tweenTo(u, bo({
|
|
28768
28771
|
startAt: {
|
|
@@ -28823,22 +28826,22 @@ bo(Tr.prototype, {
|
|
|
28823
28826
|
_forcing: 0
|
|
28824
28827
|
});
|
|
28825
28828
|
var L_ = function(a, o, c, f, u, m, g) {
|
|
28826
|
-
var y = new Nr(this._pt, a, o, 0, 1, Ap, null, u), S = 0, b = 0, O, k, D,
|
|
28829
|
+
var y = new Nr(this._pt, a, o, 0, 1, Ap, null, u), S = 0, b = 0, O, k, D, N, E, L, w, M;
|
|
28827
28830
|
for (y.b = c, y.e = f, c += "", f += "", (w = ~f.indexOf("random(")) && (f = Kh(f)), m && (M = [c, f], m(M, a, o), c = M[0], f = M[1]), k = c.match(Lc) || []; O = Lc.exec(f); )
|
|
28828
|
-
|
|
28831
|
+
N = O[0], E = f.substring(S, O.index), D ? D = (D + 1) % 5 : E.substr(-5) === "rgba(" && (D = 1), N !== k[b++] && (L = parseFloat(k[b - 1]) || 0, y._pt = {
|
|
28829
28832
|
_next: y._pt,
|
|
28830
28833
|
p: E || b === 1 ? E : ",",
|
|
28831
28834
|
//note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
|
|
28832
28835
|
s: L,
|
|
28833
|
-
c:
|
|
28836
|
+
c: N.charAt(1) === "=" ? ah(L, N) - L : parseFloat(N) - L,
|
|
28834
28837
|
m: D && D < 4 ? Math.round : 0
|
|
28835
28838
|
}, S = Lc.lastIndex);
|
|
28836
28839
|
return y.c = S < f.length ? f.substring(S, f.length) : "", y.fp = g, (qd.test(f) || w) && (y.e = 0), this._pt = y, y;
|
|
28837
28840
|
}, gf = function(a, o, c, f, u, m, g, y, S, b) {
|
|
28838
28841
|
An(f) && (f = f(u || 0, a, m));
|
|
28839
|
-
var O = a[o], k = c !== "get" ? c : An(O) ? S ? a[o.indexOf("set") || !An(a["get" + o.substr(3)]) ? o : "get" + o.substr(3)](S) : a[o]() : O, D = An(O) ? S ? z_ : bp : yf,
|
|
28840
|
-
if (Yn(f) && (~f.indexOf("random(") && (f = Kh(f)), f.charAt(1) === "=" && (
|
|
28841
|
-
return !isNaN(k * f) && f !== "" ? (
|
|
28842
|
+
var O = a[o], k = c !== "get" ? c : An(O) ? S ? a[o.indexOf("set") || !An(a["get" + o.substr(3)]) ? o : "get" + o.substr(3)](S) : a[o]() : O, D = An(O) ? S ? z_ : bp : yf, N;
|
|
28843
|
+
if (Yn(f) && (~f.indexOf("random(") && (f = Kh(f)), f.charAt(1) === "=" && (N = ah(k, f) + (cr(k) || 0), (N || N === 0) && (f = N))), !b || k !== f || Jc)
|
|
28844
|
+
return !isNaN(k * f) && f !== "" ? (N = new Nr(this._pt, a, o, +k || 0, f - (k || 0), typeof O == "boolean" ? B_ : Cp, 0, D), S && (N.fp = S), g && N.modifier(g, this, a), this._pt = N) : (!O && !(o in a) && ff(o, f), L_.call(this, a, o, k, f, D, y || to.stringFilter, S));
|
|
28842
28845
|
}, R_ = function(a, o, c, f, u) {
|
|
28843
28846
|
if (An(a) && (a = Zh(a, u, o, c, f)), !us(a) || a.style && a.nodeType || dr(a) || jd(a))
|
|
28844
28847
|
return Yn(a) ? Zh(a, u, o, c, f) : a;
|
|
@@ -28853,9 +28856,9 @@ var L_ = function(a, o, c, f, u, m, g) {
|
|
|
28853
28856
|
S[g._props[b]] = y;
|
|
28854
28857
|
return g;
|
|
28855
28858
|
}, Pa, Jc, vf = function x(a, o, c) {
|
|
28856
|
-
var f = a.vars, u = f.ease, m = f.startAt, g = f.immediateRender, y = f.lazy, S = f.onUpdate, b = f.runBackwards, O = f.yoyoEase, k = f.keyframes, D = f.autoRevert,
|
|
28859
|
+
var f = a.vars, u = f.ease, m = f.startAt, g = f.immediateRender, y = f.lazy, S = f.onUpdate, b = f.runBackwards, O = f.yoyoEase, k = f.keyframes, D = f.autoRevert, N = a._dur, E = a._startAt, L = a._targets, w = a.parent, M = w && w.data === "nested" ? w.vars.targets : L, R = a._overwrite === "auto" && !lf, C = a.timeline, U, F, X, K, Z, ct, Rt, tt, _t, G, Pt, Et, At;
|
|
28857
28860
|
if (C && (!k || !u) && (u = "none"), a._ease = Ml(u, uh.ease), a._yEase = O ? _p(Ml(O === !0 ? u : O, uh.ease)) : 0, O && a._yoyo && !a._repeat && (O = a._yEase, a._yEase = a._ease, a._ease = O), a._from = !C && !!f.runBackwards, !C || k && !f.stagger) {
|
|
28858
|
-
if (tt = L[0] ? wl(L[0]).harness : 0, Et = tt && f[tt.prop], U = Wu(f, df), E && (E._zTime < 0 && E.progress(1), o < 0 && b && g && !D ? E.render(-1, !0) : E.revert(b &&
|
|
28861
|
+
if (tt = L[0] ? wl(L[0]).harness : 0, Et = tt && f[tt.prop], U = Wu(f, df), E && (E._zTime < 0 && E.progress(1), o < 0 && b && g && !D ? E.render(-1, !0) : E.revert(b && N ? Bu : o_), E._lazy = 0), m) {
|
|
28859
28862
|
if (Da(a._startAt = kn.set(L, bo({
|
|
28860
28863
|
data: "isStart",
|
|
28861
28864
|
overwrite: !1,
|
|
@@ -28868,11 +28871,11 @@ var L_ = function(a, o, c, f, u, m, g) {
|
|
|
28868
28871
|
return Qr(a, "onUpdate");
|
|
28869
28872
|
},
|
|
28870
28873
|
stagger: 0
|
|
28871
|
-
}, m))), a._startAt._dp = 0, a._startAt._sat = a, o < 0 && (fr || !g && !D) && a._startAt.revert(Bu), g &&
|
|
28874
|
+
}, m))), a._startAt._dp = 0, a._startAt._sat = a, o < 0 && (fr || !g && !D) && a._startAt.revert(Bu), g && N && o <= 0 && c <= 0) {
|
|
28872
28875
|
o && (a._zTime = o);
|
|
28873
28876
|
return;
|
|
28874
28877
|
}
|
|
28875
|
-
} else if (b &&
|
|
28878
|
+
} else if (b && N && !E) {
|
|
28876
28879
|
if (o && (g = !1), X = bo({
|
|
28877
28880
|
overwrite: !1,
|
|
28878
28881
|
data: "isFromStart",
|
|
@@ -28888,7 +28891,7 @@ var L_ = function(a, o, c, f, u, m, g) {
|
|
|
28888
28891
|
else if (!o)
|
|
28889
28892
|
return;
|
|
28890
28893
|
}
|
|
28891
|
-
for (a._pt = a._ptCache = 0, y =
|
|
28894
|
+
for (a._pt = a._ptCache = 0, y = N && kr(y) || y && !N, F = 0; F < L.length; F++) {
|
|
28892
28895
|
if (Z = L[F], Rt = Z._gsap || mf(L)[F]._gsap, a._ptLookup[F] = G = {}, Wc[Rt.id] && Oa.length && Vu(), Pt = M === L ? F : M.indexOf(Z), tt && (_t = new tt()).init(Z, Et || U, a, Pt, M) !== !1 && (a._pt = K = new Nr(a._pt, Z, _t.name, 0, 1, _t.render, _t, 0, _t.priority), _t._props.forEach(function(ce) {
|
|
28893
28896
|
G[ce] = K;
|
|
28894
28897
|
}), _t.priority && (ct = 1)), !tt || Et)
|
|
@@ -28950,8 +28953,8 @@ var kn = /* @__PURE__ */ function(x) {
|
|
|
28950
28953
|
function a(c, f, u, m) {
|
|
28951
28954
|
var g;
|
|
28952
28955
|
typeof f == "number" && (u.duration = f, f = u, u = null), g = x.call(this, m ? f : qh(f)) || this;
|
|
28953
|
-
var y = g.vars, S = y.duration, b = y.delay, O = y.immediateRender, k = y.stagger, D = y.overwrite,
|
|
28954
|
-
if (g._targets = R.length ? mf(R) : Jh("GSAP target " + c + " not found. https://gsap.com", !to.nullTargetWarn) || [], g._ptLookup = [], g._overwrite = D,
|
|
28956
|
+
var y = g.vars, S = y.duration, b = y.delay, O = y.immediateRender, k = y.stagger, D = y.overwrite, N = y.keyframes, E = y.defaults, L = y.scrollTrigger, w = y.yoyoEase, M = f.parent || yn, R = (dr(c) || jd(c) ? Xs(c[0]) : "length" in f) ? [c] : Eo(c), C, U, F, X, K, Z, ct, Rt;
|
|
28957
|
+
if (g._targets = R.length ? mf(R) : Jh("GSAP target " + c + " not found. https://gsap.com", !to.nullTargetWarn) || [], g._ptLookup = [], g._overwrite = D, N || k || ku(S) || ku(b)) {
|
|
28955
28958
|
if (f = g.vars, C = g.timeline = new Tr({
|
|
28956
28959
|
data: "nested",
|
|
28957
28960
|
defaults: E || {},
|
|
@@ -28963,19 +28966,19 @@ var kn = /* @__PURE__ */ function(x) {
|
|
|
28963
28966
|
for (U = 0; U < X; U++)
|
|
28964
28967
|
F = Wu(f, Ep), F.stagger = 0, w && (F.yoyoEase = w), Rt && El(F, Rt), Z = R[U], F.duration = +Zh(S, Ws(g), U, Z, R), F.delay = (+Zh(b, Ws(g), U, Z, R) || 0) - g._delay, !k && X === 1 && F.delay && (g._delay = b = F.delay, g._start += b, F.delay = 0), C.to(Z, F, ct ? ct(U, Z, R) : 0), C._ease = Ni.none;
|
|
28965
28968
|
C.duration() ? S = b = 0 : g.timeline = 0;
|
|
28966
|
-
} else if (
|
|
28969
|
+
} else if (N) {
|
|
28967
28970
|
qh(bo(C.vars.defaults, {
|
|
28968
28971
|
ease: "none"
|
|
28969
|
-
})), C._ease = Ml(
|
|
28972
|
+
})), C._ease = Ml(N.ease || f.ease || "none");
|
|
28970
28973
|
var tt = 0, _t, G, Pt;
|
|
28971
|
-
if (dr(
|
|
28972
|
-
|
|
28974
|
+
if (dr(N))
|
|
28975
|
+
N.forEach(function(Et) {
|
|
28973
28976
|
return C.to(R, Et, ">");
|
|
28974
28977
|
}), C.duration();
|
|
28975
28978
|
else {
|
|
28976
28979
|
F = {};
|
|
28977
|
-
for (K in
|
|
28978
|
-
K === "ease" || K === "easeEach" || D_(K,
|
|
28980
|
+
for (K in N)
|
|
28981
|
+
K === "ease" || K === "easeEach" || D_(K, N[K], F, N.easeEach);
|
|
28979
28982
|
for (K in F)
|
|
28980
28983
|
for (_t = F[K].sort(function(Et, At) {
|
|
28981
28984
|
return Et.t - At.t;
|
|
@@ -28992,34 +28995,34 @@ var kn = /* @__PURE__ */ function(x) {
|
|
|
28992
28995
|
S || g.duration(S = C.duration());
|
|
28993
28996
|
} else
|
|
28994
28997
|
g.timeline = 0;
|
|
28995
|
-
return D === !0 && !lf && (Pa = Ws(g), yn.killTweensOf(R), Pa = 0), as(M, Ws(g), u), f.reversed && g.reverse(), f.paused && g.paused(!0), (O || !S && !
|
|
28998
|
+
return D === !0 && !lf && (Pa = Ws(g), yn.killTweensOf(R), Pa = 0), as(M, Ws(g), u), f.reversed && g.reverse(), f.paused && g.paused(!0), (O || !S && !N && g._start === qn(M._time) && kr(O) && c_(Ws(g)) && M.data !== "nested") && (g._tTime = -nn, g.render(Math.max(0, -b) || 0)), L && op(Ws(g), L), g;
|
|
28996
28999
|
}
|
|
28997
29000
|
var o = a.prototype;
|
|
28998
29001
|
return o.render = function(f, u, m) {
|
|
28999
|
-
var g = this._time, y = this._tDur, S = this._dur, b = f < 0, O = f > y - nn && !b ? y : f < nn ? 0 : f, k, D,
|
|
29002
|
+
var g = this._time, y = this._tDur, S = this._dur, b = f < 0, O = f > y - nn && !b ? y : f < nn ? 0 : f, k, D, N, E, L, w, M, R, C;
|
|
29000
29003
|
if (!S)
|
|
29001
29004
|
d_(this, f, u, m);
|
|
29002
29005
|
else if (O !== this._tTime || !f || m || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== b) {
|
|
29003
29006
|
if (k = O, R = this.timeline, this._repeat) {
|
|
29004
29007
|
if (E = S + this._rDelay, this._repeat < -1 && b)
|
|
29005
29008
|
return this.totalTime(E * 100 + f, u, m);
|
|
29006
|
-
if (k = qn(O % E), O === y ? (
|
|
29009
|
+
if (k = qn(O % E), O === y ? (N = this._repeat, k = S) : (N = ~~(O / E), N && N === qn(O / E) && (k = S, N--), k > S && (k = S)), w = this._yoyo && N & 1, w && (C = this._yEase, k = S - k), L = ch(this._tTime, E), k === g && !m && this._initted && N === L)
|
|
29007
29010
|
return this._tTime = O, this;
|
|
29008
|
-
|
|
29011
|
+
N !== L && (R && this._yEase && xp(R, w), this.vars.repeatRefresh && !w && !this._lock && this._time !== E && this._initted && (this._lock = m = 1, this.render(qn(E * N), !0).invalidate()._lock = 0));
|
|
29009
29012
|
}
|
|
29010
29013
|
if (!this._initted) {
|
|
29011
29014
|
if (sp(this, b ? f : k, m, u, O))
|
|
29012
29015
|
return this._tTime = 0, this;
|
|
29013
|
-
if (g !== this._time && !(m && this.vars.repeatRefresh &&
|
|
29016
|
+
if (g !== this._time && !(m && this.vars.repeatRefresh && N !== L))
|
|
29014
29017
|
return this;
|
|
29015
29018
|
if (S !== this._dur)
|
|
29016
29019
|
return this.render(f, u, m);
|
|
29017
29020
|
}
|
|
29018
|
-
if (this._tTime = O, this._time = k, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = M = (C || this._ease)(k / S), this._from && (this.ratio = M = 1 - M), k && !g && !u && !
|
|
29021
|
+
if (this._tTime = O, this._time = k, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = M = (C || this._ease)(k / S), this._from && (this.ratio = M = 1 - M), k && !g && !u && !N && (Qr(this, "onStart"), this._tTime !== O))
|
|
29019
29022
|
return this;
|
|
29020
29023
|
for (D = this._pt; D; )
|
|
29021
29024
|
D.r(M, D.d), D = D._next;
|
|
29022
|
-
R && R.render(f < 0 ? f : R._dur * R._ease(k / this._dur), u, m) || this._startAt && (this._zTime = f), this._onUpdate && !u && (b && jc(this, f, u, m), Qr(this, "onUpdate")), this._repeat &&
|
|
29025
|
+
R && R.render(f < 0 ? f : R._dur * R._ease(k / this._dur), u, m) || this._startAt && (this._zTime = f), this._onUpdate && !u && (b && jc(this, f, u, m), Qr(this, "onUpdate")), this._repeat && N !== L && this.vars.onRepeat && !u && this.parent && Qr(this, "onRepeat"), (O === this._tDur || !O) && this._tTime === O && (b && !this._onUpdate && jc(this, f, !0, !0), (f || !S) && (O === this._tDur && this._ts > 0 || !O && this._ts < 0) && Da(this, 1), !u && !(b && !g) && (O || g || w) && (Qr(this, O === y ? "onComplete" : "onReverseComplete", !0), this._prom && !(O < y && this.timeScale() > 0) && this._prom()));
|
|
29023
29026
|
}
|
|
29024
29027
|
return this;
|
|
29025
29028
|
}, o.targets = function() {
|
|
@@ -29037,15 +29040,15 @@ var kn = /* @__PURE__ */ function(x) {
|
|
|
29037
29040
|
var m = this.timeline.totalDuration();
|
|
29038
29041
|
return this.timeline.killTweensOf(f, u, Pa && Pa.vars.overwrite !== !0)._first || jh(this), this.parent && m !== this.timeline.totalDuration() && fh(this, this._dur * this.timeline._tDur / m, 0, 1), this;
|
|
29039
29042
|
}
|
|
29040
|
-
var g = this._targets, y = f ? Eo(f) : g, S = this._ptLookup, b = this._pt, O, k, D,
|
|
29043
|
+
var g = this._targets, y = f ? Eo(f) : g, S = this._ptLookup, b = this._pt, O, k, D, N, E, L, w;
|
|
29041
29044
|
if ((!u || u === "all") && h_(g, y))
|
|
29042
29045
|
return u === "all" && (this._pt = 0), jh(this);
|
|
29043
29046
|
for (O = this._op = this._op || [], u !== "all" && (Yn(u) && (E = {}, Br(u, function(M) {
|
|
29044
29047
|
return E[M] = 1;
|
|
29045
29048
|
}), u = E), u = I_(g, u)), w = g.length; w--; )
|
|
29046
29049
|
if (~y.indexOf(g[w])) {
|
|
29047
|
-
k = S[w], u === "all" ? (O[w] = u,
|
|
29048
|
-
for (E in
|
|
29050
|
+
k = S[w], u === "all" ? (O[w] = u, N = k, D = {}) : (D = O[w] = O[w] || {}, N = u);
|
|
29051
|
+
for (E in N)
|
|
29049
29052
|
L = k && k[E], L && ((!("kill" in L.d) || L.d.kill(E) === !0) && $u(this, L, "_pt"), delete k[E]), D !== "all" && (D[E] = 1);
|
|
29050
29053
|
}
|
|
29051
29054
|
return this._initted && !this._pt && b && jh(this), this;
|
|
@@ -29608,19 +29611,19 @@ var Ad, La, lh, wf, xl, Pd, Tf, X_ = function() {
|
|
|
29608
29611
|
grid: 1,
|
|
29609
29612
|
flex: 1
|
|
29610
29613
|
}, za = function x(a, o, c, f) {
|
|
29611
|
-
var u = parseFloat(c) || 0, m = (c + "").trim().substr((u + "").length) || "px", g = xl.style, y = q_.test(o), S = a.tagName.toLowerCase() === "svg", b = (S ? "client" : "offset") + (y ? "Width" : "Height"), O = 100, k = f === "px", D = f === "%",
|
|
29614
|
+
var u = parseFloat(c) || 0, m = (c + "").trim().substr((u + "").length) || "px", g = xl.style, y = q_.test(o), S = a.tagName.toLowerCase() === "svg", b = (S ? "client" : "offset") + (y ? "Width" : "Height"), O = 100, k = f === "px", D = f === "%", N, E, L, w;
|
|
29612
29615
|
if (f === m || !u || Id[f] || Id[m])
|
|
29613
29616
|
return u;
|
|
29614
29617
|
if (m !== "px" && !k && (u = x(a, o, c, "px")), w = a.getCTM && Bp(a), (D || m === "%") && (qs[o] || ~o.indexOf("adius")))
|
|
29615
|
-
return
|
|
29618
|
+
return N = w ? a.getBBox()[y ? "width" : "height"] : a[b], In(D ? u / N * O : u / 100 * N);
|
|
29616
29619
|
if (g[y ? "width" : "height"] = O + (k ? m : f), E = ~o.indexOf("adius") || f === "em" && a.appendChild && !S ? a : a.parentNode, w && (E = (a.ownerSVGElement || {}).parentNode), (!E || E === La || !E.appendChild) && (E = La.body), L = E._gsap, L && D && L.width && y && L.time === Kr.time && !L.uncache)
|
|
29617
29620
|
return In(u / L.width * O);
|
|
29618
29621
|
if (D && (o === "height" || o === "width")) {
|
|
29619
29622
|
var M = a.style[o];
|
|
29620
|
-
a.style[o] = O + f,
|
|
29623
|
+
a.style[o] = O + f, N = a[b], M ? a.style[o] = M : bl(a, o);
|
|
29621
29624
|
} else
|
|
29622
|
-
(D || m === "%") && !s1[hs(E, "display")] && (g.position = hs(a, "position")), E === a && (g.position = "static"), E.appendChild(xl),
|
|
29623
|
-
return y && D && (L = wl(E), L.time = Kr.time, L.width = E[b]), In(k ?
|
|
29625
|
+
(D || m === "%") && !s1[hs(E, "display")] && (g.position = hs(a, "position")), E === a && (g.position = "static"), E.appendChild(xl), N = xl[b], E.removeChild(xl), g.position = "absolute";
|
|
29626
|
+
return y && D && (L = wl(E), L.time = Kr.time, L.width = E[b]), In(k ? N * u / O : N && u ? O / N * u : 0);
|
|
29624
29627
|
}, js = function(a, o, c, f) {
|
|
29625
29628
|
var u;
|
|
29626
29629
|
return wf || tf(), o in ls && o !== "transform" && (o = ls[o], ~o.indexOf(",") && (o = o.split(",")[0])), qs[o] && o !== "transform" ? (u = iu(a, f), u = o !== "transformOrigin" ? u[o] : u.svg ? u.origin : Yu(hs(a, Fr)) + " " + u.zOrigin + "px") : (u = a.style[o], (!u || u === "auto" || f || ~(u + "").indexOf("calc(")) && (u = qu[o] && qu[o](a, o, c) || hs(a, o) || Qd(a, o) || (o === "opacity" ? 1 : 0))), c && !~(u + "").trim().indexOf(" ") ? za(a, o, u, c) + c : u;
|
|
@@ -29629,16 +29632,16 @@ var Ad, La, lh, wf, xl, Pd, Tf, X_ = function() {
|
|
|
29629
29632
|
var u = ph(o, a, 1), m = u && hs(a, u, 1);
|
|
29630
29633
|
m && m !== c ? (o = u, c = m) : o === "borderColor" && (c = hs(a, "borderTopColor"));
|
|
29631
29634
|
}
|
|
29632
|
-
var g = new Nr(this._pt, a.style, o, 0, 1, Ap), y = 0, S = 0, b, O, k, D,
|
|
29635
|
+
var g = new Nr(this._pt, a.style, o, 0, 1, Ap), y = 0, S = 0, b, O, k, D, N, E, L, w, M, R, C, U;
|
|
29633
29636
|
if (g.b = c, g.e = f, c += "", f += "", f === "auto" && (E = a.style[o], a.style[o] = f, f = hs(a, o) || f, E ? a.style[o] = E : bl(a, o)), b = [c, f], yp(b), c = b[0], f = b[1], k = c.match(oh) || [], U = f.match(oh) || [], U.length) {
|
|
29634
29637
|
for (; O = oh.exec(f); )
|
|
29635
|
-
L = O[0], M = f.substring(y, O.index),
|
|
29638
|
+
L = O[0], M = f.substring(y, O.index), N ? N = (N + 1) % 5 : (M.substr(-5) === "rgba(" || M.substr(-5) === "hsla(") && (N = 1), L !== (E = k[S++] || "") && (D = parseFloat(E) || 0, C = E.substr((D + "").length), L.charAt(1) === "=" && (L = ah(D, L) + C), w = parseFloat(L), R = L.substr((w + "").length), y = oh.lastIndex - R.length, R || (R = R || to.units[o] || C, y === f.length && (f += R, g.e += R)), C !== R && (D = za(a, o, E, R) || 0), g._pt = {
|
|
29636
29639
|
_next: g._pt,
|
|
29637
29640
|
p: M || S === 1 ? M : ",",
|
|
29638
29641
|
//note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
|
|
29639
29642
|
s: D,
|
|
29640
29643
|
c: w - D,
|
|
29641
|
-
m:
|
|
29644
|
+
m: N && N < 4 || o === "zIndex" ? Math.round : 0
|
|
29642
29645
|
});
|
|
29643
29646
|
g.c = y < f.length ? f.substring(y, f.length) : "";
|
|
29644
29647
|
} else
|
|
@@ -29742,14 +29745,14 @@ var Ad, La, lh, wf, xl, Pd, Tf, X_ = function() {
|
|
|
29742
29745
|
var c = a._gsap || wl(a), f = a.style, u = zd(a), m, g, y, S;
|
|
29743
29746
|
return c.svg && a.getAttribute("transform") ? (y = a.transform.baseVal.consolidate().matrix, u = [y.a, y.b, y.c, y.d, y.e, y.f], u.join(",") === "1,0,0,1,0,0" ? eu : u) : (u === eu && !a.offsetParent && a !== lh && !c.svg && (y = f.display, f.display = "block", m = a.parentNode, (!m || !a.offsetParent) && (S = 1, g = a.nextElementSibling, lh.appendChild(a)), u = zd(a), y ? f.display = y : bl(a, "display"), S && (g ? m.insertBefore(a, g) : m ? m.appendChild(a) : lh.removeChild(a))), o && u.length > 6 ? [u[0], u[1], u[4], u[5], u[12], u[13]] : u);
|
|
29744
29747
|
}, ef = function(a, o, c, f, u, m) {
|
|
29745
|
-
var g = a._gsap, y = u || Sf(a, !0), S = g.xOrigin || 0, b = g.yOrigin || 0, O = g.xOffset || 0, k = g.yOffset || 0, D = y[0],
|
|
29746
|
-
c ? y !== eu && (X = D * L -
|
|
29748
|
+
var g = a._gsap, y = u || Sf(a, !0), S = g.xOrigin || 0, b = g.yOrigin || 0, O = g.xOffset || 0, k = g.yOffset || 0, D = y[0], N = y[1], E = y[2], L = y[3], w = y[4], M = y[5], R = o.split(" "), C = parseFloat(R[0]) || 0, U = parseFloat(R[1]) || 0, F, X, K, Z;
|
|
29749
|
+
c ? y !== eu && (X = D * L - N * E) && (K = C * (L / X) + U * (-E / X) + (E * M - L * w) / X, Z = C * (-N / X) + U * (D / X) - (D * M - N * w) / X, C = K, U = Z) : (F = kp(a), C = F.x + (~R[0].indexOf("%") ? C / 100 * F.width : C), U = F.y + (~(R[1] || R[0]).indexOf("%") ? U / 100 * F.height : U)), f || f !== !1 && g.smooth ? (w = C - S, M = U - b, g.xOffset = O + (w * D + M * E) - w, g.yOffset = k + (w * N + M * L) - M) : g.xOffset = g.yOffset = 0, g.xOrigin = C, g.yOrigin = U, g.smooth = !!f, g.origin = o, g.originIsAbsolute = !!c, a.style[Fr] = "0px 0px", m && (Ra(m, g, "xOrigin", S, C), Ra(m, g, "yOrigin", b, U), Ra(m, g, "xOffset", O, g.xOffset), Ra(m, g, "yOffset", k, g.yOffset)), a.setAttribute("data-svg-origin", C + " " + U);
|
|
29747
29750
|
}, iu = function(a, o) {
|
|
29748
29751
|
var c = a._gsap || new Tp(a);
|
|
29749
29752
|
if ("x" in c && !o && !c.uncache)
|
|
29750
29753
|
return c;
|
|
29751
|
-
var f = a.style, u = c.scaleX < 0, m = "px", g = "deg", y = getComputedStyle(a), S = hs(a, Fr) || "0", b, O, k, D,
|
|
29752
|
-
return b = O = k = E = L = w = M = R = C = 0, D =
|
|
29754
|
+
var f = a.style, u = c.scaleX < 0, m = "px", g = "deg", y = getComputedStyle(a), S = hs(a, Fr) || "0", b, O, k, D, N, E, L, w, M, R, C, U, F, X, K, Z, ct, Rt, tt, _t, G, Pt, Et, At, ce, re, Ft, It, Nt, Pe, pe, Wt;
|
|
29755
|
+
return b = O = k = E = L = w = M = R = C = 0, D = N = 1, c.svg = !!(a.getCTM && Bp(a)), y.translate && ((y.translate !== "none" || y.scale !== "none" || y.rotate !== "none") && (f[_n] = (y.translate !== "none" ? "translate3d(" + (y.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (y.rotate !== "none" ? "rotate(" + y.rotate + ") " : "") + (y.scale !== "none" ? "scale(" + y.scale.split(" ").join(",") + ") " : "") + (y[_n] !== "none" ? y[_n] : "")), f.scale = f.rotate = f.translate = "none"), X = Sf(a, c.svg), c.svg && (c.uncache ? (ce = a.getBBox(), S = c.xOrigin - ce.x + "px " + (c.yOrigin - ce.y) + "px", At = "") : At = !o && a.getAttribute("data-svg-origin"), ef(a, At || S, !!At || c.originIsAbsolute, c.smooth !== !1, X)), U = c.xOrigin || 0, F = c.yOrigin || 0, X !== eu && (Rt = X[0], tt = X[1], _t = X[2], G = X[3], b = Pt = X[4], O = Et = X[5], X.length === 6 ? (D = Math.sqrt(Rt * Rt + tt * tt), N = Math.sqrt(G * G + _t * _t), E = Rt || tt ? nh(tt, Rt) * _l : 0, M = _t || G ? nh(_t, G) * _l + E : 0, M && (N *= Math.abs(Math.cos(M * hh))), c.svg && (b -= U - (U * Rt + F * _t), O -= F - (U * tt + F * G))) : (Wt = X[6], Pe = X[7], Ft = X[8], It = X[9], Nt = X[10], pe = X[11], b = X[12], O = X[13], k = X[14], K = nh(Wt, Nt), L = K * _l, K && (Z = Math.cos(-K), ct = Math.sin(-K), At = Pt * Z + Ft * ct, ce = Et * Z + It * ct, re = Wt * Z + Nt * ct, Ft = Pt * -ct + Ft * Z, It = Et * -ct + It * Z, Nt = Wt * -ct + Nt * Z, pe = Pe * -ct + pe * Z, Pt = At, Et = ce, Wt = re), K = nh(-_t, Nt), w = K * _l, K && (Z = Math.cos(-K), ct = Math.sin(-K), At = Rt * Z - Ft * ct, ce = tt * Z - It * ct, re = _t * Z - Nt * ct, pe = G * ct + pe * Z, Rt = At, tt = ce, _t = re), K = nh(tt, Rt), E = K * _l, K && (Z = Math.cos(K), ct = Math.sin(K), At = Rt * Z + tt * ct, ce = Pt * Z + Et * ct, tt = tt * Z - Rt * ct, Et = Et * Z - Pt * ct, Rt = At, Pt = ce), L && Math.abs(L) + Math.abs(E) > 359.9 && (L = E = 0, w = 180 - w), D = In(Math.sqrt(Rt * Rt + tt * tt + _t * _t)), N = In(Math.sqrt(Et * Et + Wt * Wt)), K = nh(Pt, Et), M = Math.abs(K) > 2e-4 ? K * _l : 0, C = pe ? 1 / (pe < 0 ? -pe : pe) : 0), c.svg && (At = a.getAttribute("transform"), c.forceCSS = a.setAttribute("transform", "") || !Fp(hs(a, _n)), At && a.setAttribute("transform", At))), Math.abs(M) > 90 && Math.abs(M) < 270 && (u ? (D *= -1, M += E <= 0 ? 180 : -180, E += E <= 0 ? 180 : -180) : (N *= -1, M += M <= 0 ? 180 : -180)), o = o || c.uncache, c.x = b - ((c.xPercent = b && (!o && c.xPercent || (Math.round(a.offsetWidth / 2) === Math.round(-b) ? -50 : 0))) ? a.offsetWidth * c.xPercent / 100 : 0) + m, c.y = O - ((c.yPercent = O && (!o && c.yPercent || (Math.round(a.offsetHeight / 2) === Math.round(-O) ? -50 : 0))) ? a.offsetHeight * c.yPercent / 100 : 0) + m, c.z = k + m, c.scaleX = In(D), c.scaleY = In(N), c.rotation = In(E) + g, c.rotationX = In(L) + g, c.rotationY = In(w) + g, c.skewX = M + g, c.skewY = R + g, c.transformPerspective = C + m, (c.zOrigin = parseFloat(S.split(" ")[2]) || !o && c.zOrigin || 0) && (f[Fr] = Yu(S)), c.xOffset = c.yOffset = 0, c.force3D = to.force3D, c.renderTransform = c.svg ? c1 : zp ? Up : u1, c.uncache = 0, c;
|
|
29753
29756
|
}, Yu = function(a) {
|
|
29754
29757
|
return (a = a.split(" "))[0] + " " + a[1];
|
|
29755
29758
|
}, Nc = function(a, o, c) {
|
|
@@ -29758,15 +29761,15 @@ var Ad, La, lh, wf, xl, Pd, Tf, X_ = function() {
|
|
|
29758
29761
|
}, u1 = function(a, o) {
|
|
29759
29762
|
o.z = "0px", o.rotationY = o.rotationX = "0deg", o.force3D = 0, Up(a, o);
|
|
29760
29763
|
}, vl = "0deg", Wh = "0px", yl = ") ", Up = function(a, o) {
|
|
29761
|
-
var c = o || this, f = c.xPercent, u = c.yPercent, m = c.x, g = c.y, y = c.z, S = c.rotation, b = c.rotationY, O = c.rotationX, k = c.skewX, D = c.skewY,
|
|
29764
|
+
var c = o || this, f = c.xPercent, u = c.yPercent, m = c.x, g = c.y, y = c.z, S = c.rotation, b = c.rotationY, O = c.rotationX, k = c.skewX, D = c.skewY, N = c.scaleX, E = c.scaleY, L = c.transformPerspective, w = c.force3D, M = c.target, R = c.zOrigin, C = "", U = w === "auto" && a && a !== 1 || w === !0;
|
|
29762
29765
|
if (R && (O !== vl || b !== vl)) {
|
|
29763
29766
|
var F = parseFloat(b) * hh, X = Math.sin(F), K = Math.cos(F), Z;
|
|
29764
29767
|
F = parseFloat(O) * hh, Z = Math.cos(F), m = Nc(M, m, X * Z * -R), g = Nc(M, g, -Math.sin(F) * -R), y = Nc(M, y, K * Z * -R + R);
|
|
29765
29768
|
}
|
|
29766
|
-
L !== Wh && (C += "perspective(" + L + yl), (f || u) && (C += "translate(" + f + "%, " + u + "%) "), (U || m !== Wh || g !== Wh || y !== Wh) && (C += y !== Wh || U ? "translate3d(" + m + ", " + g + ", " + y + ") " : "translate(" + m + ", " + g + yl), S !== vl && (C += "rotate(" + S + yl), b !== vl && (C += "rotateY(" + b + yl), O !== vl && (C += "rotateX(" + O + yl), (k !== vl || D !== vl) && (C += "skew(" + k + ", " + D + yl), (
|
|
29769
|
+
L !== Wh && (C += "perspective(" + L + yl), (f || u) && (C += "translate(" + f + "%, " + u + "%) "), (U || m !== Wh || g !== Wh || y !== Wh) && (C += y !== Wh || U ? "translate3d(" + m + ", " + g + ", " + y + ") " : "translate(" + m + ", " + g + yl), S !== vl && (C += "rotate(" + S + yl), b !== vl && (C += "rotateY(" + b + yl), O !== vl && (C += "rotateX(" + O + yl), (k !== vl || D !== vl) && (C += "skew(" + k + ", " + D + yl), (N !== 1 || E !== 1) && (C += "scale(" + N + ", " + E + yl), M.style[_n] = C || "translate(0, 0)";
|
|
29767
29770
|
}, c1 = function(a, o) {
|
|
29768
|
-
var c = o || this, f = c.xPercent, u = c.yPercent, m = c.x, g = c.y, y = c.rotation, S = c.skewX, b = c.skewY, O = c.scaleX, k = c.scaleY, D = c.target,
|
|
29769
|
-
y = parseFloat(y), S = parseFloat(S), b = parseFloat(b), b && (b = parseFloat(b), S += b, y += b), y || S ? (y *= hh, S *= hh, U = Math.cos(y) * O, F = Math.sin(y) * O, X = Math.sin(y - S) * -k, K = Math.cos(y - S) * k, S && (b *= hh, Z = Math.tan(S - b), Z = Math.sqrt(1 + Z * Z), X *= Z, K *= Z, b && (Z = Math.tan(b), Z = Math.sqrt(1 + Z * Z), U *= Z, F *= Z)), U = In(U), F = In(F), X = In(X), K = In(K)) : (U = O, K = k, F = X = 0), (R && !~(m + "").indexOf("px") || C && !~(g + "").indexOf("px")) && (R = za(D, "x", m, "px"), C = za(D, "y", g, "px")), (
|
|
29771
|
+
var c = o || this, f = c.xPercent, u = c.yPercent, m = c.x, g = c.y, y = c.rotation, S = c.skewX, b = c.skewY, O = c.scaleX, k = c.scaleY, D = c.target, N = c.xOrigin, E = c.yOrigin, L = c.xOffset, w = c.yOffset, M = c.forceCSS, R = parseFloat(m), C = parseFloat(g), U, F, X, K, Z;
|
|
29772
|
+
y = parseFloat(y), S = parseFloat(S), b = parseFloat(b), b && (b = parseFloat(b), S += b, y += b), y || S ? (y *= hh, S *= hh, U = Math.cos(y) * O, F = Math.sin(y) * O, X = Math.sin(y - S) * -k, K = Math.cos(y - S) * k, S && (b *= hh, Z = Math.tan(S - b), Z = Math.sqrt(1 + Z * Z), X *= Z, K *= Z, b && (Z = Math.tan(b), Z = Math.sqrt(1 + Z * Z), U *= Z, F *= Z)), U = In(U), F = In(F), X = In(X), K = In(K)) : (U = O, K = k, F = X = 0), (R && !~(m + "").indexOf("px") || C && !~(g + "").indexOf("px")) && (R = za(D, "x", m, "px"), C = za(D, "y", g, "px")), (N || E || L || w) && (R = In(R + N - (N * U + E * X) + L), C = In(C + E - (N * F + E * K) + w)), (f || u) && (Z = D.getBBox(), R = In(R + f / 100 * Z.width), C = In(C + u / 100 * Z.height)), Z = "matrix(" + U + "," + F + "," + X + "," + K + "," + R + "," + C + ")", D.setAttribute("transform", Z), M && (D.style[_n] = Z);
|
|
29770
29773
|
}, f1 = function(a, o, c, f, u) {
|
|
29771
29774
|
var m = 360, g = Yn(u), y = parseFloat(u) * (g && ~u.indexOf("rad") ? _l : 1), S = y - f, b = f + S + "deg", O, k;
|
|
29772
29775
|
return g && (O = u.split("_")[1], O === "short" && (S %= m, S !== S % (m / 2) && (S += S < 0 ? m : -m)), O === "cw" && S < 0 ? S = (S + m * Ld) % m - ~~(S / m) * m : O === "ccw" && S > 0 && (S = (S - m * Ld) % m - ~~(S / m) * m)), a._pt = k = new Nr(a._pt, o, c, f, S, Z_), k.e = b, k.u = "deg", a._props.push(c), k;
|
|
@@ -29775,10 +29778,10 @@ var Ad, La, lh, wf, xl, Pd, Tf, X_ = function() {
|
|
|
29775
29778
|
a[c] = o[c];
|
|
29776
29779
|
return a;
|
|
29777
29780
|
}, d1 = function(a, o, c) {
|
|
29778
|
-
var f = kd({}, c._gsap), u = "perspective,force3D,transformOrigin,svgOrigin", m = c.style, g, y, S, b, O, k, D,
|
|
29781
|
+
var f = kd({}, c._gsap), u = "perspective,force3D,transformOrigin,svgOrigin", m = c.style, g, y, S, b, O, k, D, N;
|
|
29779
29782
|
f.svg ? (S = c.getAttribute("transform"), c.setAttribute("transform", ""), m[_n] = o, g = iu(c, 1), bl(c, _n), c.setAttribute("transform", S)) : (S = getComputedStyle(c)[_n], m[_n] = o, g = iu(c, 1), m[_n] = S);
|
|
29780
29783
|
for (y in qs)
|
|
29781
|
-
S = f[y], b = g[y], S !== b && u.indexOf(y) < 0 && (D = cr(S),
|
|
29784
|
+
S = f[y], b = g[y], S !== b && u.indexOf(y) < 0 && (D = cr(S), N = cr(b), O = D !== N ? za(c, y, S, N) : parseFloat(S), k = parseFloat(b), a._pt = new Nr(a._pt, g, y, O, k - O, Kc), a._pt.u = N || 0, a._props.push(y));
|
|
29782
29785
|
kd(g, f);
|
|
29783
29786
|
};
|
|
29784
29787
|
Br("padding,margin,Width,Radius", function(x, a) {
|
|
@@ -29788,11 +29791,11 @@ Br("padding,margin,Width,Radius", function(x, a) {
|
|
|
29788
29791
|
qu[a > 1 ? "border" + x : x] = function(g, y, S, b, O) {
|
|
29789
29792
|
var k, D;
|
|
29790
29793
|
if (arguments.length < 4)
|
|
29791
|
-
return k = m.map(function(
|
|
29792
|
-
return js(g,
|
|
29794
|
+
return k = m.map(function(N) {
|
|
29795
|
+
return js(g, N, S);
|
|
29793
29796
|
}), D = k.join(" "), D.split(k[0]).length === 5 ? k[0] : D;
|
|
29794
|
-
k = (b + "").split(" "), D = {}, m.forEach(function(
|
|
29795
|
-
return D[
|
|
29797
|
+
k = (b + "").split(" "), D = {}, m.forEach(function(N, E) {
|
|
29798
|
+
return D[N] = k[E] = k[E] || k[(E - 1) / 2 | 0];
|
|
29796
29799
|
}), g.init(y, D, O);
|
|
29797
29800
|
};
|
|
29798
29801
|
});
|
|
@@ -29803,12 +29806,12 @@ var Gp = {
|
|
|
29803
29806
|
return a.style && a.nodeType;
|
|
29804
29807
|
},
|
|
29805
29808
|
init: function(a, o, c, f, u) {
|
|
29806
|
-
var m = this._props, g = a.style, y = c.vars.startAt, S, b, O, k, D,
|
|
29809
|
+
var m = this._props, g = a.style, y = c.vars.startAt, S, b, O, k, D, N, E, L, w, M, R, C, U, F, X, K;
|
|
29807
29810
|
wf || tf(), this.styles = this.styles || Dp(a), K = this.styles.props, this.tween = c;
|
|
29808
29811
|
for (E in o)
|
|
29809
29812
|
if (E !== "autoRound" && (b = o[E], !($r[E] && Mp(E, o, c, f, a, u)))) {
|
|
29810
|
-
if (D = typeof b,
|
|
29811
|
-
|
|
29813
|
+
if (D = typeof b, N = qu[E], D === "function" && (b = b.call(c, f, a, u), D = typeof b), D === "string" && ~b.indexOf("random(") && (b = Kh(b)), N)
|
|
29814
|
+
N(this, a, E, b, c) && (X = 1);
|
|
29812
29815
|
else if (E.substr(0, 2) === "--")
|
|
29813
29816
|
S = (getComputedStyle(a).getPropertyValue(E) + "").trim(), b += "", Ia.lastIndex = 0, Ia.test(S) || (L = cr(S), w = cr(b)), w ? L !== w && (S = za(a, E, S, w) + w) : L && (b += L), this.add(g, "setProperty", S, b, f, u, 0, 0, E), m.push(E), K.push(E, 0, g[E]);
|
|
29814
29817
|
else if (D !== "undefined") {
|
|
@@ -30050,8 +30053,8 @@ class S1 {
|
|
|
30050
30053
|
outlineColor: O.alpha,
|
|
30051
30054
|
backgroundColor: S.alpha,
|
|
30052
30055
|
onUpdate: () => {
|
|
30053
|
-
var D,
|
|
30054
|
-
y.backgroundColor.alpha = o.backgroundColor, y.color.alpha = o.color, y.outlineColor.alpha = o.outlineColor, (
|
|
30056
|
+
var D, N;
|
|
30057
|
+
y.backgroundColor.alpha = o.backgroundColor, y.color.alpha = o.color, y.outlineColor.alpha = o.outlineColor, (N = (D = window.map.getLayer(y.id, "vectorId")) == null ? void 0 : D.getGraphicByAttr(y.uid)) == null || N.setStyle({
|
|
30055
30058
|
label: {
|
|
30056
30059
|
show: !0,
|
|
30057
30060
|
outline: y.outline,
|
|
@@ -30233,12 +30236,12 @@ const E1 = () => {
|
|
|
30233
30236
|
}
|
|
30234
30237
|
});
|
|
30235
30238
|
let { mainScreen: O, secondaryScreen: k } = JSON.parse(x.property);
|
|
30236
|
-
O.forEach((
|
|
30237
|
-
rf(
|
|
30239
|
+
O.forEach((N) => {
|
|
30240
|
+
rf(N, a);
|
|
30238
30241
|
});
|
|
30239
|
-
let D = a.find((
|
|
30240
|
-
k.forEach((
|
|
30241
|
-
rf(
|
|
30242
|
+
let D = a.find((N) => N.type == "splitScreen");
|
|
30243
|
+
k.forEach((N) => {
|
|
30244
|
+
rf(N, D.executionProperty.mapClone);
|
|
30242
30245
|
});
|
|
30243
30246
|
} else
|
|
30244
30247
|
y = {
|
|
@@ -31181,7 +31184,7 @@ class D1 {
|
|
|
31181
31184
|
), u = 0;
|
|
31182
31185
|
f.forEach((g, y) => {
|
|
31183
31186
|
let S = 0, b = 0, { pointSet: O, interval: k, speed: D } = g;
|
|
31184
|
-
for (let
|
|
31187
|
+
for (let N = 1; N <= this.vehicleSum; N++) {
|
|
31185
31188
|
let E = JSON.parse(JSON.stringify(O));
|
|
31186
31189
|
E.forEach((w, M) => {
|
|
31187
31190
|
M > 0 && (u = parseFloat(
|
|
@@ -31189,7 +31192,7 @@ class D1 {
|
|
|
31189
31192
|
), S += u), M == 0 && (S = b), w.unshift(S);
|
|
31190
31193
|
}), b += k, c = E.reduce((w, M) => w.concat(M));
|
|
31191
31194
|
let L = {
|
|
31192
|
-
name: `${y}-${
|
|
31195
|
+
name: `${y}-${N}`,
|
|
31193
31196
|
availability: `${this.beginDate}/${this.endDate}`,
|
|
31194
31197
|
// 运动姿态
|
|
31195
31198
|
orientation: {
|