Chromecast global availability method `cast.available`

Fix for Chromecast availability in environments that report casting capability before view is ready. [Fixes #74735688]
mixing tabs and spaces