@realsee/dnalogel 3.79.2 → 3.79.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import { LineGeometry as zb, LineMaterial as Ob, THREE_Line2 as jb, Line as O0 }
43
43
  import { GLTFLoader as j0 } from "@realsee/five/gltf-loader";
44
44
  function Rb() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.79.2",
46
+ "%c %c@realsee/dnalogel %cv3.79.3",
47
47
  [
48
48
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
49
49
  "background-repeat: no-repeat",
@@ -8333,7 +8333,7 @@ function Hn(n, t) {
8333
8333
  const e = n.$$.callbacks[t.type];
8334
8334
  e && e.slice().forEach((i) => i.call(this, t));
8335
8335
  }
8336
- const Mo = [], qe = [];
8336
+ const Mo = [], Je = [];
8337
8337
  let Ro = [];
8338
8338
  const fh = [], Qv = /* @__PURE__ */ Promise.resolve();
8339
8339
  let ph = !1;
@@ -8364,8 +8364,8 @@ function Sn() {
8364
8364
  } catch (t) {
8365
8365
  throw Mo.length = 0, Ao = 0, t;
8366
8366
  }
8367
- for (zn(null), Mo.length = 0, Ao = 0; qe.length; )
8368
- qe.pop()();
8367
+ for (zn(null), Mo.length = 0, Ao = 0; Je.length; )
8368
+ Je.pop()();
8369
8369
  for (let t = 0; t < Ro.length; t += 1) {
8370
8370
  const e = Ro[t];
8371
8371
  Ic.has(e) || (Ic.add(e), e());
@@ -13537,7 +13537,7 @@ let Ps = class {
13537
13537
  /**
13538
13538
  * @realsee/dnalogel 版本号
13539
13539
  */
13540
- f(this, "VERSION", "3.79.2");
13540
+ f(this, "VERSION", "3.79.3");
13541
13541
  f(this, "NAME");
13542
13542
  f(this, "five");
13543
13543
  f(this, "workUtil");
@@ -26110,7 +26110,7 @@ function $I(n, t, e) {
26110
26110
  const l = [];
26111
26111
  let c, h = null, u, d;
26112
26112
  function p(v, y) {
26113
- qe[v ? "unshift" : "push"](() => {
26113
+ Je[v ? "unshift" : "push"](() => {
26114
26114
  l[y] = v, e(2, l);
26115
26115
  });
26116
26116
  }
@@ -26118,7 +26118,7 @@ function $I(n, t, e) {
26118
26118
  a(v.key), e(4, h = y);
26119
26119
  };
26120
26120
  function g(v) {
26121
- qe[v ? "unshift" : "push"](() => {
26121
+ Je[v ? "unshift" : "push"](() => {
26122
26122
  c = v, e(3, c);
26123
26123
  });
26124
26124
  }
@@ -26329,7 +26329,7 @@ function oM(n) {
26329
26329
  return (
26330
26330
  /*setSwitcherActiveIndex*/
26331
26331
  n[4] !== void 0 && (g.setIndex = /*setSwitcherActiveIndex*/
26332
- n[4]), c = new eM({ props: g }), qe.push(() => Kl(c, "setIndex", m)), {
26332
+ n[4]), c = new eM({ props: g }), Je.push(() => Kl(c, "setIndex", m)), {
26333
26333
  c() {
26334
26334
  t = W("div"), d && d.c(), e = le(), i = W("div"), s = W("div"), o = le(), r = W("div"), p && p.c(), a = le(), l = W("div"), ye(c.$$.fragment), P(s, "class", "mask svelte-468fdd"), P(l, "class", "mode-switcher svelte-468fdd"), P(r, "class", "center svelte-468fdd"), P(i, "class", "bottom svelte-468fdd"), P(t, "class", "Measure-Controller svelte-468fdd");
26335
26335
  },
@@ -26606,7 +26606,7 @@ function hM(n, t, e) {
26606
26606
  }
26607
26607
  }
26608
26608
  function p(v, y) {
26609
- qe[v ? "unshift" : "push"](() => {
26609
+ Je[v ? "unshift" : "push"](() => {
26610
26610
  l[y] = v, e(2, l);
26611
26611
  });
26612
26612
  }
@@ -26614,7 +26614,7 @@ function hM(n, t, e) {
26614
26614
  a(v.key), e(4, i = y);
26615
26615
  };
26616
26616
  function g(v) {
26617
- qe[v ? "unshift" : "push"](() => {
26617
+ Je[v ? "unshift" : "push"](() => {
26618
26618
  c = v, e(3, c);
26619
26619
  });
26620
26620
  }
@@ -27310,7 +27310,7 @@ function IM(n, t, e) {
27310
27310
  i.hook.off("modeChange", p), i.hook.off("complete", m), i.hook.off("pointsChange", v), i.hook.off("measureTypeChange", g), u();
27311
27311
  });
27312
27312
  function y(w) {
27313
- qe[w ? "unshift" : "push"](() => {
27313
+ Je[w ? "unshift" : "push"](() => {
27314
27314
  l = w, e(1, l), e(6, r);
27315
27315
  });
27316
27316
  }
@@ -29499,7 +29499,7 @@ function tE(n, t, e) {
29499
29499
  p.emit("destroyTag", { id: i }), L(), u();
29500
29500
  });
29501
29501
  function S(j) {
29502
- qe[j ? "unshift" : "push"](() => {
29502
+ Je[j ? "unshift" : "push"](() => {
29503
29503
  y = j, e(10, y);
29504
29504
  });
29505
29505
  }
@@ -30689,7 +30689,7 @@ function EE(n, t, e) {
30689
30689
  }
30690
30690
  let l;
30691
30691
  function c(u) {
30692
- qe[u ? "unshift" : "push"](() => {
30692
+ Je[u ? "unshift" : "push"](() => {
30693
30693
  l = u, e(3, l);
30694
30694
  });
30695
30695
  }
@@ -31201,7 +31201,7 @@ function FE(n, t, e) {
31201
31201
  s && s();
31202
31202
  };
31203
31203
  function l(c) {
31204
- qe[c ? "unshift" : "push"](() => {
31204
+ Je[c ? "unshift" : "push"](() => {
31205
31205
  o = c, e(2, o);
31206
31206
  });
31207
31207
  }
@@ -34584,12 +34584,12 @@ function a8(n, t, e) {
34584
34584
  }), a && m.seek(m.duration);
34585
34585
  }
34586
34586
  function C(S, j) {
34587
- qe[S ? "unshift" : "push"](() => {
34587
+ Je[S ? "unshift" : "push"](() => {
34588
34588
  g[j] = S, e(1, g);
34589
34589
  });
34590
34590
  }
34591
34591
  function L(S, j) {
34592
- qe[S ? "unshift" : "push"](() => {
34592
+ Je[S ? "unshift" : "push"](() => {
34593
34593
  g[j] = S, e(1, g);
34594
34594
  });
34595
34595
  }
@@ -34905,7 +34905,7 @@ function p8(n) {
34905
34905
  function m8(n, t, e) {
34906
34906
  let i, s, o, { visible: r = !1 } = t, { textUnfolded: a = !1 } = t, { content: l } = t, c, h = 0, u = 0, d = 0;
34907
34907
  function p(m) {
34908
- qe[m ? "unshift" : "push"](() => {
34908
+ Je[m ? "unshift" : "push"](() => {
34909
34909
  c = m, e(2, c);
34910
34910
  });
34911
34911
  }
@@ -36879,9 +36879,9 @@ var Za = Mx, zl = {}, Ex = {
36879
36879
  function kt(D, G) {
36880
36880
  return D && es(G, Cr(G), D);
36881
36881
  }
36882
- function ni(D, G, $, fe, Ue, He, Je) {
36882
+ function ni(D, G, $, fe, Ue, He, Ke) {
36883
36883
  var it;
36884
- if (fe && (it = He ? fe(D, Ue, He, Je) : fe(D)), it !== void 0)
36884
+ if (fe && (it = He ? fe(D, Ue, He, Ke) : fe(D)), it !== void 0)
36885
36885
  return it;
36886
36886
  if (!sn(D))
36887
36887
  return D;
@@ -36904,14 +36904,14 @@ var Za = Mx, zl = {}, Ex = {
36904
36904
  it = Qe(D, st, ni, G);
36905
36905
  }
36906
36906
  }
36907
- Je || (Je = new Ht());
36908
- var fi = Je.get(D);
36907
+ Ke || (Ke = new Ht());
36908
+ var fi = Ke.get(D);
36909
36909
  if (fi)
36910
36910
  return fi;
36911
- if (Je.set(D, it), !Tt)
36911
+ if (Ke.set(D, it), !Tt)
36912
36912
  var _t = $ ? Ar(D) : Cr(D);
36913
36913
  return be(_t || D, function($t, Gt) {
36914
- _t && (Gt = $t, $t = D[Gt]), di(it, Gt, ni($t, G, $, fe, Gt, D, Je));
36914
+ _t && (Gt = $t, $t = D[Gt]), di(it, Gt, ni($t, G, $, fe, Gt, D, Ke));
36915
36915
  }), it;
36916
36916
  }
36917
36917
  function uo(D) {
@@ -36980,8 +36980,8 @@ var Za = Mx, zl = {}, Ex = {
36980
36980
  function es(D, G, $, fe) {
36981
36981
  $ || ($ = {});
36982
36982
  for (var Ue = -1, He = G.length; ++Ue < He; ) {
36983
- var Je = G[Ue], it = fe ? fe($[Je], D[Je], Je, $, D) : void 0;
36984
- di($, Je, it === void 0 ? D[Je] : it);
36983
+ var Ke = G[Ue], it = fe ? fe($[Ke], D[Ke], Ke, $, D) : void 0;
36984
+ di($, Ke, it === void 0 ? D[Ke] : it);
36985
36985
  }
36986
36986
  return $;
36987
36987
  }
@@ -37146,8 +37146,8 @@ var Ol = {}, xx = {
37146
37146
  }(), _e = ce && ce.isTypedArray;
37147
37147
  function ve(D, G) {
37148
37148
  for (var $ = -1, fe = D == null ? 0 : D.length, Ue = 0, He = []; ++$ < fe; ) {
37149
- var Je = D[$];
37150
- G(Je, $, D) && (He[Ue++] = Je);
37149
+ var Ke = D[$];
37150
+ G(Ke, $, D) && (He[Ue++] = Ke);
37151
37151
  }
37152
37152
  return He;
37153
37153
  }
@@ -37331,9 +37331,9 @@ var Ol = {}, xx = {
37331
37331
  }
37332
37332
  kt.prototype.clear = ni, kt.prototype.delete = uo, kt.prototype.get = fo, kt.prototype.has = Jn, kt.prototype.set = si;
37333
37333
  function Kn(D, G) {
37334
- var $ = mo(D), fe = !$ && Ma(D), Ue = !$ && !fe && go(D), He = !$ && !fe && !Ue && xa(D), Je = $ || fe || Ue || He, it = Je ? Xe(D.length, String) : [], Tt = it.length;
37334
+ var $ = mo(D), fe = !$ && Ma(D), Ue = !$ && !fe && go(D), He = !$ && !fe && !Ue && xa(D), Ke = $ || fe || Ue || He, it = Ke ? Xe(D.length, String) : [], Tt = it.length;
37335
37335
  for (var st in D)
37336
- (G || ht.call(D, st)) && !(Je && // Safari 9 has enumerable `arguments.length` in strict mode.
37336
+ (G || ht.call(D, st)) && !(Ke && // Safari 9 has enumerable `arguments.length` in strict mode.
37337
37337
  (st == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
37338
37338
  Ue && (st == "offset" || st == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
37339
37339
  He && (st == "buffer" || st == "byteLength" || st == "byteOffset") || // Skip index properties.
@@ -37360,16 +37360,16 @@ var Ol = {}, xx = {
37360
37360
  return D === G ? !0 : D == null || G == null || !sn(D) && !sn(G) ? D !== D && G !== G : Ii(D, G, $, fe, In, Ue);
37361
37361
  }
37362
37362
  function Ii(D, G, $, fe, Ue, He) {
37363
- var Je = mo(D), it = mo(G), Tt = Je ? l : Oe(D), st = it ? l : Oe(G);
37363
+ var Ke = mo(D), it = mo(G), Tt = Ke ? l : Oe(D), st = it ? l : Oe(G);
37364
37364
  Tt = Tt == a ? w : Tt, st = st == a ? w : st;
37365
37365
  var Kt = Tt == w, fi = st == w, _t = Tt == st;
37366
37366
  if (_t && go(D)) {
37367
37367
  if (!go(G))
37368
37368
  return !1;
37369
- Je = !0, Kt = !1;
37369
+ Ke = !0, Kt = !1;
37370
37370
  }
37371
37371
  if (_t && !Kt)
37372
- return He || (He = new kt()), Je || xa(D) ? es(D, G, $, fe, Ue, He) : br(D, G, Tt, $, fe, Ue, He);
37372
+ return He || (He = new kt()), Ke || xa(D) ? es(D, G, $, fe, Ue, He) : br(D, G, Tt, $, fe, Ue, He);
37373
37373
  if (!($ & s)) {
37374
37374
  var $t = Kt && ht.call(D, "__wrapped__"), Gt = fi && ht.call(G, "__wrapped__");
37375
37375
  if ($t || Gt) {
@@ -37397,8 +37397,8 @@ var Ol = {}, xx = {
37397
37397
  return G;
37398
37398
  }
37399
37399
  function es(D, G, $, fe, Ue, He) {
37400
- var Je = $ & s, it = D.length, Tt = G.length;
37401
- if (it != Tt && !(Je && Tt > it))
37400
+ var Ke = $ & s, it = D.length, Tt = G.length;
37401
+ if (it != Tt && !(Ke && Tt > it))
37402
37402
  return !1;
37403
37403
  var st = He.get(D);
37404
37404
  if (st && He.get(G))
@@ -37407,7 +37407,7 @@ var Ol = {}, xx = {
37407
37407
  for (He.set(D, G), He.set(G, D); ++Kt < it; ) {
37408
37408
  var $t = D[Kt], Gt = G[Kt];
37409
37409
  if (fe)
37410
- var ts = Je ? fe(Gt, $t, Kt, G, D, He) : fe($t, Gt, Kt, D, G, He);
37410
+ var ts = Ke ? fe(Gt, $t, Kt, G, D, He) : fe($t, Gt, Kt, D, G, He);
37411
37411
  if (ts !== void 0) {
37412
37412
  if (ts)
37413
37413
  continue;
@@ -37429,7 +37429,7 @@ var Ol = {}, xx = {
37429
37429
  }
37430
37430
  return He.delete(D), He.delete(G), fi;
37431
37431
  }
37432
- function br(D, G, $, fe, Ue, He, Je) {
37432
+ function br(D, G, $, fe, Ue, He, Ke) {
37433
37433
  switch ($) {
37434
37434
  case E:
37435
37435
  if (D.byteLength != G.byteLength || D.byteOffset != G.byteOffset)
@@ -37452,12 +37452,12 @@ var Ol = {}, xx = {
37452
37452
  var Tt = fe & s;
37453
37453
  if (it || (it = ct), D.size != G.size && !Tt)
37454
37454
  return !1;
37455
- var st = Je.get(D);
37455
+ var st = Ke.get(D);
37456
37456
  if (st)
37457
37457
  return st == G;
37458
- fe |= o, Je.set(D, G);
37459
- var Kt = es(it(D), it(G), fe, Ue, He, Je);
37460
- return Je.delete(D), Kt;
37458
+ fe |= o, Ke.set(D, G);
37459
+ var Kt = es(it(D), it(G), fe, Ue, He, Ke);
37460
+ return Ke.delete(D), Kt;
37461
37461
  case z:
37462
37462
  if (An)
37463
37463
  return An.call(D) == An.call(G);
@@ -37465,12 +37465,12 @@ var Ol = {}, xx = {
37465
37465
  return !1;
37466
37466
  }
37467
37467
  function Ar(D, G, $, fe, Ue, He) {
37468
- var Je = $ & s, it = F(D), Tt = it.length, st = F(G), Kt = st.length;
37469
- if (Tt != Kt && !Je)
37468
+ var Ke = $ & s, it = F(D), Tt = it.length, st = F(G), Kt = st.length;
37469
+ if (Tt != Kt && !Ke)
37470
37470
  return !1;
37471
37471
  for (var fi = Tt; fi--; ) {
37472
37472
  var _t = it[fi];
37473
- if (!(Je ? _t in G : ht.call(G, _t)))
37473
+ if (!(Ke ? _t in G : ht.call(G, _t)))
37474
37474
  return !1;
37475
37475
  }
37476
37476
  var $t = He.get(D);
@@ -37478,11 +37478,11 @@ var Ol = {}, xx = {
37478
37478
  return $t == G;
37479
37479
  var Gt = !0;
37480
37480
  He.set(D, G), He.set(G, D);
37481
- for (var ts = Je; ++fi < Tt; ) {
37481
+ for (var ts = Ke; ++fi < Tt; ) {
37482
37482
  _t = it[fi];
37483
37483
  var Mn = D[_t], Ts = G[_t];
37484
37484
  if (fe)
37485
- var bd = Je ? fe(Ts, Mn, _t, G, D, He) : fe(Mn, Ts, _t, D, G, He);
37485
+ var bd = Ke ? fe(Ts, Mn, _t, G, D, He) : fe(Mn, Ts, _t, D, G, He);
37486
37486
  if (!(bd === void 0 ? Mn === Ts || Ue(Mn, Ts, $, fe, He) : bd)) {
37487
37487
  Gt = !1;
37488
37488
  break;
@@ -38649,12 +38649,12 @@ function Jx(n, t, e) {
38649
38649
  }
38650
38650
  const De = () => N / 3;
38651
38651
  function Be(ve) {
38652
- qe[ve ? "unshift" : "push"](() => {
38652
+ Je[ve ? "unshift" : "push"](() => {
38653
38653
  ie = ve, e(13, ie);
38654
38654
  });
38655
38655
  }
38656
38656
  function ce(ve) {
38657
- qe[ve ? "unshift" : "push"](() => {
38657
+ Je[ve ? "unshift" : "push"](() => {
38658
38658
  J = ve, e(12, J);
38659
38659
  });
38660
38660
  }
@@ -39098,7 +39098,7 @@ function oS(n, t, e) {
39098
39098
  i && i.pause();
39099
39099
  };
39100
39100
  function O(E) {
39101
- qe[E ? "unshift" : "push"](() => {
39101
+ Je[E ? "unshift" : "push"](() => {
39102
39102
  o.videoInstance = E, e(0, o);
39103
39103
  });
39104
39104
  }
@@ -39291,7 +39291,7 @@ function aS(n) {
39291
39291
  return (
39292
39292
  /*mediaInstanceList*/
39293
39293
  n[8][0] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
39294
- n[8][0]), t = new dy({ props: r }), qe.push(() => Kl(t, "mediaInstance", o)), {
39294
+ n[8][0]), t = new dy({ props: r }), Je.push(() => Kl(t, "mediaInstance", o)), {
39295
39295
  c() {
39296
39296
  ye(t.$$.fragment);
39297
39297
  },
@@ -39406,7 +39406,7 @@ function eg(n) {
39406
39406
  n[8][
39407
39407
  /*index*/
39408
39408
  n[30]
39409
- ]), t = new dy({ props: r }), qe.push(() => Kl(t, "mediaInstance", o)), {
39409
+ ]), t = new dy({ props: r }), Je.push(() => Kl(t, "mediaInstance", o)), {
39410
39410
  c() {
39411
39411
  ye(t.$$.fragment);
39412
39412
  },
@@ -39576,7 +39576,7 @@ function uS(n, t, e) {
39576
39576
  n.$$.not_equal(C[B], T) && (C[B] = T, e(8, C));
39577
39577
  }
39578
39578
  function E(T) {
39579
- qe[T ? "unshift" : "push"](() => {
39579
+ Je[T ? "unshift" : "push"](() => {
39580
39580
  S = T, e(12, S);
39581
39581
  });
39582
39582
  }
@@ -40988,7 +40988,7 @@ function TS(n, t, e) {
40988
40988
  d && (clearInterval(d), e(9, d = null));
40989
40989
  });
40990
40990
  function m(g) {
40991
- qe[g ? "unshift" : "push"](() => {
40991
+ Je[g ? "unshift" : "push"](() => {
40992
40992
  h = g, e(2, h);
40993
40993
  });
40994
40994
  }
@@ -42715,7 +42715,7 @@ function g9(n, t, e) {
42715
42715
  z && Nc(z);
42716
42716
  });
42717
42717
  function x(k) {
42718
- qe[k ? "unshift" : "push"](() => {
42718
+ Je[k ? "unshift" : "push"](() => {
42719
42719
  S = k, e(2, S);
42720
42720
  });
42721
42721
  }
@@ -43189,7 +43189,7 @@ function O9(n, t, e) {
43189
43189
  l == null || l();
43190
43190
  });
43191
43191
  function c(d) {
43192
- qe[d ? "unshift" : "push"](() => {
43192
+ Je[d ? "unshift" : "push"](() => {
43193
43193
  r = d, e(0, r);
43194
43194
  });
43195
43195
  }
@@ -43790,13 +43790,13 @@ function Y9(n, t, e) {
43790
43790
  return !(!z.enabled || !O.visible || !O.enabled || !A.visible || !((M = z.state) != null && M.visible) || ((E = z.temporaryState) == null ? void 0 : E.visible) === !1 || z instanceof gy && z.loading);
43791
43791
  }
43792
43792
  function C(z) {
43793
- qe[z ? "unshift" : "push"](() => {
43793
+ Je[z ? "unshift" : "push"](() => {
43794
43794
  c.contentDom = z, e(0, c);
43795
43795
  });
43796
43796
  }
43797
43797
  const L = (z) => h.emit("click", { event: z, target: "TagContent", tag: c });
43798
43798
  function S(z) {
43799
- qe[z ? "unshift" : "push"](() => {
43799
+ Je[z ? "unshift" : "push"](() => {
43800
43800
  c.contentDom = z, e(0, c);
43801
43801
  });
43802
43802
  }
@@ -46831,8 +46831,8 @@ class Ji extends wi {
46831
46831
  * @description 配置
46832
46832
  */
46833
46833
  f(this, "config");
46834
- f(this, "on", (e, i, s) => Ke.modules.fiveDomEvents.addEventListener(this, e, i, s));
46835
- f(this, "off", (...e) => Ke.modules.fiveDomEvents.removeEventListener(this, ...e));
46834
+ f(this, "on", (e, i, s) => qe.modules.fiveDomEvents.addEventListener(this, e, i, s));
46835
+ f(this, "off", (...e) => qe.modules.fiveDomEvents.removeEventListener(this, ...e));
46836
46836
  f(this, "applyObjectMatrixWorld", (e, i) => {
46837
46837
  const s = i != null ? i : this;
46838
46838
  return s.updateMatrixWorld(), qr(s, e);
@@ -46865,7 +46865,7 @@ class Ji extends wi {
46865
46865
  };
46866
46866
  }
46867
46867
  get pointSelector() {
46868
- return Ke.modules.pointSelector;
46868
+ return qe.modules.pointSelector;
46869
46869
  }
46870
46870
  /**
46871
46871
  * @description 撤销
@@ -46895,7 +46895,7 @@ class Ji extends wi {
46895
46895
  * @description 停止创建当前物体,等同于`esc`
46896
46896
  */
46897
46897
  stopCreating() {
46898
- Ke.modules.pointSelector.disable();
46898
+ qe.modules.pointSelector.disable();
46899
46899
  }
46900
46900
  /**
46901
46901
  * @description 从场景中删除当前物体,并且移除事件监听
@@ -46939,8 +46939,8 @@ class Ji extends wi {
46939
46939
  * @description 显示删除按钮
46940
46940
  */
46941
46941
  showDeleteButton(e, i) {
46942
- Ke.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), Ke.modules.five.once("cameraUpdate", () => {
46943
- Ke.modules.cursor.removeDeleteButton();
46942
+ qe.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), qe.modules.five.once("cameraUpdate", () => {
46943
+ qe.modules.cursor.removeDeleteButton();
46944
46944
  });
46945
46945
  }
46946
46946
  }
@@ -47039,18 +47039,18 @@ class Ca extends lc {
47039
47039
  }
47040
47040
  get helper() {
47041
47041
  var e;
47042
- return (e = Ke.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
47042
+ return (e = qe.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
47043
47043
  }
47044
47044
  enable() {
47045
47045
  super.enable();
47046
47046
  const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
47047
- Ke.modules.object3DHelper.addObject3DHelper(this.originObject, R({ positionFrom: "boundingBox" }, e));
47048
- const i = Ke.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
47047
+ qe.modules.object3DHelper.addObject3DHelper(this.originObject, R({ positionFrom: "boundingBox" }, e));
47048
+ const i = qe.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
47049
47049
  i.hooks.on("moveStart", this.onMoveStart), i.hooks.on("rotateStart", this.onRotateStart), i.hooks.on("scaleStart", this.onScaleStart), i.hooks.on("move", this.onMove), i.hooks.on("rotate", this.onRotate), i.hooks.on("scale", this.onScale), i.hooks.on("moveEnd", this.onMoveEnd), i.hooks.on("rotateEnd", this.onRotateEnd), i.hooks.on("scaleEnd", this.onScaleEnd);
47050
47050
  }
47051
47051
  disable() {
47052
47052
  var e, i, s, o, r, a, l, c, h;
47053
- super.disable(), (e = this.helper) == null || e.hooks.off("moveStart", this.onMoveStart), (i = this.helper) == null || i.hooks.off("rotateStart", this.onRotateStart), (s = this.helper) == null || s.hooks.off("scaleStart", this.onScaleStart), (o = this.helper) == null || o.hooks.off("move", this.onMove), (r = this.helper) == null || r.hooks.off("rotate", this.onRotate), (a = this.helper) == null || a.hooks.off("scale", this.onScale), (l = this.helper) == null || l.hooks.off("moveEnd", this.onMoveEnd), (c = this.helper) == null || c.hooks.off("rotateEnd", this.onRotateEnd), (h = this.helper) == null || h.hooks.off("scaleEnd", this.onScaleEnd), Ke.modules.object3DHelper.removeObject3DHelper(this.originObject);
47053
+ super.disable(), (e = this.helper) == null || e.hooks.off("moveStart", this.onMoveStart), (i = this.helper) == null || i.hooks.off("rotateStart", this.onRotateStart), (s = this.helper) == null || s.hooks.off("scaleStart", this.onScaleStart), (o = this.helper) == null || o.hooks.off("move", this.onMove), (r = this.helper) == null || r.hooks.off("rotate", this.onRotate), (a = this.helper) == null || a.hooks.off("scale", this.onScale), (l = this.helper) == null || l.hooks.off("moveEnd", this.onMoveEnd), (c = this.helper) == null || c.hooks.off("rotateEnd", this.onRotateEnd), (h = this.helper) == null || h.hooks.off("scaleEnd", this.onScaleEnd), qe.modules.object3DHelper.removeObject3DHelper(this.originObject);
47054
47054
  }
47055
47055
  initialHelperMatrix() {
47056
47056
  var e;
@@ -47078,7 +47078,7 @@ class dd extends lc {
47078
47078
  enable() {
47079
47079
  super.enable(), this.points.filter(Ge).forEach((e) => {
47080
47080
  const i = new mn();
47081
- i.visible = !1, i.position.copy(e), i.draggable = !0, Ke.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), Ke.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), Ke.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
47081
+ i.visible = !1, i.position.copy(e), i.draggable = !0, qe.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), qe.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), qe.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
47082
47082
  });
47083
47083
  }
47084
47084
  disable() {
@@ -47091,7 +47091,7 @@ class j7 extends dd {
47091
47091
  f(this, "onDrag", (e) => {
47092
47092
  if (!this.draggingPoints || this.draggingPoints.length === 0)
47093
47093
  return;
47094
- const i = ga(Ke.modules.five, e.raycaster);
47094
+ const i = ga(qe.modules.five, e.raycaster);
47095
47095
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
47096
47096
  });
47097
47097
  }
@@ -47105,7 +47105,7 @@ class R7 extends dd {
47105
47105
  f(this, "onDrag", (e) => {
47106
47106
  if (!this.draggingPoints || this.draggingPoints.length === 0)
47107
47107
  return;
47108
- const i = ga(Ke.modules.five, e.raycaster);
47108
+ const i = ga(qe.modules.five, e.raycaster);
47109
47109
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
47110
47110
  });
47111
47111
  }
@@ -47218,7 +47218,7 @@ class B7 extends lc {
47218
47218
  super(e);
47219
47219
  f(this, "onDrag", (e) => {
47220
47220
  var s;
47221
- const i = ga(Ke.modules.five, e.raycaster);
47221
+ const i = ga(qe.modules.five, e.raycaster);
47222
47222
  (s = this.originObject.pointMesh) == null || s.position.copy(i.point);
47223
47223
  });
47224
47224
  }
@@ -47350,11 +47350,11 @@ class V7 extends dd {
47350
47350
  var r, a;
47351
47351
  if (!this.draggingPoints || this.draggingPoints.length === 0)
47352
47352
  return;
47353
- const i = ga(Ke.modules.five, e.raycaster);
47353
+ const i = ga(qe.modules.five, e.raycaster);
47354
47354
  if (!i)
47355
47355
  return;
47356
47356
  const s = this.originObject.areaMesh.projectPoint(i.point);
47357
- this.draggingPoints.forEach((l) => l.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((l) => l.position)), this.hooks.emit("objectUpdate"), Ke.modules.five && (Ke.modules.five.needsRender = !0);
47357
+ this.draggingPoints.forEach((l) => l.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((l) => l.position)), this.hooks.emit("objectUpdate"), qe.modules.five && (qe.modules.five.needsRender = !0);
47358
47358
  const o = (a = (r = this.originObject.areaMesh) == null ? void 0 : r.userData) == null ? void 0 : a.syncCreationPointMeshes;
47359
47359
  typeof o == "function" && o();
47360
47360
  });
@@ -47406,10 +47406,10 @@ class V7 extends dd {
47406
47406
  return r.visible = !0, r.userData = (a = r.userData) != null ? a : {}, r.userData.dragSelectPixelDistance = i, r.draggable = !0, r.setStyle({
47407
47407
  color: s,
47408
47408
  opacity: o
47409
- }), Ke.modules.fiveDomEvents.addEventListener(r, "drag", this.onDrag), Ke.modules.fiveDomEvents.addEventListener(r, "dragstart", this.onDragstart), Ke.modules.fiveDomEvents.addEventListener(r, "dragend", this.onDragend), r;
47409
+ }), qe.modules.fiveDomEvents.addEventListener(r, "drag", this.onDrag), qe.modules.fiveDomEvents.addEventListener(r, "dragstart", this.onDragstart), qe.modules.fiveDomEvents.addEventListener(r, "dragend", this.onDragend), r;
47410
47410
  }
47411
47411
  disposePointMesh(e) {
47412
- Ke.modules.fiveDomEvents.removeEventListener(e), this.remove(e);
47412
+ qe.modules.fiveDomEvents.removeEventListener(e), this.remove(e);
47413
47413
  }
47414
47414
  }
47415
47415
  class Oh extends Ji {
@@ -48454,7 +48454,7 @@ function W7(n, t, e) {
48454
48454
  r.remove(l);
48455
48455
  const z = C.raycaster.ray.intersectPlane(m, new b.Vector3()), O = u[0].distanceTo(u[1]) / 2, A = new b.Vector3().lerpVectors(u[0], u[1], 0.5), M = new b.Vector3().subVectors(z, A).normalize();
48456
48456
  d = new b.Vector3().addVectors(A, M.multiplyScalar(O));
48457
- const E = [u[0], d, u[1]], x = Sy(E, Ke.modules.five.camera.position);
48457
+ const E = [u[0], d, u[1]], x = Sy(E, qe.modules.five.camera.position);
48458
48458
  n.setPoints(x);
48459
48459
  return;
48460
48460
  }
@@ -48505,7 +48505,7 @@ function U7(n, t, e) {
48505
48505
  c.setPoints([(O = C.originalPoint) != null ? O : C.point, C.point]);
48506
48506
  const A = new b.Vector3().crossVectors(u[0].clone().sub(u[1]), m.normal).normalize();
48507
48507
  d = new b.Line3(u[1].clone().add(A), u[1].clone().sub(A)).closestPointToPoint(C.point, !1, new b.Vector3());
48508
- const E = [u[0], u[1], d], x = Sy(E, Ke.modules.five.camera.position);
48508
+ const E = [u[0], u[1], d], x = Sy(E, qe.modules.five.camera.position);
48509
48509
  n.setPoints(x);
48510
48510
  return;
48511
48511
  }
@@ -49370,15 +49370,15 @@ const Lo = class extends St {
49370
49370
  });
49371
49371
  }
49372
49372
  };
49373
- let Ke = Lo;
49374
- f(Ke, "modules", Py);
49373
+ let qe = Lo;
49374
+ f(qe, "modules", Py);
49375
49375
  const iz = (n, t, e) => {
49376
49376
  if (t && typeof t == "object" && ("theme" in t || "config" in t)) {
49377
49377
  const i = t;
49378
- return new Ke(n, i.theme, i.config);
49378
+ return new qe(n, i.theme, i.config);
49379
49379
  }
49380
- return new Ke(n, t, e);
49381
- }, nz = (n, t) => new Ke(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config), X7 = (n, t) => {
49380
+ return new qe(n, t, e);
49381
+ }, nz = (n, t) => new qe(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config), X7 = (n, t) => {
49382
49382
  const e = new b.Box3();
49383
49383
  return n.models.find((s) => s.name === n.state.workCode).traverse((s) => {
49384
49384
  var r, a;
@@ -49412,7 +49412,7 @@ class q7 extends hr {
49412
49412
  }
49413
49413
  applyVisible() {
49414
49414
  var i, s, o, r, a, l;
49415
- this.computeRenderType() === "Mesh" ? (this.initialSculpt(), ((s = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : s.type) === "Video" ? this.renderVideoPlane() : ((r = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : r.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane()) : ((a = this.tag3DContentSvelte) == null || a.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (l = this.tag3DContentSvelte) != null && l.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0));
49415
+ this.computeRenderType() === "Mesh" ? (this.initialSculpt(), ((s = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : s.type) === "Video" ? this.renderVideoPlane() : ((r = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : r.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane()) : ((a = this.tag3DContentSvelte) == null || a.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (l = this.tag3DContentSvelte) != null && l.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0)), this.syncEditorAuxiliaryVisibility();
49416
49416
  }
49417
49417
  set(e, i = !0) {
49418
49418
  super.set(e, i), Ti(this.five).then(() => {
@@ -49505,7 +49505,7 @@ class q7 extends hr {
49505
49505
  initialSculpt() {
49506
49506
  if (this.rectanglePlane)
49507
49507
  return;
49508
- const e = new Ke(this.five, void 0, {
49508
+ const e = new qe(this.five, void 0, {
49509
49509
  magnifier: null
49510
49510
  });
49511
49511
  e.clear(), e.group.removeFromParent();
@@ -49530,7 +49530,7 @@ class q7 extends hr {
49530
49530
  }), s.editor.disable();
49531
49531
  }
49532
49532
  editorEnable() {
49533
- this.rectanglePlane || this.initialSculpt(), this.rectanglePlane.visible = !0, this.rectanglePlane.editor.enable();
49533
+ this.rectanglePlane || this.initialSculpt(), this.rectanglePlane.visible = !0, this.rectanglePlane.editor.enable(), this.syncEditorAuxiliaryVisibility();
49534
49534
  }
49535
49535
  editorDisable(e) {
49536
49536
  var s;
@@ -49540,6 +49540,26 @@ class q7 extends hr {
49540
49540
  points: i
49541
49541
  }), this.rectanglePlane.editor.disable();
49542
49542
  }
49543
+ getRectangleHelper() {
49544
+ var i, s;
49545
+ const e = (i = this.rectanglePlane) == null ? void 0 : i.rectangleMesh;
49546
+ if (e)
49547
+ return (s = qe.modules.object3DHelper.getObject3DHelper(e)) == null ? void 0 : s.helper;
49548
+ }
49549
+ /**
49550
+ * 标签因为 visiblePanoIndex 等可见性规则被隐藏时,同时隐藏编辑辅助元素。
49551
+ * 当标签重新可见且仍处于编辑态时,再恢复辅助元素显示。
49552
+ */
49553
+ syncEditorAuxiliaryVisibility() {
49554
+ if (!this.rectanglePlane)
49555
+ return;
49556
+ const e = this.getRectangleHelper(), i = !!this.rectanglePlane.editor.parent;
49557
+ if (!this.currentVisible || !i) {
49558
+ this.rectanglePlane.visible = !1, e == null || e.hide(), this.five.needsRender = !0;
49559
+ return;
49560
+ }
49561
+ this.rectanglePlane.visible = !0, e == null || e.show(), this.five.needsRender = !0;
49562
+ }
49543
49563
  renderVideoPlane() {
49544
49564
  var h, u, d;
49545
49565
  const e = this.data.mediaData[0];
@@ -49719,7 +49739,7 @@ class K7 extends hr {
49719
49739
  const e = this.position;
49720
49740
  if (!(e != null && e.start) || !(e != null && e.end) || !(e != null && e.rotation))
49721
49741
  return;
49722
- const i = new Ke(this.five, void 0, {
49742
+ const i = new qe(this.five, void 0, {
49723
49743
  magnifier: null
49724
49744
  });
49725
49745
  i.clear(), i.group.removeFromParent();
@@ -50007,7 +50027,7 @@ class $7 extends hr {
50007
50027
  const e = this.position;
50008
50028
  if (!e || e.length < 3)
50009
50029
  return;
50010
- const i = new Ke(this.five, void 0, {
50030
+ const i = new qe(this.five, void 0, {
50011
50031
  magnifier: null
50012
50032
  });
50013
50033
  i.clear(), i.group.removeFromParent();
@@ -51484,12 +51504,12 @@ function fT(n, t, e) {
51484
51504
  w(Z), S == null || S(h, Z);
51485
51505
  };
51486
51506
  function E(Z) {
51487
- qe[Z ? "unshift" : "push"](() => {
51507
+ Je[Z ? "unshift" : "push"](() => {
51488
51508
  v = Z, e(0, v);
51489
51509
  });
51490
51510
  }
51491
51511
  function x(Z) {
51492
- qe[Z ? "unshift" : "push"](() => {
51512
+ Je[Z ? "unshift" : "push"](() => {
51493
51513
  v = Z, e(0, v);
51494
51514
  });
51495
51515
  }
@@ -53843,12 +53863,12 @@ function d6(n, t, e) {
53843
53863
  Hn.call(this, n, te);
53844
53864
  }
53845
53865
  function ae(te) {
53846
- qe[te ? "unshift" : "push"](() => {
53866
+ Je[te ? "unshift" : "push"](() => {
53847
53867
  M = te, e(9, M);
53848
53868
  });
53849
53869
  }
53850
53870
  function be(te) {
53851
- qe[te ? "unshift" : "push"](() => {
53871
+ Je[te ? "unshift" : "push"](() => {
53852
53872
  q = te, e(10, q);
53853
53873
  });
53854
53874
  }
@@ -54133,7 +54153,7 @@ function g6(n) {
54133
54153
  return (
54134
54154
  /*tagPointClickHelper*/
54135
54155
  n[12] !== void 0 && (o.tagPointClickHelper = /*tagPointClickHelper*/
54136
- n[12]), t = new pT({ props: o }), qe.push(() => Kl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
54156
+ n[12]), t = new pT({ props: o }), Je.push(() => Kl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
54137
54157
  "audioInstanceReady",
54138
54158
  /*audioEventHandlers*/
54139
54159
  n[27].audioInstanceReady
@@ -54498,12 +54518,12 @@ function A6(n, t, e) {
54498
54518
  A = te, e(12, A);
54499
54519
  }
54500
54520
  function ae(te) {
54501
- qe[te ? "unshift" : "push"](() => {
54521
+ Je[te ? "unshift" : "push"](() => {
54502
54522
  x = te, e(13, x);
54503
54523
  });
54504
54524
  }
54505
54525
  function be(te) {
54506
- qe[te ? "unshift" : "push"](() => {
54526
+ Je[te ? "unshift" : "push"](() => {
54507
54527
  m.dom = te, e(0, m);
54508
54528
  });
54509
54529
  }
@@ -54807,7 +54827,7 @@ function M6(n, t, e) {
54807
54827
  e(8, d = P6(p));
54808
54828
  });
54809
54829
  function m(g) {
54810
- qe[g ? "unshift" : "push"](() => {
54830
+ Je[g ? "unshift" : "push"](() => {
54811
54831
  u = g, e(7, u);
54812
54832
  });
54813
54833
  }
@@ -58648,17 +58668,17 @@ function dD(n, t, e) {
58648
58668
  O == null || O(), p == null || p.off("cameraUpdate", A);
58649
58669
  });
58650
58670
  function M(k) {
58651
- qe[k ? "unshift" : "push"](() => {
58671
+ Je[k ? "unshift" : "push"](() => {
58652
58672
  z = k, e(9, z);
58653
58673
  });
58654
58674
  }
58655
58675
  function E(k) {
58656
- qe[k ? "unshift" : "push"](() => {
58676
+ Je[k ? "unshift" : "push"](() => {
58657
58677
  j = k, e(8, j);
58658
58678
  });
58659
58679
  }
58660
58680
  function x(k) {
58661
- qe[k ? "unshift" : "push"](() => {
58681
+ Je[k ? "unshift" : "push"](() => {
58662
58682
  S = k, e(7, S);
58663
58683
  });
58664
58684
  }
@@ -62105,7 +62125,7 @@ export {
62105
62125
  wL as ROOM_FETILE_TYPE_MAP,
62106
62126
  CL as ROOM_TYPE_MAP,
62107
62127
  Tn as Rotation,
62108
- Ke as Sculpt,
62128
+ qe as Sculpt,
62109
62129
  iz as SculptPlugin,
62110
62130
  nz as SculptPluginForFive,
62111
62131
  dL as TopviewFloorplanPlugin,