mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Extract contracts, default settings, and helpers from `js/ui/profileModalController.js` to `js/ui/profileModalContract.js`. This reduces the file size of `js/ui/profileModalController.js` by 884 lines. - Moved `SERVICE_CONTRACT`, `STATE_CONTRACT` and their builders. - Moved internal settings helpers (`createInternalDefaultNwcSettings`, etc). - Moved badge helpers (`resolveProviderBadgeClass`). - Updated `scripts/check-file-size.mjs` with new line count. - Cleaned up imports in `profileModalController.js`. Co-authored-by: PR0M3TH3AN <[email protected]>