@realsee/dnalogel 2.3.0 → 2.3.1
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 +13 -13
- package/dist/index.js +117 -116
- package/dist/index.umd.js +13 -13
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import { FBXLoader as Ur } from "three/examples/jsm/loaders/FBXLoader";
|
|
|
38
38
|
import vn from "hammerjs";
|
|
39
39
|
import Ze from "classnames";
|
|
40
40
|
import zl from "polyline-normals";
|
|
41
|
-
import
|
|
41
|
+
import St from "object-assign-deep";
|
|
42
42
|
import wo from "animejs";
|
|
43
43
|
import Ti, { Autoplay as Ml } from "swiper";
|
|
44
44
|
import "swiper/css";
|
|
@@ -1205,17 +1205,18 @@ function Kr(i) {
|
|
|
1205
1205
|
});
|
|
1206
1206
|
});
|
|
1207
1207
|
}
|
|
1208
|
-
const
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1208
|
+
const At = document.createElement("div");
|
|
1209
|
+
At.style.position = "absolute";
|
|
1210
|
+
At.style.top = "0";
|
|
1211
|
+
At.style.left = "0";
|
|
1212
|
+
At.style.width = "100%";
|
|
1213
|
+
At.style.height = "100%";
|
|
1214
|
+
At.style.pointerEvents = "none";
|
|
1214
1215
|
function $r(i) {
|
|
1215
1216
|
var e, n;
|
|
1216
1217
|
const t = (n = ko(i.getElement())) != null ? n : ko((e = i.getElement()) == null ? void 0 : e.parentElement);
|
|
1217
1218
|
if (t != null && t.parentElement)
|
|
1218
|
-
return t.parentElement.insertBefore(
|
|
1219
|
+
return t.parentElement.insertBefore(At, t), At;
|
|
1219
1220
|
console.error(
|
|
1220
1221
|
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/blob/main/plugins/src/PanoTagPlugin/README.md"
|
|
1221
1222
|
);
|
|
@@ -1374,7 +1375,7 @@ function et(i, t) {
|
|
|
1374
1375
|
function oc(i) {
|
|
1375
1376
|
return Object.keys(i).length === 0;
|
|
1376
1377
|
}
|
|
1377
|
-
function
|
|
1378
|
+
function xt(i, t, e, n) {
|
|
1378
1379
|
if (i) {
|
|
1379
1380
|
const o = ta(i, t, e, n);
|
|
1380
1381
|
return i[0](o);
|
|
@@ -1383,7 +1384,7 @@ function It(i, t, e, n) {
|
|
|
1383
1384
|
function ta(i, t, e, n) {
|
|
1384
1385
|
return i[1] && n ? ye(e.ctx.slice(), i[1](n(t))) : e.ctx;
|
|
1385
1386
|
}
|
|
1386
|
-
function
|
|
1387
|
+
function kt(i, t, e, n) {
|
|
1387
1388
|
if (i[2] && n) {
|
|
1388
1389
|
const o = i[2](n(e));
|
|
1389
1390
|
if (t.dirty === void 0)
|
|
@@ -1398,13 +1399,13 @@ function xt(i, t, e, n) {
|
|
|
1398
1399
|
}
|
|
1399
1400
|
return t.dirty;
|
|
1400
1401
|
}
|
|
1401
|
-
function
|
|
1402
|
+
function Dt(i, t, e, n, o, s) {
|
|
1402
1403
|
if (o) {
|
|
1403
1404
|
const r = ta(t, e, n, s);
|
|
1404
1405
|
i.p(r, o);
|
|
1405
1406
|
}
|
|
1406
1407
|
}
|
|
1407
|
-
function
|
|
1408
|
+
function Lt(i) {
|
|
1408
1409
|
if (i.ctx.length > 32) {
|
|
1409
1410
|
const t = [], e = i.ctx.length / 32;
|
|
1410
1411
|
for (let n = 0; n < e; n++)
|
|
@@ -1533,7 +1534,7 @@ function ac() {
|
|
|
1533
1534
|
}
|
|
1534
1535
|
return xn;
|
|
1535
1536
|
}
|
|
1536
|
-
function
|
|
1537
|
+
function yt(i, t) {
|
|
1537
1538
|
getComputedStyle(i).position === "static" && (i.style.position = "relative");
|
|
1538
1539
|
const n = Q("iframe");
|
|
1539
1540
|
n.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
|
@@ -1637,7 +1638,7 @@ function Ye(i) {
|
|
|
1637
1638
|
function to(i) {
|
|
1638
1639
|
Rt().$$.after_update.push(i);
|
|
1639
1640
|
}
|
|
1640
|
-
function
|
|
1641
|
+
function wt(i) {
|
|
1641
1642
|
Rt().$$.on_destroy.push(i);
|
|
1642
1643
|
}
|
|
1643
1644
|
function uc() {
|
|
@@ -2023,7 +2024,7 @@ function Pc(i) {
|
|
|
2023
2024
|
T(l, t, c);
|
|
2024
2025
|
for (let d = 0; d < e.length; d += 1)
|
|
2025
2026
|
e[d].m(t, null);
|
|
2026
|
-
o =
|
|
2027
|
+
o = yt(t, i[6].bind(t)), s = !0;
|
|
2027
2028
|
},
|
|
2028
2029
|
p(l, [c]) {
|
|
2029
2030
|
c & 3 && (r = l[0], le(), e = Ue(e, c, a, 1, l, r, n, t, lt, zo, null, So), ce());
|
|
@@ -2083,7 +2084,7 @@ function Ic(i, t, e) {
|
|
|
2083
2084
|
function p(A) {
|
|
2084
2085
|
e(4, l = A);
|
|
2085
2086
|
}
|
|
2086
|
-
o.on("cameraUpdate", u), o.on("modelShownFloorChange", p),
|
|
2087
|
+
o.on("cameraUpdate", u), o.on("modelShownFloorChange", p), wt(() => {
|
|
2087
2088
|
o.off("cameraUpdate", u), o.off("modelShownFloorChange", p);
|
|
2088
2089
|
});
|
|
2089
2090
|
function m() {
|
|
@@ -2177,7 +2178,7 @@ const Y0 = (i) => new Dc(i), U0 = {
|
|
|
2177
2178
|
name: "ModelRoomLabelPlugin",
|
|
2178
2179
|
version: 0
|
|
2179
2180
|
};
|
|
2180
|
-
var
|
|
2181
|
+
var zt = /* @__PURE__ */ ((i) => (i[i.FLOOR = 1] = "FLOOR", i[i.CEILING = 2] = "CEILING", i[i.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", i))(zt || {});
|
|
2181
2182
|
function $n(i) {
|
|
2182
2183
|
return J(this, null, function* () {
|
|
2183
2184
|
try {
|
|
@@ -2277,7 +2278,7 @@ function ti(i, { delay: t = 0, speed: e, duration: n, easing: o = Zt } = {}) {
|
|
|
2277
2278
|
css: (a, l) => `stroke-dasharray: ${a * s} ${l * s}`
|
|
2278
2279
|
};
|
|
2279
2280
|
}
|
|
2280
|
-
const
|
|
2281
|
+
const vt = "data:image/png;base64,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";
|
|
2281
2282
|
function Bc(i) {
|
|
2282
2283
|
return i * 180 / Math.PI;
|
|
2283
2284
|
}
|
|
@@ -2288,13 +2289,13 @@ function Qc(i) {
|
|
|
2288
2289
|
let t, e;
|
|
2289
2290
|
return {
|
|
2290
2291
|
c() {
|
|
2291
|
-
t = Q("div"), e = Q("div"), b(e, "class", "floorplan__camera-rotate svelte-17cl35n"), O(e, "background-image", `url(${i[0] ||
|
|
2292
|
+
t = Q("div"), e = Q("div"), b(e, "class", "floorplan__camera-rotate svelte-17cl35n"), O(e, "background-image", `url(${i[0] || vt})`), O(e, "width", i[4]), O(e, "height", i[4]), O(e, "left", "-" + i[4]), O(e, "top", "-" + i[4]), O(e, "transform", `rotate(${i[3]}deg)`), O(e, "transform-origin", `${i[4]} ${i[4]}`), b(t, "class", "floorplan__camera-position svelte-17cl35n"), O(t, "left", i[1]), O(t, "top", i[2]);
|
|
2292
2293
|
},
|
|
2293
2294
|
m(n, o) {
|
|
2294
2295
|
T(n, t, o), H(t, e);
|
|
2295
2296
|
},
|
|
2296
2297
|
p(n, [o]) {
|
|
2297
|
-
o & 1 && O(e, "background-image", `url(${n[0] ||
|
|
2298
|
+
o & 1 && O(e, "background-image", `url(${n[0] || vt})`);
|
|
2298
2299
|
},
|
|
2299
2300
|
i: ee,
|
|
2300
2301
|
o: ee,
|
|
@@ -2766,7 +2767,7 @@ function Bo(i) {
|
|
|
2766
2767
|
T(l, t, c);
|
|
2767
2768
|
for (let d = 0; d < e.length; d += 1)
|
|
2768
2769
|
e[d].m(t, null);
|
|
2769
|
-
o =
|
|
2770
|
+
o = yt(t, i[9].bind(t)), s = !0;
|
|
2770
2771
|
},
|
|
2771
2772
|
p(l, c) {
|
|
2772
2773
|
c & 111 && (r = l[6], le(), e = Ue(e, c, a, 1, l, r, n, t, lt, jo, null, To), ce());
|
|
@@ -4200,7 +4201,7 @@ function lu(i) {
|
|
|
4200
4201
|
floorIndex: i.floor_index
|
|
4201
4202
|
};
|
|
4202
4203
|
}
|
|
4203
|
-
function
|
|
4204
|
+
function bt(i) {
|
|
4204
4205
|
return J(this, null, function* () {
|
|
4205
4206
|
const t = yield ou(i.outlines), e = i.computed_data.bounding, n = i.computed_data.floor_datas.map(ru), o = i.computed_data.entrance ? lu(i.computed_data.entrance) : null;
|
|
4206
4207
|
return {
|
|
@@ -4237,9 +4238,9 @@ function ts(i, t) {
|
|
|
4237
4238
|
...i.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
|
|
4238
4239
|
);
|
|
4239
4240
|
}
|
|
4240
|
-
function so(i, t, e =
|
|
4241
|
+
function so(i, t, e = zt.BOUNDING_CENTER) {
|
|
4241
4242
|
const n = ts(i, t), o = ts(i, t + 1);
|
|
4242
|
-
return e ===
|
|
4243
|
+
return e === zt.BOUNDING_CENTER ? (i.model.bounding.max.y + i.model.bounding.min.y) / 2 : e === zt.CEILING ? o : n;
|
|
4243
4244
|
}
|
|
4244
4245
|
function ro(i, t, e, n) {
|
|
4245
4246
|
const o = so(i, e, n == null ? void 0 : n.attachedTo), s = new E.Vector3(0, o, 0), r = new E.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
|
|
@@ -4498,8 +4499,8 @@ class mu extends Ot {
|
|
|
4498
4499
|
ruleLabelsEnable: !0,
|
|
4499
4500
|
roomLabelsEnable: !0,
|
|
4500
4501
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
4501
|
-
cameraImageUrl:
|
|
4502
|
-
attachedTo:
|
|
4502
|
+
cameraImageUrl: vt,
|
|
4503
|
+
attachedTo: zt.BOUNDING_CENTER,
|
|
4503
4504
|
getLabelElement: void 0,
|
|
4504
4505
|
getRoomAreaText: (l) => (l / 1e6).toFixed(1) + "\u33A1",
|
|
4505
4506
|
getRuleDistanceText: (l) => l.toString()
|
|
@@ -4518,7 +4519,7 @@ class mu extends Ot {
|
|
|
4518
4519
|
const r = e;
|
|
4519
4520
|
r && !r.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
|
|
4520
4521
|
const a = JSON.parse(JSON.stringify(e)), l = s(a) ? a.data : a, c = this.data;
|
|
4521
|
-
this.data = yield
|
|
4522
|
+
this.data = yield bt(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), n && this.updateState(n, o), this.render();
|
|
4522
4523
|
});
|
|
4523
4524
|
}
|
|
4524
4525
|
appendTo(e) {
|
|
@@ -4550,7 +4551,7 @@ class mu extends Ot {
|
|
|
4550
4551
|
}
|
|
4551
4552
|
formatData(e) {
|
|
4552
4553
|
return J(this, null, function* () {
|
|
4553
|
-
return yield
|
|
4554
|
+
return yield bt(e.data);
|
|
4554
4555
|
});
|
|
4555
4556
|
}
|
|
4556
4557
|
updateState(e, n) {
|
|
@@ -4767,8 +4768,8 @@ class Au extends Ot {
|
|
|
4767
4768
|
autoShowEnable: !0,
|
|
4768
4769
|
ruleLabelsEnable: !0,
|
|
4769
4770
|
roomLabelsEnable: !0,
|
|
4770
|
-
cameraImageUrl:
|
|
4771
|
-
attachedTo:
|
|
4771
|
+
cameraImageUrl: vt,
|
|
4772
|
+
attachedTo: zt.BOUNDING_CENTER,
|
|
4772
4773
|
getLabelElement: void 0,
|
|
4773
4774
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
4774
4775
|
getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
|
|
@@ -4788,7 +4789,7 @@ class Au extends Ot {
|
|
|
4788
4789
|
const r = e;
|
|
4789
4790
|
r && !r.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
|
|
4790
4791
|
const a = JSON.parse(JSON.stringify(e)), l = s(a) ? a.data : a, c = this.data;
|
|
4791
|
-
this.data = yield
|
|
4792
|
+
this.data = yield bt(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), n && this.updateState(n, o), this.render();
|
|
4792
4793
|
});
|
|
4793
4794
|
}
|
|
4794
4795
|
appendTo(e) {
|
|
@@ -4827,7 +4828,7 @@ class Au extends Ot {
|
|
|
4827
4828
|
}
|
|
4828
4829
|
formatData(e) {
|
|
4829
4830
|
return J(this, null, function* () {
|
|
4830
|
-
return yield
|
|
4831
|
+
return yield bt(e.data);
|
|
4831
4832
|
});
|
|
4832
4833
|
}
|
|
4833
4834
|
updateState(e, n) {
|
|
@@ -4952,8 +4953,8 @@ class vu extends Ot {
|
|
|
4952
4953
|
autoShowEnable: !0,
|
|
4953
4954
|
ruleLabelsEnable: !0,
|
|
4954
4955
|
roomLabelsEnable: !0,
|
|
4955
|
-
cameraImageUrl:
|
|
4956
|
-
attachedTo:
|
|
4956
|
+
cameraImageUrl: vt,
|
|
4957
|
+
attachedTo: zt.BOUNDING_CENTER,
|
|
4957
4958
|
getLabelElement: void 0,
|
|
4958
4959
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
4959
4960
|
getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
|
|
@@ -4973,7 +4974,7 @@ class vu extends Ot {
|
|
|
4973
4974
|
const r = e;
|
|
4974
4975
|
r && !r.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
|
|
4975
4976
|
const a = JSON.parse(JSON.stringify(e)), l = s(a) ? a.data : a, c = this.data;
|
|
4976
|
-
this.data = yield
|
|
4977
|
+
this.data = yield bt(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), n && this.updateState(n, o), this.render();
|
|
4977
4978
|
});
|
|
4978
4979
|
}
|
|
4979
4980
|
updatePosition() {
|
|
@@ -5032,7 +5033,7 @@ class vu extends Ot {
|
|
|
5032
5033
|
}
|
|
5033
5034
|
formatData(e) {
|
|
5034
5035
|
return J(this, null, function* () {
|
|
5035
|
-
return yield
|
|
5036
|
+
return yield bt(e.data);
|
|
5036
5037
|
});
|
|
5037
5038
|
}
|
|
5038
5039
|
_show(e) {
|
|
@@ -5117,13 +5118,13 @@ function yu(i) {
|
|
|
5117
5118
|
let t, e, n;
|
|
5118
5119
|
return {
|
|
5119
5120
|
c() {
|
|
5120
|
-
t = Q("div"), e = Q("div"), n = Q("div"), b(n, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), O(n, "background-image", "url(" + (i[0] ||
|
|
5121
|
+
t = Q("div"), e = Q("div"), n = Q("div"), b(n, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), O(n, "background-image", "url(" + (i[0] || vt) + ")"), O(n, "transform", i[1]), b(e, "class", "plugin-radar__camera-position svelte-1nqrlxd"), O(e, "transform", i[2]), b(t, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
|
|
5121
5122
|
},
|
|
5122
5123
|
m(o, s) {
|
|
5123
5124
|
T(o, t, s), H(t, e), H(e, n);
|
|
5124
5125
|
},
|
|
5125
5126
|
p(o, [s]) {
|
|
5126
|
-
s & 1 && O(n, "background-image", "url(" + (o[0] ||
|
|
5127
|
+
s & 1 && O(n, "background-image", "url(" + (o[0] || vt) + ")"), s & 2 && O(n, "transform", o[1]), s & 4 && O(e, "transform", o[2]);
|
|
5127
5128
|
},
|
|
5128
5129
|
i: ee,
|
|
5129
5130
|
o: ee,
|
|
@@ -5388,7 +5389,7 @@ function ss(i) {
|
|
|
5388
5389
|
t = Q("div"), o && o.c(), b(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), Ie(() => i[12].call(t));
|
|
5389
5390
|
},
|
|
5390
5391
|
m(s, r) {
|
|
5391
|
-
T(s, t, r), o && o.m(t, null), e =
|
|
5392
|
+
T(s, t, r), o && o.m(t, null), e = yt(t, i[12].bind(t)), n = !0;
|
|
5392
5393
|
},
|
|
5393
5394
|
p(s, r) {
|
|
5394
5395
|
s[6] !== 0 ? o ? (o.p(s, r), r & 64 && k(o, 1)) : (o = rs(s), o.c(), k(o, 1), o.m(t, null)) : o && (le(), M(o, 1, 1, () => {
|
|
@@ -5578,7 +5579,7 @@ class ju extends Ot {
|
|
|
5578
5579
|
this.five = e;
|
|
5579
5580
|
const o = {
|
|
5580
5581
|
hoverEnable: !1,
|
|
5581
|
-
cameraImageUrl:
|
|
5582
|
+
cameraImageUrl: vt
|
|
5582
5583
|
}, s = n != null && n.configs ? n.configs : {}, r = G(G({}, o), s);
|
|
5583
5584
|
this.state = { enabled: !0, visible: !0, config: r }, n != null && n.wrapper && console.warn("\u4E0D\u63A8\u8350\u7EE7\u7EED\u4F7F\u7528 params.selector \u914D\u7F6E\u7236\u5BB9\u5668\uFF0C\u8BF7\u4F7F\u7528 appendTo \u65B9\u6CD5"), typeof (n == null ? void 0 : n.wrapper) == "string" ? this.wrapperSelector = n.wrapper : (n == null ? void 0 : n.wrapper) instanceof Element && (this.wrapper = n.wrapper), e.once("dispose", this.dispose);
|
|
5584
5585
|
}
|
|
@@ -5588,7 +5589,7 @@ class ju extends Ot {
|
|
|
5588
5589
|
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
5589
5590
|
}
|
|
5590
5591
|
const r = JSON.parse(JSON.stringify(e)), a = s(r) ? r.data : r, l = this.data;
|
|
5591
|
-
this.data = yield
|
|
5592
|
+
this.data = yield bt(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), n && this.updateState(n, o), this.render();
|
|
5592
5593
|
});
|
|
5593
5594
|
}
|
|
5594
5595
|
show() {
|
|
@@ -5641,7 +5642,7 @@ class ju extends Ot {
|
|
|
5641
5642
|
}
|
|
5642
5643
|
formatData(e) {
|
|
5643
5644
|
return J(this, null, function* () {
|
|
5644
|
-
return yield
|
|
5645
|
+
return yield bt(e.data);
|
|
5645
5646
|
});
|
|
5646
5647
|
}
|
|
5647
5648
|
_enable(e) {
|
|
@@ -6380,8 +6381,8 @@ const Uu = `<style type="text/css">
|
|
|
6380
6381
|
Math.pow(dt.x - ue, 2) + Math.pow(dt.y - me, 2)
|
|
6381
6382
|
) / se * 100;
|
|
6382
6383
|
}
|
|
6383
|
-
const
|
|
6384
|
-
ct >= se || ct / 2 >= be / 100 * se || ct / 2 >= (1 - be / 100) * se ? R.style.display = "none" : (R.style.display = "block", R.style.width = se + "px", R.style.left = ue + "px", R.style.top = me + "px", R.style.transform = `rotate(${-
|
|
6384
|
+
const Ct = (Math.PI / 2 - Math.atan2(ke - ue, me - He)) / Math.PI * 180, ge = R.querySelector(".PanoRulerPlugin-rule-label"), ct = ge.children[0].clientWidth;
|
|
6385
|
+
ct >= se || ct / 2 >= be / 100 * se || ct / 2 >= (1 - be / 100) * se ? R.style.display = "none" : (R.style.display = "block", R.style.width = se + "px", R.style.left = ue + "px", R.style.top = me + "px", R.style.transform = `rotate(${-Ct}deg)`, ge.style.left = `${be}%`);
|
|
6385
6386
|
}
|
|
6386
6387
|
}, h = () => ka(d), u = () => {
|
|
6387
6388
|
var g, A;
|
|
@@ -6492,7 +6493,7 @@ function Ku(i) {
|
|
|
6492
6493
|
t = Q("div"), g.c(), e = V(), n = Q("div"), o = Q("div"), r = xe(s), b(o, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), Ie(() => i[4].call(o)), b(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), O(n, "left", l), b(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), O(t, "width", c), O(t, "left", d), O(t, "top", h), O(t, "transform", u), O(t, "display", i[0].visible && i[2] ? "block" : "none");
|
|
6493
6494
|
},
|
|
6494
6495
|
m(A, v) {
|
|
6495
|
-
T(A, t, v), g.m(t, null), H(t, e), H(t, n), H(n, o), H(o, r), a =
|
|
6496
|
+
T(A, t, v), g.m(t, null), H(t, e), H(t, n), H(n, o), H(o, r), a = yt(o, i[4].bind(o));
|
|
6496
6497
|
},
|
|
6497
6498
|
p(A, [v]) {
|
|
6498
6499
|
m === (m = p(A)) && g ? g.p(A, v) : (g.d(1), g = m(A), g && (g.c(), g.m(t, e))), v & 1 && s !== (s = A[0].labelElement + "") && Me(r, s), v & 1 && l !== (l = `${A[0].labelOffset}%`) && O(n, "left", l), v & 1 && c !== (c = `${A[0].width}px`) && O(t, "width", c), v & 1 && d !== (d = `${A[0].left}px`) && O(t, "left", d), v & 1 && h !== (h = `${A[0].top}px`) && O(t, "top", h), v & 1 && u !== (u = `rotate(${A[0].rotateDeg}deg)`) && O(t, "transform", u), v & 5 && O(t, "display", A[0].visible && A[2] ? "block" : "none");
|
|
@@ -6677,7 +6678,7 @@ function nh(i, t, e) {
|
|
|
6677
6678
|
}, p = () => ui(u), m = lo(u, 80);
|
|
6678
6679
|
return Ye(() => {
|
|
6679
6680
|
u(), n.on("panoArrived", u), n.on("modeChange", u), n.on("cameraDirectionUpdate", p), n.on("movingToPano", p), n.on("mouseWheel", () => m()), n.on("pinchGesture", () => m());
|
|
6680
|
-
}),
|
|
6681
|
+
}), wt(() => {
|
|
6681
6682
|
n.off("panoArrived", u), n.off("modeChange", u), n.off("cameraDirectionUpdate", p), n.off("movingToPano", p), n.off("mouseWheel", () => m()), n.off("pinchGesture", () => m());
|
|
6682
6683
|
}), i.$$set = (w) => {
|
|
6683
6684
|
"five" in w && e(1, n = w.five), "rulerDatas" in w && e(2, o = w.rulerDatas), "options" in w && e(3, s = w.options);
|
|
@@ -8863,7 +8864,7 @@ function hf(i, t, e) {
|
|
|
8863
8864
|
});
|
|
8864
8865
|
to(() => {
|
|
8865
8866
|
e(7, m = A.offsetWidth), e(8, g = A.offsetHeight), !C && e(10, v = !d);
|
|
8866
|
-
}),
|
|
8867
|
+
}), wt(() => {
|
|
8867
8868
|
p.emit("destroyTag", { id: n }), x(), h();
|
|
8868
8869
|
});
|
|
8869
8870
|
function D(y) {
|
|
@@ -9089,11 +9090,11 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9089
9090
|
return;
|
|
9090
9091
|
const be = ve.longitude - i.state.longitude, re = i.camera.clone();
|
|
9091
9092
|
re.position.copy(ve.offset), re.rotateOnWorldAxis(new E.Vector3(0, 1, 0), be), re.updateProjectionMatrix(), re.updateMatrixWorld(!0);
|
|
9092
|
-
const it = new E.Frustum(),
|
|
9093
|
-
|
|
9093
|
+
const it = new E.Frustum(), Ct = new E.Matrix4();
|
|
9094
|
+
Ct.multiplyMatrices(
|
|
9094
9095
|
re.projectionMatrix,
|
|
9095
9096
|
re.matrixWorldInverse
|
|
9096
|
-
), it.setFromProjectionMatrix(
|
|
9097
|
+
), it.setFromProjectionMatrix(Ct), g.tags.forEach((ge) => {
|
|
9097
9098
|
const ct = re.position.clone().setY(n).distanceTo(ge.position);
|
|
9098
9099
|
if (ct < c || ct > d || !it.containsPoint(ge.position))
|
|
9099
9100
|
return ge.destroying = !0;
|
|
@@ -9140,11 +9141,11 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9140
9141
|
se.length && (g.tags = g.tags.concat(se), D());
|
|
9141
9142
|
}, o));
|
|
9142
9143
|
}, L = () => {
|
|
9143
|
-
const { clientWidth: se, clientHeight: ve } = i.getElement(), be = [], re = i.camera, it = new E.Frustum(),
|
|
9144
|
-
|
|
9144
|
+
const { clientWidth: se, clientHeight: ve } = i.getElement(), be = [], re = i.camera, it = new E.Frustum(), Ct = new E.Matrix4(), ge = re.getWorldDirection(new E.Vector3());
|
|
9145
|
+
Ct.multiplyMatrices(
|
|
9145
9146
|
re.projectionMatrix,
|
|
9146
9147
|
re.matrixWorldInverse
|
|
9147
|
-
), it.setFromProjectionMatrix(
|
|
9148
|
+
), it.setFromProjectionMatrix(Ct);
|
|
9148
9149
|
const ct = g.tags.filter(
|
|
9149
9150
|
(De) => it.containsPoint(De.position) && !De.destroying
|
|
9150
9151
|
).length, dt = g.points.reduce((De, Oe) => {
|
|
@@ -9160,13 +9161,13 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9160
9161
|
if (!g.tags.every((Se) => {
|
|
9161
9162
|
if (Se.position.clone().sub(re.position).setY(0).angleTo(ge.setY(0)) > Math.PI / 2)
|
|
9162
9163
|
return !0;
|
|
9163
|
-
const
|
|
9164
|
+
const Pt = Se.position.clone().project(re);
|
|
9164
9165
|
return Math.sqrt(
|
|
9165
|
-
Math.pow((Ft.x -
|
|
9166
|
+
Math.pow((Ft.x - Pt.x) / 2 * se, 2) + Math.pow((Ft.y - Pt.y) / 2 * ve, 2)
|
|
9166
9167
|
) > a;
|
|
9167
9168
|
}))
|
|
9168
9169
|
return De;
|
|
9169
|
-
const
|
|
9170
|
+
const Et = {
|
|
9170
9171
|
id: Oe.id,
|
|
9171
9172
|
position: Oe.position,
|
|
9172
9173
|
normal: Oe.normal,
|
|
@@ -9175,18 +9176,18 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9175
9176
|
distance: Ve
|
|
9176
9177
|
};
|
|
9177
9178
|
let Ce;
|
|
9178
|
-
for (let Se = 0,
|
|
9179
|
+
for (let Se = 0, Pt = De.length; Se < Pt; Se++) {
|
|
9179
9180
|
const yn = De[Se];
|
|
9180
|
-
if (
|
|
9181
|
+
if (Et.weight > yn.weight) {
|
|
9181
9182
|
Ce = Se;
|
|
9182
9183
|
break;
|
|
9183
9184
|
}
|
|
9184
|
-
if (
|
|
9185
|
+
if (Et.distance < yn.distance) {
|
|
9185
9186
|
Ce = Se;
|
|
9186
9187
|
break;
|
|
9187
9188
|
}
|
|
9188
9189
|
}
|
|
9189
|
-
return Ce !== void 0 ? De.splice(Ce, 0,
|
|
9190
|
+
return Ce !== void 0 ? De.splice(Ce, 0, Et) : De.push(Et), De;
|
|
9190
9191
|
}, []);
|
|
9191
9192
|
for (let De = 0, Oe = dt.length; De < Oe && !(ct + be.length >= s); De++) {
|
|
9192
9193
|
const Ve = dt[De];
|
|
@@ -9207,9 +9208,9 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9207
9208
|
Ve.position.clone().sub(re.position.clone().setY(n)).normalize(),
|
|
9208
9209
|
0,
|
|
9209
9210
|
Ve.distance + xs
|
|
9210
|
-
), [
|
|
9211
|
-
if (!!
|
|
9212
|
-
const { position: Ce, normal: Se, id:
|
|
9211
|
+
), [Et] = g.intersectObjects ? Ft.intersectObjects(g.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(Ft) : Ft.intersectObjects(i.model.children, !0);
|
|
9212
|
+
if (!!Et && Ve.distance - Et.distance < xs) {
|
|
9213
|
+
const { position: Ce, normal: Se, id: Pt, replacement: yn } = Ve, sl = new E.Plane().setFromNormalAndCoplanarPoint(Se, Ce), vo = Ce.clone().sub(re.position).cross(new E.Vector3(0, 1, 0)).setLength(Ii), rl = [
|
|
9213
9214
|
Ce.clone(),
|
|
9214
9215
|
Ce.clone().add(vo),
|
|
9215
9216
|
Ce.clone().add(new E.Vector3(0, Ii, 0)).add(vo),
|
|
@@ -9217,7 +9218,7 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9217
9218
|
].map((dl) => sl.projectPoint(dl, new E.Vector3())), { container: al, dispose: ll } = h.create3DDomContainer(rl) || {}, cl = new ff({
|
|
9218
9219
|
target: al,
|
|
9219
9220
|
props: {
|
|
9220
|
-
id:
|
|
9221
|
+
id: Pt,
|
|
9221
9222
|
content: g.render(g.template, yn),
|
|
9222
9223
|
lineWidthZoom: 0.38 * (0.01 + re.position.distanceTo(Ce) / d),
|
|
9223
9224
|
lineHeightZoom: 0.4 + (re.position.distanceTo(Ce) - c) / d * 0.6,
|
|
@@ -9232,7 +9233,7 @@ const Ii = 1e-3, xs = 0.01, bf = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9232
9233
|
be.push({
|
|
9233
9234
|
position: Ce,
|
|
9234
9235
|
normal: Se,
|
|
9235
|
-
id:
|
|
9236
|
+
id: Pt,
|
|
9236
9237
|
app: cl
|
|
9237
9238
|
});
|
|
9238
9239
|
}
|
|
@@ -9399,7 +9400,7 @@ function If(i) {
|
|
|
9399
9400
|
T(l, t, c);
|
|
9400
9401
|
for (let d = 0; d < e.length; d += 1)
|
|
9401
9402
|
e[d].m(t, null);
|
|
9402
|
-
o =
|
|
9403
|
+
o = yt(t, i[9].bind(t)), s = !0;
|
|
9403
9404
|
},
|
|
9404
9405
|
p(l, [c]) {
|
|
9405
9406
|
c & 3 && (r = l[1], le(), e = Ue(e, c, a, 1, l, r, n, t, lt, Ds, null, ks), ce()), c & 16 && O(t, "opacity", l[4] ? 1 : 0);
|
|
@@ -9493,7 +9494,7 @@ function kf(i, t, e) {
|
|
|
9493
9494
|
}, F = () => {
|
|
9494
9495
|
s.once("renderFrame", y);
|
|
9495
9496
|
};
|
|
9496
|
-
|
|
9497
|
+
wt(() => {
|
|
9497
9498
|
s.off("cameraUpdate", L), window.removeEventListener("resize", F, !1);
|
|
9498
9499
|
});
|
|
9499
9500
|
function Y() {
|
|
@@ -10009,7 +10010,7 @@ function Gf(i) {
|
|
|
10009
10010
|
T(l, t, c);
|
|
10010
10011
|
for (let d = 0; d < e.length; d += 1)
|
|
10011
10012
|
e[d].m(t, null);
|
|
10012
|
-
o =
|
|
10013
|
+
o = yt(t, i[12].bind(t)), s = !0;
|
|
10013
10014
|
},
|
|
10014
10015
|
p(l, c) {
|
|
10015
10016
|
c[0] & 71 && (r = l[1], le(), e = Ue(e, c, a, 1, l, r, n, t, lt, js, null, Ts), ce()), c[0] & 32 && O(t, "opacity", l[5] ? 1 : 0);
|
|
@@ -10127,7 +10128,7 @@ function Wf(i, t, e) {
|
|
|
10127
10128
|
F();
|
|
10128
10129
|
}), Ye(() => {
|
|
10129
10130
|
e(1, u = Ms(a)), h = a, y(), B(), s.on("cameraUpdate", L);
|
|
10130
|
-
}),
|
|
10131
|
+
}), wt(() => {
|
|
10131
10132
|
s.off("cameraUpdate", L), window.removeEventListener("resize", j, !1);
|
|
10132
10133
|
});
|
|
10133
10134
|
function S() {
|
|
@@ -11962,7 +11963,7 @@ function $s(i) {
|
|
|
11962
11963
|
$(t.$$.fragment), e = V(), n = Q("div"), $(o.$$.fragment), s = V(), r = Q("div"), $(a.$$.fragment), b(n, "class", "line svelte-18yy5x8"), O(n, "width", i[3] + "px"), b(r, "class", "content svelte-18yy5x8"), Ie(() => i[8].call(r));
|
|
11963
11964
|
},
|
|
11964
11965
|
m(m, g) {
|
|
11965
|
-
q(t, m, g), T(m, e, g), T(m, n, g), q(o, n, null), T(m, s, g), T(m, r, g), q(a, r, null), l =
|
|
11966
|
+
q(t, m, g), T(m, e, g), T(m, n, g), q(o, n, null), T(m, s, g), T(m, r, g), q(a, r, null), l = yt(r, i[8].bind(r)), c = !0, d || (h = Ee(r, "click", i[6]), d = !0);
|
|
11966
11967
|
},
|
|
11967
11968
|
p(m, g) {
|
|
11968
11969
|
var w, x;
|
|
@@ -12402,9 +12403,9 @@ function lr(i) {
|
|
|
12402
12403
|
}
|
|
12403
12404
|
function ap(i) {
|
|
12404
12405
|
let t, e, n, o, s, r, a = Xi(i[2]), l, c = Ui(i[2]), d, h = Yi(i[2]), u, p, m;
|
|
12405
|
-
const g = i[12]["container-start"], A =
|
|
12406
|
+
const g = i[12]["container-start"], A = xt(g, i, i[11], sr), v = i[12]["wrapper-start"], C = xt(v, i, i[11], or), w = i[12].default, x = xt(w, i, i[11], ir), D = i[12]["wrapper-end"], y = xt(D, i, i[11], nr);
|
|
12406
12407
|
let L = a && rr(i), P = c && ar(i), j = h && lr(i);
|
|
12407
|
-
const B = i[12]["container-end"], F =
|
|
12408
|
+
const B = i[12]["container-end"], F = xt(B, i, i[11], tr);
|
|
12408
12409
|
let Y = [
|
|
12409
12410
|
{
|
|
12410
12411
|
class: p = oi(`${i[1]}${i[0] ? ` ${i[0]}` : ""}`)
|
|
@@ -12421,40 +12422,40 @@ function ap(i) {
|
|
|
12421
12422
|
T(S, t, R), A && A.m(t, null), H(t, e), H(t, n), C && C.m(n, null), H(n, o), x && x.m(n, null), H(n, s), y && y.m(n, null), H(t, r), L && L.m(t, null), H(t, l), P && P.m(t, null), H(t, d), j && j.m(t, null), H(t, u), F && F.m(t, null), i[17](t), m = !0;
|
|
12422
12423
|
},
|
|
12423
12424
|
p(S, [R]) {
|
|
12424
|
-
A && A.p && (!m || R & 2560) &&
|
|
12425
|
+
A && A.p && (!m || R & 2560) && Dt(
|
|
12425
12426
|
A,
|
|
12426
12427
|
g,
|
|
12427
12428
|
S,
|
|
12428
12429
|
S[11],
|
|
12429
|
-
m ?
|
|
12430
|
+
m ? kt(g, S[11], R, rp) : Lt(S[11]),
|
|
12430
12431
|
sr
|
|
12431
|
-
), C && C.p && (!m || R & 2560) &&
|
|
12432
|
+
), C && C.p && (!m || R & 2560) && Dt(
|
|
12432
12433
|
C,
|
|
12433
12434
|
v,
|
|
12434
12435
|
S,
|
|
12435
12436
|
S[11],
|
|
12436
|
-
m ?
|
|
12437
|
+
m ? kt(v, S[11], R, sp) : Lt(S[11]),
|
|
12437
12438
|
or
|
|
12438
|
-
), x && x.p && (!m || R & 2560) &&
|
|
12439
|
+
), x && x.p && (!m || R & 2560) && Dt(
|
|
12439
12440
|
x,
|
|
12440
12441
|
w,
|
|
12441
12442
|
S,
|
|
12442
12443
|
S[11],
|
|
12443
|
-
m ?
|
|
12444
|
+
m ? kt(w, S[11], R, op) : Lt(S[11]),
|
|
12444
12445
|
ir
|
|
12445
|
-
), y && y.p && (!m || R & 2560) &&
|
|
12446
|
+
), y && y.p && (!m || R & 2560) && Dt(
|
|
12446
12447
|
y,
|
|
12447
12448
|
D,
|
|
12448
12449
|
S,
|
|
12449
12450
|
S[11],
|
|
12450
|
-
m ?
|
|
12451
|
+
m ? kt(D, S[11], R, ip) : Lt(S[11]),
|
|
12451
12452
|
nr
|
|
12452
|
-
), R & 4 && (a = Xi(S[2])), a ? L ? L.p(S, R) : (L = rr(S), L.c(), L.m(t, l)) : L && (L.d(1), L = null), R & 4 && (c = Ui(S[2])), c ? P ? P.p(S, R) : (P = ar(S), P.c(), P.m(t, d)) : P && (P.d(1), P = null), R & 4 && (h = Yi(S[2])), h ? j ? j.p(S, R) : (j = lr(S), j.c(), j.m(t, u)) : j && (j.d(1), j = null), F && F.p && (!m || R & 2560) &&
|
|
12453
|
+
), R & 4 && (a = Xi(S[2])), a ? L ? L.p(S, R) : (L = rr(S), L.c(), L.m(t, l)) : L && (L.d(1), L = null), R & 4 && (c = Ui(S[2])), c ? P ? P.p(S, R) : (P = ar(S), P.c(), P.m(t, d)) : P && (P.d(1), P = null), R & 4 && (h = Yi(S[2])), h ? j ? j.p(S, R) : (j = lr(S), j.c(), j.m(t, u)) : j && (j.d(1), j = null), F && F.p && (!m || R & 2560) && Dt(
|
|
12453
12454
|
F,
|
|
12454
12455
|
B,
|
|
12455
12456
|
S,
|
|
12456
12457
|
S[11],
|
|
12457
|
-
m ?
|
|
12458
|
+
m ? kt(B, S[11], R, np) : Lt(S[11]),
|
|
12458
12459
|
tr
|
|
12459
12460
|
), Vn(t, I = Te(Y, [
|
|
12460
12461
|
(!m || R & 3 && p !== (p = oi(`${S[1]}${S[0] ? ` ${S[0]}` : ""}`))) && { class: p },
|
|
@@ -12538,7 +12539,7 @@ function lp(i, t, e) {
|
|
|
12538
12539
|
scrollbarEl: x,
|
|
12539
12540
|
paginationEl: D
|
|
12540
12541
|
}), d = !1, u = g;
|
|
12541
|
-
}),
|
|
12542
|
+
}), wt(() => {
|
|
12542
12543
|
typeof window != "undefined" && h && !h.destroyed && h.destroy(!0, !1);
|
|
12543
12544
|
});
|
|
12544
12545
|
function F(N) {
|
|
@@ -12600,7 +12601,7 @@ class cp extends oe {
|
|
|
12600
12601
|
const dp = (i) => ({ data: i & 32 }), cr = (i) => ({ data: i[5] }), up = (i) => ({ data: i & 32 }), dr = (i) => ({ data: i[5] });
|
|
12601
12602
|
function hp(i) {
|
|
12602
12603
|
let t;
|
|
12603
|
-
const e = i[8].default, n =
|
|
12604
|
+
const e = i[8].default, n = xt(e, i, i[7], cr);
|
|
12604
12605
|
return {
|
|
12605
12606
|
c() {
|
|
12606
12607
|
n && n.c();
|
|
@@ -12609,12 +12610,12 @@ function hp(i) {
|
|
|
12609
12610
|
n && n.m(o, s), t = !0;
|
|
12610
12611
|
},
|
|
12611
12612
|
p(o, s) {
|
|
12612
|
-
n && n.p && (!t || s & 160) &&
|
|
12613
|
+
n && n.p && (!t || s & 160) && Dt(
|
|
12613
12614
|
n,
|
|
12614
12615
|
e,
|
|
12615
12616
|
o,
|
|
12616
12617
|
o[7],
|
|
12617
|
-
t ?
|
|
12618
|
+
t ? kt(e, o[7], s, dp) : Lt(o[7]),
|
|
12618
12619
|
cr
|
|
12619
12620
|
);
|
|
12620
12621
|
},
|
|
@@ -12631,7 +12632,7 @@ function hp(i) {
|
|
|
12631
12632
|
}
|
|
12632
12633
|
function fp(i) {
|
|
12633
12634
|
let t, e, n;
|
|
12634
|
-
const o = i[8].default, s =
|
|
12635
|
+
const o = i[8].default, s = xt(o, i, i[7], dr);
|
|
12635
12636
|
return {
|
|
12636
12637
|
c() {
|
|
12637
12638
|
t = Q("div"), s && s.c(), b(t, "class", "swiper-zoom-container"), b(t, "data-swiper-zoom", e = typeof i[0] == "number" ? i[0] : void 0);
|
|
@@ -12640,12 +12641,12 @@ function fp(i) {
|
|
|
12640
12641
|
T(r, t, a), s && s.m(t, null), n = !0;
|
|
12641
12642
|
},
|
|
12642
12643
|
p(r, a) {
|
|
12643
|
-
s && s.p && (!n || a & 160) &&
|
|
12644
|
+
s && s.p && (!n || a & 160) && Dt(
|
|
12644
12645
|
s,
|
|
12645
12646
|
o,
|
|
12646
12647
|
r,
|
|
12647
12648
|
r[7],
|
|
12648
|
-
n ?
|
|
12649
|
+
n ? kt(o, r[7], a, up) : Lt(r[7]),
|
|
12649
12650
|
dr
|
|
12650
12651
|
), (!n || a & 1 && e !== (e = typeof r[0] == "number" ? r[0] : void 0)) && b(t, "data-swiper-zoom", e);
|
|
12651
12652
|
},
|
|
@@ -12737,7 +12738,7 @@ function pp(i, t, e) {
|
|
|
12737
12738
|
}
|
|
12738
12739
|
}), eo(() => {
|
|
12739
12740
|
A();
|
|
12740
|
-
}),
|
|
12741
|
+
}), wt(() => {
|
|
12741
12742
|
!p || v();
|
|
12742
12743
|
});
|
|
12743
12744
|
function C(w) {
|
|
@@ -13861,7 +13862,7 @@ function zr(i) {
|
|
|
13861
13862
|
t = Q("div"), $(e.$$.fragment), n = V(), o = Q("div"), $(s.$$.fragment), r = V(), a = Q("div"), l = Q("div"), c = Q("div"), $(d.$$.fragment), h = V(), u = Q("div"), $(p.$$.fragment), b(o, "class", "line svelte-4r8s18"), O(o, "width", i[2] + "px"), b(c, "class", "audio-icon svelte-4r8s18"), O(u, "display", "inline-block"), b(l, "class", "wrapper svelte-4r8s18"), b(a, "class", "content svelte-4r8s18"), Ie(() => i[8].call(a)), b(t, "class", "audio-tag svelte-4r8s18"), _(t, "unfolded", i[5]);
|
|
13862
13863
|
},
|
|
13863
13864
|
m(y, L) {
|
|
13864
|
-
T(y, t, L), q(e, t, null), H(t, n), H(t, o), q(s, o, null), H(t, r), H(t, a), H(a, l), H(l, c), q(d, c, null), H(l, h), H(l, u), q(p, u, null), m =
|
|
13865
|
+
T(y, t, L), q(e, t, null), H(t, n), H(t, o), q(s, o, null), H(t, r), H(t, a), H(a, l), H(l, c), q(d, c, null), H(l, h), H(l, u), q(p, u, null), m = yt(a, i[8].bind(a)), g = !0, A || (v = Ee(u, "click", i[6]), A = !0);
|
|
13865
13866
|
},
|
|
13866
13867
|
p(y, L) {
|
|
13867
13868
|
var Y, I, S, R;
|
|
@@ -14193,7 +14194,7 @@ function ig(i, t, e) {
|
|
|
14193
14194
|
s = a(o);
|
|
14194
14195
|
}
|
|
14195
14196
|
}
|
|
14196
|
-
}),
|
|
14197
|
+
}), wt(() => {
|
|
14197
14198
|
s == null || s();
|
|
14198
14199
|
});
|
|
14199
14200
|
function r(a) {
|
|
@@ -15108,13 +15109,13 @@ class Og extends Hg {
|
|
|
15108
15109
|
return n;
|
|
15109
15110
|
}
|
|
15110
15111
|
changeConfig(e, n = !0) {
|
|
15111
|
-
n ? this.config =
|
|
15112
|
+
n ? this.config = St({}, this.config, e) : this.config = e, this.clearCache();
|
|
15112
15113
|
}
|
|
15113
15114
|
changeGlobalConfig(e, n = !0) {
|
|
15114
|
-
n ? this.config.globalConfig =
|
|
15115
|
+
n ? this.config.globalConfig = St({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.clearCache();
|
|
15115
15116
|
}
|
|
15116
15117
|
changeContentTypeConfig(e, n, o = !0) {
|
|
15117
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), o ? this.config.contentTypeConfig[e] =
|
|
15118
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), o ? this.config.contentTypeConfig[e] = St({}, this.config.contentTypeConfig[e], n) : this.config.contentTypeConfig[e] = n, this.clearCache();
|
|
15118
15119
|
}
|
|
15119
15120
|
getVisibleByPanoIndex(e, n) {
|
|
15120
15121
|
var r;
|
|
@@ -15267,7 +15268,7 @@ class Og extends Hg {
|
|
|
15267
15268
|
return;
|
|
15268
15269
|
const l = a.split("-"), [c = "Any", d = "Any", h = "Any"] = l || [];
|
|
15269
15270
|
(e.dimensionType === c || c === "Any") && (e.contentType === d || d === "Any") && (e.pointType === h || h === "Any") && (n[a] = this.config.contentTypeConfig[a]);
|
|
15270
|
-
}),
|
|
15271
|
+
}), St({}, this.config.globalConfig, ...Object.values(n), e.config);
|
|
15271
15272
|
}
|
|
15272
15273
|
canBe(e, n) {
|
|
15273
15274
|
const o = this.getTagConfig(n);
|
|
@@ -15385,7 +15386,7 @@ class Gg extends Og {
|
|
|
15385
15386
|
}
|
|
15386
15387
|
load(e, n) {
|
|
15387
15388
|
var o, s;
|
|
15388
|
-
this.clearTags(), console.log(Ji, "load:", { data: e }), this.params.mergePluginDefaultConfigToLoadDataConfig ? this.config =
|
|
15389
|
+
this.clearTags(), console.log(Ji, "load:", { data: e }), this.params.mergePluginDefaultConfigToLoadDataConfig ? this.config = St({}, this.config, {
|
|
15389
15390
|
globalConfig: (o = e.globalConfig) != null ? o : {},
|
|
15390
15391
|
contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
|
|
15391
15392
|
}) : (e.globalConfig && (this.config.globalConfig = e.globalConfig), e.contentTypeConfig && (this.config.contentTypeConfig = e.contentTypeConfig)), this.addTag(e.tagList, n), this.debug && ym(this.five, this.tags);
|
|
@@ -15454,11 +15455,11 @@ class Gg extends Og {
|
|
|
15454
15455
|
}
|
|
15455
15456
|
changeDataById(e, n, o = !0) {
|
|
15456
15457
|
const s = this.getTagById(e);
|
|
15457
|
-
!s || (o ? s.data =
|
|
15458
|
+
!s || (o ? s.data = St({}, s.data, n) : Object.assign(s.data, n), this.checkPanelTag(), this.updateRenderAllTags());
|
|
15458
15459
|
}
|
|
15459
15460
|
changeTagById(e, n, o = !0) {
|
|
15460
15461
|
const s = this.getTagById(e);
|
|
15461
|
-
!n || (o ?
|
|
15462
|
+
!n || (o ? St(s, n) : Object.assign(s, n), (s == null ? void 0 : s.tag3DContentSvelte) && (n == null ? void 0 : n.normal) && (s.tag3DContentSvelte.currentNormal = rt(n.normal)), this.updateRenderAllTags(), this.checkPanelTag());
|
|
15462
15463
|
}
|
|
15463
15464
|
destroyTagById(e) {
|
|
15464
15465
|
(Array.isArray(e) ? e : [e]).forEach((o) => {
|
|
@@ -15804,7 +15805,7 @@ class Zg extends Ng {
|
|
|
15804
15805
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
15805
15806
|
}
|
|
15806
15807
|
}
|
|
15807
|
-
function
|
|
15808
|
+
function Mt(i, t) {
|
|
15808
15809
|
return _g(document.createElement(t != null ? t : "div"), i);
|
|
15809
15810
|
}
|
|
15810
15811
|
function _g(i, t) {
|
|
@@ -15815,7 +15816,7 @@ function _g(i, t) {
|
|
|
15815
15816
|
return i;
|
|
15816
15817
|
}
|
|
15817
15818
|
function qg(i) {
|
|
15818
|
-
const t =
|
|
15819
|
+
const t = Mt(G({
|
|
15819
15820
|
position: "absolute",
|
|
15820
15821
|
display: "block",
|
|
15821
15822
|
borderRadius: "4px",
|
|
@@ -15967,14 +15968,14 @@ class zi extends E.Mesh {
|
|
|
15967
15968
|
}
|
|
15968
15969
|
}
|
|
15969
15970
|
function $g() {
|
|
15970
|
-
const i =
|
|
15971
|
+
const i = Mt({
|
|
15971
15972
|
width: "100%",
|
|
15972
15973
|
height: "100%",
|
|
15973
15974
|
left: "0",
|
|
15974
15975
|
top: "0",
|
|
15975
15976
|
position: "absolute",
|
|
15976
15977
|
pointerEvents: "none"
|
|
15977
|
-
}), t =
|
|
15978
|
+
}), t = Mt({
|
|
15978
15979
|
boxSizing: "border-box",
|
|
15979
15980
|
width: "100%",
|
|
15980
15981
|
height: "100%",
|
|
@@ -15984,7 +15985,7 @@ function $g() {
|
|
|
15984
15985
|
display: "flex",
|
|
15985
15986
|
alignItems: "center",
|
|
15986
15987
|
justifyContent: "center"
|
|
15987
|
-
}), e =
|
|
15988
|
+
}), e = Mt({
|
|
15988
15989
|
boxSizing: "border-box",
|
|
15989
15990
|
width: "100%",
|
|
15990
15991
|
height: "100%",
|
|
@@ -16007,13 +16008,13 @@ function $g() {
|
|
|
16007
16008
|
] };
|
|
16008
16009
|
}
|
|
16009
16010
|
function ht(i) {
|
|
16010
|
-
const t =
|
|
16011
|
+
const t = Mt(G({
|
|
16011
16012
|
background: "#FFFFFF",
|
|
16012
16013
|
width: "9px",
|
|
16013
16014
|
height: "9px",
|
|
16014
16015
|
position: "absolute",
|
|
16015
16016
|
pointerEvents: "none"
|
|
16016
|
-
}, i)), e =
|
|
16017
|
+
}, i)), e = Mt({
|
|
16017
16018
|
width: "15px",
|
|
16018
16019
|
height: "15px",
|
|
16019
16020
|
position: "absolute",
|
|
@@ -16021,7 +16022,7 @@ function ht(i) {
|
|
|
16021
16022
|
top: "50%",
|
|
16022
16023
|
transform: "translate(-50%, -50%)",
|
|
16023
16024
|
pointerEvents: "none"
|
|
16024
|
-
}), n =
|
|
16025
|
+
}), n = Mt({
|
|
16025
16026
|
width: "15px",
|
|
16026
16027
|
height: "15px",
|
|
16027
16028
|
cursor: i == null ? void 0 : i.cursor,
|
|
@@ -16343,7 +16344,7 @@ pe.prototype._onTouchEvent = function(i, t) {
|
|
|
16343
16344
|
this._onEvent(i, e, n, t);
|
|
16344
16345
|
}
|
|
16345
16346
|
};
|
|
16346
|
-
let
|
|
16347
|
+
let It = null;
|
|
16347
16348
|
class po {
|
|
16348
16349
|
constructor(t, e, n, o, s, r, a) {
|
|
16349
16350
|
f(this, "hooks", new qt());
|
|
@@ -16395,24 +16396,24 @@ class po {
|
|
|
16395
16396
|
this.render();
|
|
16396
16397
|
}
|
|
16397
16398
|
restoreOpacity() {
|
|
16398
|
-
if (
|
|
16399
|
+
if (It === null)
|
|
16399
16400
|
return;
|
|
16400
16401
|
const t = this.originObject3D;
|
|
16401
|
-
if (t instanceof E.Mesh && (t.material.opacity =
|
|
16402
|
+
if (t instanceof E.Mesh && (t.material.opacity = It.opacity), t.isCSS3DObjectPlus) {
|
|
16402
16403
|
const e = t;
|
|
16403
|
-
e.container.style.opacity =
|
|
16404
|
+
e.container.style.opacity = It.opacity.toString();
|
|
16404
16405
|
}
|
|
16405
16406
|
this.render();
|
|
16406
16407
|
}
|
|
16407
16408
|
setOriginOpacityProperty() {
|
|
16408
16409
|
var t, e;
|
|
16409
|
-
if (
|
|
16410
|
+
if (It === null) {
|
|
16410
16411
|
const n = this.originObject3D;
|
|
16411
|
-
n instanceof E.Mesh && (
|
|
16412
|
+
n instanceof E.Mesh && (It = {
|
|
16412
16413
|
opacity: n.material.opacity
|
|
16413
|
-
}), n instanceof _r && (
|
|
16414
|
+
}), n instanceof _r && (It = {
|
|
16414
16415
|
opacity: (t = n.container.style.opacity) != null ? t : 1
|
|
16415
|
-
}), n.isCSS3DObjectPlus && (
|
|
16416
|
+
}), n.isCSS3DObjectPlus && (It = {
|
|
16416
16417
|
opacity: Number((e = n.container.style.opacity) != null ? e : 1)
|
|
16417
16418
|
});
|
|
16418
16419
|
}
|
|
@@ -17380,7 +17381,7 @@ export {
|
|
|
17380
17381
|
rn as DIRECTION,
|
|
17381
17382
|
Yt as DISPLAY_STRATEGY_TYPE,
|
|
17382
17383
|
_e as DimensionType,
|
|
17383
|
-
|
|
17384
|
+
zt as FLOOR_PLAN_ATTACHED_TO,
|
|
17384
17385
|
K0 as FLOOR_TYPE_MAP,
|
|
17385
17386
|
um as GuideLinePlugin,
|
|
17386
17387
|
Ut as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|