@realsee/dnalogel 2.14.0-dev.3 → 2.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/index.cjs.js +16 -16
  2. package/dist/index.js +501 -499
  3. package/dist/index.umd.js +16 -16
  4. package/docs/classes/CSS3DRender.html +31 -31
  5. package/docs/classes/CruisePluginController.html +25 -25
  6. package/docs/classes/Magnifier.html +20 -20
  7. package/docs/classes/ModelRoomLabelController.html +11 -11
  8. package/docs/classes/Object3DHelperController.html +24 -24
  9. package/docs/classes/PaintBrush.html +15 -15
  10. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  11. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  12. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  13. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  14. package/docs/classes/PanoTagPluginController.html +46 -46
  15. package/docs/classes/Util.BetterTween.html +8 -8
  16. package/docs/classes/Util.FivePointSelector.html +12 -12
  17. package/docs/classes/Util.Interval.html +12 -12
  18. package/docs/classes/Util.Magnifier.html +17 -17
  19. package/docs/classes/Util.PointDomHelper.html +11 -11
  20. package/docs/classes/Util.PointHelper.html +11 -11
  21. package/docs/classes/Util.Rectangle.html +13 -13
  22. package/docs/enums/CameraMovementEffect.html +7 -7
  23. package/docs/enums/ContentType.html +19 -19
  24. package/docs/enums/DIRECTION.html +9 -9
  25. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/DimensionType.html +7 -7
  27. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  28. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  29. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  32. package/docs/functions/CameraMovementPlugin.html +5 -5
  33. package/docs/functions/CruisePlugin.html +5 -5
  34. package/docs/functions/GuideLinePlugin.html +5 -5
  35. package/docs/functions/ItemLabelPlugin.html +5 -5
  36. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  37. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  39. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  40. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  41. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  42. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  43. package/docs/functions/ModelViewPlugin.html +5 -5
  44. package/docs/functions/Object3DHelperPlugin.html +5 -5
  45. package/docs/functions/PanoCompassPlugin.html +5 -5
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  47. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  49. package/docs/functions/PanoMeasurePlugin.html +5 -5
  50. package/docs/functions/PanoRulerPlugin.html +5 -5
  51. package/docs/functions/PanoRulerProPlugin.html +5 -5
  52. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  53. package/docs/functions/PanoTagPlugin.html +5 -5
  54. package/docs/functions/PanoVideoPlugin.html +5 -5
  55. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  56. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  57. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  58. package/docs/functions/Util.getFrameTime.html +5 -5
  59. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  60. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  61. package/docs/functions/Util.isNil.html +5 -5
  62. package/docs/functions/Util.nextFrame.html +5 -5
  63. package/docs/functions/Util.notNil.html +5 -5
  64. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  65. package/docs/functions/Util.tweenProgress.html +5 -5
  66. package/docs/functions/pluginFlag.html +5 -5
  67. package/docs/index.html +4 -4
  68. package/docs/interfaces/AddTagConfig.html +6 -6
  69. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  70. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  71. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  72. package/docs/interfaces/EventMap.html +15 -15
  73. package/docs/interfaces/FloorplanBounding.html +8 -8
  74. package/docs/interfaces/FloorplanData.html +10 -10
  75. package/docs/interfaces/FloorplanEntrance.html +11 -11
  76. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  77. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  78. package/docs/interfaces/FloorplanFloorData.html +9 -9
  79. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  80. package/docs/interfaces/FloorplanObserver.html +9 -9
  81. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  82. package/docs/interfaces/FloorplanPosition.html +7 -7
  83. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  84. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  85. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  86. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  87. package/docs/interfaces/FloorplanServerData.html +7 -7
  88. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  89. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  90. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  92. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  94. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  95. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  96. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  97. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  98. package/docs/interfaces/HelperOffset.html +8 -8
  99. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  100. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  101. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  102. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  103. package/docs/interfaces/MinMax.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  106. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  107. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  108. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  109. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  110. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  111. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  112. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  113. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  114. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  115. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  116. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  117. package/docs/interfaces/Object3DHelperState.html +8 -8
  118. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  119. package/docs/interfaces/PaintBrushAction.html +12 -12
  120. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  121. package/docs/interfaces/PaintBrushState.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  124. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  125. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  126. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  127. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  129. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  130. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  131. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  132. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  133. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  134. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  136. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  137. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  139. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  140. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  141. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  144. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  145. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  146. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  147. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  148. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  149. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  150. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  151. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  152. package/docs/interfaces/Point.html +8 -8
  153. package/docs/interfaces/Room.html +9 -9
  154. package/docs/interfaces/RoomInfo.html +7 -7
  155. package/docs/interfaces/RoomLabel.html +14 -14
  156. package/docs/interfaces/RoomRules.html +5 -5
  157. package/docs/interfaces/Rooms.html +5 -5
  158. package/docs/interfaces/Scissor.html +9 -9
  159. package/docs/interfaces/State.html +8 -8
  160. package/docs/interfaces/TagCacheInterface.html +12 -12
  161. package/docs/interfaces/TagConfig.html +11 -11
  162. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  163. package/docs/interfaces/TagIconUrl.html +11 -11
  164. package/docs/interfaces/TagObjectGroup.html +6 -6
  165. package/docs/interfaces/TagStyle.html +6 -6
  166. package/docs/interfaces/Tags.html +9 -9
  167. package/docs/interfaces/TemporaryState.html +6 -6
  168. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  169. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  170. package/docs/modules/PanoVideoPluginType.html +5 -5
  171. package/docs/modules/Util.html +5 -5
  172. package/docs/modules.html +4 -4
  173. package/docs/types/ArrayPosition.html +5 -5
  174. package/docs/types/AudioAppearance.html +5 -5
  175. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  176. package/docs/types/CSS3DRenderExportType.html +5 -5
  177. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  178. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  179. package/docs/types/ClassFunctionParameters.html +5 -5
  180. package/docs/types/Color.html +5 -5
  181. package/docs/types/ContentTypeConfigKey.html +5 -5
  182. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  183. package/docs/types/ContentTypeMap.html +5 -5
  184. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  185. package/docs/types/Create3DElementReturnType.html +5 -5
  186. package/docs/types/CruisePluginExportType.html +5 -5
  187. package/docs/types/Direction-1.html +5 -5
  188. package/docs/types/Direction4.html +5 -5
  189. package/docs/types/FloorplanRuleLabels.html +5 -5
  190. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  191. package/docs/types/GuideLinePluginExportType.html +5 -5
  192. package/docs/types/HelperEventMap.html +5 -5
  193. package/docs/types/LoadTagConfig.html +5 -5
  194. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  195. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  196. package/docs/types/MediaData.html +5 -5
  197. package/docs/types/MediaStore.html +5 -5
  198. package/docs/types/ModelElement.html +5 -5
  199. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  200. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  201. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  202. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  203. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  204. package/docs/types/MoveArgs.html +5 -5
  205. package/docs/types/MoveOpts.html +5 -5
  206. package/docs/types/Object3DHelperEventMap.html +5 -5
  207. package/docs/types/ObjectFit.html +5 -5
  208. package/docs/types/PaintBrushEventMap.html +5 -5
  209. package/docs/types/PanoCompassPluginData.html +5 -5
  210. package/docs/types/PanoCompassPluginExportType.html +5 -5
  211. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  212. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  213. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  214. package/docs/types/PanoIndex.html +5 -5
  215. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  216. package/docs/types/PanoMeasureReturnType.html +5 -5
  217. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  218. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  219. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  220. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  221. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  222. package/docs/types/PlaneTag.html +5 -5
  223. package/docs/types/PlaneTagElement.html +5 -5
  224. package/docs/types/Point2DElement.html +5 -5
  225. package/docs/types/Point2DTag.html +5 -5
  226. package/docs/types/Point3DElement.html +5 -5
  227. package/docs/types/Point3DTag.html +5 -5
  228. package/docs/types/PointTag.html +5 -5
  229. package/docs/types/PointTagElement.html +5 -5
  230. package/docs/types/Position.html +5 -5
  231. package/docs/types/RotateArgs.html +5 -5
  232. package/docs/types/RotateOpts.html +5 -5
  233. package/docs/types/RuleLabelsKey.html +5 -5
  234. package/docs/types/RuleLabelsValue.html +5 -5
  235. package/docs/types/StickType.html +5 -5
  236. package/docs/types/Tag.html +5 -5
  237. package/docs/types/Tag2D.html +5 -5
  238. package/docs/types/Tag3D.html +5 -5
  239. package/docs/types/TagContentType.html +5 -5
  240. package/docs/types/TagDimensionType.html +5 -5
  241. package/docs/types/TagElement.html +5 -5
  242. package/docs/types/TagEvents.html +5 -5
  243. package/docs/types/TagGLTFObject.html +5 -5
  244. package/docs/types/TagHooks.html +5 -5
  245. package/docs/types/TagIconSize.html +5 -5
  246. package/docs/types/TagId.html +5 -5
  247. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  248. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  249. package/docs/types/WorkCode.html +5 -5
  250. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  251. package/docs/variables/PLUGIN.html +5 -5
  252. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  253. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  254. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  255. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  256. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  257. package/libs/ModelChassisCompassPlugin/Plugin.js +9 -9
  258. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +6 -6
  259. package/libs/base/BasePlugin.js +1 -1
  260. package/libs/shared-utils/three/loadTexture.js +20 -18
  261. package/package.json +1 -1
  262. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  263. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  264. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  265. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  266. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  267. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  268. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  269. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  270. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  271. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  272. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  273. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  274. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  275. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  276. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  277. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  278. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  279. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  280. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ var H = (i, t, e) => new Promise((n, o) => {
30
30
  import * as vi from "@tweenjs/tween.js";
31
31
  import En, { Tween as dc, Easing as hc } from "@tweenjs/tween.js";
32
32
  import { Camera as fc, Five as je, Subscribe as Ye } from "@realsee/five";
33
- import * as I from "three";
33
+ import * as C from "three";
34
34
  import { Vector3 as U, Group as Gt, Raycaster as Mt, MeshBasicMaterial as Cn, CanvasTexture as mc, AnimationMixer as pc, Color as Ln, TextureLoader as Ea, Vector2 as _e, PlaneGeometry as gc, sRGBEncoding as Ac, LinearFilter as Ji, Mesh as An, CurvePath as vc, LineCurve3 as bc, TubeGeometry as yc, ShaderMaterial as Ca, SphereGeometry as wc, DoubleSide as Pa, RingGeometry as Ec, Quaternion as mo, Euler as Ro, Matrix4 as fn, Object3D as Cc, VideoTexture as Pc, Vector4 as Ic, SphereBufferGeometry as kc } from "three";
35
35
  import { CSS3DRenderer as xc, CSS3DObject as Zi } from "three/examples/jsm/renderers/CSS3DRenderer";
36
36
  import { Line as Ia } from "@realsee/five/line";
@@ -581,48 +581,48 @@ const gb = (i, t) => {
581
581
  lockedPanoIndex: null,
582
582
  lockedLatitude: null,
583
583
  lockedLongitude: null
584
- }), t == null ? void 0 : t.config), l = new I.Scene(), c = new fc(60);
585
- let u = new I.Object3D(), d, h;
584
+ }), t == null ? void 0 : t.config), l = new C.Scene(), c = new fc(60);
585
+ let u = new C.Object3D(), d, h;
586
586
  {
587
- const R = new I.DirectionalLight(16777215, 0.5);
588
- R.position.copy(new I.Vector3(1, 1, 1)), l.add(R);
587
+ const R = new C.DirectionalLight(16777215, 0.5);
588
+ R.position.copy(new C.Vector3(1, 1, 1)), l.add(R);
589
589
  }
590
590
  {
591
- const R = new I.DirectionalLight(16777215, 0.3);
591
+ const R = new C.DirectionalLight(16777215, 0.3);
592
592
  l.add(R);
593
593
  }
594
594
  {
595
- const R = new I.AmbientLight(16777215, 0.3);
595
+ const R = new C.AmbientLight(16777215, 0.3);
596
596
  l.add(R);
597
597
  }
598
598
  l.add(u);
599
599
  const f = () => {
600
600
  if (n)
601
601
  return;
602
- d = L(i.model, c.fov, c.aspect), h = i.model.bounding.getCenter(new I.Vector3()), l.remove(u), u = W(i.model), l.add(u), n = !0, D();
602
+ d = L(i.model, c.fov, c.aspect), h = i.model.bounding.getCenter(new C.Vector3()), l.remove(u), u = W(i.model), l.add(u), n = !0, D();
603
603
  function R(X) {
604
604
  const G = X.clone();
605
605
  return G.uniforms.modelAlpha.value = 1, G.uniforms.map.value && (G.uniforms.map.value.needsUpdate = !0), G;
606
606
  }
607
607
  function W(X) {
608
- if (X instanceof I.Mesh) {
608
+ if (X instanceof C.Mesh) {
609
609
  const G = X.geometry, ee = Array.isArray(X.material) ? X.material.map(R) : R(X.material);
610
- return new I.Mesh(G, ee);
611
- } else if (X instanceof I.Group) {
612
- const G = new I.Group();
610
+ return new C.Mesh(G, ee);
611
+ } else if (X instanceof C.Group) {
612
+ const G = new C.Group();
613
613
  return X.children.forEach((ee) => G.add(W(ee))), G;
614
614
  } else {
615
- const G = new I.Object3D();
615
+ const G = new C.Object3D();
616
616
  return X.children.forEach((ee) => G.add(W(ee))), G;
617
617
  }
618
618
  }
619
619
  }, v = () => {
620
620
  if (!!i.renderer)
621
- 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;
621
+ return s || (s = new C.WebGLRenderer({ antialias: !1, alpha: !0 }), s.setPixelRatio(i.renderer.getPixelRatio()), s.outputEncoding = C.sRGBEncoding, s.setClearColor(1579548, 0), s.autoClear = !0), s;
622
622
  }, g = () => {
623
623
  u.traverse((R) => {
624
- R instanceof I.Mesh && [].concat(R.material).forEach((X) => X.dispose());
625
- }), l.remove(u), u = new I.Object3D(), l.add(u), n = !1, D();
624
+ R instanceof C.Mesh && [].concat(R.material).forEach((X) => X.dispose());
625
+ }), l.remove(u), u = new C.Object3D(), l.add(u), n = !1, D();
626
626
  }, p = () => {
627
627
  !e || n || f();
628
628
  }, A = () => {
@@ -654,14 +654,14 @@ const gb = (i, t) => {
654
654
  let Y = ee / 2 / Math.tan(Math.PI * W / 360);
655
655
  return X < 1 && (Y = Y / X), isNaN(Y) ? ee : Y;
656
656
  }
657
- function P(R) {
657
+ function I(R) {
658
658
  return i.work.observers[R].standingPosition.clone();
659
659
  }
660
660
  const D = () => {
661
661
  if (!e || !d || !h)
662
662
  return;
663
663
  const R = i.getPose();
664
- R.fov = c.fov, R.offset = h, R.distance = d, typeof a.lockedLatitude == "number" && (R.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (R.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (R.offset = P(a.lockedPanoIndex)), a.lookAtCurrentCamera && (R.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(R), o = !0;
664
+ R.fov = c.fov, R.offset = h, R.distance = d, 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;
665
665
  }, k = () => {
666
666
  !e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
667
667
  }, V = () => {
@@ -786,9 +786,9 @@ class Zt {
786
786
  }
787
787
  }
788
788
  const Wc = ({ x: i, y: t, z: e }) => new U(i, t, e), Je = (i) => new U().fromArray(i), Pn = (i) => i instanceof U ? i : Array.isArray(i) ? Je(i) : Wc(i);
789
- class _c extends I.Mesh {
789
+ class _c extends C.Mesh {
790
790
  constructor(e, n) {
791
- const o = new I.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: I.DoubleSide }), s = new I.PlaneGeometry(e, n);
791
+ const o = new C.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: C.DoubleSide }), s = new C.PlaneGeometry(e, n);
792
792
  super(s, o);
793
793
  m(this, "name", "opacity-mesh");
794
794
  }
@@ -806,8 +806,8 @@ function Mn(...i) {
806
806
  const Da = 1, Nc = `CSS3DObjectPlus@${Da}`, Xc = 216e-5, Yc = 3e-3;
807
807
  class Uc extends Zi {
808
808
  constructor(e) {
809
- var L, P, D;
810
- const n = e.container, o = e.cornerPoints, s = (L = e.ratio) != null ? L : Yc, r = (P = e.dpr) != null ? P : 1, a = (D = e.pointerEvents) != null ? D : "auto", l = Math.max(Xc, s), c = o[0].distanceTo(o[1]), u = o[1].distanceTo(o[2]), d = si(c / s * r), h = si(u / s * r), f = Mn(...o);
809
+ var L, I, D;
810
+ const n = e.container, o = e.cornerPoints, s = (L = e.ratio) != null ? L : Yc, r = (I = e.dpr) != null ? I : 1, a = (D = e.pointerEvents) != null ? D : "auto", l = Math.max(Xc, s), c = o[0].distanceTo(o[1]), u = o[1].distanceTo(o[2]), d = si(c / s * r), h = si(u / s * r), f = Mn(...o);
811
811
  let v;
812
812
  if (l === s)
813
813
  n.style.width = `${d}px`, n.style.height = `${h}px`, v = n;
@@ -905,7 +905,7 @@ class Uc extends Zi {
905
905
  this.scale.applyMatrix4(e), (n = this.opacityMesh) == null || n.scale.applyMatrix4(e);
906
906
  }
907
907
  }
908
- class qc extends I.Scene {
908
+ class qc extends C.Scene {
909
909
  constructor() {
910
910
  super();
911
911
  }
@@ -915,7 +915,7 @@ class qc extends I.Scene {
915
915
  }), this;
916
916
  }
917
917
  }
918
- class Jc extends I.Scene {
918
+ class Jc extends C.Scene {
919
919
  constructor(e) {
920
920
  super();
921
921
  m(this, "scene");
@@ -935,7 +935,7 @@ class Jc extends I.Scene {
935
935
  }), super.remove(...e), this;
936
936
  }
937
937
  }
938
- class La extends I.Group {
938
+ class La extends C.Group {
939
939
  constructor(e) {
940
940
  super();
941
941
  m(this, "isCSS3DGroup", !0);
@@ -1730,7 +1730,7 @@ function se() {
1730
1730
  function re() {
1731
1731
  pt.r || He(pt.c), pt = pt.p;
1732
1732
  }
1733
- function C(i, t) {
1733
+ function P(i, t) {
1734
1734
  i && i.i && (ii.delete(i), i.i(t));
1735
1735
  }
1736
1736
  function x(i, t, e, n) {
@@ -1820,7 +1820,7 @@ function ui(i, t) {
1820
1820
  h !== s && d && (se(), x(d, 1, 1, () => {
1821
1821
  t.blocks[h] === d && (t.blocks[h] = null);
1822
1822
  }), re());
1823
- }) : t.block.d(1), c.c(), C(c, 1), c.m(t.mount(), t.anchor), u = !0), t.block = c, t.blocks && (t.blocks[s] = c), u && Ao();
1823
+ }) : t.block.d(1), c.c(), P(c, 1), c.m(t.mount(), t.anchor), u = !0), t.block = c, t.blocks && (t.blocks[s] = c), u && Ao();
1824
1824
  }
1825
1825
  if (iu(i)) {
1826
1826
  const o = Ct();
@@ -1857,21 +1857,21 @@ function Ke(i, t, e, n, o, s, r, a, l, c, u, d) {
1857
1857
  g[i[v].key] = v;
1858
1858
  const p = [], A = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map();
1859
1859
  for (v = f; v--; ) {
1860
- const P = d(o, s, v), D = e(P);
1860
+ const I = d(o, s, v), D = e(I);
1861
1861
  let k = r.get(D);
1862
- k ? n && k.p(P, t) : (k = c(D, P), k.c()), A.set(D, p[v] = k), D in g && b.set(D, Math.abs(v - g[D]));
1862
+ k ? n && k.p(I, t) : (k = c(D, I), k.c()), A.set(D, p[v] = k), D in g && b.set(D, Math.abs(v - g[D]));
1863
1863
  }
1864
1864
  const w = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set();
1865
- function L(P) {
1866
- C(P, 1), P.m(a, u), r.set(P.key, P), u = P.first, f--;
1865
+ function L(I) {
1866
+ P(I, 1), I.m(a, u), r.set(I.key, I), u = I.first, f--;
1867
1867
  }
1868
1868
  for (; h && f; ) {
1869
- const P = p[f - 1], D = i[h - 1], k = P.key, V = D.key;
1870
- P === D ? (u = P.first, h--, f--) : A.has(V) ? !r.has(k) || w.has(k) ? L(P) : E.has(V) ? h-- : b.get(k) > b.get(V) ? (E.add(k), L(P)) : (w.add(V), h--) : (l(D, r), h--);
1869
+ const I = p[f - 1], D = i[h - 1], k = I.key, V = D.key;
1870
+ I === D ? (u = I.first, h--, f--) : A.has(V) ? !r.has(k) || w.has(k) ? L(I) : E.has(V) ? h-- : b.get(k) > b.get(V) ? (E.add(k), L(I)) : (w.add(V), h--) : (l(D, r), h--);
1871
1871
  }
1872
1872
  for (; h--; ) {
1873
- const P = i[h];
1874
- A.has(P.key) || l(P, r);
1873
+ const I = i[h];
1874
+ A.has(I.key) || l(I, r);
1875
1875
  }
1876
1876
  for (; f; )
1877
1877
  L(p[f - 1]);
@@ -1952,7 +1952,7 @@ function ie(i, t, e, n, o, s, r, a = [-1]) {
1952
1952
  c.fragment && c.fragment.l(d), d.forEach(S);
1953
1953
  } else
1954
1954
  c.fragment && c.fragment.c();
1955
- t.intro && C(i.$$.fragment), J(i, t.target, t.anchor, t.customElement), Ao();
1955
+ t.intro && P(i.$$.fragment), J(i, t.target, t.anchor, t.customElement), Ao();
1956
1956
  }
1957
1957
  lt(l);
1958
1958
  }
@@ -2319,7 +2319,7 @@ function Jo(i, t) {
2319
2319
  r & 1 && (a.roomLabel = t[13]), r & 2 && (a.five = t[1]), n.$set(a);
2320
2320
  },
2321
2321
  i(s) {
2322
- o || (C(n.$$.fragment, s), o = !0);
2322
+ o || (P(n.$$.fragment, s), o = !0);
2323
2323
  },
2324
2324
  o(s) {
2325
2325
  x(n.$$.fragment, s), o = !1;
@@ -2359,7 +2359,7 @@ function Hu(i) {
2359
2359
  i(c) {
2360
2360
  if (!o) {
2361
2361
  for (let u = 0; u < a.length; u += 1)
2362
- C(e[u]);
2362
+ P(e[u]);
2363
2363
  o = !0;
2364
2364
  }
2365
2365
  },
@@ -2382,14 +2382,14 @@ function Gu(i, t, e) {
2382
2382
  function c(A) {
2383
2383
  if (!(l === null || A.floorIndex === l))
2384
2384
  return !1;
2385
- const w = new Mt(), E = o.camera.position.clone(), L = new U(A.position.x, A.position.y, A.position.z), P = L.distanceTo(E);
2385
+ const w = new Mt(), E = o.camera.position.clone(), L = new U(A.position.x, A.position.y, A.position.z), I = L.distanceTo(E);
2386
2386
  w.set(E.clone(), L.clone().sub(E).normalize());
2387
2387
  const [D] = o.model.intersectRaycaster(w);
2388
- return !(D && D.distance + 1 < P);
2388
+ return !(D && D.distance + 1 < I);
2389
2389
  }
2390
2390
  function u(A, b) {
2391
- const E = new U(A.position.x, A.position.y, A.position.z).clone().project(o.camera), L = Math.ceil((E.x + 1) / 2 * b.x), P = Math.ceil((-E.y + 1) / 2 * b.y);
2392
- return `translate(${L}px, ${P}px)`;
2391
+ const E = new U(A.position.x, A.position.y, A.position.z).clone().project(o.camera), L = Math.ceil((E.x + 1) / 2 * b.x), I = Math.ceil((-E.y + 1) / 2 * b.y);
2392
+ return `translate(${L}px, ${I}px)`;
2393
2393
  }
2394
2394
  function d(A) {
2395
2395
  const { rendererSize: b, shownFloor: w } = A, E = /* @__PURE__ */ new Map();
@@ -2849,7 +2849,7 @@ function Ad(i) {
2849
2849
  o & 2 && (s.url = n[1].url), t.$set(s);
2850
2850
  },
2851
2851
  i(n) {
2852
- e || (C(t.$$.fragment, n), e = !0);
2852
+ e || (P(t.$$.fragment, n), e = !0);
2853
2853
  },
2854
2854
  o(n) {
2855
2855
  x(t.$$.fragment, n), e = !1;
@@ -2875,7 +2875,7 @@ function vd(i) {
2875
2875
  o & 1 && (s.content = n[0]), t.$set(s);
2876
2876
  },
2877
2877
  i(n) {
2878
- e || (C(t.$$.fragment, n), e = !0);
2878
+ e || (P(t.$$.fragment, n), e = !0);
2879
2879
  },
2880
2880
  o(n) {
2881
2881
  x(t.$$.fragment, n), e = !1;
@@ -2902,10 +2902,10 @@ function bd(i) {
2902
2902
  let u = e;
2903
2903
  e = a(l), e === u ? ~e && r[e].p(l, c) : (n && (se(), x(r[u], 1, 1, () => {
2904
2904
  r[u] = null;
2905
- }), re()), ~e ? (n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), C(n, 1), n.m(t, null)) : n = null);
2905
+ }), re()), ~e ? (n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), P(n, 1), n.m(t, null)) : n = null);
2906
2906
  },
2907
2907
  i(l) {
2908
- o || (C(n), o = !0);
2908
+ o || (P(n), o = !0);
2909
2909
  },
2910
2910
  o(l) {
2911
2911
  x(n), o = !1;
@@ -3055,7 +3055,7 @@ function kd(i, t, e) {
3055
3055
  ].every((Ae) => Id(Ae, Se));
3056
3056
  };
3057
3057
  }
3058
- const A = document.body.clientWidth, b = document.body.clientHeight, w = d.roomLabel, E = w.positionInImage.x * 100 + "%", L = w.positionInImage.y * 100 + "%", P = (A < 500 || b < 500 ? 10 : 14) + "px";
3058
+ const A = document.body.clientWidth, b = document.body.clientHeight, w = d.roomLabel, E = w.positionInImage.x * 100 + "%", L = w.positionInImage.y * 100 + "%", I = (A < 500 || b < 500 ? 10 : 14) + "px";
3059
3059
  let D = 0, k = 0, V = !1;
3060
3060
  h.subscribe(function(B) {
3061
3061
  e(16, V = !!B && B.id === d.id);
@@ -3081,7 +3081,7 @@ function kd(i, t, e) {
3081
3081
  n,
3082
3082
  E,
3083
3083
  L,
3084
- P,
3084
+ I,
3085
3085
  l,
3086
3086
  h,
3087
3087
  f,
@@ -3151,7 +3151,7 @@ function ts(i) {
3151
3151
  i(c) {
3152
3152
  if (!o) {
3153
3153
  for (let u = 0; u < a.length; u += 1)
3154
- C(e[u]);
3154
+ P(e[u]);
3155
3155
  o = !0;
3156
3156
  }
3157
3157
  },
@@ -3211,7 +3211,7 @@ function ns(i, t) {
3211
3211
  n.$set(c);
3212
3212
  },
3213
3213
  i(a) {
3214
- o || (C(n.$$.fragment, a), o = !0);
3214
+ o || (P(n.$$.fragment, a), o = !0);
3215
3215
  },
3216
3216
  o(a) {
3217
3217
  x(n.$$.fragment, a), o = !1;
@@ -3231,12 +3231,12 @@ function Ld(i) {
3231
3231
  n && n.m(o, s), M(o, t, s), e = !0;
3232
3232
  },
3233
3233
  p(o, [s]) {
3234
- o[8] ? n ? (n.p(o, s), s & 256 && C(n, 1)) : (n = ts(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
3234
+ o[8] ? n ? (n.p(o, s), s & 256 && P(n, 1)) : (n = ts(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
3235
3235
  n = null;
3236
3236
  }), re());
3237
3237
  },
3238
3238
  i(o) {
3239
- e || (C(n), e = !0);
3239
+ e || (P(n), e = !0);
3240
3240
  },
3241
3241
  o(o) {
3242
3242
  x(n), e = !1;
@@ -3467,7 +3467,7 @@ function ls(i, t) {
3467
3467
  n.$set(c);
3468
3468
  },
3469
3469
  i(a) {
3470
- o || (C(n.$$.fragment, a), o = !0);
3470
+ o || (P(n.$$.fragment, a), o = !0);
3471
3471
  },
3472
3472
  o(a) {
3473
3473
  x(n.$$.fragment, a), o = !1;
@@ -3503,7 +3503,7 @@ function Od(i) {
3503
3503
  i(a) {
3504
3504
  if (!o) {
3505
3505
  for (let l = 0; l < s.length; l += 1)
3506
- C(e[l]);
3506
+ P(e[l]);
3507
3507
  o = !0;
3508
3508
  }
3509
3509
  },
@@ -3706,7 +3706,7 @@ function $d(i) {
3706
3706
  o & 1 && (s.path = n[5].path), t.$set(s);
3707
3707
  },
3708
3708
  i(n) {
3709
- e || (C(t.$$.fragment, n), e = !0);
3709
+ e || (P(t.$$.fragment, n), e = !0);
3710
3710
  },
3711
3711
  o(n) {
3712
3712
  x(t.$$.fragment, n), e = !1;
@@ -3730,7 +3730,7 @@ function eh(i) {
3730
3730
  o & 1 && (s.path = n[5].path), t.$set(s);
3731
3731
  },
3732
3732
  i(n) {
3733
- e || (C(t.$$.fragment, n), e = !0);
3733
+ e || (P(t.$$.fragment, n), e = !0);
3734
3734
  },
3735
3735
  o(n) {
3736
3736
  x(t.$$.fragment, n), e = !1;
@@ -3754,7 +3754,7 @@ function th(i) {
3754
3754
  o & 1 && (s.path = n[5].path), t.$set(s);
3755
3755
  },
3756
3756
  i(n) {
3757
- e || (C(t.$$.fragment, n), e = !0);
3757
+ e || (P(t.$$.fragment, n), e = !0);
3758
3758
  },
3759
3759
  o(n) {
3760
3760
  x(t.$$.fragment, n), e = !1;
@@ -3781,10 +3781,10 @@ function hs(i) {
3781
3781
  let u = e;
3782
3782
  e = a(l), e === u ? r[e].p(l, c) : (se(), x(r[u], 1, 1, () => {
3783
3783
  r[u] = null;
3784
- }), re(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), C(n, 1), n.m(t, null));
3784
+ }), re(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), P(n, 1), n.m(t, null));
3785
3785
  },
3786
3786
  i(l) {
3787
- o || (C(n), o = !0);
3787
+ o || (P(n), o = !0);
3788
3788
  },
3789
3789
  o(l) {
3790
3790
  x(n), o = !1;
@@ -3820,7 +3820,7 @@ function nh(i) {
3820
3820
  let l;
3821
3821
  for (l = 0; l < n.length; l += 1) {
3822
3822
  const c = ds(r, n, l);
3823
- o[l] ? (o[l].p(c, a), C(o[l], 1)) : (o[l] = hs(c), o[l].c(), C(o[l], 1), o[l].m(t, null));
3823
+ o[l] ? (o[l].p(c, a), P(o[l], 1)) : (o[l] = hs(c), o[l].c(), P(o[l], 1), o[l].m(t, null));
3824
3824
  }
3825
3825
  for (se(), l = n.length; l < o.length; l += 1)
3826
3826
  s(l);
@@ -3830,7 +3830,7 @@ function nh(i) {
3830
3830
  i(r) {
3831
3831
  if (!e) {
3832
3832
  for (let a = 0; a < n.length; a += 1)
3833
- C(o[a]);
3833
+ P(o[a]);
3834
3834
  e = !0;
3835
3835
  }
3836
3836
  },
@@ -3978,7 +3978,7 @@ function ms(i, t) {
3978
3978
  n.$set(c);
3979
3979
  },
3980
3980
  i(a) {
3981
- o || (C(n.$$.fragment, a), o = !0);
3981
+ o || (P(n.$$.fragment, a), o = !0);
3982
3982
  },
3983
3983
  o(a) {
3984
3984
  x(n.$$.fragment, a), o = !1;
@@ -4014,7 +4014,7 @@ function uh(i) {
4014
4014
  i(l) {
4015
4015
  if (!s) {
4016
4016
  for (let c = 0; c < r.length; c += 1)
4017
- C(n[c]);
4017
+ P(n[c]);
4018
4018
  s = !0;
4019
4019
  }
4020
4020
  },
@@ -4097,7 +4097,7 @@ function ps(i) {
4097
4097
  t.$set(a);
4098
4098
  },
4099
4099
  i(s) {
4100
- e || (C(t.$$.fragment, s), e = !0);
4100
+ e || (P(t.$$.fragment, s), e = !0);
4101
4101
  },
4102
4102
  o(s) {
4103
4103
  x(t.$$.fragment, s), e = !1;
@@ -4147,7 +4147,7 @@ function gs(i) {
4147
4147
  t.$set(a);
4148
4148
  },
4149
4149
  i(s) {
4150
- e || (C(t.$$.fragment, s), e = !0);
4150
+ e || (P(t.$$.fragment, s), e = !0);
4151
4151
  },
4152
4152
  o(s) {
4153
4153
  x(t.$$.fragment, s), e = !1;
@@ -4187,7 +4187,7 @@ function As(i) {
4187
4187
  t.$set(a);
4188
4188
  },
4189
4189
  i(s) {
4190
- e || (C(t.$$.fragment, s), e = !0);
4190
+ e || (P(t.$$.fragment, s), e = !0);
4191
4191
  },
4192
4192
  o(s) {
4193
4193
  x(t.$$.fragment, s), e = !1;
@@ -4235,7 +4235,7 @@ function fh(i) {
4235
4235
  floorplanData: A[8]
4236
4236
  }
4237
4237
  ]) : {};
4238
- e.$set(w), A[2] || A[3] ? h ? (h.p(A, b), b & 12 && C(h, 1)) : (h = ps(A), h.c(), C(h, 1), h.m(t, o)) : h && (se(), x(h, 1, 1, () => {
4238
+ e.$set(w), A[2] || A[3] ? h ? (h.p(A, b), b & 12 && P(h, 1)) : (h = ps(A), h.c(), P(h, 1), h.m(t, o)) : h && (se(), x(h, 1, 1, () => {
4239
4239
  h = null;
4240
4240
  }), re());
4241
4241
  const E = b & 258 ? Re(f, [
@@ -4244,14 +4244,14 @@ function fh(i) {
4244
4244
  floorIndex: A[1]
4245
4245
  }
4246
4246
  ]) : {};
4247
- s.$set(E), A[4] ? g ? (g.p(A, b), b & 16 && C(g, 1)) : (g = gs(A), g.c(), C(g, 1), g.m(t, a)) : g && (se(), x(g, 1, 1, () => {
4247
+ s.$set(E), A[4] ? g ? (g.p(A, b), b & 16 && P(g, 1)) : (g = gs(A), g.c(), P(g, 1), g.m(t, a)) : g && (se(), x(g, 1, 1, () => {
4248
4248
  g = null;
4249
- }), re()), A[7] ? p ? (p.p(A, b), b & 128 && C(p, 1)) : (p = As(A), p.c(), C(p, 1), p.m(t, null)) : p && (se(), x(p, 1, 1, () => {
4249
+ }), re()), A[7] ? p ? (p.p(A, b), b & 128 && P(p, 1)) : (p = As(A), p.c(), P(p, 1), p.m(t, null)) : p && (se(), x(p, 1, 1, () => {
4250
4250
  p = null;
4251
4251
  }), re()), (!c || b & 1 && l !== (l = Me(`floorplan-plugin__floor${A[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && y(t, "class", l);
4252
4252
  },
4253
4253
  i(A) {
4254
- c || (C(e.$$.fragment, A), C(h), C(s.$$.fragment, A), C(g), C(p), c = !0);
4254
+ c || (P(e.$$.fragment, A), P(h), P(s.$$.fragment, A), P(g), P(p), c = !0);
4255
4255
  },
4256
4256
  o(A) {
4257
4257
  x(e.$$.fragment, A), x(h), x(s.$$.fragment, A), x(g), x(p), c = !1;
@@ -4346,23 +4346,23 @@ function bs(i) {
4346
4346
  let f;
4347
4347
  for (f = 0; f < r.length; f += 1) {
4348
4348
  const v = vs(i, r, f);
4349
- a[f] ? (a[f].p(v, h), C(a[f], 1)) : (a[f] = ys(v), a[f].c(), C(a[f], 1), a[f].m(t, e));
4349
+ a[f] ? (a[f].p(v, h), P(a[f], 1)) : (a[f] = ys(v), a[f].c(), P(a[f], 1), a[f].m(t, e));
4350
4350
  }
4351
4351
  for (se(), f = r.length; f < a.length; f += 1)
4352
4352
  l(f);
4353
4353
  re();
4354
4354
  }
4355
- i[5] ? c ? (c.p(i, h), h & 32 && C(c, 1)) : (c = ws(i), c.c(), C(c, 1), c.m(t, n)) : c && (se(), x(c, 1, 1, () => {
4355
+ i[5] ? c ? (c.p(i, h), h & 32 && P(c, 1)) : (c = ws(i), c.c(), P(c, 1), c.m(t, n)) : c && (se(), x(c, 1, 1, () => {
4356
4356
  c = null;
4357
- }), re()), i[8] ? u ? (u.p(i, h), h & 256 && C(u, 1)) : (u = Es(i), u.c(), C(u, 1), u.m(t, null)) : u && (se(), x(u, 1, 1, () => {
4357
+ }), re()), i[8] ? u ? (u.p(i, h), h & 256 && P(u, 1)) : (u = Es(i), u.c(), P(u, 1), u.m(t, null)) : u && (se(), x(u, 1, 1, () => {
4358
4358
  u = null;
4359
4359
  }), re());
4360
4360
  },
4361
4361
  i(d) {
4362
4362
  if (!s) {
4363
4363
  for (let h = 0; h < r.length; h += 1)
4364
- C(a[h]);
4365
- C(c), C(u), o || Qe(() => {
4364
+ P(a[h]);
4365
+ P(c), P(u), o || Qe(() => {
4366
4366
  o = Tt(t, St, {
4367
4367
  duration: i[0],
4368
4368
  easing: At
@@ -4441,7 +4441,7 @@ function ys(i) {
4441
4441
  t.$set(a);
4442
4442
  },
4443
4443
  i(s) {
4444
- e || (C(t.$$.fragment, s), e = !0);
4444
+ e || (P(t.$$.fragment, s), e = !0);
4445
4445
  },
4446
4446
  o(s) {
4447
4447
  x(t.$$.fragment, s), e = !1;
@@ -4483,7 +4483,7 @@ function ws(i) {
4483
4483
  t.$set(a);
4484
4484
  },
4485
4485
  i(s) {
4486
- e || (C(t.$$.fragment, s), e = !0);
4486
+ e || (P(t.$$.fragment, s), e = !0);
4487
4487
  },
4488
4488
  o(s) {
4489
4489
  x(t.$$.fragment, s), e = !1;
@@ -4512,7 +4512,7 @@ function Es(i) {
4512
4512
  o & 8192 && (s.floorplanData = n[13]), o & 4 && (s.northDesc = n[2]), t.$set(s);
4513
4513
  },
4514
4514
  i(n) {
4515
- e || (C(t.$$.fragment, n), e = !0);
4515
+ e || (P(t.$$.fragment, n), e = !0);
4516
4516
  },
4517
4517
  o(n) {
4518
4518
  x(t.$$.fragment, n), e = !1;
@@ -4532,12 +4532,12 @@ function Ah(i) {
4532
4532
  n && n.m(o, s), M(o, t, s), e = !0;
4533
4533
  },
4534
4534
  p(o, [s]) {
4535
- o[1] ? n ? (n.p(o, s), s & 2 && C(n, 1)) : (n = bs(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
4535
+ o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = bs(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
4536
4536
  n = null;
4537
4537
  }), re());
4538
4538
  },
4539
4539
  i(o) {
4540
- e || (C(n), e = !0);
4540
+ e || (P(n), e = !0);
4541
4541
  },
4542
4542
  o(o) {
4543
4543
  x(n), e = !1;
@@ -4548,9 +4548,9 @@ function Ah(i) {
4548
4548
  };
4549
4549
  }
4550
4550
  function vh(i, t, e) {
4551
- let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: u } = t, { compassEnable: d } = t, { roomLabelsEnable: h } = t, { roomAreaEnable: f } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: p } = t, { lastPanoramaLongitude: A } = t, { cameraImageUrl: b } = t, { getRoomAreaText: w } = t, { getLabelElement: E } = t, { getRuleDistanceText: L } = t, { adaptiveRoomLabelVisibleEnable: P } = t, { highlightData: D } = t;
4551
+ let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: u } = t, { compassEnable: d } = t, { roomLabelsEnable: h } = t, { roomAreaEnable: f } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: p } = t, { lastPanoramaLongitude: A } = t, { cameraImageUrl: b } = t, { getRoomAreaText: w } = t, { getLabelElement: E } = t, { getRuleDistanceText: L } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: D } = t;
4552
4552
  return i.$$set = (k) => {
4553
- "duration" in k && e(0, n = k.duration), "visible" in k && e(1, o = k.visible), "northDesc" in k && e(2, s = k.northDesc), "panoIndex" in k && e(3, r = k.panoIndex), "floorIndex" in k && e(4, a = k.floorIndex), "cameraEnable" in k && e(5, l = k.cameraEnable), "hoverEnable" in k && e(6, c = k.hoverEnable), "highlightEnable" in k && e(7, u = k.highlightEnable), "compassEnable" in k && e(8, d = k.compassEnable), "roomLabelsEnable" in k && e(9, h = k.roomLabelsEnable), "roomAreaEnable" in k && e(10, f = k.roomAreaEnable), "roomNameEnable" in k && e(11, v = k.roomNameEnable), "ruleLabelsEnable" in k && e(12, g = k.ruleLabelsEnable), "floorplanData" in k && e(13, p = k.floorplanData), "lastPanoramaLongitude" in k && e(14, A = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(15, b = k.cameraImageUrl), "getRoomAreaText" in k && e(16, w = k.getRoomAreaText), "getLabelElement" in k && e(17, E = k.getLabelElement), "getRuleDistanceText" in k && e(18, L = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(19, P = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(20, D = k.highlightData);
4553
+ "duration" in k && e(0, n = k.duration), "visible" in k && e(1, o = k.visible), "northDesc" in k && e(2, s = k.northDesc), "panoIndex" in k && e(3, r = k.panoIndex), "floorIndex" in k && e(4, a = k.floorIndex), "cameraEnable" in k && e(5, l = k.cameraEnable), "hoverEnable" in k && e(6, c = k.hoverEnable), "highlightEnable" in k && e(7, u = k.highlightEnable), "compassEnable" in k && e(8, d = k.compassEnable), "roomLabelsEnable" in k && e(9, h = k.roomLabelsEnable), "roomAreaEnable" in k && e(10, f = k.roomAreaEnable), "roomNameEnable" in k && e(11, v = k.roomNameEnable), "ruleLabelsEnable" in k && e(12, g = k.ruleLabelsEnable), "floorplanData" in k && e(13, p = k.floorplanData), "lastPanoramaLongitude" in k && e(14, A = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(15, b = k.cameraImageUrl), "getRoomAreaText" in k && e(16, w = k.getRoomAreaText), "getLabelElement" in k && e(17, E = k.getLabelElement), "getRuleDistanceText" in k && e(18, L = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(19, I = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(20, D = k.highlightData);
4554
4554
  }, [
4555
4555
  n,
4556
4556
  o,
@@ -4571,7 +4571,7 @@ function vh(i, t, e) {
4571
4571
  w,
4572
4572
  E,
4573
4573
  L,
4574
- P,
4574
+ I,
4575
4575
  D
4576
4576
  ];
4577
4577
  }
@@ -4713,12 +4713,12 @@ function Eo(i, t, e = Dt.BOUNDING_CENTER) {
4713
4713
  return e === Dt.BOUNDING_CENTER ? (i.model.bounding.max.y + i.model.bounding.min.y) / 2 : e === Dt.CEILING ? o : n;
4714
4714
  }
4715
4715
  function Co(i, t, e, n) {
4716
- const o = Eo(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);
4716
+ const o = Eo(i, e, n == null ? void 0 : n.attachedTo), s = new C.Vector3(0, o, 0), r = new C.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
4717
4717
  return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
4718
4718
  }
4719
4719
  class zn {
4720
4720
  constructor(t, e) {
4721
- m(this, "VERSION", "2.14.0-dev.3");
4721
+ m(this, "VERSION", "2.14.1");
4722
4722
  m(this, "five");
4723
4723
  m(this, "hooks", new Zt());
4724
4724
  m(this, "staticPrefix", "//vrlab-static.ljcdn.com");
@@ -5314,7 +5314,7 @@ class zh extends zt {
5314
5314
  }
5315
5315
  updatePosition() {
5316
5316
  var a;
5317
- const e = Eo(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
5317
+ const e = Eo(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new C.Vector3()).setY(e);
5318
5318
  if (!n)
5319
5319
  return;
5320
5320
  const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
@@ -5485,7 +5485,7 @@ class Bh extends zt {
5485
5485
  }
5486
5486
  updatePosition() {
5487
5487
  var a;
5488
- const e = Eo(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
5488
+ const e = Eo(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new C.Vector3()).setY(e);
5489
5489
  if (!n)
5490
5490
  return;
5491
5491
  const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
@@ -5798,7 +5798,7 @@ function ks(i) {
5798
5798
  t.$set(a);
5799
5799
  },
5800
5800
  i(s) {
5801
- e || (C(t.$$.fragment, s), e = !0);
5801
+ e || (P(t.$$.fragment, s), e = !0);
5802
5802
  },
5803
5803
  o(s) {
5804
5804
  x(t.$$.fragment, s), e = !1;
@@ -5841,12 +5841,12 @@ function _h(i) {
5841
5841
  ]) : {};
5842
5842
  t.$set(h);
5843
5843
  const f = {};
5844
- d & 32 && (f.extraObjects = u[5]), n.$set(f), u[3] ? c ? (c.p(u, d), d & 8 && C(c, 1)) : (c = ks(u), c.c(), C(c, 1), c.m(s.parentNode, s)) : c && (se(), x(c, 1, 1, () => {
5844
+ d & 32 && (f.extraObjects = u[5]), n.$set(f), u[3] ? c ? (c.p(u, d), d & 8 && P(c, 1)) : (c = ks(u), c.c(), P(c, 1), c.m(s.parentNode, s)) : c && (se(), x(c, 1, 1, () => {
5845
5845
  c = null;
5846
5846
  }), re());
5847
5847
  },
5848
5848
  i(u) {
5849
- r || (C(t.$$.fragment, u), C(n.$$.fragment, u), C(c), r = !0);
5849
+ r || (P(t.$$.fragment, u), P(n.$$.fragment, u), P(c), r = !0);
5850
5850
  },
5851
5851
  o(u) {
5852
5852
  x(t.$$.fragment, u), x(n.$$.fragment, u), x(c), r = !1;
@@ -5903,12 +5903,12 @@ function xs(i) {
5903
5903
  ], n = !0);
5904
5904
  },
5905
5905
  p(r, a) {
5906
- r[6] !== 0 ? s ? (s.p(r, a), a & 64 && C(s, 1)) : (s = Ds(r), s.c(), C(s, 1), s.m(t, null)) : s && (se(), x(s, 1, 1, () => {
5906
+ r[6] !== 0 ? s ? (s.p(r, a), a & 64 && P(s, 1)) : (s = Ds(r), s.c(), P(s, 1), s.m(t, null)) : s && (se(), x(s, 1, 1, () => {
5907
5907
  s = null;
5908
5908
  }), re());
5909
5909
  },
5910
5910
  i(r) {
5911
- e || (C(s), e = !0);
5911
+ e || (P(s), e = !0);
5912
5912
  },
5913
5913
  o(r) {
5914
5914
  x(s), e = !1;
@@ -5975,7 +5975,7 @@ function Ds(i) {
5975
5975
  o.$set(g), f & 256 && s !== (s = `${h[8]}px`) && T(t, "width", s), f & 2048 && r !== (r = `${h[11]}px`) && T(t, "height", r);
5976
5976
  },
5977
5977
  i(h) {
5978
- a || (C(e.$$.fragment, h), C(o.$$.fragment, h), a = !0);
5978
+ a || (P(e.$$.fragment, h), P(o.$$.fragment, h), a = !0);
5979
5979
  },
5980
5980
  o(h) {
5981
5981
  x(e.$$.fragment, h), x(o.$$.fragment, h), a = !1;
@@ -5995,12 +5995,12 @@ function Uh(i) {
5995
5995
  n && n.m(o, s), M(o, t, s), e = !0;
5996
5996
  },
5997
5997
  p(o, [s]) {
5998
- o[1] ? n ? (n.p(o, s), s & 2 && C(n, 1)) : (n = xs(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
5998
+ o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = xs(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
5999
5999
  n = null;
6000
6000
  }), re());
6001
6001
  },
6002
6002
  i(o) {
6003
- e || (C(n), e = !0);
6003
+ e || (P(n), e = !0);
6004
6004
  },
6005
6005
  o(o) {
6006
6006
  x(n), e = !1;
@@ -6028,7 +6028,7 @@ function qh(i, t, e) {
6028
6028
  "five" in E && e(0, n = E.five), "visible" in E && e(1, o = E.visible), "hoverEnable" in E && e(2, s = E.hoverEnable), "floorplanData" in E && e(3, r = E.floorplanData), "cameraImageUrl" in E && e(4, a = E.cameraImageUrl), "extraObjects" in E && e(5, l = E.extraObjects);
6029
6029
  }, i.$$.update = () => {
6030
6030
  if (i.$$.dirty & 456) {
6031
- const E = Math.min(d, h), { max: L, min: P } = r.bounding, D = L.x - P.x, k = L.y - P.y, V = function() {
6031
+ const E = Math.min(d, h), { max: L, min: I } = r.bounding, D = L.x - I.x, k = L.y - I.y, V = function() {
6032
6032
  return D > k ? [E, E / D * k] : [E / k * D, E];
6033
6033
  }();
6034
6034
  e(8, f = V[0]), e(11, v = V[1]), e(9, c = f / D);
@@ -6293,7 +6293,7 @@ const Cb = (i, t) => new Zh(i, t), Pb = [
6293
6293
  { roomType: "100900000015", description: "\u5546\u94FA" },
6294
6294
  { roomType: "100900000016", description: "\u5199\u5B57\u697C" }
6295
6295
  ], Vi = (i, t, e) => {
6296
- const n = new I.Matrix4(), o = new I.Euler(i, t, e, "YXZ");
6296
+ const n = new C.Matrix4(), o = new C.Euler(i, t, e, "YXZ");
6297
6297
  return n.makeRotationFromEuler(o), n;
6298
6298
  }, Kh = (i, {
6299
6299
  scale: t,
@@ -6317,7 +6317,7 @@ function ul(i, t) {
6317
6317
  }
6318
6318
  const xb = (i, t) => {
6319
6319
  var u;
6320
- const e = t.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", n = (u = t.north_rad) != null ? u : void 0, o = {}, s = (d) => H(void 0, null, function* () {
6320
+ const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", n = (u = t.north_rad) != null ? u : void 0, o = {}, s = (d) => H(void 0, null, function* () {
6321
6321
  var F;
6322
6322
  const h = (d == null ? void 0 : d.fbx_url) || e, f = (F = d == null ? void 0 : d.north_rad) != null ? F : n;
6323
6323
  if (typeof f != "number")
@@ -6325,19 +6325,19 @@ const xb = (i, t) => {
6325
6325
  const v = i.model.bounding, g = v.max.x - v.min.x, p = v.max.z - v.min.z, A = Math.max(g, p), w = yield new ka().loadAsync(h);
6326
6326
  ul(w, {
6327
6327
  transparent: !0,
6328
- side: I.DoubleSide,
6329
- blending: I.AdditiveBlending
6328
+ side: C.DoubleSide,
6329
+ blending: C.AdditiveBlending
6330
6330
  });
6331
6331
  const E = [0, f - Math.PI / 2, 0], {
6332
6332
  model: {
6333
6333
  bounding: {
6334
- max: { x: L, z: P },
6334
+ max: { x: L, z: I },
6335
6335
  min: { x: D, y: k, z: V }
6336
6336
  }
6337
6337
  }
6338
6338
  } = i;
6339
6339
  o.yBase = k;
6340
- const _ = { x: (L + D) / 2, y: k - 1.6, z: (P + V) / 2 }, O = 45e-4 * A;
6340
+ const _ = { x: (L + D) / 2, y: k - 1.6, z: (I + V) / 2 }, O = 45e-4 * A;
6341
6341
  return Kh(w, { position: _, rotation: E, scale: O }), o.object = w, !0;
6342
6342
  }), r = ({ latitude: d }) => {
6343
6343
  if (!o.object)
@@ -6376,11 +6376,11 @@ const ef = ({ x: i, y: t, z: e }) => new U(i, t, e), Db = (i, t) => {
6376
6376
  const w = (_ = b == null ? void 0 : b.position) != null ? _ : o;
6377
6377
  if (!w)
6378
6378
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
6379
- const E = ef(w), L = (O = b == null ? void 0 : b.rad) != null ? O : s, P = (F = b == null ? void 0 : b.fbx_url) != null ? F : r;
6379
+ const E = ef(w), L = (O = b == null ? void 0 : b.rad) != null ? O : s, I = (F = b == null ? void 0 : b.fbx_url) != null ? F : r;
6380
6380
  if (e.rad = L, L === void 0)
6381
6381
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${L}`));
6382
- const D = yield new ka().loadAsync(P);
6383
- D.position.copy(E), D.rotation.z = L, D.scale.set(0.8, 0.8, 0.8), ul(D, { transparent: !0, side: I.DoubleSide });
6382
+ const D = yield new ka().loadAsync(I);
6383
+ D.position.copy(E), D.rotation.z = L, D.scale.set(0.8, 0.8, 0.8), ul(D, { transparent: !0, side: C.DoubleSide });
6384
6384
  const k = (X = (W = (R = (B = D.children) == null ? void 0 : B[0]) == null ? void 0 : R.children) == null ? void 0 : W[3]) == null ? void 0 : X.clone();
6385
6385
  if (!k)
6386
6386
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${k}`));
@@ -6396,7 +6396,7 @@ const ef = ({ x: i, y: t, z: e }) => new U(i, t, e), Db = (i, t) => {
6396
6396
  const E = w.clipAction(e.object.animations[0]);
6397
6397
  E.timeScale = b;
6398
6398
  let L;
6399
- const P = () => {
6399
+ const I = () => {
6400
6400
  let _ = 0, O = 0;
6401
6401
  const F = 1e3 / 30, B = (R) => {
6402
6402
  _ = requestAnimationFrame(B);
@@ -6407,7 +6407,7 @@ const ef = ({ x: i, y: t, z: e }) => new U(i, t, e), Db = (i, t) => {
6407
6407
  cancelAnimationFrame(_);
6408
6408
  };
6409
6409
  }, V = { play: () => {
6410
- L || (E.play(), L = P(), requestAnimationFrame(() => {
6410
+ L || (E.play(), L = I(), requestAnimationFrame(() => {
6411
6411
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
6412
6412
  }));
6413
6413
  }, stop: () => {
@@ -6741,7 +6741,7 @@ const cf = `<style type="text/css">
6741
6741
  if (!b)
6742
6742
  return !1;
6743
6743
  for (const w in p) {
6744
- const E = p[w], { standingPosition: L } = b.observers[0], P = E.map(({ x: D, z: k, observers: V }) => {
6744
+ const E = p[w], { standingPosition: L } = b.observers[0], I = E.map(({ x: D, z: k, observers: V }) => {
6745
6745
  const _ = V.length > 0 ? g.rooms[g.observers[V[0]]].name : "", O = A[_] ? A[_].floor : null;
6746
6746
  let F = 1 / 0, B = {
6747
6747
  index: 0,
@@ -6766,19 +6766,19 @@ const cf = `<style type="text/css">
6766
6766
  return X && Object.assign(X, { observers: V }), { origin: R, vertical: X };
6767
6767
  });
6768
6768
  r[w] = {
6769
- origins: P.map((D) => D.origin),
6769
+ origins: I.map((D) => D.origin),
6770
6770
  rules: []
6771
6771
  };
6772
- for (const { origin: D, vertical: k } of P) {
6772
+ for (const { origin: D, vertical: k } of I) {
6773
6773
  if (!k)
6774
6774
  continue;
6775
6775
  const V = n(w, D.distanceTo(k));
6776
6776
  o.append(V), r[w].rules.push({ vertical: !0, rule: [D, k], $element: V });
6777
6777
  }
6778
- for (let D = 0; D < P.length; D++) {
6778
+ for (let D = 0; D < I.length; D++) {
6779
6779
  let k = D + 1;
6780
- k >= P.length && (k = 0);
6781
- const { origin: V } = P[D], { origin: _ } = P[k], O = n(w, V.distanceTo(_));
6780
+ k >= I.length && (k = 0);
6781
+ const { origin: V } = I[D], { origin: _ } = I[k], O = n(w, V.distanceTo(_));
6782
6782
  o.append(O), r[w].rules.push({ vertical: !1, rule: [V, _], $element: O });
6783
6783
  }
6784
6784
  }
@@ -6812,8 +6812,8 @@ const cf = `<style type="text/css">
6812
6812
  ]
6813
6813
  ], E = [];
6814
6814
  for (let L = 0; L < w.length; L++) {
6815
- const P = fl([g, p], [w[L][0], w[L][1]], !0);
6816
- P && E.push(P);
6815
+ const I = fl([g, p], [w[L][0], w[L][1]], !0);
6816
+ I && E.push(I);
6817
6817
  }
6818
6818
  return E.length === 0 ? !1 : E;
6819
6819
  }, u = () => {
@@ -6833,7 +6833,7 @@ const cf = `<style type="text/css">
6833
6833
  O.style.display = "none";
6834
6834
  return;
6835
6835
  }
6836
- const E = A.position, L = A.getWorldDirection(new U()), P = g.clientWidth, D = g.clientHeight;
6836
+ const E = A.position, L = A.getWorldDirection(new U()), I = g.clientWidth, D = g.clientHeight;
6837
6837
  if (b !== je.Mode.Panorama) {
6838
6838
  for (const _ in r)
6839
6839
  for (const { $element: O } of r[_].rules)
@@ -6880,12 +6880,12 @@ const cf = `<style type="text/css">
6880
6880
  F.style.display = "none";
6881
6881
  continue;
6882
6882
  }
6883
- const he = B.clone().project(A), de = (he.x + 1) / 2 * P, pe = (-he.y + 1) / 2 * D, Ce = R.clone().project(A), Pe = (Ce.x + 1) / 2 * P, Se = (-Ce.y + 1) / 2 * D, ce = Math.sqrt(Math.pow(Pe - de, 2) + Math.pow(Se - pe, 2));
6883
+ const he = B.clone().project(A), de = (he.x + 1) / 2 * I, pe = (-he.y + 1) / 2 * D, Ce = R.clone().project(A), Pe = (Ce.x + 1) / 2 * I, Se = (-Ce.y + 1) / 2 * D, ce = Math.sqrt(Math.pow(Pe - de, 2) + Math.pow(Se - pe, 2));
6884
6884
  let Ae = ce, Ee = 50;
6885
6885
  const ue = c({ x: ~~de, y: ~~pe }, {
6886
6886
  x: ~~Pe,
6887
6887
  y: ~~Se
6888
- }, P, D);
6888
+ }, I, D);
6889
6889
  if (ue && ue.length === 1 && (k === B ? (Ae = Math.sqrt(Math.pow(ue[0].x - de, 2) + Math.pow(ue[0].y - pe, 2)), Ee = Ae / ce * 50) : k === R && (Ae = Math.sqrt(Math.pow(ue[0].x - Pe, 2) + Math.pow(ue[0].y - Se, 2)), Ee = 100 - Ae / ce * 50)), ue && ue.length === 2) {
6890
6890
  const te = {
6891
6891
  x: (ue[0].x + ue[1].x) / 2,
@@ -6907,8 +6907,8 @@ const cf = `<style type="text/css">
6907
6907
  const p = g.distanceText;
6908
6908
  e.options.distanceText = p, Object.values(r).forEach((A) => {
6909
6909
  A.rules.forEach((b) => {
6910
- const [w, E] = b.rule, L = w.distanceTo(E), P = b.$element.querySelector(".PanoRulerPlugin-rule-label-name");
6911
- !P || (P.innerText = p(L));
6910
+ const [w, E] = b.rule, L = w.distanceTo(E), I = b.$element.querySelector(".PanoRulerPlugin-rule-label-name");
6911
+ !I || (I.innerText = p(L));
6912
6912
  });
6913
6913
  });
6914
6914
  }
@@ -7055,7 +7055,7 @@ function js(i) {
7055
7055
  o & 1 && (s.rulerItemProp = n[12]), t.$set(s);
7056
7056
  },
7057
7057
  i(n) {
7058
- e || (C(t.$$.fragment, n), e = !0);
7058
+ e || (P(t.$$.fragment, n), e = !0);
7059
7059
  },
7060
7060
  o(n) {
7061
7061
  x(t.$$.fragment, n), e = !1;
@@ -7090,7 +7090,7 @@ function vf(i) {
7090
7090
  let l;
7091
7091
  for (l = 0; l < n.length; l += 1) {
7092
7092
  const c = Bs(r, n, l);
7093
- o[l] ? (o[l].p(c, a), C(o[l], 1)) : (o[l] = js(c), o[l].c(), C(o[l], 1), o[l].m(t, null));
7093
+ o[l] ? (o[l].p(c, a), P(o[l], 1)) : (o[l] = js(c), o[l].c(), P(o[l], 1), o[l].m(t, null));
7094
7094
  }
7095
7095
  for (se(), l = n.length; l < o.length; l += 1)
7096
7096
  s(l);
@@ -7100,7 +7100,7 @@ function vf(i) {
7100
7100
  i(r) {
7101
7101
  if (!e) {
7102
7102
  for (let a = 0; a < n.length; a += 1)
7103
- C(o[a]);
7103
+ P(o[a]);
7104
7104
  e = !0;
7105
7105
  }
7106
7106
  },
@@ -7124,23 +7124,23 @@ function bf(i, t, e) {
7124
7124
  [{ x: 0, y: 0 }, { x: 0, y: l }],
7125
7125
  [{ x: a, y: 0 }, { x: a, y: l }],
7126
7126
  [{ x: 0, y: l }, { x: a, y: l }]
7127
- ], P = [];
7127
+ ], I = [];
7128
7128
  for (let D = 0; D < L.length; D++) {
7129
7129
  const k = fl([w, E], [L[D][0], L[D][1]], !0);
7130
- k && P.push(k);
7130
+ k && I.push(k);
7131
7131
  }
7132
- return P.length === 0 ? !1 : P;
7132
+ return I.length === 0 ? !1 : I;
7133
7133
  }, u = (w, E) => {
7134
- const L = w.clone().project(n.camera), P = (L.x + 1) / 2 * a, D = (-L.y + 1) / 2 * l, k = E.clone().project(n.camera), V = (k.x + 1) / 2 * a, _ = (-k.y + 1) / 2 * l, O = Math.sqrt(Math.pow(V - P, 2) + Math.pow(_ - D, 2));
7134
+ const L = w.clone().project(n.camera), I = (L.x + 1) / 2 * a, D = (-L.y + 1) / 2 * l, k = E.clone().project(n.camera), V = (k.x + 1) / 2 * a, _ = (-k.y + 1) / 2 * l, O = Math.sqrt(Math.pow(V - I, 2) + Math.pow(_ - D, 2));
7135
7135
  return {
7136
- startLeft: P,
7136
+ startLeft: I,
7137
7137
  startTop: D,
7138
7138
  endLeft: V,
7139
7139
  endTop: _,
7140
7140
  distance: O
7141
7141
  };
7142
7142
  }, d = (w, E, L) => {
7143
- const P = n.camera.position, D = n.camera.getWorldDirection(new U()), k = w.clone().sub(P).normalize().angleTo(D), V = E.clone().sub(P).normalize().angleTo(D), _ = w.distanceTo(E), F = E.clone().sub(E.clone().sub(w).divide(new U(2, 2, 2))).distanceTo(P), { startLeft: B, startTop: R, endLeft: W, endTop: X, distance: G } = u(w, E), Y = -((Math.PI / 2 - Math.atan2(W - B, R - X)) / Math.PI) * 180;
7143
+ const I = n.camera.position, D = n.camera.getWorldDirection(new U()), k = w.clone().sub(I).normalize().angleTo(D), V = E.clone().sub(I).normalize().angleTo(D), _ = w.distanceTo(E), F = E.clone().sub(E.clone().sub(w).divide(new U(2, 2, 2))).distanceTo(I), { startLeft: B, startTop: R, endLeft: W, endTop: X, distance: G } = u(w, E), Y = -((Math.PI / 2 - Math.atan2(W - B, R - X)) / Math.PI) * 180;
7144
7144
  let ae = !0;
7145
7145
  L || (ae = !1), !nt(w, L) && !nt(E, L) && (ae = !1), _ < 0.3 && (ae = !1), k > Math.PI / 2 && (ae = !1), V > Math.PI / 2 && (ae = !1), F / _ > 8 && (ae = !1);
7146
7146
  let he = 50, de = G;
@@ -7167,8 +7167,8 @@ function bf(i, t, e) {
7167
7167
  return e(0, r = []);
7168
7168
  if (n.currentMode !== je.Mode.Panorama)
7169
7169
  return e(0, r = []);
7170
- const L = n.camera.position, P = n.camera.getWorldDirection(new U()), D = E.lines.map((O) => new U(O.start[0], -O.start[1], -O.start[2])), k = E.lines.map((O) => new U(O.end[0], -O.end[1], -O.end[2])), [V] = D.concat(k).sort((O, F) => {
7171
- const B = O.clone().setY(0).sub(L).normalize().angleTo(P.clone().setY(0)), R = F.clone().setY(0).sub(L).normalize().angleTo(P.clone().setY(0));
7170
+ const L = n.camera.position, I = n.camera.getWorldDirection(new U()), D = E.lines.map((O) => new U(O.start[0], -O.start[1], -O.start[2])), k = E.lines.map((O) => new U(O.end[0], -O.end[1], -O.end[2])), [V] = D.concat(k).sort((O, F) => {
7171
+ const B = O.clone().setY(0).sub(L).normalize().angleTo(I.clone().setY(0)), R = F.clone().setY(0).sub(L).normalize().angleTo(I.clone().setY(0));
7172
7172
  return B - R;
7173
7173
  }), _ = E.lines.map((O) => {
7174
7174
  var de, pe;
@@ -7285,12 +7285,14 @@ function Cf() {
7285
7285
  }
7286
7286
  };
7287
7287
  }
7288
- const Pf = new I.TextureLoader();
7288
+ const Pf = new C.TextureLoader();
7289
7289
  function ro(i) {
7290
7290
  return H(this, null, function* () {
7291
7291
  return new Promise((t, e) => {
7292
7292
  Pf.load(i, t, void 0, e);
7293
- }).then((t) => (t.encoding = I.sRGBEncoding, t.minFilter = I.LinearFilter, t));
7293
+ }).then((t) => (t.encoding = C.sRGBEncoding, t.minFilter = C.LinearFilter, t.wrapS = C.ClampToEdgeWrapping, t.wrapT = C.ClampToEdgeWrapping, setTimeout(() => {
7294
+ t.wrapS !== C.ClampToEdgeWrapping && console.warn("ios 16.4 texture \u4E0D\u652F\u6301 ClampToEdgeWrapping \u4EE5\u5916\u7684\u65B9\u5F0F");
7295
+ }), t));
7294
7296
  });
7295
7297
  }
7296
7298
  const Yn = { userAction: !0 };
@@ -7306,7 +7308,7 @@ class If extends zt {
7306
7308
  }
7307
7309
  });
7308
7310
  m(this, "data");
7309
- m(this, "group", new I.Group());
7311
+ m(this, "group", new C.Group());
7310
7312
  m(this, "roomInfoInstance");
7311
7313
  m(this, "roomInfoWrapperInstance");
7312
7314
  m(this, "compassMeshTween");
@@ -7350,12 +7352,12 @@ class If extends zt {
7350
7352
  var h;
7351
7353
  (h = this.compassMesh) == null || h.material.setValues({ opacity: d }), this.five.needsRender = !0;
7352
7354
  }).play())), this.entryDoorMesh) {
7353
- const h = new I.Vector3(
7355
+ const h = new C.Vector3(
7354
7356
  this.data.entrance.position.x,
7355
7357
  this.data.entrance.position.y,
7356
7358
  this.data.entrance.position.z
7357
7359
  ).clone().setY(n.y).sub(n).normalize(), f = n.clone().add(h.clone().multiplyScalar(0.7)).setY(n.y + 0.01);
7358
- this.entryDoorMesh.rotation.z = new I.Vector3(0, 0, -1).angleTo(h), this.entryDoorMesh.position.copy(f), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (u = this.entryDoorMesh) == null || u.material.setValues({ opacity: 0 });
7360
+ this.entryDoorMesh.rotation.z = new C.Vector3(0, 0, -1).angleTo(h), this.entryDoorMesh.position.copy(f), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (u = this.entryDoorMesh) == null || u.material.setValues({ opacity: 0 });
7359
7361
  }
7360
7362
  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;
7361
7363
  });
@@ -7444,32 +7446,32 @@ class If extends zt {
7444
7446
  }
7445
7447
  loadCompassMesh() {
7446
7448
  return H(this, null, function* () {
7447
- const e = this.state.config.compassImageUrl, n = yield ro(e), o = new I.CircleGeometry(0.7, 32), s = new I.MeshBasicMaterial({
7449
+ const e = this.state.config.compassImageUrl, n = yield ro(e), o = new C.CircleGeometry(0.7, 32), s = new C.MeshBasicMaterial({
7448
7450
  map: n,
7449
7451
  transparent: !0,
7450
7452
  opacity: 0,
7451
7453
  depthTest: !1
7452
- }), r = new I.Mesh(o, s);
7454
+ }), r = new C.Mesh(o, s);
7453
7455
  return r.name = "pano-compass-mesh", r;
7454
7456
  });
7455
7457
  }
7456
7458
  loadEntryDoorMesh() {
7457
7459
  return H(this, null, function* () {
7458
- const e = this.state.config.entryDoorImageUrl, n = yield ro(e), o = new I.PlaneGeometry(0.2, 0.16), s = new I.MeshBasicMaterial({
7460
+ const e = this.state.config.entryDoorImageUrl, n = yield ro(e), o = new C.PlaneGeometry(0.2, 0.16), s = new C.MeshBasicMaterial({
7459
7461
  map: n,
7460
7462
  transparent: !0,
7461
7463
  opacity: 0.8,
7462
7464
  depthTest: !1
7463
- }), r = new I.Mesh(o, s);
7465
+ }), r = new C.Mesh(o, s);
7464
7466
  return r.name = "pano-compass-entry-door", r;
7465
7467
  });
7466
7468
  }
7467
7469
  loadRoomInfo() {
7468
7470
  const e = [
7469
- new I.Vector3(-0.7, 0, -0.7),
7470
- new I.Vector3(0.7, 0, -0.7),
7471
- new I.Vector3(0.7, 0, 0.7),
7472
- new I.Vector3(-0.7, 0, 0.7)
7471
+ new C.Vector3(-0.7, 0, -0.7),
7472
+ new C.Vector3(0.7, 0, -0.7),
7473
+ new C.Vector3(0.7, 0, 0.7),
7474
+ new C.Vector3(-0.7, 0, 0.7)
7473
7475
  ];
7474
7476
  return Tn(this.five).create3DDomContainer(e);
7475
7477
  }
@@ -7501,7 +7503,7 @@ class xf {
7501
7503
  m(this, "config");
7502
7504
  m(this, "offset", { x: 0, y: 0 });
7503
7505
  m(this, "context");
7504
- m(this, "renderCenter", new I.Vector3());
7506
+ m(this, "renderCenter", new C.Vector3());
7505
7507
  m(this, "hammer");
7506
7508
  m(this, "state", { enabled: !1 });
7507
7509
  m(this, "offsetRange");
@@ -7580,7 +7582,7 @@ class xf {
7580
7582
  if (!this.containerDom)
7581
7583
  return;
7582
7584
  const { width: t, height: e } = this, [n, o, s] = (() => {
7583
- if (this.renderCenter instanceof I.Vector3) {
7585
+ if (this.renderCenter instanceof C.Vector3) {
7584
7586
  const r = this.renderCenter.clone().project(this.five.camera);
7585
7587
  return [
7586
7588
  (r.x + 1) / 2 * this.containerDom.clientWidth,
@@ -7595,8 +7597,8 @@ class xf {
7595
7597
  render() {
7596
7598
  if (!this.five.renderer || !this.containerDom)
7597
7599
  return;
7598
- const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new I.Vector2()), [r, a] = (() => {
7599
- if (this.renderCenter instanceof I.Vector3) {
7600
+ const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new C.Vector2()), [r, a] = (() => {
7601
+ if (this.renderCenter instanceof C.Vector3) {
7600
7602
  const p = this.renderCenter.clone().project(this.five.camera);
7601
7603
  return [(p.x + 1) / 2 * s.x, (p.y + 1) / 2 * s.y];
7602
7604
  } else
@@ -7842,10 +7844,10 @@ function Wf(i) {
7842
7844
  const b = A.getElement();
7843
7845
  if (!b)
7844
7846
  return;
7845
- const w = b.clientWidth, E = b.clientHeight, L = w / 2, P = E / 2;
7847
+ const w = b.clientWidth, E = b.clientHeight, L = w / 2, I = E / 2;
7846
7848
  if (e.points.length < 2)
7847
7849
  return;
7848
- const [D, k] = e.points, V = D.position.clone().project(A.camera), _ = k.position.clone().project(A.camera), O = V.clone().lerp(_, 0.5), F = new _e(V.x * L, V.y * P), B = new _e(_.x * L, _.y * P), R = F.distanceTo(B);
7850
+ const [D, k] = e.points, V = D.position.clone().project(A.camera), _ = k.position.clone().project(A.camera), O = V.clone().lerp(_, 0.5), F = new _e(V.x * L, V.y * I), B = new _e(_.x * L, _.y * I), R = F.distanceTo(B);
7849
7851
  if ((() => !(Math.abs(V.z) > 1 || Math.abs(_.z) > 1 || !Qi(V) && !Qi(_) || !Qi(O) || R === 0))() === !1) {
7850
7852
  s.style.opacity = "0", s.style.pointerEvents = "none";
7851
7853
  return;
@@ -7865,8 +7867,8 @@ function Wf(i) {
7865
7867
  var D, k, V;
7866
7868
  if (e.points.length < 2)
7867
7869
  return "";
7868
- const [A, b] = e.points, w = A.position.clone().distanceTo(b.position), E = (D = i.line.text) != null ? D : i.line.model.config.defaultText, L = (V = (k = i.line.model.config) == null ? void 0 : k.getDistanceText) == null ? void 0 : V.call(k, w), P = E != null ? E : L;
7869
- return P != null ? P : w.toFixed(2) + "m";
7870
+ const [A, b] = e.points, w = A.position.clone().distanceTo(b.position), E = (D = i.line.text) != null ? D : i.line.model.config.defaultText, L = (V = (k = i.line.model.config) == null ? void 0 : k.getDistanceText) == null ? void 0 : V.call(k, w), I = E != null ? E : L;
7871
+ return I != null ? I : w.toFixed(2) + "m";
7870
7872
  }
7871
7873
  function p(A) {
7872
7874
  t = A;
@@ -8471,7 +8473,7 @@ const bl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAADYCAYAAACJIC3tAA
8471
8473
  `;
8472
8474
  function Zf() {
8473
8475
  }
8474
- const { Vector2: Kf } = I;
8476
+ const { Vector2: Kf } = C;
8475
8477
  function $f(i, t) {
8476
8478
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
8477
8479
  return Object.assign(new Kf(), {
@@ -9507,9 +9509,9 @@ function Dm(i, t, e) {
9507
9509
  },
9508
9510
  100
9509
9511
  );
9510
- const w = (P) => {
9512
+ const w = (I) => {
9511
9513
  const D = Object.keys(h);
9512
- let k = P.target;
9514
+ let k = I.target;
9513
9515
  for (; k; ) {
9514
9516
  const V = k.getAttribute("class");
9515
9517
  if (!V) {
@@ -9528,10 +9530,10 @@ function Dm(i, t, e) {
9528
9530
  Ze(() => {
9529
9531
  f.emit("initTag", { id: n });
9530
9532
  });
9531
- const E = Il.subscribe((P) => {
9532
- if (P === null)
9533
+ const E = Il.subscribe((I) => {
9534
+ if (I === null)
9533
9535
  return;
9534
- const [D, k] = P.split("-PanoSpatialTagPlugin-");
9536
+ const [D, k] = I.split("-PanoSpatialTagPlugin-");
9535
9537
  n === D && (f.emit("clickOrigin", { id: n, show: A }), b || (e(10, A = u), e(12, u = !u), b = setTimeout(
9536
9538
  () => {
9537
9539
  b = void 0;
@@ -9544,13 +9546,13 @@ function Dm(i, t, e) {
9544
9546
  }), Pt(() => {
9545
9547
  f.emit("destroyTag", { id: n }), E(), d();
9546
9548
  });
9547
- function L(P) {
9548
- Oe[P ? "unshift" : "push"](() => {
9549
- p = P, e(9, p);
9549
+ function L(I) {
9550
+ Oe[I ? "unshift" : "push"](() => {
9551
+ p = I, e(9, p);
9550
9552
  });
9551
9553
  }
9552
- return i.$$set = (P) => {
9553
- "id" in P && e(0, n = P.id), "upsideDown" in P && e(1, o = P.upsideDown), "content" in P && e(2, s = P.content), "contentZoom" in P && e(3, r = P.contentZoom), "lineWidthZoom" in P && e(4, a = P.lineWidthZoom), "lineHeightZoom" in P && e(5, l = P.lineHeightZoom), "destroying" in P && e(6, c = P.destroying), "folded" in P && e(12, u = P.folded), "dispose" in P && e(13, d = P.dispose), "events" in P && e(14, h = P.events), "hooks" in P && e(15, f = P.hooks);
9554
+ return i.$$set = (I) => {
9555
+ "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, u = I.folded), "dispose" in I && e(13, d = I.dispose), "events" in I && e(14, h = I.events), "hooks" in I && e(15, f = I.hooks);
9554
9556
  }, [
9555
9557
  n,
9556
9558
  o,
@@ -9759,15 +9761,15 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9759
9761
  target: h,
9760
9762
  props: { origins: g.origins }
9761
9763
  }), A = (ce, Ae) => {
9762
- L(), Ae && P();
9764
+ L(), Ae && I();
9763
9765
  }, b = () => {
9764
- g.forbidden && (g.forbidden = !1, P());
9766
+ g.forbidden && (g.forbidden = !1, I());
9765
9767
  }, w = (ce, Ae) => {
9766
9768
  if (g.tags.length === 0)
9767
9769
  return;
9768
9770
  const Ee = Ae.longitude - i.state.longitude, ue = i.camera.clone();
9769
- ue.position.copy(Ae.offset), ue.rotateOnWorldAxis(new I.Vector3(0, 1, 0), Ee), ue.updateProjectionMatrix(), ue.updateMatrixWorld(!0);
9770
- const Ue = new I.Frustum(), rt = new I.Matrix4();
9771
+ ue.position.copy(Ae.offset), ue.rotateOnWorldAxis(new C.Vector3(0, 1, 0), Ee), ue.updateProjectionMatrix(), ue.updateMatrixWorld(!0);
9772
+ const Ue = new C.Frustum(), rt = new C.Matrix4();
9771
9773
  rt.multiplyMatrices(
9772
9774
  ue.projectionMatrix,
9773
9775
  ue.matrixWorldInverse
@@ -9800,7 +9802,7 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9800
9802
  }, L = () => {
9801
9803
  if (g.forbidden || !g.enabled)
9802
9804
  return;
9803
- const ce = i.camera, Ae = ce.getWorldDirection(new I.Vector3());
9805
+ const ce = i.camera, Ae = ce.getWorldDirection(new C.Vector3());
9804
9806
  g.origins = g.tags.map((Ee) => {
9805
9807
  const ue = Ee.position.clone().project(ce), Ue = Ee.position.clone().sub(ce.position).setY(0).angleTo(Ae.setY(0)) < Math.PI / 2;
9806
9808
  return {
@@ -9811,14 +9813,14 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9811
9813
  destroying: Ee.destroying
9812
9814
  };
9813
9815
  }), p.$set({ origins: g.origins });
9814
- }, P = () => {
9816
+ }, I = () => {
9815
9817
  g.forbidden || !g.enabled || (g.timeoutId && clearTimeout(g.timeoutId), g.timeoutId = setTimeout(() => {
9816
9818
  g.timeoutId = void 0;
9817
9819
  const ce = D();
9818
9820
  ce.length && (g.tags = g.tags.concat(ce), L());
9819
9821
  }, o));
9820
9822
  }, D = () => {
9821
- const { clientWidth: ce, clientHeight: Ae } = i.getElement(), Ee = [], ue = i.camera, Ue = new I.Frustum(), rt = new I.Matrix4(), ye = ue.getWorldDirection(new I.Vector3());
9823
+ const { clientWidth: ce, clientHeight: Ae } = i.getElement(), Ee = [], ue = i.camera, Ue = new C.Frustum(), rt = new C.Matrix4(), ye = ue.getWorldDirection(new C.Vector3());
9822
9824
  rt.multiplyMatrices(
9823
9825
  ue.projectionMatrix,
9824
9826
  ue.matrixWorldInverse
@@ -9880,19 +9882,19 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9880
9882
  ) > a;
9881
9883
  }))
9882
9884
  continue;
9883
- const Bt = new I.Raycaster(
9885
+ const Bt = new C.Raycaster(
9884
9886
  ue.position.clone().setY(n),
9885
9887
  et.position.clone().sub(ue.position.clone().setY(n)).normalize(),
9886
9888
  0,
9887
9889
  et.distance + Us
9888
9890
  ), [kt] = g.intersectObjects ? Bt.intersectObjects(g.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(Bt) : Bt.intersectObjects(i.model.children, !0);
9889
9891
  if (!!kt && et.distance - kt.distance < Us) {
9890
- const { position: ke, normal: Te, id: xt, replacement: Vn } = et, ec = new I.Plane().setFromNormalAndCoplanarPoint(Te, ke), Oo = ke.clone().sub(ue.position).cross(new I.Vector3(0, 1, 0)).setLength(Fi), tc = [
9892
+ const { position: ke, normal: Te, id: xt, replacement: Vn } = et, ec = new C.Plane().setFromNormalAndCoplanarPoint(Te, ke), Oo = ke.clone().sub(ue.position).cross(new C.Vector3(0, 1, 0)).setLength(Fi), tc = [
9891
9893
  ke.clone(),
9892
9894
  ke.clone().add(Oo),
9893
- ke.clone().add(new I.Vector3(0, Fi, 0)).add(Oo),
9894
- ke.clone().add(new I.Vector3(0, Fi, 0))
9895
- ].map((sc) => ec.projectPoint(sc, new I.Vector3())), { container: nc, dispose: ic } = d.create3DDomContainer(tc) || {}, oc = new Lm({
9895
+ ke.clone().add(new C.Vector3(0, Fi, 0)).add(Oo),
9896
+ ke.clone().add(new C.Vector3(0, Fi, 0))
9897
+ ].map((sc) => ec.projectPoint(sc, new C.Vector3())), { container: nc, dispose: ic } = d.create3DDomContainer(tc) || {}, oc = new Lm({
9896
9898
  target: nc,
9897
9899
  props: {
9898
9900
  id: xt,
@@ -9921,16 +9923,16 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9921
9923
  var Ee, ue;
9922
9924
  return {
9923
9925
  id: Ae.id,
9924
- position: new I.Vector3().fromArray(Ae.position),
9925
- normal: new I.Vector3().fromArray(Ae.normal),
9926
+ position: new C.Vector3().fromArray(Ae.position),
9927
+ normal: new C.Vector3().fromArray(Ae.normal),
9926
9928
  replacement: (Ee = Ae.replacement) != null ? Ee : {},
9927
9929
  weight: (ue = Ae.weight) != null ? ue : -1
9928
9930
  };
9929
9931
  }), ce.render && (g.render = ce.render), ce.template && (g.template = ce.template), ce.events && (g.events = ce.events), ce.enabled === !1 && (g.enabled = ce.enabled), ce.folded === !0 && (g.folded = ce.folded);
9930
9932
  }, V = (ce) => {
9931
- g.intersectObjects = ce, P();
9933
+ g.intersectObjects = ce, I();
9932
9934
  }, _ = () => {
9933
- g.enabled = !0, P();
9935
+ g.enabled = !0, I();
9934
9936
  }, O = () => {
9935
9937
  g.enabled = !1, p.$set({ origins: [] }), g.tags.forEach((ce) => {
9936
9938
  ce.app.$destroy(), ce = null;
@@ -9954,7 +9956,7 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9954
9956
  }, X = () => {
9955
9957
  i.once("renderFrame", L);
9956
9958
  }, G = () => {
9957
- e || (e = i.getElement().parentElement), e && e.appendChild(h), g.forbidden = !1, n = i.model.bounding.getCenter(new I.Vector3()).y, P(), i.on("panoWillArrive", w), i.on("panoArrived", b), i.on("modeChange", E), i.on("cameraUpdate", A);
9959
+ e || (e = i.getElement().parentElement), e && e.appendChild(h), g.forbidden = !1, n = i.model.bounding.getCenter(new C.Vector3()).y, I(), i.on("panoWillArrive", w), i.on("panoArrived", b), i.on("modeChange", E), i.on("cameraUpdate", A);
9958
9960
  }, ee = () => {
9959
9961
  v = null, d.disposeAll(), p.$destroy(), g.tags.forEach((ce) => {
9960
9962
  ce.app.$destroy(), ce = null;
@@ -10049,7 +10051,7 @@ function Js(i, t) {
10049
10051
  r & 2 && (a.itemLabel = t[26]), r & 1 && (a.hooks = t[0]), n.$set(a);
10050
10052
  },
10051
10053
  i(s) {
10052
- o || (C(n.$$.fragment, s), o = !0);
10054
+ o || (P(n.$$.fragment, s), o = !0);
10053
10055
  },
10054
10056
  o(s) {
10055
10057
  x(n.$$.fragment, s), o = !1;
@@ -10085,7 +10087,7 @@ function Hm(i) {
10085
10087
  i(l) {
10086
10088
  if (!s) {
10087
10089
  for (let c = 0; c < r.length; c += 1)
10088
- C(e[c]);
10090
+ P(e[c]);
10089
10091
  s = !0;
10090
10092
  }
10091
10093
  },
@@ -10104,7 +10106,7 @@ function Hm(i) {
10104
10106
  }
10105
10107
  let Zs = 26, Gm = 11;
10106
10108
  function Wm(i, t, e) {
10107
- const { Raycaster: n, Vector3: o } = I;
10109
+ const { Raycaster: n, Vector3: o } = C;
10108
10110
  let { five: s } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, u = null, d = null, h, f, v = [], g = !0;
10109
10111
  const p = (B, R) => {
10110
10112
  const W = new n(), X = B.camera.position.clone(), G = new o().fromArray(R.modelPosition), ee = G.distanceTo(X);
@@ -10147,7 +10149,7 @@ function Wm(i, t, e) {
10147
10149
  const ee = X.findIndex((Y) => Y.itemLabelItem.id === G.id);
10148
10150
  return ee !== void 0 ? fe(Q({}, G), { zIndex: ee * 10 }) : G;
10149
10151
  });
10150
- }, P = () => {
10152
+ }, I = () => {
10151
10153
  v = [], e(1, d = L(s, d));
10152
10154
  };
10153
10155
  Wa(() => {
@@ -10157,19 +10159,19 @@ function Wm(i, t, e) {
10157
10159
  e(4, g = !1), k();
10158
10160
  };
10159
10161
  Ze(() => {
10160
- e(1, d = a), u = a, P(), V(), s.on("cameraUpdate", D);
10162
+ e(1, d = a), u = a, I(), V(), s.on("cameraUpdate", D);
10161
10163
  });
10162
10164
  const k = kl(
10163
10165
  () => {
10164
- e(4, g = !0), P();
10166
+ e(4, g = !0), I();
10165
10167
  },
10166
10168
  300
10167
10169
  ), V = () => {
10168
10170
  window.addEventListener("resize", O, !1);
10169
10171
  }, _ = () => {
10170
- u !== a && (e(1, d = a), u = a, P());
10172
+ u !== a && (e(1, d = a), u = a, I());
10171
10173
  }, O = () => {
10172
- s.once("renderFrame", P);
10174
+ s.once("renderFrame", I);
10173
10175
  };
10174
10176
  Pt(() => {
10175
10177
  s.off("cameraUpdate", D), window.removeEventListener("resize", O, !1);
@@ -10348,7 +10350,7 @@ const Ob = (i, { videoElement: t }) => {
10348
10350
  A.geometry.dispose(), A.material.dispose(), i.scene.remove(A), e.videoTexture && e.videoTexture.image.pause();
10349
10351
  }), e.videoMeshes = [], i.needsRender = !0);
10350
10352
  }, c = () => e.rectPoints.map((A, b) => {
10351
- const w = new I.BufferGeometry(), E = 128, L = [];
10353
+ const w = new C.BufferGeometry(), E = 128, L = [];
10352
10354
  L.push(...A[0].toArray());
10353
10355
  for (let B = 1; B < E; B++)
10354
10356
  L.push(
@@ -10364,24 +10366,24 @@ const Ob = (i, { videoElement: t }) => {
10364
10366
  A[2].z + (A[3].z - A[2].z) * B / E
10365
10367
  );
10366
10368
  L.push(...A[3].toArray());
10367
- const P = [];
10368
- P.push(0, 1);
10369
+ const I = [];
10370
+ I.push(0, 1);
10369
10371
  for (let B = 1; B < E; B++)
10370
- P.push(0, 1 - B / E);
10371
- P.push(0, 0), P.push(1, 0);
10372
+ I.push(0, 1 - B / E);
10373
+ I.push(0, 0), I.push(1, 0);
10372
10374
  for (let B = 1; B < E; B++)
10373
- P.push(1, B / E);
10374
- P.push(1, 1);
10375
+ I.push(1, B / E);
10376
+ I.push(1, 1);
10375
10377
  const D = [];
10376
10378
  for (let B = 0; B < E; B++)
10377
10379
  D.push(B, B + 1, E * 2 - B, B, E * 2 - B, E * 2 + 1 - B);
10378
- w.setAttribute("position", new I.BufferAttribute(new Float32Array(L), 3)), w.setAttribute("uv", new I.BufferAttribute(new Float32Array(P), 2)), w.setIndex(new I.BufferAttribute(new Uint32Array(D), 1));
10379
- const k = new I.AxesHelper(10);
10380
+ w.setAttribute("position", new C.BufferAttribute(new Float32Array(L), 3)), w.setAttribute("uv", new C.BufferAttribute(new Float32Array(I), 2)), w.setIndex(new C.BufferAttribute(new Uint32Array(D), 1));
10381
+ const k = new C.AxesHelper(10);
10380
10382
  i.scene.add(k);
10381
- const V = new I.MeshBasicMaterial({
10383
+ const V = new C.MeshBasicMaterial({
10382
10384
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
10383
- side: I.DoubleSide
10384
- }), _ = new I.Mesh(w, V);
10385
+ side: C.DoubleSide
10386
+ }), _ = new C.Mesh(w, V);
10385
10387
  _.renderOrder = 1, _.name = `ModelTVVideoPlugin-${b}-${performance.now()}`;
10386
10388
  const O = [A[1], A[2], A[3], A[0]], F = n.create3DDomContainer(O);
10387
10389
  if (F != null && F.container) {
@@ -10394,23 +10396,23 @@ const Ob = (i, { videoElement: t }) => {
10394
10396
  }
10395
10397
  return _;
10396
10398
  }), u = (A) => {
10397
- const b = new I.TextureLoader().load(A);
10398
- return b.minFilter = I.LinearFilter, b.magFilter = I.LinearFilter, b.format = I.RGBFormat, b;
10399
+ const b = new C.TextureLoader().load(A);
10400
+ return b.minFilter = C.LinearFilter, b.magFilter = C.LinearFilter, b.format = C.RGBFormat, b;
10399
10401
  }, d = (A, b) => new Promise((w, E) => {
10400
10402
  const L = new XMLHttpRequest();
10401
10403
  L.onreadystatechange = () => {
10402
10404
  if (L.readyState == 4)
10403
10405
  if (L.status == 200) {
10404
- const P = window.URL || window.webkitURL;
10405
- b = b || document.createElement("video"), b.crossOrigin = "anonymous", b.muted = !0, b.loop = !0, b.playsInline = !0, b.src = P.createObjectURL(L.response);
10406
- const D = new I.VideoTexture(b);
10407
- D.minFilter = I.LinearFilter, D.magFilter = I.LinearFilter, D.format = I.RGBFormat, w(Object.assign(D, { videoSource: A }));
10406
+ const I = window.URL || window.webkitURL;
10407
+ b = b || document.createElement("video"), b.crossOrigin = "anonymous", b.muted = !0, b.loop = !0, b.playsInline = !0, b.src = I.createObjectURL(L.response);
10408
+ const D = new C.VideoTexture(b);
10409
+ D.minFilter = C.LinearFilter, D.magFilter = C.LinearFilter, D.format = C.RGBFormat, w(Object.assign(D, { videoSource: A }));
10408
10410
  } else
10409
10411
  E(new Error("Video download Error: " + L.status));
10410
- }, L.onerror = (P) => E(P), L.open("GET", A), L.responseType = "blob", L.send();
10412
+ }, L.onerror = (I) => E(I), L.open("GET", A), L.responseType = "blob", L.send();
10411
10413
  }), h = (A, b) => H(void 0, null, function* () {
10412
10414
  const { video_src: w, video_poster_src: E, points: L } = A;
10413
- e.videoSource = w, e.rectPoints = Xm(L).map((P) => P.map(({ x: D, y: k, z: V }) => new I.Vector3(D, k, V))), e.imageTexture = u(E), b && (e.videoElement = b), e.videoTexture = yield d(e.videoSource, e.videoElement), e.enabled = !!A.enable, e.enabled && a();
10415
+ e.videoSource = w, e.rectPoints = Xm(L).map((I) => I.map(({ x: D, y: k, z: V }) => new C.Vector3(D, k, V))), e.imageTexture = u(E), b && (e.videoElement = b), e.videoTexture = yield d(e.videoSource, e.videoElement), e.enabled = !!A.enable, e.enabled && a();
10414
10416
  }), f = (A) => {
10415
10417
  if (!e.enabled)
10416
10418
  return;
@@ -10424,14 +10426,14 @@ const Ob = (i, { videoElement: t }) => {
10424
10426
  return;
10425
10427
  const A = i.camera.position;
10426
10428
  if (o.forEach((b, w) => {
10427
- const E = b.css3DObject.position.clone(), L = E.clone().sub(A).normalize(), P = new I.Raycaster(A, L), D = i.model.intersectRaycaster(P)[0], k = E.distanceTo(A), V = 0.01;
10429
+ const E = b.css3DObject.position.clone(), L = E.clone().sub(A).normalize(), I = new C.Raycaster(A, L), D = i.model.intersectRaycaster(I)[0], k = E.distanceTo(A), V = 0.01;
10428
10430
  D && D.distance + V < k ? b.hide() : b.show();
10429
10431
  }), !r()) {
10430
10432
  const b = e.rectPoints.find((w) => {
10431
10433
  const E = w[0].clone().add(w[1]).add(w[2]).add(w[3]).divideScalar(4);
10432
10434
  return w.map((L) => L.clone().add(E).divideScalar(2)).filter((L) => {
10433
- const P = L.distanceTo(A), D = new I.Raycaster(A, L.clone().sub(A).normalize()), k = i.model.intersectRaycaster(D)[0], V = 0.01;
10434
- return !(k && k.distance + V < P);
10435
+ const I = L.distanceTo(A), D = new C.Raycaster(A, L.clone().sub(A).normalize()), k = i.model.intersectRaycaster(D)[0], V = 0.01;
10436
+ return !(k && k.distance + V < I);
10435
10437
  }).length >= 2;
10436
10438
  });
10437
10439
  (!b || b.length === 0) && s(!0);
@@ -10578,7 +10580,7 @@ class Km extends oe {
10578
10580
  );
10579
10581
  }
10580
10582
  }
10581
- const { Raycaster: $m, Vector3: Qb } = I, $s = (i, t, e, n) => {
10583
+ const { Raycaster: $m, Vector3: Qb } = C, $s = (i, t, e, n) => {
10582
10584
  const o = t.clone().sub(e).normalize(), s = new $m();
10583
10585
  s.set(e, o);
10584
10586
  const [r] = i.model.intersectRaycaster(s);
@@ -10632,7 +10634,7 @@ function nr(i) {
10632
10634
  o[0] & 2 && (s.itemLabel = n[30]), o[0] & 1 && (s.hooks = n[0]), o[0] & 4 && (s.anchorEnabled = n[2]), t.$set(s);
10633
10635
  },
10634
10636
  i(n) {
10635
- e || (C(t.$$.fragment, n), e = !0);
10637
+ e || (P(t.$$.fragment, n), e = !0);
10636
10638
  },
10637
10639
  o(n) {
10638
10640
  x(t.$$.fragment, n), e = !1;
@@ -10654,12 +10656,12 @@ function ir(i, t) {
10654
10656
  M(r, e, a), s && s.m(r, a), M(r, n, a), o = !0;
10655
10657
  },
10656
10658
  p(r, a) {
10657
- t = r, t[30].visible ? s ? (s.p(t, a), a[0] & 2 && C(s, 1)) : (s = nr(t), s.c(), C(s, 1), s.m(n.parentNode, n)) : s && (se(), x(s, 1, 1, () => {
10659
+ t = r, t[30].visible ? s ? (s.p(t, a), a[0] & 2 && P(s, 1)) : (s = nr(t), s.c(), P(s, 1), s.m(n.parentNode, n)) : s && (se(), x(s, 1, 1, () => {
10658
10660
  s = null;
10659
10661
  }), re());
10660
10662
  },
10661
10663
  i(r) {
10662
- o || (C(s), o = !0);
10664
+ o || (P(s), o = !0);
10663
10665
  },
10664
10666
  o(r) {
10665
10667
  x(s), o = !1;
@@ -10695,7 +10697,7 @@ function ip(i) {
10695
10697
  i(l) {
10696
10698
  if (!s) {
10697
10699
  for (let c = 0; c < r.length; c += 1)
10698
- C(e[c]);
10700
+ P(e[c]);
10699
10701
  s = !0;
10700
10702
  }
10701
10703
  },
@@ -10714,7 +10716,7 @@ function ip(i) {
10714
10716
  }
10715
10717
  let op = 11;
10716
10718
  function sp(i, t, e) {
10717
- const { Raycaster: n, Vector3: o } = I;
10719
+ const { Raycaster: n, Vector3: o } = C;
10718
10720
  let { five: s } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, { maxVisibleDistance: u } = t, d = null, h = null, f = (s == null ? void 0 : s.currentMode) === je.Mode.Panorama, v, g, p = [], A = !0;
10719
10721
  const b = (W, X) => {
10720
10722
  const G = W.camera.position.clone(), ee = new o(X.modelPosition[0], X.modelPosition[1], X.modelPosition[2]), Y = ee.distanceTo(G);
@@ -10749,21 +10751,21 @@ function sp(i, t, e) {
10749
10751
  const ae = ee.findIndex((he) => he.itemLabelItem.id === Y.id);
10750
10752
  return ae !== void 0 ? fe(Q({}, Y), { zIndex: ae * 10 }) : Y;
10751
10753
  });
10752
- }, P = () => {
10754
+ }, I = () => {
10753
10755
  p = [], e(1, h = L(s, h));
10754
10756
  }, D = () => {
10755
10757
  e(5, A = !1), k();
10756
10758
  }, k = kl(
10757
10759
  () => {
10758
- e(5, A = !0), P();
10760
+ e(5, A = !0), I();
10759
10761
  },
10760
10762
  300
10761
10763
  ), V = () => {
10762
- s.once("renderFrame", P);
10764
+ s.once("renderFrame", I);
10763
10765
  }, _ = () => {
10764
10766
  window.addEventListener("resize", V, !1);
10765
10767
  }, O = () => {
10766
- d !== a && (e(1, h = er(a)), d = a, P());
10768
+ d !== a && (e(1, h = er(a)), d = a, I());
10767
10769
  }, F = (W, X) => {
10768
10770
  let G = [];
10769
10771
  for (let Y = 0; Y < X.length; Y++) {
@@ -10804,7 +10806,7 @@ function sp(i, t, e) {
10804
10806
  Wa(() => {
10805
10807
  O();
10806
10808
  }), Ze(() => {
10807
- e(1, h = er(a)), d = a, P(), _(), s.on("cameraUpdate", D);
10809
+ e(1, h = er(a)), d = a, I(), _(), s.on("cameraUpdate", D);
10808
10810
  }), Pt(() => {
10809
10811
  s.off("cameraUpdate", D), window.removeEventListener("resize", V, !1);
10810
10812
  });
@@ -11121,14 +11123,14 @@ class bp extends cp {
11121
11123
  if (this.five.currentMode !== "Panorama")
11122
11124
  return this.hideAllLabels();
11123
11125
  const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new U()), l = [], c = [...this.labelItems];
11124
- if (c.forEach((P, D) => {
11125
- if (P.visible) {
11126
- const k = n.position.distanceTo(P.position), V = P.position.clone().add(new U(0, this.OffsetHeight, 0)), O = V.clone().sub(n.position).normalize().angleTo(a), F = V.clone().project(n), B = (F.x + 1) / 2.2 * 100, R = (-F.y + 1) / 2.2 * 100, W = B >= 0 && B <= 100 && R >= 0 && R <= 100 && k > this.MinVisibledistance && k <= this.MaxVisibledistance;
11127
- P.left = B, P.top = R, P.inSight = W && O < Math.PI / 2, P.cameraToward = pp(this.five), W ? l.push({ disFromCameraToLabel: k, left: B, top: R, index: D }) : P.transform = "translate(-50%, -50%)";
11126
+ if (c.forEach((I, D) => {
11127
+ if (I.visible) {
11128
+ const k = n.position.distanceTo(I.position), V = I.position.clone().add(new U(0, this.OffsetHeight, 0)), O = V.clone().sub(n.position).normalize().angleTo(a), F = V.clone().project(n), B = (F.x + 1) / 2.2 * 100, R = (-F.y + 1) / 2.2 * 100, W = B >= 0 && B <= 100 && R >= 0 && R <= 100 && k > this.MinVisibledistance && k <= this.MaxVisibledistance;
11129
+ I.left = B, I.top = R, I.inSight = W && O < Math.PI / 2, I.cameraToward = pp(this.five), W ? l.push({ disFromCameraToLabel: k, left: B, top: R, index: D }) : I.transform = "translate(-50%, -50%)";
11128
11130
  } else
11129
- P.inSight = !1;
11131
+ I.inSight = !1;
11130
11132
  }), l.length > 1) {
11131
- let P = 0;
11133
+ let I = 0;
11132
11134
  l.sort((D, k) => k.disFromCameraToLabel - D.disFromCameraToLabel);
11133
11135
  for (let D = 1; D < l.length; D++) {
11134
11136
  const { index: k, left: V, top: _ } = l[D - 1], { index: O, left: F, top: B } = l[D], R = this.container.children[k], W = this.container.children[O];
@@ -11145,7 +11147,7 @@ class bp extends cp {
11145
11147
  width: (b = (A = (p = W.children) == null ? void 0 : p[0]) == null ? void 0 : A.clientWidth) != null ? b : 0,
11146
11148
  height: (L = (E = (w = W.children) == null ? void 0 : w[0]) == null ? void 0 : E.clientHeight) != null ? L : 0
11147
11149
  };
11148
- mp(X, G) && (P++, c[k].transform = `translate(-50%, ${(P - 1) * 100 - 50}%)`, c[O].transform = `translate(-50%, ${P * 100 - 50}%)`);
11150
+ mp(X, G) && (I++, c[k].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[O].transform = `translate(-50%, ${I * 100 - 50}%)`);
11149
11151
  }
11150
11152
  }
11151
11153
  this.labelItems = c, this.render();
@@ -11252,21 +11254,21 @@ function Pp(i, t) {
11252
11254
  var r, a, l;
11253
11255
  if (i.length < 2)
11254
11256
  return console.warn("positionList length must be greater than 1"), [];
11255
- const e = (r = t == null ? void 0 : t.unitWidth) != null ? r : 0.5, n = (a = t == null ? void 0 : t.unitHeight) != null ? a : 0.5, o = (l = t == null ? void 0 : t.skipPanoIndexMesh) != null ? l : !1, s = new I.CatmullRomCurve3(i, !1, "catmullrom", 1);
11257
+ const e = (r = t == null ? void 0 : t.unitWidth) != null ? r : 0.5, n = (a = t == null ? void 0 : t.unitHeight) != null ? a : 0.5, o = (l = t == null ? void 0 : t.skipPanoIndexMesh) != null ? l : !1, s = new C.CatmullRomCurve3(i, !1, "catmullrom", 1);
11256
11258
  if (o) {
11257
11259
  const c = Math.ceil(s.getLength() / n * 1.5), u = s.getPoints(c), d = [];
11258
11260
  let h = 0;
11259
11261
  const f = i;
11260
11262
  return f.forEach((v, g) => {
11261
11263
  let p = 0, A = 99999999;
11262
- u.forEach((P, D) => {
11263
- const k = P.distanceTo(v);
11264
+ u.forEach((I, D) => {
11265
+ const k = I.distanceTo(v);
11264
11266
  k < A && (p = D, A = k);
11265
11267
  });
11266
11268
  const b = u[p + 1], w = b == null ? void 0 : b.distanceTo(v), E = u[p - 1], L = E == null ? void 0 : E.distanceTo(v);
11267
11269
  if (p > h && p - h > 1) {
11268
- let P = p;
11269
- E !== void 0 && L > 0.8 && (P = p + 1), E !== void 0 && L > 0.2 && L < 0.3 ? P = p : A > 0.2 && A < 0.3 && (P = p + 1);
11270
+ let I = p;
11271
+ E !== void 0 && L > 0.8 && (I = p + 1), E !== void 0 && L > 0.2 && L < 0.3 ? I = p : A > 0.2 && A < 0.3 && (I = p + 1);
11270
11272
  let D = h;
11271
11273
  if (b !== void 0 && w > 0.2 && w < 0.3 ? D = h + 1 : A > 0.2 && A < 0.3 && (D = h), u[D] && u[D + 1]) {
11272
11274
  const _ = f[g - 1];
@@ -11278,9 +11280,9 @@ function Pp(i, t) {
11278
11280
  O.angleTo(F) < Math.PI / 2 && (D += 1);
11279
11281
  }
11280
11282
  }
11281
- if (P < D || P - D <= 1)
11283
+ if (I < D || I - D <= 1)
11282
11284
  return;
11283
- const k = u.slice(D, P), V = or(k, e, n);
11285
+ const k = u.slice(D, I), V = or(k, e, n);
11284
11286
  d.push(V), h = p;
11285
11287
  }
11286
11288
  }), d;
@@ -11295,19 +11297,19 @@ function or(i, t, e) {
11295
11297
  });
11296
11298
  let g = 0;
11297
11299
  for (let A = 0; A < i.length; A++) {
11298
- const [b, w] = r[A][0], E = i[A], { x: L, y: P, z: D } = E, k = new U(L + b * n, P + 0.05, D + w * n);
11300
+ const [b, w] = r[A][0], E = i[A], { x: L, y: I, z: D } = E, k = new U(L + b * n, I + 0.05, D + w * n);
11299
11301
  f[A * 6 + 0] = k.x, f[A * 6 + 1] = k.y, f[A * 6 + 2] = k.z;
11300
- const V = new U(L - b * n, P + 0.05, D - w * n);
11302
+ const V = new U(L - b * n, I + 0.05, D - w * n);
11301
11303
  f[A * 6 + 3] = V.x, f[A * 6 + 4] = V.y, f[A * 6 + 5] = V.z, g += A > 0 ? i[A - 1].clone().sub(i[A]).length() : 0;
11302
11304
  const _ = g / t / o;
11303
11305
  v[A * 4 + 0] = 0, v[A * 4 + 1] = _, v[A * 4 + 2] = 1, v[A * 4 + 3] = _, A !== i.length - 1 && (h[A * 6 + 0] = A * 2 + 0, h[A * 6 + 1] = A * 2 + 2, h[A * 6 + 2] = A * 2 + 1, h[A * 6 + 3] = A * 2 + 2, h[A * 6 + 4] = A * 2 + 3, h[A * 6 + 5] = A * 2 + 1);
11304
11306
  }
11305
- const p = new I.BufferGeometry();
11306
- return p.setAttribute("position", new I.BufferAttribute(f, 3)), p.setAttribute("uv", new I.BufferAttribute(v, 2)), p.setIndex(new I.BufferAttribute(h, 1)), p;
11307
+ const p = new C.BufferGeometry();
11308
+ return p.setAttribute("position", new C.BufferAttribute(f, 3)), p.setAttribute("uv", new C.BufferAttribute(v, 2)), p.setIndex(new C.BufferAttribute(h, 1)), p;
11307
11309
  }
11308
11310
  function Ip(i) {
11309
- const t = new I.TextureLoader().load(i.textureUrl);
11310
- return t.wrapS = t.wrapT = I.RepeatWrapping, t.encoding = I.sRGBEncoding, t.minFilter = I.LinearFilter, new I.MeshBasicMaterial({
11311
+ const t = new C.TextureLoader().load(i.textureUrl);
11312
+ return t.wrapS = t.wrapT = C.RepeatWrapping, t.encoding = C.sRGBEncoding, t.minFilter = C.LinearFilter, new C.MeshBasicMaterial({
11311
11313
  color: 16777215,
11312
11314
  map: t,
11313
11315
  transparent: !0,
@@ -11389,13 +11391,13 @@ class Ll extends zt {
11389
11391
  this.linesGroup && this.five.scene.remove(this.linesGroup), this.hooks.emit("dispose");
11390
11392
  }
11391
11393
  getLinesGroup(e, n) {
11392
- const o = e.map((r) => this.getLine(r, n)).filter(wt), s = new I.Group();
11394
+ const o = e.map((r) => this.getLine(r, n)).filter(wt), s = new C.Group();
11393
11395
  if (s.name = sr("route-group"), o.length !== 0)
11394
11396
  return s.add(...o), s;
11395
11397
  }
11396
11398
  getLine(e, n) {
11397
11399
  var l, c, u, d, h, f, v, g;
11398
- const o = new I.Group(), s = e.panoIndexList.map((p) => {
11400
+ const o = new C.Group(), s = e.panoIndexList.map((p) => {
11399
11401
  var A;
11400
11402
  return (A = this.five.work.observers[p]) == null ? void 0 : A.standingPosition;
11401
11403
  }).filter(wt), r = Pp(s, {
@@ -11409,7 +11411,7 @@ class Ll extends zt {
11409
11411
  textureUrl: (g = (v = e.arrowTextureUrl) != null ? v : n == null ? void 0 : n.arrowTextureUrl) != null ? g : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png"
11410
11412
  });
11411
11413
  return r.forEach((p) => {
11412
- const A = new I.Mesh(p, a);
11414
+ const A = new C.Mesh(p, a);
11413
11415
  A.name = sr("route-line-mesh"), o.add(A);
11414
11416
  }), o;
11415
11417
  }
@@ -11431,7 +11433,7 @@ m(Ll, "lasestVersion", xl);
11431
11433
  const xp = (i, t) => new Ll(i, t);
11432
11434
  function rr(i) {
11433
11435
  const t = Math.abs(Math.cos(i.latitude));
11434
- return new I.Vector3(
11436
+ return new C.Vector3(
11435
11437
  -Math.sin(i.longitude) * t,
11436
11438
  -Math.sin(i.latitude),
11437
11439
  -Math.cos(i.longitude) * t
@@ -11609,7 +11611,7 @@ class Tl extends zt {
11609
11611
  const f = (p = n[c]) == null ? void 0 : p.position, v = (A = n[h]) == null ? void 0 : A.position;
11610
11612
  if (!v || !f || ((b = n[c]) == null ? void 0 : b.floorIndex) !== ((w = n[h]) == null ? void 0 : w.floorIndex))
11611
11613
  return;
11612
- const g = new I.Vector3().subVectors(v, f);
11614
+ const g = new C.Vector3().subVectors(v, f);
11613
11615
  return Mp(g);
11614
11616
  })();
11615
11617
  o.moveType === void 0 || o.moveType === "justMove" ? s.push({
@@ -11923,19 +11925,19 @@ m(Tl, "PluginVersion", Sl);
11923
11925
  const Gb = (i) => new Tl(i);
11924
11926
  function Vp(i, t) {
11925
11927
  t.forEach((e) => {
11926
- const n = new I.SphereGeometry(0.02, 16, 16), o = [], s = [
11927
- new I.MeshBasicMaterial({ color: 16776960 }),
11928
- new I.MeshBasicMaterial({ color: 16711935 }),
11929
- new I.MeshBasicMaterial({ color: 16711680 }),
11930
- new I.MeshBasicMaterial({ color: 65535 })
11928
+ const n = new C.SphereGeometry(0.02, 16, 16), o = [], s = [
11929
+ new C.MeshBasicMaterial({ color: 16776960 }),
11930
+ new C.MeshBasicMaterial({ color: 16711935 }),
11931
+ new C.MeshBasicMaterial({ color: 16711680 }),
11932
+ new C.MeshBasicMaterial({ color: 65535 })
11931
11933
  ];
11932
11934
  if (e.position.length === 4)
11933
11935
  e.position.forEach((r, a) => {
11934
- const l = s[a], c = new I.Mesh(n, l);
11936
+ const l = s[a], c = new C.Mesh(n, l);
11935
11937
  c.position.copy(Je(r)), o.push(c);
11936
11938
  });
11937
11939
  else {
11938
- const r = s[0], a = new I.Mesh(n, r);
11940
+ const r = s[0], a = new C.Mesh(n, r);
11939
11941
  a.position.copy(Je(e.position)), o.push(a);
11940
11942
  }
11941
11943
  o.forEach((r) => {
@@ -11951,13 +11953,13 @@ function Gi(i) {
11951
11953
  return e.cross(n);
11952
11954
  }
11953
11955
  var Op = /* @__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.Custom = "Custom", i.Unknown = "Unknown", i))(Op || {});
11954
- class lr extends I.Mesh {
11956
+ class lr extends C.Mesh {
11955
11957
  constructor(e, n) {
11956
11958
  super();
11957
11959
  m(this, "name", "PanoTagPluginImagePlane");
11958
11960
  m(this, "imageSrc");
11959
11961
  this.imageSrc = e, ro(e).then((o) => {
11960
- const s = o.image.width, r = o.image.height, a = new I.MeshBasicMaterial({ map: o, transparent: !0 }), l = new I.PlaneGeometry(s, r);
11962
+ const s = o.image.width, r = o.image.height, a = new C.MeshBasicMaterial({ map: o, transparent: !0 }), l = new C.PlaneGeometry(s, r);
11961
11963
  this.geometry = l, this.material = a;
11962
11964
  const c = n[0].distanceTo(n[1]), u = n[1].distanceTo(n[2]);
11963
11965
  this.scale.set(c / s, u / r, 1);
@@ -12015,13 +12017,13 @@ function Wp(i) {
12015
12017
  });
12016
12018
  }
12017
12019
  function _p(i, t, e) {
12018
- 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);
12020
+ const o = new C.Plane().setFromNormalAndCoplanarPoint(e, t), s = t.clone().sub(i).cross(new C.Vector3(0, 1, 0)).setLength(0.01), r = new C.Vector3(0, 0.01, 0);
12019
12021
  return [
12020
12022
  t.clone().sub(s).sub(r),
12021
12023
  t.clone().add(s).sub(r),
12022
12024
  t.clone().add(s).add(r),
12023
12025
  t.clone().sub(s).add(r)
12024
- ].map((l) => o.projectPoint(l, new I.Vector3()));
12026
+ ].map((l) => o.projectPoint(l, new C.Vector3()));
12025
12027
  }
12026
12028
  const cr = (i, t = 1e3 / 60) => {
12027
12029
  let e = null;
@@ -12191,7 +12193,7 @@ class Bl {
12191
12193
  m(this, "config");
12192
12194
  m(this, "offset", { x: 0, y: 0 });
12193
12195
  m(this, "context");
12194
- m(this, "renderCenter", new I.Vector3());
12196
+ m(this, "renderCenter", new C.Vector3());
12195
12197
  m(this, "hammer");
12196
12198
  m(this, "state", { enabled: !1 });
12197
12199
  m(this, "onPan", (t) => {
@@ -12248,7 +12250,7 @@ class Bl {
12248
12250
  render() {
12249
12251
  if (!this.five.renderer || !this.containerDom)
12250
12252
  return;
12251
- 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, u = a * t, d = (s.x + 1) / 2 * r.x, h = (s.y + 1) / 2 * r.y, f = this.five.getPixels(d - l / 2, h - l / 2, l, c, u), v = Math.floor(n * a), g = Math.floor(o * a);
12253
+ const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new C.Vector2()), a = 1, l = n / t, c = o / t, u = a * t, d = (s.x + 1) / 2 * r.x, h = (s.y + 1) / 2 * r.y, f = this.five.getPixels(d - l / 2, h - l / 2, l, c, u), v = Math.floor(n * a), g = Math.floor(o * a);
12252
12254
  Kp(f, v, g);
12253
12255
  const p = new ImageData(v, g);
12254
12256
  p.data.set(f), e.putImageData(p, 0, 0);
@@ -12262,21 +12264,21 @@ class Bl {
12262
12264
  }
12263
12265
  function $p(i, t) {
12264
12266
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
12265
- return new I.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
12267
+ return new C.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
12266
12268
  }
12267
12269
  function jl(i, t) {
12268
12270
  const { offsetWidth: e, offsetHeight: n } = t;
12269
- return new I.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
12271
+ return new C.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
12270
12272
  }
12271
12273
  function eg(i, t) {
12272
12274
  const e = i.getElement();
12273
12275
  if (!e)
12274
12276
  return;
12275
- const n = jl(t, e), o = new I.Raycaster();
12277
+ const n = jl(t, e), o = new C.Raycaster();
12276
12278
  return o.setFromCamera(n, i.camera), o;
12277
12279
  }
12278
12280
  function tg(i, t) {
12279
- 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();
12281
+ const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new C.Vector2().fromArray([o, s]), a = new C.Raycaster();
12280
12282
  return a.setFromCamera(r, i.camera), i.model.intersectRaycaster(a)[0];
12281
12283
  }
12282
12284
  const ng = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkMEbgj7FKFpLA4QS+fPnyx23czJc//V498h2Oy8uXwDYCf/oF3HYWC0vgAAI3QfuP22V+uR35vYplrOsX/03w/kWAVgISmCPwX+ZKWUkCErgR+PvtiKjF9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JCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQn8NQn8fyHnyuSABiy2AAAAAElFTkSuQmCC", ig = `
@@ -12296,36 +12298,36 @@ void main() {
12296
12298
  }
12297
12299
  `;
12298
12300
  function sg() {
12299
- const i = new I.PlaneGeometry(0.4, 0.4), t = ng, e = new I.TextureLoader().load(t);
12300
- e.encoding = I.sRGBEncoding, e.minFilter = I.LinearFilter;
12301
- const n = new I.MeshBasicMaterial({
12301
+ const i = new C.PlaneGeometry(0.4, 0.4), t = ng, e = new C.TextureLoader().load(t);
12302
+ e.encoding = C.sRGBEncoding, e.minFilter = C.LinearFilter;
12303
+ const n = new C.MeshBasicMaterial({
12302
12304
  map: e,
12303
12305
  transparent: !0,
12304
12306
  depthTest: !1
12305
12307
  });
12306
- return new I.Mesh(i, n);
12308
+ return new C.Mesh(i, n);
12307
12309
  }
12308
12310
  function rg() {
12309
- const i = new I.CurvePath();
12310
- i.add(new I.LineCurve3(new I.Vector3(0, 0, 0), new I.Vector3(0, 0, 0.1)));
12311
- const t = new I.TubeGeometry(i, 8, 3e-3), e = new I.ShaderMaterial({
12311
+ const i = new C.CurvePath();
12312
+ i.add(new C.LineCurve3(new C.Vector3(0, 0, 0), new C.Vector3(0, 0, 0.1)));
12313
+ const t = new C.TubeGeometry(i, 8, 3e-3), e = new C.ShaderMaterial({
12312
12314
  vertexShader: ig,
12313
12315
  fragmentShader: og,
12314
12316
  depthTest: !1,
12315
12317
  transparent: !0
12316
12318
  });
12317
- return new I.Mesh(t, e);
12319
+ return new C.Mesh(t, e);
12318
12320
  }
12319
12321
  function ag() {
12320
- const i = new I.SphereGeometry(0.01, 20, 20), t = new I.MeshBasicMaterial({
12322
+ const i = new C.SphereGeometry(0.01, 20, 20), t = new C.MeshBasicMaterial({
12321
12323
  color: 10349931,
12322
12324
  depthTest: !1,
12323
12325
  transparent: !0,
12324
- side: I.DoubleSide
12325
- }), e = new I.Mesh(i, t);
12326
+ side: C.DoubleSide
12327
+ }), e = new C.Mesh(i, t);
12326
12328
  return e.position.set(0, 0, 0.1), e;
12327
12329
  }
12328
- class Vl extends I.Object3D {
12330
+ class Vl extends C.Object3D {
12329
12331
  constructor() {
12330
12332
  super();
12331
12333
  m(this, "planeMesh");
@@ -12336,7 +12338,7 @@ class Vl extends I.Object3D {
12336
12338
  updateWithIntersect(e) {
12337
12339
  if (!e.face)
12338
12340
  return;
12339
- const n = new I.Vector3().addVectors(e.point, e.face.normal);
12341
+ const n = new C.Vector3().addVectors(e.point, e.face.normal);
12340
12342
  this.position.copy(e.point), this.lookAt(n);
12341
12343
  }
12342
12344
  dispose() {
@@ -12360,7 +12362,7 @@ class Ol {
12360
12362
  [-n, -n, 0],
12361
12363
  [n, -n, 0],
12362
12364
  [n, n, 0]
12363
- ].map((r) => new I.Vector3().fromArray(r))
12365
+ ].map((r) => new C.Vector3().fromArray(r))
12364
12366
  );
12365
12367
  if (s) {
12366
12368
  const { container: r, dispose: a, css3DObject: l } = s;
@@ -12378,7 +12380,7 @@ class Ol {
12378
12380
  updateWithIntersect(t) {
12379
12381
  if (!t.face || !this.css3DObject)
12380
12382
  return;
12381
- const e = new I.Vector3().addVectors(t.point, t.face.normal);
12383
+ const e = new C.Vector3().addVectors(t.point, t.face.normal);
12382
12384
  this.css3DObject.position.copy(t.point), this.css3DObject.lookAt(e), this.five.needsRender = !0;
12383
12385
  }
12384
12386
  doAnimation() {
@@ -12400,7 +12402,7 @@ class lg {
12400
12402
  m(this, "pointDomHelper", null);
12401
12403
  m(this, "contentDom", document.createElement("div"));
12402
12404
  m(this, "state", { enabled: !1 });
12403
- m(this, "group", new I.Group());
12405
+ m(this, "group", new C.Group());
12404
12406
  this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) === void 0 ? new Bl(t, { dragEnabled: !0 }) : null, this.pointHelper = (e == null ? void 0 : e.pointHelper) === void 0 ? new Vl() : null, this.pointDomHelper = (e == null ? void 0 : e.pointDomHelper) === void 0 ? new Ol(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";
12405
12407
  }
12406
12408
  enable() {
@@ -12541,7 +12543,7 @@ class ug extends zn {
12541
12543
  }
12542
12544
  const dg = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1 && navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
12543
12545
  function be(i, t) {
12544
- this._camera = i || null, this._domElement = t || document, this._raycaster = new I.Raycaster(), this._selected = null, this._boundObjs = {};
12546
+ this._camera = i || null, this._domElement = t || document, this._raycaster = new C.Raycaster(), this._selected = null, this._boundObjs = {};
12545
12547
  var e = this;
12546
12548
  this._$onClick = function() {
12547
12549
  e._onClick.apply(e, arguments);
@@ -12641,7 +12643,7 @@ be.prototype._bound = function(i, t) {
12641
12643
  be.prototype._onMove = function(i, t, e, n) {
12642
12644
  var o = this._boundObjs[i];
12643
12645
  if (!(o === void 0 || o.length === 0)) {
12644
- var s = new I.Vector2();
12646
+ var s = new C.Vector2();
12645
12647
  s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
12646
12648
  var r = this._raycaster.intersectObjects(o), a = this._selected;
12647
12649
  if (r.length > 0) {
@@ -12655,7 +12657,7 @@ be.prototype._onMove = function(i, t, e, n) {
12655
12657
  be.prototype._onEvent = function(i, t, e, n) {
12656
12658
  var o = this._boundObjs[i];
12657
12659
  if (!(o === void 0 || o.length === 0)) {
12658
- var s = new I.Vector2();
12660
+ var s = new C.Vector2();
12659
12661
  s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
12660
12662
  var r = this._raycaster.intersectObjects(o, !0);
12661
12663
  if (r.length !== 0) {
@@ -12849,7 +12851,7 @@ class hg extends ug {
12849
12851
  const d = Ai(e.position);
12850
12852
  if (!d)
12851
12853
  return;
12852
- const h = new I.Vector3().copy(c).sub(d), f = u.angleTo(h) * 180 / Math.PI;
12854
+ const h = new C.Vector3().copy(c).sub(d), f = u.angleTo(h) * 180 / Math.PI;
12853
12855
  return s.angle = f, s.angle;
12854
12856
  }
12855
12857
  }
@@ -12969,7 +12971,7 @@ class hg extends ug {
12969
12971
  class fg extends hg {
12970
12972
  constructor(e) {
12971
12973
  super(e);
12972
- m(this, "raycaster", new I.Raycaster());
12974
+ m(this, "raycaster", new C.Raycaster());
12973
12975
  }
12974
12976
  getVisibleByPanoIndex(e, n) {
12975
12977
  var r;
@@ -13238,7 +13240,7 @@ function dr(i) {
13238
13240
  M(c, t, u), j(t, e), j(e, n), j(n, o), j(o, s), j(o, r), l && l.m(e, null);
13239
13241
  },
13240
13242
  p(c, u) {
13241
- u & 32 && y(s, "stop-color", c[5]), u & 32 && y(r, "stop-color", c[5]), u & 256 && y(o, "x2", c[8]), c[3] ? l ? (l.p(c, u), u & 8 && C(l, 1)) : (l = hr(c), l.c(), C(l, 1), l.m(e, null)) : l && (se(), x(l, 1, 1, () => {
13243
+ u & 32 && y(s, "stop-color", c[5]), u & 32 && y(r, "stop-color", c[5]), u & 256 && y(o, "x2", c[8]), c[3] ? l ? (l.p(c, u), u & 8 && P(l, 1)) : (l = hr(c), l.c(), P(l, 1), l.m(e, null)) : l && (se(), x(l, 1, 1, () => {
13242
13244
  l = null;
13243
13245
  }), re()), u & 384 && a !== (a = "0 0 " + c[8] + " " + c[7]) && y(e, "viewBox", a), u & 512 && q(t, "vertical", c[9]), u & 512 && q(t, "horizontal", !c[9]), u & 256 && T(t, "width", c[8] + "px"), u & 128 && T(t, "height", c[7] + "px");
13244
13246
  },
@@ -13396,12 +13398,12 @@ function vg(i) {
13396
13398
  e && e.m(n, o), M(n, t, o);
13397
13399
  },
13398
13400
  p(n, [o]) {
13399
- n[2] ? e ? (e.p(n, o), o & 4 && C(e, 1)) : (e = fr(n), e.c(), C(e, 1), e.m(t.parentNode, t)) : e && (se(), x(e, 1, 1, () => {
13401
+ n[2] ? e ? (e.p(n, o), o & 4 && P(e, 1)) : (e = fr(n), e.c(), P(e, 1), e.m(t.parentNode, t)) : e && (se(), x(e, 1, 1, () => {
13400
13402
  e = null;
13401
13403
  }), re());
13402
13404
  },
13403
13405
  i(n) {
13404
- C(e);
13406
+ P(e);
13405
13407
  },
13406
13408
  o(n) {
13407
13409
  x(e);
@@ -13568,11 +13570,11 @@ function Ig(i, t, e) {
13568
13570
  const c = `__EMOJI_SPLIT_${Wi}__`, u = `__EMOJI_${Wi}__`, d = `__SPACE_${Wi}__`;
13569
13571
  let h, f, v = [];
13570
13572
  function g(L) {
13571
- const P = [], D = 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"));
13572
- return L.slice().replace(D, (k) => `${c}${u}${k}${c}`).split(c).forEach((k) => k.startsWith(u) ? P.push({
13573
+ const I = [], D = 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"));
13574
+ return L.slice().replace(D, (k) => `${c}${u}${k}${c}`).split(c).forEach((k) => k.startsWith(u) ? I.push({
13573
13575
  id: Ge(),
13574
13576
  content: k.slice(u.length)
13575
- }) : P.push(...k.split("").map((V) => V === " " ? d : V).map((V) => ({ id: Ge(), content: V })))), P;
13577
+ }) : I.push(...k.split("").map((V) => V === " " ? d : V).map((V) => ({ id: Ge(), content: V })))), I;
13576
13578
  }
13577
13579
  function p() {
13578
13580
  if (!f)
@@ -13588,13 +13590,13 @@ function Ig(i, t, e) {
13588
13590
  clearTimeout(h), h = setTimeout(p, L ? o : s);
13589
13591
  }
13590
13592
  function b(L) {
13591
- const P = function() {
13593
+ const I = function() {
13592
13594
  const D = Xp((k) => L[k].getBoundingClientRect().x, [Math.min(L.length - 1, 10), Math.min(L.length - 1, 30)]);
13593
13595
  if (D > 0)
13594
13596
  return D;
13595
13597
  }();
13596
13598
  f = Fo({
13597
- targets: L.slice(0, P).filter(wt),
13599
+ targets: L.slice(0, I).filter(wt),
13598
13600
  autoplay: !1,
13599
13601
  duration: 400,
13600
13602
  scale: [0.7, 1],
@@ -13606,14 +13608,14 @@ function Ig(i, t, e) {
13606
13608
  easing: "easeInOutCubic"
13607
13609
  }), a && f.seek(f.duration);
13608
13610
  }
13609
- function w(L, P) {
13611
+ function w(L, I) {
13610
13612
  Oe[L ? "unshift" : "push"](() => {
13611
- v[P] = L, e(1, v);
13613
+ v[I] = L, e(1, v);
13612
13614
  });
13613
13615
  }
13614
- function E(L, P) {
13616
+ function E(L, I) {
13615
13617
  Oe[L ? "unshift" : "push"](() => {
13616
- v[P] = L, e(1, v);
13618
+ v[I] = L, e(1, v);
13617
13619
  });
13618
13620
  }
13619
13621
  return i.$$set = (L) => {
@@ -13675,7 +13677,7 @@ function gr(i) {
13675
13677
  i = d, (!l || h & 1 && s !== (s = "arrow " + i[0] + " svelte-1ogmlqq")) && y(o, "class", s);
13676
13678
  },
13677
13679
  i(d) {
13678
- l || (C(e.$$.fragment, d), d && Qe(() => {
13680
+ l || (P(e.$$.fragment, d), d && Qe(() => {
13679
13681
  a && a.end(1), r = Tt(o, St, {
13680
13682
  duration: i[2],
13681
13683
  delay: i[3],
@@ -13705,12 +13707,12 @@ function Mg(i) {
13705
13707
  n && n.m(o, s), M(o, t, s), e = !0;
13706
13708
  },
13707
13709
  p(o, [s]) {
13708
- o[1] ? n ? (n.p(o, s), s & 2 && C(n, 1)) : (n = gr(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
13710
+ o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = gr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
13709
13711
  n = null;
13710
13712
  }), re());
13711
13713
  },
13712
13714
  i(o) {
13713
- e || (C(n), e = !0);
13715
+ e || (P(n), e = !0);
13714
13716
  },
13715
13717
  o(o) {
13716
13718
  x(n), e = !1;
@@ -13781,7 +13783,7 @@ function Ar(i) {
13781
13783
  s & 1 && (r.unfolded = o[0]), s & 2 && (r.content = o[1]), s & 32 && (r.outDelay = o[5]), e.$set(r), s & 128 && T(t, "transform", o[7]);
13782
13784
  },
13783
13785
  i(o) {
13784
- n || (C(e.$$.fragment, o), n = !0);
13786
+ n || (P(e.$$.fragment, o), n = !0);
13785
13787
  },
13786
13788
  o(o) {
13787
13789
  x(e.$$.fragment, o), n = !1;
@@ -13812,7 +13814,7 @@ function vr(i) {
13812
13814
  s & 64 && (r.direction = o[6]), s & 1 && (r.visible = o[0]), e.$set(r);
13813
13815
  },
13814
13816
  i(o) {
13815
- n || (C(e.$$.fragment, o), n = !0);
13817
+ n || (P(e.$$.fragment, o), n = !0);
13816
13818
  },
13817
13819
  o(o) {
13818
13820
  x(e.$$.fragment, o), n = !1;
@@ -13832,14 +13834,14 @@ function Vg(i) {
13832
13834
  o && o.m(r, a), M(r, t, a), s && s.m(r, a), M(r, e, a), n = !0;
13833
13835
  },
13834
13836
  p(r, [a]) {
13835
- r[1] ? o ? (o.p(r, a), a & 2 && C(o, 1)) : (o = Ar(r), o.c(), C(o, 1), o.m(t.parentNode, t)) : o && (se(), x(o, 1, 1, () => {
13837
+ r[1] ? o ? (o.p(r, a), a & 2 && P(o, 1)) : (o = Ar(r), o.c(), P(o, 1), o.m(t.parentNode, t)) : o && (se(), x(o, 1, 1, () => {
13836
13838
  o = null;
13837
- }), re()), r[3] < r[4] ? s ? (s.p(r, a), a & 24 && C(s, 1)) : (s = vr(r), s.c(), C(s, 1), s.m(e.parentNode, e)) : s && (se(), x(s, 1, 1, () => {
13839
+ }), re()), r[3] < r[4] ? s ? (s.p(r, a), a & 24 && P(s, 1)) : (s = vr(r), s.c(), P(s, 1), s.m(e.parentNode, e)) : s && (se(), x(s, 1, 1, () => {
13838
13840
  s = null;
13839
13841
  }), re());
13840
13842
  },
13841
13843
  i(r) {
13842
- n || (C(o), C(s), n = !0);
13844
+ n || (P(o), P(s), n = !0);
13843
13845
  },
13844
13846
  o(r) {
13845
13847
  x(o), x(s), n = !1;
@@ -13934,7 +13936,7 @@ function br(i) {
13934
13936
  f & 4 && (p.visible = h[2]), f & 2 && (p.textUnfolded = h[1]), f & 32 && (p.content = h[5]), r.$set(p);
13935
13937
  },
13936
13938
  i(h) {
13937
- a || (C(t.$$.fragment, h), C(n.$$.fragment, h), C(r.$$.fragment, h), a = !0);
13939
+ a || (P(t.$$.fragment, h), P(n.$$.fragment, h), P(r.$$.fragment, h), a = !0);
13938
13940
  },
13939
13941
  o(h) {
13940
13942
  x(t.$$.fragment, h), x(n.$$.fragment, h), x(r.$$.fragment, h), a = !1;
@@ -13954,12 +13956,12 @@ function Rg(i) {
13954
13956
  n && n.m(o, s), M(o, t, s), e = !0;
13955
13957
  },
13956
13958
  p(o, [s]) {
13957
- o[0].state ? n ? (n.p(o, s), s & 1 && C(n, 1)) : (n = br(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
13959
+ o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = br(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
13958
13960
  n = null;
13959
13961
  }), re());
13960
13962
  },
13961
13963
  i(o) {
13962
- e || (C(n), e = !0);
13964
+ e || (P(n), e = !0);
13963
13965
  },
13964
13966
  o(o) {
13965
13967
  x(n), e = !1;
@@ -14031,7 +14033,7 @@ function Wg(i) {
14031
14033
  );
14032
14034
  },
14033
14035
  i(o) {
14034
- t || (C(n, o), t = !0);
14036
+ t || (P(n, o), t = !0);
14035
14037
  },
14036
14038
  o(o) {
14037
14039
  x(n, o), t = !1;
@@ -14129,10 +14131,10 @@ function Xg(i) {
14129
14131
  let u = e;
14130
14132
  e = a(l), e === u ? r[e].p(l, c) : (se(), x(r[u], 1, 1, () => {
14131
14133
  r[u] = null;
14132
- }), re(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), C(n, 1), n.m(t, null)), c & 2 && T(t, "max-width", typeof l[1] == "number" ? it(l[1]) : l[1]), c & 1 && T(t, "-webkit-line-clamp", l[0]);
14134
+ }), re(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), P(n, 1), n.m(t, null)), c & 2 && T(t, "max-width", typeof l[1] == "number" ? it(l[1]) : l[1]), c & 1 && T(t, "-webkit-line-clamp", l[0]);
14133
14135
  },
14134
14136
  i(l) {
14135
- o || (C(n), o = !0);
14137
+ o || (P(n), o = !0);
14136
14138
  },
14137
14139
  o(l) {
14138
14140
  x(n), o = !1;
@@ -14202,12 +14204,12 @@ function Er(i) {
14202
14204
  const g = {};
14203
14205
  v & 2 && (g.unfolded = f[1]), t.$set(g);
14204
14206
  const p = {};
14205
- v & 4 && (p.text = f[2]), v & 1 && (p.edit = (A = f[0].data.edit) == null ? void 0 : A.title), a.$set(p), f[0].data.description || ((b = f[0].data.edit) == null ? void 0 : b.description) ? u ? (u.p(f, v), v & 1 && C(u, 1)) : (u = Cr(f), u.c(), C(u, 1), u.m(s, null)) : u && (se(), x(u, 1, 1, () => {
14207
+ v & 4 && (p.text = f[2]), v & 1 && (p.edit = (A = f[0].data.edit) == null ? void 0 : A.title), a.$set(p), f[0].data.description || ((b = f[0].data.edit) == null ? void 0 : b.description) ? u ? (u.p(f, v), v & 1 && P(u, 1)) : (u = Cr(f), u.c(), P(u, 1), u.m(s, null)) : u && (se(), x(u, 1, 1, () => {
14206
14208
  u = null;
14207
14209
  }), re()), v & 2 && T(o, "transform", f[1] ? "translateY(-15px)" : "translateY(0)"), (!c || v & 2) && q(n, "unfolded", f[1]), (!c || v & 8) && q(n, "folded", f[3]);
14208
14210
  },
14209
14211
  i(f) {
14210
- c || (C(t.$$.fragment, f), C(a.$$.fragment, f), C(u), c = !0);
14212
+ c || (P(t.$$.fragment, f), P(a.$$.fragment, f), P(u), c = !0);
14211
14213
  },
14212
14214
  o(f) {
14213
14215
  x(t.$$.fragment, f), x(a.$$.fragment, f), x(u), c = !1;
@@ -14239,7 +14241,7 @@ function Cr(i) {
14239
14241
  r & 1 && (a.text = s[0].data.description), r & 1 && (a.edit = (l = s[0].data.edit) == null ? void 0 : l.description), e.$set(a);
14240
14242
  },
14241
14243
  i(s) {
14242
- n || (C(e.$$.fragment, s), n = !0);
14244
+ n || (P(e.$$.fragment, s), n = !0);
14243
14245
  },
14244
14246
  o(s) {
14245
14247
  x(e.$$.fragment, s), n = !1;
@@ -14259,12 +14261,12 @@ function qg(i) {
14259
14261
  n && n.m(o, s), M(o, t, s), e = !0;
14260
14262
  },
14261
14263
  p(o, [s]) {
14262
- o[0].state ? n ? (n.p(o, s), s & 1 && C(n, 1)) : (n = Er(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
14264
+ o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = Er(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
14263
14265
  n = null;
14264
14266
  }), re());
14265
14267
  },
14266
14268
  i(o) {
14267
- e || (C(n), e = !0);
14269
+ e || (P(n), e = !0);
14268
14270
  },
14269
14271
  o(o) {
14270
14272
  x(n), e = !1;
@@ -14302,7 +14304,7 @@ function Kg(i) {
14302
14304
  o & 1 && (s.tag = n[0]), t.$set(s);
14303
14305
  },
14304
14306
  i(n) {
14305
- e || (C(t.$$.fragment, n), e = !0);
14307
+ e || (P(t.$$.fragment, n), e = !0);
14306
14308
  },
14307
14309
  o(n) {
14308
14310
  x(t.$$.fragment, n), e = !1;
@@ -14326,7 +14328,7 @@ function $g(i) {
14326
14328
  o & 1 && (s.tag = n[0]), t.$set(s);
14327
14329
  },
14328
14330
  i(n) {
14329
- e || (C(t.$$.fragment, n), e = !0);
14331
+ e || (P(t.$$.fragment, n), e = !0);
14330
14332
  },
14331
14333
  o(n) {
14332
14334
  x(t.$$.fragment, n), e = !1;
@@ -14353,10 +14355,10 @@ function e0(i) {
14353
14355
  let u = t;
14354
14356
  t = a(l), t === u ? ~t && r[t].p(l, c) : (e && (se(), x(r[u], 1, 1, () => {
14355
14357
  r[u] = null;
14356
- }), re()), ~t ? (e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), C(e, 1), e.m(n.parentNode, n)) : e = null);
14358
+ }), re()), ~t ? (e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), P(e, 1), e.m(n.parentNode, n)) : e = null);
14357
14359
  },
14358
14360
  i(l) {
14359
- o || (C(e), o = !0);
14361
+ o || (P(e), o = !0);
14360
14362
  },
14361
14363
  o(l) {
14362
14364
  x(e), o = !1;
@@ -14426,12 +14428,12 @@ function o0(i) {
14426
14428
  M(a, t, l), j(t, e), j(e, n), j(n, o), j(n, s), r && r.m(t, null);
14427
14429
  },
14428
14430
  p(a, [l]) {
14429
- a[3] ? r ? (r.p(a, l), l & 8 && C(r, 1)) : (r = Pr(a), r.c(), C(r, 1), r.m(t, null)) : r && (se(), x(r, 1, 1, () => {
14431
+ a[3] ? r ? (r.p(a, l), l & 8 && P(r, 1)) : (r = Pr(a), r.c(), P(r, 1), r.m(t, null)) : r && (se(), x(r, 1, 1, () => {
14430
14432
  r = null;
14431
14433
  }), re());
14432
14434
  },
14433
14435
  i(a) {
14434
- C(r);
14436
+ P(r);
14435
14437
  },
14436
14438
  o(a) {
14437
14439
  x(r);
@@ -14535,7 +14537,7 @@ function kr(i, t) {
14535
14537
  l & 3 && (c.active = t[1] === t[7]), n.$set(c);
14536
14538
  },
14537
14539
  i(a) {
14538
- s || (C(n.$$.fragment, a), s = !0);
14540
+ s || (P(n.$$.fragment, a), s = !0);
14539
14541
  },
14540
14542
  o(a) {
14541
14543
  x(n.$$.fragment, a), s = !1;
@@ -14571,7 +14573,7 @@ function h0(i) {
14571
14573
  i(a) {
14572
14574
  if (!o) {
14573
14575
  for (let l = 0; l < s.length; l += 1)
14574
- C(e[l]);
14576
+ P(e[l]);
14575
14577
  o = !0;
14576
14578
  }
14577
14579
  },
@@ -15451,7 +15453,7 @@ function Or(i) {
15451
15453
  ) : o && o.p && (!t || r[0] & 36) && o.p(s, t ? r : [-1, -1]);
15452
15454
  },
15453
15455
  i(s) {
15454
- t || (C(o, s), t = !0);
15456
+ t || (P(o, s), t = !0);
15455
15457
  },
15456
15458
  o(s) {
15457
15459
  x(o, s), t = !1;
@@ -15480,7 +15482,7 @@ function pA(i) {
15480
15482
  s[0] & 36 && (r.disabled = !o[2] && o[5] === 0), e.$set(r);
15481
15483
  },
15482
15484
  i(o) {
15483
- n || (C(e.$$.fragment, o), n = !0);
15485
+ n || (P(e.$$.fragment, o), n = !0);
15484
15486
  },
15485
15487
  o(o) {
15486
15488
  x(e.$$.fragment, o), n = !1;
@@ -15506,7 +15508,7 @@ function Qr(i) {
15506
15508
  s[0] & 128 && (r.value = o[7]), e.$set(r);
15507
15509
  },
15508
15510
  i(o) {
15509
- n || (C(e.$$.fragment, o), n = !0);
15511
+ n || (P(e.$$.fragment, o), n = !0);
15510
15512
  },
15511
15513
  o(o) {
15512
15514
  x(e.$$.fragment, o), n = !1;
@@ -15537,7 +15539,7 @@ function Rr(i) {
15537
15539
  ) : o && o.p && (!t || r[0] & 1060) && o.p(s, t ? r : [-1, -1]);
15538
15540
  },
15539
15541
  i(s) {
15540
- t || (C(o, s), t = !0);
15542
+ t || (P(o, s), t = !0);
15541
15543
  },
15542
15544
  o(s) {
15543
15545
  x(o, s), t = !1;
@@ -15566,7 +15568,7 @@ function gA(i) {
15566
15568
  s[0] & 1060 && (r.disabled = !o[2] && o[5] === o[10] - 1), e.$set(r);
15567
15569
  },
15568
15570
  i(o) {
15569
- n || (C(e.$$.fragment, o), n = !0);
15571
+ n || (P(e.$$.fragment, o), n = !0);
15570
15572
  },
15571
15573
  o(o) {
15572
15574
  x(e.$$.fragment, o), n = !1;
@@ -15597,7 +15599,7 @@ function Fr(i) {
15597
15599
  ) : o && o.p && (!t || r[0] & 1056) && o.p(s, t ? r : [-1, -1]);
15598
15600
  },
15599
15601
  i(s) {
15600
- t || (C(o, s), t = !0);
15602
+ t || (P(o, s), t = !0);
15601
15603
  },
15602
15604
  o(s) {
15603
15605
  x(o, s), t = !1;
@@ -15626,7 +15628,7 @@ function AA(i) {
15626
15628
  o[0] & 1024 && (s.pagesCount = n[10]), o[0] & 32 && (s.currentPageIndex = n[5]), t.$set(s);
15627
15629
  },
15628
15630
  i(n) {
15629
- e || (C(t.$$.fragment, n), e = !0);
15631
+ e || (P(t.$$.fragment, n), e = !0);
15630
15632
  },
15631
15633
  o(n) {
15632
15634
  x(t.$$.fragment, n), e = !1;
@@ -15661,7 +15663,7 @@ function vA(i) {
15661
15663
  ], d = !0);
15662
15664
  },
15663
15665
  p(w, E) {
15664
- w[1] ? f ? (f.p(w, E), E[0] & 2 && C(f, 1)) : (f = Or(w), f.c(), C(f, 1), f.m(e, n)) : f && (se(), x(f, 1, 1, () => {
15666
+ w[1] ? f ? (f.p(w, E), E[0] & 2 && P(f, 1)) : (f = Or(w), f.c(), P(f, 1), f.m(e, n)) : f && (se(), x(f, 1, 1, () => {
15665
15667
  f = null;
15666
15668
  }), re()), g && g.p && (!u || E[0] & 96 | E[1] & 32) && tn(
15667
15669
  g,
@@ -15672,16 +15674,16 @@ function vA(i) {
15672
15674
  jr
15673
15675
  ), (!u || E[0] & 256) && T(s, "transform", "translateX(" + w[8] + "px)"), (!u || E[0] & 512) && T(s, "transition-duration", w[9] + "ms"), (!u || E[0] & 1) && T(s, "transition-timing-function", w[0]), r && Kt(r.update) && E[0] & 2048 && r.update.call(null, {
15674
15676
  thresholdProvider: w[38]
15675
- }), w[3] ? p ? (p.p(w, E), E[0] & 8 && C(p, 1)) : (p = Qr(w), p.c(), C(p, 1), p.m(o, null)) : p && (se(), x(p, 1, 1, () => {
15677
+ }), w[3] ? p ? (p.p(w, E), E[0] & 8 && P(p, 1)) : (p = Qr(w), p.c(), P(p, 1), p.m(o, null)) : p && (se(), x(p, 1, 1, () => {
15676
15678
  p = null;
15677
- }), re()), w[1] ? A ? (A.p(w, E), E[0] & 2 && C(A, 1)) : (A = Rr(w), A.c(), C(A, 1), A.m(e, null)) : A && (se(), x(A, 1, 1, () => {
15679
+ }), re()), w[1] ? A ? (A.p(w, E), E[0] & 2 && P(A, 1)) : (A = Rr(w), A.c(), P(A, 1), A.m(e, null)) : A && (se(), x(A, 1, 1, () => {
15678
15680
  A = null;
15679
- }), re()), w[4] ? b ? (b.p(w, E), E[0] & 16 && C(b, 1)) : (b = Fr(w), b.c(), C(b, 1), b.m(t, null)) : b && (se(), x(b, 1, 1, () => {
15681
+ }), re()), w[4] ? b ? (b.p(w, E), E[0] & 16 && P(b, 1)) : (b = Fr(w), b.c(), P(b, 1), b.m(t, null)) : b && (se(), x(b, 1, 1, () => {
15680
15682
  b = null;
15681
15683
  }), re());
15682
15684
  },
15683
15685
  i(w) {
15684
- u || (C(f), C(g, w), C(p), C(A), C(b), u = !0);
15686
+ u || (P(f), P(g, w), P(p), P(A), P(b), u = !0);
15685
15687
  },
15686
15688
  o(w) {
15687
15689
  x(f), x(g, w), x(p), x(A), x(b), u = !1;
@@ -15703,7 +15705,7 @@ function bA(i, t, e) {
15703
15705
  loaded: () => e(6, s = ve)
15704
15706
  })(te);
15705
15707
  }), g = yi();
15706
- let { timingFunction: p = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: b = !0 } = t, { initialPageIndex: w = 0 } = t, { duration: E = 500 } = t, { autoplay: L = !1 } = t, { autoplayDuration: P = 3e3 } = t, { autoplayDirection: D = Et } = t, { pauseOnFocus: k = !1 } = t, { autoplayProgressVisible: V = !1 } = t, { dots: _ = !0 } = t, { swiping: O = !0 } = t, { particlesToShow: F = 1 } = t, { particlesToScroll: B = 1 } = t;
15708
+ let { timingFunction: p = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: b = !0 } = t, { initialPageIndex: w = 0 } = t, { duration: E = 500 } = t, { autoplay: L = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: D = Et } = t, { pauseOnFocus: k = !1 } = t, { autoplayProgressVisible: V = !1 } = t, { dots: _ = !0 } = t, { swiping: O = !0 } = t, { particlesToShow: F = 1 } = t, { particlesToScroll: B = 1 } = t;
15707
15709
  function R(te, ve) {
15708
15710
  return H(this, null, function* () {
15709
15711
  const Be = wn(ve, "animated", !0);
@@ -15799,9 +15801,9 @@ function bA(i, t, e) {
15799
15801
  }
15800
15802
  const $e = (te) => de(te.detail);
15801
15803
  return i.$$set = (te) => {
15802
- "timingFunction" in te && e(0, p = te.timingFunction), "arrows" in te && e(1, A = te.arrows), "infinite" in te && e(2, b = te.infinite), "initialPageIndex" in te && e(24, w = te.initialPageIndex), "duration" in te && e(25, E = te.duration), "autoplay" in te && e(26, L = te.autoplay), "autoplayDuration" in te && e(27, P = te.autoplayDuration), "autoplayDirection" in te && e(28, D = te.autoplayDirection), "pauseOnFocus" in te && e(29, k = te.pauseOnFocus), "autoplayProgressVisible" in te && e(3, V = te.autoplayProgressVisible), "dots" in te && e(4, _ = te.dots), "swiping" in te && e(30, O = te.swiping), "particlesToShow" in te && e(31, F = te.particlesToShow), "particlesToScroll" in te && e(32, B = te.particlesToScroll), "$$scope" in te && e(36, o = te.$$scope);
15804
+ "timingFunction" in te && e(0, p = te.timingFunction), "arrows" in te && e(1, A = te.arrows), "infinite" in te && e(2, b = te.infinite), "initialPageIndex" in te && e(24, w = te.initialPageIndex), "duration" in te && e(25, E = te.duration), "autoplay" in te && e(26, L = te.autoplay), "autoplayDuration" in te && e(27, I = te.autoplayDuration), "autoplayDirection" in te && e(28, D = te.autoplayDirection), "pauseOnFocus" in te && e(29, k = te.pauseOnFocus), "autoplayProgressVisible" in te && e(3, V = te.autoplayProgressVisible), "dots" in te && e(4, _ = te.dots), "swiping" in te && e(30, O = te.swiping), "particlesToShow" in te && e(31, F = te.particlesToShow), "particlesToScroll" in te && e(32, B = te.particlesToScroll), "$$scope" in te && e(36, o = te.$$scope);
15803
15805
  }, i.$$.update = () => {
15804
- i.$$.dirty[0] & 32 && g("pageChange", r), i.$$.dirty[0] & 4 && (d.infinite = b), i.$$.dirty[0] & 33554432 && (d.durationMsInit = E), i.$$.dirty[0] & 67108864 && (d.autoplay = L), i.$$.dirty[0] & 134217728 && (d.autoplayDuration = P), i.$$.dirty[0] & 268435456 && (d.autoplayDirection = D), i.$$.dirty[0] & 536870912 && (d.pauseOnFocus = k), i.$$.dirty[1] & 1 && (d.particlesToShowInit = F), i.$$.dirty[1] & 2 && (d.particlesToScrollInit = B);
15806
+ i.$$.dirty[0] & 32 && g("pageChange", r), i.$$.dirty[0] & 4 && (d.infinite = b), i.$$.dirty[0] & 33554432 && (d.durationMsInit = E), i.$$.dirty[0] & 67108864 && (d.autoplay = L), i.$$.dirty[0] & 134217728 && (d.autoplayDuration = I), i.$$.dirty[0] & 268435456 && (d.autoplayDirection = D), i.$$.dirty[0] & 536870912 && (d.pauseOnFocus = k), i.$$.dirty[1] & 1 && (d.particlesToShowInit = F), i.$$.dirty[1] & 2 && (d.particlesToScrollInit = B);
15805
15807
  }, [
15806
15808
  p,
15807
15809
  A,
@@ -15830,7 +15832,7 @@ function bA(i, t, e) {
15830
15832
  w,
15831
15833
  E,
15832
15834
  L,
15833
- P,
15835
+ I,
15834
15836
  D,
15835
15837
  k,
15836
15838
  O,
@@ -16040,7 +16042,7 @@ function xA(i, t, e) {
16040
16042
  }, L = (V) => {
16041
16043
  n && n.pause();
16042
16044
  };
16043
- function P(V) {
16045
+ function I(V) {
16044
16046
  Oe[V ? "unshift" : "push"](() => {
16045
16047
  s.videoInstance = V, e(0, s);
16046
16048
  });
@@ -16073,7 +16075,7 @@ function xA(i, t, e) {
16073
16075
  w,
16074
16076
  E,
16075
16077
  L,
16076
- P,
16078
+ I,
16077
16079
  D,
16078
16080
  k
16079
16081
  ];
@@ -16125,10 +16127,10 @@ function Wr(i) {
16125
16127
  let f = n;
16126
16128
  n = u(i), n === f ? c[n].p(i, h) : (se(), x(c[f], 1, 1, () => {
16127
16129
  c[f] = null;
16128
- }), re(), o = c[n], o ? o.p(i, h) : (o = c[n] = l[n](i), o.c()), C(o, 1), o.m(e, null)), (!a || h & 8192) && q(e, "carouselEnabled", i[13]), (!a || h & 32) && q(t, "unfolded", i[5]);
16130
+ }), re(), o = c[n], o ? o.p(i, h) : (o = c[n] = l[n](i), o.c()), P(o, 1), o.m(e, null)), (!a || h & 8192) && q(e, "carouselEnabled", i[13]), (!a || h & 32) && q(t, "unfolded", i[5]);
16129
16131
  },
16130
16132
  i(d) {
16131
- a || (C(o), d && Qe(() => {
16133
+ a || (P(o), d && Qe(() => {
16132
16134
  r && r.end(1), s = Tt(t, Zo, i[6] ? {
16133
16135
  y: 4,
16134
16136
  duration: i[4],
@@ -16176,7 +16178,7 @@ function LA(i) {
16176
16178
  t.$set(a);
16177
16179
  },
16178
16180
  i(s) {
16179
- e || (C(t.$$.fragment, s), e = !0);
16181
+ e || (P(t.$$.fragment, s), e = !0);
16180
16182
  },
16181
16183
  o(s) {
16182
16184
  x(t.$$.fragment, s), e = !1;
@@ -16205,7 +16207,7 @@ function SA(i) {
16205
16207
  s & 134219137 && (r.$$scope = { dirty: s, ctx: o }), t.$set(r);
16206
16208
  },
16207
16209
  i(o) {
16208
- e || (C(t.$$.fragment, o), e = !0);
16210
+ e || (P(t.$$.fragment, o), e = !0);
16209
16211
  },
16210
16212
  o(o) {
16211
16213
  x(t.$$.fragment, o), e = !1;
@@ -16245,7 +16247,7 @@ function _r(i) {
16245
16247
  !e && l & 256 && (e = !0, c.mediaInstance = i[8][i[26]], du(() => e = !1)), t.$set(c);
16246
16248
  },
16247
16249
  i(a) {
16248
- n || (C(t.$$.fragment, a), n = !0);
16250
+ n || (P(t.$$.fragment, a), n = !0);
16249
16251
  },
16250
16252
  o(a) {
16251
16253
  x(t.$$.fragment, a), n = !1;
@@ -16279,7 +16281,7 @@ function MA(i) {
16279
16281
  let l;
16280
16282
  for (l = 0; l < n.length; l += 1) {
16281
16283
  const c = Gr(r, n, l);
16282
- o[l] ? (o[l].p(c, a), C(o[l], 1)) : (o[l] = _r(c), o[l].c(), C(o[l], 1), o[l].m(t.parentNode, t));
16284
+ o[l] ? (o[l].p(c, a), P(o[l], 1)) : (o[l] = _r(c), o[l].c(), P(o[l], 1), o[l].m(t.parentNode, t));
16283
16285
  }
16284
16286
  for (se(), l = n.length; l < o.length; l += 1)
16285
16287
  s(l);
@@ -16289,7 +16291,7 @@ function MA(i) {
16289
16291
  i(r) {
16290
16292
  if (!e) {
16291
16293
  for (let a = 0; a < n.length; a += 1)
16292
- C(o[a]);
16294
+ P(o[a]);
16293
16295
  e = !0;
16294
16296
  }
16295
16297
  },
@@ -16314,12 +16316,12 @@ function TA(i) {
16314
16316
  n && n.m(o, s), M(o, t, s), e = !0;
16315
16317
  },
16316
16318
  p(o, [s]) {
16317
- o[5] ? n ? (n.p(o, s), s & 32 && C(n, 1)) : (n = Wr(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
16319
+ o[5] ? n ? (n.p(o, s), s & 32 && P(n, 1)) : (n = Wr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
16318
16320
  n = null;
16319
16321
  }), re());
16320
16322
  },
16321
16323
  i(o) {
16322
- e || (C(n), e = !0);
16324
+ e || (P(n), e = !0);
16323
16325
  },
16324
16326
  o(o) {
16325
16327
  x(n), e = !1;
@@ -16331,7 +16333,7 @@ function TA(i) {
16331
16333
  }
16332
16334
  function zA(i, t, e) {
16333
16335
  let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: u = 0 } = t, { duration: d = 0 } = t, { unfolded: h = !0 } = t, { animation: f = !0 } = t, { mediaItemConfig: v } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: p = { autoplay: !0, autoplayVideo: !1 } } = t, A = [], b = 0, w, E = null;
16334
- const L = vt("hooks"), P = vt("mediaStore");
16336
+ const L = vt("hooks"), I = vt("mediaStore");
16335
16337
  function D() {
16336
16338
  var F, B;
16337
16339
  const O = A[b];
@@ -16356,7 +16358,7 @@ function zA(i, t, e) {
16356
16358
  });
16357
16359
  }
16358
16360
  const _ = (O) => {
16359
- n || P.set({ currentMediaElement: null }), e(11, b = O.detail);
16361
+ n || I.set({ currentMediaElement: null }), e(11, b = O.detail);
16360
16362
  };
16361
16363
  return i.$$set = (O) => {
16362
16364
  "tag" in O && e(0, a = O.tag), "mediaData" in O && e(1, l = O.mediaData), "inDelay" in O && e(2, c = O.inDelay), "outDelay" in O && e(3, u = O.outDelay), "duration" in O && e(4, d = O.duration), "unfolded" in O && e(5, h = O.unfolded), "animation" in O && e(6, f = O.animation), "mediaItemConfig" in O && e(7, v = O.mediaItemConfig), "enableCarousel" in O && e(15, g = O.enableCarousel), "autoplayConfig" in O && e(16, p = O.autoplayConfig);
@@ -16377,7 +16379,7 @@ function zA(i, t, e) {
16377
16379
  b,
16378
16380
  w,
16379
16381
  o,
16380
- P,
16382
+ I,
16381
16383
  g,
16382
16384
  p,
16383
16385
  k,
@@ -16441,14 +16443,14 @@ function Nr(i) {
16441
16443
  const f = {};
16442
16444
  h & 8 && (f.visible = d[3]), t.$set(f);
16443
16445
  const v = {};
16444
- h & 8 && (v.unfolded = d[3]), o.$set(v), d[2] ? c ? (c.p(d, h), h & 4 && C(c, 1)) : (c = Xr(d), c.c(), C(c, 1), c.m(r.parentNode, r)) : c && (se(), x(c, 1, 1, () => {
16446
+ h & 8 && (v.unfolded = d[3]), o.$set(v), d[2] ? c ? (c.p(d, h), h & 4 && P(c, 1)) : (c = Xr(d), c.c(), P(c, 1), c.m(r.parentNode, r)) : c && (se(), x(c, 1, 1, () => {
16445
16447
  c = null;
16446
- }), re()), d[1] ? u ? (u.p(d, h), h & 2 && C(u, 1)) : (u = Yr(d), u.c(), C(u, 1), u.m(a.parentNode, a)) : u && (se(), x(u, 1, 1, () => {
16448
+ }), re()), d[1] ? u ? (u.p(d, h), h & 2 && P(u, 1)) : (u = Yr(d), u.c(), P(u, 1), u.m(a.parentNode, a)) : u && (se(), x(u, 1, 1, () => {
16447
16449
  u = null;
16448
16450
  }), re());
16449
16451
  },
16450
16452
  i(d) {
16451
- l || (C(t.$$.fragment, d), C(o.$$.fragment, d), C(c), C(u), l = !0);
16453
+ l || (P(t.$$.fragment, d), P(o.$$.fragment, d), P(c), P(u), l = !0);
16452
16454
  },
16453
16455
  o(d) {
16454
16456
  x(t.$$.fragment, d), x(o.$$.fragment, d), x(c), x(u), l = !1;
@@ -16478,7 +16480,7 @@ function Xr(i) {
16478
16480
  s & 8 && (r.unfolded = o[3]), s & 4 && (r.content = o[2]), e.$set(r);
16479
16481
  },
16480
16482
  i(o) {
16481
- n || (C(e.$$.fragment, o), n = !0);
16483
+ n || (P(e.$$.fragment, o), n = !0);
16482
16484
  },
16483
16485
  o(o) {
16484
16486
  x(e.$$.fragment, o), n = !1;
@@ -16517,7 +16519,7 @@ function Yr(i) {
16517
16519
  s & 8 && (r.unfolded = o[3]), s & 2 && (r.mediaData = o[1]), s & 1 && (r.tag = o[0]), e.$set(r);
16518
16520
  },
16519
16521
  i(o) {
16520
- n || (C(e.$$.fragment, o), n = !0);
16522
+ n || (P(e.$$.fragment, o), n = !0);
16521
16523
  },
16522
16524
  o(o) {
16523
16525
  x(e.$$.fragment, o), n = !1;
@@ -16537,12 +16539,12 @@ function jA(i) {
16537
16539
  n && n.m(o, s), M(o, t, s), e = !0;
16538
16540
  },
16539
16541
  p(o, [s]) {
16540
- o[0].state ? n ? (n.p(o, s), s & 1 && C(n, 1)) : (n = Nr(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
16542
+ o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = Nr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
16541
16543
  n = null;
16542
16544
  }), re());
16543
16545
  },
16544
16546
  i(o) {
16545
- e || (C(n), e = !0);
16547
+ e || (P(n), e = !0);
16546
16548
  },
16547
16549
  o(o) {
16548
16550
  x(n), e = !1;
@@ -16769,22 +16771,22 @@ function RA(i) {
16769
16771
  c() {
16770
16772
  t = z("div"), K(e.$$.fragment), n = $(), o = z("div"), s = $(), r = z("div"), A && A.c(), a = $(), l = z("div"), c = z("div"), u = z("div"), h = Ie(d), f = $(), b && b.c(), v = $(), w && w.c(), y(o, "class", "line svelte-sezqcq"), T(o, "transition-delay", i[4] ? $n + "ms" : ei + sa - oa - 40 + "ms"), y(u, "class", "text svelte-sezqcq"), y(c, "class", "title svelte-sezqcq"), y(l, "class", "title-wrapper svelte-sezqcq"), y(r, "class", "content svelte-sezqcq"), T(r, "max-width", it(i[9])), T(r, "transition-delay", i[4] ? $n + ei + "ms" : "0ms"), y(t, "class", g = Me(`marketing ${i[6]}`) + " svelte-sezqcq"), q(t, "unfolded", i[4]), q(t, "folded", i[8]);
16771
16773
  },
16772
- m(P, D) {
16773
- M(P, t, D), J(e, t, null), j(t, n), j(t, o), j(t, s), j(t, r), A && A.m(r, null), j(r, a), j(r, l), j(l, c), j(c, u), j(u, h), j(r, f), b && b.m(r, null), j(r, v), w && w.m(r, null), p = !0;
16774
+ m(I, D) {
16775
+ M(I, t, D), J(e, t, null), j(t, n), j(t, o), j(t, s), j(t, r), A && A.m(r, null), j(r, a), j(r, l), j(l, c), j(c, u), j(u, h), j(r, f), b && b.m(r, null), j(r, v), w && w.m(r, null), p = !0;
16774
16776
  },
16775
- p(P, [D]) {
16777
+ p(I, [D]) {
16776
16778
  var V, _;
16777
16779
  const k = {};
16778
- D & 16 && (k.visible = P[4]), e.$set(k), D & 16 && T(o, "transition-delay", P[4] ? $n + "ms" : ei + sa - oa - 40 + "ms"), P[3].headerPictureUrl ? A ? A.p(P, D) : (A = Jr(P), A.c(), A.m(r, a)) : A && (A.d(1), A = null), (!p || D & 8) && d !== (d = P[3].title + "") && Le(h, d), ((V = P[2].length) != null ? V : 0) + ((_ = P[5].length) != null ? _ : 0) > 0 ? b ? b.p(P, D) : (b = Zr(P), b.c(), b.m(r, v)) : b && (b.d(1), b = null), P[7] || P[3].highlightText ? w ? w.p(P, D) : (w = ea(P), w.c(), w.m(r, null)) : w && (w.d(1), w = null), D & 16 && T(r, "transition-delay", P[4] ? $n + ei + "ms" : "0ms"), (!p || D & 64 && g !== (g = Me(`marketing ${P[6]}`) + " svelte-sezqcq")) && y(t, "class", g), (!p || D & 80) && q(t, "unfolded", P[4]), (!p || D & 320) && q(t, "folded", P[8]);
16780
+ D & 16 && (k.visible = I[4]), e.$set(k), D & 16 && T(o, "transition-delay", I[4] ? $n + "ms" : ei + sa - oa - 40 + "ms"), I[3].headerPictureUrl ? A ? A.p(I, D) : (A = Jr(I), A.c(), A.m(r, a)) : A && (A.d(1), A = null), (!p || D & 8) && d !== (d = I[3].title + "") && Le(h, d), ((V = I[2].length) != null ? V : 0) + ((_ = I[5].length) != null ? _ : 0) > 0 ? b ? b.p(I, D) : (b = Zr(I), b.c(), b.m(r, v)) : b && (b.d(1), b = null), I[7] || I[3].highlightText ? w ? w.p(I, D) : (w = ea(I), w.c(), w.m(r, null)) : w && (w.d(1), w = null), D & 16 && T(r, "transition-delay", I[4] ? $n + ei + "ms" : "0ms"), (!p || D & 64 && g !== (g = Me(`marketing ${I[6]}`) + " svelte-sezqcq")) && y(t, "class", g), (!p || D & 80) && q(t, "unfolded", I[4]), (!p || D & 320) && q(t, "folded", I[8]);
16779
16781
  },
16780
- i(P) {
16781
- p || (C(e.$$.fragment, P), p = !0);
16782
+ i(I) {
16783
+ p || (P(e.$$.fragment, I), p = !0);
16782
16784
  },
16783
- o(P) {
16784
- x(e.$$.fragment, P), p = !1;
16785
+ o(I) {
16786
+ x(e.$$.fragment, I), p = !1;
16785
16787
  },
16786
- d(P) {
16787
- P && S(t), Z(e), A && A.d(), b && b.d(), w && w.d();
16788
+ d(I) {
16789
+ I && S(t), Z(e), A && A.d(), b && b.d(), w && w.d();
16788
16790
  }
16789
16791
  };
16790
16792
  }
@@ -16890,7 +16892,7 @@ class GA extends Audio {
16890
16892
  return;
16891
16893
  const n = (h) => {
16892
16894
  var f;
16893
- console.debug("ontimeupdate", e.currentTime, e.paused, e.ended), this.sharedAudioCurrentTime = e.currentTime, (f = this.ontimeupdate) == null || f.call(this, h);
16895
+ this.sharedAudioCurrentTime = e.currentTime, (f = this.ontimeupdate) == null || f.call(this, h);
16894
16896
  }, o = (h) => {
16895
16897
  var f;
16896
16898
  e.isBlankAudio || (this.sharedAudioPaused = !1, (f = this.onplay) == null || f.call(this, h));
@@ -16943,7 +16945,7 @@ function _A(i) {
16943
16945
  ), (!e || l & 1) && y(t, "style", a[0]);
16944
16946
  },
16945
16947
  i(a) {
16946
- e || (C(r, a), e = !0);
16948
+ e || (P(r, a), e = !0);
16947
16949
  },
16948
16950
  o(a) {
16949
16951
  x(r, a), e = !1;
@@ -17065,7 +17067,7 @@ function ra(i) {
17065
17067
  J(t, n, o), e = !0;
17066
17068
  },
17067
17069
  i(n) {
17068
- e || (C(t.$$.fragment, n), e = !0);
17070
+ e || (P(t.$$.fragment, n), e = !0);
17069
17071
  },
17070
17072
  o(n) {
17071
17073
  x(t.$$.fragment, n), e = !1;
@@ -17085,12 +17087,12 @@ function YA(i) {
17085
17087
  M(a, t, l), r && r.m(t, null), j(t, e), j(t, n), j(n, o), i[7](o), i[8](t), s = !0;
17086
17088
  },
17087
17089
  p(a, [l]) {
17088
- a[1] ? r ? l & 2 && C(r, 1) : (r = ra(), r.c(), C(r, 1), r.m(t, e)) : r && (se(), x(r, 1, 1, () => {
17090
+ a[1] ? r ? l & 2 && P(r, 1) : (r = ra(), r.c(), P(r, 1), r.m(t, e)) : r && (se(), x(r, 1, 1, () => {
17089
17091
  r = null;
17090
17092
  }), re()), (!s || l & 1) && q(n, "playing", a[0]), (!s || l & 4) && y(t, "style", a[2]), l & 32 && T(t, "width", a[5]), l & 32 && T(t, "height", a[5]);
17091
17093
  },
17092
17094
  i(a) {
17093
- s || (C(r), s = !0);
17095
+ s || (P(r), s = !0);
17094
17096
  },
17095
17097
  o(a) {
17096
17098
  x(r), s = !1;
@@ -17190,16 +17192,16 @@ function aa(i) {
17190
17192
  p(b, w) {
17191
17193
  var D, k;
17192
17194
  const E = {};
17193
- w & 64 && (E.visible = b[6]), w & 8 && (E.left = b[3] / 2 + "px"), e.$set(E), b[6] ? g ? (g.p(b, w), w & 64 && C(g, 1)) : (g = la(b), g.c(), C(g, 1), g.m(r, null)) : g && (se(), x(g, 1, 1, () => {
17195
+ w & 64 && (E.visible = b[6]), w & 8 && (E.left = b[3] / 2 + "px"), e.$set(E), b[6] ? g ? (g.p(b, w), w & 64 && P(g, 1)) : (g = la(b), g.c(), P(g, 1), g.m(r, null)) : g && (se(), x(g, 1, 1, () => {
17194
17196
  g = null;
17195
17197
  }), re());
17196
17198
  const L = {};
17197
17199
  w & 64 && (L.visible = b[6]), w & 2 && (L.textUnfolded = b[1]), w & 32 && (L.content = b[5]), c.$set(L);
17198
- const P = {};
17199
- w & 64 && (P.unfolded = b[6]), w & 8 && (P.length = b[3]), w & 48 && (P.outDelay = b[4] + 20 * Math.min((k = (D = b[5]) == null ? void 0 : D.length) != null ? k : 10, 15)), d.$set(P), (!h || w & 64) && q(t, "unfolded", b[6]);
17200
+ const I = {};
17201
+ w & 64 && (I.unfolded = b[6]), w & 8 && (I.length = b[3]), w & 48 && (I.outDelay = b[4] + 20 * Math.min((k = (D = b[5]) == null ? void 0 : D.length) != null ? k : 10, 15)), d.$set(I), (!h || w & 64) && q(t, "unfolded", b[6]);
17200
17202
  },
17201
17203
  i(b) {
17202
- h || (C(e.$$.fragment, b), C(g), C(c.$$.fragment, b), C(d.$$.fragment, b), h = !0);
17204
+ h || (P(e.$$.fragment, b), P(g), P(c.$$.fragment, b), P(d.$$.fragment, b), h = !0);
17203
17205
  },
17204
17206
  o(b) {
17205
17207
  x(e.$$.fragment, b), x(g), x(c.$$.fragment, b), x(d.$$.fragment, b), h = !1;
@@ -17238,7 +17240,7 @@ function la(i) {
17238
17240
  c & 64 && (u.enable = i[6]), c & 1 && (u.url = i[0].data.audioUrl), c & 1 && (u.hooksInfo = { tag: i[0] }), c & 8196 && (u.$$scope = { dirty: c, ctx: i }), o.$set(u);
17239
17241
  },
17240
17242
  i(l) {
17241
- a || (C(e.$$.fragment, l), C(o.$$.fragment, l), l && Qe(() => {
17243
+ a || (P(e.$$.fragment, l), P(o.$$.fragment, l), l && Qe(() => {
17242
17244
  r && r.end(1), s = Tt(t, St, {
17243
17245
  duration: 1e3,
17244
17246
  delay: 0,
@@ -17273,7 +17275,7 @@ function JA(i) {
17273
17275
  s & 4 && (r.playing = o[2]), e.$set(r);
17274
17276
  },
17275
17277
  i(o) {
17276
- n || (C(e.$$.fragment, o), n = !0);
17278
+ n || (P(e.$$.fragment, o), n = !0);
17277
17279
  },
17278
17280
  o(o) {
17279
17281
  x(e.$$.fragment, o), n = !1;
@@ -17293,12 +17295,12 @@ function ZA(i) {
17293
17295
  n && n.m(o, s), M(o, t, s), e = !0;
17294
17296
  },
17295
17297
  p(o, [s]) {
17296
- o[0].state ? n ? (n.p(o, s), s & 1 && C(n, 1)) : (n = aa(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17298
+ o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = aa(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17297
17299
  n = null;
17298
17300
  }), re());
17299
17301
  },
17300
17302
  i(o) {
17301
- e || (C(n), e = !0);
17303
+ e || (P(n), e = !0);
17302
17304
  },
17303
17305
  o(o) {
17304
17306
  x(n), e = !1;
@@ -17378,7 +17380,7 @@ function ca(i) {
17378
17380
  r & 1 && (a.enable = s[0].state.visible), r & 1 && (a.url = s[0].data.audioUrl), r & 1 && (a.hooksInfo = { tag: s[0] }), r & 8232 && (a.$$scope = { dirty: r, ctx: s }), n.$set(a), r & 16 && T(e, "background-color", s[4].bgColor), r & 16 && T(e, "color", s[4].fontColor);
17379
17381
  },
17380
17382
  i(s) {
17381
- o || (C(n.$$.fragment, s), o = !0);
17383
+ o || (P(n.$$.fragment, s), o = !0);
17382
17384
  },
17383
17385
  o(s) {
17384
17386
  x(n.$$.fragment, s), o = !1;
@@ -17427,7 +17429,7 @@ function nv(i) {
17427
17429
  c & 8224 && (d.$$scope = { dirty: c, ctx: l }), r.$set(d);
17428
17430
  },
17429
17431
  i(l) {
17430
- a || (C(n.$$.fragment, l), C(r.$$.fragment, l), a = !0);
17432
+ a || (P(n.$$.fragment, l), P(r.$$.fragment, l), a = !0);
17431
17433
  },
17432
17434
  o(l) {
17433
17435
  x(n.$$.fragment, l), x(r.$$.fragment, l), a = !1;
@@ -17447,12 +17449,12 @@ function iv(i) {
17447
17449
  n && n.m(o, s), M(o, t, s), e = !0;
17448
17450
  },
17449
17451
  p(o, [s]) {
17450
- o[0].state ? n ? (n.p(o, s), s & 1 && C(n, 1)) : (n = ca(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17452
+ o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = ca(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17451
17453
  n = null;
17452
17454
  }), re());
17453
17455
  },
17454
17456
  i(o) {
17455
- e || (C(n), e = !0);
17457
+ e || (P(n), e = !0);
17456
17458
  },
17457
17459
  o(o) {
17458
17460
  x(n), e = !1;
@@ -17528,7 +17530,7 @@ function rv(i) {
17528
17530
  o & 1 && (s.tag = n[0]), t.$set(s);
17529
17531
  },
17530
17532
  i(n) {
17531
- e || (C(t.$$.fragment, n), e = !0);
17533
+ e || (P(t.$$.fragment, n), e = !0);
17532
17534
  },
17533
17535
  o(n) {
17534
17536
  x(t.$$.fragment, n), e = !1;
@@ -17552,7 +17554,7 @@ function av(i) {
17552
17554
  o & 1 && (s.tag = n[0]), t.$set(s);
17553
17555
  },
17554
17556
  i(n) {
17555
- e || (C(t.$$.fragment, n), e = !0);
17557
+ e || (P(t.$$.fragment, n), e = !0);
17556
17558
  },
17557
17559
  o(n) {
17558
17560
  x(t.$$.fragment, n), e = !1;
@@ -17579,10 +17581,10 @@ function lv(i) {
17579
17581
  let u = t;
17580
17582
  t = a(l), t === u ? ~t && r[t].p(l, c) : (e && (se(), x(r[u], 1, 1, () => {
17581
17583
  r[u] = null;
17582
- }), re()), ~t ? (e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), C(e, 1), e.m(n.parentNode, n)) : e = null);
17584
+ }), re()), ~t ? (e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), P(e, 1), e.m(n.parentNode, n)) : e = null);
17583
17585
  },
17584
17586
  i(l) {
17585
- o || (C(e), o = !0);
17587
+ o || (P(e), o = !0);
17586
17588
  },
17587
17589
  o(l) {
17588
17590
  x(e), o = !1;
@@ -17651,7 +17653,7 @@ function ua(i) {
17651
17653
  }), r & 64 && (a.unfolded = s[6]), r & 32 && (a.mediaData = s[5]), r & 2 && (a.enableCarousel = s[1]), r & 8 && (a.autoplayConfig = s[3]), r & 1 && (a.tag = s[0]), e.$set(a);
17652
17654
  },
17653
17655
  i(s) {
17654
- n || (C(e.$$.fragment, s), n = !0);
17656
+ n || (P(e.$$.fragment, s), n = !0);
17655
17657
  },
17656
17658
  o(s) {
17657
17659
  x(e.$$.fragment, s), n = !1;
@@ -17671,12 +17673,12 @@ function hv(i) {
17671
17673
  n && n.m(o, s), M(o, t, s), e = !0;
17672
17674
  },
17673
17675
  p(o, [s]) {
17674
- o[0].state && o[5] ? n ? (n.p(o, s), s & 33 && C(n, 1)) : (n = ua(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17676
+ o[0].state && o[5] ? n ? (n.p(o, s), s & 33 && P(n, 1)) : (n = ua(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17675
17677
  n = null;
17676
17678
  }), re());
17677
17679
  },
17678
17680
  i(o) {
17679
- e || (C(n), e = !0);
17681
+ e || (P(n), e = !0);
17680
17682
  },
17681
17683
  o(o) {
17682
17684
  x(n), e = !1;
@@ -17762,12 +17764,12 @@ function fa(i) {
17762
17764
  M(l, t, c), o && o.m(t, null), j(t, e), a.m(t, null), n = !0;
17763
17765
  },
17764
17766
  p(l, c) {
17765
- l[0] ? o ? c & 1 && C(o, 1) : (o = ma(), o.c(), C(o, 1), o.m(t, e)) : o && (se(), x(o, 1, 1, () => {
17767
+ l[0] ? o ? c & 1 && P(o, 1) : (o = ma(), o.c(), P(o, 1), o.m(t, e)) : o && (se(), x(o, 1, 1, () => {
17766
17768
  o = null;
17767
17769
  }), re()), r === (r = s(l)) && a ? a.p(l, c) : (a.d(1), a = r(l), a && (a.c(), a.m(t, null))), c & 2 && T(t, "width", l[1]);
17768
17770
  },
17769
17771
  i(l) {
17770
- n || (C(o), n = !0);
17772
+ n || (P(o), n = !0);
17771
17773
  },
17772
17774
  o(l) {
17773
17775
  x(o), n = !1;
@@ -17793,7 +17795,7 @@ function ma(i) {
17793
17795
  J(t, n, o), e = !0;
17794
17796
  },
17795
17797
  i(n) {
17796
- e || (C(t.$$.fragment, n), e = !0);
17798
+ e || (P(t.$$.fragment, n), e = !0);
17797
17799
  },
17798
17800
  o(n) {
17799
17801
  x(t.$$.fragment, n), e = !1;
@@ -17963,12 +17965,12 @@ function kv(i) {
17963
17965
  n && n.m(o, s), M(o, t, s), e = !0;
17964
17966
  },
17965
17967
  p(o, [s]) {
17966
- o[9] ? n ? (n.p(o, s), s & 512 && C(n, 1)) : (n = fa(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17968
+ o[9] ? n ? (n.p(o, s), s & 512 && P(n, 1)) : (n = fa(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
17967
17969
  n = null;
17968
17970
  }), re());
17969
17971
  },
17970
17972
  i(o) {
17971
- e || (C(n), e = !0);
17973
+ e || (P(n), e = !0);
17972
17974
  },
17973
17975
  o(o) {
17974
17976
  x(n), e = !1;
@@ -18063,7 +18065,7 @@ function pa(i) {
18063
18065
  (!r || l & 2) && Le(s, a[1]);
18064
18066
  },
18065
18067
  i(a) {
18066
- r || (C(e.$$.fragment, a), r = !0);
18068
+ r || (P(e.$$.fragment, a), r = !0);
18067
18069
  },
18068
18070
  o(a) {
18069
18071
  x(e.$$.fragment, a), r = !1;
@@ -18088,12 +18090,12 @@ function Lv(i) {
18088
18090
  },
18089
18091
  p(r, [a]) {
18090
18092
  const l = {};
18091
- a & 1 && (l.icon = r[0]), e.$set(l), r[1] && r[2] ? s ? (s.p(r, a), a & 6 && C(s, 1)) : (s = pa(r), s.c(), C(s, 1), s.m(t, null)) : s && (se(), x(s, 1, 1, () => {
18093
+ a & 1 && (l.icon = r[0]), e.$set(l), r[1] && r[2] ? s ? (s.p(r, a), a & 6 && P(s, 1)) : (s = pa(r), s.c(), P(s, 1), s.m(t, null)) : s && (se(), x(s, 1, 1, () => {
18092
18094
  s = null;
18093
18095
  }), re());
18094
18096
  },
18095
18097
  i(r) {
18096
- o || (C(e.$$.fragment, r), C(s), o = !0);
18098
+ o || (P(e.$$.fragment, r), P(s), o = !0);
18097
18099
  },
18098
18100
  o(r) {
18099
18101
  x(e.$$.fragment, r), x(s), o = !1;
@@ -18237,10 +18239,10 @@ function Qv(i) {
18237
18239
  let g = o;
18238
18240
  o = h(f), o === g ? ~o && d[o].p(f, v) : (s && (se(), x(d[g], 1, 1, () => {
18239
18241
  d[g] = null;
18240
- }), re()), ~o ? (s = d[o], s ? s.p(f, v) : (s = d[o] = u[o](f), s.c()), C(s, 1), s.m(n, null)) : s = null), (!a || v & 2) && q(n, "unfolded", (p = f[1].state) == null ? void 0 : p.unfolded), (!a || v & 2 && r !== (r = f[1].id)) && y(t, "data-id", r), (!a || v & 2) && q(t, "disable", f[1].enabled === !1), (!a || v & 16) && q(t, "hide", f[4]), (!a || v & 1) && q(t, "withAnimation", f[0]), (!a || v & 2) && q(t, "unClickable", f[1].mergedConfig.clickable === !1), v & 2 && T(t, "width", f[1].stickType === "Plane" || f[1].contentType === "MediaModel" ? "100%" : 0), v & 2 && T(t, "height", f[1].stickType === "Plane" || f[1].contentType === "MediaModel" ? "100%" : 0);
18242
+ }), re()), ~o ? (s = d[o], s ? s.p(f, v) : (s = d[o] = u[o](f), s.c()), P(s, 1), s.m(n, null)) : s = null), (!a || v & 2) && q(n, "unfolded", (p = f[1].state) == null ? void 0 : p.unfolded), (!a || v & 2 && r !== (r = f[1].id)) && y(t, "data-id", r), (!a || v & 2) && q(t, "disable", f[1].enabled === !1), (!a || v & 16) && q(t, "hide", f[4]), (!a || v & 1) && q(t, "withAnimation", f[0]), (!a || v & 2) && q(t, "unClickable", f[1].mergedConfig.clickable === !1), v & 2 && T(t, "width", f[1].stickType === "Plane" || f[1].contentType === "MediaModel" ? "100%" : 0), v & 2 && T(t, "height", f[1].stickType === "Plane" || f[1].contentType === "MediaModel" ? "100%" : 0);
18241
18243
  },
18242
18244
  i(f) {
18243
- a || (C(s), a = !0);
18245
+ a || (P(s), a = !0);
18244
18246
  },
18245
18247
  o(f) {
18246
18248
  x(s), a = !1;
@@ -18266,7 +18268,7 @@ function Rv(i) {
18266
18268
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18267
18269
  },
18268
18270
  i(n) {
18269
- e || (C(t.$$.fragment, n), e = !0);
18271
+ e || (P(t.$$.fragment, n), e = !0);
18270
18272
  },
18271
18273
  o(n) {
18272
18274
  x(t.$$.fragment, n), e = !1;
@@ -18292,7 +18294,7 @@ function Fv(i) {
18292
18294
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18293
18295
  },
18294
18296
  i(n) {
18295
- e || (C(t.$$.fragment, n), e = !0);
18297
+ e || (P(t.$$.fragment, n), e = !0);
18296
18298
  },
18297
18299
  o(n) {
18298
18300
  x(t.$$.fragment, n), e = !1;
@@ -18318,7 +18320,7 @@ function Hv(i) {
18318
18320
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18319
18321
  },
18320
18322
  i(n) {
18321
- e || (C(t.$$.fragment, n), e = !0);
18323
+ e || (P(t.$$.fragment, n), e = !0);
18322
18324
  },
18323
18325
  o(n) {
18324
18326
  x(t.$$.fragment, n), e = !1;
@@ -18344,7 +18346,7 @@ function Gv(i) {
18344
18346
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18345
18347
  },
18346
18348
  i(n) {
18347
- e || (C(t.$$.fragment, n), e = !0);
18349
+ e || (P(t.$$.fragment, n), e = !0);
18348
18350
  },
18349
18351
  o(n) {
18350
18352
  x(t.$$.fragment, n), e = !1;
@@ -18370,7 +18372,7 @@ function Wv(i) {
18370
18372
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18371
18373
  },
18372
18374
  i(n) {
18373
- e || (C(t.$$.fragment, n), e = !0);
18375
+ e || (P(t.$$.fragment, n), e = !0);
18374
18376
  },
18375
18377
  o(n) {
18376
18378
  x(t.$$.fragment, n), e = !1;
@@ -18396,7 +18398,7 @@ function _v(i) {
18396
18398
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18397
18399
  },
18398
18400
  i(n) {
18399
- e || (C(t.$$.fragment, n), e = !0);
18401
+ e || (P(t.$$.fragment, n), e = !0);
18400
18402
  },
18401
18403
  o(n) {
18402
18404
  x(t.$$.fragment, n), e = !1;
@@ -18422,7 +18424,7 @@ function Nv(i) {
18422
18424
  o & 2 && (s.tag = xe(n[1])), t.$set(s);
18423
18425
  },
18424
18426
  i(n) {
18425
- e || (C(t.$$.fragment, n), e = !0);
18427
+ e || (P(t.$$.fragment, n), e = !0);
18426
18428
  },
18427
18429
  o(n) {
18428
18430
  x(t.$$.fragment, n), e = !1;
@@ -18449,10 +18451,10 @@ function Xv(i) {
18449
18451
  let u = t;
18450
18452
  t = a(l), t === u ? r[t].p(l, c) : (se(), x(r[u], 1, 1, () => {
18451
18453
  r[u] = null;
18452
- }), re(), e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), C(e, 1), e.m(n.parentNode, n));
18454
+ }), re(), e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), P(e, 1), e.m(n.parentNode, n));
18453
18455
  },
18454
18456
  i(l) {
18455
- o || (C(e), o = !0);
18457
+ o || (P(e), o = !0);
18456
18458
  },
18457
18459
  o(l) {
18458
18460
  x(e), o = !1;
@@ -18469,16 +18471,16 @@ function Yv(i, t, e) {
18469
18471
  function A(E) {
18470
18472
  E ? d.emit("exposure", { id: r, type: "start" }) : d.emit("exposure", { id: r, type: "end" });
18471
18473
  }
18472
- function b(E, L, P) {
18474
+ function b(E, L, I) {
18473
18475
  var D, k;
18474
- return !(!L.visible || !L.enabled || !P.visible || !((D = E.state) != null && D.visible) || ((k = E.temporaryState) == null ? void 0 : k.visible) === !1 || Ve(E) && !E.mediaVisible);
18476
+ return !(!L.visible || !L.enabled || !I.visible || !((D = E.state) != null && D.visible) || ((k = E.temporaryState) == null ? void 0 : k.visible) === !1 || Ve(E) && !E.mediaVisible);
18475
18477
  }
18476
18478
  const w = (E) => d.emit("click", { event: E, target: "TagContent", tag: u });
18477
18479
  return i.$$set = (E) => {
18478
18480
  "withAnimation" in E && e(0, c = E.withAnimation), "tag" in E && e(1, u = E.tag), "hooks" in E && e(2, d = E.hooks), "state" in E && e(5, h = E.state), "mediaStore" in E && e(6, f = E.mediaStore), "temporaryState" in E && e(7, v = E.temporaryState);
18479
18481
  }, i.$$.update = () => {
18480
- var E, L, P, D, k, V, _, O, F, B, R;
18481
- i.$$.dirty & 2 && e(11, n = (E = u.state) == null ? void 0 : E.unfolded), i.$$.dirty & 2 && e(10, o = (L = u.state) == null ? void 0 : L.visible), i.$$.dirty & 162 && e(12, s = h.visible && v.visible && ((P = u.state) == null ? void 0 : P.visible)), i.$$.dirty & 2 && (r = u.id), i.$$.dirty & 162 && e(4, a = !b(u, h, v)), i.$$.dirty & 4096 && A(s), i.$$.dirty & 3842 && u.hooks && (n !== void 0 && n !== p && (e(9, p = n), n ? (k = (D = u.hooks).emit) == null || k.call(D, "unfolded") : (_ = u == null ? void 0 : (V = u.hooks).emit) == null || _.call(V, "folded")), o !== void 0 && o !== g && (e(8, g = o), o ? (F = (O = u.hooks).emit) == null || F.call(O, "show") : (R = (B = u.hooks).emit) == null || R.call(B, "hide"))), i.$$.dirty & 2 && e(3, l = (() => !(typeof u.mergedConfig.unfoldedConfig == "object" && u.mergedConfig.unfoldedConfig.keep === "folded"))());
18482
+ var E, L, I, D, k, V, _, O, F, B, R;
18483
+ i.$$.dirty & 2 && e(11, n = (E = u.state) == null ? void 0 : E.unfolded), i.$$.dirty & 2 && e(10, o = (L = u.state) == null ? void 0 : L.visible), i.$$.dirty & 162 && e(12, s = h.visible && v.visible && ((I = u.state) == null ? void 0 : I.visible)), i.$$.dirty & 2 && (r = u.id), i.$$.dirty & 162 && e(4, a = !b(u, h, v)), i.$$.dirty & 4096 && A(s), i.$$.dirty & 3842 && u.hooks && (n !== void 0 && n !== p && (e(9, p = n), n ? (k = (D = u.hooks).emit) == null || k.call(D, "unfolded") : (_ = u == null ? void 0 : (V = u.hooks).emit) == null || _.call(V, "folded")), o !== void 0 && o !== g && (e(8, g = o), o ? (F = (O = u.hooks).emit) == null || F.call(O, "show") : (R = (B = u.hooks).emit) == null || R.call(B, "hide"))), i.$$.dirty & 2 && e(3, l = (() => !(typeof u.mergedConfig.unfoldedConfig == "object" && u.mergedConfig.unfoldedConfig.keep === "folded"))());
18482
18484
  }, [
18483
18485
  c,
18484
18486
  u,
@@ -18546,7 +18548,7 @@ function qv(i) {
18546
18548
  v & 4 && (g.icon = f[2]), v & 2 && (g.width = f[1]), c.$set(g), v & 8 && T(l, "transition-delay", (f[3] ? f[5] : 0) + "ms"), (!u || v & 1) && q(t, "unfolded", f[0]), (!u || v & 8) && q(t, "folded", f[3]);
18547
18549
  },
18548
18550
  i(f) {
18549
- u || (C(o.$$.fragment, f), C(c.$$.fragment, f), u = !0);
18551
+ u || (P(o.$$.fragment, f), P(c.$$.fragment, f), u = !0);
18550
18552
  },
18551
18553
  o(f) {
18552
18554
  x(o.$$.fragment, f), x(c.$$.fragment, f), u = !1;
@@ -18578,8 +18580,8 @@ function Jv(i, t, e) {
18578
18580
  }, i.$$.update = () => {
18579
18581
  var g, p, A, b;
18580
18582
  i.$$.dirty & 64 && e(0, n = (g = l.state) == null ? void 0 : g.unfolded), i.$$.dirty & 1 && e(3, o = !n), i.$$.dirty & 64 && e(2, s = (A = (p = l.style) == null ? void 0 : p.point) != null && A.url ? (b = l.style) == null ? void 0 : b.point : { url: Lg }), i.$$.dirty & 64 && e(1, r = (() => {
18581
- var L, P, D, k;
18582
- const w = (P = (L = l.style) == null ? void 0 : L.point) == null ? void 0 : P.width;
18583
+ var L, I, D, k;
18584
+ const w = (I = (L = l.style) == null ? void 0 : L.point) == null ? void 0 : I.width;
18583
18585
  if (typeof w == "number")
18584
18586
  return w;
18585
18587
  const E = (k = (D = l.style) == null ? void 0 : D.point) == null ? void 0 : k.size;
@@ -18653,7 +18655,7 @@ function e1(i) {
18653
18655
  o & 4 && (s.mediaStore = n[2]), o & 1 && (s.withAnimation = n[0]), o & 2 && (s.tag = xe(n[1])), o & 8 && (s.state = n[3]), o & 16 && (s.temporaryState = n[4]), t.$set(s);
18654
18656
  },
18655
18657
  i(n) {
18656
- e || (C(t.$$.fragment, n), e = !0);
18658
+ e || (P(t.$$.fragment, n), e = !0);
18657
18659
  },
18658
18660
  o(n) {
18659
18661
  x(t.$$.fragment, n), e = !1;
@@ -18694,7 +18696,7 @@ function n1(i) {
18694
18696
  o & 2 && (s.tag = n[1]), t.$set(s);
18695
18697
  },
18696
18698
  i(n) {
18697
- e || (C(t.$$.fragment, n), e = !0);
18699
+ e || (P(t.$$.fragment, n), e = !0);
18698
18700
  },
18699
18701
  o(n) {
18700
18702
  x(t.$$.fragment, n), e = !1;
@@ -18726,14 +18728,14 @@ function i1(i) {
18726
18728
  let b = n;
18727
18729
  n = h(p), n === b ? d[n].p(p, A) : (se(), x(d[b], 1, 1, () => {
18728
18730
  d[b] = null;
18729
- }), re(), o = d[n], o ? o.p(p, A) : (o = d[n] = u[n](p), o.c()), C(o, 1), o.m(e, s));
18731
+ }), re(), o = d[n], o ? o.p(p, A) : (o = d[n] = u[n](p), o.c()), P(o, 1), o.m(e, s));
18730
18732
  let w = r;
18731
18733
  r = g(p), r === w ? v[r].p(p, A) : (se(), x(v[w], 1, 1, () => {
18732
18734
  v[w] = null;
18733
- }), re(), a = v[r], a ? a.p(p, A) : (a = v[r] = f[r](p), a.c()), C(a, 1), a.m(e, null)), (!c || A & 256) && y(e, "data-tag-unfolded", p[8]), (!c || A & 2048) && y(e, "data-tag-id", p[11]), (!c || A & 2 && l !== (l = p[1].contentType)) && y(e, "data-content-type", l), A & 128 && T(e, "left", p[7]), A & 64 && T(e, "top", p[6]), A & 32 && T(e, "z-index", p[5]), (!c || A & 2048) && y(t, "data-tag-id", p[11]), (!c || A & 2) && q(t, "unClickable", p[1].mergedConfig.clickable === !1), (!c || A & 1024) && q(t, "disable", p[10]), (!c || A & 512) && q(t, "hide", p[9]), (!c || A & 1) && q(t, "withAnimation", p[0]);
18735
+ }), re(), a = v[r], a ? a.p(p, A) : (a = v[r] = f[r](p), a.c()), P(a, 1), a.m(e, null)), (!c || A & 256) && y(e, "data-tag-unfolded", p[8]), (!c || A & 2048) && y(e, "data-tag-id", p[11]), (!c || A & 2 && l !== (l = p[1].contentType)) && y(e, "data-content-type", l), A & 128 && T(e, "left", p[7]), A & 64 && T(e, "top", p[6]), A & 32 && T(e, "z-index", p[5]), (!c || A & 2048) && y(t, "data-tag-id", p[11]), (!c || A & 2) && q(t, "unClickable", p[1].mergedConfig.clickable === !1), (!c || A & 1024) && q(t, "disable", p[10]), (!c || A & 512) && q(t, "hide", p[9]), (!c || A & 1) && q(t, "withAnimation", p[0]);
18734
18736
  },
18735
18737
  i(p) {
18736
- c || (C(o), C(a), c = !0);
18738
+ c || (P(o), P(a), c = !0);
18737
18739
  },
18738
18740
  o(p) {
18739
18741
  x(o), x(a), c = !1;
@@ -18749,8 +18751,8 @@ function o1(i, t, e) {
18749
18751
  return i.$$set = (b) => {
18750
18752
  "withAnimation" in b && e(0, h = b.withAnimation), "tag" in b && e(1, f = b.tag), "mediaStore" in b && e(2, v = b.mediaStore), "state" in b && e(3, g = b.state), "temporaryState" in b && e(4, p = b.temporaryState);
18751
18753
  }, i.$$.update = () => {
18752
- var b, w, E, L, P, D, k, V;
18753
- i.$$.dirty & 2 && e(13, n = (() => !(f.contentType === "Sticker" || f.contentType === "Link" || f.contentType === "VRLink" || f.contentType === "PanoLink" || f.contentType === "Audio" && f.data.appearance === "plane"))()), i.$$.dirty & 2 && e(12, o = (() => f.stickType === "2DPoint")()), i.$$.dirty & 2 && e(11, s = f.id), i.$$.dirty & 2 && e(10, r = !((b = f.pointTagStyle) != null && b.leftPercent) || !((w = f.pointTagStyle) != null && w.topPercent) || f.enabled === !1 || !f.state), i.$$.dirty & 2 && e(9, a = !((E = f.state) != null && E.visible) || ((L = f.temporaryState) == null ? void 0 : L.visible) === !1), i.$$.dirty & 2 && e(8, l = (P = f.state) == null ? void 0 : P.unfolded), i.$$.dirty & 2 && e(7, c = ((D = f.pointTagStyle) == null ? void 0 : D.leftPercent) + "%"), i.$$.dirty & 2 && e(6, u = ((k = f.pointTagStyle) == null ? void 0 : k.topPercent) + "%"), i.$$.dirty & 2 && e(5, d = (V = f.state) != null && V.unfolded ? 1 : 0);
18754
+ var b, w, E, L, I, D, k, V;
18755
+ i.$$.dirty & 2 && e(13, n = (() => !(f.contentType === "Sticker" || f.contentType === "Link" || f.contentType === "VRLink" || f.contentType === "PanoLink" || f.contentType === "Audio" && f.data.appearance === "plane"))()), i.$$.dirty & 2 && e(12, o = (() => f.stickType === "2DPoint")()), i.$$.dirty & 2 && e(11, s = f.id), i.$$.dirty & 2 && e(10, r = !((b = f.pointTagStyle) != null && b.leftPercent) || !((w = f.pointTagStyle) != null && w.topPercent) || f.enabled === !1 || !f.state), i.$$.dirty & 2 && e(9, a = !((E = f.state) != null && E.visible) || ((L = f.temporaryState) == null ? void 0 : L.visible) === !1), i.$$.dirty & 2 && e(8, l = (I = f.state) == null ? void 0 : I.unfolded), i.$$.dirty & 2 && e(7, c = ((D = f.pointTagStyle) == null ? void 0 : D.leftPercent) + "%"), i.$$.dirty & 2 && e(6, u = ((k = f.pointTagStyle) == null ? void 0 : k.topPercent) + "%"), i.$$.dirty & 2 && e(5, d = (V = f.state) != null && V.unfolded ? 1 : 0);
18754
18756
  }, [
18755
18757
  h,
18756
18758
  f,
@@ -18821,7 +18823,7 @@ function va(i) {
18821
18823
  i(a) {
18822
18824
  if (!o) {
18823
18825
  for (let l = 0; l < s.length; l += 1)
18824
- C(e[l]);
18826
+ P(e[l]);
18825
18827
  o = !0;
18826
18828
  }
18827
18829
  },
@@ -18862,7 +18864,7 @@ function ba(i, t) {
18862
18864
  r & 8 && (a.state = t[3]), r & 16 && (a.temporaryState = t[4]), r & 1 && (a.withAnimation = t[0]), r & 2 && (a.tag = t[6]), r & 4 && (a.mediaStore = t[2]), n.$set(a);
18863
18865
  },
18864
18866
  i(s) {
18865
- o || (C(n.$$.fragment, s), o = !0);
18867
+ o || (P(n.$$.fragment, s), o = !0);
18866
18868
  },
18867
18869
  o(s) {
18868
18870
  x(n.$$.fragment, s), o = !1;
@@ -18882,12 +18884,12 @@ function a1(i) {
18882
18884
  n && n.m(o, s), M(o, t, s), e = !0;
18883
18885
  },
18884
18886
  p(o, [s]) {
18885
- o[3].enabled ? n ? (n.p(o, s), s & 8 && C(n, 1)) : (n = va(o), n.c(), C(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
18887
+ o[3].enabled ? n ? (n.p(o, s), s & 8 && P(n, 1)) : (n = va(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), x(n, 1, 1, () => {
18886
18888
  n = null;
18887
18889
  }), re());
18888
18890
  },
18889
18891
  i(o) {
18890
- e || (C(n), e = !0);
18892
+ e || (P(n), e = !0);
18891
18893
  },
18892
18894
  o(o) {
18893
18895
  x(n), e = !1;
@@ -19393,7 +19395,7 @@ class f1 extends h1 {
19393
19395
  }
19394
19396
  const Nb = (i, t) => new f1(i, t);
19395
19397
  function Zl(i) {
19396
- const t = new I.Box3(), e = new I.Vector3();
19398
+ const t = new C.Box3(), e = new C.Vector3();
19397
19399
  if (i.traverse((n) => {
19398
19400
  var s;
19399
19401
  if (n.name === "shadow")
@@ -19501,15 +19503,15 @@ class jn {
19501
19503
  }
19502
19504
  updateOffsetByScale(t) {
19503
19505
  if (this.boundingBox && this.offset) {
19504
- 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 });
19506
+ const e = this.originObject3D.position, n = new C.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), o = new C.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), s = this.calculateOffset(this.offset, { min: o, max: n });
19505
19507
  this.helperObject3D.position.copy(s), this.helperObject3D.initialPosition();
19506
19508
  }
19507
19509
  }
19508
19510
  hoverListener(t, e = 16777215, n = 1) {
19509
19511
  const o = (Array.isArray(t) ? t : [t]).filter(wt), s = [];
19510
19512
  for (const r of o)
19511
- if (r instanceof I.Mesh || r instanceof I.Group) {
19512
- const a = r instanceof I.Group ? r.children.filter((h) => h instanceof I.Mesh) : [r];
19513
+ if (r instanceof C.Mesh || r instanceof C.Group) {
19514
+ const a = r instanceof C.Group ? r.children.filter((h) => h instanceof C.Mesh) : [r];
19513
19515
  a.forEach((h) => {
19514
19516
  h.__originalColor__ = h.material.color.clone(), h.__originalOpacity__ = h.material.opacity;
19515
19517
  });
@@ -19549,7 +19551,7 @@ class jn {
19549
19551
  return s.object;
19550
19552
  }
19551
19553
  calculateOffset(t, e) {
19552
- const n = this.originObject3D, o = new I.Vector3(0, 0, 0);
19554
+ const n = this.originObject3D, o = new C.Vector3(0, 0, 0);
19553
19555
  if (!t)
19554
19556
  return o;
19555
19557
  const s = () => e || (this.boundingBox ? this.boundingBox : (this.boundingBox = Zl(n), this.boundingBox));
@@ -19583,13 +19585,13 @@ class m1 extends jn {
19583
19585
  var l, c, u;
19584
19586
  let n = 1, o = 1, s = 1;
19585
19587
  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 = (u = e.z) != null ? u : 1);
19586
- const r = new I.Vector3(n, o, s);
19588
+ const r = new C.Vector3(n, o, s);
19587
19589
  this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
19588
19590
  }
19589
19591
  }
19590
19592
  function Kl(i, t, e) {
19591
19593
  if (e) {
19592
- const o = new I.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
19594
+ const o = new C.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
19593
19595
  i.position.copy(o);
19594
19596
  }
19595
19597
  i.quaternion.copy(t);
@@ -19678,14 +19680,14 @@ class $l extends Di {
19678
19680
  }
19679
19681
  class b1 extends $l {
19680
19682
  }
19681
- class y1 extends I.Group {
19683
+ class y1 extends C.Group {
19682
19684
  constructor(e) {
19683
19685
  super();
19684
19686
  m(this, "direction");
19685
19687
  this.direction = e || "x";
19686
19688
  }
19687
19689
  }
19688
- class ya extends I.Mesh {
19690
+ class ya extends C.Mesh {
19689
19691
  constructor(e, n, o) {
19690
19692
  super(e, n);
19691
19693
  m(this, "direction");
@@ -19694,7 +19696,7 @@ class ya extends I.Mesh {
19694
19696
  }
19695
19697
  function w1(i, t) {
19696
19698
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
19697
- return Object.assign(new I.Vector2(), {
19699
+ return Object.assign(new C.Vector2(), {
19698
19700
  x: (i.x - s) / e * 2 - 1,
19699
19701
  y: -(i.y - o) / n * 2 + 1
19700
19702
  });
@@ -19705,7 +19707,7 @@ function Bo(i, t, e) {
19705
19707
  const n = w1(t, e);
19706
19708
  if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
19707
19709
  return;
19708
- const o = new I.Raycaster();
19710
+ const o = new C.Raycaster();
19709
19711
  return o.setFromCamera(n, i), o;
19710
19712
  }
19711
19713
  function E1(i, t) {
@@ -19720,15 +19722,15 @@ class Xi extends y1 {
19720
19722
  m(this, "lineHeight", 0.4);
19721
19723
  m(this, "arrowHeight", 0.1);
19722
19724
  this.name = "ArrowGroup";
19723
- const n = new I.Color((u = e.color) != null ? u : 16214315), o = new I.MeshBasicMaterial({
19725
+ const n = new C.Color((u = e.color) != null ? u : 16214315), o = new C.MeshBasicMaterial({
19724
19726
  color: n,
19725
19727
  depthTest: !1,
19726
19728
  opacity: 1,
19727
19729
  transparent: !0,
19728
- side: I.DoubleSide
19729
- }), s = new I.ConeGeometry(0.04, 0.1, 32), r = new ya(s, o.clone(), e.direction);
19730
+ side: C.DoubleSide
19731
+ }), s = new C.ConeGeometry(0.04, 0.1, 32), r = new ya(s, o.clone(), e.direction);
19730
19732
  r.name = `arrow-${e.direction}`, this.arrow = r;
19731
- const a = 4e-3, l = new I.CylinderGeometry(a, a, 0.4, 32), c = new ya(l, o.clone(), e.direction);
19733
+ const a = 4e-3, l = new C.CylinderGeometry(a, a, 0.4, 32), c = new ya(l, o.clone(), e.direction);
19732
19734
  c.name = `line-${e.direction}`, this.line = c, this.formatArrow(), this.formatLine(), this.add(this.arrow, this.line);
19733
19735
  }
19734
19736
  formatArrow() {
@@ -19745,13 +19747,13 @@ const Yi = {
19745
19747
  };
19746
19748
  class Nt {
19747
19749
  static get X() {
19748
- return new I.Color(Yi.X).convertSRGBToLinear().clone();
19750
+ return new C.Color(Yi.X).convertSRGBToLinear().clone();
19749
19751
  }
19750
19752
  static get Y() {
19751
- return new I.Color(Yi.Y).convertSRGBToLinear().clone();
19753
+ return new C.Color(Yi.Y).convertSRGBToLinear().clone();
19752
19754
  }
19753
19755
  static get Z() {
19754
- return new I.Color(Yi.Z).convertSRGBToLinear().clone();
19756
+ return new C.Color(Yi.Z).convertSRGBToLinear().clone();
19755
19757
  }
19756
19758
  }
19757
19759
  class C1 extends g1 {
@@ -19835,7 +19837,7 @@ class k1 extends v1 {
19835
19837
  this.removeFromParent(), (n = (e = this.angleTips) == null ? void 0 : e.element) == null || n.remove();
19836
19838
  }
19837
19839
  }
19838
- class Ui extends I.Group {
19840
+ class Ui extends C.Group {
19839
19841
  constructor(e) {
19840
19842
  super();
19841
19843
  m(this, "direction");
@@ -19854,41 +19856,41 @@ class Ui extends I.Group {
19854
19856
  this.remove(this.ring, this.angleSector, this.circle);
19855
19857
  }
19856
19858
  }
19857
- class x1 extends I.Mesh {
19859
+ class x1 extends C.Mesh {
19858
19860
  constructor(e) {
19859
19861
  var n;
19860
19862
  super();
19861
19863
  m(this, "direction");
19862
19864
  m(this, "gapAngle", 0.02);
19863
- m(this, "geometry", new I.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
19864
- this.material = new I.MeshBasicMaterial({
19865
+ m(this, "geometry", new C.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
19866
+ this.material = new C.MeshBasicMaterial({
19865
19867
  opacity: 0.6,
19866
19868
  color: (n = e.color) != null ? n : 16777215,
19867
19869
  transparent: !0,
19868
- side: I.DoubleSide,
19870
+ side: C.DoubleSide,
19869
19871
  depthTest: !1
19870
19872
  }), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
19871
19873
  }
19872
19874
  }
19873
- class D1 extends I.Group {
19875
+ class D1 extends C.Group {
19874
19876
  constructor(e) {
19875
19877
  super();
19876
19878
  m(this, "direction");
19877
19879
  this.direction = e.direction;
19878
19880
  const n = 0.015, o = new Array(8).fill(null).map((s, r) => {
19879
- 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({
19881
+ const a = new C.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + n, Math.PI / 4 - n * 2), l = new C.MeshBasicMaterial({
19880
19882
  opacity: 1,
19881
19883
  color: 16777215,
19882
19884
  depthTest: !1,
19883
19885
  transparent: !0,
19884
- side: I.DoubleSide
19885
- }), c = new I.Mesh(a, l);
19886
+ side: C.DoubleSide
19887
+ }), c = new C.Mesh(a, l);
19886
19888
  return c.name = `AxesDashedRing-${this.direction}-${r}`, c;
19887
19889
  });
19888
19890
  this.add(...o);
19889
19891
  }
19890
19892
  }
19891
- class L1 extends I.Mesh {
19893
+ class L1 extends C.Mesh {
19892
19894
  constructor(e) {
19893
19895
  var o;
19894
19896
  super();
@@ -19897,22 +19899,22 @@ class L1 extends I.Mesh {
19897
19899
  m(this, "angleDirection");
19898
19900
  switch (e.direction) {
19899
19901
  case "x":
19900
- this.baseAxes = new I.Vector3(0, 0, 1);
19902
+ this.baseAxes = new C.Vector3(0, 0, 1);
19901
19903
  break;
19902
19904
  case "y":
19903
- this.baseAxes = new I.Vector3(1, 0, 0);
19905
+ this.baseAxes = new C.Vector3(1, 0, 0);
19904
19906
  break;
19905
19907
  case "z":
19906
- this.baseAxes = new I.Vector3(1, 0, 0);
19908
+ this.baseAxes = new C.Vector3(1, 0, 0);
19907
19909
  break;
19908
19910
  }
19909
19911
  const n = 0.3 + 5e-4;
19910
- this.geometry = new I.CircleGeometry(n, 48, 0, 1e-4), this.material = new I.MeshBasicMaterial({
19912
+ this.geometry = new C.CircleGeometry(n, 48, 0, 1e-4), this.material = new C.MeshBasicMaterial({
19911
19913
  opacity: 0.4,
19912
19914
  color: (o = e.color) != null ? o : 16777215,
19913
19915
  depthTest: !1,
19914
19916
  transparent: !0,
19915
- side: I.DoubleSide
19917
+ side: C.DoubleSide
19916
19918
  }), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
19917
19919
  }
19918
19920
  }
@@ -20020,15 +20022,15 @@ class M1 extends b1 {
20020
20022
  var s;
20021
20023
  const o = (s = this.css3DInstance) == null ? void 0 : s.css3DObject;
20022
20024
  if (o) {
20023
- const r = new I.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
20025
+ const r = new C.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
20024
20026
  o.position.copy(r), o.applyQuaternion(e);
20025
20027
  }
20026
20028
  if (this.plane) {
20027
- const r = new I.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
20029
+ const r = new C.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
20028
20030
  this.plane.position.copy(r), this.plane.applyQuaternion(e);
20029
20031
  }
20030
20032
  this.cornerPositions.forEach((r) => {
20031
- const a = new I.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
20033
+ const a = new C.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
20032
20034
  r.copy(a);
20033
20035
  });
20034
20036
  }
@@ -20094,7 +20096,7 @@ class T1 extends A1 {
20094
20096
  m(this, "outline");
20095
20097
  m(this, "originObject");
20096
20098
  m(this, "positionAttribute");
20097
- 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();
20099
+ this.originObject = e, this.positionAttribute = new C.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
20098
20100
  }
20099
20101
  raycasterIntersectObject(e, n) {
20100
20102
  return e.intersectObject(this, !1, n);
@@ -20110,16 +20112,16 @@ class T1 extends A1 {
20110
20112
  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;
20111
20113
  }
20112
20114
  createOutline() {
20113
- 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();
20114
- n.setIndex(new I.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
20115
- const o = new I.LineBasicMaterial({
20115
+ 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 C.BufferGeometry();
20116
+ n.setIndex(new C.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
20117
+ const o = new C.LineBasicMaterial({
20116
20118
  color: 64767,
20117
20119
  linewidth: 1,
20118
20120
  opacity: 1,
20119
20121
  depthTest: !1,
20120
20122
  transparent: !0,
20121
20123
  toneMapped: !1
20122
- }), s = new I.LineSegments(n, o);
20124
+ }), s = new C.LineSegments(n, o);
20123
20125
  return s.matrixAutoUpdate = !1, s;
20124
20126
  }
20125
20127
  createBox() {
@@ -20160,15 +20162,15 @@ class T1 extends A1 {
20160
20162
  6,
20161
20163
  7,
20162
20164
  3
20163
- ]), n = new I.BufferGeometry();
20164
- n.setIndex(new I.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
20165
- const o = new I.MeshBasicMaterial({
20165
+ ]), n = new C.BufferGeometry();
20166
+ n.setIndex(new C.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
20167
+ const o = new C.MeshBasicMaterial({
20166
20168
  color: 64767,
20167
20169
  opacity: 0.1,
20168
20170
  depthTest: !1,
20169
20171
  transparent: !0
20170
20172
  });
20171
- return new I.Mesh(n, o);
20173
+ return new C.Mesh(n, o);
20172
20174
  }
20173
20175
  }
20174
20176
  class z1 extends jn {
@@ -20230,7 +20232,7 @@ class z1 extends jn {
20230
20232
  const o = (n == null ? void 0 : n.object).direction;
20231
20233
  if (!o)
20232
20234
  return this.dragEnd();
20233
- 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 = (() => {
20235
+ const s = new C.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new C.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new C.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
20234
20236
  switch (o) {
20235
20237
  case "x":
20236
20238
  return s;
@@ -20247,7 +20249,7 @@ class z1 extends jn {
20247
20249
  case "z":
20248
20250
  return s;
20249
20251
  }
20250
- })(), u = n.point.clone(), d = new I.Plane();
20252
+ })(), u = n.point.clone(), d = new C.Plane();
20251
20253
  d.setFromNormalAndCoplanarPoint(c, u), this.startInfo = { startVectorProject: u.clone().projectOnVector(l), directionVector: l, plane: d }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
20252
20254
  }
20253
20255
  dragging(e) {
@@ -20259,10 +20261,10 @@ class z1 extends jn {
20259
20261
  move(e) {
20260
20262
  if (!this.startInfo)
20261
20263
  return this.dragEnd();
20262
- const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new I.Vector3());
20264
+ const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new C.Vector3());
20263
20265
  if (!a)
20264
20266
  return;
20265
- const l = a.clone().projectOnVector(o), c = l.clone().sub(s), u = new I.Matrix4();
20267
+ const l = a.clone().projectOnVector(o), c = l.clone().sub(s), u = new C.Matrix4();
20266
20268
  u.setPosition(c);
20267
20269
  const d = r.position.clone().applyMatrix4(u);
20268
20270
  this.hooks.emit("wantToMove", d) || (r.applyMatrix4(u), s.copy(l), this.hooks.emit("applyObjectPosition", { matrix: u }), this.hooks.emit("move", d));
@@ -20419,7 +20421,7 @@ class F1 extends jn {
20419
20421
  this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
20420
20422
  }
20421
20423
  setRotateAngle(e) {
20422
- const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new I.Euler(qi(n), qi(o), qi(s)), a = new I.Quaternion().setFromEuler(r);
20424
+ const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new C.Euler(qi(n), qi(o), qi(s)), a = new C.Quaternion().setFromEuler(r);
20423
20425
  if (this.hooks.emit("wantToRotate", a))
20424
20426
  return;
20425
20427
  const { originObject3D: c, rotateCenter: u } = this;
@@ -20448,12 +20450,12 @@ class F1 extends jn {
20448
20450
  a.y += 0.2, this.setTipsPosition(a);
20449
20451
  const l = (() => {
20450
20452
  if (o === "x")
20451
- return new I.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
20453
+ return new C.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
20452
20454
  if (o === "y")
20453
- return new I.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
20455
+ return new C.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
20454
20456
  if (o === "z")
20455
- return new I.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
20456
- })(), c = new I.Plane().setFromNormalAndCoplanarPoint(l, s), d = c.projectPoint(s.clone(), new I.Vector3()).clone().sub(this.rotateCenter), h = d.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
20457
+ return new C.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
20458
+ })(), c = new C.Plane().setFromNormalAndCoplanarPoint(l, s), d = c.projectPoint(s.clone(), new C.Vector3()).clone().sub(this.rotateCenter), h = d.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
20457
20459
  this.setAngleHelperStart(o, h), this.setAngleHelperLength(o, 0), this.startInfo = { direction: o, startVector: d, plane: c, angleHelper: r, angle: 0, objectQuaternion: this.originObject3D.quaternion.clone() }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("rotateStart"), this.isDragging = !0;
20458
20460
  }
20459
20461
  dragging(e) {
@@ -20465,24 +20467,24 @@ class F1 extends jn {
20465
20467
  rotate(e) {
20466
20468
  if (!this.startInfo)
20467
20469
  return this.dragEnd();
20468
- const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new I.Vector3());
20470
+ const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new C.Vector3());
20469
20471
  if (!c)
20470
20472
  return;
20471
- const u = this.rotateCenter.clone(), h = o.projectPoint(c.clone(), new I.Vector3()).clone().sub(u);
20473
+ const u = this.rotateCenter.clone(), h = o.projectPoint(c.clone(), new C.Vector3()).clone().sub(u);
20472
20474
  if (n.angleTo(h) === 0)
20473
20475
  return;
20474
- const f = new I.Quaternion().setFromUnitVectors(n.clone().normalize(), h.clone().normalize()), v = l.quaternion.clone().premultiply(f);
20476
+ const f = new C.Quaternion().setFromUnitVectors(n.clone().normalize(), h.clone().normalize()), v = l.quaternion.clone().premultiply(f);
20475
20477
  if (this.hooks.emit("wantToRotate", v))
20476
20478
  return;
20477
- const A = new I.Euler().setFromQuaternion(
20478
- new I.Quaternion().setFromUnitVectors(
20479
+ const A = new C.Euler().setFromQuaternion(
20480
+ new C.Quaternion().setFromUnitVectors(
20479
20481
  n.clone().normalize().applyQuaternion(a.clone().inverse()),
20480
20482
  h.clone().normalize().applyQuaternion(a.clone().inverse())
20481
20483
  ),
20482
20484
  `${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
20483
20485
  )[r] * s.angleDirection;
20484
20486
  if (this.startInfo.angle += A, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(il(this.startInfo.angle)), u) {
20485
- const b = new I.Vector3().subVectors(l.position, u).applyQuaternion(f).add(u);
20487
+ const b = new C.Vector3().subVectors(l.position, u).applyQuaternion(f).add(u);
20486
20488
  l.position.copy(b);
20487
20489
  }
20488
20490
  l.applyQuaternion(f), this.hooks.emit("applyObjectRotate", { quaternion: f, origin: u }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = h;
@@ -20507,17 +20509,17 @@ class F1 extends jn {
20507
20509
  console.warn("angleHelper is undefined");
20508
20510
  return;
20509
20511
  }
20510
- if (o instanceof I.Mesh && o.geometry instanceof I.CircleGeometry) {
20512
+ if (o instanceof C.Mesh && o.geometry instanceof C.CircleGeometry) {
20511
20513
  const { radius: s, segments: r, thetaLength: a } = o.geometry.parameters;
20512
- o.geometry = new I.CircleGeometry(s, r, n, a);
20514
+ o.geometry = new C.CircleGeometry(s, r, n, a);
20513
20515
  } else
20514
20516
  console.warn("only support THREE.CircleGeometry");
20515
20517
  }
20516
20518
  setAngleHelperLength(e, n) {
20517
20519
  const s = n >= 0 ? Math.max(n, 1e-3) : Math.min(n, -1e-3), r = this.getAngleHelper(e);
20518
- if (r instanceof I.Mesh && r.geometry instanceof I.CircleGeometry) {
20520
+ if (r instanceof C.Mesh && r.geometry instanceof C.CircleGeometry) {
20519
20521
  const { radius: a, thetaStart: l } = r.geometry.parameters, c = Math.ceil(Math.abs(s) * (40 / (2 * Math.PI)));
20520
- r.geometry = new I.CircleGeometry(a, c, l, s);
20522
+ r.geometry = new C.CircleGeometry(a, c, l, s);
20521
20523
  } else
20522
20524
  console.warn("only support THREE.CircleGeometry");
20523
20525
  }
@@ -20562,7 +20564,7 @@ class H1 extends jn {
20562
20564
  this.helperObject3D.applyHelperScaleMatrix4(e.matrix, e.origin);
20563
20565
  }
20564
20566
  getDragPlane() {
20565
- const e = new I.Plane(), n = this.helperObject3D.cornerPositions;
20567
+ const e = new C.Plane(), n = this.helperObject3D.cornerPositions;
20566
20568
  if (n.length !== 0)
20567
20569
  return n.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new U()), n[0]) : e.setFromCoplanarPoints(n[0], n[1], n[2]), e;
20568
20570
  }
@@ -20633,9 +20635,9 @@ class H1 extends jn {
20633
20635
  case "nwse":
20634
20636
  p(), A();
20635
20637
  }
20636
- const b = new U().subVectors(r[1], r[0]).length() / d.length(), w = new U().subVectors(r[3], r[0]).length() / h.length(), E = new U(b, w, 1), L = new I.Matrix4().scale(E);
20638
+ const b = new U().subVectors(r[1], r[0]).length() / d.length(), w = new U().subVectors(r[3], r[0]).length() / h.length(), E = new U(b, w, 1), L = new C.Matrix4().scale(E);
20637
20639
  n.isCSS3DObjectPlus ? n.applyScaleMatrix4(L) : n.scale.applyMatrix4(L), o.position.copy(a);
20638
- const P = new U().addVectors(r[0], r[2]).divideScalar(2), D = new U().subVectors(P, l), k = new I.Matrix4().setPosition(D);
20640
+ const I = new U().addVectors(r[0], r[2]).divideScalar(2), D = new U().subVectors(I, l), k = new C.Matrix4().setPosition(D);
20639
20641
  n.applyMatrix4(k), (V = this.helperObject3D.css3DInstance) == null || V.css3DObject.applyMatrix4(k), (_ = this.helperObject3D.plane) == null || _.applyMatrix4(k), this.hooks.emit("applyObjectScale", { matrix: L }), this.hooks.emit("applyObjectPosition", { matrix: k }), this.render();
20640
20642
  }
20641
20643
  dragEnd() {