A general functional version of Gr\"unbaum's inequality | Synapse