I started getting the “Cannot read property ‘apiFetch’ of undefined at Object” after updating to 7.5.4. It turned out that api-fetch.min.js was being loaded after CF7’s scripts. Enqueuing wp-api-fetch earlier solved it.
Similar issue here: Cannot read property ‘body’ of undefined
Is it something with the window return type changing in each loop? I’m getting this error in Chrome and FF…I just checked it with IE and it works fine.