@realsee/dnalogel 2.3.9-alpha.6 → 2.3.9-alpha.8

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 (247) hide show
  1. package/dist/index.cjs.js +38 -38
  2. package/dist/index.js +1727 -1752
  3. package/dist/index.umd.js +26 -26
  4. package/docs/classes/CSS3DRender.html +31 -31
  5. package/docs/classes/CruisePluginController.html +24 -24
  6. package/docs/classes/Magnifier.html +16 -16
  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/PanoTagPluginController.html +41 -41
  11. package/docs/classes/Util.BetterTween.html +8 -8
  12. package/docs/classes/Util.FivePointSelector.html +12 -12
  13. package/docs/classes/Util.Interval.html +12 -12
  14. package/docs/classes/Util.Magnifier.html +17 -17
  15. package/docs/classes/Util.PointDomHelper.html +11 -11
  16. package/docs/classes/Util.PointHelper.html +11 -11
  17. package/docs/classes/Util.Rectangle.html +13 -13
  18. package/docs/enums/CameraMovementEffect.html +7 -7
  19. package/docs/enums/ContentType.html +16 -16
  20. package/docs/enums/DIRECTION.html +9 -9
  21. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  22. package/docs/enums/DimensionType.html +7 -7
  23. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  24. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  25. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  26. package/docs/enums/PointType.html +7 -7
  27. package/docs/enums/Rotation.html +8 -8
  28. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  29. package/docs/functions/CameraMovementPlugin.html +4 -4
  30. package/docs/functions/CruisePlugin.html +4 -4
  31. package/docs/functions/GuideLinePlugin.html +5 -5
  32. package/docs/functions/ItemLabelPlugin.html +4 -4
  33. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  34. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  35. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  36. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  38. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  39. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  40. package/docs/functions/ModelViewPlugin.html +4 -4
  41. package/docs/functions/Object3DHelperPlugin.html +4 -4
  42. package/docs/functions/PanoCompassPlugin.html +4 -4
  43. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  44. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  45. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  46. package/docs/functions/PanoMeasurePlugin.html +4 -4
  47. package/docs/functions/PanoRulerPlugin.html +4 -4
  48. package/docs/functions/PanoRulerProPlugin.html +4 -4
  49. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  50. package/docs/functions/PanoTagPlugin.html +4 -4
  51. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  52. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  53. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  54. package/docs/functions/Util.getFrameTime.html +5 -5
  55. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  56. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  57. package/docs/functions/Util.isNil.html +5 -5
  58. package/docs/functions/Util.nextFrame.html +5 -5
  59. package/docs/functions/Util.notNil.html +5 -5
  60. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  61. package/docs/functions/Util.tweenProgress.html +5 -5
  62. package/docs/functions/pluginFlag.html +5 -5
  63. package/docs/index.html +4 -4
  64. package/docs/interfaces/AddTagConfig.html +6 -6
  65. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  66. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  67. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  68. package/docs/interfaces/EventMap.html +15 -15
  69. package/docs/interfaces/FloorplanBounding.html +8 -8
  70. package/docs/interfaces/FloorplanData.html +10 -10
  71. package/docs/interfaces/FloorplanEntrance.html +11 -11
  72. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  73. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  74. package/docs/interfaces/FloorplanFloorData.html +9 -9
  75. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  76. package/docs/interfaces/FloorplanObserver.html +9 -9
  77. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  78. package/docs/interfaces/FloorplanPosition.html +7 -7
  79. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  80. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  81. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  82. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  83. package/docs/interfaces/FloorplanServerData.html +7 -7
  84. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  85. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  86. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  87. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  88. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  89. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  90. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  91. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  92. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  93. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  94. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  95. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  96. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  97. package/docs/interfaces/LineJson.html +7 -7
  98. package/docs/interfaces/MinMax.html +7 -7
  99. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  101. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  102. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  103. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  104. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  105. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  106. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  107. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  109. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  110. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  111. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  112. package/docs/interfaces/Object3DHelperState.html +8 -8
  113. package/docs/interfaces/OpenParameter.html +7 -7
  114. package/docs/interfaces/PaintBrushAction.html +12 -12
  115. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  116. package/docs/interfaces/PaintBrushState.html +10 -10
  117. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  119. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  120. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  122. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  123. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  124. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  127. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  128. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  130. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  133. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  134. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  135. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  136. package/docs/interfaces/Point.html +8 -8
  137. package/docs/interfaces/PointJson.html +8 -8
  138. package/docs/interfaces/Room.html +9 -9
  139. package/docs/interfaces/RoomInfo.html +7 -7
  140. package/docs/interfaces/RoomLabel.html +14 -14
  141. package/docs/interfaces/RoomRules.html +5 -5
  142. package/docs/interfaces/Rooms.html +5 -5
  143. package/docs/interfaces/Scissor.html +9 -9
  144. package/docs/interfaces/State.html +8 -8
  145. package/docs/interfaces/TagCache.html +10 -10
  146. package/docs/interfaces/TagConfig.html +10 -10
  147. package/docs/interfaces/TagIconUrl.html +9 -9
  148. package/docs/interfaces/Tags.html +9 -9
  149. package/docs/interfaces/TemporaryState.html +6 -6
  150. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  151. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  152. package/docs/modules/Util.html +5 -5
  153. package/docs/modules.html +4 -4
  154. package/docs/types/ArrayPosition.html +5 -5
  155. package/docs/types/AudioAppearance.html +5 -5
  156. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  157. package/docs/types/CSS3DRenderExportType.html +5 -5
  158. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  159. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  160. package/docs/types/Color.html +5 -5
  161. package/docs/types/ContentTypeConfigKey.html +5 -5
  162. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  163. package/docs/types/ContentTypeMap.html +5 -5
  164. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  165. package/docs/types/Create3DElementReturnType.html +5 -5
  166. package/docs/types/CruisePluginExportType.html +5 -5
  167. package/docs/types/Direction-1.html +5 -5
  168. package/docs/types/Direction4.html +5 -5
  169. package/docs/types/FloorplanRuleLabels.html +5 -5
  170. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  171. package/docs/types/GuideLinePluginExportType.html +5 -5
  172. package/docs/types/HelperEventMap.html +5 -5
  173. package/docs/types/LoadTagConfig.html +5 -5
  174. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  175. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  176. package/docs/types/MediaData.html +5 -5
  177. package/docs/types/MediaStore.html +5 -5
  178. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  179. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  180. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  181. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  182. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  183. package/docs/types/MoveArgs.html +5 -5
  184. package/docs/types/MoveOpts.html +5 -5
  185. package/docs/types/Object3DHelperEventMap.html +5 -5
  186. package/docs/types/ObjectFit.html +5 -5
  187. package/docs/types/PaintBrushEventMap.html +5 -5
  188. package/docs/types/PanoCompassPluginData.html +5 -5
  189. package/docs/types/PanoCompassPluginExportType.html +5 -5
  190. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  191. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  192. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  193. package/docs/types/PanoIndex.html +5 -5
  194. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  195. package/docs/types/PanoMeasureReturnType.html +5 -5
  196. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  197. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  198. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  199. package/docs/types/PlaneTag.html +5 -5
  200. package/docs/types/PlaneTagElement.html +5 -5
  201. package/docs/types/Point2DElement.html +5 -5
  202. package/docs/types/Point2DTag.html +5 -5
  203. package/docs/types/Point3DElement.html +5 -5
  204. package/docs/types/Point3DTag.html +5 -5
  205. package/docs/types/PointTag.html +5 -5
  206. package/docs/types/PointTagElement.html +5 -5
  207. package/docs/types/Position.html +5 -5
  208. package/docs/types/RotateArgs.html +5 -5
  209. package/docs/types/RotateOpts.html +5 -5
  210. package/docs/types/RuleLabelsKey.html +5 -5
  211. package/docs/types/RuleLabelsValue.html +5 -5
  212. package/docs/types/StickType.html +5 -5
  213. package/docs/types/Tag.html +5 -5
  214. package/docs/types/Tag2D.html +5 -5
  215. package/docs/types/Tag3D.html +5 -5
  216. package/docs/types/TagContentType.html +5 -5
  217. package/docs/types/TagDimensionType.html +5 -5
  218. package/docs/types/TagElement.html +5 -5
  219. package/docs/types/TagEvents.html +5 -5
  220. package/docs/types/TagHooks.html +5 -5
  221. package/docs/types/TagIconSize.html +5 -5
  222. package/docs/types/TagId.html +5 -5
  223. package/docs/types/TagPointType.html +5 -5
  224. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  225. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  226. package/docs/types/WorkCode.html +5 -5
  227. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  228. package/docs/variables/PLUGIN.html +5 -5
  229. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  230. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  231. package/docs/variables/VERSION.html +5 -5
  232. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  233. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  234. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  235. package/libs/PanoTagPlugin/Components/Common/Audio.js +26 -26
  236. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +2 -2
  237. package/libs/PanoTagPlugin/Components/Common/Shadow.js +1 -1
  238. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +96 -119
  239. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +15 -17
  240. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
  241. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  242. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  243. package/libs/PanoTagPlugin/controller/index.js +5 -6
  244. package/libs/PanoTagPlugin/index.js +11 -12
  245. package/libs/index.js +92 -93
  246. package/libs/shared-utils/audio.js +29 -29
  247. package/package.json +1 -1
@@ -1,195 +1,172 @@
1
- import { SvelteComponent as G, init as M, safe_not_equal as N, append_styles as W, empty as Y, insert as v, transition_in as h, transition_out as b, check_outros as B, detach as y, createEventDispatcher as H, element as g, create_component as w, attr as _, set_style as q, append as c, mount_component as T, destroy_component as C, space as R, group_outros as J, bubble as K, text as U, set_data as E } from "../../../../vendor/svelte/internal/index.js";
2
- import L from "../../Common/Icon/audioIcon.js";
3
- import O from "../../Common/Text/MText.js";
4
- import Q from "../../Common/Audio.js";
5
- import S from "../../../utils/timeToString.js";
1
+ import { SvelteComponent as q, init as D, safe_not_equal as E, append_styles as M, empty as N, insert as $, transition_in as d, transition_out as c, check_outros as P, detach as w, createEventDispatcher as S, element as p, create_component as k, attr as m, set_style as b, append as v, mount_component as j, destroy_component as y, space as W, group_outros as B, bubble as F, text as G, set_data as H } from "../../../../vendor/svelte/internal/index.js";
2
+ import J from "../../Common/Icon/audioIcon.js";
3
+ import K from "../../Common/Text/MText.js";
4
+ import L from "../../Common/Audio.js";
6
5
  import "three";
7
- import { noTypecheck as z } from "../../../utils/noTypecheck.js";
8
- import { name2Rgba as V } from "../../../utils/color.js";
6
+ import { name2Rgba as O } from "../../../utils/color.js";
9
7
  import "../../../utils/px2rem.js";
10
8
  import "../../Common/Shadow.js";
11
9
  import "../../../../vendor/svelte/transition/index.js";
12
10
  import "../../../../vendor/svelte/easing/index.js";
13
11
  import "../../../../shared-utils/audio.js";
14
12
  import "../../../utils/audio/SharedAudio.js";
15
- function X(n) {
16
- W(n, "svelte-qnju8y", ".audio-tag__wrapper.svelte-qnju8y{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-qnju8y{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.currentTime.svelte-qnju8y{font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;margin-left:0.25rem}.audio__inner.svelte-qnju8y{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-qnju8y{font-weight:bold;font-size:0.75rem;margin-left:0.125rem}.audio-icon__wrapper.svelte-qnju8y{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
13
+ function Q(o) {
14
+ M(o, "svelte-58hfjf", ".audio-tag__wrapper.svelte-58hfjf{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-58hfjf{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.audio__inner.svelte-58hfjf{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-58hfjf{font-weight:bold;font-size:0.75rem;margin-left:0.25rem}.audio-icon__wrapper.svelte-58hfjf{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
17
15
  }
18
- function A(n) {
19
- let o, t, e, i;
20
- return e = new Q({
16
+ function z(o) {
17
+ let r, t, e, i;
18
+ return e = new L({
21
19
  props: {
22
20
  style: "width: max-content; height: max-content;",
23
- enable: n[0].state.visible,
24
- url: n[0].data.audioUrl,
25
- hooksInfo: { tag: n[0] },
26
- $$slots: { default: [x] },
27
- $$scope: { ctx: n }
21
+ enable: o[0].state.visible,
22
+ url: o[0].data.audioUrl,
23
+ hooksInfo: { tag: o[0] },
24
+ $$slots: { default: [X] },
25
+ $$scope: { ctx: o }
28
26
  }
29
- }), e.$on("play", n[7]), e.$on("pause", n[8]), e.$on("timeupdate", n[9]), e.$on("duration", n[10]), e.$on("audioRef", n[11]), {
27
+ }), e.$on("play", o[7]), e.$on("pause", o[8]), e.$on("timeupdate", o[9]), e.$on("duration", o[10]), e.$on("audioRef", o[11]), {
30
28
  c() {
31
- o = g("div"), t = g("div"), w(e.$$.fragment), _(t, "class", "audio-tag svelte-qnju8y"), q(t, "background-color", n[1]), q(t, "color", n[5]), _(o, "class", "audio-tag__wrapper svelte-qnju8y");
29
+ r = p("div"), t = p("div"), k(e.$$.fragment), m(t, "class", "audio-tag svelte-58hfjf"), b(t, "background-color", o[1]), b(t, "color", o[5]), m(r, "class", "audio-tag__wrapper svelte-58hfjf");
32
30
  },
33
- m(r, a) {
34
- v(r, o, a), c(o, t), T(e, t, null), i = !0;
31
+ m(n, a) {
32
+ $(n, r, a), v(r, t), j(e, t, null), i = !0;
35
33
  },
36
- p(r, a) {
37
- const u = {};
38
- a & 1 && (u.enable = r[0].state.visible), a & 1 && (u.url = r[0].data.audioUrl), a & 1 && (u.hooksInfo = { tag: r[0] }), a & 8284 && (u.$$scope = { dirty: a, ctx: r }), e.$set(u), a & 2 && q(t, "background-color", r[1]), a & 32 && q(t, "color", r[5]);
34
+ p(n, a) {
35
+ const s = {};
36
+ a & 1 && (s.enable = n[0].state.visible), a & 1 && (s.url = n[0].data.audioUrl), a & 1 && (s.hooksInfo = { tag: n[0] }), a & 8260 && (s.$$scope = { dirty: a, ctx: n }), e.$set(s), a & 2 && b(t, "background-color", n[1]), a & 32 && b(t, "color", n[5]);
39
37
  },
40
- i(r) {
41
- i || (h(e.$$.fragment, r), i = !0);
38
+ i(n) {
39
+ i || (d(e.$$.fragment, n), i = !0);
42
40
  },
43
- o(r) {
44
- b(e.$$.fragment, r), i = !1;
41
+ o(n) {
42
+ c(e.$$.fragment, n), i = !1;
45
43
  },
46
- d(r) {
47
- r && y(o), C(e);
44
+ d(n) {
45
+ n && w(r), y(e);
48
46
  }
49
47
  };
50
48
  }
51
- function P(n) {
52
- var e;
53
- let o = S(z(n[2] ? n[3] : (e = n[4]) != null ? e : 0)) + "", t;
49
+ function V(o) {
50
+ let r;
54
51
  return {
55
52
  c() {
56
- t = U(o);
57
- },
58
- m(i, r) {
59
- v(i, t, r);
60
- },
61
- p(i, r) {
62
- var a;
63
- r & 28 && o !== (o = S(z(i[2] ? i[3] : (a = i[4]) != null ? a : 0)) + "") && E(t, o);
64
- },
65
- d(i) {
66
- i && y(t);
67
- }
68
- };
69
- }
70
- function Z(n) {
71
- let o;
72
- return {
73
- c() {
74
- o = U(n[6]);
53
+ r = G(o[6]);
75
54
  },
76
55
  m(t, e) {
77
- v(t, o, e);
56
+ $(t, r, e);
78
57
  },
79
58
  p(t, e) {
80
- e & 64 && E(o, t[6]);
59
+ e & 64 && H(r, t[6]);
81
60
  },
82
61
  d(t) {
83
- t && y(o);
62
+ t && w(r);
84
63
  }
85
64
  };
86
65
  }
87
- function x(n) {
88
- let o, t, e, i, r, a, u, d, p;
89
- e = new L({ props: { playing: n[2] } });
90
- let s = typeof (n[2] ? n[3] : n[4]) == "number" && P(n);
91
- return d = new O({
66
+ function X(o) {
67
+ let r, t, e, i, n, a, s;
68
+ return e = new J({ props: { playing: o[2] } }), a = new K({
92
69
  props: {
93
70
  maxWidth: 72,
94
- $$slots: { default: [Z] },
95
- $$scope: { ctx: n }
71
+ $$slots: { default: [V] },
72
+ $$scope: { ctx: o }
96
73
  }
97
74
  }), {
98
75
  c() {
99
- o = g("div"), t = g("div"), w(e.$$.fragment), i = R(), r = g("div"), s && s.c(), a = R(), u = g("div"), w(d.$$.fragment), _(t, "class", "audio-icon__wrapper svelte-qnju8y"), _(r, "class", "currentTime svelte-qnju8y"), _(u, "class", "text svelte-qnju8y"), _(o, "class", "audio__inner svelte-qnju8y");
76
+ r = p("div"), t = p("div"), k(e.$$.fragment), i = W(), n = p("div"), k(a.$$.fragment), m(t, "class", "audio-icon__wrapper svelte-58hfjf"), m(n, "class", "text svelte-58hfjf"), m(r, "class", "audio__inner svelte-58hfjf");
100
77
  },
101
- m(l, m) {
102
- v(l, o, m), c(o, t), T(e, t, null), c(o, i), c(o, r), s && s.m(r, null), c(o, a), c(o, u), T(d, u, null), p = !0;
78
+ m(l, u) {
79
+ $(l, r, u), v(r, t), j(e, t, null), v(r, i), v(r, n), j(a, n, null), s = !0;
103
80
  },
104
- p(l, m) {
105
- const $ = {};
106
- m & 4 && ($.playing = l[2]), e.$set($), typeof (l[2] ? l[3] : l[4]) == "number" ? s ? s.p(l, m) : (s = P(l), s.c(), s.m(r, null)) : s && (s.d(1), s = null);
107
- const k = {};
108
- m & 8256 && (k.$$scope = { dirty: m, ctx: l }), d.$set(k);
81
+ p(l, u) {
82
+ const g = {};
83
+ u & 4 && (g.playing = l[2]), e.$set(g);
84
+ const h = {};
85
+ u & 8256 && (h.$$scope = { dirty: u, ctx: l }), a.$set(h);
109
86
  },
110
87
  i(l) {
111
- p || (h(e.$$.fragment, l), h(d.$$.fragment, l), p = !0);
88
+ s || (d(e.$$.fragment, l), d(a.$$.fragment, l), s = !0);
112
89
  },
113
90
  o(l) {
114
- b(e.$$.fragment, l), b(d.$$.fragment, l), p = !1;
91
+ c(e.$$.fragment, l), c(a.$$.fragment, l), s = !1;
115
92
  },
116
93
  d(l) {
117
- l && y(o), C(e), s && s.d(), C(d);
94
+ l && w(r), y(e), y(a);
118
95
  }
119
96
  };
120
97
  }
121
- function ee(n) {
122
- let o, t, e = n[0].state && A(n);
98
+ function Y(o) {
99
+ let r, t, e = o[0].state && z(o);
123
100
  return {
124
101
  c() {
125
- e && e.c(), o = Y();
102
+ e && e.c(), r = N();
126
103
  },
127
- m(i, r) {
128
- e && e.m(i, r), v(i, o, r), t = !0;
104
+ m(i, n) {
105
+ e && e.m(i, n), $(i, r, n), t = !0;
129
106
  },
130
- p(i, [r]) {
131
- i[0].state ? e ? (e.p(i, r), r & 1 && h(e, 1)) : (e = A(i), e.c(), h(e, 1), e.m(o.parentNode, o)) : e && (J(), b(e, 1, 1, () => {
107
+ p(i, [n]) {
108
+ i[0].state ? e ? (e.p(i, n), n & 1 && d(e, 1)) : (e = z(i), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
132
109
  e = null;
133
- }), B());
110
+ }), P());
134
111
  },
135
112
  i(i) {
136
- t || (h(e), t = !0);
113
+ t || (d(e), t = !0);
137
114
  },
138
115
  o(i) {
139
- b(e), t = !1;
116
+ c(e), t = !1;
140
117
  },
141
118
  d(i) {
142
- e && e.d(i), i && y(o);
119
+ e && e.d(i), i && w(r);
143
120
  }
144
121
  };
145
122
  }
146
- function te(n, o, t) {
147
- let e, i, r, { tag: a } = o;
148
- H();
149
- let u = !1, d = 0, p = 0;
150
- const s = () => {
151
- t(2, u = !0);
152
- }, l = () => {
153
- t(2, u = !1);
154
- }, m = (f) => {
155
- t(3, d = f.detail);
156
- }, $ = (f) => {
157
- t(4, p = f.detail);
123
+ function Z(o, r, t) {
124
+ let e, i, n, { tag: a } = r;
125
+ S();
126
+ let s = !1, l = 0, u = 0;
127
+ const g = () => {
128
+ t(2, s = !0);
129
+ }, h = () => {
130
+ t(2, s = !1);
131
+ }, A = (f) => {
132
+ t(3, l = f.detail);
133
+ }, I = (f) => {
134
+ t(4, u = f.detail);
158
135
  };
159
- function k(f) {
160
- K.call(this, n, f);
136
+ function R(f) {
137
+ F.call(this, o, f);
161
138
  }
162
- return n.$$set = (f) => {
139
+ return o.$$set = (f) => {
163
140
  "tag" in f && t(0, a = f.tag);
164
- }, n.$$.update = () => {
165
- var f, I;
166
- n.$$.dirty & 1 && t(6, e = (I = (f = a.data.title) != null ? f : a.data.text) != null ? I : ""), n.$$.dirty & 1 && t(1, i = (() => {
167
- var j;
168
- return a.data.backgroundColor === "dark" ? "rgba(0, 0, 0, 0.3)" : a.data.backgroundColor === "light" ? "rgba(255, 255, 255, 0.3)" : (j = a.data.backgroundColor) != null ? j : "rgba(0, 0, 0, 0.3)";
169
- })()), n.$$.dirty & 2 && t(5, r = (() => {
170
- const { r: j, g: D, b: F } = V(i);
171
- return (j * 299 + D * 587 + F * 114) / 1e3 >= 128 ? "rgba(0, 0, 0, 0.6)" : "white";
141
+ }, o.$$.update = () => {
142
+ var f, C;
143
+ o.$$.dirty & 1 && t(6, e = (C = (f = a.data.title) != null ? f : a.data.text) != null ? C : ""), o.$$.dirty & 1 && t(1, i = (() => {
144
+ var _;
145
+ return a.data.backgroundColor === "dark" ? "rgba(0, 0, 0, 0.3)" : a.data.backgroundColor === "light" ? "rgba(255, 255, 255, 0.3)" : (_ = a.data.backgroundColor) != null ? _ : "rgba(0, 0, 0, 0.3)";
146
+ })()), o.$$.dirty & 2 && t(5, n = (() => {
147
+ const { r: _, g: T, b: U } = O(i);
148
+ return (_ * 299 + T * 587 + U * 114) / 1e3 >= 128 ? "rgba(0, 0, 0, 0.6)" : "white";
172
149
  })());
173
150
  }, [
174
151
  a,
175
152
  i,
176
- u,
177
- d,
178
- p,
179
- r,
180
- e,
181
153
  s,
182
154
  l,
183
- m,
184
- $,
185
- k
155
+ u,
156
+ n,
157
+ e,
158
+ g,
159
+ h,
160
+ A,
161
+ I,
162
+ R
186
163
  ];
187
164
  }
188
- class he extends G {
189
- constructor(o) {
190
- super(), M(this, o, te, ee, N, { tag: 0 }, X);
165
+ class pe extends q {
166
+ constructor(r) {
167
+ super(), D(this, r, Z, Y, E, { tag: 0 }, Q);
191
168
  }
192
169
  }
193
170
  export {
194
- he as default
171
+ pe as default
195
172
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as f, check_outros as h, transition_in as l, detach as A, group_outros as R, create_component as s, mount_component as _, destroy_component as d } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as l, check_outros as h, transition_in as m, detach as A, group_outros as R, create_component as s, mount_component as _, destroy_component as d } from "../../../../vendor/svelte/internal/index.js";
2
2
  import T from "./AudioTag.js";
3
3
  import w from "./AudioPlaneTag.js";
4
4
  import "../../../../vendor/svelte/easing/index.js";
@@ -22,8 +22,6 @@ import "../../../utils/doUtil.js";
22
22
  import "../../Common/Icon/audioIcon.js";
23
23
  import "../../../utils/px2rem.js";
24
24
  import "../../Common/Text/MText.js";
25
- import "../../../utils/timeToString.js";
26
- import "../../../utils/noTypecheck.js";
27
25
  import "../../../utils/color.js";
28
26
  function q(n) {
29
27
  let t, o;
@@ -39,10 +37,10 @@ function q(n) {
39
37
  r & 1 && (a.tag = e[0]), t.$set(a);
40
38
  },
41
39
  i(e) {
42
- o || (l(t.$$.fragment, e), o = !0);
40
+ o || (m(t.$$.fragment, e), o = !0);
43
41
  },
44
42
  o(e) {
45
- f(t.$$.fragment, e), o = !1;
43
+ l(t.$$.fragment, e), o = !1;
46
44
  },
47
45
  d(e) {
48
46
  d(t, e);
@@ -63,10 +61,10 @@ function v(n) {
63
61
  r & 1 && (a.tag = e[0]), t.$set(a);
64
62
  },
65
63
  i(e) {
66
- o || (l(t.$$.fragment, e), o = !0);
64
+ o || (m(t.$$.fragment, e), o = !0);
67
65
  },
68
66
  o(e) {
69
- f(t.$$.fragment, e), o = !1;
67
+ l(t.$$.fragment, e), o = !1;
70
68
  },
71
69
  d(e) {
72
70
  d(t, e);
@@ -76,27 +74,27 @@ function v(n) {
76
74
  function C(n) {
77
75
  let t, o, e, r;
78
76
  const a = [v, q], p = [];
79
- function u(i, m) {
77
+ function u(i, f) {
80
78
  return i[1] === "line" ? 0 : i[1] === "plane" ? 1 : -1;
81
79
  }
82
80
  return ~(t = u(n)) && (o = p[t] = a[t](n)), {
83
81
  c() {
84
82
  o && o.c(), e = b();
85
83
  },
86
- m(i, m) {
87
- ~t && p[t].m(i, m), y(i, e, m), r = !0;
84
+ m(i, f) {
85
+ ~t && p[t].m(i, f), y(i, e, f), r = !0;
88
86
  },
89
- p(i, [m]) {
87
+ p(i, [f]) {
90
88
  let c = t;
91
- t = u(i), t === c ? ~t && p[t].p(i, m) : (o && (R(), f(p[c], 1, 1, () => {
89
+ t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(), l(p[c], 1, 1, () => {
92
90
  p[c] = null;
93
- }), h()), ~t ? (o = p[t], o ? o.p(i, m) : (o = p[t] = a[t](i), o.c()), l(o, 1), o.m(e.parentNode, e)) : o = null);
91
+ }), h()), ~t ? (o = p[t], o ? o.p(i, f) : (o = p[t] = a[t](i), o.c()), m(o, 1), o.m(e.parentNode, e)) : o = null);
94
92
  },
95
93
  i(i) {
96
- r || (l(o), r = !0);
94
+ r || (m(o), r = !0);
97
95
  },
98
96
  o(i) {
99
- f(o), r = !1;
97
+ l(o), r = !1;
100
98
  },
101
99
  d(i) {
102
100
  ~t && p[t].d(i), i && A(e);
@@ -115,11 +113,11 @@ function N(n, t, o) {
115
113
  n.$$.dirty & 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
116
114
  }, [r, e, p];
117
115
  }
118
- class rt extends g {
116
+ class et extends g {
119
117
  constructor(t) {
120
118
  super(), $(this, t, N, C, k, { tag: 0 });
121
119
  }
122
120
  }
123
121
  export {
124
- rt as default
122
+ et as default
125
123
  };
@@ -65,7 +65,6 @@ import "../../../shared-utils/audio.js";
65
65
  import "../../utils/audio/SharedAudio.js";
66
66
  import "../Common/Icon/audioIcon.js";
67
67
  import "./AudioTag/AudioPlaneTag.js";
68
- import "../../utils/timeToString.js";
69
68
  import "../../utils/color.js";
70
69
  import "../Common/Icon/Icon.js";
71
70
  import "../../utils/getImageInfo.js";
@@ -372,7 +371,7 @@ function BA(o, A, t) {
372
371
  E
373
372
  ];
374
373
  }
375
- class Pe extends V {
374
+ class Je extends V {
376
375
  constructor(A) {
377
376
  super(), N(
378
377
  this,
@@ -393,5 +392,5 @@ class Pe extends V {
393
392
  }
394
393
  }
395
394
  export {
396
- Pe as default
395
+ Je as default
397
396
  };
@@ -64,7 +64,6 @@ import "../../shared-utils/audio.js";
64
64
  import "../utils/audio/SharedAudio.js";
65
65
  import "./Common/Icon/audioIcon.js";
66
66
  import "./Tag/AudioTag/AudioPlaneTag.js";
67
- import "../utils/timeToString.js";
68
67
  import "../utils/color.js";
69
68
  import "./Tag/MediaPlane.js";
70
69
  import "./Tag/LinkTag.js";
@@ -187,7 +186,7 @@ function F(l, t, o) {
187
186
  "withAnimation" in a && o(0, e = a.withAnimation), "tags" in a && o(1, n = a.tags), "hooks" in a && o(5, r = a.hooks), "mediaStore" in a && o(2, p = a.mediaStore), "state" in a && o(3, i = a.state), "temporaryState" in a && o(4, m = a.temporaryState);
188
187
  }, [e, n, p, i, m, r];
189
188
  }
190
- class oe extends S {
189
+ class ie extends S {
191
190
  constructor(t) {
192
191
  super(), v(
193
192
  this,
@@ -208,5 +207,5 @@ class oe extends S {
208
207
  }
209
208
  }
210
209
  export {
211
- oe as default
210
+ ie as default
212
211
  };
@@ -64,7 +64,6 @@ import "../../shared-utils/audio.js";
64
64
  import "../utils/audio/SharedAudio.js";
65
65
  import "./Common/Icon/audioIcon.js";
66
66
  import "./Tag/AudioTag/AudioPlaneTag.js";
67
- import "../utils/timeToString.js";
68
67
  import "../utils/color.js";
69
68
  import "./Tag/MediaPlane.js";
70
69
  import "./Tag/LinkTag.js";
@@ -230,7 +229,7 @@ function it(o, e, t) {
230
229
  m
231
230
  ];
232
231
  }
233
- class Se extends K {
232
+ class ve extends K {
234
233
  constructor(e) {
235
234
  super(), M(
236
235
  this,
@@ -250,5 +249,5 @@ class Se extends K {
250
249
  }
251
250
  }
252
251
  export {
253
- Se as default
252
+ ve as default
254
253
  };
@@ -109,7 +109,6 @@ import "../Components/Common/Audio.js";
109
109
  import "../utils/audio/SharedAudio.js";
110
110
  import "../Components/Common/Icon/audioIcon.js";
111
111
  import "../Components/Tag/AudioTag/AudioPlaneTag.js";
112
- import "../utils/timeToString.js";
113
112
  import "../utils/color.js";
114
113
  import "../Components/Tag/MediaPlane.js";
115
114
  import "../Components/Tag/LinkTag.js";
@@ -122,8 +121,8 @@ import "./TagCacheController.js";
122
121
  import "../../base/BasePlugin.js";
123
122
  import "../../CSS3DRenderPlugin/Controller.js";
124
123
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
125
- const y = "2.0.5", v = `DnalogelPlugin-PanoTagPlugin@${y}`, G = !1, Ot = (h) => `${v}--${h}`;
126
- class It extends W {
124
+ const y = "2.0.5", v = `DnalogelPlugin-PanoTagPlugin@${y}`, G = !1, Lt = (h) => `${v}--${h}`;
125
+ class Ot extends W {
127
126
  constructor(e, t) {
128
127
  super(e);
129
128
  d(this, "version", y);
@@ -466,7 +465,7 @@ class It extends W {
466
465
  }
467
466
  }
468
467
  export {
469
- It as PanoTagPluginController,
470
- It as default,
471
- Ot as pluginFlag
468
+ Ot as PanoTagPluginController,
469
+ Ot as default,
470
+ Lt as pluginFlag
472
471
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./controller/index.js";
2
- import { default as Xo, pluginFlag as Yo } from "./controller/index.js";
3
- import { ContentType as _o } from "./typings/tag/TagData.js";
4
- import { DimensionType as or, PointType as rr } from "./typings/tag/Utils.js";
2
+ import { default as Wo, pluginFlag as Xo } from "./controller/index.js";
3
+ import { ContentType as Zo } from "./typings/tag/TagData.js";
4
+ import { DimensionType as $o, PointType as or } from "./typings/tag/Utils.js";
5
5
  import "@realsee/five";
6
6
  import "three";
7
7
  import "object-assign-deep";
@@ -71,7 +71,6 @@ import "../shared-utils/audio.js";
71
71
  import "./utils/audio/SharedAudio.js";
72
72
  import "./Components/Common/Icon/audioIcon.js";
73
73
  import "./Components/Tag/AudioTag/AudioPlaneTag.js";
74
- import "./utils/timeToString.js";
75
74
  import "./utils/color.js";
76
75
  import "./Components/Tag/MediaPlane.js";
77
76
  import "./Components/Tag/LinkTag.js";
@@ -97,13 +96,13 @@ import "../CSS3DRenderPlugin/index.js";
97
96
  import "../CSS3DRenderPlugin/Controller.js";
98
97
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
99
98
  import "./utils/tag/format.js";
100
- const Uo = (o, r) => new t(o, r);
99
+ const So = (o, r) => new t(o, r);
101
100
  export {
102
- _o as ContentType,
103
- or as DimensionType,
104
- Uo as PanoTagPlugin,
105
- Xo as PanoTagPluginController,
106
- rr as PointType,
107
- Uo as default,
108
- Yo as pluginFlag
101
+ Zo as ContentType,
102
+ $o as DimensionType,
103
+ So as PanoTagPlugin,
104
+ Wo as PanoTagPluginController,
105
+ or as PointType,
106
+ So as default,
107
+ Xo as pluginFlag
109
108
  };