bebd612a8f
It's already too complex, and will get more complex in future, split it out. Update the code style. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1326>