@realsee/dnalogel 3.44.0 → 3.44.2
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/CHANGELOG.md +6 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/index.cjs.js +17 -17
- package/dist/index.js +153 -149
- package/dist/index.umd.js +15 -15
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +37 -37
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +34 -32
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +13 -9
- package/libs/PanoTagPlugin/controller/index.js +6 -8
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import up from "earcut";
|
|
|
48
48
|
import { GLTFLoader as fp } from "@realsee/five/gltf-loader";
|
|
49
49
|
function mp() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.44.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.44.2",
|
|
52
52
|
[
|
|
53
53
|
"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=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -104,7 +104,7 @@ const Ap = window, Ec = window.requestAnimationFrame || Ap.webkitRequestAnimatio
|
|
|
104
104
|
function Go(n, t = 0) {
|
|
105
105
|
t <= 0 ? Ec(n) : Ec(() => Go(n, t - 1));
|
|
106
106
|
}
|
|
107
|
-
var
|
|
107
|
+
var ti = Object.freeze({
|
|
108
108
|
Linear: Object.freeze({
|
|
109
109
|
None: function(n) {
|
|
110
110
|
return n;
|
|
@@ -223,13 +223,13 @@ var ei = Object.freeze({
|
|
|
223
223
|
}),
|
|
224
224
|
Bounce: Object.freeze({
|
|
225
225
|
In: function(n) {
|
|
226
|
-
return 1 -
|
|
226
|
+
return 1 - ti.Bounce.Out(1 - n);
|
|
227
227
|
},
|
|
228
228
|
Out: function(n) {
|
|
229
229
|
return n < 1 / 2.75 ? 7.5625 * n * n : n < 2 / 2.75 ? 7.5625 * (n -= 1.5 / 2.75) * n + 0.75 : n < 2.5 / 2.75 ? 7.5625 * (n -= 2.25 / 2.75) * n + 0.9375 : 7.5625 * (n -= 2.625 / 2.75) * n + 0.984375;
|
|
230
230
|
},
|
|
231
231
|
InOut: function(n) {
|
|
232
|
-
return n < 0.5 ?
|
|
232
|
+
return n < 0.5 ? ti.Bounce.In(n * 2) * 0.5 : ti.Bounce.Out(n * 2 - 1) * 0.5 + 0.5;
|
|
233
233
|
}
|
|
234
234
|
}),
|
|
235
235
|
generatePow: function(n) {
|
|
@@ -331,7 +331,7 @@ var ei = Object.freeze({
|
|
|
331
331
|
/** @class */
|
|
332
332
|
function() {
|
|
333
333
|
function n(t, e) {
|
|
334
|
-
e === void 0 && (e = qa), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction =
|
|
334
|
+
e === void 0 && (e = qa), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = ti.Linear.None, this._interpolationFunction = Zi.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = Pl.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
335
335
|
}
|
|
336
336
|
return n.prototype.getId = function() {
|
|
337
337
|
return this._id;
|
|
@@ -428,7 +428,7 @@ var ei = Object.freeze({
|
|
|
428
428
|
}, n.prototype.yoyo = function(t) {
|
|
429
429
|
return t === void 0 && (t = !1), this._yoyo = t, this;
|
|
430
430
|
}, n.prototype.easing = function(t) {
|
|
431
|
-
return t === void 0 && (t =
|
|
431
|
+
return t === void 0 && (t = ti.Linear.None), this._easingFunction = t, this;
|
|
432
432
|
}, n.prototype.interpolation = function(t) {
|
|
433
433
|
return t === void 0 && (t = Zi.Linear), this._interpolationFunction = t, this;
|
|
434
434
|
}, n.prototype.chain = function() {
|
|
@@ -496,7 +496,7 @@ var ei = Object.freeze({
|
|
|
496
496
|
}, n;
|
|
497
497
|
}()
|
|
498
498
|
), bp = "23.1.1", yp = Pl.nextId, ni = qa, wp = ni.getAll.bind(ni), Cp = ni.removeAll.bind(ni), Pp = ni.add.bind(ni), If = ni.remove.bind(ni), Ip = ni.update.bind(ni), Mc = {
|
|
499
|
-
Easing:
|
|
499
|
+
Easing: ti,
|
|
500
500
|
Group: Pf,
|
|
501
501
|
Interpolation: Zi,
|
|
502
502
|
now: Mn,
|
|
@@ -510,7 +510,7 @@ var ei = Object.freeze({
|
|
|
510
510
|
remove: If,
|
|
511
511
|
update: Ip
|
|
512
512
|
};
|
|
513
|
-
function Ep(n, t, e, i =
|
|
513
|
+
function Ep(n, t, e, i = ti.Linear.None) {
|
|
514
514
|
const s = new Ar(n).to(t, e).easing(i).start();
|
|
515
515
|
function o(r) {
|
|
516
516
|
s.update(r) && requestAnimationFrame(o);
|
|
@@ -1484,7 +1484,7 @@ function kc(n, t) {
|
|
|
1484
1484
|
function Ji(n) {
|
|
1485
1485
|
return n.toLowerCase().includes("panorama");
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function Qt(n) {
|
|
1488
1488
|
return !Ji(n);
|
|
1489
1489
|
}
|
|
1490
1490
|
class El {
|
|
@@ -2166,7 +2166,7 @@ class Sf {
|
|
|
2166
2166
|
d(this, "abortUpdateMagnifier", () => {
|
|
2167
2167
|
});
|
|
2168
2168
|
var s, o, r, a;
|
|
2169
|
-
|
|
2169
|
+
this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new El(t, (s = e == null ? void 0 : e.magnifierParams) != null ? s : { dragEnabled: !0 });
|
|
2170
2170
|
let i;
|
|
2171
2171
|
(e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? i = new xf(t) : (e == null ? void 0 : e.pointHelper) === "highlight" ? i = new fv(t) : i = e.pointHelper, this.pointHelper = i, this.group.name = "five-point-selector", this.five.scene.add(this.group), (a = this.magnifier) == null || a.appendTo((r = (o = e.container) != null ? o : t.getElement().parentElement) != null ? r : document.body);
|
|
2172
2172
|
}
|
|
@@ -2609,7 +2609,7 @@ class Vn extends Ar {
|
|
|
2609
2609
|
});
|
|
2610
2610
|
}
|
|
2611
2611
|
}
|
|
2612
|
-
function _s(n, t =
|
|
2612
|
+
function _s(n, t = ti.Linear.None) {
|
|
2613
2613
|
const e = new Vn({ progress: 0 }).to({ progress: 1 });
|
|
2614
2614
|
return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
|
|
2615
2615
|
}
|
|
@@ -2724,7 +2724,7 @@ const Mx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2724
2724
|
getRaycasterFromFivePointer: Gp,
|
|
2725
2725
|
inside: kc,
|
|
2726
2726
|
isAbsoluteURL: Vf,
|
|
2727
|
-
isModelLike:
|
|
2727
|
+
isModelLike: Qt,
|
|
2728
2728
|
isNil: vi,
|
|
2729
2729
|
isPanoramaLike: Ji,
|
|
2730
2730
|
lookObject: wv,
|
|
@@ -3193,19 +3193,19 @@ class Ws {
|
|
|
3193
3193
|
}
|
|
3194
3194
|
}
|
|
3195
3195
|
d(Ws, "setFrontModeContainer", Vv), d(Ws, "setBehindModeContainer", Fv);
|
|
3196
|
-
const
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3196
|
+
const Gt = document.createElement("div");
|
|
3197
|
+
Gt.classList.add("behindFiveElement");
|
|
3198
|
+
Gt.style.position = "absolute";
|
|
3199
|
+
Gt.style.top = "0";
|
|
3200
|
+
Gt.style.left = "0";
|
|
3201
|
+
Gt.style.width = "100%";
|
|
3202
|
+
Gt.style.height = "100%";
|
|
3203
|
+
Gt.style.pointerEvents = "none";
|
|
3204
3204
|
function Qf(n) {
|
|
3205
3205
|
var i, s, o, r, a;
|
|
3206
3206
|
const t = (a = (s = Ca(n.getElement())) != null ? s : Ca((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : Ca((r = (o = n.getElement()) == null ? void 0 : o.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
|
|
3207
3207
|
if (e)
|
|
3208
|
-
return e.contains(
|
|
3208
|
+
return e.contains(Gt) || t.parentElement.insertBefore(Gt, t), Gt;
|
|
3209
3209
|
console.error(
|
|
3210
3210
|
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
|
|
3211
3211
|
);
|
|
@@ -3485,7 +3485,7 @@ function rs(n) {
|
|
|
3485
3485
|
function Ke(n) {
|
|
3486
3486
|
return n == null ? "" : n;
|
|
3487
3487
|
}
|
|
3488
|
-
function
|
|
3488
|
+
function _t(n) {
|
|
3489
3489
|
return n && ri(n.destroy) ? n.destroy : q;
|
|
3490
3490
|
}
|
|
3491
3491
|
function Vc(n) {
|
|
@@ -3540,7 +3540,7 @@ function R(n, t, e) {
|
|
|
3540
3540
|
function z(n) {
|
|
3541
3541
|
n.parentNode && n.parentNode.removeChild(n);
|
|
3542
3542
|
}
|
|
3543
|
-
function
|
|
3543
|
+
function Wt(n, t) {
|
|
3544
3544
|
for (let e = 0; e < n.length; e += 1)
|
|
3545
3545
|
n[e] && n[e].d(t);
|
|
3546
3546
|
}
|
|
@@ -3786,17 +3786,17 @@ function qi(n, t, e) {
|
|
|
3786
3786
|
n.dispatchEvent(Zf(`${t ? "intro" : "outro"}${e}`));
|
|
3787
3787
|
}
|
|
3788
3788
|
const _o = /* @__PURE__ */ new Set();
|
|
3789
|
-
let
|
|
3789
|
+
let $t;
|
|
3790
3790
|
function ue() {
|
|
3791
|
-
|
|
3791
|
+
$t = {
|
|
3792
3792
|
r: 0,
|
|
3793
3793
|
c: [],
|
|
3794
|
-
p:
|
|
3794
|
+
p: $t
|
|
3795
3795
|
// parent group
|
|
3796
3796
|
};
|
|
3797
3797
|
}
|
|
3798
3798
|
function fe() {
|
|
3799
|
-
|
|
3799
|
+
$t.r || ot($t.c), $t = $t.p;
|
|
3800
3800
|
}
|
|
3801
3801
|
function D(n, t) {
|
|
3802
3802
|
n && n.i && (_o.delete(n), n.i(t));
|
|
@@ -3805,7 +3805,7 @@ function B(n, t, e, i) {
|
|
|
3805
3805
|
if (n && n.o) {
|
|
3806
3806
|
if (_o.has(n))
|
|
3807
3807
|
return;
|
|
3808
|
-
_o.add(n),
|
|
3808
|
+
_o.add(n), $t.c.push(() => {
|
|
3809
3809
|
_o.delete(n), i && (e && n.d(1), i());
|
|
3810
3810
|
}), n.o(t);
|
|
3811
3811
|
} else
|
|
@@ -3850,7 +3850,7 @@ function Bi(n, t, e) {
|
|
|
3850
3850
|
function ls(n, t, e) {
|
|
3851
3851
|
const i = { direction: "out" };
|
|
3852
3852
|
let s = t(n, e, i), o = !0, r;
|
|
3853
|
-
const a =
|
|
3853
|
+
const a = $t;
|
|
3854
3854
|
a.r += 1;
|
|
3855
3855
|
function l() {
|
|
3856
3856
|
const { delay: c = 0, duration: h = 300, easing: u = Ai, tick: f = q, css: m } = s || Vl;
|
|
@@ -3899,7 +3899,7 @@ function si(n, t, e, i) {
|
|
|
3899
3899
|
start: Sl() + v,
|
|
3900
3900
|
b: m
|
|
3901
3901
|
};
|
|
3902
|
-
m || (P.group =
|
|
3902
|
+
m || (P.group = $t, $t.r += 1), a || l ? l = P : (b && (h(), c = tr(n, r, m, p, v, g, b)), m && A(0, 1), a = u(P, p), $e(() => qi(n, m, "start")), Ll((C) => {
|
|
3903
3903
|
if (l && C > l.start && (a = u(l, p), l = null, qi(n, a.b, "start"), b && (h(), c = tr(n, r, a.b, a.duration, 0, g, o.css))), a) {
|
|
3904
3904
|
if (C >= a.end)
|
|
3905
3905
|
A(r = a.b, 1 - r), qi(n, a.b, "end"), l || (a.b ? h() : --a.group.r || ot(a.group.c)), a = null;
|
|
@@ -3966,7 +3966,7 @@ function Ri(n, t) {
|
|
|
3966
3966
|
t.delete(n.key);
|
|
3967
3967
|
});
|
|
3968
3968
|
}
|
|
3969
|
-
function
|
|
3969
|
+
function Yt(n, t, e, i, s, o, r, a, l, c, h, u) {
|
|
3970
3970
|
let f = n.length, m = o.length, v = f;
|
|
3971
3971
|
const p = {};
|
|
3972
3972
|
for (; v--; )
|
|
@@ -4558,7 +4558,7 @@ function MA(n) {
|
|
|
4558
4558
|
for (let u = 0; u < e.length; u += 1)
|
|
4559
4559
|
e[u] && e[u].m(t, null);
|
|
4560
4560
|
s = !0, o || (r = [
|
|
4561
|
-
|
|
4561
|
+
_t(Vi.call(null, t)),
|
|
4562
4562
|
we(
|
|
4563
4563
|
t,
|
|
4564
4564
|
"clientWidth",
|
|
@@ -4576,7 +4576,7 @@ function MA(n) {
|
|
|
4576
4576
|
p(c, [h]) {
|
|
4577
4577
|
h & /*roomLabels, five*/
|
|
4578
4578
|
3 && (a = /*roomLabels*/
|
|
4579
|
-
c[0], ue(), e =
|
|
4579
|
+
c[0], ue(), e = Yt(e, h, l, 1, c, a, i, t, Ri, Qc, null, Nc), fe());
|
|
4580
4580
|
},
|
|
4581
4581
|
i(c) {
|
|
4582
4582
|
if (!s) {
|
|
@@ -5084,7 +5084,7 @@ function UA(n) {
|
|
|
5084
5084
|
},
|
|
5085
5085
|
m(h, u) {
|
|
5086
5086
|
R(h, t, u), a && a.m(t, null), j(t, e), l && l.m(t, null), R(h, i, u), c && c.m(h, u), R(h, s, u), o || (r = [
|
|
5087
|
-
|
|
5087
|
+
_t(Vi.call(null, t)),
|
|
5088
5088
|
we(
|
|
5089
5089
|
t,
|
|
5090
5090
|
"clientWidth",
|
|
@@ -5255,7 +5255,7 @@ function YA(n) {
|
|
|
5255
5255
|
},
|
|
5256
5256
|
m(a, l) {
|
|
5257
5257
|
R(a, t, l), r && r.m(t, null), e || (i = [
|
|
5258
|
-
|
|
5258
|
+
_t(Vi.call(null, t)),
|
|
5259
5259
|
we(
|
|
5260
5260
|
t,
|
|
5261
5261
|
"clientWidth",
|
|
@@ -5449,7 +5449,7 @@ function Xc(n) {
|
|
|
5449
5449
|
for (let u = 0; u < e.length; u += 1)
|
|
5450
5450
|
e[u] && e[u].m(t, null);
|
|
5451
5451
|
s = !0, o || (r = [
|
|
5452
|
-
|
|
5452
|
+
_t(Vi.call(null, t)),
|
|
5453
5453
|
we(
|
|
5454
5454
|
t,
|
|
5455
5455
|
"clientWidth",
|
|
@@ -5461,7 +5461,7 @@ function Xc(n) {
|
|
|
5461
5461
|
p(c, h) {
|
|
5462
5462
|
h & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
|
|
5463
5463
|
1791 && (a = /*rooms*/
|
|
5464
|
-
c[10], ue(), e =
|
|
5464
|
+
c[10], ue(), e = Yt(e, h, l, 1, c, a, i, t, Ri, Zc, null, Yc), fe());
|
|
5465
5465
|
},
|
|
5466
5466
|
i(c) {
|
|
5467
5467
|
if (!s) {
|
|
@@ -5837,7 +5837,7 @@ function i0(n) {
|
|
|
5837
5837
|
}
|
|
5838
5838
|
p & /*rulerTexts, isRow, getRuleDistanceText*/
|
|
5839
5839
|
22 && (f = /*rulerTexts*/
|
|
5840
|
-
v[4], a =
|
|
5840
|
+
v[4], a = Yt(a, p, m, 1, v, f, l, r, Fl, $c, null, Jc)), p & /*type*/
|
|
5841
5841
|
1 && c !== (c = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
|
|
5842
5842
|
v[0] + " svelte-djlmk4") && I(t, "class", c), p & /*type, isRow*/
|
|
5843
5843
|
5 && ee(
|
|
@@ -5850,7 +5850,7 @@ function i0(n) {
|
|
|
5850
5850
|
i: q,
|
|
5851
5851
|
o: q,
|
|
5852
5852
|
d(v) {
|
|
5853
|
-
v && z(t),
|
|
5853
|
+
v && z(t), Wt(u, v);
|
|
5854
5854
|
for (let p = 0; p < a.length; p += 1)
|
|
5855
5855
|
a[p].d();
|
|
5856
5856
|
}
|
|
@@ -6006,7 +6006,7 @@ function r0(n) {
|
|
|
6006
6006
|
p(a, [l]) {
|
|
6007
6007
|
l & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
6008
6008
|
19 && (o = /*ruleLabelArray*/
|
|
6009
|
-
a[4], ue(), e =
|
|
6009
|
+
a[4], ue(), e = Yt(e, l, r, 1, a, o, i, t, Ri, th, null, eh), fe()), l & /*width*/
|
|
6010
6010
|
8 && L(
|
|
6011
6011
|
t,
|
|
6012
6012
|
"width",
|
|
@@ -6482,7 +6482,7 @@ function E0(n) {
|
|
|
6482
6482
|
e = !1;
|
|
6483
6483
|
},
|
|
6484
6484
|
d(r) {
|
|
6485
|
-
r && z(t),
|
|
6485
|
+
r && z(t), Wt(s, r);
|
|
6486
6486
|
}
|
|
6487
6487
|
};
|
|
6488
6488
|
}
|
|
@@ -6731,7 +6731,7 @@ function j0(n) {
|
|
|
6731
6731
|
l[1].floorDatas[
|
|
6732
6732
|
/*floorIndex*/
|
|
6733
6733
|
l[0]
|
|
6734
|
-
].rooms, ue(), i =
|
|
6734
|
+
].rooms, ue(), i = Yt(i, c, a, 1, l, r, s, e, Ri, ah, null, rh), fe());
|
|
6735
6735
|
},
|
|
6736
6736
|
i(l) {
|
|
6737
6737
|
if (!o) {
|
|
@@ -7737,7 +7737,7 @@ function gh(n) {
|
|
|
7737
7737
|
i = !1;
|
|
7738
7738
|
},
|
|
7739
7739
|
d(a) {
|
|
7740
|
-
a && z(t),
|
|
7740
|
+
a && z(t), Wt(o, a);
|
|
7741
7741
|
}
|
|
7742
7742
|
};
|
|
7743
7743
|
}
|
|
@@ -8182,7 +8182,7 @@ let Fi = class {
|
|
|
8182
8182
|
/**
|
|
8183
8183
|
* @realsee/dnalogel 版本号
|
|
8184
8184
|
*/
|
|
8185
|
-
d(this, "VERSION", "3.44.
|
|
8185
|
+
d(this, "VERSION", "3.44.2");
|
|
8186
8186
|
d(this, "NAME");
|
|
8187
8187
|
d(this, "five");
|
|
8188
8188
|
d(this, "workUtil");
|
|
@@ -9454,7 +9454,7 @@ function Db(n) {
|
|
|
9454
9454
|
p(r, [a]) {
|
|
9455
9455
|
a & /*extraObjects*/
|
|
9456
9456
|
1 && (s = /*extraObjects*/
|
|
9457
|
-
r[0], e =
|
|
9457
|
+
r[0], e = Yt(e, a, o, 1, r, s, i, t, Fl, yh, null, bh));
|
|
9458
9458
|
},
|
|
9459
9459
|
i: q,
|
|
9460
9460
|
o: q,
|
|
@@ -9751,7 +9751,7 @@ function Ch(n) {
|
|
|
9751
9751
|
},
|
|
9752
9752
|
m(r, a) {
|
|
9753
9753
|
R(r, t, a), o && o.m(t, null), e = !0, i || (s = [
|
|
9754
|
-
|
|
9754
|
+
_t(Vi.call(null, t)),
|
|
9755
9755
|
we(
|
|
9756
9756
|
t,
|
|
9757
9757
|
"clientWidth",
|
|
@@ -10400,7 +10400,7 @@ const Wb = ({ x: n, y: t, z: e }) => new se(n, t, e), Xx = (n, t) => {
|
|
|
10400
10400
|
e.object && (e.animation && e.animation.stop(), n.scene.remove(e.object), n.needsRender = !0);
|
|
10401
10401
|
}, f = (b) => b === "Floorplan" ? h() : u();
|
|
10402
10402
|
return { load: l, enable: (b) => (e.enabled || (e.enabled = !0, f(n.currentMode), n.on("modeChange", f), h(b)), !0), disable: () => (e.enabled && (e.enabled = !1, u(), n.off("modeChange", f)), !0) };
|
|
10403
|
-
}, Ub =
|
|
10403
|
+
}, Ub = ti;
|
|
10404
10404
|
function Yb(n, t, e, i = Ub.Linear.None) {
|
|
10405
10405
|
const s = new Ar(n).to(t, e).easing(i);
|
|
10406
10406
|
$s(() => s.start(0));
|
|
@@ -10485,7 +10485,7 @@ const ol = (n, t, e) => {
|
|
|
10485
10485
|
m(!0);
|
|
10486
10486
|
}, g = () => {
|
|
10487
10487
|
m(!1);
|
|
10488
|
-
}, A = o.rotateSpeed ? Math.ceil(Math.abs(f.longitude - u.longitude) / o.rotateSpeed * 1e3) : r, b = Xb(A,
|
|
10488
|
+
}, A = o.rotateSpeed ? Math.ceil(Math.abs(f.longitude - u.longitude) / o.rotateSpeed * 1e3) : r, b = Xb(A, ti.Linear.None).onUpdate(v).onComplete(p).onDestroy(g);
|
|
10489
10489
|
o.rotation === mi.Loop && b.repeat(1 / 0).yoyo(!0), t.interruptCallback = (P = !0) => {
|
|
10490
10490
|
b.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(P);
|
|
10491
10491
|
}, t.timeoutId = setTimeout(() => {
|
|
@@ -10909,7 +10909,7 @@ function i1(n) {
|
|
|
10909
10909
|
}
|
|
10910
10910
|
},
|
|
10911
10911
|
d(s) {
|
|
10912
|
-
s && z(t),
|
|
10912
|
+
s && z(t), Wt(i, s);
|
|
10913
10913
|
}
|
|
10914
10914
|
};
|
|
10915
10915
|
}
|
|
@@ -11156,7 +11156,7 @@ function a1(n) {
|
|
|
11156
11156
|
e = !1;
|
|
11157
11157
|
},
|
|
11158
11158
|
d(r) {
|
|
11159
|
-
r && z(t),
|
|
11159
|
+
r && z(t), Wt(s, r);
|
|
11160
11160
|
}
|
|
11161
11161
|
};
|
|
11162
11162
|
}
|
|
@@ -13996,7 +13996,7 @@ function hy(n) {
|
|
|
13996
13996
|
i: q,
|
|
13997
13997
|
o: q,
|
|
13998
13998
|
d(c) {
|
|
13999
|
-
c && z(t), r && r.d(),
|
|
13999
|
+
c && z(t), r && r.d(), Wt(l, c), n[12](null);
|
|
14000
14000
|
}
|
|
14001
14001
|
};
|
|
14002
14002
|
}
|
|
@@ -14489,7 +14489,7 @@ function wy(n) {
|
|
|
14489
14489
|
i: q,
|
|
14490
14490
|
o: q,
|
|
14491
14491
|
d(a) {
|
|
14492
|
-
a && z(t),
|
|
14492
|
+
a && z(t), Wt(r, a), n[11](null);
|
|
14493
14493
|
}
|
|
14494
14494
|
};
|
|
14495
14495
|
}
|
|
@@ -15621,7 +15621,7 @@ function _y(n) {
|
|
|
15621
15621
|
i: q,
|
|
15622
15622
|
o: q,
|
|
15623
15623
|
d(s) {
|
|
15624
|
-
|
|
15624
|
+
Wt(i, s), s && z(t);
|
|
15625
15625
|
}
|
|
15626
15626
|
};
|
|
15627
15627
|
}
|
|
@@ -16113,10 +16113,10 @@ const xa = 1e-3, cd = 0.01, iw = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
16113
16113
|
Ne.distance + cd
|
|
16114
16114
|
), [tt] = p.intersectObjects ? Ze.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Ze) : Ze.intersectObjects(n.model.children, !0);
|
|
16115
16115
|
if (tt && Ne.distance - tt.distance < cd) {
|
|
16116
|
-
const { position: Se, normal: Ie, id: Xe, replacement: ut } = Ne, hs = new w.Plane().setFromNormalAndCoplanarPoint(Ie, Se),
|
|
16116
|
+
const { position: Se, normal: Ie, id: Xe, replacement: ut } = Ne, hs = new w.Plane().setFromNormalAndCoplanarPoint(Ie, Se), Zt = Se.clone().sub(pe.position).cross(new w.Vector3(0, 1, 0)).setLength(xa), Ci = [
|
|
16117
16117
|
Se.clone(),
|
|
16118
|
-
Se.clone().add(
|
|
16119
|
-
Se.clone().add(new w.Vector3(0, xa, 0)).add(
|
|
16118
|
+
Se.clone().add(Zt),
|
|
16119
|
+
Se.clone().add(new w.Vector3(0, xa, 0)).add(Zt),
|
|
16120
16120
|
Se.clone().add(new w.Vector3(0, xa, 0))
|
|
16121
16121
|
].map((cn) => hs.projectPoint(cn, new w.Vector3())), { container: Ni, dispose: xt } = u.create3DDomContainer(Ci) || {}, ln = new Jy({
|
|
16122
16122
|
target: Ni,
|
|
@@ -16430,7 +16430,7 @@ function cw(n) {
|
|
|
16430
16430
|
p(l, [c]) {
|
|
16431
16431
|
c & /*renderItemLabels, hooks*/
|
|
16432
16432
|
3 && (r = /*renderItemLabels*/
|
|
16433
|
-
l[1], ue(), e =
|
|
16433
|
+
l[1], ue(), e = Yt(e, c, a, 1, l, r, i, t, Ri, dd, null, hd), fe()), c & /*itemsVisible*/
|
|
16434
16434
|
16 && L(
|
|
16435
16435
|
t,
|
|
16436
16436
|
"opacity",
|
|
@@ -17165,7 +17165,7 @@ function kw(n) {
|
|
|
17165
17165
|
p(l, c) {
|
|
17166
17166
|
c[0] & /*renderItemLabels, hooks, anchorEnabled, onIconClick*/
|
|
17167
17167
|
71 && (r = /*renderItemLabels*/
|
|
17168
|
-
l[1], ue(), e =
|
|
17168
|
+
l[1], ue(), e = Yt(e, c, a, 1, l, r, i, t, Ri, Ad, null, pd), fe()), c[0] & /*itemsVisible*/
|
|
17169
17169
|
32 && L(
|
|
17170
17170
|
t,
|
|
17171
17171
|
"opacity",
|
|
@@ -18607,7 +18607,7 @@ function DC(n, t, e) {
|
|
|
18607
18607
|
A
|
|
18608
18608
|
];
|
|
18609
18609
|
}
|
|
18610
|
-
class
|
|
18610
|
+
class Xt extends de {
|
|
18611
18611
|
constructor(t) {
|
|
18612
18612
|
super(), he(
|
|
18613
18613
|
this,
|
|
@@ -18783,7 +18783,7 @@ function OC(n) {
|
|
|
18783
18783
|
p(r, [a]) {
|
|
18784
18784
|
a & /*spanEleList, contentList, __SpaceFlag__, __NewLineFlag__*/
|
|
18785
18785
|
30 && (s = /*contentList*/
|
|
18786
|
-
r[2], t =
|
|
18786
|
+
r[2], t = Yt(t, a, o, 1, r, s, e, i.parentNode, Fl, kd, i, Md));
|
|
18787
18787
|
},
|
|
18788
18788
|
i: q,
|
|
18789
18789
|
o: q,
|
|
@@ -18893,7 +18893,7 @@ function RC(n) {
|
|
|
18893
18893
|
}
|
|
18894
18894
|
function xd(n) {
|
|
18895
18895
|
let t, e, i, s, o, r, a, l, c, h;
|
|
18896
|
-
return e = new
|
|
18896
|
+
return e = new Xt({
|
|
18897
18897
|
props: {
|
|
18898
18898
|
center: !0,
|
|
18899
18899
|
blurRadius: 9,
|
|
@@ -19204,7 +19204,7 @@ function WC(n) {
|
|
|
19204
19204
|
function Td(n) {
|
|
19205
19205
|
var h, u;
|
|
19206
19206
|
let t, e, i, s, o, r, a, l, c;
|
|
19207
|
-
return t = new
|
|
19207
|
+
return t = new Xt({
|
|
19208
19208
|
props: {
|
|
19209
19209
|
visible: (
|
|
19210
19210
|
/*unfolded*/
|
|
@@ -19260,7 +19260,7 @@ function Td(n) {
|
|
|
19260
19260
|
},
|
|
19261
19261
|
m(f, m) {
|
|
19262
19262
|
ie(t, f, m), R(f, e, m), ie(i, f, m), R(f, s, m), R(f, o, m), ie(r, o, null), a = !0, l || (c = [
|
|
19263
|
-
|
|
19263
|
+
_t(Vi.call(null, o)),
|
|
19264
19264
|
we(
|
|
19265
19265
|
o,
|
|
19266
19266
|
"clientWidth",
|
|
@@ -19396,7 +19396,7 @@ class XC extends de {
|
|
|
19396
19396
|
super(), he(this, t, YC, UC, ce, { tag: 0 }, WC);
|
|
19397
19397
|
}
|
|
19398
19398
|
}
|
|
19399
|
-
function
|
|
19399
|
+
function ei(n) {
|
|
19400
19400
|
return typeof n == "number" ? n / 16 + "rem" : n;
|
|
19401
19401
|
}
|
|
19402
19402
|
function ZC(n) {
|
|
@@ -19558,7 +19558,7 @@ function $C(n) {
|
|
|
19558
19558
|
return e = a(n), i = r[e] = o[e](n), {
|
|
19559
19559
|
c() {
|
|
19560
19560
|
t = T("div"), i.c(), I(t, "class", "text svelte-1j0cz4o"), L(t, "max-width", typeof /*maxWidth*/
|
|
19561
|
-
n[1] == "number" ?
|
|
19561
|
+
n[1] == "number" ? ei(
|
|
19562
19562
|
/*maxWidth*/
|
|
19563
19563
|
n[1]
|
|
19564
19564
|
) : (
|
|
@@ -19580,7 +19580,7 @@ function $C(n) {
|
|
|
19580
19580
|
r[h] = null;
|
|
19581
19581
|
}), fe(), i = r[e], i ? i.p(l, c) : (i = r[e] = o[e](l), i.c()), D(i, 1), i.m(t, null)), c & /*maxWidth*/
|
|
19582
19582
|
2 && L(t, "max-width", typeof /*maxWidth*/
|
|
19583
|
-
l[1] == "number" ?
|
|
19583
|
+
l[1] == "number" ? ei(
|
|
19584
19584
|
/*maxWidth*/
|
|
19585
19585
|
l[1]
|
|
19586
19586
|
) : (
|
|
@@ -20195,7 +20195,7 @@ function bP(n) {
|
|
|
20195
20195
|
7 && (o = Array(
|
|
20196
20196
|
/*pagesCount*/
|
|
20197
20197
|
a[0]
|
|
20198
|
-
), ue(), e =
|
|
20198
|
+
), ue(), e = Yt(e, l, r, 1, a, o, i, t, Ri, Vd, null, Rd), fe());
|
|
20199
20199
|
},
|
|
20200
20200
|
i(a) {
|
|
20201
20201
|
if (!s) {
|
|
@@ -21002,7 +21002,7 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21002
21002
|
return y ? "Symbol(src)_1." + y : "";
|
|
21003
21003
|
}(), Ie = rt.toString, Xe = Ze.hasOwnProperty, ut = Ze.toString, hs = RegExp(
|
|
21004
21004
|
"^" + Ie.call(Xe).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21005
|
-
),
|
|
21005
|
+
), Zt = _e ? ge.Buffer : void 0, Ci = ge.Symbol, Ni = ge.Uint8Array, xt = Ce(Object.getPrototypeOf, Object), ln = Object.create, cn = Ze.propertyIsEnumerable, jr = Ne.splice, ds = Object.getOwnPropertySymbols, hn = Zt ? Zt.isBuffer : void 0, oo = Ce(Object.keys, Object), dn = Ht(ge, "DataView"), Qi = Ht(ge, "Map"), Ft = Ht(ge, "Promise"), un = Ht(ge, "Set"), us = Ht(ge, "WeakMap"), Gi = Ht(Object, "create"), fs = Et(dn), _i = Et(Qi), ms = Et(Ft), gs = Et(un), ps = Et(us), Pi = Ci ? Ci.prototype : void 0, ro = Pi ? Pi.valueOf : void 0;
|
|
21006
21006
|
function ai(y) {
|
|
21007
21007
|
var M = -1, V = y ? y.length : 0;
|
|
21008
21008
|
for (this.clear(); ++M < V; ) {
|
|
@@ -21131,14 +21131,14 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21131
21131
|
return V;
|
|
21132
21132
|
return -1;
|
|
21133
21133
|
}
|
|
21134
|
-
function
|
|
21134
|
+
function Jt(y, M) {
|
|
21135
21135
|
return y && ys(M, Ps(M), y);
|
|
21136
21136
|
}
|
|
21137
21137
|
function As(y, M, V, X, Me, be, ze) {
|
|
21138
21138
|
var Be;
|
|
21139
21139
|
if (X && (Be = be ? X(y, Me, be, ze) : X(y)), Be !== void 0)
|
|
21140
21140
|
return Be;
|
|
21141
|
-
if (!
|
|
21141
|
+
if (!Kt(y))
|
|
21142
21142
|
return y;
|
|
21143
21143
|
var it = ws(y);
|
|
21144
21144
|
if (it) {
|
|
@@ -21151,8 +21151,8 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21151
21151
|
if (Fe == v || Fe == o || yt && !be) {
|
|
21152
21152
|
if (et(y))
|
|
21153
21153
|
return be ? y : {};
|
|
21154
|
-
if (Be =
|
|
21155
|
-
return aa(y,
|
|
21154
|
+
if (Be = qt(yt ? {} : y), !M)
|
|
21155
|
+
return aa(y, Jt(Be, y));
|
|
21156
21156
|
} else {
|
|
21157
21157
|
if (!re[Fe])
|
|
21158
21158
|
return be ? y : {};
|
|
@@ -21170,7 +21170,7 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21170
21170
|
}), Be;
|
|
21171
21171
|
}
|
|
21172
21172
|
function Kr(y) {
|
|
21173
|
-
return
|
|
21173
|
+
return Kt(y) ? ln(y) : {};
|
|
21174
21174
|
}
|
|
21175
21175
|
function $r(y, M, V) {
|
|
21176
21176
|
var X = M(y);
|
|
@@ -21180,7 +21180,7 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21180
21180
|
return ut.call(y);
|
|
21181
21181
|
}
|
|
21182
21182
|
function ta(y) {
|
|
21183
|
-
if (!
|
|
21183
|
+
if (!Kt(y) || fa(y))
|
|
21184
21184
|
return !1;
|
|
21185
21185
|
var M = Cs(y) || et(y) ? hs : J;
|
|
21186
21186
|
return M.test(Et(y));
|
|
@@ -21276,7 +21276,7 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21276
21276
|
var M = y.length, V = y.constructor(M);
|
|
21277
21277
|
return M && typeof y[0] == "string" && Xe.call(y, "index") && (V.index = y.index, V.input = y.input), V;
|
|
21278
21278
|
}
|
|
21279
|
-
function
|
|
21279
|
+
function qt(y) {
|
|
21280
21280
|
return typeof y.constructor == "function" && !uo(y) ? Kr(xt(y)) : {};
|
|
21281
21281
|
}
|
|
21282
21282
|
function ha(y, M, V, X) {
|
|
@@ -21357,13 +21357,13 @@ var Vo = eE, hr = {}, tE = {
|
|
|
21357
21357
|
}
|
|
21358
21358
|
var go = hn || pa;
|
|
21359
21359
|
function Cs(y) {
|
|
21360
|
-
var M =
|
|
21360
|
+
var M = Kt(y) ? ut.call(y) : "";
|
|
21361
21361
|
return M == h || M == u;
|
|
21362
21362
|
}
|
|
21363
21363
|
function po(y) {
|
|
21364
21364
|
return typeof y == "number" && y > -1 && y % 1 == 0 && y <= s;
|
|
21365
21365
|
}
|
|
21366
|
-
function
|
|
21366
|
+
function Kt(y) {
|
|
21367
21367
|
var M = typeof y;
|
|
21368
21368
|
return !!y && (M == "object" || M == "function");
|
|
21369
21369
|
}
|
|
@@ -21450,12 +21450,12 @@ var dr = {}, nE = {
|
|
|
21450
21450
|
V[++M] = X;
|
|
21451
21451
|
}), V;
|
|
21452
21452
|
}
|
|
21453
|
-
var ut = Array.prototype, hs = Function.prototype,
|
|
21453
|
+
var ut = Array.prototype, hs = Function.prototype, Zt = Object.prototype, Ci = Ae["__core-js_shared__"], Ni = hs.toString, xt = Zt.hasOwnProperty, ln = function() {
|
|
21454
21454
|
var y = /[^.]+$/.exec(Ci && Ci.keys && Ci.keys.IE_PROTO || "");
|
|
21455
21455
|
return y ? "Symbol(src)_1." + y : "";
|
|
21456
|
-
}(), cn =
|
|
21456
|
+
}(), cn = Zt.toString, jr = RegExp(
|
|
21457
21457
|
"^" + Ni.call(xt).replace(ve, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21458
|
-
), ds = Ye ? Ae.Buffer : void 0, hn = Ae.Symbol, oo = Ae.Uint8Array, dn =
|
|
21458
|
+
), ds = Ye ? Ae.Buffer : void 0, hn = Ae.Symbol, oo = Ae.Uint8Array, dn = Zt.propertyIsEnumerable, Qi = ut.splice, Ft = hn ? hn.toStringTag : void 0, un = Object.getOwnPropertySymbols, us = ds ? ds.isBuffer : void 0, Gi = Ie(Object.keys, Object), fs = li(Ae, "DataView"), _i = li(Ae, "Map"), ms = li(Ae, "Promise"), gs = li(Ae, "Set"), ps = li(Ae, "WeakMap"), Pi = li(Object, "create"), ro = Et(fs), ai = Et(_i), zr = Et(ms), Or = Et(gs), Br = Et(ps), ao = hn ? hn.prototype : void 0, vs = ao ? ao.valueOf : void 0;
|
|
21459
21459
|
function ft(y) {
|
|
21460
21460
|
var M = -1, V = y == null ? 0 : y.length;
|
|
21461
21461
|
for (this.clear(); ++M < V; ) {
|
|
@@ -21557,7 +21557,7 @@ var dr = {}, nE = {
|
|
|
21557
21557
|
return this.__data__.has(y);
|
|
21558
21558
|
}
|
|
21559
21559
|
fn.prototype.add = fn.prototype.push = lo, fn.prototype.has = mn;
|
|
21560
|
-
function
|
|
21560
|
+
function Jt(y) {
|
|
21561
21561
|
var M = this.__data__ = new bt(y);
|
|
21562
21562
|
this.size = M.size;
|
|
21563
21563
|
}
|
|
@@ -21584,7 +21584,7 @@ var dr = {}, nE = {
|
|
|
21584
21584
|
}
|
|
21585
21585
|
return V.set(y, M), this.size = V.size, this;
|
|
21586
21586
|
}
|
|
21587
|
-
|
|
21587
|
+
Jt.prototype.clear = As, Jt.prototype.delete = Kr, Jt.prototype.get = $r, Jt.prototype.has = ea, Jt.prototype.set = ta;
|
|
21588
21588
|
function ia(y, M) {
|
|
21589
21589
|
var V = pn(y), X = !V && mo(y), Me = !V && !X && vn(y), be = !V && !X && !Me && vo(y), ze = V || X || Me || be, Be = ze ? Ne(y.length, String) : [], it = Be.length;
|
|
21590
21590
|
for (var Fe in y)
|
|
@@ -21609,13 +21609,13 @@ var dr = {}, nE = {
|
|
|
21609
21609
|
return y == null ? y === void 0 ? U : A : Ft && Ft in Object(y) ? ci(y) : uo(y);
|
|
21610
21610
|
}
|
|
21611
21611
|
function co(y) {
|
|
21612
|
-
return
|
|
21612
|
+
return Kt(y) && Wi(y) == a;
|
|
21613
21613
|
}
|
|
21614
21614
|
function ho(y, M, V, X, Me) {
|
|
21615
|
-
return y === M ? !0 : y == null || M == null || !
|
|
21615
|
+
return y === M ? !0 : y == null || M == null || !Kt(y) && !Kt(M) ? y !== y && M !== M : na(y, M, V, X, ho, Me);
|
|
21616
21616
|
}
|
|
21617
21617
|
function na(y, M, V, X, Me, be) {
|
|
21618
|
-
var ze = pn(y), Be = pn(M), it = ze ? l :
|
|
21618
|
+
var ze = pn(y), Be = pn(M), it = ze ? l : qt(y), Fe = Be ? l : qt(M);
|
|
21619
21619
|
it = it == a ? b : it, Fe = Fe == a ? b : Fe;
|
|
21620
21620
|
var yt = it == b, St = Fe == b, at = it == Fe;
|
|
21621
21621
|
if (at && vn(y)) {
|
|
@@ -21624,15 +21624,15 @@ var dr = {}, nE = {
|
|
|
21624
21624
|
ze = !0, yt = !1;
|
|
21625
21625
|
}
|
|
21626
21626
|
if (at && !yt)
|
|
21627
|
-
return be || (be = new
|
|
21627
|
+
return be || (be = new Jt()), ze || vo(y) ? ys(y, M, V, X, Me, be) : aa(y, M, it, V, X, Me, be);
|
|
21628
21628
|
if (!(V & s)) {
|
|
21629
21629
|
var wt = yt && xt.call(y, "__wrapped__"), mt = St && xt.call(M, "__wrapped__");
|
|
21630
21630
|
if (wt || mt) {
|
|
21631
21631
|
var Ii = wt ? y.value() : y, hi = mt ? M.value() : M;
|
|
21632
|
-
return be || (be = new
|
|
21632
|
+
return be || (be = new Jt()), Me(Ii, hi, V, X, be);
|
|
21633
21633
|
}
|
|
21634
21634
|
}
|
|
21635
|
-
return at ? (be || (be = new
|
|
21635
|
+
return at ? (be || (be = new Jt()), la(y, M, V, X, Me, be)) : !1;
|
|
21636
21636
|
}
|
|
21637
21637
|
function sa(y) {
|
|
21638
21638
|
if (!po(y) || ua(y))
|
|
@@ -21641,7 +21641,7 @@ var dr = {}, nE = {
|
|
|
21641
21641
|
return M.test(Et(y));
|
|
21642
21642
|
}
|
|
21643
21643
|
function oa(y) {
|
|
21644
|
-
return
|
|
21644
|
+
return Kt(y) && Cs(y.length) && !!ye[Wi(y)];
|
|
21645
21645
|
}
|
|
21646
21646
|
function ra(y) {
|
|
21647
21647
|
if (!fa(y))
|
|
@@ -21775,8 +21775,8 @@ var dr = {}, nE = {
|
|
|
21775
21775
|
return y == null ? [] : (y = Object(y), le(un(y), function(M) {
|
|
21776
21776
|
return dn.call(y, M);
|
|
21777
21777
|
}));
|
|
21778
|
-
} : ga,
|
|
21779
|
-
(fs &&
|
|
21778
|
+
} : ga, qt = Wi;
|
|
21779
|
+
(fs && qt(new fs(new ArrayBuffer(1))) != G || _i && qt(new _i()) != p || ms && qt(ms.resolve()) != P || gs && qt(new gs()) != E || ps && qt(new ps()) != N) && (qt = function(y) {
|
|
21780
21780
|
var M = Wi(y), V = M == b ? y.constructor : void 0, X = V ? Et(V) : "";
|
|
21781
21781
|
if (X)
|
|
21782
21782
|
switch (X) {
|
|
@@ -21804,7 +21804,7 @@ var dr = {}, nE = {
|
|
|
21804
21804
|
return !!ln && ln in y;
|
|
21805
21805
|
}
|
|
21806
21806
|
function fa(y) {
|
|
21807
|
-
var M = y && y.constructor, V = typeof M == "function" && M.prototype ||
|
|
21807
|
+
var M = y && y.constructor, V = typeof M == "function" && M.prototype || Zt;
|
|
21808
21808
|
return y === V;
|
|
21809
21809
|
}
|
|
21810
21810
|
function uo(y) {
|
|
@@ -21829,7 +21829,7 @@ var dr = {}, nE = {
|
|
|
21829
21829
|
var mo = co(function() {
|
|
21830
21830
|
return arguments;
|
|
21831
21831
|
}()) ? co : function(y) {
|
|
21832
|
-
return
|
|
21832
|
+
return Kt(y) && xt.call(y, "callee") && !dn.call(y, "callee");
|
|
21833
21833
|
}, pn = Array.isArray;
|
|
21834
21834
|
function ws(y) {
|
|
21835
21835
|
return y != null && Cs(y.length) && !go(y);
|
|
@@ -21851,7 +21851,7 @@ var dr = {}, nE = {
|
|
|
21851
21851
|
var M = typeof y;
|
|
21852
21852
|
return y != null && (M == "object" || M == "function");
|
|
21853
21853
|
}
|
|
21854
|
-
function
|
|
21854
|
+
function Kt(y) {
|
|
21855
21855
|
return y != null && typeof y == "object";
|
|
21856
21856
|
}
|
|
21857
21857
|
var vo = et ? rt(et) : oa;
|
|
@@ -22686,7 +22686,7 @@ function EE(n) {
|
|
|
22686
22686
|
},
|
|
22687
22687
|
m(P, C) {
|
|
22688
22688
|
R(P, t, C), j(t, e), m && m.m(e, null), j(e, i), j(e, s), j(s, o), p && p.m(o, null), n[39](o), j(s, a), g && g.m(s, null), n[40](s), j(e, l), A && A.m(e, null), j(t, c), b && b.m(t, null), h = !0, u || (f = [
|
|
22689
|
-
|
|
22689
|
+
_t(r = RP.call(null, o, {
|
|
22690
22690
|
thresholdProvider: (
|
|
22691
22691
|
/*swipeable_function*/
|
|
22692
22692
|
n[38]
|
|
@@ -22722,14 +22722,14 @@ function EE(n) {
|
|
|
22722
22722
|
/*handleSwipeThresholdReached*/
|
|
22723
22723
|
n[17]
|
|
22724
22724
|
),
|
|
22725
|
-
|
|
22725
|
+
_t(NP.call(null, s)),
|
|
22726
22726
|
we(
|
|
22727
22727
|
s,
|
|
22728
22728
|
"hovered",
|
|
22729
22729
|
/*handleHovered*/
|
|
22730
22730
|
n[21]
|
|
22731
22731
|
),
|
|
22732
|
-
|
|
22732
|
+
_t(UP.call(null, s)),
|
|
22733
22733
|
we(
|
|
22734
22734
|
s,
|
|
22735
22735
|
"tapped",
|
|
@@ -23757,7 +23757,7 @@ function VE(n) {
|
|
|
23757
23757
|
e = !1;
|
|
23758
23758
|
},
|
|
23759
23759
|
d(r) {
|
|
23760
|
-
|
|
23760
|
+
Wt(s, r), r && z(t);
|
|
23761
23761
|
}
|
|
23762
23762
|
};
|
|
23763
23763
|
}
|
|
@@ -23890,7 +23890,7 @@ function NE(n) {
|
|
|
23890
23890
|
}
|
|
23891
23891
|
function au(n) {
|
|
23892
23892
|
let t, e, i, s, o, r, a, l;
|
|
23893
|
-
t = new
|
|
23893
|
+
t = new Xt({
|
|
23894
23894
|
props: {
|
|
23895
23895
|
visible: (
|
|
23896
23896
|
/*unfolded*/
|
|
@@ -24158,7 +24158,7 @@ function fu(n) {
|
|
|
24158
24158
|
for (let f = 0; f < c.length; f += 1)
|
|
24159
24159
|
c[f] && c[f].m(e, null);
|
|
24160
24160
|
s || (o = [
|
|
24161
|
-
|
|
24161
|
+
_t(Vi.call(null, e)),
|
|
24162
24162
|
we(
|
|
24163
24163
|
e,
|
|
24164
24164
|
"clientHeight",
|
|
@@ -24196,7 +24196,7 @@ function fu(n) {
|
|
|
24196
24196
|
}
|
|
24197
24197
|
},
|
|
24198
24198
|
d(h) {
|
|
24199
|
-
h && z(t),
|
|
24199
|
+
h && z(t), Wt(a, h), Wt(c, h), s = !1, ot(o);
|
|
24200
24200
|
}
|
|
24201
24201
|
};
|
|
24202
24202
|
}
|
|
@@ -24345,7 +24345,7 @@ function UE(n) {
|
|
|
24345
24345
|
/*data*/
|
|
24346
24346
|
n[3].title + ""
|
|
24347
24347
|
), f, m, v, p, g;
|
|
24348
|
-
e = new
|
|
24348
|
+
e = new Xt({
|
|
24349
24349
|
props: {
|
|
24350
24350
|
visible: (
|
|
24351
24351
|
/*unfolded*/
|
|
@@ -24377,7 +24377,7 @@ function UE(n) {
|
|
|
24377
24377
|
"transition-delay",
|
|
24378
24378
|
/*unfolded*/
|
|
24379
24379
|
n[4] ? Fo + "ms" : Ho + wu - yu - 40 + "ms"
|
|
24380
|
-
), I(h, "class", "text svelte-sezqcq"), I(c, "class", "title svelte-sezqcq"), I(l, "class", "title-wrapper svelte-sezqcq"), I(r, "class", "content svelte-sezqcq"), L(r, "max-width",
|
|
24380
|
+
), I(h, "class", "text svelte-sezqcq"), I(c, "class", "title svelte-sezqcq"), I(l, "class", "title-wrapper svelte-sezqcq"), I(r, "class", "content svelte-sezqcq"), L(r, "max-width", ei(
|
|
24381
24381
|
/*maxWidth*/
|
|
24382
24382
|
n[9]
|
|
24383
24383
|
)), L(
|
|
@@ -24761,7 +24761,7 @@ function $E(n) {
|
|
|
24761
24761
|
}
|
|
24762
24762
|
function Cu(n) {
|
|
24763
24763
|
let t, e;
|
|
24764
|
-
return t = new
|
|
24764
|
+
return t = new Xt({
|
|
24765
24765
|
props: {
|
|
24766
24766
|
center: !0,
|
|
24767
24767
|
blurRadius: 12,
|
|
@@ -24878,7 +24878,7 @@ function t2(n, t, e) {
|
|
|
24878
24878
|
"playing" in f && e(0, s = f.playing), "shadow" in f && e(1, o = f.shadow), "style" in f && e(2, r = f.style), "width" in f && e(6, a = f.width);
|
|
24879
24879
|
}, n.$$.update = () => {
|
|
24880
24880
|
n.$$.dirty & /*width*/
|
|
24881
|
-
64 && e(5, i = typeof a == "number" ?
|
|
24881
|
+
64 && e(5, i = typeof a == "number" ? ei(a) : a);
|
|
24882
24882
|
}, [
|
|
24883
24883
|
s,
|
|
24884
24884
|
o,
|
|
@@ -24915,7 +24915,7 @@ function i2(n) {
|
|
|
24915
24915
|
function Pu(n) {
|
|
24916
24916
|
var g, A;
|
|
24917
24917
|
let t, e, i, s, o, r, a, l, c, h, u, f, m, v;
|
|
24918
|
-
e = new
|
|
24918
|
+
e = new Xt({
|
|
24919
24919
|
props: {
|
|
24920
24920
|
visible: (
|
|
24921
24921
|
/*unfolded*/
|
|
@@ -24987,7 +24987,7 @@ function Pu(n) {
|
|
|
24987
24987
|
/*clickContent*/
|
|
24988
24988
|
n[7]
|
|
24989
24989
|
),
|
|
24990
|
-
|
|
24990
|
+
_t(Vi.call(null, l)),
|
|
24991
24991
|
we(
|
|
24992
24992
|
l,
|
|
24993
24993
|
"clientWidth",
|
|
@@ -25048,7 +25048,7 @@ function Pu(n) {
|
|
|
25048
25048
|
}
|
|
25049
25049
|
function Iu(n) {
|
|
25050
25050
|
let t, e, i, s, o, r, a;
|
|
25051
|
-
return e = new
|
|
25051
|
+
return e = new Xt({
|
|
25052
25052
|
props: {
|
|
25053
25053
|
center: !0,
|
|
25054
25054
|
blurRadius: 15,
|
|
@@ -25852,7 +25852,7 @@ function Du(n) {
|
|
|
25852
25852
|
}
|
|
25853
25853
|
function Su(n) {
|
|
25854
25854
|
let t, e;
|
|
25855
|
-
return t = new
|
|
25855
|
+
return t = new Xt({
|
|
25856
25856
|
props: {
|
|
25857
25857
|
center: !0,
|
|
25858
25858
|
blurRadius: 24,
|
|
@@ -26001,7 +26001,7 @@ function x2(n) {
|
|
|
26001
26001
|
return {
|
|
26002
26002
|
c() {
|
|
26003
26003
|
t = T("img"), I(t, "alt", "tag-icon"), I(t, "class", "icon-image svelte-316sq3"), ht(t.src, e = /*iconUrl*/
|
|
26004
|
-
n[7]) || I(t, "src", e), L(t, "width",
|
|
26004
|
+
n[7]) || I(t, "src", e), L(t, "width", ei(Dn({
|
|
26005
26005
|
originWidth: (
|
|
26006
26006
|
/*width*/
|
|
26007
26007
|
n[1]
|
|
@@ -26023,7 +26023,7 @@ function x2(n) {
|
|
|
26023
26023
|
ku(i), s & /*iconUrl*/
|
|
26024
26024
|
128 && !ht(t.src, e = /*iconUrl*/
|
|
26025
26025
|
i[7]) && I(t, "src", e), s & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
26026
|
-
184 && L(t, "width",
|
|
26026
|
+
184 && L(t, "width", ei(Dn({
|
|
26027
26027
|
originWidth: (
|
|
26028
26028
|
/*width*/
|
|
26029
26029
|
i[1]
|
|
@@ -26056,7 +26056,7 @@ function T2(n) {
|
|
|
26056
26056
|
n[17] - 1})`;
|
|
26057
26057
|
return {
|
|
26058
26058
|
c() {
|
|
26059
|
-
t = T("div"), I(t, "class", "icon-keyframe svelte-316sq3"), L(t, "width",
|
|
26059
|
+
t = T("div"), I(t, "class", "icon-keyframe svelte-316sq3"), L(t, "width", ei(Dn({
|
|
26060
26060
|
originWidth: (
|
|
26061
26061
|
/*width*/
|
|
26062
26062
|
n[1]
|
|
@@ -26073,7 +26073,7 @@ function T2(n) {
|
|
|
26073
26073
|
/*iconWidth*/
|
|
26074
26074
|
n[3]
|
|
26075
26075
|
)
|
|
26076
|
-
}).width)), L(t, "height",
|
|
26076
|
+
}).width)), L(t, "height", ei(Dn({
|
|
26077
26077
|
originWidth: (
|
|
26078
26078
|
/*width*/
|
|
26079
26079
|
n[1]
|
|
@@ -26102,7 +26102,7 @@ function T2(n) {
|
|
|
26102
26102
|
},
|
|
26103
26103
|
p(s, o) {
|
|
26104
26104
|
xu(s), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26105
|
-
252 && L(t, "width",
|
|
26105
|
+
252 && L(t, "width", ei(Dn({
|
|
26106
26106
|
originWidth: (
|
|
26107
26107
|
/*width*/
|
|
26108
26108
|
s[1]
|
|
@@ -26120,7 +26120,7 @@ function T2(n) {
|
|
|
26120
26120
|
s[3]
|
|
26121
26121
|
)
|
|
26122
26122
|
}).width)), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26123
|
-
252 && L(t, "height",
|
|
26123
|
+
252 && L(t, "height", ei(Dn({
|
|
26124
26124
|
originWidth: (
|
|
26125
26125
|
/*width*/
|
|
26126
26126
|
s[1]
|
|
@@ -26260,7 +26260,7 @@ function O2(n) {
|
|
|
26260
26260
|
}
|
|
26261
26261
|
function Tu(n) {
|
|
26262
26262
|
let t, e, i, s, o, r;
|
|
26263
|
-
return e = new
|
|
26263
|
+
return e = new Xt({
|
|
26264
26264
|
props: {
|
|
26265
26265
|
outDelay: 0,
|
|
26266
26266
|
inDelay: 0,
|
|
@@ -26399,7 +26399,7 @@ function Lu(n) {
|
|
|
26399
26399
|
}
|
|
26400
26400
|
function ju(n) {
|
|
26401
26401
|
let t, e, i, s, o, r, a, l;
|
|
26402
|
-
return t = new
|
|
26402
|
+
return t = new Xt({
|
|
26403
26403
|
props: {
|
|
26404
26404
|
blurRadius: 22,
|
|
26405
26405
|
spreadRadius: 16,
|
|
@@ -26990,7 +26990,7 @@ function Oa(n, t, e) {
|
|
|
26990
26990
|
const a = (A = n.initialConfig) != null ? A : {}, l = Qe({}, tM, t.globalConfig, ...Object.values(s)), c = Qe({}, l, a), h = {}, u = Object.values(pt.Mode);
|
|
26991
26991
|
zu(o).forEach(([b, P]) => {
|
|
26992
26992
|
u.forEach((C) => {
|
|
26993
|
-
(b === "PanoramaLike" && Ji(C) || b === "ModelLike" &&
|
|
26993
|
+
(b === "PanoramaLike" && Ji(C) || b === "ModelLike" && Qt(C)) && (h[C] = Qe({}, l, ...Object.values(P), a, { _isMerged: !0 }));
|
|
26994
26994
|
});
|
|
26995
26995
|
}), zu(r).forEach(([b, P]) => {
|
|
26996
26996
|
const C = h[b];
|
|
@@ -27418,7 +27418,7 @@ class lc {
|
|
|
27418
27418
|
if (o || (o = (a = (r = this.fiveState) == null ? void 0 : r.mode) != null ? a : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(o))
|
|
27419
27419
|
return o.includes(e);
|
|
27420
27420
|
if (o === "ModelLike")
|
|
27421
|
-
return
|
|
27421
|
+
return Qt(e);
|
|
27422
27422
|
if (o === "PanoramaLike")
|
|
27423
27423
|
return !Ji(e);
|
|
27424
27424
|
if (o === "all")
|
|
@@ -27430,7 +27430,7 @@ class lc {
|
|
|
27430
27430
|
var r;
|
|
27431
27431
|
const o = i();
|
|
27432
27432
|
if (ke((r = this.fiveState) == null ? void 0 : r.panoIndex) && t.entryFromModel) {
|
|
27433
|
-
if (
|
|
27433
|
+
if (Qt(e) && o ? this.entryFromModel = !1 : this.entryFromModel = !0, Qt(e))
|
|
27434
27434
|
return !0;
|
|
27435
27435
|
} else
|
|
27436
27436
|
this.entryFromModel = !1;
|
|
@@ -27520,6 +27520,8 @@ class lc {
|
|
|
27520
27520
|
}
|
|
27521
27521
|
computeUnfoldedByCamera() {
|
|
27522
27522
|
var e;
|
|
27523
|
+
if (this.entryFromModel && Qt(this.five.state.mode))
|
|
27524
|
+
return !1;
|
|
27523
27525
|
const t = this.getConfig().unfoldedConfig;
|
|
27524
27526
|
if (t) {
|
|
27525
27527
|
if (typeof t == "function")
|
|
@@ -28247,7 +28249,7 @@ function AM(n, t, e) {
|
|
|
28247
28249
|
});
|
|
28248
28250
|
}
|
|
28249
28251
|
const S = (O) => {
|
|
28250
|
-
c.entryFromModel &&
|
|
28252
|
+
c.entryFromModel && Qt(c.five.state.mode) ? (O.stopPropagation(), c.find({ targetMode: "Panorama" })) : h.emit("click", { event: O, target: "TagContent", tag: c });
|
|
28251
28253
|
};
|
|
28252
28254
|
return n.$$set = (O) => {
|
|
28253
28255
|
"tag" in O && e(0, c = O.tag), "hooks" in O && e(1, h = O.hooks), "rendererMap" in O && e(2, u = O.rendererMap), "contentTypeMap" in O && e(3, f = O.contentTypeMap), "state" in O && e(6, m = O.state), "mediaStore" in O && e(7, v = O.mediaStore), "temporaryState" in O && e(8, p = O.temporaryState);
|
|
@@ -28713,8 +28715,12 @@ class yM extends Fi {
|
|
|
28713
28715
|
return (e = this._cache_css3DTag) != null ? e : [];
|
|
28714
28716
|
}
|
|
28715
28717
|
addRenderQueue(e) {
|
|
28716
|
-
|
|
28717
|
-
|
|
28718
|
+
var r, a;
|
|
28719
|
+
const { type: i, keys: s = [], tags: o = [] } = e;
|
|
28720
|
+
this.renderQueue.has(i) ? this.renderQueue.set(i, {
|
|
28721
|
+
keys: Array.from(/* @__PURE__ */ new Set([...(r = this.renderQueue.get(i).keys) != null ? r : [], ...s])),
|
|
28722
|
+
tags: Array.from(/* @__PURE__ */ new Set([...(a = this.renderQueue.get(i).tags) != null ? a : [], ...o]))
|
|
28723
|
+
}) : this.renderQueue.set(i, { keys: s, tags: o });
|
|
28718
28724
|
}
|
|
28719
28725
|
getTagById(e) {
|
|
28720
28726
|
const i = this.tags.find((s) => s.id === e);
|
|
@@ -29099,7 +29105,7 @@ function SM(n) {
|
|
|
29099
29105
|
}
|
|
29100
29106
|
function TM(n) {
|
|
29101
29107
|
let t, e, i, s, o, r, a, l, c, h, u, f;
|
|
29102
|
-
return s = new
|
|
29108
|
+
return s = new Xt({
|
|
29103
29109
|
props: {
|
|
29104
29110
|
center: !0,
|
|
29105
29111
|
blurRadius: 15,
|
|
@@ -29221,7 +29227,7 @@ function LM(n, t, e) {
|
|
|
29221
29227
|
800
|
|
29222
29228
|
);
|
|
29223
29229
|
}, f = (p) => {
|
|
29224
|
-
h || (
|
|
29230
|
+
h || (l.entryFromModel && Qt(l.five.state.mode) ? l.find({ targetMode: "Panorama" }).then(() => l.unfoldAndFoldOthers()) : a.emit("click", { event: p, target: "TagPoint", tag: l }));
|
|
29225
29231
|
}, m = (() => l.contentType === "Text" && l.data.appearance === "plane" ? 500 : 800)();
|
|
29226
29232
|
function v(p) {
|
|
29227
29233
|
as.call(this, n, p);
|
|
@@ -29575,7 +29581,7 @@ function HM(n, t, e) {
|
|
|
29575
29581
|
var U, N, Q;
|
|
29576
29582
|
return !(((N = (U = m.style) == null ? void 0 : U.point) == null ? void 0 : N.enabled) === !1 || ((Q = p.get(m.contentType)) == null ? void 0 : Q.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
|
|
29577
29583
|
})()), n.$$.dirty & /*tag, havePoint*/
|
|
29578
|
-
257 && e(15, s = (() => !(m.stickType !== "2DPoint" || m.entryFromModel &&
|
|
29584
|
+
257 && e(15, s = (() => !(m.stickType !== "2DPoint" || m.entryFromModel && Qt(m.five.state.mode) && i))()), n.$$.dirty & /*tag*/
|
|
29579
29585
|
1 && e(14, o = m.id), n.$$.dirty & /*tag*/
|
|
29580
29586
|
1 && e(7, r = m.screenPosition), n.$$.dirty & /*tag*/
|
|
29581
29587
|
1 && e(13, a = m.enabled === !1 || !m.state), n.$$.dirty & /*tag, screenPosition*/
|
|
@@ -29670,7 +29676,7 @@ function Nu(n) {
|
|
|
29670
29676
|
var h;
|
|
29671
29677
|
c & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap*/
|
|
29672
29678
|
63 && (r = /*tags*/
|
|
29673
|
-
l[0], ue(), e =
|
|
29679
|
+
l[0], ue(), e = Yt(e, c, a, 1, l, r, i, t, Ri, Qu, null, Hu), fe()), (!o || c & /*state, temporaryState*/
|
|
29674
29680
|
48) && ee(t, "hide", !/*state*/
|
|
29675
29681
|
l[4].visible || !/*temporaryState*/
|
|
29676
29682
|
l[5].visible), c & /*zIndex*/
|
|
@@ -29883,10 +29889,8 @@ class pl extends wM {
|
|
|
29883
29889
|
});
|
|
29884
29890
|
d(this, "handleFivePanoArrived", () => _(this, null, function* () {
|
|
29885
29891
|
this.tags.forEach((e) => {
|
|
29886
|
-
e.state.visible = !1, e.applyVisible(), e.updateVisible();
|
|
29887
|
-
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.
|
|
29888
|
-
e.temporaryState = te(x({}, e.temporaryState), { visible: !0 });
|
|
29889
|
-
}), this.tags.filter(gC).filter((e) => {
|
|
29892
|
+
e.state.visible = !1, e.temporaryState = te(x({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
|
|
29893
|
+
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(gC).filter((e) => {
|
|
29890
29894
|
var i;
|
|
29891
29895
|
return (i = e.getConfig().modelConfig) == null ? void 0 : i.autoLookAtEnabled;
|
|
29892
29896
|
}).forEach((e) => {
|
|
@@ -29908,12 +29912,12 @@ class pl extends wM {
|
|
|
29908
29912
|
this.tags.forEach((e) => e.updateVisible());
|
|
29909
29913
|
});
|
|
29910
29914
|
d(this, "onFiveEveryReady", () => {
|
|
29911
|
-
this.setUnfoldedByCamera(),
|
|
29915
|
+
this.setUnfoldedByCamera(), Qt(this.five.getCurrentState().mode) && this.tags.forEach((e) => e.updateVisible());
|
|
29912
29916
|
});
|
|
29913
29917
|
d(this, "render", () => {
|
|
29914
29918
|
this.renderQueue.forEach((e, i) => {
|
|
29915
|
-
const
|
|
29916
|
-
if (
|
|
29919
|
+
const { keys: s } = e;
|
|
29920
|
+
if (i === "TagContainerSvelte") {
|
|
29917
29921
|
const r = this.filterPointTag.filter((l) => l.screenPosition), a = {
|
|
29918
29922
|
hooks: this.hooks,
|
|
29919
29923
|
tags: r,
|
|
@@ -29926,10 +29930,10 @@ class pl extends wM {
|
|
|
29926
29930
|
};
|
|
29927
29931
|
if (this.TagContainerSvelte) {
|
|
29928
29932
|
let l = {};
|
|
29929
|
-
if (
|
|
29933
|
+
if (s.length === 0)
|
|
29930
29934
|
l = a;
|
|
29931
29935
|
else
|
|
29932
|
-
for (const c of
|
|
29936
|
+
for (const c of s)
|
|
29933
29937
|
l[c] = a[c];
|
|
29934
29938
|
this.TagContainerSvelte.$set(l);
|
|
29935
29939
|
} else {
|
|
@@ -30629,7 +30633,7 @@ class vl {
|
|
|
30629
30633
|
});
|
|
30630
30634
|
/** 模型状态变更 */
|
|
30631
30635
|
d(this, "onFiveModeChange", (t) => {
|
|
30632
|
-
this.modeVisible = this.mode === "panorama" ? Ji(t) :
|
|
30636
|
+
this.modeVisible = this.mode === "panorama" ? Ji(t) : Qt(t), this.updateVisible();
|
|
30633
30637
|
});
|
|
30634
30638
|
/** 走点 */
|
|
30635
30639
|
d(this, "onFivePanoArrived", (t) => {
|
|
@@ -36465,7 +36469,7 @@ class O3 extends zg {
|
|
|
36465
36469
|
return this.originObject.polyLineMesh.points;
|
|
36466
36470
|
}
|
|
36467
36471
|
}
|
|
36468
|
-
function
|
|
36472
|
+
function Ut(n) {
|
|
36469
36473
|
return Array.isArray(n) ? n.map((t) => [t.x, t.y, t.z]) : [n.x, n.y, n.z];
|
|
36470
36474
|
}
|
|
36471
36475
|
class sf extends Hi {
|
|
@@ -36479,7 +36483,7 @@ class sf extends Hi {
|
|
|
36479
36483
|
}
|
|
36480
36484
|
get data() {
|
|
36481
36485
|
return te(x({}, this.baseData), {
|
|
36482
|
-
points:
|
|
36486
|
+
points: Ut(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
|
|
36483
36487
|
style: {
|
|
36484
36488
|
lineColor: new w.Color(this.polyLineMesh.lineColor).getHex(),
|
|
36485
36489
|
lineWidth: this.polyLineMesh.lineWidth,
|
|
@@ -36553,7 +36557,7 @@ class of extends Hi {
|
|
|
36553
36557
|
}
|
|
36554
36558
|
get data() {
|
|
36555
36559
|
return te(x({}, this.baseData), {
|
|
36556
|
-
point:
|
|
36560
|
+
point: Ut(this.applyObjectMatrixWorld(this.pointMesh.position)),
|
|
36557
36561
|
style: {
|
|
36558
36562
|
color: this.pointMesh.color.getHex(),
|
|
36559
36563
|
size: this.pointMesh.size
|
|
@@ -36759,7 +36763,7 @@ class af extends Hi {
|
|
|
36759
36763
|
}
|
|
36760
36764
|
get data() {
|
|
36761
36765
|
return te(x({}, this.baseData), {
|
|
36762
|
-
points:
|
|
36766
|
+
points: Ut(this.applyObjectMatrixWorld(this.areaMesh.points)),
|
|
36763
36767
|
style: {
|
|
36764
36768
|
color: this.areaMesh.color.getHex(),
|
|
36765
36769
|
lineColor: this.areaMesh.lineColor.getHex(),
|
|
@@ -36951,8 +36955,8 @@ class lf extends Hi {
|
|
|
36951
36955
|
}
|
|
36952
36956
|
get data() {
|
|
36953
36957
|
return te(x({}, this.baseData), {
|
|
36954
|
-
points:
|
|
36955
|
-
heightPoint:
|
|
36958
|
+
points: Ut(this.applyObjectMatrixWorld(this.prismMesh.bottomPolygon.points)),
|
|
36959
|
+
heightPoint: Ut(this.applyObjectMatrixWorld(this.prismMesh.heightPoint)),
|
|
36956
36960
|
style: {
|
|
36957
36961
|
color: this.prismMesh.color.getHex(),
|
|
36958
36962
|
lineWidth: this.prismMesh.lineWidth,
|
|
@@ -37222,8 +37226,8 @@ class hf extends Hi {
|
|
|
37222
37226
|
}
|
|
37223
37227
|
get data() {
|
|
37224
37228
|
return te(x({}, this.baseData), {
|
|
37225
|
-
center:
|
|
37226
|
-
normal:
|
|
37229
|
+
center: Ut(this.applyObjectMatrixWorld(this.circleMesh.center)),
|
|
37230
|
+
normal: Ut(this.applyObjectQuaternion(this.circleMesh.normal)),
|
|
37227
37231
|
radius: this.circleMesh.radius,
|
|
37228
37232
|
style: {
|
|
37229
37233
|
color: this.circleMesh.color.getHex()
|
|
@@ -37390,8 +37394,8 @@ class uf extends Hi {
|
|
|
37390
37394
|
}
|
|
37391
37395
|
get data() {
|
|
37392
37396
|
return te(x({}, this.baseData), {
|
|
37393
|
-
bottomCenter:
|
|
37394
|
-
topCenter:
|
|
37397
|
+
bottomCenter: Ut(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter)),
|
|
37398
|
+
topCenter: Ut(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter)),
|
|
37395
37399
|
radius: this.cylinderMesh.radius,
|
|
37396
37400
|
style: {
|
|
37397
37401
|
color: this.cylinderMesh.color.getHex()
|
|
@@ -37566,8 +37570,8 @@ class mf extends Hi {
|
|
|
37566
37570
|
}
|
|
37567
37571
|
get data() {
|
|
37568
37572
|
return te(x({}, this.baseData), {
|
|
37569
|
-
points:
|
|
37570
|
-
heightPoint:
|
|
37573
|
+
points: Ut(this.applyObjectMatrixWorld(this.boxMesh.bottomPlane.points)),
|
|
37574
|
+
heightPoint: Ut(this.applyObjectMatrixWorld(this.boxMesh.heightPoint)),
|
|
37571
37575
|
style: {
|
|
37572
37576
|
color: this.boxMesh.color.getHex(),
|
|
37573
37577
|
lineWidth: this.boxMesh.lineWidth,
|