text: // Custom Event polyfill (usage: video-player)
  (function() {
      if (typeof window.CustomEvent === 'function') return false;
      function CustomEvent(event, params) {
          params = params || { bubbles: false, cancelable: false, detail: null };
          var evt = document.createEvent('CustomEvent');
          evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
          return evt;
      }
      window.CustomEvent = CustomEvent;
  })();
  
  // Closest polyfill (usage: navigation)
  import polyfill from 'element-closest';
  
  polyfill(window);
  
  // Focus within polyfill (usage: sub-navigation)
  import 'focus-within-polyfill';
  
  // core.js imports
  // IMPORTANT: Import only the necessary files due to the size of the app.js file
  import 'core-js/stable/array';
  import 'core-js/stable/dom-collections/for-each';
  import 'core-js/stable/object'
  import 'core-js/stable/promise';
  import 'core-js/stable/string';
  import 'core-js/stable/symbol';
  import 'regenerator-runtime/runtime';
  