@realsee/dnalogel 2.3.4 → 2.3.5-dev.1

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 (328) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/ModelViewPlugin/Plugin.d.ts +8 -0
  3. package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  4. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
  6. package/dist/PanoTagPlugin/controller/index.d.ts +14 -12
  7. package/dist/PanoTagPlugin/index.d.ts +1 -1
  8. package/dist/PanoTagPlugin/typings/controller.d.ts +12 -11
  9. package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
  10. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  12. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  13. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  14. package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
  15. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  16. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  17. package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  18. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  19. package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  20. package/dist/index.cjs.js +51 -51
  21. package/dist/index.js +7181 -6289
  22. package/dist/index.umd.js +43 -43
  23. package/docs/assets/search.js +1 -1
  24. package/docs/classes/CSS3DRender.html +31 -31
  25. package/docs/classes/CruisePluginController.html +24 -24
  26. package/docs/classes/Magnifier.html +16 -16
  27. package/docs/classes/ModelRoomLabelController.html +11 -11
  28. package/docs/classes/Object3DHelperController.html +24 -24
  29. package/docs/classes/PaintBrush.html +15 -15
  30. package/docs/classes/PanoTagPluginController.html +196 -164
  31. package/docs/classes/Util.BetterTween.html +8 -8
  32. package/docs/classes/Util.FivePointSelector.html +12 -12
  33. package/docs/classes/Util.Interval.html +12 -12
  34. package/docs/classes/Util.Magnifier.html +17 -17
  35. package/docs/classes/Util.PointDomHelper.html +11 -11
  36. package/docs/classes/Util.PointHelper.html +11 -11
  37. package/docs/classes/Util.Rectangle.html +13 -13
  38. package/docs/enums/CameraMovementEffect.html +7 -7
  39. package/docs/enums/ContentType.html +75 -35
  40. package/docs/enums/DIRECTION.html +9 -9
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  42. package/docs/enums/DimensionType.html +19 -15
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/PointType.html +19 -15
  47. package/docs/enums/Rotation.html +8 -8
  48. package/docs/functions/CSS3DRenderPlugin.html +35 -13
  49. package/docs/functions/CameraMovementPlugin.html +35 -13
  50. package/docs/functions/CruisePlugin.html +35 -13
  51. package/docs/functions/GuideLinePlugin.html +36 -14
  52. package/docs/functions/ItemLabelPlugin.html +35 -13
  53. package/docs/functions/MapviewFloorplanPlugin.html +35 -13
  54. package/docs/functions/ModelChassisCompassPlugin.html +35 -13
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +35 -13
  56. package/docs/functions/ModelFloorplanPlugin.html +35 -13
  57. package/docs/functions/ModelItemLabelPlugin.html +35 -13
  58. package/docs/functions/ModelRoomLabelPlugin.html +35 -13
  59. package/docs/functions/ModelTVVideoPlugin.html +35 -13
  60. package/docs/functions/ModelViewPlugin.html +35 -13
  61. package/docs/functions/Object3DHelperPlugin.html +35 -13
  62. package/docs/functions/PanoCompassPlugin.html +35 -13
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +35 -13
  64. package/docs/functions/PanoDoorLabelPlugin.html +35 -13
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +35 -13
  66. package/docs/functions/PanoMeasurePlugin.html +35 -13
  67. package/docs/functions/PanoRulerPlugin.html +35 -13
  68. package/docs/functions/PanoRulerProPlugin.html +35 -13
  69. package/docs/functions/PanoSpatialTagPlugin.html +35 -13
  70. package/docs/functions/PanoTagPlugin.html +41 -23
  71. package/docs/functions/TopviewFloorplanPlugin.html +35 -13
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +36 -14
  83. package/docs/index.html +35 -13
  84. package/docs/interfaces/AddTagConfig.html +64 -0
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/EventMap.html +298 -0
  89. package/docs/interfaces/FloorplanBounding.html +8 -8
  90. package/docs/interfaces/FloorplanData.html +10 -10
  91. package/docs/interfaces/FloorplanEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  94. package/docs/interfaces/FloorplanFloorData.html +9 -9
  95. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  96. package/docs/interfaces/FloorplanObserver.html +9 -9
  97. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  98. package/docs/interfaces/FloorplanPosition.html +7 -7
  99. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  101. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  102. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  103. package/docs/interfaces/FloorplanServerData.html +7 -7
  104. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  106. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  107. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  108. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  114. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  115. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  116. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  117. package/docs/interfaces/LineJson.html +7 -7
  118. package/docs/interfaces/MinMax.html +71 -0
  119. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  120. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  121. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  122. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  123. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  124. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  125. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  126. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  127. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  128. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  129. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  130. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  131. package/docs/interfaces/ModelViewPluginExportType.html +57 -9
  132. package/docs/interfaces/Object3DHelperState.html +8 -8
  133. package/docs/interfaces/OpenParameter.html +7 -7
  134. package/docs/interfaces/PaintBrushAction.html +12 -12
  135. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  136. package/docs/interfaces/PaintBrushState.html +10 -10
  137. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +36 -14
  139. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  140. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  141. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  143. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  144. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  145. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  146. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  147. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +36 -14
  148. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +36 -14
  149. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  150. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  151. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  152. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  153. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  154. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  155. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  156. package/docs/interfaces/Point.html +8 -8
  157. package/docs/interfaces/PointJson.html +8 -8
  158. package/docs/interfaces/Room.html +9 -9
  159. package/docs/interfaces/RoomInfo.html +7 -7
  160. package/docs/interfaces/RoomLabel.html +14 -14
  161. package/docs/interfaces/RoomRules.html +36 -14
  162. package/docs/interfaces/Rooms.html +36 -14
  163. package/docs/interfaces/Scissor.html +9 -9
  164. package/docs/interfaces/State.html +89 -0
  165. package/docs/interfaces/TagCache.html +92 -0
  166. package/docs/interfaces/TagConfig.html +15 -19
  167. package/docs/interfaces/TagIconUrl.html +91 -0
  168. package/docs/interfaces/Tags.html +14 -12
  169. package/docs/interfaces/TemporaryState.html +64 -0
  170. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  171. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  172. package/docs/modules/Util.html +5 -5
  173. package/docs/modules.html +65 -21
  174. package/docs/types/ArrayPosition.html +37 -15
  175. package/docs/types/CSS3DRenderExportType.html +36 -14
  176. package/docs/types/CSS3DRenderPluginExportType.html +36 -14
  177. package/docs/types/CSS3DRenderPluginParameterType.html +36 -14
  178. package/docs/types/Color.html +36 -14
  179. package/docs/types/ContentTypeConfigKey.html +37 -15
  180. package/docs/types/ContentTypeMap.html +247 -0
  181. package/docs/types/Create3DDomContainerReturnType.html +36 -14
  182. package/docs/types/Create3DElementReturnType.html +36 -14
  183. package/docs/types/CruisePluginExportType.html +36 -14
  184. package/docs/types/Direction-1.html +36 -14
  185. package/docs/types/Direction4.html +36 -14
  186. package/docs/types/FloorplanRuleLabels.html +36 -14
  187. package/docs/types/FloorplanServerRuleLabels.html +36 -14
  188. package/docs/types/GuideLinePluginExportType.html +36 -14
  189. package/docs/types/HelperEventMap.html +36 -14
  190. package/docs/types/MapviewFloorplanPluginParameterType.html +36 -14
  191. package/docs/types/MapviewFloorplanPluginReturnType.html +36 -14
  192. package/docs/types/MediaData.html +36 -14
  193. package/docs/types/MediaStore.html +247 -0
  194. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +36 -14
  195. package/docs/types/ModelFloorplanPluginParameterType.html +36 -14
  196. package/docs/types/ModelFloorplanPluginReturnType.html +36 -14
  197. package/docs/types/ModelRoomLabelPluginParameters.html +36 -14
  198. package/docs/types/ModelRoomLabelPluginReturnType.html +36 -14
  199. package/docs/types/MoveArgs.html +36 -14
  200. package/docs/types/MoveOpts.html +36 -14
  201. package/docs/types/Object3DHelperEventMap.html +36 -14
  202. package/docs/types/ObjectFit.html +36 -14
  203. package/docs/types/PaintBrushEventMap.html +36 -14
  204. package/docs/types/PanoCompassPluginData.html +36 -14
  205. package/docs/types/PanoCompassPluginExportType.html +36 -14
  206. package/docs/types/PanoCompassPluginParameterType.html +36 -14
  207. package/docs/types/PanoFloorplanRadarPluginParameterType.html +36 -14
  208. package/docs/types/PanoFloorplanRadarPluginReturnType.html +36 -14
  209. package/docs/types/PanoIndex.html +247 -0
  210. package/docs/types/PanoMeasurePluginEvent.html +36 -14
  211. package/docs/types/PanoMeasureReturnType.html +36 -14
  212. package/docs/types/PanoSpatialTagPluginId.html +36 -14
  213. package/docs/types/PanoTagPluginExportInterface.html +36 -14
  214. package/docs/types/PanoTagPluginParamsInterface.html +36 -14
  215. package/docs/types/PlaneTag.html +39 -19
  216. package/docs/types/PlaneTagElement.html +252 -0
  217. package/docs/types/Point2DElement.html +252 -0
  218. package/docs/types/Point2DTag.html +254 -0
  219. package/docs/types/Point3DElement.html +252 -0
  220. package/docs/types/Point3DTag.html +254 -0
  221. package/docs/types/PointTag.html +39 -23
  222. package/docs/types/PointTagElement.html +252 -0
  223. package/docs/types/Position.html +36 -14
  224. package/docs/types/RotateArgs.html +36 -14
  225. package/docs/types/RotateOpts.html +36 -14
  226. package/docs/types/RuleLabelsKey.html +36 -14
  227. package/docs/types/RuleLabelsValue.html +36 -14
  228. package/docs/types/StickType.html +247 -0
  229. package/docs/types/Tag.html +40 -22
  230. package/docs/types/Tag2D.html +41 -20
  231. package/docs/types/Tag3D.html +41 -20
  232. package/docs/types/TagContentType.html +247 -0
  233. package/docs/types/TagDimensionType.html +247 -0
  234. package/docs/types/TagElement.html +254 -0
  235. package/docs/types/TagEvents.html +282 -0
  236. package/docs/types/TagHooks.html +247 -0
  237. package/docs/types/TagIconSize.html +250 -0
  238. package/docs/types/TagId.html +36 -14
  239. package/docs/types/TagPointType.html +250 -0
  240. package/docs/types/TopviewFloorplanPluginParameterType.html +36 -14
  241. package/docs/types/TopviewFloorplanPluginReturnType.html +36 -14
  242. package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +39 -17
  243. package/docs/variables/FLOOR_TYPE_MAP.html +36 -14
  244. package/docs/variables/PLUGIN.html +36 -14
  245. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +36 -14
  246. package/docs/variables/ROOM_TYPE_MAP.html +36 -14
  247. package/docs/variables/VERSION.html +36 -14
  248. package/docs/variables/itemLabelPluginServerParams.html +36 -14
  249. package/docs/variables/modelItemLabelPluginServerParams.html +36 -14
  250. package/docs/variables/modelRoomLabelPluginServerParams.html +36 -14
  251. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  252. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -2
  253. package/libs/ModelViewPlugin/Plugin.d.ts +8 -0
  254. package/libs/ModelViewPlugin/Plugin.js +83 -73
  255. package/libs/Object3DHelperPlugin/Controller.js +36 -34
  256. package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  257. package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
  258. package/libs/PanoTagPlugin/Components/Common/Audio.js +138 -133
  259. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +173 -0
  260. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
  261. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +32 -32
  262. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +94 -59
  263. package/libs/PanoTagPlugin/Components/Common/Media.js +212 -194
  264. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +109 -80
  265. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +78 -0
  266. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +135 -0
  267. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
  268. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
  269. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +209 -0
  270. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +204 -0
  271. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +98 -0
  272. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -130
  273. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +49 -98
  274. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +47 -44
  275. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +98 -0
  276. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +122 -0
  277. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +98 -0
  278. package/libs/PanoTagPlugin/Components/Tag/index.js +130 -133
  279. package/libs/PanoTagPlugin/Components/TagContainer.js +89 -105
  280. package/libs/PanoTagPlugin/Components/TagItem.js +139 -0
  281. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  282. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
  283. package/libs/PanoTagPlugin/controller/TagComputer.js +168 -151
  284. package/libs/PanoTagPlugin/controller/index.d.ts +14 -12
  285. package/libs/PanoTagPlugin/controller/index.js +128 -133
  286. package/libs/PanoTagPlugin/index.d.ts +1 -1
  287. package/libs/PanoTagPlugin/index.js +31 -20
  288. package/libs/PanoTagPlugin/tag.config.js +23 -16
  289. package/libs/PanoTagPlugin/typings/controller.d.ts +12 -11
  290. package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
  291. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  292. package/libs/PanoTagPlugin/typings/tag/Tag.js +1 -0
  293. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  294. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
  295. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  296. package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
  297. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  298. package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
  299. package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
  300. package/libs/PanoTagPlugin/utils/color.js +17 -0
  301. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  302. package/libs/PanoTagPlugin/utils/getImageInfo.js +50 -0
  303. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  304. package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
  305. package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  306. package/libs/PanoTagPlugin/utils/tag/format.js +17 -0
  307. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  308. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +10 -0
  309. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  310. package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  311. package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
  312. package/libs/index.js +112 -101
  313. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
  314. package/libs/vendor/svelte/internal/index.js +381 -341
  315. package/package.json +3 -3
  316. package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
  317. package/docs/enums/LinkType.html +0 -67
  318. package/docs/interfaces/ContentTypeMap.html +0 -212
  319. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
  320. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
  321. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
  322. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
  323. package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
  324. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
  325. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
  326. package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
  327. package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
  328. package/libs/PanoTagPlugin/typings/tag.js +0 -7
@@ -0,0 +1,166 @@
1
+ import { SvelteComponent as g, init as L, safe_not_equal as W, append_styles as z, element as k, attr as h, set_style as d, insert as u, group_outros as N, transition_out as b, check_outros as C, transition_in as p, detach as _, create_slot as E, update_slot_base as M, get_all_dirty_from_scope as S, get_slot_changes as T, space as j, empty as A, noop as m, text as q, set_data as x, append as B } from "../../../../vendor/svelte/internal/index.js";
2
+ import { px2rem as v } from "../../../utils/px2rem.js";
3
+ function D(o) {
4
+ z(o, "svelte-ilb1qs", ".text.svelte-ilb1qs{display:-webkit-box;display:-ms-box;display:-moz-box;position:relative;width:-moz-max-content;width:max-content;max-width:100%;word-break:break-all;-webkit-box-orient:vertical;-ms-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes svelte-ilb1qs-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.caret.svelte-ilb1qs{position:absolute;width:0.0625rem;height:100%;background-color:#fff;animation:svelte-ilb1qs-blink 1.2s infinite}.placeholder.svelte-ilb1qs{opacity:0.5}");
5
+ }
6
+ function F(o) {
7
+ let t;
8
+ const l = o[6].default, e = E(l, o, o[5], null);
9
+ return {
10
+ c() {
11
+ e && e.c();
12
+ },
13
+ m(i, r) {
14
+ e && e.m(i, r), t = !0;
15
+ },
16
+ p(i, r) {
17
+ e && e.p && (!t || r & 32) && M(
18
+ e,
19
+ l,
20
+ i,
21
+ i[5],
22
+ t ? T(l, i[5], r, null) : S(i[5]),
23
+ null
24
+ );
25
+ },
26
+ i(i) {
27
+ t || (p(e, i), t = !0);
28
+ },
29
+ o(i) {
30
+ b(e, i), t = !1;
31
+ },
32
+ d(i) {
33
+ e && e.d(i);
34
+ }
35
+ };
36
+ }
37
+ function G(o) {
38
+ var r, c;
39
+ let t, l, e = ((r = o[3]) == null ? void 0 : r.inputting) && y(), i = ((c = o[3]) == null ? void 0 : c.placeholder) && w(o);
40
+ return {
41
+ c() {
42
+ e && e.c(), t = j(), i && i.c(), l = A();
43
+ },
44
+ m(s, n) {
45
+ e && e.m(s, n), u(s, t, n), i && i.m(s, n), u(s, l, n);
46
+ },
47
+ p(s, n) {
48
+ var f, a;
49
+ (f = s[3]) != null && f.inputting ? e || (e = y(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), (a = s[3]) != null && a.placeholder ? i ? i.p(s, n) : (i = w(s), i.c(), i.m(l.parentNode, l)) : i && (i.d(1), i = null);
50
+ },
51
+ i: m,
52
+ o: m,
53
+ d(s) {
54
+ e && e.d(s), s && _(t), i && i.d(s), s && _(l);
55
+ }
56
+ };
57
+ }
58
+ function H(o) {
59
+ let t;
60
+ return {
61
+ c() {
62
+ t = q(o[2]);
63
+ },
64
+ m(l, e) {
65
+ u(l, t, e);
66
+ },
67
+ p(l, e) {
68
+ e & 4 && x(t, l[2]);
69
+ },
70
+ i: m,
71
+ o: m,
72
+ d(l) {
73
+ l && _(t);
74
+ }
75
+ };
76
+ }
77
+ function y(o) {
78
+ let t;
79
+ return {
80
+ c() {
81
+ t = k("div"), h(t, "class", "caret svelte-ilb1qs");
82
+ },
83
+ m(l, e) {
84
+ u(l, t, e);
85
+ },
86
+ d(l) {
87
+ l && _(t);
88
+ }
89
+ };
90
+ }
91
+ function w(o) {
92
+ let t, l = o[3].placeholder + "", e;
93
+ return {
94
+ c() {
95
+ t = k("span"), e = q(l), h(t, "class", "placeholder svelte-ilb1qs");
96
+ },
97
+ m(i, r) {
98
+ u(i, t, r), B(t, e);
99
+ },
100
+ p(i, r) {
101
+ r & 8 && l !== (l = i[3].placeholder + "") && x(e, l);
102
+ },
103
+ d(i) {
104
+ i && _(t);
105
+ }
106
+ };
107
+ }
108
+ function I(o) {
109
+ let t, l, e, i;
110
+ const r = [H, G, F], c = [];
111
+ function s(n, f) {
112
+ return n[2] ? 0 : n[4] ? 1 : 2;
113
+ }
114
+ return l = s(o), e = c[l] = r[l](o), {
115
+ c() {
116
+ t = k("div"), e.c(), h(t, "class", "text svelte-ilb1qs"), d(t, "max-width", typeof o[1] == "number" ? v(o[1]) : o[1]), d(t, "-webkit-line-clamp", o[0]);
117
+ },
118
+ m(n, f) {
119
+ u(n, t, f), c[l].m(t, null), i = !0;
120
+ },
121
+ p(n, [f]) {
122
+ let a = l;
123
+ l = s(n), l === a ? c[l].p(n, f) : (N(), b(c[a], 1, 1, () => {
124
+ c[a] = null;
125
+ }), C(), e = c[l], e ? e.p(n, f) : (e = c[l] = r[l](n), e.c()), p(e, 1), e.m(t, null)), f & 2 && d(t, "max-width", typeof n[1] == "number" ? v(n[1]) : n[1]), f & 1 && d(t, "-webkit-line-clamp", n[0]);
126
+ },
127
+ i(n) {
128
+ i || (p(e), i = !0);
129
+ },
130
+ o(n) {
131
+ b(e), i = !1;
132
+ },
133
+ d(n) {
134
+ n && _(t), c[l].d();
135
+ }
136
+ };
137
+ }
138
+ function J(o, t, l) {
139
+ let e, { $$slots: i = {}, $$scope: r } = t, { maxLine: c = 1 } = t, { maxWidth: s = null } = t, { text: n = null } = t, { edit: f = null } = t;
140
+ return o.$$set = (a) => {
141
+ "maxLine" in a && l(0, c = a.maxLine), "maxWidth" in a && l(1, s = a.maxWidth), "text" in a && l(2, n = a.text), "edit" in a && l(3, f = a.edit), "$$scope" in a && l(5, r = a.$$scope);
142
+ }, o.$$.update = () => {
143
+ o.$$.dirty & 8 && l(4, e = (f == null ? void 0 : f.placeholder) || (f == null ? void 0 : f.inputting));
144
+ }, [c, s, n, f, e, r, i];
145
+ }
146
+ class P extends g {
147
+ constructor(t) {
148
+ super(), L(
149
+ this,
150
+ t,
151
+ J,
152
+ I,
153
+ W,
154
+ {
155
+ maxLine: 0,
156
+ maxWidth: 1,
157
+ text: 2,
158
+ edit: 3
159
+ },
160
+ D
161
+ );
162
+ }
163
+ }
164
+ export {
165
+ P as MText
166
+ };
@@ -0,0 +1,209 @@
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 c, group_outros as W, transition_out as m, check_outros as j, detach as u, element as d, create_component as _, attr as f, set_style as g, append as q, mount_component as h, destroy_component as $, text as T, set_data as y } from "../../../../vendor/svelte/internal/index.js";
2
+ import { AudioIcon as E } from "../../Common/Icon/audioIcon.js";
3
+ import { MText as F } from "../../Common/Text/MText.js";
4
+ import { Audio as G } from "../../Common/Audio.js";
5
+ import { timeToString as v } from "../../../utils/timeToString.js";
6
+ import "three";
7
+ import { noTypecheck as k } from "../../../utils/noTypecheck.js";
8
+ import { name2Rgba as M } from "../../../utils/color.js";
9
+ function N(i) {
10
+ 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}");
11
+ }
12
+ function z(i) {
13
+ let o, t, e, r;
14
+ return e = new G({
15
+ props: {
16
+ url: i[0].data.audioUrl,
17
+ hooksInfo: { tag: i[0] },
18
+ style: "width: max-content; height: max-content;",
19
+ slotWrapperStyle: "display: flex; align-items: center; justify-content: center;",
20
+ $$slots: {
21
+ currentTime: [
22
+ H,
23
+ ({ duration: n, currentTime: a, playing: l }) => ({ 4: n, 5: a, 6: l }),
24
+ ({ duration: n, currentTime: a, playing: l }) => (n ? 16 : 0) | (a ? 32 : 0) | (l ? 64 : 0)
25
+ ],
26
+ audioIcon: [
27
+ D,
28
+ ({ playing: n }) => ({ 6: n }),
29
+ ({ playing: n }) => n ? 64 : 0
30
+ ],
31
+ default: [B]
32
+ },
33
+ $$scope: { ctx: i }
34
+ }
35
+ }), {
36
+ c() {
37
+ 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");
38
+ },
39
+ m(n, a) {
40
+ s(n, o, a), q(o, t), h(e, t, null), r = !0;
41
+ },
42
+ p(n, a) {
43
+ const l = {};
44
+ 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]);
45
+ },
46
+ i(n) {
47
+ r || (c(e.$$.fragment, n), r = !0);
48
+ },
49
+ o(n) {
50
+ m(e.$$.fragment, n), r = !1;
51
+ },
52
+ d(n) {
53
+ n && u(o), $(e);
54
+ }
55
+ };
56
+ }
57
+ function Y(i) {
58
+ let o;
59
+ return {
60
+ c() {
61
+ o = T(i[3]);
62
+ },
63
+ m(t, e) {
64
+ s(t, o, e);
65
+ },
66
+ p(t, e) {
67
+ e & 8 && y(o, t[3]);
68
+ },
69
+ d(t) {
70
+ t && u(o);
71
+ }
72
+ };
73
+ }
74
+ function B(i) {
75
+ let o, t, e;
76
+ return t = new F({
77
+ props: {
78
+ maxWidth: 72,
79
+ $$slots: { default: [Y] },
80
+ $$scope: { ctx: i }
81
+ }
82
+ }), {
83
+ c() {
84
+ o = d("div"), _(t.$$.fragment), f(o, "class", "text svelte-1fezrt1");
85
+ },
86
+ m(r, n) {
87
+ s(r, o, n), h(t, o, null), e = !0;
88
+ },
89
+ p(r, n) {
90
+ const a = {};
91
+ n & 136 && (a.$$scope = { dirty: n, ctx: r }), t.$set(a);
92
+ },
93
+ i(r) {
94
+ e || (c(t.$$.fragment, r), e = !0);
95
+ },
96
+ o(r) {
97
+ m(t.$$.fragment, r), e = !1;
98
+ },
99
+ d(r) {
100
+ r && u(o), $(t);
101
+ }
102
+ };
103
+ }
104
+ function D(i) {
105
+ let o, t, e;
106
+ return t = new E({ props: { playing: i[6] } }), {
107
+ c() {
108
+ o = d("div"), _(t.$$.fragment), f(o, "slot", "audioIcon"), f(o, "class", "audio-icon__wrapper svelte-1fezrt1");
109
+ },
110
+ m(r, n) {
111
+ s(r, o, n), h(t, o, null), e = !0;
112
+ },
113
+ p(r, n) {
114
+ const a = {};
115
+ n & 64 && (a.playing = r[6]), t.$set(a);
116
+ },
117
+ i(r) {
118
+ e || (c(t.$$.fragment, r), e = !0);
119
+ },
120
+ o(r) {
121
+ m(t.$$.fragment, r), e = !1;
122
+ },
123
+ d(r) {
124
+ r && u(o), $(t);
125
+ }
126
+ };
127
+ }
128
+ function w(i) {
129
+ let o = v(k(i[6] ? i[5] : i[4])) + "", t;
130
+ return {
131
+ c() {
132
+ t = T(o);
133
+ },
134
+ m(e, r) {
135
+ s(e, t, r);
136
+ },
137
+ p(e, r) {
138
+ r & 112 && o !== (o = v(k(e[6] ? e[5] : e[4])) + "") && y(t, o);
139
+ },
140
+ d(e) {
141
+ e && u(t);
142
+ }
143
+ };
144
+ }
145
+ function H(i) {
146
+ let o, t = typeof (i[6] ? i[5] : i[4]) == "number" && w(i);
147
+ return {
148
+ c() {
149
+ o = d("div"), t && t.c(), f(o, "slot", "currentTime"), f(o, "class", "currentTime svelte-1fezrt1");
150
+ },
151
+ m(e, r) {
152
+ s(e, o, r), t && t.m(o, null);
153
+ },
154
+ p(e, r) {
155
+ 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);
156
+ },
157
+ d(e) {
158
+ e && u(o), t && t.d();
159
+ }
160
+ };
161
+ }
162
+ function J(i) {
163
+ let o, t, e = i[0].state && z(i);
164
+ return {
165
+ c() {
166
+ e && e.c(), o = R();
167
+ },
168
+ m(r, n) {
169
+ e && e.m(r, n), s(r, o, n), t = !0;
170
+ },
171
+ p(r, [n]) {
172
+ r[0].state ? e ? (e.p(r, n), n & 1 && c(e, 1)) : (e = z(r), e.c(), c(e, 1), e.m(o.parentNode, o)) : e && (W(), m(e, 1, 1, () => {
173
+ e = null;
174
+ }), j());
175
+ },
176
+ i(r) {
177
+ t || (c(e), t = !0);
178
+ },
179
+ o(r) {
180
+ m(e), t = !1;
181
+ },
182
+ d(r) {
183
+ e && e.d(r), r && u(o);
184
+ }
185
+ };
186
+ }
187
+ function K(i, o, t) {
188
+ let e, r, n, { tag: a } = o;
189
+ return i.$$set = (l) => {
190
+ "tag" in l && t(0, a = l.tag);
191
+ }, i.$$.update = () => {
192
+ var l, b;
193
+ i.$$.dirty & 1 && t(3, e = (b = (l = a.data.title) != null ? l : a.data.text) != null ? b : ""), i.$$.dirty & 1 && t(1, r = (() => {
194
+ var p;
195
+ 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)";
196
+ })()), i.$$.dirty & 2 && t(2, n = (() => {
197
+ const { r: p, g: C, b: I } = M(r);
198
+ return (p * 299 + C * 587 + I * 114) / 1e3 >= 128 ? "rgba(0, 0, 0, 0.6)" : "white";
199
+ })());
200
+ }, [a, r, n, e];
201
+ }
202
+ class re extends S {
203
+ constructor(o) {
204
+ super(), A(this, o, K, J, P, { tag: 0 }, N);
205
+ }
206
+ }
207
+ export {
208
+ re as AudioPlaneTag
209
+ };
@@ -0,0 +1,204 @@
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, group_outros as E, transition_out as h, check_outros as G, detach as R, element as w, create_component as b, space as U, attr as k, add_render_callback as H, set_style as Y, toggle_class as L, mount_component as I, append as $, add_resize_listener as Z, listen as x, destroy_component as z, create_in_transition as ee, create_out_transition as te } from "../../../../vendor/svelte/internal/index.js";
2
+ import { cubicInOut as N } from "../../../../vendor/svelte/easing/index.js";
3
+ import { fade as O } from "../../../../vendor/svelte/transition/index.js";
4
+ import { Audio as ie } from "../../Common/Audio.js";
5
+ import { Straight as ne } from "../../Common/Line/Straight.js";
6
+ import { Shadow as J } from "../../Common/Shadow.js";
7
+ import { FlyMText as oe } from "../../Common/Text/FlyMText.js";
8
+ import { AudioIcon as le } from "../../Common/Icon/audioIcon.js";
9
+ function ae(e) {
10
+ V(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%}");
11
+ }
12
+ function j(e) {
13
+ var T, W;
14
+ let t, n, o, i, a, s, m, l, f, u, _, c, v, A, S;
15
+ n = new J({
16
+ props: {
17
+ visible: e[5],
18
+ left: e[2] / 2 + "px",
19
+ bottom: 12,
20
+ width: 2,
21
+ blurRadius: 120,
22
+ spreadRadius: 60
23
+ }
24
+ });
25
+ let d = e[5] && B(e);
26
+ return f = new oe({
27
+ props: {
28
+ visible: e[5],
29
+ textUnfolded: e[1],
30
+ content: e[4]
31
+ }
32
+ }), c = new ne({
33
+ props: {
34
+ unfolded: e[5],
35
+ length: 150,
36
+ outDelay: e[3] + 20 * Math.min((W = (T = e[4]) == null ? void 0 : T.length) != null ? W : 10, 15),
37
+ useLinearColor: !0
38
+ }
39
+ }), {
40
+ c() {
41
+ t = w("div"), b(n.$$.fragment), o = U(), i = w("div"), a = w("div"), s = w("div"), d && d.c(), m = U(), l = w("div"), b(f.$$.fragment), _ = U(), b(c.$$.fragment), k(s, "class", "audio-icon svelte-1s6gk4a"), H(() => e[7].call(l)), Y(l, "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]);
42
+ },
43
+ m(r, p) {
44
+ M(r, t, p), I(n, t, null), $(t, o), $(t, i), $(i, a), $(a, s), d && d.m(s, null), $(a, m), $(a, l), I(f, l, null), u = Z(l, e[7].bind(l)), $(t, _), I(c, t, null), v = !0, A || (S = x(l, "click", e[6]), A = !0);
45
+ },
46
+ p(r, p) {
47
+ var q, F;
48
+ const C = {};
49
+ p & 32 && (C.visible = r[5]), p & 4 && (C.left = r[2] / 2 + "px"), n.$set(C), r[5] ? d ? (d.p(r, p), p & 32 && g(d, 1)) : (d = B(r), d.c(), g(d, 1), d.m(s, null)) : d && (E(), h(d, 1, 1, () => {
50
+ d = null;
51
+ }), G());
52
+ const y = {};
53
+ p & 32 && (y.visible = r[5]), p & 2 && (y.textUnfolded = r[1]), p & 16 && (y.content = r[4]), f.$set(y);
54
+ const D = {};
55
+ p & 32 && (D.unfolded = r[5]), p & 24 && (D.outDelay = r[3] + 20 * Math.min((F = (q = r[4]) == null ? void 0 : q.length) != null ? F : 10, 15)), c.$set(D), (!v || p & 32) && L(t, "unfolded", r[5]);
56
+ },
57
+ i(r) {
58
+ v || (g(n.$$.fragment, r), g(d), g(f.$$.fragment, r), g(c.$$.fragment, r), v = !0);
59
+ },
60
+ o(r) {
61
+ h(n.$$.fragment, r), h(d), h(f.$$.fragment, r), h(c.$$.fragment, r), v = !1;
62
+ },
63
+ d(r) {
64
+ r && R(t), z(n), d && d.d(), z(f), u(), z(c), A = !1, S();
65
+ }
66
+ };
67
+ }
68
+ function B(e) {
69
+ let t, n, o, i, a, s, m;
70
+ return n = new J({
71
+ props: {
72
+ center: !0,
73
+ blurRadius: 15,
74
+ spreadRadius: 6
75
+ }
76
+ }), i = new ie({
77
+ props: {
78
+ paused: !e[5],
79
+ url: e[0].data.audioUrl,
80
+ hooksInfo: { tag: e[0] },
81
+ $$slots: {
82
+ audioIcon: [
83
+ re,
84
+ ({ playing: l }) => ({ 8: l }),
85
+ ({ playing: l }) => l ? 256 : 0
86
+ ]
87
+ },
88
+ $$scope: { ctx: e }
89
+ }
90
+ }), {
91
+ c() {
92
+ t = w("div"), b(n.$$.fragment), o = U(), b(i.$$.fragment), k(t, "class", "audio svelte-1s6gk4a");
93
+ },
94
+ m(l, f) {
95
+ M(l, t, f), I(n, t, null), $(t, o), I(i, t, null), m = !0;
96
+ },
97
+ p(l, f) {
98
+ e = l;
99
+ const u = {};
100
+ f & 32 && (u.paused = !e[5]), f & 1 && (u.url = e[0].data.audioUrl), f & 1 && (u.hooksInfo = { tag: e[0] }), f & 768 && (u.$$scope = { dirty: f, ctx: e }), i.$set(u);
101
+ },
102
+ i(l) {
103
+ m || (g(n.$$.fragment, l), g(i.$$.fragment, l), l && H(() => {
104
+ s && s.end(1), a = ee(t, O, {
105
+ duration: 1e3,
106
+ delay: 0,
107
+ easing: N
108
+ }), a.start();
109
+ }), m = !0);
110
+ },
111
+ o(l) {
112
+ var f, u;
113
+ h(n.$$.fragment, l), h(i.$$.fragment, l), a && a.invalidate(), l && (s = te(t, O, {
114
+ duration: 1e3,
115
+ delay: 20 * Math.min((u = (f = e[4]) == null ? void 0 : f.length) != null ? u : 10, 15),
116
+ easing: N
117
+ })), m = !1;
118
+ },
119
+ d(l) {
120
+ l && R(t), z(n), z(i), l && s && s.end();
121
+ }
122
+ };
123
+ }
124
+ function re(e) {
125
+ let t, n, o;
126
+ return n = new le({ props: { playing: e[8] } }), {
127
+ c() {
128
+ t = w("div"), b(n.$$.fragment), k(t, "slot", "audioIcon"), k(t, "class", "audio-icon__wrapper svelte-1s6gk4a");
129
+ },
130
+ m(i, a) {
131
+ M(i, t, a), I(n, t, null), o = !0;
132
+ },
133
+ p(i, a) {
134
+ const s = {};
135
+ a & 256 && (s.playing = i[8]), n.$set(s);
136
+ },
137
+ i(i) {
138
+ o || (g(n.$$.fragment, i), o = !0);
139
+ },
140
+ o(i) {
141
+ h(n.$$.fragment, i), o = !1;
142
+ },
143
+ d(i) {
144
+ i && R(t), z(n);
145
+ }
146
+ };
147
+ }
148
+ function se(e) {
149
+ let t, n, o = e[0].state && j(e);
150
+ return {
151
+ c() {
152
+ o && o.c(), t = X();
153
+ },
154
+ m(i, a) {
155
+ o && o.m(i, a), M(i, t, a), n = !0;
156
+ },
157
+ p(i, [a]) {
158
+ 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 && (E(), h(o, 1, 1, () => {
159
+ o = null;
160
+ }), G());
161
+ },
162
+ i(i) {
163
+ n || (g(o), n = !0);
164
+ },
165
+ o(i) {
166
+ h(o), n = !1;
167
+ },
168
+ d(i) {
169
+ o && o.d(i), i && R(t);
170
+ }
171
+ };
172
+ }
173
+ function fe(e, t, n) {
174
+ let o, i, a, { tag: s } = t, m = !1, l;
175
+ function f() {
176
+ n(1, m = !m);
177
+ }
178
+ function u() {
179
+ l = this.clientWidth, n(2, l);
180
+ }
181
+ return e.$$set = (_) => {
182
+ "tag" in _ && n(0, s = _.tag);
183
+ }, e.$$.update = () => {
184
+ var _, c, v;
185
+ 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);
186
+ }, [
187
+ s,
188
+ m,
189
+ l,
190
+ a,
191
+ i,
192
+ o,
193
+ f,
194
+ u
195
+ ];
196
+ }
197
+ class ve extends K {
198
+ constructor(t) {
199
+ super(), P(this, t, fe, se, Q, { tag: 0 }, ae);
200
+ }
201
+ }
202
+ export {
203
+ ve as AudioTag
204
+ };
@@ -0,0 +1,98 @@
1
+ import { SvelteComponent as d, init as $, safe_not_equal as k, empty as b, insert as y, group_outros as h, transition_out as f, check_outros as A, transition_in as l, detach as T, create_component as p, mount_component as m, destroy_component as g } from "../../../../vendor/svelte/internal/index.js";
2
+ import { AudioTag as w } from "./AudioTag.js";
3
+ import { AudioPlaneTag as q } from "./AudioPlaneTag.js";
4
+ function v(a) {
5
+ let e, n;
6
+ return e = new q({ props: { tag: a[0] } }), {
7
+ c() {
8
+ p(e.$$.fragment);
9
+ },
10
+ m(t, r) {
11
+ m(e, t, r), n = !0;
12
+ },
13
+ p(t, r) {
14
+ const i = {};
15
+ r & 1 && (i.tag = t[0]), e.$set(i);
16
+ },
17
+ i(t) {
18
+ n || (l(e.$$.fragment, t), n = !0);
19
+ },
20
+ o(t) {
21
+ f(e.$$.fragment, t), n = !1;
22
+ },
23
+ d(t) {
24
+ g(e, t);
25
+ }
26
+ };
27
+ }
28
+ function C(a) {
29
+ let e, n;
30
+ return e = new w({ props: { tag: a[0] } }), {
31
+ c() {
32
+ p(e.$$.fragment);
33
+ },
34
+ m(t, r) {
35
+ m(e, t, r), n = !0;
36
+ },
37
+ p(t, r) {
38
+ const i = {};
39
+ r & 1 && (i.tag = t[0]), e.$set(i);
40
+ },
41
+ i(t) {
42
+ n || (l(e.$$.fragment, t), n = !0);
43
+ },
44
+ o(t) {
45
+ f(e.$$.fragment, t), n = !1;
46
+ },
47
+ d(t) {
48
+ g(e, t);
49
+ }
50
+ };
51
+ }
52
+ function N(a) {
53
+ let e, n, t, r;
54
+ const i = [C, v], u = [];
55
+ function _(o, c) {
56
+ return o[1] === "line" ? 0 : o[1] === "plane" ? 1 : -1;
57
+ }
58
+ return ~(e = _(a)) && (n = u[e] = i[e](a)), {
59
+ c() {
60
+ n && n.c(), t = b();
61
+ },
62
+ m(o, c) {
63
+ ~e && u[e].m(o, c), y(o, t, c), r = !0;
64
+ },
65
+ p(o, [c]) {
66
+ let s = e;
67
+ e = _(o), e === s ? ~e && u[e].p(o, c) : (n && (h(), f(u[s], 1, 1, () => {
68
+ u[s] = null;
69
+ }), A()), ~e ? (n = u[e], n ? n.p(o, c) : (n = u[e] = i[e](o), n.c()), l(n, 1), n.m(t.parentNode, t)) : n = null);
70
+ },
71
+ i(o) {
72
+ r || (l(n), r = !0);
73
+ },
74
+ o(o) {
75
+ f(n), r = !1;
76
+ },
77
+ d(o) {
78
+ ~e && u[e].d(o), o && T(t);
79
+ }
80
+ };
81
+ }
82
+ function P(a, e, n) {
83
+ let t, { tag: r } = e;
84
+ return a.$$set = (i) => {
85
+ "tag" in i && n(0, r = i.tag);
86
+ }, a.$$.update = () => {
87
+ var i;
88
+ a.$$.dirty & 1 && n(1, t = (i = r.data.appearance) != null ? i : "line");
89
+ }, [r, t];
90
+ }
91
+ class B extends d {
92
+ constructor(e) {
93
+ super(), $(this, e, P, N, k, { tag: 0 });
94
+ }
95
+ }
96
+ export {
97
+ B as AudioTag_1
98
+ };