node_modules/@angular/elements/bundles/elements.umd.js
/**
     * Create a `CustomEvent` (even on browsers where `CustomEvent` is not a constructor).
     */
Create a `CustomEvent` (even on browsers where `CustomEvent` is not a constructor).
Create a ` CustomEvent ` ( even on browsers where ` CustomEvent ` is not a constructor ) .
function createCustomEvent(doc, name, detail) {
        var bubbles = false;
        var cancelable = false;
        if (typeof CustomEvent !== 'function') {
            var event_1 = doc.createEvent('CustomEvent');
            event_1.initCustomEvent(name, bubbles, cancelable, detail);
            return event_1;
        }
        return new CustomEvent(name, { bubbles: bubbles, cancelable: cancelable, detail: detail });
    }
function createCustomEvent ( doc , name , detail ) { var bubbles = false ; var cancelable = false ; if ( typeof CustomEvent !== 'function' ) { var event_1 = doc . createEvent ( 'CustomEvent' ) ; event_1 . initCustomEvent ( name , bubbles , cancelable , detail ) ; return event_1 ; } return new CustomEvent ( name , { bubbles : bubbles , cancelable : cancelable , detail : detail } ) ; }
Create a `CustomEvent` (even on browsers where `CustomEvent` is not a constructor).
Create a ` CustomEvent ` ( even on browsers where ` CustomEvent ` is not a constructor ) .
// On IE9-11, `CustomEvent` is not a constructor.