@realsee/dnalogel 2.10.4 → 2.11.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
  2. package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
  3. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
  4. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
  5. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
  6. package/dist/PanoTagPlugin/utils/px2rem.d.ts +3 -1
  7. package/dist/base/BasePlugin.d.ts +4 -0
  8. package/dist/index.cjs.js +57 -57
  9. package/dist/index.js +4157 -3912
  10. package/dist/index.umd.js +50 -50
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/CSS3DRender.html +31 -31
  13. package/docs/classes/CruisePluginController.html +35 -25
  14. package/docs/classes/Magnifier.html +20 -20
  15. package/docs/classes/ModelRoomLabelController.html +11 -11
  16. package/docs/classes/Object3DHelperController.html +39 -29
  17. package/docs/classes/PaintBrush.html +15 -15
  18. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  19. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  20. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  21. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  22. package/docs/classes/PanoTagPluginController.html +99 -143
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.FivePointSelector.html +12 -12
  25. package/docs/classes/Util.Interval.html +12 -12
  26. package/docs/classes/Util.Magnifier.html +17 -17
  27. package/docs/classes/Util.PointDomHelper.html +11 -11
  28. package/docs/classes/Util.PointHelper.html +11 -11
  29. package/docs/classes/Util.Rectangle.html +13 -13
  30. package/docs/enums/CameraMovementEffect.html +7 -7
  31. package/docs/enums/ContentType.html +19 -19
  32. package/docs/enums/DIRECTION.html +9 -9
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  34. package/docs/enums/DimensionType.html +7 -7
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  37. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  38. package/docs/enums/PointType.html +7 -7
  39. package/docs/enums/Rotation.html +8 -8
  40. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  41. package/docs/functions/CameraMovementPlugin.html +5 -4
  42. package/docs/functions/CruisePlugin.html +5 -4
  43. package/docs/functions/GuideLinePlugin.html +6 -5
  44. package/docs/functions/ItemLabelPlugin.html +5 -4
  45. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  46. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  48. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  49. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  50. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  51. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  52. package/docs/functions/ModelViewPlugin.html +5 -4
  53. package/docs/functions/Object3DHelperPlugin.html +5 -4
  54. package/docs/functions/PanoCompassPlugin.html +5 -4
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  56. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  58. package/docs/functions/PanoMeasurePlugin.html +5 -4
  59. package/docs/functions/PanoRulerPlugin.html +5 -4
  60. package/docs/functions/PanoRulerProPlugin.html +5 -4
  61. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  62. package/docs/functions/PanoTagPlugin.html +5 -4
  63. package/docs/functions/PanoVideoPlugin.html +5 -4
  64. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  66. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  67. package/docs/functions/Util.getFrameTime.html +5 -5
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  70. package/docs/functions/Util.isNil.html +5 -5
  71. package/docs/functions/Util.nextFrame.html +5 -5
  72. package/docs/functions/Util.notNil.html +5 -5
  73. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  74. package/docs/functions/Util.tweenProgress.html +5 -5
  75. package/docs/functions/pluginFlag.html +6 -5
  76. package/docs/index.html +5 -4
  77. package/docs/interfaces/AddTagConfig.html +6 -6
  78. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  79. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  80. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  81. package/docs/interfaces/EventMap.html +15 -15
  82. package/docs/interfaces/FloorplanBounding.html +8 -8
  83. package/docs/interfaces/FloorplanData.html +10 -10
  84. package/docs/interfaces/FloorplanEntrance.html +11 -11
  85. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  86. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  87. package/docs/interfaces/FloorplanFloorData.html +9 -9
  88. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  89. package/docs/interfaces/FloorplanObserver.html +9 -9
  90. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  91. package/docs/interfaces/FloorplanPosition.html +7 -7
  92. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  93. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  94. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  95. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  96. package/docs/interfaces/FloorplanServerData.html +7 -7
  97. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  98. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  99. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  100. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  101. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  102. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  103. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  104. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  105. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  106. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  107. package/docs/interfaces/HelperOffset.html +8 -8
  108. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  109. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  110. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  111. package/docs/interfaces/MinMax.html +7 -7
  112. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  113. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  114. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  115. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  116. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  117. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  118. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  119. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  120. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  121. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  122. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  123. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  124. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  125. package/docs/interfaces/Object3DHelperState.html +8 -8
  126. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  127. package/docs/interfaces/PaintBrushAction.html +12 -12
  128. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  129. package/docs/interfaces/PaintBrushState.html +10 -10
  130. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  132. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  133. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  134. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  135. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  136. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  137. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  139. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  140. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  141. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  144. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  145. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  146. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  152. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  153. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  154. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  155. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  156. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  157. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  158. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  159. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  160. package/docs/interfaces/Point.html +8 -8
  161. package/docs/interfaces/Room.html +9 -9
  162. package/docs/interfaces/RoomInfo.html +7 -7
  163. package/docs/interfaces/RoomLabel.html +14 -14
  164. package/docs/interfaces/RoomRules.html +6 -5
  165. package/docs/interfaces/Rooms.html +6 -5
  166. package/docs/interfaces/Scissor.html +9 -9
  167. package/docs/interfaces/State.html +8 -8
  168. package/docs/interfaces/TagCache.html +12 -12
  169. package/docs/interfaces/TagConfig.html +10 -10
  170. package/docs/interfaces/TagIconUrl.html +28 -10
  171. package/docs/interfaces/TagStyle.html +67 -0
  172. package/docs/interfaces/Tags.html +10 -10
  173. package/docs/interfaces/TemporaryState.html +6 -6
  174. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  175. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  176. package/docs/modules/PanoVideoPluginType.html +5 -5
  177. package/docs/modules/Util.html +5 -5
  178. package/docs/modules.html +6 -4
  179. package/docs/types/ArrayPosition.html +6 -5
  180. package/docs/types/AudioAppearance.html +6 -5
  181. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  182. package/docs/types/CSS3DRenderExportType.html +6 -5
  183. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  184. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  185. package/docs/types/ClassFunctionParameters.html +6 -5
  186. package/docs/types/Color.html +6 -5
  187. package/docs/types/ContentTypeConfigKey.html +6 -5
  188. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  189. package/docs/types/ContentTypeMap.html +6 -5
  190. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  191. package/docs/types/Create3DElementReturnType.html +6 -5
  192. package/docs/types/CruisePluginExportType.html +6 -5
  193. package/docs/types/Direction-1.html +6 -5
  194. package/docs/types/Direction4.html +6 -5
  195. package/docs/types/FloorplanRuleLabels.html +6 -5
  196. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  197. package/docs/types/GuideLinePluginExportType.html +6 -5
  198. package/docs/types/HelperEventMap.html +6 -5
  199. package/docs/types/LoadTagConfig.html +6 -5
  200. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  201. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  202. package/docs/types/MediaData.html +6 -5
  203. package/docs/types/MediaStore.html +6 -5
  204. package/docs/types/ModelElement.html +6 -5
  205. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  206. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  207. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  208. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  209. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  210. package/docs/types/MoveArgs.html +6 -5
  211. package/docs/types/MoveOpts.html +6 -5
  212. package/docs/types/Object3DHelperEventMap.html +6 -5
  213. package/docs/types/ObjectFit.html +6 -5
  214. package/docs/types/PaintBrushEventMap.html +6 -5
  215. package/docs/types/PanoCompassPluginData.html +6 -5
  216. package/docs/types/PanoCompassPluginExportType.html +6 -5
  217. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  218. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  219. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  220. package/docs/types/PanoIndex.html +6 -5
  221. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  222. package/docs/types/PanoMeasureReturnType.html +6 -5
  223. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  224. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  225. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  226. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  227. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  228. package/docs/types/PlaneTag.html +6 -5
  229. package/docs/types/PlaneTagElement.html +6 -5
  230. package/docs/types/Point2DElement.html +6 -5
  231. package/docs/types/Point2DTag.html +6 -5
  232. package/docs/types/Point3DElement.html +6 -5
  233. package/docs/types/Point3DTag.html +6 -5
  234. package/docs/types/PointTag.html +6 -5
  235. package/docs/types/PointTagElement.html +6 -5
  236. package/docs/types/Position.html +6 -5
  237. package/docs/types/RotateArgs.html +6 -5
  238. package/docs/types/RotateOpts.html +6 -5
  239. package/docs/types/RuleLabelsKey.html +6 -5
  240. package/docs/types/RuleLabelsValue.html +6 -5
  241. package/docs/types/StickType.html +6 -5
  242. package/docs/types/Tag.html +7 -6
  243. package/docs/types/Tag2D.html +6 -5
  244. package/docs/types/Tag3D.html +6 -5
  245. package/docs/types/TagContentType.html +6 -5
  246. package/docs/types/TagDimensionType.html +6 -5
  247. package/docs/types/TagElement.html +6 -5
  248. package/docs/types/TagEvents.html +6 -5
  249. package/docs/types/TagGLTFObject.html +6 -5
  250. package/docs/types/TagHooks.html +6 -5
  251. package/docs/types/TagIconSize.html +6 -5
  252. package/docs/types/TagId.html +6 -5
  253. package/docs/types/TagPointType.html +6 -5
  254. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  255. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  256. package/docs/types/WorkCode.html +6 -5
  257. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  258. package/docs/variables/PLUGIN.html +6 -5
  259. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  260. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  261. package/docs/variables/VERSION.html +6 -5
  262. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  263. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  264. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  265. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
  266. package/libs/CSS3DRenderPlugin/Controller.js +24 -23
  267. package/libs/PanoTagPlugin/Components/Common/Audio.js +84 -83
  268. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +261 -121
  269. package/libs/PanoTagPlugin/Components/Common/Media.js +28 -28
  270. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +61 -61
  271. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
  272. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +15 -13
  273. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +2 -3
  274. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +45 -45
  275. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +72 -68
  276. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +88 -85
  277. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +60 -60
  278. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +13 -13
  279. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +48 -48
  280. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +44 -55
  281. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +114 -107
  282. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -25
  283. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +50 -49
  284. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +53 -50
  285. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +49 -49
  286. package/libs/PanoTagPlugin/Components/Tag/index.js +164 -153
  287. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  288. package/libs/PanoTagPlugin/Components/TagItem.js +85 -77
  289. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -3
  290. package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
  291. package/libs/PanoTagPlugin/controller/index.js +48 -49
  292. package/libs/PanoTagPlugin/index.js +1 -1
  293. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  294. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  295. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  296. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  297. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  298. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  299. package/libs/PanoTagPlugin/mocks/v1/mock1.js +121 -0
  300. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  301. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  302. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  303. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  304. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  305. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  306. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  307. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  308. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  309. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  310. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  311. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  312. package/libs/PanoTagPlugin/tsconfig.js +9 -0
  313. package/libs/PanoTagPlugin/typings/controller.js +1 -1
  314. package/libs/PanoTagPlugin/typings/index.js +5 -6
  315. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
  316. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
  317. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -5
  318. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
  319. package/libs/PanoTagPlugin/utils/getImageInfo.js +54 -36
  320. package/libs/PanoTagPlugin/utils/index.js +35 -36
  321. package/libs/PanoTagPlugin/utils/planeNormal.js +2 -3
  322. package/libs/PanoTagPlugin/utils/px2rem.d.ts +3 -1
  323. package/libs/PanoTagPlugin/utils/tagPosition.js +7 -8
  324. package/libs/base/BasePlugin.d.ts +4 -0
  325. package/libs/base/BasePlugin.js +3 -2
  326. package/libs/index.js +1 -1
  327. package/package.json +2 -2
@@ -5,10 +5,10 @@ function Y(l) {
5
5
  }
6
6
  function L(l) {
7
7
  let e;
8
- function t(s, n) {
9
- if (s[2].type === "Image")
8
+ function t(n, s) {
9
+ if (n[2].type === "Image")
10
10
  return x;
11
- if (s[2].type === "Video")
11
+ if (n[2].type === "Video")
12
12
  return Z;
13
13
  }
14
14
  let o = t(l), i = o && o(l);
@@ -16,35 +16,35 @@ function L(l) {
16
16
  c() {
17
17
  e = k("div"), i && i.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
18
18
  },
19
- m(s, n) {
20
- y(s, e, n), i && i.m(e, null);
19
+ m(n, s) {
20
+ y(n, e, s), i && i.m(e, null);
21
21
  },
22
- p(s, n) {
23
- o === (o = t(s)) && i ? i.p(s, n) : (i && i.d(1), i = o && o(s), i && (i.c(), i.m(e, null)));
22
+ p(n, s) {
23
+ o === (o = t(n)) && i ? i.p(n, s) : (i && i.d(1), i = o && o(n), i && (i.c(), i.m(e, null)));
24
24
  },
25
- d(s) {
26
- s && b(e), i && i.d();
25
+ d(n) {
26
+ n && b(e), i && i.d();
27
27
  }
28
28
  };
29
29
  }
30
30
  function Z(l) {
31
- let e, t, o, i, s, n;
32
- function v(f, m) {
31
+ let e, t, o, i, n, s;
32
+ function m(f, v) {
33
33
  return f[7] && f[2].videoCoverUrl ? ee : $;
34
34
  }
35
- let c = v(l), d = c(l);
35
+ let c = m(l), u = c(l);
36
36
  return {
37
37
  c() {
38
- d.c(), e = D(), t = k("div"), o = k("div"), i = k("div"), a(i, "class", "video-icon-img svelte-159ski6"), j(i, "background-image", "url(" + l[18]() + ")"), _(i, "canPlay", l[5]), a(o, "class", "video-icon svelte-159ski6"), _(o, "large", l[4] === "large"), _(o, "small", l[4] === "small"), a(t, "class", "video-play-button-container svelte-159ski6"), _(t, "showPlayButton", l[9]);
38
+ u.c(), e = D(), t = k("div"), o = k("div"), i = k("div"), a(i, "class", "video-icon-img svelte-159ski6"), j(i, "background-image", "url(" + l[18]() + ")"), _(i, "canPlay", l[5]), a(o, "class", "video-icon svelte-159ski6"), _(o, "large", l[4] === "large"), _(o, "small", l[4] === "small"), a(t, "class", "video-play-button-container svelte-159ski6"), _(t, "showPlayButton", l[9]);
39
39
  },
40
- m(f, m) {
41
- d.m(f, m), y(f, e, m), y(f, t, m), U(t, o), U(o, i), s || (n = w(i, "click", l[19]), s = !0);
40
+ m(f, v) {
41
+ u.m(f, v), y(f, e, v), y(f, t, v), U(t, o), U(o, i), n || (s = w(i, "click", l[19]), n = !0);
42
42
  },
43
- p(f, m) {
44
- c === (c = v(f)) && d ? d.p(f, m) : (d.d(1), d = c(f), d && (d.c(), d.m(e.parentNode, e))), m & 8 && j(i, "background-image", "url(" + f[18]() + ")"), m & 32 && _(i, "canPlay", f[5]), m & 16 && _(o, "large", f[4] === "large"), m & 16 && _(o, "small", f[4] === "small"), m & 512 && _(t, "showPlayButton", f[9]);
43
+ p(f, v) {
44
+ c === (c = m(f)) && u ? u.p(f, v) : (u.d(1), u = c(f), u && (u.c(), u.m(e.parentNode, e))), v & 8 && j(i, "background-image", "url(" + f[18]() + ")"), v & 32 && _(i, "canPlay", f[5]), v & 16 && _(o, "large", f[4] === "large"), v & 16 && _(o, "small", f[4] === "small"), v & 512 && _(t, "showPlayButton", f[9]);
45
45
  },
46
46
  d(f) {
47
- d.d(f), f && b(e), f && b(t), s = !1, n();
47
+ u.d(f), f && b(e), f && b(t), n = !1, s();
48
48
  }
49
49
  };
50
50
  }
@@ -54,35 +54,35 @@ function x(l) {
54
54
  c() {
55
55
  e = k("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].url) || a(e, "src", o), a(e, "alt", i = l[2].name), a(e, "draggable", !1);
56
56
  },
57
- m(s, n) {
58
- y(s, e, n);
57
+ m(n, s) {
58
+ y(n, e, s);
59
59
  },
60
- p(s, n) {
61
- n & 64 && t !== (t = `object-fit: ${s[6]};`) && a(e, "style", t), n & 4 && !h(e.src, o = s[2].url) && a(e, "src", o), n & 4 && i !== (i = s[2].name) && a(e, "alt", i);
60
+ p(n, s) {
61
+ s & 64 && t !== (t = `object-fit: ${n[6]};`) && a(e, "style", t), s & 4 && !h(e.src, o = n[2].url) && a(e, "src", o), s & 4 && i !== (i = n[2].name) && a(e, "alt", i);
62
62
  },
63
- d(s) {
64
- s && b(e);
63
+ d(n) {
64
+ n && b(e);
65
65
  }
66
66
  };
67
67
  }
68
68
  function $(l) {
69
- let e, t, o, i, s, n, v;
69
+ let e, t, o, i, n, s, m;
70
70
  return {
71
71
  c() {
72
- e = k("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", o), a(e, "poster", i = l[2].videoCoverUrl), a(e, "preload", s = l[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, _(e, "showPlayButton", l[9]);
72
+ e = k("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", o), a(e, "poster", i = l[2].videoCoverUrl), a(e, "preload", n = l[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, _(e, "showPlayButton", l[9]);
73
73
  },
74
- m(c, d) {
75
- y(c, e, d), l[17](e), n || (v = [
74
+ m(c, u) {
75
+ y(c, e, u), l[17](e), s || (m = [
76
76
  w(e, "play", l[14]),
77
77
  w(e, "pause", l[15]),
78
78
  w(e, "click", l[16])
79
- ], n = !0);
79
+ ], s = !0);
80
80
  },
81
- p(c, d) {
82
- d & 64 && t !== (t = `object-fit: ${c[6]};`) && a(e, "style", t), d & 4 && !h(e.src, o = c[2].videoCoverUrl ? c[2].url : c[2].url + "#t=0.1") && a(e, "src", o), d & 4 && i !== (i = c[2].videoCoverUrl) && a(e, "poster", i), d & 4 && s !== (s = c[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", s), d & 512 && _(e, "showPlayButton", c[9]);
81
+ p(c, u) {
82
+ u & 64 && t !== (t = `object-fit: ${c[6]};`) && a(e, "style", t), u & 4 && !h(e.src, o = c[2].videoCoverUrl ? c[2].url : c[2].url + "#t=0.1") && a(e, "src", o), u & 4 && i !== (i = c[2].videoCoverUrl) && a(e, "poster", i), u & 4 && n !== (n = c[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", n), u & 512 && _(e, "showPlayButton", c[9]);
83
83
  },
84
84
  d(c) {
85
- c && b(e), l[17](null), n = !1, G(v);
85
+ c && b(e), l[17](null), s = !1, G(m);
86
86
  }
87
87
  };
88
88
  }
@@ -92,14 +92,14 @@ function ee(l) {
92
92
  c() {
93
93
  e = k("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl) || a(e, "src", o), a(e, "alt", i = l[2].name), a(e, "draggable", !1);
94
94
  },
95
- m(s, n) {
96
- y(s, e, n);
95
+ m(n, s) {
96
+ y(n, e, s);
97
97
  },
98
- p(s, n) {
99
- n & 64 && t !== (t = `object-fit: ${s[6]};`) && a(e, "style", t), n & 4 && !h(e.src, o = s[2].videoCoverUrl) && a(e, "src", o), n & 4 && i !== (i = s[2].name) && a(e, "alt", i);
98
+ p(n, s) {
99
+ s & 64 && t !== (t = `object-fit: ${n[6]};`) && a(e, "style", t), s & 4 && !h(e.src, o = n[2].videoCoverUrl) && a(e, "src", o), s & 4 && i !== (i = n[2].name) && a(e, "alt", i);
100
100
  },
101
- d(s) {
102
- s && b(e);
101
+ d(n) {
102
+ n && b(e);
103
103
  }
104
104
  };
105
105
  }
@@ -123,60 +123,60 @@ function te(l) {
123
123
  };
124
124
  }
125
125
  function ie(l, e, t) {
126
- let o, { mediaInstance: i = { paused: !0 } } = e, { tag: s } = e, { media: n } = e, { playButtonIfNeed: v = "withoutText" } = e, { playButtonSizeIfNeed: c = "small" } = e, { canPlay: d = !0 } = e, { objectFit: f = "fill" } = e, { disableVideoIfHavePoster: m = !1 } = e, u, I = !0, p = !1;
126
+ let o, { mediaInstance: i = { paused: !0 } } = e, { tag: n } = e, { media: s } = e, { playButtonIfNeed: m = "withoutText" } = e, { playButtonSizeIfNeed: c = "small" } = e, { canPlay: u = !0 } = e, { objectFit: f = "fill" } = e, { disableVideoIfHavePoster: v = !1 } = e, d, I = !0, p = !1;
127
127
  function N() {
128
- t(12, p = (n == null ? void 0 : n.type) === "Video" && Boolean(n.videoCoverUrl));
128
+ t(12, p = (s == null ? void 0 : s.type) === "Video" && Boolean(s.videoCoverUrl));
129
129
  }
130
130
  const B = S("mediaStore"), P = S("hooks"), g = () => {
131
- p || (u == null || u.play(), u == null || u.pause(), t(12, p = !0));
131
+ p || (d == null || d.play(), d == null || d.pause(), t(12, p = !0));
132
132
  };
133
133
  P.on("loadVideoFirstFrame", g), R(() => {
134
134
  B.subscribe(({ currentMediaElement: r }) => {
135
- r !== u && (u == null || u.pause());
135
+ r !== d && (d == null || d.pause());
136
136
  });
137
137
  });
138
138
  const V = (r) => {
139
- t(9, I = !1), t(0, i.paused = !1, i), B.set({ currentMediaElement: u }), P.emit("playStateChange", {
139
+ t(9, I = !1), t(0, i.paused = !1, i), B.set({ currentMediaElement: d }), P.emit("playStateChange", {
140
140
  event: r,
141
141
  state: "playing",
142
- tag: s,
143
- mediaInstance: u
142
+ tag: n,
143
+ mediaInstance: d
144
144
  });
145
145
  }, E = (r) => {
146
146
  t(9, I = !0), t(0, i.paused = !0, i), P.emit("playStateChange", {
147
147
  event: r,
148
148
  state: "paused",
149
- tag: s,
150
- mediaInstance: u
149
+ tag: n,
150
+ mediaInstance: d
151
151
  });
152
152
  }, z = (r) => {
153
- u && u.pause();
153
+ d && d.pause();
154
154
  };
155
155
  function F(r) {
156
156
  X[r ? "unshift" : "push"](() => {
157
- u = r, t(8, u);
157
+ d = r, t(8, d);
158
158
  });
159
159
  }
160
- const O = () => v === "withText" ? K : v === "withoutText" ? Q : v, W = (r) => {
161
- !d || u && (t(8, u.muted = !1, u), u.play());
160
+ const O = () => m === "withText" ? K : m === "withoutText" ? Q : m, W = (r) => {
161
+ !u || d && (t(8, d.muted = !1, d), d.play());
162
162
  };
163
163
  return l.$$set = (r) => {
164
- "mediaInstance" in r && t(0, i = r.mediaInstance), "tag" in r && t(1, s = r.tag), "media" in r && t(2, n = r.media), "playButtonIfNeed" in r && t(3, v = r.playButtonIfNeed), "playButtonSizeIfNeed" in r && t(4, c = r.playButtonSizeIfNeed), "canPlay" in r && t(5, d = r.canPlay), "objectFit" in r && t(6, f = r.objectFit), "disableVideoIfHavePoster" in r && t(7, m = r.disableVideoIfHavePoster);
164
+ "mediaInstance" in r && t(0, i = r.mediaInstance), "tag" in r && t(1, n = r.tag), "media" in r && t(2, s = r.media), "playButtonIfNeed" in r && t(3, m = r.playButtonIfNeed), "playButtonSizeIfNeed" in r && t(4, c = r.playButtonSizeIfNeed), "canPlay" in r && t(5, u = r.canPlay), "objectFit" in r && t(6, f = r.objectFit), "disableVideoIfHavePoster" in r && t(7, v = r.disableVideoIfHavePoster);
165
165
  }, l.$$.update = () => {
166
- if (l.$$.dirty & 4 && t(13, o = n == null ? void 0 : n.url), l.$$.dirty & 8192 && Boolean(o) && N(), l.$$.dirty & 256 && u && t(9, I = u.paused), l.$$.dirty & 4356 && (n == null ? void 0 : n.type) === "Video" && !p) {
166
+ if (l.$$.dirty & 4 && t(13, o = s == null ? void 0 : s.url), l.$$.dirty & 8192 && Boolean(o) && N(), l.$$.dirty & 256 && d && t(9, I = d.paused), l.$$.dirty & 4356 && (s == null ? void 0 : s.type) === "Video" && !p) {
167
167
  const r = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, H = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && r;
168
- u && H && u.paused && (document.removeEventListener("WeixinJSBridgeReady", g), document.removeEventListener("touchstart", g), document.removeEventListener("click", g), document.addEventListener("WeixinJSBridgeReady", g), document.addEventListener("touchstart", g), document.addEventListener("click", g));
168
+ d && H && d.paused && (document.removeEventListener("WeixinJSBridgeReady", g), document.removeEventListener("touchstart", g), document.removeEventListener("click", g), document.addEventListener("WeixinJSBridgeReady", g), document.addEventListener("touchstart", g), document.addEventListener("click", g));
169
169
  }
170
170
  }, [
171
171
  i,
172
- s,
173
172
  n,
174
- v,
175
- c,
176
- d,
177
- f,
173
+ s,
178
174
  m,
175
+ c,
179
176
  u,
177
+ f,
178
+ v,
179
+ d,
180
180
  I,
181
181
  B,
182
182
  P,
@@ -190,7 +190,7 @@ function ie(l, e, t) {
190
190
  W
191
191
  ];
192
192
  }
193
- class ne extends T {
193
+ class se extends T {
194
194
  constructor(e) {
195
195
  super(), M(
196
196
  this,
@@ -213,5 +213,5 @@ class ne extends T {
213
213
  }
214
214
  }
215
215
  export {
216
- ne as default
216
+ se as default
217
217
  };
@@ -1,81 +1,111 @@
1
- import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as v, space as k, create_component as I, attr as h, set_style as f, toggle_class as w, insert as T, mount_component as L, append as x, listen as X, transition_in as R, transition_out as j, detach as $, destroy_component as q, getContext as B } from "../../../vendor/svelte/internal/index.js";
2
- import E from "./Shadow.js";
3
- import G from "./Icon/Icon.js";
4
- import { Image_Default_Point as H } from "../../Assets/Icon.js";
5
- import _ from "../../utils/px2rem.js";
1
+ import { SvelteComponent as M, init as U, safe_not_equal as W, append_styles as X, element as h, space as P, create_component as C, attr as j, set_style as _, toggle_class as y, insert as B, append as g, mount_component as S, listen as E, transition_in as D, transition_out as I, detach as G, destroy_component as R, getContext as H, bubble as J } from "../../../vendor/svelte/internal/index.js";
2
+ import K from "./Shadow.js";
3
+ import N from "./Icon/Icon.js";
4
+ import { Image_Default_Point as O } from "../../Assets/Icon.js";
6
5
  import "../../../vendor/svelte/transition/index.js";
7
6
  import "../../../vendor/svelte/easing/index.js";
7
+ import "three";
8
+ import "../../utils/noTypecheck.js";
8
9
  import "../../utils/getImageInfo.js";
9
- function J(t) {
10
- U(t, "svelte-yex9rb", '@charset "UTF-8";.tag-point-click-helper.svelte-yex9rb.svelte-yex9rb{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-yex9rb.svelte-yex9rb{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-yex9rb.svelte-yex9rb,.tag-unfolded-point.svelte-yex9rb.svelte-yex9rb{transition:all 0.5s}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:1;scale:1}');
10
+ import "../../utils/px2rem.js";
11
+ function Q(e) {
12
+ X(e, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
11
13
  }
12
- function K(t) {
13
- let s, a, o, p, g, d, c, n, i, l, y, b;
14
- return p = new E({
14
+ function V(e) {
15
+ let n, o, c, p, w, u, f, a, r, s, v, i;
16
+ return p = new K({
15
17
  props: {
16
18
  center: !0,
17
19
  blurRadius: 15,
18
20
  spreadRadius: 5,
19
21
  opacity: 0.3
20
22
  }
21
- }), i = new G({
23
+ }), r = new N({
22
24
  props: {
23
- icon: t[2],
24
- width: t[1]
25
+ icon: e[2],
26
+ width: e[1]
25
27
  }
26
- }), {
28
+ }), r.$on("iconLoaded", e[11]), {
27
29
  c() {
28
- s = v("div"), a = k(), o = v("div"), I(p.$$.fragment), g = k(), d = v("div"), c = k(), n = v("div"), I(i.$$.fragment), h(s, "class", "tag-point-click-helper svelte-yex9rb"), h(d, "class", "tag-unfolded-point svelte-yex9rb"), f(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(n, "class", "tag-folded-point svelte-yex9rb"), f(n, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(o, "class", "tag-point-wrapper svelte-yex9rb"), w(o, "unfolded", t[0]), w(o, "folded", t[3]), f(o, "width", _(t[1])), f(o, "height", _(t[1]));
30
+ n = h("div"), o = h("div"), c = P(), C(p.$$.fragment), w = P(), u = h("div"), f = P(), a = h("div"), C(r.$$.fragment), j(o, "class", "tag-point-click-helper svelte-1jkrwn7"), j(u, "class", "tag-unfolded-point svelte-1jkrwn7"), _(u, "transition-delay", (e[3] ? e[5] : 0) + "ms"), j(a, "class", "tag-folded-point svelte-1jkrwn7"), _(a, "transition-delay", (e[3] ? e[5] : 0) + "ms"), j(n, "class", "tag-point-wrapper svelte-1jkrwn7"), y(n, "unfolded", e[0]), y(n, "folded", e[3]);
29
31
  },
30
- m(e, r) {
31
- T(e, s, r), T(e, a, r), T(e, o, r), L(p, o, null), x(o, g), x(o, d), x(o, c), x(o, n), L(i, n, null), l = !0, y || (b = X(s, "click", t[4]), y = !0);
32
+ m(t, l) {
33
+ B(t, n, l), g(n, o), g(n, c), S(p, n, null), g(n, w), g(n, u), g(n, f), g(n, a), S(r, a, null), s = !0, v || (i = E(o, "click", e[4]), v = !0);
32
34
  },
33
- p(e, [r]) {
34
- r & 8 && f(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
35
- const u = {};
36
- r & 4 && (u.icon = e[2]), r & 2 && (u.width = e[1]), i.$set(u), r & 8 && f(n, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || r & 1) && w(o, "unfolded", e[0]), (!l || r & 8) && w(o, "folded", e[3]), r & 2 && f(o, "width", _(e[1])), r & 2 && f(o, "height", _(e[1]));
35
+ p(t, [l]) {
36
+ l & 8 && _(u, "transition-delay", (t[3] ? t[5] : 0) + "ms");
37
+ const k = {};
38
+ l & 4 && (k.icon = t[2]), l & 2 && (k.width = t[1]), r.$set(k), l & 8 && _(a, "transition-delay", (t[3] ? t[5] : 0) + "ms"), (!s || l & 1) && y(n, "unfolded", t[0]), (!s || l & 8) && y(n, "folded", t[3]);
37
39
  },
38
- i(e) {
39
- l || (R(p.$$.fragment, e), R(i.$$.fragment, e), l = !0);
40
+ i(t) {
41
+ s || (D(p.$$.fragment, t), D(r.$$.fragment, t), s = !0);
40
42
  },
41
- o(e) {
42
- j(p.$$.fragment, e), j(i.$$.fragment, e), l = !1;
43
+ o(t) {
44
+ I(p.$$.fragment, t), I(r.$$.fragment, t), s = !1;
43
45
  },
44
- d(e) {
45
- e && $(s), e && $(a), e && $(o), q(p), q(i), y = !1, b();
46
+ d(t) {
47
+ t && G(n), R(p), R(r), v = !1, i();
46
48
  }
47
49
  };
48
50
  }
49
- function N(t, s, a) {
50
- let o, p, g, d;
51
- const c = B("hooks");
52
- let { tag: n } = s, i, l = !1;
53
- const y = () => {
54
- i !== void 0 && clearTimeout(i), l = !0, i = setTimeout(
51
+ function Y(e, n, o) {
52
+ let c, p, w, u;
53
+ var f, a, r, s;
54
+ const v = H("hooks");
55
+ let { tag: i } = n, t, l = !1;
56
+ const k = () => {
57
+ t !== void 0 && clearTimeout(t), l = !0, t = setTimeout(
55
58
  () => {
56
59
  l = !1;
57
60
  },
58
61
  800
59
62
  );
60
- }, b = (r) => {
61
- l || c.emit("click", { event: r, target: "TagPoint", tag: n });
62
- }, e = (() => n.contentType === "Text" && n.data.appearance === "plane" ? 500 : 800)();
63
- return t.$$set = (r) => {
64
- "tag" in r && a(6, n = r.tag);
65
- }, t.$$.update = () => {
66
- var r, u, P, S;
67
- t.$$.dirty & 64 && a(0, o = (r = n.state) == null ? void 0 : r.unfolded), t.$$.dirty & 1 && a(3, p = !o), t.$$.dirty & 64 && a(2, g = (P = (u = n.style) == null ? void 0 : u.point) != null && P.url ? (S = n.style) == null ? void 0 : S.point : { url: H }), t.$$.dirty & 64 && a(1, d = (() => {
68
- var z, C, D;
69
- const m = (D = (C = (z = n.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
70
- return typeof m == "number" ? m : m === "S" ? 18 : m === "M" ? 20 : m === "L" ? 24 : m === "XL" ? 28 : 18;
63
+ }, q = (d) => {
64
+ l || v.emit("click", { event: d, target: "TagPoint", tag: i });
65
+ }, A = (() => i.contentType === "Text" && i.data.appearance === "plane" ? 500 : 800)();
66
+ function F(d) {
67
+ J.call(this, e, d);
68
+ }
69
+ return e.$$set = (d) => {
70
+ "tag" in d && o(6, i = d.tag);
71
+ }, e.$$.update = () => {
72
+ e.$$.dirty & 192 && o(0, c = o(7, f = i.state) === null || f === void 0 ? void 0 : f.unfolded), e.$$.dirty & 1 && o(3, p = !c), e.$$.dirty & 1856 && o(2, w = !(o(9, r = o(8, a = i.style) === null || a === void 0 ? void 0 : a.point) === null || r === void 0) && r.url ? o(10, s = i.style) === null || s === void 0 ? void 0 : s.point : { url: O }), e.$$.dirty & 64 && o(1, u = (() => {
73
+ var d, b, T, L;
74
+ const z = (b = (d = i.style) === null || d === void 0 ? void 0 : d.point) === null || b === void 0 ? void 0 : b.width;
75
+ if (typeof z == "number")
76
+ return z;
77
+ const m = (L = (T = i.style) === null || T === void 0 ? void 0 : T.point) === null || L === void 0 ? void 0 : L.size;
78
+ if (typeof m == "number")
79
+ return m;
80
+ if (m === "S")
81
+ return 18;
82
+ if (m === "M")
83
+ return 20;
84
+ if (m === "L")
85
+ return 24;
86
+ if (m === "XL")
87
+ return 28;
71
88
  })());
72
- }, y(), [o, d, g, p, b, e, n];
89
+ }, k(), [
90
+ c,
91
+ u,
92
+ w,
93
+ p,
94
+ q,
95
+ A,
96
+ i,
97
+ f,
98
+ a,
99
+ r,
100
+ s,
101
+ F
102
+ ];
73
103
  }
74
- class oe extends A {
75
- constructor(s) {
76
- super(), F(this, s, N, K, M, { tag: 6 }, J);
104
+ class at extends M {
105
+ constructor(n) {
106
+ super(), U(this, n, Y, V, W, { tag: 6 }, Q);
77
107
  }
78
108
  }
79
109
  export {
80
- oe as default
110
+ at as default
81
111
  };
@@ -1,24 +1,23 @@
1
1
  import { SvelteComponent as T, init as C, safe_not_equal as F, append_styles as Y, space as q, empty as A, insert as p, transition_in as u, transition_out as a, check_outros as h, detach as d, element as z, create_component as H, attr as D, set_style as v, mount_component as U, destroy_component as N, group_outros as y, binding_callbacks as B } from "../../../../vendor/svelte/internal/index.js";
2
- import M from "./FlyText.js";
3
- import j from "../Arrow.js";
4
- import G from "../../../utils/doUtil.js";
2
+ import E from "./FlyText.js";
3
+ import M from "../Arrow.js";
4
+ import j from "../../../utils/doUtil.js";
5
5
  import "animejs";
6
6
  import "../../../../shared-utils/uuid.js";
7
7
  import "../../../../shared-utils/isNil.js";
8
8
  import "three";
9
- import "@realsee/five/gltf-loader";
10
9
  import "../../../utils/search.js";
11
10
  import "../../../utils/constants.js";
12
11
  import "../../../../vendor/svelte/transition/index.js";
13
12
  import "../../../../vendor/svelte/easing/index.js";
14
13
  import "../../../Assets/Icon.js";
15
14
  import "../Shadow.js";
16
- function I(o) {
15
+ function x(o) {
17
16
  Y(o, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
18
17
  }
19
18
  function w(o) {
20
19
  let r, t, l;
21
- return t = new M({
20
+ return t = new E({
22
21
  props: {
23
22
  unfolded: o[0],
24
23
  content: o[1],
@@ -49,7 +48,7 @@ function w(o) {
49
48
  }
50
49
  function k(o) {
51
50
  let r, t, l;
52
- return t = new j({
51
+ return t = new M({
53
52
  props: {
54
53
  direction: o[6],
55
54
  visible: o[0],
@@ -78,7 +77,7 @@ function k(o) {
78
77
  }
79
78
  };
80
79
  }
81
- function J(o) {
80
+ function G(o) {
82
81
  let r, t, l, e = o[1] && w(o), i = o[3] < o[4] && k(o);
83
82
  return {
84
83
  c() {
@@ -105,7 +104,7 @@ function J(o) {
105
104
  }
106
105
  };
107
106
  }
108
- function K(o, r, t) {
107
+ function I(o, r, t) {
109
108
  let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0, c = 0;
110
109
  function S(s) {
111
110
  B[s ? "unshift" : "push"](() => {
@@ -117,7 +116,10 @@ function K(o, r, t) {
117
116
  }, o.$$.update = () => {
118
117
  if (o.$$.dirty & 7 && m && n && _) {
119
118
  const { lineHeight: s } = getComputedStyle(m);
120
- t(4, c = m.offsetHeight), G(() => m == null ? void 0 : m.offsetHeight, Boolean).then(() => {
119
+ t(4, c = m.offsetHeight), j(
120
+ () => m == null ? void 0 : m.offsetHeight,
121
+ Boolean
122
+ ).then(() => {
121
123
  t(4, c = m.offsetHeight);
122
124
  }), t(3, b = Number(s.replace("px", "")));
123
125
  }
@@ -136,11 +138,11 @@ function K(o, r, t) {
136
138
  S
137
139
  ];
138
140
  }
139
- class ne extends T {
141
+ class ie extends T {
140
142
  constructor(r) {
141
- super(), C(this, r, K, J, F, { visible: 0, textUnfolded: 8, content: 1 }, I);
143
+ super(), C(this, r, I, G, F, { visible: 0, textUnfolded: 8, content: 1 }, x);
142
144
  }
143
145
  }
144
146
  export {
145
- ne as default
147
+ ie as default
146
148
  };
@@ -3,7 +3,6 @@ import U from "animejs";
3
3
  import { uuid as M } from "../../../../shared-utils/uuid.js";
4
4
  import { notNil as z } from "../../../../shared-utils/isNil.js";
5
5
  import "three";
6
- import "@realsee/five/gltf-loader";
7
6
  import { searchFirstValueSmallThanLastValue as H } from "../../../utils/search.js";
8
7
  import { RANDON_STRING as b } from "../../../utils/constants.js";
9
8
  function K(i) {
@@ -172,7 +171,7 @@ function $(i, e, o) {
172
171
  P
173
172
  ];
174
173
  }
175
- class ae extends J {
174
+ class re extends J {
176
175
  constructor(e) {
177
176
  super(), V(
178
177
  this,
@@ -192,5 +191,5 @@ class ae extends J {
192
191
  }
193
192
  }
194
193
  export {
195
- ae as default
194
+ re as default
196
195
  };