@realsee/dnalogel 2.19.0-1 → 2.19.0-2

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 (311) hide show
  1. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -1
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +3 -0
  3. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -0
  4. package/dist/index.cjs.js +3 -3
  5. package/dist/index.js +674 -668
  6. package/dist/index.umd.js +3 -3
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  16. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  19. package/docs/classes/PanoTagPluginController.html +45 -45
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.FivePointSelector.html +11 -11
  22. package/docs/classes/Util.Interval.html +11 -11
  23. package/docs/classes/Util.Magnifier.html +16 -16
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/Rotation.html +7 -7
  36. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  37. package/docs/functions/CameraMovementPlugin.html +3 -3
  38. package/docs/functions/CruisePlugin.html +3 -3
  39. package/docs/functions/GuideLinePlugin.html +4 -4
  40. package/docs/functions/ItemLabelPlugin.html +3 -3
  41. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  42. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  43. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  44. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  46. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  47. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  48. package/docs/functions/ModelViewPlugin.html +3 -3
  49. package/docs/functions/Object3DHelperPlugin.html +3 -3
  50. package/docs/functions/PanoCompassPlugin.html +3 -3
  51. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  52. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  53. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  54. package/docs/functions/PanoMeasurePlugin.html +3 -3
  55. package/docs/functions/PanoRulerPlugin.html +3 -3
  56. package/docs/functions/PanoRulerProPlugin.html +3 -3
  57. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  58. package/docs/functions/PanoTagPlugin.html +3 -3
  59. package/docs/functions/PanoVideoPlugin.html +3 -3
  60. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  61. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  62. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  63. package/docs/functions/Util.getFrameTime.html +4 -4
  64. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  65. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  66. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  67. package/docs/functions/Util.isModelLike.html +4 -4
  68. package/docs/functions/Util.isNil.html +4 -4
  69. package/docs/functions/Util.isPanoramaLike.html +4 -4
  70. package/docs/functions/Util.nextFrame.html +4 -4
  71. package/docs/functions/Util.notNil.html +4 -4
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  73. package/docs/functions/Util.tweenProgress.html +4 -4
  74. package/docs/functions/Util.uuid.html +4 -4
  75. package/docs/functions/pluginFlag.html +4 -4
  76. package/docs/index.html +4 -4
  77. package/docs/interfaces/AddTagConfig.html +5 -5
  78. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  79. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  80. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  81. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  82. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  83. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  84. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  87. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  88. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  89. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  90. package/docs/interfaces/EventMap.html +14 -14
  91. package/docs/interfaces/FloorplanBounding.html +7 -7
  92. package/docs/interfaces/FloorplanData.html +9 -9
  93. package/docs/interfaces/FloorplanEntrance.html +10 -10
  94. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  95. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  96. package/docs/interfaces/FloorplanFloorData.html +8 -8
  97. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  98. package/docs/interfaces/FloorplanObserver.html +8 -8
  99. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  100. package/docs/interfaces/FloorplanPosition.html +6 -6
  101. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  102. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  103. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  104. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  105. package/docs/interfaces/FloorplanServerData.html +6 -6
  106. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  107. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  109. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  110. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  111. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  112. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  113. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  114. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  115. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  116. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  117. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  118. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  119. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  120. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  121. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  122. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  124. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  125. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  127. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  128. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  129. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  130. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  131. package/docs/interfaces/HelperOffset.html +7 -7
  132. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  134. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  135. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  136. package/docs/interfaces/MinMax.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  138. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  139. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  140. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  141. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  142. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  143. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  144. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  145. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  146. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  147. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  148. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  149. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  150. package/docs/interfaces/Object3DHelperState.html +7 -7
  151. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  152. package/docs/interfaces/PaintBrushAction.html +11 -11
  153. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  154. package/docs/interfaces/PaintBrushState.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  156. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  157. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  158. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  159. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  161. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  162. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  163. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  164. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  165. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  166. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  168. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  169. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  171. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  172. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  173. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  174. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  177. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  178. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  179. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  180. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  182. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  185. package/docs/interfaces/Point.html +7 -7
  186. package/docs/interfaces/Room.html +8 -8
  187. package/docs/interfaces/RoomInfo.html +6 -6
  188. package/docs/interfaces/RoomLabel.html +13 -13
  189. package/docs/interfaces/RoomRules.html +4 -4
  190. package/docs/interfaces/Rooms.html +4 -4
  191. package/docs/interfaces/Scissor.html +8 -8
  192. package/docs/interfaces/State.html +7 -7
  193. package/docs/interfaces/TagCacheInterface.html +11 -11
  194. package/docs/interfaces/TagConfig.html +12 -12
  195. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  196. package/docs/interfaces/TagIconUrl.html +11 -11
  197. package/docs/interfaces/TagObjectGroup.html +5 -5
  198. package/docs/interfaces/TagStyle.html +5 -5
  199. package/docs/interfaces/Tags.html +8 -8
  200. package/docs/interfaces/TemporaryState.html +5 -5
  201. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  202. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  203. package/docs/modules/CruisePluginTypes.html +4 -4
  204. package/docs/modules/GuideLineItem.html +4 -4
  205. package/docs/modules/GuideLineModeItem.html +4 -4
  206. package/docs/modules/GuideLinePluginType.html +4 -4
  207. package/docs/modules/PanoVideoPluginType.html +4 -4
  208. package/docs/modules/Util.html +4 -4
  209. package/docs/modules.html +4 -4
  210. package/docs/types/ArrayPosition.html +4 -4
  211. package/docs/types/AudioAppearance.html +4 -4
  212. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  213. package/docs/types/CSS3DRenderExportType.html +4 -4
  214. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  215. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  216. package/docs/types/ClassFunctionParameters.html +4 -4
  217. package/docs/types/Color.html +4 -4
  218. package/docs/types/ContentTypeConfigKey.html +4 -4
  219. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  220. package/docs/types/ContentTypeMap.html +4 -4
  221. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  222. package/docs/types/Create3DElementReturnType.html +4 -4
  223. package/docs/types/CruisePluginExportType.html +4 -4
  224. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  225. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  226. package/docs/types/Direction-1.html +4 -4
  227. package/docs/types/Direction4.html +4 -4
  228. package/docs/types/ElementRenderer.html +4 -4
  229. package/docs/types/FloorplanRuleLabels.html +4 -4
  230. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  231. package/docs/types/GuideLinePluginExportType.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  236. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  237. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  239. package/docs/types/HelperEventMap.html +4 -4
  240. package/docs/types/LoadTagConfig.html +4 -4
  241. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  242. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  243. package/docs/types/MediaData.html +4 -4
  244. package/docs/types/MediaStore.html +4 -4
  245. package/docs/types/ModelElement.html +4 -4
  246. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  247. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  248. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  249. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  250. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  251. package/docs/types/MoveArgs.html +4 -4
  252. package/docs/types/MoveOpts.html +4 -4
  253. package/docs/types/Object3DHelperEventMap.html +4 -4
  254. package/docs/types/ObjectFit.html +4 -4
  255. package/docs/types/PaintBrushEventMap.html +4 -4
  256. package/docs/types/PanoCompassPluginData.html +4 -4
  257. package/docs/types/PanoCompassPluginExportType.html +4 -4
  258. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  259. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  260. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  261. package/docs/types/PanoIndex.html +4 -4
  262. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  263. package/docs/types/PanoMeasureReturnType.html +4 -4
  264. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  265. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  266. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  267. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  268. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  269. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  270. package/docs/types/PlaneTag.html +4 -4
  271. package/docs/types/PlaneTagElement.html +4 -4
  272. package/docs/types/Point2DElement.html +4 -4
  273. package/docs/types/Point2DTag.html +4 -4
  274. package/docs/types/Point3DElement.html +4 -4
  275. package/docs/types/Point3DTag.html +4 -4
  276. package/docs/types/PointTag.html +4 -4
  277. package/docs/types/PointTagElement.html +4 -4
  278. package/docs/types/Position.html +4 -4
  279. package/docs/types/RotateArgs.html +4 -4
  280. package/docs/types/RotateOpts.html +4 -4
  281. package/docs/types/RuleLabelsKey.html +4 -4
  282. package/docs/types/RuleLabelsValue.html +4 -4
  283. package/docs/types/StickType.html +4 -4
  284. package/docs/types/Tag.html +4 -4
  285. package/docs/types/Tag2D.html +4 -4
  286. package/docs/types/Tag3D.html +4 -4
  287. package/docs/types/TagContentType.html +4 -4
  288. package/docs/types/TagDimensionType.html +4 -4
  289. package/docs/types/TagElement.html +4 -4
  290. package/docs/types/TagEvents.html +4 -4
  291. package/docs/types/TagGLTFObject.html +5 -5
  292. package/docs/types/TagHooks.html +4 -4
  293. package/docs/types/TagIconSize.html +4 -4
  294. package/docs/types/TagId.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  296. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  297. package/docs/types/WorkCode.html +4 -4
  298. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  299. package/docs/variables/PLUGIN.html +4 -4
  300. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  301. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  302. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  304. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  305. package/libs/PanoTagPlugin/controller/TagRender.js +83 -77
  306. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -1
  307. package/libs/PanoTagPlugin/typings/controller.d.ts +3 -0
  308. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -0
  309. package/libs/base/BasePlugin.js +1 -1
  310. package/libs/shared-utils/logger.js +1 -1
  311. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- var Iu = Object.defineProperty, Eu = Object.defineProperties;
1
+ var Eu = Object.defineProperty, Iu = Object.defineProperties;
2
2
  var ku = Object.getOwnPropertyDescriptors;
3
3
  var Oa = Object.getOwnPropertySymbols;
4
4
  var xu = Object.prototype.hasOwnProperty, Du = Object.prototype.propertyIsEnumerable;
5
- var hr = (i, t, e) => t in i ? Iu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, G = (i, t) => {
5
+ var hr = (i, t, e) => t in i ? Eu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, G = (i, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  xu.call(t, e) && hr(i, e, t[e]);
8
8
  if (Oa)
9
9
  for (var e of Oa(t))
10
10
  Du.call(t, e) && hr(i, e, t[e]);
11
11
  return i;
12
- }, ye = (i, t) => Eu(i, ku(t));
12
+ }, ye = (i, t) => Iu(i, ku(t));
13
13
  var f = (i, t, e) => (hr(i, typeof t != "symbol" ? t + "" : t, e), e);
14
14
  var F = (i, t, e) => new Promise((n, o) => {
15
15
  var s = (l) => {
@@ -28,7 +28,7 @@ var F = (i, t, e) => new Promise((n, o) => {
28
28
  a((e = e.apply(i, t)).next());
29
29
  });
30
30
  import { Camera as Su, Subscribe as yt, Five as nt } from "@realsee/five";
31
- import * as I from "three";
31
+ import * as E from "three";
32
32
  import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Lu, Color as oo, TextureLoader as Sd, Vector2 as At, PlaneGeometry as Tu, sRGBEncoding as zu, LinearFilter as Vr, Mesh as Fi, CurvePath as ju, LineCurve3 as _u, TubeGeometry as Vu, ShaderMaterial as Md, SphereGeometry as Ou, DoubleSide as Ld, RingGeometry as Bu, Quaternion as aa, Euler as Ba, Matrix4 as Qi, Object3D as Ru, VideoTexture as Qu, Vector4 as Hu, SphereBufferGeometry as Gu } from "three";
33
33
  import { CSS3DRenderer as Wu, CSS3DObject as Or } from "three/examples/jsm/renderers/CSS3DRenderer";
34
34
  import so from "hammerjs";
@@ -38,7 +38,7 @@ import Ra from "animejs";
38
38
  import { GLTFLoader as Nu } from "@realsee/five/gltf-loader";
39
39
  function Fu() {
40
40
  console.info(
41
- "%c %c@realsee/dnalogel %cv2.19.0-1",
41
+ "%c %c@realsee/dnalogel %cv2.19.0-2",
42
42
  [
43
43
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
44
44
  "background-repeat: no-repeat",
@@ -66,7 +66,7 @@ const Qa = () => Promise.resolve(), Ha = {
66
66
  function Yu(i = Qa) {
67
67
  Ha.__queue = Ha.__queue.then(i).catch(Qa);
68
68
  }
69
- function Io(i, t, e) {
69
+ function Eo(i, t, e) {
70
70
  const n = i.x, o = i.y, s = Math.floor(n / t * 1e4) / 1e4, r = Math.floor(o / e * 1e4) / 1e4;
71
71
  return { x: s, y: r };
72
72
  }
@@ -74,7 +74,7 @@ function ur(i, t, e) {
74
74
  const { x: n, y: o } = i, s = n * t, r = o * e;
75
75
  return { x: s, y: r };
76
76
  }
77
- function Eo(i) {
77
+ function Io(i) {
78
78
  if (i.length < 2)
79
79
  return {};
80
80
  const t = i.slice(-2), e = t[0], n = {
@@ -818,14 +818,14 @@ let af = class extends sf {
818
818
  e.onmousedown = (h) => {
819
819
  h.preventDefault(), c = Date.now();
820
820
  const u = h.clientX, m = h.clientY;
821
- r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Io({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
821
+ r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Eo({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
822
822
  }, e.onmousemove = (h) => {
823
823
  if (h.preventDefault(), !s)
824
824
  return;
825
825
  const u = Number(h.clientX), m = Number(h.clientY);
826
- if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Io({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
826
+ if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Eo({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
827
827
  return;
828
- const { control: g, end: v } = Eo(r);
828
+ const { control: g, end: v } = Io(r);
829
829
  !g || !v || (d(s, g, v), s = v);
830
830
  }, e.onmouseup = (h) => {
831
831
  if (h.preventDefault(), s = null, r.length < 3)
@@ -851,14 +851,14 @@ let af = class extends sf {
851
851
  }, e.ontouchstart = (h) => {
852
852
  h.preventDefault(), c = Date.now();
853
853
  const u = h.touches[0].clientX, m = h.touches[0].clientY;
854
- r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Io({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
854
+ r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Eo({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
855
855
  }, e.ontouchmove = (h) => {
856
856
  if (h.preventDefault(), !s)
857
857
  return;
858
858
  const u = Number(h.touches[0].clientX), m = Number(h.touches[0].clientY);
859
- if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Io({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
859
+ if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Eo({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
860
860
  return;
861
- const { control: g, end: v } = Eo(r);
861
+ const { control: g, end: v } = Io(r);
862
862
  !g || !v || (d(s, g, v), s = v);
863
863
  }, e.ontouchend = e.ontouchcancel = (h) => {
864
864
  if (h.preventDefault(), s = null, r.length < 3)
@@ -956,7 +956,7 @@ let af = class extends sf {
956
956
  if (!g.find((P) => P === b)) {
957
957
  if (g.push(b), m.push(ur(l[b], v.clientWidth, v.clientHeight)), m.length < 3)
958
958
  return;
959
- const { control: P, end: D } = Eo(m);
959
+ const { control: P, end: D } = Io(m);
960
960
  if (!P || !D)
961
961
  return;
962
962
  a.quadraticCurveTo(P.x, P.y, D.x, D.y), a.stroke();
@@ -968,7 +968,7 @@ let af = class extends sf {
968
968
  for (let g = 0; g < l.length; g++) {
969
969
  if (m.push(ur(l[g], this.clientWidth, this.clientHeight)), m.length < 3)
970
970
  continue;
971
- const { control: v, end: A } = Eo(m);
971
+ const { control: v, end: A } = Io(m);
972
972
  !v || !A || a.quadraticCurveTo(v.x, v.y, A.x, A.y);
973
973
  }
974
974
  a.stroke(), m = [], s && s(), r();
@@ -994,7 +994,7 @@ let af = class extends sf {
994
994
  this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
995
995
  }
996
996
  };
997
- class dI {
997
+ class dE {
998
998
  constructor(t = {}) {
999
999
  f(this, "controller");
1000
1000
  const e = Object.assign({
@@ -1045,7 +1045,7 @@ class dI {
1045
1045
  this.controller.updateCurrentColor(t);
1046
1046
  }
1047
1047
  }
1048
- const hI = (i, t) => {
1048
+ const hE = (i, t) => {
1049
1049
  var z, Q;
1050
1050
  let e = (Q = (z = t == null ? void 0 : t.initialState) == null ? void 0 : z.enabled) != null ? Q : !0, n = !1, o = !0, s = null;
1051
1051
  const a = G(G({}, {
@@ -1053,48 +1053,48 @@ const hI = (i, t) => {
1053
1053
  lockedPanoIndex: null,
1054
1054
  lockedLatitude: null,
1055
1055
  lockedLongitude: null
1056
- }), t == null ? void 0 : t.config), l = new I.Scene(), c = new Su(60);
1057
- let d = new I.Object3D(), h, u;
1056
+ }), t == null ? void 0 : t.config), l = new E.Scene(), c = new Su(60);
1057
+ let d = new E.Object3D(), h, u;
1058
1058
  {
1059
- const R = new I.DirectionalLight(16777215, 0.5);
1060
- R.position.copy(new I.Vector3(1, 1, 1)), l.add(R);
1059
+ const R = new E.DirectionalLight(16777215, 0.5);
1060
+ R.position.copy(new E.Vector3(1, 1, 1)), l.add(R);
1061
1061
  }
1062
1062
  {
1063
- const R = new I.DirectionalLight(16777215, 0.3);
1063
+ const R = new E.DirectionalLight(16777215, 0.3);
1064
1064
  l.add(R);
1065
1065
  }
1066
1066
  {
1067
- const R = new I.AmbientLight(16777215, 0.3);
1067
+ const R = new E.AmbientLight(16777215, 0.3);
1068
1068
  l.add(R);
1069
1069
  }
1070
1070
  l.add(d);
1071
1071
  const m = () => {
1072
1072
  if (n)
1073
1073
  return;
1074
- h = x(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new I.Vector3()), l.remove(d), d = q(i.model), l.add(d), n = !0, T();
1074
+ h = x(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new E.Vector3()), l.remove(d), d = q(i.model), l.add(d), n = !0, T();
1075
1075
  function R(U) {
1076
1076
  const X = U.clone();
1077
1077
  return X.uniforms.modelAlpha.value = 1, X.uniforms.map.value && (X.uniforms.map.value.needsUpdate = !0), X;
1078
1078
  }
1079
1079
  function q(U) {
1080
- if (U instanceof I.Mesh) {
1080
+ if (U instanceof E.Mesh) {
1081
1081
  const X = U.geometry, J = Array.isArray(U.material) ? U.material.map(R) : R(U.material);
1082
- return new I.Mesh(X, J);
1083
- } else if (U instanceof I.Group) {
1084
- const X = new I.Group();
1082
+ return new E.Mesh(X, J);
1083
+ } else if (U instanceof E.Group) {
1084
+ const X = new E.Group();
1085
1085
  return U.children.forEach((J) => X.add(q(J))), X;
1086
1086
  } else {
1087
- const X = new I.Object3D();
1087
+ const X = new E.Object3D();
1088
1088
  return U.children.forEach((J) => X.add(q(J))), X;
1089
1089
  }
1090
1090
  }
1091
1091
  }, g = () => {
1092
1092
  if (i.renderer)
1093
- return s || (s = new I.WebGLRenderer({ antialias: !1, alpha: !0 }), s.setPixelRatio(i.renderer.getPixelRatio()), s.outputEncoding = I.sRGBEncoding, s.setClearColor(1579548, 0), s.autoClear = !0), s;
1093
+ return s || (s = new E.WebGLRenderer({ antialias: !1, alpha: !0 }), s.setPixelRatio(i.renderer.getPixelRatio()), s.outputEncoding = E.sRGBEncoding, s.setClearColor(1579548, 0), s.autoClear = !0), s;
1094
1094
  }, v = () => {
1095
1095
  d.traverse((R) => {
1096
- R instanceof I.Mesh && [].concat(R.material).forEach((U) => U.dispose());
1097
- }), l.remove(d), d = new I.Object3D(), l.add(d), n = !1, T();
1096
+ R instanceof E.Mesh && [].concat(R.material).forEach((U) => U.dispose());
1097
+ }), l.remove(d), d = new E.Object3D(), l.add(d), n = !1, T();
1098
1098
  }, A = () => {
1099
1099
  e && (n || m());
1100
1100
  }, b = () => {
@@ -1126,14 +1126,14 @@ const hI = (i, t) => {
1126
1126
  let re = J / 2 / Math.tan(Math.PI * q / 360);
1127
1127
  return U < 1 && (re = re / U), isNaN(re) ? J : re;
1128
1128
  }
1129
- function E(R) {
1129
+ function I(R) {
1130
1130
  return i.work.observers[R].standingPosition.clone();
1131
1131
  }
1132
1132
  const T = () => {
1133
1133
  if (!e || !h || !u)
1134
1134
  return;
1135
1135
  const R = i.getPose();
1136
- R.fov = c.fov, R.offset = u, R.distance = h, typeof a.lockedLatitude == "number" && (R.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (R.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (R.offset = E(a.lockedPanoIndex)), a.lookAtCurrentCamera && (R.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(R), o = !0;
1136
+ R.fov = c.fov, R.offset = u, R.distance = h, typeof a.lockedLatitude == "number" && (R.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (R.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (R.offset = I(a.lockedPanoIndex)), a.lookAtCurrentCamera && (R.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(R), o = !0;
1137
1137
  }, S = () => {
1138
1138
  !e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
1139
1139
  }, N = () => {
@@ -1295,9 +1295,9 @@ class ci {
1295
1295
  }
1296
1296
  }
1297
1297
  const hf = ({ x: i, y: t, z: e }) => new $(i, t, e), St = (i) => new $().fromArray(i), Zi = (i) => i instanceof $ ? i : Array.isArray(i) ? St(i) : hf(i);
1298
- class uf extends I.Mesh {
1298
+ class uf extends E.Mesh {
1299
1299
  constructor(e, n) {
1300
- const o = new I.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: I.DoubleSide }), s = new I.PlaneGeometry(e, n);
1300
+ const o = new E.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: E.DoubleSide }), s = new E.PlaneGeometry(e, n);
1301
1301
  super(s, o);
1302
1302
  f(this, "name", "opacity-mesh");
1303
1303
  }
@@ -1315,8 +1315,8 @@ function Dn(...i) {
1315
1315
  const Od = 1, ff = `CSS3DObjectPlus@${Od}`, mf = 216e-5, pf = 3e-3;
1316
1316
  class gf extends Or {
1317
1317
  constructor(e) {
1318
- var x, E, T;
1319
- const n = e.container, o = e.cornerPoints, s = (x = e.ratio) != null ? x : pf, r = (E = e.dpr) != null ? E : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(mf, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
1318
+ var x, I, T;
1319
+ const n = e.container, o = e.cornerPoints, s = (x = e.ratio) != null ? x : pf, r = (I = e.dpr) != null ? I : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(mf, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
1320
1320
  let g;
1321
1321
  if (l === s)
1322
1322
  n.style.width = `${h}px`, n.style.height = `${u}px`, g = n;
@@ -1417,7 +1417,7 @@ class gf extends Or {
1417
1417
  this.scale.applyMatrix4(e), (n = this.opacityMesh) == null || n.scale.applyMatrix4(e);
1418
1418
  }
1419
1419
  }
1420
- class vf extends I.Scene {
1420
+ class vf extends E.Scene {
1421
1421
  constructor() {
1422
1422
  super();
1423
1423
  }
@@ -1427,7 +1427,7 @@ class vf extends I.Scene {
1427
1427
  }), this;
1428
1428
  }
1429
1429
  }
1430
- class Af extends I.Scene {
1430
+ class Af extends E.Scene {
1431
1431
  constructor(e) {
1432
1432
  super();
1433
1433
  f(this, "scene");
@@ -1447,7 +1447,7 @@ class Af extends I.Scene {
1447
1447
  }), super.remove(...e), this;
1448
1448
  }
1449
1449
  }
1450
- class Bd extends I.Group {
1450
+ class Bd extends E.Group {
1451
1451
  constructor(e) {
1452
1452
  super();
1453
1453
  f(this, "isCSS3DGroup", !0);
@@ -1814,7 +1814,7 @@ class Qr {
1814
1814
  return this.min < t.min && this.max > t.max;
1815
1815
  }
1816
1816
  }
1817
- class If {
1817
+ class Ef {
1818
1818
  constructor(t, e) {
1819
1819
  f(this, "min");
1820
1820
  f(this, "max");
@@ -1842,7 +1842,7 @@ function Do(i, t, e) {
1842
1842
  const n = i[t], o = i[e];
1843
1843
  !n || !o || (i[t] = o, i[e] = n);
1844
1844
  }
1845
- function Ef(i, t, e) {
1845
+ function If(i, t, e) {
1846
1846
  const n = e / 2;
1847
1847
  for (let o = 1; o <= n; o++) {
1848
1848
  const s = e - (o - 1);
@@ -1864,7 +1864,7 @@ let Gd = class {
1864
1864
  f(this, "config");
1865
1865
  f(this, "offset", { x: 0, y: 0 });
1866
1866
  f(this, "context");
1867
- f(this, "renderCenter", new I.Vector3());
1867
+ f(this, "renderCenter", new E.Vector3());
1868
1868
  f(this, "hammer");
1869
1869
  f(this, "state", { enabled: !1 });
1870
1870
  f(this, "onPan", (t) => {
@@ -1924,8 +1924,8 @@ let Gd = class {
1924
1924
  render() {
1925
1925
  if (!this.five.renderer || !this.containerDom)
1926
1926
  return;
1927
- const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new I.Vector2()), a = 1, l = n / t, c = o / t, d = a * t, h = (s.x + 1) / 2 * r.x, u = (s.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, u - l / 2, l, c, d), g = Math.floor(n * a), v = Math.floor(o * a);
1928
- Ef(m, g, v);
1927
+ const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new E.Vector2()), a = 1, l = n / t, c = o / t, d = a * t, h = (s.x + 1) / 2 * r.x, u = (s.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, u - l / 2, l, c, d), g = Math.floor(n * a), v = Math.floor(o * a);
1928
+ If(m, g, v);
1929
1929
  const A = new ImageData(g, v);
1930
1930
  A.data.set(m), e.putImageData(A, 0, 0);
1931
1931
  }
@@ -1938,21 +1938,21 @@ let Gd = class {
1938
1938
  };
1939
1939
  function kf(i, t) {
1940
1940
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
1941
- return new I.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
1941
+ return new E.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
1942
1942
  }
1943
1943
  function Wd(i, t) {
1944
1944
  const { offsetWidth: e, offsetHeight: n } = t;
1945
- return new I.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
1945
+ return new E.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
1946
1946
  }
1947
1947
  function xf(i, t) {
1948
1948
  const e = i.getElement();
1949
1949
  if (!e)
1950
1950
  return;
1951
- const n = Wd(t, e), o = new I.Raycaster();
1951
+ const n = Wd(t, e), o = new E.Raycaster();
1952
1952
  return o.setFromCamera(n, i.camera), o;
1953
1953
  }
1954
1954
  function Df(i, t) {
1955
- const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new I.Vector2().fromArray([o, s]), a = new I.Raycaster();
1955
+ const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new E.Vector2().fromArray([o, s]), a = new E.Raycaster();
1956
1956
  return a.setFromCamera(r, i.camera), i.model.intersectRaycaster(a)[0];
1957
1957
  }
1958
1958
  const Sf = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkI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4koLA9CdB0CRQBhI1u7apTq3CnEpDADgIK2w6q1jyVQH8wJKLGunnYqTUN5xLYQEBh2wDVkscSaNF6mf/xxx9fbuNm7vZYMl64BCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQn8NQn8fyHnyuSABiy2AAAAAElFTkSuQmCC", Mf = `
@@ -1972,36 +1972,36 @@ void main() {
1972
1972
  }
1973
1973
  `;
1974
1974
  function Tf() {
1975
- const i = new I.PlaneGeometry(0.4, 0.4), t = Sf, e = new I.TextureLoader().load(t);
1976
- e.encoding = I.sRGBEncoding, e.minFilter = I.LinearFilter;
1977
- const n = new I.MeshBasicMaterial({
1975
+ const i = new E.PlaneGeometry(0.4, 0.4), t = Sf, e = new E.TextureLoader().load(t);
1976
+ e.encoding = E.sRGBEncoding, e.minFilter = E.LinearFilter;
1977
+ const n = new E.MeshBasicMaterial({
1978
1978
  map: e,
1979
1979
  transparent: !0,
1980
1980
  depthTest: !1
1981
1981
  });
1982
- return new I.Mesh(i, n);
1982
+ return new E.Mesh(i, n);
1983
1983
  }
1984
1984
  function zf() {
1985
- const i = new I.CurvePath();
1986
- i.add(new I.LineCurve3(new I.Vector3(0, 0, 0), new I.Vector3(0, 0, 0.1)));
1987
- const t = new I.TubeGeometry(i, 8, 3e-3), e = new I.ShaderMaterial({
1985
+ const i = new E.CurvePath();
1986
+ i.add(new E.LineCurve3(new E.Vector3(0, 0, 0), new E.Vector3(0, 0, 0.1)));
1987
+ const t = new E.TubeGeometry(i, 8, 3e-3), e = new E.ShaderMaterial({
1988
1988
  vertexShader: Mf,
1989
1989
  fragmentShader: Lf,
1990
1990
  depthTest: !1,
1991
1991
  transparent: !0
1992
1992
  });
1993
- return new I.Mesh(t, e);
1993
+ return new E.Mesh(t, e);
1994
1994
  }
1995
1995
  function jf() {
1996
- const i = new I.SphereGeometry(0.01, 20, 20), t = new I.MeshBasicMaterial({
1996
+ const i = new E.SphereGeometry(0.01, 20, 20), t = new E.MeshBasicMaterial({
1997
1997
  color: 10349931,
1998
1998
  depthTest: !1,
1999
1999
  transparent: !0,
2000
- side: I.DoubleSide
2001
- }), e = new I.Mesh(i, t);
2000
+ side: E.DoubleSide
2001
+ }), e = new E.Mesh(i, t);
2002
2002
  return e.position.set(0, 0, 0.1), e;
2003
2003
  }
2004
- class Nd extends I.Object3D {
2004
+ class Nd extends E.Object3D {
2005
2005
  constructor() {
2006
2006
  super();
2007
2007
  f(this, "planeMesh");
@@ -2012,7 +2012,7 @@ class Nd extends I.Object3D {
2012
2012
  updateWithIntersect(e) {
2013
2013
  if (!e.face)
2014
2014
  return;
2015
- const n = new I.Vector3().addVectors(e.point, e.face.normal);
2015
+ const n = new E.Vector3().addVectors(e.point, e.face.normal);
2016
2016
  this.position.copy(e.point), this.lookAt(n);
2017
2017
  }
2018
2018
  dispose() {
@@ -2098,7 +2098,7 @@ class Xd {
2098
2098
  [-n, -n, 0],
2099
2099
  [n, -n, 0],
2100
2100
  [n, n, 0]
2101
- ].map((r) => new I.Vector3().fromArray(r))
2101
+ ].map((r) => new E.Vector3().fromArray(r))
2102
2102
  );
2103
2103
  if (s) {
2104
2104
  const { container: r, dispose: a, css3DObject: l } = s;
@@ -2116,7 +2116,7 @@ class Xd {
2116
2116
  updateWithIntersect(t) {
2117
2117
  if (!t.face || !this.css3DObject)
2118
2118
  return;
2119
- const e = new I.Vector3().addVectors(t.point, t.face.normal);
2119
+ const e = new E.Vector3().addVectors(t.point, t.face.normal);
2120
2120
  this.css3DObject.position.copy(t.point), this.css3DObject.lookAt(e), this.five.needsRender = !0;
2121
2121
  }
2122
2122
  /** 缩放动画 */
@@ -2139,7 +2139,7 @@ class Of {
2139
2139
  f(this, "pointDomHelper", null);
2140
2140
  f(this, "contentDom", document.createElement("div"));
2141
2141
  f(this, "state", { enabled: !1 });
2142
- f(this, "group", new I.Group());
2142
+ f(this, "group", new E.Group());
2143
2143
  this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) === void 0 ? new Gd(t, { dragEnabled: !0 }) : null, this.pointHelper = (e == null ? void 0 : e.pointHelper) === void 0 ? new Nd() : null, this.pointDomHelper = (e == null ? void 0 : e.pointDomHelper) === void 0 ? new Xd(t) : null, this.group.name = "five-point-selector", this.five.scene.add(this.group), this.contentDom.classList.add("five-point-selector-content"), this.contentDom.style.position = "absolute", this.contentDom.style.top = "0", this.contentDom.style.left = "0", this.contentDom.style.width = "100%", this.contentDom.style.height = "100%", this.contentDom.style.pointerEvents = "none";
2144
2144
  }
2145
2145
  enable() {
@@ -2223,7 +2223,7 @@ function Qf() {
2223
2223
  });
2224
2224
  });
2225
2225
  }
2226
- const fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2226
+ const fE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2227
2227
  __proto__: null,
2228
2228
  BetterTween: cs,
2229
2229
  FivePointSelector: Of,
@@ -2231,7 +2231,7 @@ const fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2231
2231
  Magnifier: Gd,
2232
2232
  PointDomHelper: Xd,
2233
2233
  PointHelper: Nd,
2234
- Rectangle: If,
2234
+ Rectangle: Ef,
2235
2235
  getCoordsFromClient: kf,
2236
2236
  getCoordsFromElement: Wd,
2237
2237
  getFrameTime: Qf,
@@ -2344,7 +2344,7 @@ function pr(i, t, e = new $(1, 1, 1), n = !1) {
2344
2344
  const o = new Td(i, t);
2345
2345
  return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
2346
2346
  }
2347
- const pI = (i) => {
2347
+ const pE = (i) => {
2348
2348
  const t = {
2349
2349
  intersection: null,
2350
2350
  disposers: []
@@ -2543,7 +2543,7 @@ function Ve(i) {
2543
2543
  function se() {
2544
2544
  return Ve(" ");
2545
2545
  }
2546
- function Ie() {
2546
+ function Ee() {
2547
2547
  return Ve("");
2548
2548
  }
2549
2549
  function Pe(i, t, e, n) {
@@ -2919,19 +2919,19 @@ function Lt(i, t, e, n, o, s, r, a, l, c, d, h) {
2919
2919
  N ? n && P.push(() => N.p(T, t)) : (N = c(S, T), N.c()), b.set(S, A[g] = N), S in v && y.set(S, Math.abs(g - v[S]));
2920
2920
  }
2921
2921
  const D = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
2922
- function E(T) {
2922
+ function I(T) {
2923
2923
  k(T, 1), T.m(a, d), r.set(T.key, T), d = T.first, m--;
2924
2924
  }
2925
2925
  for (; u && m; ) {
2926
2926
  const T = A[m - 1], S = i[u - 1], N = T.key, Y = S.key;
2927
- T === S ? (d = T.first, u--, m--) : b.has(Y) ? !r.has(N) || D.has(N) ? E(T) : x.has(Y) ? u-- : y.get(N) > y.get(Y) ? (x.add(N), E(T)) : (D.add(Y), u--) : (l(S, r), u--);
2927
+ T === S ? (d = T.first, u--, m--) : b.has(Y) ? !r.has(N) || D.has(N) ? I(T) : x.has(Y) ? u-- : y.get(N) > y.get(Y) ? (x.add(N), I(T)) : (D.add(Y), u--) : (l(S, r), u--);
2928
2928
  }
2929
2929
  for (; u--; ) {
2930
2930
  const T = i[u];
2931
2931
  b.has(T.key) || l(T, r);
2932
2932
  }
2933
2933
  for (; m; )
2934
- E(A[m - 1]);
2934
+ I(A[m - 1]);
2935
2935
  return rt(P), A;
2936
2936
  }
2937
2937
  function st(i, t) {
@@ -3425,7 +3425,7 @@ function Ai(i) {
3425
3425
  }).observe(i);
3426
3426
  }
3427
3427
  const { Map: Pm } = Kf;
3428
- function Im(i) {
3428
+ function Em(i) {
3429
3429
  fe(i, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
3430
3430
  }
3431
3431
  function Ja(i, t, e) {
@@ -3449,7 +3449,7 @@ function Za(i, t) {
3449
3449
  key: i,
3450
3450
  first: null,
3451
3451
  c() {
3452
- e = Ie(), ne(n.$$.fragment), this.first = e;
3452
+ e = Ee(), ne(n.$$.fragment), this.first = e;
3453
3453
  },
3454
3454
  m(s, r) {
3455
3455
  O(s, e, r), ee(n, s, r), o = !0;
@@ -3474,7 +3474,7 @@ function Za(i, t) {
3474
3474
  }
3475
3475
  };
3476
3476
  }
3477
- function Em(i) {
3477
+ function Im(i) {
3478
3478
  let t, e = [], n = new Pm(), o, s, r, a = (
3479
3479
  /*roomLabels*/
3480
3480
  i[0]
@@ -3545,14 +3545,14 @@ function km(i, t, e) {
3545
3545
  function c(b) {
3546
3546
  if (!(l === null || b.floorIndex === l))
3547
3547
  return !1;
3548
- const P = new xn(), D = o.camera.position.clone(), x = new $(b.position.x, b.position.y, b.position.z), E = x.distanceTo(D);
3548
+ const P = new xn(), D = o.camera.position.clone(), x = new $(b.position.x, b.position.y, b.position.z), I = x.distanceTo(D);
3549
3549
  P.set(D.clone(), x.clone().sub(D).normalize());
3550
3550
  const [T] = o.model.intersectRaycaster(P);
3551
- return !(T && T.distance + 1 < E);
3551
+ return !(T && T.distance + 1 < I);
3552
3552
  }
3553
3553
  function d(b, y) {
3554
- const D = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), x = Math.ceil((D.x + 1) / 2 * y.x), E = Math.ceil((-D.y + 1) / 2 * y.y);
3555
- return `translate(${x}px, ${E}px)`;
3554
+ const D = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), x = Math.ceil((D.x + 1) / 2 * y.x), I = Math.ceil((-D.y + 1) / 2 * y.y);
3555
+ return `translate(${x}px, ${I}px)`;
3556
3556
  }
3557
3557
  function h(b) {
3558
3558
  const { rendererSize: y, shownFloor: P } = b, D = /* @__PURE__ */ new Map();
@@ -3603,7 +3603,7 @@ function km(i, t, e) {
3603
3603
  }
3604
3604
  class xm extends ce {
3605
3605
  constructor(t) {
3606
- super(), le(this, t, km, Em, ae, { five: 1, roomLabels: 0 }, Im);
3606
+ super(), le(this, t, km, Im, ae, { five: 1, roomLabels: 0 }, Em);
3607
3607
  }
3608
3608
  }
3609
3609
  function Dm(i) {
@@ -3691,7 +3691,7 @@ class Sm {
3691
3691
  }
3692
3692
  }
3693
3693
  }
3694
- const gI = (i) => new Sm(i), vI = {
3694
+ const gE = (i) => new Sm(i), vE = {
3695
3695
  name: "ModelRoomLabelPlugin",
3696
3696
  version: 0
3697
3697
  };
@@ -3765,7 +3765,7 @@ function yh(i) {
3765
3765
  const t = i - 1;
3766
3766
  return t * t * t + 1;
3767
3767
  }
3768
- function En(i, { delay: t = 0, duration: e = 400, easing: n = rn } = {}) {
3768
+ function In(i, { delay: t = 0, duration: e = 400, easing: n = rn } = {}) {
3769
3769
  const o = +getComputedStyle(i).opacity;
3770
3770
  return {
3771
3771
  delay: t,
@@ -3945,7 +3945,7 @@ function Gm(i) {
3945
3945
  );
3946
3946
  return {
3947
3947
  c() {
3948
- e && e.c(), t = Ie();
3948
+ e && e.c(), t = Ee();
3949
3949
  },
3950
3950
  m(n, o) {
3951
3951
  e && e.m(n, o), O(n, t, o);
@@ -4220,7 +4220,7 @@ function rp(i) {
4220
4220
  ), n;
4221
4221
  return {
4222
4222
  c() {
4223
- t = new Yo(!1), n = Ie(), t.a = n;
4223
+ t = new Yo(!1), n = Ee(), t.a = n;
4224
4224
  },
4225
4225
  m(o, s) {
4226
4226
  t.m(e, o, s), O(o, n, s);
@@ -4245,7 +4245,7 @@ function ap(i) {
4245
4245
  );
4246
4246
  return {
4247
4247
  c() {
4248
- n && n.c(), t = se(), o && o.c(), e = Ie();
4248
+ n && n.c(), t = se(), o && o.c(), e = Ee();
4249
4249
  },
4250
4250
  m(s, r) {
4251
4251
  n && n.m(s, r), O(s, t, r), o && o.m(s, r), O(s, e, r);
@@ -4404,7 +4404,7 @@ function dp(i, t, e) {
4404
4404
  ].every((be) => cp(be, He));
4405
4405
  };
4406
4406
  }
4407
- const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, D = P.positionInImage.x * 100 + "%", x = P.positionInImage.y * 100 + "%", E = (b < 500 || y < 500 ? 10 : 14) + "px";
4407
+ const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, D = P.positionInImage.x * 100 + "%", x = P.positionInImage.y * 100 + "%", I = (b < 500 || y < 500 ? 10 : 14) + "px";
4408
4408
  let T = 0, S = 0, N = !1;
4409
4409
  u.subscribe(function(Q) {
4410
4410
  e(16, N = !!Q && Q.id === h.id);
@@ -4435,7 +4435,7 @@ function dp(i, t, e) {
4435
4435
  n,
4436
4436
  D,
4437
4437
  x,
4438
- E,
4438
+ I,
4439
4439
  l,
4440
4440
  u,
4441
4441
  m,
@@ -4580,7 +4580,7 @@ function il(i, t) {
4580
4580
  key: i,
4581
4581
  first: null,
4582
4582
  c() {
4583
- e = Ie(), ne(n.$$.fragment), this.first = e;
4583
+ e = Ee(), ne(n.$$.fragment), this.first = e;
4584
4584
  },
4585
4585
  m(a, l) {
4586
4586
  O(a, e, l), ee(n, a, l), o = !0;
@@ -4644,7 +4644,7 @@ function fp(i) {
4644
4644
  );
4645
4645
  return {
4646
4646
  c() {
4647
- n && n.c(), t = Ie();
4647
+ n && n.c(), t = Ee();
4648
4648
  },
4649
4649
  m(o, s) {
4650
4650
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -4958,7 +4958,7 @@ function cl(i, t) {
4958
4958
  key: i,
4959
4959
  first: null,
4960
4960
  c() {
4961
- e = Ie(), ne(n.$$.fragment), this.first = e;
4961
+ e = Ee(), ne(n.$$.fragment), this.first = e;
4962
4962
  },
4963
4963
  m(a, l) {
4964
4964
  O(a, e, l), ee(n, a, l), o = !0;
@@ -5133,11 +5133,11 @@ function Ph({ x: i, y: t }, e) {
5133
5133
  const { max: n, min: o } = e;
5134
5134
  return { x: i - o.x, y: n.y - t };
5135
5135
  }
5136
- function Ip(i, t) {
5136
+ function Ep(i, t) {
5137
5137
  const e = i.x * 1e3 + t.bounding.origin.x, n = -i.z * 1e3 + t.bounding.origin.y;
5138
5138
  return { x: e, y: n };
5139
5139
  }
5140
- function Ep(i, t) {
5140
+ function Ip(i, t) {
5141
5141
  const e = t.bounding, n = e.max.x - e.min.x, o = e.max.y - e.min.y;
5142
5142
  return {
5143
5143
  x: (i.x - e.min.x) / n,
@@ -5681,7 +5681,7 @@ function pl(i, t) {
5681
5681
  key: i,
5682
5682
  first: null,
5683
5683
  c() {
5684
- e = Ie(), ne(n.$$.fragment), this.first = e;
5684
+ e = Ee(), ne(n.$$.fragment), this.first = e;
5685
5685
  },
5686
5686
  m(a, l) {
5687
5687
  O(a, e, l), ee(n, a, l), o = !0;
@@ -5798,7 +5798,7 @@ function qp(i, t, e) {
5798
5798
  l
5799
5799
  ];
5800
5800
  }
5801
- class Ih extends ce {
5801
+ class Eh extends ce {
5802
5802
  constructor(t) {
5803
5803
  super(), le(
5804
5804
  this,
@@ -5844,7 +5844,7 @@ function gl(i) {
5844
5844
  let o = {};
5845
5845
  for (let s = 0; s < n.length; s += 1)
5846
5846
  o = Je(o, n[s]);
5847
- return t = new Ih({ props: o }), {
5847
+ return t = new Eh({ props: o }), {
5848
5848
  c() {
5849
5849
  ne(t.$$.fragment);
5850
5850
  },
@@ -6271,7 +6271,7 @@ function yl(i) {
6271
6271
  for (let u = 0; u < r.length; u += 1)
6272
6272
  k(a[u]);
6273
6273
  k(c), k(d), o || ot(() => {
6274
- o = Sn(t, En, {
6274
+ o = Sn(t, In, {
6275
6275
  duration: (
6276
6276
  /*duration*/
6277
6277
  i[0]
@@ -6565,7 +6565,7 @@ function tg(i) {
6565
6565
  );
6566
6566
  return {
6567
6567
  c() {
6568
- n && n.c(), t = Ie();
6568
+ n && n.c(), t = Ee();
6569
6569
  },
6570
6570
  m(o, s) {
6571
6571
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -6589,9 +6589,9 @@ function tg(i) {
6589
6589
  };
6590
6590
  }
6591
6591
  function ng(i, t, e) {
6592
- let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: D } = t, { getRuleDistanceText: x } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { highlightData: T } = t;
6592
+ let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: D } = t, { getRuleDistanceText: x } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: T } = t;
6593
6593
  return i.$$set = (S) => {
6594
- "duration" in S && e(0, n = S.duration), "visible" in S && e(1, o = S.visible), "northDesc" in S && e(2, s = S.northDesc), "panoIndex" in S && e(3, r = S.panoIndex), "floorIndex" in S && e(4, a = S.floorIndex), "cameraEnable" in S && e(5, l = S.cameraEnable), "hoverEnable" in S && e(6, c = S.hoverEnable), "highlightEnable" in S && e(7, d = S.highlightEnable), "compassEnable" in S && e(8, h = S.compassEnable), "roomLabelsEnable" in S && e(9, u = S.roomLabelsEnable), "roomAreaEnable" in S && e(10, m = S.roomAreaEnable), "roomNameEnable" in S && e(11, g = S.roomNameEnable), "ruleLabelsEnable" in S && e(12, v = S.ruleLabelsEnable), "floorplanData" in S && e(13, A = S.floorplanData), "lastPanoramaLongitude" in S && e(14, b = S.lastPanoramaLongitude), "cameraImageUrl" in S && e(15, y = S.cameraImageUrl), "getRoomAreaText" in S && e(16, P = S.getRoomAreaText), "getLabelElement" in S && e(17, D = S.getLabelElement), "getRuleDistanceText" in S && e(18, x = S.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in S && e(19, E = S.adaptiveRoomLabelVisibleEnable), "highlightData" in S && e(20, T = S.highlightData);
6594
+ "duration" in S && e(0, n = S.duration), "visible" in S && e(1, o = S.visible), "northDesc" in S && e(2, s = S.northDesc), "panoIndex" in S && e(3, r = S.panoIndex), "floorIndex" in S && e(4, a = S.floorIndex), "cameraEnable" in S && e(5, l = S.cameraEnable), "hoverEnable" in S && e(6, c = S.hoverEnable), "highlightEnable" in S && e(7, d = S.highlightEnable), "compassEnable" in S && e(8, h = S.compassEnable), "roomLabelsEnable" in S && e(9, u = S.roomLabelsEnable), "roomAreaEnable" in S && e(10, m = S.roomAreaEnable), "roomNameEnable" in S && e(11, g = S.roomNameEnable), "ruleLabelsEnable" in S && e(12, v = S.ruleLabelsEnable), "floorplanData" in S && e(13, A = S.floorplanData), "lastPanoramaLongitude" in S && e(14, b = S.lastPanoramaLongitude), "cameraImageUrl" in S && e(15, y = S.cameraImageUrl), "getRoomAreaText" in S && e(16, P = S.getRoomAreaText), "getLabelElement" in S && e(17, D = S.getLabelElement), "getRuleDistanceText" in S && e(18, x = S.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in S && e(19, I = S.adaptiveRoomLabelVisibleEnable), "highlightData" in S && e(20, T = S.highlightData);
6595
6595
  }, [
6596
6596
  n,
6597
6597
  o,
@@ -6612,7 +6612,7 @@ function ng(i, t, e) {
6612
6612
  P,
6613
6613
  D,
6614
6614
  x,
6615
- E,
6615
+ I,
6616
6616
  T
6617
6617
  ];
6618
6618
  }
@@ -6730,7 +6730,7 @@ function cg(i, t, e) {
6730
6730
  url: ig,
6731
6731
  width: 45,
6732
6732
  height: 48
6733
- }, a = kp(s, t), l = Ip(s, e), c = Ep(l, e);
6733
+ }, a = kp(s, t), l = Ep(s, e), c = Ip(l, e);
6734
6734
  return { floorIndex: a, icon: r, id: o.id, position: l, positionInImage: c };
6735
6735
  });
6736
6736
  }
@@ -6743,18 +6743,18 @@ function As(i, t) {
6743
6743
  t.indexOf(n) === -1 && (e[n] = i[n]);
6744
6744
  });
6745
6745
  }
6746
- function Il(i, t) {
6746
+ function El(i, t) {
6747
6747
  const e = Math.max(...i.work.observers.map((n) => n.floorIndex));
6748
6748
  return t > e ? i.model.bounding.max.y : Math.max(
6749
6749
  ...i.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
6750
6750
  );
6751
6751
  }
6752
6752
  function Aa(i, t, e = Pn.BOUNDING_CENTER) {
6753
- const n = Il(i, t), o = Il(i, t + 1);
6753
+ const n = El(i, t), o = El(i, t + 1);
6754
6754
  return e === Pn.BOUNDING_CENTER ? (i.model.bounding.max.y + i.model.bounding.min.y) / 2 : e === Pn.CEILING ? o : n;
6755
6755
  }
6756
6756
  function ba(i, t, e, n) {
6757
- const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new I.Vector3(0, o, 0), r = new I.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
6757
+ const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new E.Vector3(0, o, 0), r = new E.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
6758
6758
  return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
6759
6759
  }
6760
6760
  let ao = class {
@@ -6762,7 +6762,7 @@ let ao = class {
6762
6762
  /**
6763
6763
  * @realsee/dnalogel 版本号
6764
6764
  */
6765
- f(this, "VERSION", "2.19.0-1");
6765
+ f(this, "VERSION", "2.19.0-2");
6766
6766
  f(this, "five");
6767
6767
  /**
6768
6768
  * 插件事件钩子
@@ -6783,7 +6783,7 @@ let ao = class {
6783
6783
  }, Mn = class extends ao {
6784
6784
  };
6785
6785
  var vt = /* @__PURE__ */ ((i) => (i.UnknownError = "UnknownError", i.DataNotLoaded = "DataNotLoaded", i.BreakOffByHide = "BreakOffByHide", i.BreakOffByDisable = "BreakOffByDisable", i.ModelNotLoaded = "ModelNotLoaded", i.ChangeModeError = "ChangeModeError", i.UpdateCameraError = "UpdateCameraError", i))(vt || {});
6786
- const Eh = 500, hg = 80;
6786
+ const Ih = 500, hg = 80;
6787
6787
  function Xr(i, t, e = 4) {
6788
6788
  return Math.floor(i * Math.pow(10, e)) === Math.floor(t * Math.pow(10, e));
6789
6789
  }
@@ -6970,7 +6970,7 @@ let pg = class extends Mn {
6970
6970
  if (a)
6971
6971
  throw l ? new Error(l) : new Error(vt.UnknownError);
6972
6972
  this.updateSize(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
6973
- const d = o.modelOpacity, h = o.immediately ? 0 : Eh;
6973
+ const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
6974
6974
  ri(this.five, d, h), this.render(h);
6975
6975
  });
6976
6976
  return this.showPromise = s().then(() => {
@@ -7182,7 +7182,7 @@ let pg = class extends Mn {
7182
7182
  this.app = new va({ target: this.container, intro: !0, props: n });
7183
7183
  }
7184
7184
  };
7185
- const II = (i, t) => new pg(i, t);
7185
+ const EE = (i, t) => new pg(i, t);
7186
7186
  function gg(i) {
7187
7187
  const { latitude: t, longitude: e } = i, n = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, o = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
7188
7188
  return n || o;
@@ -7299,7 +7299,7 @@ let Ag = class extends Mn {
7299
7299
  if (a)
7300
7300
  throw l ? new Error(l) : new Error(vt.UnknownError);
7301
7301
  this.updateSize(), this.updatePosition(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
7302
- const d = o.modelOpacity, h = o.immediately ? 0 : Eh;
7302
+ const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
7303
7303
  ri(this.five, d, h), this.render(h);
7304
7304
  });
7305
7305
  return this.showPromise = s().then(() => {
@@ -7459,7 +7459,7 @@ let Ag = class extends Mn {
7459
7459
  /** 更新户型图位置 */
7460
7460
  updatePosition() {
7461
7461
  var a;
7462
- const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
7462
+ const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new E.Vector3()).setY(e);
7463
7463
  if (!n)
7464
7464
  return;
7465
7465
  const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
@@ -7515,7 +7515,7 @@ let Ag = class extends Mn {
7515
7515
  this.app = new va({ target: this.container, intro: !0, props: n });
7516
7516
  }
7517
7517
  };
7518
- const kI = (i, t) => new Ag(i, t);
7518
+ const kE = (i, t) => new Ag(i, t);
7519
7519
  let bg = class extends Mn {
7520
7520
  constructor(e, n) {
7521
7521
  super(e);
@@ -7649,7 +7649,7 @@ let bg = class extends Mn {
7649
7649
  /** 更新户型图位置 */
7650
7650
  updatePosition() {
7651
7651
  var a;
7652
- const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
7652
+ const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new E.Vector3()).setY(e);
7653
7653
  if (!n)
7654
7654
  return;
7655
7655
  const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
@@ -7779,7 +7779,7 @@ let bg = class extends Mn {
7779
7779
  this.app = new va({ target: this.container, intro: !0, props: n });
7780
7780
  }
7781
7781
  };
7782
- const DI = (i, t) => new bg(i, t);
7782
+ const DE = (i, t) => new bg(i, t);
7783
7783
  function Ca(i, t = 200) {
7784
7784
  let e;
7785
7785
  return function(...n) {
@@ -7876,7 +7876,7 @@ function Pg(i, t, e) {
7876
7876
  d
7877
7877
  ];
7878
7878
  }
7879
- class Ig extends ce {
7879
+ class Eg extends ce {
7880
7880
  constructor(t) {
7881
7881
  super(), le(
7882
7882
  this,
@@ -7894,10 +7894,10 @@ class Ig extends ce {
7894
7894
  );
7895
7895
  }
7896
7896
  }
7897
- function Eg(i) {
7897
+ function Ig(i) {
7898
7898
  fe(i, "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%)}");
7899
7899
  }
7900
- function El(i, t, e) {
7900
+ function Il(i, t, e) {
7901
7901
  const n = i.slice();
7902
7902
  return n[1] = t[e], n;
7903
7903
  }
@@ -7944,7 +7944,7 @@ function kg(i) {
7944
7944
  r[1].id
7945
7945
  );
7946
7946
  for (let r = 0; r < o.length; r += 1) {
7947
- let a = El(i, o, r), l = s(a);
7947
+ let a = Il(i, o, r), l = s(a);
7948
7948
  n.set(l, e[r] = kl(l, a));
7949
7949
  }
7950
7950
  return {
@@ -7962,7 +7962,7 @@ function kg(i) {
7962
7962
  p(r, [a]) {
7963
7963
  a & /*extraObjects*/
7964
7964
  1 && (o = /*extraObjects*/
7965
- r[0], e = Lt(e, a, s, 1, r, o, n, t, ma, kl, null, El));
7965
+ r[0], e = Lt(e, a, s, 1, r, o, n, t, ma, kl, null, Il));
7966
7966
  },
7967
7967
  i: Z,
7968
7968
  o: Z,
@@ -7981,7 +7981,7 @@ function xg(i, t, e) {
7981
7981
  }
7982
7982
  class Dg extends ce {
7983
7983
  constructor(t) {
7984
- super(), le(this, t, xg, kg, ae, { extraObjects: 0 }, Eg);
7984
+ super(), le(this, t, xg, kg, ae, { extraObjects: 0 }, Ig);
7985
7985
  }
7986
7986
  }
7987
7987
  function xl(i) {
@@ -8017,7 +8017,7 @@ function xl(i) {
8017
8017
  let o = {};
8018
8018
  for (let s = 0; s < n.length; s += 1)
8019
8019
  o = Je(o, n[s]);
8020
- return t = new Ih({ props: o }), {
8020
+ return t = new Eh({ props: o }), {
8021
8021
  c() {
8022
8022
  ne(t.$$.fragment);
8023
8023
  },
@@ -8098,7 +8098,7 @@ function Sg(i) {
8098
8098
  );
8099
8099
  return {
8100
8100
  c() {
8101
- ne(t.$$.fragment), e = se(), ne(n.$$.fragment), o = se(), c && c.c(), s = Ie();
8101
+ ne(t.$$.fragment), e = se(), ne(n.$$.fragment), o = se(), c && c.c(), s = Ee();
8102
8102
  },
8103
8103
  m(d, h) {
8104
8104
  ee(t, d, h), O(d, e, h), ee(n, d, h), O(d, o, h), c && c.m(d, h), O(d, s, h), r = !0;
@@ -8281,7 +8281,7 @@ function Sl(i) {
8281
8281
  let h = {};
8282
8282
  for (let u = 0; u < d.length; u += 1)
8283
8283
  h = Je(h, d[u]);
8284
- return o = new Ig({ props: h }), {
8284
+ return o = new Eg({ props: h }), {
8285
8285
  c() {
8286
8286
  t = V("div"), ne(e.$$.fragment), n = se(), ne(o.$$.fragment), w(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), j(t, "width", s), j(t, "height", r);
8287
8287
  },
@@ -8368,7 +8368,7 @@ function zg(i) {
8368
8368
  );
8369
8369
  return {
8370
8370
  c() {
8371
- n && n.c(), t = Ie();
8371
+ n && n.c(), t = Ee();
8372
8372
  },
8373
8373
  m(o, s) {
8374
8374
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -8410,7 +8410,7 @@ function jg(i, t, e) {
8410
8410
  }, i.$$.update = () => {
8411
8411
  if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
8412
8412
  904) {
8413
- const x = Math.min(u, m), { max: E, min: T } = r.bounding, S = E.x - T.x, N = E.y - T.y, Y = function() {
8413
+ const x = Math.min(u, m), { max: I, min: T } = r.bounding, S = I.x - T.x, N = I.y - T.y, Y = function() {
8414
8414
  return S > N ? [x, x / S * N] : [x / N * S, x];
8415
8415
  }();
8416
8416
  e(9, g = Y[0]), e(12, v = Y[1]), e(10, d = g / S);
@@ -8595,7 +8595,7 @@ let Vg = class extends Mn {
8595
8595
  this.app ? this.app.$set(e) : this.app = new _g({ target: this.wrapper, props: e });
8596
8596
  }
8597
8597
  };
8598
- const MI = (i, t) => new Vg(i, t), LI = [
8598
+ const ME = (i, t) => new Vg(i, t), LE = [
8599
8599
  { type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
8600
8600
  { type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
8601
8601
  { type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
@@ -8667,14 +8667,14 @@ const MI = (i, t) => new Vg(i, t), LI = [
8667
8667
  { type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
8668
8668
  { type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
8669
8669
  { type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
8670
- ], TI = [
8670
+ ], TE = [
8671
8671
  { type: 0, description: "木质地板" },
8672
8672
  { type: 1, description: "瓷砖地面" },
8673
8673
  { type: 2, description: "户外地面" },
8674
8674
  { type: 3, description: "卫生间地面" },
8675
8675
  { type: 4, description: "阳台地面" },
8676
8676
  { type: 5, description: "车库地面" }
8677
- ], zI = [
8677
+ ], zE = [
8678
8678
  { roomType: "100900000001", description: "室" },
8679
8679
  { roomType: "100900000002", description: "厅" },
8680
8680
  { roomType: "100900000003", description: "厨" },
@@ -8691,7 +8691,7 @@ const MI = (i, t) => new Vg(i, t), LI = [
8691
8691
  { roomType: "100900000015", description: "商铺" },
8692
8692
  { roomType: "100900000016", description: "写字楼" }
8693
8693
  ], Ar = (i, t, e) => {
8694
- const n = new I.Matrix4(), o = new I.Euler(i, t, e, "YXZ");
8694
+ const n = new E.Matrix4(), o = new E.Euler(i, t, e, "YXZ");
8695
8695
  return n.makeRotationFromEuler(o), n;
8696
8696
  }, Og = (i, {
8697
8697
  scale: t,
@@ -8713,7 +8713,7 @@ function xh(i, t) {
8713
8713
  }
8714
8714
  });
8715
8715
  }
8716
- const jI = (i, t) => {
8716
+ const jE = (i, t) => {
8717
8717
  var d;
8718
8718
  const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", n = (d = t.north_rad) != null ? d : void 0, o = {}, s = (h) => F(void 0, null, function* () {
8719
8719
  var z;
@@ -8723,19 +8723,19 @@ const jI = (i, t) => {
8723
8723
  const g = i.model.bounding, v = g.max.x - g.min.x, A = g.max.z - g.min.z, b = Math.max(v, A), P = yield new zd().loadAsync(u);
8724
8724
  xh(P, {
8725
8725
  transparent: !0,
8726
- side: I.DoubleSide,
8727
- blending: I.AdditiveBlending
8726
+ side: E.DoubleSide,
8727
+ blending: E.AdditiveBlending
8728
8728
  });
8729
8729
  const D = [0, m - Math.PI / 2, 0], {
8730
8730
  model: {
8731
8731
  bounding: {
8732
- max: { x, z: E },
8732
+ max: { x, z: I },
8733
8733
  min: { x: T, y: S, z: N }
8734
8734
  }
8735
8735
  }
8736
8736
  } = i;
8737
8737
  o.yBase = S;
8738
- const Y = { x: (x + T) / 2, y: S - 1.6, z: (E + N) / 2 }, H = 45e-4 * b;
8738
+ const Y = { x: (x + T) / 2, y: S - 1.6, z: (I + N) / 2 }, H = 45e-4 * b;
8739
8739
  return Og(P, { position: Y, rotation: D, scale: H }), o.object = P, !0;
8740
8740
  }), r = ({ latitude: h }) => {
8741
8741
  if (!o.object)
@@ -8767,18 +8767,18 @@ function Bg(i, t) {
8767
8767
  const l = a.getContext("2d");
8768
8768
  return l.fillStyle = o, l.fillRect(0, 0, e, e), l.font = `${n}px "微软雅黑"`, l.textAlign = r, l.fillStyle = s, l.fillText(i, e / 2, e * 0.7), new Mu(a);
8769
8769
  }
8770
- const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _I = (i, t) => {
8770
+ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _E = (i, t) => {
8771
8771
  var v, A, b;
8772
8772
  const e = {}, n = (v = t.animationEnabled) != null ? v : !0, o = (A = t.position) != null ? A : void 0, s = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => F(void 0, null, function* () {
8773
8773
  var Y, H, z, Q, R, q, U, X;
8774
8774
  const P = (Y = y == null ? void 0 : y.position) != null ? Y : o;
8775
8775
  if (!P)
8776
8776
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
8777
- const D = Rg(P), x = (H = y == null ? void 0 : y.rad) != null ? H : s, E = (z = y == null ? void 0 : y.fbx_url) != null ? z : r;
8777
+ const D = Rg(P), x = (H = y == null ? void 0 : y.rad) != null ? H : s, I = (z = y == null ? void 0 : y.fbx_url) != null ? z : r;
8778
8778
  if (e.rad = x, x === void 0)
8779
8779
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${x}`));
8780
- const T = yield new zd().loadAsync(E);
8781
- T.position.copy(D), T.rotation.z = x, T.scale.set(0.8, 0.8, 0.8), xh(T, { transparent: !0, side: I.DoubleSide });
8780
+ const T = yield new zd().loadAsync(I);
8781
+ T.position.copy(D), T.rotation.z = x, T.scale.set(0.8, 0.8, 0.8), xh(T, { transparent: !0, side: E.DoubleSide });
8782
8782
  const S = (U = (q = (R = (Q = T.children) == null ? void 0 : Q[0]) == null ? void 0 : R.children) == null ? void 0 : q[3]) == null ? void 0 : U.clone();
8783
8783
  if (!S)
8784
8784
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${S}`));
@@ -8794,7 +8794,7 @@ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _I = (i, t) => {
8794
8794
  const D = P.clipAction(e.object.animations[0]);
8795
8795
  D.timeScale = y;
8796
8796
  let x;
8797
- const E = () => {
8797
+ const I = () => {
8798
8798
  let Y = 0, H = 0;
8799
8799
  const z = 1e3 / 30, Q = (R) => {
8800
8800
  Y = requestAnimationFrame(Q);
@@ -8805,7 +8805,7 @@ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _I = (i, t) => {
8805
8805
  cancelAnimationFrame(Y);
8806
8806
  };
8807
8807
  }, N = { play: () => {
8808
- x || (D.play(), x = E(), requestAnimationFrame(() => {
8808
+ x || (D.play(), x = I(), requestAnimationFrame(() => {
8809
8809
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
8810
8810
  }));
8811
8811
  }, stop: () => {
@@ -8859,7 +8859,7 @@ const Yr = (i, t, e) => {
8859
8859
  const n = Math.PI, o = n * 2;
8860
8860
  let s = Ml(i), r = Ml(t);
8861
8861
  return e === Yt.Anticlockwise && s < r && (s += o), e === Yt.Clockwise && r < s && (r += o), e === Yt.Loop && r - s > n ? Yr(s, r, Yt.Anticlockwise) : e === Yt.Loop && s - r > n ? Yr(s, r, Yt.Clockwise) : { from: s, to: r };
8862
- }, VI = (i) => {
8862
+ }, VE = (i) => {
8863
8863
  const t = {}, e = (l, c, ...d) => F(void 0, [l, c, ...d], function* (s, r, a = { preload: !0 }) {
8864
8864
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== i.currentMode && (yield i.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== i.panoIndex && (yield i.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((h, u) => {
8865
8865
  const m = s.panoIndex !== void 0 ? s.panoIndex : i.panoIndex;
@@ -9067,7 +9067,7 @@ const Fg = `<style type="text/css">
9067
9067
  a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
9068
9068
  }
9069
9069
  return e;
9070
- }, OI = (i, t) => {
9070
+ }, OE = (i, t) => {
9071
9071
  const e = {
9072
9072
  enable: !1,
9073
9073
  loaded: !1,
@@ -9098,7 +9098,7 @@ const Fg = `<style type="text/css">
9098
9098
  if (!y)
9099
9099
  return !1;
9100
9100
  for (const P in A) {
9101
- const D = A[P], { standingPosition: x } = y.observers[0], E = D.map(({ x: T, z: S, observers: N }) => {
9101
+ const D = A[P], { standingPosition: x } = y.observers[0], I = D.map(({ x: T, z: S, observers: N }) => {
9102
9102
  const Y = N.length > 0 ? v.rooms[v.observers[N[0]]].name : "", H = b[Y] ? b[Y].floor : null;
9103
9103
  let z = 1 / 0, Q = {
9104
9104
  index: 0,
@@ -9123,19 +9123,19 @@ const Fg = `<style type="text/css">
9123
9123
  return U && Object.assign(U, { observers: N }), { origin: R, vertical: U };
9124
9124
  });
9125
9125
  r[P] = {
9126
- origins: E.map((T) => T.origin),
9126
+ origins: I.map((T) => T.origin),
9127
9127
  rules: []
9128
9128
  };
9129
- for (const { origin: T, vertical: S } of E) {
9129
+ for (const { origin: T, vertical: S } of I) {
9130
9130
  if (!S)
9131
9131
  continue;
9132
9132
  const N = n(P, T.distanceTo(S));
9133
9133
  o.append(N), r[P].rules.push({ vertical: !0, rule: [T, S], $element: N });
9134
9134
  }
9135
- for (let T = 0; T < E.length; T++) {
9135
+ for (let T = 0; T < I.length; T++) {
9136
9136
  let S = T + 1;
9137
- S >= E.length && (S = 0);
9138
- const { origin: N } = E[T], { origin: Y } = E[S], H = n(P, N.distanceTo(Y));
9137
+ S >= I.length && (S = 0);
9138
+ const { origin: N } = I[T], { origin: Y } = I[S], H = n(P, N.distanceTo(Y));
9139
9139
  o.append(H), r[P].rules.push({ vertical: !1, rule: [N, Y], $element: H });
9140
9140
  }
9141
9141
  }
@@ -9169,8 +9169,8 @@ const Fg = `<style type="text/css">
9169
9169
  ]
9170
9170
  ], D = [];
9171
9171
  for (let x = 0; x < P.length; x++) {
9172
- const E = Sh([v, A], [P[x][0], P[x][1]], !0);
9173
- E && D.push(E);
9172
+ const I = Sh([v, A], [P[x][0], P[x][1]], !0);
9173
+ I && D.push(I);
9174
9174
  }
9175
9175
  return D.length === 0 ? !1 : D;
9176
9176
  }, d = () => {
@@ -9190,7 +9190,7 @@ const Fg = `<style type="text/css">
9190
9190
  H.style.display = "none";
9191
9191
  return;
9192
9192
  }
9193
- const D = b.position, x = b.getWorldDirection(new $()), E = v.clientWidth, T = v.clientHeight;
9193
+ const D = b.position, x = b.getWorldDirection(new $()), I = v.clientWidth, T = v.clientHeight;
9194
9194
  if (y !== nt.Mode.Panorama) {
9195
9195
  for (const Y in r)
9196
9196
  for (const { $element: H } of r[Y].rules)
@@ -9237,12 +9237,12 @@ const Fg = `<style type="text/css">
9237
9237
  z.style.display = "none";
9238
9238
  continue;
9239
9239
  }
9240
- const Ae = Q.clone().project(b), we = (Ae.x + 1) / 2 * E, ge = (-Ae.y + 1) / 2 * T, ze = R.clone().project(b), ve = (ze.x + 1) / 2 * E, He = (-ze.y + 1) / 2 * T, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
9240
+ const Ae = Q.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 * T, ze = R.clone().project(b), ve = (ze.x + 1) / 2 * I, He = (-ze.y + 1) / 2 * T, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
9241
9241
  let be = ue, Me = 50;
9242
9242
  const me = c({ x: ~~we, y: ~~ge }, {
9243
9243
  x: ~~ve,
9244
9244
  y: ~~He
9245
- }, E, T);
9245
+ }, I, T);
9246
9246
  if (me && me.length === 1 && (S === Q ? (be = Math.sqrt(Math.pow(me[0].x - we, 2) + Math.pow(me[0].y - ge, 2)), Me = be / ue * 50) : S === R && (be = Math.sqrt(Math.pow(me[0].x - ve, 2) + Math.pow(me[0].y - He, 2)), Me = 100 - be / ue * 50)), me && me.length === 2) {
9247
9247
  const oe = {
9248
9248
  x: (me[0].x + me[1].x) / 2,
@@ -9264,8 +9264,8 @@ const Fg = `<style type="text/css">
9264
9264
  const A = v.distanceText;
9265
9265
  e.options.distanceText = A, Object.values(r).forEach((b) => {
9266
9266
  b.rules.forEach((y) => {
9267
- const [P, D] = y.rule, x = P.distanceTo(D), E = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9268
- E && (E.innerText = A(x));
9267
+ const [P, D] = y.rule, x = P.distanceTo(D), I = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9268
+ I && (I.innerText = A(x));
9269
9269
  });
9270
9270
  });
9271
9271
  }
@@ -9580,23 +9580,23 @@ function tv(i, t, e) {
9580
9580
  [{ x: 0, y: 0 }, { x: 0, y: l }],
9581
9581
  [{ x: a, y: 0 }, { x: a, y: l }],
9582
9582
  [{ x: 0, y: l }, { x: a, y: l }]
9583
- ], E = [];
9583
+ ], I = [];
9584
9584
  for (let T = 0; T < x.length; T++) {
9585
9585
  const S = Sh([P, D], [x[T][0], x[T][1]], !0);
9586
- S && E.push(S);
9586
+ S && I.push(S);
9587
9587
  }
9588
- return E.length === 0 ? !1 : E;
9588
+ return I.length === 0 ? !1 : I;
9589
9589
  }, d = (P, D) => {
9590
- const x = P.clone().project(n.camera), E = (x.x + 1) / 2 * a, T = (-x.y + 1) / 2 * l, S = D.clone().project(n.camera), N = (S.x + 1) / 2 * a, Y = (-S.y + 1) / 2 * l, H = Math.sqrt(Math.pow(N - E, 2) + Math.pow(Y - T, 2));
9590
+ const x = P.clone().project(n.camera), I = (x.x + 1) / 2 * a, T = (-x.y + 1) / 2 * l, S = D.clone().project(n.camera), N = (S.x + 1) / 2 * a, Y = (-S.y + 1) / 2 * l, H = Math.sqrt(Math.pow(N - I, 2) + Math.pow(Y - T, 2));
9591
9591
  return {
9592
- startLeft: E,
9592
+ startLeft: I,
9593
9593
  startTop: T,
9594
9594
  endLeft: N,
9595
9595
  endTop: Y,
9596
9596
  distance: H
9597
9597
  };
9598
9598
  }, h = (P, D, x) => {
9599
- const E = n.camera.position, T = n.camera.getWorldDirection(new $()), S = P.clone().sub(E).normalize().angleTo(T), N = D.clone().sub(E).normalize().angleTo(T), Y = P.distanceTo(D), z = D.clone().sub(D.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(E), { startLeft: Q, startTop: R, endLeft: q, endTop: U, distance: X } = d(P, D), re = -((Math.PI / 2 - Math.atan2(q - Q, R - U)) / Math.PI) * 180;
9599
+ const I = n.camera.position, T = n.camera.getWorldDirection(new $()), S = P.clone().sub(I).normalize().angleTo(T), N = D.clone().sub(I).normalize().angleTo(T), Y = P.distanceTo(D), z = D.clone().sub(D.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(I), { startLeft: Q, startTop: R, endLeft: q, endTop: U, distance: X } = d(P, D), re = -((Math.PI / 2 - Math.atan2(q - Q, R - U)) / Math.PI) * 180;
9600
9600
  let ie = !0;
9601
9601
  x || (ie = !1), !Vt(P, x) && !Vt(D, x) && (ie = !1), Y < 0.3 && (ie = !1), S > Math.PI / 2 && (ie = !1), N > Math.PI / 2 && (ie = !1), z / Y > 8 && (ie = !1);
9602
9602
  let Ae = 50, we = X;
@@ -9623,8 +9623,8 @@ function tv(i, t, e) {
9623
9623
  return e(0, r = []);
9624
9624
  if (n.currentMode !== nt.Mode.Panorama)
9625
9625
  return e(0, r = []);
9626
- const x = n.camera.position, E = n.camera.getWorldDirection(new $()), T = D.lines.map((H) => new $(H.start[0], -H.start[1], -H.start[2])), S = D.lines.map((H) => new $(H.end[0], -H.end[1], -H.end[2])), [N] = T.concat(S).sort((H, z) => {
9627
- const Q = H.clone().setY(0).sub(x).normalize().angleTo(E.clone().setY(0)), R = z.clone().setY(0).sub(x).normalize().angleTo(E.clone().setY(0));
9626
+ const x = n.camera.position, I = n.camera.getWorldDirection(new $()), T = D.lines.map((H) => new $(H.start[0], -H.start[1], -H.start[2])), S = D.lines.map((H) => new $(H.end[0], -H.end[1], -H.end[2])), [N] = T.concat(S).sort((H, z) => {
9627
+ const Q = H.clone().setY(0).sub(x).normalize().angleTo(I.clone().setY(0)), R = z.clone().setY(0).sub(x).normalize().angleTo(I.clone().setY(0));
9628
9628
  return Q - R;
9629
9629
  }), Y = D.lines.map((H) => {
9630
9630
  var we, ge;
@@ -9720,7 +9720,7 @@ let iv = class {
9720
9720
  this.container && (this.rulerItems.$destroy(), this.rulerItems = void 0), this.container.remove();
9721
9721
  }
9722
9722
  };
9723
- const RI = (i, t) => new iv(i, t), ov = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0CIZH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SI4EgbMiIJ1kZyshL9LUOjNEwkT9sXT2pBP1VyaSQiCse9Coqa27LApBIPE+BEKkLwSk32zRHESDkp0zkSDQBALF9uKdYHunnkthwo7tfXQqQjmYSNQImBACIU2xIuGreB8CIdIvAtJzNogMosHI4mYkCDSHgPTUXspU2ItoEIvzEArlxWRvIlGFWTSnsnWF+b1dKAhk8QrrHpEgsDgC0ndi0oNoEBIuiASBZhGQvnqCz/KCJ/jYZtto7DPRoUU2N11LJIXxqNyUC0VFqeCTpRlP94gEgZMhIL0nbDCIdJswQSQINI9AIRRsNRP+KfvOkgNrKEddr5660YUqw3k8EAhkbvsuCztPVSF7JDqMBIF1IKAxcOl5S8eZLEWCQDcIFBtO2Kv2UOr645lAKkex4VeIpLo5jHbls1KD4eYaWIu4R+UeyYLA2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
9724
9724
  function sv() {
9725
9725
  const i = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
9726
9726
  return i.appendChild(t), i.appendChild(e), i.style.position = "relative", i.style.width = "100%", i.style.display = "flex", i.style.flexDirection = "column", i.style.alignItems = "center", i.style.marginTop = `${150 / 16}rem`, i.style.opacity = "0", i.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${ov})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
@@ -9741,12 +9741,12 @@ function sv() {
9741
9741
  }
9742
9742
  };
9743
9743
  }
9744
- const rv = new I.TextureLoader();
9744
+ const rv = new E.TextureLoader();
9745
9745
  function to(i) {
9746
9746
  return F(this, null, function* () {
9747
9747
  return new Promise((t, e) => {
9748
9748
  rv.load(i, t, void 0, e);
9749
- }).then((t) => (t.encoding = I.sRGBEncoding, t));
9749
+ }).then((t) => (t.encoding = E.sRGBEncoding, t));
9750
9750
  });
9751
9751
  }
9752
9752
  const zo = { userAction: !0 };
@@ -9768,7 +9768,7 @@ class av extends Mn {
9768
9768
  }
9769
9769
  });
9770
9770
  f(this, "data");
9771
- f(this, "group", new I.Group());
9771
+ f(this, "group", new E.Group());
9772
9772
  f(this, "roomInfoInstance");
9773
9773
  f(this, "roomInfoWrapperInstance");
9774
9774
  f(this, "compassMeshTween");
@@ -9831,12 +9831,12 @@ class av extends Mn {
9831
9831
  var u;
9832
9832
  (u = this.compassMesh) == null || u.material.setValues({ opacity: h }), this.five.needsRender = !0;
9833
9833
  }).play())), this.entryDoorMesh) {
9834
- const u = new I.Vector3(
9834
+ const u = new E.Vector3(
9835
9835
  this.data.entrance.position.x,
9836
9836
  this.data.entrance.position.y,
9837
9837
  this.data.entrance.position.z
9838
9838
  ).clone().setY(n.y).sub(n).normalize(), m = n.clone().add(u.clone().multiplyScalar(0.7)).setY(n.y + 0.01);
9839
- this.entryDoorMesh.rotation.z = new I.Vector3(0, 0, -1).angleTo(u), this.entryDoorMesh.position.copy(m), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 0 });
9839
+ this.entryDoorMesh.rotation.z = new E.Vector3(0, 0, -1).angleTo(u), this.entryDoorMesh.position.copy(m), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 0 });
9840
9840
  }
9841
9841
  this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(n.clone().setY(n.y + 0.01)), this.roomInfoInstance.setRoom(this.data.room_observers[e].room)), this.five.needsRender = !0;
9842
9842
  });
@@ -9950,37 +9950,37 @@ class av extends Mn {
9950
9950
  }
9951
9951
  loadCompassMesh() {
9952
9952
  return F(this, null, function* () {
9953
- const e = this.state.config.compassImageUrl, n = yield to(e), o = new I.CircleGeometry(0.7, 32), s = new I.MeshBasicMaterial({
9953
+ const e = this.state.config.compassImageUrl, n = yield to(e), o = new E.CircleGeometry(0.7, 32), s = new E.MeshBasicMaterial({
9954
9954
  map: n,
9955
9955
  transparent: !0,
9956
9956
  opacity: 0,
9957
9957
  depthTest: !1
9958
- }), r = new I.Mesh(o, s);
9958
+ }), r = new E.Mesh(o, s);
9959
9959
  return r.name = "pano-compass-mesh", r;
9960
9960
  });
9961
9961
  }
9962
9962
  loadEntryDoorMesh() {
9963
9963
  return F(this, null, function* () {
9964
- const e = this.state.config.entryDoorImageUrl, n = yield to(e), o = new I.PlaneGeometry(0.2, 0.16), s = new I.MeshBasicMaterial({
9964
+ const e = this.state.config.entryDoorImageUrl, n = yield to(e), o = new E.PlaneGeometry(0.2, 0.16), s = new E.MeshBasicMaterial({
9965
9965
  map: n,
9966
9966
  transparent: !0,
9967
9967
  opacity: 0.8,
9968
9968
  depthTest: !1
9969
- }), r = new I.Mesh(o, s);
9969
+ }), r = new E.Mesh(o, s);
9970
9970
  return r.name = "pano-compass-entry-door", r;
9971
9971
  });
9972
9972
  }
9973
9973
  loadRoomInfo() {
9974
9974
  const e = [
9975
- new I.Vector3(-0.7, 0, -0.7),
9976
- new I.Vector3(0.7, 0, -0.7),
9977
- new I.Vector3(0.7, 0, 0.7),
9978
- new I.Vector3(-0.7, 0, 0.7)
9975
+ new E.Vector3(-0.7, 0, -0.7),
9976
+ new E.Vector3(0.7, 0, -0.7),
9977
+ new E.Vector3(0.7, 0, 0.7),
9978
+ new E.Vector3(-0.7, 0, 0.7)
9979
9979
  ];
9980
9980
  return us(this.five).create3DDomContainer(e);
9981
9981
  }
9982
9982
  }
9983
- const QI = (i, t) => new av(i, t);
9983
+ const QE = (i, t) => new av(i, t);
9984
9984
  function jo(i, t, e) {
9985
9985
  const n = i[t], o = i[e];
9986
9986
  n === void 0 || o === void 0 || (i[t] = o, i[e] = n);
@@ -10007,7 +10007,7 @@ class cv {
10007
10007
  f(this, "config");
10008
10008
  f(this, "offset", { x: 0, y: 0 });
10009
10009
  f(this, "context");
10010
- f(this, "renderCenter", new I.Vector3());
10010
+ f(this, "renderCenter", new E.Vector3());
10011
10011
  f(this, "hammer");
10012
10012
  f(this, "state", { enabled: !1 });
10013
10013
  f(this, "offsetRange");
@@ -10090,7 +10090,7 @@ class cv {
10090
10090
  if (!this.containerDom)
10091
10091
  return;
10092
10092
  const { width: t, height: e } = this, [n, o, s] = (() => {
10093
- if (this.renderCenter instanceof I.Vector3) {
10093
+ if (this.renderCenter instanceof E.Vector3) {
10094
10094
  const r = this.renderCenter.clone().project(this.five.camera);
10095
10095
  return [
10096
10096
  (r.x + 1) / 2 * this.containerDom.clientWidth,
@@ -10105,8 +10105,8 @@ class cv {
10105
10105
  render() {
10106
10106
  if (!this.five.renderer || !this.containerDom)
10107
10107
  return;
10108
- const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new I.Vector2()), [r, a] = (() => {
10109
- if (this.renderCenter instanceof I.Vector3) {
10108
+ const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new E.Vector2()), [r, a] = (() => {
10109
+ if (this.renderCenter instanceof E.Vector3) {
10110
10110
  const A = this.renderCenter.clone().project(this.five.camera);
10111
10111
  return [(A.x + 1) / 2 * s.x, (A.y + 1) / 2 * s.y];
10112
10112
  } else
@@ -10195,13 +10195,13 @@ function Pv() {
10195
10195
  "backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);-webkit-tap-highlight-color: rgba(0,0,0,0);"
10196
10196
  ), i.style.width = "max-content", i.style.padding = "3px 6px", i.style.lineHeight = "1", i.style.textAlign = "center", i.style.transform = "translate(-50%, -50%)", i.style.borderRadius = "100px", i.style.fontSize = "14px", i.style.color = "#fff", i.style.background = "rgba(195,195,195,0.70)", i.style.border = "0.5px solid rgba(255,255,255,0.6)", i.style.cursor = "pointer", i;
10197
10197
  }
10198
- function Iv(i) {
10198
+ function Ev(i) {
10199
10199
  const t = document.createElement("div");
10200
10200
  return t.id = "distance_" + i.id, t.classList.add("five-plugin-measure__distance"), t.style.opacity = "0", t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transform = "translate3d(0, 0, 0)", t.style.transformOrigin = "left top", t;
10201
10201
  }
10202
- function Ev(i) {
10202
+ function Iv(i) {
10203
10203
  let t = !0;
10204
- const { line: e } = i, n = e.id, o = Pv(), s = Iv(e), r = i.userDistanceItem, a = new $(0, 0, 0), l = {
10204
+ const { line: e } = i, n = e.id, o = Pv(), s = Ev(e), r = i.userDistanceItem, a = new $(0, 0, 0), l = {
10205
10205
  lineID: n,
10206
10206
  ndcPosition: a,
10207
10207
  update: u,
@@ -10235,10 +10235,10 @@ function Ev(i) {
10235
10235
  const y = b.getElement();
10236
10236
  if (!y)
10237
10237
  return;
10238
- const P = y.clientWidth, D = y.clientHeight, x = P / 2, E = D / 2;
10238
+ const P = y.clientWidth, D = y.clientHeight, x = P / 2, I = D / 2;
10239
10239
  if (e.points.length < 2)
10240
10240
  return;
10241
- const [T, S] = e.points, N = T.position.clone().project(b.camera), Y = S.position.clone().project(b.camera), H = N.clone().lerp(Y, 0.5), z = new At(N.x * x, N.y * E), Q = new At(Y.x * x, Y.y * E), R = z.distanceTo(Q);
10241
+ const [T, S] = e.points, N = T.position.clone().project(b.camera), Y = S.position.clone().project(b.camera), H = N.clone().lerp(Y, 0.5), z = new At(N.x * x, N.y * I), Q = new At(Y.x * x, Y.y * I), R = z.distanceTo(Q);
10242
10242
  if ((() => !(Math.abs(N.z) > 1 || Math.abs(Y.z) > 1 || !yr(N) && !yr(Y) || !yr(H) || R === 0))() === !1) {
10243
10243
  s.style.opacity = "0", s.style.pointerEvents = "none";
10244
10244
  return;
@@ -10258,8 +10258,8 @@ function Ev(i) {
10258
10258
  var T, S, N;
10259
10259
  if (e.points.length < 2)
10260
10260
  return "";
10261
- const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), D = (T = i.line.text) != null ? T : i.line.model.config.defaultText, x = (N = (S = i.line.model.config) == null ? void 0 : S.getDistanceText) == null ? void 0 : N.call(S, P), E = D != null ? D : x;
10262
- return E != null ? E : P.toFixed(2) + "m";
10261
+ const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), D = (T = i.line.text) != null ? T : i.line.model.config.defaultText, x = (N = (S = i.line.model.config) == null ? void 0 : S.getDistanceText) == null ? void 0 : N.call(S, P), I = D != null ? D : x;
10262
+ return I != null ? I : P.toFixed(2) + "m";
10263
10263
  }
10264
10264
  function A(b) {
10265
10265
  t = b;
@@ -10282,7 +10282,7 @@ class bi {
10282
10282
  var o;
10283
10283
  if (this.id = dt(), this.model = n, t.id === e.id)
10284
10284
  throw new Error("无效的线段, 一个点无法构成线段");
10285
- typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new yt(), this.points = [t, e], this.mesh = Ol(this, "normal"), this.lightMesh = Ol(this, "light"), this.distanceItem = Ev({
10285
+ typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new yt(), this.points = [t, e], this.mesh = Ol(this, "normal"), this.lightMesh = Ol(this, "light"), this.distanceItem = Iv({
10286
10286
  line: this,
10287
10287
  clickCallback: () => this.hook.emit("selected", this),
10288
10288
  userDistanceItem: (o = this.model.config) != null && o.userDistanceItemCreator ? this.model.config.userDistanceItemCreator() : void 0
@@ -10937,7 +10937,7 @@ class Ql extends bs {
10937
10937
  }
10938
10938
  function Tv() {
10939
10939
  }
10940
- const { Vector2: zv } = I;
10940
+ const { Vector2: zv } = E;
10941
10941
  function jv(i, t) {
10942
10942
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
10943
10943
  return Object.assign(new zv(), {
@@ -11904,7 +11904,7 @@ class n0 {
11904
11904
  };
11905
11905
  }
11906
11906
  }
11907
- const WI = function(t, e) {
11907
+ const WE = function(t, e) {
11908
11908
  return new n0(t, e);
11909
11909
  }, Rh = ga(null);
11910
11910
  function i0(i) {
@@ -11979,7 +11979,7 @@ function o0(i) {
11979
11979
  c() {
11980
11980
  for (let o = 0; o < n.length; o += 1)
11981
11981
  n[o].c();
11982
- t = Ie();
11982
+ t = Ee();
11983
11983
  },
11984
11984
  m(o, s) {
11985
11985
  for (let r = 0; r < n.length; r += 1)
@@ -12128,9 +12128,9 @@ function c0(i, t, e) {
12128
12128
  },
12129
12129
  100
12130
12130
  );
12131
- const P = (E) => {
12131
+ const P = (I) => {
12132
12132
  const T = Object.keys(u);
12133
- let S = E.target;
12133
+ let S = I.target;
12134
12134
  for (; S; ) {
12135
12135
  const N = S.getAttribute("class");
12136
12136
  if (!N) {
@@ -12149,10 +12149,10 @@ function c0(i, t, e) {
12149
12149
  Mt(() => {
12150
12150
  m.emit("initTag", { id: n });
12151
12151
  });
12152
- const D = Rh.subscribe((E) => {
12153
- if (E === null)
12152
+ const D = Rh.subscribe((I) => {
12153
+ if (I === null)
12154
12154
  return;
12155
- const [T, S] = E.split("-PanoSpatialTagPlugin-");
12155
+ const [T, S] = I.split("-PanoSpatialTagPlugin-");
12156
12156
  n === T && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
12157
12157
  () => {
12158
12158
  y = void 0;
@@ -12165,13 +12165,13 @@ function c0(i, t, e) {
12165
12165
  }), un(() => {
12166
12166
  m.emit("destroyTag", { id: n }), D(), h();
12167
12167
  });
12168
- function x(E) {
12169
- Ze[E ? "unshift" : "push"](() => {
12170
- A = E, e(9, A);
12168
+ function x(I) {
12169
+ Ze[I ? "unshift" : "push"](() => {
12170
+ A = I, e(9, A);
12171
12171
  });
12172
12172
  }
12173
- return i.$$set = (E) => {
12174
- "id" in E && e(0, n = E.id), "upsideDown" in E && e(1, o = E.upsideDown), "content" in E && e(2, s = E.content), "contentZoom" in E && e(3, r = E.contentZoom), "lineWidthZoom" in E && e(4, a = E.lineWidthZoom), "lineHeightZoom" in E && e(5, l = E.lineHeightZoom), "destroying" in E && e(6, c = E.destroying), "folded" in E && e(12, d = E.folded), "dispose" in E && e(13, h = E.dispose), "events" in E && e(14, u = E.events), "hooks" in E && e(15, m = E.hooks);
12173
+ return i.$$set = (I) => {
12174
+ "id" in I && e(0, n = I.id), "upsideDown" in I && e(1, o = I.upsideDown), "content" in I && e(2, s = I.content), "contentZoom" in I && e(3, r = I.contentZoom), "lineWidthZoom" in I && e(4, a = I.lineWidthZoom), "lineHeightZoom" in I && e(5, l = I.lineHeightZoom), "destroying" in I && e(6, c = I.destroying), "folded" in I && e(12, d = I.folded), "dispose" in I && e(13, h = I.dispose), "events" in I && e(14, u = I.events), "hooks" in I && e(15, m = I.hooks);
12175
12175
  }, [
12176
12176
  n,
12177
12177
  o,
@@ -12358,7 +12358,7 @@ class p0 {
12358
12358
  }
12359
12359
  }
12360
12360
  }
12361
- const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", FI = (i, t) => {
12361
+ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", FE = (i, t) => {
12362
12362
  var re, ie, Ae, we, ge, ze, ve, He;
12363
12363
  let e = t == null ? void 0 : t.container, n = 1.4;
12364
12364
  const o = (re = t == null ? void 0 : t.wait) != null ? re : 200, s = (ie = t == null ? void 0 : t.maxNumberOnScreen) != null ? ie : 3, r = (Ae = t == null ? void 0 : t.minRad) != null ? Ae : Math.PI / 4, a = (we = t == null ? void 0 : t.nearTolerance) != null ? we : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (ze = t == null ? void 0 : t.minDistance) != null ? ze : 1.2, d = (ve = t == null ? void 0 : t.maxDistance) != null ? ve : 3.5, h = us(i), u = document.createElement("div");
@@ -12380,15 +12380,15 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12380
12380
  target: u,
12381
12381
  props: { origins: v.origins }
12382
12382
  }), b = (ue, be) => {
12383
- x(), be && E();
12383
+ x(), be && I();
12384
12384
  }, y = () => {
12385
- v.forbidden && (v.forbidden = !1, E());
12385
+ v.forbidden && (v.forbidden = !1, I());
12386
12386
  }, P = (ue, be) => {
12387
12387
  if (v.tags.length === 0)
12388
12388
  return;
12389
12389
  const Me = be.longitude - i.state.longitude, me = i.camera.clone();
12390
- me.position.copy(be.offset), me.rotateOnWorldAxis(new I.Vector3(0, 1, 0), Me), me.updateProjectionMatrix(), me.updateMatrixWorld(!0);
12391
- const Ye = new I.Frustum(), at = new I.Matrix4();
12390
+ me.position.copy(be.offset), me.rotateOnWorldAxis(new E.Vector3(0, 1, 0), Me), me.updateProjectionMatrix(), me.updateMatrixWorld(!0);
12391
+ const Ye = new E.Frustum(), at = new E.Matrix4();
12392
12392
  at.multiplyMatrices(
12393
12393
  me.projectionMatrix,
12394
12394
  me.matrixWorldInverse
@@ -12421,7 +12421,7 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12421
12421
  }, x = () => {
12422
12422
  if (v.forbidden || !v.enabled)
12423
12423
  return;
12424
- const ue = i.camera, be = ue.getWorldDirection(new I.Vector3());
12424
+ const ue = i.camera, be = ue.getWorldDirection(new E.Vector3());
12425
12425
  v.origins = v.tags.map((Me) => {
12426
12426
  const me = Me.position.clone().project(ue), Ye = Me.position.clone().sub(ue.position).setY(0).angleTo(be.setY(0)) < Math.PI / 2;
12427
12427
  return {
@@ -12432,29 +12432,29 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12432
12432
  destroying: Me.destroying
12433
12433
  };
12434
12434
  }), A.$set({ origins: v.origins });
12435
- }, E = () => {
12435
+ }, I = () => {
12436
12436
  v.forbidden || !v.enabled || (v.timeoutId && clearTimeout(v.timeoutId), v.timeoutId = setTimeout(() => {
12437
12437
  v.timeoutId = void 0;
12438
12438
  const ue = T();
12439
12439
  ue.length && (v.tags = v.tags.concat(ue), x());
12440
12440
  }, o));
12441
12441
  }, T = () => {
12442
- const { clientWidth: ue, clientHeight: be } = i.getElement(), Me = [], me = i.camera, Ye = new I.Frustum(), at = new I.Matrix4(), ke = me.getWorldDirection(new I.Vector3());
12442
+ const { clientWidth: ue, clientHeight: be } = i.getElement(), Me = [], me = i.camera, Ye = new E.Frustum(), at = new E.Matrix4(), ke = me.getWorldDirection(new E.Vector3());
12443
12443
  at.multiplyMatrices(
12444
12444
  me.projectionMatrix,
12445
12445
  me.matrixWorldInverse
12446
12446
  ), Ye.setFromProjectionMatrix(at);
12447
12447
  const Ke = v.tags.filter(
12448
- (Ee) => Ye.containsPoint(Ee.position) && !Ee.destroying
12449
- ).length, oe = v.points.reduce((Ee, Be) => {
12448
+ (Ie) => Ye.containsPoint(Ie.position) && !Ie.destroying
12449
+ ).length, oe = v.points.reduce((Ie, Be) => {
12450
12450
  if (v.tags.find((Oe) => Be.id === Oe.id && !Oe.destroying))
12451
- return Ee;
12451
+ return Ie;
12452
12452
  const ht = me.position.clone().setY(n).distanceTo(Be.position);
12453
12453
  if (ht < c || ht > d || !Ye.containsPoint(Be.position))
12454
- return Ee;
12454
+ return Ie;
12455
12455
  const Ht = Be.position.clone().sub(me.position).setY(0);
12456
12456
  if (Ht.angleTo(Be.normal) > Math.PI / 2 - r && Ht.angleTo(Be.normal) < Math.PI / 2 + r)
12457
- return Ee;
12457
+ return Ie;
12458
12458
  const pt = Be.position.clone().project(me);
12459
12459
  if (!v.tags.every((Oe) => {
12460
12460
  if (Oe.position.clone().sub(me.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
@@ -12464,7 +12464,7 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12464
12464
  Math.pow((pt.x - Fe.x) / 2 * ue, 2) + Math.pow((pt.y - Fe.y) / 2 * be, 2)
12465
12465
  ) > a;
12466
12466
  }))
12467
- return Ee;
12467
+ return Ie;
12468
12468
  const gt = {
12469
12469
  id: Be.id,
12470
12470
  position: Be.position,
@@ -12474,21 +12474,21 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12474
12474
  distance: ht
12475
12475
  };
12476
12476
  let je;
12477
- for (let Oe = 0, Fe = Ee.length; Oe < Fe; Oe++) {
12478
- const It = Ee[Oe];
12479
- if (gt.weight > It.weight) {
12477
+ for (let Oe = 0, Fe = Ie.length; Oe < Fe; Oe++) {
12478
+ const Et = Ie[Oe];
12479
+ if (gt.weight > Et.weight) {
12480
12480
  je = Oe;
12481
12481
  break;
12482
12482
  }
12483
- if (gt.distance < It.distance) {
12483
+ if (gt.distance < Et.distance) {
12484
12484
  je = Oe;
12485
12485
  break;
12486
12486
  }
12487
12487
  }
12488
- return je !== void 0 ? Ee.splice(je, 0, gt) : Ee.push(gt), Ee;
12488
+ return je !== void 0 ? Ie.splice(je, 0, gt) : Ie.push(gt), Ie;
12489
12489
  }, []);
12490
- for (let Ee = 0, Be = oe.length; Ee < Be && !(Ke + Me.length >= s); Ee++) {
12491
- const ht = oe[Ee];
12490
+ for (let Ie = 0, Be = oe.length; Ie < Be && !(Ke + Me.length >= s); Ie++) {
12491
+ const ht = oe[Ie];
12492
12492
  if (Me.find((je) => ht.id === je.id))
12493
12493
  continue;
12494
12494
  const Ht = ht.position.clone().project(me);
@@ -12501,23 +12501,23 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12501
12501
  ) > a;
12502
12502
  }))
12503
12503
  continue;
12504
- const pt = new I.Raycaster(
12504
+ const pt = new E.Raycaster(
12505
12505
  me.position.clone().setY(n),
12506
12506
  ht.position.clone().sub(me.position.clone().setY(n)).normalize(),
12507
12507
  0,
12508
12508
  ht.distance + ql
12509
12509
  ), [gt] = v.intersectObjects ? pt.intersectObjects(v.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(pt) : pt.intersectObjects(i.model.children, !0);
12510
12510
  if (gt && ht.distance - gt.distance < ql) {
12511
- const { position: je, normal: Oe, id: Fe, replacement: It } = ht, wi = new I.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new I.Vector3(0, 1, 0)).setLength(Cr), Zt = [
12511
+ const { position: je, normal: Oe, id: Fe, replacement: Et } = ht, wi = new E.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new E.Vector3(0, 1, 0)).setLength(Cr), Zt = [
12512
12512
  je.clone(),
12513
12513
  je.clone().add(Tt),
12514
- je.clone().add(new I.Vector3(0, Cr, 0)).add(Tt),
12515
- je.clone().add(new I.Vector3(0, Cr, 0))
12516
- ].map((zn) => wi.projectPoint(zn, new I.Vector3())), { container: mn, dispose: ut } = h.create3DDomContainer(Zt) || {}, Tn = new d0({
12514
+ je.clone().add(new E.Vector3(0, Cr, 0)).add(Tt),
12515
+ je.clone().add(new E.Vector3(0, Cr, 0))
12516
+ ].map((zn) => wi.projectPoint(zn, new E.Vector3())), { container: mn, dispose: ut } = h.create3DDomContainer(Zt) || {}, Tn = new d0({
12517
12517
  target: mn,
12518
12518
  props: {
12519
12519
  id: Fe,
12520
- content: v.render(v.template, It),
12520
+ content: v.render(v.template, Et),
12521
12521
  lineWidthZoom: 0.38 * (0.01 + me.position.distanceTo(je) / d),
12522
12522
  lineHeightZoom: 0.4 + (me.position.distanceTo(je) - c) / d * 0.6,
12523
12523
  contentZoom: 0.1 + me.position.distanceTo(je) / d,
@@ -12542,16 +12542,16 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12542
12542
  var Me, me;
12543
12543
  return {
12544
12544
  id: be.id,
12545
- position: new I.Vector3().fromArray(be.position),
12546
- normal: new I.Vector3().fromArray(be.normal),
12545
+ position: new E.Vector3().fromArray(be.position),
12546
+ normal: new E.Vector3().fromArray(be.normal),
12547
12547
  replacement: (Me = be.replacement) != null ? Me : {},
12548
12548
  weight: (me = be.weight) != null ? me : -1
12549
12549
  };
12550
12550
  }), ue.render && (v.render = ue.render), ue.template && (v.template = ue.template), ue.events && (v.events = ue.events), ue.enabled === !1 && (v.enabled = ue.enabled), ue.folded === !0 && (v.folded = ue.folded);
12551
12551
  }, N = (ue) => {
12552
- v.intersectObjects = ue, E();
12552
+ v.intersectObjects = ue, I();
12553
12553
  }, Y = () => {
12554
- v.enabled = !0, E();
12554
+ v.enabled = !0, I();
12555
12555
  }, H = () => {
12556
12556
  v.enabled = !1, A.$set({ origins: [] }), v.tags.forEach((ue) => {
12557
12557
  ue.app.$destroy(), ue = null;
@@ -12575,7 +12575,7 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12575
12575
  }, U = () => {
12576
12576
  i.once("renderFrame", x);
12577
12577
  }, X = () => {
12578
- e || (e = i.getElement().parentElement), e && e.appendChild(u), v.forbidden = !1, n = i.model.bounding.getCenter(new I.Vector3()).y, E(), i.on("panoWillArrive", P), i.on("panoArrived", y), i.on("modeChange", D), i.on("cameraUpdate", b);
12578
+ e || (e = i.getElement().parentElement), e && e.appendChild(u), v.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, I(), i.on("panoWillArrive", P), i.on("panoArrived", y), i.on("modeChange", D), i.on("cameraUpdate", b);
12579
12579
  }, J = () => {
12580
12580
  g = null, h.disposeAll(), A.$destroy(), v.tags.forEach((ue) => {
12581
12581
  ue.app.$destroy(), ue = null;
@@ -12759,7 +12759,7 @@ function Zl(i, t) {
12759
12759
  key: i,
12760
12760
  first: null,
12761
12761
  c() {
12762
- e = Ie(), ne(n.$$.fragment), this.first = e;
12762
+ e = Ee(), ne(n.$$.fragment), this.first = e;
12763
12763
  },
12764
12764
  m(s, r) {
12765
12765
  O(s, e, r), ee(n, s, r), o = !0;
@@ -12853,9 +12853,9 @@ function P0(i) {
12853
12853
  }
12854
12854
  };
12855
12855
  }
12856
- let Kl = 26, I0 = 11;
12857
- function E0(i, t, e) {
12858
- const { Raycaster: n, Vector3: o } = I;
12856
+ let Kl = 26, E0 = 11;
12857
+ function I0(i, t, e) {
12858
+ const { Raycaster: n, Vector3: o } = E;
12859
12859
  let { five: s } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, d = null, h = null, u, m, g = [], v = !0;
12860
12860
  const A = (Q, R) => {
12861
12861
  const q = new n(), U = Q.camera.position.clone(), X = new o().fromArray(R.modelPosition), J = X.distanceTo(U);
@@ -12880,7 +12880,7 @@ function E0(i, t, e) {
12880
12880
  }
12881
12881
  const x = (Q, R) => {
12882
12882
  const q = R.map((X) => {
12883
- const J = b(Q, X), re = X.name.length * I0, ie = D(X.modelPosition[1], c), we = (r ? A(Q, X) : !0) && !P([J[0], J[1] + ie], re);
12883
+ const J = b(Q, X), re = X.name.length * E0, ie = D(X.modelPosition[1], c), we = (r ? A(Q, X) : !0) && !P([J[0], J[1] + ie], re);
12884
12884
  if (!we)
12885
12885
  return ye(G({}, X), { visible: we });
12886
12886
  g.push(J);
@@ -12898,7 +12898,7 @@ function E0(i, t, e) {
12898
12898
  const J = U.findIndex((re) => re.itemLabelItem.id === X.id);
12899
12899
  return J !== void 0 ? ye(G({}, X), { zIndex: J * 10 }) : X;
12900
12900
  });
12901
- }, E = () => {
12901
+ }, I = () => {
12902
12902
  g = [], e(1, h = x(s, h));
12903
12903
  };
12904
12904
  sh(() => {
@@ -12908,19 +12908,19 @@ function E0(i, t, e) {
12908
12908
  e(4, v = !1), S();
12909
12909
  };
12910
12910
  Mt(() => {
12911
- e(1, h = a), d = a, E(), N(), s.on("cameraUpdate", T);
12911
+ e(1, h = a), d = a, I(), N(), s.on("cameraUpdate", T);
12912
12912
  });
12913
12913
  const S = Qh(
12914
12914
  () => {
12915
- e(4, v = !0), E();
12915
+ e(4, v = !0), I();
12916
12916
  },
12917
12917
  300
12918
12918
  ), N = () => {
12919
12919
  window.addEventListener("resize", H, !1);
12920
12920
  }, Y = () => {
12921
- d !== a && (e(1, h = a), d = a, E());
12921
+ d !== a && (e(1, h = a), d = a, I());
12922
12922
  }, H = () => {
12923
- s.once("renderFrame", E);
12923
+ s.once("renderFrame", I);
12924
12924
  };
12925
12925
  un(() => {
12926
12926
  s.off("cameraUpdate", T), window.removeEventListener("resize", H, !1);
@@ -12948,7 +12948,7 @@ let k0 = class extends ce {
12948
12948
  super(), le(
12949
12949
  this,
12950
12950
  t,
12951
- E0,
12951
+ I0,
12952
12952
  P0,
12953
12953
  ae,
12954
12954
  {
@@ -12967,7 +12967,7 @@ function x0(i) {
12967
12967
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
12968
12968
  }, t));
12969
12969
  }
12970
- const UI = (i, t) => {
12970
+ const UE = (i, t) => {
12971
12971
  var u, m;
12972
12972
  const e = {
12973
12973
  container: document.createElement("div"),
@@ -13037,7 +13037,7 @@ const UI = (i, t) => {
13037
13037
  dispose: a,
13038
13038
  hooks: e.hooks
13039
13039
  };
13040
- }, qI = {
13040
+ }, qE = {
13041
13041
  name: "ModelItemLabelPlugin",
13042
13042
  version: 0
13043
13043
  };
@@ -13058,7 +13058,7 @@ function D0(i) {
13058
13058
  t.push(n);
13059
13059
  }), t;
13060
13060
  }
13061
- const JI = (i, { videoElement: t }) => {
13061
+ const JE = (i, { videoElement: t }) => {
13062
13062
  const e = {
13063
13063
  videoMeshes: [],
13064
13064
  videoTextureEnabled: !1,
@@ -13098,7 +13098,7 @@ const JI = (i, { videoElement: t }) => {
13098
13098
  b.geometry.dispose(), b.material.dispose(), i.scene.remove(b), e.videoTexture && e.videoTexture.image.pause();
13099
13099
  }), e.videoMeshes = [], i.needsRender = !0);
13100
13100
  }, c = () => e.rectPoints.map((b, y) => {
13101
- const P = new I.BufferGeometry(), D = 128, x = [];
13101
+ const P = new E.BufferGeometry(), D = 128, x = [];
13102
13102
  x.push(...b[0].toArray());
13103
13103
  for (let z = 1; z < D; z++)
13104
13104
  x.push(
@@ -13114,22 +13114,22 @@ const JI = (i, { videoElement: t }) => {
13114
13114
  b[2].z + (b[3].z - b[2].z) * z / D
13115
13115
  );
13116
13116
  x.push(...b[3].toArray());
13117
- const E = [];
13118
- E.push(0, 1);
13117
+ const I = [];
13118
+ I.push(0, 1);
13119
13119
  for (let z = 1; z < D; z++)
13120
- E.push(0, 1 - z / D);
13121
- E.push(0, 0), E.push(1, 0);
13120
+ I.push(0, 1 - z / D);
13121
+ I.push(0, 0), I.push(1, 0);
13122
13122
  for (let z = 1; z < D; z++)
13123
- E.push(1, z / D);
13124
- E.push(1, 1);
13123
+ I.push(1, z / D);
13124
+ I.push(1, 1);
13125
13125
  const T = [];
13126
13126
  for (let z = 0; z < D; z++)
13127
13127
  T.push(z, z + 1, D * 2 - z, z, D * 2 - z, D * 2 + 1 - z);
13128
- P.setAttribute("position", new I.BufferAttribute(new Float32Array(x), 3)), P.setAttribute("uv", new I.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new I.BufferAttribute(new Uint32Array(T), 1));
13129
- const S = new I.MeshBasicMaterial({
13128
+ P.setAttribute("position", new E.BufferAttribute(new Float32Array(x), 3)), P.setAttribute("uv", new E.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new E.BufferAttribute(new Uint32Array(T), 1));
13129
+ const S = new E.MeshBasicMaterial({
13130
13130
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
13131
- side: I.DoubleSide
13132
- }), N = new I.Mesh(P, S);
13131
+ side: E.DoubleSide
13132
+ }), N = new E.Mesh(P, S);
13133
13133
  N.renderOrder = 1, N.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
13134
13134
  const Y = [b[1], b[2], b[3], b[0]], H = n.create3DDomContainer(Y);
13135
13135
  if (H != null && H.container) {
@@ -13142,26 +13142,26 @@ const JI = (i, { videoElement: t }) => {
13142
13142
  }
13143
13143
  return N;
13144
13144
  }), d = (b) => {
13145
- const y = new I.TextureLoader().load(b);
13146
- return y.minFilter = I.LinearFilter, y.magFilter = I.LinearFilter, y.format = I.RGBFormat, y;
13145
+ const y = new E.TextureLoader().load(b);
13146
+ return y.minFilter = E.LinearFilter, y.magFilter = E.LinearFilter, y.format = E.RGBFormat, y;
13147
13147
  }, h = (b, y) => {
13148
13148
  let P = y;
13149
13149
  return new Promise((D, x) => {
13150
- const E = new XMLHttpRequest();
13151
- E.onreadystatechange = () => {
13152
- if (E.readyState === 4)
13153
- if (E.status === 200) {
13150
+ const I = new XMLHttpRequest();
13151
+ I.onreadystatechange = () => {
13152
+ if (I.readyState === 4)
13153
+ if (I.status === 200) {
13154
13154
  const T = window.URL || window.webkitURL;
13155
- P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(E.response);
13156
- const S = new I.VideoTexture(P);
13157
- S.minFilter = I.LinearFilter, S.magFilter = I.LinearFilter, S.format = I.RGBFormat, D(Object.assign(S, { videoSource: b }));
13155
+ P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(I.response);
13156
+ const S = new E.VideoTexture(P);
13157
+ S.minFilter = E.LinearFilter, S.magFilter = E.LinearFilter, S.format = E.RGBFormat, D(Object.assign(S, { videoSource: b }));
13158
13158
  } else
13159
- x(new Error("Video download Error: " + E.status));
13160
- }, E.onerror = (T) => x(T), E.open("GET", b), E.responseType = "blob", E.send();
13159
+ x(new Error("Video download Error: " + I.status));
13160
+ }, I.onerror = (T) => x(T), I.open("GET", b), I.responseType = "blob", I.send();
13161
13161
  });
13162
13162
  }, u = (b, y) => F(void 0, null, function* () {
13163
13163
  const { video_src: P, video_poster_src: D, points: x } = b;
13164
- e.videoSource = P, e.rectPoints = D0(x).map((E) => E.map(({ x: T, y: S, z: N }) => new I.Vector3(T, S, N))), e.imageTexture = d(D), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
13164
+ e.videoSource = P, e.rectPoints = D0(x).map((I) => I.map(({ x: T, y: S, z: N }) => new E.Vector3(T, S, N))), e.imageTexture = d(D), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
13165
13165
  }), m = (b) => {
13166
13166
  if (!e.enabled)
13167
13167
  return;
@@ -13175,14 +13175,14 @@ const JI = (i, { videoElement: t }) => {
13175
13175
  return;
13176
13176
  const b = i.camera.position;
13177
13177
  if (o.forEach((y, P) => {
13178
- const D = y.css3DObject.position.clone(), x = D.clone().sub(b).normalize(), E = new I.Raycaster(b, x), T = i.model.intersectRaycaster(E)[0], S = D.distanceTo(b), N = 0.01;
13178
+ const D = y.css3DObject.position.clone(), x = D.clone().sub(b).normalize(), I = new E.Raycaster(b, x), T = i.model.intersectRaycaster(I)[0], S = D.distanceTo(b), N = 0.01;
13179
13179
  T && T.distance + N < S ? y.hide() : y.show();
13180
13180
  }), !r()) {
13181
13181
  const y = e.rectPoints.find((P) => {
13182
13182
  const D = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
13183
13183
  return P.map((x) => x.clone().add(D).divideScalar(2)).filter((x) => {
13184
- const E = x.distanceTo(b), T = new I.Raycaster(b, x.clone().sub(b).normalize()), S = i.model.intersectRaycaster(T)[0], N = 0.01;
13185
- return !(S && S.distance + N < E);
13184
+ const I = x.distanceTo(b), T = new E.Raycaster(b, x.clone().sub(b).normalize()), S = i.model.intersectRaycaster(T)[0], N = 0.01;
13185
+ return !(S && S.distance + N < I);
13186
13186
  }).length >= 2;
13187
13187
  });
13188
13188
  (!y || y.length === 0) && s(!0);
@@ -13407,7 +13407,7 @@ class j0 extends ce {
13407
13407
  );
13408
13408
  }
13409
13409
  }
13410
- const { Raycaster: _0, Vector3: ZI } = I, ec = (i, t, e, n) => {
13410
+ const { Raycaster: _0, Vector3: ZE } = E, ec = (i, t, e, n) => {
13411
13411
  const o = t.clone().sub(e).normalize(), s = new _0();
13412
13412
  s.set(e, o);
13413
13413
  const [r] = i.model.intersectRaycaster(s);
@@ -13496,7 +13496,7 @@ function oc(i, t) {
13496
13496
  key: i,
13497
13497
  first: null,
13498
13498
  c() {
13499
- e = Ie(), s && s.c(), n = Ie(), this.first = e;
13499
+ e = Ee(), s && s.c(), n = Ee(), this.first = e;
13500
13500
  },
13501
13501
  m(r, a) {
13502
13502
  O(r, e, a), s && s.m(r, a), O(r, n, a), o = !0;
@@ -13590,7 +13590,7 @@ function R0(i) {
13590
13590
  }
13591
13591
  let Q0 = 11;
13592
13592
  function H0(i, t, e) {
13593
- const { Vector3: n } = I;
13593
+ const { Vector3: n } = E;
13594
13594
  let { five: o } = t, { modelOcclusionEnable: s } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, u = (o == null ? void 0 : o.currentMode) === nt.Mode.Panorama, m, g, v = [], A = !0;
13595
13595
  const b = (R, q) => {
13596
13596
  const U = R.camera.position.clone(), X = new n(q.modelPosition[0], q.modelPosition[1], q.modelPosition[2]), J = X.distanceTo(U);
@@ -13627,7 +13627,7 @@ function H0(i, t, e) {
13627
13627
  });
13628
13628
  }, x = () => {
13629
13629
  v = [], e(1, h = D(o, h));
13630
- }, E = () => {
13630
+ }, I = () => {
13631
13631
  e(5, A = !1), T();
13632
13632
  }, T = Qh(
13633
13633
  () => {
@@ -13680,9 +13680,9 @@ function H0(i, t, e) {
13680
13680
  sh(() => {
13681
13681
  Y();
13682
13682
  }), Mt(() => {
13683
- e(1, h = tc(r)), d = r, x(), N(), o.on("cameraUpdate", E);
13683
+ e(1, h = tc(r)), d = r, x(), N(), o.on("cameraUpdate", I);
13684
13684
  }), un(() => {
13685
- o.off("cameraUpdate", E), window.removeEventListener("resize", S, !1);
13685
+ o.off("cameraUpdate", I), window.removeEventListener("resize", S, !1);
13686
13686
  });
13687
13687
  function Q() {
13688
13688
  m = this.clientWidth, g = this.clientHeight, e(3, m), e(4, g);
@@ -13732,7 +13732,7 @@ function W0(i) {
13732
13732
  observerIndex: void 0
13733
13733
  }));
13734
13734
  }
13735
- const N0 = void 0, KI = (i, t) => {
13735
+ const N0 = void 0, KE = (i, t) => {
13736
13736
  var u, m, g, v;
13737
13737
  const e = {
13738
13738
  container: document.createElement("div"),
@@ -13803,7 +13803,7 @@ const N0 = void 0, KI = (i, t) => {
13803
13803
  dispose: a,
13804
13804
  hooks: e.hooks
13805
13805
  };
13806
- }, $I = {
13806
+ }, $E = {
13807
13807
  name: "ItemLabelPlugin",
13808
13808
  version: 0
13809
13809
  };
@@ -14053,14 +14053,14 @@ class tA extends F0 {
14053
14053
  if (this.five.currentMode !== "Panorama")
14054
14054
  return this.hideAllLabels();
14055
14055
  const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new $()), l = [], c = [...this.labelItems];
14056
- if (c.forEach((E, T) => {
14057
- if (E.visible) {
14058
- const S = n.position.distanceTo(E.position), N = E.position.clone().add(new $(0, this.OffsetHeight, 0)), H = N.clone().sub(n.position).normalize().angleTo(a), z = N.clone().project(n), Q = (z.x + 1) / 2.2 * 100, R = (-z.y + 1) / 2.2 * 100, q = Q >= 0 && Q <= 100 && R >= 0 && R <= 100 && S > this.MinVisibledistance && S <= this.MaxVisibledistance;
14059
- E.left = Q, E.top = R, E.inSight = q && H < Math.PI / 2, E.cameraToward = Z0(this.five), q ? l.push({ disFromCameraToLabel: S, left: Q, top: R, index: T }) : E.transform = "translate(-50%, -50%)";
14056
+ if (c.forEach((I, T) => {
14057
+ if (I.visible) {
14058
+ const S = n.position.distanceTo(I.position), N = I.position.clone().add(new $(0, this.OffsetHeight, 0)), H = N.clone().sub(n.position).normalize().angleTo(a), z = N.clone().project(n), Q = (z.x + 1) / 2.2 * 100, R = (-z.y + 1) / 2.2 * 100, q = Q >= 0 && Q <= 100 && R >= 0 && R <= 100 && S > this.MinVisibledistance && S <= this.MaxVisibledistance;
14059
+ I.left = Q, I.top = R, I.inSight = q && H < Math.PI / 2, I.cameraToward = Z0(this.five), q ? l.push({ disFromCameraToLabel: S, left: Q, top: R, index: T }) : I.transform = "translate(-50%, -50%)";
14060
14060
  } else
14061
- E.inSight = !1;
14061
+ I.inSight = !1;
14062
14062
  }), l.length > 1) {
14063
- let E = 0;
14063
+ let I = 0;
14064
14064
  l.sort((T, S) => S.disFromCameraToLabel - T.disFromCameraToLabel);
14065
14065
  for (let T = 1; T < l.length; T++) {
14066
14066
  const { index: S, left: N, top: Y } = l[T - 1], { index: H, left: z, top: Q } = l[T], R = this.container.children[S], q = this.container.children[H];
@@ -14077,7 +14077,7 @@ class tA extends F0 {
14077
14077
  width: (y = (b = (A = q.children) == null ? void 0 : A[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
14078
14078
  height: (x = (D = (P = q.children) == null ? void 0 : P[0]) == null ? void 0 : D.clientHeight) != null ? x : 0
14079
14079
  };
14080
- J0(U, X) && (E++, c[S].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[H].transform = `translate(-50%, ${E * 100 - 50}%)`);
14080
+ J0(U, X) && (I++, c[S].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[H].transform = `translate(-50%, ${I * 100 - 50}%)`);
14081
14081
  }
14082
14082
  }
14083
14083
  this.labelItems = c, this.render();
@@ -14179,7 +14179,7 @@ class tA extends F0 {
14179
14179
  this && this.five && (this.five.off("wantsToMoveToPano", this.hideAllLabels), this.five.off("modelLoaded", this.fixDoorVisibleAndPosition), this.five.off("panoArrived", this.fixDoorVisibleAndPosition), this.five.off("initAnimationEnded", this.fixDoorPosition), this.five.off("cameraUpdate", this.fixDoorPosition), this.five.off("mouseWheel", this.fixDoorPosition), this.five.off("pinchGesture", this.fixDoorPosition), super.dispose());
14180
14180
  }
14181
14181
  }
14182
- const eE = (i) => new tA(i);
14182
+ const eI = (i) => new tA(i);
14183
14183
  function nA(i, t) {
14184
14184
  console.warn(`⛔ ==> [${i}]: ${t}`);
14185
14185
  }
@@ -14245,40 +14245,40 @@ const vA = 2, AA = 3, bA = 3, yA = 2;
14245
14245
  function wA(i) {
14246
14246
  const t = i.width, n = i.unitLength / t, o = t / 2, s = i.path;
14247
14247
  if (s.length === 0)
14248
- return { geometry: new I.BufferGeometry(), maxU: 0 };
14249
- const r = new I.CurvePath();
14250
- s.forEach((E) => {
14251
- const T = CA(E);
14248
+ return { geometry: new E.BufferGeometry(), maxU: 0 };
14249
+ const r = new E.CurvePath();
14250
+ s.forEach((I) => {
14251
+ const T = CA(I);
14252
14252
  T && r.add(T);
14253
14253
  });
14254
- const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = gA(l.map((E) => [E.x, E.z])), u = (c - 1) * vA * AA, m = 2 * c, g = m * bA, v = m * yA, A = new Uint32Array(u), b = new Float32Array(g), y = new Float32Array(v);
14254
+ const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = gA(l.map((I) => [I.x, I.z])), u = (c - 1) * vA * AA, m = 2 * c, g = m * bA, v = m * yA, A = new Uint32Array(u), b = new Float32Array(g), y = new Float32Array(v);
14255
14255
  let P = 0, D = 0;
14256
- for (let E = 0; E < l.length; E++) {
14257
- const [T, S] = d[E][0], N = l[E], { x: Y, y: H, z } = N, Q = new $(Y + T * o, H + 0.05, z + S * o);
14258
- b[E * 6 + 0] = Q.x, b[E * 6 + 1] = Q.y, b[E * 6 + 2] = Q.z;
14256
+ for (let I = 0; I < l.length; I++) {
14257
+ const [T, S] = d[I][0], N = l[I], { x: Y, y: H, z } = N, Q = new $(Y + T * o, H + 0.05, z + S * o);
14258
+ b[I * 6 + 0] = Q.x, b[I * 6 + 1] = Q.y, b[I * 6 + 2] = Q.z;
14259
14259
  const R = new $(Y - T * o, H + 0.05, z - S * o);
14260
- b[E * 6 + 3] = R.x, b[E * 6 + 4] = R.y, b[E * 6 + 5] = R.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
14260
+ b[I * 6 + 3] = R.x, b[I * 6 + 4] = R.y, b[I * 6 + 5] = R.z, P += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
14261
14261
  const q = P / t / n;
14262
- if (D = q, y[E * 4 + 0] = 0, y[E * 4 + 1] = q, y[E * 4 + 2] = 1, y[E * 4 + 3] = q, i.skipPositions) {
14263
- const U = new I.Vector3().lerpVectors(Q, R, 0.5);
14262
+ if (D = q, y[I * 4 + 0] = 0, y[I * 4 + 1] = q, y[I * 4 + 2] = 1, y[I * 4 + 3] = q, i.skipPositions) {
14263
+ const U = new E.Vector3().lerpVectors(Q, R, 0.5);
14264
14264
  if (i.skipPositions.some((J) => J.distanceTo(U) < 0.26))
14265
14265
  continue;
14266
14266
  }
14267
- E !== l.length - 1 && (A[E * 6 + 0] = E * 2 + 0, A[E * 6 + 1] = E * 2 + 2, A[E * 6 + 2] = E * 2 + 1, A[E * 6 + 3] = E * 2 + 2, A[E * 6 + 4] = E * 2 + 3, A[E * 6 + 5] = E * 2 + 1);
14267
+ I !== l.length - 1 && (A[I * 6 + 0] = I * 2 + 0, A[I * 6 + 1] = I * 2 + 2, A[I * 6 + 2] = I * 2 + 1, A[I * 6 + 3] = I * 2 + 2, A[I * 6 + 4] = I * 2 + 3, A[I * 6 + 5] = I * 2 + 1);
14268
14268
  }
14269
- const x = new I.BufferGeometry();
14270
- return x.setAttribute("position", new I.BufferAttribute(b, 3)), x.setAttribute("uv", new I.BufferAttribute(y, 2)), x.setIndex(new I.BufferAttribute(A, 1)), { geometry: x, maxU: D };
14269
+ const x = new E.BufferGeometry();
14270
+ return x.setAttribute("position", new E.BufferAttribute(b, 3)), x.setAttribute("uv", new E.BufferAttribute(y, 2)), x.setIndex(new E.BufferAttribute(A, 1)), { geometry: x, maxU: D };
14271
14271
  }
14272
14272
  function CA(i) {
14273
14273
  if (PA(i)) {
14274
- const t = [i.closed, i.curve_type, i.tension], e = i.points.map((o) => new I.Vector3().fromArray(o));
14275
- return new I.CatmullRomCurve3(e, ...t);
14274
+ const t = [i.closed, i.curve_type, i.tension], e = i.points.map((o) => new E.Vector3().fromArray(o));
14275
+ return new E.CatmullRomCurve3(e, ...t);
14276
14276
  }
14277
14277
  }
14278
14278
  function PA(i) {
14279
14279
  return i.type === "CatmullRomCurve3";
14280
14280
  }
14281
- var Xe = {}, IA = {
14281
+ var Xe = {}, EA = {
14282
14282
  get exports() {
14283
14283
  return Xe;
14284
14284
  },
@@ -14328,7 +14328,7 @@ function ws(i, t = [], e = {}) {
14328
14328
  }
14329
14329
  return s;
14330
14330
  }
14331
- IA.exports = function(t, ...e) {
14331
+ EA.exports = function(t, ...e) {
14332
14332
  return ws(t, e);
14333
14333
  };
14334
14334
  Xe.noMutate = function(...t) {
@@ -14337,25 +14337,25 @@ Xe.noMutate = function(...t) {
14337
14337
  Xe.withOptions = function(t, e, n) {
14338
14338
  return ws(t, e, n);
14339
14339
  };
14340
- function EA(i, t) {
14340
+ function IA(i, t) {
14341
14341
  t.forEach((e) => {
14342
- const n = new I.SphereGeometry(0.02, 16, 16), o = [], s = [
14343
- new I.MeshBasicMaterial({ color: 16776960 }),
14342
+ const n = new E.SphereGeometry(0.02, 16, 16), o = [], s = [
14343
+ new E.MeshBasicMaterial({ color: 16776960 }),
14344
14344
  // 黄
14345
- new I.MeshBasicMaterial({ color: 16711935 }),
14345
+ new E.MeshBasicMaterial({ color: 16711935 }),
14346
14346
  // 粉
14347
- new I.MeshBasicMaterial({ color: 16711680 }),
14347
+ new E.MeshBasicMaterial({ color: 16711680 }),
14348
14348
  // 红
14349
- new I.MeshBasicMaterial({ color: 65535 })
14349
+ new E.MeshBasicMaterial({ color: 65535 })
14350
14350
  // 蓝
14351
14351
  ];
14352
14352
  if (e.position.length === 4)
14353
14353
  e.position.forEach((r, a) => {
14354
- const l = s[a], c = new I.Mesh(n, l);
14354
+ const l = s[a], c = new E.Mesh(n, l);
14355
14355
  c.position.copy(St(r)), o.push(c);
14356
14356
  });
14357
14357
  else {
14358
- const r = s[0], a = new I.Mesh(n, r);
14358
+ const r = s[0], a = new E.Mesh(n, r);
14359
14359
  a.position.copy(St(e.position)), o.push(a);
14360
14360
  }
14361
14361
  o.forEach((r) => {
@@ -14364,7 +14364,7 @@ function EA(i, t) {
14364
14364
  });
14365
14365
  }
14366
14366
  const Qe = (i) => i;
14367
- function Ir(i) {
14367
+ function Er(i) {
14368
14368
  if (i.length < 3)
14369
14369
  return;
14370
14370
  const t = i.map(Zi), e = t[1].clone().sub(t[0]), n = t[2].clone().sub(t[1]);
@@ -14416,7 +14416,7 @@ function LA(i) {
14416
14416
  });
14417
14417
  }
14418
14418
  function TA(i, t, e) {
14419
- const o = new I.Plane().setFromNormalAndCoplanarPoint(e, t), s = t.clone().sub(i).cross(new I.Vector3(0, 1, 0)).setLength(0.01), r = new I.Vector3(0, 0.01, 0);
14419
+ const o = new E.Plane().setFromNormalAndCoplanarPoint(e, t), s = t.clone().sub(i).cross(new E.Vector3(0, 1, 0)).setLength(0.01), r = new E.Vector3(0, 0.01, 0);
14420
14420
  return [
14421
14421
  t.clone().sub(s).sub(r),
14422
14422
  // 左下
@@ -14426,7 +14426,7 @@ function TA(i, t, e) {
14426
14426
  // 右上
14427
14427
  t.clone().sub(s).add(r)
14428
14428
  // 左上
14429
- ].map((l) => o.projectPoint(l, new I.Vector3()));
14429
+ ].map((l) => o.projectPoint(l, new E.Vector3()));
14430
14430
  }
14431
14431
  const ac = (i, t = 1e3 / 60) => {
14432
14432
  let e = null;
@@ -14487,7 +14487,7 @@ function _A(i) {
14487
14487
  return i;
14488
14488
  }
14489
14489
  const ai = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdq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VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", Ui = {};
14490
- var Ia = /* @__PURE__ */ ((i) => (i.Default = "default", i.GetAudioDuration = "getAudioDuration", i.PlayAudio = "playAudio", i))(Ia || {});
14490
+ var Ea = /* @__PURE__ */ ((i) => (i.Default = "default", i.GetAudioDuration = "getAudioDuration", i.PlayAudio = "playAudio", i))(Ea || {});
14491
14491
  function VA(i, t) {
14492
14492
  const e = (t == null ? void 0 : t.namespace) || "default", n = Ui[e] || (Ui[e] = []);
14493
14493
  let o = n.find((s) => !s.realSrc || s.realSrc === ai);
@@ -14655,7 +14655,7 @@ function GA(i) {
14655
14655
  const [t, e, n, o] = i, s = t.distanceTo(e), r = e.distanceTo(n), a = n.distanceTo(o), l = o.distanceTo(t), c = t.distanceTo(n), d = e.distanceTo(o);
14656
14656
  return s === a && r === l && c === d;
14657
14657
  }
14658
- class Er extends I.Mesh {
14658
+ class Ir extends E.Mesh {
14659
14659
  /**
14660
14660
  * @description 生成一个四边形的Mesh
14661
14661
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -14673,7 +14673,7 @@ class Er extends I.Mesh {
14673
14673
  return e !== null && e.remove(this), this;
14674
14674
  }
14675
14675
  }
14676
- class Yh extends I.BufferGeometry {
14676
+ class Yh extends E.BufferGeometry {
14677
14677
  /**
14678
14678
  * @description 生成一个四边形的BufferGeometry,原点取 points[0],即左下角
14679
14679
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -14688,7 +14688,7 @@ class Yh extends I.BufferGeometry {
14688
14688
  console.error("Invalid number of points, it's not a quadrangle");
14689
14689
  return;
14690
14690
  }
14691
- const [s, r, a, l] = e, [c, d, h, u] = [new I.Vector2(0, 0), new I.Vector2(1, 0), new I.Vector2(1, 1), new I.Vector2(0, 1)], m = [], g = [];
14691
+ const [s, r, a, l] = e, [c, d, h, u] = [new E.Vector2(0, 0), new E.Vector2(1, 0), new E.Vector2(1, 1), new E.Vector2(0, 1)], m = [], g = [];
14692
14692
  m.push(...s.toArray()), g.push(...c.toArray());
14693
14693
  for (let A = 1; A < o; A++)
14694
14694
  m.push(
@@ -14707,15 +14707,15 @@ class Yh extends I.BufferGeometry {
14707
14707
  const v = [];
14708
14708
  for (let A = 0; A < o; A++)
14709
14709
  v.push(A, A + 1, o * 2 - A, A, o * 2 - A, o * 2 + 1 - A);
14710
- this.setAttribute("position", new I.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new I.BufferAttribute(new Float32Array(g), 2)), this.setIndex(new I.BufferAttribute(new Uint32Array(v), 1));
14710
+ this.setAttribute("position", new E.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new E.BufferAttribute(new Float32Array(g), 2)), this.setIndex(new E.BufferAttribute(new Uint32Array(v), 1));
14711
14711
  }
14712
14712
  }
14713
14713
  function WA(i, t) {
14714
14714
  let e = !Fo;
14715
14715
  const n = t != null ? t : document.createElement("video");
14716
14716
  n.preload = "metadata", n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.autoplay = !0;
14717
- const o = new I.VideoTexture(n);
14718
- o.minFilter = I.LinearFilter, o.magFilter = I.LinearFilter, o.encoding = I.sRGBEncoding, o.metadataLoaded = !1, n.src = i;
14717
+ const o = new E.VideoTexture(n);
14718
+ o.minFilter = E.LinearFilter, o.magFilter = E.LinearFilter, o.encoding = E.sRGBEncoding, o.metadataLoaded = !1, n.src = i;
14719
14719
  const s = () => {
14720
14720
  o.metadataLoaded || (o.dispatchEvent({ type: "videoLoaded" }), o.metadataLoaded = !0);
14721
14721
  };
@@ -14744,25 +14744,25 @@ function Wi(i, t, e) {
14744
14744
  if (i === "contain") {
14745
14745
  const [n, o, s, r] = t, a = n.distanceTo(o), l = s.distanceTo(r), c = n.distanceTo(r), d = o.distanceTo(s), h = a, u = c, m = h / u;
14746
14746
  if (m > e) {
14747
- const v = u * e, A = new I.Vector3().subVectors(o, n).multiplyScalar((a - v) / 2 / a), b = new I.Vector3().subVectors(s, r).multiplyScalar((l - v) / 2 / l);
14747
+ const v = u * e, A = new E.Vector3().subVectors(o, n).multiplyScalar((a - v) / 2 / a), b = new E.Vector3().subVectors(s, r).multiplyScalar((l - v) / 2 / l);
14748
14748
  return [n.clone().add(A), o.clone().sub(A), s.clone().sub(b), r.clone().add(b)];
14749
14749
  } else if (m < e) {
14750
- const v = h / e, A = new I.Vector3().subVectors(r, n).multiplyScalar((c - v) / 2 / c), b = new I.Vector3().subVectors(s, o).multiplyScalar((d - v) / 2 / d);
14750
+ const v = h / e, A = new E.Vector3().subVectors(r, n).multiplyScalar((c - v) / 2 / c), b = new E.Vector3().subVectors(s, o).multiplyScalar((d - v) / 2 / d);
14751
14751
  return [n.clone().add(A), o.clone().add(b), s.clone().sub(b), r.clone().sub(A)];
14752
14752
  } else
14753
14753
  return t;
14754
14754
  } else
14755
14755
  return console.warn(`objectFit: ${i} is not supported yet`), t;
14756
14756
  }
14757
- class XA extends I.ShaderMaterial {
14757
+ class XA extends E.ShaderMaterial {
14758
14758
  constructor(e) {
14759
14759
  super();
14760
14760
  f(this, "transparent", !1);
14761
- f(this, "blending", I.CustomBlending);
14762
- f(this, "blendSrc", I.SrcAlphaFactor);
14763
- f(this, "blendDst", I.OneMinusSrcAlphaFactor);
14764
- f(this, "blendSrcAlpha", I.OneFactor);
14765
- f(this, "blendDstAlpha", I.OneMinusSrcAlphaFactor);
14761
+ f(this, "blending", E.CustomBlending);
14762
+ f(this, "blendSrc", E.SrcAlphaFactor);
14763
+ f(this, "blendDst", E.OneMinusSrcAlphaFactor);
14764
+ f(this, "blendSrcAlpha", E.OneFactor);
14765
+ f(this, "blendDstAlpha", E.OneMinusSrcAlphaFactor);
14766
14766
  f(
14767
14767
  this,
14768
14768
  "vertexShader",
@@ -14793,7 +14793,7 @@ class XA extends I.ShaderMaterial {
14793
14793
  };
14794
14794
  }
14795
14795
  }
14796
- let qh = class extends I.Mesh {
14796
+ let qh = class extends E.Mesh {
14797
14797
  constructor() {
14798
14798
  super(...arguments);
14799
14799
  f(this, "name", "MediaPlane");
@@ -14810,7 +14810,7 @@ class cc extends qh {
14810
14810
  f(this, "name", "PanoTagPluginImagePlane");
14811
14811
  this.src = e, to(e).then((s) => {
14812
14812
  var u;
14813
- const r = new URL(e, location.href).pathname.endsWith(".png"), a = new I.MeshBasicMaterial({ map: s, transparent: r }), l = Wi((u = o == null ? void 0 : o.objectFit) != null ? u : "contain", n, s.image.width / s.image.height), c = Dn(...l), d = l.map((m) => m.clone().sub(c)), h = new Yh(d);
14813
+ const r = new URL(e, location.href).pathname.endsWith(".png"), a = new E.MeshBasicMaterial({ map: s, transparent: r }), l = Wi((u = o == null ? void 0 : o.objectFit) != null ? u : "contain", n, s.image.width / s.image.height), c = Dn(...l), d = l.map((m) => m.clone().sub(c)), h = new Yh(d);
14814
14814
  this.position.copy(c), this.geometry = h, this.material = a;
14815
14815
  }).catch((s) => {
14816
14816
  console.error(`Imageplane error ${s}`);
@@ -14910,7 +14910,7 @@ class ta extends qh {
14910
14910
  const n = yield this.getImageTexture(this.videoCoverSrc);
14911
14911
  if (!n)
14912
14912
  return;
14913
- const o = new I.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Er(s, o);
14913
+ const o = new E.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Ir(s, o);
14914
14914
  return r.position.copy(new $(0, 0, 0)), r.name = "videoCoverMesh", r;
14915
14915
  }))();
14916
14916
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -14925,12 +14925,12 @@ class ta extends qh {
14925
14925
  return this.videoMesh;
14926
14926
  if (!this.src)
14927
14927
  return;
14928
- const o = this.getVideoTexture(this.src), s = new I.MeshBasicMaterial({ transparent: !1, map: o }), r = yield new Promise((l) => {
14928
+ const o = this.getVideoTexture(this.src), s = new E.MeshBasicMaterial({ transparent: !1, map: o }), r = yield new Promise((l) => {
14929
14929
  o.metadataLoaded ? l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight)) : o.addEventListener(
14930
14930
  "videoLoaded",
14931
14931
  () => l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
14932
14932
  );
14933
- }), a = new Er(r, s);
14933
+ }), a = new Ir(r, s);
14934
14934
  return a.name = "videoMesh", a.position.copy(new $(0, 0, 0)), a;
14935
14935
  }))();
14936
14936
  if (!e)
@@ -14954,9 +14954,9 @@ class ta extends qh {
14954
14954
  var u, m, g, v;
14955
14955
  if (this.buttonMesh)
14956
14956
  return this.buttonMesh;
14957
- const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = Wi("contain", this.cornerPoints, l.image.width / l.image.height), d = new Er(c, new XA(l));
14957
+ const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = Wi("contain", this.cornerPoints, l.image.width / l.image.height), d = new Ir(c, new XA(l));
14958
14958
  d.position.copy(new $(0, 0, 0)), d.name = "buttonMesh", d.scale.set(a, a, a), this.addAutoBindEventListener(d, "click", () => this.play());
14959
- const h = new I.Vector3().crossVectors(new I.Vector3().subVectors(c[0], c[1]), new I.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
14959
+ const h = new E.Vector3().crossVectors(new E.Vector3().subVectors(c[0], c[1]), new E.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
14960
14960
  return d.position.add(h), d;
14961
14961
  }))();
14962
14962
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
@@ -14980,7 +14980,7 @@ class ta extends qh {
14980
14980
  }
14981
14981
  }
14982
14982
  function Se(i, t) {
14983
- this._camera = i || null, this._domElement = t || document, this._raycaster = new I.Raycaster(), this._selected = null, this._boundObjs = {};
14983
+ this._camera = i || null, this._domElement = t || document, this._raycaster = new E.Raycaster(), this._selected = null, this._boundObjs = {};
14984
14984
  var e = this;
14985
14985
  this._$onClick = function() {
14986
14986
  e._onClick.apply(e, arguments);
@@ -15080,7 +15080,7 @@ Se.prototype._bound = function(i, t) {
15080
15080
  Se.prototype._onMove = function(i, t, e, n) {
15081
15081
  var o = this._boundObjs[i];
15082
15082
  if (!(o === void 0 || o.length === 0)) {
15083
- var s = new I.Vector2();
15083
+ var s = new E.Vector2();
15084
15084
  s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
15085
15085
  var r = this._raycaster.intersectObjects(o), a = this._selected;
15086
15086
  if (r.length > 0) {
@@ -15094,7 +15094,7 @@ Se.prototype._onMove = function(i, t, e, n) {
15094
15094
  Se.prototype._onEvent = function(i, t, e, n) {
15095
15095
  var o = this._boundObjs[i];
15096
15096
  if (!(o === void 0 || o.length === 0)) {
15097
- var s = new I.Vector2();
15097
+ var s = new E.Vector2();
15098
15098
  s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
15099
15099
  var r = this._raycaster.intersectObjects(o, !0);
15100
15100
  if (r.length !== 0) {
@@ -15398,13 +15398,13 @@ class UA extends QA {
15398
15398
  const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
15399
15399
  if (l === void 0)
15400
15400
  throw new Error(`getAngleRange(): observerPosition is ${l}`);
15401
- const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) : Ir(e.position))();
15401
+ const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) : Er(e.position))();
15402
15402
  if (!c)
15403
15403
  return;
15404
15404
  const d = ss(e.position);
15405
15405
  if (!d)
15406
15406
  return;
15407
- const h = new I.Vector3().copy(l).sub(d), u = c.angleTo(h) * 180 / Math.PI;
15407
+ const h = new E.Vector3().copy(l).sub(d), u = c.angleTo(h) * 180 / Math.PI;
15408
15408
  return s.angle = u, s.angle;
15409
15409
  }
15410
15410
  }
@@ -15493,9 +15493,9 @@ class UA extends QA {
15493
15493
  if (e.normal)
15494
15494
  return St(e.normal);
15495
15495
  if (e.stickType === "Plane")
15496
- return Ir(e.position);
15496
+ return Er(e.position);
15497
15497
  if (e.stickType === "Model")
15498
- return Ir(this.getPositions(e));
15498
+ return Er(this.getPositions(e));
15499
15499
  }
15500
15500
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
15501
15501
  get filterPointTag() {
@@ -15550,7 +15550,7 @@ function qA(i, t) {
15550
15550
  class JA extends UA {
15551
15551
  constructor(e) {
15552
15552
  super(e);
15553
- f(this, "raycaster", new I.Raycaster());
15553
+ f(this, "raycaster", new E.Raycaster());
15554
15554
  }
15555
15555
  /**
15556
15556
  * @description: 获取是否可见
@@ -16017,7 +16017,7 @@ function KA(i) {
16017
16017
  );
16018
16018
  return {
16019
16019
  c() {
16020
- e && e.c(), t = Ie();
16020
+ e && e.c(), t = Ee();
16021
16021
  },
16022
16022
  m(n, o) {
16023
16023
  e && e.m(n, o), O(n, t, o);
@@ -16059,7 +16059,7 @@ function $A(i, t, e) {
16059
16059
  u
16060
16060
  ];
16061
16061
  }
16062
- class Ea extends ce {
16062
+ class Ia extends ce {
16063
16063
  constructor(t) {
16064
16064
  super(), le(
16065
16065
  this,
@@ -16173,14 +16173,14 @@ function uc(i) {
16173
16173
  },
16174
16174
  i(r) {
16175
16175
  s || (r && ot(() => {
16176
- s && (o && o.end(1), n = Sn(t, En, { duration: (
16176
+ s && (o && o.end(1), n = Sn(t, In, { duration: (
16177
16177
  /*inDelay*/
16178
16178
  i[0]
16179
16179
  ) }), n.start());
16180
16180
  }), s = !0);
16181
16181
  },
16182
16182
  o(r) {
16183
- n && n.invalidate(), r && (o = vi(t, En, { duration: (
16183
+ n && n.invalidate(), r && (o = vi(t, In, { duration: (
16184
16184
  /*outDelay*/
16185
16185
  i[1]
16186
16186
  ) })), s = !1;
@@ -16197,7 +16197,7 @@ function tb(i) {
16197
16197
  );
16198
16198
  return {
16199
16199
  c() {
16200
- e && e.c(), t = Ie();
16200
+ e && e.c(), t = Ee();
16201
16201
  },
16202
16202
  m(n, o) {
16203
16203
  e && e.m(n, o), O(n, t, o);
@@ -16360,7 +16360,7 @@ function mc(i, t) {
16360
16360
  key: i,
16361
16361
  first: null,
16362
16362
  c() {
16363
- e = Ie(), r.c(), n = Ie(), this.first = e;
16363
+ e = Ee(), r.c(), n = Ee(), this.first = e;
16364
16364
  },
16365
16365
  m(a, l) {
16366
16366
  O(a, e, l), r.m(a, l), O(a, n, l);
@@ -16390,7 +16390,7 @@ function ab(i) {
16390
16390
  c() {
16391
16391
  for (let r = 0; r < t.length; r += 1)
16392
16392
  t[r].c();
16393
- n = Ie();
16393
+ n = Ee();
16394
16394
  },
16395
16395
  m(r, a) {
16396
16396
  for (let l = 0; l < t.length; l += 1)
@@ -16416,11 +16416,11 @@ function lb(i, t, e) {
16416
16416
  const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
16417
16417
  let u, m, g = [];
16418
16418
  function v(x) {
16419
- const E = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
16420
- return x.slice().replace(T, (S) => `${c}${d}${S}${c}`).split(c).forEach((S) => S.startsWith(d) ? E.push({
16419
+ const I = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
16420
+ return x.slice().replace(T, (S) => `${c}${d}${S}${c}`).split(c).forEach((S) => S.startsWith(d) ? I.push({
16421
16421
  id: dt(),
16422
16422
  content: S.slice(d.length)
16423
- }) : E.push(...S.split("").map((N) => N === " " ? h : N).map((N) => ({ id: dt(), content: N })))), E;
16423
+ }) : I.push(...S.split("").map((N) => N === " " ? h : N).map((N) => ({ id: dt(), content: N })))), I;
16424
16424
  }
16425
16425
  function A() {
16426
16426
  if (!m)
@@ -16436,13 +16436,13 @@ function lb(i, t, e) {
16436
16436
  clearTimeout(u), u = setTimeout(A, x ? o : s);
16437
16437
  }
16438
16438
  function y(x) {
16439
- const E = function() {
16439
+ const I = function() {
16440
16440
  const T = jA((S) => x[S].getBoundingClientRect().x, [Math.min(x.length - 1, 10), Math.min(x.length - 1, 30)]);
16441
16441
  if (T > 0)
16442
16442
  return T;
16443
16443
  }();
16444
16444
  m = Ra({
16445
- targets: x.slice(0, E).filter(di),
16445
+ targets: x.slice(0, I).filter(di),
16446
16446
  autoplay: !1,
16447
16447
  duration: 400,
16448
16448
  scale: [0.7, 1],
@@ -16454,14 +16454,14 @@ function lb(i, t, e) {
16454
16454
  easing: "easeInOutCubic"
16455
16455
  }), a && m.seek(m.duration);
16456
16456
  }
16457
- function P(x, E) {
16457
+ function P(x, I) {
16458
16458
  Ze[x ? "unshift" : "push"](() => {
16459
- g[E] = x, e(1, g);
16459
+ g[I] = x, e(1, g);
16460
16460
  });
16461
16461
  }
16462
- function D(x, E) {
16462
+ function D(x, I) {
16463
16463
  Ze[x ? "unshift" : "push"](() => {
16464
- g[E] = x, e(1, g);
16464
+ g[I] = x, e(1, g);
16465
16465
  });
16466
16466
  }
16467
16467
  return i.$$set = (x) => {
@@ -16534,7 +16534,7 @@ function pc(i) {
16534
16534
  },
16535
16535
  i(h) {
16536
16536
  l || (k(e.$$.fragment, h), h && ot(() => {
16537
- l && (a && a.end(1), r = Sn(o, En, {
16537
+ l && (a && a.end(1), r = Sn(o, In, {
16538
16538
  duration: (
16539
16539
  /*duration*/
16540
16540
  i[2]
@@ -16548,7 +16548,7 @@ function pc(i) {
16548
16548
  }), l = !0);
16549
16549
  },
16550
16550
  o(h) {
16551
- L(e.$$.fragment, h), r && r.invalidate(), h && (a = vi(o, En, {
16551
+ L(e.$$.fragment, h), r && r.invalidate(), h && (a = vi(o, In, {
16552
16552
  duration: (
16553
16553
  /*duration*/
16554
16554
  i[2]
@@ -16572,7 +16572,7 @@ function db(i) {
16572
16572
  );
16573
16573
  return {
16574
16574
  c() {
16575
- n && n.c(), t = Ie();
16575
+ n && n.c(), t = Ee();
16576
16576
  },
16577
16577
  m(o, s) {
16578
16578
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -16744,7 +16744,7 @@ function pb(i) {
16744
16744
  );
16745
16745
  return {
16746
16746
  c() {
16747
- o && o.c(), t = se(), s && s.c(), e = Ie();
16747
+ o && o.c(), t = se(), s && s.c(), e = Ee();
16748
16748
  },
16749
16749
  m(r, a) {
16750
16750
  o && o.m(r, a), O(r, t, a), s && s.m(r, a), O(r, e, a), n = !0;
@@ -16834,7 +16834,7 @@ function Ac(i) {
16834
16834
  blurRadius: 120,
16835
16835
  spreadRadius: 60
16836
16836
  }
16837
- }), n = new Ea({
16837
+ }), n = new Ia({
16838
16838
  props: {
16839
16839
  unfolded: (
16840
16840
  /*unfolded*/
@@ -16937,7 +16937,7 @@ function Ab(i) {
16937
16937
  );
16938
16938
  return {
16939
16939
  c() {
16940
- n && n.c(), t = Ie();
16940
+ n && n.c(), t = Ee();
16941
16941
  },
16942
16942
  m(o, s) {
16943
16943
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -17067,7 +17067,7 @@ function Pb(i) {
17067
17067
  );
17068
17068
  return {
17069
17069
  c() {
17070
- n && n.c(), t = se(), o && o.c(), e = Ie();
17070
+ n && n.c(), t = se(), o && o.c(), e = Ee();
17071
17071
  },
17072
17072
  m(a, l) {
17073
17073
  n && n.m(a, l), O(a, t, l), o && o.m(a, l), O(a, e, l);
@@ -17085,7 +17085,7 @@ function Pb(i) {
17085
17085
  }
17086
17086
  };
17087
17087
  }
17088
- function Ib(i) {
17088
+ function Eb(i) {
17089
17089
  let t;
17090
17090
  return {
17091
17091
  c() {
@@ -17148,9 +17148,9 @@ function yc(i) {
17148
17148
  }
17149
17149
  };
17150
17150
  }
17151
- function Eb(i) {
17151
+ function Ib(i) {
17152
17152
  let t, e, n, o;
17153
- const s = [Ib, Pb, Cb], r = [];
17153
+ const s = [Eb, Pb, Cb], r = [];
17154
17154
  function a(l, c) {
17155
17155
  return (
17156
17156
  /*text*/
@@ -17225,7 +17225,7 @@ class ka extends ce {
17225
17225
  this,
17226
17226
  t,
17227
17227
  kb,
17228
- Eb,
17228
+ Ib,
17229
17229
  ae,
17230
17230
  {
17231
17231
  maxLine: 0,
@@ -17243,7 +17243,7 @@ function xb(i) {
17243
17243
  function wc(i) {
17244
17244
  var h, u;
17245
17245
  let t, e, n, o, s, r, a, l, c;
17246
- t = new Ea({
17246
+ t = new Ia({
17247
17247
  props: {
17248
17248
  unfolded: (
17249
17249
  /*unfolded*/
@@ -17390,7 +17390,7 @@ function Db(i) {
17390
17390
  );
17391
17391
  return {
17392
17392
  c() {
17393
- n && n.c(), t = Ie();
17393
+ n && n.c(), t = Ee();
17394
17394
  },
17395
17395
  m(o, s) {
17396
17396
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -17502,7 +17502,7 @@ function zb(i) {
17502
17502
  }
17503
17503
  return ~(t = a(i)) && (e = r[t] = s[t](i)), {
17504
17504
  c() {
17505
- e && e.c(), n = Ie();
17505
+ e && e.c(), n = Ee();
17506
17506
  },
17507
17507
  m(l, c) {
17508
17508
  ~t && r[t].m(l, c), O(l, n, c), o = !0;
@@ -17705,11 +17705,11 @@ class Wb extends ce {
17705
17705
  function Nb(i) {
17706
17706
  fe(i, "svelte-670fde", ".sc-carousel-dots__container.svelte-670fde{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 30px}.sc-carousel-dots__dot-container.svelte-670fde{height:calc(var(--sc-dot-size) + 14px);width:calc(var(--sc-dot-size) + 10px);display:flex;align-items:center;justify-content:center}");
17707
17707
  }
17708
- function Ic(i, t, e) {
17708
+ function Ec(i, t, e) {
17709
17709
  const n = i.slice();
17710
17710
  return n[5] = t[e], n[7] = e, n;
17711
17711
  }
17712
- function Ec(i, t) {
17712
+ function Ic(i, t) {
17713
17713
  let e, n, o, s;
17714
17714
  function r() {
17715
17715
  return (
@@ -17766,8 +17766,8 @@ function Fb(i) {
17766
17766
  a[7]
17767
17767
  );
17768
17768
  for (let a = 0; a < s.length; a += 1) {
17769
- let l = Ic(i, s, a), c = r(l);
17770
- n.set(c, e[a] = Ec(c, l));
17769
+ let l = Ec(i, s, a), c = r(l);
17770
+ n.set(c, e[a] = Ic(c, l));
17771
17771
  }
17772
17772
  return {
17773
17773
  c() {
@@ -17787,7 +17787,7 @@ function Fb(i) {
17787
17787
  7 && (s = Array(
17788
17788
  /*pagesCount*/
17789
17789
  a[0]
17790
- ), de(), e = Lt(e, l, r, 1, a, s, n, t, fn, Ec, null, Ic), he());
17790
+ ), de(), e = Lt(e, l, r, 1, a, s, n, t, fn, Ic, null, Ec), he());
17791
17791
  },
17792
17792
  i(a) {
17793
17793
  if (!o) {
@@ -18163,7 +18163,7 @@ function P1({
18163
18163
  particlesToShow: n
18164
18164
  });
18165
18165
  }
18166
- function I1({
18166
+ function E1({
18167
18167
  pageIndex: i,
18168
18168
  clonesCountHead: t,
18169
18169
  clonesCountTail: e,
@@ -18176,7 +18176,7 @@ function I1({
18176
18176
  o - 1
18177
18177
  );
18178
18178
  }
18179
- function E1({
18179
+ function I1({
18180
18180
  pageIndex: i,
18181
18181
  particlesToScroll: t,
18182
18182
  particlesCount: e,
@@ -18197,13 +18197,13 @@ function Dr({
18197
18197
  particlesCount: s,
18198
18198
  particlesToShow: r
18199
18199
  }) {
18200
- return i ? I1({
18200
+ return i ? E1({
18201
18201
  pageIndex: t,
18202
18202
  clonesCountHead: e,
18203
18203
  clonesCountTail: n,
18204
18204
  particlesToScroll: o,
18205
18205
  particlesCount: s
18206
- }) : E1({
18206
+ }) : I1({
18207
18207
  pageIndex: t,
18208
18208
  particlesToScroll: o,
18209
18209
  particlesCount: s,
@@ -18458,7 +18458,7 @@ function Ay(i) {
18458
18458
  return !!Lc && Lc in i;
18459
18459
  }
18460
18460
  var by = Ma(function(i) {
18461
- i = Ey(i);
18461
+ i = Iy(i);
18462
18462
  var t = [];
18463
18463
  return O1.test(i) && t.push(""), i.replace(B1, function(e, n, o, s) {
18464
18464
  t.push(o ? s.replace(Q1, "$1") : n || e);
@@ -18508,13 +18508,13 @@ function lu(i) {
18508
18508
  var t = typeof i;
18509
18509
  return !!i && (t == "object" || t == "function");
18510
18510
  }
18511
- function Iy(i) {
18511
+ function Ey(i) {
18512
18512
  return !!i && typeof i == "object";
18513
18513
  }
18514
18514
  function La(i) {
18515
- return typeof i == "symbol" || Iy(i) && su.call(i) == j1;
18515
+ return typeof i == "symbol" || Ey(i) && su.call(i) == j1;
18516
18516
  }
18517
- function Ey(i) {
18517
+ function Iy(i) {
18518
18518
  return i == null ? "" : my(i);
18519
18519
  }
18520
18520
  function ky(i, t, e) {
@@ -18530,8 +18530,8 @@ var Bo = ky, rs = {}, xy = {
18530
18530
  }
18531
18531
  };
18532
18532
  (function(i, t) {
18533
- var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", g = "[object Object]", v = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", D = "[object WeakMap]", x = "[object ArrayBuffer]", E = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", N = "[object Int8Array]", Y = "[object Int16Array]", H = "[object Int32Array]", z = "[object Uint8Array]", Q = "[object Uint8ClampedArray]", R = "[object Uint16Array]", q = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
18534
- ie[s] = ie[r] = ie[x] = ie[E] = ie[a] = ie[l] = ie[T] = ie[S] = ie[N] = ie[Y] = ie[H] = ie[u] = ie[m] = ie[g] = ie[A] = ie[b] = ie[y] = ie[P] = ie[z] = ie[Q] = ie[R] = ie[q] = !0, ie[c] = ie[d] = ie[D] = !1;
18533
+ var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", g = "[object Object]", v = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", D = "[object WeakMap]", x = "[object ArrayBuffer]", I = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", N = "[object Int8Array]", Y = "[object Int16Array]", H = "[object Int32Array]", z = "[object Uint8Array]", Q = "[object Uint8ClampedArray]", R = "[object Uint16Array]", q = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
18534
+ ie[s] = ie[r] = ie[x] = ie[I] = ie[a] = ie[l] = ie[T] = ie[S] = ie[N] = ie[Y] = ie[H] = ie[u] = ie[m] = ie[g] = ie[A] = ie[b] = ie[y] = ie[P] = ie[z] = ie[Q] = ie[R] = ie[q] = !0, ie[c] = ie[d] = ie[D] = !1;
18535
18535
  var Ae = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, we = typeof self == "object" && self && self.Object === Object && self, ge = Ae || we || Function("return this")(), ze = t && !t.nodeType && t, ve = ze && !0 && i && !i.nodeType && i, He = ve && ve.exports === ze;
18536
18536
  function ue(p, C) {
18537
18537
  return p.set(C[0], C[1]), p;
@@ -18578,7 +18578,7 @@ var Bo = ky, rs = {}, xy = {
18578
18578
  M[++C] = [Ce, W];
18579
18579
  }), M;
18580
18580
  }
18581
- function Ee(p, C) {
18581
+ function Ie(p, C) {
18582
18582
  return function(M) {
18583
18583
  return p(C(M));
18584
18584
  };
@@ -18592,9 +18592,9 @@ var Bo = ky, rs = {}, xy = {
18592
18592
  var ht = Array.prototype, Ht = Function.prototype, pt = Object.prototype, gt = ge["__core-js_shared__"], je = function() {
18593
18593
  var p = /[^.]+$/.exec(gt && gt.keys && gt.keys.IE_PROTO || "");
18594
18594
  return p ? "Symbol(src)_1." + p : "";
18595
- }(), Oe = Ht.toString, Fe = pt.hasOwnProperty, It = pt.toString, wi = RegExp(
18595
+ }(), Oe = Ht.toString, Fe = pt.hasOwnProperty, Et = pt.toString, wi = RegExp(
18596
18596
  "^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
18597
- ), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ee(Object.getPrototypeOf, Object), Tn = Object.create, zn = pt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ee(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), Et = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ii = lt(_n), vn = lt(pn), Ei = lt(Et), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
18597
+ ), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ie(Object.getPrototypeOf, Object), Tn = Object.create, zn = pt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ie(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), It = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ei = lt(_n), vn = lt(pn), Ii = lt(It), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
18598
18598
  function Gt(p) {
18599
18599
  var C = -1, M = p ? p.length : 0;
18600
18600
  for (this.clear(); ++C < M; ) {
@@ -18769,7 +18769,7 @@ var Bo = ky, rs = {}, xy = {
18769
18769
  return Ti(p) ? W : me(W, M(p));
18770
18770
  }
18771
18771
  function Us(p) {
18772
- return It.call(p);
18772
+ return Et.call(p);
18773
18773
  }
18774
18774
  function qs(p) {
18775
18775
  if (!_t(p) || ar(p))
@@ -18846,16 +18846,16 @@ var Bo = ky, rs = {}, xy = {
18846
18846
  var M = ke(p, C);
18847
18847
  return qs(M) ? M : void 0;
18848
18848
  }
18849
- var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
18850
- (_n && Nt(new _n(new ArrayBuffer(1))) != E || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != v || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != D) && (Nt = function(p) {
18851
- var C = It.call(p), M = C == g ? p.constructor : void 0, W = M ? lt(M) : void 0;
18849
+ var Wt = Ci ? Ie(Ci, Object) : cr, Nt = Us;
18850
+ (_n && Nt(new _n(new ArrayBuffer(1))) != I || pn && Nt(new pn()) != u || It && Nt(It.resolve()) != v || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != D) && (Nt = function(p) {
18851
+ var C = Et.call(p), M = C == g ? p.constructor : void 0, W = M ? lt(M) : void 0;
18852
18852
  if (W)
18853
18853
  switch (W) {
18854
- case Ii:
18855
- return E;
18854
+ case Ei:
18855
+ return I;
18856
18856
  case vn:
18857
18857
  return u;
18858
- case Ei:
18858
+ case Ii:
18859
18859
  return v;
18860
18860
  case ki:
18861
18861
  return b;
@@ -18879,7 +18879,7 @@ var Bo = ky, rs = {}, xy = {
18879
18879
  case a:
18880
18880
  case l:
18881
18881
  return new Ce(+p);
18882
- case E:
18882
+ case I:
18883
18883
  return An(p, W);
18884
18884
  case T:
18885
18885
  case S:
@@ -18938,7 +18938,7 @@ var Bo = ky, rs = {}, xy = {
18938
18938
  return p === C || p !== p && C !== C;
18939
18939
  }
18940
18940
  function Qn(p) {
18941
- return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") || It.call(p) == s);
18941
+ return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") || Et.call(p) == s);
18942
18942
  }
18943
18943
  var Ti = Array.isArray;
18944
18944
  function Hn(p) {
@@ -18949,7 +18949,7 @@ var Bo = ky, rs = {}, xy = {
18949
18949
  }
18950
18950
  var bo = jn || dr;
18951
18951
  function zi(p) {
18952
- var C = _t(p) ? It.call(p) : "";
18952
+ var C = _t(p) ? Et.call(p) : "";
18953
18953
  return C == d || C == h;
18954
18954
  }
18955
18955
  function yo(p) {
@@ -18983,8 +18983,8 @@ var as = {}, Sy = {
18983
18983
  }
18984
18984
  };
18985
18985
  (function(i, t) {
18986
- var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", D = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", T = "[object String]", S = "[object Symbol]", N = "[object Undefined]", Y = "[object WeakMap]", H = "[object ArrayBuffer]", z = "[object DataView]", Q = "[object Float32Array]", R = "[object Float64Array]", q = "[object Int8Array]", U = "[object Int16Array]", X = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
18987
- ve[Q] = ve[R] = ve[q] = ve[U] = ve[X] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[H] = ve[d] = ve[z] = ve[h] = ve[u] = ve[m] = ve[v] = ve[A] = ve[y] = ve[x] = ve[E] = ve[T] = ve[Y] = !1;
18986
+ var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", D = "[object Proxy]", x = "[object RegExp]", I = "[object Set]", T = "[object String]", S = "[object Symbol]", N = "[object Undefined]", Y = "[object WeakMap]", H = "[object ArrayBuffer]", z = "[object DataView]", Q = "[object Float32Array]", R = "[object Float64Array]", q = "[object Int8Array]", U = "[object Int16Array]", X = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
18987
+ ve[Q] = ve[R] = ve[q] = ve[U] = ve[X] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[H] = ve[d] = ve[z] = ve[h] = ve[u] = ve[m] = ve[v] = ve[A] = ve[y] = ve[x] = ve[I] = ve[T] = ve[Y] = !1;
18988
18988
  var He = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, ue = typeof self == "object" && self && self.Object === Object && self, be = He || ue || Function("return this")(), Me = t && !t.nodeType && t, me = Me && !0 && i && !i.nodeType && i, Ye = me && me.exports === Me, at = Ye && He.process, ke = function() {
18989
18989
  try {
18990
18990
  return at && at.binding && at.binding("util");
@@ -18998,7 +18998,7 @@ var as = {}, Sy = {
18998
18998
  }
18999
18999
  return pe;
19000
19000
  }
19001
- function Ee(p, C) {
19001
+ function Ie(p, C) {
19002
19002
  for (var M = -1, W = C.length, Ce = p.length; ++M < W; )
19003
19003
  p[Ce + M] = C[M];
19004
19004
  return p;
@@ -19042,12 +19042,12 @@ var as = {}, Sy = {
19042
19042
  M[++C] = W;
19043
19043
  }), M;
19044
19044
  }
19045
- var It = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
19045
+ var Et = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
19046
19046
  var p = /[^.]+$/.exec(Zt && Zt.keys && Zt.keys.IE_PROTO || "");
19047
19047
  return p ? "Symbol(src)_1." + p : "";
19048
19048
  }(), zn = Tt.toString, xs = RegExp(
19049
19049
  "^" + mn.call(ut).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
19050
- ), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn = It.splice, Et = jn ? jn.toStringTag : void 0, Vn = Object.getOwnPropertySymbols, Pi = Ci ? Ci.isBuffer : void 0, gn = Oe(Object.keys, Object), Ii = Wt(be, "DataView"), vn = Wt(be, "Map"), Ei = Wt(be, "Promise"), ki = Wt(be, "Set"), xi = Wt(be, "WeakMap"), Kt = Wt(Object, "create"), ho = lt(Ii), Gt = lt(vn), Ds = lt(Ei), Ss = lt(ki), Ms = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
19050
+ ), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn = Et.splice, It = jn ? jn.toStringTag : void 0, Vn = Object.getOwnPropertySymbols, Pi = Ci ? Ci.isBuffer : void 0, gn = Oe(Object.keys, Object), Ei = Wt(be, "DataView"), vn = Wt(be, "Map"), Ii = Wt(be, "Promise"), ki = Wt(be, "Set"), xi = Wt(be, "WeakMap"), Kt = Wt(Object, "create"), ho = lt(Ei), Gt = lt(vn), Ds = lt(Ii), Ss = lt(ki), Ms = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
19051
19051
  function Ue(p) {
19052
19052
  var C = -1, M = p == null ? 0 : p.length;
19053
19053
  for (this.clear(); ++C < M; ) {
@@ -19195,10 +19195,10 @@ var as = {}, Sy = {
19195
19195
  }
19196
19196
  function Mi(p, C, M) {
19197
19197
  var W = C(p);
19198
- return Qn(p) ? W : Ee(W, M(p));
19198
+ return Qn(p) ? W : Ie(W, M(p));
19199
19199
  }
19200
19200
  function An(p) {
19201
- return p == null ? p === void 0 ? N : b : Et && Et in Object(p) ? Nt(p) : go(p);
19201
+ return p == null ? p === void 0 ? N : b : It && It in Object(p) ? Nt(p) : go(p);
19202
19202
  }
19203
19203
  function mo(p) {
19204
19204
  return _t(p) && An(p) == a;
@@ -19295,7 +19295,7 @@ var as = {}, Sy = {
19295
19295
  return p == C + "";
19296
19296
  case v:
19297
19297
  var De = je;
19298
- case E:
19298
+ case I:
19299
19299
  var Ge = W & o;
19300
19300
  if (De || (De = Fe), p.size != C.size && !Ge)
19301
19301
  return !1;
@@ -19354,21 +19354,21 @@ var as = {}, Sy = {
19354
19354
  return Ks(M) ? M : void 0;
19355
19355
  }
19356
19356
  function Nt(p) {
19357
- var C = ut.call(p, Et), M = p[Et];
19357
+ var C = ut.call(p, It), M = p[It];
19358
19358
  try {
19359
- p[Et] = void 0;
19359
+ p[It] = void 0;
19360
19360
  var W = !0;
19361
19361
  } catch (pe) {
19362
19362
  }
19363
19363
  var Ce = zn.call(p);
19364
- return W && (C ? p[Et] = M : delete p[Et]), Ce;
19364
+ return W && (C ? p[It] = M : delete p[It]), Ce;
19365
19365
  }
19366
19366
  var ir = Vn ? function(p) {
19367
19367
  return p == null ? [] : (p = Object(p), oe(Vn(p), function(C) {
19368
19368
  return _n.call(p, C);
19369
19369
  }));
19370
19370
  } : cr, jt = An;
19371
- (Ii && jt(new Ii(new ArrayBuffer(1))) != z || vn && jt(new vn()) != v || Ei && jt(Ei.resolve()) != P || ki && jt(new ki()) != E || xi && jt(new xi()) != Y) && (jt = function(p) {
19371
+ (Ei && jt(new Ei(new ArrayBuffer(1))) != z || vn && jt(new vn()) != v || Ii && jt(Ii.resolve()) != P || ki && jt(new ki()) != I || xi && jt(new xi()) != Y) && (jt = function(p) {
19372
19372
  var C = An(p), M = C == y ? p.constructor : void 0, W = M ? lt(M) : "";
19373
19373
  if (W)
19374
19374
  switch (W) {
@@ -19379,7 +19379,7 @@ var as = {}, Sy = {
19379
19379
  case Ds:
19380
19380
  return P;
19381
19381
  case Ss:
19382
- return E;
19382
+ return I;
19383
19383
  case Ms:
19384
19384
  return Y;
19385
19385
  }
@@ -20401,20 +20401,20 @@ function Zy(i) {
20401
20401
  }
20402
20402
  function Ky(i, t, e) {
20403
20403
  let { $$slots: n = {}, $$scope: o } = t, s = [], r, a, l = 0, c = 0, d = 1;
20404
- const [{ data: h, progressManager: u }, m, g] = Gy((oe, Ee) => {
20404
+ const [{ data: h, progressManager: u }, m, g] = Gy((oe, Ie) => {
20405
20405
  na({
20406
- currentPageIndex: () => e(5, r = Ee),
20407
- progressValue: () => e(7, a = Ee),
20408
- offset: () => e(8, l = Ee),
20409
- durationMs: () => e(9, c = Ee),
20410
- pagesCount: () => e(10, d = Ee),
20411
- loaded: () => e(6, s = Ee)
20406
+ currentPageIndex: () => e(5, r = Ie),
20407
+ progressValue: () => e(7, a = Ie),
20408
+ offset: () => e(8, l = Ie),
20409
+ durationMs: () => e(9, c = Ie),
20410
+ pagesCount: () => e(10, d = Ie),
20411
+ loaded: () => e(6, s = Ie)
20412
20412
  })(oe);
20413
20413
  }), v = ms();
20414
- let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: D = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: S = !1 } = t, { autoplayProgressVisible: N = !1 } = t, { dots: Y = !0 } = t, { swiping: H = !0 } = t, { particlesToShow: z = 1 } = t, { particlesToScroll: Q = 1 } = t;
20415
- function R(oe, Ee) {
20414
+ let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: D = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: S = !1 } = t, { autoplayProgressVisible: N = !1 } = t, { dots: Y = !0 } = t, { swiping: H = !0 } = t, { particlesToShow: z = 1 } = t, { particlesToScroll: Q = 1 } = t;
20415
+ function R(oe, Ie) {
20416
20416
  return F(this, null, function* () {
20417
- const Be = qi(Ee, "animated", !0);
20417
+ const Be = qi(Ie, "animated", !0);
20418
20418
  if (typeof oe != "number")
20419
20419
  throw new Error("pageIndex should be a number");
20420
20420
  yield m.showPage(oe, { animated: Be });
@@ -20422,14 +20422,14 @@ function Ky(i, t, e) {
20422
20422
  }
20423
20423
  function q(oe) {
20424
20424
  return F(this, null, function* () {
20425
- const Ee = qi(oe, "animated", !0);
20426
- yield m.showPrevPage({ animated: Ee });
20425
+ const Ie = qi(oe, "animated", !0);
20426
+ yield m.showPrevPage({ animated: Ie });
20427
20427
  });
20428
20428
  }
20429
20429
  function U(oe) {
20430
20430
  return F(this, null, function* () {
20431
- const Ee = qi(oe, "animated", !0);
20432
- yield m.showNextPage({ animated: Ee });
20431
+ const Ie = qi(oe, "animated", !0);
20432
+ yield m.showNextPage({ animated: Ie });
20433
20433
  });
20434
20434
  }
20435
20435
  let X = 0, J, re;
@@ -20440,7 +20440,7 @@ function Ky(i, t, e) {
20440
20440
  }), m.offsetPage({ animated: !1 });
20441
20441
  });
20442
20442
  function Ae() {
20443
- const { clonesToAppend: oe, clonesToPrepend: Ee } = D1({
20443
+ const { clonesToAppend: oe, clonesToPrepend: Ie } = D1({
20444
20444
  clonesCountHead: h.clonesCountHead,
20445
20445
  clonesCountTail: h.clonesCountTail,
20446
20446
  particlesContainerChildren: re.children
@@ -20448,7 +20448,7 @@ function Ky(i, t, e) {
20448
20448
  S1({
20449
20449
  particlesContainer: re,
20450
20450
  clonesToAppend: oe,
20451
- clonesToPrepend: Ee
20451
+ clonesToPrepend: Ie
20452
20452
  });
20453
20453
  }
20454
20454
  Mt(() => {
@@ -20507,14 +20507,14 @@ function Ky(i, t, e) {
20507
20507
  }
20508
20508
  const Ke = (oe) => we(oe.detail);
20509
20509
  return i.$$set = (oe) => {
20510
- "timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, D = oe.duration), "autoplay" in oe && e(26, x = oe.autoplay), "autoplayDuration" in oe && e(27, E = oe.autoplayDuration), "autoplayDirection" in oe && e(28, T = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, S = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, N = oe.autoplayProgressVisible), "dots" in oe && e(4, Y = oe.dots), "swiping" in oe && e(30, H = oe.swiping), "particlesToShow" in oe && e(31, z = oe.particlesToShow), "particlesToScroll" in oe && e(32, Q = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
20510
+ "timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, D = oe.duration), "autoplay" in oe && e(26, x = oe.autoplay), "autoplayDuration" in oe && e(27, I = oe.autoplayDuration), "autoplayDirection" in oe && e(28, T = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, S = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, N = oe.autoplayProgressVisible), "dots" in oe && e(4, Y = oe.dots), "swiping" in oe && e(30, H = oe.swiping), "particlesToShow" in oe && e(31, z = oe.particlesToShow), "particlesToScroll" in oe && e(32, Q = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
20511
20511
  }, i.$$.update = () => {
20512
20512
  i.$$.dirty[0] & /*currentPageIndex*/
20513
20513
  32 && v("pageChange", r), i.$$.dirty[0] & /*infinite*/
20514
20514
  4 && (h.infinite = y), i.$$.dirty[0] & /*duration*/
20515
20515
  33554432 && (h.durationMsInit = D), i.$$.dirty[0] & /*autoplay*/
20516
20516
  67108864 && (h.autoplay = x), i.$$.dirty[0] & /*autoplayDuration*/
20517
- 134217728 && (h.autoplayDuration = E), i.$$.dirty[0] & /*autoplayDirection*/
20517
+ 134217728 && (h.autoplayDuration = I), i.$$.dirty[0] & /*autoplayDirection*/
20518
20518
  268435456 && (h.autoplayDirection = T), i.$$.dirty[0] & /*pauseOnFocus*/
20519
20519
  536870912 && (h.pauseOnFocus = S), i.$$.dirty[1] & /*particlesToShow*/
20520
20520
  1 && (h.particlesToShowInit = z), i.$$.dirty[1] & /*particlesToScroll*/
@@ -20547,7 +20547,7 @@ function Ky(i, t, e) {
20547
20547
  P,
20548
20548
  D,
20549
20549
  x,
20550
- E,
20550
+ I,
20551
20551
  T,
20552
20552
  S,
20553
20553
  H,
@@ -20857,7 +20857,7 @@ function sw(i) {
20857
20857
  );
20858
20858
  return {
20859
20859
  c() {
20860
- e && e.c(), t = Ie();
20860
+ e && e.c(), t = Ee();
20861
20861
  },
20862
20862
  m(n, o) {
20863
20863
  e && e.m(n, o), O(n, t, o);
@@ -20907,7 +20907,7 @@ function rw(i, t, e) {
20907
20907
  tag: r,
20908
20908
  mediaInstance: n
20909
20909
  });
20910
- }, E = (H) => {
20910
+ }, I = (H) => {
20911
20911
  e(10, m = !0), e(0, s.paused = !0, s), b.emit("playStateChange", {
20912
20912
  event: H,
20913
20913
  state: "paused",
@@ -20955,7 +20955,7 @@ function rw(i, t, e) {
20955
20955
  P,
20956
20956
  D,
20957
20957
  x,
20958
- E,
20958
+ I,
20959
20959
  T,
20960
20960
  S,
20961
20961
  N,
@@ -21274,7 +21274,7 @@ function dw(i) {
21274
21274
  c() {
21275
21275
  for (let r = 0; r < o.length; r += 1)
21276
21276
  o[r].c();
21277
- t = Ie();
21277
+ t = Ee();
21278
21278
  },
21279
21279
  m(r, a) {
21280
21280
  for (let l = 0; l < o.length; l += 1)
@@ -21321,7 +21321,7 @@ function hw(i) {
21321
21321
  );
21322
21322
  return {
21323
21323
  c() {
21324
- n && n.c(), t = Ie();
21324
+ n && n.c(), t = Ee();
21325
21325
  },
21326
21326
  m(o, s) {
21327
21327
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -21350,7 +21350,7 @@ function uw(i, t, e) {
21350
21350
  autoplayCarousel: !0,
21351
21351
  autoplayVideoInCarousel: !1
21352
21352
  } } = t, b = [], y = 0, P, D = null;
21353
- const x = an("hooks"), E = an("mediaStore");
21353
+ const x = an("hooks"), I = an("mediaStore");
21354
21354
  function T() {
21355
21355
  const z = b[y], Q = z == null ? void 0 : z.videoInstance;
21356
21356
  Q && (Q.paused ? (Q.muted = !1, Q.play()) : Q.pause());
@@ -21377,7 +21377,7 @@ function uw(i, t, e) {
21377
21377
  });
21378
21378
  }
21379
21379
  const Y = (z) => {
21380
- n || E.set({ currentMediaElement: null }), e(11, y = z.detail);
21380
+ n || I.set({ currentMediaElement: null }), e(11, y = z.detail);
21381
21381
  };
21382
21382
  function H(z) {
21383
21383
  i.$$.not_equal(b[0], z) && (b[0] = z, e(8, b));
@@ -21405,7 +21405,7 @@ function uw(i, t, e) {
21405
21405
  y,
21406
21406
  P,
21407
21407
  o,
21408
- E,
21408
+ I,
21409
21409
  v,
21410
21410
  A,
21411
21411
  S,
@@ -21473,7 +21473,7 @@ function Uc(i) {
21473
21473
  );
21474
21474
  return {
21475
21475
  c() {
21476
- ne(t.$$.fragment), e = se(), n = V("div"), ne(o.$$.fragment), s = se(), c && c.c(), r = se(), d && d.c(), a = Ie(), w(n, "class", "line svelte-1f7m1lj");
21476
+ ne(t.$$.fragment), e = se(), n = V("div"), ne(o.$$.fragment), s = se(), c && c.c(), r = se(), d && d.c(), a = Ee(), w(n, "class", "line svelte-1f7m1lj");
21477
21477
  },
21478
21478
  m(h, u) {
21479
21479
  ee(t, h, u), O(h, e, u), O(h, n, u), ee(o, n, null), O(h, s, u), c && c.m(h, u), O(h, r, u), d && d.m(h, u), O(h, a, u), l = !0;
@@ -21608,7 +21608,7 @@ function mw(i) {
21608
21608
  );
21609
21609
  return {
21610
21610
  c() {
21611
- n && n.c(), t = Ie();
21611
+ n && n.c(), t = Ee();
21612
21612
  },
21613
21613
  m(o, s) {
21614
21614
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -21950,57 +21950,57 @@ function Aw(i) {
21950
21950
  i[8]
21951
21951
  );
21952
21952
  },
21953
- m(E, T) {
21954
- O(E, t, T), ee(e, t, null), B(t, n), B(t, o), B(t, s), B(t, r), b && b.m(r, null), B(r, a), B(r, l), B(l, c), B(c, d), B(d, u), B(r, m), y && y.m(r, null), B(r, g), P && P.m(r, null), A = !0;
21953
+ m(I, T) {
21954
+ O(I, t, T), ee(e, t, null), B(t, n), B(t, o), B(t, s), B(t, r), b && b.m(r, null), B(r, a), B(r, l), B(l, c), B(c, d), B(d, u), B(r, m), y && y.m(r, null), B(r, g), P && P.m(r, null), A = !0;
21955
21955
  },
21956
- p(E, [T]) {
21956
+ p(I, [T]) {
21957
21957
  var N, Y;
21958
21958
  const S = {};
21959
21959
  T & /*unfolded*/
21960
21960
  16 && (S.visible = /*unfolded*/
21961
- E[4]), e.$set(S), T & /*unfolded*/
21961
+ I[4]), e.$set(S), T & /*unfolded*/
21962
21962
  16 && j(
21963
21963
  o,
21964
21964
  "transition-delay",
21965
21965
  /*unfolded*/
21966
- E[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
21966
+ I[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
21967
21967
  ), /*data*/
21968
- E[3].headerPictureUrl ? b ? b.p(E, T) : (b = $c(E), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || T & /*data*/
21968
+ I[3].headerPictureUrl ? b ? b.p(I, T) : (b = $c(I), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || T & /*data*/
21969
21969
  8) && h !== (h = /*data*/
21970
- E[3].title + "") && Re(u, h), /*primaryTags*/
21971
- ((N = E[2].length) != null ? N : 0) + /*secondaryTags*/
21972
- ((Y = E[5].length) != null ? Y : 0) > 0 ? y ? y.p(E, T) : (y = ed(E), y.c(), y.m(r, g)) : y && (y.d(1), y = null), /*havePrice*/
21973
- E[7] || /*data*/
21974
- E[3].highlightText ? P ? P.p(E, T) : (P = id(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), T & /*unfolded*/
21970
+ I[3].title + "") && Re(u, h), /*primaryTags*/
21971
+ ((N = I[2].length) != null ? N : 0) + /*secondaryTags*/
21972
+ ((Y = I[5].length) != null ? Y : 0) > 0 ? y ? y.p(I, T) : (y = ed(I), y.c(), y.m(r, g)) : y && (y.d(1), y = null), /*havePrice*/
21973
+ I[7] || /*data*/
21974
+ I[3].highlightText ? P ? P.p(I, T) : (P = id(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), T & /*unfolded*/
21975
21975
  16 && j(
21976
21976
  r,
21977
21977
  "transition-delay",
21978
21978
  /*unfolded*/
21979
- E[4] ? Ro + Qo + "ms" : "0ms"
21979
+ I[4] ? Ro + Qo + "ms" : "0ms"
21980
21980
  ), (!A || T & /*theme*/
21981
21981
  64 && v !== (v = _e(`marketing ${/*theme*/
21982
- E[6]}`) + " svelte-sezqcq")) && w(t, "class", v), (!A || T & /*theme, unfolded*/
21982
+ I[6]}`) + " svelte-sezqcq")) && w(t, "class", v), (!A || T & /*theme, unfolded*/
21983
21983
  80) && K(
21984
21984
  t,
21985
21985
  "unfolded",
21986
21986
  /*unfolded*/
21987
- E[4]
21987
+ I[4]
21988
21988
  ), (!A || T & /*theme, folded*/
21989
21989
  320) && K(
21990
21990
  t,
21991
21991
  "folded",
21992
21992
  /*folded*/
21993
- E[8]
21993
+ I[8]
21994
21994
  );
21995
21995
  },
21996
- i(E) {
21997
- A || (k(e.$$.fragment, E), A = !0);
21996
+ i(I) {
21997
+ A || (k(e.$$.fragment, I), A = !0);
21998
21998
  },
21999
- o(E) {
22000
- L(e.$$.fragment, E), A = !1;
21999
+ o(I) {
22000
+ L(e.$$.fragment, I), A = !1;
22001
22001
  },
22002
- d(E) {
22003
- E && _(t), te(e), b && b.d(), y && y.d(), P && P.d();
22002
+ d(I) {
22003
+ I && _(t), te(e), b && b.d(), y && y.d(), P && P.d();
22004
22004
  }
22005
22005
  };
22006
22006
  }
@@ -22073,7 +22073,7 @@ class ww extends Audio {
22073
22073
  var n, o, s;
22074
22074
  if (this.tryplaying)
22075
22075
  return;
22076
- this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = VA(this.sharedAudioSrc, { namespace: Ia.PlayAudio })), (o = this.eventListenerDisposer) == null || o.call(this), this.eventListenerDisposer = this.addEventListeners(), this.audioInstance.currentTime = (s = this.currentTime) != null ? s : 0;
22076
+ this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = VA(this.sharedAudioSrc, { namespace: Ea.PlayAudio })), (o = this.eventListenerDisposer) == null || o.call(this), this.eventListenerDisposer = this.addEventListeners(), this.audioInstance.currentTime = (s = this.currentTime) != null ? s : 0;
22077
22077
  const e = this.audioInstance.currentTime !== this.currentTime;
22078
22078
  this.audioInstance.play().then(() => {
22079
22079
  var r;
@@ -22211,7 +22211,7 @@ function Pw(i) {
22211
22211
  }
22212
22212
  };
22213
22213
  }
22214
- function Iw(i, t, e) {
22214
+ function Ew(i, t, e) {
22215
22215
  let { $$slots: n = {}, $$scope: o } = t, { url: s } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
22216
22216
  const c = ms(), d = an("hooks"), h = an("mediaStore");
22217
22217
  let u, m = !0;
@@ -22295,7 +22295,7 @@ let hu = class extends ce {
22295
22295
  super(), le(
22296
22296
  this,
22297
22297
  t,
22298
- Iw,
22298
+ Ew,
22299
22299
  Pw,
22300
22300
  ae,
22301
22301
  {
@@ -22308,7 +22308,7 @@ let hu = class extends ce {
22308
22308
  );
22309
22309
  }
22310
22310
  };
22311
- function Ew(i) {
22311
+ function Iw(i) {
22312
22312
  fe(i, "svelte-srt2pi", ".audio-icon__wrapper.svelte-srt2pi.svelte-srt2pi{display:inline-block}.audio-icon.svelte-srt2pi.svelte-srt2pi{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;border-radius:50%;background-color:rgba(255, 255, 255, 0.8)}.audio-icon.svelte-srt2pi .sound-wave__container.svelte-srt2pi{position:absolute;pointer-events:none;width:60%;height:60%}.sound-wave.svelte-srt2pi.svelte-srt2pi{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-srt2pi .sound-wave.svelte-srt2pi{animation-play-state:running}.playing.svelte-srt2pi .sound-wave-1.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_1_animation}.playing.svelte-srt2pi .sound-wave-2.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_2_animation}.playing.svelte-srt2pi .sound-wave-3.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_3_animation}@keyframes svelte-srt2pi-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
22313
22313
  }
22314
22314
  function cd(i) {
@@ -22457,7 +22457,7 @@ class uu extends ce {
22457
22457
  style: 2,
22458
22458
  width: 6
22459
22459
  },
22460
- Ew
22460
+ Iw
22461
22461
  );
22462
22462
  }
22463
22463
  }
@@ -22502,7 +22502,7 @@ function dd(i) {
22502
22502
  i[5]
22503
22503
  )
22504
22504
  }
22505
- }), h = new Ea({
22505
+ }), h = new Ia({
22506
22506
  props: {
22507
22507
  unfolded: (
22508
22508
  /*unfolded*/
@@ -22568,18 +22568,18 @@ function dd(i) {
22568
22568
  y[1]), P & /*content*/
22569
22569
  32 && (x.content = /*content*/
22570
22570
  y[5]), c.$set(x);
22571
- const E = {};
22571
+ const I = {};
22572
22572
  P & /*unfolded*/
22573
- 64 && (E.unfolded = /*unfolded*/
22573
+ 64 && (I.unfolded = /*unfolded*/
22574
22574
  y[6]), P & /*contentWidth*/
22575
- 8 && (E.length = /*contentWidth*/
22575
+ 8 && (I.length = /*contentWidth*/
22576
22576
  y[3]), P & /*foldTextDelay, content*/
22577
- 48 && (E.outDelay = /*foldTextDelay*/
22577
+ 48 && (I.outDelay = /*foldTextDelay*/
22578
22578
  y[4] + 20 * Math.min(
22579
22579
  /*content*/
22580
22580
  (S = (T = y[5]) == null ? void 0 : T.length) != null ? S : 10,
22581
22581
  15
22582
- )), h.$set(E), (!u || P & /*unfolded*/
22582
+ )), h.$set(I), (!u || P & /*unfolded*/
22583
22583
  64) && K(
22584
22584
  t,
22585
22585
  "unfolded",
@@ -22662,7 +22662,7 @@ function hd(i) {
22662
22662
  },
22663
22663
  i(l) {
22664
22664
  a || (k(e.$$.fragment, l), k(o.$$.fragment, l), l && ot(() => {
22665
- a && (r && r.end(1), s = Sn(t, En, {
22665
+ a && (r && r.end(1), s = Sn(t, In, {
22666
22666
  duration: 1e3,
22667
22667
  delay: 0,
22668
22668
  easing: si
@@ -22671,7 +22671,7 @@ function hd(i) {
22671
22671
  },
22672
22672
  o(l) {
22673
22673
  var c, d;
22674
- L(e.$$.fragment, l), L(o.$$.fragment, l), s && s.invalidate(), l && (r = vi(t, En, {
22674
+ L(e.$$.fragment, l), L(o.$$.fragment, l), s && s.invalidate(), l && (r = vi(t, In, {
22675
22675
  duration: 1e3,
22676
22676
  delay: 20 * Math.min(
22677
22677
  /*content*/
@@ -22722,7 +22722,7 @@ function Mw(i) {
22722
22722
  );
22723
22723
  return {
22724
22724
  c() {
22725
- n && n.c(), t = Ie();
22725
+ n && n.c(), t = Ee();
22726
22726
  },
22727
22727
  m(o, s) {
22728
22728
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -22962,7 +22962,7 @@ function Vw(i) {
22962
22962
  );
22963
22963
  return {
22964
22964
  c() {
22965
- n && n.c(), t = Ie();
22965
+ n && n.c(), t = Ee();
22966
22966
  },
22967
22967
  m(o, s) {
22968
22968
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -23119,7 +23119,7 @@ function Hw(i) {
23119
23119
  }
23120
23120
  return ~(t = a(i)) && (e = r[t] = s[t](i)), {
23121
23121
  c() {
23122
- e && e.c(), n = Ie();
23122
+ e && e.c(), n = Ee();
23123
23123
  },
23124
23124
  m(l, c) {
23125
23125
  ~t && r[t].m(l, c), O(l, n, c), o = !0;
@@ -23257,7 +23257,7 @@ function Fw(i) {
23257
23257
  );
23258
23258
  return {
23259
23259
  c() {
23260
- n && n.c(), t = Ie();
23260
+ n && n.c(), t = Ee();
23261
23261
  },
23262
23262
  m(o, s) {
23263
23263
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -23449,7 +23449,7 @@ function Zw(i) {
23449
23449
  n
23450
23450
  ), {
23451
23451
  c() {
23452
- t = Ie(), n.block.c();
23452
+ t = Ee(), n.block.c();
23453
23453
  },
23454
23454
  m(o, s) {
23455
23455
  O(o, t, s), n.block.m(o, n.anchor = s), n.mount = () => t.parentNode, n.anchor = t;
@@ -23507,7 +23507,7 @@ function Kw(i) {
23507
23507
  n
23508
23508
  ), {
23509
23509
  c() {
23510
- t = Ie(), n.block.c();
23510
+ t = Ee(), n.block.c();
23511
23511
  },
23512
23512
  m(o, s) {
23513
23513
  O(o, t, s), n.block.m(o, n.anchor = s), n.mount = () => t.parentNode, n.anchor = t;
@@ -23711,7 +23711,7 @@ function sC(i) {
23711
23711
  );
23712
23712
  return {
23713
23713
  c() {
23714
- n && n.c(), t = Ie();
23714
+ n && n.c(), t = Ee();
23715
23715
  },
23716
23716
  m(o, s) {
23717
23717
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -23921,7 +23921,7 @@ function bd(i) {
23921
23921
  ), n;
23922
23922
  return {
23923
23923
  c() {
23924
- t = new Yo(!1), n = Ie(), t.a = n;
23924
+ t = new Yo(!1), n = Ee(), t.a = n;
23925
23925
  },
23926
23926
  m(o, s) {
23927
23927
  t.m(e, o, s), O(o, n, s);
@@ -24014,7 +24014,7 @@ function gC(i) {
24014
24014
  function vC(i) {
24015
24015
  let t, e, n, o, s, r, a, l, c, d;
24016
24016
  const h = [
24017
- IC,
24017
+ EC,
24018
24018
  PC,
24019
24019
  CC,
24020
24020
  wC,
@@ -24407,7 +24407,7 @@ function PC(i) {
24407
24407
  }
24408
24408
  };
24409
24409
  }
24410
- function IC(i) {
24410
+ function EC(i) {
24411
24411
  let t, e;
24412
24412
  return t = new _b({
24413
24413
  props: { tag: Qe(
@@ -24440,7 +24440,7 @@ function IC(i) {
24440
24440
  }
24441
24441
  };
24442
24442
  }
24443
- function EC(i) {
24443
+ function IC(i) {
24444
24444
  let t, e, n, o;
24445
24445
  const s = [AC, vC, gC], r = [];
24446
24446
  function a(l, c) {
@@ -24454,7 +24454,7 @@ function EC(i) {
24454
24454
  }
24455
24455
  return t = a(i), e = r[t] = s[t](i), {
24456
24456
  c() {
24457
- e.c(), n = Ie();
24457
+ e.c(), n = Ee();
24458
24458
  },
24459
24459
  m(l, c) {
24460
24460
  r[t].m(l, c), O(l, n, c), o = !0;
@@ -24483,18 +24483,18 @@ function kC(i, t, e) {
24483
24483
  function b(x) {
24484
24484
  x ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
24485
24485
  }
24486
- function y(x, E, T) {
24486
+ function y(x, I, T) {
24487
24487
  var S, N;
24488
- return !(!E.visible || !E.enabled || !T.visible || !((S = x.state) != null && S.visible) || ((N = x.temporaryState) == null ? void 0 : N.visible) === !1 || bt(x) && !x.mediaVisible);
24488
+ return !(!I.visible || !I.enabled || !T.visible || !((S = x.state) != null && S.visible) || ((N = x.temporaryState) == null ? void 0 : N.visible) === !1 || bt(x) && !x.mediaVisible);
24489
24489
  }
24490
24490
  const P = (x) => h.emit("click", { event: x, target: "TagContent", tag: d }), D = (x) => h.emit("click", { event: x, target: "TagContent", tag: d });
24491
24491
  return i.$$set = (x) => {
24492
24492
  "withAnimation" in x && e(0, c = x.withAnimation), "tag" in x && e(1, d = x.tag), "hooks" in x && e(2, h = x.hooks), "state" in x && e(5, u = x.state), "mediaStore" in x && e(6, m = x.mediaStore), "temporaryState" in x && e(7, g = x.temporaryState);
24493
24493
  }, i.$$.update = () => {
24494
- var x, E, T, S, N, Y, H, z, Q, R, q;
24494
+ var x, I, T, S, N, Y, H, z, Q, R, q;
24495
24495
  i.$$.dirty & /*tag*/
24496
24496
  2 && e(11, n = (x = d.state) == null ? void 0 : x.unfolded), i.$$.dirty & /*tag*/
24497
- 2 && e(10, o = (E = d.state) == null ? void 0 : E.visible), i.$$.dirty & /*state, temporaryState, tag*/
24497
+ 2 && e(10, o = (I = d.state) == null ? void 0 : I.visible), i.$$.dirty & /*state, temporaryState, tag*/
24498
24498
  162 && e(12, s = u.visible && g.visible && ((T = d.state) == null ? void 0 : T.visible)), i.$$.dirty & /*tag*/
24499
24499
  2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
24500
24500
  162 && e(4, a = !y(d, u, g)), i.$$.dirty & /*isVisible*/
@@ -24525,7 +24525,7 @@ let pu = class extends ce {
24525
24525
  this,
24526
24526
  t,
24527
24527
  kC,
24528
- EC,
24528
+ IC,
24529
24529
  ae,
24530
24530
  {
24531
24531
  withAnimation: 0,
@@ -24680,8 +24680,8 @@ function SC(i, t, e) {
24680
24680
  1 && e(3, o = !n), i.$$.dirty & /*tag*/
24681
24681
  64 && e(2, s = (b = (A = l.style) == null ? void 0 : A.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: FA }), i.$$.dirty & /*tag*/
24682
24682
  64 && e(1, r = (() => {
24683
- var x, E, T, S;
24684
- const P = (E = (x = l.style) == null ? void 0 : x.point) == null ? void 0 : E.width;
24683
+ var x, I, T, S;
24684
+ const P = (I = (x = l.style) == null ? void 0 : x.point) == null ? void 0 : I.width;
24685
24685
  if (typeof P == "number")
24686
24686
  return P;
24687
24687
  const D = (S = (T = l.style) == null ? void 0 : T.point) == null ? void 0 : S.size;
@@ -25016,7 +25016,7 @@ function OC(i, t, e) {
25016
25016
  return i.$$set = (y) => {
25017
25017
  "withAnimation" in y && e(0, u = y.withAnimation), "tag" in y && e(1, m = y.tag), "mediaStore" in y && e(2, g = y.mediaStore), "state" in y && e(3, v = y.state), "temporaryState" in y && e(4, A = y.temporaryState);
25018
25018
  }, i.$$.update = () => {
25019
- var y, P, D, x, E, T, S, N;
25019
+ var y, P, D, x, I, T, S, N;
25020
25020
  i.$$.dirty & /*tag*/
25021
25021
  2 && e(13, n = (() => {
25022
25022
  var Y, H;
@@ -25026,7 +25026,7 @@ function OC(i, t, e) {
25026
25026
  2 && e(11, s = m.id), i.$$.dirty & /*tag*/
25027
25027
  2 && e(10, r = !((y = m.pointTagStyle) != null && y.leftPercent) || !((P = m.pointTagStyle) != null && P.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
25028
25028
  2 && e(9, a = !((D = m.state) != null && D.visible) || ((x = m.temporaryState) == null ? void 0 : x.visible) === !1), i.$$.dirty & /*tag*/
25029
- 2 && e(8, l = (E = m.state) == null ? void 0 : E.unfolded), i.$$.dirty & /*tag*/
25029
+ 2 && e(8, l = (I = m.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
25030
25030
  2 && e(7, c = ((T = m.pointTagStyle) == null ? void 0 : T.leftPercent) + "%"), i.$$.dirty & /*tag*/
25031
25031
  2 && e(6, d = ((S = m.pointTagStyle) == null ? void 0 : S.topPercent) + "%"), i.$$.dirty & /*tag*/
25032
25032
  2 && e(5, h = (N = m.state) != null && N.unfolded ? 1 : 0);
@@ -25169,7 +25169,7 @@ function Cd(i, t) {
25169
25169
  key: i,
25170
25170
  first: null,
25171
25171
  c() {
25172
- e = Ie(), ne(n.$$.fragment), this.first = e;
25172
+ e = Ee(), ne(n.$$.fragment), this.first = e;
25173
25173
  },
25174
25174
  m(s, r) {
25175
25175
  O(s, e, r), ee(n, s, r), o = !0;
@@ -25207,7 +25207,7 @@ function QC(i) {
25207
25207
  );
25208
25208
  return {
25209
25209
  c() {
25210
- n && n.c(), t = Ie();
25210
+ n && n.c(), t = Ee();
25211
25211
  },
25212
25212
  m(o, s) {
25213
25213
  n && n.m(o, s), O(o, t, s), e = !0;
@@ -25289,7 +25289,13 @@ class YC extends JA {
25289
25289
  return;
25290
25290
  const o = NC(n).then((l) => {
25291
25291
  var h, u, m, g, v;
25292
- const c = Object.assign(l.scene, { customID: e.id, isTagModel: !0 });
25292
+ const c = Object.assign(l.scene, {
25293
+ customID: e.id,
25294
+ isTagModel: !0,
25295
+ removeEventListener: this.addObjectClickHandler(e, l.scene, (A) => {
25296
+ this.hooks.emit("click", { target: "TagModel", tag: e, event: A });
25297
+ })
25298
+ });
25293
25299
  return c.visible = this.getCurrentVisibleState(e), new Qi().fromArray(e.matrix).decompose(c.position, c.quaternion, c.scale), c.updateWorldMatrix(!0, !0), c.visible = this.getVisibleByFiveMode(e), (m = (u = (h = this.config) == null ? void 0 : h.globalConfig) == null ? void 0 : u.modelConfig) != null && m.autoLookAtEnabled && ((v = (g = e.config) == null ? void 0 : g.modelConfig) != null && v.autoLookAtEnabled) && c.lookAt(this.five.camera.position.clone().setY(c.position.y)), c;
25294
25300
  });
25295
25301
  e.model = { promise: o };
@@ -25298,7 +25304,7 @@ class YC extends JA {
25298
25304
  return;
25299
25305
  e.model.object = s;
25300
25306
  const r = this.gltfObjectGroup.children.find((l) => l.customID === e.id);
25301
- if (r && this.gltfObjectGroup.remove(r), this.updateRender3DDomTag(), bt(e)) {
25307
+ if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), bt(e)) {
25302
25308
  if (this.getRenderType(e) === "Mesh" && !e.mediaPlane) {
25303
25309
  const l = e.data.mediaPosition.map(St);
25304
25310
  e.mediaPlane = new cc(e.data.mediaData[0].url, e.data.mediaPosition.map(St), {
@@ -25434,13 +25440,13 @@ class YC extends JA {
25434
25440
  * FIXME: 有性能问题,但是之前的逻辑都是这么写,暂时先这样吧
25435
25441
  */
25436
25442
  updateRenderModelTag() {
25437
- const e = (o) => !this.enabledModelTagSet.has(o.customID);
25438
- this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter((o) => o.stickType === "Model").forEach((o) => {
25439
- var s;
25440
- (s = o.model) == null || s.promise.then((r) => {
25441
- r.visible = this.getCurrentVisibleState(o);
25443
+ const e = (s) => !this.enabledModelTagSet.has(s.customID), n = this.gltfObjectGroup.children.filter(e);
25444
+ n.forEach((s) => s.removeEventListener()), this.gltfObjectGroup.remove(...n), this.tags.filter((s) => s.stickType === "Model").forEach((s) => {
25445
+ var r;
25446
+ (r = s.model) == null || r.promise.then((a) => {
25447
+ a.visible = this.getCurrentVisibleState(s);
25442
25448
  });
25443
- });
25449
+ }), this.five.needsRender = !0;
25444
25450
  }
25445
25451
  updateTagModelVisible() {
25446
25452
  this.tags.forEach((e) => {
@@ -25523,7 +25529,7 @@ class YC extends JA {
25523
25529
  }
25524
25530
  }
25525
25531
  }
25526
- const gu = "Dnalogel-PanoTagPlugin", sE = (i) => `${gu}--${i}`;
25532
+ const gu = "Dnalogel-PanoTagPlugin", sI = (i) => `${gu}--${i}`;
25527
25533
  class ia extends YC {
25528
25534
  constructor(e, n) {
25529
25535
  super(e);
@@ -25551,7 +25557,7 @@ class ia extends YC {
25551
25557
  typeof n == "object" && ((o = n.visibleFiveMode) != null && o.includes("Floorplan") || (s = n.visibleFiveMode) != null && s.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
25552
25558
  }), this.updateRenderAllTags();
25553
25559
  });
25554
- this.params = Xe({}, { debug: !1, config: this.config }, G({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace: Ia.PlayAudio });
25560
+ this.params = Xe({}, { debug: !1, config: this.config }, G({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace: Ea.PlayAudio });
25555
25561
  try {
25556
25562
  const o = window;
25557
25563
  Array.isArray(o.__PANOTAGPLUGIN_DEBUG_LIST__) || (o.__PANOTAGPLUGIN_DEBUG_LIST__ = []), o.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), o.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -25571,7 +25577,7 @@ class ia extends YC {
25571
25577
  const o = yield this.addTag(e.tagList, n);
25572
25578
  if (this.debug)
25573
25579
  try {
25574
- EA(this.five, this.tags);
25580
+ IA(this.five, this.tags);
25575
25581
  } catch (a) {
25576
25582
  console.error(a);
25577
25583
  }
@@ -25850,7 +25856,7 @@ class ia extends YC {
25850
25856
  return (a = (r = s.config) == null ? void 0 : r.modelConfig) == null ? void 0 : a.autoLookAtEnabled;
25851
25857
  }).forEach((s) => {
25852
25858
  var u;
25853
- const r = new I.Mesh(new I.BoxGeometry(), new I.MeshBasicMaterial()), a = (u = s.model) == null ? void 0 : u.object;
25859
+ const r = new E.Mesh(new E.BoxGeometry(), new E.MeshBasicMaterial()), a = (u = s.model) == null ? void 0 : u.object;
25854
25860
  if (!a)
25855
25861
  return;
25856
25862
  r.position.copy(a.position), r.quaternion.copy(a.quaternion);
@@ -25879,7 +25885,7 @@ class ia extends YC {
25879
25885
  }
25880
25886
  }
25881
25887
  var UC = /* @__PURE__ */ ((i) => (i.Audio = "Audio", i.Text = "Text", i.ImageText = "ImageText", i.Image = "Image", i.Video = "Video", i.Link = "Link", i.Sticker = "Sticker", i.VRLink = "VRLink", i.PanoLink = "PanoLink", i.Marketing = "Marketing", i.MediaPlane = "MediaPlane", i.MediaModel = "MediaModel", i.Model = "Model", i.Custom = "Custom", i.Unknown = "Unknown", i))(UC || {}), qC = /* @__PURE__ */ ((i) => (i.Two = "2D", i.Three = "3D", i))(qC || {});
25882
- const rE = (i, t) => new ia(i, t);
25888
+ const rI = (i, t) => new ia(i, t);
25883
25889
  function JC(i) {
25884
25890
  fe(i, "svelte-m8w0ju", ".guide-line__tag.svelte-m8w0ju{position:relative}.guide-line__tag-point.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-m8w0ju{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-m8w0ju{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-m8w0ju{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
25885
25891
  }
@@ -26123,18 +26129,18 @@ class oa {
26123
26129
  f(this, "logError", (t) => Hh("GuideLineModeItem: ", t));
26124
26130
  var s, r;
26125
26131
  this.five = t, this.mode = e.mode, this.plugin = e.plugin, this.parent = e.parent, this.startTagContainer = { tag: null, plugin: new ia(this.five) }, this.endTagContainer = { tag: null, plugin: new ia(this.five) };
26126
- const n = new I.BufferGeometry(), o = new I.ShaderMaterial({
26132
+ const n = new E.BufferGeometry(), o = new E.ShaderMaterial({
26127
26133
  vertexShader: tP,
26128
26134
  fragmentShader: nP,
26129
26135
  transparent: !0,
26130
26136
  uniforms: {
26131
26137
  map: { value: null },
26132
26138
  useMapColor: { value: 0 },
26133
- mapColor: { value: new I.Color() },
26139
+ mapColor: { value: new E.Color() },
26134
26140
  mapOpacity: { value: 1 },
26135
- backgroundColor: { value: new I.Color() },
26141
+ backgroundColor: { value: new E.Color() },
26136
26142
  backgroundOpacity: { value: 0 },
26137
- borderColor: { value: new I.Color() },
26143
+ borderColor: { value: new E.Color() },
26138
26144
  borderOpacity: { value: 0 },
26139
26145
  opacity: { value: 1 },
26140
26146
  flicker: { value: 1 },
@@ -26142,7 +26148,7 @@ class oa {
26142
26148
  vOffset: { value: 0 }
26143
26149
  }
26144
26150
  });
26145
- this.mesh = new I.Mesh(n, o), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (s = this.five.model) == null ? void 0 : s.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
26151
+ this.mesh = new E.Mesh(n, o), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (s = this.five.model) == null ? void 0 : s.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
26146
26152
  }
26147
26153
  get panoGroup() {
26148
26154
  return this._panoGroup;
@@ -26215,13 +26221,13 @@ class oa {
26215
26221
  setColor(t) {
26216
26222
  if (this.disposed)
26217
26223
  return this.logError("disposed");
26218
- t && (this.mesh.material.uniforms.mapColor.value = new I.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26224
+ t && (this.mesh.material.uniforms.mapColor.value = new E.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26219
26225
  }
26220
26226
  /** 设置边框 */
26221
26227
  setBorderColor(t) {
26222
26228
  if (this.disposed)
26223
26229
  return this.logError("disposed");
26224
- this.mesh.material.uniforms.borderColor.value = new I.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26230
+ this.mesh.material.uniforms.borderColor.value = new E.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26225
26231
  }
26226
26232
  /** 设置边框透明度 */
26227
26233
  setBorderOpacity(t) {
@@ -26233,7 +26239,7 @@ class oa {
26233
26239
  setBackgroundColor(t) {
26234
26240
  if (this.disposed)
26235
26241
  return this.logError("disposed");
26236
- this.mesh.material.uniforms.backgroundColor.value = new I.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26242
+ this.mesh.material.uniforms.backgroundColor.value = new E.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26237
26243
  }
26238
26244
  /** 设置背景透明度 */
26239
26245
  setBackgroundOpacity(t) {
@@ -26258,7 +26264,7 @@ class oa {
26258
26264
  if (this.disposed)
26259
26265
  return this.logError("disposed");
26260
26266
  this.textureUrl = t, to(t).then((e) => {
26261
- this.disposed || this.textureUrl === t && (e.wrapT = I.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
26267
+ this.disposed || this.textureUrl === t && (e.wrapT = E.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
26262
26268
  });
26263
26269
  }
26264
26270
  setVisibleFloorIndexes(t) {
@@ -26313,13 +26319,13 @@ class oa {
26313
26319
  function Mr(i) {
26314
26320
  return i.contentType === "Custom";
26315
26321
  }
26316
- const aE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26322
+ const aI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26317
26323
  __proto__: null,
26318
26324
  GuideLineModeItem: oa
26319
26325
  }, Symbol.toStringTag, { value: "Module" }));
26320
- function Id(i) {
26326
+ function Ed(i) {
26321
26327
  const t = Math.abs(Math.cos(i.latitude));
26322
- return new I.Vector3(
26328
+ return new E.Vector3(
26323
26329
  /* x */
26324
26330
  -Math.sin(i.longitude) * t,
26325
26331
  /* y */
@@ -26329,7 +26335,7 @@ function Id(i) {
26329
26335
  );
26330
26336
  }
26331
26337
  function iP(i, t) {
26332
- const e = Id(i), n = Id(t);
26338
+ const e = Ed(i), n = Ed(t);
26333
26339
  return e.angleTo(n);
26334
26340
  }
26335
26341
  const oP = (i) => F(void 0, null, function* () {
@@ -26361,14 +26367,14 @@ function lP(i) {
26361
26367
  }, i);
26362
26368
  });
26363
26369
  }
26364
- const vu = "v1.0.6", Au = "CruisePlugin", Is = `${Au}@${vu}`, Ed = () => {
26365
- console.error(`${Is} is disposed`);
26370
+ const vu = "v1.0.6", Au = "CruisePlugin", Es = `${Au}@${vu}`, Id = () => {
26371
+ console.error(`${Es} is disposed`);
26366
26372
  }, cP = () => {
26367
- console.warn(`${Is} is disabled`);
26373
+ console.warn(`${Es} is disabled`);
26368
26374
  }, dP = () => {
26369
- console.error(`${Is} is disabled`);
26375
+ console.error(`${Es} is disabled`);
26370
26376
  }, Lr = /* @__PURE__ */ new Map();
26371
- class Es extends Mn {
26377
+ class Is extends Mn {
26372
26378
  constructor(e, n) {
26373
26379
  super(e, n);
26374
26380
  f(this, "state", {
@@ -26410,7 +26416,7 @@ class Es extends Mn {
26410
26416
  return F(this, null, function* () {
26411
26417
  var d, h, u, m, g, v;
26412
26418
  if (this.state.disposed)
26413
- return Ed();
26419
+ return Id();
26414
26420
  this.privateState.fiveOriginGetProgress || (h = (d = this.five.controller) == null ? void 0 : d.cameraMotion) != null && h.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (m = (u = this.five.controller) == null ? void 0 : u.cameraMotion) == null ? void 0 : m.getProgress), this.clear();
26415
26421
  const s = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
26416
26422
  this.data = r, this.hooks.emit("dataChange", r, s);
@@ -26431,7 +26437,7 @@ class Es extends Mn {
26431
26437
  const D = a.length;
26432
26438
  a[D] = [A];
26433
26439
  }
26434
- }), !this.GuideLine && ((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = fP(this.five, this.config)), (v = this.GuideLine) == null || v.load({ routes: a.map((A) => ({ panoIndexList: A })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Is} loaded`, r), this.hooks.emit("dataLoaded", r);
26440
+ }), !this.GuideLine && ((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = fP(this.five, this.config)), (v = this.GuideLine) == null || v.load({ routes: a.map((A) => ({ panoIndexList: A })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Es} loaded`, r), this.hooks.emit("dataLoaded", r);
26435
26441
  });
26436
26442
  }
26437
26443
  /**
@@ -26501,7 +26507,7 @@ class Es extends Mn {
26501
26507
  setState(e, n) {
26502
26508
  var s;
26503
26509
  if (this.state.disposed)
26504
- return Ed();
26510
+ return Id();
26505
26511
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
26506
26512
  return dP();
26507
26513
  const o = G({}, this.state);
@@ -26538,7 +26544,7 @@ class Es extends Mn {
26538
26544
  const m = (A = n[c]) == null ? void 0 : A.position, g = (b = n[u]) == null ? void 0 : b.position;
26539
26545
  if (!g || !m || ((y = n[c]) == null ? void 0 : y.floorIndex) !== ((P = n[u]) == null ? void 0 : P.floorIndex))
26540
26546
  return;
26541
- const v = new I.Vector3().subVectors(g, m);
26547
+ const v = new E.Vector3().subVectors(g, m);
26542
26548
  return rP(v.normalize());
26543
26549
  })();
26544
26550
  o.moveType === void 0 || o.moveType === "justMove" ? s.push({
@@ -26913,10 +26919,10 @@ class Es extends Mn {
26913
26919
  this.privateState.fiveOriginGetProgress && (this.five.controller.cameraMotion.getProgress = this.privateState.fiveOriginGetProgress);
26914
26920
  }
26915
26921
  }
26916
- f(Es, "PluginVersion", vu);
26917
- const lE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26922
+ f(Is, "PluginVersion", vu);
26923
+ const lI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26918
26924
  __proto__: null
26919
- }, Symbol.toStringTag, { value: "Module" })), cE = (i) => new Es(i);
26925
+ }, Symbol.toStringTag, { value: "Module" })), cI = (i) => new Is(i);
26920
26926
  class bu {
26921
26927
  constructor(t) {
26922
26928
  f(this, "id");
@@ -26977,7 +26983,7 @@ function hP(i, t) {
26977
26983
  return;
26978
26984
  const e = i.getCurrentState();
26979
26985
  e.mode !== "Panorama" && (yield ya(i, ["Panorama", { longitude: e.longitude, latitude: 0, panoIndex: t.panoIndexList[0] }]));
26980
- const n = new Es(i, { useGuideLine: !1 });
26986
+ const n = new Is(i, { useGuideLine: !1 });
26981
26987
  yield n.load(t), yield new Promise((o, s) => {
26982
26988
  const r = i.getCurrentState();
26983
26989
  let a = t.panoIndexList.slice();
@@ -27006,7 +27012,7 @@ function hP(i, t) {
27006
27012
  });
27007
27013
  });
27008
27014
  }
27009
- const dE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27015
+ const dI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27010
27016
  __proto__: null,
27011
27017
  GuideLineItem: bu
27012
27018
  }, Symbol.toStringTag, { value: "Module" })), yu = "v1.1.0", sa = "GuideLinePlugin", kd = `${sa}@${yu}`;
@@ -27029,7 +27035,7 @@ class uP extends Mn {
27029
27035
  f(this, "disposedErrorLog", () => {
27030
27036
  console.error(`${kd} is disposed`);
27031
27037
  });
27032
- this.cruisePlugin = new Es(e, { useGuideLine: !1 }), Object.assign(window, { [`__${sa}_DEBUG__`]: this });
27038
+ this.cruisePlugin = new Is(e, { useGuideLine: !1 }), Object.assign(window, { [`__${sa}_DEBUG__`]: this });
27033
27039
  }
27034
27040
  get disposed() {
27035
27041
  return this._disposed;
@@ -27115,7 +27121,7 @@ class uP extends Mn {
27115
27121
  return Array.isArray(r) && r.every((a) => typeof a == "number");
27116
27122
  }
27117
27123
  function o(r, a) {
27118
- return new I.Vector3().fromArray(r).distanceTo(new I.Vector3().fromArray(a)) < 0.01;
27124
+ return new E.Vector3().fromArray(r).distanceTo(new E.Vector3().fromArray(a)) < 0.01;
27119
27125
  }
27120
27126
  function s(r) {
27121
27127
  var l;
@@ -27167,7 +27173,7 @@ class uP extends Mn {
27167
27173
  const fP = (i, t) => new uP(i, t);
27168
27174
  function wu(i, t, e) {
27169
27175
  if (e) {
27170
- const o = new I.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
27176
+ const o = new E.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
27171
27177
  i.position.copy(o);
27172
27178
  }
27173
27179
  i.quaternion.copy(t);
@@ -27256,14 +27262,14 @@ class Cu extends ks {
27256
27262
  }
27257
27263
  class AP extends Cu {
27258
27264
  }
27259
- class bP extends I.Group {
27265
+ class bP extends E.Group {
27260
27266
  constructor(e) {
27261
27267
  super();
27262
27268
  f(this, "direction");
27263
27269
  this.direction = e || "x";
27264
27270
  }
27265
27271
  }
27266
- class xd extends I.Mesh {
27272
+ class xd extends E.Mesh {
27267
27273
  constructor(e, n, o) {
27268
27274
  super(e, n);
27269
27275
  f(this, "direction");
@@ -27272,7 +27278,7 @@ class xd extends I.Mesh {
27272
27278
  }
27273
27279
  function yP(i, t) {
27274
27280
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
27275
- return Object.assign(new I.Vector2(), {
27281
+ return Object.assign(new E.Vector2(), {
27276
27282
  x: (i.x - s) / e * 2 - 1,
27277
27283
  y: -(i.y - o) / n * 2 + 1
27278
27284
  });
@@ -27283,7 +27289,7 @@ function za(i, t, e) {
27283
27289
  const n = yP(t, e);
27284
27290
  if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
27285
27291
  return;
27286
- const o = new I.Raycaster();
27292
+ const o = new E.Raycaster();
27287
27293
  return o.setFromCamera(n, i), o;
27288
27294
  }
27289
27295
  function wP(i, t) {
@@ -27298,15 +27304,15 @@ class Tr extends bP {
27298
27304
  f(this, "lineHeight", 0.4);
27299
27305
  f(this, "arrowHeight", 0.1);
27300
27306
  this.name = "ArrowGroup";
27301
- const n = new I.Color((d = e.color) != null ? d : 16214315), o = new I.MeshBasicMaterial({
27307
+ const n = new E.Color((d = e.color) != null ? d : 16214315), o = new E.MeshBasicMaterial({
27302
27308
  color: n,
27303
27309
  depthTest: !1,
27304
27310
  opacity: 1,
27305
27311
  transparent: !0,
27306
- side: I.DoubleSide
27307
- }), s = new I.ConeGeometry(0.04, 0.1, 32), r = new xd(s, o.clone(), e.direction);
27312
+ side: E.DoubleSide
27313
+ }), s = new E.ConeGeometry(0.04, 0.1, 32), r = new xd(s, o.clone(), e.direction);
27308
27314
  r.name = `arrow-${e.direction}`, this.arrow = r;
27309
- const a = 4e-3, l = new I.CylinderGeometry(a, a, 0.4, 32), c = new xd(l, o.clone(), e.direction);
27315
+ const a = 4e-3, l = new E.CylinderGeometry(a, a, 0.4, 32), c = new xd(l, o.clone(), e.direction);
27310
27316
  c.name = `line-${e.direction}`, this.line = c, this.formatArrow(), this.formatLine(), this.add(this.arrow, this.line);
27311
27317
  }
27312
27318
  formatArrow() {
@@ -27323,13 +27329,13 @@ const zr = {
27323
27329
  };
27324
27330
  class ni {
27325
27331
  static get X() {
27326
- return new I.Color(zr.X).convertSRGBToLinear().clone();
27332
+ return new E.Color(zr.X).convertSRGBToLinear().clone();
27327
27333
  }
27328
27334
  static get Y() {
27329
- return new I.Color(zr.Y).convertSRGBToLinear().clone();
27335
+ return new E.Color(zr.Y).convertSRGBToLinear().clone();
27330
27336
  }
27331
27337
  static get Z() {
27332
- return new I.Color(zr.Z).convertSRGBToLinear().clone();
27338
+ return new E.Color(zr.Z).convertSRGBToLinear().clone();
27333
27339
  }
27334
27340
  }
27335
27341
  class CP extends pP {
@@ -27350,7 +27356,7 @@ class CP extends pP {
27350
27356
  this.remove(this.xArrow, this.yArrow, this.zArrow);
27351
27357
  }
27352
27358
  }
27353
- function In(i, t) {
27359
+ function En(i, t) {
27354
27360
  return PP(document.createElement(t != null ? t : "div"), i);
27355
27361
  }
27356
27362
  function PP(i, t) {
@@ -27360,8 +27366,8 @@ function PP(i, t) {
27360
27366
  e && t[e] && (i.style[e] = t[e]);
27361
27367
  return i;
27362
27368
  }
27363
- function IP(i) {
27364
- const t = In(G({
27369
+ function EP(i) {
27370
+ const t = En(G({
27365
27371
  position: "absolute",
27366
27372
  display: "block",
27367
27373
  borderRadius: "4px",
@@ -27386,7 +27392,7 @@ function IP(i) {
27386
27392
  t.style.left = s, t.style.top = r, e();
27387
27393
  } };
27388
27394
  }
27389
- class EP extends vP {
27395
+ class IP extends vP {
27390
27396
  constructor(e, n) {
27391
27397
  super(e);
27392
27398
  f(this, "xCircle");
@@ -27395,7 +27401,7 @@ class EP extends vP {
27395
27401
  f(this, "children", []);
27396
27402
  f(this, "angleTips");
27397
27403
  f(this, "container");
27398
- (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new jr({ direction: "x", color: ni.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new jr({ direction: "y", color: ni.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new jr({ direction: "z", color: ni.Z })), n != null && n.container && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = IP({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
27404
+ (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new jr({ direction: "x", color: ni.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new jr({ direction: "y", color: ni.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new jr({ direction: "z", color: ni.Z })), n != null && n.container && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = EP({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
27399
27405
  }
27400
27406
  hide() {
27401
27407
  this.children.forEach((e) => e.hide());
@@ -27413,7 +27419,7 @@ class EP extends vP {
27413
27419
  this.removeFromParent(), (n = (e = this.angleTips) == null ? void 0 : e.element) == null || n.remove();
27414
27420
  }
27415
27421
  }
27416
- class jr extends I.Group {
27422
+ class jr extends E.Group {
27417
27423
  constructor(e) {
27418
27424
  super();
27419
27425
  f(this, "direction");
@@ -27435,41 +27441,41 @@ class jr extends I.Group {
27435
27441
  this.remove(this.ring, this.angleSector, this.circle);
27436
27442
  }
27437
27443
  }
27438
- class kP extends I.Mesh {
27444
+ class kP extends E.Mesh {
27439
27445
  constructor(e) {
27440
27446
  var n;
27441
27447
  super();
27442
27448
  f(this, "direction");
27443
27449
  f(this, "gapAngle", 0.02);
27444
- f(this, "geometry", new I.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
27445
- this.material = new I.MeshBasicMaterial({
27450
+ f(this, "geometry", new E.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
27451
+ this.material = new E.MeshBasicMaterial({
27446
27452
  opacity: 0.6,
27447
27453
  color: (n = e.color) != null ? n : 16777215,
27448
27454
  transparent: !0,
27449
- side: I.DoubleSide,
27455
+ side: E.DoubleSide,
27450
27456
  depthTest: !1
27451
27457
  }), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
27452
27458
  }
27453
27459
  }
27454
- class xP extends I.Group {
27460
+ class xP extends E.Group {
27455
27461
  constructor(e) {
27456
27462
  super();
27457
27463
  f(this, "direction");
27458
27464
  this.direction = e.direction;
27459
27465
  const n = 0.015, o = new Array(8).fill(null).map((s, r) => {
27460
- const a = new I.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + n, Math.PI / 4 - n * 2), l = new I.MeshBasicMaterial({
27466
+ const a = new E.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + n, Math.PI / 4 - n * 2), l = new E.MeshBasicMaterial({
27461
27467
  opacity: 1,
27462
27468
  color: 16777215,
27463
27469
  depthTest: !1,
27464
27470
  transparent: !0,
27465
- side: I.DoubleSide
27466
- }), c = new I.Mesh(a, l);
27471
+ side: E.DoubleSide
27472
+ }), c = new E.Mesh(a, l);
27467
27473
  return c.name = `AxesDashedRing-${this.direction}-${r}`, c;
27468
27474
  });
27469
27475
  this.add(...o);
27470
27476
  }
27471
27477
  }
27472
- class DP extends I.Mesh {
27478
+ class DP extends E.Mesh {
27473
27479
  constructor(e) {
27474
27480
  var o;
27475
27481
  super();
@@ -27478,34 +27484,34 @@ class DP extends I.Mesh {
27478
27484
  f(this, "angleDirection");
27479
27485
  switch (e.direction) {
27480
27486
  case "x":
27481
- this.baseAxes = new I.Vector3(0, 0, 1);
27487
+ this.baseAxes = new E.Vector3(0, 0, 1);
27482
27488
  break;
27483
27489
  case "y":
27484
- this.baseAxes = new I.Vector3(1, 0, 0);
27490
+ this.baseAxes = new E.Vector3(1, 0, 0);
27485
27491
  break;
27486
27492
  case "z":
27487
- this.baseAxes = new I.Vector3(1, 0, 0);
27493
+ this.baseAxes = new E.Vector3(1, 0, 0);
27488
27494
  break;
27489
27495
  }
27490
27496
  const n = 0.3 + 5e-4;
27491
- this.geometry = new I.CircleGeometry(n, 48, 0, 1e-4), this.material = new I.MeshBasicMaterial({
27497
+ this.geometry = new E.CircleGeometry(n, 48, 0, 1e-4), this.material = new E.MeshBasicMaterial({
27492
27498
  opacity: 0.4,
27493
27499
  color: (o = e.color) != null ? o : 16777215,
27494
27500
  depthTest: !1,
27495
27501
  transparent: !0,
27496
- side: I.DoubleSide
27502
+ side: E.DoubleSide
27497
27503
  }), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
27498
27504
  }
27499
27505
  }
27500
27506
  function SP() {
27501
- const i = In({
27507
+ const i = En({
27502
27508
  width: "100%",
27503
27509
  height: "100%",
27504
27510
  left: "0",
27505
27511
  top: "0",
27506
27512
  position: "absolute",
27507
27513
  pointerEvents: "none"
27508
- }), t = In({
27514
+ }), t = En({
27509
27515
  boxSizing: "border-box",
27510
27516
  width: "100%",
27511
27517
  height: "100%",
@@ -27515,7 +27521,7 @@ function SP() {
27515
27521
  display: "flex",
27516
27522
  alignItems: "center",
27517
27523
  justifyContent: "center"
27518
- }), e = In({
27524
+ }), e = En({
27519
27525
  boxSizing: "border-box",
27520
27526
  width: "100%",
27521
27527
  height: "100%",
@@ -27538,13 +27544,13 @@ function SP() {
27538
27544
  ] };
27539
27545
  }
27540
27546
  function tn(i) {
27541
- const t = In(G({
27547
+ const t = En(G({
27542
27548
  background: "#FFFFFF",
27543
27549
  width: "9px",
27544
27550
  height: "9px",
27545
27551
  position: "absolute",
27546
27552
  pointerEvents: "none"
27547
- }, i)), e = In({
27553
+ }, i)), e = En({
27548
27554
  width: "15px",
27549
27555
  height: "15px",
27550
27556
  position: "absolute",
@@ -27552,7 +27558,7 @@ function tn(i) {
27552
27558
  top: "50%",
27553
27559
  transform: "translate(-50%, -50%)",
27554
27560
  pointerEvents: "none"
27555
- }), n = In({
27561
+ }), n = En({
27556
27562
  width: "15px",
27557
27563
  height: "15px",
27558
27564
  cursor: i == null ? void 0 : i.cursor,
@@ -27603,15 +27609,15 @@ class MP extends AP {
27603
27609
  var s;
27604
27610
  const o = (s = this.css3DInstance) == null ? void 0 : s.css3DObject;
27605
27611
  if (o) {
27606
- const r = new I.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
27612
+ const r = new E.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
27607
27613
  o.position.copy(r), o.applyQuaternion(e);
27608
27614
  }
27609
27615
  if (this.plane) {
27610
- const r = new I.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
27616
+ const r = new E.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
27611
27617
  this.plane.position.copy(r), this.plane.applyQuaternion(e);
27612
27618
  }
27613
27619
  this.cornerPositions.forEach((r) => {
27614
- const a = new I.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
27620
+ const a = new E.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
27615
27621
  r.copy(a);
27616
27622
  });
27617
27623
  }
@@ -27671,7 +27677,7 @@ class MP extends AP {
27671
27677
  }
27672
27678
  }
27673
27679
  function Pu(i) {
27674
- const t = new I.Box3(), e = new I.Vector3();
27680
+ const t = new E.Box3(), e = new E.Vector3();
27675
27681
  if (i.traverse((n) => {
27676
27682
  var s;
27677
27683
  if (n.name === "shadow")
@@ -27697,7 +27703,7 @@ class LP extends gP {
27697
27703
  f(this, "outline");
27698
27704
  f(this, "originObject");
27699
27705
  f(this, "positionAttribute");
27700
- this.originObject = e, this.positionAttribute = new I.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
27706
+ this.originObject = e, this.positionAttribute = new E.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
27701
27707
  }
27702
27708
  raycasterIntersectObject(e, n) {
27703
27709
  return e.intersectObject(this, !1, n);
@@ -27713,16 +27719,16 @@ class LP extends gP {
27713
27719
  this.positionAttribute.setXYZ(0, o.x, o.y, o.z), this.positionAttribute.setXYZ(1, n.x, o.y, o.z), this.positionAttribute.setXYZ(2, n.x, n.y, o.z), this.positionAttribute.setXYZ(3, o.x, n.y, o.z), this.positionAttribute.setXYZ(4, o.x, o.y, n.z), this.positionAttribute.setXYZ(5, n.x, o.y, n.z), this.positionAttribute.setXYZ(6, n.x, n.y, n.z), this.positionAttribute.setXYZ(7, o.x, n.y, n.z), this.positionAttribute.needsUpdate = !0;
27714
27720
  }
27715
27721
  createOutline() {
27716
- const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), n = new I.BufferGeometry();
27717
- n.setIndex(new I.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27718
- const o = new I.LineBasicMaterial({
27722
+ const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), n = new E.BufferGeometry();
27723
+ n.setIndex(new E.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27724
+ const o = new E.LineBasicMaterial({
27719
27725
  color: 64767,
27720
27726
  linewidth: 1,
27721
27727
  opacity: 1,
27722
27728
  depthTest: !1,
27723
27729
  transparent: !0,
27724
27730
  toneMapped: !1
27725
- }), s = new I.LineSegments(n, o);
27731
+ }), s = new E.LineSegments(n, o);
27726
27732
  return s.matrixAutoUpdate = !1, s;
27727
27733
  }
27728
27734
  createBox() {
@@ -27763,15 +27769,15 @@ class LP extends gP {
27763
27769
  6,
27764
27770
  7,
27765
27771
  3
27766
- ]), n = new I.BufferGeometry();
27767
- n.setIndex(new I.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27768
- const o = new I.MeshBasicMaterial({
27772
+ ]), n = new E.BufferGeometry();
27773
+ n.setIndex(new E.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27774
+ const o = new E.MeshBasicMaterial({
27769
27775
  color: 64767,
27770
27776
  opacity: 0.1,
27771
27777
  depthTest: !1,
27772
27778
  transparent: !0
27773
27779
  });
27774
- return new I.Mesh(n, o);
27780
+ return new E.Mesh(n, o);
27775
27781
  }
27776
27782
  }
27777
27783
  class lo {
@@ -27891,15 +27897,15 @@ class lo {
27891
27897
  }
27892
27898
  updateOffsetByScale(t) {
27893
27899
  if (this.boundingBox && this.offset) {
27894
- const e = this.originObject3D.position, n = new I.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), o = new I.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), s = this.calculateOffset(this.offset, { min: o, max: n });
27900
+ const e = this.originObject3D.position, n = new E.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), o = new E.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), s = this.calculateOffset(this.offset, { min: o, max: n });
27895
27901
  this.helperObject3D.position.copy(s), this.helperObject3D.initialPosition();
27896
27902
  }
27897
27903
  }
27898
27904
  hoverListener(t, e = 16777215, n = 1) {
27899
27905
  const o = (Array.isArray(t) ? t : [t]).filter(di), s = [];
27900
27906
  for (const r of o)
27901
- if (r instanceof I.Mesh || r instanceof I.Group) {
27902
- const a = r instanceof I.Group ? r.children.filter((u) => u instanceof I.Mesh) : [r];
27907
+ if (r instanceof E.Mesh || r instanceof E.Group) {
27908
+ const a = r instanceof E.Group ? r.children.filter((u) => u instanceof E.Mesh) : [r];
27903
27909
  a.forEach((u) => {
27904
27910
  u.__originalColor__ = u.material.color.clone(), u.__originalOpacity__ = u.material.opacity;
27905
27911
  });
@@ -27939,7 +27945,7 @@ class lo {
27939
27945
  return s.object;
27940
27946
  }
27941
27947
  calculateOffset(t, e) {
27942
- const n = this.originObject3D, o = new I.Vector3(0, 0, 0);
27948
+ const n = this.originObject3D, o = new E.Vector3(0, 0, 0);
27943
27949
  if (!t)
27944
27950
  return o;
27945
27951
  const s = () => e || (this.boundingBox ? this.boundingBox : (this.boundingBox = Pu(n), this.boundingBox));
@@ -28032,7 +28038,7 @@ class TP extends lo {
28032
28038
  const o = (n == null ? void 0 : n.object).direction;
28033
28039
  if (!o)
28034
28040
  return this.dragEnd();
28035
- const s = new I.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new I.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new I.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
28041
+ const s = new E.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new E.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new E.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
28036
28042
  switch (o) {
28037
28043
  case "x":
28038
28044
  return s;
@@ -28049,7 +28055,7 @@ class TP extends lo {
28049
28055
  case "z":
28050
28056
  return s;
28051
28057
  }
28052
- })(), d = n.point.clone(), h = new I.Plane();
28058
+ })(), d = n.point.clone(), h = new E.Plane();
28053
28059
  h.setFromNormalAndCoplanarPoint(c, d), this.startInfo = { startVectorProject: d.clone().projectOnVector(l), directionVector: l, plane: h }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
28054
28060
  }
28055
28061
  dragging(e) {
@@ -28061,10 +28067,10 @@ class TP extends lo {
28061
28067
  move(e) {
28062
28068
  if (!this.startInfo)
28063
28069
  return this.dragEnd();
28064
- const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new I.Vector3());
28070
+ const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new E.Vector3());
28065
28071
  if (!a)
28066
28072
  return;
28067
- const l = a.clone().projectOnVector(o), c = l.clone().sub(s), d = new I.Matrix4();
28073
+ const l = a.clone().projectOnVector(o), c = l.clone().sub(s), d = new E.Matrix4();
28068
28074
  d.setPosition(c);
28069
28075
  const h = r.position.clone().applyMatrix4(d);
28070
28076
  this.hooks.emit("wantToMove", h) || (r.applyMatrix4(d), s.copy(l), this.hooks.emit("applyObjectPosition", { matrix: d }), this.hooks.emit("move", h));
@@ -28237,7 +28243,7 @@ class RP extends lo {
28237
28243
  this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
28238
28244
  }
28239
28245
  setRotateAngle(e) {
28240
- const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new I.Euler(_r(n), _r(o), _r(s)), a = new I.Quaternion().setFromEuler(r);
28246
+ const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new E.Euler(_r(n), _r(o), _r(s)), a = new E.Quaternion().setFromEuler(r);
28241
28247
  if (this.hooks.emit("wantToRotate", a))
28242
28248
  return;
28243
28249
  const { originObject3D: c, rotateCenter: d } = this;
@@ -28269,12 +28275,12 @@ class RP extends lo {
28269
28275
  a.y += 0.2, this.setTipsPosition(a);
28270
28276
  const l = (() => {
28271
28277
  if (o === "x")
28272
- return new I.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
28278
+ return new E.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
28273
28279
  if (o === "y")
28274
- return new I.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
28280
+ return new E.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
28275
28281
  if (o === "z")
28276
- return new I.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
28277
- })(), c = new I.Plane().setFromNormalAndCoplanarPoint(l, s), h = c.projectPoint(s.clone(), new I.Vector3()).clone().sub(this.rotateCenter), u = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
28282
+ return new E.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
28283
+ })(), c = new E.Plane().setFromNormalAndCoplanarPoint(l, s), h = c.projectPoint(s.clone(), new E.Vector3()).clone().sub(this.rotateCenter), u = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
28278
28284
  this.setAngleHelperStart(o, u), this.setAngleHelperLength(o, 0), this.startInfo = { direction: o, startVector: h, plane: c, angleHelper: r, angle: 0, objectQuaternion: this.originObject3D.quaternion.clone() }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("rotateStart"), this.isDragging = !0;
28279
28285
  }
28280
28286
  dragging(e) {
@@ -28286,24 +28292,24 @@ class RP extends lo {
28286
28292
  rotate(e) {
28287
28293
  if (!this.startInfo)
28288
28294
  return this.dragEnd();
28289
- const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new I.Vector3());
28295
+ const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new E.Vector3());
28290
28296
  if (!c)
28291
28297
  return;
28292
- const d = this.rotateCenter.clone(), u = o.projectPoint(c.clone(), new I.Vector3()).clone().sub(d);
28298
+ const d = this.rotateCenter.clone(), u = o.projectPoint(c.clone(), new E.Vector3()).clone().sub(d);
28293
28299
  if (n.angleTo(u) === 0)
28294
28300
  return;
28295
- const m = new I.Quaternion().setFromUnitVectors(n.clone().normalize(), u.clone().normalize()), g = l.quaternion.clone().premultiply(m);
28301
+ const m = new E.Quaternion().setFromUnitVectors(n.clone().normalize(), u.clone().normalize()), g = l.quaternion.clone().premultiply(m);
28296
28302
  if (this.hooks.emit("wantToRotate", g))
28297
28303
  return;
28298
- const b = new I.Euler().setFromQuaternion(
28299
- new I.Quaternion().setFromUnitVectors(
28304
+ const b = new E.Euler().setFromQuaternion(
28305
+ new E.Quaternion().setFromUnitVectors(
28300
28306
  n.clone().normalize().applyQuaternion(a.clone().inverse()),
28301
28307
  u.clone().normalize().applyQuaternion(a.clone().inverse())
28302
28308
  ),
28303
28309
  `${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
28304
28310
  )[r] * s.angleDirection;
28305
28311
  if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(wh(this.startInfo.angle)), d) {
28306
- const y = new I.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
28312
+ const y = new E.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
28307
28313
  l.position.copy(y);
28308
28314
  }
28309
28315
  l.applyQuaternion(m), this.hooks.emit("applyObjectRotate", { quaternion: m, origin: d }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = u;
@@ -28328,17 +28334,17 @@ class RP extends lo {
28328
28334
  console.warn("angleHelper is undefined");
28329
28335
  return;
28330
28336
  }
28331
- if (o instanceof I.Mesh && o.geometry instanceof I.CircleGeometry) {
28337
+ if (o instanceof E.Mesh && o.geometry instanceof E.CircleGeometry) {
28332
28338
  const { radius: s, segments: r, thetaLength: a } = o.geometry.parameters;
28333
- o.geometry = new I.CircleGeometry(s, r, n, a);
28339
+ o.geometry = new E.CircleGeometry(s, r, n, a);
28334
28340
  } else
28335
28341
  console.warn("only support THREE.CircleGeometry");
28336
28342
  }
28337
28343
  setAngleHelperLength(e, n) {
28338
28344
  const s = n >= 0 ? Math.max(n, 1e-3) : Math.min(n, -1e-3), r = this.getAngleHelper(e);
28339
- if (r instanceof I.Mesh && r.geometry instanceof I.CircleGeometry) {
28345
+ if (r instanceof E.Mesh && r.geometry instanceof E.CircleGeometry) {
28340
28346
  const { radius: a, thetaStart: l } = r.geometry.parameters, c = Math.ceil(Math.abs(s) * (40 / (2 * Math.PI)));
28341
- r.geometry = new I.CircleGeometry(a, c, l, s);
28347
+ r.geometry = new E.CircleGeometry(a, c, l, s);
28342
28348
  } else
28343
28349
  console.warn("only support THREE.CircleGeometry");
28344
28350
  }
@@ -28383,7 +28389,7 @@ class QP extends lo {
28383
28389
  this.helperObject3D.applyHelperScaleMatrix4(e.matrix, e.origin);
28384
28390
  }
28385
28391
  getDragPlane() {
28386
- const e = new I.Plane(), n = this.helperObject3D.cornerPositions;
28392
+ const e = new E.Plane(), n = this.helperObject3D.cornerPositions;
28387
28393
  if (n.length !== 0)
28388
28394
  return n.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new $()), n[0]) : e.setFromCoplanarPoints(n[0], n[1], n[2]), e;
28389
28395
  }
@@ -28454,9 +28460,9 @@ class QP extends lo {
28454
28460
  case "nwse":
28455
28461
  A(), b();
28456
28462
  }
28457
- const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), D = new $(y, P, 1), x = new I.Matrix4().scale(D);
28463
+ const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), D = new $(y, P, 1), x = new E.Matrix4().scale(D);
28458
28464
  n.isCSS3DObjectPlus ? n.applyScaleMatrix4(x) : n.scale.applyMatrix4(x), o.position.copy(a);
28459
- const E = new $().addVectors(r[0], r[2]).divideScalar(2), T = new $().subVectors(E, l), S = new I.Matrix4().setPosition(T);
28465
+ const I = new $().addVectors(r[0], r[2]).divideScalar(2), T = new $().subVectors(I, l), S = new E.Matrix4().setPosition(T);
28460
28466
  n.applyMatrix4(S), (N = this.helperObject3D.css3DInstance) == null || N.css3DObject.applyMatrix4(S), (Y = this.helperObject3D.plane) == null || Y.applyMatrix4(S), this.hooks.emit("applyObjectScale", { matrix: x }), this.hooks.emit("applyObjectPosition", { matrix: S }), this.render();
28461
28467
  }
28462
28468
  dragEnd() {
@@ -28498,7 +28504,7 @@ class NP extends lo {
28498
28504
  var l, c, d;
28499
28505
  let n = 1, o = 1, s = 1;
28500
28506
  typeof e == "number" ? (n = e, o = e, s = e) : typeof e == "object" && (n = (l = e.x) != null ? l : 1, o = (c = e.y) != null ? c : 1, s = (d = e.z) != null ? d : 1);
28501
- const r = new I.Vector3(n, o, s);
28507
+ const r = new E.Vector3(n, o, s);
28502
28508
  this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
28503
28509
  }
28504
28510
  }
@@ -28589,7 +28595,7 @@ class UP extends ao {
28589
28595
  o.addControllers({ moveController: A.helperController }), s.push(() => A.dispose());
28590
28596
  }
28591
28597
  if (c) {
28592
- const g = this.getConfig(n.rotateHelper), v = new EP(e, G({ container: r }, g)), A = new Ri(this.five, RP, e, v, g, u);
28598
+ const g = this.getConfig(n.rotateHelper), v = new IP(e, G({ container: r }, g)), A = new Ri(this.five, RP, e, v, g, u);
28593
28599
  o.addControllers({ rotateController: A.helperController }), s.push(() => A.dispose());
28594
28600
  }
28595
28601
  if (h) {
@@ -28653,7 +28659,7 @@ class UP extends ao {
28653
28659
  return e;
28654
28660
  }
28655
28661
  }
28656
- const hE = (i) => new UP(i), qP = `
28662
+ const hI = (i) => new UP(i), qP = `
28657
28663
  varying vec2 vUv;
28658
28664
  void main() {
28659
28665
  vUv = uv;
@@ -29039,67 +29045,67 @@ class KP extends ao {
29039
29045
  console.warn("⛔ ==> [PanoVideoPluginController]:", e);
29040
29046
  }
29041
29047
  }
29042
- const uE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29048
+ const uI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29043
29049
  __proto__: null
29044
- }, Symbol.toStringTag, { value: "Module" })), fE = (i) => new KP(i);
29050
+ }, Symbol.toStringTag, { value: "Module" })), fI = (i) => new KP(i);
29045
29051
  Xu();
29046
29052
  Fu();
29047
29053
  export {
29048
29054
  Ki as CSS3DRender,
29049
29055
  Ud as CSS3DRenderPlugin,
29050
29056
  Wg as CameraMovementEffect,
29051
- VI as CameraMovementPlugin,
29057
+ VE as CameraMovementPlugin,
29052
29058
  UC as ContentType,
29053
- cE as CruisePlugin,
29054
- Es as CruisePluginController,
29055
- lE as CruisePluginTypes,
29059
+ cI as CruisePlugin,
29060
+ Is as CruisePluginController,
29061
+ lI as CruisePluginTypes,
29056
29062
  Gi as DIRECTION,
29057
29063
  qn as DISPLAY_STRATEGY_TYPE,
29058
29064
  qC as DimensionType,
29059
29065
  Pn as FLOOR_PLAN_ATTACHED_TO,
29060
- TI as FLOOR_TYPE_MAP,
29061
- dE as GuideLineItem,
29062
- aE as GuideLineModeItem,
29066
+ TE as FLOOR_TYPE_MAP,
29067
+ dI as GuideLineItem,
29068
+ aI as GuideLineModeItem,
29063
29069
  fP as GuideLinePlugin,
29064
29070
  Jn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
29065
- KI as ItemLabelPlugin,
29071
+ KE as ItemLabelPlugin,
29066
29072
  cv as Magnifier,
29067
- kI as MapviewFloorplanPlugin,
29068
- jI as ModelChassisCompassPlugin,
29069
- _I as ModelEntryDoorGuidePlugin,
29070
- II as ModelFloorplanPlugin,
29071
- UI as ModelItemLabelPlugin,
29072
- gI as ModelRoomLabelPlugin,
29073
- JI as ModelTVVideoPlugin,
29074
- hI as ModelViewPlugin,
29073
+ kE as MapviewFloorplanPlugin,
29074
+ jE as ModelChassisCompassPlugin,
29075
+ _E as ModelEntryDoorGuidePlugin,
29076
+ EE as ModelFloorplanPlugin,
29077
+ UE as ModelItemLabelPlugin,
29078
+ gE as ModelRoomLabelPlugin,
29079
+ JE as ModelTVVideoPlugin,
29080
+ hE as ModelViewPlugin,
29075
29081
  UP as Object3DHelperController,
29076
- hE as Object3DHelperPlugin,
29082
+ hI as Object3DHelperPlugin,
29077
29083
  _a as PLUGIN,
29078
- dI as PaintBrush,
29084
+ dE as PaintBrush,
29079
29085
  nn as PaintBrushTypeEnum,
29080
- QI as PanoCompassPlugin,
29081
- pI as PanoCursorRaycasterPlugin,
29082
- eE as PanoDoorLabelPlugin,
29083
- MI as PanoFloorplanRadarPlugin,
29084
- WI as PanoMeasurePlugin,
29086
+ QE as PanoCompassPlugin,
29087
+ pE as PanoCursorRaycasterPlugin,
29088
+ eI as PanoDoorLabelPlugin,
29089
+ ME as PanoFloorplanRadarPlugin,
29090
+ WE as PanoMeasurePlugin,
29085
29091
  bi as PanoMeasurePluginLine,
29086
29092
  Pa as PanoMeasurePluginModel,
29087
29093
  Bt as PanoMeasurePluginPoint,
29088
29094
  is as PanoMeasurePluginPolyline,
29089
- OI as PanoRulerPlugin,
29090
- RI as PanoRulerProPlugin,
29091
- FI as PanoSpatialTagPlugin,
29092
- rE as PanoTagPlugin,
29095
+ OE as PanoRulerPlugin,
29096
+ RE as PanoRulerProPlugin,
29097
+ FE as PanoSpatialTagPlugin,
29098
+ rI as PanoTagPlugin,
29093
29099
  ia as PanoTagPluginController,
29094
- fE as PanoVideoPlugin,
29095
- uE as PanoVideoPluginType,
29096
- LI as ROOM_FETILE_TYPE_MAP,
29097
- zI as ROOM_TYPE_MAP,
29100
+ fI as PanoVideoPlugin,
29101
+ uI as PanoVideoPluginType,
29102
+ LE as ROOM_FETILE_TYPE_MAP,
29103
+ zE as ROOM_TYPE_MAP,
29098
29104
  Yt as Rotation,
29099
- DI as TopviewFloorplanPlugin,
29100
- fI as Util,
29101
- $I as itemLabelPluginServerParams,
29102
- qI as modelItemLabelPluginServerParams,
29103
- vI as modelRoomLabelPluginServerParams,
29104
- sE as pluginFlag
29105
+ DE as TopviewFloorplanPlugin,
29106
+ fE as Util,
29107
+ $E as itemLabelPluginServerParams,
29108
+ qE as modelItemLabelPluginServerParams,
29109
+ vE as modelRoomLabelPluginServerParams,
29110
+ sI as pluginFlag
29105
29111
  };