@realsee/dnalogel 2.16.0-alpha.4 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +7 -5
  2. package/dist/index.cjs.js +48 -35
  3. package/dist/index.js +1719 -1687
  4. package/dist/index.umd.js +41 -28
  5. package/dist/shared-utils/three/Quadrangle.d.ts +2 -2
  6. package/dist/shared-utils/three/getPositionsByObjectFit.d.ts +2 -1
  7. package/docs/classes/CSS3DRender.html +31 -31
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/Magnifier.html +20 -20
  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/PanoMeasurePluginLine.html +23 -23
  14. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  15. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  16. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  17. package/docs/classes/PanoTagPluginController.html +46 -46
  18. package/docs/classes/Util.BetterTween.html +8 -8
  19. package/docs/classes/Util.FivePointSelector.html +12 -12
  20. package/docs/classes/Util.Interval.html +12 -12
  21. package/docs/classes/Util.Magnifier.html +17 -17
  22. package/docs/classes/Util.PointDomHelper.html +11 -11
  23. package/docs/classes/Util.PointHelper.html +11 -11
  24. package/docs/classes/Util.Rectangle.html +13 -13
  25. package/docs/enums/CameraMovementEffect.html +7 -7
  26. package/docs/enums/ContentType.html +19 -19
  27. package/docs/enums/DIRECTION.html +9 -9
  28. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  29. package/docs/enums/DimensionType.html +7 -7
  30. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  31. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  32. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  33. package/docs/enums/Rotation.html +8 -8
  34. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  35. package/docs/functions/CameraMovementPlugin.html +4 -4
  36. package/docs/functions/CruisePlugin.html +4 -4
  37. package/docs/functions/GuideLinePlugin.html +5 -5
  38. package/docs/functions/ItemLabelPlugin.html +4 -4
  39. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  42. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  43. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  44. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  45. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  46. package/docs/functions/ModelViewPlugin.html +4 -4
  47. package/docs/functions/Object3DHelperPlugin.html +4 -4
  48. package/docs/functions/PanoCompassPlugin.html +4 -4
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  50. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  52. package/docs/functions/PanoMeasurePlugin.html +4 -4
  53. package/docs/functions/PanoRulerPlugin.html +4 -4
  54. package/docs/functions/PanoRulerProPlugin.html +4 -4
  55. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  56. package/docs/functions/PanoTagPlugin.html +4 -4
  57. package/docs/functions/PanoVideoPlugin.html +4 -4
  58. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  59. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  60. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  61. package/docs/functions/Util.getFrameTime.html +5 -5
  62. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  63. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  64. package/docs/functions/Util.isNil.html +5 -5
  65. package/docs/functions/Util.nextFrame.html +5 -5
  66. package/docs/functions/Util.notNil.html +5 -5
  67. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  68. package/docs/functions/Util.tweenProgress.html +5 -5
  69. package/docs/functions/pluginFlag.html +5 -5
  70. package/docs/index.html +4 -4
  71. package/docs/interfaces/AddTagConfig.html +6 -6
  72. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  73. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  74. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  75. package/docs/interfaces/EventMap.html +15 -15
  76. package/docs/interfaces/FloorplanBounding.html +8 -8
  77. package/docs/interfaces/FloorplanData.html +10 -10
  78. package/docs/interfaces/FloorplanEntrance.html +11 -11
  79. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  80. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  81. package/docs/interfaces/FloorplanFloorData.html +9 -9
  82. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  83. package/docs/interfaces/FloorplanObserver.html +9 -9
  84. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  85. package/docs/interfaces/FloorplanPosition.html +7 -7
  86. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  87. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  88. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  89. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  90. package/docs/interfaces/FloorplanServerData.html +7 -7
  91. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  92. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  93. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  94. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  95. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  96. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  97. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  98. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  99. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  100. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  101. package/docs/interfaces/HelperOffset.html +8 -8
  102. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  103. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  104. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  105. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  106. package/docs/interfaces/MinMax.html +7 -7
  107. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  108. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  109. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  110. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  111. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  112. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  113. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  114. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  115. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  116. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  117. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  118. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  119. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  120. package/docs/interfaces/Object3DHelperState.html +8 -8
  121. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  122. package/docs/interfaces/PaintBrushAction.html +12 -12
  123. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  124. package/docs/interfaces/PaintBrushState.html +10 -10
  125. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  126. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  127. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  128. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  129. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  130. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  131. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  132. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  133. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  134. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  135. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  136. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  137. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  138. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  139. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  140. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  141. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  142. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  145. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  146. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  148. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  149. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  150. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  151. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  152. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  153. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  154. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  155. package/docs/interfaces/Point.html +8 -8
  156. package/docs/interfaces/Room.html +9 -9
  157. package/docs/interfaces/RoomInfo.html +7 -7
  158. package/docs/interfaces/RoomLabel.html +14 -14
  159. package/docs/interfaces/RoomRules.html +5 -5
  160. package/docs/interfaces/Rooms.html +5 -5
  161. package/docs/interfaces/Scissor.html +9 -9
  162. package/docs/interfaces/State.html +8 -8
  163. package/docs/interfaces/TagCacheInterface.html +12 -12
  164. package/docs/interfaces/TagConfig.html +11 -11
  165. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  166. package/docs/interfaces/TagIconUrl.html +11 -11
  167. package/docs/interfaces/TagObjectGroup.html +6 -6
  168. package/docs/interfaces/TagStyle.html +6 -6
  169. package/docs/interfaces/Tags.html +9 -9
  170. package/docs/interfaces/TemporaryState.html +6 -6
  171. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  172. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  173. package/docs/modules/PanoVideoPluginType.html +5 -5
  174. package/docs/modules/Util.html +5 -5
  175. package/docs/modules.html +4 -4
  176. package/docs/types/ArrayPosition.html +5 -5
  177. package/docs/types/AudioAppearance.html +5 -5
  178. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  179. package/docs/types/CSS3DRenderExportType.html +5 -5
  180. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  181. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  182. package/docs/types/ClassFunctionParameters.html +5 -5
  183. package/docs/types/Color.html +5 -5
  184. package/docs/types/ContentTypeConfigKey.html +5 -5
  185. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  186. package/docs/types/ContentTypeMap.html +5 -5
  187. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  188. package/docs/types/Create3DElementReturnType.html +5 -5
  189. package/docs/types/CruisePluginExportType.html +5 -5
  190. package/docs/types/Direction-1.html +5 -5
  191. package/docs/types/Direction4.html +5 -5
  192. package/docs/types/ElementRenderer.html +5 -5
  193. package/docs/types/FloorplanRuleLabels.html +5 -5
  194. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  195. package/docs/types/GuideLinePluginExportType.html +5 -5
  196. package/docs/types/HelperEventMap.html +5 -5
  197. package/docs/types/LoadTagConfig.html +5 -5
  198. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  199. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  200. package/docs/types/MediaData.html +5 -5
  201. package/docs/types/MediaStore.html +5 -5
  202. package/docs/types/ModelElement.html +5 -5
  203. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  204. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  205. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  206. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  207. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  208. package/docs/types/MoveArgs.html +5 -5
  209. package/docs/types/MoveOpts.html +5 -5
  210. package/docs/types/Object3DHelperEventMap.html +5 -5
  211. package/docs/types/ObjectFit.html +5 -5
  212. package/docs/types/PaintBrushEventMap.html +5 -5
  213. package/docs/types/PanoCompassPluginData.html +5 -5
  214. package/docs/types/PanoCompassPluginExportType.html +5 -5
  215. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  216. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  217. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  218. package/docs/types/PanoIndex.html +5 -5
  219. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  220. package/docs/types/PanoMeasureReturnType.html +5 -5
  221. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  222. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  223. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  224. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  225. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  226. package/docs/types/PlaneTag.html +5 -5
  227. package/docs/types/PlaneTagElement.html +5 -5
  228. package/docs/types/Point2DElement.html +5 -5
  229. package/docs/types/Point2DTag.html +5 -5
  230. package/docs/types/Point3DElement.html +5 -5
  231. package/docs/types/Point3DTag.html +5 -5
  232. package/docs/types/PointTag.html +5 -5
  233. package/docs/types/PointTagElement.html +5 -5
  234. package/docs/types/Position.html +5 -5
  235. package/docs/types/RotateArgs.html +5 -5
  236. package/docs/types/RotateOpts.html +5 -5
  237. package/docs/types/RuleLabelsKey.html +5 -5
  238. package/docs/types/RuleLabelsValue.html +5 -5
  239. package/docs/types/StickType.html +5 -5
  240. package/docs/types/Tag.html +5 -5
  241. package/docs/types/Tag2D.html +5 -5
  242. package/docs/types/Tag3D.html +5 -5
  243. package/docs/types/TagContentType.html +5 -5
  244. package/docs/types/TagDimensionType.html +5 -5
  245. package/docs/types/TagElement.html +5 -5
  246. package/docs/types/TagEvents.html +5 -5
  247. package/docs/types/TagGLTFObject.html +5 -5
  248. package/docs/types/TagHooks.html +5 -5
  249. package/docs/types/TagIconSize.html +5 -5
  250. package/docs/types/TagId.html +5 -5
  251. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  252. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  253. package/docs/types/WorkCode.html +5 -5
  254. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  255. package/docs/variables/PLUGIN.html +5 -5
  256. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  257. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  258. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  259. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  260. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  261. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +1 -1
  262. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +222 -194
  263. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +66 -38
  264. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +102 -76
  265. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +123 -97
  266. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -67
  267. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +85 -60
  268. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +96 -73
  269. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -47
  270. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +76 -51
  271. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +79 -54
  272. package/libs/PanoTagPlugin/Components/Tag/index.js +29 -26
  273. package/libs/PanoTagPlugin/Components/TagContainer.js +28 -25
  274. package/libs/PanoTagPlugin/Components/TagItem.js +27 -24
  275. package/libs/PanoTagPlugin/controller/TagComputer.js +30 -22
  276. package/libs/PanoTagPlugin/controller/TagRender.js +17 -15
  277. package/libs/PanoTagPlugin/controller/TagUtil.js +26 -14
  278. package/libs/PanoTagPlugin/controller/index.js +15 -15
  279. package/libs/PanoTagPlugin/index.js +24 -24
  280. package/libs/PanoTagPlugin/typings/index.js +33 -4
  281. package/libs/PanoTagPlugin/typings/tag/Utils.js +29 -0
  282. package/libs/PanoTagPlugin/utils/addDebugPoints.js +41 -13
  283. package/libs/PanoTagPlugin/utils/index.js +60 -34
  284. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +7 -5
  285. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +154 -109
  286. package/libs/PanoTagPlugin/utils/planeNormal.js +33 -5
  287. package/libs/PanoTagPlugin/utils/tagPosition.js +36 -9
  288. package/libs/base/BasePlugin.js +3 -3
  289. package/libs/index.js +7 -7
  290. package/libs/shared-utils/logger.js +1 -1
  291. package/libs/shared-utils/three/Quadrangle.d.ts +2 -2
  292. package/libs/shared-utils/three/Quadrangle.js +41 -25
  293. package/libs/shared-utils/three/getPositionsByObjectFit.d.ts +2 -1
  294. package/libs/shared-utils/three/getPositionsByObjectFit.js +35 -15
  295. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as J, init as V, safe_not_equal as q, append_styles as B, empty as k, insert as m, update_keyed_each as G, noop as D, detach as p, destroy_block as W, binding_callbacks as I, element as S, text as X, attr as A, append as Y, set_data as v } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as J, init as V, safe_not_equal as q, append_styles as B, empty as k, insert as p, update_keyed_each as G, noop as D, detach as d, destroy_block as W, binding_callbacks as I, element as S, text as X, attr as A, append as Y, set_data as v } from "../../../../vendor/svelte/internal/index.js";
2
2
  import U from "animejs";
3
3
  import { uuid as M } from "../../../../shared-utils/uuid.js";
4
4
  import { notNil as z } from "../../../../shared-utils/isNil.js";
@@ -6,137 +6,163 @@ import "three";
6
6
  import "@realsee/five/gltf-loader";
7
7
  import "../../../../shared-utils/three/loadTexture.js";
8
8
  import "@realsee/five";
9
+ import "object-assign-deep";
10
+ import "hammerjs";
11
+ import "@tweenjs/tween.js";
12
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
13
+ import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
14
+ import "../../../../shared-utils/animationFrame/BetterTween.js";
15
+ import "../../../utils/device.js";
9
16
  import "../../../../shared-utils/threex/domevents/index.js";
17
+ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
18
+ import "lodash.get";
19
+ import "lodash.clonedeep";
20
+ import "lodash.isequal";
21
+ import "classnames";
22
+ import "../../../../shared-utils/three/GLTFLoader.js";
10
23
  import { searchFirstValueSmallThanLastValue as H } from "../../../utils/search.js";
11
24
  import { RANDON_STRING as b } from "../../../utils/constants.js";
12
- function K(i) {
13
- B(i, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
25
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
26
+ import "three/examples/jsm/renderers/CSS3DRenderer";
27
+ import "../../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
28
+ import "../../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
29
+ import "../../../../CSS3DRenderPlugin/utils/even.js";
30
+ import "../../../../shared-utils/Subscribe.js";
31
+ import "../../../../CSS3DRenderPlugin/utils/positionToVector3.js";
32
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
33
+ import "../../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
34
+ import "../../../../shared-utils/three/centerPoint.js";
35
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
36
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
37
+ import "../../../../shared-utils/animationFrame/index.js";
38
+ function K(n) {
39
+ B(n, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
14
40
  }
15
- function R(i, e, o) {
16
- const s = i.slice();
17
- return s[18] = e[o].id, s[0] = e[o].content, s[19] = e, s[20] = o, s;
41
+ function R(n, t, o) {
42
+ const l = n.slice();
43
+ return l[18] = t[o].id, l[0] = t[o].content, l[19] = t, l[20] = o, l;
18
44
  }
19
- function Q(i) {
20
- let e, o = i[0] + "", s, u = i[20];
21
- const a = () => i[9](e, u), t = () => i[9](null, u);
45
+ function Q(n) {
46
+ let t, o = n[0] + "", l, u = n[20];
47
+ const a = () => n[9](t, u), e = () => n[9](null, u);
22
48
  return {
23
49
  c() {
24
- e = S("span"), s = X(o), A(e, "class", "text-char svelte-1b2n9wi");
50
+ t = S("span"), l = X(o), A(t, "class", "text-char svelte-1b2n9wi");
25
51
  },
26
- m(n, r) {
27
- m(n, e, r), Y(e, s), a();
52
+ m(i, s) {
53
+ p(i, t, s), Y(t, l), a();
28
54
  },
29
- p(n, r) {
30
- i = n, r & 4 && o !== (o = i[0] + "") && v(s, o), u !== i[20] && (t(), u = i[20], a());
55
+ p(i, s) {
56
+ n = i, s & 4 && o !== (o = n[0] + "") && v(l, o), u !== n[20] && (e(), u = n[20], a());
31
57
  },
32
- d(n) {
33
- n && p(e), t();
58
+ d(i) {
59
+ i && d(t), e();
34
60
  }
35
61
  };
36
62
  }
37
- function Z(i) {
38
- let e, o = i[20];
39
- const s = () => i[8](e, o), u = () => i[8](null, o);
63
+ function Z(n) {
64
+ let t, o = n[20];
65
+ const l = () => n[8](t, o), u = () => n[8](null, o);
40
66
  return {
41
67
  c() {
42
- e = S("span"), e.textContent = "\xA0", A(e, "class", "text-char svelte-1b2n9wi");
68
+ t = S("span"), t.textContent = "\xA0", A(t, "class", "text-char svelte-1b2n9wi");
43
69
  },
44
- m(a, t) {
45
- m(a, e, t), s();
70
+ m(a, e) {
71
+ p(a, t, e), l();
46
72
  },
47
- p(a, t) {
48
- i = a, o !== i[20] && (u(), o = i[20], s());
73
+ p(a, e) {
74
+ n = a, o !== n[20] && (u(), o = n[20], l());
49
75
  },
50
76
  d(a) {
51
- a && p(e), u();
77
+ a && d(t), u();
52
78
  }
53
79
  };
54
80
  }
55
- function w(i, e) {
56
- let o, s;
57
- function u(n, r) {
58
- return n[0] === n[3] ? Z : Q;
81
+ function w(n, t) {
82
+ let o, l;
83
+ function u(i, s) {
84
+ return i[0] === i[3] ? Z : Q;
59
85
  }
60
- let a = u(e), t = a(e);
86
+ let a = u(t), e = a(t);
61
87
  return {
62
- key: i,
88
+ key: n,
63
89
  first: null,
64
90
  c() {
65
- o = k(), t.c(), s = k(), this.first = o;
91
+ o = k(), e.c(), l = k(), this.first = o;
66
92
  },
67
- m(n, r) {
68
- m(n, o, r), t.m(n, r), m(n, s, r);
93
+ m(i, s) {
94
+ p(i, o, s), e.m(i, s), p(i, l, s);
69
95
  },
70
- p(n, r) {
71
- e = n, a === (a = u(e)) && t ? t.p(e, r) : (t.d(1), t = a(e), t && (t.c(), t.m(s.parentNode, s)));
96
+ p(i, s) {
97
+ t = i, a === (a = u(t)) && e ? e.p(t, s) : (e.d(1), e = a(t), e && (e.c(), e.m(l.parentNode, l)));
72
98
  },
73
- d(n) {
74
- n && p(o), t.d(n), n && p(s);
99
+ d(i) {
100
+ i && d(o), e.d(i), i && d(l);
75
101
  }
76
102
  };
77
103
  }
78
- function x(i) {
79
- let e = [], o = /* @__PURE__ */ new Map(), s, u = i[2];
80
- const a = (t) => t[18];
81
- for (let t = 0; t < u.length; t += 1) {
82
- let n = R(i, u, t), r = a(n);
83
- o.set(r, e[t] = w(r, n));
104
+ function x(n) {
105
+ let t = [], o = /* @__PURE__ */ new Map(), l, u = n[2];
106
+ const a = (e) => e[18];
107
+ for (let e = 0; e < u.length; e += 1) {
108
+ let i = R(n, u, e), s = a(i);
109
+ o.set(s, t[e] = w(s, i));
84
110
  }
85
111
  return {
86
112
  c() {
87
- for (let t = 0; t < e.length; t += 1)
88
- e[t].c();
89
- s = k();
113
+ for (let e = 0; e < t.length; e += 1)
114
+ t[e].c();
115
+ l = k();
90
116
  },
91
- m(t, n) {
92
- for (let r = 0; r < e.length; r += 1)
93
- e[r].m(t, n);
94
- m(t, s, n);
117
+ m(e, i) {
118
+ for (let s = 0; s < t.length; s += 1)
119
+ t[s].m(e, i);
120
+ p(e, l, i);
95
121
  },
96
- p(t, [n]) {
97
- n & 14 && (u = t[2], e = G(e, n, a, 1, t, u, o, s.parentNode, W, w, s, R));
122
+ p(e, [i]) {
123
+ i & 14 && (u = e[2], t = G(t, i, a, 1, e, u, o, l.parentNode, W, w, l, R));
98
124
  },
99
125
  i: D,
100
126
  o: D,
101
- d(t) {
102
- for (let n = 0; n < e.length; n += 1)
103
- e[n].d(t);
104
- t && p(s);
127
+ d(e) {
128
+ for (let i = 0; i < t.length; i += 1)
129
+ t[i].d(e);
130
+ e && d(l);
105
131
  }
106
132
  };
107
133
  }
108
- function $(i, e, o) {
109
- let s, { inDelay: u = 0 } = e, { outDelay: a = 0 } = e, { content: t } = e, { unfolded: n } = e, { isFistUnfoldedUpdate: r = !0 } = e;
134
+ function $(n, t, o) {
135
+ let l, { inDelay: u = 0 } = t, { outDelay: a = 0 } = t, { content: e } = t, { unfolded: i } = t, { isFistUnfoldedUpdate: s = !0 } = t;
110
136
  const y = `__EMOJI_SPLIT_${b}__`, E = `__EMOJI_${b}__`, F = `__SPACE_${b}__`;
111
- let j, f, d = [];
112
- function C(l) {
113
- const _ = [], h = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
114
- return l.slice().replace(h, (c) => `${y}${E}${c}${y}`).split(y).forEach((c) => c.startsWith(E) ? _.push({
137
+ let j, _, c = [];
138
+ function C(r) {
139
+ const m = [], h = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
140
+ return r.slice().replace(h, (f) => `${y}${E}${f}${y}`).split(y).forEach((f) => f.startsWith(E) ? m.push({
115
141
  id: M(),
116
- content: c.slice(E.length)
117
- }) : _.push(...c.split("").map((g) => g === " " ? F : g).map((g) => ({ id: M(), content: g })))), _;
142
+ content: f.slice(E.length)
143
+ }) : m.push(...f.split("").map((g) => g === " " ? F : g).map((g) => ({ id: M(), content: g })))), m;
118
144
  }
119
145
  function N() {
120
- if (!f)
146
+ if (!_)
121
147
  return;
122
- const l = !n;
123
- f.reversed !== l && f.reverse(), f.play();
148
+ const r = !i;
149
+ _.reversed !== r && _.reverse(), _.play();
124
150
  }
125
- function T(l) {
126
- if (r) {
127
- o(4, r = !1);
151
+ function T(r) {
152
+ if (s) {
153
+ o(4, s = !1);
128
154
  return;
129
155
  }
130
- clearTimeout(j), j = setTimeout(N, l ? u : a);
156
+ clearTimeout(j), j = setTimeout(N, r ? u : a);
131
157
  }
132
- function L(l) {
133
- const _ = function() {
134
- const h = H((c) => l[c].getBoundingClientRect().x, [Math.min(l.length - 1, 10), Math.min(l.length - 1, 30)]);
158
+ function L(r) {
159
+ const m = function() {
160
+ const h = H((f) => r[f].getBoundingClientRect().x, [Math.min(r.length - 1, 10), Math.min(r.length - 1, 30)]);
135
161
  if (h > 0)
136
162
  return h;
137
163
  }();
138
- f = U({
139
- targets: l.slice(0, _).filter(z),
164
+ _ = U({
165
+ targets: r.slice(0, m).filter(z),
140
166
  autoplay: !1,
141
167
  duration: 400,
142
168
  scale: [0.7, 1],
@@ -146,40 +172,40 @@ function $(i, e, o) {
146
172
  translateY: [10, 0],
147
173
  delay: U.stagger(50),
148
174
  easing: "easeInOutCubic"
149
- }), n && f.seek(f.duration);
175
+ }), i && _.seek(_.duration);
150
176
  }
151
- function O(l, _) {
152
- I[l ? "unshift" : "push"](() => {
153
- d[_] = l, o(1, d);
177
+ function O(r, m) {
178
+ I[r ? "unshift" : "push"](() => {
179
+ c[m] = r, o(1, c);
154
180
  });
155
181
  }
156
- function P(l, _) {
157
- I[l ? "unshift" : "push"](() => {
158
- d[_] = l, o(1, d);
182
+ function P(r, m) {
183
+ I[r ? "unshift" : "push"](() => {
184
+ c[m] = r, o(1, c);
159
185
  });
160
186
  }
161
- return i.$$set = (l) => {
162
- "inDelay" in l && o(5, u = l.inDelay), "outDelay" in l && o(6, a = l.outDelay), "content" in l && o(0, t = l.content), "unfolded" in l && o(7, n = l.unfolded), "isFistUnfoldedUpdate" in l && o(4, r = l.isFistUnfoldedUpdate);
163
- }, i.$$.update = () => {
164
- i.$$.dirty & 1 && o(2, s = C(t)), i.$$.dirty & 128 && T(n), i.$$.dirty & 2 && L(d.filter((l) => !!l));
187
+ return n.$$set = (r) => {
188
+ "inDelay" in r && o(5, u = r.inDelay), "outDelay" in r && o(6, a = r.outDelay), "content" in r && o(0, e = r.content), "unfolded" in r && o(7, i = r.unfolded), "isFistUnfoldedUpdate" in r && o(4, s = r.isFistUnfoldedUpdate);
189
+ }, n.$$.update = () => {
190
+ n.$$.dirty & 1 && o(2, l = C(e)), n.$$.dirty & 128 && T(i), n.$$.dirty & 2 && L(c.filter((r) => !!r));
165
191
  }, [
166
- t,
167
- d,
168
- s,
192
+ e,
193
+ c,
194
+ l,
169
195
  F,
170
- r,
196
+ s,
171
197
  u,
172
198
  a,
173
- n,
199
+ i,
174
200
  O,
175
201
  P
176
202
  ];
177
203
  }
178
- class fe extends J {
179
- constructor(e) {
204
+ class Pt extends J {
205
+ constructor(t) {
180
206
  super(), V(
181
207
  this,
182
- e,
208
+ t,
183
209
  $,
184
210
  x,
185
211
  q,
@@ -195,5 +221,5 @@ class fe extends J {
195
221
  }
196
222
  }
197
223
  export {
198
- fe as default
224
+ Pt as default
199
225
  };
@@ -1,8 +1,8 @@
1
1
  import { SvelteComponent as J, init as K, safe_not_equal as P, append_styles as Q, empty as V, insert as D, transition_in as h, transition_out as c, check_outros as E, detach as S, element as b, create_component as k, space as C, attr as w, set_style as X, toggle_class as q, mount_component as y, append as v, listen as F, action_destroyer as Y, group_outros as G, destroy_component as R, run_all as Z, add_render_callback as x, create_in_transition as ee, create_out_transition as te, bubble as ie } from "../../../../vendor/svelte/internal/index.js";
2
2
  import { cubicInOut as L } from "../../../../vendor/svelte/easing/index.js";
3
3
  import { fade as N } from "../../../../vendor/svelte/transition/index.js";
4
- import ne from "../../Common/Audio.js";
5
- import oe from "../../Common/Line/Straight.js";
4
+ import oe from "../../Common/Audio.js";
5
+ import ne from "../../Common/Line/Straight.js";
6
6
  import H from "../../Common/Shadow.js";
7
7
  import re from "../../Common/Text/FlyMText.js";
8
8
  import le from "../../Common/Icon/audioIcon.js";
@@ -17,21 +17,46 @@ import "three";
17
17
  import "@realsee/five/gltf-loader";
18
18
  import "../../../../shared-utils/three/loadTexture.js";
19
19
  import "@realsee/five";
20
+ import "object-assign-deep";
21
+ import "hammerjs";
22
+ import "@tweenjs/tween.js";
23
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
24
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
25
+ import "three/examples/jsm/renderers/CSS3DRenderer";
26
+ import "../../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
27
+ import "../../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
28
+ import "../../../../CSS3DRenderPlugin/utils/even.js";
29
+ import "../../../../shared-utils/Subscribe.js";
30
+ import "../../../../CSS3DRenderPlugin/utils/positionToVector3.js";
31
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
32
+ import "../../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
33
+ import "../../../../shared-utils/three/centerPoint.js";
34
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
35
+ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
36
+ import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
37
+ import "../../../../shared-utils/animationFrame/BetterTween.js";
38
+ import "../../../../shared-utils/animationFrame/index.js";
39
+ import "../../../utils/device.js";
20
40
  import "../../../../shared-utils/threex/domevents/index.js";
41
+ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
42
+ import "lodash.get";
43
+ import "lodash.clonedeep";
44
+ import "lodash.isequal";
45
+ import "classnames";
46
+ import "../../../../shared-utils/three/GLTFLoader.js";
21
47
  import "../../../utils/search.js";
22
48
  import "../../../utils/constants.js";
23
49
  import "../../Common/Arrow.js";
24
50
  import "../../../Assets/Icon.js";
25
51
  import "../../../utils/doUtil.js";
26
52
  import "../../../utils/px2rem.js";
27
- import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
28
53
  function se(e) {
29
54
  Q(e, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
30
55
  }
31
56
  function j(e) {
32
57
  var g, z;
33
- let i, n, o, t, a, f, m, l, s, d, _, $, U, I;
34
- n = new H({
58
+ let i, o, n, t, a, f, d, l, s, m, _, $, U, I;
59
+ o = new H({
35
60
  props: {
36
61
  visible: e[6],
37
62
  left: e[3] / 2 + "px",
@@ -41,14 +66,14 @@ function j(e) {
41
66
  spreadRadius: 60
42
67
  }
43
68
  });
44
- let u = e[6] && B(e);
69
+ let p = e[6] && B(e);
45
70
  return s = new re({
46
71
  props: {
47
72
  visible: e[6],
48
73
  textUnfolded: e[1],
49
74
  content: e[5]
50
75
  }
51
- }), _ = new oe({
76
+ }), _ = new ne({
52
77
  props: {
53
78
  unfolded: e[6],
54
79
  length: e[3],
@@ -57,46 +82,46 @@ function j(e) {
57
82
  }
58
83
  }), {
59
84
  c() {
60
- i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(), m = C(), l = b("div"), k(s.$$.fragment), d = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(i, "unfolded", e[6]);
85
+ i = b("div"), k(o.$$.fragment), n = C(), t = b("div"), a = b("div"), f = b("div"), p && p.c(), d = C(), l = b("div"), k(s.$$.fragment), m = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(i, "unfolded", e[6]);
61
86
  },
62
- m(r, p) {
63
- D(r, i, p), y(n, i, null), v(i, o), v(i, t), v(t, a), v(a, f), u && u.m(f, null), v(a, m), v(a, l), y(s, l, null), v(i, d), y(_, i, null), $ = !0, U || (I = [
87
+ m(r, u) {
88
+ D(r, i, u), y(o, i, null), v(i, n), v(i, t), v(t, a), v(a, f), p && p.m(f, null), v(a, d), v(a, l), y(s, l, null), v(i, m), y(_, i, null), $ = !0, U || (I = [
64
89
  F(l, "click", e[7]),
65
90
  Y(ae.call(null, l)),
66
91
  F(l, "clientWidth", e[12])
67
92
  ], U = !0);
68
93
  },
69
- p(r, p) {
94
+ p(r, u) {
70
95
  var W, O;
71
96
  const T = {};
72
- p & 64 && (T.visible = r[6]), p & 8 && (T.left = r[3] / 2 + "px"), n.$set(T), r[6] ? u ? (u.p(r, p), p & 64 && h(u, 1)) : (u = B(r), u.c(), h(u, 1), u.m(f, null)) : u && (G(), c(u, 1, 1, () => {
73
- u = null;
97
+ u & 64 && (T.visible = r[6]), u & 8 && (T.left = r[3] / 2 + "px"), o.$set(T), r[6] ? p ? (p.p(r, u), u & 64 && h(p, 1)) : (p = B(r), p.c(), h(p, 1), p.m(f, null)) : p && (G(), c(p, 1, 1, () => {
98
+ p = null;
74
99
  }), E());
75
100
  const M = {};
76
- p & 64 && (M.visible = r[6]), p & 2 && (M.textUnfolded = r[1]), p & 32 && (M.content = r[5]), s.$set(M);
101
+ u & 64 && (M.visible = r[6]), u & 2 && (M.textUnfolded = r[1]), u & 32 && (M.content = r[5]), s.$set(M);
77
102
  const A = {};
78
- p & 64 && (A.unfolded = r[6]), p & 8 && (A.length = r[3]), p & 48 && (A.outDelay = r[4] + 20 * Math.min((O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10, 15)), _.$set(A), (!$ || p & 64) && q(i, "unfolded", r[6]);
103
+ u & 64 && (A.unfolded = r[6]), u & 8 && (A.length = r[3]), u & 48 && (A.outDelay = r[4] + 20 * Math.min((O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10, 15)), _.$set(A), (!$ || u & 64) && q(i, "unfolded", r[6]);
79
104
  },
80
105
  i(r) {
81
- $ || (h(n.$$.fragment, r), h(u), h(s.$$.fragment, r), h(_.$$.fragment, r), $ = !0);
106
+ $ || (h(o.$$.fragment, r), h(p), h(s.$$.fragment, r), h(_.$$.fragment, r), $ = !0);
82
107
  },
83
108
  o(r) {
84
- c(n.$$.fragment, r), c(u), c(s.$$.fragment, r), c(_.$$.fragment, r), $ = !1;
109
+ c(o.$$.fragment, r), c(p), c(s.$$.fragment, r), c(_.$$.fragment, r), $ = !1;
85
110
  },
86
111
  d(r) {
87
- r && S(i), R(n), u && u.d(), R(s), R(_), U = !1, Z(I);
112
+ r && S(i), R(o), p && p.d(), R(s), R(_), U = !1, Z(I);
88
113
  }
89
114
  };
90
115
  }
91
116
  function B(e) {
92
- let i, n, o, t, a, f, m;
93
- return n = new H({
117
+ let i, o, n, t, a, f, d;
118
+ return o = new H({
94
119
  props: {
95
120
  center: !0,
96
121
  blurRadius: 15,
97
122
  spreadRadius: 6
98
123
  }
99
- }), t = new ne({
124
+ }), t = new oe({
100
125
  props: {
101
126
  enable: e[6],
102
127
  url: e[0].data.audioUrl,
@@ -106,131 +131,131 @@ function B(e) {
106
131
  }
107
132
  }), t.$on("play", e[8]), t.$on("pause", e[9]), t.$on("error", e[10]), t.$on("audioRef", e[11]), {
108
133
  c() {
109
- i = b("div"), k(n.$$.fragment), o = C(), k(t.$$.fragment), w(i, "class", "audio svelte-1s6gk4a");
134
+ i = b("div"), k(o.$$.fragment), n = C(), k(t.$$.fragment), w(i, "class", "audio svelte-1s6gk4a");
110
135
  },
111
136
  m(l, s) {
112
- D(l, i, s), y(n, i, null), v(i, o), y(t, i, null), m = !0;
137
+ D(l, i, s), y(o, i, null), v(i, n), y(t, i, null), d = !0;
113
138
  },
114
139
  p(l, s) {
115
140
  e = l;
116
- const d = {};
117
- s & 64 && (d.enable = e[6]), s & 1 && (d.url = e[0].data.audioUrl), s & 1 && (d.hooksInfo = { tag: e[0] }), s & 8196 && (d.$$scope = { dirty: s, ctx: e }), t.$set(d);
141
+ const m = {};
142
+ s & 64 && (m.enable = e[6]), s & 1 && (m.url = e[0].data.audioUrl), s & 1 && (m.hooksInfo = { tag: e[0] }), s & 8196 && (m.$$scope = { dirty: s, ctx: e }), t.$set(m);
118
143
  },
119
144
  i(l) {
120
- m || (h(n.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
145
+ d || (h(o.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
121
146
  f && f.end(1), a = ee(i, N, {
122
147
  duration: 1e3,
123
148
  delay: 0,
124
149
  easing: L
125
150
  }), a.start();
126
- }), m = !0);
151
+ }), d = !0);
127
152
  },
128
153
  o(l) {
129
- var s, d;
130
- c(n.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (f = te(i, N, {
154
+ var s, m;
155
+ c(o.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (f = te(i, N, {
131
156
  duration: 1e3,
132
- delay: 20 * Math.min((d = (s = e[5]) == null ? void 0 : s.length) != null ? d : 10, 15),
157
+ delay: 20 * Math.min((m = (s = e[5]) == null ? void 0 : s.length) != null ? m : 10, 15),
133
158
  easing: L
134
- })), m = !1;
159
+ })), d = !1;
135
160
  },
136
161
  d(l) {
137
- l && S(i), R(n), R(t), l && f && f.end();
162
+ l && S(i), R(o), R(t), l && f && f.end();
138
163
  }
139
164
  };
140
165
  }
141
166
  function fe(e) {
142
- let i, n, o;
143
- return n = new le({ props: { playing: e[2] } }), {
167
+ let i, o, n;
168
+ return o = new le({ props: { playing: e[2] } }), {
144
169
  c() {
145
- i = b("div"), k(n.$$.fragment), w(i, "class", "audio-icon__wrapper svelte-1s6gk4a");
170
+ i = b("div"), k(o.$$.fragment), w(i, "class", "audio-icon__wrapper svelte-1s6gk4a");
146
171
  },
147
172
  m(t, a) {
148
- D(t, i, a), y(n, i, null), o = !0;
173
+ D(t, i, a), y(o, i, null), n = !0;
149
174
  },
150
175
  p(t, a) {
151
176
  const f = {};
152
- a & 4 && (f.playing = t[2]), n.$set(f);
177
+ a & 4 && (f.playing = t[2]), o.$set(f);
153
178
  },
154
179
  i(t) {
155
- o || (h(n.$$.fragment, t), o = !0);
180
+ n || (h(o.$$.fragment, t), n = !0);
156
181
  },
157
182
  o(t) {
158
- c(n.$$.fragment, t), o = !1;
183
+ c(o.$$.fragment, t), n = !1;
159
184
  },
160
185
  d(t) {
161
- t && S(i), R(n);
186
+ t && S(i), R(o);
162
187
  }
163
188
  };
164
189
  }
165
- function ue(e) {
166
- let i, n, o = e[0].state && j(e);
190
+ function pe(e) {
191
+ let i, o, n = e[0].state && j(e);
167
192
  return {
168
193
  c() {
169
- o && o.c(), i = V();
194
+ n && n.c(), i = V();
170
195
  },
171
196
  m(t, a) {
172
- o && o.m(t, a), D(t, i, a), n = !0;
197
+ n && n.m(t, a), D(t, i, a), o = !0;
173
198
  },
174
199
  p(t, [a]) {
175
- t[0].state ? o ? (o.p(t, a), a & 1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(i.parentNode, i)) : o && (G(), c(o, 1, 1, () => {
176
- o = null;
200
+ t[0].state ? n ? (n.p(t, a), a & 1 && h(n, 1)) : (n = j(t), n.c(), h(n, 1), n.m(i.parentNode, i)) : n && (G(), c(n, 1, 1, () => {
201
+ n = null;
177
202
  }), E());
178
203
  },
179
204
  i(t) {
180
- n || (h(o), n = !0);
205
+ o || (h(n), o = !0);
181
206
  },
182
207
  o(t) {
183
- c(o), n = !1;
208
+ c(n), o = !1;
184
209
  },
185
210
  d(t) {
186
- o && o.d(t), t && S(i);
211
+ n && n.d(t), t && S(i);
187
212
  }
188
213
  };
189
214
  }
190
- function de(e, i, n) {
191
- let o, t, a, { tag: f } = i, m = !1, l = !1, s;
192
- function d() {
193
- n(1, m = !m);
215
+ function me(e, i, o) {
216
+ let n, t, a, { tag: f } = i, d = !1, l = !1, s;
217
+ function m() {
218
+ o(1, d = !d);
194
219
  }
195
220
  const _ = () => {
196
- n(2, l = !0);
221
+ o(2, l = !0);
197
222
  }, $ = () => {
198
- n(2, l = !1);
223
+ o(2, l = !1);
199
224
  }, U = () => {
200
- n(2, l = !1);
225
+ o(2, l = !1);
201
226
  };
202
227
  function I(g) {
203
228
  ie.call(this, e, g);
204
229
  }
205
- const u = (g) => {
206
- n(3, s = g.detail);
230
+ const p = (g) => {
231
+ o(3, s = g.detail);
207
232
  };
208
233
  return e.$$set = (g) => {
209
- "tag" in g && n(0, f = g.tag);
234
+ "tag" in g && o(0, f = g.tag);
210
235
  }, e.$$.update = () => {
211
236
  var g, z, r;
212
- e.$$.dirty & 1 && n(6, o = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & 1 && n(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & 2 && n(4, a = m ? 450 : 0);
237
+ e.$$.dirty & 1 && o(6, n = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & 1 && o(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & 2 && o(4, a = d ? 450 : 0);
213
238
  }, [
214
239
  f,
215
- m,
240
+ d,
216
241
  l,
217
242
  s,
218
243
  a,
219
244
  t,
220
- o,
221
- d,
245
+ n,
246
+ m,
222
247
  _,
223
248
  $,
224
249
  U,
225
250
  I,
226
- u
251
+ p
227
252
  ];
228
253
  }
229
- class Ne extends J {
254
+ class pt extends J {
230
255
  constructor(i) {
231
- super(), K(this, i, de, ue, P, { tag: 0 }, se);
256
+ super(), K(this, i, me, pe, P, { tag: 0 }, se);
232
257
  }
233
258
  }
234
259
  export {
235
- Ne as default
260
+ pt as default
236
261
  };