@realsee/dnalogel 2.1.0-alpha.10 → 2.1.0-alpha.12

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 (324) hide show
  1. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  2. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  3. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  4. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  5. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  6. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  7. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  9. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  10. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  11. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  12. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  13. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  14. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  15. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  16. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  17. package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  18. package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  19. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  20. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  21. package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  22. package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  23. package/dist/CruisePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  24. package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  25. package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  26. package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  27. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  28. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  29. package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  30. package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  31. package/dist/GuideLinePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  32. package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  33. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  34. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  35. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  36. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  37. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  38. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  39. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  40. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  41. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  42. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  43. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  44. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  45. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  46. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  47. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  48. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  49. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  50. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  51. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  52. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  53. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  54. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  55. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  56. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  57. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  58. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  59. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  60. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  61. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  62. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  63. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  64. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  65. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  66. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  67. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  68. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  69. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  70. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  71. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  72. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  73. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  74. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  75. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  76. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  77. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  78. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  79. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  80. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  81. package/dist/ModelViewPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  82. package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  83. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  84. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  85. package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  86. package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  87. package/dist/ModelViewPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  88. package/dist/ModelViewPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  89. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  90. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  91. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  92. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  93. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  94. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  95. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  96. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  97. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  98. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  99. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  100. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  101. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  102. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  103. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  104. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  105. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  106. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  107. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  108. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  109. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  110. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  111. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  112. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  113. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  114. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  115. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  116. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  117. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  118. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  119. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  120. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  121. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  122. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  123. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  124. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  125. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  126. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  127. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  128. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  129. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  130. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  131. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  132. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  133. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  134. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  135. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  136. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  137. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  138. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  139. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  140. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  141. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  142. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  143. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  144. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  145. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  146. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  147. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  148. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  149. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  150. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  151. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  152. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  153. package/dist/PanoTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  154. package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  155. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  156. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  157. package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  158. package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  159. package/dist/PanoTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  160. package/dist/PanoTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  161. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  162. package/dist/PanoTagPlugin/controller/index.d.ts +9 -4
  163. package/dist/PanoTagPlugin/index.js +723 -311
  164. package/dist/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  165. package/dist/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  166. package/dist/PanoTagPlugin/typings/controller.d.ts +3 -0
  167. package/dist/PanoTagPlugin/typings/tag.d.ts +10 -0
  168. package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
  169. package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  170. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  171. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  172. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  173. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  174. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  175. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  176. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  177. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  178. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  179. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  180. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  181. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  182. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  183. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  184. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  185. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  186. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  187. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  188. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  189. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  190. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  191. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  192. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  193. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  194. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  195. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  196. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  197. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  198. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  199. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  200. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  201. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  202. package/dist/index.es.js +922 -510
  203. package/dist/index.js +922 -510
  204. package/dist/index.umd.js +922 -514
  205. package/docs/assets/search.js +1 -1
  206. package/docs/classes/CruisePluginController.html +14 -14
  207. package/docs/classes/Magnifier.html +4 -4
  208. package/docs/classes/ModelRoomLabelController.html +4 -4
  209. package/docs/classes/Object3DHelperController.html +9 -9
  210. package/docs/classes/PanoTagPluginController.html +23 -51
  211. package/docs/enums/CameraMovementEffect.html +2 -2
  212. package/docs/enums/ContentType.html +7 -7
  213. package/docs/enums/DIRECTION.html +1 -1
  214. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  215. package/docs/enums/DimensionType.html +1 -1
  216. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  217. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  218. package/docs/enums/LinkType.html +1 -1
  219. package/docs/enums/PointType.html +1 -1
  220. package/docs/enums/Rotation.html +2 -2
  221. package/docs/index.html +1 -1
  222. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  223. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  224. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  225. package/docs/interfaces/FloorplanBounding.html +4 -4
  226. package/docs/interfaces/FloorplanData.html +2 -2
  227. package/docs/interfaces/FloorplanEntrance.html +7 -7
  228. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  229. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  230. package/docs/interfaces/FloorplanFloorData.html +2 -2
  231. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  232. package/docs/interfaces/FloorplanObserver.html +2 -2
  233. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  234. package/docs/interfaces/FloorplanPosition.html +2 -2
  235. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  236. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  237. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  238. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  239. package/docs/interfaces/FloorplanServerData.html +2 -2
  240. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  241. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  242. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  243. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  244. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  245. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  246. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  247. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  248. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  249. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  250. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  251. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  252. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  253. package/docs/interfaces/LineJson.html +1 -1
  254. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  255. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  256. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  257. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  258. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  259. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  260. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  261. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  262. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  263. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  264. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  265. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  266. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  267. package/docs/interfaces/Object3DHelperState.html +1 -1
  268. package/docs/interfaces/OpenParameter.html +2 -2
  269. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  270. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  271. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  272. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  273. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  274. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  275. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  276. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  277. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  278. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  279. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  280. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  281. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  282. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  283. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  284. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  285. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  286. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  287. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  288. package/docs/interfaces/Point.html +1 -1
  289. package/docs/interfaces/PointJson.html +1 -1
  290. package/docs/interfaces/Room.html +1 -1
  291. package/docs/interfaces/RoomInfo.html +1 -1
  292. package/docs/interfaces/RoomLabel.html +7 -7
  293. package/docs/interfaces/RoomRules.html +1 -1
  294. package/docs/interfaces/Rooms.html +1 -1
  295. package/docs/interfaces/Scissor.html +5 -5
  296. package/docs/interfaces/TagConfig.html +3 -3
  297. package/docs/interfaces/Tags.html +3 -3
  298. package/docs/modules.html +21 -21
  299. package/libs/PanoTagPlugin/Components/Common/Media.js +347 -194
  300. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +216 -0
  301. package/libs/PanoTagPlugin/Components/Common/Text.js +18 -2
  302. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -0
  303. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +37 -17
  304. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  305. package/libs/PanoTagPlugin/controller/TagComputer.js +14 -22
  306. package/libs/PanoTagPlugin/controller/index.d.ts +9 -4
  307. package/libs/PanoTagPlugin/controller/index.js +50 -23
  308. package/libs/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  309. package/libs/PanoTagPlugin/mocks/mock1.js +12 -7
  310. package/libs/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  311. package/libs/PanoTagPlugin/mocks/mock3.js +21 -22
  312. package/libs/PanoTagPlugin/typings/controller.d.ts +3 -0
  313. package/libs/PanoTagPlugin/typings/tag.d.ts +10 -0
  314. package/libs/PanoTagPlugin/utils/constants.d.ts +3 -0
  315. package/libs/PanoTagPlugin/utils/constants.js +5 -0
  316. package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  317. package/package.json +1 -1
  318. package/libs/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  319. package/libs/CSS3DRenderPlugin/Plugin.js +0 -182
  320. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  321. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +0 -18
  322. package/libs/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  323. package/libs/GuideLinePlugin/utils/getLineGeometry.js +0 -64
  324. package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +0 -159
package/dist/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@realsee/five/line'), require('svelte/internal'), require('svelte'), require('svelte/easing'), require('svelte/transition'), require('svelte/store'), require('@realsee/five'), require('three/examples/jsm/loaders/FBXLoader'), require('@tweenjs/tween.js'), require('hammerjs'), require('classnames'), require('object-assign-deep'), require('animejs')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@realsee/five/line', 'svelte/internal', 'svelte', 'svelte/easing', 'svelte/transition', 'svelte/store', '@realsee/five', 'three/examples/jsm/loaders/FBXLoader', '@tweenjs/tween.js', 'hammerjs', 'classnames', 'object-assign-deep', 'animejs'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dnalogel = {}, global.THREE, global.CSS3DRenderer, global.FiveSDK_Line, global.internal, global.svelte, global.easing, global.transition, global.store, global.five, global.FBXLoader, global.TWEEN, global.Hammer, global.classNames, global.objectAssignDeep, global.anime));
5
- })(this, (function (exports, THREE, CSS3DRenderer, line, internal, svelte, easing, transition, store, five, FBXLoader, TWEEN, Hammer, classNames, objectAssignDeep, anime) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@realsee/five/line'), require('svelte/internal'), require('svelte'), require('svelte/easing'), require('svelte/transition'), require('svelte/store'), require('@realsee/five'), require('three/examples/jsm/loaders/FBXLoader'), require('@tweenjs/tween.js'), require('hammerjs'), require('classnames'), require('object-assign-deep'), require('animejs'), require('swiper/svelte'), require('swiper'), require('swiper/css'), require('swiper/css/autoplay')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@realsee/five/line', 'svelte/internal', 'svelte', 'svelte/easing', 'svelte/transition', 'svelte/store', '@realsee/five', 'three/examples/jsm/loaders/FBXLoader', '@tweenjs/tween.js', 'hammerjs', 'classnames', 'object-assign-deep', 'animejs', 'swiper/svelte', 'swiper', 'swiper/css', 'swiper/css/autoplay'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dnalogel = {}, global.THREE, global.CSS3DRenderer, global.FiveSDK_Line, global.internal, global.svelte, global.easing, global.transition, global.store, global.five, global.FBXLoader, global.TWEEN, global.Hammer, global.classNames, global.objectAssignDeep, global.anime, global.svelte$1, global.swiper));
5
+ })(this, (function (exports, THREE, CSS3DRenderer, line, internal, svelte, easing, transition, store, five, FBXLoader, TWEEN, Hammer, classNames, objectAssignDeep, anime, svelte$1, swiper) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -316,7 +316,7 @@
316
316
  return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
317
317
  }
318
318
 
319
- function random() {
319
+ function random$1() {
320
320
  return Math.random().toString(36).slice(-6);
321
321
  }
322
322
 
@@ -903,7 +903,7 @@
903
903
  }
904
904
 
905
905
  const VERSION$5 = 'v2.0.0';
906
- const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random()}@${VERSION$5}`;
906
+ const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random$1()}@${VERSION$5}`;
907
907
  class Controller$8 extends CSS3DRender {
908
908
  constructor(five) {
909
909
  super();
@@ -1096,11 +1096,11 @@
1096
1096
 
1097
1097
  /* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.50.1 */
1098
1098
 
1099
- function add_css$L(target) {
1099
+ function add_css$M(target) {
1100
1100
  internal.append_styles(target, "svelte-1d7uzh5", ".room-label-item.svelte-1d7uzh5{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-1d7uzh5{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1d7uzh5{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1d7uzh5{font-size:0.625rem}");
1101
1101
  }
1102
1102
 
1103
- function create_fragment$Q(ctx) {
1103
+ function create_fragment$R(ctx) {
1104
1104
  let div1;
1105
1105
  let span;
1106
1106
  let t0_value = /*roomLabel*/ ctx[0].name + "";
@@ -1167,7 +1167,7 @@
1167
1167
  };
1168
1168
  }
1169
1169
 
1170
- function instance$Q($$self, $$props, $$invalidate) {
1170
+ function instance$R($$self, $$props, $$invalidate) {
1171
1171
  let { five } = $$props;
1172
1172
  let { roomLabel } = $$props;
1173
1173
 
@@ -1190,7 +1190,7 @@
1190
1190
  class RoomLabelItem extends internal.SvelteComponent {
1191
1191
  constructor(options) {
1192
1192
  super();
1193
- internal.init(this, options, instance$Q, create_fragment$Q, internal.safe_not_equal, { five: 2, roomLabel: 0 }, add_css$L);
1193
+ internal.init(this, options, instance$R, create_fragment$R, internal.safe_not_equal, { five: 2, roomLabel: 0 }, add_css$M);
1194
1194
  }
1195
1195
  }
1196
1196
 
@@ -1198,7 +1198,7 @@
1198
1198
 
1199
1199
  const { Map: Map_1 } = internal.globals;
1200
1200
 
1201
- function add_css$K(target) {
1201
+ function add_css$L(target) {
1202
1202
  internal.append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
1203
1203
  }
1204
1204
 
@@ -1257,7 +1257,7 @@
1257
1257
  };
1258
1258
  }
1259
1259
 
1260
- function create_fragment$P(ctx) {
1260
+ function create_fragment$Q(ctx) {
1261
1261
  let div;
1262
1262
  let each_blocks = [];
1263
1263
  let each_1_lookup = new Map_1();
@@ -1329,7 +1329,7 @@
1329
1329
  };
1330
1330
  }
1331
1331
 
1332
- function instance$P($$self, $$props, $$invalidate) {
1332
+ function instance$Q($$self, $$props, $$invalidate) {
1333
1333
  let rendererSize;
1334
1334
  let { five } = $$props;
1335
1335
  let { roomLabels } = $$props;
@@ -1454,7 +1454,7 @@
1454
1454
  class RoomLabelItems extends internal.SvelteComponent {
1455
1455
  constructor(options) {
1456
1456
  super();
1457
- internal.init(this, options, instance$P, create_fragment$P, internal.safe_not_equal, { five: 1, roomLabels: 0 }, add_css$K);
1457
+ internal.init(this, options, instance$Q, create_fragment$Q, internal.safe_not_equal, { five: 1, roomLabels: 0 }, add_css$L);
1458
1458
  }
1459
1459
  }
1460
1460
 
@@ -1760,11 +1760,11 @@
1760
1760
 
1761
1761
  /* src/floorplan/Components/Camera.svelte generated by Svelte v3.50.1 */
1762
1762
 
1763
- function add_css$J(target) {
1763
+ function add_css$K(target) {
1764
1764
  internal.append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
1765
1765
  }
1766
1766
 
1767
- function create_fragment$O(ctx) {
1767
+ function create_fragment$P(ctx) {
1768
1768
  let div1;
1769
1769
  let div0;
1770
1770
 
@@ -1801,7 +1801,7 @@
1801
1801
  };
1802
1802
  }
1803
1803
 
1804
- function instance$O($$self, $$props, $$invalidate) {
1804
+ function instance$P($$self, $$props, $$invalidate) {
1805
1805
  let { panoIndex } = $$props;
1806
1806
  let { floorplanData } = $$props;
1807
1807
  let { lastPanoramaLongitude } = $$props;
@@ -1847,8 +1847,8 @@
1847
1847
  internal.init(
1848
1848
  this,
1849
1849
  options,
1850
- instance$O,
1851
- create_fragment$O,
1850
+ instance$P,
1851
+ create_fragment$P,
1852
1852
  internal.safe_not_equal,
1853
1853
  {
1854
1854
  panoIndex: 5,
@@ -1856,7 +1856,7 @@
1856
1856
  lastPanoramaLongitude: 7,
1857
1857
  cameraImageUrl: 0
1858
1858
  },
1859
- add_css$J
1859
+ add_css$K
1860
1860
  );
1861
1861
  }
1862
1862
  }
@@ -1865,12 +1865,12 @@
1865
1865
 
1866
1866
  /* src/floorplan/Components/Compass.svelte generated by Svelte v3.50.1 */
1867
1867
 
1868
- function add_css$I(target) {
1868
+ function add_css$J(target) {
1869
1869
  internal.append_styles(target, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
1870
1870
  }
1871
1871
 
1872
1872
  // (14:0) {#if canCompassShow}
1873
- function create_if_block$s(ctx) {
1873
+ function create_if_block$t(ctx) {
1874
1874
  let div1;
1875
1875
  let div0;
1876
1876
  let t0;
@@ -1906,9 +1906,9 @@
1906
1906
  };
1907
1907
  }
1908
1908
 
1909
- function create_fragment$N(ctx) {
1909
+ function create_fragment$O(ctx) {
1910
1910
  let if_block_anchor;
1911
- let if_block = /*canCompassShow*/ ctx[1] && create_if_block$s(ctx);
1911
+ let if_block = /*canCompassShow*/ ctx[1] && create_if_block$t(ctx);
1912
1912
 
1913
1913
  return {
1914
1914
  c() {
@@ -1935,7 +1935,7 @@
1935
1935
  return rad / Math.PI * 180;
1936
1936
  }
1937
1937
 
1938
- function instance$N($$self, $$props, $$invalidate) {
1938
+ function instance$O($$self, $$props, $$invalidate) {
1939
1939
  var _a;
1940
1940
  let { floorplanData } = $$props;
1941
1941
  let { northDesc } = $$props;
@@ -1959,17 +1959,17 @@
1959
1959
  class Compass extends internal.SvelteComponent {
1960
1960
  constructor(options) {
1961
1961
  super();
1962
- internal.init(this, options, instance$N, create_fragment$N, internal.safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$I);
1962
+ internal.init(this, options, instance$O, create_fragment$O, internal.safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$J);
1963
1963
  }
1964
1964
  }
1965
1965
 
1966
1966
  /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.50.1 */
1967
1967
 
1968
- function add_css$H(target) {
1968
+ function add_css$I(target) {
1969
1969
  internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
1970
1970
  }
1971
1971
 
1972
- function create_fragment$M(ctx) {
1972
+ function create_fragment$N(ctx) {
1973
1973
  let img;
1974
1974
  let img_src_value;
1975
1975
 
@@ -1996,7 +1996,7 @@
1996
1996
  };
1997
1997
  }
1998
1998
 
1999
- function instance$M($$self, $$props, $$invalidate) {
1999
+ function instance$N($$self, $$props, $$invalidate) {
2000
2000
  let { url } = $$props;
2001
2001
 
2002
2002
  $$self.$$set = $$props => {
@@ -2009,17 +2009,17 @@
2009
2009
  class Normalmage extends internal.SvelteComponent {
2010
2010
  constructor(options) {
2011
2011
  super();
2012
- internal.init(this, options, instance$M, create_fragment$M, internal.safe_not_equal, { url: 0 }, add_css$H);
2012
+ internal.init(this, options, instance$N, create_fragment$N, internal.safe_not_equal, { url: 0 }, add_css$I);
2013
2013
  }
2014
2014
  }
2015
2015
 
2016
2016
  /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.50.1 */
2017
2017
 
2018
- function add_css$G(target) {
2018
+ function add_css$H(target) {
2019
2019
  internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
2020
2020
  }
2021
2021
 
2022
- function create_fragment$L(ctx) {
2022
+ function create_fragment$M(ctx) {
2023
2023
  let div;
2024
2024
  let html_tag;
2025
2025
  let t;
@@ -2052,7 +2052,7 @@
2052
2052
  };
2053
2053
  }
2054
2054
 
2055
- function instance$L($$self, $$props, $$invalidate) {
2055
+ function instance$M($$self, $$props, $$invalidate) {
2056
2056
  let { content } = $$props;
2057
2057
 
2058
2058
  const svgStyle = `
@@ -2076,18 +2076,18 @@
2076
2076
  class SvgImage extends internal.SvelteComponent {
2077
2077
  constructor(options) {
2078
2078
  super();
2079
- internal.init(this, options, instance$L, create_fragment$L, internal.safe_not_equal, { content: 0 }, add_css$G);
2079
+ internal.init(this, options, instance$M, create_fragment$M, internal.safe_not_equal, { content: 0 }, add_css$H);
2080
2080
  }
2081
2081
  }
2082
2082
 
2083
2083
  /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.50.1 */
2084
2084
 
2085
- function add_css$F(target) {
2085
+ function add_css$G(target) {
2086
2086
  internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
2087
2087
  }
2088
2088
 
2089
2089
  // (13:22)
2090
- function create_if_block_1$d(ctx) {
2090
+ function create_if_block_1$e(ctx) {
2091
2091
  let normalimage;
2092
2092
  let current;
2093
2093
  normalimage = new Normalmage({ props: { url: /*imageData*/ ctx[1].url } });
@@ -2121,7 +2121,7 @@
2121
2121
  }
2122
2122
 
2123
2123
  // (11:2) {#if svgContent}
2124
- function create_if_block$r(ctx) {
2124
+ function create_if_block$s(ctx) {
2125
2125
  let svgimage;
2126
2126
  let current;
2127
2127
 
@@ -2157,12 +2157,12 @@
2157
2157
  };
2158
2158
  }
2159
2159
 
2160
- function create_fragment$K(ctx) {
2160
+ function create_fragment$L(ctx) {
2161
2161
  let div;
2162
2162
  let current_block_type_index;
2163
2163
  let if_block;
2164
2164
  let current;
2165
- const if_block_creators = [create_if_block$r, create_if_block_1$d];
2165
+ const if_block_creators = [create_if_block$s, create_if_block_1$e];
2166
2166
  const if_blocks = [];
2167
2167
 
2168
2168
  function select_block_type(ctx, dirty) {
@@ -2245,7 +2245,7 @@
2245
2245
  };
2246
2246
  }
2247
2247
 
2248
- function instance$K($$self, $$props, $$invalidate) {
2248
+ function instance$L($$self, $$props, $$invalidate) {
2249
2249
  let imageData;
2250
2250
  let svgContent;
2251
2251
  var _a, _b;
@@ -2277,18 +2277,18 @@
2277
2277
  class BaseImage extends internal.SvelteComponent {
2278
2278
  constructor(options) {
2279
2279
  super();
2280
- internal.init(this, options, instance$K, create_fragment$K, internal.safe_not_equal, { floorIndex: 2, floorplanData: 3 }, add_css$F);
2280
+ internal.init(this, options, instance$L, create_fragment$L, internal.safe_not_equal, { floorIndex: 2, floorplanData: 3 }, add_css$G);
2281
2281
  }
2282
2282
  }
2283
2283
 
2284
2284
  /* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.50.1 */
2285
2285
 
2286
- function add_css$E(target) {
2286
+ function add_css$F(target) {
2287
2287
  internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
2288
2288
  }
2289
2289
 
2290
2290
  // (95:30)
2291
- function create_if_block_1$c(ctx) {
2291
+ function create_if_block_1$d(ctx) {
2292
2292
  let html_tag;
2293
2293
  let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
2294
2294
  let html_anchor;
@@ -2314,7 +2314,7 @@
2314
2314
  }
2315
2315
 
2316
2316
  // (89:2) {#if getLabelElement === undefined}
2317
- function create_if_block$q(ctx) {
2317
+ function create_if_block$r(ctx) {
2318
2318
  let span0;
2319
2319
  let t0_value = /*room*/ ctx[0].name + "";
2320
2320
  let t0;
@@ -2348,12 +2348,12 @@
2348
2348
  };
2349
2349
  }
2350
2350
 
2351
- function create_fragment$J(ctx) {
2351
+ function create_fragment$K(ctx) {
2352
2352
  let div;
2353
2353
 
2354
2354
  function select_block_type(ctx, dirty) {
2355
- if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$q;
2356
- if (/*userConfigElement*/ ctx[4]) return create_if_block_1$c;
2355
+ if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$r;
2356
+ if (/*userConfigElement*/ ctx[4]) return create_if_block_1$d;
2357
2357
  }
2358
2358
 
2359
2359
  let current_block_type = select_block_type(ctx);
@@ -2422,7 +2422,7 @@
2422
2422
  return inside;
2423
2423
  }
2424
2424
 
2425
- function instance$J($$self, $$props, $$invalidate) {
2425
+ function instance$K($$self, $$props, $$invalidate) {
2426
2426
  let isLabelInRoom;
2427
2427
  let userConfigElement;
2428
2428
  let labelVisible;
@@ -2566,8 +2566,8 @@
2566
2566
  internal.init(
2567
2567
  this,
2568
2568
  options,
2569
- instance$J,
2570
- create_fragment$J,
2569
+ instance$K,
2570
+ create_fragment$K,
2571
2571
  internal.safe_not_equal,
2572
2572
  {
2573
2573
  pxmm: 9,
@@ -2576,14 +2576,14 @@
2576
2576
  getLabelElement: 1,
2577
2577
  adaptiveRoomLabelVisibleEnable: 11
2578
2578
  },
2579
- add_css$E
2579
+ add_css$F
2580
2580
  );
2581
2581
  }
2582
2582
  }
2583
2583
 
2584
2584
  /* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.50.1 */
2585
2585
 
2586
- function add_css$D(target) {
2586
+ function add_css$E(target) {
2587
2587
  internal.append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
2588
2588
  }
2589
2589
 
@@ -2594,7 +2594,7 @@
2594
2594
  }
2595
2595
 
2596
2596
  // (17:0) {#if rooms}
2597
- function create_if_block$p(ctx) {
2597
+ function create_if_block$q(ctx) {
2598
2598
  let div;
2599
2599
  let each_blocks = [];
2600
2600
  let each_1_lookup = new Map();
@@ -2736,10 +2736,10 @@
2736
2736
  };
2737
2737
  }
2738
2738
 
2739
- function create_fragment$I(ctx) {
2739
+ function create_fragment$J(ctx) {
2740
2740
  let if_block_anchor;
2741
2741
  let current;
2742
- let if_block = /*rooms*/ ctx[5] && create_if_block$p(ctx);
2742
+ let if_block = /*rooms*/ ctx[5] && create_if_block$q(ctx);
2743
2743
 
2744
2744
  return {
2745
2745
  c() {
@@ -2760,7 +2760,7 @@
2760
2760
  internal.transition_in(if_block, 1);
2761
2761
  }
2762
2762
  } else {
2763
- if_block = create_if_block$p(ctx);
2763
+ if_block = create_if_block$q(ctx);
2764
2764
  if_block.c();
2765
2765
  internal.transition_in(if_block, 1);
2766
2766
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -2791,7 +2791,7 @@
2791
2791
  };
2792
2792
  }
2793
2793
 
2794
- function instance$I($$self, $$props, $$invalidate) {
2794
+ function instance$J($$self, $$props, $$invalidate) {
2795
2795
  let rooms;
2796
2796
  let { floorIndex } = $$props;
2797
2797
  let { floorplanData } = $$props;
@@ -2848,8 +2848,8 @@
2848
2848
  internal.init(
2849
2849
  this,
2850
2850
  options,
2851
- instance$I,
2852
- create_fragment$I,
2851
+ instance$J,
2852
+ create_fragment$J,
2853
2853
  internal.safe_not_equal,
2854
2854
  {
2855
2855
  floorIndex: 6,
@@ -2858,14 +2858,14 @@
2858
2858
  getLabelElement: 1,
2859
2859
  adaptiveRoomLabelVisibleEnable: 2
2860
2860
  },
2861
- add_css$D
2861
+ add_css$E
2862
2862
  );
2863
2863
  }
2864
2864
  }
2865
2865
 
2866
2866
  /* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.50.1 */
2867
2867
 
2868
- function add_css$C(target) {
2868
+ function add_css$D(target) {
2869
2869
  internal.append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
2870
2870
  }
2871
2871
 
@@ -2941,7 +2941,7 @@
2941
2941
  };
2942
2942
  }
2943
2943
 
2944
- function create_fragment$H(ctx) {
2944
+ function create_fragment$I(ctx) {
2945
2945
  let div3;
2946
2946
  let div0;
2947
2947
  let t0;
@@ -3064,7 +3064,7 @@
3064
3064
  const padding$1 = 1000;
3065
3065
  const exteriorWallOffset$1 = 180;
3066
3066
 
3067
- function instance$H($$self, $$props, $$invalidate) {
3067
+ function instance$I($$self, $$props, $$invalidate) {
3068
3068
  let { type } = $$props;
3069
3069
  let { data } = $$props;
3070
3070
  let { bounding } = $$props;
@@ -3123,13 +3123,13 @@
3123
3123
  class RuleItem extends internal.SvelteComponent {
3124
3124
  constructor(options) {
3125
3125
  super();
3126
- internal.init(this, options, instance$H, create_fragment$H, internal.safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$C);
3126
+ internal.init(this, options, instance$I, create_fragment$I, internal.safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$D);
3127
3127
  }
3128
3128
  }
3129
3129
 
3130
3130
  /* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.50.1 */
3131
3131
 
3132
- function add_css$B(target) {
3132
+ function add_css$C(target) {
3133
3133
  internal.append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
3134
3134
  }
3135
3135
 
@@ -3206,7 +3206,7 @@
3206
3206
  };
3207
3207
  }
3208
3208
 
3209
- function create_fragment$G(ctx) {
3209
+ function create_fragment$H(ctx) {
3210
3210
  let div;
3211
3211
  let each_blocks = [];
3212
3212
  let each_1_lookup = new Map();
@@ -3286,7 +3286,7 @@
3286
3286
  const padding = 1000;
3287
3287
  const exteriorWallOffset = 180;
3288
3288
 
3289
- function instance$G($$self, $$props, $$invalidate) {
3289
+ function instance$H($$self, $$props, $$invalidate) {
3290
3290
  let bounding;
3291
3291
  let ruleLabelData;
3292
3292
  let ruleLabelDataKeys;
@@ -3366,7 +3366,7 @@
3366
3366
  class RuleLabels extends internal.SvelteComponent {
3367
3367
  constructor(options) {
3368
3368
  super();
3369
- internal.init(this, options, instance$G, create_fragment$G, internal.safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$B);
3369
+ internal.init(this, options, instance$H, create_fragment$H, internal.safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$C);
3370
3370
  }
3371
3371
  }
3372
3372
 
@@ -3423,7 +3423,7 @@
3423
3423
 
3424
3424
  /* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.50.1 */
3425
3425
 
3426
- function create_fragment$F(ctx) {
3426
+ function create_fragment$G(ctx) {
3427
3427
  let path_1;
3428
3428
 
3429
3429
  return {
@@ -3448,7 +3448,7 @@
3448
3448
  };
3449
3449
  }
3450
3450
 
3451
- function instance$F($$self, $$props, $$invalidate) {
3451
+ function instance$G($$self, $$props, $$invalidate) {
3452
3452
  let d;
3453
3453
  let { path } = $$props;
3454
3454
 
@@ -3468,13 +3468,13 @@
3468
3468
  class RoomMaterial_0 extends internal.SvelteComponent {
3469
3469
  constructor(options) {
3470
3470
  super();
3471
- internal.init(this, options, instance$F, create_fragment$F, internal.safe_not_equal, { path: 1 });
3471
+ internal.init(this, options, instance$G, create_fragment$G, internal.safe_not_equal, { path: 1 });
3472
3472
  }
3473
3473
  }
3474
3474
 
3475
3475
  /* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.50.1 */
3476
3476
 
3477
- function create_fragment$E(ctx) {
3477
+ function create_fragment$F(ctx) {
3478
3478
  let defs;
3479
3479
  let pattern;
3480
3480
  let rect;
@@ -3535,7 +3535,7 @@
3535
3535
 
3536
3536
  const halfWidth = 6;
3537
3537
 
3538
- function instance$E($$self, $$props, $$invalidate) {
3538
+ function instance$F($$self, $$props, $$invalidate) {
3539
3539
  let d;
3540
3540
  let { path } = $$props;
3541
3541
  const width = halfWidth * 2;
@@ -3557,13 +3557,13 @@
3557
3557
  class RoomMaterial_1 extends internal.SvelteComponent {
3558
3558
  constructor(options) {
3559
3559
  super();
3560
- internal.init(this, options, instance$E, create_fragment$E, internal.safe_not_equal, { path: 3 });
3560
+ internal.init(this, options, instance$F, create_fragment$F, internal.safe_not_equal, { path: 3 });
3561
3561
  }
3562
3562
  }
3563
3563
 
3564
3564
  /* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.50.1 */
3565
3565
 
3566
- function create_fragment$D(ctx) {
3566
+ function create_fragment$E(ctx) {
3567
3567
  let defs;
3568
3568
  let pattern0;
3569
3569
  let rect0;
@@ -3664,7 +3664,7 @@
3664
3664
  };
3665
3665
  }
3666
3666
 
3667
- function instance$D($$self, $$props, $$invalidate) {
3667
+ function instance$E($$self, $$props, $$invalidate) {
3668
3668
  let d;
3669
3669
  let { path } = $$props;
3670
3670
 
@@ -3684,13 +3684,13 @@
3684
3684
  class RoomMaterial_2 extends internal.SvelteComponent {
3685
3685
  constructor(options) {
3686
3686
  super();
3687
- internal.init(this, options, instance$D, create_fragment$D, internal.safe_not_equal, { path: 1 });
3687
+ internal.init(this, options, instance$E, create_fragment$E, internal.safe_not_equal, { path: 1 });
3688
3688
  }
3689
3689
  }
3690
3690
 
3691
3691
  /* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.50.1 */
3692
3692
 
3693
- function add_css$A(target) {
3693
+ function add_css$B(target) {
3694
3694
  internal.append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
3695
3695
  }
3696
3696
 
@@ -3701,7 +3701,7 @@
3701
3701
  }
3702
3702
 
3703
3703
  // (19:6) {:else}
3704
- function create_else_block$3(ctx) {
3704
+ function create_else_block$4(ctx) {
3705
3705
  let roommaterial_1;
3706
3706
  let current;
3707
3707
  roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[5].path } });
@@ -3735,7 +3735,7 @@
3735
3735
  }
3736
3736
 
3737
3737
  // (17:37)
3738
- function create_if_block_1$b(ctx) {
3738
+ function create_if_block_1$c(ctx) {
3739
3739
  let roommaterial_2;
3740
3740
  let current;
3741
3741
  roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[5].path } });
@@ -3769,7 +3769,7 @@
3769
3769
  }
3770
3770
 
3771
3771
  // (15:6) {#if room.floorType === 1}
3772
- function create_if_block$o(ctx) {
3772
+ function create_if_block$p(ctx) {
3773
3773
  let roommaterial_0;
3774
3774
  let current;
3775
3775
  roommaterial_0 = new RoomMaterial_0({ props: { path: /*room*/ ctx[5].path } });
@@ -3808,7 +3808,7 @@
3808
3808
  let current_block_type_index;
3809
3809
  let if_block;
3810
3810
  let current;
3811
- const if_block_creators = [create_if_block$o, create_if_block_1$b, create_else_block$3];
3811
+ const if_block_creators = [create_if_block$p, create_if_block_1$c, create_else_block$4];
3812
3812
  const if_blocks = [];
3813
3813
 
3814
3814
  function select_block_type(ctx, dirty) {
@@ -3877,7 +3877,7 @@
3877
3877
  };
3878
3878
  }
3879
3879
 
3880
- function create_fragment$C(ctx) {
3880
+ function create_fragment$D(ctx) {
3881
3881
  let div;
3882
3882
  let current;
3883
3883
  let each_value = /*rooms*/ ctx[0];
@@ -3963,7 +3963,7 @@
3963
3963
  };
3964
3964
  }
3965
3965
 
3966
- function instance$C($$self, $$props, $$invalidate) {
3966
+ function instance$D($$self, $$props, $$invalidate) {
3967
3967
  let rooms;
3968
3968
  let { floorIndex } = $$props;
3969
3969
  let { floorplanData } = $$props;
@@ -3989,17 +3989,17 @@
3989
3989
  class RoomMaterial extends internal.SvelteComponent {
3990
3990
  constructor(options) {
3991
3991
  super();
3992
- internal.init(this, options, instance$C, create_fragment$C, internal.safe_not_equal, { floorIndex: 3, floorplanData: 4 }, add_css$A);
3992
+ internal.init(this, options, instance$D, create_fragment$D, internal.safe_not_equal, { floorIndex: 3, floorplanData: 4 }, add_css$B);
3993
3993
  }
3994
3994
  }
3995
3995
 
3996
3996
  /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.50.1 */
3997
3997
 
3998
- function add_css$z(target) {
3998
+ function add_css$A(target) {
3999
3999
  internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
4000
4000
  }
4001
4001
 
4002
- function create_fragment$B(ctx) {
4002
+ function create_fragment$C(ctx) {
4003
4003
  let path;
4004
4004
  let mounted;
4005
4005
  let dispose;
@@ -4034,7 +4034,7 @@
4034
4034
  };
4035
4035
  }
4036
4036
 
4037
- function instance$B($$self, $$props, $$invalidate) {
4037
+ function instance$C($$self, $$props, $$invalidate) {
4038
4038
  let { room } = $$props;
4039
4039
  let { floorplanData } = $$props;
4040
4040
  let { hoveredRoom } = $$props;
@@ -4070,22 +4070,22 @@
4070
4070
  internal.init(
4071
4071
  this,
4072
4072
  options,
4073
- instance$B,
4074
- create_fragment$B,
4073
+ instance$C,
4074
+ create_fragment$C,
4075
4075
  internal.safe_not_equal,
4076
4076
  {
4077
4077
  room: 3,
4078
4078
  floorplanData: 4,
4079
4079
  hoveredRoom: 5
4080
4080
  },
4081
- add_css$z
4081
+ add_css$A
4082
4082
  );
4083
4083
  }
4084
4084
  }
4085
4085
 
4086
4086
  /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.50.1 */
4087
4087
 
4088
- function add_css$y(target) {
4088
+ function add_css$z(target) {
4089
4089
  internal.append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
4090
4090
  }
4091
4091
 
@@ -4161,7 +4161,7 @@
4161
4161
  };
4162
4162
  }
4163
4163
 
4164
- function create_fragment$A(ctx) {
4164
+ function create_fragment$B(ctx) {
4165
4165
  let div;
4166
4166
  let svg;
4167
4167
  let each_blocks = [];
@@ -4235,7 +4235,7 @@
4235
4235
  };
4236
4236
  }
4237
4237
 
4238
- function instance$A($$self, $$props, $$invalidate) {
4238
+ function instance$B($$self, $$props, $$invalidate) {
4239
4239
  let { floorIndex } = $$props;
4240
4240
  let { floorplanData } = $$props;
4241
4241
  let { hoveredRoom } = $$props;
@@ -4258,22 +4258,22 @@
4258
4258
  internal.init(
4259
4259
  this,
4260
4260
  options,
4261
- instance$A,
4262
- create_fragment$A,
4261
+ instance$B,
4262
+ create_fragment$B,
4263
4263
  internal.safe_not_equal,
4264
4264
  {
4265
4265
  floorIndex: 0,
4266
4266
  floorplanData: 1,
4267
4267
  hoveredRoom: 2
4268
4268
  },
4269
- add_css$y
4269
+ add_css$z
4270
4270
  );
4271
4271
  }
4272
4272
  }
4273
4273
 
4274
4274
  /* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.50.1 */
4275
4275
 
4276
- function add_css$x(target) {
4276
+ function add_css$y(target) {
4277
4277
  internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
4278
4278
  }
4279
4279
 
@@ -4335,7 +4335,7 @@
4335
4335
  }
4336
4336
 
4337
4337
  // (24:2) {#if roomLabelsEnable}
4338
- function create_if_block_1$a(ctx) {
4338
+ function create_if_block_1$b(ctx) {
4339
4339
  let roomlabels;
4340
4340
  let current;
4341
4341
 
@@ -4396,7 +4396,7 @@
4396
4396
  }
4397
4397
 
4398
4398
  // (27:2) {#if ruleLabelsEnable}
4399
- function create_if_block$n(ctx) {
4399
+ function create_if_block$o(ctx) {
4400
4400
  let rulelabels;
4401
4401
  let current;
4402
4402
 
@@ -4450,7 +4450,7 @@
4450
4450
  };
4451
4451
  }
4452
4452
 
4453
- function create_fragment$z(ctx) {
4453
+ function create_fragment$A(ctx) {
4454
4454
  let div;
4455
4455
  let roommaterial;
4456
4456
  let t0;
@@ -4491,8 +4491,8 @@
4491
4491
  }
4492
4492
 
4493
4493
  baseimage = new BaseImage({ props: baseimage_props });
4494
- let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$a(ctx);
4495
- let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$n(ctx);
4494
+ let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$b(ctx);
4495
+ let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$o(ctx);
4496
4496
 
4497
4497
  return {
4498
4498
  c() {
@@ -4578,7 +4578,7 @@
4578
4578
  internal.transition_in(if_block1, 1);
4579
4579
  }
4580
4580
  } else {
4581
- if_block1 = create_if_block_1$a(ctx);
4581
+ if_block1 = create_if_block_1$b(ctx);
4582
4582
  if_block1.c();
4583
4583
  internal.transition_in(if_block1, 1);
4584
4584
  if_block1.m(div, t3);
@@ -4601,7 +4601,7 @@
4601
4601
  internal.transition_in(if_block2, 1);
4602
4602
  }
4603
4603
  } else {
4604
- if_block2 = create_if_block$n(ctx);
4604
+ if_block2 = create_if_block$o(ctx);
4605
4605
  if_block2.c();
4606
4606
  internal.transition_in(if_block2, 1);
4607
4607
  if_block2.m(div, null);
@@ -4650,7 +4650,7 @@
4650
4650
  };
4651
4651
  }
4652
4652
 
4653
- function instance$z($$self, $$props, $$invalidate) {
4653
+ function instance$A($$self, $$props, $$invalidate) {
4654
4654
  let { isCurrent } = $$props;
4655
4655
  let { floorIndex } = $$props;
4656
4656
  let { hoverEnable } = $$props;
@@ -4692,8 +4692,8 @@
4692
4692
  internal.init(
4693
4693
  this,
4694
4694
  options,
4695
- instance$z,
4696
- create_fragment$z,
4695
+ instance$A,
4696
+ create_fragment$A,
4697
4697
  internal.safe_not_equal,
4698
4698
  {
4699
4699
  isCurrent: 0,
@@ -4705,14 +4705,14 @@
4705
4705
  getLabelElement: 6,
4706
4706
  adaptiveRoomLabelVisibleEnable: 7
4707
4707
  },
4708
- add_css$x
4708
+ add_css$y
4709
4709
  );
4710
4710
  }
4711
4711
  }
4712
4712
 
4713
4713
  /* src/floorplan/Components/Main.svelte generated by Svelte v3.50.1 */
4714
4714
 
4715
- function add_css$w(target) {
4715
+ function add_css$x(target) {
4716
4716
  internal.append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
4717
4717
  }
4718
4718
 
@@ -4723,7 +4723,7 @@
4723
4723
  }
4724
4724
 
4725
4725
  // (22:0) {#if visible}
4726
- function create_if_block$m(ctx) {
4726
+ function create_if_block$n(ctx) {
4727
4727
  let div;
4728
4728
  let t0;
4729
4729
  let camera;
@@ -4757,7 +4757,7 @@
4757
4757
  }
4758
4758
 
4759
4759
  camera = new Camera$1({ props: camera_props });
4760
- let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$9(ctx);
4760
+ let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$a(ctx);
4761
4761
 
4762
4762
  return {
4763
4763
  c() {
@@ -4837,7 +4837,7 @@
4837
4837
  internal.transition_in(if_block, 1);
4838
4838
  }
4839
4839
  } else {
4840
- if_block = create_if_block_1$9(ctx);
4840
+ if_block = create_if_block_1$a(ctx);
4841
4841
  if_block.c();
4842
4842
  internal.transition_in(if_block, 1);
4843
4843
  if_block.m(div, null);
@@ -4971,7 +4971,7 @@
4971
4971
  }
4972
4972
 
4973
4973
  // (39:4) {#if compassEnable}
4974
- function create_if_block_1$9(ctx) {
4974
+ function create_if_block_1$a(ctx) {
4975
4975
  let compass;
4976
4976
  let current;
4977
4977
 
@@ -5011,10 +5011,10 @@
5011
5011
  };
5012
5012
  }
5013
5013
 
5014
- function create_fragment$y(ctx) {
5014
+ function create_fragment$z(ctx) {
5015
5015
  let if_block_anchor;
5016
5016
  let current;
5017
- let if_block = /*visible*/ ctx[1] && create_if_block$m(ctx);
5017
+ let if_block = /*visible*/ ctx[1] && create_if_block$n(ctx);
5018
5018
 
5019
5019
  return {
5020
5020
  c() {
@@ -5035,7 +5035,7 @@
5035
5035
  internal.transition_in(if_block, 1);
5036
5036
  }
5037
5037
  } else {
5038
- if_block = create_if_block$m(ctx);
5038
+ if_block = create_if_block$n(ctx);
5039
5039
  if_block.c();
5040
5040
  internal.transition_in(if_block, 1);
5041
5041
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -5066,7 +5066,7 @@
5066
5066
  };
5067
5067
  }
5068
5068
 
5069
- function instance$y($$self, $$props, $$invalidate) {
5069
+ function instance$z($$self, $$props, $$invalidate) {
5070
5070
  let { duration = 0 } = $$props;
5071
5071
  let { visible } = $$props;
5072
5072
  let { northDesc } = $$props;
@@ -5124,8 +5124,8 @@
5124
5124
  internal.init(
5125
5125
  this,
5126
5126
  options,
5127
- instance$y,
5128
- create_fragment$y,
5127
+ instance$z,
5128
+ create_fragment$z,
5129
5129
  internal.safe_not_equal,
5130
5130
  {
5131
5131
  duration: 0,
@@ -5143,7 +5143,7 @@
5143
5143
  getLabelElement: 12,
5144
5144
  adaptiveRoomLabelVisibleEnable: 13
5145
5145
  },
5146
- add_css$w
5146
+ add_css$x
5147
5147
  );
5148
5148
  }
5149
5149
  }
@@ -7339,11 +7339,11 @@
7339
7339
 
7340
7340
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.50.1 */
7341
7341
 
7342
- function add_css$v(target) {
7342
+ function add_css$w(target) {
7343
7343
  internal.append_styles(target, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
7344
7344
  }
7345
7345
 
7346
- function create_fragment$x(ctx) {
7346
+ function create_fragment$y(ctx) {
7347
7347
  let div2;
7348
7348
  let div1;
7349
7349
  let div0;
@@ -7393,7 +7393,7 @@
7393
7393
  return `rotate(${rotate}deg)`;
7394
7394
  }
7395
7395
 
7396
- function instance$x($$self, $$props, $$invalidate) {
7396
+ function instance$y($$self, $$props, $$invalidate) {
7397
7397
  let positionTransform;
7398
7398
  let rotateTransform;
7399
7399
  let { five } = $$props;
@@ -7473,8 +7473,8 @@
7473
7473
  internal.init(
7474
7474
  this,
7475
7475
  options,
7476
- instance$x,
7477
- create_fragment$x,
7476
+ instance$y,
7477
+ create_fragment$y,
7478
7478
  internal.safe_not_equal,
7479
7479
  {
7480
7480
  five: 3,
@@ -7482,14 +7482,14 @@
7482
7482
  floorplanData: 5,
7483
7483
  cameraImageUrl: 0
7484
7484
  },
7485
- add_css$v
7485
+ add_css$w
7486
7486
  );
7487
7487
  }
7488
7488
  }
7489
7489
 
7490
7490
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.50.1 */
7491
7491
 
7492
- function add_css$u(target) {
7492
+ function add_css$v(target) {
7493
7493
  internal.append_styles(target, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
7494
7494
  }
7495
7495
 
@@ -7559,7 +7559,7 @@
7559
7559
  };
7560
7560
  }
7561
7561
 
7562
- function create_fragment$w(ctx) {
7562
+ function create_fragment$x(ctx) {
7563
7563
  let div;
7564
7564
  let each_blocks = [];
7565
7565
  let each_1_lookup = new Map();
@@ -7607,7 +7607,7 @@
7607
7607
  };
7608
7608
  }
7609
7609
 
7610
- function instance$w($$self, $$props, $$invalidate) {
7610
+ function instance$x($$self, $$props, $$invalidate) {
7611
7611
  let { extraObjects = [] } = $$props;
7612
7612
 
7613
7613
  $$self.$$set = $$props => {
@@ -7620,13 +7620,13 @@
7620
7620
  class ExtraObjects extends internal.SvelteComponent {
7621
7621
  constructor(options) {
7622
7622
  super();
7623
- internal.init(this, options, instance$w, create_fragment$w, internal.safe_not_equal, { extraObjects: 0 }, add_css$u);
7623
+ internal.init(this, options, instance$x, create_fragment$x, internal.safe_not_equal, { extraObjects: 0 }, add_css$v);
7624
7624
  }
7625
7625
  }
7626
7626
 
7627
7627
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.50.1 */
7628
7628
 
7629
- function create_if_block$l(ctx) {
7629
+ function create_if_block$m(ctx) {
7630
7630
  let highlight;
7631
7631
  let current;
7632
7632
 
@@ -7686,7 +7686,7 @@
7686
7686
  };
7687
7687
  }
7688
7688
 
7689
- function create_fragment$v(ctx) {
7689
+ function create_fragment$w(ctx) {
7690
7690
  let baseimage;
7691
7691
  let t0;
7692
7692
  let extraobjects;
@@ -7715,7 +7715,7 @@
7715
7715
  }
7716
7716
  });
7717
7717
 
7718
- let if_block = /*hoverEnable*/ ctx[3] && create_if_block$l(ctx);
7718
+ let if_block = /*hoverEnable*/ ctx[3] && create_if_block$m(ctx);
7719
7719
 
7720
7720
  return {
7721
7721
  c() {
@@ -7758,7 +7758,7 @@
7758
7758
  internal.transition_in(if_block, 1);
7759
7759
  }
7760
7760
  } else {
7761
- if_block = create_if_block$l(ctx);
7761
+ if_block = create_if_block$m(ctx);
7762
7762
  if_block.c();
7763
7763
  internal.transition_in(if_block, 1);
7764
7764
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -7797,7 +7797,7 @@
7797
7797
  };
7798
7798
  }
7799
7799
 
7800
- function instance$v($$self, $$props, $$invalidate) {
7800
+ function instance$w($$self, $$props, $$invalidate) {
7801
7801
  let currentFloorExtraObjects;
7802
7802
  let { five } = $$props;
7803
7803
  let { pxmm } = $$props;
@@ -7840,7 +7840,7 @@
7840
7840
  constructor(options) {
7841
7841
  super();
7842
7842
 
7843
- internal.init(this, options, instance$v, create_fragment$v, internal.safe_not_equal, {
7843
+ internal.init(this, options, instance$w, create_fragment$w, internal.safe_not_equal, {
7844
7844
  five: 0,
7845
7845
  pxmm: 1,
7846
7846
  floorIndex: 2,
@@ -7853,16 +7853,16 @@
7853
7853
 
7854
7854
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.50.1 */
7855
7855
 
7856
- function add_css$t(target) {
7856
+ function add_css$u(target) {
7857
7857
  internal.append_styles(target, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
7858
7858
  }
7859
7859
 
7860
7860
  // (41:0) {#if visible}
7861
- function create_if_block$k(ctx) {
7861
+ function create_if_block$l(ctx) {
7862
7862
  let div;
7863
7863
  let div_resize_listener;
7864
7864
  let current;
7865
- let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$8(ctx);
7865
+ let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$9(ctx);
7866
7866
 
7867
7867
  return {
7868
7868
  c() {
@@ -7886,7 +7886,7 @@
7886
7886
  internal.transition_in(if_block, 1);
7887
7887
  }
7888
7888
  } else {
7889
- if_block = create_if_block_1$8(ctx);
7889
+ if_block = create_if_block_1$9(ctx);
7890
7890
  if_block.c();
7891
7891
  internal.transition_in(if_block, 1);
7892
7892
  if_block.m(div, null);
@@ -7919,7 +7919,7 @@
7919
7919
  }
7920
7920
 
7921
7921
  // (43:4) {#if clientWidth !== 0}
7922
- function create_if_block_1$8(ctx) {
7922
+ function create_if_block_1$9(ctx) {
7923
7923
  let div;
7924
7924
  let currentfloor;
7925
7925
  let t;
@@ -8037,10 +8037,10 @@
8037
8037
  };
8038
8038
  }
8039
8039
 
8040
- function create_fragment$u(ctx) {
8040
+ function create_fragment$v(ctx) {
8041
8041
  let if_block_anchor;
8042
8042
  let current;
8043
- let if_block = /*visible*/ ctx[1] && create_if_block$k(ctx);
8043
+ let if_block = /*visible*/ ctx[1] && create_if_block$l(ctx);
8044
8044
 
8045
8045
  return {
8046
8046
  c() {
@@ -8061,7 +8061,7 @@
8061
8061
  internal.transition_in(if_block, 1);
8062
8062
  }
8063
8063
  } else {
8064
- if_block = create_if_block$k(ctx);
8064
+ if_block = create_if_block$l(ctx);
8065
8065
  if_block.c();
8066
8066
  internal.transition_in(if_block, 1);
8067
8067
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -8092,7 +8092,7 @@
8092
8092
  };
8093
8093
  }
8094
8094
 
8095
- function instance$u($$self, $$props, $$invalidate) {
8095
+ function instance$v($$self, $$props, $$invalidate) {
8096
8096
  let { five } = $$props;
8097
8097
  let { visible } = $$props;
8098
8098
  let { hoverEnable } = $$props;
@@ -8178,8 +8178,8 @@
8178
8178
  internal.init(
8179
8179
  this,
8180
8180
  options,
8181
- instance$u,
8182
- create_fragment$u,
8181
+ instance$v,
8182
+ create_fragment$v,
8183
8183
  internal.safe_not_equal,
8184
8184
  {
8185
8185
  five: 0,
@@ -8189,7 +8189,7 @@
8189
8189
  cameraImageUrl: 4,
8190
8190
  extraObjects: 5
8191
8191
  },
8192
- add_css$t
8192
+ add_css$u
8193
8193
  );
8194
8194
  }
8195
8195
  }
@@ -9658,7 +9658,7 @@
9658
9658
 
9659
9659
  /* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.50.1 */
9660
9660
 
9661
- function add_css$s(target) {
9661
+ function add_css$t(target) {
9662
9662
  internal.append_styles(target, "svelte-qy4ud2", ".PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2 em.svelte-qy4ud2{display:block;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-qy4ud2.svelte-qy4ud2{display:flex;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;align-items:center}.em-solid.svelte-qy4ud2.svelte-qy4ud2{height:100%;background:#ffffff}.em-dotted.svelte-qy4ud2.svelte-qy4ud2{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-qy4ud2.svelte-qy4ud2{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-qy4ud2.svelte-qy4ud2{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;-webkit-animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@-webkit-keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
9663
9663
  }
9664
9664
 
@@ -9669,7 +9669,7 @@
9669
9669
  }
9670
9670
 
9671
9671
  // (28:2) {:else}
9672
- function create_else_block$2(ctx) {
9672
+ function create_else_block$3(ctx) {
9673
9673
  let div;
9674
9674
  let each_value = /*rulerItemProp*/ ctx[0].children;
9675
9675
  let each_blocks = [];
@@ -9727,7 +9727,7 @@
9727
9727
  }
9728
9728
 
9729
9729
  // (26:2) {#if rulerItemProp.children.length === 0}
9730
- function create_if_block$j(ctx) {
9730
+ function create_if_block$k(ctx) {
9731
9731
  let em;
9732
9732
  let em_class_value;
9733
9733
 
@@ -9796,7 +9796,7 @@
9796
9796
  };
9797
9797
  }
9798
9798
 
9799
- function create_fragment$t(ctx) {
9799
+ function create_fragment$u(ctx) {
9800
9800
  let div2;
9801
9801
  let t0;
9802
9802
  let div1;
@@ -9811,8 +9811,8 @@
9811
9811
  let style_transform = `rotate(${/*rulerItemProp*/ ctx[0].rotateDeg}deg)`;
9812
9812
 
9813
9813
  function select_block_type(ctx, dirty) {
9814
- if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$j;
9815
- return create_else_block$2;
9814
+ if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$k;
9815
+ return create_else_block$3;
9816
9816
  }
9817
9817
 
9818
9818
  let current_block_type = select_block_type(ctx);
@@ -9910,7 +9910,7 @@
9910
9910
  };
9911
9911
  }
9912
9912
 
9913
- function instance$t($$self, $$props, $$invalidate) {
9913
+ function instance$u($$self, $$props, $$invalidate) {
9914
9914
  let vars;
9915
9915
  let { rulerItemProp } = $$props;
9916
9916
  let _visible = true;
@@ -9945,7 +9945,7 @@
9945
9945
  class RulerItem extends internal.SvelteComponent {
9946
9946
  constructor(options) {
9947
9947
  super();
9948
- internal.init(this, options, instance$t, create_fragment$t, internal.safe_not_equal, { rulerItemProp: 0 }, add_css$s);
9948
+ internal.init(this, options, instance$u, create_fragment$u, internal.safe_not_equal, { rulerItemProp: 0 }, add_css$t);
9949
9949
  }
9950
9950
  }
9951
9951
 
@@ -9994,7 +9994,7 @@
9994
9994
  };
9995
9995
  }
9996
9996
 
9997
- function create_fragment$s(ctx) {
9997
+ function create_fragment$t(ctx) {
9998
9998
  let div;
9999
9999
  let current;
10000
10000
  let each_value = /*rulerItemProp*/ ctx[0];
@@ -10078,7 +10078,7 @@
10078
10078
  };
10079
10079
  }
10080
10080
 
10081
- function instance$s($$self, $$props, $$invalidate) {
10081
+ function instance$t($$self, $$props, $$invalidate) {
10082
10082
  var _a, _b, _c, _d;
10083
10083
  let { five: five$1 } = $$props;
10084
10084
  let { rulerDatas } = $$props;
@@ -10296,7 +10296,7 @@
10296
10296
  class RulerItems extends internal.SvelteComponent {
10297
10297
  constructor(options) {
10298
10298
  super();
10299
- internal.init(this, options, instance$s, create_fragment$s, internal.safe_not_equal, { five: 1, rulerDatas: 2, options: 3 });
10299
+ internal.init(this, options, instance$t, create_fragment$t, internal.safe_not_equal, { five: 1, rulerDatas: 2, options: 3 });
10300
10300
  }
10301
10301
  }
10302
10302
 
@@ -15029,7 +15029,7 @@ void main() {
15029
15029
 
15030
15030
  /* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.50.1 */
15031
15031
 
15032
- function add_css$r(target) {
15032
+ function add_css$s(target) {
15033
15033
  internal.append_styles(target, "svelte-1kuu68s", ".PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s{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;-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-1kuu68s{transform:translate(-50%, -50%) scale(0.6);-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@-webkit-keyframes svelte-1kuu68s-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}}@keyframes svelte-1kuu68s-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}}");
15034
15034
  }
15035
15035
 
@@ -15096,7 +15096,7 @@ void main() {
15096
15096
  };
15097
15097
  }
15098
15098
 
15099
- function create_fragment$r(ctx) {
15099
+ function create_fragment$s(ctx) {
15100
15100
  let each_1_anchor;
15101
15101
  let each_value = /*origins*/ ctx[0];
15102
15102
  let each_blocks = [];
@@ -15153,7 +15153,7 @@ void main() {
15153
15153
  };
15154
15154
  }
15155
15155
 
15156
- function instance$r($$self, $$props, $$invalidate) {
15156
+ function instance$s($$self, $$props, $$invalidate) {
15157
15157
  let { origins } = $$props;
15158
15158
 
15159
15159
  const handleClick = id => {
@@ -15172,17 +15172,17 @@ void main() {
15172
15172
  class Origins extends internal.SvelteComponent {
15173
15173
  constructor(options) {
15174
15174
  super();
15175
- internal.init(this, options, instance$r, create_fragment$r, internal.safe_not_equal, { origins: 0 }, add_css$r);
15175
+ internal.init(this, options, instance$s, create_fragment$s, internal.safe_not_equal, { origins: 0 }, add_css$s);
15176
15176
  }
15177
15177
  }
15178
15178
 
15179
15179
  /* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.50.1 */
15180
15180
 
15181
- function add_css$q(target) {
15181
+ function add_css$r(target) {
15182
15182
  internal.append_styles(target, "svelte-eb8bdm", ".PanoSpatialTagPlugin__tag-x.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#FFF;transform:translate(0, -100%);transition:height .5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm.svelte-eb8bdm{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity .8s .6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-eb8bdm.svelte-eb8bdm{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .1));box-shadow:0 .1rem .5rem rgba(0, 0, 0, .2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .4s cubic-bezier(.44,.44,.74,.98) , opacity .4s cubic-bezier(.44,.44,.74,.98), width .5s linear, height .5s linear ;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.3rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.5rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line.svelte-eb8bdm{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm.svelte-eb8bdm{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform .5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-eb8bdm.svelte-eb8bdm{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform .9s cubic-bezier(0,.65,.16,1.08) .6s;padding-left:.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:.32}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .5s .55s, opacity .4s .55s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:0;transition:opacity .8s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(-100%, 0);transition:transform .6s cubic-bezier(.53,.06,.88,.59)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content .svelte-eb8bdm{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 0) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}");
15183
15183
  }
15184
15184
 
15185
- function create_fragment$q(ctx) {
15185
+ function create_fragment$r(ctx) {
15186
15186
  let div4;
15187
15187
  let div0;
15188
15188
  let t0;
@@ -15297,7 +15297,7 @@ void main() {
15297
15297
  };
15298
15298
  }
15299
15299
 
15300
- function instance$q($$self, $$props, $$invalidate) {
15300
+ function instance$r($$self, $$props, $$invalidate) {
15301
15301
  let { id } = $$props;
15302
15302
  let { upsideDown } = $$props;
15303
15303
  let { content } = $$props;
@@ -15434,8 +15434,8 @@ void main() {
15434
15434
  internal.init(
15435
15435
  this,
15436
15436
  options,
15437
- instance$q,
15438
- create_fragment$q,
15437
+ instance$r,
15438
+ create_fragment$r,
15439
15439
  internal.safe_not_equal,
15440
15440
  {
15441
15441
  id: 0,
@@ -15450,7 +15450,7 @@ void main() {
15450
15450
  events: 14,
15451
15451
  hooks: 15
15452
15452
  },
15453
- add_css$q
15453
+ add_css$r
15454
15454
  );
15455
15455
  }
15456
15456
  }
@@ -16104,11 +16104,11 @@ void main() {
16104
16104
 
16105
16105
  /* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
16106
16106
 
16107
- function add_css$p(target) {
16107
+ function add_css$q(target) {
16108
16108
  internal.append_styles(target, "svelte-lmta6z", ".item-label-item.svelte-lmta6z{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-lmta6z{opacity:1;-webkit-animation:svelte-lmta6z-fadeIn .3s ease-in;animation:svelte-lmta6z-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-lmta6z::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-lmta6z{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-lmta6z{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-lmta6z{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@-webkit-keyframes svelte-lmta6z-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-lmta6z-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
16109
16109
  }
16110
16110
 
16111
- function create_fragment$p(ctx) {
16111
+ function create_fragment$q(ctx) {
16112
16112
  let div2;
16113
16113
  let div0;
16114
16114
  let span;
@@ -16189,7 +16189,7 @@ void main() {
16189
16189
  };
16190
16190
  }
16191
16191
 
16192
- function instance$p($$self, $$props, $$invalidate) {
16192
+ function instance$q($$self, $$props, $$invalidate) {
16193
16193
  let { itemLabel } = $$props;
16194
16194
  let { hooks } = $$props;
16195
16195
 
@@ -16209,7 +16209,7 @@ void main() {
16209
16209
  class ItemLabelItem$1 extends internal.SvelteComponent {
16210
16210
  constructor(options) {
16211
16211
  super();
16212
- internal.init(this, options, instance$p, create_fragment$p, internal.safe_not_equal, { itemLabel: 0, hooks: 2 }, add_css$p);
16212
+ internal.init(this, options, instance$q, create_fragment$q, internal.safe_not_equal, { itemLabel: 0, hooks: 2 }, add_css$q);
16213
16213
  }
16214
16214
  }
16215
16215
 
@@ -16230,7 +16230,7 @@ void main() {
16230
16230
 
16231
16231
  /* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
16232
16232
 
16233
- function add_css$o(target) {
16233
+ function add_css$p(target) {
16234
16234
  internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
16235
16235
  }
16236
16236
 
@@ -16289,7 +16289,7 @@ void main() {
16289
16289
  };
16290
16290
  }
16291
16291
 
16292
- function create_fragment$o(ctx) {
16292
+ function create_fragment$p(ctx) {
16293
16293
  let div;
16294
16294
  let each_blocks = [];
16295
16295
  let each_1_lookup = new Map();
@@ -16369,7 +16369,7 @@ void main() {
16369
16369
  let cssHeight = 26;
16370
16370
  let basicWidth$1 = 11;
16371
16371
 
16372
- function instance$o($$self, $$props, $$invalidate) {
16372
+ function instance$p($$self, $$props, $$invalidate) {
16373
16373
  const { Raycaster, Vector3 } = THREE__namespace;
16374
16374
  let { five } = $$props;
16375
16375
  let { modelOcclusionEnable } = $$props;
@@ -16571,8 +16571,8 @@ void main() {
16571
16571
  internal.init(
16572
16572
  this,
16573
16573
  options,
16574
- instance$o,
16575
- create_fragment$o,
16574
+ instance$p,
16575
+ create_fragment$p,
16576
16576
  internal.safe_not_equal,
16577
16577
  {
16578
16578
  five: 5,
@@ -16581,7 +16581,7 @@ void main() {
16581
16581
  hooks: 0,
16582
16582
  displayStrategyType: 8
16583
16583
  },
16584
- add_css$o
16584
+ add_css$p
16585
16585
  );
16586
16586
  }
16587
16587
  }
@@ -16995,12 +16995,12 @@ void main() {
16995
16995
 
16996
16996
  /* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
16997
16997
 
16998
- function add_css$n(target) {
16998
+ function add_css$o(target) {
16999
16999
  internal.append_styles(target, "svelte-pd1uj6", ".item-label-item.svelte-pd1uj6.svelte-pd1uj6{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-animation:svelte-pd1uj6-fadeIn .3s ease-in;animation:svelte-pd1uj6-fadeIn .3s ease-in}.item-label-item.fold.svelte-pd1uj6>.item-label-item__text-wrap.svelte-pd1uj6{visibility:hidden}.item-label-item.fold.svelte-pd1uj6>.item-label-item__bar.anchor.svelte-pd1uj6{visibility:hidden}.item-label-item.fold.svelte-pd1uj6>.item-label-item__bar.anchor.svelte-pd1uj6:after{visibility:visible}.item-label-item__text-wrap.svelte-pd1uj6.svelte-pd1uj6{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-pd1uj6.svelte-pd1uj6{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-pd1uj6.svelte-pd1uj6{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-pd1uj6.svelte-pd1uj6{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-pd1uj6.svelte-pd1uj6{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-pd1uj6.svelte-pd1uj6{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-pd1uj6.svelte-pd1uj6{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-pd1uj6.svelte-pd1uj6{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-pd1uj6.svelte-pd1uj6:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url(\"//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png \");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@-webkit-keyframes svelte-pd1uj6-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-pd1uj6-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
17000
17000
  }
17001
17001
 
17002
17002
  // (34:8) {:else}
17003
- function create_else_block$1(ctx) {
17003
+ function create_else_block$2(ctx) {
17004
17004
  let t0;
17005
17005
  let div;
17006
17006
  let span0;
@@ -17010,7 +17010,7 @@ void main() {
17010
17010
  let span1;
17011
17011
  let t3_value = /*itemLabel*/ ctx[0].name + "";
17012
17012
  let t3;
17013
- let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$7(ctx);
17013
+ let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$8(ctx);
17014
17014
 
17015
17015
  return {
17016
17016
  c() {
@@ -17041,7 +17041,7 @@ void main() {
17041
17041
  if (if_block) {
17042
17042
  if_block.p(ctx, dirty);
17043
17043
  } else {
17044
- if_block = create_if_block_1$7(ctx);
17044
+ if_block = create_if_block_1$8(ctx);
17045
17045
  if_block.c();
17046
17046
  if_block.m(t0.parentNode, t0);
17047
17047
  }
@@ -17062,7 +17062,7 @@ void main() {
17062
17062
  }
17063
17063
 
17064
17064
  // (32:8) {#if Boolean(typeof itemLabel.render === 'function')}
17065
- function create_if_block$i(ctx) {
17065
+ function create_if_block$j(ctx) {
17066
17066
  let div;
17067
17067
 
17068
17068
  return {
@@ -17082,7 +17082,7 @@ void main() {
17082
17082
  }
17083
17083
 
17084
17084
  // (35:12) {#if itemLabel.icon}
17085
- function create_if_block_1$7(ctx) {
17085
+ function create_if_block_1$8(ctx) {
17086
17086
  let div1;
17087
17087
  let div0;
17088
17088
  let div0_style_value;
@@ -17119,7 +17119,7 @@ void main() {
17119
17119
  };
17120
17120
  }
17121
17121
 
17122
- function create_fragment$n(ctx) {
17122
+ function create_fragment$o(ctx) {
17123
17123
  let div2;
17124
17124
  let div0;
17125
17125
  let show_if;
@@ -17134,8 +17134,8 @@ void main() {
17134
17134
  function select_block_type(ctx, dirty) {
17135
17135
  if (dirty & /*itemLabel*/ 1) show_if = null;
17136
17136
  if (show_if == null) show_if = !!Boolean(typeof /*itemLabel*/ ctx[0].render === 'function');
17137
- if (show_if) return create_if_block$i;
17138
- return create_else_block$1;
17137
+ if (show_if) return create_if_block$j;
17138
+ return create_else_block$2;
17139
17139
  }
17140
17140
 
17141
17141
  let current_block_type = select_block_type(ctx, -1);
@@ -17226,7 +17226,7 @@ void main() {
17226
17226
  };
17227
17227
  }
17228
17228
 
17229
- function instance$n($$self, $$props, $$invalidate) {
17229
+ function instance$o($$self, $$props, $$invalidate) {
17230
17230
  let { itemLabel } = $$props;
17231
17231
  let { hooks } = $$props;
17232
17232
  let { anchorEnabled } = $$props;
@@ -17290,8 +17290,8 @@ void main() {
17290
17290
  internal.init(
17291
17291
  this,
17292
17292
  options,
17293
- instance$n,
17294
- create_fragment$n,
17293
+ instance$o,
17294
+ create_fragment$o,
17295
17295
  internal.safe_not_equal,
17296
17296
  {
17297
17297
  itemLabel: 0,
@@ -17299,7 +17299,7 @@ void main() {
17299
17299
  anchorEnabled: 1,
17300
17300
  onIconClick: 2
17301
17301
  },
17302
- add_css$n
17302
+ add_css$o
17303
17303
  );
17304
17304
  }
17305
17305
  }
@@ -17344,7 +17344,7 @@ void main() {
17344
17344
 
17345
17345
  /* src/ItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
17346
17346
 
17347
- function add_css$m(target) {
17347
+ function add_css$n(target) {
17348
17348
  internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
17349
17349
  }
17350
17350
 
@@ -17355,7 +17355,7 @@ void main() {
17355
17355
  }
17356
17356
 
17357
17357
  // (234:2) {#if itemLabelItem.visible}
17358
- function create_if_block$h(ctx) {
17358
+ function create_if_block$i(ctx) {
17359
17359
  let itemlabelitem;
17360
17360
  let current;
17361
17361
 
@@ -17403,7 +17403,7 @@ void main() {
17403
17403
  let first;
17404
17404
  let if_block_anchor;
17405
17405
  let current;
17406
- let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$h(ctx);
17406
+ let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$i(ctx);
17407
17407
 
17408
17408
  return {
17409
17409
  key: key_1,
@@ -17431,7 +17431,7 @@ void main() {
17431
17431
  internal.transition_in(if_block, 1);
17432
17432
  }
17433
17433
  } else {
17434
- if_block = create_if_block$h(ctx);
17434
+ if_block = create_if_block$i(ctx);
17435
17435
  if_block.c();
17436
17436
  internal.transition_in(if_block, 1);
17437
17437
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -17463,7 +17463,7 @@ void main() {
17463
17463
  };
17464
17464
  }
17465
17465
 
17466
- function create_fragment$m(ctx) {
17466
+ function create_fragment$n(ctx) {
17467
17467
  let div;
17468
17468
  let each_blocks = [];
17469
17469
  let each_1_lookup = new Map();
@@ -17541,7 +17541,7 @@ void main() {
17541
17541
  }
17542
17542
  let basicWidth = 11;
17543
17543
 
17544
- function instance$m($$self, $$props, $$invalidate) {
17544
+ function instance$n($$self, $$props, $$invalidate) {
17545
17545
  const { Raycaster, Vector3 } = THREE__namespace;
17546
17546
  let { five: five$1 } = $$props;
17547
17547
  let { modelOcclusionEnable } = $$props;
@@ -17834,8 +17834,8 @@ void main() {
17834
17834
  internal.init(
17835
17835
  this,
17836
17836
  options,
17837
- instance$m,
17838
- create_fragment$m,
17837
+ instance$n,
17838
+ create_fragment$n,
17839
17839
  internal.safe_not_equal,
17840
17840
  {
17841
17841
  five: 7,
@@ -17846,7 +17846,7 @@ void main() {
17846
17846
  displayStrategyType: 11,
17847
17847
  maxVisibleDistance: 12
17848
17848
  },
17849
- add_css$m,
17849
+ add_css$n,
17850
17850
  [-1, -1]
17851
17851
  );
17852
17852
  }
@@ -18088,11 +18088,11 @@ void main() {
18088
18088
 
18089
18089
  /* src/PanoDoorLabelPlugin/DoorLabelItem.svelte generated by Svelte v3.50.1 */
18090
18090
 
18091
- function add_css$l(target) {
18091
+ function add_css$m(target) {
18092
18092
  internal.append_styles(target, "svelte-wpy7pz", ".plugin-DoorLabelPlugin-item.svelte-wpy7pz.svelte-wpy7pz{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz::after{content:\"\";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-wpy7pz.svelte-wpy7pz{background:url(\"//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg\") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{background:url(\"//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg\") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}");
18093
18093
  }
18094
18094
 
18095
- function create_fragment$l(ctx) {
18095
+ function create_fragment$m(ctx) {
18096
18096
  let div1;
18097
18097
  let div0;
18098
18098
  let span;
@@ -18147,7 +18147,7 @@ void main() {
18147
18147
  };
18148
18148
  }
18149
18149
 
18150
- function instance$l($$self, $$props, $$invalidate) {
18150
+ function instance$m($$self, $$props, $$invalidate) {
18151
18151
  let { props } = $$props;
18152
18152
  let { onClick } = $$props;
18153
18153
  let divElement;
@@ -18220,7 +18220,7 @@ void main() {
18220
18220
  class DoorLabelItem extends internal.SvelteComponent {
18221
18221
  constructor(options) {
18222
18222
  super();
18223
- internal.init(this, options, instance$l, create_fragment$l, internal.safe_not_equal, { props: 0, onClick: 1 }, add_css$l);
18223
+ internal.init(this, options, instance$m, create_fragment$m, internal.safe_not_equal, { props: 0, onClick: 1 }, add_css$m);
18224
18224
  }
18225
18225
  }
18226
18226
 
@@ -20339,12 +20339,12 @@ void main() {
20339
20339
 
20340
20340
  /* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
20341
20341
 
20342
- function add_css$k(target) {
20342
+ function add_css$l(target) {
20343
20343
  internal.append_styles(target, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
20344
20344
  }
20345
20345
 
20346
20346
  // (17:2) {#if unfolded}
20347
- function create_if_block$g(ctx) {
20347
+ function create_if_block$h(ctx) {
20348
20348
  let path;
20349
20349
  let path_intro;
20350
20350
  let path_outro;
@@ -20402,13 +20402,13 @@ void main() {
20402
20402
  };
20403
20403
  }
20404
20404
 
20405
- function create_fragment$k(ctx) {
20405
+ function create_fragment$l(ctx) {
20406
20406
  let svg;
20407
20407
  let defs;
20408
20408
  let linearGradient;
20409
20409
  let stop0;
20410
20410
  let stop1;
20411
- let if_block = /*unfolded*/ ctx[3] && create_if_block$g(ctx);
20411
+ let if_block = /*unfolded*/ ctx[3] && create_if_block$h(ctx);
20412
20412
 
20413
20413
  return {
20414
20414
  c() {
@@ -20447,7 +20447,7 @@ void main() {
20447
20447
  internal.transition_in(if_block, 1);
20448
20448
  }
20449
20449
  } else {
20450
- if_block = create_if_block$g(ctx);
20450
+ if_block = create_if_block$h(ctx);
20451
20451
  if_block.c();
20452
20452
  internal.transition_in(if_block, 1);
20453
20453
  if_block.m(svg, null);
@@ -20475,7 +20475,7 @@ void main() {
20475
20475
  };
20476
20476
  }
20477
20477
 
20478
- function instance$k($$self, $$props, $$invalidate) {
20478
+ function instance$l($$self, $$props, $$invalidate) {
20479
20479
  let { inDelay = 0 } = $$props;
20480
20480
  let { duration = 0 } = $$props;
20481
20481
  let { outDelay = 0 } = $$props;
@@ -20499,8 +20499,8 @@ void main() {
20499
20499
  internal.init(
20500
20500
  this,
20501
20501
  options,
20502
- instance$k,
20503
- create_fragment$k,
20502
+ instance$l,
20503
+ create_fragment$l,
20504
20504
  internal.safe_not_equal,
20505
20505
  {
20506
20506
  inDelay: 0,
@@ -20508,19 +20508,19 @@ void main() {
20508
20508
  outDelay: 2,
20509
20509
  unfolded: 3
20510
20510
  },
20511
- add_css$k
20511
+ add_css$l
20512
20512
  );
20513
20513
  }
20514
20514
  }
20515
20515
 
20516
20516
  /* src/PanoTagPlugin/Components/Common/Shadow.svelte generated by Svelte v3.50.1 */
20517
20517
 
20518
- function add_css$j(target) {
20518
+ function add_css$k(target) {
20519
20519
  internal.append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
20520
20520
  }
20521
20521
 
20522
20522
  // (23:0) {#if visible}
20523
- function create_if_block$f(ctx) {
20523
+ function create_if_block$g(ctx) {
20524
20524
  let div;
20525
20525
  let div_style_value;
20526
20526
  let div_intro;
@@ -20616,9 +20616,9 @@ void main() {
20616
20616
  };
20617
20617
  }
20618
20618
 
20619
- function create_fragment$j(ctx) {
20619
+ function create_fragment$k(ctx) {
20620
20620
  let if_block_anchor;
20621
- let if_block = /*visible*/ ctx[2] && create_if_block$f(ctx);
20621
+ let if_block = /*visible*/ ctx[2] && create_if_block$g(ctx);
20622
20622
 
20623
20623
  return {
20624
20624
  c() {
@@ -20638,7 +20638,7 @@ void main() {
20638
20638
  internal.transition_in(if_block, 1);
20639
20639
  }
20640
20640
  } else {
20641
- if_block = create_if_block$f(ctx);
20641
+ if_block = create_if_block$g(ctx);
20642
20642
  if_block.c();
20643
20643
  internal.transition_in(if_block, 1);
20644
20644
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -20670,7 +20670,7 @@ void main() {
20670
20670
  return typeof value === 'number' ? value / 16 + 'rem' : value;
20671
20671
  }
20672
20672
 
20673
- function instance$j($$self, $$props, $$invalidate) {
20673
+ function instance$k($$self, $$props, $$invalidate) {
20674
20674
  let { inDelay = 1000 } = $$props;
20675
20675
  let { outDelay = 1000 } = $$props;
20676
20676
  let { visible = true } = $$props;
@@ -20728,8 +20728,8 @@ void main() {
20728
20728
  internal.init(
20729
20729
  this,
20730
20730
  options,
20731
- instance$j,
20732
- create_fragment$j,
20731
+ instance$k,
20732
+ create_fragment$k,
20733
20733
  internal.safe_not_equal,
20734
20734
  {
20735
20735
  inDelay: 0,
@@ -20747,14 +20747,19 @@ void main() {
20747
20747
  opacity: 12,
20748
20748
  zIndex: 13
20749
20749
  },
20750
- add_css$j
20750
+ add_css$k
20751
20751
  );
20752
20752
  }
20753
20753
  }
20754
20754
 
20755
+ function random() {
20756
+ return Math.random().toString(36).slice(-6);
20757
+ }
20758
+ const RANDON_STRING = random();
20759
+
20755
20760
  /* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
20756
20761
 
20757
- function add_css$i(target) {
20762
+ function add_css$j(target) {
20758
20763
  internal.append_styles(target, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
20759
20764
  }
20760
20765
 
@@ -20766,7 +20771,7 @@ void main() {
20766
20771
  return child_ctx;
20767
20772
  }
20768
20773
 
20769
- // (60:0) {#each contentList as item, index}
20774
+ // (79:0) {#each contentList as item, index}
20770
20775
  function create_each_block$5(ctx) {
20771
20776
  let span;
20772
20777
  let t_value = /*item*/ ctx[10] + "";
@@ -20803,7 +20808,7 @@ void main() {
20803
20808
  };
20804
20809
  }
20805
20810
 
20806
- function create_fragment$i(ctx) {
20811
+ function create_fragment$j(ctx) {
20807
20812
  let each_1_anchor;
20808
20813
  let each_value = /*contentList*/ ctx[1];
20809
20814
  let each_blocks = [];
@@ -20860,7 +20865,7 @@ void main() {
20860
20865
  };
20861
20866
  }
20862
20867
 
20863
- function instance$i($$self, $$props, $$invalidate) {
20868
+ function instance$j($$self, $$props, $$invalidate) {
20864
20869
  let contentList;
20865
20870
  let { inDelay = 0 } = $$props;
20866
20871
  let { outDelay = 0 } = $$props;
@@ -20934,7 +20939,22 @@ void main() {
20934
20939
 
20935
20940
  $$self.$$.update = () => {
20936
20941
  if ($$self.$$.dirty & /*content*/ 16) {
20937
- $$invalidate(1, contentList = content.slice().split(''));
20942
+ // v0.3.7 emoji support
20943
+ $$invalidate(1, contentList = (() => {
20944
+ const result = [];
20945
+
20946
+ // eslint-disable-next-line prettier/prettier
20947
+ const emojiRegExp = new RegExp(/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})/gu);
20948
+
20949
+ const emojiSplitFlag = `__EMOJI_SPLIT_${RANDON_STRING}__`;
20950
+ const emojiFlag = `__EMOJI_${RANDON_STRING}__`;
20951
+
20952
+ content.slice().replace(emojiRegExp, emoji => `${emojiSplitFlag}${emojiFlag}${emoji}${emojiSplitFlag}`).split(emojiSplitFlag).forEach(item => {
20953
+ if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
20954
+ });
20955
+
20956
+ return result.filter(Boolean);
20957
+ })());
20938
20958
  }
20939
20959
 
20940
20960
  if ($$self.$$.dirty & /*unfolded*/ 32) {
@@ -20954,8 +20974,8 @@ void main() {
20954
20974
  internal.init(
20955
20975
  this,
20956
20976
  options,
20957
- instance$i,
20958
- create_fragment$i,
20977
+ instance$j,
20978
+ create_fragment$j,
20959
20979
  internal.safe_not_equal,
20960
20980
  {
20961
20981
  inDelay: 2,
@@ -20963,7 +20983,7 @@ void main() {
20963
20983
  content: 4,
20964
20984
  unfolded: 5
20965
20985
  },
20966
- add_css$i
20986
+ add_css$j
20967
20987
  );
20968
20988
  }
20969
20989
  }
@@ -20973,12 +20993,12 @@ void main() {
20973
20993
 
20974
20994
  /* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.50.1 */
20975
20995
 
20976
- function add_css$h(target) {
20996
+ function add_css$i(target) {
20977
20997
  internal.append_styles(target, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
20978
20998
  }
20979
20999
 
20980
21000
  // (12:0) {#if visible}
20981
- function create_if_block$e(ctx) {
21001
+ function create_if_block$f(ctx) {
20982
21002
  let div1;
20983
21003
  let shadow;
20984
21004
  let t;
@@ -21071,10 +21091,10 @@ void main() {
21071
21091
  };
21072
21092
  }
21073
21093
 
21074
- function create_fragment$h(ctx) {
21094
+ function create_fragment$i(ctx) {
21075
21095
  let if_block_anchor;
21076
21096
  let current;
21077
- let if_block = /*visible*/ ctx[1] && create_if_block$e(ctx);
21097
+ let if_block = /*visible*/ ctx[1] && create_if_block$f(ctx);
21078
21098
 
21079
21099
  return {
21080
21100
  c() {
@@ -21095,7 +21115,7 @@ void main() {
21095
21115
  internal.transition_in(if_block, 1);
21096
21116
  }
21097
21117
  } else {
21098
- if_block = create_if_block$e(ctx);
21118
+ if_block = create_if_block$f(ctx);
21099
21119
  if_block.c();
21100
21120
  internal.transition_in(if_block, 1);
21101
21121
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -21126,7 +21146,7 @@ void main() {
21126
21146
  };
21127
21147
  }
21128
21148
 
21129
- function instance$h($$self, $$props, $$invalidate) {
21149
+ function instance$i($$self, $$props, $$invalidate) {
21130
21150
  let { direction = 'right' } = $$props;
21131
21151
  let { visible = true } = $$props;
21132
21152
  let { duration = 0 } = $$props;
@@ -21155,8 +21175,8 @@ void main() {
21155
21175
  internal.init(
21156
21176
  this,
21157
21177
  options,
21158
- instance$h,
21159
- create_fragment$h,
21178
+ instance$i,
21179
+ create_fragment$i,
21160
21180
  internal.safe_not_equal,
21161
21181
  {
21162
21182
  direction: 0,
@@ -21165,14 +21185,14 @@ void main() {
21165
21185
  inDelay: 3,
21166
21186
  outDelay: 4
21167
21187
  },
21168
- add_css$h
21188
+ add_css$i
21169
21189
  );
21170
21190
  }
21171
21191
  }
21172
21192
 
21173
21193
  /* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.50.1 */
21174
21194
 
21175
- function add_css$g(target) {
21195
+ function add_css$h(target) {
21176
21196
  internal.append_styles(target, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
21177
21197
  }
21178
21198
 
@@ -21244,7 +21264,7 @@ void main() {
21244
21264
  }
21245
21265
 
21246
21266
  // (28:0) {#if lineHeight < textHeight}
21247
- function create_if_block$d(ctx) {
21267
+ function create_if_block$e(ctx) {
21248
21268
  let div;
21249
21269
  let arrow;
21250
21270
  let current;
@@ -21291,7 +21311,7 @@ void main() {
21291
21311
  };
21292
21312
  }
21293
21313
 
21294
- function create_fragment$g(ctx) {
21314
+ function create_fragment$h(ctx) {
21295
21315
  let each_blocks = [];
21296
21316
  let each_1_lookup = new Map();
21297
21317
  let t;
@@ -21306,7 +21326,7 @@ void main() {
21306
21326
  each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
21307
21327
  }
21308
21328
 
21309
- let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$d(ctx);
21329
+ let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$e(ctx);
21310
21330
 
21311
21331
  return {
21312
21332
  c() {
@@ -21344,7 +21364,7 @@ void main() {
21344
21364
  internal.transition_in(if_block, 1);
21345
21365
  }
21346
21366
  } else {
21347
- if_block = create_if_block$d(ctx);
21367
+ if_block = create_if_block$e(ctx);
21348
21368
  if_block.c();
21349
21369
  internal.transition_in(if_block, 1);
21350
21370
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -21389,7 +21409,7 @@ void main() {
21389
21409
  };
21390
21410
  }
21391
21411
 
21392
- function instance$g($$self, $$props, $$invalidate) {
21412
+ function instance$h($$self, $$props, $$invalidate) {
21393
21413
  let transform;
21394
21414
  let arrowDirection;
21395
21415
  let foldTextDelay;
@@ -21464,27 +21484,27 @@ void main() {
21464
21484
  internal.init(
21465
21485
  this,
21466
21486
  options,
21467
- instance$g,
21468
- create_fragment$g,
21487
+ instance$h,
21488
+ create_fragment$h,
21469
21489
  internal.safe_not_equal,
21470
21490
  {
21471
21491
  visible: 0,
21472
21492
  textUnfolded: 8,
21473
21493
  textItems: 1
21474
21494
  },
21475
- add_css$g
21495
+ add_css$h
21476
21496
  );
21477
21497
  }
21478
21498
  }
21479
21499
 
21480
21500
  /* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.50.1 */
21481
21501
 
21482
- function add_css$f(target) {
21502
+ function add_css$g(target) {
21483
21503
  internal.append_styles(target, "svelte-4fxqxl", ".line.svelte-4fxqxl{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4fxqxl{width:-webkit-max-content;width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
21484
21504
  }
21485
21505
 
21486
21506
  // (29:0) {#if tag.state}
21487
- function create_if_block$c(ctx) {
21507
+ function create_if_block$d(ctx) {
21488
21508
  let shadow;
21489
21509
  let t0;
21490
21510
  let div0;
@@ -21602,10 +21622,10 @@ void main() {
21602
21622
  };
21603
21623
  }
21604
21624
 
21605
- function create_fragment$f(ctx) {
21625
+ function create_fragment$g(ctx) {
21606
21626
  let if_block_anchor;
21607
21627
  let current;
21608
- let if_block = /*tag*/ ctx[0].state && create_if_block$c(ctx);
21628
+ let if_block = /*tag*/ ctx[0].state && create_if_block$d(ctx);
21609
21629
 
21610
21630
  return {
21611
21631
  c() {
@@ -21626,7 +21646,7 @@ void main() {
21626
21646
  internal.transition_in(if_block, 1);
21627
21647
  }
21628
21648
  } else {
21629
- if_block = create_if_block$c(ctx);
21649
+ if_block = create_if_block$d(ctx);
21630
21650
  if_block.c();
21631
21651
  internal.transition_in(if_block, 1);
21632
21652
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -21657,7 +21677,7 @@ void main() {
21657
21677
  };
21658
21678
  }
21659
21679
 
21660
- function instance$f($$self, $$props, $$invalidate) {
21680
+ function instance$g($$self, $$props, $$invalidate) {
21661
21681
  let unfolded;
21662
21682
  let text;
21663
21683
  let foldTextDelay;
@@ -21732,18 +21752,18 @@ void main() {
21732
21752
  class TextTag extends internal.SvelteComponent {
21733
21753
  constructor(options) {
21734
21754
  super();
21735
- internal.init(this, options, instance$f, create_fragment$f, internal.safe_not_equal, { tag: 0 }, add_css$f);
21755
+ internal.init(this, options, instance$g, create_fragment$g, internal.safe_not_equal, { tag: 0 }, add_css$g);
21736
21756
  }
21737
21757
  }
21738
21758
 
21739
21759
  /* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.50.1 */
21740
21760
 
21741
- function add_css$e(target) {
21761
+ function add_css$f(target) {
21742
21762
  internal.append_styles(target, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
21743
21763
  }
21744
21764
 
21745
21765
  // (18:2) {#if unfolded}
21746
- function create_if_block$b(ctx) {
21766
+ function create_if_block$c(ctx) {
21747
21767
  let path;
21748
21768
  let path_intro;
21749
21769
  let path_outro;
@@ -21803,13 +21823,13 @@ void main() {
21803
21823
  };
21804
21824
  }
21805
21825
 
21806
- function create_fragment$e(ctx) {
21826
+ function create_fragment$f(ctx) {
21807
21827
  let svg;
21808
21828
  let defs;
21809
21829
  let linearGradient;
21810
21830
  let stop0;
21811
21831
  let stop1;
21812
- let if_block = /*unfolded*/ ctx[3] && create_if_block$b(ctx);
21832
+ let if_block = /*unfolded*/ ctx[3] && create_if_block$c(ctx);
21813
21833
 
21814
21834
  return {
21815
21835
  c() {
@@ -21847,7 +21867,7 @@ void main() {
21847
21867
  internal.transition_in(if_block, 1);
21848
21868
  }
21849
21869
  } else {
21850
- if_block = create_if_block$b(ctx);
21870
+ if_block = create_if_block$c(ctx);
21851
21871
  if_block.c();
21852
21872
  internal.transition_in(if_block, 1);
21853
21873
  if_block.m(svg, null);
@@ -21875,7 +21895,7 @@ void main() {
21875
21895
  };
21876
21896
  }
21877
21897
 
21878
- function instance$e($$self, $$props, $$invalidate) {
21898
+ function instance$f($$self, $$props, $$invalidate) {
21879
21899
  let { inDelay = 0 } = $$props;
21880
21900
  let { duration = 0 } = $$props;
21881
21901
  let { outDelay = 0 } = $$props;
@@ -21899,8 +21919,8 @@ void main() {
21899
21919
  internal.init(
21900
21920
  this,
21901
21921
  options,
21902
- instance$e,
21903
- create_fragment$e,
21922
+ instance$f,
21923
+ create_fragment$f,
21904
21924
  internal.safe_not_equal,
21905
21925
  {
21906
21926
  inDelay: 0,
@@ -21908,98 +21928,295 @@ void main() {
21908
21928
  outDelay: 2,
21909
21929
  unfolded: 3
21910
21930
  },
21911
- add_css$e
21931
+ add_css$f
21912
21932
  );
21913
21933
  }
21914
21934
  }
21915
21935
 
21936
+ /* src/PanoTagPlugin/Components/Common/MediaItem.svelte generated by Svelte v3.50.1 */
21937
+
21938
+ function add_css$e(target) {
21939
+ internal.append_styles(target, "svelte-6jwk1w", ".media-item.svelte-6jwk1w{height:100%}.media-content.svelte-6jwk1w{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-6jwk1w{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
21940
+ }
21941
+
21942
+ // (6:0) {#if media}
21943
+ function create_if_block$b(ctx) {
21944
+ let div;
21945
+ let div_style_value;
21946
+
21947
+ function select_block_type(ctx, dirty) {
21948
+ if (/*media*/ ctx[0].type === 'Image') return create_if_block_1$7;
21949
+ if (/*media*/ ctx[0].type === 'Video') return create_if_block_2$3;
21950
+ }
21951
+
21952
+ let current_block_type = select_block_type(ctx);
21953
+ let if_block = current_block_type && current_block_type(ctx);
21954
+
21955
+ return {
21956
+ c() {
21957
+ div = internal.element("div");
21958
+ if (if_block) if_block.c();
21959
+ internal.attr(div, "class", "media-item svelte-6jwk1w");
21960
+ internal.attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`);
21961
+ },
21962
+ m(target, anchor) {
21963
+ internal.insert(target, div, anchor);
21964
+ if (if_block) if_block.m(div, null);
21965
+ },
21966
+ p(ctx, dirty) {
21967
+ if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
21968
+ if_block.p(ctx, dirty);
21969
+ } else {
21970
+ if (if_block) if_block.d(1);
21971
+ if_block = current_block_type && current_block_type(ctx);
21972
+
21973
+ if (if_block) {
21974
+ if_block.c();
21975
+ if_block.m(div, null);
21976
+ }
21977
+ }
21978
+
21979
+ if (dirty & /*objectFit*/ 2 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`)) {
21980
+ internal.attr(div, "style", div_style_value);
21981
+ }
21982
+ },
21983
+ d(detaching) {
21984
+ if (detaching) internal.detach(div);
21985
+
21986
+ if (if_block) {
21987
+ if_block.d();
21988
+ }
21989
+ }
21990
+ };
21991
+ }
21992
+
21993
+ // (10:37)
21994
+ function create_if_block_2$3(ctx) {
21995
+ let video;
21996
+ let video_src_value;
21997
+ let video_poster_value;
21998
+ let video_preload_value;
21999
+ let t;
22000
+ let div;
22001
+
22002
+ return {
22003
+ c() {
22004
+ video = internal.element("video");
22005
+ t = internal.space();
22006
+ div = internal.element("div");
22007
+ internal.attr(video, "class", "media-content svelte-6jwk1w");
22008
+ if (!internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) internal.attr(video, "src", video_src_value);
22009
+ internal.attr(video, "poster", video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined);
22010
+ internal.attr(video, "preload", video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto');
22011
+ video.playsInline = true;
22012
+ internal.attr(video, "paused", "");
22013
+ video.loop = false;
22014
+ internal.attr(video, "crossorigin", "");
22015
+ video.controls = false;
22016
+ video.muted = true;
22017
+ internal.attr(div, "class", "video-icon svelte-6jwk1w");
22018
+ internal.set_style(div, "background-image", "url(" + Image_Play + ")");
22019
+ },
22020
+ m(target, anchor) {
22021
+ internal.insert(target, video, anchor);
22022
+ internal.insert(target, t, anchor);
22023
+ internal.insert(target, div, anchor);
22024
+ },
22025
+ p(ctx, dirty) {
22026
+ if (dirty & /*media*/ 1 && !internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) {
22027
+ internal.attr(video, "src", video_src_value);
22028
+ }
22029
+
22030
+ if (dirty & /*media*/ 1 && video_poster_value !== (video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined)) {
22031
+ internal.attr(video, "poster", video_poster_value);
22032
+ }
22033
+
22034
+ if (dirty & /*media*/ 1 && video_preload_value !== (video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto')) {
22035
+ internal.attr(video, "preload", video_preload_value);
22036
+ }
22037
+ },
22038
+ d(detaching) {
22039
+ if (detaching) internal.detach(video);
22040
+ if (detaching) internal.detach(t);
22041
+ if (detaching) internal.detach(div);
22042
+ }
22043
+ };
22044
+ }
22045
+
22046
+ // (8:4) {#if media.type === 'Image'}
22047
+ function create_if_block_1$7(ctx) {
22048
+ let img;
22049
+ let img_src_value;
22050
+ let img_alt_value;
22051
+
22052
+ return {
22053
+ c() {
22054
+ img = internal.element("img");
22055
+ internal.attr(img, "class", "media-content svelte-6jwk1w");
22056
+ if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) internal.attr(img, "src", img_src_value);
22057
+ internal.attr(img, "alt", img_alt_value = /*media*/ ctx[0].name);
22058
+ },
22059
+ m(target, anchor) {
22060
+ internal.insert(target, img, anchor);
22061
+ },
22062
+ p(ctx, dirty) {
22063
+ if (dirty & /*media*/ 1 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) {
22064
+ internal.attr(img, "src", img_src_value);
22065
+ }
22066
+
22067
+ if (dirty & /*media*/ 1 && img_alt_value !== (img_alt_value = /*media*/ ctx[0].name)) {
22068
+ internal.attr(img, "alt", img_alt_value);
22069
+ }
22070
+ },
22071
+ d(detaching) {
22072
+ if (detaching) internal.detach(img);
22073
+ }
22074
+ };
22075
+ }
22076
+
22077
+ function create_fragment$e(ctx) {
22078
+ let if_block_anchor;
22079
+ let if_block = /*media*/ ctx[0] && create_if_block$b(ctx);
22080
+
22081
+ return {
22082
+ c() {
22083
+ if (if_block) if_block.c();
22084
+ if_block_anchor = internal.empty();
22085
+ },
22086
+ m(target, anchor) {
22087
+ if (if_block) if_block.m(target, anchor);
22088
+ internal.insert(target, if_block_anchor, anchor);
22089
+ },
22090
+ p(ctx, [dirty]) {
22091
+ if (/*media*/ ctx[0]) {
22092
+ if (if_block) {
22093
+ if_block.p(ctx, dirty);
22094
+ } else {
22095
+ if_block = create_if_block$b(ctx);
22096
+ if_block.c();
22097
+ if_block.m(if_block_anchor.parentNode, if_block_anchor);
22098
+ }
22099
+ } else if (if_block) {
22100
+ if_block.d(1);
22101
+ if_block = null;
22102
+ }
22103
+ },
22104
+ i: internal.noop,
22105
+ o: internal.noop,
22106
+ d(detaching) {
22107
+ if (if_block) if_block.d(detaching);
22108
+ if (detaching) internal.detach(if_block_anchor);
22109
+ }
22110
+ };
22111
+ }
22112
+
22113
+ function instance$e($$self, $$props, $$invalidate) {
22114
+ let { media } = $$props;
22115
+ let { objectFit = 'cover' } = $$props;
22116
+
22117
+ $$self.$$set = $$props => {
22118
+ if ('media' in $$props) $$invalidate(0, media = $$props.media);
22119
+ if ('objectFit' in $$props) $$invalidate(1, objectFit = $$props.objectFit);
22120
+ };
22121
+
22122
+ return [media, objectFit];
22123
+ }
22124
+
22125
+ class MediaItem extends internal.SvelteComponent {
22126
+ constructor(options) {
22127
+ super();
22128
+ internal.init(this, options, instance$e, create_fragment$e, internal.safe_not_equal, { media: 0, objectFit: 1 }, add_css$e);
22129
+ }
22130
+ }
22131
+
21916
22132
  /* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.50.1 */
21917
22133
 
21918
22134
  function add_css$d(target) {
21919
- internal.append_styles(target, "svelte-129jnm", ".media.svelte-129jnm{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.carousel-item.svelte-129jnm{height:100%}.media-content.svelte-129jnm{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-129jnm{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
22135
+ internal.append_styles(target, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
21920
22136
  }
21921
22137
 
21922
22138
  function get_each_context$3(ctx, list, i) {
21923
22139
  const child_ctx = ctx.slice();
21924
- child_ctx[9] = list[i];
22140
+ child_ctx[14] = list[i];
21925
22141
  return child_ctx;
21926
22142
  }
21927
22143
 
21928
- // (16:0) {#if unfolded}
22144
+ // (24:0) {#if unfolded}
21929
22145
  function create_if_block$a(ctx) {
21930
22146
  let div;
22147
+ let current_block_type_index;
22148
+ let if_block;
21931
22149
  let div_intro;
21932
22150
  let div_outro;
21933
22151
  let current;
21934
- let each_value = /*mediaDataList*/ ctx[6];
21935
- let each_blocks = [];
22152
+ const if_block_creators = [create_if_block_1$6, create_else_block$1];
22153
+ const if_blocks = [];
21936
22154
 
21937
- for (let i = 0; i < each_value.length; i += 1) {
21938
- each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
22155
+ function select_block_type(ctx, dirty) {
22156
+ if (/*carouselEnabled*/ ctx[11]) return 0;
22157
+ return 1;
21939
22158
  }
21940
22159
 
22160
+ current_block_type_index = select_block_type(ctx);
22161
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
22162
+
21941
22163
  return {
21942
22164
  c() {
21943
22165
  div = internal.element("div");
21944
-
21945
- for (let i = 0; i < each_blocks.length; i += 1) {
21946
- each_blocks[i].c();
21947
- }
21948
-
21949
- internal.attr(div, "class", "media svelte-129jnm");
21950
- internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
22166
+ if_block.c();
22167
+ internal.attr(div, "class", "media svelte-ai0lv9");
22168
+ internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
21951
22169
  },
21952
22170
  m(target, anchor) {
21953
22171
  internal.insert(target, div, anchor);
21954
-
21955
- for (let i = 0; i < each_blocks.length; i += 1) {
21956
- each_blocks[i].m(div, null);
21957
- }
21958
-
22172
+ if_blocks[current_block_type_index].m(div, null);
21959
22173
  current = true;
21960
22174
  },
21961
22175
  p(new_ctx, dirty) {
21962
22176
  ctx = new_ctx;
22177
+ let previous_block_index = current_block_type_index;
22178
+ current_block_type_index = select_block_type(ctx);
21963
22179
 
21964
- if (dirty & /*objectFit, Image_Play, mediaDataList*/ 96) {
21965
- each_value = /*mediaDataList*/ ctx[6];
21966
- let i;
22180
+ if (current_block_type_index === previous_block_index) {
22181
+ if_blocks[current_block_type_index].p(ctx, dirty);
22182
+ } else {
22183
+ internal.group_outros();
21967
22184
 
21968
- for (i = 0; i < each_value.length; i += 1) {
21969
- const child_ctx = get_each_context$3(ctx, each_value, i);
22185
+ internal.transition_out(if_blocks[previous_block_index], 1, 1, () => {
22186
+ if_blocks[previous_block_index] = null;
22187
+ });
21970
22188
 
21971
- if (each_blocks[i]) {
21972
- each_blocks[i].p(child_ctx, dirty);
21973
- } else {
21974
- each_blocks[i] = create_each_block$3(child_ctx);
21975
- each_blocks[i].c();
21976
- each_blocks[i].m(div, null);
21977
- }
21978
- }
22189
+ internal.check_outros();
22190
+ if_block = if_blocks[current_block_type_index];
21979
22191
 
21980
- for (; i < each_blocks.length; i += 1) {
21981
- each_blocks[i].d(1);
22192
+ if (!if_block) {
22193
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
22194
+ if_block.c();
22195
+ } else {
22196
+ if_block.p(ctx, dirty);
21982
22197
  }
21983
22198
 
21984
- each_blocks.length = each_value.length;
22199
+ internal.transition_in(if_block, 1);
22200
+ if_block.m(div, null);
21985
22201
  }
21986
22202
 
21987
- if (!current || dirty & /*unfolded*/ 8) {
21988
- internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
22203
+ if (!current || dirty & /*unfolded*/ 16) {
22204
+ internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
21989
22205
  }
21990
22206
  },
21991
22207
  i(local) {
21992
22208
  if (current) return;
22209
+ internal.transition_in(if_block);
21993
22210
 
21994
22211
  if (local) {
21995
22212
  internal.add_render_callback(() => {
21996
22213
  if (div_outro) div_outro.end(1);
21997
22214
 
21998
- div_intro = internal.create_in_transition(div, transition.fly, /*animation*/ ctx[4]
22215
+ div_intro = internal.create_in_transition(div, transition.fly, /*animation*/ ctx[5]
21999
22216
  ? {
22000
22217
  y: 4,
22001
- duration: /*duration*/ ctx[2],
22002
- delay: /*inDelay*/ ctx[0],
22218
+ duration: /*duration*/ ctx[3],
22219
+ delay: /*inDelay*/ ctx[1],
22003
22220
  easing: easing.linear
22004
22221
  }
22005
22222
  : undefined);
@@ -22011,14 +22228,15 @@ void main() {
22011
22228
  current = true;
22012
22229
  },
22013
22230
  o(local) {
22231
+ internal.transition_out(if_block);
22014
22232
  if (div_intro) div_intro.invalidate();
22015
22233
 
22016
22234
  if (local) {
22017
- div_outro = internal.create_out_transition(div, transition.fly, /*animation*/ ctx[4]
22235
+ div_outro = internal.create_out_transition(div, transition.fly, /*animation*/ ctx[5]
22018
22236
  ? {
22019
22237
  y: 4,
22020
- duration: /*duration*/ ctx[2],
22021
- delay: /*outDelay*/ ctx[1],
22238
+ duration: /*duration*/ ctx[3],
22239
+ delay: /*outDelay*/ ctx[2],
22022
22240
  easing: easing.linear
22023
22241
  }
22024
22242
  : undefined);
@@ -22028,211 +22246,295 @@ void main() {
22028
22246
  },
22029
22247
  d(detaching) {
22030
22248
  if (detaching) internal.detach(div);
22031
- internal.destroy_each(each_blocks, detaching);
22249
+ if_blocks[current_block_type_index].d();
22032
22250
  if (detaching && div_outro) div_outro.end();
22033
22251
  }
22034
22252
  };
22035
22253
  }
22036
22254
 
22037
- // (29:65)
22038
- function create_if_block_4$2(ctx) {
22039
- let video;
22040
- let video_src_value;
22041
- let video_poster_value;
22255
+ // (80:4) {:else}
22256
+ function create_else_block$1(ctx) {
22257
+ let mediaitem;
22258
+ let current;
22259
+
22260
+ mediaitem = new MediaItem({
22261
+ props: {
22262
+ media: /*mediaData*/ ctx[0][0],
22263
+ objectFit: /*objectFit*/ ctx[6]
22264
+ }
22265
+ });
22042
22266
 
22043
22267
  return {
22044
22268
  c() {
22045
- video = internal.element("video");
22046
- internal.attr(video, "class", "media-content svelte-129jnm");
22047
- if (!internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) internal.attr(video, "src", video_src_value);
22048
- internal.attr(video, "poster", video_poster_value = /*media*/ ctx[9].videoCoverUrl);
22049
- video.playsInline = true;
22050
- internal.attr(video, "paused", "");
22051
- video.loop = false;
22052
- internal.attr(video, "preload", "auto");
22053
- internal.attr(video, "crossorigin", "");
22054
- video.controls = false;
22055
- video.muted = true;
22269
+ internal.create_component(mediaitem.$$.fragment);
22056
22270
  },
22057
22271
  m(target, anchor) {
22058
- internal.insert(target, video, anchor);
22272
+ internal.mount_component(mediaitem, target, anchor);
22273
+ current = true;
22059
22274
  },
22060
22275
  p(ctx, dirty) {
22061
- if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) {
22062
- internal.attr(video, "src", video_src_value);
22063
- }
22064
-
22065
- if (dirty & /*mediaDataList*/ 64 && video_poster_value !== (video_poster_value = /*media*/ ctx[9].videoCoverUrl)) {
22066
- internal.attr(video, "poster", video_poster_value);
22067
- }
22276
+ const mediaitem_changes = {};
22277
+ if (dirty & /*mediaData*/ 1) mediaitem_changes.media = /*mediaData*/ ctx[0][0];
22278
+ if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
22279
+ mediaitem.$set(mediaitem_changes);
22280
+ },
22281
+ i(local) {
22282
+ if (current) return;
22283
+ internal.transition_in(mediaitem.$$.fragment, local);
22284
+ current = true;
22285
+ },
22286
+ o(local) {
22287
+ internal.transition_out(mediaitem.$$.fragment, local);
22288
+ current = false;
22068
22289
  },
22069
22290
  d(detaching) {
22070
- if (detaching) internal.detach(video);
22291
+ internal.destroy_component(mediaitem, detaching);
22071
22292
  }
22072
22293
  };
22073
22294
  }
22074
22295
 
22075
- // (27:64)
22076
- function create_if_block_3$2(ctx) {
22077
- let img;
22078
- let img_src_value;
22079
- let img_alt_value;
22296
+ // (31:4) {#if carouselEnabled}
22297
+ function create_if_block_1$6(ctx) {
22298
+ let swiper$1;
22299
+ let current;
22300
+
22301
+ swiper$1 = new svelte$1.Swiper({
22302
+ props: {
22303
+ style: "height: 100%",
22304
+ modules: [swiper.Autoplay],
22305
+ spaceBetween: 30,
22306
+ autoplay: /*autoplay*/ ctx[10]
22307
+ ? noTypecheck({
22308
+ delay: 2000,
22309
+ stopOnLastSlide: false,
22310
+ disableOnInteraction: false
22311
+ })
22312
+ : false,
22313
+ loop: true,
22314
+ $$slots: { default: [create_default_slot] },
22315
+ $$scope: { ctx }
22316
+ }
22317
+ });
22318
+
22319
+ swiper$1.$on("slideChange", /*slideChange_handler*/ ctx[13]);
22080
22320
 
22081
22321
  return {
22082
22322
  c() {
22083
- img = internal.element("img");
22084
- internal.attr(img, "class", "media-content svelte-129jnm");
22085
- if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) internal.attr(img, "src", img_src_value);
22086
- internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
22323
+ internal.create_component(swiper$1.$$.fragment);
22087
22324
  },
22088
22325
  m(target, anchor) {
22089
- internal.insert(target, img, anchor);
22326
+ internal.mount_component(swiper$1, target, anchor);
22327
+ current = true;
22090
22328
  },
22091
22329
  p(ctx, dirty) {
22092
- if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) {
22093
- internal.attr(img, "src", img_src_value);
22094
- }
22330
+ const swiper_changes = {};
22331
+
22332
+ if (dirty & /*autoplay*/ 1024) swiper_changes.autoplay = /*autoplay*/ ctx[10]
22333
+ ? noTypecheck({
22334
+ delay: 2000,
22335
+ stopOnLastSlide: false,
22336
+ disableOnInteraction: false
22337
+ })
22338
+ : false;
22095
22339
 
22096
- if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
22097
- internal.attr(img, "alt", img_alt_value);
22340
+ if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
22341
+ swiper_changes.$$scope = { dirty, ctx };
22098
22342
  }
22343
+
22344
+ swiper$1.$set(swiper_changes);
22345
+ },
22346
+ i(local) {
22347
+ if (current) return;
22348
+ internal.transition_in(swiper$1.$$.fragment, local);
22349
+ current = true;
22350
+ },
22351
+ o(local) {
22352
+ internal.transition_out(swiper$1.$$.fragment, local);
22353
+ current = false;
22099
22354
  },
22100
22355
  d(detaching) {
22101
- if (detaching) internal.detach(img);
22356
+ internal.destroy_component(swiper$1, detaching);
22102
22357
  }
22103
22358
  };
22104
22359
  }
22105
22360
 
22106
- // (25:8) {#if media.type === 'Image'}
22107
- function create_if_block_2$3(ctx) {
22108
- let img;
22109
- let img_src_value;
22110
- let img_alt_value;
22361
+ // (75:10) <SwiperSlide>
22362
+ function create_default_slot_1(ctx) {
22363
+ let mediaitem;
22364
+ let t;
22365
+ let current;
22366
+
22367
+ mediaitem = new MediaItem({
22368
+ props: {
22369
+ media: /*media*/ ctx[14],
22370
+ objectFit: /*objectFit*/ ctx[6]
22371
+ }
22372
+ });
22111
22373
 
22112
22374
  return {
22113
22375
  c() {
22114
- img = internal.element("img");
22115
- internal.attr(img, "class", "media-content carousel-indicator-item svelte-129jnm");
22116
- if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) internal.attr(img, "src", img_src_value);
22117
- internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
22376
+ internal.create_component(mediaitem.$$.fragment);
22377
+ t = internal.space();
22118
22378
  },
22119
22379
  m(target, anchor) {
22120
- internal.insert(target, img, anchor);
22380
+ internal.mount_component(mediaitem, target, anchor);
22381
+ internal.insert(target, t, anchor);
22382
+ current = true;
22121
22383
  },
22122
22384
  p(ctx, dirty) {
22123
- if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) {
22124
- internal.attr(img, "src", img_src_value);
22125
- }
22126
-
22127
- if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
22128
- internal.attr(img, "alt", img_alt_value);
22129
- }
22385
+ const mediaitem_changes = {};
22386
+ if (dirty & /*mediaDataList*/ 256) mediaitem_changes.media = /*media*/ ctx[14];
22387
+ if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
22388
+ mediaitem.$set(mediaitem_changes);
22389
+ },
22390
+ i(local) {
22391
+ if (current) return;
22392
+ internal.transition_in(mediaitem.$$.fragment, local);
22393
+ current = true;
22394
+ },
22395
+ o(local) {
22396
+ internal.transition_out(mediaitem.$$.fragment, local);
22397
+ current = false;
22130
22398
  },
22131
22399
  d(detaching) {
22132
- if (detaching) internal.detach(img);
22400
+ internal.destroy_component(mediaitem, detaching);
22401
+ if (detaching) internal.detach(t);
22133
22402
  }
22134
22403
  };
22135
22404
  }
22136
22405
 
22137
- // (33:8) {#if media.type === 'Video'}
22138
- function create_if_block_1$6(ctx) {
22139
- let div;
22406
+ // (74:8) {#each mediaDataList as media}
22407
+ function create_each_block$3(ctx) {
22408
+ let swiperslide;
22409
+ let current;
22410
+
22411
+ swiperslide = new svelte$1.SwiperSlide({
22412
+ props: {
22413
+ $$slots: { default: [create_default_slot_1] },
22414
+ $$scope: { ctx }
22415
+ }
22416
+ });
22140
22417
 
22141
22418
  return {
22142
22419
  c() {
22143
- div = internal.element("div");
22144
- internal.attr(div, "class", "video-icon svelte-129jnm");
22145
- internal.set_style(div, "background-image", "url(" + Image_Play + ")");
22420
+ internal.create_component(swiperslide.$$.fragment);
22146
22421
  },
22147
22422
  m(target, anchor) {
22148
- internal.insert(target, div, anchor);
22423
+ internal.mount_component(swiperslide, target, anchor);
22424
+ current = true;
22425
+ },
22426
+ p(ctx, dirty) {
22427
+ const swiperslide_changes = {};
22428
+
22429
+ if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
22430
+ swiperslide_changes.$$scope = { dirty, ctx };
22431
+ }
22432
+
22433
+ swiperslide.$set(swiperslide_changes);
22434
+ },
22435
+ i(local) {
22436
+ if (current) return;
22437
+ internal.transition_in(swiperslide.$$.fragment, local);
22438
+ current = true;
22439
+ },
22440
+ o(local) {
22441
+ internal.transition_out(swiperslide.$$.fragment, local);
22442
+ current = false;
22149
22443
  },
22150
- p: internal.noop,
22151
22444
  d(detaching) {
22152
- if (detaching) internal.detach(div);
22445
+ internal.destroy_component(swiperslide, detaching);
22153
22446
  }
22154
22447
  };
22155
22448
  }
22156
22449
 
22157
- // (23:4) {#each mediaDataList as media}
22158
- function create_each_block$3(ctx) {
22159
- let div;
22160
- let t0;
22161
- let t1;
22162
- let div_style_value;
22450
+ // (32:6) <Swiper style="height: 100%" modules={[Autoplay]} spaceBetween={30} autoplay={autoplay ? noTypecheck({ delay: 2000, stopOnLastSlide: false, disableOnInteraction: false }) : false} loop on:slideChange={async (event) => { if (!autoplay) return if (!autoplayConfig.autoplayVideo) return const swiper = event.detail[0] if (!swiper) return const index = swiper.realIndex // loop 完一圈后,swiper.realIndex 会重复一次,比如有三张图片 [0,1,2],slideChange 触发后输出的 index 为 [0,1,2,0,0,1,2,0,0,1,2,0], 添加 lastAutoPlayIndex 判断后,输出为[0,1,2,0,1,2,0,1,2,0] if (index === lastAutoPlayIndex) return lastAutoPlayIndex = index const media = mediaDataList[index] if (!media) return if (media.type !== 'Video') return // 先暂停自动轮播 swiper.autoplay.stop() // 播放视频 await new Promise((resolve) => { const video = swiper.slides[swiper.activeIndex]?.querySelector('video') if (!video) { resolve(noTypecheck(null)) return } video.play() video.onerror = () => resolve(noTypecheck(null)) video.onended = () => resolve(noTypecheck(null)) video.onclick = () => { video.pause() resolve(noTypecheck(null)) } }) // 恢复自动轮播 swiper.autoplay.start() }} >
22451
+ function create_default_slot(ctx) {
22452
+ let each_1_anchor;
22453
+ let current;
22454
+ let each_value = /*mediaDataList*/ ctx[8];
22455
+ let each_blocks = [];
22163
22456
 
22164
- function select_block_type(ctx, dirty) {
22165
- if (/*media*/ ctx[9].type === 'Image') return create_if_block_2$3;
22166
- if (/*media*/ ctx[9].type === 'Video' && /*media*/ ctx[9].videoCoverUrl) return create_if_block_3$2;
22167
- if (/*media*/ ctx[9].type === 'Video' && !/*media*/ ctx[9].videoCoverUrl) return create_if_block_4$2;
22457
+ for (let i = 0; i < each_value.length; i += 1) {
22458
+ each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
22168
22459
  }
22169
22460
 
22170
- let current_block_type = select_block_type(ctx);
22171
- let if_block0 = current_block_type && current_block_type(ctx);
22172
- let if_block1 = /*media*/ ctx[9].type === 'Video' && create_if_block_1$6();
22461
+ const out = i => internal.transition_out(each_blocks[i], 1, 1, () => {
22462
+ each_blocks[i] = null;
22463
+ });
22173
22464
 
22174
22465
  return {
22175
22466
  c() {
22176
- div = internal.element("div");
22177
- if (if_block0) if_block0.c();
22178
- t0 = internal.space();
22179
- if (if_block1) if_block1.c();
22180
- t1 = internal.space();
22181
- internal.attr(div, "class", "carousel-item svelte-129jnm");
22182
- internal.attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`);
22467
+ for (let i = 0; i < each_blocks.length; i += 1) {
22468
+ each_blocks[i].c();
22469
+ }
22470
+
22471
+ each_1_anchor = internal.empty();
22183
22472
  },
22184
22473
  m(target, anchor) {
22185
- internal.insert(target, div, anchor);
22186
- if (if_block0) if_block0.m(div, null);
22187
- internal.append(div, t0);
22188
- if (if_block1) if_block1.m(div, null);
22189
- internal.append(div, t1);
22474
+ for (let i = 0; i < each_blocks.length; i += 1) {
22475
+ each_blocks[i].m(target, anchor);
22476
+ }
22477
+
22478
+ internal.insert(target, each_1_anchor, anchor);
22479
+ current = true;
22190
22480
  },
22191
22481
  p(ctx, dirty) {
22192
- if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
22193
- if_block0.p(ctx, dirty);
22194
- } else {
22195
- if (if_block0) if_block0.d(1);
22196
- if_block0 = current_block_type && current_block_type(ctx);
22482
+ if (dirty & /*mediaDataList, objectFit*/ 320) {
22483
+ each_value = /*mediaDataList*/ ctx[8];
22484
+ let i;
22197
22485
 
22198
- if (if_block0) {
22199
- if_block0.c();
22200
- if_block0.m(div, t0);
22486
+ for (i = 0; i < each_value.length; i += 1) {
22487
+ const child_ctx = get_each_context$3(ctx, each_value, i);
22488
+
22489
+ if (each_blocks[i]) {
22490
+ each_blocks[i].p(child_ctx, dirty);
22491
+ internal.transition_in(each_blocks[i], 1);
22492
+ } else {
22493
+ each_blocks[i] = create_each_block$3(child_ctx);
22494
+ each_blocks[i].c();
22495
+ internal.transition_in(each_blocks[i], 1);
22496
+ each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
22497
+ }
22201
22498
  }
22202
- }
22203
22499
 
22204
- if (/*media*/ ctx[9].type === 'Video') {
22205
- if (if_block1) {
22206
- if_block1.p(ctx, dirty);
22207
- } else {
22208
- if_block1 = create_if_block_1$6();
22209
- if_block1.c();
22210
- if_block1.m(div, t1);
22500
+ internal.group_outros();
22501
+
22502
+ for (i = each_value.length; i < each_blocks.length; i += 1) {
22503
+ out(i);
22211
22504
  }
22212
- } else if (if_block1) {
22213
- if_block1.d(1);
22214
- if_block1 = null;
22505
+
22506
+ internal.check_outros();
22215
22507
  }
22508
+ },
22509
+ i(local) {
22510
+ if (current) return;
22216
22511
 
22217
- if (dirty & /*objectFit*/ 32 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`)) {
22218
- internal.attr(div, "style", div_style_value);
22512
+ for (let i = 0; i < each_value.length; i += 1) {
22513
+ internal.transition_in(each_blocks[i]);
22219
22514
  }
22515
+
22516
+ current = true;
22220
22517
  },
22221
- d(detaching) {
22222
- if (detaching) internal.detach(div);
22518
+ o(local) {
22519
+ each_blocks = each_blocks.filter(Boolean);
22223
22520
 
22224
- if (if_block0) {
22225
- if_block0.d();
22521
+ for (let i = 0; i < each_blocks.length; i += 1) {
22522
+ internal.transition_out(each_blocks[i]);
22226
22523
  }
22227
22524
 
22228
- if (if_block1) if_block1.d();
22525
+ current = false;
22526
+ },
22527
+ d(detaching) {
22528
+ internal.destroy_each(each_blocks, detaching);
22529
+ if (detaching) internal.detach(each_1_anchor);
22229
22530
  }
22230
22531
  };
22231
22532
  }
22232
22533
 
22233
22534
  function create_fragment$d(ctx) {
22234
22535
  let if_block_anchor;
22235
- let if_block = /*unfolded*/ ctx[3] && create_if_block$a(ctx);
22536
+ let current;
22537
+ let if_block = /*unfolded*/ ctx[4] && create_if_block$a(ctx);
22236
22538
 
22237
22539
  return {
22238
22540
  c() {
@@ -22242,13 +22544,14 @@ void main() {
22242
22544
  m(target, anchor) {
22243
22545
  if (if_block) if_block.m(target, anchor);
22244
22546
  internal.insert(target, if_block_anchor, anchor);
22547
+ current = true;
22245
22548
  },
22246
22549
  p(ctx, [dirty]) {
22247
- if (/*unfolded*/ ctx[3]) {
22550
+ if (/*unfolded*/ ctx[4]) {
22248
22551
  if (if_block) {
22249
22552
  if_block.p(ctx, dirty);
22250
22553
 
22251
- if (dirty & /*unfolded*/ 8) {
22554
+ if (dirty & /*unfolded*/ 16) {
22252
22555
  internal.transition_in(if_block, 1);
22253
22556
  }
22254
22557
  } else {
@@ -22268,10 +22571,13 @@ void main() {
22268
22571
  }
22269
22572
  },
22270
22573
  i(local) {
22574
+ if (current) return;
22271
22575
  internal.transition_in(if_block);
22576
+ current = true;
22272
22577
  },
22273
22578
  o(local) {
22274
22579
  internal.transition_out(if_block);
22580
+ current = false;
22275
22581
  },
22276
22582
  d(detaching) {
22277
22583
  if (if_block) if_block.d(detaching);
@@ -22281,7 +22587,9 @@ void main() {
22281
22587
  }
22282
22588
 
22283
22589
  function instance$d($$self, $$props, $$invalidate) {
22590
+ let carouselEnabled;
22284
22591
  let mediaDataList;
22592
+ let autoplay;
22285
22593
  let { mediaData } = $$props;
22286
22594
  let { inDelay = 0 } = $$props;
22287
22595
  let { outDelay = 0 } = $$props;
@@ -22290,34 +22598,93 @@ void main() {
22290
22598
  let { animation = true } = $$props;
22291
22599
  let { objectFit = 'cover' } = $$props;
22292
22600
  let { enableCarousel = true } = $$props;
22601
+ let { autoplayConfig = { autoplay: true, autoplayVideo: false } } = $$props;
22602
+ let lastAutoPlayIndex = null;
22603
+
22604
+ const slideChange_handler = async event => {
22605
+ if (!autoplay) return;
22606
+ if (!autoplayConfig.autoplayVideo) return;
22607
+ const swiper = event.detail[0];
22608
+ if (!swiper) return;
22609
+ const index = swiper.realIndex;
22610
+
22611
+ // loop 完一圈后,swiper.realIndex 会重复一次,比如有三张图片 [0,1,2],slideChange 触发后输出的 index 为 [0,1,2,0,0,1,2,0,0,1,2,0], 添加 lastAutoPlayIndex 判断后,输出为[0,1,2,0,1,2,0,1,2,0]
22612
+ if (index === lastAutoPlayIndex) return;
22613
+
22614
+ $$invalidate(9, lastAutoPlayIndex = index);
22615
+ const media = mediaDataList[index];
22616
+ if (!media) return;
22617
+ if (media.type !== 'Video') return;
22618
+
22619
+ // 先暂停自动轮播
22620
+ swiper.autoplay.stop();
22621
+
22622
+ // 播放视频
22623
+ await new Promise(resolve => {
22624
+ const video = swiper.slides[swiper.activeIndex]?.querySelector('video');
22625
+
22626
+ if (!video) {
22627
+ resolve(noTypecheck(null));
22628
+ return;
22629
+ }
22630
+
22631
+ video.play();
22632
+ video.onerror = () => resolve(noTypecheck(null));
22633
+ video.onended = () => resolve(noTypecheck(null));
22634
+
22635
+ video.onclick = () => {
22636
+ video.pause();
22637
+ resolve(noTypecheck(null));
22638
+ };
22639
+ });
22640
+
22641
+ // 恢复自动轮播
22642
+ swiper.autoplay.start();
22643
+ };
22293
22644
 
22294
22645
  $$self.$$set = $$props => {
22295
- if ('mediaData' in $$props) $$invalidate(7, mediaData = $$props.mediaData);
22296
- if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
22297
- if ('outDelay' in $$props) $$invalidate(1, outDelay = $$props.outDelay);
22298
- if ('duration' in $$props) $$invalidate(2, duration = $$props.duration);
22299
- if ('unfolded' in $$props) $$invalidate(3, unfolded = $$props.unfolded);
22300
- if ('animation' in $$props) $$invalidate(4, animation = $$props.animation);
22301
- if ('objectFit' in $$props) $$invalidate(5, objectFit = $$props.objectFit);
22302
- if ('enableCarousel' in $$props) $$invalidate(8, enableCarousel = $$props.enableCarousel);
22646
+ if ('mediaData' in $$props) $$invalidate(0, mediaData = $$props.mediaData);
22647
+ if ('inDelay' in $$props) $$invalidate(1, inDelay = $$props.inDelay);
22648
+ if ('outDelay' in $$props) $$invalidate(2, outDelay = $$props.outDelay);
22649
+ if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
22650
+ if ('unfolded' in $$props) $$invalidate(4, unfolded = $$props.unfolded);
22651
+ if ('animation' in $$props) $$invalidate(5, animation = $$props.animation);
22652
+ if ('objectFit' in $$props) $$invalidate(6, objectFit = $$props.objectFit);
22653
+ if ('enableCarousel' in $$props) $$invalidate(12, enableCarousel = $$props.enableCarousel);
22654
+ if ('autoplayConfig' in $$props) $$invalidate(7, autoplayConfig = $$props.autoplayConfig);
22303
22655
  };
22304
22656
 
22305
22657
  $$self.$$.update = () => {
22306
- if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 384) {
22307
- $$invalidate(6, mediaDataList = (enableCarousel ? mediaData : [mediaData[0]]).filter(notNil));
22658
+ if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 4097) {
22659
+ $$invalidate(11, carouselEnabled = enableCarousel && (mediaData === null || mediaData === void 0
22660
+ ? void 0
22661
+ : mediaData.length) > 1);
22662
+ }
22663
+
22664
+ if ($$self.$$.dirty & /*mediaData*/ 1) {
22665
+ $$invalidate(8, mediaDataList = mediaData);
22666
+ }
22667
+
22668
+ if ($$self.$$.dirty & /*mediaDataList, autoplayConfig*/ 384) {
22669
+ $$invalidate(10, autoplay = mediaDataList.length > 1 && autoplayConfig.autoplay);
22308
22670
  }
22309
22671
  };
22310
22672
 
22311
22673
  return [
22674
+ mediaData,
22312
22675
  inDelay,
22313
22676
  outDelay,
22314
22677
  duration,
22315
22678
  unfolded,
22316
22679
  animation,
22317
22680
  objectFit,
22681
+ autoplayConfig,
22318
22682
  mediaDataList,
22319
- mediaData,
22320
- enableCarousel
22683
+ lastAutoPlayIndex,
22684
+ autoplay,
22685
+ carouselEnabled,
22686
+ enableCarousel,
22687
+ slideChange_handler
22321
22688
  ];
22322
22689
  }
22323
22690
 
@@ -22332,14 +22699,15 @@ void main() {
22332
22699
  create_fragment$d,
22333
22700
  internal.safe_not_equal,
22334
22701
  {
22335
- mediaData: 7,
22336
- inDelay: 0,
22337
- outDelay: 1,
22338
- duration: 2,
22339
- unfolded: 3,
22340
- animation: 4,
22341
- objectFit: 5,
22342
- enableCarousel: 8
22702
+ mediaData: 0,
22703
+ inDelay: 1,
22704
+ outDelay: 2,
22705
+ duration: 3,
22706
+ unfolded: 4,
22707
+ animation: 5,
22708
+ objectFit: 6,
22709
+ enableCarousel: 12,
22710
+ autoplayConfig: 7
22343
22711
  },
22344
22712
  add_css$d
22345
22713
  );
@@ -22573,6 +22941,7 @@ void main() {
22573
22941
 
22574
22942
  media = new Media({
22575
22943
  props: {
22944
+ autoplayConfig: { autoplay: false },
22576
22945
  unfolded: /*unfolded*/ ctx[4],
22577
22946
  mediaData: /*mediaData*/ ctx[3],
22578
22947
  inDelay: 500,
@@ -23920,7 +24289,7 @@ void main() {
23920
24289
  internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
23921
24290
  }
23922
24291
 
23923
- // (18:0) {#if tag.state && mediaData}
24292
+ // (20:0) {#if tag.state && mediaData}
23924
24293
  function create_if_block$5(ctx) {
23925
24294
  let div;
23926
24295
  let media;
@@ -23928,10 +24297,11 @@ void main() {
23928
24297
 
23929
24298
  media = new Media({
23930
24299
  props: {
23931
- unfolded: /*unfolded*/ ctx[3],
23932
- mediaData: /*mediaData*/ ctx[2],
23933
- objectFit: /*objectFit*/ ctx[1],
23934
- enableCarousel: true,
24300
+ unfolded: /*unfolded*/ ctx[5],
24301
+ mediaData: /*mediaData*/ ctx[4],
24302
+ objectFit: /*objectFit*/ ctx[2],
24303
+ enableCarousel: /*enableCarousel*/ ctx[1],
24304
+ autoplayConfig: /*autoplayConfig*/ ctx[3],
23935
24305
  inDelay: 500,
23936
24306
  duration: 500
23937
24307
  }
@@ -23950,9 +24320,11 @@ void main() {
23950
24320
  },
23951
24321
  p(ctx, dirty) {
23952
24322
  const media_changes = {};
23953
- if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
23954
- if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
23955
- if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
24323
+ if (dirty & /*unfolded*/ 32) media_changes.unfolded = /*unfolded*/ ctx[5];
24324
+ if (dirty & /*mediaData*/ 16) media_changes.mediaData = /*mediaData*/ ctx[4];
24325
+ if (dirty & /*objectFit*/ 4) media_changes.objectFit = /*objectFit*/ ctx[2];
24326
+ if (dirty & /*enableCarousel*/ 2) media_changes.enableCarousel = /*enableCarousel*/ ctx[1];
24327
+ if (dirty & /*autoplayConfig*/ 8) media_changes.autoplayConfig = /*autoplayConfig*/ ctx[3];
23956
24328
  media.$set(media_changes);
23957
24329
  },
23958
24330
  i(local) {
@@ -23974,7 +24346,7 @@ void main() {
23974
24346
  function create_fragment$8(ctx) {
23975
24347
  let if_block_anchor;
23976
24348
  let current;
23977
- let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
24349
+ let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[4] && create_if_block$5(ctx);
23978
24350
 
23979
24351
  return {
23980
24352
  c() {
@@ -23987,11 +24359,11 @@ void main() {
23987
24359
  current = true;
23988
24360
  },
23989
24361
  p(ctx, [dirty]) {
23990
- if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
24362
+ if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[4]) {
23991
24363
  if (if_block) {
23992
24364
  if_block.p(ctx, dirty);
23993
24365
 
23994
- if (dirty & /*tag, mediaData*/ 5) {
24366
+ if (dirty & /*tag, mediaData*/ 17) {
23995
24367
  internal.transition_in(if_block, 1);
23996
24368
  }
23997
24369
  } else {
@@ -24029,8 +24401,10 @@ void main() {
24029
24401
  function instance$8($$self, $$props, $$invalidate) {
24030
24402
  let unfolded;
24031
24403
  let mediaData;
24404
+ let enableCarousel;
24405
+ let autoplayConfig;
24032
24406
  let objectFit;
24033
- var _a;
24407
+ var _a, _b;
24034
24408
  let { tag } = $$props;
24035
24409
 
24036
24410
  $$self.$$set = $$props => {
@@ -24039,23 +24413,38 @@ void main() {
24039
24413
 
24040
24414
  $$self.$$.update = () => {
24041
24415
  if ($$self.$$.dirty & /*tag*/ 1) {
24042
- $$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
24416
+ $$invalidate(5, unfolded = tag.state ? tag.state.unfolded : false);
24417
+ }
24418
+
24419
+ if ($$self.$$.dirty & /*tag*/ 1) {
24420
+ $$invalidate(4, mediaData = tag.data.mediaData);
24043
24421
  }
24044
24422
 
24045
24423
  if ($$self.$$.dirty & /*tag*/ 1) {
24046
- $$invalidate(2, mediaData = tag.data.mediaData);
24424
+ $$invalidate(1, enableCarousel = tag.data.enableCarousel);
24047
24425
  }
24048
24426
 
24049
- if ($$self.$$.dirty & /*tag, _a*/ 17) {
24050
- $$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
24427
+ if ($$self.$$.dirty & /*tag, _a, enableCarousel*/ 67) {
24428
+ $$invalidate(3, autoplayConfig = $$invalidate(6, _a = tag.data.autoplayConfig) !== null && _a !== void 0
24051
24429
  ? _a
24430
+ : {
24431
+ autoplay: enableCarousel !== null && enableCarousel !== void 0
24432
+ ? enableCarousel
24433
+ : true,
24434
+ autoplayVideo: true
24435
+ });
24436
+ }
24437
+
24438
+ if ($$self.$$.dirty & /*tag, _b*/ 129) {
24439
+ $$invalidate(2, objectFit = $$invalidate(7, _b = tag.data.objectFit) !== null && _b !== void 0
24440
+ ? _b
24052
24441
  : (() => {
24053
24442
  if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
24054
24443
  })());
24055
24444
  }
24056
24445
  };
24057
24446
 
24058
- return [tag, objectFit, mediaData, unfolded, _a];
24447
+ return [tag, enableCarousel, objectFit, autoplayConfig, mediaData, unfolded, _a, _b];
24059
24448
  }
24060
24449
 
24061
24450
  class MediaPlane extends internal.SvelteComponent {
@@ -26196,6 +26585,16 @@ void main() {
26196
26585
  value: new THREE__namespace.Raycaster()
26197
26586
  });
26198
26587
  }
26588
+ getTagById(id) {
26589
+ const tag = this.tags.find((tag) => {
26590
+ return tag.id === id;
26591
+ });
26592
+ if (!tag) {
26593
+ console.error(`getTagById(): tag is ${tag}, id is ${id}`);
26594
+ return undefined;
26595
+ }
26596
+ return tag;
26597
+ }
26199
26598
  /**
26200
26599
  * @description: 改变配置
26201
26600
  */
@@ -26250,7 +26649,6 @@ void main() {
26250
26649
  const visible = (() => {
26251
26650
  var _a, _b, _c, _d, _e;
26252
26651
  const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
26253
- // console.log(config)
26254
26652
  const distance = this.getDistance(tag);
26255
26653
  if (typeof config === 'function') {
26256
26654
  return config(this.five, { tag, distance });
@@ -26526,18 +26924,11 @@ void main() {
26526
26924
  const unfolded = this.getUnfoldedByPanoIndex(tag);
26527
26925
  if (!tag.state)
26528
26926
  return;
26529
- if (unfolded === undefined)
26530
- return;
26531
- tag.state.unfolded = unfolded;
26532
- });
26533
- }
26534
- setVisibleAndUnfoldedByPanoIndex() {
26535
- this.setVisibleByPanoIndex();
26536
- this.setUnfoldedByPanoIndex();
26537
- this.tags.forEach((tag) => {
26538
- var _a, _b;
26927
+ if (unfolded !== undefined) {
26928
+ tag.state.unfolded = unfolded;
26929
+ }
26539
26930
  // 如果标签展开但不可见,就要判断autoUnfoldWhenHide
26540
- if (((_a = tag.state) === null || _a === void 0 ? void 0 : _a.unfolded) && !((_b = tag.state) === null || _b === void 0 ? void 0 : _b.visible)) {
26931
+ if (unfolded && !tag.state.visible) {
26541
26932
  const config = this.getTagConfig(tag);
26542
26933
  if (typeof config.unfoldedConfig === 'object' && config.unfoldedConfig.autoUnfoldWhenHide !== false) {
26543
26934
  tag.state.unfolded = false;
@@ -26558,16 +26949,6 @@ void main() {
26558
26949
  return;
26559
26950
  return { x, y, z };
26560
26951
  }
26561
- getTagById(id) {
26562
- const tag = this.tags.find((tag) => {
26563
- return tag.id === id;
26564
- });
26565
- if (!tag) {
26566
- console.error(`getTagById(): tag is ${tag}, id is ${id}`);
26567
- return undefined;
26568
- }
26569
- return tag;
26570
- }
26571
26952
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
26572
26953
  filterPointTag() {
26573
26954
  return this.tags.filter((tag) => tag.pointType === exports.PointType.PointTag);
@@ -26587,9 +26968,10 @@ void main() {
26587
26968
  }
26588
26969
 
26589
26970
  // declare const __APP_VERSION__: string
26590
- const VERSION$2 = '0.3.6';
26971
+ const VERSION$2 = '1.0.0';
26591
26972
  const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
26592
- const TAG_INITIAL_UNFOLDED = true;
26973
+ // 初始是否展开
26974
+ const TAG_INITIAL_UNFOLDED = false;
26593
26975
  const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
26594
26976
  class PanoTagPluginController extends TagComputer {
26595
26977
  constructor(five, params) {
@@ -26699,8 +27081,9 @@ void main() {
26699
27081
  /**
26700
27082
  * @description: 加载数据
26701
27083
  */
26702
- load(data) {
27084
+ load(data, config) {
26703
27085
  var _a, _b;
27086
+ this.clearTags();
26704
27087
  console.log(PLUGIN_NAME$1, 'load:', { data });
26705
27088
  if (this.params.mergePluginDefaultConfigToLoadDataConfig) {
26706
27089
  this.config = objectAssignDeep__default["default"]({}, this.config, {
@@ -26714,17 +27097,15 @@ void main() {
26714
27097
  if (data.contentTypeConfig)
26715
27098
  this.config.contentTypeConfig = data.contentTypeConfig;
26716
27099
  }
26717
- this.clearCache();
26718
- this.disposeAllCSS3DContainer();
26719
- this.tags = [];
26720
- this.addTag(data.tagList);
27100
+ this.addTag(data.tagList, config);
27101
+ // debug
26721
27102
  if (this.debug)
26722
27103
  addDebugPoints(this.five, this.tags);
26723
27104
  }
26724
27105
  /**
26725
27106
  * @description: 添加标签
26726
27107
  */
26727
- addTag(tag) {
27108
+ addTag(tag, config) {
26728
27109
  const tags = Array.isArray(tag) ? tag : [tag];
26729
27110
  const _tags = tags
26730
27111
  .map((tag) => {
@@ -26734,7 +27115,7 @@ void main() {
26734
27115
  .filter((tag) => tag.position);
26735
27116
  this.tags.push(..._tags);
26736
27117
  actionAfterFiveModelLoad(this.five, () => {
26737
- var _a, _b;
27118
+ var _a, _b, _c;
26738
27119
  // 添加事件
26739
27120
  if (this.store.eventListenerDisposer) {
26740
27121
  (_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
@@ -26750,10 +27131,18 @@ void main() {
26750
27131
  }, 200);
26751
27132
  }
26752
27133
  this.checkPanelTag();
26753
- this.setVisibleAndUnfoldedByPanoIndex();
26754
- this.updateRenderAllTag();
27134
+ // v0.3.8 新增 withAnimation,默认 false
27135
+ // v1.0.0 withAnimation 默认值改为 true
27136
+ this.setVisibleAndUnfolded({ withAnimation: (_c = config === null || config === void 0 ? void 0 : config.withAnimation) !== null && _c !== void 0 ? _c : true }).then(() => this.updateRenderAllTags());
27137
+ this.updateRenderAllTags();
26755
27138
  });
26756
27139
  }
27140
+ clearTags() {
27141
+ this.tags = [];
27142
+ this.clearCache();
27143
+ this.disposeAllCSS3DContainer();
27144
+ this.updateRenderAllTags();
27145
+ }
26757
27146
  async show(params) {
26758
27147
  const { userAction = true, withAnimation = false } = params !== null && params !== void 0 ? params : {};
26759
27148
  if (this.store.disposed)
@@ -26844,7 +27233,7 @@ void main() {
26844
27233
  }
26845
27234
  // 3D 转 2D 的时候要销毁 3D container
26846
27235
  this.checkPanelTag();
26847
- this.updateRenderAllTag();
27236
+ this.updateRenderAllTags();
26848
27237
  }
26849
27238
  /**
26850
27239
  * @description: 改变tag任意属性
@@ -26862,7 +27251,7 @@ void main() {
26862
27251
  if ((currentTag === null || currentTag === void 0 ? void 0 : currentTag.tag3DContentSvelte) && (tag === null || tag === void 0 ? void 0 : tag.normal)) {
26863
27252
  currentTag.tag3DContentSvelte.currentNormal = arrayPositionToVector3(tag.normal);
26864
27253
  }
26865
- this.updateRenderAllTag();
27254
+ this.updateRenderAllTags();
26866
27255
  this.checkPanelTag();
26867
27256
  }
26868
27257
  /**
@@ -26876,12 +27265,31 @@ void main() {
26876
27265
  return;
26877
27266
  this.tags.splice(index, 1);
26878
27267
  });
26879
- this.updateRenderAllTag();
27268
+ this.updateRenderAllTags();
26880
27269
  }
26881
27270
  /** 暂停当前标签内进行的所有多媒体 */
26882
27271
  pauseCurrentMedia() {
26883
27272
  this.mediaStore.set({ currentMediaUrl: '' });
26884
27273
  }
27274
+ /**
27275
+ * @description: 设置 visible 和 unfolded
27276
+ */
27277
+ async setVisibleAndUnfolded({ withAnimation } = { withAnimation: false }) {
27278
+ this.setVisibleByPanoIndex();
27279
+ if (withAnimation) {
27280
+ return new Promise((resolve, reject) => {
27281
+ // setTimeout 初始隐藏,然后展开,而不是一步到位,要不就没动画了
27282
+ setTimeout(() => {
27283
+ this.setUnfoldedByPanoIndex();
27284
+ resolve();
27285
+ }, 10); // 10ms 是等待 TextTag onMount
27286
+ });
27287
+ }
27288
+ else {
27289
+ this.setUnfoldedByPanoIndex();
27290
+ return Promise.resolve();
27291
+ }
27292
+ }
26885
27293
  handleShow() {
26886
27294
  this.state.visible = true;
26887
27295
  this.updateTagContainerVisible();
@@ -26892,7 +27300,7 @@ void main() {
26892
27300
  }
26893
27301
  handleEnable() {
26894
27302
  this.state.enabled = true;
26895
- this.updateRenderAllTag();
27303
+ this.updateRenderAllTags();
26896
27304
  }
26897
27305
  handleDisable() {
26898
27306
  var _a;
@@ -26938,7 +27346,7 @@ void main() {
26938
27346
  // resize
26939
27347
  const show = () => {
26940
27348
  this.show();
26941
- this.updateRenderAllTag();
27349
+ this.updateRenderAllTags();
26942
27350
  };
26943
27351
  const { observe: hideObserve, unobserve: hideUnobserve } = resizeObserver(throttle(() => {
26944
27352
  /**
@@ -26976,7 +27384,7 @@ void main() {
26976
27384
  tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: false });
26977
27385
  }
26978
27386
  });
26979
- this.updateRenderAllTag();
27387
+ this.updateRenderAllTags();
26980
27388
  }
26981
27389
  /**
26982
27390
  * @description: 走点/切换模型后显示
@@ -27014,13 +27422,13 @@ void main() {
27014
27422
  tag.state.unfolded = false;
27015
27423
  });
27016
27424
  }
27017
- this.updateRenderAllTag();
27425
+ this.updateRenderAllTags();
27018
27426
  }
27019
27427
  }
27020
27428
  /**
27021
27429
  * @description: 更新所有标签
27022
27430
  */
27023
- updateRenderAllTag() {
27431
+ updateRenderAllTags() {
27024
27432
  this.updateRenderPointTag();
27025
27433
  this.updateRenderPlaneTag();
27026
27434
  }
@@ -27041,20 +27449,20 @@ void main() {
27041
27449
  // 设置展开/收起
27042
27450
  this.setUnfoldedByCamera();
27043
27451
  // 渲染
27044
- this.updateRenderAllTag();
27452
+ this.updateRenderAllTags();
27045
27453
  }, 100);
27046
27454
  }
27047
27455
  handleFiveCameraUpdate() {
27048
27456
  // 渲染
27049
27457
  this.updateRenderPointTag();
27050
27458
  }
27051
- handleFivePanoArrived() {
27052
- this.setVisibleAndUnfoldedByPanoIndex();
27459
+ async handleFivePanoArrived() {
27460
+ await this.setVisibleAndUnfolded();
27053
27461
  this.tags.forEach((tag) => {
27054
27462
  tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: true });
27055
27463
  });
27056
27464
  // 渲染
27057
- this.updateRenderAllTag();
27465
+ this.updateRenderAllTags();
27058
27466
  }
27059
27467
  setUnfoldedByCamera() {
27060
27468
  let hasTagUnfolded = false; // 是否有标签由于camera的转动而展开