@realsee/dnalogel 2.3.9-alpha.2 → 2.3.9-alpha.4

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