export function applyPolyfill(window, document) {/*! es6-promise - a tiny implementation of Promises/A+. Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) Licensed under MIT license See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE v4.2.4+314e4831 */ (window.ES6Promise=function(){function t(){var t=setTimeout;return function(){return t(r,1)}}function r(){for(var t=0;t