(() => { const protocol = window.location.protocol || 'http:'; const host = window.location.hostname || '18.141.44.165'; window.JC_WEB_IM_CONFIG = { runtimeEnvironment: 'production', adminServer: `${protocol}//${host}:8100`, appServer: `${protocol}//${host}:8888`, qrAppServer: `${protocol}//${host}:8888`, platformConfigApi: '/api/platform_config.php', registerConfigApi: `${protocol}//${host}:8100/api/register-config`, registerPhoneExistsApi: `${protocol}//${host}:8100/api/register-phone-exists`, imServerHost: host, imRoutePort: 80, useWss: false, wsPath: '/ws', sdkMode: 'legacy-http', syncIntervalMs: 15000, sseEnabled: true, sseTicketApi: '/api/sse_ticket.php', sseUrl: '/ws-events' }; })();