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

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 (257) hide show
  1. package/dist/PanoTagPlugin/typings/controller.d.ts +2 -0
  2. package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
  3. package/dist/index.cjs.js +31 -31
  4. package/dist/index.js +3156 -3101
  5. package/dist/index.umd.js +31 -31
  6. package/dist/shared-utils/audio.d.ts +16 -4
  7. package/docs/classes/CSS3DRender.html +31 -31
  8. package/docs/classes/CruisePluginController.html +24 -24
  9. package/docs/classes/Magnifier.html +16 -16
  10. package/docs/classes/ModelRoomLabelController.html +11 -11
  11. package/docs/classes/Object3DHelperController.html +24 -24
  12. package/docs/classes/PaintBrush.html +15 -15
  13. package/docs/classes/PanoTagPluginController.html +41 -41
  14. package/docs/classes/Util.BetterTween.html +8 -8
  15. package/docs/classes/Util.FivePointSelector.html +12 -12
  16. package/docs/classes/Util.Interval.html +12 -12
  17. package/docs/classes/Util.Magnifier.html +17 -17
  18. package/docs/classes/Util.PointDomHelper.html +11 -11
  19. package/docs/classes/Util.PointHelper.html +11 -11
  20. package/docs/classes/Util.Rectangle.html +13 -13
  21. package/docs/enums/CameraMovementEffect.html +7 -7
  22. package/docs/enums/ContentType.html +16 -16
  23. package/docs/enums/DIRECTION.html +9 -9
  24. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  25. package/docs/enums/DimensionType.html +7 -7
  26. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  27. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  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/TopviewFloorplanPlugin.html +4 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +5 -5
  66. package/docs/index.html +4 -4
  67. package/docs/interfaces/AddTagConfig.html +6 -6
  68. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  69. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  70. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  71. package/docs/interfaces/EventMap.html +15 -15
  72. package/docs/interfaces/FloorplanBounding.html +8 -8
  73. package/docs/interfaces/FloorplanData.html +10 -10
  74. package/docs/interfaces/FloorplanEntrance.html +11 -11
  75. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  76. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  77. package/docs/interfaces/FloorplanFloorData.html +9 -9
  78. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  79. package/docs/interfaces/FloorplanObserver.html +9 -9
  80. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  81. package/docs/interfaces/FloorplanPosition.html +7 -7
  82. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  83. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  84. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  85. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  86. package/docs/interfaces/FloorplanServerData.html +7 -7
  87. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  88. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  89. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  90. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  91. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  92. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  93. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  94. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  96. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  97. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  98. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  99. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  100. package/docs/interfaces/LineJson.html +7 -7
  101. package/docs/interfaces/MinMax.html +7 -7
  102. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  103. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  104. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  105. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  106. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  107. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  109. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  110. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  111. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  112. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  113. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  114. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  115. package/docs/interfaces/Object3DHelperState.html +8 -8
  116. package/docs/interfaces/OpenParameter.html +7 -7
  117. package/docs/interfaces/PaintBrushAction.html +12 -12
  118. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  119. package/docs/interfaces/PaintBrushState.html +10 -10
  120. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  122. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  123. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  124. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  126. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  127. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  128. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  129. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  130. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  131. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  132. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  133. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  136. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  137. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  138. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  139. package/docs/interfaces/Point.html +8 -8
  140. package/docs/interfaces/PointJson.html +8 -8
  141. package/docs/interfaces/Room.html +9 -9
  142. package/docs/interfaces/RoomInfo.html +7 -7
  143. package/docs/interfaces/RoomLabel.html +14 -14
  144. package/docs/interfaces/RoomRules.html +5 -5
  145. package/docs/interfaces/Rooms.html +5 -5
  146. package/docs/interfaces/Scissor.html +9 -9
  147. package/docs/interfaces/State.html +8 -8
  148. package/docs/interfaces/TagCache.html +10 -10
  149. package/docs/interfaces/TagConfig.html +10 -10
  150. package/docs/interfaces/TagIconUrl.html +9 -9
  151. package/docs/interfaces/Tags.html +9 -9
  152. package/docs/interfaces/TemporaryState.html +6 -6
  153. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  154. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  155. package/docs/modules/Util.html +5 -5
  156. package/docs/modules.html +4 -4
  157. package/docs/types/ArrayPosition.html +5 -5
  158. package/docs/types/AudioAppearance.html +5 -5
  159. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  160. package/docs/types/CSS3DRenderExportType.html +5 -5
  161. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  162. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  163. package/docs/types/Color.html +5 -5
  164. package/docs/types/ContentTypeConfigKey.html +5 -5
  165. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  166. package/docs/types/ContentTypeMap.html +5 -5
  167. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  168. package/docs/types/Create3DElementReturnType.html +5 -5
  169. package/docs/types/CruisePluginExportType.html +5 -5
  170. package/docs/types/Direction-1.html +5 -5
  171. package/docs/types/Direction4.html +5 -5
  172. package/docs/types/FloorplanRuleLabels.html +5 -5
  173. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  174. package/docs/types/GuideLinePluginExportType.html +5 -5
  175. package/docs/types/HelperEventMap.html +5 -5
  176. package/docs/types/LoadTagConfig.html +5 -5
  177. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  178. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  179. package/docs/types/MediaData.html +5 -5
  180. package/docs/types/MediaStore.html +5 -5
  181. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  182. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  183. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  184. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  185. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  186. package/docs/types/MoveArgs.html +5 -5
  187. package/docs/types/MoveOpts.html +5 -5
  188. package/docs/types/Object3DHelperEventMap.html +5 -5
  189. package/docs/types/ObjectFit.html +5 -5
  190. package/docs/types/PaintBrushEventMap.html +5 -5
  191. package/docs/types/PanoCompassPluginData.html +5 -5
  192. package/docs/types/PanoCompassPluginExportType.html +5 -5
  193. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  194. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  195. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  196. package/docs/types/PanoIndex.html +5 -5
  197. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  198. package/docs/types/PanoMeasureReturnType.html +5 -5
  199. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  200. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  201. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  202. package/docs/types/PlaneTag.html +5 -5
  203. package/docs/types/PlaneTagElement.html +5 -5
  204. package/docs/types/Point2DElement.html +5 -5
  205. package/docs/types/Point2DTag.html +5 -5
  206. package/docs/types/Point3DElement.html +5 -5
  207. package/docs/types/Point3DTag.html +5 -5
  208. package/docs/types/PointTag.html +5 -5
  209. package/docs/types/PointTagElement.html +5 -5
  210. package/docs/types/Position.html +5 -5
  211. package/docs/types/RotateArgs.html +5 -5
  212. package/docs/types/RotateOpts.html +5 -5
  213. package/docs/types/RuleLabelsKey.html +5 -5
  214. package/docs/types/RuleLabelsValue.html +5 -5
  215. package/docs/types/StickType.html +5 -5
  216. package/docs/types/Tag.html +5 -5
  217. package/docs/types/Tag2D.html +5 -5
  218. package/docs/types/Tag3D.html +5 -5
  219. package/docs/types/TagContentType.html +5 -5
  220. package/docs/types/TagDimensionType.html +5 -5
  221. package/docs/types/TagElement.html +6 -6
  222. package/docs/types/TagEvents.html +5 -5
  223. package/docs/types/TagHooks.html +5 -5
  224. package/docs/types/TagIconSize.html +5 -5
  225. package/docs/types/TagId.html +5 -5
  226. package/docs/types/TagPointType.html +5 -5
  227. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  228. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  229. package/docs/types/WorkCode.html +5 -5
  230. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  231. package/docs/variables/PLUGIN.html +5 -5
  232. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  233. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  234. package/docs/variables/VERSION.html +5 -5
  235. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  236. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  237. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  238. package/libs/PanoTagPlugin/Components/Common/Audio.js +88 -129
  239. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +93 -70
  240. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +25 -25
  241. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +128 -148
  242. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +112 -105
  243. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +52 -48
  244. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +59 -43
  245. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +45 -45
  246. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  247. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  248. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  249. package/libs/PanoTagPlugin/controller/index.js +40 -39
  250. package/libs/PanoTagPlugin/index.js +12 -11
  251. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
  252. package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
  253. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
  254. package/libs/index.js +93 -92
  255. package/libs/shared-utils/audio.d.ts +16 -4
  256. package/libs/shared-utils/audio.js +42 -38
  257. package/package.json +1 -1
@@ -1,47 +1,63 @@
1
- import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as H, insert as k, transition_in as _, transition_out as h, check_outros as I, detach as b, element as p, space as z, attr as u, set_style as f, append as g, group_outros as K, create_component as X, mount_component as A, destroy_component as B, src_url_equal as w, handle_promise as y, update_await_block_branch as D, noop as d } from "../../../../vendor/svelte/internal/index.js";
2
- import { getKeyframeInfo as v } from "../../../utils/getImageInfo.js";
3
- import s from "../../../utils/px2rem.js";
4
- import E from "../Shadow.js";
1
+ var w = (n, i, t) => new Promise((e, o) => {
2
+ var l = (f) => {
3
+ try {
4
+ a(t.next(f));
5
+ } catch (m) {
6
+ o(m);
7
+ }
8
+ }, r = (f) => {
9
+ try {
10
+ a(t.throw(f));
11
+ } catch (m) {
12
+ o(m);
13
+ }
14
+ }, a = (f) => f.done ? e(f.value) : Promise.resolve(f.value).then(l, r);
15
+ a((t = t.apply(n, i)).next());
16
+ });
17
+ import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as C, insert as k, transition_in as _, transition_out as h, check_outros as H, detach as b, createEventDispatcher as z, element as p, space as D, attr as c, set_style as s, append as g, group_outros as I, create_component as E, mount_component as X, destroy_component as A, src_url_equal as y, handle_promise as v, update_await_block_branch as B, noop as d } from "../../../../vendor/svelte/internal/index.js";
18
+ import { getKeyframeInfo as F } from "../../../utils/getImageInfo.js";
19
+ import u from "../../../utils/px2rem.js";
20
+ import G from "../Shadow.js";
5
21
  import "../../../../vendor/svelte/transition/index.js";
6
22
  import "../../../../vendor/svelte/easing/index.js";
7
- function F(n) {
23
+ function J(n) {
8
24
  W(n, "svelte-mhs8j5", "@keyframes svelte-mhs8j5-sprites-animation{0%{background-position:0 0}100%{background-position:var(--keyframe_offset_x) 0}}.icon-image.svelte-mhs8j5{display:block;width:100%}.icon-keyframe-container.svelte-mhs8j5{overflow:hidden}.icon-keyframe-wrapper.svelte-mhs8j5{transform-origin:0 0}.icon-keyframe.svelte-mhs8j5{background-repeat:no-repeat;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-mhs8j5-sprites-animation}");
9
25
  }
10
26
  function j(n) {
11
- n[4] = n[12].url, n[5] = n[12].keyframesWidth, n[6] = n[12].keyframesHeight, n[7] = n[12].wrapperWidth, n[8] = n[12].wrapperHeight, n[9] = n[12].steps, n[10] = n[12].duration, n[11] = n[12].offsetX;
27
+ n[6] = n[14].url, n[7] = n[14].keyframesWidth, n[8] = n[14].keyframesHeight, n[9] = n[14].wrapperWidth, n[10] = n[14].wrapperHeight, n[11] = n[14].steps, n[12] = n[14].duration, n[13] = n[14].offsetX;
12
28
  }
13
- function q(n) {
14
- let i, r, e, o = n[2] && C();
15
- function l(m, c) {
16
- return m[3] ? J : G;
29
+ function K(n) {
30
+ let i, t, e, o = n[2] && q();
31
+ function l(f, m) {
32
+ return f[3] ? O : M;
17
33
  }
18
- let t = l(n), a = t(n);
34
+ let r = l(n), a = r(n);
19
35
  return {
20
36
  c() {
21
- i = p("div"), o && o.c(), r = z(), a.c(), u(i, "class", "icon"), f(i, "width", typeof n[0] == "number" ? s(n[0]) : n[0]);
37
+ i = p("div"), o && o.c(), t = D(), a.c(), c(i, "class", "icon"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : n[0]);
22
38
  },
23
- m(m, c) {
24
- k(m, i, c), o && o.m(i, null), g(i, r), a.m(i, null), e = !0;
39
+ m(f, m) {
40
+ k(f, i, m), o && o.m(i, null), g(i, t), a.m(i, null), e = !0;
25
41
  },
26
- p(m, c) {
27
- m[2] ? o ? c & 4 && _(o, 1) : (o = C(), o.c(), _(o, 1), o.m(i, r)) : o && (K(), h(o, 1, 1, () => {
42
+ p(f, m) {
43
+ f[2] ? o ? m & 4 && _(o, 1) : (o = q(), o.c(), _(o, 1), o.m(i, t)) : o && (I(), h(o, 1, 1, () => {
28
44
  o = null;
29
- }), I()), t === (t = l(m)) && a ? a.p(m, c) : (a.d(1), a = t(m), a && (a.c(), a.m(i, null))), c & 1 && f(i, "width", typeof m[0] == "number" ? s(m[0]) : m[0]);
45
+ }), H()), r === (r = l(f)) && a ? a.p(f, m) : (a.d(1), a = r(f), a && (a.c(), a.m(i, null))), m & 1 && s(i, "width", typeof f[0] == "number" ? u(f[0]) : f[0]);
30
46
  },
31
- i(m) {
47
+ i(f) {
32
48
  e || (_(o), e = !0);
33
49
  },
34
- o(m) {
50
+ o(f) {
35
51
  h(o), e = !1;
36
52
  },
37
- d(m) {
38
- m && b(i), o && o.d(), a.d();
53
+ d(f) {
54
+ f && b(i), o && o.d(), a.d();
39
55
  }
40
56
  };
41
57
  }
42
- function C(n) {
43
- let i, r;
44
- return i = new E({
58
+ function q(n) {
59
+ let i, t;
60
+ return i = new G({
45
61
  props: {
46
62
  center: !0,
47
63
  blurRadius: 12,
@@ -49,127 +65,134 @@ function C(n) {
49
65
  }
50
66
  }), {
51
67
  c() {
52
- X(i.$$.fragment);
68
+ E(i.$$.fragment);
53
69
  },
54
70
  m(e, o) {
55
- A(i, e, o), r = !0;
71
+ X(i, e, o), t = !0;
56
72
  },
57
73
  i(e) {
58
- r || (_(i.$$.fragment, e), r = !0);
74
+ t || (_(i.$$.fragment, e), t = !0);
59
75
  },
60
76
  o(e) {
61
- h(i.$$.fragment, e), r = !1;
77
+ h(i.$$.fragment, e), t = !1;
62
78
  },
63
79
  d(e) {
64
- B(i, e);
80
+ A(i, e);
65
81
  }
66
82
  };
67
83
  }
68
- function G(n) {
69
- let i, r;
84
+ function M(n) {
85
+ let i, t;
70
86
  return {
71
87
  c() {
72
- i = p("img"), u(i, "class", "icon-image svelte-mhs8j5"), w(i.src, r = n[1].url) || u(i, "src", r), u(i, "alt", "icon");
88
+ i = p("img"), c(i, "class", "icon-image svelte-mhs8j5"), y(i.src, t = n[1].url) || c(i, "src", t), c(i, "alt", "icon");
73
89
  },
74
90
  m(e, o) {
75
91
  k(e, i, o);
76
92
  },
77
93
  p(e, o) {
78
- o & 2 && !w(i.src, r = e[1].url) && u(i, "src", r);
94
+ o & 2 && !y(i.src, t = e[1].url) && c(i, "src", t);
79
95
  },
80
96
  d(e) {
81
97
  e && b(i);
82
98
  }
83
99
  };
84
100
  }
85
- function J(n) {
86
- let i, r, e = {
101
+ function O(n) {
102
+ let i, t, e = {
87
103
  ctx: n,
88
104
  current: null,
89
105
  token: null,
90
106
  hasCatch: !1,
91
- pending: O,
92
- then: M,
93
- catch: L,
94
- value: 12
107
+ pending: T,
108
+ then: Q,
109
+ catch: P,
110
+ value: 14
95
111
  };
96
- return y(r = v(n[1]), e), {
112
+ return v(t = n[4](n[1]), e), {
97
113
  c() {
98
- i = H(), e.block.c();
114
+ i = C(), e.block.c();
99
115
  },
100
116
  m(o, l) {
101
117
  k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
102
118
  },
103
119
  p(o, l) {
104
- n = o, e.ctx = n, l & 2 && r !== (r = v(n[1])) && y(r, e) || D(e, n, l);
120
+ n = o, e.ctx = n, l & 2 && t !== (t = n[4](n[1])) && v(t, e) || B(e, n, l);
105
121
  },
106
122
  d(o) {
107
123
  o && b(i), e.block.d(o), e.token = null, e = null;
108
124
  }
109
125
  };
110
126
  }
111
- function L(n) {
127
+ function P(n) {
112
128
  return { c: d, m: d, p: d, d };
113
129
  }
114
- function M(n) {
130
+ function Q(n) {
115
131
  j(n);
116
- let i, r, e, o = `url(${n[4]})`, l = `steps(${n[9] - 1})`;
132
+ let i, t, e, o = `url(${n[6]})`, l = `steps(${n[11] - 1})`;
117
133
  return {
118
134
  c() {
119
- i = p("div"), r = p("div"), e = p("div"), u(e, "class", "icon-keyframe svelte-mhs8j5"), f(e, "width", s(n[5])), f(e, "height", s(n[6])), f(e, "background-image", o), f(e, "animation-duration", n[10]), f(e, "animation-timing-function", l), f(e, "animation-delay", 0), f(e, "background-size", "100% 100%"), f(e, "--keyframe_offset_x", s(n[11])), u(r, "class", "icon-keyframe-wrapper svelte-mhs8j5"), f(r, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[7]})` : void 0), u(i, "class", "icon-keyframe-container svelte-mhs8j5"), f(i, "width", typeof n[0] == "number" ? s(n[0]) : s(n[7])), f(i, "height", typeof n[0] == "number" ? s(n[8] * (n[0] / n[7])) : s(n[8]));
135
+ i = p("div"), t = p("div"), e = p("div"), c(e, "class", "icon-keyframe svelte-mhs8j5"), s(e, "width", u(n[7])), s(e, "height", u(n[8])), s(e, "background-image", o), s(e, "animation-duration", n[12]), s(e, "animation-timing-function", l), s(e, "animation-delay", 0), s(e, "background-size", "100% 100%"), s(e, "--keyframe_offset_x", u(n[13])), c(t, "class", "icon-keyframe-wrapper svelte-mhs8j5"), s(t, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[9]})` : void 0), c(i, "class", "icon-keyframe-container svelte-mhs8j5"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : u(n[9])), s(i, "height", typeof n[0] == "number" ? u(n[10] * (n[0] / n[9])) : u(n[10]));
120
136
  },
121
- m(t, a) {
122
- k(t, i, a), g(i, r), g(r, e);
137
+ m(r, a) {
138
+ k(r, i, a), g(i, t), g(t, e);
123
139
  },
124
- p(t, a) {
125
- j(t), a & 2 && f(e, "width", s(t[5])), a & 2 && f(e, "height", s(t[6])), a & 2 && o !== (o = `url(${t[4]})`) && f(e, "background-image", o), a & 2 && f(e, "animation-duration", t[10]), a & 2 && l !== (l = `steps(${t[9] - 1})`) && f(e, "animation-timing-function", l), a & 2 && f(e, "--keyframe_offset_x", s(t[11])), a & 3 && f(r, "transform", typeof t[0] == "number" ? `scale(${t[0] / t[7]})` : void 0), a & 3 && f(i, "width", typeof t[0] == "number" ? s(t[0]) : s(t[7])), a & 3 && f(i, "height", typeof t[0] == "number" ? s(t[8] * (t[0] / t[7])) : s(t[8]));
140
+ p(r, a) {
141
+ j(r), a & 2 && s(e, "width", u(r[7])), a & 2 && s(e, "height", u(r[8])), a & 2 && o !== (o = `url(${r[6]})`) && s(e, "background-image", o), a & 2 && s(e, "animation-duration", r[12]), a & 2 && l !== (l = `steps(${r[11] - 1})`) && s(e, "animation-timing-function", l), a & 2 && s(e, "--keyframe_offset_x", u(r[13])), a & 3 && s(t, "transform", typeof r[0] == "number" ? `scale(${r[0] / r[9]})` : void 0), a & 3 && s(i, "width", typeof r[0] == "number" ? u(r[0]) : u(r[9])), a & 3 && s(i, "height", typeof r[0] == "number" ? u(r[10] * (r[0] / r[9])) : u(r[10]));
126
142
  },
127
- d(t) {
128
- t && b(i);
143
+ d(r) {
144
+ r && b(i);
129
145
  }
130
146
  };
131
147
  }
132
- function O(n) {
148
+ function T(n) {
133
149
  return { c: d, m: d, p: d, d };
134
150
  }
135
- function P(n) {
136
- let i, r, e = n[1] && q(n);
151
+ function U(n) {
152
+ let i, t, e = n[1] && K(n);
137
153
  return {
138
154
  c() {
139
- e && e.c(), i = H();
155
+ e && e.c(), i = C();
140
156
  },
141
157
  m(o, l) {
142
- e && e.m(o, l), k(o, i, l), r = !0;
158
+ e && e.m(o, l), k(o, i, l), t = !0;
143
159
  },
144
160
  p(o, [l]) {
145
- o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = q(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (K(), h(e, 1, 1, () => {
161
+ o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = K(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (I(), h(e, 1, 1, () => {
146
162
  e = null;
147
- }), I());
163
+ }), H());
148
164
  },
149
165
  i(o) {
150
- r || (_(e), r = !0);
166
+ t || (_(e), t = !0);
151
167
  },
152
168
  o(o) {
153
- h(e), r = !1;
169
+ h(e), t = !1;
154
170
  },
155
171
  d(o) {
156
172
  e && e.d(o), o && b(i);
157
173
  }
158
174
  };
159
175
  }
160
- function Q(n, i, r) {
161
- let e, { width: o = null } = i, { icon: l = null } = i, { shadow: t = !1 } = i;
162
- return n.$$set = (a) => {
163
- "width" in a && r(0, o = a.width), "icon" in a && r(1, l = a.icon), "shadow" in a && r(2, t = a.shadow);
176
+ function V(n, i, t) {
177
+ let e, { width: o = null } = i, { icon: l = null } = i, { shadow: r = !1 } = i;
178
+ const a = z();
179
+ function f(m) {
180
+ return w(this, null, function* () {
181
+ const L = yield F(m);
182
+ return a("iconLoaded"), L;
183
+ });
184
+ }
185
+ return n.$$set = (m) => {
186
+ "width" in m && t(0, o = m.width), "icon" in m && t(1, l = m.icon), "shadow" in m && t(2, r = m.shadow);
164
187
  }, n.$$.update = () => {
165
- n.$$.dirty & 2 && r(3, e = (l == null ? void 0 : l.steps) >= 2);
166
- }, [o, l, t, e];
188
+ n.$$.dirty & 2 && t(3, e = (l == null ? void 0 : l.steps) >= 2), n.$$.dirty & 8 && !e && a("iconLoaded");
189
+ }, [o, l, r, e, f];
167
190
  }
168
- class x extends N {
191
+ class oe extends N {
169
192
  constructor(i) {
170
- super(), R(this, i, Q, P, S, { width: 0, icon: 1, shadow: 2 }, F);
193
+ super(), R(this, i, V, U, S, { width: 0, icon: 1, shadow: 2 }, J);
171
194
  }
172
195
  }
173
196
  export {
174
- x as default
197
+ oe as default
175
198
  };
@@ -1,16 +1,16 @@
1
- import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as w, space as k, create_component as I, attr as y, set_style as h, toggle_class as x, insert as T, mount_component as L, append as _, listen as X, transition_in as R, transition_out as j, detach as $, destroy_component as q, getContext as B } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as v, space as k, create_component as I, attr as h, set_style as f, toggle_class as w, insert as T, mount_component as L, append as x, listen as X, transition_in as R, transition_out as j, detach as $, destroy_component as q, getContext as B } from "../../../vendor/svelte/internal/index.js";
2
2
  import E from "./Shadow.js";
3
3
  import G from "./Icon/Icon.js";
4
4
  import { Image_Default_Point as H } from "../../Assets/Icon.js";
5
- import b from "../../utils/px2rem.js";
5
+ import _ from "../../utils/px2rem.js";
6
6
  import "../../../vendor/svelte/transition/index.js";
7
7
  import "../../../vendor/svelte/easing/index.js";
8
8
  import "../../utils/getImageInfo.js";
9
9
  function J(t) {
10
- U(t, "svelte-1m3xhhr", '@charset "UTF-8";.tag-point-click-helper.svelte-1m3xhhr.svelte-1m3xhhr{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1m3xhhr.svelte-1m3xhhr{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1m3xhhr.svelte-1m3xhhr,.tag-unfolded-point.svelte-1m3xhhr.svelte-1m3xhhr{transition:all 0.5s}.tag-point-wrapper.svelte-1m3xhhr .tag-unfolded-point.svelte-1m3xhhr{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1m3xhhr .tag-unfolded-point.svelte-1m3xhhr:after{content:"";position:absolute;width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1m3xhhr .tag-unfolded-point.svelte-1m3xhhr:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1m3xhhr .tag-folded-point.svelte-1m3xhhr{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1m3xhhr .tag-unfolded-point.svelte-1m3xhhr{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1m3xhhr .tag-folded-point.svelte-1m3xhhr{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1m3xhhr .tag-unfolded-point.svelte-1m3xhhr{opacity:1;scale:1}');
10
+ U(t, "svelte-yex9rb", '@charset "UTF-8";.tag-point-click-helper.svelte-yex9rb.svelte-yex9rb{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-yex9rb.svelte-yex9rb{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-yex9rb.svelte-yex9rb,.tag-unfolded-point.svelte-yex9rb.svelte-yex9rb{transition:all 0.5s}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:1;scale:1}');
11
11
  }
12
12
  function K(t) {
13
- let s, a, o, p, u, d, c, r, i, l, g, v;
13
+ let s, a, o, p, g, d, c, n, i, l, y, b;
14
14
  return p = new E({
15
15
  props: {
16
16
  center: !0,
@@ -25,15 +25,15 @@ function K(t) {
25
25
  }
26
26
  }), {
27
27
  c() {
28
- s = w("div"), a = k(), o = w("div"), I(p.$$.fragment), u = k(), d = w("div"), c = k(), r = w("div"), I(i.$$.fragment), y(s, "class", "tag-point-click-helper svelte-1m3xhhr"), y(d, "class", "tag-unfolded-point svelte-1m3xhhr"), h(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), y(r, "class", "tag-folded-point svelte-1m3xhhr"), h(r, "transition-delay", (t[3] ? t[5] : 0) + "ms"), y(o, "class", "tag-point-wrapper svelte-1m3xhhr"), x(o, "unfolded", t[0]), x(o, "folded", t[3]), h(o, "width", b(t[1])), h(o, "height", b(t[1]));
28
+ s = v("div"), a = k(), o = v("div"), I(p.$$.fragment), g = k(), d = v("div"), c = k(), n = v("div"), I(i.$$.fragment), h(s, "class", "tag-point-click-helper svelte-yex9rb"), h(d, "class", "tag-unfolded-point svelte-yex9rb"), f(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(n, "class", "tag-folded-point svelte-yex9rb"), f(n, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(o, "class", "tag-point-wrapper svelte-yex9rb"), w(o, "unfolded", t[0]), w(o, "folded", t[3]), f(o, "width", _(t[1])), f(o, "height", _(t[1]));
29
29
  },
30
- m(e, n) {
31
- T(e, s, n), T(e, a, n), T(e, o, n), L(p, o, null), _(o, u), _(o, d), _(o, c), _(o, r), L(i, r, null), l = !0, g || (v = X(s, "click", t[4]), g = !0);
30
+ m(e, r) {
31
+ T(e, s, r), T(e, a, r), T(e, o, r), L(p, o, null), x(o, g), x(o, d), x(o, c), x(o, n), L(i, n, null), l = !0, y || (b = X(s, "click", t[4]), y = !0);
32
32
  },
33
- p(e, [n]) {
34
- n & 8 && h(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
35
- const m = {};
36
- n & 4 && (m.icon = e[2]), n & 2 && (m.width = e[1]), i.$set(m), n & 8 && h(r, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || n & 1) && x(o, "unfolded", e[0]), (!l || n & 8) && x(o, "folded", e[3]), n & 2 && h(o, "width", b(e[1])), n & 2 && h(o, "height", b(e[1]));
33
+ p(e, [r]) {
34
+ r & 8 && f(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
35
+ const u = {};
36
+ r & 4 && (u.icon = e[2]), r & 2 && (u.width = e[1]), i.$set(u), r & 8 && f(n, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || r & 1) && w(o, "unfolded", e[0]), (!l || r & 8) && w(o, "folded", e[3]), r & 2 && f(o, "width", _(e[1])), r & 2 && f(o, "height", _(e[1]));
37
37
  },
38
38
  i(e) {
39
39
  l || (R(p.$$.fragment, e), R(i.$$.fragment, e), l = !0);
@@ -42,34 +42,34 @@ function K(t) {
42
42
  j(p.$$.fragment, e), j(i.$$.fragment, e), l = !1;
43
43
  },
44
44
  d(e) {
45
- e && $(s), e && $(a), e && $(o), q(p), q(i), g = !1, v();
45
+ e && $(s), e && $(a), e && $(o), q(p), q(i), y = !1, b();
46
46
  }
47
47
  };
48
48
  }
49
49
  function N(t, s, a) {
50
- let o, p, u, d;
50
+ let o, p, g, d;
51
51
  const c = B("hooks");
52
- let { tag: r } = s, i, l = !1;
53
- const g = () => {
52
+ let { tag: n } = s, i, l = !1;
53
+ const y = () => {
54
54
  i !== void 0 && clearTimeout(i), l = !0, i = setTimeout(
55
55
  () => {
56
56
  l = !1;
57
57
  },
58
58
  800
59
59
  );
60
- }, v = (n) => {
61
- l || c.emit("click", { event: n, target: "TagPoint", tag: r });
62
- }, e = (() => r.contentType === "Text" && r.data.appearance === "plane" ? 500 : 800)();
63
- return t.$$set = (n) => {
64
- "tag" in n && a(6, r = n.tag);
60
+ }, b = (r) => {
61
+ l || c.emit("click", { event: r, target: "TagPoint", tag: n });
62
+ }, e = (() => n.contentType === "Text" && n.data.appearance === "plane" ? 500 : 800)();
63
+ return t.$$set = (r) => {
64
+ "tag" in r && a(6, n = r.tag);
65
65
  }, t.$$.update = () => {
66
- var n, m, P, S;
67
- t.$$.dirty & 64 && a(0, o = (n = r.state) == null ? void 0 : n.unfolded), t.$$.dirty & 1 && a(3, p = !o), t.$$.dirty & 64 && a(2, u = (P = (m = r.style) == null ? void 0 : m.point) != null && P.url ? (S = r.style) == null ? void 0 : S.point : { url: H }), t.$$.dirty & 64 && a(1, d = (() => {
66
+ var r, u, P, S;
67
+ t.$$.dirty & 64 && a(0, o = (r = n.state) == null ? void 0 : r.unfolded), t.$$.dirty & 1 && a(3, p = !o), t.$$.dirty & 64 && a(2, g = (P = (u = n.style) == null ? void 0 : u.point) != null && P.url ? (S = n.style) == null ? void 0 : S.point : { url: H }), t.$$.dirty & 64 && a(1, d = (() => {
68
68
  var z, C, D;
69
- const f = (D = (C = (z = r.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
70
- return typeof f == "number" ? f : f === "S" ? 18 : f === "M" ? 20 : f === "L" ? 24 : f === "XL" ? 28 : 18;
69
+ const m = (D = (C = (z = n.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
70
+ return typeof m == "number" ? m : m === "S" ? 18 : m === "M" ? 20 : m === "L" ? 24 : m === "XL" ? 28 : 18;
71
71
  })());
72
- }, g(), [o, d, u, p, v, e, r];
72
+ }, y(), [o, d, g, p, b, e, n];
73
73
  }
74
74
  class oe extends A {
75
75
  constructor(s) {