@realsee/dnalogel 2.22.0 → 2.23.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  2. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  3. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  6. package/dist/index.cjs.js +62 -66
  7. package/dist/index.js +5869 -5598
  8. package/dist/index.umd.js +55 -59
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +48 -48
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +19 -19
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/GuideLinePlugin.html +4 -4
  43. package/docs/functions/ItemLabelPlugin.html +3 -3
  44. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  47. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  49. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  50. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  51. package/docs/functions/ModelViewPlugin.html +3 -3
  52. package/docs/functions/Object3DHelperPlugin.html +3 -3
  53. package/docs/functions/PanoCompassPlugin.html +3 -3
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  55. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  57. package/docs/functions/PanoMeasurePlugin.html +3 -3
  58. package/docs/functions/PanoRulerPlugin.html +3 -3
  59. package/docs/functions/PanoRulerProPlugin.html +3 -3
  60. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  61. package/docs/functions/PanoTagPlugin.html +3 -3
  62. package/docs/functions/PanoVideoPlugin.html +3 -3
  63. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  64. package/docs/functions/Util.absoluteUrl.html +4 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  66. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  67. package/docs/functions/Util.getFrameTime.html +4 -4
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  70. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  71. package/docs/functions/Util.isModelLike.html +4 -4
  72. package/docs/functions/Util.isNil.html +4 -4
  73. package/docs/functions/Util.isPanoramaLike.html +4 -4
  74. package/docs/functions/Util.nextFrame.html +4 -4
  75. package/docs/functions/Util.notNil.html +4 -4
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  77. package/docs/functions/Util.tweenProgress.html +4 -4
  78. package/docs/functions/Util.uuid.html +4 -4
  79. package/docs/functions/pluginFlag.html +4 -4
  80. package/docs/index.html +4 -4
  81. package/docs/interfaces/AddTagConfig.html +5 -5
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  83. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  84. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  85. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  86. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  88. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  89. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  91. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  92. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  93. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  94. package/docs/interfaces/EventMap.html +14 -14
  95. package/docs/interfaces/FloorplanBounding.html +7 -7
  96. package/docs/interfaces/FloorplanData.html +9 -9
  97. package/docs/interfaces/FloorplanEntrance.html +10 -10
  98. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  99. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  100. package/docs/interfaces/FloorplanFloorData.html +8 -8
  101. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  102. package/docs/interfaces/FloorplanObserver.html +8 -8
  103. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  104. package/docs/interfaces/FloorplanPosition.html +6 -6
  105. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  107. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  108. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  109. package/docs/interfaces/FloorplanServerData.html +6 -6
  110. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  113. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  114. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  117. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  120. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  121. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  122. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  125. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  130. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  134. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  135. package/docs/interfaces/HelperOffset.html +7 -7
  136. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  138. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  139. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  140. package/docs/interfaces/MinMax.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  142. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  143. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  144. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  145. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  146. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  148. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  149. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  151. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  152. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  153. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  154. package/docs/interfaces/Object3DHelperState.html +7 -7
  155. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  156. package/docs/interfaces/PaintBrushAction.html +11 -11
  157. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  158. package/docs/interfaces/PaintBrushState.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  160. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  161. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  162. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  163. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  165. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  166. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  167. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  169. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  170. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  172. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  173. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  179. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  180. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  181. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  182. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  186. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  187. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  188. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  189. package/docs/interfaces/Point.html +7 -7
  190. package/docs/interfaces/Room.html +8 -8
  191. package/docs/interfaces/RoomInfo.html +6 -6
  192. package/docs/interfaces/RoomLabel.html +13 -13
  193. package/docs/interfaces/RoomRules.html +4 -4
  194. package/docs/interfaces/Rooms.html +4 -4
  195. package/docs/interfaces/Scissor.html +8 -8
  196. package/docs/interfaces/State.html +7 -7
  197. package/docs/interfaces/TagCacheInterface.html +11 -11
  198. package/docs/interfaces/TagConfig.html +12 -12
  199. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  200. package/docs/interfaces/TagIconUrl.html +11 -11
  201. package/docs/interfaces/TagObjectGroup.html +5 -5
  202. package/docs/interfaces/TagStyle.html +5 -5
  203. package/docs/interfaces/Tags.html +8 -8
  204. package/docs/interfaces/TemporaryState.html +5 -5
  205. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  206. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  207. package/docs/interfaces/Util.PointIntersection.html +7 -7
  208. package/docs/modules/CruisePluginTypes.html +4 -4
  209. package/docs/modules/GuideLineItem.html +4 -4
  210. package/docs/modules/GuideLineModeItem.html +4 -4
  211. package/docs/modules/GuideLinePluginType.html +4 -4
  212. package/docs/modules/PanoVideoPluginType.html +4 -4
  213. package/docs/modules/Util.html +4 -4
  214. package/docs/modules.html +4 -4
  215. package/docs/types/ArrayPosition.html +4 -4
  216. package/docs/types/AudioAppearance.html +4 -4
  217. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  218. package/docs/types/CSS3DRenderExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  220. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  221. package/docs/types/ClassFunctionParameters.html +4 -4
  222. package/docs/types/Color.html +4 -4
  223. package/docs/types/ContentTypeConfigKey.html +4 -4
  224. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  225. package/docs/types/ContentTypeMap.html +4 -4
  226. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  227. package/docs/types/Create3DElementReturnType.html +4 -4
  228. package/docs/types/CruisePluginExportType.html +4 -4
  229. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  230. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  231. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  232. package/docs/types/DeprecatedTagProperty.html +4 -4
  233. package/docs/types/Direction-1.html +4 -4
  234. package/docs/types/Direction4.html +4 -4
  235. package/docs/types/ElementRenderer.html +4 -4
  236. package/docs/types/FloorplanRuleLabels.html +4 -4
  237. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  238. package/docs/types/GuideLinePluginExportType.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  243. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  244. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  245. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  246. package/docs/types/HelperEventMap.html +4 -4
  247. package/docs/types/LoadTagConfig.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/MediaData.html +4 -4
  251. package/docs/types/MediaStore.html +4 -4
  252. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  254. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  256. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  257. package/docs/types/MoveArgs.html +4 -4
  258. package/docs/types/MoveOpts.html +4 -4
  259. package/docs/types/Object3DHelperEventMap.html +4 -4
  260. package/docs/types/ObjectFit.html +4 -4
  261. package/docs/types/PaintBrushEventMap.html +4 -4
  262. package/docs/types/PanoCompassPluginData.html +4 -4
  263. package/docs/types/PanoCompassPluginExportType.html +4 -4
  264. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  266. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  267. package/docs/types/PanoIndex.html +4 -4
  268. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  269. package/docs/types/PanoMeasureReturnType.html +4 -4
  270. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  271. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  272. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  273. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  274. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  275. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  276. package/docs/types/PlaneTag.html +4 -4
  277. package/docs/types/Point2DTag.html +4 -4
  278. package/docs/types/Point3DTag.html +4 -4
  279. package/docs/types/PointTag.html +4 -4
  280. package/docs/types/PointTagInstance.html +4 -4
  281. package/docs/types/Position.html +4 -4
  282. package/docs/types/RotateArgs.html +4 -4
  283. package/docs/types/RotateOpts.html +4 -4
  284. package/docs/types/RuleLabelsKey.html +4 -4
  285. package/docs/types/RuleLabelsValue.html +4 -4
  286. package/docs/types/StickType.html +4 -4
  287. package/docs/types/Tag.html +4 -4
  288. package/docs/types/Tag2D.html +4 -4
  289. package/docs/types/Tag3D.html +4 -4
  290. package/docs/types/TagContentType.html +4 -4
  291. package/docs/types/TagDimensionType.html +4 -4
  292. package/docs/types/TagElement.html +4 -4
  293. package/docs/types/TagEvents.html +4 -4
  294. package/docs/types/TagGLTFObject.html +4 -4
  295. package/docs/types/TagHooks.html +4 -4
  296. package/docs/types/TagId.html +4 -4
  297. package/docs/types/TagInstance.html +4 -4
  298. package/docs/types/TagPointType.html +4 -4
  299. package/docs/types/TagRendererMap.html +4 -4
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  302. package/docs/types/WorkCode.html +4 -4
  303. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  304. package/docs/variables/PLUGIN.html +4 -4
  305. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  306. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  307. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  308. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  310. package/libs/CruisePlugin/Controller.js +103 -90
  311. package/libs/CruisePlugin/index.js +22 -9
  312. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  313. package/libs/GuideLinePlugin/Controller.js +38 -25
  314. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  315. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  316. package/libs/GuideLinePlugin/index.js +24 -11
  317. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  318. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  319. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  320. package/libs/ItemLabelPlugin/index.js +16 -5
  321. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  322. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  323. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  324. package/libs/ModelItemLabelPlugin/index.js +16 -5
  325. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  326. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  327. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  328. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  329. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  330. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  331. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  332. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  333. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  334. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  335. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  336. package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
  337. package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
  338. package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
  339. package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
  340. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  341. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
  342. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  343. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
  344. package/libs/PanoMeasurePlugin/index.js +27 -16
  345. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  346. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  347. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  348. package/libs/PanoRulerProPlugin/index.js +15 -4
  349. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  350. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  351. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  352. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  353. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  354. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  355. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  356. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  357. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  358. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  359. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  360. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  361. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  362. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  363. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  364. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  365. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  366. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  367. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  368. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  369. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  370. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  371. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  372. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  373. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  374. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  375. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  376. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  377. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  378. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  379. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  380. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  381. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  382. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  383. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  384. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  385. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  386. package/libs/PanoTagPlugin/controller/index.js +95 -82
  387. package/libs/PanoTagPlugin/index.js +26 -13
  388. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  389. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  390. package/libs/base/BasePlugin.js +1 -1
  391. package/libs/floorplan/Components/BaseImage.js +43 -39
  392. package/libs/floorplan/Components/Camera.js +16 -13
  393. package/libs/floorplan/Components/Compass.js +27 -24
  394. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  395. package/libs/floorplan/Components/Main.js +58 -49
  396. package/libs/floorplan/Components/Normalmage.js +25 -22
  397. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  398. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  399. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  400. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  401. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  402. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  403. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  404. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  405. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  406. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  407. package/libs/floorplan/Components/SvgImage.js +30 -27
  408. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  409. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  410. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  411. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  414. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  415. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  416. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  418. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  419. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  420. package/libs/floorplan/index.js +1 -0
  421. package/libs/index.js +126 -112
  422. package/libs/shared-utils/logger.js +1 -1
  423. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  424. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  425. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  426. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  427. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  428. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  429. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  430. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  431. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  432. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  433. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  434. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  435. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  436. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  437. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  438. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  439. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  440. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  441. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  442. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  443. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  444. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  445. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  446. package/libs/vendor/svelte/src/shared/version.js +4 -0
  447. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  448. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  449. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  450. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  451. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  452. package/package.json +1 -1
  453. package/libs/vendor/svelte/internal/index.js +0 -749
  454. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  455. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  var a = Object.defineProperty;
2
- var h = (i, o, t) => o in i ? a(i, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[o] = t;
3
- var e = (i, o, t) => (h(i, typeof o != "symbol" ? o + "" : o, t), t);
2
+ var h = (r, o, t) => o in r ? a(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
3
+ var i = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
4
4
  import d from "./HTML.js";
5
5
  import u from "./mobileHTML.js";
6
6
  import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
@@ -9,8 +9,19 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
9
9
  import w from "./Revoke/index.js";
10
10
  import _ from "../../Components/Controller0.js";
11
11
  import b from "../../Components/Controller1.js";
12
- import "../../../vendor/svelte/internal/index.js";
12
+ import "../../../vendor/svelte/src/runtime/internal/utils.js";
13
+ import "../../../vendor/svelte/src/runtime/internal/dom.js";
14
+ import "../../../vendor/svelte/src/runtime/internal/transitions.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/runtime/internal/lifecycle.js";
20
+ import "../../../vendor/svelte/src/runtime/internal/Component.js";
21
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
22
+ import "../../../vendor/svelte/src/shared/version.js";
13
23
  import "../../Components/Common/Switcher0.js";
24
+ import "../../../vendor/svelte/src/runtime/internal/each.js";
14
25
  import "../../Components/Common/Exit.js";
15
26
  import "../../Controller/EditController.js";
16
27
  import "../../Model/line.js";
@@ -79,44 +90,44 @@ import "../../utils/math.js";
79
90
  import "../../Components/Common/icons/index.js";
80
91
  import "../../Components/Common/Switcher1.js";
81
92
  import "../../Components/Common/CircleButton.js";
82
- import "../../../vendor/svelte/transition/index.js";
83
- import "../../../vendor/svelte/easing/index.js";
84
- class Zt {
93
+ import "../../../vendor/svelte/src/runtime/transition/index.js";
94
+ import "../../../vendor/svelte/src/runtime/easing/index.js";
95
+ class co {
85
96
  constructor(o, t) {
86
- e(this, "revoke");
87
- e(this, "container");
88
- e(this, "mainController");
89
- e(this, "disposers", []);
90
- e(this, "measureController");
91
- e(this, "mode");
92
- e(this, "svelteDom");
93
- e(this, "_params");
94
- e(this, "handleExit", () => {
97
+ i(this, "revoke");
98
+ i(this, "container");
99
+ i(this, "mainController");
100
+ i(this, "disposers", []);
101
+ i(this, "measureController");
102
+ i(this, "mode");
103
+ i(this, "svelteDom");
104
+ i(this, "_params");
105
+ i(this, "handleExit", () => {
95
106
  const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
96
107
  if (!t || !o)
97
108
  throw new Error("cannot find dom");
98
109
  this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
99
- const r = () => {
110
+ const e = () => {
100
111
  t.style.opacity = "1";
101
112
  }, s = () => {
102
113
  t.style.opacity = "0.85";
103
114
  }, n = () => {
104
115
  this.measureController.disable();
105
116
  };
106
- return t.addEventListener("click", n), t.addEventListener("mouseenter", r), t.addEventListener("mouseleave", s), () => {
107
- t.removeEventListener("click", n), t.removeEventListener("mouseenter", r), t.removeEventListener("mouseleave", s);
117
+ return t.addEventListener("click", n), t.addEventListener("mouseenter", e), t.addEventListener("mouseleave", s), () => {
118
+ t.removeEventListener("click", n), t.removeEventListener("mouseenter", e), t.removeEventListener("mouseleave", s);
108
119
  };
109
120
  });
110
121
  var s, n;
111
122
  this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
112
- const r = (n = t.useNewUI) != null ? n : !1;
113
- if (r && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
123
+ const e = (n = t.useNewUI) != null ? n : !1;
124
+ if (e && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
114
125
  target: t.container,
115
- props: { measureController: this.measureController, showExit: t.showExit }
126
+ props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
116
127
  }) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
117
128
  target: t.container,
118
- props: { measureController: this.measureController, showExit: t.showExit }
119
- }))), !r) {
129
+ props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
130
+ }))), !e) {
120
131
  t.container.appendChild(this.container);
121
132
  const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
122
133
  Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
@@ -131,9 +142,9 @@ class Zt {
131
142
  }
132
143
  hide() {
133
144
  var o, t;
134
- return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((r) => r()), this.disposers = [], this;
145
+ return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((e) => e()), this.disposers = [], this;
135
146
  }
136
147
  }
137
148
  export {
138
- Zt as UIController
149
+ co as UIController
139
150
  };
@@ -1,9 +1,9 @@
1
1
  import t from "./Controller/index.js";
2
- import { default as Xo } from "./Modules/Magnifier.js";
3
- import { Model as Zo } from "./Model/index.js";
4
- import { default as $o } from "./Model/point.js";
5
- import { default as rr } from "./Model/line.js";
6
- import { Polyline as ir } from "./Model/polyline.js";
2
+ import { default as er } from "./Modules/Magnifier.js";
3
+ import { Model as nr } from "./Model/index.js";
4
+ import { default as lr } from "./Model/point.js";
5
+ import { default as sr } from "./Model/line.js";
6
+ import { Polyline as Mr } from "./Model/polyline.js";
7
7
  import "./Controller/EditController.js";
8
8
  import "../shared-utils/throttle.js";
9
9
  import "./Controller/BaseController.js";
@@ -84,29 +84,40 @@ import "./Modules/UIController/MainBtnController.js";
84
84
  import "./Modules/UIController/mobileMainBtnController.js";
85
85
  import "./Modules/UIController/Revoke/index.js";
86
86
  import "./Components/Controller0.js";
87
- import "../vendor/svelte/internal/index.js";
87
+ import "../vendor/svelte/src/runtime/internal/utils.js";
88
+ import "../vendor/svelte/src/runtime/internal/dom.js";
89
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
90
+ import "../vendor/svelte/src/runtime/internal/environment.js";
91
+ import "../vendor/svelte/src/runtime/internal/loop.js";
92
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
93
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
94
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
95
+ import "../vendor/svelte/src/runtime/internal/Component.js";
96
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
97
+ import "../vendor/svelte/src/shared/version.js";
88
98
  import "./Components/Common/Switcher0.js";
99
+ import "../vendor/svelte/src/runtime/internal/each.js";
89
100
  import "./Components/Common/Exit.js";
90
101
  import "./Components/Common/icons/index.js";
91
102
  import "./Components/Controller1.js";
92
103
  import "./Components/Common/Switcher1.js";
93
104
  import "./Components/Common/CircleButton.js";
94
- import "../vendor/svelte/transition/index.js";
95
- import "../vendor/svelte/easing/index.js";
105
+ import "../vendor/svelte/src/runtime/transition/index.js";
106
+ import "../vendor/svelte/src/runtime/easing/index.js";
96
107
  import "./Modules/GuideController.js";
97
108
  import "../vendor/object-assign-deep/objectAssignDeep.js";
98
109
  import "./Components/Tip.js";
99
110
  import "./Controller/ShortcutKeyController.js";
100
111
  import "../shared-utils/safeObj.js";
101
- const Uo = function(o, r) {
112
+ const ir = function(o, r) {
102
113
  return new t(o, r);
103
114
  };
104
115
  export {
105
- Xo as Magnifier,
106
- Uo as PanoMeasurePlugin,
107
- rr as PanoMeasurePluginLine,
108
- Zo as PanoMeasurePluginModel,
109
- $o as PanoMeasurePluginPoint,
110
- ir as PanoMeasurePluginPolyline,
111
- Uo as default
116
+ er as Magnifier,
117
+ ir as PanoMeasurePlugin,
118
+ sr as PanoMeasurePluginLine,
119
+ nr as PanoMeasurePluginModel,
120
+ lr as PanoMeasurePluginPoint,
121
+ Mr as PanoMeasurePluginPolyline,
122
+ ir as default
112
123
  };
@@ -1,33 +1,44 @@
1
- var m = Object.defineProperty;
2
- var f = Object.getOwnPropertySymbols;
1
+ var f = Object.defineProperty;
2
+ var c = Object.getOwnPropertySymbols;
3
3
  var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
4
- var p = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, c = (i, e) => {
4
+ var m = (i, e, t) => e in i ? f(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, u = (i, e) => {
5
5
  for (var t in e || (e = {}))
6
- v.call(e, t) && p(i, t, e[t]);
7
- if (f)
8
- for (var t of f(e))
9
- b.call(e, t) && p(i, t, e[t]);
6
+ v.call(e, t) && m(i, t, e[t]);
7
+ if (c)
8
+ for (var t of c(e))
9
+ b.call(e, t) && m(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- var r = (i, e, t) => (p(i, typeof e != "symbol" ? e + "" : e, t), t);
12
+ var s = (i, e, t) => (m(i, typeof e != "symbol" ? e + "" : e, t), t);
13
13
  var d = (i, e, t) => new Promise((a, o) => {
14
- var n = (s) => {
14
+ var n = (r) => {
15
15
  try {
16
- h(t.next(s));
17
- } catch (u) {
18
- o(u);
16
+ p(t.next(r));
17
+ } catch (h) {
18
+ o(h);
19
19
  }
20
- }, l = (s) => {
20
+ }, l = (r) => {
21
21
  try {
22
- h(t.throw(s));
23
- } catch (u) {
24
- o(u);
22
+ p(t.throw(r));
23
+ } catch (h) {
24
+ o(h);
25
25
  }
26
- }, h = (s) => s.done ? a(s.value) : Promise.resolve(s.value).then(n, l);
27
- h((t = t.apply(i, e)).next());
26
+ }, p = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(n, l);
27
+ p((t = t.apply(i, e)).next());
28
28
  });
29
29
  import I from "./RulerItems.js";
30
- import "../vendor/svelte/internal/index.js";
30
+ import "../vendor/svelte/src/runtime/internal/utils.js";
31
+ import "../vendor/svelte/src/runtime/internal/dom.js";
32
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
33
+ import "../vendor/svelte/src/runtime/internal/environment.js";
34
+ import "../vendor/svelte/src/runtime/internal/loop.js";
35
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
36
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
37
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
38
+ import "../vendor/svelte/src/runtime/internal/each.js";
39
+ import "../vendor/svelte/src/runtime/internal/Component.js";
40
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
41
+ import "../vendor/svelte/src/shared/version.js";
31
42
  import "@realsee/five";
32
43
  import "../shared-utils/animationFrame/index.js";
33
44
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -37,13 +48,13 @@ import "../shared-utils/math/planimetry.js";
37
48
  import "../shared-utils/throttle.js";
38
49
  import "three";
39
50
  import "./RulerItem.js";
40
- class A {
51
+ class K {
41
52
  constructor(e, t) {
42
- r(this, "five");
43
- r(this, "container", document.createElement("div"));
44
- r(this, "panoRulerProData");
45
- r(this, "rulerItems");
46
- r(this, "state", {
53
+ s(this, "five");
54
+ s(this, "container", document.createElement("div"));
55
+ s(this, "panoRulerProData");
56
+ s(this, "rulerItems");
57
+ s(this, "state", {
47
58
  enabled: !1,
48
59
  loaded: !1,
49
60
  options: {
@@ -55,7 +66,7 @@ class A {
55
66
  this.five = e, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
56
67
  "style",
57
68
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
58
- ), t && (t.data && this.load(t.data), this.state.options = c(c({}, this.state.options), t.options || {}), (a = t.options) != null && a.className && this.container.classList.add((o = t.options) == null ? void 0 : o.className)), this.five.once("modelLoaded", () => d(this, null, function* () {
69
+ ), t && (t.data && this.load(t.data), this.state.options = u(u({}, this.state.options), t.options || {}), (a = t.options) != null && a.className && this.container.classList.add((o = t.options) == null ? void 0 : o.className)), this.five.once("modelLoaded", () => d(this, null, function* () {
59
70
  var n, l;
60
71
  (l = (n = this.five.getElement()) == null ? void 0 : n.parentNode) == null || l.append(this.container);
61
72
  })), this.five.once("dispose", () => this.dispose());
@@ -99,5 +110,5 @@ class A {
99
110
  }
100
111
  }
101
112
  export {
102
- A as default
113
+ K as default
103
114
  };
@@ -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
  };