euv_example/state/
const.rs1pub const ROUTE_OVERVIEW: &str = "/";
3pub const ROUTE_MARKDOWN: &str = "/markdown";
5pub const ROUTE_REACTIVE: &str = "/reactive";
7pub const ROUTE_RENDER: &str = "/render";
9pub const ROUTE_WINDOW: &str = "/window";
11pub const ROUTE_FORMS: &str = "/forms";
13pub const ROUTE_THEMES: &str = "/themes";
15pub const ROUTE_DATA: &str = "/data";
17pub const ROUTE_GAME: &str = "/game";
19pub const ROUTE_GAME_3D: &str = "/game3d";
21pub const ROUTE_WATER: &str = "/water";
23pub const ROUTE_MEDIA: &str = "/media";
25pub const ROUTE_LAB: &str = "/lab";
27pub const ROUTE_CONTROLS: &str = "/controls";
29pub const ROUTE_DISPLAY: &str = "/display";
31pub const ROUTE_MERMAID: &str = "/mermaid";
33pub const ROUTE_SYSTEM: &str = "/system";
35pub const ROUTE_AUTOMATION: &str = "/automation";
37pub const ROUTE_OVERLAYS: &str = "/overlays";
39pub const ROUTE_DYNAMIC: &str = "/dynamic";
41pub const ROUTE_DYNAMIC_PANEL: &str = "/dynamic/panel";
43pub const ROUTE_PROMO_LIVE: &str = "/promo-live";
45pub const SLOT_PROMO_BANNER: &str = "promo_banner";
47pub const SLOT_METRICS_WIDGET: &str = "metrics_widget";
49pub const SLOT_WASM_WIDGET: &str = "wasm_live_widget";
51pub const TITLE_WASM_PARTIAL_V1: &str = "Downloaded Partial WASM Widget v1";
53pub const WASM_SHOWCASE_SIGNING_KEY: &str = "euv-prod-signing-key-2026";
55pub const URL_WASM_PARTIAL_V1: &str = "euv-cdn://bundles/partial-widget-v1.wasm";
57pub const URL_WASM_PARTIAL_V2: &str = "euv-cdn://bundles/partial-widget-v2.wasm";
59pub const URL_WASM_GLOBAL_V1: &str = "euv-cdn://bundles/global-app-v1.wasm";
61pub const URL_WASM_GLOBAL_V2: &str = "euv-cdn://bundles/global-app-v2.wasm";
63pub const URL_WASM_TIMEOUT_RETRY: &str = "euv-cdn://faults/timeout-retry.wasm";
65pub const URL_WASM_HTTP_500: &str = "euv-cdn://faults/http-500.wasm";
67pub const URL_WASM_CORRUPTED: &str = "euv-cdn://faults/corrupted.wasm";
69pub const URL_WASM_TAMPERED: &str = "euv-cdn://faults/tampered.wasm";
71pub const URL_WASM_BAD_ABI: &str = "euv-cdn://faults/bad-abi.wasm";
73pub const URL_WASM_MISSING_EXPORT: &str = "euv-cdn://faults/missing-export.wasm";
75pub const URL_WASM_FUEL_BOMB: &str = "euv-cdn://faults/fuel-bomb.wasm";
77pub const URL_WASM_TRAP: &str = "euv-cdn://faults/trap.wasm";
79pub const URL_WASM_OVERSIZED: &str = "euv-cdn://faults/oversized.wasm";
81pub const SHOWCASE_BRAND: &str = "Euv Studio";
83
84pub(crate) const SHOWCASE_BUNDLE_ID: &str = "vip.ltpp.euv.showcase";
85pub(crate) const STATUS_RESTORED_NATIVE_SHELL: &str = "Restored built-in native dashboard shell";
86pub(crate) const NAV_SEC_START: &str = "START";
87pub(crate) const NAV_SEC_COMPONENTS: &str = "UI COMPONENTS";
88pub(crate) const NAV_SEC_CONTENT: &str = "RICH CONTENT";
89pub(crate) const NAV_SEC_PLATFORM: &str = "CORE & PLATFORM";
90pub(crate) const NAV_SEC_ENGINES: &str = "ENGINES & STRESS";
91pub(crate) const NAV_SEC_RUNTIME: &str = "LIVE ROUTES";
92pub(crate) const NAV_LABEL_OVERVIEW: &str = "Overview";
93pub(crate) const NAV_LABEL_THEMES: &str = "Themes (17)";
94pub(crate) const NAV_LABEL_FORMS: &str = "Forms & Inputs";
95pub(crate) const NAV_LABEL_CONTROLS: &str = "Buttons & Navigation";
96pub(crate) const NAV_LABEL_DATA: &str = "Tables & Data";
97pub(crate) const NAV_LABEL_DISPLAY: &str = "Cards & Display";
98pub(crate) const NAV_LABEL_OVERLAYS: &str = "Overlays & Modals";
99pub(crate) const NAV_LABEL_LAB: &str = "Architecture & Cases";
100pub(crate) const NAV_LABEL_MARKDOWN: &str = "Markdown & Code";
101pub(crate) const NAV_LABEL_MERMAID: &str = "Mermaid Diagrams";
102pub(crate) const NAV_LABEL_CHARTS: &str = "ECharts Studio";
103pub(crate) const NAV_LABEL_MEDIA: &str = "Media Studio";
104pub(crate) const NAV_LABEL_REACTIVE: &str = "Reactivity & Macros";
105pub(crate) const NAV_LABEL_RENDER: &str = "Rendering & GPU";
106pub(crate) const NAV_LABEL_WINDOW: &str = "Window & Hardware";
107pub(crate) const NAV_LABEL_SYSTEM: &str = "System Events";
108pub(crate) const NAV_LABEL_DYNAMIC: &str = "Dynamic OTA";
109pub(crate) const NAV_LABEL_AUTOMATION: &str = "AI & Automation";
110pub(crate) const NAV_LABEL_GAME: &str = "2D Game Engine";
111pub(crate) const NAV_LABEL_GAME_3D: &str = "3D Engine (RT)";
112pub(crate) const NAV_LABEL_WATER: &str = "Gyro Liquid Water";
113pub(crate) const NAV_TITLE_HOME: &str = "Home";
114pub(crate) const NAV_TITLE_THEMES: &str = "Themes";
115pub(crate) const NAV_TITLE_FORMS: &str = "Forms";
116pub(crate) const NAV_TITLE_CONTROLS: &str = "Controls";
117pub(crate) const NAV_TITLE_DATA: &str = "Data";
118pub(crate) const NAV_TITLE_DISPLAY: &str = "Display";
119pub(crate) const NAV_TITLE_OVERLAYS: &str = "Overlays";
120pub(crate) const NAV_TITLE_LAB: &str = "Cases";
121pub(crate) const NAV_TITLE_MARKDOWN: &str = "Markdown";
122pub(crate) const NAV_TITLE_MERMAID: &str = "Mermaid";
123pub(crate) const NAV_TITLE_CHARTS: &str = "Charts";
124pub(crate) const NAV_TITLE_MEDIA: &str = "Media";
125pub(crate) const NAV_TITLE_REACTIVE: &str = "Reactive";
126pub(crate) const NAV_TITLE_RENDER: &str = "Render";
127pub(crate) const NAV_TITLE_WINDOW: &str = "Window";
128pub(crate) const NAV_TITLE_SYSTEM: &str = "System";
129pub(crate) const NAV_TITLE_DYNAMIC: &str = "Dynamic";
130pub(crate) const NAV_TITLE_AUTOMATION: &str = "Automation";
131pub(crate) const NAV_TITLE_GAME: &str = "Game";
132pub(crate) const NAV_TITLE_GAME_3D: &str = "3D RT";
133pub(crate) const NAV_TITLE_WATER: &str = "Water";
134pub(crate) const NAV_TITLE_STRESS: &str = "Stress";
135pub(crate) const WATER_PERM_DESKTOP_STATUS: &str =
136 "Desktop / Native: Hardware IMU auto-bridged ยท Virtual Tilt ready";
137#[cfg(target_arch = "wasm32")]
138pub(crate) const WATER_PERM_WEB_GRANTED: &str =
139 "Browser motion sensors enabled โ tilt or rotate device";
140#[cfg(target_arch = "wasm32")]
141pub(crate) const WATER_PERM_WEB_UNAVAILABLE: &str =
142 "Motion sensors unavailable in this browser โ using Virtual Tilt";
143pub(crate) const DEFAULT_USERNAME: &str = "euv-developer";
144pub(crate) const DEFAULT_TAG_RUST: &str = "Rust";
145pub(crate) const DEFAULT_TAG_NATIVE: &str = "Native";
146pub(crate) const DEFAULT_TAG_WASM: &str = "WASM";
147pub(crate) const GAME_HUD_CONTROLS_HINT: &str =
148 "WASD/Arrows Move | Space/Click Fire | E Dash | R Wave";
149pub(crate) const MEDIA_GIF_TITLE: &str = "Neon Pulse Loop";
150pub(crate) const MEDIA_VIDEO_TITLE: &str = "euv Engine HDR Showcase Reel";
151pub(crate) const MEDIA_VIDEO_CAPTIONS: [&str; 4] = [
152 "Cross-platform native raster + GPU hybrid pipeline.",
153 "Zero JavaScript WebAssembly bundle running at 60Hz.",
154 "Real-time BVH ray-traced shadows and reflections.",
155 "Immersive iOS, Android, HarmonyOS, macOS, Windows, and Linux.",
156];
157pub(crate) const SAMPLE_OBJ_MONUMENT: &str = "o CyberObelisk\nv -1.4 0.0 -1.4\nv 1.4 0.0 -1.4\nv 1.4 0.0 1.4\nv -1.4 0.0 1.4\nv 0.0 7.5 0.0\nf 1 2 5\nf 2 3 5\nf 3 4 5\nf 4 1 5\nf 1 4 3 2\n";
158pub(crate) const SAMPLE_GLTF_TOWER: &str = r#"{"asset":{"version":"2.0","generator":"euv-gltf-tower"},"materials":[{"pbrMetallicRoughness":{"baseColorFactor":[0.12,0.86,0.98,1.0],"metallicFactor":0.85,"roughnessFactor":0.12}}],"meshes":[{"name":"PrismBeacon","primitives":[{"extras":{"positions":[-1.2,0.0,-1.2,1.2,0.0,-1.2,1.2,0.0,1.2,-1.2,0.0,1.2,-0.8,5.8,-0.8,0.8,5.8,-0.8,0.8,5.8,0.8,-0.8,5.8,0.8],"indices":[0,1,5,0,5,4,1,2,6,1,6,5,2,3,7,2,7,6,3,0,4,3,4,7,4,5,6,4,6,7]}}]}]}"#;
159pub(crate) const DEFAULT_BIO_TEXT: &str = "Zero-WebView native Rust UI";
160pub(crate) const DEFAULT_CAMERA_PERM: &str = "NotDetermined";
161pub(crate) const DEFAULT_PROTOCOL_STATUS: &str = "Unregistered";
162pub(crate) const DEFAULT_ENGINE3D_STATUS: &str =
163 "Ready: Cinematic + RT Full GI active โ import .OBJ or .glTF live";
164pub(crate) const STATUS_ENGINE3D_LOADING: &str =
165 "Initializing Vice Boulevard 3D City & BVH (background worker)...";
166pub(crate) const DEFAULT_DYNAMIC_ACTION_LOG: &str = "None yet";
167pub(crate) const DEFAULT_OTP_CODE: &str = "202642";
168pub(crate) const DEFAULT_MEDIA_LINK_LOG: &str = "Click any native HTML link below";
169pub(crate) const DEFAULT_SYS_NOTIF_TITLE: &str = "Euv System Ready";
170pub(crate) const DEFAULT_SYS_NOTIF_BODY: &str =
171 "Native notification bus active across all 7 targets";
172pub(crate) const DEFAULT_INPUT_GROUP_VAL: &str = "showcase";
173pub(crate) const DEFAULT_WASM_STATUS: &str =
174 "Ready: test partial/global .wasm download, cache, retry, traps & rollback";
175pub(crate) const STATUS_WASM_LOADING: &str = "Preparing dynamic .wasm OTA bundles on worker...";
176pub(crate) const DEFAULT_LIFECYCLE_BOOT: &str = "Booting lazy Freeze router...";
177pub(crate) const DEFAULT_MD_COPY_LOG: &str = "Tap Copy on any Eva code block";
178pub(crate) const DEFAULT_MD_LINK_LOG: &str = "Tap any Markdown hyperlink below";
179pub(crate) const DEFAULT_SYS_EVENT_LOG: &str =
180 "Listening for normalized SystemEvent hooks (Appear / Disappear / Foreground / Background)";
181pub(crate) const HUD_3D_LOADING_TITLE: &str =
182 "Loading Vice Boulevard 3D City & BVH on background worker...";
183pub(crate) const WASM_TITLE_PARTIAL_V2: &str = "Hot-Swapped Partial WASM Widget v2";
184pub(crate) const WASM_TITLE_GLOBAL_V1: &str = "Global Dynamic WASM App Shell v1";
185pub(crate) const WASM_TITLE_GLOBAL_V2: &str = "Global Dynamic WASM App Shell v2";
186pub(crate) const WASM_ETAG_P1: &str = "etag-p-v1";
187pub(crate) const WASM_ETAG_P2: &str = "etag-p-v2";
188pub(crate) const WASM_ETAG_G1: &str = "etag-g-v1";
189pub(crate) const WASM_ETAG_G2: &str = "etag-g-v2";
190pub(crate) const WASM_ETAG_RETRY: &str = "etag-retry";
191pub(crate) const WASM_ETAG_500: &str = "etag-500";
192pub(crate) const WASM_ETAG_CORRUPT: &str = "etag-corrupt";
193pub(crate) const WASM_ETAG_TAMPER: &str = "etag-tamper";
194pub(crate) const WASM_ETAG_ABI: &str = "etag-abi";
195pub(crate) const WASM_ETAG_NOEXP: &str = "etag-noexp";
196pub(crate) const WASM_ETAG_FUEL: &str = "etag-fuel";
197pub(crate) const WASM_ETAG_TRAP: &str = "etag-trap";
198pub(crate) const WASM_ETAG_BIG: &str = "etag-big";