@realsee/dnalogel 3.72.5-alpha.4 → 3.72.5-alpha.5
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.cjs.js +30 -30
- package/dist/index.js +586 -585
- package/dist/index.umd.js +25 -25
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +8 -8
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +60 -59
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var RA = Object.defineProperty, _A = Object.defineProperties;
|
|
|
2
2
|
var BA = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ea = Object.getOwnPropertySymbols;
|
|
4
4
|
var hu = Object.prototype.hasOwnProperty, du = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var Jn = Math.pow, oc = (n, t, e) => t in n ? RA(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, F = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
hu.call(t, e) && oc(n, e, t[e]);
|
|
8
8
|
if (Ea)
|
|
@@ -10,7 +10,7 @@ var Zn = Math.pow, oc = (n, t, e) => t in n ? RA(n, t, { enumerable: !0, configu
|
|
|
10
10
|
du.call(t, e) && oc(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, he = (n, t) => _A(n, BA(t));
|
|
13
|
-
var
|
|
13
|
+
var Kn = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
16
16
|
hu.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
|
|
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as VA, Camera as FA, loadAt3d as HA, Five as Gt, Subscribe as tr, AnimationFrameLoop as NA } from "@realsee/five";
|
|
40
40
|
import * as y from "three";
|
|
41
|
-
import { Vector3 as ve, Vector2 as Ut, Object3D as To, Matrix4 as ot, LineSegments as GA, ShaderMaterial as Sl, Group as Sn, Raycaster as ir, MeshBasicMaterial as Nr, Vector4 as
|
|
41
|
+
import { Vector3 as ve, Vector2 as Ut, Object3D as To, Matrix4 as ot, LineSegments as GA, ShaderMaterial as Sl, Group as Sn, Raycaster as ir, MeshBasicMaterial as Nr, Vector4 as Ls, Curve as P0, Loader as uu, LoaderUtils as rc, FileLoader as WA, TextureLoader as Rh, RepeatWrapping as fu, ClampToEdgeWrapping as gu, Texture as pu, MeshPhongMaterial as ac, MeshLambertMaterial as UA, Color as Rt, sRGBEncoding as Sr, EquirectangularReflectionMapping as QA, Bone as mu, PropertyBinding as Ma, OrthographicCamera as XA, PerspectiveCamera as YA, PointLight as vu, MathUtils as Ki, SpotLight as qA, DirectionalLight as ZA, SkinnedMesh as JA, Mesh as Lo, LineBasicMaterial as KA, Line as $A, Skeleton as eb, AmbientLight as tb, BufferGeometry as ka, Float32BufferAttribute as po, Uint16BufferAttribute as ib, Matrix3 as nb, BufferAttribute as sb, AnimationClip as ob, Quaternion as zs, Euler as ns, VectorKeyframeTrack as rb, QuaternionKeyframeTrack as ab, NumberKeyframeTrack as lb, CanvasTexture as cb, AnimationMixer as hb, PlaneGeometry as db, LinearFilter as Yc, CurvePath as ub, LineCurve3 as fb, TubeGeometry as gb, SphereGeometry as pb, DoubleSide as C0, RingGeometry as mb, VideoTexture as vb, SphereBufferGeometry as Ab, Box3 as bb } from "three";
|
|
42
42
|
import { LineGeometry as yb, LineMaterial as wb, THREE_Line2 as Pb, Line as I0 } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as Cb } from "@realsee/five/gltf-loader";
|
|
44
44
|
function Ib() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.72.5-alpha.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.72.5-alpha.5",
|
|
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",
|
|
@@ -275,18 +275,18 @@ var Ni = Object.freeze({
|
|
|
275
275
|
return !0;
|
|
276
276
|
}, n;
|
|
277
277
|
}()
|
|
278
|
-
),
|
|
278
|
+
), Os = {
|
|
279
279
|
Linear: function(n, t) {
|
|
280
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), o =
|
|
280
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), o = Os.Utils.Linear;
|
|
281
281
|
return t < 0 ? o(n[0], n[1], i) : t > 1 ? o(n[e], n[e - 1], e - i) : o(n[s], n[s + 1 > e ? e : s + 1], i - s);
|
|
282
282
|
},
|
|
283
283
|
Bezier: function(n, t) {
|
|
284
|
-
for (var e = 0, i = n.length - 1, s = Math.pow, o =
|
|
284
|
+
for (var e = 0, i = n.length - 1, s = Math.pow, o = Os.Utils.Bernstein, r = 0; r <= i; r++)
|
|
285
285
|
e += s(1 - t, i - r) * s(t, r) * n[r] * o(i, r);
|
|
286
286
|
return e;
|
|
287
287
|
},
|
|
288
288
|
CatmullRom: function(n, t) {
|
|
289
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), o =
|
|
289
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), o = Os.Utils.CatmullRom;
|
|
290
290
|
return n[0] === n[e] ? (t < 0 && (s = Math.floor(i = e * (1 + t))), o(n[(s - 1 + e) % e], n[s], n[(s + 1) % e], n[(s + 2) % e], i - s)) : t < 0 ? n[0] - (o(n[0], n[0], n[1], n[1], -i) - n[0]) : t > 1 ? n[e] - (o(n[e], n[e], n[e - 1], n[e - 1], i - e) - n[e]) : o(n[s ? s - 1 : 0], n[s], n[e < s + 1 ? e : s + 1], n[e < s + 2 ? e : s + 2], i - s);
|
|
291
291
|
},
|
|
292
292
|
Utils: {
|
|
@@ -294,7 +294,7 @@ var Ni = Object.freeze({
|
|
|
294
294
|
return (t - n) * e + n;
|
|
295
295
|
},
|
|
296
296
|
Bernstein: function(n, t) {
|
|
297
|
-
var e =
|
|
297
|
+
var e = Os.Utils.Factorial;
|
|
298
298
|
return e(n) / e(t) / e(n - t);
|
|
299
299
|
},
|
|
300
300
|
Factorial: function() {
|
|
@@ -326,7 +326,7 @@ var Ni = Object.freeze({
|
|
|
326
326
|
/** @class */
|
|
327
327
|
function() {
|
|
328
328
|
function n(t, e) {
|
|
329
|
-
e === void 0 && (e = qc), 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 = Ni.Linear.None, this._interpolationFunction =
|
|
329
|
+
e === void 0 && (e = qc), 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 = Ni.Linear.None, this._interpolationFunction = Os.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = _h.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
330
330
|
}
|
|
331
331
|
return n.prototype.getId = function() {
|
|
332
332
|
return this._id;
|
|
@@ -425,7 +425,7 @@ var Ni = Object.freeze({
|
|
|
425
425
|
}, n.prototype.easing = function(t) {
|
|
426
426
|
return t === void 0 && (t = Ni.Linear.None), this._easingFunction = t, this;
|
|
427
427
|
}, n.prototype.interpolation = function(t) {
|
|
428
|
-
return t === void 0 && (t =
|
|
428
|
+
return t === void 0 && (t = Os.Linear), this._interpolationFunction = t, this;
|
|
429
429
|
}, n.prototype.chain = function() {
|
|
430
430
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
431
431
|
t[e] = arguments[e];
|
|
@@ -493,7 +493,7 @@ var Ni = Object.freeze({
|
|
|
493
493
|
), Sb = "23.1.3", Db = _h.nextId, rn = qc, Tb = rn.getAll.bind(rn), Lb = rn.removeAll.bind(rn), zb = rn.add.bind(rn), k0 = rn.remove.bind(rn), Ob = rn.update.bind(rn), wu = {
|
|
494
494
|
Easing: Ni,
|
|
495
495
|
Group: M0,
|
|
496
|
-
Interpolation:
|
|
496
|
+
Interpolation: Os,
|
|
497
497
|
now: Io,
|
|
498
498
|
Sequence: _h,
|
|
499
499
|
nextId: Db,
|
|
@@ -512,7 +512,7 @@ function jb(n, t, e, i = Ni.Linear.None) {
|
|
|
512
512
|
}
|
|
513
513
|
return requestAnimationFrame(o), s;
|
|
514
514
|
}
|
|
515
|
-
var
|
|
515
|
+
var ts = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(ts || {});
|
|
516
516
|
const zr = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
517
517
|
function Da(n) {
|
|
518
518
|
return n[zr] || (n[zr] = {}), n[zr];
|
|
@@ -594,11 +594,11 @@ let _b = class {
|
|
|
594
594
|
return i;
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
function
|
|
597
|
+
function $n() {
|
|
598
598
|
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
599
599
|
}
|
|
600
600
|
function Dt() {
|
|
601
|
-
return (
|
|
601
|
+
return ($n() + $n() + "-" + $n() + "-4" + $n().substr(0, 3) + "-" + $n() + "-" + $n() + $n() + $n()).toLowerCase();
|
|
602
602
|
}
|
|
603
603
|
const Bb = `
|
|
604
604
|
<style type="text/css">
|
|
@@ -767,7 +767,7 @@ let Vb = class extends _b {
|
|
|
767
767
|
return;
|
|
768
768
|
const l = this.data[this.uuid].pop();
|
|
769
769
|
l && this.emitStateChange({
|
|
770
|
-
type:
|
|
770
|
+
type: ts.Undo,
|
|
771
771
|
color: this.color,
|
|
772
772
|
ready: this.ready,
|
|
773
773
|
state: l,
|
|
@@ -802,7 +802,7 @@ let Vb = class extends _b {
|
|
|
802
802
|
const i = this.canvas[e].getContext("2d");
|
|
803
803
|
i && i.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height);
|
|
804
804
|
}), this.ready = !1, this.emit("readyChange", !1), this.emitStateChange({
|
|
805
|
-
type:
|
|
805
|
+
type: ts.Exit,
|
|
806
806
|
color: this.color,
|
|
807
807
|
ready: !1,
|
|
808
808
|
uuid: this.uuid
|
|
@@ -855,7 +855,7 @@ let Vb = class extends _b {
|
|
|
855
855
|
};
|
|
856
856
|
this.data[this.uuid].push(g), Ua(() => {
|
|
857
857
|
this.emitStateChange({
|
|
858
|
-
type:
|
|
858
|
+
type: ts.Drawline,
|
|
859
859
|
color: this.color,
|
|
860
860
|
ready: this.ready,
|
|
861
861
|
state: g,
|
|
@@ -888,7 +888,7 @@ let Vb = class extends _b {
|
|
|
888
888
|
};
|
|
889
889
|
this.data[this.uuid].push(g), Ua(() => {
|
|
890
890
|
this.emitStateChange({
|
|
891
|
-
type:
|
|
891
|
+
type: ts.Drawline,
|
|
892
892
|
color: this.color,
|
|
893
893
|
ready: this.ready,
|
|
894
894
|
state: g,
|
|
@@ -898,7 +898,7 @@ let Vb = class extends _b {
|
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
emitStateChange(e, i = !0) {
|
|
901
|
-
if (e.type !==
|
|
901
|
+
if (e.type !== ts.Drawline) {
|
|
902
902
|
this.emit("stateChange", e, i);
|
|
903
903
|
return;
|
|
904
904
|
}
|
|
@@ -939,13 +939,13 @@ let Vb = class extends _b {
|
|
|
939
939
|
}
|
|
940
940
|
if (this.ready)
|
|
941
941
|
switch (s) {
|
|
942
|
-
case
|
|
942
|
+
case ts.Drawline:
|
|
943
943
|
const { state: r, timestamp: a, end: l } = e;
|
|
944
944
|
if (!a || !r)
|
|
945
945
|
return;
|
|
946
946
|
this.tempLine[a] = [].concat(this.tempLine[a] || [], r.line), l && (Object.assign(r, { line: this.tempLine[a] }), this.handleDrawLine(o, r, {}, () => delete this.tempLine[a]));
|
|
947
947
|
break;
|
|
948
|
-
case
|
|
948
|
+
case ts.Undo:
|
|
949
949
|
this.handleUndo(o);
|
|
950
950
|
break;
|
|
951
951
|
}
|
|
@@ -1222,13 +1222,13 @@ function Pu(n, t) {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return s;
|
|
1224
1224
|
}
|
|
1225
|
-
const Ub = ({ x: n, y: t, z: e }) => new ve(n, t, e), Ht = (n) => new ve().fromArray(n),
|
|
1225
|
+
const Ub = ({ x: n, y: t, z: e }) => new ve(n, t, e), Ht = (n) => new ve().fromArray(n), We = (n) => {
|
|
1226
1226
|
if (n)
|
|
1227
1227
|
return n instanceof ve ? n : Array.isArray(n) ? Ht(n) : Ub(n);
|
|
1228
1228
|
};
|
|
1229
1229
|
function Qb(n) {
|
|
1230
1230
|
if (n)
|
|
1231
|
-
return Array.isArray(n) ? typeof n[0] == "number" ?
|
|
1231
|
+
return Array.isArray(n) ? typeof n[0] == "number" ? We(n) : n.map(We) : We(n);
|
|
1232
1232
|
}
|
|
1233
1233
|
function cc(n, t, e) {
|
|
1234
1234
|
const { x: i, y: s, z: o } = t.clone().project(n);
|
|
@@ -1248,7 +1248,7 @@ class x0 extends kt {
|
|
|
1248
1248
|
this.five = e;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const Dn = (n, t) => {
|
|
1252
1252
|
if (!t)
|
|
1253
1253
|
return n;
|
|
1254
1254
|
const e = new y.Vector3(), i = new y.Quaternion(), s = new y.Vector3();
|
|
@@ -1306,7 +1306,7 @@ class Xb extends x0 {
|
|
|
1306
1306
|
var s;
|
|
1307
1307
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.position;
|
|
1308
1308
|
if (i)
|
|
1309
|
-
return
|
|
1309
|
+
return Dn(i, this.transform);
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
1312
|
* @description 获取全景点位和模型的地面坐标
|
|
@@ -1315,7 +1315,7 @@ class Xb extends x0 {
|
|
|
1315
1315
|
var s;
|
|
1316
1316
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.standingPosition;
|
|
1317
1317
|
if (i)
|
|
1318
|
-
return
|
|
1318
|
+
return Dn(i, this.transform);
|
|
1319
1319
|
}
|
|
1320
1320
|
/**
|
|
1321
1321
|
* @description 获取observer
|
|
@@ -1376,8 +1376,8 @@ function Bh(n, t, e, i) {
|
|
|
1376
1376
|
o[r].type !== "Line2" && Bh(o[r], t, e, !0);
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
|
-
const
|
|
1380
|
-
|
|
1379
|
+
const Tn = new Gr();
|
|
1380
|
+
Tn.params.Points.threshold = 0.02;
|
|
1381
1381
|
function el(n, t) {
|
|
1382
1382
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
1383
1383
|
return {
|
|
@@ -1495,12 +1495,12 @@ class la {
|
|
|
1495
1495
|
let t = !1, e = 0.01;
|
|
1496
1496
|
this.fiveUtil.workUtil.fromType === "poincare" && (e = 0.05);
|
|
1497
1497
|
const i = this.transformedPosition.clone().sub(this.five.camera.position).normalize();
|
|
1498
|
-
|
|
1499
|
-
const s = (l = Ei(this.five).intersectRaycaster(
|
|
1498
|
+
Tn.set(this.five.camera.position, i);
|
|
1499
|
+
const s = (l = Ei(this.five).intersectRaycaster(Tn)) != null ? l : [], o = (c = Tn.intersectObjects(this.extraObjectsForIntersectCheck, !0)) != null ? c : [], a = [...s, ...o].sort((h, d) => h.distance - d.distance)[0];
|
|
1500
1500
|
a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
|
|
1501
1501
|
});
|
|
1502
1502
|
var s, o, r;
|
|
1503
|
-
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new Tl(t), this.originPosition = e ?
|
|
1503
|
+
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new Tl(t), this.originPosition = e ? We(e).clone() : void 0, this.transformedPosition = (o = this.originPosition) == null ? void 0 : o.clone(), this.positionsForRotate = (r = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : r.map((a) => We(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
|
|
1504
1504
|
const a = document.createElement("div");
|
|
1505
1505
|
return a.classList.add("light-tag"), a.style.width = "0", a.style.height = "0", a.style.position = "absolute", i != null && i.disableOpacityTransition || (a.style.transition = "opacity 0.2s linear"), a;
|
|
1506
1506
|
})(), this.addResizeListener(), this.show(), this.enable(), setTimeout(() => {
|
|
@@ -1573,7 +1573,7 @@ class la {
|
|
|
1573
1573
|
* @param positionsForRotate 用于 css 旋转的斜线的两个端点
|
|
1574
1574
|
*/
|
|
1575
1575
|
setPosition(t, e) {
|
|
1576
|
-
this.transformedPosition =
|
|
1576
|
+
this.transformedPosition = We(t).clone(), this.positionsForRotate = e == null ? void 0 : e.map((i) => We(i).clone()), this.onCameraUpdate(), setTimeout(() => this.onCameraUpdate(), 0);
|
|
1577
1577
|
}
|
|
1578
1578
|
setTransformMatrix(t) {
|
|
1579
1579
|
var e;
|
|
@@ -1622,11 +1622,11 @@ class la {
|
|
|
1622
1622
|
function S0(...n) {
|
|
1623
1623
|
return new la(...n);
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1625
|
+
function ls(n) {
|
|
1626
1626
|
return n.toLowerCase().includes("panorama");
|
|
1627
1627
|
}
|
|
1628
1628
|
function Ci(n) {
|
|
1629
|
-
return !
|
|
1629
|
+
return !ls(n);
|
|
1630
1630
|
}
|
|
1631
1631
|
var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Wr = {}, qb = {
|
|
1632
1632
|
get exports() {
|
|
@@ -1796,7 +1796,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1796
1796
|
};
|
|
1797
1797
|
function $e(V) {
|
|
1798
1798
|
var U, q = V.options.inputClass;
|
|
1799
|
-
return q ? U = q : K ? U = gn : oe ? U =
|
|
1799
|
+
return q ? U = q : K ? U = gn : oe ? U = Gn : ie ? U = mn : U = Si, new U(V, rt);
|
|
1800
1800
|
}
|
|
1801
1801
|
function rt(V, U, q) {
|
|
1802
1802
|
var ne = q.pointers.length, be = q.changedPointers.length, ze = U & de && ne - be === 0, Qe = U & (Se | ee) && ne - be === 0;
|
|
@@ -1808,7 +1808,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1808
1808
|
var ze = q.firstInput, Qe = q.firstMultiple, Pt = Qe ? Qe.center : ze.center, Et = U.center = hi(ne);
|
|
1809
1809
|
U.timeStamp = h(), U.deltaTime = U.timeStamp - ze.timeStamp, U.angle = Yt(Pt, Et), U.distance = Xt(Pt, Et), _t(q, U), U.offsetDirection = lt(U.deltaX, U.deltaY);
|
|
1810
1810
|
var Ot = bi(U.deltaTime, U.deltaX, U.deltaY);
|
|
1811
|
-
U.overallVelocityX = Ot.x, U.overallVelocityY = Ot.y, U.overallVelocity = c(Ot.x) > c(Ot.y) ? Ot.x : Ot.y, U.scale = Qe ?
|
|
1811
|
+
U.overallVelocityX = Ot.x, U.overallVelocityY = Ot.y, U.overallVelocity = c(Ot.x) > c(Ot.y) ? Ot.x : Ot.y, U.scale = Qe ? Ps(Qe.pointers, ne) : 1, U.rotation = Qe ? lr(Qe.pointers, ne) : 0, U.maxPointers = q.prevInput ? U.pointers.length > q.prevInput.maxPointers ? U.pointers.length : q.prevInput.maxPointers : U.pointers.length, Qi(q, U);
|
|
1812
1812
|
var ni = V.element;
|
|
1813
1813
|
T(U.srcEvent.target, ni) && (ni = U.srcEvent.target), U.target = ni;
|
|
1814
1814
|
}
|
|
@@ -1881,16 +1881,16 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1881
1881
|
function lr(V, U) {
|
|
1882
1882
|
return Yt(U[1], U[0], st) + Yt(V[1], V[0], st);
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function Ps(V, U) {
|
|
1885
1885
|
return Xt(U[0], U[1], st) / Xt(V[0], V[1], st);
|
|
1886
1886
|
}
|
|
1887
|
-
var
|
|
1887
|
+
var Bn = {
|
|
1888
1888
|
mousedown: de,
|
|
1889
1889
|
mousemove: le,
|
|
1890
1890
|
mouseup: Se
|
|
1891
|
-
}, no = "mousedown",
|
|
1891
|
+
}, no = "mousedown", Vn = "mousemove mouseup";
|
|
1892
1892
|
function Si() {
|
|
1893
|
-
this.evEl = no, this.evWin =
|
|
1893
|
+
this.evEl = no, this.evWin = Vn, this.pressed = !1, Je.apply(this, arguments);
|
|
1894
1894
|
}
|
|
1895
1895
|
P(Si, Je, {
|
|
1896
1896
|
/**
|
|
@@ -1898,7 +1898,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1898
1898
|
* @param {Object} ev
|
|
1899
1899
|
*/
|
|
1900
1900
|
handler: function(U) {
|
|
1901
|
-
var q =
|
|
1901
|
+
var q = Bn[U.type];
|
|
1902
1902
|
q & de && U.button === 0 && (this.pressed = !0), q & le && U.which !== 1 && (q = Se), this.pressed && (q & Se && (this.pressed = !1), this.callback(this.manager, q, {
|
|
1903
1903
|
pointers: [U],
|
|
1904
1904
|
changedPointers: [U],
|
|
@@ -1913,16 +1913,16 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1913
1913
|
pointerup: Se,
|
|
1914
1914
|
pointercancel: ee,
|
|
1915
1915
|
pointerout: ee
|
|
1916
|
-
},
|
|
1916
|
+
}, Fn = {
|
|
1917
1917
|
2: $,
|
|
1918
1918
|
3: ue,
|
|
1919
1919
|
4: Le,
|
|
1920
1920
|
5: re
|
|
1921
1921
|
// see https://twitter.com/jacobrossi/status/480596438489890816
|
|
1922
|
-
},
|
|
1923
|
-
t.MSPointerEvent && !t.PointerEvent && (
|
|
1922
|
+
}, Hn = "pointerdown", Xi = "pointermove pointerup pointercancel";
|
|
1923
|
+
t.MSPointerEvent && !t.PointerEvent && (Hn = "MSPointerDown", Xi = "MSPointerMove MSPointerUp MSPointerCancel");
|
|
1924
1924
|
function gn() {
|
|
1925
|
-
this.evEl =
|
|
1925
|
+
this.evEl = Hn, this.evWin = Xi, Je.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
|
|
1926
1926
|
}
|
|
1927
1927
|
P(gn, Je, {
|
|
1928
1928
|
/**
|
|
@@ -1930,7 +1930,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1930
1930
|
* @param {Object} ev
|
|
1931
1931
|
*/
|
|
1932
1932
|
handler: function(U) {
|
|
1933
|
-
var q = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), ze = yi[be], Qe =
|
|
1933
|
+
var q = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), ze = yi[be], Qe = Fn[U.pointerType] || U.pointerType, Pt = Qe == $, Et = C(q, U.pointerId, "pointerId");
|
|
1934
1934
|
ze & de && (U.button === 0 || Pt) ? Et < 0 && (q.push(U), Et = q.length - 1) : ze & (Se | ee) && (ne = !0), !(Et < 0) && (q[Et] = U, this.callback(this.manager, ze, {
|
|
1935
1935
|
pointers: q,
|
|
1936
1936
|
changedPointers: [U],
|
|
@@ -1944,11 +1944,11 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1944
1944
|
touchmove: le,
|
|
1945
1945
|
touchend: Se,
|
|
1946
1946
|
touchcancel: ee
|
|
1947
|
-
},
|
|
1948
|
-
function
|
|
1949
|
-
this.evTarget =
|
|
1947
|
+
}, Cs = "touchstart", Is = "touchstart touchmove touchend touchcancel";
|
|
1948
|
+
function Nn() {
|
|
1949
|
+
this.evTarget = Cs, this.evWin = Is, this.started = !1, Je.apply(this, arguments);
|
|
1950
1950
|
}
|
|
1951
|
-
P(
|
|
1951
|
+
P(Nn, Je, {
|
|
1952
1952
|
handler: function(U) {
|
|
1953
1953
|
var q = pn[U.type];
|
|
1954
1954
|
if (q === de && (this.started = !0), !!this.started) {
|
|
@@ -1972,10 +1972,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1972
1972
|
touchend: Se,
|
|
1973
1973
|
touchcancel: ee
|
|
1974
1974
|
}, _i = "touchstart touchmove touchend touchcancel";
|
|
1975
|
-
function
|
|
1975
|
+
function Gn() {
|
|
1976
1976
|
this.evTarget = _i, this.targetIds = {}, Je.apply(this, arguments);
|
|
1977
1977
|
}
|
|
1978
|
-
P(
|
|
1978
|
+
P(Gn, Je, {
|
|
1979
1979
|
handler: function(U) {
|
|
1980
1980
|
var q = so[U.type], ne = cr.call(this, U, q);
|
|
1981
1981
|
ne && this.callback(this.manager, q, {
|
|
@@ -2005,11 +2005,11 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2005
2005
|
Pt
|
|
2006
2006
|
];
|
|
2007
2007
|
}
|
|
2008
|
-
var hr = 2500,
|
|
2008
|
+
var hr = 2500, Es = 25;
|
|
2009
2009
|
function mn() {
|
|
2010
2010
|
Je.apply(this, arguments);
|
|
2011
2011
|
var V = E(this.handler, this);
|
|
2012
|
-
this.touch = new
|
|
2012
|
+
this.touch = new Gn(this.manager, V), this.mouse = new Si(this.manager, V), this.primaryTouch = null, this.lastTouches = [];
|
|
2013
2013
|
}
|
|
2014
2014
|
P(mn, Je, {
|
|
2015
2015
|
/**
|
|
@@ -2053,12 +2053,12 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2053
2053
|
function dr(V) {
|
|
2054
2054
|
for (var U = V.srcEvent.clientX, q = V.srcEvent.clientY, ne = 0; ne < this.lastTouches.length; ne++) {
|
|
2055
2055
|
var be = this.lastTouches[ne], ze = Math.abs(U - be.x), Qe = Math.abs(q - be.y);
|
|
2056
|
-
if (ze <=
|
|
2056
|
+
if (ze <= Es && Qe <= Es)
|
|
2057
2057
|
return !0;
|
|
2058
2058
|
}
|
|
2059
2059
|
return !1;
|
|
2060
2060
|
}
|
|
2061
|
-
var ro = S(r.style, "touchAction"), ao = ro !== s, lo = "compute", zt = "auto",
|
|
2061
|
+
var ro = S(r.style, "touchAction"), ao = ro !== s, lo = "compute", zt = "auto", Ms = "manipulation", Bi = "none", vn = "pan-x", An = "pan-y", Wn = fr();
|
|
2062
2062
|
function Bt(V, U) {
|
|
2063
2063
|
this.manager = V, this.set(U);
|
|
2064
2064
|
}
|
|
@@ -2068,7 +2068,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2068
2068
|
* @param {String} value
|
|
2069
2069
|
*/
|
|
2070
2070
|
set: function(V) {
|
|
2071
|
-
V == lo && (V = this.compute()), ao && this.manager.element.style &&
|
|
2071
|
+
V == lo && (V = this.compute()), ao && this.manager.element.style && Wn[V] && (this.manager.element.style[ro] = V), this.actions = V.toLowerCase().trim();
|
|
2072
2072
|
},
|
|
2073
2073
|
/**
|
|
2074
2074
|
* just re-set the touchAction value
|
|
@@ -2096,7 +2096,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2096
2096
|
U.preventDefault();
|
|
2097
2097
|
return;
|
|
2098
2098
|
}
|
|
2099
|
-
var ne = this.actions, be = O(ne, Bi) && !
|
|
2099
|
+
var ne = this.actions, be = O(ne, Bi) && !Wn[Bi], ze = O(ne, An) && !Wn[An], Qe = O(ne, vn) && !Wn[vn];
|
|
2100
2100
|
if (be) {
|
|
2101
2101
|
var Pt = V.pointers.length === 1, Et = V.distance < 2, Ot = V.deltaTime < 250;
|
|
2102
2102
|
if (Pt && Et && Ot)
|
|
@@ -2117,7 +2117,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2117
2117
|
if (O(V, Bi))
|
|
2118
2118
|
return Bi;
|
|
2119
2119
|
var U = O(V, vn), q = O(V, An);
|
|
2120
|
-
return U && q ? Bi : U || q ? U ? vn : An : O(V,
|
|
2120
|
+
return U && q ? Bi : U || q ? U ? vn : An : O(V, Ms) ? Ms : zt;
|
|
2121
2121
|
}
|
|
2122
2122
|
function fr() {
|
|
2123
2123
|
if (!ao)
|
|
@@ -2127,9 +2127,9 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2127
2127
|
V[q] = U ? t.CSS.supports("touch-action", q) : !0;
|
|
2128
2128
|
}), V;
|
|
2129
2129
|
}
|
|
2130
|
-
var
|
|
2130
|
+
var Un = 1, qt = 2, qi = 4, ei = 8, di = ei, Di = 16, It = 32;
|
|
2131
2131
|
function ti(V) {
|
|
2132
|
-
this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state =
|
|
2132
|
+
this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state = Un, this.simultaneous = {}, this.requireFail = [];
|
|
2133
2133
|
}
|
|
2134
2134
|
ti.prototype = {
|
|
2135
2135
|
/**
|
|
@@ -2154,7 +2154,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2154
2154
|
if (u(V, "recognizeWith", this))
|
|
2155
2155
|
return this;
|
|
2156
2156
|
var U = this.simultaneous;
|
|
2157
|
-
return V =
|
|
2157
|
+
return V = Qn(V, this), U[V.id] || (U[V.id] = V, V.recognizeWith(this)), this;
|
|
2158
2158
|
},
|
|
2159
2159
|
/**
|
|
2160
2160
|
* drop the simultaneous link. it doesnt remove the link on the other recognizer.
|
|
@@ -2162,7 +2162,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2162
2162
|
* @returns {Recognizer} this
|
|
2163
2163
|
*/
|
|
2164
2164
|
dropRecognizeWith: function(V) {
|
|
2165
|
-
return u(V, "dropRecognizeWith", this) ? this : (V =
|
|
2165
|
+
return u(V, "dropRecognizeWith", this) ? this : (V = Qn(V, this), delete this.simultaneous[V.id], this);
|
|
2166
2166
|
},
|
|
2167
2167
|
/**
|
|
2168
2168
|
* recognizer can only run when an other is failing
|
|
@@ -2173,7 +2173,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2173
2173
|
if (u(V, "requireFailure", this))
|
|
2174
2174
|
return this;
|
|
2175
2175
|
var U = this.requireFail;
|
|
2176
|
-
return V =
|
|
2176
|
+
return V = Qn(V, this), C(U, V) === -1 && (U.push(V), V.requireFailure(this)), this;
|
|
2177
2177
|
},
|
|
2178
2178
|
/**
|
|
2179
2179
|
* drop the requireFailure link. it does not remove the link on the other recognizer.
|
|
@@ -2183,7 +2183,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2183
2183
|
dropRequireFailure: function(V) {
|
|
2184
2184
|
if (u(V, "dropRequireFailure", this))
|
|
2185
2185
|
return this;
|
|
2186
|
-
V =
|
|
2186
|
+
V = Qn(V, this);
|
|
2187
2187
|
var U = C(this.requireFail, V);
|
|
2188
2188
|
return U > -1 && this.requireFail.splice(U, 1), this;
|
|
2189
2189
|
},
|
|
@@ -2231,7 +2231,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2231
2231
|
*/
|
|
2232
2232
|
canEmit: function() {
|
|
2233
2233
|
for (var V = 0; V < this.requireFail.length; ) {
|
|
2234
|
-
if (!(this.requireFail[V].state & (It |
|
|
2234
|
+
if (!(this.requireFail[V].state & (It | Un)))
|
|
2235
2235
|
return !1;
|
|
2236
2236
|
V++;
|
|
2237
2237
|
}
|
|
@@ -2247,7 +2247,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2247
2247
|
this.reset(), this.state = It;
|
|
2248
2248
|
return;
|
|
2249
2249
|
}
|
|
2250
|
-
this.state & (di | Di | It) && (this.state =
|
|
2250
|
+
this.state & (di | Di | It) && (this.state = Un), this.state = this.process(U), this.state & (qt | qi | ei | Di) && this.tryEmit(U);
|
|
2251
2251
|
},
|
|
2252
2252
|
/**
|
|
2253
2253
|
* return the state of the recognizer
|
|
@@ -2280,7 +2280,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2280
2280
|
function ho(V) {
|
|
2281
2281
|
return V == me ? "down" : V == Ve ? "up" : V == Re ? "left" : V == Ae ? "right" : "";
|
|
2282
2282
|
}
|
|
2283
|
-
function
|
|
2283
|
+
function Qn(V, U) {
|
|
2284
2284
|
var q = U.manager;
|
|
2285
2285
|
return q ? q.get(V) : V;
|
|
2286
2286
|
}
|
|
@@ -2320,10 +2320,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2320
2320
|
return ne && (q & ee || !be) ? U | Di : ne || be ? q & Se ? U | ei : U & qt ? U | qi : qt : It;
|
|
2321
2321
|
}
|
|
2322
2322
|
});
|
|
2323
|
-
function
|
|
2323
|
+
function Xn() {
|
|
2324
2324
|
ii.apply(this, arguments), this.pX = null, this.pY = null;
|
|
2325
2325
|
}
|
|
2326
|
-
P(
|
|
2326
|
+
P(Xn, ii, {
|
|
2327
2327
|
/**
|
|
2328
2328
|
* @namespace
|
|
2329
2329
|
* @memberof PanRecognizer
|
|
@@ -2436,10 +2436,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2436
2436
|
return this._super.attrTest.call(this, V) && (Math.abs(V.rotation) > this.options.threshold || this.state & qt);
|
|
2437
2437
|
}
|
|
2438
2438
|
});
|
|
2439
|
-
function
|
|
2439
|
+
function Yn() {
|
|
2440
2440
|
ii.apply(this, arguments);
|
|
2441
2441
|
}
|
|
2442
|
-
P(
|
|
2442
|
+
P(Yn, ii, {
|
|
2443
2443
|
/**
|
|
2444
2444
|
* @namespace
|
|
2445
2445
|
* @memberof SwipeRecognizer
|
|
@@ -2452,7 +2452,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2452
2452
|
pointers: 1
|
|
2453
2453
|
},
|
|
2454
2454
|
getTouchAction: function() {
|
|
2455
|
-
return
|
|
2455
|
+
return Xn.prototype.getTouchAction.call(this);
|
|
2456
2456
|
},
|
|
2457
2457
|
attrTest: function(V) {
|
|
2458
2458
|
var U = this.options.direction, q;
|
|
@@ -2485,7 +2485,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2485
2485
|
// a multi-tap can be a bit off the initial position
|
|
2486
2486
|
},
|
|
2487
2487
|
getTouchAction: function() {
|
|
2488
|
-
return [
|
|
2488
|
+
return [Ms];
|
|
2489
2489
|
},
|
|
2490
2490
|
process: function(V) {
|
|
2491
2491
|
var U = this.options, q = V.pointers.length === U.pointers, ne = V.distance < U.threshold, be = V.deltaTime < U.time;
|
|
@@ -2517,7 +2517,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2517
2517
|
}
|
|
2518
2518
|
});
|
|
2519
2519
|
function wi(V, U) {
|
|
2520
|
-
return U = U || {}, U.recognizers = z(U.recognizers, wi.defaults.preset), new
|
|
2520
|
+
return U = U || {}, U.recognizers = z(U.recognizers, wi.defaults.preset), new ks(V, U);
|
|
2521
2521
|
}
|
|
2522
2522
|
wi.VERSION = "2.0.7", wi.defaults = {
|
|
2523
2523
|
/**
|
|
@@ -2562,8 +2562,8 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2562
2562
|
// RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
|
|
2563
2563
|
[Vi, { enable: !1 }],
|
|
2564
2564
|
[Zi, { enable: !1 }, ["rotate"]],
|
|
2565
|
-
[
|
|
2566
|
-
[
|
|
2565
|
+
[Yn, { direction: Ie }],
|
|
2566
|
+
[Xn, { direction: Ie }, ["swipe"]],
|
|
2567
2567
|
[yn],
|
|
2568
2568
|
[yn, { event: "doubletap", taps: 2 }, ["tap"]],
|
|
2569
2569
|
[bn]
|
|
@@ -2616,13 +2616,13 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
2618
|
var gr = 1, uo = 2;
|
|
2619
|
-
function
|
|
2620
|
-
this.options = m({}, wi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Bt(this, this.options.touchAction),
|
|
2619
|
+
function ks(V, U) {
|
|
2620
|
+
this.options = m({}, wi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Bt(this, this.options.touchAction), qn(this, !0), g(this.options.recognizers, function(q) {
|
|
2621
2621
|
var ne = this.add(new q[0](q[1]));
|
|
2622
2622
|
q[2] && ne.recognizeWith(q[2]), q[3] && ne.requireFailure(q[3]);
|
|
2623
2623
|
}, this);
|
|
2624
2624
|
}
|
|
2625
|
-
|
|
2625
|
+
ks.prototype = {
|
|
2626
2626
|
/**
|
|
2627
2627
|
* set options
|
|
2628
2628
|
* @param {Object} options
|
|
@@ -2746,10 +2746,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2746
2746
|
* it doesn't unbind dom events, that is the user own responsibility
|
|
2747
2747
|
*/
|
|
2748
2748
|
destroy: function() {
|
|
2749
|
-
this.element &&
|
|
2749
|
+
this.element && qn(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
|
-
function
|
|
2752
|
+
function qn(V, U) {
|
|
2753
2753
|
var q = V.element;
|
|
2754
2754
|
if (q.style) {
|
|
2755
2755
|
var ne;
|
|
@@ -2767,7 +2767,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2767
2767
|
INPUT_MOVE: le,
|
|
2768
2768
|
INPUT_END: Se,
|
|
2769
2769
|
INPUT_CANCEL: ee,
|
|
2770
|
-
STATE_POSSIBLE:
|
|
2770
|
+
STATE_POSSIBLE: Un,
|
|
2771
2771
|
STATE_BEGAN: qt,
|
|
2772
2772
|
STATE_CHANGED: qi,
|
|
2773
2773
|
STATE_ENDED: ei,
|
|
@@ -2782,19 +2782,19 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2782
2782
|
DIRECTION_HORIZONTAL: Ie,
|
|
2783
2783
|
DIRECTION_VERTICAL: Oe,
|
|
2784
2784
|
DIRECTION_ALL: Xe,
|
|
2785
|
-
Manager:
|
|
2785
|
+
Manager: ks,
|
|
2786
2786
|
Input: Je,
|
|
2787
2787
|
TouchAction: Bt,
|
|
2788
|
-
TouchInput:
|
|
2788
|
+
TouchInput: Gn,
|
|
2789
2789
|
MouseInput: Si,
|
|
2790
2790
|
PointerEventInput: gn,
|
|
2791
2791
|
TouchMouseInput: mn,
|
|
2792
|
-
SingleTouchInput:
|
|
2792
|
+
SingleTouchInput: Nn,
|
|
2793
2793
|
Recognizer: ti,
|
|
2794
2794
|
AttrRecognizer: ii,
|
|
2795
2795
|
Tap: yn,
|
|
2796
|
-
Pan:
|
|
2797
|
-
Swipe:
|
|
2796
|
+
Pan: Xn,
|
|
2797
|
+
Swipe: Yn,
|
|
2798
2798
|
Pinch: Zi,
|
|
2799
2799
|
Rotate: Vi,
|
|
2800
2800
|
Press: bn,
|
|
@@ -3057,19 +3057,19 @@ function D0(n, t) {
|
|
|
3057
3057
|
const { offsetWidth: e, offsetHeight: i } = t;
|
|
3058
3058
|
return new y.Vector2().set(n.x / e * 2 - 1, -n.y / i * 2 + 1);
|
|
3059
3059
|
}
|
|
3060
|
-
var
|
|
3060
|
+
var On = function(n) {
|
|
3061
3061
|
To.call(this), this.element = n, this.element.style.position = "absolute", this.element.style.pointerEvents = "auto", this.element.style.userSelect = "none", this.element.setAttribute("draggable", !1), this.addEventListener("removed", function() {
|
|
3062
3062
|
this.traverse(function(t) {
|
|
3063
3063
|
t.element instanceof Element && t.element.parentNode !== null && t.element.remove();
|
|
3064
3064
|
});
|
|
3065
3065
|
});
|
|
3066
3066
|
};
|
|
3067
|
-
|
|
3068
|
-
|
|
3067
|
+
On.prototype = Object.create(To.prototype);
|
|
3068
|
+
On.prototype.constructor = On;
|
|
3069
3069
|
var tl = function(n) {
|
|
3070
|
-
|
|
3070
|
+
On.call(this, n);
|
|
3071
3071
|
};
|
|
3072
|
-
tl.prototype = Object.create(
|
|
3072
|
+
tl.prototype = Object.create(On.prototype);
|
|
3073
3073
|
tl.prototype.constructor = tl;
|
|
3074
3074
|
let Kb = function(n) {
|
|
3075
3075
|
let t = this, e, i, s, o, r = new ot(), a = {
|
|
@@ -3280,44 +3280,44 @@ function dc(n) {
|
|
|
3280
3280
|
if (!(i !== "transparent" && i !== "rgba(0, 0, 0, 0)" && i !== "" || s !== "none" && s !== ""))
|
|
3281
3281
|
return n;
|
|
3282
3282
|
}
|
|
3283
|
-
let wr = [null, null, () => null],
|
|
3283
|
+
let wr = [null, null, () => null], js = /* @__PURE__ */ new Map(), Rs = /* @__PURE__ */ new Map();
|
|
3284
3284
|
function ey(n, t) {
|
|
3285
3285
|
if (!n)
|
|
3286
3286
|
return !1;
|
|
3287
3287
|
const e = t || n.uuid;
|
|
3288
|
-
return
|
|
3288
|
+
return js.has(e) ? !1 : (js.set(e, n), !0);
|
|
3289
3289
|
}
|
|
3290
3290
|
function ty(n) {
|
|
3291
3291
|
if (!n)
|
|
3292
3292
|
return !1;
|
|
3293
3293
|
if (typeof n == "string")
|
|
3294
|
-
return
|
|
3295
|
-
for (const [t, e] of
|
|
3294
|
+
return js.delete(n);
|
|
3295
|
+
for (const [t, e] of js.entries())
|
|
3296
3296
|
if (e === n)
|
|
3297
|
-
return
|
|
3297
|
+
return js.delete(t);
|
|
3298
3298
|
return !1;
|
|
3299
3299
|
}
|
|
3300
3300
|
function iy(n, t) {
|
|
3301
3301
|
if (!n)
|
|
3302
3302
|
return !1;
|
|
3303
3303
|
const e = t || n.uuid;
|
|
3304
|
-
return
|
|
3304
|
+
return Rs.has(e) ? !1 : (Rs.set(e, n), !0);
|
|
3305
3305
|
}
|
|
3306
3306
|
function ny(n) {
|
|
3307
3307
|
if (!n)
|
|
3308
3308
|
return !1;
|
|
3309
3309
|
if (typeof n == "string")
|
|
3310
|
-
return
|
|
3311
|
-
for (const [t, e] of
|
|
3310
|
+
return Rs.delete(n);
|
|
3311
|
+
for (const [t, e] of Rs.entries())
|
|
3312
3312
|
if (e === n)
|
|
3313
|
-
return
|
|
3313
|
+
return Rs.delete(t);
|
|
3314
3314
|
return !1;
|
|
3315
3315
|
}
|
|
3316
3316
|
function sy() {
|
|
3317
|
-
|
|
3317
|
+
js.clear();
|
|
3318
3318
|
}
|
|
3319
3319
|
function oy() {
|
|
3320
|
-
|
|
3320
|
+
Rs.clear();
|
|
3321
3321
|
}
|
|
3322
3322
|
function ry() {
|
|
3323
3323
|
sy(), oy();
|
|
@@ -3337,9 +3337,9 @@ function ca(n) {
|
|
|
3337
3337
|
const o = (a = n.getElement()) == null ? void 0 : a.parentElement, r = Hh(n);
|
|
3338
3338
|
if (!o)
|
|
3339
3339
|
return console.error("initialCSS3DRender: five element is not exist"), () => null;
|
|
3340
|
-
if (t.appendToElement(o), t.renderCss3dObjectEveryFrame(
|
|
3340
|
+
if (t.appendToElement(o), t.renderCss3dObjectEveryFrame(js, n.camera), !r)
|
|
3341
3341
|
return console.error("initialCSS3DRender: behindWrapper is not exist"), () => null;
|
|
3342
|
-
e.appendToElement(r), e.renderCss3dObjectEveryFrame(
|
|
3342
|
+
e.appendToElement(r), e.renderCss3dObjectEveryFrame(Rs, n.camera);
|
|
3343
3343
|
});
|
|
3344
3344
|
const i = () => {
|
|
3345
3345
|
t.dispose(), e.dispose(), ry();
|
|
@@ -3450,15 +3450,15 @@ function Gh(n, t) {
|
|
|
3450
3450
|
</div>
|
|
3451
3451
|
`;
|
|
3452
3452
|
}
|
|
3453
|
-
function
|
|
3453
|
+
function vs(n) {
|
|
3454
3454
|
return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
|
|
3455
3455
|
}
|
|
3456
3456
|
function Ur(n, t) {
|
|
3457
|
-
const i =
|
|
3457
|
+
const i = vs(t).map((s) => n.localToWorld(s.clone()));
|
|
3458
3458
|
return Array.isArray(t) ? i : i[0];
|
|
3459
3459
|
}
|
|
3460
3460
|
function dy(n, t) {
|
|
3461
|
-
const i =
|
|
3461
|
+
const i = vs(t).map((s) => n.worldToLocal(s.clone()));
|
|
3462
3462
|
return Array.isArray(t) ? i : i[0];
|
|
3463
3463
|
}
|
|
3464
3464
|
class Qa extends yb {
|
|
@@ -3885,7 +3885,7 @@ function py(n, t = "m") {
|
|
|
3885
3885
|
return i === "0.0" ? void 0 : i + "ft²";
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
|
-
const
|
|
3888
|
+
const is = class {
|
|
3889
3889
|
static checkDom(t) {
|
|
3890
3890
|
let e = t, i = !0;
|
|
3891
3891
|
for (; e.parent; )
|
|
@@ -3893,13 +3893,13 @@ const ts = class {
|
|
|
3893
3893
|
e.type === "Scene" ? (t._onAdded(), i ? t._onShowed() : t._onHidden()) : t._onRemoved();
|
|
3894
3894
|
}
|
|
3895
3895
|
static checkDomEveryFrame() {
|
|
3896
|
-
|
|
3896
|
+
is.checkDomEveryFrameIsRunning || (is.checkDomEveryFrameIsRunning = !0, is._checkDomEveryFrame());
|
|
3897
3897
|
}
|
|
3898
3898
|
static _checkDomEveryFrame() {
|
|
3899
|
-
|
|
3899
|
+
is.cacheObject.forEach((t) => is.checkDom(t)), requestAnimationFrame(is._checkDomEveryFrame);
|
|
3900
3900
|
}
|
|
3901
3901
|
};
|
|
3902
|
-
let Kt =
|
|
3902
|
+
let Kt = is;
|
|
3903
3903
|
f(Kt, "cacheObject", /* @__PURE__ */ new Set()), f(Kt, "checkDomEveryFrameIsRunning", !1);
|
|
3904
3904
|
class ki extends Ai {
|
|
3905
3905
|
constructor(e) {
|
|
@@ -4016,7 +4016,7 @@ class ki extends Ai {
|
|
|
4016
4016
|
setPoints(e) {
|
|
4017
4017
|
if (this.points.length === 0 && e.length === 0)
|
|
4018
4018
|
return;
|
|
4019
|
-
const i = e.map(
|
|
4019
|
+
const i = e.map(We).filter(Ne);
|
|
4020
4020
|
if (this.points = i, i.length < 2) {
|
|
4021
4021
|
const o = new Qa();
|
|
4022
4022
|
this.line1.geometry = o, this.line2.geometry = o, this.updateDomItems();
|
|
@@ -4342,7 +4342,7 @@ function ky(n, t) {
|
|
|
4342
4342
|
return he(F({}, s), { raycaster: t, isVirtual: !1 });
|
|
4343
4343
|
}
|
|
4344
4344
|
const Eu = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, xy = new y.Vector3();
|
|
4345
|
-
function
|
|
4345
|
+
function hs(n) {
|
|
4346
4346
|
const { raycaster: t, line: e, clampToLine: i = !0 } = n, s = new y.Plane().setFromNormalAndCoplanarPoint(t.ray.direction.clone().normalize(), new y.Vector3()), o = s.projectPoint(e.start, new y.Vector3()), r = s.projectPoint(e.end, new y.Vector3()), a = new y.Line3(o, r), l = a.closestPointToPoint(t.ray.origin, i, xy), c = l.distanceTo(r), h = l.distanceTo(o), d = a.distance();
|
|
4347
4347
|
if (c > h && c > d) {
|
|
4348
4348
|
const u = -l.distanceTo(o) / d, g = e.start.clone().sub(e.end).normalize();
|
|
@@ -4583,7 +4583,7 @@ class Ll extends kt {
|
|
|
4583
4583
|
if (m.distanceTo(e.point) < this.adhereRadius)
|
|
4584
4584
|
(!this.plane || this.plane.distanceToPoint(m) < 0.01) && (m = (a = (r = this.plane) == null ? void 0 : r.projectPoint(m, new y.Vector3())) != null ? a : m, i.point = m.clone(), i.adhereLine = p.clone(), i.isAdsorbed = !0);
|
|
4585
4585
|
else {
|
|
4586
|
-
const v =
|
|
4586
|
+
const v = hs({
|
|
4587
4587
|
raycaster: new Gr(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
|
|
4588
4588
|
line: p,
|
|
4589
4589
|
clampToLine: !1
|
|
@@ -4736,7 +4736,7 @@ class _0 extends y.Mesh {
|
|
|
4736
4736
|
}
|
|
4737
4737
|
}
|
|
4738
4738
|
const Wh = (n) => n ? n.visible === !1 ? !1 : Wh(n.parent) : !0, B0 = 1, ku = `CSS3DObjectPlus@${B0}`, Sy = 216e-5, Dy = 3e-3;
|
|
4739
|
-
let V0 = class extends
|
|
4739
|
+
let V0 = class extends On {
|
|
4740
4740
|
constructor(e) {
|
|
4741
4741
|
var z, D, j, T, O;
|
|
4742
4742
|
if (vi(e.cornerPoints) && vi(e.width))
|
|
@@ -5037,7 +5037,7 @@ function Fy(n) {
|
|
|
5037
5037
|
new y.Vector3(t.x, e.y, e.z)
|
|
5038
5038
|
];
|
|
5039
5039
|
}
|
|
5040
|
-
function
|
|
5040
|
+
function ss(n, t) {
|
|
5041
5041
|
const { max: e, min: i } = n;
|
|
5042
5042
|
switch (t) {
|
|
5043
5043
|
case 0:
|
|
@@ -5424,7 +5424,7 @@ function Yy(n) {
|
|
|
5424
5424
|
if (Ge.hsl(n))
|
|
5425
5425
|
return Xy(n);
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5427
|
+
function Ln(n) {
|
|
5428
5428
|
var t = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);
|
|
5429
5429
|
if (t)
|
|
5430
5430
|
return t[1];
|
|
@@ -5442,7 +5442,7 @@ function nn(n, t) {
|
|
|
5442
5442
|
return n.getAttribute(t);
|
|
5443
5443
|
}
|
|
5444
5444
|
function Zh(n, t, e) {
|
|
5445
|
-
var i =
|
|
5445
|
+
var i = Ln(t);
|
|
5446
5446
|
if (Yh([e, "deg", "rad", "turn"], i))
|
|
5447
5447
|
return t;
|
|
5448
5448
|
var s = nl.CSS[t + e];
|
|
@@ -5498,7 +5498,7 @@ function $h(n, t) {
|
|
|
5498
5498
|
var e = /^(\*=|\+=|-=)/.exec(n);
|
|
5499
5499
|
if (!e)
|
|
5500
5500
|
return n;
|
|
5501
|
-
var i =
|
|
5501
|
+
var i = Ln(n) || 0, s = parseFloat(t), o = parseFloat(n.replace(e[0], ""));
|
|
5502
5502
|
switch (e[0][0]) {
|
|
5503
5503
|
case "+":
|
|
5504
5504
|
return s + o + i;
|
|
@@ -5513,7 +5513,7 @@ function e1(n, t) {
|
|
|
5513
5513
|
return Yy(n);
|
|
5514
5514
|
if (/\s/g.test(n))
|
|
5515
5515
|
return n;
|
|
5516
|
-
var e =
|
|
5516
|
+
var e = Ln(n), i = e ? n.substr(0, n.length - e.length) : n;
|
|
5517
5517
|
return t ? i + t : i;
|
|
5518
5518
|
}
|
|
5519
5519
|
function ed(n, t) {
|
|
@@ -5683,7 +5683,7 @@ function lw(n, t) {
|
|
|
5683
5683
|
function cw(n, t) {
|
|
5684
5684
|
var e;
|
|
5685
5685
|
return n.tweens.map(function(i) {
|
|
5686
|
-
var s = lw(i, t), o = s.value, r = Ge.arr(o) ? o[1] : o, a =
|
|
5686
|
+
var s = lw(i, t), o = s.value, r = Ge.arr(o) ? o[1] : o, a = Ln(r), l = Kh(t.target, n.name, a, t), c = e ? e.to.original : l, h = Ge.arr(o) ? o[0] : c, d = Ln(h) || Ln(l), u = a || d;
|
|
5687
5687
|
return Ge.und(r) && (r = c), s.from = Su(h, u), s.to = Su($h(r, h), u), s.start = e ? e.end : 0, s.end = s.start + s.delay + s.duration + s.endDelay, s.easing = Xh(s.easing, s.duration), s.isPath = Ge.pth(o), s.isPathTargetInsideSVG = s.isPath && Ge.svg(t.target), s.isColor = Ge.col(s.from.original), s.isColor && (s.round = 1), e = s, s;
|
|
5688
5688
|
});
|
|
5689
5689
|
}
|
|
@@ -5710,7 +5710,7 @@ function r1(n, t) {
|
|
|
5710
5710
|
var e = s1(n);
|
|
5711
5711
|
e.forEach(function(i) {
|
|
5712
5712
|
for (var s in t) {
|
|
5713
|
-
var o = $c(t[s], i), r = i.target, a =
|
|
5713
|
+
var o = $c(t[s], i), r = i.target, a = Ln(o), l = Kh(r, s, a, i), c = a || Ln(l), h = $h(e1(o, c), l), d = Jh(r, s);
|
|
5714
5714
|
o1[d](r, s, h, i.transforms, !0);
|
|
5715
5715
|
}
|
|
5716
5716
|
});
|
|
@@ -5902,7 +5902,7 @@ function fw(n) {
|
|
|
5902
5902
|
}
|
|
5903
5903
|
function gw(n, t) {
|
|
5904
5904
|
t === void 0 && (t = {});
|
|
5905
|
-
var e = t.direction || "normal", i = t.easing ? Xh(t.easing) : null, s = t.grid, o = t.axis, r = t.from || 0, a = r === "first", l = r === "center", c = r === "last", h = Ge.arr(n), d = parseFloat(h ? n[0] : n), u = h ? parseFloat(n[1]) : 0, g =
|
|
5905
|
+
var e = t.direction || "normal", i = t.easing ? Xh(t.easing) : null, s = t.grid, o = t.axis, r = t.from || 0, a = r === "first", l = r === "center", c = r === "last", h = Ge.arr(n), d = parseFloat(h ? n[0] : n), u = h ? parseFloat(n[1]) : 0, g = Ln(h ? n[1] : n) || 0, p = t.start || 0 + (h ? d : 0), m = [], v = 0;
|
|
5906
5906
|
return function(A, P, E) {
|
|
5907
5907
|
if (a && (r = 0), l && (r = (E - 1) / 2), c && (r = E - 1), !m.length) {
|
|
5908
5908
|
for (var I = 0; I < E; I++) {
|
|
@@ -6094,7 +6094,7 @@ class Aw {
|
|
|
6094
6094
|
}
|
|
6095
6095
|
};
|
|
6096
6096
|
if (Fo(t))
|
|
6097
|
-
if (!
|
|
6097
|
+
if (!_s(t) && t.children.length === 0 && t.name, _s(t)) {
|
|
6098
6098
|
if (sl(t))
|
|
6099
6099
|
return {
|
|
6100
6100
|
opacity: (e = t.material.uniforms.opacity) == null ? void 0 : e.value,
|
|
@@ -6120,7 +6120,7 @@ class Aw {
|
|
|
6120
6120
|
* @private
|
|
6121
6121
|
*/
|
|
6122
6122
|
restoreSingleState(t, e) {
|
|
6123
|
-
t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : Fo(t) && (typeof e.visible == "boolean" && (t.visible = e.visible),
|
|
6123
|
+
t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : Fo(t) && (typeof e.visible == "boolean" && (t.visible = e.visible), _s(t) && (sl(t) ? (t.material.uniforms.opacity !== void 0 && (t.material.uniforms.opacity.value = e.opacity !== void 0 ? Number(e.opacity) : 1), e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material)) : ol(t) && (t.material.opacity = e.opacity !== void 0 ? Number(e.opacity) : 1, e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material))));
|
|
6124
6124
|
}
|
|
6125
6125
|
/**
|
|
6126
6126
|
* 清空所有状态
|
|
@@ -6129,21 +6129,21 @@ class Aw {
|
|
|
6129
6129
|
this.materialManager.clear(), this.performanceMonitor.clear();
|
|
6130
6130
|
}
|
|
6131
6131
|
}
|
|
6132
|
-
const kn = /* @__PURE__ */ new WeakMap(),
|
|
6132
|
+
const kn = /* @__PURE__ */ new WeakMap(), zn = new Aw();
|
|
6133
6133
|
function Fo(n) {
|
|
6134
6134
|
return "isObject3D" in n && n.isObject3D === !0;
|
|
6135
6135
|
}
|
|
6136
|
-
function
|
|
6136
|
+
function _s(n) {
|
|
6137
6137
|
return Fo(n) && "material" in n && n.material !== void 0;
|
|
6138
6138
|
}
|
|
6139
6139
|
function sl(n) {
|
|
6140
|
-
return
|
|
6140
|
+
return _s(n) && n.material instanceof Sl;
|
|
6141
6141
|
}
|
|
6142
6142
|
function ol(n) {
|
|
6143
|
-
return
|
|
6143
|
+
return _s(n) && !(n.material instanceof Sl);
|
|
6144
6144
|
}
|
|
6145
6145
|
function bw(n, t) {
|
|
6146
|
-
n instanceof HTMLElement ? n.style.opacity = String(t) : Fo(n) &&
|
|
6146
|
+
n instanceof HTMLElement ? n.style.opacity = String(t) : Fo(n) && _s(n) && (sl(n) ? (n.material.uniforms.opacity && (n.material.uniforms.opacity.value = t), n.material.transparent = !0) : ol(n) && (n.material.opacity = t, n.material.transparent = !0));
|
|
6147
6147
|
}
|
|
6148
6148
|
function rl() {
|
|
6149
6149
|
const n = ct({});
|
|
@@ -6153,14 +6153,14 @@ function rl() {
|
|
|
6153
6153
|
function u1(n) {
|
|
6154
6154
|
if (!n)
|
|
6155
6155
|
throw new Error("Invalid objects parameter: objects cannot be null or undefined");
|
|
6156
|
-
const t =
|
|
6156
|
+
const t = vs(n);
|
|
6157
6157
|
if (t.length === 0)
|
|
6158
6158
|
throw new Error("Invalid objects parameter: objects array cannot be empty");
|
|
6159
6159
|
if (t.some((e) => e == null))
|
|
6160
6160
|
throw new Error("Invalid objects parameter: objects array contains null or undefined values");
|
|
6161
6161
|
}
|
|
6162
6162
|
function f1(n, t) {
|
|
6163
|
-
const e =
|
|
6163
|
+
const e = vs(n), i = [];
|
|
6164
6164
|
return e.forEach((s) => {
|
|
6165
6165
|
s && (s instanceof HTMLElement ? i.push(s) : Fo(s) && (t ? (i.push(s), s.traverse((o) => {
|
|
6166
6166
|
o && i.push(o);
|
|
@@ -6168,7 +6168,7 @@ function f1(n, t) {
|
|
|
6168
6168
|
}), Array.from(new Set(i.filter(Boolean)));
|
|
6169
6169
|
}
|
|
6170
6170
|
function yw(n, t) {
|
|
6171
|
-
const e = /* @__PURE__ */ new Map(), i =
|
|
6171
|
+
const e = /* @__PURE__ */ new Map(), i = zn.getStateMap();
|
|
6172
6172
|
return n.forEach((s) => {
|
|
6173
6173
|
var r;
|
|
6174
6174
|
const o = i.get(s);
|
|
@@ -6188,7 +6188,7 @@ function yw(n, t) {
|
|
|
6188
6188
|
};
|
|
6189
6189
|
}
|
|
6190
6190
|
function ww(n, t) {
|
|
6191
|
-
const e = /* @__PURE__ */ new Map(), i =
|
|
6191
|
+
const e = /* @__PURE__ */ new Map(), i = zn.getStateMap();
|
|
6192
6192
|
return n.forEach((s) => {
|
|
6193
6193
|
var a, l;
|
|
6194
6194
|
const o = i.get(s), r = Number((l = (a = o == null ? void 0 : o.opacity) != null ? a : t == null ? void 0 : t.maxOpacity) != null ? l : 1);
|
|
@@ -6201,7 +6201,7 @@ function ww(n, t) {
|
|
|
6201
6201
|
if (!c)
|
|
6202
6202
|
return;
|
|
6203
6203
|
const h = c.maxOpacity * (o / 100);
|
|
6204
|
-
l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : Fo(l) && (
|
|
6204
|
+
l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : Fo(l) && (vs(n).includes(l) && (l.visible = !0), _s(l) && (sl(l) ? (l.material.uniforms.opacity && (l.material.uniforms.opacity.value = h), l.material.transparent = !0) : ol(l) && (l.material.opacity = h, l.material.transparent = !0)));
|
|
6205
6205
|
}), (r = t.onProgress) == null || r.call(t, o), (a = t.updateRender) == null || a.call(t);
|
|
6206
6206
|
};
|
|
6207
6207
|
}
|
|
@@ -6212,13 +6212,13 @@ function _l(n, t) {
|
|
|
6212
6212
|
const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = f1(n, s);
|
|
6213
6213
|
if (o.length === 0)
|
|
6214
6214
|
return Qr("No valid targets found"), rl();
|
|
6215
|
-
|
|
6215
|
+
zn.storeState(o);
|
|
6216
6216
|
const r = he(F(F({}, id), t), {
|
|
6217
6217
|
targets: o,
|
|
6218
6218
|
update: yw(o, t || {})
|
|
6219
6219
|
}), a = ct(r);
|
|
6220
6220
|
a.preComplete = () => {
|
|
6221
|
-
a.completed || (a.pause(),
|
|
6221
|
+
a.completed || (a.pause(), zn.restoreState(o), setTimeout(() => {
|
|
6222
6222
|
var c;
|
|
6223
6223
|
return (c = t == null ? void 0 : t.updateRender) == null ? void 0 : c.call(t);
|
|
6224
6224
|
}));
|
|
@@ -6226,7 +6226,7 @@ function _l(n, t) {
|
|
|
6226
6226
|
const l = kn.get(n);
|
|
6227
6227
|
return l == null || l.pause(), l == null || l.seek(0), kn.set(n, a), (i = t == null ? void 0 : t.onStart) == null || i.call(t), a.play(), a.finished.then(() => {
|
|
6228
6228
|
var c, h;
|
|
6229
|
-
|
|
6229
|
+
zn.restoreState(o), setTimeout(() => {
|
|
6230
6230
|
kn.get(n) === a && kn.delete(n);
|
|
6231
6231
|
}, 1e3), (c = t == null ? void 0 : t.onComplete) == null || c.call(t), (h = t == null ? void 0 : t.updateRender) == null || h.call(t), setTimeout(() => {
|
|
6232
6232
|
var d;
|
|
@@ -6247,13 +6247,13 @@ function g1(n, t) {
|
|
|
6247
6247
|
const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = f1(n, s);
|
|
6248
6248
|
if (o.length === 0)
|
|
6249
6249
|
return Qr("No valid targets found"), rl();
|
|
6250
|
-
|
|
6250
|
+
zn.storeState(o);
|
|
6251
6251
|
const r = he(F(F({}, id), t), {
|
|
6252
6252
|
targets: o,
|
|
6253
6253
|
update: ww(o, t || {})
|
|
6254
6254
|
}), a = ct(r);
|
|
6255
6255
|
a.preComplete = () => {
|
|
6256
|
-
a.completed || (a.pause(),
|
|
6256
|
+
a.completed || (a.pause(), zn.restoreState(o), setTimeout(() => {
|
|
6257
6257
|
var c;
|
|
6258
6258
|
return (c = t == null ? void 0 : t.updateRender) == null ? void 0 : c.call(t);
|
|
6259
6259
|
}));
|
|
@@ -6261,7 +6261,7 @@ function g1(n, t) {
|
|
|
6261
6261
|
const l = kn.get(n);
|
|
6262
6262
|
return l == null || l.pause(), l == null || l.seek(0), kn.set(n, a), (i = t == null ? void 0 : t.onStart) == null || i.call(t), a.play(), a.finished.then(() => {
|
|
6263
6263
|
var c, h;
|
|
6264
|
-
|
|
6264
|
+
zn.restoreState(o), setTimeout(() => {
|
|
6265
6265
|
kn.get(n) === a && kn.delete(n);
|
|
6266
6266
|
}, 1e3), (c = t == null ? void 0 : t.onComplete) == null || c.call(t), (h = t == null ? void 0 : t.updateRender) == null || h.call(t), setTimeout(() => {
|
|
6267
6267
|
var d;
|
|
@@ -6280,7 +6280,7 @@ function Pw(n, t, e) {
|
|
|
6280
6280
|
return _l(n, F(F({}, i), e));
|
|
6281
6281
|
}
|
|
6282
6282
|
function Cw() {
|
|
6283
|
-
|
|
6283
|
+
zn.clear();
|
|
6284
6284
|
}
|
|
6285
6285
|
function Iw(n, t) {
|
|
6286
6286
|
const e = Ei(n), { x: i, y: s } = t, o = i * 2 - 1, r = s * 2 - 1, a = new y.Raycaster();
|
|
@@ -6299,7 +6299,7 @@ function Ew(n, t) {
|
|
|
6299
6299
|
const Mw = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAADYCAYAAACJIC3tAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA2KADAAQAAAABAAAA2AAAAADs6jNqAABAAElEQVR4Aey9C7ClZ1Wu29253yAkJGBCQoAEdBOCbkSgkIMKKgSjIJvLPket2qVyDiLi8VLiPvFSp8ACEUuUAsXN3orgQQoBUVBBvLCFjbg1CiiICSEEwiUESELu6e4znn/OZ/a7Rn//XKuTbO1e7aj65jvGO94xvu///+9bc625Vjo7d/yb/WvegZ3/QpPv/Rea59+maXfgX+oBt2kPi/DO3tsDrb+zh+jO1h8WD/VAL/JAH+KB9j8c9AdyD7eq3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5fCzX6jrh0bEuLXNwWTeK5dDRa7N69aBmjWt2TvLppx6/653fnLXyifZK5P5ljTnrzBNj4iLa9zzoQc58R/WpgUudfud7rTrn5Fnm88w9R23GO88444xdV1555R/UO9UFlft0jc8iKju6xlfdeuutf3jMMcc8q3zX6h4D+0Ajl/qiV/X64GS5WLlELsyHAq8PejH6xDmOePzjH398Ha5HF39tjS/XuKLGNcU96eabb+adDL3vZvRhYNmTOG+0utTKqVVPf8w8aK7XT8J4sUZKfY+T775xn5Me5tLvnOtXY16UT8THUmOcnH7HqXhZby7r+7WgyYEWjRxxt3W57N+vnz7k7U9ML6zjro985CM/G4eLA2btzeVff/TRR3/Tgx70IA4b8zhcWyK5jPtclR5bXgAKC7u6NzfuizKe8PWvfz1fHY6p8fllQy7wihrX1FeOC7/85S+/tHx7+a2iPeAxcMRNyeULfTF7WbtgFzdWX4160AdmDsyeau0rwqfJi+TwGVwDZqwmsefUd6RX1pHHer2xuUlUL30t5tXbW76jefWjezXi6INZn769zFHP6Gsl748UWYPvfZny9WMJX9xvqcHhwuyJf3WNY9/97nf/p0Lq1o0+T8k3XAOxhnZlLn5FLJ0U6Sfi5xgu7pRTTnla6W6twTuYFwd+vMaX6gb8h2c84xknlU999q9wGFOrTk2uw7yIBlOjP5HxknnoXh/SLc2PPte5rl4t+pw360f3xzpRfce5PLxGDWNufnWg/Tt3R+p7L+bXek4eVIfG4T3icGE768eTywt5h+ITRWpyfKni20477bRnFI72r33nsMo23At0+xmN58zG5C2W67jfAn/4h3/4lPpB8pyq/WKNvDB87KYau/7mb/6GA5j19Cbuc1AH1y1584n6zks9XI7eM3P61onyzm9sXpzjzXfs/ajX7JVIbl1sruuSz/6j+dFiidarz/wkXurVyY1Qzag/evPWGs/pp/30rne961eXBacUsk4HNP4Xao+e+4IXvOCM8kd7cLQP5+am537mAk0YZxMnyQXo89VCHzTeefXVVz/nnve8548V9+Ea/PyF0ZcLwy6oj0o/V98jP7b8/OFRH/SG6FOXPnnmxdL3OuD1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mbajhee16YP9sFGgmOjdZw2Wb1zTYfryCOPfPzevXs/vnPnzvuU9sg9e/Zcce21177tpS996e+88IUv/HxxGD1G1jebsUjNnD/q17mcd+Qn12uJnRvc84IXvOD0Zz/72U87+eSTL9y1a9e5CG688cbfOOGEE36qXL4dRAfyDua7GGguObTZX7/oFY+/7Wyzm34oX3Bemz7YhwfMr9getOmr+T3vec+dn/70p1+zPFx/VAfsj+tgnXjEEUd8dR20h1e/s2vsvv322y+pbx1//8UvfvGfvupVr/pSzFPuhk3k5uqITjNnvBX0GrtWXjTPHMnt/e7v/u4TX/SiFz353ve+N4fq/Mrvquv9VOElNe7F9da793877rjjLq64HyYPloeO/gwPmtckX6mVmVsR28XJG7xdrsnryGvTB3Pk4YIn5oBNh+2000474qqrrvqt5eH6w9ps76jcjt27d9tvR2260+uwPbzwYZU6uUadvz2fuOGGGy659NJL3/PjP/7j733Xu951I3XN3FQi6Tm/lQ7D1ZqWWWOR3lyXtvexj33sCfXu+3XnnXfeI+pny6+pazi3Bl9Yrq5rvaSu828Kr6agrnFv5f5jja9bHrL/p2gPmcgcHrQ8WPgYecdELF/gtqV587fjxeW14Rvrg3nA9KcDdq973euIT33qU6+tjfXNtck4XH88ukkettJxsu5XeF5twvNKe04NNuvtxV923XXX/c+PfOQj73/Tm9700Ze85CWfKR7LjYXvGtmQ+uiwzOuL5j1AyU/F9bLz6U9/+t2e//znP/zcc899RH2r99X1LnX/4rnePXV9nyz858K/L/xEXBe9tJ1V88wKHlGH7NX1Tvafy/dA+c7lwRKp74N+2Td9ctvG+kPcNhdWF5LXhm+sD3qowNU488wzd9WHGb9dh+Vbiudgva0OifUVTr322xRuSgRVe2Rt1vvXhvTAnV00c2A3Vb9P33bbbZ/48pe//Imrr776sksuueSff/Znf/bSj370o7ctJNPrfnNELt3V2h7xiEcc+2M/9mMPuOCCCx5w6qmn3q8O0tn1DnyfGveugrsti26vtV1Z/qUc/vqC8LHyb3H9tfZ183LI+MDjEbfccst/OfbYY59fPofJ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okGYVGkXgczVFthnxiQpnyMOdowqzr/pW5Dq/QNfHWlQuKXNcZCzGhDFx6M/uceoFpc6uD6Ro5fhDQdBxyYamtX+S6Rv+uqS/XK1+ajLyl1//pc1Ar/ApdE9/04n70K99tSPecyfH7buRDWoihOaK3UDGP42fUemQttyOnQtcyl99rfogrjibMvPLJc9RY3Iejt1AxTO0mb1N/gmkDtZEcdt9Q9HUbTZ735cUkfcj3GLxC18Rl1ZiXkfozz8N9eIWuiVf+Ok0j8rb4juKzs7Gb+JAXaGiurldcGrrjWK618zbuZ1750lpGEZDjPryFHss8+7qHa5XvmrgbbV2bJGfDJzm5YlKt+Xqs4mgV9moaUs51jSGTg9+L+eDig+oH7uicnEoj1kLFZLRferefQ/ptxoTYfTfyIS/Bujl7fB0nPha1frkNa4qOD2Z96KBmHR9Uf/BN0ftinPSJ79iKed5keN60yUyscyKt+efYkO86PKOG09IYLjn43s41+NCBzTo+qPZw8D7aunH0xsmbHFYbOrlJdkxo3TpUcdc24Rqet6/8jiksUrxYJLR8j43lVd+LAdiH92nyvGje2HnNvp5tz5pUOa45113G+owst0PPOHSYsz7Gz7m6Z6X1jiXnzcLv3cBZLMbAJHvWqMrp0aochtGKkePYOvw5ln3106v5PYfa5ZzZ+mM3cbYLtZp473q18oZiQ/p917wqGPU1pK+LMY5We3Le42oF/utNnePCjlnD3tzevLzevYe/N0/9j8nN45m9f9+NnP3CdSzApms7tv2mhbBp+44lmV/K2E2c3wq92xn/X+v/vnje7T4O9v4PRqxOxnwQYu4AAAAASUVORK5CYII=";
|
|
6300
6300
|
function Ho(n) {
|
|
6301
6301
|
const t = [];
|
|
6302
|
-
return
|
|
6302
|
+
return vs(n).forEach((i) => {
|
|
6303
6303
|
i.traverse((s) => {
|
|
6304
6304
|
(s.isCSS3DObjectPlus || s.isCSS3DObject || s.isCSS3DSprite) && t.push(s);
|
|
6305
6305
|
});
|
|
@@ -6460,7 +6460,7 @@ class Xr {
|
|
|
6460
6460
|
wrapperStyle: {}
|
|
6461
6461
|
};
|
|
6462
6462
|
return Object.assign(z, i);
|
|
6463
|
-
})(), o = e.map(
|
|
6463
|
+
})(), o = e.map(We);
|
|
6464
6464
|
if ((o == null ? void 0 : o.length) < 4)
|
|
6465
6465
|
return console.error(`${Dr}: requires 4 point but params may have fewer`);
|
|
6466
6466
|
const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: h, pointerEvents: d, wrapperStyle: u } = s;
|
|
@@ -6635,9 +6635,9 @@ class Xr {
|
|
|
6635
6635
|
handleDisable() {
|
|
6636
6636
|
var t, e, i;
|
|
6637
6637
|
this.store.frontModeGroup.children.forEach((s) => {
|
|
6638
|
-
s instanceof
|
|
6638
|
+
s instanceof On && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
6639
6639
|
}), (t = this.store.behindModeGroup) == null || t.children.forEach((s) => {
|
|
6640
|
-
s instanceof
|
|
6640
|
+
s instanceof On && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
6641
6641
|
}), (e = this.getFrontCSS3DScene()) == null || e.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
|
|
6642
6642
|
}
|
|
6643
6643
|
handleDispose() {
|
|
@@ -6869,7 +6869,7 @@ const pc = Math.PI * 2;
|
|
|
6869
6869
|
function th(n) {
|
|
6870
6870
|
return (n % pc + pc) % pc;
|
|
6871
6871
|
}
|
|
6872
|
-
function
|
|
6872
|
+
function Bs(n) {
|
|
6873
6873
|
return {
|
|
6874
6874
|
longitude: th(-Math.atan2(n.x, -n.z)),
|
|
6875
6875
|
latitude: -Math.asin(n.y / 1)
|
|
@@ -6901,15 +6901,15 @@ function Nw(n, t, e) {
|
|
|
6901
6901
|
break;
|
|
6902
6902
|
u += 30;
|
|
6903
6903
|
}
|
|
6904
|
-
let m = (z = (I = g[2]) != null ? I : g[1]) != null ? z : 0, v = p(m), A = v.distanceTo(r), P =
|
|
6904
|
+
let m = (z = (I = g[2]) != null ? I : g[1]) != null ? z : 0, v = p(m), A = v.distanceTo(r), P = Bs(r.clone().sub(v).normalize());
|
|
6905
6905
|
if (e != null && e.minDistance && A < e.minDistance) {
|
|
6906
6906
|
A = e.minDistance;
|
|
6907
6907
|
const D = v.clone().sub(r).normalize();
|
|
6908
|
-
v = r.clone().add(D.multiplyScalar(A)), P =
|
|
6908
|
+
v = r.clone().add(D.multiplyScalar(A)), P = Bs(r.clone().sub(v).normalize());
|
|
6909
6909
|
}
|
|
6910
6910
|
if (e != null && e.minLatitude && P.latitude < e.minLatitude) {
|
|
6911
6911
|
const D = A * Math.cos(e.minLatitude), j = A * Math.sin(e.minLatitude), T = v.clone().sub(r);
|
|
6912
|
-
T.y = 0, T.normalize().multiplyScalar(D), v = r.clone().add(T).add(new y.Vector3(0, j, 0)), A = v.distanceTo(r), P =
|
|
6912
|
+
T.y = 0, T.normalize().multiplyScalar(D), v = r.clone().add(T).add(new y.Vector3(0, j, 0)), A = v.distanceTo(r), P = Bs(r.clone().sub(v).normalize());
|
|
6913
6913
|
}
|
|
6914
6914
|
if (n.state.mode === "Mapview")
|
|
6915
6915
|
return n.updateCamera(
|
|
@@ -6947,7 +6947,7 @@ function v1(n, t, e) {
|
|
|
6947
6947
|
break;
|
|
6948
6948
|
h += 30;
|
|
6949
6949
|
}
|
|
6950
|
-
const g = u((v = d[1]) != null ? v : 0), p =
|
|
6950
|
+
const g = u((v = d[1]) != null ? v : 0), p = Bs(t.clone().sub(g).normalize());
|
|
6951
6951
|
if (n.state.mode === "Mapview")
|
|
6952
6952
|
return n.updateCamera(
|
|
6953
6953
|
F({
|
|
@@ -7261,7 +7261,7 @@ class No {
|
|
|
7261
7261
|
function Gw(n) {
|
|
7262
7262
|
return n.model ? n.work ? n.model.loaded ? n.model.name !== n.work.getURL(n.work.model.file) ? { result: !1, msg: "five.model.name 与 five.work.model.file 不一致" } : { result: !0, msg: "" } : { result: !1, msg: "five.model 未加载完成" } : { result: !1, msg: "five 数据未加载" } : { result: !1, msg: "five.model 不存在" };
|
|
7263
7263
|
}
|
|
7264
|
-
const Vl = "//vr-image-4.realsee-cdn.cn", Fl = "//vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png", nd = "//vr-image-4.realsee-cdn.cn/release/web/arrow-white.5c2c79a5.png", sd = "//vr-image-4.realsee-cdn.cn/release/web/PanoSpatialTagPlugin__blur.png", od = "//vr-image-4.realsee-cdn.cn/release/web/test.09dee741.png", rd = "//vr-image-4.realsee-cdn.cn/release/web/dipan2.f38a21cc.FBX", ad = "//vr-image-4.realsee-cdn.cn/release/web/logo.7febb17f.png", ld = "//vr-public.realsee-cdn.cn/release/web/entryDoorMini/Anim_Door1.fbx",
|
|
7264
|
+
const Vl = "//vr-image-4.realsee-cdn.cn", Fl = "//vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png", nd = "//vr-image-4.realsee-cdn.cn/release/web/arrow-white.5c2c79a5.png", sd = "//vr-image-4.realsee-cdn.cn/release/web/PanoSpatialTagPlugin__blur.png", od = "//vr-image-4.realsee-cdn.cn/release/web/test.09dee741.png", rd = "//vr-image-4.realsee-cdn.cn/release/web/dipan2.f38a21cc.FBX", ad = "//vr-image-4.realsee-cdn.cn/release/web/logo.7febb17f.png", ld = "//vr-public.realsee-cdn.cn/release/web/entryDoorMini/Anim_Door1.fbx", ds = "//vr-image-4.realsee-cdn.cn/release/web/saas/missing-floorplan.e274c596.png", cd = "//vr-image-4.realsee-cdn.cn/release/web/v3/north-point-circle.96498e69.png", hd = "//vr-image-4.realsee-cdn.cn/release/web/enterDoor.831b8208.png", Ww = [
|
|
7265
7265
|
Fl,
|
|
7266
7266
|
nd,
|
|
7267
7267
|
sd,
|
|
@@ -7269,7 +7269,7 @@ const Vl = "//vr-image-4.realsee-cdn.cn", Fl = "//vr-image-4.realsee-cdn.cn/rele
|
|
|
7269
7269
|
rd,
|
|
7270
7270
|
ad,
|
|
7271
7271
|
ld,
|
|
7272
|
-
|
|
7272
|
+
ds,
|
|
7273
7273
|
cd,
|
|
7274
7274
|
hd
|
|
7275
7275
|
];
|
|
@@ -7603,7 +7603,7 @@ const bT = (n) => {
|
|
|
7603
7603
|
};
|
|
7604
7604
|
function se() {
|
|
7605
7605
|
}
|
|
7606
|
-
const
|
|
7606
|
+
const jn = (n) => n;
|
|
7607
7607
|
function ft(n, t) {
|
|
7608
7608
|
for (const e in t)
|
|
7609
7609
|
n[e] = t[e];
|
|
@@ -7634,7 +7634,7 @@ function ht(n, t) {
|
|
|
7634
7634
|
function n2(n) {
|
|
7635
7635
|
return Object.keys(n).length === 0;
|
|
7636
7636
|
}
|
|
7637
|
-
function
|
|
7637
|
+
function us(n, t, e, i) {
|
|
7638
7638
|
if (n) {
|
|
7639
7639
|
const s = w1(n, t, e, i);
|
|
7640
7640
|
return n[0](s);
|
|
@@ -7643,7 +7643,7 @@ function ds(n, t, e, i) {
|
|
|
7643
7643
|
function w1(n, t, e, i) {
|
|
7644
7644
|
return n[1] && i ? ft(e.ctx.slice(), n[1](i(t))) : e.ctx;
|
|
7645
7645
|
}
|
|
7646
|
-
function
|
|
7646
|
+
function fs(n, t, e, i) {
|
|
7647
7647
|
if (n[2] && i) {
|
|
7648
7648
|
const s = n[2](i(e));
|
|
7649
7649
|
if (t.dirty === void 0)
|
|
@@ -7658,13 +7658,13 @@ function us(n, t, e, i) {
|
|
|
7658
7658
|
}
|
|
7659
7659
|
return t.dirty;
|
|
7660
7660
|
}
|
|
7661
|
-
function
|
|
7661
|
+
function gs(n, t, e, i, s, o) {
|
|
7662
7662
|
if (s) {
|
|
7663
7663
|
const r = w1(t, e, i, o);
|
|
7664
7664
|
n.p(r, s);
|
|
7665
7665
|
}
|
|
7666
7666
|
}
|
|
7667
|
-
function
|
|
7667
|
+
function ps(n) {
|
|
7668
7668
|
if (n.ctx.length > 32) {
|
|
7669
7669
|
const t = [], e = n.ctx.length / 32;
|
|
7670
7670
|
for (let i = 0; i < e; i++)
|
|
@@ -7873,25 +7873,25 @@ let qr;
|
|
|
7873
7873
|
function xn(n) {
|
|
7874
7874
|
qr = n;
|
|
7875
7875
|
}
|
|
7876
|
-
function
|
|
7876
|
+
function As() {
|
|
7877
7877
|
if (!qr)
|
|
7878
7878
|
throw new Error("Function called outside component initialization");
|
|
7879
7879
|
return qr;
|
|
7880
7880
|
}
|
|
7881
7881
|
function k1(n) {
|
|
7882
|
-
|
|
7882
|
+
As().$$.before_update.push(n);
|
|
7883
7883
|
}
|
|
7884
7884
|
function Tt(n) {
|
|
7885
|
-
|
|
7885
|
+
As().$$.on_mount.push(n);
|
|
7886
7886
|
}
|
|
7887
7887
|
function vd(n) {
|
|
7888
|
-
|
|
7888
|
+
As().$$.after_update.push(n);
|
|
7889
7889
|
}
|
|
7890
7890
|
function $t(n) {
|
|
7891
|
-
|
|
7891
|
+
As().$$.on_destroy.push(n);
|
|
7892
7892
|
}
|
|
7893
|
-
function
|
|
7894
|
-
const n =
|
|
7893
|
+
function _n() {
|
|
7894
|
+
const n = As();
|
|
7895
7895
|
return (t, e, { cancelable: i = !1 } = {}) => {
|
|
7896
7896
|
const s = n.$$.callbacks[t];
|
|
7897
7897
|
if (s) {
|
|
@@ -7904,12 +7904,12 @@ function Rn() {
|
|
|
7904
7904
|
};
|
|
7905
7905
|
}
|
|
7906
7906
|
function ul(n, t) {
|
|
7907
|
-
return
|
|
7907
|
+
return As().$$.context.set(n, t), t;
|
|
7908
7908
|
}
|
|
7909
7909
|
function an(n) {
|
|
7910
|
-
return
|
|
7910
|
+
return As().$$.context.get(n);
|
|
7911
7911
|
}
|
|
7912
|
-
function
|
|
7912
|
+
function Rn(n, t) {
|
|
7913
7913
|
const e = n.$$.callbacks[t.type];
|
|
7914
7914
|
e && e.slice().forEach((i) => i.call(this, t));
|
|
7915
7915
|
}
|
|
@@ -7973,7 +7973,7 @@ function Ad() {
|
|
|
7973
7973
|
Pr = null;
|
|
7974
7974
|
})), Pr;
|
|
7975
7975
|
}
|
|
7976
|
-
function
|
|
7976
|
+
function Vs(n, t, e) {
|
|
7977
7977
|
n.dispatchEvent(M1(`${t ? "intro" : "outro"}${e}`));
|
|
7978
7978
|
}
|
|
7979
7979
|
const Xa = /* @__PURE__ */ new Set();
|
|
@@ -8003,20 +8003,20 @@ function Y(n, t, e, i) {
|
|
|
8003
8003
|
i && i();
|
|
8004
8004
|
}
|
|
8005
8005
|
const bd = { duration: 0 };
|
|
8006
|
-
function
|
|
8006
|
+
function bs(n, t, e) {
|
|
8007
8007
|
const i = { direction: "in" };
|
|
8008
8008
|
let s = t(n, e, i), o = !1, r, a, l = 0;
|
|
8009
8009
|
function c() {
|
|
8010
8010
|
r && dl(n, r);
|
|
8011
8011
|
}
|
|
8012
8012
|
function h() {
|
|
8013
|
-
const { delay: u = 0, duration: g = 300, easing: p =
|
|
8013
|
+
const { delay: u = 0, duration: g = 300, easing: p = jn, tick: m = se, css: v } = s || bd;
|
|
8014
8014
|
v && (r = hl(n, 0, 1, g, u, p, v, l++)), m(0, 1);
|
|
8015
8015
|
const A = ud() + u, P = A + g;
|
|
8016
|
-
a && a.abort(), o = !0, wt(() =>
|
|
8016
|
+
a && a.abort(), o = !0, wt(() => Vs(n, !0, "start")), a = gd((E) => {
|
|
8017
8017
|
if (o) {
|
|
8018
8018
|
if (E >= P)
|
|
8019
|
-
return m(1, 0),
|
|
8019
|
+
return m(1, 0), Vs(n, !0, "end"), c(), o = !1;
|
|
8020
8020
|
if (E >= A) {
|
|
8021
8021
|
const I = p((E - A) / g);
|
|
8022
8022
|
m(I, 1 - I);
|
|
@@ -8044,13 +8044,13 @@ function sr(n, t, e) {
|
|
|
8044
8044
|
const a = sn;
|
|
8045
8045
|
a.r += 1;
|
|
8046
8046
|
function l() {
|
|
8047
|
-
const { delay: c = 0, duration: h = 300, easing: d =
|
|
8047
|
+
const { delay: c = 0, duration: h = 300, easing: d = jn, tick: u = se, css: g } = s || bd;
|
|
8048
8048
|
g && (r = hl(n, 1, 0, h, c, d, g));
|
|
8049
8049
|
const p = ud() + c, m = p + h;
|
|
8050
|
-
wt(() =>
|
|
8050
|
+
wt(() => Vs(n, !1, "start")), gd((v) => {
|
|
8051
8051
|
if (o) {
|
|
8052
8052
|
if (v >= m)
|
|
8053
|
-
return u(0, 1),
|
|
8053
|
+
return u(0, 1), Vs(n, !1, "end"), --a.r || dt(a.c), !1;
|
|
8054
8054
|
if (v >= p) {
|
|
8055
8055
|
const A = d((v - p) / h);
|
|
8056
8056
|
u(1 - A, A);
|
|
@@ -8086,14 +8086,14 @@ function ji(n, t, e, i) {
|
|
|
8086
8086
|
};
|
|
8087
8087
|
}
|
|
8088
8088
|
function u(g) {
|
|
8089
|
-
const { delay: p = 0, duration: m = 300, easing: v =
|
|
8089
|
+
const { delay: p = 0, duration: m = 300, easing: v = jn, tick: A = se, css: P } = o || bd, E = {
|
|
8090
8090
|
start: ud() + p,
|
|
8091
8091
|
b: g
|
|
8092
8092
|
};
|
|
8093
|
-
g || (E.group = sn, sn.r += 1), a || l ? l = E : (P && (h(), c = hl(n, r, g, m, p, v, P)), g && A(0, 1), a = d(E, m), wt(() =>
|
|
8094
|
-
if (l && I > l.start && (a = d(l, m), l = null,
|
|
8093
|
+
g || (E.group = sn, sn.r += 1), a || l ? l = E : (P && (h(), c = hl(n, r, g, m, p, v, P)), g && A(0, 1), a = d(E, m), wt(() => Vs(n, g, "start")), gd((I) => {
|
|
8094
|
+
if (l && I > l.start && (a = d(l, m), l = null, Vs(n, a.b, "start"), P && (h(), c = hl(n, r, a.b, a.duration, 0, v, o.css))), a) {
|
|
8095
8095
|
if (I >= a.end)
|
|
8096
|
-
A(r = a.b, 1 - r),
|
|
8096
|
+
A(r = a.b, 1 - r), Vs(n, a.b, "end"), l || (a.b ? h() : --a.group.r || dt(a.group.c)), a = null;
|
|
8097
8097
|
else if (I >= a.start) {
|
|
8098
8098
|
const z = I - a.start;
|
|
8099
8099
|
r = a.a + a.d * v(z / a.duration), A(r, 1 - r);
|
|
@@ -8130,7 +8130,7 @@ function Uo(n, t) {
|
|
|
8130
8130
|
}) : t.block.d(1), c.c(), H(c, 1), c.m(t.mount(), t.anchor), h = !0), t.block = c, t.blocks && (t.blocks[o] = c), h && En();
|
|
8131
8131
|
}
|
|
8132
8132
|
if (i2(n)) {
|
|
8133
|
-
const s =
|
|
8133
|
+
const s = As();
|
|
8134
8134
|
if (n.then((o) => {
|
|
8135
8135
|
xn(s), i(t.then, 1, t.value, o), xn(null);
|
|
8136
8136
|
}, (o) => {
|
|
@@ -9109,7 +9109,7 @@ const wT = (n) => new U2(n), PT = {
|
|
|
9109
9109
|
name: "ModelRoomLabelPlugin",
|
|
9110
9110
|
version: 0
|
|
9111
9111
|
};
|
|
9112
|
-
var
|
|
9112
|
+
var Fs = /* @__PURE__ */ ((n) => (n[n.FLOOR = 1] = "FLOOR", n[n.CEILING = 2] = "CEILING", n[n.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", n))(Fs || {});
|
|
9113
9113
|
function Xs(n) {
|
|
9114
9114
|
return te(this, null, function* () {
|
|
9115
9115
|
try {
|
|
@@ -9126,7 +9126,7 @@ function Zr(n) {
|
|
|
9126
9126
|
const t = n - 1;
|
|
9127
9127
|
return t * t * t + 1;
|
|
9128
9128
|
}
|
|
9129
|
-
function Vt(n, { delay: t = 0, duration: e = 400, easing: i =
|
|
9129
|
+
function Vt(n, { delay: t = 0, duration: e = 400, easing: i = jn } = {}) {
|
|
9130
9130
|
const s = +getComputedStyle(n).opacity;
|
|
9131
9131
|
return {
|
|
9132
9132
|
delay: t,
|
|
@@ -10752,7 +10752,7 @@ class T3 extends Pe {
|
|
|
10752
10752
|
);
|
|
10753
10753
|
}
|
|
10754
10754
|
}
|
|
10755
|
-
function
|
|
10755
|
+
function rs(n, t = {}) {
|
|
10756
10756
|
let e = "";
|
|
10757
10757
|
const { needZ: i, needA: s } = t;
|
|
10758
10758
|
return (i ? n.slice().concat(n[0]) : n.slice()).forEach((r, a) => {
|
|
@@ -10816,7 +10816,7 @@ function R3(n, t, e) {
|
|
|
10816
10816
|
"path" in o && e(1, s = o.path);
|
|
10817
10817
|
}, n.$$.update = () => {
|
|
10818
10818
|
n.$$.dirty & /*path*/
|
|
10819
|
-
2 && e(0, i =
|
|
10819
|
+
2 && e(0, i = rs(s, { needZ: !0 }));
|
|
10820
10820
|
}, [i, s];
|
|
10821
10821
|
}
|
|
10822
10822
|
class _3 extends Pe {
|
|
@@ -10887,7 +10887,7 @@ function V3(n, t, e) {
|
|
|
10887
10887
|
"path" in a && e(3, s = a.path);
|
|
10888
10888
|
}, n.$$.update = () => {
|
|
10889
10889
|
n.$$.dirty & /*path*/
|
|
10890
|
-
8 && e(0, i =
|
|
10890
|
+
8 && e(0, i = rs(s, { needZ: !0 }));
|
|
10891
10891
|
}, [i, o, r, s];
|
|
10892
10892
|
}
|
|
10893
10893
|
class F3 extends Pe {
|
|
@@ -10953,7 +10953,7 @@ function N3(n, t, e) {
|
|
|
10953
10953
|
"path" in o && e(1, s = o.path);
|
|
10954
10954
|
}, n.$$.update = () => {
|
|
10955
10955
|
n.$$.dirty & /*path*/
|
|
10956
|
-
2 && e(0, i =
|
|
10956
|
+
2 && e(0, i = rs(s, { needZ: !0 }));
|
|
10957
10957
|
}, [i, s];
|
|
10958
10958
|
}
|
|
10959
10959
|
class G3 extends Pe {
|
|
@@ -10985,7 +10985,7 @@ function W3(n) {
|
|
|
10985
10985
|
}
|
|
10986
10986
|
function U3(n, t, e) {
|
|
10987
10987
|
let { dimension: i } = t;
|
|
10988
|
-
const s =
|
|
10988
|
+
const s = rs(
|
|
10989
10989
|
[
|
|
10990
10990
|
{
|
|
10991
10991
|
x: i.vertical[1].x,
|
|
@@ -11001,7 +11001,7 @@ function U3(n, t, e) {
|
|
|
11001
11001
|
}
|
|
11002
11002
|
],
|
|
11003
11003
|
{ needZ: !0 }
|
|
11004
|
-
), o =
|
|
11004
|
+
), o = rs(
|
|
11005
11005
|
[
|
|
11006
11006
|
{
|
|
11007
11007
|
x: i.vertical[0].x,
|
|
@@ -11017,7 +11017,7 @@ function U3(n, t, e) {
|
|
|
11017
11017
|
}
|
|
11018
11018
|
],
|
|
11019
11019
|
{ needZ: !0 }
|
|
11020
|
-
), r =
|
|
11020
|
+
), r = rs(
|
|
11021
11021
|
[
|
|
11022
11022
|
{
|
|
11023
11023
|
x: i.horizontal[0].x + 53,
|
|
@@ -11033,7 +11033,7 @@ function U3(n, t, e) {
|
|
|
11033
11033
|
}
|
|
11034
11034
|
],
|
|
11035
11035
|
{ needZ: !0 }
|
|
11036
|
-
), a =
|
|
11036
|
+
), a = rs(
|
|
11037
11037
|
[
|
|
11038
11038
|
{
|
|
11039
11039
|
x: i.horizontal[1].x - 53,
|
|
@@ -11411,7 +11411,7 @@ function iP(n, t, e) {
|
|
|
11411
11411
|
function d() {
|
|
11412
11412
|
c == null || c.set(void 0);
|
|
11413
11413
|
}
|
|
11414
|
-
const { bounding: u } = a, g =
|
|
11414
|
+
const { bounding: u } = a, g = rs(o.path, {
|
|
11415
11415
|
needZ: !0,
|
|
11416
11416
|
format: (p) => _1(p, u)
|
|
11417
11417
|
});
|
|
@@ -12624,12 +12624,12 @@ function vf(n) {
|
|
|
12624
12624
|
for (let l = 0; l < s.length; l += 1)
|
|
12625
12625
|
H(o[l]);
|
|
12626
12626
|
e || wt(() => {
|
|
12627
|
-
e =
|
|
12627
|
+
e = bs(t, Vt, {
|
|
12628
12628
|
duration: (
|
|
12629
12629
|
/*duration*/
|
|
12630
12630
|
n[0]
|
|
12631
12631
|
),
|
|
12632
|
-
easing:
|
|
12632
|
+
easing: jn
|
|
12633
12633
|
}), e.start();
|
|
12634
12634
|
}), i = !0;
|
|
12635
12635
|
}
|
|
@@ -13104,20 +13104,20 @@ function bf(n, t) {
|
|
|
13104
13104
|
const e = Math.max(...n.work.observers.map((i) => i.floorIndex));
|
|
13105
13105
|
return t > e ? n.model.bounding.max.y : Math.max(...n.work.observers.filter((i) => i.floorIndex === t).map((i) => i.standingPosition.y));
|
|
13106
13106
|
}
|
|
13107
|
-
function Md(n, t, e =
|
|
13107
|
+
function Md(n, t, e = Fs.BOUNDING_CENTER) {
|
|
13108
13108
|
const i = bf(n, t), s = bf(n, t + 1);
|
|
13109
|
-
return e ===
|
|
13109
|
+
return e === Fs.BOUNDING_CENTER ? (n.model.bounding.max.y + n.model.bounding.min.y) / 2 : e === Fs.CEILING ? s : i;
|
|
13110
13110
|
}
|
|
13111
13111
|
function kd(n, t, e, i) {
|
|
13112
13112
|
const s = Md(n, e, i == null ? void 0 : i.attachedTo), o = new y.Vector3(0, s, 0), r = new y.Vector3(1, s, 0), a = o.clone().project(n.camera), l = r.clone().project(n.camera);
|
|
13113
13113
|
return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
|
|
13114
13114
|
}
|
|
13115
|
-
let
|
|
13115
|
+
let ys = class {
|
|
13116
13116
|
constructor(t, e) {
|
|
13117
13117
|
/**
|
|
13118
13118
|
* @realsee/dnalogel 版本号
|
|
13119
13119
|
*/
|
|
13120
|
-
f(this, "VERSION", "3.72.5-alpha.
|
|
13120
|
+
f(this, "VERSION", "3.72.5-alpha.5");
|
|
13121
13121
|
f(this, "NAME");
|
|
13122
13122
|
f(this, "five");
|
|
13123
13123
|
f(this, "workUtil");
|
|
@@ -13146,18 +13146,18 @@ let bs = class {
|
|
|
13146
13146
|
}
|
|
13147
13147
|
onWorkCodeChange() {
|
|
13148
13148
|
}
|
|
13149
|
-
}, fn = class extends
|
|
13149
|
+
}, fn = class extends ys {
|
|
13150
13150
|
};
|
|
13151
13151
|
var gi = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(gi || {});
|
|
13152
13152
|
const H1 = 500, RP = 80;
|
|
13153
|
-
function
|
|
13153
|
+
function Hs(n, t, e = 4) {
|
|
13154
13154
|
return Math.abs(n - t) < Math.pow(10, -e);
|
|
13155
13155
|
}
|
|
13156
13156
|
function N1(n, t, e = 4) {
|
|
13157
13157
|
const i = Math.PI * 2, s = n % i, o = t % i, r = Math.min(s, o), a = Math.max(s, o);
|
|
13158
|
-
return
|
|
13158
|
+
return Hs(r, a, e) || Hs(r + i, a, e);
|
|
13159
13159
|
}
|
|
13160
|
-
Object.assign(window, { nearlyEqual:
|
|
13160
|
+
Object.assign(window, { nearlyEqual: Hs, nearlyEqualRad: N1 });
|
|
13161
13161
|
function _P(n) {
|
|
13162
13162
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
13163
13163
|
}
|
|
@@ -13185,14 +13185,14 @@ function xd(n, t) {
|
|
|
13185
13185
|
function BP(n, t) {
|
|
13186
13186
|
return Object.keys(n).every((e) => {
|
|
13187
13187
|
const i = t[e], s = n[e];
|
|
13188
|
-
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? N1(i, s, 2) : typeof i == "number" && typeof s == "number" ?
|
|
13188
|
+
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? N1(i, s, 2) : typeof i == "number" && typeof s == "number" ? Hs(i, s, 2) : yf(s) && yf(i) ? s.distanceTo(i) < 0.01 : i === s;
|
|
13189
13189
|
});
|
|
13190
13190
|
}
|
|
13191
13191
|
function VP(n, t) {
|
|
13192
13192
|
if (n.currentMode !== t.mode)
|
|
13193
13193
|
return !1;
|
|
13194
13194
|
const { latitude: e, longitude: i, fov: s, offset: o } = t, { latitude: r, longitude: a, offset: l } = n.getCurrentState(), c = n.camera.fov;
|
|
13195
|
-
return !(!
|
|
13195
|
+
return !(!Hs(e, r, 2) || !Hs(i, a, 2) || o !== void 0 && o.distanceTo(l) > 0.01 || !Hs(s, c, 2));
|
|
13196
13196
|
}
|
|
13197
13197
|
function G1(n, t, e = !0) {
|
|
13198
13198
|
return te(this, null, function* () {
|
|
@@ -13450,7 +13450,7 @@ let NP = class extends fn {
|
|
|
13450
13450
|
latitude: Math.PI / 2,
|
|
13451
13451
|
fov: RP / ((l = i == null ? void 0 : i.scale) != null ? l : 1)
|
|
13452
13452
|
}, this.defaultMissingFloorConfig = {
|
|
13453
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
13453
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
13454
13454
|
imageWidth: 200,
|
|
13455
13455
|
imageHeight: 120,
|
|
13456
13456
|
text: (h = (c = i.i18n) == null ? void 0 : c.call(i, "暂无平面图")) != null ? h : "暂无平面图",
|
|
@@ -13472,7 +13472,7 @@ let NP = class extends fn {
|
|
|
13472
13472
|
roomDimensionEnable: !0,
|
|
13473
13473
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
13474
13474
|
cameraImageUrl: ln,
|
|
13475
|
-
attachedTo:
|
|
13475
|
+
attachedTo: Fs.BOUNDING_CENTER,
|
|
13476
13476
|
getLabelElement: void 0,
|
|
13477
13477
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
13478
13478
|
i18n: (d) => d,
|
|
@@ -16456,7 +16456,7 @@ let QP = class extends fn {
|
|
|
16456
16456
|
longitude: 0,
|
|
16457
16457
|
latitude: Math.PI / 2
|
|
16458
16458
|
}, this.defaultMissingFloorConfig = {
|
|
16459
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
16459
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
16460
16460
|
imageWidth: 200,
|
|
16461
16461
|
imageHeight: 120,
|
|
16462
16462
|
text: (c = (l = i.i18n) == null ? void 0 : l.call(i, "暂无平面图")) != null ? c : "暂无平面图",
|
|
@@ -16477,7 +16477,7 @@ let QP = class extends fn {
|
|
|
16477
16477
|
roomNameOtherTypeEnable: !0,
|
|
16478
16478
|
roomDimensionEnable: !0,
|
|
16479
16479
|
cameraImageUrl: ln,
|
|
16480
|
-
attachedTo:
|
|
16480
|
+
attachedTo: Fs.BOUNDING_CENTER,
|
|
16481
16481
|
getLabelElement: void 0,
|
|
16482
16482
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
16483
16483
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
@@ -16706,7 +16706,7 @@ let XP = class extends fn {
|
|
|
16706
16706
|
}
|
|
16707
16707
|
});
|
|
16708
16708
|
i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.defaultMissingFloorConfig = {
|
|
16709
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
16709
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
16710
16710
|
imageWidth: 200,
|
|
16711
16711
|
imageHeight: 120,
|
|
16712
16712
|
text: (c = (l = i.i18n) == null ? void 0 : l.call(i, "暂无平面图")) != null ? c : "暂无平面图",
|
|
@@ -16728,7 +16728,7 @@ let XP = class extends fn {
|
|
|
16728
16728
|
roomNameOtherTypeEnable: !0,
|
|
16729
16729
|
roomDimensionEnable: !0,
|
|
16730
16730
|
cameraImageUrl: ln,
|
|
16731
|
-
attachedTo:
|
|
16731
|
+
attachedTo: Fs.BOUNDING_CENTER,
|
|
16732
16732
|
getLabelElement: void 0,
|
|
16733
16733
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
16734
16734
|
i18n: (h) => h,
|
|
@@ -17689,7 +17689,7 @@ let uC = class extends Pe {
|
|
|
17689
17689
|
hoverEnable: !1,
|
|
17690
17690
|
highlightEnable: !1,
|
|
17691
17691
|
cameraImageUrl: ln,
|
|
17692
|
-
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix,
|
|
17692
|
+
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix, ds)
|
|
17693
17693
|
}, o = F(F({}, s), i == null ? void 0 : i.configs);
|
|
17694
17694
|
this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
|
|
17695
17695
|
}
|
|
@@ -18640,7 +18640,7 @@ const RC = () => {
|
|
|
18640
18640
|
};
|
|
18641
18641
|
function _C(n, t, e) {
|
|
18642
18642
|
let i, s, o, { room: r } = t, { isHovered: a } = t, { roomNameEnable: l } = t, { roomAreaEnable: c } = t, { roomAreaSize: h } = t, { userConfigElement: d } = t, { adaptiveRoomLabelVisibleEnable: u } = t, { pxmm: g } = t, { left: p } = t, { top: m } = t, { createLabelInRoomChecker: v } = t;
|
|
18643
|
-
const A =
|
|
18643
|
+
const A = _n();
|
|
18644
18644
|
let P = 0, E = 0;
|
|
18645
18645
|
const I = () => A("mouseenter"), z = () => A("mouseleave"), D = (T) => {
|
|
18646
18646
|
e(8, P = T.detail);
|
|
@@ -19836,7 +19836,7 @@ let e5 = class extends fn {
|
|
|
19836
19836
|
this.updateState({ displayedFloorIndex: e }, !0), this.render();
|
|
19837
19837
|
});
|
|
19838
19838
|
this.five = e, this.defaultMissingFloorConfig = {
|
|
19839
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
19839
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
19840
19840
|
imageWidth: 200,
|
|
19841
19841
|
imageHeight: 120,
|
|
19842
19842
|
text: (a = (r = i == null ? void 0 : i.i18n) == null ? void 0 : r.call(i, "暂无平面图")) != null ? a : "暂无平面图",
|
|
@@ -19846,7 +19846,7 @@ let e5 = class extends fn {
|
|
|
19846
19846
|
hoverEnable: !1,
|
|
19847
19847
|
highlightEnable: !1,
|
|
19848
19848
|
cameraImageUrl: hP,
|
|
19849
|
-
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix,
|
|
19849
|
+
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
19850
19850
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i == null ? void 0 : i.missingFloorConfig),
|
|
19851
19851
|
clickEnable: !0,
|
|
19852
19852
|
roomLabelsEnable: !1,
|
|
@@ -20118,7 +20118,7 @@ function Sd(n, t) {
|
|
|
20118
20118
|
!e.length && t !== Pi ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
|
|
20119
20119
|
}
|
|
20120
20120
|
var mt = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
|
|
20121
|
-
function
|
|
20121
|
+
function Ts(n) {
|
|
20122
20122
|
var t = n.length, e = 0, i = Number.POSITIVE_INFINITY, s, o, r, a, l, c, h, d, u, g;
|
|
20123
20123
|
for (d = 0; d < t; ++d)
|
|
20124
20124
|
n[d] > e && (e = n[d]), n[d] < i && (i = n[d]);
|
|
@@ -20135,7 +20135,7 @@ function Ds(n) {
|
|
|
20135
20135
|
}
|
|
20136
20136
|
return [o, e, i];
|
|
20137
20137
|
}
|
|
20138
|
-
function
|
|
20138
|
+
function ws(n, t) {
|
|
20139
20139
|
switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = mt ? new Uint8Array(n) : n, this.m = !1, this.i = vl, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
|
|
20140
20140
|
case Dd:
|
|
20141
20141
|
this.b = 32768, this.c = new (mt ? Uint8Array : Array)(32768 + this.h + 258);
|
|
@@ -20148,7 +20148,7 @@ function ys(n, t) {
|
|
|
20148
20148
|
}
|
|
20149
20149
|
}
|
|
20150
20150
|
var Dd = 0, vl = 1, Nf = { t: Dd, s: vl };
|
|
20151
|
-
|
|
20151
|
+
ws.prototype.k = function() {
|
|
20152
20152
|
for (; !this.m; ) {
|
|
20153
20153
|
var n = Li(this, 3);
|
|
20154
20154
|
switch (n & 1 && (this.m = !0), n >>>= 1, n) {
|
|
@@ -20196,7 +20196,7 @@ ys.prototype.k = function() {
|
|
|
20196
20196
|
if (!mt)
|
|
20197
20197
|
for (D = u, u = g.length; D < u; ++D)
|
|
20198
20198
|
g[wc[D]] = 0;
|
|
20199
|
-
for (p =
|
|
20199
|
+
for (p = Ts(g), A = new (mt ? Uint8Array : Array)(h + d), D = 0, z = h + d; D < z; )
|
|
20200
20200
|
switch (P = Jr(this, p), P) {
|
|
20201
20201
|
case 16:
|
|
20202
20202
|
for (I = 3 + Li(this, 2); I--; )
|
|
@@ -20215,7 +20215,7 @@ ys.prototype.k = function() {
|
|
|
20215
20215
|
default:
|
|
20216
20216
|
E = A[D++] = P;
|
|
20217
20217
|
}
|
|
20218
|
-
m =
|
|
20218
|
+
m = Ts(mt ? A.subarray(0, h) : A.slice(0, h)), v = Ts(mt ? A.subarray(h) : A.slice(h)), this.j(m, v);
|
|
20219
20219
|
break;
|
|
20220
20220
|
default:
|
|
20221
20221
|
throw Error("unknown BTYPE: " + n);
|
|
@@ -20254,15 +20254,15 @@ var Gf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], wc
|
|
|
20254
20254
|
12289,
|
|
20255
20255
|
16385,
|
|
20256
20256
|
24577
|
|
20257
|
-
], X1 = mt ? new Uint16Array(Qf) : Qf, Xf = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], bl = mt ? new Uint8Array(Xf) : Xf, oh = new (mt ? Uint8Array : Array)(288),
|
|
20258
|
-
|
|
20259
|
-
for (Yf = oh.length;
|
|
20260
|
-
oh[
|
|
20261
|
-
var n5 =
|
|
20257
|
+
], X1 = mt ? new Uint16Array(Qf) : Qf, Xf = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], bl = mt ? new Uint8Array(Xf) : Xf, oh = new (mt ? Uint8Array : Array)(288), Ds, Yf;
|
|
20258
|
+
Ds = 0;
|
|
20259
|
+
for (Yf = oh.length; Ds < Yf; ++Ds)
|
|
20260
|
+
oh[Ds] = 143 >= Ds ? 8 : 255 >= Ds ? 9 : 279 >= Ds ? 7 : 8;
|
|
20261
|
+
var n5 = Ts(oh), rh = new (mt ? Uint8Array : Array)(30), Ya, qf;
|
|
20262
20262
|
Ya = 0;
|
|
20263
20263
|
for (qf = rh.length; Ya < qf; ++Ya)
|
|
20264
20264
|
rh[Ya] = 5;
|
|
20265
|
-
var s5 =
|
|
20265
|
+
var s5 = Ts(rh);
|
|
20266
20266
|
function Li(n, t) {
|
|
20267
20267
|
for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
|
|
20268
20268
|
if (o >= r)
|
|
@@ -20278,7 +20278,7 @@ function Jr(n, t) {
|
|
|
20278
20278
|
throw Error("invalid code length: " + h);
|
|
20279
20279
|
return n.f = e >> h, n.d = i - h, n.a = o, c & 65535;
|
|
20280
20280
|
}
|
|
20281
|
-
|
|
20281
|
+
ws.prototype.j = function(n, t) {
|
|
20282
20282
|
var e = this.c, i = this.b;
|
|
20283
20283
|
this.o = n;
|
|
20284
20284
|
for (var s = e.length - 258, o, r, a, l; (o = Jr(this, n)) !== 256; )
|
|
@@ -20291,7 +20291,7 @@ ys.prototype.j = function(n, t) {
|
|
|
20291
20291
|
this.d -= 8, this.a--;
|
|
20292
20292
|
this.b = i;
|
|
20293
20293
|
};
|
|
20294
|
-
|
|
20294
|
+
ws.prototype.w = function(n, t) {
|
|
20295
20295
|
var e = this.c, i = this.b;
|
|
20296
20296
|
this.o = n;
|
|
20297
20297
|
for (var s = e.length, o, r, a, l; (o = Jr(this, n)) !== 256; )
|
|
@@ -20304,7 +20304,7 @@ ys.prototype.w = function(n, t) {
|
|
|
20304
20304
|
this.d -= 8, this.a--;
|
|
20305
20305
|
this.b = i;
|
|
20306
20306
|
};
|
|
20307
|
-
|
|
20307
|
+
ws.prototype.e = function() {
|
|
20308
20308
|
var n = new (mt ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
|
|
20309
20309
|
if (mt)
|
|
20310
20310
|
n.set(s.subarray(32768, n.length));
|
|
@@ -20318,11 +20318,11 @@ ys.prototype.e = function() {
|
|
|
20318
20318
|
s[e] = s[t + e];
|
|
20319
20319
|
return this.b = 32768, s;
|
|
20320
20320
|
};
|
|
20321
|
-
|
|
20321
|
+
ws.prototype.z = function(n) {
|
|
20322
20322
|
var t, e = this.input.length / this.a + 1 | 0, i, s, o, r = this.input, a = this.c;
|
|
20323
20323
|
return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (r.length - this.a) / this.o[2], o = 258 * (i / 2) | 0, s = o < a.length ? a.length + o : a.length << 1) : s = a.length * e, mt ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
|
|
20324
20324
|
};
|
|
20325
|
-
|
|
20325
|
+
ws.prototype.n = function() {
|
|
20326
20326
|
var n = 0, t = this.c, e = this.g, i, s = new (mt ? Uint8Array : Array)(this.l + (this.b - 32768)), o, r, a, l;
|
|
20327
20327
|
if (e.length === 0)
|
|
20328
20328
|
return mt ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
|
|
@@ -20333,7 +20333,7 @@ ys.prototype.n = function() {
|
|
|
20333
20333
|
s[n++] = t[o];
|
|
20334
20334
|
return this.g = [], this.buffer = s;
|
|
20335
20335
|
};
|
|
20336
|
-
|
|
20336
|
+
ws.prototype.v = function() {
|
|
20337
20337
|
var n, t = this.b;
|
|
20338
20338
|
return mt ? this.r ? (n = new Uint8Array(t), n.set(this.c.subarray(0, t))) : n = this.c.subarray(0, t) : (this.c.length > t && (this.c.length = t), n = this.c), this.buffer = n;
|
|
20339
20339
|
};
|
|
@@ -20350,7 +20350,7 @@ function Td(n, t) {
|
|
|
20350
20350
|
throw Error("invalid fcheck flag:" + ((e << 8) + i) % 31);
|
|
20351
20351
|
if (i & 32)
|
|
20352
20352
|
throw Error("fdict flag is not supported");
|
|
20353
|
-
this.q = new
|
|
20353
|
+
this.q = new ws(n, { index: this.a, bufferSize: t.bufferSize, bufferType: t.bufferType, resize: t.resize });
|
|
20354
20354
|
}
|
|
20355
20355
|
Td.prototype.k = function() {
|
|
20356
20356
|
var n = this.input, t, e;
|
|
@@ -20441,7 +20441,7 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20441
20441
|
returns point for given u
|
|
20442
20442
|
*/
|
|
20443
20443
|
calcBSplinePoint: function(n, t, e, i) {
|
|
20444
|
-
for (var s = this.findSpan(n, i, t), o = this.calcBasisFunctions(s, i, n, t), r = new
|
|
20444
|
+
for (var s = this.findSpan(n, i, t), o = this.calcBasisFunctions(s, i, n, t), r = new Ls(0, 0, 0, 0), a = 0; a <= n; ++a) {
|
|
20445
20445
|
var l = e[s - n + a], c = o[a], h = l.w * c;
|
|
20446
20446
|
r.x += l.x * h, r.y += l.y * h, r.z += l.z * h, r.w += l.w * c;
|
|
20447
20447
|
}
|
|
@@ -20521,7 +20521,7 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20521
20521
|
r[g] = d;
|
|
20522
20522
|
}
|
|
20523
20523
|
for (var g = o + 1; g <= s + 1; ++g)
|
|
20524
|
-
r[g] = new
|
|
20524
|
+
r[g] = new Ls(0, 0, 0);
|
|
20525
20525
|
return r;
|
|
20526
20526
|
},
|
|
20527
20527
|
/*
|
|
@@ -20584,13 +20584,13 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20584
20584
|
*/
|
|
20585
20585
|
calcSurfacePoint: function(n, t, e, i, s, o, r, a) {
|
|
20586
20586
|
for (var l = this.findSpan(n, o, e), c = this.findSpan(t, r, i), h = this.calcBasisFunctions(l, o, n, e), d = this.calcBasisFunctions(c, r, t, i), u = [], g = 0; g <= t; ++g) {
|
|
20587
|
-
u[g] = new
|
|
20587
|
+
u[g] = new Ls(0, 0, 0, 0);
|
|
20588
20588
|
for (var p = 0; p <= n; ++p) {
|
|
20589
20589
|
var m = s[l - n + p][c - t + g].clone(), v = m.w;
|
|
20590
20590
|
m.x *= v, m.y *= v, m.z *= v, u[g].add(m.multiplyScalar(h[p]));
|
|
20591
20591
|
}
|
|
20592
20592
|
}
|
|
20593
|
-
for (var A = new
|
|
20593
|
+
for (var A = new Ls(0, 0, 0, 0), g = 0; g <= t; ++g)
|
|
20594
20594
|
A.add(u[g].multiplyScalar(d[g]));
|
|
20595
20595
|
A.divideScalar(A.w), a.set(A.x, A.y, A.z);
|
|
20596
20596
|
}
|
|
@@ -20598,7 +20598,7 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20598
20598
|
P0.call(this), this.degree = n, this.knots = t, this.controlPoints = [], this.startKnot = i || 0, this.endKnot = s || this.knots.length - 1;
|
|
20599
20599
|
for (var o = 0; o < e.length; ++o) {
|
|
20600
20600
|
var r = e[o];
|
|
20601
|
-
this.controlPoints[o] = new
|
|
20601
|
+
this.controlPoints[o] = new Ls(r.x, r.y, r.z, r.w);
|
|
20602
20602
|
}
|
|
20603
20603
|
};
|
|
20604
20604
|
Ys.prototype = Object.create(P0.prototype);
|
|
@@ -21406,7 +21406,7 @@ var q1 = function() {
|
|
|
21406
21406
|
if (isNaN(C))
|
|
21407
21407
|
return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new ka();
|
|
21408
21408
|
for (var M = C - 1, k = b.KnotVector.a, S = [], L = b.Points.a, N = 0, B = L.length; N < B; N += 4)
|
|
21409
|
-
S.push(new
|
|
21409
|
+
S.push(new Ls().fromArray(L, N));
|
|
21410
21410
|
var Z, ie;
|
|
21411
21411
|
if (b.Form === "Closed")
|
|
21412
21412
|
S.push(S[0]);
|
|
@@ -21558,8 +21558,8 @@ var q1 = function() {
|
|
|
21558
21558
|
}), new ob(b.name, -1, C);
|
|
21559
21559
|
},
|
|
21560
21560
|
generateTracks: function(b) {
|
|
21561
|
-
var C = [], M = new ve(), k = new
|
|
21562
|
-
if (b.transform && b.transform.decompose(M, k, S), M = M.toArray(), k = new
|
|
21561
|
+
var C = [], M = new ve(), k = new zs(), S = new ve();
|
|
21562
|
+
if (b.transform && b.transform.decompose(M, k, S), M = M.toArray(), k = new ns().setFromQuaternion(k, b.eulerOrder).toArray(), S = S.toArray(), b.T !== void 0 && Object.keys(b.T.curves).length > 0) {
|
|
21563
21563
|
var L = this.generateVectorTrack(b.modelName, b.T.curves, M, "position");
|
|
21564
21564
|
L !== void 0 && C.push(L);
|
|
21565
21565
|
}
|
|
@@ -21591,8 +21591,8 @@ var q1 = function() {
|
|
|
21591
21591
|
generateRotationTrack: function(b, C, M, k, S, L) {
|
|
21592
21592
|
C.x !== void 0 && (this.interpolateRotations(C.x), C.x.values = C.x.values.map(Ki.degToRad)), C.y !== void 0 && (this.interpolateRotations(C.y), C.y.values = C.y.values.map(Ki.degToRad)), C.z !== void 0 && (this.interpolateRotations(C.z), C.z.values = C.z.values.map(Ki.degToRad));
|
|
21593
21593
|
var N = this.getTimesForAllAxes(C), B = this.getKeyframeTrackValues(N, C, M);
|
|
21594
|
-
k !== void 0 && (k = k.map(Ki.degToRad), k.push(L), k = new
|
|
21595
|
-
for (var Z = new
|
|
21594
|
+
k !== void 0 && (k = k.map(Ki.degToRad), k.push(L), k = new ns().fromArray(k), k = new zs().setFromEuler(k)), S !== void 0 && (S = S.map(Ki.degToRad), S.push(L), S = new ns().fromArray(S), S = new zs().setFromEuler(S).inverse());
|
|
21595
|
+
for (var Z = new zs(), ie = new ns(), K = [], oe = 0; oe < B.length; oe += 3)
|
|
21596
21596
|
ie.set(B[oe], B[oe + 1], B[oe + 2], L), Z.setFromEuler(ie), k !== void 0 && Z.premultiply(k), S !== void 0 && Z.multiply(S), Z.toArray(K, oe / 3 * 4);
|
|
21597
21597
|
return new ab(b + ".quaternion", N, K);
|
|
21598
21598
|
},
|
|
@@ -22020,7 +22020,7 @@ var q1 = function() {
|
|
|
22020
22020
|
var L = S * k.dataSize, N = L + k.dataSize;
|
|
22021
22021
|
return T(m, k.buffer, L, N);
|
|
22022
22022
|
}
|
|
22023
|
-
var A = new
|
|
22023
|
+
var A = new ns(), P = new ve();
|
|
22024
22024
|
function E(b) {
|
|
22025
22025
|
var C = new ot(), M = new ot(), k = new ot(), S = new ot(), L = new ot(), N = new ot(), B = new ot(), Z = new ot(), ie = new ot(), K = new ot(), oe = new ot(), $ = b.inheritType ? b.inheritType : 0;
|
|
22026
22026
|
if (b.translation && C.setPosition(P.fromArray(b.translation)), b.preRotation) {
|
|
@@ -23144,7 +23144,7 @@ function k5() {
|
|
|
23144
23144
|
};
|
|
23145
23145
|
}
|
|
23146
23146
|
const x5 = new y.TextureLoader();
|
|
23147
|
-
function
|
|
23147
|
+
function Ns(n) {
|
|
23148
23148
|
return te(this, null, function* () {
|
|
23149
23149
|
return new Promise((t, e) => {
|
|
23150
23150
|
x5.load(n, t, void 0, e);
|
|
@@ -23153,7 +23153,7 @@ function Hs(n) {
|
|
|
23153
23153
|
}
|
|
23154
23154
|
function $1(n) {
|
|
23155
23155
|
return te(this, null, function* () {
|
|
23156
|
-
return
|
|
23156
|
+
return Ns(n).then((t) => {
|
|
23157
23157
|
const e = n.startsWith("data:") ? n.includes("png") : new URL(n, location.href).pathname.toLowerCase().endsWith(".png");
|
|
23158
23158
|
return { texture: t, transparent: e };
|
|
23159
23159
|
});
|
|
@@ -23369,7 +23369,7 @@ class S5 extends fn {
|
|
|
23369
23369
|
}
|
|
23370
23370
|
loadCompassMesh() {
|
|
23371
23371
|
return te(this, null, function* () {
|
|
23372
|
-
const e = this.state.config.compassImageUrl, i = yield
|
|
23372
|
+
const e = this.state.config.compassImageUrl, i = yield Ns(e), s = new y.CircleGeometry(0.7, 32), o = new y.MeshBasicMaterial({
|
|
23373
23373
|
map: i,
|
|
23374
23374
|
transparent: !0,
|
|
23375
23375
|
opacity: 0,
|
|
@@ -23382,7 +23382,7 @@ class S5 extends fn {
|
|
|
23382
23382
|
return te(this, null, function* () {
|
|
23383
23383
|
if (!this.state.config.logoURL)
|
|
23384
23384
|
return;
|
|
23385
|
-
const e = this.state.config.logoURL, i = yield
|
|
23385
|
+
const e = this.state.config.logoURL, i = yield Ns(e);
|
|
23386
23386
|
i.minFilter = y.NearestFilter, i.magFilter = y.NearestFilter;
|
|
23387
23387
|
const s = new y.PlaneBufferGeometry(0.4, 0.4), o = new y.MeshBasicMaterial({
|
|
23388
23388
|
map: i,
|
|
@@ -23395,7 +23395,7 @@ class S5 extends fn {
|
|
|
23395
23395
|
}
|
|
23396
23396
|
loadEntryDoorMesh() {
|
|
23397
23397
|
return te(this, null, function* () {
|
|
23398
|
-
const e = this.state.config.entryDoorImageUrl, i = yield
|
|
23398
|
+
const e = this.state.config.entryDoorImageUrl, i = yield Ns(e), s = new y.PlaneGeometry(0.2, 0.16), o = new y.MeshBasicMaterial({
|
|
23399
23399
|
map: i,
|
|
23400
23400
|
transparent: !0,
|
|
23401
23401
|
opacity: 0.8,
|
|
@@ -24538,7 +24538,7 @@ function v4(n, t) {
|
|
|
24538
24538
|
return n.x === t.x && n.y === t.y;
|
|
24539
24539
|
}
|
|
24540
24540
|
const hg = () => !1;
|
|
24541
|
-
class
|
|
24541
|
+
class os extends Ul {
|
|
24542
24542
|
constructor(e) {
|
|
24543
24543
|
super(e);
|
|
24544
24544
|
f(this, "type", "edit");
|
|
@@ -26268,7 +26268,7 @@ function q4(n, t, e) {
|
|
|
26268
26268
|
v === "Edit" ? e(5, u = !0) : (a(null), e(5, u = !1));
|
|
26269
26269
|
}
|
|
26270
26270
|
function c() {
|
|
26271
|
-
i.controller instanceof
|
|
26271
|
+
i.controller instanceof os && i.controller.complete(), i.save({ mode: "Watch" });
|
|
26272
26272
|
}
|
|
26273
26273
|
function h(v) {
|
|
26274
26274
|
e(3, r = v.length > 0);
|
|
@@ -26915,9 +26915,9 @@ function aI(n, t, e) {
|
|
|
26915
26915
|
const u = () => {
|
|
26916
26916
|
i.getCurrentMode() !== "Edit" ? i.changeMode("Edit") : (m("add"), g());
|
|
26917
26917
|
}, g = () => {
|
|
26918
|
-
i.controller instanceof
|
|
26918
|
+
i.controller instanceof os && i.controller.selectPoint();
|
|
26919
26919
|
}, p = () => {
|
|
26920
|
-
i.controller instanceof
|
|
26920
|
+
i.controller instanceof os && i.controller.complete();
|
|
26921
26921
|
}, m = (b) => {
|
|
26922
26922
|
e(3, h = b);
|
|
26923
26923
|
}, v = () => {
|
|
@@ -27298,7 +27298,7 @@ class AI {
|
|
|
27298
27298
|
function Js(n) {
|
|
27299
27299
|
return typeof n == "object" ? n === null ? {} : n : {};
|
|
27300
27300
|
}
|
|
27301
|
-
class bI extends
|
|
27301
|
+
class bI extends ys {
|
|
27302
27302
|
constructor(e, i) {
|
|
27303
27303
|
var r, a, l, c, h, d, u, g, p, m, v, A;
|
|
27304
27304
|
super(e);
|
|
@@ -27329,7 +27329,7 @@ class bI extends bs {
|
|
|
27329
27329
|
var e, i, s, o;
|
|
27330
27330
|
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (i = this.useUIController) == null || i.hide(), (s = this.useGuideController) == null || s.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
27331
27331
|
});
|
|
27332
|
-
f(this, "getCurrentMode", () => this.controller instanceof
|
|
27332
|
+
f(this, "getCurrentMode", () => this.controller instanceof os ? "Edit" : this.controller instanceof gg ? "Watch" : this.controller instanceof Ir ? "Mixed" : this.controller instanceof dg ? "View" : null);
|
|
27333
27333
|
/** 变更场景
|
|
27334
27334
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
27335
27335
|
*/
|
|
@@ -27341,7 +27341,7 @@ class bI extends bs {
|
|
|
27341
27341
|
const i = {
|
|
27342
27342
|
View: dg,
|
|
27343
27343
|
Watch: gg,
|
|
27344
|
-
Edit:
|
|
27344
|
+
Edit: os,
|
|
27345
27345
|
Mixed: Ir
|
|
27346
27346
|
};
|
|
27347
27347
|
if (!i[e])
|
|
@@ -27420,7 +27420,7 @@ class bI extends bs {
|
|
|
27420
27420
|
}
|
|
27421
27421
|
/** 撤销编辑 */
|
|
27422
27422
|
revoke() {
|
|
27423
|
-
this.controller instanceof
|
|
27423
|
+
this.controller instanceof os && this.controller.revoke();
|
|
27424
27424
|
}
|
|
27425
27425
|
removePolyline(e) {
|
|
27426
27426
|
this.model.removePolyline(e);
|
|
@@ -27454,10 +27454,10 @@ class bI extends bs {
|
|
|
27454
27454
|
*/
|
|
27455
27455
|
save(e) {
|
|
27456
27456
|
var o;
|
|
27457
|
-
if (!(this.controller instanceof
|
|
27457
|
+
if (!(this.controller instanceof os) && !(this.controller instanceof Ir))
|
|
27458
27458
|
return this;
|
|
27459
27459
|
const i = (o = e == null ? void 0 : e.mode) != null ? o : "View", s = this.controller.model.areas;
|
|
27460
|
-
return this.controller instanceof
|
|
27460
|
+
return this.controller instanceof os ? this.controller.complete() : s.forEach((r) => {
|
|
27461
27461
|
r.showArea(), this.model.addArea(r);
|
|
27462
27462
|
}), this.changeMode(i), this;
|
|
27463
27463
|
}
|
|
@@ -27544,7 +27544,7 @@ class hn extends Ai {
|
|
|
27544
27544
|
f(this, "_onHidden", () => {
|
|
27545
27545
|
this.dom && (this.dom.container.style.display = "none");
|
|
27546
27546
|
});
|
|
27547
|
-
const d = e != null ? e : {}, { point: i } = d, s =
|
|
27547
|
+
const d = e != null ? e : {}, { point: i } = d, s = Kn(d, ["point"]);
|
|
27548
27548
|
this.paramsStyle = s != null ? s : {};
|
|
27549
27549
|
const o = new y.BufferGeometry();
|
|
27550
27550
|
o.setAttribute("position", new y.Float32BufferAttribute([0, 0, 0], 3));
|
|
@@ -27565,7 +27565,7 @@ class hn extends Ai {
|
|
|
27565
27565
|
depthTest: !1,
|
|
27566
27566
|
opacity: a.opacity * 0.5
|
|
27567
27567
|
})), c = new y.Points(o, a), h = new y.Points(o, l);
|
|
27568
|
-
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), e != null && e.point && this.position.copy(
|
|
27568
|
+
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), e != null && e.point && this.position.copy(We(e.point)), e && this.setStyle(e), this.addEventListener("removed", () => {
|
|
27569
27569
|
Kt.cacheObject.delete(this), Kt.checkDom(this);
|
|
27570
27570
|
}), this.addEventListener("added", () => {
|
|
27571
27571
|
Kt.cacheObject.add(this);
|
|
@@ -27655,7 +27655,7 @@ class ta extends ki {
|
|
|
27655
27655
|
}
|
|
27656
27656
|
setPoints(e) {
|
|
27657
27657
|
super.setPoints(e);
|
|
27658
|
-
const i = e.map(
|
|
27658
|
+
const i = e.map(We).filter(Ne);
|
|
27659
27659
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
|
|
27660
27660
|
var r, a, l;
|
|
27661
27661
|
const o = new hn(he(F({}, this.style), {
|
|
@@ -27807,7 +27807,7 @@ class rr extends ql {
|
|
|
27807
27807
|
}
|
|
27808
27808
|
setPoints(e, i) {
|
|
27809
27809
|
var o, r;
|
|
27810
|
-
const s = e.map(
|
|
27810
|
+
const s = e.map(We);
|
|
27811
27811
|
this.points = s, this.geometry = (r = lv(this.points, { checkLinesIntersect: (o = i == null ? void 0 : i.checkLinesIntersect) != null ? o : !0 })) != null ? r : Rd, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
|
|
27812
27812
|
}
|
|
27813
27813
|
/**
|
|
@@ -31104,7 +31104,7 @@ function OE(n) {
|
|
|
31104
31104
|
return n > -t && n <= t ? "left" : n > t * 3 || n <= -t * 3 ? "right" : n > -t * 3 && n <= -t ? "forward" : n > t && n <= t * 3 ? "back" : "";
|
|
31105
31105
|
}
|
|
31106
31106
|
const jE = { userAction: !0 };
|
|
31107
|
-
class RE extends
|
|
31107
|
+
class RE extends ys {
|
|
31108
31108
|
constructor(e) {
|
|
31109
31109
|
super(e);
|
|
31110
31110
|
f(this, "state", { enabled: !0, visible: !0 });
|
|
@@ -31191,7 +31191,7 @@ class RE extends bs {
|
|
|
31191
31191
|
z.left = N, z.top = B, z.inSight = Z && S < Math.PI / 2, z.cameraToward = LE(this.five), Z ? l.push({ disFromCameraToLabel: C, left: N, top: B, index: D }) : z.transform = "translate(-50%, -50%)";
|
|
31192
31192
|
} else
|
|
31193
31193
|
z.inSight = !1;
|
|
31194
|
-
const O = z, { svelteApp: j } = O, T =
|
|
31194
|
+
const O = z, { svelteApp: j } = O, T = Kn(O, ["svelteApp"]);
|
|
31195
31195
|
(b = z.svelteApp) == null || b.$set({ props: T });
|
|
31196
31196
|
}), l.length > 1) {
|
|
31197
31197
|
let z = 0;
|
|
@@ -31228,9 +31228,9 @@ class RE extends bs {
|
|
|
31228
31228
|
if (r !== void 0 && o !== void 0) {
|
|
31229
31229
|
const l = {};
|
|
31230
31230
|
if (a > 0) {
|
|
31231
|
-
const h = new ve(0, 0, -1), d = r.clone(), u = new
|
|
31231
|
+
const h = new ve(0, 0, -1), d = r.clone(), u = new zs();
|
|
31232
31232
|
u.setFromUnitVectors(h, d);
|
|
31233
|
-
const g = new
|
|
31233
|
+
const g = new ns();
|
|
31234
31234
|
g.setFromQuaternion(u, "YXZ"), l.longitude = g.y;
|
|
31235
31235
|
}
|
|
31236
31236
|
this.five.emit("wantsToMoveToPano", o, {}, !0) || this.five.moveToPano(o, { longitude: l.longitude });
|
|
@@ -31258,7 +31258,7 @@ class RE extends bs {
|
|
|
31258
31258
|
m < c && (c = m, h = p);
|
|
31259
31259
|
}), h && (l.y = h.y + 0.01);
|
|
31260
31260
|
const d = new ve(l.x, l.y, l.z);
|
|
31261
|
-
d.add(new ve(-0.2, 1.8, 0).applyEuler(new
|
|
31261
|
+
d.add(new ve(-0.2, 1.8, 0).applyEuler(new ns(0, r.rad, 0))), this.doorLabels.push({
|
|
31262
31262
|
roomName: r.name,
|
|
31263
31263
|
name: r.name,
|
|
31264
31264
|
position: d,
|
|
@@ -31360,23 +31360,23 @@ Zl.normal = function(t, e) {
|
|
|
31360
31360
|
Zl.direction = function(t, e, i) {
|
|
31361
31361
|
return YE(t, e, i), Dv(t, t), t;
|
|
31362
31362
|
};
|
|
31363
|
-
var Pn = Zl,
|
|
31363
|
+
var Pn = Zl, Ss = [0, 0], Ha = [0, 0], tp = [0, 0], Mr = [0, 0], ZE = function(n, t) {
|
|
31364
31364
|
var e = null, i = [];
|
|
31365
31365
|
t && (n = n.slice(), n.push(n[0]));
|
|
31366
31366
|
for (var s = n.length, o = 1; o < s; o++) {
|
|
31367
31367
|
var r = n[o - 1], a = n[o], l = o < n.length - 1 ? n[o + 1] : null;
|
|
31368
|
-
if (Pn.direction(
|
|
31369
|
-
Pn.normal(e,
|
|
31368
|
+
if (Pn.direction(Ss, a, r), e || (e = [0, 0], Pn.normal(e, Ss)), o === 1 && kc(i, e, 1), !l)
|
|
31369
|
+
Pn.normal(e, Ss), kc(i, e, 1);
|
|
31370
31370
|
else {
|
|
31371
31371
|
Pn.direction(Ha, l, a);
|
|
31372
|
-
var c = Pn.computeMiter(tp, Mr,
|
|
31372
|
+
var c = Pn.computeMiter(tp, Mr, Ss, Ha, 1);
|
|
31373
31373
|
kc(i, Mr, c);
|
|
31374
31374
|
}
|
|
31375
31375
|
}
|
|
31376
31376
|
if (n.length > 2 && t) {
|
|
31377
31377
|
var h = n[s - 2], d = n[0], u = n[1];
|
|
31378
|
-
Pn.direction(
|
|
31379
|
-
var g = Pn.computeMiter(tp, Mr,
|
|
31378
|
+
Pn.direction(Ss, d, h), Pn.direction(Ha, u, d), Pn.normal(e, Ss);
|
|
31379
|
+
var g = Pn.computeMiter(tp, Mr, Ss, Ha, 1);
|
|
31380
31380
|
i[0][0] = Mr.slice(), i[s - 1][0] = Mr.slice(), i[0][1] = g, i[s - 1][1] = g, i.pop();
|
|
31381
31381
|
}
|
|
31382
31382
|
return i;
|
|
@@ -31537,7 +31537,7 @@ const gt = (n) => n;
|
|
|
31537
31537
|
function Lv(n) {
|
|
31538
31538
|
if (!n || n.length < 3)
|
|
31539
31539
|
return;
|
|
31540
|
-
const t = n.map(
|
|
31540
|
+
const t = n.map(We), e = t[1].clone().sub(t[0]), i = t[2].clone().sub(t[1]);
|
|
31541
31541
|
return e.cross(i);
|
|
31542
31542
|
}
|
|
31543
31543
|
function r8(n) {
|
|
@@ -31546,7 +31546,7 @@ function r8(n) {
|
|
|
31546
31546
|
function a8(n) {
|
|
31547
31547
|
return n.stickType === "3DPoint";
|
|
31548
31548
|
}
|
|
31549
|
-
function
|
|
31549
|
+
function Gs(n) {
|
|
31550
31550
|
return n.stickType === "Model" && n.contentType === "MediaModel";
|
|
31551
31551
|
}
|
|
31552
31552
|
function l8(n) {
|
|
@@ -31557,9 +31557,9 @@ function ip(n) {
|
|
|
31557
31557
|
}
|
|
31558
31558
|
function bh(n) {
|
|
31559
31559
|
const t = (() => {
|
|
31560
|
-
if (
|
|
31560
|
+
if (Gs(n) && n.matrix) {
|
|
31561
31561
|
const e = new ot().fromArray(n.matrix);
|
|
31562
|
-
return n.data.mediaPosition.map((i) =>
|
|
31562
|
+
return n.data.mediaPosition.map((i) => We(i).clone().applyMatrix4(e));
|
|
31563
31563
|
} else
|
|
31564
31564
|
return n.position;
|
|
31565
31565
|
})();
|
|
@@ -32335,7 +32335,7 @@ function El(n) {
|
|
|
32335
32335
|
const t = (i = n.initialState) != null ? i : {};
|
|
32336
32336
|
return typeof n.unfoldedConfig == "object" && (n.unfoldedConfig.keep === "unfolded" ? t.unfolded = !0 : n.unfoldedConfig.keep === "folded" && (t.unfolded = !1)), typeof n.visibleConfig == "object" && (n.visibleConfig.keep === "visible" ? t.visible = !0 : n.visibleConfig.keep === "hidden" && (t.visible = !1)), n.initialState = t, n;
|
|
32337
32337
|
}
|
|
32338
|
-
class M8 extends
|
|
32338
|
+
class M8 extends ys {
|
|
32339
32339
|
constructor(e) {
|
|
32340
32340
|
super(e);
|
|
32341
32341
|
f(this, "tags", []);
|
|
@@ -32465,10 +32465,10 @@ class M8 extends bs {
|
|
|
32465
32465
|
getPositions(e) {
|
|
32466
32466
|
if (r8(e))
|
|
32467
32467
|
return e.position;
|
|
32468
|
-
if (
|
|
32468
|
+
if (Gs(e))
|
|
32469
32469
|
return e.data.mediaPosition;
|
|
32470
32470
|
if (a8(e))
|
|
32471
|
-
return c8(this.five.camera.position,
|
|
32471
|
+
return c8(this.five.camera.position, We(e.position), We(e.normal));
|
|
32472
32472
|
}
|
|
32473
32473
|
addObjectClickHandler(e, i, s) {
|
|
32474
32474
|
if (!i || !this.domEvents)
|
|
@@ -32530,7 +32530,7 @@ class M8 extends bs {
|
|
|
32530
32530
|
const l = (P = e.initialConfig) != null ? P : {}, c = it({}, Rv, this.config.globalConfig, ...Object.values(o)), h = it({}, c, l), d = {}, u = Object.values(Gt.Mode);
|
|
32531
32531
|
Il(r).forEach(([E, I]) => {
|
|
32532
32532
|
u.forEach((z) => {
|
|
32533
|
-
(E === "PanoramaLike" &&
|
|
32533
|
+
(E === "PanoramaLike" && ls(z) || E === "ModelLike" && Ci(z)) && (d[z] = it({}, c, ...Object.values(I), l, { _isMerged: !0 }));
|
|
32534
32534
|
});
|
|
32535
32535
|
}), Il(a).forEach(([E, I]) => {
|
|
32536
32536
|
const z = d[E];
|
|
@@ -32678,7 +32678,7 @@ function Sc(n, t, e) {
|
|
|
32678
32678
|
const a = (A = n.initialConfig) != null ? A : {}, l = it({}, Rv, t.globalConfig, ...Object.values(s)), c = it({}, l, a), h = {}, d = Object.values(Gt.Mode);
|
|
32679
32679
|
Il(o).forEach(([P, E]) => {
|
|
32680
32680
|
d.forEach((I) => {
|
|
32681
|
-
(P === "PanoramaLike" &&
|
|
32681
|
+
(P === "PanoramaLike" && ls(I) || P === "ModelLike" && Ci(I)) && (h[I] = it({}, l, ...Object.values(E), a, { _isMerged: !0 }));
|
|
32682
32682
|
});
|
|
32683
32683
|
}), Il(r).forEach(([P, E]) => {
|
|
32684
32684
|
const I = h[P];
|
|
@@ -32701,7 +32701,7 @@ function S8(n, t) {
|
|
|
32701
32701
|
e.forEach((o) => {
|
|
32702
32702
|
var a, l, c;
|
|
32703
32703
|
const r = (l = (a = o.floorIndex) != null ? a : o.floor_index) != null ? l : 0;
|
|
32704
|
-
i[r] || (i[r] = []), i[r].push(
|
|
32704
|
+
i[r] || (i[r] = []), i[r].push(Dn(o.position, (c = n.options) == null ? void 0 : c.transform).y);
|
|
32705
32705
|
});
|
|
32706
32706
|
const s = i.map((o) => o.reduce((r, a) => r + a, 0) / o.length);
|
|
32707
32707
|
for (let o = s.length - 1; o > 0; o--)
|
|
@@ -32795,7 +32795,7 @@ class Hd {
|
|
|
32795
32795
|
return;
|
|
32796
32796
|
const P = t.workUtil.transform;
|
|
32797
32797
|
let E = A;
|
|
32798
|
-
if (Array.isArray(A) && A.length === 4 ? E = A.map(
|
|
32798
|
+
if (Array.isArray(A) && A.length === 4 ? E = A.map(We).map((I) => Dn(I, P).toArray()) : E = Dn(We(A), P).toArray(), (e.stickType === "2DPoint" || e.stickType === "3DPoint") && e.normal && this.normalLineLength) {
|
|
32799
32799
|
const I = new y.Vector3().fromArray(e.normal);
|
|
32800
32800
|
E = new y.Vector3().fromArray(E).clone().add(I.clone().setLength(this.normalLineLength)).toArray();
|
|
32801
32801
|
}
|
|
@@ -32860,7 +32860,7 @@ class Hd {
|
|
|
32860
32860
|
mode: "Panorama",
|
|
32861
32861
|
workCode: this.workUtil.workCode,
|
|
32862
32862
|
panoIndex: o
|
|
32863
|
-
},
|
|
32863
|
+
}, Bs(a))), yield this.five.ready();
|
|
32864
32864
|
} else
|
|
32865
32865
|
i === "Mapview" && (yield v1(this.five, this.centerPosition, t == null ? void 0 : t.pointConfig));
|
|
32866
32866
|
return this;
|
|
@@ -33004,7 +33004,7 @@ class Hd {
|
|
|
33004
33004
|
this.cache.clear();
|
|
33005
33005
|
}
|
|
33006
33006
|
updateVisible() {
|
|
33007
|
-
this.enabled ? (this.state.visible = this.getVisible(), this.applyVisible()) : this.applyVisible(), this._updating = !1;
|
|
33007
|
+
this.enabled ? (this.state.visible = this.getVisible(), this.applyVisible()) : this.applyVisible(), this.five.needsRender = !0, this._updating = !1;
|
|
33008
33008
|
}
|
|
33009
33009
|
updateZIndex() {
|
|
33010
33010
|
const t = this.getSquaredDistance();
|
|
@@ -33025,7 +33025,7 @@ class Hd {
|
|
|
33025
33025
|
getSquaredDistance() {
|
|
33026
33026
|
const t = this.five.camera.position;
|
|
33027
33027
|
let e;
|
|
33028
|
-
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position,
|
|
33028
|
+
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, Jn(e[0] - t.x, 2) + Jn(e[1] - t.y, 2) + Jn(e[2] - t.z, 2);
|
|
33029
33029
|
}
|
|
33030
33030
|
getVisible(t) {
|
|
33031
33031
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
@@ -33084,7 +33084,7 @@ class Hd {
|
|
|
33084
33084
|
if (i[0].type === "Image")
|
|
33085
33085
|
return op(i[0].url) === "gif" ? "Dom" : "Mesh";
|
|
33086
33086
|
}
|
|
33087
|
-
} else if (
|
|
33087
|
+
} else if (Gs(this))
|
|
33088
33088
|
return i.length === 1 && i[0].type === "Image" ? op(i[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
33089
33089
|
}
|
|
33090
33090
|
})();
|
|
@@ -33110,11 +33110,11 @@ class Hd {
|
|
|
33110
33110
|
if ((p == null ? void 0 : p.value) === !1)
|
|
33111
33111
|
return p;
|
|
33112
33112
|
if (l.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (s === "Floorplan" || s === "Mapview")) {
|
|
33113
|
-
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v =
|
|
33113
|
+
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = Kn(h, ["value"]);
|
|
33114
33114
|
if (m === !1)
|
|
33115
33115
|
return F({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
|
|
33116
33116
|
}
|
|
33117
|
-
if (
|
|
33117
|
+
if (ls(s) && l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && i !== void 0) {
|
|
33118
33118
|
if (o.push("visiblePanoIndex"), Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(i))
|
|
33119
33119
|
return {
|
|
33120
33120
|
value: !1,
|
|
@@ -33174,7 +33174,7 @@ class Hd {
|
|
|
33174
33174
|
if (o === "ModelLike")
|
|
33175
33175
|
return Ci(e);
|
|
33176
33176
|
if (o === "PanoramaLike")
|
|
33177
|
-
return !
|
|
33177
|
+
return !ls(e);
|
|
33178
33178
|
if (o === "all")
|
|
33179
33179
|
return !0;
|
|
33180
33180
|
if (typeof o == "string")
|
|
@@ -33200,10 +33200,10 @@ class Hd {
|
|
|
33200
33200
|
/** 通过射线检测标签可用性 */
|
|
33201
33201
|
computeVisibleByIntersect(t) {
|
|
33202
33202
|
var l, c, h, d;
|
|
33203
|
-
const e = Js(Js((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s =
|
|
33203
|
+
const e = Js(Js((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s = ls(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(i) : this.five.camera.position;
|
|
33204
33204
|
if (s === void 0)
|
|
33205
33205
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: i } };
|
|
33206
|
-
const o =
|
|
33206
|
+
const o = vs(
|
|
33207
33207
|
(() => {
|
|
33208
33208
|
var g;
|
|
33209
33209
|
const u = (g = e.checkPoints) != null ? g : "center";
|
|
@@ -33214,16 +33214,16 @@ class Hd {
|
|
|
33214
33214
|
for (const u of o) {
|
|
33215
33215
|
const g = new y.Vector3().subVectors(u, s).normalize();
|
|
33216
33216
|
let p;
|
|
33217
|
-
|
|
33218
|
-
const [m] = this.fiveUtil.model.intersectRaycaster(
|
|
33217
|
+
Tn.set(s, g);
|
|
33218
|
+
const [m] = this.fiveUtil.model.intersectRaycaster(Tn);
|
|
33219
33219
|
p = m == null ? void 0 : m.distance;
|
|
33220
33220
|
const v = (() => {
|
|
33221
|
-
if (!
|
|
33221
|
+
if (!Gs(this))
|
|
33222
33222
|
return;
|
|
33223
|
-
const z = this.plugin.tags.filter(
|
|
33223
|
+
const z = this.plugin.tags.filter(Gs).map((j) => {
|
|
33224
33224
|
var T;
|
|
33225
33225
|
return (T = j.model) == null ? void 0 : T.object;
|
|
33226
|
-
}).filter(Ne), [D] =
|
|
33226
|
+
}).filter(Ne), [D] = Tn.intersectObjects(z, !0);
|
|
33227
33227
|
return D;
|
|
33228
33228
|
})(), A = s.distanceTo(u), P = (c = e.distanceAccuracy) != null ? c : 0.01;
|
|
33229
33229
|
p = Math.min(p != null ? p : 1 / 0, (h = v == null ? void 0 : v.distance) != null ? h : 1 / 0), p + P >= A ? r++ : a++;
|
|
@@ -33443,14 +33443,14 @@ class D8 extends Hd {
|
|
|
33443
33443
|
i.contentType === "Audio" && (this.iconPixelGap = 34 / 2 + 2), this.initialTagLine();
|
|
33444
33444
|
}
|
|
33445
33445
|
initialTagLine() {
|
|
33446
|
-
var
|
|
33446
|
+
var r, a, l;
|
|
33447
33447
|
const e = this.config;
|
|
33448
|
-
if (!((
|
|
33448
|
+
if (!this.five.renderer || !((r = e == null ? void 0 : e.tagNormalLineConfig) != null && r.enabled) || !this.normalLineLength)
|
|
33449
33449
|
return;
|
|
33450
|
-
const i = this.five.renderer.getSize(Dc), s = this.five.renderer.getPixelRatio();
|
|
33451
|
-
this.tagNormalLine = new I0(new y.Vector3().fromArray(this.position),
|
|
33450
|
+
const i = this.five.renderer.getSize(Dc), s = this.five.renderer.getPixelRatio(), o = Dn(We(this.originPosition), this.plugin.workUtil.transform);
|
|
33451
|
+
this.tagNormalLine = new I0(new y.Vector3().fromArray(this.position), o), this.tagNormalLine.points.visible = !1, this.tagNormalLine.setMaterial({
|
|
33452
33452
|
color: new y.Vector3(1, 1, 1),
|
|
33453
|
-
linewidth: (
|
|
33453
|
+
linewidth: (l = (a = e == null ? void 0 : e.tagNormalLineConfig) == null ? void 0 : a.lineWidth) != null ? l : 1.2,
|
|
33454
33454
|
dashed: !1
|
|
33455
33455
|
}), this.tagNormalLine.line.material.transparent = !0, this.tagNormalLine.line.material.depthWrite = !1, this.tagNormalLine.line.material.depthTest = !0, this.tagNormalLine.line.material.dashed = !1, this.tagNormalLine.line.renderOrder = 2, this.tagNormalLine.setResolution(i.width * s, i.height * s), this.tagNormalLine.visible = !1, this.tagNormalLine.name = `tagNormalLine-${this.id}`, this.plugin.group.add(this.tagNormalLine);
|
|
33456
33456
|
}
|
|
@@ -33494,7 +33494,7 @@ class D8 extends Hd {
|
|
|
33494
33494
|
setPosition(e) {
|
|
33495
33495
|
this.originPosition = e, this.position = (() => {
|
|
33496
33496
|
const i = this.plugin.workUtil.transform;
|
|
33497
|
-
let s =
|
|
33497
|
+
let s = Dn(We(e), i).toArray();
|
|
33498
33498
|
if (this.normal && this.normalLineLength) {
|
|
33499
33499
|
const o = this.computeNormal();
|
|
33500
33500
|
s = new y.Vector3().fromArray(s).clone().add(o.clone().setLength(this.normalLineLength)).toArray();
|
|
@@ -33507,7 +33507,7 @@ class D8 extends Hd {
|
|
|
33507
33507
|
* 使用屏幕空间反投影方法,确保任意视角下都保持固定像素距离
|
|
33508
33508
|
*/
|
|
33509
33509
|
updateTagNormalLinePosition(e) {
|
|
33510
|
-
var
|
|
33510
|
+
var z, D, j, T, O, b, C;
|
|
33511
33511
|
if (!this.screenPosition || !this.tagNormalLine)
|
|
33512
33512
|
return;
|
|
33513
33513
|
const { force: i = !1 } = e != null ? e : {};
|
|
@@ -33517,32 +33517,33 @@ class D8 extends Hd {
|
|
|
33517
33517
|
}
|
|
33518
33518
|
const o = this._lastUpdateCache;
|
|
33519
33519
|
if (!(this.visible !== o.visible)) {
|
|
33520
|
-
const
|
|
33521
|
-
if (!
|
|
33520
|
+
const M = Math.abs(this.position[0] - o.position[0]) > 1e-3 || Math.abs(this.position[1] - o.position[1]) > 1e-3 || Math.abs(this.position[2] - o.position[2]) > 1e-3, k = Math.abs(((z = this.screenPosition.leftPx) != null ? z : 0) - o.screenLeft) > 0.5 || Math.abs(((D = this.screenPosition.topPx) != null ? D : 0) - o.screenTop) > 0.5 || Math.abs(((j = this.screenPosition.scale) != null ? j : 1) - o.scale) > 2e-3;
|
|
33521
|
+
if (!M && !k)
|
|
33522
33522
|
return;
|
|
33523
33523
|
}
|
|
33524
|
-
o.position = new y.Vector3().fromArray(this.position).toArray(), o.screenLeft = (
|
|
33525
|
-
|
|
33526
|
-
this.
|
|
33524
|
+
if (o.position = new y.Vector3().fromArray(this.position).toArray(), o.screenLeft = (T = this.screenPosition.leftPx) != null ? T : 0, o.screenTop = (O = this.screenPosition.topPx) != null ? O : 0, o.scale = (b = this.screenPosition.scale) != null ? b : 1, o.visible = this.visible, !this.five.renderer)
|
|
33525
|
+
return;
|
|
33526
|
+
const a = this.five.renderer.getSize(Dc), l = Dn(We(this.originPosition), this.plugin.workUtil.transform).toArray();
|
|
33527
|
+
this._temp.lineStart.fromArray(l), this._temp.iconPos.fromArray(this.position), this._temp.lineStart.project(this.five.camera), this._temp.iconPos.project(this.five.camera), this._temp.screenDirPixel.set(
|
|
33527
33528
|
(this._temp.iconPos.x - this._temp.lineStart.x) * a.x / 2,
|
|
33528
33529
|
(this._temp.iconPos.y - this._temp.lineStart.y) * a.y / 2
|
|
33529
33530
|
);
|
|
33530
|
-
const
|
|
33531
|
+
const c = this._temp.screenDirPixel.length();
|
|
33531
33532
|
this._temp.screenDirPixel.normalize();
|
|
33532
|
-
const
|
|
33533
|
+
const h = this.iconPixelGap * ((C = this.screenPosition.scale) != null ? C : 1);
|
|
33533
33534
|
this._temp.targetNDC.set(
|
|
33534
|
-
(this._temp.iconPos.x * a.x / 2 - this._temp.screenDirPixel.x *
|
|
33535
|
-
(this._temp.iconPos.y * a.y / 2 - this._temp.screenDirPixel.y *
|
|
33535
|
+
(this._temp.iconPos.x * a.x / 2 - this._temp.screenDirPixel.x * h) / (a.x / 2),
|
|
33536
|
+
(this._temp.iconPos.y * a.y / 2 - this._temp.screenDirPixel.y * h) / (a.y / 2)
|
|
33536
33537
|
), this._temp.raycaster.setFromCamera(this._temp.targetNDC, this.five.camera);
|
|
33537
|
-
const
|
|
33538
|
-
this._temp.lineStart.fromArray(
|
|
33539
|
-
const
|
|
33540
|
-
let
|
|
33541
|
-
Math.abs(
|
|
33542
|
-
const
|
|
33543
|
-
if (this._temp.lineStart.distanceTo(this._temp.lineEnd) >
|
|
33544
|
-
const
|
|
33545
|
-
this._temp.lineEnd.copy(this._temp.lineStart).lerp(this._temp.iconPos,
|
|
33538
|
+
const d = this._temp.raycaster.ray;
|
|
33539
|
+
this._temp.lineStart.fromArray(l), this._temp.iconPos.fromArray(this.position), this._temp.lineDir.copy(this._temp.iconPos).sub(this._temp.lineStart).normalize(), this._temp.lineEnd.copy(d.origin).sub(this._temp.lineStart);
|
|
33540
|
+
const u = d.direction.dot(d.direction), g = d.direction.dot(this._temp.lineDir), p = this._temp.lineDir.dot(this._temp.lineDir), m = d.direction.dot(this._temp.lineEnd), v = this._temp.lineDir.dot(this._temp.lineEnd), A = u * p - g * g;
|
|
33541
|
+
let P = 0;
|
|
33542
|
+
Math.abs(A) > 1e-4 && (P = (g * v - p * m) / A), this._temp.lineEnd.copy(d.origin).add(d.direction.multiplyScalar(Math.max(0, P)));
|
|
33543
|
+
const E = this._temp.lineStart.distanceTo(this._temp.iconPos);
|
|
33544
|
+
if (this._temp.lineStart.distanceTo(this._temp.lineEnd) > E) {
|
|
33545
|
+
const M = Math.max(0, 1 - h / c);
|
|
33546
|
+
this._temp.lineEnd.copy(this._temp.lineStart).lerp(this._temp.iconPos, M);
|
|
33546
33547
|
}
|
|
33547
33548
|
this.tagNormalLine.setPoints(this._temp.lineStart, this._temp.lineEnd), this.tagNormalLine.visible = !0;
|
|
33548
33549
|
}
|
|
@@ -33608,7 +33609,7 @@ class D8 extends Hd {
|
|
|
33608
33609
|
}
|
|
33609
33610
|
}
|
|
33610
33611
|
const Vv = 1, rp = `CSS3DObject@${Vv}`, T8 = 216e-5, L8 = 3e-3;
|
|
33611
|
-
class Fv extends
|
|
33612
|
+
class Fv extends On {
|
|
33612
33613
|
constructor(e) {
|
|
33613
33614
|
var z, D, j, T, O;
|
|
33614
33615
|
if (vi(e.cornerPoints) && vi(e.width))
|
|
@@ -33830,7 +33831,7 @@ function lp(n) {
|
|
|
33830
33831
|
},
|
|
33831
33832
|
i(r) {
|
|
33832
33833
|
o || (r && wt(() => {
|
|
33833
|
-
o && (s && s.end(1), i =
|
|
33834
|
+
o && (s && s.end(1), i = bs(t, ml, {
|
|
33834
33835
|
duration: (
|
|
33835
33836
|
/*duration*/
|
|
33836
33837
|
n[2]
|
|
@@ -33839,7 +33840,7 @@ function lp(n) {
|
|
|
33839
33840
|
/*inDelay*/
|
|
33840
33841
|
n[0]
|
|
33841
33842
|
),
|
|
33842
|
-
easing:
|
|
33843
|
+
easing: jn
|
|
33843
33844
|
}), i.start());
|
|
33844
33845
|
}), o = !0);
|
|
33845
33846
|
},
|
|
@@ -33853,7 +33854,7 @@ function lp(n) {
|
|
|
33853
33854
|
/*outDelay*/
|
|
33854
33855
|
n[1]
|
|
33855
33856
|
),
|
|
33856
|
-
easing:
|
|
33857
|
+
easing: jn
|
|
33857
33858
|
})), o = !1;
|
|
33858
33859
|
},
|
|
33859
33860
|
d(r) {
|
|
@@ -34028,7 +34029,7 @@ function cp(n) {
|
|
|
34028
34029
|
},
|
|
34029
34030
|
i(r) {
|
|
34030
34031
|
o || (r && wt(() => {
|
|
34031
|
-
o && (s && s.end(1), i =
|
|
34032
|
+
o && (s && s.end(1), i = bs(t, Vt, { duration: (
|
|
34032
34033
|
/*inDelay*/
|
|
34033
34034
|
n[0]
|
|
34034
34035
|
) }), i.start());
|
|
@@ -34412,7 +34413,7 @@ function up(n) {
|
|
|
34412
34413
|
},
|
|
34413
34414
|
i(d) {
|
|
34414
34415
|
l || (H(e.$$.fragment, d), d && wt(() => {
|
|
34415
|
-
l && (a && a.end(1), r =
|
|
34416
|
+
l && (a && a.end(1), r = bs(s, Vt, {
|
|
34416
34417
|
duration: (
|
|
34417
34418
|
/*duration*/
|
|
34418
34419
|
n[2]
|
|
@@ -34476,7 +34477,7 @@ function q8(n) {
|
|
|
34476
34477
|
function Z8(n, t, e) {
|
|
34477
34478
|
let { direction: i = "right" } = t, { visible: s = !0 } = t, { duration: o = 0 } = t, { inDelay: r = 0 } = t, { outDelay: a = 0 } = t;
|
|
34478
34479
|
function l(c) {
|
|
34479
|
-
|
|
34480
|
+
Rn.call(this, n, c);
|
|
34480
34481
|
}
|
|
34481
34482
|
return n.$$set = (c) => {
|
|
34482
34483
|
"direction" in c && e(0, i = c.direction), "visible" in c && e(1, s = c.visible), "duration" in c && e(2, o = c.duration), "inDelay" in c && e(3, r = c.inDelay), "outDelay" in c && e(4, a = c.outDelay);
|
|
@@ -34900,7 +34901,7 @@ function aM(n) {
|
|
|
34900
34901
|
const e = (
|
|
34901
34902
|
/*#slots*/
|
|
34902
34903
|
n[6].default
|
|
34903
|
-
), i =
|
|
34904
|
+
), i = us(
|
|
34904
34905
|
e,
|
|
34905
34906
|
n,
|
|
34906
34907
|
/*$$scope*/
|
|
@@ -34916,19 +34917,19 @@ function aM(n) {
|
|
|
34916
34917
|
},
|
|
34917
34918
|
p(s, o) {
|
|
34918
34919
|
i && i.p && (!t || o & /*$$scope*/
|
|
34919
|
-
32) &&
|
|
34920
|
+
32) && gs(
|
|
34920
34921
|
i,
|
|
34921
34922
|
e,
|
|
34922
34923
|
s,
|
|
34923
34924
|
/*$$scope*/
|
|
34924
34925
|
s[5],
|
|
34925
|
-
t ?
|
|
34926
|
+
t ? fs(
|
|
34926
34927
|
e,
|
|
34927
34928
|
/*$$scope*/
|
|
34928
34929
|
s[5],
|
|
34929
34930
|
o,
|
|
34930
34931
|
null
|
|
34931
|
-
) :
|
|
34932
|
+
) : ps(
|
|
34932
34933
|
/*$$scope*/
|
|
34933
34934
|
s[5]
|
|
34934
34935
|
),
|
|
@@ -35458,7 +35459,7 @@ function yp(n) {
|
|
|
35458
35459
|
},
|
|
35459
35460
|
i(o) {
|
|
35460
35461
|
s || (o && wt(() => {
|
|
35461
|
-
s && (i && i.end(1), e =
|
|
35462
|
+
s && (i && i.end(1), e = bs(t, ml, {
|
|
35462
35463
|
duration: (
|
|
35463
35464
|
/*duration*/
|
|
35464
35465
|
n[1]
|
|
@@ -35592,7 +35593,7 @@ function MM(n) {
|
|
|
35592
35593
|
function kM(n, t, e) {
|
|
35593
35594
|
let { active: i = !1 } = t;
|
|
35594
35595
|
function s(o) {
|
|
35595
|
-
|
|
35596
|
+
Rn.call(this, n, o);
|
|
35596
35597
|
}
|
|
35597
35598
|
return n.$$set = (o) => {
|
|
35598
35599
|
"active" in o && e(0, i = o.active);
|
|
@@ -35710,7 +35711,7 @@ function DM(n) {
|
|
|
35710
35711
|
};
|
|
35711
35712
|
}
|
|
35712
35713
|
function TM(n, t, e) {
|
|
35713
|
-
const i =
|
|
35714
|
+
const i = _n();
|
|
35714
35715
|
let { pagesCount: s = 1 } = t, { currentPageIndex: o = 0 } = t;
|
|
35715
35716
|
function r(l) {
|
|
35716
35717
|
i("pageChange", l);
|
|
@@ -35725,7 +35726,7 @@ class LM extends Pe {
|
|
|
35725
35726
|
super(), we(this, t, TM, DM, ye, { pagesCount: 0, currentPageIndex: 1 }, SM);
|
|
35726
35727
|
}
|
|
35727
35728
|
}
|
|
35728
|
-
const er = "prev",
|
|
35729
|
+
const er = "prev", ms = "next";
|
|
35729
35730
|
function zM(n) {
|
|
35730
35731
|
De(n, "svelte-1bftafx", ":root{--sc-arrow-size:2px}.sc-carousel-arrow__circle.svelte-1bftafx{width:20px;height:20px;border-radius:50%;background-color:var(--sc-color-rgb-light-50p);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer;-webkit-tap-highlight-color:transparent}.sc-carousel-arrow__circle.svelte-1bftafx:hover{opacity:0.9}.sc-carousel-arrow__arrow.svelte-1bftafx{border:solid var(--sc-color-hex-dark);border-width:0 var(--sc-arrow-size) var(--sc-arrow-size) 0;padding:var(--sc-arrow-size);position:relative}.sc-carousel-arrow__arrow-next.svelte-1bftafx{transform:rotate(-45deg);left:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__arrow-prev.svelte-1bftafx{transform:rotate(135deg);right:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__circle_disabled.svelte-1bftafx,.sc-carousel-arrow__circle_disabled.svelte-1bftafx:hover{opacity:0.5}");
|
|
35731
35732
|
}
|
|
@@ -35737,7 +35738,7 @@ function OM(n) {
|
|
|
35737
35738
|
e,
|
|
35738
35739
|
"sc-carousel-arrow__arrow-next",
|
|
35739
35740
|
/*direction*/
|
|
35740
|
-
n[0] ===
|
|
35741
|
+
n[0] === ms
|
|
35741
35742
|
), Ce(
|
|
35742
35743
|
e,
|
|
35743
35744
|
"sc-carousel-arrow__arrow-prev",
|
|
@@ -35764,7 +35765,7 @@ function OM(n) {
|
|
|
35764
35765
|
e,
|
|
35765
35766
|
"sc-carousel-arrow__arrow-next",
|
|
35766
35767
|
/*direction*/
|
|
35767
|
-
o[0] ===
|
|
35768
|
+
o[0] === ms
|
|
35768
35769
|
), r & /*direction, PREV*/
|
|
35769
35770
|
1 && Ce(
|
|
35770
35771
|
e,
|
|
@@ -35787,9 +35788,9 @@ function OM(n) {
|
|
|
35787
35788
|
};
|
|
35788
35789
|
}
|
|
35789
35790
|
function jM(n, t, e) {
|
|
35790
|
-
let { direction: i =
|
|
35791
|
+
let { direction: i = ms } = t, { disabled: s = !1 } = t;
|
|
35791
35792
|
function o(r) {
|
|
35792
|
-
|
|
35793
|
+
Rn.call(this, n, r);
|
|
35793
35794
|
}
|
|
35794
35795
|
return n.$$set = (r) => {
|
|
35795
35796
|
"direction" in r && e(0, i = r.direction), "disabled" in r && e(1, s = r.disabled);
|
|
@@ -35904,7 +35905,7 @@ function YM(n, { thresholdProvider: t }) {
|
|
|
35904
35905
|
if (!a)
|
|
35905
35906
|
return;
|
|
35906
35907
|
const g = Tc(u), p = g.x - i, m = g.y - s;
|
|
35907
|
-
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: p, dy: m }), p !== 0 && Math.sign(p) !== Math.sign(o) && (o = 0), o += p, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? er :
|
|
35908
|
+
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: p, dy: m }), p !== 0 && Math.sign(p) !== Math.sign(o) && (o = 0), o += p, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? er : ms }), Ip(window, d), Ep(window, h));
|
|
35908
35909
|
}
|
|
35909
35910
|
function d(u) {
|
|
35910
35911
|
if (Ip(window, d), Ep(window, h), a = !1, !l()) {
|
|
@@ -36446,14 +36447,14 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36446
36447
|
return x;
|
|
36447
36448
|
}
|
|
36448
36449
|
function ee(x, G) {
|
|
36449
|
-
for (var J = -1, ce = G.length,
|
|
36450
|
-
x[
|
|
36450
|
+
for (var J = -1, ce = G.length, Ue = x.length; ++J < ce; )
|
|
36451
|
+
x[Ue + J] = G[J];
|
|
36451
36452
|
return x;
|
|
36452
36453
|
}
|
|
36453
36454
|
function Te(x, G, J, ce) {
|
|
36454
|
-
var
|
|
36455
|
-
for (ce && He && (J = x[++
|
|
36456
|
-
J = G(J, x[
|
|
36455
|
+
var Ue = -1, He = x ? x.length : 0;
|
|
36456
|
+
for (ce && He && (J = x[++Ue]); ++Ue < He; )
|
|
36457
|
+
J = G(J, x[Ue], Ue, x);
|
|
36457
36458
|
return J;
|
|
36458
36459
|
}
|
|
36459
36460
|
function Re(x, G) {
|
|
@@ -36475,8 +36476,8 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36475
36476
|
}
|
|
36476
36477
|
function me(x) {
|
|
36477
36478
|
var G = -1, J = Array(x.size);
|
|
36478
|
-
return x.forEach(function(ce,
|
|
36479
|
-
J[++G] = [
|
|
36479
|
+
return x.forEach(function(ce, Ue) {
|
|
36480
|
+
J[++G] = [Ue, ce];
|
|
36480
36481
|
}), J;
|
|
36481
36482
|
}
|
|
36482
36483
|
function Ie(x, G) {
|
|
@@ -36495,7 +36496,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36495
36496
|
return x ? "Symbol(src)_1." + x : "";
|
|
36496
36497
|
}(), rt = Ye.toString, at = st.hasOwnProperty, _t = st.toString, Qi = RegExp(
|
|
36497
36498
|
"^" + rt.call(at).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
36498
|
-
), Qt = Me ? ue.Buffer : void 0, hi = ue.Symbol, bi = ue.Uint8Array, lt = Ie(Object.getPrototypeOf, Object), Xt = Object.create, Yt = st.propertyIsEnumerable, lr = Xe.splice,
|
|
36499
|
+
), Qt = Me ? ue.Buffer : void 0, hi = ue.Symbol, bi = ue.Uint8Array, lt = Ie(Object.getPrototypeOf, Object), Xt = Object.create, Yt = st.propertyIsEnumerable, lr = Xe.splice, Ps = Object.getOwnPropertySymbols, Bn = Qt ? Qt.isBuffer : void 0, no = Ie(Object.keys, Object), Vn = U(ue, "DataView"), Si = U(ue, "Map"), yi = U(ue, "Promise"), Fn = U(ue, "Set"), Hn = U(ue, "WeakMap"), Xi = U(Object, "create"), gn = si(Vn), pn = si(Si), Cs = si(yi), Is = si(Fn), Nn = si(Hn), Yi = hi ? hi.prototype : void 0, so = Yi ? Yi.valueOf : void 0;
|
|
36499
36500
|
function _i(x) {
|
|
36500
36501
|
var G = -1, J = x ? x.length : 0;
|
|
36501
36502
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36503,7 +36504,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36503
36504
|
this.set(ce[0], ce[1]);
|
|
36504
36505
|
}
|
|
36505
36506
|
}
|
|
36506
|
-
function
|
|
36507
|
+
function Gn() {
|
|
36507
36508
|
this.__data__ = Xi ? Xi(null) : {};
|
|
36508
36509
|
}
|
|
36509
36510
|
function cr(x) {
|
|
@@ -36517,7 +36518,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36517
36518
|
}
|
|
36518
36519
|
return at.call(G, x) ? G[x] : void 0;
|
|
36519
36520
|
}
|
|
36520
|
-
function
|
|
36521
|
+
function Es(x) {
|
|
36521
36522
|
var G = this.__data__;
|
|
36522
36523
|
return Xi ? G[x] !== void 0 : at.call(G, x);
|
|
36523
36524
|
}
|
|
@@ -36525,7 +36526,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36525
36526
|
var J = this.__data__;
|
|
36526
36527
|
return J[x] = Xi && G === void 0 ? i : G, this;
|
|
36527
36528
|
}
|
|
36528
|
-
_i.prototype.clear =
|
|
36529
|
+
_i.prototype.clear = Gn, _i.prototype.delete = cr, _i.prototype.get = hr, _i.prototype.has = Es, _i.prototype.set = mn;
|
|
36529
36530
|
function Lt(x) {
|
|
36530
36531
|
var G = -1, J = x ? x.length : 0;
|
|
36531
36532
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36562,7 +36563,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36562
36563
|
this.set(ce[0], ce[1]);
|
|
36563
36564
|
}
|
|
36564
36565
|
}
|
|
36565
|
-
function
|
|
36566
|
+
function Ms() {
|
|
36566
36567
|
this.__data__ = {
|
|
36567
36568
|
hash: new _i(),
|
|
36568
36569
|
map: new (Si || Lt)(),
|
|
@@ -36578,10 +36579,10 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36578
36579
|
function An(x) {
|
|
36579
36580
|
return V(this, x).has(x);
|
|
36580
36581
|
}
|
|
36581
|
-
function
|
|
36582
|
+
function Wn(x, G) {
|
|
36582
36583
|
return V(this, x).set(x, G), this;
|
|
36583
36584
|
}
|
|
36584
|
-
zt.prototype.clear =
|
|
36585
|
+
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set = Wn;
|
|
36585
36586
|
function Bt(x) {
|
|
36586
36587
|
this.__data__ = new Lt(x);
|
|
36587
36588
|
}
|
|
@@ -36591,7 +36592,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36591
36592
|
function fr(x) {
|
|
36592
36593
|
return this.__data__.delete(x);
|
|
36593
36594
|
}
|
|
36594
|
-
function
|
|
36595
|
+
function Un(x) {
|
|
36595
36596
|
return this.__data__.get(x);
|
|
36596
36597
|
}
|
|
36597
36598
|
function qt(x) {
|
|
@@ -36607,11 +36608,11 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36607
36608
|
}
|
|
36608
36609
|
return J.set(x, G), this;
|
|
36609
36610
|
}
|
|
36610
|
-
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get =
|
|
36611
|
+
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get = Un, Bt.prototype.has = qt, Bt.prototype.set = qi;
|
|
36611
36612
|
function ei(x, G) {
|
|
36612
|
-
var J = vr(x) || fo(x) ? Re(x.length, String) : [], ce = J.length,
|
|
36613
|
+
var J = vr(x) || fo(x) ? Re(x.length, String) : [], ce = J.length, Ue = !!ce;
|
|
36613
36614
|
for (var He in x)
|
|
36614
|
-
(G || at.call(x, He)) && !(
|
|
36615
|
+
(G || at.call(x, He)) && !(Ue && (He == "length" || Pt(He, ce))) && J.push(He);
|
|
36615
36616
|
return J;
|
|
36616
36617
|
}
|
|
36617
36618
|
function di(x, G, J) {
|
|
@@ -36625,18 +36626,18 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36625
36626
|
return -1;
|
|
36626
36627
|
}
|
|
36627
36628
|
function It(x, G) {
|
|
36628
|
-
return x &&
|
|
36629
|
+
return x && qn(G, br(G), x);
|
|
36629
36630
|
}
|
|
36630
|
-
function ti(x, G, J, ce,
|
|
36631
|
+
function ti(x, G, J, ce, Ue, He, Ze) {
|
|
36631
36632
|
var et;
|
|
36632
|
-
if (ce && (et = He ? ce(x,
|
|
36633
|
+
if (ce && (et = He ? ce(x, Ue, He, Ze) : ce(x)), et !== void 0)
|
|
36633
36634
|
return et;
|
|
36634
36635
|
if (!Ji(x))
|
|
36635
36636
|
return x;
|
|
36636
36637
|
var xt = vr(x);
|
|
36637
36638
|
if (xt) {
|
|
36638
36639
|
if (et = be(x), !G)
|
|
36639
|
-
return
|
|
36640
|
+
return ks(x, et);
|
|
36640
36641
|
} else {
|
|
36641
36642
|
var nt = ne(x), Zt = nt == h || nt == d;
|
|
36642
36643
|
if (ya(x))
|
|
@@ -36669,7 +36670,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36669
36670
|
var ce = G(x);
|
|
36670
36671
|
return vr(x) ? ce : ee(ce, J(x));
|
|
36671
36672
|
}
|
|
36672
|
-
function
|
|
36673
|
+
function Qn(x) {
|
|
36673
36674
|
return _t.call(x);
|
|
36674
36675
|
}
|
|
36675
36676
|
function ii(x) {
|
|
@@ -36678,7 +36679,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36678
36679
|
var G = Ar(x) || Ve(x) ? Qi : Z;
|
|
36679
36680
|
return G.test(si(x));
|
|
36680
36681
|
}
|
|
36681
|
-
function
|
|
36682
|
+
function Xn(x) {
|
|
36682
36683
|
if (!ni(x))
|
|
36683
36684
|
return no(x);
|
|
36684
36685
|
var G = [];
|
|
@@ -36700,7 +36701,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36700
36701
|
var J = G ? bn(x.buffer) : x.buffer;
|
|
36701
36702
|
return new x.constructor(J, x.byteOffset, x.byteLength);
|
|
36702
36703
|
}
|
|
36703
|
-
function
|
|
36704
|
+
function Yn(x, G, J) {
|
|
36704
36705
|
var ce = G ? J(me(x), !0) : me(x);
|
|
36705
36706
|
return Te(ce, de, new x.constructor());
|
|
36706
36707
|
}
|
|
@@ -36719,22 +36720,22 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36719
36720
|
var J = G ? bn(x.buffer) : x.buffer;
|
|
36720
36721
|
return new x.constructor(J, x.byteOffset, x.length);
|
|
36721
36722
|
}
|
|
36722
|
-
function
|
|
36723
|
+
function ks(x, G) {
|
|
36723
36724
|
var J = -1, ce = x.length;
|
|
36724
36725
|
for (G || (G = Array(ce)); ++J < ce; )
|
|
36725
36726
|
G[J] = x[J];
|
|
36726
36727
|
return G;
|
|
36727
36728
|
}
|
|
36728
|
-
function
|
|
36729
|
+
function qn(x, G, J, ce) {
|
|
36729
36730
|
J || (J = {});
|
|
36730
|
-
for (var
|
|
36731
|
-
var Ze = G[
|
|
36731
|
+
for (var Ue = -1, He = G.length; ++Ue < He; ) {
|
|
36732
|
+
var Ze = G[Ue], et = ce ? ce(J[Ze], x[Ze], Ze, J, x) : void 0;
|
|
36732
36733
|
di(J, Ze, et === void 0 ? x[Ze] : et);
|
|
36733
36734
|
}
|
|
36734
36735
|
return J;
|
|
36735
36736
|
}
|
|
36736
36737
|
function pr(x, G) {
|
|
36737
|
-
return
|
|
36738
|
+
return qn(x, q(x), G);
|
|
36738
36739
|
}
|
|
36739
36740
|
function mr(x) {
|
|
36740
36741
|
return ho(x, br, q);
|
|
@@ -36747,8 +36748,8 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36747
36748
|
var J = Ae(x, G);
|
|
36748
36749
|
return ii(J) ? J : void 0;
|
|
36749
36750
|
}
|
|
36750
|
-
var q =
|
|
36751
|
-
(
|
|
36751
|
+
var q = Ps ? Ie(Ps, Object) : nc, ne = Qn;
|
|
36752
|
+
(Vn && ne(new Vn(new ArrayBuffer(1))) != D || Si && ne(new Si()) != u || yi && ne(yi.resolve()) != m || Fn && ne(new Fn()) != A || Hn && ne(new Hn()) != I) && (ne = function(x) {
|
|
36752
36753
|
var G = _t.call(x), J = G == p ? x.constructor : void 0, ce = J ? si(J) : void 0;
|
|
36753
36754
|
if (ce)
|
|
36754
36755
|
switch (ce) {
|
|
@@ -36756,11 +36757,11 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36756
36757
|
return D;
|
|
36757
36758
|
case pn:
|
|
36758
36759
|
return u;
|
|
36759
|
-
case Ps:
|
|
36760
|
-
return m;
|
|
36761
36760
|
case Cs:
|
|
36761
|
+
return m;
|
|
36762
|
+
case Is:
|
|
36762
36763
|
return A;
|
|
36763
|
-
case
|
|
36764
|
+
case Nn:
|
|
36764
36765
|
return I;
|
|
36765
36766
|
}
|
|
36766
36767
|
return G;
|
|
@@ -36773,13 +36774,13 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36773
36774
|
return typeof x.constructor == "function" && !ni(x) ? co(lt(x)) : {};
|
|
36774
36775
|
}
|
|
36775
36776
|
function Qe(x, G, J, ce) {
|
|
36776
|
-
var
|
|
36777
|
+
var Ue = x.constructor;
|
|
36777
36778
|
switch (G) {
|
|
36778
36779
|
case z:
|
|
36779
36780
|
return bn(x);
|
|
36780
36781
|
case a:
|
|
36781
36782
|
case l:
|
|
36782
|
-
return new
|
|
36783
|
+
return new Ue(+x);
|
|
36783
36784
|
case D:
|
|
36784
36785
|
return Vi(x, ce);
|
|
36785
36786
|
case j:
|
|
@@ -36793,10 +36794,10 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36793
36794
|
case L:
|
|
36794
36795
|
return uo(x, ce);
|
|
36795
36796
|
case u:
|
|
36796
|
-
return
|
|
36797
|
+
return Yn(x, ce, J);
|
|
36797
36798
|
case g:
|
|
36798
36799
|
case P:
|
|
36799
|
-
return new
|
|
36800
|
+
return new Ue(x);
|
|
36800
36801
|
case v:
|
|
36801
36802
|
return yn(x);
|
|
36802
36803
|
case A:
|
|
@@ -36848,7 +36849,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36848
36849
|
function ic(x) {
|
|
36849
36850
|
return Pa(x) && go(x);
|
|
36850
36851
|
}
|
|
36851
|
-
var ya =
|
|
36852
|
+
var ya = Bn || sc;
|
|
36852
36853
|
function Ar(x) {
|
|
36853
36854
|
var G = Ji(x) ? _t.call(x) : "";
|
|
36854
36855
|
return G == h || G == d;
|
|
@@ -36864,7 +36865,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36864
36865
|
return !!x && typeof x == "object";
|
|
36865
36866
|
}
|
|
36866
36867
|
function br(x) {
|
|
36867
|
-
return go(x) ? ei(x) :
|
|
36868
|
+
return go(x) ? ei(x) : Xn(x);
|
|
36868
36869
|
}
|
|
36869
36870
|
function nc() {
|
|
36870
36871
|
return [];
|
|
@@ -36893,15 +36894,15 @@ var kl = {}, gk = {
|
|
|
36893
36894
|
}
|
|
36894
36895
|
}(), Ve = Ae && Ae.isTypedArray;
|
|
36895
36896
|
function me(x, G) {
|
|
36896
|
-
for (var J = -1, ce = x == null ? 0 : x.length,
|
|
36897
|
+
for (var J = -1, ce = x == null ? 0 : x.length, Ue = 0, He = []; ++J < ce; ) {
|
|
36897
36898
|
var Ze = x[J];
|
|
36898
|
-
G(Ze, J, x) && (He[
|
|
36899
|
+
G(Ze, J, x) && (He[Ue++] = Ze);
|
|
36899
36900
|
}
|
|
36900
36901
|
return He;
|
|
36901
36902
|
}
|
|
36902
36903
|
function Ie(x, G) {
|
|
36903
|
-
for (var J = -1, ce = G.length,
|
|
36904
|
-
x[
|
|
36904
|
+
for (var J = -1, ce = G.length, Ue = x.length; ++J < ce; )
|
|
36905
|
+
x[Ue + J] = G[J];
|
|
36905
36906
|
return x;
|
|
36906
36907
|
}
|
|
36907
36908
|
function Oe(x, G) {
|
|
@@ -36928,8 +36929,8 @@ var kl = {}, gk = {
|
|
|
36928
36929
|
}
|
|
36929
36930
|
function $e(x) {
|
|
36930
36931
|
var G = -1, J = Array(x.size);
|
|
36931
|
-
return x.forEach(function(ce,
|
|
36932
|
-
J[++G] = [
|
|
36932
|
+
return x.forEach(function(ce, Ue) {
|
|
36933
|
+
J[++G] = [Ue, ce];
|
|
36933
36934
|
}), J;
|
|
36934
36935
|
}
|
|
36935
36936
|
function rt(x, G) {
|
|
@@ -36948,7 +36949,7 @@ var kl = {}, gk = {
|
|
|
36948
36949
|
return x ? "Symbol(src)_1." + x : "";
|
|
36949
36950
|
}(), Yt = Qt.toString, lr = RegExp(
|
|
36950
36951
|
"^" + bi.call(lt).replace($, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
36951
|
-
),
|
|
36952
|
+
), Ps = Te ? le.Buffer : void 0, Bn = le.Symbol, no = le.Uint8Array, Vn = Qt.propertyIsEnumerable, Si = _t.splice, yi = Bn ? Bn.toStringTag : void 0, Fn = Object.getOwnPropertySymbols, Hn = Ps ? Ps.isBuffer : void 0, Xi = rt(Object.keys, Object), gn = q(le, "DataView"), pn = q(le, "Map"), Cs = q(le, "Promise"), Is = q(le, "Set"), Nn = q(le, "WeakMap"), Yi = q(Object, "create"), so = si(gn), _i = si(pn), Gn = si(Cs), cr = si(Is), hr = si(Nn), Es = Bn ? Bn.prototype : void 0, mn = Es ? Es.valueOf : void 0;
|
|
36952
36953
|
function Lt(x) {
|
|
36953
36954
|
var G = -1, J = x == null ? 0 : x.length;
|
|
36954
36955
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36987,7 +36988,7 @@ var kl = {}, gk = {
|
|
|
36987
36988
|
this.set(ce[0], ce[1]);
|
|
36988
36989
|
}
|
|
36989
36990
|
}
|
|
36990
|
-
function
|
|
36991
|
+
function Ms() {
|
|
36991
36992
|
this.__data__ = [], this.size = 0;
|
|
36992
36993
|
}
|
|
36993
36994
|
function Bi(x) {
|
|
@@ -37004,11 +37005,11 @@ var kl = {}, gk = {
|
|
|
37004
37005
|
function An(x) {
|
|
37005
37006
|
return Zi(this.__data__, x) > -1;
|
|
37006
37007
|
}
|
|
37007
|
-
function
|
|
37008
|
+
function Wn(x, G) {
|
|
37008
37009
|
var J = this.__data__, ce = Zi(J, x);
|
|
37009
37010
|
return ce < 0 ? (++this.size, J.push([x, G])) : J[ce][1] = G, this;
|
|
37010
37011
|
}
|
|
37011
|
-
zt.prototype.clear =
|
|
37012
|
+
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set = Wn;
|
|
37012
37013
|
function Bt(x) {
|
|
37013
37014
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37014
37015
|
for (this.clear(); ++G < J; ) {
|
|
@@ -37027,7 +37028,7 @@ var kl = {}, gk = {
|
|
|
37027
37028
|
var G = U(this, x).delete(x);
|
|
37028
37029
|
return this.size -= G ? 1 : 0, G;
|
|
37029
37030
|
}
|
|
37030
|
-
function
|
|
37031
|
+
function Un(x) {
|
|
37031
37032
|
return U(this, x).get(x);
|
|
37032
37033
|
}
|
|
37033
37034
|
function qt(x) {
|
|
@@ -37037,7 +37038,7 @@ var kl = {}, gk = {
|
|
|
37037
37038
|
var J = U(this, x), ce = J.size;
|
|
37038
37039
|
return J.set(x, G), this.size += J.size == ce ? 0 : 1, this;
|
|
37039
37040
|
}
|
|
37040
|
-
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get =
|
|
37041
|
+
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get = Un, Bt.prototype.has = qt, Bt.prototype.set = qi;
|
|
37041
37042
|
function ei(x) {
|
|
37042
37043
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37043
37044
|
for (this.__data__ = new Bt(); ++G < J; )
|
|
@@ -37064,7 +37065,7 @@ var kl = {}, gk = {
|
|
|
37064
37065
|
function ho(x) {
|
|
37065
37066
|
return this.__data__.get(x);
|
|
37066
37067
|
}
|
|
37067
|
-
function
|
|
37068
|
+
function Qn(x) {
|
|
37068
37069
|
return this.__data__.has(x);
|
|
37069
37070
|
}
|
|
37070
37071
|
function ii(x, G) {
|
|
@@ -37077,13 +37078,13 @@ var kl = {}, gk = {
|
|
|
37077
37078
|
}
|
|
37078
37079
|
return J.set(x, G), this.size = J.size, this;
|
|
37079
37080
|
}
|
|
37080
|
-
It.prototype.clear = ti, It.prototype.delete = co, It.prototype.get = ho, It.prototype.has =
|
|
37081
|
-
function
|
|
37082
|
-
var J = fo(x), ce = !J && ba(x),
|
|
37081
|
+
It.prototype.clear = ti, It.prototype.delete = co, It.prototype.get = ho, It.prototype.has = Qn, It.prototype.set = ii;
|
|
37082
|
+
function Xn(x, G) {
|
|
37083
|
+
var J = fo(x), ce = !J && ba(x), Ue = !J && !ce && go(x), He = !J && !ce && !Ue && Pa(x), Ze = J || ce || Ue || He, et = Ze ? Xe(x.length, String) : [], xt = et.length;
|
|
37083
37084
|
for (var nt in x)
|
|
37084
37085
|
(G || lt.call(x, nt)) && !(Ze && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
37085
37086
|
(nt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
37086
|
-
|
|
37087
|
+
Ue && (nt == "offset" || nt == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
37087
37088
|
He && (nt == "buffer" || nt == "byteLength" || nt == "byteOffset") || // Skip index properties.
|
|
37088
37089
|
Qe(nt, xt))) && et.push(nt);
|
|
37089
37090
|
return et;
|
|
@@ -37101,13 +37102,13 @@ var kl = {}, gk = {
|
|
|
37101
37102
|
function Vi(x) {
|
|
37102
37103
|
return x == null ? x === void 0 ? O : A : yi && yi in Object(x) ? ne(x) : ni(x);
|
|
37103
37104
|
}
|
|
37104
|
-
function
|
|
37105
|
+
function Yn(x) {
|
|
37105
37106
|
return Ji(x) && Vi(x) == a;
|
|
37106
37107
|
}
|
|
37107
|
-
function yn(x, G, J, ce,
|
|
37108
|
-
return x === G ? !0 : x == null || G == null || !Ji(x) && !Ji(G) ? x !== x && G !== G : wi(x, G, J, ce, yn,
|
|
37108
|
+
function yn(x, G, J, ce, Ue) {
|
|
37109
|
+
return x === G ? !0 : x == null || G == null || !Ji(x) && !Ji(G) ? x !== x && G !== G : wi(x, G, J, ce, yn, Ue);
|
|
37109
37110
|
}
|
|
37110
|
-
function wi(x, G, J, ce,
|
|
37111
|
+
function wi(x, G, J, ce, Ue, He) {
|
|
37111
37112
|
var Ze = fo(x), et = fo(G), xt = Ze ? l : ze(x), nt = et ? l : ze(G);
|
|
37112
37113
|
xt = xt == a ? P : xt, nt = nt == a ? P : nt;
|
|
37113
37114
|
var Zt = xt == P, ui = nt == P, jt = xt == nt;
|
|
@@ -37117,15 +37118,15 @@ var kl = {}, gk = {
|
|
|
37117
37118
|
Ze = !0, Zt = !1;
|
|
37118
37119
|
}
|
|
37119
37120
|
if (jt && !Zt)
|
|
37120
|
-
return He || (He = new It()), Ze || Pa(x) ?
|
|
37121
|
+
return He || (He = new It()), Ze || Pa(x) ? qn(x, G, J, ce, Ue, He) : pr(x, G, xt, J, ce, Ue, He);
|
|
37121
37122
|
if (!(J & s)) {
|
|
37122
37123
|
var Jt = Zt && lt.call(x, "__wrapped__"), Ft = ui && lt.call(G, "__wrapped__");
|
|
37123
37124
|
if (Jt || Ft) {
|
|
37124
|
-
var
|
|
37125
|
-
return He || (He = new It()),
|
|
37125
|
+
var Zn = Jt ? x.value() : x, wn = Ft ? G.value() : G;
|
|
37126
|
+
return He || (He = new It()), Ue(Zn, wn, J, ce, He);
|
|
37126
37127
|
}
|
|
37127
37128
|
}
|
|
37128
|
-
return jt ? (He || (He = new It()), mr(x, G, J, ce,
|
|
37129
|
+
return jt ? (He || (He = new It()), mr(x, G, J, ce, Ue, He)) : !1;
|
|
37129
37130
|
}
|
|
37130
37131
|
function gr(x) {
|
|
37131
37132
|
if (!wa(x) || Et(x))
|
|
@@ -37136,7 +37137,7 @@ var kl = {}, gk = {
|
|
|
37136
37137
|
function uo(x) {
|
|
37137
37138
|
return Ji(x) && Ar(x.length) && !!re[Vi(x)];
|
|
37138
37139
|
}
|
|
37139
|
-
function
|
|
37140
|
+
function ks(x) {
|
|
37140
37141
|
if (!Ot(x))
|
|
37141
37142
|
return Xi(x);
|
|
37142
37143
|
var G = [];
|
|
@@ -37144,7 +37145,7 @@ var kl = {}, gk = {
|
|
|
37144
37145
|
lt.call(x, J) && J != "constructor" && G.push(J);
|
|
37145
37146
|
return G;
|
|
37146
37147
|
}
|
|
37147
|
-
function
|
|
37148
|
+
function qn(x, G, J, ce, Ue, He) {
|
|
37148
37149
|
var Ze = J & s, et = x.length, xt = G.length;
|
|
37149
37150
|
if (et != xt && !(Ze && xt > et))
|
|
37150
37151
|
return !1;
|
|
@@ -37155,29 +37156,29 @@ var kl = {}, gk = {
|
|
|
37155
37156
|
for (He.set(x, G), He.set(G, x); ++Zt < et; ) {
|
|
37156
37157
|
var Jt = x[Zt], Ft = G[Zt];
|
|
37157
37158
|
if (ce)
|
|
37158
|
-
var
|
|
37159
|
-
if (
|
|
37160
|
-
if (
|
|
37159
|
+
var Zn = Ze ? ce(Ft, Jt, Zt, G, x, He) : ce(Jt, Ft, Zt, x, G, He);
|
|
37160
|
+
if (Zn !== void 0) {
|
|
37161
|
+
if (Zn)
|
|
37161
37162
|
continue;
|
|
37162
37163
|
ui = !1;
|
|
37163
37164
|
break;
|
|
37164
37165
|
}
|
|
37165
37166
|
if (jt) {
|
|
37166
|
-
if (!Oe(G, function(wn,
|
|
37167
|
-
if (!st(jt,
|
|
37168
|
-
return jt.push(
|
|
37167
|
+
if (!Oe(G, function(wn, xs) {
|
|
37168
|
+
if (!st(jt, xs) && (Jt === wn || Ue(Jt, wn, J, ce, He)))
|
|
37169
|
+
return jt.push(xs);
|
|
37169
37170
|
})) {
|
|
37170
37171
|
ui = !1;
|
|
37171
37172
|
break;
|
|
37172
37173
|
}
|
|
37173
|
-
} else if (!(Jt === Ft ||
|
|
37174
|
+
} else if (!(Jt === Ft || Ue(Jt, Ft, J, ce, He))) {
|
|
37174
37175
|
ui = !1;
|
|
37175
37176
|
break;
|
|
37176
37177
|
}
|
|
37177
37178
|
}
|
|
37178
37179
|
return He.delete(x), He.delete(G), ui;
|
|
37179
37180
|
}
|
|
37180
|
-
function pr(x, G, J, ce,
|
|
37181
|
+
function pr(x, G, J, ce, Ue, He, Ze) {
|
|
37181
37182
|
switch (J) {
|
|
37182
37183
|
case M:
|
|
37183
37184
|
if (x.byteLength != G.byteLength || x.byteOffset != G.byteOffset)
|
|
@@ -37204,7 +37205,7 @@ var kl = {}, gk = {
|
|
|
37204
37205
|
if (nt)
|
|
37205
37206
|
return nt == G;
|
|
37206
37207
|
ce |= o, Ze.set(x, G);
|
|
37207
|
-
var Zt =
|
|
37208
|
+
var Zt = qn(et(x), et(G), ce, Ue, He, Ze);
|
|
37208
37209
|
return Ze.delete(x), Zt;
|
|
37209
37210
|
case T:
|
|
37210
37211
|
if (mn)
|
|
@@ -37212,7 +37213,7 @@ var kl = {}, gk = {
|
|
|
37212
37213
|
}
|
|
37213
37214
|
return !1;
|
|
37214
37215
|
}
|
|
37215
|
-
function mr(x, G, J, ce,
|
|
37216
|
+
function mr(x, G, J, ce, Ue, He) {
|
|
37216
37217
|
var Ze = J & s, et = V(x), xt = et.length, nt = V(G), Zt = nt.length;
|
|
37217
37218
|
if (xt != Zt && !Ze)
|
|
37218
37219
|
return !1;
|
|
@@ -37226,18 +37227,18 @@ var kl = {}, gk = {
|
|
|
37226
37227
|
return Jt == G;
|
|
37227
37228
|
var Ft = !0;
|
|
37228
37229
|
He.set(x, G), He.set(G, x);
|
|
37229
|
-
for (var
|
|
37230
|
+
for (var Zn = Ze; ++ui < xt; ) {
|
|
37230
37231
|
jt = et[ui];
|
|
37231
|
-
var wn = x[jt],
|
|
37232
|
+
var wn = x[jt], xs = G[jt];
|
|
37232
37233
|
if (ce)
|
|
37233
|
-
var cu = Ze ? ce(
|
|
37234
|
-
if (!(cu === void 0 ? wn ===
|
|
37234
|
+
var cu = Ze ? ce(xs, wn, jt, G, x, He) : ce(wn, xs, jt, x, G, He);
|
|
37235
|
+
if (!(cu === void 0 ? wn === xs || Ue(wn, xs, J, ce, He) : cu)) {
|
|
37235
37236
|
Ft = !1;
|
|
37236
37237
|
break;
|
|
37237
37238
|
}
|
|
37238
|
-
|
|
37239
|
+
Zn || (Zn = jt == "constructor");
|
|
37239
37240
|
}
|
|
37240
|
-
if (Ft && !
|
|
37241
|
+
if (Ft && !Zn) {
|
|
37241
37242
|
var Ca = x.constructor, Ia = G.constructor;
|
|
37242
37243
|
Ca != Ia && "constructor" in x && "constructor" in G && !(typeof Ca == "function" && Ca instanceof Ca && typeof Ia == "function" && Ia instanceof Ia) && (Ft = !1);
|
|
37243
37244
|
}
|
|
@@ -37261,15 +37262,15 @@ var kl = {}, gk = {
|
|
|
37261
37262
|
var ce = !0;
|
|
37262
37263
|
} catch (He) {
|
|
37263
37264
|
}
|
|
37264
|
-
var
|
|
37265
|
-
return ce && (G ? x[yi] = J : delete x[yi]),
|
|
37265
|
+
var Ue = Yt.call(x);
|
|
37266
|
+
return ce && (G ? x[yi] = J : delete x[yi]), Ue;
|
|
37266
37267
|
}
|
|
37267
|
-
var be =
|
|
37268
|
-
return x == null ? [] : (x = Object(x), me(
|
|
37269
|
-
return
|
|
37268
|
+
var be = Fn ? function(x) {
|
|
37269
|
+
return x == null ? [] : (x = Object(x), me(Fn(x), function(G) {
|
|
37270
|
+
return Vn.call(x, G);
|
|
37270
37271
|
}));
|
|
37271
37272
|
} : nc, ze = Vi;
|
|
37272
|
-
(gn && ze(new gn(new ArrayBuffer(1))) != M || pn && ze(new pn()) != m ||
|
|
37273
|
+
(gn && ze(new gn(new ArrayBuffer(1))) != M || pn && ze(new pn()) != m || Cs && ze(Cs.resolve()) != E || Is && ze(new Is()) != D || Nn && ze(new Nn()) != b) && (ze = function(x) {
|
|
37273
37274
|
var G = Vi(x), J = G == P ? x.constructor : void 0, ce = J ? si(J) : "";
|
|
37274
37275
|
if (ce)
|
|
37275
37276
|
switch (ce) {
|
|
@@ -37277,7 +37278,7 @@ var kl = {}, gk = {
|
|
|
37277
37278
|
return M;
|
|
37278
37279
|
case _i:
|
|
37279
37280
|
return m;
|
|
37280
|
-
case
|
|
37281
|
+
case Gn:
|
|
37281
37282
|
return E;
|
|
37282
37283
|
case cr:
|
|
37283
37284
|
return D;
|
|
@@ -37319,15 +37320,15 @@ var kl = {}, gk = {
|
|
|
37319
37320
|
function Aa(x, G) {
|
|
37320
37321
|
return x === G || x !== x && G !== G;
|
|
37321
37322
|
}
|
|
37322
|
-
var ba =
|
|
37323
|
+
var ba = Yn(function() {
|
|
37323
37324
|
return arguments;
|
|
37324
|
-
}()) ?
|
|
37325
|
-
return Ji(x) && lt.call(x, "callee") && !
|
|
37325
|
+
}()) ? Yn : function(x) {
|
|
37326
|
+
return Ji(x) && lt.call(x, "callee") && !Vn.call(x, "callee");
|
|
37326
37327
|
}, fo = Array.isArray;
|
|
37327
37328
|
function vr(x) {
|
|
37328
37329
|
return x != null && Ar(x.length) && !ya(x);
|
|
37329
37330
|
}
|
|
37330
|
-
var go =
|
|
37331
|
+
var go = Hn || sc;
|
|
37331
37332
|
function ic(x, G) {
|
|
37332
37333
|
return yn(x, G);
|
|
37333
37334
|
}
|
|
@@ -37349,7 +37350,7 @@ var kl = {}, gk = {
|
|
|
37349
37350
|
}
|
|
37350
37351
|
var Pa = Ve ? Ye(Ve) : uo;
|
|
37351
37352
|
function br(x) {
|
|
37352
|
-
return vr(x) ?
|
|
37353
|
+
return vr(x) ? Xn(x) : ks(x);
|
|
37353
37354
|
}
|
|
37354
37355
|
function nc() {
|
|
37355
37356
|
return [];
|
|
@@ -37659,13 +37660,13 @@ function kk(n) {
|
|
|
37659
37660
|
},
|
|
37660
37661
|
_applyAutoplayIfNeeded(l) {
|
|
37661
37662
|
return te(this, arguments, function* ({ data: r, methods: a }) {
|
|
37662
|
-
if (!r.infinite && (r.autoplayDirection ===
|
|
37663
|
+
if (!r.infinite && (r.autoplayDirection === ms && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection === er && r.currentParticleIndex === 0)) {
|
|
37663
37664
|
t.reset();
|
|
37664
37665
|
return;
|
|
37665
37666
|
}
|
|
37666
37667
|
if (r.autoplay) {
|
|
37667
37668
|
const c = () => Ch({
|
|
37668
|
-
[
|
|
37669
|
+
[ms]: () => te(this, null, function* () {
|
|
37669
37670
|
return a.showNextPage();
|
|
37670
37671
|
}),
|
|
37671
37672
|
[er]: () => te(this, null, function* () {
|
|
@@ -37831,7 +37832,7 @@ function _p(n) {
|
|
|
37831
37832
|
const e = (
|
|
37832
37833
|
/*#slots*/
|
|
37833
37834
|
n[37].prev
|
|
37834
|
-
), i =
|
|
37835
|
+
), i = us(
|
|
37835
37836
|
e,
|
|
37836
37837
|
n,
|
|
37837
37838
|
/*$$scope*/
|
|
@@ -37848,19 +37849,19 @@ function _p(n) {
|
|
|
37848
37849
|
p(o, r) {
|
|
37849
37850
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
37850
37851
|
96 | r[1] & /*$$scope*/
|
|
37851
|
-
32) &&
|
|
37852
|
+
32) && gs(
|
|
37852
37853
|
i,
|
|
37853
37854
|
e,
|
|
37854
37855
|
o,
|
|
37855
37856
|
/*$$scope*/
|
|
37856
37857
|
o[36],
|
|
37857
|
-
t ?
|
|
37858
|
+
t ? fs(
|
|
37858
37859
|
e,
|
|
37859
37860
|
/*$$scope*/
|
|
37860
37861
|
o[36],
|
|
37861
37862
|
r,
|
|
37862
37863
|
Lk
|
|
37863
|
-
) :
|
|
37864
|
+
) : ps(
|
|
37864
37865
|
/*$$scope*/
|
|
37865
37866
|
o[36]
|
|
37866
37867
|
),
|
|
@@ -37953,7 +37954,7 @@ function Vp(n) {
|
|
|
37953
37954
|
const e = (
|
|
37954
37955
|
/*#slots*/
|
|
37955
37956
|
n[37].next
|
|
37956
|
-
), i =
|
|
37957
|
+
), i = us(
|
|
37957
37958
|
e,
|
|
37958
37959
|
n,
|
|
37959
37960
|
/*$$scope*/
|
|
@@ -37970,19 +37971,19 @@ function Vp(n) {
|
|
|
37970
37971
|
p(o, r) {
|
|
37971
37972
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
37972
37973
|
96 | r[1] & /*$$scope*/
|
|
37973
|
-
32) &&
|
|
37974
|
+
32) && gs(
|
|
37974
37975
|
i,
|
|
37975
37976
|
e,
|
|
37976
37977
|
o,
|
|
37977
37978
|
/*$$scope*/
|
|
37978
37979
|
o[36],
|
|
37979
|
-
t ?
|
|
37980
|
+
t ? fs(
|
|
37980
37981
|
e,
|
|
37981
37982
|
/*$$scope*/
|
|
37982
37983
|
o[36],
|
|
37983
37984
|
r,
|
|
37984
37985
|
Dk
|
|
37985
|
-
) :
|
|
37986
|
+
) : ps(
|
|
37986
37987
|
/*$$scope*/
|
|
37987
37988
|
o[36]
|
|
37988
37989
|
),
|
|
@@ -38046,7 +38047,7 @@ function Fp(n) {
|
|
|
38046
38047
|
const e = (
|
|
38047
38048
|
/*#slots*/
|
|
38048
38049
|
n[37].dots
|
|
38049
|
-
), i =
|
|
38050
|
+
), i = us(
|
|
38050
38051
|
e,
|
|
38051
38052
|
n,
|
|
38052
38053
|
/*$$scope*/
|
|
@@ -38063,19 +38064,19 @@ function Fp(n) {
|
|
|
38063
38064
|
p(o, r) {
|
|
38064
38065
|
i ? i.p && (!t || r[0] & /*currentPageIndex, pagesCount, loaded*/
|
|
38065
38066
|
1120 | r[1] & /*$$scope*/
|
|
38066
|
-
32) &&
|
|
38067
|
+
32) && gs(
|
|
38067
38068
|
i,
|
|
38068
38069
|
e,
|
|
38069
38070
|
o,
|
|
38070
38071
|
/*$$scope*/
|
|
38071
38072
|
o[36],
|
|
38072
|
-
t ?
|
|
38073
|
+
t ? fs(
|
|
38073
38074
|
e,
|
|
38074
38075
|
/*$$scope*/
|
|
38075
38076
|
o[36],
|
|
38076
38077
|
r,
|
|
38077
38078
|
Sk
|
|
38078
|
-
) :
|
|
38079
|
+
) : ps(
|
|
38079
38080
|
/*$$scope*/
|
|
38080
38081
|
o[36]
|
|
38081
38082
|
),
|
|
@@ -38145,7 +38146,7 @@ function Rk(n) {
|
|
|
38145
38146
|
const p = (
|
|
38146
38147
|
/*#slots*/
|
|
38147
38148
|
n[37].default
|
|
38148
|
-
), m =
|
|
38149
|
+
), m = us(
|
|
38149
38150
|
p,
|
|
38150
38151
|
n,
|
|
38151
38152
|
/*$$scope*/
|
|
@@ -38238,19 +38239,19 @@ function Rk(n) {
|
|
|
38238
38239
|
g = null;
|
|
38239
38240
|
}), xe()), m && m.p && (!h || I[0] & /*loaded, currentPageIndex*/
|
|
38240
38241
|
96 | I[1] & /*$$scope*/
|
|
38241
|
-
32) &&
|
|
38242
|
+
32) && gs(
|
|
38242
38243
|
m,
|
|
38243
38244
|
p,
|
|
38244
38245
|
E,
|
|
38245
38246
|
/*$$scope*/
|
|
38246
38247
|
E[36],
|
|
38247
|
-
h ?
|
|
38248
|
+
h ? fs(
|
|
38248
38249
|
p,
|
|
38249
38250
|
/*$$scope*/
|
|
38250
38251
|
E[36],
|
|
38251
38252
|
I,
|
|
38252
38253
|
Tk
|
|
38253
|
-
) :
|
|
38254
|
+
) : ps(
|
|
38254
38255
|
/*$$scope*/
|
|
38255
38256
|
E[36]
|
|
38256
38257
|
),
|
|
@@ -38311,8 +38312,8 @@ function _k(n, t, e) {
|
|
|
38311
38312
|
pagesCount: () => e(10, h = Ie),
|
|
38312
38313
|
loaded: () => e(6, o = Ie)
|
|
38313
38314
|
})(me);
|
|
38314
|
-
}), m =
|
|
38315
|
-
let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: P = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: I = 500 } = t, { autoplay: z = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j =
|
|
38315
|
+
}), m = _n();
|
|
38316
|
+
let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: P = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: I = 500 } = t, { autoplay: z = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j = ms } = t, { pauseOnFocus: T = !1 } = t, { autoplayProgressVisible: O = !1 } = t, { dots: b = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: M = 1 } = t, { particlesToScroll: k = 1 } = t;
|
|
38316
38317
|
function S(me, Ie) {
|
|
38317
38318
|
return te(this, null, function* () {
|
|
38318
38319
|
const Oe = Fr(Ie, "animated", !0);
|
|
@@ -38370,7 +38371,7 @@ function _k(n, t, e) {
|
|
|
38370
38371
|
function Le(me) {
|
|
38371
38372
|
return te(this, null, function* () {
|
|
38372
38373
|
C && (yield Ch({
|
|
38373
|
-
[
|
|
38374
|
+
[ms]: g.showNextPage,
|
|
38374
38375
|
[er]: g.showPrevPage
|
|
38375
38376
|
})(me.detail.direction));
|
|
38376
38377
|
});
|
|
@@ -38969,7 +38970,7 @@ function Gp(n) {
|
|
|
38969
38970
|
},
|
|
38970
38971
|
i(d) {
|
|
38971
38972
|
a || (H(s), d && wt(() => {
|
|
38972
|
-
a && (r && r.end(1), o =
|
|
38973
|
+
a && (r && r.end(1), o = bs(
|
|
38973
38974
|
t,
|
|
38974
38975
|
Fu,
|
|
38975
38976
|
/*animation*/
|
|
@@ -38983,7 +38984,7 @@ function Gp(n) {
|
|
|
38983
38984
|
/*inDelay*/
|
|
38984
38985
|
n[2]
|
|
38985
38986
|
),
|
|
38986
|
-
easing:
|
|
38987
|
+
easing: jn
|
|
38987
38988
|
} : void 0
|
|
38988
38989
|
), o.start());
|
|
38989
38990
|
}), a = !0);
|
|
@@ -39003,7 +39004,7 @@ function Gp(n) {
|
|
|
39003
39004
|
/*outDelay*/
|
|
39004
39005
|
n[3]
|
|
39005
39006
|
),
|
|
39006
|
-
easing:
|
|
39007
|
+
easing: jn
|
|
39007
39008
|
} : void 0
|
|
39008
39009
|
)), a = !1;
|
|
39009
39010
|
},
|
|
@@ -40462,7 +40463,7 @@ function u7(n) {
|
|
|
40462
40463
|
const o = (
|
|
40463
40464
|
/*#slots*/
|
|
40464
40465
|
n[8].default
|
|
40465
|
-
), r =
|
|
40466
|
+
), r = us(
|
|
40466
40467
|
o,
|
|
40467
40468
|
n,
|
|
40468
40469
|
/*$$scope*/
|
|
@@ -40486,19 +40487,19 @@ function u7(n) {
|
|
|
40486
40487
|
},
|
|
40487
40488
|
p(a, [l]) {
|
|
40488
40489
|
r && r.p && (!e || l & /*$$scope*/
|
|
40489
|
-
128) &&
|
|
40490
|
+
128) && gs(
|
|
40490
40491
|
r,
|
|
40491
40492
|
o,
|
|
40492
40493
|
a,
|
|
40493
40494
|
/*$$scope*/
|
|
40494
40495
|
a[7],
|
|
40495
|
-
e ?
|
|
40496
|
+
e ? fs(
|
|
40496
40497
|
o,
|
|
40497
40498
|
/*$$scope*/
|
|
40498
40499
|
a[7],
|
|
40499
40500
|
l,
|
|
40500
40501
|
null
|
|
40501
|
-
) :
|
|
40502
|
+
) : ps(
|
|
40502
40503
|
/*$$scope*/
|
|
40503
40504
|
a[7]
|
|
40504
40505
|
),
|
|
@@ -40524,7 +40525,7 @@ function u7(n) {
|
|
|
40524
40525
|
}
|
|
40525
40526
|
function f7(n, t, e) {
|
|
40526
40527
|
let { $$slots: i = {}, $$scope: s } = t, { url: o } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
40527
|
-
const c =
|
|
40528
|
+
const c = _n(), h = an("hooks"), d = an("mediaStore");
|
|
40528
40529
|
let u, g = !0;
|
|
40529
40530
|
function p() {
|
|
40530
40531
|
e(
|
|
@@ -40987,7 +40988,7 @@ function cm(n) {
|
|
|
40987
40988
|
},
|
|
40988
40989
|
i(l) {
|
|
40989
40990
|
a || (H(e.$$.fragment, l), H(s.$$.fragment, l), l && wt(() => {
|
|
40990
|
-
a && (r && r.end(1), o =
|
|
40991
|
+
a && (r && r.end(1), o = bs(t, Vt, {
|
|
40991
40992
|
duration: 1e3,
|
|
40992
40993
|
delay: 0,
|
|
40993
40994
|
easing: Xo
|
|
@@ -41083,7 +41084,7 @@ function y7(n, t, e) {
|
|
|
41083
41084
|
e(2, l = !1);
|
|
41084
41085
|
};
|
|
41085
41086
|
function p(v) {
|
|
41086
|
-
|
|
41087
|
+
Rn.call(this, n, v);
|
|
41087
41088
|
}
|
|
41088
41089
|
const m = (v) => {
|
|
41089
41090
|
e(3, c = v.detail);
|
|
@@ -41303,7 +41304,7 @@ function M7(n, t, e) {
|
|
|
41303
41304
|
e(2, r = p.detail);
|
|
41304
41305
|
};
|
|
41305
41306
|
function g(p) {
|
|
41306
|
-
|
|
41307
|
+
Rn.call(this, n, p);
|
|
41307
41308
|
}
|
|
41308
41309
|
return n.$$set = (p) => {
|
|
41309
41310
|
"tag" in p && e(0, s = p.tag);
|
|
@@ -42023,7 +42024,7 @@ function U7(n) {
|
|
|
42023
42024
|
return {
|
|
42024
42025
|
c() {
|
|
42025
42026
|
s && s.c(), t = ae(), e = W("img"), w(e, "alt", "tag-icon"), w(e, "class", "icon-image svelte-o1ee3r"), ht(e.src, i = /*iconUrl*/
|
|
42026
|
-
n[4]) || w(e, "src", i), R(e, "width", Ii(
|
|
42027
|
+
n[4]) || w(e, "src", i), R(e, "width", Ii(as({
|
|
42027
42028
|
originWidth: (
|
|
42028
42029
|
/*width*/
|
|
42029
42030
|
n[1]
|
|
@@ -42046,7 +42047,7 @@ function U7(n) {
|
|
|
42046
42047
|
o[14] ? s ? s.p(o, r) : (s = vm(o), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r & /*iconUrl*/
|
|
42047
42048
|
16 && !ht(e.src, i = /*iconUrl*/
|
|
42048
42049
|
o[4]) && w(e, "src", i), r & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42049
|
-
3600 && R(e, "width", Ii(
|
|
42050
|
+
3600 && R(e, "width", Ii(as({
|
|
42050
42051
|
originWidth: (
|
|
42051
42052
|
/*width*/
|
|
42052
42053
|
o[1]
|
|
@@ -42127,7 +42128,7 @@ function Y7(n) {
|
|
|
42127
42128
|
let r = o(n, -1), a = r(n);
|
|
42128
42129
|
return {
|
|
42129
42130
|
c() {
|
|
42130
|
-
s && s.c(), t = ae(), e = W("div"), a.c(), w(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", Ii(
|
|
42131
|
+
s && s.c(), t = ae(), e = W("div"), a.c(), w(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", Ii(as({
|
|
42131
42132
|
originWidth: (
|
|
42132
42133
|
/*width*/
|
|
42133
42134
|
n[1]
|
|
@@ -42148,7 +42149,7 @@ function Y7(n) {
|
|
|
42148
42149
|
p(l, c) {
|
|
42149
42150
|
fm(l), /*bgcolor*/
|
|
42150
42151
|
l[14] ? s ? s.p(l, c) : (s = Am(l), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r === (r = o(l, c)) && a ? a.p(l, c) : (a.d(1), a = r(l), a && (a.c(), a.m(e, null))), c & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42151
|
-
3600 && R(e, "width", Ii(
|
|
42152
|
+
3600 && R(e, "width", Ii(as({
|
|
42152
42153
|
originWidth: (
|
|
42153
42154
|
/*width*/
|
|
42154
42155
|
l[1]
|
|
@@ -42266,7 +42267,7 @@ function $7(n) {
|
|
|
42266
42267
|
n[28] - 1})`;
|
|
42267
42268
|
return {
|
|
42268
42269
|
c() {
|
|
42269
|
-
t = W("div"), w(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", Ii(
|
|
42270
|
+
t = W("div"), w(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", Ii(as({
|
|
42270
42271
|
originWidth: (
|
|
42271
42272
|
/*width*/
|
|
42272
42273
|
n[1]
|
|
@@ -42283,7 +42284,7 @@ function $7(n) {
|
|
|
42283
42284
|
/*iconWidth*/
|
|
42284
42285
|
n[9]
|
|
42285
42286
|
)
|
|
42286
|
-
}).width)), R(t, "height", Ii(
|
|
42287
|
+
}).width)), R(t, "height", Ii(as({
|
|
42287
42288
|
originWidth: (
|
|
42288
42289
|
/*width*/
|
|
42289
42290
|
n[1]
|
|
@@ -42312,7 +42313,7 @@ function $7(n) {
|
|
|
42312
42313
|
},
|
|
42313
42314
|
p(s, o) {
|
|
42314
42315
|
gm(s), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42315
|
-
7760 && R(t, "width", Ii(
|
|
42316
|
+
7760 && R(t, "width", Ii(as({
|
|
42316
42317
|
originWidth: (
|
|
42317
42318
|
/*width*/
|
|
42318
42319
|
s[1]
|
|
@@ -42330,7 +42331,7 @@ function $7(n) {
|
|
|
42330
42331
|
s[9]
|
|
42331
42332
|
)
|
|
42332
42333
|
}).width)), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42333
|
-
7760 && R(t, "height", Ii(
|
|
42334
|
+
7760 && R(t, "height", Ii(as({
|
|
42334
42335
|
originWidth: (
|
|
42335
42336
|
/*width*/
|
|
42336
42337
|
s[1]
|
|
@@ -42397,7 +42398,7 @@ function t6(n) {
|
|
|
42397
42398
|
}
|
|
42398
42399
|
};
|
|
42399
42400
|
}
|
|
42400
|
-
function
|
|
42401
|
+
function as(n) {
|
|
42401
42402
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
|
|
42402
42403
|
return he(F({}, n), { width: o, height: r });
|
|
42403
42404
|
}
|
|
@@ -42412,7 +42413,7 @@ function Lr(n) {
|
|
|
42412
42413
|
}
|
|
42413
42414
|
function i6(n, t, e) {
|
|
42414
42415
|
let i, s, o, r, a, l, c, h, d, u, g, p, { width: m = null } = t, { icon: v = null } = t, { shadow: A = !1 } = t;
|
|
42415
|
-
const P =
|
|
42416
|
+
const P = _n();
|
|
42416
42417
|
function E(S) {
|
|
42417
42418
|
return te(this, null, function* () {
|
|
42418
42419
|
const L = yield B7(S);
|
|
@@ -43634,7 +43635,7 @@ class sA extends Hd {
|
|
|
43634
43635
|
return;
|
|
43635
43636
|
this.model.object = s;
|
|
43636
43637
|
const o = this.plugin.gltfObjectGroup.children.find((l) => l.customID === this.id);
|
|
43637
|
-
if (o && (this.plugin.gltfObjectGroup.remove(o), o.removeEventListener()),
|
|
43638
|
+
if (o && (this.plugin.gltfObjectGroup.remove(o), o.removeEventListener()), Gs(this)) {
|
|
43638
43639
|
const l = this.data.mediaPosition.map(Ht);
|
|
43639
43640
|
if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
|
|
43640
43641
|
this.mediaPlane = new Ph(this.data.mediaData[0].url, l, { objectFit: this.data.objectFit });
|
|
@@ -44012,7 +44013,7 @@ class W6 extends j6 {
|
|
|
44012
44013
|
this.remove(...[this.xArrow, this.yArrow, this.zArrow, this.centerHandle].filter(Boolean)), super.dispose();
|
|
44013
44014
|
}
|
|
44014
44015
|
}
|
|
44015
|
-
function
|
|
44016
|
+
function Ws(n, t) {
|
|
44016
44017
|
return U6(document.createElement(t != null ? t : "div"), n);
|
|
44017
44018
|
}
|
|
44018
44019
|
function U6(n, t) {
|
|
@@ -44023,7 +44024,7 @@ function U6(n, t) {
|
|
|
44023
44024
|
return n;
|
|
44024
44025
|
}
|
|
44025
44026
|
function Q6(n) {
|
|
44026
|
-
const t =
|
|
44027
|
+
const t = Ws(F({
|
|
44027
44028
|
position: "absolute",
|
|
44028
44029
|
display: "block",
|
|
44029
44030
|
borderRadius: "4px",
|
|
@@ -44219,14 +44220,14 @@ class Z6 extends y.Mesh {
|
|
|
44219
44220
|
}
|
|
44220
44221
|
}
|
|
44221
44222
|
function J6() {
|
|
44222
|
-
const n =
|
|
44223
|
+
const n = Ws({
|
|
44223
44224
|
width: "100%",
|
|
44224
44225
|
height: "100%",
|
|
44225
44226
|
left: "0",
|
|
44226
44227
|
top: "0",
|
|
44227
44228
|
position: "absolute",
|
|
44228
44229
|
pointerEvents: "none"
|
|
44229
|
-
}), t =
|
|
44230
|
+
}), t = Ws({
|
|
44230
44231
|
boxSizing: "border-box",
|
|
44231
44232
|
width: "100%",
|
|
44232
44233
|
height: "100%",
|
|
@@ -44236,7 +44237,7 @@ function J6() {
|
|
|
44236
44237
|
display: "flex",
|
|
44237
44238
|
alignItems: "center",
|
|
44238
44239
|
justifyContent: "center"
|
|
44239
|
-
}), e =
|
|
44240
|
+
}), e = Ws({
|
|
44240
44241
|
boxSizing: "border-box",
|
|
44241
44242
|
width: "100%",
|
|
44242
44243
|
height: "100%",
|
|
@@ -44246,7 +44247,7 @@ function J6() {
|
|
|
44246
44247
|
border: "1px solid rgba(255,255,255,0.4)"
|
|
44247
44248
|
});
|
|
44248
44249
|
n.appendChild(t), t.appendChild(e);
|
|
44249
|
-
const i = "-4px", s = { direction: "nesw", element:
|
|
44250
|
+
const i = "-4px", s = { direction: "nesw", element: es({ cursor: "nesw-resize", left: i, bottom: i }) }, o = { direction: "ns", element: es({ cursor: "ns-resize", bottom: i }) }, r = { direction: "nwse", element: es({ cursor: "nwse-resize", right: i, bottom: i }) }, a = { direction: "ew", element: es({ cursor: "ew-resize", right: i }) }, l = { direction: "nesw", element: es({ cursor: "nesw-resize", right: i, top: i }) }, c = { direction: "ns", element: es({ cursor: "ns-resize", top: i }) }, h = { direction: "nwse", element: es({ cursor: "nwse-resize", left: i, top: i }) }, d = { direction: "ew", element: es({ cursor: "ew-resize", left: i }) };
|
|
44250
44251
|
return new Array(o, a, c, d, s, r, l, h).forEach((g) => t.appendChild(g.element)), { container: n, spheres: [
|
|
44251
44252
|
s,
|
|
44252
44253
|
o,
|
|
@@ -44258,15 +44259,15 @@ function J6() {
|
|
|
44258
44259
|
d
|
|
44259
44260
|
] };
|
|
44260
44261
|
}
|
|
44261
|
-
function
|
|
44262
|
-
const t =
|
|
44262
|
+
function es(n) {
|
|
44263
|
+
const t = Ws(F({
|
|
44263
44264
|
background: "#FFFF00",
|
|
44264
44265
|
width: "9px",
|
|
44265
44266
|
height: "9px",
|
|
44266
44267
|
position: "absolute",
|
|
44267
44268
|
pointerEvents: "none",
|
|
44268
44269
|
borderRadius: "50%"
|
|
44269
|
-
}, n)), e =
|
|
44270
|
+
}, n)), e = Ws({
|
|
44270
44271
|
width: "15px",
|
|
44271
44272
|
height: "15px",
|
|
44272
44273
|
position: "absolute",
|
|
@@ -44274,7 +44275,7 @@ function $n(n) {
|
|
|
44274
44275
|
top: "50%",
|
|
44275
44276
|
transform: "translate(-50%, -50%)",
|
|
44276
44277
|
pointerEvents: "none"
|
|
44277
|
-
}), i =
|
|
44278
|
+
}), i = Ws({
|
|
44278
44279
|
width: "15px",
|
|
44279
44280
|
height: "15px",
|
|
44280
44281
|
cursor: n == null ? void 0 : n.cursor,
|
|
@@ -44672,7 +44673,7 @@ class ma {
|
|
|
44672
44673
|
}
|
|
44673
44674
|
}
|
|
44674
44675
|
hoverListener(t, e = 16777215, i = 1) {
|
|
44675
|
-
const s =
|
|
44676
|
+
const s = vs(t).filter(Ne), o = [];
|
|
44676
44677
|
for (const r of s)
|
|
44677
44678
|
if (r.material || r instanceof y.Group) {
|
|
44678
44679
|
const a = r instanceof y.Group ? r.children.filter((u) => u instanceof y.Mesh) : [r];
|
|
@@ -44987,7 +44988,7 @@ let tx = class extends ma {
|
|
|
44987
44988
|
return;
|
|
44988
44989
|
A.copy(e.ray.origin.clone().add(e.ray.direction.clone().multiplyScalar(E))), a = A;
|
|
44989
44990
|
} else
|
|
44990
|
-
a =
|
|
44991
|
+
a = hs({ raycaster: e, line: i, clampToLine: !1 });
|
|
44991
44992
|
const l = o.position.clone(), c = a.clone().sub(s), h = new y.Matrix4();
|
|
44992
44993
|
h.setPosition(c);
|
|
44993
44994
|
const d = o.position.clone().applyMatrix4(h);
|
|
@@ -45716,7 +45717,7 @@ class px extends ma {
|
|
|
45716
45717
|
r = r.parent;
|
|
45717
45718
|
const a = r, l = a.scalePosition.basePosition.clone(), c = a.scalePosition.handlePosition.clone(), h = c.clone().sub(l).clone(), d = new y.Line3(l, l.clone().add(h.normalize().multiplyScalar(5)));
|
|
45718
45719
|
d.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
45719
|
-
const u = new y.Raycaster(s, i.point.clone().sub(s)), g =
|
|
45720
|
+
const u = new y.Raycaster(s, i.point.clone().sub(s)), g = hs({ raycaster: u, line: d });
|
|
45720
45721
|
this.startInfo = { line: d, scaleStartPoint: g, draggingObject: a }, this.helperObject3D.scaleMeshes.forEach((p) => {
|
|
45721
45722
|
p.uuid !== a.uuid && (p.visible = !1);
|
|
45722
45723
|
}), "hideLineConnections" in this.helperObject3D && typeof this.helperObject3D.hideLineConnections == "function" && this.helperObject3D.hideLineConnections();
|
|
@@ -45766,7 +45767,7 @@ class px extends ma {
|
|
|
45766
45767
|
}), o.position.copy(D), this.hooks.emit("scale", new y.Vector3(1, 1, 1));
|
|
45767
45768
|
return;
|
|
45768
45769
|
}
|
|
45769
|
-
const a =
|
|
45770
|
+
const a = hs({ raycaster: e, line: i, clampToLine: !1 });
|
|
45770
45771
|
a.applyMatrix4(new y.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (d = (h = this.config) == null ? void 0 : h.scaleCallback) == null || d.call(h, {
|
|
45771
45772
|
intersectPoint: a,
|
|
45772
45773
|
scalePosition: r,
|
|
@@ -46204,7 +46205,7 @@ const Ih = "Object3DHelperPlugin", tu = Ih, mx = () => {
|
|
|
46204
46205
|
}, Ax = () => {
|
|
46205
46206
|
console.error(`${tu} is disabled`);
|
|
46206
46207
|
};
|
|
46207
|
-
class cA extends
|
|
46208
|
+
class cA extends ys {
|
|
46208
46209
|
constructor(e) {
|
|
46209
46210
|
super(e);
|
|
46210
46211
|
f(this, "name", Ih);
|
|
@@ -46473,7 +46474,7 @@ class uA extends Ai {
|
|
|
46473
46474
|
f(this, "lines", []);
|
|
46474
46475
|
f(this, "withDots");
|
|
46475
46476
|
f(this, "paramsStyle");
|
|
46476
|
-
const r = e, { withDots: i, points: s } = r, o =
|
|
46477
|
+
const r = e, { withDots: i, points: s } = r, o = Kn(r, ["withDots", "points"]);
|
|
46477
46478
|
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
46478
46479
|
}
|
|
46479
46480
|
get style() {
|
|
@@ -46517,7 +46518,7 @@ class uA extends Ai {
|
|
|
46517
46518
|
return this.lines.map((o) => o.points[0]).concat((s = (i = this.lines) == null ? void 0 : i[((e = this.lines) == null ? void 0 : e.length) - 1]) == null ? void 0 : s.points[1]).filter(Boolean);
|
|
46518
46519
|
}
|
|
46519
46520
|
setPoints(e, i = { closed: !1 }) {
|
|
46520
|
-
let s = e.map(
|
|
46521
|
+
let s = e.map(We);
|
|
46521
46522
|
i.closed && (s = yx(s)), s.forEach((o, r) => {
|
|
46522
46523
|
var c;
|
|
46523
46524
|
const a = s[r + 1];
|
|
@@ -46548,7 +46549,7 @@ class $s extends uA {
|
|
|
46548
46549
|
f(this, "name", "PolylineMesh");
|
|
46549
46550
|
}
|
|
46550
46551
|
}
|
|
46551
|
-
class
|
|
46552
|
+
class cs extends uA {
|
|
46552
46553
|
constructor(...e) {
|
|
46553
46554
|
super(he(F({}, e[0]), { withDots: !0 }));
|
|
46554
46555
|
f(this, "name", "PolylineWithDotsMesh");
|
|
@@ -46798,7 +46799,7 @@ class Im extends Ui {
|
|
|
46798
46799
|
f(this, "polyLineMesh");
|
|
46799
46800
|
f(this, "_editor");
|
|
46800
46801
|
f(this, "creatingObject");
|
|
46801
|
-
e && (this.polyLineMesh = new
|
|
46802
|
+
e && (this.polyLineMesh = new cs(F(F({}, e.style), e)), this.add(this.polyLineMesh));
|
|
46802
46803
|
}
|
|
46803
46804
|
get editor() {
|
|
46804
46805
|
return this._editor || (this._editor = new Px(this)), this._editor;
|
|
@@ -46814,7 +46815,7 @@ class Im extends Ui {
|
|
|
46814
46815
|
});
|
|
46815
46816
|
}
|
|
46816
46817
|
setData(e) {
|
|
46817
|
-
e.points && this.polyLineMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(
|
|
46818
|
+
e.points && this.polyLineMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(We))), this.polyLineMesh.setStyle(e.style);
|
|
46818
46819
|
}
|
|
46819
46820
|
highlight() {
|
|
46820
46821
|
var e;
|
|
@@ -46843,7 +46844,7 @@ class Im extends Ui {
|
|
|
46843
46844
|
create(e) {
|
|
46844
46845
|
return te(this, null, function* () {
|
|
46845
46846
|
this.removeChildren();
|
|
46846
|
-
const i = new
|
|
46847
|
+
const i = new cs(e);
|
|
46847
46848
|
this.polyLineMesh = i, this.add(this.polyLineMesh), this.creatingObject = Cx(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
|
|
46848
46849
|
});
|
|
46849
46850
|
}
|
|
@@ -46925,7 +46926,7 @@ class Em extends Ui {
|
|
|
46925
46926
|
});
|
|
46926
46927
|
}
|
|
46927
46928
|
setData(e) {
|
|
46928
|
-
e.point && this.pointMesh.position.copy(
|
|
46929
|
+
e.point && this.pointMesh.position.copy(We(e.point)), this.pointMesh.setStyle(e.style);
|
|
46929
46930
|
}
|
|
46930
46931
|
highlight() {
|
|
46931
46932
|
var e;
|
|
@@ -46969,7 +46970,7 @@ function fA(n, t) {
|
|
|
46969
46970
|
}
|
|
46970
46971
|
class Eh extends rr {
|
|
46971
46972
|
constructor(e) {
|
|
46972
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
46973
|
+
const o = e != null ? e : {}, { points: i } = o, s = Kn(o, ["points"]);
|
|
46973
46974
|
super();
|
|
46974
46975
|
f(this, "name", "PolygonWithEdgeMesh");
|
|
46975
46976
|
f(this, "line", new $s());
|
|
@@ -47120,7 +47121,7 @@ class Mm extends Ui {
|
|
|
47120
47121
|
});
|
|
47121
47122
|
}
|
|
47122
47123
|
setData(e) {
|
|
47123
|
-
e.points && this.areaMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(
|
|
47124
|
+
e.points && this.areaMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(We))), this.areaMesh.setStyle(e.style), this.updateCreationPointMeshes();
|
|
47124
47125
|
}
|
|
47125
47126
|
highlight() {
|
|
47126
47127
|
var e;
|
|
@@ -47274,7 +47275,7 @@ function nu(n, t, e) {
|
|
|
47274
47275
|
x: (st.x * 0.5 + 0.5) * Te,
|
|
47275
47276
|
y: (1 - (st.y * 0.5 + 0.5)) * Re
|
|
47276
47277
|
};
|
|
47277
|
-
}, Ve = Ae(le), me = Ae(E), Ie = Ae(re.point), Oe = Math.sqrt(
|
|
47278
|
+
}, Ve = Ae(le), me = Ae(E), Ie = Ae(re.point), Oe = Math.sqrt(Jn(Ve.x - me.x, 2) + Jn(Ve.y - me.y, 2)), Xe = Math.sqrt(Jn(Ve.x - Ie.x, 2) + Jn(Ve.y - Ie.y, 2));
|
|
47278
47279
|
(Oe < e.autoClosePixelDistance || Xe < e.autoClosePixelDistance) && (Se = !0);
|
|
47279
47280
|
}
|
|
47280
47281
|
} else
|
|
@@ -47479,7 +47480,7 @@ class kx extends y.BufferGeometry {
|
|
|
47479
47480
|
return e.length;
|
|
47480
47481
|
}
|
|
47481
47482
|
}
|
|
47482
|
-
class
|
|
47483
|
+
class Us extends Ai {
|
|
47483
47484
|
constructor(e) {
|
|
47484
47485
|
super();
|
|
47485
47486
|
f(this, "name", "PrismMesh");
|
|
@@ -47586,8 +47587,8 @@ class Ws extends Ai {
|
|
|
47586
47587
|
setPoints(e) {
|
|
47587
47588
|
var i;
|
|
47588
47589
|
this.prismMesh.geometry.setPosition({
|
|
47589
|
-
bottomPositions: (i = e.points) == null ? void 0 : i.map(
|
|
47590
|
-
topPosition: e.heightPoint ?
|
|
47590
|
+
bottomPositions: (i = e.points) == null ? void 0 : i.map(We).map((s) => s.toArray()),
|
|
47591
|
+
topPosition: e.heightPoint ? We(e.heightPoint).toArray() : void 0
|
|
47591
47592
|
}), this.edgeMesh.geometry = new Qa().fromEdgesGeometry(new y.EdgesGeometry(this.prismMesh.geometry)), this.geometryInfoNeedUpdate = !0;
|
|
47592
47593
|
}
|
|
47593
47594
|
highlight() {
|
|
@@ -47802,7 +47803,7 @@ class km extends Ui {
|
|
|
47802
47803
|
f(this, "type", "Prism");
|
|
47803
47804
|
f(this, "prismMesh");
|
|
47804
47805
|
f(this, "_editor");
|
|
47805
|
-
e && (this.prismMesh = new
|
|
47806
|
+
e && (this.prismMesh = new Us(F(F({}, e.style), e)), this.add(this.prismMesh));
|
|
47806
47807
|
}
|
|
47807
47808
|
get editor() {
|
|
47808
47809
|
return this._editor || (this._editor = new gA(this.prismMesh)), this._editor;
|
|
@@ -47820,8 +47821,8 @@ class km extends Ui {
|
|
|
47820
47821
|
}
|
|
47821
47822
|
setData(e) {
|
|
47822
47823
|
this.prismMesh.setPoints({
|
|
47823
|
-
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(
|
|
47824
|
-
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(
|
|
47824
|
+
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(We), this.prismMesh) : void 0,
|
|
47825
|
+
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(We(e.heightPoint), this.prismMesh) : void 0
|
|
47825
47826
|
}), this.prismMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
47826
47827
|
}
|
|
47827
47828
|
highlight() {
|
|
@@ -47834,7 +47835,7 @@ class km extends Ui {
|
|
|
47834
47835
|
}
|
|
47835
47836
|
create(e) {
|
|
47836
47837
|
return te(this, null, function* () {
|
|
47837
|
-
this.prismMesh = new
|
|
47838
|
+
this.prismMesh = new Us(e), this.add(this.prismMesh), yield pA(this.prismMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
|
|
47838
47839
|
});
|
|
47839
47840
|
}
|
|
47840
47841
|
}
|
|
@@ -47851,7 +47852,7 @@ function pA(n, t, e) {
|
|
|
47851
47852
|
}, g = (v) => {
|
|
47852
47853
|
if (!(v != null && v.raycaster))
|
|
47853
47854
|
return;
|
|
47854
|
-
const A =
|
|
47855
|
+
const A = hs({
|
|
47855
47856
|
raycaster: v.raycaster,
|
|
47856
47857
|
line: new y.Line3(l, c)
|
|
47857
47858
|
});
|
|
@@ -47982,7 +47983,7 @@ class su extends rr {
|
|
|
47982
47983
|
return this.meshFont.material.color;
|
|
47983
47984
|
}
|
|
47984
47985
|
setPoints(e) {
|
|
47985
|
-
const i = e.map(
|
|
47986
|
+
const i = e.map(We).filter(Ne);
|
|
47986
47987
|
if (i.length < 3) {
|
|
47987
47988
|
console.error("Invalid position");
|
|
47988
47989
|
return;
|
|
@@ -47996,7 +47997,7 @@ class su extends rr {
|
|
|
47996
47997
|
}
|
|
47997
47998
|
class xl extends su {
|
|
47998
47999
|
constructor(e) {
|
|
47999
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
48000
|
+
const o = e != null ? e : {}, { points: i } = o, s = Kn(o, ["points"]);
|
|
48000
48001
|
super();
|
|
48001
48002
|
f(this, "name", "RectangleWithEdgeMesh");
|
|
48002
48003
|
f(this, "line", new $s());
|
|
@@ -48051,7 +48052,7 @@ class Sh extends Ui {
|
|
|
48051
48052
|
});
|
|
48052
48053
|
}
|
|
48053
48054
|
setData(e) {
|
|
48054
|
-
e.points && this.rectangleMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(
|
|
48055
|
+
e.points && this.rectangleMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(We), this.rectangleMesh)), this.rectangleMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48055
48056
|
}
|
|
48056
48057
|
highlight() {
|
|
48057
48058
|
var e;
|
|
@@ -48091,7 +48092,7 @@ function Dx(n, t, e) {
|
|
|
48091
48092
|
const { promise: i, reject: s, resolve: o } = to(), r = n.parent;
|
|
48092
48093
|
if (!r)
|
|
48093
48094
|
return s(new Error("No container"));
|
|
48094
|
-
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new
|
|
48095
|
+
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new cs(he(F({}, n.style), { dashed: !0 })), c = new cs(he(F({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new cs(he(F({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
48095
48096
|
r.add(l, h, c), t.enable();
|
|
48096
48097
|
const d = [];
|
|
48097
48098
|
let u = new y.Vector3(), g = new y.Vector3();
|
|
@@ -48140,7 +48141,7 @@ function Tx(n, t, e) {
|
|
|
48140
48141
|
const { promise: i, reject: s, resolve: o } = to(), r = n.parent;
|
|
48141
48142
|
if (!r)
|
|
48142
48143
|
return s(new Error("No container"));
|
|
48143
|
-
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new
|
|
48144
|
+
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new cs(he(F({}, n.style), { dashed: !0 })), c = new cs(he(F({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new cs(he(F({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
48144
48145
|
r.add(l, h, c), t.enable(), t.setAdherePoints(Sx(t.five, { excludes: [n] }));
|
|
48145
48146
|
const d = [];
|
|
48146
48147
|
let u = new y.Vector3(), g = new y.Vector3();
|
|
@@ -48216,7 +48217,7 @@ class yA extends ql {
|
|
|
48216
48217
|
}
|
|
48217
48218
|
setPoints(e) {
|
|
48218
48219
|
var i, s, o;
|
|
48219
|
-
if (this._center = (i =
|
|
48220
|
+
if (this._center = (i = We(e.center)) != null ? i : this._center, this._normal = ((s = We(e.normal)) != null ? s : this._normal).normalize(), this._radius = (o = e.radius) != null ? o : this._radius, Ne(this._radius) && this._radius !== this.radius) {
|
|
48220
48221
|
const r = bA(this._radius);
|
|
48221
48222
|
this.geometry = new y.CircleGeometry(this._radius, r);
|
|
48222
48223
|
}
|
|
@@ -48225,7 +48226,7 @@ class yA extends ql {
|
|
|
48225
48226
|
}
|
|
48226
48227
|
class ra extends yA {
|
|
48227
48228
|
constructor(e) {
|
|
48228
|
-
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r =
|
|
48229
|
+
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = Kn(a, ["normal", "radius", "center"]);
|
|
48229
48230
|
super(r);
|
|
48230
48231
|
f(this, "edgeLine");
|
|
48231
48232
|
this.edgeLine = new ki(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
@@ -48268,8 +48269,8 @@ class xm extends Ui {
|
|
|
48268
48269
|
}
|
|
48269
48270
|
setData(e) {
|
|
48270
48271
|
this.circleMesh.setPoints({
|
|
48271
|
-
center: e.center ? this.applyObjectReversalMatrixWorld(
|
|
48272
|
-
normal: e.normal ?
|
|
48272
|
+
center: e.center ? this.applyObjectReversalMatrixWorld(We(e.center), this.circleMesh) : void 0,
|
|
48273
|
+
normal: e.normal ? We(e.normal) : void 0,
|
|
48273
48274
|
radius: e.radius
|
|
48274
48275
|
}), this.circleMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48275
48276
|
}
|
|
@@ -48358,7 +48359,7 @@ class Dh extends Ai {
|
|
|
48358
48359
|
}
|
|
48359
48360
|
setPoints(e) {
|
|
48360
48361
|
var i, s;
|
|
48361
|
-
if (this._topCenter = (i =
|
|
48362
|
+
if (this._topCenter = (i = We(e.topCenter)) != null ? i : this.topCenter, this._bottomCenter = (s = We(e.bottomCenter)) != null ? s : this.bottomCenter, this._radius = Ne(e.radius) ? e.radius : this.radius, this._topCenter && this._bottomCenter) {
|
|
48362
48363
|
const o = this._topCenter.clone().sub(this._bottomCenter).normalize();
|
|
48363
48364
|
this.bottomCircle.setPoints({ center: this._bottomCenter, normal: o, radius: this._radius }), this.setTopCenter(this._topCenter);
|
|
48364
48365
|
}
|
|
@@ -48453,8 +48454,8 @@ class Sm extends Ui {
|
|
|
48453
48454
|
}
|
|
48454
48455
|
setData(e) {
|
|
48455
48456
|
this.cylinderMesh.setPoints({
|
|
48456
|
-
bottomCenter: e.bottomCenter ? this.applyObjectReversalMatrixWorld(
|
|
48457
|
-
topCenter: e.topCenter ? this.applyObjectReversalMatrixWorld(
|
|
48457
|
+
bottomCenter: e.bottomCenter ? this.applyObjectReversalMatrixWorld(We(e.bottomCenter), this.cylinderMesh) : void 0,
|
|
48458
|
+
topCenter: e.topCenter ? this.applyObjectReversalMatrixWorld(We(e.topCenter), this.cylinderMesh) : void 0
|
|
48458
48459
|
}), this.cylinderMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48459
48460
|
}
|
|
48460
48461
|
highlight() {
|
|
@@ -48484,7 +48485,7 @@ function PA(n, t) {
|
|
|
48484
48485
|
}, d = (p) => {
|
|
48485
48486
|
if (!(p != null && p.raycaster))
|
|
48486
48487
|
return;
|
|
48487
|
-
const m =
|
|
48488
|
+
const m = hs({
|
|
48488
48489
|
raycaster: p.raycaster,
|
|
48489
48490
|
line: new y.Line3(r, a)
|
|
48490
48491
|
}), A = new y.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(m, new y.Vector3()), P = m.clone().sub(A), E = n.bottomCenter.clone().add(P);
|
|
@@ -48591,7 +48592,7 @@ class CA extends va {
|
|
|
48591
48592
|
}));
|
|
48592
48593
|
}
|
|
48593
48594
|
}
|
|
48594
|
-
class Th extends
|
|
48595
|
+
class Th extends Us {
|
|
48595
48596
|
constructor() {
|
|
48596
48597
|
super(...arguments);
|
|
48597
48598
|
f(this, "name", "BoxMesh");
|
|
@@ -48635,8 +48636,8 @@ class Dm extends Ui {
|
|
|
48635
48636
|
}
|
|
48636
48637
|
setData(e) {
|
|
48637
48638
|
this.boxMesh.setPoints({
|
|
48638
|
-
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(
|
|
48639
|
-
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(
|
|
48639
|
+
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(We), this.boxMesh) : void 0,
|
|
48640
|
+
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(We(e.heightPoint), this.boxMesh) : void 0
|
|
48640
48641
|
}), this.boxMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48641
48642
|
}
|
|
48642
48643
|
highlight() {
|
|
@@ -48691,7 +48692,7 @@ function IA(n, t, e) {
|
|
|
48691
48692
|
}, g = (v) => {
|
|
48692
48693
|
if (!(v != null && v.raycaster))
|
|
48693
48694
|
return;
|
|
48694
|
-
const A =
|
|
48695
|
+
const A = hs({
|
|
48695
48696
|
raycaster: v.raycaster,
|
|
48696
48697
|
line: new y.Line3(h, d)
|
|
48697
48698
|
});
|
|
@@ -48798,7 +48799,7 @@ function EA(n, t, e) {
|
|
|
48798
48799
|
return O();
|
|
48799
48800
|
g = T;
|
|
48800
48801
|
const b = h.at(-1).clone();
|
|
48801
|
-
a === "none" ? (d = T.point, l.setPoints([b, d])) : a === "xoz" ? (t.plane = u, u = u != null ? u : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), d = u.projectPoint(T.point, new y.Vector3()), l.setPoints([b, d]), c.setPoints([d, T.point])) : a === "y" && (T.isVirtual ? (d =
|
|
48802
|
+
a === "none" ? (d = T.point, l.setPoints([b, d])) : a === "xoz" ? (t.plane = u, u = u != null ? u : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), d = u.projectPoint(T.point, new y.Vector3()), l.setPoints([b, d]), c.setPoints([d, T.point])) : a === "y" && (T.isVirtual ? (d = hs({
|
|
48802
48803
|
raycaster: T.raycaster,
|
|
48803
48804
|
line: new y.Line3(h[0].clone(), new y.Vector3(0, 1, 0).add(h[0])),
|
|
48804
48805
|
clampToLine: !1
|
|
@@ -49050,7 +49051,7 @@ class jx extends Hd {
|
|
|
49050
49051
|
this.initialSculpt(), ((i = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : i.type) === "Video" ? this.renderVideoPlane() : ((o = (s = this.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane();
|
|
49051
49052
|
else {
|
|
49052
49053
|
ca(this.five);
|
|
49053
|
-
const l = this.position.map(
|
|
49054
|
+
const l = this.position.map(We);
|
|
49054
49055
|
(a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
|
|
49055
49056
|
const c = document.createElement("div");
|
|
49056
49057
|
c.classList.add("tag-media-container");
|
|
@@ -49337,7 +49338,7 @@ function Vx(n, t, e) {
|
|
|
49337
49338
|
} } = t, { handleMouseEnter: r = () => {
|
|
49338
49339
|
} } = t, { handleMouseLeave: a = () => {
|
|
49339
49340
|
} } = t;
|
|
49340
|
-
const l =
|
|
49341
|
+
const l = _n(), c = {
|
|
49341
49342
|
audioRef: (h) => l("audioRef", h.detail),
|
|
49342
49343
|
play: () => {
|
|
49343
49344
|
e(0, i = !0), l("play");
|
|
@@ -49670,7 +49671,7 @@ function Qx(n) {
|
|
|
49670
49671
|
function Xx(n, t, e) {
|
|
49671
49672
|
var L, N;
|
|
49672
49673
|
let i, s, o, r, a;
|
|
49673
|
-
const l = an("hooks"), c =
|
|
49674
|
+
const l = an("hooks"), c = _n();
|
|
49674
49675
|
let { tag: h } = t, d, u = !1;
|
|
49675
49676
|
const g = () => {
|
|
49676
49677
|
d !== void 0 && clearTimeout(d), u = !0, d = setTimeout(
|
|
@@ -49717,7 +49718,7 @@ function Xx(n, t, e) {
|
|
|
49717
49718
|
z(h) && A(B);
|
|
49718
49719
|
};
|
|
49719
49720
|
function S(B) {
|
|
49720
|
-
|
|
49721
|
+
Rn.call(this, n, B);
|
|
49721
49722
|
}
|
|
49722
49723
|
return n.$$set = (B) => {
|
|
49723
49724
|
"tag" in B && e(1, h = B.tag), "tagPointClickHelper" in B && e(0, v = B.tagPointClickHelper), "handleMouseEnter" in B && e(2, A = B.handleMouseEnter), "handleMouseLeave" in B && e(3, P = B.handleMouseLeave), "handleTagPointClick" in B && e(4, E = B.handleTagPointClick), "audioInstance" in B && e(14, D = B.audioInstance);
|
|
@@ -50748,7 +50749,7 @@ function MS(n) {
|
|
|
50748
50749
|
const j = (
|
|
50749
50750
|
/*#slots*/
|
|
50750
50751
|
n[38].toolbar
|
|
50751
|
-
), T =
|
|
50752
|
+
), T = us(
|
|
50752
50753
|
j,
|
|
50753
50754
|
n,
|
|
50754
50755
|
/*$$scope*/
|
|
@@ -50757,7 +50758,7 @@ function MS(n) {
|
|
|
50757
50758
|
), O = (
|
|
50758
50759
|
/*#slots*/
|
|
50759
50760
|
n[38].arrow
|
|
50760
|
-
), b =
|
|
50761
|
+
), b = us(
|
|
50761
50762
|
O,
|
|
50762
50763
|
n,
|
|
50763
50764
|
/*$$scope*/
|
|
@@ -50789,37 +50790,37 @@ function MS(n) {
|
|
|
50789
50790
|
z = null;
|
|
50790
50791
|
}), xe()), /*marketingPrice*/
|
|
50791
50792
|
C[12] ? D ? D.p(C, M) : (D = Qm(C), D.c(), D.m(e, h)) : D && (D.d(1), D = null), T && T.p && (!p || M[1] & /*$$scope*/
|
|
50792
|
-
64) &&
|
|
50793
|
+
64) && gs(
|
|
50793
50794
|
T,
|
|
50794
50795
|
j,
|
|
50795
50796
|
C,
|
|
50796
50797
|
/*$$scope*/
|
|
50797
50798
|
C[37],
|
|
50798
|
-
p ?
|
|
50799
|
+
p ? fs(
|
|
50799
50800
|
j,
|
|
50800
50801
|
/*$$scope*/
|
|
50801
50802
|
C[37],
|
|
50802
50803
|
M,
|
|
50803
50804
|
yS
|
|
50804
|
-
) :
|
|
50805
|
+
) : ps(
|
|
50805
50806
|
/*$$scope*/
|
|
50806
50807
|
C[37]
|
|
50807
50808
|
),
|
|
50808
50809
|
Om
|
|
50809
50810
|
), b && b.p && (!p || M[1] & /*$$scope*/
|
|
50810
|
-
64) &&
|
|
50811
|
+
64) && gs(
|
|
50811
50812
|
b,
|
|
50812
50813
|
O,
|
|
50813
50814
|
C,
|
|
50814
50815
|
/*$$scope*/
|
|
50815
50816
|
C[37],
|
|
50816
|
-
p ?
|
|
50817
|
+
p ? fs(
|
|
50817
50818
|
O,
|
|
50818
50819
|
/*$$scope*/
|
|
50819
50820
|
C[37],
|
|
50820
50821
|
M,
|
|
50821
50822
|
bS
|
|
50822
|
-
) :
|
|
50823
|
+
) : ps(
|
|
50823
50824
|
/*$$scope*/
|
|
50824
50825
|
C[37]
|
|
50825
50826
|
),
|
|
@@ -51421,7 +51422,7 @@ function _S(n) {
|
|
|
51421
51422
|
function BS(n, t, e) {
|
|
51422
51423
|
let i;
|
|
51423
51424
|
const s = an("hooks");
|
|
51424
|
-
|
|
51425
|
+
_n();
|
|
51425
51426
|
let { tag: o } = t, { toolbar: r = { showMore: !0, showShare: !0 } } = t, { theme: a = "dark" } = t, { closePopover: l = void 0 } = t;
|
|
51426
51427
|
Tt(() => {
|
|
51427
51428
|
s.emit("popoverToolbarShow", { tag: o });
|
|
@@ -51642,7 +51643,7 @@ function HS(n) {
|
|
|
51642
51643
|
function NS(n, t, e) {
|
|
51643
51644
|
let { showArrow: i } = t, { arrowDirection: s } = t, { effectiveTheme: o } = t, { adjustedPlacement: r } = t, { tag: a } = t, { config: l } = t, { theme: c } = t, { toolbar: h } = t, { closePopover: d } = t, { audioInstance: u = null } = t, { audioPlaying: g = !1 } = t, { audioCurrentTime: p = 0 } = t, { audioDuration: m = 0 } = t;
|
|
51644
51645
|
function v(A) {
|
|
51645
|
-
|
|
51646
|
+
Rn.call(this, n, A);
|
|
51646
51647
|
}
|
|
51647
51648
|
return n.$$set = (A) => {
|
|
51648
51649
|
"showArrow" in A && e(0, i = A.showArrow), "arrowDirection" in A && e(1, s = A.arrowDirection), "effectiveTheme" in A && e(2, o = A.effectiveTheme), "adjustedPlacement" in A && e(3, r = A.adjustedPlacement), "tag" in A && e(4, a = A.tag), "config" in A && e(5, l = A.config), "theme" in A && e(6, c = A.theme), "toolbar" in A && e(7, h = A.toolbar), "closePopover" in A && e(8, d = A.closePopover), "audioInstance" in A && e(9, u = A.audioInstance), "audioPlaying" in A && e(10, g = A.audioPlaying), "audioCurrentTime" in A && e(11, p = A.audioCurrentTime), "audioDuration" in A && e(12, m = A.audioDuration);
|
|
@@ -51962,7 +51963,7 @@ function QS(n, t, e) {
|
|
|
51962
51963
|
let i, s, o, r, a, l, c, h, d, u;
|
|
51963
51964
|
const g = an("hooks");
|
|
51964
51965
|
let { tag: p } = t, { config: m = {} } = t, { triggerElement: v } = t, { wrapperElement: A = document.body } = t, { popoverContainer: P = null } = t, { theme: E = void 0 } = t, { visible: I = !0 } = t, { closePopover: z = void 0 } = t, { audioInstance: D = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: T = 0 } = t, { audioDuration: O = 0 } = t;
|
|
51965
|
-
const b =
|
|
51966
|
+
const b = _n();
|
|
51966
51967
|
let C, M = { width: 0, height: 0 }, k = null, S = s;
|
|
51967
51968
|
function L(ee, { duration: Te = 400, easing: Re = Zr, x: Ae = 0, y: Ve = 0 }) {
|
|
51968
51969
|
return {
|
|
@@ -52053,10 +52054,10 @@ function QS(n, t, e) {
|
|
|
52053
52054
|
typeof z == "function" && z(), b("close");
|
|
52054
52055
|
}
|
|
52055
52056
|
function Me(ee) {
|
|
52056
|
-
|
|
52057
|
+
Rn.call(this, n, ee);
|
|
52057
52058
|
}
|
|
52058
52059
|
function de(ee) {
|
|
52059
|
-
|
|
52060
|
+
Rn.call(this, n, ee);
|
|
52060
52061
|
}
|
|
52061
52062
|
function le(ee) {
|
|
52062
52063
|
qe[ee ? "unshift" : "push"](() => {
|
|
@@ -52879,7 +52880,7 @@ function t0(n) {
|
|
|
52879
52880
|
for (let h = 0; h < a.length; h += 1)
|
|
52880
52881
|
H(e[h]);
|
|
52881
52882
|
o || wt(() => {
|
|
52882
|
-
o =
|
|
52883
|
+
o = bs(t, Vt, {}), o.start();
|
|
52883
52884
|
}), r = !0;
|
|
52884
52885
|
}
|
|
52885
52886
|
},
|
|
@@ -53078,7 +53079,7 @@ class Lh extends k8 {
|
|
|
53078
53079
|
s.state.visible = !1, s.applyVisible();
|
|
53079
53080
|
}), this.five.ready().then(() => {
|
|
53080
53081
|
this.tagsDo(this.tags, (s) => {
|
|
53081
|
-
s.updateVisible(),
|
|
53082
|
+
s.updateVisible(), Gs(s) && e !== "Panorama" && this.changeTagMode(s, "behind");
|
|
53082
53083
|
});
|
|
53083
53084
|
});
|
|
53084
53085
|
};
|
|
@@ -53846,7 +53847,7 @@ function uD(n, t, e) {
|
|
|
53846
53847
|
i.push(E);
|
|
53847
53848
|
}), i.push(l);
|
|
53848
53849
|
});
|
|
53849
|
-
const s = t.transform, o = i.map((r) =>
|
|
53850
|
+
const s = t.transform, o = i.map((r) => Dn(new y.Vector3().fromArray(r), s).toArray());
|
|
53850
53851
|
return [he(F({}, e), { type: "CatmullRomCurve3", points: o })];
|
|
53851
53852
|
}
|
|
53852
53853
|
const fD = (
|
|
@@ -54042,7 +54043,7 @@ class zh {
|
|
|
54042
54043
|
});
|
|
54043
54044
|
/** 模型状态变更 */
|
|
54044
54045
|
f(this, "onFiveModeChange", (t) => {
|
|
54045
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
54046
|
+
this.modeVisible = this.mode === "panorama" ? ls(t) : Ci(t), this.updateVisible();
|
|
54046
54047
|
});
|
|
54047
54048
|
f(this, "onFiveModelShownFloorChange", (t) => {
|
|
54048
54049
|
this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
|
|
@@ -54247,7 +54248,7 @@ class zh {
|
|
|
54247
54248
|
setTextureUrl(t) {
|
|
54248
54249
|
if (this.disposed)
|
|
54249
54250
|
return this.logError("disposed");
|
|
54250
|
-
this.textureUrl = t,
|
|
54251
|
+
this.textureUrl = t, Ns(t).then((e) => {
|
|
54251
54252
|
this.disposed || this.textureUrl === t && (e.wrapT = y.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
|
|
54252
54253
|
});
|
|
54253
54254
|
}
|
|
@@ -54340,7 +54341,7 @@ const xL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
54340
54341
|
__proto__: null,
|
|
54341
54342
|
GuideLineModeItem: zh
|
|
54342
54343
|
}, Symbol.toStringTag, { value: "Module" })), xA = "CruisePlugin", Nc = `${xA}`;
|
|
54343
|
-
class SA extends
|
|
54344
|
+
class SA extends ys {
|
|
54344
54345
|
constructor(e, i) {
|
|
54345
54346
|
super(e, i);
|
|
54346
54347
|
f(this, "state", {
|
|
@@ -54516,7 +54517,7 @@ class SA extends bs {
|
|
|
54516
54517
|
}
|
|
54517
54518
|
function Gc(n, t, e) {
|
|
54518
54519
|
var l, c, h;
|
|
54519
|
-
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } =
|
|
54520
|
+
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } = Bs(o);
|
|
54520
54521
|
return { offset: s.clone(), longitude: r, latitude: a, distance: 0 };
|
|
54521
54522
|
}
|
|
54522
54523
|
class DA extends SA {
|
|
@@ -54567,7 +54568,7 @@ class DA extends SA {
|
|
|
54567
54568
|
{
|
|
54568
54569
|
if (this.data.path.length < 2)
|
|
54569
54570
|
return null;
|
|
54570
|
-
const v = this.data.path.map(
|
|
54571
|
+
const v = this.data.path.map(We);
|
|
54571
54572
|
return new y.CatmullRomCurve3(v, void 0, "catmullrom", 0.5);
|
|
54572
54573
|
}
|
|
54573
54574
|
})();
|
|
@@ -54581,7 +54582,7 @@ class DA extends SA {
|
|
|
54581
54582
|
throw new Error("curve is not defined");
|
|
54582
54583
|
const o = this.curve.getLength(), r = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
54583
54584
|
if (this.duration = o / (this.state.config.speedConfig.moveSpeed / r), Array.isArray(this.data.path)) {
|
|
54584
|
-
const v = this.data.path.map(
|
|
54585
|
+
const v = this.data.path.map(We).map((A) => A.toArray());
|
|
54585
54586
|
!this.GuideLine && (((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && e.useGuildLine || (p = this.config) != null && p.useGuideLine && e.useGuildLine !== !1) && (this.GuideLine = PD(this.five, this.config)), (m = this.GuideLine) == null || m.load({
|
|
54586
54587
|
lines: [
|
|
54587
54588
|
{
|
|
@@ -54771,7 +54772,7 @@ class au extends SA {
|
|
|
54771
54772
|
if (!g || !u || ((m = this.workUtil.getObserver(l)) == null ? void 0 : m.floorIndex) !== ((v = this.workUtil.getObserver(d)) == null ? void 0 : v.floorIndex))
|
|
54772
54773
|
return;
|
|
54773
54774
|
const p = new y.Vector3().subVectors(g, u);
|
|
54774
|
-
return
|
|
54775
|
+
return Bs(p.normalize());
|
|
54775
54776
|
})();
|
|
54776
54777
|
i.moveType === void 0 || i.moveType === "justMove" ? s.push({
|
|
54777
54778
|
moveIndex: c,
|
|
@@ -55416,7 +55417,7 @@ class l0 {
|
|
|
55416
55417
|
if (!t)
|
|
55417
55418
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
55418
55419
|
this.observer = t;
|
|
55419
|
-
const { x: e, y: i, z: s, w: o } = t.quaternion, r = new
|
|
55420
|
+
const { x: e, y: i, z: s, w: o } = t.quaternion, r = new zs(e, i, s, o), a = t.position;
|
|
55420
55421
|
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new ve(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(r);
|
|
55421
55422
|
});
|
|
55422
55423
|
/** 兼容视频播放 */
|
|
@@ -55529,7 +55530,7 @@ class l0 {
|
|
|
55529
55530
|
uniforms: {
|
|
55530
55531
|
map: { value: s },
|
|
55531
55532
|
size: {
|
|
55532
|
-
value: new
|
|
55533
|
+
value: new Ls(this.origin[0], 1 - this.origin[1] - this.origin[3], this.origin[2], this.origin[3])
|
|
55533
55534
|
},
|
|
55534
55535
|
opacity: { value: 0 }
|
|
55535
55536
|
},
|
|
@@ -55632,7 +55633,7 @@ class l0 {
|
|
|
55632
55633
|
return i >= o && i <= h && s >= c && s <= d;
|
|
55633
55634
|
}
|
|
55634
55635
|
}
|
|
55635
|
-
class MD extends
|
|
55636
|
+
class MD extends ys {
|
|
55636
55637
|
constructor(e) {
|
|
55637
55638
|
super(e);
|
|
55638
55639
|
f(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -56354,7 +56355,7 @@ let ND = class extends fn {
|
|
|
56354
56355
|
const i = this.texturePromiseCache.get(e);
|
|
56355
56356
|
if (i)
|
|
56356
56357
|
return i;
|
|
56357
|
-
const s =
|
|
56358
|
+
const s = Ns(e);
|
|
56358
56359
|
return this.texturePromiseCache.set(e, s), s;
|
|
56359
56360
|
});
|
|
56360
56361
|
}
|
|
@@ -56880,8 +56881,8 @@ class YD {
|
|
|
56880
56881
|
if (this.isInContainerResizeAnimation)
|
|
56881
56882
|
return { result: !1, msg: "处于容器 resize 动画中" };
|
|
56882
56883
|
const e = this.plugin.five, i = e.camera.position.clone();
|
|
56883
|
-
|
|
56884
|
-
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(
|
|
56884
|
+
Tn.set(i.clone(), this.tagPosition.clone().sub(i).normalize());
|
|
56885
|
+
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(Tn), o = this.tagPosition.distanceTo(e.camera.position);
|
|
56885
56886
|
if (s && s.distance + 0.1 < o)
|
|
56886
56887
|
return { result: !1, msg: "标注标签被 Five 模型遮挡" };
|
|
56887
56888
|
const r = this.tagNDCPosition;
|
|
@@ -57266,7 +57267,7 @@ let ZD = class extends fn {
|
|
|
57266
57267
|
}
|
|
57267
57268
|
};
|
|
57268
57269
|
const VL = (n, t) => new ZD(n, t);
|
|
57269
|
-
class JD extends
|
|
57270
|
+
class JD extends ys {
|
|
57270
57271
|
constructor(e, i) {
|
|
57271
57272
|
super(e);
|
|
57272
57273
|
// ==================== public properties ====================
|
|
@@ -57465,7 +57466,7 @@ class JD extends bs {
|
|
|
57465
57466
|
reloadTexture(e) {
|
|
57466
57467
|
return te(this, null, function* () {
|
|
57467
57468
|
if (this.mesh.material.map = null, e !== "") {
|
|
57468
|
-
const i =
|
|
57469
|
+
const i = Ns(e);
|
|
57469
57470
|
this.textureLoadingPromise = i;
|
|
57470
57471
|
const s = yield i;
|
|
57471
57472
|
s.minFilter = y.LinearFilter, this.textureLoadingPromise === i && (this.onTextureLoaded(s), this.textureLoadingPromise = null);
|
|
@@ -57666,7 +57667,7 @@ const m0 = (n, t) => {
|
|
|
57666
57667
|
};
|
|
57667
57668
|
class Xc extends lu {
|
|
57668
57669
|
constructor(...e) {
|
|
57669
|
-
const i = e[0], s = eo(i.model), o = new y.Vector3().lerpVectors(
|
|
57670
|
+
const i = e[0], s = eo(i.model), o = new y.Vector3().lerpVectors(ss(s, 0), ss(s, 5), 0.5);
|
|
57670
57671
|
super(he(F({}, i), { position: o }));
|
|
57671
57672
|
f(this, "onModelShownFloorChange", (e) => {
|
|
57672
57673
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
@@ -57739,7 +57740,7 @@ class oT extends fn {
|
|
|
57739
57740
|
f(this, "onFiveModeChange", (e) => {
|
|
57740
57741
|
const i = this.occlusionVisibility;
|
|
57741
57742
|
Array.isArray(i) && [...this.getPrismItems(), ...this.getBoxItems()].forEach((o) => {
|
|
57742
|
-
(o.model instanceof
|
|
57743
|
+
(o.model instanceof Us || o.model instanceof Eh) && o.model.setStyle({ occlusionVisibility: i.includes(e) });
|
|
57743
57744
|
});
|
|
57744
57745
|
});
|
|
57745
57746
|
f(this, "handleEnable", () => {
|
|
@@ -57820,14 +57821,14 @@ class oT extends fn {
|
|
|
57820
57821
|
});
|
|
57821
57822
|
}
|
|
57822
57823
|
case "prism": {
|
|
57823
|
-
const r = new
|
|
57824
|
+
const r = new Us();
|
|
57824
57825
|
Ne(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += en.Z_FIGHTING_OFFSET;
|
|
57825
57826
|
const a = s.object_data.points.map((d) => {
|
|
57826
57827
|
var u;
|
|
57827
57828
|
return [d[0], d[1] + ((u = s.object_data.fixedY) != null ? u : 0), d[2]];
|
|
57828
57829
|
});
|
|
57829
57830
|
a.push(a[0]);
|
|
57830
|
-
const l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c =
|
|
57831
|
+
const l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c = We(a[0]).add(new ve().setY(l));
|
|
57831
57832
|
return r.setPoints({ points: a, heightPoint: c }), r.setStyle(i(s)), new Xc({
|
|
57832
57833
|
five: this.five,
|
|
57833
57834
|
tagWrapper: this.tagWrapper,
|
|
@@ -57839,12 +57840,12 @@ class oT extends fn {
|
|
|
57839
57840
|
});
|
|
57840
57841
|
}
|
|
57841
57842
|
case "box": {
|
|
57842
|
-
const r = new
|
|
57843
|
+
const r = new Us({ five: this.five });
|
|
57843
57844
|
Ne(s.id) && (r.uuid = s.id.toString());
|
|
57844
|
-
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new ve().fromArray(a), d = new ve().fromArray(l), u = new
|
|
57845
|
+
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new ve().fromArray(a), d = new ve().fromArray(l), u = new ns().fromArray(c), g = new zs().setFromEuler(u), p = g.clone().inverse(), m = new ve().lerpVectors(h, d, 0.5), v = m.clone().negate(), A = h.clone().add(v).applyQuaternion(p), P = d.clone().add(v).applyQuaternion(p), E = new bb(A.clone().max(P), A.clone().min(P));
|
|
57845
57846
|
return r.setPoints({
|
|
57846
|
-
points: [
|
|
57847
|
-
heightPoint:
|
|
57847
|
+
points: [ss(E, 2), ss(E, 3), ss(E, 7), ss(E, 6)],
|
|
57848
|
+
heightPoint: ss(E, 1)
|
|
57848
57849
|
}), r.position.copy(m), r.quaternion.copy(g), r.setStyle(i(s)), new g0({
|
|
57849
57850
|
five: this.five,
|
|
57850
57851
|
tagWrapper: this.tagWrapper,
|
|
@@ -58234,7 +58235,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58234
58235
|
LineMesh: ki,
|
|
58235
58236
|
PointMesh: hn,
|
|
58236
58237
|
PolygonMesh: rr,
|
|
58237
|
-
PrismMesh:
|
|
58238
|
+
PrismMesh: Us,
|
|
58238
58239
|
PrismMeshEditor: gA,
|
|
58239
58240
|
RectangleMesh: su,
|
|
58240
58241
|
RectangleMeshEditor: mA,
|
|
@@ -58256,7 +58257,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58256
58257
|
DEFAULT_STATIC_PREFIX: Vl,
|
|
58257
58258
|
DNALOGEL_DEFAULT_ASSETS: Ww,
|
|
58258
58259
|
ENTRY_DOOR_DEFAULT_IMAGE: hd,
|
|
58259
|
-
FLOORPLAN_DEFAULT_IMAGE:
|
|
58260
|
+
FLOORPLAN_DEFAULT_IMAGE: ds,
|
|
58260
58261
|
FiveDomEvents: No,
|
|
58261
58262
|
FivePuppet: t2,
|
|
58262
58263
|
GUIDELINE_DEFAULT_ARROW_TEXTURE: Fl,
|
|
@@ -58284,7 +58285,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58284
58285
|
bounding: Uh,
|
|
58285
58286
|
boundingBox: eo,
|
|
58286
58287
|
boundingSphere: W0,
|
|
58287
|
-
boxVertex:
|
|
58288
|
+
boxVertex: ss,
|
|
58288
58289
|
boxVertexes: Fy,
|
|
58289
58290
|
checkFiveModelLoaded: Gw,
|
|
58290
58291
|
cleanup: Cw,
|
|
@@ -58300,7 +58301,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58300
58301
|
inside: Pu,
|
|
58301
58302
|
isModelLike: Ci,
|
|
58302
58303
|
isNil: vi,
|
|
58303
|
-
isPanoramaLike:
|
|
58304
|
+
isPanoramaLike: ls,
|
|
58304
58305
|
lookObject: Nw,
|
|
58305
58306
|
lookPoint: v1,
|
|
58306
58307
|
nextFrame: da,
|
|
@@ -58334,7 +58335,7 @@ export {
|
|
|
58334
58335
|
Tr as DIRECTION,
|
|
58335
58336
|
Mo as DISPLAY_STRATEGY_TYPE,
|
|
58336
58337
|
b8 as DimensionType,
|
|
58337
|
-
|
|
58338
|
+
Fs as FLOOR_PLAN_ATTACHED_TO,
|
|
58338
58339
|
WT as FLOOR_TYPE_MAP,
|
|
58339
58340
|
NT as FloorplanGuidePlugin,
|
|
58340
58341
|
SL as GuideLineItem,
|
|
@@ -58359,7 +58360,7 @@ export {
|
|
|
58359
58360
|
CL as Object3DHelperPlugin,
|
|
58360
58361
|
tu as PLUGIN,
|
|
58361
58362
|
gT as PaintBrush,
|
|
58362
|
-
|
|
58363
|
+
ts as PaintBrushTypeEnum,
|
|
58363
58364
|
KT as PanoCompassPlugin,
|
|
58364
58365
|
bT as PanoCursorRaycasterPlugin,
|
|
58365
58366
|
gL as PanoDoorLabelPlugin,
|