vrtalk-web-sdk 0.1.585 → 0.1.587
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/model/vr/index.d.ts +2 -0
- package/dist/src/model/vr/vr-action.d.ts +20 -10
- package/dist/src/model/vr/vr-content-data.d.ts +2 -0
- package/dist/src/model/vr/vr-flow.d.ts +5 -5
- package/dist/src/model/vr/vr-signal.d.ts +5 -2
- package/dist/src/model/vr/xr-ai-agent-tool-catalog.d.ts +36 -0
- package/dist/src/model/vr/xr-ai-agent.d.ts +9 -2
- package/dist/src/model/vr/xr-broadcast-channel.d.ts +21 -0
- package/dist/src/model/vr/xr-logic.d.ts +2 -1
- package/dist/vrtalk-web-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -47,7 +47,9 @@ export * from './xr-logic';
|
|
|
47
47
|
export * from './xr-monitor';
|
|
48
48
|
export * from './xr-message-card';
|
|
49
49
|
export * from './xr-background-thread';
|
|
50
|
+
export * from './xr-broadcast-channel';
|
|
50
51
|
export * from './xr-ai-agent';
|
|
52
|
+
export * from './xr-ai-agent-tool-catalog';
|
|
51
53
|
export * from './xr-camera-dolly-path';
|
|
52
54
|
export * from './xr-prepare';
|
|
53
55
|
export * from './xr-ability';
|
|
@@ -141,7 +141,7 @@ export declare class XrSwitchAction {
|
|
|
141
141
|
caseList: XrSwitchCase[];
|
|
142
142
|
defaultActionList: XrAnyAction[];
|
|
143
143
|
}
|
|
144
|
-
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' | '
|
|
144
|
+
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';
|
|
145
145
|
export declare class VrActionTypeDefine {
|
|
146
146
|
static readonly SYSTEM_COMMON_WAIT: VrActionType;
|
|
147
147
|
static readonly COMPONENT_GENERAL_CHANGE_VISIBILITY: VrActionType;
|
|
@@ -188,7 +188,7 @@ export declare class VrActionTypeDefine {
|
|
|
188
188
|
static readonly LOGIC_VARIABLE_BOOLEAN_TOGGLE: VrActionType;
|
|
189
189
|
static readonly FLOW_ENTER: VrActionType;
|
|
190
190
|
static readonly FLOW_EXIT: VrActionType;
|
|
191
|
-
static readonly
|
|
191
|
+
static readonly SEND_BROADCAST: VrActionType;
|
|
192
192
|
static readonly SYSTEM_STATE_SCOPE_CREATE: VrActionType;
|
|
193
193
|
static readonly SYSTEM_STATE_SCOPE_SWITCH: VrActionType;
|
|
194
194
|
static readonly SYSTEM_STATE_SCOPE_DESTROY: VrActionType;
|
|
@@ -217,8 +217,7 @@ export declare class VrActionTypeDefine {
|
|
|
217
217
|
static readonly BACKGROUND_THREAD_STOP: VrActionType;
|
|
218
218
|
static readonly AI_AGENT_ACTIVATE: VrActionType;
|
|
219
219
|
static readonly AI_AGENT_HIDE: VrActionType;
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly AI_AGENT_TRIGGER_CONVERSATION: VrActionType;
|
|
220
|
+
static readonly AI_AGENT_WAKE: VrActionType;
|
|
222
221
|
static readonly AI_AGENT_ACTIVATE_AND_SEND_USER_MESSAGE: VrActionType;
|
|
223
222
|
static readonly AI_AGENT_ACTIVATE_AND_INJECT_DIALOGUE: VrActionType;
|
|
224
223
|
static readonly AI_AGENT_INJECT_HIDDEN_STATE_MESSAGE: VrActionType;
|
|
@@ -467,9 +466,13 @@ export declare class VrActionParamsFlowEnter {
|
|
|
467
466
|
}
|
|
468
467
|
export declare class VrActionParamsFlowExit {
|
|
469
468
|
}
|
|
470
|
-
export declare class
|
|
471
|
-
|
|
472
|
-
|
|
469
|
+
export declare class XrBroadcastPayloadValue {
|
|
470
|
+
fieldKey: string;
|
|
471
|
+
value: XrTypedValue;
|
|
472
|
+
}
|
|
473
|
+
export declare class VrActionParamsSendBroadcast {
|
|
474
|
+
channelId: string;
|
|
475
|
+
payloadValueList: XrBroadcastPayloadValue[];
|
|
473
476
|
}
|
|
474
477
|
export declare type XrStateScopeBranchFrom = 'default' | 'current' | 'specific';
|
|
475
478
|
export declare class XrStateScopeBranchFromDefine {
|
|
@@ -637,11 +640,18 @@ export declare class VrActionParamsAiAgentActivate {
|
|
|
637
640
|
export declare class VrActionParamsAiAgentHide {
|
|
638
641
|
agentId: string;
|
|
639
642
|
}
|
|
640
|
-
export declare
|
|
641
|
-
|
|
643
|
+
export declare type XrAiAgentWakeWorkStyle = 'auto' | 'act_and_reply' | 'act_no_reply';
|
|
644
|
+
export declare class XrAiAgentWakeWorkStyleDefine {
|
|
645
|
+
static readonly AUTO: XrAiAgentWakeWorkStyle;
|
|
646
|
+
static readonly ACT_AND_REPLY: XrAiAgentWakeWorkStyle;
|
|
647
|
+
static readonly ACT_NO_REPLY: XrAiAgentWakeWorkStyle;
|
|
642
648
|
}
|
|
643
|
-
export declare class
|
|
649
|
+
export declare class VrActionParamsAiAgentWake {
|
|
644
650
|
agentId: string;
|
|
651
|
+
wakePromptId: string;
|
|
652
|
+
hasMessage: boolean;
|
|
653
|
+
message: MultiLanguageStr;
|
|
654
|
+
workStyle: XrAiAgentWakeWorkStyle;
|
|
645
655
|
}
|
|
646
656
|
export declare class VrActionParamsAiAgentActivateAndSendUserMessage extends VrActionParamsAiAgentActivate {
|
|
647
657
|
userMessage: MultiLanguageStr;
|
|
@@ -25,6 +25,7 @@ import { VrNavigationAdConfig } from '../../model/vr/vr-navigation-ad-config';
|
|
|
25
25
|
import { VrAdChannel } from '../../model/vr/vr-ad-channel';
|
|
26
26
|
import { XrAiAgent } from '../../model/vr/xr-ai-agent';
|
|
27
27
|
import { XrBackgroundThread } from '../../model/vr/xr-background-thread';
|
|
28
|
+
import { XrBroadcastChannel } from '../../model/vr/xr-broadcast-channel';
|
|
28
29
|
import { XrCameraDollyPath } from '../../model/vr/xr-camera-dolly-path';
|
|
29
30
|
import { XrPrepareSettings } from '../../model/vr/xr-prepare';
|
|
30
31
|
import { XrAbility, XrAbilityGroup } from '@/model/vr/xr-ability';
|
|
@@ -217,6 +218,7 @@ export declare class VrContentData {
|
|
|
217
218
|
sharedVariableList: XrVariable[];
|
|
218
219
|
conditionWatcherList: XrConditionWatcher[];
|
|
219
220
|
stateBindingsList: XrStateBindings[];
|
|
221
|
+
broadcastChannelList: XrBroadcastChannel[];
|
|
220
222
|
backgroundThreadList: XrBackgroundThread[];
|
|
221
223
|
cameraDollyPathList: XrCameraDollyPath[];
|
|
222
224
|
monitorList: XrMonitor[];
|
|
@@ -26,13 +26,13 @@ export declare class VrFlow {
|
|
|
26
26
|
flagImageSize: Vector2;
|
|
27
27
|
flowScopeVariableList: XrVariable[];
|
|
28
28
|
}
|
|
29
|
-
export declare type VrFlowStepType = 'start' | 'finish' | 'general' | 'condition' | '
|
|
29
|
+
export declare type VrFlowStepType = 'start' | 'finish' | 'general' | 'condition' | 'global_broadcast_listener';
|
|
30
30
|
export declare class VrFlowStepTypeDefine {
|
|
31
31
|
static readonly START: VrFlowStepType;
|
|
32
32
|
static readonly FINISH: VrFlowStepType;
|
|
33
33
|
static readonly GENERAL: VrFlowStepType;
|
|
34
34
|
static readonly CONDITION: VrFlowStepType;
|
|
35
|
-
static readonly
|
|
35
|
+
static readonly GLOBAL_BROADCAST_LISTENER: VrFlowStepType;
|
|
36
36
|
}
|
|
37
37
|
export declare type VrFlowStepBarStyle = 'normal' | 'buttons_only' | 'none';
|
|
38
38
|
export declare class VrFlowStepBarStyleDefine {
|
|
@@ -68,7 +68,7 @@ export declare class VrFlowStep {
|
|
|
68
68
|
enterActionCompleteEndpointSettings: VrFlowStepEndpointSettings;
|
|
69
69
|
arriveActionCompleteEndpointSettings: VrFlowStepEndpointSettings;
|
|
70
70
|
stepScopeVariableList: XrVariable[];
|
|
71
|
-
|
|
71
|
+
broadcastListenerEntryList: VrFlowBroadcastListenerEntry[];
|
|
72
72
|
overrideAppearance: boolean;
|
|
73
73
|
appearanceOverride: VrAppearanceStyle;
|
|
74
74
|
}
|
|
@@ -115,9 +115,9 @@ export declare class VrFlowStepEndpointSettings {
|
|
|
115
115
|
nextStepId: string;
|
|
116
116
|
lineColor: import("../general").Color;
|
|
117
117
|
}
|
|
118
|
-
export declare class
|
|
118
|
+
export declare class VrFlowBroadcastListenerEntry {
|
|
119
119
|
id: string;
|
|
120
|
-
|
|
120
|
+
channelId: string;
|
|
121
121
|
actionList: XrAnyAction[];
|
|
122
122
|
nextStepEndpointSettings: VrFlowStepEndpointSettings;
|
|
123
123
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { XrAnyAction } from './vr-action';
|
|
2
2
|
import { VRTalkBaseData } from '../general/vrtalk-base-data';
|
|
3
3
|
import { XrVariable } from './xr-logic';
|
|
4
|
-
export declare type VrSignalType = 'component_created' | 'component_show' | 'component_hide' | 'click' | 'mouse_enter' | 'mouse_leave' | 'play_start' | 'play_finish' | 'enter' | 'leave' | 'panel_button_click' | 'panel_answer_correct' | 'panel_answer_wrong' | 'variable_modified' | 'expression_watcher_triggered' | 'monitor_component_click' | 'sticker_activated' | 'sticker_deactivated' | 'vr_started' | 'all_components_created';
|
|
4
|
+
export declare type VrSignalType = 'component_created' | 'component_show' | 'component_hide' | 'click' | 'mouse_enter' | 'mouse_leave' | 'play_start' | 'play_finish' | 'enter' | 'leave' | 'panel_button_click' | 'panel_answer_correct' | 'panel_answer_wrong' | 'variable_modified' | 'expression_watcher_triggered' | 'monitor_component_click' | 'sticker_activated' | 'sticker_deactivated' | 'vr_started' | 'all_components_created' | 'broadcast_channel_message';
|
|
5
5
|
export declare class VrSignalTypeDefine {
|
|
6
6
|
static readonly COMPONENT_CREATED: VrSignalType;
|
|
7
7
|
static readonly COMPONENT_SHOW: VrSignalType;
|
|
@@ -23,8 +23,9 @@ export declare class VrSignalTypeDefine {
|
|
|
23
23
|
static readonly STICKER_DEACTIVATED: VrSignalType;
|
|
24
24
|
static readonly VR_STARTED: VrSignalType;
|
|
25
25
|
static readonly ALL_COMPONENTS_CREATED: VrSignalType;
|
|
26
|
+
static readonly BROADCAST_CHANNEL_MESSAGE: VrSignalType;
|
|
26
27
|
}
|
|
27
|
-
export declare type VrSignalSource = 'component_tag' | 'component_2d_text' | 'component_2d_advertisement' | 'component_2d_video' | 'component_2d_image' | 'component_2d_panel' | 'component_3d_box' | 'component_3d_model' | 'logic_variable' | 'logic_expression_watcher' | 'space_fence' | 'space_fence_group' | 'monitor_component' | 'sticker' | 'system';
|
|
28
|
+
export declare type VrSignalSource = 'component_tag' | 'component_2d_text' | 'component_2d_advertisement' | 'component_2d_video' | 'component_2d_image' | 'component_2d_panel' | 'component_3d_box' | 'component_3d_model' | 'logic_variable' | 'logic_expression_watcher' | 'space_fence' | 'space_fence_group' | 'monitor_component' | 'sticker' | 'broadcast' | 'ai_agent' | 'system';
|
|
28
29
|
export declare class VrSignalSourceDefine {
|
|
29
30
|
static readonly COMPONENT_TAG: VrSignalSource;
|
|
30
31
|
static readonly COMPONENT_2D_TEXT: VrSignalSource;
|
|
@@ -40,6 +41,8 @@ export declare class VrSignalSourceDefine {
|
|
|
40
41
|
static readonly SPACE_FENCE_GROUP: VrSignalSource;
|
|
41
42
|
static readonly MONITOR_COMPONENT: VrSignalSource;
|
|
42
43
|
static readonly STICKER: VrSignalSource;
|
|
44
|
+
static readonly BROADCAST: VrSignalSource;
|
|
45
|
+
static readonly AI_AGENT: VrSignalSource;
|
|
43
46
|
static readonly SYSTEM: VrSignalSource;
|
|
44
47
|
}
|
|
45
48
|
export declare const VrSignalTypeSourceMapping: {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { XrAiAgent } from './xr-ai-agent';
|
|
2
|
+
/**
|
|
3
|
+
* AI智能体「工具」目录
|
|
4
|
+
*
|
|
5
|
+
* 这是 console「工具」segment 渲染分组+开关、以及前端判断某工具是否"可用/已启用"的数据源。
|
|
6
|
+
*
|
|
7
|
+
* ⚠️ 工具 key 必须与后端 XrAiAgentToolBuilder 的 tool("…") 注册名严格一致——后端是工具是否真正
|
|
8
|
+
* 暴露给 LLM 的唯一权威;这里只是给编辑器用的目录 + 人工 opt-out 开关(agent.toolSettings)。
|
|
9
|
+
* 新增/改名后端工具时,请同步本目录。
|
|
10
|
+
*
|
|
11
|
+
* requires:该工具依赖的「关联资源」条件(any-of,满足其一即视为资源就绪)。
|
|
12
|
+
* - 空数组 = 始终可用(不依赖关联资源,如基础检视 / 系统能力 / 随机数等)
|
|
13
|
+
* - 'enableVoiceOutput' = 依赖智能体「启用语音输出」开关
|
|
14
|
+
* - 其余值 = agent 上对应 useXxxList / skillPromptList 非空
|
|
15
|
+
* 资源未就绪时:该工具在后端本就不会暴露,编辑器里开关置灰(开了也无意义)。
|
|
16
|
+
*/
|
|
17
|
+
export declare type XrAiAgentToolRequireKey = 'useComponentList' | 'useTargetList' | 'useFovList' | 'useVariableList' | 'useStickerList' | 'useSpaceFenceList' | 'useSpaceFenceGroupList' | 'useBackgroundThreadList' | 'useCameraDollyPathList' | 'useAbilityList' | 'useKnowledgeBaseList' | 'useContentCardList' | 'useCloudFormList' | 'useMessageCardList' | 'useMonitorList' | 'skillPromptList' | 'enableVoiceOutput';
|
|
18
|
+
export interface XrAiAgentToolDef {
|
|
19
|
+
key: string;
|
|
20
|
+
requires?: XrAiAgentToolRequireKey[];
|
|
21
|
+
readOnlyInspect?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface XrAiAgentToolGroup {
|
|
24
|
+
key: string;
|
|
25
|
+
toolList: XrAiAgentToolDef[];
|
|
26
|
+
}
|
|
27
|
+
export declare const XR_AI_AGENT_TOOL_GROUPS: XrAiAgentToolGroup[];
|
|
28
|
+
/**
|
|
29
|
+
* 该工具的「资源就绪条件」是否被当前 agent 满足(any-of)。requires 空 = 恒满足。
|
|
30
|
+
*/
|
|
31
|
+
export declare function isAiAgentToolResourceReady(agent: XrAiAgent | any, def: XrAiAgentToolDef): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* 工具是否"最终启用":资源就绪 且 未被人工关掉(toolSettings[key] !== false)。
|
|
34
|
+
* 与后端口径一致:缺省(map 里没有)= 启用。
|
|
35
|
+
*/
|
|
36
|
+
export declare function isAiAgentToolEnabled(agent: XrAiAgent | any, def: XrAiAgentToolDef): boolean;
|
|
@@ -74,8 +74,6 @@ export declare class XrAiAgentRolePromptSettings {
|
|
|
74
74
|
abilityPrompt: string;
|
|
75
75
|
limitPrompt: string;
|
|
76
76
|
behaviorRulePrompt: string;
|
|
77
|
-
greetingPrompt: string;
|
|
78
|
-
warmUpPrompt: string;
|
|
79
77
|
}
|
|
80
78
|
export declare class XrAiAgentParams {
|
|
81
79
|
reasoning_effort?: string;
|
|
@@ -87,6 +85,11 @@ export declare class XrAiAgentSkillPrompt extends VRTalkBaseData {
|
|
|
87
85
|
description: string;
|
|
88
86
|
promptContent: string;
|
|
89
87
|
}
|
|
88
|
+
export declare class XrAiAgentWakePrompt extends VRTalkBaseData {
|
|
89
|
+
name: string;
|
|
90
|
+
description: string;
|
|
91
|
+
wakePrompt: string;
|
|
92
|
+
}
|
|
90
93
|
export declare class XrAiAgent extends VRTalkBaseData {
|
|
91
94
|
name: string;
|
|
92
95
|
autoActivate: boolean;
|
|
@@ -98,6 +101,10 @@ export declare class XrAiAgent extends VRTalkBaseData {
|
|
|
98
101
|
avatarSrc: string;
|
|
99
102
|
rolePromptSettings: XrAiAgentRolePromptSettings;
|
|
100
103
|
skillPromptList: XrAiAgentSkillPrompt[];
|
|
104
|
+
wakePromptList: XrAiAgentWakePrompt[];
|
|
105
|
+
toolSettings: {
|
|
106
|
+
[toolKey: string]: boolean;
|
|
107
|
+
};
|
|
101
108
|
modelDataKey: string;
|
|
102
109
|
contextTokens: number;
|
|
103
110
|
params: XrAiAgentParams;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { VRTalkBaseData } from '../general/vrtalk-base-data';
|
|
2
|
+
import { XrVariable } from './xr-logic';
|
|
3
|
+
/**
|
|
4
|
+
* 广播频道预设
|
|
5
|
+
*
|
|
6
|
+
* 「内容管理 → 广播频道预设」里建立的频道。频道本身只是一个具名的消息总线:
|
|
7
|
+
* - 任何地方的 send_broadcast 动作可以往某个频道发广播;
|
|
8
|
+
* - 订阅该频道的对象(flow 的「全局广播监听」卡、「广播」类触发器)会收到并执行各自动作。
|
|
9
|
+
*
|
|
10
|
+
* 频道可携带「载荷」:payloadFieldList 定义了这条频道消息会带哪些字段(名字 + 类型 + 默认值,
|
|
11
|
+
* 复用 XrVariable 结构)。发送方调用 send_broadcast 时按 schema 填值;监听方动作链里通过
|
|
12
|
+
* _broadcast_msg.$字段key 读取(运行时把载荷压成一节 BROADCAST_MSG 临时作用域)。
|
|
13
|
+
*
|
|
14
|
+
* id 程序自动生成、对用户不可见,作为选择时存储的值(频道选择器显示 name、存储 id)。
|
|
15
|
+
*/
|
|
16
|
+
export declare class XrBroadcastChannel extends VRTalkBaseData {
|
|
17
|
+
name: string;
|
|
18
|
+
remark: string;
|
|
19
|
+
payloadFieldList: XrVariable[];
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
@@ -52,7 +52,7 @@ export declare class XrVariable {
|
|
|
52
52
|
* - step: Flow Step 级(VrFlowStep.stepScopeVariableList)
|
|
53
53
|
* - local: 最内层容器(trigger / button / background_thread / init / 消息卡片按钮)
|
|
54
54
|
*/
|
|
55
|
-
export declare type XrVariableScopeType = 'global' | 'shared' | 'local' | 'step' | 'flow' | 'ability';
|
|
55
|
+
export declare type XrVariableScopeType = 'global' | 'shared' | 'local' | 'step' | 'flow' | 'ability' | 'broadcast_msg';
|
|
56
56
|
export declare class XrVariableScopeTypeDefine {
|
|
57
57
|
static readonly GLOBAL: XrVariableScopeType;
|
|
58
58
|
static readonly SHARED: XrVariableScopeType;
|
|
@@ -60,6 +60,7 @@ export declare class XrVariableScopeTypeDefine {
|
|
|
60
60
|
static readonly STEP: XrVariableScopeType;
|
|
61
61
|
static readonly FLOW: XrVariableScopeType;
|
|
62
62
|
static readonly ABILITY: XrVariableScopeType;
|
|
63
|
+
static readonly BROADCAST_MSG: XrVariableScopeType;
|
|
63
64
|
}
|
|
64
65
|
/**
|
|
65
66
|
* 单个变量作用域
|
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 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:()=>oo,AR_INFO_BAR_DEFAULT:()=>no,AR_INFO_ICON_KEYS:()=>io,AR_MAIN_BAR_DEFAULT:()=>ao,ArCommonSettings:()=>or,ArMultisetSettings:()=>rr,ArPositionXSettings:()=>Tr,ChromaKeySettings:()=>_,Color:()=>d,ColorBuilder:()=>c,ColorParser:()=>l,Component2dFaceToCameraModeDefine:()=>te,EXPRESSION_FUNC_NAME:()=>Bl,EaseAnimationFunctionDefine:()=>E,EaseAnimationSettings:()=>m,FreeButton:()=>C,GotoPositionMethodDefine:()=>O,HoverBorderSettings:()=>S,LanguageTypeDefine:()=>g,LogicCurrentTimeOutputTypeDefine:()=>sn,LogicRandomColorPaletteDefine:()=>an,MediaLoopModeDefine:()=>N,MonitorVideoMuteChangeTypeDefine:()=>_a,MonitorVideoPlayChangeTypeDefine:()=>da,MultiLanguageStr:()=>A,PROGRESS_BAR_KEYFRAMES_CSS:()=>zl,ParentComCommandAssetLabel:()=>Xc,ParentComCommandAudio:()=>Qc,ParentComCommandCamera:()=>Kc,ParentComCommandComponent:()=>Bc,ParentComCommandCover:()=>wc,ParentComCommandDollyPath:()=>nl,ParentComCommandFloor:()=>Yc,ParentComCommandFov:()=>kc,ParentComCommandHamburgerMenu:()=>sl,ParentComCommandInfoTemplate:()=>Vc,ParentComCommandInformation:()=>Uc,ParentComCommandLayer:()=>Gc,ParentComCommandLight:()=>xc,ParentComCommandMarker:()=>zc,ParentComCommandMessageCard:()=>al,ParentComCommandMonitor:()=>tl,ParentComCommandNavigation:()=>jc,ParentComCommandObstacle:()=>$c,ParentComCommandPlayer:()=>fc,ParentComCommandRenderer:()=>Jc,ParentComCommandSpaceFence:()=>el,ParentComCommandSticker:()=>Hc,ParentComCommandSweep:()=>Wc,ParentComCommandTarget:()=>qc,ParentComCommandTrimmer:()=>Fc,ParentComCommandUi:()=>vc,ParentComCommandWormhole:()=>Zc,ParentComMessageAssetLabel:()=>Tl,ParentComMessageCamera:()=>rl,ParentComMessageComponent:()=>ol,ParentComMessageDollyPath:()=>Ol,ParentComMessageFloor:()=>cl,ParentComMessageFov:()=>il,ParentComMessageNavigation:()=>_l,ParentComMessageObstacle:()=>El,ParentComMessagePlayer:()=>Dc,ParentComMessageRenderer:()=>dl,ParentComMessageSpaceFence:()=>Cl,ParentComMessageSticker:()=>pl,ParentComMessageSweep:()=>ll,ParentComMessageTarget:()=>gl,ParentComMessageTrimmer:()=>ml,ParentComMessageWormhole:()=>Al,PlayerComCommand:()=>Bi,PlayerComCommandAssetLabel:()=>nc,PlayerComCommandAudio:()=>ac,PlayerComCommandCamera:()=>Qi,PlayerComCommandComponent:()=>Wi,PlayerComCommandCover:()=>xi,PlayerComCommandDollyPath:()=>lc,PlayerComCommandFloor:()=>$i,PlayerComCommandFov:()=>Yi,PlayerComCommandHamburgerMenu:()=>dc,PlayerComCommandInfoTemplate:()=>Hi,PlayerComCommandInformation:()=>Xi,PlayerComCommandLayer:()=>Ki,PlayerComCommandLight:()=>Ji,PlayerComCommandMarker:()=>Zi,PlayerComCommandMessageCard:()=>cc,PlayerComCommandMonitor:()=>ic,PlayerComCommandNavigation:()=>ec,PlayerComCommandObstacle:()=>tc,PlayerComCommandPlayer:()=>Gi,PlayerComCommandRenderer:()=>qi,PlayerComCommandSpaceFence:()=>oc,PlayerComCommandSticker:()=>ji,PlayerComCommandSweep:()=>hc,PlayerComCommandTarget:()=>sc,PlayerComCommandTrimmer:()=>zi,PlayerComCommandTypeDefine:()=>ki,PlayerComCommandUi:()=>Fi,PlayerComCommandWormhole:()=>rc,PlayerComMessage:()=>_c,PlayerComMessageAssetLabel:()=>Nc,PlayerComMessageCamera:()=>mc,PlayerComMessageComponent:()=>pc,PlayerComMessageDollyPath:()=>yc,PlayerComMessageFloor:()=>gc,PlayerComMessageFov:()=>Tc,PlayerComMessageNavigation:()=>Sc,PlayerComMessageObstacle:()=>Ic,PlayerComMessagePlayer:()=>Ac,PlayerComMessageRenderer:()=>Oc,PlayerComMessageSpaceFence:()=>Mc,PlayerComMessageSticker:()=>Lc,PlayerComMessageSweep:()=>Cc,PlayerComMessageTarget:()=>Rc,PlayerComMessageTrimmer:()=>uc,PlayerComMessageTypeDefine:()=>Ec,PlayerComMessageWormhole:()=>Pc,PlayerController:()=>bc,PopupUserFormField:()=>Za,PositionXAbnormalHandheldSettings:()=>cr,PositionXCorrectionSettings:()=>pr,PositionXDistanceTrigger:()=>_r,PositionXDynamicSettings:()=>mr,PositionXInitialSettings:()=>lr,PositionXQualitySettings:()=>ir,PositionXScoreTier:()=>Er,PositionXTimerTrigger:()=>dr,RendererResolution:()=>I,TakeScreenshotVisibility:()=>u,TintableIconRef:()=>L,TtsTextModeDefine:()=>Ma,UnityNavigationMode:()=>R,UnityNavigationParams:()=>P,UnityNavigationPlan:()=>M,VRTalkBaseData:()=>T,VRTalkEditablePlayer:()=>Sl,VR_ACTION_PLATFORM_CAPABILITY_AR_ONLY:()=>gn,VR_ACTION_PLATFORM_CAPABILITY_VR_AND_AR:()=>Tn,VR_ACTION_PLATFORM_CAPABILITY_VR_ONLY:()=>pn,VR_INFO_BAR_DEFAULT:()=>to,VR_INFO_BAR_ICON_KEYS:()=>ro,VR_MAIN_BAR_DEFAULT:()=>eo,VR_MAIN_BAR_ICON_KEYS:()=>so,Vector2:()=>n,Vector3:()=>a,VrAction:()=>ze,VrActionAnalyticsValueModeDefine:()=>$a,VrActionCloudFormValueModeDefine:()=>Ya,VrActionHitAnalyticsEventFieldBinding:()=>Qa,VrActionParams:()=>At,VrActionParams2dGeneralChangeDeformationSettings:()=>ut,VrActionParams2dImageChangeSource:()=>Nt,VrActionParams2dPanelButtonChangeEnabled:()=>Dt,VrActionParams2dPanelChangeScene:()=>bt,VrActionParams2dTextChangeSource:()=>Lt,VrActionParams2dVideoChangeMuteState:()=>Mt,VrActionParams2dVideoChangePlayState:()=>Pt,VrActionParams2dVideoChangeSource:()=>Rt,VrActionParams3dBoxChangeColor:()=>yt,VrActionParams3dModelOperateAnimationClip:()=>Ut,VrActionParamsAbilityEnable:()=>Tt,VrActionParamsAbilityStop:()=>gt,VrActionParamsAiAgentActivate:()=>Da,VrActionParamsAiAgentActivateAndInjectAssistantMessage:()=>ka,VrActionParamsAiAgentActivateAndInjectDialogue:()=>Ua,VrActionParamsAiAgentActivateAndSendUserMessage:()=>Va,VrActionParamsAiAgentHide:()=>fa,VrActionParamsAiAgentInjectHiddenStateMessage:()=>Ba,VrActionParamsAiAgentTriggerConversation:()=>va,VrActionParamsAiAgentTriggerMonologue:()=>wa,VrActionParamsAudioCenterPlayList:()=>Vt,VrActionParamsAudioCenterSetVolume:()=>Ha,VrActionParamsBackgroundThread:()=>ba,VrActionParamsCameraDollyMove:()=>Gt,VrActionParamsCameraDollyStop:()=>xt,VrActionParamsCameraMoveTo:()=>kt,VrActionParamsCanvasComponentChangeVisibility:()=>ga,VrActionParamsCloudFormCollectField:()=>Ja,VrActionParamsCloudFormReset:()=>ja,VrActionParamsCloudFormShowDialog:()=>Ka,VrActionParamsCloudFormSubmit:()=>za,VrActionParamsComponentGeneralAudioSourceChangeLoopMode:()=>vt,VrActionParamsComponentGeneralAudioSourcePause:()=>wt,VrActionParamsComponentGeneralAudioSourcePlayControl:()=>ft,VrActionParamsComponentGeneralChangeTransform:()=>St,VrActionParamsComponentGeneralChangeVisibility:()=>Ot,VrActionParamsComponentGeneralOperateTransitionAnimation:()=>It,VrActionParamsComponentTagSimulateClick:()=>ht,VrActionParamsFlowEnter:()=>ea,VrActionParamsFlowExit:()=>ta,VrActionParamsHamburgerMenuChangeOpenState:()=>Oa,VrActionParamsHamburgerMenuGroupChangeExpanded:()=>Sa,VrActionParamsHamburgerMenuNodeChangeVisibility:()=>Ca,VrActionParamsHitAnalyticsEvent:()=>qa,VrActionParamsInformationContentCardShow:()=>Kt,VrActionParamsInformationLinkOpen:()=>Jt,VrActionParamsLayerChangeVisibility:()=>Aa,VrActionParamsLogicCurrentTime:()=>rn,VrActionParamsLogicRandomColor:()=>nn,VrActionParamsLogicRandomNumber:()=>tn,VrActionParamsLogicRandomPickBoolean:()=>ln,VrActionParamsLogicRandomPickColor:()=>dn,VrActionParamsLogicRandomPickCssColor:()=>_n,VrActionParamsLogicRandomPickFromRecommendOptions:()=>En,VrActionParamsLogicRandomPickNumber:()=>cn,VrActionParamsLogicRandomPickString:()=>on,VrActionParamsLogicVariableBooleanToggle:()=>Zt,VrActionParamsLogicVariableModify:()=>zt,VrActionParamsLogicVariableNumberAdd:()=>jt,VrActionParamsLogicVariableStringAdvanced:()=>qt,VrActionParamsLogicVariableStringAppend:()=>$t,VrActionParamsLogicVariableStringTrimEnd:()=>Qt,VrActionParamsMessageCardChangeShowState:()=>ua,VrActionParamsMessageCardCreateTemporary:()=>Ra,VrActionParamsMessageCardDestroyTemporary:()=>Pa,VrActionParamsMessageCardHide:()=>Na,VrActionParamsMessageCardShow:()=>La,VrActionParamsMonitorChangeBadgeStyle:()=>Ta,VrActionParamsMonitorChangeBadgeText:()=>pa,VrActionParamsMonitorChangeEnabled:()=>ia,VrActionParamsMonitorComponentChangeVisibility:()=>la,VrActionParamsMonitorSwitchActiveTab:()=>ca,VrActionParamsMonitorVideoChangeMuteState:()=>ma,VrActionParamsMonitorVideoChangePlayState:()=>Ea,VrActionParamsNavigationStart:()=>Bt,VrActionParamsPopupUserFormShowDialog:()=>en,VrActionParamsSendSignalToFlow:()=>aa,VrActionParamsSweepChangeEnabled:()=>Ft,VrActionParamsSweepChangePanorama:()=>Ht,VrActionParamsSweepMarkerChangeEnabled:()=>Xt,VrActionParamsSweepOnlyEnableCurrent:()=>Yt,VrActionParamsSweepResetToDefault:()=>Wt,VrActionParamsSystemColorSpaceDisplayBrightness:()=>Wa,VrActionParamsSystemColorSpaceSceneTint:()=>Xa,VrActionParamsSystemCommonWait:()=>Ct,VrActionParamsSystemOpenWebpage:()=>xa,VrActionParamsSystemSetInteractiveState:()=>Fa,VrActionParamsSystemStateScopeCreate:()=>sa,VrActionParamsSystemStateScopeDestroy:()=>oa,VrActionParamsSystemStateScopeSwitch:()=>ra,VrActionParamsSystemUiSettingsChange:()=>Ia,VrActionParamsTtsPlayVoice:()=>ya,VrActionParamsTtsRealtimeStream:()=>ha,VrActionSystemOpenWebpagePcModeDefine:()=>Ga,VrActionTypeDefine:()=>pt,VrAdChannel:()=>In,VrAdItem:()=>un,VrAiSettings:()=>Ln,VrAppearanceStyle:()=>H,VrAssetLabel:()=>Nn,VrAudio:()=>J,VrAudioCenter:()=>W,VrAudioList:()=>j,VrAudioLyric:()=>z,VrCameraEnterSettings:()=>ar,VrCameraModeDefine:()=>s,VrCameraMoveTransitionTypeDefine:()=>r,VrCameraPose:()=>i,VrColorSpaceSettings:()=>vn,VrComponent2dAdvertisementData:()=>ti,VrComponent2dDeformationModeDefine:()=>ne,VrComponent2dDeformationSettings:()=>se,VrComponent2dImageData:()=>ai,VrComponent2dImageSourceData:()=>ni,VrComponent2dPanelAnsweringModeSettings:()=>ii,VrComponent2dPanelButtonItemData:()=>pi,VrComponent2dPanelButtonTypeDefine:()=>_i,VrComponent2dPanelData:()=>ri,VrComponent2dPanelImageItemData:()=>Ei,VrComponent2dPanelItem:()=>di,VrComponent2dPanelItemStyle:()=>Ai,VrComponent2dPanelItemTypeDefine:()=>li,VrComponent2dPanelSceneData:()=>oi,VrComponent2dPanelSceneGeneralParams:()=>Ti,VrComponent2dPanelSceneModeDefine:()=>si,VrComponent2dPanelSceneStyle:()=>gi,VrComponent2dPanelTextItemData:()=>mi,VrComponent2dPanelVariableModifierModeSettings:()=>ci,VrComponent2dTextBasicModeSettings:()=>Li,VrComponent2dTextData:()=>Ii,VrComponent2dTextHorizontalAlignDefine:()=>Ci,VrComponent2dTextMarqueeModeSettings:()=>Ni,VrComponent2dTextModeDefine:()=>Si,VrComponent2dTextSourceData:()=>ui,VrComponent2dTextVerticalAlignDefine:()=>Oi,VrComponent2dVideoData:()=>Ri,VrComponent2dVideoSourceData:()=>Pi,VrComponent3dBoxData:()=>Mi,VrComponent3dModelAnimationClipData:()=>bi,VrComponent3dModelAnimationData:()=>hi,VrComponent3dModelData:()=>yi,VrComponentAudioSource:()=>K,VrComponentAudioSourceDistanceModelDefine:()=>Y,VrComponentControllerTypeDefine:()=>Q,VrComponentCustomVisibilitySettings:()=>ee,VrComponentData:()=>q,VrComponentData2d:()=>ae,VrComponentData2dCurvedSurfaceSettings:()=>re,VrComponentData2dFoldSurfaceSettings:()=>oe,VrComponentData3d:()=>ie,VrComponentNavigationSettings:()=>Z,VrComponentTagData:()=>fi,VrComponentTagTextLocationDefine:()=>Di,VrComponentTransitionAnimation:()=>le,VrComponentTransitionAnimationKeyframe:()=>de,VrComponentTransitionAnimationPlayCompleteProcessTypeDefine:()=>ce,VrComponentTypeDefine:()=>$,VrContentCard:()=>B,VrContentCardMedia:()=>G,VrContentCardMediaTypeDefine:()=>V,VrContentCardModule:()=>k,VrContentCardShowStyleDefine:()=>U,VrContentData:()=>gr,VrContentDataBuilder:()=>tr,VrCoverBackgroundFitTypeDefine:()=>Fn,VrCoverBackgroundTypeDefine:()=>xn,VrCoverButtonTypeDefine:()=>Hn,VrCoverSettings:()=>Xn,VrFloatingLayerStyle:()=>Rn,VrFloor:()=>Ar,VrFloorMapSettings:()=>Cr,VrFlow:()=>Rr,VrFlowPositionSettings:()=>Dr,VrFlowPositionTypeDefine:()=>br,VrFlowSignalListenerEntry:()=>vr,VrFlowStatusDefine:()=>Nr,VrFlowStep:()=>yr,VrFlowStepArriveAction:()=>hr,VrFlowStepBarStyleDefine:()=>Mr,VrFlowStepEndpointSettings:()=>wr,VrFlowStepTypeDefine:()=>Pr,VrFlowTrigger:()=>fr,VrFov:()=>Vr,VrInfoTemplateItemValue:()=>fn,VrInfoTemplateSettings:()=>Dn,VrIntroduceItem:()=>sr,VrLayer:()=>Ur,VrLight:()=>Br,VrLightAmbient:()=>kr,VrLightDirectional:()=>Gr,VrLightPoint:()=>xr,VrLogoEndpointConfig:()=>yn,VrLogoObjectAlignDefine:()=>Mn,VrLogoObjectFitDefine:()=>Pn,VrMarker:()=>Hr,VrMarkerGroup:()=>Xr,VrMarkerTypeDefine:()=>Fr,VrMeasureAreaUnitDefine:()=>Yr,VrMeasureData:()=>Kr,VrMeasureDistanceUnitDefine:()=>Wr,VrMeasurePoint:()=>Jr,VrNavigationAdConfig:()=>zr,VrNavigationModeDefine:()=>h,VrNavigationPath:()=>w,VrNavigationPoint:()=>D,VrNavigationPointBuilder:()=>b,VrNavigationPointTypeDefine:()=>y,VrNavigationRequest:()=>f,VrNavigationResult:()=>v,VrObstacle:()=>jr,VrObstacleGroup:()=>$r,VrPlayerLogoConfig:()=>hn,VrPlayerModeDefine:()=>wi,VrPlayerStatusDefine:()=>Vi,VrPlayerStatusNumMapping:()=>vi,VrPlayerStatusValue:()=>Ui,VrPlayerUiSettings:()=>bn,VrRenderSettings:()=>wn,VrShadowStyle:()=>x,VrSignal:()=>ur,VrSignalSourceDefine:()=>Sr,VrSignalTrigger:()=>Lr,VrSignalTypeDefine:()=>Or,VrSignalTypeSourceMapping:()=>Ir,VrSticker:()=>mo,VrStickerActivateTypeDefine:()=>Eo,VrSweep:()=>po,VrSweepAlignmentDefine:()=>To,VrSweepCameraPose:()=>o,VrSweepPanoramaBallExternalViewModeDefine:()=>Co,VrSweepPanoramaData:()=>Oo,VrSweepPanoramaSourceData:()=>So,VrSweepPanoramaSourceTypeDefine:()=>Ao,VrSweepPlacementTypeDefine:()=>go,VrTarget:()=>yo,VrTargetGroup:()=>ho,VrTheme:()=>Io,VrTrimmerData:()=>uo,VrUiIconItem:()=>qr,VrView:()=>No,VrViewTypeDefine:()=>Ro,VrWorldSizeInfo:()=>nr,VrWormhole:()=>Po,VrWormholeGroup:()=>Mo,WorkNoteEnterTag:()=>Qr,XR_HAMBURGER_MENU_DEFAULT_COLOR:()=>ls,XrAbility:()=>ei,XrAbilityGroup:()=>Zo,XrActionCategoryDefine:()=>Ye,XrAiAgent:()=>$o,XrAiAgentParams:()=>zo,XrAiAgentRolePromptSettings:()=>Jo,XrAiAgentSkillPrompt:()=>jo,XrAiAgentUseAbility:()=>Go,XrAiAgentUseAnalyticsEvent:()=>Wo,XrAiAgentUseBackgroundThread:()=>Bo,XrAiAgentUseCameraDollyPath:()=>ko,XrAiAgentUseCloudForm:()=>Ho,XrAiAgentUseComponent:()=>Do,XrAiAgentUseContentCard:()=>xo,XrAiAgentUseFov:()=>Fo,XrAiAgentUseKnowledgeBase:()=>Xo,XrAiAgentUseMessageCard:()=>Yo,XrAiAgentUseMonitor:()=>Ko,XrAiAgentUseSpaceFence:()=>Vo,XrAiAgentUseSpaceFenceGroup:()=>Uo,XrAiAgentUseSticker:()=>vo,XrAiAgentUseTarget:()=>fo,XrAiAgentUseVariable:()=>wo,XrAudioCenterState:()=>Be,XrBackgroundThread:()=>bo,XrBackgroundThreadState:()=>Re,XrBackgroundThreadStatusDefine:()=>Ne,XrBaseAction:()=>Je,XrBoundVariableControl:()=>Sn,XrCameraDollyPath:()=>qo,XrCameraDollyPathNode:()=>Qo,XrComponentState2dImage:()=>Me,XrComponentState2dPanel:()=>be,XrComponentState2dText:()=>he,XrComponentState2dVideo:()=>ye,XrComponentState3dBox:()=>De,XrComponentState3dModel:()=>fe,XrComponentStateBase:()=>Pe,XrComponentStateTag:()=>we,XrConditionAction:()=>ct,XrConditionArg:()=>nt,XrConditionArgKindDefine:()=>et,XrConditionArgLiteralTypeDefine:()=>tt,XrConditionArrayItem:()=>at,XrConditionCall:()=>st,XrConditionElseIfBranch:()=>it,XrConditionGroup:()=>rt,XrConditionNodeKindDefine:()=>Ze,XrConditionSubject:()=>$e,XrConditionSubjectKindDefine:()=>je,XrConditionTree:()=>ot,XrConditionValueOperand:()=>qe,XrConditionValueOperandValueTypeDefine:()=>Qe,XrConditionWatcher:()=>Se,XrConditionWatcherTriggerModeDefine:()=>Oe,XrCountLoopAction:()=>lt,XrExpressionLoopAction:()=>_t,XrExpressionLoopActionCheckExpressionPositionDefine:()=>dt,XrHamburgerCanvasComponentBase:()=>zs,XrHamburgerCanvasComponentButton:()=>Zs,XrHamburgerCanvasComponentButtonIconPositionDefine:()=>Js,XrHamburgerCanvasComponentImage:()=>js,XrHamburgerCanvasComponentImageModeDefine:()=>Hs,XrHamburgerCanvasComponentProgressBar:()=>Qs,XrHamburgerCanvasComponentProgressBarDirectionDefine:()=>Ys,XrHamburgerCanvasComponentText:()=>$s,XrHamburgerCanvasComponentTextAlignDefine:()=>Xs,XrHamburgerCanvasComponentTypeDefine:()=>Fs,XrHamburgerCanvasComponentVariableControl:()=>er,XrHamburgerCanvasComponentVerticalAlignDefine:()=>Ws,XrHamburgerCanvasComponentVideo:()=>qs,XrHamburgerCanvasComponentVideoObjectFitDefine:()=>Ks,XrHamburgerMenu:()=>xs,XrHamburgerMenuCanvasItem:()=>Gs,XrHamburgerMenuGridImageItem:()=>hs,XrHamburgerMenuGridLastRowModeDefine:()=>Ps,XrHamburgerMenuGridMediaItem:()=>ys,XrHamburgerMenuGroup:()=>Us,XrHamburgerMenuImageItem:()=>Ns,XrHamburgerMenuImageItemSlide:()=>Ls,XrHamburgerMenuImageObjectFitDefine:()=>Ms,XrHamburgerMenuMediaCarouselItem:()=>us,XrHamburgerMenuMediaItem:()=>gs,XrHamburgerMenuMediaTypeDefine:()=>Ts,XrHamburgerMenuNode:()=>Ss,XrHamburgerMenuNodeBase:()=>Os,XrHamburgerMenuNodeTypeDefine:()=>ps,XrHamburgerMenuPcLayoutModeDefine:()=>As,XrHamburgerMenuRichImageSlide:()=>Rs,XrHamburgerMenuRichTextItem:()=>ks,XrHamburgerMenuStyle:()=>ds,XrHamburgerMenuTextItem:()=>Is,XrHamburgerMenuTitleOverflowModeDefine:()=>Cs,XrHamburgerMenuVideoItem:()=>vs,XrHamburgerMenuVideoItemSlide:()=>ws,XrHamburgerMenuWaterfallBreakpoint:()=>bs,XrHamburgerMenuWaterfallImageItem:()=>fs,XrHamburgerMenuWaterfallMediaItem:()=>Ds,XrHamburgerMenuWebViewItem:()=>Vs,XrInteractionControlConfig:()=>We,XrInteractionControlDefaultVariant:()=>Fe,XrInteractionControlVariantDefine:()=>xe,XrInteractionControlVariantTier:()=>He,XrInteractionDataTypeDefine:()=>Ge,XrInteractionOption:()=>Xe,XrMessageCard:()=>X,XrMonitor:()=>cs,XrMonitorBadgeStyleDefine:()=>es,XrMonitorComponentBase:()=>ts,XrMonitorComponentButton:()=>os,XrMonitorComponentButtonIconPositionDefine:()=>Zn,XrMonitorComponentImage:()=>as,XrMonitorComponentImageModeDefine:()=>Jn,XrMonitorComponentProgressBar:()=>ss,XrMonitorComponentProgressBarDirectionDefine:()=>$n,XrMonitorComponentRuntimeState:()=>ve,XrMonitorComponentText:()=>ns,XrMonitorComponentTextAlignDefine:()=>zn,XrMonitorComponentTypeDefine:()=>Kn,XrMonitorComponentVariableControl:()=>is,XrMonitorComponentVerticalAlignDefine:()=>jn,XrMonitorComponentVideo:()=>rs,XrMonitorComponentVideoObjectFitDefine:()=>qn,XrMonitorRuntimeState:()=>Ve,XrNavigationState:()=>ke,XrPlatformDefine:()=>Ke,XrPrepareSettings:()=>Wn,XrProgressBarStyleDefine:()=>Qn,XrRecommendStringOption:()=>Ee,XrRuntimeState:()=>Ue,XrSpaceFence:()=>lo,XrSpaceFenceGroup:()=>_o,XrStateBindings:()=>Le,XrStateBindingsSourceTypeDefine:()=>Ie,XrStateBindingsTargetTypeDefine:()=>ue,XrStateScopeBranchFromDefine:()=>na,XrSwitchAction:()=>mt,XrSwitchCase:()=>Et,XrTypedValue:()=>Ae,XrTypedValueModeDefine:()=>ge,XrVariable:()=>me,XrVariablePreFill:()=>Yn,XrVariableScope:()=>Te,XrVariableScopeTypeDefine:()=>pe,XrVariableTarget:()=>Ce,XrVariableTypeDefine:()=>_e,XrVirtualFloor:()=>Lo,buildExpressionFromTree:()=>kl,computeProgressBarFillStyle:()=>Jl,createEmptyRichTextDoc:()=>Bs,createMultiLanguageStr:()=>Un,defaultMainPlacementOf:()=>co,defaultRootHamburgerStyle:()=>_s,ensureIconLayoutMaterialized:()=>wl,ensureLegacyVrPlayerUiSettingsInitialized:()=>vl,extractConditionTreeDependencies:()=>Wl,getAllRegisteredVrActionPlatformCapabilities:()=>On,getVrActionPlatformCapability:()=>Cn,migrateTriggersToCentralized:()=>Ll,migrateXrVariableTypeEnum:()=>Vl,normalizeBrowserLanguage:()=>kn,normalizeMultiLanguageStr:()=>Bn,pickCurrentLanguage:()=>Gn,pickMultiLanguageStr:()=>Vn,resolveArBottomItems:()=>Dl,resolveArInfoItems:()=>fl,resolveHamburgerNodeStyle:()=>ms,resolveHamburgerRootStyle:()=>Es,resolveVrInfoBarItems:()=>bl,resolveVrMainBarItems:()=>hl,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 E{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 m{waitTime=0;easeFunction=E.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 O{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 S{enabled=!1;hoverBorderColor=c.createColorRgba(0,0,0,1);borderWidth=.01}class I{width=1920;height=1080;constructor(e,t){this.width=e,this.height=t}}class u{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 P{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 M extends T{name="";title=new A;description=new A;obstacleGroupIds=[];wormholeGroupIds=[];targetGroupIds=[];graphCacheZipFileSrc=""}class y{static sweep="sweep";static anywhere="anywhere";static teleport="teleport"}class h{static AUTO="auto";static MANUAL="manual";static MANUAL_SIMPLE="manual_simple"}class b{static createSweepPoint(e){const t=new D;return t.type=y.sweep,t.sweepId=e.id,t.position=e.position,t}static createAnywherePoint(e){const t=new D;return t.type=y.anywhere,t.position=e,t}}class D{type=y.sweep;sweepId="";position=new a(0,0,0)}class f{id="";startPoint=new D;endPoint=new D;isAutoStart=!0;navigationMode=h.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 B extends T{id="";name="";dialogWidth="800px";dialogHeight="600px";title=new A;richText=new A;isAvailableForAi=!0;modules=[];buttonList=[]}class k{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 j extends T{name="";description="";audioList=[]}class ${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 Q{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 S;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 m}class _e{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static COLOR="color";static CSS_COLOR="css_color"}class Ee{value="";label=new A}class me{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"}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 Oe{static RISING_EDGE_TRIGGER="rising-edge-trigger";static LEVEL_TRIGGER="level-trigger"}class Se extends T{name="";remark="";conditionTree=new ot;triggerMode=Oe.RISING_EDGE_TRIGGER}class Ie{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 ue{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=Ie.XR_VARIABLE_EXPRESSION;sourceExpression="";sourceConditionTree;sourceId="";reverseSource=!1;targetType=ue.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 Pe{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 Me extends Pe{currentSourceId="";autoChangeInterval=0}class ye extends Pe{currentSourceId="";playing=!1;muted=!1;loopMode=N.NO_LOOP;playbackRate=1}class he extends Pe{currentSourceId=""}class be extends Pe{currentSceneId="";buttonEnabledState={}}class De extends Pe{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 Pe{playingAnimationClipId=null}class we extends Pe{}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 Ue extends T{variableValue={};activeTriggerPool=[];triggerExecuteCount={};audioCenterState=new Be;navigationState=new ke;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 Be{playingAudioListId="";playingAudioId=""}class ke{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 je{static VARIABLE="variable";static PLATFORM="platform";static EXPRESSION="expression"}class $e{kind=je.VARIABLE;variableScope;variableKey;rawExpression}class Qe{static STRING="string";static NUMBER="number";static BOOLEAN="boolean";static PLATFORM_ENUM="platform_enum"}class qe{valueType=Qe.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 Et{matchValue=new qe;actionList=[]}class mt{actionCategory=Ye.SWITCH;subject=new $e;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_SIGNAL_TO_FLOW="send_signal_to_flow";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_TRIGGER_MONOLOGUE="ai_agent_trigger_monologue";static AI_AGENT_TRIGGER_CONVERSATION="ai_agent_trigger_conversation";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"}class Tt{abilityId="";contextVariableOverrides={};contextVariableOverrideRefs}class gt{abilityId=""}class At{}class Ct{duration=1e3;durationRef}class Ot{componentIdList=[];visibilityState=!0;visibilityStateRef}class St{componentId="";changeType="translate";value=new a(0,0,0);valueXRef;valueYRef;valueZRef}class It{componentId="";transitionAnimationId="";waitForComplete=!1}class ut{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 Pt{componentId="";play=!0;playRef}class Mt{componentId="";mute=!0;muteRef}class yt{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 ht{componentId="";overrideAutoMoveCamera;moveTransitionMs}class bt{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 Bt{destinationType="sweep";componentId="";vrFovId="";fovLink="";fovLinkSnapshotSrc="";fovLinkCameraRotation=new n(0,0);fovLinkSweepId="";sweepId="";navigationMode=h.MANUAL;autoRecalculate=!0;autoRecalculateDistanceThreshold=.5;pathColor=c.createColorByStr("#03b203")}class kt{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 jt{variableKey="";variableScope;value=0;valueRef}class $t{variableKey="";variableScope;sourceType="fixed";content="";contentRef}class Qt{variableKey="";variableScope;length=1;lengthRef}class qt{variableKey="";variableScope;expression=""}class Zt{variableKey="";variableScope}class ea{flowId="";forceStopRunning=!1}class ta{}class aa{targetFlowId="";signalName=""}class na{static DEFAULT="default";static CURRENT="current";static SPECIFIC="specific"}class sa{scopeId="";scopeIdRef;branchFrom=na.DEFAULT;branchFromScopeId="";branchFromScopeIdRef;activate=!0}class ra{scopeId="";scopeIdRef}class oa{scopeId="";scopeIdRef;activateAfterScopeId="default";activateAfterScopeIdRef}class ia{monitorId="";enabled=!0;enabledRef}class ca{tabId=""}class la{monitorId="";componentIdList=[];visible=!0;visibleRef}class da{static PLAY="play";static PAUSE="pause";static TOGGLE="toggle"}class _a{static MUTE="mute";static UNMUTE="unmute";static TOGGLE="toggle"}class Ea{monitorId="";componentId="";changeType=da.TOGGLE;unmuteOnPlay=!1;restartFromBeginning=!1}class ma{monitorId="";componentId="";changeType=_a.TOGGLE}class pa{monitorId="";badgeText="";badgeTextRef}class Ta{monitorId="";badgeStyleRef;badgeBgColorRef;badgeTextColorRef}class ga{hamburgerMenuNodeId="";componentIdList=[];visible=!0;visibleRef}class Aa{layerIdList=[];visible=!0;visibleRef}class Ca{nodeIdList=[];visible=!0;visibleRef}class Oa{open=!0;openRef}class Sa{groupNodeIdList=[];expanded=!0;expandedRef}class Ia{settingKey="";value=!0;valueRef}class ua{messageCardIdList=[];showState=!0;showStateRef}class La{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 ya{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 ba{threadId=""}class Da{agentId=""}class fa{agentId=""}class wa{agentId=""}class va{agentId=""}class Va extends Da{userMessage=new A}class Ua extends Da{userMessage=new A;assistantReply=new A;pseudoStreamCharIntervalMs}class Ba extends Da{stateMessage=""}class ka extends Da{assistantMessage=new A;pseudoStreamCharIntervalMs}class Ga{static DIALOG="dialog";static FLOATING_DRAWER="floating-drawer";static PUSHED_DRAWER="pushed-drawer"}class xa{url="";urlRef;multiLangUrl;pcMode="dialog";width=720;height=480;mobileHeight=70;title;showTitleBar=!0;closeOnMaskClick=!0;forceExternalBrowser=!1}class Fa{interactive=!0;interactiveRef}class Ha{volume=100;volumeRef}class Xa{color=c.createColorRgba(255,255,255,1);animated=!0;durationMs=800}class Wa{brightness=1;brightnessRef;animated=!0;durationMs=800}class Ya{static LITERAL="LITERAL";static EXPRESSION="EXPRESSION"}class Ka{cloudFormDataKey="";onSubmitSuccessActions=[];onAlreadySubmittedActions=[]}class Ja{cloudFormDataKey="";fieldDataKey="";valueMode=Ya.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 qa{analyticsEventDataKey="";fieldBindings=[]}class Za{fieldKey="";label=new A;description=new A;placeholder=new A;required=!0;dataType=Ge.STRING;defaultValue=null;control=new We;boundVariableScope="";boundVariableKey=""}class en{title=new A;description=new A;submitButtonText=new A;cancelButtonText=new A;showCancelButton=!0;blockInteraction=!0;closeOnOverlayClick=!1;synchronous=!0;fields=[];onSubmitSuccessActions=[];onCancelActions=[]}class tn{target=new Ce;min=0;max=1;integerOnly=!1}class an{static RANDOM="random";static COOL="cool";static WARM="warm";static PASTEL="pastel";static VIVID="vivid";static GRAY="gray"}class nn{target=new Ce;palette=an.RANDOM;randomAlpha=!1;fixedAlpha=1}class sn{static ISO="iso";static UNIX_MS="unix_ms";static UNIX_S="unix_s";static DATE_STRING="date_string";static TIME_STRING="time_string"}class rn{target=new Ce;outputType=sn.ISO}class on{target=new Ce;candidates=[]}class cn{target=new Ce;candidates=[]}class ln{target=new Ce;candidates=[]}class dn{target=new Ce;candidates=[]}class _n{target=new Ce;candidates=[]}class En{target=new Ce}function mn(e,t){return{vr:e,ar:t}}const pn=mn(!0,!1),Tn=mn(!0,!0),gn=mn(!1,!0),An={[pt.CAMERA_MOVE_TO]:pn,[pt.CAMERA_DOLLY_MOVE]:pn,[pt.CAMERA_DOLLY_STOP]:pn,[pt.SWEEP_CHANGE_ENABLED]:pn,[pt.SWEEP_CHANGE_PANORAMA]:pn,[pt.SWEEP_MARKER_CHANGE_ENABLED]:pn,[pt.SWEEP_RESET_TO_DEFAULT]:pn,[pt.SWEEP_ONLY_ENABLE_CURRENT]:pn,[pt.COMPONENT_TAG_SIMULATE_CLICK]:pn,[pt.SYSTEM_COLOR_SPACE_SCENE_TINT]:pn,[pt.SYSTEM_COLOR_SPACE_DISPLAY_BRIGHTNESS]:pn};function Cn(e){return e&&An[e]||Tn}function On(){return An}class Sn{boundVariableScope="";boundVariableKey="";dataType=Ge.STRING;control=new We;label=new A;description=new A;placeholder=new A;labelColor="";descriptionColor="";commitTextOnBlur=!0}class In extends T{name="";introduce="";code="";adItemList=[]}class un{type="image";name="";introduce="";imageSeconds=5;contentSrc="";chromaKeySettings=new _}class Ln{isAiEnabled=!0;welcomeMessage=new A}class Nn 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 Rn{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 Pn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class Mn{static CENTER="center";static LEFT="left";static RIGHT="right"}class yn{enabled=!0;boxWidth=160;boxHeight=56;objectFit="contain";objectAlign="center"}class hn{imageSrc="";clickUrl="";backgroundColor=c.createColorRgba(0,0,0,0);pcConfig=new yn;mobileConfig=new yn;unityConfig=new yn}class bn{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 Rn;logoConfig=new hn;vrMainBarItems=[];vrInfoBarItems=[];arBottomItems=[];arInfoItems=[]}class Dn{enabledVrInfoTemplate=!1;vrInfoTemplateDataKey="";vrInfoTemplateItemValueList=[]}class fn{templateItemDataKey="";templateItemValue=""}class wn{vrShadowEnabled=!1;vrShadowOpacity=.3;vrShadowMapSize=2048;arShadowEnabled=!1;arShadowStrength=.5;arShadowResolution="high"}class vn{toneMapping="aces";toneMappingExposure=1;displayBrightness=1;sceneTint=c.createColorRgba(255,255,255,1)}function Vn(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 Un(e="",t=!0){const a=new A;return a.original_content=e,a.only_use_original_content=t,a}function Bn(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 kn(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 Gn(e,t){if(!e||0===e.length)return g.EN;const a=kn(t);return a&&e.includes(a)?a:e[0]}class xn{static VIDEO="video";static IMAGE="image"}class Fn{static FILL="fill";static CONTAIN="contain";static COVER="cover";static NONE="none";static SCALE_DOWN="scale-down"}class Hn{static PLAY="play";static TEXT="text"}class Xn{coverImageSrc="";coverVideoSrc="";coverBackgroundColor=c.createColorRgba(255,255,255,1);coverBackgroundType=xn.IMAGE;coverContentFitType=Fn.CONTAIN;coverMaskColor=c.createColorRgba(255,255,255,.5);coverMaskBlur=10;coverTitle=new A;coverDescription=new A;enabledEnterVrButton=!1;enterVrButtonType=Hn.PLAY;enterButtonBackgroundColor=c.createColorRgba(64,158,255,1);enterButtonForegroundColor=c.createColorRgba(255,255,255,1);enterButtonShadowColor=c.createColorRgba(64,158,255,1);textButtonContent=Un("Enter");constructor(){this.coverBackgroundColor=c.createColorRgba(0,0,0,1),this.coverBackgroundType=xn.IMAGE,this.coverContentFitType=Fn.CONTAIN,this.coverMaskColor=c.createColorRgba(0,0,0,.5),this.coverMaskBlur=10,this.enabledEnterVrButton=!1,this.enterVrButtonType=Hn.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=Un("Enter")}}class Wn{vrInitCompleteActionList=[];vrInitLocalVariableList=[];arInitCompleteActionList=[];arInitLocalVariableList=[];allInitCompleteActionList=[];allInitLocalVariableList=[];variablePreFillEnabled=!1;variablePreFillList=[];enterVrButtonTitle=new A;description=new A}class Yn{variableKey="";defaultValue=new A;title=new A;hint=new A;required=!0}class Kn{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class Jn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class zn{static LEFT="left";static CENTER="center";static RIGHT="right"}class jn{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class $n{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class Qn{static SOLID="solid";static GRADIENT="gradient";static STRIPED="striped";static STRIPED_ANIMATED="striped-animated";static GLOW="glow"}class qn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class Zn{static LEFT="left";static RIGHT="right";static TOP="top"}class es{static BELOW="below";static CORNER="corner"}class ts extends T{type=Kn.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 as extends ts{type=Kn.IMAGE;imageSrc="";imageMode=Jn.FILL}class ns extends ts{type=Kn.TEXT;width=150;height=30;positionX=0;positionY=0;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=jn.MIDDLE;textAlign=zn.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class ss extends ts{type=Kn.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=Qn.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=$n.HORIZONTAL;progress="50"}class rs extends ts{type=Kn.VIDEO;width=240;height=135;backgroundColor="rgba(0,0,0,1)";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=qn.COVER}class os extends ts{type=Kn.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=Zn.LEFT;iconSize=18}class is extends ts{type=Kn.VARIABLE_CONTROL;width=200;height=60;bound=new Sn}class cs extends T{name="";remark="";title=new A;description="";icon=new L;size=new n(360,270);radius=12;defaultEnabled=!0;backgroundColor=c.createColorRgba(255,255,255,.5);backgroundBlur=10;badgeText=new A;badgeStyle=es.CORNER;badgeBgColor="rgba(255,77,79,1)";badgeTextColor="rgba(255,255,255,1)";componentList=[]}const ls="#262626";class ds{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 _s(){const e=new ds;return e.background=c.createColorRgba(0,0,0,.5),e}function Es(e,t){if(e&&e.rootStyleOverrideEnabled){const t=e.rootStyle||_s();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 Rn;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 ms(e,t){const a=e&&e.style||new ds;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 ps{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 Ts{static IMAGE="image";static VIDEO="video"}class gs extends T{mediaType=Ts.IMAGE;url="";poster="";caption=new A;aspectRatio=0;buttonList=[]}class As{static FLOATING="floating";static PUSHED="pushed"}class Cs{static ELLIPSIS="ellipsis";static WRAP="wrap"}class Os extends T{nodeType=ps.TEXT_ITEM;name="";color=ls;backgroundColor="";styleOverrideEnabled=!1;style=new ds;visible=!0;requireXrReady=!0}class Ss extends Os{title=new A;icon=new L;titleOverflowMode=Cs.ELLIPSIS}class Is extends Ss{constructor(){super(),this.nodeType=ps.TEXT_ITEM}actionList=[]}class us extends Ss{constructor(){super(),this.nodeType=ps.MEDIA_CAROUSEL_ITEM}description=new A;mediaList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Ms.COVER}class Ls{url="";actionList=[]}class Ns extends Ss{constructor(){super(),this.nodeType=ps.IMAGE_ITEM}description=new A;imageList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Ms.COVER}class Rs{url="";caption=new A;actionList=[];aspectRatio=0}class Ps{static LEFT="left";static FILL="fill";static CENTER="center";static STRETCH="stretch"}class Ms{static COVER="cover";static CONTAIN="contain";static FILL="fill"}class ys extends Ss{constructor(){super(),this.nodeType=ps.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=Ms.COVER;lastRowMode=Ps.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class hs extends Ss{constructor(){super(),this.nodeType=ps.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=Ms.COVER;lastRowMode=Ps.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class bs{minWidth=0;columns=2}class Ds extends Ss{constructor(){super(),this.nodeType=ps.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 Ss{constructor(){super(),this.nodeType=ps.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 ws{url="";poster=""}class vs extends Ss{constructor(){super(),this.nodeType=ps.VIDEO_ITEM}description=new A;videoList=[];autoplay=!1;muted=!0;loop=!1;height=0;objectFit=Ms.CONTAIN}class Vs extends Ss{constructor(){super(),this.nodeType=ps.WEBVIEW_ITEM}url="";height=240;allowFullscreen=!1}class Us extends Ss{constructor(){super(),this.nodeType=ps.GROUP}children=[];defaultExpanded=!0}function Bs(){return{type:"doc",content:[]}}class ks extends Os{constructor(){super(),this.nodeType=ps.RICH_TEXT_ITEM}content={type:"doc",content:[]}}class Gs extends Ss{constructor(){super(),this.nodeType=ps.CANVAS_ITEM}designWidth=380;height=240;canvasBackgroundColor="rgba(0, 0, 0, 0.5)";componentList=[]}class xs{drawerTitle=new A;drawerTitleColor="";drawerDescription=new A;drawerDescriptionColor="";rootStyleOverrideEnabled=!1;rootStyle=_s();nodeList=[];pcLayoutMode=As.FLOATING;backgroundColor="";backgroundBlur=0;edgeGap=0;pcWidth=380;openedByDefault=!1}class Fs{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class Hs{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class Xs{static LEFT="left";static CENTER="center";static RIGHT="right"}class Ws{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class Ys{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class Ks{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class Js{static LEFT="left";static RIGHT="right";static TOP="top"}class zs extends T{type=Fs.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 js extends zs{type=Fs.IMAGE;imageSrc="";imageMode=Hs.FILL}class $s extends zs{type=Fs.TEXT;width=150;height=30;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=Ws.MIDDLE;textAlign=Xs.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class Qs extends zs{type=Fs.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=Qn.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=Ys.HORIZONTAL;progress="50"}class qs extends zs{type=Fs.VIDEO;width=240;height=135;backgroundColor="#000000";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=Ks.COVER}class Zs extends zs{type=Fs.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=Xs.CENTER;textBold=!1;textItalic=!1;textUnderline=!1;icon=new L;iconPosition=Js.LEFT;iconSize=18}class er extends zs{type=Fs.VARIABLE_CONTROL;width=200;height=60;bound=new Sn}class tr{static buildVrContentData(e,t,a,n){const s=new gr(e,t);return s.vrCoverSettings.coverTitle.original_content=a,s.vrCoverSettings.coverImageSrc=n,s}}class ar{isDirectToInside=!1;firstSweepPose=new o;enterFovImageSrc="";enterParams=""}class nr{min=new a(0,0,0);max=new a(0,0,0);size=new a(0,0,0)}class sr{title="";description=""}class rr{mapCode="";isSingleFrame=!1;frameCount=5;frameInterval=800;enableBlurCheck=!0;confidenceThreshold=.5;backgroundCorrectionInterval=30}class or{nearDistanceMax=35;refreshMoveThreshold=5;componentRevealIntervalMs=80}class ir{enabled=!0;blurVarThreshold=8;darkLumaThreshold=40;textureThreshold=4;maxCaptureRetries=15;blockedHintAfter=3}class cr{enabled=!1;holdSeconds=15}class lr{capture="multi";poseGatePitchAbsDeg=45;poseGateStableSec=1;multiFrameCount=3;multiFrameIntervalMs=500;autoRetryOnFailure=!0;retryDelaySec=2;guidedCaptureEnabled=!1;guidedCaptureAskUser=!1;guidedCaptureCount=6}class dr{enabled=!0;intervalSec=30}class _r{enabled=!0;distanceMeters=3;idleTimeoutSec=60}class Er{minScore=0;factor=1;constructor(e=0,t=1){this.minScore=e,this.factor=t}}class mr{enabled=!0;scoreTiers=[new Er(.9,2),new Er(.7,1),new Er(.45,.5),new Er(0,.25)];driftWarnMeters=.5;driftForceMeters=1.5;limitedAction="relocate_boost"}class pr{enabled=!0;capture="single";multiFrameCount=3;multiFrameIntervalMs=500;timerTrigger=new dr;distanceTrigger=new _r;dynamic=new mr;maxConsecutiveFailures=5;adaptiveAssistEnabled=!0;adaptiveAssistRadius=3;adaptiveAssistRadiusInitial=5;adaptiveAssistSettleSec=15;adaptiveAssistMaxAgeSec=30;smoothCorrection=!0;smoothDurationSec=.4;debugToastEnabled=!1}class Tr{apiKey="";apiBaseUrl="";requestTimeoutSec=120;retrieval="netvlad";retrievalK=20;regionRetrievalK=20;failThreshold=.2;highThreshold=.7;firstLocalizeDelaySec=1.5;jpegQuality=75;maxUploadEdge=1280;quality=new ir;abnormalHandheld=new cr;initial=new lr;correction=new pr;schemaVersion=2}class gr{version;vrDataKey="";mpModelId="";vrUnicode="";supportedLanguages=[g.EN,g.JP];vrCoverSettings=new Xn;vrPlayerUiSettings=new bn;hamburgerMenu=new xs;vrInfoTemplateSettings=new Dn;arMultisetSettings=new rr;arCommonSettings=new or;arPositionXSettings=new Tr;vrRenderSettings=new wn;vrColorSpaceSettings=new vn;cameraEnterSettings=new ar;sweepMarkerList=[];componentMarkerList=[];worldSizeInfo=new nr;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 Wn;vrAiSettings=new Ln;aiAgentList=[];variableList=[];sharedVariableList=[];conditionWatcherList=[];stateBindingsList=[];backgroundThreadList=[];cameraDollyPathList=[];monitorList=[];messageCardList=[];triggerList=[];unityNavigationModeList=[];unityNavigationParams=new P;xrVirtualFloorList=[];navigationAdConfigList=[];constructor(e,t){this.mpModelId=e,this.vrUnicode=t}}class Ar extends T{name="";sequence=0;originalFloorPlanImageSrc="";mapSettings=new Cr}class Cr{floorId="";mapImageSrc="";widthScale=1;heightScale=1;horizontalOffset=0;verticalOffset=0;rotation=0}class Or{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"}class Sr{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 SYSTEM="system"}const Ir={[Sr.COMPONENT_TAG]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_TEXT]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_ADVERTISEMENT]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_VIDEO]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE,Or.PLAY_START,Or.PLAY_FINISH],[Sr.COMPONENT_2D_IMAGE]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_PANEL]:[Or.PANEL_BUTTON_CLICK,Or.PANEL_ANSWER_CORRECT,Or.PANEL_ANSWER_WRONG,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE],[Sr.COMPONENT_3D_BOX]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_3D_MODEL]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE,Or.PLAY_START,Or.PLAY_FINISH],[Sr.LOGIC_VARIABLE]:[Or.VARIABLE_MODIFIED],[Sr.LOGIC_CONDITION_WATCHER]:[Or.CONDITION_WATCHER_TRIGGERED],[Sr.SPACE_FENCE]:[Or.ENTER,Or.LEAVE],[Sr.SPACE_FENCE_GROUP]:[Or.ENTER,Or.LEAVE],[Sr.MONITOR_COMPONENT]:[Or.MONITOR_COMPONENT_CLICK],[Sr.STICKER]:[Or.STICKER_ACTIVATED,Or.STICKER_DEACTIVATED],[Sr.SYSTEM]:[Or.VR_STARTED,Or.ALL_COMPONENTS_CREATED]};class ur{source=Sr.COMPONENT_TAG;sourceId="";type=Or.ENTER;editorParams={}}class Lr extends T{createSourceType=Sr.COMPONENT_2D_IMAGE;createSourceId="";name="";signal=new ur;actionList=[];triggerTimesLimit=-1;localVariableList=[];constructor(){super()}}class Nr{static DRAFT="draft";static PUBLISHED="published"}class Rr{id="";name="";description="";keywords=[];status=Nr.DRAFT;startStepId="";stepList=[];canvasData="";flagImageSrc="";flagImageSize=new n(1,1);flowScopeVariableList=[]}class Pr{static START="start";static FINISH="finish";static GENERAL="general";static CONDITION="condition";static SIGNAL_LISTENER="signal_listener"}class Mr{static NORMAL="normal";static BUTTONS_ONLY="buttons_only";static NONE="none"}class yr{id="";type=Pr.GENERAL;name="";title=new A;description=new A;showArriveDescription=!1;arriveDescription=new A;note="";flagImageSrc="";flagImageSize=new n(1,1);iconSrc="";stepBarStyle=Mr.NORMAL;showStepBarDelay=0;buttonList=[];enterActionList=[];positionSettings=new Dr;arriveRadius=5;arriveActionList=[];triggerList=[];finishInjectTriggerList=[];startCardNextStepEndpointSettings=new wr;conditionExpression="";conditionTrueEndpointSettings=new wr;conditionFalseEndpointSettings=new wr;enterActionCompleteEndpointSettings=new wr;arriveActionCompleteEndpointSettings=new wr;stepScopeVariableList=[];signalListenerEntryList=[];overrideAppearance=!1;appearanceOverride=new H}class hr{actionList=[];onlyFirstArrive=!1;action}class br{static NONE="none";static SWEEP="sweep";static COMPONENT="component";static FOV_LINK="fov_link";static VR_FOV="vr_fov"}class Dr{type=br.NONE;componentId="";fovLink="";fovLinkDataKey="";fovLinkSnapshotSrc="";sweepId="";rotationX=0;rotationY=0;enableDirectLocate=!1;enableNavigateAgain=!1;gotoPositionMethod=O.NAVIGATION_TO_MANUAL;vrFovId="";moveSpeed=0;pauseInterval=0}class fr{destroyTriggerOnLeaveCurrenStep=!0;trigger=new Lr;nextStepEndpointSettings=new wr}class wr{id="";enabled=!1;nextStepId="";lineColor=c.createColorByStr("#888888")}class vr{id="";signalName="";actionList=[];nextStepEndpointSettings=new wr}class Vr extends T{name="";description="";isAvailableForAi=!0;src="";showInContentMenu=!0;cameraMode=s.INSIDE;cameraPose=new i;aiGenerateIntroduceUserPrompt=""}class Ur extends T{name="";description="";keywords=[];visible=!0;children=[]}class Br extends T{type;color=c.createColorRgb(255,255,255);enabled=!0;name="";intensity=1;floorIdList=[]}class kr extends Br{type="ambient"}class Gr extends Br{type="directional";position=new a(0,1,0);target=new a(0,0,0)}class xr extends Br{type="point";position=new a(0,1,0);distance=0;decay=1}class Fr{static COMPONENT_MARKER="component_marker";static SWEEP_MARKER="sweep_marker"}class Hr extends T{name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);type=Fr.COMPONENT_MARKER}class Xr{id="";name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);markerType=Fr.COMPONENT_MARKER;markers=[]}class Wr{static M="m";static CM="cm";static MM="mm"}class Yr{static M2="m2";static CM2="cm2"}class Kr extends T{name="";description="";visible=!0;enabledArea=!0;pointList=[];appearanceThemeColor=c.createColorRgba(255,255,255,1);area=0;distanceUnit=Wr.M;areaUnit=Yr.M2}class Jr{id="";position=new a(0,0,0);normal=new a(0,0,0);distance=0}class zr 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 jr 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 $r extends T{name="";enabled=!0;description=""}class Qr extends T{dataKey="";position=new a(0,0,0);rotation=new a(0,0,0);noteDataKey="";noteType="";noteIssueState=""}class qr{key="";placement="left"}function Zr(e,t){const a=new qr;return a.key=e,a.placement=t,a}const eo=[Zr("fov","capsule"),Zr("d3","capsule"),Zr("floorplan","capsule"),Zr("floor","left"),Zr("flow","left"),Zr("measure","left"),Zr("mute","right"),Zr("share","more"),Zr("account","more")],to=[Zr("minimap","surface"),Zr("monitors","surface"),Zr("fullscreen","surface"),Zr("audio","hidden"),Zr("hamburger","surface")],ao=[Zr("flow","left"),Zr("measure","left"),Zr("graffiti","left"),Zr("ai","left"),Zr("mute","right"),Zr("share","more"),Zr("account","more")],no=[Zr("monitors","surface"),Zr("audio","surface")],so=eo.map((e=>e.key)),ro=to.map((e=>e.key)),oo=ao.map((e=>e.key)),io=no.map((e=>e.key));function co(e,t){const a=t.find((t=>t.key===e));return a?a.placement:"left"}class lo 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 _o extends T{name="";description="";cubeFaceColor=c.createColorRgba(255,255,0,.3)}class Eo{static DISTANCE="distance";static VISIBLE="visible";static VISIBLE_AND_DISTANCE="visible_and_distance"}class mo 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=Eo.VISIBLE_AND_DISTANCE;activateDistance=5;activeNeedStaySeconds=0;inactiveNeedStaySeconds=0;bestViewingSweepId="";bestViewingRotation=new n(0,0);bestViewingMode=""}class po extends T{no=1;name="";description="";isAvailableForAi=!0;isVirtual=!1;alignmentType=To.ALIGNED;enabled=!0;disabledInMatterport=!1;floorId="";neighbors=[];placementType=go.AUTO;position=new a(0,0,0);rotation=new a(0,0,0);pointerPosition=new a(0,0,0);markerList=[];keywords=[];panoramaData=new Oo;contentCardList=[]}class To{static ALIGNED="aligned";static UNALIGNED="unaligned"}class go{static AUTO="auto";static MANUAL="manual";static UNPLACED="unplaced"}class Ao{static IMAGE="image";static VIDEO="video"}class Co{static NONE="none";static SAME_TO_INSIDE="same_to_inside"}class Oo{default="original";sourceList=[];ballExternalViewMode=Co.NONE}class So{id="";type=Ao.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 Io{primaryColor=new d;secondaryColor=new d;maskColor=new d;barMaskColor=new d}class uo 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 Lo 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 No extends T{name="";description="";type=Ro.BASIC;bindLayerIdList=[]}class Ro{static GENERAL="general";static BASIC="basic"}class Po 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 Mo extends T{name="";enabled=!0;description=""}class yo 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 ho extends T{name="";enabled=!0;description="";useNavigationAdConfigId=""}class bo extends T{name="";remark="";autoExecuteOnBoot=!1;executeCount=0;actionList=[];interval=1e3;localVariableList=[]}class Do{componentId="";description=""}class fo{targetId="";description=""}class wo{variableKey="";description=""}class vo{stickerId="";canBeActivated=!0;description=""}class Vo{spaceFenceId="";canBeActivated=!0;description=""}class Uo{spaceFenceGroupId="";canBeActivated=!0;description=""}class Bo{backgroundThreadId="";description=""}class ko{cameraDollyPathId="";description=""}class Go{abilityId="";description=""}class xo{contentCardId="";description=""}class Fo{vrFovId="";description=""}class Ho{cloudFormDataKey="";description="";autoPromptToFill=!1}class Xo{knowledgeBaseDataKey="";description=""}class Wo{analyticsEventDataKey="";description=""}class Yo{messageCardId="";description=""}class Ko{monitorId="";description=""}class Jo{rolePrompt="";tonePrompt="";taskPrompt="";abilityPrompt="";limitPrompt="";behaviorRulePrompt="";greetingPrompt="";warmUpPrompt=""}class zo{reasoning_effort;temperature;max_output_tokens}class jo extends T{name="";description="";promptContent=""}class $o extends T{name="";autoActivate=!1;enableVoiceOutput=!1;voiceOutputComponentId="";enableVoiceInput=!1;remark="";roleName="";avatarSrc="";rolePromptSettings=new Jo;skillPromptList=[];modelDataKey="";contextTokens=0;params=new zo;useComponentList=[];useTargetList=[];useVariableList=[];useStickerList=[];useSpaceFenceList=[];useSpaceFenceGroupList=[];useBackgroundThreadList=[];useCameraDollyPathList=[];useAbilityList=[];useKnowledgeBaseList=[];useFovList=[];useContentCardList=[];useCloudFormList=[];useAnalyticsEventList=[];useMessageCardList=[];useMonitorList=[]}class Qo{sweepId="";needCustomRotation=!1;customRotationX=0;customRotationY=0;moveTime=1e3;stayTime=500}class qo 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 Zo extends T{name="";remark=""}class ei extends T{abilityGroupId="";autoExecuteOnBoot=!1;name="";remark="";description="";contextVariableList=[];activeActionList=[];activeActionListLocalVariableList=[];keeping=!1;triggerList=[];stopActionList=[];stopActionListLocalVariableList=[]}class ti extends ae{type=$.TYPE_2D_ADVERTISEMENT;adChannelId=""}class ai extends ae{type=$.TYPE_2D_IMAGE;sourceList=[];autoChangeInterval=0;currentImageIndex=0}class ni{id="";src="";name="";description="";aspectRatio=1;chromaKeySettings=new _}class si{static MENU="menu";static ANSWERING="answering";static VARIABLE_MODIFIER="variable-modifier"}class ri extends ae{type=$.TYPE_2D_PANEL;sceneDataList=[];defaultSceneId=""}class oi{id="";mode=si.MENU;name="";description="";buttonDataList=[];textDataList=[];imageDataList=[];answeringModeSettings=new ii;variableModifierModeSettings=new ci;enumModifierModeSettings;style=new gi;snapshotImageSrc=""}class ii{confirmButton=new pi;correctButtonIdList=[]}class ci{variableKey="";variableType}class li{static TEXT="text";static IMAGE="image";static BUTTON="button"}class di{id="";name="";type=li.TEXT;style=new Ai}class _i{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 Ei extends di{type=li.IMAGE;src="";imageMode="fill"}class mi extends di{type=li.TEXT;richText=""}class pi extends di{type=li.BUTTON;name="";optionValue="";optionLabel=new A;enumOptionValue;enabled=!0;buttonType=_i.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 Ti{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 gi extends Ti{paddingX=10;paddingY=10}class Ai extends Ti{x=0;y=0;zIndex=10}class Ci{static LEFT="left";static CENTER="center";static RIGHT="right"}class Oi{static TOP="top";static CENTER="center";static BOTTOM="bottom"}class Si{static BASIC="basic";static MARQUEE="marquee"}class Ii extends ae{type=$.TYPE_2D_TEXT;sourceList=[];mode=Si.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 Li;marqueeModeSettings=new Ni}class ui{id="";textContent=Un("2D Text");description=""}class Li{changeInterval=0}class Ni{autoChange=!0;speed=50;interval=1;width=15}class Ri extends ae{type=$.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 Pi{id="";videoSrc="";name="";description="";coverSrc="";aspectRatio=1;duration=0;chromaKeySettings=new _;playbackRate=1}class Mi extends ie{type=$.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 S}class yi extends ie{type=$.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 hi{id="";name="";alias="";duration=0}class bi{id="";animationId="";name="";description="";speed=1;timeRange=[0,1];loop=!1;stayAtLastFrame=!1}class Di{static NONE="none";static TOP="top";static BOTTOM="bottom"}class fi extends q{type=$.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=Di.NONE;tipTextContent=new A;tipTextColor=c.createColorRgba(255,255,255,1);tipTextBackgroundColor=c.createColorRgba(0,0,0,.4);tipTextFontSize=18;tipTextNonPerspective=!1}class wi{static NORMAL="NORMAL";static EDIT_SCENE="EDIT_SCENE";static EDIT_COVER="EDIT_COVER"}const vi={uninitialized:1,waiting:2,loading:3,starting:4,playing:5,error:6};class Vi{static UNINITIALIZED="uninitialized";static WAITING="waiting";static LOADING="loading";static STARTING="starting";static PLAYING="playing";static ERROR="error"}class Ui{status=Vi.UNINITIALIZED;progress=0;get statusNum(){return vi[this.status]}}class Bi{type="";data={};constructor(e,t){this.type=e,this.data=t}}class ki{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 Gi{onStart(e){bc.registerCommandListener(ki.PLAYER_START,(t=>{e(t.data.vrContentData,t.data.isForceIgnoreEnterBtn)}))}onModeUpdate(e){bc.registerCommandListener(ki.PLAYER_MODE_UPDATE,(t=>{e(t.data)}))}onXrPreparePreview(e){bc.registerCommandListener(ki.PLAYER_XR_PREPARE_PREVIEW,(t=>{e(!!t.data)}))}onPrepareSettingsUpdate(e){bc.registerCommandListener(ki.PLAYER_PREPARE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class xi{onCoverSettingsUpdate(e){bc.registerCommandListener(ki.COVER_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Fi{onUiSettingsUpdate(e){bc.registerCommandListener(ki.UI_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Hi{onInfoTemplateSettingsUpdate(e){bc.registerCommandListener(ki.INFO_TEMPLATE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Xi{onContentCardUpdate(e){bc.registerCommandListener(ki.INFORMATION_CONTENT_CARD_UPDATE,(t=>{e(t.data)}))}onContentCardDelete(e){bc.registerCommandListener(ki.INFORMATION_CONTENT_CARD_DELETE,(t=>{e(t.data)}))}}class Wi{onCreate(e){bc.registerCommandListener(ki.COMPONENT_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.COMPONENT_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.COMPONENT_DELETE,(t=>{e(t.data)}))}onFollowMouse(e){bc.registerCommandListener(ki.COMPONENT_FOLLOW_MOUSE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.COMPONENT_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.componentId)}))}onPlayTransitionAnimation(e){bc.registerCommandListener(ki.COMPONENT_PLAY_TRANSITION_ANIMATION,(t=>{e(t.data.componentId,t.data.animationId)}))}onStopTransitionAnimation(e){bc.registerCommandListener(ki.COMPONENT_STOP_TRANSITION_ANIMATION,(t=>{e(t.data.componentId)}))}on3dModelPlayAnimationClip(e){bc.registerCommandListener(ki.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId,t.data.animationClipId)}))}on3dModelStopAnimationClip(e){bc.registerCommandListener(ki.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId)}))}on2dTextAutoFit(e){bc.registerCommandListener(ki.COMPONENT_2D_TEXT_AUTO_FIT,(t=>{e(t.data)}))}}class Yi{onEnterFovShotMode(e){bc.registerCommandListener(ki.FOV_ENTER_SHOT_MODE,(t=>{e(t.data)}))}onExitFovShotMode(e){bc.registerCommandListener(ki.FOV_EXIT_SHOT_MODE,(t=>{e()}))}onUpdate(e){bc.registerCommandListener(ki.FOV_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.FOV_DELETE,(t=>{e(t.data)}))}}class Ki{onUpdate(e){bc.registerCommandListener(ki.LAYER_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.LAYER_DELETE,(t=>{e(t.data.layerId,t.data.deleteComponents)}))}onVisible(e){bc.registerCommandListener(ki.LAYER_VISIBLE,(t=>{e(t.data.layerId,t.data.visible)}))}}class Ji{onCreate(e){bc.registerCommandListener(ki.LIGHT_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.LIGHT_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.LIGHT_DELETE,(t=>{e(t.data)}))}}class zi{onCreate(e){bc.registerCommandListener(ki.TRIMMER_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.TRIMMER_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.TRIMMER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.TRIMMER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.trimmerId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.TRIMMER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class ji{onCreate(e){bc.registerCommandListener(ki.STICKER_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.STICKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.STICKER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.STICKER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.stickerId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.STICKER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class $i{onUpdate(e){bc.registerCommandListener(ki.FLOOR_UPDATE,(t=>{e(t.data)}))}}class Qi{onMoveTo(e){bc.registerCommandListener(ki.CAMERA_MOVE_TO,(t=>{e(t.data.transition,t.data.cameraPose)}))}onMoveToInside(e){bc.registerCommandListener(ki.CAMERA_MOVE_TO_INSIDE,(t=>{e(t.data.transition,t.data.transitionTime,t.data.cameraPose)}))}onMoveToVrFov(e){bc.registerCommandListener(ki.CAMERA_MOVE_TO_VR_FOV,(t=>{e(t.data.transition,t.data.transitionTime,t.data.fovId)}))}onMoveToNearComponent(e){bc.registerCommandListener(ki.CAMERA_MOVE_TO_NEAR_COMPONENT,(t=>{e(t.data.transition,t.data.transitionTime,t.data.componentId)}))}onMoveToWatchPosition(e){bc.registerCommandListener(ki.CAMERA_MOVE_TO_WATCH_POSITION,(t=>{e(t.data.transition,t.data.transitionTime,t.data.position)}))}onRequestDeeplinkParams(e){bc.registerCommandListener(ki.CAMERA_REQUEST_DEEPLINK_PARAMS,(()=>{e()}))}}class qi{onTakeScreen(e){bc.registerCommandListener(ki.RENDERER_TAKE_SCREENSHOT,(t=>{e(t.data.resolution,t.data.visibility)}))}onGetPanoramaImage(e){bc.registerCommandListener(ki.RENDERER_GET_PANORAMA_IMAGE,(()=>{e()}))}onSettingsUpdate(e){bc.registerCommandListener(ki.RENDERER_SETTINGS_UPDATE,(t=>{e(t.data)}))}onColorSpaceSettingsUpdate(e){bc.registerCommandListener(ki.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Zi{onMarkerUpdate(e){bc.registerCommandListener(ki.MARKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.MARKER_DELETE,(t=>{e(t.data)}))}}class ec{onNavigationRequest(e){bc.registerCommandListener(ki.NAVIGATION_REQUEST,(t=>{e(t.data)}))}onNavigationStart(e){bc.registerCommandListener(ki.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationCancel(e){bc.registerCommandListener(ki.NAVIGATION_CANCEL,(t=>{e()}))}}class tc{onCreate(e){bc.registerCommandListener(ki.OBSTACLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.OBSTACLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.OBSTACLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.obstacleId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.OBSTACLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){bc.registerCommandListener(ki.OBSTACLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class ac{onAudioListUpdate(e){bc.registerCommandListener(ki.AUDIO_LIST_UPDATE,(t=>{e(t.data)}))}onAudioListDelete(e){bc.registerCommandListener(ki.AUDIO_LIST_DELETE,(t=>{e(t.data)}))}onAudioUpdate(e){bc.registerCommandListener(ki.AUDIO_UPDATE,(t=>{e(t.data)}))}onAudioDelete(e){bc.registerCommandListener(ki.AUDIO_DELETE,(t=>{e(t.data)}))}onAudioCenterPlayerShowPlayControlUpdate(e){bc.registerCommandListener(ki.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerShowVolumeControlUpdate(e){bc.registerCommandListener(ki.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerVolumeUpdate(e){bc.registerCommandListener(ki.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,(t=>{e(t.data)}))}}class nc{onCreate(e){bc.registerCommandListener(ki.ASSET_LABEL_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.ASSET_LABEL_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.ASSET_LABEL_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.assetLabelId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.ASSET_LABEL_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class sc{onCreate(e){bc.registerCommandListener(ki.TARGET_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.TARGET_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.TARGET_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.TARGET_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.targetId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.TARGET_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){bc.registerCommandListener(ki.TARGET_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class rc{onCreate(e){bc.registerCommandListener(ki.WORMHOLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.WORMHOLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.WORMHOLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.wormholeId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.WORMHOLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){bc.registerCommandListener(ki.WORMHOLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class oc{onCreate(e){bc.registerCommandListener(ki.SPACE_FENCE_CREATE,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onDelete(e){bc.registerCommandListener(ki.SPACE_FENCE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){bc.registerCommandListener(ki.SPACE_FENCE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.spaceFenceId)}))}onEditingStateUpdate(e){bc.registerCommandListener(ki.SPACE_FENCE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){bc.registerCommandListener(ki.SPACE_FENCE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}onGroupColorUpdate(e){bc.registerCommandListener(ki.SPACE_FENCE_GROUP_COLOR_UPDATE,(t=>{e(t.data.groupId,t.data.cubeFaceColor)}))}}class ic{onMonitorListUpdate(e){bc.registerCommandListener(ki.MONITOR_LIST_UPDATE,(t=>{e(t.data)}))}}class cc{onMessageCardPreview(e){bc.registerCommandListener(ki.MESSAGE_CARD_PREVIEW,(t=>{e(t.data)}))}}class lc{onCaptureDestination(e){bc.registerCommandListener(ki.DOLLY_PATH_CAPTURE_DESTINATION,(t=>{e()}))}onPreview(e){bc.registerCommandListener(ki.DOLLY_PATH_PREVIEW,(t=>{e(t.data)}))}onStopPreview(e){bc.registerCommandListener(ki.DOLLY_PATH_STOP_PREVIEW,(t=>{e()}))}}class dc{onHamburgerMenuUpdate(e){bc.registerCommandListener(ki.HAMBURGER_MENU_UPDATE,(t=>{e(t.data)}))}}class _c{type="";data={};constructor(e,t){this.type=e,this.data=t}}class Ec{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 mc{sendCameraPoseUpdate(e){window.parent.postMessage(new _c(Ec.CAMERA_POSE_UPDATE,e),"*")}sendDeeplinkParamsReady(e){window.parent.postMessage(new _c(Ec.CAMERA_DEEPLINK_PARAMS_READY,e),"*")}}class pc{sendUpdate(e,t="default"){window.parent.postMessage(new _c(Ec.COMPONENT_UPDATE,{componentData:JSON.parse(JSON.stringify(e)),source:t}),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.COMPONENT_ON_CLICK,e),"*")}sendTransitionAnimationFinished(e,t){window.parent.postMessage(new _c(Ec.COMPONENT_TRANSITION_ANIMATION_FINISHED,{componentId:e,animationId:t}),"*")}}class Tc{sendShotResult(e){window.parent.postMessage(new _c(Ec.FOV_SHOT_RESULT,JSON.parse(JSON.stringify(e))),"*")}}class gc{sendImportFromMatterport(e){window.parent.postMessage(new _c(Ec.FLOOR_IMPORT_FROM_MATTERPORT,e),"*")}sendEnter(e){window.parent.postMessage(new _c(Ec.FLOOR_ENTER,e),"*")}sendLeave(e){window.parent.postMessage(new _c(Ec.FLOOR_LEAVE,e),"*")}}class Ac{sendReady(){window.parent.postMessage(new _c(Ec.PLAYER_READY,{}),"*")}sendStatusUpdate(e){window.parent.postMessage(new _c(Ec.PLAYER_STATUS_UPDATE,e),"*")}}class Cc{sendImportFromMatterport(e){window.parent.postMessage(new _c(Ec.SWEEP_IMPORT_FROM_MATTERPORT,e),"*")}sendSyncMatterportEnabledState(e){window.parent.postMessage(new _c(Ec.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,e),"*")}sendRequestModifyEnabled(e,t){window.parent.postMessage(new _c(Ec.SWEEP_REQUEST_MODIFY_ENABLED,{sweepId:e,enabled:t}),"*")}}class Oc{sendScreenshotReady(e){window.parent.postMessage(new _c(Ec.RENDERER_SCREENSHOT_READY,e),"*")}sendPanoramaImageReady(e){window.parent.postMessage(new _c(Ec.RENDERER_PANORAMA_IMAGE_READY,e),"*")}sendWorldSizeReady(e){window.parent.postMessage(new _c(Ec.RENDERER_WORLD_SIZE_READY,JSON.parse(JSON.stringify(e))),"*")}}class Sc{sendNavigationResultReady(e){window.parent.postMessage(new _c(Ec.NAVIGATION_RESULT_READY,JSON.parse(JSON.stringify(e))),"*")}sendNavigationStart(e){window.parent.postMessage(new _c(Ec.NAVIGATION_START,JSON.parse(JSON.stringify(e))),"*")}sendNavigationEnd(e){window.parent.postMessage(new _c(Ec.NAVIGATION_END,JSON.parse(JSON.stringify(e))),"*")}sendNavigationCancel(e){window.parent.postMessage(new _c(Ec.NAVIGATION_CANCEL,JSON.parse(JSON.stringify(e))),"*")}}class Ic{sendUpdate(e){window.parent.postMessage(new _c(Ec.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.OBSTACLE_ON_CLICK,e),"*")}}class uc{sendUpdate(e){window.parent.postMessage(new _c(Ec.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.TRIMMER_ON_CLICK,e),"*")}}class Lc{sendUpdate(e){window.parent.postMessage(new _c(Ec.STICKER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.STICKER_ON_CLICK,e),"*")}}class Nc{sendUpdate(e){window.parent.postMessage(new _c(Ec.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.ASSET_LABEL_ON_CLICK,e),"*")}}class Rc{sendUpdate(e){window.parent.postMessage(new _c(Ec.TARGET_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.TARGET_ON_CLICK,e),"*")}}class Pc{sendUpdate(e){window.parent.postMessage(new _c(Ec.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.WORMHOLE_ON_CLICK,e),"*")}}class Mc{sendUpdate(e){window.parent.postMessage(new _c(Ec.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new _c(Ec.SPACE_FENCE_ON_CLICK,e),"*")}}class yc{sendDestinationCaptured(e){window.parent.postMessage(new _c(Ec.DOLLY_PATH_DESTINATION_CAPTURED,JSON.parse(JSON.stringify(e))),"*")}}class hc{onUpdateAll(e){bc.registerCommandListener(ki.SWEEP_UPDATE_ALL,(t=>{e(t.data)}))}onUpdate(e){bc.registerCommandListener(ki.SWEEP_UPDATE,(t=>{e(t.data)}))}onDeleteVirtual(e){bc.registerCommandListener(ki.SWEEP_DELETE_VIRTUAL,(t=>{e(t.data)}))}onUpdateRenderFlagVisible(e){bc.registerCommandListener(ki.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,(t=>{e(t.data)}))}}class bc{static commandListenerPool=new Map;static commandPlayer=new Gi;static commandCover=new xi;static commandUi=new Fi;static commandInfoTemplate=new Hi;static commandInformation=new Xi;static commandComponent=new Wi;static commandFov=new Yi;static commandLayer=new Ki;static commandLight=new Ji;static commandTrimmer=new zi;static commandSticker=new ji;static commandSweep=new hc;static commandFloor=new $i;static commandCamera=new Qi;static commandRenderer=new qi;static commandMarker=new Zi;static commandNavigation=new ec;static commandObstacle=new tc;static commandAudio=new ac;static commandAssetLabel=new nc;static commandTarget=new sc;static commandWormhole=new rc;static commandSpaceFence=new oc;static commandMonitor=new ic;static commandMessageCard=new cc;static commandDollyPath=new lc;static commandHamburgerMenu=new dc;static messageCamera=new mc;static messageComponent=new pc;static messageFov=new Tc;static messageFloor=new gc;static messagePlayer=new Ac;static messageSweep=new Cc;static messageRenderer=new Oc;static messageNavigation=new Sc;static messageObstacle=new Ic;static messageTrimmer=new uc;static messageSticker=new Lc;static messageAssetLabel=new Nc;static messageTarget=new Rc;static messageWormhole=new Pc;static messageSpaceFence=new Mc;static messageDollyPath=new yc;static registerCommandListener(e,t){bc.commandListenerPool.has(e)||bc.commandListenerPool.set(e,[]),bc.commandListenerPool.get(e).push(t)}static unRegisterCommandListener(e,t){if(!bc.commandListenerPool.has(e))return;const a=bc.commandListenerPool.get(e).indexOf(t);a>=0&&bc.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;bc.commandListenerPool.has(t.type)&&bc.commandListenerPool.get(t.type).forEach((e=>{e(t)}))}}))}}class Dc{player;constructor(e){this.player=e}onReady(e){this.player.registerMessageListener(Ec.PLAYER_READY,(t=>{e()}))}onStatusUpdate(e){this.player.registerMessageListener(Ec.PLAYER_STATUS_UPDATE,(t=>{e(t.data)}))}}class fc{player;constructor(e){this.player=e}sendStart(e,t){this.player.sendCommand(new Bi(ki.PLAYER_START,JSON.parse(JSON.stringify({vrContentData:e,isForceIgnoreEnterBtn:t}))))}sendModeUpdate(e){this.player.sendCommand(new Bi(ki.PLAYER_MODE_UPDATE,e))}sendXrPreparePreview(e){this.player.sendCommand(new Bi(ki.PLAYER_XR_PREPARE_PREVIEW,e))}sendPrepareSettingsUpdate(e){this.player.sendCommand(new Bi(ki.PLAYER_PREPARE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class wc{player;constructor(e){this.player=e}sendCoverSettingsUpdate(e){this.player.sendCommand(new Bi(ki.COVER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class vc{player;constructor(e){this.player=e}sendUiSettingsUpdate(e){this.player.sendCommand(new Bi(ki.UI_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Vc{player;constructor(e){this.player=e}sendInfoTemplateSettingsUpdate(e){this.player.sendCommand(new Bi(ki.INFO_TEMPLATE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Uc{player;constructor(e){this.player=e}sendUpdateContentCard(e){this.player.sendCommand(new Bi(ki.INFORMATION_CONTENT_CARD_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteContentCard(e){this.player.sendCommand(new Bi(ki.INFORMATION_CONTENT_CARD_DELETE,e))}}class Bc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.COMPONENT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.COMPONENT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.COMPONENT_DELETE,e))}sendFollowMouse(e){this.player.sendCommand(new Bi(ki.COMPONENT_FOLLOW_MOUSE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.COMPONENT_CONTROLLER_MODIFY,{componentId:t,controllerType:e}))}sendPlayTransitionAnimation(e,t){this.player.sendCommand(new Bi(ki.COMPONENT_PLAY_TRANSITION_ANIMATION,{componentId:e,animationId:t}))}sendStopTransitionAnimation(e){this.player.sendCommand(new Bi(ki.COMPONENT_STOP_TRANSITION_ANIMATION,{componentId:e}))}send3dModelPlayAnimationClip(e,t){this.player.sendCommand(new Bi(ki.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,{modelComponentId:e,animationClipId:t}))}send3dModelStopAnimationClip(e){this.player.sendCommand(new Bi(ki.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,{modelComponentId:e}))}send2dTextAutoFit(e){this.player.sendCommand(new Bi(ki.COMPONENT_2D_TEXT_AUTO_FIT,e))}}class kc{player;constructor(e){this.player=e}enterFovShotMode(e){this.player.sendCommand(new Bi(ki.FOV_ENTER_SHOT_MODE,JSON.parse(JSON.stringify(e))))}exitFovShotMode(){this.player.sendCommand(new Bi(ki.FOV_EXIT_SHOT_MODE,{}))}sendUpdate(e){this.player.sendCommand(new Bi(ki.FOV_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.FOV_DELETE,e))}}class Gc{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new Bi(ki.LAYER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e,t){this.player.sendCommand(new Bi(ki.LAYER_DELETE,{layerId:e,deleteComponents:t}))}sendVisible(e,t){this.player.sendCommand(new Bi(ki.LAYER_VISIBLE,{layerId:e,visible:t}))}}class xc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.LIGHT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.LIGHT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.LIGHT_DELETE,e))}}class Fc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.TRIMMER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.TRIMMER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.TRIMMER_CONTROLLER_MODIFY,{controllerType:e,trimmerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.TRIMMER_EDITING_STATE_UPDATE,e))}}class Hc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.STICKER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.STICKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.STICKER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.STICKER_CONTROLLER_MODIFY,{controllerType:e,stickerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.STICKER_EDITING_STATE_UPDATE,e))}}class Xc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.ASSET_LABEL_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.ASSET_LABEL_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.ASSET_LABEL_CONTROLLER_MODIFY,{controllerType:e,assetLabelId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.ASSET_LABEL_EDITING_STATE_UPDATE,e))}}class Wc{player;constructor(e){this.player=e}sendUpdateAll(e){this.player.sendCommand(new Bi(ki.SWEEP_UPDATE_ALL,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.SWEEP_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteVirtual(e){this.player.sendCommand(new Bi(ki.SWEEP_DELETE_VIRTUAL,e))}sendUpdateRenderFlagVisible(e){this.player.sendCommand(new Bi(ki.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,e))}}class Yc{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new Bi(ki.FLOOR_UPDATE,JSON.parse(JSON.stringify(e))))}}class Kc{player;constructor(e){this.player=e}sendMoveTo(e,t){this.player.sendCommand(new Bi(ki.CAMERA_MOVE_TO,JSON.parse(JSON.stringify({transition:e,cameraMode:t}))))}sendMoveToInside(e,t,a){this.player.sendCommand(new Bi(ki.CAMERA_MOVE_TO_INSIDE,JSON.parse(JSON.stringify({transition:e,transitionTime:t,cameraPose:a}))))}sendMoveToVrFov(e,t,a){this.player.sendCommand(new Bi(ki.CAMERA_MOVE_TO_VR_FOV,JSON.parse(JSON.stringify({transition:e,transitionTime:t,fovId:a}))))}sendMoveToNearComponent(e,t,a){this.player.sendCommand(new Bi(ki.CAMERA_MOVE_TO_NEAR_COMPONENT,JSON.parse(JSON.stringify({transition:e,transitionTime:t,componentId:a}))))}sendMoveToWatchPosition(e,t,a){this.player.sendCommand(new Bi(ki.CAMERA_MOVE_TO_WATCH_POSITION,JSON.parse(JSON.stringify({transition:e,transitionTime:t,position:a}))))}sendRequestDeeplinkParams(){this.player.sendCommand(new Bi(ki.CAMERA_REQUEST_DEEPLINK_PARAMS,{}))}}class Jc{player;constructor(e){this.player=e}sendTakeScreenshot(e,t){this.player.sendCommand(new Bi(ki.RENDERER_TAKE_SCREENSHOT,{resolution:e,visibility:t}))}sendGetPanoramaImage(){this.player.sendCommand(new Bi(ki.RENDERER_GET_PANORAMA_IMAGE,{}))}sendSettingsUpdate(e){this.player.sendCommand(new Bi(ki.RENDERER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}sendColorSpaceSettingsUpdate(e){this.player.sendCommand(new Bi(ki.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class zc{player;constructor(e){this.player=e}sendMarkerUpdate(e){this.player.sendCommand(new Bi(ki.MARKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendMarkerDelete(e){this.player.sendCommand(new Bi(ki.MARKER_DELETE,e))}}class jc{player;constructor(e){this.player=e}sendNavigationRequest(e){this.player.sendCommand(new Bi(ki.NAVIGATION_REQUEST,JSON.parse(JSON.stringify(e))))}sendNavigationStart(e){this.player.sendCommand(new Bi(ki.NAVIGATION_START,JSON.parse(JSON.stringify(e))))}sendNavigationCancel(){this.player.sendCommand(new Bi(ki.NAVIGATION_CANCEL,{}))}}class $c{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.OBSTACLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.OBSTACLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.OBSTACLE_CONTROLLER_MODIFY,{controllerType:e,obstacleId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.OBSTACLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Bi(ki.OBSTACLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class Qc{player;constructor(e){this.player=e}sendAudioListUpdate(e){this.player.sendCommand(new Bi(ki.AUDIO_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioListDelete(e){this.player.sendCommand(new Bi(ki.AUDIO_LIST_DELETE,{audioListId:e}))}sendAudioUpdate(e){this.player.sendCommand(new Bi(ki.AUDIO_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioDelete(e,t){this.player.sendCommand(new Bi(ki.AUDIO_DELETE,{audioListId:e,audioId:t}))}sendAudioCenterPlayerShowPlayControlUpdate(e){this.player.sendCommand(new Bi(ki.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerShowMuteControlUpdate(e){this.player.sendCommand(new Bi(ki.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerVolumeUpdate(e){this.player.sendCommand(new Bi(ki.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,{volume:e}))}}class qc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.TARGET_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.TARGET_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.TARGET_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.TARGET_CONTROLLER_MODIFY,{controllerType:e,targetId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.TARGET_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Bi(ki.TARGET_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class Zc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.WORMHOLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.WORMHOLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.WORMHOLE_CONTROLLER_MODIFY,{controllerType:e,wormholeId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.WORMHOLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Bi(ki.WORMHOLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class el{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Bi(ki.SPACE_FENCE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Bi(ki.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Bi(ki.SPACE_FENCE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Bi(ki.SPACE_FENCE_CONTROLLER_MODIFY,{controllerType:e,spaceFenceId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Bi(ki.SPACE_FENCE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Bi(ki.SPACE_FENCE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}sendGroupColorUpdate(e,t){this.player.sendCommand(new Bi(ki.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 Bi(ki.MONITOR_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}}class al{player;constructor(e){this.player=e}sendPreview(e,t){this.player.sendCommand(new Bi(ki.MESSAGE_CARD_PREVIEW,{card:e?JSON.parse(JSON.stringify(e)):null,show:t}))}}class nl{player;constructor(e){this.player=e}captureDestination(){this.player.sendCommand(new Bi(ki.DOLLY_PATH_CAPTURE_DESTINATION,{}))}preview(e){this.player.sendCommand(new Bi(ki.DOLLY_PATH_PREVIEW,JSON.parse(JSON.stringify(e))))}stopPreview(){this.player.sendCommand(new Bi(ki.DOLLY_PATH_STOP_PREVIEW,{}))}}class sl{player;constructor(e){this.player=e}sendHamburgerMenuUpdate(e){this.player.sendCommand(new Bi(ki.HAMBURGER_MENU_UPDATE,JSON.parse(JSON.stringify(e))))}}class rl{player;constructor(e){this.player=e}onCameraPoseUpdate(e){this.player.registerMessageListener(Ec.CAMERA_POSE_UPDATE,(t=>{e(t.data)}))}onDeeplinkParamsReady(e){this.player.registerMessageListener(Ec.CAMERA_DEEPLINK_PARAMS_READY,(t=>{e(t.data)}))}}class ol{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.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(Ec.COMPONENT_ON_CLICK,(t=>{e(t.data)}))}onTransitionAnimationFinished(e){this.player.registerMessageListener(Ec.COMPONENT_TRANSITION_ANIMATION_FINISHED,(t=>{e(t.data.componentId,t.data.animationId)}))}}class il{player;constructor(e){this.player=e}onShotResult(e){this.player.registerMessageListener(Ec.FOV_SHOT_RESULT,(t=>{e(t.data)}))}}class cl{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(Ec.FLOOR_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onEnterFloor(e){this.player.registerMessageListener(Ec.FLOOR_ENTER,(t=>{e(t.data)}))}onLeaveFloor(e){this.player.registerMessageListener(Ec.FLOOR_LEAVE,(t=>{e(t.data)}))}}class ll{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(Ec.SWEEP_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onSyncMatterportEnabledState(e){this.player.registerMessageListener(Ec.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,(t=>{e(t.data)}))}onRequestModifyEnabled(e){this.player.registerMessageListener(Ec.SWEEP_REQUEST_MODIFY_ENABLED,(t=>{e(t.data.sweepId,t.data.enabled)}))}}class dl{player;constructor(e){this.player=e}onScreenshotReady(e){this.player.registerMessageListener(Ec.RENDERER_SCREENSHOT_READY,(t=>{e(t.data)}))}onPanoramaImageReady(e){this.player.registerMessageListener(Ec.RENDERER_PANORAMA_IMAGE_READY,(t=>{e(t.data)}))}onWorldSizeReady(e){this.player.registerMessageListener(Ec.RENDERER_WORLD_SIZE_READY,(t=>{e(t.data)}))}}class _l{player;constructor(e){this.player=e}onNavigationResultReady(e){this.player.registerMessageListener(Ec.NAVIGATION_RESULT_READY,(t=>{e(t.data)}))}onNavigationStart(e){this.player.registerMessageListener(Ec.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationEnd(e){this.player.registerMessageListener(Ec.NAVIGATION_END,(t=>{e(t.data)}))}onNavigationCancel(e){this.player.registerMessageListener(Ec.NAVIGATION_CANCEL,(t=>{e(t.data)}))}}class El{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.OBSTACLE_ON_CLICK,(t=>{e(t.data)}))}}class ml{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.TRIMMER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.TRIMMER_ON_CLICK,(t=>{e(t.data)}))}}class pl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.STICKER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.STICKER_ON_CLICK,(t=>{e(t.data)}))}}class Tl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.ASSET_LABEL_ON_CLICK,(t=>{e(t.data)}))}}class gl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.TARGET_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.TARGET_ON_CLICK,(t=>{e(t.data)}))}}class Al{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.WORMHOLE_ON_CLICK,(t=>{e(t.data)}))}}class Cl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Ec.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Ec.SPACE_FENCE_ON_CLICK,(t=>{e(t.data)}))}}class Ol{player;constructor(e){this.player=e}onDestinationCaptured(e){this.player.registerMessageListener(Ec.DOLLY_PATH_DESTINATION_CAPTURED,(t=>{e(t.data)}))}}class Sl{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 rl(this),this.messageComponent=new ol(this),this.messageFov=new il(this),this.messageFloor=new cl(this),this.messagePlayer=new Dc(this),this.messageSweep=new ll(this),this.messageRenderer=new dl(this),this.messageNavigation=new _l(this),this.messageObstacle=new El(this),this.messageTrimmer=new ml(this),this.messageSticker=new pl(this),this.messageAssetLabel=new Tl(this),this.messageTarget=new gl(this),this.messageWormhole=new Al(this),this.messageSpaceFence=new Cl(this),this.messageDollyPath=new Ol(this),this.commandPlayer=new fc(this),this.commandCover=new wc(this),this.commandUi=new vc(this),this.commandInfoTemplate=new Vc(this),this.commandInformation=new Uc(this),this.commandComponent=new Bc(this),this.commandFov=new kc(this),this.commandLayer=new Gc(this),this.commandLight=new xc(this),this.commandTrimmer=new Fc(this),this.commandSticker=new Hc(this),this.commandAssetLabel=new Xc(this),this.commandSweep=new Wc(this),this.commandFloor=new Yc(this),this.commandCamera=new Kc(this),this.commandRenderer=new Jc(this),this.commandMarker=new zc(this),this.commandNavigation=new jc(this),this.commandObstacle=new $c(this),this.commandAudio=new Qc(this),this.commandTarget=new qc(this),this.commandWormhole=new Zc(this),this.commandSpaceFence=new el(this),this.commandMonitor=new tl(this),this.commandMessageCard=new al(this),this.commandDollyPath=new nl(this),this.commandHamburgerMenu=new sl(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 Il(e){switch(e){case $.TYPE_2D_IMAGE:return Sr.COMPONENT_2D_IMAGE;case $.TYPE_2D_VIDEO:return Sr.COMPONENT_2D_VIDEO;case $.TYPE_2D_TEXT:return Sr.COMPONENT_2D_TEXT;case $.TYPE_2D_PANEL:return Sr.COMPONENT_2D_PANEL;case $.TYPE_2D_ADVERTISEMENT:return Sr.COMPONENT_2D_ADVERTISEMENT;case $.TYPE_3D_BOX:return Sr.COMPONENT_3D_BOX;case $.TYPE_3D_MODEL:return Sr.COMPONENT_3D_MODEL;case $.TYPE_TAG:return Sr.COMPONENT_TAG;default:return Sr.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 Ll(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=Il(n.type),s=n;if(ul(s.triggerList,e,n.id,t,a),s.triggerList=[],n.type===$.TYPE_2D_IMAGE){const e=n;if(Array.isArray(e.sourceList))for(const s of e.sourceList){const e=s;ul(e.triggerList,Sr.COMPONENT_2D_IMAGE,n.id,t,a),e.triggerList=[]}}else if(n.type===$.TYPE_2D_VIDEO){const e=n;if(Array.isArray(e.sourceList))for(const s of e.sourceList){const e=s;ul(e.triggerList,Sr.COMPONENT_2D_VIDEO,n.id,t,a),e.triggerList=[]}}else if(n.type===$.TYPE_2D_PANEL){const e=n;if(Array.isArray(e.sceneDataList))for(const s of e.sceneDataList){const e=s;ul(e.triggerList,Sr.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,Sr.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,Sr.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,Sr.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,Sr.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,Sr.SPACE_FENCE_GROUP,n.id,t,a),e.triggerList=[]}a.length>0&&e.triggerList.push(...a)}function Nl(e,t){const a=new qr;return a.key=e,a.placement=t,a}function Rl(e){return e.map((e=>Nl(e.key,e.placement)))}const Pl=["left","right","capsule","more","hidden"];function Ml(e,t){return Pl.includes(e.placement)?Nl(e.key,e.placement):Nl(e.key,co(e.key,t))}function yl(e){return Nl(e.key,"hidden"===e.placement?"hidden":"surface")}function hl(e){return e.vrMainBarItems&&e.vrMainBarItems.length>0?e.vrMainBarItems.map((e=>Ml(e,eo))):eo.map((t=>Nl(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,eo)}(t.key,e))))}function bl(e){return e.vrInfoBarItems&&e.vrInfoBarItems.length>0?e.vrInfoBarItems.map(yl):to.map((t=>Nl(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 Dl(e){return e.arBottomItems&&e.arBottomItems.length>0?e.arBottomItems.map((e=>Ml(e,ao))):Rl(ao)}function fl(e){return e.arInfoItems&&e.arInfoItems.length>0?e.arInfoItems.map(yl):Rl(no)}function wl(e){e.vrMainBarItems&&0!==e.vrMainBarItems.length||(e.vrMainBarItems=hl(e)),e.vrInfoBarItems&&0!==e.vrInfoBarItems.length||(e.vrInfoBarItems=bl(e)),e.arBottomItems&&0!==e.arBottomItems.length||(e.arBottomItems=Dl(e)),e.arInfoItems&&0!==e.arInfoItems.length||(e.arInfoItems=fl(e))}function vl(e){if(!e)return;let t=e.vrPlayerUiSettings;t||(t=new bn,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),wl(t)}function Vl(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,Ul),function(e){if(Array.isArray(e.componentList))for(const t of e.componentList){if(t.type!==$.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 Ul(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 Ee;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 Bl="expression";function kl(e){return e?.root?Gl(e.root):""}function Gl(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=Gl(e);return""===t?"false":`(${t})`}return function(e){if(e.funcName===Bl){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(xl).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 xl(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(Fl).join(", ")}]`;const t=e.literalType,a=e.literalValue;return"number"===t?Xl("number"==typeof a?a:Number(a)||0):"boolean"===t?a?"true":"false":Hl("string"==typeof a?a:String(a??""))}function Fl(e){return"number"===e.type?Xl("number"==typeof e.value?e.value:Number(e.value)||0):"boolean"===e.type?e.value?"true":"false":Hl("string"==typeof e.value?e.value:String(e.value??""))}function Hl(e){return JSON.stringify(e)}function Xl(e){return Number.isFinite(e)?String(e):"0"}function Wl(e,t){const a={deps:[],hasCustomJs:!1};return e?.root?(Yl(e.root,t,a),a):a}function Yl(e,t,a){for(const n of e.children||[])n&&(n.kind===Ze.GROUP?Yl(n,t,a):Kl(n,t,a))}function Kl(e,t,a){if(e.funcName===Bl)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 Jl(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 zl="\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 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:()=>io,AR_INFO_BAR_DEFAULT:()=>no,AR_INFO_ICON_KEYS:()=>co,AR_MAIN_BAR_DEFAULT:()=>so,ArCommonSettings:()=>ir,ArMultisetSettings:()=>or,ArPositionXSettings:()=>gr,ChromaKeySettings:()=>_,Color:()=>d,ColorBuilder:()=>c,ColorParser:()=>l,Component2dFaceToCameraModeDefine:()=>te,EXPRESSION_FUNC_NAME:()=>Xl,EaseAnimationFunctionDefine:()=>m,EaseAnimationSettings:()=>E,FreeButton:()=>C,GotoPositionMethodDefine:()=>u,HoverBorderSettings:()=>O,LanguageTypeDefine:()=>g,LogicCurrentTimeOutputTypeDefine:()=>rs,LogicRandomColorPaletteDefine:()=>ss,MediaLoopModeDefine:()=>N,MonitorVideoMuteChangeTypeDefine:()=>ma,MonitorVideoPlayChangeTypeDefine:()=>_a,MultiLanguageStr:()=>A,PROGRESS_BAR_KEYFRAMES_CSS:()=>ed,ParentComCommandAssetLabel:()=>zc,ParentComCommandAudio:()=>sl,ParentComCommandCamera:()=>Qc,ParentComCommandComponent:()=>Xc,ParentComCommandCover:()=>Gc,ParentComCommandDollyPath:()=>ll,ParentComCommandFloor:()=>$c,ParentComCommandFov:()=>Wc,ParentComCommandHamburgerMenu:()=>dl,ParentComCommandInfoTemplate:()=>Fc,ParentComCommandInformation:()=>Hc,ParentComCommandLayer:()=>Yc,ParentComCommandLight:()=>Kc,ParentComCommandMarker:()=>el,ParentComCommandMessageCard:()=>cl,ParentComCommandMonitor:()=>il,ParentComCommandNavigation:()=>tl,ParentComCommandObstacle:()=>al,ParentComCommandPlayer:()=>Bc,ParentComCommandRenderer:()=>Zc,ParentComCommandSpaceFence:()=>ol,ParentComCommandSticker:()=>qc,ParentComCommandSweep:()=>jc,ParentComCommandTarget:()=>nl,ParentComCommandTrimmer:()=>Jc,ParentComCommandUi:()=>xc,ParentComCommandWormhole:()=>rl,ParentComMessageAssetLabel:()=>Sl,ParentComMessageCamera:()=>_l,ParentComMessageComponent:()=>ml,ParentComMessageDollyPath:()=>yl,ParentComMessageFloor:()=>pl,ParentComMessageFov:()=>El,ParentComMessageNavigation:()=>Al,ParentComMessageObstacle:()=>Cl,ParentComMessagePlayer:()=>Uc,ParentComMessageRenderer:()=>gl,ParentComMessageSpaceFence:()=>Nl,ParentComMessageSticker:()=>Ol,ParentComMessageSweep:()=>Tl,ParentComMessageTarget:()=>Il,ParentComMessageTrimmer:()=>ul,ParentComMessageWormhole:()=>Ll,PlayerComCommand:()=>Xi,PlayerComCommandAssetLabel:()=>lc,PlayerComCommandAudio:()=>cc,PlayerComCommandCamera:()=>sc,PlayerComCommandComponent:()=>ji,PlayerComCommandCover:()=>Ki,PlayerComCommandDollyPath:()=>Tc,PlayerComCommandFloor:()=>ac,PlayerComCommandFov:()=>$i,PlayerComCommandHamburgerMenu:()=>gc,PlayerComCommandInfoTemplate:()=>qi,PlayerComCommandInformation:()=>zi,PlayerComCommandLayer:()=>Qi,PlayerComCommandLight:()=>Zi,PlayerComCommandMarker:()=>rc,PlayerComCommandMessageCard:()=>pc,PlayerComCommandMonitor:()=>Ec,PlayerComCommandNavigation:()=>oc,PlayerComCommandObstacle:()=>ic,PlayerComCommandPlayer:()=>Yi,PlayerComCommandRenderer:()=>nc,PlayerComCommandSpaceFence:()=>mc,PlayerComCommandSticker:()=>tc,PlayerComCommandSweep:()=>Vc,PlayerComCommandTarget:()=>dc,PlayerComCommandTrimmer:()=>ec,PlayerComCommandTypeDefine:()=>Wi,PlayerComCommandUi:()=>Ji,PlayerComCommandWormhole:()=>_c,PlayerComMessage:()=>Ac,PlayerComMessageAssetLabel:()=>hc,PlayerComMessageCamera:()=>uc,PlayerComMessageComponent:()=>Oc,PlayerComMessageDollyPath:()=>vc,PlayerComMessageFloor:()=>Ic,PlayerComMessageFov:()=>Sc,PlayerComMessageNavigation:()=>Rc,PlayerComMessageObstacle:()=>Pc,PlayerComMessagePlayer:()=>Lc,PlayerComMessageRenderer:()=>yc,PlayerComMessageSpaceFence:()=>wc,PlayerComMessageSticker:()=>bc,PlayerComMessageSweep:()=>Nc,PlayerComMessageTarget:()=>Dc,PlayerComMessageTrimmer:()=>Mc,PlayerComMessageTypeDefine:()=>Cc,PlayerComMessageWormhole:()=>fc,PlayerController:()=>kc,PopupUserFormField:()=>es,PositionXAbnormalHandheldSettings:()=>lr,PositionXCorrectionSettings:()=>Tr,PositionXDistanceTrigger:()=>mr,PositionXDynamicSettings:()=>pr,PositionXInitialSettings:()=>dr,PositionXQualitySettings:()=>cr,PositionXScoreTier:()=>Er,PositionXTimerTrigger:()=>_r,RendererResolution:()=>S,TakeScreenshotVisibility:()=>I,TintableIconRef:()=>L,TtsTextModeDefine:()=>Ma,UnityNavigationMode:()=>y,UnityNavigationParams:()=>R,UnityNavigationPlan:()=>P,VRTalkBaseData:()=>T,VRTalkEditablePlayer:()=>Rl,VR_ACTION_PLATFORM_CAPABILITY_AR_ONLY:()=>gs,VR_ACTION_PLATFORM_CAPABILITY_VR_AND_AR:()=>Ts,VR_ACTION_PLATFORM_CAPABILITY_VR_ONLY:()=>ps,VR_INFO_BAR_DEFAULT:()=>ao,VR_INFO_BAR_ICON_KEYS:()=>oo,VR_MAIN_BAR_DEFAULT:()=>to,VR_MAIN_BAR_ICON_KEYS:()=>ro,Vector2:()=>s,Vector3:()=>a,VrAction:()=>qe,VrActionAnalyticsValueModeDefine:()=>$a,VrActionCloudFormValueModeDefine:()=>Ka,VrActionHitAnalyticsEventFieldBinding:()=>Qa,VrActionParams:()=>At,VrActionParams2dGeneralChangeDeformationSettings:()=>It,VrActionParams2dImageChangeSource:()=>Nt,VrActionParams2dPanelButtonChangeEnabled:()=>Dt,VrActionParams2dPanelChangeScene:()=>ht,VrActionParams2dTextChangeSource:()=>Lt,VrActionParams2dVideoChangeMuteState:()=>Pt,VrActionParams2dVideoChangePlayState:()=>Rt,VrActionParams2dVideoChangeSource:()=>yt,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:()=>ya,VrActionParamsMessageCardShow:()=>Na,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,VrActionSystemOpenWebpagePcModeDefine:()=>xa,VrActionTypeDefine:()=>pt,VrAdChannel:()=>Ss,VrAdItem:()=>Is,VrAiSettings:()=>Ls,VrAppearanceStyle:()=>H,VrAssetLabel:()=>Ns,VrAudio:()=>J,VrAudioCenter:()=>W,VrAudioList:()=>z,VrAudioLyric:()=>q,VrCameraEnterSettings:()=>sr,VrCameraModeDefine:()=>n,VrCameraMoveTransitionTypeDefine:()=>r,VrCameraPose:()=>i,VrColorSpaceSettings:()=>vs,VrComponent2dAdvertisementData:()=>ii,VrComponent2dDeformationModeDefine:()=>se,VrComponent2dDeformationSettings:()=>ne,VrComponent2dImageData:()=>ci,VrComponent2dImageSourceData:()=>li,VrComponent2dPanelAnsweringModeSettings:()=>Ei,VrComponent2dPanelButtonItemData:()=>Oi,VrComponent2dPanelButtonTypeDefine:()=>Ai,VrComponent2dPanelData:()=>_i,VrComponent2dPanelImageItemData:()=>Ci,VrComponent2dPanelItem:()=>gi,VrComponent2dPanelItemStyle:()=>Li,VrComponent2dPanelItemTypeDefine:()=>Ti,VrComponent2dPanelSceneData:()=>mi,VrComponent2dPanelSceneGeneralParams:()=>Si,VrComponent2dPanelSceneModeDefine:()=>di,VrComponent2dPanelSceneStyle:()=>Ii,VrComponent2dPanelTextItemData:()=>ui,VrComponent2dPanelVariableModifierModeSettings:()=>pi,VrComponent2dTextBasicModeSettings:()=>bi,VrComponent2dTextData:()=>Pi,VrComponent2dTextHorizontalAlignDefine:()=>Ni,VrComponent2dTextMarqueeModeSettings:()=>hi,VrComponent2dTextModeDefine:()=>Ri,VrComponent2dTextSourceData:()=>Mi,VrComponent2dTextVerticalAlignDefine:()=>yi,VrComponent2dVideoData:()=>Di,VrComponent2dVideoSourceData:()=>fi,VrComponent3dBoxData:()=>wi,VrComponent3dModelAnimationClipData:()=>ki,VrComponent3dModelAnimationData:()=>Vi,VrComponent3dModelData:()=>vi,VrComponentAudioSource:()=>K,VrComponentAudioSourceDistanceModelDefine:()=>Y,VrComponentControllerTypeDefine:()=>$,VrComponentCustomVisibilitySettings:()=>ee,VrComponentData:()=>Q,VrComponentData2d:()=>ae,VrComponentData2dCurvedSurfaceSettings:()=>re,VrComponentData2dFoldSurfaceSettings:()=>oe,VrComponentData3d:()=>ie,VrComponentNavigationSettings:()=>Z,VrComponentTagData:()=>Bi,VrComponentTagTextLocationDefine:()=>Ui,VrComponentTransitionAnimation:()=>le,VrComponentTransitionAnimationKeyframe:()=>de,VrComponentTransitionAnimationPlayCompleteProcessTypeDefine:()=>ce,VrComponentTypeDefine:()=>j,VrContentCard:()=>U,VrContentCardMedia:()=>G,VrContentCardMediaTypeDefine:()=>V,VrContentCardModule:()=>B,VrContentCardShowStyleDefine:()=>k,VrContentData:()=>Ar,VrContentDataBuilder:()=>ar,VrCoverBackgroundFitTypeDefine:()=>Fs,VrCoverBackgroundTypeDefine:()=>xs,VrCoverButtonTypeDefine:()=>Hs,VrCoverSettings:()=>Xs,VrFloatingLayerStyle:()=>ys,VrFloor:()=>Cr,VrFloorMapSettings:()=>ur,VrFlow:()=>Rr,VrFlowBroadcastListenerEntry:()=>Vr,VrFlowPositionSettings:()=>fr,VrFlowPositionTypeDefine:()=>Dr,VrFlowStatusDefine:()=>yr,VrFlowStep:()=>br,VrFlowStepArriveAction:()=>hr,VrFlowStepBarStyleDefine:()=>Mr,VrFlowStepEndpointSettings:()=>vr,VrFlowStepTypeDefine:()=>Pr,VrFlowTrigger:()=>wr,VrFov:()=>kr,VrInfoTemplateItemValue:()=>fs,VrInfoTemplateSettings:()=>Ds,VrIntroduceItem:()=>rr,VrLayer:()=>Ur,VrLight:()=>Br,VrLightAmbient:()=>Gr,VrLightDirectional:()=>xr,VrLightPoint:()=>Fr,VrLogoEndpointConfig:()=>Ms,VrLogoObjectAlignDefine:()=>Ps,VrLogoObjectFitDefine:()=>Rs,VrMarker:()=>Xr,VrMarkerGroup:()=>Wr,VrMarkerTypeDefine:()=>Hr,VrMeasureAreaUnitDefine:()=>Kr,VrMeasureData:()=>Jr,VrMeasureDistanceUnitDefine:()=>Yr,VrMeasurePoint:()=>qr,VrNavigationAdConfig:()=>zr,VrNavigationModeDefine:()=>b,VrNavigationPath:()=>w,VrNavigationPoint:()=>D,VrNavigationPointBuilder:()=>h,VrNavigationPointTypeDefine:()=>M,VrNavigationRequest:()=>f,VrNavigationResult:()=>v,VrObstacle:()=>jr,VrObstacleGroup:()=>$r,VrPlayerLogoConfig:()=>bs,VrPlayerModeDefine:()=>Gi,VrPlayerStatusDefine:()=>Fi,VrPlayerStatusNumMapping:()=>xi,VrPlayerStatusValue:()=>Hi,VrPlayerUiSettings:()=>hs,VrRenderSettings:()=>ws,VrShadowStyle:()=>x,VrSignal:()=>Lr,VrSignalSourceDefine:()=>Sr,VrSignalTrigger:()=>Nr,VrSignalTypeDefine:()=>Or,VrSignalTypeSourceMapping:()=>Ir,VrSticker:()=>po,VrStickerActivateTypeDefine:()=>Eo,VrSweep:()=>To,VrSweepAlignmentDefine:()=>go,VrSweepCameraPose:()=>o,VrSweepPanoramaBallExternalViewModeDefine:()=>uo,VrSweepPanoramaData:()=>Oo,VrSweepPanoramaSourceData:()=>So,VrSweepPanoramaSourceTypeDefine:()=>Co,VrSweepPlacementTypeDefine:()=>Ao,VrTarget:()=>bo,VrTargetGroup:()=>ho,VrTheme:()=>Io,VrTrimmerData:()=>Lo,VrUiIconItem:()=>Zr,VrView:()=>yo,VrViewTypeDefine:()=>Ro,VrWorldSizeInfo:()=>nr,VrWormhole:()=>Po,VrWormholeGroup:()=>Mo,WorkNoteEnterTag:()=>Qr,XR_AI_AGENT_TOOL_GROUPS:()=>ei,XR_HAMBURGER_MENU_DEFAULT_COLOR:()=>dn,XrAbility:()=>oi,XrAbilityGroup:()=>ri,XrActionCategoryDefine:()=>Ye,XrAiAgent:()=>Zo,XrAiAgentParams:()=>jo,XrAiAgentRolePromptSettings:()=>zo,XrAiAgentSkillPrompt:()=>$o,XrAiAgentUseAbility:()=>Fo,XrAiAgentUseAnalyticsEvent:()=>Ko,XrAiAgentUseBackgroundThread:()=>Go,XrAiAgentUseCameraDollyPath:()=>xo,XrAiAgentUseCloudForm:()=>Wo,XrAiAgentUseComponent:()=>wo,XrAiAgentUseContentCard:()=>Ho,XrAiAgentUseFov:()=>Xo,XrAiAgentUseKnowledgeBase:()=>Yo,XrAiAgentUseMessageCard:()=>Jo,XrAiAgentUseMonitor:()=>qo,XrAiAgentUseSpaceFence:()=>Uo,XrAiAgentUseSpaceFenceGroup:()=>Bo,XrAiAgentUseSticker:()=>ko,XrAiAgentUseTarget:()=>vo,XrAiAgentUseVariable:()=>Vo,XrAiAgentWakePrompt:()=>Qo,XrAiAgentWakeWorkStyleDefine:()=>va,XrAudioCenterState:()=>Ue,XrBackgroundThread:()=>Do,XrBackgroundThreadState:()=>ye,XrBackgroundThreadStatusDefine:()=>Ne,XrBaseAction:()=>Je,XrBoundVariableControl:()=>Os,XrBroadcastChannel:()=>fo,XrBroadcastPayloadValue:()=>aa,XrCameraDollyPath:()=>ni,XrCameraDollyPathNode:()=>si,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:()=>zn,XrHamburgerCanvasComponentButton:()=>er,XrHamburgerCanvasComponentButtonIconPositionDefine:()=>qn,XrHamburgerCanvasComponentImage:()=>jn,XrHamburgerCanvasComponentImageModeDefine:()=>Xn,XrHamburgerCanvasComponentProgressBar:()=>Qn,XrHamburgerCanvasComponentProgressBarDirectionDefine:()=>Kn,XrHamburgerCanvasComponentText:()=>$n,XrHamburgerCanvasComponentTextAlignDefine:()=>Wn,XrHamburgerCanvasComponentTypeDefine:()=>Hn,XrHamburgerCanvasComponentVariableControl:()=>tr,XrHamburgerCanvasComponentVerticalAlignDefine:()=>Yn,XrHamburgerCanvasComponentVideo:()=>Zn,XrHamburgerCanvasComponentVideoObjectFitDefine:()=>Jn,XrHamburgerMenu:()=>Fn,XrHamburgerMenuCanvasItem:()=>xn,XrHamburgerMenuGridImageItem:()=>hn,XrHamburgerMenuGridLastRowModeDefine:()=>Pn,XrHamburgerMenuGridMediaItem:()=>bn,XrHamburgerMenuGroup:()=>Un,XrHamburgerMenuImageItem:()=>yn,XrHamburgerMenuImageItemSlide:()=>Nn,XrHamburgerMenuImageObjectFitDefine:()=>Mn,XrHamburgerMenuMediaCarouselItem:()=>Ln,XrHamburgerMenuMediaItem:()=>An,XrHamburgerMenuMediaTypeDefine:()=>gn,XrHamburgerMenuNode:()=>Sn,XrHamburgerMenuNodeBase:()=>On,XrHamburgerMenuNodeTypeDefine:()=>Tn,XrHamburgerMenuPcLayoutModeDefine:()=>Cn,XrHamburgerMenuRichImageSlide:()=>Rn,XrHamburgerMenuRichTextItem:()=>Gn,XrHamburgerMenuStyle:()=>_n,XrHamburgerMenuTextItem:()=>In,XrHamburgerMenuTitleOverflowModeDefine:()=>un,XrHamburgerMenuVideoItem:()=>Vn,XrHamburgerMenuVideoItemSlide:()=>vn,XrHamburgerMenuWaterfallBreakpoint:()=>Dn,XrHamburgerMenuWaterfallImageItem:()=>wn,XrHamburgerMenuWaterfallMediaItem:()=>fn,XrHamburgerMenuWebViewItem:()=>kn,XrInteractionControlConfig:()=>We,XrInteractionControlDefaultVariant:()=>Fe,XrInteractionControlVariantDefine:()=>xe,XrInteractionControlVariantTier:()=>He,XrInteractionDataTypeDefine:()=>Ge,XrInteractionOption:()=>Xe,XrMessageCard:()=>X,XrMonitor:()=>ln,XrMonitorBadgeStyleDefine:()=>en,XrMonitorComponentBase:()=>tn,XrMonitorComponentButton:()=>on,XrMonitorComponentButtonIconPositionDefine:()=>Zs,XrMonitorComponentImage:()=>an,XrMonitorComponentImageModeDefine:()=>Js,XrMonitorComponentProgressBar:()=>nn,XrMonitorComponentProgressBarDirectionDefine:()=>js,XrMonitorComponentRuntimeState:()=>ve,XrMonitorComponentText:()=>sn,XrMonitorComponentTextAlignDefine:()=>qs,XrMonitorComponentTypeDefine:()=>Ks,XrMonitorComponentVariableControl:()=>cn,XrMonitorComponentVerticalAlignDefine:()=>zs,XrMonitorComponentVideo:()=>rn,XrMonitorComponentVideoObjectFitDefine:()=>Qs,XrMonitorRuntimeState:()=>Ve,XrNavigationState:()=>Be,XrPlatformDefine:()=>Ke,XrPrepareSettings:()=>Ws,XrProgressBarStyleDefine:()=>$s,XrRecommendStringOption:()=>me,XrRuntimeState:()=>ke,XrSpaceFence:()=>_o,XrSpaceFenceGroup:()=>mo,XrStateBindings:()=>Le,XrStateBindingsSourceTypeDefine:()=>Se,XrStateBindingsTargetTypeDefine:()=>Ie,XrStateScopeBranchFromDefine:()=>na,XrSwitchAction:()=>Et,XrSwitchCase:()=>mt,XrTypedValue:()=>Ae,XrTypedValueModeDefine:()=>ge,XrVariable:()=>Ee,XrVariablePreFill:()=>Ys,XrVariableScope:()=>Te,XrVariableScopeTypeDefine:()=>pe,XrVariableTarget:()=>Ce,XrVariableTypeDefine:()=>_e,XrVirtualFloor:()=>No,buildExpressionFromTree:()=>Wl,computeProgressBarFillStyle:()=>Zl,createEmptyRichTextDoc:()=>Bn,createMultiLanguageStr:()=>ks,defaultMainPlacementOf:()=>lo,defaultRootHamburgerStyle:()=>mn,ensureIconLayoutMaterialized:()=>Gl,ensureLegacyVrPlayerUiSettingsInitialized:()=>xl,extractConditionTreeDependencies:()=>jl,getAllRegisteredVrActionPlatformCapabilities:()=>us,getVrActionPlatformCapability:()=>Cs,isAiAgentToolEnabled:()=>ai,isAiAgentToolResourceReady:()=>ti,migrateTriggersToCentralized:()=>bl,migrateXrVariableTypeEnum:()=>Fl,normalizeBrowserLanguage:()=>Bs,normalizeMultiLanguageStr:()=>Us,pickCurrentLanguage:()=>Gs,pickMultiLanguageStr:()=>Vs,resolveArBottomItems:()=>Ul,resolveArInfoItems:()=>Bl,resolveHamburgerNodeStyle:()=>pn,resolveHamburgerRootStyle:()=>En,resolveVrInfoBarItems:()=>kl,resolveVrMainBarItems:()=>Vl,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 N{static NO_LOOP="no_loop";static LOOP_ALL="loop_all";static LOOP_SINGLE="loop_single"}class y 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=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 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 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 ye{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=N.NO_LOOP;audioPaused=!0}class Pe extends Re{currentSourceId="";autoChangeInterval=0}class Me extends Re{currentSourceId="";playing=!1;muted=!1;loopMode=N.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"}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 Nt{componentId="";changeType="next";sourceId=""}class yt{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=N.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 Na{messageCardId=""}class ya{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}function Es(e,t){return{vr:e,ar:t}}const ps=Es(!0,!1),Ts=Es(!0,!0),gs=Es(!1,!0),As={[pt.CAMERA_MOVE_TO]:ps,[pt.CAMERA_DOLLY_MOVE]:ps,[pt.CAMERA_DOLLY_STOP]:ps,[pt.SWEEP_CHANGE_ENABLED]:ps,[pt.SWEEP_CHANGE_PANORAMA]:ps,[pt.SWEEP_MARKER_CHANGE_ENABLED]:ps,[pt.SWEEP_RESET_TO_DEFAULT]:ps,[pt.SWEEP_ONLY_ENABLE_CURRENT]:ps,[pt.COMPONENT_TAG_SIMULATE_CLICK]:ps,[pt.SYSTEM_COLOR_SPACE_SCENE_TINT]:ps,[pt.SYSTEM_COLOR_SPACE_DISPLAY_BRIGHTNESS]:ps};function Cs(e){return e&&As[e]||Ts}function us(){return As}class Os{boundVariableScope="";boundVariableKey="";dataType=Ge.STRING;control=new We;label=new A;description=new A;placeholder=new A;labelColor="";descriptionColor="";commitTextOnBlur=!0}class Ss extends T{name="";introduce="";code="";adItemList=[]}class Is{type="image";name="";introduce="";imageSeconds=5;contentSrc="";chromaKeySettings=new _}class Ls{isAiEnabled=!0;welcomeMessage=new A}class Ns 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 ys{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 Rs{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class Ps{static CENTER="center";static LEFT="left";static RIGHT="right"}class Ms{enabled=!0;boxWidth=160;boxHeight=56;objectFit="contain";objectAlign="center"}class bs{imageSrc="";clickUrl="";backgroundColor=c.createColorRgba(0,0,0,0);pcConfig=new Ms;mobileConfig=new Ms;unityConfig=new Ms}class hs{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 ys;logoConfig=new bs;vrMainBarItems=[];vrInfoBarItems=[];arBottomItems=[];arInfoItems=[]}class Ds{enabledVrInfoTemplate=!1;vrInfoTemplateDataKey="";vrInfoTemplateItemValueList=[]}class fs{templateItemDataKey="";templateItemValue=""}class ws{vrShadowEnabled=!1;vrShadowOpacity=.3;vrShadowMapSize=2048;arShadowEnabled=!1;arShadowStrength=.5;arShadowResolution="high"}class vs{toneMapping="aces";toneMappingExposure=1;displayBrightness=1;sceneTint=c.createColorRgba(255,255,255,1)}function Vs(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 ks(e="",t=!0){const a=new A;return a.original_content=e,a.only_use_original_content=t,a}function Us(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 Bs(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 Gs(e,t){if(!e||0===e.length)return g.EN;const a=Bs(t);return a&&e.includes(a)?a:e[0]}class xs{static VIDEO="video";static IMAGE="image"}class Fs{static FILL="fill";static CONTAIN="contain";static COVER="cover";static NONE="none";static SCALE_DOWN="scale-down"}class Hs{static PLAY="play";static TEXT="text"}class Xs{coverImageSrc="";coverVideoSrc="";coverBackgroundColor=c.createColorRgba(255,255,255,1);coverBackgroundType=xs.IMAGE;coverContentFitType=Fs.CONTAIN;coverMaskColor=c.createColorRgba(255,255,255,.5);coverMaskBlur=10;coverTitle=new A;coverDescription=new A;enabledEnterVrButton=!1;enterVrButtonType=Hs.PLAY;enterButtonBackgroundColor=c.createColorRgba(64,158,255,1);enterButtonForegroundColor=c.createColorRgba(255,255,255,1);enterButtonShadowColor=c.createColorRgba(64,158,255,1);textButtonContent=ks("Enter");constructor(){this.coverBackgroundColor=c.createColorRgba(0,0,0,1),this.coverBackgroundType=xs.IMAGE,this.coverContentFitType=Fs.CONTAIN,this.coverMaskColor=c.createColorRgba(0,0,0,.5),this.coverMaskBlur=10,this.enabledEnterVrButton=!1,this.enterVrButtonType=Hs.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=ks("Enter")}}class Ws{vrInitCompleteActionList=[];vrInitLocalVariableList=[];arInitCompleteActionList=[];arInitLocalVariableList=[];allInitCompleteActionList=[];allInitLocalVariableList=[];variablePreFillEnabled=!1;variablePreFillList=[];enterVrButtonTitle=new A;description=new A}class Ys{variableKey="";defaultValue=new A;title=new A;hint=new A;required=!0}class Ks{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 qs{static LEFT="left";static CENTER="center";static RIGHT="right"}class zs{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class js{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class $s{static SOLID="solid";static GRADIENT="gradient";static STRIPED="striped";static STRIPED_ANIMATED="striped-animated";static GLOW="glow"}class Qs{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class Zs{static LEFT="left";static RIGHT="right";static TOP="top"}class en{static BELOW="below";static CORNER="corner"}class tn extends T{type=Ks.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 an extends tn{type=Ks.IMAGE;imageSrc="";imageMode=Js.FILL}class sn extends tn{type=Ks.TEXT;width=150;height=30;positionX=0;positionY=0;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=zs.MIDDLE;textAlign=qs.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class nn extends tn{type=Ks.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=$s.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=js.HORIZONTAL;progress="50"}class rn extends tn{type=Ks.VIDEO;width=240;height=135;backgroundColor="rgba(0,0,0,1)";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=Qs.COVER}class on extends tn{type=Ks.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=Zs.LEFT;iconSize=18}class cn extends tn{type=Ks.VARIABLE_CONTROL;width=200;height=60;bound=new Os}class ln 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=en.CORNER;badgeBgColor="rgba(255,77,79,1)";badgeTextColor="rgba(255,255,255,1)";componentList=[]}const dn="#262626";class _n{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 mn(){const e=new _n;return e.background=c.createColorRgba(0,0,0,.5),e}function En(e,t){if(e&&e.rootStyleOverrideEnabled){const t=e.rootStyle||mn();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 ys;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 pn(e,t){const a=e&&e.style||new _n;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 Tn{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 gn{static IMAGE="image";static VIDEO="video"}class An extends T{mediaType=gn.IMAGE;url="";poster="";caption=new A;aspectRatio=0;buttonList=[]}class Cn{static FLOATING="floating";static PUSHED="pushed"}class un{static ELLIPSIS="ellipsis";static WRAP="wrap"}class On extends T{nodeType=Tn.TEXT_ITEM;name="";color=dn;backgroundColor="";styleOverrideEnabled=!1;style=new _n;visible=!0;requireXrReady=!0}class Sn extends On{title=new A;icon=new L;titleOverflowMode=un.ELLIPSIS}class In extends Sn{constructor(){super(),this.nodeType=Tn.TEXT_ITEM}actionList=[]}class Ln extends Sn{constructor(){super(),this.nodeType=Tn.MEDIA_CAROUSEL_ITEM}description=new A;mediaList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Mn.COVER}class Nn{url="";actionList=[]}class yn extends Sn{constructor(){super(),this.nodeType=Tn.IMAGE_ITEM}description=new A;imageList=[];autoplay=!0;intervalMs=3e3;height=0;objectFit=Mn.COVER}class Rn{url="";caption=new A;actionList=[];aspectRatio=0}class Pn{static LEFT="left";static FILL="fill";static CENTER="center";static STRETCH="stretch"}class Mn{static COVER="cover";static CONTAIN="contain";static FILL="fill"}class bn extends Sn{constructor(){super(),this.nodeType=Tn.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=Mn.COVER;lastRowMode=Pn.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class hn extends Sn{constructor(){super(),this.nodeType=Tn.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=Mn.COVER;lastRowMode=Pn.LEFT;enableLightbox=!0;lightboxEnableSwitch=!0;lightboxOverlayBackground="rgba(0, 0, 0, 0.85)";showCaption=!0}class Dn{minWidth=0;columns=2}class fn extends Sn{constructor(){super(),this.nodeType=Tn.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 wn extends Sn{constructor(){super(),this.nodeType=Tn.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 vn{url="";poster=""}class Vn extends Sn{constructor(){super(),this.nodeType=Tn.VIDEO_ITEM}description=new A;videoList=[];autoplay=!1;muted=!0;loop=!1;height=0;objectFit=Mn.CONTAIN}class kn extends Sn{constructor(){super(),this.nodeType=Tn.WEBVIEW_ITEM}url="";height=240;allowFullscreen=!1}class Un extends Sn{constructor(){super(),this.nodeType=Tn.GROUP}children=[];defaultExpanded=!0}function Bn(){return{type:"doc",content:[]}}class Gn extends On{constructor(){super(),this.nodeType=Tn.RICH_TEXT_ITEM}content={type:"doc",content:[]}}class xn extends Sn{constructor(){super(),this.nodeType=Tn.CANVAS_ITEM}designWidth=380;height=240;canvasBackgroundColor="rgba(0, 0, 0, 0.5)";componentList=[]}class Fn{drawerTitle=new A;drawerTitleColor="";drawerDescription=new A;drawerDescriptionColor="";rootStyleOverrideEnabled=!1;rootStyle=mn();nodeList=[];pcLayoutMode=Cn.FLOATING;backgroundColor="";backgroundBlur=0;edgeGap=0;pcWidth=380;openedByDefault=!1}class Hn{static IMAGE="image";static TEXT="text";static PROGRESS_BAR="progress-bar";static VIDEO="video";static BUTTON="button";static VARIABLE_CONTROL="variable-control"}class Xn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static SCALE_DOWN="scale-down";static NONE="none"}class Wn{static LEFT="left";static CENTER="center";static RIGHT="right"}class Yn{static TOP="top";static MIDDLE="middle";static BOTTOM="bottom"}class Kn{static HORIZONTAL="horizontal";static VERTICAL="vertical"}class Jn{static CONTAIN="contain";static COVER="cover";static FILL="fill";static NONE="none"}class qn{static LEFT="left";static RIGHT="right";static TOP="top"}class zn extends T{type=Hn.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 jn extends zn{type=Hn.IMAGE;imageSrc="";imageMode=Xn.FILL}class $n extends zn{type=Hn.TEXT;width=150;height=30;textContent=new A;textColor="rgba(255,255,255,1)";textSize=16;textVerticalAlign=Yn.MIDDLE;textAlign=Wn.CENTER;textBold=!1;textItalic=!1;textUnderline=!1}class Qn extends zn{type=Hn.PROGRESS_BAR;width=160;height=14;radius=999;progressBarStyle=$s.SOLID;progressBarColor="#1677ff";progressBarColorEnd="#69b1ff";progressBarTrackColor="rgba(0,0,0,0.08)";progressRange="100";progressBarDirection=Kn.HORIZONTAL;progress="50"}class Zn extends zn{type=Hn.VIDEO;width=240;height=135;backgroundColor="#000000";videoSrc="";poster="";autoplay=!1;muted=!0;loop=!1;controls=!0;objectFit=Jn.COVER}class er extends zn{type=Hn.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=Wn.CENTER;textBold=!1;textItalic=!1;textUnderline=!1;icon=new L;iconPosition=qn.LEFT;iconSize=18}class tr extends zn{type=Hn.VARIABLE_CONTROL;width=200;height=60;bound=new Os}class ar{static buildVrContentData(e,t,a,s){const n=new Ar(e,t);return n.vrCoverSettings.coverTitle.original_content=a,n.vrCoverSettings.coverImageSrc=s,n}}class sr{isDirectToInside=!1;firstSweepPose=new o;enterFovImageSrc="";enterParams=""}class nr{min=new a(0,0,0);max=new a(0,0,0);size=new a(0,0,0)}class rr{title="";description=""}class or{mapCode="";isSingleFrame=!1;frameCount=5;frameInterval=800;enableBlurCheck=!0;confidenceThreshold=.5;backgroundCorrectionInterval=30}class ir{nearDistanceMax=35;refreshMoveThreshold=5;componentRevealIntervalMs=80}class cr{enabled=!0;blurVarThreshold=8;darkLumaThreshold=40;textureThreshold=4;maxCaptureRetries=15;blockedHintAfter=3}class lr{enabled=!1;holdSeconds=15}class dr{capture="multi";poseGatePitchAbsDeg=45;poseGateStableSec=1;multiFrameCount=3;multiFrameIntervalMs=500;autoRetryOnFailure=!0;retryDelaySec=2;guidedCaptureEnabled=!1;guidedCaptureAskUser=!1;guidedCaptureCount=6}class _r{enabled=!0;intervalSec=30}class mr{enabled=!0;distanceMeters=3;idleTimeoutSec=60}class Er{minScore=0;factor=1;constructor(e=0,t=1){this.minScore=e,this.factor=t}}class pr{enabled=!0;scoreTiers=[new Er(.9,2),new Er(.7,1),new Er(.45,.5),new Er(0,.25)];driftWarnMeters=.5;driftForceMeters=1.5;limitedAction="relocate_boost"}class Tr{enabled=!0;capture="single";multiFrameCount=3;multiFrameIntervalMs=500;timerTrigger=new _r;distanceTrigger=new mr;dynamic=new pr;maxConsecutiveFailures=5;adaptiveAssistEnabled=!0;adaptiveAssistRadius=3;adaptiveAssistRadiusInitial=5;adaptiveAssistSettleSec=15;adaptiveAssistMaxAgeSec=30;smoothCorrection=!0;smoothDurationSec=.4;debugToastEnabled=!1}class gr{apiKey="";apiBaseUrl="";requestTimeoutSec=120;retrieval="netvlad";retrievalK=20;regionRetrievalK=20;failThreshold=.2;highThreshold=.7;firstLocalizeDelaySec=1.5;jpegQuality=75;maxUploadEdge=1280;quality=new cr;abnormalHandheld=new lr;initial=new dr;correction=new Tr;schemaVersion=2}class Ar{version;vrDataKey="";mpModelId="";vrUnicode="";supportedLanguages=[g.EN,g.JP];vrCoverSettings=new Xs;vrPlayerUiSettings=new hs;hamburgerMenu=new Fn;vrInfoTemplateSettings=new Ds;arMultisetSettings=new or;arCommonSettings=new ir;arPositionXSettings=new gr;vrRenderSettings=new ws;vrColorSpaceSettings=new vs;cameraEnterSettings=new sr;sweepMarkerList=[];componentMarkerList=[];worldSizeInfo=new nr;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 Ws;vrAiSettings=new Ls;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 Cr extends T{name="";sequence=0;originalFloorPlanImageSrc="";mapSettings=new ur}class ur{floorId="";mapImageSrc="";widthScale=1;heightScale=1;horizontalOffset=0;verticalOffset=0;rotation=0}class Or{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 Sr{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 Ir={[Sr.COMPONENT_TAG]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_TEXT]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_ADVERTISEMENT]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_VIDEO]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE,Or.PLAY_START,Or.PLAY_FINISH],[Sr.COMPONENT_2D_IMAGE]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_2D_PANEL]:[Or.PANEL_BUTTON_CLICK,Or.PANEL_ANSWER_CORRECT,Or.PANEL_ANSWER_WRONG,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE],[Sr.COMPONENT_3D_BOX]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE],[Sr.COMPONENT_3D_MODEL]:[Or.CLICK,Or.COMPONENT_CREATED,Or.COMPONENT_SHOW,Or.COMPONENT_HIDE,Or.MOUSE_ENTER,Or.MOUSE_LEAVE,Or.PLAY_START,Or.PLAY_FINISH],[Sr.LOGIC_VARIABLE]:[Or.VARIABLE_MODIFIED],[Sr.LOGIC_CONDITION_WATCHER]:[Or.CONDITION_WATCHER_TRIGGERED],[Sr.SPACE_FENCE]:[Or.ENTER,Or.LEAVE],[Sr.SPACE_FENCE_GROUP]:[Or.ENTER,Or.LEAVE],[Sr.MONITOR_COMPONENT]:[Or.MONITOR_COMPONENT_CLICK],[Sr.STICKER]:[Or.STICKER_ACTIVATED,Or.STICKER_DEACTIVATED],[Sr.BROADCAST]:[Or.BROADCAST_CHANNEL_MESSAGE],[Sr.SYSTEM]:[Or.VR_STARTED,Or.ALL_COMPONENTS_CREATED]};class Lr{source=Sr.COMPONENT_TAG;sourceId="";type=Or.ENTER;editorParams={}}class Nr extends T{createSourceType=Sr.COMPONENT_2D_IMAGE;createSourceId="";name="";signal=new Lr;actionList=[];triggerTimesLimit=-1;localVariableList=[];constructor(){super()}}class yr{static DRAFT="draft";static PUBLISHED="published"}class Rr{id="";name="";description="";keywords=[];status=yr.DRAFT;startStepId="";stepList=[];canvasData="";flagImageSrc="";flagImageSize=new s(1,1);flowScopeVariableList=[]}class Pr{static START="start";static FINISH="finish";static GENERAL="general";static CONDITION="condition";static GLOBAL_BROADCAST_LISTENER="global_broadcast_listener"}class Mr{static NORMAL="normal";static BUTTONS_ONLY="buttons_only";static NONE="none"}class br{id="";type=Pr.GENERAL;name="";title=new A;description=new A;showArriveDescription=!1;arriveDescription=new A;note="";flagImageSrc="";flagImageSize=new s(1,1);iconSrc="";stepBarStyle=Mr.NORMAL;showStepBarDelay=0;buttonList=[];enterActionList=[];positionSettings=new fr;arriveRadius=5;arriveActionList=[];triggerList=[];finishInjectTriggerList=[];startCardNextStepEndpointSettings=new vr;conditionExpression="";conditionTrueEndpointSettings=new vr;conditionFalseEndpointSettings=new vr;enterActionCompleteEndpointSettings=new vr;arriveActionCompleteEndpointSettings=new vr;stepScopeVariableList=[];broadcastListenerEntryList=[];overrideAppearance=!1;appearanceOverride=new H}class hr{actionList=[];onlyFirstArrive=!1;action}class Dr{static NONE="none";static SWEEP="sweep";static COMPONENT="component";static FOV_LINK="fov_link";static VR_FOV="vr_fov"}class fr{type=Dr.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 wr{destroyTriggerOnLeaveCurrenStep=!0;trigger=new Nr;nextStepEndpointSettings=new vr}class vr{id="";enabled=!1;nextStepId="";lineColor=c.createColorByStr("#888888")}class Vr{id="";channelId="";actionList=[];nextStepEndpointSettings=new vr}class kr extends T{name="";description="";isAvailableForAi=!0;src="";showInContentMenu=!0;cameraMode=n.INSIDE;cameraPose=new i;aiGenerateIntroduceUserPrompt=""}class Ur extends T{name="";description="";keywords=[];visible=!0;children=[]}class Br extends T{type;color=c.createColorRgb(255,255,255);enabled=!0;name="";intensity=1;floorIdList=[]}class Gr extends Br{type="ambient"}class xr extends Br{type="directional";position=new a(0,1,0);target=new a(0,0,0)}class Fr extends Br{type="point";position=new a(0,1,0);distance=0;decay=1}class Hr{static COMPONENT_MARKER="component_marker";static SWEEP_MARKER="sweep_marker"}class Xr extends T{name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);type=Hr.COMPONENT_MARKER}class Wr{id="";name="";description="";keywords=[];color=c.createColorRgba(0,0,0,1);markerType=Hr.COMPONENT_MARKER;markers=[]}class Yr{static M="m";static CM="cm";static MM="mm"}class Kr{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=Yr.M;areaUnit=Kr.M2}class qr{id="";position=new a(0,0,0);normal=new a(0,0,0);distance=0}class zr 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 jr 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 $r extends T{name="";enabled=!0;description=""}class Qr extends T{dataKey="";position=new a(0,0,0);rotation=new a(0,0,0);noteDataKey="";noteType="";noteIssueState=""}class Zr{key="";placement="left"}function eo(e,t){const a=new Zr;return a.key=e,a.placement=t,a}const to=[eo("fov","capsule"),eo("d3","capsule"),eo("floorplan","capsule"),eo("floor","left"),eo("flow","left"),eo("measure","left"),eo("mute","right"),eo("share","more"),eo("account","more")],ao=[eo("minimap","surface"),eo("monitors","surface"),eo("fullscreen","surface"),eo("audio","hidden"),eo("hamburger","surface")],so=[eo("flow","left"),eo("measure","left"),eo("graffiti","left"),eo("ai","left"),eo("mute","right"),eo("share","more"),eo("account","more")],no=[eo("monitors","surface"),eo("audio","surface")],ro=to.map((e=>e.key)),oo=ao.map((e=>e.key)),io=so.map((e=>e.key)),co=no.map((e=>e.key));function lo(e,t){const a=t.find((t=>t.key===e));return a?a.placement:"left"}class _o 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 mo extends T{name="";description="";cubeFaceColor=c.createColorRgba(255,255,0,.3)}class Eo{static DISTANCE="distance";static VISIBLE="visible";static VISIBLE_AND_DISTANCE="visible_and_distance"}class po 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=Eo.VISIBLE_AND_DISTANCE;activateDistance=5;activeNeedStaySeconds=0;inactiveNeedStaySeconds=0;bestViewingSweepId="";bestViewingRotation=new s(0,0);bestViewingMode=""}class To extends T{no=1;name="";description="";isAvailableForAi=!0;isVirtual=!1;alignmentType=go.ALIGNED;enabled=!0;disabledInMatterport=!1;floorId="";neighbors=[];placementType=Ao.AUTO;position=new a(0,0,0);rotation=new a(0,0,0);pointerPosition=new a(0,0,0);markerList=[];keywords=[];panoramaData=new Oo;contentCardList=[]}class go{static ALIGNED="aligned";static UNALIGNED="unaligned"}class Ao{static AUTO="auto";static MANUAL="manual";static UNPLACED="unplaced"}class Co{static IMAGE="image";static VIDEO="video"}class uo{static NONE="none";static SAME_TO_INSIDE="same_to_inside"}class Oo{default="original";sourceList=[];ballExternalViewMode=uo.NONE}class So{id="";type=Co.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 Io{primaryColor=new d;secondaryColor=new d;maskColor=new d;barMaskColor=new d}class Lo 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 No 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 yo extends T{name="";description="";type=Ro.BASIC;bindLayerIdList=[]}class Ro{static GENERAL="general";static BASIC="basic"}class Po 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 Mo extends T{name="";enabled=!0;description=""}class bo 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 ho extends T{name="";enabled=!0;description="";useNavigationAdConfigId=""}class Do extends T{name="";remark="";autoExecuteOnBoot=!1;executeCount=0;actionList=[];interval=1e3;localVariableList=[]}class fo extends T{name="";remark="";payloadFieldList=[];constructor(){super()}}class wo{componentId="";description=""}class vo{targetId="";description=""}class Vo{variableKey="";description=""}class ko{stickerId="";canBeActivated=!0;description=""}class Uo{spaceFenceId="";canBeActivated=!0;description=""}class Bo{spaceFenceGroupId="";canBeActivated=!0;description=""}class Go{backgroundThreadId="";description=""}class xo{cameraDollyPathId="";description=""}class Fo{abilityId="";description=""}class Ho{contentCardId="";description=""}class Xo{vrFovId="";description=""}class Wo{cloudFormDataKey="";description="";autoPromptToFill=!1}class Yo{knowledgeBaseDataKey="";description=""}class Ko{analyticsEventDataKey="";description=""}class Jo{messageCardId="";description=""}class qo{monitorId="";description=""}class zo{rolePrompt="";tonePrompt="";taskPrompt="";abilityPrompt="";limitPrompt="";behaviorRulePrompt=""}class jo{reasoning_effort;temperature;max_output_tokens}class $o extends T{name="";description="";promptContent=""}class Qo extends T{name="";description="";wakePrompt=""}class Zo extends T{name="";autoActivate=!1;enableVoiceOutput=!1;voiceOutputComponentId="";enableVoiceInput=!1;remark="";roleName="";avatarSrc="";rolePromptSettings=new zo;skillPromptList=[];wakePromptList=[];toolSettings={};modelDataKey="";contextTokens=0;params=new jo;useComponentList=[];useTargetList=[];useVariableList=[];useStickerList=[];useSpaceFenceList=[];useSpaceFenceGroupList=[];useBackgroundThreadList=[];useCameraDollyPathList=[];useAbilityList=[];useKnowledgeBaseList=[];useFovList=[];useContentCardList=[];useCloudFormList=[];useAnalyticsEventList=[];useMessageCardList=[];useMonitorList=[]}const ei=[{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:"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 ti(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 ai(e,t){if(!ti(e,t))return!1;const a=e&&e.toolSettings;return!(a&&!1===a[t.key])}class si{sweepId="";needCustomRotation=!1;customRotationX=0;customRotationY=0;moveTime=1e3;stayTime=500}class ni 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 ri extends T{name="";remark=""}class oi extends T{abilityGroupId="";autoExecuteOnBoot=!1;name="";remark="";description="";contextVariableList=[];activeActionList=[];activeActionListLocalVariableList=[];keeping=!1;triggerList=[];stopActionList=[];stopActionListLocalVariableList=[]}class ii extends ae{type=j.TYPE_2D_ADVERTISEMENT;adChannelId=""}class ci extends ae{type=j.TYPE_2D_IMAGE;sourceList=[];autoChangeInterval=0;currentImageIndex=0}class li{id="";src="";name="";description="";aspectRatio=1;chromaKeySettings=new _}class di{static MENU="menu";static ANSWERING="answering";static VARIABLE_MODIFIER="variable-modifier"}class _i extends ae{type=j.TYPE_2D_PANEL;sceneDataList=[];defaultSceneId=""}class mi{id="";mode=di.MENU;name="";description="";buttonDataList=[];textDataList=[];imageDataList=[];answeringModeSettings=new Ei;variableModifierModeSettings=new pi;enumModifierModeSettings;style=new Ii;snapshotImageSrc=""}class Ei{confirmButton=new Oi;correctButtonIdList=[]}class pi{variableKey="";variableType}class Ti{static TEXT="text";static IMAGE="image";static BUTTON="button"}class gi{id="";name="";type=Ti.TEXT;style=new Li}class Ai{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 Ci extends gi{type=Ti.IMAGE;src="";imageMode="fill"}class ui extends gi{type=Ti.TEXT;richText=""}class Oi extends gi{type=Ti.BUTTON;name="";optionValue="";optionLabel=new A;enumOptionValue;enabled=!0;buttonType=Ai.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 Si{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 Ii extends Si{paddingX=10;paddingY=10}class Li extends Si{x=0;y=0;zIndex=10}class Ni{static LEFT="left";static CENTER="center";static RIGHT="right"}class yi{static TOP="top";static CENTER="center";static BOTTOM="bottom"}class Ri{static BASIC="basic";static MARQUEE="marquee"}class Pi extends ae{type=j.TYPE_2D_TEXT;sourceList=[];mode=Ri.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 bi;marqueeModeSettings=new hi}class Mi{id="";textContent=ks("2D Text");description=""}class bi{changeInterval=0}class hi{autoChange=!0;speed=50;interval=1;width=15}class Di 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 fi{id="";videoSrc="";name="";description="";coverSrc="";aspectRatio=1;duration=0;chromaKeySettings=new _;playbackRate=1}class wi 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 vi 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 Vi{id="";name="";alias="";duration=0}class ki{id="";animationId="";name="";description="";speed=1;timeRange=[0,1];loop=!1;stayAtLastFrame=!1}class Ui{static NONE="none";static TOP="top";static BOTTOM="bottom"}class Bi 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=Ui.NONE;tipTextContent=new A;tipTextColor=c.createColorRgba(255,255,255,1);tipTextBackgroundColor=c.createColorRgba(0,0,0,.4);tipTextFontSize=18;tipTextNonPerspective=!1}class Gi{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 Fi{static UNINITIALIZED="uninitialized";static WAITING="waiting";static LOADING="loading";static STARTING="starting";static PLAYING="playing";static ERROR="error"}class Hi{status=Fi.UNINITIALIZED;progress=0;get statusNum(){return xi[this.status]}}class Xi{type="";data={};constructor(e,t){this.type=e,this.data=t}}class Wi{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 Yi{onStart(e){kc.registerCommandListener(Wi.PLAYER_START,(t=>{e(t.data.vrContentData,t.data.isForceIgnoreEnterBtn)}))}onModeUpdate(e){kc.registerCommandListener(Wi.PLAYER_MODE_UPDATE,(t=>{e(t.data)}))}onXrPreparePreview(e){kc.registerCommandListener(Wi.PLAYER_XR_PREPARE_PREVIEW,(t=>{e(!!t.data)}))}onPrepareSettingsUpdate(e){kc.registerCommandListener(Wi.PLAYER_PREPARE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Ki{onCoverSettingsUpdate(e){kc.registerCommandListener(Wi.COVER_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class Ji{onUiSettingsUpdate(e){kc.registerCommandListener(Wi.UI_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class qi{onInfoTemplateSettingsUpdate(e){kc.registerCommandListener(Wi.INFO_TEMPLATE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class zi{onContentCardUpdate(e){kc.registerCommandListener(Wi.INFORMATION_CONTENT_CARD_UPDATE,(t=>{e(t.data)}))}onContentCardDelete(e){kc.registerCommandListener(Wi.INFORMATION_CONTENT_CARD_DELETE,(t=>{e(t.data)}))}}class ji{onCreate(e){kc.registerCommandListener(Wi.COMPONENT_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.COMPONENT_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.COMPONENT_DELETE,(t=>{e(t.data)}))}onFollowMouse(e){kc.registerCommandListener(Wi.COMPONENT_FOLLOW_MOUSE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.COMPONENT_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.componentId)}))}onPlayTransitionAnimation(e){kc.registerCommandListener(Wi.COMPONENT_PLAY_TRANSITION_ANIMATION,(t=>{e(t.data.componentId,t.data.animationId)}))}onStopTransitionAnimation(e){kc.registerCommandListener(Wi.COMPONENT_STOP_TRANSITION_ANIMATION,(t=>{e(t.data.componentId)}))}on3dModelPlayAnimationClip(e){kc.registerCommandListener(Wi.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId,t.data.animationClipId)}))}on3dModelStopAnimationClip(e){kc.registerCommandListener(Wi.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,(t=>{e(t.data.modelComponentId)}))}on2dTextAutoFit(e){kc.registerCommandListener(Wi.COMPONENT_2D_TEXT_AUTO_FIT,(t=>{e(t.data)}))}}class $i{onEnterFovShotMode(e){kc.registerCommandListener(Wi.FOV_ENTER_SHOT_MODE,(t=>{e(t.data)}))}onExitFovShotMode(e){kc.registerCommandListener(Wi.FOV_EXIT_SHOT_MODE,(t=>{e()}))}onUpdate(e){kc.registerCommandListener(Wi.FOV_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.FOV_DELETE,(t=>{e(t.data)}))}}class Qi{onUpdate(e){kc.registerCommandListener(Wi.LAYER_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.LAYER_DELETE,(t=>{e(t.data.layerId,t.data.deleteComponents)}))}onVisible(e){kc.registerCommandListener(Wi.LAYER_VISIBLE,(t=>{e(t.data.layerId,t.data.visible)}))}}class Zi{onCreate(e){kc.registerCommandListener(Wi.LIGHT_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.LIGHT_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.LIGHT_DELETE,(t=>{e(t.data)}))}}class ec{onCreate(e){kc.registerCommandListener(Wi.TRIMMER_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.TRIMMER_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.TRIMMER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.TRIMMER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.trimmerId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.TRIMMER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class tc{onCreate(e){kc.registerCommandListener(Wi.STICKER_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.STICKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.STICKER_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.STICKER_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.stickerId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.STICKER_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class ac{onUpdate(e){kc.registerCommandListener(Wi.FLOOR_UPDATE,(t=>{e(t.data)}))}}class sc{onMoveTo(e){kc.registerCommandListener(Wi.CAMERA_MOVE_TO,(t=>{e(t.data.transition,t.data.cameraPose)}))}onMoveToInside(e){kc.registerCommandListener(Wi.CAMERA_MOVE_TO_INSIDE,(t=>{e(t.data.transition,t.data.transitionTime,t.data.cameraPose)}))}onMoveToVrFov(e){kc.registerCommandListener(Wi.CAMERA_MOVE_TO_VR_FOV,(t=>{e(t.data.transition,t.data.transitionTime,t.data.fovId)}))}onMoveToNearComponent(e){kc.registerCommandListener(Wi.CAMERA_MOVE_TO_NEAR_COMPONENT,(t=>{e(t.data.transition,t.data.transitionTime,t.data.componentId)}))}onMoveToWatchPosition(e){kc.registerCommandListener(Wi.CAMERA_MOVE_TO_WATCH_POSITION,(t=>{e(t.data.transition,t.data.transitionTime,t.data.position)}))}onRequestDeeplinkParams(e){kc.registerCommandListener(Wi.CAMERA_REQUEST_DEEPLINK_PARAMS,(()=>{e()}))}}class nc{onTakeScreen(e){kc.registerCommandListener(Wi.RENDERER_TAKE_SCREENSHOT,(t=>{e(t.data.resolution,t.data.visibility)}))}onGetPanoramaImage(e){kc.registerCommandListener(Wi.RENDERER_GET_PANORAMA_IMAGE,(()=>{e()}))}onSettingsUpdate(e){kc.registerCommandListener(Wi.RENDERER_SETTINGS_UPDATE,(t=>{e(t.data)}))}onColorSpaceSettingsUpdate(e){kc.registerCommandListener(Wi.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,(t=>{e(t.data)}))}}class rc{onMarkerUpdate(e){kc.registerCommandListener(Wi.MARKER_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.MARKER_DELETE,(t=>{e(t.data)}))}}class oc{onNavigationRequest(e){kc.registerCommandListener(Wi.NAVIGATION_REQUEST,(t=>{e(t.data)}))}onNavigationStart(e){kc.registerCommandListener(Wi.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationCancel(e){kc.registerCommandListener(Wi.NAVIGATION_CANCEL,(t=>{e()}))}}class ic{onCreate(e){kc.registerCommandListener(Wi.OBSTACLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.OBSTACLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.OBSTACLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.obstacleId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.OBSTACLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){kc.registerCommandListener(Wi.OBSTACLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class cc{onAudioListUpdate(e){kc.registerCommandListener(Wi.AUDIO_LIST_UPDATE,(t=>{e(t.data)}))}onAudioListDelete(e){kc.registerCommandListener(Wi.AUDIO_LIST_DELETE,(t=>{e(t.data)}))}onAudioUpdate(e){kc.registerCommandListener(Wi.AUDIO_UPDATE,(t=>{e(t.data)}))}onAudioDelete(e){kc.registerCommandListener(Wi.AUDIO_DELETE,(t=>{e(t.data)}))}onAudioCenterPlayerShowPlayControlUpdate(e){kc.registerCommandListener(Wi.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerShowVolumeControlUpdate(e){kc.registerCommandListener(Wi.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,(t=>{e(t.data)}))}onAudioCenterPlayerVolumeUpdate(e){kc.registerCommandListener(Wi.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,(t=>{e(t.data)}))}}class lc{onCreate(e){kc.registerCommandListener(Wi.ASSET_LABEL_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.ASSET_LABEL_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.ASSET_LABEL_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.assetLabelId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.ASSET_LABEL_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}}class dc{onCreate(e){kc.registerCommandListener(Wi.TARGET_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.TARGET_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.TARGET_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.TARGET_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.targetId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.TARGET_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){kc.registerCommandListener(Wi.TARGET_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class _c{onCreate(e){kc.registerCommandListener(Wi.WORMHOLE_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.WORMHOLE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.WORMHOLE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.wormholeId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.WORMHOLE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){kc.registerCommandListener(Wi.WORMHOLE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}}class mc{onCreate(e){kc.registerCommandListener(Wi.SPACE_FENCE_CREATE,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onDelete(e){kc.registerCommandListener(Wi.SPACE_FENCE_DELETE,(t=>{e(t.data)}))}onControllerModify(e){kc.registerCommandListener(Wi.SPACE_FENCE_CONTROLLER_MODIFY,(t=>{e(t.data.controllerType,t.data.spaceFenceId)}))}onEditingStateUpdate(e){kc.registerCommandListener(Wi.SPACE_FENCE_EDITING_STATE_UPDATE,(t=>{e(t.data)}))}onGroupVisibleUpdate(e){kc.registerCommandListener(Wi.SPACE_FENCE_GROUP_VISIBLE_UPDATE,(t=>{e(t.data.groupId,t.data.visible)}))}onGroupColorUpdate(e){kc.registerCommandListener(Wi.SPACE_FENCE_GROUP_COLOR_UPDATE,(t=>{e(t.data.groupId,t.data.cubeFaceColor)}))}}class Ec{onMonitorListUpdate(e){kc.registerCommandListener(Wi.MONITOR_LIST_UPDATE,(t=>{e(t.data)}))}}class pc{onMessageCardPreview(e){kc.registerCommandListener(Wi.MESSAGE_CARD_PREVIEW,(t=>{e(t.data)}))}}class Tc{onCaptureDestination(e){kc.registerCommandListener(Wi.DOLLY_PATH_CAPTURE_DESTINATION,(t=>{e()}))}onPreview(e){kc.registerCommandListener(Wi.DOLLY_PATH_PREVIEW,(t=>{e(t.data)}))}onStopPreview(e){kc.registerCommandListener(Wi.DOLLY_PATH_STOP_PREVIEW,(t=>{e()}))}}class gc{onHamburgerMenuUpdate(e){kc.registerCommandListener(Wi.HAMBURGER_MENU_UPDATE,(t=>{e(t.data)}))}}class Ac{type="";data={};constructor(e,t){this.type=e,this.data=t}}class Cc{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 uc{sendCameraPoseUpdate(e){window.parent.postMessage(new Ac(Cc.CAMERA_POSE_UPDATE,e),"*")}sendDeeplinkParamsReady(e){window.parent.postMessage(new Ac(Cc.CAMERA_DEEPLINK_PARAMS_READY,e),"*")}}class Oc{sendUpdate(e,t="default"){window.parent.postMessage(new Ac(Cc.COMPONENT_UPDATE,{componentData:JSON.parse(JSON.stringify(e)),source:t}),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.COMPONENT_ON_CLICK,e),"*")}sendTransitionAnimationFinished(e,t){window.parent.postMessage(new Ac(Cc.COMPONENT_TRANSITION_ANIMATION_FINISHED,{componentId:e,animationId:t}),"*")}}class Sc{sendShotResult(e){window.parent.postMessage(new Ac(Cc.FOV_SHOT_RESULT,JSON.parse(JSON.stringify(e))),"*")}}class Ic{sendImportFromMatterport(e){window.parent.postMessage(new Ac(Cc.FLOOR_IMPORT_FROM_MATTERPORT,e),"*")}sendEnter(e){window.parent.postMessage(new Ac(Cc.FLOOR_ENTER,e),"*")}sendLeave(e){window.parent.postMessage(new Ac(Cc.FLOOR_LEAVE,e),"*")}}class Lc{sendReady(){window.parent.postMessage(new Ac(Cc.PLAYER_READY,{}),"*")}sendStatusUpdate(e){window.parent.postMessage(new Ac(Cc.PLAYER_STATUS_UPDATE,e),"*")}}class Nc{sendImportFromMatterport(e){window.parent.postMessage(new Ac(Cc.SWEEP_IMPORT_FROM_MATTERPORT,e),"*")}sendSyncMatterportEnabledState(e){window.parent.postMessage(new Ac(Cc.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,e),"*")}sendRequestModifyEnabled(e,t){window.parent.postMessage(new Ac(Cc.SWEEP_REQUEST_MODIFY_ENABLED,{sweepId:e,enabled:t}),"*")}}class yc{sendScreenshotReady(e){window.parent.postMessage(new Ac(Cc.RENDERER_SCREENSHOT_READY,e),"*")}sendPanoramaImageReady(e){window.parent.postMessage(new Ac(Cc.RENDERER_PANORAMA_IMAGE_READY,e),"*")}sendWorldSizeReady(e){window.parent.postMessage(new Ac(Cc.RENDERER_WORLD_SIZE_READY,JSON.parse(JSON.stringify(e))),"*")}}class Rc{sendNavigationResultReady(e){window.parent.postMessage(new Ac(Cc.NAVIGATION_RESULT_READY,JSON.parse(JSON.stringify(e))),"*")}sendNavigationStart(e){window.parent.postMessage(new Ac(Cc.NAVIGATION_START,JSON.parse(JSON.stringify(e))),"*")}sendNavigationEnd(e){window.parent.postMessage(new Ac(Cc.NAVIGATION_END,JSON.parse(JSON.stringify(e))),"*")}sendNavigationCancel(e){window.parent.postMessage(new Ac(Cc.NAVIGATION_CANCEL,JSON.parse(JSON.stringify(e))),"*")}}class Pc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.OBSTACLE_ON_CLICK,e),"*")}}class Mc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.TRIMMER_ON_CLICK,e),"*")}}class bc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.STICKER_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.STICKER_ON_CLICK,e),"*")}}class hc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.ASSET_LABEL_ON_CLICK,e),"*")}}class Dc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.TARGET_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.TARGET_ON_CLICK,e),"*")}}class fc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.WORMHOLE_ON_CLICK,e),"*")}}class wc{sendUpdate(e){window.parent.postMessage(new Ac(Cc.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))),"*")}sendOnClick(e){window.parent.postMessage(new Ac(Cc.SPACE_FENCE_ON_CLICK,e),"*")}}class vc{sendDestinationCaptured(e){window.parent.postMessage(new Ac(Cc.DOLLY_PATH_DESTINATION_CAPTURED,JSON.parse(JSON.stringify(e))),"*")}}class Vc{onUpdateAll(e){kc.registerCommandListener(Wi.SWEEP_UPDATE_ALL,(t=>{e(t.data)}))}onUpdate(e){kc.registerCommandListener(Wi.SWEEP_UPDATE,(t=>{e(t.data)}))}onDeleteVirtual(e){kc.registerCommandListener(Wi.SWEEP_DELETE_VIRTUAL,(t=>{e(t.data)}))}onUpdateRenderFlagVisible(e){kc.registerCommandListener(Wi.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,(t=>{e(t.data)}))}}class kc{static commandListenerPool=new Map;static commandPlayer=new Yi;static commandCover=new Ki;static commandUi=new Ji;static commandInfoTemplate=new qi;static commandInformation=new zi;static commandComponent=new ji;static commandFov=new $i;static commandLayer=new Qi;static commandLight=new Zi;static commandTrimmer=new ec;static commandSticker=new tc;static commandSweep=new Vc;static commandFloor=new ac;static commandCamera=new sc;static commandRenderer=new nc;static commandMarker=new rc;static commandNavigation=new oc;static commandObstacle=new ic;static commandAudio=new cc;static commandAssetLabel=new lc;static commandTarget=new dc;static commandWormhole=new _c;static commandSpaceFence=new mc;static commandMonitor=new Ec;static commandMessageCard=new pc;static commandDollyPath=new Tc;static commandHamburgerMenu=new gc;static messageCamera=new uc;static messageComponent=new Oc;static messageFov=new Sc;static messageFloor=new Ic;static messagePlayer=new Lc;static messageSweep=new Nc;static messageRenderer=new yc;static messageNavigation=new Rc;static messageObstacle=new Pc;static messageTrimmer=new Mc;static messageSticker=new bc;static messageAssetLabel=new hc;static messageTarget=new Dc;static messageWormhole=new fc;static messageSpaceFence=new wc;static messageDollyPath=new vc;static registerCommandListener(e,t){kc.commandListenerPool.has(e)||kc.commandListenerPool.set(e,[]),kc.commandListenerPool.get(e).push(t)}static unRegisterCommandListener(e,t){if(!kc.commandListenerPool.has(e))return;const a=kc.commandListenerPool.get(e).indexOf(t);a>=0&&kc.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;kc.commandListenerPool.has(t.type)&&kc.commandListenerPool.get(t.type).forEach((e=>{e(t)}))}}))}}class Uc{player;constructor(e){this.player=e}onReady(e){this.player.registerMessageListener(Cc.PLAYER_READY,(t=>{e()}))}onStatusUpdate(e){this.player.registerMessageListener(Cc.PLAYER_STATUS_UPDATE,(t=>{e(t.data)}))}}class Bc{player;constructor(e){this.player=e}sendStart(e,t){this.player.sendCommand(new Xi(Wi.PLAYER_START,JSON.parse(JSON.stringify({vrContentData:e,isForceIgnoreEnterBtn:t}))))}sendModeUpdate(e){this.player.sendCommand(new Xi(Wi.PLAYER_MODE_UPDATE,e))}sendXrPreparePreview(e){this.player.sendCommand(new Xi(Wi.PLAYER_XR_PREPARE_PREVIEW,e))}sendPrepareSettingsUpdate(e){this.player.sendCommand(new Xi(Wi.PLAYER_PREPARE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Gc{player;constructor(e){this.player=e}sendCoverSettingsUpdate(e){this.player.sendCommand(new Xi(Wi.COVER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class xc{player;constructor(e){this.player=e}sendUiSettingsUpdate(e){this.player.sendCommand(new Xi(Wi.UI_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Fc{player;constructor(e){this.player=e}sendInfoTemplateSettingsUpdate(e){this.player.sendCommand(new Xi(Wi.INFO_TEMPLATE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class Hc{player;constructor(e){this.player=e}sendUpdateContentCard(e){this.player.sendCommand(new Xi(Wi.INFORMATION_CONTENT_CARD_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteContentCard(e){this.player.sendCommand(new Xi(Wi.INFORMATION_CONTENT_CARD_DELETE,e))}}class Xc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.COMPONENT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.COMPONENT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.COMPONENT_DELETE,e))}sendFollowMouse(e){this.player.sendCommand(new Xi(Wi.COMPONENT_FOLLOW_MOUSE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.COMPONENT_CONTROLLER_MODIFY,{componentId:t,controllerType:e}))}sendPlayTransitionAnimation(e,t){this.player.sendCommand(new Xi(Wi.COMPONENT_PLAY_TRANSITION_ANIMATION,{componentId:e,animationId:t}))}sendStopTransitionAnimation(e){this.player.sendCommand(new Xi(Wi.COMPONENT_STOP_TRANSITION_ANIMATION,{componentId:e}))}send3dModelPlayAnimationClip(e,t){this.player.sendCommand(new Xi(Wi.COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP,{modelComponentId:e,animationClipId:t}))}send3dModelStopAnimationClip(e){this.player.sendCommand(new Xi(Wi.COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP,{modelComponentId:e}))}send2dTextAutoFit(e){this.player.sendCommand(new Xi(Wi.COMPONENT_2D_TEXT_AUTO_FIT,e))}}class Wc{player;constructor(e){this.player=e}enterFovShotMode(e){this.player.sendCommand(new Xi(Wi.FOV_ENTER_SHOT_MODE,JSON.parse(JSON.stringify(e))))}exitFovShotMode(){this.player.sendCommand(new Xi(Wi.FOV_EXIT_SHOT_MODE,{}))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.FOV_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.FOV_DELETE,e))}}class Yc{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new Xi(Wi.LAYER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e,t){this.player.sendCommand(new Xi(Wi.LAYER_DELETE,{layerId:e,deleteComponents:t}))}sendVisible(e,t){this.player.sendCommand(new Xi(Wi.LAYER_VISIBLE,{layerId:e,visible:t}))}}class Kc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.LIGHT_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.LIGHT_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.LIGHT_DELETE,e))}}class Jc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.TRIMMER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.TRIMMER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.TRIMMER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.TRIMMER_CONTROLLER_MODIFY,{controllerType:e,trimmerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.TRIMMER_EDITING_STATE_UPDATE,e))}}class qc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.STICKER_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.STICKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.STICKER_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.STICKER_CONTROLLER_MODIFY,{controllerType:e,stickerId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.STICKER_EDITING_STATE_UPDATE,e))}}class zc{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.ASSET_LABEL_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.ASSET_LABEL_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.ASSET_LABEL_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.ASSET_LABEL_CONTROLLER_MODIFY,{controllerType:e,assetLabelId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.ASSET_LABEL_EDITING_STATE_UPDATE,e))}}class jc{player;constructor(e){this.player=e}sendUpdateAll(e){this.player.sendCommand(new Xi(Wi.SWEEP_UPDATE_ALL,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.SWEEP_UPDATE,JSON.parse(JSON.stringify(e))))}sendDeleteVirtual(e){this.player.sendCommand(new Xi(Wi.SWEEP_DELETE_VIRTUAL,e))}sendUpdateRenderFlagVisible(e){this.player.sendCommand(new Xi(Wi.SWEEP_UPDATE_RENDER_FLAG_VISIBLE,e))}}class $c{player;constructor(e){this.player=e}sendUpdate(e){this.player.sendCommand(new Xi(Wi.FLOOR_UPDATE,JSON.parse(JSON.stringify(e))))}}class Qc{player;constructor(e){this.player=e}sendMoveTo(e,t){this.player.sendCommand(new Xi(Wi.CAMERA_MOVE_TO,JSON.parse(JSON.stringify({transition:e,cameraMode:t}))))}sendMoveToInside(e,t,a){this.player.sendCommand(new Xi(Wi.CAMERA_MOVE_TO_INSIDE,JSON.parse(JSON.stringify({transition:e,transitionTime:t,cameraPose:a}))))}sendMoveToVrFov(e,t,a){this.player.sendCommand(new Xi(Wi.CAMERA_MOVE_TO_VR_FOV,JSON.parse(JSON.stringify({transition:e,transitionTime:t,fovId:a}))))}sendMoveToNearComponent(e,t,a){this.player.sendCommand(new Xi(Wi.CAMERA_MOVE_TO_NEAR_COMPONENT,JSON.parse(JSON.stringify({transition:e,transitionTime:t,componentId:a}))))}sendMoveToWatchPosition(e,t,a){this.player.sendCommand(new Xi(Wi.CAMERA_MOVE_TO_WATCH_POSITION,JSON.parse(JSON.stringify({transition:e,transitionTime:t,position:a}))))}sendRequestDeeplinkParams(){this.player.sendCommand(new Xi(Wi.CAMERA_REQUEST_DEEPLINK_PARAMS,{}))}}class Zc{player;constructor(e){this.player=e}sendTakeScreenshot(e,t){this.player.sendCommand(new Xi(Wi.RENDERER_TAKE_SCREENSHOT,{resolution:e,visibility:t}))}sendGetPanoramaImage(){this.player.sendCommand(new Xi(Wi.RENDERER_GET_PANORAMA_IMAGE,{}))}sendSettingsUpdate(e){this.player.sendCommand(new Xi(Wi.RENDERER_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}sendColorSpaceSettingsUpdate(e){this.player.sendCommand(new Xi(Wi.RENDERER_COLOR_SPACE_SETTINGS_UPDATE,JSON.parse(JSON.stringify(e))))}}class el{player;constructor(e){this.player=e}sendMarkerUpdate(e){this.player.sendCommand(new Xi(Wi.MARKER_UPDATE,JSON.parse(JSON.stringify(e))))}sendMarkerDelete(e){this.player.sendCommand(new Xi(Wi.MARKER_DELETE,e))}}class tl{player;constructor(e){this.player=e}sendNavigationRequest(e){this.player.sendCommand(new Xi(Wi.NAVIGATION_REQUEST,JSON.parse(JSON.stringify(e))))}sendNavigationStart(e){this.player.sendCommand(new Xi(Wi.NAVIGATION_START,JSON.parse(JSON.stringify(e))))}sendNavigationCancel(){this.player.sendCommand(new Xi(Wi.NAVIGATION_CANCEL,{}))}}class al{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.OBSTACLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.OBSTACLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.OBSTACLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.OBSTACLE_CONTROLLER_MODIFY,{controllerType:e,obstacleId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.OBSTACLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Xi(Wi.OBSTACLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class sl{player;constructor(e){this.player=e}sendAudioListUpdate(e){this.player.sendCommand(new Xi(Wi.AUDIO_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioListDelete(e){this.player.sendCommand(new Xi(Wi.AUDIO_LIST_DELETE,{audioListId:e}))}sendAudioUpdate(e){this.player.sendCommand(new Xi(Wi.AUDIO_UPDATE,JSON.parse(JSON.stringify(e))))}sendAudioDelete(e,t){this.player.sendCommand(new Xi(Wi.AUDIO_DELETE,{audioListId:e,audioId:t}))}sendAudioCenterPlayerShowPlayControlUpdate(e){this.player.sendCommand(new Xi(Wi.AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerShowMuteControlUpdate(e){this.player.sendCommand(new Xi(Wi.AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE,{show:e}))}sendAudioCenterPlayerVolumeUpdate(e){this.player.sendCommand(new Xi(Wi.AUDIO_CENTER_PLAYER_VOLUME_UPDATE,{volume:e}))}}class nl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.TARGET_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.TARGET_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.TARGET_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.TARGET_CONTROLLER_MODIFY,{controllerType:e,targetId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.TARGET_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Xi(Wi.TARGET_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class rl{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.WORMHOLE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.WORMHOLE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.WORMHOLE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.WORMHOLE_CONTROLLER_MODIFY,{controllerType:e,wormholeId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.WORMHOLE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Xi(Wi.WORMHOLE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}}class ol{player;constructor(e){this.player=e}sendCreate(e){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_CREATE,JSON.parse(JSON.stringify(e))))}sendUpdate(e){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_UPDATE,JSON.parse(JSON.stringify(e))))}sendDelete(e){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_DELETE,e))}sendControllerModify(e,t){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_CONTROLLER_MODIFY,{controllerType:e,spaceFenceId:t}))}sendEditingStateUpdate(e){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_EDITING_STATE_UPDATE,e))}sendGroupVisibleUpdate(e,t){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_GROUP_VISIBLE_UPDATE,{groupId:e,visible:t}))}sendGroupColorUpdate(e,t){this.player.sendCommand(new Xi(Wi.SPACE_FENCE_GROUP_COLOR_UPDATE,{groupId:e,cubeFaceColor:JSON.parse(JSON.stringify(t))}))}}class il{player;constructor(e){this.player=e}sendMonitorListUpdate(e){this.player.sendCommand(new Xi(Wi.MONITOR_LIST_UPDATE,JSON.parse(JSON.stringify(e))))}}class cl{player;constructor(e){this.player=e}sendPreview(e,t){this.player.sendCommand(new Xi(Wi.MESSAGE_CARD_PREVIEW,{card:e?JSON.parse(JSON.stringify(e)):null,show:t}))}}class ll{player;constructor(e){this.player=e}captureDestination(){this.player.sendCommand(new Xi(Wi.DOLLY_PATH_CAPTURE_DESTINATION,{}))}preview(e){this.player.sendCommand(new Xi(Wi.DOLLY_PATH_PREVIEW,JSON.parse(JSON.stringify(e))))}stopPreview(){this.player.sendCommand(new Xi(Wi.DOLLY_PATH_STOP_PREVIEW,{}))}}class dl{player;constructor(e){this.player=e}sendHamburgerMenuUpdate(e){this.player.sendCommand(new Xi(Wi.HAMBURGER_MENU_UPDATE,JSON.parse(JSON.stringify(e))))}}class _l{player;constructor(e){this.player=e}onCameraPoseUpdate(e){this.player.registerMessageListener(Cc.CAMERA_POSE_UPDATE,(t=>{e(t.data)}))}onDeeplinkParamsReady(e){this.player.registerMessageListener(Cc.CAMERA_DEEPLINK_PARAMS_READY,(t=>{e(t.data)}))}}class ml{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.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(Cc.COMPONENT_ON_CLICK,(t=>{e(t.data)}))}onTransitionAnimationFinished(e){this.player.registerMessageListener(Cc.COMPONENT_TRANSITION_ANIMATION_FINISHED,(t=>{e(t.data.componentId,t.data.animationId)}))}}class El{player;constructor(e){this.player=e}onShotResult(e){this.player.registerMessageListener(Cc.FOV_SHOT_RESULT,(t=>{e(t.data)}))}}class pl{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(Cc.FLOOR_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onEnterFloor(e){this.player.registerMessageListener(Cc.FLOOR_ENTER,(t=>{e(t.data)}))}onLeaveFloor(e){this.player.registerMessageListener(Cc.FLOOR_LEAVE,(t=>{e(t.data)}))}}class Tl{player;constructor(e){this.player=e}onImportFromMatterport(e){this.player.registerMessageListener(Cc.SWEEP_IMPORT_FROM_MATTERPORT,(t=>{e(t.data)}))}onSyncMatterportEnabledState(e){this.player.registerMessageListener(Cc.SWEEP_SYNC_MATTERPORT_ENABLED_STATE,(t=>{e(t.data)}))}onRequestModifyEnabled(e){this.player.registerMessageListener(Cc.SWEEP_REQUEST_MODIFY_ENABLED,(t=>{e(t.data.sweepId,t.data.enabled)}))}}class gl{player;constructor(e){this.player=e}onScreenshotReady(e){this.player.registerMessageListener(Cc.RENDERER_SCREENSHOT_READY,(t=>{e(t.data)}))}onPanoramaImageReady(e){this.player.registerMessageListener(Cc.RENDERER_PANORAMA_IMAGE_READY,(t=>{e(t.data)}))}onWorldSizeReady(e){this.player.registerMessageListener(Cc.RENDERER_WORLD_SIZE_READY,(t=>{e(t.data)}))}}class Al{player;constructor(e){this.player=e}onNavigationResultReady(e){this.player.registerMessageListener(Cc.NAVIGATION_RESULT_READY,(t=>{e(t.data)}))}onNavigationStart(e){this.player.registerMessageListener(Cc.NAVIGATION_START,(t=>{e(t.data)}))}onNavigationEnd(e){this.player.registerMessageListener(Cc.NAVIGATION_END,(t=>{e(t.data)}))}onNavigationCancel(e){this.player.registerMessageListener(Cc.NAVIGATION_CANCEL,(t=>{e(t.data)}))}}class Cl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.OBSTACLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.OBSTACLE_ON_CLICK,(t=>{e(t.data)}))}}class ul{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.TRIMMER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.TRIMMER_ON_CLICK,(t=>{e(t.data)}))}}class Ol{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.STICKER_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.STICKER_ON_CLICK,(t=>{e(t.data)}))}}class Sl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.ASSET_LABEL_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.ASSET_LABEL_ON_CLICK,(t=>{e(t.data)}))}}class Il{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.TARGET_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.TARGET_ON_CLICK,(t=>{e(t.data)}))}}class Ll{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.WORMHOLE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.WORMHOLE_ON_CLICK,(t=>{e(t.data)}))}}class Nl{player;constructor(e){this.player=e}onUpdate(e){this.player.registerMessageListener(Cc.SPACE_FENCE_UPDATE,(t=>{e(t.data)}))}onClick(e){this.player.registerMessageListener(Cc.SPACE_FENCE_ON_CLICK,(t=>{e(t.data)}))}}class yl{player;constructor(e){this.player=e}onDestinationCaptured(e){this.player.registerMessageListener(Cc.DOLLY_PATH_DESTINATION_CAPTURED,(t=>{e(t.data)}))}}class Rl{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 _l(this),this.messageComponent=new ml(this),this.messageFov=new El(this),this.messageFloor=new pl(this),this.messagePlayer=new Uc(this),this.messageSweep=new Tl(this),this.messageRenderer=new gl(this),this.messageNavigation=new Al(this),this.messageObstacle=new Cl(this),this.messageTrimmer=new ul(this),this.messageSticker=new Ol(this),this.messageAssetLabel=new Sl(this),this.messageTarget=new Il(this),this.messageWormhole=new Ll(this),this.messageSpaceFence=new Nl(this),this.messageDollyPath=new yl(this),this.commandPlayer=new Bc(this),this.commandCover=new Gc(this),this.commandUi=new xc(this),this.commandInfoTemplate=new Fc(this),this.commandInformation=new Hc(this),this.commandComponent=new Xc(this),this.commandFov=new Wc(this),this.commandLayer=new Yc(this),this.commandLight=new Kc(this),this.commandTrimmer=new Jc(this),this.commandSticker=new qc(this),this.commandAssetLabel=new zc(this),this.commandSweep=new jc(this),this.commandFloor=new $c(this),this.commandCamera=new Qc(this),this.commandRenderer=new Zc(this),this.commandMarker=new el(this),this.commandNavigation=new tl(this),this.commandObstacle=new al(this),this.commandAudio=new sl(this),this.commandTarget=new nl(this),this.commandWormhole=new rl(this),this.commandSpaceFence=new ol(this),this.commandMonitor=new il(this),this.commandMessageCard=new cl(this),this.commandDollyPath=new ll(this),this.commandHamburgerMenu=new dl(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 Pl(e){switch(e){case j.TYPE_2D_IMAGE:return Sr.COMPONENT_2D_IMAGE;case j.TYPE_2D_VIDEO:return Sr.COMPONENT_2D_VIDEO;case j.TYPE_2D_TEXT:return Sr.COMPONENT_2D_TEXT;case j.TYPE_2D_PANEL:return Sr.COMPONENT_2D_PANEL;case j.TYPE_2D_ADVERTISEMENT:return Sr.COMPONENT_2D_ADVERTISEMENT;case j.TYPE_3D_BOX:return Sr.COMPONENT_3D_BOX;case j.TYPE_3D_MODEL:return Sr.COMPONENT_3D_MODEL;case j.TYPE_TAG:return Sr.COMPONENT_TAG;default:return Sr.COMPONENT_2D_IMAGE}}function Ml(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 bl(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=Pl(s.type),n=s;if(Ml(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;Ml(e.triggerList,Sr.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;Ml(e.triggerList,Sr.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;Ml(e.triggerList,Sr.COMPONENT_2D_PANEL,s.id,t,a),e.triggerList=[]}}}if(Array.isArray(e.sweepList))for(const s of e.sweepList){const e=s;Ml(e.triggerList,"sweep",s.id,t,a),e.triggerList=[]}if(Array.isArray(e.vrFloorList))for(const s of e.vrFloorList){const e=s;Ml(e.triggerList,"floor",s.id,t,a),e.triggerList=[]}if(Array.isArray(e.xrVirtualFloorList))for(const s of e.xrVirtualFloorList){const e=s;Ml(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;Ml(e.triggerList,Sr.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;Ml(s.triggerList,Sr.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;Ml(e.triggerList,Sr.LOGIC_CONDITION_WATCHER,s.id,t,a),e.triggerList=[]}if(Array.isArray(e.spaceFenceList))for(const s of e.spaceFenceList){const e=s;Ml(e.triggerList,Sr.SPACE_FENCE,s.id,t,a),e.triggerList=[]}if(Array.isArray(e.spaceFenceGroupList))for(const s of e.spaceFenceGroupList){const e=s;Ml(e.triggerList,Sr.SPACE_FENCE_GROUP,s.id,t,a),e.triggerList=[]}a.length>0&&e.triggerList.push(...a)}function hl(e,t){const a=new Zr;return a.key=e,a.placement=t,a}function Dl(e){return e.map((e=>hl(e.key,e.placement)))}const fl=["left","right","capsule","more","hidden"];function wl(e,t){return fl.includes(e.placement)?hl(e.key,e.placement):hl(e.key,lo(e.key,t))}function vl(e){return hl(e.key,"hidden"===e.placement?"hidden":"surface")}function Vl(e){return e.vrMainBarItems&&e.vrMainBarItems.length>0?e.vrMainBarItems.map((e=>wl(e,to))):to.map((t=>hl(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":lo(e,to)}(t.key,e))))}function kl(e){return e.vrInfoBarItems&&e.vrInfoBarItems.length>0?e.vrInfoBarItems.map(vl):ao.map((t=>hl(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 Ul(e){return e.arBottomItems&&e.arBottomItems.length>0?e.arBottomItems.map((e=>wl(e,so))):Dl(so)}function Bl(e){return e.arInfoItems&&e.arInfoItems.length>0?e.arInfoItems.map(vl):Dl(no)}function Gl(e){e.vrMainBarItems&&0!==e.vrMainBarItems.length||(e.vrMainBarItems=Vl(e)),e.vrInfoBarItems&&0!==e.vrInfoBarItems.length||(e.vrInfoBarItems=kl(e)),e.arBottomItems&&0!==e.arBottomItems.length||(e.arBottomItems=Ul(e)),e.arInfoItems&&0!==e.arInfoItems.length||(e.arInfoItems=Bl(e))}function xl(e){if(!e)return;let t=e.vrPlayerUiSettings;t||(t=new hs,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),Gl(t)}function Fl(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,Hl),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 Hl(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 Xl="expression";function Wl(e){return e?.root?Yl(e.root):""}function Yl(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=Yl(e);return""===t?"false":`(${t})`}return function(e){if(e.funcName===Xl){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(Kl).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 Kl(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?zl("number"==typeof a?a:Number(a)||0):"boolean"===t?a?"true":"false":ql("string"==typeof a?a:String(a??""))}function Jl(e){return"number"===e.type?zl("number"==typeof e.value?e.value:Number(e.value)||0):"boolean"===e.type?e.value?"true":"false":ql("string"==typeof e.value?e.value:String(e.value??""))}function ql(e){return JSON.stringify(e)}function zl(e){return Number.isFinite(e)?String(e):"0"}function jl(e,t){const a={deps:[],hasCustomJs:!1};return e?.root?($l(e.root,t,a),a):a}function $l(e,t,a){for(const s of e.children||[])s&&(s.kind===Ze.GROUP?$l(s,t,a):Ql(s,t,a))}function Ql(e,t,a){if(e.funcName===Xl)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 Zl(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 ed="\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
|