Holomorphic structure of massive scalar fields in (A)dS2 | Synapse