chbim-plugins 0.0.16 → 0.0.17
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 +196 -192
- package/chbim-plugins.umd.cjs +8 -8
- package/package.json +1 -1
- package/vite.svg +0 -1
package/chbim-plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { openBlock as $o, createElementBlock as Ko, normalizeClass as Ia, renderSlot as Da, defineComponent as Hs, ref as Gs, onMounted as ks, createElementVNode as Oi, toDisplayString as th, createApp as Oa } from "vue";
|
|
2
|
-
const eh = (p,
|
|
2
|
+
const eh = (p, pt) => {
|
|
3
3
|
const Z = p.__vccOpts || p;
|
|
4
|
-
for (const [ft, at] of
|
|
4
|
+
for (const [ft, at] of pt)
|
|
5
5
|
Z[ft] = at;
|
|
6
6
|
return Z;
|
|
7
7
|
}, ih = {
|
|
@@ -18,10 +18,10 @@ const eh = (p, dt) => {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(p) {
|
|
21
|
-
return (
|
|
21
|
+
return (pt, Z) => ($o(), Ko("button", {
|
|
22
22
|
class: Ia(["muk-btn", [p.size, p.type]])
|
|
23
23
|
}, [
|
|
24
|
-
Da(
|
|
24
|
+
Da(pt.$slots, "default", {}, void 0, !0)
|
|
25
25
|
], 2));
|
|
26
26
|
}
|
|
27
27
|
}), nh = /* @__PURE__ */ eh(rh, [["__scopeId", "data-v-0e6d93cd"]]);
|
|
@@ -165,7 +165,7 @@ const sh = { class: "mask js-mask" }, ah = /* @__PURE__ */ Oi("div", { class: "m
|
|
|
165
165
|
default: "CHBIM云平台"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
|
-
setup(p, { expose:
|
|
168
|
+
setup(p, { expose: pt }) {
|
|
169
169
|
const Z = Gs(null), ft = () => {
|
|
170
170
|
Z.value === null && (Z.value = new oh());
|
|
171
171
|
}, at = () => {
|
|
@@ -173,7 +173,7 @@ const sh = { class: "mask js-mask" }, ah = /* @__PURE__ */ Oi("div", { class: "m
|
|
|
173
173
|
};
|
|
174
174
|
return ks(() => {
|
|
175
175
|
ft();
|
|
176
|
-
}),
|
|
176
|
+
}), pt({
|
|
177
177
|
continuation: at
|
|
178
178
|
}), (x, mt) => ($o(), Ko("div", sh, [
|
|
179
179
|
ah,
|
|
@@ -206,7 +206,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
206
206
|
Ke._gsDefine(
|
|
207
207
|
"TweenMax",
|
|
208
208
|
["core.Animation", "core.SimpleTimeline", "TweenLite"],
|
|
209
|
-
function(p,
|
|
209
|
+
function(p, pt, Z) {
|
|
210
210
|
var ft = function(Q) {
|
|
211
211
|
var H, m = [], f = Q.length;
|
|
212
212
|
for (H = 0; H !== f; m.push(Q[H++]))
|
|
@@ -309,7 +309,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
309
309
|
H == null && (H = !0), m == null && (m = !0);
|
|
310
310
|
var C, M, G, b = Ot(f != 0), F = b.length, q = H && m && f;
|
|
311
311
|
for (G = 0; F > G; G++)
|
|
312
|
-
M = b[G], (q || M instanceof
|
|
312
|
+
M = b[G], (q || M instanceof pt || (C = M.target === M.vars.onComplete) && m || H && !C) && (Q ? M.totalTime(M._reversed ? 0 : M.totalDuration()) : M._enabled(!1, !1));
|
|
313
313
|
}, x.killChildTweensOf = function(Q, H) {
|
|
314
314
|
if (Q != null) {
|
|
315
315
|
var m, f, C, M, G, b = Ct.tweenLookup;
|
|
@@ -329,7 +329,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
329
329
|
var xt = function(Q, H, m, f) {
|
|
330
330
|
H = H !== !1, m = m !== !1, f = f !== !1;
|
|
331
331
|
for (var C, M, G = Ot(f), b = H && m && f, F = G.length; --F > -1; )
|
|
332
|
-
M = G[F], (b || M instanceof
|
|
332
|
+
M = G[F], (b || M instanceof pt || (C = M.target === M.vars.onComplete) && m || H && !C) && M.paused(Q);
|
|
333
333
|
};
|
|
334
334
|
return x.pauseAll = function(Q, H, m) {
|
|
335
335
|
xt(!0, Q, H, m);
|
|
@@ -365,9 +365,9 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
365
365
|
), Ke._gsDefine(
|
|
366
366
|
"TimelineLite",
|
|
367
367
|
["core.Animation", "core.SimpleTimeline", "TweenLite"],
|
|
368
|
-
function(p,
|
|
368
|
+
function(p, pt, Z) {
|
|
369
369
|
var ft = function(m) {
|
|
370
|
-
|
|
370
|
+
pt.call(this, m), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
|
|
371
371
|
var f, C, M = this.vars;
|
|
372
372
|
for (C in M)
|
|
373
373
|
f = M[C], Y(f) && f.join("").indexOf("{self}") !== -1 && (M[C] = this._swapSelfInParams(f));
|
|
@@ -388,7 +388,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
388
388
|
for (f = 0; f !== M; C.push(m[f++]))
|
|
389
389
|
;
|
|
390
390
|
return C;
|
|
391
|
-
}, H = ft.prototype = new
|
|
391
|
+
}, H = ft.prototype = new pt();
|
|
392
392
|
return ft.version = "2.0.2", H.constructor = ft, H.kill()._gc = H._forcingPlayhead = H._hasPause = !1, H.to = function(m, f, C, M) {
|
|
393
393
|
var G = C.repeat && ct.TweenMax || Z;
|
|
394
394
|
return f ? this.add(new G(m, f, C), M) : this.set(m, C, M);
|
|
@@ -435,7 +435,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
435
435
|
throw "Cannot add " + m + " into the timeline; it is not a tween, timeline, function, or string.";
|
|
436
436
|
m = Z.delayedCall(0, m);
|
|
437
437
|
}
|
|
438
|
-
if (
|
|
438
|
+
if (pt.prototype.add.call(this, m, f), m._time && (G = Math.max(
|
|
439
439
|
0,
|
|
440
440
|
Math.min(
|
|
441
441
|
m.totalDuration(),
|
|
@@ -458,7 +458,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
458
458
|
}
|
|
459
459
|
return typeof m == "string" ? this.removeLabel(m) : this.kill(null, m);
|
|
460
460
|
}, H._remove = function(m, f) {
|
|
461
|
-
|
|
461
|
+
pt.prototype._remove.call(this, m, f);
|
|
462
462
|
var C = this._last;
|
|
463
463
|
return C ? this._time > this.duration() && (this._time = this._duration, this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this;
|
|
464
464
|
}, H.append = function(m, f) {
|
|
@@ -617,7 +617,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
617
617
|
if (m === this._gc)
|
|
618
618
|
for (var C = this._first; C; )
|
|
619
619
|
C._enabled(m, !0), C = C._next;
|
|
620
|
-
return
|
|
620
|
+
return pt.prototype._enabled.call(this, m, f);
|
|
621
621
|
}, H.totalTime = function(m, f, C) {
|
|
622
622
|
this._forcingPlayhead = !0;
|
|
623
623
|
var M = p.prototype.totalTime.apply(this, arguments);
|
|
@@ -651,14 +651,14 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
651
651
|
), Ke._gsDefine(
|
|
652
652
|
"TimelineMax",
|
|
653
653
|
["TimelineLite", "TweenLite", "easing.Ease"],
|
|
654
|
-
function(p,
|
|
654
|
+
function(p, pt, Z) {
|
|
655
655
|
var ft = function(ct) {
|
|
656
656
|
p.call(this, ct), this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._cycle = 0, this._yoyo = this.vars.yoyo === !0, this._dirty = !0;
|
|
657
|
-
}, at = 1e-10, x =
|
|
657
|
+
}, at = 1e-10, x = pt._internals, mt = x.lazyTweens, Ct = x.lazyRender, Y = Ke._gsDefine.globals, ht = new Z(null, null, 1, 0), wt = ft.prototype = new p();
|
|
658
658
|
return wt.constructor = ft, wt.kill()._gc = !1, ft.version = "2.0.2", wt.invalidate = function() {
|
|
659
659
|
return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), p.prototype.invalidate.call(this);
|
|
660
660
|
}, wt.addCallback = function(ct, Pt, Ot, xt) {
|
|
661
|
-
return this.add(
|
|
661
|
+
return this.add(pt.delayedCall(0, ct, Ot, xt), Pt);
|
|
662
662
|
}, wt.removeCallback = function(ct, Pt) {
|
|
663
663
|
if (ct)
|
|
664
664
|
if (Pt == null)
|
|
@@ -676,7 +676,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
676
676
|
useFrames: this.usesFrames(),
|
|
677
677
|
immediateRender: !1,
|
|
678
678
|
lazy: !1
|
|
679
|
-
}, m = Pt.repeat && Y.TweenMax ||
|
|
679
|
+
}, m = Pt.repeat && Y.TweenMax || pt;
|
|
680
680
|
for (xt in Pt)
|
|
681
681
|
H[xt] = Pt[xt];
|
|
682
682
|
return H.time = this._parseTimeOrLabel(ct), Ot = Math.abs(Number(H.time) - this._time) / this._timeScale || 1e-3, Q = new m(this, Ot, H), H.onStart = function() {
|
|
@@ -805,7 +805,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
805
805
|
},
|
|
806
806
|
!0
|
|
807
807
|
), function() {
|
|
808
|
-
var p = 180 / Math.PI,
|
|
808
|
+
var p = 180 / Math.PI, pt = [], Z = [], ft = [], at = {}, x = Ke._gsDefine.globals, mt = function(m, f, C, M) {
|
|
809
809
|
C === M && (C = M - (M - f) / 1e6), m === f && (f = m + (C - m) / 1e6), this.a = m, this.b = f, this.c = C, this.d = M, this.da = M - m, this.ca = C - m, this.ba = f - m;
|
|
810
810
|
}, Ct = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", Y = function(m, f, C, M) {
|
|
811
811
|
var G = { a: m }, b = {}, F = {}, q = { c: M }, st = (m + f) / 2, it = (f + C) / 2, Lt = (C + M) / 2, bt = (st + it) / 2, Gt = (it + Lt) / 2, Vt = (Gt - bt) / 8;
|
|
@@ -813,7 +813,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
813
813
|
}, ht = function(m, f, C, M, G) {
|
|
814
814
|
var b, F, q, st, it, Lt, bt, Gt, Vt, ie, ut, kt, Me, mi = m.length - 1, Rt = 0, Ue = m[0].a;
|
|
815
815
|
for (b = 0; mi > b; b++)
|
|
816
|
-
it = m[Rt], F = it.a, q = it.d, st = m[Rt + 1].d, G ? (ut =
|
|
816
|
+
it = m[Rt], F = it.a, q = it.d, st = m[Rt + 1].d, G ? (ut = pt[b], kt = Z[b], Me = (kt + ut) * f * 0.25 / (M ? 0.5 : ft[b] || 0.5), Lt = q - (q - F) * (M ? 0.5 * f : ut !== 0 ? Me / ut : 0), bt = q + (st - q) * (M ? 0.5 * f : kt !== 0 ? Me / kt : 0), Gt = q - (Lt + ((bt - Lt) * (3 * ut / (ut + kt) + 0.5) / 4 || 0))) : (Lt = q - (q - F) * f * 0.5, bt = q + (st - q) * f * 0.5, Gt = q - (Lt + bt) / 2), Lt += Gt, bt += Gt, it.c = Vt = Lt, b !== 0 ? it.b = Ue : it.b = Ue = it.a + 0.6 * (it.c - it.a), it.da = q - F, it.ca = Vt - F, it.ba = Ue - F, C ? (ie = Y(F, Ue, Vt, q), m.splice(Rt, 1, ie[0], ie[1], ie[2], ie[3]), Rt += 4) : Rt++, Ue = bt;
|
|
817
817
|
it = m[Rt], it.b = Ue, it.c = Ue + 0.4 * (it.d - Ue), it.da = it.d - it.a, it.ca = it.c - it.a, it.ba = Ue - it.a, C && (ie = Y(it.a, Ue, it.c, it.d), m.splice(Rt, 1, ie[0], ie[1], ie[2], ie[3]));
|
|
818
818
|
}, wt = function(m, f, C, M) {
|
|
819
819
|
var G, b, F, q, st, it, Lt = [];
|
|
@@ -823,7 +823,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
823
823
|
if (G = m.length - 2, 0 > G)
|
|
824
824
|
return Lt[0] = new mt(m[0][f], 0, 0, m[0][f]), Lt;
|
|
825
825
|
for (b = 0; G > b; b++)
|
|
826
|
-
F = m[b][f], q = m[b + 1][f], Lt[b] = new mt(F, 0, 0, q), C && (st = m[b + 2][f],
|
|
826
|
+
F = m[b][f], q = m[b + 1][f], Lt[b] = new mt(F, 0, 0, q), C && (st = m[b + 2][f], pt[b] = (pt[b] || 0) + (q - F) * (q - F), Z[b] = (Z[b] || 0) + (st - q) * (st - q));
|
|
827
827
|
return Lt[b] = new mt(m[b][f], 0, 0, m[b + 1][f]), Lt;
|
|
828
828
|
}, ct = function(m, f, C, M, G, b) {
|
|
829
829
|
var F, q, st, it, Lt, bt, Gt, Vt, ie = {}, ut = [], kt = b || m[0];
|
|
@@ -838,15 +838,15 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
838
838
|
}
|
|
839
839
|
Gt && (m = m.concat(), b && m.unshift(b), m.push(m[1]), b = m[m.length - 3]);
|
|
840
840
|
}
|
|
841
|
-
for (
|
|
841
|
+
for (pt.length = Z.length = ft.length = 0, F = ut.length; --F > -1; )
|
|
842
842
|
q = ut[F], at[q] = G.indexOf("," + q + ",") !== -1, ie[q] = wt(m, q, at[q], b);
|
|
843
|
-
for (F =
|
|
844
|
-
|
|
843
|
+
for (F = pt.length; --F > -1; )
|
|
844
|
+
pt[F] = Math.sqrt(pt[F]), Z[F] = Math.sqrt(Z[F]);
|
|
845
845
|
if (!M) {
|
|
846
846
|
for (F = ut.length; --F > -1; )
|
|
847
847
|
if (at[q])
|
|
848
848
|
for (st = ie[ut[F]], bt = st.length - 1, it = 0; bt > it; it++)
|
|
849
|
-
Lt = st[it + 1].da / Z[it] + st[it].da /
|
|
849
|
+
Lt = st[it + 1].da / Z[it] + st[it].da / pt[it] || 0, ft[it] = (ft[it] || 0) + Lt * Lt;
|
|
850
850
|
for (F = ft.length; --F > -1; )
|
|
851
851
|
ft[F] = Math.sqrt(ft[F]);
|
|
852
852
|
}
|
|
@@ -983,7 +983,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
983
983
|
}(), Ke._gsDefine(
|
|
984
984
|
"plugins.CSSPlugin",
|
|
985
985
|
["plugins.TweenPlugin", "TweenLite"],
|
|
986
|
-
function(p,
|
|
986
|
+
function(p, pt) {
|
|
987
987
|
var Z, ft, at, x, mt = function() {
|
|
988
988
|
p.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = mt.prototype.setRatio;
|
|
989
989
|
}, Ct = Ke._gsDefine.globals, Y = {}, ht = mt.prototype = new p("css");
|
|
@@ -1042,7 +1042,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1042
1042
|
if (W.cssText = "border:0 solid red;position:" + Ce(v, "position") + ";line-height:0;", L !== "%" && et.appendChild && L.charAt(0) !== "v" && L !== "rem")
|
|
1043
1043
|
W[nt ? "borderLeftWidth" : "borderTopWidth"] = R + L;
|
|
1044
1044
|
else {
|
|
1045
|
-
if (et = v.parentNode || ni.body, Ce(et, "display").indexOf("flex") !== -1 && (W.position = "absolute"), O = et._gsCache, K =
|
|
1045
|
+
if (et = v.parentNode || ni.body, Ce(et, "display").indexOf("flex") !== -1 && (W.position = "absolute"), O = et._gsCache, K = pt.ticker.frame, O && nt && O.time === K)
|
|
1046
1046
|
return O.width * R / 100;
|
|
1047
1047
|
W[nt ? "width" : "height"] = R + L;
|
|
1048
1048
|
}
|
|
@@ -1106,7 +1106,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1106
1106
|
}, Tt = function(v, E, R, L) {
|
|
1107
1107
|
var y, X, O, K, nt, et = 1e-6;
|
|
1108
1108
|
return typeof v == "function" && (v = v(m, H)), v == null ? K = E : typeof v == "number" ? K = v : (y = 360, X = v.split("_"), nt = v.charAt(1) === "=", O = (nt ? parseInt(v.charAt(0) + "1", 10) * parseFloat(X[0].substr(2)) : parseFloat(X[0])) * (v.indexOf("rad") === -1 ? 1 : Ue) - (nt ? 0 : E), X.length && (L && (L[R] = E + O), v.indexOf("short") !== -1 && (O %= y, O !== O % (y / 2) && (O = 0 > O ? O + y : O - y)), v.indexOf("_cw") !== -1 && 0 > O ? O = (O + 9999999999 * y) % y - (O / y | 0) * y : v.indexOf("ccw") !== -1 && O > 0 && (O = (O - 9999999999 * y) % y - (O / y | 0) * y)), K = E + O), et > K && K > -et && (K = 0), K;
|
|
1109
|
-
},
|
|
1109
|
+
}, dt = {
|
|
1110
1110
|
aqua: [0, 255, 255],
|
|
1111
1111
|
lime: [0, 255, 0],
|
|
1112
1112
|
silver: [192, 192, 192],
|
|
@@ -1135,8 +1135,8 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1135
1135
|
if (typeof v == "number")
|
|
1136
1136
|
R = [v >> 16, v >> 8 & 255, 255 & v];
|
|
1137
1137
|
else {
|
|
1138
|
-
if (v.charAt(v.length - 1) === "," && (v = v.substr(0, v.length - 1)),
|
|
1139
|
-
R =
|
|
1138
|
+
if (v.charAt(v.length - 1) === "," && (v = v.substr(0, v.length - 1)), dt[v])
|
|
1139
|
+
R = dt[v];
|
|
1140
1140
|
else if (v.charAt(0) === "#")
|
|
1141
1141
|
v.length === 4 && (L = v.charAt(1), y = v.charAt(2), X = v.charAt(3), v = "#" + L + L + y + y + X + X), v = parseInt(v.substr(1), 16), R = [v >> 16, v >> 8 & 255, 255 & v];
|
|
1142
1142
|
else if (v.substr(0, 3) === "hsl")
|
|
@@ -1146,11 +1146,11 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1146
1146
|
} else
|
|
1147
1147
|
O = Number(R[0]) % 360 / 360, K = Number(R[1]) / 100, nt = Number(R[2]) / 100, y = 0.5 >= nt ? nt * (K + 1) : nt + K - nt * K, L = 2 * nt - y, R.length > 3 && (R[3] = Number(R[3])), R[0] = ae(O + 1 / 3, L, y), R[1] = ae(O, L, y), R[2] = ae(O - 1 / 3, L, y);
|
|
1148
1148
|
else
|
|
1149
|
-
R = v.match(f) ||
|
|
1149
|
+
R = v.match(f) || dt.transparent;
|
|
1150
1150
|
R[0] = Number(R[0]), R[1] = Number(R[1]), R[2] = Number(R[2]), R.length > 3 && (R[3] = Number(R[3]));
|
|
1151
1151
|
}
|
|
1152
1152
|
else
|
|
1153
|
-
R =
|
|
1153
|
+
R = dt.black;
|
|
1154
1154
|
return E && !Et && (L = R[0] / 255, y = R[1] / 255, X = R[2] / 255, et = Math.max(L, y, X), W = Math.min(L, y, X), nt = (et + W) / 2, et === W ? O = K = 0 : (St = et - W, K = nt > 0.5 ? St / (2 - et - W) : St / (et + W), O = et === L ? (y - X) / St + (X > y ? 6 : 0) : et === y ? (X - L) / St + 2 : (L - y) / St + 4, O *= 60), R[0] = O + 0.5 | 0, R[1] = 100 * K + 0.5 | 0, R[2] = 100 * nt + 0.5 | 0), R;
|
|
1155
1155
|
}, Ut = function(v, E) {
|
|
1156
1156
|
var R, L, y, X = v.match(he) || [], O = 0, K = "";
|
|
@@ -1160,12 +1160,12 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1160
1160
|
L = X[R], y = v.substr(O, v.indexOf(L, O) - O), O += y.length + L.length, L = se(L, E), L.length === 3 && L.push(1), K += y + (E ? "hsla(" + L[0] + "," + L[1] + "%," + L[2] + "%," + L[3] : "rgba(" + L.join(",")) + ")";
|
|
1161
1161
|
return K + v.substr(O);
|
|
1162
1162
|
}, he = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";
|
|
1163
|
-
for (ht in
|
|
1163
|
+
for (ht in dt)
|
|
1164
1164
|
he += "|" + ht + "\\b";
|
|
1165
1165
|
he = new RegExp(he + ")", "gi"), mt.colorStringFilter = function(v) {
|
|
1166
1166
|
var E, R = v[0] + " " + v[1];
|
|
1167
1167
|
he.test(R) && (E = R.indexOf("hsl(") !== -1 || R.indexOf("hsla(") !== -1, v[0] = Ut(v[0], E), v[1] = Ut(v[1], E)), he.lastIndex = 0;
|
|
1168
|
-
},
|
|
1168
|
+
}, pt.defaultStringFilter || (pt.defaultStringFilter = mt.colorStringFilter);
|
|
1169
1169
|
var De = function(v, E, R, L) {
|
|
1170
1170
|
if (v == null)
|
|
1171
1171
|
return function(Et) {
|
|
@@ -1451,9 +1451,9 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1451
1451
|
for (X in W)
|
|
1452
1452
|
W[X] < Et && W[X] > -Et && (W[X] = 0);
|
|
1453
1453
|
}
|
|
1454
|
-
return R && (v._gsTransform = W, W.svg && (ir && v.style[ci] ?
|
|
1454
|
+
return R && (v._gsTransform = W, W.svg && (ir && v.style[ci] ? pt.delayedCall(1e-3, function() {
|
|
1455
1455
|
Rr(v.style, ci);
|
|
1456
|
-
}) : !ir && v.getAttribute("transform") &&
|
|
1456
|
+
}) : !ir && v.getAttribute("transform") && pt.delayedCall(1e-3, function() {
|
|
1457
1457
|
v.removeAttribute("transform");
|
|
1458
1458
|
}))), W;
|
|
1459
1459
|
}, rs = function(v) {
|
|
@@ -1912,7 +1912,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1912
1912
|
X = L[y], O = X.type, X.style && (E.push(er(X)), R && R.push(X)), O !== 1 && O !== 9 && O !== 11 || !X.childNodes.length || Tr(X, E, R);
|
|
1913
1913
|
};
|
|
1914
1914
|
return mt.cascadeTo = function(v, E, R) {
|
|
1915
|
-
var L, y, X, O, K =
|
|
1915
|
+
var L, y, X, O, K = pt.to(v, E, R), nt = [K], et = [], W = [], St = [], Et = pt._internals.reservedProps;
|
|
1916
1916
|
for (v = K._targets || K.target, Tr(v, et, St), K.render(E, !0, !0), Tr(v, W), K.render(0, !0, !0), K._enabled(!0), L = St.length; --L > -1; )
|
|
1917
1917
|
if (y = bi(St[L], et[L], W[L]), y.firstMPT) {
|
|
1918
1918
|
y = y.difs;
|
|
@@ -1921,7 +1921,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1921
1921
|
O = {};
|
|
1922
1922
|
for (X in y)
|
|
1923
1923
|
O[X] = et[L][X];
|
|
1924
|
-
nt.push(
|
|
1924
|
+
nt.push(pt.fromTo(St[L], E, O, y));
|
|
1925
1925
|
}
|
|
1926
1926
|
return nt;
|
|
1927
1927
|
}, p.activate([mt]), mt;
|
|
@@ -1936,7 +1936,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1936
1936
|
init: function(at, x, mt) {
|
|
1937
1937
|
return this._tween = mt, !0;
|
|
1938
1938
|
}
|
|
1939
|
-
}),
|
|
1939
|
+
}), pt = function(at) {
|
|
1940
1940
|
var x = 1 > at ? Math.pow(10, (at + "").length - 2) : 1;
|
|
1941
1941
|
return function(mt) {
|
|
1942
1942
|
return (Math.round(mt / at) * at * x | 0) / x;
|
|
@@ -1952,7 +1952,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1952
1952
|
wt[ht[mt]] = Math.round;
|
|
1953
1953
|
else
|
|
1954
1954
|
for (Ct in ht)
|
|
1955
|
-
wt[Ct] =
|
|
1955
|
+
wt[Ct] = pt(ht[Ct]);
|
|
1956
1956
|
for (Ct in wt)
|
|
1957
1957
|
for (at = Y._firstPT; at; )
|
|
1958
1958
|
x = at._next, at.pg ? at.t._mod(wt) : at.n === Ct && (at.f === 2 && at.t ? Z(at.t._firstPT, wt[Ct]) : (this._add(at.t, Ct, at.s, at.c, wt[Ct]), x && (x._prev = at._prev), at._prev ? at._prev._next = x : Y._firstPT === at && (Y._firstPT = x), at._next = at._prev = null, Y._propLookup[Ct] = ct)), at = x;
|
|
@@ -1965,12 +1965,12 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1965
1965
|
propName: "attr",
|
|
1966
1966
|
API: 2,
|
|
1967
1967
|
version: "0.6.1",
|
|
1968
|
-
init: function(p,
|
|
1968
|
+
init: function(p, pt, Z, ft) {
|
|
1969
1969
|
var at, x;
|
|
1970
1970
|
if (typeof p.setAttribute != "function")
|
|
1971
1971
|
return !1;
|
|
1972
|
-
for (at in
|
|
1973
|
-
x =
|
|
1972
|
+
for (at in pt)
|
|
1973
|
+
x = pt[at], typeof x == "function" && (x = x(ft, p)), this._addTween(
|
|
1974
1974
|
p,
|
|
1975
1975
|
"setAttribute",
|
|
1976
1976
|
p.getAttribute(at) + "",
|
|
@@ -1986,28 +1986,28 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1986
1986
|
propName: "directionalRotation",
|
|
1987
1987
|
version: "0.3.1",
|
|
1988
1988
|
API: 2,
|
|
1989
|
-
init: function(p,
|
|
1990
|
-
typeof
|
|
1991
|
-
var at, x, mt, Ct, Y, ht, wt =
|
|
1992
|
-
for (at in
|
|
1993
|
-
at !== "useRadians" && (Ct =
|
|
1989
|
+
init: function(p, pt, Z, ft) {
|
|
1990
|
+
typeof pt != "object" && (pt = { rotation: pt }), this.finals = {};
|
|
1991
|
+
var at, x, mt, Ct, Y, ht, wt = pt.useRadians === !0 ? 2 * Math.PI : 360, ct = 1e-6;
|
|
1992
|
+
for (at in pt)
|
|
1993
|
+
at !== "useRadians" && (Ct = pt[at], typeof Ct == "function" && (Ct = Ct(ft, p)), ht = (Ct + "").split("_"), x = ht[0], mt = parseFloat(
|
|
1994
1994
|
typeof p[at] != "function" ? p[at] : p[at.indexOf("set") || typeof p["get" + at.substr(3)] != "function" ? at : "get" + at.substr(3)]()
|
|
1995
1995
|
), Ct = this.finals[at] = typeof x == "string" && x.charAt(1) === "=" ? mt + parseInt(x.charAt(0) + "1", 10) * Number(x.substr(2)) : Number(x) || 0, Y = Ct - mt, ht.length && (x = ht.join("_"), x.indexOf("short") !== -1 && (Y %= wt, Y !== Y % (wt / 2) && (Y = 0 > Y ? Y + wt : Y - wt)), x.indexOf("_cw") !== -1 && 0 > Y ? Y = (Y + 9999999999 * wt) % wt - (Y / wt | 0) * wt : x.indexOf("ccw") !== -1 && Y > 0 && (Y = (Y - 9999999999 * wt) % wt - (Y / wt | 0) * wt)), (Y > ct || -ct > Y) && (this._addTween(p, at, mt, mt + Y, at), this._overwriteProps.push(at)));
|
|
1996
1996
|
return !0;
|
|
1997
1997
|
},
|
|
1998
1998
|
set: function(p) {
|
|
1999
|
-
var
|
|
1999
|
+
var pt;
|
|
2000
2000
|
if (p !== 1)
|
|
2001
2001
|
this._super.setRatio.call(this, p);
|
|
2002
2002
|
else
|
|
2003
|
-
for (
|
|
2004
|
-
|
|
2003
|
+
for (pt = this._firstPT; pt; )
|
|
2004
|
+
pt.f ? pt.t[pt.p](this.finals[pt.p]) : pt.t[pt.p] = this.finals[pt.p], pt = pt._next;
|
|
2005
2005
|
}
|
|
2006
2006
|
})._autoCSS = !0, Ke._gsDefine(
|
|
2007
2007
|
"easing.Back",
|
|
2008
2008
|
["easing.Ease"],
|
|
2009
2009
|
function(p) {
|
|
2010
|
-
var
|
|
2010
|
+
var pt, Z, ft, at, x = Ke.GreenSockGlobals || Ke, mt = x.com.greensock, Ct = 2 * Math.PI, Y = Math.PI / 2, ht = mt._class, wt = function(f, C) {
|
|
2011
2011
|
var M = ht("easing." + f, function() {
|
|
2012
2012
|
}, !0), G = M.prototype = new p();
|
|
2013
2013
|
return G.constructor = M, G.getRatio = C, M;
|
|
@@ -2055,16 +2055,16 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2055
2055
|
return f < this._p1 ? this._calcEnd ? 1 - (f = 1 - f / this._p1) * f : C - (f = 1 - f / this._p1) * f * f * f * C : f > this._p3 ? this._calcEnd ? f === 1 ? 0 : 1 - (f = (f - this._p3) / this._p1) * f : C + (f - C) * (f = (f - this._p3) / this._p1) * f * f * f : this._calcEnd ? 1 : C;
|
|
2056
2056
|
}, H.ease = new H(0.7, 0.7), m.config = H.config = function(f, C, M) {
|
|
2057
2057
|
return new H(f, C, M);
|
|
2058
|
-
},
|
|
2058
|
+
}, pt = ht(
|
|
2059
2059
|
"easing.SteppedEase",
|
|
2060
2060
|
function(f, C) {
|
|
2061
2061
|
f = f || 1, this._p1 = 1 / f, this._p2 = f + (C ? 0 : 1), this._p3 = C ? 1 : 0;
|
|
2062
2062
|
},
|
|
2063
2063
|
!0
|
|
2064
|
-
), m =
|
|
2064
|
+
), m = pt.prototype = new p(), m.constructor = pt, m.getRatio = function(f) {
|
|
2065
2065
|
return 0 > f ? f = 0 : f >= 1 && (f = 0.999999999), ((this._p2 * f | 0) + this._p3) * this._p1;
|
|
2066
|
-
}, m.config =
|
|
2067
|
-
return new
|
|
2066
|
+
}, m.config = pt.config = function(f, C) {
|
|
2067
|
+
return new pt(f, C);
|
|
2068
2068
|
}, Z = ht(
|
|
2069
2069
|
"easing.ExpoScaleEase",
|
|
2070
2070
|
function(f, C, M) {
|
|
@@ -2187,12 +2187,12 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
2189
|
!0
|
|
2190
|
-
), ct(x.SlowMo, "SlowMo", "ease,"), ct(ft, "RoughEase", "ease,"), ct(
|
|
2190
|
+
), ct(x.SlowMo, "SlowMo", "ease,"), ct(ft, "RoughEase", "ease,"), ct(pt, "SteppedEase", "ease,"), Q;
|
|
2191
2191
|
},
|
|
2192
2192
|
!0
|
|
2193
2193
|
);
|
|
2194
|
-
}), Ke._gsDefine && Ke._gsQueue.pop()(), function(p,
|
|
2195
|
-
var Z = {}, ft = p.document, at = p.GreenSockGlobals = p.GreenSockGlobals || p, x = at[
|
|
2194
|
+
}), Ke._gsDefine && Ke._gsQueue.pop()(), function(p, pt) {
|
|
2195
|
+
var Z = {}, ft = p.document, at = p.GreenSockGlobals = p.GreenSockGlobals || p, x = at[pt];
|
|
2196
2196
|
if (x)
|
|
2197
2197
|
return typeof module < "u" && module.exports && (module.exports = x), x;
|
|
2198
2198
|
var mt, Ct, Y, ht, wt, ct = function(_) {
|
|
@@ -2215,17 +2215,17 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2215
2215
|
this.sc = m[_] ? m[_].sc : [], m[_] = this, this.gsClass = null, this.func = B;
|
|
2216
2216
|
var $ = [];
|
|
2217
2217
|
this.check = function(gt) {
|
|
2218
|
-
for (var Tt,
|
|
2218
|
+
for (var Tt, dt, ae, se, Ut = D.length, he = Ut; --Ut > -1; )
|
|
2219
2219
|
(Tt = m[D[Ut]] || new f(D[Ut], [])).gsClass ? ($[Ut] = Tt.gsClass, he--) : gt && Tt.sc.push(this);
|
|
2220
2220
|
if (he === 0 && B) {
|
|
2221
|
-
if (
|
|
2221
|
+
if (dt = ("com.greensock." + _).split("."), ae = dt.pop(), se = ct(dt.join("."))[ae] = this.gsClass = B.apply(B, $), U)
|
|
2222
2222
|
if (at[ae] = Z[ae] = se, typeof module < "u" && module.exports)
|
|
2223
|
-
if (_ ===
|
|
2224
|
-
module.exports = Z[
|
|
2223
|
+
if (_ === pt) {
|
|
2224
|
+
module.exports = Z[pt] = se;
|
|
2225
2225
|
for (Ut in Z)
|
|
2226
2226
|
se[Ut] = Z[Ut];
|
|
2227
2227
|
} else
|
|
2228
|
-
Z[
|
|
2228
|
+
Z[pt] && (Z[pt][ae] = se);
|
|
2229
2229
|
else
|
|
2230
2230
|
typeof define == "function" && define.amd && define(
|
|
2231
2231
|
(p.GreenSockAMDPath ? p.GreenSockAMDPath + "/" : "") + _.split(".").pop(),
|
|
@@ -2259,9 +2259,9 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2259
2259
|
},
|
|
2260
2260
|
!0
|
|
2261
2261
|
), F = b.map = {}, q = b.register = function(_, D, B, U) {
|
|
2262
|
-
for (var $, gt, Tt,
|
|
2262
|
+
for (var $, gt, Tt, dt, ae = D.split(","), se = ae.length, Ut = (B || "easeIn,easeOut,easeInOut").split(","); --se > -1; )
|
|
2263
2263
|
for (gt = ae[se], $ = U ? M("easing." + gt, null, !0) : Pt.easing[gt] || {}, Tt = Ut.length; --Tt > -1; )
|
|
2264
|
-
|
|
2264
|
+
dt = Ut[Tt], F[gt + "." + dt] = F[dt + gt] = $[dt] = _.getRatio ? _ : _[dt] || new _();
|
|
2265
2265
|
};
|
|
2266
2266
|
for (Y = b.prototype, Y._calcEnd = !1, Y.getRatio = function(_) {
|
|
2267
2267
|
if (this._func)
|
|
@@ -2276,10 +2276,10 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2276
2276
|
});
|
|
2277
2277
|
Y = st.prototype, Y.addEventListener = function(_, D, B, U, $) {
|
|
2278
2278
|
$ = $ || 0;
|
|
2279
|
-
var gt, Tt,
|
|
2280
|
-
for (this !== ht || wt || ht.wake(),
|
|
2281
|
-
gt =
|
|
2282
|
-
|
|
2279
|
+
var gt, Tt, dt = this._listeners[_], ae = 0;
|
|
2280
|
+
for (this !== ht || wt || ht.wake(), dt == null && (this._listeners[_] = dt = []), Tt = dt.length; --Tt > -1; )
|
|
2281
|
+
gt = dt[Tt], gt.c === D && gt.s === B ? dt.splice(Tt, 1) : ae === 0 && gt.pr < $ && (ae = Tt + 1);
|
|
2282
|
+
dt.splice(ae, 0, { c: D, s: B, up: U, pr: $ });
|
|
2283
2283
|
}, Y.removeEventListener = function(_, D) {
|
|
2284
2284
|
var B, U = this._listeners[_];
|
|
2285
2285
|
if (U) {
|
|
@@ -2299,26 +2299,26 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2299
2299
|
for (mt = ["ms", "moz", "webkit", "o"], Ct = mt.length; --Ct > -1 && !it; )
|
|
2300
2300
|
it = p[mt[Ct] + "RequestAnimationFrame"], Lt = p[mt[Ct] + "CancelAnimationFrame"] || p[mt[Ct] + "CancelRequestAnimationFrame"];
|
|
2301
2301
|
M("Ticker", function(_, D) {
|
|
2302
|
-
var B, U, $, gt, Tt,
|
|
2302
|
+
var B, U, $, gt, Tt, dt = this, ae = bt(), se = D !== !1 && it ? "auto" : !1, Ut = 500, he = 33, De = "tick", We = function(be) {
|
|
2303
2303
|
var je, fr, Vi = bt() - Gt;
|
|
2304
|
-
Vi > Ut && (ae += Vi - he), Gt += Vi,
|
|
2304
|
+
Vi > Ut && (ae += Vi - he), Gt += Vi, dt.time = (Gt - ae) / 1e3, je = dt.time - Tt, (!B || je > 0 || be === !0) && (dt.frame++, Tt += je + (je >= gt ? 4e-3 : gt - je), fr = !0), be !== !0 && ($ = U(We)), fr && dt.dispatchEvent(De);
|
|
2305
2305
|
};
|
|
2306
|
-
st.call(
|
|
2306
|
+
st.call(dt), dt.time = dt.frame = 0, dt.tick = function() {
|
|
2307
2307
|
We(!0);
|
|
2308
|
-
},
|
|
2308
|
+
}, dt.lagSmoothing = function(be, je) {
|
|
2309
2309
|
return arguments.length ? (Ut = be || 1 / Ot, void (he = Math.min(je, Ut, 0))) : 1 / Ot > Ut;
|
|
2310
|
-
},
|
|
2311
|
-
$ != null && (se && Lt ? Lt($) : clearTimeout($), U = Q, $ = null,
|
|
2312
|
-
},
|
|
2313
|
-
$ !== null ?
|
|
2314
|
-
return setTimeout(je, 1e3 * (Tt -
|
|
2315
|
-
},
|
|
2316
|
-
},
|
|
2317
|
-
return arguments.length ? (B = be, gt = 1 / (B || 60), Tt = this.time + gt, void
|
|
2318
|
-
},
|
|
2319
|
-
return arguments.length ? (
|
|
2320
|
-
},
|
|
2321
|
-
se === "auto" &&
|
|
2310
|
+
}, dt.sleep = function() {
|
|
2311
|
+
$ != null && (se && Lt ? Lt($) : clearTimeout($), U = Q, $ = null, dt === ht && (wt = !1));
|
|
2312
|
+
}, dt.wake = function(be) {
|
|
2313
|
+
$ !== null ? dt.sleep() : be ? ae += -Gt + (Gt = bt()) : dt.frame > 10 && (Gt = bt() - Ut + 5), U = B === 0 ? Q : se && it ? it : function(je) {
|
|
2314
|
+
return setTimeout(je, 1e3 * (Tt - dt.time) + 1 | 0);
|
|
2315
|
+
}, dt === ht && (wt = !0), We(2);
|
|
2316
|
+
}, dt.fps = function(be) {
|
|
2317
|
+
return arguments.length ? (B = be, gt = 1 / (B || 60), Tt = this.time + gt, void dt.wake()) : B;
|
|
2318
|
+
}, dt.useRAF = function(be) {
|
|
2319
|
+
return arguments.length ? (dt.sleep(), se = be, void dt.fps(B)) : se;
|
|
2320
|
+
}, dt.fps(_), setTimeout(function() {
|
|
2321
|
+
se === "auto" && dt.frame < 5 && (ft || {}).visibilityState !== "hidden" && dt.useRAF(!1);
|
|
2322
2322
|
}, 1500);
|
|
2323
2323
|
}), Y = Pt.Ticker.prototype = new Pt.events.EventDispatcher(), Y.constructor = Pt.Ticker;
|
|
2324
2324
|
var Vt = M("core.Animation", function(_, D) {
|
|
@@ -2464,12 +2464,12 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2464
2464
|
if (Vt.call(this, D, B), this.render = kt.prototype.render, _ == null)
|
|
2465
2465
|
throw "Cannot tween a null target.";
|
|
2466
2466
|
this.target = _ = typeof _ != "string" ? _ : kt.selector(_) || _;
|
|
2467
|
-
var U, $, gt, Tt = _.jquery || _.length && _ !== p && _[0] && (_[0] === p || _[0].nodeType && _[0].style && !_.nodeType),
|
|
2468
|
-
if (this._overwrite =
|
|
2467
|
+
var U, $, gt, Tt = _.jquery || _.length && _ !== p && _[0] && (_[0] === p || _[0].nodeType && _[0].style && !_.nodeType), dt = this.vars.overwrite;
|
|
2468
|
+
if (this._overwrite = dt = dt == null ? Lr[kt.defaultOverwrite] : typeof dt == "number" ? dt >> 0 : Lr[dt], (Tt || _ instanceof Array || _.push && H(_)) && typeof _[0] != "number")
|
|
2469
2469
|
for (this._targets = gt = xt(_), this._propLookup = [], this._siblings = [], U = 0; U < gt.length; U++)
|
|
2470
|
-
$ = gt[U], $ ? typeof $ != "string" ? $.length && $ !== p && $[0] && ($[0] === p || $[0].nodeType && $[0].style && !$.nodeType) ? (gt.splice(U--, 1), this._targets = gt = gt.concat(xt($))) : (this._siblings[U] = Ce($, this, !1),
|
|
2470
|
+
$ = gt[U], $ ? typeof $ != "string" ? $.length && $ !== p && $[0] && ($[0] === p || $[0].nodeType && $[0].style && !$.nodeType) ? (gt.splice(U--, 1), this._targets = gt = gt.concat(xt($))) : (this._siblings[U] = Ce($, this, !1), dt === 1 && this._siblings[U].length > 1 && wr($, this, null, 1, this._siblings[U])) : ($ = gt[U--] = kt.selector($), typeof $ == "string" && gt.splice(U + 1, 1)) : gt.splice(U--, 1);
|
|
2471
2471
|
else
|
|
2472
|
-
this._propLookup = {}, this._siblings = Ce(_, this, !1),
|
|
2472
|
+
this._propLookup = {}, this._siblings = Ce(_, this, !1), dt === 1 && this._siblings.length > 1 && wr(_, this, null, 1, this._siblings);
|
|
2473
2473
|
(this.vars.immediateRender || D === 0 && this._delay === 0 && this.vars.immediateRender !== !1) && (this._time = -Ot, this.render(Math.min(0, -this._delay)));
|
|
2474
2474
|
},
|
|
2475
2475
|
!0
|
|
@@ -2491,9 +2491,9 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2491
2491
|
for (var D, B = this._firstPT, U = 1e-6; B; )
|
|
2492
2492
|
D = B.blob ? _ === 1 && this.end != null ? this.end : _ ? this.join("") : this.start : B.c * _ + B.s, B.m ? D = B.m.call(this._tween, D, this._target || B.t, this._tween) : U > D && D > -U && !B.blob && (D = 0), B.f ? B.fp ? B.t[B.p](B.fp, D) : B.t[B.p](D) : B.t[B.p] = D, B = B._next;
|
|
2493
2493
|
}, fe = function(_, D, B, U) {
|
|
2494
|
-
var $, gt, Tt,
|
|
2495
|
-
for (he.start = _, he.end = D, _ = he[0] = _ + "", D = he[1] = D + "", B && (B(he), _ = he[0], D = he[1]), he.length = 0, $ = _.match(gi) || [], gt = D.match(gi) || [], U && (U._next = null, U.blob = 1, he._firstPT = he._applyPT = U), ae = gt.length,
|
|
2496
|
-
Ut = gt[
|
|
2494
|
+
var $, gt, Tt, dt, ae, se, Ut, he = [], De = 0, We = "", be = 0;
|
|
2495
|
+
for (he.start = _, he.end = D, _ = he[0] = _ + "", D = he[1] = D + "", B && (B(he), _ = he[0], D = he[1]), he.length = 0, $ = _.match(gi) || [], gt = D.match(gi) || [], U && (U._next = null, U.blob = 1, he._firstPT = he._applyPT = U), ae = gt.length, dt = 0; ae > dt; dt++)
|
|
2496
|
+
Ut = gt[dt], se = D.substr(De, D.indexOf(Ut, De) - De), We += se || !dt ? se : ",", De += se.length, be ? be = (be + 1) % 5 : se.substr(-5) === "rgba(" && (be = 1), Ut === $[dt] || $.length <= dt ? We += Ut : (We && (he.push(We), We = ""), Tt = parseFloat($[dt]), he.push(Tt), he._firstPT = {
|
|
2497
2497
|
_next: he._firstPT,
|
|
2498
2498
|
t: he,
|
|
2499
2499
|
p: he.length - 1,
|
|
@@ -2503,7 +2503,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2503
2503
|
m: be && 4 > be ? Math.round : 0
|
|
2504
2504
|
}), De += Ut.length;
|
|
2505
2505
|
return We += D.substr(De), We && he.push(We), he.setRatio = ni, Mi.test(D) && (he.end = null), he;
|
|
2506
|
-
}, Ze = function(_, D, B, U, $, gt, Tt,
|
|
2506
|
+
}, Ze = function(_, D, B, U, $, gt, Tt, dt, ae) {
|
|
2507
2507
|
typeof U == "function" && (U = U(ae || 0, _));
|
|
2508
2508
|
var se, Ut = typeof _[D], he = Ut !== "function" ? "" : D.indexOf("set") || typeof _["get" + D.substr(3)] != "function" ? D : "get" + D.substr(3), De = B !== "get" ? B : he ? Tt ? _[he](Tt) : _[he]() : _[D], We = typeof U == "string" && U.charAt(1) === "=", be = {
|
|
2509
2509
|
t: _,
|
|
@@ -2519,7 +2519,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2519
2519
|
return (typeof De != "number" || typeof U != "number" && !We) && (Tt || isNaN(De) || !We && isNaN(U) || typeof De == "boolean" || typeof U == "boolean" ? (be.fp = Tt, se = fe(
|
|
2520
2520
|
De,
|
|
2521
2521
|
We ? parseFloat(be.s) + be.c + (be.s + "").replace(/[0-9\-\.]/g, "") : U,
|
|
2522
|
-
|
|
2522
|
+
dt || kt.defaultStringFilter,
|
|
2523
2523
|
be
|
|
2524
2524
|
), be = {
|
|
2525
2525
|
t: se,
|
|
@@ -2615,23 +2615,23 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2615
2615
|
var $, gt, Tt = _.vars.onOverwrite;
|
|
2616
2616
|
return Tt && ($ = Tt(_, D, B, U)), Tt = kt.onOverwrite, Tt && (gt = Tt(_, D, B, U)), $ !== !1 && gt !== !1;
|
|
2617
2617
|
}, wr = function(_, D, B, U, $) {
|
|
2618
|
-
var gt, Tt,
|
|
2618
|
+
var gt, Tt, dt, ae;
|
|
2619
2619
|
if (U === 1 || U >= 4) {
|
|
2620
2620
|
for (ae = $.length, gt = 0; ae > gt; gt++)
|
|
2621
|
-
if ((
|
|
2622
|
-
|
|
2621
|
+
if ((dt = $[gt]) !== D)
|
|
2622
|
+
dt._gc || dt._kill(null, _, D) && (Tt = !0);
|
|
2623
2623
|
else if (U === 5)
|
|
2624
2624
|
break;
|
|
2625
2625
|
return Tt;
|
|
2626
2626
|
}
|
|
2627
2627
|
var se, Ut = D._startTime + Ot, he = [], De = 0, We = D._duration === 0;
|
|
2628
2628
|
for (gt = $.length; --gt > -1; )
|
|
2629
|
-
(
|
|
2629
|
+
(dt = $[gt]) === D || dt._gc || dt._paused || (dt._timeline !== D._timeline ? (se = se || er(D, 0, We), er(dt, se, We) === 0 && (he[De++] = dt)) : dt._startTime <= Ut && dt._startTime + dt.totalDuration() / dt._timeScale > Ut && ((We || !dt._initted) && Ut - dt._startTime <= 2e-10 || (he[De++] = dt)));
|
|
2630
2630
|
for (gt = De; --gt > -1; )
|
|
2631
|
-
if (
|
|
2632
|
-
if (U !== 2 && !Ti(
|
|
2631
|
+
if (dt = he[gt], ae = dt._firstPT, U === 2 && dt._kill(B, _, D) && (Tt = !0), U !== 2 || !dt._firstPT && dt._initted && ae) {
|
|
2632
|
+
if (U !== 2 && !Ti(dt, D))
|
|
2633
2633
|
continue;
|
|
2634
|
-
|
|
2634
|
+
dt._enabled(!1, !1) && (Tt = !0);
|
|
2635
2635
|
}
|
|
2636
2636
|
return Tt;
|
|
2637
2637
|
}, er = function(_, D, B) {
|
|
@@ -2643,7 +2643,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2643
2643
|
return gt /= $, gt > D ? gt - D : B && gt === D || !_._initted && 2 * Ot > gt - D ? Ot : (gt += _.totalDuration() / _._timeScale / $) > D + Ot ? 0 : gt - D - Ot;
|
|
2644
2644
|
};
|
|
2645
2645
|
Y._init = function() {
|
|
2646
|
-
var _, D, B, U, $, gt, Tt = this.vars,
|
|
2646
|
+
var _, D, B, U, $, gt, Tt = this.vars, dt = this._overwrittenProps, ae = this._duration, se = !!Tt.immediateRender, Ut = Tt.ease;
|
|
2647
2647
|
if (Tt.startAt) {
|
|
2648
2648
|
this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), $ = {};
|
|
2649
2649
|
for (U in Tt.startAt)
|
|
@@ -2673,7 +2673,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2673
2673
|
this._targets[_],
|
|
2674
2674
|
this._propLookup[_] = {},
|
|
2675
2675
|
this._siblings[_],
|
|
2676
|
-
|
|
2676
|
+
dt ? dt[_] : null,
|
|
2677
2677
|
_
|
|
2678
2678
|
) && (D = !0);
|
|
2679
2679
|
else
|
|
@@ -2681,15 +2681,15 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2681
2681
|
this.target,
|
|
2682
2682
|
this._propLookup,
|
|
2683
2683
|
this._siblings,
|
|
2684
|
-
|
|
2684
|
+
dt,
|
|
2685
2685
|
0
|
|
2686
2686
|
);
|
|
2687
|
-
if (D && kt._onPluginEvent("_onInitAllProps", this),
|
|
2687
|
+
if (D && kt._onPluginEvent("_onInitAllProps", this), dt && (this._firstPT || typeof this.target != "function" && this._enabled(!1, !1)), Tt.runBackwards)
|
|
2688
2688
|
for (B = this._firstPT; B; )
|
|
2689
2689
|
B.s += B.c, B.c = -B.c, B = B._next;
|
|
2690
2690
|
this._onUpdate = Tt.onUpdate, this._initted = !0;
|
|
2691
2691
|
}, Y._initProps = function(_, D, B, U, $) {
|
|
2692
|
-
var gt, Tt,
|
|
2692
|
+
var gt, Tt, dt, ae, se, Ut;
|
|
2693
2693
|
if (_ == null)
|
|
2694
2694
|
return !1;
|
|
2695
2695
|
Ue[_._gsTweenID] && li(), this.vars.css || _.style && _ !== p && _.nodeType && Re.css && this.vars.autoCSS !== !1 && mi(this.vars, _);
|
|
@@ -2710,7 +2710,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2710
2710
|
m: 0
|
|
2711
2711
|
}, Tt = ae._overwriteProps.length; --Tt > -1; )
|
|
2712
2712
|
D[ae._overwriteProps[Tt]] = this._firstPT;
|
|
2713
|
-
(ae._priority || ae._onInitAllProps) && (
|
|
2713
|
+
(ae._priority || ae._onInitAllProps) && (dt = !0), (ae._onDisable || ae._onEnable) && (this._notifyPluginsOfEnabled = !0), se._next && (se._next._prev = se);
|
|
2714
2714
|
} else
|
|
2715
2715
|
D[gt] = Ze.call(
|
|
2716
2716
|
this,
|
|
@@ -2724,35 +2724,35 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2724
2724
|
this.vars.stringFilter,
|
|
2725
2725
|
$
|
|
2726
2726
|
);
|
|
2727
|
-
return U && this._kill(U, _) ? this._initProps(_, D, B, U, $) : this._overwrite > 1 && this._firstPT && B.length > 1 && wr(_, this, D, this._overwrite, B) ? (this._kill(D, _), this._initProps(_, D, B, U, $)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (Ue[_._gsTweenID] = !0),
|
|
2727
|
+
return U && this._kill(U, _) ? this._initProps(_, D, B, U, $) : this._overwrite > 1 && this._firstPT && B.length > 1 && wr(_, this, D, this._overwrite, B) ? (this._kill(D, _), this._initProps(_, D, B, U, $)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (Ue[_._gsTweenID] = !0), dt);
|
|
2728
2728
|
}, Y.render = function(_, D, B) {
|
|
2729
|
-
var U, $, gt, Tt,
|
|
2729
|
+
var U, $, gt, Tt, dt = this._time, ae = this._duration, se = this._rawPrevTime;
|
|
2730
2730
|
if (_ >= ae - 1e-7 && _ >= 0)
|
|
2731
2731
|
this._totalTime = this._time = ae, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (U = !0, $ = "onComplete", B = B || this._timeline.autoRemoveChildren), ae === 0 && (this._initted || !this.vars.lazy || B) && (this._startTime === this._timeline._duration && (_ = 0), (0 > se || 0 >= _ && _ >= -1e-7 || se === Ot && this.data !== "isPause") && se !== _ && (B = !0, se > Ot && ($ = "onReverseComplete")), this._rawPrevTime = Tt = !D || _ || se === _ ? _ : Ot);
|
|
2732
2732
|
else if (1e-7 > _)
|
|
2733
|
-
this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (
|
|
2733
|
+
this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (dt !== 0 || ae === 0 && se > 0) && ($ = "onReverseComplete", U = this._reversed), 0 > _ && (this._active = !1, ae === 0 && (this._initted || !this.vars.lazy || B) && (se >= 0 && (se !== Ot || this.data !== "isPause") && (B = !0), this._rawPrevTime = Tt = !D || _ || se === _ ? _ : Ot)), (!this._initted || this._startAt && this._startAt.progress()) && (B = !0);
|
|
2734
2734
|
else if (this._totalTime = this._time = _, this._easeType) {
|
|
2735
2735
|
var Ut = _ / ae, he = this._easeType, De = this._easePower;
|
|
2736
2736
|
(he === 1 || he === 3 && Ut >= 0.5) && (Ut = 1 - Ut), he === 3 && (Ut *= 2), De === 1 ? Ut *= Ut : De === 2 ? Ut *= Ut * Ut : De === 3 ? Ut *= Ut * Ut * Ut : De === 4 && (Ut *= Ut * Ut * Ut * Ut), he === 1 ? this.ratio = 1 - Ut : he === 2 ? this.ratio = Ut : 0.5 > _ / ae ? this.ratio = Ut / 2 : this.ratio = 1 - Ut / 2;
|
|
2737
2737
|
} else
|
|
2738
2738
|
this.ratio = this._ease.getRatio(_ / ae);
|
|
2739
|
-
if (this._time !==
|
|
2739
|
+
if (this._time !== dt || B) {
|
|
2740
2740
|
if (!this._initted) {
|
|
2741
2741
|
if (this._init(), !this._initted || this._gc)
|
|
2742
2742
|
return;
|
|
2743
2743
|
if (!B && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration))
|
|
2744
|
-
return this._time = this._totalTime =
|
|
2744
|
+
return this._time = this._totalTime = dt, this._rawPrevTime = se, Rt.push(this), void (this._lazy = [_, D]);
|
|
2745
2745
|
this._time && !U ? this.ratio = this._ease.getRatio(this._time / ae) : U && this._ease._calcEnd && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1));
|
|
2746
2746
|
}
|
|
2747
|
-
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !==
|
|
2747
|
+
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== dt && _ >= 0 && (this._active = !0), dt === 0 && (this._startAt && (_ >= 0 ? this._startAt.render(_, !0, B) : $ || ($ = "_dummyGS")), this.vars.onStart && (this._time !== 0 || ae === 0) && (D || this._callback("onStart"))), gt = this._firstPT; gt; )
|
|
2748
2748
|
gt.f ? gt.t[gt.p](gt.c * this.ratio + gt.s) : gt.t[gt.p] = gt.c * this.ratio + gt.s, gt = gt._next;
|
|
2749
|
-
this._onUpdate && (0 > _ && this._startAt && _ !== -1e-4 && this._startAt.render(_, !0, B), D || (this._time !==
|
|
2749
|
+
this._onUpdate && (0 > _ && this._startAt && _ !== -1e-4 && this._startAt.render(_, !0, B), D || (this._time !== dt || U || B) && this._callback("onUpdate")), $ && (!this._gc || B) && (0 > _ && this._startAt && !this._onUpdate && _ !== -1e-4 && this._startAt.render(_, !0, B), U && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !D && this.vars[$] && this._callback($), ae === 0 && this._rawPrevTime === Ot && Tt !== Ot && (this._rawPrevTime = 0));
|
|
2750
2750
|
}
|
|
2751
2751
|
}, Y._kill = function(_, D, B) {
|
|
2752
2752
|
if (_ === "all" && (_ = null), _ == null && (D == null || D === this.target))
|
|
2753
2753
|
return this._lazy = !1, this._enabled(!1, !1);
|
|
2754
2754
|
D = typeof D != "string" ? D || this._targets || this.target : kt.selector(D) || D;
|
|
2755
|
-
var U, $, gt, Tt,
|
|
2755
|
+
var U, $, gt, Tt, dt, ae, se, Ut, he, De = B && this._time && B._startTime === this._startTime && this._timeline === B._timeline, We = this._firstPT;
|
|
2756
2756
|
if ((H(D) || Me(D)) && typeof D[0] != "number")
|
|
2757
2757
|
for (U = D.length; --U > -1; )
|
|
2758
2758
|
this._kill(_, D[U], B) && (ae = !0);
|
|
@@ -2760,23 +2760,23 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2760
2760
|
if (this._targets) {
|
|
2761
2761
|
for (U = this._targets.length; --U > -1; )
|
|
2762
2762
|
if (D === this._targets[U]) {
|
|
2763
|
-
|
|
2763
|
+
dt = this._propLookup[U] || {}, this._overwrittenProps = this._overwrittenProps || [], $ = this._overwrittenProps[U] = _ ? this._overwrittenProps[U] || {} : "all";
|
|
2764
2764
|
break;
|
|
2765
2765
|
}
|
|
2766
2766
|
} else {
|
|
2767
2767
|
if (D !== this.target)
|
|
2768
2768
|
return !1;
|
|
2769
|
-
|
|
2769
|
+
dt = this._propLookup, $ = this._overwrittenProps = _ ? this._overwrittenProps || {} : "all";
|
|
2770
2770
|
}
|
|
2771
|
-
if (
|
|
2772
|
-
if (se = _ ||
|
|
2771
|
+
if (dt) {
|
|
2772
|
+
if (se = _ || dt, Ut = _ !== $ && $ !== "all" && _ !== dt && (typeof _ != "object" || !_._tempKill), B && (kt.onOverwrite || this.vars.onOverwrite)) {
|
|
2773
2773
|
for (gt in se)
|
|
2774
|
-
|
|
2774
|
+
dt[gt] && (he || (he = []), he.push(gt));
|
|
2775
2775
|
if ((he || !_) && !Ti(this, B, D, he))
|
|
2776
2776
|
return !1;
|
|
2777
2777
|
}
|
|
2778
2778
|
for (gt in se)
|
|
2779
|
-
(Tt =
|
|
2779
|
+
(Tt = dt[gt]) && (De && (Tt.f ? Tt.t[Tt.p](Tt.s) : Tt.t[Tt.p] = Tt.s, ae = !0), Tt.pg && Tt.t._kill(se) && (ae = !0), Tt.pg && Tt.t._overwriteProps.length !== 0 || (Tt._prev ? Tt._prev._next = Tt._next : Tt === this._firstPT && (this._firstPT = Tt._next), Tt._next && (Tt._next._prev = Tt._prev), Tt._next = Tt._prev = null), delete dt[gt]), Ut && ($[gt] = 1);
|
|
2780
2780
|
!this._firstPT && this._initted && We && this._enabled(!1, !1);
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
@@ -2855,17 +2855,17 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2855
2855
|
for (var D, B = this._firstPT; B; )
|
|
2856
2856
|
D = _[this._propName] || B.n != null && _[B.n.split(this._propName + "_").join("")], D && typeof D == "function" && (B.f === 2 ? B.t._applyPT.m = D : B.m = D), B = B._next;
|
|
2857
2857
|
}, kt._onPluginEvent = function(_, D) {
|
|
2858
|
-
var B, U, $, gt, Tt,
|
|
2858
|
+
var B, U, $, gt, Tt, dt = D._firstPT;
|
|
2859
2859
|
if (_ === "_onInitAllProps") {
|
|
2860
|
-
for (;
|
|
2861
|
-
for (Tt =
|
|
2860
|
+
for (; dt; ) {
|
|
2861
|
+
for (Tt = dt._next, U = $; U && U.pr > dt.pr; )
|
|
2862
2862
|
U = U._next;
|
|
2863
|
-
(
|
|
2863
|
+
(dt._prev = U ? U._prev : gt) ? dt._prev._next = dt : $ = dt, (dt._next = U) ? U._prev = dt : gt = dt, dt = Tt;
|
|
2864
2864
|
}
|
|
2865
|
-
|
|
2865
|
+
dt = D._firstPT = $;
|
|
2866
2866
|
}
|
|
2867
|
-
for (;
|
|
2868
|
-
|
|
2867
|
+
for (; dt; )
|
|
2868
|
+
dt.pg && typeof dt.t[_] == "function" && dt.t[_]() && (B = !0), dt = dt._next;
|
|
2869
2869
|
return B;
|
|
2870
2870
|
}, bi.activate = function(_) {
|
|
2871
2871
|
for (var D = _.length; --D > -1; )
|
|
@@ -2887,10 +2887,10 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2887
2887
|
bi.call(this, B, U), this._overwriteProps = $ || [];
|
|
2888
2888
|
},
|
|
2889
2889
|
_.global === !0
|
|
2890
|
-
),
|
|
2891
|
-
|
|
2890
|
+
), dt = Tt.prototype = new bi(B);
|
|
2891
|
+
dt.constructor = Tt, Tt.API = _.API;
|
|
2892
2892
|
for (D in gt)
|
|
2893
|
-
typeof _[D] == "function" && (
|
|
2893
|
+
typeof _[D] == "function" && (dt[gt[D]] = _[D]);
|
|
2894
2894
|
return Tt.version = _.version, bi.activate([Tt]), Tt;
|
|
2895
2895
|
}, mt = p._gsQueue) {
|
|
2896
2896
|
for (Ct = 0; Ct < mt.length; Ct++)
|
|
@@ -2913,14 +2913,14 @@ const gh = { class: "modal-background" }, vh = ["innerHTML"], yh = {
|
|
|
2913
2913
|
// default: "CHBIM云平台",
|
|
2914
2914
|
// },
|
|
2915
2915
|
},
|
|
2916
|
-
setup(p, { expose:
|
|
2916
|
+
setup(p, { expose: pt }) {
|
|
2917
2917
|
const Z = Gs(""), ft = Gs(""), at = (mt) => {
|
|
2918
2918
|
ft.value = mt, Z.value = "five";
|
|
2919
2919
|
}, x = () => {
|
|
2920
2920
|
Z.value = Z.value + " out";
|
|
2921
2921
|
};
|
|
2922
2922
|
return ks(() => {
|
|
2923
|
-
}),
|
|
2923
|
+
}), pt({
|
|
2924
2924
|
text: ft,
|
|
2925
2925
|
show: at,
|
|
2926
2926
|
hide: x
|
|
@@ -2950,7 +2950,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
2950
2950
|
}, Ph = /* @__PURE__ */ Hs({
|
|
2951
2951
|
...Eh,
|
|
2952
2952
|
setup(p) {
|
|
2953
|
-
const
|
|
2953
|
+
const pt = () => {
|
|
2954
2954
|
let at = `
|
|
2955
2955
|
vec3 mod289(vec3 x)
|
|
2956
2956
|
{
|
|
@@ -3287,7 +3287,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3287
3287
|
0.1
|
|
3288
3288
|
);
|
|
3289
3289
|
}, ft = () => {
|
|
3290
|
-
|
|
3290
|
+
pt(), Z();
|
|
3291
3291
|
};
|
|
3292
3292
|
return ks(() => {
|
|
3293
3293
|
ft();
|
|
@@ -3302,10 +3302,10 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3302
3302
|
]));
|
|
3303
3303
|
}
|
|
3304
3304
|
});
|
|
3305
|
-
(function(p,
|
|
3306
|
-
typeof exports == "object" && typeof module < "u" ?
|
|
3305
|
+
(function(p, pt) {
|
|
3306
|
+
typeof exports == "object" && typeof module < "u" ? pt(exports) : typeof define == "function" && define.amd ? define(["exports"], pt) : pt(p.THREE = {});
|
|
3307
3307
|
})(window, function(p) {
|
|
3308
|
-
function
|
|
3308
|
+
function pt() {
|
|
3309
3309
|
}
|
|
3310
3310
|
function Z(t, e) {
|
|
3311
3311
|
this.x = t || 0, this.y = e || 0;
|
|
@@ -3971,7 +3971,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3971
3971
|
var i = this.cache;
|
|
3972
3972
|
i[0] !== e && (t.uniform1f(this.addr, e), i[0] = e);
|
|
3973
3973
|
}
|
|
3974
|
-
function
|
|
3974
|
+
function dt(t, e) {
|
|
3975
3975
|
var i = this.cache;
|
|
3976
3976
|
i[0] !== e && (t.uniform1i(this.addr, e), i[0] = e);
|
|
3977
3977
|
}
|
|
@@ -4048,7 +4048,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
4048
4048
|
return fr;
|
|
4049
4049
|
case 5124:
|
|
4050
4050
|
case 35670:
|
|
4051
|
-
return
|
|
4051
|
+
return dt;
|
|
4052
4052
|
case 35667:
|
|
4053
4053
|
case 35671:
|
|
4054
4054
|
return Vi;
|
|
@@ -8258,7 +8258,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
8258
8258
|
}
|
|
8259
8259
|
return e;
|
|
8260
8260
|
};
|
|
8261
|
-
}(), Object.assign(
|
|
8261
|
+
}(), Object.assign(pt.prototype, {
|
|
8262
8262
|
addEventListener: function(t, e) {
|
|
8263
8263
|
this._listeners === void 0 && (this._listeners = {});
|
|
8264
8264
|
var i = this._listeners;
|
|
@@ -9362,7 +9362,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
9362
9362
|
return 2048 < e.width || 2048 < e.height ? e.toDataURL("image/jpeg", 0.6) : e.toDataURL("image/png");
|
|
9363
9363
|
}
|
|
9364
9364
|
}, Ga = 0;
|
|
9365
|
-
Ct.DEFAULT_IMAGE = void 0, Ct.DEFAULT_MAPPING = 300, Ct.prototype = Object.assign(Object.create(
|
|
9365
|
+
Ct.DEFAULT_IMAGE = void 0, Ct.DEFAULT_MAPPING = 300, Ct.prototype = Object.assign(Object.create(pt.prototype), {
|
|
9366
9366
|
constructor: Ct,
|
|
9367
9367
|
isTexture: !0,
|
|
9368
9368
|
updateMatrix: function() {
|
|
@@ -9634,7 +9634,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
9634
9634
|
"THREE.Vector4: offset has been removed from .fromBufferAttribute()."
|
|
9635
9635
|
), this.x = t.getX(e), this.y = t.getY(e), this.z = t.getZ(e), this.w = t.getW(e), this;
|
|
9636
9636
|
}
|
|
9637
|
-
}), ht.prototype = Object.assign(Object.create(
|
|
9637
|
+
}), ht.prototype = Object.assign(Object.create(pt.prototype), {
|
|
9638
9638
|
constructor: ht,
|
|
9639
9639
|
isWebGLRenderTarget: !0,
|
|
9640
9640
|
setSize: function(t, e) {
|
|
@@ -13191,7 +13191,7 @@ void main() {
|
|
|
13191
13191
|
}
|
|
13192
13192
|
});
|
|
13193
13193
|
var ka = 0;
|
|
13194
|
-
b.DefaultUp = new x(0, 1, 0), b.DefaultMatrixAutoUpdate = !0, b.prototype = Object.assign(Object.create(
|
|
13194
|
+
b.DefaultUp = new x(0, 1, 0), b.DefaultMatrixAutoUpdate = !0, b.prototype = Object.assign(Object.create(pt.prototype), {
|
|
13195
13195
|
constructor: b,
|
|
13196
13196
|
isObject3D: !0,
|
|
13197
13197
|
onBeforeRender: function() {
|
|
@@ -13451,7 +13451,7 @@ void main() {
|
|
|
13451
13451
|
}
|
|
13452
13452
|
});
|
|
13453
13453
|
var ja = 0;
|
|
13454
|
-
F.prototype = Object.assign(Object.create(
|
|
13454
|
+
F.prototype = Object.assign(Object.create(pt.prototype), {
|
|
13455
13455
|
constructor: F,
|
|
13456
13456
|
isGeometry: !0,
|
|
13457
13457
|
applyMatrix: function(t) {
|
|
@@ -13966,7 +13966,7 @@ void main() {
|
|
|
13966
13966
|
}
|
|
13967
13967
|
});
|
|
13968
13968
|
var Va = 1;
|
|
13969
|
-
Rt.prototype = Object.assign(Object.create(
|
|
13969
|
+
Rt.prototype = Object.assign(Object.create(pt.prototype), {
|
|
13970
13970
|
constructor: Rt,
|
|
13971
13971
|
isBufferGeometry: !0,
|
|
13972
13972
|
getIndex: function() {
|
|
@@ -14244,7 +14244,7 @@ void main() {
|
|
|
14244
14244
|
}
|
|
14245
14245
|
}), Ue.prototype = Object.create(F.prototype), Ue.prototype.constructor = Ue, gi.prototype = Object.create(Rt.prototype), gi.prototype.constructor = gi, Mi.prototype = Object.create(F.prototype), Mi.prototype.constructor = Mi, ni.prototype = Object.create(Rt.prototype), ni.prototype.constructor = ni;
|
|
14246
14246
|
var Wa = 0;
|
|
14247
|
-
fe.prototype = Object.assign(Object.create(
|
|
14247
|
+
fe.prototype = Object.assign(Object.create(pt.prototype), {
|
|
14248
14248
|
constructor: fe,
|
|
14249
14249
|
isMaterial: !0,
|
|
14250
14250
|
onBeforeCompile: function() {
|
|
@@ -18461,7 +18461,7 @@ void main() {
|
|
|
18461
18461
|
var r = this._mixer, n = r.time, o = this._weightInterpolant;
|
|
18462
18462
|
return o === null && (this._weightInterpolant = o = r._lendControlInterpolant()), r = o.parameterPositions, o = o.sampleValues, r[0] = n, o[0] = e, r[1] = n + t, o[1] = i, this;
|
|
18463
18463
|
}
|
|
18464
|
-
}), Ss.prototype = Object.assign(Object.create(
|
|
18464
|
+
}), Ss.prototype = Object.assign(Object.create(pt.prototype), {
|
|
18465
18465
|
constructor: Ss,
|
|
18466
18466
|
_bindAction: function(t, e) {
|
|
18467
18467
|
var i = t._localRoot || this._root, r = t._clip.tracks, n = r.length, o = t._propertyBindings;
|
|
@@ -19981,7 +19981,7 @@ void main() {
|
|
|
19981
19981
|
console.error(
|
|
19982
19982
|
"THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead."
|
|
19983
19983
|
);
|
|
19984
|
-
}, p.WebGLRenderTargetCube = wt, p.WebGLRenderTarget = ht, p.WebGLRenderer = Ft, p.ShaderLib = cr, p.UniformsLib = le, p.UniformsUtils = yi, p.ShaderChunk = Oe, p.FogExp2 = Jt, p.Fog = vi, p.Scene = Xi, p.Sprite = ti, p.LOD = ei, p.SkinnedMesh = He, p.Skeleton = si, p.Bone = ai, p.Mesh = Qe, p.LineSegments = Le, p.LineLoop = or, p.Line = Xe, p.Points = en, p.Group = Ee, p.VideoTexture = ss, p.DataTexture = ct, p.DataTexture3D = D, p.CompressedTexture = rn, p.CubeTexture = _, p.CanvasTexture = Bn, p.DepthTexture = Un, p.Texture = Ct, p.AnimationLoader = Qs, p.CompressedTextureLoader = $s, p.DataTextureLoader = cs, p.CubeTextureLoader = us, p.TextureLoader = Oo, p.ObjectLoader = fs, p.MaterialLoader = Ho, p.BufferGeometryLoader = ds, p.DefaultLoadingManager = Ci, p.LoadingManager = ls, p.JSONLoader = ko, p.ImageLoader = ao, p.ImageBitmapLoader = ms, p.FontLoader = ta, p.FileLoader = Wi, p.Loader = wn, p.LoaderUtils = Xo, p.Cache = qr, p.AudioLoader = ys, p.SpotLightShadow = Do, p.SpotLight = zo, p.PointLight = No, p.RectAreaLight = Go, p.HemisphereLight = Io, p.DirectionalLightShadow = Bo, p.DirectionalLight = Uo, p.AmbientLight = Fo, p.LightShadow = Xr, p.Light = ri, p.StereoCamera = ea, p.PerspectiveCamera = Bt, p.OrthographicCamera = co, p.CubeCamera = uo, p.ArrayCamera = te, p.Camera = Kt, p.AudioListener = xs, p.PositionalAudio = ws, p.AudioContext = Ns, p.AudioAnalyser = Ms, p.Audio = Mn, p.VectorKeyframeTrack = _n, p.StringKeyframeTrack = Co, p.QuaternionKeyframeTrack = so, p.NumberKeyframeTrack = yn, p.ColorKeyframeTrack = bo, p.BooleanKeyframeTrack = Lo, p.PropertyMixer = Ts, p.PropertyBinding = Ei, p.KeyframeTrack = xi, p.AnimationUtils = Pi, p.AnimationObjectGroup = ra, p.AnimationMixer = Ss, p.AnimationClip = Hi, p.Uniform = jo, p.InstancedBufferGeometry = Es, p.BufferGeometry = Rt, p.Geometry = F, p.InterleavedBufferAttribute = Ge, p.InstancedInterleavedBuffer = Ps, p.InterleavedBuffer = Fe, p.InstancedBufferAttribute = As, p.Face3 = C, p.Object3D = b, p.Raycaster = oa, p.Layers = G, p.EventDispatcher =
|
|
19984
|
+
}, p.WebGLRenderTargetCube = wt, p.WebGLRenderTarget = ht, p.WebGLRenderer = Ft, p.ShaderLib = cr, p.UniformsLib = le, p.UniformsUtils = yi, p.ShaderChunk = Oe, p.FogExp2 = Jt, p.Fog = vi, p.Scene = Xi, p.Sprite = ti, p.LOD = ei, p.SkinnedMesh = He, p.Skeleton = si, p.Bone = ai, p.Mesh = Qe, p.LineSegments = Le, p.LineLoop = or, p.Line = Xe, p.Points = en, p.Group = Ee, p.VideoTexture = ss, p.DataTexture = ct, p.DataTexture3D = D, p.CompressedTexture = rn, p.CubeTexture = _, p.CanvasTexture = Bn, p.DepthTexture = Un, p.Texture = Ct, p.AnimationLoader = Qs, p.CompressedTextureLoader = $s, p.DataTextureLoader = cs, p.CubeTextureLoader = us, p.TextureLoader = Oo, p.ObjectLoader = fs, p.MaterialLoader = Ho, p.BufferGeometryLoader = ds, p.DefaultLoadingManager = Ci, p.LoadingManager = ls, p.JSONLoader = ko, p.ImageLoader = ao, p.ImageBitmapLoader = ms, p.FontLoader = ta, p.FileLoader = Wi, p.Loader = wn, p.LoaderUtils = Xo, p.Cache = qr, p.AudioLoader = ys, p.SpotLightShadow = Do, p.SpotLight = zo, p.PointLight = No, p.RectAreaLight = Go, p.HemisphereLight = Io, p.DirectionalLightShadow = Bo, p.DirectionalLight = Uo, p.AmbientLight = Fo, p.LightShadow = Xr, p.Light = ri, p.StereoCamera = ea, p.PerspectiveCamera = Bt, p.OrthographicCamera = co, p.CubeCamera = uo, p.ArrayCamera = te, p.Camera = Kt, p.AudioListener = xs, p.PositionalAudio = ws, p.AudioContext = Ns, p.AudioAnalyser = Ms, p.Audio = Mn, p.VectorKeyframeTrack = _n, p.StringKeyframeTrack = Co, p.QuaternionKeyframeTrack = so, p.NumberKeyframeTrack = yn, p.ColorKeyframeTrack = bo, p.BooleanKeyframeTrack = Lo, p.PropertyMixer = Ts, p.PropertyBinding = Ei, p.KeyframeTrack = xi, p.AnimationUtils = Pi, p.AnimationObjectGroup = ra, p.AnimationMixer = Ss, p.AnimationClip = Hi, p.Uniform = jo, p.InstancedBufferGeometry = Es, p.BufferGeometry = Rt, p.Geometry = F, p.InterleavedBufferAttribute = Ge, p.InstancedInterleavedBuffer = Ps, p.InterleavedBuffer = Fe, p.InstancedBufferAttribute = As, p.Face3 = C, p.Object3D = b, p.Raycaster = oa, p.Layers = G, p.EventDispatcher = pt, p.Clock = _s, p.QuaternionLinearInterpolant = Ro, p.LinearInterpolant = oo, p.DiscreteInterpolant = Ao, p.CubicInterpolant = Po, p.Interpolant = Gi, p.Triangle = Re, p.Math = Se, p.Spherical = aa, p.Cylindrical = ha, p.Plane = xt, p.Frustum = Q, p.Sphere = Ot, p.Ray = Li, p.Matrix4 = ft, p.Matrix3 = mt, p.Box3 = Pt, p.Box2 = bs, p.Line3 = Rs, p.Euler = M, p.Vector4 = Y, p.Vector3 = x, p.Vector2 = Z, p.Quaternion = at, p.Color = H, p.ImmediateRenderObject = po, p.VertexNormalsHelper = fo, p.SpotLightHelper = Tn, p.SkeletonHelper = Sn, p.PointLightHelper = En, p.RectAreaLightHelper = Pn, p.HemisphereLightHelper = An, p.GridHelper = mo, p.PolarGridHelper = Vo, p.FaceNormalsHelper = go, p.DirectionalLightHelper = Ln, p.CameraHelper = vo, p.BoxHelper = vr, p.Box3Helper = yo, p.PlaneHelper = _o, p.ArrowHelper = yr, p.AxesHelper = xo, p.Shape = Sr, p.Path = $i, p.ShapePath = gs, p.Font = vs, p.CurvePath = gr, p.Curve = pe, p.ImageUtils = Er, p.ShapeUtils = _r, p.WebGLUtils = re, p.WireframeGeometry = nn, p.ParametricGeometry = Fn, p.ParametricBufferGeometry = on, p.TetrahedronGeometry = Hn, p.TetrahedronBufferGeometry = sn, p.OctahedronGeometry = kn, p.OctahedronBufferGeometry = Or, p.IcosahedronGeometry = jn, p.IcosahedronBufferGeometry = an, p.DodecahedronGeometry = Vn, p.DodecahedronBufferGeometry = hn, p.PolyhedronGeometry = Gn, p.PolyhedronBufferGeometry = Di, p.TubeGeometry = Wn, p.TubeBufferGeometry = ln, p.TorusKnotGeometry = Xn, p.TorusKnotBufferGeometry = cn, p.TorusGeometry = qn, p.TorusBufferGeometry = un, p.TextGeometry = $n, p.TextBufferGeometry = pn, p.SphereGeometry = Kn, p.SphereBufferGeometry = zr, p.RingGeometry = to, p.RingBufferGeometry = dn, p.PlaneGeometry = Mi, p.PlaneBufferGeometry = ni, p.LatheGeometry = eo, p.LatheBufferGeometry = fn, p.ShapeGeometry = Nr, p.ShapeBufferGeometry = Br, p.ExtrudeGeometry = Dr, p.ExtrudeBufferGeometry = sr, p.EdgesGeometry = mn, p.ConeGeometry = io, p.ConeBufferGeometry = ro, p.CylinderGeometry = Ur, p.CylinderBufferGeometry = mr, p.CircleGeometry = no, p.CircleBufferGeometry = gn, p.BoxGeometry = Ue, p.BoxBufferGeometry = gi, p.ShadowMaterial = Fr, p.SpriteMaterial = Ve, p.RawShaderMaterial = vn, p.ShaderMaterial = Ze, p.PointsMaterial = _i, p.MeshPhysicalMaterial = Gr, p.MeshStandardMaterial = ar, p.MeshPhongMaterial = qi, p.MeshToonMaterial = Hr, p.MeshNormalMaterial = kr, p.MeshLambertMaterial = jr, p.MeshDepthMaterial = Et, p.MeshDistanceMaterial = yt, p.MeshBasicMaterial = ke, p.MeshMatcapMaterial = Vr, p.LineDashedMaterial = Wr, p.LineBasicMaterial = ze, p.Material = fe, p.Float64BufferAttribute = kt, p.Float32BufferAttribute = ut, p.Uint32BufferAttribute = ie, p.Int32BufferAttribute = Vt, p.Uint16BufferAttribute = Gt, p.Int16BufferAttribute = bt, p.Uint8ClampedBufferAttribute = Lt, p.Uint8BufferAttribute = it, p.Int8BufferAttribute = st, p.BufferAttribute = q, p.ArcCurve = xn, p.CatmullRomCurve3 = Si, p.CubicBezierCurve = Yi, p.CubicBezierCurve3 = hr, p.EllipseCurve = ki, p.LineCurve = zi, p.LineCurve3 = Zi, p.QuadraticBezierCurve = Ji, p.QuadraticBezierCurve3 = lr, p.SplineCurve = Qi, p.REVISION = "98", p.MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, p.CullFaceNone = 0, p.CullFaceBack = 1, p.CullFaceFront = 2, p.CullFaceFrontBack = 3, p.FrontFaceDirectionCW = 0, p.FrontFaceDirectionCCW = 1, p.BasicShadowMap = 0, p.PCFShadowMap = 1, p.PCFSoftShadowMap = 2, p.FrontSide = 0, p.BackSide = 1, p.DoubleSide = 2, p.FlatShading = 1, p.SmoothShading = 2, p.NoColors = 0, p.FaceColors = 1, p.VertexColors = 2, p.NoBlending = 0, p.NormalBlending = 1, p.AdditiveBlending = 2, p.SubtractiveBlending = 3, p.MultiplyBlending = 4, p.CustomBlending = 5, p.AddEquation = 100, p.SubtractEquation = 101, p.ReverseSubtractEquation = 102, p.MinEquation = 103, p.MaxEquation = 104, p.ZeroFactor = 200, p.OneFactor = 201, p.SrcColorFactor = 202, p.OneMinusSrcColorFactor = 203, p.SrcAlphaFactor = 204, p.OneMinusSrcAlphaFactor = 205, p.DstAlphaFactor = 206, p.OneMinusDstAlphaFactor = 207, p.DstColorFactor = 208, p.OneMinusDstColorFactor = 209, p.SrcAlphaSaturateFactor = 210, p.NeverDepth = 0, p.AlwaysDepth = 1, p.LessDepth = 2, p.LessEqualDepth = 3, p.EqualDepth = 4, p.GreaterEqualDepth = 5, p.GreaterDepth = 6, p.NotEqualDepth = 7, p.MultiplyOperation = 0, p.MixOperation = 1, p.AddOperation = 2, p.NoToneMapping = 0, p.LinearToneMapping = 1, p.ReinhardToneMapping = 2, p.Uncharted2ToneMapping = 3, p.CineonToneMapping = 4, p.UVMapping = 300, p.CubeReflectionMapping = 301, p.CubeRefractionMapping = 302, p.EquirectangularReflectionMapping = 303, p.EquirectangularRefractionMapping = 304, p.SphericalReflectionMapping = 305, p.CubeUVReflectionMapping = 306, p.CubeUVRefractionMapping = 307, p.RepeatWrapping = 1e3, p.ClampToEdgeWrapping = 1001, p.MirroredRepeatWrapping = 1002, p.NearestFilter = 1003, p.NearestMipMapNearestFilter = 1004, p.NearestMipMapLinearFilter = 1005, p.LinearFilter = 1006, p.LinearMipMapNearestFilter = 1007, p.LinearMipMapLinearFilter = 1008, p.UnsignedByteType = 1009, p.ByteType = 1010, p.ShortType = 1011, p.UnsignedShortType = 1012, p.IntType = 1013, p.UnsignedIntType = 1014, p.FloatType = 1015, p.HalfFloatType = 1016, p.UnsignedShort4444Type = 1017, p.UnsignedShort5551Type = 1018, p.UnsignedShort565Type = 1019, p.UnsignedInt248Type = 1020, p.AlphaFormat = 1021, p.RGBFormat = 1022, p.RGBAFormat = 1023, p.LuminanceFormat = 1024, p.LuminanceAlphaFormat = 1025, p.RGBEFormat = 1023, p.DepthFormat = 1026, p.DepthStencilFormat = 1027, p.RedFormat = 1028, p.RGB_S3TC_DXT1_Format = 33776, p.RGBA_S3TC_DXT1_Format = 33777, p.RGBA_S3TC_DXT3_Format = 33778, p.RGBA_S3TC_DXT5_Format = 33779, p.RGB_PVRTC_4BPPV1_Format = 35840, p.RGB_PVRTC_2BPPV1_Format = 35841, p.RGBA_PVRTC_4BPPV1_Format = 35842, p.RGBA_PVRTC_2BPPV1_Format = 35843, p.RGB_ETC1_Format = 36196, p.RGBA_ASTC_4x4_Format = 37808, p.RGBA_ASTC_5x4_Format = 37809, p.RGBA_ASTC_5x5_Format = 37810, p.RGBA_ASTC_6x5_Format = 37811, p.RGBA_ASTC_6x6_Format = 37812, p.RGBA_ASTC_8x5_Format = 37813, p.RGBA_ASTC_8x6_Format = 37814, p.RGBA_ASTC_8x8_Format = 37815, p.RGBA_ASTC_10x5_Format = 37816, p.RGBA_ASTC_10x6_Format = 37817, p.RGBA_ASTC_10x8_Format = 37818, p.RGBA_ASTC_10x10_Format = 37819, p.RGBA_ASTC_12x10_Format = 37820, p.RGBA_ASTC_12x12_Format = 37821, p.LoopOnce = 2200, p.LoopRepeat = 2201, p.LoopPingPong = 2202, p.InterpolateDiscrete = 2300, p.InterpolateLinear = 2301, p.InterpolateSmooth = 2302, p.ZeroCurvatureEnding = 2400, p.ZeroSlopeEnding = 2401, p.WrapAroundEnding = 2402, p.TrianglesDrawMode = 0, p.TriangleStripDrawMode = 1, p.TriangleFanDrawMode = 2, p.LinearEncoding = 3e3, p.sRGBEncoding = 3001, p.GammaEncoding = 3007, p.RGBEEncoding = 3002, p.LogLuvEncoding = 3003, p.RGBM7Encoding = 3004, p.RGBM16Encoding = 3005, p.RGBDEncoding = 3006, p.BasicDepthPacking = 3200, p.RGBADepthPacking = 3201, p.TangentSpaceNormalMap = 0, p.ObjectSpaceNormalMap = 1, p.CubeGeometry = Ue, p.Face4 = function(t, e, i, r, n, o, s) {
|
|
19985
19985
|
return console.warn(
|
|
19986
19986
|
"THREE.Face4 has been removed. A THREE.Face3 will be created instead."
|
|
19987
19987
|
), new C(t, e, i, n, o, s);
|
|
@@ -20136,13 +20136,13 @@ void main() {
|
|
|
20136
20136
|
}, Object.defineProperty(p, "__esModule", { value: !0 });
|
|
20137
20137
|
});
|
|
20138
20138
|
THREE.Sky = function() {
|
|
20139
|
-
var p = THREE.Sky.SkyShader,
|
|
20139
|
+
var p = THREE.Sky.SkyShader, pt = new THREE.ShaderMaterial({
|
|
20140
20140
|
fragmentShader: p.fragmentShader,
|
|
20141
20141
|
vertexShader: p.vertexShader,
|
|
20142
20142
|
uniforms: THREE.UniformsUtils.clone(p.uniforms),
|
|
20143
20143
|
side: THREE.BackSide
|
|
20144
20144
|
});
|
|
20145
|
-
THREE.Mesh.call(this, new THREE.BoxBufferGeometry(1, 1, 1),
|
|
20145
|
+
THREE.Mesh.call(this, new THREE.BoxBufferGeometry(1, 1, 1), pt);
|
|
20146
20146
|
};
|
|
20147
20147
|
THREE.Sky.prototype = Object.create(THREE.Mesh.prototype);
|
|
20148
20148
|
THREE.Sky.SkyShader = {
|
|
@@ -20295,9 +20295,9 @@ THREE.Sky.SkyShader = {
|
|
|
20295
20295
|
};
|
|
20296
20296
|
(function(p) {
|
|
20297
20297
|
typeof module > "u" ? window.charming = p : module.exports = p;
|
|
20298
|
-
})(function(p,
|
|
20299
|
-
|
|
20300
|
-
var Z =
|
|
20298
|
+
})(function(p, pt) {
|
|
20299
|
+
pt = pt || {};
|
|
20300
|
+
var Z = pt.tagName || "span", ft = pt.classPrefix != null ? pt.classPrefix : "char", at = 1, x = function(mt) {
|
|
20301
20301
|
for (var Ct = mt.parentNode, Y = mt.nodeValue, ht = Y.length, wt = -1; ++wt < ht; ) {
|
|
20302
20302
|
var ct = document.createElement(Z);
|
|
20303
20303
|
ft && (ct.className = ft + at, at++), ct.appendChild(document.createTextNode(Y[wt])), Ct.insertBefore(ct, mt);
|
|
@@ -20311,8 +20311,8 @@ THREE.Sky.SkyShader = {
|
|
|
20311
20311
|
}(p), p;
|
|
20312
20312
|
});
|
|
20313
20313
|
class bh {
|
|
20314
|
-
constructor(
|
|
20315
|
-
mars3d ? (this.map =
|
|
20314
|
+
constructor(pt, Z = []) {
|
|
20315
|
+
mars3d ? (this.map = pt, this.tilesetLayer, this.modelArr = Z, this.bimObliquePhotographyId = [], this.editDate = {
|
|
20316
20316
|
id: null
|
|
20317
20317
|
}) : console.error("未引入指定插件");
|
|
20318
20318
|
}
|
|
@@ -20320,37 +20320,37 @@ class bh {
|
|
|
20320
20320
|
* 给 modelArr 添加数据
|
|
20321
20321
|
* @param { Object } mode 模型数据
|
|
20322
20322
|
*/
|
|
20323
|
-
pushModel(
|
|
20324
|
-
this.modelArr.push(
|
|
20323
|
+
pushModel(pt) {
|
|
20324
|
+
this.modelArr.push(pt);
|
|
20325
20325
|
}
|
|
20326
20326
|
/**
|
|
20327
20327
|
* add 模型方法
|
|
20328
20328
|
* @param { Object || String } modelParameter 模型属性 或者 模型id
|
|
20329
20329
|
* @param { Object } fn 自定义注册事件
|
|
20330
20330
|
*/
|
|
20331
|
-
add(
|
|
20331
|
+
add(pt, Z) {
|
|
20332
20332
|
const ft = /* @__PURE__ */ new Map([["click", mars3d.EventType.click]]);
|
|
20333
20333
|
return new Promise((at, x) => {
|
|
20334
20334
|
let mt, Ct, Y, ht, wt, ct, Pt, Ot, xt;
|
|
20335
|
-
if (typeof
|
|
20336
|
-
let H = this.query(
|
|
20335
|
+
if (typeof pt != "object") {
|
|
20336
|
+
let H = this.query(pt);
|
|
20337
20337
|
H || x("缺少树结构");
|
|
20338
20338
|
let { id: m, bimModelExcavationDetails: f, bimModel: C } = H;
|
|
20339
20339
|
mt = m, Ct = C.modelType, Y = C.tender, ht = C.releasedDistance, wt = C.modelName, ct = C.isDynamicReleased, Pt = {
|
|
20340
20340
|
bimModelExcavationDetails: f
|
|
20341
20341
|
}, Ot = H.url, xt = C.modelColor;
|
|
20342
20342
|
} else
|
|
20343
|
-
mt =
|
|
20344
|
-
let Q = this.map.getLayer(
|
|
20343
|
+
mt = pt.modelId, Ct = pt.modelType, Y = pt.tender, ht = pt.releasedDistance, wt = pt.modelTitle, ct = pt.permission, Pt = pt.customize, Ot = pt.url, xt = pt.color;
|
|
20344
|
+
let Q = this.map.getLayer(pt, "modelId");
|
|
20345
20345
|
if (Q)
|
|
20346
20346
|
return at(Q), !1;
|
|
20347
20347
|
if (Ot.indexOf("tileset.json") < 0)
|
|
20348
|
-
return
|
|
20348
|
+
return console.error("链接不完整", wt), at({
|
|
20349
20349
|
tite: "【模型】" + wt + "数据地址有误",
|
|
20350
20350
|
type: "error",
|
|
20351
20351
|
id: mt,
|
|
20352
20352
|
url: Ot
|
|
20353
|
-
}),
|
|
20353
|
+
}), !1;
|
|
20354
20354
|
new Cesium.Resource({
|
|
20355
20355
|
url: Ot
|
|
20356
20356
|
}).fetchJson().then((m) => {
|
|
@@ -20389,6 +20389,10 @@ class bh {
|
|
|
20389
20389
|
// 1024MB = 1024*1024*1024
|
|
20390
20390
|
maximumCacheOverflowBytes: 2147483648 * 2
|
|
20391
20391
|
// 2048MB = 2048*1024*1024
|
|
20392
|
+
// 1.04版本
|
|
20393
|
+
// customShader: new Cesium.CustomShader({
|
|
20394
|
+
// lightingModel: Cesium.LightingModel.UNLIT,
|
|
20395
|
+
// }),
|
|
20392
20396
|
}), this.tilesetLayer.bindPopup((G) => {
|
|
20393
20397
|
if (G.graphic) {
|
|
20394
20398
|
const b = G.graphic.attr;
|
|
@@ -20410,19 +20414,19 @@ class bh {
|
|
|
20410
20414
|
color: "rgba(255,0,0,1)"
|
|
20411
20415
|
},
|
|
20412
20416
|
!0
|
|
20413
|
-
)
|
|
20417
|
+
);
|
|
20414
20418
|
}), Z && Object.keys(Z).forEach((G) => {
|
|
20415
20419
|
this.tilesetLayer.on(ft.get(G), (b) => {
|
|
20416
20420
|
Z[G](b);
|
|
20417
20421
|
});
|
|
20418
20422
|
}), Ct == 0 && this.bimObliquePhotographyId.push(mt), this.map.addLayer(this.tilesetLayer);
|
|
20419
20423
|
}).catch((m) => {
|
|
20420
|
-
console.
|
|
20424
|
+
console.error("数据加载失败", wt), at({
|
|
20421
20425
|
tite: "【模型】" + wt + "数据加载失败",
|
|
20422
20426
|
type: "error",
|
|
20423
20427
|
id: mt,
|
|
20424
20428
|
url: Ot
|
|
20425
|
-
})
|
|
20429
|
+
});
|
|
20426
20430
|
});
|
|
20427
20431
|
});
|
|
20428
20432
|
}
|
|
@@ -20431,29 +20435,29 @@ class bh {
|
|
|
20431
20435
|
* @param { String } id 模型id
|
|
20432
20436
|
*
|
|
20433
20437
|
*/
|
|
20434
|
-
remove(
|
|
20435
|
-
this.map.removeLayer(this.map.getLayer(
|
|
20438
|
+
remove(pt) {
|
|
20439
|
+
this.map.getLayer(pt, "modelId").closeHighlight(), this.map.removeLayer(this.map.getLayer(pt, "modelId"));
|
|
20436
20440
|
}
|
|
20437
20441
|
/**
|
|
20438
20442
|
* 选中模型
|
|
20439
20443
|
* @param { String } id 模型id
|
|
20440
20444
|
*
|
|
20441
20445
|
*/
|
|
20442
|
-
selected(
|
|
20446
|
+
selected(pt, Z = !0) {
|
|
20443
20447
|
return new Promise((ft, at) => {
|
|
20444
|
-
let x = this.map.getLayer(
|
|
20448
|
+
let x = this.map.getLayer(pt, "modelId");
|
|
20445
20449
|
x ? (Z && x.flyTo(), x.style == null && x.openHighlight(
|
|
20446
20450
|
{
|
|
20447
20451
|
color: "rgba(255,0,0,1)"
|
|
20448
20452
|
},
|
|
20449
20453
|
!0
|
|
20450
|
-
),
|
|
20454
|
+
), ft(x)) : this.add(pt).then((mt) => {
|
|
20451
20455
|
mt && (Z && mt.flyTo(), mt.style == null && mt.openHighlight(
|
|
20452
20456
|
{
|
|
20453
20457
|
color: "rgba(255,0,0,1)"
|
|
20454
20458
|
},
|
|
20455
20459
|
!0
|
|
20456
|
-
),
|
|
20460
|
+
), ft(mt));
|
|
20457
20461
|
});
|
|
20458
20462
|
});
|
|
20459
20463
|
}
|
|
@@ -20470,16 +20474,16 @@ class bh {
|
|
|
20470
20474
|
* @param { String } id 模型属性
|
|
20471
20475
|
* @returns { Object || Boolean } 查询出来的树对象 或者 false
|
|
20472
20476
|
*/
|
|
20473
|
-
query(
|
|
20474
|
-
return this.modelArr.length == 0 ? !1 : this.modelArr.find((Z) => Z.id ==
|
|
20477
|
+
query(pt) {
|
|
20478
|
+
return this.modelArr.length == 0 ? !1 : this.modelArr.find((Z) => Z.id == pt);
|
|
20475
20479
|
}
|
|
20476
20480
|
/**
|
|
20477
20481
|
* 用户操作的模型
|
|
20478
20482
|
* @param { String } id 模型属性
|
|
20479
20483
|
*/
|
|
20480
|
-
postEditDate(
|
|
20484
|
+
postEditDate(pt) {
|
|
20481
20485
|
this.editDate = {
|
|
20482
|
-
id:
|
|
20486
|
+
id: pt
|
|
20483
20487
|
};
|
|
20484
20488
|
}
|
|
20485
20489
|
/**
|
|
@@ -20488,16 +20492,16 @@ class bh {
|
|
|
20488
20492
|
* @param { String | Number } newColor 需要着色的颜色
|
|
20489
20493
|
* @param { String } selectcontent 判断逻辑 默认是全部染色
|
|
20490
20494
|
*/
|
|
20491
|
-
editColor(
|
|
20492
|
-
let at = this.map.getLayer(
|
|
20493
|
-
if (this.postEditDate(
|
|
20495
|
+
editColor(pt, Z, ft = "true") {
|
|
20496
|
+
let at = this.map.getLayer(pt, "modelId");
|
|
20497
|
+
if (this.postEditDate(pt), Z)
|
|
20494
20498
|
at.style = {
|
|
20495
20499
|
color: {
|
|
20496
20500
|
conditions: [[ft, Z]]
|
|
20497
20501
|
}
|
|
20498
20502
|
};
|
|
20499
20503
|
else {
|
|
20500
|
-
let x = this.query(
|
|
20504
|
+
let x = this.query(pt).modelColor;
|
|
20501
20505
|
x ? at.style = {
|
|
20502
20506
|
color: { conditions: [[ft, x]] }
|
|
20503
20507
|
} : at.style = null;
|
|
@@ -20508,22 +20512,22 @@ class bh {
|
|
|
20508
20512
|
* @param { String } id 模型属性
|
|
20509
20513
|
* @param { String | Number } opacity 透明度值
|
|
20510
20514
|
*/
|
|
20511
|
-
editOpacity(
|
|
20512
|
-
this.map.getLayer(
|
|
20515
|
+
editOpacity(pt, Z) {
|
|
20516
|
+
this.map.getLayer(pt, "modelId").opacity = Z;
|
|
20513
20517
|
}
|
|
20514
20518
|
/**
|
|
20515
20519
|
* 模型挖洞
|
|
20516
20520
|
*/
|
|
20517
|
-
addClip(
|
|
20521
|
+
addClip(pt) {
|
|
20518
20522
|
return new Promise((Z, ft) => {
|
|
20519
|
-
window.bimClip ? Z(bimClip.clipModelAdd(
|
|
20523
|
+
window.bimClip ? Z(bimClip.clipModelAdd(pt)) : ft("挖洞工具未初始化");
|
|
20520
20524
|
});
|
|
20521
20525
|
}
|
|
20522
20526
|
/**
|
|
20523
20527
|
* 模型挖洞 移除
|
|
20524
20528
|
*/
|
|
20525
|
-
removeClip(
|
|
20526
|
-
window.bimClip ? window.bimClip.clipModelremoveClip(
|
|
20529
|
+
removeClip(pt) {
|
|
20530
|
+
window.bimClip ? window.bimClip.clipModelremoveClip(pt) : console.log("挖洞工具未初始化");
|
|
20527
20531
|
}
|
|
20528
20532
|
// tilesetLayer.clip.clear()
|
|
20529
20533
|
}
|
|
@@ -20537,8 +20541,8 @@ const Ah = [nh, Ph], Rh = {
|
|
|
20537
20541
|
p.config.globalProperties.$continuation = this.continuation;
|
|
20538
20542
|
return;
|
|
20539
20543
|
}
|
|
20540
|
-
let
|
|
20541
|
-
if (ft.appendChild(Z), this.loading =
|
|
20544
|
+
let pt = Oa(mh), Z = document.createElement("div"), ft = document.body;
|
|
20545
|
+
if (ft.appendChild(Z), this.loading = pt.mount(Z), p.config.globalProperties.$loading = this.loading, window.$continuation = this.loading, this.mapModali) {
|
|
20542
20546
|
p.config.globalProperties.$mapModali = this.mapModali;
|
|
20543
20547
|
return;
|
|
20544
20548
|
}
|