vrtalk-web-sdk 0.1.588 → 0.1.590
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.
- package/dist/src/index.d.ts +1 -0
- package/dist/src/model/vr/vr-action.d.ts +19 -1
- package/dist/src/model/vr/xr-logic.d.ts +2 -0
- package/dist/src/model/vr/xr-monitor.d.ts +36 -4
- package/dist/src/model/vr-component/vr-component-2d-panel-data.d.ts +7 -0
- package/dist/src/utils/xr-monitor-multi-scene-migration.d.ts +14 -0
- package/dist/vrtalk-web-sdk.js +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './parent';
|
|
|
4
4
|
export { migrateTriggersToCentralized } from './utils/trigger-migration';
|
|
5
5
|
export { resolveVrMainBarItems, resolveVrInfoBarItems, resolveArBottomItems, resolveArInfoItems, ensureIconLayoutMaterialized, ensureLegacyVrPlayerUiSettingsInitialized, } from './utils/ui-icon-layout-migrate';
|
|
6
6
|
export { migrateXrVariableTypeEnum } from './utils/xr-variable-type-enum-migration';
|
|
7
|
+
export { migrateXrMonitorMultiScene } from './utils/xr-monitor-multi-scene-migration';
|
|
7
8
|
export { buildExpressionFromTree, extractConditionTreeDependencies, EXPRESSION_FUNC_NAME, type ConditionFunctionDependency, type ConditionFunctionDepSpec, type ConditionTreeDependencies, } from './utils/xr-condition-tree-builder';
|
|
8
9
|
export { pickMultiLanguageStr, normalizeMultiLanguageStr, createMultiLanguageStr, normalizeBrowserLanguage, pickCurrentLanguage, } from './utils/multi-language-str-util';
|
|
9
10
|
export { computeProgressBarFillStyle, PROGRESS_BAR_KEYFRAMES_CSS, type ProgressBarFillOptions, } from './utils/progress-bar-style';
|
|
@@ -143,7 +143,7 @@ export declare class XrSwitchAction {
|
|
|
143
143
|
caseList: XrSwitchCase[];
|
|
144
144
|
defaultActionList: XrAnyAction[];
|
|
145
145
|
}
|
|
146
|
-
export declare type VrActionType = 'system_common_wait' | 'system_set_interactive_state' | 'system_ui_settings_change' | 'system_color_space_scene_tint' | 'system_color_space_display_brightness' | 'component_general_change_visibility' | 'component_general_change_transform' | 'component_general_play_transition_animation' | 'component_general_stop_transition_animation' | 'component_2d_general_change_deformation_settings' | 'component_general_audio_source_play_control' | 'component_general_audio_source_pause' | 'component_general_audio_source_change_loop_mode' | 'component_2d_image_change_source' | 'component_2d_video_change_source' | 'component_2d_video_change_play_state' | 'component_2d_video_change_mute_state' | 'component_2d_text_change_source' | 'component_2d_panel_change_scene' | 'component_2d_panel_button_change_enabled' | 'component_tag_simulate_click' | 'component_3d_box_change_color' | 'component_3d_model_play_animation_clip' | 'component_3d_model_stop_animation_clip' | 'information_content_card_show' | 'information_content_card_close' | 'information_link_open' | 'information_link_close' | 'audio_center_play_list' | 'audio_center_pause' | 'audio_center_set_volume' | 'sweep_change_enabled' | 'sweep_change_panorama' | 'sweep_marker_change_enabled' | 'sweep_reset_to_default' | 'sweep_only_enable_current' | 'camera_move_to' | 'camera_dolly_move' | 'camera_dolly_stop' | 'navigation_start' | 'navigation_stop' | 'logic_variable_modify' | 'logic_variable_number_add' | 'logic_variable_number_subtract' | 'logic_variable_string_append' | 'logic_variable_string_trim_end' | 'logic_variable_string_advanced' | 'logic_variable_boolean_toggle' | 'flow_enter' | 'flow_exit' | 'send_broadcast' | 'system_state_scope_create' | 'system_state_scope_switch' | 'system_state_scope_destroy' | 'monitor_change_enabled' | 'monitor_switch_active_tab' | 'monitor_component_change_visibility' | 'monitor_video_change_play_state' | 'monitor_video_change_mute_state' | 'monitor_change_badge_text' | 'monitor_change_badge_style' | 'layer_change_visibility' | 'hamburger_menu_node_change_visibility' | 'hamburger_menu_change_open_state' | 'hamburger_menu_group_change_expanded' | 'canvas_component_change_visibility' | 'message_card_change_show_state' | 'message_card_show' | 'message_card_hide' | 'message_card_create_temporary' | 'message_card_destroy_temporary' | 'tts_play_voice' | 'tts_realtime_stream' | 'background_thread_start' | 'background_thread_pause' | 'background_thread_stop' | 'ai_agent_activate' | 'ai_agent_hide' | 'ai_agent_wake' | 'ai_agent_activate_and_send_user_message' | 'ai_agent_activate_and_inject_dialogue' | 'ai_agent_inject_hidden_state_message' | 'ai_agent_activate_and_inject_assistant_message' | 'system_open_webpage' | 'ability_enable' | 'ability_stop' | 'cloud_form_show_dialog' | 'cloud_form_collect_field' | 'cloud_form_submit' | 'cloud_form_reset' | 'hit_analytics_event' | 'popup_user_form_show_dialog' | 'logic_random_number' | 'logic_random_color' | 'logic_current_time' | 'logic_random_pick_string' | 'logic_random_pick_number' | 'logic_random_pick_boolean' | 'logic_random_pick_enum' | 'logic_random_pick_color' | 'logic_random_pick_css_color' | 'logic_random_pick_from_recommend_options' | 'visualization_controller_pop' | 'visualization_controller_hide' | 'visualization_controller_close_all';
|
|
146
|
+
export declare type VrActionType = 'system_common_wait' | 'system_set_interactive_state' | 'system_ui_settings_change' | 'system_color_space_scene_tint' | 'system_color_space_display_brightness' | 'component_general_change_visibility' | 'component_general_change_transform' | 'component_general_play_transition_animation' | 'component_general_stop_transition_animation' | 'component_2d_general_change_deformation_settings' | 'component_general_audio_source_play_control' | 'component_general_audio_source_pause' | 'component_general_audio_source_change_loop_mode' | 'component_2d_image_change_source' | 'component_2d_video_change_source' | 'component_2d_video_change_play_state' | 'component_2d_video_change_mute_state' | 'component_2d_text_change_source' | 'component_2d_panel_change_scene' | 'component_2d_panel_button_change_enabled' | 'component_tag_simulate_click' | 'component_3d_box_change_color' | 'component_3d_model_play_animation_clip' | 'component_3d_model_stop_animation_clip' | 'information_content_card_show' | 'information_content_card_close' | 'information_link_open' | 'information_link_close' | 'audio_center_play_list' | 'audio_center_pause' | 'audio_center_set_volume' | 'sweep_change_enabled' | 'sweep_change_panorama' | 'sweep_marker_change_enabled' | 'sweep_reset_to_default' | 'sweep_only_enable_current' | 'camera_move_to' | 'camera_dolly_move' | 'camera_dolly_stop' | 'navigation_start' | 'navigation_stop' | 'logic_variable_modify' | 'logic_variable_number_add' | 'logic_variable_number_subtract' | 'logic_variable_string_append' | 'logic_variable_string_trim_end' | 'logic_variable_string_advanced' | 'logic_variable_boolean_toggle' | 'flow_enter' | 'flow_exit' | 'send_broadcast' | 'system_state_scope_create' | 'system_state_scope_switch' | 'system_state_scope_destroy' | 'monitor_change_enabled' | 'monitor_switch_active_tab' | 'monitor_component_change_visibility' | 'monitor_video_change_play_state' | 'monitor_video_change_mute_state' | 'monitor_change_badge_text' | 'monitor_change_badge_style' | 'monitor_switch_active_scene' | 'monitor_change_popup_visible' | 'layer_change_visibility' | 'hamburger_menu_node_change_visibility' | 'hamburger_menu_change_open_state' | 'hamburger_menu_group_change_expanded' | 'canvas_component_change_visibility' | 'message_card_change_show_state' | 'message_card_show' | 'message_card_hide' | 'message_card_create_temporary' | 'message_card_destroy_temporary' | 'tts_play_voice' | 'tts_realtime_stream' | 'background_thread_start' | 'background_thread_pause' | 'background_thread_stop' | 'ai_agent_activate' | 'ai_agent_hide' | 'ai_agent_wake' | 'ai_agent_activate_and_send_user_message' | 'ai_agent_activate_and_inject_dialogue' | 'ai_agent_inject_hidden_state_message' | 'ai_agent_activate_and_inject_assistant_message' | 'system_open_webpage' | 'ability_enable' | 'ability_stop' | 'cloud_form_show_dialog' | 'cloud_form_collect_field' | 'cloud_form_submit' | 'cloud_form_reset' | 'hit_analytics_event' | 'popup_user_form_show_dialog' | 'logic_random_number' | 'logic_random_color' | 'logic_current_time' | 'logic_random_pick_string' | 'logic_random_pick_number' | 'logic_random_pick_boolean' | 'logic_random_pick_enum' | 'logic_random_pick_color' | 'logic_random_pick_css_color' | 'logic_random_pick_from_recommend_options' | 'visualization_controller_pop' | 'visualization_controller_hide' | 'visualization_controller_close_all';
|
|
147
147
|
export declare class VrActionTypeDefine {
|
|
148
148
|
static readonly SYSTEM_COMMON_WAIT: VrActionType;
|
|
149
149
|
static readonly COMPONENT_GENERAL_CHANGE_VISIBILITY: VrActionType;
|
|
@@ -201,6 +201,8 @@ export declare class VrActionTypeDefine {
|
|
|
201
201
|
static readonly MONITOR_VIDEO_CHANGE_MUTE_STATE: VrActionType;
|
|
202
202
|
static readonly MONITOR_CHANGE_BADGE_TEXT: VrActionType;
|
|
203
203
|
static readonly MONITOR_CHANGE_BADGE_STYLE: VrActionType;
|
|
204
|
+
static readonly MONITOR_SWITCH_ACTIVE_SCENE: VrActionType;
|
|
205
|
+
static readonly MONITOR_CHANGE_POPUP_VISIBLE: VrActionType;
|
|
204
206
|
static readonly LAYER_CHANGE_VISIBILITY: VrActionType;
|
|
205
207
|
static readonly HAMBURGER_MENU_NODE_CHANGE_VISIBILITY: VrActionType;
|
|
206
208
|
static readonly HAMBURGER_MENU_CHANGE_OPEN_STATE: VrActionType;
|
|
@@ -556,6 +558,22 @@ export declare class VrActionParamsMonitorChangeBadgeStyle {
|
|
|
556
558
|
badgeBgColorRef?: XrTypedValue<string>;
|
|
557
559
|
badgeTextColorRef?: XrTypedValue<string>;
|
|
558
560
|
}
|
|
561
|
+
export declare class VrActionParamsMonitorSwitchActiveScene {
|
|
562
|
+
monitorId: string;
|
|
563
|
+
sceneId: string;
|
|
564
|
+
sceneIdRef?: XrTypedValue<string>;
|
|
565
|
+
}
|
|
566
|
+
/** 弹出式模态切换语义:show=打开,hide=关闭,toggle=以当前 popupVisible 取反 */
|
|
567
|
+
export declare type MonitorPopupChangeType = 'show' | 'hide' | 'toggle';
|
|
568
|
+
export declare class MonitorPopupChangeTypeDefine {
|
|
569
|
+
static readonly SHOW: MonitorPopupChangeType;
|
|
570
|
+
static readonly HIDE: MonitorPopupChangeType;
|
|
571
|
+
static readonly TOGGLE: MonitorPopupChangeType;
|
|
572
|
+
}
|
|
573
|
+
export declare class VrActionParamsMonitorChangePopupVisible {
|
|
574
|
+
monitorId: string;
|
|
575
|
+
changeType: MonitorPopupChangeType;
|
|
576
|
+
}
|
|
559
577
|
export declare class VrActionParamsCanvasComponentChangeVisibility {
|
|
560
578
|
hamburgerMenuNodeId: string;
|
|
561
579
|
componentIdList: string[];
|
|
@@ -308,6 +308,8 @@ export declare class XrMonitorComponentRuntimeState {
|
|
|
308
308
|
*/
|
|
309
309
|
export declare class XrMonitorRuntimeState {
|
|
310
310
|
enabled: boolean;
|
|
311
|
+
currentSceneId: string;
|
|
312
|
+
popupVisible: boolean;
|
|
311
313
|
componentStates: {
|
|
312
314
|
[componentId: string]: XrMonitorComponentRuntimeState;
|
|
313
315
|
};
|
|
@@ -163,20 +163,52 @@ export declare class XrMonitorComponentVariableControl extends XrMonitorComponen
|
|
|
163
163
|
height: number;
|
|
164
164
|
bound: XrBoundVariableControl;
|
|
165
165
|
}
|
|
166
|
+
export declare type XrMonitorDisplayMode = 'floating' | 'popup';
|
|
167
|
+
export declare class XrMonitorDisplayModeDefine {
|
|
168
|
+
static readonly FLOATING: XrMonitorDisplayMode;
|
|
169
|
+
static readonly POPUP: XrMonitorDisplayMode;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* 监控面板场景(画面)
|
|
173
|
+
*
|
|
174
|
+
* 一个监控面板可包含多个场景,每个场景是一块独立画布:自己的尺寸 / 圆角 / 背景色 / 背景模糊 + 组件列表。
|
|
175
|
+
* 运行时由 XrMonitorRuntimeState.currentSceneId 决定渲染哪个场景;切场景用 monitor_switch_active_scene action。
|
|
176
|
+
* 与 2D 面板的 VrComponent2dPanelSceneData 同构。
|
|
177
|
+
*
|
|
178
|
+
* 注意:组件 id 在「同一监控面板内」全局唯一(VRTalkBaseData 的 UUID),不按场景隔离——
|
|
179
|
+
* 这样组件级 action(可见性 / 视频)与视频元素注册表仍按 (monitorId, componentId) 寻址,无需改动。
|
|
180
|
+
*/
|
|
181
|
+
export declare class XrMonitorScene extends VRTalkBaseData {
|
|
182
|
+
name: string;
|
|
183
|
+
description: string;
|
|
184
|
+
size: Vector2;
|
|
185
|
+
radius: number;
|
|
186
|
+
backgroundColor: import("../general/color").Color;
|
|
187
|
+
backgroundBlur: number;
|
|
188
|
+
componentList: XrMonitorComponentBase[];
|
|
189
|
+
}
|
|
166
190
|
export declare class XrMonitor extends VRTalkBaseData {
|
|
167
191
|
name: string;
|
|
168
192
|
remark: string;
|
|
169
193
|
title: MultiLanguageStr;
|
|
170
194
|
description: string;
|
|
171
195
|
icon: TintableIconRef;
|
|
172
|
-
size: Vector2;
|
|
173
|
-
radius: number;
|
|
174
196
|
defaultEnabled: boolean;
|
|
175
|
-
|
|
176
|
-
|
|
197
|
+
displayMode: XrMonitorDisplayMode;
|
|
198
|
+
sceneDataList: XrMonitorScene[];
|
|
199
|
+
defaultSceneId: string;
|
|
177
200
|
badgeText: MultiLanguageStr;
|
|
178
201
|
badgeStyle: XrMonitorBadgeStyle;
|
|
179
202
|
badgeBgColor: string;
|
|
180
203
|
badgeTextColor: string;
|
|
204
|
+
/** @deprecated 迁移到 sceneDataList[0].size;保留仅供反序列化老数据 */
|
|
205
|
+
size: Vector2;
|
|
206
|
+
/** @deprecated 迁移到 sceneDataList[0].radius */
|
|
207
|
+
radius: number;
|
|
208
|
+
/** @deprecated 迁移到 sceneDataList[0].backgroundColor */
|
|
209
|
+
backgroundColor: import("../general/color").Color;
|
|
210
|
+
/** @deprecated 迁移到 sceneDataList[0].backgroundBlur */
|
|
211
|
+
backgroundBlur: number;
|
|
212
|
+
/** @deprecated 迁移到 sceneDataList[0].componentList */
|
|
181
213
|
componentList: XrMonitorComponentBase[];
|
|
182
214
|
}
|
|
@@ -35,12 +35,19 @@ export declare class VrComponent2dPanelSceneData {
|
|
|
35
35
|
style: VrComponent2dPanelSceneStyle;
|
|
36
36
|
snapshotImageSrc: string;
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* 答题方式
|
|
40
|
+
* - 'single' 单选:点击任一选项立即判定(点中的选项是否属于正确答案集合),无需确定按钮
|
|
41
|
+
* - 'multiple' 多选:可多选/反选,需点「确定」按钮才比对整集是否相等并判定
|
|
42
|
+
*/
|
|
43
|
+
export declare type VrComponent2dPanelAnswerType = 'single' | 'multiple';
|
|
38
44
|
/**
|
|
39
45
|
* 2D面板-答题模式相关设置
|
|
40
46
|
*/
|
|
41
47
|
export declare class VrComponent2dPanelAnsweringModeSettings {
|
|
42
48
|
confirmButton: VrComponent2dPanelButtonItemData;
|
|
43
49
|
correctButtonIdList: string[];
|
|
50
|
+
answerType: VrComponent2dPanelAnswerType;
|
|
44
51
|
}
|
|
45
52
|
/**
|
|
46
53
|
* 2D面板-变量推荐选项修改器模式相关设置(替代旧 VrComponent2dPanelEnumModifierModeSettings)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 监控面板「多场景」迁移工具
|
|
3
|
+
*
|
|
4
|
+
* 老监控面板是「单画布」:componentList + 画布样式(size/radius/backgroundColor/backgroundBlur)
|
|
5
|
+
* 直接挂在 XrMonitor 上。多场景改造后,这些下沉到 XrMonitorScene。
|
|
6
|
+
*
|
|
7
|
+
* 本迁移把老的单画布非破坏式地包成 sceneDataList[0],并设 defaultSceneId,同时给 displayMode 兜底。
|
|
8
|
+
* 幂等:已含非空 sceneDataList 的数据只补 defaultSceneId 兜底后跳过。
|
|
9
|
+
*
|
|
10
|
+
* 调用时机:与 migrateTriggersToCentralized / migrateXrVariableTypeEnum 并列,在 VR 数据加载时调用
|
|
11
|
+
* (player: vr-player-operator-player.ts;console: vr-edit-index.vue)。
|
|
12
|
+
*/
|
|
13
|
+
import { VrContentData } from '../model/vr/vr-content-data';
|
|
14
|
+
export declare function migrateXrMonitorMultiScene(vrContentData: VrContentData): void;
|
package/dist/vrtalk-web-sdk.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var s in a)("object"==typeof exports?exports:e)[s]=a[s]}}(this,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var s in a)e.o(a,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:a[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AR_BOTTOM_ICON_KEYS:()=>_o,AR_INFO_BAR_DEFAULT:()=>io,AR_INFO_ICON_KEYS:()=>mo,AR_MAIN_BAR_DEFAULT:()=>oo,ArCommonSettings:()=>dr,ArMultisetSettings:()=>lr,ArPositionXSettings:()=>ur,ChromaKeySettings:()=>_,Color:()=>d,ColorBuilder:()=>c,ColorParser:()=>l,Component2dFaceToCameraModeDefine:()=>te,EXPRESSION_FUNC_NAME:()=>Kl,EaseAnimationFunctionDefine:()=>m,EaseAnimationSettings:()=>E,FreeButton:()=>C,GotoPositionMethodDefine:()=>u,HoverBorderSettings:()=>O,LanguageTypeDefine:()=>g,LogicCurrentTimeOutputTypeDefine:()=>rs,LogicRandomColorPaletteDefine:()=>ss,MediaLoopModeDefine:()=>y,MonitorVideoMuteChangeTypeDefine:()=>ma,MonitorVideoPlayChangeTypeDefine:()=>_a,MultiLanguageStr:()=>A,PROGRESS_BAR_KEYFRAMES_CSS:()=>sd,ParentComCommandAssetLabel:()=>Qc,ParentComCommandAudio:()=>ol,ParentComCommandCamera:()=>tl,ParentComCommandComponent:()=>Kc,ParentComCommandCover:()=>Hc,ParentComCommandDollyPath:()=>ml,ParentComCommandFloor:()=>el,ParentComCommandFov:()=>Jc,ParentComCommandHamburgerMenu:()=>El,ParentComCommandInfoTemplate:()=>Wc,ParentComCommandInformation:()=>Yc,ParentComCommandLayer:()=>qc,ParentComCommandLight:()=>zc,ParentComCommandMarker:()=>sl,ParentComCommandMessageCard:()=>_l,ParentComCommandMonitor:()=>dl,ParentComCommandNavigation:()=>nl,ParentComCommandObstacle:()=>rl,ParentComCommandPlayer:()=>Fc,ParentComCommandRenderer:()=>al,ParentComCommandSpaceFence:()=>ll,ParentComCommandSticker:()=>$c,ParentComCommandSweep:()=>Zc,ParentComCommandTarget:()=>il,ParentComCommandTrimmer:()=>jc,ParentComCommandUi:()=>Xc,ParentComCommandWormhole:()=>cl,ParentComMessageAssetLabel:()=>yl,ParentComMessageCamera:()=>pl,ParentComMessageComponent:()=>Tl,ParentComMessageDollyPath:()=>Ml,ParentComMessageFloor:()=>Al,ParentComMessageFov:()=>gl,ParentComMessageNavigation:()=>Ol,ParentComMessageObstacle:()=>Sl,ParentComMessagePlayer:()=>xc,ParentComMessageRenderer:()=>ul,ParentComMessageSpaceFence:()=>Pl,ParentComMessageSticker:()=>Ll,ParentComMessageSweep:()=>Cl,ParentComMessageTarget:()=>Nl,ParentComMessageTrimmer:()=>Il,ParentComMessageWormhole:()=>Rl,PlayerComCommand:()=>Ki,PlayerComCommandAssetLabel:()=>mc,PlayerComCommandAudio:()=>_c,PlayerComCommandCamera:()=>oc,PlayerComCommandComponent:()=>Zi,PlayerComCommandCover:()=>zi,PlayerComCommandDollyPath:()=>Cc,PlayerComCommandFloor:()=>rc,PlayerComCommandFov:()=>ec,PlayerComCommandHamburgerMenu:()=>uc,PlayerComCommandInfoTemplate:()=>$i,PlayerComCommandInformation:()=>Qi,PlayerComCommandLayer:()=>tc,PlayerComCommandLight:()=>ac,PlayerComCommandMarker:()=>cc,PlayerComCommandMessageCard:()=>Ac,PlayerComCommandMonitor:()=>gc,PlayerComCommandNavigation:()=>lc,PlayerComCommandObstacle:()=>dc,PlayerComCommandPlayer:()=>qi,PlayerComCommandRenderer:()=>ic,PlayerComCommandSpaceFence:()=>Tc,PlayerComCommandSticker:()=>nc,PlayerComCommandSweep:()=>Bc,PlayerComCommandTarget:()=>Ec,PlayerComCommandTrimmer:()=>sc,PlayerComCommandTypeDefine:()=>Ji,PlayerComCommandUi:()=>ji,PlayerComCommandWormhole:()=>pc,PlayerComMessage:()=>Oc,PlayerComMessageAssetLabel:()=>wc,PlayerComMessageCamera:()=>Ic,PlayerComMessageComponent:()=>Lc,PlayerComMessageDollyPath:()=>Uc,PlayerComMessageFloor:()=>Nc,PlayerComMessageFov:()=>yc,PlayerComMessageNavigation:()=>bc,PlayerComMessageObstacle:()=>hc,PlayerComMessagePlayer:()=>Rc,PlayerComMessageRenderer:()=>Mc,PlayerComMessageSpaceFence:()=>kc,PlayerComMessageSticker:()=>fc,PlayerComMessageSweep:()=>Pc,PlayerComMessageTarget:()=>vc,PlayerComMessageTrimmer:()=>Dc,PlayerComMessageTypeDefine:()=>Sc,PlayerComMessageWormhole:()=>Vc,PlayerController:()=>Gc,PopupUserFormField:()=>es,PositionXAbnormalHandheldSettings:()=>mr,PositionXCorrectionSettings:()=>Cr,PositionXDistanceTrigger:()=>Tr,PositionXDynamicSettings:()=>Ar,PositionXInitialSettings:()=>Er,PositionXQualitySettings:()=>_r,PositionXScoreTier:()=>gr,PositionXTimerTrigger:()=>pr,RendererResolution:()=>S,TakeScreenshotVisibility:()=>I,TintableIconRef:()=>L,TtsTextModeDefine:()=>Ma,UnityNavigationMode:()=>N,UnityNavigationParams:()=>R,UnityNavigationPlan:()=>P,VRTalkBaseData:()=>T,VRTalkEditablePlayer:()=>bl,VR_ACTION_PLATFORM_CAPABILITY_AR_ONLY:()=>us,VR_ACTION_PLATFORM_CAPABILITY_VR_AND_AR:()=>Cs,VR_ACTION_PLATFORM_CAPABILITY_VR_ONLY:()=>As,VR_INFO_BAR_DEFAULT:()=>ro,VR_INFO_BAR_ICON_KEYS:()=>lo,VR_MAIN_BAR_DEFAULT:()=>no,VR_MAIN_BAR_ICON_KEYS:()=>co,Vector2:()=>s,Vector3:()=>a,VrAction:()=>qe,VrActionAnalyticsValueModeDefine:()=>$a,VrActionCloudFormValueModeDefine:()=>Ka,VrActionHitAnalyticsEventFieldBinding:()=>Qa,VrActionParams:()=>At,VrActionParams2dGeneralChangeDeformationSettings:()=>It,VrActionParams2dImageChangeSource:()=>yt,VrActionParams2dPanelButtonChangeEnabled:()=>Dt,VrActionParams2dPanelChangeScene:()=>ht,VrActionParams2dTextChangeSource:()=>Lt,VrActionParams2dVideoChangeMuteState:()=>Pt,VrActionParams2dVideoChangePlayState:()=>Rt,VrActionParams2dVideoChangeSource:()=>Nt,VrActionParams3dBoxChangeColor:()=>Mt,VrActionParams3dModelOperateAnimationClip:()=>kt,VrActionParamsAbilityEnable:()=>Tt,VrActionParamsAbilityStop:()=>gt,VrActionParamsAiAgentActivate:()=>fa,VrActionParamsAiAgentActivateAndInjectAssistantMessage:()=>Ga,VrActionParamsAiAgentActivateAndInjectDialogue:()=>Ua,VrActionParamsAiAgentActivateAndSendUserMessage:()=>ka,VrActionParamsAiAgentHide:()=>wa,VrActionParamsAiAgentInjectHiddenStateMessage:()=>Ba,VrActionParamsAiAgentWake:()=>Va,VrActionParamsAudioCenterPlayList:()=>Vt,VrActionParamsAudioCenterSetVolume:()=>Xa,VrActionParamsBackgroundThread:()=>Da,VrActionParamsCameraDollyMove:()=>Gt,VrActionParamsCameraDollyStop:()=>xt,VrActionParamsCameraMoveTo:()=>Bt,VrActionParamsCanvasComponentChangeVisibility:()=>Aa,VrActionParamsCloudFormCollectField:()=>qa,VrActionParamsCloudFormReset:()=>ja,VrActionParamsCloudFormShowDialog:()=>Ja,VrActionParamsCloudFormSubmit:()=>za,VrActionParamsComponentGeneralAudioSourceChangeLoopMode:()=>vt,VrActionParamsComponentGeneralAudioSourcePause:()=>wt,VrActionParamsComponentGeneralAudioSourcePlayControl:()=>ft,VrActionParamsComponentGeneralChangeTransform:()=>Ot,VrActionParamsComponentGeneralChangeVisibility:()=>ut,VrActionParamsComponentGeneralOperateTransitionAnimation:()=>St,VrActionParamsComponentTagSimulateClick:()=>bt,VrActionParamsFlowEnter:()=>ea,VrActionParamsFlowExit:()=>ta,VrActionParamsHamburgerMenuChangeOpenState:()=>Oa,VrActionParamsHamburgerMenuGroupChangeExpanded:()=>Sa,VrActionParamsHamburgerMenuNodeChangeVisibility:()=>ua,VrActionParamsHitAnalyticsEvent:()=>Za,VrActionParamsInformationContentCardShow:()=>Kt,VrActionParamsInformationLinkOpen:()=>Jt,VrActionParamsLayerChangeVisibility:()=>Ca,VrActionParamsLogicCurrentTime:()=>os,VrActionParamsLogicRandomColor:()=>ns,VrActionParamsLogicRandomNumber:()=>as,VrActionParamsLogicRandomPickBoolean:()=>ls,VrActionParamsLogicRandomPickColor:()=>ds,VrActionParamsLogicRandomPickCssColor:()=>_s,VrActionParamsLogicRandomPickFromRecommendOptions:()=>ms,VrActionParamsLogicRandomPickNumber:()=>cs,VrActionParamsLogicRandomPickString:()=>is,VrActionParamsLogicVariableBooleanToggle:()=>Zt,VrActionParamsLogicVariableModify:()=>qt,VrActionParamsLogicVariableNumberAdd:()=>zt,VrActionParamsLogicVariableStringAdvanced:()=>Qt,VrActionParamsLogicVariableStringAppend:()=>jt,VrActionParamsLogicVariableStringTrimEnd:()=>$t,VrActionParamsMessageCardChangeShowState:()=>La,VrActionParamsMessageCardCreateTemporary:()=>Ra,VrActionParamsMessageCardDestroyTemporary:()=>Pa,VrActionParamsMessageCardHide:()=>Na,VrActionParamsMessageCardShow:()=>ya,VrActionParamsMonitorChangeBadgeStyle:()=>ga,VrActionParamsMonitorChangeBadgeText:()=>Ta,VrActionParamsMonitorChangeEnabled:()=>ca,VrActionParamsMonitorComponentChangeVisibility:()=>da,VrActionParamsMonitorSwitchActiveTab:()=>la,VrActionParamsMonitorVideoChangeMuteState:()=>pa,VrActionParamsMonitorVideoChangePlayState:()=>Ea,VrActionParamsNavigationStart:()=>Ut,VrActionParamsPopupUserFormShowDialog:()=>ts,VrActionParamsSendBroadcast:()=>sa,VrActionParamsSweepChangeEnabled:()=>Ft,VrActionParamsSweepChangePanorama:()=>Ht,VrActionParamsSweepMarkerChangeEnabled:()=>Xt,VrActionParamsSweepOnlyEnableCurrent:()=>Yt,VrActionParamsSweepResetToDefault:()=>Wt,VrActionParamsSystemColorSpaceDisplayBrightness:()=>Ya,VrActionParamsSystemColorSpaceSceneTint:()=>Wa,VrActionParamsSystemCommonWait:()=>Ct,VrActionParamsSystemOpenWebpage:()=>Fa,VrActionParamsSystemSetInteractiveState:()=>Ha,VrActionParamsSystemStateScopeCreate:()=>ra,VrActionParamsSystemStateScopeDestroy:()=>ia,VrActionParamsSystemStateScopeSwitch:()=>oa,VrActionParamsSystemUiSettingsChange:()=>Ia,VrActionParamsTtsPlayVoice:()=>ba,VrActionParamsTtsRealtimeStream:()=>ha,VrActionParamsVisualizationControllerCloseAll:()=>Ts,VrActionParamsVisualizationControllerHide:()=>ps,VrActionParamsVisualizationControllerPop:()=>Es,VrActionSystemOpenWebpagePcModeDefine:()=>xa,VrActionTypeDefine:()=>pt,VrAdChannel:()=>ys,VrAdItem:()=>Ns,VrAiSettings:()=>Rs,VrAppearanceStyle:()=>H,VrAssetLabel:()=>Ps,VrAudio:()=>J,VrAudioCenter:()=>W,VrAudioList:()=>z,VrAudioLyric:()=>q,VrCameraEnterSettings:()=>or,VrCameraModeDefine:()=>n,VrCameraMoveTransitionTypeDefine:()=>r,VrCameraPose:()=>i,VrColorSpaceSettings:()=>Us,VrComponent2dAdvertisementData:()=>di,VrComponent2dDeformationModeDefine:()=>se,VrComponent2dDeformationSettings:()=>ne,VrComponent2dImageData:()=>_i,VrComponent2dImageSourceData:()=>mi,VrComponent2dPanelAnsweringModeSettings:()=>gi,VrComponent2dPanelButtonItemData:()=>Li,VrComponent2dPanelButtonTypeDefine:()=>Oi,VrComponent2dPanelData:()=>pi,VrComponent2dPanelImageItemData:()=>Si,VrComponent2dPanelItem:()=>ui,VrComponent2dPanelItemStyle:()=>Ri,VrComponent2dPanelItemTypeDefine:()=>Ci,VrComponent2dPanelSceneData:()=>Ti,VrComponent2dPanelSceneGeneralParams:()=>yi,VrComponent2dPanelSceneModeDefine:()=>Ei,VrComponent2dPanelSceneStyle:()=>Ni,VrComponent2dPanelTextItemData:()=>Ii,VrComponent2dPanelVariableModifierModeSettings:()=>Ai,VrComponent2dTextBasicModeSettings:()=>fi,VrComponent2dTextData:()=>hi,VrComponent2dTextHorizontalAlignDefine:()=>Pi,VrComponent2dTextMarqueeModeSettings:()=>wi,VrComponent2dTextModeDefine:()=>bi,VrComponent2dTextSourceData:()=>Di,VrComponent2dTextVerticalAlignDefine:()=>Mi,VrComponent2dVideoData:()=>vi,VrComponent2dVideoSourceData:()=>Vi,VrComponent3dBoxData:()=>ki,VrComponent3dModelAnimationClipData:()=>Gi,VrComponent3dModelAnimationData:()=>Bi,VrComponent3dModelData:()=>Ui,VrComponentAudioSource:()=>K,VrComponentAudioSourceDistanceModelDefine:()=>Y,VrComponentControllerTypeDefine:()=>$,VrComponentCustomVisibilitySettings:()=>ee,VrComponentData:()=>Q,VrComponentData2d:()=>ae,VrComponentData2dCurvedSurfaceSettings:()=>re,VrComponentData2dFoldSurfaceSettings:()=>oe,VrComponentData3d:()=>ie,VrComponentNavigationSettings:()=>Z,VrComponentTagData:()=>Fi,VrComponentTagTextLocationDefine:()=>xi,VrComponentTransitionAnimation:()=>le,VrComponentTransitionAnimationKeyframe:()=>de,VrComponentTransitionAnimationPlayCompleteProcessTypeDefine:()=>ce,VrComponentTypeDefine:()=>j,VrContentCard:()=>U,VrContentCardMedia:()=>G,VrContentCardMediaTypeDefine:()=>V,VrContentCardModule:()=>B,VrContentCardShowStyleDefine:()=>k,VrContentData:()=>Or,VrContentDataBuilder:()=>rr,VrCoverBackgroundFitTypeDefine:()=>Ws,VrCoverBackgroundTypeDefine:()=>Xs,VrCoverButtonTypeDefine:()=>Ys,VrCoverSettings:()=>Ks,VrFloatingLayerStyle:()=>Ms,VrFloor:()=>Sr,VrFloorMapSettings:()=>Ir,VrFlow:()=>br,VrFlowBroadcastListenerEntry:()=>Br,VrFlowPositionSettings:()=>Vr,VrFlowPositionTypeDefine:()=>vr,VrFlowStatusDefine:()=>Mr,VrFlowStep:()=>fr,VrFlowStepArriveAction:()=>wr,VrFlowStepBarStyleDefine:()=>Dr,VrFlowStepEndpointSettings:()=>Ur,VrFlowStepTypeDefine:()=>hr,VrFlowTrigger:()=>kr,VrFov:()=>Gr,VrInfoTemplateItemValue:()=>Vs,VrInfoTemplateSettings:()=>vs,VrIntroduceItem:()=>cr,VrLayer:()=>xr,VrLight:()=>Fr,VrLightAmbient:()=>Hr,VrLightDirectional:()=>Xr,VrLightPoint:()=>Wr,VrLogoEndpointConfig:()=>Ds,VrLogoObjectAlignDefine:()=>hs,VrLogoObjectFitDefine:()=>bs,VrMarker:()=>Kr,VrMarkerGroup:()=>Jr,VrMarkerTypeDefine:()=>Yr,VrMeasureAreaUnitDefine:()=>zr,VrMeasureData:()=>jr,VrMeasureDistanceUnitDefine:()=>qr,VrMeasurePoint:()=>$r,VrNavigationAdConfig:()=>Qr,VrNavigationModeDefine:()=>b,VrNavigationPath:()=>w,VrNavigationPoint:()=>D,VrNavigationPointBuilder:()=>h,VrNavigationPointTypeDefine:()=>M,VrNavigationRequest:()=>f,VrNavigationResult:()=>v,VrObstacle:()=>Zr,VrObstacleGroup:()=>eo,VrPlayerLogoConfig:()=>fs,VrPlayerModeDefine:()=>Hi,VrPlayerStatusDefine:()=>Wi,VrPlayerStatusNumMapping:()=>Xi,VrPlayerStatusValue:()=>Yi,VrPlayerUiSettings:()=>ws,VrRenderSettings:()=>ks,VrShadowStyle:()=>x,VrSignal:()=>Rr,VrSignalSourceDefine:()=>yr,VrSignalTrigger:()=>Pr,VrSignalTypeDefine:()=>Lr,VrSignalTypeSourceMapping:()=>Nr,VrSticker:()=>Ao,VrStickerActivateTypeDefine:()=>go,VrSweep:()=>Co,VrSweepAlignmentDefine:()=>uo,VrSweepCameraPose:()=>o,VrSweepPanoramaBallExternalViewModeDefine:()=>Io,VrSweepPanoramaData:()=>Lo,VrSweepPanoramaSourceData:()=>yo,VrSweepPanoramaSourceTypeDefine:()=>So,VrSweepPlacementTypeDefine:()=>Oo,VrTarget:()=>fo,VrTargetGroup:()=>wo,VrTheme:()=>No,VrTrimmerData:()=>Ro,VrUiIconItem:()=>ao,VrView:()=>Mo,VrViewTypeDefine:()=>bo,VrWorldSizeInfo:()=>ir,VrWormhole:()=>ho,VrWormholeGroup:()=>Do,WorkNoteEnterTag:()=>to,XR_AI_AGENT_TOOL_GROUPS:()=>si,XR_HAMBURGER_MENU_DEFAULT_COLOR:()=>En,XrAbility:()=>li,XrAbilityGroup:()=>ci,XrActionCategoryDefine:()=>Ye,XrAiAgent:()=>ai,XrAiAgentParams:()=>Zo,XrAiAgentRolePromptSettings:()=>Qo,XrAiAgentSkillPrompt:()=>ei,XrAiAgentUseAbility:()=>Wo,XrAiAgentUseAnalyticsEvent:()=>zo,XrAiAgentUseBackgroundThread:()=>Ho,XrAiAgentUseCameraDollyPath:()=>Xo,XrAiAgentUseCloudForm:()=>Jo,XrAiAgentUseComponent:()=>ko,XrAiAgentUseContentCard:()=>Yo,XrAiAgentUseFov:()=>Ko,XrAiAgentUseKnowledgeBase:()=>qo,XrAiAgentUseMessageCard:()=>jo,XrAiAgentUseMonitor:()=>$o,XrAiAgentUseSpaceFence:()=>xo,XrAiAgentUseSpaceFenceGroup:()=>Fo,XrAiAgentUseSticker:()=>Go,XrAiAgentUseTarget:()=>Uo,XrAiAgentUseVariable:()=>Bo,XrAiAgentWakePrompt:()=>ti,XrAiAgentWakeWorkStyleDefine:()=>va,XrAudioCenterState:()=>Ue,XrBackgroundThread:()=>vo,XrBackgroundThreadState:()=>Ne,XrBackgroundThreadStatusDefine:()=>ye,XrBaseAction:()=>Je,XrBoundVariableControl:()=>Ls,XrBroadcastChannel:()=>Vo,XrBroadcastPayloadValue:()=>aa,XrCameraDollyPath:()=>ii,XrCameraDollyPathNode:()=>oi,XrComponentState2dImage:()=>Pe,XrComponentState2dPanel:()=>he,XrComponentState2dText:()=>be,XrComponentState2dVideo:()=>Me,XrComponentState3dBox:()=>De,XrComponentState3dModel:()=>fe,XrComponentStateBase:()=>Re,XrComponentStateTag:()=>we,XrConditionAction:()=>ct,XrConditionArg:()=>st,XrConditionArgKindDefine:()=>et,XrConditionArgLiteralTypeDefine:()=>tt,XrConditionArrayItem:()=>at,XrConditionCall:()=>nt,XrConditionElseIfBranch:()=>it,XrConditionGroup:()=>rt,XrConditionNodeKindDefine:()=>Ze,XrConditionSubject:()=>je,XrConditionSubjectKindDefine:()=>ze,XrConditionTree:()=>ot,XrConditionValueOperand:()=>Qe,XrConditionValueOperandValueTypeDefine:()=>$e,XrConditionWatcher:()=>Oe,XrConditionWatcherTriggerModeDefine:()=>ue,XrCountLoopAction:()=>lt,XrExpressionLoopAction:()=>_t,XrExpressionLoopActionCheckExpressionPositionDefine:()=>dt,XrHamburgerCanvasComponentBase:()=>Qn,XrHamburgerCanvasComponentButton:()=>sr,XrHamburgerCanvasComponentButtonIconPositionDefine:()=>$n,XrHamburgerCanvasComponentImage:()=>Zn,XrHamburgerCanvasComponentImageModeDefine:()=>Kn,XrHamburgerCanvasComponentProgressBar:()=>tr,XrHamburgerCanvasComponentProgressBarDirectionDefine:()=>zn,XrHamburgerCanvasComponentText:()=>er,XrHamburgerCanvasComponentTextAlignDefine:()=>Jn,XrHamburgerCanvasComponentTypeDefine:()=>Yn,XrHamburgerCanvasComponentVariableControl:()=>nr,XrHamburgerCanvasComponentVerticalAlignDefine:()=>qn,XrHamburgerCanvasComponentVideo:()=>ar,XrHamburgerCanvasComponentVideoObjectFitDefine:()=>jn,XrHamburgerMenu:()=>Wn,XrHamburgerMenuCanvasItem:()=>Xn,XrHamburgerMenuGridImageItem:()=>wn,XrHamburgerMenuGridLastRowModeDefine:()=>hn,XrHamburgerMenuGridMediaItem:()=>fn,XrHamburgerMenuGroup:()=>xn,XrHamburgerMenuImageItem:()=>Mn,XrHamburgerMenuImageItemSlide:()=>Pn,XrHamburgerMenuImageObjectFitDefine:()=>Dn,XrHamburgerMenuMediaCarouselItem:()=>Rn,XrHamburgerMenuMediaItem:()=>On,XrHamburgerMenuMediaTypeDefine:()=>un,XrHamburgerMenuNode:()=>yn,XrHamburgerMenuNodeBase:()=>Ln,XrHamburgerMenuNodeTypeDefine:()=>Cn,XrHamburgerMenuPcLayoutModeDefine:()=>Sn,XrHamburgerMenuRichImageSlide:()=>bn,XrHamburgerMenuRichTextItem:()=>Hn,XrHamburgerMenuStyle:()=>pn,XrHamburgerMenuTextItem:()=>Nn,XrHamburgerMenuTitleOverflowModeDefine:()=>In,XrHamburgerMenuVideoItem:()=>Bn,XrHamburgerMenuVideoItemSlide:()=>Un,XrHamburgerMenuWaterfallBreakpoint:()=>vn,XrHamburgerMenuWaterfallImageItem:()=>kn,XrHamburgerMenuWaterfallMediaItem:()=>Vn,XrHamburgerMenuWebViewItem:()=>Gn,XrInteractionControlConfig:()=>We,XrInteractionControlDefaultVariant:()=>Fe,XrInteractionControlVariantDefine:()=>xe,XrInteractionControlVariantTier:()=>He,XrInteractionDataTypeDefine:()=>Ge,XrInteractionOption:()=>Xe,XrMessageCard:()=>X,XrMonitor:()=>mn,XrMonitorBadgeStyleDefine:()=>sn,XrMonitorComponentBase:()=>nn,XrMonitorComponentButton:()=>dn,XrMonitorComponentButtonIconPositionDefine:()=>an,XrMonitorComponentImage:()=>rn,XrMonitorComponentImageModeDefine:()=>js,XrMonitorComponentProgressBar:()=>cn,XrMonitorComponentProgressBarDirectionDefine:()=>Zs,XrMonitorComponentRuntimeState:()=>ve,XrMonitorComponentText:()=>on,XrMonitorComponentTextAlignDefine:()=>$s,XrMonitorComponentTypeDefine:()=>zs,XrMonitorComponentVariableControl:()=>_n,XrMonitorComponentVerticalAlignDefine:()=>Qs,XrMonitorComponentVideo:()=>ln,XrMonitorComponentVideoObjectFitDefine:()=>tn,XrMonitorRuntimeState:()=>Ve,XrNavigationState:()=>Be,XrPlatformDefine:()=>Ke,XrPrepareSettings:()=>Js,XrProgressBarStyleDefine:()=>en,XrRecommendStringOption:()=>me,XrRuntimeState:()=>ke,XrSpaceFence:()=>po,XrSpaceFenceGroup:()=>To,XrStateBindings:()=>Le,XrStateBindingsSourceTypeDefine:()=>Se,XrStateBindingsTargetTypeDefine:()=>Ie,XrStateScopeBranchFromDefine:()=>na,XrSwitchAction:()=>Et,XrSwitchCase:()=>mt,XrTypedValue:()=>Ae,XrTypedValueModeDefine:()=>ge,XrVariable:()=>Ee,XrVariablePreFill:()=>qs,XrVariableScope:()=>Te,XrVariableScopeTypeDefine:()=>pe,XrVariableTarget:()=>Ce,XrVariableTypeDefine:()=>_e,XrVirtualFloor:()=>Po,buildExpressionFromTree:()=>Jl,computeProgressBarFillStyle:()=>ad,createEmptyRichTextDoc:()=>Fn,createMultiLanguageStr:()=>Gs,defaultMainPlacementOf:()=>Eo,defaultRootHamburgerStyle:()=>Tn,ensureIconLayoutMaterialized:()=>Hl,ensureLegacyVrPlayerUiSettingsInitialized:()=>Xl,extractConditionTreeDependencies:()=>Zl,getAllRegisteredVrActionPlatformCapabilities:()=>Is,getVrActionPlatformCapability:()=>Ss,isAiAgentToolEnabled:()=>ri,isAiAgentToolResourceReady:()=>ni,migrateTriggersToCentralized:()=>fl,migrateXrVariableTypeEnum:()=>Wl,normalizeBrowserLanguage:()=>Fs,normalizeMultiLanguageStr:()=>xs,pickCurrentLanguage:()=>Hs,pickMultiLanguageStr:()=>Bs,resolveArBottomItems:()=>xl,resolveArInfoItems:()=>Fl,resolveHamburgerNodeStyle:()=>An,resolveHamburgerRootStyle:()=>gn,resolveVrInfoBarItems:()=>Gl,resolveVrMainBarItems:()=>Bl,shadowToCss:()=>F});class a{x=0;y=0;z=0;constructor(e,t,a){this.x=e,this.y=t,this.z=a}}class s{x=0;y=0;constructor(e,t){this.x=e,this.y=t}}class n{static FLOORPLAN="floorplan";static INSIDE="inside";static OUTSIDE="outside";static TRANSITIONING="transitioning";static DOLLHOUSE="dollhouse"}class r{static FLY="fly";static INSTANT="instant";static FADE="fade"}class o{sweepId="";rotation=new s(0,0)}class i{floorId="";sweepId="";position=new a(0,0,0);rotation=new s(0,0);zoom=1;mode=n.INSIDE;originalEuler=new a(0,0,0)}class c{static createColorRgb(e,t,a){let s=new d;return s.r=e,s.g=t,s.b=a,s}static createColorRgba(e,t,a,s){let n=new d;return n.r=e,n.g=t,n.b=a,n.a=s,n}static createColorByStr(e){let t=new d;if(e.startsWith("#")){let a=e.substring(1);4===a.length?(t.r=parseInt(a.substring(0,1)+a.substring(0,1),16),t.g=parseInt(a.substring(1,2)+a.substring(1,2),16),t.b=parseInt(a.substring(2,3)+a.substring(2,3),16),t.a=parseInt(a.substring(3,4)+a.substring(3,4),16)/255):8===a.length?(t.r=parseInt(a.substring(0,2),16),t.g=parseInt(a.substring(2,4),16),t.b=parseInt(a.substring(4,6),16),t.a=parseInt(a.substring(6,8),16)/255):3===a.length?(t.r=parseInt(a.substring(0,1)+a.substring(0,1),16),t.g=parseInt(a.substring(1,2)+a.substring(1,2),16),t.b=parseInt(a.substring(2,3)+a.substring(2,3),16),t.a=1):6===a.length&&(t.r=parseInt(a.substring(0,2),16),t.g=parseInt(a.substring(2,4),16),t.b=parseInt(a.substring(4,6),16),t.a=1)}else if(e.startsWith("rgba")){let a=e.substring(5,e.length-1).split(",");t.r=parseInt(a[0]),t.g=parseInt(a[1]),t.b=parseInt(a[2]),t.a=parseFloat(a[3])}else if(e.startsWith("rgb")){let a=e.substring(4,e.length-1).split(",");t.r=parseInt(a[0]),t.g=parseInt(a[1]),t.b=parseInt(a[2]),t.a=1}return t}static createRandomColor(e,t){let a=new d;return a.r=Math.floor(256*Math.random()),a.g=Math.floor(256*Math.random()),a.b=Math.floor(256*Math.random()),a.a=e?Math.random():t||1,a}}class l{static colorToRgbaString(e){return e?`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`:"rgba(0, 0, 0, 1)"}static colorToHexString(e){const t=e=>{const t=Math.round(e).toString(16);return 1===t.length?`0${t}`:t};return`#${t(e.r)}${t(e.g)}${t(e.b)}`}static colorToTHREEColor(e){return{r:e.r/255,g:e.g/255,b:e.b/255}}}class d{r=0;g=0;b=0;a=1}class _{enabled=!1;color=c.createColorRgb(0,0,0);tolerance=20}class m{static LINEAR="linear";static EASE_IN_QUAD="easeInQuad";static EASE_OUT_QUAD="easeOutQuad";static EASE_IN_OUT_QUAD="easeInOutQuad";static EASE_OUT_IN_QUAD="easeOutInQuad";static EASE_IN_CUBIC="easeInCubic";static EASE_OUT_CUBIC="easeOutCubic";static EASE_IN_OUT_CUBIC="easeInOutCubic";static EASE_OUT_IN_CUBIC="easeOutInCubic";static EASE_IN_QUART="easeInQuart";static EASE_OUT_QUART="easeOutQuart";static EASE_IN_OUT_QUART="easeInOutQuart";static EASE_OUT_IN_QUART="easeOutInQuart";static EASE_IN_QUINT="easeInQuint";static EASE_OUT_QUINT="easeOutQuint";static EASE_IN_OUT_QUINT="easeInOutQuint";static EASE_OUT_IN_QUINT="easeOutInQuint";static EASE_IN_SINE="easeInSine";static EASE_OUT_SINE="easeOutSine";static EASE_IN_OUT_SINE="easeInOutSine";static EASE_OUT_IN_SINE="easeOutInSine";static EASE_IN_EXPO="easeInExpo";static EASE_OUT_EXPO="easeOutExpo";static EASE_IN_OUT_EXPO="easeInOutExpo";static EASE_OUT_IN_EXPO="easeOutInExpo";static EASE_IN_CIRC="easeInCirc";static EASE_OUT_CIRC="easeOutCirc";static EASE_IN_OUT_CIRC="easeInOutCirc";static EASE_OUT_IN_CIRC="easeOutInCirc";static EASE_IN_BACK="easeInBack";static EASE_OUT_BACK="easeOutBack";static EASE_IN_OUT_BACK="easeInOutBack";static EASE_OUT_IN_BACK="easeOutInBack";static EASE_IN_BOUNCE="easeInBounce";static EASE_OUT_BOUNCE="easeOutBounce";static EASE_IN_OUT_BOUNCE="easeInOutBounce";static EASE_OUT_IN_BOUNCE="easeOutInBounce";static CUBIC_BEZIER_CURVE="cubicBezierCurve";static SPRING="spring";static ELASTIC="elastic"}class E{waitTime=0;easeFunction=m.LINEAR;duration=500;cubicBezierCurveParamX1=.5;cubicBezierCurveParamY1=.05;cubicBezierCurveParamX2=.1;cubicBezierCurveParamY2=.3;springParamMass=1;springParamStiffness=80;springParamDamping=10;springParamVelocity=0;elasticParamType="easeOutElastic";elasticParamAmplitude=1;elasticParamPeriod=.6}class p{static randomUUID(e){return(e?"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx":"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}}class T{id="";constructor(){this.id=p.randomUUID(!0)}}class g{static ZH_CN="zh_cn";static ZH_TW="zh_tw";static ZH_HK="zh_hk";static EN="en";static KR="kr";static JP="jp";static TH="th";static VN="vn";static ES="es";static FR="fr";static DE="de";static ALL=["en","jp","kr","zh_cn","zh_tw","zh_hk","th","vn","es","fr","de"]}class A{original_content="";only_use_original_content=!0;zh_cn="";zh_tw="";zh_hk="";en="";kr="";jp="";th="";vn="";es="";fr="";de=""}class C extends T{name=new A;color=c.createColorByStr("#444444");textColor=c.createColorByStr("#ffffff");additionalData={};clickActionList=[];localVariableList=[]}class u{static NAVIGATION_TO_MANUAL="navigation_to_manual";static NAVIGATION_TO_AUTO="navigation_to_auto";static DIRECT_TO_FLY="direct_to_fly";static DIRECT_TO_FADE="direct_to_fade";static DIRECT_TO_INSTANT="direct_to_instant"}class O{enabled=!1;hoverBorderColor=c.createColorRgba(0,0,0,1);borderWidth=.01}class S{width=1920;height=1080;constructor(e,t){this.width=e,this.height=t}}class I{mattertags=!1;measurements;sweeps;views;components;constructor(e,t,a,s,n){this.mattertags=e,this.measurements=t,this.sweeps=a,this.views=s,this.components=n}}class L{url="";iconCategory="";iconFilename="";colorEnabled=!1;color=c.createColorRgb(255,255,255)}class y{static NO_LOOP="no_loop";static LOOP_ALL="loop_all";static LOOP_SINGLE="loop_single"}class N extends T{name="";description="";title="";code="";enabled=!1;planList=[]}class R{transformPointsGps=[];transformPointsVrSpace=[new a(0,0,0),new a(0,0,0),new a(0,0,0)];cellSize=.1;walkableHeight=1.6;characterRadius=.2;walkableClimb=1;maxSlope=45;maxEdgeLength=1;leadBotUseSameModelForDifferentAction=!0;leadBotModelSrc="";leadBotModelScale=new a(1,1,1);leadBotModelOverlayRotate=new a(0,0,0);leadBotModelSrcStand="";leadBotModelScaleStand=new a(1,1,1);leadBotModelOverlayRotateStand=new a(0,0,0);leadBotModelSrcWalk="";leadBotModelScaleWalk=new a(1,1,1);leadBotModelOverlayRotateWalk=new a(0,0,0);leadBotModelSrcRun="";leadBotModelScaleRun=new a(1,1,1);leadBotModelOverlayRotateRun=new a(0,0,0);leadBotModelSrcArrive="";leadBotModelScaleArrive=new a(1,1,1);leadBotModelOverlayRotateArrive=new a(0,0,0);leadBotAnimationNameStand="";leadBotAnimationNameWalk="";leadBotAnimationNameRun="";leadBotAnimationNameArrive="";thresholdLeadBotDistanceToPlayer=6;thresholdLeadBotDistanceToPlayerToWalk=4;thresholdLeadBotDistanceToPlayerToClimb=.4;thresholdLeadBotDistanceToPlayerToClimbToWalk=0;thresholdLeadBotDistanceToPlayerToDescend=3.5;thresholdLeadBotDistanceToPlayerToDescendToWalk=2;thresholdLeadBotDistanceToPlayerToRun=2;leadBotSpeedRun=3.5;leadBotSpeedWalk=1.35;thresholdUserDistanceToRoute=3;thresholdShowComponents=50;thresholdVideoComponentInvisibleToPause=3;thresholdDestroyComponents=10;thresholdShowComponentsWhenEnterFloor=5}class P extends T{name="";title=new A;description=new A;obstacleGroupIds=[];wormholeGroupIds=[];targetGroupIds=[];graphCacheZipFileSrc=""}class M{static sweep="sweep";static anywhere="anywhere";static teleport="teleport"}class b{static AUTO="auto";static MANUAL="manual";static MANUAL_SIMPLE="manual_simple"}class h{static createSweepPoint(e){const t=new D;return t.type=M.sweep,t.sweepId=e.id,t.position=e.position,t}static createAnywherePoint(e){const t=new D;return t.type=M.anywhere,t.position=e,t}}class D{type=M.sweep;sweepId="";position=new a(0,0,0)}class f{id="";startPoint=new D;endPoint=new D;isAutoStart=!0;navigationMode=b.MANUAL;autoRecalculate=!0;autoRecalculateDistanceThreshold=.5;pathColor=c.createColorByStr("#03b203")}class w{sweepStartPoint=new D;sweepEndPoint=new D;pathPoints=[]}class v{request=new f;result=!1;pathList=[]}class V{static VIDEO="video";static IMAGE="image";static AUDIO="audio";static D3_MODEL="3d_model";static LINK="link";static DOCUMENT="document"}class k{static BUBBLE="bubble";static DIALOG="dialog";static DRAWER="drawer"}class U extends T{id="";name="";dialogWidth="800px";dialogHeight="600px";title=new A;richText=new A;isAvailableForAi=!0;modules=[];buttonList=[]}class B{id="";name="";type=V.IMAGE;mediaList=[]}class G{id="";type=V.VIDEO;name="";src="";coverSrc="";materialSrc=""}class x{enabled=!1;offsetX=0;offsetY=1;blur=2;color=c.createColorRgba(0,0,0,.55)}function F(e,t){if(!e||!e.enabled)return"none";const a=`${e.offsetX??0}px ${e.offsetY??0}px ${e.blur??0}px ${l.colorToRgbaString(e.color)}`;return"drop"===t?`drop-shadow(${a})`:a}class H{bgColor=c.createColorRgba(255,255,255,.3);textColor=c.createColorByStr("#4e5969");iconColor=c.createColorByStr("#ffffff");accentColor=c.createColorByStr("#1677ff");blur=5;cornerRadius=16;textShadow=function(){const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.55),e}();iconShadow=function(){const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.45),e}()}class X extends T{name="";remark="";iconSrc="";title=new A;content=new A;buttonList=[];overrideAppearance=!1;appearanceOverride=new H}class W{showPlayControl=!0;showSoundControl=!0;defaultVolume=100;loopMode=y.NO_LOOP;defaultPlayAudio=[];audioListData=[]}class Y{static LINEAR="linear";static INVERSE="inverse";static EXPONENTIAL="exponential"}class K{loopMode=y.NO_LOOP;autoPlay=!1;volume=1;defaultAudioIndex=0;distanceModel=Y.LINEAR;rolloffFactor=1;refDistance=1;maxDistance=10;audioDataList=[]}class J extends T{name="";description="";audioSrc="";duration=0;lyricList=[]}class q{time="00:00";content="";color=c.createColorByStr("#ffffff")}class z extends T{name="";description="";audioList=[]}class j{static TYPE_2D_TEXT="2d_text";static TYPE_2D_VIDEO="2d_video";static TYPE_2D_IMAGE="2d_image";static TYPE_2D_PANEL="2d_panel";static TYPE_2D_ADVERTISEMENT="2d_advertisement";static TYPE_3D_BOX="3d_box";static TYPE_3D_MODEL="3d_model";static TYPE_TAG="tag"}class ${static NONE="none";static TRANSLATE="translate";static ROTATE="rotate";static SCALE="scale"}class Q extends T{layerId="";name="";title=new A;description=new A;isAvailableForAi=!0;isNavigationTarget=!0;ignoreOptimizationAlwaysShow=!1;type=null;scale=new a(1,1,1);position=new a(0,0,0);rotation=new a(0,0,0);originalScale=new a(1,1,1);visible=!0;opacity=1;castShadow=!0;receiveShadow=!0;isEnableAutoMoveCameraToNearWhenClick=!1;responseMouse=!0;markerList=[];showInContentMenu=!0;keywords=[];bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode="";customVisibilitySettings=new ee;transitionAnimationList=[];defaultTransitionAnimationId="";audioSource=new K;showTransitionAnimationId="";hideTransitionAnimationId="";localVariableList=[]}class Z{allowAsDestination=!1}class ee{specialSweepVisible=!1;displayRange=0;visibleSweepList=[]}class te{static KEEP_ORIGINAL="keep-original";static FACE_TO_CAMERA_Y="face-to-camera-y";static FACE_TO_CAMERA_XYZ="face-to-camera-xyz"}class ae extends Q{onlyFrontVisible=!1;faceToCameraMode=te.KEEP_ORIGINAL;hoverBorderSettings=new O;deformationSettings=new ne}class se{static NONE="none";static CURVED_SURFACE="curved-surface";static FOLD_SURFACE="fold-surface"}class ne{mode=se.NONE;curvedSurfaceSettings=new re;foldSurfaceSettings=new oe}class re{curveDegree=1}class oe{foldPosition=.5;foldAngle=0;foldInside=!1;foldRadius=.1}class ie extends Q{}class ce{static STAY_AT_LAST_FRAME="stay-at-last-frame";static JUMP_TO_ORIGINAL_STATE="jump-to-original-state";static LOOP_FROM_ORIGINAL_STATE="loop-from-original-state";static ANIMATE_TO_ORIGINAL_STATE="animate-to-original-state";static LOOP_REVERSE="loop-reverse"}class le{id="";name="";description="";playCompleteProcessType=ce.STAY_AT_LAST_FRAME;keyFrameList=[]}class de{id="";name="";isTransformTranslate=!1;transformTranslate=new a(0,0,0);isTransformRotate=!1;transformRotate=new a(0,0,0);isTransformScale=!1;transformScale=new a(1,1,1);isOpacity=!1;opacity=1;modelAnimationClipId="";easingAnimationSettings=new E}class _e{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static COLOR="color";static CSS_COLOR="css_color"}class me{value="";label=new A}class Ee{key="";name="";type="string";value="";stringDefaultValue="";stringRecommendOptions=[];numberDefaultValue=0;numberStep=1;numberMinValue=0;numberMaxValue=0;numberRecommendOptions=[];booleanDefaultValue=!1;colorDefaultValue=c.createColorRgba(255,255,255,1);colorRecommendOptions=[];cssColorDefaultValue="#ffffff";cssColorRecommendOptions=[];enumOptions;enumDefaultValue}class pe{static GLOBAL="global";static SHARED="shared";static LOCAL="local";static STEP="step";static FLOW="flow";static ABILITY="ability";static AGENT="agent";static BROADCAST_MSG="broadcast_msg"}class Te{type=pe.LOCAL;ownerId="";variableList=[]}class ge{static LITERAL="literal";static VARIABLE="variable"}class Ae{mode=ge.LITERAL;literal;variableScope;variableKey}class Ce{scope=pe.GLOBAL;key=""}class ue{static RISING_EDGE_TRIGGER="rising-edge-trigger";static LEVEL_TRIGGER="level-trigger"}class Oe extends T{name="";remark="";conditionTree=new ot;triggerMode=ue.RISING_EDGE_TRIGGER}class Se{static XR_VARIABLE_EXPRESSION="xr-variable-expression";static STICKER_ACTIVE_STATE="sticker-active-state";static SPACE_FENCE_USER_IN_STATE="space-fence-user-in-state";static SPACE_FENCE_GROUP_USER_IN_STATE="space-fence-group-user-in-state";static COMPONENT_VISIBLE_STATE="component-visible-state";static LAYER_VISIBLE_STATE="layer-visible-state";static HAMBURGER_MENU_NODE_VISIBLE_STATE="hamburger-menu-node-visible-state";static AI_AGENT_ENABLED_STATE="ai-agent-enabled-state";static AI_AGENT_ACTIVE_STATE="ai-agent-active-state";static BACKGROUND_THREAD_RUNNING="background-thread-running"}class Ie{static XR_VARIABLE="xr-variable";static COMPONENT_VISIBLE_STATE="component-visible-state";static LAYER_VISIBLE_STATE="layer-visible-state";static MESSAGE_CARD_SHOW_STATE="message-card-show-state";static COMPONENT_2D_PANEL_BUTTON_ENABLED_STATE="component-2d-panel-button-enabled-state";static MONITOR_COMPONENT_VISIBLE_STATE="monitor-component-visible-state";static CANVAS_COMPONENT_VISIBLE_STATE="canvas-component-visible-state";static COMPONENT_2D_PANEL_SCENE_SWITCH="component-2d-panel-scene-switch";static COMPONENT_2D_IMAGE_SOURCE_SWITCH="component-2d-image-source-switch";static COMPONENT_2D_VIDEO_SOURCE_SWITCH="component-2d-video-source-switch";static COMPONENT_3D_MODEL_ANIMATION_CLIP_SWITCH="component-3d-model-animation-clip-switch";static AI_AGENT_ENABLED_STATE="ai-agent-enabled-state";static HAMBURGER_MENU_NODE_VISIBLE_STATE="hamburger-menu-node-visible-state";static BACKGROUND_THREAD_RUNNING="background-thread-running"}class Le{enabled=!0;name="";remark="";sourceType=Se.XR_VARIABLE_EXPRESSION;sourceExpression="";sourceConditionTree;sourceId="";reverseSource=!1;targetType=Ie.XR_VARIABLE;targetId="";targetOptionTrue="";targetOptionFalse=""}class ye{static IDLE="idle";static RUNNING="running";static PAUSED="paused";static STOPPED="stopped"}class Ne{threadId="";status="idle";completedCycles=0;currentActionIndex=0}class Re{position=new a(0,0,0);rotation=new a(0,0,0);scale=new a(1,1,1);visible=!0;opacity=1;responseMouse=!0;playingTransitionAnimationId=null;audioPlayingId=null;audioVolume=1;audioLoopMode=y.NO_LOOP;audioPaused=!0}class Pe extends Re{currentSourceId="";autoChangeInterval=0}class Me extends Re{currentSourceId="";playing=!1;muted=!1;loopMode=y.NO_LOOP;playbackRate=1}class be extends Re{currentSourceId=""}class he extends Re{currentSceneId="";buttonEnabledState={}}class De extends Re{faceColor=c.createColorRgba(0,255,0,.2);borderColor=c.createColorRgba(0,255,0,.5);hoverFaceColor=c.createColorRgba(0,255,0,.5);hoverBorderColor=c.createColorRgba(0,255,0,.8)}class fe extends Re{playingAnimationClipId=null}class we extends Re{}class ve{id="";type="text";name="";positionX=0;positionY=0;width=200;height=150;rotation=0;opacity=1;backgroundColor="rgba(255,255,255,0)";hoverStyleEnabled=!1;hoverBackgroundColor="rgba(255,255,255,0)";hoverOpacity=1;clickActionList=[];visible=!0;zIndex=1;radius=0;border="none";paddingX=6;paddingY=6;css={};script="";imageSrc="";imageMode="fill";textContent="";textColor="rgba(255,255,255,1)";textSize=16;textAlign="center";textBold=!1;textItalic=!1;textUnderline=!1;textVerticalAlign="middle";progressBarStyle="solid";progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection="horizontal";progress="50";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit="cover";icon=new L;iconPosition="left";bound=null}class Ve{enabled=!0;componentStates={};badgeText="";badgeStyle="corner";badgeBgColor="rgba(255,77,79,1)";badgeTextColor="rgba(255,255,255,1)"}class ke extends T{variableValue={};activeTriggerPool=[];triggerExecuteCount={};audioCenterState=new Ue;navigationState=new Be;globalMuted=!1;componentState2dImage={};componentState2dVideo={};componentState2dText={};componentState2dPanel={};componentState3dBox={};componentState3dModel={};componentStateTag={};monitorState={};activeMonitorTab="";canvasState={};layerVisibility={};messageCardShowState={};stickerActiveState={};sweepEnabledState={};backgroundThreadState={};abilityState={};flowScopeValue={};flowStepScopeValue={};enabledAiAgentIds=[];activeAiAgentId=null;hamburgerMenuVisibility={};hamburgerMenuOpen=!1;hamburgerMenuExpanded={};playerUiSettings={}}class Ue{playingAudioListId="";playingAudioId=""}class Be{isNavigating=!1;destinationType="sweep";destinationSweepId="";destinationPosition=new a(0,0,0);navigationMode="manual";originalDestinationType="";originalDestinationId=""}class Ge{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static ENUM="enum";static COLOR="color";static CSS_COLOR="css_color"}class xe{static NUMBER_INPUT="number_input";static NUMBER_SLIDER="number_slider";static NUMBER_SLIDER_VERTICAL="number_slider_vertical";static NUMBER_STEPPER="number_stepper";static NUMBER_STAR_RATING="number_star_rating";static NUMBER_SEGMENT="number_segment";static NUMBER_EMOJI_SCALE="number_emoji_scale";static NUMBER_DIAL="number_dial";static NUMBER_PROGRESS_TAP="number_progress_tap";static NUMBER_CHIP_TILE="number_chip_tile";static STRING_INPUT="string_input";static STRING_TEXTAREA="string_textarea";static STRING_SELECT="string_select";static STRING_AUTOCOMPLETE="string_autocomplete";static STRING_SEGMENT="string_segment";static STRING_RADIO="string_radio";static STRING_TAG="string_tag";static STRING_CARD_GRID="string_card_grid";static STRING_AVATAR_LIST="string_avatar_list";static STRING_COLOR_SWATCH="string_color_swatch";static BOOLEAN_SWITCH="boolean_switch";static BOOLEAN_CHECKBOX="boolean_checkbox";static BOOLEAN_SEGMENT="boolean_segment";static BOOLEAN_THUMB="boolean_thumb";static BOOLEAN_CARD_PAIR="boolean_card_pair";static COLOR_PICKER="color_picker";static COLOR_SWATCH_PICKER="color_swatch_picker";static CSS_COLOR_INPUT="css_color_input";static CSS_COLOR_SWATCH_PICKER="css_color_swatch_picker";static CSS_COLOR_ADVANCED="css_color_advanced"}class Fe{static getDefault(e){return"number"===e?xe.NUMBER_INPUT:"boolean"===e?xe.BOOLEAN_SWITCH:"color"===e?xe.COLOR_PICKER:"css_color"===e?xe.CSS_COLOR_INPUT:xe.STRING_INPUT}}class He{static TIER_A=new Set(["boolean_switch","boolean_checkbox","number_stepper","boolean_segment","number_input","string_input","string_select"]);static TIER_B=new Set(["number_slider","string_segment","string_radio","string_tag","color_picker","css_color_input","color_swatch_picker","css_color_swatch_picker","string_color_swatch","number_chip_tile"]);static getTier(e){return He.TIER_A.has(e)?"A":He.TIER_B.has(e)?"B":"C"}}class Xe{label=new A;value="";icon=new L;imageUrl="";description=new A;badge=new A;color="";disabled=!1}class We{variant=xe.STRING_INPUT;min=null;max=null;step=null;precision=null;sliderShowTicks=!1;sliderActiveColor="";sliderTrackColor="";sliderShowTooltip=!0;starCount=5;starAllowHalf=!1;starIcon=new L;starActiveColor="";starInactiveColor="";starSize=32;starShowValueLabel=!1;emojiScaleEmojis=[];emojiScaleSize=36;emojiScaleAnimateOnSelect=!0;dialSize=120;dialActiveColor="";dialShowValueInCenter=!0;dialStartAngle=135;progressTapHeight=20;progressTapGradientFrom="";progressTapGradientTo="";progressTapShowMarks=!1;chipTileSize=56;chipTileColumns=5;chipTileActiveColor="";options=[];textareaRows=3;textareaMaxLength=null;textareaShowCount=!1;tagMode="pill";cardGridColumns=2;cardGridImageRatio="4:3";cardGridShowDescription=!0;avatarListShowSubtitle=!0;avatarListSize=40;colorSwatchSize=32;colorSwatchShape="square";colorSwatchColumns=6;booleanTrueLabel=new A;booleanFalseLabel=new A;booleanTrueIcon=new L;booleanFalseIcon=new L;booleanTrueColor="";booleanFalseColor="";colorSwatchOptions=[];cssColorSwatchOptions=[];borderRadius=null;accentColor=""}class Ye{static BASIC="basic";static CONDITION="condition";static COUNT_LOOP="count_loop";static EXPRESSION_LOOP="expression_loop";static SWITCH="switch"}class Ke{static VR="VR";static AR="AR"}class Je{actionCategory=Ye.BASIC;backgroundColorMark="rgba(255,255,255,1)"}class qe extends Je{actionCategory=Ye.BASIC;id="";actionType=pt.COMPONENT_2D_IMAGE_CHANGE_SOURCE;params=new At}class ze{static VARIABLE="variable";static PLATFORM="platform";static EXPRESSION="expression"}class je{kind=ze.VARIABLE;variableScope;variableKey;rawExpression}class $e{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static PLATFORM_ENUM="platform_enum"}class Qe{valueType=$e.STRING;literal;valueRef}class Ze{static CALL="call";static GROUP="group"}class et{static LITERAL="literal";static VAR_REF="var_ref";static ARRAY_LITERAL="array_literal"}class tt{static STRING="string";static NUMBER="number";static BOOLEAN="boolean"}class at{type=tt.STRING;value=""}class st{argKind=et.LITERAL;literalType;literalValue;variableScope;variableKey;arrayItems}class nt{kind=Ze.CALL;funcName="";args=[];negate=!1}class rt{kind=Ze.GROUP;logicalOp="and";children=[];negate=!1}class ot{root=new rt}class it{ifExpression="";conditionTree;actionList=[]}class ct{actionCategory=Ye.CONDITION;ifExpression="";conditionTree;ifActionList=[];elseIfBranchList=[];elseActionList=[]}class lt{actionCategory=Ye.COUNT_LOOP;loopCount=1;loopCountRef;actionList=[]}class dt{static BEFORE_ACTION="before_action";static AFTER_ACTION="after_action"}class _t{actionCategory=Ye.EXPRESSION_LOOP;checkExpression="";conditionTree;checkExpressionPosition=dt.BEFORE_ACTION;actionList=[]}class mt{matchValue=new Qe;actionList=[]}class Et{actionCategory=Ye.SWITCH;subject=new je;caseList=[];defaultActionList=[]}class pt{static SYSTEM_COMMON_WAIT="system_common_wait";static COMPONENT_GENERAL_CHANGE_VISIBILITY="component_general_change_visibility";static COMPONENT_GENERAL_CHANGE_TRANSFORM="component_general_change_transform";static COMPONENT_GENERAL_PLAY_TRANSITION_ANIMATION="component_general_play_transition_animation";static COMPONENT_GENERAL_STOP_TRANSITION_ANIMATION="component_general_stop_transition_animation";static COMPONENT_2D_GENERAL_CHANGE_DEFORMATION_SETTINGS="component_2d_general_change_deformation_settings";static COMPONENT_GENERAL_AUDIO_SOURCE_PLAY_CONTROL="component_general_audio_source_play_control";static COMPONENT_GENERAL_AUDIO_SOURCE_PAUSE="component_general_audio_source_pause";static COMPONENT_GENERAL_AUDIO_SOURCE_CHANGE_LOOP_MODE="component_general_audio_source_change_loop_mode";static COMPONENT_2D_IMAGE_CHANGE_SOURCE="component_2d_image_change_source";static COMPONENT_2D_VIDEO_CHANGE_SOURCE="component_2d_video_change_source";static COMPONENT_2D_VIDEO_CHANGE_PLAY_STATE="component_2d_video_change_play_state";static COMPONENT_2D_VIDEO_CHANGE_MUTE_STATE="component_2d_video_change_mute_state";static COMPONENT_2D_TEXT_CHANGE_SOURCE="component_2d_text_change_source";static COMPONENT_2D_PANEL_CHANGE_SCENE="component_2d_panel_change_scene";static COMPONENT_2D_PANEL_BUTTON_CHANGE_ENABLED="component_2d_panel_button_change_enabled";static COMPONENT_TAG_SIMULATE_CLICK="component_tag_simulate_click";static COMPONENT_3D_BOX_CHANGE_COLOR="component_3d_box_change_color";static COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP="component_3d_model_play_animation_clip";static COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP="component_3d_model_stop_animation_clip";static INFORMATION_CONTENT_CARD_SHOW="information_content_card_show";static INFORMATION_CONTENT_CARD_CLOSE="information_content_card_close";static INFORMATION_LINK_OPEN="information_link_open";static INFORMATION_LINK_CLOSE="information_link_close";static AUDIO_CENTER_PLAY_LIST="audio_center_play_list";static AUDIO_CENTER_PAUSE="audio_center_pause";static SWEEP_CHANGE_ENABLED="sweep_change_enabled";static SWEEP_CHANGE_PANORAMA="sweep_change_panorama";static SWEEP_MARKER_CHANGE_ENABLED="sweep_marker_change_enabled";static SWEEP_RESET_TO_DEFAULT="sweep_reset_to_default";static SWEEP_ONLY_ENABLE_CURRENT="sweep_only_enable_current";static CAMERA_MOVE_TO="camera_move_to";static CAMERA_DOLLY_MOVE="camera_dolly_move";static CAMERA_DOLLY_STOP="camera_dolly_stop";static NAVIGATION_START="navigation_start";static NAVIGATION_STOP="navigation_stop";static LOGIC_VARIABLE_MODIFY="logic_variable_modify";static LOGIC_VARIABLE_NUMBER_ADD="logic_variable_number_add";static LOGIC_VARIABLE_NUMBER_SUBTRACT="logic_variable_number_subtract";static LOGIC_VARIABLE_STRING_APPEND="logic_variable_string_append";static LOGIC_VARIABLE_STRING_TRIM_END="logic_variable_string_trim_end";static LOGIC_VARIABLE_STRING_ADVANCED="logic_variable_string_advanced";static LOGIC_VARIABLE_BOOLEAN_TOGGLE="logic_variable_boolean_toggle";static FLOW_ENTER="flow_enter";static FLOW_EXIT="flow_exit";static SEND_BROADCAST="send_broadcast";static SYSTEM_STATE_SCOPE_CREATE="system_state_scope_create";static SYSTEM_STATE_SCOPE_SWITCH="system_state_scope_switch";static SYSTEM_STATE_SCOPE_DESTROY="system_state_scope_destroy";static MONITOR_CHANGE_ENABLED="monitor_change_enabled";static MONITOR_SWITCH_ACTIVE_TAB="monitor_switch_active_tab";static MONITOR_COMPONENT_CHANGE_VISIBILITY="monitor_component_change_visibility";static MONITOR_VIDEO_CHANGE_PLAY_STATE="monitor_video_change_play_state";static MONITOR_VIDEO_CHANGE_MUTE_STATE="monitor_video_change_mute_state";static MONITOR_CHANGE_BADGE_TEXT="monitor_change_badge_text";static MONITOR_CHANGE_BADGE_STYLE="monitor_change_badge_style";static LAYER_CHANGE_VISIBILITY="layer_change_visibility";static HAMBURGER_MENU_NODE_CHANGE_VISIBILITY="hamburger_menu_node_change_visibility";static HAMBURGER_MENU_CHANGE_OPEN_STATE="hamburger_menu_change_open_state";static HAMBURGER_MENU_GROUP_CHANGE_EXPANDED="hamburger_menu_group_change_expanded";static CANVAS_COMPONENT_CHANGE_VISIBILITY="canvas_component_change_visibility";static SYSTEM_UI_SETTINGS_CHANGE="system_ui_settings_change";static MESSAGE_CARD_CHANGE_SHOW_STATE="message_card_change_show_state";static MESSAGE_CARD_SHOW="message_card_show";static MESSAGE_CARD_HIDE="message_card_hide";static MESSAGE_CARD_CREATE_TEMPORARY="message_card_create_temporary";static MESSAGE_CARD_DESTROY_TEMPORARY="message_card_destroy_temporary";static TTS_PLAY_VOICE="tts_play_voice";static TTS_REALTIME_STREAM="tts_realtime_stream";static BACKGROUND_THREAD_START="background_thread_start";static BACKGROUND_THREAD_PAUSE="background_thread_pause";static BACKGROUND_THREAD_STOP="background_thread_stop";static AI_AGENT_ACTIVATE="ai_agent_activate";static AI_AGENT_HIDE="ai_agent_hide";static AI_AGENT_WAKE="ai_agent_wake";static AI_AGENT_ACTIVATE_AND_SEND_USER_MESSAGE="ai_agent_activate_and_send_user_message";static AI_AGENT_ACTIVATE_AND_INJECT_DIALOGUE="ai_agent_activate_and_inject_dialogue";static AI_AGENT_INJECT_HIDDEN_STATE_MESSAGE="ai_agent_inject_hidden_state_message";static AI_AGENT_ACTIVATE_AND_INJECT_ASSISTANT_MESSAGE="ai_agent_activate_and_inject_assistant_message";static SYSTEM_OPEN_WEBPAGE="system_open_webpage";static SYSTEM_COLOR_SPACE_SCENE_TINT="system_color_space_scene_tint";static SYSTEM_COLOR_SPACE_DISPLAY_BRIGHTNESS="system_color_space_display_brightness";static SYSTEM_SET_INTERACTIVE_STATE="system_set_interactive_state";static AUDIO_CENTER_SET_VOLUME="audio_center_set_volume";static ABILITY_ENABLE="ability_enable";static ABILITY_STOP="ability_stop";static CLOUD_FORM_SHOW_DIALOG="cloud_form_show_dialog";static CLOUD_FORM_COLLECT_FIELD="cloud_form_collect_field";static CLOUD_FORM_SUBMIT="cloud_form_submit";static CLOUD_FORM_RESET="cloud_form_reset";static HIT_ANALYTICS_EVENT="hit_analytics_event";static POPUP_USER_FORM_SHOW_DIALOG="popup_user_form_show_dialog";static LOGIC_RANDOM_NUMBER="logic_random_number";static LOGIC_RANDOM_COLOR="logic_random_color";static LOGIC_CURRENT_TIME="logic_current_time";static LOGIC_RANDOM_PICK_STRING="logic_random_pick_string";static LOGIC_RANDOM_PICK_NUMBER="logic_random_pick_number";static LOGIC_RANDOM_PICK_BOOLEAN="logic_random_pick_boolean";static LOGIC_RANDOM_PICK_COLOR="logic_random_pick_color";static LOGIC_RANDOM_PICK_CSS_COLOR="logic_random_pick_css_color";static LOGIC_RANDOM_PICK_FROM_RECOMMEND_OPTIONS="logic_random_pick_from_recommend_options";static VISUALIZATION_CONTROLLER_POP="visualization_controller_pop";static VISUALIZATION_CONTROLLER_HIDE="visualization_controller_hide";static VISUALIZATION_CONTROLLER_CLOSE_ALL="visualization_controller_close_all"}class Tt{abilityId="";contextVariableOverrides={};contextVariableOverrideRefs}class gt{abilityId=""}class At{}class Ct{duration=1e3;durationRef}class ut{componentIdList=[];visibilityState=!0;visibilityStateRef}class Ot{componentId="";changeType="translate";value=new a(0,0,0);valueXRef;valueYRef;valueZRef}class St{componentId="";transitionAnimationId="";waitForComplete=!1}class It{componentId="";deformationSettings=new ne}class Lt{componentId="";changeType="next";sourceId=""}class yt{componentId="";changeType="next";sourceId=""}class Nt{componentId="";changeType="next";sourceId="";autoPlay=!1;autoPlayRef;forceUnmute=!1;forceUnmuteRef}class Rt{componentId="";play=!0;playRef}class Pt{componentId="";mute=!0;muteRef}class Mt{componentId="";faceColor=c.createColorRgba(0,0,0,1);faceColorRef;borderColor=c.createColorRgba(0,0,0,1);borderColorRef;hoverFaceColor=c.createColorRgba(0,0,0,1);hoverFaceColorRef;hoverBorderColor=c.createColorRgba(0,0,0,1);hoverBorderColorRef}class bt{componentId="";overrideAutoMoveCamera;moveTransitionMs}class ht{componentId="";sceneId=""}class Dt{componentId="";sceneId="";buttonId="";enabled=!0;enabledRef}class ft{componentId="";changeType="next";audioIndex=-1;audioId=""}class wt{componentId=""}class vt{componentId="";loopMode=y.NO_LOOP}class Vt{audioListId="";audioId="";interruptIfPlaying=!1}class kt{componentId="";animationClipId="";waitForComplete=!1}class Ut{destinationType="sweep";componentId="";vrFovId="";fovLink="";fovLinkSnapshotSrc="";fovLinkCameraRotation=new s(0,0);fovLinkSweepId="";sweepId="";navigationMode=b.MANUAL;autoRecalculate=!0;autoRecalculateDistanceThreshold=.5;pathColor=c.createColorByStr("#03b203")}class Bt{destinationType="sweep";componentId="";vrFovId="";fovLink="";fovLinkSnapshotSrc="";fovLinkCameraRotation=new s(0,0);fovLinkSweepId="";sweepId="";transitionType=r.FLY;transitionTime=1e3;transitionTimeRef}class Gt{dollyPathId=""}class xt{}class Ft{sweepIdList=[];enabled=!0;enabledRef;mode="set"}class Ht{sweepId="";panoramaId=""}class Xt{markerIdList=[];enabled=!0;enabledRef;mode="set"}class Wt{}class Yt{}class Kt{contentCardId="";showStyle=k.DRAWER}class Jt{url="";urlRef;isOpenWithExternal=!1;isOpenWithExternalRef}class qt{variableKey="";variableScope;value="";valueRef}class zt{variableKey="";variableScope;value=0;valueRef}class jt{variableKey="";variableScope;sourceType="fixed";content="";contentRef}class $t{variableKey="";variableScope;length=1;lengthRef}class Qt{variableKey="";variableScope;expression=""}class Zt{variableKey="";variableScope}class ea{flowId="";forceStopRunning=!1}class ta{}class aa{fieldKey="";value=new Ae}class sa{channelId="";payloadValueList=[]}class na{static DEFAULT="default";static CURRENT="current";static SPECIFIC="specific"}class ra{scopeId="";scopeIdRef;branchFrom=na.DEFAULT;branchFromScopeId="";branchFromScopeIdRef;activate=!0}class oa{scopeId="";scopeIdRef}class ia{scopeId="";scopeIdRef;activateAfterScopeId="default";activateAfterScopeIdRef}class ca{monitorId="";enabled=!0;enabledRef}class la{tabId=""}class da{monitorId="";componentIdList=[];visible=!0;visibleRef}class _a{static PLAY="play";static PAUSE="pause";static TOGGLE="toggle"}class ma{static MUTE="mute";static UNMUTE="unmute";static TOGGLE="toggle"}class Ea{monitorId="";componentId="";changeType=_a.TOGGLE;unmuteOnPlay=!1;restartFromBeginning=!1}class pa{monitorId="";componentId="";changeType=ma.TOGGLE}class Ta{monitorId="";badgeText="";badgeTextRef}class ga{monitorId="";badgeStyleRef;badgeBgColorRef;badgeTextColorRef}class Aa{hamburgerMenuNodeId="";componentIdList=[];visible=!0;visibleRef}class Ca{layerIdList=[];visible=!0;visibleRef}class ua{nodeIdList=[];visible=!0;visibleRef}class Oa{open=!0;openRef}class Sa{groupNodeIdList=[];expanded=!0;expandedRef}class Ia{settingKey="";value=!0;valueRef}class La{messageCardIdList=[];showState=!0;showStateRef}class ya{messageCardId=""}class Na{messageCardId=""}class Ra{card=new X;key="";keepOnlyLatestForKey=!1;closable=!0}class Pa{key="";destroyAll=!1}class Ma{static SIMPLE="simple";static EXPRESSION="expression"}class ba{voiceId="";textMode="simple";text=new A;textRef;textExpression="";showSubtitle=!0;waitForComplete=!0;languageCode="";speed=1;componentId=""}class ha{voiceId="";textMode="simple";text=new A;textRef;textExpression="";showSubtitle=!0;waitForComplete=!1;languageCode="";speed=1;componentId=""}class Da{threadId=""}class fa{agentId=""}class wa{agentId=""}class va{static AUTO="auto";static ACT_AND_REPLY="act_and_reply";static ACT_NO_REPLY="act_no_reply"}class Va{agentId="";wakePromptId="";hasMessage=!1;message=new A;workStyle="auto"}class ka extends fa{userMessage=new A}class Ua extends fa{userMessage=new A;assistantReply=new A;pseudoStreamCharIntervalMs}class Ba extends fa{stateMessage=""}class Ga extends fa{assistantMessage=new A;pseudoStreamCharIntervalMs}class xa{static DIALOG="dialog";static FLOATING_DRAWER="floating-drawer";static PUSHED_DRAWER="pushed-drawer"}class Fa{url="";urlRef;multiLangUrl;pcMode="dialog";width=720;height=480;mobileHeight=70;title;showTitleBar=!0;closeOnMaskClick=!0;forceExternalBrowser=!1}class Ha{interactive=!0;interactiveRef}class Xa{volume=100;volumeRef}class Wa{color=c.createColorRgba(255,255,255,1);animated=!0;durationMs=800}class Ya{brightness=1;brightnessRef;animated=!0;durationMs=800}class Ka{static LITERAL="LITERAL";static EXPRESSION="EXPRESSION"}class Ja{cloudFormDataKey="";onSubmitSuccessActions=[];onAlreadySubmittedActions=[]}class qa{cloudFormDataKey="";fieldDataKey="";valueMode=Ka.LITERAL;literalValue=null;expression=""}class za{cloudFormDataKey="";onSuccessActions=[];onFailActions=[]}class ja{cloudFormDataKey=""}class $a{static LITERAL="LITERAL";static USER_VARIABLE="USER_VARIABLE";static EXPRESSION="EXPRESSION"}class Qa{fieldKey="";valueMode=$a.LITERAL;literalValue=null;variableKey="";variableScope;expression=""}class Za{analyticsEventDataKey="";fieldBindings=[]}class es{fieldKey="";label=new A;description=new A;placeholder=new A;required=!0;dataType=Ge.STRING;defaultValue=null;control=new We;boundVariableScope="";boundVariableKey=""}class ts{title=new A;description=new A;submitButtonText=new A;cancelButtonText=new A;showCancelButton=!0;blockInteraction=!0;closeOnOverlayClick=!1;synchronous=!0;fields=[];onSubmitSuccessActions=[];onCancelActions=[]}class as{target=new Ce;min=0;max=1;integerOnly=!1}class ss{static RANDOM="random";static COOL="cool";static WARM="warm";static PASTEL="pastel";static VIVID="vivid";static GRAY="gray"}class ns{target=new Ce;palette=ss.RANDOM;randomAlpha=!1;fixedAlpha=1}class rs{static ISO="iso";static UNIX_MS="unix_ms";static UNIX_S="unix_s";static DATE_STRING="date_string";static TIME_STRING="time_string"}class os{target=new Ce;outputType=rs.ISO}class is{target=new Ce;candidates=[]}class cs{target=new Ce;candidates=[]}class ls{target=new Ce;candidates=[]}class ds{target=new Ce;candidates=[]}class _s{target=new Ce;candidates=[]}class ms{target=new Ce}class Es{controllerKey="";keepOnlyLatestForKey=!1;iconSrc="";title=new A;description=new A;buttonList=[];overrideAppearance=!1;appearanceOverride=new H;reportToAgentId}class ps{controllerKey=""}class Ts{}function gs(e,t){return{vr:e,ar:t}}const As=gs(!0,!1),Cs=gs(!0,!0),us=gs(!1,!0),Os={[pt.CAMERA_MOVE_TO]:As,[pt.CAMERA_DOLLY_MOVE]:As,[pt.CAMERA_DOLLY_STOP]:As,[pt.SWEEP_CHANGE_ENABLED]:As,[pt.SWEEP_CHANGE_PANORAMA]:As,[pt.SWEEP_MARKER_CHANGE_ENABLED]:As,[pt.SWEEP_RESET_TO_DEFAULT]:As,[pt.SWEEP_ONLY_ENABLE_CURRENT]:As,[pt.COMPONENT_TAG_SIMULATE_CLICK]:As,[pt.SYSTEM_COLOR_SPACE_SCENE_TINT]:As,[pt.SYSTEM_COLOR_SPACE_DISPLAY_BRIGHTNESS]:As};function Ss(e){return e&&Os[e]||Cs}function Is(){return Os}class Ls{boundVariableScope="";boundVariableKey="";dataType=Ge.STRING;control=new We;label=new A;description=new A;placeholder=new A;labelColor="";descriptionColor="";commitTextOnBlur=!0}class ys extends T{name="";introduce="";code="";adItemList=[]}class Ns{type="image";name="";introduce="";imageSeconds=5;contentSrc="";chromaKeySettings=new _}class Rs{isAiEnabled=!0;welcomeMessage=new A}class Ps extends T{assetDataKey="";position=new a(0,0,0);rotation=new a(0,0,0);scale=new a(1,1,1);color=c.createColorRgb(20,20,20);name="";description="";snapshotSrc="";bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode=""}class Ms{bgColor=c.createColorRgba(255,255,255,.55);textColor=c.createColorByStr("#4e5969");iconColor=c.createColorByStr("#4e5969");accentColor=c.createColorByStr("#1677ff");blur=26;cornerRadius=16;textShadow=function(){const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.12),e}();iconShadow=function(){return new x}();panelShadow=function(){const e=new x;return e.enabled=!0,e.offsetX=0,e.offsetY=4,e.blur=14,e.color=c.createColorRgba(0,0,0,.16),e}();iconTintEnabled=!1}class bs{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class hs{static CENTER="center";static LEFT="left";static RIGHT="right"}class Ds{enabled=!0;boxWidth=160;boxHeight=56;objectFit="contain";objectAlign="center"}class fs{imageSrc="";clickUrl="";backgroundColor=c.createColorRgba(0,0,0,0);pcConfig=new Ds;mobileConfig=new Ds;unityConfig=new Ds}class ws{enabledShare=!0;enabledFullScreen=!0;enabledSceneBtn=!0;enabledFovBtn=!0;enabledD3ModeBtn=!0;enabledFloorPlanModeBtn=!0;enabledFloorSelectBtn=!0;enabledMeasurementBtn=!0;enabledFlowBtn=!1;enabledMinimap=!0;enabledStaffLogin=!1;enabledGuestLogin=!1;enabledHamburgerMenu=!0;vrDefaultGlobalMute=!1;arDefaultGlobalMute=!1;playerAppearance=new H;floatingLayerStyle=new Ms;logoConfig=new fs;vrMainBarItems=[];vrInfoBarItems=[];arBottomItems=[];arInfoItems=[]}class vs{enabledVrInfoTemplate=!1;vrInfoTemplateDataKey="";vrInfoTemplateItemValueList=[]}class Vs{templateItemDataKey="";templateItemValue=""}class ks{vrShadowEnabled=!1;vrShadowOpacity=.3;vrShadowMapSize=2048;arShadowEnabled=!1;arShadowStrength=.5;arShadowResolution="high"}class Us{toneMapping="aces";toneMappingExposure=1;displayBrightness=1;sceneTint=c.createColorRgba(255,255,255,1)}function Bs(e,t,a=g.EN){if(null==e)return"";if("string"==typeof e)return e;if(e.only_use_original_content)return e.original_content??"";const s=e[t];if(null!=s&&""!==s)return s;if(a!==t){const t=e[a];if(null!=t&&""!==t)return t}return e.original_content??""}function Gs(e="",t=!0){const a=new A;return a.original_content=e,a.only_use_original_content=t,a}function xs(e){if(null==e)return new A;if("string"==typeof e){const t=new A;return t.original_content=e,t.only_use_original_content=!0,t}return e}function Fs(e){if(!e)return;const t=e.toLowerCase();return t.startsWith("zh-cn")||"zh"===t||t.startsWith("zh-hans")?"zh_cn":t.startsWith("zh-tw")||t.startsWith("zh-hant")?"zh_tw":t.startsWith("zh-hk")?"zh_hk":t.startsWith("en")?"en":t.startsWith("ko")?"kr":t.startsWith("ja")?"jp":t.startsWith("th")?"th":t.startsWith("vi")?"vn":t.startsWith("es")?"es":t.startsWith("fr")?"fr":t.startsWith("de")?"de":void 0}function Hs(e,t){if(!e||0===e.length)return g.EN;const a=Fs(t);return a&&e.includes(a)?a:e[0]}class Xs{static VIDEO="video";static IMAGE="image"}class Ws{static FILL="fill";static CONTAIN="contain";static COVER="cover";static NONE="none";static SCALE_DOWN="scale-down"}class Ys{static PLAY="play";static TEXT="text"}class Ks{coverImageSrc="";coverVideoSrc="";coverBackgroundColor=c.createColorRgba(255,255,255,1);coverBackgroundType=Xs.IMAGE;coverContentFitType=Ws.CONTAIN;coverMaskColor=c.createColorRgba(255,255,255,.5);coverMaskBlur=10;coverTitle=new A;coverDescription=new A;enabledEnterVrButton=!1;enterVrButtonType=Ys.PLAY;enterButtonBackgroundColor=c.createColorRgba(64,158,255,1);enterButtonForegroundColor=c.createColorRgba(255,255,255,1);enterButtonShadowColor=c.createColorRgba(64,158,255,1);textButtonContent=Gs("Enter");constructor(){this.coverBackgroundColor=c.createColorRgba(0,0,0,1),this.coverBackgroundType=Xs.IMAGE,this.coverContentFitType=Ws.CONTAIN,this.coverMaskColor=c.createColorRgba(0,0,0,.5),this.coverMaskBlur=10,this.enabledEnterVrButton=!1,this.enterVrButtonType=Ys.PLAY,this.enterButtonBackgroundColor=c.createColorRgba(64,158,255,1),this.enterButtonForegroundColor=c.createColorRgba(255,255,255,1),this.enterButtonShadowColor=c.createColorRgba(64,158,255,1),this.textButtonContent=Gs("Enter")}}class Js{vrInitCompleteActionList=[];vrInitLocalVariableList=[];arInitCompleteActionList=[];arInitLocalVariableList=[];allInitCompleteActionList=[];allInitLocalVariableList=[];variablePreFillEnabled=!1;variablePreFillList=[];enterVrButtonTitle=new A;description=new A}class qs{variableKey="";defaultValue=new A;title=new A;hint=new A;required=!0}class zs{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class js{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class $s{static LEFT="left";static CENTER="center";static RIGHT="right"}class Qs{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class Zs{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class en{static SOLID="solid";static GRADIENT="gradient";static STRIPED="striped";static STRIPED_ANIMATED="striped-animated";static GLOW="glow"}class tn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class an{static LEFT="left";static RIGHT="right";static TOP="top"}class sn{static BELOW="below";static CORNER="corner"}class nn extends T{type=zs.TEXT;name="";remark="";width=200;height=150;rotation=0;opacity=1;backgroundColor="rgba(255,255,255,0)";hoverStyleEnabled=!1;hoverBackgroundColor="rgba(255,255,255,0)";hoverOpacity=1;visible=!0;zIndex=1;radius=0;border="none";paddingX=6;paddingY=6;clickActionList=[];css={};script=""}class rn extends nn{type=zs.IMAGE;imageSrc="";imageMode=js.FILL}class on extends nn{type=zs.TEXT;width=150;height=30;positionX=0;positionY=0;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=Qs.MIDDLE;textAlign=$s.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class cn extends nn{type=zs.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=en.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=Zs.HORIZONTAL;progress="50"}class ln extends nn{type=zs.VIDEO;width=240;height=135;backgroundColor="rgba(0,0,0,1)";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=tn.COVER}class dn extends nn{type=zs.BUTTON;width=120;height=36;radius=999;paddingX=14;paddingY=8;backgroundColor="#1677ff";hoverBackgroundColor="#4096ff";textContent=new A;textColor="rgba(255,255,255,1)";textSize=14;textBold=!1;textItalic=!1;textUnderline=!1;icon=new L;iconPosition=an.LEFT;iconSize=18}class _n extends nn{type=zs.VARIABLE_CONTROL;width=200;height=60;bound=new Ls}class mn extends T{name="";remark="";title=new A;description="";icon=new L;size=new s(360,270);radius=12;defaultEnabled=!0;backgroundColor=c.createColorRgba(255,255,255,.5);backgroundBlur=10;badgeText=new A;badgeStyle=sn.CORNER;badgeBgColor="rgba(255,77,79,1)";badgeTextColor="rgba(255,255,255,1)";componentList=[]}const En="#262626";class pn{background=c.createColorRgba(0,0,0,0);textColor=c.createColorByStr("#ffffff");iconColor=c.createColorByStr("#ffffff");textShadow=(()=>{const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.55),e})();iconShadow=new x;iconTintEnabled=!0}function Tn(){const e=new pn;return e.background=c.createColorRgba(0,0,0,.5),e}function gn(e,t){if(e&&e.rootStyleOverrideEnabled){const t=e.rootStyle||Tn();return{background:l.colorToRgbaString(t.background),inheritBackground:"transparent",textColor:l.colorToRgbaString(t.textColor),iconColor:l.colorToRgbaString(t.iconColor),textShadow:F(t.textShadow,"text"),iconShadow:F(t.iconShadow,"drop"),iconTintEnabled:!1!==t.iconTintEnabled}}const a=t||new Ms;return{background:l.colorToRgbaString(a.bgColor),inheritBackground:"transparent",textColor:l.colorToRgbaString(a.textColor),iconColor:l.colorToRgbaString(a.iconColor),textShadow:F(a.textShadow,"text"),iconShadow:F(a.iconShadow,"drop"),iconTintEnabled:!!a.iconTintEnabled}}function An(e,t){const a=e&&e.style||new pn;if(e&&e.styleOverrideEnabled){const e=l.colorToRgbaString(a.background);return{background:e,inheritBackground:e,textColor:l.colorToRgbaString(a.textColor),iconColor:l.colorToRgbaString(a.iconColor),textShadow:F(a.textShadow,"text"),iconShadow:F(a.iconShadow,"drop"),iconTintEnabled:!1!==a.iconTintEnabled}}const s=t.inheritBackground||"transparent";return{background:s,inheritBackground:s,textColor:t.textColor,iconColor:t.iconColor,textShadow:t.textShadow,iconShadow:t.iconShadow,iconTintEnabled:t.iconTintEnabled}}class Cn{static GROUP="group";static TEXT_ITEM="text_item";static MEDIA_CAROUSEL_ITEM="media_carousel_item";static GRID_MEDIA_ITEM="grid_media_item";static WATERFALL_MEDIA_ITEM="waterfall_media_item";static WEBVIEW_ITEM="webview_item";static RICH_TEXT_ITEM="rich_text_item";static CANVAS_ITEM="canvas_item";static IMAGE_ITEM="image_item";static GRID_IMAGE_ITEM="grid_image_item";static WATERFALL_IMAGE_ITEM="waterfall_image_item";static VIDEO_ITEM="video_item"}class un{static IMAGE="image";static VIDEO="video"}class On extends T{mediaType=un.IMAGE;url="";poster="";caption=new A;aspectRatio=0;buttonList=[]}class Sn{static FLOATING="floating";static PUSHED="pushed"}class In{static ELLIPSIS="ellipsis";static WRAP="wrap"}class Ln extends T{nodeType=Cn.TEXT_ITEM;name="";color=En;backgroundColor="";styleOverrideEnabled=!1;style=new pn;visible=!0;requireXrReady=!0}class yn extends Ln{title=new A;icon=new L;titleOverflowMode=In.ELLIPSIS}class Nn extends yn{constructor(){super(),this.nodeType=Cn.TEXT_ITEM}actionList=[]}class Rn extends yn{constructor(){super(),this.nodeType=Cn.MEDIA_CAROUSEL_ITEM}description=new A;mediaList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Dn.COVER}class Pn{url="";actionList=[]}class Mn extends yn{constructor(){super(),this.nodeType=Cn.IMAGE_ITEM}description=new A;imageList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Dn.COVER}class bn{url="";caption=new A;actionList=[];aspectRatio=0}class hn{static LEFT="left";static FILL="fill";static CENTER="center";static STRETCH="stretch"}class Dn{static COVER="cover";static CONTAIN="contain";static FILL="fill"}class fn extends yn{constructor(){super(),this.nodeType=Cn.GRID_MEDIA_ITEM}description=new A;mediaList=[];columns=3;aspectRatio=1;gap=6;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";objectFit=Dn.COVER;lastRowMode=hn.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class wn extends yn{constructor(){super(),this.nodeType=Cn.GRID_IMAGE_ITEM}description=new A;imageList=[];columns=3;aspectRatio=1;gap=6;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";objectFit=Dn.COVER;lastRowMode=hn.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class vn{minWidth=0;columns=2}class Vn extends yn{constructor(){super(),this.nodeType=Cn.WATERFALL_MEDIA_ITEM}description=new A;mediaList=[];columns=2;responsiveBreakpoints=[];columnGap=8;rowGap=8;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class kn extends yn{constructor(){super(),this.nodeType=Cn.WATERFALL_IMAGE_ITEM}description=new A;imageList=[];columns=2;responsiveBreakpoints=[];columnGap=8;rowGap=8;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class Un{url="";poster=""}class Bn extends yn{constructor(){super(),this.nodeType=Cn.VIDEO_ITEM}description=new A;videoList=[];autoplay=!1;muted=!0;loop=!1;height=0;objectFit=Dn.CONTAIN}class Gn extends yn{constructor(){super(),this.nodeType=Cn.WEBVIEW_ITEM}url="";height=240;allowFullscreen=!1}class xn extends yn{constructor(){super(),this.nodeType=Cn.GROUP}children=[];defaultExpanded=!0}function Fn(){return{type:"doc",content:[]}}class Hn extends Ln{constructor(){super(),this.nodeType=Cn.RICH_TEXT_ITEM}content={type:"doc",content:[]}}class Xn extends yn{constructor(){super(),this.nodeType=Cn.CANVAS_ITEM}designWidth=380;height=240;canvasBackgroundColor="rgba(0, 0, 0, 0.5)";componentList=[]}class Wn{drawerTitle=new A;drawerTitleColor="";drawerDescription=new A;drawerDescriptionColor="";rootStyleOverrideEnabled=!1;rootStyle=Tn();nodeList=[];pcLayoutMode=Sn.FLOATING;backgroundColor="";backgroundBlur=0;edgeGap=0;pcWidth=380;openedByDefault=!1}class Yn{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class Kn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class Jn{static LEFT="left";static CENTER="center";static RIGHT="right"}class qn{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class zn{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class jn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class $n{static LEFT="left";static RIGHT="right";static TOP="top"}class Qn extends T{type=Yn.TEXT;name="";remark="";width=200;height=60;positionX=0;positionY=0;rotation=0;opacity=1;visible=!0;zIndex=1;backgroundColor="rgba(255,255,255,0)";hoverStyleEnabled=!1;hoverBackgroundColor="rgba(255,255,255,0)";hoverOpacity=1;radius=0;border="none";paddingX=6;paddingY=6;clickActionList=[];css={};script=""}class Zn extends Qn{type=Yn.IMAGE;imageSrc="";imageMode=Kn.FILL}class er extends Qn{type=Yn.TEXT;width=150;height=30;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=qn.MIDDLE;textAlign=Jn.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class tr extends Qn{type=Yn.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=en.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=zn.HORIZONTAL;progress="50"}class ar extends Qn{type=Yn.VIDEO;width=240;height=135;backgroundColor="#000000";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=jn.COVER}class sr extends Qn{type=Yn.BUTTON;width=120;height=36;radius=999;paddingX=14;paddingY=8;backgroundColor="#1677ff";hoverBackgroundColor="#4096ff";textContent=new A;textColor="rgba(255,255,255,1)";textSize=14;textAlign=Jn.CENTER;textBold=!1;textItalic=!1;textUnderline=!1;icon=new L;iconPosition=$n.LEFT;iconSize=18}class nr extends Qn{type=Yn.VARIABLE_CONTROL;width=200;height=60;bound=new Ls}class rr{static buildVrContentData(e,t,a,s){const n=new Or(e,t);return n.vrCoverSettings.coverTitle.original_content=a,n.vrCoverSettings.coverImageSrc=s,n}}class or{isDirectToInside=!1;firstSweepPose=new o;enterFovImageSrc="";enterParams=""}class ir{min=new a(0,0,0);max=new a(0,0,0);size=new a(0,0,0)}class cr{title="";description=""}class lr{mapCode="";isSingleFrame=!1;frameCount=5;frameInterval=800;enableBlurCheck=!0;confidenceThreshold=.5;backgroundCorrectionInterval=30}class dr{nearDistanceMax=35;refreshMoveThreshold=5;componentRevealIntervalMs=80}class _r{enabled=!0;blurVarThreshold=8;darkLumaThreshold=40;textureThreshold=4;maxCaptureRetries=15;blockedHintAfter=3}class mr{enabled=!1;holdSeconds=15}class Er{capture="multi";poseGatePitchAbsDeg=45;poseGateStableSec=1;multiFrameCount=3;multiFrameIntervalMs=500;autoRetryOnFailure=!0;retryDelaySec=2;guidedCaptureEnabled=!1;guidedCaptureAskUser=!1;guidedCaptureCount=6}class pr{enabled=!0;intervalSec=30}class Tr{enabled=!0;distanceMeters=3;idleTimeoutSec=60}class gr{minScore=0;factor=1;constructor(e=0,t=1){this.minScore=e,this.factor=t}}class Ar{enabled=!0;scoreTiers=[new gr(.9,2),new gr(.7,1),new gr(.45,.5),new gr(0,.25)];driftWarnMeters=.5;driftForceMeters=1.5;limitedAction="relocate_boost"}class Cr{enabled=!0;capture="single";multiFrameCount=3;multiFrameIntervalMs=500;timerTrigger=new pr;distanceTrigger=new Tr;dynamic=new Ar;maxConsecutiveFailures=5;adaptiveAssistEnabled=!0;adaptiveAssistRadius=3;adaptiveAssistRadiusInitial=5;adaptiveAssistSettleSec=15;adaptiveAssistMaxAgeSec=30;smoothCorrection=!0;smoothDurationSec=.4;debugToastEnabled=!1}class ur{apiKey="";apiBaseUrl="";requestTimeoutSec=120;retrieval="netvlad";retrievalK=20;regionRetrievalK=20;failThreshold=.2;highThreshold=.7;firstLocalizeDelaySec=1.5;jpegQuality=75;maxUploadEdge=1280;quality=new _r;abnormalHandheld=new mr;initial=new Er;correction=new Cr;schemaVersion=2}class Or{version;vrDataKey="";mpModelId="";vrUnicode="";supportedLanguages=[g.EN,g.JP];vrCoverSettings=new Ks;vrPlayerUiSettings=new ws;hamburgerMenu=new Wn;vrInfoTemplateSettings=new vs;arMultisetSettings=new lr;arCommonSettings=new dr;arPositionXSettings=new ur;vrRenderSettings=new ks;vrColorSpaceSettings=new Us;cameraEnterSettings=new or;sweepMarkerList=[];componentMarkerList=[];worldSizeInfo=new ir;introduceItemList=[];vrFovList=[];vrContentCardList=[];vrFloorList=[];audioCenter=new W;vrLightList=[];vrLayerList=[];vrViewList=[];sweepList=[];componentList=[];trimmerList=[];spaceFenceList=[];spaceFenceGroupList=[];abilityList=[];abilityGroupList=[];vrFlowList=[];vrStickerList=[];vrTargetList=[];vrTargetGroupList=[];vrObstacleList=[];vrObstacleGroupList=[];vrWormholeList=[];vrWormholeGroupList=[];vrAdChannelList=[];prepareSettings=new Js;vrAiSettings=new Rs;aiAgentList=[];variableList=[];sharedVariableList=[];conditionWatcherList=[];stateBindingsList=[];broadcastChannelList=[];backgroundThreadList=[];cameraDollyPathList=[];monitorList=[];messageCardList=[];triggerList=[];unityNavigationModeList=[];unityNavigationParams=new R;xrVirtualFloorList=[];navigationAdConfigList=[];constructor(e,t){this.mpModelId=e,this.vrUnicode=t}}class Sr extends T{name="";sequence=0;originalFloorPlanImageSrc="";mapSettings=new Ir}class Ir{floorId="";mapImageSrc="";widthScale=1;heightScale=1;horizontalOffset=0;verticalOffset=0;rotation=0}class Lr{static COMPONENT_CREATED="component_created";static COMPONENT_SHOW="component_show";static COMPONENT_HIDE="component_hide";static CLICK="click";static MOUSE_ENTER="mouse_enter";static MOUSE_LEAVE="mouse_leave";static PLAY_START="play_start";static PLAY_FINISH="play_finish";static ENTER="enter";static LEAVE="leave";static PANEL_BUTTON_CLICK="panel_button_click";static PANEL_ANSWER_CORRECT="panel_answer_correct";static PANEL_ANSWER_WRONG="panel_answer_wrong";static VARIABLE_MODIFIED="variable_modified";static CONDITION_WATCHER_TRIGGERED="expression_watcher_triggered";static MONITOR_COMPONENT_CLICK="monitor_component_click";static STICKER_ACTIVATED="sticker_activated";static STICKER_DEACTIVATED="sticker_deactivated";static VR_STARTED="vr_started";static ALL_COMPONENTS_CREATED="all_components_created";static BROADCAST_CHANNEL_MESSAGE="broadcast_channel_message"}class yr{static COMPONENT_TAG="component_tag";static COMPONENT_2D_TEXT="component_2d_text";static COMPONENT_2D_ADVERTISEMENT="component_2d_advertisement";static COMPONENT_2D_VIDEO="component_2d_video";static COMPONENT_2D_IMAGE="component_2d_image";static COMPONENT_2D_PANEL="component_2d_panel";static COMPONENT_3D_BOX="component_3d_box";static COMPONENT_3D_MODEL="component_3d_model";static LOGIC_VARIABLE="logic_variable";static LOGIC_CONDITION_WATCHER="logic_expression_watcher";static SPACE_FENCE="space_fence";static SPACE_FENCE_GROUP="space_fence_group";static MONITOR_COMPONENT="monitor_component";static STICKER="sticker";static BROADCAST="broadcast";static AI_AGENT="ai_agent";static SYSTEM="system"}const Nr={[yr.COMPONENT_TAG]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE],[yr.COMPONENT_2D_TEXT]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE],[yr.COMPONENT_2D_ADVERTISEMENT]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE],[yr.COMPONENT_2D_VIDEO]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE,Lr.PLAY_START,Lr.PLAY_FINISH],[yr.COMPONENT_2D_IMAGE]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE],[yr.COMPONENT_2D_PANEL]:[Lr.PANEL_BUTTON_CLICK,Lr.PANEL_ANSWER_CORRECT,Lr.PANEL_ANSWER_WRONG,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE],[yr.COMPONENT_3D_BOX]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE],[yr.COMPONENT_3D_MODEL]:[Lr.CLICK,Lr.COMPONENT_CREATED,Lr.COMPONENT_SHOW,Lr.COMPONENT_HIDE,Lr.MOUSE_ENTER,Lr.MOUSE_LEAVE,Lr.PLAY_START,Lr.PLAY_FINISH],[yr.LOGIC_VARIABLE]:[Lr.VARIABLE_MODIFIED],[yr.LOGIC_CONDITION_WATCHER]:[Lr.CONDITION_WATCHER_TRIGGERED],[yr.SPACE_FENCE]:[Lr.ENTER,Lr.LEAVE],[yr.SPACE_FENCE_GROUP]:[Lr.ENTER,Lr.LEAVE],[yr.MONITOR_COMPONENT]:[Lr.MONITOR_COMPONENT_CLICK],[yr.STICKER]:[Lr.STICKER_ACTIVATED,Lr.STICKER_DEACTIVATED],[yr.BROADCAST]:[Lr.BROADCAST_CHANNEL_MESSAGE],[yr.SYSTEM]:[Lr.VR_STARTED,Lr.ALL_COMPONENTS_CREATED]};class Rr{source=yr.COMPONENT_TAG;sourceId="";type=Lr.ENTER;editorParams={}}class Pr extends T{createSourceType=yr.COMPONENT_2D_IMAGE;createSourceId="";name="";signal=new Rr;actionList=[];triggerTimesLimit=-1;localVariableList=[];constructor(){super()}}class Mr{static DRAFT="draft";static PUBLISHED="published"}class br{id="";name="";description="";keywords=[];status=Mr.DRAFT;startStepId="";stepList=[];canvasData="";flagImageSrc="";flagImageSize=new s(1,1);flowScopeVariableList=[]}class hr{static START="start";static FINISH="finish";static GENERAL="general";static CONDITION="condition";static GLOBAL_BROADCAST_LISTENER="global_broadcast_listener"}class Dr{static NORMAL="normal";static BUTTONS_ONLY="buttons_only";static NONE="none"}class fr{id="";type=hr.GENERAL;name="";title=new A;description=new A;showArriveDescription=!1;arriveDescription=new A;note="";flagImageSrc="";flagImageSize=new s(1,1);iconSrc="";stepBarStyle=Dr.NORMAL;showStepBarDelay=0;buttonList=[];enterActionList=[];positionSettings=new Vr;arriveRadius=5;arriveActionList=[];triggerList=[];finishInjectTriggerList=[];startCardNextStepEndpointSettings=new Ur;conditionExpression="";conditionTrueEndpointSettings=new Ur;conditionFalseEndpointSettings=new Ur;enterActionCompleteEndpointSettings=new Ur;arriveActionCompleteEndpointSettings=new Ur;stepScopeVariableList=[];broadcastListenerEntryList=[];overrideAppearance=!1;appearanceOverride=new H}class wr{actionList=[];onlyFirstArrive=!1;action}class vr{static NONE="none";static SWEEP="sweep";static COMPONENT="component";static FOV_LINK="fov_link";static VR_FOV="vr_fov"}class Vr{type=vr.NONE;componentId="";fovLink="";fovLinkDataKey="";fovLinkSnapshotSrc="";sweepId="";rotationX=0;rotationY=0;enableDirectLocate=!1;enableNavigateAgain=!1;gotoPositionMethod=u.NAVIGATION_TO_MANUAL;vrFovId="";moveSpeed=0;pauseInterval=0}class kr{destroyTriggerOnLeaveCurrenStep=!0;trigger=new Pr;nextStepEndpointSettings=new Ur}class Ur{id="";enabled=!1;nextStepId="";lineColor=c.createColorByStr("#888888")}class Br{id="";channelId="";actionList=[];nextStepEndpointSettings=new Ur}class Gr extends T{name="";description="";isAvailableForAi=!0;src="";showInContentMenu=!0;cameraMode=n.INSIDE;cameraPose=new i;aiGenerateIntroduceUserPrompt=""}class xr extends T{name="";description="";keywords=[];visible=!0;children=[]}class Fr extends T{type;color=c.createColorRgb(255,255,255);enabled=!0;name="";intensity=1;floorIdList=[]}class Hr extends Fr{type="ambient"}class Xr extends Fr{type="directional";position=new a(0,1,0);target=new a(0,0,0)}class Wr extends Fr{type="point";position=new a(0,1,0);distance=0;decay=1}class Yr{static COMPONENT_MARKER="component_marker";static SWEEP_MARKER="sweep_marker"}class Kr extends T{name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);type=Yr.COMPONENT_MARKER}class Jr{id="";name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);markerType=Yr.COMPONENT_MARKER;markers=[]}class qr{static M="m";static CM="cm";static MM="mm"}class zr{static M2="m2";static CM2="cm2"}class jr extends T{name="";description="";visible=!0;enabledArea=!0;pointList=[];appearanceThemeColor=c.createColorRgba(255,255,255,1);area=0;distanceUnit=qr.M;areaUnit=zr.M2}class $r{id="";position=new a(0,0,0);normal=new a(0,0,0);distance=0}class Qr extends T{name="";introduce="";targetArrowImageSrc="";targetArrowImageSize=new s(1,1);targetArrowImageYOffset=.6;targetArrowImageYOffsetDynamic=.4;targetArrowAdPositionOffsetY=1.5;targetArrowAdSize=new s(1,.75);targetArrowShowAdDistance=20;targetArrowAdChannelId="";leadBotAdPositionOffset=new a(0,1.5,0);leadBotAdSize=new s(1,.75);leadBotAdChannelId=""}class Zr extends T{groupId="default";name="";description="";scale=new a(1,1,1);position=new a(0,0,0);rotation=new a(0,0,0);originalScale=new a(1,1,1);bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode=""}class eo extends T{name="";enabled=!0;description=""}class to extends T{dataKey="";position=new a(0,0,0);rotation=new a(0,0,0);noteDataKey="";noteType="";noteIssueState=""}class ao{key="";placement="left"}function so(e,t){const a=new ao;return a.key=e,a.placement=t,a}const no=[so("fov","capsule"),so("d3","capsule"),so("floorplan","capsule"),so("floor","left"),so("flow","left"),so("measure","left"),so("mute","right"),so("share","more"),so("account","more")],ro=[so("minimap","surface"),so("monitors","surface"),so("fullscreen","surface"),so("audio","hidden"),so("hamburger","surface")],oo=[so("flow","left"),so("measure","left"),so("graffiti","left"),so("ai","left"),so("mute","right"),so("share","more"),so("account","more")],io=[so("monitors","surface"),so("audio","surface")],co=no.map((e=>e.key)),lo=ro.map((e=>e.key)),_o=oo.map((e=>e.key)),mo=io.map((e=>e.key));function Eo(e,t){const a=t.find((t=>t.key===e));return a?a.placement:"left"}class po extends T{groupId="default";name="";description="";scale=new a(1,1,1);position=new a(0,0,0);rotation=new a(0,0,0);bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode="";enterKeepSeconds=0;leaveKeepSeconds=0}class To extends T{name="";description="";cubeFaceColor=c.createColorRgba(255,255,0,.3)}class go{static DISTANCE="distance";static VISIBLE="visible";static VISIBLE_AND_DISTANCE="visible_and_distance"}class Ao extends T{position=new a(0,0,0);rotation=new a(0,0,0);stemLength=.2;color=c.createColorRgb(20,20,20);name="";snapshotSrc="";activateType=go.VISIBLE_AND_DISTANCE;activateDistance=5;activeNeedStaySeconds=0;inactiveNeedStaySeconds=0;bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode=""}class Co extends T{no=1;name="";description="";isAvailableForAi=!0;isVirtual=!1;alignmentType=uo.ALIGNED;enabled=!0;disabledInMatterport=!1;floorId="";neighbors=[];placementType=Oo.AUTO;position=new a(0,0,0);rotation=new a(0,0,0);pointerPosition=new a(0,0,0);markerList=[];keywords=[];panoramaData=new Lo;contentCardList=[]}class uo{static ALIGNED="aligned";static UNALIGNED="unaligned"}class Oo{static AUTO="auto";static MANUAL="manual";static UNPLACED="unplaced"}class So{static IMAGE="image";static VIDEO="video"}class Io{static NONE="none";static SAME_TO_INSIDE="same_to_inside"}class Lo{default="original";sourceList=[];ballExternalViewMode=Io.NONE}class yo{id="";type=So.IMAGE;name="";description="";keywords=[];imageSrc="";videoSrc="";muted=!0;loop=!0;opacity=1;zoomLevel=1;rotationCorrection=new a(0,0,0);allowSeeSweep=!0;allowSeeComponents=!0}class No{primaryColor=new d;secondaryColor=new d;maskColor=new d;barMaskColor=new d}class Ro extends T{name="";position=new a(0,0,0);scale=new a(1,1,1);rotation=new a(0,0,0);enabledTrimSpace=!0;enabledTrimComponent=!1;discardContents=!0;activeInPanoMode=!0}class Po extends T{startY=-99999;endY=99999;name="";floorPlanImageSrc="";floorCode="";floorPlanPointList=[new s(0,0),new s(0,0),new s(0,0)];vrSpacePointList=[new a(0,0,0),new a(0,0,0),new a(0,0,0)]}class Mo extends T{name="";description="";type=bo.BASIC;bindLayerIdList=[]}class bo{static GENERAL="general";static BASIC="basic"}class ho extends T{groupId="default";position=new a(0,0,0);rotation=new a(0,0,0);stemLength=.2;color=c.createColorRgb(205,133,63);name="";title=new A;bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode=""}class Do extends T{name="";enabled=!0;description=""}class fo extends T{groupId="default";position=new a(0,0,0);rotation=new a(0,0,0);stemLength=.2;color=c.createColorRgb(34,139,34);name="";code="";title=new A;description=new A;showToUser=!0;importable=!1;destinationToAnotherTarget=!1;destinationTargetId="";bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode=""}class wo extends T{name="";enabled=!0;description="";useNavigationAdConfigId=""}class vo extends T{name="";remark="";autoExecuteOnBoot=!1;executeCount=0;actionList=[];interval=1e3;localVariableList=[]}class Vo extends T{name="";remark="";payloadFieldList=[];constructor(){super()}}class ko{componentId="";description=""}class Uo{targetId="";description=""}class Bo{variableKey="";variableScope;description=""}class Go{stickerId="";canBeActivated=!0;description=""}class xo{spaceFenceId="";canBeActivated=!0;description=""}class Fo{spaceFenceGroupId="";canBeActivated=!0;description=""}class Ho{backgroundThreadId="";description=""}class Xo{cameraDollyPathId="";description=""}class Wo{abilityId="";description=""}class Yo{contentCardId="";description=""}class Ko{vrFovId="";description=""}class Jo{cloudFormDataKey="";description="";autoPromptToFill=!1}class qo{knowledgeBaseDataKey="";description=""}class zo{analyticsEventDataKey="";description=""}class jo{messageCardId="";description=""}class $o{monitorId="";description=""}class Qo{rolePrompt="";tonePrompt="";taskPrompt="";abilityPrompt="";limitPrompt="";behaviorRulePrompt=""}class Zo{reasoning_effort;temperature;max_output_tokens}class ei extends T{name="";description="";promptContent=""}class ti extends T{name="";description="";wakePrompt=""}class ai extends T{name="";autoActivate=!1;enableVoiceOutput=!1;voiceOutputComponentId="";enableVoiceInput=!1;remark="";roleName="";avatarSrc="";rolePromptSettings=new Qo;skillPromptList=[];wakePromptList=[];localVariableList=[];toolSettings={};modelDataKey="";contextTokens=0;params=new Zo;useComponentList=[];useTargetList=[];useVariableList=[];useStickerList=[];useSpaceFenceList=[];useSpaceFenceGroupList=[];useBackgroundThreadList=[];useCameraDollyPathList=[];useAbilityList=[];useKnowledgeBaseList=[];useFovList=[];useContentCardList=[];useCloudFormList=[];useAnalyticsEventList=[];useMessageCardList=[];useMonitorList=[]}const si=[{key:"component",toolList:[{key:"change_component_visibility",requires:["useComponentList"]},{key:"play_component_transition_animation",requires:["useComponentList"]},{key:"stop_component_transition_animation",requires:["useComponentList"]},{key:"change_component_transform",requires:["useComponentList"]},{key:"play_component_audio_source",requires:["useComponentList"]},{key:"pause_component_audio_source",requires:["useComponentList"]},{key:"change_component_audio_loop_mode",requires:["useComponentList"]}]},{key:"navigation",toolList:[{key:"start_navigation",requires:["useTargetList","useFovList"]},{key:"stop_navigation",requires:["useTargetList","useFovList"]},{key:"propose_start_navigation",requires:["useTargetList","useFovList"]}]},{key:"camera_fov",toolList:[{key:"camera_move_to_vr_fov",requires:["useFovList"]},{key:"propose_camera_move_to_vr_fov",requires:["useFovList"]}]},{key:"variable",toolList:[{key:"set_variable",requires:["useVariableList"]},{key:"add_to_number_variable",requires:["useVariableList"]},{key:"subtract_from_number_variable",requires:["useVariableList"]},{key:"append_to_string_variable",requires:["useVariableList"]},{key:"toggle_boolean_variable",requires:["useVariableList"]}]},{key:"camera_dolly",toolList:[{key:"play_camera_dolly_path",requires:["useCameraDollyPathList"]},{key:"stop_camera_dolly",requires:["useCameraDollyPathList"]}]},{key:"background_thread",toolList:[{key:"start_background_thread",requires:["useBackgroundThreadList"]},{key:"pause_background_thread",requires:["useBackgroundThreadList"]},{key:"stop_background_thread",requires:["useBackgroundThreadList"]}]},{key:"ability",toolList:[{key:"enable_ability",requires:["useAbilityList"]},{key:"stop_ability",requires:["useAbilityList"]}]},{key:"content_card",toolList:[{key:"query_content_cards",requires:["useContentCardList"],readOnlyInspect:!0},{key:"query_content_card_detail",requires:["useContentCardList"],readOnlyInspect:!0},{key:"show_information_content_card",requires:["useContentCardList"]}]},{key:"message_card",toolList:[{key:"query_message_cards",requires:["useMessageCardList"],readOnlyInspect:!0},{key:"query_message_card_detail",requires:["useMessageCardList"],readOnlyInspect:!0},{key:"message_card_show",requires:["useMessageCardList"]},{key:"message_card_hide",requires:["useMessageCardList"]},{key:"change_message_card_show_state",requires:["useMessageCardList"]}]},{key:"monitor",toolList:[{key:"query_monitors",requires:["useMonitorList"],readOnlyInspect:!0},{key:"query_monitor_detail",requires:["useMonitorList"],readOnlyInspect:!0},{key:"monitor_change_enabled",requires:["useMonitorList"]},{key:"monitor_switch_active_tab",requires:["useMonitorList"]},{key:"monitor_component_change_visibility",requires:["useMonitorList"]},{key:"monitor_change_badge_text",requires:["useMonitorList"]},{key:"monitor_change_badge_style",requires:["useMonitorList"]}]},{key:"visualization_controller",toolList:[{key:"visualization_controller_pop"},{key:"visualization_controller_hide"},{key:"visualization_controller_close_all"}]},{key:"skill_prompt",toolList:[{key:"list_skill_prompts",requires:["skillPromptList"],readOnlyInspect:!0},{key:"search_skill_prompts",requires:["skillPromptList"],readOnlyInspect:!0},{key:"get_skill_prompt_detail",requires:["skillPromptList"],readOnlyInspect:!0}]},{key:"knowledge_base",toolList:[{key:"query_knowledge_base_records",requires:["useKnowledgeBaseList"],readOnlyInspect:!0},{key:"get_knowledge_base_record",requires:["useKnowledgeBaseList"],readOnlyInspect:!0}]},{key:"cloud_form",toolList:[{key:"query_cloud_form_submitted",requires:["useCloudFormList"],readOnlyInspect:!0},{key:"query_cloud_form_collected",requires:["useCloudFormList"],readOnlyInspect:!0},{key:"cloud_form_set_field",requires:["useCloudFormList"]},{key:"cloud_form_submit",requires:["useCloudFormList"]},{key:"cloud_form_reset",requires:["useCloudFormList"]},{key:"cloud_form_show_dialog",requires:["useCloudFormList"]}]},{key:"state_query",toolList:[{key:"query_navigation_state",requires:["useTargetList","useFovList"],readOnlyInspect:!0},{key:"query_sticker_state",requires:["useStickerList"],readOnlyInspect:!0},{key:"query_space_fence_state",requires:["useSpaceFenceList"],readOnlyInspect:!0},{key:"query_space_fence_group_state",requires:["useSpaceFenceGroupList"],readOnlyInspect:!0},{key:"query_variable_state",requires:["useVariableList"],readOnlyInspect:!0},{key:"query_component_state",requires:["useComponentList"],readOnlyInspect:!0},{key:"query_background_thread_state",requires:["useBackgroundThreadList"],readOnlyInspect:!0},{key:"query_ability_state",requires:["useAbilityList"],readOnlyInspect:!0}]},{key:"inspect",toolList:[{key:"query_components",readOnlyInspect:!0},{key:"query_component_detail",readOnlyInspect:!0},{key:"query_stickers",readOnlyInspect:!0},{key:"query_sticker_detail",readOnlyInspect:!0},{key:"query_space_fences",readOnlyInspect:!0},{key:"query_space_fence_detail",readOnlyInspect:!0},{key:"query_space_fence_groups",readOnlyInspect:!0},{key:"query_space_fence_group_detail",readOnlyInspect:!0},{key:"query_targets",readOnlyInspect:!0},{key:"query_target_detail",readOnlyInspect:!0},{key:"query_variables",readOnlyInspect:!0},{key:"query_variable_detail",readOnlyInspect:!0},{key:"query_abilities",readOnlyInspect:!0},{key:"query_ability_detail",readOnlyInspect:!0},{key:"query_camera_dolly_paths",readOnlyInspect:!0},{key:"query_camera_dolly_path_detail",readOnlyInspect:!0},{key:"query_background_threads",readOnlyInspect:!0},{key:"query_background_thread_detail",readOnlyInspect:!0},{key:"query_vr_fovs",readOnlyInspect:!0},{key:"query_vr_fov_detail",readOnlyInspect:!0}]},{key:"system",toolList:[{key:"audio_center_set_volume"},{key:"audio_center_pause"},{key:"audio_center_player_change_display_mode"},{key:"set_interactive_state"},{key:"wait_seconds"},{key:"query_current_time",readOnlyInspect:!0},{key:"change_layer_visibility"},{key:"close_information_content_card"},{key:"open_information_link"},{key:"close_information_link"},{key:"system_open_webpage"},{key:"change_system_ui_setting"},{key:"toggle_hamburger_menu_open_state"},{key:"change_hamburger_menu_node_visibility"},{key:"change_hamburger_menu_group_expanded"},{key:"create_temporary_message_card"},{key:"destroy_temporary_message_card"},{key:"logic_random_number"},{key:"logic_random_color"},{key:"logic_current_time",readOnlyInspect:!0},{key:"logic_random_pick_string"},{key:"logic_random_pick_number"},{key:"logic_random_pick_boolean"},{key:"logic_random_pick_from_recommend_options"},{key:"trim_end_string_variable"}]},{key:"tts",toolList:[{key:"tts_play_voice",requires:["enableVoiceOutput"]}]}];function ni(e,t){const a=t.requires||[];return 0===a.length||a.some((t=>{if("enableVoiceOutput"===t)return!(!e||!e.enableVoiceOutput);const a=e?e[t]:void 0;return Array.isArray(a)&&a.length>0}))}function ri(e,t){if(!ni(e,t))return!1;const a=e&&e.toolSettings;return!(a&&!1===a[t.key])}class oi{sweepId="";needCustomRotation=!1;customRotationX=0;customRotationY=0;moveTime=1e3;stayTime=500}class ii extends T{name="";nodeList=[];destinationType="custom";vrFovId="";fovLinkDataKey="";fovLinkSweepId="";fovLinkCameraRotationX=0;fovLinkCameraRotationY=0;fovLinkSnapshotSrc="";destinationSweepId="";destinationRotationX=0;destinationRotationY=0;destinationSnapshotSrc="";finalMoveSpeed=700;disableVrControl=!0;runningPromptText=""}class ci extends T{name="";remark=""}class li extends T{abilityGroupId="";autoExecuteOnBoot=!1;name="";remark="";description="";contextVariableList=[];activeActionList=[];activeActionListLocalVariableList=[];keeping=!1;triggerList=[];stopActionList=[];stopActionListLocalVariableList=[]}class di extends ae{type=j.TYPE_2D_ADVERTISEMENT;adChannelId=""}class _i extends ae{type=j.TYPE_2D_IMAGE;sourceList=[];autoChangeInterval=0;currentImageIndex=0}class mi{id="";src="";name="";description="";aspectRatio=1;chromaKeySettings=new _}class Ei{static MENU="menu";static ANSWERING="answering";static VARIABLE_MODIFIER="variable-modifier"}class pi extends ae{type=j.TYPE_2D_PANEL;sceneDataList=[];defaultSceneId=""}class Ti{id="";mode=Ei.MENU;name="";description="";buttonDataList=[];textDataList=[];imageDataList=[];answeringModeSettings=new gi;variableModifierModeSettings=new Ai;enumModifierModeSettings;style=new Ni;snapshotImageSrc=""}class gi{confirmButton=new Li;correctButtonIdList=[]}class Ai{variableKey="";variableType}class Ci{static TEXT="text";static IMAGE="image";static BUTTON="button"}class ui{id="";name="";type=Ci.TEXT;style=new Ri}class Oi{static TEXT="text";static IMAGE="image";static TEXT_LEFT_IMAGE_RIGHT="text_left_image_right";static IMAGE_LEFT_TEXT_RIGHT="image_left_text_right";static IMAGE_TOP_TEXT_BOTTOM="image_top_text_bottom";static TEXT_TOP_IMAGE_BOTTOM="text_top_image_bottom"}class Si extends ui{type=Ci.IMAGE;src="";imageMode="fill"}class Ii extends ui{type=Ci.TEXT;richText=""}class Li extends ui{type=Ci.BUTTON;name="";optionValue="";optionLabel=new A;enumOptionValue;enabled=!0;buttonType=Oi.TEXT;buttonText="";buttonImageSrc="";buttonImageWidth=40;buttonImageHeight=40;buttonImageTextSpacing=10;hoverMaskColor=c.createColorRgba(255,255,255,.5);hoverBorderColor=c.createColorRgba(255,255,255,1);hoverBorderWidth=1;selectedMaskColor=c.createColorRgba(0,255,0,.2);selectedBorderColor=c.createColorRgba(50,205,50,.7);selectedBorderWidth=3;disabledMaskColor=c.createColorRgba(0,0,0,.65);disabledBorderColor=c.createColorRgba(100,100,100,.5);disabledBorderWidth=2;disabledClickTip=new A}class yi{width=640;height=480;borderRadius=10;opacity=1;backgroundColor=c.createColorRgba(0,0,0,0);borderColor=c.createColorRgba(0,0,0,1);borderWidth=0;borderStyle="solid"}class Ni extends yi{paddingX=10;paddingY=10}class Ri extends yi{x=0;y=0;zIndex=10}class Pi{static LEFT="left";static CENTER="center";static RIGHT="right"}class Mi{static TOP="top";static CENTER="center";static BOTTOM="bottom"}class bi{static BASIC="basic";static MARQUEE="marquee"}class hi extends ae{type=j.TYPE_2D_TEXT;sourceList=[];mode=bi.BASIC;backgroundColor=c.createColorRgba(0,0,0,.2);fontFamily="";textColor=c.createColorRgba(255,255,255,1);paddingX=8;paddingY=4;borderRadius=5;fontSize=20;horizontalAlign="left";verticalAlign="top";currentSourceIndex=0;basicModeSettings=new fi;marqueeModeSettings=new wi}class Di{id="";textContent=Gs("2D Text");description=""}class fi{changeInterval=0}class wi{autoChange=!0;speed=50;interval=1;width=15}class vi extends ae{type=j.TYPE_2D_VIDEO;sourceList=[];autoPlay=!1;defaultLoopMode=y.NO_LOOP;defaultMute=!0;showControl=!0;showMute=!0;customControlButtonSize=!1;controlButtonDiameter=.3;additionalControlButtonDiameter=.1;currentSourceIndex=0}class Vi{id="";videoSrc="";name="";description="";coverSrc="";aspectRatio=1;duration=0;chromaKeySettings=new _;playbackRate=1}class ki extends ie{type=j.TYPE_3D_BOX;faceColor=c.createColorRgba(0,255,0,.2);borderColor=c.createColorRgba(0,255,0,.5);hoverFaceColor=c.createColorRgba(0,255,0,.5);hoverBorderColor=c.createColorRgba(0,255,0,.8);borderWidth=.005;hoverBorderSettings=new O}class Ui extends ie{type=j.TYPE_3D_MODEL;modelFormat="glb";modelSrc="";materialSrc="";coverSrc="";originalSize=new a(-1,-1,-1);innerScale=new a(-1,-1,-1);animationList=[];animationClipList=[];ignoreLighting=!1}class Bi{id="";name="";alias="";duration=0}class Gi{id="";animationId="";name="";description="";speed=1;timeRange=[0,1];loop=!1;stayAtLastFrame=!1}class xi{static NONE="none";static TOP="top";static BOTTOM="bottom"}class Fi extends Q{type=j.TYPE_TAG;tagNonPerspective=!1;enabledDrag=!1;size=.2;enabledBackground=!0;backgroundColor=c.createColorRgb(90,156,248);enabledCustomIcon=!1;icon=new L;constructor(){super(),this.icon.colorEnabled=!0}enabledStem=!0;stemColor=c.createColorRgb(255,255,255);stemLength=.5;stemVector=new a(0,1,0);bindContentCardId="";isHoverShowContentCardBubble=!0;isClickShowContentCard=!0;clickShowContentCardStyle=k.BUBBLE;triggerButtonTitle=new A;tipTextLocation=xi.NONE;tipTextContent=new A;tipTextColor=c.createColorRgba(255,255,255,1);tipTextBackgroundColor=c.createColorRgba(0,0,0,.4);tipTextFontSize=18;tipTextNonPerspective=!1}class Hi{static NORMAL="NORMAL";static EDIT_SCENE="EDIT_SCENE";static EDIT_COVER="EDIT_COVER"}const Xi={uninitialized:1,waiting:2,loading:3,starting:4,playing:5,error:6};class Wi{static UNINITIALIZED="uninitialized";static WAITING="waiting";static LOADING="loading";static STARTING="starting";static PLAYING="playing";static ERROR="error"}class Yi{status=Wi.UNINITIALIZED;progress=0;get statusNum(){return Xi[this.status]}}class Ki{type="";data={};constructor(e,t){this.type=e,this.data=t}}class Ji{static PLAYER_START="vrtalk_cmd_player_start";static PLAYER_MODE_UPDATE="vrtalk_cmd_player_mode_update";static PLAYER_XR_PREPARE_PREVIEW="vrtalk_cmd_player_xr_prepare_preview";static PLAYER_PREPARE_SETTINGS_UPDATE="vrtalk_cmd_player_prepare_settings_update";static COVER_SETTINGS_UPDATE="vrtalk_cmd_cover_settings_update";static UI_SETTINGS_UPDATE="vrtalk_cmd_ui_settings_update";static INFO_TEMPLATE_SETTINGS_UPDATE="vrtalk_cmd_info_template_settings_update";static COMPONENT_CREATE="vrtalk_cmd_component_create";static COMPONENT_UPDATE="vrtalk_cmd_component_update";static COMPONENT_DELETE="vrtalk_cmd_component_delete";static COMPONENT_FOLLOW_MOUSE="vrtalk_cmd_component_follow_mouse";static COMPONENT_CONTROLLER_MODIFY="vrtalk_cmd_component_controller";static COMPONENT_PLAY_TRANSITION_ANIMATION="vrtalk_cmd_component_play_transition_animation";static COMPONENT_STOP_TRANSITION_ANIMATION="vrtalk_cmd_component_stop_transition_animation";static COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP="vrtalk_cmd_component_3d_model_play_animation_clip";static COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP="vrtalk_cmd_component_3d_model_stop_animation_clip";static COMPONENT_2D_TEXT_AUTO_FIT="vrtalk_cmd_component_2d_text_auto_fit";static FOV_ENTER_SHOT_MODE="vrtalk_cmd_fov_enter_shot_mode";static FOV_EXIT_SHOT_MODE="vrtalk_cmd_fov_exit_shot_mode";static FOV_UPDATE="vrtalk_cmd_fov_update";static FOV_DELETE="vrtalk_cmd_fov_delete";static LAYER_UPDATE="vrtalk_cmd_layer_update";static LAYER_DELETE="vrtalk_cmd_layer_delete";static LAYER_VISIBLE="vrtalk_cmd_layer_visible";static SWEEP_UPDATE_ALL="vrtalk_cmd_sweep_update_all";static SWEEP_UPDATE="vrtalk_cmd_sweep_update";static SWEEP_DELETE_VIRTUAL="vrtalk_cmd_sweep_delete_virtual";static SWEEP_UPDATE_RENDER_FLAG_VISIBLE="vrtalk_cmd_sweep_update_render_flag_visible";static LIGHT_CREATE="vrtalk_cmd_light_create";static LIGHT_UPDATE="vrtalk_cmd_light_update";static LIGHT_DELETE="vrtalk_cmd_light_delete";static TRIMMER_CREATE="vrtalk_cmd_trimmer_create";static TRIMMER_UPDATE="vrtalk_cmd_trimmer_update";static TRIMMER_DELETE="vrtalk_cmd_trimmer_delete";static TRIMMER_CONTROLLER_MODIFY="vrtalk_cmd_trimmer_controller";static TRIMMER_EDITING_STATE_UPDATE="vrtalk_cmd_trimmer_editing_state_update";static STICKER_CREATE="vrtalk_cmd_sticker_create";static STICKER_UPDATE="vrtalk_cmd_sticker_update";static STICKER_DELETE="vrtalk_cmd_sticker_delete";static STICKER_CONTROLLER_MODIFY="vrtalk_cmd_sticker_controller";static STICKER_EDITING_STATE_UPDATE="vrtalk_cmd_sticker_editing_state_update";static TARGET_CREATE="vrtalk_cmd_target_create";static TARGET_UPDATE="vrtalk_cmd_target_update";static TARGET_DELETE="vrtalk_cmd_target_delete";static TARGET_CONTROLLER_MODIFY="vrtalk_cmd_target_controller";static TARGET_EDITING_STATE_UPDATE="vrtalk_cmd_target_editing_state_update";static TARGET_GROUP_VISIBLE_UPDATE="vrtalk_cmd_target_group_visible_update";static OBSTACLE_CREATE="vrtalk_cmd_obstacle_create";static OBSTACLE_UPDATE="vrtalk_cmd_obstacle_update";static OBSTACLE_DELETE="vrtalk_cmd_obstacle_delete";static OBSTACLE_CONTROLLER_MODIFY="vrtalk_cmd_obstacle_controller";static OBSTACLE_EDITING_STATE_UPDATE="vrtalk_cmd_obstacle_editing_state_update";static OBSTACLE_GROUP_VISIBLE_UPDATE="vrtalk_cmd_obstacle_group_visible_update";static SPACE_FENCE_CREATE="vrtalk_cmd_space_fence_create";static SPACE_FENCE_UPDATE="vrtalk_cmd_space_fence_update";static SPACE_FENCE_DELETE="vrtalk_cmd_space_fence_delete";static SPACE_FENCE_CONTROLLER_MODIFY="vrtalk_cmd_space_fence_controller";static SPACE_FENCE_EDITING_STATE_UPDATE="vrtalk_cmd_space_fence_editing_state_update";static SPACE_FENCE_GROUP_VISIBLE_UPDATE="vrtalk_cmd_space_fence_group_visible_update";static SPACE_FENCE_GROUP_COLOR_UPDATE="vrtalk_cmd_space_fence_group_color_update";static WORMHOLE_CREATE="vrtalk_cmd_wormhole_create";static WORMHOLE_UPDATE="vrtalk_cmd_wormhole_update";static WORMHOLE_DELETE="vrtalk_cmd_wormhole_delete";static WORMHOLE_CONTROLLER_MODIFY="vrtalk_cmd_wormhole_controller";static WORMHOLE_EDITING_STATE_UPDATE="vrtalk_cmd_wormhole_editing_state_update";static WORMHOLE_GROUP_VISIBLE_UPDATE="vrtalk_cmd_wormhole_group_visible_update";static ASSET_LABEL_CREATE="vrtalk_cmd_asset_label_create";static ASSET_LABEL_UPDATE="vrtalk_cmd_asset_label_update";static ASSET_LABEL_DELETE="vrtalk_cmd_asset_label_delete";static ASSET_LABEL_CONTROLLER_MODIFY="vrtalk_cmd_asset_label_controller";static ASSET_LABEL_EDITING_STATE_UPDATE="vrtalk_cmd_asset_label_editing_state_update";static FLOOR_UPDATE="vrtalk_cmd_floor_update";static INFORMATION_CONTENT_CARD_UPDATE="vrtalk_cmd_information_content_card_update";static INFORMATION_CONTENT_CARD_DELETE="vrtalk_cmd_information_content_card_delete";static MARKER_UPDATE="vrtalk_cmd_marker_update";static MARKER_DELETE="vrtalk_cmd_marker_delete";static CAMERA_MOVE_TO="vrtalk_cmd_camera_move_to";static CAMERA_MOVE_TO_INSIDE="vrtalk_cmd_camera_move_to_inside";static CAMERA_MOVE_TO_VR_FOV="vrtalk_cmd_camera_move_to_vr_fov";static CAMERA_MOVE_TO_NEAR_COMPONENT="vrtalk_cmd_camera_move_to_near_component";static CAMERA_MOVE_TO_WATCH_POSITION="vrtalk_cmd_camera_move_to_watch_position";static CAMERA_REQUEST_DEEPLINK_PARAMS="vrtalk_cmd_camera_request_deeplink_params";static RENDERER_TAKE_SCREENSHOT="vrtalk_cmd_renderer_take_screenshot";static RENDERER_GET_PANORAMA_IMAGE="vrtalk_cmd_renderer_get_panorama_image";static RENDERER_SETTINGS_UPDATE="vrtalk_cmd_renderer_settings_update";static RENDERER_COLOR_SPACE_SETTINGS_UPDATE="vrtalk_cmd_renderer_color_space_settings_update";static NAVIGATION_REQUEST="vrtalk_cmd_navigation_request";static NAVIGATION_START="vrtalk_cmd_navigation_start";static NAVIGATION_CANCEL="vrtalk_cmd_navigation_cancel";static AUDIO_UPDATE="vrtalk_cmd_audio_update";static AUDIO_DELETE="vrtalk_cmd_audio_delete";static AUDIO_LIST_UPDATE="vrtalk_cmd_audio_list_update";static AUDIO_LIST_DELETE="vrtalk_cmd_audio_list_delete";static AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE="vrtalk_cmd_audio_center_player_show_play_control_update";static AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE="vrtalk_cmd_audio_center_player_show_volume_control_update";static AUDIO_CENTER_PLAYER_VOLUME_UPDATE="vrtalk_cmd_audio_center_player_volume_update";static MONITOR_LIST_UPDATE="vrtalk_cmd_monitor_list_update";static DOLLY_PATH_CAPTURE_DESTINATION="vrtalk_cmd_dolly_path_capture_destination";static DOLLY_PATH_PREVIEW="vrtalk_cmd_dolly_path_preview";static DOLLY_PATH_STOP_PREVIEW="vrtalk_cmd_dolly_path_stop_preview";static MESSAGE_CARD_PREVIEW="vrtalk_cmd_message_card_preview";static HAMBURGER_MENU_UPDATE="vrtalk_cmd_hamburger_menu_update"}class qi{onStart(e){Gc.registerCommandListener(Ji.PLAYER_START,(t=>{e(t.data.vrContentData,t.data.isForceIgnoreEnterBtn)}))}onModeUpdate(e){Gc.registerCommandListener(Ji.PLAYER_MODE_UPDATE,(t=>{e(t.data)}))}onXrPreparePreview(e){Gc.registerCommandListener(Ji.PLAYER_XR_PREPARE_PREVIEW,(t=>{e(!!t.data)}))}onPrepareSettingsUpdate(e){Gc.registerCommandListener(Ji.PLAYER_PREPARE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class zi{onCoverSettingsUpdate(e){Gc.registerCommandListener(Ji.COVER_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class ji{onUiSettingsUpdate(e){Gc.registerCommandListener(Ji.UI_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class $i{onInfoTemplateSettingsUpdate(e){Gc.registerCommandListener(Ji.INFO_TEMPLATE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Qi{onContentCardUpdate(e){Gc.registerCommandListener(Ji.INFORMATION_CONTENT_CARD_UPDATE,(t=>{e(t.data)}))}onContentCardDelete(e){Gc.registerCommandListener(Ji.INFORMATION_CONTENT_CARD_DELETE,(t=>{e(t.data)}))}}class Zi{onCreate(e){Gc.registerCommandListener(Ji.COMPONENT_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.COMPONENT_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.COMPONENT_DELETE,(t=>{e(t.data)}))}onFollowMouse(e){Gc.registerCommandListener(Ji.COMPONENT_FOLLOW_MOUSE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.COMPONENT_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.componentId)}))}onPlayTransitionAnimation(e){Gc.registerCommandListener(Ji.COMPONENT_PLAY_TRANSITION_ANIMATION,(t=>{e(t.data.componentId,t.data.animationId)}))}onStopTransitionAnimation(e){Gc.registerCommandListener(Ji.COMPONENT_STOP_TRANSITION_ANIMATION,(t=>{e(t.data.componentId)}))}on3dModelPlayAnimationClip(e){Gc.registerCommandListener(Ji.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId,t.data.animationClipId)}))}on3dModelStopAnimationClip(e){Gc.registerCommandListener(Ji.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId)}))}on2dTextAutoFit(e){Gc.registerCommandListener(Ji.COMPONENT_2D_TEXT_AUTO_FIT,(t=>{e(t.data)}))}}class ec{onEnterFovShotMode(e){Gc.registerCommandListener(Ji.FOV_ENTER_SHOT_MODE,(t=>{e(t.data)}))}onExitFovShotMode(e){Gc.registerCommandListener(Ji.FOV_EXIT_SHOT_MODE,(t=>{e()}))}onUpdate(e){Gc.registerCommandListener(Ji.FOV_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.FOV_DELETE,(t=>{e(t.data)}))}}class tc{onUpdate(e){Gc.registerCommandListener(Ji.LAYER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.LAYER_DELETE,(t=>{e(t.data.layerId,t.data.deleteComponents)}))}onVisible(e){Gc.registerCommandListener(Ji.LAYER_VISIBLE,(t=>{e(t.data.layerId,t.data.visible)}))}}class ac{onCreate(e){Gc.registerCommandListener(Ji.LIGHT_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.LIGHT_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.LIGHT_DELETE,(t=>{e(t.data)}))}}class sc{onCreate(e){Gc.registerCommandListener(Ji.TRIMMER_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.TRIMMER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.TRIMMER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.TRIMMER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.trimmerId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.TRIMMER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class nc{onCreate(e){Gc.registerCommandListener(Ji.STICKER_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.STICKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.STICKER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.STICKER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.stickerId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.STICKER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class rc{onUpdate(e){Gc.registerCommandListener(Ji.FLOOR_UPDATE,(t=>{e(t.data)}))}}class oc{onMoveTo(e){Gc.registerCommandListener(Ji.CAMERA_MOVE_TO,(t=>{e(t.data.transition,t.data.cameraPose)}))}onMoveToInside(e){Gc.registerCommandListener(Ji.CAMERA_MOVE_TO_INSIDE,(t=>{e(t.data.transition,t.data.transitionTime,t.data.cameraPose)}))}onMoveToVrFov(e){Gc.registerCommandListener(Ji.CAMERA_MOVE_TO_VR_FOV,(t=>{e(t.data.transition,t.data.transitionTime,t.data.fovId)}))}onMoveToNearComponent(e){Gc.registerCommandListener(Ji.CAMERA_MOVE_TO_NEAR_COMPONENT,(t=>{e(t.data.transition,t.data.transitionTime,t.data.componentId)}))}onMoveToWatchPosition(e){Gc.registerCommandListener(Ji.CAMERA_MOVE_TO_WATCH_POSITION,(t=>{e(t.data.transition,t.data.transitionTime,t.data.position)}))}onRequestDeeplinkParams(e){Gc.registerCommandListener(Ji.CAMERA_REQUEST_DEEPLINK_PARAMS,(()=>{e()}))}}class ic{onTakeScreen(e){Gc.registerCommandListener(Ji.RENDERER_TAKE_SCREENSHOT,(t=>{e(t.data.resolution,t.data.visibility)}))}onGetPanoramaImage(e){Gc.registerCommandListener(Ji.RENDERER_GET_PANORAMA_IMAGE,(()=>{e()}))}onSettingsUpdate(e){Gc.registerCommandListener(Ji.RENDERER_SETTINGS_UPDATE,(t=>{e(t.data)}))}onColorSpaceSettingsUpdate(e){Gc.registerCommandListener(Ji.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class cc{onMarkerUpdate(e){Gc.registerCommandListener(Ji.MARKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.MARKER_DELETE,(t=>{e(t.data)}))}}class lc{onNavigationRequest(e){Gc.registerCommandListener(Ji.NAVIGATION_REQUEST,(t=>{e(t.data)}))}onNavigationStart(e){Gc.registerCommandListener(Ji.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationCancel(e){Gc.registerCommandListener(Ji.NAVIGATION_CANCEL,(t=>{e()}))}}class dc{onCreate(e){Gc.registerCommandListener(Ji.OBSTACLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.OBSTACLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.OBSTACLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.obstacleId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.OBSTACLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Gc.registerCommandListener(Ji.OBSTACLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class _c{onAudioListUpdate(e){Gc.registerCommandListener(Ji.AUDIO_LIST_UPDATE,(t=>{e(t.data)}))}onAudioListDelete(e){Gc.registerCommandListener(Ji.AUDIO_LIST_DELETE,(t=>{e(t.data)}))}onAudioUpdate(e){Gc.registerCommandListener(Ji.AUDIO_UPDATE,(t=>{e(t.data)}))}onAudioDelete(e){Gc.registerCommandListener(Ji.AUDIO_DELETE,(t=>{e(t.data)}))}onAudioCenterPlayerShowPlayControlUpdate(e){Gc.registerCommandListener(Ji.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerShowVolumeControlUpdate(e){Gc.registerCommandListener(Ji.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerVolumeUpdate(e){Gc.registerCommandListener(Ji.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,(t=>{e(t.data)}))}}class mc{onCreate(e){Gc.registerCommandListener(Ji.ASSET_LABEL_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.ASSET_LABEL_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.ASSET_LABEL_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.assetLabelId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.ASSET_LABEL_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class Ec{onCreate(e){Gc.registerCommandListener(Ji.TARGET_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.TARGET_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.TARGET_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.TARGET_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.targetId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.TARGET_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Gc.registerCommandListener(Ji.TARGET_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class pc{onCreate(e){Gc.registerCommandListener(Ji.WORMHOLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.WORMHOLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.WORMHOLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.wormholeId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.WORMHOLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Gc.registerCommandListener(Ji.WORMHOLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class Tc{onCreate(e){Gc.registerCommandListener(Ji.SPACE_FENCE_CREATE,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onDelete(e){Gc.registerCommandListener(Ji.SPACE_FENCE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Gc.registerCommandListener(Ji.SPACE_FENCE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.spaceFenceId)}))}onEditingStateUpdate(e){Gc.registerCommandListener(Ji.SPACE_FENCE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Gc.registerCommandListener(Ji.SPACE_FENCE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}onGroupColorUpdate(e){Gc.registerCommandListener(Ji.SPACE_FENCE_GROUP_COLOR_UPDATE,(t=>{e(t.data.groupId,t.data.cubeFaceColor)}))}}class gc{onMonitorListUpdate(e){Gc.registerCommandListener(Ji.MONITOR_LIST_UPDATE,(t=>{e(t.data)}))}}class Ac{onMessageCardPreview(e){Gc.registerCommandListener(Ji.MESSAGE_CARD_PREVIEW,(t=>{e(t.data)}))}}class Cc{onCaptureDestination(e){Gc.registerCommandListener(Ji.DOLLY_PATH_CAPTURE_DESTINATION,(t=>{e()}))}onPreview(e){Gc.registerCommandListener(Ji.DOLLY_PATH_PREVIEW,(t=>{e(t.data)}))}onStopPreview(e){Gc.registerCommandListener(Ji.DOLLY_PATH_STOP_PREVIEW,(t=>{e()}))}}class uc{onHamburgerMenuUpdate(e){Gc.registerCommandListener(Ji.HAMBURGER_MENU_UPDATE,(t=>{e(t.data)}))}}class Oc{type="";data={};constructor(e,t){this.type=e,this.data=t}}class Sc{static PLAYER_READY="vrtalk_msg_player_ready";static PLAYER_STATUS_UPDATE="vrtalk_msg_player_status_update";static COMPONENT_UPDATE="vrtalk_msg_component_update";static COMPONENT_ON_CLICK="vrtalk_msg_component_on_click";static COMPONENT_TRANSITION_ANIMATION_FINISHED="vrtalk_msg_component_transition_animation_finished";static FOV_SHOT_RESULT="vrtalk_msg_fov_shot_result";static TRIMMER_UPDATE="vrtalk_msg_trimmer_update";static TRIMMER_ON_CLICK="vrtalk_msg_trimmer_on_click";static STICKER_UPDATE="vrtalk_msg_sticker_update";static STICKER_ON_CLICK="vrtalk_msg_sticker_on_click";static TARGET_UPDATE="vrtalk_msg_target_update";static TARGET_ON_CLICK="vrtalk_msg_target_on_click";static OBSTACLE_UPDATE="vrtalk_msg_obstacle_update";static OBSTACLE_ON_CLICK="vrtalk_msg_obstacle_on_click";static SPACE_FENCE_UPDATE="vrtalk_msg_space_fence_update";static SPACE_FENCE_ON_CLICK="vrtalk_msg_space_fence_on_click";static WORMHOLE_UPDATE="vrtalk_msg_wormhole_update";static WORMHOLE_ON_CLICK="vrtalk_msg_wormhole_on_click";static ASSET_LABEL_UPDATE="vrtalk_msg_asset_label_update";static ASSET_LABEL_ON_CLICK="vrtalk_msg_asset_label_on_click";static SWEEP_IMPORT_FROM_MATTERPORT="vrtalk_msg_sweep_import_from_matterport";static SWEEP_SYNC_MATTERPORT_ENABLED_STATE="vrtalk_msg_sweep_sync_matterport_enabled_state";static SWEEP_REQUEST_MODIFY_ENABLED="vrtalk_msg_sweep_request_modify_enabled";static FLOOR_IMPORT_FROM_MATTERPORT="vrtalk_msg_floor_import_from_matterport";static FLOOR_ENTER="vrtalk_msg_floor_enter";static FLOOR_LEAVE="vrtalk_msg_floor_leave";static CAMERA_POSE_UPDATE="vrtalk_msg_camera_pose_update";static CAMERA_DEEPLINK_PARAMS_READY="vrtalk_msg_camera_deeplink_params_ready";static RENDERER_SCREENSHOT_READY="vrtalk_msg_renderer_screenshot_ready";static RENDERER_PANORAMA_IMAGE_READY="vrtalk_msg_renderer_panorama_image_ready";static RENDERER_WORLD_SIZE_READY="vrtalk_msg_renderer_world_size_ready";static DOLLY_PATH_DESTINATION_CAPTURED="vrtalk_msg_dolly_path_destination_captured";static NAVIGATION_RESULT_READY="vrtalk_msg_navigation_result_ready";static NAVIGATION_START="vrtalk_msg_navigation_start";static NAVIGATION_END="vrtalk_msg_navigation_end";static NAVIGATION_CANCEL="vrtalk_msg_navigation_cancel"}class Ic{sendCameraPoseUpdate(e){window.parent.postMessage(new Oc(Sc.CAMERA_POSE_UPDATE,e),"*")}sendDeeplinkParamsReady(e){window.parent.postMessage(new Oc(Sc.CAMERA_DEEPLINK_PARAMS_READY,e),"*")}}class Lc{sendUpdate(e,t="default"){window.parent.postMessage(new Oc(Sc.COMPONENT_UPDATE,{componentData:JSON.parse(JSON.stringify(e)),source:t}),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.COMPONENT_ON_CLICK,e),"*")}sendTransitionAnimationFinished(e,t){window.parent.postMessage(new Oc(Sc.COMPONENT_TRANSITION_ANIMATION_FINISHED,{componentId:e,animationId:t}),"*")}}class yc{sendShotResult(e){window.parent.postMessage(new Oc(Sc.FOV_SHOT_RESULT,JSON.parse(JSON.stringify(e))),"*")}}class Nc{sendImportFromMatterport(e){window.parent.postMessage(new Oc(Sc.FLOOR_IMPORT_FROM_MATTERPORT,e),"*")}sendEnter(e){window.parent.postMessage(new Oc(Sc.FLOOR_ENTER,e),"*")}sendLeave(e){window.parent.postMessage(new Oc(Sc.FLOOR_LEAVE,e),"*")}}class Rc{sendReady(){window.parent.postMessage(new Oc(Sc.PLAYER_READY,{}),"*")}sendStatusUpdate(e){window.parent.postMessage(new Oc(Sc.PLAYER_STATUS_UPDATE,e),"*")}}class Pc{sendImportFromMatterport(e){window.parent.postMessage(new Oc(Sc.SWEEP_IMPORT_FROM_MATTERPORT,e),"*")}sendSyncMatterportEnabledState(e){window.parent.postMessage(new Oc(Sc.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,e),"*")}sendRequestModifyEnabled(e,t){window.parent.postMessage(new Oc(Sc.SWEEP_REQUEST_MODIFY_ENABLED,{sweepId:e,enabled:t}),"*")}}class Mc{sendScreenshotReady(e){window.parent.postMessage(new Oc(Sc.RENDERER_SCREENSHOT_READY,e),"*")}sendPanoramaImageReady(e){window.parent.postMessage(new Oc(Sc.RENDERER_PANORAMA_IMAGE_READY,e),"*")}sendWorldSizeReady(e){window.parent.postMessage(new Oc(Sc.RENDERER_WORLD_SIZE_READY,JSON.parse(JSON.stringify(e))),"*")}}class bc{sendNavigationResultReady(e){window.parent.postMessage(new Oc(Sc.NAVIGATION_RESULT_READY,JSON.parse(JSON.stringify(e))),"*")}sendNavigationStart(e){window.parent.postMessage(new Oc(Sc.NAVIGATION_START,JSON.parse(JSON.stringify(e))),"*")}sendNavigationEnd(e){window.parent.postMessage(new Oc(Sc.NAVIGATION_END,JSON.parse(JSON.stringify(e))),"*")}sendNavigationCancel(e){window.parent.postMessage(new Oc(Sc.NAVIGATION_CANCEL,JSON.parse(JSON.stringify(e))),"*")}}class hc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.OBSTACLE_ON_CLICK,e),"*")}}class Dc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.TRIMMER_ON_CLICK,e),"*")}}class fc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.STICKER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.STICKER_ON_CLICK,e),"*")}}class wc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.ASSET_LABEL_ON_CLICK,e),"*")}}class vc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.TARGET_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.TARGET_ON_CLICK,e),"*")}}class Vc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.WORMHOLE_ON_CLICK,e),"*")}}class kc{sendUpdate(e){window.parent.postMessage(new Oc(Sc.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Oc(Sc.SPACE_FENCE_ON_CLICK,e),"*")}}class Uc{sendDestinationCaptured(e){window.parent.postMessage(new Oc(Sc.DOLLY_PATH_DESTINATION_CAPTURED,JSON.parse(JSON.stringify(e))),"*")}}class Bc{onUpdateAll(e){Gc.registerCommandListener(Ji.SWEEP_UPDATE_ALL,(t=>{e(t.data)}))}onUpdate(e){Gc.registerCommandListener(Ji.SWEEP_UPDATE,(t=>{e(t.data)}))}onDeleteVirtual(e){Gc.registerCommandListener(Ji.SWEEP_DELETE_VIRTUAL,(t=>{e(t.data)}))}onUpdateRenderFlagVisible(e){Gc.registerCommandListener(Ji.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,(t=>{e(t.data)}))}}class Gc{static commandListenerPool=new Map;static commandPlayer=new qi;static commandCover=new zi;static commandUi=new ji;static commandInfoTemplate=new $i;static commandInformation=new Qi;static commandComponent=new Zi;static commandFov=new ec;static commandLayer=new tc;static commandLight=new ac;static commandTrimmer=new sc;static commandSticker=new nc;static commandSweep=new Bc;static commandFloor=new rc;static commandCamera=new oc;static commandRenderer=new ic;static commandMarker=new cc;static commandNavigation=new lc;static commandObstacle=new dc;static commandAudio=new _c;static commandAssetLabel=new mc;static commandTarget=new Ec;static commandWormhole=new pc;static commandSpaceFence=new Tc;static commandMonitor=new gc;static commandMessageCard=new Ac;static commandDollyPath=new Cc;static commandHamburgerMenu=new uc;static messageCamera=new Ic;static messageComponent=new Lc;static messageFov=new yc;static messageFloor=new Nc;static messagePlayer=new Rc;static messageSweep=new Pc;static messageRenderer=new Mc;static messageNavigation=new bc;static messageObstacle=new hc;static messageTrimmer=new Dc;static messageSticker=new fc;static messageAssetLabel=new wc;static messageTarget=new vc;static messageWormhole=new Vc;static messageSpaceFence=new kc;static messageDollyPath=new Uc;static registerCommandListener(e,t){Gc.commandListenerPool.has(e)||Gc.commandListenerPool.set(e,[]),Gc.commandListenerPool.get(e).push(t)}static unRegisterCommandListener(e,t){if(!Gc.commandListenerPool.has(e))return;const a=Gc.commandListenerPool.get(e).indexOf(t);a>=0&&Gc.commandListenerPool.get(e).splice(a,1)}static init(){window.addEventListener("message",(e=>{if(e.data.type&&0===e.data.type.indexOf("vrtalk_cmd_")){const t=e.data;Gc.commandListenerPool.has(t.type)&&Gc.commandListenerPool.get(t.type).forEach((e=>{e(t)}))}}))}}class xc{player;constructor(e){this.player=e}onReady(e){this.player.registerMessageListener(Sc.PLAYER_READY,(t=>{e()}))}onStatusUpdate(e){this.player.registerMessageListener(Sc.PLAYER_STATUS_UPDATE,(t=>{e(t.data)}))}}class Fc{player;constructor(e){this.player=e}sendStart(e,t){this.player.sendCommand(new Ki(Ji.PLAYER_START,JSON.parse(JSON.stringify({vrContentData:e,isForceIgnoreEnterBtn:t}))))}sendModeUpdate(e){this.player.sendCommand(new Ki(Ji.PLAYER_MODE_UPDATE,e))}sendXrPreparePreview(e){this.player.sendCommand(new Ki(Ji.PLAYER_XR_PREPARE_PREVIEW,e))}sendPrepareSettingsUpdate(e){this.player.sendCommand(new Ki(Ji.PLAYER_PREPARE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Hc{player;constructor(e){this.player=e}sendCoverSettingsUpdate(e){this.player.sendCommand(new Ki(Ji.COVER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Xc{player;constructor(e){this.player=e}sendUiSettingsUpdate(e){this.player.sendCommand(new Ki(Ji.UI_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Wc{player;constructor(e){this.player=e}sendInfoTemplateSettingsUpdate(e){this.player.sendCommand(new Ki(Ji.INFO_TEMPLATE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Yc{player;constructor(e){this.player=e}sendUpdateContentCard(e){this.player.sendCommand(new Ki(Ji.INFORMATION_CONTENT_CARD_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteContentCard(e){this.player.sendCommand(new Ki(Ji.INFORMATION_CONTENT_CARD_DELETE,e))}}class Kc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.COMPONENT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.COMPONENT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.COMPONENT_DELETE,e))}sendFollowMouse(e){this.player.sendCommand(new Ki(Ji.COMPONENT_FOLLOW_MOUSE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.COMPONENT_CONTROLLER_MODIFY,{componentId:t,controllerType:e}))}sendPlayTransitionAnimation(e,t){this.player.sendCommand(new Ki(Ji.COMPONENT_PLAY_TRANSITION_ANIMATION,{componentId:e,animationId:t}))}sendStopTransitionAnimation(e){this.player.sendCommand(new Ki(Ji.COMPONENT_STOP_TRANSITION_ANIMATION,{componentId:e}))}send3dModelPlayAnimationClip(e,t){this.player.sendCommand(new Ki(Ji.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,{modelComponentId:e,animationClipId:t}))}send3dModelStopAnimationClip(e){this.player.sendCommand(new Ki(Ji.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,{modelComponentId:e}))}send2dTextAutoFit(e){this.player.sendCommand(new Ki(Ji.COMPONENT_2D_TEXT_AUTO_FIT,e))}}class Jc{player;constructor(e){this.player=e}enterFovShotMode(e){this.player.sendCommand(new Ki(Ji.FOV_ENTER_SHOT_MODE,JSON.parse(JSON.stringify(e))))}exitFovShotMode(){this.player.sendCommand(new Ki(Ji.FOV_EXIT_SHOT_MODE,{}))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.FOV_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.FOV_DELETE,e))}}class qc{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new Ki(Ji.LAYER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e,t){this.player.sendCommand(new Ki(Ji.LAYER_DELETE,{layerId:e,deleteComponents:t}))}sendVisible(e,t){this.player.sendCommand(new Ki(Ji.LAYER_VISIBLE,{layerId:e,visible:t}))}}class zc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.LIGHT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.LIGHT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.LIGHT_DELETE,e))}}class jc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.TRIMMER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.TRIMMER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.TRIMMER_CONTROLLER_MODIFY,{controllerType:e,trimmerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.TRIMMER_EDITING_STATE_UPDATE,e))}}class $c{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.STICKER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.STICKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.STICKER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.STICKER_CONTROLLER_MODIFY,{controllerType:e,stickerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.STICKER_EDITING_STATE_UPDATE,e))}}class Qc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.ASSET_LABEL_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.ASSET_LABEL_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.ASSET_LABEL_CONTROLLER_MODIFY,{controllerType:e,assetLabelId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.ASSET_LABEL_EDITING_STATE_UPDATE,e))}}class Zc{player;constructor(e){this.player=e}sendUpdateAll(e){this.player.sendCommand(new Ki(Ji.SWEEP_UPDATE_ALL,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.SWEEP_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteVirtual(e){this.player.sendCommand(new Ki(Ji.SWEEP_DELETE_VIRTUAL,e))}sendUpdateRenderFlagVisible(e){this.player.sendCommand(new Ki(Ji.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,e))}}class el{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new Ki(Ji.FLOOR_UPDATE,JSON.parse(JSON.stringify(e))))}}class tl{player;constructor(e){this.player=e}sendMoveTo(e,t){this.player.sendCommand(new Ki(Ji.CAMERA_MOVE_TO,JSON.parse(JSON.stringify({transition:e,cameraMode:t}))))}sendMoveToInside(e,t,a){this.player.sendCommand(new Ki(Ji.CAMERA_MOVE_TO_INSIDE,JSON.parse(JSON.stringify({transition:e,transitionTime:t,cameraPose:a}))))}sendMoveToVrFov(e,t,a){this.player.sendCommand(new Ki(Ji.CAMERA_MOVE_TO_VR_FOV,JSON.parse(JSON.stringify({transition:e,transitionTime:t,fovId:a}))))}sendMoveToNearComponent(e,t,a){this.player.sendCommand(new Ki(Ji.CAMERA_MOVE_TO_NEAR_COMPONENT,JSON.parse(JSON.stringify({transition:e,transitionTime:t,componentId:a}))))}sendMoveToWatchPosition(e,t,a){this.player.sendCommand(new Ki(Ji.CAMERA_MOVE_TO_WATCH_POSITION,JSON.parse(JSON.stringify({transition:e,transitionTime:t,position:a}))))}sendRequestDeeplinkParams(){this.player.sendCommand(new Ki(Ji.CAMERA_REQUEST_DEEPLINK_PARAMS,{}))}}class al{player;constructor(e){this.player=e}sendTakeScreenshot(e,t){this.player.sendCommand(new Ki(Ji.RENDERER_TAKE_SCREENSHOT,{resolution:e,visibility:t}))}sendGetPanoramaImage(){this.player.sendCommand(new Ki(Ji.RENDERER_GET_PANORAMA_IMAGE,{}))}sendSettingsUpdate(e){this.player.sendCommand(new Ki(Ji.RENDERER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}sendColorSpaceSettingsUpdate(e){this.player.sendCommand(new Ki(Ji.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class sl{player;constructor(e){this.player=e}sendMarkerUpdate(e){this.player.sendCommand(new Ki(Ji.MARKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendMarkerDelete(e){this.player.sendCommand(new Ki(Ji.MARKER_DELETE,e))}}class nl{player;constructor(e){this.player=e}sendNavigationRequest(e){this.player.sendCommand(new Ki(Ji.NAVIGATION_REQUEST,JSON.parse(JSON.stringify(e))))}sendNavigationStart(e){this.player.sendCommand(new Ki(Ji.NAVIGATION_START,JSON.parse(JSON.stringify(e))))}sendNavigationCancel(){this.player.sendCommand(new Ki(Ji.NAVIGATION_CANCEL,{}))}}class rl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.OBSTACLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.OBSTACLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.OBSTACLE_CONTROLLER_MODIFY,{controllerType:e,obstacleId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.OBSTACLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Ki(Ji.OBSTACLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class ol{player;constructor(e){this.player=e}sendAudioListUpdate(e){this.player.sendCommand(new Ki(Ji.AUDIO_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioListDelete(e){this.player.sendCommand(new Ki(Ji.AUDIO_LIST_DELETE,{audioListId:e}))}sendAudioUpdate(e){this.player.sendCommand(new Ki(Ji.AUDIO_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioDelete(e,t){this.player.sendCommand(new Ki(Ji.AUDIO_DELETE,{audioListId:e,audioId:t}))}sendAudioCenterPlayerShowPlayControlUpdate(e){this.player.sendCommand(new Ki(Ji.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerShowMuteControlUpdate(e){this.player.sendCommand(new Ki(Ji.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerVolumeUpdate(e){this.player.sendCommand(new Ki(Ji.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,{volume:e}))}}class il{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.TARGET_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.TARGET_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.TARGET_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.TARGET_CONTROLLER_MODIFY,{controllerType:e,targetId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.TARGET_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Ki(Ji.TARGET_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class cl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.WORMHOLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.WORMHOLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.WORMHOLE_CONTROLLER_MODIFY,{controllerType:e,wormholeId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.WORMHOLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Ki(Ji.WORMHOLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class ll{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_CONTROLLER_MODIFY,{controllerType:e,spaceFenceId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}sendGroupColorUpdate(e,t){this.player.sendCommand(new Ki(Ji.SPACE_FENCE_GROUP_COLOR_UPDATE,{groupId:e,cubeFaceColor:JSON.parse(JSON.stringify(t))}))}}class dl{player;constructor(e){this.player=e}sendMonitorListUpdate(e){this.player.sendCommand(new Ki(Ji.MONITOR_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}}class _l{player;constructor(e){this.player=e}sendPreview(e,t){this.player.sendCommand(new Ki(Ji.MESSAGE_CARD_PREVIEW,{card:e?JSON.parse(JSON.stringify(e)):null,show:t}))}}class ml{player;constructor(e){this.player=e}captureDestination(){this.player.sendCommand(new Ki(Ji.DOLLY_PATH_CAPTURE_DESTINATION,{}))}preview(e){this.player.sendCommand(new Ki(Ji.DOLLY_PATH_PREVIEW,JSON.parse(JSON.stringify(e))))}stopPreview(){this.player.sendCommand(new Ki(Ji.DOLLY_PATH_STOP_PREVIEW,{}))}}class El{player;constructor(e){this.player=e}sendHamburgerMenuUpdate(e){this.player.sendCommand(new Ki(Ji.HAMBURGER_MENU_UPDATE,JSON.parse(JSON.stringify(e))))}}class pl{player;constructor(e){this.player=e}onCameraPoseUpdate(e){this.player.registerMessageListener(Sc.CAMERA_POSE_UPDATE,(t=>{e(t.data)}))}onDeeplinkParamsReady(e){this.player.registerMessageListener(Sc.CAMERA_DEEPLINK_PARAMS_READY,(t=>{e(t.data)}))}}class Tl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.COMPONENT_UPDATE,(t=>{const a=t.data;a&&"object"==typeof a&&"componentData"in a&&a.componentData?e(a.componentData,a.source??"default"):e(a,"default")}))}onClick(e){this.player.registerMessageListener(Sc.COMPONENT_ON_CLICK,(t=>{e(t.data)}))}onTransitionAnimationFinished(e){this.player.registerMessageListener(Sc.COMPONENT_TRANSITION_ANIMATION_FINISHED,(t=>{e(t.data.componentId,t.data.animationId)}))}}class gl{player;constructor(e){this.player=e}onShotResult(e){this.player.registerMessageListener(Sc.FOV_SHOT_RESULT,(t=>{e(t.data)}))}}class Al{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(Sc.FLOOR_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onEnterFloor(e){this.player.registerMessageListener(Sc.FLOOR_ENTER,(t=>{e(t.data)}))}onLeaveFloor(e){this.player.registerMessageListener(Sc.FLOOR_LEAVE,(t=>{e(t.data)}))}}class Cl{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(Sc.SWEEP_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onSyncMatterportEnabledState(e){this.player.registerMessageListener(Sc.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,(t=>{e(t.data)}))}onRequestModifyEnabled(e){this.player.registerMessageListener(Sc.SWEEP_REQUEST_MODIFY_ENABLED,(t=>{e(t.data.sweepId,t.data.enabled)}))}}class ul{player;constructor(e){this.player=e}onScreenshotReady(e){this.player.registerMessageListener(Sc.RENDERER_SCREENSHOT_READY,(t=>{e(t.data)}))}onPanoramaImageReady(e){this.player.registerMessageListener(Sc.RENDERER_PANORAMA_IMAGE_READY,(t=>{e(t.data)}))}onWorldSizeReady(e){this.player.registerMessageListener(Sc.RENDERER_WORLD_SIZE_READY,(t=>{e(t.data)}))}}class Ol{player;constructor(e){this.player=e}onNavigationResultReady(e){this.player.registerMessageListener(Sc.NAVIGATION_RESULT_READY,(t=>{e(t.data)}))}onNavigationStart(e){this.player.registerMessageListener(Sc.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationEnd(e){this.player.registerMessageListener(Sc.NAVIGATION_END,(t=>{e(t.data)}))}onNavigationCancel(e){this.player.registerMessageListener(Sc.NAVIGATION_CANCEL,(t=>{e(t.data)}))}}class Sl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.OBSTACLE_ON_CLICK,(t=>{e(t.data)}))}}class Il{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.TRIMMER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.TRIMMER_ON_CLICK,(t=>{e(t.data)}))}}class Ll{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.STICKER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.STICKER_ON_CLICK,(t=>{e(t.data)}))}}class yl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.ASSET_LABEL_ON_CLICK,(t=>{e(t.data)}))}}class Nl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.TARGET_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.TARGET_ON_CLICK,(t=>{e(t.data)}))}}class Rl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.WORMHOLE_ON_CLICK,(t=>{e(t.data)}))}}class Pl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Sc.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Sc.SPACE_FENCE_ON_CLICK,(t=>{e(t.data)}))}}class Ml{player;constructor(e){this.player=e}onDestinationCaptured(e){this.player.registerMessageListener(Sc.DOLLY_PATH_DESTINATION_CAPTURED,(t=>{e(t.data)}))}}class bl{serviceRegion;iframeElement=null;messageListenerPool=new Map;messageCamera;messageComponent;messageFov;messageFloor;messagePlayer;messageSweep;messageRenderer;messageNavigation;messageObstacle;messageTrimmer;messageSticker;messageAssetLabel;messageTarget;messageWormhole;messageSpaceFence;messageDollyPath;commandPlayer;commandCover;commandUi;commandInfoTemplate;commandInformation;commandComponent;commandFov;commandLayer;commandLight;commandTrimmer;commandSticker;commandAssetLabel;commandSweep;commandFloor;commandCamera;commandRenderer;commandMarker;commandNavigation;commandObstacle;commandAudio;commandTarget;commandWormhole;commandSpaceFence;commandMonitor;commandMessageCard;commandDollyPath;commandHamburgerMenu;constructor(e,t){this.serviceRegion=e,this.iframeElement=t,this.messageCamera=new pl(this),this.messageComponent=new Tl(this),this.messageFov=new gl(this),this.messageFloor=new Al(this),this.messagePlayer=new xc(this),this.messageSweep=new Cl(this),this.messageRenderer=new ul(this),this.messageNavigation=new Ol(this),this.messageObstacle=new Sl(this),this.messageTrimmer=new Il(this),this.messageSticker=new Ll(this),this.messageAssetLabel=new yl(this),this.messageTarget=new Nl(this),this.messageWormhole=new Rl(this),this.messageSpaceFence=new Pl(this),this.messageDollyPath=new Ml(this),this.commandPlayer=new Fc(this),this.commandCover=new Hc(this),this.commandUi=new Xc(this),this.commandInfoTemplate=new Wc(this),this.commandInformation=new Yc(this),this.commandComponent=new Kc(this),this.commandFov=new Jc(this),this.commandLayer=new qc(this),this.commandLight=new zc(this),this.commandTrimmer=new jc(this),this.commandSticker=new $c(this),this.commandAssetLabel=new Qc(this),this.commandSweep=new Zc(this),this.commandFloor=new el(this),this.commandCamera=new tl(this),this.commandRenderer=new al(this),this.commandMarker=new sl(this),this.commandNavigation=new nl(this),this.commandObstacle=new rl(this),this.commandAudio=new ol(this),this.commandTarget=new il(this),this.commandWormhole=new cl(this),this.commandSpaceFence=new ll(this),this.commandMonitor=new dl(this),this.commandMessageCard=new _l(this),this.commandDollyPath=new ml(this),this.commandHamburgerMenu=new El(this),this.iframeElement.addEventListener("load",(()=>{console.debug("[VRTalk Web SDK] player iframe loaded, add event listener"),window.addEventListener("message",(e=>{if(e.data.type&&0===e.data.type.indexOf("vrtalk_msg_")){const t=e.data;this.messageListenerPool.has(t.type)&&this.messageListenerPool.get(t.type).forEach((e=>{e(t)}))}}))}))}registerMessageListener(e,t){console.debug(`[VRTalk Web SDK]VRTalkEditablePlayer.registerMessageListener: ${e}`),this.messageListenerPool.get(e)||this.messageListenerPool.set(e,[]),this.messageListenerPool.get(e).push(t)}unRegisterMessageListener(e,t){if(console.debug(`[VRTalk Web SDK]VRTalkEditablePlayer.unRegisterMessageListener: ${e}`),!this.messageListenerPool.has(e))return;const a=this.messageListenerPool.get(e).indexOf(t);a>=0&&this.messageListenerPool.get(e).splice(a,1)}clearAllMessageListener(){console.debug("[VRTalk Web SDK] VRTalkEditablePlayer.clearAllMessageListener"),this.messageListenerPool.clear()}sendCommand(e){console.debug(`[VRTalk Web SDK]VRTalkEditablePlayer.sendCommand: ${e}`);const t=this.iframeElement?.contentWindow;t?t.postMessage(e,"*"):console.warn("[VRTalk Web SDK] sendCommand: player iframe 尚未就绪,命令被跳过",e)}play(){console.debug("[VRTalk Web SDK]VRTalkEditablePlayer.play"),this.iframeElement.src=this.serviceRegion+"/vr-editor"}}function hl(e){switch(e){case j.TYPE_2D_IMAGE:return yr.COMPONENT_2D_IMAGE;case j.TYPE_2D_VIDEO:return yr.COMPONENT_2D_VIDEO;case j.TYPE_2D_TEXT:return yr.COMPONENT_2D_TEXT;case j.TYPE_2D_PANEL:return yr.COMPONENT_2D_PANEL;case j.TYPE_2D_ADVERTISEMENT:return yr.COMPONENT_2D_ADVERTISEMENT;case j.TYPE_3D_BOX:return yr.COMPONENT_3D_BOX;case j.TYPE_3D_MODEL:return yr.COMPONENT_3D_MODEL;case j.TYPE_TAG:return yr.COMPONENT_TAG;default:return yr.COMPONENT_2D_IMAGE}}function Dl(e,t,a,s,n){if(Array.isArray(e)&&0!==e.length)for(const r of e)r.id&&s.has(r.id)||(r.createSourceId||(r.createSourceType=t,r.createSourceId=a),n.push(r),r.id&&s.add(r.id))}function fl(e){if(!e)return;Array.isArray(e.triggerList)||(e.triggerList=[]);const t=new Set;for(const a of e.triggerList)a.id&&t.add(a.id);const a=[];if(Array.isArray(e.componentList))for(const s of e.componentList){const e=hl(s.type),n=s;if(Dl(n.triggerList,e,s.id,t,a),n.triggerList=[],s.type===j.TYPE_2D_IMAGE){const e=s;if(Array.isArray(e.sourceList))for(const n of e.sourceList){const e=n;Dl(e.triggerList,yr.COMPONENT_2D_IMAGE,s.id,t,a),e.triggerList=[]}}else if(s.type===j.TYPE_2D_VIDEO){const e=s;if(Array.isArray(e.sourceList))for(const n of e.sourceList){const e=n;Dl(e.triggerList,yr.COMPONENT_2D_VIDEO,s.id,t,a),e.triggerList=[]}}else if(s.type===j.TYPE_2D_PANEL){const e=s;if(Array.isArray(e.sceneDataList))for(const n of e.sceneDataList){const e=n;Dl(e.triggerList,yr.COMPONENT_2D_PANEL,s.id,t,a),e.triggerList=[]}}}if(Array.isArray(e.sweepList))for(const s of e.sweepList){const e=s;Dl(e.triggerList,"sweep",s.id,t,a),e.triggerList=[]}if(Array.isArray(e.vrFloorList))for(const s of e.vrFloorList){const e=s;Dl(e.triggerList,"floor",s.id,t,a),e.triggerList=[]}if(Array.isArray(e.xrVirtualFloorList))for(const s of e.xrVirtualFloorList){const e=s;Dl(e.triggerList,"xr_virtual_floor",s.id,t,a),e.triggerList=[]}if(Array.isArray(e.variableList))for(const s of e.variableList){const e=s;Dl(e.triggerList,yr.LOGIC_VARIABLE,s.key,t,a),e.triggerList=[]}const s=e;if(Array.isArray(s.variableExpressionWatcherList)){for(const e of s.variableExpressionWatcherList){const s=e;Dl(s.triggerList,yr.LOGIC_CONDITION_WATCHER,e.id,t,a),s.triggerList=[]}Array.isArray(s.conditionWatcherList)&&0!==s.conditionWatcherList.length||(s.conditionWatcherList=s.variableExpressionWatcherList),delete s.variableExpressionWatcherList}if(Array.isArray(e.conditionWatcherList))for(const s of e.conditionWatcherList){const e=s;Dl(e.triggerList,yr.LOGIC_CONDITION_WATCHER,s.id,t,a),e.triggerList=[]}if(Array.isArray(e.spaceFenceList))for(const s of e.spaceFenceList){const e=s;Dl(e.triggerList,yr.SPACE_FENCE,s.id,t,a),e.triggerList=[]}if(Array.isArray(e.spaceFenceGroupList))for(const s of e.spaceFenceGroupList){const e=s;Dl(e.triggerList,yr.SPACE_FENCE_GROUP,s.id,t,a),e.triggerList=[]}a.length>0&&e.triggerList.push(...a)}function wl(e,t){const a=new ao;return a.key=e,a.placement=t,a}function vl(e){return e.map((e=>wl(e.key,e.placement)))}const Vl=["left","right","capsule","more","hidden"];function kl(e,t){return Vl.includes(e.placement)?wl(e.key,e.placement):wl(e.key,Eo(e.key,t))}function Ul(e){return wl(e.key,"hidden"===e.placement?"hidden":"surface")}function Bl(e){return e.vrMainBarItems&&e.vrMainBarItems.length>0?e.vrMainBarItems.map((e=>kl(e,no))):no.map((t=>wl(t.key,function(e,t){return!1==={fov:t.enabledFovBtn,d3:t.enabledD3ModeBtn,floorplan:t.enabledFloorPlanModeBtn,floor:t.enabledFloorSelectBtn,flow:t.enabledFlowBtn,measure:t.enabledMeasurementBtn,share:t.enabledShare,account:t.enabledStaffLogin||t.enabledGuestLogin}[e]?"hidden":Eo(e,no)}(t.key,e))))}function Gl(e){return e.vrInfoBarItems&&e.vrInfoBarItems.length>0?e.vrInfoBarItems.map(Ul):ro.map((t=>wl(t.key,function(e,t){switch(e){case"minimap":return t.enabledMinimap?"surface":"hidden";case"fullscreen":return t.enabledFullScreen?"surface":"hidden";case"hamburger":return t.enabledHamburgerMenu?"surface":"hidden";case"audio":return"hidden";default:return"surface"}}(t.key,e))))}function xl(e){return e.arBottomItems&&e.arBottomItems.length>0?e.arBottomItems.map((e=>kl(e,oo))):vl(oo)}function Fl(e){return e.arInfoItems&&e.arInfoItems.length>0?e.arInfoItems.map(Ul):vl(io)}function Hl(e){e.vrMainBarItems&&0!==e.vrMainBarItems.length||(e.vrMainBarItems=Bl(e)),e.vrInfoBarItems&&0!==e.vrInfoBarItems.length||(e.vrInfoBarItems=Gl(e)),e.arBottomItems&&0!==e.arBottomItems.length||(e.arBottomItems=xl(e)),e.arInfoItems&&0!==e.arInfoItems.length||(e.arInfoItems=Fl(e))}function Xl(e){if(!e)return;let t=e.vrPlayerUiSettings;t||(t=new ws,e.vrPlayerUiSettings=t),void 0===t.enabledMinimap&&["enabledFovBtn","enabledD3ModeBtn","enabledFloorPlanModeBtn","enabledFloorSelectBtn","enabledMinimap","enabledMeasurementBtn","enabledShare","enabledFullScreen"].forEach((e=>{t[e]=!0})),void 0===t.enabledFlowBtn&&(t.enabledFlowBtn=!1),void 0===t.enabledStaffLogin&&(t.enabledStaffLogin=!0),void 0===t.enabledGuestLogin&&(t.enabledGuestLogin=!0),void 0===t.enabledHamburgerMenu&&(t.enabledHamburgerMenu=!0),void 0===t.vrDefaultGlobalMute&&(t.vrDefaultGlobalMute=!1),void 0===t.arDefaultGlobalMute&&(t.arDefaultGlobalMute=!1),t.playerAppearance||(t.playerAppearance=new H),Hl(t)}function Wl(e){e&&(function(e,t){const a=e,s=e=>{if(Array.isArray(e))for(const a of e)t(a)};if(s(e.variableList),Array.isArray(e.abilityList))for(const t of e.abilityList){const e=t;if(s(e.contextVariableList),s(e.activeActionListLocalVariableList),s(e.stopActionListLocalVariableList),Array.isArray(e.triggerList))for(const t of e.triggerList)s(t.localVariableList)}if(Array.isArray(a.vrFlowList))for(const e of a.vrFlowList){const t=e;if(s(t.flowScopeVariableList),Array.isArray(t.stepList))for(const e of t.stepList){const t=e;if(s(t.stepScopeVariableList),Array.isArray(t.triggerList))for(const e of t.triggerList){const t=e?.trigger;t&&s(t.localVariableList)}if(Array.isArray(t.finishInjectTriggerList))for(const e of t.finishInjectTriggerList)s(e.localVariableList);if(Array.isArray(t.buttonList))for(const e of t.buttonList)s(e.localVariableList)}}if(Array.isArray(e.triggerList))for(const t of e.triggerList)s(t.localVariableList);if(Array.isArray(e.backgroundThreadList))for(const t of e.backgroundThreadList)s(t.localVariableList);const n=e.prepareSettings;if(n&&(s(n.vrInitLocalVariableList),s(n.arInitLocalVariableList),s(n.allInitLocalVariableList)),Array.isArray(e.componentList))for(const t of e.componentList){const e=t;if(s(e.localVariableList),Array.isArray(e.triggerList))for(const t of e.triggerList)s(t.localVariableList)}if(Array.isArray(e.messageCardList))for(const t of e.messageCardList){const e=t;if(Array.isArray(e.buttonList))for(const t of e.buttonList)s(t.localVariableList)}}(e,Yl),function(e){if(Array.isArray(e.componentList))for(const t of e.componentList){if(t.type!==j.TYPE_2D_PANEL)continue;const e=t;if(Array.isArray(e.sceneDataList))for(const t of e.sceneDataList){const e=t;"enum-modifier"===e.mode&&(e.mode="variable-modifier");const a=e.enumModifierModeSettings;if(a&&a.variableKey&&(e.variableModifierModeSettings||(e.variableModifierModeSettings={}),e.variableModifierModeSettings.variableKey||(e.variableModifierModeSettings.variableKey=a.variableKey),e.variableModifierModeSettings.variableType||(e.variableModifierModeSettings.variableType="string"),e.enumModifierModeSettings=void 0),Array.isArray(t.buttonDataList))for(const e of t.buttonDataList){const t=e,a=t.enumOptionValue;if(void 0!==a&&""!==a){if(void 0!==t.optionValue&&""!==t.optionValue&&null!==t.optionValue||(t.optionValue=a),!t.optionLabel||!t.optionLabel.original_content){const e=new A;e.original_content=String(a),e.only_use_original_content=!0,t.optionLabel=e}t.enumOptionValue=void 0}}}}}(e),function(e){const t=e=>{if(e){if(e.actionType&&(e=>{if(e&&"logic_random_pick_enum"===e.actionType){e.actionType="logic_random_pick_from_recommend_options";const t=e.params||{};e.params={target:t.target??{scope:"global",key:""}}}})(e),Array.isArray(e.ifActionList))for(const a of e.ifActionList)t(a);if(Array.isArray(e.elseActionList))for(const a of e.elseActionList)t(a);if(Array.isArray(e.actionList))for(const a of e.actionList)t(a)}},a=e=>{if(Array.isArray(e))for(const a of e)t(a)};if(Array.isArray(e.triggerList))for(const t of e.triggerList)a(t.actionList);if(Array.isArray(e.componentList))for(const t of e.componentList)if(Array.isArray(t.triggerList))for(const e of t.triggerList)a(e.actionList);if(Array.isArray(e.abilityList))for(const t of e.abilityList){const e=t;if(a(e.activeActionList),a(e.stopActionList),Array.isArray(e.triggerList))for(const t of e.triggerList)a(t.actionList)}if(Array.isArray(e.vrFlowList))for(const t of e.vrFlowList){const e=t;if(Array.isArray(e.stepList))for(const t of e.stepList){const e=t;if(a(e.enterActionList),Array.isArray(e.arriveActionList))for(const t of e.arriveActionList)a(t.actionList);if(Array.isArray(e.triggerList))for(const t of e.triggerList){const e=t?.trigger;e&&a(e.actionList)}if(Array.isArray(e.finishInjectTriggerList))for(const t of e.finishInjectTriggerList)a(t.actionList);if(Array.isArray(e.buttonList))for(const t of e.buttonList)a(t.clickActionList)}}if(Array.isArray(e.backgroundThreadList))for(const t of e.backgroundThreadList)a(t.actionList);const s=e.prepareSettings;if(s&&(a(s.vrInitCompleteActionList),a(s.arInitCompleteActionList),a(s.allInitCompleteActionList)),Array.isArray(e.messageCardList))for(const t of e.messageCardList)if(Array.isArray(t.buttonList))for(const e of t.buttonList)a(e.clickActionList);if(Array.isArray(e.monitorList))for(const t of e.monitorList)if(Array.isArray(t.componentList))for(const e of t.componentList)a(e.clickActionList)}(e))}function Yl(e){if(!e)return;const t=e;if("enum"!==e.type)return;e.type="string";const a=(Array.isArray(t.enumOptions)?t.enumOptions:[]).map((e=>{const t=new me;t.value=e;const a=new A;return a.original_content=e,a.only_use_original_content=!0,t.label=a,t}));Array.isArray(e.stringRecommendOptions)&&0!==e.stringRecommendOptions.length||(e.stringRecommendOptions=a),e.stringDefaultValue||(e.stringDefaultValue=t.enumDefaultValue??""),t.enumOptions=void 0,t.enumDefaultValue=void 0}const Kl="expression";function Jl(e){return e?.root?ql(e.root):""}function ql(e){const t=(e.children||[]).filter((e=>!!e));if(0===t.length)return"";const a=t.map((e=>{if(e.kind===Ze.GROUP){const t=ql(e);return""===t?"false":`(${t})`}return function(e){if(e.funcName===Kl){const t=(e.args||[])[0],a=t&&null!=t.literalValue?String(t.literalValue).trim():"",s=a?`(${a})`:"false";return e.negate?`!(${s})`:s}const t=(e.args||[]).map(zl).join(", "),a=`${e.funcName}(${t})`;return e.negate?`!(${a})`:a}(e)})),s="or"===e.logicalOp?" || ":" && ",n=1===a.length?a[0]:a.join(s);return e.negate?`!(${n})`:n}function zl(e){if(e.argKind===et.VAR_REF){const t=e.variableScope||"global",a=e.variableKey||"";return a?"global"===t?`$${a}`:`_${t}.$${a}`:"undefined"}if(e.argKind===et.ARRAY_LITERAL)return`[${(e.arrayItems||[]).map(jl).join(", ")}]`;const t=e.literalType,a=e.literalValue;return"number"===t?Ql("number"==typeof a?a:Number(a)||0):"boolean"===t?a?"true":"false":$l("string"==typeof a?a:String(a??""))}function jl(e){return"number"===e.type?Ql("number"==typeof e.value?e.value:Number(e.value)||0):"boolean"===e.type?e.value?"true":"false":$l("string"==typeof e.value?e.value:String(e.value??""))}function $l(e){return JSON.stringify(e)}function Ql(e){return Number.isFinite(e)?String(e):"0"}function Zl(e,t){const a={deps:[],hasCustomJs:!1};return e?.root?(ed(e.root,t,a),a):a}function ed(e,t,a){for(const s of e.children||[])s&&(s.kind===Ze.GROUP?ed(s,t,a):td(s,t,a))}function td(e,t,a){if(e.funcName===Kl)return void(a.hasCustomJs=!0);for(const t of e.args||[])t&&t.argKind===et.VAR_REF&&t.variableKey&&a.deps.push({sourceType:"variable",sourceId:String(t.variableKey)});const s=t[e.funcName];if(!s||"none"===s.kind)return;if("no-id"===s.kind)return void a.deps.push({sourceType:s.sourceType,sourceId:"*"});const n=(e.args||[])[s.argIndex];let r="*";n&&n.argKind===et.LITERAL&&null!=n.literalValue&&(r=String(n.literalValue)),a.deps.push({sourceType:s.sourceType,sourceId:r})}function ad(e){const t=Math.min(100,Math.max(0,e.percent)),a="horizontal"===e.direction,s={transition:a?"width 0.3s ease":"height 0.3s ease"};a?(s.width=t+"%",s.height="100%"):(s.width="100%",s.height=t+"%",s.position="absolute",s.bottom="0",s.left="0");const n=e.color,r=e.colorEnd&&""!==e.colorEnd?e.colorEnd:e.color,o=a?"90deg":"0deg";switch(e.style){case"gradient":s.background=`linear-gradient(${o}, ${n}, ${r})`;break;case"striped":s.background=`linear-gradient(45deg,\n rgba(255,255,255,0.18) 25%, transparent 25%,\n transparent 50%, rgba(255,255,255,0.18) 50%,\n rgba(255,255,255,0.18) 75%, transparent 75%, transparent) ,\n ${n}`,s.backgroundSize="14px 14px, auto";break;case"striped-animated":s.background=`linear-gradient(45deg,\n rgba(255,255,255,0.22) 25%, transparent 25%,\n transparent 50%, rgba(255,255,255,0.22) 50%,\n rgba(255,255,255,0.22) 75%, transparent 75%, transparent) ,\n ${n}`,s.backgroundSize="14px 14px, auto",s.animation="vrtalk-progress-stripes 0.8s linear infinite";break;case"glow":s.background=`linear-gradient(180deg,\n rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.0) 50%) ,\n ${n}`,s.boxShadow=`0 0 6px ${n}66 inset, 0 0 4px ${n}88`;break;default:s.background=n}return s}const sd="\n@keyframes vrtalk-progress-stripes {\n from { background-position: 0 0, 0 0; }\n to { background-position: 28px 0, 0 0; }\n}\n";return t})()));
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var n in a)("object"==typeof exports?exports:e)[n]=a[n]}}(this,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AR_BOTTOM_ICON_KEYS:()=>go,AR_INFO_BAR_DEFAULT:()=>Eo,AR_INFO_ICON_KEYS:()=>Ao,AR_MAIN_BAR_DEFAULT:()=>mo,ArCommonSettings:()=>Tr,ArMultisetSettings:()=>pr,ArPositionXSettings:()=>Nr,ChromaKeySettings:()=>_,Color:()=>d,ColorBuilder:()=>c,ColorParser:()=>l,Component2dFaceToCameraModeDefine:()=>te,EXPRESSION_FUNC_NAME:()=>Ql,EaseAnimationFunctionDefine:()=>m,EaseAnimationSettings:()=>E,FreeButton:()=>C,GotoPositionMethodDefine:()=>u,HoverBorderSettings:()=>O,LanguageTypeDefine:()=>g,LogicCurrentTimeOutputTypeDefine:()=>ln,LogicRandomColorPaletteDefine:()=>on,MediaLoopModeDefine:()=>N,MonitorPopupChangeTypeDefine:()=>Ca,MonitorVideoMuteChangeTypeDefine:()=>ma,MonitorVideoPlayChangeTypeDefine:()=>_a,MultiLanguageStr:()=>A,PROGRESS_BAR_KEYFRAMES_CSS:()=>ld,ParentComCommandAssetLabel:()=>nl,ParentComCommandAudio:()=>_l,ParentComCommandCamera:()=>ol,ParentComCommandComponent:()=>$c,ParentComCommandCover:()=>Jc,ParentComCommandDollyPath:()=>Al,ParentComCommandFloor:()=>rl,ParentComCommandFov:()=>Qc,ParentComCommandHamburgerMenu:()=>Cl,ParentComCommandInfoTemplate:()=>qc,ParentComCommandInformation:()=>jc,ParentComCommandLayer:()=>Zc,ParentComCommandLight:()=>el,ParentComCommandMarker:()=>cl,ParentComCommandMessageCard:()=>gl,ParentComCommandMonitor:()=>Tl,ParentComCommandNavigation:()=>ll,ParentComCommandObstacle:()=>dl,ParentComCommandPlayer:()=>Kc,ParentComCommandRenderer:()=>il,ParentComCommandSpaceFence:()=>pl,ParentComCommandSticker:()=>al,ParentComCommandSweep:()=>sl,ParentComCommandTarget:()=>ml,ParentComCommandTrimmer:()=>tl,ParentComCommandUi:()=>zc,ParentComCommandWormhole:()=>El,ParentComMessageAssetLabel:()=>bl,ParentComMessageCamera:()=>ul,ParentComMessageComponent:()=>Ol,ParentComMessageDollyPath:()=>wl,ParentComMessageFloor:()=>Il,ParentComMessageFov:()=>Sl,ParentComMessageNavigation:()=>Rl,ParentComMessageObstacle:()=>yl,ParentComMessagePlayer:()=>Yc,ParentComMessageRenderer:()=>Nl,ParentComMessageSpaceFence:()=>fl,ParentComMessageSticker:()=>Ml,ParentComMessageSweep:()=>Ll,ParentComMessageTarget:()=>hl,ParentComMessageTrimmer:()=>Pl,ParentComMessageWormhole:()=>Dl,PlayerComCommand:()=>$i,PlayerComCommandAssetLabel:()=>Ac,PlayerComCommandAudio:()=>gc,PlayerComCommandCamera:()=>_c,PlayerComCommandComponent:()=>sc,PlayerComCommandCover:()=>ec,PlayerComCommandDollyPath:()=>Lc,PlayerComCommandFloor:()=>dc,PlayerComCommandFov:()=>rc,PlayerComCommandHamburgerMenu:()=>Nc,PlayerComCommandInfoTemplate:()=>ac,PlayerComCommandInformation:()=>nc,PlayerComCommandLayer:()=>oc,PlayerComCommandLight:()=>ic,PlayerComCommandMarker:()=>Ec,PlayerComCommandMessageCard:()=>Ic,PlayerComCommandMonitor:()=>Sc,PlayerComCommandNavigation:()=>pc,PlayerComCommandObstacle:()=>Tc,PlayerComCommandPlayer:()=>Zi,PlayerComCommandRenderer:()=>mc,PlayerComCommandSpaceFence:()=>Oc,PlayerComCommandSticker:()=>lc,PlayerComCommandSweep:()=>Xc,PlayerComCommandTarget:()=>Cc,PlayerComCommandTrimmer:()=>cc,PlayerComCommandTypeDefine:()=>Qi,PlayerComCommandUi:()=>tc,PlayerComCommandWormhole:()=>uc,PlayerComMessage:()=>Rc,PlayerComMessageAssetLabel:()=>Bc,PlayerComMessageCamera:()=>Pc,PlayerComMessageComponent:()=>Mc,PlayerComMessageDollyPath:()=>Hc,PlayerComMessageFloor:()=>hc,PlayerComMessageFov:()=>bc,PlayerComMessageNavigation:()=>vc,PlayerComMessageObstacle:()=>Vc,PlayerComMessagePlayer:()=>Dc,PlayerComMessageRenderer:()=>wc,PlayerComMessageSpaceFence:()=>Fc,PlayerComMessageSticker:()=>kc,PlayerComMessageSweep:()=>fc,PlayerComMessageTarget:()=>Gc,PlayerComMessageTrimmer:()=>Uc,PlayerComMessageTypeDefine:()=>yc,PlayerComMessageWormhole:()=>xc,PlayerController:()=>Wc,PopupUserFormField:()=>nn,PositionXAbnormalHandheldSettings:()=>Ar,PositionXCorrectionSettings:()=>Lr,PositionXDistanceTrigger:()=>Or,PositionXDynamicSettings:()=>Ir,PositionXInitialSettings:()=>Cr,PositionXQualitySettings:()=>gr,PositionXScoreTier:()=>Sr,PositionXTimerTrigger:()=>ur,RendererResolution:()=>S,TakeScreenshotVisibility:()=>I,TintableIconRef:()=>L,TtsTextModeDefine:()=>Da,UnityNavigationMode:()=>R,UnityNavigationParams:()=>y,UnityNavigationPlan:()=>P,VRTalkBaseData:()=>T,VRTalkEditablePlayer:()=>vl,VR_ACTION_PLATFORM_CAPABILITY_AR_ONLY:()=>Ln,VR_ACTION_PLATFORM_CAPABILITY_VR_AND_AR:()=>In,VR_ACTION_PLATFORM_CAPABILITY_VR_ONLY:()=>Sn,VR_INFO_BAR_DEFAULT:()=>_o,VR_INFO_BAR_ICON_KEYS:()=>To,VR_MAIN_BAR_DEFAULT:()=>lo,VR_MAIN_BAR_ICON_KEYS:()=>po,Vector2:()=>n,Vector3:()=>a,VrAction:()=>ze,VrActionAnalyticsValueModeDefine:()=>en,VrActionCloudFormValueModeDefine:()=>qa,VrActionHitAnalyticsEventFieldBinding:()=>tn,VrActionParams:()=>At,VrActionParams2dGeneralChangeDeformationSettings:()=>It,VrActionParams2dImageChangeSource:()=>Nt,VrActionParams2dPanelButtonChangeEnabled:()=>Dt,VrActionParams2dPanelChangeScene:()=>ht,VrActionParams2dTextChangeSource:()=>Lt,VrActionParams2dVideoChangeMuteState:()=>Pt,VrActionParams2dVideoChangePlayState:()=>yt,VrActionParams2dVideoChangeSource:()=>Rt,VrActionParams3dBoxChangeColor:()=>Mt,VrActionParams3dModelOperateAnimationClip:()=>Ut,VrActionParamsAbilityEnable:()=>Tt,VrActionParamsAbilityStop:()=>gt,VrActionParamsAiAgentActivate:()=>Va,VrActionParamsAiAgentActivateAndInjectAssistantMessage:()=>Ha,VrActionParamsAiAgentActivateAndInjectDialogue:()=>xa,VrActionParamsAiAgentActivateAndSendUserMessage:()=>Ga,VrActionParamsAiAgentHide:()=>Ua,VrActionParamsAiAgentInjectHiddenStateMessage:()=>Fa,VrActionParamsAiAgentWake:()=>Ba,VrActionParamsAudioCenterPlayList:()=>Vt,VrActionParamsAudioCenterSetVolume:()=>Ka,VrActionParamsBackgroundThread:()=>va,VrActionParamsCameraDollyMove:()=>Gt,VrActionParamsCameraDollyStop:()=>xt,VrActionParamsCameraMoveTo:()=>Bt,VrActionParamsCanvasComponentChangeVisibility:()=>Oa,VrActionParamsCloudFormCollectField:()=>$a,VrActionParamsCloudFormReset:()=>Za,VrActionParamsCloudFormShowDialog:()=>ja,VrActionParamsCloudFormSubmit:()=>Qa,VrActionParamsComponentGeneralAudioSourceChangeLoopMode:()=>vt,VrActionParamsComponentGeneralAudioSourcePause:()=>wt,VrActionParamsComponentGeneralAudioSourcePlayControl:()=>ft,VrActionParamsComponentGeneralChangeTransform:()=>Ot,VrActionParamsComponentGeneralChangeVisibility:()=>ut,VrActionParamsComponentGeneralOperateTransitionAnimation:()=>St,VrActionParamsComponentTagSimulateClick:()=>bt,VrActionParamsFlowEnter:()=>ea,VrActionParamsFlowExit:()=>ta,VrActionParamsHamburgerMenuChangeOpenState:()=>La,VrActionParamsHamburgerMenuGroupChangeExpanded:()=>Na,VrActionParamsHamburgerMenuNodeChangeVisibility:()=>Ia,VrActionParamsHitAnalyticsEvent:()=>an,VrActionParamsInformationContentCardShow:()=>Kt,VrActionParamsInformationLinkOpen:()=>Jt,VrActionParamsLayerChangeVisibility:()=>Sa,VrActionParamsLogicCurrentTime:()=>dn,VrActionParamsLogicRandomColor:()=>cn,VrActionParamsLogicRandomNumber:()=>rn,VrActionParamsLogicRandomPickBoolean:()=>En,VrActionParamsLogicRandomPickColor:()=>pn,VrActionParamsLogicRandomPickCssColor:()=>Tn,VrActionParamsLogicRandomPickFromRecommendOptions:()=>gn,VrActionParamsLogicRandomPickNumber:()=>mn,VrActionParamsLogicRandomPickString:()=>_n,VrActionParamsLogicVariableBooleanToggle:()=>Zt,VrActionParamsLogicVariableModify:()=>zt,VrActionParamsLogicVariableNumberAdd:()=>qt,VrActionParamsLogicVariableStringAdvanced:()=>Qt,VrActionParamsLogicVariableStringAppend:()=>jt,VrActionParamsLogicVariableStringTrimEnd:()=>$t,VrActionParamsMessageCardChangeShowState:()=>ya,VrActionParamsMessageCardCreateTemporary:()=>ba,VrActionParamsMessageCardDestroyTemporary:()=>ha,VrActionParamsMessageCardHide:()=>Ma,VrActionParamsMessageCardShow:()=>Pa,VrActionParamsMonitorChangeBadgeStyle:()=>ga,VrActionParamsMonitorChangeBadgeText:()=>Ta,VrActionParamsMonitorChangeEnabled:()=>ca,VrActionParamsMonitorChangePopupVisible:()=>ua,VrActionParamsMonitorComponentChangeVisibility:()=>da,VrActionParamsMonitorSwitchActiveScene:()=>Aa,VrActionParamsMonitorSwitchActiveTab:()=>la,VrActionParamsMonitorVideoChangeMuteState:()=>pa,VrActionParamsMonitorVideoChangePlayState:()=>Ea,VrActionParamsNavigationStart:()=>kt,VrActionParamsPopupUserFormShowDialog:()=>sn,VrActionParamsSendBroadcast:()=>na,VrActionParamsSweepChangeEnabled:()=>Ft,VrActionParamsSweepChangePanorama:()=>Ht,VrActionParamsSweepMarkerChangeEnabled:()=>Xt,VrActionParamsSweepOnlyEnableCurrent:()=>Yt,VrActionParamsSweepResetToDefault:()=>Wt,VrActionParamsSystemColorSpaceDisplayBrightness:()=>za,VrActionParamsSystemColorSpaceSceneTint:()=>Ja,VrActionParamsSystemCommonWait:()=>Ct,VrActionParamsSystemOpenWebpage:()=>Wa,VrActionParamsSystemSetInteractiveState:()=>Ya,VrActionParamsSystemStateScopeCreate:()=>ra,VrActionParamsSystemStateScopeDestroy:()=>ia,VrActionParamsSystemStateScopeSwitch:()=>oa,VrActionParamsSystemUiSettingsChange:()=>Ra,VrActionParamsTtsPlayVoice:()=>fa,VrActionParamsTtsRealtimeStream:()=>wa,VrActionParamsVisualizationControllerCloseAll:()=>un,VrActionParamsVisualizationControllerHide:()=>Cn,VrActionParamsVisualizationControllerPop:()=>An,VrActionSystemOpenWebpagePcModeDefine:()=>Xa,VrActionTypeDefine:()=>pt,VrAdChannel:()=>Mn,VrAdItem:()=>bn,VrAiSettings:()=>hn,VrAppearanceStyle:()=>H,VrAssetLabel:()=>Dn,VrAudio:()=>J,VrAudioCenter:()=>W,VrAudioList:()=>q,VrAudioLyric:()=>z,VrCameraEnterSettings:()=>_r,VrCameraModeDefine:()=>s,VrCameraMoveTransitionTypeDefine:()=>r,VrCameraPose:()=>i,VrColorSpaceSettings:()=>Fn,VrComponent2dAdvertisementData:()=>Ti,VrComponent2dDeformationModeDefine:()=>ne,VrComponent2dDeformationSettings:()=>se,VrComponent2dImageData:()=>gi,VrComponent2dImageSourceData:()=>Ai,VrComponent2dPanelAnsweringModeSettings:()=>Si,VrComponent2dPanelButtonItemData:()=>Mi,VrComponent2dPanelButtonTypeDefine:()=>Ri,VrComponent2dPanelData:()=>ui,VrComponent2dPanelImageItemData:()=>yi,VrComponent2dPanelItem:()=>Ni,VrComponent2dPanelItemStyle:()=>Di,VrComponent2dPanelItemTypeDefine:()=>Li,VrComponent2dPanelSceneData:()=>Oi,VrComponent2dPanelSceneGeneralParams:()=>bi,VrComponent2dPanelSceneModeDefine:()=>Ci,VrComponent2dPanelSceneStyle:()=>hi,VrComponent2dPanelTextItemData:()=>Pi,VrComponent2dPanelVariableModifierModeSettings:()=>Ii,VrComponent2dTextBasicModeSettings:()=>ki,VrComponent2dTextData:()=>Vi,VrComponent2dTextHorizontalAlignDefine:()=>fi,VrComponent2dTextMarqueeModeSettings:()=>Bi,VrComponent2dTextModeDefine:()=>vi,VrComponent2dTextSourceData:()=>Ui,VrComponent2dTextVerticalAlignDefine:()=>wi,VrComponent2dVideoData:()=>Gi,VrComponent2dVideoSourceData:()=>xi,VrComponent3dBoxData:()=>Fi,VrComponent3dModelAnimationClipData:()=>Wi,VrComponent3dModelAnimationData:()=>Xi,VrComponent3dModelData:()=>Hi,VrComponentAudioSource:()=>K,VrComponentAudioSourceDistanceModelDefine:()=>Y,VrComponentControllerTypeDefine:()=>$,VrComponentCustomVisibilitySettings:()=>ee,VrComponentData:()=>Q,VrComponentData2d:()=>ae,VrComponentData2dCurvedSurfaceSettings:()=>re,VrComponentData2dFoldSurfaceSettings:()=>oe,VrComponentData3d:()=>ie,VrComponentNavigationSettings:()=>Z,VrComponentTagData:()=>Ki,VrComponentTagTextLocationDefine:()=>Yi,VrComponentTransitionAnimation:()=>le,VrComponentTransitionAnimationKeyframe:()=>de,VrComponentTransitionAnimationPlayCompleteProcessTypeDefine:()=>ce,VrComponentTypeDefine:()=>j,VrContentCard:()=>k,VrContentCardMedia:()=>G,VrContentCardMediaTypeDefine:()=>V,VrContentCardModule:()=>B,VrContentCardShowStyleDefine:()=>U,VrContentData:()=>Rr,VrContentDataBuilder:()=>dr,VrCoverBackgroundFitTypeDefine:()=>zn,VrCoverBackgroundTypeDefine:()=>Jn,VrCoverButtonTypeDefine:()=>qn,VrCoverSettings:()=>jn,VrFloatingLayerStyle:()=>fn,VrFloor:()=>yr,VrFloorMapSettings:()=>Pr,VrFlow:()=>vr,VrFlowBroadcastListenerEntry:()=>Xr,VrFlowPositionSettings:()=>xr,VrFlowPositionTypeDefine:()=>Gr,VrFlowStatusDefine:()=>wr,VrFlowStep:()=>kr,VrFlowStepArriveAction:()=>Br,VrFlowStepBarStyleDefine:()=>Ur,VrFlowStepEndpointSettings:()=>Hr,VrFlowStepTypeDefine:()=>Vr,VrFlowTrigger:()=>Fr,VrFov:()=>Wr,VrInfoTemplateItemValue:()=>Gn,VrInfoTemplateSettings:()=>Bn,VrIntroduceItem:()=>Er,VrLayer:()=>Yr,VrLight:()=>Kr,VrLightAmbient:()=>Jr,VrLightDirectional:()=>zr,VrLightPoint:()=>qr,VrLogoEndpointConfig:()=>Vn,VrLogoObjectAlignDefine:()=>vn,VrLogoObjectFitDefine:()=>wn,VrMarker:()=>$r,VrMarkerGroup:()=>Qr,VrMarkerTypeDefine:()=>jr,VrMeasureAreaUnitDefine:()=>eo,VrMeasureData:()=>to,VrMeasureDistanceUnitDefine:()=>Zr,VrMeasurePoint:()=>ao,VrNavigationAdConfig:()=>no,VrNavigationModeDefine:()=>b,VrNavigationPath:()=>w,VrNavigationPoint:()=>D,VrNavigationPointBuilder:()=>h,VrNavigationPointTypeDefine:()=>M,VrNavigationRequest:()=>f,VrNavigationResult:()=>v,VrObstacle:()=>so,VrObstacleGroup:()=>ro,VrPlayerLogoConfig:()=>Un,VrPlayerModeDefine:()=>Ji,VrPlayerStatusDefine:()=>qi,VrPlayerStatusNumMapping:()=>zi,VrPlayerStatusValue:()=>ji,VrPlayerUiSettings:()=>kn,VrRenderSettings:()=>xn,VrShadowStyle:()=>x,VrSignal:()=>Dr,VrSignalSourceDefine:()=>br,VrSignalTrigger:()=>fr,VrSignalTypeDefine:()=>Mr,VrSignalTypeSourceMapping:()=>hr,VrSticker:()=>Io,VrStickerActivateTypeDefine:()=>So,VrSweep:()=>Lo,VrSweepAlignmentDefine:()=>No,VrSweepCameraPose:()=>o,VrSweepPanoramaBallExternalViewModeDefine:()=>Po,VrSweepPanoramaData:()=>Mo,VrSweepPanoramaSourceData:()=>bo,VrSweepPanoramaSourceTypeDefine:()=>yo,VrSweepPlacementTypeDefine:()=>Ro,VrTarget:()=>ko,VrTargetGroup:()=>Bo,VrTheme:()=>ho,VrTrimmerData:()=>Do,VrUiIconItem:()=>io,VrView:()=>wo,VrViewTypeDefine:()=>vo,VrWorldSizeInfo:()=>mr,VrWormhole:()=>Vo,VrWormholeGroup:()=>Uo,WorkNoteEnterTag:()=>oo,XR_AI_AGENT_TOOL_GROUPS:()=>ci,XR_HAMBURGER_MENU_DEFAULT_COLOR:()=>Cs,XrAbility:()=>pi,XrAbilityGroup:()=>Ei,XrActionCategoryDefine:()=>Ye,XrAiAgent:()=>ii,XrAiAgentParams:()=>si,XrAiAgentRolePromptSettings:()=>ni,XrAiAgentSkillPrompt:()=>ri,XrAiAgentUseAbility:()=>qo,XrAiAgentUseAnalyticsEvent:()=>ei,XrAiAgentUseBackgroundThread:()=>Jo,XrAiAgentUseCameraDollyPath:()=>zo,XrAiAgentUseCloudForm:()=>Qo,XrAiAgentUseComponent:()=>Fo,XrAiAgentUseContentCard:()=>jo,XrAiAgentUseFov:()=>$o,XrAiAgentUseKnowledgeBase:()=>Zo,XrAiAgentUseMessageCard:()=>ti,XrAiAgentUseMonitor:()=>ai,XrAiAgentUseSpaceFence:()=>Yo,XrAiAgentUseSpaceFenceGroup:()=>Ko,XrAiAgentUseSticker:()=>Wo,XrAiAgentUseTarget:()=>Ho,XrAiAgentUseVariable:()=>Xo,XrAiAgentWakePrompt:()=>oi,XrAiAgentWakeWorkStyleDefine:()=>ka,XrAudioCenterState:()=>ke,XrBackgroundThread:()=>Go,XrBackgroundThreadState:()=>Re,XrBackgroundThreadStatusDefine:()=>Ne,XrBaseAction:()=>Je,XrBoundVariableControl:()=>Pn,XrBroadcastChannel:()=>xo,XrBroadcastPayloadValue:()=>aa,XrCameraDollyPath:()=>mi,XrCameraDollyPathNode:()=>_i,XrComponentState2dImage:()=>Pe,XrComponentState2dPanel:()=>he,XrComponentState2dText:()=>be,XrComponentState2dVideo:()=>Me,XrComponentState3dBox:()=>De,XrComponentState3dModel:()=>fe,XrComponentStateBase:()=>ye,XrComponentStateTag:()=>we,XrConditionAction:()=>ct,XrConditionArg:()=>nt,XrConditionArgKindDefine:()=>et,XrConditionArgLiteralTypeDefine:()=>tt,XrConditionArrayItem:()=>at,XrConditionCall:()=>st,XrConditionElseIfBranch:()=>it,XrConditionGroup:()=>rt,XrConditionNodeKindDefine:()=>Ze,XrConditionSubject:()=>je,XrConditionSubjectKindDefine:()=>qe,XrConditionTree:()=>ot,XrConditionValueOperand:()=>Qe,XrConditionValueOperandValueTypeDefine:()=>$e,XrConditionWatcher:()=>Oe,XrConditionWatcherTriggerModeDefine:()=>ue,XrCountLoopAction:()=>lt,XrExpressionLoopAction:()=>_t,XrExpressionLoopActionCheckExpressionPositionDefine:()=>dt,XrHamburgerCanvasComponentBase:()=>nr,XrHamburgerCanvasComponentButton:()=>cr,XrHamburgerCanvasComponentButtonIconPositionDefine:()=>ar,XrHamburgerCanvasComponentImage:()=>sr,XrHamburgerCanvasComponentImageModeDefine:()=>$s,XrHamburgerCanvasComponentProgressBar:()=>or,XrHamburgerCanvasComponentProgressBarDirectionDefine:()=>er,XrHamburgerCanvasComponentText:()=>rr,XrHamburgerCanvasComponentTextAlignDefine:()=>Qs,XrHamburgerCanvasComponentTypeDefine:()=>js,XrHamburgerCanvasComponentVariableControl:()=>lr,XrHamburgerCanvasComponentVerticalAlignDefine:()=>Zs,XrHamburgerCanvasComponentVideo:()=>ir,XrHamburgerCanvasComponentVideoObjectFitDefine:()=>tr,XrHamburgerMenu:()=>qs,XrHamburgerMenuCanvasItem:()=>zs,XrHamburgerMenuGridImageItem:()=>Bs,XrHamburgerMenuGridLastRowModeDefine:()=>Vs,XrHamburgerMenuGridMediaItem:()=>ks,XrHamburgerMenuGroup:()=>Ys,XrHamburgerMenuImageItem:()=>ws,XrHamburgerMenuImageItemSlide:()=>fs,XrHamburgerMenuImageObjectFitDefine:()=>Us,XrHamburgerMenuMediaCarouselItem:()=>Ds,XrHamburgerMenuMediaItem:()=>Rs,XrHamburgerMenuMediaTypeDefine:()=>Ns,XrHamburgerMenuNode:()=>bs,XrHamburgerMenuNodeBase:()=>Ms,XrHamburgerMenuNodeTypeDefine:()=>Ls,XrHamburgerMenuPcLayoutModeDefine:()=>ys,XrHamburgerMenuRichImageSlide:()=>vs,XrHamburgerMenuRichTextItem:()=>Js,XrHamburgerMenuStyle:()=>us,XrHamburgerMenuTextItem:()=>hs,XrHamburgerMenuTitleOverflowModeDefine:()=>Ps,XrHamburgerMenuVideoItem:()=>Xs,XrHamburgerMenuVideoItemSlide:()=>Hs,XrHamburgerMenuWaterfallBreakpoint:()=>Gs,XrHamburgerMenuWaterfallImageItem:()=>Fs,XrHamburgerMenuWaterfallMediaItem:()=>xs,XrHamburgerMenuWebViewItem:()=>Ws,XrInteractionControlConfig:()=>We,XrInteractionControlDefaultVariant:()=>Fe,XrInteractionControlVariantDefine:()=>xe,XrInteractionControlVariantTier:()=>He,XrInteractionDataTypeDefine:()=>Ge,XrInteractionOption:()=>Xe,XrMessageCard:()=>X,XrMonitor:()=>As,XrMonitorBadgeStyleDefine:()=>is,XrMonitorComponentBase:()=>cs,XrMonitorComponentButton:()=>Es,XrMonitorComponentButtonIconPositionDefine:()=>os,XrMonitorComponentImage:()=>ls,XrMonitorComponentImageModeDefine:()=>es,XrMonitorComponentProgressBar:()=>_s,XrMonitorComponentProgressBarDirectionDefine:()=>ns,XrMonitorComponentRuntimeState:()=>ve,XrMonitorComponentText:()=>ds,XrMonitorComponentTextAlignDefine:()=>ts,XrMonitorComponentTypeDefine:()=>Zn,XrMonitorComponentVariableControl:()=>ps,XrMonitorComponentVerticalAlignDefine:()=>as,XrMonitorComponentVideo:()=>ms,XrMonitorComponentVideoObjectFitDefine:()=>rs,XrMonitorDisplayModeDefine:()=>Ts,XrMonitorRuntimeState:()=>Ve,XrMonitorScene:()=>gs,XrNavigationState:()=>Be,XrPlatformDefine:()=>Ke,XrPrepareSettings:()=>$n,XrProgressBarStyleDefine:()=>ss,XrRecommendStringOption:()=>me,XrRuntimeState:()=>Ue,XrSpaceFence:()=>uo,XrSpaceFenceGroup:()=>Oo,XrStateBindings:()=>Le,XrStateBindingsSourceTypeDefine:()=>Se,XrStateBindingsTargetTypeDefine:()=>Ie,XrStateScopeBranchFromDefine:()=>sa,XrSwitchAction:()=>Et,XrSwitchCase:()=>mt,XrTypedValue:()=>Ae,XrTypedValueModeDefine:()=>ge,XrVariable:()=>Ee,XrVariablePreFill:()=>Qn,XrVariableScope:()=>Te,XrVariableScopeTypeDefine:()=>pe,XrVariableTarget:()=>Ce,XrVariableTypeDefine:()=>_e,XrVirtualFloor:()=>fo,buildExpressionFromTree:()=>Zl,computeProgressBarFillStyle:()=>cd,createEmptyRichTextDoc:()=>Ks,createMultiLanguageStr:()=>Xn,defaultMainPlacementOf:()=>Co,defaultRootHamburgerStyle:()=>Os,ensureIconLayoutMaterialized:()=>Jl,ensureLegacyVrPlayerUiSettingsInitialized:()=>zl,extractConditionTreeDependencies:()=>rd,getAllRegisteredVrActionPlatformCapabilities:()=>yn,getVrActionPlatformCapability:()=>Rn,isAiAgentToolEnabled:()=>di,isAiAgentToolResourceReady:()=>li,migrateTriggersToCentralized:()=>kl,migrateXrMonitorMultiScene:()=>$l,migrateXrVariableTypeEnum:()=>ql,normalizeBrowserLanguage:()=>Yn,normalizeMultiLanguageStr:()=>Wn,pickCurrentLanguage:()=>Kn,pickMultiLanguageStr:()=>Hn,resolveArBottomItems:()=>Yl,resolveArInfoItems:()=>Kl,resolveHamburgerNodeStyle:()=>Is,resolveHamburgerRootStyle:()=>Ss,resolveVrInfoBarItems:()=>Wl,resolveVrMainBarItems:()=>Xl,shadowToCss:()=>F});class a{x=0;y=0;z=0;constructor(e,t,a){this.x=e,this.y=t,this.z=a}}class n{x=0;y=0;constructor(e,t){this.x=e,this.y=t}}class s{static FLOORPLAN="floorplan";static INSIDE="inside";static OUTSIDE="outside";static TRANSITIONING="transitioning";static DOLLHOUSE="dollhouse"}class r{static FLY="fly";static INSTANT="instant";static FADE="fade"}class o{sweepId="";rotation=new n(0,0)}class i{floorId="";sweepId="";position=new a(0,0,0);rotation=new n(0,0);zoom=1;mode=s.INSIDE;originalEuler=new a(0,0,0)}class c{static createColorRgb(e,t,a){let n=new d;return n.r=e,n.g=t,n.b=a,n}static createColorRgba(e,t,a,n){let s=new d;return s.r=e,s.g=t,s.b=a,s.a=n,s}static createColorByStr(e){let t=new d;if(e.startsWith("#")){let a=e.substring(1);4===a.length?(t.r=parseInt(a.substring(0,1)+a.substring(0,1),16),t.g=parseInt(a.substring(1,2)+a.substring(1,2),16),t.b=parseInt(a.substring(2,3)+a.substring(2,3),16),t.a=parseInt(a.substring(3,4)+a.substring(3,4),16)/255):8===a.length?(t.r=parseInt(a.substring(0,2),16),t.g=parseInt(a.substring(2,4),16),t.b=parseInt(a.substring(4,6),16),t.a=parseInt(a.substring(6,8),16)/255):3===a.length?(t.r=parseInt(a.substring(0,1)+a.substring(0,1),16),t.g=parseInt(a.substring(1,2)+a.substring(1,2),16),t.b=parseInt(a.substring(2,3)+a.substring(2,3),16),t.a=1):6===a.length&&(t.r=parseInt(a.substring(0,2),16),t.g=parseInt(a.substring(2,4),16),t.b=parseInt(a.substring(4,6),16),t.a=1)}else if(e.startsWith("rgba")){let a=e.substring(5,e.length-1).split(",");t.r=parseInt(a[0]),t.g=parseInt(a[1]),t.b=parseInt(a[2]),t.a=parseFloat(a[3])}else if(e.startsWith("rgb")){let a=e.substring(4,e.length-1).split(",");t.r=parseInt(a[0]),t.g=parseInt(a[1]),t.b=parseInt(a[2]),t.a=1}return t}static createRandomColor(e,t){let a=new d;return a.r=Math.floor(256*Math.random()),a.g=Math.floor(256*Math.random()),a.b=Math.floor(256*Math.random()),a.a=e?Math.random():t||1,a}}class l{static colorToRgbaString(e){return e?`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`:"rgba(0, 0, 0, 1)"}static colorToHexString(e){const t=e=>{const t=Math.round(e).toString(16);return 1===t.length?`0${t}`:t};return`#${t(e.r)}${t(e.g)}${t(e.b)}`}static colorToTHREEColor(e){return{r:e.r/255,g:e.g/255,b:e.b/255}}}class d{r=0;g=0;b=0;a=1}class _{enabled=!1;color=c.createColorRgb(0,0,0);tolerance=20}class m{static LINEAR="linear";static EASE_IN_QUAD="easeInQuad";static EASE_OUT_QUAD="easeOutQuad";static EASE_IN_OUT_QUAD="easeInOutQuad";static EASE_OUT_IN_QUAD="easeOutInQuad";static EASE_IN_CUBIC="easeInCubic";static EASE_OUT_CUBIC="easeOutCubic";static EASE_IN_OUT_CUBIC="easeInOutCubic";static EASE_OUT_IN_CUBIC="easeOutInCubic";static EASE_IN_QUART="easeInQuart";static EASE_OUT_QUART="easeOutQuart";static EASE_IN_OUT_QUART="easeInOutQuart";static EASE_OUT_IN_QUART="easeOutInQuart";static EASE_IN_QUINT="easeInQuint";static EASE_OUT_QUINT="easeOutQuint";static EASE_IN_OUT_QUINT="easeInOutQuint";static EASE_OUT_IN_QUINT="easeOutInQuint";static EASE_IN_SINE="easeInSine";static EASE_OUT_SINE="easeOutSine";static EASE_IN_OUT_SINE="easeInOutSine";static EASE_OUT_IN_SINE="easeOutInSine";static EASE_IN_EXPO="easeInExpo";static EASE_OUT_EXPO="easeOutExpo";static EASE_IN_OUT_EXPO="easeInOutExpo";static EASE_OUT_IN_EXPO="easeOutInExpo";static EASE_IN_CIRC="easeInCirc";static EASE_OUT_CIRC="easeOutCirc";static EASE_IN_OUT_CIRC="easeInOutCirc";static EASE_OUT_IN_CIRC="easeOutInCirc";static EASE_IN_BACK="easeInBack";static EASE_OUT_BACK="easeOutBack";static EASE_IN_OUT_BACK="easeInOutBack";static EASE_OUT_IN_BACK="easeOutInBack";static EASE_IN_BOUNCE="easeInBounce";static EASE_OUT_BOUNCE="easeOutBounce";static EASE_IN_OUT_BOUNCE="easeInOutBounce";static EASE_OUT_IN_BOUNCE="easeOutInBounce";static CUBIC_BEZIER_CURVE="cubicBezierCurve";static SPRING="spring";static ELASTIC="elastic"}class E{waitTime=0;easeFunction=m.LINEAR;duration=500;cubicBezierCurveParamX1=.5;cubicBezierCurveParamY1=.05;cubicBezierCurveParamX2=.1;cubicBezierCurveParamY2=.3;springParamMass=1;springParamStiffness=80;springParamDamping=10;springParamVelocity=0;elasticParamType="easeOutElastic";elasticParamAmplitude=1;elasticParamPeriod=.6}class p{static randomUUID(e){return(e?"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx":"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}}class T{id="";constructor(){this.id=p.randomUUID(!0)}}class g{static ZH_CN="zh_cn";static ZH_TW="zh_tw";static ZH_HK="zh_hk";static EN="en";static KR="kr";static JP="jp";static TH="th";static VN="vn";static ES="es";static FR="fr";static DE="de";static ALL=["en","jp","kr","zh_cn","zh_tw","zh_hk","th","vn","es","fr","de"]}class A{original_content="";only_use_original_content=!0;zh_cn="";zh_tw="";zh_hk="";en="";kr="";jp="";th="";vn="";es="";fr="";de=""}class C extends T{name=new A;color=c.createColorByStr("#444444");textColor=c.createColorByStr("#ffffff");additionalData={};clickActionList=[];localVariableList=[]}class u{static NAVIGATION_TO_MANUAL="navigation_to_manual";static NAVIGATION_TO_AUTO="navigation_to_auto";static DIRECT_TO_FLY="direct_to_fly";static DIRECT_TO_FADE="direct_to_fade";static DIRECT_TO_INSTANT="direct_to_instant"}class O{enabled=!1;hoverBorderColor=c.createColorRgba(0,0,0,1);borderWidth=.01}class S{width=1920;height=1080;constructor(e,t){this.width=e,this.height=t}}class I{mattertags=!1;measurements;sweeps;views;components;constructor(e,t,a,n,s){this.mattertags=e,this.measurements=t,this.sweeps=a,this.views=n,this.components=s}}class L{url="";iconCategory="";iconFilename="";colorEnabled=!1;color=c.createColorRgb(255,255,255)}class N{static NO_LOOP="no_loop";static LOOP_ALL="loop_all";static LOOP_SINGLE="loop_single"}class R extends T{name="";description="";title="";code="";enabled=!1;planList=[]}class y{transformPointsGps=[];transformPointsVrSpace=[new a(0,0,0),new a(0,0,0),new a(0,0,0)];cellSize=.1;walkableHeight=1.6;characterRadius=.2;walkableClimb=1;maxSlope=45;maxEdgeLength=1;leadBotUseSameModelForDifferentAction=!0;leadBotModelSrc="";leadBotModelScale=new a(1,1,1);leadBotModelOverlayRotate=new a(0,0,0);leadBotModelSrcStand="";leadBotModelScaleStand=new a(1,1,1);leadBotModelOverlayRotateStand=new a(0,0,0);leadBotModelSrcWalk="";leadBotModelScaleWalk=new a(1,1,1);leadBotModelOverlayRotateWalk=new a(0,0,0);leadBotModelSrcRun="";leadBotModelScaleRun=new a(1,1,1);leadBotModelOverlayRotateRun=new a(0,0,0);leadBotModelSrcArrive="";leadBotModelScaleArrive=new a(1,1,1);leadBotModelOverlayRotateArrive=new a(0,0,0);leadBotAnimationNameStand="";leadBotAnimationNameWalk="";leadBotAnimationNameRun="";leadBotAnimationNameArrive="";thresholdLeadBotDistanceToPlayer=6;thresholdLeadBotDistanceToPlayerToWalk=4;thresholdLeadBotDistanceToPlayerToClimb=.4;thresholdLeadBotDistanceToPlayerToClimbToWalk=0;thresholdLeadBotDistanceToPlayerToDescend=3.5;thresholdLeadBotDistanceToPlayerToDescendToWalk=2;thresholdLeadBotDistanceToPlayerToRun=2;leadBotSpeedRun=3.5;leadBotSpeedWalk=1.35;thresholdUserDistanceToRoute=3;thresholdShowComponents=50;thresholdVideoComponentInvisibleToPause=3;thresholdDestroyComponents=10;thresholdShowComponentsWhenEnterFloor=5}class P extends T{name="";title=new A;description=new A;obstacleGroupIds=[];wormholeGroupIds=[];targetGroupIds=[];graphCacheZipFileSrc=""}class M{static sweep="sweep";static anywhere="anywhere";static teleport="teleport"}class b{static AUTO="auto";static MANUAL="manual";static MANUAL_SIMPLE="manual_simple"}class h{static createSweepPoint(e){const t=new D;return t.type=M.sweep,t.sweepId=e.id,t.position=e.position,t}static createAnywherePoint(e){const t=new D;return t.type=M.anywhere,t.position=e,t}}class D{type=M.sweep;sweepId="";position=new a(0,0,0)}class f{id="";startPoint=new D;endPoint=new D;isAutoStart=!0;navigationMode=b.MANUAL;autoRecalculate=!0;autoRecalculateDistanceThreshold=.5;pathColor=c.createColorByStr("#03b203")}class w{sweepStartPoint=new D;sweepEndPoint=new D;pathPoints=[]}class v{request=new f;result=!1;pathList=[]}class V{static VIDEO="video";static IMAGE="image";static AUDIO="audio";static D3_MODEL="3d_model";static LINK="link";static DOCUMENT="document"}class U{static BUBBLE="bubble";static DIALOG="dialog";static DRAWER="drawer"}class k extends T{id="";name="";dialogWidth="800px";dialogHeight="600px";title=new A;richText=new A;isAvailableForAi=!0;modules=[];buttonList=[]}class B{id="";name="";type=V.IMAGE;mediaList=[]}class G{id="";type=V.VIDEO;name="";src="";coverSrc="";materialSrc=""}class x{enabled=!1;offsetX=0;offsetY=1;blur=2;color=c.createColorRgba(0,0,0,.55)}function F(e,t){if(!e||!e.enabled)return"none";const a=`${e.offsetX??0}px ${e.offsetY??0}px ${e.blur??0}px ${l.colorToRgbaString(e.color)}`;return"drop"===t?`drop-shadow(${a})`:a}class H{bgColor=c.createColorRgba(255,255,255,.3);textColor=c.createColorByStr("#4e5969");iconColor=c.createColorByStr("#ffffff");accentColor=c.createColorByStr("#1677ff");blur=5;cornerRadius=16;textShadow=function(){const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.55),e}();iconShadow=function(){const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.45),e}()}class X extends T{name="";remark="";iconSrc="";title=new A;content=new A;buttonList=[];overrideAppearance=!1;appearanceOverride=new H}class W{showPlayControl=!0;showSoundControl=!0;defaultVolume=100;loopMode=N.NO_LOOP;defaultPlayAudio=[];audioListData=[]}class Y{static LINEAR="linear";static INVERSE="inverse";static EXPONENTIAL="exponential"}class K{loopMode=N.NO_LOOP;autoPlay=!1;volume=1;defaultAudioIndex=0;distanceModel=Y.LINEAR;rolloffFactor=1;refDistance=1;maxDistance=10;audioDataList=[]}class J extends T{name="";description="";audioSrc="";duration=0;lyricList=[]}class z{time="00:00";content="";color=c.createColorByStr("#ffffff")}class q extends T{name="";description="";audioList=[]}class j{static TYPE_2D_TEXT="2d_text";static TYPE_2D_VIDEO="2d_video";static TYPE_2D_IMAGE="2d_image";static TYPE_2D_PANEL="2d_panel";static TYPE_2D_ADVERTISEMENT="2d_advertisement";static TYPE_3D_BOX="3d_box";static TYPE_3D_MODEL="3d_model";static TYPE_TAG="tag"}class ${static NONE="none";static TRANSLATE="translate";static ROTATE="rotate";static SCALE="scale"}class Q extends T{layerId="";name="";title=new A;description=new A;isAvailableForAi=!0;isNavigationTarget=!0;ignoreOptimizationAlwaysShow=!1;type=null;scale=new a(1,1,1);position=new a(0,0,0);rotation=new a(0,0,0);originalScale=new a(1,1,1);visible=!0;opacity=1;castShadow=!0;receiveShadow=!0;isEnableAutoMoveCameraToNearWhenClick=!1;responseMouse=!0;markerList=[];showInContentMenu=!0;keywords=[];bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode="";customVisibilitySettings=new ee;transitionAnimationList=[];defaultTransitionAnimationId="";audioSource=new K;showTransitionAnimationId="";hideTransitionAnimationId="";localVariableList=[]}class Z{allowAsDestination=!1}class ee{specialSweepVisible=!1;displayRange=0;visibleSweepList=[]}class te{static KEEP_ORIGINAL="keep-original";static FACE_TO_CAMERA_Y="face-to-camera-y";static FACE_TO_CAMERA_XYZ="face-to-camera-xyz"}class ae extends Q{onlyFrontVisible=!1;faceToCameraMode=te.KEEP_ORIGINAL;hoverBorderSettings=new O;deformationSettings=new se}class ne{static NONE="none";static CURVED_SURFACE="curved-surface";static FOLD_SURFACE="fold-surface"}class se{mode=ne.NONE;curvedSurfaceSettings=new re;foldSurfaceSettings=new oe}class re{curveDegree=1}class oe{foldPosition=.5;foldAngle=0;foldInside=!1;foldRadius=.1}class ie extends Q{}class ce{static STAY_AT_LAST_FRAME="stay-at-last-frame";static JUMP_TO_ORIGINAL_STATE="jump-to-original-state";static LOOP_FROM_ORIGINAL_STATE="loop-from-original-state";static ANIMATE_TO_ORIGINAL_STATE="animate-to-original-state";static LOOP_REVERSE="loop-reverse"}class le{id="";name="";description="";playCompleteProcessType=ce.STAY_AT_LAST_FRAME;keyFrameList=[]}class de{id="";name="";isTransformTranslate=!1;transformTranslate=new a(0,0,0);isTransformRotate=!1;transformRotate=new a(0,0,0);isTransformScale=!1;transformScale=new a(1,1,1);isOpacity=!1;opacity=1;modelAnimationClipId="";easingAnimationSettings=new E}class _e{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static COLOR="color";static CSS_COLOR="css_color"}class me{value="";label=new A}class Ee{key="";name="";type="string";value="";stringDefaultValue="";stringRecommendOptions=[];numberDefaultValue=0;numberStep=1;numberMinValue=0;numberMaxValue=0;numberRecommendOptions=[];booleanDefaultValue=!1;colorDefaultValue=c.createColorRgba(255,255,255,1);colorRecommendOptions=[];cssColorDefaultValue="#ffffff";cssColorRecommendOptions=[];enumOptions;enumDefaultValue}class pe{static GLOBAL="global";static SHARED="shared";static LOCAL="local";static STEP="step";static FLOW="flow";static ABILITY="ability";static AGENT="agent";static BROADCAST_MSG="broadcast_msg"}class Te{type=pe.LOCAL;ownerId="";variableList=[]}class ge{static LITERAL="literal";static VARIABLE="variable"}class Ae{mode=ge.LITERAL;literal;variableScope;variableKey}class Ce{scope=pe.GLOBAL;key=""}class ue{static RISING_EDGE_TRIGGER="rising-edge-trigger";static LEVEL_TRIGGER="level-trigger"}class Oe extends T{name="";remark="";conditionTree=new ot;triggerMode=ue.RISING_EDGE_TRIGGER}class Se{static XR_VARIABLE_EXPRESSION="xr-variable-expression";static STICKER_ACTIVE_STATE="sticker-active-state";static SPACE_FENCE_USER_IN_STATE="space-fence-user-in-state";static SPACE_FENCE_GROUP_USER_IN_STATE="space-fence-group-user-in-state";static COMPONENT_VISIBLE_STATE="component-visible-state";static LAYER_VISIBLE_STATE="layer-visible-state";static HAMBURGER_MENU_NODE_VISIBLE_STATE="hamburger-menu-node-visible-state";static AI_AGENT_ENABLED_STATE="ai-agent-enabled-state";static AI_AGENT_ACTIVE_STATE="ai-agent-active-state";static BACKGROUND_THREAD_RUNNING="background-thread-running"}class Ie{static XR_VARIABLE="xr-variable";static COMPONENT_VISIBLE_STATE="component-visible-state";static LAYER_VISIBLE_STATE="layer-visible-state";static MESSAGE_CARD_SHOW_STATE="message-card-show-state";static COMPONENT_2D_PANEL_BUTTON_ENABLED_STATE="component-2d-panel-button-enabled-state";static MONITOR_COMPONENT_VISIBLE_STATE="monitor-component-visible-state";static CANVAS_COMPONENT_VISIBLE_STATE="canvas-component-visible-state";static COMPONENT_2D_PANEL_SCENE_SWITCH="component-2d-panel-scene-switch";static COMPONENT_2D_IMAGE_SOURCE_SWITCH="component-2d-image-source-switch";static COMPONENT_2D_VIDEO_SOURCE_SWITCH="component-2d-video-source-switch";static COMPONENT_3D_MODEL_ANIMATION_CLIP_SWITCH="component-3d-model-animation-clip-switch";static AI_AGENT_ENABLED_STATE="ai-agent-enabled-state";static HAMBURGER_MENU_NODE_VISIBLE_STATE="hamburger-menu-node-visible-state";static BACKGROUND_THREAD_RUNNING="background-thread-running"}class Le{enabled=!0;name="";remark="";sourceType=Se.XR_VARIABLE_EXPRESSION;sourceExpression="";sourceConditionTree;sourceId="";reverseSource=!1;targetType=Ie.XR_VARIABLE;targetId="";targetOptionTrue="";targetOptionFalse=""}class Ne{static IDLE="idle";static RUNNING="running";static PAUSED="paused";static STOPPED="stopped"}class Re{threadId="";status="idle";completedCycles=0;currentActionIndex=0}class ye{position=new a(0,0,0);rotation=new a(0,0,0);scale=new a(1,1,1);visible=!0;opacity=1;responseMouse=!0;playingTransitionAnimationId=null;audioPlayingId=null;audioVolume=1;audioLoopMode=N.NO_LOOP;audioPaused=!0}class Pe extends ye{currentSourceId="";autoChangeInterval=0}class Me extends ye{currentSourceId="";playing=!1;muted=!1;loopMode=N.NO_LOOP;playbackRate=1}class be extends ye{currentSourceId=""}class he extends ye{currentSceneId="";buttonEnabledState={}}class De extends ye{faceColor=c.createColorRgba(0,255,0,.2);borderColor=c.createColorRgba(0,255,0,.5);hoverFaceColor=c.createColorRgba(0,255,0,.5);hoverBorderColor=c.createColorRgba(0,255,0,.8)}class fe extends ye{playingAnimationClipId=null}class we extends ye{}class ve{id="";type="text";name="";positionX=0;positionY=0;width=200;height=150;rotation=0;opacity=1;backgroundColor="rgba(255,255,255,0)";hoverStyleEnabled=!1;hoverBackgroundColor="rgba(255,255,255,0)";hoverOpacity=1;clickActionList=[];visible=!0;zIndex=1;radius=0;border="none";paddingX=6;paddingY=6;css={};script="";imageSrc="";imageMode="fill";textContent="";textColor="rgba(255,255,255,1)";textSize=16;textAlign="center";textBold=!1;textItalic=!1;textUnderline=!1;textVerticalAlign="middle";progressBarStyle="solid";progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection="horizontal";progress="50";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit="cover";icon=new L;iconPosition="left";bound=null}class Ve{enabled=!0;currentSceneId="";popupVisible=!1;componentStates={};badgeText="";badgeStyle="corner";badgeBgColor="rgba(255,77,79,1)";badgeTextColor="rgba(255,255,255,1)"}class Ue extends T{variableValue={};activeTriggerPool=[];triggerExecuteCount={};audioCenterState=new ke;navigationState=new Be;globalMuted=!1;componentState2dImage={};componentState2dVideo={};componentState2dText={};componentState2dPanel={};componentState3dBox={};componentState3dModel={};componentStateTag={};monitorState={};activeMonitorTab="";canvasState={};layerVisibility={};messageCardShowState={};stickerActiveState={};sweepEnabledState={};backgroundThreadState={};abilityState={};flowScopeValue={};flowStepScopeValue={};enabledAiAgentIds=[];activeAiAgentId=null;hamburgerMenuVisibility={};hamburgerMenuOpen=!1;hamburgerMenuExpanded={};playerUiSettings={}}class ke{playingAudioListId="";playingAudioId=""}class Be{isNavigating=!1;destinationType="sweep";destinationSweepId="";destinationPosition=new a(0,0,0);navigationMode="manual";originalDestinationType="";originalDestinationId=""}class Ge{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static ENUM="enum";static COLOR="color";static CSS_COLOR="css_color"}class xe{static NUMBER_INPUT="number_input";static NUMBER_SLIDER="number_slider";static NUMBER_SLIDER_VERTICAL="number_slider_vertical";static NUMBER_STEPPER="number_stepper";static NUMBER_STAR_RATING="number_star_rating";static NUMBER_SEGMENT="number_segment";static NUMBER_EMOJI_SCALE="number_emoji_scale";static NUMBER_DIAL="number_dial";static NUMBER_PROGRESS_TAP="number_progress_tap";static NUMBER_CHIP_TILE="number_chip_tile";static STRING_INPUT="string_input";static STRING_TEXTAREA="string_textarea";static STRING_SELECT="string_select";static STRING_AUTOCOMPLETE="string_autocomplete";static STRING_SEGMENT="string_segment";static STRING_RADIO="string_radio";static STRING_TAG="string_tag";static STRING_CARD_GRID="string_card_grid";static STRING_AVATAR_LIST="string_avatar_list";static STRING_COLOR_SWATCH="string_color_swatch";static BOOLEAN_SWITCH="boolean_switch";static BOOLEAN_CHECKBOX="boolean_checkbox";static BOOLEAN_SEGMENT="boolean_segment";static BOOLEAN_THUMB="boolean_thumb";static BOOLEAN_CARD_PAIR="boolean_card_pair";static COLOR_PICKER="color_picker";static COLOR_SWATCH_PICKER="color_swatch_picker";static CSS_COLOR_INPUT="css_color_input";static CSS_COLOR_SWATCH_PICKER="css_color_swatch_picker";static CSS_COLOR_ADVANCED="css_color_advanced"}class Fe{static getDefault(e){return"number"===e?xe.NUMBER_INPUT:"boolean"===e?xe.BOOLEAN_SWITCH:"color"===e?xe.COLOR_PICKER:"css_color"===e?xe.CSS_COLOR_INPUT:xe.STRING_INPUT}}class He{static TIER_A=new Set(["boolean_switch","boolean_checkbox","number_stepper","boolean_segment","number_input","string_input","string_select"]);static TIER_B=new Set(["number_slider","string_segment","string_radio","string_tag","color_picker","css_color_input","color_swatch_picker","css_color_swatch_picker","string_color_swatch","number_chip_tile"]);static getTier(e){return He.TIER_A.has(e)?"A":He.TIER_B.has(e)?"B":"C"}}class Xe{label=new A;value="";icon=new L;imageUrl="";description=new A;badge=new A;color="";disabled=!1}class We{variant=xe.STRING_INPUT;min=null;max=null;step=null;precision=null;sliderShowTicks=!1;sliderActiveColor="";sliderTrackColor="";sliderShowTooltip=!0;starCount=5;starAllowHalf=!1;starIcon=new L;starActiveColor="";starInactiveColor="";starSize=32;starShowValueLabel=!1;emojiScaleEmojis=[];emojiScaleSize=36;emojiScaleAnimateOnSelect=!0;dialSize=120;dialActiveColor="";dialShowValueInCenter=!0;dialStartAngle=135;progressTapHeight=20;progressTapGradientFrom="";progressTapGradientTo="";progressTapShowMarks=!1;chipTileSize=56;chipTileColumns=5;chipTileActiveColor="";options=[];textareaRows=3;textareaMaxLength=null;textareaShowCount=!1;tagMode="pill";cardGridColumns=2;cardGridImageRatio="4:3";cardGridShowDescription=!0;avatarListShowSubtitle=!0;avatarListSize=40;colorSwatchSize=32;colorSwatchShape="square";colorSwatchColumns=6;booleanTrueLabel=new A;booleanFalseLabel=new A;booleanTrueIcon=new L;booleanFalseIcon=new L;booleanTrueColor="";booleanFalseColor="";colorSwatchOptions=[];cssColorSwatchOptions=[];borderRadius=null;accentColor=""}class Ye{static BASIC="basic";static CONDITION="condition";static COUNT_LOOP="count_loop";static EXPRESSION_LOOP="expression_loop";static SWITCH="switch"}class Ke{static VR="VR";static AR="AR"}class Je{actionCategory=Ye.BASIC;backgroundColorMark="rgba(255,255,255,1)"}class ze extends Je{actionCategory=Ye.BASIC;id="";actionType=pt.COMPONENT_2D_IMAGE_CHANGE_SOURCE;params=new At}class qe{static VARIABLE="variable";static PLATFORM="platform";static EXPRESSION="expression"}class je{kind=qe.VARIABLE;variableScope;variableKey;rawExpression}class $e{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static PLATFORM_ENUM="platform_enum"}class Qe{valueType=$e.STRING;literal;valueRef}class Ze{static CALL="call";static GROUP="group"}class et{static LITERAL="literal";static VAR_REF="var_ref";static ARRAY_LITERAL="array_literal"}class tt{static STRING="string";static NUMBER="number";static BOOLEAN="boolean"}class at{type=tt.STRING;value=""}class nt{argKind=et.LITERAL;literalType;literalValue;variableScope;variableKey;arrayItems}class st{kind=Ze.CALL;funcName="";args=[];negate=!1}class rt{kind=Ze.GROUP;logicalOp="and";children=[];negate=!1}class ot{root=new rt}class it{ifExpression="";conditionTree;actionList=[]}class ct{actionCategory=Ye.CONDITION;ifExpression="";conditionTree;ifActionList=[];elseIfBranchList=[];elseActionList=[]}class lt{actionCategory=Ye.COUNT_LOOP;loopCount=1;loopCountRef;actionList=[]}class dt{static BEFORE_ACTION="before_action";static AFTER_ACTION="after_action"}class _t{actionCategory=Ye.EXPRESSION_LOOP;checkExpression="";conditionTree;checkExpressionPosition=dt.BEFORE_ACTION;actionList=[]}class mt{matchValue=new Qe;actionList=[]}class Et{actionCategory=Ye.SWITCH;subject=new je;caseList=[];defaultActionList=[]}class pt{static SYSTEM_COMMON_WAIT="system_common_wait";static COMPONENT_GENERAL_CHANGE_VISIBILITY="component_general_change_visibility";static COMPONENT_GENERAL_CHANGE_TRANSFORM="component_general_change_transform";static COMPONENT_GENERAL_PLAY_TRANSITION_ANIMATION="component_general_play_transition_animation";static COMPONENT_GENERAL_STOP_TRANSITION_ANIMATION="component_general_stop_transition_animation";static COMPONENT_2D_GENERAL_CHANGE_DEFORMATION_SETTINGS="component_2d_general_change_deformation_settings";static COMPONENT_GENERAL_AUDIO_SOURCE_PLAY_CONTROL="component_general_audio_source_play_control";static COMPONENT_GENERAL_AUDIO_SOURCE_PAUSE="component_general_audio_source_pause";static COMPONENT_GENERAL_AUDIO_SOURCE_CHANGE_LOOP_MODE="component_general_audio_source_change_loop_mode";static COMPONENT_2D_IMAGE_CHANGE_SOURCE="component_2d_image_change_source";static COMPONENT_2D_VIDEO_CHANGE_SOURCE="component_2d_video_change_source";static COMPONENT_2D_VIDEO_CHANGE_PLAY_STATE="component_2d_video_change_play_state";static COMPONENT_2D_VIDEO_CHANGE_MUTE_STATE="component_2d_video_change_mute_state";static COMPONENT_2D_TEXT_CHANGE_SOURCE="component_2d_text_change_source";static COMPONENT_2D_PANEL_CHANGE_SCENE="component_2d_panel_change_scene";static COMPONENT_2D_PANEL_BUTTON_CHANGE_ENABLED="component_2d_panel_button_change_enabled";static COMPONENT_TAG_SIMULATE_CLICK="component_tag_simulate_click";static COMPONENT_3D_BOX_CHANGE_COLOR="component_3d_box_change_color";static COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP="component_3d_model_play_animation_clip";static COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP="component_3d_model_stop_animation_clip";static INFORMATION_CONTENT_CARD_SHOW="information_content_card_show";static INFORMATION_CONTENT_CARD_CLOSE="information_content_card_close";static INFORMATION_LINK_OPEN="information_link_open";static INFORMATION_LINK_CLOSE="information_link_close";static AUDIO_CENTER_PLAY_LIST="audio_center_play_list";static AUDIO_CENTER_PAUSE="audio_center_pause";static SWEEP_CHANGE_ENABLED="sweep_change_enabled";static SWEEP_CHANGE_PANORAMA="sweep_change_panorama";static SWEEP_MARKER_CHANGE_ENABLED="sweep_marker_change_enabled";static SWEEP_RESET_TO_DEFAULT="sweep_reset_to_default";static SWEEP_ONLY_ENABLE_CURRENT="sweep_only_enable_current";static CAMERA_MOVE_TO="camera_move_to";static CAMERA_DOLLY_MOVE="camera_dolly_move";static CAMERA_DOLLY_STOP="camera_dolly_stop";static NAVIGATION_START="navigation_start";static NAVIGATION_STOP="navigation_stop";static LOGIC_VARIABLE_MODIFY="logic_variable_modify";static LOGIC_VARIABLE_NUMBER_ADD="logic_variable_number_add";static LOGIC_VARIABLE_NUMBER_SUBTRACT="logic_variable_number_subtract";static LOGIC_VARIABLE_STRING_APPEND="logic_variable_string_append";static LOGIC_VARIABLE_STRING_TRIM_END="logic_variable_string_trim_end";static LOGIC_VARIABLE_STRING_ADVANCED="logic_variable_string_advanced";static LOGIC_VARIABLE_BOOLEAN_TOGGLE="logic_variable_boolean_toggle";static FLOW_ENTER="flow_enter";static FLOW_EXIT="flow_exit";static SEND_BROADCAST="send_broadcast";static SYSTEM_STATE_SCOPE_CREATE="system_state_scope_create";static SYSTEM_STATE_SCOPE_SWITCH="system_state_scope_switch";static SYSTEM_STATE_SCOPE_DESTROY="system_state_scope_destroy";static MONITOR_CHANGE_ENABLED="monitor_change_enabled";static MONITOR_SWITCH_ACTIVE_TAB="monitor_switch_active_tab";static MONITOR_COMPONENT_CHANGE_VISIBILITY="monitor_component_change_visibility";static MONITOR_VIDEO_CHANGE_PLAY_STATE="monitor_video_change_play_state";static MONITOR_VIDEO_CHANGE_MUTE_STATE="monitor_video_change_mute_state";static MONITOR_CHANGE_BADGE_TEXT="monitor_change_badge_text";static MONITOR_CHANGE_BADGE_STYLE="monitor_change_badge_style";static MONITOR_SWITCH_ACTIVE_SCENE="monitor_switch_active_scene";static MONITOR_CHANGE_POPUP_VISIBLE="monitor_change_popup_visible";static LAYER_CHANGE_VISIBILITY="layer_change_visibility";static HAMBURGER_MENU_NODE_CHANGE_VISIBILITY="hamburger_menu_node_change_visibility";static HAMBURGER_MENU_CHANGE_OPEN_STATE="hamburger_menu_change_open_state";static HAMBURGER_MENU_GROUP_CHANGE_EXPANDED="hamburger_menu_group_change_expanded";static CANVAS_COMPONENT_CHANGE_VISIBILITY="canvas_component_change_visibility";static SYSTEM_UI_SETTINGS_CHANGE="system_ui_settings_change";static MESSAGE_CARD_CHANGE_SHOW_STATE="message_card_change_show_state";static MESSAGE_CARD_SHOW="message_card_show";static MESSAGE_CARD_HIDE="message_card_hide";static MESSAGE_CARD_CREATE_TEMPORARY="message_card_create_temporary";static MESSAGE_CARD_DESTROY_TEMPORARY="message_card_destroy_temporary";static TTS_PLAY_VOICE="tts_play_voice";static TTS_REALTIME_STREAM="tts_realtime_stream";static BACKGROUND_THREAD_START="background_thread_start";static BACKGROUND_THREAD_PAUSE="background_thread_pause";static BACKGROUND_THREAD_STOP="background_thread_stop";static AI_AGENT_ACTIVATE="ai_agent_activate";static AI_AGENT_HIDE="ai_agent_hide";static AI_AGENT_WAKE="ai_agent_wake";static AI_AGENT_ACTIVATE_AND_SEND_USER_MESSAGE="ai_agent_activate_and_send_user_message";static AI_AGENT_ACTIVATE_AND_INJECT_DIALOGUE="ai_agent_activate_and_inject_dialogue";static AI_AGENT_INJECT_HIDDEN_STATE_MESSAGE="ai_agent_inject_hidden_state_message";static AI_AGENT_ACTIVATE_AND_INJECT_ASSISTANT_MESSAGE="ai_agent_activate_and_inject_assistant_message";static SYSTEM_OPEN_WEBPAGE="system_open_webpage";static SYSTEM_COLOR_SPACE_SCENE_TINT="system_color_space_scene_tint";static SYSTEM_COLOR_SPACE_DISPLAY_BRIGHTNESS="system_color_space_display_brightness";static SYSTEM_SET_INTERACTIVE_STATE="system_set_interactive_state";static AUDIO_CENTER_SET_VOLUME="audio_center_set_volume";static ABILITY_ENABLE="ability_enable";static ABILITY_STOP="ability_stop";static CLOUD_FORM_SHOW_DIALOG="cloud_form_show_dialog";static CLOUD_FORM_COLLECT_FIELD="cloud_form_collect_field";static CLOUD_FORM_SUBMIT="cloud_form_submit";static CLOUD_FORM_RESET="cloud_form_reset";static HIT_ANALYTICS_EVENT="hit_analytics_event";static POPUP_USER_FORM_SHOW_DIALOG="popup_user_form_show_dialog";static LOGIC_RANDOM_NUMBER="logic_random_number";static LOGIC_RANDOM_COLOR="logic_random_color";static LOGIC_CURRENT_TIME="logic_current_time";static LOGIC_RANDOM_PICK_STRING="logic_random_pick_string";static LOGIC_RANDOM_PICK_NUMBER="logic_random_pick_number";static LOGIC_RANDOM_PICK_BOOLEAN="logic_random_pick_boolean";static LOGIC_RANDOM_PICK_COLOR="logic_random_pick_color";static LOGIC_RANDOM_PICK_CSS_COLOR="logic_random_pick_css_color";static LOGIC_RANDOM_PICK_FROM_RECOMMEND_OPTIONS="logic_random_pick_from_recommend_options";static VISUALIZATION_CONTROLLER_POP="visualization_controller_pop";static VISUALIZATION_CONTROLLER_HIDE="visualization_controller_hide";static VISUALIZATION_CONTROLLER_CLOSE_ALL="visualization_controller_close_all"}class Tt{abilityId="";contextVariableOverrides={};contextVariableOverrideRefs}class gt{abilityId=""}class At{}class Ct{duration=1e3;durationRef}class ut{componentIdList=[];visibilityState=!0;visibilityStateRef}class Ot{componentId="";changeType="translate";value=new a(0,0,0);valueXRef;valueYRef;valueZRef}class St{componentId="";transitionAnimationId="";waitForComplete=!1}class It{componentId="";deformationSettings=new se}class Lt{componentId="";changeType="next";sourceId=""}class Nt{componentId="";changeType="next";sourceId=""}class Rt{componentId="";changeType="next";sourceId="";autoPlay=!1;autoPlayRef;forceUnmute=!1;forceUnmuteRef}class yt{componentId="";play=!0;playRef}class Pt{componentId="";mute=!0;muteRef}class Mt{componentId="";faceColor=c.createColorRgba(0,0,0,1);faceColorRef;borderColor=c.createColorRgba(0,0,0,1);borderColorRef;hoverFaceColor=c.createColorRgba(0,0,0,1);hoverFaceColorRef;hoverBorderColor=c.createColorRgba(0,0,0,1);hoverBorderColorRef}class bt{componentId="";overrideAutoMoveCamera;moveTransitionMs}class ht{componentId="";sceneId=""}class Dt{componentId="";sceneId="";buttonId="";enabled=!0;enabledRef}class ft{componentId="";changeType="next";audioIndex=-1;audioId=""}class wt{componentId=""}class vt{componentId="";loopMode=N.NO_LOOP}class Vt{audioListId="";audioId="";interruptIfPlaying=!1}class Ut{componentId="";animationClipId="";waitForComplete=!1}class kt{destinationType="sweep";componentId="";vrFovId="";fovLink="";fovLinkSnapshotSrc="";fovLinkCameraRotation=new n(0,0);fovLinkSweepId="";sweepId="";navigationMode=b.MANUAL;autoRecalculate=!0;autoRecalculateDistanceThreshold=.5;pathColor=c.createColorByStr("#03b203")}class Bt{destinationType="sweep";componentId="";vrFovId="";fovLink="";fovLinkSnapshotSrc="";fovLinkCameraRotation=new n(0,0);fovLinkSweepId="";sweepId="";transitionType=r.FLY;transitionTime=1e3;transitionTimeRef}class Gt{dollyPathId=""}class xt{}class Ft{sweepIdList=[];enabled=!0;enabledRef;mode="set"}class Ht{sweepId="";panoramaId=""}class Xt{markerIdList=[];enabled=!0;enabledRef;mode="set"}class Wt{}class Yt{}class Kt{contentCardId="";showStyle=U.DRAWER}class Jt{url="";urlRef;isOpenWithExternal=!1;isOpenWithExternalRef}class zt{variableKey="";variableScope;value="";valueRef}class qt{variableKey="";variableScope;value=0;valueRef}class jt{variableKey="";variableScope;sourceType="fixed";content="";contentRef}class $t{variableKey="";variableScope;length=1;lengthRef}class Qt{variableKey="";variableScope;expression=""}class Zt{variableKey="";variableScope}class ea{flowId="";forceStopRunning=!1}class ta{}class aa{fieldKey="";value=new Ae}class na{channelId="";payloadValueList=[]}class sa{static DEFAULT="default";static CURRENT="current";static SPECIFIC="specific"}class ra{scopeId="";scopeIdRef;branchFrom=sa.DEFAULT;branchFromScopeId="";branchFromScopeIdRef;activate=!0}class oa{scopeId="";scopeIdRef}class ia{scopeId="";scopeIdRef;activateAfterScopeId="default";activateAfterScopeIdRef}class ca{monitorId="";enabled=!0;enabledRef}class la{tabId=""}class da{monitorId="";componentIdList=[];visible=!0;visibleRef}class _a{static PLAY="play";static PAUSE="pause";static TOGGLE="toggle"}class ma{static MUTE="mute";static UNMUTE="unmute";static TOGGLE="toggle"}class Ea{monitorId="";componentId="";changeType=_a.TOGGLE;unmuteOnPlay=!1;restartFromBeginning=!1}class pa{monitorId="";componentId="";changeType=ma.TOGGLE}class Ta{monitorId="";badgeText="";badgeTextRef}class ga{monitorId="";badgeStyleRef;badgeBgColorRef;badgeTextColorRef}class Aa{monitorId="";sceneId="";sceneIdRef}class Ca{static SHOW="show";static HIDE="hide";static TOGGLE="toggle"}class ua{monitorId="";changeType=Ca.TOGGLE}class Oa{hamburgerMenuNodeId="";componentIdList=[];visible=!0;visibleRef}class Sa{layerIdList=[];visible=!0;visibleRef}class Ia{nodeIdList=[];visible=!0;visibleRef}class La{open=!0;openRef}class Na{groupNodeIdList=[];expanded=!0;expandedRef}class Ra{settingKey="";value=!0;valueRef}class ya{messageCardIdList=[];showState=!0;showStateRef}class Pa{messageCardId=""}class Ma{messageCardId=""}class ba{card=new X;key="";keepOnlyLatestForKey=!1;closable=!0}class ha{key="";destroyAll=!1}class Da{static SIMPLE="simple";static EXPRESSION="expression"}class fa{voiceId="";textMode="simple";text=new A;textRef;textExpression="";showSubtitle=!0;waitForComplete=!0;languageCode="";speed=1;componentId=""}class wa{voiceId="";textMode="simple";text=new A;textRef;textExpression="";showSubtitle=!0;waitForComplete=!1;languageCode="";speed=1;componentId=""}class va{threadId=""}class Va{agentId=""}class Ua{agentId=""}class ka{static AUTO="auto";static ACT_AND_REPLY="act_and_reply";static ACT_NO_REPLY="act_no_reply"}class Ba{agentId="";wakePromptId="";hasMessage=!1;message=new A;workStyle="auto"}class Ga extends Va{userMessage=new A}class xa extends Va{userMessage=new A;assistantReply=new A;pseudoStreamCharIntervalMs}class Fa extends Va{stateMessage=""}class Ha extends Va{assistantMessage=new A;pseudoStreamCharIntervalMs}class Xa{static DIALOG="dialog";static FLOATING_DRAWER="floating-drawer";static PUSHED_DRAWER="pushed-drawer"}class Wa{url="";urlRef;multiLangUrl;pcMode="dialog";width=720;height=480;mobileHeight=70;title;showTitleBar=!0;closeOnMaskClick=!0;forceExternalBrowser=!1}class Ya{interactive=!0;interactiveRef}class Ka{volume=100;volumeRef}class Ja{color=c.createColorRgba(255,255,255,1);animated=!0;durationMs=800}class za{brightness=1;brightnessRef;animated=!0;durationMs=800}class qa{static LITERAL="LITERAL";static EXPRESSION="EXPRESSION"}class ja{cloudFormDataKey="";onSubmitSuccessActions=[];onAlreadySubmittedActions=[]}class $a{cloudFormDataKey="";fieldDataKey="";valueMode=qa.LITERAL;literalValue=null;expression=""}class Qa{cloudFormDataKey="";onSuccessActions=[];onFailActions=[]}class Za{cloudFormDataKey=""}class en{static LITERAL="LITERAL";static USER_VARIABLE="USER_VARIABLE";static EXPRESSION="EXPRESSION"}class tn{fieldKey="";valueMode=en.LITERAL;literalValue=null;variableKey="";variableScope;expression=""}class an{analyticsEventDataKey="";fieldBindings=[]}class nn{fieldKey="";label=new A;description=new A;placeholder=new A;required=!0;dataType=Ge.STRING;defaultValue=null;control=new We;boundVariableScope="";boundVariableKey=""}class sn{title=new A;description=new A;submitButtonText=new A;cancelButtonText=new A;showCancelButton=!0;blockInteraction=!0;closeOnOverlayClick=!1;synchronous=!0;fields=[];onSubmitSuccessActions=[];onCancelActions=[]}class rn{target=new Ce;min=0;max=1;integerOnly=!1}class on{static RANDOM="random";static COOL="cool";static WARM="warm";static PASTEL="pastel";static VIVID="vivid";static GRAY="gray"}class cn{target=new Ce;palette=on.RANDOM;randomAlpha=!1;fixedAlpha=1}class ln{static ISO="iso";static UNIX_MS="unix_ms";static UNIX_S="unix_s";static DATE_STRING="date_string";static TIME_STRING="time_string"}class dn{target=new Ce;outputType=ln.ISO}class _n{target=new Ce;candidates=[]}class mn{target=new Ce;candidates=[]}class En{target=new Ce;candidates=[]}class pn{target=new Ce;candidates=[]}class Tn{target=new Ce;candidates=[]}class gn{target=new Ce}class An{controllerKey="";keepOnlyLatestForKey=!1;iconSrc="";title=new A;description=new A;buttonList=[];overrideAppearance=!1;appearanceOverride=new H;reportToAgentId}class Cn{controllerKey=""}class un{}function On(e,t){return{vr:e,ar:t}}const Sn=On(!0,!1),In=On(!0,!0),Ln=On(!1,!0),Nn={[pt.CAMERA_MOVE_TO]:Sn,[pt.CAMERA_DOLLY_MOVE]:Sn,[pt.CAMERA_DOLLY_STOP]:Sn,[pt.SWEEP_CHANGE_ENABLED]:Sn,[pt.SWEEP_CHANGE_PANORAMA]:Sn,[pt.SWEEP_MARKER_CHANGE_ENABLED]:Sn,[pt.SWEEP_RESET_TO_DEFAULT]:Sn,[pt.SWEEP_ONLY_ENABLE_CURRENT]:Sn,[pt.COMPONENT_TAG_SIMULATE_CLICK]:Sn,[pt.SYSTEM_COLOR_SPACE_SCENE_TINT]:Sn,[pt.SYSTEM_COLOR_SPACE_DISPLAY_BRIGHTNESS]:Sn};function Rn(e){return e&&Nn[e]||In}function yn(){return Nn}class Pn{boundVariableScope="";boundVariableKey="";dataType=Ge.STRING;control=new We;label=new A;description=new A;placeholder=new A;labelColor="";descriptionColor="";commitTextOnBlur=!0}class Mn extends T{name="";introduce="";code="";adItemList=[]}class bn{type="image";name="";introduce="";imageSeconds=5;contentSrc="";chromaKeySettings=new _}class hn{isAiEnabled=!0;welcomeMessage=new A}class Dn extends T{assetDataKey="";position=new a(0,0,0);rotation=new a(0,0,0);scale=new a(1,1,1);color=c.createColorRgb(20,20,20);name="";description="";snapshotSrc="";bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode=""}class fn{bgColor=c.createColorRgba(255,255,255,.55);textColor=c.createColorByStr("#4e5969");iconColor=c.createColorByStr("#4e5969");accentColor=c.createColorByStr("#1677ff");blur=26;cornerRadius=16;textShadow=function(){const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.12),e}();iconShadow=function(){return new x}();panelShadow=function(){const e=new x;return e.enabled=!0,e.offsetX=0,e.offsetY=4,e.blur=14,e.color=c.createColorRgba(0,0,0,.16),e}();iconTintEnabled=!1}class wn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class vn{static CENTER="center";static LEFT="left";static RIGHT="right"}class Vn{enabled=!0;boxWidth=160;boxHeight=56;objectFit="contain";objectAlign="center"}class Un{imageSrc="";clickUrl="";backgroundColor=c.createColorRgba(0,0,0,0);pcConfig=new Vn;mobileConfig=new Vn;unityConfig=new Vn}class kn{enabledShare=!0;enabledFullScreen=!0;enabledSceneBtn=!0;enabledFovBtn=!0;enabledD3ModeBtn=!0;enabledFloorPlanModeBtn=!0;enabledFloorSelectBtn=!0;enabledMeasurementBtn=!0;enabledFlowBtn=!1;enabledMinimap=!0;enabledStaffLogin=!1;enabledGuestLogin=!1;enabledHamburgerMenu=!0;vrDefaultGlobalMute=!1;arDefaultGlobalMute=!1;playerAppearance=new H;floatingLayerStyle=new fn;logoConfig=new Un;vrMainBarItems=[];vrInfoBarItems=[];arBottomItems=[];arInfoItems=[]}class Bn{enabledVrInfoTemplate=!1;vrInfoTemplateDataKey="";vrInfoTemplateItemValueList=[]}class Gn{templateItemDataKey="";templateItemValue=""}class xn{vrShadowEnabled=!1;vrShadowOpacity=.3;vrShadowMapSize=2048;arShadowEnabled=!1;arShadowStrength=.5;arShadowResolution="high"}class Fn{toneMapping="aces";toneMappingExposure=1;displayBrightness=1;sceneTint=c.createColorRgba(255,255,255,1)}function Hn(e,t,a=g.EN){if(null==e)return"";if("string"==typeof e)return e;if(e.only_use_original_content)return e.original_content??"";const n=e[t];if(null!=n&&""!==n)return n;if(a!==t){const t=e[a];if(null!=t&&""!==t)return t}return e.original_content??""}function Xn(e="",t=!0){const a=new A;return a.original_content=e,a.only_use_original_content=t,a}function Wn(e){if(null==e)return new A;if("string"==typeof e){const t=new A;return t.original_content=e,t.only_use_original_content=!0,t}return e}function Yn(e){if(!e)return;const t=e.toLowerCase();return t.startsWith("zh-cn")||"zh"===t||t.startsWith("zh-hans")?"zh_cn":t.startsWith("zh-tw")||t.startsWith("zh-hant")?"zh_tw":t.startsWith("zh-hk")?"zh_hk":t.startsWith("en")?"en":t.startsWith("ko")?"kr":t.startsWith("ja")?"jp":t.startsWith("th")?"th":t.startsWith("vi")?"vn":t.startsWith("es")?"es":t.startsWith("fr")?"fr":t.startsWith("de")?"de":void 0}function Kn(e,t){if(!e||0===e.length)return g.EN;const a=Yn(t);return a&&e.includes(a)?a:e[0]}class Jn{static VIDEO="video";static IMAGE="image"}class zn{static FILL="fill";static CONTAIN="contain";static COVER="cover";static NONE="none";static SCALE_DOWN="scale-down"}class qn{static PLAY="play";static TEXT="text"}class jn{coverImageSrc="";coverVideoSrc="";coverBackgroundColor=c.createColorRgba(255,255,255,1);coverBackgroundType=Jn.IMAGE;coverContentFitType=zn.CONTAIN;coverMaskColor=c.createColorRgba(255,255,255,.5);coverMaskBlur=10;coverTitle=new A;coverDescription=new A;enabledEnterVrButton=!1;enterVrButtonType=qn.PLAY;enterButtonBackgroundColor=c.createColorRgba(64,158,255,1);enterButtonForegroundColor=c.createColorRgba(255,255,255,1);enterButtonShadowColor=c.createColorRgba(64,158,255,1);textButtonContent=Xn("Enter");constructor(){this.coverBackgroundColor=c.createColorRgba(0,0,0,1),this.coverBackgroundType=Jn.IMAGE,this.coverContentFitType=zn.CONTAIN,this.coverMaskColor=c.createColorRgba(0,0,0,.5),this.coverMaskBlur=10,this.enabledEnterVrButton=!1,this.enterVrButtonType=qn.PLAY,this.enterButtonBackgroundColor=c.createColorRgba(64,158,255,1),this.enterButtonForegroundColor=c.createColorRgba(255,255,255,1),this.enterButtonShadowColor=c.createColorRgba(64,158,255,1),this.textButtonContent=Xn("Enter")}}class $n{vrInitCompleteActionList=[];vrInitLocalVariableList=[];arInitCompleteActionList=[];arInitLocalVariableList=[];allInitCompleteActionList=[];allInitLocalVariableList=[];variablePreFillEnabled=!1;variablePreFillList=[];enterVrButtonTitle=new A;description=new A}class Qn{variableKey="";defaultValue=new A;title=new A;hint=new A;required=!0}class Zn{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class es{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class ts{static LEFT="left";static CENTER="center";static RIGHT="right"}class as{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class ns{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class ss{static SOLID="solid";static GRADIENT="gradient";static STRIPED="striped";static STRIPED_ANIMATED="striped-animated";static GLOW="glow"}class rs{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class os{static LEFT="left";static RIGHT="right";static TOP="top"}class is{static BELOW="below";static CORNER="corner"}class cs extends T{type=Zn.TEXT;name="";remark="";width=200;height=150;rotation=0;opacity=1;backgroundColor="rgba(255,255,255,0)";hoverStyleEnabled=!1;hoverBackgroundColor="rgba(255,255,255,0)";hoverOpacity=1;visible=!0;zIndex=1;radius=0;border="none";paddingX=6;paddingY=6;clickActionList=[];css={};script=""}class ls extends cs{type=Zn.IMAGE;imageSrc="";imageMode=es.FILL}class ds extends cs{type=Zn.TEXT;width=150;height=30;positionX=0;positionY=0;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=as.MIDDLE;textAlign=ts.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class _s extends cs{type=Zn.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=ss.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=ns.HORIZONTAL;progress="50"}class ms extends cs{type=Zn.VIDEO;width=240;height=135;backgroundColor="rgba(0,0,0,1)";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=rs.COVER}class Es extends cs{type=Zn.BUTTON;width=120;height=36;radius=999;paddingX=14;paddingY=8;backgroundColor="#1677ff";hoverBackgroundColor="#4096ff";textContent=new A;textColor="rgba(255,255,255,1)";textSize=14;textBold=!1;textItalic=!1;textUnderline=!1;icon=new L;iconPosition=os.LEFT;iconSize=18}class ps extends cs{type=Zn.VARIABLE_CONTROL;width=200;height=60;bound=new Pn}class Ts{static FLOATING="floating";static POPUP="popup"}class gs extends T{name="";description="";size=new n(360,270);radius=12;backgroundColor=c.createColorRgba(255,255,255,.5);backgroundBlur=10;componentList=[]}class As extends T{name="";remark="";title=new A;description="";icon=new L;defaultEnabled=!0;displayMode=Ts.FLOATING;sceneDataList=[];defaultSceneId="";badgeText=new A;badgeStyle=is.CORNER;badgeBgColor="rgba(255,77,79,1)";badgeTextColor="rgba(255,255,255,1)";size=new n(360,270);radius=12;backgroundColor=c.createColorRgba(255,255,255,.5);backgroundBlur=10;componentList=[]}const Cs="#262626";class us{background=c.createColorRgba(0,0,0,0);textColor=c.createColorByStr("#ffffff");iconColor=c.createColorByStr("#ffffff");textShadow=(()=>{const e=new x;return e.enabled=!1,e.offsetX=0,e.offsetY=1,e.blur=2,e.color=c.createColorRgba(0,0,0,.55),e})();iconShadow=new x;iconTintEnabled=!0}function Os(){const e=new us;return e.background=c.createColorRgba(0,0,0,.5),e}function Ss(e,t){if(e&&e.rootStyleOverrideEnabled){const t=e.rootStyle||Os();return{background:l.colorToRgbaString(t.background),inheritBackground:"transparent",textColor:l.colorToRgbaString(t.textColor),iconColor:l.colorToRgbaString(t.iconColor),textShadow:F(t.textShadow,"text"),iconShadow:F(t.iconShadow,"drop"),iconTintEnabled:!1!==t.iconTintEnabled}}const a=t||new fn;return{background:l.colorToRgbaString(a.bgColor),inheritBackground:"transparent",textColor:l.colorToRgbaString(a.textColor),iconColor:l.colorToRgbaString(a.iconColor),textShadow:F(a.textShadow,"text"),iconShadow:F(a.iconShadow,"drop"),iconTintEnabled:!!a.iconTintEnabled}}function Is(e,t){const a=e&&e.style||new us;if(e&&e.styleOverrideEnabled){const e=l.colorToRgbaString(a.background);return{background:e,inheritBackground:e,textColor:l.colorToRgbaString(a.textColor),iconColor:l.colorToRgbaString(a.iconColor),textShadow:F(a.textShadow,"text"),iconShadow:F(a.iconShadow,"drop"),iconTintEnabled:!1!==a.iconTintEnabled}}const n=t.inheritBackground||"transparent";return{background:n,inheritBackground:n,textColor:t.textColor,iconColor:t.iconColor,textShadow:t.textShadow,iconShadow:t.iconShadow,iconTintEnabled:t.iconTintEnabled}}class Ls{static GROUP="group";static TEXT_ITEM="text_item";static MEDIA_CAROUSEL_ITEM="media_carousel_item";static GRID_MEDIA_ITEM="grid_media_item";static WATERFALL_MEDIA_ITEM="waterfall_media_item";static WEBVIEW_ITEM="webview_item";static RICH_TEXT_ITEM="rich_text_item";static CANVAS_ITEM="canvas_item";static IMAGE_ITEM="image_item";static GRID_IMAGE_ITEM="grid_image_item";static WATERFALL_IMAGE_ITEM="waterfall_image_item";static VIDEO_ITEM="video_item"}class Ns{static IMAGE="image";static VIDEO="video"}class Rs extends T{mediaType=Ns.IMAGE;url="";poster="";caption=new A;aspectRatio=0;buttonList=[]}class ys{static FLOATING="floating";static PUSHED="pushed"}class Ps{static ELLIPSIS="ellipsis";static WRAP="wrap"}class Ms extends T{nodeType=Ls.TEXT_ITEM;name="";color=Cs;backgroundColor="";styleOverrideEnabled=!1;style=new us;visible=!0;requireXrReady=!0}class bs extends Ms{title=new A;icon=new L;titleOverflowMode=Ps.ELLIPSIS}class hs extends bs{constructor(){super(),this.nodeType=Ls.TEXT_ITEM}actionList=[]}class Ds extends bs{constructor(){super(),this.nodeType=Ls.MEDIA_CAROUSEL_ITEM}description=new A;mediaList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Us.COVER}class fs{url="";actionList=[]}class ws extends bs{constructor(){super(),this.nodeType=Ls.IMAGE_ITEM}description=new A;imageList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Us.COVER}class vs{url="";caption=new A;actionList=[];aspectRatio=0}class Vs{static LEFT="left";static FILL="fill";static CENTER="center";static STRETCH="stretch"}class Us{static COVER="cover";static CONTAIN="contain";static FILL="fill"}class ks extends bs{constructor(){super(),this.nodeType=Ls.GRID_MEDIA_ITEM}description=new A;mediaList=[];columns=3;aspectRatio=1;gap=6;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";objectFit=Us.COVER;lastRowMode=Vs.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class Bs extends bs{constructor(){super(),this.nodeType=Ls.GRID_IMAGE_ITEM}description=new A;imageList=[];columns=3;aspectRatio=1;gap=6;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";objectFit=Us.COVER;lastRowMode=Vs.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class Gs{minWidth=0;columns=2}class xs extends bs{constructor(){super(),this.nodeType=Ls.WATERFALL_MEDIA_ITEM}description=new A;mediaList=[];columns=2;responsiveBreakpoints=[];columnGap=8;rowGap=8;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class Fs extends bs{constructor(){super(),this.nodeType=Ls.WATERFALL_IMAGE_ITEM}description=new A;imageList=[];columns=2;responsiveBreakpoints=[];columnGap=8;rowGap=8;cornerRadius=0;borderWidth=0;borderColor="rgba(0,0,0,0.08)";enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class Hs{url="";poster=""}class Xs extends bs{constructor(){super(),this.nodeType=Ls.VIDEO_ITEM}description=new A;videoList=[];autoplay=!1;muted=!0;loop=!1;height=0;objectFit=Us.CONTAIN}class Ws extends bs{constructor(){super(),this.nodeType=Ls.WEBVIEW_ITEM}url="";height=240;allowFullscreen=!1}class Ys extends bs{constructor(){super(),this.nodeType=Ls.GROUP}children=[];defaultExpanded=!0}function Ks(){return{type:"doc",content:[]}}class Js extends Ms{constructor(){super(),this.nodeType=Ls.RICH_TEXT_ITEM}content={type:"doc",content:[]}}class zs extends bs{constructor(){super(),this.nodeType=Ls.CANVAS_ITEM}designWidth=380;height=240;canvasBackgroundColor="rgba(0, 0, 0, 0.5)";componentList=[]}class qs{drawerTitle=new A;drawerTitleColor="";drawerDescription=new A;drawerDescriptionColor="";rootStyleOverrideEnabled=!1;rootStyle=Os();nodeList=[];pcLayoutMode=ys.FLOATING;backgroundColor="";backgroundBlur=0;edgeGap=0;pcWidth=380;openedByDefault=!1}class js{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class $s{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class Qs{static LEFT="left";static CENTER="center";static RIGHT="right"}class Zs{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class er{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class tr{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class ar{static LEFT="left";static RIGHT="right";static TOP="top"}class nr extends T{type=js.TEXT;name="";remark="";width=200;height=60;positionX=0;positionY=0;rotation=0;opacity=1;visible=!0;zIndex=1;backgroundColor="rgba(255,255,255,0)";hoverStyleEnabled=!1;hoverBackgroundColor="rgba(255,255,255,0)";hoverOpacity=1;radius=0;border="none";paddingX=6;paddingY=6;clickActionList=[];css={};script=""}class sr extends nr{type=js.IMAGE;imageSrc="";imageMode=$s.FILL}class rr extends nr{type=js.TEXT;width=150;height=30;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=Zs.MIDDLE;textAlign=Qs.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class or extends nr{type=js.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=ss.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=er.HORIZONTAL;progress="50"}class ir extends nr{type=js.VIDEO;width=240;height=135;backgroundColor="#000000";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=tr.COVER}class cr extends nr{type=js.BUTTON;width=120;height=36;radius=999;paddingX=14;paddingY=8;backgroundColor="#1677ff";hoverBackgroundColor="#4096ff";textContent=new A;textColor="rgba(255,255,255,1)";textSize=14;textAlign=Qs.CENTER;textBold=!1;textItalic=!1;textUnderline=!1;icon=new L;iconPosition=ar.LEFT;iconSize=18}class lr extends nr{type=js.VARIABLE_CONTROL;width=200;height=60;bound=new Pn}class dr{static buildVrContentData(e,t,a,n){const s=new Rr(e,t);return s.vrCoverSettings.coverTitle.original_content=a,s.vrCoverSettings.coverImageSrc=n,s}}class _r{isDirectToInside=!1;firstSweepPose=new o;enterFovImageSrc="";enterParams=""}class mr{min=new a(0,0,0);max=new a(0,0,0);size=new a(0,0,0)}class Er{title="";description=""}class pr{mapCode="";isSingleFrame=!1;frameCount=5;frameInterval=800;enableBlurCheck=!0;confidenceThreshold=.5;backgroundCorrectionInterval=30}class Tr{nearDistanceMax=35;refreshMoveThreshold=5;componentRevealIntervalMs=80}class gr{enabled=!0;blurVarThreshold=8;darkLumaThreshold=40;textureThreshold=4;maxCaptureRetries=15;blockedHintAfter=3}class Ar{enabled=!1;holdSeconds=15}class Cr{capture="multi";poseGatePitchAbsDeg=45;poseGateStableSec=1;multiFrameCount=3;multiFrameIntervalMs=500;autoRetryOnFailure=!0;retryDelaySec=2;guidedCaptureEnabled=!1;guidedCaptureAskUser=!1;guidedCaptureCount=6}class ur{enabled=!0;intervalSec=30}class Or{enabled=!0;distanceMeters=3;idleTimeoutSec=60}class Sr{minScore=0;factor=1;constructor(e=0,t=1){this.minScore=e,this.factor=t}}class Ir{enabled=!0;scoreTiers=[new Sr(.9,2),new Sr(.7,1),new Sr(.45,.5),new Sr(0,.25)];driftWarnMeters=.5;driftForceMeters=1.5;limitedAction="relocate_boost"}class Lr{enabled=!0;capture="single";multiFrameCount=3;multiFrameIntervalMs=500;timerTrigger=new ur;distanceTrigger=new Or;dynamic=new Ir;maxConsecutiveFailures=5;adaptiveAssistEnabled=!0;adaptiveAssistRadius=3;adaptiveAssistRadiusInitial=5;adaptiveAssistSettleSec=15;adaptiveAssistMaxAgeSec=30;smoothCorrection=!0;smoothDurationSec=.4;debugToastEnabled=!1}class Nr{apiKey="";apiBaseUrl="";requestTimeoutSec=120;retrieval="netvlad";retrievalK=20;regionRetrievalK=20;failThreshold=.2;highThreshold=.7;firstLocalizeDelaySec=1.5;jpegQuality=75;maxUploadEdge=1280;quality=new gr;abnormalHandheld=new Ar;initial=new Cr;correction=new Lr;schemaVersion=2}class Rr{version;vrDataKey="";mpModelId="";vrUnicode="";supportedLanguages=[g.EN,g.JP];vrCoverSettings=new jn;vrPlayerUiSettings=new kn;hamburgerMenu=new qs;vrInfoTemplateSettings=new Bn;arMultisetSettings=new pr;arCommonSettings=new Tr;arPositionXSettings=new Nr;vrRenderSettings=new xn;vrColorSpaceSettings=new Fn;cameraEnterSettings=new _r;sweepMarkerList=[];componentMarkerList=[];worldSizeInfo=new mr;introduceItemList=[];vrFovList=[];vrContentCardList=[];vrFloorList=[];audioCenter=new W;vrLightList=[];vrLayerList=[];vrViewList=[];sweepList=[];componentList=[];trimmerList=[];spaceFenceList=[];spaceFenceGroupList=[];abilityList=[];abilityGroupList=[];vrFlowList=[];vrStickerList=[];vrTargetList=[];vrTargetGroupList=[];vrObstacleList=[];vrObstacleGroupList=[];vrWormholeList=[];vrWormholeGroupList=[];vrAdChannelList=[];prepareSettings=new $n;vrAiSettings=new hn;aiAgentList=[];variableList=[];sharedVariableList=[];conditionWatcherList=[];stateBindingsList=[];broadcastChannelList=[];backgroundThreadList=[];cameraDollyPathList=[];monitorList=[];messageCardList=[];triggerList=[];unityNavigationModeList=[];unityNavigationParams=new y;xrVirtualFloorList=[];navigationAdConfigList=[];constructor(e,t){this.mpModelId=e,this.vrUnicode=t}}class yr extends T{name="";sequence=0;originalFloorPlanImageSrc="";mapSettings=new Pr}class Pr{floorId="";mapImageSrc="";widthScale=1;heightScale=1;horizontalOffset=0;verticalOffset=0;rotation=0}class Mr{static COMPONENT_CREATED="component_created";static COMPONENT_SHOW="component_show";static COMPONENT_HIDE="component_hide";static CLICK="click";static MOUSE_ENTER="mouse_enter";static MOUSE_LEAVE="mouse_leave";static PLAY_START="play_start";static PLAY_FINISH="play_finish";static ENTER="enter";static LEAVE="leave";static PANEL_BUTTON_CLICK="panel_button_click";static PANEL_ANSWER_CORRECT="panel_answer_correct";static PANEL_ANSWER_WRONG="panel_answer_wrong";static VARIABLE_MODIFIED="variable_modified";static CONDITION_WATCHER_TRIGGERED="expression_watcher_triggered";static MONITOR_COMPONENT_CLICK="monitor_component_click";static STICKER_ACTIVATED="sticker_activated";static STICKER_DEACTIVATED="sticker_deactivated";static VR_STARTED="vr_started";static ALL_COMPONENTS_CREATED="all_components_created";static BROADCAST_CHANNEL_MESSAGE="broadcast_channel_message"}class br{static COMPONENT_TAG="component_tag";static COMPONENT_2D_TEXT="component_2d_text";static COMPONENT_2D_ADVERTISEMENT="component_2d_advertisement";static COMPONENT_2D_VIDEO="component_2d_video";static COMPONENT_2D_IMAGE="component_2d_image";static COMPONENT_2D_PANEL="component_2d_panel";static COMPONENT_3D_BOX="component_3d_box";static COMPONENT_3D_MODEL="component_3d_model";static LOGIC_VARIABLE="logic_variable";static LOGIC_CONDITION_WATCHER="logic_expression_watcher";static SPACE_FENCE="space_fence";static SPACE_FENCE_GROUP="space_fence_group";static MONITOR_COMPONENT="monitor_component";static STICKER="sticker";static BROADCAST="broadcast";static AI_AGENT="ai_agent";static SYSTEM="system"}const hr={[br.COMPONENT_TAG]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE],[br.COMPONENT_2D_TEXT]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE],[br.COMPONENT_2D_ADVERTISEMENT]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE],[br.COMPONENT_2D_VIDEO]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE,Mr.PLAY_START,Mr.PLAY_FINISH],[br.COMPONENT_2D_IMAGE]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE],[br.COMPONENT_2D_PANEL]:[Mr.PANEL_BUTTON_CLICK,Mr.PANEL_ANSWER_CORRECT,Mr.PANEL_ANSWER_WRONG,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE],[br.COMPONENT_3D_BOX]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE],[br.COMPONENT_3D_MODEL]:[Mr.CLICK,Mr.COMPONENT_CREATED,Mr.COMPONENT_SHOW,Mr.COMPONENT_HIDE,Mr.MOUSE_ENTER,Mr.MOUSE_LEAVE,Mr.PLAY_START,Mr.PLAY_FINISH],[br.LOGIC_VARIABLE]:[Mr.VARIABLE_MODIFIED],[br.LOGIC_CONDITION_WATCHER]:[Mr.CONDITION_WATCHER_TRIGGERED],[br.SPACE_FENCE]:[Mr.ENTER,Mr.LEAVE],[br.SPACE_FENCE_GROUP]:[Mr.ENTER,Mr.LEAVE],[br.MONITOR_COMPONENT]:[Mr.MONITOR_COMPONENT_CLICK],[br.STICKER]:[Mr.STICKER_ACTIVATED,Mr.STICKER_DEACTIVATED],[br.BROADCAST]:[Mr.BROADCAST_CHANNEL_MESSAGE],[br.SYSTEM]:[Mr.VR_STARTED,Mr.ALL_COMPONENTS_CREATED]};class Dr{source=br.COMPONENT_TAG;sourceId="";type=Mr.ENTER;editorParams={}}class fr extends T{createSourceType=br.COMPONENT_2D_IMAGE;createSourceId="";name="";signal=new Dr;actionList=[];triggerTimesLimit=-1;localVariableList=[];constructor(){super()}}class wr{static DRAFT="draft";static PUBLISHED="published"}class vr{id="";name="";description="";keywords=[];status=wr.DRAFT;startStepId="";stepList=[];canvasData="";flagImageSrc="";flagImageSize=new n(1,1);flowScopeVariableList=[]}class Vr{static START="start";static FINISH="finish";static GENERAL="general";static CONDITION="condition";static GLOBAL_BROADCAST_LISTENER="global_broadcast_listener"}class Ur{static NORMAL="normal";static BUTTONS_ONLY="buttons_only";static NONE="none"}class kr{id="";type=Vr.GENERAL;name="";title=new A;description=new A;showArriveDescription=!1;arriveDescription=new A;note="";flagImageSrc="";flagImageSize=new n(1,1);iconSrc="";stepBarStyle=Ur.NORMAL;showStepBarDelay=0;buttonList=[];enterActionList=[];positionSettings=new xr;arriveRadius=5;arriveActionList=[];triggerList=[];finishInjectTriggerList=[];startCardNextStepEndpointSettings=new Hr;conditionExpression="";conditionTrueEndpointSettings=new Hr;conditionFalseEndpointSettings=new Hr;enterActionCompleteEndpointSettings=new Hr;arriveActionCompleteEndpointSettings=new Hr;stepScopeVariableList=[];broadcastListenerEntryList=[];overrideAppearance=!1;appearanceOverride=new H}class Br{actionList=[];onlyFirstArrive=!1;action}class Gr{static NONE="none";static SWEEP="sweep";static COMPONENT="component";static FOV_LINK="fov_link";static VR_FOV="vr_fov"}class xr{type=Gr.NONE;componentId="";fovLink="";fovLinkDataKey="";fovLinkSnapshotSrc="";sweepId="";rotationX=0;rotationY=0;enableDirectLocate=!1;enableNavigateAgain=!1;gotoPositionMethod=u.NAVIGATION_TO_MANUAL;vrFovId="";moveSpeed=0;pauseInterval=0}class Fr{destroyTriggerOnLeaveCurrenStep=!0;trigger=new fr;nextStepEndpointSettings=new Hr}class Hr{id="";enabled=!1;nextStepId="";lineColor=c.createColorByStr("#888888")}class Xr{id="";channelId="";actionList=[];nextStepEndpointSettings=new Hr}class Wr extends T{name="";description="";isAvailableForAi=!0;src="";showInContentMenu=!0;cameraMode=s.INSIDE;cameraPose=new i;aiGenerateIntroduceUserPrompt=""}class Yr extends T{name="";description="";keywords=[];visible=!0;children=[]}class Kr extends T{type;color=c.createColorRgb(255,255,255);enabled=!0;name="";intensity=1;floorIdList=[]}class Jr extends Kr{type="ambient"}class zr extends Kr{type="directional";position=new a(0,1,0);target=new a(0,0,0)}class qr extends Kr{type="point";position=new a(0,1,0);distance=0;decay=1}class jr{static COMPONENT_MARKER="component_marker";static SWEEP_MARKER="sweep_marker"}class $r extends T{name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);type=jr.COMPONENT_MARKER}class Qr{id="";name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);markerType=jr.COMPONENT_MARKER;markers=[]}class Zr{static M="m";static CM="cm";static MM="mm"}class eo{static M2="m2";static CM2="cm2"}class to extends T{name="";description="";visible=!0;enabledArea=!0;pointList=[];appearanceThemeColor=c.createColorRgba(255,255,255,1);area=0;distanceUnit=Zr.M;areaUnit=eo.M2}class ao{id="";position=new a(0,0,0);normal=new a(0,0,0);distance=0}class no extends T{name="";introduce="";targetArrowImageSrc="";targetArrowImageSize=new n(1,1);targetArrowImageYOffset=.6;targetArrowImageYOffsetDynamic=.4;targetArrowAdPositionOffsetY=1.5;targetArrowAdSize=new n(1,.75);targetArrowShowAdDistance=20;targetArrowAdChannelId="";leadBotAdPositionOffset=new a(0,1.5,0);leadBotAdSize=new n(1,.75);leadBotAdChannelId=""}class so extends T{groupId="default";name="";description="";scale=new a(1,1,1);position=new a(0,0,0);rotation=new a(0,0,0);originalScale=new a(1,1,1);bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode=""}class ro extends T{name="";enabled=!0;description=""}class oo extends T{dataKey="";position=new a(0,0,0);rotation=new a(0,0,0);noteDataKey="";noteType="";noteIssueState=""}class io{key="";placement="left"}function co(e,t){const a=new io;return a.key=e,a.placement=t,a}const lo=[co("fov","capsule"),co("d3","capsule"),co("floorplan","capsule"),co("floor","left"),co("flow","left"),co("measure","left"),co("mute","right"),co("share","more"),co("account","more")],_o=[co("minimap","surface"),co("monitors","surface"),co("fullscreen","surface"),co("audio","hidden"),co("hamburger","surface")],mo=[co("flow","left"),co("measure","left"),co("graffiti","left"),co("ai","left"),co("mute","right"),co("share","more"),co("account","more")],Eo=[co("monitors","surface"),co("audio","surface")],po=lo.map((e=>e.key)),To=_o.map((e=>e.key)),go=mo.map((e=>e.key)),Ao=Eo.map((e=>e.key));function Co(e,t){const a=t.find((t=>t.key===e));return a?a.placement:"left"}class uo extends T{groupId="default";name="";description="";scale=new a(1,1,1);position=new a(0,0,0);rotation=new a(0,0,0);bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode="";enterKeepSeconds=0;leaveKeepSeconds=0}class Oo extends T{name="";description="";cubeFaceColor=c.createColorRgba(255,255,0,.3)}class So{static DISTANCE="distance";static VISIBLE="visible";static VISIBLE_AND_DISTANCE="visible_and_distance"}class Io extends T{position=new a(0,0,0);rotation=new a(0,0,0);stemLength=.2;color=c.createColorRgb(20,20,20);name="";snapshotSrc="";activateType=So.VISIBLE_AND_DISTANCE;activateDistance=5;activeNeedStaySeconds=0;inactiveNeedStaySeconds=0;bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode=""}class Lo extends T{no=1;name="";description="";isAvailableForAi=!0;isVirtual=!1;alignmentType=No.ALIGNED;enabled=!0;disabledInMatterport=!1;floorId="";neighbors=[];placementType=Ro.AUTO;position=new a(0,0,0);rotation=new a(0,0,0);pointerPosition=new a(0,0,0);markerList=[];keywords=[];panoramaData=new Mo;contentCardList=[]}class No{static ALIGNED="aligned";static UNALIGNED="unaligned"}class Ro{static AUTO="auto";static MANUAL="manual";static UNPLACED="unplaced"}class yo{static IMAGE="image";static VIDEO="video"}class Po{static NONE="none";static SAME_TO_INSIDE="same_to_inside"}class Mo{default="original";sourceList=[];ballExternalViewMode=Po.NONE}class bo{id="";type=yo.IMAGE;name="";description="";keywords=[];imageSrc="";videoSrc="";muted=!0;loop=!0;opacity=1;zoomLevel=1;rotationCorrection=new a(0,0,0);allowSeeSweep=!0;allowSeeComponents=!0}class ho{primaryColor=new d;secondaryColor=new d;maskColor=new d;barMaskColor=new d}class Do extends T{name="";position=new a(0,0,0);scale=new a(1,1,1);rotation=new a(0,0,0);enabledTrimSpace=!0;enabledTrimComponent=!1;discardContents=!0;activeInPanoMode=!0}class fo extends T{startY=-99999;endY=99999;name="";floorPlanImageSrc="";floorCode="";floorPlanPointList=[new n(0,0),new n(0,0),new n(0,0)];vrSpacePointList=[new a(0,0,0),new a(0,0,0),new a(0,0,0)]}class wo extends T{name="";description="";type=vo.BASIC;bindLayerIdList=[]}class vo{static GENERAL="general";static BASIC="basic"}class Vo extends T{groupId="default";position=new a(0,0,0);rotation=new a(0,0,0);stemLength=.2;color=c.createColorRgb(205,133,63);name="";title=new A;bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode=""}class Uo extends T{name="";enabled=!0;description=""}class ko extends T{groupId="default";position=new a(0,0,0);rotation=new a(0,0,0);stemLength=.2;color=c.createColorRgb(34,139,34);name="";code="";title=new A;description=new A;showToUser=!0;importable=!1;destinationToAnotherTarget=!1;destinationTargetId="";bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode=""}class Bo extends T{name="";enabled=!0;description="";useNavigationAdConfigId=""}class Go extends T{name="";remark="";autoExecuteOnBoot=!1;executeCount=0;actionList=[];interval=1e3;localVariableList=[]}class xo extends T{name="";remark="";payloadFieldList=[];constructor(){super()}}class Fo{componentId="";description=""}class Ho{targetId="";description=""}class Xo{variableKey="";variableScope;description=""}class Wo{stickerId="";canBeActivated=!0;description=""}class Yo{spaceFenceId="";canBeActivated=!0;description=""}class Ko{spaceFenceGroupId="";canBeActivated=!0;description=""}class Jo{backgroundThreadId="";description=""}class zo{cameraDollyPathId="";description=""}class qo{abilityId="";description=""}class jo{contentCardId="";description=""}class $o{vrFovId="";description=""}class Qo{cloudFormDataKey="";description="";autoPromptToFill=!1}class Zo{knowledgeBaseDataKey="";description=""}class ei{analyticsEventDataKey="";description=""}class ti{messageCardId="";description=""}class ai{monitorId="";description=""}class ni{rolePrompt="";tonePrompt="";taskPrompt="";abilityPrompt="";limitPrompt="";behaviorRulePrompt=""}class si{reasoning_effort;temperature;max_output_tokens}class ri extends T{name="";description="";promptContent=""}class oi extends T{name="";description="";wakePrompt=""}class ii extends T{name="";autoActivate=!1;enableVoiceOutput=!1;voiceOutputComponentId="";enableVoiceInput=!1;remark="";roleName="";avatarSrc="";rolePromptSettings=new ni;skillPromptList=[];wakePromptList=[];localVariableList=[];toolSettings={};modelDataKey="";contextTokens=0;params=new si;useComponentList=[];useTargetList=[];useVariableList=[];useStickerList=[];useSpaceFenceList=[];useSpaceFenceGroupList=[];useBackgroundThreadList=[];useCameraDollyPathList=[];useAbilityList=[];useKnowledgeBaseList=[];useFovList=[];useContentCardList=[];useCloudFormList=[];useAnalyticsEventList=[];useMessageCardList=[];useMonitorList=[]}const ci=[{key:"component",toolList:[{key:"change_component_visibility",requires:["useComponentList"]},{key:"component_transition_animation",requires:["useComponentList"]},{key:"change_component_transform",requires:["useComponentList"]},{key:"component_audio_source",requires:["useComponentList"]},{key:"change_component_audio_loop_mode",requires:["useComponentList"]}]},{key:"navigation",toolList:[{key:"navigation_control",requires:["useTargetList","useFovList"]}]},{key:"camera_fov",toolList:[{key:"camera_move_to_vr_fov",requires:["useFovList"]}]},{key:"variable",toolList:[{key:"set_variable",requires:["useVariableList"]},{key:"change_number_variable",requires:["useVariableList"]},{key:"append_to_string_variable",requires:["useVariableList"]},{key:"toggle_boolean_variable",requires:["useVariableList"]}]},{key:"camera_dolly",toolList:[{key:"camera_dolly_control",requires:["useCameraDollyPathList"]}]},{key:"background_thread",toolList:[{key:"background_thread_control",requires:["useBackgroundThreadList"]}]},{key:"ability",toolList:[{key:"ability_control",requires:["useAbilityList"]}]},{key:"information_display",toolList:[{key:"query_content_cards",requires:["useContentCardList"],readOnlyInspect:!0},{key:"show_information_content_card",requires:["useContentCardList"]},{key:"close_information_content_card"},{key:"open_webpage"},{key:"close_information_link"}]},{key:"message_card",toolList:[{key:"query_message_cards",requires:["useMessageCardList"],readOnlyInspect:!0},{key:"query_message_card_detail",requires:["useMessageCardList"],readOnlyInspect:!0},{key:"change_message_card_show_state",requires:["useMessageCardList"]}]},{key:"monitor",toolList:[{key:"query_monitors",requires:["useMonitorList"],readOnlyInspect:!0},{key:"query_monitor_detail",requires:["useMonitorList"],readOnlyInspect:!0},{key:"monitor_change_enabled",requires:["useMonitorList"]},{key:"monitor_switch_active_tab",requires:["useMonitorList"]},{key:"monitor_component_change_visibility",requires:["useMonitorList"]},{key:"monitor_change_badge",requires:["useMonitorList"]}]},{key:"skill_prompt",toolList:[{key:"list_skill_prompts",requires:["skillPromptList"],readOnlyInspect:!0},{key:"search_skill_prompts",requires:["skillPromptList"],readOnlyInspect:!0},{key:"get_skill_prompt_detail",requires:["skillPromptList"],readOnlyInspect:!0}]},{key:"knowledge_base",toolList:[{key:"query_knowledge_base_records",requires:["useKnowledgeBaseList"],readOnlyInspect:!0},{key:"get_knowledge_base_record",requires:["useKnowledgeBaseList"],readOnlyInspect:!0}]},{key:"cloud_form",toolList:[{key:"query_cloud_form_submitted",requires:["useCloudFormList"],readOnlyInspect:!0},{key:"query_cloud_form_collected",requires:["useCloudFormList"],readOnlyInspect:!0},{key:"cloud_form_set_field",requires:["useCloudFormList"]},{key:"cloud_form_submit",requires:["useCloudFormList"]},{key:"cloud_form_reset",requires:["useCloudFormList"]},{key:"cloud_form_show_dialog",requires:["useCloudFormList"]}]},{key:"state_query",toolList:[{key:"query_navigation_state",requires:["useTargetList","useFovList"],readOnlyInspect:!0},{key:"query_component_state",requires:["useComponentList"],readOnlyInspect:!0}]},{key:"inspect",toolList:[{key:"query_components",readOnlyInspect:!0},{key:"query_stickers",readOnlyInspect:!0},{key:"query_space_fences",readOnlyInspect:!0},{key:"query_space_fence_groups",readOnlyInspect:!0},{key:"query_targets",readOnlyInspect:!0},{key:"query_variables",readOnlyInspect:!0},{key:"query_abilities",readOnlyInspect:!0},{key:"query_camera_dolly_paths",readOnlyInspect:!0},{key:"query_background_threads",readOnlyInspect:!0},{key:"query_vr_fovs",readOnlyInspect:!0}]},{key:"ui_control",toolList:[{key:"visualization_controller_pop"},{key:"visualization_controller_hide"},{key:"visualization_controller_close_all"},{key:"set_interactive_state"},{key:"change_layer_visibility"},{key:"audio_center_player_change_display_mode"},{key:"change_system_ui_setting"}]},{key:"hamburger_menu",toolList:[{key:"toggle_hamburger_menu_open_state"},{key:"change_hamburger_menu_node_visibility"},{key:"change_hamburger_menu_group_expanded"}]},{key:"audio",toolList:[{key:"audio_center_set_volume"},{key:"audio_center_pause"}]},{key:"temp_message_card",toolList:[{key:"create_temporary_message_card"},{key:"destroy_temporary_message_card"}]},{key:"logic_random",toolList:[{key:"wait_seconds"},{key:"query_current_time",readOnlyInspect:!0},{key:"logic_random_number"},{key:"logic_random_color"},{key:"logic_current_time",readOnlyInspect:!0},{key:"logic_random_pick"},{key:"logic_random_pick_from_recommend_options"},{key:"trim_end_string_variable"}]},{key:"tts",toolList:[{key:"tts_play_voice",requires:["enableVoiceOutput"]}]}];function li(e,t){const a=t.requires||[];return 0===a.length||a.some((t=>{if("enableVoiceOutput"===t)return!(!e||!e.enableVoiceOutput);const a=e?e[t]:void 0;return Array.isArray(a)&&a.length>0}))}function di(e,t){if(!li(e,t))return!1;const a=e&&e.toolSettings;return!(a&&!1===a[t.key])}class _i{sweepId="";needCustomRotation=!1;customRotationX=0;customRotationY=0;moveTime=1e3;stayTime=500}class mi extends T{name="";nodeList=[];destinationType="custom";vrFovId="";fovLinkDataKey="";fovLinkSweepId="";fovLinkCameraRotationX=0;fovLinkCameraRotationY=0;fovLinkSnapshotSrc="";destinationSweepId="";destinationRotationX=0;destinationRotationY=0;destinationSnapshotSrc="";finalMoveSpeed=700;disableVrControl=!0;runningPromptText=""}class Ei extends T{name="";remark=""}class pi extends T{abilityGroupId="";autoExecuteOnBoot=!1;name="";remark="";description="";contextVariableList=[];activeActionList=[];activeActionListLocalVariableList=[];keeping=!1;triggerList=[];stopActionList=[];stopActionListLocalVariableList=[]}class Ti extends ae{type=j.TYPE_2D_ADVERTISEMENT;adChannelId=""}class gi extends ae{type=j.TYPE_2D_IMAGE;sourceList=[];autoChangeInterval=0;currentImageIndex=0}class Ai{id="";src="";name="";description="";aspectRatio=1;chromaKeySettings=new _}class Ci{static MENU="menu";static ANSWERING="answering";static VARIABLE_MODIFIER="variable-modifier"}class ui extends ae{type=j.TYPE_2D_PANEL;sceneDataList=[];defaultSceneId=""}class Oi{id="";mode=Ci.MENU;name="";description="";buttonDataList=[];textDataList=[];imageDataList=[];answeringModeSettings=new Si;variableModifierModeSettings=new Ii;enumModifierModeSettings;style=new hi;snapshotImageSrc=""}class Si{confirmButton=new Mi;correctButtonIdList=[];answerType="multiple"}class Ii{variableKey="";variableType}class Li{static TEXT="text";static IMAGE="image";static BUTTON="button"}class Ni{id="";name="";type=Li.TEXT;style=new Di}class Ri{static TEXT="text";static IMAGE="image";static TEXT_LEFT_IMAGE_RIGHT="text_left_image_right";static IMAGE_LEFT_TEXT_RIGHT="image_left_text_right";static IMAGE_TOP_TEXT_BOTTOM="image_top_text_bottom";static TEXT_TOP_IMAGE_BOTTOM="text_top_image_bottom"}class yi extends Ni{type=Li.IMAGE;src="";imageMode="fill"}class Pi extends Ni{type=Li.TEXT;richText=""}class Mi extends Ni{type=Li.BUTTON;name="";optionValue="";optionLabel=new A;enumOptionValue;enabled=!0;buttonType=Ri.TEXT;buttonText="";buttonImageSrc="";buttonImageWidth=40;buttonImageHeight=40;buttonImageTextSpacing=10;hoverMaskColor=c.createColorRgba(255,255,255,.5);hoverBorderColor=c.createColorRgba(255,255,255,1);hoverBorderWidth=1;selectedMaskColor=c.createColorRgba(0,255,0,.2);selectedBorderColor=c.createColorRgba(50,205,50,.7);selectedBorderWidth=3;disabledMaskColor=c.createColorRgba(0,0,0,.65);disabledBorderColor=c.createColorRgba(100,100,100,.5);disabledBorderWidth=2;disabledClickTip=new A}class bi{width=640;height=480;borderRadius=10;opacity=1;backgroundColor=c.createColorRgba(0,0,0,0);borderColor=c.createColorRgba(0,0,0,1);borderWidth=0;borderStyle="solid"}class hi extends bi{paddingX=10;paddingY=10}class Di extends bi{x=0;y=0;zIndex=10}class fi{static LEFT="left";static CENTER="center";static RIGHT="right"}class wi{static TOP="top";static CENTER="center";static BOTTOM="bottom"}class vi{static BASIC="basic";static MARQUEE="marquee"}class Vi extends ae{type=j.TYPE_2D_TEXT;sourceList=[];mode=vi.BASIC;backgroundColor=c.createColorRgba(0,0,0,.2);fontFamily="";textColor=c.createColorRgba(255,255,255,1);paddingX=8;paddingY=4;borderRadius=5;fontSize=20;horizontalAlign="left";verticalAlign="top";currentSourceIndex=0;basicModeSettings=new ki;marqueeModeSettings=new Bi}class Ui{id="";textContent=Xn("2D Text");description=""}class ki{changeInterval=0}class Bi{autoChange=!0;speed=50;interval=1;width=15}class Gi extends ae{type=j.TYPE_2D_VIDEO;sourceList=[];autoPlay=!1;defaultLoopMode=N.NO_LOOP;defaultMute=!0;showControl=!0;showMute=!0;customControlButtonSize=!1;controlButtonDiameter=.3;additionalControlButtonDiameter=.1;currentSourceIndex=0}class xi{id="";videoSrc="";name="";description="";coverSrc="";aspectRatio=1;duration=0;chromaKeySettings=new _;playbackRate=1}class Fi extends ie{type=j.TYPE_3D_BOX;faceColor=c.createColorRgba(0,255,0,.2);borderColor=c.createColorRgba(0,255,0,.5);hoverFaceColor=c.createColorRgba(0,255,0,.5);hoverBorderColor=c.createColorRgba(0,255,0,.8);borderWidth=.005;hoverBorderSettings=new O}class Hi extends ie{type=j.TYPE_3D_MODEL;modelFormat="glb";modelSrc="";materialSrc="";coverSrc="";originalSize=new a(-1,-1,-1);innerScale=new a(-1,-1,-1);animationList=[];animationClipList=[];ignoreLighting=!1}class Xi{id="";name="";alias="";duration=0}class Wi{id="";animationId="";name="";description="";speed=1;timeRange=[0,1];loop=!1;stayAtLastFrame=!1}class Yi{static NONE="none";static TOP="top";static BOTTOM="bottom"}class Ki extends Q{type=j.TYPE_TAG;tagNonPerspective=!1;enabledDrag=!1;size=.2;enabledBackground=!0;backgroundColor=c.createColorRgb(90,156,248);enabledCustomIcon=!1;icon=new L;constructor(){super(),this.icon.colorEnabled=!0}enabledStem=!0;stemColor=c.createColorRgb(255,255,255);stemLength=.5;stemVector=new a(0,1,0);bindContentCardId="";isHoverShowContentCardBubble=!0;isClickShowContentCard=!0;clickShowContentCardStyle=U.BUBBLE;triggerButtonTitle=new A;tipTextLocation=Yi.NONE;tipTextContent=new A;tipTextColor=c.createColorRgba(255,255,255,1);tipTextBackgroundColor=c.createColorRgba(0,0,0,.4);tipTextFontSize=18;tipTextNonPerspective=!1}class Ji{static NORMAL="NORMAL";static EDIT_SCENE="EDIT_SCENE";static EDIT_COVER="EDIT_COVER"}const zi={uninitialized:1,waiting:2,loading:3,starting:4,playing:5,error:6};class qi{static UNINITIALIZED="uninitialized";static WAITING="waiting";static LOADING="loading";static STARTING="starting";static PLAYING="playing";static ERROR="error"}class ji{status=qi.UNINITIALIZED;progress=0;get statusNum(){return zi[this.status]}}class $i{type="";data={};constructor(e,t){this.type=e,this.data=t}}class Qi{static PLAYER_START="vrtalk_cmd_player_start";static PLAYER_MODE_UPDATE="vrtalk_cmd_player_mode_update";static PLAYER_XR_PREPARE_PREVIEW="vrtalk_cmd_player_xr_prepare_preview";static PLAYER_PREPARE_SETTINGS_UPDATE="vrtalk_cmd_player_prepare_settings_update";static COVER_SETTINGS_UPDATE="vrtalk_cmd_cover_settings_update";static UI_SETTINGS_UPDATE="vrtalk_cmd_ui_settings_update";static INFO_TEMPLATE_SETTINGS_UPDATE="vrtalk_cmd_info_template_settings_update";static COMPONENT_CREATE="vrtalk_cmd_component_create";static COMPONENT_UPDATE="vrtalk_cmd_component_update";static COMPONENT_DELETE="vrtalk_cmd_component_delete";static COMPONENT_FOLLOW_MOUSE="vrtalk_cmd_component_follow_mouse";static COMPONENT_CONTROLLER_MODIFY="vrtalk_cmd_component_controller";static COMPONENT_PLAY_TRANSITION_ANIMATION="vrtalk_cmd_component_play_transition_animation";static COMPONENT_STOP_TRANSITION_ANIMATION="vrtalk_cmd_component_stop_transition_animation";static COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP="vrtalk_cmd_component_3d_model_play_animation_clip";static COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP="vrtalk_cmd_component_3d_model_stop_animation_clip";static COMPONENT_2D_TEXT_AUTO_FIT="vrtalk_cmd_component_2d_text_auto_fit";static FOV_ENTER_SHOT_MODE="vrtalk_cmd_fov_enter_shot_mode";static FOV_EXIT_SHOT_MODE="vrtalk_cmd_fov_exit_shot_mode";static FOV_UPDATE="vrtalk_cmd_fov_update";static FOV_DELETE="vrtalk_cmd_fov_delete";static LAYER_UPDATE="vrtalk_cmd_layer_update";static LAYER_DELETE="vrtalk_cmd_layer_delete";static LAYER_VISIBLE="vrtalk_cmd_layer_visible";static SWEEP_UPDATE_ALL="vrtalk_cmd_sweep_update_all";static SWEEP_UPDATE="vrtalk_cmd_sweep_update";static SWEEP_DELETE_VIRTUAL="vrtalk_cmd_sweep_delete_virtual";static SWEEP_UPDATE_RENDER_FLAG_VISIBLE="vrtalk_cmd_sweep_update_render_flag_visible";static LIGHT_CREATE="vrtalk_cmd_light_create";static LIGHT_UPDATE="vrtalk_cmd_light_update";static LIGHT_DELETE="vrtalk_cmd_light_delete";static TRIMMER_CREATE="vrtalk_cmd_trimmer_create";static TRIMMER_UPDATE="vrtalk_cmd_trimmer_update";static TRIMMER_DELETE="vrtalk_cmd_trimmer_delete";static TRIMMER_CONTROLLER_MODIFY="vrtalk_cmd_trimmer_controller";static TRIMMER_EDITING_STATE_UPDATE="vrtalk_cmd_trimmer_editing_state_update";static STICKER_CREATE="vrtalk_cmd_sticker_create";static STICKER_UPDATE="vrtalk_cmd_sticker_update";static STICKER_DELETE="vrtalk_cmd_sticker_delete";static STICKER_CONTROLLER_MODIFY="vrtalk_cmd_sticker_controller";static STICKER_EDITING_STATE_UPDATE="vrtalk_cmd_sticker_editing_state_update";static TARGET_CREATE="vrtalk_cmd_target_create";static TARGET_UPDATE="vrtalk_cmd_target_update";static TARGET_DELETE="vrtalk_cmd_target_delete";static TARGET_CONTROLLER_MODIFY="vrtalk_cmd_target_controller";static TARGET_EDITING_STATE_UPDATE="vrtalk_cmd_target_editing_state_update";static TARGET_GROUP_VISIBLE_UPDATE="vrtalk_cmd_target_group_visible_update";static OBSTACLE_CREATE="vrtalk_cmd_obstacle_create";static OBSTACLE_UPDATE="vrtalk_cmd_obstacle_update";static OBSTACLE_DELETE="vrtalk_cmd_obstacle_delete";static OBSTACLE_CONTROLLER_MODIFY="vrtalk_cmd_obstacle_controller";static OBSTACLE_EDITING_STATE_UPDATE="vrtalk_cmd_obstacle_editing_state_update";static OBSTACLE_GROUP_VISIBLE_UPDATE="vrtalk_cmd_obstacle_group_visible_update";static SPACE_FENCE_CREATE="vrtalk_cmd_space_fence_create";static SPACE_FENCE_UPDATE="vrtalk_cmd_space_fence_update";static SPACE_FENCE_DELETE="vrtalk_cmd_space_fence_delete";static SPACE_FENCE_CONTROLLER_MODIFY="vrtalk_cmd_space_fence_controller";static SPACE_FENCE_EDITING_STATE_UPDATE="vrtalk_cmd_space_fence_editing_state_update";static SPACE_FENCE_GROUP_VISIBLE_UPDATE="vrtalk_cmd_space_fence_group_visible_update";static SPACE_FENCE_GROUP_COLOR_UPDATE="vrtalk_cmd_space_fence_group_color_update";static WORMHOLE_CREATE="vrtalk_cmd_wormhole_create";static WORMHOLE_UPDATE="vrtalk_cmd_wormhole_update";static WORMHOLE_DELETE="vrtalk_cmd_wormhole_delete";static WORMHOLE_CONTROLLER_MODIFY="vrtalk_cmd_wormhole_controller";static WORMHOLE_EDITING_STATE_UPDATE="vrtalk_cmd_wormhole_editing_state_update";static WORMHOLE_GROUP_VISIBLE_UPDATE="vrtalk_cmd_wormhole_group_visible_update";static ASSET_LABEL_CREATE="vrtalk_cmd_asset_label_create";static ASSET_LABEL_UPDATE="vrtalk_cmd_asset_label_update";static ASSET_LABEL_DELETE="vrtalk_cmd_asset_label_delete";static ASSET_LABEL_CONTROLLER_MODIFY="vrtalk_cmd_asset_label_controller";static ASSET_LABEL_EDITING_STATE_UPDATE="vrtalk_cmd_asset_label_editing_state_update";static FLOOR_UPDATE="vrtalk_cmd_floor_update";static INFORMATION_CONTENT_CARD_UPDATE="vrtalk_cmd_information_content_card_update";static INFORMATION_CONTENT_CARD_DELETE="vrtalk_cmd_information_content_card_delete";static MARKER_UPDATE="vrtalk_cmd_marker_update";static MARKER_DELETE="vrtalk_cmd_marker_delete";static CAMERA_MOVE_TO="vrtalk_cmd_camera_move_to";static CAMERA_MOVE_TO_INSIDE="vrtalk_cmd_camera_move_to_inside";static CAMERA_MOVE_TO_VR_FOV="vrtalk_cmd_camera_move_to_vr_fov";static CAMERA_MOVE_TO_NEAR_COMPONENT="vrtalk_cmd_camera_move_to_near_component";static CAMERA_MOVE_TO_WATCH_POSITION="vrtalk_cmd_camera_move_to_watch_position";static CAMERA_REQUEST_DEEPLINK_PARAMS="vrtalk_cmd_camera_request_deeplink_params";static RENDERER_TAKE_SCREENSHOT="vrtalk_cmd_renderer_take_screenshot";static RENDERER_GET_PANORAMA_IMAGE="vrtalk_cmd_renderer_get_panorama_image";static RENDERER_SETTINGS_UPDATE="vrtalk_cmd_renderer_settings_update";static RENDERER_COLOR_SPACE_SETTINGS_UPDATE="vrtalk_cmd_renderer_color_space_settings_update";static NAVIGATION_REQUEST="vrtalk_cmd_navigation_request";static NAVIGATION_START="vrtalk_cmd_navigation_start";static NAVIGATION_CANCEL="vrtalk_cmd_navigation_cancel";static AUDIO_UPDATE="vrtalk_cmd_audio_update";static AUDIO_DELETE="vrtalk_cmd_audio_delete";static AUDIO_LIST_UPDATE="vrtalk_cmd_audio_list_update";static AUDIO_LIST_DELETE="vrtalk_cmd_audio_list_delete";static AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE="vrtalk_cmd_audio_center_player_show_play_control_update";static AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE="vrtalk_cmd_audio_center_player_show_volume_control_update";static AUDIO_CENTER_PLAYER_VOLUME_UPDATE="vrtalk_cmd_audio_center_player_volume_update";static MONITOR_LIST_UPDATE="vrtalk_cmd_monitor_list_update";static DOLLY_PATH_CAPTURE_DESTINATION="vrtalk_cmd_dolly_path_capture_destination";static DOLLY_PATH_PREVIEW="vrtalk_cmd_dolly_path_preview";static DOLLY_PATH_STOP_PREVIEW="vrtalk_cmd_dolly_path_stop_preview";static MESSAGE_CARD_PREVIEW="vrtalk_cmd_message_card_preview";static HAMBURGER_MENU_UPDATE="vrtalk_cmd_hamburger_menu_update"}class Zi{onStart(e){Wc.registerCommandListener(Qi.PLAYER_START,(t=>{e(t.data.vrContentData,t.data.isForceIgnoreEnterBtn)}))}onModeUpdate(e){Wc.registerCommandListener(Qi.PLAYER_MODE_UPDATE,(t=>{e(t.data)}))}onXrPreparePreview(e){Wc.registerCommandListener(Qi.PLAYER_XR_PREPARE_PREVIEW,(t=>{e(!!t.data)}))}onPrepareSettingsUpdate(e){Wc.registerCommandListener(Qi.PLAYER_PREPARE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class ec{onCoverSettingsUpdate(e){Wc.registerCommandListener(Qi.COVER_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class tc{onUiSettingsUpdate(e){Wc.registerCommandListener(Qi.UI_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class ac{onInfoTemplateSettingsUpdate(e){Wc.registerCommandListener(Qi.INFO_TEMPLATE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class nc{onContentCardUpdate(e){Wc.registerCommandListener(Qi.INFORMATION_CONTENT_CARD_UPDATE,(t=>{e(t.data)}))}onContentCardDelete(e){Wc.registerCommandListener(Qi.INFORMATION_CONTENT_CARD_DELETE,(t=>{e(t.data)}))}}class sc{onCreate(e){Wc.registerCommandListener(Qi.COMPONENT_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.COMPONENT_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.COMPONENT_DELETE,(t=>{e(t.data)}))}onFollowMouse(e){Wc.registerCommandListener(Qi.COMPONENT_FOLLOW_MOUSE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.COMPONENT_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.componentId)}))}onPlayTransitionAnimation(e){Wc.registerCommandListener(Qi.COMPONENT_PLAY_TRANSITION_ANIMATION,(t=>{e(t.data.componentId,t.data.animationId)}))}onStopTransitionAnimation(e){Wc.registerCommandListener(Qi.COMPONENT_STOP_TRANSITION_ANIMATION,(t=>{e(t.data.componentId)}))}on3dModelPlayAnimationClip(e){Wc.registerCommandListener(Qi.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId,t.data.animationClipId)}))}on3dModelStopAnimationClip(e){Wc.registerCommandListener(Qi.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId)}))}on2dTextAutoFit(e){Wc.registerCommandListener(Qi.COMPONENT_2D_TEXT_AUTO_FIT,(t=>{e(t.data)}))}}class rc{onEnterFovShotMode(e){Wc.registerCommandListener(Qi.FOV_ENTER_SHOT_MODE,(t=>{e(t.data)}))}onExitFovShotMode(e){Wc.registerCommandListener(Qi.FOV_EXIT_SHOT_MODE,(t=>{e()}))}onUpdate(e){Wc.registerCommandListener(Qi.FOV_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.FOV_DELETE,(t=>{e(t.data)}))}}class oc{onUpdate(e){Wc.registerCommandListener(Qi.LAYER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.LAYER_DELETE,(t=>{e(t.data.layerId,t.data.deleteComponents)}))}onVisible(e){Wc.registerCommandListener(Qi.LAYER_VISIBLE,(t=>{e(t.data.layerId,t.data.visible)}))}}class ic{onCreate(e){Wc.registerCommandListener(Qi.LIGHT_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.LIGHT_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.LIGHT_DELETE,(t=>{e(t.data)}))}}class cc{onCreate(e){Wc.registerCommandListener(Qi.TRIMMER_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.TRIMMER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.TRIMMER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.TRIMMER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.trimmerId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.TRIMMER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class lc{onCreate(e){Wc.registerCommandListener(Qi.STICKER_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.STICKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.STICKER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.STICKER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.stickerId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.STICKER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class dc{onUpdate(e){Wc.registerCommandListener(Qi.FLOOR_UPDATE,(t=>{e(t.data)}))}}class _c{onMoveTo(e){Wc.registerCommandListener(Qi.CAMERA_MOVE_TO,(t=>{e(t.data.transition,t.data.cameraPose)}))}onMoveToInside(e){Wc.registerCommandListener(Qi.CAMERA_MOVE_TO_INSIDE,(t=>{e(t.data.transition,t.data.transitionTime,t.data.cameraPose)}))}onMoveToVrFov(e){Wc.registerCommandListener(Qi.CAMERA_MOVE_TO_VR_FOV,(t=>{e(t.data.transition,t.data.transitionTime,t.data.fovId)}))}onMoveToNearComponent(e){Wc.registerCommandListener(Qi.CAMERA_MOVE_TO_NEAR_COMPONENT,(t=>{e(t.data.transition,t.data.transitionTime,t.data.componentId)}))}onMoveToWatchPosition(e){Wc.registerCommandListener(Qi.CAMERA_MOVE_TO_WATCH_POSITION,(t=>{e(t.data.transition,t.data.transitionTime,t.data.position)}))}onRequestDeeplinkParams(e){Wc.registerCommandListener(Qi.CAMERA_REQUEST_DEEPLINK_PARAMS,(()=>{e()}))}}class mc{onTakeScreen(e){Wc.registerCommandListener(Qi.RENDERER_TAKE_SCREENSHOT,(t=>{e(t.data.resolution,t.data.visibility)}))}onGetPanoramaImage(e){Wc.registerCommandListener(Qi.RENDERER_GET_PANORAMA_IMAGE,(()=>{e()}))}onSettingsUpdate(e){Wc.registerCommandListener(Qi.RENDERER_SETTINGS_UPDATE,(t=>{e(t.data)}))}onColorSpaceSettingsUpdate(e){Wc.registerCommandListener(Qi.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Ec{onMarkerUpdate(e){Wc.registerCommandListener(Qi.MARKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.MARKER_DELETE,(t=>{e(t.data)}))}}class pc{onNavigationRequest(e){Wc.registerCommandListener(Qi.NAVIGATION_REQUEST,(t=>{e(t.data)}))}onNavigationStart(e){Wc.registerCommandListener(Qi.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationCancel(e){Wc.registerCommandListener(Qi.NAVIGATION_CANCEL,(t=>{e()}))}}class Tc{onCreate(e){Wc.registerCommandListener(Qi.OBSTACLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.OBSTACLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.OBSTACLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.obstacleId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.OBSTACLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Wc.registerCommandListener(Qi.OBSTACLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class gc{onAudioListUpdate(e){Wc.registerCommandListener(Qi.AUDIO_LIST_UPDATE,(t=>{e(t.data)}))}onAudioListDelete(e){Wc.registerCommandListener(Qi.AUDIO_LIST_DELETE,(t=>{e(t.data)}))}onAudioUpdate(e){Wc.registerCommandListener(Qi.AUDIO_UPDATE,(t=>{e(t.data)}))}onAudioDelete(e){Wc.registerCommandListener(Qi.AUDIO_DELETE,(t=>{e(t.data)}))}onAudioCenterPlayerShowPlayControlUpdate(e){Wc.registerCommandListener(Qi.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerShowVolumeControlUpdate(e){Wc.registerCommandListener(Qi.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerVolumeUpdate(e){Wc.registerCommandListener(Qi.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,(t=>{e(t.data)}))}}class Ac{onCreate(e){Wc.registerCommandListener(Qi.ASSET_LABEL_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.ASSET_LABEL_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.ASSET_LABEL_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.assetLabelId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.ASSET_LABEL_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class Cc{onCreate(e){Wc.registerCommandListener(Qi.TARGET_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.TARGET_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.TARGET_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.TARGET_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.targetId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.TARGET_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Wc.registerCommandListener(Qi.TARGET_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class uc{onCreate(e){Wc.registerCommandListener(Qi.WORMHOLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.WORMHOLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.WORMHOLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.wormholeId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.WORMHOLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Wc.registerCommandListener(Qi.WORMHOLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class Oc{onCreate(e){Wc.registerCommandListener(Qi.SPACE_FENCE_CREATE,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onDelete(e){Wc.registerCommandListener(Qi.SPACE_FENCE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){Wc.registerCommandListener(Qi.SPACE_FENCE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.spaceFenceId)}))}onEditingStateUpdate(e){Wc.registerCommandListener(Qi.SPACE_FENCE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){Wc.registerCommandListener(Qi.SPACE_FENCE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}onGroupColorUpdate(e){Wc.registerCommandListener(Qi.SPACE_FENCE_GROUP_COLOR_UPDATE,(t=>{e(t.data.groupId,t.data.cubeFaceColor)}))}}class Sc{onMonitorListUpdate(e){Wc.registerCommandListener(Qi.MONITOR_LIST_UPDATE,(t=>{e(t.data)}))}}class Ic{onMessageCardPreview(e){Wc.registerCommandListener(Qi.MESSAGE_CARD_PREVIEW,(t=>{e(t.data)}))}}class Lc{onCaptureDestination(e){Wc.registerCommandListener(Qi.DOLLY_PATH_CAPTURE_DESTINATION,(t=>{e()}))}onPreview(e){Wc.registerCommandListener(Qi.DOLLY_PATH_PREVIEW,(t=>{e(t.data)}))}onStopPreview(e){Wc.registerCommandListener(Qi.DOLLY_PATH_STOP_PREVIEW,(t=>{e()}))}}class Nc{onHamburgerMenuUpdate(e){Wc.registerCommandListener(Qi.HAMBURGER_MENU_UPDATE,(t=>{e(t.data)}))}}class Rc{type="";data={};constructor(e,t){this.type=e,this.data=t}}class yc{static PLAYER_READY="vrtalk_msg_player_ready";static PLAYER_STATUS_UPDATE="vrtalk_msg_player_status_update";static COMPONENT_UPDATE="vrtalk_msg_component_update";static COMPONENT_ON_CLICK="vrtalk_msg_component_on_click";static COMPONENT_TRANSITION_ANIMATION_FINISHED="vrtalk_msg_component_transition_animation_finished";static FOV_SHOT_RESULT="vrtalk_msg_fov_shot_result";static TRIMMER_UPDATE="vrtalk_msg_trimmer_update";static TRIMMER_ON_CLICK="vrtalk_msg_trimmer_on_click";static STICKER_UPDATE="vrtalk_msg_sticker_update";static STICKER_ON_CLICK="vrtalk_msg_sticker_on_click";static TARGET_UPDATE="vrtalk_msg_target_update";static TARGET_ON_CLICK="vrtalk_msg_target_on_click";static OBSTACLE_UPDATE="vrtalk_msg_obstacle_update";static OBSTACLE_ON_CLICK="vrtalk_msg_obstacle_on_click";static SPACE_FENCE_UPDATE="vrtalk_msg_space_fence_update";static SPACE_FENCE_ON_CLICK="vrtalk_msg_space_fence_on_click";static WORMHOLE_UPDATE="vrtalk_msg_wormhole_update";static WORMHOLE_ON_CLICK="vrtalk_msg_wormhole_on_click";static ASSET_LABEL_UPDATE="vrtalk_msg_asset_label_update";static ASSET_LABEL_ON_CLICK="vrtalk_msg_asset_label_on_click";static SWEEP_IMPORT_FROM_MATTERPORT="vrtalk_msg_sweep_import_from_matterport";static SWEEP_SYNC_MATTERPORT_ENABLED_STATE="vrtalk_msg_sweep_sync_matterport_enabled_state";static SWEEP_REQUEST_MODIFY_ENABLED="vrtalk_msg_sweep_request_modify_enabled";static FLOOR_IMPORT_FROM_MATTERPORT="vrtalk_msg_floor_import_from_matterport";static FLOOR_ENTER="vrtalk_msg_floor_enter";static FLOOR_LEAVE="vrtalk_msg_floor_leave";static CAMERA_POSE_UPDATE="vrtalk_msg_camera_pose_update";static CAMERA_DEEPLINK_PARAMS_READY="vrtalk_msg_camera_deeplink_params_ready";static RENDERER_SCREENSHOT_READY="vrtalk_msg_renderer_screenshot_ready";static RENDERER_PANORAMA_IMAGE_READY="vrtalk_msg_renderer_panorama_image_ready";static RENDERER_WORLD_SIZE_READY="vrtalk_msg_renderer_world_size_ready";static DOLLY_PATH_DESTINATION_CAPTURED="vrtalk_msg_dolly_path_destination_captured";static NAVIGATION_RESULT_READY="vrtalk_msg_navigation_result_ready";static NAVIGATION_START="vrtalk_msg_navigation_start";static NAVIGATION_END="vrtalk_msg_navigation_end";static NAVIGATION_CANCEL="vrtalk_msg_navigation_cancel"}class Pc{sendCameraPoseUpdate(e){window.parent.postMessage(new Rc(yc.CAMERA_POSE_UPDATE,e),"*")}sendDeeplinkParamsReady(e){window.parent.postMessage(new Rc(yc.CAMERA_DEEPLINK_PARAMS_READY,e),"*")}}class Mc{sendUpdate(e,t="default"){window.parent.postMessage(new Rc(yc.COMPONENT_UPDATE,{componentData:JSON.parse(JSON.stringify(e)),source:t}),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.COMPONENT_ON_CLICK,e),"*")}sendTransitionAnimationFinished(e,t){window.parent.postMessage(new Rc(yc.COMPONENT_TRANSITION_ANIMATION_FINISHED,{componentId:e,animationId:t}),"*")}}class bc{sendShotResult(e){window.parent.postMessage(new Rc(yc.FOV_SHOT_RESULT,JSON.parse(JSON.stringify(e))),"*")}}class hc{sendImportFromMatterport(e){window.parent.postMessage(new Rc(yc.FLOOR_IMPORT_FROM_MATTERPORT,e),"*")}sendEnter(e){window.parent.postMessage(new Rc(yc.FLOOR_ENTER,e),"*")}sendLeave(e){window.parent.postMessage(new Rc(yc.FLOOR_LEAVE,e),"*")}}class Dc{sendReady(){window.parent.postMessage(new Rc(yc.PLAYER_READY,{}),"*")}sendStatusUpdate(e){window.parent.postMessage(new Rc(yc.PLAYER_STATUS_UPDATE,e),"*")}}class fc{sendImportFromMatterport(e){window.parent.postMessage(new Rc(yc.SWEEP_IMPORT_FROM_MATTERPORT,e),"*")}sendSyncMatterportEnabledState(e){window.parent.postMessage(new Rc(yc.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,e),"*")}sendRequestModifyEnabled(e,t){window.parent.postMessage(new Rc(yc.SWEEP_REQUEST_MODIFY_ENABLED,{sweepId:e,enabled:t}),"*")}}class wc{sendScreenshotReady(e){window.parent.postMessage(new Rc(yc.RENDERER_SCREENSHOT_READY,e),"*")}sendPanoramaImageReady(e){window.parent.postMessage(new Rc(yc.RENDERER_PANORAMA_IMAGE_READY,e),"*")}sendWorldSizeReady(e){window.parent.postMessage(new Rc(yc.RENDERER_WORLD_SIZE_READY,JSON.parse(JSON.stringify(e))),"*")}}class vc{sendNavigationResultReady(e){window.parent.postMessage(new Rc(yc.NAVIGATION_RESULT_READY,JSON.parse(JSON.stringify(e))),"*")}sendNavigationStart(e){window.parent.postMessage(new Rc(yc.NAVIGATION_START,JSON.parse(JSON.stringify(e))),"*")}sendNavigationEnd(e){window.parent.postMessage(new Rc(yc.NAVIGATION_END,JSON.parse(JSON.stringify(e))),"*")}sendNavigationCancel(e){window.parent.postMessage(new Rc(yc.NAVIGATION_CANCEL,JSON.parse(JSON.stringify(e))),"*")}}class Vc{sendUpdate(e){window.parent.postMessage(new Rc(yc.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.OBSTACLE_ON_CLICK,e),"*")}}class Uc{sendUpdate(e){window.parent.postMessage(new Rc(yc.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.TRIMMER_ON_CLICK,e),"*")}}class kc{sendUpdate(e){window.parent.postMessage(new Rc(yc.STICKER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.STICKER_ON_CLICK,e),"*")}}class Bc{sendUpdate(e){window.parent.postMessage(new Rc(yc.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.ASSET_LABEL_ON_CLICK,e),"*")}}class Gc{sendUpdate(e){window.parent.postMessage(new Rc(yc.TARGET_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.TARGET_ON_CLICK,e),"*")}}class xc{sendUpdate(e){window.parent.postMessage(new Rc(yc.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.WORMHOLE_ON_CLICK,e),"*")}}class Fc{sendUpdate(e){window.parent.postMessage(new Rc(yc.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Rc(yc.SPACE_FENCE_ON_CLICK,e),"*")}}class Hc{sendDestinationCaptured(e){window.parent.postMessage(new Rc(yc.DOLLY_PATH_DESTINATION_CAPTURED,JSON.parse(JSON.stringify(e))),"*")}}class Xc{onUpdateAll(e){Wc.registerCommandListener(Qi.SWEEP_UPDATE_ALL,(t=>{e(t.data)}))}onUpdate(e){Wc.registerCommandListener(Qi.SWEEP_UPDATE,(t=>{e(t.data)}))}onDeleteVirtual(e){Wc.registerCommandListener(Qi.SWEEP_DELETE_VIRTUAL,(t=>{e(t.data)}))}onUpdateRenderFlagVisible(e){Wc.registerCommandListener(Qi.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,(t=>{e(t.data)}))}}class Wc{static commandListenerPool=new Map;static commandPlayer=new Zi;static commandCover=new ec;static commandUi=new tc;static commandInfoTemplate=new ac;static commandInformation=new nc;static commandComponent=new sc;static commandFov=new rc;static commandLayer=new oc;static commandLight=new ic;static commandTrimmer=new cc;static commandSticker=new lc;static commandSweep=new Xc;static commandFloor=new dc;static commandCamera=new _c;static commandRenderer=new mc;static commandMarker=new Ec;static commandNavigation=new pc;static commandObstacle=new Tc;static commandAudio=new gc;static commandAssetLabel=new Ac;static commandTarget=new Cc;static commandWormhole=new uc;static commandSpaceFence=new Oc;static commandMonitor=new Sc;static commandMessageCard=new Ic;static commandDollyPath=new Lc;static commandHamburgerMenu=new Nc;static messageCamera=new Pc;static messageComponent=new Mc;static messageFov=new bc;static messageFloor=new hc;static messagePlayer=new Dc;static messageSweep=new fc;static messageRenderer=new wc;static messageNavigation=new vc;static messageObstacle=new Vc;static messageTrimmer=new Uc;static messageSticker=new kc;static messageAssetLabel=new Bc;static messageTarget=new Gc;static messageWormhole=new xc;static messageSpaceFence=new Fc;static messageDollyPath=new Hc;static registerCommandListener(e,t){Wc.commandListenerPool.has(e)||Wc.commandListenerPool.set(e,[]),Wc.commandListenerPool.get(e).push(t)}static unRegisterCommandListener(e,t){if(!Wc.commandListenerPool.has(e))return;const a=Wc.commandListenerPool.get(e).indexOf(t);a>=0&&Wc.commandListenerPool.get(e).splice(a,1)}static init(){window.addEventListener("message",(e=>{if(e.data.type&&0===e.data.type.indexOf("vrtalk_cmd_")){const t=e.data;Wc.commandListenerPool.has(t.type)&&Wc.commandListenerPool.get(t.type).forEach((e=>{e(t)}))}}))}}class Yc{player;constructor(e){this.player=e}onReady(e){this.player.registerMessageListener(yc.PLAYER_READY,(t=>{e()}))}onStatusUpdate(e){this.player.registerMessageListener(yc.PLAYER_STATUS_UPDATE,(t=>{e(t.data)}))}}class Kc{player;constructor(e){this.player=e}sendStart(e,t){this.player.sendCommand(new $i(Qi.PLAYER_START,JSON.parse(JSON.stringify({vrContentData:e,isForceIgnoreEnterBtn:t}))))}sendModeUpdate(e){this.player.sendCommand(new $i(Qi.PLAYER_MODE_UPDATE,e))}sendXrPreparePreview(e){this.player.sendCommand(new $i(Qi.PLAYER_XR_PREPARE_PREVIEW,e))}sendPrepareSettingsUpdate(e){this.player.sendCommand(new $i(Qi.PLAYER_PREPARE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Jc{player;constructor(e){this.player=e}sendCoverSettingsUpdate(e){this.player.sendCommand(new $i(Qi.COVER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class zc{player;constructor(e){this.player=e}sendUiSettingsUpdate(e){this.player.sendCommand(new $i(Qi.UI_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class qc{player;constructor(e){this.player=e}sendInfoTemplateSettingsUpdate(e){this.player.sendCommand(new $i(Qi.INFO_TEMPLATE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class jc{player;constructor(e){this.player=e}sendUpdateContentCard(e){this.player.sendCommand(new $i(Qi.INFORMATION_CONTENT_CARD_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteContentCard(e){this.player.sendCommand(new $i(Qi.INFORMATION_CONTENT_CARD_DELETE,e))}}class $c{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.COMPONENT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.COMPONENT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.COMPONENT_DELETE,e))}sendFollowMouse(e){this.player.sendCommand(new $i(Qi.COMPONENT_FOLLOW_MOUSE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.COMPONENT_CONTROLLER_MODIFY,{componentId:t,controllerType:e}))}sendPlayTransitionAnimation(e,t){this.player.sendCommand(new $i(Qi.COMPONENT_PLAY_TRANSITION_ANIMATION,{componentId:e,animationId:t}))}sendStopTransitionAnimation(e){this.player.sendCommand(new $i(Qi.COMPONENT_STOP_TRANSITION_ANIMATION,{componentId:e}))}send3dModelPlayAnimationClip(e,t){this.player.sendCommand(new $i(Qi.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,{modelComponentId:e,animationClipId:t}))}send3dModelStopAnimationClip(e){this.player.sendCommand(new $i(Qi.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,{modelComponentId:e}))}send2dTextAutoFit(e){this.player.sendCommand(new $i(Qi.COMPONENT_2D_TEXT_AUTO_FIT,e))}}class Qc{player;constructor(e){this.player=e}enterFovShotMode(e){this.player.sendCommand(new $i(Qi.FOV_ENTER_SHOT_MODE,JSON.parse(JSON.stringify(e))))}exitFovShotMode(){this.player.sendCommand(new $i(Qi.FOV_EXIT_SHOT_MODE,{}))}sendUpdate(e){this.player.sendCommand(new $i(Qi.FOV_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.FOV_DELETE,e))}}class Zc{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new $i(Qi.LAYER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e,t){this.player.sendCommand(new $i(Qi.LAYER_DELETE,{layerId:e,deleteComponents:t}))}sendVisible(e,t){this.player.sendCommand(new $i(Qi.LAYER_VISIBLE,{layerId:e,visible:t}))}}class el{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.LIGHT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.LIGHT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.LIGHT_DELETE,e))}}class tl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.TRIMMER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.TRIMMER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.TRIMMER_CONTROLLER_MODIFY,{controllerType:e,trimmerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.TRIMMER_EDITING_STATE_UPDATE,e))}}class al{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.STICKER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.STICKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.STICKER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.STICKER_CONTROLLER_MODIFY,{controllerType:e,stickerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.STICKER_EDITING_STATE_UPDATE,e))}}class nl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.ASSET_LABEL_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.ASSET_LABEL_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.ASSET_LABEL_CONTROLLER_MODIFY,{controllerType:e,assetLabelId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.ASSET_LABEL_EDITING_STATE_UPDATE,e))}}class sl{player;constructor(e){this.player=e}sendUpdateAll(e){this.player.sendCommand(new $i(Qi.SWEEP_UPDATE_ALL,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.SWEEP_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteVirtual(e){this.player.sendCommand(new $i(Qi.SWEEP_DELETE_VIRTUAL,e))}sendUpdateRenderFlagVisible(e){this.player.sendCommand(new $i(Qi.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,e))}}class rl{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new $i(Qi.FLOOR_UPDATE,JSON.parse(JSON.stringify(e))))}}class ol{player;constructor(e){this.player=e}sendMoveTo(e,t){this.player.sendCommand(new $i(Qi.CAMERA_MOVE_TO,JSON.parse(JSON.stringify({transition:e,cameraMode:t}))))}sendMoveToInside(e,t,a){this.player.sendCommand(new $i(Qi.CAMERA_MOVE_TO_INSIDE,JSON.parse(JSON.stringify({transition:e,transitionTime:t,cameraPose:a}))))}sendMoveToVrFov(e,t,a){this.player.sendCommand(new $i(Qi.CAMERA_MOVE_TO_VR_FOV,JSON.parse(JSON.stringify({transition:e,transitionTime:t,fovId:a}))))}sendMoveToNearComponent(e,t,a){this.player.sendCommand(new $i(Qi.CAMERA_MOVE_TO_NEAR_COMPONENT,JSON.parse(JSON.stringify({transition:e,transitionTime:t,componentId:a}))))}sendMoveToWatchPosition(e,t,a){this.player.sendCommand(new $i(Qi.CAMERA_MOVE_TO_WATCH_POSITION,JSON.parse(JSON.stringify({transition:e,transitionTime:t,position:a}))))}sendRequestDeeplinkParams(){this.player.sendCommand(new $i(Qi.CAMERA_REQUEST_DEEPLINK_PARAMS,{}))}}class il{player;constructor(e){this.player=e}sendTakeScreenshot(e,t){this.player.sendCommand(new $i(Qi.RENDERER_TAKE_SCREENSHOT,{resolution:e,visibility:t}))}sendGetPanoramaImage(){this.player.sendCommand(new $i(Qi.RENDERER_GET_PANORAMA_IMAGE,{}))}sendSettingsUpdate(e){this.player.sendCommand(new $i(Qi.RENDERER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}sendColorSpaceSettingsUpdate(e){this.player.sendCommand(new $i(Qi.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class cl{player;constructor(e){this.player=e}sendMarkerUpdate(e){this.player.sendCommand(new $i(Qi.MARKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendMarkerDelete(e){this.player.sendCommand(new $i(Qi.MARKER_DELETE,e))}}class ll{player;constructor(e){this.player=e}sendNavigationRequest(e){this.player.sendCommand(new $i(Qi.NAVIGATION_REQUEST,JSON.parse(JSON.stringify(e))))}sendNavigationStart(e){this.player.sendCommand(new $i(Qi.NAVIGATION_START,JSON.parse(JSON.stringify(e))))}sendNavigationCancel(){this.player.sendCommand(new $i(Qi.NAVIGATION_CANCEL,{}))}}class dl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.OBSTACLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.OBSTACLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.OBSTACLE_CONTROLLER_MODIFY,{controllerType:e,obstacleId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.OBSTACLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new $i(Qi.OBSTACLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class _l{player;constructor(e){this.player=e}sendAudioListUpdate(e){this.player.sendCommand(new $i(Qi.AUDIO_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioListDelete(e){this.player.sendCommand(new $i(Qi.AUDIO_LIST_DELETE,{audioListId:e}))}sendAudioUpdate(e){this.player.sendCommand(new $i(Qi.AUDIO_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioDelete(e,t){this.player.sendCommand(new $i(Qi.AUDIO_DELETE,{audioListId:e,audioId:t}))}sendAudioCenterPlayerShowPlayControlUpdate(e){this.player.sendCommand(new $i(Qi.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerShowMuteControlUpdate(e){this.player.sendCommand(new $i(Qi.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerVolumeUpdate(e){this.player.sendCommand(new $i(Qi.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,{volume:e}))}}class ml{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.TARGET_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.TARGET_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.TARGET_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.TARGET_CONTROLLER_MODIFY,{controllerType:e,targetId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.TARGET_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new $i(Qi.TARGET_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class El{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.WORMHOLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.WORMHOLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.WORMHOLE_CONTROLLER_MODIFY,{controllerType:e,wormholeId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.WORMHOLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new $i(Qi.WORMHOLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class pl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new $i(Qi.SPACE_FENCE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new $i(Qi.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new $i(Qi.SPACE_FENCE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new $i(Qi.SPACE_FENCE_CONTROLLER_MODIFY,{controllerType:e,spaceFenceId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new $i(Qi.SPACE_FENCE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new $i(Qi.SPACE_FENCE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}sendGroupColorUpdate(e,t){this.player.sendCommand(new $i(Qi.SPACE_FENCE_GROUP_COLOR_UPDATE,{groupId:e,cubeFaceColor:JSON.parse(JSON.stringify(t))}))}}class Tl{player;constructor(e){this.player=e}sendMonitorListUpdate(e){this.player.sendCommand(new $i(Qi.MONITOR_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}}class gl{player;constructor(e){this.player=e}sendPreview(e,t){this.player.sendCommand(new $i(Qi.MESSAGE_CARD_PREVIEW,{card:e?JSON.parse(JSON.stringify(e)):null,show:t}))}}class Al{player;constructor(e){this.player=e}captureDestination(){this.player.sendCommand(new $i(Qi.DOLLY_PATH_CAPTURE_DESTINATION,{}))}preview(e){this.player.sendCommand(new $i(Qi.DOLLY_PATH_PREVIEW,JSON.parse(JSON.stringify(e))))}stopPreview(){this.player.sendCommand(new $i(Qi.DOLLY_PATH_STOP_PREVIEW,{}))}}class Cl{player;constructor(e){this.player=e}sendHamburgerMenuUpdate(e){this.player.sendCommand(new $i(Qi.HAMBURGER_MENU_UPDATE,JSON.parse(JSON.stringify(e))))}}class ul{player;constructor(e){this.player=e}onCameraPoseUpdate(e){this.player.registerMessageListener(yc.CAMERA_POSE_UPDATE,(t=>{e(t.data)}))}onDeeplinkParamsReady(e){this.player.registerMessageListener(yc.CAMERA_DEEPLINK_PARAMS_READY,(t=>{e(t.data)}))}}class Ol{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.COMPONENT_UPDATE,(t=>{const a=t.data;a&&"object"==typeof a&&"componentData"in a&&a.componentData?e(a.componentData,a.source??"default"):e(a,"default")}))}onClick(e){this.player.registerMessageListener(yc.COMPONENT_ON_CLICK,(t=>{e(t.data)}))}onTransitionAnimationFinished(e){this.player.registerMessageListener(yc.COMPONENT_TRANSITION_ANIMATION_FINISHED,(t=>{e(t.data.componentId,t.data.animationId)}))}}class Sl{player;constructor(e){this.player=e}onShotResult(e){this.player.registerMessageListener(yc.FOV_SHOT_RESULT,(t=>{e(t.data)}))}}class Il{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(yc.FLOOR_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onEnterFloor(e){this.player.registerMessageListener(yc.FLOOR_ENTER,(t=>{e(t.data)}))}onLeaveFloor(e){this.player.registerMessageListener(yc.FLOOR_LEAVE,(t=>{e(t.data)}))}}class Ll{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(yc.SWEEP_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onSyncMatterportEnabledState(e){this.player.registerMessageListener(yc.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,(t=>{e(t.data)}))}onRequestModifyEnabled(e){this.player.registerMessageListener(yc.SWEEP_REQUEST_MODIFY_ENABLED,(t=>{e(t.data.sweepId,t.data.enabled)}))}}class Nl{player;constructor(e){this.player=e}onScreenshotReady(e){this.player.registerMessageListener(yc.RENDERER_SCREENSHOT_READY,(t=>{e(t.data)}))}onPanoramaImageReady(e){this.player.registerMessageListener(yc.RENDERER_PANORAMA_IMAGE_READY,(t=>{e(t.data)}))}onWorldSizeReady(e){this.player.registerMessageListener(yc.RENDERER_WORLD_SIZE_READY,(t=>{e(t.data)}))}}class Rl{player;constructor(e){this.player=e}onNavigationResultReady(e){this.player.registerMessageListener(yc.NAVIGATION_RESULT_READY,(t=>{e(t.data)}))}onNavigationStart(e){this.player.registerMessageListener(yc.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationEnd(e){this.player.registerMessageListener(yc.NAVIGATION_END,(t=>{e(t.data)}))}onNavigationCancel(e){this.player.registerMessageListener(yc.NAVIGATION_CANCEL,(t=>{e(t.data)}))}}class yl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.OBSTACLE_ON_CLICK,(t=>{e(t.data)}))}}class Pl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.TRIMMER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.TRIMMER_ON_CLICK,(t=>{e(t.data)}))}}class Ml{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.STICKER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.STICKER_ON_CLICK,(t=>{e(t.data)}))}}class bl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.ASSET_LABEL_ON_CLICK,(t=>{e(t.data)}))}}class hl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.TARGET_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.TARGET_ON_CLICK,(t=>{e(t.data)}))}}class Dl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.WORMHOLE_ON_CLICK,(t=>{e(t.data)}))}}class fl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(yc.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(yc.SPACE_FENCE_ON_CLICK,(t=>{e(t.data)}))}}class wl{player;constructor(e){this.player=e}onDestinationCaptured(e){this.player.registerMessageListener(yc.DOLLY_PATH_DESTINATION_CAPTURED,(t=>{e(t.data)}))}}class vl{serviceRegion;iframeElement=null;messageListenerPool=new Map;messageCamera;messageComponent;messageFov;messageFloor;messagePlayer;messageSweep;messageRenderer;messageNavigation;messageObstacle;messageTrimmer;messageSticker;messageAssetLabel;messageTarget;messageWormhole;messageSpaceFence;messageDollyPath;commandPlayer;commandCover;commandUi;commandInfoTemplate;commandInformation;commandComponent;commandFov;commandLayer;commandLight;commandTrimmer;commandSticker;commandAssetLabel;commandSweep;commandFloor;commandCamera;commandRenderer;commandMarker;commandNavigation;commandObstacle;commandAudio;commandTarget;commandWormhole;commandSpaceFence;commandMonitor;commandMessageCard;commandDollyPath;commandHamburgerMenu;constructor(e,t){this.serviceRegion=e,this.iframeElement=t,this.messageCamera=new ul(this),this.messageComponent=new Ol(this),this.messageFov=new Sl(this),this.messageFloor=new Il(this),this.messagePlayer=new Yc(this),this.messageSweep=new Ll(this),this.messageRenderer=new Nl(this),this.messageNavigation=new Rl(this),this.messageObstacle=new yl(this),this.messageTrimmer=new Pl(this),this.messageSticker=new Ml(this),this.messageAssetLabel=new bl(this),this.messageTarget=new hl(this),this.messageWormhole=new Dl(this),this.messageSpaceFence=new fl(this),this.messageDollyPath=new wl(this),this.commandPlayer=new Kc(this),this.commandCover=new Jc(this),this.commandUi=new zc(this),this.commandInfoTemplate=new qc(this),this.commandInformation=new jc(this),this.commandComponent=new $c(this),this.commandFov=new Qc(this),this.commandLayer=new Zc(this),this.commandLight=new el(this),this.commandTrimmer=new tl(this),this.commandSticker=new al(this),this.commandAssetLabel=new nl(this),this.commandSweep=new sl(this),this.commandFloor=new rl(this),this.commandCamera=new ol(this),this.commandRenderer=new il(this),this.commandMarker=new cl(this),this.commandNavigation=new ll(this),this.commandObstacle=new dl(this),this.commandAudio=new _l(this),this.commandTarget=new ml(this),this.commandWormhole=new El(this),this.commandSpaceFence=new pl(this),this.commandMonitor=new Tl(this),this.commandMessageCard=new gl(this),this.commandDollyPath=new Al(this),this.commandHamburgerMenu=new Cl(this),this.iframeElement.addEventListener("load",(()=>{console.debug("[VRTalk Web SDK] player iframe loaded, add event listener"),window.addEventListener("message",(e=>{if(e.data.type&&0===e.data.type.indexOf("vrtalk_msg_")){const t=e.data;this.messageListenerPool.has(t.type)&&this.messageListenerPool.get(t.type).forEach((e=>{e(t)}))}}))}))}registerMessageListener(e,t){console.debug(`[VRTalk Web SDK]VRTalkEditablePlayer.registerMessageListener: ${e}`),this.messageListenerPool.get(e)||this.messageListenerPool.set(e,[]),this.messageListenerPool.get(e).push(t)}unRegisterMessageListener(e,t){if(console.debug(`[VRTalk Web SDK]VRTalkEditablePlayer.unRegisterMessageListener: ${e}`),!this.messageListenerPool.has(e))return;const a=this.messageListenerPool.get(e).indexOf(t);a>=0&&this.messageListenerPool.get(e).splice(a,1)}clearAllMessageListener(){console.debug("[VRTalk Web SDK] VRTalkEditablePlayer.clearAllMessageListener"),this.messageListenerPool.clear()}sendCommand(e){console.debug(`[VRTalk Web SDK]VRTalkEditablePlayer.sendCommand: ${e}`);const t=this.iframeElement?.contentWindow;t?t.postMessage(e,"*"):console.warn("[VRTalk Web SDK] sendCommand: player iframe 尚未就绪,命令被跳过",e)}play(){console.debug("[VRTalk Web SDK]VRTalkEditablePlayer.play"),this.iframeElement.src=this.serviceRegion+"/vr-editor"}}function Vl(e){switch(e){case j.TYPE_2D_IMAGE:return br.COMPONENT_2D_IMAGE;case j.TYPE_2D_VIDEO:return br.COMPONENT_2D_VIDEO;case j.TYPE_2D_TEXT:return br.COMPONENT_2D_TEXT;case j.TYPE_2D_PANEL:return br.COMPONENT_2D_PANEL;case j.TYPE_2D_ADVERTISEMENT:return br.COMPONENT_2D_ADVERTISEMENT;case j.TYPE_3D_BOX:return br.COMPONENT_3D_BOX;case j.TYPE_3D_MODEL:return br.COMPONENT_3D_MODEL;case j.TYPE_TAG:return br.COMPONENT_TAG;default:return br.COMPONENT_2D_IMAGE}}function Ul(e,t,a,n,s){if(Array.isArray(e)&&0!==e.length)for(const r of e)r.id&&n.has(r.id)||(r.createSourceId||(r.createSourceType=t,r.createSourceId=a),s.push(r),r.id&&n.add(r.id))}function kl(e){if(!e)return;Array.isArray(e.triggerList)||(e.triggerList=[]);const t=new Set;for(const a of e.triggerList)a.id&&t.add(a.id);const a=[];if(Array.isArray(e.componentList))for(const n of e.componentList){const e=Vl(n.type),s=n;if(Ul(s.triggerList,e,n.id,t,a),s.triggerList=[],n.type===j.TYPE_2D_IMAGE){const e=n;if(Array.isArray(e.sourceList))for(const s of e.sourceList){const e=s;Ul(e.triggerList,br.COMPONENT_2D_IMAGE,n.id,t,a),e.triggerList=[]}}else if(n.type===j.TYPE_2D_VIDEO){const e=n;if(Array.isArray(e.sourceList))for(const s of e.sourceList){const e=s;Ul(e.triggerList,br.COMPONENT_2D_VIDEO,n.id,t,a),e.triggerList=[]}}else if(n.type===j.TYPE_2D_PANEL){const e=n;if(Array.isArray(e.sceneDataList))for(const s of e.sceneDataList){const e=s;Ul(e.triggerList,br.COMPONENT_2D_PANEL,n.id,t,a),e.triggerList=[]}}}if(Array.isArray(e.sweepList))for(const n of e.sweepList){const e=n;Ul(e.triggerList,"sweep",n.id,t,a),e.triggerList=[]}if(Array.isArray(e.vrFloorList))for(const n of e.vrFloorList){const e=n;Ul(e.triggerList,"floor",n.id,t,a),e.triggerList=[]}if(Array.isArray(e.xrVirtualFloorList))for(const n of e.xrVirtualFloorList){const e=n;Ul(e.triggerList,"xr_virtual_floor",n.id,t,a),e.triggerList=[]}if(Array.isArray(e.variableList))for(const n of e.variableList){const e=n;Ul(e.triggerList,br.LOGIC_VARIABLE,n.key,t,a),e.triggerList=[]}const n=e;if(Array.isArray(n.variableExpressionWatcherList)){for(const e of n.variableExpressionWatcherList){const n=e;Ul(n.triggerList,br.LOGIC_CONDITION_WATCHER,e.id,t,a),n.triggerList=[]}Array.isArray(n.conditionWatcherList)&&0!==n.conditionWatcherList.length||(n.conditionWatcherList=n.variableExpressionWatcherList),delete n.variableExpressionWatcherList}if(Array.isArray(e.conditionWatcherList))for(const n of e.conditionWatcherList){const e=n;Ul(e.triggerList,br.LOGIC_CONDITION_WATCHER,n.id,t,a),e.triggerList=[]}if(Array.isArray(e.spaceFenceList))for(const n of e.spaceFenceList){const e=n;Ul(e.triggerList,br.SPACE_FENCE,n.id,t,a),e.triggerList=[]}if(Array.isArray(e.spaceFenceGroupList))for(const n of e.spaceFenceGroupList){const e=n;Ul(e.triggerList,br.SPACE_FENCE_GROUP,n.id,t,a),e.triggerList=[]}a.length>0&&e.triggerList.push(...a)}function Bl(e,t){const a=new io;return a.key=e,a.placement=t,a}function Gl(e){return e.map((e=>Bl(e.key,e.placement)))}const xl=["left","right","capsule","more","hidden"];function Fl(e,t){return xl.includes(e.placement)?Bl(e.key,e.placement):Bl(e.key,Co(e.key,t))}function Hl(e){return Bl(e.key,"hidden"===e.placement?"hidden":"surface")}function Xl(e){return e.vrMainBarItems&&e.vrMainBarItems.length>0?e.vrMainBarItems.map((e=>Fl(e,lo))):lo.map((t=>Bl(t.key,function(e,t){return!1==={fov:t.enabledFovBtn,d3:t.enabledD3ModeBtn,floorplan:t.enabledFloorPlanModeBtn,floor:t.enabledFloorSelectBtn,flow:t.enabledFlowBtn,measure:t.enabledMeasurementBtn,share:t.enabledShare,account:t.enabledStaffLogin||t.enabledGuestLogin}[e]?"hidden":Co(e,lo)}(t.key,e))))}function Wl(e){return e.vrInfoBarItems&&e.vrInfoBarItems.length>0?e.vrInfoBarItems.map(Hl):_o.map((t=>Bl(t.key,function(e,t){switch(e){case"minimap":return t.enabledMinimap?"surface":"hidden";case"fullscreen":return t.enabledFullScreen?"surface":"hidden";case"hamburger":return t.enabledHamburgerMenu?"surface":"hidden";case"audio":return"hidden";default:return"surface"}}(t.key,e))))}function Yl(e){return e.arBottomItems&&e.arBottomItems.length>0?e.arBottomItems.map((e=>Fl(e,mo))):Gl(mo)}function Kl(e){return e.arInfoItems&&e.arInfoItems.length>0?e.arInfoItems.map(Hl):Gl(Eo)}function Jl(e){e.vrMainBarItems&&0!==e.vrMainBarItems.length||(e.vrMainBarItems=Xl(e)),e.vrInfoBarItems&&0!==e.vrInfoBarItems.length||(e.vrInfoBarItems=Wl(e)),e.arBottomItems&&0!==e.arBottomItems.length||(e.arBottomItems=Yl(e)),e.arInfoItems&&0!==e.arInfoItems.length||(e.arInfoItems=Kl(e))}function zl(e){if(!e)return;let t=e.vrPlayerUiSettings;t||(t=new kn,e.vrPlayerUiSettings=t),void 0===t.enabledMinimap&&["enabledFovBtn","enabledD3ModeBtn","enabledFloorPlanModeBtn","enabledFloorSelectBtn","enabledMinimap","enabledMeasurementBtn","enabledShare","enabledFullScreen"].forEach((e=>{t[e]=!0})),void 0===t.enabledFlowBtn&&(t.enabledFlowBtn=!1),void 0===t.enabledStaffLogin&&(t.enabledStaffLogin=!0),void 0===t.enabledGuestLogin&&(t.enabledGuestLogin=!0),void 0===t.enabledHamburgerMenu&&(t.enabledHamburgerMenu=!0),void 0===t.vrDefaultGlobalMute&&(t.vrDefaultGlobalMute=!1),void 0===t.arDefaultGlobalMute&&(t.arDefaultGlobalMute=!1),t.playerAppearance||(t.playerAppearance=new H),Jl(t)}function ql(e){e&&(function(e,t){const a=e,n=e=>{if(Array.isArray(e))for(const a of e)t(a)};if(n(e.variableList),Array.isArray(e.abilityList))for(const t of e.abilityList){const e=t;if(n(e.contextVariableList),n(e.activeActionListLocalVariableList),n(e.stopActionListLocalVariableList),Array.isArray(e.triggerList))for(const t of e.triggerList)n(t.localVariableList)}if(Array.isArray(a.vrFlowList))for(const e of a.vrFlowList){const t=e;if(n(t.flowScopeVariableList),Array.isArray(t.stepList))for(const e of t.stepList){const t=e;if(n(t.stepScopeVariableList),Array.isArray(t.triggerList))for(const e of t.triggerList){const t=e?.trigger;t&&n(t.localVariableList)}if(Array.isArray(t.finishInjectTriggerList))for(const e of t.finishInjectTriggerList)n(e.localVariableList);if(Array.isArray(t.buttonList))for(const e of t.buttonList)n(e.localVariableList)}}if(Array.isArray(e.triggerList))for(const t of e.triggerList)n(t.localVariableList);if(Array.isArray(e.backgroundThreadList))for(const t of e.backgroundThreadList)n(t.localVariableList);const s=e.prepareSettings;if(s&&(n(s.vrInitLocalVariableList),n(s.arInitLocalVariableList),n(s.allInitLocalVariableList)),Array.isArray(e.componentList))for(const t of e.componentList){const e=t;if(n(e.localVariableList),Array.isArray(e.triggerList))for(const t of e.triggerList)n(t.localVariableList)}if(Array.isArray(e.messageCardList))for(const t of e.messageCardList){const e=t;if(Array.isArray(e.buttonList))for(const t of e.buttonList)n(t.localVariableList)}}(e,jl),function(e){if(Array.isArray(e.componentList))for(const t of e.componentList){if(t.type!==j.TYPE_2D_PANEL)continue;const e=t;if(Array.isArray(e.sceneDataList))for(const t of e.sceneDataList){const e=t;"enum-modifier"===e.mode&&(e.mode="variable-modifier");const a=e.enumModifierModeSettings;if(a&&a.variableKey&&(e.variableModifierModeSettings||(e.variableModifierModeSettings={}),e.variableModifierModeSettings.variableKey||(e.variableModifierModeSettings.variableKey=a.variableKey),e.variableModifierModeSettings.variableType||(e.variableModifierModeSettings.variableType="string"),e.enumModifierModeSettings=void 0),Array.isArray(t.buttonDataList))for(const e of t.buttonDataList){const t=e,a=t.enumOptionValue;if(void 0!==a&&""!==a){if(void 0!==t.optionValue&&""!==t.optionValue&&null!==t.optionValue||(t.optionValue=a),!t.optionLabel||!t.optionLabel.original_content){const e=new A;e.original_content=String(a),e.only_use_original_content=!0,t.optionLabel=e}t.enumOptionValue=void 0}}}}}(e),function(e){const t=e=>{if(e){if(e.actionType&&(e=>{if(e&&"logic_random_pick_enum"===e.actionType){e.actionType="logic_random_pick_from_recommend_options";const t=e.params||{};e.params={target:t.target??{scope:"global",key:""}}}})(e),Array.isArray(e.ifActionList))for(const a of e.ifActionList)t(a);if(Array.isArray(e.elseActionList))for(const a of e.elseActionList)t(a);if(Array.isArray(e.actionList))for(const a of e.actionList)t(a)}},a=e=>{if(Array.isArray(e))for(const a of e)t(a)};if(Array.isArray(e.triggerList))for(const t of e.triggerList)a(t.actionList);if(Array.isArray(e.componentList))for(const t of e.componentList)if(Array.isArray(t.triggerList))for(const e of t.triggerList)a(e.actionList);if(Array.isArray(e.abilityList))for(const t of e.abilityList){const e=t;if(a(e.activeActionList),a(e.stopActionList),Array.isArray(e.triggerList))for(const t of e.triggerList)a(t.actionList)}if(Array.isArray(e.vrFlowList))for(const t of e.vrFlowList){const e=t;if(Array.isArray(e.stepList))for(const t of e.stepList){const e=t;if(a(e.enterActionList),Array.isArray(e.arriveActionList))for(const t of e.arriveActionList)a(t.actionList);if(Array.isArray(e.triggerList))for(const t of e.triggerList){const e=t?.trigger;e&&a(e.actionList)}if(Array.isArray(e.finishInjectTriggerList))for(const t of e.finishInjectTriggerList)a(t.actionList);if(Array.isArray(e.buttonList))for(const t of e.buttonList)a(t.clickActionList)}}if(Array.isArray(e.backgroundThreadList))for(const t of e.backgroundThreadList)a(t.actionList);const n=e.prepareSettings;if(n&&(a(n.vrInitCompleteActionList),a(n.arInitCompleteActionList),a(n.allInitCompleteActionList)),Array.isArray(e.messageCardList))for(const t of e.messageCardList)if(Array.isArray(t.buttonList))for(const e of t.buttonList)a(e.clickActionList);if(Array.isArray(e.monitorList))for(const t of e.monitorList)if(Array.isArray(t.componentList))for(const e of t.componentList)a(e.clickActionList)}(e))}function jl(e){if(!e)return;const t=e;if("enum"!==e.type)return;e.type="string";const a=(Array.isArray(t.enumOptions)?t.enumOptions:[]).map((e=>{const t=new me;t.value=e;const a=new A;return a.original_content=e,a.only_use_original_content=!0,t.label=a,t}));Array.isArray(e.stringRecommendOptions)&&0!==e.stringRecommendOptions.length||(e.stringRecommendOptions=a),e.stringDefaultValue||(e.stringDefaultValue=t.enumDefaultValue??""),t.enumOptions=void 0,t.enumDefaultValue=void 0}function $l(e){const t=e?.monitorList;if(Array.isArray(t))for(const e of t){if(!e)continue;if(e.displayMode!==Ts.POPUP&&e.displayMode!==Ts.FLOATING&&(e.displayMode=Ts.FLOATING),Array.isArray(e.sceneDataList)&&e.sceneDataList.length>0){e.defaultSceneId&&e.sceneDataList.some((t=>t&&t.id===e.defaultSceneId))||(e.defaultSceneId=e.sceneDataList[0].id);continue}const t=new gs;t.name="画面 1",void 0!==e.size&&null!==e.size&&(t.size=e.size),void 0!==e.radius&&null!==e.radius&&(t.radius=e.radius),void 0!==e.backgroundColor&&null!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),void 0!==e.backgroundBlur&&null!==e.backgroundBlur&&(t.backgroundBlur=e.backgroundBlur),t.componentList=Array.isArray(e.componentList)?e.componentList:[],e.sceneDataList=[t],e.defaultSceneId=t.id}}const Ql="expression";function Zl(e){return e?.root?ed(e.root):""}function ed(e){const t=(e.children||[]).filter((e=>!!e));if(0===t.length)return"";const a=t.map((e=>{if(e.kind===Ze.GROUP){const t=ed(e);return""===t?"false":`(${t})`}return function(e){if(e.funcName===Ql){const t=(e.args||[])[0],a=t&&null!=t.literalValue?String(t.literalValue).trim():"",n=a?`(${a})`:"false";return e.negate?`!(${n})`:n}const t=(e.args||[]).map(td).join(", "),a=`${e.funcName}(${t})`;return e.negate?`!(${a})`:a}(e)})),n="or"===e.logicalOp?" || ":" && ",s=1===a.length?a[0]:a.join(n);return e.negate?`!(${s})`:s}function td(e){if(e.argKind===et.VAR_REF){const t=e.variableScope||"global",a=e.variableKey||"";return a?"global"===t?`$${a}`:`_${t}.$${a}`:"undefined"}if(e.argKind===et.ARRAY_LITERAL)return`[${(e.arrayItems||[]).map(ad).join(", ")}]`;const t=e.literalType,a=e.literalValue;return"number"===t?sd("number"==typeof a?a:Number(a)||0):"boolean"===t?a?"true":"false":nd("string"==typeof a?a:String(a??""))}function ad(e){return"number"===e.type?sd("number"==typeof e.value?e.value:Number(e.value)||0):"boolean"===e.type?e.value?"true":"false":nd("string"==typeof e.value?e.value:String(e.value??""))}function nd(e){return JSON.stringify(e)}function sd(e){return Number.isFinite(e)?String(e):"0"}function rd(e,t){const a={deps:[],hasCustomJs:!1};return e?.root?(od(e.root,t,a),a):a}function od(e,t,a){for(const n of e.children||[])n&&(n.kind===Ze.GROUP?od(n,t,a):id(n,t,a))}function id(e,t,a){if(e.funcName===Ql)return void(a.hasCustomJs=!0);for(const t of e.args||[])t&&t.argKind===et.VAR_REF&&t.variableKey&&a.deps.push({sourceType:"variable",sourceId:String(t.variableKey)});const n=t[e.funcName];if(!n||"none"===n.kind)return;if("no-id"===n.kind)return void a.deps.push({sourceType:n.sourceType,sourceId:"*"});const s=(e.args||[])[n.argIndex];let r="*";s&&s.argKind===et.LITERAL&&null!=s.literalValue&&(r=String(s.literalValue)),a.deps.push({sourceType:n.sourceType,sourceId:r})}function cd(e){const t=Math.min(100,Math.max(0,e.percent)),a="horizontal"===e.direction,n={transition:a?"width 0.3s ease":"height 0.3s ease"};a?(n.width=t+"%",n.height="100%"):(n.width="100%",n.height=t+"%",n.position="absolute",n.bottom="0",n.left="0");const s=e.color,r=e.colorEnd&&""!==e.colorEnd?e.colorEnd:e.color,o=a?"90deg":"0deg";switch(e.style){case"gradient":n.background=`linear-gradient(${o}, ${s}, ${r})`;break;case"striped":n.background=`linear-gradient(45deg,\n rgba(255,255,255,0.18) 25%, transparent 25%,\n transparent 50%, rgba(255,255,255,0.18) 50%,\n rgba(255,255,255,0.18) 75%, transparent 75%, transparent) ,\n ${s}`,n.backgroundSize="14px 14px, auto";break;case"striped-animated":n.background=`linear-gradient(45deg,\n rgba(255,255,255,0.22) 25%, transparent 25%,\n transparent 50%, rgba(255,255,255,0.22) 50%,\n rgba(255,255,255,0.22) 75%, transparent 75%, transparent) ,\n ${s}`,n.backgroundSize="14px 14px, auto",n.animation="vrtalk-progress-stripes 0.8s linear infinite";break;case"glow":n.background=`linear-gradient(180deg,\n rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.0) 50%) ,\n ${s}`,n.boxShadow=`0 0 6px ${s}66 inset, 0 0 4px ${s}88`;break;default:n.background=s}return n}const ld="\n@keyframes vrtalk-progress-stripes {\n from { background-position: 0 0, 0 0; }\n to { background-position: 28px 0, 0 0; }\n}\n";return t})()));
|
|
2
2
|
//# sourceMappingURL=vrtalk-web-sdk.js.map
|