@realsee/dnalogel 2.22.0-dev.8 → 2.23.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 (451) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  4. package/dist/index.cjs.js +65 -65
  5. package/dist/index.js +4614 -4447
  6. package/dist/index.umd.js +58 -58
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +48 -48
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/PointType.html +6 -6
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  38. package/docs/functions/CameraMovementPlugin.html +3 -3
  39. package/docs/functions/CruisePlugin.html +3 -3
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +3 -3
  42. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  45. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  47. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  48. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  49. package/docs/functions/ModelViewPlugin.html +3 -3
  50. package/docs/functions/Object3DHelperPlugin.html +3 -3
  51. package/docs/functions/PanoCompassPlugin.html +3 -3
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  53. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  55. package/docs/functions/PanoMeasurePlugin.html +3 -3
  56. package/docs/functions/PanoRulerPlugin.html +3 -3
  57. package/docs/functions/PanoRulerProPlugin.html +3 -3
  58. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  59. package/docs/functions/PanoTagPlugin.html +3 -3
  60. package/docs/functions/PanoVideoPlugin.html +3 -3
  61. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  62. package/docs/functions/Util.absoluteUrl.html +4 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  64. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  65. package/docs/functions/Util.getFrameTime.html +4 -4
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  68. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  69. package/docs/functions/Util.isModelLike.html +4 -4
  70. package/docs/functions/Util.isNil.html +4 -4
  71. package/docs/functions/Util.isPanoramaLike.html +4 -4
  72. package/docs/functions/Util.nextFrame.html +4 -4
  73. package/docs/functions/Util.notNil.html +4 -4
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  75. package/docs/functions/Util.tweenProgress.html +4 -4
  76. package/docs/functions/Util.uuid.html +4 -4
  77. package/docs/functions/pluginFlag.html +4 -4
  78. package/docs/index.html +4 -4
  79. package/docs/interfaces/AddTagConfig.html +5 -5
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  81. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  82. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  83. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  84. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  86. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  88. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  90. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  91. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  92. package/docs/interfaces/EventMap.html +14 -14
  93. package/docs/interfaces/FloorplanBounding.html +7 -7
  94. package/docs/interfaces/FloorplanData.html +9 -9
  95. package/docs/interfaces/FloorplanEntrance.html +10 -10
  96. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  97. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  98. package/docs/interfaces/FloorplanFloorData.html +8 -8
  99. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  100. package/docs/interfaces/FloorplanObserver.html +8 -8
  101. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  102. package/docs/interfaces/FloorplanPosition.html +6 -6
  103. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  104. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  105. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  106. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  107. package/docs/interfaces/FloorplanServerData.html +6 -6
  108. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  111. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  112. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  114. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  115. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  116. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  117. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  118. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  119. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  120. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  123. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  124. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  129. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  130. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  131. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  132. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  133. package/docs/interfaces/HelperOffset.html +7 -7
  134. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  135. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  137. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  138. package/docs/interfaces/MinMax.html +6 -6
  139. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  141. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  142. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  143. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  144. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  146. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  147. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  148. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  149. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  150. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  151. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  152. package/docs/interfaces/Object3DHelperState.html +7 -7
  153. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  154. package/docs/interfaces/PaintBrushAction.html +11 -11
  155. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  156. package/docs/interfaces/PaintBrushState.html +9 -9
  157. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  159. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  160. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  161. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  162. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  164. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  165. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  167. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  168. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  169. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  171. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  172. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  174. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  180. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  184. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  186. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  187. package/docs/interfaces/Point.html +7 -7
  188. package/docs/interfaces/Room.html +8 -8
  189. package/docs/interfaces/RoomInfo.html +6 -6
  190. package/docs/interfaces/RoomLabel.html +13 -13
  191. package/docs/interfaces/RoomRules.html +4 -4
  192. package/docs/interfaces/Rooms.html +4 -4
  193. package/docs/interfaces/Scissor.html +8 -8
  194. package/docs/interfaces/State.html +7 -7
  195. package/docs/interfaces/TagCacheInterface.html +11 -11
  196. package/docs/interfaces/TagConfig.html +12 -12
  197. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  198. package/docs/interfaces/TagIconUrl.html +11 -11
  199. package/docs/interfaces/TagObjectGroup.html +5 -5
  200. package/docs/interfaces/TagStyle.html +5 -5
  201. package/docs/interfaces/Tags.html +8 -8
  202. package/docs/interfaces/TemporaryState.html +5 -5
  203. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  204. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  205. package/docs/interfaces/Util.PointIntersection.html +7 -7
  206. package/docs/modules/CruisePluginTypes.html +4 -4
  207. package/docs/modules/GuideLineItem.html +4 -4
  208. package/docs/modules/GuideLineModeItem.html +4 -4
  209. package/docs/modules/GuideLinePluginType.html +4 -4
  210. package/docs/modules/PanoVideoPluginType.html +4 -4
  211. package/docs/modules/Util.html +4 -4
  212. package/docs/modules.html +4 -4
  213. package/docs/types/ArrayPosition.html +4 -4
  214. package/docs/types/AudioAppearance.html +4 -4
  215. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  216. package/docs/types/CSS3DRenderExportType.html +4 -4
  217. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  219. package/docs/types/ClassFunctionParameters.html +4 -4
  220. package/docs/types/Color.html +4 -4
  221. package/docs/types/ContentTypeConfigKey.html +4 -4
  222. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  223. package/docs/types/ContentTypeMap.html +4 -4
  224. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  225. package/docs/types/Create3DElementReturnType.html +4 -4
  226. package/docs/types/CruisePluginExportType.html +4 -4
  227. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  228. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  229. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  230. package/docs/types/DeprecatedTagProperty.html +4 -4
  231. package/docs/types/Direction-1.html +4 -4
  232. package/docs/types/Direction4.html +4 -4
  233. package/docs/types/ElementRenderer.html +4 -4
  234. package/docs/types/FloorplanRuleLabels.html +4 -4
  235. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  236. package/docs/types/GuideLinePluginExportType.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  241. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  242. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  244. package/docs/types/HelperEventMap.html +4 -4
  245. package/docs/types/LoadTagConfig.html +4 -4
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/MediaData.html +4 -4
  249. package/docs/types/MediaStore.html +4 -4
  250. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  251. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  255. package/docs/types/MoveArgs.html +4 -4
  256. package/docs/types/MoveOpts.html +4 -4
  257. package/docs/types/Object3DHelperEventMap.html +4 -4
  258. package/docs/types/ObjectFit.html +4 -4
  259. package/docs/types/PaintBrushEventMap.html +4 -4
  260. package/docs/types/PanoCompassPluginData.html +4 -4
  261. package/docs/types/PanoCompassPluginExportType.html +4 -4
  262. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  263. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  265. package/docs/types/PanoIndex.html +4 -4
  266. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  267. package/docs/types/PanoMeasureReturnType.html +4 -4
  268. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  269. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  270. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  271. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  272. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  273. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  274. package/docs/types/PlaneTag.html +4 -4
  275. package/docs/types/Point2DTag.html +4 -4
  276. package/docs/types/Point3DTag.html +4 -4
  277. package/docs/types/PointTag.html +4 -4
  278. package/docs/types/PointTagInstance.html +4 -4
  279. package/docs/types/Position.html +4 -4
  280. package/docs/types/RotateArgs.html +4 -4
  281. package/docs/types/RotateOpts.html +4 -4
  282. package/docs/types/RuleLabelsKey.html +4 -4
  283. package/docs/types/RuleLabelsValue.html +4 -4
  284. package/docs/types/StickType.html +4 -4
  285. package/docs/types/Tag.html +4 -4
  286. package/docs/types/Tag2D.html +4 -4
  287. package/docs/types/Tag3D.html +4 -4
  288. package/docs/types/TagContentType.html +4 -4
  289. package/docs/types/TagDimensionType.html +4 -4
  290. package/docs/types/TagElement.html +4 -4
  291. package/docs/types/TagEvents.html +4 -4
  292. package/docs/types/TagGLTFObject.html +4 -4
  293. package/docs/types/TagHooks.html +4 -4
  294. package/docs/types/TagId.html +4 -4
  295. package/docs/types/TagInstance.html +4 -4
  296. package/docs/types/TagPointType.html +4 -4
  297. package/docs/types/TagRendererMap.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  299. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  300. package/docs/types/WorkCode.html +4 -4
  301. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  302. package/docs/variables/PLUGIN.html +4 -4
  303. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  304. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  305. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  307. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  308. package/libs/CruisePlugin/Controller.js +103 -90
  309. package/libs/CruisePlugin/index.js +22 -9
  310. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  311. package/libs/GuideLinePlugin/Controller.js +38 -25
  312. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  313. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  314. package/libs/GuideLinePlugin/index.js +24 -11
  315. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  316. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  317. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  318. package/libs/ItemLabelPlugin/index.js +16 -5
  319. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  320. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  321. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  322. package/libs/ModelItemLabelPlugin/index.js +16 -5
  323. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  324. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  325. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  326. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  327. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  328. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  329. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  330. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  331. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  332. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  333. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  334. package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
  335. package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
  336. package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
  337. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  338. package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
  339. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
  340. package/libs/PanoMeasurePlugin/index.js +27 -16
  341. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  342. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  343. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  344. package/libs/PanoRulerProPlugin/index.js +15 -4
  345. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  346. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  347. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  348. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  349. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  350. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  351. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  352. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  353. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  354. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  355. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  356. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  357. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  358. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  359. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  360. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  361. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  362. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  363. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  364. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  365. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  366. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  367. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  368. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  369. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  370. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  371. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  372. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  373. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  374. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  375. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  376. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  377. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  378. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  379. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  380. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  381. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  382. package/libs/PanoTagPlugin/controller/index.js +95 -82
  383. package/libs/PanoTagPlugin/index.js +26 -13
  384. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  385. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  386. package/libs/base/BasePlugin.js +1 -1
  387. package/libs/floorplan/Components/BaseImage.js +43 -39
  388. package/libs/floorplan/Components/Camera.js +16 -13
  389. package/libs/floorplan/Components/Compass.js +27 -24
  390. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  391. package/libs/floorplan/Components/Main.js +58 -49
  392. package/libs/floorplan/Components/Normalmage.js +25 -22
  393. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  394. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  395. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  396. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  397. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  398. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  399. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  400. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  401. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  402. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  403. package/libs/floorplan/Components/SvgImage.js +30 -27
  404. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  405. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  406. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  407. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  408. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  409. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  410. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  411. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  414. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  415. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  416. package/libs/floorplan/index.js +1 -0
  417. package/libs/index.js +126 -112
  418. package/libs/shared-utils/logger.js +1 -1
  419. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  420. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  421. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  422. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  423. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  424. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  425. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  426. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  427. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  428. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  429. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  430. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  431. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  432. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  433. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  434. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  435. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  436. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  437. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  438. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  439. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  440. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  441. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  442. package/libs/vendor/svelte/src/shared/version.js +4 -0
  443. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  444. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  445. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  446. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  447. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  448. package/package.json +1 -1
  449. package/libs/vendor/svelte/internal/index.js +0 -749
  450. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  451. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,58 +1,71 @@
1
- import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as a, insert as _, append as k, add_resize_listener as B, set_data as S, noop as y, detach as P, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
2
- function J(i) {
3
- M(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
1
+ import { safe_not_equal as W, noop as y, null_to_empty as Z } from "../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as H, element as c, space as M, text as z, attr as m, set_style as a, insert as _, append as g, add_iframe_resize_listener as N, set_data as j, detach as P, destroy_each as B } from "../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { add_render_callback as S } from "../vendor/svelte/src/runtime/internal/scheduler.js";
4
+ import { ensure_array_like as G } from "../vendor/svelte/src/runtime/internal/each.js";
5
+ import { SvelteComponent as V, init as J } from "../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
7
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
8
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
9
+ import "../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../vendor/svelte/src/shared/version.js";
13
+ function D(i) {
14
+ H(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
4
15
  }
5
- function G(i, e, s) {
16
+ function X(i, e, o) {
6
17
  const l = i.slice();
7
- return l[6] = e[s], l;
18
+ return l[6] = e[o], l;
8
19
  }
9
- function D(i) {
10
- let e, s = (
20
+ function A(i) {
21
+ let e, o = G(
11
22
  /*rulerItemProp*/
12
23
  i[0].children
13
24
  ), l = [];
14
- for (let t = 0; t < s.length; t += 1)
15
- l[t] = X(G(i, s, t));
25
+ for (let t = 0; t < o.length; t += 1)
26
+ l[t] = R(X(i, o, t));
16
27
  return {
17
28
  c() {
18
29
  e = c("div");
19
30
  for (let t = 0; t < l.length; t += 1)
20
31
  l[t].c();
21
- d(e, "class", "rule-mixed-line svelte-1h27ktp");
32
+ m(e, "class", "rule-mixed-line svelte-1h27ktp");
22
33
  },
23
- m(t, o) {
24
- _(t, e, o);
25
- for (let n = 0; n < l.length; n += 1)
26
- l[n] && l[n].m(e, null);
34
+ m(t, n) {
35
+ _(t, e, n);
36
+ for (let r = 0; r < l.length; r += 1)
37
+ l[r] && l[r].m(e, null);
27
38
  },
28
- p(t, o) {
29
- if (o & /*rulerItemProp, vars*/
39
+ p(t, n) {
40
+ if (n & /*rulerItemProp, vars*/
30
41
  9) {
31
- s = /*rulerItemProp*/
32
- t[0].children;
33
- let n;
34
- for (n = 0; n < s.length; n += 1) {
35
- const p = G(t, s, n);
36
- l[n] ? l[n].p(p, o) : (l[n] = X(p), l[n].c(), l[n].m(e, null));
42
+ o = G(
43
+ /*rulerItemProp*/
44
+ t[0].children
45
+ );
46
+ let r;
47
+ for (r = 0; r < o.length; r += 1) {
48
+ const h = X(t, o, r);
49
+ l[r] ? l[r].p(h, n) : (l[r] = R(h), l[r].c(), l[r].m(e, null));
37
50
  }
38
- for (; n < l.length; n += 1)
39
- l[n].d(1);
40
- l.length = s.length;
51
+ for (; r < l.length; r += 1)
52
+ l[r].d(1);
53
+ l.length = o.length;
41
54
  }
42
55
  },
43
56
  d(t) {
44
- t && P(e), V(l, t);
57
+ t && P(e), B(l, t);
45
58
  }
46
59
  };
47
60
  }
48
- function A(i) {
49
- let e, s;
61
+ function C(i) {
62
+ let e, o;
50
63
  return {
51
64
  c() {
52
- e = c("em"), d(e, "class", s = Z(
65
+ e = c("em"), m(e, "class", o = Z(
53
66
  /*rulerItemProp*/
54
67
  i[0].state ? "em-solid" : "em-dotted"
55
- ) + " svelte-1h27ktp"), d(
68
+ ) + " svelte-1h27ktp"), m(
56
69
  e,
57
70
  "style",
58
71
  /*vars*/
@@ -64,11 +77,11 @@ function A(i) {
64
77
  },
65
78
  p(l, t) {
66
79
  t & /*rulerItemProp*/
67
- 1 && s !== (s = Z(
80
+ 1 && o !== (o = Z(
68
81
  /*rulerItemProp*/
69
82
  l[0].state ? "em-solid" : "em-dotted"
70
- ) + " svelte-1h27ktp") && d(e, "class", s), t & /*vars*/
71
- 8 && d(
83
+ ) + " svelte-1h27ktp") && m(e, "class", o), t & /*vars*/
84
+ 8 && m(
72
85
  e,
73
86
  "style",
74
87
  /*vars*/
@@ -80,37 +93,37 @@ function A(i) {
80
93
  }
81
94
  };
82
95
  }
83
- function X(i) {
84
- let e, s, l = `${/*child*/
96
+ function R(i) {
97
+ let e, o, l = `${/*child*/
85
98
  i[6].width}px`;
86
99
  return {
87
100
  c() {
88
- e = c("div"), d(e, "class", s = Z(
101
+ e = c("div"), m(e, "class", o = Z(
89
102
  /*child*/
90
103
  i[6].state ? "em-solid" : "em-dotted"
91
- ) + " svelte-1h27ktp"), d(
104
+ ) + " svelte-1h27ktp"), m(
92
105
  e,
93
106
  "style",
94
107
  /*vars*/
95
108
  i[3]
96
109
  ), a(e, "width", l);
97
110
  },
98
- m(t, o) {
99
- _(t, e, o);
111
+ m(t, n) {
112
+ _(t, e, n);
100
113
  },
101
- p(t, o) {
102
- o & /*rulerItemProp*/
103
- 1 && s !== (s = Z(
114
+ p(t, n) {
115
+ n & /*rulerItemProp*/
116
+ 1 && o !== (o = Z(
104
117
  /*child*/
105
118
  t[6].state ? "em-solid" : "em-dotted"
106
- ) + " svelte-1h27ktp") && d(e, "class", s), o & /*vars*/
107
- 8 && d(
119
+ ) + " svelte-1h27ktp") && m(e, "class", o), n & /*vars*/
120
+ 8 && m(
108
121
  e,
109
122
  "style",
110
123
  /*vars*/
111
124
  t[3]
112
- ), (o & /*vars*/
113
- 8 || o & /*rulerItemProp, vars*/
125
+ ), (n & /*vars*/
126
+ 8 || n & /*rulerItemProp, vars*/
114
127
  9 && l !== (l = `${/*child*/
115
128
  t[6].width}px`)) && a(e, "width", l);
116
129
  },
@@ -119,29 +132,29 @@ function X(i) {
119
132
  }
120
133
  };
121
134
  }
122
- function C(i) {
123
- let e, s, l, t, o = (
135
+ function Y(i) {
136
+ let e, o, l, t, n = (
124
137
  /*rulerItemProp*/
125
138
  i[0].labelElement + ""
126
- ), n, p, f = `${/*rulerItemProp*/
139
+ ), r, h, f = `${/*rulerItemProp*/
127
140
  i[0].labelOffset}%`, u = `${/*rulerItemProp*/
128
141
  i[0].width}px`, v = `${/*rulerItemProp*/
129
142
  i[0].left}px`, b = `${/*rulerItemProp*/
130
143
  i[0].top}px`, I = `rotate(${/*rulerItemProp*/
131
144
  i[0].rotateDeg}deg)`;
132
- function w(r, m) {
145
+ function w(s, d) {
133
146
  return (
134
147
  /*rulerItemProp*/
135
- r[0].children.length === 0 ? A : D
148
+ s[0].children.length === 0 ? C : A
136
149
  );
137
150
  }
138
- let g = w(i), h = g(i);
151
+ let k = w(i), p = k(i);
139
152
  return {
140
153
  c() {
141
- e = c("div"), h.c(), s = z(), l = c("div"), t = c("div"), n = N(o), d(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => (
154
+ e = c("div"), p.c(), o = M(), l = c("div"), t = c("div"), r = z(n), m(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), S(() => (
142
155
  /*div0_elementresize_handler*/
143
156
  i[4].call(t)
144
- )), d(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(
157
+ )), m(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), m(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(
145
158
  e,
146
159
  "display",
147
160
  /*rulerItemProp*/
@@ -149,59 +162,59 @@ function C(i) {
149
162
  i[2] ? "block" : "none"
150
163
  );
151
164
  },
152
- m(r, m) {
153
- _(r, e, m), h.m(e, null), k(e, s), k(e, l), k(l, t), k(t, n), p = B(
165
+ m(s, d) {
166
+ _(s, e, d), p.m(e, null), g(e, o), g(e, l), g(l, t), g(t, r), h = N(
154
167
  t,
155
168
  /*div0_elementresize_handler*/
156
169
  i[4].bind(t)
157
170
  );
158
171
  },
159
- p(r, [m]) {
160
- g === (g = w(r)) && h ? h.p(r, m) : (h.d(1), h = g(r), h && (h.c(), h.m(e, s))), m & /*rulerItemProp*/
161
- 1 && o !== (o = /*rulerItemProp*/
162
- r[0].labelElement + "") && S(n, o), m & /*rulerItemProp*/
172
+ p(s, [d]) {
173
+ k === (k = w(s)) && p ? p.p(s, d) : (p.d(1), p = k(s), p && (p.c(), p.m(e, o))), d & /*rulerItemProp*/
174
+ 1 && n !== (n = /*rulerItemProp*/
175
+ s[0].labelElement + "") && j(r, n), d & /*rulerItemProp*/
163
176
  1 && f !== (f = `${/*rulerItemProp*/
164
- r[0].labelOffset}%`) && a(l, "left", f), m & /*rulerItemProp*/
177
+ s[0].labelOffset}%`) && a(l, "left", f), d & /*rulerItemProp*/
165
178
  1 && u !== (u = `${/*rulerItemProp*/
166
- r[0].width}px`) && a(e, "width", u), m & /*rulerItemProp*/
179
+ s[0].width}px`) && a(e, "width", u), d & /*rulerItemProp*/
167
180
  1 && v !== (v = `${/*rulerItemProp*/
168
- r[0].left}px`) && a(e, "left", v), m & /*rulerItemProp*/
181
+ s[0].left}px`) && a(e, "left", v), d & /*rulerItemProp*/
169
182
  1 && b !== (b = `${/*rulerItemProp*/
170
- r[0].top}px`) && a(e, "top", b), m & /*rulerItemProp*/
183
+ s[0].top}px`) && a(e, "top", b), d & /*rulerItemProp*/
171
184
  1 && I !== (I = `rotate(${/*rulerItemProp*/
172
- r[0].rotateDeg}deg)`) && a(e, "transform", I), m & /*rulerItemProp, _visible*/
185
+ s[0].rotateDeg}deg)`) && a(e, "transform", I), d & /*rulerItemProp, _visible*/
173
186
  5 && a(
174
187
  e,
175
188
  "display",
176
189
  /*rulerItemProp*/
177
- r[0].visible && /*_visible*/
178
- r[2] ? "block" : "none"
190
+ s[0].visible && /*_visible*/
191
+ s[2] ? "block" : "none"
179
192
  );
180
193
  },
181
194
  i: y,
182
195
  o: y,
183
- d(r) {
184
- r && P(e), h.d(), p();
196
+ d(s) {
197
+ s && P(e), p.d(), h();
185
198
  }
186
199
  };
187
200
  }
188
- function Y(i, e, s) {
189
- let l, { rulerItemProp: t } = e, o = !0, n, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
201
+ function x(i, e, o) {
202
+ let l, { rulerItemProp: t } = e, n = !0, r, h = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
190
203
  function f() {
191
- n = this.offsetWidth, s(1, n);
204
+ r = this.offsetWidth, o(1, r);
192
205
  }
193
206
  return i.$$set = (u) => {
194
- "rulerItemProp" in u && s(0, t = u.rulerItemProp);
207
+ "rulerItemProp" in u && o(0, t = u.rulerItemProp);
195
208
  }, i.$$.update = () => {
196
209
  i.$$.dirty & /*labelWidth, rulerItemProp*/
197
- 3 && (n >= t.width || n / 2 >= t.labelOffset / 100 * t.width || n / 2 >= (1 - t.labelOffset / 100) * t.width ? s(2, o = !1) : s(2, o = !0));
198
- }, s(3, l = `--background-image: url(${p})`), [t, n, o, l, f];
210
+ 3 && (r >= t.width || r / 2 >= t.labelOffset / 100 * t.width || r / 2 >= (1 - t.labelOffset / 100) * t.width ? o(2, n = !1) : o(2, n = !0));
211
+ }, o(3, l = `--background-image: url(${h})`), [t, r, n, l, f];
199
212
  }
200
- class U extends R {
213
+ class le extends V {
201
214
  constructor(e) {
202
- super(), W(this, e, Y, C, H, { rulerItemProp: 0 }, J);
215
+ super(), J(this, e, x, Y, W, { rulerItemProp: 0 }, D);
203
216
  }
204
217
  }
205
218
  export {
206
- U as default
219
+ le as default
207
220
  };
@@ -1,107 +1,120 @@
1
- import { SvelteComponent as Q, init as X, safe_not_equal as Z, element as $, insert as tt, transition_in as C, check_outros as et, transition_out as k, detach as nt, destroy_each as ot, onMount as rt, onDestroy as st, create_component as at, mount_component as ct, destroy_component as it, group_outros as lt } from "../vendor/svelte/internal/index.js";
2
- import { Five as ft } from "@realsee/five";
3
- import { nextFrame as mt } from "../shared-utils/animationFrame/index.js";
4
- import { equal as z } from "../shared-utils/equal.js";
5
- import { intersectionOfLine as ut } from "../shared-utils/math/planimetry.js";
6
- import { throttle as ht } from "../shared-utils/throttle.js";
7
- import { Vector3 as M } from "three";
1
+ import { safe_not_equal as X } from "../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { element as Z, insert as $, detach as tt, destroy_each as et } from "../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as z, check_outros as nt, transition_out as Y, group_outros as ot } from "../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { onMount as rt, onDestroy as st } from "../vendor/svelte/src/runtime/internal/lifecycle.js";
5
+ import { ensure_array_like as J } from "../vendor/svelte/src/runtime/internal/each.js";
6
+ import { SvelteComponent as at, init as it, create_component as ct, mount_component as lt, destroy_component as ft } from "../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { Five as mt } from "@realsee/five";
9
+ import { nextFrame as ut } from "../shared-utils/animationFrame/index.js";
10
+ import { equal as k } from "../shared-utils/equal.js";
11
+ import { intersectionOfLine as ht } from "../shared-utils/math/planimetry.js";
12
+ import { throttle as pt } from "../shared-utils/throttle.js";
13
+ import { Vector3 as _ } from "three";
8
14
  import dt from "./RulerItem.js";
15
+ import "../vendor/svelte/src/runtime/internal/environment.js";
16
+ import "../vendor/svelte/src/runtime/internal/loop.js";
17
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
18
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
19
+ import "../vendor/svelte/src/shared/version.js";
9
20
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
10
21
  import "../shared-utils/isTruelyObject.js";
11
- function J(p, r, i) {
12
- const t = p.slice();
13
- return t[12] = r[i], t;
22
+ function K(d, r, c) {
23
+ const t = d.slice();
24
+ return t[12] = r[c], t;
14
25
  }
15
- function K(p) {
16
- let r, i;
26
+ function N(d) {
27
+ let r, c;
17
28
  return r = new dt({
18
29
  props: { rulerItemProp: (
19
30
  /*itemData*/
20
- p[12]
31
+ d[12]
21
32
  ) }
22
33
  }), {
23
34
  c() {
24
- at(r.$$.fragment);
35
+ ct(r.$$.fragment);
25
36
  },
26
37
  m(t, e) {
27
- ct(r, t, e), i = !0;
38
+ lt(r, t, e), c = !0;
28
39
  },
29
40
  p(t, e) {
30
- const w = {};
41
+ const y = {};
31
42
  e & /*rulerItemProp*/
32
- 1 && (w.rulerItemProp = /*itemData*/
33
- t[12]), r.$set(w);
43
+ 1 && (y.rulerItemProp = /*itemData*/
44
+ t[12]), r.$set(y);
34
45
  },
35
46
  i(t) {
36
- i || (C(r.$$.fragment, t), i = !0);
47
+ c || (z(r.$$.fragment, t), c = !0);
37
48
  },
38
49
  o(t) {
39
- k(r.$$.fragment, t), i = !1;
50
+ Y(r.$$.fragment, t), c = !1;
40
51
  },
41
52
  d(t) {
42
- it(r, t);
53
+ ft(r, t);
43
54
  }
44
55
  };
45
56
  }
46
- function pt(p) {
47
- let r, i, t = (
57
+ function gt(d) {
58
+ let r, c, t = J(
48
59
  /*rulerItemProp*/
49
- p[0]
60
+ d[0]
50
61
  ), e = [];
51
62
  for (let o = 0; o < t.length; o += 1)
52
- e[o] = K(J(p, t, o));
53
- const w = (o) => k(e[o], 1, 1, () => {
63
+ e[o] = N(K(d, t, o));
64
+ const y = (o) => Y(e[o], 1, 1, () => {
54
65
  e[o] = null;
55
66
  });
56
67
  return {
57
68
  c() {
58
- r = $("div");
69
+ r = Z("div");
59
70
  for (let o = 0; o < e.length; o += 1)
60
71
  e[o].c();
61
72
  },
62
73
  m(o, a) {
63
- tt(o, r, a);
74
+ $(o, r, a);
64
75
  for (let n = 0; n < e.length; n += 1)
65
76
  e[n] && e[n].m(r, null);
66
- i = !0;
77
+ c = !0;
67
78
  },
68
79
  p(o, [a]) {
69
80
  if (a & /*rulerItemProp*/
70
81
  1) {
71
- t = /*rulerItemProp*/
72
- o[0];
82
+ t = J(
83
+ /*rulerItemProp*/
84
+ o[0]
85
+ );
73
86
  let n;
74
87
  for (n = 0; n < t.length; n += 1) {
75
- const A = J(o, t, n);
76
- e[n] ? (e[n].p(A, a), C(e[n], 1)) : (e[n] = K(A), e[n].c(), C(e[n], 1), e[n].m(r, null));
88
+ const A = K(o, t, n);
89
+ e[n] ? (e[n].p(A, a), z(e[n], 1)) : (e[n] = N(A), e[n].c(), z(e[n], 1), e[n].m(r, null));
77
90
  }
78
- for (lt(), n = t.length; n < e.length; n += 1)
79
- w(n);
80
- et();
91
+ for (ot(), n = t.length; n < e.length; n += 1)
92
+ y(n);
93
+ nt();
81
94
  }
82
95
  },
83
96
  i(o) {
84
- if (!i) {
97
+ if (!c) {
85
98
  for (let a = 0; a < t.length; a += 1)
86
- C(e[a]);
87
- i = !0;
99
+ z(e[a]);
100
+ c = !0;
88
101
  }
89
102
  },
90
103
  o(o) {
91
104
  e = e.filter(Boolean);
92
105
  for (let a = 0; a < e.length; a += 1)
93
- k(e[a]);
94
- i = !1;
106
+ Y(e[a]);
107
+ c = !1;
95
108
  },
96
109
  d(o) {
97
- o && nt(r), ot(e, o);
110
+ o && tt(r), et(e, o);
98
111
  }
99
112
  };
100
113
  }
101
- function gt(p, r, i) {
114
+ function xt(d, r, c) {
102
115
  var B, G, H, U;
103
- let { five: t } = r, { rulerDatas: e } = r, { options: w } = r, o = [];
104
- const a = ((G = (B = t.getElement()) == null ? void 0 : B.parentElement) == null ? void 0 : G.clientWidth) || 0, n = ((U = (H = t.getElement()) == null ? void 0 : H.parentElement) == null ? void 0 : U.clientHeight) || 0, A = (c, l) => {
116
+ let { five: t } = r, { rulerDatas: e } = r, { options: y } = r, o = [];
117
+ const a = ((G = (B = t.getElement()) == null ? void 0 : B.parentElement) == null ? void 0 : G.clientWidth) || 0, n = ((U = (H = t.getElement()) == null ? void 0 : H.parentElement) == null ? void 0 : U.clientHeight) || 0, A = (i, l) => {
105
118
  const f = [
106
119
  [{ x: 0, y: 0 }, { x: a, y: 0 }],
107
120
  [{ x: 0, y: 0 }, { x: 0, y: n }],
@@ -109,56 +122,56 @@ function gt(p, r, i) {
109
122
  [{ x: 0, y: n }, { x: a, y: n }]
110
123
  ], u = [];
111
124
  for (let h = 0; h < f.length; h++) {
112
- const g = ut([c, l], [f[h][0], f[h][1]], !0);
125
+ const g = ht([i, l], [f[h][0], f[h][1]], !0);
113
126
  g && u.push(g);
114
127
  }
115
128
  return u.length === 0 ? !1 : u;
116
- }, j = (c, l) => {
117
- const f = c.clone().project(t.camera), u = (f.x + 1) / 2 * a, h = (-f.y + 1) / 2 * n, g = l.clone().project(t.camera), L = (g.x + 1) / 2 * a, y = (-g.y + 1) / 2 * n, s = Math.sqrt(Math.pow(L - u, 2) + Math.pow(y - h, 2));
129
+ }, j = (i, l) => {
130
+ const f = i.clone().project(t.camera), u = (f.x + 1) / 2 * a, h = (-f.y + 1) / 2 * n, g = l.clone().project(t.camera), L = (g.x + 1) / 2 * a, M = (-g.y + 1) / 2 * n, s = Math.sqrt(Math.pow(L - u, 2) + Math.pow(M - h, 2));
118
131
  return {
119
132
  startLeft: u,
120
133
  startTop: h,
121
134
  endLeft: L,
122
- endTop: y,
135
+ endTop: M,
123
136
  distance: s
124
137
  };
125
- }, N = (c, l, f) => {
126
- const u = t.camera.position, h = t.camera.getWorldDirection(new M()), g = c.clone().sub(u).normalize().angleTo(h), L = l.clone().sub(u).normalize().angleTo(h), y = c.distanceTo(l), T = l.clone().sub(l.clone().sub(c).divide(new M(2, 2, 2))).distanceTo(u), { startLeft: d, startTop: x, endLeft: v, endTop: q, distance: D } = j(c, l), S = -((Math.PI / 2 - Math.atan2(v - d, x - q)) / Math.PI) * 180;
138
+ }, O = (i, l, f) => {
139
+ const u = t.camera.position, h = t.camera.getWorldDirection(new _()), g = i.clone().sub(u).normalize().angleTo(h), L = l.clone().sub(u).normalize().angleTo(h), M = i.distanceTo(l), T = l.clone().sub(l.clone().sub(i).divide(new _(2, 2, 2))).distanceTo(u), { startLeft: p, startTop: x, endLeft: v, endTop: q, distance: D } = j(i, l), C = -((Math.PI / 2 - Math.atan2(v - p, x - q)) / Math.PI) * 180;
127
140
  let P = !0;
128
- f || (P = !1), !z(c, f) && !z(l, f) && (P = !1), y < 0.3 && (P = !1), g > Math.PI / 2 && (P = !1), L > Math.PI / 2 && (P = !1), T / y > 8 && (P = !1);
141
+ f || (P = !1), !k(i, f) && !k(l, f) && (P = !1), M < 0.3 && (P = !1), g > Math.PI / 2 && (P = !1), L > Math.PI / 2 && (P = !1), T / M > 8 && (P = !1);
129
142
  let I = 50, b = D;
130
- const m = A({ x: ~~d, y: ~~x }, { x: ~~v, y: ~~q });
131
- if (m && m.length === 1 && (z(c, f) ? (b = Math.sqrt(Math.pow(m[0].x - d, 2) + Math.pow(m[0].y - x, 2)), I = b / D * 50) : z(l, f) && (b = Math.sqrt(Math.pow(m[0].x - v, 2) + Math.pow(m[0].y - q, 2)), I = 100 - b / D * 50)), m && m.length === 2) {
143
+ const m = A({ x: ~~p, y: ~~x }, { x: ~~v, y: ~~q });
144
+ if (m && m.length === 1 && (k(i, f) ? (b = Math.sqrt(Math.pow(m[0].x - p, 2) + Math.pow(m[0].y - x, 2)), I = b / D * 50) : k(l, f) && (b = Math.sqrt(Math.pow(m[0].x - v, 2) + Math.pow(m[0].y - q, 2)), I = 100 - b / D * 50)), m && m.length === 2) {
132
145
  const F = {
133
146
  x: (m[0].x + m[1].x) / 2,
134
147
  y: (m[0].y + m[1].y) / 2
135
148
  };
136
- I = Math.sqrt(Math.pow(F.x - d, 2) + Math.pow(F.y - x, 2)) / D * 100;
149
+ I = Math.sqrt(Math.pow(F.x - p, 2) + Math.pow(F.y - x, 2)) / D * 100;
137
150
  }
138
151
  return {
139
- startLeft: d,
152
+ startLeft: p,
140
153
  startTop: x,
141
154
  distance: D,
142
- deg: S,
155
+ deg: C,
143
156
  visible: P,
144
157
  labelOffset: I,
145
- ruleLength: y
158
+ ruleLength: M
146
159
  };
147
- }, _ = () => {
148
- const c = t.panoIndex, l = e.find((s) => s.panoIndex === c);
160
+ }, w = () => {
161
+ const i = t.panoIndex, l = e.find((s) => s.panoIndex === i);
149
162
  if (!l)
150
- return i(0, o = []);
151
- if (t.currentMode !== ft.Mode.Panorama)
152
- return i(0, o = []);
153
- const f = t.camera.position, u = t.camera.getWorldDirection(new M()), h = l.lines.map((s) => new M(s.start[0], -s.start[1], -s.start[2])), g = l.lines.map((s) => new M(s.end[0], -s.end[1], -s.end[2])), [L] = h.concat(g).sort((s, T) => {
154
- const d = s.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0)), x = T.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0));
155
- return d - x;
156
- }), y = l.lines.map((s) => {
163
+ return c(0, o = []);
164
+ if (t.currentMode !== mt.Mode.Panorama)
165
+ return c(0, o = []);
166
+ const f = t.camera.position, u = t.camera.getWorldDirection(new _()), h = l.lines.map((s) => new _(s.start[0], -s.start[1], -s.start[2])), g = l.lines.map((s) => new _(s.end[0], -s.end[1], -s.end[2])), [L] = h.concat(g).sort((s, T) => {
167
+ const p = s.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0)), x = T.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0));
168
+ return p - x;
169
+ }), M = l.lines.map((s) => {
157
170
  var b, m;
158
- const T = s.start, d = s.end, { startLeft: x, startTop: v, distance: q, deg: D, visible: V, labelOffset: S, ruleLength: P } = N(new M(T[0], -T[1], -T[2]), new M(d[0], -d[1], -d[2]), L), I = [];
171
+ const T = s.start, p = s.end, { startLeft: x, startTop: v, distance: q, deg: D, visible: V, labelOffset: C, ruleLength: P } = O(new _(T[0], -T[1], -T[2]), new _(p[0], -p[1], -p[2]), L), I = [];
159
172
  return s.children && ((b = s.children) == null ? void 0 : b.length) > 0 && ((m = s.children) == null || m.forEach((F) => {
160
- const W = F.start, Y = F.end, { distance: O } = j(new M(W[0], -W[1], -W[2]), new M(Y[0], -Y[1], -Y[2]));
161
- I.push({ width: O, state: F.state });
173
+ const W = F.start, S = F.end, { distance: Q } = j(new _(W[0], -W[1], -W[2]), new _(S[0], -S[1], -S[2]));
174
+ I.push({ width: Q, state: F.state });
162
175
  })), {
163
176
  width: q,
164
177
  left: x,
@@ -166,26 +179,26 @@ function gt(p, r, i) {
166
179
  rotateDeg: D,
167
180
  state: s.state,
168
181
  children: I,
169
- labelOffset: S,
182
+ labelOffset: C,
170
183
  visible: V,
171
- labelElement: w.distanceText(P)
184
+ labelElement: y.distanceText(P)
172
185
  };
173
186
  });
174
- i(0, o = y);
175
- }, E = () => mt(_), R = ht(_, 80);
187
+ c(0, o = M);
188
+ }, E = () => ut(w), R = pt(w, 80);
176
189
  return rt(() => {
177
- _(), t.on("panoArrived", _), t.on("modeChange", _), t.on("cameraDirectionUpdate", E), t.on("movingToPano", E), t.on("mouseWheel", () => R()), t.on("pinchGesture", () => R());
190
+ w(), t.on("panoArrived", w), t.on("modeChange", w), t.on("cameraDirectionUpdate", E), t.on("movingToPano", E), t.on("mouseWheel", () => R()), t.on("pinchGesture", () => R());
178
191
  }), st(() => {
179
- t.off("panoArrived", _), t.off("modeChange", _), t.off("cameraDirectionUpdate", E), t.off("movingToPano", E), t.off("mouseWheel", () => R()), t.off("pinchGesture", () => R());
180
- }), p.$$set = (c) => {
181
- "five" in c && i(1, t = c.five), "rulerDatas" in c && i(2, e = c.rulerDatas), "options" in c && i(3, w = c.options);
182
- }, [o, t, e, w];
192
+ t.off("panoArrived", w), t.off("modeChange", w), t.off("cameraDirectionUpdate", E), t.off("movingToPano", E), t.off("mouseWheel", () => R()), t.off("pinchGesture", () => R());
193
+ }), d.$$set = (i) => {
194
+ "five" in i && c(1, t = i.five), "rulerDatas" in i && c(2, e = i.rulerDatas), "options" in i && c(3, y = i.options);
195
+ }, [o, t, e, y];
183
196
  }
184
- class Lt extends Q {
197
+ class Yt extends at {
185
198
  constructor(r) {
186
- super(), X(this, r, gt, pt, Z, { five: 1, rulerDatas: 2, options: 3 });
199
+ super(), it(this, r, xt, gt, X, { five: 1, rulerDatas: 2, options: 3 });
187
200
  }
188
201
  }
189
202
  export {
190
- Lt as default
203
+ Yt as default
191
204
  };
@@ -1,6 +1,17 @@
1
1
  import t from "./Controller.js";
2
2
  import "./RulerItems.js";
3
- import "../vendor/svelte/internal/index.js";
3
+ import "../vendor/svelte/src/runtime/internal/utils.js";
4
+ import "../vendor/svelte/src/runtime/internal/dom.js";
5
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
6
+ import "../vendor/svelte/src/runtime/internal/environment.js";
7
+ import "../vendor/svelte/src/runtime/internal/loop.js";
8
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
9
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
10
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
11
+ import "../vendor/svelte/src/runtime/internal/each.js";
12
+ import "../vendor/svelte/src/runtime/internal/Component.js";
13
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
14
+ import "../vendor/svelte/src/shared/version.js";
4
15
  import "@realsee/five";
5
16
  import "../shared-utils/animationFrame/index.js";
6
17
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -10,8 +21,8 @@ import "../shared-utils/math/planimetry.js";
10
21
  import "../shared-utils/throttle.js";
11
22
  import "three";
12
23
  import "./RulerItem.js";
13
- const d = (r, o) => new t(r, o);
24
+ const v = (r, o) => new t(r, o);
14
25
  export {
15
- d as PanoRulerProPlugin,
16
- d as default
26
+ v as PanoRulerProPlugin,
27
+ v as default
17
28
  };