@realsee/dnalogel 2.15.0-alpha.1 → 2.15.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 (263) hide show
  1. package/dist/index.cjs.js +20 -20
  2. package/dist/index.js +647 -628
  3. package/dist/index.umd.js +15 -15
  4. package/docs/classes/CSS3DRender.html +31 -31
  5. package/docs/classes/CruisePluginController.html +25 -25
  6. package/docs/classes/Magnifier.html +20 -20
  7. package/docs/classes/ModelRoomLabelController.html +11 -11
  8. package/docs/classes/Object3DHelperController.html +24 -24
  9. package/docs/classes/PaintBrush.html +15 -15
  10. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  11. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  12. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  13. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  14. package/docs/classes/PanoTagPluginController.html +46 -46
  15. package/docs/classes/Util.BetterTween.html +8 -8
  16. package/docs/classes/Util.FivePointSelector.html +12 -12
  17. package/docs/classes/Util.Interval.html +12 -12
  18. package/docs/classes/Util.Magnifier.html +17 -17
  19. package/docs/classes/Util.PointDomHelper.html +11 -11
  20. package/docs/classes/Util.PointHelper.html +11 -11
  21. package/docs/classes/Util.Rectangle.html +13 -13
  22. package/docs/enums/CameraMovementEffect.html +7 -7
  23. package/docs/enums/ContentType.html +19 -19
  24. package/docs/enums/DIRECTION.html +9 -9
  25. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/DimensionType.html +7 -7
  27. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  28. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  29. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  32. package/docs/functions/CameraMovementPlugin.html +4 -4
  33. package/docs/functions/CruisePlugin.html +4 -4
  34. package/docs/functions/GuideLinePlugin.html +5 -5
  35. package/docs/functions/ItemLabelPlugin.html +4 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  43. package/docs/functions/ModelViewPlugin.html +4 -4
  44. package/docs/functions/Object3DHelperPlugin.html +4 -4
  45. package/docs/functions/PanoCompassPlugin.html +4 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  49. package/docs/functions/PanoMeasurePlugin.html +4 -4
  50. package/docs/functions/PanoRulerPlugin.html +4 -4
  51. package/docs/functions/PanoRulerProPlugin.html +4 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  53. package/docs/functions/PanoTagPlugin.html +4 -4
  54. package/docs/functions/PanoVideoPlugin.html +4 -4
  55. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  56. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  57. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  58. package/docs/functions/Util.getFrameTime.html +5 -5
  59. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  60. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  61. package/docs/functions/Util.isNil.html +5 -5
  62. package/docs/functions/Util.nextFrame.html +5 -5
  63. package/docs/functions/Util.notNil.html +5 -5
  64. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  65. package/docs/functions/Util.tweenProgress.html +5 -5
  66. package/docs/functions/pluginFlag.html +5 -5
  67. package/docs/index.html +4 -4
  68. package/docs/interfaces/AddTagConfig.html +6 -6
  69. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  70. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  71. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  72. package/docs/interfaces/EventMap.html +15 -15
  73. package/docs/interfaces/FloorplanBounding.html +8 -8
  74. package/docs/interfaces/FloorplanData.html +10 -10
  75. package/docs/interfaces/FloorplanEntrance.html +11 -11
  76. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  77. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  78. package/docs/interfaces/FloorplanFloorData.html +9 -9
  79. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  80. package/docs/interfaces/FloorplanObserver.html +9 -9
  81. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  82. package/docs/interfaces/FloorplanPosition.html +7 -7
  83. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  84. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  85. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  86. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  87. package/docs/interfaces/FloorplanServerData.html +7 -7
  88. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  89. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  90. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  92. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  94. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  95. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  96. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  97. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  98. package/docs/interfaces/HelperOffset.html +8 -8
  99. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  100. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  101. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  102. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  103. package/docs/interfaces/MinMax.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  106. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  107. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  108. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  109. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  110. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  111. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  112. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  113. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  114. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  115. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  116. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  117. package/docs/interfaces/Object3DHelperState.html +8 -8
  118. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  119. package/docs/interfaces/PaintBrushAction.html +12 -12
  120. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  121. package/docs/interfaces/PaintBrushState.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  124. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  125. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  126. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  127. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  129. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  130. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  131. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  132. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  133. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  134. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  136. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  137. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  139. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  140. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  141. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  144. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  145. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  146. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  147. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  148. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  149. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  150. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  151. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  152. package/docs/interfaces/Point.html +8 -8
  153. package/docs/interfaces/Room.html +9 -9
  154. package/docs/interfaces/RoomInfo.html +7 -7
  155. package/docs/interfaces/RoomLabel.html +14 -14
  156. package/docs/interfaces/RoomRules.html +5 -5
  157. package/docs/interfaces/Rooms.html +5 -5
  158. package/docs/interfaces/Scissor.html +9 -9
  159. package/docs/interfaces/State.html +8 -8
  160. package/docs/interfaces/TagCacheInterface.html +12 -12
  161. package/docs/interfaces/TagConfig.html +11 -11
  162. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  163. package/docs/interfaces/TagIconUrl.html +11 -11
  164. package/docs/interfaces/TagObjectGroup.html +6 -6
  165. package/docs/interfaces/TagStyle.html +6 -6
  166. package/docs/interfaces/Tags.html +9 -9
  167. package/docs/interfaces/TemporaryState.html +6 -6
  168. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  169. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  170. package/docs/modules/PanoVideoPluginType.html +5 -5
  171. package/docs/modules/Util.html +5 -5
  172. package/docs/modules.html +4 -4
  173. package/docs/types/ArrayPosition.html +5 -5
  174. package/docs/types/AudioAppearance.html +5 -5
  175. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  176. package/docs/types/CSS3DRenderExportType.html +5 -5
  177. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  178. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  179. package/docs/types/ClassFunctionParameters.html +5 -5
  180. package/docs/types/Color.html +5 -5
  181. package/docs/types/ContentTypeConfigKey.html +5 -5
  182. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  183. package/docs/types/ContentTypeMap.html +5 -5
  184. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  185. package/docs/types/Create3DElementReturnType.html +5 -5
  186. package/docs/types/CruisePluginExportType.html +5 -5
  187. package/docs/types/Direction-1.html +5 -5
  188. package/docs/types/Direction4.html +5 -5
  189. package/docs/types/FloorplanRuleLabels.html +5 -5
  190. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  191. package/docs/types/GuideLinePluginExportType.html +5 -5
  192. package/docs/types/HelperEventMap.html +5 -5
  193. package/docs/types/LoadTagConfig.html +5 -5
  194. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  195. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  196. package/docs/types/MediaData.html +5 -5
  197. package/docs/types/MediaStore.html +5 -5
  198. package/docs/types/ModelElement.html +5 -5
  199. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  200. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  201. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  202. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  203. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  204. package/docs/types/MoveArgs.html +5 -5
  205. package/docs/types/MoveOpts.html +5 -5
  206. package/docs/types/Object3DHelperEventMap.html +5 -5
  207. package/docs/types/ObjectFit.html +5 -5
  208. package/docs/types/PaintBrushEventMap.html +5 -5
  209. package/docs/types/PanoCompassPluginData.html +5 -5
  210. package/docs/types/PanoCompassPluginExportType.html +5 -5
  211. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  212. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  213. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  214. package/docs/types/PanoIndex.html +5 -5
  215. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  216. package/docs/types/PanoMeasureReturnType.html +5 -5
  217. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  218. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  219. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  220. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  221. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  222. package/docs/types/PlaneTag.html +5 -5
  223. package/docs/types/PlaneTagElement.html +5 -5
  224. package/docs/types/Point2DElement.html +5 -5
  225. package/docs/types/Point2DTag.html +5 -5
  226. package/docs/types/Point3DElement.html +5 -5
  227. package/docs/types/Point3DTag.html +5 -5
  228. package/docs/types/PointTag.html +5 -5
  229. package/docs/types/PointTagElement.html +5 -5
  230. package/docs/types/Position.html +5 -5
  231. package/docs/types/RotateArgs.html +5 -5
  232. package/docs/types/RotateOpts.html +5 -5
  233. package/docs/types/RuleLabelsKey.html +5 -5
  234. package/docs/types/RuleLabelsValue.html +5 -5
  235. package/docs/types/StickType.html +5 -5
  236. package/docs/types/Tag.html +5 -5
  237. package/docs/types/Tag2D.html +5 -5
  238. package/docs/types/Tag3D.html +5 -5
  239. package/docs/types/TagContentType.html +5 -5
  240. package/docs/types/TagDimensionType.html +5 -5
  241. package/docs/types/TagElement.html +5 -5
  242. package/docs/types/TagEvents.html +5 -5
  243. package/docs/types/TagGLTFObject.html +5 -5
  244. package/docs/types/TagHooks.html +5 -5
  245. package/docs/types/TagIconSize.html +5 -5
  246. package/docs/types/TagId.html +5 -5
  247. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  248. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  249. package/docs/types/WorkCode.html +5 -5
  250. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  251. package/docs/variables/PLUGIN.html +5 -5
  252. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  253. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  254. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  255. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  256. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  257. package/libs/PanoTagPlugin/Components/Common/Media.js +108 -108
  258. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +118 -100
  259. package/libs/PanoTagPlugin/controller/TagRender.js +27 -27
  260. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  261. package/libs/base/BasePlugin.js +3 -3
  262. package/libs/index.js +80 -79
  263. package/package.json +1 -1
@@ -1,203 +1,221 @@
1
- import { SvelteComponent as T, init as M, safe_not_equal as q, append_styles as A, empty as J, insert as k, noop as C, detach as y, getContext as S, onMount as R, element as g, attr as s, binding_callbacks as X, space as D, set_style as j, toggle_class as v, append as U, listen as P, src_url_equal as b, run_all as G } from "../../../vendor/svelte/internal/index.js";
2
- import { Image_Play_Icon_With_Text as K, Image_Play_Icon as Q } from "../../Assets/Icon.js";
3
- function Y(o) {
4
- A(o, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
1
+ import { SvelteComponent as q, init as A, safe_not_equal as J, append_styles as R, empty as X, insert as k, noop as B, detach as y, getContext as S, onMount as D, element as g, attr as a, binding_callbacks as G, space as K, set_style as j, toggle_class as v, append as U, listen as I, src_url_equal as P, run_all as Q } from "../../../vendor/svelte/internal/index.js";
2
+ import { Image_Play_Icon_With_Text as Y, Image_Play_Icon as Z } from "../../Assets/Icon.js";
3
+ function x(l) {
4
+ R(l, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
5
5
  }
6
- function L(o) {
6
+ function L(l) {
7
7
  let e;
8
- function i(n, r) {
9
- if (n[2].type === "Image")
10
- return x;
11
- if (n[2].type === "Video")
12
- return Z;
8
+ function i(o, r) {
9
+ if (o[2].type === "Image")
10
+ return ee;
11
+ if (o[2].type === "Video")
12
+ return $;
13
13
  }
14
- let t = i(o), l = t && t(o);
14
+ let t = i(l), n = t && t(l);
15
15
  return {
16
16
  c() {
17
- e = g("div"), l && l.c(), s(e, "class", "media-item svelte-159ski6"), s(e, "draggable", "false");
17
+ e = g("div"), n && n.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
18
18
  },
19
- m(n, r) {
20
- k(n, e, r), l && l.m(e, null);
19
+ m(o, r) {
20
+ k(o, e, r), n && n.m(e, null);
21
21
  },
22
- p(n, r) {
23
- t === (t = i(n)) && l ? l.p(n, r) : (l && l.d(1), l = t && t(n), l && (l.c(), l.m(e, null)));
22
+ p(o, r) {
23
+ t === (t = i(o)) && n ? n.p(o, r) : (n && n.d(1), n = t && t(o), n && (n.c(), n.m(e, null)));
24
24
  },
25
- d(n) {
26
- n && y(e), l && l.d();
25
+ d(o) {
26
+ o && y(e), n && n.d();
27
27
  }
28
28
  };
29
29
  }
30
- function Z(o) {
31
- let e, i, t, l, n, r;
30
+ function $(l) {
31
+ let e, i, t, n, o, r;
32
32
  function c(d, m) {
33
- return d[7] && d[2].videoCoverUrl ? ee : $;
33
+ return d[7] && d[2].videoCoverUrl ? ie : te;
34
34
  }
35
- let u = c(o), f = u(o);
35
+ let u = c(l), f = u(l);
36
36
  return {
37
37
  c() {
38
- f.c(), e = D(), i = g("div"), t = g("div"), l = g("div"), s(l, "class", "video-icon-img svelte-159ski6"), j(l, "background-image", "url(" + o[18]() + ")"), v(l, "canPlay", o[5]), s(t, "class", "video-icon svelte-159ski6"), v(t, "large", o[4] === "large"), v(t, "small", o[4] === "small"), s(i, "class", "video-play-button-container svelte-159ski6"), v(i, "showPlayButton", o[9]);
38
+ f.c(), e = K(), i = g("div"), t = g("div"), n = g("div"), a(n, "class", "video-icon-img svelte-159ski6"), j(n, "background-image", "url(" + l[20]() + ")"), v(n, "canPlay", l[5]), a(t, "class", "video-icon svelte-159ski6"), v(t, "large", l[4] === "large"), v(t, "small", l[4] === "small"), a(i, "class", "video-play-button-container svelte-159ski6"), v(i, "showPlayButton", l[10]);
39
39
  },
40
40
  m(d, m) {
41
- f.m(d, m), k(d, e, m), k(d, i, m), U(i, t), U(t, l), n || (r = P(l, "click", o[19]), n = !0);
41
+ f.m(d, m), k(d, e, m), k(d, i, m), U(i, t), U(t, n), o || (r = I(n, "click", l[21]), o = !0);
42
42
  },
43
43
  p(d, m) {
44
- u === (u = c(d)) && f ? f.p(d, m) : (f.d(1), f = u(d), f && (f.c(), f.m(e.parentNode, e))), m & 8 && j(l, "background-image", "url(" + d[18]() + ")"), m & 32 && v(l, "canPlay", d[5]), m & 16 && v(t, "large", d[4] === "large"), m & 16 && v(t, "small", d[4] === "small"), m & 512 && v(i, "showPlayButton", d[9]);
44
+ u === (u = c(d)) && f ? f.p(d, m) : (f.d(1), f = u(d), f && (f.c(), f.m(e.parentNode, e))), m & 8 && j(n, "background-image", "url(" + d[20]() + ")"), m & 32 && v(n, "canPlay", d[5]), m & 16 && v(t, "large", d[4] === "large"), m & 16 && v(t, "small", d[4] === "small"), m & 1024 && v(i, "showPlayButton", d[10]);
45
45
  },
46
46
  d(d) {
47
- f.d(d), d && y(e), d && y(i), n = !1, r();
47
+ f.d(d), d && y(e), d && y(i), o = !1, r();
48
48
  }
49
49
  };
50
50
  }
51
- function x(o) {
52
- let e, i, t, l;
51
+ function ee(l) {
52
+ let e, i, t, n;
53
53
  return {
54
54
  c() {
55
- e = g("img"), s(e, "class", "media-content svelte-159ski6"), s(e, "style", i = `object-fit: ${o[6]};`), b(e.src, t = o[2].url) || s(e, "src", t), s(e, "alt", l = o[2].name), s(e, "draggable", !1);
55
+ e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${l[6]};`), P(e.src, t = l[2].url) || a(e, "src", t), a(e, "alt", n = l[2].name), a(e, "draggable", !1);
56
56
  },
57
- m(n, r) {
58
- k(n, e, r);
57
+ m(o, r) {
58
+ k(o, e, r);
59
59
  },
60
- p(n, r) {
61
- r & 64 && i !== (i = `object-fit: ${n[6]};`) && s(e, "style", i), r & 4 && !b(e.src, t = n[2].url) && s(e, "src", t), r & 4 && l !== (l = n[2].name) && s(e, "alt", l);
60
+ p(o, r) {
61
+ r & 64 && i !== (i = `object-fit: ${o[6]};`) && a(e, "style", i), r & 4 && !P(e.src, t = o[2].url) && a(e, "src", t), r & 4 && n !== (n = o[2].name) && a(e, "alt", n);
62
62
  },
63
- d(n) {
64
- n && y(e);
63
+ d(o) {
64
+ o && y(e);
65
65
  }
66
66
  };
67
67
  }
68
- function $(o) {
69
- let e, i, t, l, n, r, c;
68
+ function te(l) {
69
+ let e, i, t, n, o, r, c;
70
70
  return {
71
71
  c() {
72
- e = g("video"), s(e, "class", "media-content svelte-159ski6"), s(e, "style", i = `object-fit: ${o[6]};`), b(e.src, t = o[2].videoCoverUrl ? o[2].url : o[2].url + "#t=0.1") || s(e, "src", t), s(e, "poster", l = o[2].videoCoverUrl), s(e, "preload", n = o[2].videoCoverUrl ? "none" : "auto"), s(e, "disablepictureinpicture", ""), e.playsInline = !0, s(e, "paused", ""), e.muted = !0, s(e, "draggable", !1), e.loop = !1, s(e, "crossorigin", ""), e.controls = !1, v(e, "showPlayButton", o[9]);
72
+ e = g("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${l[6]};`), P(e.src, t = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", t), a(e, "poster", n = l[2].videoCoverUrl), a(e, "preload", o = l[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(e, "showPlayButton", l[10]);
73
73
  },
74
74
  m(u, f) {
75
- k(u, e, f), o[17](e), r || (c = [
76
- P(e, "play", o[14]),
77
- P(e, "pause", o[15]),
78
- P(e, "click", o[16])
75
+ k(u, e, f), l[19](e), r || (c = [
76
+ I(e, "play", l[14]),
77
+ I(e, "pause", l[15]),
78
+ I(e, "error", l[16]),
79
+ I(e, "ended", l[17]),
80
+ I(e, "click", l[18])
79
81
  ], r = !0);
80
82
  },
81
83
  p(u, f) {
82
- f & 64 && i !== (i = `object-fit: ${u[6]};`) && s(e, "style", i), f & 4 && !b(e.src, t = u[2].videoCoverUrl ? u[2].url : u[2].url + "#t=0.1") && s(e, "src", t), f & 4 && l !== (l = u[2].videoCoverUrl) && s(e, "poster", l), f & 4 && n !== (n = u[2].videoCoverUrl ? "none" : "auto") && s(e, "preload", n), f & 512 && v(e, "showPlayButton", u[9]);
84
+ f & 64 && i !== (i = `object-fit: ${u[6]};`) && a(e, "style", i), f & 4 && !P(e.src, t = u[2].videoCoverUrl ? u[2].url : u[2].url + "#t=0.1") && a(e, "src", t), f & 4 && n !== (n = u[2].videoCoverUrl) && a(e, "poster", n), f & 4 && o !== (o = u[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", o), f & 1024 && v(e, "showPlayButton", u[10]);
83
85
  },
84
86
  d(u) {
85
- u && y(e), o[17](null), r = !1, G(c);
87
+ u && y(e), l[19](null), r = !1, Q(c);
86
88
  }
87
89
  };
88
90
  }
89
- function ee(o) {
90
- let e, i, t, l;
91
+ function ie(l) {
92
+ let e, i, t, n;
91
93
  return {
92
94
  c() {
93
- e = g("img"), s(e, "class", "media-content svelte-159ski6"), s(e, "style", i = `object-fit: ${o[6]};`), b(e.src, t = o[2].videoCoverUrl) || s(e, "src", t), s(e, "alt", l = o[2].name), s(e, "draggable", !1);
95
+ e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${l[6]};`), P(e.src, t = l[2].videoCoverUrl) || a(e, "src", t), a(e, "alt", n = l[2].name), a(e, "draggable", !1);
94
96
  },
95
- m(n, r) {
96
- k(n, e, r);
97
+ m(o, r) {
98
+ k(o, e, r);
97
99
  },
98
- p(n, r) {
99
- r & 64 && i !== (i = `object-fit: ${n[6]};`) && s(e, "style", i), r & 4 && !b(e.src, t = n[2].videoCoverUrl) && s(e, "src", t), r & 4 && l !== (l = n[2].name) && s(e, "alt", l);
100
+ p(o, r) {
101
+ r & 64 && i !== (i = `object-fit: ${o[6]};`) && a(e, "style", i), r & 4 && !P(e.src, t = o[2].videoCoverUrl) && a(e, "src", t), r & 4 && n !== (n = o[2].name) && a(e, "alt", n);
100
102
  },
101
- d(n) {
102
- n && y(e);
103
+ d(o) {
104
+ o && y(e);
103
105
  }
104
106
  };
105
107
  }
106
- function te(o) {
107
- let e, i = o[2] && L(o);
108
+ function oe(l) {
109
+ let e, i = l[2] && L(l);
108
110
  return {
109
111
  c() {
110
- i && i.c(), e = J();
112
+ i && i.c(), e = X();
111
113
  },
112
- m(t, l) {
113
- i && i.m(t, l), k(t, e, l);
114
+ m(t, n) {
115
+ i && i.m(t, n), k(t, e, n);
114
116
  },
115
- p(t, [l]) {
116
- t[2] ? i ? i.p(t, l) : (i = L(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
117
+ p(t, [n]) {
118
+ t[2] ? i ? i.p(t, n) : (i = L(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
117
119
  },
118
- i: C,
119
- o: C,
120
+ i: B,
121
+ o: B,
120
122
  d(t) {
121
123
  i && i.d(t), t && y(e);
122
124
  }
123
125
  };
124
126
  }
125
- function ie(o, e, i) {
126
- let t, l, { mediaInstance: n = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: u = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: d = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: B = !1 } = e, p = !0, h = !1;
127
+ function le(l, e, i) {
128
+ let t, n, { mediaInstance: o = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: u = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: d = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, p = !0, b = !1;
127
129
  function N() {
128
- i(12, h = (c == null ? void 0 : c.type) === "Video" && Boolean(c.videoCoverUrl));
130
+ i(8, b = (c == null ? void 0 : c.type) === "Video" && Boolean(c.videoCoverUrl));
129
131
  }
130
- const w = S("mediaStore"), I = S("hooks"), _ = () => {
131
- h || !t || (i(8, t.muted = !0, t), t.play(), t.pause(), i(8, t.muted = !1, t), i(12, h = !0));
132
+ const w = S("mediaStore"), h = S("hooks"), _ = () => {
133
+ console.debug("loadPoster"), !b && (!t || (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, b = !0), console.debug("loadPoster end")));
132
134
  };
133
- I.on("loadVideoFirstFrame", _), R(() => {
134
- w.subscribe(({ currentMediaElement: a }) => {
135
- a !== t && (t == null || t.pause());
135
+ h.on("loadVideoFirstFrame", _), D(() => {
136
+ w.subscribe(({ currentMediaElement: s }) => {
137
+ s !== t && (t == null || t.pause());
136
138
  });
137
139
  });
138
- const V = (a) => {
139
- i(9, p = !1), i(0, n.paused = !1, n), t && w.set({ currentMediaElement: t }), I.emit("playStateChange", {
140
- event: a,
140
+ const V = (s) => {
141
+ i(10, p = !1), i(0, o.paused = !1, o), i(8, b = !0), t && w.set({ currentMediaElement: t }), h.emit("playStateChange", {
142
+ event: s,
141
143
  state: "playing",
142
144
  tag: r,
143
145
  mediaInstance: t
144
146
  });
145
- }, E = (a) => {
146
- i(9, p = !0), i(0, n.paused = !0, n), I.emit("playStateChange", {
147
- event: a,
147
+ }, E = (s) => {
148
+ i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
149
+ event: s,
148
150
  state: "paused",
149
151
  tag: r,
150
152
  mediaInstance: t
151
153
  });
152
- }, z = (a) => {
154
+ }, z = (s) => {
155
+ i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
156
+ event: s,
157
+ state: "paused",
158
+ tag: r,
159
+ mediaInstance: t
160
+ });
161
+ }, F = (s) => {
162
+ i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
163
+ event: s,
164
+ state: "paused",
165
+ tag: r,
166
+ mediaInstance: t
167
+ });
168
+ }, O = (s) => {
153
169
  t && t.pause();
154
170
  };
155
- function F(a) {
156
- X[a ? "unshift" : "push"](() => {
157
- n.videoInstance = a, i(0, n);
171
+ function W(s) {
172
+ G[s ? "unshift" : "push"](() => {
173
+ o.videoInstance = s, i(0, o);
158
174
  });
159
175
  }
160
- const O = () => u === "withText" ? K : u === "withoutText" ? Q : u, W = (a) => {
161
- !d || t && (i(8, t.muted = !1, t), t.play());
176
+ const H = () => u === "withText" ? Y : u === "withoutText" ? Z : u, T = (s) => {
177
+ !d || t && (i(9, t.muted = !1, t), t.play());
162
178
  };
163
- return o.$$set = (a) => {
164
- "mediaInstance" in a && i(0, n = a.mediaInstance), "tag" in a && i(1, r = a.tag), "media" in a && i(2, c = a.media), "playButtonIfNeed" in a && i(3, u = a.playButtonIfNeed), "playButtonSizeIfNeed" in a && i(4, f = a.playButtonSizeIfNeed), "canPlay" in a && i(5, d = a.canPlay), "objectFit" in a && i(6, m = a.objectFit), "disableVideoIfHavePoster" in a && i(7, B = a.disableVideoIfHavePoster);
165
- }, o.$$.update = () => {
166
- if (o.$$.dirty & 1 && i(8, t = n.videoInstance), o.$$.dirty & 4 && i(13, l = c == null ? void 0 : c.url), o.$$.dirty & 8192 && Boolean(l) && N(), o.$$.dirty & 256 && t && i(9, p = t.paused), o.$$.dirty & 4356 && (c == null ? void 0 : c.type) === "Video" && !h) {
167
- const a = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, H = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && a;
168
- t && H && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
179
+ return l.$$set = (s) => {
180
+ "mediaInstance" in s && i(0, o = s.mediaInstance), "tag" in s && i(1, r = s.tag), "media" in s && i(2, c = s.media), "playButtonIfNeed" in s && i(3, u = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, f = s.playButtonSizeIfNeed), "canPlay" in s && i(5, d = s.canPlay), "objectFit" in s && i(6, m = s.objectFit), "disableVideoIfHavePoster" in s && i(7, C = s.disableVideoIfHavePoster);
181
+ }, l.$$.update = () => {
182
+ if (l.$$.dirty & 1 && i(9, t = o.videoInstance), l.$$.dirty & 4 && i(13, n = c == null ? void 0 : c.url), l.$$.dirty & 8192 && Boolean(n) && N(), l.$$.dirty & 512 && t && i(10, p = t.paused), l.$$.dirty & 772 && (c == null ? void 0 : c.type) === "Video" && !b) {
183
+ const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, M = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
184
+ t && M && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
169
185
  }
170
186
  }, [
171
- n,
187
+ o,
172
188
  r,
173
189
  c,
174
190
  u,
175
191
  f,
176
192
  d,
177
193
  m,
178
- B,
194
+ C,
195
+ b,
179
196
  t,
180
197
  p,
181
198
  w,
182
- I,
183
199
  h,
184
- l,
200
+ n,
185
201
  V,
186
202
  E,
187
203
  z,
188
204
  F,
189
205
  O,
190
- W
206
+ W,
207
+ H,
208
+ T
191
209
  ];
192
210
  }
193
- class se extends T {
211
+ class re extends q {
194
212
  constructor(e) {
195
- super(), M(
213
+ super(), A(
196
214
  this,
197
215
  e,
198
- ie,
199
- te,
200
- q,
216
+ le,
217
+ oe,
218
+ J,
201
219
  {
202
220
  mediaInstance: 0,
203
221
  tag: 1,
@@ -208,10 +226,10 @@ class se extends T {
208
226
  objectFit: 6,
209
227
  disableVideoIfHavePoster: 7
210
228
  },
211
- Y
229
+ x
212
230
  );
213
231
  }
214
232
  }
215
233
  export {
216
- se as default
234
+ re as default
217
235
  };
@@ -4,18 +4,18 @@ var d = (l, p, t) => (w(l, typeof p != "symbol" ? p + "" : p, t), t);
4
4
  var D = (l, p, t) => new Promise((e, i) => {
5
5
  var o = (s) => {
6
6
  try {
7
- n(t.next(s));
7
+ a(t.next(s));
8
8
  } catch (r) {
9
9
  i(r);
10
10
  }
11
- }, a = (s) => {
11
+ }, n = (s) => {
12
12
  try {
13
- n(t.throw(s));
13
+ a(t.throw(s));
14
14
  } catch (r) {
15
15
  i(r);
16
16
  }
17
- }, n = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(o, a);
18
- n((t = t.apply(l, p)).next());
17
+ }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(o, n);
18
+ a((t = t.apply(l, p)).next());
19
19
  });
20
20
  import { TagComputer as O } from "./TagComputer.js";
21
21
  import { Group as P, Quaternion as x, Vector3 as f, Matrix4 as T } from "three";
@@ -152,8 +152,8 @@ class Le extends O {
152
152
  if (((s = t.model) == null ? void 0 : s.promise) !== i || (t.model.object = o, !this.tags.includes(t)))
153
153
  return;
154
154
  o.visible = this.getCurrentVisibleState(t), new T().fromArray(t.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFloorIndex(t);
155
- const n = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
156
- if (n && this.gltfObjectGroup.remove(n), this.getRenderType(t) === "Mesh") {
155
+ const a = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
156
+ if (a && this.gltfObjectGroup.remove(a), this.getRenderType(t) === "Mesh") {
157
157
  if (!t.imagePlane) {
158
158
  const r = t.data.mediaPosition.map(b);
159
159
  t.imagePlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(b));
@@ -177,9 +177,9 @@ class Le extends O {
177
177
  }
178
178
  updateRenderImagePlane() {
179
179
  this.sort(this.filterImagePlane).forEach((e) => {
180
- var a, n, s, r;
181
- const i = (a = e.data.mediaData[0]) == null ? void 0 : a.url;
182
- if (!i || (e.imagePlane && (e.imagePlane.visible = (s = (n = e.state) == null ? void 0 : n.visible) != null ? s : !0), ((r = e.imagePlane) == null ? void 0 : r.imageSrc) === i))
180
+ var n, a, s, r;
181
+ const i = (n = e.data.mediaData[0]) == null ? void 0 : n.url;
182
+ if (!i || (e.imagePlane && (e.imagePlane.visible = (s = (a = e.state) == null ? void 0 : a.visible) != null ? s : !0), ((r = e.imagePlane) == null ? void 0 : r.imageSrc) === i))
183
183
  return;
184
184
  const o = e.position.map(b);
185
185
  e.imagePlane = new R(i, o), e.imagePlane.setMatrixByCornerPoints(o), this.imagePlaneGroup.add(e.imagePlane);
@@ -189,10 +189,10 @@ class Le extends O {
189
189
  this.sort([...this.filterCSS3DTag]).forEach((e) => {
190
190
  var i, o;
191
191
  if (e.tag3DContentSvelte) {
192
- const { svelteApp: a, domContainer: n, initialNormal: s, currentNormal: r } = e.tag3DContentSvelte;
193
- if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
192
+ const { svelteApp: n, domContainer: a, initialNormal: s, currentNormal: r } = e.tag3DContentSvelte;
193
+ if (n.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
194
194
  const m = new x().setFromUnitVectors(s, r);
195
- n.css3DObject.setRotationFromQuaternion(m);
195
+ a.css3DObject.setRotationFromQuaternion(m);
196
196
  }
197
197
  return;
198
198
  } else {
@@ -200,12 +200,12 @@ class Le extends O {
200
200
  return;
201
201
  if (this.css3DRenderPlugin || (this.css3DRenderPlugin = E(this.five)), e.stickType === "3DPoint" && !e.normal)
202
202
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
203
- const a = this.getPositions(e);
204
- if (!a)
205
- return;
206
- const n = this.getTagNormal(e);
203
+ const n = this.getPositions(e);
207
204
  if (!n)
208
205
  return;
206
+ const a = this.getTagNormal(e);
207
+ if (!a)
208
+ return;
209
209
  const r = (o = this.getTagConfig(e).tag3DConfig) != null ? o : {};
210
210
  if (this.getRenderType(e) === "BehindDom") {
211
211
  r.mode = "behind", r.container = document.createElement("div");
@@ -214,13 +214,13 @@ class Le extends O {
214
214
  var u;
215
215
  if (m.css3DObject.opacityMesh) {
216
216
  const g = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (c) => {
217
- console.log(e), this.hooks.emit("click", { event: c, target: "TagContent", tag: e });
217
+ this.hooks.emit("click", { event: c, target: "TagContent", tag: e });
218
218
  });
219
219
  (u = this.store.css3DRenderDisposer.get(e.id)) == null || u.push(g);
220
220
  }
221
221
  });
222
222
  }
223
- const m = this.css3DRenderPlugin.create3DDomContainer(a, r);
223
+ const m = this.css3DRenderPlugin.create3DDomContainer(n, r);
224
224
  if (!m)
225
225
  return;
226
226
  this.store.css3DRenderDisposer.set(e.id, [m.dispose]), e.tag3DContentSvelte = {
@@ -235,8 +235,8 @@ class Le extends O {
235
235
  }
236
236
  }),
237
237
  domContainer: m,
238
- initialNormal: n,
239
- currentNormal: n
238
+ initialNormal: a,
239
+ currentNormal: a
240
240
  };
241
241
  }
242
242
  }), this.clearUnusedPanelTag();
@@ -245,8 +245,8 @@ class Le extends O {
245
245
  const t = (i) => !this.enabledModelTagSet.has(i.customID);
246
246
  this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(S).forEach((i) => {
247
247
  var o;
248
- (o = i.model) == null || o.promise.then((a) => {
249
- a.visible = this.getCurrentVisibleState(i);
248
+ (o = i.model) == null || o.promise.then((n) => {
249
+ n.visible = this.getCurrentVisibleState(i);
250
250
  });
251
251
  });
252
252
  }
@@ -261,9 +261,9 @@ class Le extends O {
261
261
  const i = (M = (v = (C = t.mergedConfig) == null ? void 0 : C.tag3DConfig) == null ? void 0 : v.ratio) != null ? M : 216e-5, o = (y = t.tag3DContentSvelte) == null ? void 0 : y.domContainer.css3DObject;
262
262
  if (!o)
263
263
  return;
264
- const a = S(t) ? t.data.mediaPosition : t.position;
264
+ const n = S(t) ? t.data.mediaPosition : t.position;
265
265
  e.updateWorldMatrix(!1, !1);
266
- const n = e.matrixWorld, s = new f().fromArray(a[0]), r = new f().fromArray(a[2]), m = A(s, r).add(new f(0, 0, 5e-4)), h = new T().setPosition(m), u = new T().makeScale(i, i, i), g = new T().multiply(n).multiply(h).multiply(u);
266
+ const a = e.matrixWorld, s = new f().fromArray(n[0]), r = new f().fromArray(n[2]), m = A(s, r).add(new f(0, 0, 5e-4)), h = new T().setPosition(m), u = new T().makeScale(i, i, i), g = new T().multiply(a).multiply(h).multiply(u);
267
267
  g.decompose(o.position, o.quaternion, o.scale);
268
268
  const c = o.opacityMesh;
269
269
  c && g.decompose(c.position, c.quaternion, c.scale);
@@ -296,8 +296,8 @@ class Le extends O {
296
296
  temporaryState: this.temporaryState,
297
297
  withAnimation: this.store.visibleWithAnimation
298
298
  }), this.filterCSS3DTag.forEach((e) => {
299
- var i, o, a, n, s;
300
- (n = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.domContainer) == null ? void 0 : o.css3DObject) == null || n.setVisible((this.state.visible && ((a = e.state) == null ? void 0 : a.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
299
+ var i, o, n, a, s;
300
+ (a = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.domContainer) == null ? void 0 : o.css3DObject) == null || a.setVisible((this.state.visible && ((n = e.state) == null ? void 0 : n.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
301
301
  state: this.state,
302
302
  temporaryState: this.temporaryState,
303
303
  withAnimation: this.store.visibleWithAnimation
@@ -141,7 +141,7 @@ class le extends b {
141
141
  if (o[0].type === "Image")
142
142
  return "Mesh";
143
143
  if (o[0].type === "Video")
144
- return "BehindDom";
144
+ return "Dom";
145
145
  } else
146
146
  return "Dom";
147
147
  else if (v(e))
@@ -2,9 +2,9 @@ var i = Object.defineProperty;
2
2
  var a = (e, r, t) => r in e ? i(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
3
  var s = (e, r, t) => (a(e, typeof r != "symbol" ? r + "" : r, t), t);
4
4
  import { Subscribe as c } from "../shared-utils/Subscribe.js";
5
- class o {
5
+ class x {
6
6
  constructor(r, t) {
7
- s(this, "VERSION", "2.15.0-alpha.1");
7
+ s(this, "VERSION", "2.15.0");
8
8
  s(this, "five");
9
9
  s(this, "hooks", new c());
10
10
  s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
@@ -15,5 +15,5 @@ class o {
15
15
  }
16
16
  }
17
17
  export {
18
- o as Controller
18
+ x as Controller
19
19
  };