useComponentHideState
useComponentHideStatecan only be used inside widget components that have been registered with the player.
The player has built-in logic for the following behavior: click the player to hide all Widgets; click again to show all Widgets; or hide all Widgets after a period of inactivity.
This hook is used to determine whether a Widget on the current screen should be displayed. true means it should be shown, and false means it should be hidden.