@realsee/dnalogel 2.8.5 → 2.8.6
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 +80 -77
- package/dist/index.umd.js +14 -14
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- 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 +19 -19
- 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/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/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- 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/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.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 +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- 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 +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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/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/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- 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/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.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/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.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/LoadTagConfig.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/MediaStore.html +5 -5
- package/docs/types/ModelElement.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/PanoIndex.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/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.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/StickType.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/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.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/PanoTagPlugin/Components/Tag/LinkTag.js +52 -49
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import { CSS3DRenderer as oc, CSS3DObject as Fi } from "three/examples/jsm/rende
|
|
|
36
36
|
import { Line as fa } from "@realsee/five/line";
|
|
37
37
|
import { FBXLoader as ha } from "three/examples/jsm/loaders/FBXLoader";
|
|
38
38
|
import In from "hammerjs";
|
|
39
|
-
import
|
|
39
|
+
import et from "classnames";
|
|
40
40
|
import sc from "polyline-normals";
|
|
41
41
|
import pt from "object-assign-deep";
|
|
42
42
|
import Lo from "animejs";
|
|
@@ -1636,7 +1636,7 @@ function Pt() {
|
|
|
1636
1636
|
function La(i) {
|
|
1637
1637
|
Pt().$$.before_update.push(i);
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function Ze(i) {
|
|
1640
1640
|
Pt().$$.on_mount.push(i);
|
|
1641
1641
|
}
|
|
1642
1642
|
function Nc(i) {
|
|
@@ -1851,7 +1851,7 @@ function It(i, t) {
|
|
|
1851
1851
|
t.delete(i.key);
|
|
1852
1852
|
});
|
|
1853
1853
|
}
|
|
1854
|
-
function
|
|
1854
|
+
function qe(i, t, e, n, o, s, r, a, l, c, u, f) {
|
|
1855
1855
|
let d = i.length, h = s.length, g = d;
|
|
1856
1856
|
const A = {};
|
|
1857
1857
|
for (; g--; )
|
|
@@ -2076,7 +2076,7 @@ function iu(i) {
|
|
|
2076
2076
|
o = dt(t, i[6].bind(t)), s = !0;
|
|
2077
2077
|
},
|
|
2078
2078
|
p(l, [c]) {
|
|
2079
|
-
c & 3 && (r = l[0], re(), e =
|
|
2079
|
+
c & 3 && (r = l[0], re(), e = qe(e, c, a, 1, l, r, n, t, It, Oo, null, Ro), ae());
|
|
2080
2080
|
},
|
|
2081
2081
|
i(l) {
|
|
2082
2082
|
if (!s) {
|
|
@@ -2287,7 +2287,7 @@ function fu(i, t) {
|
|
|
2287
2287
|
}
|
|
2288
2288
|
return !0;
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function tt(i, t, e = { deep: !1 }) {
|
|
2291
2291
|
return e.deep ? lo(i, t) : uu(i, t);
|
|
2292
2292
|
}
|
|
2293
2293
|
function _t(i) {
|
|
@@ -2850,7 +2850,7 @@ function Wo(i) {
|
|
|
2850
2850
|
o = dt(t, i[11].bind(t)), s = !0;
|
|
2851
2851
|
},
|
|
2852
2852
|
p(l, c) {
|
|
2853
|
-
c & 447 && (r = l[8], re(), e =
|
|
2853
|
+
c & 447 && (r = l[8], re(), e = qe(e, c, a, 1, l, r, n, t, It, _o, null, No), ae());
|
|
2854
2854
|
},
|
|
2855
2855
|
i(l) {
|
|
2856
2856
|
if (!s) {
|
|
@@ -3084,7 +3084,7 @@ function Ju(i) {
|
|
|
3084
3084
|
f[p].d(1);
|
|
3085
3085
|
f.length = u.length;
|
|
3086
3086
|
}
|
|
3087
|
-
A & 22 && (d = g[4], a =
|
|
3087
|
+
A & 22 && (d = g[4], a = qe(a, A, h, 1, g, d, l, r, ao, Jo, null, Xo)), A & 1 && c !== (c = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + g[0] + " svelte-djlmk4") && b(t, "class", c), A & 5 && J(t, "is-row", g[2]);
|
|
3088
3088
|
},
|
|
3089
3089
|
i: Y,
|
|
3090
3090
|
o: Y,
|
|
@@ -3202,7 +3202,7 @@ function $u(i) {
|
|
|
3202
3202
|
o = !0;
|
|
3203
3203
|
},
|
|
3204
3204
|
p(a, [l]) {
|
|
3205
|
-
l & 19 && (s = a[4], re(), e =
|
|
3205
|
+
l & 19 && (s = a[4], re(), e = qe(e, l, r, 1, a, s, n, t, It, qo, null, Zo), ae()), l & 8 && L(t, "width", a[3]), l & 4 && L(t, "height", a[2]);
|
|
3206
3206
|
},
|
|
3207
3207
|
i(a) {
|
|
3208
3208
|
if (!o) {
|
|
@@ -3692,7 +3692,7 @@ function kd(i) {
|
|
|
3692
3692
|
s = !0;
|
|
3693
3693
|
},
|
|
3694
3694
|
p(l, [c]) {
|
|
3695
|
-
c & 7 && (r = l[1].floorDatas[l[0]].rooms, re(), n =
|
|
3695
|
+
c & 7 && (r = l[1].floorDatas[l[0]].rooms, re(), n = qe(n, c, a, 1, l, r, o, e, It, is, null, ns), ae());
|
|
3696
3696
|
},
|
|
3697
3697
|
i(l) {
|
|
3698
3698
|
if (!s) {
|
|
@@ -4662,7 +4662,7 @@ class Xd extends Bt {
|
|
|
4662
4662
|
}
|
|
4663
4663
|
updateState(e, n) {
|
|
4664
4664
|
const o = this.state, s = e.config ? F(F({}, o.config), e.config) : o.config;
|
|
4665
|
-
this.state = pe(F(F({}, this.state), e), { config: s }), !
|
|
4665
|
+
this.state = pe(F(F({}, this.state), e), { config: s }), !tt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
|
|
4666
4666
|
}
|
|
4667
4667
|
initContainer() {
|
|
4668
4668
|
this.container.classList.add("floorplan-plugin"), Object.assign(this.container.style, {
|
|
@@ -4941,7 +4941,7 @@ class Jd extends Bt {
|
|
|
4941
4941
|
}
|
|
4942
4942
|
updateState(e, n) {
|
|
4943
4943
|
const o = this.state, s = e.config ? F(F({}, o.config), e.config) : o.config;
|
|
4944
|
-
this.state = pe(F(F({}, this.state), e), { config: s }), !
|
|
4944
|
+
this.state = pe(F(F({}, this.state), e), { config: s }), !tt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
|
|
4945
4945
|
}
|
|
4946
4946
|
initContainer() {
|
|
4947
4947
|
this.container.classList.add("floorplan-plugin"), Object.assign(this.container.style, {
|
|
@@ -5173,7 +5173,7 @@ class Zd extends Bt {
|
|
|
5173
5173
|
}
|
|
5174
5174
|
updateState(e, n) {
|
|
5175
5175
|
const o = this.state, s = e.config ? F(F({}, o.config), e.config) : o.config;
|
|
5176
|
-
this.state = pe(F(F({}, this.state), e), { config: s }), !
|
|
5176
|
+
this.state = pe(F(F({}, this.state), e), { config: s }), !tt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
|
|
5177
5177
|
}
|
|
5178
5178
|
addEventListener() {
|
|
5179
5179
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -5264,7 +5264,7 @@ function ef(i, t, e) {
|
|
|
5264
5264
|
},
|
|
5265
5265
|
1e3 / 60
|
|
5266
5266
|
);
|
|
5267
|
-
return
|
|
5267
|
+
return Ze(() => (s.on("panoWillArrive", d), s.on("cameraDirectionUpdate", h), function() {
|
|
5268
5268
|
s.off("panoWillArrive", d), s.off("cameraDirectionUpdate", h);
|
|
5269
5269
|
})), i.$$set = (g) => {
|
|
5270
5270
|
"five" in g && e(3, s = g.five), "pxmm" in g && e(4, r = g.pxmm), "floorplanData" in g && e(5, a = g.floorplanData), "cameraImageUrl" in g && e(0, l = g.cameraImageUrl);
|
|
@@ -5345,7 +5345,7 @@ function of(i) {
|
|
|
5345
5345
|
e[l].m(t, null);
|
|
5346
5346
|
},
|
|
5347
5347
|
p(r, [a]) {
|
|
5348
|
-
a & 1 && (o = r[0], e =
|
|
5348
|
+
a & 1 && (o = r[0], e = qe(e, a, s, 1, r, o, n, t, ao, hs, null, fs));
|
|
5349
5349
|
},
|
|
5350
5350
|
i: Y,
|
|
5351
5351
|
o: Y,
|
|
@@ -5615,7 +5615,7 @@ function ff(i, t, e) {
|
|
|
5615
5615
|
function A(w) {
|
|
5616
5616
|
e(10, u = n.work.observers[w].floorIndex);
|
|
5617
5617
|
}
|
|
5618
|
-
|
|
5618
|
+
Ze(() => (n.on("panoArrived", A), () => {
|
|
5619
5619
|
n.off("panoArrived", A);
|
|
5620
5620
|
}));
|
|
5621
5621
|
function p() {
|
|
@@ -5773,7 +5773,7 @@ class mf extends Bt {
|
|
|
5773
5773
|
}
|
|
5774
5774
|
updateState(e, n) {
|
|
5775
5775
|
const o = this.state;
|
|
5776
|
-
this.state = F(F({}, this.state), e), !
|
|
5776
|
+
this.state = F(F({}, this.state), e), !tt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
|
|
5777
5777
|
}
|
|
5778
5778
|
render() {
|
|
5779
5779
|
if (this.disposed || !this.state.enabled)
|
|
@@ -6491,8 +6491,8 @@ const If = `<style type="text/css">
|
|
|
6491
6491
|
Math.pow(te.x - ue, 2) + Math.pow(te.y - me, 2)
|
|
6492
6492
|
) / le * 100;
|
|
6493
6493
|
}
|
|
6494
|
-
const ot = (Math.PI / 2 - Math.atan2(De - ue, me - Me)) / Math.PI * 180, ve = O.querySelector(".PanoRulerPlugin-rule-label"),
|
|
6495
|
-
|
|
6494
|
+
const ot = (Math.PI / 2 - Math.atan2(De - ue, me - Me)) / Math.PI * 180, ve = O.querySelector(".PanoRulerPlugin-rule-label"), Ke = ve.children[0].clientWidth;
|
|
6495
|
+
Ke >= le || Ke / 2 >= Pe / 100 * le || Ke / 2 >= (1 - Pe / 100) * le ? O.style.display = "none" : (O.style.display = "block", O.style.width = le + "px", O.style.left = ue + "px", O.style.top = me + "px", O.style.transform = `rotate(${-ot}deg)`, ve.style.left = `${Pe}%`);
|
|
6496
6496
|
}
|
|
6497
6497
|
}, f = () => Ya(u), d = () => {
|
|
6498
6498
|
var A, p;
|
|
@@ -6738,10 +6738,10 @@ function jf(i, t, e) {
|
|
|
6738
6738
|
}, f = (w, C, I) => {
|
|
6739
6739
|
const k = n.camera.position, S = n.camera.getWorldDirection(new $()), x = w.clone().sub(k).normalize().angleTo(S), Q = C.clone().sub(k).normalize().angleTo(S), N = w.distanceTo(C), X = C.clone().sub(C.clone().sub(w).divide(new $(2, 2, 2))).distanceTo(k), { startLeft: j, startTop: B, endLeft: O, endTop: W, distance: H } = u(w, C), _ = -((Math.PI / 2 - Math.atan2(O - j, B - W)) / Math.PI) * 180;
|
|
6740
6740
|
let U = !0;
|
|
6741
|
-
I || (U = !1), !
|
|
6741
|
+
I || (U = !1), !tt(w, I) && !tt(C, I) && (U = !1), N < 0.3 && (U = !1), x > Math.PI / 2 && (U = !1), Q > Math.PI / 2 && (U = !1), X / N > 8 && (U = !1);
|
|
6742
6742
|
let fe = 50, ue = H;
|
|
6743
6743
|
const me = c({ x: ~~j, y: ~~B }, { x: ~~O, y: ~~W });
|
|
6744
|
-
if (me && me.length === 1 && (
|
|
6744
|
+
if (me && me.length === 1 && (tt(w, I) ? (ue = Math.sqrt(Math.pow(me[0].x - j, 2) + Math.pow(me[0].y - B, 2)), fe = ue / H * 50) : tt(C, I) && (ue = Math.sqrt(Math.pow(me[0].x - O, 2) + Math.pow(me[0].y - W, 2)), fe = 100 - ue / H * 50)), me && me.length === 2) {
|
|
6745
6745
|
const Ce = {
|
|
6746
6746
|
x: (me[0].x + me[1].x) / 2,
|
|
6747
6747
|
y: (me[0].y + me[1].y) / 2
|
|
@@ -6786,7 +6786,7 @@ function jf(i, t, e) {
|
|
|
6786
6786
|
});
|
|
6787
6787
|
e(0, r = N);
|
|
6788
6788
|
}, h = () => pi(d), g = po(d, 80);
|
|
6789
|
-
return
|
|
6789
|
+
return Ze(() => {
|
|
6790
6790
|
d(), n.on("panoArrived", d), n.on("modeChange", d), n.on("cameraDirectionUpdate", h), n.on("movingToPano", h), n.on("mouseWheel", () => g()), n.on("pinchGesture", () => g());
|
|
6791
6791
|
}), Et(() => {
|
|
6792
6792
|
n.off("panoArrived", d), n.off("modeChange", d), n.off("cameraDirectionUpdate", h), n.off("movingToPano", h), n.off("mouseWheel", () => g()), n.off("pinchGesture", () => g());
|
|
@@ -7242,7 +7242,7 @@ function _f(i, t) {
|
|
|
7242
7242
|
if (i === t[e])
|
|
7243
7243
|
return t.splice(e, 1)[0];
|
|
7244
7244
|
}
|
|
7245
|
-
class
|
|
7245
|
+
class nt {
|
|
7246
7246
|
constructor(t) {
|
|
7247
7247
|
m(this, "id");
|
|
7248
7248
|
m(this, "lines");
|
|
@@ -7260,7 +7260,7 @@ class tt {
|
|
|
7260
7260
|
_f(t, this.lines);
|
|
7261
7261
|
}
|
|
7262
7262
|
clone() {
|
|
7263
|
-
return new
|
|
7263
|
+
return new nt(this.position);
|
|
7264
7264
|
}
|
|
7265
7265
|
}
|
|
7266
7266
|
class Ao {
|
|
@@ -7339,7 +7339,7 @@ class Ao {
|
|
|
7339
7339
|
const f = a.get(u.id);
|
|
7340
7340
|
if (f)
|
|
7341
7341
|
return f;
|
|
7342
|
-
const d = new
|
|
7342
|
+
const d = new nt(u.position);
|
|
7343
7343
|
return d.id = u.id, a.set(u.id, d), d;
|
|
7344
7344
|
}
|
|
7345
7345
|
function c() {
|
|
@@ -7592,7 +7592,7 @@ class Ai {
|
|
|
7592
7592
|
this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((t) => t.distanceItem.update(this.five));
|
|
7593
7593
|
});
|
|
7594
7594
|
var n, o;
|
|
7595
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.config = t.config, this.magnifier = t.magnifier, this.container = t.container, this.fiveHelper = t.fiveHelper, this.isMobile = (o = (n = t.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new nn(new
|
|
7595
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.config = t.config, this.magnifier = t.magnifier, this.container = t.container, this.fiveHelper = t.fiveHelper, this.isMobile = (o = (n = t.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new nn(new nt([0, 0, 0]), new nt([0, 0, 0]), this.model), this.dashed.distanceItem.setItemSelectable(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
|
|
7596
7596
|
const e = this.five.getElement();
|
|
7597
7597
|
e && (e.addEventListener("touchstart", Nn), e.addEventListener("contextmenu", Nn));
|
|
7598
7598
|
}
|
|
@@ -7663,7 +7663,7 @@ class Wn extends Ai {
|
|
|
7663
7663
|
const [n] = Si(this.five, e);
|
|
7664
7664
|
if (!(n != null && n.face))
|
|
7665
7665
|
return;
|
|
7666
|
-
const o = new
|
|
7666
|
+
const o = new nt(n.point);
|
|
7667
7667
|
this.pressPoint = o, this.onIntersectionUpdate(n);
|
|
7668
7668
|
});
|
|
7669
7669
|
m(this, "onPan", (e) => {
|
|
@@ -7679,7 +7679,7 @@ class Wn extends Ai {
|
|
|
7679
7679
|
this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh)), this.hasAppendDashed = !0;
|
|
7680
7680
|
const [n] = Si(this.five, e);
|
|
7681
7681
|
this.updateMouseGroup(n);
|
|
7682
|
-
const o = new
|
|
7682
|
+
const o = new nt(this.mouseGroup.position), s = this.lastPoint;
|
|
7683
7683
|
if (o && (this.lastPoint = o), o && s) {
|
|
7684
7684
|
const r = new nn(s, o, this.model);
|
|
7685
7685
|
r.distanceItem.setItemSelectable(!1), r.distanceItem.appendTo(this.container), this.polyline.addLine(r), this.group.add(r.mesh), r.distanceItem.update(this.five);
|
|
@@ -8133,7 +8133,7 @@ class yh {
|
|
|
8133
8133
|
const t = this.getIntersection();
|
|
8134
8134
|
if (t) {
|
|
8135
8135
|
this.pieceChange(t), this.updateMouseGroup(t);
|
|
8136
|
-
const e = new
|
|
8136
|
+
const e = new nt(this.mouseGroup.position);
|
|
8137
8137
|
this.hook.emit("nowPointChange", e);
|
|
8138
8138
|
}
|
|
8139
8139
|
});
|
|
@@ -8141,7 +8141,7 @@ class yh {
|
|
|
8141
8141
|
var o;
|
|
8142
8142
|
this.dotAnimation();
|
|
8143
8143
|
const n = (o = this.getIntersection()) == null ? void 0 : o.point;
|
|
8144
|
-
!n || (e === "editing" ? this.hook.emit("getStartPoint", new
|
|
8144
|
+
!n || (e === "editing" ? this.hook.emit("getStartPoint", new nt(n)) : this.hook.emit("getEndPoint", new nt(n)));
|
|
8145
8145
|
});
|
|
8146
8146
|
m(this, "computedCenterMouseXY", () => {
|
|
8147
8147
|
const t = this.container.querySelector(".range-piece__aim");
|
|
@@ -9114,7 +9114,7 @@ function Wh(i, t, e) {
|
|
|
9114
9114
|
}), x = x.parentNode;
|
|
9115
9115
|
}
|
|
9116
9116
|
};
|
|
9117
|
-
|
|
9117
|
+
Ze(() => {
|
|
9118
9118
|
h.emit("initTag", { id: n });
|
|
9119
9119
|
});
|
|
9120
9120
|
const C = ol.subscribe((k) => {
|
|
@@ -9361,8 +9361,8 @@ const Mi = 1e-3, Qs = 0.01, qh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9361
9361
|
de.projectionMatrix,
|
|
9362
9362
|
de.matrixWorldInverse
|
|
9363
9363
|
), Ue.setFromProjectionMatrix(ot), A.tags.forEach((ve) => {
|
|
9364
|
-
const
|
|
9365
|
-
if (
|
|
9364
|
+
const Ke = de.position.clone().setY(n).distanceTo(ve.position);
|
|
9365
|
+
if (Ke < c || Ke > u || !Ue.containsPoint(ve.position))
|
|
9366
9366
|
return ve.destroying = !0;
|
|
9367
9367
|
const te = ve.position.clone().sub(de.position).setY(0);
|
|
9368
9368
|
if (te.angleTo(ve.normal) > Math.PI / 2 - r && te.angleTo(ve.normal) < Math.PI / 2 + r)
|
|
@@ -9412,13 +9412,13 @@ const Mi = 1e-3, Qs = 0.01, qh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9412
9412
|
de.projectionMatrix,
|
|
9413
9413
|
de.matrixWorldInverse
|
|
9414
9414
|
), Ue.setFromProjectionMatrix(ot);
|
|
9415
|
-
const
|
|
9415
|
+
const Ke = A.tags.filter(
|
|
9416
9416
|
(Ae) => Ue.containsPoint(Ae.position) && !Ae.destroying
|
|
9417
9417
|
).length, te = A.points.reduce((Ae, Be) => {
|
|
9418
9418
|
if (A.tags.find((Te) => Be.id === Te.id && !Te.destroying))
|
|
9419
9419
|
return Ae;
|
|
9420
|
-
const
|
|
9421
|
-
if (
|
|
9420
|
+
const $e = de.position.clone().setY(n).distanceTo(Be.position);
|
|
9421
|
+
if ($e < c || $e > u || !Ue.containsPoint(Be.position))
|
|
9422
9422
|
return Ae;
|
|
9423
9423
|
const on = Be.position.clone().sub(de.position).setY(0);
|
|
9424
9424
|
if (on.angleTo(Be.normal) > Math.PI / 2 - r && on.angleTo(Be.normal) < Math.PI / 2 + r)
|
|
@@ -9439,7 +9439,7 @@ const Mi = 1e-3, Qs = 0.01, qh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9439
9439
|
normal: Be.normal,
|
|
9440
9440
|
replacement: Be.replacement,
|
|
9441
9441
|
weight: Be.weight,
|
|
9442
|
-
distance:
|
|
9442
|
+
distance: $e
|
|
9443
9443
|
};
|
|
9444
9444
|
let ke;
|
|
9445
9445
|
for (let Te = 0, xt = Ae.length; Te < xt; Te++) {
|
|
@@ -9455,11 +9455,11 @@ const Mi = 1e-3, Qs = 0.01, qh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9455
9455
|
}
|
|
9456
9456
|
return ke !== void 0 ? Ae.splice(ke, 0, kt) : Ae.push(kt), Ae;
|
|
9457
9457
|
}, []);
|
|
9458
|
-
for (let Ae = 0, Be = te.length; Ae < Be && !(
|
|
9459
|
-
const
|
|
9460
|
-
if (Pe.find((ke) =>
|
|
9458
|
+
for (let Ae = 0, Be = te.length; Ae < Be && !(Ke + Pe.length >= s); Ae++) {
|
|
9459
|
+
const $e = te[Ae];
|
|
9460
|
+
if (Pe.find((ke) => $e.id === ke.id))
|
|
9461
9461
|
continue;
|
|
9462
|
-
const on =
|
|
9462
|
+
const on = $e.position.clone().project(de);
|
|
9463
9463
|
if (!A.tags.concat(Pe).every((ke) => {
|
|
9464
9464
|
if (ke.position.clone().sub(de.position).setY(0).angleTo(ve.setY(0)) > Math.PI / 2)
|
|
9465
9465
|
return !0;
|
|
@@ -9471,12 +9471,12 @@ const Mi = 1e-3, Qs = 0.01, qh = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9471
9471
|
continue;
|
|
9472
9472
|
const jt = new E.Raycaster(
|
|
9473
9473
|
de.position.clone().setY(n),
|
|
9474
|
-
|
|
9474
|
+
$e.position.clone().sub(de.position.clone().setY(n)).normalize(),
|
|
9475
9475
|
0,
|
|
9476
|
-
|
|
9476
|
+
$e.distance + Qs
|
|
9477
9477
|
), [kt] = A.intersectObjects ? jt.intersectObjects(A.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(jt) : jt.intersectObjects(i.model.children, !0);
|
|
9478
|
-
if (!!kt &&
|
|
9479
|
-
const { position: ke, normal: Te, id: xt, replacement: Sn } =
|
|
9478
|
+
if (!!kt && $e.distance - kt.distance < Qs) {
|
|
9479
|
+
const { position: ke, normal: Te, id: xt, replacement: Sn } = $e, zl = new E.Plane().setFromNormalAndCoplanarPoint(Te, ke), ko = ke.clone().sub(de.position).cross(new E.Vector3(0, 1, 0)).setLength(Mi), Bl = [
|
|
9480
9480
|
ke.clone(),
|
|
9481
9481
|
ke.clone().add(ko),
|
|
9482
9482
|
ke.clone().add(new E.Vector3(0, Mi, 0)).add(ko),
|
|
@@ -9572,13 +9572,13 @@ function $h(i) {
|
|
|
9572
9572
|
let t, e, n, o = (i[0].name.length > 6 ? `${i[0].name.slice(0, 6)}...` : i[0].name) + "", s, r, a, l, c, u;
|
|
9573
9573
|
return {
|
|
9574
9574
|
c() {
|
|
9575
|
-
t = z("div"), e = z("div"), n = z("span"), s = Ie(o), r = ne(), a = z("div"), b(n, "class", "item-label-item__text svelte-1ir3cyd"), b(e, "class", "item-label-item__text-wrap svelte-1ir3cyd"), L(e, "top", `-${i[0].strokeLength + 26}px`), b(a, "class", "item-label-item__bar svelte-1ir3cyd"), L(a, "height", `${i[0].strokeLength}px`), b(t, "class", l = Ve(
|
|
9575
|
+
t = z("div"), e = z("div"), n = z("span"), s = Ie(o), r = ne(), a = z("div"), b(n, "class", "item-label-item__text svelte-1ir3cyd"), b(e, "class", "item-label-item__text-wrap svelte-1ir3cyd"), L(e, "top", `-${i[0].strokeLength + 26}px`), b(a, "class", "item-label-item__bar svelte-1ir3cyd"), L(a, "height", `${i[0].strokeLength}px`), b(t, "class", l = Ve(et("item-label-item", { visible: i[0].visible })) + " svelte-1ir3cyd"), L(t, "z-index", i[0].zIndex), L(t, "transform", i[0].transform);
|
|
9576
9576
|
},
|
|
9577
9577
|
m(f, d) {
|
|
9578
9578
|
T(f, t, d), V(t, e), V(e, n), V(n, s), V(t, r), V(t, a), c || (u = we(n, "click", i[1]), c = !0);
|
|
9579
9579
|
},
|
|
9580
9580
|
p(f, [d]) {
|
|
9581
|
-
d & 1 && o !== (o = (f[0].name.length > 6 ? `${f[0].name.slice(0, 6)}...` : f[0].name) + "") && Se(s, o), d & 1 && L(e, "top", `-${f[0].strokeLength + 26}px`), d & 1 && L(a, "height", `${f[0].strokeLength}px`), d & 1 && l !== (l = Ve(
|
|
9581
|
+
d & 1 && o !== (o = (f[0].name.length > 6 ? `${f[0].name.slice(0, 6)}...` : f[0].name) + "") && Se(s, o), d & 1 && L(e, "top", `-${f[0].strokeLength + 26}px`), d & 1 && L(a, "height", `${f[0].strokeLength}px`), d & 1 && l !== (l = Ve(et("item-label-item", { visible: f[0].visible })) + " svelte-1ir3cyd") && b(t, "class", l), d & 1 && L(t, "z-index", f[0].zIndex), d & 1 && L(t, "transform", f[0].transform);
|
|
9582
9582
|
},
|
|
9583
9583
|
i: Y,
|
|
9584
9584
|
o: Y,
|
|
@@ -9669,7 +9669,7 @@ function im(i) {
|
|
|
9669
9669
|
o = dt(t, i[9].bind(t)), s = !0;
|
|
9670
9670
|
},
|
|
9671
9671
|
p(l, [c]) {
|
|
9672
|
-
c & 3 && (r = l[1], re(), e =
|
|
9672
|
+
c & 3 && (r = l[1], re(), e = qe(e, c, a, 1, l, r, n, t, It, Os, null, Rs), ae()), c & 16 && L(t, "opacity", l[4] ? 1 : 0);
|
|
9673
9673
|
},
|
|
9674
9674
|
i(l) {
|
|
9675
9675
|
if (!s) {
|
|
@@ -9745,7 +9745,7 @@ function sm(i, t, e) {
|
|
|
9745
9745
|
const S = () => {
|
|
9746
9746
|
e(4, A = !1), x();
|
|
9747
9747
|
};
|
|
9748
|
-
|
|
9748
|
+
Ze(() => {
|
|
9749
9749
|
e(1, f = a), u = a, k(), Q(), s.on("cameraUpdate", S);
|
|
9750
9750
|
});
|
|
9751
9751
|
const x = sl(
|
|
@@ -10100,17 +10100,17 @@ function fm(i) {
|
|
|
10100
10100
|
let d = f(i, -1), h = d(i);
|
|
10101
10101
|
return {
|
|
10102
10102
|
c() {
|
|
10103
|
-
t = z("div"), e = z("div"), h.c(), s = ne(), r = z("div"), b(e, "class", o = Ve(
|
|
10103
|
+
t = z("div"), e = z("div"), h.c(), s = ne(), r = z("div"), b(e, "class", o = Ve(et("item-label-item__text-wrap", {
|
|
10104
10104
|
"item-label-item__custom": Boolean(typeof i[0].render == "function")
|
|
10105
|
-
})) + " svelte-gduhqw"), L(e, "bottom", `${i[0].strokeLength}px`), b(r, "class", a = Ve(
|
|
10105
|
+
})) + " svelte-gduhqw"), L(e, "bottom", `${i[0].strokeLength}px`), b(r, "class", a = Ve(et("item-label-item__bar", { anchor: i[1] })) + " svelte-gduhqw"), L(r, "height", `${i[0].strokeLength}px`), b(t, "class", l = Ve(et("item-label-item", { fold: i[0].isFold })) + " svelte-gduhqw"), L(t, "z-index", i[0].zIndex), L(t, "transform", i[0].transform);
|
|
10106
10106
|
},
|
|
10107
10107
|
m(g, A) {
|
|
10108
10108
|
T(g, t, A), V(t, e), h.m(e, null), V(t, s), V(t, r), c || (u = we(e, "click", i[4]), c = !0);
|
|
10109
10109
|
},
|
|
10110
10110
|
p(g, [A]) {
|
|
10111
|
-
d === (d = f(g, A)) && h ? h.p(g, A) : (h.d(1), h = d(g), h && (h.c(), h.m(e, null))), A & 1 && o !== (o = Ve(
|
|
10111
|
+
d === (d = f(g, A)) && h ? h.p(g, A) : (h.d(1), h = d(g), h && (h.c(), h.m(e, null))), A & 1 && o !== (o = Ve(et("item-label-item__text-wrap", {
|
|
10112
10112
|
"item-label-item__custom": Boolean(typeof g[0].render == "function")
|
|
10113
|
-
})) + " svelte-gduhqw") && b(e, "class", o), A & 1 && L(e, "bottom", `${g[0].strokeLength}px`), A & 2 && a !== (a = Ve(
|
|
10113
|
+
})) + " svelte-gduhqw") && b(e, "class", o), A & 1 && L(e, "bottom", `${g[0].strokeLength}px`), A & 2 && a !== (a = Ve(et("item-label-item__bar", { anchor: g[1] })) + " svelte-gduhqw") && b(r, "class", a), A & 1 && L(r, "height", `${g[0].strokeLength}px`), A & 1 && l !== (l = Ve(et("item-label-item", { fold: g[0].isFold })) + " svelte-gduhqw") && b(t, "class", l), A & 1 && L(t, "z-index", g[0].zIndex), A & 1 && L(t, "transform", g[0].transform);
|
|
10114
10114
|
},
|
|
10115
10115
|
i: Y,
|
|
10116
10116
|
o: Y,
|
|
@@ -10279,7 +10279,7 @@ function bm(i) {
|
|
|
10279
10279
|
o = dt(t, i[12].bind(t)), s = !0;
|
|
10280
10280
|
},
|
|
10281
10281
|
p(l, c) {
|
|
10282
|
-
c[0] & 71 && (r = l[1], re(), e =
|
|
10282
|
+
c[0] & 71 && (r = l[1], re(), e = qe(e, c, a, 1, l, r, n, t, It, Xs, null, Ws), ae()), c[0] & 32 && L(t, "opacity", l[5] ? 1 : 0);
|
|
10283
10283
|
},
|
|
10284
10284
|
i(l) {
|
|
10285
10285
|
if (!s) {
|
|
@@ -10392,7 +10392,7 @@ function wm(i, t, e) {
|
|
|
10392
10392
|
};
|
|
10393
10393
|
La(() => {
|
|
10394
10394
|
R();
|
|
10395
|
-
}),
|
|
10395
|
+
}), Ze(() => {
|
|
10396
10396
|
e(1, d = Ns(a)), f = a, k(), N(), s.on("cameraUpdate", S);
|
|
10397
10397
|
}), Et(() => {
|
|
10398
10398
|
s.off("cameraUpdate", S), window.removeEventListener("resize", Q, !1);
|
|
@@ -10570,13 +10570,13 @@ function xm(i) {
|
|
|
10570
10570
|
let t, e, n, o, s, r, a, l;
|
|
10571
10571
|
return {
|
|
10572
10572
|
c() {
|
|
10573
|
-
t = z("div"), e = z("div"), n = z("span"), n.textContent = `${i[8]}`, o = ne(), s = z("i"), b(n, "class", "plugin-DoorLabelPlugin-txt svelte-wpy7pz"), b(s, "class", "plugin-DoorLabelPlugin-icon svelte-wpy7pz"), b(e, "class", r = Ve(
|
|
10573
|
+
t = z("div"), e = z("div"), n = z("span"), n.textContent = `${i[8]}`, o = ne(), s = z("i"), b(n, "class", "plugin-DoorLabelPlugin-txt svelte-wpy7pz"), b(s, "class", "plugin-DoorLabelPlugin-icon svelte-wpy7pz"), b(e, "class", r = Ve(et("plugin-DoorLabelPlugin-cnt", i[0].toward)) + " svelte-wpy7pz"), b(e, "style", `transform: ${i[6] || "initial"};pointer-events: ${i[5] ? "auto" : "none"};opacity: ${i[5] ? 1 : 0}`), b(e, "data-camera-toward", i[7]), b(t, "style", `left: ${i[3] || 0}%;top: ${i[4] || 0}%;opacity: ${i[5] ? 1 : 0}`), b(t, "class", "plugin-DoorLabelPlugin-item svelte-wpy7pz");
|
|
10574
10574
|
},
|
|
10575
10575
|
m(c, u) {
|
|
10576
10576
|
T(c, t, u), V(t, e), V(e, n), V(e, o), V(e, s), i[10](t), a || (l = we(e, "click", i[9]), a = !0);
|
|
10577
10577
|
},
|
|
10578
10578
|
p(c, [u]) {
|
|
10579
|
-
u & 1 && r !== (r = Ve(
|
|
10579
|
+
u & 1 && r !== (r = Ve(et("plugin-DoorLabelPlugin-cnt", c[0].toward)) + " svelte-wpy7pz") && b(e, "class", r);
|
|
10580
10580
|
},
|
|
10581
10581
|
i: Y,
|
|
10582
10582
|
o: Y,
|
|
@@ -10966,7 +10966,7 @@ class ll extends Bt {
|
|
|
10966
10966
|
if (this.state.disposed)
|
|
10967
10967
|
return this.disposedErrorLog();
|
|
10968
10968
|
const o = F({}, this.state);
|
|
10969
|
-
this.state = F(F({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction),
|
|
10969
|
+
this.state = F(F({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), tt(o, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: (s = n == null ? void 0 : n.userAction) != null ? s : !0 }), this.five.needsRender = !0);
|
|
10970
10970
|
}
|
|
10971
10971
|
handleEnable(e, n = !0) {
|
|
10972
10972
|
this.linesGroup && (e ? (this.five.scene.add(this.linesGroup), this.actionWhenEnabled(() => this.hooks.emit("enable", { userAction: n }))) : (this.five.scene.remove(this.linesGroup), this.hooks.emit("disable", { userAction: n })));
|
|
@@ -11168,7 +11168,7 @@ class dl extends Bt {
|
|
|
11168
11168
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
11169
11169
|
return qm();
|
|
11170
11170
|
const o = F({}, this.state);
|
|
11171
|
-
this.state = F(F({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), e.playing !== void 0 && e.playing !== o.playing && this.changePlayState(e.playing, n), e.speed !== void 0 && e.speed !== o.speed && this.changeSpeed(e.speed, n == null ? void 0 : n.userAction),
|
|
11171
|
+
this.state = F(F({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), e.playing !== void 0 && e.playing !== o.playing && this.changePlayState(e.playing, n), e.speed !== void 0 && e.speed !== o.speed && this.changeSpeed(e.speed, n == null ? void 0 : n.userAction), tt(o, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: (s = n == null ? void 0 : n.userAction) != null ? s : !0 });
|
|
11172
11172
|
}
|
|
11173
11173
|
formatData(e) {
|
|
11174
11174
|
return G(this, null, function* () {
|
|
@@ -11956,7 +11956,7 @@ function vp(i) {
|
|
|
11956
11956
|
T(r, n, a);
|
|
11957
11957
|
},
|
|
11958
11958
|
p(r, [a]) {
|
|
11959
|
-
a & 14 && (o = r[2], t =
|
|
11959
|
+
a & 14 && (o = r[2], t = qe(t, a, s, 1, r, o, e, n.parentNode, ao, or, n, ir));
|
|
11960
11960
|
},
|
|
11961
11961
|
i: Y,
|
|
11962
11962
|
o: Y,
|
|
@@ -12966,7 +12966,7 @@ function rg(i) {
|
|
|
12966
12966
|
o = !0;
|
|
12967
12967
|
},
|
|
12968
12968
|
p(a, [l]) {
|
|
12969
|
-
l & 7 && (s = Array(a[0]), re(), e =
|
|
12969
|
+
l & 7 && (s = Array(a[0]), re(), e = qe(e, l, r, 1, a, s, n, t, It, pr, null, mr), ae());
|
|
12970
12970
|
},
|
|
12971
12971
|
i(a) {
|
|
12972
12972
|
if (!o) {
|
|
@@ -14143,7 +14143,7 @@ function h0(i, t, e) {
|
|
|
14143
14143
|
clonesToPrepend: Ae
|
|
14144
14144
|
});
|
|
14145
14145
|
}
|
|
14146
|
-
|
|
14146
|
+
Ze(() => {
|
|
14147
14147
|
G(this, null, function* () {
|
|
14148
14148
|
yield Vo(), _ && ee && (f.particlesCountWithoutClones = _.children.length, yield Vo(), f.infinite && fe(), f.particlesCount = _.children.length, h.showPage(w, { animated: !1 }), U.observe(ee));
|
|
14149
14149
|
});
|
|
@@ -14197,7 +14197,7 @@ function h0(i, t, e) {
|
|
|
14197
14197
|
ee = te, e(12, ee);
|
|
14198
14198
|
});
|
|
14199
14199
|
}
|
|
14200
|
-
const
|
|
14200
|
+
const Ke = (te) => ue(te.detail);
|
|
14201
14201
|
return i.$$set = (te) => {
|
|
14202
14202
|
"timingFunction" in te && e(0, p = te.timingFunction), "arrows" in te && e(1, v = te.arrows), "infinite" in te && e(2, y = te.infinite), "initialPageIndex" in te && e(24, w = te.initialPageIndex), "duration" in te && e(25, C = te.duration), "autoplay" in te && e(26, I = te.autoplay), "autoplayDuration" in te && e(27, k = te.autoplayDuration), "autoplayDirection" in te && e(28, S = te.autoplayDirection), "pauseOnFocus" in te && e(29, x = te.pauseOnFocus), "autoplayProgressVisible" in te && e(3, Q = te.autoplayProgressVisible), "dots" in te && e(4, N = te.dots), "swiping" in te && e(30, R = te.swiping), "particlesToShow" in te && e(31, X = te.particlesToShow), "particlesToScroll" in te && e(32, j = te.particlesToScroll), "$$scope" in te && e(36, o = te.$$scope);
|
|
14203
14203
|
}, i.$$.update = () => {
|
|
@@ -14244,7 +14244,7 @@ function h0(i, t, e) {
|
|
|
14244
14244
|
Ue,
|
|
14245
14245
|
ot,
|
|
14246
14246
|
ve,
|
|
14247
|
-
|
|
14247
|
+
Ke
|
|
14248
14248
|
];
|
|
14249
14249
|
}
|
|
14250
14250
|
class m0 extends se {
|
|
@@ -14418,7 +14418,7 @@ function w0(i, t, e) {
|
|
|
14418
14418
|
const p = St("mediaStore"), v = St("hooks"), y = () => {
|
|
14419
14419
|
g || (d == null || d.play(), d == null || d.pause(), e(12, g = !0));
|
|
14420
14420
|
};
|
|
14421
|
-
v.on("loadVideoFirstFrame", y),
|
|
14421
|
+
v.on("loadVideoFirstFrame", y), Ze(() => {
|
|
14422
14422
|
p.subscribe(({ currentMediaElement: Q }) => {
|
|
14423
14423
|
Q !== d && (d == null || d.pause());
|
|
14424
14424
|
});
|
|
@@ -14732,7 +14732,7 @@ function k0(i) {
|
|
|
14732
14732
|
function x0(i, t, e) {
|
|
14733
14733
|
let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: u = 0 } = t, { duration: f = 0 } = t, { unfolded: d = !0 } = t, { animation: h = !0 } = t, { mediaItemConfig: g } = t, { enableCarousel: A = !0 } = t, { autoplayConfig: p = { autoplay: !0, autoplayVideo: !1 } } = t, v = [], y, w = null;
|
|
14734
14734
|
const C = St("mediaStore");
|
|
14735
|
-
|
|
14735
|
+
Ze(() => {
|
|
14736
14736
|
w = setInterval(
|
|
14737
14737
|
() => {
|
|
14738
14738
|
r && (y == null || y.goToNext());
|
|
@@ -16653,9 +16653,9 @@ function ia(i) {
|
|
|
16653
16653
|
function jA(i) {
|
|
16654
16654
|
let t, e, n, o;
|
|
16655
16655
|
e = new kl({
|
|
16656
|
-
props: { icon: i[
|
|
16656
|
+
props: { icon: i[1], shadow: !0 }
|
|
16657
16657
|
}), e.$on("iconLoaded", i[9]);
|
|
16658
|
-
let s = i[2] && i[
|
|
16658
|
+
let s = i[2] && i[0] && ia(i);
|
|
16659
16659
|
return {
|
|
16660
16660
|
c() {
|
|
16661
16661
|
t = z("div"), K(e.$$.fragment), n = ne(), s && s.c(), b(t, "class", "wrapper svelte-e58ijk");
|
|
@@ -16665,7 +16665,7 @@ function jA(i) {
|
|
|
16665
16665
|
},
|
|
16666
16666
|
p(r, [a]) {
|
|
16667
16667
|
const l = {};
|
|
16668
|
-
a &
|
|
16668
|
+
a & 2 && (l.icon = r[1]), e.$set(l), r[2] && r[0] ? s ? (s.p(r, a), a & 5 && P(s, 1)) : (s = ia(r), s.c(), P(s, 1), s.m(t, null)) : s && (re(), D(s, 1, 1, () => {
|
|
16669
16669
|
s = null;
|
|
16670
16670
|
}), ae());
|
|
16671
16671
|
},
|
|
@@ -16682,24 +16682,27 @@ function jA(i) {
|
|
|
16682
16682
|
}
|
|
16683
16683
|
function VA(i, t, e) {
|
|
16684
16684
|
let n, o, s, r, a, l, c, u, { tag: f } = t;
|
|
16685
|
+
Ze(() => {
|
|
16686
|
+
n === !1 && e(0, n = (s == null ? void 0 : s.steps) < 2);
|
|
16687
|
+
});
|
|
16685
16688
|
const d = () => {
|
|
16686
|
-
e(
|
|
16689
|
+
e(0, n = !0);
|
|
16687
16690
|
};
|
|
16688
16691
|
return i.$$set = (h) => {
|
|
16689
16692
|
"tag" in h && e(3, f = h.tag);
|
|
16690
16693
|
}, i.$$.update = () => {
|
|
16691
16694
|
var h, g;
|
|
16692
|
-
i.$$.dirty & 8 && e(2,
|
|
16693
|
-
}, [
|
|
16694
|
-
u,
|
|
16695
|
-
s,
|
|
16695
|
+
i.$$.dirty & 8 && e(2, o = (h = f.data.title) != null ? h : f.data.text), i.$$.dirty & 8 && e(4, s = (g = f.data.icon) != null ? g : f.style.point), i.$$.dirty & 16 && e(8, r = s.url), i.$$.dirty & 16 && e(7, a = s.steps), i.$$.dirty & 16 && e(6, l = s.fps), i.$$.dirty & 16 && e(5, c = s.ratio), i.$$.dirty & 480 && e(1, u = { url: r, steps: a, fps: l, ratio: c });
|
|
16696
|
+
}, e(0, n = !1), [
|
|
16696
16697
|
n,
|
|
16698
|
+
u,
|
|
16699
|
+
o,
|
|
16697
16700
|
f,
|
|
16701
|
+
s,
|
|
16698
16702
|
c,
|
|
16699
16703
|
l,
|
|
16700
16704
|
a,
|
|
16701
16705
|
r,
|
|
16702
|
-
o,
|
|
16703
16706
|
d
|
|
16704
16707
|
];
|
|
16705
16708
|
}
|
|
@@ -16749,7 +16752,7 @@ function OA(i) {
|
|
|
16749
16752
|
}
|
|
16750
16753
|
function FA(i, t, e) {
|
|
16751
16754
|
let { tag: n } = t, o, s;
|
|
16752
|
-
|
|
16755
|
+
Ze(() => {
|
|
16753
16756
|
if (o) {
|
|
16754
16757
|
if (n.element instanceof Element) {
|
|
16755
16758
|
const a = n.element;
|
|
@@ -17380,7 +17383,7 @@ function ra(i) {
|
|
|
17380
17383
|
o = !0;
|
|
17381
17384
|
},
|
|
17382
17385
|
p(a, l) {
|
|
17383
|
-
l & 31 && (s = a[1], re(), e =
|
|
17386
|
+
l & 31 && (s = a[1], re(), e = qe(e, l, r, 1, a, s, n, t, It, aa, null, sa), ae()), (!o || l & 24) && J(t, "hide", !a[3].visible || !a[4].visible), (!o || l & 1) && J(t, "withAnimation", a[0]);
|
|
17384
17387
|
},
|
|
17385
17388
|
i(a) {
|
|
17386
17389
|
if (!o) {
|
|
@@ -20033,7 +20036,7 @@ export {
|
|
|
20033
20036
|
Ob as PanoMeasurePlugin,
|
|
20034
20037
|
nn as PanoMeasurePluginLine,
|
|
20035
20038
|
vo as PanoMeasurePluginModel,
|
|
20036
|
-
|
|
20039
|
+
nt as PanoMeasurePluginPoint,
|
|
20037
20040
|
Ao as PanoMeasurePluginPolyline,
|
|
20038
20041
|
Vb as PanoRulerPlugin,
|
|
20039
20042
|
Qb as PanoRulerProPlugin,
|