@realsee/dnalogel 3.50.17-alpha.0 → 3.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +2 -0
- package/dist/Sculpt/utils/export.d.ts +18 -0
- package/dist/index.cjs.js +207 -207
- package/dist/index.js +34866 -34775
- package/dist/index.umd.js +211 -211
- package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/dist/shared-utils/index.d.ts +1 -0
- package/dist/shared-utils/tag.d.ts +40 -1
- package/dist/shared-utils/three/temp.d.ts +2 -2
- package/libs/AreaMakerPlugin/Controller.js +100 -46
- package/libs/AreaMakerPlugin/index.js +64 -10
- package/libs/AreaMakerPlugin/utils/Item.js +156 -100
- package/libs/CSS3DRenderPlugin/Controller.js +93 -44
- package/libs/CSS3DRenderPlugin/index.js +62 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +105 -49
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +130 -77
- package/libs/CruisePlugin/BaseController.js +143 -89
- package/libs/CruisePlugin/Move.js +83 -39
- package/libs/CruisePlugin/Work.js +95 -51
- package/libs/CruisePlugin/index.js +66 -22
- package/libs/CurrentPanoImagePlugin/Controller.js +139 -85
- package/libs/CurrentPanoImagePlugin/index.js +63 -9
- package/libs/GuideLinePlugin/Controller.js +57 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +63 -19
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +6 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +58 -14
- package/libs/GuideLinePlugin/index.js +66 -22
- package/libs/ModelMakerPlugin/Controller.d.ts +2 -0
- package/libs/ModelMakerPlugin/Controller.js +190 -129
- package/libs/ModelMakerPlugin/index.js +63 -21
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +5 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +9 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +96 -47
- package/libs/ModelTVVideoPlugin/index.js +55 -6
- package/libs/Object3DHelperPlugin/Controller.js +42 -25
- package/libs/Object3DHelperPlugin/index.js +28 -12
- package/libs/PanoCompassPlugin/Controller.js +92 -44
- package/libs/PanoCompassPlugin/index.js +63 -15
- package/libs/PanoDoorLabelPlugin/BaseController.js +79 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +132 -78
- package/libs/PanoDoorLabelPlugin/index.js +63 -9
- package/libs/PanoMeasurePlugin/Components/Controller0.js +126 -77
- package/libs/PanoMeasurePlugin/Components/Controller1.js +139 -90
- package/libs/PanoMeasurePlugin/Controller/EditController.js +120 -71
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +120 -70
- package/libs/PanoMeasurePlugin/Controller/index.js +132 -86
- package/libs/PanoMeasurePlugin/Model/area.js +72 -22
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +64 -15
- package/libs/PanoMeasurePlugin/index.js +62 -16
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +57 -2
- package/libs/PanoRulerProPlugin/Controller.js +88 -33
- package/libs/PanoRulerProPlugin/RulerItems.js +146 -91
- package/libs/PanoRulerProPlugin/index.js +64 -9
- package/libs/PanoSpatialTagPlugin/Plugin.js +177 -128
- package/libs/PanoSpatialTagPlugin/index.js +53 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +116 -60
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +192 -136
- package/libs/PanoTagPlugin/Components/Tag/index.js +194 -139
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +204 -149
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +157 -101
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -20
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +86 -31
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +93 -37
- package/libs/PanoTagPlugin/controller/TagRender.js +62 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +123 -79
- package/libs/PanoTagPlugin/controller/index.js +110 -72
- package/libs/PanoTagPlugin/index.js +72 -28
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +77 -21
- package/libs/PanoVideoPlugin/Controller.js +95 -41
- package/libs/PanoVideoPlugin/VideoMeshController.js +119 -63
- package/libs/PanoVideoPlugin/index.js +66 -12
- package/libs/PipelinePlugin/Controller.js +173 -119
- package/libs/PipelinePlugin/index.js +63 -9
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +70 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +58 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +98 -42
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +10 -6
- package/libs/Sculpt/Meshes/Line.js +43 -38
- package/libs/Sculpt/Meshes/LineWithDots.js +14 -10
- package/libs/Sculpt/Meshes/Point.js +24 -20
- package/libs/Sculpt/Meshes/Polygon.js +5 -2
- package/libs/Sculpt/Meshes/Prism.js +19 -16
- package/libs/Sculpt/Objects/Line/Editor.js +6 -5
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/export.d.ts +18 -0
- package/libs/Sculpt/utils/export.js +21 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +26 -22
- package/libs/base/BasePlugin.js +14 -10
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +146 -94
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +62 -10
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -56
- package/libs/floorplan/ModelFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +116 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +62 -9
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +105 -52
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/index.js +4 -0
- package/libs/index.js +208 -206
- package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/libs/shared-utils/five/fiveEveryReadyListener.js +15 -0
- package/libs/shared-utils/five/index.js +6 -2
- package/libs/shared-utils/five/lookObject.js +31 -27
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +19 -17
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +40 -1
- package/libs/shared-utils/tag.js +139 -86
- package/libs/shared-utils/three/index.js +4 -0
- package/libs/shared-utils/three/temp.d.ts +2 -2
- package/libs/shared-utils/three/temp.js +4 -4
- package/package.json +1 -1
- package/README.md +0 -116
|
@@ -4,7 +4,7 @@ import "three";
|
|
|
4
4
|
import { noTypecheck as V } from "../utils/noTypecheck.js";
|
|
5
5
|
import tt from "./Common/TagPoint.js";
|
|
6
6
|
import "../../shared-utils/tag.js";
|
|
7
|
-
import { isModelLike as
|
|
7
|
+
import { isModelLike as it } from "../../shared-utils/five/mode.js";
|
|
8
8
|
import "hammerjs";
|
|
9
9
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
10
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -13,6 +13,10 @@ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
|
13
13
|
import "../../shared-utils/three/core/Sphere.js";
|
|
14
14
|
import "animejs";
|
|
15
15
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
|
+
import "../../Sculpt/Meshes/Polygon.js";
|
|
17
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
18
|
+
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
19
|
+
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
16
20
|
import "./Tag/TextTag/index.js";
|
|
17
21
|
import "./Tag/TextTag/TextTag.js";
|
|
18
22
|
import "./Common/Line/Straight.js";
|
|
@@ -77,7 +81,10 @@ import "../../shared-utils/Subscribe.js";
|
|
|
77
81
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
78
82
|
import "../../shared-utils/five/transformPosition.js";
|
|
79
83
|
import "../../shared-utils/three/temp.js";
|
|
84
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
80
85
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
86
|
+
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
87
|
+
import "../../shared-utils/throttle.js";
|
|
81
88
|
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
82
89
|
import "../../shared-utils/three/Magnifier.js";
|
|
83
90
|
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
@@ -108,6 +115,55 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
108
115
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
109
116
|
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
110
117
|
import "../../vendor/three/build/three.module.js";
|
|
118
|
+
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
119
|
+
import "../../shared-utils/three/earcut3D.js";
|
|
120
|
+
import "earcut";
|
|
121
|
+
import "../../shared-utils/three/getNormal.js";
|
|
122
|
+
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
123
|
+
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
124
|
+
import "../../shared-utils/three/geometryUtil.js";
|
|
125
|
+
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
126
|
+
import "../../Object3DHelperPlugin/Controller.js";
|
|
127
|
+
import "../../base/BasePlugin.js";
|
|
128
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
129
|
+
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
130
|
+
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
131
|
+
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
132
|
+
import "../../shared-utils/three/boundingBox.js";
|
|
133
|
+
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
134
|
+
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
135
|
+
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
136
|
+
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
137
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
138
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
139
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
140
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
141
|
+
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
142
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
143
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
144
|
+
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
145
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
146
|
+
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
147
|
+
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
148
|
+
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
149
|
+
import "../../shared-utils/threex/domevents/index.js";
|
|
150
|
+
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
151
|
+
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
152
|
+
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
153
|
+
import "../../shared-utils/Object3DHelper/index.js";
|
|
154
|
+
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
155
|
+
import "../../shared-utils/math/rad2Deg.js";
|
|
156
|
+
import "../../shared-utils/math/deg2Rad.js";
|
|
157
|
+
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
158
|
+
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
159
|
+
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
160
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
161
|
+
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
162
|
+
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
163
|
+
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
164
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
165
|
+
import "../../shared-utils/five/FiveDomEvents.js";
|
|
166
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
111
167
|
import "./Tag/AudioTag/index.js";
|
|
112
168
|
import "./Tag/AudioTag/AudioTag.js";
|
|
113
169
|
import "./Common/Audio.js";
|
|
@@ -135,7 +191,6 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
135
191
|
import "../../shared-utils/device.js";
|
|
136
192
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
137
193
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
138
|
-
import "../../shared-utils/three/getNormal.js";
|
|
139
194
|
import "../controller/Tag/BaseTag.js";
|
|
140
195
|
import "../utils/tag/calculateTagConfig.js";
|
|
141
196
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -154,351 +209,351 @@ import "../../shared-utils/url/getUrl.js";
|
|
|
154
209
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
155
210
|
import "../../shared-utils/safeObj.js";
|
|
156
211
|
import "../utils/Cache.js";
|
|
157
|
-
function
|
|
158
|
-
Q(
|
|
212
|
+
function ot(e) {
|
|
213
|
+
Q(e, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
159
214
|
}
|
|
160
|
-
function j(
|
|
161
|
-
let t,
|
|
162
|
-
const M = [rt,
|
|
163
|
-
function S(
|
|
215
|
+
function j(e) {
|
|
216
|
+
let t, o, i, r, p, a, b, k, s;
|
|
217
|
+
const M = [rt, et], u = [];
|
|
218
|
+
function S(m, l) {
|
|
164
219
|
return (
|
|
165
220
|
/*havePoint*/
|
|
166
|
-
|
|
221
|
+
m[8] ? 0 : 1
|
|
167
222
|
);
|
|
168
223
|
}
|
|
169
|
-
|
|
170
|
-
const
|
|
171
|
-
function y(
|
|
224
|
+
o = S(e), i = u[o] = M[o](e);
|
|
225
|
+
const n = [mt, pt], c = [];
|
|
226
|
+
function y(m, l) {
|
|
172
227
|
return (
|
|
173
228
|
/*haveContent*/
|
|
174
|
-
|
|
229
|
+
m[15] ? 0 : 1
|
|
175
230
|
);
|
|
176
231
|
}
|
|
177
|
-
return
|
|
232
|
+
return p = y(e), a = c[p] = n[p](e), {
|
|
178
233
|
c() {
|
|
179
|
-
t = Z("div"),
|
|
234
|
+
t = Z("div"), i.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
|
|
180
235
|
t,
|
|
181
236
|
"data-tag-id",
|
|
182
237
|
/*id*/
|
|
183
|
-
|
|
238
|
+
e[14]
|
|
184
239
|
), d(
|
|
185
240
|
t,
|
|
186
241
|
"data-tag-unfolded",
|
|
187
242
|
/*unfolded*/
|
|
188
|
-
|
|
243
|
+
e[6]
|
|
189
244
|
), d(t, "data-content-type", b = /*tag*/
|
|
190
|
-
|
|
191
|
-
|
|
245
|
+
e[0].contentType), d(t, "id", k = `tag-${/*id*/
|
|
246
|
+
e[14]}`), T(
|
|
192
247
|
t,
|
|
193
248
|
"unClickable",
|
|
194
249
|
/*tag*/
|
|
195
|
-
|
|
250
|
+
e[0].config.clickable === !1
|
|
196
251
|
), T(
|
|
197
252
|
t,
|
|
198
253
|
"hide",
|
|
199
254
|
/*hide*/
|
|
200
|
-
|
|
255
|
+
e[12]
|
|
201
256
|
), T(
|
|
202
257
|
t,
|
|
203
258
|
"enableZIndex",
|
|
204
259
|
/*zIndex*/
|
|
205
|
-
|
|
260
|
+
e[9]
|
|
206
261
|
), C(
|
|
207
262
|
t,
|
|
208
263
|
"z-index",
|
|
209
264
|
/*zIndex*/
|
|
210
|
-
|
|
265
|
+
e[9]
|
|
211
266
|
), C(t, "transform", `translate3d(${/*left*/
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
267
|
+
e[11]}, ${/*top*/
|
|
268
|
+
e[10]}, 0) scale(${/*screenPosition*/
|
|
269
|
+
e[7].scale})`);
|
|
215
270
|
},
|
|
216
|
-
m(
|
|
217
|
-
I(
|
|
271
|
+
m(m, l) {
|
|
272
|
+
I(m, t, l), u[o].m(t, null), Y(t, r), c[p].m(t, null), e[17](t), s = !0;
|
|
218
273
|
},
|
|
219
|
-
p(
|
|
220
|
-
let h =
|
|
221
|
-
|
|
274
|
+
p(m, l) {
|
|
275
|
+
let h = o;
|
|
276
|
+
o = S(m), o === h ? u[o].p(m, l) : (L(), g(u[h], 1, 1, () => {
|
|
222
277
|
u[h] = null;
|
|
223
|
-
}), z(),
|
|
224
|
-
let w =
|
|
225
|
-
|
|
278
|
+
}), z(), i = u[o], i ? i.p(m, l) : (i = u[o] = M[o](m), i.c()), _(i, 1), i.m(t, r));
|
|
279
|
+
let w = p;
|
|
280
|
+
p = y(m), p === w ? c[p].p(m, l) : (L(), g(c[w], 1, 1, () => {
|
|
226
281
|
c[w] = null;
|
|
227
|
-
}), z(), a = c[
|
|
282
|
+
}), z(), a = c[p], a ? a.p(m, l) : (a = c[p] = n[p](m), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
|
|
228
283
|
16384) && d(
|
|
229
284
|
t,
|
|
230
285
|
"data-tag-id",
|
|
231
286
|
/*id*/
|
|
232
|
-
|
|
287
|
+
m[14]
|
|
233
288
|
), (!s || l & /*unfolded*/
|
|
234
289
|
64) && d(
|
|
235
290
|
t,
|
|
236
291
|
"data-tag-unfolded",
|
|
237
292
|
/*unfolded*/
|
|
238
|
-
|
|
293
|
+
m[6]
|
|
239
294
|
), (!s || l & /*tag*/
|
|
240
295
|
1 && b !== (b = /*tag*/
|
|
241
|
-
|
|
296
|
+
m[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
|
|
242
297
|
16384 && k !== (k = `tag-${/*id*/
|
|
243
|
-
|
|
298
|
+
m[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
|
|
244
299
|
1) && T(
|
|
245
300
|
t,
|
|
246
301
|
"unClickable",
|
|
247
302
|
/*tag*/
|
|
248
|
-
|
|
303
|
+
m[0].config.clickable === !1
|
|
249
304
|
), (!s || l & /*hide*/
|
|
250
305
|
4096) && T(
|
|
251
306
|
t,
|
|
252
307
|
"hide",
|
|
253
308
|
/*hide*/
|
|
254
|
-
|
|
309
|
+
m[12]
|
|
255
310
|
), (!s || l & /*zIndex*/
|
|
256
311
|
512) && T(
|
|
257
312
|
t,
|
|
258
313
|
"enableZIndex",
|
|
259
314
|
/*zIndex*/
|
|
260
|
-
|
|
315
|
+
m[9]
|
|
261
316
|
), l & /*zIndex*/
|
|
262
317
|
512 && C(
|
|
263
318
|
t,
|
|
264
319
|
"z-index",
|
|
265
320
|
/*zIndex*/
|
|
266
|
-
|
|
321
|
+
m[9]
|
|
267
322
|
), l & /*left, top, screenPosition*/
|
|
268
323
|
3200 && C(t, "transform", `translate3d(${/*left*/
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
324
|
+
m[11]}, ${/*top*/
|
|
325
|
+
m[10]}, 0) scale(${/*screenPosition*/
|
|
326
|
+
m[7].scale})`);
|
|
272
327
|
},
|
|
273
|
-
i(
|
|
274
|
-
s || (_(
|
|
328
|
+
i(m) {
|
|
329
|
+
s || (_(i), _(a), s = !0);
|
|
275
330
|
},
|
|
276
|
-
o(
|
|
277
|
-
g(
|
|
331
|
+
o(m) {
|
|
332
|
+
g(i), g(a), s = !1;
|
|
278
333
|
},
|
|
279
|
-
d(
|
|
280
|
-
|
|
334
|
+
d(m) {
|
|
335
|
+
m && P(t), u[o].d(), c[p].d(), e[17](null);
|
|
281
336
|
}
|
|
282
337
|
};
|
|
283
338
|
}
|
|
284
|
-
function
|
|
339
|
+
function et(e) {
|
|
285
340
|
let t;
|
|
286
341
|
return {
|
|
287
342
|
c() {
|
|
288
343
|
t = Z("div"), d(t, "data-info", "tag point is disable");
|
|
289
344
|
},
|
|
290
|
-
m(
|
|
291
|
-
I(
|
|
345
|
+
m(o, i) {
|
|
346
|
+
I(o, t, i);
|
|
292
347
|
},
|
|
293
348
|
p: v,
|
|
294
349
|
i: v,
|
|
295
350
|
o: v,
|
|
296
|
-
d(
|
|
297
|
-
|
|
351
|
+
d(o) {
|
|
352
|
+
o && P(t);
|
|
298
353
|
}
|
|
299
354
|
};
|
|
300
355
|
}
|
|
301
|
-
function rt(
|
|
302
|
-
let t,
|
|
356
|
+
function rt(e) {
|
|
357
|
+
let t, o;
|
|
303
358
|
return t = new tt({ props: { tag: (
|
|
304
359
|
/*tag*/
|
|
305
|
-
|
|
360
|
+
e[0]
|
|
306
361
|
) } }), {
|
|
307
362
|
c() {
|
|
308
363
|
B(t.$$.fragment);
|
|
309
364
|
},
|
|
310
|
-
m(
|
|
311
|
-
E(t,
|
|
365
|
+
m(i, r) {
|
|
366
|
+
E(t, i, r), o = !0;
|
|
312
367
|
},
|
|
313
|
-
p(
|
|
314
|
-
const
|
|
368
|
+
p(i, r) {
|
|
369
|
+
const p = {};
|
|
315
370
|
r & /*tag*/
|
|
316
|
-
1 && (
|
|
317
|
-
|
|
371
|
+
1 && (p.tag = /*tag*/
|
|
372
|
+
i[0]), t.$set(p);
|
|
318
373
|
},
|
|
319
|
-
i(
|
|
320
|
-
|
|
374
|
+
i(i) {
|
|
375
|
+
o || (_(t.$$.fragment, i), o = !0);
|
|
321
376
|
},
|
|
322
|
-
o(
|
|
323
|
-
g(t.$$.fragment,
|
|
377
|
+
o(i) {
|
|
378
|
+
g(t.$$.fragment, i), o = !1;
|
|
324
379
|
},
|
|
325
|
-
d(
|
|
326
|
-
G(t,
|
|
380
|
+
d(i) {
|
|
381
|
+
G(t, i);
|
|
327
382
|
}
|
|
328
383
|
};
|
|
329
384
|
}
|
|
330
|
-
function
|
|
385
|
+
function pt(e) {
|
|
331
386
|
let t;
|
|
332
387
|
return {
|
|
333
388
|
c() {
|
|
334
389
|
t = Z("div"), d(t, "data-info", "tag content is disable");
|
|
335
390
|
},
|
|
336
|
-
m(
|
|
337
|
-
I(
|
|
391
|
+
m(o, i) {
|
|
392
|
+
I(o, t, i);
|
|
338
393
|
},
|
|
339
394
|
p: v,
|
|
340
395
|
i: v,
|
|
341
396
|
o: v,
|
|
342
|
-
d(
|
|
343
|
-
|
|
397
|
+
d(o) {
|
|
398
|
+
o && P(t);
|
|
344
399
|
}
|
|
345
400
|
};
|
|
346
401
|
}
|
|
347
|
-
function
|
|
348
|
-
let t,
|
|
402
|
+
function mt(e) {
|
|
403
|
+
let t, o;
|
|
349
404
|
return t = new $({
|
|
350
405
|
props: {
|
|
351
406
|
mediaStore: (
|
|
352
407
|
/*mediaStore*/
|
|
353
|
-
|
|
408
|
+
e[1]
|
|
354
409
|
),
|
|
355
410
|
tag: V(
|
|
356
411
|
/*tag*/
|
|
357
|
-
|
|
412
|
+
e[0]
|
|
358
413
|
),
|
|
359
414
|
hooks: (
|
|
360
415
|
/*hooks*/
|
|
361
|
-
|
|
416
|
+
e[16]
|
|
362
417
|
),
|
|
363
418
|
state: (
|
|
364
419
|
/*state*/
|
|
365
|
-
|
|
420
|
+
e[4]
|
|
366
421
|
),
|
|
367
422
|
temporaryState: (
|
|
368
423
|
/*temporaryState*/
|
|
369
|
-
|
|
424
|
+
e[5]
|
|
370
425
|
),
|
|
371
426
|
rendererMap: (
|
|
372
427
|
/*rendererMap*/
|
|
373
|
-
|
|
428
|
+
e[2]
|
|
374
429
|
),
|
|
375
430
|
contentTypeMap: (
|
|
376
431
|
/*contentTypeMap*/
|
|
377
|
-
|
|
432
|
+
e[3]
|
|
378
433
|
)
|
|
379
434
|
}
|
|
380
435
|
}), {
|
|
381
436
|
c() {
|
|
382
437
|
B(t.$$.fragment);
|
|
383
438
|
},
|
|
384
|
-
m(
|
|
385
|
-
E(t,
|
|
439
|
+
m(i, r) {
|
|
440
|
+
E(t, i, r), o = !0;
|
|
386
441
|
},
|
|
387
|
-
p(
|
|
388
|
-
const
|
|
442
|
+
p(i, r) {
|
|
443
|
+
const p = {};
|
|
389
444
|
r & /*mediaStore*/
|
|
390
|
-
2 && (
|
|
391
|
-
|
|
392
|
-
1 && (
|
|
445
|
+
2 && (p.mediaStore = /*mediaStore*/
|
|
446
|
+
i[1]), r & /*tag*/
|
|
447
|
+
1 && (p.tag = V(
|
|
393
448
|
/*tag*/
|
|
394
|
-
|
|
449
|
+
i[0]
|
|
395
450
|
)), r & /*state*/
|
|
396
|
-
16 && (
|
|
397
|
-
|
|
398
|
-
32 && (
|
|
399
|
-
|
|
400
|
-
4 && (
|
|
401
|
-
|
|
402
|
-
8 && (
|
|
403
|
-
|
|
451
|
+
16 && (p.state = /*state*/
|
|
452
|
+
i[4]), r & /*temporaryState*/
|
|
453
|
+
32 && (p.temporaryState = /*temporaryState*/
|
|
454
|
+
i[5]), r & /*rendererMap*/
|
|
455
|
+
4 && (p.rendererMap = /*rendererMap*/
|
|
456
|
+
i[2]), r & /*contentTypeMap*/
|
|
457
|
+
8 && (p.contentTypeMap = /*contentTypeMap*/
|
|
458
|
+
i[3]), t.$set(p);
|
|
404
459
|
},
|
|
405
|
-
i(
|
|
406
|
-
|
|
460
|
+
i(i) {
|
|
461
|
+
o || (_(t.$$.fragment, i), o = !0);
|
|
407
462
|
},
|
|
408
|
-
o(
|
|
409
|
-
g(t.$$.fragment,
|
|
463
|
+
o(i) {
|
|
464
|
+
g(t.$$.fragment, i), o = !1;
|
|
410
465
|
},
|
|
411
|
-
d(
|
|
412
|
-
G(t,
|
|
466
|
+
d(i) {
|
|
467
|
+
G(t, i);
|
|
413
468
|
}
|
|
414
469
|
};
|
|
415
470
|
}
|
|
416
|
-
function
|
|
417
|
-
let t,
|
|
471
|
+
function nt(e) {
|
|
472
|
+
let t, o, i = (
|
|
418
473
|
/*screenPosition*/
|
|
419
|
-
|
|
420
|
-
|
|
474
|
+
e[7] && !/*disable*/
|
|
475
|
+
e[13] && j(e)
|
|
421
476
|
);
|
|
422
477
|
return {
|
|
423
478
|
c() {
|
|
424
|
-
|
|
479
|
+
i && i.c(), t = U();
|
|
425
480
|
},
|
|
426
|
-
m(r,
|
|
427
|
-
|
|
481
|
+
m(r, p) {
|
|
482
|
+
i && i.m(r, p), I(r, t, p), o = !0;
|
|
428
483
|
},
|
|
429
|
-
p(r, [
|
|
484
|
+
p(r, [p]) {
|
|
430
485
|
/*screenPosition*/
|
|
431
486
|
r[7] && !/*disable*/
|
|
432
|
-
r[13] ?
|
|
433
|
-
8320 && _(
|
|
434
|
-
|
|
487
|
+
r[13] ? i ? (i.p(r, p), p & /*screenPosition, disable*/
|
|
488
|
+
8320 && _(i, 1)) : (i = j(r), i.c(), _(i, 1), i.m(t.parentNode, t)) : i && (L(), g(i, 1, 1, () => {
|
|
489
|
+
i = null;
|
|
435
490
|
}), z());
|
|
436
491
|
},
|
|
437
492
|
i(r) {
|
|
438
|
-
|
|
493
|
+
o || (_(i), o = !0);
|
|
439
494
|
},
|
|
440
495
|
o(r) {
|
|
441
|
-
g(
|
|
496
|
+
g(i), o = !1;
|
|
442
497
|
},
|
|
443
498
|
d(r) {
|
|
444
|
-
|
|
499
|
+
i && i.d(r), r && P(t);
|
|
445
500
|
}
|
|
446
501
|
};
|
|
447
502
|
}
|
|
448
|
-
function at(
|
|
449
|
-
let
|
|
503
|
+
function at(e, t, o) {
|
|
504
|
+
let i, r, p, a, b, k, s, M, u, S, { tag: n } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: m = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
|
|
450
505
|
const w = W("hooks");
|
|
451
506
|
function H(f) {
|
|
452
507
|
x[f ? "unshift" : "push"](() => {
|
|
453
|
-
|
|
508
|
+
n.dom = f, o(0, n);
|
|
454
509
|
});
|
|
455
510
|
}
|
|
456
|
-
return
|
|
457
|
-
"tag" in f &&
|
|
458
|
-
},
|
|
511
|
+
return e.$$set = (f) => {
|
|
512
|
+
"tag" in f && o(0, n = f.tag), "mediaStore" in f && o(1, c = f.mediaStore), "rendererMap" in f && o(2, y = f.rendererMap), "contentTypeMap" in f && o(3, m = f.contentTypeMap), "state" in f && o(4, l = f.state), "temporaryState" in f && o(5, h = f.temporaryState);
|
|
513
|
+
}, e.$$.update = () => {
|
|
459
514
|
var f, q, A, D;
|
|
460
|
-
|
|
461
|
-
5 &&
|
|
515
|
+
e.$$.dirty & /*tag, rendererMap*/
|
|
516
|
+
5 && o(8, i = (() => {
|
|
462
517
|
var F, N, R;
|
|
463
|
-
return !(((N = (F =
|
|
464
|
-
})()),
|
|
465
|
-
257 &&
|
|
466
|
-
1 &&
|
|
467
|
-
1 &&
|
|
468
|
-
1 &&
|
|
469
|
-
129 &&
|
|
470
|
-
1 &&
|
|
471
|
-
128 &&
|
|
472
|
-
128 &&
|
|
473
|
-
65 &&
|
|
518
|
+
return !(((N = (F = n.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(n.contentType)) == null ? void 0 : R.usePoint) === !1 || n.contentType === "Sticker" || n.contentType === "Link" || n.contentType === "VRLink" || n.contentType === "PanoLink" || n.contentType === "Panorama" || n.contentType === "Audio" && n.data.appearance === "plane");
|
|
519
|
+
})()), e.$$.dirty & /*tag, havePoint*/
|
|
520
|
+
257 && o(15, r = (() => !(n.stickType !== "2DPoint" || n.entryFromModel && it(n.five.state.mode) && i))()), e.$$.dirty & /*tag*/
|
|
521
|
+
1 && o(14, p = n.id), e.$$.dirty & /*tag*/
|
|
522
|
+
1 && o(7, a = n.screenPosition), e.$$.dirty & /*tag*/
|
|
523
|
+
1 && o(13, b = n.enabled === !1 || !n.state), e.$$.dirty & /*tag, screenPosition*/
|
|
524
|
+
129 && o(12, k = !((f = n.state) != null && f.visible) || ((q = n.temporaryState) == null ? void 0 : q.visible) === !1 || !a), e.$$.dirty & /*tag*/
|
|
525
|
+
1 && o(6, s = (A = n.state) == null ? void 0 : A.unfolded), e.$$.dirty & /*screenPosition*/
|
|
526
|
+
128 && o(11, M = (a == null ? void 0 : a.leftPx) + "px"), e.$$.dirty & /*screenPosition*/
|
|
527
|
+
128 && o(10, u = (a == null ? void 0 : a.topPx) + "px"), e.$$.dirty & /*unfolded, tag*/
|
|
528
|
+
65 && o(9, S = s ? ((D = n.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
|
|
474
529
|
}, [
|
|
475
|
-
|
|
530
|
+
n,
|
|
476
531
|
c,
|
|
477
532
|
y,
|
|
478
|
-
|
|
533
|
+
m,
|
|
479
534
|
l,
|
|
480
535
|
h,
|
|
481
536
|
s,
|
|
482
537
|
a,
|
|
483
|
-
|
|
538
|
+
i,
|
|
484
539
|
S,
|
|
485
540
|
u,
|
|
486
541
|
M,
|
|
487
542
|
k,
|
|
488
543
|
b,
|
|
489
|
-
|
|
544
|
+
p,
|
|
490
545
|
r,
|
|
491
546
|
w,
|
|
492
547
|
H
|
|
493
548
|
];
|
|
494
549
|
}
|
|
495
|
-
class
|
|
550
|
+
class pr extends J {
|
|
496
551
|
constructor(t) {
|
|
497
552
|
super(), K(
|
|
498
553
|
this,
|
|
499
554
|
t,
|
|
500
555
|
at,
|
|
501
|
-
|
|
556
|
+
nt,
|
|
502
557
|
O,
|
|
503
558
|
{
|
|
504
559
|
tag: 0,
|
|
@@ -508,10 +563,10 @@ class oo extends J {
|
|
|
508
563
|
state: 4,
|
|
509
564
|
temporaryState: 5
|
|
510
565
|
},
|
|
511
|
-
|
|
566
|
+
ot
|
|
512
567
|
);
|
|
513
568
|
}
|
|
514
569
|
}
|
|
515
570
|
export {
|
|
516
|
-
|
|
571
|
+
pr as default
|
|
517
572
|
};
|