@realsee/dnalogel 2.23.1-dev.0 → 2.24.0-dev.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 (317) hide show
  1. package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +5 -1
  3. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +3 -6
  4. package/dist/index.cjs.js +22 -22
  5. package/dist/index.js +935 -925
  6. package/dist/index.umd.js +29 -29
  7. package/dist/shared-utils/five/FiveDomEvents.d.ts +2 -2
  8. package/docs/classes/CSS3DRender.html +30 -30
  9. package/docs/classes/CruisePluginController.html +25 -25
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  12. package/docs/classes/Magnifier.html +19 -19
  13. package/docs/classes/ModelRoomLabelController.html +10 -10
  14. package/docs/classes/Object3DHelperController.html +24 -24
  15. package/docs/classes/PaintBrush.html +14 -14
  16. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  17. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  18. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  19. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  20. package/docs/classes/PanoTagPluginController.html +46 -46
  21. package/docs/classes/Util.BetterTween.html +8 -8
  22. package/docs/classes/Util.Interval.html +11 -11
  23. package/docs/classes/Util.Magnifier.html +19 -19
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  27. package/docs/classes/Util.Rectangle.html +12 -12
  28. package/docs/enums/CameraMovementEffect.html +6 -6
  29. package/docs/enums/ContentType.html +19 -19
  30. package/docs/enums/DIRECTION.html +8 -8
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  32. package/docs/enums/DimensionType.html +6 -6
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  36. package/docs/enums/PointType.html +6 -6
  37. package/docs/enums/Rotation.html +7 -7
  38. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  39. package/docs/functions/CameraMovementPlugin.html +3 -3
  40. package/docs/functions/CruisePlugin.html +3 -3
  41. package/docs/functions/GuideLinePlugin.html +4 -4
  42. package/docs/functions/ItemLabelPlugin.html +3 -3
  43. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  44. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  46. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  47. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  48. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  49. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  50. package/docs/functions/ModelViewPlugin.html +3 -3
  51. package/docs/functions/Object3DHelperPlugin.html +3 -3
  52. package/docs/functions/PanoCompassPlugin.html +3 -3
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  54. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  56. package/docs/functions/PanoMeasurePlugin.html +3 -3
  57. package/docs/functions/PanoRulerPlugin.html +3 -3
  58. package/docs/functions/PanoRulerProPlugin.html +3 -3
  59. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  60. package/docs/functions/PanoTagPlugin.html +3 -3
  61. package/docs/functions/PanoVideoPlugin.html +3 -3
  62. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  63. package/docs/functions/Util.absoluteUrl.html +4 -4
  64. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  65. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  66. package/docs/functions/Util.getFrameTime.html +4 -4
  67. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  68. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  69. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  70. package/docs/functions/Util.isModelLike.html +4 -4
  71. package/docs/functions/Util.isNil.html +4 -4
  72. package/docs/functions/Util.isPanoramaLike.html +4 -4
  73. package/docs/functions/Util.nextFrame.html +4 -4
  74. package/docs/functions/Util.notNil.html +4 -4
  75. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  76. package/docs/functions/Util.tweenProgress.html +4 -4
  77. package/docs/functions/Util.uuid.html +4 -4
  78. package/docs/functions/pluginFlag.html +4 -4
  79. package/docs/index.html +4 -4
  80. package/docs/interfaces/AddTagConfig.html +5 -5
  81. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  82. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  83. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  84. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  85. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  86. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  87. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  88. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  91. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  92. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  93. package/docs/interfaces/EventMap.html +14 -14
  94. package/docs/interfaces/FloorplanBounding.html +7 -7
  95. package/docs/interfaces/FloorplanData.html +9 -9
  96. package/docs/interfaces/FloorplanEntrance.html +10 -10
  97. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  98. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  99. package/docs/interfaces/FloorplanFloorData.html +8 -8
  100. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  101. package/docs/interfaces/FloorplanObserver.html +8 -8
  102. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  103. package/docs/interfaces/FloorplanPosition.html +6 -6
  104. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  105. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  106. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  107. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  108. package/docs/interfaces/FloorplanServerData.html +6 -6
  109. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  110. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  111. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  112. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  113. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  114. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  115. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  116. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  117. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  118. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  119. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  120. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  121. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  122. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  124. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  125. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  128. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  129. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  130. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  131. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  132. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  133. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  134. package/docs/interfaces/HelperOffset.html +7 -7
  135. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  138. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  139. package/docs/interfaces/MinMax.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  142. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  143. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  144. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  145. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  146. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  147. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  148. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  149. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  150. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  151. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  152. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  153. package/docs/interfaces/Object3DHelperState.html +7 -7
  154. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  155. package/docs/interfaces/PaintBrushAction.html +11 -11
  156. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  157. package/docs/interfaces/PaintBrushState.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  160. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  161. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  162. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  165. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  166. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  167. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  168. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  169. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  172. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  175. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  176. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  177. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  178. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  179. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  180. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  181. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  183. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  184. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  185. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  186. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  187. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  188. package/docs/interfaces/Point.html +7 -7
  189. package/docs/interfaces/Room.html +8 -8
  190. package/docs/interfaces/RoomInfo.html +6 -6
  191. package/docs/interfaces/RoomLabel.html +13 -13
  192. package/docs/interfaces/RoomRules.html +4 -4
  193. package/docs/interfaces/Rooms.html +4 -4
  194. package/docs/interfaces/Scissor.html +8 -8
  195. package/docs/interfaces/State.html +7 -7
  196. package/docs/interfaces/TagCacheInterface.html +11 -11
  197. package/docs/interfaces/TagConfig.html +18 -13
  198. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  199. package/docs/interfaces/TagIconUrl.html +11 -11
  200. package/docs/interfaces/TagObjectGroup.html +5 -5
  201. package/docs/interfaces/TagStyle.html +5 -5
  202. package/docs/interfaces/Tags.html +8 -8
  203. package/docs/interfaces/TemporaryState.html +5 -5
  204. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  205. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  206. package/docs/interfaces/Util.PointIntersection.html +7 -7
  207. package/docs/modules/CruisePluginTypes.html +4 -4
  208. package/docs/modules/GuideLineItem.html +4 -4
  209. package/docs/modules/GuideLineModeItem.html +4 -4
  210. package/docs/modules/GuideLinePluginType.html +4 -4
  211. package/docs/modules/PanoVideoPluginType.html +4 -4
  212. package/docs/modules/Util.html +4 -4
  213. package/docs/modules.html +4 -4
  214. package/docs/types/ArrayPosition.html +4 -4
  215. package/docs/types/AudioAppearance.html +4 -4
  216. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  217. package/docs/types/CSS3DRenderExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  220. package/docs/types/ClassFunctionParameters.html +4 -4
  221. package/docs/types/Color.html +4 -4
  222. package/docs/types/ContentTypeConfigKey.html +4 -4
  223. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  224. package/docs/types/ContentTypeMap.html +4 -4
  225. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  226. package/docs/types/Create3DElementReturnType.html +4 -4
  227. package/docs/types/CruisePluginExportType.html +4 -4
  228. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  229. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  230. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  231. package/docs/types/DeprecatedTagProperty.html +4 -4
  232. package/docs/types/Direction-1.html +4 -4
  233. package/docs/types/Direction4.html +4 -4
  234. package/docs/types/ElementRenderer.html +4 -4
  235. package/docs/types/FloorplanRuleLabels.html +4 -4
  236. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  237. package/docs/types/GuideLinePluginExportType.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  242. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  243. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  244. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  245. package/docs/types/HelperEventMap.html +4 -4
  246. package/docs/types/LoadTagConfig.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  249. package/docs/types/MediaData.html +4 -4
  250. package/docs/types/MediaStore.html +4 -4
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  256. package/docs/types/MoveArgs.html +4 -4
  257. package/docs/types/MoveOpts.html +4 -4
  258. package/docs/types/Object3DHelperEventMap.html +4 -4
  259. package/docs/types/ObjectFit.html +4 -4
  260. package/docs/types/PaintBrushEventMap.html +4 -4
  261. package/docs/types/PanoCompassPluginData.html +4 -4
  262. package/docs/types/PanoCompassPluginExportType.html +4 -4
  263. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  266. package/docs/types/PanoIndex.html +4 -4
  267. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  268. package/docs/types/PanoMeasureReturnType.html +4 -4
  269. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  270. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  271. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  272. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  273. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  274. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  275. package/docs/types/PlaneTag.html +4 -4
  276. package/docs/types/Point2DTag.html +4 -4
  277. package/docs/types/Point3DTag.html +4 -4
  278. package/docs/types/PointTag.html +4 -4
  279. package/docs/types/PointTagInstance.html +4 -4
  280. package/docs/types/Position.html +4 -4
  281. package/docs/types/RotateArgs.html +4 -4
  282. package/docs/types/RotateOpts.html +4 -4
  283. package/docs/types/RuleLabelsKey.html +4 -4
  284. package/docs/types/RuleLabelsValue.html +4 -4
  285. package/docs/types/StickType.html +4 -4
  286. package/docs/types/Tag.html +4 -4
  287. package/docs/types/Tag2D.html +4 -4
  288. package/docs/types/Tag3D.html +4 -4
  289. package/docs/types/TagContentType.html +4 -4
  290. package/docs/types/TagDimensionType.html +4 -4
  291. package/docs/types/TagElement.html +4 -4
  292. package/docs/types/TagEvents.html +4 -4
  293. package/docs/types/TagGLTFObject.html +4 -4
  294. package/docs/types/TagHooks.html +4 -4
  295. package/docs/types/TagId.html +4 -4
  296. package/docs/types/TagInstance.html +4 -4
  297. package/docs/types/TagPointType.html +4 -4
  298. package/docs/types/TagRendererMap.html +4 -4
  299. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  300. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  301. package/docs/types/WorkCode.html +4 -4
  302. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  303. package/docs/variables/PLUGIN.html +4 -4
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  305. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  306. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  307. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  308. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  309. package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -0
  310. package/libs/PanoTagPlugin/controller/TagRender.js +120 -105
  311. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +5 -1
  312. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +3 -6
  313. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +85 -90
  314. package/libs/base/BasePlugin.js +1 -1
  315. package/libs/shared-utils/five/FiveDomEvents.d.ts +2 -2
  316. package/libs/shared-utils/logger.js +1 -1
  317. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import ol from "animejs";
39
39
  import { GLTFLoader as jf } from "@realsee/five/gltf-loader";
40
40
  function zf() {
41
41
  console.debug(
42
- "%c %c@realsee/dnalogel %cv2.23.1-dev.0",
42
+ "%c %c@realsee/dnalogel %cv2.24.0-dev.0",
43
43
  [
44
44
  "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=')",
45
45
  "background-repeat: no-repeat",
@@ -95,7 +95,7 @@ const Vf = window, ll = window.requestAnimationFrame || Vf.webkitRequestAnimatio
95
95
  function Js(i, t = 0) {
96
96
  t <= 0 ? ll(i) : ll(() => Js(i, t - 1));
97
97
  }
98
- var Lt = Object.freeze({
98
+ var jt = Object.freeze({
99
99
  Linear: Object.freeze({
100
100
  None: function(i) {
101
101
  return i;
@@ -214,13 +214,13 @@ var Lt = Object.freeze({
214
214
  }),
215
215
  Bounce: Object.freeze({
216
216
  In: function(i) {
217
- return 1 - Lt.Bounce.Out(1 - i);
217
+ return 1 - jt.Bounce.Out(1 - i);
218
218
  },
219
219
  Out: function(i) {
220
220
  return i < 1 / 2.75 ? 7.5625 * i * i : i < 2 / 2.75 ? 7.5625 * (i -= 1.5 / 2.75) * i + 0.75 : i < 2.5 / 2.75 ? 7.5625 * (i -= 2.25 / 2.75) * i + 0.9375 : 7.5625 * (i -= 2.625 / 2.75) * i + 0.984375;
221
221
  },
222
222
  InOut: function(i) {
223
- return i < 0.5 ? Lt.Bounce.In(i * 2) * 0.5 : Lt.Bounce.Out(i * 2 - 1) * 0.5 + 0.5;
223
+ return i < 0.5 ? jt.Bounce.In(i * 2) * 0.5 : jt.Bounce.Out(i * 2 - 1) * 0.5 + 0.5;
224
224
  }
225
225
  }),
226
226
  generatePow: function(i) {
@@ -322,7 +322,7 @@ var Lt = Object.freeze({
322
322
  /** @class */
323
323
  function() {
324
324
  function i(t, e) {
325
- e === void 0 && (e = Zr), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Lt.Linear.None, this._interpolationFunction = Sn.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = va.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
325
+ e === void 0 && (e = Zr), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = jt.Linear.None, this._interpolationFunction = Sn.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = va.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
326
326
  }
327
327
  return i.prototype.getId = function() {
328
328
  return this._id;
@@ -379,14 +379,14 @@ var Lt = Object.freeze({
379
379
  if ((c === "object" || l) && a && !d) {
380
380
  e[r] = l ? [] : {};
381
381
  var g = a;
382
- for (var b in g)
383
- e[r][b] = g[b];
382
+ for (var v in g)
383
+ e[r][v] = g[v];
384
384
  s[r] = l ? [] : {};
385
385
  var h = n[r];
386
386
  if (!this._isDynamic) {
387
387
  var y = {};
388
- for (var b in h)
389
- y[b] = h[b];
388
+ for (var v in h)
389
+ y[v] = h[v];
390
390
  n[r] = h = y;
391
391
  }
392
392
  this._setupProperties(g, e[r], h, s[r], o);
@@ -417,7 +417,7 @@ var Lt = Object.freeze({
417
417
  }, i.prototype.yoyo = function(t) {
418
418
  return t === void 0 && (t = !1), this._yoyo = t, this;
419
419
  }, i.prototype.easing = function(t) {
420
- return t === void 0 && (t = Lt.Linear.None), this._easingFunction = t, this;
420
+ return t === void 0 && (t = jt.Linear.None), this._easingFunction = t, this;
421
421
  }, i.prototype.interpolation = function(t) {
422
422
  return t === void 0 && (t = Sn.Linear), this._interpolationFunction = t, this;
423
423
  }, i.prototype.chain = function() {
@@ -478,7 +478,7 @@ var Lt = Object.freeze({
478
478
  }, i;
479
479
  }()
480
480
  ), Qf = "20.0.3", Gf = va.nextId, Wt = Zr, Nf = Wt.getAll.bind(Wt), Hf = Wt.removeAll.bind(Wt), _f = Wt.add.bind(Wt), Ph = Wt.remove.bind(Wt), Wf = Wt.update.bind(Wt), cl = {
481
- Easing: Lt,
481
+ Easing: jt,
482
482
  Group: Ih,
483
483
  Interpolation: Sn,
484
484
  now: ni,
@@ -492,7 +492,7 @@ var Lt = Object.freeze({
492
492
  remove: Ph,
493
493
  update: Wf
494
494
  };
495
- function Ff(i, t, e, n = Lt.Linear.None) {
495
+ function Ff(i, t, e, n = jt.Linear.None) {
496
496
  const s = new yo(i).to(t, e).easing(n).start();
497
497
  function o(r) {
498
498
  s.update(r) && requestAnimationFrame(o);
@@ -953,9 +953,9 @@ let Zf = class extends Uf {
953
953
  var y;
954
954
  if (p.tweening = !0, !p.ready)
955
955
  return a.clearRect(0, 0, p.canvas[h].width, p.canvas[h].height), (y = p.tween) == null ? void 0 : y.stop();
956
- const b = Math.floor(g);
957
- if (!A.find((I) => I === b)) {
958
- if (A.push(b), m.push(Pr(l[b], p.clientWidth, p.clientHeight)), m.length < 3)
956
+ const v = Math.floor(g);
957
+ if (!A.find((I) => I === v)) {
958
+ if (A.push(v), m.push(Pr(l[v], p.clientWidth, p.clientHeight)), m.length < 3)
959
959
  return;
960
960
  const { control: I, end: k } = Ls(m);
961
961
  if (!I || !k)
@@ -1098,7 +1098,7 @@ const V2 = (i, t) => {
1098
1098
  }), l.remove(d), d = new E.Object3D(), l.add(d), n = !1, R();
1099
1099
  }, g = () => {
1100
1100
  e && (n || m());
1101
- }, b = () => {
1101
+ }, v = () => {
1102
1102
  e || (e = !0, l.add(d), !n && i.model.loaded && m(), R());
1103
1103
  }, y = () => {
1104
1104
  e && (l.remove(d), s = !0, L(), e = !1);
@@ -1144,7 +1144,7 @@ const V2 = (i, t) => {
1144
1144
  }, G = () => ({
1145
1145
  enabled: e
1146
1146
  });
1147
- return Object.assign(window, { camera: c }), i.on("modelLoaded", g), i.on("modelWillLoad", p), i.on("cameraDirectionUpdate", R), i.on("dispose", Y), i.on("renderFrame", L), i.on("cameraPositionUpdate", R), { appendTo: I, refresh: k, changeConfigs: F, enable: b, disable: y, getCurrentState: G };
1147
+ return Object.assign(window, { camera: c }), i.on("modelLoaded", g), i.on("modelWillLoad", p), i.on("cameraDirectionUpdate", R), i.on("dispose", Y), i.on("renderFrame", L), i.on("cameraPositionUpdate", R), { appendTo: I, refresh: k, changeConfigs: F, enable: v, disable: y, getCurrentState: G };
1148
1148
  };
1149
1149
  function fn(...i) {
1150
1150
  const t = [];
@@ -1295,7 +1295,7 @@ class yi {
1295
1295
  return n;
1296
1296
  }
1297
1297
  }
1298
- const $f = ({ x: i, y: t, z: e }) => new ie(i, t, e), jt = (i) => new ie().fromArray(i), as = (i) => i instanceof ie ? i : Array.isArray(i) ? jt(i) : $f(i);
1298
+ const $f = ({ x: i, y: t, z: e }) => new ie(i, t, e), kt = (i) => new ie().fromArray(i), as = (i) => i instanceof ie ? i : Array.isArray(i) ? kt(i) : $f(i);
1299
1299
  class em extends E.Mesh {
1300
1300
  constructor(e, n) {
1301
1301
  const s = new E.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: E.DoubleSide }), o = new E.PlaneGeometry(e, n);
@@ -1368,8 +1368,8 @@ class sm extends Xr {
1368
1368
  this.width = L * c, this.height = L * d, this.domWidthPx = L * h, this.domHeightPx = L * u, this.centerPosition = new ie().subVectors(m, s[0]).multiplyScalar(L).add(s[0]);
1369
1369
  }
1370
1370
  n.classList.add(`${tm}__container`);
1371
- const p = new ie().subVectors(s[1], s[0]), g = new ie().subVectors(s[3], s[0]), b = new ie().crossVectors(p, g).normalize();
1372
- this.lookAt(b);
1371
+ const p = new ie().subVectors(s[1], s[0]), g = new ie().subVectors(s[3], s[0]), v = new ie().crossVectors(p, g).normalize();
1372
+ this.lookAt(v);
1373
1373
  const y = this.up.clone().applyQuaternion(this.quaternion), I = g.clone(), k = new ie().crossVectors(y, I).normalize();
1374
1374
  this.rotateOnWorldAxis(k, y.angleTo(I)), this.position.copy(m), this.addEventListener("added", () => {
1375
1375
  var L;
@@ -1583,7 +1583,7 @@ class ls {
1583
1583
  k && k.add(m);
1584
1584
  }, p = () => {
1585
1585
  u || (A(), this.render(t), this.hooks.emit("render"));
1586
- }, g = (k) => this.setVisibleById(m.id, k), b = (k) => this.setEnabledById(m.id, k), y = () => (u = !0, m.removeFromParent(), !0), I = l === "front" ? Ye.frontModeStore.css3DRenderer : Ye.behindModeStore.css3DRenderer;
1586
+ }, g = (k) => this.setVisibleById(m.id, k), v = (k) => this.setEnabledById(m.id, k), y = () => (u = !0, m.removeFromParent(), !0), I = l === "front" ? Ye.frontModeStore.css3DRenderer : Ye.behindModeStore.css3DRenderer;
1587
1587
  return c && p(), {
1588
1588
  id: m.uuid,
1589
1589
  container: d,
@@ -1592,9 +1592,9 @@ class ls {
1592
1592
  show: () => g(!0),
1593
1593
  hide: () => g(!1),
1594
1594
  setVisible: g,
1595
- enable: () => b(!0),
1596
- disable: () => b(!1),
1597
- setEnabled: b,
1595
+ enable: () => v(!0),
1596
+ disable: () => v(!1),
1597
+ setEnabled: v,
1598
1598
  dispose: y,
1599
1599
  appendToElement: (k) => I.setWrapper(k)
1600
1600
  };
@@ -1766,19 +1766,19 @@ function Mh(i) {
1766
1766
  });
1767
1767
  });
1768
1768
  }
1769
- const Tt = document.createElement("div");
1770
- Tt.classList.add("behindFiveElement");
1771
- Tt.style.position = "absolute";
1772
- Tt.style.top = "0";
1773
- Tt.style.left = "0";
1774
- Tt.style.width = "100%";
1775
- Tt.style.height = "100%";
1776
- Tt.style.pointerEvents = "none";
1769
+ const Lt = document.createElement("div");
1770
+ Lt.classList.add("behindFiveElement");
1771
+ Lt.style.position = "absolute";
1772
+ Lt.style.top = "0";
1773
+ Lt.style.left = "0";
1774
+ Lt.style.width = "100%";
1775
+ Lt.style.height = "100%";
1776
+ Lt.style.pointerEvents = "none";
1777
1777
  function xh(i) {
1778
1778
  var n, s, o, r, a;
1779
1779
  const t = (a = (s = Er(i.getElement())) != null ? s : Er((n = i.getElement()) == null ? void 0 : n.parentElement)) != null ? a : Er((r = (o = i.getElement()) == null ? void 0 : o.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
1780
1780
  if (e)
1781
- return e.contains(Tt) || t.parentElement.insertBefore(Tt, t), Tt;
1781
+ return e.contains(Lt) || t.parentElement.insertBefore(Lt, t), Lt;
1782
1782
  console.error(
1783
1783
  "Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
1784
1784
  );
@@ -2129,7 +2129,7 @@ class zh {
2129
2129
  /** 缩放动画 */
2130
2130
  doAnimation() {
2131
2131
  var t;
2132
- (t = this.animeIns) == null || t.dispose(), new wo({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(Lt.Quadratic.InOut).onUpdate(({ progress: e }) => {
2132
+ (t = this.animeIns) == null || t.dispose(), new wo({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(jt.Quadratic.InOut).onUpdate(({ progress: e }) => {
2133
2133
  }).play();
2134
2134
  }
2135
2135
  dispose() {
@@ -2208,7 +2208,7 @@ class wo extends yo {
2208
2208
  });
2209
2209
  }
2210
2210
  }
2211
- function Co(i, t = Lt.Linear.None) {
2211
+ function Co(i, t = jt.Linear.None) {
2212
2212
  const e = new wo({ progress: 0 }).to({ progress: 1 });
2213
2213
  return i !== void 0 && e.duration(i), t !== void 0 && e.easing(t), e;
2214
2214
  }
@@ -2392,13 +2392,13 @@ const H2 = (i) => {
2392
2392
  new ie(0, 0, 1)
2393
2393
  )
2394
2394
  ), i.scene.add(g), i.needsRender = !0;
2395
- const b = () => {
2395
+ const v = () => {
2396
2396
  i.scene.remove(g);
2397
2397
  };
2398
- return t.disposers.push(b), { clear: b, pointAxesHelperMesh: g };
2398
+ return t.disposers.push(v), { clear: v, pointAxesHelperMesh: g };
2399
2399
  }, o = (d, h = 0) => {
2400
- var b, y;
2401
- const u = (b = i == null ? void 0 : i.camera) == null ? void 0 : b.position;
2400
+ var v, y;
2401
+ const u = (v = i == null ? void 0 : i.camera) == null ? void 0 : v.position;
2402
2402
  if (!u)
2403
2403
  return !1;
2404
2404
  const m = d.distanceTo(u), A = d.sub(u).normalize(), p = new bn(u, A), g = (y = i.model.intersectRaycaster(p)) == null ? void 0 : y[0];
@@ -2443,7 +2443,7 @@ function oe(i, t) {
2443
2443
  return i != i ? t == t : i !== t || i && typeof i == "object" || typeof i == "function";
2444
2444
  }
2445
2445
  let Bs;
2446
- function Mt(i, t) {
2446
+ function xt(i, t) {
2447
2447
  return i === t ? !0 : (Bs || (Bs = document.createElement("a")), Bs.href = t, i === Bs.href);
2448
2448
  }
2449
2449
  function Dm(i) {
@@ -2729,8 +2729,8 @@ function oo(i, t, e, n, s, o, r, a = 0) {
2729
2729
  let c = `{
2730
2730
  `;
2731
2731
  for (let g = 0; g <= 1; g += l) {
2732
- const b = t + (e - t) * o(g);
2733
- c += g * 100 + `%{${r(b, 1 - b)}}
2732
+ const v = t + (e - t) * o(g);
2733
+ c += g * 100 + `%{${r(v, 1 - v)}}
2734
2734
  `;
2735
2735
  }
2736
2736
  const d = c + `100% {${r(e, 1 - e)}}
@@ -2908,13 +2908,13 @@ function Bn(i, t, e) {
2908
2908
  css: g
2909
2909
  } = s || Da;
2910
2910
  g && (r = oo(i, 0, 1, m, u, A, g, l++)), p(0, 1);
2911
- const b = Ca() + u, y = b + m;
2911
+ const v = Ca() + u, y = v + m;
2912
2912
  a && a.abort(), o = !0, Ne(() => Tn(i, !0, "start")), a = Pa((I) => {
2913
2913
  if (o) {
2914
2914
  if (I >= y)
2915
2915
  return p(1, 0), Tn(i, !0, "end"), c(), o = !1;
2916
- if (I >= b) {
2917
- const k = A((I - b) / m);
2916
+ if (I >= v) {
2917
+ const k = A((I - v) / m);
2918
2918
  p(k, 1 - k);
2919
2919
  }
2920
2920
  }
@@ -2951,12 +2951,12 @@ function Mi(i, t, e) {
2951
2951
  A && (r = oo(i, 1, 0, h, d, u, A));
2952
2952
  const p = Ca() + d, g = p + h;
2953
2953
  Ne(() => Tn(i, !1, "start")), "inert" in i && (l = /** @type {HTMLElement} */
2954
- i.inert, i.inert = !0), Pa((b) => {
2954
+ i.inert, i.inert = !0), Pa((v) => {
2955
2955
  if (o) {
2956
- if (b >= g)
2956
+ if (v >= g)
2957
2957
  return m(0, 1), Tn(i, !1, "end"), --a.r || Je(a.c), !1;
2958
- if (b >= p) {
2959
- const y = u((b - p) / h);
2958
+ if (v >= p) {
2959
+ const y = u((v - p) / h);
2960
2960
  m(1 - y, y);
2961
2961
  }
2962
2962
  }
@@ -2995,7 +2995,7 @@ function Ft(i, t, e, n) {
2995
2995
  const {
2996
2996
  delay: p = 0,
2997
2997
  duration: g = 300,
2998
- easing: b = nn,
2998
+ easing: v = nn,
2999
2999
  tick: y = J,
3000
3000
  css: I
3001
3001
  } = o || Da, k = {
@@ -3003,21 +3003,21 @@ function Ft(i, t, e, n) {
3003
3003
  b: A
3004
3004
  };
3005
3005
  A || (k.group = Nt, Nt.r += 1), "inert" in i && (A ? d !== void 0 && (i.inert = d) : (d = /** @type {HTMLElement} */
3006
- i.inert, i.inert = !0)), a || l ? l = k : (I && (h(), c = oo(i, r, A, g, p, b, I)), A && y(0, 1), a = u(k, g), Ne(() => Tn(i, A, "start")), Pa((S) => {
3006
+ i.inert, i.inert = !0)), a || l ? l = k : (I && (h(), c = oo(i, r, A, g, p, v, I)), A && y(0, 1), a = u(k, g), Ne(() => Tn(i, A, "start")), Pa((S) => {
3007
3007
  if (l && S > l.start && (a = u(l, g), l = null, Tn(i, a.b, "start"), I && (h(), c = oo(
3008
3008
  i,
3009
3009
  r,
3010
3010
  a.b,
3011
3011
  a.duration,
3012
3012
  0,
3013
- b,
3013
+ v,
3014
3014
  o.css
3015
3015
  ))), a) {
3016
3016
  if (S >= a.end)
3017
3017
  y(r = a.b, 1 - r), Tn(i, a.b, "end"), l || (a.b ? h() : --a.group.r || Je(a.group.c)), a = null;
3018
3018
  else if (S >= a.start) {
3019
3019
  const P = S - a.start;
3020
- r = a.a + a.d * b(P / a.duration), y(r, 1 - r);
3020
+ r = a.a + a.d * v(P / a.duration), y(r, 1 - r);
3021
3021
  }
3022
3022
  }
3023
3023
  return !!(a || l);
@@ -3089,11 +3089,11 @@ function Bt(i, t, e, n, s, o, r, a, l, c, d, h) {
3089
3089
  const p = {};
3090
3090
  for (; A--; )
3091
3091
  p[i[A].key] = A;
3092
- const g = [], b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), I = [];
3092
+ const g = [], v = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), I = [];
3093
3093
  for (A = m; A--; ) {
3094
3094
  const R = h(s, o, A), L = e(R);
3095
3095
  let Y = r.get(L);
3096
- Y ? n && I.push(() => Y.p(R, t)) : (Y = c(L, R), Y.c()), b.set(L, g[A] = Y), L in p && y.set(L, Math.abs(A - p[L]));
3096
+ Y ? n && I.push(() => Y.p(R, t)) : (Y = c(L, R), Y.c()), v.set(L, g[A] = Y), L in p && y.set(L, Math.abs(A - p[L]));
3097
3097
  }
3098
3098
  const k = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
3099
3099
  function P(R) {
@@ -3101,11 +3101,11 @@ function Bt(i, t, e, n, s, o, r, a, l, c, d, h) {
3101
3101
  }
3102
3102
  for (; u && m; ) {
3103
3103
  const R = g[m - 1], L = i[u - 1], Y = R.key, F = L.key;
3104
- R === L ? (d = R.first, u--, m--) : b.has(F) ? !r.has(Y) || k.has(Y) ? P(R) : S.has(F) ? u-- : y.get(Y) > y.get(F) ? (S.add(Y), P(R)) : (k.add(F), u--) : (l(L, r), u--);
3104
+ R === L ? (d = R.first, u--, m--) : v.has(F) ? !r.has(Y) || k.has(Y) ? P(R) : S.has(F) ? u-- : y.get(Y) > y.get(F) ? (S.add(Y), P(R)) : (k.add(F), u--) : (l(L, r), u--);
3105
3105
  }
3106
3106
  for (; u--; ) {
3107
3107
  const R = i[u];
3108
- b.has(R.key) || l(R, r);
3108
+ v.has(R.key) || l(R, r);
3109
3109
  }
3110
3110
  for (; m; )
3111
3111
  P(g[m - 1]);
@@ -3752,20 +3752,20 @@ function ug(i) {
3752
3752
  function fg(i, t, e) {
3753
3753
  var g;
3754
3754
  let n, { five: s } = t, { roomLabels: o } = t, r, a, l = (g = s.model.shownFloor) != null ? g : null;
3755
- function c(b) {
3756
- if (!(l === null || b.floorIndex === l))
3755
+ function c(v) {
3756
+ if (!(l === null || v.floorIndex === l))
3757
3757
  return !1;
3758
- const I = new bn(), k = s.camera.position.clone(), S = new ie(b.position.x, b.position.y, b.position.z), P = S.distanceTo(k);
3758
+ const I = new bn(), k = s.camera.position.clone(), S = new ie(v.position.x, v.position.y, v.position.z), P = S.distanceTo(k);
3759
3759
  I.set(k.clone(), S.clone().sub(k).normalize());
3760
3760
  const [R] = s.model.intersectRaycaster(I);
3761
3761
  return !(R && R.distance + 1 < P);
3762
3762
  }
3763
- function d(b, y) {
3764
- const k = new ie(b.position.x, b.position.y, b.position.z).clone().project(s.camera), S = Math.ceil((k.x + 1) / 2 * y.x), P = Math.ceil((-k.y + 1) / 2 * y.y);
3763
+ function d(v, y) {
3764
+ const k = new ie(v.position.x, v.position.y, v.position.z).clone().project(s.camera), S = Math.ceil((k.x + 1) / 2 * y.x), P = Math.ceil((-k.y + 1) / 2 * y.y);
3765
3765
  return `translate(${S}px, ${P}px)`;
3766
3766
  }
3767
- function h(b) {
3768
- const { rendererSize: y } = b, I = /* @__PURE__ */ new Map();
3767
+ function h(v) {
3768
+ const { rendererSize: y } = v, I = /* @__PURE__ */ new Map();
3769
3769
  function k(P) {
3770
3770
  const R = I.get(P.id);
3771
3771
  if (R)
@@ -3781,21 +3781,21 @@ function fg(i, t, e) {
3781
3781
  function u() {
3782
3782
  e(0, o = h({ rendererSize: n, shownFloor: l }));
3783
3783
  }
3784
- function m(b) {
3785
- e(4, l = b);
3784
+ function m(v) {
3785
+ e(4, l = v);
3786
3786
  }
3787
3787
  s.on("cameraUpdate", u), s.on("modelShownFloorChange", m), Uh(() => {
3788
3788
  e(0, o = h({ rendererSize: n, shownFloor: l }));
3789
3789
  }), Ot(() => {
3790
3790
  s.off("cameraUpdate", u), s.off("modelShownFloorChange", m);
3791
3791
  });
3792
- const A = (b) => {
3793
- e(2, r = b.detail);
3794
- }, p = (b) => {
3795
- e(3, a = b.detail);
3792
+ const A = (v) => {
3793
+ e(2, r = v.detail);
3794
+ }, p = (v) => {
3795
+ e(3, a = v.detail);
3796
3796
  };
3797
- return i.$$set = (b) => {
3798
- "five" in b && e(1, s = b.five), "roomLabels" in b && e(0, o = b.roomLabels);
3797
+ return i.$$set = (v) => {
3798
+ "five" in v && e(1, s = v.five), "roomLabels" in v && e(0, o = v.roomLabels);
3799
3799
  }, i.$$.update = () => {
3800
3800
  i.$$.dirty & /*containerWidth, containerHeight*/
3801
3801
  12 && e(5, n = { x: r, y: a }), i.$$.dirty & /*rendererSize, shownFloor*/
@@ -4082,7 +4082,7 @@ function Ig(i) {
4082
4082
  }
4083
4083
  function Pg(i, t, e) {
4084
4084
  let { panoIndex: n } = t, { floorplanData: s } = t, { lastPanoramaLongitude: o } = t, { cameraImageUrl: r } = t;
4085
- const { observers: a } = s, l = a[n], c = l.positionInImage.x, d = l.positionInImage.y, h = c * 100 + "%", u = d * 100 + "%", m = -su(o) + 45, A = document.body.clientWidth, p = document.body.clientHeight, b = `${(A < 500 || p < 500 ? 17 : 37) / 16}rem`;
4085
+ const { observers: a } = s, l = a[n], c = l.positionInImage.x, d = l.positionInImage.y, h = c * 100 + "%", u = d * 100 + "%", m = -su(o) + 45, A = document.body.clientWidth, p = document.body.clientHeight, v = `${(A < 500 || p < 500 ? 17 : 37) / 16}rem`;
4086
4086
  return i.$$set = (y) => {
4087
4087
  "panoIndex" in y && e(5, n = y.panoIndex), "floorplanData" in y && e(6, s = y.floorplanData), "lastPanoramaLongitude" in y && e(7, o = y.lastPanoramaLongitude), "cameraImageUrl" in y && e(0, r = y.cameraImageUrl);
4088
4088
  }, [
@@ -4090,7 +4090,7 @@ function Pg(i, t, e) {
4090
4090
  h,
4091
4091
  u,
4092
4092
  m,
4093
- b,
4093
+ v,
4094
4094
  n,
4095
4095
  s,
4096
4096
  o
@@ -4221,7 +4221,7 @@ function zg(i) {
4221
4221
  let t, e;
4222
4222
  return {
4223
4223
  c() {
4224
- t = D("img"), Mt(t.src, e = /*url*/
4224
+ t = D("img"), xt(t.src, e = /*url*/
4225
4225
  i[0]) || w(t, "src", e), w(t, "alt", "floorplan iamge"), w(t, "class", "svelte-1gfoniz");
4226
4226
  },
4227
4227
  m(n, s) {
@@ -4229,7 +4229,7 @@ function zg(i) {
4229
4229
  },
4230
4230
  p(n, [s]) {
4231
4231
  s & /*url*/
4232
- 1 && !Mt(t.src, e = /*url*/
4232
+ 1 && !xt(t.src, e = /*url*/
4233
4233
  n[0]) && w(t, "src", e);
4234
4234
  },
4235
4235
  i: J,
@@ -4614,7 +4614,7 @@ function qg(i, t, e) {
4614
4614
  ].every((ye) => Jg(ye, We));
4615
4615
  };
4616
4616
  }
4617
- const b = document.body.clientWidth, y = document.body.clientHeight, I = h.roomLabel, k = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", P = (b < 500 || y < 500 ? 10 : 14) + "px";
4617
+ const v = document.body.clientWidth, y = document.body.clientHeight, I = h.roomLabel, k = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", P = (v < 500 || y < 500 ? 10 : 14) + "px";
4618
4618
  let R = 0, L = 0, Y = !1;
4619
4619
  u.subscribe(function(H) {
4620
4620
  e(16, Y = !!H && H.id === h.id);
@@ -4890,8 +4890,8 @@ function tp(i, t, e) {
4890
4890
  if (i.$$.dirty & /*floorplanData, floorIndex*/
4891
4891
  1536 && e(8, n = a.floorDatas[s].rooms), i.$$.dirty & /*floorplanData, clientWidth*/
4892
4892
  1088) {
4893
- const { max: p, min: g } = a.bounding, b = p.x - g.x;
4894
- e(7, m = u / b);
4893
+ const { max: p, min: g } = a.bounding, v = p.x - g.x;
4894
+ e(7, m = u / v);
4895
4895
  }
4896
4896
  }, [
4897
4897
  o,
@@ -5074,8 +5074,8 @@ function sp(i) {
5074
5074
  );
5075
5075
  let g;
5076
5076
  for (g = 0; g < d.length; g += 1) {
5077
- const b = El(A, d, g);
5078
- h[g] ? h[g].p(b, p) : (h[g] = kl(b), h[g].c(), h[g].m(s, null));
5077
+ const v = El(A, d, g);
5078
+ h[g] ? h[g].p(v, p) : (h[g] = kl(v), h[g].c(), h[g].m(s, null));
5079
5079
  }
5080
5080
  for (; g < h.length; g += 1)
5081
5081
  h[g].d(1);
@@ -5113,8 +5113,8 @@ function op(i, t, e) {
5113
5113
  });
5114
5114
  h.unshift({ left: 0, bottom: 0 }), h.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
5115
5115
  const u = d[d.length - 1] - d[0], m = d.map((A, p, g) => {
5116
- const b = p === 0 ? 0 : A - g[p - 1], y = p === 0 ? 0 : (A + g[p - 1]) / 2, I = a ? (y - o.min.x - Kn + $n) / l : 0, k = a ? 0 : (y - o.min.y - Kn + $n) / c;
5117
- return { left: I, bottom: k, distance: b };
5116
+ const v = p === 0 ? 0 : A - g[p - 1], y = p === 0 ? 0 : (A + g[p - 1]) / 2, I = a ? (y - o.min.x - Kn + $n) / l : 0, k = a ? 0 : (y - o.min.y - Kn + $n) / c;
5117
+ return { left: I, bottom: k, distance: v };
5118
5118
  }).filter(({ distance: A }) => A / u > 0.1);
5119
5119
  return i.$$set = (A) => {
5120
5120
  "type" in A && e(0, n = A.type), "data" in A && e(5, s = A.data), "bounding" in A && e(6, o = A.bounding), "getRuleDistanceText" in A && e(1, r = A.getRuleDistanceText);
@@ -6281,8 +6281,8 @@ function Vp(i) {
6281
6281
  }
6282
6282
  ];
6283
6283
  let h = {};
6284
- for (let b = 0; b < d.length; b += 1)
6285
- h = tt(h, d[b]);
6284
+ for (let v = 0; v < d.length; v += 1)
6285
+ h = tt(h, d[v]);
6286
6286
  e = new Dp({ props: h });
6287
6287
  let u = (
6288
6288
  /*highlightEnable*/
@@ -6302,8 +6302,8 @@ function Vp(i) {
6302
6302
  }
6303
6303
  ];
6304
6304
  let A = {};
6305
- for (let b = 0; b < m.length; b += 1)
6306
- A = tt(A, m[b]);
6305
+ for (let v = 0; v < m.length; v += 1)
6306
+ A = tt(A, m[v]);
6307
6307
  o = new ou({ props: A });
6308
6308
  let p = (
6309
6309
  /*roomLabelsEnable*/
@@ -6317,27 +6317,27 @@ function Vp(i) {
6317
6317
  t = D("div"), ne(e.$$.fragment), n = K(), u && u.c(), s = K(), ne(o.$$.fragment), r = K(), p && p.c(), a = K(), g && g.c(), w(t, "class", l = Ve(`floorplan-plugin__floor${/*isCurrent*/
6318
6318
  i[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
6319
6319
  },
6320
- m(b, y) {
6321
- B(b, t, y), ee(e, t, null), x(t, n), u && u.m(t, null), x(t, s), ee(o, t, null), x(t, r), p && p.m(t, null), x(t, a), g && g.m(t, null), c = !0;
6320
+ m(v, y) {
6321
+ B(v, t, y), ee(e, t, null), x(t, n), u && u.m(t, null), x(t, s), ee(o, t, null), x(t, r), p && p.m(t, null), x(t, a), g && g.m(t, null), c = !0;
6322
6322
  },
6323
- p(b, [y]) {
6323
+ p(v, [y]) {
6324
6324
  const I = y & /*floorIndex, floorplanData*/
6325
6325
  258 ? dt(d, [
6326
6326
  {
6327
6327
  floorIndex: (
6328
6328
  /*floorIndex*/
6329
- b[1]
6329
+ v[1]
6330
6330
  ),
6331
6331
  floorplanData: (
6332
6332
  /*floorplanData*/
6333
- b[8]
6333
+ v[8]
6334
6334
  )
6335
6335
  }
6336
6336
  ]) : {};
6337
6337
  e.$set(I), /*highlightEnable*/
6338
- b[2] || /*hoverEnable*/
6339
- b[3] ? u ? (u.p(b, y), y & /*highlightEnable, hoverEnable*/
6340
- 12 && M(u, 1)) : (u = Bl(b), u.c(), M(u, 1), u.m(t, s)) : u && (de(), j(u, 1, 1, () => {
6338
+ v[2] || /*hoverEnable*/
6339
+ v[3] ? u ? (u.p(v, y), y & /*highlightEnable, hoverEnable*/
6340
+ 12 && M(u, 1)) : (u = Bl(v), u.c(), M(u, 1), u.m(t, s)) : u && (de(), j(u, 1, 1, () => {
6341
6341
  u = null;
6342
6342
  }), he());
6343
6343
  const k = y & /*floorplanData, floorIndex*/
@@ -6345,40 +6345,40 @@ function Vp(i) {
6345
6345
  {
6346
6346
  floorplanData: (
6347
6347
  /*floorplanData*/
6348
- b[8]
6348
+ v[8]
6349
6349
  ),
6350
6350
  floorIndex: (
6351
6351
  /*floorIndex*/
6352
- b[1]
6352
+ v[1]
6353
6353
  )
6354
6354
  }
6355
6355
  ]) : {};
6356
6356
  o.$set(k), /*roomLabelsEnable*/
6357
- b[4] ? p ? (p.p(b, y), y & /*roomLabelsEnable*/
6358
- 16 && M(p, 1)) : (p = Rl(b), p.c(), M(p, 1), p.m(t, a)) : p && (de(), j(p, 1, 1, () => {
6357
+ v[4] ? p ? (p.p(v, y), y & /*roomLabelsEnable*/
6358
+ 16 && M(p, 1)) : (p = Rl(v), p.c(), M(p, 1), p.m(t, a)) : p && (de(), j(p, 1, 1, () => {
6359
6359
  p = null;
6360
6360
  }), he()), /*ruleLabelsEnable*/
6361
- b[7] ? g ? (g.p(b, y), y & /*ruleLabelsEnable*/
6362
- 128 && M(g, 1)) : (g = Vl(b), g.c(), M(g, 1), g.m(t, null)) : g && (de(), j(g, 1, 1, () => {
6361
+ v[7] ? g ? (g.p(v, y), y & /*ruleLabelsEnable*/
6362
+ 128 && M(g, 1)) : (g = Vl(v), g.c(), M(g, 1), g.m(t, null)) : g && (de(), j(g, 1, 1, () => {
6363
6363
  g = null;
6364
6364
  }), he()), (!c || y & /*isCurrent*/
6365
6365
  1 && l !== (l = Ve(`floorplan-plugin__floor${/*isCurrent*/
6366
- b[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && w(t, "class", l);
6366
+ v[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && w(t, "class", l);
6367
6367
  },
6368
- i(b) {
6369
- c || (M(e.$$.fragment, b), M(u), M(o.$$.fragment, b), M(p), M(g), c = !0);
6368
+ i(v) {
6369
+ c || (M(e.$$.fragment, v), M(u), M(o.$$.fragment, v), M(p), M(g), c = !0);
6370
6370
  },
6371
- o(b) {
6372
- j(e.$$.fragment, b), j(u), j(o.$$.fragment, b), j(p), j(g), c = !1;
6371
+ o(v) {
6372
+ j(e.$$.fragment, v), j(u), j(o.$$.fragment, v), j(p), j(g), c = !1;
6373
6373
  },
6374
- d(b) {
6375
- b && O(t), te(e), u && u.d(), te(o), p && p.d(), g && g.d();
6374
+ d(v) {
6375
+ v && O(t), te(e), u && u.d(), te(o), p && p.d(), g && g.d();
6376
6376
  }
6377
6377
  };
6378
6378
  }
6379
6379
  function Qp(i, t, e) {
6380
6380
  let { isCurrent: n } = t, { floorIndex: s } = t, { highlightEnable: o } = t, { hoverEnable: r } = t, { roomLabelsEnable: a } = t, { roomAreaEnable: l } = t, { roomNameEnable: c } = t, { ruleLabelsEnable: d } = t, { floorplanData: h } = t, { getRoomAreaText: u } = t, { getLabelElement: m } = t, { getRuleDistanceText: A } = t, { adaptiveRoomLabelVisibleEnable: p } = t, { highlightData: g } = t;
6381
- const b = ja(void 0);
6381
+ const v = ja(void 0);
6382
6382
  return i.$$set = (y) => {
6383
6383
  "isCurrent" in y && e(0, n = y.isCurrent), "floorIndex" in y && e(1, s = y.floorIndex), "highlightEnable" in y && e(2, o = y.highlightEnable), "hoverEnable" in y && e(3, r = y.hoverEnable), "roomLabelsEnable" in y && e(4, a = y.roomLabelsEnable), "roomAreaEnable" in y && e(5, l = y.roomAreaEnable), "roomNameEnable" in y && e(6, c = y.roomNameEnable), "ruleLabelsEnable" in y && e(7, d = y.ruleLabelsEnable), "floorplanData" in y && e(8, h = y.floorplanData), "getRoomAreaText" in y && e(9, u = y.getRoomAreaText), "getLabelElement" in y && e(10, m = y.getLabelElement), "getRuleDistanceText" in y && e(11, A = y.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in y && e(12, p = y.adaptiveRoomLabelVisibleEnable), "highlightData" in y && e(13, g = y.highlightData);
6384
6384
  }, [
@@ -6396,7 +6396,7 @@ function Qp(i, t, e) {
6396
6396
  A,
6397
6397
  p,
6398
6398
  g,
6399
- b
6399
+ v
6400
6400
  ];
6401
6401
  }
6402
6402
  let Gp = class extends le {
@@ -6813,9 +6813,9 @@ function Hp(i) {
6813
6813
  };
6814
6814
  }
6815
6815
  function _p(i, t, e) {
6816
- let { duration: n = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: g } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: I } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: P } = t, { highlightData: R } = t;
6816
+ let { duration: n = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: g } = t, { lastPanoramaLongitude: v } = t, { cameraImageUrl: y } = t, { getRoomAreaText: I } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: P } = t, { highlightData: R } = t;
6817
6817
  return i.$$set = (L) => {
6818
- "duration" in L && e(0, n = L.duration), "visible" in L && e(1, s = L.visible), "northDesc" in L && e(2, o = L.northDesc), "panoIndex" in L && e(3, r = L.panoIndex), "floorIndex" in L && e(4, a = L.floorIndex), "cameraEnable" in L && e(5, l = L.cameraEnable), "hoverEnable" in L && e(6, c = L.hoverEnable), "highlightEnable" in L && e(7, d = L.highlightEnable), "compassEnable" in L && e(8, h = L.compassEnable), "roomLabelsEnable" in L && e(9, u = L.roomLabelsEnable), "roomAreaEnable" in L && e(10, m = L.roomAreaEnable), "roomNameEnable" in L && e(11, A = L.roomNameEnable), "ruleLabelsEnable" in L && e(12, p = L.ruleLabelsEnable), "floorplanData" in L && e(13, g = L.floorplanData), "lastPanoramaLongitude" in L && e(14, b = L.lastPanoramaLongitude), "cameraImageUrl" in L && e(15, y = L.cameraImageUrl), "getRoomAreaText" in L && e(16, I = L.getRoomAreaText), "getLabelElement" in L && e(17, k = L.getLabelElement), "getRuleDistanceText" in L && e(18, S = L.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in L && e(19, P = L.adaptiveRoomLabelVisibleEnable), "highlightData" in L && e(20, R = L.highlightData);
6818
+ "duration" in L && e(0, n = L.duration), "visible" in L && e(1, s = L.visible), "northDesc" in L && e(2, o = L.northDesc), "panoIndex" in L && e(3, r = L.panoIndex), "floorIndex" in L && e(4, a = L.floorIndex), "cameraEnable" in L && e(5, l = L.cameraEnable), "hoverEnable" in L && e(6, c = L.hoverEnable), "highlightEnable" in L && e(7, d = L.highlightEnable), "compassEnable" in L && e(8, h = L.compassEnable), "roomLabelsEnable" in L && e(9, u = L.roomLabelsEnable), "roomAreaEnable" in L && e(10, m = L.roomAreaEnable), "roomNameEnable" in L && e(11, A = L.roomNameEnable), "ruleLabelsEnable" in L && e(12, p = L.ruleLabelsEnable), "floorplanData" in L && e(13, g = L.floorplanData), "lastPanoramaLongitude" in L && e(14, v = L.lastPanoramaLongitude), "cameraImageUrl" in L && e(15, y = L.cameraImageUrl), "getRoomAreaText" in L && e(16, I = L.getRoomAreaText), "getLabelElement" in L && e(17, k = L.getLabelElement), "getRuleDistanceText" in L && e(18, S = L.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in L && e(19, P = L.adaptiveRoomLabelVisibleEnable), "highlightData" in L && e(20, R = L.highlightData);
6819
6819
  }, [
6820
6820
  n,
6821
6821
  s,
@@ -6831,7 +6831,7 @@ function _p(i, t, e) {
6831
6831
  A,
6832
6832
  p,
6833
6833
  g,
6834
- b,
6834
+ v,
6835
6835
  y,
6836
6836
  I,
6837
6837
  k,
@@ -6986,7 +6986,7 @@ let gs = class {
6986
6986
  /**
6987
6987
  * @realsee/dnalogel 版本号
6988
6988
  */
6989
- f(this, "VERSION", "2.23.1-dev.0");
6989
+ f(this, "VERSION", "2.24.0-dev.0");
6990
6990
  f(this, "five");
6991
6991
  /**
6992
6992
  * 插件事件钩子
@@ -8069,10 +8069,10 @@ function cA(i) {
8069
8069
  function dA(i, t, e) {
8070
8070
  let n, s, { five: o } = t, { pxmm: r } = t, { floorplanData: a } = t, { cameraImageUrl: l } = t, c = o.getCurrentState().panoIndex, d = o.getCurrentState().longitude;
8071
8071
  function h(A, p) {
8072
- const g = A.bounding, b = A.observers[p];
8073
- if (!b)
8072
+ const g = A.bounding, v = A.observers[p];
8073
+ if (!v)
8074
8074
  return "";
8075
- const y = (g.max.x - g.min.x) * r, I = (g.max.y - g.min.y) * r, k = Math.floor(b.positionInImage.x * y), S = Math.floor(b.positionInImage.y * I);
8075
+ const y = (g.max.x - g.min.x) * r, I = (g.max.y - g.min.y) * r, k = Math.floor(v.positionInImage.x * y), S = Math.floor(v.positionInImage.y * I);
8076
8076
  return `translate(${k}px, ${S}px)`;
8077
8077
  }
8078
8078
  function u(A) {
@@ -8631,7 +8631,7 @@ function wA(i, t, e) {
8631
8631
  wt(() => (n.on("panoArrived", g), () => {
8632
8632
  n.off("panoArrived", g);
8633
8633
  }));
8634
- const b = (S) => {
8634
+ const v = (S) => {
8635
8635
  e(7, u = S.detail);
8636
8636
  }, y = (S) => {
8637
8637
  e(8, m = S.detail);
@@ -8660,7 +8660,7 @@ function wA(i, t, e) {
8660
8660
  d,
8661
8661
  h,
8662
8662
  p,
8663
- b,
8663
+ v,
8664
8664
  y
8665
8665
  ];
8666
8666
  }
@@ -8951,10 +8951,10 @@ const aE = (i, t) => {
8951
8951
  i.on("modelLoaded", A);
8952
8952
  const c = (g) => U(void 0, null, function* () {
8953
8953
  var k;
8954
- const b = (g == null ? void 0 : g.fbx_url) || e;
8954
+ const v = (g == null ? void 0 : g.fbx_url) || e;
8955
8955
  if (l = (k = g == null ? void 0 : g.north_rad) != null ? k : n, typeof l != "number")
8956
8956
  throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
8957
- const I = yield new wh().loadAsync(b);
8957
+ const I = yield new wh().loadAsync(v);
8958
8958
  return du(I, {
8959
8959
  transparent: !0,
8960
8960
  side: E.DoubleSide,
@@ -8963,16 +8963,16 @@ const aE = (i, t) => {
8963
8963
  }), d = ({ latitude: g }) => {
8964
8964
  if (!s.object)
8965
8965
  return;
8966
- const b = h(g);
8967
- b && (s.object.position.y = b);
8966
+ const v = h(g);
8967
+ v && (s.object.position.y = v);
8968
8968
  }, h = (g) => {
8969
8969
  if (s.yBase === void 0)
8970
8970
  return;
8971
- const b = 0.6;
8971
+ const v = 0.6;
8972
8972
  if (g >= Math.PI / 4)
8973
- return s.yBase - (b + 1.6);
8973
+ return s.yBase - (v + 1.6);
8974
8974
  const y = g * (4 / Math.PI);
8975
- return s.yBase - (b * y + 1.6);
8975
+ return s.yBase - (v * y + 1.6);
8976
8976
  }, u = () => {
8977
8977
  if (!s.object)
8978
8978
  return;
@@ -8985,10 +8985,10 @@ const aE = (i, t) => {
8985
8985
  const g = s.object;
8986
8986
  if (!g)
8987
8987
  return;
8988
- const b = i.model.bounding, y = b.max.x - b.min.x, I = b.max.z - b.min.z, k = Math.max(y, I), {
8988
+ const v = i.model.bounding, y = v.max.x - v.min.x, I = v.max.z - v.min.z, k = Math.max(y, I), {
8989
8989
  max: { x: S, z: P },
8990
8990
  min: { x: R, y: L, z: Y }
8991
- } = b;
8991
+ } = v;
8992
8992
  s.yBase = L, o = { x: (S + R) / 2, y: L - 1.6, z: (P + Y) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * k, PA(g, { position: o, rotation: r, scale: a });
8993
8993
  }
8994
8994
  return { load: c, disable: m, enable: u };
@@ -9001,8 +9001,8 @@ function EA(i, t) {
9001
9001
  return l.fillStyle = s, l.fillRect(0, 0, e, e), l.font = `${n}px "微软雅黑"`, l.textAlign = r, l.fillStyle = o, l.fillText(i, e / 2, e * 0.7), new vf(a);
9002
9002
  }
9003
9003
  const kA = ({ x: i, y: t, z: e }) => new ie(i, t, e), lE = (i, t) => {
9004
- var p, g, b;
9005
- const e = {}, n = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : void 0, o = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => U(void 0, null, function* () {
9004
+ var p, g, v;
9005
+ const e = {}, n = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : void 0, o = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => U(void 0, null, function* () {
9006
9006
  var F, G, Q, H, V, _, Z, X;
9007
9007
  const I = (F = y == null ? void 0 : y.position) != null ? F : s;
9008
9008
  if (!I)
@@ -9054,7 +9054,7 @@ const kA = ({ x: i, y: t, z: e }) => new ie(i, t, e), lE = (i, t) => {
9054
9054
  e.object && (e.animation && e.animation.stop(), i.scene.remove(e.object), i.needsRender = !0);
9055
9055
  }, u = (y) => y === "Floorplan" ? d() : h();
9056
9056
  return { load: l, enable: (y) => (e.enabled || (e.enabled = !0, u(i.currentMode), i.on("modeChange", u), d(y)), !0), disable: () => (e.enabled && (e.enabled = !1, h(), i.off("modeChange", u)), !0) };
9057
- }, MA = Lt;
9057
+ }, MA = jt;
9058
9058
  function xA(i, t, e, n = MA.Linear.None) {
9059
9059
  const s = new yo(i).to(t, e).easing(n);
9060
9060
  Io(() => s.start(0));
@@ -9139,7 +9139,7 @@ const ia = (i, t, e) => {
9139
9139
  m(!0);
9140
9140
  }, g = () => {
9141
9141
  m(!1);
9142
- }, b = o.rotateSpeed ? Math.ceil(Math.abs(u.longitude - h.longitude) / o.rotateSpeed * 1e3) : r, y = DA(b, Lt.Linear.None).onUpdate(A).onComplete(p).onDestroy(g);
9142
+ }, v = o.rotateSpeed ? Math.ceil(Math.abs(u.longitude - h.longitude) / o.rotateSpeed * 1e3) : r, y = DA(v, jt.Linear.None).onUpdate(A).onComplete(p).onDestroy(g);
9143
9143
  o.rotation === $t.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (I = !0) => {
9144
9144
  y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(I);
9145
9145
  }, t.timeoutId = setTimeout(() => {
@@ -9308,7 +9308,7 @@ const LA = `<style type="text/css">
9308
9308
  distanceText: (p) => `${p.toFixed(1)}m`
9309
9309
  }
9310
9310
  }, n = (p, g) => {
9311
- const b = `
9311
+ const v = `
9312
9312
  <div class="PanoRulerPlugin-rule-line">
9313
9313
  <em></em>
9314
9314
  <div class="PanoRulerPlugin-rule-label">
@@ -9316,7 +9316,7 @@ const LA = `<style type="text/css">
9316
9316
  </div>
9317
9317
  </div>
9318
9318
  `, y = document.createElement("div");
9319
- return y.setAttribute("class", "PanoRulerPlugin-rule"), y.setAttribute("data-name", p), y.setAttribute("style", "display: none"), y.innerHTML = b, y;
9319
+ return y.setAttribute("class", "PanoRulerPlugin-rule"), y.setAttribute("data-name", p), y.setAttribute("style", "display: none"), y.innerHTML = v, y;
9320
9320
  }, s = document.createElement("div");
9321
9321
  s.setAttribute(
9322
9322
  "style",
@@ -9327,12 +9327,12 @@ const LA = `<style type="text/css">
9327
9327
  const r = {}, a = (p, g) => {
9328
9328
  if (e.loaded)
9329
9329
  throw new Error("标尺被重复初始化!");
9330
- const b = zA(p, i), y = i.work;
9330
+ const v = zA(p, i), y = i.work;
9331
9331
  if (!y)
9332
9332
  return !1;
9333
9333
  for (const I in g) {
9334
9334
  const k = g[I], { standingPosition: S } = y.observers[0], P = k.map(({ x: R, z: L, observers: Y }) => {
9335
- const F = Y.length > 0 ? p.rooms[p.observers[Y[0]]].name : "", G = b[F] ? b[F].floor : null;
9335
+ const F = Y.length > 0 ? p.rooms[p.observers[Y[0]]].name : "", G = v[F] ? v[F].floor : null;
9336
9336
  let Q = 1 / 0, H = {
9337
9337
  index: 0,
9338
9338
  x: S.x,
@@ -9352,7 +9352,7 @@ const LA = `<style type="text/css">
9352
9352
  });
9353
9353
  const V = new ie(R, H.y, L);
9354
9354
  Object.assign(V, { observers: Y });
9355
- const _ = b[F] ? b[F].roof : null, Z = _ ? new ie(R, _, L) : null;
9355
+ const _ = v[F] ? v[F].roof : null, Z = _ ? new ie(R, _, L) : null;
9356
9356
  return Z && Object.assign(Z, { observers: Y }), { origin: V, vertical: Z };
9357
9357
  });
9358
9358
  r[I] = {
@@ -9373,32 +9373,32 @@ const LA = `<style type="text/css">
9373
9373
  }
9374
9374
  }
9375
9375
  return e.loaded = !0, !0;
9376
- }, l = (p, g, b) => U(void 0, null, function* () {
9376
+ }, l = (p, g, v) => U(void 0, null, function* () {
9377
9377
  const y = p || t.roomInfo, I = g || t.roomRules;
9378
9378
  if (!y || !I)
9379
9379
  throw new Error("标尺数据依赖不齐全!");
9380
- return e.loaded = !1, e.options = N(N({}, e.options), b || {}), i.model.loaded ? a(y, I) : yield new Promise(
9380
+ return e.loaded = !1, e.options = N(N({}, e.options), v || {}), i.model.loaded ? a(y, I) : yield new Promise(
9381
9381
  (k) => i.once("modelLoaded", () => k(a(y, I)))
9382
9382
  );
9383
9383
  });
9384
9384
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
9385
- const c = (p, g, b, y) => {
9385
+ const c = (p, g, v, y) => {
9386
9386
  const I = [
9387
9387
  [
9388
9388
  { x: 0, y: 0 },
9389
- { x: b, y: 0 }
9389
+ { x: v, y: 0 }
9390
9390
  ],
9391
9391
  [
9392
9392
  { x: 0, y: 0 },
9393
9393
  { x: 0, y }
9394
9394
  ],
9395
9395
  [
9396
- { x: b, y: 0 },
9397
- { x: b, y }
9396
+ { x: v, y: 0 },
9397
+ { x: v, y }
9398
9398
  ],
9399
9399
  [
9400
9400
  { x: 0, y },
9401
- { x: b, y }
9401
+ { x: v, y }
9402
9402
  ]
9403
9403
  ], k = [];
9404
9404
  for (let S = 0; S < I.length; S++) {
@@ -9411,7 +9411,7 @@ const LA = `<style type="text/css">
9411
9411
  const p = (Y = i.getElement()) == null ? void 0 : Y.parentElement;
9412
9412
  if (!p || !e.loaded || Object.keys(r).length <= 0)
9413
9413
  return;
9414
- const { panoIndex: g, camera: b, currentMode: y } = i;
9414
+ const { panoIndex: g, camera: v, currentMode: y } = i;
9415
9415
  if (g === void 0)
9416
9416
  return;
9417
9417
  let I;
@@ -9423,7 +9423,7 @@ const LA = `<style type="text/css">
9423
9423
  G.style.display = "none";
9424
9424
  return;
9425
9425
  }
9426
- const k = b.position, S = b.getWorldDirection(new ie()), P = p.clientWidth, R = p.clientHeight;
9426
+ const k = v.position, S = v.getWorldDirection(new ie()), P = p.clientWidth, R = p.clientHeight;
9427
9427
  if (y !== at.Mode.Panorama) {
9428
9428
  for (const F in r)
9429
9429
  for (const { $element: G } of r[F].rules)
@@ -9470,7 +9470,7 @@ const LA = `<style type="text/css">
9470
9470
  Q.style.display = "none";
9471
9471
  continue;
9472
9472
  }
9473
- const we = H.clone().project(b), Ce = (we.x + 1) / 2 * P, pe = (-we.y + 1) / 2 * R, Be = V.clone().project(b), ve = (Be.x + 1) / 2 * P, We = (-Be.y + 1) / 2 * R, fe = Math.sqrt(Math.pow(ve - Ce, 2) + Math.pow(We - pe, 2));
9473
+ const we = H.clone().project(v), Ce = (we.x + 1) / 2 * P, pe = (-we.y + 1) / 2 * R, Be = V.clone().project(v), ve = (Be.x + 1) / 2 * P, We = (-Be.y + 1) / 2 * R, fe = Math.sqrt(Math.pow(ve - Ce, 2) + Math.pow(We - pe, 2));
9474
9474
  let ye = fe, je = 50;
9475
9475
  const me = c({ x: ~~Ce, y: ~~pe }, {
9476
9476
  x: ~~ve,
@@ -9495,8 +9495,8 @@ const LA = `<style type="text/css">
9495
9495
  function A(p) {
9496
9496
  if (p.distanceText && p.distanceText !== e.options.distanceText) {
9497
9497
  const g = p.distanceText;
9498
- e.options.distanceText = g, Object.values(r).forEach((b) => {
9499
- b.rules.forEach((y) => {
9498
+ e.options.distanceText = g, Object.values(r).forEach((v) => {
9499
+ v.rules.forEach((y) => {
9500
9500
  const [I, k] = y.rule, S = I.distanceTo(k), P = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9501
9501
  P && (P.innerText = g(S));
9502
9502
  });
@@ -9643,7 +9643,7 @@ function VA(i) {
9643
9643
  i[0].left}px`, h = `${/*rulerItemProp*/
9644
9644
  i[0].top}px`, u = `rotate(${/*rulerItemProp*/
9645
9645
  i[0].rotateDeg}deg)`;
9646
- function m(g, b) {
9646
+ function m(g, v) {
9647
9647
  return (
9648
9648
  /*rulerItemProp*/
9649
9649
  g[0].children.length === 0 ? RA : BA
@@ -9663,27 +9663,27 @@ function VA(i) {
9663
9663
  i[2] ? "block" : "none"
9664
9664
  );
9665
9665
  },
9666
- m(g, b) {
9667
- B(g, t, b), p.m(t, null), x(t, e), x(t, n), x(n, s), x(s, r), a = Eo(
9666
+ m(g, v) {
9667
+ B(g, t, v), p.m(t, null), x(t, e), x(t, n), x(n, s), x(s, r), a = Eo(
9668
9668
  s,
9669
9669
  /*div0_elementresize_handler*/
9670
9670
  i[4].bind(s)
9671
9671
  );
9672
9672
  },
9673
- p(g, [b]) {
9674
- A === (A = m(g)) && p ? p.p(g, b) : (p.d(1), p = A(g), p && (p.c(), p.m(t, e))), b & /*rulerItemProp*/
9673
+ p(g, [v]) {
9674
+ A === (A = m(g)) && p ? p.p(g, v) : (p.d(1), p = A(g), p && (p.c(), p.m(t, e))), v & /*rulerItemProp*/
9675
9675
  1 && o !== (o = /*rulerItemProp*/
9676
- g[0].labelElement + "") && Se(r, o), b & /*rulerItemProp*/
9676
+ g[0].labelElement + "") && Se(r, o), v & /*rulerItemProp*/
9677
9677
  1 && l !== (l = `${/*rulerItemProp*/
9678
- g[0].labelOffset}%`) && z(n, "left", l), b & /*rulerItemProp*/
9678
+ g[0].labelOffset}%`) && z(n, "left", l), v & /*rulerItemProp*/
9679
9679
  1 && c !== (c = `${/*rulerItemProp*/
9680
- g[0].width}px`) && z(t, "width", c), b & /*rulerItemProp*/
9680
+ g[0].width}px`) && z(t, "width", c), v & /*rulerItemProp*/
9681
9681
  1 && d !== (d = `${/*rulerItemProp*/
9682
- g[0].left}px`) && z(t, "left", d), b & /*rulerItemProp*/
9682
+ g[0].left}px`) && z(t, "left", d), v & /*rulerItemProp*/
9683
9683
  1 && h !== (h = `${/*rulerItemProp*/
9684
- g[0].top}px`) && z(t, "top", h), b & /*rulerItemProp*/
9684
+ g[0].top}px`) && z(t, "top", h), v & /*rulerItemProp*/
9685
9685
  1 && u !== (u = `rotate(${/*rulerItemProp*/
9686
- g[0].rotateDeg}deg)`) && z(t, "transform", u), b & /*rulerItemProp, _visible*/
9686
+ g[0].rotateDeg}deg)`) && z(t, "transform", u), v & /*rulerItemProp, _visible*/
9687
9687
  5 && z(
9688
9688
  t,
9689
9689
  "display",
@@ -9809,9 +9809,9 @@ function NA(i) {
9809
9809
  };
9810
9810
  }
9811
9811
  function HA(i, t, e) {
9812
- var p, g, b, y;
9812
+ var p, g, v, y;
9813
9813
  let { five: n } = t, { rulerDatas: s } = t, { options: o } = t, r = [];
9814
- const a = ((g = (p = n.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : g.clientWidth) || 0, l = ((y = (b = n.getElement()) == null ? void 0 : b.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (I, k) => {
9814
+ const a = ((g = (p = n.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : g.clientWidth) || 0, l = ((y = (v = n.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (I, k) => {
9815
9815
  const S = [
9816
9816
  [{ x: 0, y: 0 }, { x: a, y: 0 }],
9817
9817
  [{ x: 0, y: 0 }, { x: 0, y: l }],
@@ -10353,8 +10353,8 @@ class cv extends gu {
10353
10353
  this.hide();
10354
10354
  return;
10355
10355
  }
10356
- const b = (u.x + 1) / 2 * s, y = -(u.y - 1) / 2 * o, k = -(Math.atan((m.y - A.y) / (m.x - A.x)) * 180) / Math.PI, S = this.containerDom.parentElement && this.contentDom.clientWidth > p ? -20 : 0;
10357
- this.containerDom.style.transform = `translate(${b}px, ${y}px) rotate(${k}deg) translateY(${S}px)`, this.show(), (R = this.params.userDistanceItem) == null || R.update({ line: this.line, polyline: this.line.getPolyline() });
10356
+ const v = (u.x + 1) / 2 * s, y = -(u.y - 1) / 2 * o, k = -(Math.atan((m.y - A.y) / (m.x - A.x)) * 180) / Math.PI, S = this.containerDom.parentElement && this.contentDom.clientWidth > p ? -20 : 0;
10357
+ this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${k}deg) translateY(${S}px)`, this.show(), (R = this.params.userDistanceItem) == null || R.update({ line: this.line, polyline: this.line.getPolyline() });
10358
10358
  const P = this.getCurrentContent();
10359
10359
  this.contentDom.innerText = P;
10360
10360
  }
@@ -11268,33 +11268,33 @@ class un extends To {
11268
11268
  var p, g;
11269
11269
  if (this.editParams.pointSelectorMode === "cursor" || this.lastPoint)
11270
11270
  return !1;
11271
- const n = this.model.areas.map((b) => e.intersectObject(b.polygon, !0)[0]).sort((b, y) => b.distance - y.distance), s = (g = (p = n[0]) == null ? void 0 : p.object) == null ? void 0 : g.parent;
11271
+ const n = this.model.areas.map((v) => e.intersectObject(v.polygon, !0)[0]).sort((v, y) => v.distance - y.distance), s = (g = (p = n[0]) == null ? void 0 : p.object) == null ? void 0 : g.parent;
11272
11272
  if (s != null && s.isPolygonMesh) {
11273
- const b = this.model.areas.find((y) => y.polygon === s);
11274
- if (b) {
11273
+ const v = this.model.areas.find((y) => y.polygon === s);
11274
+ if (v) {
11275
11275
  const { x: y, y: I } = n[0].point.clone().project(this.five.camera), k = `${(y + 1) / 2 * 100}%`, S = `${(-I + 1) / 2 * 100}%`;
11276
- return this.chooseArea(b, { left: k, top: S }), !1;
11276
+ return this.chooseArea(v, { left: k, top: S }), !1;
11277
11277
  }
11278
11278
  }
11279
11279
  const [o] = this.five.model.intersectRaycaster(e);
11280
11280
  if (!o)
11281
11281
  return;
11282
- const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, d = new et(a.x * l, a.y * c), h = this.model.getAllLines().map((b) => {
11283
- const [y, I] = b.points, k = y.position.clone().project(r), S = I.position.clone().project(r);
11282
+ const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, d = new et(a.x * l, a.y * c), h = this.model.getAllLines().map((v) => {
11283
+ const [y, I] = v.points, k = y.position.clone().project(r), S = I.position.clone().project(r);
11284
11284
  if (!zn(k) && !zn(S))
11285
11285
  return null;
11286
11286
  const P = new et(k.x * l, k.y * c), R = new et(S.x * l, S.y * c);
11287
- return { id: b.id, points: [P, R] };
11288
- }).filter((b) => !!b);
11287
+ return { id: v.id, points: [P, R] };
11288
+ }).filter((v) => !!v);
11289
11289
  if (h.length === 0)
11290
11290
  return;
11291
- const m = h.map((b) => {
11292
- const y = Na(d, b.points);
11293
- return { id: b.id, distance: y.distanceTo(d) };
11294
- }).sort((b, y) => b.distance - y.distance)[0];
11291
+ const m = h.map((v) => {
11292
+ const y = Na(d, v.points);
11293
+ return { id: v.id, distance: y.distanceTo(d) };
11294
+ }).sort((v, y) => v.distance - y.distance)[0];
11295
11295
  if (m.distance > 20)
11296
11296
  return;
11297
- const A = this.model.getAllLines().find(({ id: b }) => b === m.id);
11297
+ const A = this.model.getAllLines().find(({ id: v }) => v === m.id);
11298
11298
  if (A)
11299
11299
  return this.chooseLine(A), !1;
11300
11300
  });
@@ -11503,11 +11503,11 @@ class cc extends To {
11503
11503
  });
11504
11504
  f(this, "wantsTapGesture", (e) => {
11505
11505
  var p;
11506
- const n = this.model.areas.map((g) => e.intersectObject(g.polygon, !0)[0]).sort((g, b) => g.distance - b.distance), s = (p = n[0]) == null ? void 0 : p.object.parent;
11506
+ const n = this.model.areas.map((g) => e.intersectObject(g.polygon, !0)[0]).sort((g, v) => g.distance - v.distance), s = (p = n[0]) == null ? void 0 : p.object.parent;
11507
11507
  if (s instanceof Au) {
11508
- const g = this.model.areas.find((b) => b.polygon === s);
11508
+ const g = this.model.areas.find((v) => v.polygon === s);
11509
11509
  if (g) {
11510
- const { x: b, y } = n[0].point.clone().project(this.five.camera), I = `${(b + 1) / 2 * 100}%`, k = `${(-y + 1) / 2 * 100}%`;
11510
+ const { x: v, y } = n[0].point.clone().project(this.five.camera), I = `${(v + 1) / 2 * 100}%`, k = `${(-y + 1) / 2 * 100}%`;
11511
11511
  return this.chooseArea(g, { left: I, top: k }), !1;
11512
11512
  }
11513
11513
  }
@@ -11515,7 +11515,7 @@ class cc extends To {
11515
11515
  if (!o)
11516
11516
  return;
11517
11517
  const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, d = new et(a.x * l, a.y * c), h = this.model.getAllLines().map((g) => {
11518
- const [b, y] = g.points, I = b.position.clone().project(r), k = y.position.clone().project(r);
11518
+ const [v, y] = g.points, I = v.position.clone().project(r), k = y.position.clone().project(r);
11519
11519
  if (!zn(I) && !zn(k))
11520
11520
  return null;
11521
11521
  const S = new et(I.x * l, I.y * c), P = new et(k.x * l, k.y * c);
@@ -11524,9 +11524,9 @@ class cc extends To {
11524
11524
  if (h.length === 0)
11525
11525
  return;
11526
11526
  const m = h.map((g) => {
11527
- const b = Na(d, g.points);
11528
- return { id: g.id, distance: b.distanceTo(d) };
11529
- }).sort((g, b) => g.distance - b.distance)[0];
11527
+ const v = Na(d, g.points);
11528
+ return { id: g.id, distance: v.distanceTo(d) };
11529
+ }).sort((g, v) => g.distance - v.distance)[0];
11530
11530
  if (m.distance > 20)
11531
11531
  return;
11532
11532
  const A = this.model.getAllLines().find(({ id: g }) => g === m.id);
@@ -11719,8 +11719,8 @@ void main() {
11719
11719
  }
11720
11720
  `;
11721
11721
  function wu(i) {
11722
- var b, y;
11723
- const t = (b = i.isMobile) != null ? b : !0, e = (y = i.useNormalVector) != null ? y : !0;
11722
+ var v, y;
11723
+ const t = (v = i.isMobile) != null ? v : !0, e = (y = i.useNormalVector) != null ? y : !0;
11724
11724
  let n = 10349931;
11725
11725
  e && i.ballColor >= 0 && (n = i.ballColor);
11726
11726
  const s = new ri(), o = new wf(0.3, 0.3), r = t ? xv : Dv, a = new ph().load(r);
@@ -11873,10 +11873,10 @@ class Yi extends To {
11873
11873
  if (!n)
11874
11874
  return;
11875
11875
  const s = this.five.camera, o = n.point.clone().project(s), r = this.container.clientWidth, a = this.container.clientHeight, l = new et(o.x * r, o.y * a), c = this.model.getAllLines().map((m) => {
11876
- const [A, p] = m.points, g = A.position.clone().project(s), b = p.position.clone().project(s);
11877
- if (!zn(g) && !zn(b))
11876
+ const [A, p] = m.points, g = A.position.clone().project(s), v = p.position.clone().project(s);
11877
+ if (!zn(g) && !zn(v))
11878
11878
  return null;
11879
- const y = new et(g.x * r, g.y * a), I = new et(b.x * r, b.y * a);
11879
+ const y = new et(g.x * r, g.y * a), I = new et(v.x * r, v.y * a);
11880
11880
  return { id: m.id, points: [y, I] };
11881
11881
  }).filter((m) => !!m);
11882
11882
  if (c.length === 0)
@@ -12542,13 +12542,13 @@ function Zv(i, t, e) {
12542
12542
  let { options: r } = t, { onChange: a } = t;
12543
12543
  const l = [];
12544
12544
  let c, d = null, h, u;
12545
- function m(g, b) {
12545
+ function m(g, v) {
12546
12546
  Qe[g ? "unshift" : "push"](() => {
12547
- l[b] = g, e(2, l);
12547
+ l[v] = g, e(2, l);
12548
12548
  });
12549
12549
  }
12550
- const A = (g, b) => {
12551
- a(g.key), e(4, d = b);
12550
+ const A = (g, v) => {
12551
+ a(g.key), e(4, d = v);
12552
12552
  };
12553
12553
  function p(g) {
12554
12554
  Qe[g ? "unshift" : "push"](() => {
@@ -12766,18 +12766,18 @@ function t0(i) {
12766
12766
  c() {
12767
12767
  t = D("div"), u && u.c(), e = K(), n = D("div"), s = D("div"), o = K(), r = D("div"), m && m.c(), a = K(), l = D("div"), ne(c.$$.fragment), w(s, "class", "mask svelte-468fdd"), w(l, "class", "mode-switcher svelte-468fdd"), w(r, "class", "center svelte-468fdd"), w(n, "class", "bottom svelte-468fdd"), w(t, "class", "Measure-Controller svelte-468fdd");
12768
12768
  },
12769
- m(g, b) {
12770
- B(g, t, b), u && u.m(t, null), x(t, e), x(t, n), x(n, s), x(n, o), x(n, r), m && m.m(r, null), x(r, a), x(r, l), ee(c, l, null), h = !0;
12769
+ m(g, v) {
12770
+ B(g, t, v), u && u.m(t, null), x(t, e), x(t, n), x(n, s), x(n, o), x(n, r), m && m.m(r, null), x(r, a), x(r, l), ee(c, l, null), h = !0;
12771
12771
  },
12772
- p(g, [b]) {
12772
+ p(g, [v]) {
12773
12773
  /*showExit*/
12774
- g[1] ? u ? (u.p(g, b), b & /*showExit*/
12774
+ g[1] ? u ? (u.p(g, v), v & /*showExit*/
12775
12775
  2 && M(u, 1)) : (u = pc(g), u.c(), M(u, 1), u.m(t, e)) : u && (de(), j(u, 1, 1, () => {
12776
12776
  u = null;
12777
12777
  }), he()), /*showController*/
12778
- g[5] ? m ? m.p(g, b) : (m = Ac(g), m.c(), m.m(r, a)) : m && (m.d(1), m = null);
12778
+ g[5] ? m ? m.p(g, v) : (m = Ac(g), m.c(), m.m(r, a)) : m && (m.d(1), m = null);
12779
12779
  const y = {};
12780
- b & /*i18n*/
12780
+ v & /*i18n*/
12781
12781
  4 && (y.options = [
12782
12782
  {
12783
12783
  key: "line",
@@ -12795,9 +12795,9 @@ function t0(i) {
12795
12795
  ),
12796
12796
  icon: gc
12797
12797
  }
12798
- ]), b & /*measureController*/
12798
+ ]), v & /*measureController*/
12799
12799
  1 && (y.onChange = /*func*/
12800
- g[8]), !d && b & /*setSwitcherActiveIndex*/
12800
+ g[8]), !d && v & /*setSwitcherActiveIndex*/
12801
12801
  16 && (d = !0, y.setIndex = /*setSwitcherActiveIndex*/
12802
12802
  g[4], ka(() => d = !1)), c.$set(y);
12803
12803
  },
@@ -13040,13 +13040,13 @@ function r0(i, t, e) {
13040
13040
  e(6, h = g);
13041
13041
  }
13042
13042
  }
13043
- function m(g, b) {
13043
+ function m(g, v) {
13044
13044
  Qe[g ? "unshift" : "push"](() => {
13045
- l[b] = g, e(2, l);
13045
+ l[v] = g, e(2, l);
13046
13046
  });
13047
13047
  }
13048
- const A = (g, b) => {
13049
- a(g.key), e(4, n = b);
13048
+ const A = (g, v) => {
13049
+ a(g.key), e(4, n = v);
13050
13050
  };
13051
13051
  function p(g) {
13052
13052
  Qe[g ? "unshift" : "push"](() => {
@@ -13391,17 +13391,17 @@ function f0(i) {
13391
13391
  )
13392
13392
  }
13393
13393
  });
13394
- let b = (
13394
+ let v = (
13395
13395
  /*showButton*/
13396
13396
  i[4] && Ec(i)
13397
13397
  );
13398
13398
  return {
13399
13399
  c() {
13400
- t = D("div"), A && A.c(), e = K(), n = D("div"), s = D("div"), o = K(), r = D("div"), p && p.c(), a = K(), l = D("div"), g && g.c(), c = K(), d = D("div"), ne(h.$$.fragment), u = K(), b && b.c(), w(s, "class", "mask svelte-ldjbp8"), w(d, "class", "main-button svelte-ldjbp8"), q(d, "forbid", !/*allowAddPoint*/
13400
+ t = D("div"), A && A.c(), e = K(), n = D("div"), s = D("div"), o = K(), r = D("div"), p && p.c(), a = K(), l = D("div"), g && g.c(), c = K(), d = D("div"), ne(h.$$.fragment), u = K(), v && v.c(), w(s, "class", "mask svelte-ldjbp8"), w(d, "class", "main-button svelte-ldjbp8"), q(d, "forbid", !/*allowAddPoint*/
13401
13401
  i[5]), w(l, "class", "controller svelte-ldjbp8"), w(r, "class", "center svelte-ldjbp8"), w(n, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
13402
13402
  },
13403
13403
  m(y, I) {
13404
- B(y, t, I), A && A.m(t, null), x(t, e), x(t, n), x(n, s), x(n, o), x(n, r), p && p.m(r, null), x(r, a), x(r, l), g && g.m(l, null), x(l, c), x(l, d), ee(h, d, null), x(l, u), b && b.m(l, null), m = !0;
13404
+ B(y, t, I), A && A.m(t, null), x(t, e), x(t, n), x(n, s), x(n, o), x(n, r), p && p.m(r, null), x(r, a), x(r, l), g && g.m(l, null), x(l, c), x(l, d), ee(h, d, null), x(l, u), v && v.m(l, null), m = !0;
13405
13405
  },
13406
13406
  p(y, [I]) {
13407
13407
  /*showExit*/
@@ -13434,19 +13434,19 @@ function f0(i) {
13434
13434
  ]), h.$set(k), (!m || I & /*allowAddPoint*/
13435
13435
  32) && q(d, "forbid", !/*allowAddPoint*/
13436
13436
  y[5]), /*showButton*/
13437
- y[4] ? b ? (b.p(y, I), I & /*showButton*/
13438
- 16 && M(b, 1)) : (b = Ec(y), b.c(), M(b, 1), b.m(l, null)) : b && (de(), j(b, 1, 1, () => {
13439
- b = null;
13437
+ y[4] ? v ? (v.p(y, I), I & /*showButton*/
13438
+ 16 && M(v, 1)) : (v = Ec(y), v.c(), M(v, 1), v.m(l, null)) : v && (de(), j(v, 1, 1, () => {
13439
+ v = null;
13440
13440
  }), he());
13441
13441
  },
13442
13442
  i(y) {
13443
- m || (M(A), M(p), M(g), M(h.$$.fragment, y), M(b), m = !0);
13443
+ m || (M(A), M(p), M(g), M(h.$$.fragment, y), M(v), m = !0);
13444
13444
  },
13445
13445
  o(y) {
13446
- j(A), j(p), j(g), j(h.$$.fragment, y), j(b), m = !1;
13446
+ j(A), j(p), j(g), j(h.$$.fragment, y), j(v), m = !1;
13447
13447
  },
13448
13448
  d(y) {
13449
- y && O(t), A && A.d(), p && p.d(), g && g.d(), te(h), b && b.d();
13449
+ y && O(t), A && A.d(), p && p.d(), g && g.d(), te(h), v && v.d();
13450
13450
  }
13451
13451
  };
13452
13452
  }
@@ -13475,7 +13475,7 @@ function m0(i, t, e) {
13475
13475
  e(3, d = F);
13476
13476
  }, g = () => {
13477
13477
  m(), S("allow");
13478
- }, b = () => {
13478
+ }, v = () => {
13479
13479
  p("complete");
13480
13480
  }, y = () => {
13481
13481
  n.currentMeasureType === "area" && d === "complete" && p("add");
@@ -13491,9 +13491,9 @@ function m0(i, t, e) {
13491
13491
  F.isEmpty && p("start");
13492
13492
  };
13493
13493
  wt(() => {
13494
- n.hook.on("revoke", R), n.hook.on("measureTypeChange", P), n.hook.on("modeChange", k), n.hook.on("pointsChange", I), n.hook.on("allowAddPointStateChange", S), n.hook.on("readyComplete", b), n.hook.on("notReadyComplete", y), n.hook.on("complete", k);
13494
+ n.hook.on("revoke", R), n.hook.on("measureTypeChange", P), n.hook.on("modeChange", k), n.hook.on("pointsChange", I), n.hook.on("allowAddPointStateChange", S), n.hook.on("readyComplete", v), n.hook.on("notReadyComplete", y), n.hook.on("complete", k);
13495
13495
  }), Ot(() => {
13496
- n.hook.off("measureTypeChange", P), n.hook.off("modeChange", k), n.hook.off("allowAddPointStateChange", S), n.hook.off("readyComplete", b), n.hook.off("pointsChange", I), n.hook.off("notReadyComplete", y), n.hook.off("complete", k);
13496
+ n.hook.off("measureTypeChange", P), n.hook.off("modeChange", k), n.hook.off("allowAddPointStateChange", S), n.hook.off("readyComplete", v), n.hook.off("pointsChange", I), n.hook.off("notReadyComplete", y), n.hook.off("complete", k);
13497
13497
  });
13498
13498
  const L = () => n.revoke(), Y = () => {
13499
13499
  d === "start" ? u() : d === "add" ? m() : (d === "end" || d === "complete") && g();
@@ -13591,7 +13591,7 @@ class p0 {
13591
13591
  return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((t = this.revoke) == null || t.dispose()), (e = this.mainController) == null || e.dispose(), this.disposers.forEach((n) => n()), this.disposers = [], this;
13592
13592
  }
13593
13593
  }
13594
- var kt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Xe = {}, A0 = {
13594
+ var Mt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Xe = {}, A0 = {
13595
13595
  get exports() {
13596
13596
  return Xe;
13597
13597
  },
@@ -13742,7 +13742,7 @@ function y0(i, t, e) {
13742
13742
  }), Ot(() => {
13743
13743
  n.hook.off("modeChange", m), n.hook.off("complete", A), n.hook.off("pointsChange", g), n.hook.off("measureTypeChange", p), h();
13744
13744
  });
13745
- function b(y) {
13745
+ function v(y) {
13746
13746
  Qe[y ? "unshift" : "push"](() => {
13747
13747
  l = y, e(1, l), e(6, r);
13748
13748
  });
@@ -13754,7 +13754,7 @@ function y0(i, t, e) {
13754
13754
  66 && l)
13755
13755
  for (const y in r)
13756
13756
  r.hasOwnProperty(y) && e(1, l.style[y] = r[y], l);
13757
- }, [a, l, u, n, s, o, r, b];
13757
+ }, [a, l, u, n, s, o, r, v];
13758
13758
  }
13759
13759
  class w0 extends le {
13760
13760
  constructor(t) {
@@ -14361,8 +14361,8 @@ function j0(i) {
14361
14361
  i[6]
14362
14362
  );
14363
14363
  },
14364
- m(g, b) {
14365
- B(g, t, b), x(t, e), x(t, n), x(t, s), x(s, o), x(s, r), x(s, a), x(s, l), x(s, c), x(t, d), x(t, h), x(h, u), u.innerHTML = /*content*/
14364
+ m(g, v) {
14365
+ B(g, t, v), x(t, e), x(t, n), x(t, s), x(s, o), x(s, r), x(s, a), x(s, l), x(s, c), x(t, d), x(t, h), x(h, u), u.innerHTML = /*content*/
14366
14366
  i[2], i[16](u), A || (p = be(
14367
14367
  u,
14368
14368
  "click",
@@ -14370,41 +14370,41 @@ function j0(i) {
14370
14370
  i[11]
14371
14371
  ), A = !0);
14372
14372
  },
14373
- p(g, [b]) {
14374
- b & /*contentWidth, contentZoom, contentHeight, upsideDown*/
14373
+ p(g, [v]) {
14374
+ v & /*contentWidth, contentZoom, contentHeight, upsideDown*/
14375
14375
  394 && z(e, "transform", "translate(" + /*contentWidth*/
14376
14376
  g[7] / 2 * /*contentZoom*/
14377
14377
  g[3] * 3 + "px, " + /*contentHeight*/
14378
14378
  g[8] / 2 * /*upsideDown*/
14379
14379
  (g[1] ? -1 : 1) * /*contentZoom*/
14380
14380
  g[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
14381
- g[3] + ")"), b & /*lineWidthZoom*/
14381
+ g[3] + ")"), v & /*lineWidthZoom*/
14382
14382
  16 && z(
14383
14383
  o,
14384
14384
  "width",
14385
14385
  /*lineWidthZoom*/
14386
14386
  g[4] + "rem"
14387
- ), b & /*content*/
14387
+ ), v & /*content*/
14388
14388
  4 && (u.innerHTML = /*content*/
14389
- g[2]), b & /*contentZoom*/
14389
+ g[2]), v & /*contentZoom*/
14390
14390
  8 && z(h, "transform", "scale(" + /*contentZoom*/
14391
- g[3] * 3 + ")"), b & /*id*/
14391
+ g[3] * 3 + ")"), v & /*id*/
14392
14392
  1 && m !== (m = "PanoSpatialTagPlugin__" + /*id*/
14393
- g[0]) && w(t, "id", m), b & /*lineHeightZoom*/
14393
+ g[0]) && w(t, "id", m), v & /*lineHeightZoom*/
14394
14394
  32 && z(t, "height", 20 * /*lineHeightZoom*/
14395
- g[5] + "rem"), b & /*upsideDown*/
14395
+ g[5] + "rem"), v & /*upsideDown*/
14396
14396
  2 && q(
14397
14397
  t,
14398
14398
  "PanoSpatialTagPlugin__tag-upside-down",
14399
14399
  /*upsideDown*/
14400
14400
  g[1]
14401
- ), b & /*show*/
14401
+ ), v & /*show*/
14402
14402
  1024 && q(
14403
14403
  t,
14404
14404
  "PanoSpatialTagPlugin__tag-show",
14405
14405
  /*show*/
14406
14406
  g[10]
14407
- ), b & /*show, destroying*/
14407
+ ), v & /*show, destroying*/
14408
14408
  1088 && q(
14409
14409
  t,
14410
14410
  "PanoSpatialTagPlugin__tag-hide",
@@ -14421,9 +14421,9 @@ function j0(i) {
14421
14421
  };
14422
14422
  }
14423
14423
  function z0(i, t, e) {
14424
- let { id: n } = t, { upsideDown: s } = t, { content: o } = t, { contentZoom: r } = t, { lineWidthZoom: a } = t, { lineHeightZoom: l } = t, { destroying: c = !1 } = t, { folded: d } = t, { dispose: h } = t, { events: u } = t, { hooks: m } = t, A = 0, p = 0, g, b, y = setTimeout(
14424
+ let { id: n } = t, { upsideDown: s } = t, { content: o } = t, { contentZoom: r } = t, { lineWidthZoom: a } = t, { lineHeightZoom: l } = t, { destroying: c = !1 } = t, { folded: d } = t, { dispose: h } = t, { events: u } = t, { hooks: m } = t, A = 0, p = 0, g, v, y = setTimeout(
14425
14425
  () => {
14426
- d || e(10, b = !0), y = void 0;
14426
+ d || e(10, v = !0), y = void 0;
14427
14427
  },
14428
14428
  100
14429
14429
  );
@@ -14452,7 +14452,7 @@ function z0(i, t, e) {
14452
14452
  if (P === null)
14453
14453
  return;
14454
14454
  const [R, L] = P.split("-PanoSpatialTagPlugin-");
14455
- n === R && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
14455
+ n === R && (m.emit("clickOrigin", { id: n, show: v }), y || (e(10, v = d), e(12, d = !d), y = setTimeout(
14456
14456
  () => {
14457
14457
  y = void 0;
14458
14458
  },
@@ -14460,7 +14460,7 @@ function z0(i, t, e) {
14460
14460
  )));
14461
14461
  });
14462
14462
  Uh(() => {
14463
- e(7, A = g.offsetWidth), e(8, p = g.offsetHeight), !y && e(10, b = !d);
14463
+ e(7, A = g.offsetWidth), e(8, p = g.offsetHeight), !y && e(10, v = !d);
14464
14464
  }), Ot(() => {
14465
14465
  m.emit("destroyTag", { id: n }), k(), h();
14466
14466
  });
@@ -14482,7 +14482,7 @@ function z0(i, t, e) {
14482
14482
  A,
14483
14483
  p,
14484
14484
  g,
14485
- b,
14485
+ v,
14486
14486
  I,
14487
14487
  d,
14488
14488
  h,
@@ -14678,7 +14678,7 @@ const jr = 1e-3, Oc = 0.01, N0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
14678
14678
  }, g = new T0({
14679
14679
  target: u,
14680
14680
  props: { origins: p.origins }
14681
- }), b = (fe, ye) => {
14681
+ }), v = (fe, ye) => {
14682
14682
  S(), ye && P();
14683
14683
  }, y = () => {
14684
14684
  p.forbidden && (p.forbidden = !1, P());
@@ -14774,12 +14774,12 @@ const jr = 1e-3, Oc = 0.01, N0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
14774
14774
  };
14775
14775
  let Re;
14776
14776
  for (let Ge = 0, Ze = ke.length; Ge < Ze; Ge++) {
14777
- const xt = ke[Ge];
14778
- if (It.weight > xt.weight) {
14777
+ const Dt = ke[Ge];
14778
+ if (It.weight > Dt.weight) {
14779
14779
  Re = Ge;
14780
14780
  break;
14781
14781
  }
14782
- if (It.distance < xt.distance) {
14782
+ if (It.distance < Dt.distance) {
14783
14783
  Re = Ge;
14784
14784
  break;
14785
14785
  }
@@ -14807,7 +14807,7 @@ const jr = 1e-3, Oc = 0.01, N0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
14807
14807
  gt.distance + Oc
14808
14808
  ), [It] = p.intersectObjects ? Ct.intersectObjects(p.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(Ct) : Ct.intersectObjects(i.model.children, !0);
14809
14809
  if (It && gt.distance - It.distance < Oc) {
14810
- const { position: Re, normal: Ge, id: Ze, replacement: xt } = gt, Si = new E.Plane().setFromNormalAndCoplanarPoint(Ge, Re), Rt = Re.clone().sub(me.position).cross(new E.Vector3(0, 1, 0)).setLength(jr), rn = [
14810
+ const { position: Re, normal: Ge, id: Ze, replacement: Dt } = gt, Si = new E.Plane().setFromNormalAndCoplanarPoint(Ge, Re), Rt = Re.clone().sub(me.position).cross(new E.Vector3(0, 1, 0)).setLength(jr), rn = [
14811
14811
  Re.clone(),
14812
14812
  Re.clone().add(Rt),
14813
14813
  Re.clone().add(new E.Vector3(0, jr, 0)).add(Rt),
@@ -14816,7 +14816,7 @@ const jr = 1e-3, Oc = 0.01, N0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
14816
14816
  target: Cn,
14817
14817
  props: {
14818
14818
  id: Ze,
14819
- content: p.render(p.template, xt),
14819
+ content: p.render(p.template, Dt),
14820
14820
  lineWidthZoom: 0.38 * (0.01 + me.position.distanceTo(Re) / d),
14821
14821
  lineHeightZoom: 0.4 + (me.position.distanceTo(Re) - c) / d * 0.6,
14822
14822
  contentZoom: 0.1 + me.position.distanceTo(Re) / d,
@@ -14874,11 +14874,11 @@ const jr = 1e-3, Oc = 0.01, N0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
14874
14874
  }, Z = () => {
14875
14875
  i.once("renderFrame", S);
14876
14876
  }, X = () => {
14877
- e || (e = i.getElement().parentElement), e && e.appendChild(u), p.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, P(), i.on("panoWillArrive", I), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", b);
14877
+ e || (e = i.getElement().parentElement), e && e.appendChild(u), p.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, P(), i.on("panoWillArrive", I), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", v);
14878
14878
  }, $ = () => {
14879
14879
  A = null, h.disposeAll(), g.$destroy(), p.tags.forEach((fe) => {
14880
14880
  fe.app.$destroy(), fe = null;
14881
- }), p.origins = [], p.tags = [], i.off("modelLoaded", X), i.off("renderFrame", S), i.off("panoWillArrive", I), i.off("panoArrived", y), i.off("modeChange", k), i.off("cameraUpdate", b), i.off("dispose", $), window.removeEventListener("resize", Z, !1);
14881
+ }), p.origins = [], p.tags = [], i.off("modelLoaded", X), i.off("renderFrame", S), i.off("panoWillArrive", I), i.off("panoArrived", y), i.off("modeChange", k), i.off("cameraUpdate", v), i.off("dispose", $), window.removeEventListener("resize", Z, !1);
14882
14882
  };
14883
14883
  return window.addEventListener("resize", Z, !1), (We = i == null ? void 0 : i.model) != null && We.loaded ? X() : i.once("modelLoaded", X), i.on("dispose", $), {
14884
14884
  load: L,
@@ -15163,7 +15163,7 @@ function J0(i, t, e) {
15163
15163
  _.set(Z.clone(), X.clone().sub(Z).normalize());
15164
15164
  const [ce] = H.model.intersectRaycaster(_);
15165
15165
  return !(ce && ce.distance + 1 < $);
15166
- }, b = (H, V) => {
15166
+ }, v = (H, V) => {
15167
15167
  const _ = new s(V.modelPosition[0], V.modelPosition[1], V.modelPosition[2]), Z = H.project2d(_), X = Z == null ? void 0 : Z.x, $ = Z == null ? void 0 : Z.y;
15168
15168
  return [X, $];
15169
15169
  }, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, I = (H, V) => A.length === 0 ? !1 : !!A.find((Z) => H[0] >= Z[0] - V && H[0] <= Z[0] + V || H[1] >= Z[1] - Vc && H[1] <= Z[1] + Vc);
@@ -15181,7 +15181,7 @@ function J0(i, t, e) {
15181
15181
  }
15182
15182
  const S = (H, V) => {
15183
15183
  const _ = V.map((X) => {
15184
- const $ = b(H, X), ce = X.name.length * Z0, se = k(X.modelPosition[1], c), Ce = (r ? g(H, X) : !0) && !I([$[0], $[1] + se], ce);
15184
+ const $ = v(H, X), ce = X.name.length * Z0, se = k(X.modelPosition[1], c), Ce = (r ? g(H, X) : !0) && !I([$[0], $[1] + se], ce);
15185
15185
  if (!Ce)
15186
15186
  return Ae(N({}, X), { visible: Ce });
15187
15187
  A.push($);
@@ -15367,13 +15367,13 @@ const eb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15367
15367
  rectPoints: [],
15368
15368
  enabled: !1,
15369
15369
  videoElement: t
15370
- }, n = Po(i), s = /* @__PURE__ */ new Map(), o = (b) => {
15371
- e.videoTexture && (e.videoTexture.image.muted = b);
15370
+ }, n = Po(i), s = /* @__PURE__ */ new Map(), o = (v) => {
15371
+ e.videoTexture && (e.videoTexture.image.muted = v);
15372
15372
  }, r = () => e.videoTexture ? e.videoTexture.image.muted : !0, a = () => {
15373
15373
  if (e.enabled || !e.videoTexture)
15374
15374
  return;
15375
15375
  e.enabled = !0, e.videoMeshes = c(), e.videoMeshes.forEach((y) => i.scene.add(y));
15376
- const b = () => {
15376
+ const v = () => {
15377
15377
  if (!e.videoTexture)
15378
15378
  return;
15379
15379
  const y = () => {
@@ -15391,30 +15391,30 @@ const eb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15391
15391
  });
15392
15392
  };
15393
15393
  if (i.model.loaded)
15394
- b();
15394
+ v();
15395
15395
  else
15396
- return i.once("modelLoaded", () => b());
15396
+ return i.once("modelLoaded", () => v());
15397
15397
  }, l = () => {
15398
- e.enabled && (e.enabled = !1, e.videoMeshes.forEach((b) => {
15399
- b.geometry.dispose(), b.material.dispose(), i.scene.remove(b), e.videoTexture && e.videoTexture.image.pause();
15398
+ e.enabled && (e.enabled = !1, e.videoMeshes.forEach((v) => {
15399
+ v.geometry.dispose(), v.material.dispose(), i.scene.remove(v), e.videoTexture && e.videoTexture.image.pause();
15400
15400
  }), e.videoMeshes = [], i.needsRender = !0);
15401
- }, c = () => e.rectPoints.map((b, y) => {
15401
+ }, c = () => e.rectPoints.map((v, y) => {
15402
15402
  const I = new E.BufferGeometry(), k = 128, S = [];
15403
- S.push(...b[0].toArray());
15403
+ S.push(...v[0].toArray());
15404
15404
  for (let Q = 1; Q < k; Q++)
15405
15405
  S.push(
15406
- b[0].x + (b[1].x - b[0].x) * Q / k,
15407
- b[0].y + (b[1].y - b[0].y) * Q / k,
15408
- b[0].z + (b[1].z - b[0].z) * Q / k
15406
+ v[0].x + (v[1].x - v[0].x) * Q / k,
15407
+ v[0].y + (v[1].y - v[0].y) * Q / k,
15408
+ v[0].z + (v[1].z - v[0].z) * Q / k
15409
15409
  );
15410
- S.push(...b[1].toArray()), S.push(...b[2].toArray());
15410
+ S.push(...v[1].toArray()), S.push(...v[2].toArray());
15411
15411
  for (let Q = 1; Q < k; Q++)
15412
15412
  S.push(
15413
- b[2].x + (b[3].x - b[2].x) * Q / k,
15414
- b[2].y + (b[3].y - b[2].y) * Q / k,
15415
- b[2].z + (b[3].z - b[2].z) * Q / k
15413
+ v[2].x + (v[3].x - v[2].x) * Q / k,
15414
+ v[2].y + (v[3].y - v[2].y) * Q / k,
15415
+ v[2].z + (v[3].z - v[2].z) * Q / k
15416
15416
  );
15417
- S.push(...b[3].toArray());
15417
+ S.push(...v[3].toArray());
15418
15418
  const P = [];
15419
15419
  P.push(0, 1);
15420
15420
  for (let Q = 1; Q < k; Q++)
@@ -15432,7 +15432,7 @@ const eb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15432
15432
  side: E.DoubleSide
15433
15433
  }), Y = new E.Mesh(I, L);
15434
15434
  Y.renderOrder = 1, Y.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
15435
- const F = [b[1], b[2], b[3], b[0]], G = n.create3DDomContainer(F);
15435
+ const F = [v[1], v[2], v[3], v[0]], G = n.create3DDomContainer(F);
15436
15436
  if (G != null && G.container) {
15437
15437
  const Q = document.createElement("div");
15438
15438
  Q.classList.add("play-icon"), Q.style.width = "100%", Q.style.height = "100%", Q.style.display = "flex", Q.style.justifyContent = "center", Q.style.alignItems = "center", Q.style.pointerEvents = "none", G.container.appendChild(Q);
@@ -15442,10 +15442,10 @@ const eb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15442
15442
  }, Q.appendChild(H), s.set(Y, G);
15443
15443
  }
15444
15444
  return Y;
15445
- }), d = (b) => {
15446
- const y = new E.TextureLoader().load(b);
15445
+ }), d = (v) => {
15446
+ const y = new E.TextureLoader().load(v);
15447
15447
  return y.minFilter = E.LinearFilter, y.magFilter = E.LinearFilter, y.format = E.RGBFormat, y;
15448
- }, h = (b, y) => {
15448
+ }, h = (v, y) => {
15449
15449
  let I = y;
15450
15450
  return new Promise((k, S) => {
15451
15451
  const P = new XMLHttpRequest();
@@ -15455,34 +15455,34 @@ const eb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15455
15455
  const R = window.URL || window.webkitURL;
15456
15456
  I = I || document.createElement("video"), I.crossOrigin = "anonymous", I.muted = !0, I.loop = !0, I.playsInline = !0, I.src = R.createObjectURL(P.response);
15457
15457
  const L = new E.VideoTexture(I);
15458
- L.minFilter = E.LinearFilter, L.magFilter = E.LinearFilter, L.format = E.RGBFormat, k(Object.assign(L, { videoSource: b }));
15458
+ L.minFilter = E.LinearFilter, L.magFilter = E.LinearFilter, L.format = E.RGBFormat, k(Object.assign(L, { videoSource: v }));
15459
15459
  } else
15460
15460
  S(new Error("Video download Error: " + P.status));
15461
- }, P.onerror = (R) => S(R), P.open("GET", b), P.responseType = "blob", P.send();
15461
+ }, P.onerror = (R) => S(R), P.open("GET", v), P.responseType = "blob", P.send();
15462
15462
  });
15463
- }, u = (b, y) => U(void 0, null, function* () {
15464
- const { video_src: I, video_poster_src: k, points: S } = b;
15465
- e.videoSource = I, e.rectPoints = $0(S).map((P) => P.map(({ x: R, y: L, z: Y }) => new E.Vector3(R, L, Y))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
15466
- }), m = (b) => {
15463
+ }, u = (v, y) => U(void 0, null, function* () {
15464
+ const { video_src: I, video_poster_src: k, points: S } = v;
15465
+ e.videoSource = I, e.rectPoints = $0(S).map((P) => P.map(({ x: R, y: L, z: Y }) => new E.Vector3(R, L, Y))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
15466
+ }), m = (v) => {
15467
15467
  if (!e.enabled)
15468
15468
  return;
15469
15469
  const y = e.videoMeshes;
15470
- if (!(!y || b.intersectObjects(y).length === 0))
15470
+ if (!(!y || v.intersectObjects(y).length === 0))
15471
15471
  return e.videoTexture && (e.videoTexture.image.paused || e.videoTexture.image.pause()), !1;
15472
- }, A = (b) => {
15473
- b === "Floorplan" ? n.hide() : n.show();
15472
+ }, A = (v) => {
15473
+ v === "Floorplan" ? n.hide() : n.show();
15474
15474
  }, p = () => {
15475
15475
  if (!e.enabled)
15476
15476
  return;
15477
- const b = i.camera.position;
15477
+ const v = i.camera.position;
15478
15478
  if (s.forEach((y, I) => {
15479
- const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), P = new E.Raycaster(b, S), R = i.model.intersectRaycaster(P)[0], L = k.distanceTo(b), Y = 0.01;
15479
+ const k = y.css3DObject.position.clone(), S = k.clone().sub(v).normalize(), P = new E.Raycaster(v, S), R = i.model.intersectRaycaster(P)[0], L = k.distanceTo(v), Y = 0.01;
15480
15480
  R && R.distance + Y < L ? y.hide() : y.show();
15481
15481
  }), !r()) {
15482
15482
  const y = e.rectPoints.find((I) => {
15483
15483
  const k = I[0].clone().add(I[1]).add(I[2]).add(I[3]).divideScalar(4);
15484
15484
  return I.map((S) => S.clone().add(k).divideScalar(2)).filter((S) => {
15485
- const P = S.distanceTo(b), R = new E.Raycaster(b, S.clone().sub(b).normalize()), L = i.model.intersectRaycaster(R)[0], Y = 0.01;
15485
+ const P = S.distanceTo(v), R = new E.Raycaster(v, S.clone().sub(v).normalize()), L = i.model.intersectRaycaster(R)[0], Y = 0.01;
15486
15486
  return !(L && L.distance + Y < P);
15487
15487
  }).length >= 2;
15488
15488
  });
@@ -15490,14 +15490,14 @@ const eb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15490
15490
  }
15491
15491
  }, g = () => {
15492
15492
  l(), e.videoTexture = void 0, i.off("modeChange", A), i.off("wantsTapGesture", m), i.off("panoArrived", p), i.off("renderFrame", () => {
15493
- e.videoMeshes.forEach((b) => {
15494
- b && (b.needsRender = !0);
15493
+ e.videoMeshes.forEach((v) => {
15494
+ v && (v.needsRender = !0);
15495
15495
  });
15496
15496
  });
15497
15497
  };
15498
15498
  return i.on("modeChange", A), i.on("wantsTapGesture", m), i.on("panoArrived", p), i.on("renderFrame", () => {
15499
- e.videoMeshes.forEach((b) => {
15500
- b && (b.needsRender = !0);
15499
+ e.videoMeshes.forEach((v) => {
15500
+ v && (v.needsRender = !0);
15501
15501
  });
15502
15502
  }), { enable: a, disable: l, load: u, dispose: g, state: e, css3DRenderPlugin: n };
15503
15503
  };
@@ -15895,7 +15895,7 @@ let fb = 11;
15895
15895
  function mb(i, t, e) {
15896
15896
  const { Vector3: n } = E;
15897
15897
  let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, u = (s == null ? void 0 : s.currentMode) === at.Mode.Panorama, m, A, p = [], g = !0;
15898
- const b = (V, _) => {
15898
+ const v = (V, _) => {
15899
15899
  const Z = V.camera.position.clone(), X = new n(_.modelPosition[0], _.modelPosition[1], _.modelPosition[2]), $ = X.distanceTo(Z);
15900
15900
  return c !== void 0 && V.state.mode === at.Mode.Panorama && $ > c ? !1 : Gc(V, X.clone().sub(Z).normalize(), Z, $);
15901
15901
  }, y = (V) => {
@@ -15910,7 +15910,7 @@ function mb(i, t, e) {
15910
15910
  return Ae(N({}, $), { visible: !1 });
15911
15911
  const ce = I(V, $);
15912
15912
  $.name.length * fb;
15913
- const se = cb($.modelPosition[1], l), we = V.currentMode === at.Mode.Panorama ? y(new n($.position[0], $.position[1], $.position[2])) : !0, Ce = o ? b(V, $) : !1, pe = we && !Ce;
15913
+ const se = cb($.modelPosition[1], l), we = V.currentMode === at.Mode.Panorama ? y(new n($.position[0], $.position[1], $.position[2])) : !0, Ce = o ? v(V, $) : !1, pe = we && !Ce;
15914
15914
  if (!pe)
15915
15915
  return Ae(N({}, $), { visible: pe });
15916
15916
  p.push(ce);
@@ -16231,8 +16231,8 @@ function wb(i, t, e) {
16231
16231
  const m = () => {
16232
16232
  if (!r || !a || !l || !o)
16233
16233
  return;
16234
- const g = o.current.clientWidth / window.innerWidth * 100, b = o.current.clientHeight / window.innerHeight * 100;
16235
- r <= g / 2 || r >= 100 - g / 2 || a <= b / 2 || a >= 100 - b / 2;
16234
+ const g = o.current.clientWidth / window.innerWidth * 100, v = o.current.clientHeight / window.innerHeight * 100;
16235
+ r <= g / 2 || r >= 100 - g / 2 || a <= v / 2 || a >= 100 - v / 2;
16236
16236
  }, A = (g) => {
16237
16237
  s && s();
16238
16238
  };
@@ -16349,7 +16349,7 @@ class xb extends vb {
16349
16349
  }), this.fixDoorPosition();
16350
16350
  });
16351
16351
  f(this, "fixDoorPosition", () => {
16352
- var d, h, u, m, A, p, g, b, y, I, k, S;
16352
+ var d, h, u, m, A, p, g, v, y, I, k, S;
16353
16353
  const { panoIndex: e, camera: n } = this.five;
16354
16354
  if (e === null)
16355
16355
  return;
@@ -16377,7 +16377,7 @@ class xb extends vb {
16377
16377
  }, X = {
16378
16378
  left: o * Q / 100,
16379
16379
  top: r * H / 100,
16380
- width: (y = (b = (g = _.children) == null ? void 0 : g[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
16380
+ width: (y = (v = (g = _.children) == null ? void 0 : g[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
16381
16381
  height: (S = (k = (I = _.children) == null ? void 0 : I[0]) == null ? void 0 : k.clientHeight) != null ? S : 0
16382
16382
  };
16383
16383
  Ib(Z, X) && (P++, c[L].transform = `translate(-50%, ${(P - 1) * 100 - 50}%)`, c[G].transform = `translate(-50%, ${P * 100 - 50}%)`);
@@ -16417,12 +16417,12 @@ class xb extends vb {
16417
16417
  const h = d.position;
16418
16418
  let u = 1 / 0, m;
16419
16419
  l.forEach((p) => {
16420
- const g = p.standingPosition, b = {
16420
+ const g = p.standingPosition, v = {
16421
16421
  x: g.x,
16422
16422
  y: g.y,
16423
16423
  z: g.z
16424
- }, y = Eb(h, b);
16425
- y < u && (u = y, m = b);
16424
+ }, y = Eb(h, v);
16425
+ y < u && (u = y, m = v);
16426
16426
  }), m && (h.y = m.y + 0.01);
16427
16427
  const A = new ie(h.x, h.y, h.z);
16428
16428
  A.add(new ie(-0.2, 1.8, 0).applyEuler(new sl(0, d.rad, 0))), this.doorLabels.push({
@@ -16556,13 +16556,13 @@ function Xb(i) {
16556
16556
  });
16557
16557
  const a = Math.ceil(r.getLength() * 100);
16558
16558
  r.arcLengthDivisions = a;
16559
- const l = r.getPoints(a), c = l.length, d = _b(l.map((P) => [P.x, P.z])), u = (c - 1) * Wb * Fb, m = 2 * c, A = m * Yb, p = m * Ub, g = new Uint32Array(u), b = new Float32Array(A), y = new Float32Array(p);
16559
+ const l = r.getPoints(a), c = l.length, d = _b(l.map((P) => [P.x, P.z])), u = (c - 1) * Wb * Fb, m = 2 * c, A = m * Yb, p = m * Ub, g = new Uint32Array(u), v = new Float32Array(A), y = new Float32Array(p);
16560
16560
  let I = 0, k = 0;
16561
16561
  for (let P = 0; P < l.length; P++) {
16562
16562
  const [R, L] = d[P][0], Y = l[P], { x: F, y: G, z: Q } = Y, H = new ie(F + R * s, G + 0.05, Q + L * s);
16563
- b[P * 6 + 0] = H.x, b[P * 6 + 1] = H.y, b[P * 6 + 2] = H.z;
16563
+ v[P * 6 + 0] = H.x, v[P * 6 + 1] = H.y, v[P * 6 + 2] = H.z;
16564
16564
  const V = new ie(F - R * s, G + 0.05, Q - L * s);
16565
- b[P * 6 + 3] = V.x, b[P * 6 + 4] = V.y, b[P * 6 + 5] = V.z, I += P > 0 ? l[P - 1].clone().sub(l[P]).length() : 0;
16565
+ v[P * 6 + 3] = V.x, v[P * 6 + 4] = V.y, v[P * 6 + 5] = V.z, I += P > 0 ? l[P - 1].clone().sub(l[P]).length() : 0;
16566
16566
  const _ = I / t / n;
16567
16567
  if (k = _, y[P * 4 + 0] = 0, y[P * 4 + 1] = _, y[P * 4 + 2] = 1, y[P * 4 + 3] = _, i.skipPositions) {
16568
16568
  const Z = new E.Vector3().lerpVectors(H, V, 0.5);
@@ -16572,7 +16572,7 @@ function Xb(i) {
16572
16572
  P !== l.length - 1 && (g[P * 6 + 0] = P * 2 + 0, g[P * 6 + 1] = P * 2 + 2, g[P * 6 + 2] = P * 2 + 1, g[P * 6 + 3] = P * 2 + 2, g[P * 6 + 4] = P * 2 + 3, g[P * 6 + 5] = P * 2 + 1);
16573
16573
  }
16574
16574
  const S = new E.BufferGeometry();
16575
- return S.setAttribute("position", new E.BufferAttribute(b, 3)), S.setAttribute("uv", new E.BufferAttribute(y, 2)), S.setIndex(new E.BufferAttribute(g, 1)), { geometry: S, maxU: k, curvePath: r, curvePoints: l };
16575
+ return S.setAttribute("position", new E.BufferAttribute(v, 3)), S.setAttribute("uv", new E.BufferAttribute(y, 2)), S.setIndex(new E.BufferAttribute(g, 1)), { geometry: S, maxU: k, curvePath: r, curvePoints: l };
16576
16576
  }
16577
16577
  function Zb(i) {
16578
16578
  if (Jb(i)) {
@@ -16598,11 +16598,11 @@ function qb(i, t) {
16598
16598
  if (e.position.length === 4)
16599
16599
  e.position.forEach((r, a) => {
16600
16600
  const l = o[a], c = new E.Mesh(n, l);
16601
- c.position.copy(jt(r)), s.push(c);
16601
+ c.position.copy(kt(r)), s.push(c);
16602
16602
  });
16603
16603
  else {
16604
16604
  const r = o[0], a = new E.Mesh(n, r);
16605
- a.position.copy(jt(e.position)), s.push(a);
16605
+ a.position.copy(kt(e.position)), s.push(a);
16606
16606
  }
16607
16607
  s.forEach((r) => {
16608
16608
  r.material.depthTest = !1, i.scene.add(r);
@@ -16992,11 +16992,11 @@ function $i(i, t, e) {
16992
16992
  if (i === "contain") {
16993
16993
  const [n, s, o, r] = t, a = n.distanceTo(s), l = o.distanceTo(r), c = n.distanceTo(r), d = s.distanceTo(o), h = a, u = c, m = h / u;
16994
16994
  if (m > e) {
16995
- const p = u * e, g = new E.Vector3().subVectors(s, n).multiplyScalar((a - p) / 2 / a), b = new E.Vector3().subVectors(o, r).multiplyScalar((l - p) / 2 / l);
16996
- return [n.clone().add(g), s.clone().sub(g), o.clone().sub(b), r.clone().add(b)];
16995
+ const p = u * e, g = new E.Vector3().subVectors(s, n).multiplyScalar((a - p) / 2 / a), v = new E.Vector3().subVectors(o, r).multiplyScalar((l - p) / 2 / l);
16996
+ return [n.clone().add(g), s.clone().sub(g), o.clone().sub(v), r.clone().add(v)];
16997
16997
  } else if (m < e) {
16998
- const p = h / e, g = new E.Vector3().subVectors(r, n).multiplyScalar((c - p) / 2 / c), b = new E.Vector3().subVectors(o, s).multiplyScalar((d - p) / 2 / d);
16999
- return [n.clone().add(g), s.clone().add(b), o.clone().sub(b), r.clone().sub(g)];
16998
+ const p = h / e, g = new E.Vector3().subVectors(r, n).multiplyScalar((c - p) / 2 / c), v = new E.Vector3().subVectors(o, s).multiplyScalar((d - p) / 2 / d);
16999
+ return [n.clone().add(g), s.clone().add(v), o.clone().sub(v), r.clone().sub(g)];
17000
17000
  } else
17001
17001
  return t;
17002
17002
  } else
@@ -17051,6 +17051,16 @@ let Bu = class extends E.Mesh {
17051
17051
  const e = this.parent;
17052
17052
  return e !== null && e.remove(this), this;
17053
17053
  }
17054
+ dispose() {
17055
+ this.traverse((e) => {
17056
+ if (e.isMesh) {
17057
+ const n = e;
17058
+ n.geometry.dispose(), (n.material instanceof Array ? n.material : [n.material]).forEach((o) => {
17059
+ o.dispose();
17060
+ });
17061
+ }
17062
+ });
17063
+ }
17054
17064
  };
17055
17065
  class Zc extends Bu {
17056
17066
  constructor(e, n, s) {
@@ -17068,7 +17078,15 @@ class Zc extends Bu {
17068
17078
  class ha extends Bu {
17069
17079
  // eslint-disable-next-line max-params
17070
17080
  constructor(e, n, s) {
17071
- const { videoCoverSrc: o, objectFit: r = "contain", playButton: a = "withText", paused: l = !0, videoTextureMap: c, ImageTextureMap: d } = s != null ? s : {};
17081
+ const {
17082
+ videoCoverSrc: o,
17083
+ objectFit: r = "contain",
17084
+ playButton: a = "withText",
17085
+ paused: l = !0,
17086
+ videoTextureMap: c,
17087
+ ImageTextureMap: d,
17088
+ domEvents: h
17089
+ } = s != null ? s : {};
17072
17090
  super();
17073
17091
  f(this, "isVideoPlane", !0);
17074
17092
  f(this, "name", "PanoTagPluginImagePlane");
@@ -17079,20 +17097,19 @@ class ha extends Bu {
17079
17097
  f(this, "videoCoverSrc");
17080
17098
  f(this, "domEvents");
17081
17099
  f(this, "disposers", []);
17082
- f(this, "domEventsListenerTemporaryList", []);
17083
17100
  f(this, "cornerPoints");
17084
17101
  f(this, "videoMesh");
17085
17102
  f(this, "coverMesh");
17086
17103
  f(this, "buttonMesh");
17087
17104
  f(this, "videoTextureMap");
17088
17105
  f(this, "ImageTextureMap");
17089
- this.cornerPoints = n, this.src = e, this.buttonSrc = (() => a === "withText" ? _a : a === "withoutText" ? ca : typeof a == "string" ? a : ca)(), this.videoCoverSrc = o, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = d, this.position.copy(sn(...n)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
17106
+ this.cornerPoints = n, this.src = e, this.buttonSrc = (() => a === "withText" ? _a : a === "withoutText" ? ca : typeof a == "string" ? a : ca)(), this.videoCoverSrc = o, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = d, this.domEvents = h, this.position.copy(sn(...n)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
17090
17107
  l ? this.addButtonMesh() : this.play(!0);
17091
17108
  }), this.addEventListener("removed", () => {
17092
17109
  this.remove(...this.children);
17093
17110
  }), this.addEventListener("dispose", () => {
17094
- var h;
17095
- this.domEventsListenerTemporaryList = [], (h = this.disposers) == null || h.forEach((u) => u == null ? void 0 : u());
17111
+ var u;
17112
+ (u = this.disposers) == null || u.forEach((m) => m == null ? void 0 : m());
17096
17113
  });
17097
17114
  }
17098
17115
  play(e = !1) {
@@ -17105,9 +17122,6 @@ class ha extends Bu {
17105
17122
  pause() {
17106
17123
  this.videoInstance && (this.videoInstance.pause(), this.showPauseUI().then(() => this.render()));
17107
17124
  }
17108
- initialDomEvents(e) {
17109
- this.domEvents || (this.domEvents = e, this.domEventsListenerTemporaryList.forEach((n) => this.addDomEventListener(...n)), this.domEventsListenerTemporaryList = []);
17110
- }
17111
17125
  initialRenderHooks(e) {
17112
17126
  const s = e(() => {
17113
17127
  var o;
@@ -17127,25 +17141,6 @@ class ha extends Bu {
17127
17141
  var e;
17128
17142
  this.videoMesh && (this.videoMesh.needsRender = !0), this.coverMesh && (this.coverMesh.needsRender = !0), this.buttonMesh && (this.buttonMesh.needsRender = !0), this.videoMesh && ((e = this.videoInstance) == null ? void 0 : e.paused) === !1 && (this.videoMesh.needsRender = !0);
17129
17143
  }
17130
- addAutoBindEventListener(...e) {
17131
- const n = e[0];
17132
- n.addEventListener("added", () => {
17133
- this.addDomEventListener(...e);
17134
- }), n.addEventListener("removed", () => {
17135
- this.removeDomEventListener(...e);
17136
- }), n.addEventListener("dispose", () => {
17137
- this.removeDomEventListener(...e);
17138
- });
17139
- }
17140
- addDomEventListener(...e) {
17141
- this.domEvents ? (this.domEvents.addEventListener(...e), this.disposers.push(() => {
17142
- var n;
17143
- return (n = this.domEvents) == null ? void 0 : n.removeEventListener(...e);
17144
- })) : this.domEventsListenerTemporaryList.push(e);
17145
- }
17146
- removeDomEventListener(...e) {
17147
- this.domEvents ? this.domEvents.removeEventListener(...e) : this.domEventsListenerTemporaryList = this.domEventsListenerTemporaryList.filter((n) => n !== e);
17148
- }
17149
17144
  addCoverMesh() {
17150
17145
  return U(this, null, function* () {
17151
17146
  if (this.children.includes(this.coverMesh))
@@ -17183,7 +17178,7 @@ class ha extends Bu {
17183
17178
  }))();
17184
17179
  if (!e)
17185
17180
  return;
17186
- this.addAutoBindEventListener(e, "click", () => {
17181
+ this.domEvents.addAutoBindEventListener(e, "click", () => {
17187
17182
  !this.videoInstance.paused && this.videoInstance.muted ? this.videoInstance.muted = !1 : this.pause();
17188
17183
  });
17189
17184
  const n = e.material.map.image;
@@ -17203,7 +17198,7 @@ class ha extends Bu {
17203
17198
  if (this.buttonMesh)
17204
17199
  return this.buttonMesh;
17205
17200
  const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, s = (p = (A = this.coverMesh) == null ? void 0 : A.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? p : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, s, o) / o * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = $i("contain", this.cornerPoints, l.image.width / l.image.height), d = new Br(c, new A1(l));
17206
- d.position.copy(new ie(0, 0, 0)), d.name = "buttonMesh", d.scale.set(a, a, a), this.addAutoBindEventListener(d, "click", () => this.play());
17201
+ d.position.copy(new ie(0, 0, 0)), d.name = "buttonMesh", d.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(d, "click", () => this.play());
17207
17202
  const h = new E.Vector3().crossVectors(new E.Vector3().subVectors(c[0], c[1]), new E.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
17208
17203
  return d.position.add(h), d;
17209
17204
  }))();
@@ -17683,7 +17678,7 @@ class b1 extends f1 {
17683
17678
  if (yt(e))
17684
17679
  return e.data.mediaPosition;
17685
17680
  if ($b(e))
17686
- return o1(this.five.camera.position, jt(e.position), jt(e.normal));
17681
+ return o1(this.five.camera.position, kt(e.position), kt(e.normal));
17687
17682
  }
17688
17683
  addObjectClickHandler(e, n, s) {
17689
17684
  if (!n || !this.domEvents)
@@ -17734,7 +17729,7 @@ class b1 extends f1 {
17734
17729
  }
17735
17730
  getTagNormal(e) {
17736
17731
  if (e.normal)
17737
- return jt(e.normal);
17732
+ return kt(e.normal);
17738
17733
  if (e.stickType === "Plane")
17739
17734
  return Or(e.position);
17740
17735
  if (e.stickType === "Model")
@@ -18476,8 +18471,8 @@ function Et(i) {
18476
18471
  }
18477
18472
  function M1(i, t, e) {
18478
18473
  let { inDelay: n = 1e3 } = t, { outDelay: s = 1e3 } = t, { visible: o = !0 } = t, { width: r = 0 } = t, { height: a = 0 } = t, { left: l = 0 } = t, { bottom: c = 0 } = t, { center: d = !1 } = t, { horizontalCenter: h = !1 } = t, { verticalCenter: u = !1 } = t, { blurRadius: m } = t, { spreadRadius: A } = t, { opacity: p = 0.15 } = t, { zIndex: g = -1 } = t;
18479
- return i.$$set = (b) => {
18480
- "inDelay" in b && e(0, n = b.inDelay), "outDelay" in b && e(1, s = b.outDelay), "visible" in b && e(2, o = b.visible), "width" in b && e(3, r = b.width), "height" in b && e(4, a = b.height), "left" in b && e(5, l = b.left), "bottom" in b && e(6, c = b.bottom), "center" in b && e(7, d = b.center), "horizontalCenter" in b && e(8, h = b.horizontalCenter), "verticalCenter" in b && e(9, u = b.verticalCenter), "blurRadius" in b && e(10, m = b.blurRadius), "spreadRadius" in b && e(11, A = b.spreadRadius), "opacity" in b && e(12, p = b.opacity), "zIndex" in b && e(13, g = b.zIndex);
18474
+ return i.$$set = (v) => {
18475
+ "inDelay" in v && e(0, n = v.inDelay), "outDelay" in v && e(1, s = v.outDelay), "visible" in v && e(2, o = v.visible), "width" in v && e(3, r = v.width), "height" in v && e(4, a = v.height), "left" in v && e(5, l = v.left), "bottom" in v && e(6, c = v.bottom), "center" in v && e(7, d = v.center), "horizontalCenter" in v && e(8, h = v.horizontalCenter), "verticalCenter" in v && e(9, u = v.verticalCenter), "blurRadius" in v && e(10, m = v.blurRadius), "spreadRadius" in v && e(11, A = v.spreadRadius), "opacity" in v && e(12, p = v.opacity), "zIndex" in v && e(13, g = v.zIndex);
18481
18476
  }, [
18482
18477
  n,
18483
18478
  s,
@@ -18681,7 +18676,7 @@ function j1(i, t, e) {
18681
18676
  const S = !a;
18682
18677
  m.reversed !== S && m.reverse(), m.play();
18683
18678
  }
18684
- function b(S) {
18679
+ function v(S) {
18685
18680
  if (l) {
18686
18681
  e(4, l = !1);
18687
18682
  return;
@@ -18722,7 +18717,7 @@ function j1(i, t, e) {
18722
18717
  }, i.$$.update = () => {
18723
18718
  i.$$.dirty & /*content*/
18724
18719
  1 && e(2, n = p(r)), i.$$.dirty & /*unfolded*/
18725
- 128 && b(a), i.$$.dirty & /*spanEleList*/
18720
+ 128 && v(a), i.$$.dirty & /*spanEleList*/
18726
18721
  2 && y(A.filter((S) => !!S));
18727
18722
  }, [
18728
18723
  r,
@@ -19144,7 +19139,7 @@ function sd(i) {
19144
19139
  ], l = !0);
19145
19140
  },
19146
19141
  p(u, m) {
19147
- var b, y;
19142
+ var v, y;
19148
19143
  const A = {};
19149
19144
  m & /*unfolded*/
19150
19145
  4 && (A.visible = /*unfolded*/
@@ -19160,7 +19155,7 @@ function sd(i) {
19160
19155
  16 && (p.outDelay = /*foldTextDelay*/
19161
19156
  u[4] + 40 * Math.min(
19162
19157
  /*textItems*/
19163
- (y = (b = u[6][0]) == null ? void 0 : b.content.length) != null ? y : 10,
19158
+ (y = (v = u[6][0]) == null ? void 0 : v.content.length) != null ? y : 10,
19164
19159
  15
19165
19160
  )), n.$set(p);
19166
19161
  const g = {};
@@ -19550,7 +19545,7 @@ function ad(i) {
19550
19545
  ee(t, m, A), B(m, e, A), B(m, n, A), x(n, s), x(s, o), x(o, r), ee(a, r, null), x(o, l), d && d.m(o, null), c = !0;
19551
19546
  },
19552
19547
  p(m, A) {
19553
- var b, y;
19548
+ var v, y;
19554
19549
  const p = {};
19555
19550
  A & /*unfolded*/
19556
19551
  2 && (p.unfolded = /*unfolded*/
@@ -19560,7 +19555,7 @@ function ad(i) {
19560
19555
  16 && (g.text = /*title*/
19561
19556
  m[4]), A & /*tag*/
19562
19557
  1 && (g.edit = /*tag*/
19563
- (b = m[0].data.edit) == null ? void 0 : b.title), A & /*titleMaxRows*/
19558
+ (v = m[0].data.edit) == null ? void 0 : v.title), A & /*titleMaxRows*/
19564
19559
  4 && (g.maxLine = /*titleMaxRows*/
19565
19560
  m[2]), a.$set(g), /*tag*/
19566
19561
  m[0].data.description || /*tag*/
@@ -20554,7 +20549,7 @@ const os = (i, t, e) => {
20554
20549
  }, ua = (i) => (t) => {
20555
20550
  i[t] && i[t]();
20556
20551
  };
20557
- var nw = "Expected a function", Hu = "__lodash_hash_undefined__", _u = 1 / 0, iw = "[object Function]", sw = "[object GeneratorFunction]", ow = "[object Symbol]", rw = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, aw = /^\w*$/, lw = /^\./, cw = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dw = /[\\^$.*+?()[\]{}|]/g, hw = /\\(\\)?/g, uw = /^\[object .+?Constructor\]$/, fw = typeof kt == "object" && kt && kt.Object === Object && kt, mw = typeof self == "object" && self && self.Object === Object && self, Xa = fw || mw || Function("return this")();
20552
+ var nw = "Expected a function", Hu = "__lodash_hash_undefined__", _u = 1 / 0, iw = "[object Function]", sw = "[object GeneratorFunction]", ow = "[object Symbol]", rw = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, aw = /^\w*$/, lw = /^\./, cw = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dw = /[\\^$.*+?()[\]{}|]/g, hw = /\\(\\)?/g, uw = /^\[object .+?Constructor\]$/, fw = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, mw = typeof self == "object" && self && self.Object === Object && self, Xa = fw || mw || Function("return this")();
20558
20553
  function gw(i, t) {
20559
20554
  return i == null ? void 0 : i[t];
20560
20555
  }
@@ -20794,134 +20789,134 @@ var Ys = qw, vo = {}, Kw = {
20794
20789
  }
20795
20790
  };
20796
20791
  (function(i, t) {
20797
- var e = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", b = "[object Set]", y = "[object String]", I = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", P = "[object DataView]", R = "[object Float32Array]", L = "[object Float64Array]", Y = "[object Int8Array]", F = "[object Int16Array]", G = "[object Int32Array]", Q = "[object Uint8Array]", H = "[object Uint8ClampedArray]", V = "[object Uint16Array]", _ = "[object Uint32Array]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, se = {};
20798
- se[o] = se[r] = se[S] = se[P] = se[a] = se[l] = se[R] = se[L] = se[Y] = se[F] = se[G] = se[u] = se[m] = se[A] = se[g] = se[b] = se[y] = se[I] = se[Q] = se[H] = se[V] = se[_] = !0, se[c] = se[d] = se[k] = !1;
20799
- var we = typeof kt == "object" && kt && kt.Object === Object && kt, Ce = typeof self == "object" && self && self.Object === Object && self, pe = we || Ce || Function("return this")(), Be = t && !t.nodeType && t, ve = Be && !0 && i && !i.nodeType && i, We = ve && ve.exports === Be;
20800
- function fe(v, C) {
20801
- return v.set(C[0], C[1]), v;
20792
+ var e = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", I = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", P = "[object DataView]", R = "[object Float32Array]", L = "[object Float64Array]", Y = "[object Int8Array]", F = "[object Int16Array]", G = "[object Int32Array]", Q = "[object Uint8Array]", H = "[object Uint8ClampedArray]", V = "[object Uint16Array]", _ = "[object Uint32Array]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, se = {};
20793
+ se[o] = se[r] = se[S] = se[P] = se[a] = se[l] = se[R] = se[L] = se[Y] = se[F] = se[G] = se[u] = se[m] = se[A] = se[g] = se[v] = se[y] = se[I] = se[Q] = se[H] = se[V] = se[_] = !0, se[c] = se[d] = se[k] = !1;
20794
+ var we = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, Ce = typeof self == "object" && self && self.Object === Object && self, pe = we || Ce || Function("return this")(), Be = t && !t.nodeType && t, ve = Be && !0 && i && !i.nodeType && i, We = ve && ve.exports === Be;
20795
+ function fe(b, C) {
20796
+ return b.set(C[0], C[1]), b;
20802
20797
  }
20803
- function ye(v, C) {
20804
- return v.add(C), v;
20798
+ function ye(b, C) {
20799
+ return b.add(C), b;
20805
20800
  }
20806
- function je(v, C) {
20807
- for (var T = -1, W = v ? v.length : 0; ++T < W && C(v[T], T, v) !== !1; )
20801
+ function je(b, C) {
20802
+ for (var T = -1, W = b ? b.length : 0; ++T < W && C(b[T], T, b) !== !1; )
20808
20803
  ;
20809
- return v;
20804
+ return b;
20810
20805
  }
20811
- function me(v, C) {
20812
- for (var T = -1, W = C.length, Ie = v.length; ++T < W; )
20813
- v[Ie + T] = C[T];
20814
- return v;
20806
+ function me(b, C) {
20807
+ for (var T = -1, W = C.length, Ie = b.length; ++T < W; )
20808
+ b[Ie + T] = C[T];
20809
+ return b;
20815
20810
  }
20816
- function qe(v, C, T, W) {
20817
- var Ie = -1, ge = v ? v.length : 0;
20818
- for (W && ge && (T = v[++Ie]); ++Ie < ge; )
20819
- T = C(T, v[Ie], Ie, v);
20811
+ function qe(b, C, T, W) {
20812
+ var Ie = -1, ge = b ? b.length : 0;
20813
+ for (W && ge && (T = b[++Ie]); ++Ie < ge; )
20814
+ T = C(T, b[Ie], Ie, b);
20820
20815
  return T;
20821
20816
  }
20822
- function ht(v, C) {
20823
- for (var T = -1, W = Array(v); ++T < v; )
20817
+ function ht(b, C) {
20818
+ for (var T = -1, W = Array(b); ++T < b; )
20824
20819
  W[T] = C(T);
20825
20820
  return W;
20826
20821
  }
20827
- function Me(v, C) {
20828
- return v == null ? void 0 : v[C];
20822
+ function Me(b, C) {
20823
+ return b == null ? void 0 : b[C];
20829
20824
  }
20830
- function it(v) {
20825
+ function it(b) {
20831
20826
  var C = !1;
20832
- if (v != null && typeof v.toString != "function")
20827
+ if (b != null && typeof b.toString != "function")
20833
20828
  try {
20834
- C = !!(v + "");
20829
+ C = !!(b + "");
20835
20830
  } catch (T) {
20836
20831
  }
20837
20832
  return C;
20838
20833
  }
20839
- function re(v) {
20840
- var C = -1, T = Array(v.size);
20841
- return v.forEach(function(W, Ie) {
20834
+ function re(b) {
20835
+ var C = -1, T = Array(b.size);
20836
+ return b.forEach(function(W, Ie) {
20842
20837
  T[++C] = [Ie, W];
20843
20838
  }), T;
20844
20839
  }
20845
- function ke(v, C) {
20840
+ function ke(b, C) {
20846
20841
  return function(T) {
20847
- return v(C(T));
20842
+ return b(C(T));
20848
20843
  };
20849
20844
  }
20850
- function He(v) {
20851
- var C = -1, T = Array(v.size);
20852
- return v.forEach(function(W) {
20845
+ function He(b) {
20846
+ var C = -1, T = Array(b.size);
20847
+ return b.forEach(function(W) {
20853
20848
  T[++C] = W;
20854
20849
  }), T;
20855
20850
  }
20856
20851
  var gt = Array.prototype, Ut = Function.prototype, Ct = Object.prototype, It = pe["__core-js_shared__"], Re = function() {
20857
- var v = /[^.]+$/.exec(It && It.keys && It.keys.IE_PROTO || "");
20858
- return v ? "Symbol(src)_1." + v : "";
20859
- }(), Ge = Ut.toString, Ze = Ct.hasOwnProperty, xt = Ct.toString, Si = RegExp(
20852
+ var b = /[^.]+$/.exec(It && It.keys && It.keys.IE_PROTO || "");
20853
+ return b ? "Symbol(src)_1." + b : "";
20854
+ }(), Ge = Ut.toString, Ze = Ct.hasOwnProperty, Dt = Ct.toString, Si = RegExp(
20860
20855
  "^" + Ge.call(Ze).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
20861
- ), Rt = We ? pe.Buffer : void 0, rn = pe.Symbol, Cn = pe.Uint8Array, pt = ke(Object.getPrototypeOf, Object), Qn = Object.create, Gn = Ct.propertyIsEnumerable, Qo = gt.splice, Ti = Object.getOwnPropertySymbols, Nn = Rt ? Rt.isBuffer : void 0, As = ke(Object.keys, Object), Hn = St(pe, "DataView"), In = St(pe, "Map"), Dt = St(pe, "Promise"), _n = St(pe, "Set"), Li = St(pe, "WeakMap"), Pn = St(Object, "create"), ji = ut(Hn), En = ut(In), zi = ut(Dt), Oi = ut(_n), Bi = ut(Li), an = rn ? rn.prototype : void 0, vs = an ? an.valueOf : void 0;
20862
- function Xt(v) {
20863
- var C = -1, T = v ? v.length : 0;
20856
+ ), Rt = We ? pe.Buffer : void 0, rn = pe.Symbol, Cn = pe.Uint8Array, pt = ke(Object.getPrototypeOf, Object), Qn = Object.create, Gn = Ct.propertyIsEnumerable, Qo = gt.splice, Ti = Object.getOwnPropertySymbols, Nn = Rt ? Rt.isBuffer : void 0, As = ke(Object.keys, Object), Hn = Tt(pe, "DataView"), In = Tt(pe, "Map"), St = Tt(pe, "Promise"), _n = Tt(pe, "Set"), Li = Tt(pe, "WeakMap"), Pn = Tt(Object, "create"), ji = ut(Hn), En = ut(In), zi = ut(St), Oi = ut(_n), Bi = ut(Li), an = rn ? rn.prototype : void 0, vs = an ? an.valueOf : void 0;
20857
+ function Xt(b) {
20858
+ var C = -1, T = b ? b.length : 0;
20864
20859
  for (this.clear(); ++C < T; ) {
20865
- var W = v[C];
20860
+ var W = b[C];
20866
20861
  this.set(W[0], W[1]);
20867
20862
  }
20868
20863
  }
20869
20864
  function Go() {
20870
20865
  this.__data__ = Pn ? Pn(null) : {};
20871
20866
  }
20872
- function No(v) {
20873
- return this.has(v) && delete this.__data__[v];
20867
+ function No(b) {
20868
+ return this.has(b) && delete this.__data__[b];
20874
20869
  }
20875
- function Ho(v) {
20870
+ function Ho(b) {
20876
20871
  var C = this.__data__;
20877
20872
  if (Pn) {
20878
- var T = C[v];
20873
+ var T = C[b];
20879
20874
  return T === n ? void 0 : T;
20880
20875
  }
20881
- return Ze.call(C, v) ? C[v] : void 0;
20876
+ return Ze.call(C, b) ? C[b] : void 0;
20882
20877
  }
20883
- function bs(v) {
20878
+ function bs(b) {
20884
20879
  var C = this.__data__;
20885
- return Pn ? C[v] !== void 0 : Ze.call(C, v);
20880
+ return Pn ? C[b] !== void 0 : Ze.call(C, b);
20886
20881
  }
20887
- function Ri(v, C) {
20882
+ function Ri(b, C) {
20888
20883
  var T = this.__data__;
20889
- return T[v] = Pn && C === void 0 ? n : C, this;
20884
+ return T[b] = Pn && C === void 0 ? n : C, this;
20890
20885
  }
20891
20886
  Xt.prototype.clear = Go, Xt.prototype.delete = No, Xt.prototype.get = Ho, Xt.prototype.has = bs, Xt.prototype.set = Ri;
20892
- function Ke(v) {
20893
- var C = -1, T = v ? v.length : 0;
20887
+ function Ke(b) {
20888
+ var C = -1, T = b ? b.length : 0;
20894
20889
  for (this.clear(); ++C < T; ) {
20895
- var W = v[C];
20890
+ var W = b[C];
20896
20891
  this.set(W[0], W[1]);
20897
20892
  }
20898
20893
  }
20899
20894
  function _o() {
20900
20895
  this.__data__ = [];
20901
20896
  }
20902
- function Wo(v) {
20903
- var C = this.__data__, T = Fn(C, v);
20897
+ function Wo(b) {
20898
+ var C = this.__data__, T = Fn(C, b);
20904
20899
  if (T < 0)
20905
20900
  return !1;
20906
20901
  var W = C.length - 1;
20907
20902
  return T == W ? C.pop() : Qo.call(C, T, 1), !0;
20908
20903
  }
20909
- function Fo(v) {
20910
- var C = this.__data__, T = Fn(C, v);
20904
+ function Fo(b) {
20905
+ var C = this.__data__, T = Fn(C, b);
20911
20906
  return T < 0 ? void 0 : C[T][1];
20912
20907
  }
20913
- function Yo(v) {
20914
- return Fn(this.__data__, v) > -1;
20908
+ function Yo(b) {
20909
+ return Fn(this.__data__, b) > -1;
20915
20910
  }
20916
- function Uo(v, C) {
20917
- var T = this.__data__, W = Fn(T, v);
20918
- return W < 0 ? T.push([v, C]) : T[W][1] = C, this;
20911
+ function Uo(b, C) {
20912
+ var T = this.__data__, W = Fn(T, b);
20913
+ return W < 0 ? T.push([b, C]) : T[W][1] = C, this;
20919
20914
  }
20920
20915
  Ke.prototype.clear = _o, Ke.prototype.delete = Wo, Ke.prototype.get = Fo, Ke.prototype.has = Yo, Ke.prototype.set = Uo;
20921
- function st(v) {
20922
- var C = -1, T = v ? v.length : 0;
20916
+ function st(b) {
20917
+ var C = -1, T = b ? b.length : 0;
20923
20918
  for (this.clear(); ++C < T; ) {
20924
- var W = v[C];
20919
+ var W = b[C];
20925
20920
  this.set(W[0], W[1]);
20926
20921
  }
20927
20922
  }
@@ -20932,187 +20927,187 @@ var Ys = qw, vo = {}, Kw = {
20932
20927
  string: new Xt()
20933
20928
  };
20934
20929
  }
20935
- function Zo(v) {
20936
- return Mn(this, v).delete(v);
20930
+ function Zo(b) {
20931
+ return Mn(this, b).delete(b);
20937
20932
  }
20938
- function Jo(v) {
20939
- return Mn(this, v).get(v);
20933
+ function Jo(b) {
20934
+ return Mn(this, b).get(b);
20940
20935
  }
20941
- function qo(v) {
20942
- return Mn(this, v).has(v);
20936
+ function qo(b) {
20937
+ return Mn(this, b).has(b);
20943
20938
  }
20944
- function Ko(v, C) {
20945
- return Mn(this, v).set(v, C), this;
20939
+ function Ko(b, C) {
20940
+ return Mn(this, b).set(b, C), this;
20946
20941
  }
20947
20942
  st.prototype.clear = Xo, st.prototype.delete = Zo, st.prototype.get = Jo, st.prototype.has = qo, st.prototype.set = Ko;
20948
- function At(v) {
20949
- this.__data__ = new Ke(v);
20943
+ function At(b) {
20944
+ this.__data__ = new Ke(b);
20950
20945
  }
20951
20946
  function $o() {
20952
20947
  this.__data__ = new Ke();
20953
20948
  }
20954
- function er(v) {
20955
- return this.__data__.delete(v);
20949
+ function er(b) {
20950
+ return this.__data__.delete(b);
20956
20951
  }
20957
- function tr(v) {
20958
- return this.__data__.get(v);
20952
+ function tr(b) {
20953
+ return this.__data__.get(b);
20959
20954
  }
20960
- function nr(v) {
20961
- return this.__data__.has(v);
20955
+ function nr(b) {
20956
+ return this.__data__.has(b);
20962
20957
  }
20963
- function ir(v, C) {
20958
+ function ir(b, C) {
20964
20959
  var T = this.__data__;
20965
20960
  if (T instanceof Ke) {
20966
20961
  var W = T.__data__;
20967
20962
  if (!In || W.length < e - 1)
20968
- return W.push([v, C]), this;
20963
+ return W.push([b, C]), this;
20969
20964
  T = this.__data__ = new st(W);
20970
20965
  }
20971
- return T.set(v, C), this;
20966
+ return T.set(b, C), this;
20972
20967
  }
20973
20968
  At.prototype.clear = $o, At.prototype.delete = er, At.prototype.get = tr, At.prototype.has = nr, At.prototype.set = ir;
20974
- function Wn(v, C) {
20975
- var T = Ni(v) || Un(v) ? ht(v.length, String) : [], W = T.length, Ie = !!W;
20976
- for (var ge in v)
20977
- (C || Ze.call(v, ge)) && !(Ie && (ge == "length" || Ar(ge, W))) && T.push(ge);
20969
+ function Wn(b, C) {
20970
+ var T = Ni(b) || Un(b) ? ht(b.length, String) : [], W = T.length, Ie = !!W;
20971
+ for (var ge in b)
20972
+ (C || Ze.call(b, ge)) && !(Ie && (ge == "length" || Ar(ge, W))) && T.push(ge);
20978
20973
  return T;
20979
20974
  }
20980
- function ys(v, C, T) {
20981
- var W = v[C];
20982
- (!(Ze.call(v, C) && Es(W, T)) || T === void 0 && !(C in v)) && (v[C] = T);
20975
+ function ys(b, C, T) {
20976
+ var W = b[C];
20977
+ (!(Ze.call(b, C) && Es(W, T)) || T === void 0 && !(C in b)) && (b[C] = T);
20983
20978
  }
20984
- function Fn(v, C) {
20985
- for (var T = v.length; T--; )
20986
- if (Es(v[T][0], C))
20979
+ function Fn(b, C) {
20980
+ for (var T = b.length; T--; )
20981
+ if (Es(b[T][0], C))
20987
20982
  return T;
20988
20983
  return -1;
20989
20984
  }
20990
- function Vt(v, C) {
20991
- return v && Gi(C, _i(C), v);
20985
+ function Vt(b, C) {
20986
+ return b && Gi(C, _i(C), b);
20992
20987
  }
20993
- function Vi(v, C, T, W, Ie, ge, De) {
20988
+ function Vi(b, C, T, W, Ie, ge, De) {
20994
20989
  var Te;
20995
- if (W && (Te = ge ? W(v, Ie, ge, De) : W(v)), Te !== void 0)
20990
+ if (W && (Te = ge ? W(b, Ie, ge, De) : W(b)), Te !== void 0)
20996
20991
  return Te;
20997
- if (!Gt(v))
20998
- return v;
20999
- var Fe = Ni(v);
20992
+ if (!Gt(b))
20993
+ return b;
20994
+ var Fe = Ni(b);
21000
20995
  if (Fe) {
21001
- if (Te = gr(v), !C)
21002
- return ur(v, Te);
20996
+ if (Te = gr(b), !C)
20997
+ return ur(b, Te);
21003
20998
  } else {
21004
- var ze = Jt(v), ot = ze == d || ze == h;
21005
- if (ks(v))
21006
- return Yn(v, C);
20999
+ var ze = Jt(b), ot = ze == d || ze == h;
21000
+ if (ks(b))
21001
+ return Yn(b, C);
21007
21002
  if (ze == A || ze == o || ot && !ge) {
21008
- if (it(v))
21009
- return ge ? v : {};
21010
- if (Te = Qt(ot ? {} : v), !C)
21011
- return fr(v, Vt(Te, v));
21003
+ if (it(b))
21004
+ return ge ? b : {};
21005
+ if (Te = Qt(ot ? {} : b), !C)
21006
+ return fr(b, Vt(Te, b));
21012
21007
  } else {
21013
21008
  if (!se[ze])
21014
- return ge ? v : {};
21015
- Te = pr(v, ze, Vi, C);
21009
+ return ge ? b : {};
21010
+ Te = pr(b, ze, Vi, C);
21016
21011
  }
21017
21012
  }
21018
21013
  De || (De = new At());
21019
- var vt = De.get(v);
21014
+ var vt = De.get(b);
21020
21015
  if (vt)
21021
21016
  return vt;
21022
- if (De.set(v, Te), !Fe)
21023
- var Ue = T ? mr(v) : _i(v);
21024
- return je(Ue || v, function(rt, $e) {
21025
- Ue && ($e = rt, rt = v[$e]), ys(Te, $e, Vi(rt, C, T, W, $e, v, De));
21017
+ if (De.set(b, Te), !Fe)
21018
+ var Ue = T ? mr(b) : _i(b);
21019
+ return je(Ue || b, function(rt, $e) {
21020
+ Ue && ($e = rt, rt = b[$e]), ys(Te, $e, Vi(rt, C, T, W, $e, b, De));
21026
21021
  }), Te;
21027
21022
  }
21028
- function sr(v) {
21029
- return Gt(v) ? Qn(v) : {};
21023
+ function sr(b) {
21024
+ return Gt(b) ? Qn(b) : {};
21030
21025
  }
21031
- function or(v, C, T) {
21032
- var W = C(v);
21033
- return Ni(v) ? W : me(W, T(v));
21026
+ function or(b, C, T) {
21027
+ var W = C(b);
21028
+ return Ni(b) ? W : me(W, T(b));
21034
21029
  }
21035
- function rr(v) {
21036
- return xt.call(v);
21030
+ function rr(b) {
21031
+ return Dt.call(b);
21037
21032
  }
21038
- function ar(v) {
21039
- if (!Gt(v) || br(v))
21033
+ function ar(b) {
21034
+ if (!Gt(b) || br(b))
21040
21035
  return !1;
21041
- var C = Hi(v) || it(v) ? Si : $;
21042
- return C.test(ut(v));
21036
+ var C = Hi(b) || it(b) ? Si : $;
21037
+ return C.test(ut(b));
21043
21038
  }
21044
- function lr(v) {
21045
- if (!Is(v))
21046
- return As(v);
21039
+ function lr(b) {
21040
+ if (!Is(b))
21041
+ return As(b);
21047
21042
  var C = [];
21048
- for (var T in Object(v))
21049
- Ze.call(v, T) && T != "constructor" && C.push(T);
21043
+ for (var T in Object(b))
21044
+ Ze.call(b, T) && T != "constructor" && C.push(T);
21050
21045
  return C;
21051
21046
  }
21052
- function Yn(v, C) {
21047
+ function Yn(b, C) {
21053
21048
  if (C)
21054
- return v.slice();
21055
- var T = new v.constructor(v.length);
21056
- return v.copy(T), T;
21049
+ return b.slice();
21050
+ var T = new b.constructor(b.length);
21051
+ return b.copy(T), T;
21057
21052
  }
21058
- function Qi(v) {
21059
- var C = new v.constructor(v.byteLength);
21060
- return new Cn(C).set(new Cn(v)), C;
21053
+ function Qi(b) {
21054
+ var C = new b.constructor(b.byteLength);
21055
+ return new Cn(C).set(new Cn(b)), C;
21061
21056
  }
21062
- function kn(v, C) {
21063
- var T = C ? Qi(v.buffer) : v.buffer;
21064
- return new v.constructor(T, v.byteOffset, v.byteLength);
21057
+ function kn(b, C) {
21058
+ var T = C ? Qi(b.buffer) : b.buffer;
21059
+ return new b.constructor(T, b.byteOffset, b.byteLength);
21065
21060
  }
21066
- function ws(v, C, T) {
21067
- var W = C ? T(re(v), !0) : re(v);
21068
- return qe(W, fe, new v.constructor());
21061
+ function ws(b, C, T) {
21062
+ var W = C ? T(re(b), !0) : re(b);
21063
+ return qe(W, fe, new b.constructor());
21069
21064
  }
21070
- function Cs(v) {
21071
- var C = new v.constructor(v.source, X.exec(v));
21072
- return C.lastIndex = v.lastIndex, C;
21065
+ function Cs(b) {
21066
+ var C = new b.constructor(b.source, X.exec(b));
21067
+ return C.lastIndex = b.lastIndex, C;
21073
21068
  }
21074
- function cr(v, C, T) {
21075
- var W = C ? T(He(v), !0) : He(v);
21076
- return qe(W, ye, new v.constructor());
21069
+ function cr(b, C, T) {
21070
+ var W = C ? T(He(b), !0) : He(b);
21071
+ return qe(W, ye, new b.constructor());
21077
21072
  }
21078
- function dr(v) {
21079
- return vs ? Object(vs.call(v)) : {};
21073
+ function dr(b) {
21074
+ return vs ? Object(vs.call(b)) : {};
21080
21075
  }
21081
- function hr(v, C) {
21082
- var T = C ? Qi(v.buffer) : v.buffer;
21083
- return new v.constructor(T, v.byteOffset, v.length);
21076
+ function hr(b, C) {
21077
+ var T = C ? Qi(b.buffer) : b.buffer;
21078
+ return new b.constructor(T, b.byteOffset, b.length);
21084
21079
  }
21085
- function ur(v, C) {
21086
- var T = -1, W = v.length;
21080
+ function ur(b, C) {
21081
+ var T = -1, W = b.length;
21087
21082
  for (C || (C = Array(W)); ++T < W; )
21088
- C[T] = v[T];
21083
+ C[T] = b[T];
21089
21084
  return C;
21090
21085
  }
21091
- function Gi(v, C, T, W) {
21086
+ function Gi(b, C, T, W) {
21092
21087
  T || (T = {});
21093
21088
  for (var Ie = -1, ge = C.length; ++Ie < ge; ) {
21094
- var De = C[Ie], Te = W ? W(T[De], v[De], De, T, v) : void 0;
21095
- ys(T, De, Te === void 0 ? v[De] : Te);
21089
+ var De = C[Ie], Te = W ? W(T[De], b[De], De, T, b) : void 0;
21090
+ ys(T, De, Te === void 0 ? b[De] : Te);
21096
21091
  }
21097
21092
  return T;
21098
21093
  }
21099
- function fr(v, C) {
21100
- return Gi(v, Zt(v), C);
21094
+ function fr(b, C) {
21095
+ return Gi(b, Zt(b), C);
21101
21096
  }
21102
- function mr(v) {
21103
- return or(v, _i, Zt);
21097
+ function mr(b) {
21098
+ return or(b, _i, Zt);
21104
21099
  }
21105
- function Mn(v, C) {
21106
- var T = v.__data__;
21100
+ function Mn(b, C) {
21101
+ var T = b.__data__;
21107
21102
  return vr(C) ? T[typeof C == "string" ? "string" : "hash"] : T.map;
21108
21103
  }
21109
- function St(v, C) {
21110
- var T = Me(v, C);
21104
+ function Tt(b, C) {
21105
+ var T = Me(b, C);
21111
21106
  return ar(T) ? T : void 0;
21112
21107
  }
21113
21108
  var Zt = Ti ? ke(Ti, Object) : wr, Jt = rr;
21114
- (Hn && Jt(new Hn(new ArrayBuffer(1))) != P || In && Jt(new In()) != u || Dt && Jt(Dt.resolve()) != p || _n && Jt(new _n()) != b || Li && Jt(new Li()) != k) && (Jt = function(v) {
21115
- var C = xt.call(v), T = C == A ? v.constructor : void 0, W = T ? ut(T) : void 0;
21109
+ (Hn && Jt(new Hn(new ArrayBuffer(1))) != P || In && Jt(new In()) != u || St && Jt(St.resolve()) != p || _n && Jt(new _n()) != v || Li && Jt(new Li()) != k) && (Jt = function(b) {
21110
+ var C = Dt.call(b), T = C == A ? b.constructor : void 0, W = T ? ut(T) : void 0;
21116
21111
  if (W)
21117
21112
  switch (W) {
21118
21113
  case ji:
@@ -21122,29 +21117,29 @@ var Ys = qw, vo = {}, Kw = {
21122
21117
  case zi:
21123
21118
  return p;
21124
21119
  case Oi:
21125
- return b;
21120
+ return v;
21126
21121
  case Bi:
21127
21122
  return k;
21128
21123
  }
21129
21124
  return C;
21130
21125
  });
21131
- function gr(v) {
21132
- var C = v.length, T = v.constructor(C);
21133
- return C && typeof v[0] == "string" && Ze.call(v, "index") && (T.index = v.index, T.input = v.input), T;
21126
+ function gr(b) {
21127
+ var C = b.length, T = b.constructor(C);
21128
+ return C && typeof b[0] == "string" && Ze.call(b, "index") && (T.index = b.index, T.input = b.input), T;
21134
21129
  }
21135
- function Qt(v) {
21136
- return typeof v.constructor == "function" && !Is(v) ? sr(pt(v)) : {};
21130
+ function Qt(b) {
21131
+ return typeof b.constructor == "function" && !Is(b) ? sr(pt(b)) : {};
21137
21132
  }
21138
- function pr(v, C, T, W) {
21139
- var Ie = v.constructor;
21133
+ function pr(b, C, T, W) {
21134
+ var Ie = b.constructor;
21140
21135
  switch (C) {
21141
21136
  case S:
21142
- return Qi(v);
21137
+ return Qi(b);
21143
21138
  case a:
21144
21139
  case l:
21145
- return new Ie(+v);
21140
+ return new Ie(+b);
21146
21141
  case P:
21147
- return kn(v, W);
21142
+ return kn(b, W);
21148
21143
  case R:
21149
21144
  case L:
21150
21145
  case Y:
@@ -21154,80 +21149,80 @@ var Ys = qw, vo = {}, Kw = {
21154
21149
  case H:
21155
21150
  case V:
21156
21151
  case _:
21157
- return hr(v, W);
21152
+ return hr(b, W);
21158
21153
  case u:
21159
- return ws(v, W, T);
21154
+ return ws(b, W, T);
21160
21155
  case m:
21161
21156
  case y:
21162
- return new Ie(v);
21157
+ return new Ie(b);
21163
21158
  case g:
21164
- return Cs(v);
21165
- case b:
21166
- return cr(v, W, T);
21159
+ return Cs(b);
21160
+ case v:
21161
+ return cr(b, W, T);
21167
21162
  case I:
21168
- return dr(v);
21163
+ return dr(b);
21169
21164
  }
21170
21165
  }
21171
- function Ar(v, C) {
21172
- return C = C == null ? s : C, !!C && (typeof v == "number" || ce.test(v)) && v > -1 && v % 1 == 0 && v < C;
21166
+ function Ar(b, C) {
21167
+ return C = C == null ? s : C, !!C && (typeof b == "number" || ce.test(b)) && b > -1 && b % 1 == 0 && b < C;
21173
21168
  }
21174
- function vr(v) {
21175
- var C = typeof v;
21176
- return C == "string" || C == "number" || C == "symbol" || C == "boolean" ? v !== "__proto__" : v === null;
21169
+ function vr(b) {
21170
+ var C = typeof b;
21171
+ return C == "string" || C == "number" || C == "symbol" || C == "boolean" ? b !== "__proto__" : b === null;
21177
21172
  }
21178
- function br(v) {
21179
- return !!Re && Re in v;
21173
+ function br(b) {
21174
+ return !!Re && Re in b;
21180
21175
  }
21181
- function Is(v) {
21182
- var C = v && v.constructor, T = typeof C == "function" && C.prototype || Ct;
21183
- return v === T;
21176
+ function Is(b) {
21177
+ var C = b && b.constructor, T = typeof C == "function" && C.prototype || Ct;
21178
+ return b === T;
21184
21179
  }
21185
- function ut(v) {
21186
- if (v != null) {
21180
+ function ut(b) {
21181
+ if (b != null) {
21187
21182
  try {
21188
- return Ge.call(v);
21183
+ return Ge.call(b);
21189
21184
  } catch (C) {
21190
21185
  }
21191
21186
  try {
21192
- return v + "";
21187
+ return b + "";
21193
21188
  } catch (C) {
21194
21189
  }
21195
21190
  }
21196
21191
  return "";
21197
21192
  }
21198
- function Ps(v) {
21199
- return Vi(v, !0, !0);
21193
+ function Ps(b) {
21194
+ return Vi(b, !0, !0);
21200
21195
  }
21201
- function Es(v, C) {
21202
- return v === C || v !== v && C !== C;
21196
+ function Es(b, C) {
21197
+ return b === C || b !== b && C !== C;
21203
21198
  }
21204
- function Un(v) {
21205
- return yr(v) && Ze.call(v, "callee") && (!Gn.call(v, "callee") || xt.call(v) == o);
21199
+ function Un(b) {
21200
+ return yr(b) && Ze.call(b, "callee") && (!Gn.call(b, "callee") || Dt.call(b) == o);
21206
21201
  }
21207
21202
  var Ni = Array.isArray;
21208
- function Xn(v) {
21209
- return v != null && Ms(v.length) && !Hi(v);
21203
+ function Xn(b) {
21204
+ return b != null && Ms(b.length) && !Hi(b);
21210
21205
  }
21211
- function yr(v) {
21212
- return xs(v) && Xn(v);
21206
+ function yr(b) {
21207
+ return xs(b) && Xn(b);
21213
21208
  }
21214
21209
  var ks = Nn || Cr;
21215
- function Hi(v) {
21216
- var C = Gt(v) ? xt.call(v) : "";
21210
+ function Hi(b) {
21211
+ var C = Gt(b) ? Dt.call(b) : "";
21217
21212
  return C == d || C == h;
21218
21213
  }
21219
- function Ms(v) {
21220
- return typeof v == "number" && v > -1 && v % 1 == 0 && v <= s;
21214
+ function Ms(b) {
21215
+ return typeof b == "number" && b > -1 && b % 1 == 0 && b <= s;
21221
21216
  }
21222
- function Gt(v) {
21223
- var C = typeof v;
21224
- return !!v && (C == "object" || C == "function");
21217
+ function Gt(b) {
21218
+ var C = typeof b;
21219
+ return !!b && (C == "object" || C == "function");
21225
21220
  }
21226
- function xs(v) {
21227
- return !!v && typeof v == "object";
21221
+ function xs(b) {
21222
+ return !!b && typeof b == "object";
21228
21223
  }
21229
- function _i(v) {
21230
- return Xn(v) ? Wn(v) : lr(v);
21224
+ function _i(b) {
21225
+ return Xn(b) ? Wn(b) : lr(b);
21231
21226
  }
21232
21227
  function wr() {
21233
21228
  return [];
@@ -21247,135 +21242,135 @@ var bo = {}, eC = {
21247
21242
  }
21248
21243
  };
21249
21244
  (function(i, t) {
21250
- var e = 200, n = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", b = "[object Null]", y = "[object Object]", I = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", P = "[object Set]", R = "[object String]", L = "[object Symbol]", Y = "[object Undefined]", F = "[object WeakMap]", G = "[object ArrayBuffer]", Q = "[object DataView]", H = "[object Float32Array]", V = "[object Float64Array]", _ = "[object Int8Array]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", se = "[object Uint16Array]", we = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, pe = /^\[object .+?Constructor\]$/, Be = /^(?:0|[1-9]\d*)$/, ve = {};
21245
+ var e = 200, n = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", I = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", P = "[object Set]", R = "[object String]", L = "[object Symbol]", Y = "[object Undefined]", F = "[object WeakMap]", G = "[object ArrayBuffer]", Q = "[object DataView]", H = "[object Float32Array]", V = "[object Float64Array]", _ = "[object Int8Array]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", se = "[object Uint16Array]", we = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, pe = /^\[object .+?Constructor\]$/, Be = /^(?:0|[1-9]\d*)$/, ve = {};
21251
21246
  ve[H] = ve[V] = ve[_] = ve[Z] = ve[X] = ve[$] = ve[ce] = ve[se] = ve[we] = !0, ve[a] = ve[l] = ve[G] = ve[d] = ve[Q] = ve[h] = ve[u] = ve[m] = ve[p] = ve[g] = ve[y] = ve[S] = ve[P] = ve[R] = ve[F] = !1;
21252
- var We = typeof kt == "object" && kt && kt.Object === Object && kt, fe = typeof self == "object" && self && self.Object === Object && self, ye = We || fe || Function("return this")(), je = t && !t.nodeType && t, me = je && !0 && i && !i.nodeType && i, qe = me && me.exports === je, ht = qe && We.process, Me = function() {
21247
+ var We = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, fe = typeof self == "object" && self && self.Object === Object && self, ye = We || fe || Function("return this")(), je = t && !t.nodeType && t, me = je && !0 && i && !i.nodeType && i, qe = me && me.exports === je, ht = qe && We.process, Me = function() {
21253
21248
  try {
21254
21249
  return ht && ht.binding && ht.binding("util");
21255
- } catch (v) {
21250
+ } catch (b) {
21256
21251
  }
21257
21252
  }(), it = Me && Me.isTypedArray;
21258
- function re(v, C) {
21259
- for (var T = -1, W = v == null ? 0 : v.length, Ie = 0, ge = []; ++T < W; ) {
21260
- var De = v[T];
21261
- C(De, T, v) && (ge[Ie++] = De);
21253
+ function re(b, C) {
21254
+ for (var T = -1, W = b == null ? 0 : b.length, Ie = 0, ge = []; ++T < W; ) {
21255
+ var De = b[T];
21256
+ C(De, T, b) && (ge[Ie++] = De);
21262
21257
  }
21263
21258
  return ge;
21264
21259
  }
21265
- function ke(v, C) {
21266
- for (var T = -1, W = C.length, Ie = v.length; ++T < W; )
21267
- v[Ie + T] = C[T];
21268
- return v;
21260
+ function ke(b, C) {
21261
+ for (var T = -1, W = C.length, Ie = b.length; ++T < W; )
21262
+ b[Ie + T] = C[T];
21263
+ return b;
21269
21264
  }
21270
- function He(v, C) {
21271
- for (var T = -1, W = v == null ? 0 : v.length; ++T < W; )
21272
- if (C(v[T], T, v))
21265
+ function He(b, C) {
21266
+ for (var T = -1, W = b == null ? 0 : b.length; ++T < W; )
21267
+ if (C(b[T], T, b))
21273
21268
  return !0;
21274
21269
  return !1;
21275
21270
  }
21276
- function gt(v, C) {
21277
- for (var T = -1, W = Array(v); ++T < v; )
21271
+ function gt(b, C) {
21272
+ for (var T = -1, W = Array(b); ++T < b; )
21278
21273
  W[T] = C(T);
21279
21274
  return W;
21280
21275
  }
21281
- function Ut(v) {
21276
+ function Ut(b) {
21282
21277
  return function(C) {
21283
- return v(C);
21278
+ return b(C);
21284
21279
  };
21285
21280
  }
21286
- function Ct(v, C) {
21287
- return v.has(C);
21281
+ function Ct(b, C) {
21282
+ return b.has(C);
21288
21283
  }
21289
- function It(v, C) {
21290
- return v == null ? void 0 : v[C];
21284
+ function It(b, C) {
21285
+ return b == null ? void 0 : b[C];
21291
21286
  }
21292
- function Re(v) {
21293
- var C = -1, T = Array(v.size);
21294
- return v.forEach(function(W, Ie) {
21287
+ function Re(b) {
21288
+ var C = -1, T = Array(b.size);
21289
+ return b.forEach(function(W, Ie) {
21295
21290
  T[++C] = [Ie, W];
21296
21291
  }), T;
21297
21292
  }
21298
- function Ge(v, C) {
21293
+ function Ge(b, C) {
21299
21294
  return function(T) {
21300
- return v(C(T));
21295
+ return b(C(T));
21301
21296
  };
21302
21297
  }
21303
- function Ze(v) {
21304
- var C = -1, T = Array(v.size);
21305
- return v.forEach(function(W) {
21298
+ function Ze(b) {
21299
+ var C = -1, T = Array(b.size);
21300
+ return b.forEach(function(W) {
21306
21301
  T[++C] = W;
21307
21302
  }), T;
21308
21303
  }
21309
- var xt = Array.prototype, Si = Function.prototype, Rt = Object.prototype, rn = ye["__core-js_shared__"], Cn = Si.toString, pt = Rt.hasOwnProperty, Qn = function() {
21310
- var v = /[^.]+$/.exec(rn && rn.keys && rn.keys.IE_PROTO || "");
21311
- return v ? "Symbol(src)_1." + v : "";
21304
+ var Dt = Array.prototype, Si = Function.prototype, Rt = Object.prototype, rn = ye["__core-js_shared__"], Cn = Si.toString, pt = Rt.hasOwnProperty, Qn = function() {
21305
+ var b = /[^.]+$/.exec(rn && rn.keys && rn.keys.IE_PROTO || "");
21306
+ return b ? "Symbol(src)_1." + b : "";
21312
21307
  }(), Gn = Rt.toString, Qo = RegExp(
21313
21308
  "^" + Cn.call(pt).replace(Ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
21314
- ), Ti = qe ? ye.Buffer : void 0, Nn = ye.Symbol, As = ye.Uint8Array, Hn = Rt.propertyIsEnumerable, In = xt.splice, Dt = Nn ? Nn.toStringTag : void 0, _n = Object.getOwnPropertySymbols, Li = Ti ? Ti.isBuffer : void 0, Pn = Ge(Object.keys, Object), ji = Zt(ye, "DataView"), En = Zt(ye, "Map"), zi = Zt(ye, "Promise"), Oi = Zt(ye, "Set"), Bi = Zt(ye, "WeakMap"), an = Zt(Object, "create"), vs = ut(ji), Xt = ut(En), Go = ut(zi), No = ut(Oi), Ho = ut(Bi), bs = Nn ? Nn.prototype : void 0, Ri = bs ? bs.valueOf : void 0;
21315
- function Ke(v) {
21316
- var C = -1, T = v == null ? 0 : v.length;
21309
+ ), Ti = qe ? ye.Buffer : void 0, Nn = ye.Symbol, As = ye.Uint8Array, Hn = Rt.propertyIsEnumerable, In = Dt.splice, St = Nn ? Nn.toStringTag : void 0, _n = Object.getOwnPropertySymbols, Li = Ti ? Ti.isBuffer : void 0, Pn = Ge(Object.keys, Object), ji = Zt(ye, "DataView"), En = Zt(ye, "Map"), zi = Zt(ye, "Promise"), Oi = Zt(ye, "Set"), Bi = Zt(ye, "WeakMap"), an = Zt(Object, "create"), vs = ut(ji), Xt = ut(En), Go = ut(zi), No = ut(Oi), Ho = ut(Bi), bs = Nn ? Nn.prototype : void 0, Ri = bs ? bs.valueOf : void 0;
21310
+ function Ke(b) {
21311
+ var C = -1, T = b == null ? 0 : b.length;
21317
21312
  for (this.clear(); ++C < T; ) {
21318
- var W = v[C];
21313
+ var W = b[C];
21319
21314
  this.set(W[0], W[1]);
21320
21315
  }
21321
21316
  }
21322
21317
  function _o() {
21323
21318
  this.__data__ = an ? an(null) : {}, this.size = 0;
21324
21319
  }
21325
- function Wo(v) {
21326
- var C = this.has(v) && delete this.__data__[v];
21320
+ function Wo(b) {
21321
+ var C = this.has(b) && delete this.__data__[b];
21327
21322
  return this.size -= C ? 1 : 0, C;
21328
21323
  }
21329
- function Fo(v) {
21324
+ function Fo(b) {
21330
21325
  var C = this.__data__;
21331
21326
  if (an) {
21332
- var T = C[v];
21327
+ var T = C[b];
21333
21328
  return T === n ? void 0 : T;
21334
21329
  }
21335
- return pt.call(C, v) ? C[v] : void 0;
21330
+ return pt.call(C, b) ? C[b] : void 0;
21336
21331
  }
21337
- function Yo(v) {
21332
+ function Yo(b) {
21338
21333
  var C = this.__data__;
21339
- return an ? C[v] !== void 0 : pt.call(C, v);
21334
+ return an ? C[b] !== void 0 : pt.call(C, b);
21340
21335
  }
21341
- function Uo(v, C) {
21336
+ function Uo(b, C) {
21342
21337
  var T = this.__data__;
21343
- return this.size += this.has(v) ? 0 : 1, T[v] = an && C === void 0 ? n : C, this;
21338
+ return this.size += this.has(b) ? 0 : 1, T[b] = an && C === void 0 ? n : C, this;
21344
21339
  }
21345
21340
  Ke.prototype.clear = _o, Ke.prototype.delete = Wo, Ke.prototype.get = Fo, Ke.prototype.has = Yo, Ke.prototype.set = Uo;
21346
- function st(v) {
21347
- var C = -1, T = v == null ? 0 : v.length;
21341
+ function st(b) {
21342
+ var C = -1, T = b == null ? 0 : b.length;
21348
21343
  for (this.clear(); ++C < T; ) {
21349
- var W = v[C];
21344
+ var W = b[C];
21350
21345
  this.set(W[0], W[1]);
21351
21346
  }
21352
21347
  }
21353
21348
  function Xo() {
21354
21349
  this.__data__ = [], this.size = 0;
21355
21350
  }
21356
- function Zo(v) {
21357
- var C = this.__data__, T = Yn(C, v);
21351
+ function Zo(b) {
21352
+ var C = this.__data__, T = Yn(C, b);
21358
21353
  if (T < 0)
21359
21354
  return !1;
21360
21355
  var W = C.length - 1;
21361
21356
  return T == W ? C.pop() : In.call(C, T, 1), --this.size, !0;
21362
21357
  }
21363
- function Jo(v) {
21364
- var C = this.__data__, T = Yn(C, v);
21358
+ function Jo(b) {
21359
+ var C = this.__data__, T = Yn(C, b);
21365
21360
  return T < 0 ? void 0 : C[T][1];
21366
21361
  }
21367
- function qo(v) {
21368
- return Yn(this.__data__, v) > -1;
21362
+ function qo(b) {
21363
+ return Yn(this.__data__, b) > -1;
21369
21364
  }
21370
- function Ko(v, C) {
21371
- var T = this.__data__, W = Yn(T, v);
21372
- return W < 0 ? (++this.size, T.push([v, C])) : T[W][1] = C, this;
21365
+ function Ko(b, C) {
21366
+ var T = this.__data__, W = Yn(T, b);
21367
+ return W < 0 ? (++this.size, T.push([b, C])) : T[W][1] = C, this;
21373
21368
  }
21374
21369
  st.prototype.clear = Xo, st.prototype.delete = Zo, st.prototype.get = Jo, st.prototype.has = qo, st.prototype.set = Ko;
21375
- function At(v) {
21376
- var C = -1, T = v == null ? 0 : v.length;
21370
+ function At(b) {
21371
+ var C = -1, T = b == null ? 0 : b.length;
21377
21372
  for (this.clear(); ++C < T; ) {
21378
- var W = v[C];
21373
+ var W = b[C];
21379
21374
  this.set(W[0], W[1]);
21380
21375
  }
21381
21376
  }
@@ -21386,139 +21381,139 @@ var bo = {}, eC = {
21386
21381
  string: new Ke()
21387
21382
  };
21388
21383
  }
21389
- function er(v) {
21390
- var C = St(this, v).delete(v);
21384
+ function er(b) {
21385
+ var C = Tt(this, b).delete(b);
21391
21386
  return this.size -= C ? 1 : 0, C;
21392
21387
  }
21393
- function tr(v) {
21394
- return St(this, v).get(v);
21388
+ function tr(b) {
21389
+ return Tt(this, b).get(b);
21395
21390
  }
21396
- function nr(v) {
21397
- return St(this, v).has(v);
21391
+ function nr(b) {
21392
+ return Tt(this, b).has(b);
21398
21393
  }
21399
- function ir(v, C) {
21400
- var T = St(this, v), W = T.size;
21401
- return T.set(v, C), this.size += T.size == W ? 0 : 1, this;
21394
+ function ir(b, C) {
21395
+ var T = Tt(this, b), W = T.size;
21396
+ return T.set(b, C), this.size += T.size == W ? 0 : 1, this;
21402
21397
  }
21403
21398
  At.prototype.clear = $o, At.prototype.delete = er, At.prototype.get = tr, At.prototype.has = nr, At.prototype.set = ir;
21404
- function Wn(v) {
21405
- var C = -1, T = v == null ? 0 : v.length;
21399
+ function Wn(b) {
21400
+ var C = -1, T = b == null ? 0 : b.length;
21406
21401
  for (this.__data__ = new At(); ++C < T; )
21407
- this.add(v[C]);
21402
+ this.add(b[C]);
21408
21403
  }
21409
- function ys(v) {
21410
- return this.__data__.set(v, n), this;
21404
+ function ys(b) {
21405
+ return this.__data__.set(b, n), this;
21411
21406
  }
21412
- function Fn(v) {
21413
- return this.__data__.has(v);
21407
+ function Fn(b) {
21408
+ return this.__data__.has(b);
21414
21409
  }
21415
21410
  Wn.prototype.add = Wn.prototype.push = ys, Wn.prototype.has = Fn;
21416
- function Vt(v) {
21417
- var C = this.__data__ = new st(v);
21411
+ function Vt(b) {
21412
+ var C = this.__data__ = new st(b);
21418
21413
  this.size = C.size;
21419
21414
  }
21420
21415
  function Vi() {
21421
21416
  this.__data__ = new st(), this.size = 0;
21422
21417
  }
21423
- function sr(v) {
21424
- var C = this.__data__, T = C.delete(v);
21418
+ function sr(b) {
21419
+ var C = this.__data__, T = C.delete(b);
21425
21420
  return this.size = C.size, T;
21426
21421
  }
21427
- function or(v) {
21428
- return this.__data__.get(v);
21422
+ function or(b) {
21423
+ return this.__data__.get(b);
21429
21424
  }
21430
- function rr(v) {
21431
- return this.__data__.has(v);
21425
+ function rr(b) {
21426
+ return this.__data__.has(b);
21432
21427
  }
21433
- function ar(v, C) {
21428
+ function ar(b, C) {
21434
21429
  var T = this.__data__;
21435
21430
  if (T instanceof st) {
21436
21431
  var W = T.__data__;
21437
21432
  if (!En || W.length < e - 1)
21438
- return W.push([v, C]), this.size = ++T.size, this;
21433
+ return W.push([b, C]), this.size = ++T.size, this;
21439
21434
  T = this.__data__ = new At(W);
21440
21435
  }
21441
- return T.set(v, C), this.size = T.size, this;
21436
+ return T.set(b, C), this.size = T.size, this;
21442
21437
  }
21443
21438
  Vt.prototype.clear = Vi, Vt.prototype.delete = sr, Vt.prototype.get = or, Vt.prototype.has = rr, Vt.prototype.set = ar;
21444
- function lr(v, C) {
21445
- var T = Un(v), W = !T && Es(v), Ie = !T && !W && Xn(v), ge = !T && !W && !Ie && xs(v), De = T || W || Ie || ge, Te = De ? gt(v.length, String) : [], Fe = Te.length;
21446
- for (var ze in v)
21447
- (C || pt.call(v, ze)) && !(De && // Safari 9 has enumerable `arguments.length` in strict mode.
21439
+ function lr(b, C) {
21440
+ var T = Un(b), W = !T && Es(b), Ie = !T && !W && Xn(b), ge = !T && !W && !Ie && xs(b), De = T || W || Ie || ge, Te = De ? gt(b.length, String) : [], Fe = Te.length;
21441
+ for (var ze in b)
21442
+ (C || pt.call(b, ze)) && !(De && // Safari 9 has enumerable `arguments.length` in strict mode.
21448
21443
  (ze == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
21449
21444
  Ie && (ze == "offset" || ze == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
21450
21445
  ge && (ze == "buffer" || ze == "byteLength" || ze == "byteOffset") || // Skip index properties.
21451
21446
  pr(ze, Fe))) && Te.push(ze);
21452
21447
  return Te;
21453
21448
  }
21454
- function Yn(v, C) {
21455
- for (var T = v.length; T--; )
21456
- if (Ps(v[T][0], C))
21449
+ function Yn(b, C) {
21450
+ for (var T = b.length; T--; )
21451
+ if (Ps(b[T][0], C))
21457
21452
  return T;
21458
21453
  return -1;
21459
21454
  }
21460
- function Qi(v, C, T) {
21461
- var W = C(v);
21462
- return Un(v) ? W : ke(W, T(v));
21455
+ function Qi(b, C, T) {
21456
+ var W = C(b);
21457
+ return Un(b) ? W : ke(W, T(b));
21463
21458
  }
21464
- function kn(v) {
21465
- return v == null ? v === void 0 ? Y : b : Dt && Dt in Object(v) ? Jt(v) : Is(v);
21459
+ function kn(b) {
21460
+ return b == null ? b === void 0 ? Y : v : St && St in Object(b) ? Jt(b) : Is(b);
21466
21461
  }
21467
- function ws(v) {
21468
- return Gt(v) && kn(v) == a;
21462
+ function ws(b) {
21463
+ return Gt(b) && kn(b) == a;
21469
21464
  }
21470
- function Cs(v, C, T, W, Ie) {
21471
- return v === C ? !0 : v == null || C == null || !Gt(v) && !Gt(C) ? v !== v && C !== C : cr(v, C, T, W, Cs, Ie);
21465
+ function Cs(b, C, T, W, Ie) {
21466
+ return b === C ? !0 : b == null || C == null || !Gt(b) && !Gt(C) ? b !== b && C !== C : cr(b, C, T, W, Cs, Ie);
21472
21467
  }
21473
- function cr(v, C, T, W, Ie, ge) {
21474
- var De = Un(v), Te = Un(C), Fe = De ? l : Qt(v), ze = Te ? l : Qt(C);
21468
+ function cr(b, C, T, W, Ie, ge) {
21469
+ var De = Un(b), Te = Un(C), Fe = De ? l : Qt(b), ze = Te ? l : Qt(C);
21475
21470
  Fe = Fe == a ? y : Fe, ze = ze == a ? y : ze;
21476
21471
  var ot = Fe == y, vt = ze == y, Ue = Fe == ze;
21477
- if (Ue && Xn(v)) {
21472
+ if (Ue && Xn(b)) {
21478
21473
  if (!Xn(C))
21479
21474
  return !1;
21480
21475
  De = !0, ot = !1;
21481
21476
  }
21482
21477
  if (Ue && !ot)
21483
- return ge || (ge = new Vt()), De || xs(v) ? Gi(v, C, T, W, Ie, ge) : fr(v, C, Fe, T, W, Ie, ge);
21478
+ return ge || (ge = new Vt()), De || xs(b) ? Gi(b, C, T, W, Ie, ge) : fr(b, C, Fe, T, W, Ie, ge);
21484
21479
  if (!(T & s)) {
21485
- var rt = ot && pt.call(v, "__wrapped__"), $e = vt && pt.call(C, "__wrapped__");
21480
+ var rt = ot && pt.call(b, "__wrapped__"), $e = vt && pt.call(C, "__wrapped__");
21486
21481
  if (rt || $e) {
21487
- var ln = rt ? v.value() : v, qt = $e ? C.value() : C;
21482
+ var ln = rt ? b.value() : b, qt = $e ? C.value() : C;
21488
21483
  return ge || (ge = new Vt()), Ie(ln, qt, T, W, ge);
21489
21484
  }
21490
21485
  }
21491
- return Ue ? (ge || (ge = new Vt()), mr(v, C, T, W, Ie, ge)) : !1;
21486
+ return Ue ? (ge || (ge = new Vt()), mr(b, C, T, W, Ie, ge)) : !1;
21492
21487
  }
21493
- function dr(v) {
21494
- if (!Ms(v) || vr(v))
21488
+ function dr(b) {
21489
+ if (!Ms(b) || vr(b))
21495
21490
  return !1;
21496
- var C = ks(v) ? Qo : pe;
21497
- return C.test(ut(v));
21491
+ var C = ks(b) ? Qo : pe;
21492
+ return C.test(ut(b));
21498
21493
  }
21499
- function hr(v) {
21500
- return Gt(v) && Hi(v.length) && !!ve[kn(v)];
21494
+ function hr(b) {
21495
+ return Gt(b) && Hi(b.length) && !!ve[kn(b)];
21501
21496
  }
21502
- function ur(v) {
21503
- if (!br(v))
21504
- return Pn(v);
21497
+ function ur(b) {
21498
+ if (!br(b))
21499
+ return Pn(b);
21505
21500
  var C = [];
21506
- for (var T in Object(v))
21507
- pt.call(v, T) && T != "constructor" && C.push(T);
21501
+ for (var T in Object(b))
21502
+ pt.call(b, T) && T != "constructor" && C.push(T);
21508
21503
  return C;
21509
21504
  }
21510
- function Gi(v, C, T, W, Ie, ge) {
21511
- var De = T & s, Te = v.length, Fe = C.length;
21505
+ function Gi(b, C, T, W, Ie, ge) {
21506
+ var De = T & s, Te = b.length, Fe = C.length;
21512
21507
  if (Te != Fe && !(De && Fe > Te))
21513
21508
  return !1;
21514
- var ze = ge.get(v);
21509
+ var ze = ge.get(b);
21515
21510
  if (ze && ge.get(C))
21516
21511
  return ze == C;
21517
21512
  var ot = -1, vt = !0, Ue = T & o ? new Wn() : void 0;
21518
- for (ge.set(v, C), ge.set(C, v); ++ot < Te; ) {
21519
- var rt = v[ot], $e = C[ot];
21513
+ for (ge.set(b, C), ge.set(C, b); ++ot < Te; ) {
21514
+ var rt = b[ot], $e = C[ot];
21520
21515
  if (W)
21521
- var ln = De ? W($e, rt, ot, C, v, ge) : W(rt, $e, ot, v, C, ge);
21516
+ var ln = De ? W($e, rt, ot, C, b, ge) : W(rt, $e, ot, b, C, ge);
21522
21517
  if (ln !== void 0) {
21523
21518
  if (ln)
21524
21519
  continue;
@@ -21538,45 +21533,45 @@ var bo = {}, eC = {
21538
21533
  break;
21539
21534
  }
21540
21535
  }
21541
- return ge.delete(v), ge.delete(C), vt;
21536
+ return ge.delete(b), ge.delete(C), vt;
21542
21537
  }
21543
- function fr(v, C, T, W, Ie, ge, De) {
21538
+ function fr(b, C, T, W, Ie, ge, De) {
21544
21539
  switch (T) {
21545
21540
  case Q:
21546
- if (v.byteLength != C.byteLength || v.byteOffset != C.byteOffset)
21541
+ if (b.byteLength != C.byteLength || b.byteOffset != C.byteOffset)
21547
21542
  return !1;
21548
- v = v.buffer, C = C.buffer;
21543
+ b = b.buffer, C = C.buffer;
21549
21544
  case G:
21550
- return !(v.byteLength != C.byteLength || !ge(new As(v), new As(C)));
21545
+ return !(b.byteLength != C.byteLength || !ge(new As(b), new As(C)));
21551
21546
  case d:
21552
21547
  case h:
21553
21548
  case g:
21554
- return Ps(+v, +C);
21549
+ return Ps(+b, +C);
21555
21550
  case u:
21556
- return v.name == C.name && v.message == C.message;
21551
+ return b.name == C.name && b.message == C.message;
21557
21552
  case S:
21558
21553
  case R:
21559
- return v == C + "";
21554
+ return b == C + "";
21560
21555
  case p:
21561
21556
  var Te = Re;
21562
21557
  case P:
21563
21558
  var Fe = W & s;
21564
- if (Te || (Te = Ze), v.size != C.size && !Fe)
21559
+ if (Te || (Te = Ze), b.size != C.size && !Fe)
21565
21560
  return !1;
21566
- var ze = De.get(v);
21561
+ var ze = De.get(b);
21567
21562
  if (ze)
21568
21563
  return ze == C;
21569
- W |= o, De.set(v, C);
21570
- var ot = Gi(Te(v), Te(C), W, Ie, ge, De);
21571
- return De.delete(v), ot;
21564
+ W |= o, De.set(b, C);
21565
+ var ot = Gi(Te(b), Te(C), W, Ie, ge, De);
21566
+ return De.delete(b), ot;
21572
21567
  case L:
21573
21568
  if (Ri)
21574
- return Ri.call(v) == Ri.call(C);
21569
+ return Ri.call(b) == Ri.call(C);
21575
21570
  }
21576
21571
  return !1;
21577
21572
  }
21578
- function mr(v, C, T, W, Ie, ge) {
21579
- var De = T & s, Te = Mn(v), Fe = Te.length, ze = Mn(C), ot = ze.length;
21573
+ function mr(b, C, T, W, Ie, ge) {
21574
+ var De = T & s, Te = Mn(b), Fe = Te.length, ze = Mn(C), ot = ze.length;
21580
21575
  if (Fe != ot && !De)
21581
21576
  return !1;
21582
21577
  for (var vt = Fe; vt--; ) {
@@ -21584,16 +21579,16 @@ var bo = {}, eC = {
21584
21579
  if (!(De ? Ue in C : pt.call(C, Ue)))
21585
21580
  return !1;
21586
21581
  }
21587
- var rt = ge.get(v);
21582
+ var rt = ge.get(b);
21588
21583
  if (rt && ge.get(C))
21589
21584
  return rt == C;
21590
21585
  var $e = !0;
21591
- ge.set(v, C), ge.set(C, v);
21586
+ ge.set(b, C), ge.set(C, b);
21592
21587
  for (var ln = De; ++vt < Fe; ) {
21593
21588
  Ue = Te[vt];
21594
- var qt = v[Ue], xn = C[Ue];
21589
+ var qt = b[Ue], xn = C[Ue];
21595
21590
  if (W)
21596
- var nl = De ? W(xn, qt, Ue, C, v, ge) : W(qt, xn, Ue, v, C, ge);
21591
+ var nl = De ? W(xn, qt, Ue, C, b, ge) : W(qt, xn, Ue, b, C, ge);
21597
21592
  if (!(nl === void 0 ? qt === xn || Ie(qt, xn, T, W, ge) : nl)) {
21598
21593
  $e = !1;
21599
21594
  break;
@@ -21601,39 +21596,39 @@ var bo = {}, eC = {
21601
21596
  ln || (ln = Ue == "constructor");
21602
21597
  }
21603
21598
  if ($e && !ln) {
21604
- var Ds = v.constructor, Ss = C.constructor;
21605
- Ds != Ss && "constructor" in v && "constructor" in C && !(typeof Ds == "function" && Ds instanceof Ds && typeof Ss == "function" && Ss instanceof Ss) && ($e = !1);
21599
+ var Ds = b.constructor, Ss = C.constructor;
21600
+ Ds != Ss && "constructor" in b && "constructor" in C && !(typeof Ds == "function" && Ds instanceof Ds && typeof Ss == "function" && Ss instanceof Ss) && ($e = !1);
21606
21601
  }
21607
- return ge.delete(v), ge.delete(C), $e;
21602
+ return ge.delete(b), ge.delete(C), $e;
21608
21603
  }
21609
- function Mn(v) {
21610
- return Qi(v, _i, gr);
21604
+ function Mn(b) {
21605
+ return Qi(b, _i, gr);
21611
21606
  }
21612
- function St(v, C) {
21613
- var T = v.__data__;
21607
+ function Tt(b, C) {
21608
+ var T = b.__data__;
21614
21609
  return Ar(C) ? T[typeof C == "string" ? "string" : "hash"] : T.map;
21615
21610
  }
21616
- function Zt(v, C) {
21617
- var T = It(v, C);
21611
+ function Zt(b, C) {
21612
+ var T = It(b, C);
21618
21613
  return dr(T) ? T : void 0;
21619
21614
  }
21620
- function Jt(v) {
21621
- var C = pt.call(v, Dt), T = v[Dt];
21615
+ function Jt(b) {
21616
+ var C = pt.call(b, St), T = b[St];
21622
21617
  try {
21623
- v[Dt] = void 0;
21618
+ b[St] = void 0;
21624
21619
  var W = !0;
21625
21620
  } catch (ge) {
21626
21621
  }
21627
- var Ie = Gn.call(v);
21628
- return W && (C ? v[Dt] = T : delete v[Dt]), Ie;
21622
+ var Ie = Gn.call(b);
21623
+ return W && (C ? b[St] = T : delete b[St]), Ie;
21629
21624
  }
21630
- var gr = _n ? function(v) {
21631
- return v == null ? [] : (v = Object(v), re(_n(v), function(C) {
21632
- return Hn.call(v, C);
21625
+ var gr = _n ? function(b) {
21626
+ return b == null ? [] : (b = Object(b), re(_n(b), function(C) {
21627
+ return Hn.call(b, C);
21633
21628
  }));
21634
21629
  } : wr, Qt = kn;
21635
- (ji && Qt(new ji(new ArrayBuffer(1))) != Q || En && Qt(new En()) != p || zi && Qt(zi.resolve()) != I || Oi && Qt(new Oi()) != P || Bi && Qt(new Bi()) != F) && (Qt = function(v) {
21636
- var C = kn(v), T = C == y ? v.constructor : void 0, W = T ? ut(T) : "";
21630
+ (ji && Qt(new ji(new ArrayBuffer(1))) != Q || En && Qt(new En()) != p || zi && Qt(zi.resolve()) != I || Oi && Qt(new Oi()) != P || Bi && Qt(new Bi()) != F) && (Qt = function(b) {
21631
+ var C = kn(b), T = C == y ? b.constructor : void 0, W = T ? ut(T) : "";
21637
21632
  if (W)
21638
21633
  switch (W) {
21639
21634
  case vs:
@@ -21649,70 +21644,70 @@ var bo = {}, eC = {
21649
21644
  }
21650
21645
  return C;
21651
21646
  });
21652
- function pr(v, C) {
21653
- return C = C == null ? r : C, !!C && (typeof v == "number" || Be.test(v)) && v > -1 && v % 1 == 0 && v < C;
21647
+ function pr(b, C) {
21648
+ return C = C == null ? r : C, !!C && (typeof b == "number" || Be.test(b)) && b > -1 && b % 1 == 0 && b < C;
21654
21649
  }
21655
- function Ar(v) {
21656
- var C = typeof v;
21657
- return C == "string" || C == "number" || C == "symbol" || C == "boolean" ? v !== "__proto__" : v === null;
21650
+ function Ar(b) {
21651
+ var C = typeof b;
21652
+ return C == "string" || C == "number" || C == "symbol" || C == "boolean" ? b !== "__proto__" : b === null;
21658
21653
  }
21659
- function vr(v) {
21660
- return !!Qn && Qn in v;
21654
+ function vr(b) {
21655
+ return !!Qn && Qn in b;
21661
21656
  }
21662
- function br(v) {
21663
- var C = v && v.constructor, T = typeof C == "function" && C.prototype || Rt;
21664
- return v === T;
21657
+ function br(b) {
21658
+ var C = b && b.constructor, T = typeof C == "function" && C.prototype || Rt;
21659
+ return b === T;
21665
21660
  }
21666
- function Is(v) {
21667
- return Gn.call(v);
21661
+ function Is(b) {
21662
+ return Gn.call(b);
21668
21663
  }
21669
- function ut(v) {
21670
- if (v != null) {
21664
+ function ut(b) {
21665
+ if (b != null) {
21671
21666
  try {
21672
- return Cn.call(v);
21667
+ return Cn.call(b);
21673
21668
  } catch (C) {
21674
21669
  }
21675
21670
  try {
21676
- return v + "";
21671
+ return b + "";
21677
21672
  } catch (C) {
21678
21673
  }
21679
21674
  }
21680
21675
  return "";
21681
21676
  }
21682
- function Ps(v, C) {
21683
- return v === C || v !== v && C !== C;
21677
+ function Ps(b, C) {
21678
+ return b === C || b !== b && C !== C;
21684
21679
  }
21685
21680
  var Es = ws(function() {
21686
21681
  return arguments;
21687
- }()) ? ws : function(v) {
21688
- return Gt(v) && pt.call(v, "callee") && !Hn.call(v, "callee");
21682
+ }()) ? ws : function(b) {
21683
+ return Gt(b) && pt.call(b, "callee") && !Hn.call(b, "callee");
21689
21684
  }, Un = Array.isArray;
21690
- function Ni(v) {
21691
- return v != null && Hi(v.length) && !ks(v);
21685
+ function Ni(b) {
21686
+ return b != null && Hi(b.length) && !ks(b);
21692
21687
  }
21693
21688
  var Xn = Li || Cr;
21694
- function yr(v, C) {
21695
- return Cs(v, C);
21689
+ function yr(b, C) {
21690
+ return Cs(b, C);
21696
21691
  }
21697
- function ks(v) {
21698
- if (!Ms(v))
21692
+ function ks(b) {
21693
+ if (!Ms(b))
21699
21694
  return !1;
21700
- var C = kn(v);
21695
+ var C = kn(b);
21701
21696
  return C == m || C == A || C == c || C == k;
21702
21697
  }
21703
- function Hi(v) {
21704
- return typeof v == "number" && v > -1 && v % 1 == 0 && v <= r;
21698
+ function Hi(b) {
21699
+ return typeof b == "number" && b > -1 && b % 1 == 0 && b <= r;
21705
21700
  }
21706
- function Ms(v) {
21707
- var C = typeof v;
21708
- return v != null && (C == "object" || C == "function");
21701
+ function Ms(b) {
21702
+ var C = typeof b;
21703
+ return b != null && (C == "object" || C == "function");
21709
21704
  }
21710
- function Gt(v) {
21711
- return v != null && typeof v == "object";
21705
+ function Gt(b) {
21706
+ return b != null && typeof b == "object";
21712
21707
  }
21713
21708
  var xs = it ? Ut(it) : hr;
21714
- function _i(v) {
21715
- return Ni(v) ? lr(v) : ur(v);
21709
+ function _i(b) {
21710
+ return Ni(b) ? lr(b) : ur(b);
21716
21711
  }
21717
21712
  function wr() {
21718
21713
  return [];
@@ -21773,24 +21768,24 @@ function aC(i, t) {
21773
21768
  methods: u
21774
21769
  });
21775
21770
  let A = !1;
21776
- const p = (b) => (...y) => {
21771
+ const p = (v) => (...y) => {
21777
21772
  A = !0;
21778
- const I = b(...y);
21773
+ const I = v(...y);
21779
21774
  return A = !1, I;
21780
21775
  };
21781
- Object.entries(s).forEach(([b, y]) => {
21782
- u[b] = p(
21776
+ Object.entries(s).forEach(([v, y]) => {
21777
+ u[v] = p(
21783
21778
  (...I) => y(m(), ...I)
21784
- ), Object.defineProperty(u[b], "name", { value: b });
21779
+ ), Object.defineProperty(u[v], "name", { value: v });
21785
21780
  }), h = new Proxy($w(e), {
21786
- get(b, y) {
21787
- return d() && !A && r(d(), { prop: y, value: b[y] }), Reflect.get(...arguments);
21781
+ get(v, y) {
21782
+ return d() && !A && r(d(), { prop: y, value: v[y] }), Reflect.get(...arguments);
21788
21783
  },
21789
- set(b, y, I) {
21790
- return b[y] === I || (Reflect.set(...arguments), d() || (o && o(y, I), a(h, y))), !0;
21784
+ set(v, y, I) {
21785
+ return v[y] === I || (Reflect.set(...arguments), d() || (o && o(y, I), a(h, y))), !0;
21791
21786
  }
21792
- }), Object.entries(n).forEach(([b, y]) => {
21793
- c(b, () => {
21787
+ }), Object.entries(n).forEach(([v, y]) => {
21788
+ c(v, () => {
21794
21789
  y(m());
21795
21790
  });
21796
21791
  });
@@ -22484,7 +22479,7 @@ function CC(i) {
22484
22479
  let g = (
22485
22480
  /*autoplayProgressVisible*/
22486
22481
  i[3] && Md(i)
22487
- ), b = (
22482
+ ), v = (
22488
22483
  /*arrows*/
22489
22484
  i[1] && xd(i)
22490
22485
  ), y = (
@@ -22493,7 +22488,7 @@ function CC(i) {
22493
22488
  );
22494
22489
  return {
22495
22490
  c() {
22496
- t = D("div"), e = D("div"), m && m.c(), n = K(), s = D("div"), o = D("div"), p && p.c(), a = K(), g && g.c(), l = K(), b && b.c(), c = K(), y && y.c(), w(o, "class", "sc-carousel__pages-container svelte-sme1z4"), z(o, "transform", "translateX(" + /*offset*/
22491
+ t = D("div"), e = D("div"), m && m.c(), n = K(), s = D("div"), o = D("div"), p && p.c(), a = K(), g && g.c(), l = K(), v && v.c(), c = K(), y && y.c(), w(o, "class", "sc-carousel__pages-container svelte-sme1z4"), z(o, "transform", "translateX(" + /*offset*/
22497
22492
  i[8] + "px)"), z(
22498
22493
  o,
22499
22494
  "transition-duration",
@@ -22507,7 +22502,7 @@ function CC(i) {
22507
22502
  ), w(s, "class", "sc-carousel__pages-window svelte-sme1z4"), w(e, "class", "sc-carousel__content-container svelte-sme1z4"), w(t, "class", "sc-carousel__carousel-container svelte-sme1z4");
22508
22503
  },
22509
22504
  m(I, k) {
22510
- B(I, t, k), x(t, e), m && m.m(e, null), x(e, n), x(e, s), x(s, o), p && p.m(o, null), i[39](o), x(s, a), g && g.m(s, null), i[40](s), x(e, l), b && b.m(e, null), x(t, c), y && y.m(t, null), d = !0, h || (u = [
22505
+ B(I, t, k), x(t, e), m && m.m(e, null), x(e, n), x(e, s), x(s, o), p && p.m(o, null), i[39](o), x(s, a), g && g.m(s, null), i[40](s), x(e, l), v && v.m(e, null), x(t, c), y && y.m(t, null), d = !0, h || (u = [
22511
22506
  tn(r = zy.call(null, o, {
22512
22507
  thresholdProvider: (
22513
22508
  /*swipeable_function*/
@@ -22609,9 +22604,9 @@ function CC(i) {
22609
22604
  8 && M(g, 1)) : (g = Md(I), g.c(), M(g, 1), g.m(s, null)) : g && (de(), j(g, 1, 1, () => {
22610
22605
  g = null;
22611
22606
  }), he()), /*arrows*/
22612
- I[1] ? b ? (b.p(I, k), k[0] & /*arrows*/
22613
- 2 && M(b, 1)) : (b = xd(I), b.c(), M(b, 1), b.m(e, null)) : b && (de(), j(b, 1, 1, () => {
22614
- b = null;
22607
+ I[1] ? v ? (v.p(I, k), k[0] & /*arrows*/
22608
+ 2 && M(v, 1)) : (v = xd(I), v.c(), M(v, 1), v.m(e, null)) : v && (de(), j(v, 1, 1, () => {
22609
+ v = null;
22615
22610
  }), he()), /*dots*/
22616
22611
  I[4] ? y ? (y.p(I, k), k[0] & /*dots*/
22617
22612
  16 && M(y, 1)) : (y = Dd(I), y.c(), M(y, 1), y.m(t, null)) : y && (de(), j(y, 1, 1, () => {
@@ -22619,13 +22614,13 @@ function CC(i) {
22619
22614
  }), he());
22620
22615
  },
22621
22616
  i(I) {
22622
- d || (M(m), M(p, I), M(g), M(b), M(y), d = !0);
22617
+ d || (M(m), M(p, I), M(g), M(v), M(y), d = !0);
22623
22618
  },
22624
22619
  o(I) {
22625
- j(m), j(p, I), j(g), j(b), j(y), d = !1;
22620
+ j(m), j(p, I), j(g), j(v), j(y), d = !1;
22626
22621
  },
22627
22622
  d(I) {
22628
- I && O(t), m && m.d(), p && p.d(I), i[39](null), g && g.d(), i[40](null), b && b.d(), y && y.d(), h = !1, Je(u);
22623
+ I && O(t), m && m.d(), p && p.d(I), i[39](null), g && g.d(), i[40](null), v && v.d(), y && y.d(), h = !1, Je(u);
22629
22624
  }
22630
22625
  };
22631
22626
  }
@@ -22641,7 +22636,7 @@ function IC(i, t, e) {
22641
22636
  loaded: () => e(6, o = ke)
22642
22637
  })(re);
22643
22638
  }), p = ko();
22644
- let { timingFunction: g = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: P = 3e3 } = t, { autoplayDirection: R = vn } = t, { pauseOnFocus: L = !1 } = t, { autoplayProgressVisible: Y = !1 } = t, { dots: F = !0 } = t, { swiping: G = !0 } = t, { particlesToShow: Q = 1 } = t, { particlesToScroll: H = 1 } = t;
22639
+ let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: P = 3e3 } = t, { autoplayDirection: R = vn } = t, { pauseOnFocus: L = !1 } = t, { autoplayProgressVisible: Y = !1 } = t, { dots: F = !0 } = t, { swiping: G = !0 } = t, { particlesToShow: Q = 1 } = t, { particlesToScroll: H = 1 } = t;
22645
22640
  function V(re, ke) {
22646
22641
  return U(this, null, function* () {
22647
22642
  const He = os(ke, "animated", !0);
@@ -22737,7 +22732,7 @@ function IC(i, t, e) {
22737
22732
  }
22738
22733
  const it = (re) => Ce(re.detail);
22739
22734
  return i.$$set = (re) => {
22740
- "timingFunction" in re && e(0, g = re.timingFunction), "arrows" in re && e(1, b = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, I = re.initialPageIndex), "duration" in re && e(25, k = re.duration), "autoplay" in re && e(26, S = re.autoplay), "autoplayDuration" in re && e(27, P = re.autoplayDuration), "autoplayDirection" in re && e(28, R = re.autoplayDirection), "pauseOnFocus" in re && e(29, L = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, Y = re.autoplayProgressVisible), "dots" in re && e(4, F = re.dots), "swiping" in re && e(30, G = re.swiping), "particlesToShow" in re && e(31, Q = re.particlesToShow), "particlesToScroll" in re && e(32, H = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
22735
+ "timingFunction" in re && e(0, g = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, I = re.initialPageIndex), "duration" in re && e(25, k = re.duration), "autoplay" in re && e(26, S = re.autoplay), "autoplayDuration" in re && e(27, P = re.autoplayDuration), "autoplayDirection" in re && e(28, R = re.autoplayDirection), "pauseOnFocus" in re && e(29, L = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, Y = re.autoplayProgressVisible), "dots" in re && e(4, F = re.dots), "swiping" in re && e(30, G = re.swiping), "particlesToShow" in re && e(31, Q = re.particlesToShow), "particlesToScroll" in re && e(32, H = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
22741
22736
  }, i.$$.update = () => {
22742
22737
  i.$$.dirty[0] & /*currentPageIndex*/
22743
22738
  32 && p("pageChange", r), i.$$.dirty[0] & /*infinite*/
@@ -22751,7 +22746,7 @@ function IC(i, t, e) {
22751
22746
  2 && (h.particlesToScrollInit = H);
22752
22747
  }, [
22753
22748
  g,
22754
- b,
22749
+ v,
22755
22750
  y,
22756
22751
  Y,
22757
22752
  F,
@@ -22950,7 +22945,7 @@ function MC(i) {
22950
22945
  return {
22951
22946
  c() {
22952
22947
  t = D("img"), w(t, "class", "media-content svelte-159ski6"), w(t, "style", e = `object-fit: ${/*objectFit*/
22953
- i[6]};`), Mt(t.src, n = /*media*/
22948
+ i[6]};`), xt(t.src, n = /*media*/
22954
22949
  i[2].url) || w(t, "src", n), w(t, "alt", s = /*media*/
22955
22950
  i[2].name), w(t, "draggable", !1);
22956
22951
  },
@@ -22961,7 +22956,7 @@ function MC(i) {
22961
22956
  r & /*objectFit*/
22962
22957
  64 && e !== (e = `object-fit: ${/*objectFit*/
22963
22958
  o[6]};`) && w(t, "style", e), r & /*media*/
22964
- 4 && !Mt(t.src, n = /*media*/
22959
+ 4 && !xt(t.src, n = /*media*/
22965
22960
  o[2].url) && w(t, "src", n), r & /*media*/
22966
22961
  4 && s !== (s = /*media*/
22967
22962
  o[2].name) && w(t, "alt", s);
@@ -22976,7 +22971,7 @@ function xC(i) {
22976
22971
  return {
22977
22972
  c() {
22978
22973
  t = D("video"), w(t, "class", "media-content svelte-159ski6"), w(t, "style", e = `object-fit: ${/*objectFit*/
22979
- i[6]};`), Mt(t.src, n = /*media*/
22974
+ i[6]};`), xt(t.src, n = /*media*/
22980
22975
  i[2].videoCoverUrl ? (
22981
22976
  /*media*/
22982
22977
  i[2].url
@@ -23030,7 +23025,7 @@ function xC(i) {
23030
23025
  c & /*objectFit*/
23031
23026
  64 && e !== (e = `object-fit: ${/*objectFit*/
23032
23027
  l[6]};`) && w(t, "style", e), c & /*media*/
23033
- 4 && !Mt(t.src, n = /*media*/
23028
+ 4 && !xt(t.src, n = /*media*/
23034
23029
  l[2].videoCoverUrl ? (
23035
23030
  /*media*/
23036
23031
  l[2].url
@@ -23059,7 +23054,7 @@ function DC(i) {
23059
23054
  return {
23060
23055
  c() {
23061
23056
  t = D("img"), w(t, "class", "media-content svelte-159ski6"), w(t, "style", e = `object-fit: ${/*objectFit*/
23062
- i[6]};`), Mt(t.src, n = /*media*/
23057
+ i[6]};`), xt(t.src, n = /*media*/
23063
23058
  i[2].videoCoverUrl) || w(t, "src", n), w(t, "alt", s = /*media*/
23064
23059
  i[2].name), w(t, "draggable", !1);
23065
23060
  },
@@ -23070,7 +23065,7 @@ function DC(i) {
23070
23065
  r & /*objectFit*/
23071
23066
  64 && e !== (e = `object-fit: ${/*objectFit*/
23072
23067
  o[6]};`) && w(t, "style", e), r & /*media*/
23073
- 4 && !Mt(t.src, n = /*media*/
23068
+ 4 && !xt(t.src, n = /*media*/
23074
23069
  o[2].videoCoverUrl) && w(t, "src", n), r & /*media*/
23075
23070
  4 && s !== (s = /*media*/
23076
23071
  o[2].name) && w(t, "alt", s);
@@ -23108,37 +23103,37 @@ function TC(i, t, e) {
23108
23103
  function p() {
23109
23104
  e(8, A = (a == null ? void 0 : a.type) === "Video" && !!a.videoCoverUrl);
23110
23105
  }
23111
- const g = mn("mediaStore"), b = mn("hooks"), y = () => {
23106
+ const g = mn("mediaStore"), v = mn("hooks"), y = () => {
23112
23107
  A || n && (e(9, n.muted = !0, n), n.play(), n.pause(), e(9, n.muted = !1, n), e(8, A = !0));
23113
23108
  };
23114
- b.on("loadVideoFirstFrame", y), wt(() => {
23109
+ v.on("loadVideoFirstFrame", y), wt(() => {
23115
23110
  g.subscribe(({ currentMediaElement: G }) => {
23116
23111
  G !== n && (n == null || n.pause());
23117
23112
  });
23118
23113
  });
23119
23114
  const I = (G) => {
23120
- e(10, m = !1), e(0, o.paused = !1, o), e(8, A = !0), n && g.set({ currentMediaElement: n }), b.emit("playStateChange", {
23115
+ e(10, m = !1), e(0, o.paused = !1, o), e(8, A = !0), n && g.set({ currentMediaElement: n }), v.emit("playStateChange", {
23121
23116
  event: G,
23122
23117
  state: "playing",
23123
23118
  tag: r,
23124
23119
  mediaInstance: n
23125
23120
  });
23126
23121
  }, k = (G) => {
23127
- e(10, m = !0), e(0, o.paused = !0, o), b.emit("playStateChange", {
23122
+ e(10, m = !0), e(0, o.paused = !0, o), v.emit("playStateChange", {
23128
23123
  event: G,
23129
23124
  state: "paused",
23130
23125
  tag: r,
23131
23126
  mediaInstance: n
23132
23127
  });
23133
23128
  }, S = (G) => {
23134
- e(10, m = !0), e(0, o.paused = !0, o), b.emit("playStateChange", {
23129
+ e(10, m = !0), e(0, o.paused = !0, o), v.emit("playStateChange", {
23135
23130
  event: G,
23136
23131
  state: "paused",
23137
23132
  tag: r,
23138
23133
  mediaInstance: n
23139
23134
  });
23140
23135
  }, P = (G) => {
23141
- e(10, m = !0), e(0, o.paused = !0, o), b.emit("playStateChange", {
23136
+ e(10, m = !0), e(0, o.paused = !0, o), v.emit("playStateChange", {
23142
23137
  event: G,
23143
23138
  state: "paused",
23144
23139
  tag: r,
@@ -23180,7 +23175,7 @@ function TC(i, t, e) {
23180
23175
  n,
23181
23176
  m,
23182
23177
  g,
23183
- b,
23178
+ v,
23184
23179
  s,
23185
23180
  I,
23186
23181
  k,
@@ -23579,7 +23574,7 @@ function BC(i) {
23579
23574
  }
23580
23575
  function RC(i, t, e) {
23581
23576
  let n, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: u = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: A } = t, { enableCarousel: p = !0 } = t, { autoplayConfig: g = {} } = t;
23582
- const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: I = !1 } = g;
23577
+ const { autoplayVideo: v = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: I = !1 } = g;
23583
23578
  let k = [], S = 0, P, R = null;
23584
23579
  const L = mn("hooks"), Y = mn("mediaStore");
23585
23580
  function F() {
@@ -23896,7 +23891,7 @@ function Qd(i) {
23896
23891
  let t, e;
23897
23892
  return {
23898
23893
  c() {
23899
- t = D("img"), w(t, "class", "headerImage svelte-sezqcq"), Mt(t.src, e = /*data*/
23894
+ t = D("img"), w(t, "class", "headerImage svelte-sezqcq"), xt(t.src, e = /*data*/
23900
23895
  i[3].headerPictureUrl) || w(t, "src", e), w(t, "alt", "");
23901
23896
  },
23902
23897
  m(n, s) {
@@ -23904,7 +23899,7 @@ function Qd(i) {
23904
23899
  },
23905
23900
  p(n, s) {
23906
23901
  s & /*data*/
23907
- 8 && !Mt(t.src, e = /*data*/
23902
+ 8 && !xt(t.src, e = /*data*/
23908
23903
  n[3].headerPictureUrl) && w(t, "src", e);
23909
23904
  },
23910
23905
  d(n) {
@@ -24146,7 +24141,7 @@ function _C(i) {
24146
24141
  spreadRadius: 75
24147
24142
  }
24148
24143
  });
24149
- let b = (
24144
+ let v = (
24150
24145
  /*data*/
24151
24146
  i[3].headerPictureUrl && Qd(i)
24152
24147
  ), y = (
@@ -24160,7 +24155,7 @@ function _C(i) {
24160
24155
  );
24161
24156
  return {
24162
24157
  c() {
24163
- t = D("div"), ne(e.$$.fragment), n = K(), s = D("div"), o = K(), r = D("div"), b && b.c(), a = K(), l = D("div"), c = D("div"), d = D("div"), u = xe(h), m = K(), y && y.c(), A = K(), I && I.c(), w(s, "class", "line svelte-sezqcq"), z(
24158
+ t = D("div"), ne(e.$$.fragment), n = K(), s = D("div"), o = K(), r = D("div"), v && v.c(), a = K(), l = D("div"), c = D("div"), d = D("div"), u = xe(h), m = K(), y && y.c(), A = K(), I && I.c(), w(s, "class", "line svelte-sezqcq"), z(
24164
24159
  s,
24165
24160
  "transition-delay",
24166
24161
  /*unfolded*/
@@ -24187,7 +24182,7 @@ function _C(i) {
24187
24182
  );
24188
24183
  },
24189
24184
  m(P, R) {
24190
- B(P, t, R), ee(e, t, null), x(t, n), x(t, s), x(t, o), x(t, r), b && b.m(r, null), x(r, a), x(r, l), x(l, c), x(c, d), x(d, u), x(r, m), y && y.m(r, null), x(r, A), I && I.m(r, null), g = !0;
24185
+ B(P, t, R), ee(e, t, null), x(t, n), x(t, s), x(t, o), x(t, r), v && v.m(r, null), x(r, a), x(r, l), x(l, c), x(c, d), x(d, u), x(r, m), y && y.m(r, null), x(r, A), I && I.m(r, null), g = !0;
24191
24186
  },
24192
24187
  p(P, [R]) {
24193
24188
  var Y, F;
@@ -24201,7 +24196,7 @@ function _C(i) {
24201
24196
  /*unfolded*/
24202
24197
  P[4] ? Us + "ms" : Xs + Xd - Ud - 40 + "ms"
24203
24198
  ), /*data*/
24204
- P[3].headerPictureUrl ? b ? b.p(P, R) : (b = Qd(P), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!g || R & /*data*/
24199
+ P[3].headerPictureUrl ? v ? v.p(P, R) : (v = Qd(P), v.c(), v.m(r, a)) : v && (v.d(1), v = null), (!g || R & /*data*/
24205
24200
  8) && h !== (h = /*data*/
24206
24201
  P[3].title + "") && Se(u, h), /*primaryTags*/
24207
24202
  ((Y = P[2].length) != null ? Y : 0) + /*secondaryTags*/
@@ -24236,7 +24231,7 @@ function _C(i) {
24236
24231
  j(e.$$.fragment, P), g = !1;
24237
24232
  },
24238
24233
  d(P) {
24239
- P && O(t), te(e), b && b.d(), y && y.d(), I && I.d();
24234
+ P && O(t), te(e), v && v.d(), y && y.d(), I && I.d();
24240
24235
  }
24241
24236
  };
24242
24237
  }
@@ -24256,12 +24251,12 @@ function WC(i, t, e) {
24256
24251
  return i.$$set = (p) => {
24257
24252
  "tag" in p && e(0, h = p.tag);
24258
24253
  }, i.$$.update = () => {
24259
- var p, g, b, y, I, k;
24254
+ var p, g, v, y, I, k;
24260
24255
  i.$$.dirty & /*tag*/
24261
24256
  1 && e(4, n = (g = (p = h.state) == null ? void 0 : p.unfolded) != null ? g : !1), i.$$.dirty & /*unfolded*/
24262
24257
  16 && e(8, s = !n), i.$$.dirty & /*tag*/
24263
24258
  1 && e(3, o = h.data), i.$$.dirty & /*data*/
24264
- 8 && e(7, r = wi((b = o.price) == null ? void 0 : b.value) && ((y = o.price) == null ? void 0 : y.value) !== ""), i.$$.dirty & /*tag*/
24259
+ 8 && e(7, r = wi((v = o.price) == null ? void 0 : v.value) && ((y = o.price) == null ? void 0 : y.value) !== ""), i.$$.dirty & /*tag*/
24265
24260
  1 && e(6, a = h.data.theme || "light"), i.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
24266
24261
  1026 && u > 40 && e(10, l = l - 1), i.$$.dirty & /*data, maxTagsLength*/
24267
24262
  1032 && e(2, c = ((I = o.brandTags) == null ? void 0 : I.slice(0, l).filter(Boolean)) || []), i.$$.dirty & /*data, maxTagsLength, primaryTags*/
@@ -24701,7 +24696,7 @@ function $C(i) {
24701
24696
  ue(i, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
24702
24697
  }
24703
24698
  function Jd(i) {
24704
- var g, b;
24699
+ var g, v;
24705
24700
  let t, e, n, s, o, r, a, l, c, d, h, u, m, A;
24706
24701
  e = new Yt({
24707
24702
  props: {
@@ -24752,7 +24747,7 @@ function Jd(i) {
24752
24747
  /*foldTextDelay*/
24753
24748
  i[4] + 20 * Math.min(
24754
24749
  /*content*/
24755
- (b = (g = i[5]) == null ? void 0 : g.length) != null ? b : 10,
24750
+ (v = (g = i[5]) == null ? void 0 : g.length) != null ? v : 10,
24756
24751
  15
24757
24752
  )
24758
24753
  ),
@@ -25002,10 +24997,10 @@ function nI(i, t, e) {
25002
24997
  return i.$$set = (g) => {
25003
24998
  "tag" in g && e(0, r = g.tag);
25004
24999
  }, i.$$.update = () => {
25005
- var g, b, y;
25000
+ var g, v, y;
25006
25001
  i.$$.dirty & /*tag*/
25007
25002
  1 && e(6, n = !!((g = r.state) != null && g.unfolded)), i.$$.dirty & /*tag*/
25008
- 1 && e(5, s = (y = (b = r.data.title) != null ? b : r.data.text) != null ? y : ""), i.$$.dirty & /*textUnfolded*/
25003
+ 1 && e(5, s = (y = (v = r.data.title) != null ? v : r.data.text) != null ? y : ""), i.$$.dirty & /*textUnfolded*/
25009
25004
  2 && e(4, o = a ? 450 : 0);
25010
25005
  }, [
25011
25006
  r,
@@ -25252,9 +25247,9 @@ function lI(i, t, e) {
25252
25247
  return i.$$set = (g) => {
25253
25248
  "tag" in g && e(0, o = g.tag);
25254
25249
  }, i.$$.update = () => {
25255
- var g, b, y;
25250
+ var g, v, y;
25256
25251
  i.$$.dirty & /*tag*/
25257
- 1 && e(5, n = (b = (g = o.data.title) != null ? g : o.data.text) != null ? b : ""), i.$$.dirty & /*tag*/
25252
+ 1 && e(5, n = (v = (g = o.data.title) != null ? g : o.data.text) != null ? v : ""), i.$$.dirty & /*tag*/
25258
25253
  1 && e(4, s = (y = r[o.data.theme || "light"]) != null ? y : r.light);
25259
25254
  }, [
25260
25255
  o,
@@ -25784,7 +25779,7 @@ function EI(i) {
25784
25779
  let t, e;
25785
25780
  return {
25786
25781
  c() {
25787
- t = D("img"), w(t, "alt", "tag-icon"), w(t, "class", "icon-image svelte-316sq3"), Mt(t.src, e = /*iconUrl*/
25782
+ t = D("img"), w(t, "alt", "tag-icon"), w(t, "class", "icon-image svelte-316sq3"), xt(t.src, e = /*iconUrl*/
25788
25783
  i[7]) || w(t, "src", e), z(t, "width", _t(oi({
25789
25784
  originWidth: (
25790
25785
  /*width*/
@@ -25805,7 +25800,7 @@ function EI(i) {
25805
25800
  },
25806
25801
  p(n, s) {
25807
25802
  eh(n), s & /*iconUrl*/
25808
- 128 && !Mt(t.src, e = /*iconUrl*/
25803
+ 128 && !xt(t.src, e = /*iconUrl*/
25809
25804
  n[7]) && w(t, "src", e), s & /*iconUrl, iconRatio, iconScale, iconWidth*/
25810
25805
  184 && z(t, "width", _t(oi({
25811
25806
  originWidth: (
@@ -25984,7 +25979,7 @@ function TI(i, t, e) {
25984
25979
  return p("iconLoaded", k), k;
25985
25980
  });
25986
25981
  }
25987
- function b(I) {
25982
+ function v(I) {
25988
25983
  return U(this, null, function* () {
25989
25984
  if (typeof h == "number")
25990
25985
  return Ae(N({}, I), { width: h });
@@ -26030,7 +26025,7 @@ function TI(i, t, e) {
26030
26025
  d,
26031
26026
  c,
26032
26027
  g,
26033
- b,
26028
+ v,
26034
26029
  m
26035
26030
  ];
26036
26031
  }
@@ -26346,7 +26341,7 @@ function _I(i) {
26346
26341
  )), c = !0);
26347
26342
  },
26348
26343
  p(A, p) {
26349
- var b;
26344
+ var v;
26350
26345
  let g = s;
26351
26346
  s = m(A), s === g ? ~s && u[s].p(A, p) : (o && (de(), j(u[g], 1, 1, () => {
26352
26347
  u[g] = null;
@@ -26355,7 +26350,7 @@ function _I(i) {
26355
26350
  n,
26356
26351
  "unfolded",
26357
26352
  /*tag*/
26358
- (b = A[1].state) == null ? void 0 : b.unfolded
26353
+ (v = A[1].state) == null ? void 0 : v.unfolded
26359
26354
  ), (!l || p & /*tag*/
26360
26355
  2 && r !== (r = Ve(lt(
26361
26356
  "content__container",
@@ -26734,7 +26729,7 @@ function qI(i) {
26734
26729
  function KI(i, t, e) {
26735
26730
  let n, s, o, r, a, l, { withAnimation: c = !1 } = t, { tag: d } = t, { hooks: h } = t, { renderMap: u = /* @__PURE__ */ new Map() } = t, { state: m } = t, { mediaStore: A } = t, { temporaryState: p } = t;
26736
26731
  Kr("hooks", h), Kr("mediaStore", A);
26737
- let g, b;
26732
+ let g, v;
26738
26733
  function y(P) {
26739
26734
  P ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
26740
26735
  }
@@ -26754,7 +26749,7 @@ function KI(i, t, e) {
26754
26749
  2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
26755
26750
  322 && e(5, a = !I(d, m, p)), i.$$.dirty & /*isVisible*/
26756
26751
  8192 && y(o), i.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
26757
- 7682 && d.hooks && (n !== void 0 && n !== b && (e(10, b = n), n ? (F = (Y = d.hooks).emit) == null || F.call(Y, "unfolded") : (Q = d == null ? void 0 : (G = d.hooks).emit) == null || Q.call(G, "folded")), s !== void 0 && s !== g && (e(9, g = s), s ? (V = (H = d.hooks).emit) == null || V.call(H, "show") : (Z = (_ = d.hooks).emit) == null || Z.call(_, "hide"))), i.$$.dirty & /*tag*/
26752
+ 7682 && d.hooks && (n !== void 0 && n !== v && (e(10, v = n), n ? (F = (Y = d.hooks).emit) == null || F.call(Y, "unfolded") : (Q = d == null ? void 0 : (G = d.hooks).emit) == null || Q.call(G, "folded")), s !== void 0 && s !== g && (e(9, g = s), s ? (V = (H = d.hooks).emit) == null || V.call(H, "show") : (Z = (_ = d.hooks).emit) == null || Z.call(_, "hide"))), i.$$.dirty & /*tag*/
26758
26753
  2 && e(4, l = (() => !(typeof d.config.unfoldedConfig == "object" && d.config.unfoldedConfig.keep === "folded"))());
26759
26754
  }, [
26760
26755
  c,
@@ -26767,7 +26762,7 @@ function KI(i, t, e) {
26767
26762
  A,
26768
26763
  p,
26769
26764
  g,
26770
- b,
26765
+ v,
26771
26766
  s,
26772
26767
  n,
26773
26768
  o,
@@ -26931,11 +26926,11 @@ function tP(i, t, e) {
26931
26926
  return i.$$set = (p) => {
26932
26927
  "tag" in p && e(6, l = p.tag);
26933
26928
  }, i.$$.update = () => {
26934
- var p, g, b, y;
26929
+ var p, g, v, y;
26935
26930
  i.$$.dirty & /*tag*/
26936
26931
  64 && e(0, n = (p = l.state) == null ? void 0 : p.unfolded), i.$$.dirty & /*unfolded*/
26937
26932
  1 && e(3, s = !n), i.$$.dirty & /*tag*/
26938
- 64 && e(2, o = (b = (g = l.style) == null ? void 0 : g.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: tb }), i.$$.dirty & /*tag*/
26933
+ 64 && e(2, o = (v = (g = l.style) == null ? void 0 : g.point) != null && v.url ? (y = l.style) == null ? void 0 : y.point : { url: tb }), i.$$.dirty & /*tag*/
26939
26934
  64 && e(1, r = (() => {
26940
26935
  var S, P, R, L;
26941
26936
  const I = (P = (S = l.style) == null ? void 0 : S.point) == null ? void 0 : P.width;
@@ -27107,18 +27102,18 @@ function aP(i) {
27107
27102
  function lP(i) {
27108
27103
  let t, e, n, s, o, r, a, l, c, d;
27109
27104
  const h = [oP, sP], u = [];
27110
- function m(b, y) {
27105
+ function m(v, y) {
27111
27106
  return (
27112
27107
  /*havePoint*/
27113
- b[14] ? 0 : 1
27108
+ v[14] ? 0 : 1
27114
27109
  );
27115
27110
  }
27116
27111
  n = m(i), s = u[n] = h[n](i);
27117
27112
  const A = [aP, rP], p = [];
27118
- function g(b, y) {
27113
+ function g(v, y) {
27119
27114
  return (
27120
27115
  /*haveContent*/
27121
- b[13] ? 0 : 1
27116
+ v[13] ? 0 : 1
27122
27117
  );
27123
27118
  }
27124
27119
  return r = g(i), a = p[r] = A[r](i), {
@@ -27181,103 +27176,103 @@ function lP(i) {
27181
27176
  i[7]
27182
27177
  );
27183
27178
  },
27184
- m(b, y) {
27185
- B(b, t, y), x(t, e), u[n].m(e, null), x(e, o), p[r].m(e, null), d = !0;
27179
+ m(v, y) {
27180
+ B(v, t, y), x(t, e), u[n].m(e, null), x(e, o), p[r].m(e, null), d = !0;
27186
27181
  },
27187
- p(b, [y]) {
27182
+ p(v, [y]) {
27188
27183
  let I = n;
27189
- n = m(b), n === I ? u[n].p(b, y) : (de(), j(u[I], 1, 1, () => {
27184
+ n = m(v), n === I ? u[n].p(v, y) : (de(), j(u[I], 1, 1, () => {
27190
27185
  u[I] = null;
27191
- }), he(), s = u[n], s ? s.p(b, y) : (s = u[n] = h[n](b), s.c()), M(s, 1), s.m(e, o));
27186
+ }), he(), s = u[n], s ? s.p(v, y) : (s = u[n] = h[n](v), s.c()), M(s, 1), s.m(e, o));
27192
27187
  let k = r;
27193
- r = g(b), r === k ? p[r].p(b, y) : (de(), j(p[k], 1, 1, () => {
27188
+ r = g(v), r === k ? p[r].p(v, y) : (de(), j(p[k], 1, 1, () => {
27194
27189
  p[k] = null;
27195
- }), he(), a = p[r], a ? a.p(b, y) : (a = p[r] = A[r](b), a.c()), M(a, 1), a.m(e, null)), (!d || y & /*tag*/
27190
+ }), he(), a = p[r], a ? a.p(v, y) : (a = p[r] = A[r](v), a.c()), M(a, 1), a.m(e, null)), (!d || y & /*tag*/
27196
27191
  2 && l !== (l = Ve(lt(
27197
27192
  "wrapper",
27198
27193
  /*tag*/
27199
- b[1].className ? `${/*tag*/
27200
- b[1].className}__wrapper` : void 0
27194
+ v[1].className ? `${/*tag*/
27195
+ v[1].className}__wrapper` : void 0
27201
27196
  )) + " svelte-pzwdws")) && w(e, "class", l), (!d || y & /*unfolded*/
27202
27197
  64) && w(
27203
27198
  e,
27204
27199
  "data-tag-unfolded",
27205
27200
  /*unfolded*/
27206
- b[6]
27201
+ v[6]
27207
27202
  ), (!d || y & /*id*/
27208
27203
  4096) && w(
27209
27204
  e,
27210
27205
  "data-tag-id",
27211
27206
  /*id*/
27212
- b[12]
27207
+ v[12]
27213
27208
  ), (!d || y & /*tag*/
27214
27209
  2 && c !== (c = /*tag*/
27215
- b[1].contentType)) && w(e, "data-content-type", c), y & /*left*/
27210
+ v[1].contentType)) && w(e, "data-content-type", c), y & /*left*/
27216
27211
  512 && z(
27217
27212
  e,
27218
27213
  "left",
27219
27214
  /*left*/
27220
- b[9]
27215
+ v[9]
27221
27216
  ), y & /*top*/
27222
27217
  256 && z(
27223
27218
  e,
27224
27219
  "top",
27225
27220
  /*top*/
27226
- b[8]
27221
+ v[8]
27227
27222
  ), (!d || y & /*id*/
27228
27223
  4096) && w(
27229
27224
  t,
27230
27225
  "data-tag-id",
27231
27226
  /*id*/
27232
- b[12]
27227
+ v[12]
27233
27228
  ), (!d || y & /*tag*/
27234
27229
  2) && q(
27235
27230
  t,
27236
27231
  "unClickable",
27237
27232
  /*tag*/
27238
- b[1].config.clickable === !1
27233
+ v[1].config.clickable === !1
27239
27234
  ), (!d || y & /*disable*/
27240
27235
  2048) && q(
27241
27236
  t,
27242
27237
  "disable",
27243
27238
  /*disable*/
27244
- b[11]
27239
+ v[11]
27245
27240
  ), (!d || y & /*hide*/
27246
27241
  1024) && q(
27247
27242
  t,
27248
27243
  "hide",
27249
27244
  /*hide*/
27250
- b[10]
27245
+ v[10]
27251
27246
  ), (!d || y & /*withAnimation*/
27252
27247
  1) && q(
27253
27248
  t,
27254
27249
  "withAnimation",
27255
27250
  /*withAnimation*/
27256
- b[0]
27251
+ v[0]
27257
27252
  ), y & /*zIndex*/
27258
27253
  128 && z(
27259
27254
  t,
27260
27255
  "z-index",
27261
27256
  /*zIndex*/
27262
- b[7]
27257
+ v[7]
27263
27258
  );
27264
27259
  },
27265
- i(b) {
27260
+ i(v) {
27266
27261
  d || (M(s), M(a), d = !0);
27267
27262
  },
27268
- o(b) {
27263
+ o(v) {
27269
27264
  j(s), j(a), d = !1;
27270
27265
  },
27271
- d(b) {
27272
- b && O(t), u[n].d(), p[r].d();
27266
+ d(v) {
27267
+ v && O(t), u[n].d(), p[r].d();
27273
27268
  }
27274
27269
  };
27275
27270
  }
27276
27271
  function cP(i, t, e) {
27277
- let n, s, o, r, a, l, c, d, h, { withAnimation: u = !1 } = t, { tag: m } = t, { mediaStore: A } = t, { renderMap: p = /* @__PURE__ */ new Map() } = t, { state: g } = t, { temporaryState: b } = t;
27272
+ let n, s, o, r, a, l, c, d, h, { withAnimation: u = !1 } = t, { tag: m } = t, { mediaStore: A } = t, { renderMap: p = /* @__PURE__ */ new Map() } = t, { state: g } = t, { temporaryState: v } = t;
27278
27273
  const y = mn("hooks");
27279
27274
  return i.$$set = (I) => {
27280
- "withAnimation" in I && e(0, u = I.withAnimation), "tag" in I && e(1, m = I.tag), "mediaStore" in I && e(2, A = I.mediaStore), "renderMap" in I && e(3, p = I.renderMap), "state" in I && e(4, g = I.state), "temporaryState" in I && e(5, b = I.temporaryState);
27275
+ "withAnimation" in I && e(0, u = I.withAnimation), "tag" in I && e(1, m = I.tag), "mediaStore" in I && e(2, A = I.mediaStore), "renderMap" in I && e(3, p = I.renderMap), "state" in I && e(4, g = I.state), "temporaryState" in I && e(5, v = I.temporaryState);
27281
27276
  }, i.$$.update = () => {
27282
27277
  var I, k, S, P, R, L, Y, F;
27283
27278
  i.$$.dirty & /*tag*/
@@ -27299,7 +27294,7 @@ function cP(i, t, e) {
27299
27294
  A,
27300
27295
  p,
27301
27296
  g,
27302
- b,
27297
+ v,
27303
27298
  l,
27304
27299
  h,
27305
27300
  d,
@@ -27581,8 +27576,8 @@ class bP extends w1 {
27581
27576
  const r = this.gltfObjectGroup.children.find((l) => l.customID === e.id);
27582
27577
  if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), yt(e)) {
27583
27578
  if (this.getRenderType(e) === "Mesh" && !e.mediaPlane) {
27584
- const l = e.data.mediaPosition.map(jt);
27585
- e.mediaPlane = new Zc(e.data.mediaData[0].url, e.data.mediaPosition.map(jt), {
27579
+ const l = e.data.mediaPosition.map(kt);
27580
+ e.mediaPlane = new Zc(e.data.mediaData[0].url, e.data.mediaPosition.map(kt), {
27586
27581
  objectFit: e.data.objectFit
27587
27582
  });
27588
27583
  const c = new ie().addVectors(l[0], l[2]).divideScalar(2);
@@ -27615,41 +27610,56 @@ class bP extends w1 {
27615
27610
  * @description: 更新所有标签
27616
27611
  */
27617
27612
  updateRenderAllTags() {
27618
- this.enabledModelTagSet.clear(), this.tags.forEach((e) => e.stickType === "Model" && this.enabledModelTagSet.add(e.id)), this.updateRenderPointTag(), this.updateRender3DDomTag(), this.updateRenderModelTag(), this.updateRenderImagePlane();
27613
+ this.enabledModelTagSet.clear(), this.tags.forEach((e) => e.stickType === "Model" && this.enabledModelTagSet.add(e.id)), this.updateRenderPointTag(), this.updateRender3DDomTag(), this.updateRenderModelTag(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
27619
27614
  }
27620
- /**
27621
- * @description: 渲染图片贴片
27622
- */
27623
- updateRenderImagePlane() {
27624
- this.sort(this.filterImagePlane).forEach((n) => {
27625
- var l, c, d, h, u;
27615
+ updateRenderVideoPlane() {
27616
+ this.sort(this.filterImagePlane).filter((n) => {
27617
+ var s, o;
27618
+ return ((o = (s = n.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Video";
27619
+ }).forEach((n) => {
27620
+ var h, u, m, A, p;
27626
27621
  const s = n.data.mediaData[0];
27627
27622
  if (!s)
27628
27623
  return;
27629
- const { url: o, type: r } = s;
27630
- if (!o || (n.mediaPlane && (n.mediaPlane.visible = (c = (l = n.state) == null ? void 0 : l.visible) != null ? c : !0, n.mediaPlane.visible || n.mediaPlane instanceof ha && ((d = n.data.autoplayConfig) != null && d.autoplayVideo || n.mediaPlane.pause())), ((h = n.mediaPlane) == null ? void 0 : h.src) === o))
27624
+ const { url: o } = s;
27625
+ if (!o)
27631
27626
  return;
27632
- const a = n.position.map(jt);
27633
- if (n.mediaPlane && n.mediaPlane.removeFromParent(), r === "Image")
27634
- n.mediaPlane = new Zc(o, a, { objectFit: n.data.objectFit }), n.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(n.mediaPlane, "click", (m) => {
27635
- this.hooks.emit("click", { tag: n, target: "TagContent", event: m.origDomEvent });
27636
- });
27637
- else if (r === "Video") {
27638
- const m = new ha(o, a, {
27627
+ n.mediaPlane && !((u = (h = n.state) == null ? void 0 : h.visible) == null || u) && n.mediaPlane instanceof ha && n.mediaPlane.pause();
27628
+ const r = n.position.map(kt), a = n.state.visible, l = (() => !!(n.mediaPlane && !a))(), c = (() => !!(!n.mediaPlane && a))(), d = (() => !!(n.mediaPlane && n.mediaPlane.src !== o))();
27629
+ if ((l || d) && (n.mediaPlane && this.imagePlaneGroup.remove(n.mediaPlane), (m = n.mediaPlane) == null || m.dispose(), (A = n.mediaPlane) == null || A.removeFromParent(), n.mediaPlane = void 0), c || d) {
27630
+ const g = new ha(o, r, {
27639
27631
  videoCoverSrc: s.videoCoverUrl,
27640
27632
  playButton: n.data.playIcon,
27641
- paused: !((u = n.data.autoplayConfig) != null && u.autoplayVideo),
27633
+ paused: !((p = n.data.autoplayConfig) != null && p.autoplayVideo),
27642
27634
  objectFit: n.data.objectFit,
27643
27635
  videoTextureMap: AP,
27644
- ImageTextureMap: vP
27636
+ ImageTextureMap: vP,
27637
+ domEvents: this.domEvents
27645
27638
  });
27646
- m.onVideoReady = (p) => {
27647
- p.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: m.videoInstance }));
27648
- }, m.initialDomEvents(this.domEvents);
27649
- const A = (p) => (this.five.on("renderFrame", p), () => this.five.off("renderFrame", p));
27650
- m.initialRenderHooks(A), n.mediaPlane = m;
27639
+ g.onVideoReady = (y) => {
27640
+ y.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: g.videoInstance }));
27641
+ };
27642
+ const v = (y) => (this.five.on("renderFrame", y), () => this.five.off("renderFrame", y));
27643
+ g.initialRenderHooks(v), n.mediaPlane = g, this.imagePlaneGroup.add(n.mediaPlane);
27651
27644
  }
27652
- this.imagePlaneGroup.add(n.mediaPlane);
27645
+ });
27646
+ }
27647
+ /**
27648
+ * @description: 渲染图片贴片
27649
+ */
27650
+ updateRenderImagePlane() {
27651
+ this.sort(this.filterImagePlane).filter((n) => {
27652
+ var s, o;
27653
+ return ((o = (s = n.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Image";
27654
+ }).forEach((n) => {
27655
+ var r;
27656
+ const { url: s } = n.data.mediaData[0];
27657
+ if (!s)
27658
+ return;
27659
+ const o = n.position.map(kt);
27660
+ ((r = n.mediaPlane) == null ? void 0 : r.src) !== s && (n.mediaPlane && n.mediaPlane.removeFromParent(), n.mediaPlane = new Zc(s, o, { objectFit: n.data.objectFit }), n.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(n.mediaPlane, "click", (a) => {
27661
+ this.hooks.emit("click", { tag: n, target: "TagContent", event: a.origDomEvent });
27662
+ }), this.imagePlaneGroup.add(n.mediaPlane));
27653
27663
  });
27654
27664
  }
27655
27665
  /**
@@ -27683,8 +27693,8 @@ class bP extends w1 {
27683
27693
  h.container.style.backgroundColor = A, h.container.style.border = `3px solid ${A}`, this.css3DRenderPlugin.hooks.on("render", () => {
27684
27694
  var p;
27685
27695
  if (u.css3DObject.opacityMesh) {
27686
- const g = this.addObjectClickHandler(n, u.css3DObject.opacityMesh, (b) => {
27687
- this.hooks.emit("click", { event: b, target: "TagContent", tag: n });
27696
+ const g = this.addObjectClickHandler(n, u.css3DObject.opacityMesh, (v) => {
27697
+ this.hooks.emit("click", { event: v, target: "TagContent", tag: n });
27688
27698
  });
27689
27699
  (p = this.store.css3DRenderDisposer.get(n.id)) == null || p.push(g);
27690
27700
  }
@@ -27745,8 +27755,8 @@ class bP extends w1 {
27745
27755
  * @param model 模型
27746
27756
  */
27747
27757
  updateTagCss3DObjectMatrix(e, n) {
27748
- var p, g, b;
27749
- const s = (g = (p = e.config.tag3DConfig) == null ? void 0 : p.ratio) != null ? g : 216e-5, o = (b = e.tag3DContentSvelte) == null ? void 0 : b.css3DInstance.css3DObject;
27758
+ var p, g, v;
27759
+ const s = (g = (p = e.config.tag3DConfig) == null ? void 0 : p.ratio) != null ? g : 216e-5, o = (v = e.tag3DContentSvelte) == null ? void 0 : v.css3DInstance.css3DObject;
27750
27760
  if (!o)
27751
27761
  return;
27752
27762
  const r = yt(e) ? e.data.mediaPosition : e.position;
@@ -27996,7 +28006,7 @@ class fa extends bP {
27996
28006
  */
27997
28007
  changeTagNormalById(e, n) {
27998
28008
  const s = this.getTagById(e);
27999
- s && s.tag3DContentSvelte && (s.tag3DContentSvelte.currentNormal = jt(n));
28009
+ s && s.tag3DContentSvelte && (s.tag3DContentSvelte.currentNormal = kt(n));
28000
28010
  }
28001
28011
  /**
28002
28012
  * @description: 改变data
@@ -28018,7 +28028,7 @@ class fa extends bP {
28018
28028
  changeTagById(e, n, s = !0) {
28019
28029
  const o = this.getTagById(e);
28020
28030
  let r = !1;
28021
- n && (n.data && (r = !0), s ? Xe(o, n) : Object.assign(o, n), o != null && o.tag3DContentSvelte && (n != null && n.normal) && (o.tag3DContentSvelte.currentNormal = jt(n.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
28031
+ n && (n.data && (r = !0), s ? Xe(o, n) : Object.assign(o, n), o != null && o.tag3DContentSvelte && (n != null && n.normal) && (o.tag3DContentSvelte.currentNormal = kt(n.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
28022
28032
  }
28023
28033
  /**
28024
28034
  * @description: 销毁tag
@@ -28236,21 +28246,21 @@ function ch(i) {
28236
28246
  i[0]
28237
28247
  ), m = K(), A = D("div"), w(s, "class", "distance svelte-4qjwer"), w(h, "class", "name svelte-4qjwer"), w(n, "class", "distance-and-name svelte-4qjwer"), w(A, "class", "border svelte-4qjwer"), w(t, "class", "text-with-distance svelte-4qjwer");
28238
28248
  },
28239
- m(g, b) {
28240
- B(g, t, b), p && p.m(t, null), x(t, e), x(t, n), x(n, s), x(s, r), x(s, a), x(s, c), x(n, d), x(n, h), x(h, u), x(t, m), x(t, A);
28249
+ m(g, v) {
28250
+ B(g, t, v), p && p.m(t, null), x(t, e), x(t, n), x(n, s), x(s, r), x(s, a), x(s, c), x(n, d), x(n, h), x(h, u), x(t, m), x(t, A);
28241
28251
  },
28242
- p(g, b) {
28252
+ p(g, v) {
28243
28253
  /*name*/
28244
- g[4] ? p ? p.p(g, b) : (p = dh(g), p.c(), p.m(t, e)) : p && (p.d(1), p = null), b & /*i18n*/
28254
+ g[4] ? p ? p.p(g, v) : (p = dh(g), p.c(), p.m(t, e)) : p && (p.d(1), p = null), v & /*i18n*/
28245
28255
  32 && o !== (o = /*i18n*/
28246
- g[5]("全程") + "") && Se(r, o), b & /*distance*/
28256
+ g[5]("全程") + "") && Se(r, o), v & /*distance*/
28247
28257
  4 && Se(
28248
28258
  a,
28249
28259
  /*distance*/
28250
28260
  g[2]
28251
- ), b & /*i18n*/
28261
+ ), v & /*i18n*/
28252
28262
  32 && l !== (l = /*i18n*/
28253
- g[5]("米") + "") && Se(c, l), b & /*text*/
28263
+ g[5]("米") + "") && Se(c, l), v & /*text*/
28254
28264
  1 && Se(
28255
28265
  u,
28256
28266
  /*text*/
@@ -28852,18 +28862,18 @@ class Ro extends Rn {
28852
28862
  this.data = r, this.hooks.emit("dataChange", r, o);
28853
28863
  let a = [], l;
28854
28864
  const c = this.data.keyframes.filter((g) => g.data.panoIndex !== void 0);
28855
- c.filter((g, b) => {
28865
+ c.filter((g, v) => {
28856
28866
  var y;
28857
- return g.data.panoIndex !== ((y = c[b - 1]) == null ? void 0 : y.data.panoIndex);
28867
+ return g.data.panoIndex !== ((y = c[v - 1]) == null ? void 0 : y.data.panoIndex);
28858
28868
  }).map((g) => g.data.panoIndex).forEach((g) => {
28859
28869
  var y, I;
28860
- const b = (y = this.five.work.observers[g]) == null ? void 0 : y.floorIndex;
28861
- if (b !== void 0)
28862
- if (l === b) {
28870
+ const v = (y = this.five.work.observers[g]) == null ? void 0 : y.floorIndex;
28871
+ if (v !== void 0)
28872
+ if (l === v) {
28863
28873
  const k = a.length - 1;
28864
28874
  a[k] = [...(I = a[k]) != null ? I : [], g];
28865
28875
  } else {
28866
- l = b;
28876
+ l = v;
28867
28877
  const k = a.length;
28868
28878
  a[k] = [g];
28869
28879
  }
@@ -28967,11 +28977,11 @@ class Ro extends Rn {
28967
28977
  const { moveEffect: r, moveToFirstPanoEffect: a, moveToFirstPanoDuration: l } = s;
28968
28978
  return this.privateState.moveToFirstPanoEffect = a, this.privateState.moveToFirstPanoDuration = l, s.panoIndexList.forEach((c, d) => {
28969
28979
  const h = (() => {
28970
- var g, b, y, I;
28980
+ var g, v, y, I;
28971
28981
  const u = s.panoIndexList.slice(d).find((k) => k !== c);
28972
28982
  if (u === void 0)
28973
28983
  return;
28974
- const m = (g = n[c]) == null ? void 0 : g.position, A = (b = n[u]) == null ? void 0 : b.position;
28984
+ const m = (g = n[c]) == null ? void 0 : g.position, A = (v = n[u]) == null ? void 0 : v.position;
28975
28985
  if (!A || !m || ((y = n[c]) == null ? void 0 : y.floorIndex) !== ((I = n[u]) == null ? void 0 : I.floorIndex))
28976
28986
  return;
28977
28987
  const p = new E.Vector3().subVectors(A, m);
@@ -29032,7 +29042,7 @@ class Ro extends Rn {
29032
29042
  if ((e == null ? void 0 : e.playFromId) !== void 0)
29033
29043
  return (A = this.data) == null ? void 0 : A.keyframes.findIndex((g) => g.id === e.playFromId);
29034
29044
  if (c != null && c.keyframeId) {
29035
- const g = (p = this.data) == null ? void 0 : p.keyframes.find((b) => b.id === c.keyframeId);
29045
+ const g = (p = this.data) == null ? void 0 : p.keyframes.find((v) => v.id === c.keyframeId);
29036
29046
  if (c != null && c.fiveState && (yield this.move(c.fiveState, {
29037
29047
  moveEffect: o.moveToFirstPanoEffect,
29038
29048
  duration: o.moveToFirstPanoDuration
@@ -29040,8 +29050,8 @@ class Ro extends Rn {
29040
29050
  if (g.data.effect === "Move")
29041
29051
  return g.index;
29042
29052
  if (g.data.effect === "Rotate") {
29043
- const b = c.duration !== void 0 ? c.duration * (1 - c.playedProgress) : void 0;
29044
- return yield this.playKeyframe(g, { duration: b }), d = !0, g.index + 1;
29053
+ const v = c.duration !== void 0 ? c.duration * (1 - c.playedProgress) : void 0;
29054
+ return yield this.playKeyframe(g, { duration: v }), d = !0, g.index + 1;
29045
29055
  }
29046
29056
  }
29047
29057
  }
@@ -29476,7 +29486,7 @@ class QP extends Rn {
29476
29486
  }
29477
29487
  load(e, n, s = !0) {
29478
29488
  return U(this, null, function* () {
29479
- var m, A, p, g, b, y, I;
29489
+ var m, A, p, g, v, y, I;
29480
29490
  if (this.disposed)
29481
29491
  return;
29482
29492
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
@@ -29488,10 +29498,10 @@ class QP extends Rn {
29488
29498
  width: (A = a == null ? void 0 : a.unitWidth) != null ? A : 0.6,
29489
29499
  texture: { url: (p = a == null ? void 0 : a.arrowTextureUrl) != null ? p : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
29490
29500
  }
29491
- }, d = (b = (g = r.routes) == null ? void 0 : g.map((k) => {
29501
+ }, d = (v = (g = r.routes) == null ? void 0 : g.map((k) => {
29492
29502
  var S;
29493
29503
  return Xe({}, c, { id: (S = k.id) != null ? S : Date.now(), pano_group: k.panoIndexList });
29494
- })) != null ? b : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) => Xe({}, c, k))) != null ? I : [], u = [...d, ...h];
29504
+ })) != null ? v : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) => Xe({}, c, k))) != null ? I : [], u = [...d, ...h];
29495
29505
  yield this.waitFiveLoaded(), this.clear(), u.forEach((k) => {
29496
29506
  this.addGuideLineItem(k);
29497
29507
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${fh} loaded`, r);
@@ -30714,14 +30724,14 @@ class h2 extends ps {
30714
30724
  const m = new E.Quaternion().setFromUnitVectors(n.clone().normalize(), u.clone().normalize()), A = l.quaternion.clone().premultiply(m);
30715
30725
  if (this.hooks.emit("wantToRotate", A))
30716
30726
  return;
30717
- const b = new E.Euler().setFromQuaternion(
30727
+ const v = new E.Euler().setFromQuaternion(
30718
30728
  new E.Quaternion().setFromUnitVectors(
30719
30729
  n.clone().normalize().applyQuaternion(a.clone().inverse()),
30720
30730
  u.clone().normalize().applyQuaternion(a.clone().inverse())
30721
30731
  ),
30722
30732
  `${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
30723
30733
  )[r] * o.angleDirection;
30724
- if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(su(this.startInfo.angle)), d) {
30734
+ if (this.startInfo.angle += v, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(su(this.startInfo.angle)), d) {
30725
30735
  const y = new E.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
30726
30736
  l.position.copy(y);
30727
30737
  }
@@ -30855,7 +30865,7 @@ class u2 extends ps {
30855
30865
  var V;
30856
30866
  (V = this.startInfo) != null && V.dragPointInCenterLeft ? (H === 0 || H === 3) && Q.add(G) : (H === 1 || H === 2) && Q.add(G);
30857
30867
  });
30858
- }, b = () => {
30868
+ }, v = () => {
30859
30869
  const G = p;
30860
30870
  this.helperObject3D.cornerPositions.forEach((Q, H) => {
30861
30871
  var V;
@@ -30867,11 +30877,11 @@ class u2 extends ps {
30867
30877
  g();
30868
30878
  break;
30869
30879
  case "ns":
30870
- b();
30880
+ v();
30871
30881
  break;
30872
30882
  case "nesw":
30873
30883
  case "nwse":
30874
- g(), b();
30884
+ g(), v();
30875
30885
  }
30876
30886
  const y = new ie().subVectors(r[1], r[0]).length() / h.length(), I = new ie().subVectors(r[3], r[0]).length() / u.length(), k = new ie(y, I, 1), S = new E.Matrix4().scale(k);
30877
30887
  n.isCSS3DObjectPlus ? n.applyScaleMatrix4(S) : n.scale.applyMatrix4(S), s.position.copy(a);
@@ -31019,13 +31029,13 @@ class y2 extends gs {
31019
31029
  if (e.isCSS3DObjectPlus && r) {
31020
31030
  const A = new n2(e, r, a, this.five.scene), p = new Zi(this.five, f2, e, A, void 0, u);
31021
31031
  s.addControllers({ scaleController: p.helperController }), o.push(() => p.dispose()), Mh(this.five).then(() => {
31022
- var g, b;
31032
+ var g, v;
31023
31033
  if (e.isCSS3DObjectPlus) {
31024
31034
  const y = e;
31025
31035
  if (!y || y.mode !== "front")
31026
31036
  return;
31027
31037
  const I = (g = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? g : xh(this.five);
31028
- I && (this.css3DObjectParentMap.set(y, y.parent), y.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(I), (b = this.css3DRender.getBehindCSS3DObjectGroup()) == null || b.add(y), this.css3DRender.render(this.five.camera));
31038
+ I && (this.css3DObjectParentMap.set(y, y.parent), y.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(I), (v = this.css3DRender.getBehindCSS3DObjectGroup()) == null || v.add(y), this.css3DRender.render(this.five.camera));
31029
31039
  }
31030
31040
  });
31031
31041
  } else {