brainsmatics 1.0.93 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{deflate-f3182dde.js → deflate-4fd3da47.js} +1 -1
- package/dist/{deflate-1cd24637.mjs → deflate-79a9da8e.mjs} +1 -1
- package/dist/{index-8cf02bcc.js → index-303b1abb.js} +21 -21
- package/dist/{index-1013b613.mjs → index-fdc76c1d.mjs} +201 -201
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-e35fba73.mjs → lerc-9556e594.mjs} +1 -1
- package/dist/{lerc-641d3f50.js → lerc-fdcd03ee.js} +1 -1
- package/package.json +1 -1
|
@@ -58694,9 +58694,9 @@ class $c extends fx {
|
|
|
58694
58694
|
$c.DEFAULT_IMAGE = null;
|
|
58695
58695
|
$c.DEFAULT_MAPPING = mSe;
|
|
58696
58696
|
$c.DEFAULT_ANISOTROPY = 1;
|
|
58697
|
-
class
|
|
58697
|
+
class _s {
|
|
58698
58698
|
constructor(e = 0, n = 0, r = 0, i = 1) {
|
|
58699
|
-
|
|
58699
|
+
_s.prototype.isVector4 = !0, this.x = e, this.y = n, this.z = r, this.w = i;
|
|
58700
58700
|
}
|
|
58701
58701
|
get width() {
|
|
58702
58702
|
return this.z;
|
|
@@ -58895,7 +58895,7 @@ class Es {
|
|
|
58895
58895
|
}
|
|
58896
58896
|
class Cut extends fx {
|
|
58897
58897
|
constructor(e = 1, n = 1, r = {}) {
|
|
58898
|
-
super(), this.isRenderTarget = !0, this.width = e, this.height = n, this.depth = 1, this.scissor = new
|
|
58898
|
+
super(), this.isRenderTarget = !0, this.width = e, this.height = n, this.depth = 1, this.scissor = new _s(0, 0, e, n), this.scissorTest = !1, this.viewport = new _s(0, 0, e, n);
|
|
58899
58899
|
const i = { width: e, height: n, depth: 1 };
|
|
58900
58900
|
r.encoding !== void 0 && (qT("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."), r.colorSpace = r.encoding === mb ? Ml : Qh), r = Object.assign({
|
|
58901
58901
|
generateMipmaps: !1,
|
|
@@ -59420,7 +59420,7 @@ class Ie {
|
|
|
59420
59420
|
}
|
|
59421
59421
|
}
|
|
59422
59422
|
const yk = /* @__PURE__ */ new Ie(), oae = /* @__PURE__ */ new go();
|
|
59423
|
-
class
|
|
59423
|
+
class Ss {
|
|
59424
59424
|
constructor(e = new Ie(1 / 0, 1 / 0, 1 / 0), n = new Ie(-1 / 0, -1 / 0, -1 / 0)) {
|
|
59425
59425
|
this.isBox3 = !0, this.min = e, this.max = n;
|
|
59426
59426
|
}
|
|
@@ -59589,7 +59589,7 @@ const zg = [
|
|
|
59589
59589
|
/* @__PURE__ */ new Ie(),
|
|
59590
59590
|
/* @__PURE__ */ new Ie(),
|
|
59591
59591
|
/* @__PURE__ */ new Ie()
|
|
59592
|
-
], Hg = /* @__PURE__ */ new Ie(), rC = /* @__PURE__ */ new
|
|
59592
|
+
], Hg = /* @__PURE__ */ new Ie(), rC = /* @__PURE__ */ new Ss(), iC = /* @__PURE__ */ new Ie(), aC = /* @__PURE__ */ new Ie(), oC = /* @__PURE__ */ new Ie(), v0 = /* @__PURE__ */ new Ie(), g0 = /* @__PURE__ */ new Ie(), by = /* @__PURE__ */ new Ie(), r_ = /* @__PURE__ */ new Ie(), x6 = /* @__PURE__ */ new Ie(), C6 = /* @__PURE__ */ new Ie(), xy = /* @__PURE__ */ new Ie();
|
|
59593
59593
|
function bk(t, e, n, r, i) {
|
|
59594
59594
|
for (let a = 0, o = t.length - 3; a <= o; a += 3) {
|
|
59595
59595
|
xy.fromArray(t, a);
|
|
@@ -59599,7 +59599,7 @@ function bk(t, e, n, r, i) {
|
|
|
59599
59599
|
}
|
|
59600
59600
|
return !0;
|
|
59601
59601
|
}
|
|
59602
|
-
const wut = /* @__PURE__ */ new
|
|
59602
|
+
const wut = /* @__PURE__ */ new Ss(), i_ = /* @__PURE__ */ new Ie(), xk = /* @__PURE__ */ new Ie();
|
|
59603
59603
|
class Ag {
|
|
59604
59604
|
constructor(e = new Ie(), n = -1) {
|
|
59605
59605
|
this.center = e, this.radius = n;
|
|
@@ -61153,7 +61153,7 @@ class Ld extends uh {
|
|
|
61153
61153
|
}
|
|
61154
61154
|
}
|
|
61155
61155
|
const Yc = /* @__PURE__ */ new Ie(), A6 = /* @__PURE__ */ new xr();
|
|
61156
|
-
class
|
|
61156
|
+
class Es {
|
|
61157
61157
|
constructor(e, n, r = !1) {
|
|
61158
61158
|
if (Array.isArray(e))
|
|
61159
61159
|
throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");
|
|
@@ -61266,23 +61266,23 @@ class Ss {
|
|
|
61266
61266
|
return this.name !== "" && (e.name = this.name), this.usage !== Wz && (e.usage = this.usage), (this.updateRange.offset !== 0 || this.updateRange.count !== -1) && (e.updateRange = this.updateRange), e;
|
|
61267
61267
|
}
|
|
61268
61268
|
}
|
|
61269
|
-
class zX extends
|
|
61269
|
+
class zX extends Es {
|
|
61270
61270
|
constructor(e, n, r) {
|
|
61271
61271
|
super(new Uint16Array(e), n, r);
|
|
61272
61272
|
}
|
|
61273
61273
|
}
|
|
61274
|
-
class NSe extends
|
|
61274
|
+
class NSe extends Es {
|
|
61275
61275
|
constructor(e, n, r) {
|
|
61276
61276
|
super(new Uint32Array(e), n, r);
|
|
61277
61277
|
}
|
|
61278
61278
|
}
|
|
61279
|
-
class Da extends
|
|
61279
|
+
class Da extends Es {
|
|
61280
61280
|
constructor(e, n, r) {
|
|
61281
61281
|
super(new Float32Array(e), n, r);
|
|
61282
61282
|
}
|
|
61283
61283
|
}
|
|
61284
61284
|
let Out = 0;
|
|
61285
|
-
const Oh = /* @__PURE__ */ new _i(), Mk = /* @__PURE__ */ new bo(), dC = /* @__PURE__ */ new Ie(), Xf = /* @__PURE__ */ new
|
|
61285
|
+
const Oh = /* @__PURE__ */ new _i(), Mk = /* @__PURE__ */ new bo(), dC = /* @__PURE__ */ new Ie(), Xf = /* @__PURE__ */ new Ss(), o_ = /* @__PURE__ */ new Ss(), Du = /* @__PURE__ */ new Ie();
|
|
61286
61286
|
class ea extends fx {
|
|
61287
61287
|
constructor() {
|
|
61288
61288
|
super(), this.isBufferGeometry = !0, Object.defineProperty(this, "id", { value: Out++ }), this.uuid = lp(), this.name = "", this.type = "BufferGeometry", this.index = null, this.attributes = {}, this.morphAttributes = {}, this.morphTargetsRelative = !1, this.groups = [], this.boundingBox = null, this.boundingSphere = null, this.drawRange = { start: 0, count: 1 / 0 }, this.userData = {};
|
|
@@ -61362,7 +61362,7 @@ class ea extends fx {
|
|
|
61362
61362
|
return this.setAttribute("position", new Da(n, 3)), this;
|
|
61363
61363
|
}
|
|
61364
61364
|
computeBoundingBox() {
|
|
61365
|
-
this.boundingBox === null && (this.boundingBox = new
|
|
61365
|
+
this.boundingBox === null && (this.boundingBox = new Ss());
|
|
61366
61366
|
const e = this.attributes.position, n = this.morphAttributes.position;
|
|
61367
61367
|
if (e && e.isGLBufferAttribute) {
|
|
61368
61368
|
console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "false".', this), this.boundingBox.set(
|
|
@@ -61415,7 +61415,7 @@ class ea extends fx {
|
|
|
61415
61415
|
return;
|
|
61416
61416
|
}
|
|
61417
61417
|
const r = e.array, i = n.position.array, a = n.normal.array, o = n.uv.array, s = i.length / 3;
|
|
61418
|
-
this.hasAttribute("tangent") === !1 && this.setAttribute("tangent", new
|
|
61418
|
+
this.hasAttribute("tangent") === !1 && this.setAttribute("tangent", new Es(new Float32Array(4 * s), 4));
|
|
61419
61419
|
const c = this.getAttribute("tangent").array, u = [], d = [];
|
|
61420
61420
|
for (let N = 0; N < s; N++)
|
|
61421
61421
|
u[N] = new Ie(), d[N] = new Ie();
|
|
@@ -61458,7 +61458,7 @@ class ea extends fx {
|
|
|
61458
61458
|
if (n !== void 0) {
|
|
61459
61459
|
let r = this.getAttribute("normal");
|
|
61460
61460
|
if (r === void 0)
|
|
61461
|
-
r = new
|
|
61461
|
+
r = new Es(new Float32Array(n.count * 3), 3), this.setAttribute("normal", r);
|
|
61462
61462
|
else
|
|
61463
61463
|
for (let h = 0, p = r.count; h < p; h++)
|
|
61464
61464
|
r.setXYZ(h, 0, 0, 0);
|
|
@@ -61488,7 +61488,7 @@ class ea extends fx {
|
|
|
61488
61488
|
for (let m = 0; m < d; m++)
|
|
61489
61489
|
h[v++] = u[p++];
|
|
61490
61490
|
}
|
|
61491
|
-
return new
|
|
61491
|
+
return new Es(h, d, f);
|
|
61492
61492
|
}
|
|
61493
61493
|
if (this.index === null)
|
|
61494
61494
|
return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."), this;
|
|
@@ -66949,7 +66949,7 @@ function Eht(t) {
|
|
|
66949
66949
|
C.set(N, m * v * E);
|
|
66950
66950
|
}
|
|
66951
66951
|
const w = new ea();
|
|
66952
|
-
w.setAttribute("position", new
|
|
66952
|
+
w.setAttribute("position", new Es(b, y)), w.setAttribute("uv", new Es(x, g)), w.setAttribute("faceIndex", new Es(C, m)), e.push(w), i > Ww && i--;
|
|
66953
66953
|
}
|
|
66954
66954
|
return { lodPlanes: e, sizeLods: n, sigmas: r };
|
|
66955
66955
|
}
|
|
@@ -67410,7 +67410,7 @@ function Pht(t, e) {
|
|
|
67410
67410
|
return Math.abs(e[1]) - Math.abs(t[1]);
|
|
67411
67411
|
}
|
|
67412
67412
|
function Rht(t, e, n) {
|
|
67413
|
-
const r = {}, i = new Float32Array(8), a = /* @__PURE__ */ new WeakMap(), o = new
|
|
67413
|
+
const r = {}, i = new Float32Array(8), a = /* @__PURE__ */ new WeakMap(), o = new _s(), s = [];
|
|
67414
67414
|
for (let u = 0; u < 8; u++)
|
|
67415
67415
|
s[u] = [u, 0];
|
|
67416
67416
|
function c(u, d, f) {
|
|
@@ -69144,7 +69144,7 @@ void main() {
|
|
|
69144
69144
|
}`;
|
|
69145
69145
|
function svt(t, e, n) {
|
|
69146
69146
|
let r = new HX();
|
|
69147
|
-
const i = new xr(), a = new xr(), o = new
|
|
69147
|
+
const i = new xr(), a = new xr(), o = new _s(), s = new rvt({ depthPacking: Xct }), c = new ivt(), u = {}, d = n.maxTextureSize, f = { [Bm]: rf, [rf]: Bm, [Lf]: Lf }, h = new bg({
|
|
69148
69148
|
defines: {
|
|
69149
69149
|
VSM_SAMPLES: 8
|
|
69150
69150
|
},
|
|
@@ -69160,7 +69160,7 @@ function svt(t, e, n) {
|
|
|
69160
69160
|
const v = new ea();
|
|
69161
69161
|
v.setAttribute(
|
|
69162
69162
|
"position",
|
|
69163
|
-
new
|
|
69163
|
+
new Es(
|
|
69164
69164
|
new Float32Array([-1, -1, 0.5, 3, -1, 0.5, -1, 3, 0.5]),
|
|
69165
69165
|
3
|
|
69166
69166
|
)
|
|
@@ -69254,9 +69254,9 @@ function lvt(t, e, n) {
|
|
|
69254
69254
|
const r = n.isWebGL2;
|
|
69255
69255
|
function i() {
|
|
69256
69256
|
let ze = !1;
|
|
69257
|
-
const Lt = new
|
|
69257
|
+
const Lt = new _s();
|
|
69258
69258
|
let At = null;
|
|
69259
|
-
const kt = new
|
|
69259
|
+
const kt = new _s(0, 0, 0, 0);
|
|
69260
69260
|
return {
|
|
69261
69261
|
setMask: function(Ot) {
|
|
69262
69262
|
At !== Ot && !ze && (t.colorMask(Ot, Ot, Ot, Ot), At = Ot);
|
|
@@ -69358,7 +69358,7 @@ function lvt(t, e, n) {
|
|
|
69358
69358
|
const j = t.getParameter(t.VERSION);
|
|
69359
69359
|
j.indexOf("WebGL") !== -1 ? (V = parseFloat(/^WebGL (\d)/.exec(j)[1]), z = V >= 1) : j.indexOf("OpenGL ES") !== -1 && (V = parseFloat(/^OpenGL ES (\d)/.exec(j)[1]), z = V >= 2);
|
|
69360
69360
|
let Y = null, W = {};
|
|
69361
|
-
const Z = t.getParameter(t.SCISSOR_BOX), te = t.getParameter(t.VIEWPORT), se = new
|
|
69361
|
+
const Z = t.getParameter(t.SCISSOR_BOX), te = t.getParameter(t.VIEWPORT), se = new _s().fromArray(Z), q = new _s().fromArray(te);
|
|
69362
69362
|
function ne(ze, Lt, At, kt) {
|
|
69363
69363
|
const Ot = new Uint8Array(4), zt = t.createTexture();
|
|
69364
69364
|
t.bindTexture(ze, zt), t.texParameteri(ze, t.TEXTURE_MIN_FILTER, t.NEAREST), t.texParameteri(ze, t.TEXTURE_MAG_FILTER, t.NEAREST);
|
|
@@ -70384,9 +70384,9 @@ class pvt extends fx {
|
|
|
70384
70384
|
const y = n.getContextAttributes();
|
|
70385
70385
|
let g = null, m = null;
|
|
70386
70386
|
const b = [], x = [], C = new Vu();
|
|
70387
|
-
C.layers.enable(1), C.viewport = new
|
|
70387
|
+
C.layers.enable(1), C.viewport = new _s();
|
|
70388
70388
|
const w = new Vu();
|
|
70389
|
-
w.layers.enable(2), w.viewport = new
|
|
70389
|
+
w.layers.enable(2), w.viewport = new _s();
|
|
70390
70390
|
const E = [C, w], I = new dvt();
|
|
70391
70391
|
I.layers.enable(1), I.layers.enable(2);
|
|
70392
70392
|
let R = null, M = null;
|
|
@@ -70560,7 +70560,7 @@ class pvt extends fx {
|
|
|
70560
70560
|
), e.setRenderTarget(m));
|
|
70561
70561
|
}
|
|
70562
70562
|
let ee = E[ne];
|
|
70563
|
-
ee === void 0 && (ee = new Vu(), ee.layers.enable(ne), ee.viewport = new
|
|
70563
|
+
ee === void 0 && (ee = new Vu(), ee.layers.enable(ne), ee.viewport = new _s(), E[ne] = ee), ee.matrix.fromArray(oe.transform.matrix), ee.matrix.decompose(ee.position, ee.quaternion, ee.scale), ee.projectionMatrix.fromArray(oe.projectionMatrix), ee.projectionMatrixInverse.copy(ee.projectionMatrix).invert(), ee.viewport.set(ie.x, ie.y, ie.width, ie.height), ne === 0 && (I.matrix.copy(ee.matrix), I.matrix.decompose(I.position, I.quaternion, I.scale)), q === !0 && I.cameras.push(ee);
|
|
70564
70564
|
}
|
|
70565
70565
|
}
|
|
70566
70566
|
for (let se = 0; se < b.length; se++) {
|
|
@@ -70786,11 +70786,11 @@ class jX {
|
|
|
70786
70786
|
}, this.autoClear = !0, this.autoClearColor = !0, this.autoClearDepth = !0, this.autoClearStencil = !0, this.sortObjects = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this._outputColorSpace = Ml, this._useLegacyLights = !1, this.toneMapping = v1, this.toneMappingExposure = 1;
|
|
70787
70787
|
const x = this;
|
|
70788
70788
|
let C = !1, w = 0, E = 0, I = null, R = -1, M = null;
|
|
70789
|
-
const N = new
|
|
70789
|
+
const N = new _s(), k = new _s();
|
|
70790
70790
|
let B = null;
|
|
70791
70791
|
const H = new ui(0);
|
|
70792
70792
|
let F = 0, G = n.width, z = n.height, V = 1, j = null, Y = null;
|
|
70793
|
-
const W = new
|
|
70793
|
+
const W = new _s(0, 0, G, z), Z = new _s(0, 0, G, z);
|
|
70794
70794
|
let te = !1;
|
|
70795
70795
|
const se = new HX();
|
|
70796
70796
|
let q = !1, ne = !1, oe = null;
|
|
@@ -71404,7 +71404,7 @@ class K4 {
|
|
|
71404
71404
|
for (let a = 0; a < this.itemSize; a++)
|
|
71405
71405
|
n.push(this.data.array[i + a]);
|
|
71406
71406
|
}
|
|
71407
|
-
return new
|
|
71407
|
+
return new Es(new this.array.constructor(n), this.itemSize, this.normalized);
|
|
71408
71408
|
} else
|
|
71409
71409
|
return e.interleavedBuffers === void 0 && (e.interleavedBuffers = {}), e.interleavedBuffers[this.data.uuid] === void 0 && (e.interleavedBuffers[this.data.uuid] = this.data.clone(e)), new K4(e.interleavedBuffers[this.data.uuid], this.itemSize, this.offset, this.normalized);
|
|
71410
71410
|
}
|
|
@@ -71585,14 +71585,14 @@ class JT extends bo {
|
|
|
71585
71585
|
return n;
|
|
71586
71586
|
}
|
|
71587
71587
|
}
|
|
71588
|
-
const Gae = /* @__PURE__ */ new Ie(), jae = /* @__PURE__ */ new
|
|
71588
|
+
const Gae = /* @__PURE__ */ new Ie(), jae = /* @__PURE__ */ new _s(), Wae = /* @__PURE__ */ new _s(), yvt = /* @__PURE__ */ new Ie(), Xae = /* @__PURE__ */ new _i(), wC = /* @__PURE__ */ new Ie(), Uk = /* @__PURE__ */ new Ag(), Zae = /* @__PURE__ */ new _i(), Fk = /* @__PURE__ */ new L3();
|
|
71589
71589
|
class WSe extends lr {
|
|
71590
71590
|
constructor(e, n) {
|
|
71591
71591
|
super(e, n), this.isSkinnedMesh = !0, this.type = "SkinnedMesh", this.bindMode = "attached", this.bindMatrix = new _i(), this.bindMatrixInverse = new _i(), this.boundingBox = null, this.boundingSphere = null;
|
|
71592
71592
|
}
|
|
71593
71593
|
computeBoundingBox() {
|
|
71594
71594
|
const e = this.geometry;
|
|
71595
|
-
this.boundingBox === null && (this.boundingBox = new
|
|
71595
|
+
this.boundingBox === null && (this.boundingBox = new Ss()), this.boundingBox.makeEmpty();
|
|
71596
71596
|
const n = e.getAttribute("position");
|
|
71597
71597
|
for (let r = 0; r < n.count; r++)
|
|
71598
71598
|
wC.fromBufferAttribute(n, r), this.applyBoneTransform(r, wC), this.boundingBox.expandByPoint(wC);
|
|
@@ -71621,7 +71621,7 @@ class WSe extends lr {
|
|
|
71621
71621
|
this.skeleton.pose();
|
|
71622
71622
|
}
|
|
71623
71623
|
normalizeSkinWeights() {
|
|
71624
|
-
const e = new
|
|
71624
|
+
const e = new _s(), n = this.geometry.attributes.skinWeight;
|
|
71625
71625
|
for (let r = 0, i = n.count; r < i; r++) {
|
|
71626
71626
|
e.fromBufferAttribute(n, r);
|
|
71627
71627
|
const a = 1 / e.manhattanLength();
|
|
@@ -71748,7 +71748,7 @@ class pP {
|
|
|
71748
71748
|
return e;
|
|
71749
71749
|
}
|
|
71750
71750
|
}
|
|
71751
|
-
class Yae extends
|
|
71751
|
+
class Yae extends Es {
|
|
71752
71752
|
constructor(e, n, r, i = 1) {
|
|
71753
71753
|
super(e, n, r), this.isInstancedBufferAttribute = !0, this.meshPerAttribute = i;
|
|
71754
71754
|
}
|
|
@@ -71760,7 +71760,7 @@ class Yae extends Ss {
|
|
|
71760
71760
|
return e.meshPerAttribute = this.meshPerAttribute, e.isInstancedBufferAttribute = !0, e;
|
|
71761
71761
|
}
|
|
71762
71762
|
}
|
|
71763
|
-
const SC = /* @__PURE__ */ new _i(), qae = /* @__PURE__ */ new _i(), G6 = [], Jae = /* @__PURE__ */ new
|
|
71763
|
+
const SC = /* @__PURE__ */ new _i(), qae = /* @__PURE__ */ new _i(), G6 = [], Jae = /* @__PURE__ */ new Ss(), Cvt = /* @__PURE__ */ new _i(), u_ = /* @__PURE__ */ new lr(), d_ = /* @__PURE__ */ new Ag();
|
|
71764
71764
|
class wvt extends lr {
|
|
71765
71765
|
constructor(e, n, r) {
|
|
71766
71766
|
super(e, n), this.isInstancedMesh = !0, this.instanceMatrix = new Yae(new Float32Array(r * 16), 16), this.instanceColor = null, this.count = r, this.boundingBox = null, this.boundingSphere = null;
|
|
@@ -71769,7 +71769,7 @@ class wvt extends lr {
|
|
|
71769
71769
|
}
|
|
71770
71770
|
computeBoundingBox() {
|
|
71771
71771
|
const e = this.geometry, n = this.count;
|
|
71772
|
-
this.boundingBox === null && (this.boundingBox = new
|
|
71772
|
+
this.boundingBox === null && (this.boundingBox = new Ss()), e.boundingBox === null && e.computeBoundingBox(), this.boundingBox.makeEmpty();
|
|
71773
71773
|
for (let r = 0; r < n; r++)
|
|
71774
71774
|
this.getMatrixAt(r, SC), Jae.copy(e.boundingBox).applyMatrix4(SC), this.boundingBox.union(Jae);
|
|
71775
71775
|
}
|
|
@@ -74503,7 +74503,7 @@ const Gk = /* @__PURE__ */ new _i(), doe = /* @__PURE__ */ new Ie(), foe = /* @_
|
|
|
74503
74503
|
class JX {
|
|
74504
74504
|
constructor(e) {
|
|
74505
74505
|
this.camera = e, this.bias = 0, this.normalBias = 0, this.radius = 1, this.blurSamples = 8, this.mapSize = new xr(512, 512), this.map = null, this.mapPass = null, this.matrix = new _i(), this.autoUpdate = !0, this.needsUpdate = !1, this._frustum = new HX(), this._frameExtents = new xr(1, 1), this._viewportCount = 1, this._viewports = [
|
|
74506
|
-
new
|
|
74506
|
+
new _s(0, 0, 1, 1)
|
|
74507
74507
|
];
|
|
74508
74508
|
}
|
|
74509
74509
|
getViewportCount() {
|
|
@@ -74599,17 +74599,17 @@ class pgt extends JX {
|
|
|
74599
74599
|
// Z - Positive z direction
|
|
74600
74600
|
// z - Negative z direction
|
|
74601
74601
|
// positive X
|
|
74602
|
-
new
|
|
74602
|
+
new _s(2, 1, 1, 1),
|
|
74603
74603
|
// negative X
|
|
74604
|
-
new
|
|
74604
|
+
new _s(0, 1, 1, 1),
|
|
74605
74605
|
// positive Z
|
|
74606
|
-
new
|
|
74606
|
+
new _s(3, 1, 1, 1),
|
|
74607
74607
|
// negative Z
|
|
74608
|
-
new
|
|
74608
|
+
new _s(1, 1, 1, 1),
|
|
74609
74609
|
// positive Y
|
|
74610
|
-
new
|
|
74610
|
+
new _s(3, 0, 1, 1),
|
|
74611
74611
|
// negative Y
|
|
74612
|
-
new
|
|
74612
|
+
new _s(1, 0, 1, 1)
|
|
74613
74613
|
], this._cubeDirections = [
|
|
74614
74614
|
new Ie(1, 0, 0),
|
|
74615
74615
|
new Ie(-1, 0, 0),
|
|
@@ -76803,7 +76803,7 @@ class gmt {
|
|
|
76803
76803
|
const n = this, r = this.json, i = this.json.accessors[e];
|
|
76804
76804
|
if (i.bufferView === void 0 && i.sparse === void 0) {
|
|
76805
76805
|
const o = Zk[i.type], s = fS[i.componentType], c = i.normalized === !0, u = new s(i.count * o);
|
|
76806
|
-
return Promise.resolve(new
|
|
76806
|
+
return Promise.resolve(new Es(u, o, c));
|
|
76807
76807
|
}
|
|
76808
76808
|
const a = [];
|
|
76809
76809
|
return i.bufferView !== void 0 ? a.push(this.getDependency("bufferView", i.bufferView)) : a.push(null), i.sparse !== void 0 && (a.push(this.getDependency("bufferView", i.sparse.indices.bufferView)), a.push(this.getDependency("bufferView", i.sparse.values.bufferView))), Promise.all(a).then(function(o) {
|
|
@@ -76814,10 +76814,10 @@ class gmt {
|
|
|
76814
76814
|
let x = n.cache.get(b);
|
|
76815
76815
|
x || (y = new u(s, m * p, i.count * p / d), x = new GSe(y, p / d), n.cache.add(b, x)), g = new K4(x, c, h % p / d, v);
|
|
76816
76816
|
} else
|
|
76817
|
-
s === null ? y = new u(i.count * c) : y = new u(s, h, i.count * c), g = new
|
|
76817
|
+
s === null ? y = new u(i.count * c) : y = new u(s, h, i.count * c), g = new Es(y, c, v);
|
|
76818
76818
|
if (i.sparse !== void 0) {
|
|
76819
76819
|
const m = Zk.SCALAR, b = fS[i.sparse.indices.componentType], x = i.sparse.indices.byteOffset || 0, C = i.sparse.values.byteOffset || 0, w = new b(o[1], x, i.sparse.count * m), E = new u(o[2], C, i.sparse.count * c);
|
|
76820
|
-
s !== null && (g = new
|
|
76820
|
+
s !== null && (g = new Es(g.array.slice(), g.itemSize, g.normalized));
|
|
76821
76821
|
for (let I = 0, R = w.length; I < R; I++) {
|
|
76822
76822
|
const M = w[I];
|
|
76823
76823
|
if (g.setX(M, E[I * c]), c >= 2 && g.setY(M, E[I * c + 1]), c >= 3 && g.setZ(M, E[I * c + 2]), c >= 4 && g.setW(M, E[I * c + 3]), c >= 5)
|
|
@@ -77271,7 +77271,7 @@ class gmt {
|
|
|
77271
77271
|
}
|
|
77272
77272
|
}
|
|
77273
77273
|
function mmt(t, e, n) {
|
|
77274
|
-
const r = e.attributes, i = new
|
|
77274
|
+
const r = e.attributes, i = new Ss();
|
|
77275
77275
|
if (r.POSITION !== void 0) {
|
|
77276
77276
|
const s = n.json.accessors[r.POSITION], c = s.min, u = s.max;
|
|
77277
77277
|
if (c !== void 0 && u !== void 0) {
|
|
@@ -77619,7 +77619,7 @@ function Pmt(t, e, n, r) {
|
|
|
77619
77619
|
return i;
|
|
77620
77620
|
}
|
|
77621
77621
|
function Rmt(t, e, n, r) {
|
|
77622
|
-
const i = v3e(t, r, e), a = Pmt(i, r, t, e), o = new
|
|
77622
|
+
const i = v3e(t, r, e), a = Pmt(i, r, t, e), o = new _s(0, 0, 0, 0);
|
|
77623
77623
|
for (let s = 0; s <= t; ++s) {
|
|
77624
77624
|
const c = n[i - t + s], u = a[s], d = c.w * u;
|
|
77625
77625
|
o.x += c.x * d, o.y += c.y * d, o.z += c.z * d, o.w += c.w * u;
|
|
@@ -77690,7 +77690,7 @@ function Dmt(t, e, n, r, i) {
|
|
|
77690
77690
|
o[d] = f;
|
|
77691
77691
|
}
|
|
77692
77692
|
for (let d = a + 1; d <= i + 1; ++d)
|
|
77693
|
-
o[d] = new
|
|
77693
|
+
o[d] = new _s(0, 0, 0);
|
|
77694
77694
|
return o;
|
|
77695
77695
|
}
|
|
77696
77696
|
function kmt(t, e) {
|
|
@@ -77728,7 +77728,7 @@ class Bmt extends Sv {
|
|
|
77728
77728
|
super(), this.degree = e, this.knots = n, this.controlPoints = [], this.startKnot = i || 0, this.endKnot = a || this.knots.length - 1;
|
|
77729
77729
|
for (let o = 0; o < r.length; ++o) {
|
|
77730
77730
|
const s = r[o];
|
|
77731
|
-
this.controlPoints[o] = new
|
|
77731
|
+
this.controlPoints[o] = new _s(s.x, s.y, s.z, s.w);
|
|
77732
77732
|
}
|
|
77733
77733
|
}
|
|
77734
77734
|
getPoint(e, n = new Ie()) {
|
|
@@ -78510,7 +78510,7 @@ class $mt {
|
|
|
78510
78510
|
return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", e.Order, e.id), new ea();
|
|
78511
78511
|
const r = n - 1, i = e.KnotVector.a, a = [], o = e.Points.a;
|
|
78512
78512
|
for (let f = 0, h = o.length; f < h; f += 4)
|
|
78513
|
-
a.push(new
|
|
78513
|
+
a.push(new _s().fromArray(o, f));
|
|
78514
78514
|
let s, c;
|
|
78515
78515
|
if (e.Form === "Closed")
|
|
78516
78516
|
a.push(a[0]);
|
|
@@ -79246,7 +79246,7 @@ const x3e = async (t, e) => {
|
|
|
79246
79246
|
m.set(1 - 2 * b.x * b.x, -2 * b.x * b.y, -2 * b.x * b.z, 0, -2 * b.x * b.y, 1 - 2 * b.y * b.y, -2 * b.y * b.z, 0, -2 * b.x * b.z, -2 * b.y * b.z, 1 - 2 * b.z * b.z, 0, 0, 0, 0, 1), g.applyMatrix4(m), g.translateX(-Ao.current), g.translateY(co.current), g.translateZ(-ro.current), g.name = e, g.myMeshType = a, g.children[0].name = e, g.children[0].myMeshType = a, wa.current[e] = g, ov.current && Ae.current.add(g);
|
|
79247
79247
|
}
|
|
79248
79248
|
e == "Brain" && u.scale.set(0.02, 0.02, 0.02), u.translateX(Ao.current), u.translateY(co.current), u.translateZ(-ro.current), u.name = e, u.myMeshType = a, u.children[0].name = e, u.children[0].myMeshType = a, Zi.current[e] = u, Ae.current.add(Zi.current[e]);
|
|
79249
|
-
const h = new Ie(), p = new
|
|
79249
|
+
const h = new Ie(), p = new Ss().setFromObject(u);
|
|
79250
79250
|
p.getCenter(h);
|
|
79251
79251
|
const v = new Ie();
|
|
79252
79252
|
p.getSize(v);
|
|
@@ -79397,7 +79397,7 @@ const o0t = (t) => {
|
|
|
79397
79397
|
ti.geometry = mr.geometry.clone(), ti.geometry.applyMatrix4(new _i().makeRotationX(-8.3 / 180 * Math.PI));
|
|
79398
79398
|
}
|
|
79399
79399
|
}), _t.position.set(-5.694961242675781, -7.2, -6.7), _t.updateMatrixWorld(!0);
|
|
79400
|
-
const xn = new
|
|
79400
|
+
const xn = new Ss().setFromObject(_t);
|
|
79401
79401
|
ue.current = xn.max.clone(), Me.current = xn.min.clone();
|
|
79402
79402
|
let St = ue.current.x - Me.current.x, dn = ue.current.y - Me.current.y, or = ue.current.z - Me.current.z;
|
|
79403
79403
|
je.current = 12 / St, Ne.current = 10 / dn, we.current = 14 / or, at.current = new Ie((ue.current.x + Me.current.x) / 2, Me.current.y - (ue.current.y - Me.current.y) * 150 / 9e3, Me.current.z + 0.4 * (ue.current.z - Me.current.z)), De.current = new Ie(at.current.x - 6 / je.current, at.current.y, at.current.z - 6 / we.current), Ye.current = new Ie(at.current.x + 6 / je.current, at.current.y + 10 / Ne.current, at.current.z + 8 / we.current), ka();
|
|
@@ -79602,7 +79602,7 @@ const o0t = (t) => {
|
|
|
79602
79602
|
}
|
|
79603
79603
|
return Un;
|
|
79604
79604
|
}, Hr = () => {
|
|
79605
|
-
var Un, Yn, Er, cn, jn, er, dr, qr, Xr, ai, xa, va, za, ko, Ni, Za, Nn, vt, Le, He, rt, Qe, pt, gt, ot, be, ce, Ve, Ge, Pe, yt, Ft, Bt, rn, Et, Xt, qn, br, Vn, Ln, Jr, ni, hn, en, li, Nr, Zr, as, Ua, ja, gi, Qr, ta, Zo, Oa, Oo, ml, Dl, ds, Co, Fa, os, cl, Hs, fr, Po,
|
|
79605
|
+
var Un, Yn, Er, cn, jn, er, dr, qr, Xr, ai, xa, va, za, ko, Ni, Za, Nn, vt, Le, He, rt, Qe, pt, gt, ot, be, ce, Ve, Ge, Pe, yt, Ft, Bt, rn, Et, Xt, qn, br, Vn, Ln, Jr, ni, hn, en, li, Nr, Zr, as, Ua, ja, gi, Qr, ta, Zo, Oa, Oo, ml, Dl, ds, Co, Fa, os, cl, Hs, fr, Po, Is, Gs, fs, ho, eo, Go, Uo, to, tc, kl, Fo, ns, Ko, nc, Bo, yl, sc, bl, lc, Ul, xl, Cc, bs, cc, uc, wc, Sc, ul, Eu, Yo, dl, qo, js, Ec, gd, _u, ju, Wu, Fl, dc, md, Cl, Xu, _c, Zu, fl, Tu, Ws, As, wl, xs, Li, nl, Tc, wo, Wc, Ku, lu, Yu, cu, uu, Xc, du, Zc, S, D, X, le, Ce, Je, Nt, sn, mn, tr, Vr, Ii, Ji, hs, oo, Xs, Jo, rl, Sl, Iu, qu, fc, Zs, jl, Ro, Ic, Au, ps, fu, il, Cs, Wl, yf, hc, _p, Pg;
|
|
79606
79606
|
let Jt = n.current.target.clone().sub(Pi.current.position.clone()), _t, xn, St, dn = !1, or = !1, ti = !1, mr = !1, Ur = Pi.current.up.y <= 0;
|
|
79607
79607
|
Ur ? ((Yn = (Un = Ue.current) == null ? void 0 : Un.coordText_lb) == null || Yn.children.forEach((Ks) => {
|
|
79608
79608
|
Ks.up.set(0, -1, 0);
|
|
@@ -79620,7 +79620,7 @@ const o0t = (t) => {
|
|
|
79620
79620
|
Ks.up.set(0, 1, 0);
|
|
79621
79621
|
}), (Za = (Ni = Ue.current) == null ? void 0 : Ni.coordText_rb) == null || Za.children.forEach((Ks) => {
|
|
79622
79622
|
Ks.up.set(0, 1, 0);
|
|
79623
|
-
})), _t = (Nn = it.current) == null ? void 0 : Nn.normalVector, St = it, xn = _t && Jt.dot(_t), or = !1, (vt = St.current) != null && vt.coordMesh && Ae.current.remove((Le = St.current) == null ? void 0 : Le.coordMesh), (He = St.current) != null && He.mouseLine_w && Ae.current.remove((rt = St.current) == null ? void 0 : rt.mouseLine_w), (Qe = St.current) != null && Qe.mouseLine_h && Ae.current.remove((pt = St.current) == null ? void 0 : pt.mouseLine_h), typeof ((gt = St.current) == null ? void 0 : gt.coordText) == "object" && Ae.current.remove((ot = St.current) == null ? void 0 : ot.coordText), typeof ((be = St.current) == null ? void 0 : be.coordTextReverse) == "object" && Ae.current.remove((ce = St.current) == null ? void 0 : ce.coordTextReverse), xn && xn >= 0 && (or = !0, (Ve = St.current) != null && Ve.coordMesh && Ae.current.add((Ge = St.current) == null ? void 0 : Ge.coordMesh), (Pe = St.current) != null && Pe.mouseLine_w && Ae.current.add((yt = St.current) == null ? void 0 : yt.mouseLine_w), (Ft = St.current) != null && Ft.mouseLine_h && Ae.current.add((Bt = St.current) == null ? void 0 : Bt.mouseLine_h), Ur ? typeof ((rn = St.current) == null ? void 0 : rn.coordText) == "object" && Ae.current.add((Et = St.current) == null ? void 0 : Et.coordText) : typeof ((Xt = St.current) == null ? void 0 : Xt.coordTextReverse) == "object" && Ae.current.add((qn = St.current) == null ? void 0 : qn.coordTextReverse)), _t = (br = ht.current) == null ? void 0 : br.normalVector, St = ht, xn = _t && Jt.dot(_t), dn = !1, (Vn = St.current) != null && Vn.coordMesh && Ae.current.remove((Ln = St.current) == null ? void 0 : Ln.coordMesh), (Jr = St.current) != null && Jr.mouseLine_w && Ae.current.remove((ni = St.current) == null ? void 0 : ni.mouseLine_w), (hn = St.current) != null && hn.mouseLine_h && Ae.current.remove((en = St.current) == null ? void 0 : en.mouseLine_h), typeof ((li = St.current) == null ? void 0 : li.coordText) == "object" && Ae.current.remove((Nr = St.current) == null ? void 0 : Nr.coordText), typeof ((Zr = St.current) == null ? void 0 : Zr.coordTextReverse) == "object" && Ae.current.remove((as = St.current) == null ? void 0 : as.coordTextReverse), xn && xn >= 0 && (dn = !0, (Ua = St.current) != null && Ua.coordMesh && Ae.current.add((ja = St.current) == null ? void 0 : ja.coordMesh), (gi = St.current) != null && gi.mouseLine_w && Ae.current.add((Qr = St.current) == null ? void 0 : Qr.mouseLine_w), (ta = St.current) != null && ta.mouseLine_h && Ae.current.add((Zo = St.current) == null ? void 0 : Zo.mouseLine_h), Ur ? typeof ((Oa = St.current) == null ? void 0 : Oa.coordText) == "object" && Ae.current.add((Oo = St.current) == null ? void 0 : Oo.coordText) : typeof ((ml = St.current) == null ? void 0 : ml.coordTextReverse) == "object" && Ae.current.add((Dl = St.current) == null ? void 0 : Dl.coordTextReverse)), _t = (ds = Ct.current) == null ? void 0 : ds.normalVector, St = Ct, xn = _t && Jt.dot(_t), ti = !1, (Co = St.current) != null && Co.coordMesh && Ae.current.remove((Fa = St.current) == null ? void 0 : Fa.coordMesh), (os = St.current) != null && os.mouseLine_w && Ae.current.remove((cl = St.current) == null ? void 0 : cl.mouseLine_w), (Hs = St.current) != null && Hs.mouseLine_h && Ae.current.remove((fr = St.current) == null ? void 0 : fr.mouseLine_h), typeof ((Po = St.current) == null ? void 0 : Po.coordText) == "object" && Ae.current.remove((
|
|
79623
|
+
})), _t = (Nn = it.current) == null ? void 0 : Nn.normalVector, St = it, xn = _t && Jt.dot(_t), or = !1, (vt = St.current) != null && vt.coordMesh && Ae.current.remove((Le = St.current) == null ? void 0 : Le.coordMesh), (He = St.current) != null && He.mouseLine_w && Ae.current.remove((rt = St.current) == null ? void 0 : rt.mouseLine_w), (Qe = St.current) != null && Qe.mouseLine_h && Ae.current.remove((pt = St.current) == null ? void 0 : pt.mouseLine_h), typeof ((gt = St.current) == null ? void 0 : gt.coordText) == "object" && Ae.current.remove((ot = St.current) == null ? void 0 : ot.coordText), typeof ((be = St.current) == null ? void 0 : be.coordTextReverse) == "object" && Ae.current.remove((ce = St.current) == null ? void 0 : ce.coordTextReverse), xn && xn >= 0 && (or = !0, (Ve = St.current) != null && Ve.coordMesh && Ae.current.add((Ge = St.current) == null ? void 0 : Ge.coordMesh), (Pe = St.current) != null && Pe.mouseLine_w && Ae.current.add((yt = St.current) == null ? void 0 : yt.mouseLine_w), (Ft = St.current) != null && Ft.mouseLine_h && Ae.current.add((Bt = St.current) == null ? void 0 : Bt.mouseLine_h), Ur ? typeof ((rn = St.current) == null ? void 0 : rn.coordText) == "object" && Ae.current.add((Et = St.current) == null ? void 0 : Et.coordText) : typeof ((Xt = St.current) == null ? void 0 : Xt.coordTextReverse) == "object" && Ae.current.add((qn = St.current) == null ? void 0 : qn.coordTextReverse)), _t = (br = ht.current) == null ? void 0 : br.normalVector, St = ht, xn = _t && Jt.dot(_t), dn = !1, (Vn = St.current) != null && Vn.coordMesh && Ae.current.remove((Ln = St.current) == null ? void 0 : Ln.coordMesh), (Jr = St.current) != null && Jr.mouseLine_w && Ae.current.remove((ni = St.current) == null ? void 0 : ni.mouseLine_w), (hn = St.current) != null && hn.mouseLine_h && Ae.current.remove((en = St.current) == null ? void 0 : en.mouseLine_h), typeof ((li = St.current) == null ? void 0 : li.coordText) == "object" && Ae.current.remove((Nr = St.current) == null ? void 0 : Nr.coordText), typeof ((Zr = St.current) == null ? void 0 : Zr.coordTextReverse) == "object" && Ae.current.remove((as = St.current) == null ? void 0 : as.coordTextReverse), xn && xn >= 0 && (dn = !0, (Ua = St.current) != null && Ua.coordMesh && Ae.current.add((ja = St.current) == null ? void 0 : ja.coordMesh), (gi = St.current) != null && gi.mouseLine_w && Ae.current.add((Qr = St.current) == null ? void 0 : Qr.mouseLine_w), (ta = St.current) != null && ta.mouseLine_h && Ae.current.add((Zo = St.current) == null ? void 0 : Zo.mouseLine_h), Ur ? typeof ((Oa = St.current) == null ? void 0 : Oa.coordText) == "object" && Ae.current.add((Oo = St.current) == null ? void 0 : Oo.coordText) : typeof ((ml = St.current) == null ? void 0 : ml.coordTextReverse) == "object" && Ae.current.add((Dl = St.current) == null ? void 0 : Dl.coordTextReverse)), _t = (ds = Ct.current) == null ? void 0 : ds.normalVector, St = Ct, xn = _t && Jt.dot(_t), ti = !1, (Co = St.current) != null && Co.coordMesh && Ae.current.remove((Fa = St.current) == null ? void 0 : Fa.coordMesh), (os = St.current) != null && os.mouseLine_w && Ae.current.remove((cl = St.current) == null ? void 0 : cl.mouseLine_w), (Hs = St.current) != null && Hs.mouseLine_h && Ae.current.remove((fr = St.current) == null ? void 0 : fr.mouseLine_h), typeof ((Po = St.current) == null ? void 0 : Po.coordText) == "object" && Ae.current.remove((Is = St.current) == null ? void 0 : Is.coordText), typeof ((Gs = St.current) == null ? void 0 : Gs.coordTextReverse) == "object" && Ae.current.remove((fs = St.current) == null ? void 0 : fs.coordTextReverse), xn && xn >= 0 && (ti = !0, (ho = St.current) != null && ho.coordMesh && Ae.current.add((eo = St.current) == null ? void 0 : eo.coordMesh), (Go = St.current) != null && Go.mouseLine_w && Ae.current.add((Uo = St.current) == null ? void 0 : Uo.mouseLine_w), (to = St.current) != null && to.mouseLine_h && Ae.current.add((tc = St.current) == null ? void 0 : tc.mouseLine_h), Ur ? typeof ((kl = St.current) == null ? void 0 : kl.coordText) == "object" && Ae.current.add((Fo = St.current) == null ? void 0 : Fo.coordText) : typeof ((ns = St.current) == null ? void 0 : ns.coordTextReverse) == "object" && Ae.current.add((Ko = St.current) == null ? void 0 : Ko.coordTextReverse)), _t = (nc = tt.current) == null ? void 0 : nc.normalVector, St = tt, xn = _t && Jt.dot(_t), mr = !1, (Bo = St.current) != null && Bo.coordMesh && Ae.current.remove((yl = St.current) == null ? void 0 : yl.coordMesh), (sc = St.current) != null && sc.mouseLine_w && Ae.current.remove((bl = St.current) == null ? void 0 : bl.mouseLine_w), (lc = St.current) != null && lc.mouseLine_h && Ae.current.remove((Ul = St.current) == null ? void 0 : Ul.mouseLine_h), typeof ((xl = St.current) == null ? void 0 : xl.coordText) == "object" && Ae.current.remove((Cc = St.current) == null ? void 0 : Cc.coordText), typeof ((bs = St.current) == null ? void 0 : bs.coordTextReverse) == "object" && Ae.current.remove((cc = St.current) == null ? void 0 : cc.coordTextReverse), xn && xn >= 0 && (mr = !0, (uc = St.current) != null && uc.coordMesh && Ae.current.add((wc = St.current) == null ? void 0 : wc.coordMesh), (Sc = St.current) != null && Sc.mouseLine_w && Ae.current.add((ul = St.current) == null ? void 0 : ul.mouseLine_w), (Eu = St.current) != null && Eu.mouseLine_h && Ae.current.add((Yo = St.current) == null ? void 0 : Yo.mouseLine_h), Ur ? typeof ((dl = St.current) == null ? void 0 : dl.coordText) == "object" && Ae.current.add((qo = St.current) == null ? void 0 : qo.coordText) : typeof ((js = St.current) == null ? void 0 : js.coordTextReverse) == "object" && Ae.current.add((Ec = St.current) == null ? void 0 : Ec.coordTextReverse)), _t = (gd = Ue.current) == null ? void 0 : gd.normalVector, St = Ue, xn = _t && Jt.dot(_t), xn && xn >= 0 ? ((_u = St.current) != null && _u.coordMesh && Ae.current.add((ju = St.current) == null ? void 0 : ju.coordMesh), (Wu = St.current) != null && Wu.mouseLine_w && Ae.current.add((Fl = St.current) == null ? void 0 : Fl.mouseLine_w), (dc = St.current) != null && dc.mouseLine_h && Ae.current.add((md = St.current) == null ? void 0 : md.mouseLine_h), (Cl = St.current) != null && Cl.coordText_lb && Ae.current.remove((Xu = St.current) == null ? void 0 : Xu.coordText_lb), (_c = St.current) != null && _c.coordText_rb && Ae.current.remove((Zu = St.current) == null ? void 0 : Zu.coordText_rb), (fl = St.current) != null && fl.coordText_lf && Ae.current.remove((Tu = St.current) == null ? void 0 : Tu.coordText_lf), (Ws = St.current) != null && Ws.coordText_rf && Ae.current.remove((As = St.current) == null ? void 0 : As.coordText_rf), or && ti ? (wl = St.current) != null && wl.coordText_lb && Ae.current.add((xs = St.current) == null ? void 0 : xs.coordText_lb) : or && mr ? (Li = St.current) != null && Li.coordText_rb && Ae.current.add((nl = St.current) == null ? void 0 : nl.coordText_rb) : dn && mr ? (Tc = St.current) != null && Tc.coordText_rf && Ae.current.add((wo = St.current) == null ? void 0 : wo.coordText_rf) : dn && ti && (Wc = St.current) != null && Wc.coordText_lf && Ae.current.add((Ku = St.current) == null ? void 0 : Ku.coordText_lf)) : ((lu = St.current) != null && lu.coordMesh && Ae.current.remove((Yu = St.current) == null ? void 0 : Yu.coordMesh), (cu = St.current) != null && cu.mouseLine_w && Ae.current.remove((uu = St.current) == null ? void 0 : uu.mouseLine_w), (Xc = St.current) != null && Xc.mouseLine_h && Ae.current.remove((du = St.current) == null ? void 0 : du.mouseLine_h), (Zc = St.current) != null && Zc.coordText_lb && Ae.current.remove((S = St.current) == null ? void 0 : S.coordText_lb), (D = St.current) != null && D.coordText_rb && Ae.current.remove((X = St.current) == null ? void 0 : X.coordText_rb), (le = St.current) != null && le.coordText_lf && Ae.current.remove((Ce = St.current) == null ? void 0 : Ce.coordText_lf), (Je = St.current) != null && Je.coordText_rf && Ae.current.remove((Nt = St.current) == null ? void 0 : Nt.coordText_rf)), _t = (sn = st.current) == null ? void 0 : sn.normalVector, St = st, xn = _t && Jt.dot(_t), xn && xn >= 0 ? ((mn = St.current) != null && mn.coordMesh && Ae.current.add((tr = St.current) == null ? void 0 : tr.coordMesh), (Vr = St.current) != null && Vr.mouseLine_w && Ae.current.add((Ii = St.current) == null ? void 0 : Ii.mouseLine_w), (Ji = St.current) != null && Ji.mouseLine_h && Ae.current.add((hs = St.current) == null ? void 0 : hs.mouseLine_h), (oo = Ue.current) != null && oo.coordText_lb && Ae.current.remove((Xs = Ue.current) == null ? void 0 : Xs.coordText_lb), (Jo = Ue.current) != null && Jo.coordText_rb && Ae.current.remove((rl = Ue.current) == null ? void 0 : rl.coordText_rb), (Sl = Ue.current) != null && Sl.coordText_lf && Ae.current.remove((Iu = Ue.current) == null ? void 0 : Iu.coordText_lf), (qu = Ue.current) != null && qu.coordText_rf && Ae.current.remove((fc = Ue.current) == null ? void 0 : fc.coordText_rf), or && ti ? (Zs = Ue.current) != null && Zs.coordText_lb && Ae.current.add((jl = Ue.current) == null ? void 0 : jl.coordText_lb) : or && mr ? (Ro = Ue.current) != null && Ro.coordText_rb && Ae.current.add((Ic = Ue.current) == null ? void 0 : Ic.coordText_rb) : dn && mr ? (Au = Ue.current) != null && Au.coordText_rf && Ae.current.add((ps = Ue.current) == null ? void 0 : ps.coordText_rf) : dn && ti && (fu = Ue.current) != null && fu.coordText_lf && Ae.current.add((il = Ue.current) == null ? void 0 : il.coordText_lf)) : ((Cs = St.current) != null && Cs.coordMesh && Ae.current.remove((Wl = St.current) == null ? void 0 : Wl.coordMesh), (yf = St.current) != null && yf.mouseLine_w && Ae.current.remove((hc = St.current) == null ? void 0 : hc.mouseLine_w), (_p = St.current) != null && _p.mouseLine_h && Ae.current.remove((Pg = St.current) == null ? void 0 : Pg.mouseLine_h));
|
|
79624
79624
|
}, sr = (Jt) => {
|
|
79625
79625
|
g != null && g.current && Ae.current.remove(g.current);
|
|
79626
79626
|
const _t = new ea().setFromPoints(Jt), xn = new Nf({ color: 255 }), St = new Ba(_t, xn);
|
|
@@ -79670,7 +79670,7 @@ const o0t = (t) => {
|
|
|
79670
79670
|
const xn = Ae.current.getObjectByName("Brain"), St = new ad(-Ae.current.rotation.x, -Ae.current.rotation.y, -Ae.current.rotation.z);
|
|
79671
79671
|
let dn;
|
|
79672
79672
|
if (xn) {
|
|
79673
|
-
const cn = new
|
|
79673
|
+
const cn = new Ss();
|
|
79674
79674
|
cn.expandByObject(xn);
|
|
79675
79675
|
const jn = new Ie();
|
|
79676
79676
|
cn.getSize(jn);
|
|
@@ -79832,7 +79832,7 @@ const o0t = (t) => {
|
|
|
79832
79832
|
}, kr = () => {
|
|
79833
79833
|
new Bgt().load(pe + "/data/GLB/syringe.glb", (_t) => {
|
|
79834
79834
|
Mn.current = _t.scene, Mn.current.name = "syrings", Mn.current.userData.direction = new Ie(1, 0, 0), Mn.current.scale.set(2, 2, 2), Mn.current.position.set(0, 0, 0);
|
|
79835
|
-
var xn = new
|
|
79835
|
+
var xn = new Ss();
|
|
79836
79836
|
xn.expandByObject(Mn.current);
|
|
79837
79837
|
var St = new Ie();
|
|
79838
79838
|
xn == null || xn.getCenter(St), Mn.current.userData.center = St;
|
|
@@ -79899,7 +79899,7 @@ const o0t = (t) => {
|
|
|
79899
79899
|
let rt = new ea(), Qe = [];
|
|
79900
79900
|
Qe.push(Yn + He * qr, Er, cn, Yn + He * qr, Er, dr);
|
|
79901
79901
|
const pt = new Float32Array(Qe);
|
|
79902
|
-
rt.setAttribute("position", new
|
|
79902
|
+
rt.setAttribute("position", new Es(pt, 3));
|
|
79903
79903
|
let gt = new Ba(rt, ai);
|
|
79904
79904
|
Un.add(gt);
|
|
79905
79905
|
}
|
|
@@ -79907,50 +79907,50 @@ const o0t = (t) => {
|
|
|
79907
79907
|
let rt = new ea(), Qe = [];
|
|
79908
79908
|
Qe.push(Yn, Er, cn + He * Xr, jn, Er, cn + He * Xr);
|
|
79909
79909
|
const pt = new Float32Array(Qe);
|
|
79910
|
-
rt.setAttribute("position", new
|
|
79910
|
+
rt.setAttribute("position", new Es(pt, 3));
|
|
79911
79911
|
let gt = new Ba(rt, ai);
|
|
79912
79912
|
Un.add(gt);
|
|
79913
79913
|
}
|
|
79914
79914
|
let vt = new ea();
|
|
79915
|
-
vt.setAttribute("position", new
|
|
79915
|
+
vt.setAttribute("position", new Es(new Float32Array([Yn, 0, 0, jn, 0, 0]), 3)), va = new Ba(vt, xa), va.position.setY(er), va.userData.initY = er;
|
|
79916
79916
|
let Le = new ea();
|
|
79917
|
-
Le.setAttribute("position", new
|
|
79917
|
+
Le.setAttribute("position", new Es(new Float32Array([0, 0, cn, 0, 0, dr]), 3)), za = new Ba(Le, xa), za.position.setY(er), za.userData.initY = er, Ur.mouseLine_w = va, Ur.mouseLine_h = za;
|
|
79918
79918
|
} else if (Jt == 2) {
|
|
79919
79919
|
cn = _t.z, dr = cn, Yn = _t.x - xn / 2, jn = _t.x + xn / 2, Er = _t.y - St / 2, er = _t.y + St / 2;
|
|
79920
79920
|
for (let He = 0; He <= dn; He++) {
|
|
79921
79921
|
let rt = new ea();
|
|
79922
|
-
rt.setAttribute("position", new
|
|
79922
|
+
rt.setAttribute("position", new Es(new Float32Array([Yn + He * qr, Er, cn, Yn + He * qr, er, cn]), 3));
|
|
79923
79923
|
let Qe = new Ba(rt, ai);
|
|
79924
79924
|
Un.add(Qe);
|
|
79925
79925
|
}
|
|
79926
79926
|
for (let He = 0; He <= or; He++) {
|
|
79927
79927
|
let rt = new ea();
|
|
79928
|
-
rt.setAttribute("position", new
|
|
79928
|
+
rt.setAttribute("position", new Es(new Float32Array([Yn, Er + He * Xr, cn, jn, Er + He * Xr, cn]), 3));
|
|
79929
79929
|
let Qe = new Ba(rt, ai);
|
|
79930
79930
|
Un.add(Qe);
|
|
79931
79931
|
}
|
|
79932
79932
|
let vt = new ea();
|
|
79933
|
-
vt.setAttribute("position", new
|
|
79933
|
+
vt.setAttribute("position", new Es(new Float32Array([Yn, 0, 0, jn, 0, 0]), 3)), va = new Ba(vt, xa), va.position.setZ(dr), va.userData.initZ = dr;
|
|
79934
79934
|
let Le = new ea();
|
|
79935
|
-
Le.setAttribute("position", new
|
|
79935
|
+
Le.setAttribute("position", new Es(new Float32Array([0, Er, 0, 0, er, 0]), 3)), za = new Ba(Le, xa), za.position.setZ(dr), za.userData.initZ = dr, Ur.mouseLine_w = va, Ur.mouseLine_h = za;
|
|
79936
79936
|
} else if (Jt == 3) {
|
|
79937
79937
|
Yn = _t.x, jn = Yn, cn = _t.z - xn / 2, dr = _t.z + xn / 2, Er = _t.y - St / 2, er = _t.y + St / 2;
|
|
79938
79938
|
for (let He = 0; He <= dn; He++) {
|
|
79939
79939
|
let rt = new ea();
|
|
79940
|
-
rt.setAttribute("position", new
|
|
79940
|
+
rt.setAttribute("position", new Es(new Float32Array([Yn, Er, cn + He * qr, Yn, er, cn + He * qr]), 3));
|
|
79941
79941
|
let Qe = new Ba(rt, ai);
|
|
79942
79942
|
Un.add(Qe);
|
|
79943
79943
|
}
|
|
79944
79944
|
for (let He = 0; He <= or; He++) {
|
|
79945
79945
|
let rt = new ea();
|
|
79946
|
-
rt.setAttribute("position", new
|
|
79946
|
+
rt.setAttribute("position", new Es(new Float32Array([Yn, Er + He * Xr, cn, Yn, Er + He * Xr, dr]), 3));
|
|
79947
79947
|
let Qe = new Ba(rt, ai);
|
|
79948
79948
|
Un.add(Qe);
|
|
79949
79949
|
}
|
|
79950
79950
|
let vt = new ea();
|
|
79951
|
-
vt.setAttribute("position", new
|
|
79951
|
+
vt.setAttribute("position", new Es(new Float32Array([0, 0, cn, 0, 0, dr]), 3)), va = new Ba(vt, xa), va.position.setX(jn), va.userData.initX = jn;
|
|
79952
79952
|
let Le = new ea();
|
|
79953
|
-
Le.setAttribute("position", new
|
|
79953
|
+
Le.setAttribute("position", new Es(new Float32Array([0, Er, 0, 0, er, 0]), 3)), za = new Ba(Le, xa), za.position.setX(jn), za.userData.initX = jn, Ur.mouseLine_w = va, Ur.mouseLine_h = za;
|
|
79954
79954
|
}
|
|
79955
79955
|
return Un.rotation.copy(Za), Ur.mouseLine_w.rotation.copy(Za), Ur.mouseLine_h.rotation.copy(Za), Ur.mouseLine_w.position.applyMatrix4(Nn), Ur.mouseLine_h.position.applyMatrix4(Nn), Ur.mouseLine_h.updateMatrix(), Ur.mouseLine_w.updateMatrix(), Ur.coordMesh = Un, Ur.coordMesh.name = mr, Ur;
|
|
79956
79956
|
};
|
|
@@ -80004,7 +80004,7 @@ const o0t = (t) => {
|
|
|
80004
80004
|
label: P.createElement("a", { style: { width: "150px", color: "#000", textAlign: "center" }, onClick: () => {
|
|
80005
80005
|
const Jt = Ae.current.getObjectByName(Jn.current.name);
|
|
80006
80006
|
if (Jt) {
|
|
80007
|
-
const _t = new
|
|
80007
|
+
const _t = new Ss().setFromObject(Jt), xn = new Ie();
|
|
80008
80008
|
_t.getCenter(xn), n.current.target.copy(xn), h(!0);
|
|
80009
80009
|
}
|
|
80010
80010
|
} }, j("7000.7019") || "设置为焦点")
|
|
@@ -125291,7 +125291,7 @@ const pHt = xc((t, e) => {
|
|
|
125291
125291
|
Ve.set(1 - 2 * Ge.x * Ge.x, -2 * Ge.x * Ge.y, -2 * Ge.x * Ge.z, 0, -2 * Ge.x * Ge.y, 1 - 2 * Ge.y * Ge.y, -2 * Ge.y * Ge.z, 0, -2 * Ge.x * Ge.z, -2 * Ge.y * Ge.z, 1 - 2 * Ge.z * Ge.z, 0, 0, 0, 0, 1), ce.applyMatrix4(Ve), ce.translateX(-Ao.current), ce.translateY(co.current), ce.translateZ(-ro.current), ce.name = Le, ce.myMeshType = "FBX", ce.children[0].name = Le, ce.children[0].myMeshType = "FBX", wa.current[Le] = ce, ov.current && Ae.current.add(ce);
|
|
125292
125292
|
}
|
|
125293
125293
|
be.translateX(Ao.current), be.translateY(co.current), be.translateZ(-ro.current), be.name = Le, be.myMeshType = "FBX", be.children[0].name = Le, be.children[0].myMeshType = "FBX", Zi.current[Le] = be, Ae.current.add(Zi.current[Le]);
|
|
125294
|
-
var Pe = new Ie(), yt = new
|
|
125294
|
+
var Pe = new Ie(), yt = new Ss().setFromObject(be);
|
|
125295
125295
|
yt.getCenter(Pe);
|
|
125296
125296
|
var Ft = new Ie();
|
|
125297
125297
|
yt.getSize(Ft);
|
|
@@ -127438,7 +127438,7 @@ const Qf = (t) => {
|
|
|
127438
127438
|
n > t.avail_out && (n = t.avail_out), n !== 0 && (t.output.set(e.pending_buf.subarray(e.pending_out, e.pending_out + n), t.next_out), t.next_out += n, e.pending_out += n, t.total_out += n, t.avail_out -= n, e.pending -= n, e.pending === 0 && (e.pending_out = 0));
|
|
127439
127439
|
}, lh = (t, e) => {
|
|
127440
127440
|
zNt(t, t.block_start >= 0 ? t.block_start : -1, t.strstart - t.block_start, e), t.block_start = t.strstart, Qf(t.strm);
|
|
127441
|
-
},
|
|
127441
|
+
}, ws = (t, e) => {
|
|
127442
127442
|
t.pending_buf[t.pending++] = e;
|
|
127443
127443
|
}, W_ = (t, e) => {
|
|
127444
127444
|
t.pending_buf[t.pending++] = e >>> 8 & 255, t.pending_buf[t.pending++] = e & 255;
|
|
@@ -127643,12 +127643,12 @@ const LI = (t) => {
|
|
|
127643
127643
|
return n.last_flush = -1, rd;
|
|
127644
127644
|
}
|
|
127645
127645
|
if (n.status === mY) {
|
|
127646
|
-
if (t.adler = 0,
|
|
127647
|
-
|
|
127646
|
+
if (t.adler = 0, ws(n, 31), ws(n, 139), ws(n, 8), n.gzhead)
|
|
127647
|
+
ws(
|
|
127648
127648
|
n,
|
|
127649
127649
|
(n.gzhead.text ? 1 : 0) + (n.gzhead.hcrc ? 2 : 0) + (n.gzhead.extra ? 4 : 0) + (n.gzhead.name ? 8 : 0) + (n.gzhead.comment ? 16 : 0)
|
|
127650
|
-
),
|
|
127651
|
-
else if (
|
|
127650
|
+
), ws(n, n.gzhead.time & 255), ws(n, n.gzhead.time >> 8 & 255), ws(n, n.gzhead.time >> 16 & 255), ws(n, n.gzhead.time >> 24 & 255), ws(n, n.level === 9 ? 2 : n.strategy >= cM || n.level < 2 ? 4 : 0), ws(n, n.gzhead.os & 255), n.gzhead.extra && n.gzhead.extra.length && (ws(n, n.gzhead.extra.length & 255), ws(n, n.gzhead.extra.length >> 8 & 255)), n.gzhead.hcrc && (t.adler = ku(t.adler, n.pending_buf, n.pending, 0)), n.gzindex = 0, n.status = rj;
|
|
127651
|
+
else if (ws(n, 0), ws(n, 0), ws(n, 0), ws(n, 0), ws(n, 0), ws(n, n.level === 9 ? 2 : n.strategy >= cM || n.level < 2 ? 4 : 0), ws(n, cDt), n.status = ib, Qf(t), n.pending !== 0)
|
|
127652
127652
|
return n.last_flush = -1, rd;
|
|
127653
127653
|
}
|
|
127654
127654
|
if (n.status === rj) {
|
|
@@ -127674,7 +127674,7 @@ const LI = (t) => {
|
|
|
127674
127674
|
return n.last_flush = -1, rd;
|
|
127675
127675
|
i = 0;
|
|
127676
127676
|
}
|
|
127677
|
-
n.gzindex < n.gzhead.name.length ? a = n.gzhead.name.charCodeAt(n.gzindex++) & 255 : a = 0,
|
|
127677
|
+
n.gzindex < n.gzhead.name.length ? a = n.gzhead.name.charCodeAt(n.gzindex++) & 255 : a = 0, ws(n, a);
|
|
127678
127678
|
} while (a !== 0);
|
|
127679
127679
|
n.gzhead.hcrc && n.pending > i && (t.adler = ku(t.adler, n.pending_buf, n.pending - i, i)), n.gzindex = 0;
|
|
127680
127680
|
}
|
|
@@ -127689,7 +127689,7 @@ const LI = (t) => {
|
|
|
127689
127689
|
return n.last_flush = -1, rd;
|
|
127690
127690
|
i = 0;
|
|
127691
127691
|
}
|
|
127692
|
-
n.gzindex < n.gzhead.comment.length ? a = n.gzhead.comment.charCodeAt(n.gzindex++) & 255 : a = 0,
|
|
127692
|
+
n.gzindex < n.gzhead.comment.length ? a = n.gzhead.comment.charCodeAt(n.gzindex++) & 255 : a = 0, ws(n, a);
|
|
127693
127693
|
} while (a !== 0);
|
|
127694
127694
|
n.gzhead.hcrc && n.pending > i && (t.adler = ku(t.adler, n.pending_buf, n.pending - i, i));
|
|
127695
127695
|
}
|
|
@@ -127699,7 +127699,7 @@ const LI = (t) => {
|
|
|
127699
127699
|
if (n.gzhead.hcrc) {
|
|
127700
127700
|
if (n.pending + 2 > n.pending_buf_size && (Qf(t), n.pending !== 0))
|
|
127701
127701
|
return n.last_flush = -1, rd;
|
|
127702
|
-
|
|
127702
|
+
ws(n, t.adler & 255), ws(n, t.adler >> 8 & 255), t.adler = 0;
|
|
127703
127703
|
}
|
|
127704
127704
|
if (n.status = ib, Qf(t), n.pending !== 0)
|
|
127705
127705
|
return n.last_flush = -1, rd;
|
|
@@ -127711,7 +127711,7 @@ const LI = (t) => {
|
|
|
127711
127711
|
if (i === eE && (e === GNt ? HNt(n) : e !== mpe && (tj(n, 0, 0, !1), e === jNt && (K0(n.head), n.lookahead === 0 && (n.strstart = 0, n.block_start = 0, n.insert = 0))), Qf(t), t.avail_out === 0))
|
|
127712
127712
|
return n.last_flush = -1, rd;
|
|
127713
127713
|
}
|
|
127714
|
-
return e !== rp ? rd : n.wrap <= 0 ? ype : (n.wrap === 2 ? (
|
|
127714
|
+
return e !== rp ? rd : n.wrap <= 0 ? ype : (n.wrap === 2 ? (ws(n, t.adler & 255), ws(n, t.adler >> 8 & 255), ws(n, t.adler >> 16 & 255), ws(n, t.adler >> 24 & 255), ws(n, t.total_in & 255), ws(n, t.total_in >> 8 & 255), ws(n, t.total_in >> 16 & 255), ws(n, t.total_in >> 24 & 255)) : (W_(n, t.adler >>> 16), W_(n, t.adler & 65535)), Qf(t), n.wrap > 0 && (n.wrap = -n.wrap), n.pending !== 0 ? rd : ype);
|
|
127715
127715
|
}, bDt = (t) => {
|
|
127716
127716
|
if (LI(t))
|
|
127717
127717
|
return gg;
|
|
@@ -129570,11 +129570,11 @@ ty(6, () => {
|
|
|
129570
129570
|
throw new Error("old style JPEG compression is not supported.");
|
|
129571
129571
|
});
|
|
129572
129572
|
ty(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
|
|
129573
|
-
ty([8, 32946], () => import("./deflate-
|
|
129573
|
+
ty([8, 32946], () => import("./deflate-79a9da8e.mjs").then((t) => t.default));
|
|
129574
129574
|
ty(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
|
|
129575
129575
|
ty(
|
|
129576
129576
|
34887,
|
|
129577
|
-
() => import("./lerc-
|
|
129577
|
+
() => import("./lerc-9556e594.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
|
|
129578
129578
|
);
|
|
129579
129579
|
ty(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
|
|
129580
129580
|
function vR(t, e, n, r = 1) {
|
|
@@ -131379,7 +131379,7 @@ const lFt = {
|
|
|
131379
131379
|
const { regionData: n, setoffset_factor: r, offset_factor_R: i, t: a, hrefStr: o, leftTreeRef: s, angleRef: c, jiaoduRef: u, mouseflag: d, renderer: f, controls: h, menutagShow: p, setMenuTag: v, startselect: y, linemeshs_jing: g, points: m, points2: b, activetabIndex: x, material: C, setShowimage: w, childRef: E, checkItems: I, setoutflag: R, fetchCoordinateFunc: M, setendPoint: N, clickPoint: k, outflagRef: B, axis_font: H, setdatum: F, modeChoose: G, setShowModeChoose: z, virusModeValue: V, setShowTabNums: j, pipelineClickEvent: Y, automaticGroup: W, focusVirusLineItem: Z, setMenuTagShow: te, responsefunc: se, mode: q, setCheckItems: ne, setLeftMenuTabIndex: oe, updatePage: ie, swcItem: ee, axon_check: me, swcnameMesh: pe, setMode: he, vesselRef: re, swcRef: xe, vesselStr: Q, lableStr: ye, setShowSettingModal: de, showSettingModal: _e, fbxTreeDatas: ke, composer: je, setEchartValue: Ne, echartValue: we, sectionsInfoRef: Ze, sectionsInfo: ve, setSectionsInfo: ue, gray_value: Me, setLuguchecked: at, Luguchecked: De, datum: Ye, setGridShow: ft, PointShow: ct, nodeStr: dt, lefttab: wt, righttab: st, atlasData: Ue, flowObjectsRef: ht, setTip: it, tip: tt } = t, [Ct, ze] = mt(!1), [Lt, At] = mt(!1), [kt, Ot] = mt(!1), [zt, Zt] = mt(!1), [pn, wn] = mt(!1), [Tn, Hn] = mt(!1), [on, Or] = mt(!1), [Mn, bn] = mt(!1), [Dn, vn] = mt(Na.atlasReslicingInfo.angleX || 120), [Jn, pr] = mt(Na.atlasReslicingInfo.angleY || 320), [Dr, Gn] = mt(Na.atlasReslicingInfo.angleZ || 270), [ur, We] = mt(Na.atlasReslicingInfo.positionX || 0), [Mt, Dt] = mt(Na.atlasReslicingInfo.positionY || 0), [$t, Ut] = mt(Na.atlasReslicingInfo.positionZ || 0), [jt, Ht] = mt(Na.atlasReslicingInfo.translateX || !0), [qt, Bn] = mt(Na.atlasReslicingInfo.translateY || !0), [Gt, Pt] = mt(Na.atlasReslicingInfo.translateZ || !0), [tn, $n] = mt(Na.atlasReslicingInfo.rotate || !0), [On, Sr] = mt(Na.atlasReslicingInfo.ButtonDisabled || !0), [Mr, Qn] = mt(!1), [ln, Kn] = mt(!1), [En, _n] = mt(!1), [kn, ar] = mt(!1), [Wr, wr] = mt(a("5000.0006") || "显示数据块"), [Hr, sr] = mt(1), [Pr, Br] = mt(1), [ir, kr] = mt([]), [Hi, Wi] = mt([]), [Ei, qi] = mt([]), [ka, _a] = mt(!1), [ua, Ta] = mt({}), [ei, ii] = mt(!1), [ba, Jt] = mt(""), [_t, xn] = mt("Config_DAPI.ini"), [St, dn] = mt("applySTAM2CCF"), [or, ti] = mt(0), [mr, Ur] = mt(!1), [Un, Yn] = mt(!1), [Er, cn] = mt(!1), [jn, er] = mt(!1), [dr, qr] = mt(!0), [Xr, ai] = mt(2), [xa, va] = mt(!1), [za, ko] = mt({}), Ni = qe(Na.atlasReslicingInfo.direction1 || 4), Za = qe(null), Nn = qe(null), [vt, Le] = mt(!1), He = qe(null), rt = qe(window.location.href.split("/")[2]), Qe = qe(new dS(Pi.current, f == null ? void 0 : f.domElement)), pt = qe(0), gt = qe(0), ot = qe(new lr()), be = qe(new Ie()), ce = qe(new Ie()), Ve = qe(new lr()), Ge = qe(new Ie(1, 0, 0)), Pe = qe(new lr()), yt = qe(null), Ft = qe(new Yz()), Bt = qe(null), rn = qe([]), Et = qe(null), Xt = qe(new lr()), qn = qe(new $u()), [br, Vn] = mt(Na.otherAtlases), Ln = {
|
|
131380
131380
|
min: new Ie(59.74305725097656, 69.15838623046875, 0.9565062522888184),
|
|
131381
131381
|
max: new Ie(1081.3045654296875, 800.6698608398438, 1400.156005859375)
|
|
131382
|
-
}, [Jr, ni] = mt([]), hn = qe({}), en = qe(!1), li = qe([0, 0]), Nr = qe([0, 0]), Zr = qe(""), as = qe(!1), [Ua, ja] = mt(!1), [gi, Qr] = mt(!1), [ta, Zo] = mt(0), [Oa, Oo] = mt(0), [ml, Dl] = mt([]), [ds, Co] = mt([]), Fa = qe(null), os = qe(null), [cl, Hs] = mt(""), [fr, Po] = mt(null), [
|
|
131382
|
+
}, [Jr, ni] = mt([]), hn = qe({}), en = qe(!1), li = qe([0, 0]), Nr = qe([0, 0]), Zr = qe(""), as = qe(!1), [Ua, ja] = mt(!1), [gi, Qr] = mt(!1), [ta, Zo] = mt(0), [Oa, Oo] = mt(0), [ml, Dl] = mt([]), [ds, Co] = mt([]), Fa = qe(null), os = qe(null), [cl, Hs] = mt(""), [fr, Po] = mt(null), [Is, Gs] = mt(dve || ""), [fs, ho] = mt(!1);
|
|
131383
131383
|
mt("");
|
|
131384
131384
|
const eo = qe(""), [Go, Uo] = mt(Na.leftHemisphereVisibility), to = qe([]);
|
|
131385
131385
|
qe([]);
|
|
@@ -131436,7 +131436,7 @@ const lFt = {
|
|
|
131436
131436
|
}
|
|
131437
131437
|
]), js = qe(null), Ec = qe(null), [gd, _u] = mt(Na.coordinateVisibility), [ju, Wu] = mt(Na.brainContourOpacity), [Fl, dc] = mt(Na.atlasReslicingInfo.direction1 || 4), [md, Cl] = mt({}), [Xu, _c] = mt({}), [Zu, fl] = mt({});
|
|
131438
131438
|
qe();
|
|
131439
|
-
const Tu = qe([]), Ws = qe({ brightness: 0.95, darkness: 0, opacity: 1, opacity2: 1, color: { r: 0, g: 0, b: 0 }, color2: { r: 255, g: 255, b: 255 } }),
|
|
131439
|
+
const Tu = qe([]), Ws = qe({ brightness: 0.95, darkness: 0, opacity: 1, opacity2: 1, color: { r: 0, g: 0, b: 0 }, color2: { r: 255, g: 255, b: 255 } }), As = qe(/* @__PURE__ */ new Set()), wl = qe(0), [xs, Li] = mt("");
|
|
131440
131440
|
ff(e, () => ({
|
|
131441
131441
|
tabChange: D,
|
|
131442
131442
|
setYinDaoOpen1: ze,
|
|
@@ -131451,12 +131451,12 @@ const lFt = {
|
|
|
131451
131451
|
Tu.current = ke;
|
|
131452
131452
|
}, [ke]);
|
|
131453
131453
|
const nl = (Ee) => {
|
|
131454
|
-
|
|
131454
|
+
As.current.delete(Ee.key);
|
|
131455
131455
|
}, Tc = (Ee) => {
|
|
131456
|
-
if (Ee.stopPropagation(),
|
|
131456
|
+
if (Ee.stopPropagation(), As.current.add(Ee.key), As.current.has("Alt") && (As.current.has("c") || As.current.has("C")))
|
|
131457
131457
|
try {
|
|
131458
131458
|
const Be = f.domElement.toDataURL("image/png"), nt = document.createElement("a");
|
|
131459
|
-
nt.href = Be, nt.download = "scene.png", nt.click(),
|
|
131459
|
+
nt.href = Be, nt.download = "scene.png", nt.click(), As.current = /* @__PURE__ */ new Set();
|
|
131460
131460
|
} catch (Be) {
|
|
131461
131461
|
console.error("Error downloading canvas:", Be), alert("抱歉,无法下载画布。请查看控制台获取更多信息。");
|
|
131462
131462
|
}
|
|
@@ -131866,7 +131866,7 @@ const lFt = {
|
|
|
131866
131866
|
}, []), Sn(() => {
|
|
131867
131867
|
pt.current = (f == null ? void 0 : f.domElement.clientWidth) - 1, gt.current = (f == null ? void 0 : f.domElement.clientHeight) - 1;
|
|
131868
131868
|
}, [f == null ? void 0 : f.domElement.clientWidth]), Sn(() => {
|
|
131869
|
-
const Ee = new
|
|
131869
|
+
const Ee = new Ss();
|
|
131870
131870
|
Ee.expandByObject(Pe.current);
|
|
131871
131871
|
const Be = M.current(Ee.min.clone()), nt = M.current(Ee.max.clone());
|
|
131872
131872
|
let ut = new jp(Mu(650, 620, `${Be.x.toFixed(2)},${Be.y.toFixed(2)},${Be.z.toFixed(2)}`, "#ccc")), Rt = new Hh(new eh({
|
|
@@ -132483,7 +132483,7 @@ const lFt = {
|
|
|
132483
132483
|
function il(Ee, Be) {
|
|
132484
132484
|
return [.../* @__PURE__ */ new Set([...Ee, ...Be])];
|
|
132485
132485
|
}
|
|
132486
|
-
const
|
|
132486
|
+
const Cs = (Ee) => {
|
|
132487
132487
|
const Be = [], nt = [];
|
|
132488
132488
|
if (re.current && E.current) {
|
|
132489
132489
|
const ut = re.current, Rt = E.current;
|
|
@@ -132626,7 +132626,7 @@ const lFt = {
|
|
|
132626
132626
|
label: P.createElement("a", { style: { width: "150px", color: "#000", textAlign: "center" }, onClick: () => {
|
|
132627
132627
|
const Ee = Ae.current.getObjectByName(ye);
|
|
132628
132628
|
if (Ee) {
|
|
132629
|
-
const Be = new
|
|
132629
|
+
const Be = new Ss().setFromObject(Ee), nt = new Ie();
|
|
132630
132630
|
Be.getCenter(nt), h.current.target.copy(nt), te(!0);
|
|
132631
132631
|
}
|
|
132632
132632
|
} }, a("7000.7019") || "设置为焦点")
|
|
@@ -132634,7 +132634,7 @@ const lFt = {
|
|
|
132634
132634
|
ye && Hr == 5 ? {
|
|
132635
132635
|
key: "5",
|
|
132636
132636
|
label: P.createElement("a", { style: { width: "150px", color: "#000", textAlign: "center" }, onClick: () => {
|
|
132637
|
-
const Ee = new
|
|
132637
|
+
const Ee = new Ss(), Be = Ae.current.getObjectByName(ye);
|
|
132638
132638
|
if (Be) {
|
|
132639
132639
|
Ee.expandByObject(Be.clone());
|
|
132640
132640
|
let nt = Ee.min, ut = Ee.max, Rt = new Ie();
|
|
@@ -132648,7 +132648,7 @@ const lFt = {
|
|
|
132648
132648
|
const hr = a("5000.0006") || "显示数据块";
|
|
132649
132649
|
if (Wr === hr) {
|
|
132650
132650
|
wr(a("5000.0007") || "隐藏数据块"), Qe.current = new dS(Pi.current, f == null ? void 0 : f.domElement), Qe.current.setMode("translate"), Qe.current.enabled = !0, Qe.current.visible = !0, Qe.current.name = "transformControls", Qe.current.attach(Pe.current), Ae.current.add(Pe.current, Qe.current, Ft.current), oy(), document.addEventListener("keypress", Ax);
|
|
132651
|
-
const nr = new
|
|
132651
|
+
const nr = new Ss();
|
|
132652
132652
|
nr.expandByObject(Pe.current);
|
|
132653
132653
|
const ci = M.current(nr.min.clone()), gn = M.current(nr.max.clone());
|
|
132654
132654
|
let rr = new jp(Mu(650, 620, `${ci.x.toFixed(2)},${ci.y.toFixed(2)},${ci.z.toFixed(2)}`, "#ccc")), zn = new Hh(new eh({
|
|
@@ -132683,7 +132683,7 @@ const lFt = {
|
|
|
132683
132683
|
{
|
|
132684
132684
|
key: "1",
|
|
132685
132685
|
label: P.createElement("a", { style: { width: "150px", color: "#000", textAlign: "center" }, onClick: () => {
|
|
132686
|
-
|
|
132686
|
+
Cs(Q), te(!0);
|
|
132687
132687
|
} }, to.current.includes(Q) ? a("5000.0209") || "Hide Label" : a("5000.0208") || "Show Label")
|
|
132688
132688
|
},
|
|
132689
132689
|
{
|
|
@@ -132699,7 +132699,7 @@ const lFt = {
|
|
|
132699
132699
|
if (dt.name) {
|
|
132700
132700
|
const Ee = Ae.current.getObjectByName(dt.name);
|
|
132701
132701
|
if (Ee) {
|
|
132702
|
-
const Be = new
|
|
132702
|
+
const Be = new Ss().setFromObject(Ee), nt = new Ie();
|
|
132703
132703
|
Be.getCenter(nt), h.current.target.copy(nt), te(!0);
|
|
132704
132704
|
}
|
|
132705
132705
|
}
|
|
@@ -132972,7 +132972,7 @@ const lFt = {
|
|
|
132972
132972
|
odepth: ut.z - nt.z
|
|
132973
132973
|
};
|
|
132974
132974
|
let an = new Ie(0.005238113403320366, -1.6508567881694614, 6133353495929583e-20), Vt = new Ie(-5.097530670166015, -4.308416134996751, -7.990437196406743), Yt = new Ie(5.118084411621094, 3.006702558657828, 6.001559863476661);
|
|
132975
|
-
const Qt = new
|
|
132975
|
+
const Qt = new Ss();
|
|
132976
132976
|
Qt.expandByObject(Ee.clone()), Vt = Qt.min, Yt = Qt.max, an = Qt.getCenter(an);
|
|
132977
132977
|
const vr = Yt.x - Vt.x, hr = Yt.y - Vt.y, nr = Yt.z - Vt.z;
|
|
132978
132978
|
Pe.current.scale.set(vr, hr, nr), Pe.current.position.set(an.x, an.y, an.z), rn.current.length === 0 ? fetch("/app-api/d-api/dowload/" + ua.file[1]).then((ci) => ci.arrayBuffer()).then((ci) => {
|
|
@@ -133043,7 +133043,7 @@ const lFt = {
|
|
|
133043
133043
|
if (nt && Be > -1) {
|
|
133044
133044
|
let hr = Yo[Be];
|
|
133045
133045
|
const { correspondingPlaneData: nr, registrationRadioShowType: ci, fileList: gn, fileList2: rr } = hr;
|
|
133046
|
-
var ut = new
|
|
133046
|
+
var ut = new Ss().setFromObject(nt), Rt = ut.max.y - ut.min.y, an = ut.max.x - ut.min.x;
|
|
133047
133047
|
Rt = Rt / Math.cos(nr.angles[0] * Math.PI / 180), an = an / Math.cos(nr.angles[1] * Math.PI / 180);
|
|
133048
133048
|
var Vt = new iI(an, Rt, 1, 1), Yt = new Ld({ side: Lf, transparent: !0, alphaTest: 0.1 }), Qt = new lr(Vt, Yt);
|
|
133049
133049
|
Qt.name = `png${Be}`;
|
|
@@ -133068,7 +133068,7 @@ const lFt = {
|
|
|
133068
133068
|
const Ee = a("5000.0006") || "显示数据块";
|
|
133069
133069
|
if (Wr === Ee) {
|
|
133070
133070
|
wr(a("5000.0007") || "隐藏数据块"), Qe.current = new dS(Pi.current, f == null ? void 0 : f.domElement), Qe.current.setMode("translate"), Qe.current.enabled = !0, Qe.current.visible = !0, Qe.current.name = "transformControls", Qe.current.attach(Pe.current), Ae.current.add(Pe.current, Qe.current, Ft.current), oy(), document.addEventListener("keypress", Ax);
|
|
133071
|
-
const Be = new
|
|
133071
|
+
const Be = new Ss();
|
|
133072
133072
|
Be.expandByObject(Pe.current);
|
|
133073
133073
|
const nt = M.current(Be.min.clone()), ut = M.current(Be.max.clone());
|
|
133074
133074
|
let Rt = new jp(Mu(650, 620, `${nt.x.toFixed(2)},${nt.y.toFixed(2)},${nt.z.toFixed(2)}`, "#ccc")), an = new Hh(new eh({
|
|
@@ -133170,7 +133170,7 @@ const lFt = {
|
|
|
133170
133170
|
Ae.current.remove(Be);
|
|
133171
133171
|
});
|
|
133172
133172
|
}, Pa = () => {
|
|
133173
|
-
const Ee = new
|
|
133173
|
+
const Ee = new Ss();
|
|
133174
133174
|
Ee.expandByObject(Pe.current);
|
|
133175
133175
|
const Be = Ae.current.getObjectByName("Brain");
|
|
133176
133176
|
if (Be) {
|
|
@@ -133218,7 +133218,7 @@ const lFt = {
|
|
|
133218
133218
|
an.scale.set(fa[0], fa[1], fa[2]), an.position.set(Ao.current, ro.current, co.current), an.name = "swcUrlDataLine", Ae.current.add(an);
|
|
133219
133219
|
});
|
|
133220
133220
|
}, ay = () => {
|
|
133221
|
-
new
|
|
133221
|
+
new Ss().expandByObject(Pe.current);
|
|
133222
133222
|
const Be = Ae.current.getObjectByName("Brain");
|
|
133223
133223
|
if (!fve || !ZB)
|
|
133224
133224
|
return;
|
|
@@ -133269,8 +133269,8 @@ const lFt = {
|
|
|
133269
133269
|
}, 1e3);
|
|
133270
133270
|
};
|
|
133271
133271
|
Sn(() => {
|
|
133272
|
-
|
|
133273
|
-
}, [
|
|
133272
|
+
Is ? js.current && js.current.focus() : Ec.current && Ec.current.focus();
|
|
133273
|
+
}, [Is]);
|
|
133274
133274
|
const Ms = (Ee) => Ee.map((Be) => ({
|
|
133275
133275
|
value: Be.name + " " + Be.fullname,
|
|
133276
133276
|
title: P.createElement(
|
|
@@ -133286,7 +133286,7 @@ const lFt = {
|
|
|
133286
133286
|
),
|
|
133287
133287
|
children: Be.children ? Ms(Be.children) : void 0
|
|
133288
133288
|
})), rs = Ga(() => {
|
|
133289
|
-
const Ee = new
|
|
133289
|
+
const Ee = new Ss();
|
|
133290
133290
|
Ee.expandByObject(Pe.current);
|
|
133291
133291
|
const Be = Ae.current.getObjectByName("Brain");
|
|
133292
133292
|
if (Be) {
|
|
@@ -133331,7 +133331,7 @@ const lFt = {
|
|
|
133331
133331
|
Qr(!0);
|
|
133332
133332
|
return;
|
|
133333
133333
|
}
|
|
133334
|
-
const Ee = new
|
|
133334
|
+
const Ee = new Ss();
|
|
133335
133335
|
Ee.expandByObject(Pe.current);
|
|
133336
133336
|
const Be = Ae.current.getObjectByName("Brain");
|
|
133337
133337
|
if (Be) {
|
|
@@ -133434,7 +133434,7 @@ const lFt = {
|
|
|
133434
133434
|
}, []), oy = () => {
|
|
133435
133435
|
let Be = Ae.current.getObjectByName("Brain"), nt = new Ie(-5.097530670166015, -5.308416134996751, -7.990437196406743), ut = new Ie(5.118084411621094, 2.006702558657828, 6.001559863476661);
|
|
133436
133436
|
if (Be) {
|
|
133437
|
-
const Yt = new
|
|
133437
|
+
const Yt = new Ss();
|
|
133438
133438
|
Yt.expandByObject(Be.clone()), nt = Yt.min, ut = Yt.max;
|
|
133439
133439
|
}
|
|
133440
133440
|
const Rt = ut.x - nt.x, an = ut.y - nt.y, Vt = ut.z - nt.z;
|
|
@@ -133456,7 +133456,7 @@ const lFt = {
|
|
|
133456
133456
|
Qt.scale(Pe.current.scale.x, Pe.current.scale.y, Pe.current.scale.z), Qt.translate(Pe.current.position.x, Pe.current.position.y, Pe.current.position.z);
|
|
133457
133457
|
const vr = new J6(Qt);
|
|
133458
133458
|
Ft.current.geometry = vr;
|
|
133459
|
-
const hr = new
|
|
133459
|
+
const hr = new Ss();
|
|
133460
133460
|
hr.expandByObject(Pe.current);
|
|
133461
133461
|
const nr = M.current(hr.min.clone()), ci = M.current(hr.max.clone());
|
|
133462
133462
|
let gn = new jp(Mu(650, 620, `${nr.x.toFixed(2)},${nr.y.toFixed(2)},${nr.z.toFixed(2)}`, "#ccc")), rr = new Hh(new eh({
|
|
@@ -134251,7 +134251,7 @@ const lFt = {
|
|
|
134251
134251
|
} }, a("5000.6030") || "whole-brain connectivity diagram"),
|
|
134252
134252
|
P.createElement("span", null, a("5000.6031") || "consisting of single neuronal projections,or:")
|
|
134253
134253
|
),
|
|
134254
|
-
|
|
134254
|
+
Is ? P.createElement(H4, { ref: js, style: { width: "100%" }, options: Jr, placeholder: a("5000.5053") || "Input the inquired structure", onSearch: Ip, onChange: Px, value: Is }) : P.createElement(pb, { showSearch: !0, ref: Ec, style: { width: "100%" }, value: Is, dropdownStyle: { maxHeight: 400, overflow: "hidden" }, placeholder: a("5000.5053") || "Input the inquired structure", allowClear: !0, treeDefaultExpandAll: !1, onChange: Px, onSearch: Px, treeData: Ms(ke) }),
|
|
134255
134255
|
P.createElement(
|
|
134256
134256
|
"p",
|
|
134257
134257
|
{ style: { fontSize: "13px", fontStyle: "italic" } },
|
|
@@ -134262,12 +134262,12 @@ const lFt = {
|
|
|
134262
134262
|
", or ",
|
|
134263
134263
|
P.createElement("a", { onClick: fu("Primary motor area, Layer 6a"), style: { textDecoration: "underline" } }, " Primary motor area, Layer 6a")
|
|
134264
134264
|
),
|
|
134265
|
-
|
|
134265
|
+
Is ? P.createElement(
|
|
134266
134266
|
"p",
|
|
134267
134267
|
{ style: { fontSize: "13px", fontStyle: "italic" } },
|
|
134268
134268
|
P.createElement("a", { style: { textDecoration: "underline" }, onClick: () => {
|
|
134269
134269
|
const Ee = [];
|
|
134270
|
-
Ee.push(
|
|
134270
|
+
Ee.push(Is), ["Upstream", "Downstream"].forEach((vr) => {
|
|
134271
134271
|
Ee.push(vr), Ee.push("name,neurons"), Zu[vr].forEach((hr) => {
|
|
134272
134272
|
Ee.push(`${hr.name},"${hr.value}"`);
|
|
134273
134273
|
});
|
|
@@ -134340,9 +134340,9 @@ const lFt = {
|
|
|
134340
134340
|
),
|
|
134341
134341
|
P.createElement(
|
|
134342
134342
|
"div",
|
|
134343
|
-
|
|
134344
|
-
P.createElement(Ca, { disabled:
|
|
134345
|
-
const Ee = `/app-api/d-api/dowloadswc/${
|
|
134343
|
+
{ style: { marginTop: 10 } },
|
|
134344
|
+
P.createElement(Ca, { disabled: xs == "", onClick: async () => {
|
|
134345
|
+
const Ee = `/app-api/d-api/dowloadswc/${xs}/processed_js_files.zip`;
|
|
134346
134346
|
try {
|
|
134347
134347
|
const Be = await fetch(Ee, {
|
|
134348
134348
|
method: "GET"
|
|
@@ -134355,9 +134355,9 @@ const lFt = {
|
|
|
134355
134355
|
console.error("下载出错:", Be);
|
|
134356
134356
|
}
|
|
134357
134357
|
} }, a("7000.0109") || "下载结果"),
|
|
134358
|
-
P.createElement(Ca, { onClick: () => {
|
|
134358
|
+
P.createElement(Ca, { disabled: xs == "", onClick: () => {
|
|
134359
134359
|
for (let Ee = 0; Ee < Ei.length; Ee++)
|
|
134360
|
-
t0(`/app-api/d-api/dowloadswc/${
|
|
134360
|
+
t0(`/app-api/d-api/dowloadswc/${xs}/${Ei[Ee].name.slice(0, Ei[Ee].name.length - 4)}.js`);
|
|
134361
134361
|
} }, a("5000.0004") || "显示结果")
|
|
134362
134362
|
)
|
|
134363
134363
|
) : null)
|
|
@@ -134787,7 +134787,7 @@ Downsampling level:${Xr}
|
|
|
134787
134787
|
c.current.remove(z.current), Ae.current.getObjectByName("transformControls") && Ae.current.remove(c.current), c.current.name = "transformControls", c.current.attach(z.current), c.current.space = "local", Ae.current.add(c.current);
|
|
134788
134788
|
let ye = Ae.current.getObjectByName("Brain"), de = new Ie(-5.097530670166015, -5.308416134996751, -7.990437196406743), _e = new Ie(5.118084411621094, 2.006702558657828, 6.001559863476661);
|
|
134789
134789
|
if (ye) {
|
|
134790
|
-
const ke = new
|
|
134790
|
+
const ke = new Ss();
|
|
134791
134791
|
ke.expandByObject(ye.clone()), de = ke.min, _e = ke.max, c.current.addEventListener("change", () => {
|
|
134792
134792
|
if (z.current) {
|
|
134793
134793
|
z.current.updateMatrixWorld();
|
|
@@ -135096,7 +135096,7 @@ class pve extends gv {
|
|
|
135096
135096
|
R[j] = d.getFloat32(V, !0), R[j + 1] = d.getFloat32(V + 4, !0), R[j + 2] = d.getFloat32(V + 8, !0), M[j] = H, M[j + 1] = F, M[j + 2] = G, y && (N.set(h, p, v).convertSRGBToLinear(), g[j] = N.r, g[j + 1] = N.g, g[j + 2] = N.b);
|
|
135097
135097
|
}
|
|
135098
135098
|
}
|
|
135099
|
-
return I.setAttribute("position", new
|
|
135099
|
+
return I.setAttribute("position", new Es(R, 3)), I.setAttribute("normal", new Es(M, 3)), y && (I.setAttribute("color", new Es(g, 3)), I.hasColors = !0, I.alpha = C), I;
|
|
135100
135100
|
}
|
|
135101
135101
|
function a(u) {
|
|
135102
135102
|
const d = new ea(), f = /solid([\s\S]*?)endsolid/g, h = /facet([\s\S]*?)endfacet/g, p = /solid\s(.+)/;
|
|
@@ -135156,7 +135156,7 @@ const hFt = (t) => {
|
|
|
135156
135156
|
6,
|
|
135157
135157
|
0
|
|
135158
135158
|
]);
|
|
135159
|
-
V.setAttribute("position", new
|
|
135159
|
+
V.setAttribute("position", new Es(j, 3)), G == "y" ? (a.current.position.set(0, 0, 0), a.current.rotation.y = 0, a.current.translateX(s), a.current.translateY(c), a.current.translateZ(u), E.current = new Ba(V, z), E.current.name = "axis", (Y = E.current) == null || Y.rotation.set(Math.PI / 2, 0, 0), E.current.scale.set(1, 2, 1), E.current.position.set((m.current + g.current) / 2, b.current + (x.current - b.current) * F, (w.current + C.current) / 2), I.current = 2) : G == "x" ? (a.current.position.set(0, 0, 0), a.current.rotation.y = -90 * Math.PI / 180, a.current.translateX(s), a.current.translateY(c), a.current.translateZ(u), E.current = new Ba(V, z), E.current.name = "axis", E.current.position.set((m.current + g.current) / 2, (x.current + b.current) / 2, g.current + (m.current - g.current) * (F / 2 + 0.5)), I.current = 1) : G == "z" && (a.current.position.set(0, 0, 0), a.current.rotation.y = 0, a.current.translateX(s), a.current.translateY(c), a.current.translateZ(u), E.current = new Ba(V, z), E.current.name = "axis", E.current.position.set((m.current + g.current) / 2, (x.current + b.current) / 2, C.current + (w.current - C.current) * F), I.current = 0), E.current && e.current.add(E.current);
|
|
135160
135160
|
}, N = () => {
|
|
135161
135161
|
let F = new zl({
|
|
135162
135162
|
specular: 16775920,
|
|
@@ -135329,7 +135329,7 @@ const mFt = 100, ha = {}, yFt = () => {
|
|
|
135329
135329
|
df(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof r}"`);
|
|
135330
135330
|
return;
|
|
135331
135331
|
}
|
|
135332
|
-
|
|
135332
|
+
Ts(t, r);
|
|
135333
135333
|
}
|
|
135334
135334
|
}, xR = (t, e) => {
|
|
135335
135335
|
if (!e)
|
|
@@ -135359,7 +135359,7 @@ const mFt = 100, ha = {}, yFt = () => {
|
|
|
135359
135359
|
n ? i.classList.add(r) : i.classList.remove(r);
|
|
135360
135360
|
}) : n ? t.classList.add(r) : t.classList.remove(r);
|
|
135361
135361
|
}));
|
|
135362
|
-
},
|
|
135362
|
+
}, Ts = (t, e) => {
|
|
135363
135363
|
Y6e(t, e, !0);
|
|
135364
135364
|
}, mp = (t, e) => {
|
|
135365
135365
|
Y6e(t, e, !1);
|
|
@@ -135461,7 +135461,7 @@ const mFt = 100, ha = {}, yFt = () => {
|
|
|
135461
135461
|
const e = ys();
|
|
135462
135462
|
e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
|
|
135463
135463
|
}, UFt = (t) => {
|
|
135464
|
-
window.getComputedStyle(t).direction === "rtl" &&
|
|
135464
|
+
window.getComputedStyle(t).direction === "rtl" && Ts(mf(), Zn.rtl);
|
|
135465
135465
|
}, FFt = (t) => {
|
|
135466
135466
|
const e = RFt();
|
|
135467
135467
|
if (OFt()) {
|
|
@@ -135469,7 +135469,7 @@ const mFt = 100, ha = {}, yFt = () => {
|
|
|
135469
135469
|
return;
|
|
135470
135470
|
}
|
|
135471
135471
|
const n = document.createElement("div");
|
|
135472
|
-
n.className = Zn.container, e &&
|
|
135472
|
+
n.className = Zn.container, e && Ts(n, Zn["no-transition"]), xh(n, PFt), n.dataset.swal2Theme = t.theme;
|
|
135473
135473
|
const r = DFt(t.target);
|
|
135474
135474
|
r.appendChild(n), t.topLayer && (n.setAttribute("popover", ""), n.showPopover()), kFt(t), UFt(r), NFt();
|
|
135475
135475
|
}, UY = (t, e) => {
|
|
@@ -135495,7 +135495,7 @@ function HFt(t, e, n, r) {
|
|
|
135495
135495
|
mp([t, e, n], Zn.styled);
|
|
135496
135496
|
return;
|
|
135497
135497
|
}
|
|
135498
|
-
|
|
135498
|
+
Ts([t, e, n], Zn.styled), r.confirmButtonColor && t.style.setProperty("--swal2-confirm-button-background-color", r.confirmButtonColor), r.denyButtonColor && e.style.setProperty("--swal2-deny-button-background-color", r.denyButtonColor), r.cancelButtonColor && n.style.setProperty("--swal2-cancel-button-background-color", r.cancelButtonColor), KB(t), KB(e), KB(n);
|
|
135499
135499
|
}
|
|
135500
135500
|
function KB(t) {
|
|
135501
135501
|
const e = window.getComputedStyle(t);
|
|
@@ -135519,13 +135519,13 @@ const GFt = (t, e) => {
|
|
|
135519
135519
|
n && (WFt(n, e.backdrop), XFt(n, e.position), ZFt(n, e.grow), yh(n, e, "container"));
|
|
135520
135520
|
};
|
|
135521
135521
|
function WFt(t, e) {
|
|
135522
|
-
typeof e == "string" ? t.style.background = e : e ||
|
|
135522
|
+
typeof e == "string" ? t.style.background = e : e || Ts([document.documentElement, document.body], Zn["no-backdrop"]);
|
|
135523
135523
|
}
|
|
135524
135524
|
function XFt(t, e) {
|
|
135525
|
-
e && (e in Zn ?
|
|
135525
|
+
e && (e in Zn ? Ts(t, Zn[e]) : (df('The "position" parameter is not valid, defaulting to "center"'), Ts(t, Zn.center)));
|
|
135526
135526
|
}
|
|
135527
135527
|
function ZFt(t, e) {
|
|
135528
|
-
e &&
|
|
135528
|
+
e && Ts(t, Zn[`grow-${e}`]);
|
|
135529
135529
|
}
|
|
135530
135530
|
var Pl = {
|
|
135531
135531
|
innerParams: /* @__PURE__ */ new WeakMap(),
|
|
@@ -135579,7 +135579,7 @@ const KFt = ["input", "file", "range", "select", "radio", "checkbox", "textarea"
|
|
|
135579
135579
|
}, UI = (t, e, n) => {
|
|
135580
135580
|
if (n.inputLabel) {
|
|
135581
135581
|
const r = document.createElement("label"), i = Zn["input-label"];
|
|
135582
|
-
r.setAttribute("for", t.id), r.className = i, typeof n.customClass == "object" &&
|
|
135582
|
+
r.setAttribute("for", t.id), r.className = i, typeof n.customClass == "object" && Ts(r, n.customClass.inputLabel), r.innerText = n.inputLabel, e.insertAdjacentElement("beforebegin", r);
|
|
135583
135583
|
}
|
|
135584
135584
|
}, J6e = (t) => {
|
|
135585
135585
|
const e = ys();
|
|
@@ -135652,11 +135652,11 @@ const tBt = (t, e) => {
|
|
|
135652
135652
|
Ex(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`), kd(r);
|
|
135653
135653
|
return;
|
|
135654
135654
|
}
|
|
135655
|
-
Gu(r), bve(r, e), yve(r, e),
|
|
135655
|
+
Gu(r), bve(r, e), yve(r, e), Ts(r, e.showClass && e.showClass.icon), window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change", Q6e);
|
|
135656
135656
|
}, yve = (t, e) => {
|
|
135657
135657
|
for (const [n, r] of Object.entries(DO))
|
|
135658
135658
|
e.icon !== n && mp(t, r);
|
|
135659
|
-
|
|
135659
|
+
Ts(t, e.icon && DO[e.icon]), oBt(t, e), Q6e(), yh(t, e, "icon");
|
|
135660
135660
|
}, Q6e = () => {
|
|
135661
135661
|
const t = ys();
|
|
135662
135662
|
if (!t)
|
|
@@ -135713,7 +135713,7 @@ const lBt = (t) => {
|
|
|
135713
135713
|
)) {
|
|
135714
135714
|
BY = !0;
|
|
135715
135715
|
const n = i8e(t);
|
|
135716
|
-
e8e = n.clientX, t8e = n.clientY, n8e = parseInt(e.style.insetInlineStart) || 0, r8e = parseInt(e.style.insetBlockStart) || 0,
|
|
135716
|
+
e8e = n.clientX, t8e = n.clientY, n8e = parseInt(e.style.insetInlineStart) || 0, r8e = parseInt(e.style.insetBlockStart) || 0, Ts(e, "swal2-dragging");
|
|
135717
135717
|
}
|
|
135718
135718
|
}, FO = (t) => {
|
|
135719
135719
|
const e = ys();
|
|
@@ -135746,11 +135746,11 @@ const lBt = (t) => {
|
|
|
135746
135746
|
i && r.insertBefore(i, iE());
|
|
135747
135747
|
} else
|
|
135748
135748
|
Ob(r, "width", e.width);
|
|
135749
|
-
Ob(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), kd(mR()), dBt(r, e), e.draggable && !e.toast ? (
|
|
135749
|
+
Ob(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), kd(mR()), dBt(r, e), e.draggable && !e.toast ? (Ts(r, Zn.draggable), lBt(r)) : (mp(r, Zn.draggable), cBt(r));
|
|
135750
135750
|
}
|
|
135751
135751
|
}, dBt = (t, e) => {
|
|
135752
135752
|
const n = e.showClass || {};
|
|
135753
|
-
t.className = `${Zn.popup} ${Df(t) ? n.popup : ""}`, e.toast ? (
|
|
135753
|
+
t.className = `${Zn.popup} ${Df(t) ? n.popup : ""}`, e.toast ? (Ts([document.documentElement, document.body], Zn["toast-shown"]), Ts(t, Zn.toast)) : Ts(t, Zn.modal), yh(t, e, "popup"), typeof e.customClass == "string" && Ts(t, e.customClass), e.icon && Ts(t, Zn[`icon-${e.icon}`]);
|
|
135754
135754
|
}, fBt = (t, e) => {
|
|
135755
135755
|
const n = OY();
|
|
135756
135756
|
if (!n)
|
|
@@ -135765,17 +135765,17 @@ const lBt = (t) => {
|
|
|
135765
135765
|
}
|
|
135766
135766
|
Gu(n), n.textContent = "", i >= r.length && df("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"), r.forEach((a, o) => {
|
|
135767
135767
|
const s = hBt(a);
|
|
135768
|
-
if (n.appendChild(s), o === i &&
|
|
135768
|
+
if (n.appendChild(s), o === i && Ts(s, Zn["active-progress-step"]), o !== r.length - 1) {
|
|
135769
135769
|
const c = pBt(e);
|
|
135770
135770
|
n.appendChild(c);
|
|
135771
135771
|
}
|
|
135772
135772
|
});
|
|
135773
135773
|
}, hBt = (t) => {
|
|
135774
135774
|
const e = document.createElement("li");
|
|
135775
|
-
return
|
|
135775
|
+
return Ts(e, Zn["progress-step"]), xh(e, t), e;
|
|
135776
135776
|
}, pBt = (t) => {
|
|
135777
135777
|
const e = document.createElement("li");
|
|
135778
|
-
return
|
|
135778
|
+
return Ts(e, Zn["progress-step-line"]), t.progressStepsDistance && Ob(e, "width", t.progressStepsDistance), e;
|
|
135779
135779
|
}, vBt = (t, e) => {
|
|
135780
135780
|
const n = W6e();
|
|
135781
135781
|
n && (DY(n), kI(n, e.title || e.titleText, "block"), e.title && UY(e.title, n), e.titleText && (n.innerText = e.titleText), yh(n, e, "title"));
|
|
@@ -135871,7 +135871,7 @@ const TBt = () => {
|
|
|
135871
135871
|
}, u8e = typeof window < "u" && !!window.GestureEvent, IBt = () => {
|
|
135872
135872
|
if (u8e && !Rm(document.body, Zn.iosfix)) {
|
|
135873
135873
|
const t = document.body.scrollTop;
|
|
135874
|
-
document.body.style.top = `${t * -1}px`,
|
|
135874
|
+
document.body.style.top = `${t * -1}px`, Ts(document.body, Zn.iosfix), ABt();
|
|
135875
135875
|
}
|
|
135876
135876
|
}, ABt = () => {
|
|
135877
135877
|
const t = mf();
|
|
@@ -135925,9 +135925,9 @@ const UBt = (t) => {
|
|
|
135925
135925
|
const n = Pl.innerParams.get(t);
|
|
135926
135926
|
if (!n || Rm(e, n.hideClass.popup))
|
|
135927
135927
|
return !1;
|
|
135928
|
-
mp(e, n.showClass.popup),
|
|
135928
|
+
mp(e, n.showClass.popup), Ts(e, n.hideClass.popup);
|
|
135929
135929
|
const r = mf();
|
|
135930
|
-
return mp(r, n.showClass.backdrop),
|
|
135930
|
+
return mp(r, n.showClass.backdrop), Ts(r, n.hideClass.backdrop), BBt(t, e, n), !0;
|
|
135931
135931
|
};
|
|
135932
135932
|
function f8e(t) {
|
|
135933
135933
|
const e = a3.swalPromiseReject.get(this);
|
|
@@ -135969,7 +135969,7 @@ const FI = (t) => {
|
|
|
135969
135969
|
bR() ? kd(iE()) : $Bt(e, t), Gu(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
|
|
135970
135970
|
}, $Bt = (t, e) => {
|
|
135971
135971
|
const n = DI(), r = oE();
|
|
135972
|
-
!n || !r || (!e && Df(_g()) && (e = _g()), Gu(n), e && (kd(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)),
|
|
135972
|
+
!n || !r || (!e && Df(_g()) && (e = _g()), Gu(n), e && (kd(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)), Ts([t, n], Zn.loading));
|
|
135973
135973
|
}, zBt = (t, e) => {
|
|
135974
135974
|
e.input === "select" || e.input === "radio" ? XBt(t, e) : ["text", "email", "number", "tel", "textarea"].some((n) => n === e.input) && (AY(e.inputValue) || MY(e.inputValue)) && (o3(_g()), ZBt(t, e));
|
|
135975
135975
|
}, HBt = (t, e) => {
|
|
@@ -136133,9 +136133,9 @@ function w8e() {
|
|
|
136133
136133
|
}
|
|
136134
136134
|
function S8e(t) {
|
|
136135
136135
|
const e = Pl.domCache.get(this), n = Pl.innerParams.get(this);
|
|
136136
|
-
xh(e.validationMessage, t), e.validationMessage.className = Zn["validation-message"], n.customClass && n.customClass.validationMessage &&
|
|
136136
|
+
xh(e.validationMessage, t), e.validationMessage.className = Zn["validation-message"], n.customClass && n.customClass.validationMessage && Ts(e.validationMessage, n.customClass.validationMessage), Gu(e.validationMessage);
|
|
136137
136137
|
const r = this.getInput();
|
|
136138
|
-
r && (r.setAttribute("aria-invalid", "true"), r.setAttribute("aria-describedby", Zn["validation-message"]), K6e(r),
|
|
136138
|
+
r && (r.setAttribute("aria-invalid", "true"), r.setAttribute("aria-describedby", Zn["validation-message"]), K6e(r), Ts(r, Zn.inputerror));
|
|
136139
136139
|
}
|
|
136140
136140
|
function E8e() {
|
|
136141
136141
|
const t = Pl.domCache.get(this);
|
|
@@ -136642,9 +136642,9 @@ const N8e = ["swal-title", "swal-html", "swal-footer"], RVt = (t) => {
|
|
|
136642
136642
|
t.scrollTop = 0;
|
|
136643
136643
|
});
|
|
136644
136644
|
}, jVt = (t, e, n) => {
|
|
136645
|
-
|
|
136646
|
-
|
|
136647
|
-
}, D8e)) : Gu(e, "grid"),
|
|
136645
|
+
Ts(t, n.showClass.backdrop), n.animation ? (e.style.setProperty("opacity", "0", "important"), Gu(e, "grid"), setTimeout(() => {
|
|
136646
|
+
Ts(e, n.showClass.popup), e.style.removeProperty("opacity");
|
|
136647
|
+
}, D8e)) : Gu(e, "grid"), Ts([document.documentElement, document.body], Zn.shown), n.heightAuto && n.backdrop && !n.toast && Ts([document.documentElement, document.body], Zn["height-auto"]);
|
|
136648
136648
|
};
|
|
136649
136649
|
var _ve = {
|
|
136650
136650
|
/**
|
|
@@ -138112,7 +138112,7 @@ const tV = xc((t, e) => {
|
|
|
138112
138112
|
Ge.set(1 - 2 * Pe.x * Pe.x, -2 * Pe.x * Pe.y, -2 * Pe.x * Pe.z, 0, -2 * Pe.x * Pe.y, 1 - 2 * Pe.y * Pe.y, -2 * Pe.y * Pe.z, 0, -2 * Pe.x * Pe.z, -2 * Pe.y * Pe.z, 1 - 2 * Pe.z * Pe.z, 0, 0, 0, 0, 1), Ve.applyMatrix4(Ge), Ve.translateX(-Ao.current), Ve.translateY(co.current), Ve.translateZ(-ro.current), Ve.name = He, Ve.myMeshType = "FBX", Ve.children[0].name = He, Ve.children[0].myMeshType = "FBX", wa.current[He] = Ve, ov.current && Ae.current.add(Ve);
|
|
138113
138113
|
}
|
|
138114
138114
|
ce.translateX(Ao.current), ce.translateY(co.current), ce.translateZ(-ro.current), ce.name = He, ce.myMeshType = "FBX", ce.children[0].name = He, ce.children[0].myMeshType = "FBX", Zi.current[He] = ce, Ae.current.add(Zi.current[He]);
|
|
138115
|
-
var yt = new Ie(), Ft = new
|
|
138115
|
+
var yt = new Ie(), Ft = new Ss().setFromObject(ce);
|
|
138116
138116
|
Ft.getCenter(yt);
|
|
138117
138117
|
var Bt = new Ie();
|
|
138118
138118
|
Ft.getSize(Bt);
|
|
@@ -141026,7 +141026,7 @@ var xv = {}, c$t = {
|
|
|
141026
141026
|
S = oe(S), D = D === void 0 ? Nt : D;
|
|
141027
141027
|
var sn = Math.max(Je.x, Je.y), mn = sn * this.getZoomScale(Nt, D), tr = Ce.distanceTo(le) || 1, Vr = 1.42, Ii = Vr * Vr;
|
|
141028
141028
|
function Ji(Ro) {
|
|
141029
|
-
var Ic = Ro ? -1 : 1, Au = Ro ? mn : sn, ps = mn * mn - sn * sn + Ic * Ii * Ii * tr * tr, fu = 2 * Au * Ii * tr, il = ps / fu,
|
|
141029
|
+
var Ic = Ro ? -1 : 1, Au = Ro ? mn : sn, ps = mn * mn - sn * sn + Ic * Ii * Ii * tr * tr, fu = 2 * Au * Ii * tr, il = ps / fu, Cs = Math.sqrt(il * il + 1) - il, Wl = Cs < 1e-9 ? -18 : Math.log(Cs);
|
|
141030
141030
|
return Wl;
|
|
141031
141031
|
}
|
|
141032
141032
|
function hs(Ro) {
|
|
@@ -142736,7 +142736,7 @@ var xv = {}, c$t = {
|
|
|
142736
142736
|
return vn.retina && this.options[S + "RetinaUrl"] || this.options[S + "Url"];
|
|
142737
142737
|
}
|
|
142738
142738
|
});
|
|
142739
|
-
function
|
|
142739
|
+
function Is(S) {
|
|
142740
142740
|
return new Po(S);
|
|
142741
142741
|
}
|
|
142742
142742
|
var Gs = Po.extend({
|
|
@@ -145174,7 +145174,7 @@ var xv = {}, c$t = {
|
|
|
145174
145174
|
function Ws(S) {
|
|
145175
145175
|
return vn.canvas ? new Tu(S) : null;
|
|
145176
145176
|
}
|
|
145177
|
-
var
|
|
145177
|
+
var As = function() {
|
|
145178
145178
|
try {
|
|
145179
145179
|
return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(S) {
|
|
145180
145180
|
return document.createElement("<lvml:" + S + ' class="lvml">');
|
|
@@ -145192,8 +145192,8 @@ var xv = {}, c$t = {
|
|
|
145192
145192
|
this._map._animatingZoom || (fl.prototype._update.call(this), this.fire("update"));
|
|
145193
145193
|
},
|
|
145194
145194
|
_initPath: function(S) {
|
|
145195
|
-
var D = S._container =
|
|
145196
|
-
sr(D, "leaflet-vml-shape " + (this.options.className || "")), D.coordsize = "1 1", S._path =
|
|
145195
|
+
var D = S._container = As("shape");
|
|
145196
|
+
sr(D, "leaflet-vml-shape " + (this.options.className || "")), D.coordsize = "1 1", S._path = As("path"), D.appendChild(S._path), this._updateStyle(S), this._layers[c(S)] = S;
|
|
145197
145197
|
},
|
|
145198
145198
|
_addPath: function(S) {
|
|
145199
145199
|
var D = S._container;
|
|
@@ -145205,7 +145205,7 @@ var xv = {}, c$t = {
|
|
|
145205
145205
|
},
|
|
145206
145206
|
_updateStyle: function(S) {
|
|
145207
145207
|
var D = S._stroke, X = S._fill, le = S.options, Ce = S._container;
|
|
145208
|
-
Ce.stroked = !!le.stroke, Ce.filled = !!le.fill, le.stroke ? (D || (D = S._stroke =
|
|
145208
|
+
Ce.stroked = !!le.stroke, Ce.filled = !!le.fill, le.stroke ? (D || (D = S._stroke = As("stroke")), Ce.appendChild(D), D.weight = le.weight + "px", D.color = le.color, D.opacity = le.opacity, le.dashArray ? D.dashStyle = x(le.dashArray) ? le.dashArray.join(" ") : le.dashArray.replace(/( *, *)/g, " ") : D.dashStyle = "", D.endcap = le.lineCap.replace("butt", "flat"), D.joinstyle = le.lineJoin) : D && (Ce.removeChild(D), S._stroke = null), le.fill ? (X || (X = S._fill = As("fill")), Ce.appendChild(X), X.color = le.fillColor || le.color, X.opacity = le.fillOpacity) : X && (Ce.removeChild(X), S._fill = null);
|
|
145209
145209
|
},
|
|
145210
145210
|
_updateCircle: function(S) {
|
|
145211
145211
|
var D = S._point.round(), X = Math.round(S._radius), le = Math.round(S._radiusY || X);
|
|
@@ -145220,9 +145220,9 @@ var xv = {}, c$t = {
|
|
|
145220
145220
|
_bringToBack: function(S) {
|
|
145221
145221
|
wr(S._container);
|
|
145222
145222
|
}
|
|
145223
|
-
},
|
|
145223
|
+
}, xs = vn.vml ? As : ye, Li = fl.extend({
|
|
145224
145224
|
_initContainer: function() {
|
|
145225
|
-
this._container =
|
|
145225
|
+
this._container = xs("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = xs("g"), this._container.appendChild(this._rootGroup);
|
|
145226
145226
|
},
|
|
145227
145227
|
_destroyContainer: function() {
|
|
145228
145228
|
kn(this._container), Un(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
@@ -145236,7 +145236,7 @@ var xv = {}, c$t = {
|
|
|
145236
145236
|
},
|
|
145237
145237
|
// methods below are called by vector layers implementations
|
|
145238
145238
|
_initPath: function(S) {
|
|
145239
|
-
var D = S._path =
|
|
145239
|
+
var D = S._path = xs("path");
|
|
145240
145240
|
S.options.className && sr(D, S.options.className), S.options.interactive && sr(D, "leaflet-interactive"), this._updateStyle(S), this._layers[c(S)] = S;
|
|
145241
145241
|
},
|
|
145242
145242
|
_addPath: function(S) {
|
|
@@ -145314,7 +145314,7 @@ var xv = {}, c$t = {
|
|
|
145314
145314
|
function wo(S, D) {
|
|
145315
145315
|
return new Tc(S, D);
|
|
145316
145316
|
}
|
|
145317
|
-
Li.create =
|
|
145317
|
+
Li.create = xs, Li.pointsToPath = de, Bo.geometryToLayer = yl, Bo.coordsToLatLng = bl, Bo.coordsToLatLngs = lc, Bo.latLngToCoords = Ul, Bo.latLngsToCoords = xl, Bo.getFeature = Cc, Bo.asFeature = bs, vt.mergeOptions({
|
|
145318
145318
|
// @option boxZoom: Boolean = true
|
|
145319
145319
|
// Whether the map can be zoomed to a rectangular area specified by
|
|
145320
145320
|
// dragging the mouse while pressing the shift key.
|
|
@@ -145755,7 +145755,7 @@ var xv = {}, c$t = {
|
|
|
145755
145755
|
this._zooming = !1, B(this._animRequest), Un(document, "touchmove", this._onTouchMove, this), Un(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
145756
145756
|
}
|
|
145757
145757
|
});
|
|
145758
|
-
vt.addInitHook("addHandler", "touchZoom", du), vt.BoxZoom = Wc, vt.DoubleClickZoom = Ku, vt.Drag = lu, vt.Keyboard = Yu, vt.ScrollWheelZoom = cu, vt.TapHold = Xc, vt.TouchZoom = du, n.Bounds = Z, n.Browser = vn, n.CRS = ie, n.Canvas = Tu, n.Circle = tc, n.CircleMarker = Uo, n.Class = F, n.Control = He, n.DivIcon = Wu, n.DivOverlay = js, n.DomEvent = Za, n.DomUtil = ti, n.Draggable = rn, n.Evented = V, n.FeatureGroup = Hs, n.GeoJSON = Bo, n.GridLayer = dc, n.Handler = yt, n.Icon = Po, n.ImageOverlay = Sc, n.LatLng = ne, n.LatLngBounds = se, n.Layer = Fa, n.LayerGroup = os, n.LineUtil = Zo, n.Map = vt, n.Marker = ho, n.Mixin = Ft, n.Path = Go, n.Point = j, n.PolyUtil = br, n.Polygon = Ko, n.Polyline = Fo, n.Popup = Ec, n.PosAnimation = Nn, n.Projection = ml, n.Rectangle = Tc, n.Renderer = fl, n.SVG = Li, n.SVGOverlay = dl, n.TileLayer = Cl, n.Tooltip = _u, n.Transformation = he, n.Util = H, n.VideoOverlay = Eu, n.bind = o, n.bounds = te, n.canvas = Ws, n.circle = kl, n.circleMarker = to, n.control = rt, n.divIcon = Fl, n.extend = i, n.featureGroup = fr, n.geoJSON = uc, n.geoJson = wc, n.gridLayer = md, n.icon =
|
|
145758
|
+
vt.addInitHook("addHandler", "touchZoom", du), vt.BoxZoom = Wc, vt.DoubleClickZoom = Ku, vt.Drag = lu, vt.Keyboard = Yu, vt.ScrollWheelZoom = cu, vt.TapHold = Xc, vt.TouchZoom = du, n.Bounds = Z, n.Browser = vn, n.CRS = ie, n.Canvas = Tu, n.Circle = tc, n.CircleMarker = Uo, n.Class = F, n.Control = He, n.DivIcon = Wu, n.DivOverlay = js, n.DomEvent = Za, n.DomUtil = ti, n.Draggable = rn, n.Evented = V, n.FeatureGroup = Hs, n.GeoJSON = Bo, n.GridLayer = dc, n.Handler = yt, n.Icon = Po, n.ImageOverlay = Sc, n.LatLng = ne, n.LatLngBounds = se, n.Layer = Fa, n.LayerGroup = os, n.LineUtil = Zo, n.Map = vt, n.Marker = ho, n.Mixin = Ft, n.Path = Go, n.Point = j, n.PolyUtil = br, n.Polygon = Ko, n.Polyline = Fo, n.Popup = Ec, n.PosAnimation = Nn, n.Projection = ml, n.Rectangle = Tc, n.Renderer = fl, n.SVG = Li, n.SVGOverlay = dl, n.TileLayer = Cl, n.Tooltip = _u, n.Transformation = he, n.Util = H, n.VideoOverlay = Eu, n.bind = o, n.bounds = te, n.canvas = Ws, n.circle = kl, n.circleMarker = to, n.control = rt, n.divIcon = Fl, n.extend = i, n.featureGroup = fr, n.geoJSON = uc, n.geoJson = wc, n.gridLayer = md, n.icon = Is, n.imageOverlay = ul, n.latLng = oe, n.latLngBounds = q, n.layerGroup = cl, n.map = Le, n.marker = eo, n.point = W, n.polygon = nc, n.polyline = ns, n.popup = gd, n.rectangle = wo, n.setOptions = y, n.stamp = c, n.svg = nl, n.svgOverlay = qo, n.tileLayer = Xu, n.tooltip = ju, n.transformation = re, n.version = r, n.videoOverlay = Yo;
|
|
145759
145759
|
var Zc = window.L;
|
|
145760
145760
|
n.noConflict = function() {
|
|
145761
145761
|
return window.L = Zc, this;
|
|
@@ -151766,7 +151766,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
151766
151766
|
), fr = parseInt(
|
|
151767
151767
|
l.Utils.getResource("DEFAULT_ANIMATIONOPTIMALPOSITIONDELTA"),
|
|
151768
151768
|
10
|
|
151769
|
-
), Po = null,
|
|
151769
|
+
), Po = null, Is = null, Gs = null, fs = null, ho = 0, eo = 0, Go = 0, Uo = 0, to = null, tc = null, kl = null, Fo = parseFloat(l.Utils.getResource("DEFAULT_ZOOMSTEPDISTANCE")) * l.zoomSpeed;
|
|
151770
151770
|
l.mobileDevice && (Fo /= 2);
|
|
151771
151771
|
var ns = 0, Ko = null, nc = 0, Bo = parseInt(
|
|
151772
151772
|
l.Utils.getResource("DEFAULT_ZAPSTEPDURATION"),
|
|
@@ -151797,7 +151797,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
151797
151797
|
if (l.geoCoordinatesVisible)
|
|
151798
151798
|
var dc, md, Cl, Xu, _c, Zu, fl, Tu;
|
|
151799
151799
|
if (l.imageFilters)
|
|
151800
|
-
var Ws = null,
|
|
151800
|
+
var Ws = null, As = null, wl = null, xs = !1, Li = [], nl = [], Tc, wo, Wc, Ku = 0, lu = 0, Yu = 0, cu = 0, uu = 0, Xc = 0, du = 0, Zc = 0, S = 0, D = 0, X = 0, le = 0, Ce = 0, Je = 0, Nt = 0, sn = 0, mn = 0, tr = 0, Vr = 0, Ii = 0, Ji = 0, hs = 0;
|
|
151801
151801
|
if (l.watermarks)
|
|
151802
151802
|
var oo, Xs, Jo = [], rl = [];
|
|
151803
151803
|
if (l.imageList)
|
|
@@ -151805,7 +151805,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
151805
151805
|
if (l.tour)
|
|
151806
151806
|
var jl, Ro, Ic, Au;
|
|
151807
151807
|
if (l.imagePath !== null && (l.imagePath.indexOf("zComparisonPath") != -1 ? (l.imageSetPath = l.imagePath.substring(16, l.imagePath.length), l.imageSet = !0, l.comparison = !0) : l.imagePath.indexOf("zSlidePath") != -1 ? (l.slidePath = l.imagePath.substring(11, l.imagePath.length), l.slideshow = !0) : l.imagePath.indexOf("zAnimationPath") != -1 ? (l.imageSetPath = l.imagePath.substring(15, l.imagePath.length), l.imageSet = !0, l.animation = !0) : l.imagePath.indexOf("zSlidestackPath") != -1 && (l.imageSetPath = l.imagePath.substring(16, l.imagePath.length), l.imageSet = !0, l.slidestack = !0)), l.slideshow) {
|
|
151808
|
-
var ps = [], fu = [], il,
|
|
151808
|
+
var ps = [], fu = [], il, Cs, Wl, yf, hc, _p, Pg, Ks = parseFloat(l.Utils.getResource("DEFAULT_SLIDETRANSITIONSTEP")) * l.slideTransitionSpeed;
|
|
151809
151809
|
l.slideTransitionTimeout = null, l.slideOpacity = 0;
|
|
151810
151810
|
}
|
|
151811
151811
|
if (l.zoomRectangle || l.measureVisible || l.tour || l.hotspots || l.annotations || l.tracking) {
|
|
@@ -151980,7 +151980,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
151980
151980
|
m.tourStart();
|
|
151981
151981
|
}, 750)), De && (m.setDrawingColor("buttonColor0" + p, !0), (l.tour || l.hotspots || l.annotations) && QI(p), y && bq(p), g && loadMapData(p)), l.tracking && Xq(p), l.virtualPointerVisible && l.Viewer.createVirtualPointer(), l.tileSource != "unconverted" && m.precacheBackfillTiles(), oA(l.initialX, l.initialY, l.initialZ, l.initialR, null, !0), l.coordinatesVisible && m.setCoordinatesDisplayVisibility(!0), l.geoCoordinatesVisible && uLe(), l.initialFullPage && m.toggleFullViewMode(!0), F7e(), m.setStatus("initializedViewport", !0), m.syncViewportRelated(), l.slideshow) {
|
|
151982
151982
|
var Se = l.Utils.stringValidate(l.slideListTitle) && l.slideListTitle != "none" ? 1 : 0;
|
|
151983
|
-
typeof
|
|
151983
|
+
typeof Cs < "u" && (Cs.selectedIndex = Se), _p && !l.slideshowPlaying ? m.slideshowStart() : l.slideshowPlaying && m.nextSlide();
|
|
151984
151984
|
}
|
|
151985
151985
|
if (l.imagePath == "multiple") {
|
|
151986
151986
|
var Xe = l.hotspots ? "hotspotsLoadedViewer" : l.annotations ? "annotationsLoadedViewer" : null, lt = function() {
|
|
@@ -152022,7 +152022,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
152022
152022
|
Bn = 1, Gt = 0, Pt = 0, tn = !1, ot = !1, be = !1, ce = !1, typeof ln < "u" && l.Utils.arrayClear(ln), typeof Kn < "u" && l.Utils.arrayClear(Kn), typeof En < "u" && l.Utils.arrayClear(En), typeof _n < "u" && l.Utils.arrayClear(_n), typeof kn < "u" && l.Utils.arrayClear(kn), typeof ar < "u" && l.Utils.arrayClear(ar), typeof ew < "u" && l.Utils.arrayClear(ew), typeof kp < "u" && l.Utils.arrayClear(kp), typeof yV < "u" && l.Utils.arrayClear(yV), typeof Wr < "u" && l.Utils.arrayClear(Wr), typeof Qy < "u" && l.Utils.arrayClear(Qy), typeof Up < "u" && l.Utils.arrayClear(Up), typeof NL < "u" && l.Utils.arrayClear(NL), typeof jn < "u" && l.Utils.arrayClear(jn), typeof er < "u" && l.Utils.arrayClear(er);
|
|
152023
152023
|
}
|
|
152024
152024
|
function gMe() {
|
|
152025
|
-
ue && (typeof Jo < "u" && l.Utils.arrayClear(Jo), typeof rl < "u" && l.Utils.arrayClear(rl)), De && (typeof Kt < "u" && l.Utils.arrayClear(Kt), typeof pc < "u" && l.Utils.arrayClear(pc), typeof Ac < "u" && l.Utils.arrayClear(Ac), Ia != null ? (Ia.parentNode.removeChild(Ia), Ia = null, typeof ut < "u" && l.Utils.arrayClear(ut)) : (gn != null && (gn.parentNode.removeChild(gn), gn = null, typeof Aa < "u" && l.Utils.arrayClear(Aa)), zn != null && (zn.parentNode.removeChild(zn), zn = null, typeof Vt < "u" && l.Utils.arrayClear(Vt), typeof Yt < "u" && l.Utils.arrayClear(Yt)), rr != null && (rr.parentNode.removeChild(rr), rr = null, typeof po < "u" && l.Utils.arrayClear(po), typeof _l < "u" && l.Utils.arrayClear(_l)))), l.imageFilters && (Ws = null,
|
|
152025
|
+
ue && (typeof Jo < "u" && l.Utils.arrayClear(Jo), typeof rl < "u" && l.Utils.arrayClear(rl)), De && (typeof Kt < "u" && l.Utils.arrayClear(Kt), typeof pc < "u" && l.Utils.arrayClear(pc), typeof Ac < "u" && l.Utils.arrayClear(Ac), Ia != null ? (Ia.parentNode.removeChild(Ia), Ia = null, typeof ut < "u" && l.Utils.arrayClear(ut)) : (gn != null && (gn.parentNode.removeChild(gn), gn = null, typeof Aa < "u" && l.Utils.arrayClear(Aa)), zn != null && (zn.parentNode.removeChild(zn), zn = null, typeof Vt < "u" && l.Utils.arrayClear(Vt), typeof Yt < "u" && l.Utils.arrayClear(Yt)), rr != null && (rr.parentNode.removeChild(rr), rr = null, typeof po < "u" && l.Utils.arrayClear(po), typeof _l < "u" && l.Utils.arrayClear(_l)))), l.imageFilters && (Ws = null, As = null, wl = null, xs = !1, typeof Li < "u" && l.Utils.arrayClear(Li), typeof nl < "u" && l.Utils.arrayClear(nl), Tc = null, wo = null, Wc = null, Ku = 0, lu = 0, Yu = 0, cu = 0, uu = 0, Xc = 0, du = 0, Zc = 0, S = 0, D = 0, X = 0, le = 0, Ce = 0, Je = 0, Nt = 0, sn = 0, mn = 0, tr = 0, Vr = 0, Ii = 0, Ji = 0, hs = 0);
|
|
152026
152026
|
}
|
|
152027
152027
|
function mMe() {
|
|
152028
152028
|
te && l.Utils.clearDisplay(te), re && l.Utils.clearDisplay(re), de && l.Utils.clearDisplay(de), Ne && l.Utils.clearDisplay(Ne), ue && l.Utils.clearDisplay(ue), We && l.Utils.clearDisplay(We), De && (l.Utils.clearDisplay(De), De = null), dt && (m.clearAnnotationPanel(p), m.setStatus("annotationPanelInitializedViewport", !1), dt = null), Ue && l.Utils.clearDisplay(Ue), Ct && l.Utils.clearDisplay(Ct), kt && l.Utils.clearDisplay(kt), pn && (l.Utils.clearDisplay(pn), pn = null), Hn && l.Utils.clearDisplay(Hn), bn && l.Utils.clearDisplay(bn);
|
|
@@ -152900,7 +152900,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
152900
152900
|
T = T >= 2 ? T / 100 : T < 0 ? 0 : T > 1 ? 1 : T, l.Utils.setOpacity(ee, T);
|
|
152901
152901
|
}, this.showLists = function(T) {
|
|
152902
152902
|
var O = T ? "visible" : "hidden";
|
|
152903
|
-
Sl && (m.setImageListVisibilty(O), l.comparison && l.Viewport1.setImageListVisibilty(O)), l.hotspots && l.Viewer.setVisibilityHotspotChoiceList(T, p.toString()),
|
|
152903
|
+
Sl && (m.setImageListVisibilty(O), l.comparison && l.Viewport1.setImageListVisibilty(O)), l.hotspots && l.Viewer.setVisibilityHotspotChoiceList(T, p.toString()), Cs && (Cs.style.visibility = O), l.imageSet && !l.comparison && l.Viewer.setVisibilityImageSetChoiceList(T);
|
|
152904
152904
|
}, this.precacheBackfillTiles = function(T) {
|
|
152905
152905
|
T || (yE(gt, sr), ot = !0), (!l.imageSet || l.comparison || t == l.imageSetStart || T) && Bn > Qe && (yE(pt, sr), be = !0, Bn > Le && (yE(He, sr), ce = !0), m.setStatus("backfillPrecachedViewport", !0)), sr.sort(), sr = l.Utils.arrayUnique(sr), wr = sr.slice(0), m.traceDebugValues(
|
|
152906
152906
|
"tilesBackfillToPrecache",
|
|
@@ -153625,7 +153625,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
153625
153625
|
or,
|
|
153626
153626
|
"centerOut",
|
|
153627
153627
|
!1
|
|
153628
|
-
)), l.imageFilters && (m.cacheCanvasImage(),
|
|
153628
|
+
)), l.imageFilters && (m.cacheCanvasImage(), xs && k7e()), hq(), ir = 0), m.traceDebugValues("onTileLoad", T.name, T.loadTime), m.updateProgress(ir, kr);
|
|
153629
153629
|
}
|
|
153630
153630
|
ua == Ta + ii && m.setStatus("displayLoadedViewport", !0);
|
|
153631
153631
|
} else
|
|
@@ -153696,15 +153696,15 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
153696
153696
|
}
|
|
153697
153697
|
function DR(T, O, A, U) {
|
|
153698
153698
|
var K = T.getContext("2d");
|
|
153699
|
-
if (l.alphaSupported && O.alpha < 1 && T.id != "transitionCanvas" && T.id.indexOf("oversizeDisplay") == -1 && T.id != "savingDisplay" && !
|
|
153699
|
+
if (l.alphaSupported && O.alpha < 1 && T.id != "transitionCanvas" && T.id.indexOf("oversizeDisplay") == -1 && T.id != "savingDisplay" && !xs && (K.globalAlpha = O.alpha), !l.imageFilters || Li.length == 0)
|
|
153700
153700
|
K.drawImage(O.image, A, U);
|
|
153701
|
-
else if (
|
|
153701
|
+
else if (xs)
|
|
153702
153702
|
T.id.indexOf("oversizeDisplay") != -1 ? K = q : T.id.indexOf("viewportDisplay") != -1 ? K = Or : T.id.indexOf("viewportBackfillDisplay") != -1 ? K = vn : T.id.indexOf("transitionCanvas") != -1 ? K = Or : T.id == "savingDisplay" && (K = Ht), K.drawImage(O.image, A, U);
|
|
153703
153703
|
else {
|
|
153704
153704
|
var ae = U7e(O.name, O.image);
|
|
153705
153705
|
l.Utils.clearDisplay(Ne), Ze.putImageData(ae, 0, 0), K.drawImage(Ne, A, U);
|
|
153706
153706
|
}
|
|
153707
|
-
l.alphaSupported && O.alpha < 1 && T.id != "transitionCanvas" && T.id != "oversizeDisplay" && T.id != "savingDisplay" && !
|
|
153707
|
+
l.alphaSupported && O.alpha < 1 && T.id != "transitionCanvas" && T.id != "oversizeDisplay" && T.id != "savingDisplay" && !xs && (K.globalAlpha = 1), (l.debug == 2 || l.debug == 4) && uq(T, O.name, A, U, On);
|
|
153708
153708
|
}
|
|
153709
153709
|
function $Me(T, O, A, U, K) {
|
|
153710
153710
|
O.elmt || (O.elmt = l.Utils.createContainerElement("img"), O.elmt.onmousedown = l.Utils.preventDefault, l.Utils.addEventListener(
|
|
@@ -163399,8 +163399,8 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
163399
163399
|
}
|
|
163400
163400
|
function S7e(T, O) {
|
|
163401
163401
|
var A = Wl == "0" ? "hidden" : "visible", U = m.calculateSlideListCoords(Et, Xt);
|
|
163402
|
-
if (typeof
|
|
163403
|
-
|
|
163402
|
+
if (typeof Cs > "u" || Cs === null) {
|
|
163403
|
+
Cs = new l.Utils.createSelectElement(
|
|
163404
163404
|
"slideList",
|
|
163405
163405
|
T,
|
|
163406
163406
|
O,
|
|
@@ -163411,9 +163411,9 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
163411
163411
|
A,
|
|
163412
163412
|
E7e,
|
|
163413
163413
|
"change"
|
|
163414
|
-
), l.ViewerDisplay.appendChild(
|
|
163414
|
+
), l.ViewerDisplay.appendChild(Cs), l.slideList = !0, il = 0;
|
|
163415
163415
|
var K = l.Utils.stringValidate(l.slideListTitle) && l.slideListTitle != "none" ? 1 : 0;
|
|
163416
|
-
|
|
163416
|
+
Cs.selectedIndex = K;
|
|
163417
163417
|
} else
|
|
163418
163418
|
l.Utils.arrayClear(O);
|
|
163419
163419
|
}
|
|
@@ -163469,7 +163469,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
163469
163469
|
l.slideshowPlaying && T && m.slideshowStop(), Yq("next");
|
|
163470
163470
|
};
|
|
163471
163471
|
function Yq(T) {
|
|
163472
|
-
if (typeof
|
|
163472
|
+
if (typeof Cs < "u" && Cs !== null && Cs.length > 0) {
|
|
163473
163473
|
var O = l.slideshowPlaying ? ps[il].showFor : 0;
|
|
163474
163474
|
l.Utils.stringValidate(ps[il].audio) && (O += 500);
|
|
163475
163475
|
var A = aA(
|
|
@@ -163507,11 +163507,11 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
163507
163507
|
break;
|
|
163508
163508
|
}
|
|
163509
163509
|
var Re = l.Utils.arrayIndexOfObjectValue(
|
|
163510
|
-
|
|
163510
|
+
Cs.options,
|
|
163511
163511
|
"value",
|
|
163512
163512
|
K.internalID.toString()
|
|
163513
163513
|
);
|
|
163514
|
-
Re != -1 && (
|
|
163514
|
+
Re != -1 && (Cs.selectedIndex = Re), l.Gallery && l.Gallery.getInitialized() && l.Gallery.syncGalleryToViewport(Re - 1);
|
|
163515
163515
|
}
|
|
163516
163516
|
}, this.getSlides = function() {
|
|
163517
163517
|
return ps;
|
|
@@ -164387,9 +164387,9 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
164387
164387
|
"filter",
|
|
164388
164388
|
"blurriness"
|
|
164389
164389
|
) != -1, A = l.Utils.arrayIndexOfObjectValue(Li, "filter", "edges") != -1;
|
|
164390
|
-
|
|
164390
|
+
xs = T || O || A;
|
|
164391
164391
|
}, this.applyImageFilter = function(T, O, A, U) {
|
|
164392
|
-
typeof wl > "u" || typeof
|
|
164392
|
+
typeof wl > "u" || typeof As > "u" || (Ws !== null || As !== null ? (window.clearTimeout(wl), wl = null, window.clearTimeout(As), As = null) : Ws = window.setTimeout(function() {
|
|
164393
164393
|
Ws = null;
|
|
164394
164394
|
var K = T == "sharpness" || T == "blurriness" || T == "edges";
|
|
164395
164395
|
l.buttonIsDown && !K ? N7e(T, O, U) : (typeof nl < "u" && l.Utils.arrayClear(nl), nJ(de, T, O, A, U), K && l.Utils.showMessage(
|
|
@@ -164399,8 +164399,8 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
164399
164399
|
"center",
|
|
164400
164400
|
!1,
|
|
164401
164401
|
"2"
|
|
164402
|
-
),
|
|
164403
|
-
|
|
164402
|
+
), As = window.setTimeout(function() {
|
|
164403
|
+
As = null, nJ(re, T, O, A, U), l.Utils.hideMessage();
|
|
164404
164404
|
}, 100));
|
|
164405
164405
|
}, 100));
|
|
164406
164406
|
}, this.cacheCanvasImage = function(T) {
|
|
@@ -164474,7 +164474,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
164474
164474
|
return O;
|
|
164475
164475
|
}
|
|
164476
164476
|
function iJ(T) {
|
|
164477
|
-
l.imageFilters &&
|
|
164477
|
+
l.imageFilters && xs && Hn && bn && (T == "frontfill" ? (l.Utils.clearDisplay(Hn), Hn.width = de.width, Hn.height = de.height, on.width = _e.width, on.height = _e.height, Or.translate(Jr, ni), Or.scale(On, On)) : (l.Utils.clearDisplay(bn), bn.width = re.width, bn.height = re.height, Dn.width = xe.width, Dn.height = xe.height));
|
|
164478
164478
|
}
|
|
164479
164479
|
function F7e() {
|
|
164480
164480
|
l.Utils.addEventListener(me, "mousedown", ls), l.Utils.addEventListener(me, "mousemove", l.Utils.preventDefault), l.Utils.addEventListener(me, "touchstart", ls), l.Utils.addEventListener(me, "touchmove", ls), l.Utils.addEventListener(me, "touchend", ls), l.Utils.addEventListener(me, "touchcancel", ls), l.Utils.addEventListener(me, "gesturestart", ls), l.Utils.addEventListener(me, "gesturechange", ls), l.Utils.addEventListener(me, "gestureend", ls), l.Utils.addEventListener(re, "contextmenu", l.Utils.preventDefault), l.Utils.addEventListener(de, "contextmenu", l.Utils.preventDefault), ue && l.Utils.addEventListener(ue, "contextmenu", l.Utils.preventDefault), De && l.Utils.addEventListener(De, "contextmenu", l.Utils.preventDefault);
|
|
@@ -165676,7 +165676,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
165676
165676
|
}
|
|
165677
165677
|
}
|
|
165678
165678
|
function V7e(T) {
|
|
165679
|
-
l.smoothPanEasing > 1 && (ME(T),
|
|
165679
|
+
l.smoothPanEasing > 1 && (ME(T), Is = Qr, Gs === null && (Gs = new l.Utils.Point(
|
|
165680
165680
|
parseFloat(pe.left),
|
|
165681
165681
|
parseFloat(pe.top)
|
|
165682
165682
|
)), (Po === null || T) && (Po = window.setInterval($7e, 50)));
|
|
@@ -165690,7 +165690,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
165690
165690
|
function z7e() {
|
|
165691
165691
|
var T = parseFloat(pe.left), O = parseFloat(pe.top);
|
|
165692
165692
|
if (l.mouseIsDown || to) {
|
|
165693
|
-
var A = to ? tc : fs.x, U = to ? kl : fs.y, K = A -
|
|
165693
|
+
var A = to ? tc : fs.x, U = to ? kl : fs.y, K = A - Is.x, ae = U - Is.y, J = T - Gs.x, fe = O - Gs.y, ge = !isNaN(K) && !isNaN(ae) && !isNaN(J) && !isNaN(fe) && (K != 0 || ae != 0 || J != 0 || fe != 0);
|
|
165694
165694
|
if (ge) {
|
|
165695
165695
|
var Re = to ? l.smoothPanGlide : 1, Fe = to ? 1 : 100;
|
|
165696
165696
|
ho = Math.round(
|
|
@@ -165735,7 +165735,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
|
|
|
165735
165735
|
l.animationCount++, os === null && (os = parseFloat(pe.left)), cl === null && (cl = parseFloat(pe.top));
|
|
165736
165736
|
var O = os, A = cl;
|
|
165737
165737
|
if (l.mouseIsDown || to) {
|
|
165738
|
-
var U = to ? tc : fs.x, K = to ? kl : fs.y, ae = U -
|
|
165738
|
+
var U = to ? tc : fs.x, K = to ? kl : fs.y, ae = U - Is.x, J = K - Is.y, fe = O - Gs.x, ge = A - Gs.y, Re = !isNaN(ae) && !isNaN(J) && !isNaN(fe) && !isNaN(ge) && (ae != 0 || J != 0 || fe != 0 || ge != 0);
|
|
165739
165739
|
if (Re) {
|
|
165740
165740
|
var Fe = to ? l.smoothPanGlide : 1, Se = to ? 1 : 100;
|
|
165741
165741
|
ho = Math.round(
|
|
@@ -166665,7 +166665,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
166665
166665
|
"TIP_AUDIOMUTE"
|
|
166666
166666
|
);
|
|
166667
166667
|
Bt.appendChild(Po.elmt);
|
|
166668
|
-
var
|
|
166668
|
+
var Is = new l.Utils.Button(
|
|
166669
166669
|
"buttonAudioMuted",
|
|
166670
166670
|
null,
|
|
166671
166671
|
l.skinPath,
|
|
@@ -166680,7 +166680,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
166680
166680
|
Nn,
|
|
166681
166681
|
"TIP_AUDIOON"
|
|
166682
166682
|
);
|
|
166683
|
-
Bt.appendChild(
|
|
166683
|
+
Bt.appendChild(Is.elmt);
|
|
166684
166684
|
}
|
|
166685
166685
|
if (l.imageFilters) {
|
|
166686
166686
|
var Gs = new l.Utils.Graphic(
|
|
@@ -167658,8 +167658,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167658
167658
|
l.progressVisible || (ni = 0);
|
|
167659
167659
|
var Co = Oa * Xt + Oo * ta;
|
|
167660
167660
|
l.sliderZoomVisible && (Co += Jr), l.imageSet && l.sliderImageSetVisible && (Co += ml), y = g = m = b = vV = !1;
|
|
167661
|
-
var Fa = l.logoVisible == 1 ? Pe + 2 : 0, os = l.toolbarVisible != 0 && l.toolbarVisible != 1 && l.minimizeVisible != 0 ? Xt : 0, cl = Fa + os, Hs = l.panButtonsVisible == 1 ? Xt * 4 + ta : 0, fr = l.zoomButtonsVisible == 1 ? Xt * 2 : 0, Po = l.resetVisible == 1 ? Xt : 0,
|
|
167662
|
-
|
|
167661
|
+
var Fa = l.logoVisible == 1 ? Pe + 2 : 0, os = l.toolbarVisible != 0 && l.toolbarVisible != 1 && l.minimizeVisible != 0 ? Xt : 0, cl = Fa + os, Hs = l.panButtonsVisible == 1 ? Xt * 4 + ta : 0, fr = l.zoomButtonsVisible == 1 ? Xt * 2 : 0, Po = l.resetVisible == 1 ? Xt : 0, Is = cl + Zo + Co + Zo + ni;
|
|
167662
|
+
Is > Ve && (y = !0, Is - Jr > Ve && (g = !0, Is - Jr - ni > Ve && (m = !0, Is - Jr - ni - cl > Ve && (x = !0, Is - Jr - ni - cl - Po > Ve && (b = !0, Co -= Hs, Is - Jr - ni - cl - Po - Hs > Ve && (vV = !0, Co -= fr)), Co -= Po), cl = 0), ni = 0), Co -= Jr);
|
|
167663
167663
|
var Gs = (Ve - Co) / 2 - Zo + 3, fs = document.getElementById("toolbarBackground");
|
|
167664
167664
|
fs && (fs.style.width = Ve + "px", fs.style.height = Ge + "px", fs.firstChild.style.width = Ve + "px", fs.firstChild.style.height = Ge + "px");
|
|
167665
167665
|
var ho = document.getElementById("buttonContainer");
|
|
@@ -167813,14 +167813,14 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167813
167813
|
var Ws = document.getElementById("buttonTourPrior");
|
|
167814
167814
|
if (Ws) {
|
|
167815
167815
|
l.Utils.buttonSize(Ws, rn, Et);
|
|
167816
|
-
var
|
|
167817
|
-
|
|
167816
|
+
var As = Ws.style;
|
|
167817
|
+
As.left = en + "px", As.top = Zr + "px", en += Xt + 1;
|
|
167818
167818
|
}
|
|
167819
167819
|
var wl = document.getElementById("buttonTourNext");
|
|
167820
167820
|
if (wl) {
|
|
167821
167821
|
l.Utils.buttonSize(wl, rn, Et);
|
|
167822
|
-
var
|
|
167823
|
-
|
|
167822
|
+
var xs = wl.style;
|
|
167823
|
+
xs.left = en + "px", xs.top = Zr + "px", en += Xt + 1;
|
|
167824
167824
|
}
|
|
167825
167825
|
var Li = document.getElementById("buttonTourStop");
|
|
167826
167826
|
if (Li) {
|
|
@@ -167949,8 +167949,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167949
167949
|
"containerFor-checkboxSyncComparison"
|
|
167950
167950
|
), il = document.getElementById("checkboxSyncComparison");
|
|
167951
167951
|
if (ps && fu && il) {
|
|
167952
|
-
var
|
|
167953
|
-
|
|
167952
|
+
var Cs = ps.style;
|
|
167953
|
+
Cs.width = Ro + "px", Cs.height = Ic + "px", Cs.left = en + "px", Cs.top = Zr + Au + "px", Cs.visibility = "visible", l.Utils.setTextNodeStyle(
|
|
167954
167954
|
ps,
|
|
167955
167955
|
"black",
|
|
167956
167956
|
"verdana",
|
|
@@ -167997,9 +167997,9 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167997
167997
|
hn * Zo + Xt + Bt * 2 + Bt * Zo + Jr * Zo + be * Zo - 4 + ml
|
|
167998
167998
|
), ds = ce * 2 + Et + ta, Co = ds - Et - ce * 3.8, Fa = Dl - be - yt, os = ds - ce - Ft * 1.9, cl = be + 5, Hs = ds - ce - Ft - 1, fr = be;
|
|
167999
167999
|
Cn = ni + 2;
|
|
168000
|
-
var Po = document.getElementById("buttonImageFilterPanelShow"),
|
|
168001
|
-
if (
|
|
168002
|
-
var fs = parseFloat(Po.style.left), ho = parseFloat(Po.parentNode.style.left), eo =
|
|
168000
|
+
var Po = document.getElementById("buttonImageFilterPanelShow"), Is = document.getElementById("buttonContainerImageFilter"), Gs = document.getElementById("imageFilterList");
|
|
168001
|
+
if (Is && Po && Gs) {
|
|
168002
|
+
var fs = parseFloat(Po.style.left), ho = parseFloat(Po.parentNode.style.left), eo = Is.style;
|
|
168003
168003
|
eo.width = Dl + "px", eo.height = ds + "px", eo.left = fs + ho + Bt - Dl + "px", eo.top = -(ds + ce / 2) + "px";
|
|
168004
168004
|
var Go = document.getElementById("imageFilterPanelBackground");
|
|
168005
168005
|
if (Go) {
|
|
@@ -168624,8 +168624,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168624
168624
|
), Cn += Et));
|
|
168625
168625
|
var wl = document.getElementById("labelNormalizeTextBox");
|
|
168626
168626
|
Mr = document.getElementById("trackSliderFilterNormalize"), ln = document.getElementById("buttonSliderFilterNormalize");
|
|
168627
|
-
var
|
|
168628
|
-
wl && Mr && ln &&
|
|
168627
|
+
var xs = document.getElementById("textBoxFor-normalizeTextElement");
|
|
168628
|
+
wl && Mr && ln && xs && (Sf = wl.style, Qn = Mr.style, Kn = ln.style, Vh = xs.style, Sf && Qn && Kn && Vh && (Sf.width = hn + "px", Sf.height = en + "px", Sf.left = fr + "px", Sf.top = Cn - li + "px", Sf.visibility = "visible", l.Utils.setTextNodeStyle(
|
|
168629
168629
|
wl,
|
|
168630
168630
|
"black",
|
|
168631
168631
|
"verdana",
|
|
@@ -168639,7 +168639,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168639
168639
|
"left",
|
|
168640
168640
|
"none"
|
|
168641
168641
|
), Qn.display = "inline-block", Kn.display = "inline-block", l.Utils.graphicSize(Mr, Xt, qn), Qn.left = fr + hn + 3 + "px", Qn.top = Cn + "px", l.Utils.buttonSize(ln, br, Vn), Kn.left = parseFloat(Qn.left) + "px", Kn.top = Cn - 4 + "px", Vh.width = Nr + "px", Vh.height = Zr + "px", Vh.left = fr + hn + 3 + Ln + "px", Vh.top = Cn - 6 + "px", l.Utils.setTextAreaStyle(
|
|
168642
|
-
|
|
168642
|
+
xs,
|
|
168643
168643
|
"black",
|
|
168644
168644
|
"verdana",
|
|
168645
168645
|
Ge + "px",
|
|
@@ -168655,8 +168655,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168655
168655
|
), Cn += Et));
|
|
168656
168656
|
var Ws = document.getElementById("labelEqualizeTextBox");
|
|
168657
168657
|
IM = document.getElementById("trackSliderFilterEqualize"), EM = document.getElementById("buttonSliderFilterEqualize");
|
|
168658
|
-
var
|
|
168659
|
-
Ws && IM && EM &&
|
|
168658
|
+
var As = document.getElementById("textBoxFor-equalizeTextElement");
|
|
168659
|
+
Ws && IM && EM && As && (d2 = Ws.style, Cw = IM.style, nT = EM.style, xw = As.style, d2 && Cw && nT && xw && (d2.width = hn + "px", d2.height = en + "px", d2.left = fr + "px", d2.top = Cn - li + "px", d2.visibility = "visible", l.Utils.setTextNodeStyle(
|
|
168660
168660
|
Ws,
|
|
168661
168661
|
"black",
|
|
168662
168662
|
"verdana",
|
|
@@ -168670,7 +168670,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168670
168670
|
"left",
|
|
168671
168671
|
"none"
|
|
168672
168672
|
), Cw.display = "inline-block", nT.display = "inline-block", l.Utils.graphicSize(IM, Xt, qn), Cw.left = fr + hn + 3 + "px", Cw.top = Cn + "px", l.Utils.buttonSize(EM, br, Vn), nT.left = parseFloat(Cw.left) + "px", nT.top = Cn - 4 + "px", xw.width = Nr + "px", xw.height = Zr + "px", xw.left = fr + hn + 3 + Ln + "px", xw.top = Cn - 6 + "px", l.Utils.setTextAreaStyle(
|
|
168673
|
-
|
|
168673
|
+
As,
|
|
168674
168674
|
"black",
|
|
168675
168675
|
"verdana",
|
|
168676
168676
|
Ge + "px",
|
|
@@ -168686,8 +168686,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168686
168686
|
), Cn += Et));
|
|
168687
168687
|
var wl = document.getElementById("labelNoiseTextBox");
|
|
168688
168688
|
Mr = document.getElementById("trackSliderFilterNoise"), ln = document.getElementById("buttonSliderFilterNoise");
|
|
168689
|
-
var
|
|
168690
|
-
wl && Mr && ln &&
|
|
168689
|
+
var xs = document.getElementById("textBoxFor-noiseTextElement");
|
|
168690
|
+
wl && Mr && ln && xs && (Sf = wl.style, Qn = Mr.style, Kn = ln.style, Vh = xs.style, Sf && Qn && Kn && Vh && (Sf.width = hn + "px", Sf.height = en + "px", Sf.left = fr + "px", Sf.top = Cn - li + "px", Sf.visibility = "visible", l.Utils.setTextNodeStyle(
|
|
168691
168691
|
wl,
|
|
168692
168692
|
"black",
|
|
168693
168693
|
"verdana",
|
|
@@ -168701,7 +168701,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168701
168701
|
"left",
|
|
168702
168702
|
"none"
|
|
168703
168703
|
), Qn.display = "inline-block", Kn.display = "inline-block", l.Utils.graphicSize(Mr, Xt, qn), Qn.left = fr + hn + 3 + "px", Qn.top = Cn + "px", l.Utils.buttonSize(ln, br, Vn), Kn.left = parseFloat(Qn.left) + "px", Kn.top = Cn - 4 + "px", Vh.width = Nr + "px", Vh.height = Zr + "px", Vh.left = fr + hn + 3 + Ln + "px", Vh.top = Cn - 6 + "px", l.Utils.setTextAreaStyle(
|
|
168704
|
-
|
|
168704
|
+
xs,
|
|
168705
168705
|
"black",
|
|
168706
168706
|
"verdana",
|
|
168707
168707
|
Ge + "px",
|
|
@@ -168882,8 +168882,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168882
168882
|
var il = document.getElementById("imageFilterStateDivider3");
|
|
168883
168883
|
if (il) {
|
|
168884
168884
|
l.Utils.graphicSize(il, rn, Et);
|
|
168885
|
-
var
|
|
168886
|
-
|
|
168885
|
+
var Cs = il.style;
|
|
168886
|
+
Cs.left = fr + "px", Cs.top = Cn + "px", fr += Jr;
|
|
168887
168887
|
}
|
|
168888
168888
|
var Wl = document.getElementById("buttonImageFilterPanelHideOnPanel");
|
|
168889
168889
|
if (Wl) {
|