@realsee/dnalogel 2.17.0-aplha.2 → 2.17.1-alpha.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 (299) hide show
  1. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  3. package/dist/index.cjs.js +35 -35
  4. package/dist/index.js +875 -863
  5. package/dist/index.umd.js +28 -28
  6. package/docs/classes/CSS3DRender.html +31 -31
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/Magnifier.html +20 -20
  9. package/docs/classes/ModelRoomLabelController.html +11 -11
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +15 -15
  12. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  13. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  14. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  15. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  16. package/docs/classes/PanoTagPluginController.html +45 -45
  17. package/docs/classes/Util.BetterTween.html +8 -8
  18. package/docs/classes/Util.FivePointSelector.html +12 -12
  19. package/docs/classes/Util.Interval.html +12 -12
  20. package/docs/classes/Util.Magnifier.html +17 -17
  21. package/docs/classes/Util.PointDomHelper.html +11 -11
  22. package/docs/classes/Util.PointHelper.html +11 -11
  23. package/docs/classes/Util.Rectangle.html +13 -13
  24. package/docs/enums/CameraMovementEffect.html +7 -7
  25. package/docs/enums/ContentType.html +19 -19
  26. package/docs/enums/DIRECTION.html +9 -9
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  28. package/docs/enums/DimensionType.html +7 -7
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  31. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  32. package/docs/enums/Rotation.html +8 -8
  33. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  34. package/docs/functions/CameraMovementPlugin.html +4 -4
  35. package/docs/functions/CruisePlugin.html +4 -4
  36. package/docs/functions/GuideLinePlugin.html +5 -5
  37. package/docs/functions/ItemLabelPlugin.html +4 -4
  38. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  39. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  40. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  41. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  42. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  43. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  44. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  45. package/docs/functions/ModelViewPlugin.html +4 -4
  46. package/docs/functions/Object3DHelperPlugin.html +4 -4
  47. package/docs/functions/PanoCompassPlugin.html +4 -4
  48. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  49. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  50. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  51. package/docs/functions/PanoMeasurePlugin.html +4 -4
  52. package/docs/functions/PanoRulerPlugin.html +4 -4
  53. package/docs/functions/PanoRulerProPlugin.html +4 -4
  54. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  55. package/docs/functions/PanoTagPlugin.html +4 -4
  56. package/docs/functions/PanoVideoPlugin.html +4 -4
  57. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  58. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  59. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  60. package/docs/functions/Util.getFrameTime.html +5 -5
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  63. package/docs/functions/Util.isNil.html +5 -5
  64. package/docs/functions/Util.nextFrame.html +5 -5
  65. package/docs/functions/Util.notNil.html +5 -5
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  67. package/docs/functions/Util.tweenProgress.html +5 -5
  68. package/docs/functions/pluginFlag.html +5 -5
  69. package/docs/index.html +4 -4
  70. package/docs/interfaces/AddTagConfig.html +6 -6
  71. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  72. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  73. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  74. package/docs/interfaces/EventMap.html +15 -15
  75. package/docs/interfaces/FloorplanBounding.html +8 -8
  76. package/docs/interfaces/FloorplanData.html +10 -10
  77. package/docs/interfaces/FloorplanEntrance.html +11 -11
  78. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  79. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  80. package/docs/interfaces/FloorplanFloorData.html +9 -9
  81. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  82. package/docs/interfaces/FloorplanObserver.html +9 -9
  83. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  84. package/docs/interfaces/FloorplanPosition.html +7 -7
  85. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  86. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  87. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  88. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  89. package/docs/interfaces/FloorplanServerData.html +7 -7
  90. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  91. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  92. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  93. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  96. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  98. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  99. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  100. package/docs/interfaces/HelperOffset.html +8 -8
  101. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  102. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  103. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  104. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  105. package/docs/interfaces/MinMax.html +7 -7
  106. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  107. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  108. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  109. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  110. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  111. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  112. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  113. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  114. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  115. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  116. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  117. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  118. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  119. package/docs/interfaces/Object3DHelperState.html +8 -8
  120. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  121. package/docs/interfaces/PaintBrushAction.html +12 -12
  122. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  123. package/docs/interfaces/PaintBrushState.html +10 -10
  124. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  125. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  126. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  127. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  128. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  129. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  130. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  131. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  132. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  133. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  134. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  135. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  137. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  138. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  140. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  141. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  144. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  145. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  146. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  147. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  148. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  149. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  150. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  151. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  152. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  153. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  154. package/docs/interfaces/Point.html +8 -8
  155. package/docs/interfaces/Room.html +9 -9
  156. package/docs/interfaces/RoomInfo.html +7 -7
  157. package/docs/interfaces/RoomLabel.html +14 -14
  158. package/docs/interfaces/RoomRules.html +5 -5
  159. package/docs/interfaces/Rooms.html +5 -5
  160. package/docs/interfaces/Scissor.html +9 -9
  161. package/docs/interfaces/State.html +8 -8
  162. package/docs/interfaces/TagCacheInterface.html +12 -12
  163. package/docs/interfaces/TagConfig.html +12 -12
  164. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  165. package/docs/interfaces/TagIconUrl.html +11 -11
  166. package/docs/interfaces/TagObjectGroup.html +6 -6
  167. package/docs/interfaces/TagStyle.html +6 -6
  168. package/docs/interfaces/Tags.html +10 -10
  169. package/docs/interfaces/TemporaryState.html +6 -6
  170. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  171. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  172. package/docs/modules/PanoVideoPluginType.html +5 -5
  173. package/docs/modules/Util.html +5 -5
  174. package/docs/modules.html +4 -4
  175. package/docs/types/ArrayPosition.html +5 -5
  176. package/docs/types/AudioAppearance.html +5 -5
  177. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  178. package/docs/types/CSS3DRenderExportType.html +5 -5
  179. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  180. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  181. package/docs/types/ClassFunctionParameters.html +5 -5
  182. package/docs/types/Color.html +5 -5
  183. package/docs/types/ContentTypeConfigKey.html +5 -5
  184. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  185. package/docs/types/ContentTypeMap.html +5 -5
  186. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  187. package/docs/types/Create3DElementReturnType.html +5 -5
  188. package/docs/types/CruisePluginExportType.html +5 -5
  189. package/docs/types/Direction-1.html +5 -5
  190. package/docs/types/Direction4.html +5 -5
  191. package/docs/types/ElementRenderer.html +5 -5
  192. package/docs/types/FloorplanRuleLabels.html +5 -5
  193. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  194. package/docs/types/GuideLinePluginExportType.html +5 -5
  195. package/docs/types/HelperEventMap.html +5 -5
  196. package/docs/types/LoadTagConfig.html +5 -5
  197. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  198. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  199. package/docs/types/MediaData.html +5 -5
  200. package/docs/types/MediaStore.html +5 -5
  201. package/docs/types/ModelElement.html +5 -5
  202. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  203. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  204. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  205. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  206. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  207. package/docs/types/MoveArgs.html +5 -5
  208. package/docs/types/MoveOpts.html +5 -5
  209. package/docs/types/Object3DHelperEventMap.html +5 -5
  210. package/docs/types/ObjectFit.html +5 -5
  211. package/docs/types/PaintBrushEventMap.html +5 -5
  212. package/docs/types/PanoCompassPluginData.html +5 -5
  213. package/docs/types/PanoCompassPluginExportType.html +5 -5
  214. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  215. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  216. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  217. package/docs/types/PanoIndex.html +5 -5
  218. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  219. package/docs/types/PanoMeasureReturnType.html +5 -5
  220. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  221. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  222. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  223. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  224. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  225. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
  226. package/docs/types/PlaneTag.html +5 -5
  227. package/docs/types/PlaneTagElement.html +5 -5
  228. package/docs/types/Point2DElement.html +5 -5
  229. package/docs/types/Point2DTag.html +5 -5
  230. package/docs/types/Point3DElement.html +5 -5
  231. package/docs/types/Point3DTag.html +5 -5
  232. package/docs/types/PointTag.html +5 -5
  233. package/docs/types/PointTagElement.html +5 -5
  234. package/docs/types/Position.html +5 -5
  235. package/docs/types/RotateArgs.html +5 -5
  236. package/docs/types/RotateOpts.html +5 -5
  237. package/docs/types/RuleLabelsKey.html +5 -5
  238. package/docs/types/RuleLabelsValue.html +5 -5
  239. package/docs/types/StickType.html +5 -5
  240. package/docs/types/Tag.html +5 -5
  241. package/docs/types/Tag2D.html +5 -5
  242. package/docs/types/Tag3D.html +5 -5
  243. package/docs/types/TagContentType.html +5 -5
  244. package/docs/types/TagDimensionType.html +5 -5
  245. package/docs/types/TagElement.html +5 -5
  246. package/docs/types/TagEvents.html +5 -5
  247. package/docs/types/TagGLTFObject.html +5 -5
  248. package/docs/types/TagHooks.html +5 -5
  249. package/docs/types/TagIconSize.html +5 -5
  250. package/docs/types/TagId.html +5 -5
  251. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  252. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  253. package/docs/types/WorkCode.html +5 -5
  254. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  255. package/docs/variables/PLUGIN.html +5 -5
  256. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  257. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  258. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  259. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  260. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  261. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +1 -1
  262. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +81 -81
  263. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +1 -1
  264. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +1 -1
  265. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +1 -1
  266. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +1 -1
  267. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +1 -1
  268. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
  269. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -1
  270. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +1 -1
  271. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +1 -1
  272. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  273. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  274. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  275. package/libs/PanoTagPlugin/controller/TagCache.js +18 -18
  276. package/libs/PanoTagPlugin/controller/TagComputer.js +13 -11
  277. package/libs/PanoTagPlugin/controller/TagRender.js +115 -114
  278. package/libs/PanoTagPlugin/controller/TagUtil.js +92 -92
  279. package/libs/PanoTagPlugin/controller/index.js +10 -8
  280. package/libs/PanoTagPlugin/index.js +1 -1
  281. package/libs/PanoTagPlugin/typings/index.js +1 -1
  282. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  283. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  284. package/libs/PanoTagPlugin/typings/tag/Utils.js +1 -1
  285. package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
  286. package/libs/PanoTagPlugin/utils/index.js +1 -1
  287. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +1 -1
  288. package/libs/PanoTagPlugin/utils/planeNormal.js +1 -1
  289. package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
  290. package/libs/base/BasePlugin.js +1 -1
  291. package/libs/index.js +1 -1
  292. package/libs/shared-utils/five/getFloorIndex.js +12 -10
  293. package/libs/shared-utils/logger.js +1 -1
  294. package/libs/shared-utils/three/getPositionsByObjectFit.js +1 -1
  295. package/libs/shared-utils/three/loadVideoTexture.js +13 -7
  296. package/package.json +1 -1
  297. /package/dist/{PanoTagPlugin/utils → shared-utils}/device.d.ts +0 -0
  298. /package/libs/{PanoTagPlugin/utils → shared-utils}/device.d.ts +0 -0
  299. /package/libs/{PanoTagPlugin/utils → shared-utils}/device.js +0 -0
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.17.0-aplha.2</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.17.0-aplha.2"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.17.1-alpha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.17.1-alpha.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.17.0-aplha.2</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.17.1-alpha.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">如视看房插件合集 - v2.17.0-aplha.2</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.17.1-alpha.0</a></li>
16
16
  <li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/7103bf1/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/788e6c1/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
28
28
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
29
29
  <div class="tsd-navigation settings">
30
30
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -41,7 +41,7 @@
41
41
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
42
42
  <div class="tsd-accordion-details">
43
43
  <ul>
44
- <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.17.0-<wbr/>aplha.2</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.17.1-<wbr/>alpha.0</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
47
47
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
@@ -31,6 +31,7 @@ import "three";
31
31
  import { noTypecheck as W } from "../../../utils/noTypecheck.js";
32
32
  import "@realsee/five/gltf-loader";
33
33
  import "../../../../shared-utils/three/loadTexture.js";
34
+ import "../../../../shared-utils/device.js";
34
35
  import "@realsee/five";
35
36
  import "object-assign-deep";
36
37
  import "hammerjs";
@@ -38,7 +39,6 @@ import "@tweenjs/tween.js";
38
39
  import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
40
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
40
41
  import "../../../../shared-utils/animationFrame/BetterTween.js";
41
- import "../../../utils/device.js";
42
42
  import "../../../../shared-utils/threex/domevents/index.js";
43
43
  import mi from "../Shadow.js";
44
44
  import "animejs";
@@ -1,112 +1,112 @@
1
1
  import { SvelteComponent as q, init as A, safe_not_equal as J, append_styles as R, empty as X, insert as k, noop as B, detach as y, getContext as S, onMount as D, element as g, attr as a, binding_callbacks as G, space as K, set_style as j, toggle_class as v, append as U, listen as I, src_url_equal as P, run_all as Q } from "../../../vendor/svelte/internal/index.js";
2
2
  import { Image_Play_Icon_With_Text as Y, Image_Play_Icon as Z } from "../../Assets/Icon.js";
3
- function x(l) {
4
- R(l, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
3
+ function x(o) {
4
+ R(o, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
5
5
  }
6
- function L(l) {
6
+ function L(o) {
7
7
  let e;
8
- function i(o, r) {
9
- if (o[2].type === "Image")
8
+ function i(l, r) {
9
+ if (l[2].type === "Image")
10
10
  return ee;
11
- if (o[2].type === "Video")
11
+ if (l[2].type === "Video")
12
12
  return $;
13
13
  }
14
- let t = i(l), n = t && t(l);
14
+ let t = i(o), n = t && t(o);
15
15
  return {
16
16
  c() {
17
17
  e = g("div"), n && n.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
18
18
  },
19
- m(o, r) {
20
- k(o, e, r), n && n.m(e, null);
19
+ m(l, r) {
20
+ k(l, e, r), n && n.m(e, null);
21
21
  },
22
- p(o, r) {
23
- t === (t = i(o)) && n ? n.p(o, r) : (n && n.d(1), n = t && t(o), n && (n.c(), n.m(e, null)));
22
+ p(l, r) {
23
+ t === (t = i(l)) && n ? n.p(l, r) : (n && n.d(1), n = t && t(l), n && (n.c(), n.m(e, null)));
24
24
  },
25
- d(o) {
26
- o && y(e), n && n.d();
25
+ d(l) {
26
+ l && y(e), n && n.d();
27
27
  }
28
28
  };
29
29
  }
30
- function $(l) {
31
- let e, i, t, n, o, r;
32
- function c(d, m) {
33
- return d[7] && d[2].videoCoverUrl ? ie : te;
30
+ function $(o) {
31
+ let e, i, t, n, l, r;
32
+ function c(u, m) {
33
+ return u[7] && u[2].videoCoverUrl ? ie : te;
34
34
  }
35
- let u = c(l), f = u(l);
35
+ let d = c(o), f = d(o);
36
36
  return {
37
37
  c() {
38
- f.c(), e = K(), i = g("div"), t = g("div"), n = g("div"), a(n, "class", "video-icon-img svelte-159ski6"), j(n, "background-image", "url(" + l[20]() + ")"), v(n, "canPlay", l[5]), a(t, "class", "video-icon svelte-159ski6"), v(t, "large", l[4] === "large"), v(t, "small", l[4] === "small"), a(i, "class", "video-play-button-container svelte-159ski6"), v(i, "showPlayButton", l[10]);
38
+ f.c(), e = K(), i = g("div"), t = g("div"), n = g("div"), a(n, "class", "video-icon-img svelte-159ski6"), j(n, "background-image", "url(" + o[20]() + ")"), v(n, "canPlay", o[5]), a(t, "class", "video-icon svelte-159ski6"), v(t, "large", o[4] === "large"), v(t, "small", o[4] === "small"), a(i, "class", "video-play-button-container svelte-159ski6"), v(i, "showPlayButton", o[10]);
39
39
  },
40
- m(d, m) {
41
- f.m(d, m), k(d, e, m), k(d, i, m), U(i, t), U(t, n), o || (r = I(n, "click", l[21]), o = !0);
40
+ m(u, m) {
41
+ f.m(u, m), k(u, e, m), k(u, i, m), U(i, t), U(t, n), l || (r = I(n, "click", o[21]), l = !0);
42
42
  },
43
- p(d, m) {
44
- u === (u = c(d)) && f ? f.p(d, m) : (f.d(1), f = u(d), f && (f.c(), f.m(e.parentNode, e))), m & 8 && j(n, "background-image", "url(" + d[20]() + ")"), m & 32 && v(n, "canPlay", d[5]), m & 16 && v(t, "large", d[4] === "large"), m & 16 && v(t, "small", d[4] === "small"), m & 1024 && v(i, "showPlayButton", d[10]);
43
+ p(u, m) {
44
+ d === (d = c(u)) && f ? f.p(u, m) : (f.d(1), f = d(u), f && (f.c(), f.m(e.parentNode, e))), m & 8 && j(n, "background-image", "url(" + u[20]() + ")"), m & 32 && v(n, "canPlay", u[5]), m & 16 && v(t, "large", u[4] === "large"), m & 16 && v(t, "small", u[4] === "small"), m & 1024 && v(i, "showPlayButton", u[10]);
45
45
  },
46
- d(d) {
47
- f.d(d), d && y(e), d && y(i), o = !1, r();
46
+ d(u) {
47
+ f.d(u), u && y(e), u && y(i), l = !1, r();
48
48
  }
49
49
  };
50
50
  }
51
- function ee(l) {
51
+ function ee(o) {
52
52
  let e, i, t, n;
53
53
  return {
54
54
  c() {
55
- e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${l[6]};`), P(e.src, t = l[2].url) || a(e, "src", t), a(e, "alt", n = l[2].name), a(e, "draggable", !1);
55
+ e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${o[6]};`), P(e.src, t = o[2].url) || a(e, "src", t), a(e, "alt", n = o[2].name), a(e, "draggable", !1);
56
56
  },
57
- m(o, r) {
58
- k(o, e, r);
57
+ m(l, r) {
58
+ k(l, e, r);
59
59
  },
60
- p(o, r) {
61
- r & 64 && i !== (i = `object-fit: ${o[6]};`) && a(e, "style", i), r & 4 && !P(e.src, t = o[2].url) && a(e, "src", t), r & 4 && n !== (n = o[2].name) && a(e, "alt", n);
60
+ p(l, r) {
61
+ r & 64 && i !== (i = `object-fit: ${l[6]};`) && a(e, "style", i), r & 4 && !P(e.src, t = l[2].url) && a(e, "src", t), r & 4 && n !== (n = l[2].name) && a(e, "alt", n);
62
62
  },
63
- d(o) {
64
- o && y(e);
63
+ d(l) {
64
+ l && y(e);
65
65
  }
66
66
  };
67
67
  }
68
- function te(l) {
69
- let e, i, t, n, o, r, c;
68
+ function te(o) {
69
+ let e, i, t, n, l, r, c;
70
70
  return {
71
71
  c() {
72
- e = g("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${l[6]};`), P(e.src, t = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", t), a(e, "poster", n = l[2].videoCoverUrl), a(e, "preload", o = l[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(e, "showPlayButton", l[10]);
73
- },
74
- m(u, f) {
75
- k(u, e, f), l[19](e), r || (c = [
76
- I(e, "play", l[14]),
77
- I(e, "pause", l[15]),
78
- I(e, "error", l[16]),
79
- I(e, "ended", l[17]),
80
- I(e, "click", l[18])
72
+ e = g("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${o[6]};`), P(e.src, t = o[2].videoCoverUrl ? o[2].url : o[2].url + "#t=0.1") || a(e, "src", t), a(e, "poster", n = o[2].videoCoverUrl), a(e, "preload", l = o[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(e, "showPlayButton", o[10]);
73
+ },
74
+ m(d, f) {
75
+ k(d, e, f), o[19](e), r || (c = [
76
+ I(e, "play", o[14]),
77
+ I(e, "pause", o[15]),
78
+ I(e, "error", o[16]),
79
+ I(e, "ended", o[17]),
80
+ I(e, "click", o[18])
81
81
  ], r = !0);
82
82
  },
83
- p(u, f) {
84
- f & 64 && i !== (i = `object-fit: ${u[6]};`) && a(e, "style", i), f & 4 && !P(e.src, t = u[2].videoCoverUrl ? u[2].url : u[2].url + "#t=0.1") && a(e, "src", t), f & 4 && n !== (n = u[2].videoCoverUrl) && a(e, "poster", n), f & 4 && o !== (o = u[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", o), f & 1024 && v(e, "showPlayButton", u[10]);
83
+ p(d, f) {
84
+ f & 64 && i !== (i = `object-fit: ${d[6]};`) && a(e, "style", i), f & 4 && !P(e.src, t = d[2].videoCoverUrl ? d[2].url : d[2].url + "#t=0.1") && a(e, "src", t), f & 4 && n !== (n = d[2].videoCoverUrl) && a(e, "poster", n), f & 4 && l !== (l = d[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", l), f & 1024 && v(e, "showPlayButton", d[10]);
85
85
  },
86
- d(u) {
87
- u && y(e), l[19](null), r = !1, Q(c);
86
+ d(d) {
87
+ d && y(e), o[19](null), r = !1, Q(c);
88
88
  }
89
89
  };
90
90
  }
91
- function ie(l) {
91
+ function ie(o) {
92
92
  let e, i, t, n;
93
93
  return {
94
94
  c() {
95
- e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${l[6]};`), P(e.src, t = l[2].videoCoverUrl) || a(e, "src", t), a(e, "alt", n = l[2].name), a(e, "draggable", !1);
95
+ e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${o[6]};`), P(e.src, t = o[2].videoCoverUrl) || a(e, "src", t), a(e, "alt", n = o[2].name), a(e, "draggable", !1);
96
96
  },
97
- m(o, r) {
98
- k(o, e, r);
97
+ m(l, r) {
98
+ k(l, e, r);
99
99
  },
100
- p(o, r) {
101
- r & 64 && i !== (i = `object-fit: ${o[6]};`) && a(e, "style", i), r & 4 && !P(e.src, t = o[2].videoCoverUrl) && a(e, "src", t), r & 4 && n !== (n = o[2].name) && a(e, "alt", n);
100
+ p(l, r) {
101
+ r & 64 && i !== (i = `object-fit: ${l[6]};`) && a(e, "style", i), r & 4 && !P(e.src, t = l[2].videoCoverUrl) && a(e, "src", t), r & 4 && n !== (n = l[2].name) && a(e, "alt", n);
102
102
  },
103
- d(o) {
104
- o && y(e);
103
+ d(l) {
104
+ l && y(e);
105
105
  }
106
106
  };
107
107
  }
108
- function oe(l) {
109
- let e, i = l[2] && L(l);
108
+ function le(o) {
109
+ let e, i = o[2] && L(o);
110
110
  return {
111
111
  c() {
112
112
  i && i.c(), e = X();
@@ -124,42 +124,42 @@ function oe(l) {
124
124
  }
125
125
  };
126
126
  }
127
- function le(l, e, i) {
128
- let t, n, { mediaInstance: o = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: u = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: d = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, p = !0, b = !1;
127
+ function oe(o, e, i) {
128
+ let t, n, { mediaInstance: l = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: d = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: u = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, p = !0, h = !1;
129
129
  function N() {
130
- i(8, b = (c == null ? void 0 : c.type) === "Video" && Boolean(c.videoCoverUrl));
130
+ i(8, h = (c == null ? void 0 : c.type) === "Video" && Boolean(c.videoCoverUrl));
131
131
  }
132
- const w = S("mediaStore"), h = S("hooks"), _ = () => {
133
- console.debug("loadPoster"), !b && (!t || (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, b = !0), console.debug("loadPoster end")));
132
+ const w = S("mediaStore"), b = S("hooks"), _ = () => {
133
+ h || !t || (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, h = !0));
134
134
  };
135
- h.on("loadVideoFirstFrame", _), D(() => {
135
+ b.on("loadVideoFirstFrame", _), D(() => {
136
136
  w.subscribe(({ currentMediaElement: s }) => {
137
137
  s !== t && (t == null || t.pause());
138
138
  });
139
139
  });
140
140
  const V = (s) => {
141
- i(10, p = !1), i(0, o.paused = !1, o), i(8, b = !0), t && w.set({ currentMediaElement: t }), h.emit("playStateChange", {
141
+ i(10, p = !1), i(0, l.paused = !1, l), i(8, h = !0), t && w.set({ currentMediaElement: t }), b.emit("playStateChange", {
142
142
  event: s,
143
143
  state: "playing",
144
144
  tag: r,
145
145
  mediaInstance: t
146
146
  });
147
147
  }, E = (s) => {
148
- i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
148
+ i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
149
149
  event: s,
150
150
  state: "paused",
151
151
  tag: r,
152
152
  mediaInstance: t
153
153
  });
154
154
  }, z = (s) => {
155
- i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
155
+ i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
156
156
  event: s,
157
157
  state: "paused",
158
158
  tag: r,
159
159
  mediaInstance: t
160
160
  });
161
161
  }, F = (s) => {
162
- i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
162
+ i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
163
163
  event: s,
164
164
  state: "paused",
165
165
  tag: r,
@@ -170,33 +170,33 @@ function le(l, e, i) {
170
170
  };
171
171
  function W(s) {
172
172
  G[s ? "unshift" : "push"](() => {
173
- o.videoInstance = s, i(0, o);
173
+ l.videoInstance = s, i(0, l);
174
174
  });
175
175
  }
176
- const H = () => u === "withText" ? Y : u === "withoutText" ? Z : u, T = (s) => {
177
- !d || t && (i(9, t.muted = !1, t), t.play());
176
+ const H = () => d === "withText" ? Y : d === "withoutText" ? Z : d, T = (s) => {
177
+ !u || t && (i(9, t.muted = !1, t), t.play());
178
178
  };
179
- return l.$$set = (s) => {
180
- "mediaInstance" in s && i(0, o = s.mediaInstance), "tag" in s && i(1, r = s.tag), "media" in s && i(2, c = s.media), "playButtonIfNeed" in s && i(3, u = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, f = s.playButtonSizeIfNeed), "canPlay" in s && i(5, d = s.canPlay), "objectFit" in s && i(6, m = s.objectFit), "disableVideoIfHavePoster" in s && i(7, C = s.disableVideoIfHavePoster);
181
- }, l.$$.update = () => {
182
- if (l.$$.dirty & 1 && i(9, t = o.videoInstance), l.$$.dirty & 4 && i(13, n = c == null ? void 0 : c.url), l.$$.dirty & 8192 && Boolean(n) && N(), l.$$.dirty & 512 && t && i(10, p = t.paused), l.$$.dirty & 772 && (c == null ? void 0 : c.type) === "Video" && !b) {
179
+ return o.$$set = (s) => {
180
+ "mediaInstance" in s && i(0, l = s.mediaInstance), "tag" in s && i(1, r = s.tag), "media" in s && i(2, c = s.media), "playButtonIfNeed" in s && i(3, d = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, f = s.playButtonSizeIfNeed), "canPlay" in s && i(5, u = s.canPlay), "objectFit" in s && i(6, m = s.objectFit), "disableVideoIfHavePoster" in s && i(7, C = s.disableVideoIfHavePoster);
181
+ }, o.$$.update = () => {
182
+ if (o.$$.dirty & 1 && i(9, t = l.videoInstance), o.$$.dirty & 4 && i(13, n = c == null ? void 0 : c.url), o.$$.dirty & 8192 && Boolean(n) && N(), o.$$.dirty & 512 && t && i(10, p = t.paused), o.$$.dirty & 772 && (c == null ? void 0 : c.type) === "Video" && !h) {
183
183
  const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, M = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
184
184
  t && M && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
185
185
  }
186
186
  }, [
187
- o,
187
+ l,
188
188
  r,
189
189
  c,
190
- u,
191
- f,
192
190
  d,
191
+ f,
192
+ u,
193
193
  m,
194
194
  C,
195
- b,
195
+ h,
196
196
  t,
197
197
  p,
198
198
  w,
199
- h,
199
+ b,
200
200
  n,
201
201
  V,
202
202
  E,
@@ -213,8 +213,8 @@ class re extends q {
213
213
  super(), A(
214
214
  this,
215
215
  e,
216
- le,
217
216
  oe,
217
+ le,
218
218
  J,
219
219
  {
220
220
  mediaInstance: 0,
@@ -8,6 +8,7 @@ import "three";
8
8
  import "../../utils/noTypecheck.js";
9
9
  import "@realsee/five/gltf-loader";
10
10
  import "../../../shared-utils/three/loadTexture.js";
11
+ import "../../../shared-utils/device.js";
11
12
  import "@realsee/five";
12
13
  import "object-assign-deep";
13
14
  import "hammerjs";
@@ -28,7 +29,6 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
28
29
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
29
30
  import "../../../shared-utils/animationFrame/BetterTween.js";
30
31
  import "../../../shared-utils/animationFrame/index.js";
31
- import "../../utils/device.js";
32
32
  import "../../../shared-utils/threex/domevents/index.js";
33
33
  import "animejs";
34
34
  import "../../utils/constants.js";
@@ -8,6 +8,7 @@ import "../../../../shared-utils/isNil.js";
8
8
  import "three";
9
9
  import "@realsee/five/gltf-loader";
10
10
  import "../../../../shared-utils/three/loadTexture.js";
11
+ import "../../../../shared-utils/device.js";
11
12
  import "@realsee/five";
12
13
  import "object-assign-deep";
13
14
  import "hammerjs";
@@ -28,7 +29,6 @@ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
28
29
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
29
30
  import "../../../../shared-utils/animationFrame/BetterTween.js";
30
31
  import "../../../../shared-utils/animationFrame/index.js";
31
- import "../../../utils/device.js";
32
32
  import "../../../../shared-utils/threex/domevents/index.js";
33
33
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
34
34
  import "lodash.get";
@@ -5,6 +5,7 @@ import { notNil as z } from "../../../../shared-utils/isNil.js";
5
5
  import "three";
6
6
  import "@realsee/five/gltf-loader";
7
7
  import "../../../../shared-utils/three/loadTexture.js";
8
+ import "../../../../shared-utils/device.js";
8
9
  import "@realsee/five";
9
10
  import "object-assign-deep";
10
11
  import "hammerjs";
@@ -12,7 +13,6 @@ import "@tweenjs/tween.js";
12
13
  import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
13
14
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
14
15
  import "../../../../shared-utils/animationFrame/BetterTween.js";
15
- import "../../../utils/device.js";
16
16
  import "../../../../shared-utils/threex/domevents/index.js";
17
17
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
18
18
  import "lodash.get";
@@ -16,6 +16,7 @@ import "../../../../shared-utils/isNil.js";
16
16
  import "three";
17
17
  import "@realsee/five/gltf-loader";
18
18
  import "../../../../shared-utils/three/loadTexture.js";
19
+ import "../../../../shared-utils/device.js";
19
20
  import "@realsee/five";
20
21
  import "object-assign-deep";
21
22
  import "hammerjs";
@@ -36,7 +37,6 @@ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
36
37
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
37
38
  import "../../../../shared-utils/animationFrame/BetterTween.js";
38
39
  import "../../../../shared-utils/animationFrame/index.js";
39
- import "../../../utils/device.js";
40
40
  import "../../../../shared-utils/threex/domevents/index.js";
41
41
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
42
42
  import "lodash.get";
@@ -16,6 +16,7 @@ import "../../../../shared-utils/isNil.js";
16
16
  import "three";
17
17
  import "@realsee/five/gltf-loader";
18
18
  import "../../../../shared-utils/three/loadTexture.js";
19
+ import "../../../../shared-utils/device.js";
19
20
  import "@realsee/five";
20
21
  import "object-assign-deep";
21
22
  import "hammerjs";
@@ -36,7 +37,6 @@ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
36
37
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
37
38
  import "../../../../shared-utils/animationFrame/BetterTween.js";
38
39
  import "../../../../shared-utils/animationFrame/index.js";
39
- import "../../../utils/device.js";
40
40
  import "../../../../shared-utils/threex/domevents/index.js";
41
41
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
42
42
  import "lodash.get";
@@ -9,6 +9,7 @@ import "../../../shared-utils/isNil.js";
9
9
  import "three";
10
10
  import "@realsee/five/gltf-loader";
11
11
  import "../../../shared-utils/three/loadTexture.js";
12
+ import "../../../shared-utils/device.js";
12
13
  import "@realsee/five";
13
14
  import "object-assign-deep";
14
15
  import "hammerjs";
@@ -29,7 +30,6 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
29
30
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
30
31
  import "../../../shared-utils/animationFrame/BetterTween.js";
31
32
  import "../../../shared-utils/animationFrame/index.js";
32
- import "../../utils/device.js";
33
33
  import "../../../shared-utils/threex/domevents/index.js";
34
34
  import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
35
35
  import "lodash.get";
@@ -7,6 +7,7 @@ import "three";
7
7
  import "../../utils/noTypecheck.js";
8
8
  import "@realsee/five/gltf-loader";
9
9
  import "../../../shared-utils/three/loadTexture.js";
10
+ import "../../../shared-utils/device.js";
10
11
  import "@realsee/five";
11
12
  import "object-assign-deep";
12
13
  import "hammerjs";
@@ -27,7 +28,6 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
27
28
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
28
29
  import "../../../shared-utils/animationFrame/BetterTween.js";
29
30
  import "../../../shared-utils/animationFrame/index.js";
30
- import "../../utils/device.js";
31
31
  import "../../../shared-utils/threex/domevents/index.js";
32
32
  import "animejs";
33
33
  import "../../utils/constants.js";
@@ -12,6 +12,7 @@ import "../../../../shared-utils/isNil.js";
12
12
  import "three";
13
13
  import "@realsee/five/gltf-loader";
14
14
  import "../../../../shared-utils/three/loadTexture.js";
15
+ import "../../../../shared-utils/device.js";
15
16
  import "@realsee/five";
16
17
  import "object-assign-deep";
17
18
  import "hammerjs";
@@ -32,7 +33,6 @@ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
32
33
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
33
34
  import "../../../../shared-utils/animationFrame/BetterTween.js";
34
35
  import "../../../../shared-utils/animationFrame/index.js";
35
- import "../../../utils/device.js";
36
36
  import "../../../../shared-utils/threex/domevents/index.js";
37
37
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
38
38
  import "lodash.get";
@@ -13,6 +13,7 @@ import "../../../../shared-utils/isNil.js";
13
13
  import "three";
14
14
  import "@realsee/five/gltf-loader";
15
15
  import "../../../../shared-utils/three/loadTexture.js";
16
+ import "../../../../shared-utils/device.js";
16
17
  import "@realsee/five";
17
18
  import "object-assign-deep";
18
19
  import "hammerjs";
@@ -33,7 +34,6 @@ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
33
34
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
34
35
  import "../../../../shared-utils/animationFrame/BetterTween.js";
35
36
  import "../../../../shared-utils/animationFrame/index.js";
36
- import "../../../utils/device.js";
37
37
  import "../../../../shared-utils/threex/domevents/index.js";
38
38
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
39
39
  import "lodash.get";
@@ -6,6 +6,7 @@ import "three";
6
6
  import { noTypecheck as c } from "../../utils/noTypecheck.js";
7
7
  import "@realsee/five/gltf-loader";
8
8
  import "../../../shared-utils/three/loadTexture.js";
9
+ import "../../../shared-utils/device.js";
9
10
  import "@realsee/five";
10
11
  import "object-assign-deep";
11
12
  import { isMediaModelTag as aA } from "../../utils/tag/tagCheck.js";
@@ -14,7 +15,6 @@ import "@tweenjs/tween.js";
14
15
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
15
16
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
16
17
  import "../../../shared-utils/animationFrame/BetterTween.js";
17
- import "../../utils/device.js";
18
18
  import "../../../shared-utils/threex/domevents/index.js";
19
19
  import J from "classnames";
20
20
  import "../../../shared-utils/three/GLTFLoader.js";
@@ -15,6 +15,7 @@ import "../../shared-utils/isNil.js";
15
15
  import "three";
16
16
  import "@realsee/five/gltf-loader";
17
17
  import "../../shared-utils/three/loadTexture.js";
18
+ import "../../shared-utils/device.js";
18
19
  import "@realsee/five";
19
20
  import "object-assign-deep";
20
21
  import "hammerjs";
@@ -35,7 +36,6 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
35
36
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
36
37
  import "../../shared-utils/animationFrame/BetterTween.js";
37
38
  import "../../shared-utils/animationFrame/index.js";
38
- import "../utils/device.js";
39
39
  import "../../shared-utils/threex/domevents/index.js";
40
40
  import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
41
41
  import "lodash.get";
@@ -4,6 +4,7 @@ import "three";
4
4
  import { noTypecheck as F } from "../utils/noTypecheck.js";
5
5
  import "@realsee/five/gltf-loader";
6
6
  import "../../shared-utils/three/loadTexture.js";
7
+ import "../../shared-utils/device.js";
7
8
  import "@realsee/five";
8
9
  import "object-assign-deep";
9
10
  import "hammerjs";
@@ -11,7 +12,6 @@ import "@tweenjs/tween.js";
11
12
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
12
13
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
13
14
  import "../../shared-utils/animationFrame/BetterTween.js";
14
- import "../utils/device.js";
15
15
  import "../../shared-utils/threex/domevents/index.js";
16
16
  import "../../shared-utils/three/GLTFLoader.js";
17
17
  import Z from "./Common/TagPoint.js";
@@ -1,27 +1,27 @@
1
- var x = Object.defineProperty;
2
- var u = (a, t, e) => t in a ? x(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
3
- var l = (a, t, e) => (u(a, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { Controller as v } from "../../base/BasePlugin.js";
1
+ var u = Object.defineProperty;
2
+ var v = (o, t, e) => t in o ? u(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var l = (o, t, e) => (v(o, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { Controller as d } from "../../base/BasePlugin.js";
5
5
  import "../../shared-utils/Subscribe.js";
6
- class m extends v {
6
+ class x extends d {
7
7
  constructor(e) {
8
8
  super(e);
9
9
  l(this, "tagCacheByPanoIndex", {});
10
10
  }
11
- getCache({ panoIndex: e, id: n, key: h }) {
12
- var i, C, g, d;
13
- const { five: r } = this, c = (i = r.panoIndex) != null ? i : e;
14
- if (c === void 0)
15
- throw new Error(`TagCacheController getCache(): fivePanoIndex is ${c}`);
16
- const s = `${(g = (C = r.work) == null ? void 0 : C.workCode) != null ? g : r.model.uuid}-${c}`;
17
- let o = this.tagCacheByPanoIndex[s];
18
- if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[s] = o), n === void 0)
19
- return o;
11
+ getCache({ panoIndex: e, id: a, key: h }) {
12
+ var i, C, g;
13
+ const { five: c } = this, n = e != null ? e : c.getCurrentState().panoIndex;
14
+ if (n === void 0)
15
+ throw new Error(`TagCacheController getCache(): fivePanoIndex is ${n}`);
16
+ const s = `${(C = (i = c.work) == null ? void 0 : i.workCode) != null ? C : c.model.uuid}-${n}`;
17
+ let r = this.tagCacheByPanoIndex[s];
18
+ if (r || (r = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[s] = r), a === void 0)
19
+ return r;
20
20
  if (h === void 0) {
21
- const f = o.get(n);
22
- return f || (o.set(n, {}), o.get(n));
21
+ const f = r.get(a);
22
+ return f || (r.set(a, {}), r.get(a));
23
23
  }
24
- return (d = o.get(n)) == null ? void 0 : d[h];
24
+ return (g = r.get(a)) == null ? void 0 : g[h];
25
25
  }
26
26
  clearCache() {
27
27
  this.tagCacheByPanoIndex = {};
@@ -30,5 +30,5 @@ class m extends v {
30
30
  }
31
31
  }
32
32
  export {
33
- m as TagCache
33
+ x as TagCache
34
34
  };