@realsee/dnalogel 3.78.0-alpha.4 → 3.78.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.
Files changed (144) hide show
  1. package/CHANGELOG.md +40 -10
  2. package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
  3. package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
  4. package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
  5. package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
  6. package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
  7. package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
  8. package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
  9. package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
  10. package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  12. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  13. package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
  14. package/dist/index.cjs.js +95 -82
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +14187 -12436
  17. package/dist/index.umd.js +87 -74
  18. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  19. package/libs/AreaMakerPlugin/Controller.js +3 -2
  20. package/libs/AreaMakerPlugin/index.js +3 -2
  21. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  22. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  23. package/libs/CSS3DRenderPlugin/index.js +6 -5
  24. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  25. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  26. package/libs/CruisePlugin/BaseController.js +5 -4
  27. package/libs/CruisePlugin/Move.js +3 -2
  28. package/libs/CruisePlugin/Work.js +3 -2
  29. package/libs/CruisePlugin/index.js +7 -6
  30. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  31. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  32. package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
  33. package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
  34. package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
  35. package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
  36. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
  37. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
  38. package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
  39. package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
  40. package/libs/DigitalPerformancePlugin/mock.js +272 -274
  41. package/libs/GuideLinePlugin/Controller.js +7 -6
  42. package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
  43. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  44. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
  45. package/libs/GuideLinePlugin/index.js +7 -6
  46. package/libs/MeasurePlugin/Controller.js +11 -10
  47. package/libs/MeasurePlugin/index.js +5 -4
  48. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  49. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  50. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  51. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  52. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  53. package/libs/ModelMakerPlugin/Controller.js +3 -2
  54. package/libs/ModelMakerPlugin/index.js +3 -2
  55. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  56. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  57. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  58. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  59. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  60. package/libs/ModelTVVideoPlugin/index.js +3 -2
  61. package/libs/ModelViewPlugin/Plugin.js +20 -19
  62. package/libs/ModelViewPlugin/index.js +1 -0
  63. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  64. package/libs/Object3DHelperPlugin/index.js +6 -5
  65. package/libs/PanoCompassPlugin/Controller.js +3 -2
  66. package/libs/PanoCompassPlugin/index.js +4 -3
  67. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  68. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  69. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  70. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  71. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  72. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  73. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  74. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  75. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  76. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  77. package/libs/PanoMeasurePlugin/index.js +14 -13
  78. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  79. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  80. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  81. package/libs/PanoRulerProPlugin/index.js +4 -3
  82. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  83. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  84. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
  85. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  86. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  87. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  88. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  89. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  90. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  91. package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
  92. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  93. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +3 -2
  94. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  95. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  96. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
  97. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  98. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  99. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  100. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
  101. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  102. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  103. package/libs/PanoTagPlugin/controller/index.js +30 -29
  104. package/libs/PanoTagPlugin/index.js +12 -11
  105. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  106. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  107. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  108. package/libs/PanoVideoPlugin/Controller.js +9 -8
  109. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  110. package/libs/PanoVideoPlugin/index.js +6 -5
  111. package/libs/PipelinePlugin/Controller.js +3 -2
  112. package/libs/PipelinePlugin/index.js +4 -3
  113. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  114. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  115. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  116. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  117. package/libs/Sculpt/Meshes/Line.js +85 -76
  118. package/libs/Sculpt/Meshes/Point.js +28 -28
  119. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  120. package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
  121. package/libs/Sculpt/Objects/Base/Editor.js +72 -63
  122. package/libs/Sculpt/index.js +1 -1
  123. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  124. package/libs/base/BasePlugin.js +5 -5
  125. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  126. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  127. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  128. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  129. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  130. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  131. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  132. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  133. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  134. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  135. package/libs/index.d.ts +1 -0
  136. package/libs/index.js +162 -150
  137. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  138. package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
  139. package/libs/shared-utils/logger.js +1 -1
  140. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  141. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  142. package/package.json +3 -3
  143. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
  144. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
@@ -100,6 +100,7 @@ import "../../../Sculpt/typings/style.js";
100
100
  import "../../../shared-utils/three/IObject3D.js";
101
101
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
102
102
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
103
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
103
104
  import "../../../shared-utils/three/core/LineGeometry.js";
104
105
  import "../../../shared-utils/three/core/LineMaterial.js";
105
106
  import "../../../shared-utils/three/core/Line2.js";
@@ -210,7 +211,7 @@ import "../../../shared-utils/forReverseEach.js";
210
211
  import "../../../Sculpt/Objects/Line/index.js";
211
212
  import "../../../Sculpt/Editors/BoxMeshEditor.js";
212
213
  import "../../../Sculpt/Meshes/Box.js";
213
- class se extends z {
214
+ class ne extends z {
214
215
  constructor(t, i) {
215
216
  super(t, i);
216
217
  f(this, "tagStyle");
@@ -511,5 +512,5 @@ class se extends z {
511
512
  }
512
513
  }
513
514
  export {
514
- se as BoxTag
515
+ ne as BoxTag
515
516
  };
@@ -85,6 +85,7 @@ import "../../../Sculpt/typings/style.js";
85
85
  import "../../../shared-utils/three/IObject3D.js";
86
86
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
87
87
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
88
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
88
89
  import "../../../shared-utils/three/core/LineGeometry.js";
89
90
  import "../../../shared-utils/three/core/LineMaterial.js";
90
91
  import "../../../shared-utils/three/core/Line2.js";
@@ -6,11 +6,5 @@
6
6
  * Vertex Shader
7
7
  */
8
8
  export declare const maskVertexShader = "\nvarying vec2 vUv;\nvoid main() {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n";
9
- /**
10
- * Fragment Shader
11
- * 实现颜色匹配和高亮渲染逻辑
12
- * 参考 MosaicPlugin 的边缘检测实现
13
- */
14
- export declare const maskFragmentShader = "\n#define RESOLUTION 2048.0\n\nvarying vec2 vUv;\nuniform sampler2D map;\nuniform vec4 color;\nuniform float tolerance;\nuniform vec3 highlightColor;\nuniform float opacity;\n\nfloat colorGap(vec3 color1, vec3 color2) {\n float gap = abs(color1.r - color2.r) + abs(color1.g - color2.g) + abs(color1.b - color2.b);\n return gap;\n}\n\n// \u5224\u65AD\u50CF\u7D20\u662F\u5426\u5339\u914D\u76EE\u6807\u989C\u8272\nbool isMatchingColor(vec3 pixelColor) {\n // \u6392\u9664\u9ED1\u8272\u50CF\u7D20\n if (pixelColor.r == 0.0 && pixelColor.g == 0.0 && pixelColor.b == 0.0) {\n return false;\n }\n return colorGap(pixelColor, color.rgb) < tolerance;\n}\n\n// \u8FB9\u7F18\u68C0\u6D4B\u51FD\u6570\uFF1A\u53C2\u8003 MosaicPlugin \u5B9E\u73B0\nfloat detectEdge(sampler2D map, vec2 uv) {\n vec4 centerColor = texture2D(map, uv);\n \n // \u5F53\u524D\u50CF\u7D20\u5FC5\u987B\u5339\u914D\u76EE\u6807\u989C\u8272\n if (!isMatchingColor(centerColor.rgb)) {\n return 0.0;\n }\n \n float step = 1.0 / RESOLUTION;\n \n // \u68C0\u67E54\u4E2A\u4E3B\u8981\u65B9\u5411\u7684\u90BB\u5C45\u50CF\u7D20\n vec4 upColor = texture2D(map, uv + vec2(0.0, -step));\n vec4 leftColor = texture2D(map, uv + vec2(-step, 0.0));\n vec4 rightColor = texture2D(map, uv + vec2(step, 0.0));\n vec4 downColor = texture2D(map, uv + vec2(0.0, step));\n \n // \u53EA\u6709\u5F53\u524D\u50CF\u7D20\u5339\u914D\u989C\u8272\uFF0C\u4E14\u81F3\u5C11\u6709\u4E00\u4E2A\u90BB\u5C45\u4E0D\u5339\u914D\u65F6\uFF0C\u624D\u662F\u8FB9\u7F18\n bool hasNonMatchingNeighbor = \n !isMatchingColor(upColor.rgb) || \n !isMatchingColor(leftColor.rgb) || \n !isMatchingColor(rightColor.rgb) || \n !isMatchingColor(downColor.rgb);\n \n return hasNonMatchingNeighbor ? 1.0 : 0.0;\n}\n\nvoid main() {\n vec4 image = texture2D(map, vUv);\n \n // \u6392\u9664\u9ED1\u8272\u50CF\u7D20\n if (image.r == 0.0 && image.g == 0.0 && image.b == 0.0) {\n discard;\n }\n \n // \u8BA1\u7B97\u5F53\u524D\u50CF\u7D20\u4E0E\u76EE\u6807\u989C\u8272\u7684\u5DEE\u5F02\n float gap = colorGap(image.rgb, color.rgb);\n \n // \u4F7F\u7528\u56FA\u5B9A\u5E73\u6ED1\u8303\u56F4\u5B9E\u73B0\u989C\u8272\u5339\u914D\u8FB9\u754C\n float smoothRange = 0.01;\n \n // \u5E73\u6ED1\u7684\u989C\u8272\u5339\u914D\u56E0\u5B50\uFF080-1\uFF09\n float matchFactor = 1.0 - smoothstep(tolerance - smoothRange, tolerance + smoothRange, gap);\n \n if (matchFactor > 0.0) {\n // \u4F7F\u7528\u65B0\u7684\u8FB9\u7F18\u68C0\u6D4B\u65B9\u6CD5\n float isEdge = detectEdge(map, vUv);\n \n // \u8FB9\u7F18\u4F7F\u7528\u5B8C\u5168\u4E0D\u900F\u660E\uFF0C\u5185\u90E8\u4F7F\u7528\u8BBE\u5B9A\u7684\u900F\u660E\u5EA6\n float alpha = mix(opacity, 1.0, isEdge);\n \n // \u5E94\u7528\u5339\u914D\u56E0\u5B50\u5B9E\u73B0\u8FB9\u754C\u5E73\u6ED1\uFF0C\u4F46\u4FDD\u7559\u6700\u5C0F 0.9 \u7684\u900F\u660E\u5EA6\n // \u8FD9\u6837\u5373\u4F7F\u5728\u8FB9\u754C\u5904\u4E5F\u4E0D\u4F1A\u5B8C\u5168\u900F\u660E\uFF0C\u540C\u65F6\u5B8C\u5168\u5339\u914D\u533A\u57DF\u4FDD\u6301\u8BBE\u5B9A\u7684\u900F\u660E\u5EA6\n alpha *= max(matchFactor, 0.9);\n \n gl_FragColor = vec4(highlightColor, alpha);\n } else {\n discard;\n }\n}\n";
15
9
  /** 多 style:mergedTexture 中每组 3 像素为 color(id)/tolerance+highlight/opacity,用 color 作 id 匹配 */
16
10
  export declare const maskFragmentShaderMulti = "\n#define RESOLUTION 2048.0\n#define MAX_GROUPS 64\n#define STRICT_MATCH 0.5/255.0\n\nvarying vec2 vUv;\nuniform sampler2D map;\nuniform sampler2D mergedTexture;\nuniform float groupCount;\nuniform float textureWidth;\nuniform float pixelsPerGroup;\n\nfloat colorGap(vec3 a, vec3 b) {\n return abs(a.r - b.r) + abs(a.g - b.g) + abs(a.b - b.b);\n}\n\nvec4 readStyleColor(float groupIndex) {\n float px = groupIndex * pixelsPerGroup;\n float texX = (px + 0.5) / textureWidth;\n return texture2D(mergedTexture, vec2(texX, 0.5));\n}\n\nvec4 readStyleToleranceHighlight(float groupIndex) {\n float px = groupIndex * pixelsPerGroup + 1.0;\n float texX = (px + 0.5) / textureWidth;\n return texture2D(mergedTexture, vec2(texX, 0.5));\n}\n\nfloat readStyleOpacity(float groupIndex) {\n float px = groupIndex * pixelsPerGroup + 2.0;\n float texX = (px + 0.5) / textureWidth;\n return texture2D(mergedTexture, vec2(texX, 0.5)).r;\n}\n\nfloat detectEdge(sampler2D map, vec2 uv, vec3 matchColor, float tolerance) {\n vec4 centerColor = texture2D(map, uv);\n if (colorGap(centerColor.rgb, matchColor) >= tolerance) return 0.0;\n float step = 1.0 / RESOLUTION;\n vec4 u = texture2D(map, uv + vec2(0.0, -step));\n vec4 l = texture2D(map, uv + vec2(-step, 0.0));\n vec4 r = texture2D(map, uv + vec2(step, 0.0));\n vec4 d = texture2D(map, uv + vec2(0.0, step));\n bool edge = colorGap(u.rgb, matchColor) >= tolerance || colorGap(l.rgb, matchColor) >= tolerance\n || colorGap(r.rgb, matchColor) >= tolerance || colorGap(d.rgb, matchColor) >= tolerance;\n return edge ? 1.0 : 0.0;\n}\n\nvoid main() {\n vec4 image = texture2D(map, vUv);\n if (image.r == 0.0 && image.g == 0.0 && image.b == 0.0) discard;\n\n // WebGL 1.0 \u8981\u6C42\u5FAA\u73AF\u7EC8\u6B62\u6761\u4EF6\u5FC5\u987B\u662F\u7F16\u8BD1\u65F6\u5E38\u91CF\uFF0C\u6240\u4EE5\u7528 MAX_GROUPS\uFF0C\u5FAA\u73AF\u5185\u68C0\u67E5 groupCount\n for (float i = 0.0; i < float(MAX_GROUPS); i += 1.0) {\n if (i < groupCount) {\n vec4 styleColor = readStyleColor(i);\n vec3 colorRgb = styleColor.rgb;\n float tol = readStyleToleranceHighlight(i).r * 3.0;\n vec3 highlight = readStyleToleranceHighlight(i).gba;\n float opacity = readStyleOpacity(i);\n \n if (opacity > 0.0) {\n float gap = colorGap(image.rgb, colorRgb);\n if (gap > STRICT_MATCH) continue;\n float smoothRange = 0.01;\n float matchFactor = 1.0 - smoothstep(tol - smoothRange, tol + smoothRange, gap);\n if (matchFactor > 0.0) {\n float isEdge = detectEdge(map, vUv, colorRgb, tol);\n float alpha = mix(opacity, 1.0, isEdge);\n alpha *= max(matchFactor, 0.9);\n gl_FragColor = vec4(highlight, alpha);\n return;\n }\n }\n }\n }\n discard;\n}\n";
@@ -7,94 +7,7 @@ void main() {
7
7
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
8
8
  }
9
9
  `
10
- ), o = (
11
- /* glsl */
12
- `
13
- #define RESOLUTION 2048.0
14
-
15
- varying vec2 vUv;
16
- uniform sampler2D map;
17
- uniform vec4 color;
18
- uniform float tolerance;
19
- uniform vec3 highlightColor;
20
- uniform float opacity;
21
-
22
- float colorGap(vec3 color1, vec3 color2) {
23
- float gap = abs(color1.r - color2.r) + abs(color1.g - color2.g) + abs(color1.b - color2.b);
24
- return gap;
25
- }
26
-
27
- // 判断像素是否匹配目标颜色
28
- bool isMatchingColor(vec3 pixelColor) {
29
- // 排除黑色像素
30
- if (pixelColor.r == 0.0 && pixelColor.g == 0.0 && pixelColor.b == 0.0) {
31
- return false;
32
- }
33
- return colorGap(pixelColor, color.rgb) < tolerance;
34
- }
35
-
36
- // 边缘检测函数:参考 MosaicPlugin 实现
37
- float detectEdge(sampler2D map, vec2 uv) {
38
- vec4 centerColor = texture2D(map, uv);
39
-
40
- // 当前像素必须匹配目标颜色
41
- if (!isMatchingColor(centerColor.rgb)) {
42
- return 0.0;
43
- }
44
-
45
- float step = 1.0 / RESOLUTION;
46
-
47
- // 检查4个主要方向的邻居像素
48
- vec4 upColor = texture2D(map, uv + vec2(0.0, -step));
49
- vec4 leftColor = texture2D(map, uv + vec2(-step, 0.0));
50
- vec4 rightColor = texture2D(map, uv + vec2(step, 0.0));
51
- vec4 downColor = texture2D(map, uv + vec2(0.0, step));
52
-
53
- // 只有当前像素匹配颜色,且至少有一个邻居不匹配时,才是边缘
54
- bool hasNonMatchingNeighbor =
55
- !isMatchingColor(upColor.rgb) ||
56
- !isMatchingColor(leftColor.rgb) ||
57
- !isMatchingColor(rightColor.rgb) ||
58
- !isMatchingColor(downColor.rgb);
59
-
60
- return hasNonMatchingNeighbor ? 1.0 : 0.0;
61
- }
62
-
63
- void main() {
64
- vec4 image = texture2D(map, vUv);
65
-
66
- // 排除黑色像素
67
- if (image.r == 0.0 && image.g == 0.0 && image.b == 0.0) {
68
- discard;
69
- }
70
-
71
- // 计算当前像素与目标颜色的差异
72
- float gap = colorGap(image.rgb, color.rgb);
73
-
74
- // 使用固定平滑范围实现颜色匹配边界
75
- float smoothRange = 0.01;
76
-
77
- // 平滑的颜色匹配因子(0-1)
78
- float matchFactor = 1.0 - smoothstep(tolerance - smoothRange, tolerance + smoothRange, gap);
79
-
80
- if (matchFactor > 0.0) {
81
- // 使用新的边缘检测方法
82
- float isEdge = detectEdge(map, vUv);
83
-
84
- // 边缘使用完全不透明,内部使用设定的透明度
85
- float alpha = mix(opacity, 1.0, isEdge);
86
-
87
- // 应用匹配因子实现边界平滑,但保留最小 0.9 的透明度
88
- // 这样即使在边界处也不会完全透明,同时完全匹配区域保持设定的透明度
89
- alpha *= max(matchFactor, 0.9);
90
-
91
- gl_FragColor = vec4(highlightColor, alpha);
92
- } else {
93
- discard;
94
- }
95
- }
96
- `
97
- ), r = (
10
+ ), t = (
98
11
  /* glsl */
99
12
  `
100
13
  #define RESOLUTION 2048.0
@@ -176,7 +89,6 @@ void main() {
176
89
  `
177
90
  );
178
91
  export {
179
- o as maskFragmentShader,
180
- r as maskFragmentShaderMulti,
92
+ t as maskFragmentShaderMulti,
181
93
  e as maskVertexShader
182
94
  };
@@ -150,6 +150,7 @@ import "../../../shared-utils/three/IObject3D.js";
150
150
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
151
151
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
152
152
  import "../../../shared-utils/util.js";
153
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
153
154
  import "../../../shared-utils/three/core/LineGeometry.js";
154
155
  import "../../../shared-utils/three/core/LineMaterial.js";
155
156
  import "../../../shared-utils/three/core/Line2.js";
@@ -203,7 +204,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
203
204
  import "../../../shared-utils/safeObj.js";
204
205
  import "../../utils/Cache.js";
205
206
  import "../../../shared-utils/promise/withResolvers.js";
206
- class or extends R {
207
+ class rr extends R {
207
208
  constructor(t, e) {
208
209
  super(t, e);
209
210
  v(this, "loading", !1);
@@ -297,5 +298,5 @@ class or extends R {
297
298
  }
298
299
  }
299
300
  export {
300
- or as ModelTag
301
+ rr as ModelTag
301
302
  };
@@ -150,6 +150,7 @@ import "../../../shared-utils/three/IObject3D.js";
150
150
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
151
151
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
152
152
  import "../../../shared-utils/util.js";
153
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
153
154
  import "../../../shared-utils/three/core/LineGeometry.js";
154
155
  import "../../../shared-utils/three/core/LineMaterial.js";
155
156
  import "../../../shared-utils/three/core/Line2.js";
@@ -300,7 +301,7 @@ import "../../../Sculpt/Objects/Line/index.js";
300
301
  import "../../../Sculpt/Editors/RectangleMeshEditor.js";
301
302
  import "../../../Sculpt/utils/sortPositionsByCameraPosition.js";
302
303
  const Z = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map();
303
- class Xr extends B {
304
+ class Yr extends B {
304
305
  constructor(t, e) {
305
306
  super(t, e);
306
307
  y(this, "_floorIndex");
@@ -536,5 +537,5 @@ class Xr extends B {
536
537
  }
537
538
  }
538
539
  export {
539
- Xr as PlaneTag
540
+ Yr as PlaneTag
540
541
  };
@@ -59,6 +59,7 @@ import "../../../Sculpt/typings/style.js";
59
59
  import "../../../shared-utils/three/IObject3D.js";
60
60
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
61
61
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
62
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
62
63
  import "../../../shared-utils/three/core/LineGeometry.js";
63
64
  import "../../../shared-utils/three/core/LineMaterial.js";
64
65
  import "../../../shared-utils/three/core/Line2.js";
@@ -89,7 +90,7 @@ import "../../../shared-utils/safeObj.js";
89
90
  import "../../utils/Cache.js";
90
91
  import "../../../shared-utils/promise/withResolvers.js";
91
92
  const P = new r.Vector2();
92
- class _i extends R {
93
+ class yi extends R {
93
94
  constructor(t, e) {
94
95
  var o, i, n, s, a;
95
96
  super(t, e);
@@ -297,5 +298,5 @@ class _i extends R {
297
298
  }
298
299
  }
299
300
  export {
300
- _i as PointTag
301
+ yi as PointTag
301
302
  };
@@ -1,35 +1,35 @@
1
1
  var f = Object.defineProperty;
2
2
  var y = Object.getOwnPropertySymbols;
3
3
  var S = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
- var g = (s, r, t) => r in s ? f(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t, d = (s, r) => {
4
+ var g = (l, r, t) => r in l ? f(l, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[r] = t, d = (l, r) => {
5
5
  for (var t in r || (r = {}))
6
- S.call(r, t) && g(s, t, r[t]);
6
+ S.call(r, t) && g(l, t, r[t]);
7
7
  if (y)
8
8
  for (var t of y(r))
9
- P.call(r, t) && g(s, t, r[t]);
10
- return s;
9
+ P.call(r, t) && g(l, t, r[t]);
10
+ return l;
11
11
  };
12
- var h = (s, r, t) => (g(s, typeof r != "symbol" ? r + "" : r, t), t);
13
- var u = (s, r, t) => new Promise((o, i) => {
14
- var e = (l) => {
12
+ var c = (l, r, t) => (g(l, typeof r != "symbol" ? r + "" : r, t), t);
13
+ var u = (l, r, t) => new Promise((o, i) => {
14
+ var e = (s) => {
15
15
  try {
16
- n(t.next(l));
17
- } catch (c) {
18
- i(c);
16
+ n(t.next(s));
17
+ } catch (h) {
18
+ i(h);
19
19
  }
20
- }, p = (l) => {
20
+ }, p = (s) => {
21
21
  try {
22
- n(t.throw(l));
23
- } catch (c) {
24
- i(c);
22
+ n(t.throw(s));
23
+ } catch (h) {
24
+ i(h);
25
25
  }
26
- }, n = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(e, p);
27
- n((t = t.apply(s, r)).next());
26
+ }, n = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(e, p);
27
+ n((t = t.apply(l, r)).next());
28
28
  });
29
29
  import { BaseTag as v } from "./BaseTag.js";
30
30
  import * as a from "three";
31
- import { Sculpt as b } from "../../../Sculpt/index.js";
32
- import { Polygon as k } from "../../../Sculpt/Objects/Polygon/index.js";
31
+ import { Sculpt as C } from "../../../Sculpt/index.js";
32
+ import { Polygon as b } from "../../../Sculpt/Objects/Polygon/index.js";
33
33
  import "../../../shared-utils/tag.js";
34
34
  import "../../../vendor/hammerjs/hammer.js";
35
35
  import "../../../shared-utils/three/PointSelector/index.js";
@@ -43,7 +43,7 @@ import "../../../shared-utils/three/blink.js";
43
43
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
44
44
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
45
45
  import "../../../vendor/earcut/src/earcut.js";
46
- import { uuid as C } from "../../../shared-utils/uuid.js";
46
+ import { uuid as k } from "../../../shared-utils/uuid.js";
47
47
  import "../../../shared-utils/five/FivePuppet.js";
48
48
  import "../../../shared-utils/Subscribe.js";
49
49
  import "../../utils/tag/calculateTagConfig.js";
@@ -99,6 +99,7 @@ import "../../../Sculpt/typings/style.js";
99
99
  import "../../../shared-utils/three/IObject3D.js";
100
100
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
101
101
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
102
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
102
103
  import "../../../shared-utils/three/core/LineGeometry.js";
103
104
  import "../../../shared-utils/three/core/LineMaterial.js";
104
105
  import "../../../shared-utils/three/core/Line2.js";
@@ -212,23 +213,23 @@ import "../../../Sculpt/Objects/Polygon/Editor.js";
212
213
  class Ii extends v {
213
214
  constructor(t, o) {
214
215
  super(t, o);
215
- h(this, "tagStyle");
216
- h(this, "clickEventDispose");
217
- h(this, "domClickDispose");
218
- h(this, "screenPosition", null);
216
+ c(this, "tagStyle");
217
+ c(this, "clickEventDispose");
218
+ c(this, "domClickDispose");
219
+ c(this, "screenPosition", null);
219
220
  this.tagStyle = o.style, this.initializeSculptPolygon(), this.updateVisible();
220
221
  }
221
222
  /**
222
223
  * 获取 Polygon 样式配置(合并用户配置和默认值)
223
224
  */
224
225
  getPolygonStyle() {
225
- var o, i, e, p, n, l;
226
+ var o, i, e, p, n, s;
226
227
  const t = ((o = this.tagStyle) == null ? void 0 : o.boxOrPolygon) || {};
227
228
  return {
228
229
  color: (i = t.color) != null ? i : 16777215,
229
230
  opacity: (e = t.opacity) != null ? e : 0.4,
230
231
  lineColor: (n = (p = t.lineColor) != null ? p : t.color) != null ? n : 16777215,
231
- lineWidth: (l = t.lineWidth) != null ? l : 1
232
+ lineWidth: (s = t.lineWidth) != null ? s : 1
232
233
  };
233
234
  }
234
235
  /**
@@ -276,18 +277,19 @@ class Ii extends v {
276
277
  * 初始化 Sculpt Polygon
277
278
  */
278
279
  initializeSculptPolygon() {
279
- if (this.polygonShape)
280
+ var n, s;
281
+ if (this.polygonShape || ((s = (n = this.getConfig()) == null ? void 0 : n.__experimental_PolygonMeshConfig) == null ? void 0 : s.enabled) === !1)
280
282
  return;
281
283
  const t = this.position;
282
284
  if (!t || t.length < 3)
283
285
  return;
284
- const o = new b(this.five, void 0, {
286
+ const o = new C(this.five, void 0, {
285
287
  magnifier: null
286
288
  });
287
289
  o.clear(), o.group.removeFromParent();
288
- const i = t.map((n) => m(n)), e = this.getPolygonStyle(), p = new k(
290
+ const i = t.map((h) => m(h)), e = this.getPolygonStyle(), p = new b(
289
291
  {
290
- id: C(),
292
+ id: k(),
291
293
  type: "Polygon",
292
294
  points: i,
293
295
  style: e
@@ -71,6 +71,7 @@ import "../../Sculpt/typings/style.js";
71
71
  import "../../shared-utils/three/IObject3D.js";
72
72
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
73
73
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
74
+ import "../../shared-utils/five/getFiveFromParentChain.js";
74
75
  import "../../shared-utils/three/core/LineGeometry.js";
75
76
  import "../../shared-utils/three/core/LineMaterial.js";
76
77
  import "../../shared-utils/three/core/Line2.js";
@@ -94,7 +95,7 @@ import "../../shared-utils/url/defaultUrls.js";
94
95
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
95
96
  import "../../shared-utils/typescript/entries.js";
96
97
  import "../utils/tag/adaptConfig.js";
97
- class Zt extends l {
98
+ class _t extends l {
98
99
  constructor(t) {
99
100
  super(t);
100
101
  o(this, "rendererMap", /* @__PURE__ */ new Map());
@@ -145,5 +146,5 @@ class Zt extends l {
145
146
  }
146
147
  }
147
148
  export {
148
- Zt as TagRender
149
+ _t as TagRender
149
150
  };
@@ -85,6 +85,7 @@ import "../../shared-utils/three/IObject3D.js";
85
85
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
86
86
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
87
87
  import "../../shared-utils/util.js";
88
+ import "../../shared-utils/five/getFiveFromParentChain.js";
88
89
  import "../../shared-utils/three/core/LineGeometry.js";
89
90
  import "../../shared-utils/three/core/LineMaterial.js";
90
91
  import "../../shared-utils/three/core/Line2.js";
@@ -103,7 +104,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
103
104
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
104
105
  import "../../shared-utils/five/calculateThreeMouse.js";
105
106
  import "../../shared-utils/url/defaultUrls.js";
106
- class Xt extends ce {
107
+ class Jt extends ce {
107
108
  constructor(e) {
108
109
  super(e);
109
110
  s(this, "tags", []);
@@ -311,5 +312,5 @@ class Xt extends ce {
311
312
  }
312
313
  }
313
314
  export {
314
- Xt as TagUtil
315
+ Jt as TagUtil
315
316
  };
@@ -10,8 +10,8 @@ var b = (l, p, e) => p in l ? w(l, p, { enumerable: !0, configurable: !0, writab
10
10
  B.call(p, e) && b(l, e, p[e]);
11
11
  return l;
12
12
  }, C = (l, p) => F(l, _(p));
13
- var d = (l, p, e) => (b(l, typeof p != "symbol" ? p + "" : p, e), e);
14
- var m = (l, p, e) => new Promise((t, i) => {
13
+ var m = (l, p, e) => (b(l, typeof p != "symbol" ? p + "" : p, e), e);
14
+ var d = (l, p, e) => new Promise((t, i) => {
15
15
  var o = (s) => {
16
16
  try {
17
17
  a(e.next(s));
@@ -121,6 +121,7 @@ import "../../shared-utils/three/IObject3D.js";
121
121
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
122
122
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
123
123
  import "../../shared-utils/util.js";
124
+ import "../../shared-utils/five/getFiveFromParentChain.js";
124
125
  import "../../shared-utils/three/core/LineGeometry.js";
125
126
  import "../../shared-utils/three/core/LineMaterial.js";
126
127
  import "../../shared-utils/three/core/Line2.js";
@@ -334,23 +335,23 @@ import "../Components/Common/TagPopover/TagPopoverToolBar.js";
334
335
  import "../Components/Common/TagPopover/ArrowRightIcon.js";
335
336
  import "../Components/Common/TagPopover/ShareIcon.js";
336
337
  import "../utils/popoverContainer.js";
337
- const I = "Dnalogel-PanoTagPlugin", Ns = (l) => `${I}--${l}`;
338
- class Vs extends $ {
338
+ const I = "Dnalogel-PanoTagPlugin", Vs = (l) => `${I}--${l}`;
339
+ class zs extends $ {
339
340
  constructor(e, t) {
340
341
  super(e);
341
342
  /** state */
342
- d(this, "state", { enabled: !0, visible: !0 });
343
+ m(this, "state", { enabled: !0, visible: !0 });
343
344
  /** debug */
344
- d(this, "debug");
345
- d(this, "debugUtil", new W(this));
345
+ m(this, "debug");
346
+ m(this, "debugUtil", new W(this));
346
347
  /** 全局 hover 启用状态,默认 true */
347
- d(this, "globalHoverEnabled", !0);
348
+ m(this, "globalHoverEnabled", !0);
348
349
  /** 更改 tag 模型 */
349
- d(this, "changeTagModel", (e, t) => m(this, null, function* () {
350
+ m(this, "changeTagModel", (e, t) => d(this, null, function* () {
350
351
  var i;
351
352
  e.data = v({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
352
353
  }));
353
- d(this, "handleFiveModeChange", (e) => {
354
+ m(this, "handleFiveModeChange", (e) => {
354
355
  const t = () => {
355
356
  this.filter2DPointTag.forEach((i) => {
356
357
  i.state.visible = !1, i.applyVisible();
@@ -364,7 +365,7 @@ class Vs extends $ {
364
365
  };
365
366
  this.tags.length < 500 ? t() : this.five.ready().then(() => t());
366
367
  });
367
- d(this, "handleFiveWantsMoveToPano", () => {
368
+ m(this, "handleFiveWantsMoveToPano", () => {
368
369
  if (this.tags.length > 500) {
369
370
  this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
370
371
  return;
@@ -373,18 +374,18 @@ class Vs extends $ {
373
374
  e.temporaryState.visible = !0;
374
375
  }), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((e) => e.applyVisible());
375
376
  });
376
- d(this, "clickhandler", (e) => {
377
+ m(this, "clickhandler", (e) => {
377
378
  e.tag.onClick(e);
378
379
  });
379
- d(this, "handleFiveCameraUpdate", () => {
380
+ m(this, "handleFiveCameraUpdate", () => {
380
381
  this.filterPointTag.forEach((e) => e.updateScreenPosition());
381
382
  });
382
- d(this, "handleFiveCameraFovUpdate", () => {
383
+ m(this, "handleFiveCameraFovUpdate", () => {
383
384
  this.handleFiveCameraUpdate(), this.five.off("render.prepare", this.handleFiveCameraUpdate), this.five.on("render.prepare", this.handleFiveCameraUpdate), setTimeout(() => {
384
385
  this.five.off("render.prepare", this.handleFiveCameraUpdate);
385
386
  }, 1e3);
386
387
  });
387
- d(this, "handleFivePanoArrived", () => m(this, null, function* () {
388
+ m(this, "handleFivePanoArrived", () => d(this, null, function* () {
388
389
  this.filter2DPointTag.forEach((e) => {
389
390
  e.state.visible = !1, e.applyVisible();
390
391
  }), this.tagsDo(this.tags, (e) => {
@@ -407,16 +408,16 @@ class Vs extends $ {
407
408
  });
408
409
  }));
409
410
  /** 楼层切换时,需要更新标签可见性 */
410
- d(this, "handleFiveModelShownFloorChange", () => {
411
+ m(this, "handleFiveModelShownFloorChange", () => {
411
412
  this.tagsDo(this.tags, (e) => e.updateVisible());
412
413
  });
413
- d(this, "onFiveRefined", D(() => {
414
+ m(this, "onFiveRefined", D(() => {
414
415
  A(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
415
416
  }));
416
- d(this, "onFiveEveryReady", () => {
417
+ m(this, "onFiveEveryReady", () => {
417
418
  this.setUnfoldedByCamera(), A(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
418
419
  });
419
- d(this, "render", () => {
420
+ m(this, "render", () => {
420
421
  this.renderQueue.forEach((e, t) => {
421
422
  const { keys: i } = e;
422
423
  if (t === "TagContainerSvelte") {
@@ -472,7 +473,7 @@ class Vs extends $ {
472
473
  * @description 加载数据
473
474
  */
474
475
  load(e) {
475
- return m(this, null, function* () {
476
+ return d(this, null, function* () {
476
477
  var o, n;
477
478
  c.clearSharedMeshRegistry(), this.clearTags();
478
479
  try {
@@ -508,7 +509,7 @@ class Vs extends $ {
508
509
  * @param options.updateMaskUrl 是否更新 mask。若为 true 且该 panoIndex 已有 Mask 标签,仅更新其 maskUrl(不变 color、style),并添加新标签
509
510
  */
510
511
  addTag(e, t) {
511
- return m(this, null, function* () {
512
+ return d(this, null, function* () {
512
513
  var a, s;
513
514
  const o = (Array.isArray(e) ? e : [e]).filter((r) => r.stickType === "3DBox" || r.stickType === "Mask" || r.position);
514
515
  if (t != null && t.updateMaskUrl && o.length === 1 && o[0].stickType === "Mask") {
@@ -522,7 +523,7 @@ class Vs extends $ {
522
523
  const h = N(r);
523
524
  return h === "2DPoint" || h === "3DPoint" ? new q(this, r) : h === "Model" ? new J(this, r) : h === "Plane" ? new Z(this, r) : h === "3DBox" ? new Y(this, r) : h === "Polygon" ? new K(this, r) : h === "Mask" ? new c(this, r) : null;
524
525
  });
525
- return n.forEach((r) => x(r)), this.tags.push(...n), this.tagsLengthWillUpdate = !0, j(this.five).then(() => m(this, null, function* () {
526
+ return n.forEach((r) => x(r)), this.tags.push(...n), this.tagsLengthWillUpdate = !0, j(this.five).then(() => d(this, null, function* () {
526
527
  var r, h;
527
528
  this.store.eventListenerDisposer && ((h = (r = this.store).eventListenerDisposer) == null || h.call(r)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(n, (f) => {
528
529
  this.tags.includes(f) && (f.updateVisible(), f.updateZIndex());
@@ -559,7 +560,7 @@ class Vs extends $ {
559
560
  });
560
561
  }
561
562
  show(e) {
562
- return m(this, null, function* () {
563
+ return d(this, null, function* () {
563
564
  if (this.checkDisposed())
564
565
  return;
565
566
  const { userAction: t = !0 } = e != null ? e : {};
@@ -567,7 +568,7 @@ class Vs extends $ {
567
568
  });
568
569
  }
569
570
  hide(e) {
570
- return m(this, null, function* () {
571
+ return d(this, null, function* () {
571
572
  if (this.checkDisposed())
572
573
  return;
573
574
  const { userAction: t = !0 } = e != null ? e : {};
@@ -611,7 +612,7 @@ class Vs extends $ {
611
612
  * @param {Partial<anime.AnimeParams>} animeConfig
612
613
  */
613
614
  blinkTagById(e, t) {
614
- return m(this, null, function* () {
615
+ return d(this, null, function* () {
615
616
  var i;
616
617
  return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
617
618
  });
@@ -746,7 +747,7 @@ class Vs extends $ {
746
747
  * @description 设置 unfolded
747
748
  */
748
749
  setUnfolded() {
749
- return m(this, null, function* () {
750
+ return d(this, null, function* () {
750
751
  return new Promise((e) => {
751
752
  setTimeout(() => {
752
753
  this.setUnfoldedByCamera(), e();
@@ -916,7 +917,7 @@ class Vs extends $ {
916
917
  }
917
918
  }
918
919
  export {
919
- Vs as PanoTagPluginController,
920
- Vs as default,
921
- Ns as pluginFlag
920
+ zs as PanoTagPluginController,
921
+ zs as default,
922
+ Vs as pluginFlag
922
923
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Ri } from "./controller/index.js";
3
- import { defaultGlobalConfig as Ui } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Wi, DimensionType as Xi, PointType as Yi } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Si } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Vi } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Xi, DimensionType as Yi, PointType as Zi } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "../vendor/object-assign-deep/objectAssignDeep.js";
7
7
  import "../shared-utils/positionToVector3.js";
@@ -58,6 +58,7 @@ import "../Sculpt/typings/style.js";
58
58
  import "../shared-utils/three/IObject3D.js";
59
59
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
60
60
  import "../shared-utils/three/applyObjectMatrixWorld.js";
61
+ import "../shared-utils/five/getFiveFromParentChain.js";
61
62
  import "../shared-utils/three/core/LineGeometry.js";
62
63
  import "../shared-utils/three/core/LineMaterial.js";
63
64
  import "../shared-utils/three/core/Line2.js";
@@ -308,14 +309,14 @@ import "./Components/Common/TagPopover/ArrowRightIcon.js";
308
309
  import "./Components/Common/TagPopover/ShareIcon.js";
309
310
  import "./utils/popoverContainer.js";
310
311
  import "../shared-utils/animationFrame/BetterTween.js";
311
- const Ni = (o, t) => new r(o, t);
312
+ const Oi = (o, t) => new r(o, t);
312
313
  export {
313
- Wi as ContentType,
314
- Xi as DimensionType,
315
- Ni as PanoTagPlugin,
314
+ Xi as ContentType,
315
+ Yi as DimensionType,
316
+ Oi as PanoTagPlugin,
316
317
  r as PanoTagPluginController,
317
- Yi as PointType,
318
- Ni as default,
319
- Ui as defaultGlobalConfig,
320
- Ri as pluginFlag
318
+ Zi as PointType,
319
+ Oi as default,
320
+ Vi as defaultGlobalConfig,
321
+ Si as pluginFlag
321
322
  };