Text this: Resilience phenotypes derived from an active inference account of allostasis