@realsee/dnalogel 2.16.2-alpha.0 → 2.17.0-aplha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/dist/PanoTagPlugin/Archive/deprecated.d.ts +22 -0
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -1
  4. package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -1
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +6 -7
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -1
  8. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +25 -25
  9. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
  10. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +15 -25
  11. package/dist/index.cjs.js +42 -42
  12. package/dist/index.js +1899 -1855
  13. package/dist/index.umd.js +42 -42
  14. package/dist/shared-utils/five/FiveDomEvents.d.ts +6 -0
  15. package/dist/shared-utils/five/getFloorIndex.d.ts +10 -0
  16. package/dist/shared-utils/three/FragmentTransparencyMaterial.d.ts +17 -0
  17. package/dist/shared-utils/three/loadVideoTexture.d.ts +6 -1
  18. package/dist/typings/utils.type.d.ts +2 -0
  19. package/docs/assets/search.js +1 -1
  20. package/docs/classes/CSS3DRender.html +31 -31
  21. package/docs/classes/CruisePluginController.html +25 -25
  22. package/docs/classes/Magnifier.html +20 -20
  23. package/docs/classes/ModelRoomLabelController.html +11 -11
  24. package/docs/classes/Object3DHelperController.html +24 -24
  25. package/docs/classes/PaintBrush.html +15 -15
  26. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  27. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  28. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  29. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  30. package/docs/classes/PanoTagPluginController.html +81 -369
  31. package/docs/classes/Util.BetterTween.html +8 -8
  32. package/docs/classes/Util.FivePointSelector.html +12 -12
  33. package/docs/classes/Util.Interval.html +12 -12
  34. package/docs/classes/Util.Magnifier.html +17 -17
  35. package/docs/classes/Util.PointDomHelper.html +11 -11
  36. package/docs/classes/Util.PointHelper.html +11 -11
  37. package/docs/classes/Util.Rectangle.html +13 -13
  38. package/docs/enums/CameraMovementEffect.html +7 -7
  39. package/docs/enums/ContentType.html +19 -19
  40. package/docs/enums/DIRECTION.html +9 -9
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  42. package/docs/enums/DimensionType.html +7 -7
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/Rotation.html +8 -8
  47. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  48. package/docs/functions/CameraMovementPlugin.html +6 -5
  49. package/docs/functions/CruisePlugin.html +6 -5
  50. package/docs/functions/GuideLinePlugin.html +6 -5
  51. package/docs/functions/ItemLabelPlugin.html +6 -5
  52. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  53. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  55. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  56. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  57. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  58. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  59. package/docs/functions/ModelViewPlugin.html +6 -5
  60. package/docs/functions/Object3DHelperPlugin.html +6 -5
  61. package/docs/functions/PanoCompassPlugin.html +6 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  65. package/docs/functions/PanoMeasurePlugin.html +6 -5
  66. package/docs/functions/PanoRulerPlugin.html +6 -5
  67. package/docs/functions/PanoRulerProPlugin.html +6 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  69. package/docs/functions/PanoTagPlugin.html +6 -5
  70. package/docs/functions/PanoVideoPlugin.html +6 -5
  71. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +6 -5
  83. package/docs/index.html +5 -4
  84. package/docs/interfaces/AddTagConfig.html +6 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/EventMap.html +19 -19
  89. package/docs/interfaces/FloorplanBounding.html +8 -8
  90. package/docs/interfaces/FloorplanData.html +10 -10
  91. package/docs/interfaces/FloorplanEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  94. package/docs/interfaces/FloorplanFloorData.html +9 -9
  95. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  96. package/docs/interfaces/FloorplanObserver.html +9 -9
  97. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  98. package/docs/interfaces/FloorplanPosition.html +7 -7
  99. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  101. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  102. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  103. package/docs/interfaces/FloorplanServerData.html +7 -7
  104. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  106. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  107. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  108. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  114. package/docs/interfaces/HelperOffset.html +8 -8
  115. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  116. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  117. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  118. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  119. package/docs/interfaces/MinMax.html +7 -7
  120. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  121. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  122. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  123. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  124. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  125. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  126. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  127. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  128. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  129. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  130. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  131. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  132. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  133. package/docs/interfaces/Object3DHelperState.html +8 -8
  134. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  135. package/docs/interfaces/PaintBrushAction.html +12 -12
  136. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  137. package/docs/interfaces/PaintBrushState.html +10 -10
  138. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  139. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  140. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  141. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  142. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  143. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  144. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  145. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  146. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  147. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  148. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  149. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  150. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  151. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  152. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  153. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  154. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  155. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  156. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  157. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  158. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  159. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  160. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  161. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  162. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  163. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  164. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  165. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  166. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  167. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  168. package/docs/interfaces/Point.html +8 -8
  169. package/docs/interfaces/Room.html +9 -9
  170. package/docs/interfaces/RoomInfo.html +7 -7
  171. package/docs/interfaces/RoomLabel.html +14 -14
  172. package/docs/interfaces/RoomRules.html +6 -5
  173. package/docs/interfaces/Rooms.html +6 -5
  174. package/docs/interfaces/Scissor.html +9 -9
  175. package/docs/interfaces/State.html +8 -8
  176. package/docs/interfaces/TagCacheInterface.html +12 -12
  177. package/docs/interfaces/TagConfig.html +19 -12
  178. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  179. package/docs/interfaces/TagIconUrl.html +11 -11
  180. package/docs/interfaces/TagObjectGroup.html +6 -6
  181. package/docs/interfaces/TagStyle.html +6 -6
  182. package/docs/interfaces/Tags.html +214 -13
  183. package/docs/interfaces/TemporaryState.html +6 -6
  184. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  185. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  186. package/docs/modules/PanoVideoPluginType.html +5 -5
  187. package/docs/modules/Util.html +5 -5
  188. package/docs/modules.html +6 -4
  189. package/docs/types/ArrayPosition.html +6 -5
  190. package/docs/types/AudioAppearance.html +6 -5
  191. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  192. package/docs/types/CSS3DRenderExportType.html +6 -5
  193. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  194. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  195. package/docs/types/ClassFunctionParameters.html +6 -5
  196. package/docs/types/Color.html +6 -5
  197. package/docs/types/ContentTypeConfigKey.html +6 -5
  198. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  199. package/docs/types/ContentTypeMap.html +7 -6
  200. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  201. package/docs/types/Create3DElementReturnType.html +6 -5
  202. package/docs/types/CruisePluginExportType.html +6 -5
  203. package/docs/types/Direction-1.html +6 -5
  204. package/docs/types/Direction4.html +6 -5
  205. package/docs/types/ElementRenderer.html +6 -5
  206. package/docs/types/FloorplanRuleLabels.html +6 -5
  207. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  208. package/docs/types/GuideLinePluginExportType.html +6 -5
  209. package/docs/types/HelperEventMap.html +6 -5
  210. package/docs/types/LoadTagConfig.html +6 -5
  211. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  212. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  213. package/docs/types/MediaData.html +6 -5
  214. package/docs/types/MediaStore.html +6 -5
  215. package/docs/types/ModelElement.html +6 -5
  216. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  217. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  218. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  219. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  220. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  221. package/docs/types/MoveArgs.html +6 -5
  222. package/docs/types/MoveOpts.html +6 -5
  223. package/docs/types/Object3DHelperEventMap.html +6 -5
  224. package/docs/types/ObjectFit.html +6 -5
  225. package/docs/types/PaintBrushEventMap.html +6 -5
  226. package/docs/types/PanoCompassPluginData.html +6 -5
  227. package/docs/types/PanoCompassPluginExportType.html +6 -5
  228. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  229. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  230. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  231. package/docs/types/PanoIndex.html +6 -5
  232. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  233. package/docs/types/PanoMeasureReturnType.html +6 -5
  234. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  235. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  236. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  237. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  238. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  239. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +275 -0
  240. package/docs/types/PlaneTag.html +6 -5
  241. package/docs/types/PlaneTagElement.html +6 -5
  242. package/docs/types/Point2DElement.html +6 -5
  243. package/docs/types/Point2DTag.html +6 -5
  244. package/docs/types/Point3DElement.html +6 -5
  245. package/docs/types/Point3DTag.html +6 -5
  246. package/docs/types/PointTag.html +6 -5
  247. package/docs/types/PointTagElement.html +6 -5
  248. package/docs/types/Position.html +6 -5
  249. package/docs/types/RotateArgs.html +6 -5
  250. package/docs/types/RotateOpts.html +6 -5
  251. package/docs/types/RuleLabelsKey.html +6 -5
  252. package/docs/types/RuleLabelsValue.html +6 -5
  253. package/docs/types/StickType.html +6 -5
  254. package/docs/types/Tag.html +7 -6
  255. package/docs/types/Tag2D.html +6 -5
  256. package/docs/types/Tag3D.html +6 -5
  257. package/docs/types/TagContentType.html +6 -5
  258. package/docs/types/TagDimensionType.html +6 -5
  259. package/docs/types/TagElement.html +6 -5
  260. package/docs/types/TagEvents.html +6 -5
  261. package/docs/types/TagGLTFObject.html +6 -5
  262. package/docs/types/TagHooks.html +6 -5
  263. package/docs/types/TagIconSize.html +6 -5
  264. package/docs/types/TagId.html +6 -5
  265. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  266. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  267. package/docs/types/WorkCode.html +6 -5
  268. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  269. package/docs/variables/PLUGIN.html +6 -5
  270. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  271. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  272. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  273. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  274. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  275. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +15 -0
  276. package/libs/PanoTagPlugin/Components/Common/Media.js +14 -10
  277. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
  278. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  279. package/libs/PanoTagPlugin/controller/TagComputer.js +173 -171
  280. package/libs/PanoTagPlugin/controller/TagRender.js +51 -44
  281. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -1
  282. package/libs/PanoTagPlugin/controller/TagUtil.js +21 -16
  283. package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
  284. package/libs/PanoTagPlugin/controller/index.js +45 -41
  285. package/libs/PanoTagPlugin/index.js +12 -10
  286. package/libs/PanoTagPlugin/tag.config.js +7 -0
  287. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -1
  288. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +6 -7
  289. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -1
  290. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +25 -25
  291. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
  292. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +15 -25
  293. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +130 -158
  294. package/libs/base/BasePlugin.js +1 -1
  295. package/libs/index.js +104 -102
  296. package/libs/shared-utils/five/FiveDomEvents.d.ts +6 -0
  297. package/libs/shared-utils/five/FiveDomEvents.js +48 -38
  298. package/libs/shared-utils/five/getFloorIndex.d.ts +10 -0
  299. package/libs/shared-utils/five/getFloorIndex.js +16 -0
  300. package/libs/shared-utils/logger.js +1 -1
  301. package/libs/shared-utils/three/FragmentTransparencyMaterial.d.ts +17 -0
  302. package/libs/shared-utils/three/FragmentTransparencyMaterial.js +36 -0
  303. package/libs/shared-utils/three/loadVideoTexture.d.ts +6 -1
  304. package/libs/shared-utils/three/loadVideoTexture.js +8 -10
  305. package/libs/typings/utils.type.d.ts +2 -0
  306. package/libs/typings/utils.type.js +1 -0
  307. package/package.json +2 -2
  308. package/libs/PanoTagPlugin/Archive/index.d.ts +0 -1
  309. package/libs/PanoTagPlugin/Archive/index.js +0 -4
@@ -1,20 +1,20 @@
1
- var B = Object.defineProperty, U = Object.defineProperties;
2
- var M = Object.getOwnPropertyDescriptors;
3
- var x = Object.getOwnPropertySymbols;
4
- var R = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
- var y = (d, f, e) => f in d ? B(d, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[f] = e, I = (d, f) => {
6
- for (var e in f || (f = {}))
7
- R.call(f, e) && y(d, e, f[e]);
8
- if (x)
9
- for (var e of x(f))
10
- D.call(f, e) && y(d, e, f[e]);
11
- return d;
12
- }, P = (d, f) => U(d, M(f));
13
- var T = (d, f, e) => (y(d, typeof f != "symbol" ? f + "" : f, e), e);
14
- import * as C from "three";
15
- import { isMediaModelTag as h, is3DTag as j } from "../utils/tag/tagCheck.js";
1
+ var M = Object.defineProperty, B = Object.defineProperties;
2
+ var U = Object.getOwnPropertyDescriptors;
3
+ var P = Object.getOwnPropertySymbols;
4
+ var R = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
+ var y = (c, l, e) => l in c ? M(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
6
+ for (var e in l || (l = {}))
7
+ R.call(l, e) && y(c, e, l[e]);
8
+ if (P)
9
+ for (var e of P(l))
10
+ C.call(l, e) && y(c, e, l[e]);
11
+ return c;
12
+ }, I = (c, l) => B(c, U(l));
13
+ var T = (c, l, e) => (y(c, typeof l != "symbol" ? l + "" : l, e), e);
14
+ import * as D from "three";
15
+ import { isMediaModelTag as g, is3DTag as j } from "../utils/tag/tagCheck.js";
16
16
  import { tagPosition as V } from "../utils/tagPosition.js";
17
- import { checkRange as g } from "../utils/checkRange.js";
17
+ import { checkRange as h } from "../utils/checkRange.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "@tweenjs/tween.js";
@@ -23,6 +23,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import { notNil as k } from "../../shared-utils/isNil.js";
24
24
  import "../../shared-utils/animationFrame/BetterTween.js";
25
25
  import { TagUtil as S } from "./TagUtil.js";
26
+ import { getFloorIndex as $ } from "../../shared-utils/five/getFloorIndex.js";
26
27
  import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
27
28
  import "../../shared-utils/three/centerPoint.js";
28
29
  import "@realsee/five/gltf-loader";
@@ -62,167 +63,160 @@ import "../../shared-utils/math/pointIsRectangle.js";
62
63
  import "../../shared-utils/three/loadVideoTexture.js";
63
64
  import "../Assets/Icon.js";
64
65
  import "../../shared-utils/three/getPositionsByObjectFit.js";
66
+ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
65
67
  import "../../shared-utils/five/FiveDomEvents.js";
66
- class ke extends S {
68
+ class Fe extends S {
67
69
  constructor(e) {
68
70
  super(e);
69
- T(this, "raycaster", new C.Raycaster());
71
+ T(this, "raycaster", new D.Raycaster());
70
72
  }
71
- getVisibleByPanoIndex(e, i) {
72
- var t;
73
- const n = this.getCache({ panoIndex: i, id: e.id }), s = (t = this.five.panoIndex) != null ? t : i;
74
- if (h(e))
73
+ getVisibleByPanoIndex(e, t) {
74
+ const s = this.getCache({ panoIndex: t, id: e.id }), n = t != null ? t : this.five.getCurrentState().panoIndex;
75
+ if (g(e))
75
76
  return !0;
76
- if (n.visible !== void 0)
77
- return n.visible;
77
+ if (s.visible !== void 0)
78
+ return s.visible;
78
79
  {
79
- const l = (() => {
80
- var p, m, a;
81
- const r = (p = this.getTagConfig(e).visibleConfig) != null ? p : {}, u = this.getDistance(e);
82
- if (typeof r == "function")
83
- return { value: r(this.five, { tag: e, distance: u }), reason: "config function result" };
84
- if (r.keep === "hidden")
80
+ const i = (() => {
81
+ var d, u, v;
82
+ const o = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, f = this.getDistance(e);
83
+ if (typeof o == "function")
84
+ return { value: o(this.five, { tag: e, distance: f }), reason: "config function result" };
85
+ if (o.keep === "hidden")
85
86
  return { value: !1, reason: "config.keep is hidden" };
86
- if (r.keep === "visible")
87
+ if (o.keep === "visible")
87
88
  return { value: !0, reason: "config.keep is visible" };
88
- if (r.visiblePanoIndex !== void 0 && r.visiblePanoIndex !== "all" && s !== void 0) {
89
- if (Array.isArray(r.visiblePanoIndex) && !r.visiblePanoIndex.includes(s))
89
+ if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && n !== void 0) {
90
+ if (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(n))
90
91
  return {
91
92
  value: !1,
92
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${s}, visiblePanoIndex: ${r.visiblePanoIndex}`
93
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${n}, visiblePanoIndex: ${o.visiblePanoIndex}`
93
94
  };
94
- if (r.visiblePanoIndex === "current" && s !== ((m = e.fiveState) == null ? void 0 : m.panoIndex))
95
+ if (o.visiblePanoIndex === "current" && n !== ((u = e.fiveState) == null ? void 0 : u.panoIndex))
95
96
  return {
96
97
  value: !1,
97
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(a = e.fiveState) == null ? void 0 : a.panoIndex}`
98
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${n}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
98
99
  };
99
100
  }
100
- if (r.visibleDistance !== void 0 && r.visibleDistance !== "unLimited" && g(u, r.visibleDistance) === !1)
101
+ if (o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && h(f, o.visibleDistance) === !1)
101
102
  return {
102
103
  value: !1,
103
- reason: `distance is not in visibleDistance. distance: ${u}, visibleDistance: ${r.visibleDistance}`
104
+ reason: `distance is not in visibleDistance. distance: ${f}, visibleDistance: ${o.visibleDistance}`
104
105
  };
105
- if (r.intersectRaycaster !== !1 && (typeof r.intersectRaycaster != "object" || r.intersectRaycaster.enabled !== !1)) {
106
- if (s === void 0)
106
+ if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
107
+ if (n === void 0)
107
108
  return {
108
109
  value: !1,
109
- reason: `intersectRaycaster check failed: fivePanoIndex is ${s}`
110
+ reason: `intersectRaycaster check failed: fivePanoIndex is ${n}`
110
111
  };
111
- const o = this.getRaycasterFromPanoIndex(e, s);
112
- if (!o)
113
- return { value: !1, reason: `intersectRaycaster check failed: raycaster is ${o}` };
114
- const c = this.getTagEnableByIntersect(e, o);
115
- if (c.value === !1)
116
- return c;
112
+ const r = this.getRaycasterFromPanoIndex(e, n);
113
+ if (!r)
114
+ return { value: !1, reason: `intersectRaycaster check failed: raycaster is ${r}` };
115
+ const a = this.getTagEnableByIntersect(e, r);
116
+ if (a.value === !1)
117
+ return a;
117
118
  }
118
- if (r.angleRange && j(e)) {
119
- const o = this.getAngle(e);
120
- if (g(o, r.angleRange) === !1)
121
- return { value: !1, reason: `angle is not in angleRange. angle: ${o}, angleRange: ${r.angleRange}` };
119
+ if (o.angleRange && j(e)) {
120
+ const r = this.getAngle(e);
121
+ if (h(r, o.angleRange) === !1)
122
+ return { value: !1, reason: `angle is not in angleRange. angle: ${r}, angleRange: ${o.angleRange}` };
122
123
  }
123
124
  return {
124
125
  value: !0,
125
126
  reason: "all check passed"
126
127
  };
127
128
  })();
128
- return n.visible = l.value, n.__debug_visible_reason__ = l, n.visible;
129
+ return s.visible = i.value, s.__debug_visible_reason__ = i, s.visible;
129
130
  }
130
131
  }
131
- getVisibleByFiveMode(e, i) {
132
- var t;
133
- const n = (t = this.getTagConfig(e).visibleConfig) != null ? t : {};
132
+ getVisibleByFiveMode(e, t) {
133
+ const s = t != null ? t : this.five.getCurrentState().mode, n = this.getTagConfig(e).visibleConfig;
134
+ if (typeof n == "object") {
135
+ const i = n == null ? void 0 : n.visibleFiveMode;
136
+ return i ? i.includes(s) ? n.followModelVisibility !== !1 && (s === "Floorplan" || s === "Mapview") ? this.getVisibleByFloorIndex(e) : !0 : !1 : s === "Panorama";
137
+ }
134
138
  if (typeof n == "function")
135
- return i === "Panorama";
136
- const s = n == null ? void 0 : n.visibleFiveMode;
137
- return s ? s.includes(i) : i === "Panorama";
138
- }
139
- getVisibleByFloorIndex(e) {
140
- var l;
141
- const i = e.fiveState;
142
- if (!i)
143
- return !0;
144
- const n = i.panoIndex, s = (l = this.five.work.observers[n]) == null ? void 0 : l.floorIndex, t = this.five.model.shownFloor;
145
- return t === null || t === s;
139
+ return t === "Panorama";
146
140
  }
147
141
  getCurrentVisibleState(e) {
148
- var i;
149
- return (i = this.state.visible && e.state.visible) != null ? i : !0;
142
+ var t;
143
+ return (t = this.state.visible && e.state.visible) != null ? t : !0;
150
144
  }
151
145
  getVisible(e) {
152
- const i = this.five.getCurrentState(), n = this.getVisibleByFiveMode(e, i.mode), s = h(e) ? this.getVisibleByFloorIndex(e) : !0, t = i.mode === "Panorama" ? this.getVisibleByPanoIndex(e, i.panoIndex) : !0;
153
- return n && t && s;
146
+ const t = this.five.getCurrentState(), s = this.getVisibleByFiveMode(e), n = t.mode === "Panorama" ? this.getVisibleByPanoIndex(e, t.panoIndex) : !0;
147
+ return s && n;
154
148
  }
155
149
  getModelMedialVisibleByPanoIndex(e) {
156
150
  if (!this.getCurrentVisibleState(e))
157
151
  return !1;
158
- const i = this.five.getCurrentState().panoIndex, n = this.getCache({ panoIndex: i, id: e.id });
159
- if (n.modelMedialVisible !== void 0)
160
- return n.modelMedialVisible;
161
- const s = this.getRaycasterFromPanoIndex(e, i);
162
- if (!s)
152
+ const t = this.five.getCurrentState().panoIndex, s = this.getCache({ panoIndex: t, id: e.id });
153
+ if (s.modelMedialVisible !== void 0)
154
+ return s.modelMedialVisible;
155
+ const n = this.getRaycasterFromPanoIndex(e, t);
156
+ if (!n)
163
157
  return !1;
164
- const t = this.getTagEnableByIntersect(e, s);
165
- return n.modelMedialVisible = t.value, n.__debug_visible_reason__ = t, t.value !== !1;
158
+ const i = this.getTagEnableByIntersect(e, n);
159
+ return s.modelMedialVisible = i.value, s.__debug_visible_reason__ = i, i.value !== !1;
166
160
  }
167
- getUnfoldedByPanoIndex(e, i) {
161
+ getUnfoldedByPanoIndex(e, t) {
168
162
  if (!this.getVisibleByPanoIndex(e))
169
163
  return;
170
- const s = this.getCache({ panoIndex: i, id: e.id });
171
- if (s.unfolded !== void 0)
172
- return s.unfolded;
164
+ const n = this.getCache({ panoIndex: t, id: e.id });
165
+ if (n.unfolded !== void 0)
166
+ return n.unfolded;
173
167
  {
174
- const t = this.getTagConfig(e).unfoldedConfig;
175
- if (!t)
168
+ const i = this.getTagConfig(e).unfoldedConfig;
169
+ if (!i)
176
170
  return;
177
- const l = (() => {
178
- const u = this.getDistance(e);
179
- if (typeof t == "function")
180
- return t(this.five, { tag: e, distance: u });
181
- if (t.keep === "folded")
171
+ const o = (() => {
172
+ const d = this.getDistance(e);
173
+ if (typeof i == "function")
174
+ return i(this.five, { tag: e, distance: d });
175
+ if (i.keep === "folded")
182
176
  return !1;
183
- if (t.keep === "unfolded")
177
+ if (i.keep === "unfolded")
184
178
  return !0;
185
- if (t.unfoldDistance && g(u, t.unfoldDistance) === !1)
179
+ if (i.unfoldDistance && h(d, i.unfoldDistance) === !1)
186
180
  return !1;
187
181
  })();
188
- s.unfolded = l;
189
- const r = this.getUnfoldedByCamera(e);
190
- return r !== void 0 ? r : s.unfolded;
182
+ n.unfolded = o;
183
+ const f = this.getUnfoldedByCamera(e);
184
+ return f !== void 0 ? f : n.unfolded;
191
185
  }
192
186
  }
193
187
  getUnfoldedByCamera(e) {
194
188
  return this.getVisibleByPanoIndex(e) ? (() => {
195
- var l;
196
- const s = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
197
- if (!!t) {
198
- if (typeof t == "function")
199
- return t(this.five, { tag: e, distance: s });
200
- if (t.keep === "folded")
189
+ var o;
190
+ const n = this.getDistance(e), i = this.getTagConfig(e).unfoldedConfig;
191
+ if (!!i) {
192
+ if (typeof i == "function")
193
+ return i(this.five, { tag: e, distance: n });
194
+ if (i.keep === "folded")
201
195
  return !1;
202
- if (t.keep === "unfolded")
196
+ if (i.keep === "unfolded")
203
197
  return !0;
204
- if (t.autoUnfold === void 0 || t.autoUnfold === !1 || t.autoUnfold.enable === !1 || !t.autoUnfold.strategy)
198
+ if (i.autoUnfold === void 0 || i.autoUnfold === !1 || i.autoUnfold.enable === !1 || !i.autoUnfold.strategy)
205
199
  return;
206
- if (t.autoUnfold.strategy === "ScreenPostion") {
207
- const r = this.getTagProject(e);
208
- if (r && g(r.x, t.autoUnfold.autoUnfoldProjectX) === !1)
200
+ if (i.autoUnfold.strategy === "ScreenPostion") {
201
+ const f = this.getTagProject(e);
202
+ if (f && h(f.x, i.autoUnfold.autoUnfoldProjectX) === !1)
209
203
  return !1;
210
204
  }
211
- if (t.autoUnfold.strategy === "MinimumDistance") {
212
- const p = this.filterPointTag.filter((a) => this.getVisibleByPanoIndex(a)).filter((a) => {
213
- const o = this.getTagProject(a);
214
- if (!o)
205
+ if (i.autoUnfold.strategy === "MinimumDistance") {
206
+ const u = this.filterPointTag.filter((r) => this.getVisibleByPanoIndex(r)).filter((r) => {
207
+ const a = this.getTagProject(r);
208
+ if (!a)
215
209
  return !1;
216
- const { x: c, y: v, z: b } = o;
217
- return !(Math.abs(b) > 1 || Math.abs(c) > 1 || Math.abs(v) > 1);
218
- }).map((a) => ({ tag: a, id: a.id, tagConfig: this.getTagConfig(a).unfoldedConfig })).filter(({ tag: a, tagConfig: o }) => {
219
- var c, v;
220
- return !(typeof o != "object" || o.keep || o.autoUnfold === !1 || ((c = o.autoUnfold) == null ? void 0 : c.enable) === !1 || ((v = o.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
221
- }).map((a) => P(I({}, a), { distance: this.getDistance(a.tag) })).filter(({ distance: a, tagConfig: o }) => {
222
- var c, v;
223
- return !(a === void 0 || typeof o != "object" || o.autoUnfold === !1 || ((c = o.autoUnfold) == null ? void 0 : c.enable) === !1 || ((v = o.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || o.autoUnfold.distance && g(a, o.autoUnfold.distance) === !1);
224
- }).sort((a, o) => a.distance - o.distance).findIndex((a) => a.id === e.id);
225
- if (p === -1 || p <= ((l = t.autoUnfold.maxNumber) != null ? l : 1) - 1 === !1)
210
+ const { x: m, y: p, z: b } = a;
211
+ return !(Math.abs(b) > 1 || Math.abs(m) > 1 || Math.abs(p) > 1);
212
+ }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
213
+ var m, p;
214
+ return !(typeof a != "object" || a.keep || a.autoUnfold === !1 || ((m = a.autoUnfold) == null ? void 0 : m.enable) === !1 || ((p = a.autoUnfold) == null ? void 0 : p.strategy) !== "MinimumDistance");
215
+ }).map((r) => I(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
216
+ var m, p;
217
+ return !(r === void 0 || typeof a != "object" || a.autoUnfold === !1 || ((m = a.autoUnfold) == null ? void 0 : m.enable) === !1 || ((p = a.autoUnfold) == null ? void 0 : p.strategy) !== "MinimumDistance" || a.autoUnfold.distance && h(r, a.autoUnfold.distance) === !1);
218
+ }).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
219
+ if (u === -1 || u <= ((o = i.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
226
220
  return !1;
227
221
  }
228
222
  return !0;
@@ -230,98 +224,106 @@ class ke extends S {
230
224
  })() : void 0;
231
225
  }
232
226
  sort(e) {
233
- return e.sort((i, n) => {
234
- const s = this.getDistance(i), t = this.getDistance(n);
235
- return s === void 0 || t === void 0 ? 0 : t - s;
227
+ return e.sort((t, s) => {
228
+ const n = this.getDistance(t), i = this.getDistance(s);
229
+ return n === void 0 || i === void 0 ? 0 : i - n;
236
230
  });
237
231
  }
238
232
  setPointTagPosition() {
239
233
  const e = this.filterPointTag;
240
- e.length !== 0 && e.forEach((i) => {
241
- var s;
242
- if (!((s = i.state) != null && s.visible)) {
243
- i.pointTagStyle = null;
234
+ e.length !== 0 && e.forEach((t) => {
235
+ var n;
236
+ if (!((n = t.state) != null && n.visible)) {
237
+ t.pointTagStyle = null;
244
238
  return;
245
239
  }
246
- const n = this.getTagProject(i);
247
- if (!n) {
248
- i.pointTagStyle = null;
240
+ const s = this.getTagProject(t);
241
+ if (!s) {
242
+ t.pointTagStyle = null;
249
243
  return;
250
244
  }
251
- i.pointTagStyle = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 };
245
+ t.pointTagStyle = { leftPercent: (s.x + 1) / 2 * 100, topPercent: (-s.y + 1) / 2 * 100 };
252
246
  });
253
247
  }
254
248
  setVisibleByPanoIndex() {
255
249
  this.tags.forEach((e) => {
256
- const i = this.getVisibleByPanoIndex(e);
257
- e.state && (e.state.visible = i);
250
+ const t = this.getVisibleByPanoIndex(e);
251
+ e.state && (e.state.visible = t);
258
252
  });
259
253
  }
260
254
  setModelMedialVisible() {
261
255
  const e = this.five.getCurrentState().mode;
262
- this.tags.forEach((i) => {
263
- var s;
264
- if (!h(i))
256
+ this.tags.forEach((t) => {
257
+ var n;
258
+ if (!g(t))
265
259
  return;
266
- if (!((s = i.model) != null && s.object)) {
267
- i.mediaVisible = !1;
260
+ if (!((n = t.model) != null && n.object)) {
261
+ t.mediaVisible = !1;
268
262
  return;
269
263
  }
270
- const n = e === "Panorama" ? this.getModelMedialVisibleByPanoIndex(i) : !0;
271
- i.mediaVisible = n;
264
+ const s = e === "Panorama" ? this.getModelMedialVisibleByPanoIndex(t) : !0;
265
+ t.mediaVisible = s;
272
266
  });
273
267
  }
274
268
  setUnfoldedByPanoIndex() {
275
269
  this.tags.forEach((e) => {
276
- const i = this.getUnfoldedByPanoIndex(e);
277
- if (!!e.state && (i !== void 0 && (e.state.unfolded = i), i && !e.state.visible)) {
278
- const n = this.getTagConfig(e);
279
- typeof n.unfoldedConfig == "object" && n.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
270
+ const t = this.getUnfoldedByPanoIndex(e);
271
+ if (!!e.state && (t !== void 0 && (e.state.unfolded = t), t && !e.state.visible)) {
272
+ const s = this.getTagConfig(e);
273
+ typeof s.unfoldedConfig == "object" && s.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
280
274
  }
281
275
  });
282
276
  }
283
277
  getTagProject(e) {
284
278
  if (!this.getVisibleByPanoIndex(e))
285
279
  return;
286
- const n = V(e.position);
287
- if (!n)
280
+ const s = V(e.position);
281
+ if (!s)
288
282
  return;
289
- const { x: s, y: t, z: l } = n.project(this.five.camera);
290
- if (!(l > 1))
291
- return { x: s, y: t, z: l };
283
+ const { x: n, y: i, z: o } = s.project(this.five.camera);
284
+ if (!(o > 1))
285
+ return { x: n, y: i, z: o };
292
286
  }
293
- getTagEnableByIntersect(e, i) {
294
- var p, m, a;
295
- const n = (p = this.getTagConfig(e).visibleConfig) != null ? p : {}, s = this.getDistance(e), [t] = this.five.model.intersectRaycaster(i), l = (() => {
296
- if (!h(e))
287
+ getTagEnableByIntersect(e, t) {
288
+ var u, v, r;
289
+ const s = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, n = this.getDistance(e), [i] = this.five.model.intersectRaycaster(t), o = (() => {
290
+ if (!g(e))
297
291
  return;
298
- const o = this.tags.filter(h).map((v) => {
292
+ const a = this.tags.filter(g).map((p) => {
299
293
  var b;
300
- return (b = v.model) == null ? void 0 : b.object;
294
+ return (b = p.model) == null ? void 0 : b.object;
301
295
  }).filter(k);
302
- return i.intersectObjects(o, !0)[0];
303
- })(), r = (() => {
304
- var o;
305
- return typeof n == "object" && typeof n.intersectRaycaster == "object" && (o = n.intersectRaycaster.distanceAccuracy) != null ? o : 0.01;
306
- })(), u = Math.min((m = t == null ? void 0 : t.distance) != null ? m : 1 / 0, (a = l == null ? void 0 : l.distance) != null ? a : 1 / 0);
307
- return u + r < s ? {
296
+ return t.intersectObjects(a, !0)[0];
297
+ })(), f = (() => {
298
+ var a;
299
+ return typeof s == "object" && typeof s.intersectRaycaster == "object" && (a = s.intersectRaycaster.distanceAccuracy) != null ? a : 0.01;
300
+ })(), d = Math.min((v = i == null ? void 0 : i.distance) != null ? v : 1 / 0, (r = o == null ? void 0 : o.distance) != null ? r : 1 / 0);
301
+ return d + f < n ? {
308
302
  value: !1,
309
- reason: `intersectRaycaster check failed: distance is ${s}, intersection.distance is ${t == null ? void 0 : t.distance}, intersection.point is ${t == null ? void 0 : t.point.toArray()},
310
- customModelIntersection.point is ${l == null ? void 0 : l.point.toArray()}, minIntersectionDistance is ${u}`
303
+ reason: `intersectRaycaster check failed: distance is ${n}, intersection.distance is ${i == null ? void 0 : i.distance}, intersection.point is ${i == null ? void 0 : i.point.toArray()},
304
+ customModelIntersection.point is ${o == null ? void 0 : o.point.toArray()}, minIntersectionDistance is ${d}`
311
305
  } : { value: !0, reason: "" };
312
306
  }
313
- getRaycasterFromPanoIndex(e, i) {
314
- var l;
315
- const n = (l = this.five.work.observers[i]) == null ? void 0 : l.position;
316
- if (n === void 0)
317
- throw new Error(`getVisible(): observerPosition is ${n}`);
318
- const s = V(e.position);
319
- if (!s)
307
+ getRaycasterFromPanoIndex(e, t) {
308
+ var o;
309
+ const s = (o = this.five.work.observers[t]) == null ? void 0 : o.position;
310
+ if (s === void 0)
311
+ throw new Error(`getVisible(): observerPosition is ${s}`);
312
+ const n = V(e.position);
313
+ if (!n)
320
314
  return;
321
- const t = s.sub(n).normalize();
322
- return this.raycaster.set(n, t), this.raycaster;
315
+ const i = n.sub(s).normalize();
316
+ return this.raycaster.set(s, i), this.raycaster;
317
+ }
318
+ getVisibleByFloorIndex(e) {
319
+ var i, o, f, d, u, v;
320
+ let t = 0;
321
+ const s = (i = e.fiveState) == null ? void 0 : i.panoIndex;
322
+ s !== void 0 ? t = (o = this.five.work.observers[s]) == null ? void 0 : o.floorIndex : t = $(this.five.work.observers, (v = (d = (f = e.model) == null ? void 0 : f.object) == null ? void 0 : d.position) != null ? v : (u = e.mediaPlane) == null ? void 0 : u.position);
323
+ const n = this.five.model.shownFloor;
324
+ return n === null || n === t;
323
325
  }
324
326
  }
325
327
  export {
326
- ke as TagComputer
328
+ Fe as TagComputer
327
329
  };