brainsmatics 1.0.67 → 1.0.69

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.
@@ -18569,8 +18569,8 @@ function tHe(t, e, n, r, i, a, o) {
18569
18569
  var y = Tl(function() {
18570
18570
  if (e && n && t) {
18571
18571
  let Ea = function(ai, va) {
18572
- var Qt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ne, _t = W.x + ai, bn = W.y + va, xt = _t + ye, un = bn + ee, cr = Math.max(_t, Qt.left), Kr = Math.max(bn, Qt.top), hr = Math.min(xt, Qt.right), Vr = Math.min(un, Qt.bottom);
18573
- return Math.max(0, (hr - cr) * (Vr - Kr));
18572
+ var Qt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ne, _t = W.x + ai, bn = W.y + va, xt = _t + ye, un = bn + ee, cr = Math.max(_t, Qt.left), Kr = Math.max(bn, Qt.top), hr = Math.min(xt, Qt.right), $r = Math.min(un, Qt.bottom);
18573
+ return Math.max(0, (hr - cr) * ($r - Kr));
18574
18574
  }, ii = function() {
18575
18575
  Rr = W.y + Xt, zn = Rr + ee, ar = W.x + Vt, Ge = ar + ye;
18576
18576
  };
@@ -18657,7 +18657,7 @@ function tHe(t, e, n, r, i, a, o) {
18657
18657
  typeof on == "number" && (ar < $e.left && (Vt -= ar - $e.left - ht, j.x + he < $e.left + on && (Vt += j.x - $e.left + he - on)), Ge > $e.right && (Vt -= Ge - $e.right - ht, j.x > $e.right - on && (Vt += j.x - $e.right + on)));
18658
18658
  var Xn = Kn === !0 ? 0 : Kn;
18659
18659
  typeof Xn == "number" && (Rr < $e.top && (Xt -= Rr - $e.top - dt, j.y + pe < $e.top + Xn && (Xt += j.y - $e.top + pe - Xn)), zn > $e.bottom && (Xt -= zn - $e.bottom - dt, j.y > $e.bottom - Xn && (Xt += j.y - $e.bottom + Xn)));
18660
- var wn = W.x + Vt, Sn = wn + ye, Pn = W.y + Xt, Jn = Pn + ee, Zr = j.x, wr = Zr + he, Hr = j.y, sr = Hr + pe, br = Math.max(wn, Zr), ei = Math.min(Sn, wr), tr = (br + ei) / 2, Nr = tr - wn, ji = Math.max(Pn, Hr), Zi = Math.min(Jn, sr), Ui = (ji + Zi) / 2, Yi = Ui - Pn;
18660
+ var wn = W.x + Vt, Sn = wn + ye, Pn = W.y + Xt, Jn = Pn + ee, Zr = j.x, wr = Zr + he, Vr = j.y, sr = Vr + pe, br = Math.max(wn, Zr), ei = Math.min(Sn, wr), tr = (br + ei) / 2, Nr = tr - wn, ji = Math.max(Pn, Vr), Zi = Math.min(Jn, sr), Ui = (ji + Zi) / 2, Yi = Ui - Pn;
18661
18661
  o == null || o(e, Ot);
18662
18662
  var $i = Ke.right - W.x - (Vt + W.width), xa = Ke.bottom - W.y - (Xt + W.height);
18663
18663
  ge === 1 && (Vt = Math.round(Vt), $i = Math.round($i)), ce === 1 && (Xt = Math.round(Xt), xa = Math.round(xa));
@@ -18785,15 +18785,15 @@ function aHe() {
18785
18785
  }, [hn]);
18786
18786
  var Rr = _.useState(null), zn = mt(Rr, 2), ar = zn[0], Ge = zn[1], Mt = _.useState([0, 0]), kt = mt(Mt, 2), Bt = kt[0], Ft = kt[1], Gt = function(Hn) {
18787
18787
  Ft([Hn.clientX, Hn.clientY]);
18788
- }, zt = tHe(hn, it, ne ? Bt : Et, F, z, V, q), qt = mt(zt, 11), Bn = qt[0], Ht = qt[1], Pt = qt[2], Jt = qt[3], Vn = qt[4], Mn = qt[5], Cr = qt[6], Mr = qt[7], Yn = qt[8], on = qt[9], Xn = qt[10], wn = Jze(Pe, c, u, d), Sn = mt(wn, 2), Pn = Sn[0], Jn = Sn[1], Zr = Pn.has("click"), wr = Jn.has("click") || Jn.has("contextMenu"), Hr = Tl(function() {
18788
+ }, zt = tHe(hn, it, ne ? Bt : Et, F, z, V, q), qt = mt(zt, 11), Bn = qt[0], Ht = qt[1], Pt = qt[2], Jt = qt[3], Vn = qt[4], Mn = qt[5], Cr = qt[6], Mr = qt[7], Yn = qt[8], on = qt[9], Xn = qt[10], wn = Jze(Pe, c, u, d), Sn = mt(wn, 2), Pn = Sn[0], Jn = Sn[1], Zr = Pn.has("click"), wr = Jn.has("click") || Jn.has("contextMenu"), Vr = Tl(function() {
18789
18789
  Kn || Xn();
18790
18790
  }), sr = function() {
18791
18791
  _n.current && ne && wr && yn(!1);
18792
18792
  };
18793
- nHe(hn, Et, it, Hr, sr), Uo(function() {
18794
- Hr();
18793
+ nHe(hn, Et, it, Vr, sr), Uo(function() {
18794
+ Vr();
18795
18795
  }, [Bt, F]), Uo(function() {
18796
- hn && !(z != null && z[F]) && Hr();
18796
+ hn && !(z != null && z[F]) && Vr();
18797
18797
  }, [JSON.stringify(V)]);
18798
18798
  var br = _.useMemo(function() {
18799
18799
  var kn = eHe(z, a, on, ne);
@@ -18803,7 +18803,7 @@ function aHe() {
18803
18803
  return {
18804
18804
  nativeElement: De.current,
18805
18805
  popupElement: He.current,
18806
- forceAlign: Hr
18806
+ forceAlign: Vr
18807
18807
  };
18808
18808
  });
18809
18809
  var ei = _.useState(0), tr = mt(ei, 2), Nr = tr[0], ji = tr[1], Zi = _.useState(0), Ui = mt(Zi, 2), Yi = Ui[0], $i = Ui[1], xa = function() {
@@ -18812,7 +18812,7 @@ function aHe() {
18812
18812
  ji(Hn.width), $i(Hn.height);
18813
18813
  }
18814
18814
  }, No = function() {
18815
- xa(), Hr();
18815
+ xa(), Vr();
18816
18816
  }, Ea = function(Hn) {
18817
18817
  fr(!1), Xn(), v == null || v(Hn);
18818
18818
  }, ii = function() {
@@ -18829,9 +18829,9 @@ function aHe() {
18829
18829
  Ct[kn] = function(Un) {
18830
18830
  var lr;
18831
18831
  sn == null || sn(Un), yn(Hn, dr);
18832
- for (var gr = arguments.length, $r = new Array(gr > 1 ? gr - 1 : 0), ti = 1; ti < gr; ti++)
18833
- $r[ti - 1] = arguments[ti];
18834
- (lr = Je[kn]) === null || lr === void 0 || lr.call.apply(lr, [Je, Un].concat($r));
18832
+ for (var gr = arguments.length, zr = new Array(gr > 1 ? gr - 1 : 0), ti = 1; ti < gr; ti++)
18833
+ zr[ti - 1] = arguments[ti];
18834
+ (lr = Je[kn]) === null || lr === void 0 || lr.call.apply(lr, [Je, Un].concat(zr));
18835
18835
  };
18836
18836
  }
18837
18837
  (Zr || wr) && (Ct.onClick = function(kn) {
@@ -18871,7 +18871,7 @@ function aHe() {
18871
18871
  var Kr = /* @__PURE__ */ _.cloneElement(nt, Ze(Ze({}, xt), un)), hr = {
18872
18872
  x: Mn,
18873
18873
  y: Cr
18874
- }, Vr = re ? Ze({}, re !== !0 ? re : {}) : null;
18874
+ }, $r = re ? Ze({}, re !== !0 ? re : {}) : null;
18875
18875
  return /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(af, {
18876
18876
  disabled: !hn,
18877
18877
  ref: ft,
@@ -18905,14 +18905,14 @@ function aHe() {
18905
18905
  autoDestroy: be,
18906
18906
  getPopupContainer: I,
18907
18907
  align: on,
18908
- arrow: Vr,
18908
+ arrow: $r,
18909
18909
  arrowPos: hr,
18910
18910
  ready: Bn,
18911
18911
  offsetX: Ht,
18912
18912
  offsetY: Pt,
18913
18913
  offsetR: Jt,
18914
18914
  offsetB: Vn,
18915
- onAlign: Hr,
18915
+ onAlign: Vr,
18916
18916
  stretch: Y,
18917
18917
  targetWidth: Nr / Mr,
18918
18918
  targetHeight: Yi / Yn
@@ -19270,7 +19270,7 @@ var fHe = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction
19270
19270
  }), fr("", !1, !1);
19271
19271
  }, Pn = yze(i, Sn, d, z, Y, m, Je, g), Jn = Pn.allowClear, Zr = Pn.clearIcon, wr = /* @__PURE__ */ _.createElement(W, {
19272
19272
  ref: dt
19273
- }), Hr = Qe(i, a, Me(Me(Me(Me(Me(Me(Me(Me(Me(Me({}, "".concat(i, "-focused"), De), "".concat(i, "-multiple"), $e), "".concat(i, "-single"), !$e), "".concat(i, "-allow-clear"), z), "".concat(i, "-show-arrow"), Xn), "".concat(i, "-disabled"), m), "".concat(i, "-loading"), x), "".concat(i, "-open"), $n), "".concat(i, "-customize-input"), Ct), "".concat(i, "-show-search"), Ne)), sr = /* @__PURE__ */ _.createElement(Xye, {
19273
+ }), Vr = Qe(i, a, Me(Me(Me(Me(Me(Me(Me(Me(Me(Me({}, "".concat(i, "-focused"), De), "".concat(i, "-multiple"), $e), "".concat(i, "-single"), !$e), "".concat(i, "-allow-clear"), z), "".concat(i, "-show-arrow"), Xn), "".concat(i, "-disabled"), m), "".concat(i, "-loading"), x), "".concat(i, "-open"), $n), "".concat(i, "-customize-input"), Ct), "".concat(i, "-show-search"), Ne)), sr = /* @__PURE__ */ _.createElement(Xye, {
19274
19274
  ref: He,
19275
19275
  disabled: m,
19276
19276
  prefixCls: i,
@@ -19324,7 +19324,7 @@ var fHe = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction
19324
19324
  onInputBlur: zt
19325
19325
  }))), br;
19326
19326
  return ze ? br = sr : br = /* @__PURE__ */ _.createElement("div", Fn({
19327
- className: Hr
19327
+ className: Vr
19328
19328
  }, we, {
19329
19329
  ref: it,
19330
19330
  onMouseDown: Jt,
@@ -25647,7 +25647,7 @@ var uWe = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "item
25647
25647
  }), wr = function(Nr, ji) {
25648
25648
  var Zi = ji ?? !nt.includes(Nr);
25649
25649
  Zr(Nr, Zi);
25650
- }, Hr = Fje(Or, Mn, st, Et, pt, qt, zt, Cr, wr, ue);
25650
+ }, Vr = Fje(Or, Mn, st, Et, pt, qt, zt, Cr, wr, ue);
25651
25651
  _.useEffect(function() {
25652
25652
  dt(!0);
25653
25653
  }, []);
@@ -25698,7 +25698,7 @@ var uWe = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "item
25698
25698
  onVisibleChange: function(Nr) {
25699
25699
  ar(Nr);
25700
25700
  },
25701
- onKeyDown: Hr
25701
+ onKeyDown: Vr
25702
25702
  }, Ke));
25703
25703
  return /* @__PURE__ */ _.createElement(PW.Provider, {
25704
25704
  value: sr
@@ -46914,7 +46914,7 @@ function hit(t, e) {
46914
46914
  return /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(_re, ii), ar === "top" && /* @__PURE__ */ _.createElement(i6, ii, zn));
46915
46915
  }, [ar, zn]), Zr = _.useCallback(function(ii) {
46916
46916
  return /* @__PURE__ */ _.createElement(i6, ii, zn);
46917
- }, [zn]), wr = j(["table"], "table"), Hr = _.useMemo(function() {
46917
+ }, [zn]), wr = j(["table"], "table"), Vr = _.useMemo(function() {
46918
46918
  return d || (rn ? Le === "max-content" ? "auto" : "fixed" : _n || yn || Ke.some(function(ii) {
46919
46919
  var ai = ii.ellipsis;
46920
46920
  return ai;
@@ -46960,7 +46960,7 @@ function hit(t, e) {
46960
46960
  className: Qe("".concat(r, "-body"))
46961
46961
  }, /* @__PURE__ */ _.createElement(wr, Fn({
46962
46962
  style: Ze(Ze({}, kt), {}, {
46963
- tableLayout: Hr
46963
+ tableLayout: Vr
46964
46964
  })
46965
46965
  }, Ui), ji, Nr, tr, !ar && zn && /* @__PURE__ */ _.createElement(i6, {
46966
46966
  stickyOffsets: Cn,
@@ -46998,7 +46998,7 @@ function hit(t, e) {
46998
46998
  ref: ht
46999
46999
  }, /* @__PURE__ */ _.createElement(wr, Fn({
47000
47000
  style: Ze(Ze({}, kt), {}, {
47001
- tableLayout: Hr
47001
+ tableLayout: Vr
47002
47002
  })
47003
47003
  }, Ui), ji, Nr, m !== !1 && /* @__PURE__ */ _.createElement(_re, Fn({}, br, it)), tr, zn && /* @__PURE__ */ _.createElement(i6, {
47004
47004
  stickyOffsets: Cn,
@@ -47037,7 +47037,7 @@ function hit(t, e) {
47037
47037
  fixColumn: rn,
47038
47038
  horizonScroll: $n,
47039
47039
  // Body
47040
- tableLayout: Hr,
47040
+ tableLayout: Vr,
47041
47041
  rowClassName: a,
47042
47042
  expandedRowClassName: ee.expandedRowClassName,
47043
47043
  expandIcon: he,
@@ -47082,7 +47082,7 @@ function hit(t, e) {
47082
47082
  rn,
47083
47083
  $n,
47084
47084
  // Body
47085
- Hr,
47085
+ Vr,
47086
47086
  a,
47087
47087
  ee.expandedRowClassName,
47088
47088
  he,
@@ -71110,7 +71110,7 @@ class VX {
71110
71110
  let Sn = on.currentProgram;
71111
71111
  wn === !0 && (Sn = Kn(Bt, Mt, Ft));
71112
71112
  let Pn = !1, Jn = !1, Zr = !1;
71113
- const wr = Sn.getUniforms(), Hr = on.uniforms;
71113
+ const wr = Sn.getUniforms(), Vr = on.uniforms;
71114
71114
  if (ue.useProgram(Sn.program) && (Pn = !0, Jn = !0, Zr = !0), Bt.id !== P && (P = Bt.id, Jn = !0), Pn || M !== Ge) {
71115
71115
  wr.setValue(te, "projectionMatrix", Ge.projectionMatrix), wr.setValue(te, "viewMatrix", Ge.matrixWorldInverse);
71116
71116
  const br = wr.map.cameraPosition;
@@ -71126,7 +71126,7 @@ class VX {
71126
71126
  br && (be.floatVertexTextures ? (br.boneTexture === null && br.computeBoneTexture(), wr.setValue(te, "boneTexture", br.boneTexture, $e), wr.setValue(te, "boneTextureSize", br.boneTextureSize)) : console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."));
71127
71127
  }
71128
71128
  const sr = kt.morphAttributes;
71129
- if ((sr.position !== void 0 || sr.normal !== void 0 || sr.color !== void 0 && be.isWebGL2 === !0) && Et.update(Ft, kt, Sn), (Jn || on.receiveShadow !== Ft.receiveShadow) && (on.receiveShadow = Ft.receiveShadow, wr.setValue(te, "receiveShadow", Ft.receiveShadow)), Bt.isMeshGouraudMaterial && Bt.envMap !== null && (Hr.envMap.value = Bn, Hr.flipEnvMap.value = Bn.isCubeTexture && Bn.isRenderTargetTexture === !1 ? -1 : 1), Jn && (wr.setValue(te, "toneMappingExposure", b.toneMappingExposure), on.needsLights && zn(Hr, Zr), Gt && Bt.fog === !0 && it.refreshFogUniforms(Hr, Gt), it.refreshMaterialUniforms(Hr, Bt, V, z, oe), rL.upload(te, on.uniformsList, Hr, $e)), Bt.isShaderMaterial && Bt.uniformsNeedUpdate === !0 && (rL.upload(te, on.uniformsList, Hr, $e), Bt.uniformsNeedUpdate = !1), Bt.isSpriteMaterial && wr.setValue(te, "center", Ft.center), wr.setValue(te, "modelViewMatrix", Ft.modelViewMatrix), wr.setValue(te, "normalMatrix", Ft.normalMatrix), wr.setValue(te, "modelMatrix", Ft.matrixWorld), Bt.isShaderMaterial || Bt.isRawShaderMaterial) {
71129
+ if ((sr.position !== void 0 || sr.normal !== void 0 || sr.color !== void 0 && be.isWebGL2 === !0) && Et.update(Ft, kt, Sn), (Jn || on.receiveShadow !== Ft.receiveShadow) && (on.receiveShadow = Ft.receiveShadow, wr.setValue(te, "receiveShadow", Ft.receiveShadow)), Bt.isMeshGouraudMaterial && Bt.envMap !== null && (Vr.envMap.value = Bn, Vr.flipEnvMap.value = Bn.isCubeTexture && Bn.isRenderTargetTexture === !1 ? -1 : 1), Jn && (wr.setValue(te, "toneMappingExposure", b.toneMappingExposure), on.needsLights && zn(Vr, Zr), Gt && Bt.fog === !0 && it.refreshFogUniforms(Vr, Gt), it.refreshMaterialUniforms(Vr, Bt, V, z, oe), rL.upload(te, on.uniformsList, Vr, $e)), Bt.isShaderMaterial && Bt.uniformsNeedUpdate === !0 && (rL.upload(te, on.uniformsList, Vr, $e), Bt.uniformsNeedUpdate = !1), Bt.isSpriteMaterial && wr.setValue(te, "center", Ft.center), wr.setValue(te, "modelViewMatrix", Ft.modelViewMatrix), wr.setValue(te, "normalMatrix", Ft.normalMatrix), wr.setValue(te, "modelMatrix", Ft.matrixWorld), Bt.isShaderMaterial || Bt.isRawShaderMaterial) {
71130
71130
  const br = Bt.uniformsGroups;
71131
71131
  for (let ei = 0, tr = br.length; ei < tr; ei++)
71132
71132
  if (be.isWebGL2) {
@@ -79363,8 +79363,8 @@ const qmt = (t) => {
79363
79363
  const bn = xu.up;
79364
79364
  let xt = new Te(E.x * 0.01 + oo.current, E.y * 0.01 + Za.current, E.z * 0.01 + Ka.current);
79365
79365
  const un = Nn.current.position.clone().sub(xt).normalize(), cr = bn.dot(un), Kr = Math.acos(cr), hr = new Te().crossVectors(bn, un).normalize();
79366
- let Vr = new yo().setFromAxisAngle(hr, Kr);
79367
- if (xu.rotation.set(0, 0, 0), xu.applyQuaternion(Vr), x != null && x.current && (x == null ? void 0 : x.current.length) > 0) {
79366
+ let $r = new yo().setFromAxisAngle(hr, Kr);
79367
+ if (xu.rotation.set(0, 0, 0), xu.applyQuaternion($r), x != null && x.current && (x == null ? void 0 : x.current.length) > 0) {
79368
79368
  const dr = [x.current[0].clone(), xu.position];
79369
79369
  sr(dr), Zi([on(dr[0]), on(dr[1])]);
79370
79370
  }
@@ -79387,14 +79387,14 @@ const qmt = (t) => {
79387
79387
  }
79388
79388
  };
79389
79389
  En(() => {
79390
- var Qt, _t, bn, xt, un, cr, Kr, hr, Vr, kn, Hn, dr, sn, Un, lr, gr, $r, ti, Jr, mi, Ya, Qi, ts, co, Ga, rt, gt, Ue, Fe, et, vt, at, ot, St, de, ve, Be, je, tt, ct, jt, Rt, fn, Nt, Zt, _r, Zn, Qn, Rn, ui, di, gn, nn, yi, Wr, Qr, Yo, Ca, ja, pi, ni, da, Ts, Oa, ns, Is, As, Ws, So, ro, nl, ys;
79390
+ var Qt, _t, bn, xt, un, cr, Kr, hr, $r, kn, Hn, dr, sn, Un, lr, gr, zr, ti, Jr, mi, Ya, Qi, ts, co, Ga, rt, gt, Ue, Fe, et, vt, at, ot, St, de, ve, Be, je, tt, ct, jt, Rt, fn, Nt, Zt, _r, Zn, Qn, Rn, ui, di, gn, nn, yi, Wr, Qr, Yo, Ca, ja, pi, ni, da, Ts, Oa, ns, Is, As, Ws, So, ro, nl, ys;
79391
79391
  if (ie) {
79392
79392
  const os = ["test_behind", "test_front", "test_left", "test_right", "test_bootom", "test_top"];
79393
79393
  for (let or of os) {
79394
79394
  let Eo = Ae.current.getObjectByName(or);
79395
79395
  Eo && Ae.current.remove(Eo);
79396
79396
  }
79397
- v && (v.current = []), (Qt = nt.current) != null && Qt.mouseLine_w && Ae.current.remove((_t = nt.current) == null ? void 0 : _t.mouseLine_w), (bn = nt.current) != null && bn.mouseLine_h && Ae.current.remove((xt = nt.current) == null ? void 0 : xt.mouseLine_h), typeof ((un = nt.current) == null ? void 0 : un.coordText) == "object" && Ae.current.remove(nt.current.coordText), typeof ((cr = nt.current) == null ? void 0 : cr.coordTextReverse) == "object" && Ae.current.remove(nt.current.coordTextReverse), (Kr = ft.current) != null && Kr.mouseLine_w && Ae.current.remove((hr = ft.current) == null ? void 0 : hr.mouseLine_w), (Vr = ft.current) != null && Vr.mouseLine_h && Ae.current.remove((kn = ft.current) == null ? void 0 : kn.mouseLine_h), typeof ((Hn = ft.current) == null ? void 0 : Hn.coordText) == "object" && Ae.current.remove(ft.current.coordText), typeof ((dr = ft.current) == null ? void 0 : dr.coordTextReverse) == "object" && Ae.current.remove(ft.current.coordTextReverse), (sn = Ct.current) != null && sn.mouseLine_w && Ae.current.remove((Un = Ct.current) == null ? void 0 : Un.mouseLine_w), (lr = Ct.current) != null && lr.mouseLine_h && Ae.current.remove((gr = Ct.current) == null ? void 0 : gr.mouseLine_h), typeof (($r = Ct.current) == null ? void 0 : $r.coordText) == "object" && Ae.current.remove(Ct.current.coordText), typeof ((ti = Ct.current) == null ? void 0 : ti.coordTextReverse) == "object" && Ae.current.remove(Ct.current.coordTextReverse), (Jr = Je.current) != null && Jr.mouseLine_w && Ae.current.remove((mi = Je.current) == null ? void 0 : mi.mouseLine_w), (Ya = Je.current) != null && Ya.mouseLine_h && Ae.current.remove((Qi = Je.current) == null ? void 0 : Qi.mouseLine_h), typeof ((ts = Je.current) == null ? void 0 : ts.coordText) == "object" && Ae.current.remove(Je.current.coordText), typeof ((co = Je.current) == null ? void 0 : co.coordTextReverse) == "object" && Ae.current.remove(Je.current.coordTextReverse), (Ga = De.current) != null && Ga.mouseLine_w && Ae.current.remove((rt = De.current) == null ? void 0 : rt.mouseLine_w), (gt = De.current) != null && gt.mouseLine_h && Ae.current.remove((Ue = De.current) == null ? void 0 : Ue.mouseLine_h), typeof ((Fe = De.current) == null ? void 0 : Fe.coordText_lb) == "object" && Ae.current.remove(De.current.coordText_lb), typeof ((et = De.current) == null ? void 0 : et.coordText_rb) == "object" && Ae.current.remove(De.current.coordText_rb), typeof ((vt = De.current) == null ? void 0 : vt.coordText_rf) == "object" && Ae.current.remove(De.current.coordText_rf), typeof ((at = De.current) == null ? void 0 : at.coordText_lf) == "object" && Ae.current.remove(De.current.coordText_lf), (ot = st.current) != null && ot.mouseLine_w && Ae.current.remove((St = st.current) == null ? void 0 : St.mouseLine_w), (de = st.current) != null && de.mouseLine_h && Ae.current.remove((ve = st.current) == null ? void 0 : ve.mouseLine_h), Bn();
79397
+ v && (v.current = []), (Qt = nt.current) != null && Qt.mouseLine_w && Ae.current.remove((_t = nt.current) == null ? void 0 : _t.mouseLine_w), (bn = nt.current) != null && bn.mouseLine_h && Ae.current.remove((xt = nt.current) == null ? void 0 : xt.mouseLine_h), typeof ((un = nt.current) == null ? void 0 : un.coordText) == "object" && Ae.current.remove(nt.current.coordText), typeof ((cr = nt.current) == null ? void 0 : cr.coordTextReverse) == "object" && Ae.current.remove(nt.current.coordTextReverse), (Kr = ft.current) != null && Kr.mouseLine_w && Ae.current.remove((hr = ft.current) == null ? void 0 : hr.mouseLine_w), ($r = ft.current) != null && $r.mouseLine_h && Ae.current.remove((kn = ft.current) == null ? void 0 : kn.mouseLine_h), typeof ((Hn = ft.current) == null ? void 0 : Hn.coordText) == "object" && Ae.current.remove(ft.current.coordText), typeof ((dr = ft.current) == null ? void 0 : dr.coordTextReverse) == "object" && Ae.current.remove(ft.current.coordTextReverse), (sn = Ct.current) != null && sn.mouseLine_w && Ae.current.remove((Un = Ct.current) == null ? void 0 : Un.mouseLine_w), (lr = Ct.current) != null && lr.mouseLine_h && Ae.current.remove((gr = Ct.current) == null ? void 0 : gr.mouseLine_h), typeof ((zr = Ct.current) == null ? void 0 : zr.coordText) == "object" && Ae.current.remove(Ct.current.coordText), typeof ((ti = Ct.current) == null ? void 0 : ti.coordTextReverse) == "object" && Ae.current.remove(Ct.current.coordTextReverse), (Jr = Je.current) != null && Jr.mouseLine_w && Ae.current.remove((mi = Je.current) == null ? void 0 : mi.mouseLine_w), (Ya = Je.current) != null && Ya.mouseLine_h && Ae.current.remove((Qi = Je.current) == null ? void 0 : Qi.mouseLine_h), typeof ((ts = Je.current) == null ? void 0 : ts.coordText) == "object" && Ae.current.remove(Je.current.coordText), typeof ((co = Je.current) == null ? void 0 : co.coordTextReverse) == "object" && Ae.current.remove(Je.current.coordTextReverse), (Ga = De.current) != null && Ga.mouseLine_w && Ae.current.remove((rt = De.current) == null ? void 0 : rt.mouseLine_w), (gt = De.current) != null && gt.mouseLine_h && Ae.current.remove((Ue = De.current) == null ? void 0 : Ue.mouseLine_h), typeof ((Fe = De.current) == null ? void 0 : Fe.coordText_lb) == "object" && Ae.current.remove(De.current.coordText_lb), typeof ((et = De.current) == null ? void 0 : et.coordText_rb) == "object" && Ae.current.remove(De.current.coordText_rb), typeof ((vt = De.current) == null ? void 0 : vt.coordText_rf) == "object" && Ae.current.remove(De.current.coordText_rf), typeof ((at = De.current) == null ? void 0 : at.coordText_lf) == "object" && Ae.current.remove(De.current.coordText_lf), (ot = st.current) != null && ot.mouseLine_w && Ae.current.remove((St = st.current) == null ? void 0 : St.mouseLine_w), (de = st.current) != null && de.mouseLine_h && Ae.current.remove((ve = st.current) == null ? void 0 : ve.mouseLine_h), Bn();
79398
79398
  } else {
79399
79399
  const os = ["test_behind", "test_front", "test_left", "test_right", "test_bootom", "test_top"];
79400
79400
  for (let or of os) {
@@ -79475,8 +79475,8 @@ const qmt = (t) => {
79475
79475
  const bn = xu.up, xt = Nn.current.position.clone().sub(Qt).normalize(), un = bn.dot(xt), cr = Math.acos(un), Kr = new Te().crossVectors(bn, xt).normalize();
79476
79476
  let hr = new yo().setFromAxisAngle(Kr, cr);
79477
79477
  xu.rotation.set(0, 0, 0), xu.applyQuaternion(hr);
79478
- let Vr = Ni.current.position.distanceTo(Qt);
79479
- Vr < 5 ? xu.scale.set(0.25, 0.25, 0.25) : Vr < 10 ? xu.scale.set(0.65, 0.65, 0.65) : xu.scale.set(1, 1, 1), Ae.current.getObjectByName("Brain") && new yo().setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), Ae.current.getObjectByName("sphereMiddelClick") || Ae.current.add(xu);
79478
+ let $r = Ni.current.position.distanceTo(Qt);
79479
+ $r < 5 ? xu.scale.set(0.25, 0.25, 0.25) : $r < 10 ? xu.scale.set(0.65, 0.65, 0.65) : xu.scale.set(1, 1, 1), Ae.current.getObjectByName("Brain") && new yo().setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), Ae.current.getObjectByName("sphereMiddelClick") || Ae.current.add(xu);
79480
79480
  }, Yn = (Qt) => {
79481
79481
  const _t = ze.current.find((bn) => bn.name === Qt);
79482
79482
  return _t || void 0;
@@ -79490,7 +79490,7 @@ const qmt = (t) => {
79490
79490
  let xt = Ni.current.position.distanceTo(Qt);
79491
79491
  xt < 5 ? hm.scale.set(0.25, 0.25, 0.25) : xt < 10 ? hm.scale.set(0.65, 0.65, 0.65) : hm.scale.set(1, 1, 1), wn(Qt, _t, "FBX");
79492
79492
  }, wn = (Qt, _t = "", bn, xt) => {
79493
- var dr, sn, Un, lr, gr, $r, ti, Jr, mi, Ya, Qi, ts, co, Ga, rt, gt, Ue, Fe, et, vt, at, ot, St, de;
79493
+ var dr, sn, Un, lr, gr, zr, ti, Jr, mi, Ya, Qi, ts, co, Ga, rt, gt, Ue, Fe, et, vt, at, ot, St, de;
79494
79494
  let un, cr = Qt.clone().applyEuler(Ae.current.rotation), Kr = Vt.current.clone().applyEuler(Ae.current.rotation);
79495
79495
  if (bn == "Point" || bn == "Point1") {
79496
79496
  let ve = Yn(_t), Be = new Te();
@@ -79543,12 +79543,12 @@ const qmt = (t) => {
79543
79543
  `);
79544
79544
  }
79545
79545
  Pe(un);
79546
- const hr = Ae.current.rotation, Vr = new Te(hr.x, hr.y, hr.z).negate(), kn = new ld(Vr.x, Vr.y, Vr.z), Hn = new Ii().makeRotationFromEuler(kn);
79547
- cr.z > -8 && cr.y > -5.57 && cr.x < 5.16 && cr.x > -5.18 && (st.current && (st.current.mouseLine_w.position.z = cr.z, st.current.mouseLine_w.position.x = 0, st.current.mouseLine_h.position.x = cr.x, st.current.mouseLine_h.position.z = 0, st.current.mouseLine_w.position.y = st.current.mouseLine_w.userData.initY, st.current.mouseLine_h.position.y = st.current.mouseLine_h.userData.initY, (dr = st.current) == null || dr.mouseLine_w.position.applyMatrix4(Hn), (sn = st.current) == null || sn.mouseLine_h.position.applyMatrix4(Hn), (Un = st.current) == null || Un.mouseLine_w.updateMatrix(), (lr = st.current) == null || lr.mouseLine_h.updateMatrix()), nt.current && (nt.current.mouseLine_w.position.y = cr.y, nt.current.mouseLine_w.position.x = 0, nt.current.mouseLine_h.position.x = cr.x, nt.current.mouseLine_h.position.y = 0, nt.current.mouseLine_w.position.z = nt.current.mouseLine_w.userData.initZ, nt.current.mouseLine_h.position.z = nt.current.mouseLine_h.userData.initZ, (gr = nt.current) == null || gr.mouseLine_w.position.applyMatrix4(Hn), ($r = nt.current) == null || $r.mouseLine_h.position.applyMatrix4(Hn), (ti = nt.current) == null || ti.mouseLine_w.updateMatrix(), (Jr = nt.current) == null || Jr.mouseLine_h.updateMatrix()), De.current && (De.current.mouseLine_w.position.z = cr.z, De.current.mouseLine_w.position.x = 0, De.current.mouseLine_h.position.x = cr.x, De.current.mouseLine_h.position.z = 0, De.current.mouseLine_w.position.y = De.current.mouseLine_w.userData.initY, De.current.mouseLine_h.position.y = De.current.mouseLine_h.userData.initY, (mi = De.current) == null || mi.mouseLine_w.position.applyMatrix4(Hn), (Ya = De.current) == null || Ya.mouseLine_h.position.applyMatrix4(Hn), (Qi = De.current) == null || Qi.mouseLine_w.updateMatrix(), (ts = De.current) == null || ts.mouseLine_h.updateMatrix()), Ct.current && (Ct.current.mouseLine_w.position.y = cr.y, Ct.current.mouseLine_w.position.z = 0, Ct.current.mouseLine_h.position.z = cr.z, Ct.current.mouseLine_h.position.y = 0, Ct.current.mouseLine_w.position.x = Ct.current.mouseLine_w.userData.initX, Ct.current.mouseLine_h.position.x = Ct.current.mouseLine_h.userData.initX, (co = Ct.current) == null || co.mouseLine_w.position.applyMatrix4(Hn), (Ga = Ct.current) == null || Ga.mouseLine_h.position.applyMatrix4(Hn), (rt = Ct.current) == null || rt.mouseLine_w.updateMatrix(), (gt = Ct.current) == null || gt.mouseLine_h.updateMatrix()), ft.current && (ft.current.mouseLine_w.position.y = cr.y, ft.current.mouseLine_w.position.x = 0, ft.current.mouseLine_h.position.x = cr.x, ft.current.mouseLine_h.position.y = 0, ft.current.mouseLine_w.position.z = ft.current.mouseLine_w.userData.initZ, ft.current.mouseLine_h.position.z = ft.current.mouseLine_h.userData.initZ, (Ue = ft.current) == null || Ue.mouseLine_w.position.applyMatrix4(Hn), (Fe = ft.current) == null || Fe.mouseLine_h.position.applyMatrix4(Hn), (et = ft.current) == null || et.mouseLine_w.updateMatrix(), (vt = ft.current) == null || vt.mouseLine_h.updateMatrix()), Je.current && (Je.current.mouseLine_w.position.y = cr.y, Je.current.mouseLine_w.position.z = 0, Je.current.mouseLine_h.position.z = cr.z, Je.current.mouseLine_h.position.y = 0, Je.current.mouseLine_w.position.x = Je.current.mouseLine_w.userData.initX, Je.current.mouseLine_h.position.x = Je.current.mouseLine_h.userData.initX, (at = Je.current) == null || at.mouseLine_w.position.applyMatrix4(Hn), (ot = Je.current) == null || ot.mouseLine_h.position.applyMatrix4(Hn), (St = Je.current) == null || St.mouseLine_w.updateMatrix(), (de = Je.current) == null || de.mouseLine_h.updateMatrix()));
79546
+ const hr = Ae.current.rotation, $r = new Te(hr.x, hr.y, hr.z).negate(), kn = new ld($r.x, $r.y, $r.z), Hn = new Ii().makeRotationFromEuler(kn);
79547
+ cr.z > -8 && cr.y > -5.57 && cr.x < 5.16 && cr.x > -5.18 && (st.current && (st.current.mouseLine_w.position.z = cr.z, st.current.mouseLine_w.position.x = 0, st.current.mouseLine_h.position.x = cr.x, st.current.mouseLine_h.position.z = 0, st.current.mouseLine_w.position.y = st.current.mouseLine_w.userData.initY, st.current.mouseLine_h.position.y = st.current.mouseLine_h.userData.initY, (dr = st.current) == null || dr.mouseLine_w.position.applyMatrix4(Hn), (sn = st.current) == null || sn.mouseLine_h.position.applyMatrix4(Hn), (Un = st.current) == null || Un.mouseLine_w.updateMatrix(), (lr = st.current) == null || lr.mouseLine_h.updateMatrix()), nt.current && (nt.current.mouseLine_w.position.y = cr.y, nt.current.mouseLine_w.position.x = 0, nt.current.mouseLine_h.position.x = cr.x, nt.current.mouseLine_h.position.y = 0, nt.current.mouseLine_w.position.z = nt.current.mouseLine_w.userData.initZ, nt.current.mouseLine_h.position.z = nt.current.mouseLine_h.userData.initZ, (gr = nt.current) == null || gr.mouseLine_w.position.applyMatrix4(Hn), (zr = nt.current) == null || zr.mouseLine_h.position.applyMatrix4(Hn), (ti = nt.current) == null || ti.mouseLine_w.updateMatrix(), (Jr = nt.current) == null || Jr.mouseLine_h.updateMatrix()), De.current && (De.current.mouseLine_w.position.z = cr.z, De.current.mouseLine_w.position.x = 0, De.current.mouseLine_h.position.x = cr.x, De.current.mouseLine_h.position.z = 0, De.current.mouseLine_w.position.y = De.current.mouseLine_w.userData.initY, De.current.mouseLine_h.position.y = De.current.mouseLine_h.userData.initY, (mi = De.current) == null || mi.mouseLine_w.position.applyMatrix4(Hn), (Ya = De.current) == null || Ya.mouseLine_h.position.applyMatrix4(Hn), (Qi = De.current) == null || Qi.mouseLine_w.updateMatrix(), (ts = De.current) == null || ts.mouseLine_h.updateMatrix()), Ct.current && (Ct.current.mouseLine_w.position.y = cr.y, Ct.current.mouseLine_w.position.z = 0, Ct.current.mouseLine_h.position.z = cr.z, Ct.current.mouseLine_h.position.y = 0, Ct.current.mouseLine_w.position.x = Ct.current.mouseLine_w.userData.initX, Ct.current.mouseLine_h.position.x = Ct.current.mouseLine_h.userData.initX, (co = Ct.current) == null || co.mouseLine_w.position.applyMatrix4(Hn), (Ga = Ct.current) == null || Ga.mouseLine_h.position.applyMatrix4(Hn), (rt = Ct.current) == null || rt.mouseLine_w.updateMatrix(), (gt = Ct.current) == null || gt.mouseLine_h.updateMatrix()), ft.current && (ft.current.mouseLine_w.position.y = cr.y, ft.current.mouseLine_w.position.x = 0, ft.current.mouseLine_h.position.x = cr.x, ft.current.mouseLine_h.position.y = 0, ft.current.mouseLine_w.position.z = ft.current.mouseLine_w.userData.initZ, ft.current.mouseLine_h.position.z = ft.current.mouseLine_h.userData.initZ, (Ue = ft.current) == null || Ue.mouseLine_w.position.applyMatrix4(Hn), (Fe = ft.current) == null || Fe.mouseLine_h.position.applyMatrix4(Hn), (et = ft.current) == null || et.mouseLine_w.updateMatrix(), (vt = ft.current) == null || vt.mouseLine_h.updateMatrix()), Je.current && (Je.current.mouseLine_w.position.y = cr.y, Je.current.mouseLine_w.position.z = 0, Je.current.mouseLine_h.position.z = cr.z, Je.current.mouseLine_h.position.y = 0, Je.current.mouseLine_w.position.x = Je.current.mouseLine_w.userData.initX, Je.current.mouseLine_h.position.x = Je.current.mouseLine_h.userData.initX, (at = Je.current) == null || at.mouseLine_w.position.applyMatrix4(Hn), (ot = Je.current) == null || ot.mouseLine_h.position.applyMatrix4(Hn), (St = Je.current) == null || St.mouseLine_w.updateMatrix(), (de = Je.current) == null || de.mouseLine_h.updateMatrix()));
79548
79548
  }, Sn = (Qt) => {
79549
79549
  e == null || e.domElement.removeEventListener("mousemove", F.current, !1), e == null || e.domElement.addEventListener("mouseup", Pn, !1);
79550
79550
  }, Pn = (Qt) => {
79551
- e == null || e.domElement.addEventListener("mousemove", F.current, !1), e == null || e.domElement.removeEventListener("mouseup", Pn, !1), Hr(), Jn();
79551
+ e == null || e.domElement.addEventListener("mousemove", F.current, !1), e == null || e.domElement.removeEventListener("mouseup", Pn, !1), Vr(), Jn();
79552
79552
  }, Jn = () => {
79553
79553
  for (let Qt in v.current)
79554
79554
  v.current[Qt].lookAt(Ni.current.position);
@@ -79568,32 +79568,32 @@ const qmt = (t) => {
79568
79568
  });
79569
79569
  let xt = new rr(_t, bn);
79570
79570
  return xt.castShadow = !0, xt;
79571
- }, wr = (Qt, _t, bn, xt, un, cr, Kr, hr, Vr) => {
79571
+ }, wr = (Qt, _t, bn, xt, un, cr, Kr, hr, $r) => {
79572
79572
  let kn = new Co();
79573
79573
  function Hn(Un) {
79574
79574
  return typeof Un == "number" && Un % 1 === 0;
79575
79575
  }
79576
- Vr = Vr == 0 ? Vr : 1, hr = hr || new Te(0, 0, 0);
79576
+ $r = $r == 0 ? $r : 1, hr = hr || new Te(0, 0, 0);
79577
79577
  let dr = Hn(un) ? xt / un : 0, sn = Hn(un) ? (Kr - cr) / un : 0;
79578
79578
  if (dr == 0 || sn == 0)
79579
79579
  return kn;
79580
- for (let Un = Vr; Un < un; Un++) {
79581
- let lr = (cr + Un * sn).toFixed(2), gr = bn.clone().multiplyScalar(dr * Un), $r = _t.clone().add(gr), ti = Zr(lr);
79582
- ti.position.set($r.x + hr.x, $r.y + hr.y, $r.z + hr.z), ti.up.set(Qt.x, Qt.y, Qt.z), ti.scale.set(0.2, 0.2, 0.25), ti.lookAt(Ni.current.position), kn.add(ti);
79580
+ for (let Un = $r; Un < un; Un++) {
79581
+ let lr = (cr + Un * sn).toFixed(2), gr = bn.clone().multiplyScalar(dr * Un), zr = _t.clone().add(gr), ti = Zr(lr);
79582
+ ti.position.set(zr.x + hr.x, zr.y + hr.y, zr.z + hr.z), ti.up.set(Qt.x, Qt.y, Qt.z), ti.scale.set(0.2, 0.2, 0.25), ti.lookAt(Ni.current.position), kn.add(ti);
79583
79583
  const Jr = Ae.current.rotation, mi = new Te(Jr.x, Jr.y, Jr.z).negate(), Ya = new ld(mi.x, mi.y, mi.z);
79584
79584
  kn.rotation.copy(Ya), v.current.push(ti);
79585
79585
  }
79586
79586
  return kn;
79587
- }, Hr = () => {
79588
- var kn, Hn, dr, sn, Un, lr, gr, $r, ti, Jr, mi, Ya, Qi, ts, co, Ga, rt, gt, Ue, Fe, et, vt, at, ot, St, de, ve, Be, je, tt, ct, jt, Rt, fn, Nt, Zt, _r, Zn, Qn, Rn, ui, di, gn, nn, yi, Wr, Qr, Yo, Ca, ja, pi, ni, da, Ts, Oa, ns, Is, As, Ws, So, ro, nl, ys, os, or, Eo, Ms, Ol, Xs, qa, Go, _o, Do, ko, hl, Pl, Fa, Bo, bs, ql, rl, Jl, Ql, ec, xs, bl, xl, zl, zc, hs, bc, qo, Ls, Os, Hc, fu, Pu, xc, il, hu, Cc, Ru, Bd, Gc, pu, sc, Nu, ps, tc, lc, Du, _a, Qu, jc, Rl, nc, al, Pi, pl, Wc, wc, Xc, vo, vu, ku, Zc, gu, Kc, Yc, ed, S, k, X, le, Ce, Ye, Dt, an, vn, er, Gr, Mi, ea, jo, uo, Zs, rs, Nl, Cl, mu, Uu, Sc, ol, cc, To, Ec, Dl, ss, yu, Ks, ls, uc, xf, Fu, kg, a0;
79589
- let Qt = n.current.target.clone().sub(Ni.current.position.clone()), _t, bn, xt, un = !1, cr = !1, Kr = !1, hr = !1, Vr = Ni.current.up.y <= 0;
79590
- Vr ? ((Hn = (kn = De.current) == null ? void 0 : kn.coordText_lb) == null || Hn.children.forEach((qc) => {
79587
+ }, Vr = () => {
79588
+ var kn, Hn, dr, sn, Un, lr, gr, zr, ti, Jr, mi, Ya, Qi, ts, co, Ga, rt, gt, Ue, Fe, et, vt, at, ot, St, de, ve, Be, je, tt, ct, jt, Rt, fn, Nt, Zt, _r, Zn, Qn, Rn, ui, di, gn, nn, yi, Wr, Qr, Yo, Ca, ja, pi, ni, da, Ts, Oa, ns, Is, As, Ws, So, ro, nl, ys, os, or, Eo, Ms, Ol, Xs, qa, Go, _o, Do, ko, hl, Pl, Fa, Bo, bs, ql, rl, Jl, Ql, ec, xs, bl, xl, zl, zc, hs, bc, qo, Ls, Os, Hc, fu, Pu, xc, il, hu, Cc, Ru, Bd, Gc, pu, sc, Nu, ps, tc, lc, Du, _a, Qu, jc, Rl, nc, al, Pi, pl, Wc, wc, Xc, vo, vu, ku, Zc, gu, Kc, Yc, ed, S, k, X, le, Ce, Ye, Dt, an, vn, er, Gr, Mi, ea, jo, uo, Zs, rs, Nl, Cl, mu, Uu, Sc, ol, cc, To, Ec, Dl, ss, yu, Ks, ls, uc, xf, Fu, kg, a0;
79589
+ let Qt = n.current.target.clone().sub(Ni.current.position.clone()), _t, bn, xt, un = !1, cr = !1, Kr = !1, hr = !1, $r = Ni.current.up.y <= 0;
79590
+ $r ? ((Hn = (kn = De.current) == null ? void 0 : kn.coordText_lb) == null || Hn.children.forEach((qc) => {
79591
79591
  qc.up.set(0, -1, 0);
79592
79592
  }), (sn = (dr = De.current) == null ? void 0 : dr.coordText_lf) == null || sn.children.forEach((qc) => {
79593
79593
  qc.up.set(0, -1, 0);
79594
79594
  }), (lr = (Un = De.current) == null ? void 0 : Un.coordText_rf) == null || lr.children.forEach((qc) => {
79595
79595
  qc.up.set(0, -1, 0);
79596
- }), ($r = (gr = De.current) == null ? void 0 : gr.coordText_rb) == null || $r.children.forEach((qc) => {
79596
+ }), (zr = (gr = De.current) == null ? void 0 : gr.coordText_rb) == null || zr.children.forEach((qc) => {
79597
79597
  qc.up.set(0, -1, 0);
79598
79598
  })) : ((Jr = (ti = De.current) == null ? void 0 : ti.coordText_lb) == null || Jr.children.forEach((qc) => {
79599
79599
  qc.up.set(0, 1, 0);
@@ -79603,7 +79603,7 @@ const qmt = (t) => {
79603
79603
  qc.up.set(0, 1, 0);
79604
79604
  }), (Ga = (co = De.current) == null ? void 0 : co.coordText_rb) == null || Ga.children.forEach((qc) => {
79605
79605
  qc.up.set(0, 1, 0);
79606
- })), _t = (rt = nt.current) == null ? void 0 : rt.normalVector, xt = nt, bn = _t && Qt.dot(_t), cr = !1, (gt = xt.current) != null && gt.coordMesh && Ae.current.remove((Ue = xt.current) == null ? void 0 : Ue.coordMesh), (Fe = xt.current) != null && Fe.mouseLine_w && Ae.current.remove((et = xt.current) == null ? void 0 : et.mouseLine_w), (vt = xt.current) != null && vt.mouseLine_h && Ae.current.remove((at = xt.current) == null ? void 0 : at.mouseLine_h), typeof ((ot = xt.current) == null ? void 0 : ot.coordText) == "object" && Ae.current.remove((St = xt.current) == null ? void 0 : St.coordText), typeof ((de = xt.current) == null ? void 0 : de.coordTextReverse) == "object" && Ae.current.remove((ve = xt.current) == null ? void 0 : ve.coordTextReverse), bn && bn >= 0 && (cr = !0, (Be = xt.current) != null && Be.coordMesh && Ae.current.add((je = xt.current) == null ? void 0 : je.coordMesh), (tt = xt.current) != null && tt.mouseLine_w && Ae.current.add((ct = xt.current) == null ? void 0 : ct.mouseLine_w), (jt = xt.current) != null && jt.mouseLine_h && Ae.current.add((Rt = xt.current) == null ? void 0 : Rt.mouseLine_h), Vr ? typeof ((fn = xt.current) == null ? void 0 : fn.coordText) == "object" && Ae.current.add((Nt = xt.current) == null ? void 0 : Nt.coordText) : typeof ((Zt = xt.current) == null ? void 0 : Zt.coordTextReverse) == "object" && Ae.current.add((_r = xt.current) == null ? void 0 : _r.coordTextReverse)), _t = (Zn = ft.current) == null ? void 0 : Zn.normalVector, xt = ft, bn = _t && Qt.dot(_t), un = !1, (Qn = xt.current) != null && Qn.coordMesh && Ae.current.remove((Rn = xt.current) == null ? void 0 : Rn.coordMesh), (ui = xt.current) != null && ui.mouseLine_w && Ae.current.remove((di = xt.current) == null ? void 0 : di.mouseLine_w), (gn = xt.current) != null && gn.mouseLine_h && Ae.current.remove((nn = xt.current) == null ? void 0 : nn.mouseLine_h), typeof ((yi = xt.current) == null ? void 0 : yi.coordText) == "object" && Ae.current.remove((Wr = xt.current) == null ? void 0 : Wr.coordText), typeof ((Qr = xt.current) == null ? void 0 : Qr.coordTextReverse) == "object" && Ae.current.remove((Yo = xt.current) == null ? void 0 : Yo.coordTextReverse), bn && bn >= 0 && (un = !0, (Ca = xt.current) != null && Ca.coordMesh && Ae.current.add((ja = xt.current) == null ? void 0 : ja.coordMesh), (pi = xt.current) != null && pi.mouseLine_w && Ae.current.add((ni = xt.current) == null ? void 0 : ni.mouseLine_w), (da = xt.current) != null && da.mouseLine_h && Ae.current.add((Ts = xt.current) == null ? void 0 : Ts.mouseLine_h), Vr ? typeof ((Oa = xt.current) == null ? void 0 : Oa.coordText) == "object" && Ae.current.add((ns = xt.current) == null ? void 0 : ns.coordText) : typeof ((Is = xt.current) == null ? void 0 : Is.coordTextReverse) == "object" && Ae.current.add((As = xt.current) == null ? void 0 : As.coordTextReverse)), _t = (Ws = Ct.current) == null ? void 0 : Ws.normalVector, xt = Ct, bn = _t && Qt.dot(_t), Kr = !1, (So = xt.current) != null && So.coordMesh && Ae.current.remove((ro = xt.current) == null ? void 0 : ro.coordMesh), (nl = xt.current) != null && nl.mouseLine_w && Ae.current.remove((ys = xt.current) == null ? void 0 : ys.mouseLine_w), (os = xt.current) != null && os.mouseLine_h && Ae.current.remove((or = xt.current) == null ? void 0 : or.mouseLine_h), typeof ((Eo = xt.current) == null ? void 0 : Eo.coordText) == "object" && Ae.current.remove((Ms = xt.current) == null ? void 0 : Ms.coordText), typeof ((Ol = xt.current) == null ? void 0 : Ol.coordTextReverse) == "object" && Ae.current.remove((Xs = xt.current) == null ? void 0 : Xs.coordTextReverse), bn && bn >= 0 && (Kr = !0, (qa = xt.current) != null && qa.coordMesh && Ae.current.add((Go = xt.current) == null ? void 0 : Go.coordMesh), (_o = xt.current) != null && _o.mouseLine_w && Ae.current.add((Do = xt.current) == null ? void 0 : Do.mouseLine_w), (ko = xt.current) != null && ko.mouseLine_h && Ae.current.add((hl = xt.current) == null ? void 0 : hl.mouseLine_h), Vr ? typeof ((Pl = xt.current) == null ? void 0 : Pl.coordText) == "object" && Ae.current.add((Fa = xt.current) == null ? void 0 : Fa.coordText) : typeof ((Bo = xt.current) == null ? void 0 : Bo.coordTextReverse) == "object" && Ae.current.add((bs = xt.current) == null ? void 0 : bs.coordTextReverse)), _t = (ql = Je.current) == null ? void 0 : ql.normalVector, xt = Je, bn = _t && Qt.dot(_t), hr = !1, (rl = xt.current) != null && rl.coordMesh && Ae.current.remove((Jl = xt.current) == null ? void 0 : Jl.coordMesh), (Ql = xt.current) != null && Ql.mouseLine_w && Ae.current.remove((ec = xt.current) == null ? void 0 : ec.mouseLine_w), (xs = xt.current) != null && xs.mouseLine_h && Ae.current.remove((bl = xt.current) == null ? void 0 : bl.mouseLine_h), typeof ((xl = xt.current) == null ? void 0 : xl.coordText) == "object" && Ae.current.remove((zl = xt.current) == null ? void 0 : zl.coordText), typeof ((zc = xt.current) == null ? void 0 : zc.coordTextReverse) == "object" && Ae.current.remove((hs = xt.current) == null ? void 0 : hs.coordTextReverse), bn && bn >= 0 && (hr = !0, (bc = xt.current) != null && bc.coordMesh && Ae.current.add((qo = xt.current) == null ? void 0 : qo.coordMesh), (Ls = xt.current) != null && Ls.mouseLine_w && Ae.current.add((Os = xt.current) == null ? void 0 : Os.mouseLine_w), (Hc = xt.current) != null && Hc.mouseLine_h && Ae.current.add((fu = xt.current) == null ? void 0 : fu.mouseLine_h), Vr ? typeof ((Pu = xt.current) == null ? void 0 : Pu.coordText) == "object" && Ae.current.add((xc = xt.current) == null ? void 0 : xc.coordText) : typeof ((il = xt.current) == null ? void 0 : il.coordTextReverse) == "object" && Ae.current.add((hu = xt.current) == null ? void 0 : hu.coordTextReverse)), _t = (Cc = De.current) == null ? void 0 : Cc.normalVector, xt = De, bn = _t && Qt.dot(_t), bn && bn >= 0 ? ((Ru = xt.current) != null && Ru.coordMesh && Ae.current.add((Bd = xt.current) == null ? void 0 : Bd.coordMesh), (Gc = xt.current) != null && Gc.mouseLine_w && Ae.current.add((pu = xt.current) == null ? void 0 : pu.mouseLine_w), (sc = xt.current) != null && sc.mouseLine_h && Ae.current.add((Nu = xt.current) == null ? void 0 : Nu.mouseLine_h), (ps = xt.current) != null && ps.coordText_lb && Ae.current.remove((tc = xt.current) == null ? void 0 : tc.coordText_lb), (lc = xt.current) != null && lc.coordText_rb && Ae.current.remove((Du = xt.current) == null ? void 0 : Du.coordText_rb), (_a = xt.current) != null && _a.coordText_lf && Ae.current.remove((Qu = xt.current) == null ? void 0 : Qu.coordText_lf), (jc = xt.current) != null && jc.coordText_rf && Ae.current.remove((Rl = xt.current) == null ? void 0 : Rl.coordText_rf), cr && Kr ? (nc = xt.current) != null && nc.coordText_lb && Ae.current.add((al = xt.current) == null ? void 0 : al.coordText_lb) : cr && hr ? (Pi = xt.current) != null && Pi.coordText_rb && Ae.current.add((pl = xt.current) == null ? void 0 : pl.coordText_rb) : un && hr ? (Wc = xt.current) != null && Wc.coordText_rf && Ae.current.add((wc = xt.current) == null ? void 0 : wc.coordText_rf) : un && Kr && (Xc = xt.current) != null && Xc.coordText_lf && Ae.current.add((vo = xt.current) == null ? void 0 : vo.coordText_lf)) : ((vu = xt.current) != null && vu.coordMesh && Ae.current.remove((ku = xt.current) == null ? void 0 : ku.coordMesh), (Zc = xt.current) != null && Zc.mouseLine_w && Ae.current.remove((gu = xt.current) == null ? void 0 : gu.mouseLine_w), (Kc = xt.current) != null && Kc.mouseLine_h && Ae.current.remove((Yc = xt.current) == null ? void 0 : Yc.mouseLine_h), (ed = xt.current) != null && ed.coordText_lb && Ae.current.remove((S = xt.current) == null ? void 0 : S.coordText_lb), (k = xt.current) != null && k.coordText_rb && Ae.current.remove((X = xt.current) == null ? void 0 : X.coordText_rb), (le = xt.current) != null && le.coordText_lf && Ae.current.remove((Ce = xt.current) == null ? void 0 : Ce.coordText_lf), (Ye = xt.current) != null && Ye.coordText_rf && Ae.current.remove((Dt = xt.current) == null ? void 0 : Dt.coordText_rf)), _t = (an = st.current) == null ? void 0 : an.normalVector, xt = st, bn = _t && Qt.dot(_t), bn && bn >= 0 ? ((vn = xt.current) != null && vn.coordMesh && Ae.current.add((er = xt.current) == null ? void 0 : er.coordMesh), (Gr = xt.current) != null && Gr.mouseLine_w && Ae.current.add((Mi = xt.current) == null ? void 0 : Mi.mouseLine_w), (ea = xt.current) != null && ea.mouseLine_h && Ae.current.add((jo = xt.current) == null ? void 0 : jo.mouseLine_h), (uo = De.current) != null && uo.coordText_lb && Ae.current.remove((Zs = De.current) == null ? void 0 : Zs.coordText_lb), (rs = De.current) != null && rs.coordText_rb && Ae.current.remove((Nl = De.current) == null ? void 0 : Nl.coordText_rb), (Cl = De.current) != null && Cl.coordText_lf && Ae.current.remove((mu = De.current) == null ? void 0 : mu.coordText_lf), (Uu = De.current) != null && Uu.coordText_rf && Ae.current.remove((Sc = De.current) == null ? void 0 : Sc.coordText_rf), cr && Kr ? (ol = De.current) != null && ol.coordText_lb && Ae.current.add((cc = De.current) == null ? void 0 : cc.coordText_lb) : cr && hr ? (To = De.current) != null && To.coordText_rb && Ae.current.add((Ec = De.current) == null ? void 0 : Ec.coordText_rb) : un && hr ? (Dl = De.current) != null && Dl.coordText_rf && Ae.current.add((ss = De.current) == null ? void 0 : ss.coordText_rf) : un && Kr && (yu = De.current) != null && yu.coordText_lf && Ae.current.add((Ks = De.current) == null ? void 0 : Ks.coordText_lf)) : ((ls = xt.current) != null && ls.coordMesh && Ae.current.remove((uc = xt.current) == null ? void 0 : uc.coordMesh), (xf = xt.current) != null && xf.mouseLine_w && Ae.current.remove((Fu = xt.current) == null ? void 0 : Fu.mouseLine_w), (kg = xt.current) != null && kg.mouseLine_h && Ae.current.remove((a0 = xt.current) == null ? void 0 : a0.mouseLine_h));
79606
+ })), _t = (rt = nt.current) == null ? void 0 : rt.normalVector, xt = nt, bn = _t && Qt.dot(_t), cr = !1, (gt = xt.current) != null && gt.coordMesh && Ae.current.remove((Ue = xt.current) == null ? void 0 : Ue.coordMesh), (Fe = xt.current) != null && Fe.mouseLine_w && Ae.current.remove((et = xt.current) == null ? void 0 : et.mouseLine_w), (vt = xt.current) != null && vt.mouseLine_h && Ae.current.remove((at = xt.current) == null ? void 0 : at.mouseLine_h), typeof ((ot = xt.current) == null ? void 0 : ot.coordText) == "object" && Ae.current.remove((St = xt.current) == null ? void 0 : St.coordText), typeof ((de = xt.current) == null ? void 0 : de.coordTextReverse) == "object" && Ae.current.remove((ve = xt.current) == null ? void 0 : ve.coordTextReverse), bn && bn >= 0 && (cr = !0, (Be = xt.current) != null && Be.coordMesh && Ae.current.add((je = xt.current) == null ? void 0 : je.coordMesh), (tt = xt.current) != null && tt.mouseLine_w && Ae.current.add((ct = xt.current) == null ? void 0 : ct.mouseLine_w), (jt = xt.current) != null && jt.mouseLine_h && Ae.current.add((Rt = xt.current) == null ? void 0 : Rt.mouseLine_h), $r ? typeof ((fn = xt.current) == null ? void 0 : fn.coordText) == "object" && Ae.current.add((Nt = xt.current) == null ? void 0 : Nt.coordText) : typeof ((Zt = xt.current) == null ? void 0 : Zt.coordTextReverse) == "object" && Ae.current.add((_r = xt.current) == null ? void 0 : _r.coordTextReverse)), _t = (Zn = ft.current) == null ? void 0 : Zn.normalVector, xt = ft, bn = _t && Qt.dot(_t), un = !1, (Qn = xt.current) != null && Qn.coordMesh && Ae.current.remove((Rn = xt.current) == null ? void 0 : Rn.coordMesh), (ui = xt.current) != null && ui.mouseLine_w && Ae.current.remove((di = xt.current) == null ? void 0 : di.mouseLine_w), (gn = xt.current) != null && gn.mouseLine_h && Ae.current.remove((nn = xt.current) == null ? void 0 : nn.mouseLine_h), typeof ((yi = xt.current) == null ? void 0 : yi.coordText) == "object" && Ae.current.remove((Wr = xt.current) == null ? void 0 : Wr.coordText), typeof ((Qr = xt.current) == null ? void 0 : Qr.coordTextReverse) == "object" && Ae.current.remove((Yo = xt.current) == null ? void 0 : Yo.coordTextReverse), bn && bn >= 0 && (un = !0, (Ca = xt.current) != null && Ca.coordMesh && Ae.current.add((ja = xt.current) == null ? void 0 : ja.coordMesh), (pi = xt.current) != null && pi.mouseLine_w && Ae.current.add((ni = xt.current) == null ? void 0 : ni.mouseLine_w), (da = xt.current) != null && da.mouseLine_h && Ae.current.add((Ts = xt.current) == null ? void 0 : Ts.mouseLine_h), $r ? typeof ((Oa = xt.current) == null ? void 0 : Oa.coordText) == "object" && Ae.current.add((ns = xt.current) == null ? void 0 : ns.coordText) : typeof ((Is = xt.current) == null ? void 0 : Is.coordTextReverse) == "object" && Ae.current.add((As = xt.current) == null ? void 0 : As.coordTextReverse)), _t = (Ws = Ct.current) == null ? void 0 : Ws.normalVector, xt = Ct, bn = _t && Qt.dot(_t), Kr = !1, (So = xt.current) != null && So.coordMesh && Ae.current.remove((ro = xt.current) == null ? void 0 : ro.coordMesh), (nl = xt.current) != null && nl.mouseLine_w && Ae.current.remove((ys = xt.current) == null ? void 0 : ys.mouseLine_w), (os = xt.current) != null && os.mouseLine_h && Ae.current.remove((or = xt.current) == null ? void 0 : or.mouseLine_h), typeof ((Eo = xt.current) == null ? void 0 : Eo.coordText) == "object" && Ae.current.remove((Ms = xt.current) == null ? void 0 : Ms.coordText), typeof ((Ol = xt.current) == null ? void 0 : Ol.coordTextReverse) == "object" && Ae.current.remove((Xs = xt.current) == null ? void 0 : Xs.coordTextReverse), bn && bn >= 0 && (Kr = !0, (qa = xt.current) != null && qa.coordMesh && Ae.current.add((Go = xt.current) == null ? void 0 : Go.coordMesh), (_o = xt.current) != null && _o.mouseLine_w && Ae.current.add((Do = xt.current) == null ? void 0 : Do.mouseLine_w), (ko = xt.current) != null && ko.mouseLine_h && Ae.current.add((hl = xt.current) == null ? void 0 : hl.mouseLine_h), $r ? typeof ((Pl = xt.current) == null ? void 0 : Pl.coordText) == "object" && Ae.current.add((Fa = xt.current) == null ? void 0 : Fa.coordText) : typeof ((Bo = xt.current) == null ? void 0 : Bo.coordTextReverse) == "object" && Ae.current.add((bs = xt.current) == null ? void 0 : bs.coordTextReverse)), _t = (ql = Je.current) == null ? void 0 : ql.normalVector, xt = Je, bn = _t && Qt.dot(_t), hr = !1, (rl = xt.current) != null && rl.coordMesh && Ae.current.remove((Jl = xt.current) == null ? void 0 : Jl.coordMesh), (Ql = xt.current) != null && Ql.mouseLine_w && Ae.current.remove((ec = xt.current) == null ? void 0 : ec.mouseLine_w), (xs = xt.current) != null && xs.mouseLine_h && Ae.current.remove((bl = xt.current) == null ? void 0 : bl.mouseLine_h), typeof ((xl = xt.current) == null ? void 0 : xl.coordText) == "object" && Ae.current.remove((zl = xt.current) == null ? void 0 : zl.coordText), typeof ((zc = xt.current) == null ? void 0 : zc.coordTextReverse) == "object" && Ae.current.remove((hs = xt.current) == null ? void 0 : hs.coordTextReverse), bn && bn >= 0 && (hr = !0, (bc = xt.current) != null && bc.coordMesh && Ae.current.add((qo = xt.current) == null ? void 0 : qo.coordMesh), (Ls = xt.current) != null && Ls.mouseLine_w && Ae.current.add((Os = xt.current) == null ? void 0 : Os.mouseLine_w), (Hc = xt.current) != null && Hc.mouseLine_h && Ae.current.add((fu = xt.current) == null ? void 0 : fu.mouseLine_h), $r ? typeof ((Pu = xt.current) == null ? void 0 : Pu.coordText) == "object" && Ae.current.add((xc = xt.current) == null ? void 0 : xc.coordText) : typeof ((il = xt.current) == null ? void 0 : il.coordTextReverse) == "object" && Ae.current.add((hu = xt.current) == null ? void 0 : hu.coordTextReverse)), _t = (Cc = De.current) == null ? void 0 : Cc.normalVector, xt = De, bn = _t && Qt.dot(_t), bn && bn >= 0 ? ((Ru = xt.current) != null && Ru.coordMesh && Ae.current.add((Bd = xt.current) == null ? void 0 : Bd.coordMesh), (Gc = xt.current) != null && Gc.mouseLine_w && Ae.current.add((pu = xt.current) == null ? void 0 : pu.mouseLine_w), (sc = xt.current) != null && sc.mouseLine_h && Ae.current.add((Nu = xt.current) == null ? void 0 : Nu.mouseLine_h), (ps = xt.current) != null && ps.coordText_lb && Ae.current.remove((tc = xt.current) == null ? void 0 : tc.coordText_lb), (lc = xt.current) != null && lc.coordText_rb && Ae.current.remove((Du = xt.current) == null ? void 0 : Du.coordText_rb), (_a = xt.current) != null && _a.coordText_lf && Ae.current.remove((Qu = xt.current) == null ? void 0 : Qu.coordText_lf), (jc = xt.current) != null && jc.coordText_rf && Ae.current.remove((Rl = xt.current) == null ? void 0 : Rl.coordText_rf), cr && Kr ? (nc = xt.current) != null && nc.coordText_lb && Ae.current.add((al = xt.current) == null ? void 0 : al.coordText_lb) : cr && hr ? (Pi = xt.current) != null && Pi.coordText_rb && Ae.current.add((pl = xt.current) == null ? void 0 : pl.coordText_rb) : un && hr ? (Wc = xt.current) != null && Wc.coordText_rf && Ae.current.add((wc = xt.current) == null ? void 0 : wc.coordText_rf) : un && Kr && (Xc = xt.current) != null && Xc.coordText_lf && Ae.current.add((vo = xt.current) == null ? void 0 : vo.coordText_lf)) : ((vu = xt.current) != null && vu.coordMesh && Ae.current.remove((ku = xt.current) == null ? void 0 : ku.coordMesh), (Zc = xt.current) != null && Zc.mouseLine_w && Ae.current.remove((gu = xt.current) == null ? void 0 : gu.mouseLine_w), (Kc = xt.current) != null && Kc.mouseLine_h && Ae.current.remove((Yc = xt.current) == null ? void 0 : Yc.mouseLine_h), (ed = xt.current) != null && ed.coordText_lb && Ae.current.remove((S = xt.current) == null ? void 0 : S.coordText_lb), (k = xt.current) != null && k.coordText_rb && Ae.current.remove((X = xt.current) == null ? void 0 : X.coordText_rb), (le = xt.current) != null && le.coordText_lf && Ae.current.remove((Ce = xt.current) == null ? void 0 : Ce.coordText_lf), (Ye = xt.current) != null && Ye.coordText_rf && Ae.current.remove((Dt = xt.current) == null ? void 0 : Dt.coordText_rf)), _t = (an = st.current) == null ? void 0 : an.normalVector, xt = st, bn = _t && Qt.dot(_t), bn && bn >= 0 ? ((vn = xt.current) != null && vn.coordMesh && Ae.current.add((er = xt.current) == null ? void 0 : er.coordMesh), (Gr = xt.current) != null && Gr.mouseLine_w && Ae.current.add((Mi = xt.current) == null ? void 0 : Mi.mouseLine_w), (ea = xt.current) != null && ea.mouseLine_h && Ae.current.add((jo = xt.current) == null ? void 0 : jo.mouseLine_h), (uo = De.current) != null && uo.coordText_lb && Ae.current.remove((Zs = De.current) == null ? void 0 : Zs.coordText_lb), (rs = De.current) != null && rs.coordText_rb && Ae.current.remove((Nl = De.current) == null ? void 0 : Nl.coordText_rb), (Cl = De.current) != null && Cl.coordText_lf && Ae.current.remove((mu = De.current) == null ? void 0 : mu.coordText_lf), (Uu = De.current) != null && Uu.coordText_rf && Ae.current.remove((Sc = De.current) == null ? void 0 : Sc.coordText_rf), cr && Kr ? (ol = De.current) != null && ol.coordText_lb && Ae.current.add((cc = De.current) == null ? void 0 : cc.coordText_lb) : cr && hr ? (To = De.current) != null && To.coordText_rb && Ae.current.add((Ec = De.current) == null ? void 0 : Ec.coordText_rb) : un && hr ? (Dl = De.current) != null && Dl.coordText_rf && Ae.current.add((ss = De.current) == null ? void 0 : ss.coordText_rf) : un && Kr && (yu = De.current) != null && yu.coordText_lf && Ae.current.add((Ks = De.current) == null ? void 0 : Ks.coordText_lf)) : ((ls = xt.current) != null && ls.coordMesh && Ae.current.remove((uc = xt.current) == null ? void 0 : uc.coordMesh), (xf = xt.current) != null && xf.mouseLine_w && Ae.current.remove((Fu = xt.current) == null ? void 0 : Fu.mouseLine_w), (kg = xt.current) != null && kg.mouseLine_h && Ae.current.remove((a0 = xt.current) == null ? void 0 : a0.mouseLine_h));
79607
79607
  }, sr = (Qt) => {
79608
79608
  g != null && g.current && Ae.current.remove(g.current);
79609
79609
  const _t = new na().setFromPoints(Qt), bn = new kf({ color: 255 }), xt = new ka(_t, bn);
@@ -79639,7 +79639,7 @@ const qmt = (t) => {
79639
79639
  const un = Ae.current.getObjectByName("dashedLine");
79640
79640
  un && Ae.current.remove(un), Ae.current.add(yn.current);
79641
79641
  }, tr = (Qt) => {
79642
- var Kr, hr, Vr, kn, Hn, dr;
79642
+ var Kr, hr, $r, kn, Hn, dr;
79643
79643
  if (Qt.preventDefault(), $n.current.x = Qt.offsetX / e.domElement.clientWidth * 2 - 1, $n.current.y = -(Qt.offsetY / e.domElement.clientHeight) * 2 + 1, te.current.setFromCamera($n.current, Ni.current), te.current.params.Points.threshold = 0.05, d != null && d.current)
79644
79644
  var _t = te.current.intersectObjects(Ae.current.children.filter((sn) => {
79645
79645
  const Un = sn instanceof fS;
@@ -79659,7 +79659,7 @@ const qmt = (t) => {
79659
79659
  sn.getSize(Un);
79660
79660
  const lr = new Te();
79661
79661
  sn.getCenter(lr);
79662
- const gr = new qs(Un.x, Un.y, Un.z), $r = new Od({ color: 65280, wireframe: !0 }), ti = new rr(gr, $r);
79662
+ const gr = new qs(Un.x, Un.y, Un.z), zr = new Od({ color: 65280, wireframe: !0 }), ti = new rr(gr, zr);
79663
79663
  if (ti.position.copy(lr), un = te.current.intersectObject(ti, !0), (b == null ? void 0 : b.current) == 2 && un.length > 0) {
79664
79664
  const Jr = un[0].point.clone().applyEuler(xt);
79665
79665
  let mi = lr.clone().sub(Jr);
@@ -79695,8 +79695,8 @@ const qmt = (t) => {
79695
79695
  });
79696
79696
  else if (rn.current.name === "lineNameMesh") {
79697
79697
  const lr = rn.current.userData.wholeName.split("-")[0], gr = rn.current.userData.wholeName.split("-")[1];
79698
- let $r = rn.current.userData.initColor;
79699
- rn.current.material.color.set($r), Ae.current.traverse((ti) => {
79698
+ let zr = rn.current.userData.initColor;
79699
+ rn.current.material.color.set(zr), Ae.current.traverse((ti) => {
79700
79700
  if (ti.name === `swcPointGroup${lr}`)
79701
79701
  for (let Jr in ti.children) {
79702
79702
  let mi = ti.children[Jr];
@@ -79729,10 +79729,10 @@ const qmt = (t) => {
79729
79729
  Un.name === "lineNameMesh" && Un.userData.wholeName === rn.current.name && Un.material.color.set("#ff0000");
79730
79730
  })), rn.current.name === "lineNameMesh") {
79731
79731
  let Un = rn.current.userData.name, lr = rn.current.userData.wholeName.split("-")[0], gr = rn.current.userData.wholeName.split("-")[1];
79732
- rn.current.material.color.set("#ff0000"), Ae.current.traverse(($r) => {
79733
- if ($r.name === `swcPointGroup${lr}`)
79734
- for (let ti in $r.children) {
79735
- let Jr = $r.children[ti];
79732
+ rn.current.material.color.set("#ff0000"), Ae.current.traverse((zr) => {
79733
+ if (zr.name === `swcPointGroup${lr}`)
79734
+ for (let ti in zr.children) {
79735
+ let Jr = zr.children[ti];
79736
79736
  Jr.name === `${lr}-${gr}` && Jr.myMeshType === "neuronSphere" && (Jr.material.uniforms.color.value = new hi("#ff0000"));
79737
79737
  }
79738
79738
  }), V(""), ne(""), Z(""), H(Un.replace("/", "_"));
@@ -79741,13 +79741,13 @@ const qmt = (t) => {
79741
79741
  ["CoronalView", "SagittalView", "HorizontalView", "arbitrarySlice"].includes(_t[sn].object.name) && (H(""), Z(""), ne(""));
79742
79742
  }
79743
79743
  if (Qt.type == "mousemove" && rn.current.name != "Syringeobjcleanergles") {
79744
- if (_t[sn].point = _t[sn].point.clone().applyEuler(xt), ((kn = (Vr = _t[sn].object) == null ? void 0 : Vr.geometry) == null ? void 0 : kn.type) == "SphereGeometry" && !["sphereMiddelClick", "sphereBig", "sectionSphere"].includes(_t[sn].object.name) && _t[sn].object.myMeshType !== "neuronSphere") {
79744
+ if (_t[sn].point = _t[sn].point.clone().applyEuler(xt), ((kn = ($r = _t[sn].object) == null ? void 0 : $r.geometry) == null ? void 0 : kn.type) == "SphereGeometry" && !["sphereMiddelClick", "sphereBig", "sectionSphere"].includes(_t[sn].object.name) && _t[sn].object.myMeshType !== "neuronSphere") {
79745
79745
  let Un = ((_t[sn].point.x - it.current.x) * $e.current).toFixed(2), lr = ((_t[sn].point.y - it.current.y) * Ne.current).toFixed(2), gr = -((_t[sn].point.z - it.current.z) * we.current).toFixed(2);
79746
- const $r = _t[sn].object.name;
79746
+ const zr = _t[sn].object.name;
79747
79747
  let ti = new Te();
79748
79748
  Lt.current.forEach((Jr, mi) => {
79749
- Jr.name == $r && (ti = Jr.position);
79750
- }), ti.x === 0 && ti.y === 0 && ti.z === 0 || (Kn.current = { point: new Te(parseFloat(Un), parseFloat(lr), gr), center: new Te(ti.x, ti.y, ti.z), name: $r }), _t[sn].object.userData.type == "points" ? wn(_t[sn].point, _t[sn].object.name, "Point1", _t[sn].object) : (wn(_t[sn].point, $r, "Point"), Rr($r), pn.current = !0, ar({ left: Qt.clientX, top: Qt.clientY }));
79749
+ Jr.name == zr && (ti = Jr.position);
79750
+ }), ti.x === 0 && ti.y === 0 && ti.z === 0 || (Kn.current = { point: new Te(parseFloat(Un), parseFloat(lr), gr), center: new Te(ti.x, ti.y, ti.z), name: zr }), _t[sn].object.userData.type == "points" ? wn(_t[sn].point, _t[sn].object.name, "Point1", _t[sn].object) : (wn(_t[sn].point, zr, "Point"), Rr(zr), pn.current = !0, ar({ left: Qt.clientX, top: Qt.clientY }));
79751
79751
  return;
79752
79752
  }
79753
79753
  rn.current.myMeshType == "FBX" && (_t[sn].object.parent.name == "Brain" || _t[sn].object.parent.name == "syrings" ? (H(""), ne(""), Z(""), V(""), Rr("")) : (wn(_t[sn].point, rn.current.name, "FBX"), ne(rn.current.name), V(""), Z(""), ar({ left: Qt.clientX, top: Qt.clientY }))), rn.current.myMeshType == "SWC" && wn(_t[sn].point, rn.current.name, "SWC"), rn.current.myMeshType == "Vessel" && wn(_t[sn].point, rn.current.name, "Vessel"), _t[sn].object.type == "Points" && wn(_t[sn].point, _t[sn].object.name, "Points"), y && y.current && m && x && _t[sn].object.name != "lineName" && (x.current.length == 2 ? M.current || (m.current.pop(), m.current.push(on(_t[sn].point)), x.current.pop(), x.current.push(_t[sn].point), D.current && (Xn(_t[sn].point), ei(x.current))) : x.current.length == 0 ? Or != null && Or.current && (M.current || Xn(_t[sn].point)) : (m.current.push(on(_t[sn].point)), x.current.push(_t[sn].point), M.current || D.current && (Xn(_t[sn].point), ei(x.current)))), pn.current = !1, _t[sn].object.material.type == "MeshPhongMaterial" && Rr("");
@@ -79795,9 +79795,9 @@ const qmt = (t) => {
79795
79795
  else if (rn.current.name === "lineNameMesh") {
79796
79796
  const Un = rn.current.userData.wholeName.split("-")[0], lr = rn.current.userData.wholeName.split("-")[1];
79797
79797
  let gr = rn.current.userData.initColor;
79798
- rn.current.material.color.set(gr), Ae.current.traverse(($r) => {
79799
- for (let ti in $r.children) {
79800
- let Jr = $r.children[ti];
79798
+ rn.current.material.color.set(gr), Ae.current.traverse((zr) => {
79799
+ for (let ti in zr.children) {
79800
+ let Jr = zr.children[ti];
79801
79801
  Jr.name === `${Un}-${lr}` && Jr.myMeshType === "neuronSphere" && (Jr.material.uniforms.color.value = new hi(Jr.userData.color));
79802
79802
  }
79803
79803
  });
@@ -79829,20 +79829,20 @@ const qmt = (t) => {
79829
79829
  }
79830
79830
  };
79831
79831
  En(() => {
79832
- var Qt, _t, bn, xt, un, cr, Kr, hr, Vr, kn, Hn, dr;
79832
+ var Qt, _t, bn, xt, un, cr, Kr, hr, $r, kn, Hn, dr;
79833
79833
  if (nt.current && De.current && Ct.current && Je.current && ft.current && At) {
79834
79834
  let sn = new Te(0, -1, 0), Un = new Te(0, 1, 0);
79835
- typeof ((Qt = nt.current) == null ? void 0 : Qt.coordText) == "object" && Ae.current.remove(nt.current.coordText), typeof ((_t = nt.current) == null ? void 0 : _t.coordTextReverse) == "object" && Ae.current.remove(nt.current.coordTextReverse), typeof ((bn = ft.current) == null ? void 0 : bn.coordText) == "object" && Ae.current.remove(ft.current.coordText), typeof ((xt = ft.current) == null ? void 0 : xt.coordTextReverse) == "object" && Ae.current.remove(ft.current.coordTextReverse), typeof ((un = Ct.current) == null ? void 0 : un.coordText) == "object" && Ae.current.remove(Ct.current.coordText), typeof ((cr = Ct.current) == null ? void 0 : cr.coordTextReverse) == "object" && Ae.current.remove(Ct.current.coordTextReverse), typeof ((Kr = Je.current) == null ? void 0 : Kr.coordText) == "object" && Ae.current.remove(Je.current.coordText), typeof ((hr = De.current) == null ? void 0 : hr.coordText_lb) == "object" && Ae.current.remove(De.current.coordText_lb), typeof ((Vr = De.current) == null ? void 0 : Vr.coordText_rb) == "object" && Ae.current.remove(De.current.coordText_rb), typeof ((kn = De.current) == null ? void 0 : kn.coordText_rf) == "object" && Ae.current.remove(De.current.coordText_rf), typeof ((Hn = De.current) == null ? void 0 : Hn.coordText_lf) == "object" && Ae.current.remove(De.current.coordText_lf), typeof ((dr = Je.current) == null ? void 0 : dr.coordTextReverse) == "object" && Ae.current.remove(Je.current.coordTextReverse);
79835
+ typeof ((Qt = nt.current) == null ? void 0 : Qt.coordText) == "object" && Ae.current.remove(nt.current.coordText), typeof ((_t = nt.current) == null ? void 0 : _t.coordTextReverse) == "object" && Ae.current.remove(nt.current.coordTextReverse), typeof ((bn = ft.current) == null ? void 0 : bn.coordText) == "object" && Ae.current.remove(ft.current.coordText), typeof ((xt = ft.current) == null ? void 0 : xt.coordTextReverse) == "object" && Ae.current.remove(ft.current.coordTextReverse), typeof ((un = Ct.current) == null ? void 0 : un.coordText) == "object" && Ae.current.remove(Ct.current.coordText), typeof ((cr = Ct.current) == null ? void 0 : cr.coordTextReverse) == "object" && Ae.current.remove(Ct.current.coordTextReverse), typeof ((Kr = Je.current) == null ? void 0 : Kr.coordText) == "object" && Ae.current.remove(Je.current.coordText), typeof ((hr = De.current) == null ? void 0 : hr.coordText_lb) == "object" && Ae.current.remove(De.current.coordText_lb), typeof (($r = De.current) == null ? void 0 : $r.coordText_rb) == "object" && Ae.current.remove(De.current.coordText_rb), typeof ((kn = De.current) == null ? void 0 : kn.coordText_rf) == "object" && Ae.current.remove(De.current.coordText_rf), typeof ((Hn = De.current) == null ? void 0 : Hn.coordText_lf) == "object" && Ae.current.remove(De.current.coordText_lf), typeof ((dr = Je.current) == null ? void 0 : dr.coordTextReverse) == "object" && Ae.current.remove(Je.current.coordTextReverse);
79836
79836
  let lr = new Te(Re.current.x, Re.current.y, He.current.z), gr = new Te(1, 0, 0);
79837
- nt.current.coordText = wr(sn, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr.y = He.current.y, nt.current.coordTextReverse = wr(Un, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, Re.current.z), gr = new Te(1, 0, 0), ft.current.coordText = wr(sn, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr.y = He.current.y, ft.current.coordTextReverse = wr(Un, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, He.current.z), gr = new Te(0, 0, -1), Ct.current.coordText = wr(sn, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr.y = He.current.y, Ct.current.coordTextReverse = wr(Un, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr = new Te(He.current.x, Re.current.y, He.current.z), gr = new Te(0, 0, -1), Je.current.coordText = wr(sn, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr.y = He.current.y, Je.current.coordTextReverse = wr(Un, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr = new Te(He.current.x, Re.current.y, He.current.z), gr = new Te(0, 1, 0), De.current.coordText_lb = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, He.current.z), gr = new Te(0, 1, 0), De.current.coordText_lf = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, Re.current.z), gr = new Te(0, 1, 0), De.current.coordText_rf = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), lr = new Te(He.current.x, Re.current.y, Re.current.z), gr = new Te(0, 1, 0), De.current.coordText_rb = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), Hr();
79837
+ nt.current.coordText = wr(sn, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr.y = He.current.y, nt.current.coordTextReverse = wr(Un, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, Re.current.z), gr = new Te(1, 0, 0), ft.current.coordText = wr(sn, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr.y = He.current.y, ft.current.coordTextReverse = wr(Un, lr, gr, He.current.x - Re.current.x, 12, -(6 + At.x), -(At.x - 6), new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, He.current.z), gr = new Te(0, 0, -1), Ct.current.coordText = wr(sn, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr.y = He.current.y, Ct.current.coordTextReverse = wr(Un, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr = new Te(He.current.x, Re.current.y, He.current.z), gr = new Te(0, 0, -1), Je.current.coordText = wr(sn, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr.y = He.current.y, Je.current.coordTextReverse = wr(Un, lr, gr, He.current.z - Re.current.z, 14, -(8 + At.z), -(At.z - 6), new Te(0, 0, 0)), lr = new Te(He.current.x, Re.current.y, He.current.z), gr = new Te(0, 1, 0), De.current.coordText_lb = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, He.current.z), gr = new Te(0, 1, 0), De.current.coordText_lf = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), lr = new Te(Re.current.x, Re.current.y, Re.current.z), gr = new Te(0, 1, 0), De.current.coordText_rf = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), lr = new Te(He.current.x, Re.current.y, Re.current.z), gr = new Te(0, 1, 0), De.current.coordText_rb = wr(sn, lr, gr, He.current.y - Re.current.y, 10, -At.y, 10 - At.y, new Te(0, 0, 0)), Vr();
79838
79838
  }
79839
79839
  P && (P.current = Jt(Vt.current));
79840
79840
  }, [At]);
79841
79841
  const Zi = (Qt) => {
79842
79842
  var _t = Qt[0].x - Qt[1].x, bn = Qt[0].y - Qt[1].y, xt = Qt[0].z - Qt[1].z, un = Math.sqrt(_t * _t + bn * bn + xt * xt);
79843
79843
  _t = Math.abs(_t / un), bn = Math.abs(bn / un), xt = Math.abs(xt / un), _t = Math.acos(_t) * 180 / Math.PI, bn = Math.acos(bn) * 180 / Math.PI, xt = Math.acos(xt) * 180 / Math.PI;
79844
- var cr = he == "en_us" && he ? "Target site (unit: mm): " : "项目 (unit: mm): ", Kr = he == "en_us" && he ? "The angle of injection (unit:°):" : "注射方向的角度 (unit:°):", hr = he == "en_us" && he ? "Injection site (unit: mm):" : "注射部位 (unit: mm):", Vr = `<span style='font-weight:bold'> ${Kr}<br/></span>coronal plane ${xt.toFixed(2)} / horizontal plane ${bn.toFixed(2)} / sagittal plane ${_t.toFixed(2)}`, kn = `<span style='font-weight:bold'>${cr}</span><br>X: ${Qt[0].x.toFixed(2)} / Y: ${Qt[0].y.toFixed(2)} / Z: ${Qt[0].z.toFixed(2)}<br><span style='font-weight:bold'>${hr}: </span><br>X: ${Qt[1].x.toFixed(2)} / Y: ${Qt[1].y.toFixed(2)} / Z: ${Qt[1].z.toFixed(2)}`;
79845
- c != null && c.current && (c.current = Vr), u != null && u.current && (u.current = kn);
79844
+ var cr = he == "en_us" && he ? "Target site (unit: mm): " : "项目 (unit: mm): ", Kr = he == "en_us" && he ? "The angle of injection (unit:°):" : "注射方向的角度 (unit:°):", hr = he == "en_us" && he ? "Injection site (unit: mm):" : "注射部位 (unit: mm):", $r = `<span style='font-weight:bold'> ${Kr}<br/></span>coronal plane ${xt.toFixed(2)} / horizontal plane ${bn.toFixed(2)} / sagittal plane ${_t.toFixed(2)}`, kn = `<span style='font-weight:bold'>${cr}</span><br>X: ${Qt[0].x.toFixed(2)} / Y: ${Qt[0].y.toFixed(2)} / Z: ${Qt[0].z.toFixed(2)}<br><span style='font-weight:bold'>${hr}: </span><br>X: ${Qt[1].x.toFixed(2)} / Y: ${Qt[1].y.toFixed(2)} / Z: ${Qt[1].z.toFixed(2)}`;
79845
+ c != null && c.current && (c.current = $r), u != null && u.current && (u.current = kn);
79846
79846
  }, Ui = (Qt, _t, bn, xt) => {
79847
79847
  var un = document.createElement("canvas");
79848
79848
  un.width = Qt, un.height = _t, un.style.border = "1px solid #000";
@@ -79858,14 +79858,14 @@ const qmt = (t) => {
79858
79858
  }, $i = () => {
79859
79859
  st.current = xa(1, { x: (Re.current.x + He.current.x) / 2, y: Re.current.y, z: (Re.current.z + He.current.z) / 2 }, He.current.x - Re.current.x, He.current.z - Re.current.z, 12, 14, "#E3E3E3", "test_top"), st.current.normalVector = new Te(0, -1, 0), st.current.mouseLine_w.name = "test_top_mouseLine_w", st.current.mouseLine_h.name = "test_top_mouseLine_h", De.current = xa(1, { x: (Re.current.x + He.current.x) / 2, y: He.current.y, z: (Re.current.z + He.current.z) / 2 }, He.current.x - Re.current.x, He.current.z - Re.current.z, 12, 14, "#E3E3E3", "test_bootom"), De.current.normalVector = new Te(0, 1, 0), De.current.mouseLine_w.name = "test_bottom_mouseLine_w", De.current.mouseLine_h.name = "test_bottom_mouseLine_h", ft.current = xa(2, { x: (Re.current.x + He.current.x) / 2, y: (Re.current.y + He.current.y) / 2, z: Re.current.z }, He.current.x - Re.current.x, He.current.y - Re.current.y, 12, 10, "#E3E3E3", "test_front"), ft.current.normalVector = new Te(0, 0, -1), ft.current.mouseLine_w.name = "test_front_mouseLine_w", ft.current.mouseLine_h.name = "test_front_mouseLine_h", nt.current = xa(2, { x: (Re.current.x + He.current.x) / 2, y: (Re.current.y + He.current.y) / 2, z: He.current.z }, He.current.x - Re.current.x, He.current.y - Re.current.y, 12, 10, "#E3E3E3", "test_behind"), nt.current.normalVector = new Te(0, 0, 1), nt.current.mouseLine_w.name = "test_behind_mouseLine_w", nt.current.mouseLine_h.name = "test_behind_mouseLine_h", Ct.current = xa(3, { x: Re.current.x, y: (Re.current.y + He.current.y) / 2, z: (Re.current.z + He.current.z) / 2 }, He.current.z - Re.current.z, He.current.y - Re.current.y, 14, 10, "#E3E3E3", "test_left"), Ct.current.normalVector = new Te(-1, 0, 0), Ct.current.mouseLine_w.name = "test_left_mouseLine_w", Ct.current.mouseLine_h.name = "test_left_mouseLine_h", Je.current = xa(3, { x: He.current.x, y: (Re.current.y + He.current.y) / 2, z: (Re.current.z + He.current.z) / 2 }, He.current.z - Re.current.z, He.current.y - Re.current.y, 14, 10, "#E3E3E3", "test_right"), Je.current.normalVector = new Te(1, 0, 0), Je.current.mouseLine_w.name = "test_right_mouseLine_w", Je.current.mouseLine_h.name = "test_right_mouseLine_h", hm = new rr(new Cu(0.1, 32, 32), new Bl({ color: 392960, transparent: !0 })), hm.name = "sphereBig", Cn.current = new rr(new Cu(0.065, 32, 32), new Bl({ color: 392960, transparent: !0 })), _n.current = new rr(new Cu(0.025, 32, 32), new Bl({ color: 392960, transparent: !0 })), Ae.current.getObjectByName("sphereMiddelClick") || (xu = new rr(new sP(0.1, 0.3, 32), new Bl({ color: 1609983, transparent: !0 })), xu.name = "sphereMiddelClick"), nt.current && (nt.current.coordMesh.visible = ee, nt.current.mouseLine_w.visible = ee, nt.current.mouseLine_h.visible = ee), st.current && (st.current.coordMesh.visible = ee, st.current.mouseLine_w.visible = ee, st.current.mouseLine_h.visible = ee), ft.current && (ft.current.coordMesh.visible = ee, ft.current.mouseLine_w.visible = ee, ft.current.mouseLine_h.visible = ee), De.current && (De.current.coordMesh.visible = ee, De.current.mouseLine_w.visible = ee, De.current.mouseLine_h.visible = ee), Ct.current && (Ct.current.coordMesh.visible = ee, Ct.current.mouseLine_w.visible = ee, Ct.current.mouseLine_h.visible = ee), Je.current && (Je.current.coordMesh.visible = ee, Je.current.mouseLine_w.visible = ee, Je.current.mouseLine_h.visible = ee);
79860
79860
  let _t = new Te(0, -1, 0), bn = new Te(0, 1, 0), xt = new Te(Re.current.x, Re.current.y, He.current.z), un = new Te(1, 0, 0);
79861
- nt.current.coordText = wr(_t, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt.y = He.current.y, nt.current.coordTextReverse = wr(bn, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, Re.current.z), un = new Te(1, 0, 0), ft.current.coordText = wr(_t, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt.y = He.current.y, ft.current.coordTextReverse = wr(bn, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, He.current.z), un = new Te(0, 0, -1), Ct.current.coordText = wr(_t, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt.y = He.current.y, Ct.current.coordTextReverse = wr(bn, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt = new Te(He.current.x, Re.current.y, He.current.z), un = new Te(0, 0, -1), Je.current.coordText = wr(_t, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt.y = He.current.y, Je.current.coordTextReverse = wr(bn, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt = new Te(He.current.x, Re.current.y, He.current.z), un = new Te(0, 1, 0), De.current.coordText_lb = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, He.current.z), un = new Te(0, 1, 0), De.current.coordText_lf = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, Re.current.z), un = new Te(0, 1, 0), De.current.coordText_rf = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), xt = new Te(He.current.x, Re.current.y, Re.current.z), un = new Te(0, 1, 0), De.current.coordText_rb = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), Hr();
79861
+ nt.current.coordText = wr(_t, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt.y = He.current.y, nt.current.coordTextReverse = wr(bn, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, Re.current.z), un = new Te(1, 0, 0), ft.current.coordText = wr(_t, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt.y = He.current.y, ft.current.coordTextReverse = wr(bn, xt, un, He.current.x - Re.current.x, 12, -6, 6, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, He.current.z), un = new Te(0, 0, -1), Ct.current.coordText = wr(_t, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt.y = He.current.y, Ct.current.coordTextReverse = wr(bn, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt = new Te(He.current.x, Re.current.y, He.current.z), un = new Te(0, 0, -1), Je.current.coordText = wr(_t, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt.y = He.current.y, Je.current.coordTextReverse = wr(bn, xt, un, He.current.z - Re.current.z, 14, -8, 6, new Te(0, 0, 0)), xt = new Te(He.current.x, Re.current.y, He.current.z), un = new Te(0, 1, 0), De.current.coordText_lb = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, He.current.z), un = new Te(0, 1, 0), De.current.coordText_lf = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), xt = new Te(Re.current.x, Re.current.y, Re.current.z), un = new Te(0, 1, 0), De.current.coordText_rf = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), xt = new Te(He.current.x, Re.current.y, Re.current.z), un = new Te(0, 1, 0), De.current.coordText_rb = wr(_t, xt, un, He.current.y - Re.current.y, 10, 0, 10, new Te(0, 0, 0)), Vr();
79862
79862
  }, xa = (Qt, _t, bn, xt, un, cr, Kr, hr) => {
79863
- let Vr = {
79863
+ let $r = {
79864
79864
  mouseLine_w: new ka(),
79865
79865
  mouseLine_h: new ka(),
79866
79866
  coordMesh: new Co()
79867
- }, kn = new Co(), Hn, dr, sn, Un, lr, gr, $r, ti;
79868
- $r = bn / un, ti = xt / cr;
79867
+ }, kn = new Co(), Hn, dr, sn, Un, lr, gr, zr, ti;
79868
+ zr = bn / un, ti = xt / cr;
79869
79869
  let Jr = new kf({
79870
79870
  color: Kr,
79871
79871
  opacity: 0.9,
@@ -79880,7 +79880,7 @@ const qmt = (t) => {
79880
79880
  dr = _t.y, lr = dr, Hn = _t.x - bn / 2, Un = _t.x + bn / 2, sn = _t.z - xt / 2, gr = _t.z + xt / 2;
79881
79881
  for (let Fe = 0; Fe <= un; Fe++) {
79882
79882
  let et = new na(), vt = [];
79883
- vt.push(Hn + Fe * $r, dr, sn, Hn + Fe * $r, dr, gr);
79883
+ vt.push(Hn + Fe * zr, dr, sn, Hn + Fe * zr, dr, gr);
79884
79884
  const at = new Float32Array(vt);
79885
79885
  et.setAttribute("position", new Ss(at, 3));
79886
79886
  let ot = new ka(et, Jr);
@@ -79897,12 +79897,12 @@ const qmt = (t) => {
79897
79897
  let gt = new na();
79898
79898
  gt.setAttribute("position", new Ss(new Float32Array([Hn, 0, 0, Un, 0, 0]), 3)), Ya = new ka(gt, mi), Ya.position.setY(lr), Ya.userData.initY = lr;
79899
79899
  let Ue = new na();
79900
- Ue.setAttribute("position", new Ss(new Float32Array([0, 0, sn, 0, 0, gr]), 3)), Qi = new ka(Ue, mi), Qi.position.setY(lr), Qi.userData.initY = lr, Vr.mouseLine_w = Ya, Vr.mouseLine_h = Qi;
79900
+ Ue.setAttribute("position", new Ss(new Float32Array([0, 0, sn, 0, 0, gr]), 3)), Qi = new ka(Ue, mi), Qi.position.setY(lr), Qi.userData.initY = lr, $r.mouseLine_w = Ya, $r.mouseLine_h = Qi;
79901
79901
  } else if (Qt == 2) {
79902
79902
  sn = _t.z, gr = sn, Hn = _t.x - bn / 2, Un = _t.x + bn / 2, dr = _t.y - xt / 2, lr = _t.y + xt / 2;
79903
79903
  for (let Fe = 0; Fe <= un; Fe++) {
79904
79904
  let et = new na();
79905
- et.setAttribute("position", new Ss(new Float32Array([Hn + Fe * $r, dr, sn, Hn + Fe * $r, lr, sn]), 3));
79905
+ et.setAttribute("position", new Ss(new Float32Array([Hn + Fe * zr, dr, sn, Hn + Fe * zr, lr, sn]), 3));
79906
79906
  let vt = new ka(et, Jr);
79907
79907
  kn.add(vt);
79908
79908
  }
@@ -79915,12 +79915,12 @@ const qmt = (t) => {
79915
79915
  let gt = new na();
79916
79916
  gt.setAttribute("position", new Ss(new Float32Array([Hn, 0, 0, Un, 0, 0]), 3)), Ya = new ka(gt, mi), Ya.position.setZ(gr), Ya.userData.initZ = gr;
79917
79917
  let Ue = new na();
79918
- Ue.setAttribute("position", new Ss(new Float32Array([0, dr, 0, 0, lr, 0]), 3)), Qi = new ka(Ue, mi), Qi.position.setZ(gr), Qi.userData.initZ = gr, Vr.mouseLine_w = Ya, Vr.mouseLine_h = Qi;
79918
+ Ue.setAttribute("position", new Ss(new Float32Array([0, dr, 0, 0, lr, 0]), 3)), Qi = new ka(Ue, mi), Qi.position.setZ(gr), Qi.userData.initZ = gr, $r.mouseLine_w = Ya, $r.mouseLine_h = Qi;
79919
79919
  } else if (Qt == 3) {
79920
79920
  Hn = _t.x, Un = Hn, sn = _t.z - bn / 2, gr = _t.z + bn / 2, dr = _t.y - xt / 2, lr = _t.y + xt / 2;
79921
79921
  for (let Fe = 0; Fe <= un; Fe++) {
79922
79922
  let et = new na();
79923
- et.setAttribute("position", new Ss(new Float32Array([Hn, dr, sn + Fe * $r, Hn, lr, sn + Fe * $r]), 3));
79923
+ et.setAttribute("position", new Ss(new Float32Array([Hn, dr, sn + Fe * zr, Hn, lr, sn + Fe * zr]), 3));
79924
79924
  let vt = new ka(et, Jr);
79925
79925
  kn.add(vt);
79926
79926
  }
@@ -79933,9 +79933,9 @@ const qmt = (t) => {
79933
79933
  let gt = new na();
79934
79934
  gt.setAttribute("position", new Ss(new Float32Array([0, 0, sn, 0, 0, gr]), 3)), Ya = new ka(gt, mi), Ya.position.setX(Un), Ya.userData.initX = Un;
79935
79935
  let Ue = new na();
79936
- Ue.setAttribute("position", new Ss(new Float32Array([0, dr, 0, 0, lr, 0]), 3)), Qi = new ka(Ue, mi), Qi.position.setX(Un), Qi.userData.initX = Un, Vr.mouseLine_w = Ya, Vr.mouseLine_h = Qi;
79936
+ Ue.setAttribute("position", new Ss(new Float32Array([0, dr, 0, 0, lr, 0]), 3)), Qi = new ka(Ue, mi), Qi.position.setX(Un), Qi.userData.initX = Un, $r.mouseLine_w = Ya, $r.mouseLine_h = Qi;
79937
79937
  }
79938
- return kn.rotation.copy(Ga), Vr.mouseLine_w.rotation.copy(Ga), Vr.mouseLine_h.rotation.copy(Ga), Vr.mouseLine_w.position.applyMatrix4(rt), Vr.mouseLine_h.position.applyMatrix4(rt), Vr.mouseLine_h.updateMatrix(), Vr.mouseLine_w.updateMatrix(), Vr.coordMesh = kn, Vr.coordMesh.name = hr, Vr;
79938
+ return kn.rotation.copy(Ga), $r.mouseLine_w.rotation.copy(Ga), $r.mouseLine_h.rotation.copy(Ga), $r.mouseLine_w.position.applyMatrix4(rt), $r.mouseLine_h.position.applyMatrix4(rt), $r.mouseLine_h.updateMatrix(), $r.mouseLine_w.updateMatrix(), $r.coordMesh = kn, $r.coordMesh.name = hr, $r;
79939
79939
  };
79940
79940
  En(() => {
79941
79941
  nt.current && (nt.current.coordMesh.visible = ee, nt.current.mouseLine_w.visible = ee, nt.current.mouseLine_h.visible = ee), st.current && (st.current.coordMesh.visible = ee, st.current.mouseLine_w.visible = ee, st.current.mouseLine_h.visible = ee), ft.current && (ft.current.coordMesh.visible = ee, ft.current.mouseLine_w.visible = ee, ft.current.mouseLine_h.visible = ee), De.current && (De.current.coordMesh.visible = ee, De.current.mouseLine_w.visible = ee, De.current.mouseLine_h.visible = ee), Ct.current && (Ct.current.coordMesh.visible = ee, Ct.current.mouseLine_w.visible = ee, Ct.current.mouseLine_h.visible = ee), Je.current && (Je.current.coordMesh.visible = ee, Je.current.mouseLine_w.visible = ee, Je.current.mouseLine_h.visible = ee);
@@ -80456,7 +80456,7 @@ function f0t(t, e) {
80456
80456
  return t.apply(e, n.concat(QX.call(arguments)));
80457
80457
  };
80458
80458
  }
80459
- var zr = J6 && xi(J6.bind) ? J6.call.bind(J6.bind) : f0t;
80459
+ var Hr = J6 && xi(J6.bind) ? J6.call.bind(J6.bind) : f0t;
80460
80460
  function Ji(t) {
80461
80461
  for (var e = [], n = 1; n < arguments.length; n++)
80462
80462
  e[n - 1] = arguments[n];
@@ -89164,7 +89164,7 @@ var Zbt = [
89164
89164
  function() {
89165
89165
  function t(e) {
89166
89166
  _e(Zbt, function(n) {
89167
- this[n] = zr(e[n], e);
89167
+ this[n] = Hr(e[n], e);
89168
89168
  }, this);
89169
89169
  }
89170
89170
  return t;
@@ -89681,9 +89681,9 @@ var zy, Hy, Gy, ble, xle, $_e = (
89681
89681
  o.getItem = n, o.count = i, o.fillStorage = r;
89682
89682
  else {
89683
89683
  var v = z_e(u, d);
89684
- o.getItem = zr(v, null, s, f, h);
89684
+ o.getItem = Hr(v, null, s, f, h);
89685
89685
  var y = H_e(u, d);
89686
- o.count = zr(y, null, s, f, h);
89686
+ o.count = Hr(y, null, s, f, h);
89687
89687
  }
89688
89688
  };
89689
89689
  var n = function(o, s) {
@@ -90087,9 +90087,9 @@ function Txt(t, e) {
90087
90087
  var f = z_e(i, bg);
90088
90088
  e.__isBuiltIn && (n.getRawDataItem = function(y) {
90089
90089
  return f(r, a, s, y);
90090
- }, n.getRawData = zr(Ixt, null, t)), n.cloneRawData = zr(Axt, null, t);
90090
+ }, n.getRawData = Hr(Ixt, null, t)), n.cloneRawData = Hr(Axt, null, t);
90091
90091
  var h = H_e(i, bg);
90092
- n.count = zr(h, null, r, a, s);
90092
+ n.count = Hr(h, null, r, a, s);
90093
90093
  var p = G_e(i);
90094
90094
  n.retrieveValue = function(y, g) {
90095
90095
  var m = f(r, a, s, y);
@@ -90102,7 +90102,7 @@ function Txt(t, e) {
90102
90102
  return p(y, g, m.name);
90103
90103
  }
90104
90104
  };
90105
- return n.getDimensionInfo = zr(Mxt, null, s, c), n.cloneAllDimensionInfo = zr(Lxt, null, s), n;
90105
+ return n.getDimensionInfo = Hr(Mxt, null, s, c), n.cloneAllDimensionInfo = Hr(Lxt, null, s), n;
90106
90106
  }
90107
90107
  function Ixt(t) {
90108
90108
  var e = t.sourceFormat;
@@ -92764,12 +92764,12 @@ var kC, ZU, w8, P0, KU, YU, qU, A_, M_, nce, rce, JU, ice, S8, ace, LTe, kh, oce
92764
92764
  useCoarsePointer: Gi(i.useCoarsePointer, s),
92765
92765
  pointerSize: i.pointerSize
92766
92766
  });
92767
- a._ssr = i.ssr, a._throttledZrFlush = GZ(zr(d.flush, d), 17), r = Oi(r), r && F_e(r, !0), a._theme = r, a._locale = Sbt(i.locale || f_e), a._coordSysMgr = new Z3();
92767
+ a._ssr = i.ssr, a._throttledZrFlush = GZ(Hr(d.flush, d), 17), r = Oi(r), r && F_e(r, !0), a._theme = r, a._locale = Sbt(i.locale || f_e), a._coordSysMgr = new Z3();
92768
92768
  var f = a._api = ace(a);
92769
92769
  function h(p, v) {
92770
92770
  return p.__prio - v.__prio;
92771
92771
  }
92772
- return cL(z7, h), cL(JH, h), a._scheduler = new fTe(a, f, JH, z7), a._messageCenter = new ATe(), a._initEvents(), a.resize = zr(a.resize, a), d.animation.on("frame", a._onframe, a), nce(d, a), rce(d, a), m7(a), a;
92772
+ return cL(z7, h), cL(JH, h), a._scheduler = new fTe(a, f, JH, z7), a._messageCenter = new ATe(), a._initEvents(), a.resize = Hr(a.resize, a), d.animation.on("frame", a._onframe, a), nce(d, a), rce(d, a), m7(a), a;
92773
92773
  }
92774
92774
  return e.prototype._onframe = function() {
92775
92775
  if (!this._disposed) {
@@ -94134,11 +94134,11 @@ var O_ = _i, R0 = jn, Lwt = typeof Int32Array > "u" ? Array : Int32Array, Owt =
94134
94134
  }, t.prototype.each = function(e, n, r) {
94135
94135
  xi(e) && (r = n, n = e, e = []);
94136
94136
  var i = r || this, a = R0(UC(e), this._getStoreDimIndex, this);
94137
- this._store.each(a, i ? zr(n, i) : n);
94137
+ this._store.each(a, i ? Hr(n, i) : n);
94138
94138
  }, t.prototype.filterSelf = function(e, n, r) {
94139
94139
  xi(e) && (r = n, n = e, e = []);
94140
94140
  var i = r || this, a = R0(UC(e), this._getStoreDimIndex, this);
94141
- return this._store = this._store.filter(a, i ? zr(n, i) : n), this;
94141
+ return this._store = this._store.filter(a, i ? Hr(n, i) : n), this;
94142
94142
  }, t.prototype.selectRange = function(e) {
94143
94143
  var n = this, r = {}, i = Ua(e);
94144
94144
  return _e(i, function(a) {
@@ -94153,7 +94153,7 @@ var O_ = _i, R0 = jn, Lwt = typeof Int32Array > "u" ? Array : Int32Array, Owt =
94153
94153
  }, r), i;
94154
94154
  }, t.prototype.map = function(e, n, r, i) {
94155
94155
  var a = r || i || this, o = R0(UC(e), this._getStoreDimIndex, this), s = _8(this);
94156
- return s._store = this._store.map(o, a ? zr(n, a) : n), s;
94156
+ return s._store = this._store.map(o, a ? Hr(n, a) : n), s;
94157
94157
  }, t.prototype.modify = function(e, n, r, i) {
94158
94158
  var a = this, o = r || i || this;
94159
94159
  process.env.NODE_ENV !== "production" && _e(UC(e), function(c) {
@@ -94161,7 +94161,7 @@ var O_ = _i, R0 = jn, Lwt = typeof Int32Array > "u" ? Array : Int32Array, Owt =
94161
94161
  u.isCalculationCoord || console.error("Danger: only stack dimension can be modified");
94162
94162
  });
94163
94163
  var s = R0(UC(e), this._getStoreDimIndex, this);
94164
- this._store.modify(s, o ? zr(n, o) : n);
94164
+ this._store.modify(s, o ? Hr(n, o) : n);
94165
94165
  }, t.prototype.downSample = function(e, n, r, i) {
94166
94166
  var a = _8(this);
94167
94167
  return a._store = this._store.downSample(this._getStoreDimIndex(e), n, r, i), a;
@@ -100281,7 +100281,7 @@ var FEt = lo(), BEt = (
100281
100281
  return t !== null && t.apply(this, arguments) || this;
100282
100282
  }
100283
100283
  return e.prototype.init = function(n) {
100284
- t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(zr(this.getData, this), zr(this.getRawData, this)), this._defaultLabelLine(n);
100284
+ t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(Hr(this.getData, this), Hr(this.getRawData, this)), this._defaultLabelLine(n);
100285
100285
  }, e.prototype.mergeOption = function() {
100286
100286
  t.prototype.mergeOption.apply(this, arguments);
100287
100287
  }, e.prototype.getInitialData = function() {
@@ -102065,7 +102065,7 @@ var N_t = (
102065
102065
  return n.type = e.type, n.hasSymbolVisual = !0, n;
102066
102066
  }
102067
102067
  return e.prototype.init = function(n) {
102068
- t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(zr(this.getData, this), zr(this.getRawData, this));
102068
+ t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(Hr(this.getData, this), Hr(this.getRawData, this));
102069
102069
  }, e.prototype.getInitialData = function(n, r) {
102070
102070
  return Q3(this, {
102071
102071
  generateCoord: "indicator_",
@@ -102436,7 +102436,7 @@ var K_t = (
102436
102436
  function e(n) {
102437
102437
  var r = t.call(this) || this;
102438
102438
  r._zr = n;
102439
- var i = zr(r._mousedownHandler, r), a = zr(r._mousemoveHandler, r), o = zr(r._mouseupHandler, r), s = zr(r._mousewheelHandler, r), c = zr(r._pinchHandler, r);
102439
+ var i = Hr(r._mousedownHandler, r), a = Hr(r._mousemoveHandler, r), o = Hr(r._mouseupHandler, r), s = Hr(r._mousewheelHandler, r), c = Hr(r._pinchHandler, r);
102440
102440
  return r.enable = function(u, d) {
102441
102441
  this.disable(), this._opt = Ai(Oi(d) || {}, {
102442
102442
  zoomOnMouseWheel: !0,
@@ -102521,7 +102521,7 @@ function CF(t, e, n, r, i) {
102521
102521
  t.pointerChecker && t.pointerChecker(r, i.originX, i.originY) && (jm(r.event), d5e(t, e, n, r, i));
102522
102522
  }
102523
102523
  function d5e(t, e, n, r, i) {
102524
- i.isAvailableBehavior = zr(CL, null, n, r), t.trigger(e, i);
102524
+ i.isAvailableBehavior = Hr(CL, null, n, r), t.trigger(e, i);
102525
102525
  }
102526
102526
  function CL(t, e, n) {
102527
102527
  var r = n[t];
@@ -105573,14 +105573,14 @@ var vG = ki, Xue = po, Zue = 3, Kue = "label", Yue = "upperLabel", A4t = B3 * 10
105573
105573
  opacity: 1
105574
105574
  })), d.add(p, g, c, 0, u));
105575
105575
  });
105576
- }, this), this._state = "animating", d.finished(zr(function() {
105576
+ }, this), this._state = "animating", d.finished(Hr(function() {
105577
105577
  this._state = "ready", r.renderFinally();
105578
105578
  }, this)).start();
105579
105579
  }, e.prototype._resetController = function(n) {
105580
105580
  var r = this._controller, i = this._controllerHost;
105581
105581
  i || (this._controllerHost = {
105582
105582
  target: this.group
105583
- }, i = this._controllerHost), r || (r = this._controller = new SI(n.getZr()), r.enable(this.seriesModel.get("roam")), i.zoomLimit = this.seriesModel.get("scaleLimit"), i.zoom = this.seriesModel.get("zoom"), r.on("pan", zr(this._onPan, this)), r.on("zoom", zr(this._onZoom, this)));
105583
+ }, i = this._controllerHost), r || (r = this._controller = new SI(n.getZr()), r.enable(this.seriesModel.get("roam")), i.zoomLimit = this.seriesModel.get("scaleLimit"), i.zoom = this.seriesModel.get("zoom"), r.on("pan", Hr(this._onPan, this)), r.on("zoom", Hr(this._onZoom, this)));
105584
105584
  var a = new ca(0, 0, n.getWidth(), n.getHeight());
105585
105585
  r.setPointerChecker(function(o, s, c) {
105586
105586
  return a.contain(s, c);
@@ -105877,7 +105877,7 @@ var v5 = _e, D4t = _i, eO = -1, CK = (
105877
105877
  var n = this._normalizeData(e);
105878
105878
  return this._normalizedToVisual(n, e);
105879
105879
  }, t.prototype.getNormalizer = function() {
105880
- return zr(this._normalizeData, this);
105880
+ return Hr(this._normalizeData, this);
105881
105881
  }, t.listVisualTypes = function() {
105882
105882
  return Ua(t.visualHandlers);
105883
105883
  }, t.isValidType = function(e) {
@@ -105944,7 +105944,7 @@ var v5 = _e, D4t = _i, eO = -1, CK = (
105944
105944
  applyVisual: F_("color"),
105945
105945
  getColorMapper: function() {
105946
105946
  var e = this.option;
105947
- return zr(e.mappingMethod === "category" ? function(n, r) {
105947
+ return Hr(e.mappingMethod === "category" ? function(n, r) {
105948
105948
  return !r && (n = this._normalizeData(n)), MT.call(this, n);
105949
105949
  } : function(n, r, i) {
105950
105950
  var a = !!i;
@@ -108297,7 +108297,7 @@ var G5t = (
108297
108297
  return n.type = e.type, n;
108298
108298
  }
108299
108299
  return e.prototype.init = function(n) {
108300
- t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(zr(this.getData, this), zr(this.getRawData, this)), this._defaultLabelLine(n);
108300
+ t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(Hr(this.getData, this), Hr(this.getRawData, this)), this._defaultLabelLine(n);
108301
108301
  }, e.prototype.getInitialData = function(n, r) {
108302
108302
  return Q3(this, {
108303
108303
  coordDimensions: ["value"],
@@ -108566,7 +108566,7 @@ var nIt = (
108566
108566
  }
108567
108567
  return e.prototype.getInitialData = function(n, r) {
108568
108568
  return r0(null, this, {
108569
- useEncodeDefaulter: zr(rIt, null, this)
108569
+ useEncodeDefaulter: Hr(rIt, null, this)
108570
108570
  });
108571
108571
  }, e.prototype.getRawIndicesByActiveState = function(n) {
108572
108572
  var r = this.coordinateSystem, i = this.getData(), a = [];
@@ -108667,7 +108667,7 @@ var fIt = 5, hIt = (
108667
108667
  }
108668
108668
  return e.prototype.render = function(n, r, i) {
108669
108669
  this._model = n, this._api = i, this._handlers || (this._handlers = {}, _e(pIt, function(a, o) {
108670
- i.getZr().on(o, this._handlers[o] = zr(a, this));
108670
+ i.getZr().on(o, this._handlers[o] = Hr(a, this));
108671
108671
  }, this)), Y3(this, "_throttledDispatchExpand", n.get("axisExpandRate"), "fixRate");
108672
108672
  }, e.prototype.dispose = function(n, r) {
108673
108673
  s5(this, "_throttledDispatchExpand"), _e(this._handlers, function(i, a) {
@@ -109071,7 +109071,7 @@ var ex = !0, y5 = Math.min, e3 = Math.max, MIt = Math.pow, LIt = 1e4, OIt = 6, P
109071
109071
  function e(n) {
109072
109072
  var r = t.call(this) || this;
109073
109073
  return r._track = [], r._covers = [], r._handlers = {}, process.env.NODE_ENV !== "production" && Ti(n), r._zr = n, r.group = new ki(), r._uid = "brushController_" + DIt++, _e(HIt, function(i, a) {
109074
- this._handlers[a] = zr(i, this);
109074
+ this._handlers[a] = Hr(i, this);
109075
109075
  }, r), r;
109076
109076
  }
109077
109077
  return e.prototype.enableBrush = function(n) {
@@ -109524,7 +109524,7 @@ var jIt = ["axisLine", "axisTickLabel", "axisName"], WIt = (
109524
109524
  return n.type = e.type, n;
109525
109525
  }
109526
109526
  return e.prototype.init = function(n, r) {
109527
- t.prototype.init.apply(this, arguments), (this._brushController = new RK(r.getZr())).on("brush", zr(this._onBrush, this));
109527
+ t.prototype.init.apply(this, arguments), (this._brushController = new RK(r.getZr())).on("brush", Hr(this._onBrush, this));
109528
109528
  }, e.prototype.render = function(n, r, i, a) {
109529
109529
  if (!XIt(n, r, a)) {
109530
109530
  this.axisModel = n, this.api = i, this.group.removeAll();
@@ -112180,7 +112180,7 @@ var e8t = (
112180
112180
  return g.name;
112181
112181
  }
112182
112182
  var p = new Km(this._layersSeries || [], c, h, h), v = [];
112183
- p.add(zr(y, this, "add")).update(zr(y, this, "update")).remove(zr(y, this, "remove")).execute();
112183
+ p.add(Hr(y, this, "add")).update(Hr(y, this, "update")).remove(Hr(y, this, "remove")).execute();
112184
112184
  function y(g, m, x) {
112185
112185
  var b = o._layers;
112186
112186
  if (g === "remove") {
@@ -112262,7 +112262,7 @@ var qF = 2, r8t = (
112262
112262
  return n.type = e.type, n;
112263
112263
  }
112264
112264
  return e.prototype.init = function(n) {
112265
- t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(zr(this.getData, this), zr(this.getRawData, this));
112265
+ t.prototype.init.apply(this, arguments), this.legendVisualProvider = new wI(Hr(this.getData, this), Hr(this.getRawData, this));
112266
112266
  }, e.prototype.fixData = function(n) {
112267
112267
  var r = n.length, i = {}, a = IH(n, function(h) {
112268
112268
  return i.hasOwnProperty(h[0] + "") || (i[h[0] + ""] = -1), h[2];
@@ -112920,7 +112920,7 @@ function _8t(t) {
112920
112920
  coord: function(n) {
112921
112921
  return t.dataToPoint(n);
112922
112922
  },
112923
- size: zr(E8t, t)
112923
+ size: Hr(E8t, t)
112924
112924
  }
112925
112925
  };
112926
112926
  }
@@ -112945,7 +112945,7 @@ function I8t(t) {
112945
112945
  coord: function(n) {
112946
112946
  return t.dataToPoint(n);
112947
112947
  },
112948
- size: zr(T8t, t)
112948
+ size: Hr(T8t, t)
112949
112949
  }
112950
112950
  };
112951
112951
  }
@@ -112967,7 +112967,7 @@ function M8t(t) {
112967
112967
  coord: function(n) {
112968
112968
  return t.dataToPoint(n);
112969
112969
  },
112970
- size: zr(A8t, t)
112970
+ size: Hr(A8t, t)
112971
112971
  }
112972
112972
  };
112973
112973
  }
@@ -112992,7 +112992,7 @@ function O8t(t) {
112992
112992
  var a = e.dataToRadius(i[0]), o = n.dataToAngle(i[1]), s = t.coordToPoint([a, o]);
112993
112993
  return s.push(a, o * Math.PI / 180), s;
112994
112994
  },
112995
- size: zr(L8t, t)
112995
+ size: Hr(L8t, t)
112996
112996
  }
112997
112997
  };
112998
112998
  }
@@ -113081,7 +113081,7 @@ var IIe = {
113081
113081
  }, {}), Kde = Tg.join(", "), iO = ["", "style", "shape", "extra"], t3 = lo();
113082
113082
  function kK(t, e, n, r, i) {
113083
113083
  var a = t + "Animation", o = V3(t, r, i) || {}, s = t3(e).userDuring;
113084
- return o.duration > 0 && (o.during = s ? zr(U8t, {
113084
+ return o.duration > 0 && (o.during = s ? Hr(U8t, {
113085
113085
  el: e,
113086
113086
  userDuring: s
113087
113087
  }) : null, o.setToFinal = !0, o.scope = t), In(o, n[a]), o;
@@ -113751,7 +113751,7 @@ function rMt(t) {
113751
113751
  function iMt(t) {
113752
113752
  t.registerChartView(X8t), t.registerSeriesModel(S8t);
113753
113753
  }
113754
- var z2 = lo(), rfe = Oi, tB = zr, aMt = (
113754
+ var z2 = lo(), rfe = Oi, tB = Hr, aMt = (
113755
113755
  /** @class */
113756
113756
  function() {
113757
113757
  function t() {
@@ -114276,7 +114276,7 @@ function $Ie(t, e) {
114276
114276
  }
114277
114277
  var dfe = lo();
114278
114278
  function bMt(t, e, n) {
114279
- var r = t.currTrigger, i = [t.x, t.y], a = t, o = t.dispatchAction || zr(n.dispatchAction, n), s = e.getComponent("axisPointer").coordSysAxesInfo;
114279
+ var r = t.currTrigger, i = [t.x, t.y], a = t, o = t.dispatchAction || Hr(n.dispatchAction, n), s = e.getComponent("axisPointer").coordSysAxesInfo;
114280
114280
  if (s) {
114281
114281
  SL(i) && (i = $Ie({
114282
114282
  seriesIndex: a.seriesIndex,
@@ -116868,7 +116868,7 @@ var o7t = (
116868
116868
  }), B.ignore = !n.get("showTitle"), i.enterEmphasis(this);
116869
116869
  }).on("mouseout", function() {
116870
116870
  v.get(["iconStatus", M]) !== "emphasis" && i.leaveEmphasis(this), B.hide();
116871
- }), (v.get(["iconStatus", M]) === "emphasis" ? Xm : Zm)(N), o.add(N), N.on("click", zr(y.onclick, y, r, i, M)), I[M] = N;
116871
+ }), (v.get(["iconStatus", M]) === "emphasis" ? Xm : Zm)(N), o.add(N), N.on("click", Hr(y.onclick, y, r, i, M)), I[M] = N;
116872
116872
  });
116873
116873
  }
116874
116874
  a7t(o, n, i), o.add(qIe(o.getBoundingRect(), n)), c || o.eachChild(function(v) {
@@ -117618,7 +117618,7 @@ var RG = _e, D7t = ryt("toolbox-dataZoom_"), k7t = (
117618
117618
  return t !== null && t.apply(this, arguments) || this;
117619
117619
  }
117620
117620
  return e.prototype.render = function(n, r, i, a) {
117621
- this._brushController || (this._brushController = new RK(i.getZr()), this._brushController.on("brush", zr(this._onBrush, this)).mount()), B7t(n, r, this, a, i), F7t(n, r);
117621
+ this._brushController || (this._brushController = new RK(i.getZr()), this._brushController.on("brush", Hr(this._onBrush, this)).mount()), B7t(n, r, this, a, i), F7t(n, r);
117622
117622
  }, e.prototype.onclick = function(n, r, i) {
117623
117623
  U7t[i].call(this);
117624
117624
  }, e.prototype.remove = function(n, r) {
@@ -117983,7 +117983,7 @@ var Q7t = (
117983
117983
  return e._longHide = !0;
117984
117984
  }, 500);
117985
117985
  }, t.prototype.hideLater = function(e) {
117986
- this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(zr(this.hide, this), e)) : this.hide());
117986
+ this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(Hr(this.hide, this), e)) : this.hide());
117987
117987
  }, t.prototype.isShow = function() {
117988
117988
  return this._show;
117989
117989
  }, t.prototype.dispose = function() {
@@ -118053,7 +118053,7 @@ var tOt = (
118053
118053
  }, t.prototype.hide = function() {
118054
118054
  this.el && this.el.hide(), this._show = !1;
118055
118055
  }, t.prototype.hideLater = function(e) {
118056
- this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(zr(this.hide, this), e)) : this.hide());
118056
+ this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(Hr(this.hide, this), e)) : this.hide());
118057
118057
  }, t.prototype.isShow = function() {
118058
118058
  return this._show;
118059
118059
  }, t.prototype.dispose = function() {
@@ -118107,7 +118107,7 @@ var rOt = new po({
118107
118107
  }
118108
118108
  }, e.prototype._initGlobalListener = function() {
118109
118109
  var n = this._tooltipModel, r = n.get("triggerOn");
118110
- VIe("itemTooltip", this._api, zr(function(i, a, o) {
118110
+ VIe("itemTooltip", this._api, Hr(function(i, a, o) {
118111
118111
  r !== "none" && (r.indexOf(i) >= 0 ? this._tryShow(a, o) : i === "leave" && this._hide(o));
118112
118112
  }, this));
118113
118113
  }, e.prototype._keepShow = function() {
@@ -118223,7 +118223,7 @@ var rOt = new po({
118223
118223
  }
118224
118224
  }, e.prototype._showOrMove = function(n, r) {
118225
118225
  var i = n.get("showDelay");
118226
- r = zr(r, this), clearTimeout(this._showTimout), i > 0 ? this._showTimout = setTimeout(r, i) : r();
118226
+ r = Hr(r, this), clearTimeout(this._showTimout), i > 0 ? this._showTimout = setTimeout(r, i) : r();
118227
118227
  }, e.prototype._showAxisTooltip = function(n, r) {
118228
118228
  var i = this._ecModel, a = this._tooltipModel, o = [r.offsetX, r.offsetY], s = B_([r.tooltipOption], a), c = this._renderMode, u = [], d = Ou("section", {
118229
118229
  blocks: [],
@@ -118323,7 +118323,7 @@ var rOt = new po({
118323
118323
  var g = n.ecModel.get("useUTC"), m = Gn(i) ? i[0] : i, x = m && m.axisType && m.axisType.indexOf("time") >= 0;
118324
118324
  p = h, x && (p = RP(m.axisValue, p, g)), p = E_e(p, i, !0);
118325
118325
  } else if (xi(h)) {
118326
- var b = zr(function(C, w) {
118326
+ var b = Hr(function(C, w) {
118327
118327
  C === this._ticket && (f.setContent(w, d, n, y, c), this._updatePosition(n, c, o, s, f, i, u));
118328
118328
  }, this);
118329
118329
  this._ticket = a, p = h(i, a, b);
@@ -118406,7 +118406,7 @@ function B_(t, e, n) {
118406
118406
  return i;
118407
118407
  }
118408
118408
  function zfe(t, e) {
118409
- return t.dispatchAction || zr(e.dispatchAction, e);
118409
+ return t.dispatchAction || Hr(e.dispatchAction, e);
118410
118410
  }
118411
118411
  function aOt(t, e, n, r, i, a, o) {
118412
118412
  var s = n.getSize(), c = s[0], u = s[1];
@@ -118782,7 +118782,7 @@ var COt = (
118782
118782
  return n.type = e.type, n;
118783
118783
  }
118784
118784
  return e.prototype.init = function(n, r) {
118785
- this.ecModel = n, this.api = r, this.model, (this._brushController = new RK(r.getZr())).on("brush", zr(this._onBrush, this)).mount();
118785
+ this.ecModel = n, this.api = r, this.model, (this._brushController = new RK(r.getZr())).on("brush", Hr(this._onBrush, this)).mount();
118786
118786
  }, e.prototype.render = function(n, r, i, a) {
118787
118787
  this.model = n, this._updateController(n, r, i, a);
118788
118788
  }, e.prototype.updateTransform = function(n, r, i, a) {
@@ -119419,7 +119419,7 @@ var cB = Math.PI, Qfe = lo(), BOt = (
119419
119419
  var d = i.dataToCoord(u.value), f = s.getItemModel(u.value), h = f.getModel("itemStyle"), p = f.getModel(["emphasis", "itemStyle"]), v = f.getModel(["progress", "itemStyle"]), y = {
119420
119420
  x: d,
119421
119421
  y: 0,
119422
- onclick: zr(o._changeTimeline, o, u.value)
119422
+ onclick: Hr(o._changeTimeline, o, u.value)
119423
119423
  }, g = ehe(f, h, r, y);
119424
119424
  g.ensureState("emphasis").style = p.getItemStyle(), g.ensureState("progress").style = v.getItemStyle(), Tb(g);
119425
119425
  var m = Vi(g);
@@ -119434,7 +119434,7 @@ var cB = Math.PI, Qfe = lo(), BOt = (
119434
119434
  x: g,
119435
119435
  y: 0,
119436
119436
  rotation: n.labelRotation - n.rotation,
119437
- onclick: zr(o._changeTimeline, o, f),
119437
+ onclick: Hr(o._changeTimeline, o, f),
119438
119438
  silent: !1,
119439
119439
  style: Qs(p, {
119440
119440
  text: d.formattedLabel,
@@ -119447,7 +119447,7 @@ var cB = Math.PI, Qfe = lo(), BOt = (
119447
119447
  }
119448
119448
  }, e.prototype._renderControl = function(n, r, i, a) {
119449
119449
  var o = n.controlSize, s = n.rotation, c = a.getModel("controlStyle").getItemStyle(), u = a.getModel(["emphasis", "controlStyle"]).getItemStyle(), d = a.getPlayState(), f = a.get("inverse", !0);
119450
- h(n.nextBtnPosition, "next", zr(this._changeTimeline, this, f ? "-" : "+")), h(n.prevBtnPosition, "prev", zr(this._changeTimeline, this, f ? "+" : "-")), h(n.playPosition, d ? "stop" : "play", zr(this._handlePlayClick, this, !d), !0);
119450
+ h(n.nextBtnPosition, "next", Hr(this._changeTimeline, this, f ? "-" : "+")), h(n.prevBtnPosition, "prev", Hr(this._changeTimeline, this, f ? "+" : "-")), h(n.playPosition, d ? "stop" : "play", Hr(this._handlePlayClick, this, !d), !0);
119451
119451
  function h(p, v, y, g) {
119452
119452
  if (p) {
119453
119453
  var m = Cv(Gi(a.get(["controlStyle", v + "BtnSize"]), o), o), x = [0, -m / 2, m, m], b = zOt(a, v + "Icon", x, {
@@ -119466,7 +119466,7 @@ var cB = Math.PI, Qfe = lo(), BOt = (
119466
119466
  }, e.prototype._renderCurrentPointer = function(n, r, i, a) {
119467
119467
  var o = a.getData(), s = a.getCurrentIndex(), c = o.getItemModel(s).getModel("checkpointStyle"), u = this, d = {
119468
119468
  onCreate: function(f) {
119469
- f.draggable = !0, f.drift = zr(u._handlePointerDrag, u), f.ondragend = zr(u._handlePointerDragend, u), the(f, u._progressLine, s, i, a, !0);
119469
+ f.draggable = !0, f.drift = Hr(u._handlePointerDrag, u), f.ondragend = Hr(u._handlePointerDragend, u), the(f, u._progressLine, s, i, a, !0);
119470
119470
  },
119471
119471
  onUpdate: function(f) {
119472
119472
  the(f, u._progressLine, s, i, a);
@@ -120902,7 +120902,7 @@ var uhe = ki, hB = ["width", "height"], pB = ["x", "y"], M9t = (
120902
120902
  var m = y + "DataIndex", x = hI(r.get("pageIcons", !0)[r.getOrient().name][g], {
120903
120903
  // Buttons will be created in each render, so we do not need
120904
120904
  // to worry about avoiding using legendModel kept in scope.
120905
- onclick: zr(u._pageGo, u, m, r, a)
120905
+ onclick: Hr(u._pageGo, u, m, r, a)
120906
120906
  }, {
120907
120907
  x: -h[0] / 2,
120908
120908
  y: -h[1] / 2,
@@ -121208,9 +121208,9 @@ var H9t = (
121208
121208
  return;
121209
121209
  }
121210
121210
  this.range = n.getPercentRange(), k9t(i, n, {
121211
- pan: zr(vB.pan, this),
121212
- zoom: zr(vB.zoom, this),
121213
- scrollMove: zr(vB.scrollMove, this)
121211
+ pan: Hr(vB.pan, this),
121212
+ zoom: Hr(vB.zoom, this),
121213
+ scrollMove: Hr(vB.scrollMove, this)
121214
121214
  });
121215
121215
  }, e.prototype.dispose = function() {
121216
121216
  this._clear(), t.prototype.dispose.apply(this, arguments);
@@ -121358,7 +121358,7 @@ var z_ = po, fhe = 7, X9t = 1, mB = 30, Z9t = 7, H_ = "horizontal", hhe = "verti
121358
121358
  return n.type = e.type, n._displayables = {}, n;
121359
121359
  }
121360
121360
  return e.prototype.init = function(n, r) {
121361
- this.api = r, this._onBrush = zr(this._onBrush, this), this._onBrushEnd = zr(this._onBrushEnd, this);
121361
+ this.api = r, this._onBrush = Hr(this._onBrush, this), this._onBrushEnd = Hr(this._onBrushEnd, this);
121362
121362
  }, e.prototype.render = function(n, r, i, a) {
121363
121363
  if (t.prototype.render.apply(this, arguments), Y3(this, "_dispatchZoomAction", n.get("throttle"), "fixRate"), this._orient = n.getOrient(), n.get("show") === !1) {
121364
121364
  this.group.removeAll();
@@ -121452,7 +121452,7 @@ var z_ = po, fhe = 7, X9t = 1, mB = 30, Z9t = 7, H_ = "horizontal", hhe = "verti
121452
121452
  fill: "transparent"
121453
121453
  },
121454
121454
  z2: 0,
121455
- onclick: zr(this._onClickPanel, this)
121455
+ onclick: Hr(this._onClickPanel, this)
121456
121456
  }), s = this.api.getZr();
121457
121457
  a ? (o.on("mousedown", this._onBrushStart, this), o.cursor = "crosshair", s.on("mousemove", this._onBrush), s.on("mouseup", this._onBrushEnd)) : (s.off("mousemove", this._onBrush), s.off("mouseup", this._onBrushEnd)), i.add(o);
121458
121458
  }, e.prototype._renderDataShadow = function() {
@@ -121555,10 +121555,10 @@ var z_ = po, fhe = 7, X9t = 1, mB = 30, Z9t = 7, H_ = "horizontal", hhe = "verti
121555
121555
  w.attr({
121556
121556
  cursor: phe(this._orient),
121557
121557
  draggable: !0,
121558
- drift: zr(this._onDragMove, this, b),
121559
- ondragend: zr(this._onDragEnd, this),
121560
- onmouseover: zr(this._showDataInfo, this, !0),
121561
- onmouseout: zr(this._showDataInfo, this, !1),
121558
+ drift: Hr(this._onDragMove, this, b),
121559
+ ondragend: Hr(this._onDragEnd, this),
121560
+ onmouseover: Hr(this._showDataInfo, this, !0),
121561
+ onmouseout: Hr(this._showDataInfo, this, !1),
121562
121562
  z2: 5
121563
121563
  });
121564
121564
  var E = w.getBoundingRect(), I = c.get("handleSize");
@@ -121609,11 +121609,11 @@ var z_ = po, fhe = 7, X9t = 1, mB = 30, Z9t = 7, H_ = "horizontal", hhe = "verti
121609
121609
  p.attr({
121610
121610
  draggable: !0,
121611
121611
  cursor: phe(this._orient),
121612
- drift: zr(this._onDragMove, this, "all"),
121613
- ondragstart: zr(this._showDataInfo, this, !0),
121614
- ondragend: zr(this._onDragEnd, this),
121615
- onmouseover: zr(this._showDataInfo, this, !0),
121616
- onmouseout: zr(this._showDataInfo, this, !1)
121612
+ drift: Hr(this._onDragMove, this, "all"),
121613
+ ondragstart: Hr(this._showDataInfo, this, !0),
121614
+ ondragend: Hr(this._onDragEnd, this),
121615
+ onmouseover: Hr(this._showDataInfo, this, !0),
121616
+ onmouseout: Hr(this._showDataInfo, this, !1)
121617
121617
  });
121618
121618
  }, e.prototype._resetInterval = function() {
121619
121619
  var n = this._range = this.dataZoomModel.getPercentRange(), r = this._getViewExtent();
@@ -121844,7 +121844,7 @@ var vhe = ud.mapVisual, iPt = ud.eachVisual, aPt = Gn, ghe = _e, oPt = cp, sPt =
121844
121844
  !r && aAe(i, n, this.replacableOptionKeys), this.textStyleModel = this.getModel("textStyle"), this.resetItemSize(), this.completeVisualOption();
121845
121845
  }, e.prototype.resetVisual = function(n) {
121846
121846
  var r = this.stateList;
121847
- n = zr(n, this), this.controllerVisuals = NG(this.option.controller, r, n), this.targetVisuals = NG(this.option.target, r, n);
121847
+ n = Hr(n, this), this.controllerVisuals = NG(this.option.controller, r, n), this.targetVisuals = NG(this.option.target, r, n);
121848
121848
  }, e.prototype.getItemSymbol = function() {
121849
121849
  return null;
121850
121850
  }, e.prototype.getTargetSeriesIndices = function() {
@@ -122173,7 +122173,7 @@ var eg = as, fPt = _e, xhe = Math.min, yB = Math.max, hPt = 12, pPt = 6, vPt = (
122173
122173
  return n.type = e.type, n._shapes = {}, n._dataInterval = [], n._handleEnds = [], n._hoverLinkDataIndices = [], n;
122174
122174
  }
122175
122175
  return e.prototype.init = function(n, r) {
122176
- t.prototype.init.call(this, n, r), this._hoverLinkFromSeriesMouseOver = zr(this._hoverLinkFromSeriesMouseOver, this), this._hideIndicator = zr(this._hideIndicator, this);
122176
+ t.prototype.init.call(this, n, r), this._hoverLinkFromSeriesMouseOver = Hr(this._hoverLinkFromSeriesMouseOver, this), this._hideIndicator = Hr(this._hideIndicator, this);
122177
122177
  }, e.prototype.doRender = function(n, r, i, a) {
122178
122178
  (!a || a.type !== "selectDataRange" || a.from !== this.uid) && this._buildView();
122179
122179
  }, e.prototype._buildView = function() {
@@ -122199,7 +122199,7 @@ var eg = as, fPt = _e, xhe = Math.min, yB = Math.max, hPt = 12, pPt = 6, vPt = (
122199
122199
  }
122200
122200
  }, e.prototype._renderBar = function(n) {
122201
122201
  var r = this.visualMapModel, i = this._shapes, a = r.itemSize, o = this._orient, s = this._useHandle, c = bAe(r, this.api, a), u = i.mainGroup = this._createBarGroup(c), d = new ki();
122202
- u.add(d), d.add(i.outOfRange = Che()), d.add(i.inRange = Che(null, s ? She(this._orient) : null, zr(this._dragHandle, this, "all", !1), zr(this._dragHandle, this, "all", !0))), d.setClipPath(new po({
122202
+ u.add(d), d.add(i.outOfRange = Che()), d.add(i.inRange = Che(null, s ? She(this._orient) : null, Hr(this._dragHandle, this, "all", !1), Hr(this._dragHandle, this, "all", !0))), d.setClipPath(new po({
122203
122203
  shape: {
122204
122204
  x: 0,
122205
122205
  y: 0,
@@ -122211,7 +122211,7 @@ var eg = as, fPt = _e, xhe = Math.min, yB = Math.max, hPt = 12, pPt = 6, vPt = (
122211
122211
  var f = r.textStyleModel.getTextRect("国"), h = yB(f.width, f.height);
122212
122212
  s && (i.handleThumbs = [], i.handleLabels = [], i.handleLabelPoints = [], this._createHandle(r, u, 0, a, h, o), this._createHandle(r, u, 1, a, h, o)), this._createIndicator(r, u, a, h, o), n.add(u);
122213
122213
  }, e.prototype._createHandle = function(n, r, i, a, o, s) {
122214
- var c = zr(this._dragHandle, this, i, !1), u = zr(this._dragHandle, this, i, !0), d = Cv(n.get("handleSize"), a[0]), f = Bc(n.get("handleIcon"), -d / 2, -d / 2, d, d, null, !0), h = She(this._orient);
122214
+ var c = Hr(this._dragHandle, this, i, !1), u = Hr(this._dragHandle, this, i, !0), d = Cv(n.get("handleSize"), a[0]), f = Bc(n.get("handleIcon"), -d / 2, -d / 2, d, d, null, !0), h = She(this._orient);
122215
122215
  f.attr({
122216
122216
  cursor: h,
122217
122217
  draggable: !0,
@@ -122538,7 +122538,7 @@ var yPt = {
122538
122538
  var n = [];
122539
122539
  return e.eachComponent("visualMap", function(r) {
122540
122540
  var i = t.pipelineContext;
122541
- !r.isTargetSeries(t) || i && i.large || n.push(pOt(r.stateList, r.targetVisuals, zr(r.getValueState, r), r.getDataDimensionIndex(t.getData())));
122541
+ !r.isTargetSeries(t) || i && i.large || n.push(pOt(r.stateList, r.targetVisuals, Hr(r.getValueState, r), r.getDataDimensionIndex(t.getData())));
122542
122542
  }), n;
122543
122543
  }
122544
122544
  },
@@ -122549,7 +122549,7 @@ var yPt = {
122549
122549
  var n = t.getData(), r = [];
122550
122550
  e.eachComponent("visualMap", function(i) {
122551
122551
  if (i.isTargetSeries(t)) {
122552
- var a = i.getVisualMeta(zr(CPt, null, t, i)) || {
122552
+ var a = i.getVisualMeta(Hr(CPt, null, t, i)) || {
122553
122553
  stops: [],
122554
122554
  outerColors: []
122555
122555
  }, o = i.getDataDimensionIndex(n);
@@ -122823,7 +122823,7 @@ var TPt = (
122823
122823
  var r = this.visualMapModel, i = r.get("textGap"), a = r.textStyleModel, o = a.getFont(), s = a.getTextColor(), c = this._getItemAlign(), u = r.itemSize, d = this._getViewData(), f = d.endsText, h = Dc(r.get("showLabel", !0), !f);
122824
122824
  f && this._renderEndsText(n, f[0], u, h, c), _e(d.viewPieceList, function(p) {
122825
122825
  var v = p.piece, y = new ki();
122826
- y.onclick = zr(this._onItemClick, this, v), this._enableHoverLink(y, p.indexInModelPieceList);
122826
+ y.onclick = Hr(this._onItemClick, this, v), this._enableHoverLink(y, p.indexInModelPieceList);
122827
122827
  var g = r.getRepresentValue(v);
122828
122828
  if (this._createItemSymbol(y, g, [0, 0, u[0], u[1]]), h) {
122829
122829
  var m = this.visualMapModel.getValueState(g);
@@ -124929,7 +124929,7 @@ const aHt = yc((t, e) => {
124929
124929
  }
124930
124930
  });
124931
124931
  }
124932
- }, Hr = Xl((rt, gt, Ue, Fe, et) => {
124932
+ }, Vr = Xl((rt, gt, Ue, Fe, et) => {
124933
124933
  rt.stopPropagation();
124934
124934
  let vt = new URL(window.location.href), at = new URLSearchParams(vt.search), ot = gt, St = m3e(ot, xe.current), ve = sg(ot, xe.current).children, Be = B + "/data/" + Q.current + "/" + Zr(ot) + ".FBX";
124935
124935
  for (var je = 0; je < St.length; je++) {
@@ -125056,7 +125056,7 @@ const aHt = yc((t, e) => {
125056
125056
  ) : null,
125057
125057
  R.createElement("div", { ref: St == 0 ? u : null, style: { width: 20, height: 20, marginLeft: 8 } }, ot.children && y && (D == "task3D" || D == "3Dlabel") ? R.createElement(Bi, { placement: "right", title: we.includes(ot.key) ? "Assemle" : "Expand" }, we.includes(ot.key) ? R.createElement(
125058
125058
  "svg",
125059
- { width: "20px", height: "20px", viewBox: "0 0 128 128", version: "1.1", xmlns: "http://www.w3.org/2000/svg", onClick: (ct) => Hr(ct, ot.key, `${ot.key}`, ot.color, ot.z) },
125059
+ { width: "20px", height: "20px", viewBox: "0 0 128 128", version: "1.1", xmlns: "http://www.w3.org/2000/svg", onClick: (ct) => Vr(ct, ot.key, `${ot.key}`, ot.color, ot.z) },
125060
125060
  R.createElement(
125061
125061
  "g",
125062
125062
  { id: "#1296dbff" },
@@ -125077,7 +125077,7 @@ const aHt = yc((t, e) => {
125077
125077
  )
125078
125078
  ) : R.createElement(
125079
125079
  "svg",
125080
- { width: "20px", height: "20px", viewBox: "0 0 128 128", version: "1.1", xmlns: "http://www.w3.org/2000/svg", onClick: (ct) => Hr(ct, ot.key, `${ot.key}`, ot.color, ot.z) },
125080
+ { width: "20px", height: "20px", viewBox: "0 0 128 128", version: "1.1", xmlns: "http://www.w3.org/2000/svg", onClick: (ct) => Vr(ct, ot.key, `${ot.key}`, ot.color, ot.z) },
125081
125081
  R.createElement(
125082
125082
  "g",
125083
125083
  { id: "#1296dbff" },
@@ -125477,7 +125477,7 @@ const aHt = yc((t, e) => {
125477
125477
  let gt = JSON.parse(Zhe);
125478
125478
  for (let Ue = 0; Ue < gt.length; Ue++) {
125479
125479
  let Fe = sg(gt[Ue], xe.current);
125480
- Fe && Hr({
125480
+ Fe && Vr({
125481
125481
  stopPropagation: () => {
125482
125482
  }
125483
125483
  }, Fe.key, `${Fe.key}`, Fe.color, Fe.z);
@@ -125591,7 +125591,7 @@ const aHt = yc((t, e) => {
125591
125591
  oe.current[rt] && (Ae.current.remove(oe.current[rt]), oe.current[rt] = null, delete oe.current[rt]);
125592
125592
  const gt = Ae.current.getObjectByName(`swcPointGroup${rt}`);
125593
125593
  gt && Ae.current.remove(gt);
125594
- }, Vr = (rt) => rt.map((gt) => ({
125594
+ }, $r = (rt) => rt.map((gt) => ({
125595
125595
  value: gt.name + " " + gt.fullname,
125596
125596
  title: R.createElement(
125597
125597
  Bi,
@@ -125604,7 +125604,7 @@ const aHt = yc((t, e) => {
125604
125604
  gt.fullname
125605
125605
  )
125606
125606
  ),
125607
- children: gt.children ? Vr(gt.children) : void 0
125607
+ children: gt.children ? $r(gt.children) : void 0
125608
125608
  })), kn = (rt) => {
125609
125609
  Ae.current.remove(hm), Ae.current.remove(xu), i.current[rt] && (Ae.current.remove(i.current[rt].contentobj), i.current[rt].contentobj.traverse(function(gt) {
125610
125610
  gt.type == "Mesh" && (gt.geometry.dispose(), gt.geometry = null);
@@ -125672,7 +125672,7 @@ const aHt = yc((t, e) => {
125672
125672
  pt.current = !0;
125673
125673
  let gt = new URL(window.location.href), Ue = new URLSearchParams(gt.search);
125674
125674
  Ue.set("neuronsSomaLocates", JSON.stringify(rt)), gt.search = Ue.toString(), window.history.replaceState({}, "", gt), rt != "" ? re(rt) : (re(rt), j(Ee.current));
125675
- }, $r = Ea(gr, 50), ti = () => {
125675
+ }, zr = Ea(gr, 50), ti = () => {
125676
125676
  let rt = [Ki.current, wa.current, ee.current];
125677
125677
  for (let et of rt)
125678
125678
  for (let vt in et)
@@ -125744,8 +125744,8 @@ const aHt = yc((t, e) => {
125744
125744
  return R.createElement("div", { ref: c, style: { transition: "all ease-in 0.5s" } }, s === "swc" ? R.createElement(
125745
125745
  R.Fragment,
125746
125746
  null,
125747
- q ? R.createElement($4, { ref: it, style: { width: "100%", marginBottom: 8 }, options: ce, placeholder: p("5000.5040") || "Input the region that soma locates", onSearch: mi, onChange: $r, value: q }) : R.createElement(vb, { ref: Re, showSearch: !0, style: { width: "100%", marginBottom: 8 }, value: q, dropdownStyle: { maxHeight: 400, overflow: "hidden" }, placeholder: p("5000.5040") || "Input the region that soma locates", allowClear: !0, treeDefaultExpandAll: !1, onChange: gr, onSearch: gr, treeData: Vr(r) }),
125748
- ne ? R.createElement($4, { ref: He, style: { width: "100%", marginBottom: 8 }, options: ce, placeholder: p("5000.5041") || "Input the region that neuron projects", onSearch: mi, onChange: lr, value: ne }) : R.createElement(vb, { showSearch: !0, ref: ht, style: { width: "100%" }, value: ne, dropdownStyle: { maxHeight: 400, overflow: "hidden", marginBottom: 8 }, placeholder: p("5000.5041") || "Input the region that neuron projects", allowClear: !0, treeDefaultExpandAll: !1, onChange: Un, onSearch: Un, treeData: Vr(r) }),
125747
+ q ? R.createElement($4, { ref: it, style: { width: "100%", marginBottom: 8 }, options: ce, placeholder: p("5000.5040") || "Input the region that soma locates", onSearch: mi, onChange: zr, value: q }) : R.createElement(vb, { ref: Re, showSearch: !0, style: { width: "100%", marginBottom: 8 }, value: q, dropdownStyle: { maxHeight: 400, overflow: "hidden" }, placeholder: p("5000.5040") || "Input the region that soma locates", allowClear: !0, treeDefaultExpandAll: !1, onChange: gr, onSearch: gr, treeData: $r(r) }),
125748
+ ne ? R.createElement($4, { ref: He, style: { width: "100%", marginBottom: 8 }, options: ce, placeholder: p("5000.5041") || "Input the region that neuron projects", onSearch: mi, onChange: lr, value: ne }) : R.createElement(vb, { showSearch: !0, ref: ht, style: { width: "100%" }, value: ne, dropdownStyle: { maxHeight: 400, overflow: "hidden", marginBottom: 8 }, placeholder: p("5000.5041") || "Input the region that neuron projects", allowClear: !0, treeDefaultExpandAll: !1, onChange: Un, onSearch: Un, treeData: $r(r) }),
125749
125749
  H && R.createElement(
125750
125750
  R.Fragment,
125751
125751
  null,
@@ -129509,11 +129509,11 @@ oy(6, () => {
129509
129509
  throw new Error("old style JPEG compression is not supported.");
129510
129510
  });
129511
129511
  oy(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
129512
- oy([8, 32946], () => import("./deflate-264cd026.mjs").then((t) => t.default));
129512
+ oy([8, 32946], () => import("./deflate-01b7e217.mjs").then((t) => t.default));
129513
129513
  oy(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
129514
129514
  oy(
129515
129515
  34887,
129516
- () => import("./lerc-3ba26f51.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
129516
+ () => import("./lerc-39979982.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
129517
129517
  );
129518
129518
  oy(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
129519
129519
  function oR(t, e, n, r = 1) {
@@ -131314,7 +131314,7 @@ const QUt = {
131314
131314
  return t[e] = n, eFt(e, n), !0;
131315
131315
  }
131316
131316
  }, Da = new Proxy(QUt, tFt), nFt = yc((t, e) => {
131317
- 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: x, activetabIndex: b, material: C, setShowimage: w, childRef: E, checkItems: I, setoutflag: P, fetchCoordinateFunc: M, setendPoint: N, clickPoint: D, outflagRef: B, axis_font: H, setdatum: F, modeChoose: G, setShowModeChoose: z, virusModeValue: V, setShowTabNums: j, pipelineClickEvent: Y, automaticGroup: W, focusVirusLineItem: Z, setMenuTagShow: ne, responsefunc: se, mode: q, setCheckItems: re, setLeftMenuTabIndex: oe, updatePage: ie, swcItem: ee, axon_check: ye, swcnameMesh: pe, setMode: he, vesselRef: te, swcRef: xe, vesselStr: Q, lableStr: be, setShowSettingModal: ue, showSettingModal: Ee, fbxTreeDatas: Pe, composer: $e, setEchartValue: Ne, echartValue: we, sectionsInfoRef: Ke, sectionsInfo: ge, setSectionsInfo: ce, gray_value: Le, setLuguchecked: it, Luguchecked: Re, datum: He, setGridShow: ht, PointShow: dt, nodeStr: pt, lefttab: Et, righttab: st, atlasData: De, flowObjectsRef: ft, setTip: nt, tip: Je } = t, [Ct, ze] = yt(!1), [Lt, At] = yt(!1), [Ut, Ot] = yt(!1), [Vt, Xt] = yt(!1), [hn, Cn] = yt(!1), [_n, $n] = yt(!1), [rn, Or] = yt(!1), [An, yn] = yt(!1), [Nn, pn] = yt(Da.atlasReslicingInfo.angleX || 120), [Kn, fr] = yt(Da.atlasReslicingInfo.angleY || 320), [Rr, zn] = yt(Da.atlasReslicingInfo.angleZ || 270), [ar, Ge] = yt(Da.atlasReslicingInfo.positionX || 0), [Mt, kt] = yt(Da.atlasReslicingInfo.positionY || 0), [Bt, Ft] = yt(Da.atlasReslicingInfo.positionZ || 0), [Gt, zt] = yt(Da.atlasReslicingInfo.translateX || !0), [qt, Bn] = yt(Da.atlasReslicingInfo.translateY || !0), [Ht, Pt] = yt(Da.atlasReslicingInfo.translateZ || !0), [Jt, Vn] = yt(Da.atlasReslicingInfo.rotate || !0), [Mn, Cr] = yt(Da.atlasReslicingInfo.ButtonDisabled || !0), [Mr, Yn] = yt(!1), [on, Xn] = yt(!1), [wn, Sn] = yt(!1), [Pn, Jn] = yt(!1), [Zr, wr] = yt(a("5000.0006") || "显示数据块"), [Hr, sr] = yt(1), [br, ei] = yt(1), [tr, Nr] = yt([]), [ji, Zi] = yt([]), [Ui, Yi] = yt(!1), [$i, xa] = yt({}), [No, Ea] = yt(!1), [ii, ai] = yt(""), [va, Qt] = yt("Config_DAPI.ini"), [_t, bn] = yt("applySTAM2CCF"), [xt, un] = yt(0), [cr, Kr] = yt(!1), [hr, Vr] = yt(!1), [kn, Hn] = yt(!1), [dr, sn] = yt(!0), [Un, lr] = yt(2), [gr, $r] = yt(!1), [ti, Jr] = yt({}), mi = qe(Da.atlasReslicingInfo.direction1 || 4), Ya = qe(null), Qi = qe(null), [ts, co] = yt(!1), Ga = qe(null), rt = qe(window.location.href.split("/")[2]), gt = qe(new fS(Ni.current, f == null ? void 0 : f.domElement)), Ue = qe(0), Fe = qe(0), et = qe(new rr()), vt = qe(new Te()), at = qe(new Te()), ot = qe(new rr()), St = qe(new Te(1, 0, 0)), de = qe(new rr()), ve = qe(null), Be = qe(new jz()), je = qe(null), tt = qe([]), ct = qe(null), jt = qe(new rr()), Rt = qe(new Ku()), [fn, Nt] = yt(Da.otherAtlases), Zt = {
131317
+ 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: x, activetabIndex: b, material: C, setShowimage: w, childRef: E, checkItems: I, setoutflag: P, fetchCoordinateFunc: M, setendPoint: N, clickPoint: D, outflagRef: B, axis_font: H, setdatum: F, modeChoose: G, setShowModeChoose: z, virusModeValue: V, setShowTabNums: j, pipelineClickEvent: Y, automaticGroup: W, focusVirusLineItem: Z, setMenuTagShow: ne, responsefunc: se, mode: q, setCheckItems: re, setLeftMenuTabIndex: oe, updatePage: ie, swcItem: ee, axon_check: ye, swcnameMesh: pe, setMode: he, vesselRef: te, swcRef: xe, vesselStr: Q, lableStr: be, setShowSettingModal: ue, showSettingModal: Ee, fbxTreeDatas: Pe, composer: $e, setEchartValue: Ne, echartValue: we, sectionsInfoRef: Ke, sectionsInfo: ge, setSectionsInfo: ce, gray_value: Le, setLuguchecked: it, Luguchecked: Re, datum: He, setGridShow: ht, PointShow: dt, nodeStr: pt, lefttab: Et, righttab: st, atlasData: De, flowObjectsRef: ft, setTip: nt, tip: Je } = t, [Ct, ze] = yt(!1), [Lt, At] = yt(!1), [Ut, Ot] = yt(!1), [Vt, Xt] = yt(!1), [hn, Cn] = yt(!1), [_n, $n] = yt(!1), [rn, Or] = yt(!1), [An, yn] = yt(!1), [Nn, pn] = yt(Da.atlasReslicingInfo.angleX || 120), [Kn, fr] = yt(Da.atlasReslicingInfo.angleY || 320), [Rr, zn] = yt(Da.atlasReslicingInfo.angleZ || 270), [ar, Ge] = yt(Da.atlasReslicingInfo.positionX || 0), [Mt, kt] = yt(Da.atlasReslicingInfo.positionY || 0), [Bt, Ft] = yt(Da.atlasReslicingInfo.positionZ || 0), [Gt, zt] = yt(Da.atlasReslicingInfo.translateX || !0), [qt, Bn] = yt(Da.atlasReslicingInfo.translateY || !0), [Ht, Pt] = yt(Da.atlasReslicingInfo.translateZ || !0), [Jt, Vn] = yt(Da.atlasReslicingInfo.rotate || !0), [Mn, Cr] = yt(Da.atlasReslicingInfo.ButtonDisabled || !0), [Mr, Yn] = yt(!1), [on, Xn] = yt(!1), [wn, Sn] = yt(!1), [Pn, Jn] = yt(!1), [Zr, wr] = yt(a("5000.0006") || "显示数据块"), [Vr, sr] = yt(1), [br, ei] = yt(1), [tr, Nr] = yt([]), [ji, Zi] = yt([]), [Ui, Yi] = yt(!1), [$i, xa] = yt({}), [No, Ea] = yt(!1), [ii, ai] = yt(""), [va, Qt] = yt("Config_DAPI.ini"), [_t, bn] = yt("applySTAM2CCF"), [xt, un] = yt(0), [cr, Kr] = yt(!1), [hr, $r] = yt(!1), [kn, Hn] = yt(!1), [dr, sn] = yt(!0), [Un, lr] = yt(2), [gr, zr] = yt(!1), [ti, Jr] = yt({}), mi = qe(Da.atlasReslicingInfo.direction1 || 4), Ya = qe(null), Qi = qe(null), [ts, co] = yt(!1), Ga = qe(null), rt = qe(window.location.href.split("/")[2]), gt = qe(new fS(Ni.current, f == null ? void 0 : f.domElement)), Ue = qe(0), Fe = qe(0), et = qe(new rr()), vt = qe(new Te()), at = qe(new Te()), ot = qe(new rr()), St = qe(new Te(1, 0, 0)), de = qe(new rr()), ve = qe(null), Be = qe(new jz()), je = qe(null), tt = qe([]), ct = qe(null), jt = qe(new rr()), Rt = qe(new Ku()), [fn, Nt] = yt(Da.otherAtlases), Zt = {
131318
131318
  min: new Te(59.74305725097656, 69.15838623046875, 0.9565062522888184),
131319
131319
  max: new Te(1081.3045654296875, 800.6698608398438, 1400.156005859375)
131320
131320
  }, [_r, Zn] = yt([]), Qn = qe({}), Rn = qe(!1), ui = qe([0, 0]), di = qe([0, 0]), gn = qe(""), nn = qe(!1), [yi, Wr] = yt(!1), [Qr, Yo] = yt(!1), [Ca, ja] = yt(0), [pi, ni] = yt(0), [da, Ts] = yt([]), [Oa, ns] = yt([]), Is = qe(null), As = qe(null), [Ws, So] = yt(""), [ro, nl] = yt(null), [ys, os] = yt(lve || ""), [or, Eo] = yt(!1);
@@ -132448,26 +132448,26 @@ const QUt = {
132448
132448
  return wt;
132449
132449
  }
132450
132450
  return null;
132451
- }, cc = za(() => (Hr == 3 || Hr == 4) && !(Z || be) ? [
132452
- Hr == 3 && Cc != 1 ? {
132451
+ }, cc = za(() => (Vr == 3 || Vr == 4) && !(Z || be) ? [
132452
+ Vr == 3 && Cc != 1 ? {
132453
132453
  key: "3",
132454
132454
  label: R.createElement("a", { target: "_blank", style: { width: "150px", textAlign: "center" }, onClick: (Ie) => {
132455
132455
  vn(1), ne(!0);
132456
132456
  } }, a("5000.6025") || "切换到冠状面")
132457
132457
  } : null,
132458
- Hr == 3 && Cc != 2 ? {
132458
+ Vr == 3 && Cc != 2 ? {
132459
132459
  key: "4",
132460
132460
  label: R.createElement("a", { target: "_blank", style: { width: "150px", textAlign: "center" }, onClick: (Ie) => {
132461
132461
  vn(2), ne(!0);
132462
132462
  } }, a("5000.6026") || "切换到矢状面")
132463
132463
  } : null,
132464
- Hr == 3 && Cc != 3 ? {
132464
+ Vr == 3 && Cc != 3 ? {
132465
132465
  key: "5",
132466
132466
  label: R.createElement("a", { target: "_blank", style: { width: "150px", textAlign: "center" }, onClick: (Ie) => {
132467
132467
  vn(3), ne(!0);
132468
132468
  } }, a("5000.6027") || "切换到水平面")
132469
132469
  } : null,
132470
- Hr == 3 && Cc != 4 ? {
132470
+ Vr == 3 && Cc != 4 ? {
132471
132471
  key: "6",
132472
132472
  label: R.createElement("a", { target: "_blank", style: { width: "150px", textAlign: "center" }, onClick: (Ie) => {
132473
132473
  vn(4), ne(!0);
@@ -132476,7 +132476,7 @@ const QUt = {
132476
132476
  ge.brains ? {
132477
132477
  key: "1",
132478
132478
  label: R.createElement("a", { target: "_blank", type: "primary", onClick: () => {
132479
- Dt(ge.brains, Hr == 4), ne(!0);
132479
+ Dt(ge.brains, Vr == 4), ne(!0);
132480
132480
  } }, a("5000.6018") || "查看更高分辨率图像")
132481
132481
  } : null,
132482
132482
  ge.brains ? {
@@ -132518,7 +132518,7 @@ const QUt = {
132518
132518
  // </a>
132519
132519
  // )
132520
132520
  // }:null,
132521
- Hr != 7 && (st.length == 0 || st.includes("neurons")) && be ? {
132521
+ Vr != 7 && (st.length == 0 || st.includes("neurons")) && be ? {
132522
132522
  key: "3",
132523
132523
  label: R.createElement("a", { style: { width: "150px", color: "#000", textAlign: "center" }, onClick: () => {
132524
132524
  vo(7), ne(!0), setTimeout(() => {
@@ -132546,7 +132546,7 @@ const QUt = {
132546
132546
  }
132547
132547
  } }, a("7000.7019") || "设置为焦点")
132548
132548
  } : null,
132549
- be && Hr == 5 ? {
132549
+ be && Vr == 5 ? {
132550
132550
  key: "5",
132551
132551
  label: R.createElement("a", { style: { width: "150px", color: "#000", textAlign: "center" }, onClick: () => {
132552
132552
  const Ie = new ws(), Xe = Ae.current.getObjectByName(be);
@@ -132626,7 +132626,7 @@ const QUt = {
132626
132626
  pt.Lable && Gr(pt.Lable), ne(!0);
132627
132627
  } }, E.current.checkedKeys.current.includes(pt.Lable) ? a("5000.6023", { name: pt.Lable }) || `隐藏${pt.Lable}的三维形貌` : a("5000.6024", { name: pt.Lable }) || `显示${pt.Lable}的三维形貌`)
132628
132628
  }
132629
- ] : [], [Z, Q, ee, be, Hr, Ws, ge, ro, pt]), To = (Ie) => {
132629
+ ] : [], [Z, Q, ee, be, Vr, Ws, ge, ro, pt]), To = (Ie) => {
132630
132630
  Ie = Ie.replace(/[\[\]]/g, "\\$&");
132631
132631
  var Xe = new RegExp("[?&]" + Ie + "(=([^&#]*)|&|#|$)"), ut = Xe.exec(window.location.href);
132632
132632
  return ut ? ut[2] ? decodeURIComponent(ut[2].replace(/\+/g, " ")) : "" : null;
@@ -132692,7 +132692,7 @@ const QUt = {
132692
132692
  ge.brains && nl(ol(Oa, ge.brains));
132693
132693
  }, [ge]), En(() => {
132694
132694
  be && So(ol(Oa, be)), v(cc), hl.current = p;
132695
- }, [p, Z, I, Q, be, ee, Hr, we, ge, ro, pt]);
132695
+ }, [p, Z, I, Q, be, ee, Vr, we, ge, ro, pt]);
132696
132696
  const yu = async (Ie) => {
132697
132697
  ai(Ie.url || Ie.preview), Ea(!0);
132698
132698
  }, Ks = (Ie, Xe) => {
@@ -132755,7 +132755,7 @@ const QUt = {
132755
132755
  };
132756
132756
  } else
132757
132757
  Dn(!0);
132758
- }).then((Dn) => Dn ? (Hr == 6 ? ($t = ut || wt, ln = "You can only upload tif or swc files!") : ($t = ut, ln = "You can only upload tif files!"), $t || Pc.error(ln), $t) : !1);
132758
+ }).then((Dn) => Dn ? (Vr == 6 ? ($t = ut || wt, ln = "You can only upload tif or swc files!") : ($t = ut, ln = "You can only upload tif files!"), $t || Pc.error(ln), $t) : !1);
132759
132759
  }, uc = (Ie, Xe) => {
132760
132760
  const ut = new FormData();
132761
132761
  ut.append("file", Ie.file), fetch("/app-api/d-api/upload", {
@@ -133244,37 +133244,37 @@ const QUt = {
133244
133244
  switch (Un) {
133245
133245
  case 1:
133246
133246
  if (Yt * 0.8 > 1024 * 1024 * 1024) {
133247
- $r(!0);
133247
+ zr(!0);
133248
133248
  return;
133249
133249
  }
133250
133250
  break;
133251
133251
  case 2:
133252
133252
  if (Yt * 0.8 / 8 > 1024 * 1024 * 1024) {
133253
- $r(!0);
133253
+ zr(!0);
133254
133254
  return;
133255
133255
  }
133256
133256
  break;
133257
133257
  case 3:
133258
133258
  if (Yt * 0.8 / 8 / 8 > 1024 * 1024 * 1024) {
133259
- $r(!0);
133259
+ zr(!0);
133260
133260
  return;
133261
133261
  }
133262
133262
  break;
133263
133263
  case 4:
133264
133264
  if (Yt * 0.8 / 8 / 8 / 8 > 1024 * 1024 * 1024) {
133265
- $r(!0);
133265
+ zr(!0);
133266
133266
  return;
133267
133267
  }
133268
133268
  break;
133269
133269
  case 5:
133270
133270
  if (Yt * 0.8 / 8 / 8 / 8 / 8 > 1024 * 1024 * 1024) {
133271
- $r(!0);
133271
+ zr(!0);
133272
133272
  return;
133273
133273
  }
133274
133274
  break;
133275
133275
  case 6:
133276
133276
  if (Yt * 0.8 / 8 / 8 / 8 / 8 / 8 > 1024 * 1024 * 1024) {
133277
- $r(!0);
133277
+ zr(!0);
133278
133278
  return;
133279
133279
  }
133280
133280
  break;
@@ -133444,7 +133444,7 @@ const QUt = {
133444
133444
  Xe && Ae.current.remove(Xe);
133445
133445
  }
133446
133446
  }, mR = () => {
133447
- if (Vr(!0), Hn(!0), D) {
133447
+ if ($r(!0), Hn(!0), D) {
133448
133448
  const Ie = { flag: uv.current, point: [D.current.x, D.current.y, D.current.z], fbx: W.current };
133449
133449
  fetch("/app-api/c-api/compute", {
133450
133450
  method: "post",
@@ -133455,11 +133455,11 @@ const QUt = {
133455
133455
  }).then((Xe) => {
133456
133456
  if (Xe.ok)
133457
133457
  return Xe.json();
133458
- throw Vr(!1), Hn(!1), cl.error({
133458
+ throw $r(!1), Hn(!1), cl.error({
133459
133459
  content: a("5000.7027") || "计算失败"
133460
133460
  }), new Error(Xe.statusText);
133461
133461
  }).then((Xe) => {
133462
- Vr(!1), Hn(!1), Xe.code === 200 && N ? N(new Te(Xe.point[0], Xe.point[1], Xe.point[2])) : cl.error({
133462
+ $r(!1), Hn(!1), Xe.code === 200 && N ? N(new Te(Xe.point[0], Xe.point[1], Xe.point[2])) : cl.error({
133463
133463
  content: a("5000.7027") || "计算失败"
133464
133464
  });
133465
133465
  });
@@ -133491,7 +133491,7 @@ const QUt = {
133491
133491
  const Xe = new URLSearchParams();
133492
133492
  for (const ut in Ie)
133493
133493
  Xe.append(ut, Ie[ut]);
133494
- Hr == 3 ? Xe.append("aplType", "2") : Xe.append("aplType", "1"), fetch("/app-api/java-api/brainsweb-service/apldetail/add", {
133494
+ Vr == 3 || Vr == 5 ? Xe.append("aplType", "2") : Xe.append("aplType", "1"), fetch("/app-api/java-api/brainsweb-service/apldetail/add", {
133495
133495
  method: "post",
133496
133496
  body: Xe
133497
133497
  }).then((ut) => {
@@ -133501,7 +133501,7 @@ const QUt = {
133501
133501
  content: a("5000.5047") || "提交失败"
133502
133502
  }), new Error(ut.statusText);
133503
133503
  }).then((ut) => {
133504
- ut.code == 1 && Pc.error("Repeat Email"), Pc.success(a("5000.5048") || "提交成功"), Wr(!1), ja(0);
133504
+ ut.code == 1 ? Pc.error("Repeat Email") : Pc.success(a("5000.5048") || "提交成功"), Wr(!1), ja(0);
133505
133505
  });
133506
133506
  }, dE = (Ie) => {
133507
133507
  console.log("Failed:", Ie);
@@ -133556,7 +133556,7 @@ const QUt = {
133556
133556
  }, style: { position: "absolute", right: `${dr ? "452px" : "126px"}`, top: "50%", transform: `rotate(${dr ? 180 : 0}deg) translate(-50%,0)`, fontSize: 28, transition: "all 0.1s", zIndex: 1e3 } }),
133557
133557
  R.createElement(
133558
133558
  zm,
133559
- { className: "tabsCompnent", onChange: vo, activeKey: Hr.toString(), style: { position: "absolute", right: 0, bottom: 0, width: `${dr ? "430px" : "150px"}`, height: st.length != 7 ? "100%" : "calc(100% - 42px)", userSelect: "none", borderTop: "1px solid rgb(225, 218, 218)" }, tabPosition: "right", tabBarStyle: {
133559
+ { className: "tabsCompnent", onChange: vo, activeKey: Vr.toString(), style: { position: "absolute", right: 0, bottom: 0, width: `${dr ? "430px" : "150px"}`, height: st.length != 7 ? "100%" : "calc(100% - 42px)", userSelect: "none", borderTop: "1px solid rgb(225, 218, 218)" }, tabPosition: "right", tabBarStyle: {
133560
133560
  width: 150,
133561
133561
  background: "#fff",
133562
133562
  borderLeft: "1px solid #e1dada"
@@ -134173,10 +134173,10 @@ const QUt = {
134173
134173
  R.createElement(y0, { open: _n, onClose: () => $n(!1), steps: Pi, mask: !0 }),
134174
134174
  R.createElement(y0, { open: rn, onClose: () => Or(!1), steps: Wc, mask: !0 }),
134175
134175
  R.createElement(y0, { open: An, onClose: () => yn(!1), steps: Rl, mask: !0 }),
134176
- R.createElement(lM, { direction: 2, percentage: 0.2, pointMax: vt.current, pointMin: at.current, color: 16777215, sliceImgNum: 205, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, cube_helper: ot, renderer: f, showMesh: Mr, setAngleX: pn, setAngleY: fr, setAngleZ: zn, gray_value: Le, slicing_url: Fa, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Hr }),
134177
- R.createElement(lM, { direction: 3, percentage: 0.2, pointMax: vt.current, pointMin: at.current, color: 16777215, sliceImgNum: 160, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, cube_helper: ot, renderer: f, showMesh: on, setAngleX: pn, setAngleY: fr, setAngleZ: zn, gray_value: Le, slicing_url: Fa, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Hr }),
134178
- R.createElement(lM, { direction: 1, percentage: 0.2, pointMax: vt.current, pointMin: at.current, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, cube_helper: ot, renderer: f, showMesh: wn, setAngleX: pn, setAngleY: fr, setAngleZ: zn, gray_value: Le, slicing_url: Fa, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Hr }),
134179
- R.createElement(lM, { direction: 4, percentage: 0.5, pointMax: vt.current, pointMin: at.current, slice_arbitrary: et, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, normalVector: St, cube_helper: ot, renderer: f, showMesh: Pn, setAngleX: pn, setAngleY: fr, setAngleZ: zn, slicing_url: Fa, settransformControlsType: ql, gray_value: Le, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Hr }),
134176
+ R.createElement(lM, { direction: 2, percentage: 0.2, pointMax: vt.current, pointMin: at.current, color: 16777215, sliceImgNum: 205, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, cube_helper: ot, renderer: f, showMesh: Mr, setAngleX: pn, setAngleY: fr, setAngleZ: zn, gray_value: Le, slicing_url: Fa, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Vr }),
134177
+ R.createElement(lM, { direction: 3, percentage: 0.2, pointMax: vt.current, pointMin: at.current, color: 16777215, sliceImgNum: 160, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, cube_helper: ot, renderer: f, showMesh: on, setAngleX: pn, setAngleY: fr, setAngleZ: zn, gray_value: Le, slicing_url: Fa, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Vr }),
134178
+ R.createElement(lM, { direction: 1, percentage: 0.2, pointMax: vt.current, pointMin: at.current, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, cube_helper: ot, renderer: f, showMesh: wn, setAngleX: pn, setAngleY: fr, setAngleZ: zn, gray_value: Le, slicing_url: Fa, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Vr }),
134179
+ R.createElement(lM, { direction: 4, percentage: 0.5, pointMax: vt.current, pointMin: at.current, slice_arbitrary: et, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: gt, controls: h, canvas_width: Ue, canvas_height: Fe, handleStateUpdate: wc, normalVector: St, cube_helper: ot, renderer: f, showMesh: Pn, setAngleX: pn, setAngleY: fr, setAngleZ: zn, slicing_url: Fa, settransformControlsType: ql, gray_value: Le, setSectionsInfo: ce, sectionsInfoRef: Ke, sectionPointRef: xs, composer: $e, menutagShowRef: hl, tabIndex: Vr }),
134180
134180
  R.createElement(
134181
134181
  "div",
134182
134182
  { id: "spinner", style: { position: "absolute", zIndex: 999, left: 0, top: 0, width: "100%", height: "100%", display: `${kn ? "block" : "none"}`, opacity: 0.7, backgroundColor: "#ffffff" } },
@@ -134193,8 +134193,8 @@ const QUt = {
134193
134193
  endX:${(Qn.current.ewidth * 11.15).toFixed(2)},startY:${(Qn.current.eheight * 12.31).toFixed(2)},startZ:${(Qn.current.edepth * 10).toFixed(2)}
134194
134194
  Downsampling level:${Un}
134195
134195
  `, wt = `mailto:fengzhao@brainsmatics.org?subject=${encodeURIComponent(Ie)}&body=${encodeURIComponent(Xe)}`, $t = document.createElement("a");
134196
- $t.href = wt, $t.click(), $r(!1);
134197
- }, onCancel: () => $r(!1) }, a("5000.0012") || "当前下载文件已超出服务器传输限制,您可以选择降低采样等级或者发送邮件,是否发送邮件?"),
134196
+ $t.href = wt, $t.click(), zr(!1);
134197
+ }, onCancel: () => zr(!1) }, a("5000.0012") || "当前下载文件已超出服务器传输限制,您可以选择降低采样等级或者发送邮件,是否发送邮件?"),
134198
134198
  R.createElement(cl, { open: yi, centered: !0, footer: null, onCancel: () => {
134199
134199
  Wr(!1), ja(0);
134200
134200
  } }, Ca === 0 ? R.createElement(
@@ -134375,7 +134375,7 @@ Downsampling level:${Un}
134375
134375
  "Content-Type": "application/json"
134376
134376
  },
134377
134377
  body: JSON.stringify({ key: gn.current, aplType: 2 })
134378
- }).then((Ie) => Ie.ok ? (Yo(!1), nn.current = !0, Hr == 3 ? ea() : c0(), Ie.json()) : (nn.current = !1, Ie.json())).then((Ie) => {
134378
+ }).then((Ie) => Ie.ok ? (Yo(!1), nn.current = !0, Vr == 3 ? ea() : c0(), Ie.json()) : (nn.current = !1, Ie.json())).then((Ie) => {
134379
134379
  Ie.message && cl.error({
134380
134380
  content: Ie.message
134381
134381
  });
@@ -137297,7 +137297,7 @@ const YB = yc((t, e) => {
137297
137297
  showSwctext: hr,
137298
137298
  ProcessedData: ft,
137299
137299
  neurons_line: pe,
137300
- removeSWCAll: Vr,
137300
+ removeSWCAll: $r,
137301
137301
  setPathOpen: Ne,
137302
137302
  getParentKey: lp,
137303
137303
  vesselObj: i
@@ -137563,7 +137563,7 @@ const YB = yc((t, e) => {
137563
137563
  }
137564
137564
  de.scale.set(ha.current, ha.current, ha.current), de.translateX(oo.current), de.translateY(Za.current), de.translateZ(Ka.current), de.name = et, de.myMeshType = "SWC", pe.current[et] = de, Ae.current.add(pe.current[et]), at && at();
137565
137565
  });
137566
- }, Hr = function(Ue) {
137566
+ }, Vr = function(Ue) {
137567
137567
  return Ue.replace("/", "_").replace(" ", "_");
137568
137568
  }, sr = (Ue, Fe, et) => {
137569
137569
  var at;
@@ -137613,7 +137613,7 @@ const YB = yc((t, e) => {
137613
137613
  }
137614
137614
  }, br = Xl((Ue, Fe, et, vt, at) => {
137615
137615
  Ue.stopPropagation();
137616
- let ot = new URL(window.location.href), St = new URLSearchParams(ot.search), de = Fe, ve = m3e(de, Ee.current), je = sg(de, Ee.current).children, tt = B + "/data/" + Pe.current + "/" + Hr(de) + ".FBX";
137616
+ let ot = new URL(window.location.href), St = new URLSearchParams(ot.search), de = Fe, ve = m3e(de, Ee.current), je = sg(de, Ee.current).children, tt = B + "/data/" + Pe.current + "/" + Vr(de) + ".FBX";
137617
137617
  for (var ct = 0; ct < ve.length; ct++) {
137618
137618
  if (un(ve[ct], !0), Le.includes(ve[ct])) {
137619
137619
  it((fn) => fn.filter((Nt) => Nt !== ve[ct]));
@@ -137633,7 +137633,7 @@ const YB = yc((t, e) => {
137633
137633
  St.set("regionsExpanded", fn), it((Nt) => [...Nt, de]), Rt && (Rt.style.display = "block"), Ki.current[de] ? (Ae.current.remove(Ki.current[de]), Ki.current[de].children[0].material.color.set("#DBDBDB"), Ae.current.add(Ki.current[de]), uv.current && (Ae.current.remove(wa.current[de]), wa.current[de].children[0].material.color.set("#DBDBDB"), Ae.current.add(wa.current[de]))) : Ld(tt, de, "#DBDBDB", 0.6, parseInt(at)), he.current = he.current.filter((Nt) => Nt !== de);
137634
137634
  for (var ct = 0; ct < je.length; ct++)
137635
137635
  if (je[ct]["3D"]) {
137636
- let Zt = parseInt(je[ct].z), _r = je[ct].color, Zn = B + "/data/" + Pe.current + "/" + Hr(je[ct].name) + ".FBX";
137636
+ let Zt = parseInt(je[ct].z), _r = je[ct].color, Zn = B + "/data/" + Pe.current + "/" + Vr(je[ct].name) + ".FBX";
137637
137637
  he.current.push(je[ct].name), $i(Zn, je[ct].name, _r, 0.6, Zt, function() {
137638
137638
  Rt && (Rt.style.display = "none");
137639
137639
  });
@@ -138045,7 +138045,7 @@ const YB = yc((t, e) => {
138045
138045
  });
138046
138046
  }
138047
138047
  else {
138048
- Vr(Be.name);
138048
+ $r(Be.name);
138049
138049
  let ct = new URL(window.location.href), jt = new URLSearchParams(ct.search);
138050
138050
  const fn = JSON.stringify([]);
138051
138051
  jt.set("neuronsChecked", fn), ct.search = jt.toString(), window.history.replaceState({}, "", ct), je("");
@@ -138065,7 +138065,7 @@ const YB = yc((t, e) => {
138065
138065
  else if (vt)
138066
138066
  Fe.forEach((ve) => {
138067
138067
  if (Fe) {
138068
- m((ct) => ct.filter((jt) => jt !== ve.name)), he.current = he.current.filter((ct) => ct !== ve.name), Vr(ve.name);
138068
+ m((ct) => ct.filter((jt) => jt !== ve.name)), he.current = he.current.filter((ct) => ct !== ve.name), $r(ve.name);
138069
138069
  let Be = new URL(window.location.href), je = new URLSearchParams(Be.search);
138070
138070
  const tt = JSON.stringify(he.current);
138071
138071
  if (je.set("neuronsChecked", tt), Be.search = je.toString(), window.history.replaceState({}, "", Be), E && ve.name in E.current) {
@@ -138083,7 +138083,7 @@ const YB = yc((t, e) => {
138083
138083
  Ae.current.remove(E.current[Ue.name][tt]);
138084
138084
  delete E.current[Ue.name];
138085
138085
  }
138086
- Vr(Ue.name), he.current = he.current.filter((tt) => tt !== Ue.name), m((tt) => tt.filter((ct) => ct !== Ue.name));
138086
+ $r(Ue.name), he.current = he.current.filter((tt) => tt !== Ue.name), m((tt) => tt.filter((ct) => ct !== Ue.name));
138087
138087
  let ve = new URL(window.location.href), Be = new URLSearchParams(ve.search);
138088
138088
  const je = JSON.stringify(he.current);
138089
138089
  Be.set("neuronsChecked", je), ve.search = Be.toString(), window.history.replaceState({}, "", ve);
@@ -138092,12 +138092,12 @@ const YB = yc((t, e) => {
138092
138092
  }
138093
138093
  case "soma": {
138094
138094
  g3e(at, tr).forEach((Be) => {
138095
- Fe.checked ? pe.current[at] || (h != null && h.current ? Un(ot, Be.color, at) : Un(B + "/data/json/" + at, Be.color, at)) : Vr(at);
138095
+ Fe.checked ? pe.current[at] || (h != null && h.current ? Un(ot, Be.color, at) : Un(B + "/data/json/" + at, Be.color, at)) : $r(at);
138096
138096
  });
138097
138097
  break;
138098
138098
  }
138099
138099
  case "fbx": {
138100
- let ve = parseInt(Fe.node.z), Be = B + "/data/FBX/" + Hr(at) + ".FBX";
138100
+ let ve = parseInt(Fe.node.z), Be = B + "/data/FBX/" + Vr(at) + ".FBX";
138101
138101
  Fe.checked ? (de && (de.style.display = "block"), Ld(Be, at, St, 0.8, ve, "FBX", function() {
138102
138102
  de && (de.style.display = "none");
138103
138103
  })) : un(at);
@@ -138115,7 +138115,7 @@ const YB = yc((t, e) => {
138115
138115
  node: { ...ot, checked: !0 }
138116
138116
  };
138117
138117
  if (s === "fbx") {
138118
- let de = B + "/data/FBX/" + Hr(ot.key) + ".FBX";
138118
+ let de = B + "/data/FBX/" + Vr(ot.key) + ".FBX";
138119
138119
  Ld(de, ot.key, ot.color, 0.8, ot.z, "FBX", function() {
138120
138120
  et && (et.style.display = "none"), vt += 1, vt === g.length && Ue("");
138121
138121
  });
@@ -138244,7 +138244,7 @@ const YB = yc((t, e) => {
138244
138244
  }
138245
138245
  vt.search = at.toString(), window.history.replaceState({}, "", vt);
138246
138246
  }
138247
- }, Vr = (Ue) => {
138247
+ }, $r = (Ue) => {
138248
138248
  pe.current[Ue] && (Ae.current.remove(pe.current[Ue]), pe.current[Ue] = null, delete pe.current[Ue]);
138249
138249
  const Fe = Ae.current.getObjectByName(`swcPointGroup${Ue}`);
138250
138250
  Fe && Ae.current.remove(Fe);
@@ -138325,11 +138325,11 @@ const YB = yc((t, e) => {
138325
138325
  ft.current = !0;
138326
138326
  let Fe = new URL(window.location.href), et = new URLSearchParams(Fe.search);
138327
138327
  et.set("neuronsProjects", JSON.stringify(Ue)), Fe.search = et.toString(), window.history.replaceState({}, "", Fe), Ue != "" ? ie(Ue) : (ie(Ue), ne(we.current));
138328
- }, gr = ii(lr, 50), $r = (Ue) => {
138328
+ }, gr = ii(lr, 50), zr = (Ue) => {
138329
138329
  ft.current = !0;
138330
138330
  let Fe = new URL(window.location.href), et = new URLSearchParams(Fe.search);
138331
138331
  et.set("neuronsSomaLocates", JSON.stringify(Ue)), Fe.search = et.toString(), window.history.replaceState({}, "", Fe), Ue != "" ? ye(Ue) : (ye(Ue), ne(we.current));
138332
- }, ti = ii($r, 50), Jr = () => {
138332
+ }, ti = ii(zr, 50), Jr = () => {
138333
138333
  let Ue = [Ki.current, wa.current, te.current];
138334
138334
  for (let at of Ue)
138335
138335
  for (let ot in at)
@@ -138337,7 +138337,7 @@ const YB = yc((t, e) => {
138337
138337
  Ne([]), Object.keys(pe.current).forEach((at) => {
138338
138338
  for (let ot in E == null ? void 0 : E.current[at])
138339
138339
  Ae.current.remove(E == null ? void 0 : E.current[at][ot]);
138340
- Vr(at);
138340
+ $r(at);
138341
138341
  }), Object.keys(i.current).forEach((at) => {
138342
138342
  Hn(at);
138343
138343
  }), m([]), E && (E.current = {}), he.current = [];
@@ -138431,7 +138431,7 @@ const YB = yc((t, e) => {
138431
138431
  width: "100%",
138432
138432
  marginBottom: 8
138433
138433
  } }),
138434
- ee ? R.createElement($4, { ref: dt, style: { width: "100%", marginBottom: 8 }, options: He, placeholder: p("5000.5040") || "Input the region that soma locates", onSearch: Ya, onChange: ti, value: ee }) : R.createElement(vb, { ref: pt, showSearch: !0, style: { width: "100%", marginBottom: 8 }, value: ee, dropdownStyle: { maxHeight: 400, overflow: "hidden" }, placeholder: p("5000.5040") || "Input the region that soma locates", allowClear: !0, treeDefaultExpandAll: !1, onChange: $r, onSearch: $r, treeData: kn(r) }),
138434
+ ee ? R.createElement($4, { ref: dt, style: { width: "100%", marginBottom: 8 }, options: He, placeholder: p("5000.5040") || "Input the region that soma locates", onSearch: Ya, onChange: ti, value: ee }) : R.createElement(vb, { ref: pt, showSearch: !0, style: { width: "100%", marginBottom: 8 }, value: ee, dropdownStyle: { maxHeight: 400, overflow: "hidden" }, placeholder: p("5000.5040") || "Input the region that soma locates", allowClear: !0, treeDefaultExpandAll: !1, onChange: zr, onSearch: zr, treeData: kn(r) }),
138435
138435
  oe ? R.createElement($4, { ref: Et, style: { width: "100%", marginBottom: 8 }, options: He, placeholder: p("5000.5041") || "Input the region that neuron projects", onSearch: Ya, onChange: gr, value: oe }) : R.createElement(vb, { showSearch: !0, ref: st, style: { width: "100%" }, value: oe, dropdownStyle: { maxHeight: 400, overflow: "hidden", marginBottom: 8 }, placeholder: p("5000.5041") || "Input the region that neuron projects", allowClear: !0, treeDefaultExpandAll: !1, onChange: lr, onSearch: lr, treeData: kn(r) }),
138436
138436
  H && R.createElement(
138437
138437
  R.Fragment,
@@ -140319,7 +140319,7 @@ var Ev = {}, e$t = {
140319
140319
  var k = S.parentNode;
140320
140320
  k && k.firstChild !== S && k.insertBefore(S, k.firstChild);
140321
140321
  }
140322
- function Hr(S, k) {
140322
+ function Vr(S, k) {
140323
140323
  if (S.classList !== void 0)
140324
140324
  return S.classList.contains(k);
140325
140325
  var X = tr(S);
@@ -140329,7 +140329,7 @@ var Ev = {}, e$t = {
140329
140329
  if (S.classList !== void 0)
140330
140330
  for (var X = v(k), le = 0, Ce = X.length; le < Ce; le++)
140331
140331
  S.classList.add(X[le]);
140332
- else if (!Hr(S, k)) {
140332
+ else if (!Vr(S, k)) {
140333
140333
  var Ye = tr(S);
140334
140334
  ei(S, (Ye ? Ye + " " : "") + k);
140335
140335
  }
@@ -140433,7 +140433,7 @@ var Ev = {}, e$t = {
140433
140433
  empty: Jn,
140434
140434
  toFront: Zr,
140435
140435
  toBack: wr,
140436
- hasClass: Hr,
140436
+ hasClass: Vr,
140437
140437
  addClass: sr,
140438
140438
  removeClass: br,
140439
140439
  setClass: ei,
@@ -140467,10 +140467,10 @@ var Ev = {}, e$t = {
140467
140467
  }
140468
140468
  return this;
140469
140469
  }
140470
- var Vr = "_leaflet_events";
140470
+ var $r = "_leaflet_events";
140471
140471
  function kn(S, k, X, le) {
140472
140472
  if (arguments.length === 1)
140473
- Hn(S), delete S[Vr];
140473
+ Hn(S), delete S[$r];
140474
140474
  else if (k && typeof k == "object")
140475
140475
  for (var Ce in k)
140476
140476
  Un(S, Ce, k[Ce], X);
@@ -140484,7 +140484,7 @@ var Ev = {}, e$t = {
140484
140484
  return this;
140485
140485
  }
140486
140486
  function Hn(S, k) {
140487
- for (var X in S[Vr]) {
140487
+ for (var X in S[$r]) {
140488
140488
  var le = X.split(/\d/)[0];
140489
140489
  (!k || k(le)) && Un(S, le, null, null, X);
140490
140490
  }
@@ -140496,21 +140496,21 @@ var Ev = {}, e$t = {
140496
140496
  };
140497
140497
  function sn(S, k, X, le) {
140498
140498
  var Ce = k + c(X) + (le ? "_" + c(le) : "");
140499
- if (S[Vr] && S[Vr][Ce])
140499
+ if (S[$r] && S[$r][Ce])
140500
140500
  return this;
140501
140501
  var Ye = function(an) {
140502
140502
  return X.call(le || S, an || window.event);
140503
140503
  }, Dt = Ye;
140504
140504
  !pn.touchNative && pn.pointer && k.indexOf("touch") === 0 ? Ye = Bt(S, k, Ye) : pn.touch && k === "dblclick" ? Ye = Mn(S, Ye) : "addEventListener" in S ? k === "touchstart" || k === "touchmove" || k === "wheel" || k === "mousewheel" ? S.addEventListener(dr[k] || k, Ye, pn.passiveEvents ? { passive: !1 } : !1) : k === "mouseenter" || k === "mouseleave" ? (Ye = function(an) {
140505
140505
  an = an || window.event, co(S, an) && Dt(an);
140506
- }, S.addEventListener(dr[k], Ye, !1)) : S.addEventListener(k, Dt, !1) : S.attachEvent("on" + k, Ye), S[Vr] = S[Vr] || {}, S[Vr][Ce] = Ye;
140506
+ }, S.addEventListener(dr[k], Ye, !1)) : S.addEventListener(k, Dt, !1) : S.attachEvent("on" + k, Ye), S[$r] = S[$r] || {}, S[$r][Ce] = Ye;
140507
140507
  }
140508
140508
  function Un(S, k, X, le, Ce) {
140509
140509
  Ce = Ce || k + c(X) + (le ? "_" + c(le) : "");
140510
- var Ye = S[Vr] && S[Vr][Ce];
140510
+ var Ye = S[$r] && S[$r][Ce];
140511
140511
  if (!Ye)
140512
140512
  return this;
140513
- !pn.touchNative && pn.pointer && k.indexOf("touch") === 0 ? Ft(S, k, Ye) : pn.touch && k === "dblclick" ? Cr(S, Ye) : "removeEventListener" in S ? S.removeEventListener(dr[k] || k, Ye, !1) : S.detachEvent("on" + k, Ye), S[Vr][Ce] = null;
140513
+ !pn.touchNative && pn.pointer && k.indexOf("touch") === 0 ? Ft(S, k, Ye) : pn.touch && k === "dblclick" ? Cr(S, Ye) : "removeEventListener" in S ? S.removeEventListener(dr[k] || k, Ye, !1) : S.detachEvent("on" + k, Ye), S[$r][Ce] = null;
140514
140514
  }
140515
140515
  function lr(S) {
140516
140516
  return S.stopPropagation ? S.stopPropagation() : S.originalEvent ? S.originalEvent._stopped = !0 : S.cancelBubble = !0, this;
@@ -140518,7 +140518,7 @@ var Ev = {}, e$t = {
140518
140518
  function gr(S) {
140519
140519
  return sn(S, "wheel", lr), this;
140520
140520
  }
140521
- function $r(S) {
140521
+ function zr(S) {
140522
140522
  return hr(S, "mousedown touchstart dblclick contextmenu", lr), S._leaflet_disable_click = !0, this;
140523
140523
  }
140524
140524
  function ti(S) {
@@ -140591,7 +140591,7 @@ var Ev = {}, e$t = {
140591
140591
  off: kn,
140592
140592
  stopPropagation: lr,
140593
140593
  disableScrollPropagation: gr,
140594
- disableClickPropagation: $r,
140594
+ disableClickPropagation: zr,
140595
140595
  preventDefault: ti,
140596
140596
  stop: Jr,
140597
140597
  getPropagationPath: mi,
@@ -141635,7 +141635,7 @@ var Ev = {}, e$t = {
141635
141635
  },
141636
141636
  _initLayout: function() {
141637
141637
  var S = "leaflet-control-layers", k = this._container = Sn("div", S), X = this.options.collapsed;
141638
- k.setAttribute("aria-haspopup", !0), $r(k), gr(k);
141638
+ k.setAttribute("aria-haspopup", !0), zr(k), gr(k);
141639
141639
  var le = this._section = Sn("section", S + "-list");
141640
141640
  X && (this._map.on("click", this.collapse, this), hr(k, {
141641
141641
  mouseenter: this._expandSafely,
@@ -141776,7 +141776,7 @@ var Ev = {}, e$t = {
141776
141776
  },
141777
141777
  _createButton: function(S, k, X, le, Ce) {
141778
141778
  var Ye = Sn("a", X, le);
141779
- return Ye.innerHTML = S, Ye.href = "#", Ye.title = k, Ye.setAttribute("role", "button"), Ye.setAttribute("aria-label", k), $r(Ye), hr(Ye, "click", Jr), hr(Ye, "click", Ce, this), hr(Ye, "click", this._refocusOnMap, this), Ye;
141779
+ return Ye.innerHTML = S, Ye.href = "#", Ye.title = k, Ye.setAttribute("role", "button"), Ye.setAttribute("aria-label", k), zr(Ye), hr(Ye, "click", Jr), hr(Ye, "click", Ce, this), hr(Ye, "click", this._refocusOnMap, this), Ye;
141780
141780
  },
141781
141781
  _updateDisabled: function() {
141782
141782
  var S = this._map, k = "leaflet-disabled";
@@ -141857,7 +141857,7 @@ var Ev = {}, e$t = {
141857
141857
  y(this, S), this._attributions = {};
141858
141858
  },
141859
141859
  onAdd: function(S) {
141860
- S.attributionControl = this, this._container = Sn("div", "leaflet-control-attribution"), $r(this._container);
141860
+ S.attributionControl = this, this._container = Sn("div", "leaflet-control-attribution"), zr(this._container);
141861
141861
  for (var k in S._layers)
141862
141862
  S._layers[k].getAttribution && this.addAttribution(S._layers[k].getAttribution());
141863
141863
  return this._update(), S.on("layeradd", this._addAttribution, this), this._container;
@@ -141958,7 +141958,7 @@ var Ev = {}, e$t = {
141958
141958
  this._enabled && (fn._dragging === this && this.finishDrag(!0), kn(this._dragStartTarget, Rt, this._onDown, this), this._enabled = !1, this._moved = !1);
141959
141959
  },
141960
141960
  _onDown: function(S) {
141961
- if (this._enabled && (this._moved = !1, !Hr(this._element, "leaflet-zoom-anim"))) {
141961
+ if (this._enabled && (this._moved = !1, !Vr(this._element, "leaflet-zoom-anim"))) {
141962
141962
  if (S.touches && S.touches.length !== 1) {
141963
141963
  fn._dragging === this && this.finishDrag();
141964
141964
  return;
@@ -143810,7 +143810,7 @@ var Ev = {}, e$t = {
143810
143810
  "div",
143811
143811
  S + " " + (this.options.className || "") + " leaflet-zoom-animated"
143812
143812
  ), X = this._wrapper = Sn("div", S + "-content-wrapper", k);
143813
- if (this._contentNode = Sn("div", S + "-content", X), $r(k), gr(this._contentNode), hr(k, "contextmenu", lr), this._tipContainer = Sn("div", S + "-tip-container", k), this._tip = Sn("div", S + "-tip", this._tipContainer), this.options.closeButton) {
143813
+ if (this._contentNode = Sn("div", S + "-content", X), zr(k), gr(this._contentNode), hr(k, "contextmenu", lr), this._tipContainer = Sn("div", S + "-tip-container", k), this._tip = Sn("div", S + "-tip", this._tipContainer), this.options.closeButton) {
143814
143814
  var le = this._closeButton = Sn("a", S + "-close-button", k);
143815
143815
  le.setAttribute("role", "button"), le.setAttribute("aria-label", "Close popup"), le.href = "#close", le.innerHTML = '<span aria-hidden="true">&#215;</span>', hr(le, "click", function(Ce) {
143816
143816
  ti(Ce), this.close();
@@ -150058,7 +150058,8 @@ const yzt = {
150058
150058
  "7000.7023": "旋转",
150059
150059
  "7000.7024": "控制模式",
150060
150060
  "7000.7025": "只展示可用神经元",
150061
- "7000.7026": "点击Color按钮,修改神经元颜色;点击Ana.按钮,显示神经元投射路径分析结果;点击Path按钮,在主界面显示神经元经过的脑结构;Src按钮展示了神经元数据的来源"
150061
+ "7000.7026": "点击Color按钮,修改神经元颜色;点击Ana.按钮,显示神经元投射路径分析结果;点击Path按钮,在主界面显示神经元经过的脑结构;Src按钮展示了神经元数据的来源",
150062
+ "5000.7027": "计算失败"
150062
150063
  }, xzt = "en_us", Czt = {
150063
150064
  zh_cn: "zh",
150064
150065
  en_us: "en"
@@ -150093,8 +150094,8 @@ const IHt = (t) => {
150093
150094
  start_color: qve || "#A7B5A1"
150094
150095
  });
150095
150096
  En(() => {
150096
- var Hr;
150097
- Ae.current = new u7(), Ni.current = new Eu(45, (window.innerWidth - 450) / window.innerHeight, 0.01, 1e4), Ni.current.position.set(18, -10, -10), Ni.current.up.set(0, -1, 0), Ni.current.lookAt(new Te(0, 0, 0)), p_.current = new WS(16777215, 4.5, 0, 0.04), p_.current.position.set(18, -10, -10), Ae.current.add(p_.current), Ae.current.background = new hi("#fff"), (Hr = v.current) == null || Hr.appendChild(jh.domElement), jh.setSize(window.innerWidth - 450, window.innerHeight), y.current = new Ave(Ni.current, jh.domElement);
150097
+ var Vr;
150098
+ Ae.current = new u7(), Ni.current = new Eu(45, (window.innerWidth - 450) / window.innerHeight, 0.01, 1e4), Ni.current.position.set(18, -10, -10), Ni.current.up.set(0, -1, 0), Ni.current.lookAt(new Te(0, 0, 0)), p_.current = new WS(16777215, 4.5, 0, 0.04), p_.current.position.set(18, -10, -10), Ae.current.add(p_.current), Ae.current.background = new hi("#fff"), (Vr = v.current) == null || Vr.appendChild(jh.domElement), jh.setSize(window.innerWidth - 450, window.innerHeight), y.current = new Ave(Ni.current, jh.domElement);
150098
150099
  let Pn = new URL(window.location.href), Jn = new URLSearchParams(Pn.search), Zr = Jn.get("cameraInfo"), wr = Jn.get("controllerInfo");
150099
150100
  if (Zr && wr) {
150100
150101
  let sr = JSON.parse(Zr), br = JSON.parse(wr);
@@ -151483,13 +151484,13 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
151483
151484
  tw = [], Vp = [], hV = [];
151484
151485
  var Zr = [];
151485
151486
  e2 = [], $p = [], IL = [];
151486
- var wr = [], Hr = [], sr = [], br = [], ei = [], tr = 0, Nr = 0, ji = 0, Zi = 0, Ui = 0, Yi = 0, $i = 0, xa = 0, No = 0, Ea = 0, ii = 0, ai = 0, va = 0, Qt = 0, _t = 0, bn = 0, xt = [], un = [], cr = [], Kr = [], hr = [], Vr = [], kn = null, Hn = 0, dr = parseInt(
151487
+ var wr = [], Vr = [], sr = [], br = [], ei = [], tr = 0, Nr = 0, ji = 0, Zi = 0, Ui = 0, Yi = 0, $i = 0, xa = 0, No = 0, Ea = 0, ii = 0, ai = 0, va = 0, Qt = 0, _t = 0, bn = 0, xt = [], un = [], cr = [], Kr = [], hr = [], $r = [], kn = null, Hn = 0, dr = parseInt(
151487
151488
  l.Utils.getResource("DEFAULT_VALIDATEVIEWRETRYLIMIT"),
151488
151489
  10
151489
151490
  ), sn = parseInt(
151490
151491
  l.Utils.getResource("DEFAULT_VALIDATEVIEWRETRYDELAY"),
151491
151492
  10
151492
- ), Un = [], lr = [], gr = [], $r = [], ti = [], Jr = [], mi = new l.NetConnector(), Ya, Qi = [], ts = [], co = [], Ga = [], rt = parseInt(
151493
+ ), Un = [], lr = [], gr = [], zr = [], ti = [], Jr = [], mi = new l.NetConnector(), Ya, Qi = [], ts = [], co = [], Ga = [], rt = parseInt(
151493
151494
  l.Utils.getResource("DEFAULT_BACKFILLTHRESHOLD3"),
151494
151495
  10
151495
151496
  ), gt = parseInt(
@@ -151793,7 +151794,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
151793
151794
  T && QY(), O && TR(), A && dMe(), U && fMe();
151794
151795
  };
151795
151796
  function QY() {
151796
- tr = 0, Nr = 0, typeof Hr < "u" && l.Utils.arrayClear(Hr), typeof sr < "u" && l.Utils.arrayClear(sr), typeof wr < "u" && l.Utils.arrayClear(wr), typeof xt < "u" && l.Utils.arrayClear(xt), typeof un < "u" && l.Utils.arrayClear(un), typeof cr < "u" && l.Utils.arrayClear(cr), typeof Kr < "u" && l.Utils.arrayClear(Kr), typeof hr < "u" && l.Utils.arrayClear(hr), typeof Vr < "u" && l.Utils.arrayClear(Vr), typeof br < "u" && l.Utils.arrayClear(br), typeof ei < "u" && l.Utils.arrayClear(ei), typeof ti < "u" && l.Utils.arrayClear(ti), typeof $r < "u" && l.Utils.arrayClear($r), typeof gr < "u" && l.Utils.arrayClear(gr), typeof Jr < "u" && l.Utils.arrayClear(Jr), typeof Ga < "u" && l.Utils.arrayClear(Ga), typeof co < "u" && l.Utils.arrayClear(co), typeof ts < "u" && l.Utils.arrayClear(ts), typeof Qi < "u" && l.Utils.arrayClear(Qi);
151797
+ tr = 0, Nr = 0, typeof Vr < "u" && l.Utils.arrayClear(Vr), typeof sr < "u" && l.Utils.arrayClear(sr), typeof wr < "u" && l.Utils.arrayClear(wr), typeof xt < "u" && l.Utils.arrayClear(xt), typeof un < "u" && l.Utils.arrayClear(un), typeof cr < "u" && l.Utils.arrayClear(cr), typeof Kr < "u" && l.Utils.arrayClear(Kr), typeof hr < "u" && l.Utils.arrayClear(hr), typeof $r < "u" && l.Utils.arrayClear($r), typeof br < "u" && l.Utils.arrayClear(br), typeof ei < "u" && l.Utils.arrayClear(ei), typeof ti < "u" && l.Utils.arrayClear(ti), typeof zr < "u" && l.Utils.arrayClear(zr), typeof gr < "u" && l.Utils.arrayClear(gr), typeof Jr < "u" && l.Utils.arrayClear(Jr), typeof Ga < "u" && l.Utils.arrayClear(Ga), typeof co < "u" && l.Utils.arrayClear(co), typeof ts < "u" && l.Utils.arrayClear(ts), typeof Qi < "u" && l.Utils.arrayClear(Qi);
151797
151798
  }
151798
151799
  function TR() {
151799
151800
  Bn = 1, Ht = 0, Pt = 0, Jt = !1, St = !1, de = !1, ve = !1, typeof on < "u" && l.Utils.arrayClear(on), typeof Xn < "u" && l.Utils.arrayClear(Xn), typeof wn < "u" && l.Utils.arrayClear(wn), typeof Sn < "u" && l.Utils.arrayClear(Sn), typeof Pn < "u" && l.Utils.arrayClear(Pn), typeof Jn < "u" && l.Utils.arrayClear(Jn), typeof tw < "u" && l.Utils.arrayClear(tw), typeof Vp < "u" && l.Utils.arrayClear(Vp), typeof hV < "u" && l.Utils.arrayClear(hV), typeof Zr < "u" && l.Utils.arrayClear(Zr), typeof e2 < "u" && l.Utils.arrayClear(e2), typeof $p < "u" && l.Utils.arrayClear($p), typeof IL < "u" && l.Utils.arrayClear(IL), typeof Un < "u" && l.Utils.arrayClear(Un), typeof lr < "u" && l.Utils.arrayClear(lr);
@@ -152745,7 +152746,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152745
152746
  typeof T < "u" && T || Mn != Cr || m.getZoom() != l.imageZ || !m.getStatus("initializedViewport") || O ? (SMe(), l.tileSource != "unconverted" && (EMe(), rJ("backfill"), zd(
152746
152747
  te,
152747
152748
  Pt,
152748
- Hr,
152749
+ Vr,
152749
152750
  "simple",
152750
152751
  !1
152751
152752
  )), !T && G > 0 && (me = !0)) : m.traceDebugValues("updateView-noChange"), l.tileSource != "unconverted" && Jt ? aq(!0) : ne && l.Utils.clearDisplay(ne);
@@ -152831,7 +152832,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152831
152832
  ), l.maskingSelection && Ge && Pq(), Jt && zd(
152832
152833
  te,
152833
152834
  Pt,
152834
- Hr,
152835
+ Vr,
152835
152836
  "simple",
152836
152837
  !1
152837
152838
  ));
@@ -152872,17 +152873,17 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152872
152873
  "image-backfill"
152873
152874
  );
152874
152875
  } else {
152875
- l.Utils.arrayClear(xt), l.Utils.arrayClear(hr), l.Utils.arrayClear(Vr), l.Utils.arrayClear(un);
152876
+ l.Utils.arrayClear(xt), l.Utils.arrayClear(hr), l.Utils.arrayClear($r), l.Utils.arrayClear(un);
152876
152877
  for (var O = m.getViewportDisplayBoundingBoxInTiles(), A = O.l, U = O.r; A <= U; A++)
152877
152878
  for (var K = O.t, ae = O.b; K <= ae; K++) {
152878
152879
  var J = Ht + "-" + A + "-" + K;
152879
152880
  xt[xt.length] = J, un[un.length] = J;
152880
152881
  }
152881
- if (m.getStatus("initializedViewport") && Hr.length > 0 && (Ht == ot || Ht == at || Ht == Fe))
152882
- for (var fe = 0, me = Hr.length; fe < me; fe++) {
152883
- var Oe = Hr[fe];
152882
+ if (m.getStatus("initializedViewport") && Vr.length > 0 && (Ht == ot || Ht == at || Ht == Fe))
152883
+ for (var fe = 0, me = Vr.length; fe < me; fe++) {
152884
+ var Oe = Vr[fe];
152884
152885
  if (Oe && Oe.t == Ht && Oe.c >= O.l && Oe.c <= O.r && Oe.r >= O.t && Oe.r <= O.b) {
152885
- Vr[Vr.length] = Oe.name, hr[hr.length] = Oe;
152886
+ $r[$r.length] = Oe.name, hr[hr.length] = Oe;
152886
152887
  var ke = l.Utils.arrayIndexOf(un, Oe.name);
152887
152888
  ke != -1 && (un = l.Utils.arraySplice(
152888
152889
  un,
@@ -152894,8 +152895,8 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152894
152895
  for (var fe = 0, me = cr.length; fe < me; fe++) {
152895
152896
  var Oe = cr[fe];
152896
152897
  if (Oe && Oe.t == Ht && Oe.c >= O.l && Oe.c <= O.r && Oe.r >= O.t && Oe.r <= O.b) {
152897
- var ke = l.Utils.arrayIndexOf(Vr, Oe.name);
152898
- ke == -1 && (Vr[Vr.length] = Oe.name, hr[hr.length] = Oe);
152898
+ var ke = l.Utils.arrayIndexOf($r, Oe.name);
152899
+ ke == -1 && ($r[$r.length] = Oe.name, hr[hr.length] = Oe);
152899
152900
  var Se = l.Utils.arrayIndexOf(un, Oe.name);
152900
152901
  Se != -1 && (un = l.Utils.arraySplice(
152901
152902
  un,
@@ -152919,8 +152920,8 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152919
152920
  ), m.traceDebugValues(
152920
152921
  "tilesInCache",
152921
152922
  null,
152922
- Vr.length,
152923
- Vr
152923
+ $r.length,
152924
+ $r
152924
152925
  ), m.traceDebugValues(
152925
152926
  "tilesToLoad",
152926
152927
  null,
@@ -153138,7 +153139,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153138
153139
  m.traceDebugValues(
153139
153140
  "formatTilePathZIF",
153140
153141
  Oe.chunkID + "," + T + "," + O + "," + A + "," + U
153141
- ), l.Utils.arrayIndexOf($r, ke) == -1 && ($r[$r.length] = ke), Vp[Vp.length] = {
153142
+ ), l.Utils.arrayIndexOf(zr, ke) == -1 && (zr[zr.length] = ke), Vp[Vp.length] = {
153142
153143
  chunkID: Oe.chunkID,
153143
153144
  chunk: "loading"
153144
153145
  };
@@ -153152,7 +153153,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153152
153153
  Oe.chunkID
153153
153154
  );
153154
153155
  } else
153155
- Vp[fe].chunk == "loading" ? l.Utils.arrayIndexOf($r, ke) == -1 && ($r[$r.length] = ke) : Vp[fe].chunk != "loading" && (me = Vp[fe].chunk, ae = l.Utils.longValue(
153156
+ Vp[fe].chunk == "loading" ? l.Utils.arrayIndexOf(zr, ke) == -1 && (zr[zr.length] = ke) : Vp[fe].chunk != "loading" && (me = Vp[fe].chunk, ae = l.Utils.longValue(
153156
153157
  me,
153157
153158
  Oe.offsetStartInChunk
153158
153159
  ));
@@ -153175,7 +153176,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153175
153176
  "chunkID",
153176
153177
  It.chunkID
153177
153178
  ), fe == -1) {
153178
- l.Utils.arrayIndexOf($r, We) == -1 && ($r[$r.length] = We), $p[$p.length] = {
153179
+ l.Utils.arrayIndexOf(zr, We) == -1 && (zr[zr.length] = We), $p[$p.length] = {
153179
153180
  chunkID: It.chunkID,
153180
153181
  chunk: "loading"
153181
153182
  };
@@ -153189,7 +153190,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153189
153190
  It.chunkID
153190
153191
  );
153191
153192
  } else
153192
- $p[fe].chunk == "loading" ? l.Utils.arrayIndexOf($r, We) == -1 && ($r[$r.length] = We) : $p[fe].chunk != "loading" && (me = $p[fe].chunk, J = l.Utils.intValue(
153193
+ $p[fe].chunk == "loading" ? l.Utils.arrayIndexOf(zr, We) == -1 && (zr[zr.length] = We) : $p[fe].chunk != "loading" && (me = $p[fe].chunk, J = l.Utils.intValue(
153193
153194
  me,
153194
153195
  It.bcStartInChunk
153195
153196
  ));
@@ -153216,7 +153217,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153216
153217
  ae += Pn[It];
153217
153218
  if (ae += A * wn[T] + O, fe = Math.floor(ae / E), J = ae - 1 == -1 ? 0 : ae - 1, me = Math.floor(J / E), Un[fe] == null || Un[fe] == "offsetLoading" || Un[me] == null || Un[me] == "offsetLoading") {
153218
153219
  var Wt = fe + "," + T + "," + O + "," + A + "," + U;
153219
- l.Utils.arrayIndexOf($r, Wt) == -1 && ($r[$r.length] = Wt), m.traceDebugValues(
153220
+ l.Utils.arrayIndexOf(zr, Wt) == -1 && (zr[zr.length] = Wt), m.traceDebugValues(
153220
153221
  "formatTilePathPFF",
153221
153222
  fe + "," + T + "," + O + "," + A + "," + U
153222
153223
  ), Un[fe] == null && (Un[fe] = "offsetLoading", Se = w + E * fe * 8, We = Se + E * 8, sq(
@@ -153263,10 +153264,10 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153263
153264
  Un[K] = new Array(), Un[K] = A.split(",", 2), RMe(U);
153264
153265
  };
153265
153266
  function lq(T, O) {
153266
- for (var A = 0, U = $r.length; A < U; A++) {
153267
- var K = $r[A].split(",");
153268
- K[0] == T && K[5] == O && (K[4] !== void 0 && K[4] == "image-display" ? gr[gr.length] = K[1] + "-" + K[2] + "-" + K[3] : K[4] == "image-backfill" && (Jr[Jr.length] = K[1] + "-" + K[2] + "-" + K[3]), $r = l.Utils.arraySplice(
153269
- $r,
153267
+ for (var A = 0, U = zr.length; A < U; A++) {
153268
+ var K = zr[A].split(",");
153269
+ K[0] == T && K[5] == O && (K[4] !== void 0 && K[4] == "image-display" ? gr[gr.length] = K[1] + "-" + K[2] + "-" + K[3] : K[4] == "image-backfill" && (Jr[Jr.length] = K[1] + "-" + K[2] + "-" + K[3]), zr = l.Utils.arraySplice(
153270
+ zr,
153270
153271
  A,
153271
153272
  1
153272
153273
  ), A--, U--);
@@ -153293,10 +153294,10 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153293
153294
  }
153294
153295
  }
153295
153296
  function RMe(T) {
153296
- for (var O = 0, A = $r.length; O < A; O++) {
153297
- var U = $r[O].split(",");
153298
- U[0] == T && (U[4] !== void 0 && U[4] == "image-display" ? gr[gr.length] = U[1] + "-" + U[2] + "-" + U[3] : U[4] == "image-backfill" && (Jr[Jr.length] = U[1] + "-" + U[2] + "-" + U[3]), $r = l.Utils.arraySplice(
153299
- $r,
153297
+ for (var O = 0, A = zr.length; O < A; O++) {
153298
+ var U = zr[O].split(",");
153299
+ U[0] == T && (U[4] !== void 0 && U[4] == "image-display" ? gr[gr.length] = U[1] + "-" + U[2] + "-" + U[3] : U[4] == "image-backfill" && (Jr[Jr.length] = U[1] + "-" + U[2] + "-" + U[3]), zr = l.Utils.arraySplice(
153300
+ zr,
153300
153301
  O,
153301
153302
  1
153302
153303
  ), O--, A--);
@@ -153414,7 +153415,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153414
153415
  if (T && O && T.imagePath == l.imagePath) {
153415
153416
  T.image = O;
153416
153417
  var A = T.name;
153417
- Hr[Hr.length] = T;
153418
+ Vr[Vr.length] = T;
153418
153419
  var U = l.Utils.arrayIndexOf(sr, A);
153419
153420
  if (U != -1 && (sr = l.Utils.arraySplice(
153420
153421
  sr,
@@ -153996,7 +153997,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
153996
153997
  pe.left = Se + "px", pe.top = We + "px", ne && Jt && (l.mobileDevice || Math.abs(Oe) > Nt / 2 || Math.abs(ke) > Zt / 2) && zd(
153997
153998
  ne,
153998
153999
  et,
153999
- Hr,
154000
+ Vr,
154000
154001
  "simple",
154001
154002
  !1
154002
154003
  ), l.Viewer.syncComparisonViewport(), l.Viewer.syncOverlayViewports(null, t);
@@ -163432,7 +163433,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
163432
163433
  ne && Jt && (l.mobileDevice || Math.abs(Oe) > Nt / 2 || Math.abs(ke) > Zt / 2) && zd(
163433
163434
  ne,
163434
163435
  et,
163435
- Hr,
163436
+ Vr,
163436
163437
  "simple",
163437
163438
  !1
163438
163439
  );
@@ -163476,7 +163477,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
163476
163477
  q_ && zd(
163477
163478
  ne,
163478
163479
  et,
163479
- Hr,
163480
+ Vr,
163480
163481
  "simple",
163481
163482
  !1
163482
163483
  );
@@ -163527,7 +163528,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
163527
163528
  (q !== null && typeof O > "u" || O === null || O && ne && (l.zooming != "in" || ae > l.scaleThreshold || J > l.scaleThreshold)) && (q.restore(), q.save(), q.scale(Yn, Yn), q.rotate(l.imageR * Math.PI / 180), zd(
163528
163529
  ne,
163529
163530
  et,
163530
- Hr,
163531
+ Vr,
163531
163532
  "simple",
163532
163533
  !1
163533
163534
  ));
@@ -163559,7 +163560,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
163559
163560
  zd(
163560
163561
  te,
163561
163562
  Pt,
163562
- Hr,
163563
+ Vr,
163563
163564
  "simple",
163564
163565
  !1
163565
163566
  );
@@ -164462,7 +164463,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
164462
164463
  ne && Jt && (l.mobileDevice || Math.abs(Di) > Nt / 2 || Math.abs(zi) > Zt / 2) && zd(
164463
164464
  ne,
164464
164465
  et,
164465
- Hr,
164466
+ Vr,
164466
164467
  "simple",
164467
164468
  !1
164468
164469
  );
@@ -164949,7 +164950,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
164949
164950
  ne && Jt && (l.mobileDevice || Math.abs(Di) > Nt / 2 || Math.abs(zi) > Zt / 2) && zd(
164950
164951
  ne,
164951
164952
  et,
164952
- Hr,
164953
+ Vr,
164953
164954
  "simple",
164954
164955
  !1
164955
164956
  );
@@ -165485,7 +165486,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
165485
165486
  pe.left = lt.x + "px", pe.top = lt.y + "px", qa -= Se - lt.x, Go -= We - lt.y, lt.x - gn, lt.y - nn, ne && Jt && zd(
165486
165487
  ne,
165487
165488
  et,
165488
- Hr,
165489
+ Vr,
165489
165490
  "simple",
165490
165491
  !1
165491
165492
  ), ko && Math.round(qa * ke) / ke == 0 && Math.round(Go * ke) / ke == 0 && (ko = !1);
@@ -165594,7 +165595,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
165594
165595
  l.ZoomifyToolbar = function(t) {
165595
165596
  var e = this, n = !1, r = t.getViewportID().toString();
165596
165597
  if (l.toolbarInternal) {
165597
- var Hr, sr, br, ei = l.Utils.getResource(
165598
+ var Vr, sr, br, ei = l.Utils.getResource(
165598
165599
  "UI_TOOLBARINTERNALBUTTONOVERCOLOR"
165599
165600
  ), tr = l.Utils.getResource(
165600
165601
  "UI_TOOLBARINTERNALBUTTONDOWNCOLOR"
@@ -165743,7 +165744,7 @@ l.ZoomifyToolbar = function(t) {
165743
165744
  );
165744
165745
  l.Utils.setOpacity(nn, 0.4, ve);
165745
165746
  var yi = l.Utils.getResource("UI_TOOLBARINTERNALBUTTONZOOMINTEXT"), Wr = document.createTextNode(yi);
165746
- nn.appendChild(Wr), l.ToolbarDisplay.appendChild(nn), Hr = nn.style, l.Utils.setTextNodeStyle(
165747
+ nn.appendChild(Wr), l.ToolbarDisplay.appendChild(nn), Vr = nn.style, l.Utils.setTextNodeStyle(
165747
165748
  Wr,
165748
165749
  "black",
165749
165750
  "verdana",
@@ -168722,7 +168723,7 @@ l.ZoomifyToolbar = function(t) {
168722
168723
  l.zooming = tt > 0 ? "in" : tt < 0 ? "out" : "stop", t.scaleTierToZoom(je);
168723
168724
  }
168724
168725
  }
168725
- function Vr() {
168726
+ function $r() {
168726
168727
  d = !1, l.zooming = "stop", t.updateView();
168727
168728
  }
168728
168729
  function kn(de, ve, Be) {
@@ -169124,9 +169125,9 @@ l.ZoomifyToolbar = function(t) {
169124
169125
  Be && (Be.target, B = new l.Utils.Point(Be.pageX, Be.pageY));
169125
169126
  }
169126
169127
  this.syncSliderToViewportImageSet = function(de) {
169127
- $r();
169128
+ zr();
169128
169129
  };
169129
- function $r(de) {
169130
+ function zr(de) {
169130
169131
  if (typeof Id < "u" && typeof zh < "u") {
169131
169132
  var ve = l.imageSetLength - 1, Be = l.viewportCurrentID / ve, je = parseFloat(Id.left), tt = parseFloat(Id.left) + parseFloat(Id.width) - parseFloat(zh.width), ct = tt - je, jt = Be * ct + je;
169132
169133
  zh.left = jt + "px";
@@ -169141,7 +169142,7 @@ l.ZoomifyToolbar = function(t) {
169141
169142
  );
169142
169143
  je < 0 && (je = 0), je > l.imageSetLength - 1 && (je = l.imageSetLength - 1);
169143
169144
  var tt = je != l.viewportCurrentID;
169144
- tt && l.Viewer.viewportSelect(je, !0), $r();
169145
+ tt && l.Viewer.viewportSelect(je, !0), zr();
169145
169146
  }
169146
169147
  }
169147
169148
  function Jr(de) {
@@ -169184,7 +169185,7 @@ l.ZoomifyToolbar = function(t) {
169184
169185
  if (ve) {
169185
169186
  var Be = ve.type, je = l.Utils.target(ve);
169186
169187
  if (je) {
169187
- br.background = Nr, sr.background = Nr, Hr.background = Nr;
169188
+ br.background = Nr, sr.background = Nr, Vr.background = Nr;
169188
169189
  var tt = je.id, ct = ve.altKey;
169189
169190
  switch (Be) {
169190
169191
  case "mouseover":
@@ -169646,7 +169647,7 @@ l.ZoomifyToolbar = function(t) {
169646
169647
  ve.substr(0, 11) == "buttonColor" && t.setDrawingColor(ve);
169647
169648
  }
169648
169649
  else
169649
- Be == "mouseup" || Be == "touchend" || Be == "touchcancel" ? ve == "buttonSliderZoom" || d ? (f && (window.clearInterval(f), f = null), Ue(), Vr()) : ve == "trackSliderZoom" ? cr(de) : ve.indexOf("buttonSliderFilter") != -1 || N ? (D && (window.clearInterval(D), D = null), Ue(), Hn(de, ve, "sliderEnd")) : ve.indexOf("trackSliderFilter") != -1 ? Hn(de, ve, "sliderSnap") : ve == "buttonImageFilterPlus" || ve == "buttonImageFilterMinus" ? Hn(de, ve) : ve == "buttonSliderImageSet" || w ? (E && (window.clearInterval(E), E = null), Ue(), Ya()) : ve == "buttonZoomOut" || ve == "buttonZoomIn" ? (t.zoom("stop"), ve == "buttonZoomOut" && tt && t.toggleSmoothZoom(), ve == "buttonZoomIn" && tt && t.toggleEditMode()) : ve == "buttonPanLeft" || ve == "buttonPanRight" ? (l.tracking ? ve == "buttonPanLeft" ? l.viewportCurrent.goToNextCell("left") : l.viewportCurrent.goToNextCell("right") : t.pan("horizontalStop"), ve == "buttonPanLeft" && tt && t.toggleSmoothPan()) : ve == "buttonPanUp" || ve == "buttonPanDown" ? l.tracking ? ve == "buttonPanUp" ? l.viewportCurrent.goToNextCell("up") : l.viewportCurrent.goToNextCell("down") : t.pan("verticalStop") : ve == "buttonHelp" ? l.debug == 0 && tt && l.Utils.showGlobals() : ve == "buttonRotateClockwise" || ve == "buttonRotateCounterwise" ? l.rotationFree && t.rotate("stop") : ve == "buttonLabelScaleDown" + je || ve == "buttonLabelScaleUp" + je ? t.labelScale("stop") : ve == "buttonFullView" ? t.toggleFullViewMode(!0) : ve == "buttonFullViewExit" ? t.toggleFullViewMode(!1) : ve == "buttonImageFilterClear" ? t.clearImageFilterLast() : ve == "buttonImageFiltersClearAll" ? t.clearImageFiltersAll() : ve == "trackSliderImageSet" ? l.slidestack && ti(de) : (ve == "buttonImageSetPrior" || ve == "buttonImageSetNext") && (l.animation ? l.Viewer.viewportChange("stop") : l.slidestack && (ve == "buttonImageSetPrior" ? l.Viewer.viewportChange("backward") : ve == "buttonImageSetNext" && l.Viewer.viewportChange("forward"))) : Be == "mouseout" && (ve == "buttonZoomOut" || ve == "buttonZoomIn" ? t.zoom("stop") : ve == "buttonPanLeft" || ve == "buttonPanRight" ? t.pan("horizontalStop") : ve == "buttonPanUp" || ve == "buttonPanDown" ? t.pan("verticalStop") : ve == "buttonLabelScaleDown" + je || ve == "buttonLabelScaleUp" + je ? t.labelScale("stop") : (ve == "buttonImageSetPrior" || ve == "buttonImageSetNext") && l.Viewer.viewportChange("stop"));
169650
+ Be == "mouseup" || Be == "touchend" || Be == "touchcancel" ? ve == "buttonSliderZoom" || d ? (f && (window.clearInterval(f), f = null), Ue(), $r()) : ve == "trackSliderZoom" ? cr(de) : ve.indexOf("buttonSliderFilter") != -1 || N ? (D && (window.clearInterval(D), D = null), Ue(), Hn(de, ve, "sliderEnd")) : ve.indexOf("trackSliderFilter") != -1 ? Hn(de, ve, "sliderSnap") : ve == "buttonImageFilterPlus" || ve == "buttonImageFilterMinus" ? Hn(de, ve) : ve == "buttonSliderImageSet" || w ? (E && (window.clearInterval(E), E = null), Ue(), Ya()) : ve == "buttonZoomOut" || ve == "buttonZoomIn" ? (t.zoom("stop"), ve == "buttonZoomOut" && tt && t.toggleSmoothZoom(), ve == "buttonZoomIn" && tt && t.toggleEditMode()) : ve == "buttonPanLeft" || ve == "buttonPanRight" ? (l.tracking ? ve == "buttonPanLeft" ? l.viewportCurrent.goToNextCell("left") : l.viewportCurrent.goToNextCell("right") : t.pan("horizontalStop"), ve == "buttonPanLeft" && tt && t.toggleSmoothPan()) : ve == "buttonPanUp" || ve == "buttonPanDown" ? l.tracking ? ve == "buttonPanUp" ? l.viewportCurrent.goToNextCell("up") : l.viewportCurrent.goToNextCell("down") : t.pan("verticalStop") : ve == "buttonHelp" ? l.debug == 0 && tt && l.Utils.showGlobals() : ve == "buttonRotateClockwise" || ve == "buttonRotateCounterwise" ? l.rotationFree && t.rotate("stop") : ve == "buttonLabelScaleDown" + je || ve == "buttonLabelScaleUp" + je ? t.labelScale("stop") : ve == "buttonFullView" ? t.toggleFullViewMode(!0) : ve == "buttonFullViewExit" ? t.toggleFullViewMode(!1) : ve == "buttonImageFilterClear" ? t.clearImageFilterLast() : ve == "buttonImageFiltersClearAll" ? t.clearImageFiltersAll() : ve == "trackSliderImageSet" ? l.slidestack && ti(de) : (ve == "buttonImageSetPrior" || ve == "buttonImageSetNext") && (l.animation ? l.Viewer.viewportChange("stop") : l.slidestack && (ve == "buttonImageSetPrior" ? l.Viewer.viewportChange("backward") : ve == "buttonImageSetNext" && l.Viewer.viewportChange("forward"))) : Be == "mouseout" && (ve == "buttonZoomOut" || ve == "buttonZoomIn" ? t.zoom("stop") : ve == "buttonPanLeft" || ve == "buttonPanRight" ? t.pan("horizontalStop") : ve == "buttonPanUp" || ve == "buttonPanDown" ? t.pan("verticalStop") : ve == "buttonLabelScaleDown" + je || ve == "buttonLabelScaleUp" + je ? t.labelScale("stop") : (ve == "buttonImageSetPrior" || ve == "buttonImageSetNext") && l.Viewer.viewportChange("stop"));
169650
169651
  }
169651
169652
  this.backgroundEventsHandler = function(ve) {
169652
169653
  var ve = l.Utils.event(ve), Be = l.Utils.relatedTarget(ve);