bc61311ebc
Root cause: loadCalDAVAccounts and loadCardDAVAccounts were defined inside the render function but called from bindIcsEvents (outside render), causing ReferenceError when accessing Settings page. Changes: - Move loadCalDAVAccounts and loadCardDAVAccounts to top-level functions - Add user parameter to both functions (no longer in render scope) - Update all recursive calls to pass user parameter - Move initial load code from bindIcsEvents to render function Fixes the "loadCalDAVAccounts is not defined" error in v0.47.0. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>