2017-04-11 19:09:02 +03:00
|
|
|
/**
|
|
|
|
* This file includes polyfills needed by Angular and is loaded before the app.
|
|
|
|
* You can add your own extra polyfills to this file.
|
|
|
|
*
|
|
|
|
* This file is divided into 2 sections:
|
|
|
|
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
|
|
|
|
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
|
|
|
|
* file.
|
|
|
|
*
|
|
|
|
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
|
|
|
|
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
|
|
|
|
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
|
|
|
|
*
|
2019-07-02 16:18:09 +03:00
|
|
|
* Learn more in https://angular.io/guide/browser-support
|
2017-04-11 19:09:02 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/***************************************************************************************************
|
2019-07-02 16:18:09 +03:00
|
|
|
* BROWSER POLYFILLS
|
|
|
|
*/
|
2017-04-11 19:09:02 +03:00
|
|
|
|
|
|
|
|
|
|
|
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
|
2017-04-29 13:40:27 +03:00
|
|
|
import 'classlist.js'; // Run `npm install --save classlist.js`.
|
2017-04-11 19:09:02 +03:00
|
|
|
|
|
|
|
/** IE10 and IE11 requires the following to support `@angular/animation`. */
|
2017-04-29 13:40:27 +03:00
|
|
|
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
2017-04-11 19:09:02 +03:00
|
|
|
|
|
|
|
|
|
|
|
/** Evergreen browsers require these. **/
|
|
|
|
import 'core-js/es6/reflect';
|
|
|
|
import 'core-js/es7/reflect';
|
|
|
|
|
|
|
|
|
|
|
|
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
|
|
|
|
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
|
|
|
|
|
|
|
|
|
|
|
/***************************************************************************************************
|
|
|
|
* Zone JS is required by Angular itself.
|
|
|
|
*/
|
2021-06-27 21:06:28 +03:00
|
|
|
import 'zone.js'; // Included with Angular CLI.
|
2017-04-11 19:09:02 +03:00
|
|
|
|
|
|
|
|
|
|
|
/***************************************************************************************************
|
|
|
|
* APPLICATION IMPORTS
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Date, currency, decimal and percent pipes.
|
|
|
|
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
|
|
|
|
*/
|
2017-09-20 11:07:52 +03:00
|
|
|
import 'core-js/es7/array';
|
2018-03-02 14:17:14 +03:00
|
|
|
import 'core-js/es7/object';
|
2017-09-20 11:07:52 +03:00
|
|
|
|
|
|
|
if (typeof SVGElement.prototype.contains === 'undefined') {
|
|
|
|
SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
|
|
|
|
}
|