@realsee/dnalogel 2.6.2 → 2.6.3-dev.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 (251) hide show
  1. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +3 -3
  2. package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
  3. package/dist/PanoTagPlugin/typings/controller.d.ts +4 -0
  4. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -1
  5. package/dist/index.cjs.js +1 -1
  6. package/dist/index.js +55 -26
  7. package/dist/index.umd.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/CSS3DRender.html +4 -4
  10. package/docs/classes/CruisePluginController.html +4 -4
  11. package/docs/classes/Magnifier.html +4 -4
  12. package/docs/classes/ModelRoomLabelController.html +4 -4
  13. package/docs/classes/Object3DHelperController.html +4 -4
  14. package/docs/classes/PaintBrush.html +4 -4
  15. package/docs/classes/PanoMeasurePluginLine.html +4 -4
  16. package/docs/classes/PanoMeasurePluginModel.html +4 -4
  17. package/docs/classes/PanoMeasurePluginPoint.html +4 -4
  18. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  19. package/docs/classes/PanoTagPluginController.html +11 -11
  20. package/docs/classes/Util.BetterTween.html +4 -4
  21. package/docs/classes/Util.FivePointSelector.html +4 -4
  22. package/docs/classes/Util.Interval.html +4 -4
  23. package/docs/classes/Util.Magnifier.html +4 -4
  24. package/docs/classes/Util.PointDomHelper.html +4 -4
  25. package/docs/classes/Util.PointHelper.html +4 -4
  26. package/docs/classes/Util.Rectangle.html +4 -4
  27. package/docs/enums/CameraMovementEffect.html +4 -4
  28. package/docs/enums/ContentType.html +52 -56
  29. package/docs/enums/DIRECTION.html +4 -4
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
  31. package/docs/enums/DimensionType.html +4 -4
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
  34. package/docs/enums/PaintBrushTypeEnum.html +4 -4
  35. package/docs/enums/PointType.html +4 -4
  36. package/docs/enums/Rotation.html +4 -4
  37. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  38. package/docs/functions/CameraMovementPlugin.html +5 -5
  39. package/docs/functions/CruisePlugin.html +5 -5
  40. package/docs/functions/GuideLinePlugin.html +5 -5
  41. package/docs/functions/ItemLabelPlugin.html +5 -5
  42. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  43. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  45. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  46. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  47. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  48. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  49. package/docs/functions/ModelViewPlugin.html +5 -5
  50. package/docs/functions/Object3DHelperPlugin.html +5 -5
  51. package/docs/functions/PanoCompassPlugin.html +5 -5
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  53. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  55. package/docs/functions/PanoMeasurePlugin.html +5 -5
  56. package/docs/functions/PanoRulerPlugin.html +5 -5
  57. package/docs/functions/PanoRulerProPlugin.html +5 -5
  58. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  59. package/docs/functions/PanoTagPlugin.html +5 -5
  60. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  61. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  62. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  63. package/docs/functions/Util.getFrameTime.html +4 -4
  64. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  65. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  66. package/docs/functions/Util.isNil.html +4 -4
  67. package/docs/functions/Util.nextFrame.html +4 -4
  68. package/docs/functions/Util.notNil.html +4 -4
  69. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  70. package/docs/functions/Util.tweenProgress.html +4 -4
  71. package/docs/functions/pluginFlag.html +5 -5
  72. package/docs/index.html +5 -5
  73. package/docs/interfaces/AddTagConfig.html +4 -4
  74. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  75. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  76. package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
  77. package/docs/interfaces/EventMap.html +4 -4
  78. package/docs/interfaces/FloorplanBounding.html +4 -4
  79. package/docs/interfaces/FloorplanData.html +4 -4
  80. package/docs/interfaces/FloorplanEntrance.html +4 -4
  81. package/docs/interfaces/FloorplanExtraObject.html +4 -4
  82. package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
  83. package/docs/interfaces/FloorplanFloorData.html +4 -4
  84. package/docs/interfaces/FloorplanImagePosition.html +4 -4
  85. package/docs/interfaces/FloorplanObserver.html +4 -4
  86. package/docs/interfaces/FloorplanOutlineItem.html +4 -4
  87. package/docs/interfaces/FloorplanPosition.html +4 -4
  88. package/docs/interfaces/FloorplanRoomItem.html +4 -4
  89. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  90. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  91. package/docs/interfaces/FloorplanServerComputedData.html +4 -4
  92. package/docs/interfaces/FloorplanServerData.html +4 -4
  93. package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
  94. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
  95. package/docs/interfaces/FloorplanServerEntrance.html +4 -4
  96. package/docs/interfaces/FloorplanServerFloorData.html +4 -4
  97. package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
  98. package/docs/interfaces/FloorplanServerObserver.html +4 -4
  99. package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
  100. package/docs/interfaces/FloorplanServerPosition.html +4 -4
  101. package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
  102. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  103. package/docs/interfaces/ItemLabelPluginData.html +4 -4
  104. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
  105. package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
  106. package/docs/interfaces/MinMax.html +4 -4
  107. package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
  108. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
  109. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
  110. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
  111. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
  112. package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
  113. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
  114. package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
  115. package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
  116. package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
  117. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
  118. package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
  119. package/docs/interfaces/ModelViewPluginExportType.html +4 -4
  120. package/docs/interfaces/Object3DHelperState.html +4 -4
  121. package/docs/interfaces/PaintBrushAction.html +4 -4
  122. package/docs/interfaces/PaintBrushConfigs.html +4 -4
  123. package/docs/interfaces/PaintBrushState.html +4 -4
  124. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
  125. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  126. package/docs/interfaces/PanoMeasureParameterType.html +4 -4
  127. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -4
  128. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -4
  129. package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -4
  130. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  131. package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
  132. package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
  133. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
  134. package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
  135. package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
  136. package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
  137. package/docs/interfaces/PanoRulerProPluginState.html +4 -4
  138. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  140. package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
  141. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
  142. package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
  143. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
  144. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
  145. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
  146. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
  147. package/docs/interfaces/Point.html +4 -4
  148. package/docs/interfaces/Room.html +4 -4
  149. package/docs/interfaces/RoomInfo.html +4 -4
  150. package/docs/interfaces/RoomLabel.html +4 -4
  151. package/docs/interfaces/RoomRules.html +5 -5
  152. package/docs/interfaces/Rooms.html +5 -5
  153. package/docs/interfaces/Scissor.html +4 -4
  154. package/docs/interfaces/State.html +4 -4
  155. package/docs/interfaces/TagCache.html +20 -6
  156. package/docs/interfaces/TagConfig.html +4 -4
  157. package/docs/interfaces/TagIconUrl.html +4 -4
  158. package/docs/interfaces/Tags.html +4 -4
  159. package/docs/interfaces/TemporaryState.html +4 -4
  160. package/docs/interfaces/Util.MagnifierParameter.html +4 -4
  161. package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
  162. package/docs/modules/Util.html +4 -4
  163. package/docs/modules.html +6 -6
  164. package/docs/types/ArrayPosition.html +5 -5
  165. package/docs/types/AudioAppearance.html +5 -5
  166. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  167. package/docs/types/CSS3DRenderExportType.html +5 -5
  168. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  169. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  170. package/docs/types/Color.html +5 -5
  171. package/docs/types/ContentTypeConfigKey.html +5 -5
  172. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  173. package/docs/types/ContentTypeMap.html +6 -6
  174. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  175. package/docs/types/Create3DElementReturnType.html +5 -5
  176. package/docs/types/CruisePluginExportType.html +5 -5
  177. package/docs/types/Direction-1.html +5 -5
  178. package/docs/types/Direction4.html +5 -5
  179. package/docs/types/FloorplanRuleLabels.html +5 -5
  180. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  181. package/docs/types/GuideLinePluginExportType.html +5 -5
  182. package/docs/types/HelperEventMap.html +5 -5
  183. package/docs/types/LoadTagConfig.html +5 -5
  184. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  185. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  186. package/docs/types/MediaData.html +5 -5
  187. package/docs/types/MediaStore.html +6 -6
  188. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  189. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  190. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  191. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  192. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  193. package/docs/types/MoveArgs.html +5 -5
  194. package/docs/types/MoveOpts.html +5 -5
  195. package/docs/types/Object3DHelperEventMap.html +5 -5
  196. package/docs/types/ObjectFit.html +5 -5
  197. package/docs/types/PaintBrushEventMap.html +5 -5
  198. package/docs/types/PanoCompassPluginData.html +5 -5
  199. package/docs/types/PanoCompassPluginExportType.html +5 -5
  200. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  201. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  202. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  203. package/docs/types/PanoIndex.html +5 -5
  204. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  205. package/docs/types/PanoMeasureReturnType.html +5 -5
  206. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  207. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  208. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  209. package/docs/types/PlaneTag.html +5 -5
  210. package/docs/types/PlaneTagElement.html +6 -6
  211. package/docs/types/Point2DElement.html +6 -6
  212. package/docs/types/Point2DTag.html +5 -5
  213. package/docs/types/Point3DElement.html +6 -6
  214. package/docs/types/Point3DTag.html +5 -5
  215. package/docs/types/PointTag.html +5 -5
  216. package/docs/types/PointTagElement.html +6 -6
  217. package/docs/types/Position.html +5 -5
  218. package/docs/types/RotateArgs.html +5 -5
  219. package/docs/types/RotateOpts.html +5 -5
  220. package/docs/types/RuleLabelsKey.html +5 -5
  221. package/docs/types/RuleLabelsValue.html +5 -5
  222. package/docs/types/StickType.html +5 -5
  223. package/docs/types/Tag.html +5 -5
  224. package/docs/types/Tag2D.html +5 -5
  225. package/docs/types/Tag3D.html +5 -5
  226. package/docs/types/TagContentType.html +6 -6
  227. package/docs/types/TagDimensionType.html +5 -5
  228. package/docs/types/TagElement.html +6 -6
  229. package/docs/types/TagEvents.html +5 -5
  230. package/docs/types/TagHooks.html +5 -5
  231. package/docs/types/TagIconSize.html +5 -5
  232. package/docs/types/TagId.html +5 -5
  233. package/docs/types/TagPointType.html +5 -5
  234. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  235. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  236. package/docs/types/WorkCode.html +5 -5
  237. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  238. package/docs/variables/PLUGIN.html +5 -5
  239. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  240. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  241. package/docs/variables/VERSION.html +5 -5
  242. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  243. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  244. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  245. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +3 -3
  246. package/libs/PanoTagPlugin/controller/TagCacheController.js +6 -6
  247. package/libs/PanoTagPlugin/controller/TagComputer.js +159 -130
  248. package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
  249. package/libs/PanoTagPlugin/typings/controller.d.ts +4 -0
  250. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -1
  251. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16755,7 +16755,7 @@ class nA extends ui {
16755
16755
  super(e);
16756
16756
  m(this, "tagCacheByPanoIndex", {});
16757
16757
  }
16758
- getCaches({ panoIndex: e, id: n, key: o }) {
16758
+ getCache({ panoIndex: e, id: n, key: o }) {
16759
16759
  var c, d, f, u;
16760
16760
  const { five: s } = this, r = (c = s.panoIndex) != null ? c : e;
16761
16761
  if (r === void 0)
@@ -16797,45 +16797,74 @@ class iA extends nA {
16797
16797
  }
16798
16798
  getVisibleByPanoIndex(e, n) {
16799
16799
  var r;
16800
- const o = this.getCaches({ panoIndex: n, id: e.id }), s = (r = this.five.panoIndex) != null ? r : n;
16800
+ const o = this.getCache({ panoIndex: n, id: e.id }), s = (r = this.five.panoIndex) != null ? r : n;
16801
16801
  if (o.visible !== void 0)
16802
16802
  return o.visible;
16803
16803
  {
16804
16804
  const a = (() => {
16805
- var d, f, u;
16805
+ var d, f, u, h;
16806
16806
  const l = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, c = this.getDistance(e);
16807
16807
  if (typeof l == "function")
16808
- return l(this.five, { tag: e, distance: c });
16808
+ return { value: l(this.five, { tag: e, distance: c }), reason: "config function result" };
16809
16809
  if (l.keep === "hidden")
16810
- return !1;
16810
+ return { value: !1, reason: "config.keep is hidden" };
16811
16811
  if (l.keep === "visible")
16812
- return !0;
16813
- if (l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && s !== void 0 && (Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(s) || l.visiblePanoIndex === "current" && s !== ((f = e.fiveState) == null ? void 0 : f.panoIndex)) || l.visibleDistance !== void 0 && l.visibleDistance !== "unLimited" && sn(c, l.visibleDistance) === !1)
16814
- return !1;
16812
+ return { value: !0, reason: "config.keep is visible" };
16813
+ if (l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && s !== void 0) {
16814
+ if (Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(s))
16815
+ return {
16816
+ value: !1,
16817
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${s}, visiblePanoIndex: ${l.visiblePanoIndex}`
16818
+ };
16819
+ if (l.visiblePanoIndex === "current" && s !== ((f = e.fiveState) == null ? void 0 : f.panoIndex))
16820
+ return {
16821
+ value: !1,
16822
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(u = e.fiveState) == null ? void 0 : u.panoIndex}`
16823
+ };
16824
+ }
16825
+ if (l.visibleDistance !== void 0 && l.visibleDistance !== "unLimited" && sn(c, l.visibleDistance) === !1)
16826
+ return {
16827
+ value: !1,
16828
+ reason: `distance is not in visibleDistance. distance: ${c}, visibleDistance: ${l.visibleDistance}`
16829
+ };
16815
16830
  if (l.intersectRaycaster !== !1 && (typeof l.intersectRaycaster != "object" || l.intersectRaycaster.enabled !== !1)) {
16816
16831
  if (s === void 0)
16817
- return !1;
16818
- const h = (u = this.five.work.observers[s]) == null ? void 0 : u.position;
16819
- if (h === void 0)
16820
- throw new Error(`getVisible(): observerPosition is ${h}`);
16821
- const p = Vn(e.position).sub(h).normalize();
16822
- this.raycaster.set(h, p);
16823
- const [A] = this.five.model.intersectRaycaster(this.raycaster), g = (() => {
16824
- var v;
16825
- return typeof l.intersectRaycaster == "object" && (v = l.intersectRaycaster.distanceAccuracy) != null ? v : 0.01;
16832
+ return {
16833
+ value: !1,
16834
+ reason: `intersectRaycaster check failed: fivePanoIndex is ${s}`
16835
+ };
16836
+ const p = (h = this.five.work.observers[s]) == null ? void 0 : h.position;
16837
+ if (p === void 0)
16838
+ throw new Error(`getVisible(): observerPosition is ${p}`);
16839
+ const A = Vn(e.position).sub(p).normalize();
16840
+ this.raycaster.set(p, A);
16841
+ const [g] = this.five.model.intersectRaycaster(this.raycaster), v = (() => {
16842
+ var w;
16843
+ return typeof l.intersectRaycaster == "object" && (w = l.intersectRaycaster.distanceAccuracy) != null ? w : 0.01;
16826
16844
  })();
16827
- if (A && A.distance + g < c)
16828
- return !1;
16845
+ if (g && g.distance + v < c)
16846
+ return {
16847
+ value: !1,
16848
+ reason: `intersectRaycaster check failed: distance is ${c}, intersection.distance is ${g.distance}, distanceError is ${v}`
16849
+ };
16829
16850
  }
16830
- return !(l.angleRange && tA(e) && sn(this.getAngle(e), l.angleRange) === !1);
16851
+ if (l.angleRange && tA(e)) {
16852
+ const p = this.getAngle(e);
16853
+ if (sn(p, l.angleRange) === !1)
16854
+ return { value: !1, reason: `angle is not in angleRange. angle: ${p}, angleRange: ${l.angleRange}` };
16855
+ }
16856
+ return {
16857
+ value: !0,
16858
+ reason: "all check passed"
16859
+ };
16831
16860
  })();
16832
- return o.visible = a, o.visible;
16861
+ return o.visible = a.value, o.__debug_visiblereason__ = a, o.visible;
16833
16862
  }
16834
16863
  }
16835
16864
  getUnfoldedByPanoIndex(e, n) {
16836
16865
  if (!this.getVisibleByPanoIndex(e))
16837
16866
  return;
16838
- const s = this.getCaches({ panoIndex: n, id: e.id });
16867
+ const s = this.getCache({ panoIndex: n, id: e.id });
16839
16868
  if (s.unfolded !== void 0)
16840
16869
  return s.unfolded;
16841
16870
  {
@@ -16902,7 +16931,7 @@ class iA extends nA {
16902
16931
  const o = (r = this.five.panoIndex) != null ? r : n;
16903
16932
  if (o === void 0)
16904
16933
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
16905
- const s = this.getCaches({ panoIndex: n, id: e.id });
16934
+ const s = this.getCache({ panoIndex: n, id: e.id });
16906
16935
  if (s.distance !== void 0)
16907
16936
  return s.distance;
16908
16937
  {
@@ -16918,7 +16947,7 @@ class iA extends nA {
16918
16947
  const o = (r = this.five.panoIndex) != null ? r : n;
16919
16948
  if (o === void 0)
16920
16949
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
16921
- const s = this.getCaches({ panoIndex: n, id: e.id });
16950
+ const s = this.getCache({ panoIndex: n, id: e.id });
16922
16951
  if (s.angle !== void 0)
16923
16952
  return s.angle;
16924
16953
  {
@@ -16990,12 +17019,12 @@ class iA extends nA {
16990
17019
  e.length !== 0 && e.forEach((n) => {
16991
17020
  var s;
16992
17021
  if (!((s = n.state) != null && s.visible)) {
16993
- n.pointTagStyle = void 0;
17022
+ n.pointTagStyle = null;
16994
17023
  return;
16995
17024
  }
16996
17025
  const o = this.getTagProject(n);
16997
17026
  if (!o) {
16998
- n.pointTagStyle = void 0;
17027
+ n.pointTagStyle = null;
16999
17028
  return;
17000
17029
  }
17001
17030
  n.pointTagStyle = { leftPercent: (o.x + 1) / 2 * 100, topPercent: (-o.y + 1) / 2 * 100 };