// WASM SPA initialization script.
// Loaded as an external module to comply with Content Security Policy
// (script-src: 'self' 'wasm-unsafe-eval') without requiring 'unsafe-inline'.
//
// The import path is rewritten at runtime by the admin SPA HTML shell
// (see router.rs::admin_spa_html), so this file is a static template
// whose actual entry point URL is resolved via collectstatic manifests.
const scriptEl = document.;
const entryUrl = scriptEl?..;
if else