@realsee/dnalogel 2.17.0-aplha.2 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  2. package/dist/index.cjs.js +13 -13
  3. package/dist/index.js +296 -291
  4. package/dist/index.umd.js +13 -13
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +25 -25
  7. package/docs/classes/Magnifier.html +20 -20
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  12. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  13. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  14. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  15. package/docs/classes/PanoTagPluginController.html +45 -45
  16. package/docs/classes/Util.BetterTween.html +8 -8
  17. package/docs/classes/Util.FivePointSelector.html +12 -12
  18. package/docs/classes/Util.Interval.html +12 -12
  19. package/docs/classes/Util.Magnifier.html +17 -17
  20. package/docs/classes/Util.PointDomHelper.html +11 -11
  21. package/docs/classes/Util.PointHelper.html +11 -11
  22. package/docs/classes/Util.Rectangle.html +13 -13
  23. package/docs/enums/CameraMovementEffect.html +7 -7
  24. package/docs/enums/ContentType.html +19 -19
  25. package/docs/enums/DIRECTION.html +9 -9
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/DimensionType.html +7 -7
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  30. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  31. package/docs/enums/Rotation.html +8 -8
  32. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  33. package/docs/functions/CameraMovementPlugin.html +4 -4
  34. package/docs/functions/CruisePlugin.html +4 -4
  35. package/docs/functions/GuideLinePlugin.html +5 -5
  36. package/docs/functions/ItemLabelPlugin.html +4 -4
  37. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  38. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  39. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  40. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  41. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  42. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  43. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  44. package/docs/functions/ModelViewPlugin.html +4 -4
  45. package/docs/functions/Object3DHelperPlugin.html +4 -4
  46. package/docs/functions/PanoCompassPlugin.html +4 -4
  47. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  48. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  49. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  50. package/docs/functions/PanoMeasurePlugin.html +4 -4
  51. package/docs/functions/PanoRulerPlugin.html +4 -4
  52. package/docs/functions/PanoRulerProPlugin.html +4 -4
  53. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  54. package/docs/functions/PanoTagPlugin.html +4 -4
  55. package/docs/functions/PanoVideoPlugin.html +4 -4
  56. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  57. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  58. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  59. package/docs/functions/Util.getFrameTime.html +5 -5
  60. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  61. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  62. package/docs/functions/Util.isNil.html +5 -5
  63. package/docs/functions/Util.nextFrame.html +5 -5
  64. package/docs/functions/Util.notNil.html +5 -5
  65. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  66. package/docs/functions/Util.tweenProgress.html +5 -5
  67. package/docs/functions/pluginFlag.html +5 -5
  68. package/docs/index.html +4 -4
  69. package/docs/interfaces/AddTagConfig.html +6 -6
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  71. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  72. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  73. package/docs/interfaces/EventMap.html +15 -15
  74. package/docs/interfaces/FloorplanBounding.html +8 -8
  75. package/docs/interfaces/FloorplanData.html +10 -10
  76. package/docs/interfaces/FloorplanEntrance.html +11 -11
  77. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  78. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  79. package/docs/interfaces/FloorplanFloorData.html +9 -9
  80. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  81. package/docs/interfaces/FloorplanObserver.html +9 -9
  82. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  83. package/docs/interfaces/FloorplanPosition.html +7 -7
  84. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  87. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  88. package/docs/interfaces/FloorplanServerData.html +7 -7
  89. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  91. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  97. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  99. package/docs/interfaces/HelperOffset.html +8 -8
  100. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  101. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  102. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  103. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  104. package/docs/interfaces/MinMax.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  106. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  107. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  108. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  109. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  110. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  111. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  112. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  113. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  114. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  115. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  116. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  117. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  118. package/docs/interfaces/Object3DHelperState.html +8 -8
  119. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  120. package/docs/interfaces/PaintBrushAction.html +12 -12
  121. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  122. package/docs/interfaces/PaintBrushState.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  124. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  125. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  126. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  127. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  129. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  130. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  132. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  133. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  134. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  137. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  140. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  146. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  147. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  148. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  149. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  150. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  151. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  152. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  153. package/docs/interfaces/Point.html +8 -8
  154. package/docs/interfaces/Room.html +9 -9
  155. package/docs/interfaces/RoomInfo.html +7 -7
  156. package/docs/interfaces/RoomLabel.html +14 -14
  157. package/docs/interfaces/RoomRules.html +5 -5
  158. package/docs/interfaces/Rooms.html +5 -5
  159. package/docs/interfaces/Scissor.html +9 -9
  160. package/docs/interfaces/State.html +8 -8
  161. package/docs/interfaces/TagCacheInterface.html +12 -12
  162. package/docs/interfaces/TagConfig.html +12 -12
  163. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  164. package/docs/interfaces/TagIconUrl.html +11 -11
  165. package/docs/interfaces/TagObjectGroup.html +6 -6
  166. package/docs/interfaces/TagStyle.html +6 -6
  167. package/docs/interfaces/Tags.html +9 -9
  168. package/docs/interfaces/TemporaryState.html +6 -6
  169. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  170. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  171. package/docs/modules/PanoVideoPluginType.html +5 -5
  172. package/docs/modules/Util.html +5 -5
  173. package/docs/modules.html +4 -4
  174. package/docs/types/ArrayPosition.html +5 -5
  175. package/docs/types/AudioAppearance.html +5 -5
  176. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  177. package/docs/types/CSS3DRenderExportType.html +5 -5
  178. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  179. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  180. package/docs/types/ClassFunctionParameters.html +5 -5
  181. package/docs/types/Color.html +5 -5
  182. package/docs/types/ContentTypeConfigKey.html +5 -5
  183. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  184. package/docs/types/ContentTypeMap.html +5 -5
  185. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  186. package/docs/types/Create3DElementReturnType.html +5 -5
  187. package/docs/types/CruisePluginExportType.html +5 -5
  188. package/docs/types/Direction-1.html +5 -5
  189. package/docs/types/Direction4.html +5 -5
  190. package/docs/types/ElementRenderer.html +5 -5
  191. package/docs/types/FloorplanRuleLabels.html +5 -5
  192. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  193. package/docs/types/GuideLinePluginExportType.html +5 -5
  194. package/docs/types/HelperEventMap.html +5 -5
  195. package/docs/types/LoadTagConfig.html +5 -5
  196. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  198. package/docs/types/MediaData.html +5 -5
  199. package/docs/types/MediaStore.html +5 -5
  200. package/docs/types/ModelElement.html +5 -5
  201. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  202. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  203. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  204. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  205. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  206. package/docs/types/MoveArgs.html +5 -5
  207. package/docs/types/MoveOpts.html +5 -5
  208. package/docs/types/Object3DHelperEventMap.html +5 -5
  209. package/docs/types/ObjectFit.html +5 -5
  210. package/docs/types/PaintBrushEventMap.html +5 -5
  211. package/docs/types/PanoCompassPluginData.html +5 -5
  212. package/docs/types/PanoCompassPluginExportType.html +5 -5
  213. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  214. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  215. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  216. package/docs/types/PanoIndex.html +5 -5
  217. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  218. package/docs/types/PanoMeasureReturnType.html +5 -5
  219. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  220. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  221. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  222. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  223. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  224. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
  225. package/docs/types/PlaneTag.html +5 -5
  226. package/docs/types/PlaneTagElement.html +5 -5
  227. package/docs/types/Point2DElement.html +5 -5
  228. package/docs/types/Point2DTag.html +5 -5
  229. package/docs/types/Point3DElement.html +5 -5
  230. package/docs/types/Point3DTag.html +5 -5
  231. package/docs/types/PointTag.html +5 -5
  232. package/docs/types/PointTagElement.html +5 -5
  233. package/docs/types/Position.html +5 -5
  234. package/docs/types/RotateArgs.html +5 -5
  235. package/docs/types/RotateOpts.html +5 -5
  236. package/docs/types/RuleLabelsKey.html +5 -5
  237. package/docs/types/RuleLabelsValue.html +5 -5
  238. package/docs/types/StickType.html +5 -5
  239. package/docs/types/Tag.html +5 -5
  240. package/docs/types/Tag2D.html +5 -5
  241. package/docs/types/Tag3D.html +5 -5
  242. package/docs/types/TagContentType.html +5 -5
  243. package/docs/types/TagDimensionType.html +5 -5
  244. package/docs/types/TagElement.html +5 -5
  245. package/docs/types/TagEvents.html +5 -5
  246. package/docs/types/TagGLTFObject.html +5 -5
  247. package/docs/types/TagHooks.html +5 -5
  248. package/docs/types/TagIconSize.html +5 -5
  249. package/docs/types/TagId.html +5 -5
  250. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  251. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  252. package/docs/types/WorkCode.html +5 -5
  253. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  254. package/docs/variables/PLUGIN.html +5 -5
  255. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  256. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  257. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  258. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  259. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  260. package/libs/PanoTagPlugin/controller/TagCache.js +18 -18
  261. package/libs/PanoTagPlugin/controller/TagComputer.js +4 -4
  262. package/libs/PanoTagPlugin/controller/TagRender.js +114 -113
  263. package/libs/PanoTagPlugin/controller/TagUtil.js +91 -91
  264. package/libs/PanoTagPlugin/controller/index.js +9 -7
  265. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  266. package/libs/base/BasePlugin.js +3 -3
  267. package/libs/shared-utils/five/getFloorIndex.js +12 -10
  268. package/libs/shared-utils/logger.js +1 -1
  269. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ import { FBXLoader as Sa } from "three/examples/jsm/loaders/FBXLoader";
38
38
  import zn from "hammerjs";
39
39
  import Oe from "classnames";
40
40
  import Rc from "polyline-normals";
41
- import at from "object-assign-deep";
41
+ import nt from "object-assign-deep";
42
42
  import { GLTFLoader as Qc } from "@realsee/five/gltf-loader";
43
43
  import No from "animejs";
44
44
  import Qn from "lodash.get";
@@ -46,7 +46,7 @@ import Fc from "lodash.clonedeep";
46
46
  import Hc from "lodash.isequal";
47
47
  function Gc() {
48
48
  console.info(
49
- "%c %c@realsee/dnalogel %cv2.17.0-aplha.2",
49
+ "%c %c@realsee/dnalogel %cv2.17.0",
50
50
  [
51
51
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
52
52
  "background-repeat: no-repeat",
@@ -157,7 +157,7 @@ class qc {
157
157
  function ht() {
158
158
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
159
159
  }
160
- function We() {
160
+ function Ge() {
161
161
  return (ht() + ht() + "-" + ht() + "-4" + ht().substr(0, 3) + "-" + ht() + "-" + ht() + ht() + ht()).toLowerCase();
162
162
  }
163
163
  const Jc = `
@@ -268,7 +268,7 @@ class Zc extends qc {
268
268
  f(this, "clientWidth");
269
269
  f(this, "clientHeight");
270
270
  f(this, "ready", !1);
271
- f(this, "uuid", We());
271
+ f(this, "uuid", Ge());
272
272
  f(this, "tween");
273
273
  f(this, "tweening", !1);
274
274
  f(this, "container");
@@ -557,7 +557,7 @@ class Zc extends qc {
557
557
  this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
558
558
  }
559
559
  }
560
- class Mb {
560
+ class M1 {
561
561
  constructor(t = {}) {
562
562
  f(this, "controller");
563
563
  const e = Object.assign({
@@ -595,7 +595,7 @@ class Mb {
595
595
  this.controller.updateCurrentColor(t);
596
596
  }
597
597
  }
598
- const Sb = (i, t) => {
598
+ const S1 = (i, t) => {
599
599
  var S, V;
600
600
  let e = (V = (S = t == null ? void 0 : t.initialState) == null ? void 0 : S.enabled) != null ? V : !0, n = !1, o = !0, s = null;
601
601
  const a = R(R({}, {
@@ -1329,7 +1329,7 @@ function Vi(i, t, e = new q(1, 1, 1), n = !1) {
1329
1329
  const o = new Ma(i, t);
1330
1330
  return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
1331
1331
  }
1332
- const Tb = (i) => {
1332
+ const T1 = (i) => {
1333
1333
  const t = {
1334
1334
  intersection: null,
1335
1335
  disposers: []
@@ -2531,7 +2531,7 @@ class td {
2531
2531
  }
2532
2532
  }
2533
2533
  }
2534
- const zb = (i) => new td(i), Bb = {
2534
+ const z1 = (i) => new td(i), B1 = {
2535
2535
  name: "ModelRoomLabelPlugin",
2536
2536
  version: 0
2537
2537
  };
@@ -2595,7 +2595,7 @@ function rd(i, t) {
2595
2595
  }
2596
2596
  return !0;
2597
2597
  }
2598
- function nt(i, t, e = { deep: !1 }) {
2598
+ function it(i, t, e = { deep: !1 }) {
2599
2599
  return e.deep ? Po(i, t) : od(i, t);
2600
2600
  }
2601
2601
  function Ut(i) {
@@ -4740,7 +4740,7 @@ function Do(i, t, e, n) {
4740
4740
  }
4741
4741
  class jn {
4742
4742
  constructor(t, e) {
4743
- f(this, "VERSION", "2.17.0-aplha.2");
4743
+ f(this, "VERSION", "2.17.0");
4744
4744
  f(this, "five");
4745
4745
  f(this, "hooks", new Kt());
4746
4746
  f(this, "staticPrefix", "//vrlab-static.ljcdn.com");
@@ -5060,7 +5060,7 @@ class Fh extends Bt {
5060
5060
  }
5061
5061
  updateState(e, n) {
5062
5062
  const o = this.state, s = e.config ? R(R({}, o.config), e.config) : o.config;
5063
- this.state = fe(R(R({}, this.state), e), { config: s }), !nt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
5063
+ this.state = fe(R(R({}, this.state), e), { config: s }), !it(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
5064
5064
  }
5065
5065
  initContainer() {
5066
5066
  this.container.classList.add("floorplan-plugin"), Object.assign(this.container.style, {
@@ -5099,7 +5099,7 @@ class Fh extends Bt {
5099
5099
  this.app = new ko({ target: this.container, intro: !0, props: n });
5100
5100
  }
5101
5101
  }
5102
- const jb = (i, t) => new Fh(i, t);
5102
+ const j1 = (i, t) => new Fh(i, t);
5103
5103
  function Hh(i) {
5104
5104
  const { latitude: t, longitude: e } = i, n = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, o = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
5105
5105
  return n || o;
@@ -5349,7 +5349,7 @@ class Wh extends Bt {
5349
5349
  }
5350
5350
  updateState(e, n) {
5351
5351
  const o = this.state, s = e.config ? R(R({}, o.config), e.config) : o.config;
5352
- this.state = fe(R(R({}, this.state), e), { config: s }), !nt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
5352
+ this.state = fe(R(R({}, this.state), e), { config: s }), !it(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
5353
5353
  }
5354
5354
  initContainer() {
5355
5355
  this.container.classList.add("floorplan-plugin"), Object.assign(this.container.style, {
@@ -5388,7 +5388,7 @@ class Wh extends Bt {
5388
5388
  this.app = new ko({ target: this.container, intro: !0, props: n });
5389
5389
  }
5390
5390
  }
5391
- const Vb = (i, t) => new Wh(i, t);
5391
+ const V1 = (i, t) => new Wh(i, t);
5392
5392
  class _h extends Bt {
5393
5393
  constructor(e, n) {
5394
5394
  super(e);
@@ -5591,7 +5591,7 @@ class _h extends Bt {
5591
5591
  }
5592
5592
  updateState(e, n) {
5593
5593
  const o = this.state, s = e.config ? R(R({}, o.config), e.config) : o.config;
5594
- this.state = fe(R(R({}, this.state), e), { config: s }), !nt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
5594
+ this.state = fe(R(R({}, this.state), e), { config: s }), !it(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
5595
5595
  }
5596
5596
  addEventListener() {
5597
5597
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -5631,7 +5631,7 @@ class _h extends Bt {
5631
5631
  this.app = new ko({ target: this.container, intro: !0, props: n });
5632
5632
  }
5633
5633
  }
5634
- const Ob = (i, t) => new _h(i, t);
5634
+ const O1 = (i, t) => new _h(i, t);
5635
5635
  function Mo(i, t = 200) {
5636
5636
  let e;
5637
5637
  return function(...n) {
@@ -6215,7 +6215,7 @@ class lf extends Bt {
6215
6215
  }
6216
6216
  updateState(e, n) {
6217
6217
  const o = this.state;
6218
- this.state = R(R({}, this.state), e), !nt(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
6218
+ this.state = R(R({}, this.state), e), !it(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: n });
6219
6219
  }
6220
6220
  render() {
6221
6221
  if (this.disposed || !this.state.enabled)
@@ -6236,7 +6236,7 @@ class lf extends Bt {
6236
6236
  this.app ? this.app.$set(e) : this.app = new af({ target: this.wrapper, props: e });
6237
6237
  }
6238
6238
  }
6239
- const Rb = (i, t) => new lf(i, t), Qb = [
6239
+ const R1 = (i, t) => new lf(i, t), Q1 = [
6240
6240
  { type: 0, floorType: 1, roomType: "100900000012", name: "\u5176\u4ED6" },
6241
6241
  { type: 1, floorType: 1, roomType: "100900000002", name: "\u5BA2\u5385" },
6242
6242
  { type: 2, floorType: 1, roomType: "100900000002", name: "\u9910\u5385" },
@@ -6308,14 +6308,14 @@ const Rb = (i, t) => new lf(i, t), Qb = [
6308
6308
  { type: 56, floorType: 2, roomType: "100900000012", name: "\u7A7A\u4E2D\u82B1\u56ED" },
6309
6309
  { type: 57, floorType: 0, roomType: "100900000001", name: "\u6D0B\u5BA4" },
6310
6310
  { type: 58, floorType: 0, roomType: "100900000001", name: "\u548C\u5BA4" }
6311
- ], Fb = [
6311
+ ], F1 = [
6312
6312
  { type: 0, description: "\u6728\u8D28\u5730\u677F" },
6313
6313
  { type: 1, description: "\u74F7\u7816\u5730\u9762" },
6314
6314
  { type: 2, description: "\u6237\u5916\u5730\u9762" },
6315
6315
  { type: 3, description: "\u536B\u751F\u95F4\u5730\u9762" },
6316
6316
  { type: 4, description: "\u9633\u53F0\u5730\u9762" },
6317
6317
  { type: 5, description: "\u8F66\u5E93\u5730\u9762" }
6318
- ], Hb = [
6318
+ ], H1 = [
6319
6319
  { roomType: "100900000001", description: "\u5BA4" },
6320
6320
  { roomType: "100900000002", description: "\u5385" },
6321
6321
  { roomType: "100900000003", description: "\u53A8" },
@@ -6354,7 +6354,7 @@ function vl(i, t) {
6354
6354
  }
6355
6355
  });
6356
6356
  }
6357
- const Gb = (i, t) => {
6357
+ const G1 = (i, t) => {
6358
6358
  var u;
6359
6359
  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 = (h) => F(void 0, null, function* () {
6360
6360
  var S;
@@ -6408,7 +6408,7 @@ function uf(i, t) {
6408
6408
  const l = a.getContext("2d");
6409
6409
  return l.fillStyle = o, l.fillRect(0, 0, e, e), l.font = `${n}px "\u5FAE\u8F6F\u96C5\u9ED1"`, l.textAlign = r, l.fillStyle = s, l.fillText(i, e / 2, e * 0.7), new Pc(a);
6410
6410
  }
6411
- const df = ({ x: i, y: t, z: e }) => new q(i, t, e), Wb = (i, t) => {
6411
+ const df = ({ x: i, y: t, z: e }) => new q(i, t, e), W1 = (i, t) => {
6412
6412
  var p, A, v;
6413
6413
  const e = {}, n = (p = t.animationEnabled) != null ? p : !0, o = (A = t.position) != null ? A : void 0, s = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (b) => F(void 0, null, function* () {
6414
6414
  var _, O, S, V, H, G, X, W;
@@ -6539,7 +6539,7 @@ function Fi(i, t, e) {
6539
6539
  const co = (i, t, e) => {
6540
6540
  const n = Math.PI, o = n * 2;
6541
6541
  return i = Bs(i), t = Bs(t), e === lt.Anticlockwise && i < t && (i += o), e === lt.Clockwise && t < i && (t += o), e === lt.Loop && t - i > n ? co(i, t, lt.Anticlockwise) : e === lt.Loop && i - t > n ? co(i, t, lt.Clockwise) : { from: i, to: t };
6542
- }, _b = (i) => {
6542
+ }, _1 = (i) => {
6543
6543
  const t = {}, e = (l, c, ...u) => F(void 0, [l, c, ...u], function* (s, r, a = { preload: !0 }) {
6544
6544
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== i.currentMode && (yield i.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== i.panoIndex && (yield i.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((h, d) => {
6545
6545
  const m = s.panoIndex !== void 0 ? s.panoIndex : i.panoIndex;
@@ -6749,7 +6749,7 @@ const bf = `<style type="text/css">
6749
6749
  a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
6750
6750
  }
6751
6751
  return e;
6752
- }, Nb = (i, t) => {
6752
+ }, N1 = (i, t) => {
6753
6753
  const e = {
6754
6754
  enable: !1,
6755
6755
  loaded: !1,
@@ -6934,8 +6934,8 @@ const bf = `<style type="text/css">
6934
6934
  Math.pow(te.x - de, 2) + Math.pow(te.y - ge, 2)
6935
6935
  ) / ce * 100;
6936
6936
  }
6937
- const rt = (Math.PI / 2 - Math.atan2(Ie - de, ge - Se)) / Math.PI * 180, ye = G.querySelector(".PanoRulerPlugin-rule-label"), et = ye.children[0].clientWidth;
6938
- et >= ce || et / 2 >= Ee / 100 * ce || et / 2 >= (1 - Ee / 100) * ce ? G.style.display = "none" : (G.style.display = "block", G.style.width = ce + "px", G.style.left = de + "px", G.style.top = ge + "px", G.style.transform = `rotate(${-rt}deg)`, ye.style.left = `${Ee}%`);
6937
+ const at = (Math.PI / 2 - Math.atan2(Ie - de, ge - Se)) / Math.PI * 180, ye = G.querySelector(".PanoRulerPlugin-rule-label"), et = ye.children[0].clientWidth;
6938
+ et >= ce || et / 2 >= Ee / 100 * ce || et / 2 >= (1 - Ee / 100) * ce ? G.style.display = "none" : (G.style.display = "block", G.style.width = ce + "px", G.style.left = de + "px", G.style.top = ge + "px", G.style.transform = `rotate(${-at}deg)`, ye.style.left = `${Ee}%`);
6939
6939
  }
6940
6940
  }, h = () => wl(u), d = () => {
6941
6941
  var p, A;
@@ -7181,10 +7181,10 @@ function Lf(i, t, e) {
7181
7181
  }, h = (w, k, I) => {
7182
7182
  const C = n.camera.position, L = n.camera.getWorldDirection(new q()), x = w.clone().sub(C).normalize().angleTo(L), Q = k.clone().sub(C).normalize().angleTo(L), _ = w.distanceTo(k), S = k.clone().sub(k.clone().sub(w).divide(new q(2, 2, 2))).distanceTo(C), { startLeft: V, startTop: H, endLeft: G, endTop: X, distance: W } = u(w, k), Y = -((Math.PI / 2 - Math.atan2(G - V, H - X)) / Math.PI) * 180;
7183
7183
  let ae = !0;
7184
- I || (ae = !1), !nt(w, I) && !nt(k, I) && (ae = !1), _ < 0.3 && (ae = !1), x > Math.PI / 2 && (ae = !1), Q > Math.PI / 2 && (ae = !1), S / _ > 8 && (ae = !1);
7184
+ I || (ae = !1), !it(w, I) && !it(k, I) && (ae = !1), _ < 0.3 && (ae = !1), x > Math.PI / 2 && (ae = !1), Q > Math.PI / 2 && (ae = !1), S / _ > 8 && (ae = !1);
7185
7185
  let he = 50, de = W;
7186
7186
  const ge = c({ x: ~~V, y: ~~H }, { x: ~~G, y: ~~X });
7187
- if (ge && ge.length === 1 && (nt(w, I) ? (de = Math.sqrt(Math.pow(ge[0].x - V, 2) + Math.pow(ge[0].y - H, 2)), he = de / W * 50) : nt(k, I) && (de = Math.sqrt(Math.pow(ge[0].x - G, 2) + Math.pow(ge[0].y - X, 2)), he = 100 - de / W * 50)), ge && ge.length === 2) {
7187
+ if (ge && ge.length === 1 && (it(w, I) ? (de = Math.sqrt(Math.pow(ge[0].x - V, 2) + Math.pow(ge[0].y - H, 2)), he = de / W * 50) : it(k, I) && (de = Math.sqrt(Math.pow(ge[0].x - G, 2) + Math.pow(ge[0].y - X, 2)), he = 100 - de / W * 50)), ge && ge.length === 2) {
7188
7188
  const Ce = {
7189
7189
  x: (ge[0].x + ge[1].x) / 2,
7190
7190
  y: (ge[0].y + ge[1].y) / 2
@@ -7303,7 +7303,7 @@ class Sf {
7303
7303
  this.container && (this.rulerItems.$destroy(), this.rulerItems = void 0), this.container.remove();
7304
7304
  }
7305
7305
  }
7306
- const Xb = (i, t) => new Sf(i, t), Tf = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0CIZHmMc4c+EchCe5/9llqfAYEQyRlAzy27QCAeSRfdlEq2gECIpIVeSB1aRAAiudVixVKnINAaAiGS1nok9WkFAUJb8Upa6Y3Uo2kEQiRNd08qd0YEQiJnBD+37guBEElf/ZXang6BEMnpsM6dOkcgRNJ5B66x+nrjLmsTX1J6bSJHZ7+o9HklynWaOse1eKcc+XVlvxYFEnlfaThWfb7mcsn5nPRM6WmVU55KfO+J0mdKj8f5rVu3skNMoET6RSBE0m/fdVNzGWII4StKXy65y18t58aEAVGcUjDkGHsLhIOYfCC1xUT4QDJjgnmkc58qkT8saSiLeCCkSBBoBoEQSTNd0V9FZADRH8iAGfvXS06Zc5CFCePQt0y3EFaq61CX1ayjC56U8br24sKd+kAuJhkI55OSPi75pyIcvKNIEFgcgRDJ4hD3ewMZLDwD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A2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
7307
7307
  function zf() {
7308
7308
  const i = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
7309
7309
  return i.appendChild(t), i.appendChild(e), i.style.position = "relative", i.style.width = "100%", i.style.display = "flex", i.style.flexDirection = "column", i.style.alignItems = "center", i.style.marginTop = `${150 / 16}rem`, i.style.opacity = "0", i.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${Tf})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
@@ -7513,7 +7513,7 @@ class jf extends Bt {
7513
7513
  return Bn(this.five).create3DDomContainer(e);
7514
7514
  }
7515
7515
  }
7516
- const Yb = (i, t) => new jf(i, t);
7516
+ const Y1 = (i, t) => new jf(i, t);
7517
7517
  function Jn(i, t, e) {
7518
7518
  const n = i[t], o = i[e];
7519
7519
  n === void 0 || o === void 0 || (i[t] = o, i[e] = n);
@@ -7685,13 +7685,13 @@ function Qf(i, t) {
7685
7685
  if (i === t[e])
7686
7686
  return t.splice(e, 1)[0];
7687
7687
  }
7688
- class ot {
7688
+ class st {
7689
7689
  constructor(t) {
7690
7690
  f(this, "id");
7691
7691
  f(this, "lines");
7692
7692
  f(this, "position");
7693
7693
  f(this, "type", "point");
7694
- this.id = We(), this.lines = [], this.position = new q(), t instanceof q ? this.position.copy(t) : this.position.fromArray(t);
7694
+ this.id = Ge(), this.lines = [], this.position = new q(), t instanceof q ? this.position.copy(t) : this.position.fromArray(t);
7695
7695
  }
7696
7696
  toJson() {
7697
7697
  return { id: this.id, position: this.position.toArray() };
@@ -7703,12 +7703,12 @@ class ot {
7703
7703
  Qf(t, this.lines);
7704
7704
  }
7705
7705
  clone() {
7706
- return new ot(this.position);
7706
+ return new st(this.position);
7707
7707
  }
7708
7708
  }
7709
7709
  class To {
7710
7710
  constructor(t) {
7711
- f(this, "id", We());
7711
+ f(this, "id", Ge());
7712
7712
  f(this, "lines", []);
7713
7713
  f(this, "points", []);
7714
7714
  f(this, "visiblePanoIndexes");
@@ -7782,7 +7782,7 @@ class To {
7782
7782
  const h = a.get(u.id);
7783
7783
  if (h)
7784
7784
  return h;
7785
- const d = new ot(u.position);
7785
+ const d = new st(u.position);
7786
7786
  return d.id = u.id, a.set(u.id, d), d;
7787
7787
  }
7788
7788
  function c() {
@@ -7926,7 +7926,7 @@ class ln {
7926
7926
  f(this, "distanceItem");
7927
7927
  f(this, "polyline");
7928
7928
  var o;
7929
- if (this.id = We(), this.model = n, t.id === e.id)
7929
+ if (this.id = Ge(), this.model = n, t.id === e.id)
7930
7930
  throw new Error("\u65E0\u6548\u7684\u7EBF\u6BB5, \u4E00\u4E2A\u70B9\u65E0\u6CD5\u6784\u6210\u7EBF\u6BB5");
7931
7931
  typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new Ue(), this.points = [t, e], this.mesh = Hs(this, "normal"), this.lightMesh = Hs(this, "light"), this.distanceItem = $f({
7932
7932
  line: this,
@@ -8039,7 +8039,7 @@ class Li {
8039
8039
  this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((t) => t.distanceItem.update(this.five));
8040
8040
  });
8041
8041
  var n, o;
8042
- this.five = t.five, this.hook = t.hook, this.model = t.model, this.config = t.config, this.magnifier = t.magnifier, this.container = t.container, this.fiveHelper = t.fiveHelper, this.isMobile = (o = (n = t.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new ln(new ot([0, 0, 0]), new ot([0, 0, 0]), this.model), this.dashed.distanceItem.setItemSelectable(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
8042
+ this.five = t.five, this.hook = t.hook, this.model = t.model, this.config = t.config, this.magnifier = t.magnifier, this.container = t.container, this.fiveHelper = t.fiveHelper, this.isMobile = (o = (n = t.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new ln(new st([0, 0, 0]), new st([0, 0, 0]), this.model), this.dashed.distanceItem.setItemSelectable(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
8043
8043
  const e = this.five.getElement();
8044
8044
  e && (e.addEventListener("touchstart", Zn), e.addEventListener("contextmenu", Zn));
8045
8045
  }
@@ -8110,7 +8110,7 @@ class Kn extends Li {
8110
8110
  const [n] = Gi(this.five, e);
8111
8111
  if (!(n != null && n.face))
8112
8112
  return;
8113
- const o = new ot(n.point);
8113
+ const o = new st(n.point);
8114
8114
  this.pressPoint = o, this.onIntersectionUpdate(n);
8115
8115
  });
8116
8116
  f(this, "onPan", (e) => {
@@ -8126,7 +8126,7 @@ class Kn extends Li {
8126
8126
  this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh)), this.hasAppendDashed = !0;
8127
8127
  const [n] = Gi(this.five, e);
8128
8128
  this.updateMouseGroup(n);
8129
- const o = new ot(this.mouseGroup.position), s = this.lastPoint;
8129
+ const o = new st(this.mouseGroup.position), s = this.lastPoint;
8130
8130
  if (o && (this.lastPoint = o), o && s) {
8131
8131
  const r = new ln(s, o, this.model);
8132
8132
  r.distanceItem.setItemSelectable(!1), r.distanceItem.appendTo(this.container), this.polyline.addLine(r), this.group.add(r.mesh), r.distanceItem.update(this.five);
@@ -8582,7 +8582,7 @@ class mm {
8582
8582
  const t = this.getIntersection();
8583
8583
  if (t) {
8584
8584
  this.pieceChange(t), this.updateMouseGroup(t);
8585
- const e = new ot(this.mouseGroup.position);
8585
+ const e = new st(this.mouseGroup.position);
8586
8586
  this.hook.emit("nowPointChange", e);
8587
8587
  }
8588
8588
  });
@@ -8590,7 +8590,7 @@ class mm {
8590
8590
  var o;
8591
8591
  this.dotAnimation();
8592
8592
  const n = (o = this.getIntersection()) == null ? void 0 : o.point;
8593
- !n || (e === "editing" ? this.hook.emit("getStartPoint", new ot(n)) : this.hook.emit("getEndPoint", new ot(n)));
8593
+ !n || (e === "editing" ? this.hook.emit("getStartPoint", new st(n)) : this.hook.emit("getEndPoint", new st(n)));
8594
8594
  });
8595
8595
  f(this, "computedCenterMouseXY", () => {
8596
8596
  const t = this.container.querySelector(".range-piece__aim");
@@ -9438,7 +9438,7 @@ class Sm {
9438
9438
  };
9439
9439
  }
9440
9440
  }
9441
- const Ub = function(t, e) {
9441
+ const U1 = function(t, e) {
9442
9442
  return new Sm(t, e);
9443
9443
  }, Tl = Io(null);
9444
9444
  function Tm(i) {
@@ -9776,7 +9776,7 @@ class _m {
9776
9776
  }
9777
9777
  }
9778
9778
  }
9779
- const Wi = 1e-3, $s = 0.01, Nm = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", qb = (i, t) => {
9779
+ const Wi = 1e-3, $s = 0.01, Nm = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", q1 = (i, t) => {
9780
9780
  var Y, ae, he, de, ge, Ce, Ie, Se;
9781
9781
  let e = t == null ? void 0 : t.container, n = 1.4;
9782
9782
  const o = (Y = t == null ? void 0 : t.wait) != null ? Y : 200, s = (ae = t == null ? void 0 : t.maxNumberOnScreen) != null ? ae : 3, r = (he = t == null ? void 0 : t.minRad) != null ? he : Math.PI / 4, a = (de = t == null ? void 0 : t.nearTolerance) != null ? de : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (Ce = t == null ? void 0 : t.minDistance) != null ? Ce : 1.2, u = (Ie = t == null ? void 0 : t.maxDistance) != null ? Ie : 3.5, h = Bn(i), d = document.createElement("div");
@@ -9806,11 +9806,11 @@ const Wi = 1e-3, $s = 0.01, Nm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9806
9806
  return;
9807
9807
  const Ee = ve.longitude - i.state.longitude, ue = i.camera.clone();
9808
9808
  ue.position.copy(ve.offset), ue.rotateOnWorldAxis(new E.Vector3(0, 1, 0), Ee), ue.updateProjectionMatrix(), ue.updateMatrixWorld(!0);
9809
- const qe = new E.Frustum(), rt = new E.Matrix4();
9810
- rt.multiplyMatrices(
9809
+ const qe = new E.Frustum(), at = new E.Matrix4();
9810
+ at.multiplyMatrices(
9811
9811
  ue.projectionMatrix,
9812
9812
  ue.matrixWorldInverse
9813
- ), qe.setFromProjectionMatrix(rt), p.tags.forEach((ye) => {
9813
+ ), qe.setFromProjectionMatrix(at), p.tags.forEach((ye) => {
9814
9814
  const et = ue.position.clone().setY(n).distanceTo(ye.position);
9815
9815
  if (et < c || et > u || !qe.containsPoint(ye.position))
9816
9816
  return ye.destroying = !0;
@@ -9857,11 +9857,11 @@ const Wi = 1e-3, $s = 0.01, Nm = "https://vrlab-image4.ljcdn.com/release/web/Pan
9857
9857
  ce.length && (p.tags = p.tags.concat(ce), I());
9858
9858
  }, o));
9859
9859
  }, L = () => {
9860
- const { clientWidth: ce, clientHeight: ve } = i.getElement(), Ee = [], ue = i.camera, qe = new E.Frustum(), rt = new E.Matrix4(), ye = ue.getWorldDirection(new E.Vector3());
9861
- rt.multiplyMatrices(
9860
+ const { clientWidth: ce, clientHeight: ve } = i.getElement(), Ee = [], ue = i.camera, qe = new E.Frustum(), at = new E.Matrix4(), ye = ue.getWorldDirection(new E.Vector3());
9861
+ at.multiplyMatrices(
9862
9862
  ue.projectionMatrix,
9863
9863
  ue.matrixWorldInverse
9864
- ), qe.setFromProjectionMatrix(rt);
9864
+ ), qe.setFromProjectionMatrix(at);
9865
9865
  const et = p.tags.filter(
9866
9866
  (Ae) => qe.containsPoint(Ae.position) && !Ae.destroying
9867
9867
  ).length, te = p.points.reduce((Ae, je) => {
@@ -10255,7 +10255,7 @@ function tp(i) {
10255
10255
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
10256
10256
  }, t));
10257
10257
  }
10258
- const Jb = (i, t) => {
10258
+ const J1 = (i, t) => {
10259
10259
  var d, m;
10260
10260
  const e = {
10261
10261
  container: document.createElement("div"),
@@ -10326,7 +10326,7 @@ const Jb = (i, t) => {
10326
10326
  dispose: a,
10327
10327
  hooks: e.hooks
10328
10328
  };
10329
- }, Zb = {
10329
+ }, Z1 = {
10330
10330
  name: "ModelItemLabelPlugin",
10331
10331
  version: 0
10332
10332
  };
@@ -10347,7 +10347,7 @@ function np(i) {
10347
10347
  t.push(n);
10348
10348
  }), t;
10349
10349
  }
10350
- const Kb = (i, { videoElement: t }) => {
10350
+ const K1 = (i, { videoElement: t }) => {
10351
10351
  const e = {
10352
10352
  videoMeshes: [],
10353
10353
  videoTextureEnabled: !1,
@@ -10615,7 +10615,7 @@ class lp extends oe {
10615
10615
  );
10616
10616
  }
10617
10617
  }
10618
- const { Raycaster: cp, Vector3: $b } = E, or = (i, t, e, n) => {
10618
+ const { Raycaster: cp, Vector3: $1 } = E, or = (i, t, e, n) => {
10619
10619
  const o = t.clone().sub(e).normalize(), s = new cp();
10620
10620
  s.set(e, o);
10621
10621
  const [r] = i.model.intersectRaycaster(s);
@@ -11414,7 +11414,7 @@ class Vl extends Bt {
11414
11414
  if (this.state.disposed)
11415
11415
  return this.disposedErrorLog();
11416
11416
  const o = R({}, this.state);
11417
- this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), nt(o, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: (s = n == null ? void 0 : n.userAction) != null ? s : !0 }), this.five.needsRender = !0);
11417
+ this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), it(o, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: (s = n == null ? void 0 : n.userAction) != null ? s : !0 }), this.five.needsRender = !0);
11418
11418
  }
11419
11419
  handleEnable(e, n = !0) {
11420
11420
  this.linesGroup && (e ? (this.five.scene.add(this.linesGroup), this.actionWhenEnabled(() => this.hooks.emit("enable", { userAction: n }))) : (this.five.scene.remove(this.linesGroup), this.hooks.emit("disable", { userAction: n })));
@@ -11616,7 +11616,7 @@ class Ql extends Bt {
11616
11616
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
11617
11617
  return Np();
11618
11618
  const o = R({}, this.state);
11619
- this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), e.playing !== void 0 && e.playing !== o.playing && this.changePlayState(e.playing, n), e.speed !== void 0 && e.speed !== o.speed && this.changeSpeed(e.speed, n == null ? void 0 : n.userAction), nt(o, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: (s = n == null ? void 0 : n.userAction) != null ? s : !0 });
11619
+ this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible, n == null ? void 0 : n.userAction), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled, n == null ? void 0 : n.userAction), e.playing !== void 0 && e.playing !== o.playing && this.changePlayState(e.playing, n), e.speed !== void 0 && e.speed !== o.speed && this.changeSpeed(e.speed, n == null ? void 0 : n.userAction), it(o, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: (s = n == null ? void 0 : n.userAction) != null ? s : !0 });
11620
11620
  }
11621
11621
  formatData(e) {
11622
11622
  return F(this, null, function* () {
@@ -11627,11 +11627,11 @@ class Ql extends Bt {
11627
11627
  })();
11628
11628
  if (o.keyframes)
11629
11629
  return {
11630
- keyframesId: We(),
11630
+ keyframesId: Ge(),
11631
11631
  keyframes: o.keyframes.map((s, r) => {
11632
11632
  var c;
11633
11633
  const a = o.keyframes[r + 1], l = (() => !a || a.start === void 0 || s.end === void 0 ? 0 : a.start - s.end)();
11634
- return fe(R({ id: (c = s.uuid) != null ? c : We(), moveIndex: r, stay: l, index: r }, s), { guildPluginOptions: o.guildPluginOptions });
11634
+ return fe(R({ id: (c = s.uuid) != null ? c : Ge(), moveIndex: r, stay: l, index: r }, s), { guildPluginOptions: o.guildPluginOptions });
11635
11635
  })
11636
11636
  };
11637
11637
  if (o.panoIndexList) {
@@ -11655,8 +11655,8 @@ class Ql extends Bt {
11655
11655
  data: R({ effect: "Move", panoIndex: c, moveEffect: r }, h != null ? h : {})
11656
11656
  }) : o.moveType === "moveAndRotate" && (s.push({ moveIndex: u, stay: o.stay, data: { effect: "Move", panoIndex: c, moveEffect: r } }), h && s.push({ moveIndex: u, stay: o.stay, data: R({ effect: "Rotate", panoIndex: c }, h) }));
11657
11657
  }), {
11658
- keyframesId: We(),
11659
- keyframes: s.map((c, u) => R({ id: We(), index: u }, c)),
11658
+ keyframesId: Ge(),
11659
+ keyframes: s.map((c, u) => R({ id: Ge(), index: u }, c)),
11660
11660
  guildPluginOptions: o.guildPluginOptions
11661
11661
  };
11662
11662
  } else
@@ -11685,7 +11685,7 @@ class Ql extends Bt {
11685
11685
  const { data: n, state: o, privateState: s, hooks: r } = this;
11686
11686
  if (s.playing || !(n != null && n.keyframes) || (n == null ? void 0 : n.keyframes.length) === 0)
11687
11687
  return;
11688
- const a = We();
11688
+ const a = Ge();
11689
11689
  s.playId = a, s.playing = !0, s.broke = !1;
11690
11690
  const l = n.keyframes, c = this.getPauseData();
11691
11691
  (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (m = e == null ? void 0 : e.userAction) != null ? m : !0 });
@@ -12551,7 +12551,7 @@ function tg(i) {
12551
12551
  function ng(i) {
12552
12552
  return i.stickType === "3DPoint" || i.stickType === "Plane";
12553
12553
  }
12554
- function Ge(i) {
12554
+ function We(i) {
12555
12555
  return i.stickType === "Model" && i.contentType === "MediaModel";
12556
12556
  }
12557
12557
  function ig(i) {
@@ -12566,7 +12566,7 @@ function yi(i) {
12566
12566
  return xn(i);
12567
12567
  }
12568
12568
  function og(i) {
12569
- if (Ge(i) && i.matrix) {
12569
+ if (We(i) && i.matrix) {
12570
12570
  const t = new mn().fromArray(i.matrix), e = i.data.mediaPosition.map((n) => new q().fromArray(n).applyMatrix4(t));
12571
12571
  return Tt(e[0], e[2]);
12572
12572
  } else
@@ -13096,19 +13096,19 @@ class kg extends jn {
13096
13096
  f(this, "tagCacheByPanoIndex", {});
13097
13097
  }
13098
13098
  getCache({ panoIndex: e, id: n, key: o }) {
13099
- var c, u, h, d;
13100
- const { five: s } = this, r = (c = s.panoIndex) != null ? c : e;
13099
+ var c, u, h;
13100
+ const { five: s } = this, r = e != null ? e : s.getCurrentState().panoIndex;
13101
13101
  if (r === void 0)
13102
13102
  throw new Error(`TagCacheController getCache(): fivePanoIndex is ${r}`);
13103
- const a = `${(h = (u = s.work) == null ? void 0 : u.workCode) != null ? h : s.model.uuid}-${r}`;
13103
+ const a = `${(u = (c = s.work) == null ? void 0 : c.workCode) != null ? u : s.model.uuid}-${r}`;
13104
13104
  let l = this.tagCacheByPanoIndex[a];
13105
13105
  if (l || (l = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[a] = l), n === void 0)
13106
13106
  return l;
13107
13107
  if (o === void 0) {
13108
- const m = l.get(n);
13109
- return m || (l.set(n, {}), l.get(n));
13108
+ const d = l.get(n);
13109
+ return d || (l.set(n, {}), l.get(n));
13110
13110
  }
13111
- return (d = l.get(n)) == null ? void 0 : d[o];
13111
+ return (h = l.get(n)) == null ? void 0 : h[o];
13112
13112
  }
13113
13113
  clearCache() {
13114
13114
  this.tagCacheByPanoIndex = {};
@@ -13192,7 +13192,7 @@ class Dg extends kg {
13192
13192
  }
13193
13193
  }
13194
13194
  });
13195
- const o = at({}, this.config.globalConfig, ...Object.values(n), e.config);
13195
+ const o = nt({}, this.config.globalConfig, ...Object.values(n), e.config);
13196
13196
  return typeof o.unfoldedConfig == "object" && (o.unfoldedConfig.disableFold && (o.unfoldedConfig = { keep: "unfolded" }), o.unfoldedConfig.disableUnfold && (o.unfoldedConfig = { keep: "folded" }), o.unfoldedConfig.keep && (o.unfoldedConfig = { keep: o.unfoldedConfig.keep })), typeof o.visibleConfig == "object" && o.visibleConfig.keep && (o.visibleConfig = { keep: o.visibleConfig.keep, visibleFiveMode: (r = o.visibleConfig) == null ? void 0 : r.visibleFiveMode }), o;
13197
13197
  }
13198
13198
  loadVideoFirstFrame() {
@@ -13201,7 +13201,7 @@ class Dg extends kg {
13201
13201
  updateTagConfig(e) {
13202
13202
  e != null && e.force && this.clearCache(), this.tags.forEach((n) => {
13203
13203
  const o = this.getTagConfig(n);
13204
- n.mergedConfig = o;
13204
+ n.mergedConfig = o, n.data = nt({}, n.data, o.initialData);
13205
13205
  });
13206
13206
  }
13207
13207
  can(e, n) {
@@ -13234,57 +13234,57 @@ class Dg extends kg {
13234
13234
  if (ig(e)) {
13235
13235
  if (s.length === 1 && (s[0].type === "Image" || s[0].type === "Video"))
13236
13236
  return "Mesh";
13237
- } else if (Ge(e))
13237
+ } else if (We(e))
13238
13238
  return s.length === 1 && s[0].type === "Image" ? "Mesh" : "BehindDom";
13239
13239
  }
13240
13240
  })();
13241
13241
  return n != null ? n : "Dom";
13242
13242
  }
13243
13243
  getAngle(e, n) {
13244
- var r, a, l;
13245
- const o = (r = this.five.panoIndex) != null ? r : n;
13244
+ var r, a;
13245
+ const o = n != null ? n : this.five.getCurrentState().panoIndex;
13246
13246
  if (o === void 0)
13247
13247
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
13248
13248
  const s = this.getCache({ panoIndex: n, id: e.id });
13249
13249
  if (s.angle !== void 0)
13250
13250
  return s.angle;
13251
13251
  {
13252
- const c = (l = (a = this.five.work) == null ? void 0 : a.observers[o]) == null ? void 0 : l.position;
13253
- if (c === void 0)
13254
- throw new Error(`getAngleRange(): observerPosition is ${c}`);
13255
- const u = (() => e.stickType === "3DPoint" ? xn(e.normal) : Ni(e.position))();
13256
- if (!u)
13252
+ const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
13253
+ if (l === void 0)
13254
+ throw new Error(`getAngleRange(): observerPosition is ${l}`);
13255
+ const c = (() => e.stickType === "3DPoint" ? xn(e.normal) : Ni(e.position))();
13256
+ if (!c)
13257
13257
  return;
13258
- const h = yi(e.position);
13259
- if (!h)
13258
+ const u = yi(e.position);
13259
+ if (!u)
13260
13260
  return;
13261
- const d = new E.Vector3().copy(c).sub(h), m = u.angleTo(d) * 180 / Math.PI;
13262
- return s.angle = m, s.angle;
13261
+ const h = new E.Vector3().copy(l).sub(u), d = c.angleTo(h) * 180 / Math.PI;
13262
+ return s.angle = d, s.angle;
13263
13263
  }
13264
13264
  }
13265
13265
  getDistance(e, n) {
13266
- var r, a, l;
13267
- const o = (r = this.five.panoIndex) != null ? r : n;
13266
+ var r, a;
13267
+ const o = n != null ? n : this.five.getCurrentState().panoIndex;
13268
13268
  if (o === void 0)
13269
13269
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
13270
13270
  const s = this.getCache({ panoIndex: n, id: e.id });
13271
13271
  if (s.distance !== void 0)
13272
13272
  return s.distance;
13273
13273
  {
13274
- const c = (l = (a = this.five.work) == null ? void 0 : a.observers[o]) == null ? void 0 : l.position;
13275
- if (c === void 0)
13276
- throw new Error(`getDistance(): observerPosition is ${c}`);
13277
- const u = og(e);
13278
- if (!u)
13274
+ const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
13275
+ if (l === void 0)
13276
+ throw new Error(`getDistance(): observerPosition is ${l}`);
13277
+ const c = og(e);
13278
+ if (!c)
13279
13279
  return -1;
13280
- const h = c.distanceTo(u);
13281
- return s.distance = h, h;
13280
+ const u = l.distanceTo(c);
13281
+ return s.distance = u, u;
13282
13282
  }
13283
13283
  }
13284
13284
  getPositions(e) {
13285
13285
  if (tg(e))
13286
13286
  return e.position;
13287
- if (Ge(e))
13287
+ if (We(e))
13288
13288
  return e.data.mediaPosition;
13289
13289
  const n = e;
13290
13290
  return rg(
@@ -13297,7 +13297,7 @@ class Dg extends kg {
13297
13297
  if (!n || !this.domEvents)
13298
13298
  return () => {
13299
13299
  };
13300
- const s = () => !(!e.state.visible || !this.state.visible || Ge(e) && !e.mediaVisible), r = (u) => {
13300
+ const s = () => !(!e.state.visible || !this.state.visible || We(e) && !e.mediaVisible), r = (u) => {
13301
13301
  if (!s()) {
13302
13302
  this.mouseInfo = void 0;
13303
13303
  return;
@@ -13383,7 +13383,9 @@ function Lg(i, t) {
13383
13383
  return console.error("getFloorIndex: invalid arguments: ", { point: t, observer: i }), 0;
13384
13384
  const e = [];
13385
13385
  i.forEach((o) => {
13386
- e[o.floorIndex] || (e[o.floorIndex] = []), e[o.floorIndex].push(o.position.y);
13386
+ var r, a;
13387
+ const s = (a = (r = o.floorIndex) != null ? r : o.floor_index) != null ? a : 0;
13388
+ e[s] || (e[s] = []), e[s].push(o.position.y);
13387
13389
  });
13388
13390
  const n = e.map((o) => o.reduce((s, r) => s + r, 0) / o.length);
13389
13391
  for (let o = n.length - 1; o > 0; o--)
@@ -13398,7 +13400,7 @@ class Mg extends Dg {
13398
13400
  }
13399
13401
  getVisibleByPanoIndex(e, n) {
13400
13402
  const o = this.getCache({ panoIndex: n, id: e.id }), s = n != null ? n : this.five.getCurrentState().panoIndex;
13401
- if (Ge(e))
13403
+ if (We(e))
13402
13404
  return !0;
13403
13405
  if (o.visible !== void 0)
13404
13406
  return o.visible;
@@ -13529,7 +13531,7 @@ class Mg extends Dg {
13529
13531
  return !1;
13530
13532
  }
13531
13533
  if (r.autoUnfold.strategy === "MinimumDistance") {
13532
- const u = this.filterPointTag.filter((d) => this.getVisibleByPanoIndex(d)).filter((d) => {
13534
+ const u = this.filterPointTag.filter((d) => this.getVisible(d)).filter((d) => {
13533
13535
  const m = this.getTagProject(d);
13534
13536
  if (!m)
13535
13537
  return !1;
@@ -13581,7 +13583,7 @@ class Mg extends Dg {
13581
13583
  const e = this.five.getCurrentState().mode;
13582
13584
  this.tags.forEach((n) => {
13583
13585
  var s;
13584
- if (!Ge(n))
13586
+ if (!We(n))
13585
13587
  return;
13586
13588
  if (!((s = n.model) != null && s.object)) {
13587
13589
  n.mediaVisible = !1;
@@ -13613,9 +13615,9 @@ class Mg extends Dg {
13613
13615
  getTagEnableByIntersect(e, n) {
13614
13616
  var u, h, d;
13615
13617
  const o = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, s = this.getDistance(e), [r] = this.five.model.intersectRaycaster(n), a = (() => {
13616
- if (!Ge(e))
13618
+ if (!We(e))
13617
13619
  return;
13618
- const m = this.tags.filter(Ge).map((p) => {
13620
+ const m = this.tags.filter(We).map((p) => {
13619
13621
  var A;
13620
13622
  return (A = p.model) == null ? void 0 : A.object;
13621
13623
  }).filter(wt);
@@ -13726,7 +13728,7 @@ function Tg(i) {
13726
13728
  }
13727
13729
  function zg(i, t, e) {
13728
13730
  let n, o, s, r, { inDelay: a = 0 } = t, { outDelay: l = 0 } = t, { duration: c = 1e3 } = t, { unfolded: u } = t, { length: h } = t, { direction: d = "horizontal" } = t, { useLinearColor: m = !1 } = t, { color: g = "white" } = t;
13729
- const p = We();
13731
+ const p = Ge();
13730
13732
  return i.$$set = (A) => {
13731
13733
  "inDelay" in A && e(0, a = A.inDelay), "outDelay" in A && e(1, l = A.outDelay), "duration" in A && e(2, c = A.duration), "unfolded" in A && e(3, u = A.unfolded), "length" in A && e(11, h = A.length), "direction" in A && e(12, d = A.direction), "useLinearColor" in A && e(4, m = A.useLinearColor), "color" in A && e(5, g = A.color);
13732
13734
  }, i.$$.update = () => {
@@ -13860,7 +13862,7 @@ function Vg(i, t, e) {
13860
13862
  A
13861
13863
  ];
13862
13864
  }
13863
- class st extends oe {
13865
+ class rt extends oe {
13864
13866
  constructor(t) {
13865
13867
  super(), ie(
13866
13868
  this,
@@ -13995,9 +13997,9 @@ function Gg(i, t, e) {
13995
13997
  function p(I) {
13996
13998
  const C = [], L = 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"));
13997
13999
  return I.slice().replace(L, (x) => `${c}${u}${x}${c}`).split(c).forEach((x) => x.startsWith(u) ? C.push({
13998
- id: We(),
14000
+ id: Ge(),
13999
14001
  content: x.slice(u.length)
14000
- }) : C.push(...x.split("").map((Q) => Q === " " ? h : Q).map((Q) => ({ id: We(), content: Q })))), C;
14002
+ }) : C.push(...x.split("").map((Q) => Q === " " ? h : Q).map((Q) => ({ id: Ge(), content: Q })))), C;
14001
14003
  }
14002
14004
  function A() {
14003
14005
  if (!m)
@@ -14082,7 +14084,7 @@ function Wg(i) {
14082
14084
  }
14083
14085
  function wr(i) {
14084
14086
  let t, e, n, o, s, r, a, l, c, u;
14085
- return e = new st({
14087
+ return e = new rt({
14086
14088
  props: {
14087
14089
  center: !0,
14088
14090
  blurRadius: 9,
@@ -14315,7 +14317,7 @@ function Zg(i) {
14315
14317
  function Pr(i) {
14316
14318
  var u, h;
14317
14319
  let t, e, n, o, s, r, a, l, c;
14318
- return t = new st({
14320
+ return t = new rt({
14319
14321
  props: {
14320
14322
  visible: i[2],
14321
14323
  left: i[3] / 2 + "px",
@@ -14428,7 +14430,7 @@ class e0 extends oe {
14428
14430
  super(), ie(this, t, $g, Kg, ne, { tag: 0 }, Zg);
14429
14431
  }
14430
14432
  }
14431
- function it(i) {
14433
+ function ot(i) {
14432
14434
  return typeof i == "number" ? i / 16 + "rem" : i;
14433
14435
  }
14434
14436
  function t0(i) {
@@ -14544,7 +14546,7 @@ function s0(i) {
14544
14546
  }
14545
14547
  return e = a(i), n = r[e] = s[e](i), {
14546
14548
  c() {
14547
- t = B("div"), n.c(), y(t, "class", "text svelte-i9wdo4"), z(t, "max-width", typeof i[1] == "number" ? it(i[1]) : i[1]), z(t, "-webkit-line-clamp", i[0]);
14549
+ t = B("div"), n.c(), y(t, "class", "text svelte-i9wdo4"), z(t, "max-width", typeof i[1] == "number" ? ot(i[1]) : i[1]), z(t, "-webkit-line-clamp", i[0]);
14548
14550
  },
14549
14551
  m(l, c) {
14550
14552
  T(l, t, c), r[e].m(t, null), o = !0;
@@ -14553,7 +14555,7 @@ function s0(i) {
14553
14555
  let u = e;
14554
14556
  e = a(l), e === u ? r[e].p(l, c) : (se(), D(r[u], 1, 1, () => {
14555
14557
  r[u] = null;
14556
- }), 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 && z(t, "max-width", typeof l[1] == "number" ? it(l[1]) : l[1]), c & 1 && z(t, "-webkit-line-clamp", l[0]);
14558
+ }), 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 && z(t, "max-width", typeof l[1] == "number" ? ot(l[1]) : l[1]), c & 1 && z(t, "-webkit-line-clamp", l[0]);
14557
14559
  },
14558
14560
  i(l) {
14559
14561
  o || (P(n), o = !0);
@@ -14867,7 +14869,7 @@ function v0(i) {
14867
14869
  }
14868
14870
  function A0(i, t, e) {
14869
14871
  let { inDelay: n = 0 } = t, { duration: o = 1e3 } = t, { outDelay: s = 0 } = t, { unfolded: r } = t;
14870
- const a = We();
14872
+ const a = Ge();
14871
14873
  return i.$$set = (l) => {
14872
14874
  "inDelay" in l && e(0, n = l.inDelay), "duration" in l && e(1, o = l.duration), "outDelay" in l && e(2, s = l.outDelay), "unfolded" in l && e(3, r = l.unfolded);
14873
14875
  }, [n, o, s, r, a];
@@ -16211,7 +16213,7 @@ function Tv(i, t, e) {
16211
16213
  m.showPrevPage();
16212
16214
  }
16213
16215
  const qe = () => W / 3;
16214
- function rt(te) {
16216
+ function at(te) {
16215
16217
  Be[te ? "unshift" : "push"](() => {
16216
16218
  Y = te, e(13, Y);
16217
16219
  });
@@ -16266,7 +16268,7 @@ function Tv(i, t, e) {
16266
16268
  o,
16267
16269
  n,
16268
16270
  qe,
16269
- rt,
16271
+ at,
16270
16272
  ye,
16271
16273
  et
16272
16274
  ];
@@ -16869,7 +16871,7 @@ function Yv(i) {
16869
16871
  }
16870
16872
  function Jr(i) {
16871
16873
  let t, e, n, o, s, r, a, l;
16872
- t = new st({
16874
+ t = new rt({
16873
16875
  props: {
16874
16876
  visible: i[3],
16875
16877
  left: 61,
@@ -17209,7 +17211,7 @@ function la(i) {
17209
17211
  function Kv(i) {
17210
17212
  var k, I;
17211
17213
  let t, e, n, o, s, r, a, l, c, u, h = i[3].title + "", d, m, g, p, A;
17212
- e = new st({
17214
+ e = new rt({
17213
17215
  props: {
17214
17216
  visible: i[4],
17215
17217
  outDelay: 500,
@@ -17222,7 +17224,7 @@ function Kv(i) {
17222
17224
  let v = i[3].headerPictureUrl && ta(i), b = ((k = i[2].length) != null ? k : 0) + ((I = i[5].length) != null ? I : 0) > 0 && na(i), w = (i[7] || i[3].highlightText) && sa(i);
17223
17225
  return {
17224
17226
  c() {
17225
- t = B("div"), K(e.$$.fragment), n = $(), o = B("div"), s = $(), r = B("div"), v && v.c(), a = $(), l = B("div"), c = B("div"), u = B("div"), d = ke(h), m = $(), b && b.c(), g = $(), w && w.c(), y(o, "class", "line svelte-sezqcq"), z(o, "transition-delay", i[4] ? ti + "ms" : ni + ua - ca - 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"), z(r, "max-width", it(i[9])), z(r, "transition-delay", i[4] ? ti + ni + "ms" : "0ms"), y(t, "class", p = Pe(`marketing ${i[6]}`) + " svelte-sezqcq"), U(t, "unfolded", i[4]), U(t, "folded", i[8]);
17227
+ t = B("div"), K(e.$$.fragment), n = $(), o = B("div"), s = $(), r = B("div"), v && v.c(), a = $(), l = B("div"), c = B("div"), u = B("div"), d = ke(h), m = $(), b && b.c(), g = $(), w && w.c(), y(o, "class", "line svelte-sezqcq"), z(o, "transition-delay", i[4] ? ti + "ms" : ni + ua - ca - 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"), z(r, "max-width", ot(i[9])), z(r, "transition-delay", i[4] ? ti + ni + "ms" : "0ms"), y(t, "class", p = Pe(`marketing ${i[6]}`) + " svelte-sezqcq"), U(t, "unfolded", i[4]), U(t, "folded", i[8]);
17226
17228
  },
17227
17229
  m(C, L) {
17228
17230
  T(C, t, L), J(e, t, null), j(t, n), j(t, o), j(t, s), j(t, r), v && v.m(r, null), j(r, a), j(r, l), j(l, c), j(c, u), j(u, d), j(r, m), b && b.m(r, null), j(r, g), w && w.m(r, null), A = !0;
@@ -17506,7 +17508,7 @@ function sA(i) {
17506
17508
  }
17507
17509
  function da(i) {
17508
17510
  let t, e;
17509
- return t = new st({
17511
+ return t = new rt({
17510
17512
  props: {
17511
17513
  center: !0,
17512
17514
  blurRadius: 12,
@@ -17570,7 +17572,7 @@ function aA(i, t, e) {
17570
17572
  return i.$$set = (d) => {
17571
17573
  "playing" in d && e(0, o = d.playing), "shadow" in d && e(1, s = d.shadow), "style" in d && e(2, r = d.style), "width" in d && e(6, a = d.width);
17572
17574
  }, i.$$.update = () => {
17573
- i.$$.dirty & 64 && e(5, n = typeof a == "number" ? it(a) : a);
17575
+ i.$$.dirty & 64 && e(5, n = typeof a == "number" ? ot(a) : a);
17574
17576
  }, [
17575
17577
  o,
17576
17578
  s,
@@ -17607,7 +17609,7 @@ function lA(i) {
17607
17609
  function ha(i) {
17608
17610
  var A, v;
17609
17611
  let t, e, n, o, s, r, a, l, c, u, h, d, m, g;
17610
- e = new st({
17612
+ e = new rt({
17611
17613
  props: {
17612
17614
  visible: i[6],
17613
17615
  left: i[3] / 2 + "px",
@@ -17666,7 +17668,7 @@ function ha(i) {
17666
17668
  }
17667
17669
  function fa(i) {
17668
17670
  let t, e, n, o, s, r, a;
17669
- return e = new st({
17671
+ return e = new rt({
17670
17672
  props: {
17671
17673
  center: !0,
17672
17674
  blurRadius: 15,
@@ -18234,7 +18236,7 @@ function Aa(i) {
18234
18236
  }
18235
18237
  function ba(i) {
18236
18238
  let t, e;
18237
- return t = new st({
18239
+ return t = new rt({
18238
18240
  props: {
18239
18241
  center: !0,
18240
18242
  blurRadius: 24,
@@ -18340,7 +18342,7 @@ function BA(i) {
18340
18342
  let t, e;
18341
18343
  return {
18342
18344
  c() {
18343
- t = B("img"), y(t, "alt", "tag-icon"), y(t, "class", "icon-image svelte-316sq3"), Ye(t.src, e = i[7]) || y(t, "src", e), z(t, "width", it(Gt({
18345
+ t = B("img"), y(t, "alt", "tag-icon"), y(t, "class", "icon-image svelte-316sq3"), Ye(t.src, e = i[7]) || y(t, "src", e), z(t, "width", ot(Gt({
18344
18346
  originWidth: i[1],
18345
18347
  scale: i[4],
18346
18348
  wantedWidth: i[3]
@@ -18350,7 +18352,7 @@ function BA(i) {
18350
18352
  T(n, t, o);
18351
18353
  },
18352
18354
  p(n, o) {
18353
- ga(n), o & 128 && !Ye(t.src, e = n[7]) && y(t, "src", e), o & 184 && z(t, "width", it(Gt({
18355
+ ga(n), o & 128 && !Ye(t.src, e = n[7]) && y(t, "src", e), o & 184 && z(t, "width", ot(Gt({
18354
18356
  originWidth: n[1],
18355
18357
  scale: n[4],
18356
18358
  wantedWidth: n[3]
@@ -18372,12 +18374,12 @@ function OA(i) {
18372
18374
  let t, e = `url(${i[7]})`, n = `steps(${i[17]}, jump-none)`;
18373
18375
  return {
18374
18376
  c() {
18375
- t = B("div"), y(t, "class", "icon-keyframe svelte-316sq3"), z(t, "width", it(Gt({
18377
+ t = B("div"), y(t, "class", "icon-keyframe svelte-316sq3"), z(t, "width", ot(Gt({
18376
18378
  originWidth: i[1],
18377
18379
  originHeight: i[16],
18378
18380
  scale: i[4],
18379
18381
  wantedWidth: i[3]
18380
- }).width)), z(t, "height", it(Gt({
18382
+ }).width)), z(t, "height", ot(Gt({
18381
18383
  originWidth: i[1],
18382
18384
  originHeight: i[16],
18383
18385
  scale: i[4],
@@ -18388,12 +18390,12 @@ function OA(i) {
18388
18390
  T(o, t, s);
18389
18391
  },
18390
18392
  p(o, s) {
18391
- va(o), s & 252 && z(t, "width", it(Gt({
18393
+ va(o), s & 252 && z(t, "width", ot(Gt({
18392
18394
  originWidth: o[1],
18393
18395
  originHeight: o[16],
18394
18396
  scale: o[4],
18395
18397
  wantedWidth: o[3]
18396
- }).width)), s & 252 && z(t, "height", it(Gt({
18398
+ }).width)), s & 252 && z(t, "height", ot(Gt({
18397
18399
  originWidth: o[1],
18398
18400
  originHeight: o[16],
18399
18401
  scale: o[4],
@@ -18497,7 +18499,7 @@ function HA(i) {
18497
18499
  }
18498
18500
  function ya(i) {
18499
18501
  let t, e, n, o, s, r;
18500
- return e = new st({
18502
+ return e = new rt({
18501
18503
  props: {
18502
18504
  outDelay: 0,
18503
18505
  inDelay: 0,
@@ -18668,11 +18670,11 @@ function JA(i) {
18668
18670
  function ZA(i) {
18669
18671
  let t, e, n, o, s, r, a, l, c, u;
18670
18672
  const h = [
18671
- o1,
18672
- i1,
18673
- n1,
18674
- t1,
18675
- e1,
18673
+ ob,
18674
+ ib,
18675
+ nb,
18676
+ tb,
18677
+ eb,
18676
18678
  $A
18677
18679
  ], d = [];
18678
18680
  function m(g, p) {
@@ -18756,7 +18758,7 @@ function $A(i) {
18756
18758
  }
18757
18759
  };
18758
18760
  }
18759
- function e1(i) {
18761
+ function eb(i) {
18760
18762
  let t, e;
18761
18763
  return t = new _A({
18762
18764
  props: { tag: De(i[1]) }
@@ -18782,7 +18784,7 @@ function e1(i) {
18782
18784
  }
18783
18785
  };
18784
18786
  }
18785
- function t1(i) {
18787
+ function tb(i) {
18786
18788
  let t, e;
18787
18789
  return t = new eA({
18788
18790
  props: { tag: De(i[1]) }
@@ -18808,7 +18810,7 @@ function t1(i) {
18808
18810
  }
18809
18811
  };
18810
18812
  }
18811
- function n1(i) {
18813
+ function nb(i) {
18812
18814
  let t, e;
18813
18815
  return t = new CA({
18814
18816
  props: { tag: De(i[1]) }
@@ -18834,7 +18836,7 @@ function n1(i) {
18834
18836
  }
18835
18837
  };
18836
18838
  }
18837
- function i1(i) {
18839
+ function ib(i) {
18838
18840
  let t, e;
18839
18841
  return t = new Jv({
18840
18842
  props: { tag: De(i[1]) }
@@ -18860,7 +18862,7 @@ function i1(i) {
18860
18862
  }
18861
18863
  };
18862
18864
  }
18863
- function o1(i) {
18865
+ function ob(i) {
18864
18866
  let t, e;
18865
18867
  return t = new p0({
18866
18868
  props: { tag: De(i[1]) }
@@ -18886,7 +18888,7 @@ function o1(i) {
18886
18888
  }
18887
18889
  };
18888
18890
  }
18889
- function s1(i) {
18891
+ function sb(i) {
18890
18892
  let t, e, n, o;
18891
18893
  const s = [KA, ZA, JA], r = [];
18892
18894
  function a(l, c) {
@@ -18916,7 +18918,7 @@ function s1(i) {
18916
18918
  }
18917
18919
  };
18918
18920
  }
18919
- function r1(i, t, e) {
18921
+ function rb(i, t, e) {
18920
18922
  let n, o, s, r, a, l, { withAnimation: c = !1 } = t, { tag: u } = t, { hooks: h } = t, { state: d } = t, { mediaStore: m } = t, { temporaryState: g } = t;
18921
18923
  oo("hooks", h), oo("mediaStore", m);
18922
18924
  let p, A;
@@ -18925,7 +18927,7 @@ function r1(i, t, e) {
18925
18927
  }
18926
18928
  function b(I, C, L) {
18927
18929
  var x, Q;
18928
- return !(!C.visible || !C.enabled || !L.visible || !((x = I.state) != null && x.visible) || ((Q = I.temporaryState) == null ? void 0 : Q.visible) === !1 || Ge(I) && !I.mediaVisible);
18930
+ return !(!C.visible || !C.enabled || !L.visible || !((x = I.state) != null && x.visible) || ((Q = I.temporaryState) == null ? void 0 : Q.visible) === !1 || We(I) && !I.mediaVisible);
18929
18931
  }
18930
18932
  const w = (I) => h.emit("click", { event: I, target: "TagContent", tag: u }), k = (I) => h.emit("click", { event: I, target: "TagContent", tag: u });
18931
18933
  return i.$$set = (I) => {
@@ -18956,8 +18958,8 @@ class sc extends oe {
18956
18958
  super(), ie(
18957
18959
  this,
18958
18960
  t,
18959
- r1,
18960
- s1,
18961
+ rb,
18962
+ sb,
18961
18963
  ne,
18962
18964
  {
18963
18965
  withAnimation: 0,
@@ -18971,12 +18973,12 @@ class sc extends oe {
18971
18973
  );
18972
18974
  }
18973
18975
  }
18974
- function a1(i) {
18976
+ function ab(i) {
18975
18977
  le(i, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
18976
18978
  }
18977
- function l1(i) {
18979
+ function lb(i) {
18978
18980
  let t, e, n, o, s, r, a, l, c, u, h, d;
18979
- return o = new st({
18981
+ return o = new rt({
18980
18982
  props: {
18981
18983
  center: !0,
18982
18984
  blurRadius: 15,
@@ -19011,7 +19013,7 @@ function l1(i) {
19011
19013
  }
19012
19014
  };
19013
19015
  }
19014
- function c1(i, t, e) {
19016
+ function cb(i, t, e) {
19015
19017
  let n, o, s, r;
19016
19018
  const a = At("hooks");
19017
19019
  let { tag: l } = t, c, u = !1;
@@ -19060,15 +19062,15 @@ function c1(i, t, e) {
19060
19062
  g
19061
19063
  ];
19062
19064
  }
19063
- class u1 extends oe {
19065
+ class ub extends oe {
19064
19066
  constructor(t) {
19065
- super(), ie(this, t, c1, l1, ne, { tag: 6 }, a1);
19067
+ super(), ie(this, t, cb, lb, ne, { tag: 6 }, ab);
19066
19068
  }
19067
19069
  }
19068
- function d1(i) {
19070
+ function db(i) {
19069
19071
  le(i, "svelte-pzwdws", ".tag.withAnimation.svelte-pzwdws{transition:opacity 0.3s linear}.tag.hide.svelte-pzwdws{opacity:0;pointer-events:none}.tag.hide.svelte-pzwdws *{pointer-events:none !important}.tag.unClickable.svelte-pzwdws{pointer-events:none !important}.tag.unClickable.svelte-pzwdws *{pointer-events:none !important}.tag.disable.svelte-pzwdws{display:none}.wrapper.svelte-pzwdws{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
19070
19072
  }
19071
- function h1(i) {
19073
+ function hb(i) {
19072
19074
  let t;
19073
19075
  return {
19074
19076
  c() {
@@ -19085,7 +19087,7 @@ function h1(i) {
19085
19087
  }
19086
19088
  };
19087
19089
  }
19088
- function f1(i) {
19090
+ function fb(i) {
19089
19091
  let t, e;
19090
19092
  return t = new sc({
19091
19093
  props: {
@@ -19118,7 +19120,7 @@ function f1(i) {
19118
19120
  }
19119
19121
  };
19120
19122
  }
19121
- function m1(i) {
19123
+ function mb(i) {
19122
19124
  let t;
19123
19125
  return {
19124
19126
  c() {
@@ -19135,9 +19137,9 @@ function m1(i) {
19135
19137
  }
19136
19138
  };
19137
19139
  }
19138
- function p1(i) {
19140
+ function pb(i) {
19139
19141
  let t, e;
19140
- return t = new u1({ props: { tag: i[1] } }), {
19142
+ return t = new ub({ props: { tag: i[1] } }), {
19141
19143
  c() {
19142
19144
  K(t.$$.fragment);
19143
19145
  },
@@ -19159,14 +19161,14 @@ function p1(i) {
19159
19161
  }
19160
19162
  };
19161
19163
  }
19162
- function g1(i) {
19164
+ function gb(i) {
19163
19165
  let t, e, n, o, s, r, a, l, c, u;
19164
- const h = [f1, h1], d = [];
19166
+ const h = [fb, hb], d = [];
19165
19167
  function m(v, b) {
19166
19168
  return v[12] ? 0 : 1;
19167
19169
  }
19168
19170
  n = m(i), o = d[n] = h[n](i);
19169
- const g = [p1, m1], p = [];
19171
+ const g = [pb, mb], p = [];
19170
19172
  function A(v, b) {
19171
19173
  return v[13] ? 0 : 1;
19172
19174
  }
@@ -19198,7 +19200,7 @@ function g1(i) {
19198
19200
  }
19199
19201
  };
19200
19202
  }
19201
- function v1(i, t, e) {
19203
+ function vb(i, t, e) {
19202
19204
  let n, o, s, r, a, l, c, u, h, { withAnimation: d = !1 } = t, { tag: m } = t, { mediaStore: g } = t, { state: p } = t, { temporaryState: A } = t;
19203
19205
  const v = At("hooks");
19204
19206
  return i.$$set = (b) => {
@@ -19224,13 +19226,13 @@ function v1(i, t, e) {
19224
19226
  v
19225
19227
  ];
19226
19228
  }
19227
- class A1 extends oe {
19229
+ class Ab extends oe {
19228
19230
  constructor(t) {
19229
19231
  super(), ie(
19230
19232
  this,
19231
19233
  t,
19232
- v1,
19233
- g1,
19234
+ vb,
19235
+ gb,
19234
19236
  ne,
19235
19237
  {
19236
19238
  withAnimation: 0,
@@ -19239,11 +19241,11 @@ class A1 extends oe {
19239
19241
  state: 3,
19240
19242
  temporaryState: 4
19241
19243
  },
19242
- d1
19244
+ db
19243
19245
  );
19244
19246
  }
19245
19247
  }
19246
- function b1(i) {
19248
+ function bb(i) {
19247
19249
  le(i, "svelte-uq11d5", ".tag--container.svelte-uq11d5{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0)}.withAnimation.svelte-uq11d5{transition:opacity 0.3s linear}.tag--container.hide.svelte-uq11d5{opacity:0;pointer-events:none}.tag--container.hide.svelte-uq11d5 *{pointer-events:none !important}");
19248
19250
  }
19249
19251
  function Ea(i, t, e) {
@@ -19294,7 +19296,7 @@ function Ca(i) {
19294
19296
  }
19295
19297
  function Pa(i, t) {
19296
19298
  let e, n, o;
19297
- return n = new A1({
19299
+ return n = new Ab({
19298
19300
  props: {
19299
19301
  state: t[3],
19300
19302
  temporaryState: t[4],
@@ -19327,7 +19329,7 @@ function Pa(i, t) {
19327
19329
  }
19328
19330
  };
19329
19331
  }
19330
- function y1(i) {
19332
+ function yb(i) {
19331
19333
  let t, e, n = i[3].enabled && Ca(i);
19332
19334
  return {
19333
19335
  c() {
@@ -19352,19 +19354,19 @@ function y1(i) {
19352
19354
  }
19353
19355
  };
19354
19356
  }
19355
- function w1(i, t, e) {
19357
+ function wb(i, t, e) {
19356
19358
  let { withAnimation: n = !1 } = t, { tags: o = [] } = t, { hooks: s } = t, { mediaStore: r } = t, { state: a } = t, { temporaryState: l } = t;
19357
19359
  return oo("hooks", s), i.$$set = (c) => {
19358
19360
  "withAnimation" in c && e(0, n = c.withAnimation), "tags" in c && e(1, o = c.tags), "hooks" in c && e(5, s = c.hooks), "mediaStore" in c && e(2, r = c.mediaStore), "state" in c && e(3, a = c.state), "temporaryState" in c && e(4, l = c.temporaryState);
19359
19361
  }, [n, o, r, a, l, s];
19360
19362
  }
19361
- class E1 extends oe {
19363
+ class Eb extends oe {
19362
19364
  constructor(t) {
19363
19365
  super(), ie(
19364
19366
  this,
19365
19367
  t,
19366
- w1,
19367
- y1,
19368
+ wb,
19369
+ yb,
19368
19370
  ne,
19369
19371
  {
19370
19372
  withAnimation: 0,
@@ -19374,12 +19376,12 @@ class E1 extends oe {
19374
19376
  state: 3,
19375
19377
  temporaryState: 4
19376
19378
  },
19377
- b1
19379
+ bb
19378
19380
  );
19379
19381
  }
19380
19382
  }
19381
- const C1 = new Qc();
19382
- function P1(i) {
19383
+ const Cb = new Qc();
19384
+ function Pb(i) {
19383
19385
  return new Promise((t, e) => {
19384
19386
  function n(s) {
19385
19387
  t(s);
@@ -19387,11 +19389,11 @@ function P1(i) {
19387
19389
  function o(s) {
19388
19390
  e(s);
19389
19391
  }
19390
- C1.load(i, n, void 0, o);
19392
+ Cb.load(i, n, void 0, o);
19391
19393
  });
19392
19394
  }
19393
- const I1 = /* @__PURE__ */ new Map(), k1 = /* @__PURE__ */ new Map();
19394
- class x1 extends Mg {
19395
+ const Ib = /* @__PURE__ */ new Map(), kb = /* @__PURE__ */ new Map();
19396
+ class xb extends Mg {
19395
19397
  constructor(e) {
19396
19398
  super(e);
19397
19399
  f(this, "group", new Wt());
@@ -19405,7 +19407,7 @@ class x1 extends Mg {
19405
19407
  const n = e.data.modelUrl;
19406
19408
  if (!n)
19407
19409
  return;
19408
- const o = P1(n).then((c) => Object.assign(c.scene, { customID: e.id, isTagModel: !0 }));
19410
+ const o = Pb(n).then((c) => Object.assign(c.scene, { customID: e.id, isTagModel: !0 }));
19409
19411
  e.model = { promise: o };
19410
19412
  const s = yield o;
19411
19413
  if (((l = e.model) == null ? void 0 : l.promise) !== o || (e.model.object = s, !this.tags.includes(e)))
@@ -19438,31 +19440,32 @@ class x1 extends Mg {
19438
19440
  }
19439
19441
  updateRenderImagePlane() {
19440
19442
  this.sort(this.filterImagePlane).forEach((n) => {
19441
- var l, c, u, h;
19443
+ var l, c, u, h, d;
19442
19444
  const o = n.data.mediaData[0];
19443
19445
  if (!o)
19444
19446
  return;
19445
19447
  const { url: s, type: r } = o;
19446
- if (!s || (n.mediaPlane && (n.mediaPlane.visible = (c = (l = n.state) == null ? void 0 : l.visible) != null ? c : !0, n.mediaPlane.visible || n.mediaPlane instanceof po && n.mediaPlane.pause()), ((u = n.mediaPlane) == null ? void 0 : u.src) === s))
19448
+ if (!s || (n.mediaPlane && (n.mediaPlane.visible = (c = (l = n.state) == null ? void 0 : l.visible) != null ? c : !0, n.mediaPlane.visible || n.mediaPlane instanceof po && ((u = n.data.autoplayConfig) != null && u.autoplayVideo || n.mediaPlane.pause())), ((h = n.mediaPlane) == null ? void 0 : h.src) === s))
19447
19449
  return;
19448
19450
  const a = n.position.map(Ze);
19449
19451
  if (n.mediaPlane && n.mediaPlane.removeFromParent(), r === "Image")
19450
- n.mediaPlane = new fr(s, a), this.domEvents.addAutoBindEventListener(n.mediaPlane, "click", (d) => {
19451
- this.hooks.emit("click", { tag: n, target: "TagContent", event: d.origDomEvent });
19452
+ n.mediaPlane = new fr(s, a, { objectFit: n.data.objectFit }), this.domEvents.addAutoBindEventListener(n.mediaPlane, "click", (m) => {
19453
+ this.hooks.emit("click", { tag: n, target: "TagContent", event: m.origDomEvent });
19452
19454
  });
19453
19455
  else if (r === "Video") {
19454
- const d = new po(s, a, {
19456
+ const m = new po(s, a, {
19455
19457
  videoCoverSrc: o.videoCoverUrl,
19456
19458
  playButton: n.data.playIcon,
19457
- paused: !((h = n.data.autoplayConfig) != null && h.autoplayVideo),
19458
- videoTextureMap: I1,
19459
- ImageTextureMap: k1
19459
+ paused: !((d = n.data.autoplayConfig) != null && d.autoplayVideo),
19460
+ objectFit: n.data.objectFit,
19461
+ videoTextureMap: Ib,
19462
+ ImageTextureMap: kb
19460
19463
  });
19461
- d.onVideoReady = (g) => {
19462
- g.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
19463
- }, d.initialDomEvents(this.domEvents);
19464
- const m = (g) => (this.five.on("renderFrame", g), () => this.five.off("renderFrame", g));
19465
- d.initialRenderHooks(m), n.mediaPlane = d;
19464
+ m.onVideoReady = (p) => {
19465
+ p.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: m.videoInstance }));
19466
+ }, m.initialDomEvents(this.domEvents);
19467
+ const g = (p) => (this.five.on("renderFrame", p), () => this.five.off("renderFrame", p));
19468
+ m.initialRenderHooks(g), n.mediaPlane = m;
19466
19469
  }
19467
19470
  this.imagePlaneGroup.add(n.mediaPlane);
19468
19471
  });
@@ -19531,7 +19534,7 @@ class x1 extends Mg {
19531
19534
  }
19532
19535
  updateRenderModelTag() {
19533
19536
  const e = (o) => !this.enabledModelTagSet.has(o.customID);
19534
- this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(Ge).forEach((o) => {
19537
+ this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(We).forEach((o) => {
19535
19538
  var s;
19536
19539
  (s = o.model) == null || s.promise.then((r) => {
19537
19540
  r.visible = this.getCurrentVisibleState(o);
@@ -19549,7 +19552,7 @@ class x1 extends Mg {
19549
19552
  const o = (v = (A = (p = e.mergedConfig) == null ? void 0 : p.tag3DConfig) == null ? void 0 : A.ratio) != null ? v : 216e-5, s = (b = e.tag3DContentSvelte) == null ? void 0 : b.css3DInstance.css3DObject;
19550
19553
  if (!s)
19551
19554
  return;
19552
- const r = Ge(e) ? e.data.mediaPosition : e.position;
19555
+ const r = We(e) ? e.data.mediaPosition : e.position;
19553
19556
  n.updateWorldMatrix(!1, !1);
19554
19557
  const a = n.matrixWorld, l = new q().fromArray(r[0]), c = new q().fromArray(r[2]), u = Tt(l, c).add(new q(0, 0, 5e-4)), h = new mn().setPosition(u), d = new mn().makeScale(o, o, o), m = new mn().multiply(a).multiply(h).multiply(d);
19555
19558
  m.decompose(s.position, s.quaternion, s.scale);
@@ -19558,7 +19561,7 @@ class x1 extends Mg {
19558
19561
  }
19559
19562
  addMediaModelTag(e) {
19560
19563
  return F(this, null, function* () {
19561
- const n = e.filter(Ge).map((o) => this.loadModel(o));
19564
+ const n = e.filter(We).map((o) => this.loadModel(o));
19562
19565
  yield Promise.all(n), this.setModelMedialVisible(), this.updateRenderAllTags();
19563
19566
  });
19564
19567
  }
@@ -19571,7 +19574,7 @@ class x1 extends Mg {
19571
19574
  const o = (n = this.five.getElement()) == null ? void 0 : n.parentElement;
19572
19575
  if (!o)
19573
19576
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
19574
- this.TagContainerSvelte = new E1({
19577
+ this.TagContainerSvelte = new Eb({
19575
19578
  target: o,
19576
19579
  props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
19577
19580
  });
@@ -19609,19 +19612,19 @@ class x1 extends Mg {
19609
19612
  }
19610
19613
  }
19611
19614
  const rc = "Dnalogel-PanoTagPlugin", sy = (i) => `${rc}--${i}`;
19612
- class D1 extends x1 {
19615
+ class Db extends xb {
19613
19616
  constructor(e, n) {
19614
19617
  super(e);
19615
19618
  f(this, "state", { enabled: !0, visible: !0 });
19616
19619
  f(this, "params");
19617
19620
  f(this, "debug");
19618
19621
  f(this, "changeTagModel", (e, n) => F(this, null, function* () {
19619
- e.data = at({}, e.data, n), yield this.loadModel(e), this.updateRenderAllTags();
19622
+ e.data = nt({}, e.data, n), yield this.loadModel(e), this.updateRenderAllTags();
19620
19623
  }));
19621
19624
  f(this, "handleFiveInitAnimationEnded", () => {
19622
19625
  const e = this.five.getCurrentState().mode;
19623
19626
  this.tags.forEach((n) => {
19624
- Ge(n) && e === "Panorama" && this.changeTagMode(n, "front"), n.state.visible = this.getVisible(n);
19627
+ We(n) && e === "Panorama" && this.changeTagMode(n, "front"), n.state.visible = this.getVisible(n);
19625
19628
  }), this.updateRenderAllTags();
19626
19629
  });
19627
19630
  f(this, "handleFiveModelShownFloorChange", () => {
@@ -19641,7 +19644,7 @@ class D1 extends x1 {
19641
19644
  load(e, n) {
19642
19645
  return F(this, null, function* () {
19643
19646
  var s, r;
19644
- this.clearTags(), console.info(rc, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = at({}, this.config, {
19647
+ this.clearTags(), console.info(rc, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = nt({}, this.config, {
19645
19648
  globalConfig: (s = e.globalConfig) != null ? s : {},
19646
19649
  contentTypeConfig: (r = e.contentTypeConfig) != null ? r : {}
19647
19650
  });
@@ -19658,9 +19661,11 @@ class D1 extends x1 {
19658
19661
  addTag(e, n) {
19659
19662
  return F(this, null, function* () {
19660
19663
  const s = (Array.isArray(e) ? e : [e]).map((r) => {
19664
+ var c;
19661
19665
  const a = this.getTagConfig(r);
19662
19666
  return fe(R({}, r), {
19663
- data: at({}, a.initialData, r.data),
19667
+ id: (c = r.id) != null ? c : Ge(),
19668
+ data: nt({}, a.initialData, r.data),
19664
19669
  state: R({
19665
19670
  visible: void 0,
19666
19671
  unfolded: !this.can("fold", r)
@@ -19681,13 +19686,13 @@ class D1 extends x1 {
19681
19686
  });
19682
19687
  }
19683
19688
  changeConfig(e, n = !0) {
19684
- n ? this.config = at({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
19689
+ n ? this.config = nt({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
19685
19690
  }
19686
19691
  changeGlobalConfig(e, n = !0) {
19687
- n ? this.config.globalConfig = at({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
19692
+ n ? this.config.globalConfig = nt({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
19688
19693
  }
19689
19694
  changeContentTypeConfig(e, n, o = !0) {
19690
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), o ? this.config.contentTypeConfig[e] = at({}, this.config.contentTypeConfig[e], n) : this.config.contentTypeConfig[e] = n, this.clearCache(), this.updateRenderAllTags();
19695
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), o ? this.config.contentTypeConfig[e] = nt({}, this.config.contentTypeConfig[e], n) : this.config.contentTypeConfig[e] = n, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
19691
19696
  }
19692
19697
  show(e) {
19693
19698
  return F(this, null, function* () {
@@ -19753,14 +19758,14 @@ class D1 extends x1 {
19753
19758
  }
19754
19759
  changeDataById(e, n, o = !0) {
19755
19760
  const s = this.getTagById(e);
19756
- !s || (o ? s.data = at({}, s.data, n) : s.data = R(R({}, s.data), n), this.clearUnusedPanelTag(), this.updateRenderAllTags());
19761
+ !s || (o ? s.data = nt({}, s.data, n) : s.data = R(R({}, s.data), n), this.clearUnusedPanelTag(), this.updateRenderAllTags());
19757
19762
  }
19758
19763
  changeStickTypeById(e, n, o = !0) {
19759
19764
  this.changeTagById(e, n, o);
19760
19765
  }
19761
19766
  changeTagById(e, n, o = !0) {
19762
19767
  const s = this.getTagById(e);
19763
- !n || (o ? at(s, n) : Object.assign(s, n), (s == null ? void 0 : s.tag3DContentSvelte) && (n == null ? void 0 : n.normal) && (s.tag3DContentSvelte.currentNormal = Ze(n.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag());
19768
+ !n || (o ? nt(s, n) : Object.assign(s, n), (s == null ? void 0 : s.tag3DContentSvelte) && (n == null ? void 0 : n.normal) && (s.tag3DContentSvelte.currentNormal = Ze(n.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag());
19764
19769
  }
19765
19770
  destroyTagById(e) {
19766
19771
  (Array.isArray(e) ? e : [e]).forEach((o) => {
@@ -19833,7 +19838,7 @@ class D1 extends x1 {
19833
19838
  }
19834
19839
  handleFiveModeChange(e) {
19835
19840
  this.setModelMedialVisible(), this.tags.forEach((n) => {
19836
- Ge(n) && e !== "Panorama" && this.changeTagMode(n, "behind"), n.state.visible = this.getVisible(n);
19841
+ We(n) && e !== "Panorama" && this.changeTagMode(n, "behind"), n.state.visible = this.getVisible(n);
19837
19842
  }), this.updateRenderAllTags();
19838
19843
  }
19839
19844
  handleFiveWantsMoveToPano() {
@@ -19882,7 +19887,7 @@ class D1 extends x1 {
19882
19887
  ((o = this.getTagConfig(e)) == null ? void 0 : o.renderType) !== "Mesh" && ((a = (r = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : a.mode) !== n && ((l = e.config) != null && l.tag3DConfig ? e.config.tag3DConfig.mode = n : e.config ? e.config.tag3DConfig = { mode: n } : e.config = { tag3DConfig: { mode: n } }, (c = this.store.css3DRenderDisposer.get(e.id)) == null || c.forEach((u) => u == null ? void 0 : u()), e.tag3DContentSvelte = void 0);
19883
19888
  }
19884
19889
  }
19885
- const ry = (i, t) => new D1(i, t);
19890
+ const ry = (i, t) => new Db(i, t);
19886
19891
  function ac(i) {
19887
19892
  const t = new E.Box3(), e = new E.Vector3();
19888
19893
  if (i.traverse((n) => {
@@ -20065,7 +20070,7 @@ class On {
20065
20070
  return o;
20066
20071
  }
20067
20072
  }
20068
- class L1 extends On {
20073
+ class Lb extends On {
20069
20074
  constructor(...e) {
20070
20075
  super(...e);
20071
20076
  f(this, "name", "ScaleController");
@@ -20085,7 +20090,7 @@ function lc(i, t, e) {
20085
20090
  }
20086
20091
  i.quaternion.copy(t);
20087
20092
  }
20088
- class M1 extends zc {
20093
+ class Mb extends zc {
20089
20094
  constructor() {
20090
20095
  super();
20091
20096
  }
@@ -20106,7 +20111,7 @@ class M1 extends zc {
20106
20111
  return t !== null && t.remove(this), this;
20107
20112
  }
20108
20113
  }
20109
- class Si extends M1 {
20114
+ class Si extends Mb {
20110
20115
  constructor(e, n) {
20111
20116
  var o;
20112
20117
  super();
@@ -20159,17 +20164,17 @@ class Si extends M1 {
20159
20164
  this.removeFromParent();
20160
20165
  }
20161
20166
  }
20162
- class S1 extends Si {
20167
+ class Sb extends Si {
20163
20168
  }
20164
- class T1 extends Si {
20169
+ class Tb extends Si {
20165
20170
  }
20166
- class z1 extends Si {
20171
+ class zb extends Si {
20167
20172
  }
20168
20173
  class cc extends Si {
20169
20174
  }
20170
- class B1 extends cc {
20175
+ class Bb extends cc {
20171
20176
  }
20172
- class j1 extends E.Group {
20177
+ class jb extends E.Group {
20173
20178
  constructor(e) {
20174
20179
  super();
20175
20180
  f(this, "direction");
@@ -20183,7 +20188,7 @@ class Ia extends E.Mesh {
20183
20188
  this.direction = o || "x";
20184
20189
  }
20185
20190
  }
20186
- function V1(i, t) {
20191
+ function Vb(i, t) {
20187
20192
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
20188
20193
  return Object.assign(new E.Vector2(), {
20189
20194
  x: (i.x - s) / e * 2 - 1,
@@ -20193,16 +20198,16 @@ function V1(i, t) {
20193
20198
  function Qo(i, t, e) {
20194
20199
  if (!t || !e || !i)
20195
20200
  return;
20196
- const n = V1(t, e);
20201
+ const n = Vb(t, e);
20197
20202
  if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
20198
20203
  return;
20199
20204
  const o = new E.Raycaster();
20200
20205
  return o.setFromCamera(n, i), o;
20201
20206
  }
20202
- function O1(i, t) {
20207
+ function Ob(i, t) {
20203
20208
  return !(Math.abs(i.x - t.x) > 1e-5 || Math.abs(i.y - t.y) > 1e-5 || Math.abs(i.z - t.z) > 1e-5);
20204
20209
  }
20205
- class Ji extends j1 {
20210
+ class Ji extends jb {
20206
20211
  constructor(e) {
20207
20212
  var u;
20208
20213
  super(e.direction);
@@ -20245,7 +20250,7 @@ class Xt {
20245
20250
  return new E.Color(Zi.Z).convertSRGBToLinear().clone();
20246
20251
  }
20247
20252
  }
20248
- class R1 extends S1 {
20253
+ class Rb extends Sb {
20249
20254
  constructor(e) {
20250
20255
  super(e);
20251
20256
  f(this, "xArrow", new Ji({ direction: "x", color: Xt.X }));
@@ -20264,16 +20269,16 @@ class R1 extends S1 {
20264
20269
  }
20265
20270
  }
20266
20271
  function Lt(i, t) {
20267
- return Q1(document.createElement(t != null ? t : "div"), i);
20272
+ return Qb(document.createElement(t != null ? t : "div"), i);
20268
20273
  }
20269
- function Q1(i, t) {
20274
+ function Qb(i, t) {
20270
20275
  if (!t)
20271
20276
  return i;
20272
20277
  for (const e in t)
20273
20278
  e && t[e] && (i.style[e] = t[e]);
20274
20279
  return i;
20275
20280
  }
20276
- function F1(i) {
20281
+ function Fb(i) {
20277
20282
  const t = Lt(R({
20278
20283
  position: "absolute",
20279
20284
  display: "block",
@@ -20299,7 +20304,7 @@ function F1(i) {
20299
20304
  t.style.left = s, t.style.top = r, e();
20300
20305
  } };
20301
20306
  }
20302
- class H1 extends z1 {
20307
+ class Hb extends zb {
20303
20308
  constructor(e, n) {
20304
20309
  super(e);
20305
20310
  f(this, "xCircle");
@@ -20308,7 +20313,7 @@ class H1 extends z1 {
20308
20313
  f(this, "children", []);
20309
20314
  f(this, "angleTips");
20310
20315
  f(this, "container");
20311
- (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new Ki({ direction: "x", color: Xt.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new Ki({ direction: "y", color: Xt.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new Ki({ direction: "z", color: Xt.Z })), (n == null ? void 0 : n.container) && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = F1({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
20316
+ (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new Ki({ direction: "x", color: Xt.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new Ki({ direction: "y", color: Xt.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new Ki({ direction: "z", color: Xt.Z })), (n == null ? void 0 : n.container) && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = Fb({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
20312
20317
  }
20313
20318
  hide() {
20314
20319
  this.children.forEach((e) => e.hide());
@@ -20333,7 +20338,7 @@ class Ki extends E.Group {
20333
20338
  f(this, "circle");
20334
20339
  f(this, "ring");
20335
20340
  f(this, "angleSector");
20336
- this.direction = e.direction, this.circle = new G1(e), this.ring = new W1(e), this.angleSector = new _1(e), this.add(this.circle, this.ring, this.angleSector), this.direction === "y" ? this.rotateX(Math.PI / 2) : this.direction === "x" && this.rotateY(-Math.PI / 2);
20341
+ this.direction = e.direction, this.circle = new Gb(e), this.ring = new Wb(e), this.angleSector = new _b(e), this.add(this.circle, this.ring, this.angleSector), this.direction === "y" ? this.rotateX(Math.PI / 2) : this.direction === "x" && this.rotateY(-Math.PI / 2);
20337
20342
  }
20338
20343
  showCircle() {
20339
20344
  this.add(this.circle), this.remove(this.ring, this.angleSector);
@@ -20345,7 +20350,7 @@ class Ki extends E.Group {
20345
20350
  this.remove(this.ring, this.angleSector, this.circle);
20346
20351
  }
20347
20352
  }
20348
- class G1 extends E.Mesh {
20353
+ class Gb extends E.Mesh {
20349
20354
  constructor(e) {
20350
20355
  var n;
20351
20356
  super();
@@ -20361,7 +20366,7 @@ class G1 extends E.Mesh {
20361
20366
  }), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
20362
20367
  }
20363
20368
  }
20364
- class W1 extends E.Group {
20369
+ class Wb extends E.Group {
20365
20370
  constructor(e) {
20366
20371
  super();
20367
20372
  f(this, "direction");
@@ -20379,7 +20384,7 @@ class W1 extends E.Group {
20379
20384
  this.add(...o);
20380
20385
  }
20381
20386
  }
20382
- class _1 extends E.Mesh {
20387
+ class _b extends E.Mesh {
20383
20388
  constructor(e) {
20384
20389
  var o;
20385
20390
  super();
@@ -20407,7 +20412,7 @@ class _1 extends E.Mesh {
20407
20412
  }), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
20408
20413
  }
20409
20414
  }
20410
- function N1() {
20415
+ function Nb() {
20411
20416
  const i = Lt({
20412
20417
  width: "100%",
20413
20418
  height: "100%",
@@ -20471,7 +20476,7 @@ function ft(i) {
20471
20476
  });
20472
20477
  return n.draggable = !0, e.appendChild(n), t.appendChild(e), t;
20473
20478
  }
20474
- class X1 extends B1 {
20479
+ class Xb extends Bb {
20475
20480
  constructor(e, n, o, s) {
20476
20481
  super(e);
20477
20482
  f(this, "points", []);
@@ -20552,7 +20557,7 @@ class X1 extends B1 {
20552
20557
  if (!n)
20553
20558
  return;
20554
20559
  this.css3DInstance = n, n.appendToElement(this.container);
20555
- const o = n.css3DObject.container, { container: s, squares: r } = N1();
20560
+ const o = n.css3DObject.container, { container: s, squares: r } = Nb();
20556
20561
  this.points = r.map((c, u) => ({
20557
20562
  direction: c.direction,
20558
20563
  point: c.element,
@@ -20578,7 +20583,7 @@ class X1 extends B1 {
20578
20583
  ];
20579
20584
  }
20580
20585
  }
20581
- class Y1 extends T1 {
20586
+ class Yb extends Tb {
20582
20587
  constructor(e) {
20583
20588
  super(e);
20584
20589
  f(this, "box");
@@ -20662,7 +20667,7 @@ class Y1 extends T1 {
20662
20667
  return new E.Mesh(n, o);
20663
20668
  }
20664
20669
  }
20665
- class U1 extends On {
20670
+ class Ub extends On {
20666
20671
  constructor(...e) {
20667
20672
  super(...e);
20668
20673
  f(this, "name", "MoveController");
@@ -20797,14 +20802,14 @@ class fn {
20797
20802
  this.five.off("wantsTapGesture", this.onFiveWantsTapGesture), this.five.off("wantsGesture", this.onFiveWantsGesture), this.five.off("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), (t = this.helperController) == null || t.dispose();
20798
20803
  }
20799
20804
  }
20800
- const q1 = "v1.0.1", J1 = "Object3DHelper", Fo = `${J1}@${q1}`, Z1 = () => {
20805
+ const qb = "v1.0.1", Jb = "Object3DHelper", Fo = `${Jb}@${qb}`, Zb = () => {
20801
20806
  console.error(`${Fo} is disposed`);
20802
- }, K1 = () => {
20807
+ }, Kb = () => {
20803
20808
  console.warn(`${Fo} is disabled`);
20804
- }, $1 = () => {
20809
+ }, $b = () => {
20805
20810
  console.error(`${Fo} is disabled`);
20806
20811
  };
20807
- class eb {
20812
+ class e1 {
20808
20813
  constructor(t) {
20809
20814
  f(this, "controllers", {});
20810
20815
  f(this, "state", {
@@ -20837,9 +20842,9 @@ class eb {
20837
20842
  }
20838
20843
  setState(t, e) {
20839
20844
  if (this.state.disposed)
20840
- return Z1();
20845
+ return Zb();
20841
20846
  if (!this.state.enabled && t.enabled !== !0 && t.disposed !== !0)
20842
- return $1();
20847
+ return $b();
20843
20848
  const n = R({}, this.state);
20844
20849
  this.state = R(R({}, this.state), t), t.disposed !== void 0 && t.disposed !== n.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: n });
20845
20850
  }
@@ -20883,13 +20888,13 @@ class eb {
20883
20888
  actionIfStateIsEnabled(t, e) {
20884
20889
  if (this.state.enabled)
20885
20890
  return t();
20886
- e != null && e.warnLog && K1();
20891
+ e != null && e.warnLog && Kb();
20887
20892
  }
20888
20893
  }
20889
20894
  function $i(i) {
20890
20895
  return i * Math.PI / 180;
20891
20896
  }
20892
- class tb extends On {
20897
+ class t1 extends On {
20893
20898
  constructor(...e) {
20894
20899
  var c, u, h;
20895
20900
  super(...e);
@@ -21028,7 +21033,7 @@ class tb extends On {
21028
21033
  n.setLeftTop(l, c);
21029
21034
  }
21030
21035
  }
21031
- class nb extends On {
21036
+ class n1 extends On {
21032
21037
  constructor(...e) {
21033
21038
  super(...e);
21034
21039
  f(this, "startInfo");
@@ -21081,7 +21086,7 @@ class nb extends On {
21081
21086
  if (r.length < 4)
21082
21087
  return this.dragEnd();
21083
21088
  const a = e.ray.intersectPlane(s, new q());
21084
- if (!a || O1(a, this.camera.position))
21089
+ if (!a || Ob(a, this.camera.position))
21085
21090
  return;
21086
21091
  const l = new q().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: u } = o, h = new q().subVectors(r[1], r[0]), d = new q().subVectors(r[3], r[0]), m = (O) => {
21087
21092
  const S = new q(0, 0, 0);
@@ -21133,7 +21138,7 @@ class nb extends On {
21133
21138
  !this.isDragging || (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
21134
21139
  }
21135
21140
  }
21136
- class ib extends nb {
21141
+ class i1 extends n1 {
21137
21142
  constructor(...e) {
21138
21143
  super(...e);
21139
21144
  f(this, "name", "CSS3DScaleController");
@@ -21148,25 +21153,25 @@ class ib extends nb {
21148
21153
  });
21149
21154
  }
21150
21155
  }
21151
- class ob extends On {
21156
+ class o1 extends On {
21152
21157
  constructor(...e) {
21153
21158
  super(...e);
21154
21159
  f(this, "name", "BoundingBoxController");
21155
21160
  }
21156
21161
  }
21157
- class sb extends cc {
21162
+ class s1 extends cc {
21158
21163
  constructor(t) {
21159
21164
  super(t);
21160
21165
  }
21161
21166
  }
21162
- const Ao = "Object3DHelperPlugin", Ho = Ao, rb = () => {
21167
+ const Ao = "Object3DHelperPlugin", Ho = Ao, r1 = () => {
21163
21168
  console.error(`${Ho} is disposed`);
21164
- }, ab = () => {
21169
+ }, a1 = () => {
21165
21170
  console.warn(`${Ho} is disabled`);
21166
- }, lb = () => {
21171
+ }, l1 = () => {
21167
21172
  console.error(`${Ho} is disabled`);
21168
21173
  };
21169
- class cb extends jn {
21174
+ class c1 extends jn {
21170
21175
  constructor(e) {
21171
21176
  super(e);
21172
21177
  f(this, "name", Ao);
@@ -21201,9 +21206,9 @@ class cb extends jn {
21201
21206
  }
21202
21207
  setState(e, n) {
21203
21208
  if (this.state.disposed)
21204
- return rb();
21209
+ return r1();
21205
21210
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
21206
- return lb();
21211
+ return l1();
21207
21212
  const o = R({}, this.state);
21208
21213
  this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: o });
21209
21214
  }
@@ -21218,22 +21223,22 @@ class cb extends jn {
21218
21223
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
21219
21224
  return;
21220
21225
  }
21221
- const o = new eb(), s = [], r = (m = this.five.getElement()) == null ? void 0 : m.parentElement, a = this.five.camera, { moveHelper: l = !0, rotateHelper: c = !0, scaleHelper: u = !0, boundingBoxHelper: h = !1 } = n, d = new Ue();
21226
+ const o = new e1(), s = [], r = (m = this.five.getElement()) == null ? void 0 : m.parentElement, a = this.five.camera, { moveHelper: l = !0, rotateHelper: c = !0, scaleHelper: u = !0, boundingBoxHelper: h = !1 } = n, d = new Ue();
21222
21227
  if (l) {
21223
- const g = new R1(e), p = this.getConfig(n.moveHelper), A = new fn(this.five, U1, e, g, p, d);
21228
+ const g = new Rb(e), p = this.getConfig(n.moveHelper), A = new fn(this.five, Ub, e, g, p, d);
21224
21229
  o.addControllers({ moveController: A.helperController }), s.push(() => A.dispose());
21225
21230
  }
21226
21231
  if (c) {
21227
- const g = this.getConfig(n.rotateHelper), p = new H1(e, R({ container: r }, g)), A = new fn(this.five, tb, e, p, g, d);
21232
+ const g = this.getConfig(n.rotateHelper), p = new Hb(e, R({ container: r }, g)), A = new fn(this.five, t1, e, p, g, d);
21228
21233
  o.addControllers({ rotateController: A.helperController }), s.push(() => A.dispose());
21229
21234
  }
21230
21235
  if (h) {
21231
- const g = new Y1(e), p = new fn(this.five, ob, e, g, void 0, d);
21236
+ const g = new Yb(e), p = new fn(this.five, o1, e, g, void 0, d);
21232
21237
  o.addControllers({ boundingBoxController: p.helperController });
21233
21238
  }
21234
21239
  if (u)
21235
21240
  if (e.isCSS3DObjectPlus && r) {
21236
- const g = new X1(e, r, a, this.five.scene), p = new fn(this.five, ib, e, g, void 0, d);
21241
+ const g = new Xb(e, r, a, this.five.scene), p = new fn(this.five, i1, e, g, void 0, d);
21237
21242
  o.addControllers({ scaleController: p.helperController }), s.push(() => p.dispose()), ja(this.five).then(() => {
21238
21243
  var A, v;
21239
21244
  if (e.isCSS3DObjectPlus) {
@@ -21245,7 +21250,7 @@ class cb extends jn {
21245
21250
  }
21246
21251
  });
21247
21252
  } else {
21248
- const g = new sb(e), p = new fn(this.five, L1, e, g, void 0, d);
21253
+ const g = new s1(e), p = new fn(this.five, Lb, e, g, void 0, d);
21249
21254
  o.addControllers({ scaleController: p.helperController }), s.push(() => p.dispose());
21250
21255
  }
21251
21256
  return this.objectHelperMap.set(e, { helper: o, disposers: s }), o.controllers;
@@ -21281,21 +21286,21 @@ class cb extends jn {
21281
21286
  actionIfStateIsEnabled(e, n) {
21282
21287
  if (this.state.enabled)
21283
21288
  return e();
21284
- n != null && n.warnLog && ab();
21289
+ n != null && n.warnLog && a1();
21285
21290
  }
21286
21291
  getConfig(e) {
21287
21292
  if (!!e && typeof e != "boolean" && e.enable)
21288
21293
  return e;
21289
21294
  }
21290
21295
  }
21291
- const ay = (i) => new cb(i), ub = `
21296
+ const ay = (i) => new c1(i), u1 = `
21292
21297
  varying vec2 vUv;
21293
21298
  void main() {
21294
21299
  vUv = uv;
21295
21300
  vec4 mvPosition = modelViewMatrix * vec4(position, 1);
21296
21301
  gl_Position = projectionMatrix * mvPosition;
21297
21302
  }
21298
- `, db = `
21303
+ `, d1 = `
21299
21304
  uniform sampler2D map;
21300
21305
  uniform vec4 size;
21301
21306
  varying vec2 vUv;
@@ -21309,7 +21314,7 @@ void main() {
21309
21314
  gl_FragColor = vec4(texture2D(map, uv).xyz, match);
21310
21315
  }
21311
21316
  `;
21312
- function hb(i) {
21317
+ function h1(i) {
21313
21318
  const t = Math.PI * 2;
21314
21319
  let e = -Math.atan2(i.x, -i.z);
21315
21320
  e = (e % t + t) % t;
@@ -21421,8 +21426,8 @@ class ka {
21421
21426
  const o = new Bc(this.video);
21422
21427
  o.minFilter = eo, o.magFilter = eo;
21423
21428
  const s = new Da({
21424
- vertexShader: ub,
21425
- fragmentShader: db,
21429
+ vertexShader: u1,
21430
+ fragmentShader: d1,
21426
21431
  uniforms: {
21427
21432
  map: { value: o },
21428
21433
  size: {
@@ -21463,7 +21468,7 @@ class ka {
21463
21468
  const e = this.uv2Position(t[0], t[1]);
21464
21469
  if (!e)
21465
21470
  return;
21466
- const n = new q().subVectors(e, this.observer.position).normalize(), { longitude: o, latitude: s } = hb(n);
21471
+ const n = new q().subVectors(e, this.observer.position).normalize(), { longitude: o, latitude: s } = h1(n);
21467
21472
  this.five.setState({ panoIndex: this.panoIndex, longitude: o, latitude: s }), this.onFiveWantsMoveToPano(this.panoIndex);
21468
21473
  }
21469
21474
  getUVCenter() {
@@ -21511,7 +21516,7 @@ class ka {
21511
21516
  return n >= s && n <= u && o >= c && o <= h;
21512
21517
  }
21513
21518
  }
21514
- class fb extends jn {
21519
+ class f1 extends jn {
21515
21520
  constructor(e) {
21516
21521
  super(e);
21517
21522
  f(this, "enabled", !0);
@@ -21614,14 +21619,14 @@ class fb extends jn {
21614
21619
  }
21615
21620
  const ly = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21616
21621
  __proto__: null
21617
- }, Symbol.toStringTag, { value: "Module" })), cy = (i) => new fb(i);
21622
+ }, Symbol.toStringTag, { value: "Module" })), cy = (i) => new f1(i);
21618
21623
  Wc();
21619
21624
  Gc();
21620
21625
  export {
21621
21626
  Dn as CSS3DRender,
21622
21627
  Bn as CSS3DRenderPlugin,
21623
21628
  vf as CameraMovementEffect,
21624
- _b as CameraMovementPlugin,
21629
+ _1 as CameraMovementPlugin,
21625
21630
  Yp as ContentType,
21626
21631
  iy as CruisePlugin,
21627
21632
  Ql as CruisePluginController,
@@ -21629,47 +21634,47 @@ export {
21629
21634
  Ft as DISPLAY_STRATEGY_TYPE,
21630
21635
  eg as DimensionType,
21631
21636
  Dt as FLOOR_PLAN_ATTACHED_TO,
21632
- Fb as FLOOR_TYPE_MAP,
21637
+ F1 as FLOOR_TYPE_MAP,
21633
21638
  Op as GuideLinePlugin,
21634
21639
  Ht as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
21635
21640
  ey as ItemLabelPlugin,
21636
21641
  Of as Magnifier,
21637
- Vb as MapviewFloorplanPlugin,
21638
- Gb as ModelChassisCompassPlugin,
21639
- Wb as ModelEntryDoorGuidePlugin,
21640
- jb as ModelFloorplanPlugin,
21641
- Jb as ModelItemLabelPlugin,
21642
- zb as ModelRoomLabelPlugin,
21643
- Kb as ModelTVVideoPlugin,
21644
- Sb as ModelViewPlugin,
21645
- cb as Object3DHelperController,
21642
+ V1 as MapviewFloorplanPlugin,
21643
+ G1 as ModelChassisCompassPlugin,
21644
+ W1 as ModelEntryDoorGuidePlugin,
21645
+ j1 as ModelFloorplanPlugin,
21646
+ J1 as ModelItemLabelPlugin,
21647
+ z1 as ModelRoomLabelPlugin,
21648
+ K1 as ModelTVVideoPlugin,
21649
+ S1 as ModelViewPlugin,
21650
+ c1 as Object3DHelperController,
21646
21651
  ay as Object3DHelperPlugin,
21647
21652
  Ho as PLUGIN,
21648
- Mb as PaintBrush,
21653
+ M1 as PaintBrush,
21649
21654
  mt as PaintBrushTypeEnum,
21650
- Yb as PanoCompassPlugin,
21651
- Tb as PanoCursorRaycasterPlugin,
21655
+ Y1 as PanoCompassPlugin,
21656
+ T1 as PanoCursorRaycasterPlugin,
21652
21657
  ny as PanoDoorLabelPlugin,
21653
- Rb as PanoFloorplanRadarPlugin,
21654
- Ub as PanoMeasurePlugin,
21658
+ R1 as PanoFloorplanRadarPlugin,
21659
+ U1 as PanoMeasurePlugin,
21655
21660
  ln as PanoMeasurePluginLine,
21656
21661
  zo as PanoMeasurePluginModel,
21657
- ot as PanoMeasurePluginPoint,
21662
+ st as PanoMeasurePluginPoint,
21658
21663
  To as PanoMeasurePluginPolyline,
21659
- Nb as PanoRulerPlugin,
21660
- Xb as PanoRulerProPlugin,
21661
- qb as PanoSpatialTagPlugin,
21664
+ N1 as PanoRulerPlugin,
21665
+ X1 as PanoRulerProPlugin,
21666
+ q1 as PanoSpatialTagPlugin,
21662
21667
  ry as PanoTagPlugin,
21663
- D1 as PanoTagPluginController,
21668
+ Db as PanoTagPluginController,
21664
21669
  cy as PanoVideoPlugin,
21665
21670
  ly as PanoVideoPluginType,
21666
- Qb as ROOM_FETILE_TYPE_MAP,
21667
- Hb as ROOM_TYPE_MAP,
21671
+ Q1 as ROOM_FETILE_TYPE_MAP,
21672
+ H1 as ROOM_TYPE_MAP,
21668
21673
  lt as Rotation,
21669
- Ob as TopviewFloorplanPlugin,
21674
+ O1 as TopviewFloorplanPlugin,
21670
21675
  oy as Util,
21671
21676
  ty as itemLabelPluginServerParams,
21672
- Zb as modelItemLabelPluginServerParams,
21673
- Bb as modelRoomLabelPluginServerParams,
21677
+ Z1 as modelItemLabelPluginServerParams,
21678
+ B1 as modelRoomLabelPluginServerParams,
21674
21679
  sy as pluginFlag
21675
21680
  };