Elucidation of the regioselectivity in Diels–Alder reactions by means of theoretical approaches