@realsee/dnalogel 2.2.4 → 2.2.5-alpha.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 (297) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
  3. package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  5. package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  6. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  7. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  9. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
  10. package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
  11. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  12. package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  13. package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  14. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  15. package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
  16. package/dist/index.cjs.js +46 -46
  17. package/dist/index.js +5021 -4928
  18. package/dist/index.umd.js +39 -39
  19. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  20. package/docs/assets/highlight.css +7 -0
  21. package/docs/assets/search.js +1 -1
  22. package/docs/classes/CSS3DRender.html +533 -0
  23. package/docs/classes/CruisePluginController.html +24 -24
  24. package/docs/classes/Magnifier.html +16 -16
  25. package/docs/classes/ModelRoomLabelController.html +11 -11
  26. package/docs/classes/Object3DHelperController.html +24 -24
  27. package/docs/classes/PaintBrush.html +15 -15
  28. package/docs/classes/PanoTagPluginController.html +39 -39
  29. package/docs/classes/Util.BetterTween.html +8 -8
  30. package/docs/classes/Util.FivePointSelector.html +12 -12
  31. package/docs/classes/Util.Interval.html +12 -12
  32. package/docs/classes/Util.Magnifier.html +17 -17
  33. package/docs/classes/Util.PointDomHelper.html +11 -11
  34. package/docs/classes/Util.PointHelper.html +11 -11
  35. package/docs/classes/Util.Rectangle.html +13 -13
  36. package/docs/enums/CameraMovementEffect.html +7 -7
  37. package/docs/enums/ContentType.html +12 -12
  38. package/docs/enums/DIRECTION.html +9 -9
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  40. package/docs/enums/DimensionType.html +7 -7
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  43. package/docs/enums/LinkType.html +7 -7
  44. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  45. package/docs/enums/PointType.html +7 -7
  46. package/docs/enums/Rotation.html +8 -8
  47. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  48. package/docs/functions/CameraMovementPlugin.html +6 -5
  49. package/docs/functions/CruisePlugin.html +6 -5
  50. package/docs/functions/GuideLinePlugin.html +7 -6
  51. package/docs/functions/ItemLabelPlugin.html +6 -5
  52. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  53. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  55. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  56. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  57. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  58. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  59. package/docs/functions/ModelViewPlugin.html +6 -5
  60. package/docs/functions/Object3DHelperPlugin.html +6 -5
  61. package/docs/functions/PanoCompassPlugin.html +6 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  65. package/docs/functions/PanoMeasurePlugin.html +6 -5
  66. package/docs/functions/PanoRulerPlugin.html +6 -5
  67. package/docs/functions/PanoRulerProPlugin.html +6 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  69. package/docs/functions/PanoTagPlugin.html +6 -5
  70. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  71. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  72. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  73. package/docs/functions/Util.getFrameTime.html +5 -5
  74. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  75. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  76. package/docs/functions/Util.isNil.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +5 -5
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +5 -5
  81. package/docs/functions/pluginFlag.html +7 -6
  82. package/docs/index.html +6 -5
  83. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  84. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  85. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  86. package/docs/interfaces/ContentTypeMap.html +12 -12
  87. package/docs/interfaces/FloorplanBounding.html +8 -8
  88. package/docs/interfaces/FloorplanData.html +10 -10
  89. package/docs/interfaces/FloorplanEntrance.html +11 -11
  90. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  91. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  92. package/docs/interfaces/FloorplanFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanObserver.html +9 -9
  95. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanPosition.html +7 -7
  97. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  98. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  99. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  100. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  101. package/docs/interfaces/FloorplanServerData.html +7 -7
  102. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  103. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  104. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  105. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  106. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  108. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  111. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  112. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  113. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  114. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  115. package/docs/interfaces/LineJson.html +7 -7
  116. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  118. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  119. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  120. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  121. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  122. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  123. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  124. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  125. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  126. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  127. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  128. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  129. package/docs/interfaces/Object3DHelperState.html +8 -8
  130. package/docs/interfaces/OpenParameter.html +7 -7
  131. package/docs/interfaces/PaintBrushAction.html +12 -12
  132. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  133. package/docs/interfaces/PaintBrushState.html +10 -10
  134. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
  136. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  137. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  139. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  140. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  141. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  144. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
  145. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
  146. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  152. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  153. package/docs/interfaces/Point.html +8 -8
  154. package/docs/interfaces/PointJson.html +8 -8
  155. package/docs/interfaces/Room.html +9 -9
  156. package/docs/interfaces/RoomInfo.html +7 -7
  157. package/docs/interfaces/RoomLabel.html +14 -14
  158. package/docs/interfaces/RoomRules.html +7 -6
  159. package/docs/interfaces/Rooms.html +7 -6
  160. package/docs/interfaces/Scissor.html +9 -9
  161. package/docs/interfaces/TagConfig.html +10 -10
  162. package/docs/interfaces/Tags.html +9 -9
  163. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  164. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  165. package/docs/modules/Util.html +5 -5
  166. package/docs/modules.html +7 -5
  167. package/docs/types/ArrayPosition.html +7 -6
  168. package/docs/types/CSS3DRenderExportType.html +8 -7
  169. package/docs/types/CSS3DRenderPluginExportType.html +7 -6
  170. package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
  171. package/docs/types/Color.html +7 -6
  172. package/docs/types/ContentTypeConfigKey.html +7 -6
  173. package/docs/types/ContentTypeConfigKeyArray.html +7 -6
  174. package/docs/types/Create3DDomContainerReturnType.html +7 -6
  175. package/docs/types/Create3DElementReturnType.html +8 -7
  176. package/docs/types/CruisePluginExportType.html +7 -6
  177. package/docs/types/Direction-1.html +7 -6
  178. package/docs/types/Direction4.html +7 -6
  179. package/docs/types/FloorplanRuleLabels.html +7 -6
  180. package/docs/types/FloorplanServerRuleLabels.html +7 -6
  181. package/docs/types/GuideLinePluginExportType.html +7 -6
  182. package/docs/types/HelperEventMap.html +7 -6
  183. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
  184. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
  185. package/docs/types/MediaData.html +7 -6
  186. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
  187. package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
  188. package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
  189. package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
  190. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
  191. package/docs/types/MoveArgs.html +7 -6
  192. package/docs/types/MoveOpts.html +7 -6
  193. package/docs/types/Object3DHelperEventMap.html +7 -6
  194. package/docs/types/ObjectFit.html +7 -6
  195. package/docs/types/PaintBrushEventMap.html +7 -6
  196. package/docs/types/PanoCompassPluginData.html +7 -6
  197. package/docs/types/PanoCompassPluginExportType.html +7 -6
  198. package/docs/types/PanoCompassPluginParameterType.html +7 -6
  199. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
  200. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
  201. package/docs/types/PanoMeasurePluginEvent.html +7 -6
  202. package/docs/types/PanoMeasureReturnType.html +7 -6
  203. package/docs/types/PanoSpatialTagPluginId.html +7 -6
  204. package/docs/types/PanoTagPluginExportInterface.html +7 -6
  205. package/docs/types/PanoTagPluginParamsInterface.html +7 -6
  206. package/docs/types/PlaneTag.html +7 -6
  207. package/docs/types/PointTag.html +7 -6
  208. package/docs/types/Position.html +7 -6
  209. package/docs/types/RotateArgs.html +7 -6
  210. package/docs/types/RotateOpts.html +7 -6
  211. package/docs/types/RuleLabelsKey.html +7 -6
  212. package/docs/types/RuleLabelsValue.html +7 -6
  213. package/docs/types/Tag.html +7 -6
  214. package/docs/types/Tag2D.html +7 -6
  215. package/docs/types/Tag3D.html +7 -6
  216. package/docs/types/TagId.html +7 -6
  217. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
  218. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
  219. package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
  220. package/docs/variables/PLUGIN.html +7 -6
  221. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
  222. package/docs/variables/ROOM_TYPE_MAP.html +7 -6
  223. package/docs/variables/VERSION.html +7 -6
  224. package/docs/variables/itemLabelPluginServerParams.html +7 -6
  225. package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
  226. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
  227. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
  228. package/libs/CSS3DRenderPlugin/CSS3DRender.js +187 -251
  229. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  230. package/libs/CSS3DRenderPlugin/Controller.js +48 -57
  231. package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
  232. package/libs/CSS3DRenderPlugin/index.js +3 -2
  233. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  234. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
  235. package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  236. package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
  237. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
  239. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  240. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
  241. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  242. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +39 -0
  244. package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
  245. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +93 -0
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  247. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
  248. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  249. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
  250. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  251. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
  252. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  253. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  254. package/libs/CruisePlugin/Controller.js +16 -16
  255. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  256. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  257. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  258. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  259. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  260. package/libs/ModelTVVideoPlugin/index.js +2 -1
  261. package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
  262. package/libs/Object3DHelperPlugin/Controller.js +89 -74
  263. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  264. package/libs/PanoSpatialTagPlugin/Components/origins.js +39 -39
  265. package/libs/PanoSpatialTagPlugin/index.js +2 -1
  266. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -1
  267. package/libs/PanoTagPlugin/Components/Common/Media.js +53 -53
  268. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +2 -2
  269. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +8 -8
  270. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +13 -13
  271. package/libs/PanoTagPlugin/Components/Common/Shadow.js +5 -5
  272. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +12 -12
  273. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +48 -78
  274. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +25 -25
  275. package/libs/PanoTagPlugin/Components/Tag/index.js +35 -35
  276. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -2
  277. package/libs/PanoTagPlugin/Components/TagWrapper.js +2 -2
  278. package/libs/floorplan/Components/Camera.js +23 -23
  279. package/libs/floorplan/Components/Compass.js +2 -2
  280. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +31 -31
  281. package/libs/floorplan/Components/RuleLabels/RuleItem.js +51 -51
  282. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
  283. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +2 -2
  284. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +26 -26
  285. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +16 -16
  286. package/libs/index.js +106 -97
  287. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  288. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
  289. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  290. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  291. package/libs/shared-utils/three/index.js +2 -1
  292. package/libs/vendor/svelte/internal/index.js +151 -152
  293. package/package.json +14 -14
  294. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  295. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
  296. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  297. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
@@ -1,122 +1,112 @@
1
- import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as r, insert as P, append as g, add_resize_listener as B, set_data as S, noop as G, detach as w, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as a, insert as P, append as g, add_resize_listener as B, set_data as S, noop as G, detach as w, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
2
2
  function J(i) {
3
3
  M(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
4
4
  }
5
- function y(i, e, s) {
6
- const t = i.slice();
7
- return t[6] = e[s], t;
5
+ function y(i, e, n) {
6
+ const l = i.slice();
7
+ return l[6] = e[n], l;
8
8
  }
9
9
  function D(i) {
10
- let e, s = i[0].children, t = [];
11
- for (let l = 0; l < s.length; l += 1)
12
- t[l] = X(y(i, s, l));
10
+ let e, n = i[0].children, l = [];
11
+ for (let t = 0; t < n.length; t += 1)
12
+ l[t] = X(y(i, n, t));
13
13
  return {
14
14
  c() {
15
15
  e = c("div");
16
- for (let l = 0; l < t.length; l += 1)
17
- t[l].c();
16
+ for (let t = 0; t < l.length; t += 1)
17
+ l[t].c();
18
18
  d(e, "class", "rule-mixed-line svelte-1h27ktp");
19
19
  },
20
- m(l, n) {
21
- P(l, e, n);
22
- for (let a = 0; a < t.length; a += 1)
23
- t[a].m(e, null);
20
+ m(t, o) {
21
+ P(t, e, o);
22
+ for (let s = 0; s < l.length; s += 1)
23
+ l[s].m(e, null);
24
24
  },
25
- p(l, n) {
26
- if (n & 9) {
27
- s = l[0].children;
28
- let a;
29
- for (a = 0; a < s.length; a += 1) {
30
- const p = y(l, s, a);
31
- t[a] ? t[a].p(p, n) : (t[a] = X(p), t[a].c(), t[a].m(e, null));
25
+ p(t, o) {
26
+ if (o & 9) {
27
+ n = t[0].children;
28
+ let s;
29
+ for (s = 0; s < n.length; s += 1) {
30
+ const p = y(t, n, s);
31
+ l[s] ? l[s].p(p, o) : (l[s] = X(p), l[s].c(), l[s].m(e, null));
32
32
  }
33
- for (; a < t.length; a += 1)
34
- t[a].d(1);
35
- t.length = s.length;
33
+ for (; s < l.length; s += 1)
34
+ l[s].d(1);
35
+ l.length = n.length;
36
36
  }
37
37
  },
38
- d(l) {
39
- l && w(e), V(t, l);
38
+ d(t) {
39
+ t && w(e), V(l, t);
40
40
  }
41
41
  };
42
42
  }
43
43
  function A(i) {
44
- let e, s;
44
+ let e, n;
45
45
  return {
46
46
  c() {
47
- e = c("em"), d(e, "class", s = Z(i[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]);
47
+ e = c("em"), d(e, "class", n = Z(i[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]);
48
48
  },
49
- m(t, l) {
50
- P(t, e, l);
49
+ m(l, t) {
50
+ P(l, e, t);
51
51
  },
52
- p(t, l) {
53
- l & 1 && s !== (s = Z(t[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", s), l & 8 && d(e, "style", t[3]);
52
+ p(l, t) {
53
+ t & 1 && n !== (n = Z(l[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", n), t & 8 && d(e, "style", l[3]);
54
54
  },
55
- d(t) {
56
- t && w(e);
55
+ d(l) {
56
+ l && w(e);
57
57
  }
58
58
  };
59
59
  }
60
60
  function X(i) {
61
- let e, s, t = `${i[6].width}px`;
61
+ let e, n, l = `${i[6].width}px`;
62
62
  return {
63
63
  c() {
64
- e = c("div"), d(e, "class", s = Z(i[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]), r(e, "width", t, !1);
64
+ e = c("div"), d(e, "class", n = Z(i[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]), a(e, "width", l);
65
65
  },
66
- m(l, n) {
67
- P(l, e, n);
66
+ m(t, o) {
67
+ P(t, e, o);
68
68
  },
69
- p(l, n) {
70
- n & 1 && s !== (s = Z(l[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", s), n & 8 && d(e, "style", l[3]), n & 1 && t !== (t = `${l[6].width}px`) && r(e, "width", t, !1);
69
+ p(t, o) {
70
+ o & 1 && n !== (n = Z(t[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", n), o & 8 && d(e, "style", t[3]), o & 1 && l !== (l = `${t[6].width}px`) && a(e, "width", l);
71
71
  },
72
- d(l) {
73
- l && w(e);
72
+ d(t) {
73
+ t && w(e);
74
74
  }
75
75
  };
76
76
  }
77
77
  function C(i) {
78
- let e, s, t, l, n = i[0].labelElement + "", a, p, u = `${i[0].labelOffset}%`, f = `${i[0].width}px`, v = `${i[0].left}px`, b = `${i[0].top}px`, I = `rotate(${i[0].rotateDeg}deg)`;
79
- function _(o, m) {
80
- return o[0].children.length === 0 ? A : D;
78
+ let e, n, l, t, o = i[0].labelElement + "", s, p, f = `${i[0].labelOffset}%`, u = `${i[0].width}px`, v = `${i[0].left}px`, b = `${i[0].top}px`, I = `rotate(${i[0].rotateDeg}deg)`;
79
+ function _(r, m) {
80
+ return r[0].children.length === 0 ? A : D;
81
81
  }
82
82
  let k = _(i), h = k(i);
83
83
  return {
84
84
  c() {
85
- e = c("div"), h.c(), s = z(), t = c("div"), l = c("div"), a = N(n), d(l, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => i[4].call(l)), d(t, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), r(t, "left", u, !1), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), r(e, "width", f, !1), r(e, "left", v, !1), r(e, "top", b, !1), r(e, "transform", I, !1), r(
86
- e,
87
- "display",
88
- i[0].visible && i[2] ? "block" : "none",
89
- !1
90
- );
85
+ e = c("div"), h.c(), n = z(), l = c("div"), t = c("div"), s = N(o), d(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => i[4].call(t)), d(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(e, "display", i[0].visible && i[2] ? "block" : "none");
91
86
  },
92
- m(o, m) {
93
- P(o, e, m), h.m(e, null), g(e, s), g(e, t), g(t, l), g(l, a), p = B(l, i[4].bind(l));
87
+ m(r, m) {
88
+ P(r, e, m), h.m(e, null), g(e, n), g(e, l), g(l, t), g(t, s), p = B(t, i[4].bind(t));
94
89
  },
95
- p(o, [m]) {
96
- k === (k = _(o)) && h ? h.p(o, m) : (h.d(1), h = k(o), h && (h.c(), h.m(e, s))), m & 1 && n !== (n = o[0].labelElement + "") && S(a, n), m & 1 && u !== (u = `${o[0].labelOffset}%`) && r(t, "left", u, !1), m & 1 && f !== (f = `${o[0].width}px`) && r(e, "width", f, !1), m & 1 && v !== (v = `${o[0].left}px`) && r(e, "left", v, !1), m & 1 && b !== (b = `${o[0].top}px`) && r(e, "top", b, !1), m & 1 && I !== (I = `rotate(${o[0].rotateDeg}deg)`) && r(e, "transform", I, !1), m & 5 && r(
97
- e,
98
- "display",
99
- o[0].visible && o[2] ? "block" : "none",
100
- !1
101
- );
90
+ p(r, [m]) {
91
+ k === (k = _(r)) && h ? h.p(r, m) : (h.d(1), h = k(r), h && (h.c(), h.m(e, n))), m & 1 && o !== (o = r[0].labelElement + "") && S(s, o), m & 1 && f !== (f = `${r[0].labelOffset}%`) && a(l, "left", f), m & 1 && u !== (u = `${r[0].width}px`) && a(e, "width", u), m & 1 && v !== (v = `${r[0].left}px`) && a(e, "left", v), m & 1 && b !== (b = `${r[0].top}px`) && a(e, "top", b), m & 1 && I !== (I = `rotate(${r[0].rotateDeg}deg)`) && a(e, "transform", I), m & 5 && a(e, "display", r[0].visible && r[2] ? "block" : "none");
102
92
  },
103
93
  i: G,
104
94
  o: G,
105
- d(o) {
106
- o && w(e), h.d(), p();
95
+ d(r) {
96
+ r && w(e), h.d(), p();
107
97
  }
108
98
  };
109
99
  }
110
- function Y(i, e, s) {
111
- let t, { rulerItemProp: l } = e, n = !0, a, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
112
- function u() {
113
- a = this.offsetWidth, s(1, a);
100
+ function Y(i, e, n) {
101
+ let l, { rulerItemProp: t } = e, o = !0, s, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
102
+ function f() {
103
+ s = this.offsetWidth, n(1, s);
114
104
  }
115
- return i.$$set = (f) => {
116
- "rulerItemProp" in f && s(0, l = f.rulerItemProp);
105
+ return i.$$set = (u) => {
106
+ "rulerItemProp" in u && n(0, t = u.rulerItemProp);
117
107
  }, i.$$.update = () => {
118
- i.$$.dirty & 3 && (a >= l.width || a / 2 >= l.labelOffset / 100 * l.width || a / 2 >= (1 - l.labelOffset / 100) * l.width ? s(2, n = !1) : s(2, n = !0));
119
- }, s(3, t = `--background-image: url(${p})`), [l, a, n, t, u];
108
+ i.$$.dirty & 3 && (s >= t.width || s / 2 >= t.labelOffset / 100 * t.width || s / 2 >= (1 - t.labelOffset / 100) * t.width ? n(2, o = !1) : n(2, o = !0));
109
+ }, n(3, l = `--background-image: url(${p})`), [t, s, o, l, f];
120
110
  }
121
111
  class U extends R {
122
112
  constructor(e) {
@@ -4,73 +4,73 @@ import "../../vendor/svelte/store/index.js";
4
4
  function w(n) {
5
5
  y(n, "svelte-19zi46m", ".PanoSpatialTagPlugin__tag-origin.svelte-19zi46m{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-19zi46m:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-19zi46m{transform:translate(-50%, -50%) scale(0.6);animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
6
6
  }
7
- function _(n, t, l) {
7
+ function _(n, t, o) {
8
8
  const e = n.slice();
9
- return e[3] = t[l], e;
9
+ return e[3] = t[o], e;
10
10
  }
11
11
  function m(n) {
12
- let t, l = `${n[3].top}%`, e = `${n[3].left}%`, i, o;
13
- function a() {
12
+ let t, o = `${n[3].top}%`, e = `${n[3].left}%`, a, l;
13
+ function i() {
14
14
  return n[2](n[3]);
15
15
  }
16
16
  return {
17
17
  c() {
18
- t = T("i"), b(t, "class", "svelte-19zi46m"), f(t, "PanoSpatialTagPlugin__tag-origin", !0), f(t, "PanoSpatialTagPlugin__tag-origin-destroy", n[3].destroying), g(t, "top", l, !1), g(t, "left", e, !1), g(t, "visibility", n[3].front ? "visible" : "hidden", !1);
18
+ t = T("i"), b(t, "class", "svelte-19zi46m"), f(t, "PanoSpatialTagPlugin__tag-origin", !0), f(t, "PanoSpatialTagPlugin__tag-origin-destroy", n[3].destroying), g(t, "top", o), g(t, "left", e), g(t, "visibility", n[3].front ? "visible" : "hidden");
19
19
  },
20
- m(s, r) {
21
- p(s, t, r), i || (o = k(t, "click", a), i = !0);
20
+ m(r, s) {
21
+ p(r, t, s), a || (l = k(t, "click", i), a = !0);
22
22
  },
23
- p(s, r) {
24
- n = s, r & 1 && f(t, "PanoSpatialTagPlugin__tag-origin-destroy", n[3].destroying), r & 1 && l !== (l = `${n[3].top}%`) && g(t, "top", l, !1), r & 1 && e !== (e = `${n[3].left}%`) && g(t, "left", e, !1), r & 1 && g(t, "visibility", n[3].front ? "visible" : "hidden", !1);
23
+ p(r, s) {
24
+ n = r, s & 1 && f(t, "PanoSpatialTagPlugin__tag-origin-destroy", n[3].destroying), s & 1 && o !== (o = `${n[3].top}%`) && g(t, "top", o), s & 1 && e !== (e = `${n[3].left}%`) && g(t, "left", e), s & 1 && g(t, "visibility", n[3].front ? "visible" : "hidden");
25
25
  },
26
- d(s) {
27
- s && u(t), i = !1, o();
26
+ d(r) {
27
+ r && u(t), a = !1, l();
28
28
  }
29
29
  };
30
30
  }
31
31
  function $(n) {
32
- let t, l = n[0], e = [];
33
- for (let i = 0; i < l.length; i += 1)
34
- e[i] = m(_(n, l, i));
32
+ let t, o = n[0], e = [];
33
+ for (let a = 0; a < o.length; a += 1)
34
+ e[a] = m(_(n, o, a));
35
35
  return {
36
36
  c() {
37
- for (let i = 0; i < e.length; i += 1)
38
- e[i].c();
37
+ for (let a = 0; a < e.length; a += 1)
38
+ e[a].c();
39
39
  t = v();
40
40
  },
41
- m(i, o) {
42
- for (let a = 0; a < e.length; a += 1)
43
- e[a].m(i, o);
44
- p(i, t, o);
41
+ m(a, l) {
42
+ for (let i = 0; i < e.length; i += 1)
43
+ e[i].m(a, l);
44
+ p(a, t, l);
45
45
  },
46
- p(i, [o]) {
47
- if (o & 3) {
48
- l = i[0];
49
- let a;
50
- for (a = 0; a < l.length; a += 1) {
51
- const s = _(i, l, a);
52
- e[a] ? e[a].p(s, o) : (e[a] = m(s), e[a].c(), e[a].m(t.parentNode, t));
46
+ p(a, [l]) {
47
+ if (l & 3) {
48
+ o = a[0];
49
+ let i;
50
+ for (i = 0; i < o.length; i += 1) {
51
+ const r = _(a, o, i);
52
+ e[i] ? e[i].p(r, l) : (e[i] = m(r), e[i].c(), e[i].m(t.parentNode, t));
53
53
  }
54
- for (; a < e.length; a += 1)
55
- e[a].d(1);
56
- e.length = l.length;
54
+ for (; i < e.length; i += 1)
55
+ e[i].d(1);
56
+ e.length = o.length;
57
57
  }
58
58
  },
59
59
  i: c,
60
60
  o: c,
61
- d(i) {
62
- S(e, i), i && u(t);
61
+ d(a) {
62
+ S(e, a), a && u(t);
63
63
  }
64
64
  };
65
65
  }
66
- function C(n, t, l) {
66
+ function C(n, t, o) {
67
67
  let { origins: e } = t;
68
- const i = (a) => {
69
- z.update(() => `${a}-PanoSpatialTagPlugin-${Date.now()}`);
70
- }, o = (a) => i(a.id);
71
- return n.$$set = (a) => {
72
- "origins" in a && l(0, e = a.origins);
73
- }, [e, i, o];
68
+ const a = (i) => {
69
+ z.update(() => `${i}-PanoSpatialTagPlugin-${Date.now()}`);
70
+ }, l = (i) => a(i.id);
71
+ return n.$$set = (i) => {
72
+ "origins" in i && o(0, e = i.origins);
73
+ }, [e, a, l];
74
74
  }
75
75
  class O extends d {
76
76
  constructor(t) {
@@ -1,4 +1,5 @@
1
1
  import "three";
2
2
  import "@realsee/five";
3
- import "three/examples/jsm/renderers/CSS3DRenderer";
3
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
4
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
4
5
  import "../vendor/svelte/internal/index.js";
@@ -36,7 +36,7 @@ function L(t) {
36
36
  ], m = !0);
37
37
  },
38
38
  p(s, _) {
39
- t = s, (!a || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), _ & 64 && M(e, "paused", t[6]);
39
+ t = s, (!a || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!a || _ & 64) && M(e, "paused", t[6]);
40
40
  },
41
41
  i(s) {
42
42
  a || (v(i.$$.fragment, s), s && W(() => {
@@ -1,17 +1,17 @@
1
1
  var z = (a, n, i) => new Promise((e, t) => {
2
- var l = (r) => {
2
+ var o = (r) => {
3
3
  try {
4
4
  u(i.next(r));
5
5
  } catch (m) {
6
6
  t(m);
7
7
  }
8
- }, o = (r) => {
8
+ }, l = (r) => {
9
9
  try {
10
10
  u(i.throw(r));
11
11
  } catch (m) {
12
12
  t(m);
13
13
  }
14
- }, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(l, o);
14
+ }, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, l);
15
15
  u((i = i.apply(a, n)).next());
16
16
  });
17
17
  import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, transition_out as p, check_outros as D, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, group_outros as j, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as de } from "../../../vendor/svelte/internal/index.js";
@@ -41,7 +41,7 @@ function W(a, n, i) {
41
41
  return e[23] = n[i], e;
42
42
  }
43
43
  function X(a) {
44
- let n, i, e, t, l, o;
44
+ let n, i, e, t, o, l;
45
45
  const u = [he, ge], r = [];
46
46
  function m(s, g) {
47
47
  return s[13] ? 0 : 1;
@@ -51,35 +51,35 @@ function X(a) {
51
51
  n = le("div"), e.c(), oe(n, "class", "media svelte-ai0lv9"), J(n, "unfolded", a[4]);
52
52
  },
53
53
  m(s, g) {
54
- w(s, n, g), r[i].m(n, null), o = !0;
54
+ w(s, n, g), r[i].m(n, null), l = !0;
55
55
  },
56
56
  p(s, g) {
57
57
  a = s;
58
58
  let b = i;
59
59
  i = m(a), i === b ? r[i].p(a, g) : (j(), p(r[b], 1, 1, () => {
60
60
  r[b] = null;
61
- }), D(), e = r[i], e ? e.p(a, g) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), g & 16 && J(n, "unfolded", a[4]);
61
+ }), D(), e = r[i], e ? e.p(a, g) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), (!l || g & 16) && J(n, "unfolded", a[4]);
62
62
  },
63
63
  i(s) {
64
- o || (_(e), s && re(() => {
65
- l && l.end(1), t = fe(n, Q, a[5] ? {
64
+ l || (_(e), s && re(() => {
65
+ o && o.end(1), t = fe(n, Q, a[5] ? {
66
66
  y: 4,
67
67
  duration: a[3],
68
68
  delay: a[1],
69
69
  easing: K
70
70
  } : void 0), t.start();
71
- }), o = !0);
71
+ }), l = !0);
72
72
  },
73
73
  o(s) {
74
- p(e), t && t.invalidate(), s && (l = ue(n, Q, a[5] ? {
74
+ p(e), t && t.invalidate(), s && (o = ue(n, Q, a[5] ? {
75
75
  y: 4,
76
76
  duration: a[3],
77
77
  delay: a[2],
78
78
  easing: K
79
- } : void 0)), o = !1;
79
+ } : void 0)), l = !1;
80
80
  },
81
81
  d(s) {
82
- s && I(n), r[i].d(), s && l && l.end();
82
+ s && I(n), r[i].d(), s && o && o.end();
83
83
  }
84
84
  };
85
85
  }
@@ -100,8 +100,8 @@ function ge(a) {
100
100
  L(n, e, t), i = !0;
101
101
  },
102
102
  p(e, t) {
103
- const l = {};
104
- t & 1 && (l.media = e[0][0]), t & 256 && (l.objectFit = e[8]), t & 64 && (l.playButtonIfNeed = e[6]), t & 128 && (l.canPlay = e[7]), n.$set(l);
103
+ const o = {};
104
+ t & 1 && (o.media = e[0][0]), t & 256 && (o.objectFit = e[8]), t & 64 && (o.playButtonIfNeed = e[6]), t & 128 && (o.canPlay = e[7]), n.$set(o);
105
105
  },
106
106
  i(e) {
107
107
  i || (_(n.$$.fragment, e), i = !0);
@@ -138,12 +138,12 @@ function he(a) {
138
138
  L(n, e, t), i = !0;
139
139
  },
140
140
  p(e, t) {
141
- const l = {};
142
- t & 16384 && (l.autoplay = e[14] ? R({
141
+ const o = {};
142
+ t & 16384 && (o.autoplay = e[14] ? R({
143
143
  delay: 4e3,
144
144
  stopOnLastSlide: !1,
145
145
  disableOnInteraction: !1
146
- }) : !1), t & 67111360 && (l.$$scope = { dirty: t, ctx: e }), n.$set(l);
146
+ }) : !1), t & 67111360 && (o.$$scope = { dirty: t, ctx: e }), n.$set(o);
147
147
  },
148
148
  i(e) {
149
149
  i || (_(n.$$.fragment, e), i = !0);
@@ -169,12 +169,12 @@ function be(a) {
169
169
  c() {
170
170
  C(n.$$.fragment), i = de();
171
171
  },
172
- m(t, l) {
173
- L(n, t, l), w(t, i, l), e = !0;
172
+ m(t, o) {
173
+ L(n, t, o), w(t, i, o), e = !0;
174
174
  },
175
- p(t, l) {
176
- const o = {};
177
- l & 2048 && (o.media = t[23]), l & 256 && (o.objectFit = t[8]), l & 64 && (o.playButtonIfNeed = t[6]), l & 128 && (o.canPlay = t[7]), n.$set(o);
175
+ p(t, o) {
176
+ const l = {};
177
+ o & 2048 && (l.media = t[23]), o & 256 && (l.objectFit = t[8]), o & 64 && (l.playButtonIfNeed = t[6]), o & 128 && (l.canPlay = t[7]), n.$set(l);
178
178
  },
179
179
  i(t) {
180
180
  e || (_(n.$$.fragment, t), e = !0);
@@ -202,8 +202,8 @@ function Y(a) {
202
202
  L(n, e, t), i = !0;
203
203
  },
204
204
  p(e, t) {
205
- const l = {};
206
- t & 67111360 && (l.$$scope = { dirty: t, ctx: e }), n.$set(l);
205
+ const o = {};
206
+ t & 67111360 && (o.$$scope = { dirty: t, ctx: e }), n.$set(o);
207
207
  },
208
208
  i(e) {
209
209
  i || (_(n.$$.fragment, e), i = !0);
@@ -218,50 +218,50 @@ function Y(a) {
218
218
  }
219
219
  function ve(a) {
220
220
  let n, i, e = a[11], t = [];
221
- for (let o = 0; o < e.length; o += 1)
222
- t[o] = Y(W(a, e, o));
223
- const l = (o) => p(t[o], 1, 1, () => {
224
- t[o] = null;
221
+ for (let l = 0; l < e.length; l += 1)
222
+ t[l] = Y(W(a, e, l));
223
+ const o = (l) => p(t[l], 1, 1, () => {
224
+ t[l] = null;
225
225
  });
226
226
  return {
227
227
  c() {
228
- for (let o = 0; o < t.length; o += 1)
229
- t[o].c();
228
+ for (let l = 0; l < t.length; l += 1)
229
+ t[l].c();
230
230
  n = Z();
231
231
  },
232
- m(o, u) {
232
+ m(l, u) {
233
233
  for (let r = 0; r < t.length; r += 1)
234
- t[r].m(o, u);
235
- w(o, n, u), i = !0;
234
+ t[r].m(l, u);
235
+ w(l, n, u), i = !0;
236
236
  },
237
- p(o, u) {
237
+ p(l, u) {
238
238
  if (u & 2496) {
239
- e = o[11];
239
+ e = l[11];
240
240
  let r;
241
241
  for (r = 0; r < e.length; r += 1) {
242
- const m = W(o, e, r);
242
+ const m = W(l, e, r);
243
243
  t[r] ? (t[r].p(m, u), _(t[r], 1)) : (t[r] = Y(m), t[r].c(), _(t[r], 1), t[r].m(n.parentNode, n));
244
244
  }
245
245
  for (j(), r = e.length; r < t.length; r += 1)
246
- l(r);
246
+ o(r);
247
247
  D();
248
248
  }
249
249
  },
250
- i(o) {
250
+ i(l) {
251
251
  if (!i) {
252
252
  for (let u = 0; u < e.length; u += 1)
253
253
  _(t[u]);
254
254
  i = !0;
255
255
  }
256
256
  },
257
- o(o) {
257
+ o(l) {
258
258
  t = t.filter(Boolean);
259
259
  for (let u = 0; u < t.length; u += 1)
260
260
  p(t[u]);
261
261
  i = !1;
262
262
  },
263
- d(o) {
264
- se(t, o), o && I(n);
263
+ d(l) {
264
+ se(t, l), l && I(n);
265
265
  }
266
266
  };
267
267
  }
@@ -271,11 +271,11 @@ function ke(a) {
271
271
  c() {
272
272
  e && e.c(), n = Z();
273
273
  },
274
- m(t, l) {
275
- e && e.m(t, l), w(t, n, l), i = !0;
274
+ m(t, o) {
275
+ e && e.m(t, o), w(t, n, o), i = !0;
276
276
  },
277
- p(t, [l]) {
278
- t[4] ? e ? (e.p(t, l), l & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (j(), p(e, 1, 1, () => {
277
+ p(t, [o]) {
278
+ t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (j(), p(e, 1, 1, () => {
279
279
  e = null;
280
280
  }), D());
281
281
  },
@@ -291,14 +291,14 @@ function ke(a) {
291
291
  };
292
292
  }
293
293
  function we(a, n, i) {
294
- let e, t, l, { tag: o } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: g = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
294
+ let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: g = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
295
295
  const O = G("mediaStore"), M = G("hooks");
296
296
  let h;
297
297
  function B(f) {
298
298
  !e || !h || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
299
299
  event: f,
300
300
  state: "playing",
301
- tag: o,
301
+ tag: l,
302
302
  mediaInstance: this
303
303
  }), h.autoplay.stop());
304
304
  }
@@ -306,7 +306,7 @@ function we(a, n, i) {
306
306
  !e || !h || (M.emit("playStateChange", {
307
307
  event: f,
308
308
  state: "paused",
309
- tag: o,
309
+ tag: l,
310
310
  mediaInstance: this
311
311
  }), h.autoplay.running || h.autoplay.start());
312
312
  }
@@ -315,7 +315,7 @@ function we(a, n, i) {
315
315
  i(10, h = f.detail[0]);
316
316
  }, ee = (f) => z(this, null, function* () {
317
317
  var H, T, U;
318
- if (!l || !k.autoplayVideo)
318
+ if (!o || !k.autoplayVideo)
319
319
  return;
320
320
  const y = f.detail[0];
321
321
  if (!y)
@@ -336,9 +336,9 @@ function we(a, n, i) {
336
336
  }
337
337
  });
338
338
  return a.$$set = (f) => {
339
- "tag" in f && i(17, o = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, g = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
339
+ "tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, g = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
340
340
  }, a.$$.update = () => {
341
- a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, l = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && h && h.slides.forEach((f) => {
341
+ a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && h && h.slides.forEach((f) => {
342
342
  const y = f.querySelector("video");
343
343
  y && O.subscribe(({ currentMediaUrl: v }) => {
344
344
  v !== y.src && y.pause();
@@ -359,10 +359,10 @@ function we(a, n, i) {
359
359
  t,
360
360
  S,
361
361
  e,
362
- l,
362
+ o,
363
363
  B,
364
364
  N,
365
- o,
365
+ l,
366
366
  E,
367
367
  $,
368
368
  ee
@@ -31,7 +31,7 @@ function w(l, t) {
31
31
  key: l,
32
32
  first: null,
33
33
  c() {
34
- i = H("div"), D(o.$$.fragment), U(i, "class", "text svelte-1fuzm7v"), k(i, "transform", t[7], !1), this.first = i;
34
+ i = H("div"), D(o.$$.fragment), U(i, "class", "text svelte-1fuzm7v"), k(i, "transform", t[7]), this.first = i;
35
35
  },
36
36
  m(f, m) {
37
37
  h(f, i, m), x(o, i, null), t[10](i), r = !0;
@@ -39,7 +39,7 @@ function w(l, t) {
39
39
  p(f, m) {
40
40
  t = f;
41
41
  const u = {};
42
- m & 1 && (u.unfolded = t[0]), m & 2 && (u.content = t[12]), m & 32 && (u.outDelay = t[5]), o.$set(u), m & 128 && k(i, "transform", t[7], !1);
42
+ m & 1 && (u.unfolded = t[0]), m & 2 && (u.content = t[12]), m & 32 && (u.outDelay = t[5]), o.$set(u), m & 128 && k(i, "transform", t[7]);
43
43
  },
44
44
  i(f) {
45
45
  r || (_(o.$$.fragment, f), r = !0);