diff --git a/.gitignore b/.gitignore index 6455fc0..28e6bd8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ +.DS_Store .idea/ node_modules/ -dist/ -!example/ \ No newline at end of file +!example/ +updaters \ No newline at end of file diff --git a/README.md b/README.md index fb51d6d..d7ca368 100644 --- a/README.md +++ b/README.md @@ -1,91 +1,3 @@ -# Description +DEPRECATED ! Use [ack-angular-fx](https://www.npmjs.com/package/ack-angular-fx) -Angular2 animations, inspired by [Animate.css](https://daneden.github.io/animate.css). - -# Install - -```bash -npm install ng2-animate --save -``` - -# Usage - -## Entering and Leaving - -```javascript -import { animateFactory } from 'ng2-animate'; - -@Component({ - selector: 'app', - template: require('./app.html'), - animations: [animateFactory(1000, 200, 'ease-in')] -}) -export class AppComponent{ - show: boolean = true; - list: string[] = ['xxx', 'yyy']; - onAdd() { - this.list.push('zzz'); - } - onRemove(i) { - this.list.splice(i, 1); - } -} -``` - -```html -

fadeIn

- - - - - -``` - -## Replace With [hidden] - -```html -

Hello World

- -``` - -# Params - -```javascript -animateFactory(1000, 200, 'ease-in') -``` - -### duration - -the duration of the animation - -- type: string | number -- optional, default value is `500ms` - -### delay - -the delay of the animation - -- type: string | number -- optional, default value is `0` - -### easing - -the easing function of the animation - -- type: string -- optional, default value is `linear` - -# Support Animations - -see online demo https://yuyang041060120.github.io/ng2-animate - -> click the top title and every element. - -# License - -MIT +This pull request was never reviewed by the owner of ng2-animate so I was forced to release my code. \ No newline at end of file diff --git a/dist/animations/bounce.d.ts b/dist/animations/bounce.d.ts new file mode 100644 index 0000000..8e315a0 --- /dev/null +++ b/dist/animations/bounce.d.ts @@ -0,0 +1,2 @@ +import { AnimationMetadata } from '@angular/core'; +export declare const bounce: (timing: string, options: any) => AnimationMetadata[]; diff --git a/dist/animations/bounce.js b/dist/animations/bounce.js new file mode 100644 index 0000000..b65b1e0 --- /dev/null +++ b/dist/animations/bounce.js @@ -0,0 +1,107 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@angular/core"); +exports.bounce = function (timing, options) { + options = options || {}; + options.igniter = options.igniter || '*'; + function stylize(styleDef) { + return core_1.style(Object.assign(styleDef, options.whileStyle)); + } + return [ + core_1.state('bounceOut', core_1.style({ + display: 'none' + })), + core_1.state('bounceOutDown', core_1.style({ + display: 'none' + })), + core_1.state('bounceOutLeft', core_1.style({ + display: 'none' + })), + core_1.state('bounceOutRight', core_1.style({ + display: 'none' + })), + core_1.state('bounceOutUp', core_1.style({ + display: 'none' + })), + core_1.transition(options.igniter + " => bounceIn", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 0 }), + stylize({ transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2 }), + stylize({ transform: 'scale3d(.9, .9, .9)', offset: 0.4 }), + stylize({ transform: 'scale3d(1.03, 1.03, 1.03)', offset: 0.6 }), + stylize({ transform: 'scale3d(.97, .97, .97)', offset: 0.8 }), + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1 }) + ])) + ]), + core_1.transition("bounceIn => void, " + options.igniter + " => bounceOut", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'scale3d(.9, .9, .9)', offset: 0.2 }), + stylize({ opacity: 1, transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.5 }), + stylize({ opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 1 }), + ])) + ]), + core_1.transition(options.igniter + " => bounceInDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.6 }), + stylize({ transform: 'translate3d(0, -10px, 0)', offset: 0.75 }), + stylize({ transform: 'translate3d(0, 5px, 0)', offset: 0.9 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("bounceInDown => void, " + options.igniter + " => bounceOutDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, 10px, 0)', offset: 0.2 }), + stylize({ opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.5 }), + stylize({ opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => bounceInLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.6 }), + stylize({ transform: 'translate3d(-10px, 0, 0)', offset: 0.75 }), + stylize({ transform: 'translate3d(5px, 0, 0)', offset: 0.9 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("bounceInLeft => void, " + options.igniter + " => bounceOutRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.2 }), + stylize({ opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => bounceInRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.6 }), + stylize({ transform: 'translate3d(10px, 0, 0)', offset: 0.75 }), + stylize({ transform: 'translate3d(-5px, 0, 0)', offset: 0.9 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("bounceInRight => void, " + options.igniter + " => bounceOutLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.2 }), + stylize({ opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => bounceInUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.6 }), + stylize({ transform: 'translate3d(0, 10px, 0)', offset: 0.75 }), + stylize({ transform: 'translate3d(0, -5px, 0)', offset: 0.9 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("bounceInUp => void, " + options.igniter + " => bounceOutUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, -10px, 0)', offset: 0.2 }), + stylize({ opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.5 }), + stylize({ opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 1 }) + ])) + ]) + ]; +}; +//# sourceMappingURL=bounce.js.map \ No newline at end of file diff --git a/dist/animations/bounce.js.map b/dist/animations/bounce.js.map new file mode 100644 index 0000000..205e3c1 --- /dev/null +++ b/dist/animations/bounce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bounce.js","sourceRoot":"","sources":["../../src/animations/bounce.ts"],"names":[],"mappings":";;AAAA,sCAOuB;AAEV,QAAA,MAAM,GAAG,UAAC,MAAc,EAAE,OAAO;IAC5C,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IACvB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,GAAG,CAAA;IAExC,iBAAiB,QAAQ;QACvB,MAAM,CAAC,YAAK,CAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAE,CAAA;IAC7D,CAAC;IAED,MAAM,CAAC;QACL,YAAK,CAAC,WAAW,EAAE,YAAK,CAAC;YACvB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,eAAe,EAAE,YAAK,CAAC;YAC3B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,eAAe,EAAE,YAAK,CAAC;YAC3B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;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AAO,EAAE,CAAC,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,GAAG,EAAC,CAAC;gBACxE,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aAC1E,CAAC,CAAC;SACJ,CACF;KACF,CAAA;AAAA,CAAC,CAAC","sourcesContent":["import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const bounce = (timing: string, options): AnimationMetadata[] => {\n options = options || {}\n options.igniter = options.igniter || '*'\n\n function stylize(styleDef){\n return style( Object.assign(styleDef, options.whileStyle) )\n }\n\n return [\n state('bounceOut', style({\n display: 'none'\n })),\n state('bounceOutDown', style({\n display: 'none'\n })),\n state('bounceOutLeft', style({\n display: 'none'\n })),\n state('bounceOutRight', style({\n display: 'none'\n })),\n state('bounceOutUp', style({\n display: 'none'\n })),\n transition(`${options.igniter} => bounceIn`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 0}),\n stylize({transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2}),\n stylize({transform: 'scale3d(.9, .9, .9)', offset: 0.4}),\n stylize({transform: 'scale3d(1.03, 1.03, 1.03)', offset: 0.6}),\n stylize({transform: 'scale3d(.97, .97, .97)', offset: 0.8}),\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1})\n ]))\n ]),\n transition(`bounceIn => void, ${options.igniter} => bounceOut`, [\n animate(timing, keyframes([\n stylize({transform: 'scale3d(.9, .9, .9)', offset: 0.2}),\n stylize({opacity: 1, transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.5}),\n stylize({opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 1}),\n ]))\n ]),\n transition(`${options.igniter} => bounceInDown`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.6}),\n stylize({transform: 'translate3d(0, -10px, 0)', offset: 0.75}),\n stylize({transform: 'translate3d(0, 5px, 0)', offset: 0.9}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`bounceInDown => void, ${options.igniter} => bounceOutDown`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, 10px, 0)', offset: 0.2}),\n stylize({opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.5}),\n stylize({opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => bounceInLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.6}),\n stylize({transform: 'translate3d(-10px, 0, 0)', offset: 0.75}),\n stylize({transform: 'translate3d(5px, 0, 0)', offset: 0.9}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`bounceInLeft => void, ${options.igniter} => bounceOutRight`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.2}),\n stylize({opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => bounceInRight`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.6}),\n stylize({transform: 'translate3d(10px, 0, 0)', offset: 0.75}),\n stylize({transform: 'translate3d(-5px, 0, 0)', offset: 0.9}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`bounceInRight => void, ${options.igniter} => bounceOutLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.2}),\n stylize({opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => bounceInUp`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.6}),\n stylize({transform: 'translate3d(0, 10px, 0)', offset: 0.75}),\n stylize({transform: 'translate3d(0, -5px, 0)', offset: 0.9}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`bounceInUp => void, ${options.igniter} => bounceOutUp`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, -10px, 0)', offset: 0.2}),\n stylize({opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.5}),\n stylize({opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 1})\n ]))\n ]\n )\n]};"]} \ No newline at end of file diff --git a/dist/animations/fade.d.ts b/dist/animations/fade.d.ts new file mode 100644 index 0000000..8c16593 --- /dev/null +++ b/dist/animations/fade.d.ts @@ -0,0 +1,2 @@ +import { AnimationMetadata } from '@angular/core'; +export declare const fade: (timing: string, options: any) => AnimationMetadata[]; diff --git a/dist/animations/fade.js b/dist/animations/fade.js new file mode 100644 index 0000000..1c54713 --- /dev/null +++ b/dist/animations/fade.js @@ -0,0 +1,88 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@angular/core"); +exports.fade = function (timing, options) { + options = options || {}; + options.igniter = options.igniter || '*'; + function stylize(styleDef) { + return core_1.style(Object.assign(styleDef, options.whileStyle)); + } + return [ + core_1.state('fadeOut', core_1.style({ + display: 'none' + })), + core_1.state('fadeOutDown', core_1.style({ + display: 'none' + })), + core_1.state('fadeOutLeft', core_1.style({ + display: 'none' + })), + core_1.state('fadeOutRight', core_1.style({ + display: 'none' + })), + core_1.state('fadeOutUp', core_1.style({ + display: 'none' + })), + core_1.transition(options.igniter + " => fadeIn", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, offset: 0 }), + stylize({ opacity: 1, offset: 1 }) + ])) + ]), + core_1.transition("fadeIn => void, " + options.igniter + " => fadeOut", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, offset: 0 }), + stylize({ opacity: 0, offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => fadeInDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("fadeInDown => void, " + options.igniter + " => fadeOutDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => fadeInLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("fadeInLeft => void, " + options.igniter + " => fadeOutRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => fadeInRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("fadeInRight => void, " + options.igniter + " => fadeOutLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => fadeInUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("fadeInUp => void, " + options.igniter + " => fadeOutUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 1 }) + ])) + ]) + ]; +}; +//# sourceMappingURL=fade.js.map \ No newline at end of file diff --git a/dist/animations/fade.js.map b/dist/animations/fade.js.map new file mode 100644 index 0000000..920ff74 --- /dev/null +++ b/dist/animations/fade.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fade.js","sourceRoot":"","sources":["../../src/animations/fade.ts"],"names":[],"mappings":";;AAAA,sCAOuB;AAEV,QAAA,IAAI,GAAG,UAAC,MAAc,EAAE,OAAO;IAC1C,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IACvB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,GAAG,CAAA;IAExC,iBAAiB,QAAQ;QACvB,MAAM,CAAC,YAAK,CAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAE,CAAA;IAC7D,CAAC;IAED,MAAM,CAAC;QACL,YAAK,CAAC,SAAS,EAAE,YAAK,CAAC;YACrB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,aAAa,EAAE,YAAK,CAAC;YACzB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,aAAa,EAAE,YAAK,CAAC;YACzB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,cAAc,EAAE,YAAK,CAAC;YAC1B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,WAAW,EAAE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,CAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACnE,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACxE,CAAC,CAAC;SACJ,CAAC;QACF,iBAAU,CAAI,OAAO,CAAC,OAAO,iBAAc,EAAE;YAC3C,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACtE,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACpE,CAAC,CAAC;SACJ,CAAC;QACF,iBAAU,CAAC,uBAAqB,OAAO,CAAC,OAAO,kBAAe,EAAE;YAC9D,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACnE,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACxE,CAAC,CAAC;SACJ,CAAC;KACH,CAAC;AACJ,CAAC,CAAA","sourcesContent":["import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const fade = (timing: string, options): AnimationMetadata[] => {\n options = options || {}\n options.igniter = options.igniter || '*'\n\n function stylize(styleDef){\n return style( Object.assign(styleDef, options.whileStyle) )\n }\n\n return [\n state('fadeOut', style({\n display: 'none'\n })),\n state('fadeOutDown', style({\n display: 'none'\n })),\n state('fadeOutLeft', style({\n display: 'none'\n })),\n state('fadeOutRight', style({\n display: 'none'\n })),\n state('fadeOutUp', style({\n display: 'none'\n })),\n transition(`${options.igniter} => fadeIn`, [\n animate(timing, keyframes([\n stylize({opacity: 0, offset: 0}),\n stylize({opacity: 1, offset: 1})\n ]))\n ]),\n transition(`fadeIn => void, ${options.igniter} => fadeOut`, [\n animate(timing, keyframes([\n stylize({opacity: 1, offset: 0}),\n stylize({opacity: 0, offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => fadeInDown`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`fadeInDown => void, ${options.igniter} => fadeOutDown`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => fadeInLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`fadeInLeft => void, ${options.igniter} => fadeOutRight`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => fadeInRight`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`fadeInRight => void, ${options.igniter} => fadeOutLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => fadeInUp`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`fadeInUp => void, ${options.igniter} => fadeOutUp`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 1})\n ]))\n ])\n ];\n}"]} \ No newline at end of file diff --git a/dist/animations/rotate.d.ts b/dist/animations/rotate.d.ts new file mode 100644 index 0000000..b34545e --- /dev/null +++ b/dist/animations/rotate.d.ts @@ -0,0 +1,2 @@ +import { AnimationMetadata } from '@angular/core'; +export declare const rotate: (timing: string, options: any) => AnimationMetadata[]; diff --git a/dist/animations/rotate.js b/dist/animations/rotate.js new file mode 100644 index 0000000..1578aa5 --- /dev/null +++ b/dist/animations/rotate.js @@ -0,0 +1,88 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@angular/core"); +exports.rotate = function (timing, options) { + options = options || {}; + options.igniter = options.igniter || '*'; + function stylize(styleDef) { + return core_1.style(Object.assign(styleDef, options.whileStyle)); + } + return [ + core_1.state('rotateOut', core_1.style({ + display: 'none' + })), + core_1.state('rotateOutDownLeft', core_1.style({ + display: 'none' + })), + core_1.state('rotateOutDownRight', core_1.style({ + display: 'none' + })), + core_1.state('rotateOutUpLeft', core_1.style({ + display: 'none' + })), + core_1.state('rotateOutUpRight', core_1.style({ + display: 'none' + })), + core_1.transition(options.igniter + " => rotateIn", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, -200deg)', offset: 0 }), + stylize({ opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 }) + ])) + ]), + core_1.transition("rotateIn => void, " + options.igniter + " => rotateOut", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }), + stylize({ opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 200deg)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => rotateInDownLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0 }), + stylize({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 }) + ])) + ]), + core_1.transition("rotateInDownLeft => void, " + options.igniter + " => rotateOutDownLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }), + stylize({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => rotateInDownRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0 }), + stylize({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 }) + ])) + ]), + core_1.transition("rotateInDownRight => void, " + options.igniter + " => rotateOutDownRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }), + stylize({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => rotateInUpLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0 }), + stylize({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 }) + ])) + ]), + core_1.transition("rotateInUpLeft => void, " + options.igniter + " => rotateOutUpLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }), + stylize({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => rotateInUpRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0 }), + stylize({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 }) + ])) + ]), + core_1.transition("rotateInUpRight => void, " + options.igniter + " => rotateOutUpRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }), + stylize({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1 }) + ])) + ]) + ]; +}; +//# sourceMappingURL=rotate.js.map \ No newline at end of file diff --git a/dist/animations/rotate.js.map b/dist/animations/rotate.js.map new file mode 100644 index 0000000..333f0c9 --- /dev/null +++ b/dist/animations/rotate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"rotate.js","sourceRoot":"","sources":["../../src/animations/rotate.ts"],"names":[],"mappings":";;AAAA,sCAOuB;AAEV,QAAA,MAAM,GAAG,UAAC,MAAc,EAAE,OAAO;IAC5C,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IACvB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,GAAG,CAAA;IAExC,iBAAiB,QAAQ;QACvB,MAAM,CAAC,YAAK,CAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAE,CAAA;IAC7D,CAAC;IAED,MAAM,CAAC;QACL,YAAK,CAAC,WAAW,EAAE,Y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B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACzG,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACxG,CAAC,CAAC;SACJ,CAAC;QACF,iBAAU,CAAC,8BAA4B,OAAO,CAAC,OAAO,yBAAsB,EAAE;YAC5E,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACvG,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACzG,CAAC,CAAC;SACJ,CAAC;KACH,CAAA;AACH,CAAC,CAAC","sourcesContent":["import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const rotate = (timing: string, options): AnimationMetadata[] => {\n options = options || {}\n options.igniter = options.igniter || '*'\n\n function stylize(styleDef){\n return style( Object.assign(styleDef, options.whileStyle) )\n }\n\n return [\n state('rotateOut', style({\n display: 'none'\n })),\n state('rotateOutDownLeft', style({\n display: 'none'\n })),\n state('rotateOutDownRight', style({\n display: 'none'\n })),\n state('rotateOutUpLeft', style({\n display: 'none'\n })),\n state('rotateOutUpRight', style({\n display: 'none'\n })),\n transition(`${options.igniter} => rotateIn`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, -200deg)', offset: 0}),\n stylize({opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition(`rotateIn => void, ${options.igniter} => rotateOut`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n stylize({opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 200deg)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => rotateInDownLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0}),\n stylize({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition(`rotateInDownLeft => void, ${options.igniter} => rotateOutDownLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n stylize({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => rotateInDownRight`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0}),\n stylize({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition(`rotateInDownRight => void, ${options.igniter} => rotateOutDownRight`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n stylize({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => rotateInUpLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0}),\n stylize({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition(`rotateInUpLeft => void, ${options.igniter} => rotateOutUpLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n stylize({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => rotateInUpRight`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0}),\n stylize({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition(`rotateInUpRight => void, ${options.igniter} => rotateOutUpRight`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n stylize({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1})\n ]))\n ])\n ]\n};"]} \ No newline at end of file diff --git a/dist/animations/slide.d.ts b/dist/animations/slide.d.ts new file mode 100644 index 0000000..e5e4424 --- /dev/null +++ b/dist/animations/slide.d.ts @@ -0,0 +1,2 @@ +import { AnimationMetadata } from '@angular/core'; +export declare const slide: (timing: string, options: any) => AnimationMetadata[]; diff --git a/dist/animations/slide.js b/dist/animations/slide.js new file mode 100644 index 0000000..b50d49f --- /dev/null +++ b/dist/animations/slide.js @@ -0,0 +1,73 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@angular/core"); +exports.slide = function (timing, options) { + options = options || {}; + options.igniter = options.igniter || '*'; + function stylize(styleDef) { + return core_1.style(Object.assign(styleDef, options.whileStyle)); + } + return [ + core_1.state('slideOutDown', core_1.style({ + display: 'none' + })), + core_1.state('slideOutLeft', core_1.style({ + display: 'none' + })), + core_1.state('slideOutRight', core_1.style({ + display: 'none' + })), + core_1.state('slideOutUp', core_1.style({ + display: 'none' + })), + core_1.transition(options.igniter + " => slideInDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, -100%, 0)', offset: 0 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("slideInDown => void, " + options.igniter + " => slideOutDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'translate3d(0, 100%, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => slideInLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(-100%, 0, 0)', offset: 0 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("slideInLeft => void, " + options.igniter + " => slideOutRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'translate3d(100%, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => slideInRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(100%, 0, 0)', offset: 0 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("slideInRight => void, " + options.igniter + " => slideOutLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'translate3d(-100%, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => slideInUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, 100%, 0)', offset: 0 }), + stylize({ transform: 'translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("slideInUp => void, " + options.igniter + " => slideOutUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ transform: 'translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'translate3d(0, -100%, 0)', offset: 1 }) + ])) + ]) + ]; +}; +//# sourceMappingURL=slide.js.map \ No newline at end of file diff --git a/dist/animations/slide.js.map b/dist/animations/slide.js.map new file mode 100644 index 0000000..8350182 --- /dev/null +++ b/dist/animations/slide.js.map @@ -0,0 +1 @@ +{"version":3,"file":"slide.js","sourceRoot":"","sources":["../../src/animations/slide.ts"],"names":[],"mappings":";;AAAA,sCAOuB;AAEV,QAAA,KAAK,GAAG,UAAC,MAAc,EAAE,OAAO;IAC3C,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IACvB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,GAAG,CAAA;IAExC,iBAAiB,QAAQ;QACvB,MAAM,CAAC,YAAK,CAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAE,CAAA;IAC7D,CAAC;IAED,MAAM,CAAC;QACL,YAAK,CAAC,cAAc,EAAE,YAAK,CAAC;YAC1B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,cAAc,EAAE,YAAK,CAAC;YAC1B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,eAAe,EAAE,YAAK,CAAC;YAC3B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,YAAY,EAAE,YAAK,CAAC;YACxB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,iBAAU,CAAI,OAAO,CAAC,OAAO,oBAAiB,EAAE;YAC9C,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBAC3D,OAAO,CAAC,EAAC,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACxD,CAAC,CAAC;SACJ,CAAC;QACF,iBAAU,CAAC,0BAAwB,OAAO,CAAC,OAAO,qBAAkB,EAAE;YACpE,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,SAAS,EAAE,sBAAsB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AAC,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aAC5D,CAAC,CAAC;SACJ,CAAC;QACF,iBAAU,CAAI,OAAO,CAAC,OAAO,kBAAe,EAAE;YAC5C,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBAC1D,OAAO,CAAC,EAAC,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aACxD,CAAC,CAAC;SACJ,CAAC;QACF,iBAAU,CAAC,wBAAsB,OAAO,CAAC,OAAO,mBAAgB,EAAE;YAChE,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACvD,OAAO,CAAC,EAAC,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aAC5D,CAAC,CAAC;SACJ,CAAC;KACH,CAAA;AACH,CAAC,CAAC","sourcesContent":["import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const slide = (timing: string, options): AnimationMetadata[] => {\n options = options || {}\n options.igniter = options.igniter || '*'\n\n function stylize(styleDef){\n return style( Object.assign(styleDef, options.whileStyle) )\n }\n\n return [\n state('slideOutDown', style({\n display: 'none'\n })),\n state('slideOutLeft', style({\n display: 'none'\n })),\n state('slideOutRight', style({\n display: 'none'\n })),\n state('slideOutUp', style({\n display: 'none'\n })),\n transition(`${options.igniter} => slideInDown`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, -100%, 0)', offset: 0}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`slideInDown => void, ${options.igniter} => slideOutDown`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'translate3d(0, 100%, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => slideInLeft`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(-100%, 0, 0)', offset: 0}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`slideInLeft => void, ${options.igniter} => slideOutRight`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'translate3d(100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => slideInRight`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(100%, 0, 0)', offset: 0}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`slideInRight => void, ${options.igniter} => slideOutLeft`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'translate3d(-100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => slideInUp`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, 100%, 0)', offset: 0}),\n stylize({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`slideInUp => void, ${options.igniter} => slideOutUp`, [\n animate(timing, keyframes([\n stylize({transform: 'translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'translate3d(0, -100%, 0)', offset: 1})\n ]))\n ])\n ]\n};"]} \ No newline at end of file diff --git a/dist/animations/zoom.d.ts b/dist/animations/zoom.d.ts new file mode 100644 index 0000000..48d8a03 --- /dev/null +++ b/dist/animations/zoom.d.ts @@ -0,0 +1,2 @@ +import { AnimationMetadata } from '@angular/core'; +export declare const zoom: (timing: string, options: any) => AnimationMetadata[]; diff --git a/dist/animations/zoom.js b/dist/animations/zoom.js new file mode 100644 index 0000000..ca40c77 --- /dev/null +++ b/dist/animations/zoom.js @@ -0,0 +1,96 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@angular/core"); +exports.zoom = function (timing, options) { + options = options || {}; + options.igniter = options.igniter || '*'; + function stylize(styleDef) { + return core_1.style(Object.assign(styleDef, options.whileStyle)); + } + return [ + core_1.state('zoomOut', core_1.style({ + display: 'none' + })), + core_1.state('zoomOutDown', core_1.style({ + display: 'none' + })), + core_1.state('zoomOutLeft', core_1.style({ + display: 'none' + })), + core_1.state('zoomOutRight', core_1.style({ + display: 'none' + })), + core_1.state('zoomOutUp', core_1.style({ + display: 'none' + })), + core_1.transition(options.igniter + " => zoomIn", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 0 }), + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1 }) + ])) + ]), + core_1.transition("zoomIn => void, " + options.igniter + " => zoomOut", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 0 }), + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => zoomInDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.6 }), + stylize({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("zoomInDown => void, " + options.igniter + " => zoomOutDown", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.4 }), + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => zoomInLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6 }), + stylize({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("zoomInLeft => void, " + options.igniter + " => zoomOutRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6 }), + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => zoomInRight", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6 }), + stylize({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("zoomInRight => void, " + options.igniter + " => zoomOutLeft", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6 }), + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition(options.igniter + " => zoomInUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 0 }), + stylize({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.6 }), + stylize({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 }) + ])) + ]), + core_1.transition("zoomInUp => void, " + options.igniter + " => zoomOutUp", [ + core_1.animate(timing, core_1.keyframes([ + stylize({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }), + stylize({ transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.4 }), + stylize({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 1 }) + ])) + ]) + ]; +}; +//# sourceMappingURL=zoom.js.map \ No newline at end of file diff --git a/dist/animations/zoom.js.map b/dist/animations/zoom.js.map new file mode 100644 index 0000000..fead06a --- /dev/null +++ b/dist/animations/zoom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zoom.js","sourceRoot":"","sources":["../../src/animations/zoom.ts"],"names":[],"mappings":";;AAAA,sCAOuB;AAEV,QAAA,IAAI,GAAG,UAAC,MAAc,EAAE,OAAO;IAC1C,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IACvB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,GAAG,CAAA;IAExC,iBAAiB,QAAQ;QACvB,MAAM,CAAC,YAAK,CAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAE,CAAA;IAC7D,CAAC;IAED,MAAM,CAAC;QACL,YAAK,CAAC,SAAS,EAAE,YAAK,CAAC;YACrB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,aAAa,EAAE,YAAK,CAAC;YACzB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,aAAa,EAAE,YAAK,CAAC;YACzB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,cAAc,EAAE,YAAK,CAAC;YAC1B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,YAAK,CAAC,WAAW,EAAE,YAAK,CAAC;YAC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uBAAqB,OAAO,CAAC,OAAO,kBAAe,EAAE;YAC9D,cAAO,CAAC,MAAM,EAAE,gBAAS,CAAC;gBACxB,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,uCAAuC,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;gBACpF,OAAO,CAAC,EAAC,SAAS,EAAE,oDAAoD,EAAE,MAAM,EAAE,GAAG,EAAC,CAAC;gBACvF,OAAO,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,gDAAgD,EAAE,MAAM,EAAE,CAAC,EAAC,CAAC;aAC9F,CAAC,CAAC;SACJ,CAAC;KACH,CAAA;AACH,CAAC,CAAC","sourcesContent":["import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const zoom = (timing: string, options): AnimationMetadata[] => {\n options = options || {}\n options.igniter = options.igniter || '*'\n\n function stylize(styleDef){\n return style( Object.assign(styleDef, options.whileStyle) )\n }\n\n return [\n state('zoomOut', style({\n display: 'none'\n })),\n state('zoomOutDown', style({\n display: 'none'\n })),\n state('zoomOutLeft', style({\n display: 'none'\n })),\n state('zoomOutRight', style({\n display: 'none'\n })),\n state('zoomOutUp', style({\n display: 'none'\n })),\n transition(`${options.igniter} => zoomIn`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 0}),\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1})\n ]))\n ]),\n transition(`zoomIn => void, ${options.igniter} => zoomOut`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 0}),\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => zoomInDown`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.6}),\n stylize({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`zoomInDown => void, ${options.igniter} => zoomOutDown`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.4}),\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => zoomInLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6}),\n stylize({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`zoomInLeft => void, ${options.igniter} => zoomOutRight`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6}),\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => zoomInRight`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6}),\n stylize({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`zoomInRight => void, ${options.igniter} => zoomOutLeft`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6}),\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`${options.igniter} => zoomInUp`, [\n animate(timing, keyframes([\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 0}),\n stylize({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.6}),\n stylize({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition(`zoomInUp => void, ${options.igniter} => zoomOutUp`, [\n animate(timing, keyframes([\n stylize({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n stylize({transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.4}),\n stylize({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 1})\n ]))\n ])\n ]\n};"]} \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..0b785e3 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,12 @@ +import { AnimationEntryMetadata } from '@angular/core'; +export declare const animateDefaults: { + duration: number; + delay: number; + easing: string; + stagger: number; + name: string; + igniter: string; + whileStyle: {}; +}; +export declare const animateFactory: (duration: string | number, delay: string | number, easing: string, stagger: number, name: string) => AnimationEntryMetadata; +export declare const animateConfig: (config: any) => AnimationEntryMetadata; diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..152bfac --- /dev/null +++ b/dist/index.js @@ -0,0 +1,47 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@angular/core"); +var fade_1 = require("./animations/fade"); +var bounce_1 = require("./animations/bounce"); +var rotate_1 = require("./animations/rotate"); +var slide_1 = require("./animations/slide"); +var zoom_1 = require("./animations/zoom"); +exports.animateDefaults = { + duration: 500, + delay: 0, + easing: 'linear', + stagger: 0, + name: 'animate', + igniter: '*', + whileStyle: {} +}; +exports.animateFactory = function (duration, delay, easing, stagger, name) { + var config = { + duration: duration, + delay: delay, + easing: easing, + stagger: stagger, + name: name + }; + return exports.animateConfig(config); +}; +exports.animateConfig = function (config) { + config = config || {}; + config.duration = config.duration == null ? exports.animateDefaults.duration : config.duration; + config.delay = config.delay == null ? exports.animateDefaults.delay : config.delay; + config.easing = config.easing = null ? exports.animateDefaults.easing : config.easing; + config.stagger = config.stagger = null ? exports.animateDefaults.stagger : config.stagger; + config.name = config.name == null ? exports.animateDefaults.name : config.name; + config.igniter = config.igniter == null ? exports.animateDefaults.igniter : config.igniter; + config.whileStyle = config.whileStyle == null ? exports.animateDefaults.whileStyle : config.whileStyle; + if (config.stagger) { + console.log('ng2-animate does not support stagger as of this release'); + } + var timing = [ + typeof (config.duration) === 'number' ? config.duration + "ms" : config.duration, + typeof (config.delay) === 'number' ? config.delay + "ms" : config.delay, + config.easing + ].join(' '); + return core_1.trigger(config.name, fade_1.fade(timing, config).concat(bounce_1.bounce(timing, config), rotate_1.rotate(timing, config), slide_1.slide(timing, config), zoom_1.zoom(timing, config))); +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map new file mode 100644 index 0000000..1731181 --- /dev/null +++ b/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,sCAAgE;AAEhE,0CAAyC;AACzC,8CAA6C;AAC7C,8CAA6C;AAC7C,4CAA2C;AAC3C,0CAAyC;AAE5B,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAK,GAAG;IAChB,KAAK,EAAQ,CAAC;IACd,MAAM,EAAO,QAAQ;IACrB,OAAO,EAAM,CAAC;IACd,IAAI,EAAS,SAAS;IACtB,OAAO,EAAM,GAAG;IAChB,UAAU,EAAG,EAAE;CAChB,CAAA;AAEY,QAAA,cA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C,CAAA,CAAC;QACjB,OAAO,CAAC,GAAG,CAAC,yDAAyD,CAAC,CAAA;IACxE,CAAC;IAED,IAAI,MAAM,GAAW;QACnB,OAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,QAAQ,GAAM,MAAM,CAAC,QAAQ,OAAI,GAAG,MAAM,CAAC,QAAQ;QAC/E,OAAM,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,GAAM,MAAM,CAAC,KAAK,OAAI,GAAG,MAAM,CAAC,KAAK;QACtE,MAAM,CAAC,MAAM;KACd,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,MAAM,CAAC,cAAO,CAAC,MAAM,CAAC,IAAI,EACrB,WAAI,CAAC,MAAM,EAAE,MAAM,CAAC,QACpB,eAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACtB,eAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACtB,aAAK,CAAC,MAAM,EAAE,MAAM,CAAC,EACrB,WAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EACvB,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { trigger, AnimationEntryMetadata } from '@angular/core';\n\nimport { fade } from './animations/fade';\nimport { bounce } from './animations/bounce';\nimport { rotate } from './animations/rotate';\nimport { slide } from './animations/slide';\nimport { zoom } from './animations/zoom';\n\nexport const animateDefaults = {\n duration : 500,\n delay : 0,\n easing : 'linear',\n stagger : 0,\n name : 'animate',\n igniter : '*',\n whileStyle : {}\n}\n\nexport const animateFactory = (duration: string|number, delay: string|number, easing: string, stagger: number, name: string) => {\n const config = {\n duration:duration, \n delay:delay, \n easing:easing, \n stagger:stagger, \n name:name\n }\n return animateConfig(config);\n};\n\nexport const animateConfig = (config) => {\n config = config || {}\n config.duration = config.duration==null ? animateDefaults.duration : config.duration\n config.delay = config.delay==null ? animateDefaults.delay : config.delay\n config.easing = config.easing=null ? animateDefaults.easing : config.easing\n config.stagger = config.stagger=null ? animateDefaults.stagger : config.stagger\n config.name = config.name==null ? animateDefaults.name : config.name\n config.igniter = config.igniter==null ? animateDefaults.igniter : config.igniter\n config.whileStyle = config.whileStyle==null ? animateDefaults.whileStyle : config.whileStyle\n\n if(config.stagger){\n console.log('ng2-animate does not support stagger as of this release')\n }\n\n let timing: string = [\n typeof(config.duration) === 'number' ? `${config.duration}ms` : config.duration,\n typeof(config.delay) === 'number' ? `${config.delay}ms` : config.delay,\n config.easing\n ].join(' ');\n\n return trigger(config.name, [\n ...fade(timing, config),\n ...bounce(timing, config),\n ...rotate(timing, config),\n ...slide(timing, config),\n ...zoom(timing, config)\n ]);\n};"]} \ No newline at end of file diff --git a/example/dist/bundle.js b/example/dist/bundle.js index 806b94b..6fcb3fd 100644 --- a/example/dist/bundle.js +++ b/example/dist/bundle.js @@ -1,2 +1,2 @@ -webpackJsonp([0],{0:function(t,e,a){"use strict";var n=a(1),o=a(337);n.platformBrowserDynamic().bootstrapModule(o.AppModule)},337:function(t,e,a){"use strict";var n=this&&this.__decorate||function(t,e,a,n){var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,a):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,n);else for(var f=t.length-1;f>=0;f--)(o=t[f])&&(r=(s<3?o(r):s>3?o(e,a,r):o(e,a))||r);return s>3&&r&&Object.defineProperty(e,a,r),r},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=a(11),r=a(203),f=a(338),i=a(376),l=function(){function t(){}return t=n([s.NgModule({imports:[r.BrowserModule,f.FormsModule],declarations:[i.AppComponent],bootstrap:[i.AppComponent]}),o("design:paramtypes",[])],t)}();e.AppModule=l},376:function(t,e,a){"use strict";var n=this&&this.__decorate||function(t,e,a,n){var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,a):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,n);else for(var f=t.length-1;f>=0;f--)(o=t[f])&&(r=(s<3?o(r):s>3?o(e,a,r):o(e,a))||r);return s>3&&r&&Object.defineProperty(e,a,r),r},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=a(11),r=a(377),f=function(){function t(){this.show=!0,this.state="",this.inAnimations=["fadeIn","fadeInDown","fadeInLeft","fadeInRight","fadeInUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp"],this.outAnimations=["fadeOut","fadeOutDown","fadeOutLeft","fadeOutRight","fadeOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp"],this.inAnimations=this.inAnimations.map(function(t){return{key:t,show:!0,bg:Math.floor(16777215*Math.random()).toString(16)}}),this.outAnimations=this.outAnimations.map(function(t){return{key:t,bg:Math.floor(16777215*Math.random()).toString(16)}})}return t.prototype.onToggleInAll=function(){this.inAnimations.forEach(function(t){return t.show=!t.show})},t.prototype.onToggleOutAll=function(){this.outAnimations.forEach(function(t){t.state=t.state?"":t.key})},t.prototype.onToggleOutItem=function(t){t.state=t.state?"":t.key},t=n([s.Component({selector:"app",template:a(383),styles:[a(384)],animations:[r.animateFactory(500)]}),o("design:paramtypes",[])],t)}();e.AppComponent=f},377:function(t,e,a){"use strict";var n=a(11),o=a(378),s=a(379),r=a(380),f=a(381),i=a(382);e.animateFactory=function(t,e,a){void 0===t&&(t=500),void 0===e&&(e=0),void 0===a&&(a="linear");var l=["number"==typeof t?t+"ms":t,"number"==typeof e?e+"ms":e,a].join(" ");return n.trigger("animate",o.fade(l).concat(s.bounce(l),r.rotate(l),f.slide(l),i.zoom(l)))}},378:function(t,e,a){"use strict";var n=a(11);e.fade=function(t){return[n.state("fadeOut",n.style({display:"none"})),n.state("fadeOutDown",n.style({display:"none"})),n.state("fadeOutLeft",n.style({display:"none"})),n.state("fadeOutRight",n.style({display:"none"})),n.state("fadeOutUp",n.style({display:"none"})),n.transition("* => fadeIn",[n.animate(t,n.keyframes([n.style({opacity:0,offset:0}),n.style({opacity:1,offset:1})]))]),n.transition("fadeIn => void, * => fadeOut",[n.animate(t,n.keyframes([n.style({opacity:1,offset:0}),n.style({opacity:0,offset:1})]))]),n.transition("* => fadeInDown",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, -100%, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInDown => void, * => fadeOutDown",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(0, 100%, 0)",offset:1})]))]),n.transition("* => fadeInLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(-100%, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInLeft => void, * => fadeOutRight",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(100%, 0, 0)",offset:1})]))]),n.transition("* => fadeInRight",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(100%, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInRight => void, * => fadeOutLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(-100%, 0, 0)",offset:1})]))]),n.transition("* => fadeInUp",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, 100%, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInUp => void, * => fadeOutUp",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(0, -100%, 0)",offset:1})]))])]}},379:function(t,e,a){"use strict";var n=a(11);e.bounce=function(t){return[n.state("bounceOut",n.style({display:"none"})),n.state("bounceOutDown",n.style({display:"none"})),n.state("bounceOutLeft",n.style({display:"none"})),n.state("bounceOutRight",n.style({display:"none"})),n.state("bounceOutUp",n.style({display:"none"})),n.transition("* => bounceIn",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.3, .3, .3)",offset:0}),n.style({transform:"scale3d(1.1, 1.1, 1.1)",offset:.2}),n.style({transform:"scale3d(.9, .9, .9)",offset:.4}),n.style({transform:"scale3d(1.03, 1.03, 1.03)",offset:.6}),n.style({transform:"scale3d(.97, .97, .97)",offset:.8}),n.style({opacity:1,transform:"scale3d(1, 1, 1)",offset:1})]))]),n.transition("bounceIn => void, * => bounceOut",[n.animate(t,n.keyframes([n.style({transform:"scale3d(.9, .9, .9)",offset:.2}),n.style({opacity:1,transform:"scale3d(1.1, 1.1, 1.1)",offset:.5}),n.style({opacity:0,transform:"scale3d(.3, .3, .3)",offset:1})]))]),n.transition("* => bounceInDown",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, -1000px, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 20px, 0)",offset:.6}),n.style({transform:"translate3d(0, -10px, 0)",offset:.75}),n.style({transform:"translate3d(0, 5px, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInDown => void, * => bounceOutDown",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 10px, 0)",offset:.2}),n.style({opacity:1,transform:"translate3d(0, -20px, 0)",offset:.5}),n.style({opacity:0,transform:"translate3d(0, 1000px, 0)",offset:1})]))]),n.transition("* => bounceInLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(-1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(20px, 0, 0)",offset:.6}),n.style({transform:"translate3d(-10px, 0, 0)",offset:.75}),n.style({transform:"translate3d(5px, 0, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInLeft => void, * => bounceOutRight",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(-20px, 0, 0)",offset:.2}),n.style({opacity:0,transform:"translate3d(1000px, 0, 0)",offset:1})]))]),n.transition("* => bounceInRight",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(-20px, 0, 0)",offset:.6}),n.style({transform:"translate3d(10px, 0, 0)",offset:.75}),n.style({transform:"translate3d(-5px, 0, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInRight => void, * => bounceOutLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(20px, 0, 0)",offset:.2}),n.style({opacity:0,transform:"translate3d(-1000px, 0, 0)",offset:1})]))]),n.transition("* => bounceInUp",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, 1000px, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, -20px, 0)",offset:.6}),n.style({transform:"translate3d(0, 10px, 0)",offset:.75}),n.style({transform:"translate3d(0, -5px, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInUp => void, * => bounceOutUp",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, -10px, 0)",offset:.2}),n.style({opacity:1,transform:"translate3d(0, 20px, 0)",offset:.5}),n.style({opacity:0,transform:"translate3d(0, -1000px, 0)",offset:1})]))])]}},380:function(t,e,a){"use strict";var n=a(11);e.rotate=function(t){return[n.state("rotateOut",n.style({display:"none"})),n.state("rotateOutDownLeft",n.style({display:"none"})),n.state("rotateOutDownRight",n.style({display:"none"})),n.state("rotateOutUpLeft",n.style({display:"none"})),n.state("rotateOutUpRight",n.style({display:"none"})),n.transition("* => rotateIn",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"center",transform:"rotate3d(0, 0, 1, -200deg)",offset:0}),n.style({opacity:1,transformOrigin:"center",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateIn => void, * => rotateOut",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"center",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"center",transform:"rotate3d(0, 0, 1, 200deg)",offset:1})]))]),n.transition("* => rotateInDownLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:0}),n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInDownLeft => void, * => rotateOutDownLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:1})]))]),n.transition("* => rotateInDownRight",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:0}),n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInDownRight => void, * => rotateOutDownRight",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:1})]))]),n.transition("* => rotateInUpLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:0}),n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInUpLeft => void, * => rotateOutUpLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:1})]))]),n.transition("* => rotateInUpRight",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:0}),n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInUpRight => void, * => rotateOutUpRight",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:1})]))])]}},381:function(t,e,a){"use strict";var n=a(11);e.slide=function(t){return[n.state("slideOutDown",n.style({display:"none"})),n.state("slideOutLeft",n.style({display:"none"})),n.state("slideOutRight",n.style({display:"none"})),n.state("slideOutUp",n.style({display:"none"})),n.transition("* => slideInDown",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, -100%, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInDown => void, * => slideOutDown",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(0, 100%, 0)",offset:1})]))]),n.transition("* => slideInLeft",[n.animate(t,n.keyframes([n.style({transform:"translate3d(-100%, 0, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInLeft => void, * => slideOutRight",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(100%, 0, 0)",offset:1})]))]),n.transition("* => slideInRight",[n.animate(t,n.keyframes([n.style({transform:"translate3d(100%, 0, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInRight => void, * => slideOutLeft",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(-100%, 0, 0)",offset:1})]))]),n.transition("* => slideInUp",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 100%, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInUp => void, * => slideOutUp",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(0, -100%, 0)",offset:1})]))])]}},382:function(t,e,a){"use strict";var n=a(11);e.zoom=function(t){return[n.state("zoomOut",n.style({display:"none"})),n.state("zoomOutDown",n.style({display:"none"})),n.state("zoomOutLeft",n.style({display:"none"})),n.state("zoomOutRight",n.style({display:"none"})),n.state("zoomOutUp",n.style({display:"none"})),n.transition("* => zoomIn",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1)",offset:0}),n.style({opacity:1,transform:"scale3d(1, 1, 1)",offset:1})]))]),n.transition("zoomIn => void, * => zoomOut",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1)",offset:0}),n.style({opacity:0,transform:"scale3d(.1, .1, .1)",offset:1})]))]),n.transition("* => zoomInDown",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, -1000px, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(0, 60px, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInDown => void, * => zoomOutDown",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(0, 60px, 0)",offset:.4}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, 1000px, 0)",offset:1})]))]),n.transition("* => zoomInLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(10px, 0, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInLeft => void, * => zoomOutRight",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(-10px, 0, 0)",offset:.6}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(1000px, 0, 0)",offset:1})]))]),n.transition("* => zoomInRight",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(-10px, 0, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInRight => void, * => zoomOutLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(10px, 0, 0)",offset:.6}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)",offset:1})]))]),n.transition("* => zoomInUp",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, 1000px, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(0, -60px, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInUp => void, * => zoomOutUp",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(0, -60px, 0)",offset:.4}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, -1000px, 0)",offset:1})]))])]}},383:function(t,e){t.exports='
\n

Entering and Leaving

\n
\n
\n
\n {{item.key}}\n
\n
\n
\n

Replace With [hidden]

\n
\n
\n
\n {{item.key}}\n
\n
\n
\n\n

\n View on GitHub\n

\n\n
'},384:function(t,e){t.exports=".container {\n margin: 0 auto;\n max-width: 960px;\n}\n\nh2 {\n color: #f35626;\n background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n -webkit-animation: hue 60s infinite linear;\n text-align: center;\n}\n\n.wrap {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n}\n\n.demo-wrap {\n color: #eeeeee;\n width: 130px;\n height: 130px;\n margin: 5px;\n background-color: #898b8b;\n}\n\n.demo-item {\n width: 100%;\n height: 100%;\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #339966;\n}\n\np {\n text-align: center;\n}\n\na {\n margin-top: 30px;\n color: #7b8993;\n text-decoration: underline;\n -webkit-animation: hue 60s infinite linear;\n background-color: white;\n}\n\na:hover {\n color: #f35626;\n}\n\n@-webkit-keyframes hue {\n from {\n -webkit-filter: hue-rotate(0deg);\n }\n\n to {\n -webkit-filter: hue-rotate(-360deg);\n }\n}"}}); +webpackJsonp([0],{0:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(1),o=a(337);n.platformBrowserDynamic().bootstrapModule(o.AppModule)},337:function(t,e,a){"use strict";var n=this&&this.__decorate||function(t,e,a,n){var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,a):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,n);else for(var f=t.length-1;f>=0;f--)(o=t[f])&&(r=(s<3?o(r):s>3?o(e,a,r):o(e,a))||r);return s>3&&r&&Object.defineProperty(e,a,r),r};Object.defineProperty(e,"__esModule",{value:!0});var o=a(11),s=a(203),r=a(338),f=a(376),i=function(){function t(){}return t}();i=n([o.NgModule({imports:[s.BrowserModule,r.FormsModule],declarations:[f.AppComponent],bootstrap:[f.AppComponent]})],i),e.AppModule=i},376:function(t,e,a){"use strict";var n=this&&this.__decorate||function(t,e,a,n){var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,a):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,n);else for(var f=t.length-1;f>=0;f--)(o=t[f])&&(r=(s<3?o(r):s>3?o(e,a,r):o(e,a))||r);return s>3&&r&&Object.defineProperty(e,a,r),r},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var s=a(11),r=a(377),f=function(){function t(){this.show=!0,this.state="",this.inAnimations=["fadeIn","fadeInDown","fadeInLeft","fadeInRight","fadeInUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp"],this.outAnimations=["fadeOut","fadeOutDown","fadeOutLeft","fadeOutRight","fadeOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp"],this.inAnimations=this.inAnimations.map(function(t){return{key:t,show:!0,bg:Math.floor(16777215*Math.random()).toString(16)}}),this.outAnimations=this.outAnimations.map(function(t){return{key:t,bg:Math.floor(16777215*Math.random()).toString(16)}})}return t.prototype.onToggleInAll=function(){this.inAnimations.forEach(function(t){return t.show=!t.show})},t.prototype.onToggleOutAll=function(){this.outAnimations.forEach(function(t){t.state=t.state?"":t.key})},t.prototype.onToggleOutItem=function(t){t.state=t.state?"":t.key},t}();f=n([s.Component({selector:"app",template:a(383),styles:[a(384)],animations:[r.animateFactory(500)]}),o("design:paramtypes",[])],f),e.AppComponent=f},377:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(11),o=a(378),s=a(379),r=a(380),f=a(381),i=a(382);e.defaults={duration:500,delay:0,easing:"linear",name:"animate"},e.animateFactory=function(t,a,l,d){t=t||e.defaults.duration,a=a||e.defaults.delay,l=l||e.defaults.easing,d=d||e.defaults.name;var m=["number"==typeof t?t+"ms":t,"number"==typeof a?a+"ms":a,l].join(" ");return n.trigger(d,o.fade(m).concat(s.bounce(m),r.rotate(m),f.slide(m),i.zoom(m)))},e.factory=function(t){return void 0===t&&(t={}),e.animateFactory(t.duration,t.delay,t.easing,t.name)}},378:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(11);e.fade=function(t){return[n.state("fadeOut",n.style({display:"none"})),n.state("fadeOutDown",n.style({display:"none"})),n.state("fadeOutLeft",n.style({display:"none"})),n.state("fadeOutRight",n.style({display:"none"})),n.state("fadeOutUp",n.style({display:"none"})),n.transition("* => fadeIn",[n.animate(t,n.keyframes([n.style({opacity:0,offset:0}),n.style({opacity:1,offset:1})]))]),n.transition("fadeIn => void, * => fadeOut",[n.animate(t,n.keyframes([n.style({opacity:1,offset:0}),n.style({opacity:0,offset:1})]))]),n.transition("* => fadeInDown",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, -100%, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInDown => void, * => fadeOutDown",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(0, 100%, 0)",offset:1})]))]),n.transition("* => fadeInLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(-100%, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInLeft => void, * => fadeOutRight",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(100%, 0, 0)",offset:1})]))]),n.transition("* => fadeInRight",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(100%, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInRight => void, * => fadeOutLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(-100%, 0, 0)",offset:1})]))]),n.transition("* => fadeInUp",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, 100%, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("fadeInUp => void, * => fadeOutUp",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(0, 0, 0)",offset:0}),n.style({opacity:0,transform:"translate3d(0, -100%, 0)",offset:1})]))])]}},379:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(11);e.bounce=function(t){return[n.state("bounceOut",n.style({display:"none"})),n.state("bounceOutDown",n.style({display:"none"})),n.state("bounceOutLeft",n.style({display:"none"})),n.state("bounceOutRight",n.style({display:"none"})),n.state("bounceOutUp",n.style({display:"none"})),n.transition("* => bounceIn",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.3, .3, .3)",offset:0}),n.style({transform:"scale3d(1.1, 1.1, 1.1)",offset:.2}),n.style({transform:"scale3d(.9, .9, .9)",offset:.4}),n.style({transform:"scale3d(1.03, 1.03, 1.03)",offset:.6}),n.style({transform:"scale3d(.97, .97, .97)",offset:.8}),n.style({opacity:1,transform:"scale3d(1, 1, 1)",offset:1})]))]),n.transition("bounceIn => void, * => bounceOut",[n.animate(t,n.keyframes([n.style({transform:"scale3d(.9, .9, .9)",offset:.2}),n.style({opacity:1,transform:"scale3d(1.1, 1.1, 1.1)",offset:.5}),n.style({opacity:0,transform:"scale3d(.3, .3, .3)",offset:1})]))]),n.transition("* => bounceInDown",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, -1000px, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, 20px, 0)",offset:.6}),n.style({transform:"translate3d(0, -10px, 0)",offset:.75}),n.style({transform:"translate3d(0, 5px, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInDown => void, * => bounceOutDown",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 10px, 0)",offset:.2}),n.style({opacity:1,transform:"translate3d(0, -20px, 0)",offset:.5}),n.style({opacity:0,transform:"translate3d(0, 1000px, 0)",offset:1})]))]),n.transition("* => bounceInLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(-1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(20px, 0, 0)",offset:.6}),n.style({transform:"translate3d(-10px, 0, 0)",offset:.75}),n.style({transform:"translate3d(5px, 0, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInLeft => void, * => bounceOutRight",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(-20px, 0, 0)",offset:.2}),n.style({opacity:0,transform:"translate3d(1000px, 0, 0)",offset:1})]))]),n.transition("* => bounceInRight",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(-20px, 0, 0)",offset:.6}),n.style({transform:"translate3d(10px, 0, 0)",offset:.75}),n.style({transform:"translate3d(-5px, 0, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInRight => void, * => bounceOutLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"translate3d(20px, 0, 0)",offset:.2}),n.style({opacity:0,transform:"translate3d(-1000px, 0, 0)",offset:1})]))]),n.transition("* => bounceInUp",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"translate3d(0, 1000px, 0)",offset:0}),n.style({opacity:1,transform:"translate3d(0, -20px, 0)",offset:.6}),n.style({transform:"translate3d(0, 10px, 0)",offset:.75}),n.style({transform:"translate3d(0, -5px, 0)",offset:.9}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("bounceInUp => void, * => bounceOutUp",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, -10px, 0)",offset:.2}),n.style({opacity:1,transform:"translate3d(0, 20px, 0)",offset:.5}),n.style({opacity:0,transform:"translate3d(0, -1000px, 0)",offset:1})]))])]}},380:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(11);e.rotate=function(t){return[n.state("rotateOut",n.style({display:"none"})),n.state("rotateOutDownLeft",n.style({display:"none"})),n.state("rotateOutDownRight",n.style({display:"none"})),n.state("rotateOutUpLeft",n.style({display:"none"})),n.state("rotateOutUpRight",n.style({display:"none"})),n.transition("* => rotateIn",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"center",transform:"rotate3d(0, 0, 1, -200deg)",offset:0}),n.style({opacity:1,transformOrigin:"center",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateIn => void, * => rotateOut",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"center",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"center",transform:"rotate3d(0, 0, 1, 200deg)",offset:1})]))]),n.transition("* => rotateInDownLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:0}),n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInDownLeft => void, * => rotateOutDownLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:1})]))]),n.transition("* => rotateInDownRight",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:0}),n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInDownRight => void, * => rotateOutDownRight",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:1})]))]),n.transition("* => rotateInUpLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:0}),n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInUpLeft => void, * => rotateOutUpLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"left bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:1})]))]),n.transition("* => rotateInUpRight",[n.animate(t,n.keyframes([n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, -45deg)",offset:0}),n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:1})]))]),n.transition("rotateInUpRight => void, * => rotateOutUpRight",[n.animate(t,n.keyframes([n.style({opacity:1,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 0deg)",offset:0}),n.style({opacity:0,transformOrigin:"right bottom",transform:"rotate3d(0, 0, 1, 45deg)",offset:1})]))])]}},381:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(11);e.slide=function(t){return[n.state("slideOutDown",n.style({display:"none"})),n.state("slideOutLeft",n.style({display:"none"})),n.state("slideOutRight",n.style({display:"none"})),n.state("slideOutUp",n.style({display:"none"})),n.transition("* => slideInDown",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, -100%, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInDown => void, * => slideOutDown",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(0, 100%, 0)",offset:1})]))]),n.transition("* => slideInLeft",[n.animate(t,n.keyframes([n.style({transform:"translate3d(-100%, 0, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInLeft => void, * => slideOutRight",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(100%, 0, 0)",offset:1})]))]),n.transition("* => slideInRight",[n.animate(t,n.keyframes([n.style({transform:"translate3d(100%, 0, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInRight => void, * => slideOutLeft",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(-100%, 0, 0)",offset:1})]))]),n.transition("* => slideInUp",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 100%, 0)",offset:0}),n.style({transform:"translate3d(0, 0, 0)",offset:1})]))]),n.transition("slideInUp => void, * => slideOutUp",[n.animate(t,n.keyframes([n.style({transform:"translate3d(0, 0, 0)",offset:0}),n.style({transform:"translate3d(0, -100%, 0)",offset:1})]))])]}},382:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(11);e.zoom=function(t){return[n.state("zoomOut",n.style({display:"none"})),n.state("zoomOutDown",n.style({display:"none"})),n.state("zoomOutLeft",n.style({display:"none"})),n.state("zoomOutRight",n.style({display:"none"})),n.state("zoomOutUp",n.style({display:"none"})),n.transition("* => zoomIn",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1)",offset:0}),n.style({opacity:1,transform:"scale3d(1, 1, 1)",offset:1})]))]),n.transition("zoomIn => void, * => zoomOut",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1)",offset:0}),n.style({opacity:0,transform:"scale3d(.1, .1, .1)",offset:1})]))]),n.transition("* => zoomInDown",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, -1000px, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(0, 60px, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInDown => void, * => zoomOutDown",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(0, 60px, 0)",offset:.4}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, 1000px, 0)",offset:1})]))]),n.transition("* => zoomInLeft",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(10px, 0, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInLeft => void, * => zoomOutRight",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(-10px, 0, 0)",offset:.6}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(1000px, 0, 0)",offset:1})]))]),n.transition("* => zoomInRight",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(1000px, 0, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(-10px, 0, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInRight => void, * => zoomOutLeft",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(10px, 0, 0)",offset:.6}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)",offset:1})]))]),n.transition("* => zoomInUp",[n.animate(t,n.keyframes([n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, 1000px, 0)",offset:0}),n.style({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(0, -60px, 0)",offset:.6}),n.style({transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:1})]))]),n.transition("zoomInUp => void, * => zoomOutUp",[n.animate(t,n.keyframes([n.style({opacity:1,transform:"scale3d(1, 1, 1) translate3d(0, 0, 0)",offset:0}),n.style({transform:"scale3d(.475, .475, .475) translate3d(0, -60px, 0)",offset:.4}),n.style({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, -1000px, 0)",offset:1})]))])]}},383:function(t,e){t.exports='
\n

Entering and Leaving

\n
\n
\n
\n {{item.key}}\n
\n
\n
\n

Replace With [hidden]

\n
\n
\n
\n {{item.key}}\n
\n
\n
\n\n

\n View on GitHub\n

\n\n
'},384:function(t,e){t.exports=".container {\n margin: 0 auto;\n max-width: 960px;\n}\n\nh2 {\n color: #f35626;\n background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n -webkit-animation: hue 60s infinite linear;\n text-align: center;\n}\n\n.wrap {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n}\n\n.demo-wrap {\n color: #eeeeee;\n width: 130px;\n height: 130px;\n margin: 5px;\n background-color: #898b8b;\n}\n\n.demo-item {\n width: 100%;\n height: 100%;\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #339966;\n}\n\np {\n text-align: center;\n}\n\na {\n margin-top: 30px;\n color: #7b8993;\n text-decoration: underline;\n -webkit-animation: hue 60s infinite linear;\n background-color: white;\n}\n\na:hover {\n color: #f35626;\n}\n\n@-webkit-keyframes hue {\n from {\n -webkit-filter: hue-rotate(0deg);\n }\n\n to {\n -webkit-filter: hue-rotate(-360deg);\n }\n}"}}); //# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/example/dist/bundle.js.map b/example/dist/bundle.js.map index a5b8336..08fddeb 100644 --- a/example/dist/bundle.js.map +++ b/example/dist/bundle.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///bundle.js","webpack:///./example/src/main.ts","webpack:///./example/src/app/app.module.ts","webpack:///./example/src/app/app.component.ts","webpack:///./src/index.ts","webpack:///./src/animations/fade.ts","webpack:///./src/animations/bounce.ts","webpack:///./src/animations/rotate.ts","webpack:///./src/animations/slide.ts","webpack:///./src/animations/zoom.ts","webpack:///./example/src/app/app.html","webpack:///./example/src/app/app.css"],"names":["webpackJsonp","0","module","exports","__webpack_require__","platform_browser_dynamic_1","app_module_1","platformBrowserDynamic","bootstrapModule","AppModule","337","__decorate","this","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__metadata","k","v","metadata","core_1","platform_browser_1","forms_1","app_component_1","NgModule","imports","BrowserModule","FormsModule","declarations","AppComponent","bootstrap","376","src_1","show","state","inAnimations","outAnimations","map","item","bg","Math","floor","random","toString","prototype","onToggleInAll","forEach","onToggleOutAll","onToggleOutItem","Component","selector","template","styles","animations","animateFactory","377","fade_1","bounce_1","rotate_1","slide_1","zoom_1","duration","delay","easing","timing","join","trigger","fade","concat","bounce","rotate","slide","zoom","378","style","display","transition","animate","keyframes","opacity","offset","transform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D,QAAQb,EAAQ5C,EAAA0D,WACZ1D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,gDAAiDD,OAAQ,IACvF5D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,qDAAsDD,OAAQ,KAC5F5D,EAAAsD,OAAOO,UAAW,wCAAyCD,OAAQ,SAG3E5D,EAAAwD,WAAW,yCACPxD,EAAAyD,QAAQb,EAAQ5C,EAAA0D,WACZ1D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,wCAAyCD,OAAQ,IAC/E5D,EAAAsD,OAAOO,UAAW,oDAAqDD,OAAQ,KAC/E5D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,iDAAkDD,OAAQ,SAGhG5D,EAAAwD,WAAW,iBACPxD,EAAAyD,QAAQb,EAAQ5C,EAAA0D,WACZ1D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,gDAAiDD,OAAQ,IACvF5D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,qDAAsDD,OAAQ,KAC5F5D,EAAAsD,OAAOO,UAAW,wCAAyCD,OAAQ,SAG3E5D,EAAAwD,WAAW,oCACPxD,EAAAyD,QAAQb,EAAQ5C,EAAA0D,WACZ1D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,wCAAyCD,OAAQ,IAC/E5D,EAAAsD,OAAOO,UAAW,qDAAsDD,OAAQ,KAChF5D,EAAAsD,OAAOK,QAAS,EAAGE,UAAW,iDAAkDD,OAAQ,YTyhB9FO,IACA,SAASjG,EAAQC,GUpnBvBD,EAAAC,QAAA,i5BV0nBMiG,IACA,SAASlG,EAAQC,GW3nBvBD,EAAAC,QAAA","file":"bundle.js","sourcesContent":["webpackJsonp([0],{\n\n/***/ 0:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar platform_browser_dynamic_1 = __webpack_require__(1);\n\tvar app_module_1 = __webpack_require__(337);\n\tplatform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(app_module_1.AppModule);\n\n\n/***/ },\n\n/***/ 337:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(11);\n\tvar platform_browser_1 = __webpack_require__(203);\n\tvar forms_1 = __webpack_require__(338);\n\tvar app_component_1 = __webpack_require__(376);\n\tvar AppModule = (function () {\n\t function AppModule() {\n\t }\n\t AppModule = __decorate([\n\t core_1.NgModule({\n\t imports: [platform_browser_1.BrowserModule, forms_1.FormsModule],\n\t declarations: [app_component_1.AppComponent],\n\t bootstrap: [app_component_1.AppComponent]\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], AppModule);\n\t return AppModule;\n\t}());\n\texports.AppModule = AppModule;\n\n\n/***/ },\n\n/***/ 376:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(11);\n\tvar src_1 = __webpack_require__(377);\n\tvar AppComponent = (function () {\n\t function AppComponent() {\n\t this.show = true;\n\t this.state = '';\n\t this.inAnimations = [\n\t 'fadeIn',\n\t 'fadeInDown',\n\t 'fadeInLeft',\n\t 'fadeInRight',\n\t 'fadeInUp',\n\t 'bounceIn',\n\t 'bounceInDown',\n\t 'bounceInLeft',\n\t 'bounceInRight',\n\t 'bounceInUp',\n\t 'rotateIn',\n\t 'rotateInDownLeft',\n\t 'rotateInDownRight',\n\t 'rotateInUpLeft',\n\t 'rotateInUpRight',\n\t 'slideInDown',\n\t 'slideInLeft',\n\t 'slideInRight',\n\t 'slideInUp',\n\t 'zoomIn',\n\t 'zoomInDown',\n\t 'zoomInLeft',\n\t 'zoomInRight',\n\t 'zoomInUp',\n\t ];\n\t this.outAnimations = [\n\t 'fadeOut',\n\t 'fadeOutDown',\n\t 'fadeOutLeft',\n\t 'fadeOutRight',\n\t 'fadeOutUp',\n\t 'bounceOut',\n\t 'bounceOutDown',\n\t 'bounceOutLeft',\n\t 'bounceOutRight',\n\t 'bounceOutUp',\n\t 'rotateOut',\n\t 'rotateOutDownLeft',\n\t 'rotateOutDownRight',\n\t 'rotateOutUpLeft',\n\t 'rotateOutUpRight',\n\t 'slideOutDown',\n\t 'slideOutLeft',\n\t 'slideOutRight',\n\t 'slideOutUp',\n\t 'zoomOut',\n\t 'zoomOutDown',\n\t 'zoomOutLeft',\n\t 'zoomOutRight',\n\t 'zoomOutUp',\n\t ];\n\t this.inAnimations = this.inAnimations.map(function (item) {\n\t return {\n\t key: item,\n\t show: true,\n\t bg: Math.floor(Math.random() * 16777215).toString(16)\n\t };\n\t });\n\t this.outAnimations = this.outAnimations.map(function (item) {\n\t return {\n\t key: item,\n\t bg: Math.floor(Math.random() * 16777215).toString(16)\n\t };\n\t });\n\t }\n\t AppComponent.prototype.onToggleInAll = function () {\n\t this.inAnimations.forEach(function (item) { return item.show = !item.show; });\n\t };\n\t AppComponent.prototype.onToggleOutAll = function () {\n\t this.outAnimations.forEach(function (item) {\n\t item.state = item.state ? '' : item.key;\n\t });\n\t };\n\t AppComponent.prototype.onToggleOutItem = function (item) {\n\t item.state = item.state ? '' : item.key;\n\t };\n\t AppComponent = __decorate([\n\t core_1.Component({\n\t selector: 'app',\n\t template: __webpack_require__(383),\n\t styles: [__webpack_require__(384)],\n\t animations: [src_1.animateFactory(500)]\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], AppComponent);\n\t return AppComponent;\n\t}());\n\texports.AppComponent = AppComponent;\n\n\n/***/ },\n\n/***/ 377:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar core_1 = __webpack_require__(11);\n\tvar fade_1 = __webpack_require__(378);\n\tvar bounce_1 = __webpack_require__(379);\n\tvar rotate_1 = __webpack_require__(380);\n\tvar slide_1 = __webpack_require__(381);\n\tvar zoom_1 = __webpack_require__(382);\n\texports.animateFactory = function (duration, delay, easing) {\n\t if (duration === void 0) { duration = 500; }\n\t if (delay === void 0) { delay = 0; }\n\t if (easing === void 0) { easing = 'linear'; }\n\t var timing = [\n\t typeof (duration) === 'number' ? duration + \"ms\" : duration,\n\t typeof (delay) === 'number' ? delay + \"ms\" : delay,\n\t easing\n\t ].join(' ');\n\t return core_1.trigger('animate', fade_1.fade(timing).concat(bounce_1.bounce(timing), rotate_1.rotate(timing), slide_1.slide(timing), zoom_1.zoom(timing)));\n\t};\n\n\n/***/ },\n\n/***/ 378:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar core_1 = __webpack_require__(11);\n\texports.fade = function (timing) { return [\n\t core_1.state('fadeOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => fadeIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, offset: 0 }),\n\t core_1.style({ opacity: 1, offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeIn => void, * => fadeOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, offset: 0 }),\n\t core_1.style({ opacity: 0, offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInDown => void, * => fadeOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInLeft => void, * => fadeOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInRight => void, * => fadeOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInUp => void, * => fadeOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 379:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar core_1 = __webpack_require__(11);\n\texports.bounce = function (timing) { return [\n\t core_1.state('bounceOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => bounceIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2 }),\n\t core_1.style({ transform: 'scale3d(.9, .9, .9)', offset: 0.4 }),\n\t core_1.style({ transform: 'scale3d(1.03, 1.03, 1.03)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(.97, .97, .97)', offset: 0.8 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceIn => void, * => bounceOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'scale3d(.9, .9, .9)', offset: 0.2 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.5 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 1 }),\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(0, -10px, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(0, 5px, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInDown => void, * => bounceOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 10px, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.5 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(5px, 0, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInLeft => void, * => bounceOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(10px, 0, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(-5px, 0, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInRight => void, * => bounceOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(0, 10px, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(0, -5px, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInUp => void, * => bounceOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, -10px, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.5 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 380:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar core_1 = __webpack_require__(11);\n\texports.rotate = function (timing) { return [\n\t core_1.state('rotateOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutDownLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutDownRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutUpLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutUpRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => rotateIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, -200deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateIn => void, * => rotateOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 200deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInDownLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInDownLeft => void, * => rotateOutDownLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInDownRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInDownRight => void, * => rotateOutDownRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInUpLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInUpLeft => void, * => rotateOutUpLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInUpRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInUpRight => void, * => rotateOutUpRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 381:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar core_1 = __webpack_require__(11);\n\texports.slide = function (timing) { return [\n\t core_1.state('slideOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('slideOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('slideOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('slideOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => slideInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, -100%, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInDown => void, * => slideOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 100%, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => slideInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(-100%, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInLeft => void, * => slideOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => slideInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(100%, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInRight => void, * => slideOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(-100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => slideInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 100%, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInUp => void, * => slideOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, -100%, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 382:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar core_1 = __webpack_require__(11);\n\texports.zoom = function (timing) { return [\n\t core_1.state('zoomOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => zoomIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomIn => void, * => zoomOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInDown => void, * => zoomOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.4 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInLeft => void, * => zoomOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInRight => void, * => zoomOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInUp => void, * => zoomOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.4 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 383:\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\\n

Entering and Leaving

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n

Replace With [hidden]

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n\\n

\\n View on GitHub\\n

\\n\\n
\"\n\n/***/ },\n\n/***/ 384:\n/***/ function(module, exports) {\n\n\tmodule.exports = \".container {\\n margin: 0 auto;\\n max-width: 960px;\\n}\\n\\nh2 {\\n color: #f35626;\\n background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);\\n -webkit-background-clip: text;\\n -webkit-text-fill-color: transparent;\\n -webkit-animation: hue 60s infinite linear;\\n text-align: center;\\n}\\n\\n.wrap {\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: center;\\n}\\n\\n.demo-wrap {\\n color: #eeeeee;\\n width: 130px;\\n height: 130px;\\n margin: 5px;\\n background-color: #898b8b;\\n}\\n\\n.demo-item {\\n width: 100%;\\n height: 100%;\\n font-size: 14px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n background-color: #339966;\\n}\\n\\np {\\n text-align: center;\\n}\\n\\na {\\n margin-top: 30px;\\n color: #7b8993;\\n text-decoration: underline;\\n -webkit-animation: hue 60s infinite linear;\\n background-color: white;\\n}\\n\\na:hover {\\n color: #f35626;\\n}\\n\\n@-webkit-keyframes hue {\\n from {\\n -webkit-filter: hue-rotate(0deg);\\n }\\n\\n to {\\n -webkit-filter: hue-rotate(-360deg);\\n }\\n}\"\n\n/***/ }\n\n});\n\n\n/** WEBPACK FOOTER **\n ** bundle.js\n **/","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n/** WEBPACK FOOTER **\n ** ./example/src/main.ts\n **/","import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n imports: [BrowserModule, FormsModule],\n declarations: [AppComponent],\n bootstrap: [AppComponent]\n})\nexport class AppModule {\n}\n\n\n/** WEBPACK FOOTER **\n ** ./example/src/app/app.module.ts\n **/","import { Component } from '@angular/core';\n\nimport { animateFactory } from '../../../src';\n\n@Component({\n selector: 'app',\n template: require('./app.html'),\n styles: [require('./app.css')],\n animations: [animateFactory(500)]\n})\nexport class AppComponent {\n show: boolean = true;\n state: string = '';\n inAnimations: any[] = [\n 'fadeIn',\n 'fadeInDown',\n 'fadeInLeft',\n 'fadeInRight',\n 'fadeInUp',\n\n 'bounceIn',\n 'bounceInDown',\n 'bounceInLeft',\n 'bounceInRight',\n 'bounceInUp',\n\n 'rotateIn',\n 'rotateInDownLeft',\n 'rotateInDownRight',\n 'rotateInUpLeft',\n 'rotateInUpRight',\n\n 'slideInDown',\n 'slideInLeft',\n 'slideInRight',\n 'slideInUp',\n\n 'zoomIn',\n 'zoomInDown',\n 'zoomInLeft',\n 'zoomInRight',\n 'zoomInUp',\n ];\n\n outAnimations: any[] = [\n 'fadeOut',\n 'fadeOutDown',\n 'fadeOutLeft',\n 'fadeOutRight',\n 'fadeOutUp',\n\n 'bounceOut',\n 'bounceOutDown',\n 'bounceOutLeft',\n 'bounceOutRight',\n 'bounceOutUp',\n\n 'rotateOut',\n 'rotateOutDownLeft',\n 'rotateOutDownRight',\n 'rotateOutUpLeft',\n 'rotateOutUpRight',\n\n 'slideOutDown',\n 'slideOutLeft',\n 'slideOutRight',\n 'slideOutUp',\n\n 'zoomOut',\n 'zoomOutDown',\n 'zoomOutLeft',\n 'zoomOutRight',\n 'zoomOutUp',\n ];\n\n constructor() {\n this.inAnimations = this.inAnimations.map(item => {\n return {\n key: item,\n show: true,\n bg: Math.floor(Math.random() * 16777215).toString(16)\n }\n });\n\n this.outAnimations = this.outAnimations.map(item => {\n return {\n key: item,\n bg: Math.floor(Math.random() * 16777215).toString(16)\n }\n });\n }\n\n onToggleInAll() {\n this.inAnimations.forEach(item => item.show = !item.show);\n }\n\n onToggleOutAll() {\n this.outAnimations.forEach(item => {\n item.state = item.state ? '' : item.key;\n });\n }\n\n onToggleOutItem(item) {\n item.state = item.state ? '' : item.key;\n }\n}\n\n\n/** WEBPACK FOOTER **\n ** ./example/src/app/app.component.ts\n **/","import { trigger, AnimationEntryMetadata } from '@angular/core';\n\nimport { fade } from './animations/fade';\nimport { bounce } from './animations/bounce';\nimport { rotate } from './animations/rotate';\nimport { slide } from './animations/slide';\nimport { zoom } from './animations/zoom';\n\nexport const animateFactory = (duration: string|number = 500, delay: string|number = 0, easing: string = 'linear'): AnimationEntryMetadata => {\n\n let timing: string = [\n typeof(duration) === 'number' ? `${duration}ms` : duration,\n typeof(delay) === 'number' ? `${delay}ms` : delay,\n easing\n ].join(' ');\n\n return trigger('animate', [\n ...fade(timing),\n ...bounce(timing),\n ...rotate(timing),\n ...slide(timing),\n ...zoom(timing)\n ]);\n};\n\n\n/** WEBPACK FOOTER **\n ** ./src/index.ts\n **/","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const fade = (timing: string): AnimationMetadata[] => [\n state('fadeOut', style({\n display: 'none'\n })),\n state('fadeOutDown', style({\n display: 'none'\n })),\n state('fadeOutLeft', style({\n display: 'none'\n })),\n state('fadeOutRight', style({\n display: 'none'\n })),\n state('fadeOutUp', style({\n display: 'none'\n })),\n transition('* => fadeIn', [\n animate(timing, keyframes([\n style({opacity: 0, offset: 0}),\n style({opacity: 1, offset: 1})\n ]))\n ]),\n transition('fadeIn => void, * => fadeOut', [\n animate(timing, keyframes([\n style({opacity: 1, offset: 0}),\n style({opacity: 0, offset: 1})\n ]))\n ]),\n transition('* => fadeInDown', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInDown => void, * => fadeOutDown', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 1})\n ]))\n ]),\n transition('* => fadeInLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInLeft => void, * => fadeOutRight', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => fadeInRight', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInRight => void, * => fadeOutLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => fadeInUp', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInUp => void, * => fadeOutUp', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 1})\n ]))\n ])\n];\n\n\n/** WEBPACK FOOTER **\n ** ./src/animations/fade.ts\n **/","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const bounce = (timing: string): AnimationMetadata[] => [\n state('bounceOut', style({\n display: 'none'\n })),\n state('bounceOutDown', style({\n display: 'none'\n })),\n state('bounceOutLeft', style({\n display: 'none'\n })),\n state('bounceOutRight', style({\n display: 'none'\n })),\n state('bounceOutUp', style({\n display: 'none'\n })),\n transition('* => bounceIn', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 0}),\n style({transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2}),\n style({transform: 'scale3d(.9, .9, .9)', offset: 0.4}),\n style({transform: 'scale3d(1.03, 1.03, 1.03)', offset: 0.6}),\n style({transform: 'scale3d(.97, .97, .97)', offset: 0.8}),\n style({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1})\n ]))\n ]),\n transition('bounceIn => void, * => bounceOut', [\n animate(timing, keyframes([\n style({transform: 'scale3d(.9, .9, .9)', offset: 0.2}),\n style({opacity: 1, transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.5}),\n style({opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 1}),\n ]))\n ]),\n transition('* => bounceInDown', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.6}),\n style({transform: 'translate3d(0, -10px, 0)', offset: 0.75}),\n style({transform: 'translate3d(0, 5px, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInDown => void, * => bounceOutDown', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 10px, 0)', offset: 0.2}),\n style({opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.5}),\n style({opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 1})\n ]))\n ]),\n transition('* => bounceInLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.6}),\n style({transform: 'translate3d(-10px, 0, 0)', offset: 0.75}),\n style({transform: 'translate3d(5px, 0, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInLeft => void, * => bounceOutRight', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.2}),\n style({opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => bounceInRight', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.6}),\n style({transform: 'translate3d(10px, 0, 0)', offset: 0.75}),\n style({transform: 'translate3d(-5px, 0, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInRight => void, * => bounceOutLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.2}),\n style({opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => bounceInUp', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.6}),\n style({transform: 'translate3d(0, 10px, 0)', offset: 0.75}),\n style({transform: 'translate3d(0, -5px, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInUp => void, * => bounceOutUp', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, -10px, 0)', offset: 0.2}),\n style({opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.5}),\n style({opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 1})\n ]))\n ])\n];\n\n\n/** WEBPACK FOOTER **\n ** ./src/animations/bounce.ts\n **/","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const rotate = (timing: string): AnimationMetadata[] => [\n state('rotateOut', style({\n display: 'none'\n })),\n state('rotateOutDownLeft', style({\n display: 'none'\n })),\n state('rotateOutDownRight', style({\n display: 'none'\n })),\n state('rotateOutUpLeft', style({\n display: 'none'\n })),\n state('rotateOutUpRight', style({\n display: 'none'\n })),\n transition('* => rotateIn', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, -200deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateIn => void, * => rotateOut', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 200deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInDownLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInDownLeft => void, * => rotateOutDownLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInDownRight', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInDownRight => void, * => rotateOutDownRight', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInUpLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInUpLeft => void, * => rotateOutUpLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInUpRight', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInUpRight => void, * => rotateOutUpRight', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1})\n ]))\n ])\n];\n\n\n/** WEBPACK FOOTER **\n ** ./src/animations/rotate.ts\n **/","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const slide = (timing: string): AnimationMetadata[] => [\n state('slideOutDown', style({\n display: 'none'\n })),\n state('slideOutLeft', style({\n display: 'none'\n })),\n state('slideOutRight', style({\n display: 'none'\n })),\n state('slideOutUp', style({\n display: 'none'\n })),\n transition('* => slideInDown', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, -100%, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInDown => void, * => slideOutDown', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, 100%, 0)', offset: 1})\n ]))\n ]),\n transition('* => slideInLeft', [\n animate(timing, keyframes([\n style({transform: 'translate3d(-100%, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInLeft => void, * => slideOutRight', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => slideInRight', [\n animate(timing, keyframes([\n style({transform: 'translate3d(100%, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInRight => void, * => slideOutLeft', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(-100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => slideInUp', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 100%, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInUp => void, * => slideOutUp', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, -100%, 0)', offset: 1})\n ]))\n ])\n];\n\n\n/** WEBPACK FOOTER **\n ** ./src/animations/slide.ts\n **/","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const zoom = (timing: string): AnimationMetadata[] => [\n state('zoomOut', style({\n display: 'none'\n })),\n state('zoomOutDown', style({\n display: 'none'\n })),\n state('zoomOutLeft', style({\n display: 'none'\n })),\n state('zoomOutRight', style({\n display: 'none'\n })),\n state('zoomOutUp', style({\n display: 'none'\n })),\n transition('* => zoomIn', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1})\n ]))\n ]),\n transition('zoomIn => void, * => zoomOut', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 0}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 1})\n ]))\n ]),\n transition('* => zoomInDown', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInDown => void, * => zoomOutDown', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.4}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 1})\n ]))\n ]),\n transition('* => zoomInLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInLeft => void, * => zoomOutRight', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => zoomInRight', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInRight => void, * => zoomOutLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => zoomInUp', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInUp => void, * => zoomOutUp', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.4}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 1})\n ]))\n ])\n];\n\n\n/** WEBPACK FOOTER **\n ** ./src/animations/zoom.ts\n **/","module.exports = \"
\\n

Entering and Leaving

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n

Replace With [hidden]

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n\\n

\\n View on GitHub\\n

\\n\\n
\"\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./example/src/app/app.html\n ** module id = 383\n ** module chunks = 0\n **/","module.exports = \".container {\\n margin: 0 auto;\\n max-width: 960px;\\n}\\n\\nh2 {\\n color: #f35626;\\n background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);\\n -webkit-background-clip: text;\\n -webkit-text-fill-color: transparent;\\n -webkit-animation: hue 60s infinite linear;\\n text-align: center;\\n}\\n\\n.wrap {\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: center;\\n}\\n\\n.demo-wrap {\\n color: #eeeeee;\\n width: 130px;\\n height: 130px;\\n margin: 5px;\\n background-color: #898b8b;\\n}\\n\\n.demo-item {\\n width: 100%;\\n height: 100%;\\n font-size: 14px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n background-color: #339966;\\n}\\n\\np {\\n text-align: center;\\n}\\n\\na {\\n margin-top: 30px;\\n color: #7b8993;\\n text-decoration: underline;\\n -webkit-animation: hue 60s infinite linear;\\n background-color: white;\\n}\\n\\na:hover {\\n color: #f35626;\\n}\\n\\n@-webkit-keyframes hue {\\n from {\\n -webkit-filter: hue-rotate(0deg);\\n }\\n\\n to {\\n -webkit-filter: hue-rotate(-360deg);\\n }\\n}\"\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./example/src/app/app.css\n ** module id = 384\n ** module chunks = 0\n **/"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///bundle.js","webpack:///./example/src/main.ts","webpack:///./example/src/app/app.module.ts","webpack:///./example/src/app/app.component.ts","webpack:///./src/index.ts","webpack:///./src/animations/fade.ts","webpack:///./src/animations/bounce.ts","webpack:///./src/animations/rotate.ts","webpack:///./src/animations/slide.ts","webpack:///./src/animations/zoom.ts","webpack:///./example/src/app/app.html","webpack:///./example/src/app/app.css"],"names":["webpackJsonp","0","module","exports","__webpack_require__","Object","defineProperty","value","platform_browser_dynamic_1","app_module_1","platformBrowserDynamic","bootstrapModule","AppModule","337","__decorate","this","decorators","target","key","desc","d","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","core_1","platform_browser_1","forms_1","app_component_1","NgModule","imports","BrowserModule","FormsModule","declarations","AppComponent","bootstrap","376","__metadata","k","v","metadata","src_1","show","state","inAnimations","outAnimations","map","item","bg","Math","floor","random","toString","prototype","onToggleInAll","forEach","onToggleOutAll","onToggleOutItem","Component","selector","template","styles","animations","animateFactory","377","fade_1","bounce_1","rotate_1","slide_1","zoom_1","defaults","duration","delay","easing","name","timing","join","trigger","fade","concat","bounce","rotate","slide","zoom","factory","options","378","style","display","transition","animate","keyframes","opacity","offset","transform","379","380","transformOrigin","381","382","383","384"],"mappings":"AAAAA,cAAc,IAERC,EACA,SAASC,EAAQC,EAASC,GAE/B,YACAC,QAAOC,eAAeH,EAAS,cAAgBI,OAAO,GCNvD,IAAAC,GAAAJ,EAAA,GAEAK,EAAAL,EAAA,IAEAI,GAAAE,yBAAyBC,gBAAgBF,EAAAG,YDUnCC,IACA,SAASX,EAAQC,EAASC,GAE/B,YACA,IAAIU,GAAcC,MAAQA,KAAKD,YAAe,SAAUE,EAAYC,EAAQC,EAAKC,GAC7E,GAA2HC,GAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOd,OAAOoB,yBAAyBR,EAAQC,GAAOC,CACrH,IAAuB,gBAAZO,UAAoD,kBAArBA,SAAQC,SAAyBH,EAAIE,QAAQC,SAASX,EAAYC,EAAQC,EAAKC,OACpH,KAAK,GAAIS,GAAIZ,EAAWO,OAAS,EAAGK,GAAK,EAAGA,KAASR,EAAIJ,EAAWY,MAAIJ,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,EAChJ,OAAOH,GAAI,GAAKG,GAAKnB,OAAOC,eAAeW,EAAQC,EAAKM,GAAIA,EAEhEnB,QAAOC,eAAeH,EAAS,cAAgBI,OAAO,GExBvD,IAAAsB,GAAAzB,EAAA,IACA0B,EAAA1B,EAAA,KACA2B,EAAA3B,EAAA,KAEA4B,EAAA5B,EAAA,KAOaQ,EAAS,WAAtB,QAAAA,MACA,MAAAA,KADaA,GAASE,GALrBe,EAAAI,UACGC,SAAUJ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FpE,EAAA8D,OAAOK,QAAS,EAAGE,UAAW,qDAAsDD,OAAQ,KAC5FpE,EAAA8D,OAAOO,UAAW,wCAAyCD,OAAQ,SAG3EpE,EAAAgE,WAAW,oCACPhE,EAAAiE,QAAQf,EAAQlD,EAAAkE,WACZlE,EAAA8D,OAAOK,QAAS,EAAGE,UAAW,wCAAyCD,OAAQ,IAC/EpE,EAAA8D,OAAOO,UAAW,qDAAsDD,OAAQ,KAChFpE,EAAA8D,OAAOK,QAAS,EAAGE,UAAW,iDAAkDD,OAAQ,YTyiB9FO,IACA,SAAStG,EAAQC,GUpoBvBD,EAAAC,QAAA,i5BV0oBMsG,IACA,SAASvG,EAAQC,GW3oBvBD,EAAAC,QAAA","file":"bundle.js","sourcesContent":["webpackJsonp([0],{\n\n/***/ 0:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar platform_browser_dynamic_1 = __webpack_require__(1);\n\tvar app_module_1 = __webpack_require__(337);\n\tplatform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(app_module_1.AppModule);\n\n\n/***/ },\n\n/***/ 337:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\tvar platform_browser_1 = __webpack_require__(203);\n\tvar forms_1 = __webpack_require__(338);\n\tvar app_component_1 = __webpack_require__(376);\n\tvar AppModule = (function () {\n\t function AppModule() {\n\t }\n\t return AppModule;\n\t}());\n\tAppModule = __decorate([\n\t core_1.NgModule({\n\t imports: [platform_browser_1.BrowserModule, forms_1.FormsModule],\n\t declarations: [app_component_1.AppComponent],\n\t bootstrap: [app_component_1.AppComponent]\n\t })\n\t], AppModule);\n\texports.AppModule = AppModule;\n\n\n/***/ },\n\n/***/ 376:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\tvar src_1 = __webpack_require__(377);\n\tvar AppComponent = (function () {\n\t function AppComponent() {\n\t this.show = true;\n\t this.state = '';\n\t this.inAnimations = [\n\t 'fadeIn',\n\t 'fadeInDown',\n\t 'fadeInLeft',\n\t 'fadeInRight',\n\t 'fadeInUp',\n\t 'bounceIn',\n\t 'bounceInDown',\n\t 'bounceInLeft',\n\t 'bounceInRight',\n\t 'bounceInUp',\n\t 'rotateIn',\n\t 'rotateInDownLeft',\n\t 'rotateInDownRight',\n\t 'rotateInUpLeft',\n\t 'rotateInUpRight',\n\t 'slideInDown',\n\t 'slideInLeft',\n\t 'slideInRight',\n\t 'slideInUp',\n\t 'zoomIn',\n\t 'zoomInDown',\n\t 'zoomInLeft',\n\t 'zoomInRight',\n\t 'zoomInUp',\n\t ];\n\t this.outAnimations = [\n\t 'fadeOut',\n\t 'fadeOutDown',\n\t 'fadeOutLeft',\n\t 'fadeOutRight',\n\t 'fadeOutUp',\n\t 'bounceOut',\n\t 'bounceOutDown',\n\t 'bounceOutLeft',\n\t 'bounceOutRight',\n\t 'bounceOutUp',\n\t 'rotateOut',\n\t 'rotateOutDownLeft',\n\t 'rotateOutDownRight',\n\t 'rotateOutUpLeft',\n\t 'rotateOutUpRight',\n\t 'slideOutDown',\n\t 'slideOutLeft',\n\t 'slideOutRight',\n\t 'slideOutUp',\n\t 'zoomOut',\n\t 'zoomOutDown',\n\t 'zoomOutLeft',\n\t 'zoomOutRight',\n\t 'zoomOutUp',\n\t ];\n\t this.inAnimations = this.inAnimations.map(function (item) {\n\t return {\n\t key: item,\n\t show: true,\n\t bg: Math.floor(Math.random() * 16777215).toString(16)\n\t };\n\t });\n\t this.outAnimations = this.outAnimations.map(function (item) {\n\t return {\n\t key: item,\n\t bg: Math.floor(Math.random() * 16777215).toString(16)\n\t };\n\t });\n\t }\n\t AppComponent.prototype.onToggleInAll = function () {\n\t this.inAnimations.forEach(function (item) { return item.show = !item.show; });\n\t };\n\t AppComponent.prototype.onToggleOutAll = function () {\n\t this.outAnimations.forEach(function (item) {\n\t item.state = item.state ? '' : item.key;\n\t });\n\t };\n\t AppComponent.prototype.onToggleOutItem = function (item) {\n\t item.state = item.state ? '' : item.key;\n\t };\n\t return AppComponent;\n\t}());\n\tAppComponent = __decorate([\n\t core_1.Component({\n\t selector: 'app',\n\t template: __webpack_require__(383),\n\t styles: [__webpack_require__(384)],\n\t animations: [src_1.animateFactory(500)]\n\t }),\n\t __metadata(\"design:paramtypes\", [])\n\t], AppComponent);\n\texports.AppComponent = AppComponent;\n\n\n/***/ },\n\n/***/ 377:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\tvar fade_1 = __webpack_require__(378);\n\tvar bounce_1 = __webpack_require__(379);\n\tvar rotate_1 = __webpack_require__(380);\n\tvar slide_1 = __webpack_require__(381);\n\tvar zoom_1 = __webpack_require__(382);\n\texports.defaults = {\n\t duration: 500,\n\t delay: 0,\n\t easing: 'linear',\n\t name: 'animate'\n\t};\n\texports.animateFactory = function (duration, delay, easing, name) {\n\t duration = duration || exports.defaults.duration;\n\t delay = delay || exports.defaults.delay;\n\t easing = easing || exports.defaults.easing;\n\t name = name || exports.defaults.name;\n\t var timing = [\n\t typeof (duration) === 'number' ? duration + \"ms\" : duration,\n\t typeof (delay) === 'number' ? delay + \"ms\" : delay,\n\t easing\n\t ].join(' ');\n\t return core_1.trigger(name, fade_1.fade(timing).concat(bounce_1.bounce(timing), rotate_1.rotate(timing), slide_1.slide(timing), zoom_1.zoom(timing)));\n\t};\n\texports.factory = function (options) {\n\t if (options === void 0) { options = {}; }\n\t return exports.animateFactory(options.duration, options.delay, options.easing, options.name);\n\t};\n\n\n/***/ },\n\n/***/ 378:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\texports.fade = function (timing) { return [\n\t core_1.state('fadeOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('fadeOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => fadeIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, offset: 0 }),\n\t core_1.style({ opacity: 1, offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeIn => void, * => fadeOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, offset: 0 }),\n\t core_1.style({ opacity: 0, offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInDown => void, * => fadeOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInLeft => void, * => fadeOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInRight => void, * => fadeOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => fadeInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('fadeInUp => void, * => fadeOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 379:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\texports.bounce = function (timing) { return [\n\t core_1.state('bounceOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('bounceOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => bounceIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2 }),\n\t core_1.style({ transform: 'scale3d(.9, .9, .9)', offset: 0.4 }),\n\t core_1.style({ transform: 'scale3d(1.03, 1.03, 1.03)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(.97, .97, .97)', offset: 0.8 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceIn => void, * => bounceOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'scale3d(.9, .9, .9)', offset: 0.2 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.5 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 1 }),\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(0, -10px, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(0, 5px, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInDown => void, * => bounceOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 10px, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.5 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(5px, 0, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInLeft => void, * => bounceOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(10px, 0, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(-5px, 0, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInRight => void, * => bounceOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => bounceInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'translate3d(0, 10px, 0)', offset: 0.75 }),\n\t core_1.style({ transform: 'translate3d(0, -5px, 0)', offset: 0.9 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('bounceInUp => void, * => bounceOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, -10px, 0)', offset: 0.2 }),\n\t core_1.style({ opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.5 }),\n\t core_1.style({ opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 380:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\texports.rotate = function (timing) { return [\n\t core_1.state('rotateOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutDownLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutDownRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutUpLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('rotateOutUpRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => rotateIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, -200deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateIn => void, * => rotateOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 200deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInDownLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInDownLeft => void, * => rotateOutDownLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInDownRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInDownRight => void, * => rotateOutDownRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInUpLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInUpLeft => void, * => rotateOutUpLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => rotateInUpRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0 }),\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('rotateInUpRight => void, * => rotateOutUpRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0 }),\n\t core_1.style({ opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 381:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\texports.slide = function (timing) { return [\n\t core_1.state('slideOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('slideOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('slideOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('slideOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => slideInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, -100%, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInDown => void, * => slideOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 100%, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => slideInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(-100%, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInLeft => void, * => slideOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => slideInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(100%, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInRight => void, * => slideOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(-100%, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => slideInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 100%, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('slideInUp => void, * => slideOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'translate3d(0, -100%, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 382:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar core_1 = __webpack_require__(11);\n\texports.zoom = function (timing) { return [\n\t core_1.state('zoomOut', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutDown', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutLeft', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutRight', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.state('zoomOutUp', core_1.style({\n\t display: 'none'\n\t })),\n\t core_1.transition('* => zoomIn', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomIn => void, * => zoomOut', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 0 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInDown => void, * => zoomOutDown', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.4 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInLeft => void, * => zoomOutRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInRight', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInRight => void, * => zoomOutLeft', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('* => zoomInUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 0 }),\n\t core_1.style({ opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.6 }),\n\t core_1.style({ transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1 })\n\t ]))\n\t ]),\n\t core_1.transition('zoomInUp => void, * => zoomOutUp', [\n\t core_1.animate(timing, core_1.keyframes([\n\t core_1.style({ opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0 }),\n\t core_1.style({ transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.4 }),\n\t core_1.style({ opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 1 })\n\t ]))\n\t ])\n\t]; };\n\n\n/***/ },\n\n/***/ 383:\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\\n

Entering and Leaving

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n

Replace With [hidden]

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n\\n

\\n View on GitHub\\n

\\n\\n
\"\n\n/***/ },\n\n/***/ 384:\n/***/ function(module, exports) {\n\n\tmodule.exports = \".container {\\n margin: 0 auto;\\n max-width: 960px;\\n}\\n\\nh2 {\\n color: #f35626;\\n background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);\\n -webkit-background-clip: text;\\n -webkit-text-fill-color: transparent;\\n -webkit-animation: hue 60s infinite linear;\\n text-align: center;\\n}\\n\\n.wrap {\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: center;\\n}\\n\\n.demo-wrap {\\n color: #eeeeee;\\n width: 130px;\\n height: 130px;\\n margin: 5px;\\n background-color: #898b8b;\\n}\\n\\n.demo-item {\\n width: 100%;\\n height: 100%;\\n font-size: 14px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n background-color: #339966;\\n}\\n\\np {\\n text-align: center;\\n}\\n\\na {\\n margin-top: 30px;\\n color: #7b8993;\\n text-decoration: underline;\\n -webkit-animation: hue 60s infinite linear;\\n background-color: white;\\n}\\n\\na:hover {\\n color: #f35626;\\n}\\n\\n@-webkit-keyframes hue {\\n from {\\n -webkit-filter: hue-rotate(0deg);\\n }\\n\\n to {\\n -webkit-filter: hue-rotate(-360deg);\\n }\\n}\"\n\n/***/ }\n\n});\n\n\n// WEBPACK FOOTER //\n// bundle.js","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n// WEBPACK FOOTER //\n// ./example/src/main.ts","import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule } from '@angular/forms';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n imports: [BrowserModule, FormsModule],\n declarations: [AppComponent],\n bootstrap: [AppComponent]\n})\nexport class AppModule {\n}\n\n\n// WEBPACK FOOTER //\n// ./example/src/app/app.module.ts","import { Component } from '@angular/core';\n\nimport { animateFactory } from '../../../src';\n\n@Component({\n selector: 'app',\n template: require('./app.html'),\n styles: [require('./app.css')],\n animations: [animateFactory(500)]\n})\nexport class AppComponent {\n show: boolean = true;\n state: string = '';\n inAnimations: any[] = [\n 'fadeIn',\n 'fadeInDown',\n 'fadeInLeft',\n 'fadeInRight',\n 'fadeInUp',\n\n 'bounceIn',\n 'bounceInDown',\n 'bounceInLeft',\n 'bounceInRight',\n 'bounceInUp',\n\n 'rotateIn',\n 'rotateInDownLeft',\n 'rotateInDownRight',\n 'rotateInUpLeft',\n 'rotateInUpRight',\n\n 'slideInDown',\n 'slideInLeft',\n 'slideInRight',\n 'slideInUp',\n\n 'zoomIn',\n 'zoomInDown',\n 'zoomInLeft',\n 'zoomInRight',\n 'zoomInUp',\n ];\n\n outAnimations: any[] = [\n 'fadeOut',\n 'fadeOutDown',\n 'fadeOutLeft',\n 'fadeOutRight',\n 'fadeOutUp',\n\n 'bounceOut',\n 'bounceOutDown',\n 'bounceOutLeft',\n 'bounceOutRight',\n 'bounceOutUp',\n\n 'rotateOut',\n 'rotateOutDownLeft',\n 'rotateOutDownRight',\n 'rotateOutUpLeft',\n 'rotateOutUpRight',\n\n 'slideOutDown',\n 'slideOutLeft',\n 'slideOutRight',\n 'slideOutUp',\n\n 'zoomOut',\n 'zoomOutDown',\n 'zoomOutLeft',\n 'zoomOutRight',\n 'zoomOutUp',\n ];\n\n constructor() {\n this.inAnimations = this.inAnimations.map(item => {\n return {\n key: item,\n show: true,\n bg: Math.floor(Math.random() * 16777215).toString(16)\n }\n });\n\n this.outAnimations = this.outAnimations.map(item => {\n return {\n key: item,\n bg: Math.floor(Math.random() * 16777215).toString(16)\n }\n });\n }\n\n onToggleInAll() {\n this.inAnimations.forEach(item => item.show = !item.show);\n }\n\n onToggleOutAll() {\n this.outAnimations.forEach(item => {\n item.state = item.state ? '' : item.key;\n });\n }\n\n onToggleOutItem(item) {\n item.state = item.state ? '' : item.key;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./example/src/app/app.component.ts","import { trigger, AnimationEntryMetadata } from '@angular/core';\n\nimport { fade } from './animations/fade';\nimport { bounce } from './animations/bounce';\nimport { rotate } from './animations/rotate';\nimport { slide } from './animations/slide';\nimport { zoom } from './animations/zoom';\n\nexport const defaults = {\n duration:500,\n delay:0,\n easing:'linear',\n name:'animate'\n}\n\nexport const animateFactory = (duration: string|number, delay: string|number, easing: string, name: string): AnimationEntryMetadata => {\n duration = duration || defaults.duration\n delay = delay || defaults.delay\n easing = easing || defaults.easing\n name = name || defaults.name\n\n let timing: string = [\n typeof(duration) === 'number' ? `${duration}ms` : duration,\n typeof(delay) === 'number' ? `${delay}ms` : delay,\n easing\n ].join(' ');\n\n return trigger(name, [\n ...fade(timing),\n ...bounce(timing),\n ...rotate(timing),\n ...slide(timing),\n ...zoom(timing)\n ]);\n};\n\nexport const factory = (options={}) => {\n return animateFactory(options.duration, options.delay, options.easing, options.name);\n};\n\n\n// WEBPACK FOOTER //\n// ./src/index.ts","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const fade = (timing: string): AnimationMetadata[] => [\n state('fadeOut', style({\n display: 'none'\n })),\n state('fadeOutDown', style({\n display: 'none'\n })),\n state('fadeOutLeft', style({\n display: 'none'\n })),\n state('fadeOutRight', style({\n display: 'none'\n })),\n state('fadeOutUp', style({\n display: 'none'\n })),\n transition('* => fadeIn', [\n animate(timing, keyframes([\n style({opacity: 0, offset: 0}),\n style({opacity: 1, offset: 1})\n ]))\n ]),\n transition('fadeIn => void, * => fadeOut', [\n animate(timing, keyframes([\n style({opacity: 1, offset: 0}),\n style({opacity: 0, offset: 1})\n ]))\n ]),\n transition('* => fadeInDown', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInDown => void, * => fadeOutDown', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 1})\n ]))\n ]),\n transition('* => fadeInLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInLeft => void, * => fadeOutRight', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => fadeInRight', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(100%, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInRight => void, * => fadeOutLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(-100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => fadeInUp', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, 100%, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('fadeInUp => void, * => fadeOutUp', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({opacity: 0, transform: 'translate3d(0, -100%, 0)', offset: 1})\n ]))\n ])\n];\n\n\n// WEBPACK FOOTER //\n// ./src/animations/fade.ts","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const bounce = (timing: string): AnimationMetadata[] => [\n state('bounceOut', style({\n display: 'none'\n })),\n state('bounceOutDown', style({\n display: 'none'\n })),\n state('bounceOutLeft', style({\n display: 'none'\n })),\n state('bounceOutRight', style({\n display: 'none'\n })),\n state('bounceOutUp', style({\n display: 'none'\n })),\n transition('* => bounceIn', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 0}),\n style({transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2}),\n style({transform: 'scale3d(.9, .9, .9)', offset: 0.4}),\n style({transform: 'scale3d(1.03, 1.03, 1.03)', offset: 0.6}),\n style({transform: 'scale3d(.97, .97, .97)', offset: 0.8}),\n style({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1})\n ]))\n ]),\n transition('bounceIn => void, * => bounceOut', [\n animate(timing, keyframes([\n style({transform: 'scale3d(.9, .9, .9)', offset: 0.2}),\n style({opacity: 1, transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.5}),\n style({opacity: 0, transform: 'scale3d(.3, .3, .3)', offset: 1}),\n ]))\n ]),\n transition('* => bounceInDown', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.6}),\n style({transform: 'translate3d(0, -10px, 0)', offset: 0.75}),\n style({transform: 'translate3d(0, 5px, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInDown => void, * => bounceOutDown', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 10px, 0)', offset: 0.2}),\n style({opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.5}),\n style({opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 1})\n ]))\n ]),\n transition('* => bounceInLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.6}),\n style({transform: 'translate3d(-10px, 0, 0)', offset: 0.75}),\n style({transform: 'translate3d(5px, 0, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInLeft => void, * => bounceOutRight', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.2}),\n style({opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => bounceInRight', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(-20px, 0, 0)', offset: 0.6}),\n style({transform: 'translate3d(10px, 0, 0)', offset: 0.75}),\n style({transform: 'translate3d(-5px, 0, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInRight => void, * => bounceOutLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'translate3d(20px, 0, 0)', offset: 0.2}),\n style({opacity: 0, transform: 'translate3d(-1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => bounceInUp', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'translate3d(0, 1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'translate3d(0, -20px, 0)', offset: 0.6}),\n style({transform: 'translate3d(0, 10px, 0)', offset: 0.75}),\n style({transform: 'translate3d(0, -5px, 0)', offset: 0.9}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('bounceInUp => void, * => bounceOutUp', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, -10px, 0)', offset: 0.2}),\n style({opacity: 1, transform: 'translate3d(0, 20px, 0)', offset: 0.5}),\n style({opacity: 0, transform: 'translate3d(0, -1000px, 0)', offset: 1})\n ]))\n ])\n];\n\n\n// WEBPACK FOOTER //\n// ./src/animations/bounce.ts","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const rotate = (timing: string): AnimationMetadata[] => [\n state('rotateOut', style({\n display: 'none'\n })),\n state('rotateOutDownLeft', style({\n display: 'none'\n })),\n state('rotateOutDownRight', style({\n display: 'none'\n })),\n state('rotateOutUpLeft', style({\n display: 'none'\n })),\n state('rotateOutUpRight', style({\n display: 'none'\n })),\n transition('* => rotateIn', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, -200deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateIn => void, * => rotateOut', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'center', transform: 'rotate3d(0, 0, 1, 200deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInDownLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInDownLeft => void, * => rotateOutDownLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInDownRight', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInDownRight => void, * => rotateOutDownRight', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInUpLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInUpLeft => void, * => rotateOutUpLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'left bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 1})\n ]))\n ]),\n transition('* => rotateInUpRight', [\n animate(timing, keyframes([\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, -45deg)', offset: 0}),\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 1})\n ]))\n ]),\n transition('rotateInUpRight => void, * => rotateOutUpRight', [\n animate(timing, keyframes([\n style({opacity: 1, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 0deg)', offset: 0}),\n style({opacity: 0, transformOrigin: 'right bottom', transform: 'rotate3d(0, 0, 1, 45deg)', offset: 1})\n ]))\n ])\n];\n\n\n// WEBPACK FOOTER //\n// ./src/animations/rotate.ts","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const slide = (timing: string): AnimationMetadata[] => [\n state('slideOutDown', style({\n display: 'none'\n })),\n state('slideOutLeft', style({\n display: 'none'\n })),\n state('slideOutRight', style({\n display: 'none'\n })),\n state('slideOutUp', style({\n display: 'none'\n })),\n transition('* => slideInDown', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, -100%, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInDown => void, * => slideOutDown', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, 100%, 0)', offset: 1})\n ]))\n ]),\n transition('* => slideInLeft', [\n animate(timing, keyframes([\n style({transform: 'translate3d(-100%, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInLeft => void, * => slideOutRight', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => slideInRight', [\n animate(timing, keyframes([\n style({transform: 'translate3d(100%, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInRight => void, * => slideOutLeft', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(-100%, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => slideInUp', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 100%, 0)', offset: 0}),\n style({transform: 'translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('slideInUp => void, * => slideOutUp', [\n animate(timing, keyframes([\n style({transform: 'translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'translate3d(0, -100%, 0)', offset: 1})\n ]))\n ])\n];\n\n\n// WEBPACK FOOTER //\n// ./src/animations/slide.ts","import {\n style,\n state,\n transition,\n animate,\n keyframes,\n AnimationMetadata\n} from '@angular/core';\n\nexport const zoom = (timing: string): AnimationMetadata[] => [\n state('zoomOut', style({\n display: 'none'\n })),\n state('zoomOutDown', style({\n display: 'none'\n })),\n state('zoomOutLeft', style({\n display: 'none'\n })),\n state('zoomOutRight', style({\n display: 'none'\n })),\n state('zoomOutUp', style({\n display: 'none'\n })),\n transition('* => zoomIn', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 1})\n ]))\n ]),\n transition('zoomIn => void, * => zoomOut', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1)', offset: 0}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1)', offset: 1})\n ]))\n ]),\n transition('* => zoomInDown', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInDown => void, * => zoomOutDown', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(0, 60px, 0)', offset: 0.4}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 1})\n ]))\n ]),\n transition('* => zoomInLeft', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInLeft => void, * => zoomOutRight', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => zoomInRight', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(1000px, 0, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(-10px, 0, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInRight => void, * => zoomOutLeft', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(10px, 0, 0)', offset: 0.6}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(-1000px, 0, 0)', offset: 1})\n ]))\n ]),\n transition('* => zoomInUp', [\n animate(timing, keyframes([\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, 1000px, 0)', offset: 0}),\n style({opacity: 1, transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.6}),\n style({transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 1})\n ]))\n ]),\n transition('zoomInUp => void, * => zoomOutUp', [\n animate(timing, keyframes([\n style({opacity: 1, transform: 'scale3d(1, 1, 1) translate3d(0, 0, 0)', offset: 0}),\n style({transform: 'scale3d(.475, .475, .475) translate3d(0, -60px, 0)', offset: 0.4}),\n style({opacity: 0, transform: 'scale3d(.1, .1, .1) translate3d(0, -1000px, 0)', offset: 1})\n ]))\n ])\n];\n\n\n// WEBPACK FOOTER //\n// ./src/animations/zoom.ts","module.exports = \"
\\n

Entering and Leaving

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n

Replace With [hidden]

\\n
\\n
\\n
\\n {{item.key}}\\n
\\n
\\n
\\n\\n

\\n View on GitHub\\n

\\n\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./example/src/app/app.html\n// module id = 383\n// module chunks = 0","module.exports = \".container {\\n margin: 0 auto;\\n max-width: 960px;\\n}\\n\\nh2 {\\n color: #f35626;\\n background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);\\n -webkit-background-clip: text;\\n -webkit-text-fill-color: transparent;\\n -webkit-animation: hue 60s infinite linear;\\n text-align: center;\\n}\\n\\n.wrap {\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: center;\\n}\\n\\n.demo-wrap {\\n color: #eeeeee;\\n width: 130px;\\n height: 130px;\\n margin: 5px;\\n background-color: #898b8b;\\n}\\n\\n.demo-item {\\n width: 100%;\\n height: 100%;\\n font-size: 14px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n background-color: #339966;\\n}\\n\\np {\\n text-align: center;\\n}\\n\\na {\\n margin-top: 30px;\\n color: #7b8993;\\n text-decoration: underline;\\n -webkit-animation: hue 60s infinite linear;\\n background-color: white;\\n}\\n\\na:hover {\\n color: #f35626;\\n}\\n\\n@-webkit-keyframes hue {\\n from {\\n -webkit-filter: hue-rotate(0deg);\\n }\\n\\n to {\\n -webkit-filter: hue-rotate(-360deg);\\n }\\n}\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./example/src/app/app.css\n// module id = 384\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/example/dist/polyfills.js b/example/dist/polyfills.js index e2fd894..0d34381 100644 --- a/example/dist/polyfills.js +++ b/example/dist/polyfills.js @@ -1,2 +1,3 @@ -!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(i,a){for(var u,c,s=0,l=[];s0)return!0;var o=U.get(t);return o["delete"](n),o.size>0||(U["delete"](t),!0)}function p(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n],o=r(t);if(!b(o)){if(!D(o))throw new TypeError;t=o}}return t}function h(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=e[o],a=i(t,n,r);if(!b(a)){if(!O(a))throw new TypeError;r=a}}return r}function d(e,t,n){for(var r=e.length-1;r>=0;--r){var o=e[r];o(t,n)}}function v(e,t,n){var r=U.get(e);if(!r){if(!n)return;r=new X,U.set(e,r)}var o=r.get(t);if(!o){if(!n)return;o=new X,r.set(t,o)}return o}function y(e,t,n){var r=g(e,t,n);if(r)return!0;var o=M(t);return null!==o&&y(e,o,n)}function g(e,t,n){var r=v(t,n,!1);return void 0!==r&&Boolean(r.has(e))}function k(e,t,n){var r=g(e,t,n);if(r)return w(e,t,n);var o=M(t);return null!==o?k(e,o,n):void 0}function w(e,t,n){var r=v(t,n,!1);return void 0===r?void 0:r.get(e)}function _(e,t,n,r){var o=v(n,r,!0);o.set(e,t)}function m(e,t){var n=T(e,t),r=M(e);if(null===r)return n;var o=m(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new K,a=0;a=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype["delete"]=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;o",this._properties=t&&t.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,t)}return Object.defineProperty(e,"current",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return _},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},e.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},e.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},e.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},e.prototype.run=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=w;w=this;try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{w=o}},e.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=w;w=this;try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{w=o}},e.prototype.runTask=function(e,t,n){if(e.runCount++,e.zone!=this)throw new Error("A task can only be run in the zone which created it! (Creation: "+e.zone.name+"; Execution: "+this.name+")");var r=_;_=e;var o=w;w=this;try{"macroTask"==e.type&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{w=o,_=r}},e.prototype.scheduleMicroTask=function(e,t,n,r){return this._zoneDelegate.scheduleTask(this,new v("microTask",this,e,t,n,r,null))},e.prototype.scheduleMacroTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v("macroTask",this,e,t,n,r,o))},e.prototype.scheduleEventTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v("eventTask",this,e,t,n,r,o))},e.prototype.cancelTask=function(e){var t=this._zoneDelegate.cancelTask(this,e);return e.runCount=-1,e.cancelFn=null,t},e.__symbol__=t,e}(),d=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._hasTaskZS=n&&(n.onHasTask?n:t._hasTaskZS),this._hasTaskDlgt=n&&(n.onHasTask?t:t._hasTaskDlgt)}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new h(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,e,t)},e.prototype.scheduleTask=function(e,t){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,e,t);if(t.scheduleFn)t.scheduleFn(t);else{if("microTask"!=t.type)throw new Error("Task is missing scheduleFn.");r(t)}return t}finally{e==this.zone&&this._updateTaskCount(t.type,1)}},e.prototype.invokeTask=function(e,t,n,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,e,t,n,r):t.callback.apply(n,r)}finally{e!=this.zone||"eventTask"==t.type||t.data&&t.data.isPeriodic||this._updateTaskCount(t.type,-1)}},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,e,t);else{if(!t.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");n=t.cancelFn(t)}return e==this.zone&&this._updateTaskCount(t.type,-1),n},e.prototype.hasTask=function(e,t){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,e,t)},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};try{this.hasTask(this.zone,i)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(e,t)}}},e}(),v=function(){function e(e,t,n,r,o,a,u){this.runCount=0,this.type=e,this.zone=t,this.source=n,this.data=o,this.scheduleFn=a,this.cancelFn=u,this.callback=r;var c=this;this.invoke=function(){E++;try{return t.runTask(c,this,arguments)}finally{1==E&&i(),E--}}}return e.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:this.toString()},e}(),y=t("setTimeout"),g=t("Promise"),k=t("then"),w=new h(null,null),_=null,m=[],T=!1,b=[],E=0,O=t("state"),D=t("value"),P="Promise.then",S=null,M=!0,z=!1,C=0,j=function(){function e(t){var n=this;if(!(n instanceof e))throw new Error("Must be an instanceof Promise.");n[O]=S,n[D]=[];try{t&&t(s(n,M),s(n,z))}catch(r){l(n,!1,r)}}return e.resolve=function(e){return l(new this(null),M,e)},e.reject=function(e){return l(new this(null),z,e)},e.race=function(e){function t(e){i&&(i=r(e))}function n(e){i&&(i=o(e))}for(var r,o,i=new this(function(e,t){r=e,o=t}),u=0,c=e;u=0;n--)"function"==typeof e[n]&&(e[n]=Zone.current.wrap(e[n],t+"_"+n));return e}function o(e,t){for(var n=e.constructor.name,o=function(o){var i=t[o],a=e[i];a&&(e[i]=function(e){return function(){return e.apply(this,r(arguments,n+"."+i))}}(a))},i=0;i1?new t(e,n):new t(e),a=Object.getOwnPropertyDescriptor(i,"onmessage");return a&&a.configurable===!1?(r=Object.create(i),["addEventListener","removeEventListener","send","close"].forEach(function(e){r[e]=function(){return i[e].apply(i,arguments)}})):r=i,o.patchOnProperties(r,["close","error","message","open"]),r};for(var n in t)e.WebSocket[n]=t[n]}var o=n(3);t.apply=r},function(e,t,n){"use strict";function r(e,t,n,r){function i(t){var n=t.data;return n.args[0]=t.invoke,n.handleId=u.apply(e,n.args),t}function a(e){return c(e.data.handleId)}var u=null,c=null;t+=r,n+=r,u=o.patchMethod(e,t,function(n){return function(o,u){if("function"==typeof u[0]){var c=Zone.current,s={handleId:null,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?u[1]||0:null,args:u},l=c.scheduleMacroTask(t,u[0],s,i,a);if(!l)return l;var f=l.data.handleId;return f.ref&&f.unref&&(l.ref=f.ref.bind(f),l.unref=f.unref.bind(f)),l}return n.apply(e,u)}}),c=o.patchMethod(e,n,function(t){return function(n,r){var o=r[0];o&&"string"==typeof o.type?(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&o.zone.cancelTask(o):t.apply(e,r)}})}var o=n(3);t.patchTimer=r}])}).call(t,n(387))},387:function(e,t){function n(e){if(c===setTimeout)return setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function r(e){if(s===clearTimeout)return clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}function o(){h&&f&&(h=!1,f.length?p=f.concat(p):d=-1,p.length&&i())}function i(){if(!h){var e=n(o);h=!0;for(var t=p.length;t;){for(f=p,p=[];++d1)for(var r=1;r0)return!0;var o=re.get(t);return o.delete(n),o.size>0||(re.delete(t),!0)}function p(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n],o=r(t);if(!E(o)&&!O(o)){if(!C(o))throw new TypeError;t=o}}return t}function d(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=e[o],a=i(t,n,r);if(!E(a)&&!O(a)){if(!D(a))throw new TypeError;r=a}}return r}function y(e,t,n){var r=re.get(e);if(E(r)){if(!n)return;r=new ee,re.set(e,r)}var o=r.get(t);if(E(o)){if(!n)return;o=new ee,r.set(t,o)}return o}function v(e,t,n){var r=g(e,t,n);if(r)return!0;var o=B(t);return!O(o)&&v(e,o,n)}function g(e,t,n){var r=y(t,n,!1);return!E(r)&&M(r.has(e))}function k(e,t,n){var r=g(e,t,n);if(r)return _(e,t,n);var o=B(t);return O(o)?void 0:k(e,o,n)}function _(e,t,n){var r=y(t,n,!1);if(!E(r))return r.get(e)}function w(e,t,n,r){var o=y(n,r,!0);o.set(e,t)}function m(e,t){var n=b(e,t),r=B(e);if(null===r)return n;var o=m(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new te,a=[],u=0,c=n;u=0&&e=this._keys.length?(this._index=-1,this._keys=o,this._values=o):this._index++,{value:t,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=o,this._values=o),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=o,this._values=o),{value:e,done:!0}},e}();return function(){function o(){this._keys=[],this._values=[],this._cacheKey=r,this._cacheIndex=-2}return Object.defineProperty(o.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),o.prototype.has=function(e){return this._find(e,!1)>=0},o.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},o.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},o.prototype.delete=function(e){var t=this._find(e,!1);if(t>=0){for(var n=this._keys.length,o=t+1;o1)for(var n=1;n=0;n--)"function"==typeof e[n]&&(e[n]=Zone.current.wrap(e[n],t+"_"+n));return e}function r(e,t){for(var r=e.constructor.name,o=function(o){var i=t[o],a=e[i];a&&(e[i]=function(e){return function(){return e.apply(this,n(arguments,r+"."+i))}}(a))},i=0;i1?new t(e,n):new t(e),a=Object.getOwnPropertyDescriptor(o,"onmessage");return a&&a.configurable===!1?(r=Object.create(o),["addEventListener","removeEventListener","send","close"].forEach(function(e){r[e]=function(){return o[e].apply(o,arguments)}})):r=o,i(r,["close","error","message","open"]),r};for(var n in t)e.WebSocket[n]=t[n]}function b(e){if(!M){var t="undefined"!=typeof WebSocket;T()?(Z&&i(HTMLElement.prototype,K),i(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(i(IDBIndex.prototype,null),i(IDBRequest.prototype,null),i(IDBOpenDBRequest.prototype,null),i(IDBDatabase.prototype,null),i(IDBTransaction.prototype,null),i(IDBCursor.prototype,null)),t&&i(WebSocket.prototype,null)):(E(),l("XMLHttpRequest"),t&&m(e))}}function T(){if(Z&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var e=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(e&&!e.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{get:function(){return!0}});var t=new XMLHttpRequest,n=!!t.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),n}function E(){for(var e=function(e){var t=K[e],n="on"+t;self.addEventListener(t,function(e){var t,r,o=e.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][N]&&(t=Zone.current.wrap(o[n],r),t[N]=o[n],o[n]=t),o=o.parentElement},!0)},t=0;t",this._properties=t&&t.properties||{},this._zoneDelegate=new y(this,this._parent&&this._parent._zoneDelegate,t)}return n.assertZonePatched=function(){if(e.Promise!==z)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(n,"current",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(n,"currentTask",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),n.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},n.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},n.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},n.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},n.prototype.run=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=w;w=this;try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{w=o}},n.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=w;w=this;try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{w=o}},n.prototype.runTask=function(e,t,n){if(e.runCount++,e.zone!=this)throw new Error("A task can only be run in the zone which created it! (Creation: "+e.zone.name+"; Execution: "+this.name+")");var r=m;m=e;var o=w;w=this;try{"macroTask"==e.type&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{w=o,m=r}},n.prototype.scheduleMicroTask=function(e,t,n,r){return this._zoneDelegate.scheduleTask(this,new v("microTask",this,e,t,n,r,null))},n.prototype.scheduleMacroTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v("macroTask",this,e,t,n,r,o))},n.prototype.scheduleEventTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v("eventTask",this,e,t,n,r,o))},n.prototype.cancelTask=function(e){var t=this._zoneDelegate.cancelTask(this,e);return e.runCount=-1,e.cancelFn=null,t},n.__symbol__=t,n}(),y=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._hasTaskZS=n&&(n.onHasTask?n:t._hasTaskZS),this._hasTaskDlgt=n&&(n.onHasTask?t:t._hasTaskDlgt)}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new d(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,e,t)},e.prototype.scheduleTask=function(e,t){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,e,t);if(t.scheduleFn)t.scheduleFn(t);else{if("microTask"!=t.type)throw new Error("Task is missing scheduleFn.");r(t)}return t}finally{e==this.zone&&this._updateTaskCount(t.type,1)}},e.prototype.invokeTask=function(e,t,n,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,e,t,n,r):t.callback.apply(n,r)}finally{e!=this.zone||"eventTask"==t.type||t.data&&t.data.isPeriodic||this._updateTaskCount(t.type,-1)}},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,e,t);else{if(!t.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");n=t.cancelFn(t)}return e==this.zone&&this._updateTaskCount(t.type,-1),n},e.prototype.hasTask=function(e,t){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,e,t)},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};try{this.hasTask(this.zone,i)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(e,t)}}},e}(),v=function(){function e(e,t,n,r,o,a,u){this.runCount=0,this.type=e,this.zone=t,this.source=n,this.data=o,this.scheduleFn=a,this.cancelFn=u,this.callback=r;var c=this;this.invoke=function(){O++;try{return t.runTask(c,this,arguments)}finally{1==O&&i(),O--}}}return e.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},e}(),g=t("setTimeout"),k=t("Promise"),_=t("then"),w=new d(null,null),m=null,b=[],T=!1,E=[],O=0,S=t("state"),D=t("value"),j="Promise.then",P=null,M=!0,Z=!1,I=0,z=function(){function e(t){var n=this;if(!(n instanceof e))throw new Error("Must be an instanceof Promise.");n[S]=P,n[D]=[];try{t&&t(s(n,M),s(n,Z))}catch(e){f(n,!1,e)}}return e.resolve=function(e){return f(new this(null),M,e)},e.reject=function(e){return f(new this(null),Z,e)},e.race=function(e){function t(e){i&&(i=r(e))}function n(e){i&&(i=o(e))}for(var r,o,i=new this(function(e,t){n=[e,t],r=n[0],o=n[1];var n}),u=0,c=e;u Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n\t * }\r\n\t *\r\n\t */\r\n\t function defineMetadata(metadataKey, metadataValue, target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n\t }\r\n\t Reflect.defineMetadata = defineMetadata;\r\n\t /**\r\n\t * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function hasMetadata(metadataKey, target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryHasMetadata(metadataKey, target, targetKey);\r\n\t }\r\n\t Reflect.hasMetadata = hasMetadata;\r\n\t /**\r\n\t * Gets a value indicating whether the target object has the provided metadata key defined.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function hasOwnMetadata(metadataKey, target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);\r\n\t }\r\n\t Reflect.hasOwnMetadata = hasOwnMetadata;\r\n\t /**\r\n\t * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getMetadata(metadataKey, target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryGetMetadata(metadataKey, target, targetKey);\r\n\t }\r\n\t Reflect.getMetadata = getMetadata;\r\n\t /**\r\n\t * Gets the metadata value for the provided metadata key on the target object.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getOwnMetadata(metadataKey, target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);\r\n\t }\r\n\t Reflect.getOwnMetadata = getOwnMetadata;\r\n\t /**\r\n\t * Gets the metadata keys defined on the target object or its prototype chain.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns An array of unique metadata keys.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getMetadataKeys(Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getMetadataKeys(Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getMetadataKeys(Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getMetadataKeys(Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getMetadataKeys(Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getMetadataKeys(target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryMetadataKeys(target, targetKey);\r\n\t }\r\n\t Reflect.getMetadataKeys = getMetadataKeys;\r\n\t /**\r\n\t * Gets the unique metadata keys defined on the target object.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns An array of unique metadata keys.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getOwnMetadataKeys(Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getOwnMetadataKeys(Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getOwnMetadataKeys(Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getOwnMetadataKeys(Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getOwnMetadataKeys(Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getOwnMetadataKeys(target, targetKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t return OrdinaryOwnMetadataKeys(target, targetKey);\r\n\t }\r\n\t Reflect.getOwnMetadataKeys = getOwnMetadataKeys;\r\n\t /**\r\n\t * Deletes the metadata entry from the target object with the provided key.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param targetKey (Optional) The property key for the target.\r\n\t * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function deleteMetadata(metadataKey, target, targetKey) {\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#deletemetadata-metadatakey-p-\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(targetKey))\r\n\t targetKey = ToPropertyKey(targetKey);\r\n\t var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n\t if (IsUndefined(metadataMap))\r\n\t return false;\r\n\t if (!metadataMap.delete(metadataKey))\r\n\t return false;\r\n\t if (metadataMap.size > 0)\r\n\t return true;\r\n\t var targetMetadata = Metadata.get(target);\r\n\t targetMetadata.delete(targetKey);\r\n\t if (targetMetadata.size > 0)\r\n\t return true;\r\n\t Metadata.delete(target);\r\n\t return true;\r\n\t }\r\n\t Reflect.deleteMetadata = deleteMetadata;\r\n\t function DecorateConstructor(decorators, target) {\r\n\t for (var i = decorators.length - 1; i >= 0; --i) {\r\n\t var decorator = decorators[i];\r\n\t var decorated = decorator(target);\r\n\t if (!IsUndefined(decorated)) {\r\n\t if (!IsConstructor(decorated))\r\n\t throw new TypeError();\r\n\t target = decorated;\r\n\t }\r\n\t }\r\n\t return target;\r\n\t }\r\n\t function DecoratePropertyWithDescriptor(decorators, target, propertyKey, descriptor) {\r\n\t for (var i = decorators.length - 1; i >= 0; --i) {\r\n\t var decorator = decorators[i];\r\n\t var decorated = decorator(target, propertyKey, descriptor);\r\n\t if (!IsUndefined(decorated)) {\r\n\t if (!IsObject(decorated))\r\n\t throw new TypeError();\r\n\t descriptor = decorated;\r\n\t }\r\n\t }\r\n\t return descriptor;\r\n\t }\r\n\t function DecoratePropertyWithoutDescriptor(decorators, target, propertyKey) {\r\n\t for (var i = decorators.length - 1; i >= 0; --i) {\r\n\t var decorator = decorators[i];\r\n\t decorator(target, propertyKey);\r\n\t }\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#getorcreatemetadatamap--o-p-create-\r\n\t function GetOrCreateMetadataMap(target, targetKey, create) {\r\n\t var targetMetadata = Metadata.get(target);\r\n\t if (!targetMetadata) {\r\n\t if (!create)\r\n\t return undefined;\r\n\t targetMetadata = new _Map();\r\n\t Metadata.set(target, targetMetadata);\r\n\t }\r\n\t var keyMetadata = targetMetadata.get(targetKey);\r\n\t if (!keyMetadata) {\r\n\t if (!create)\r\n\t return undefined;\r\n\t keyMetadata = new _Map();\r\n\t targetMetadata.set(targetKey, keyMetadata);\r\n\t }\r\n\t return keyMetadata;\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinaryhasmetadata--metadatakey-o-p-\r\n\t function OrdinaryHasMetadata(MetadataKey, O, P) {\r\n\t var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n\t if (hasOwn)\r\n\t return true;\r\n\t var parent = GetPrototypeOf(O);\r\n\t return parent !== null ? OrdinaryHasMetadata(MetadataKey, parent, P) : false;\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-\r\n\t function OrdinaryHasOwnMetadata(MetadataKey, O, P) {\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n\t return metadataMap !== undefined && Boolean(metadataMap.has(MetadataKey));\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarygetmetadata--metadatakey-o-p-\r\n\t function OrdinaryGetMetadata(MetadataKey, O, P) {\r\n\t var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n\t if (hasOwn)\r\n\t return OrdinaryGetOwnMetadata(MetadataKey, O, P);\r\n\t var parent = GetPrototypeOf(O);\r\n\t return parent !== null ? OrdinaryGetMetadata(MetadataKey, parent, P) : undefined;\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarygetownmetadata--metadatakey-o-p-\r\n\t function OrdinaryGetOwnMetadata(MetadataKey, O, P) {\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n\t return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-\r\n\t function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ true);\r\n\t metadataMap.set(MetadataKey, MetadataValue);\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarymetadatakeys--o-p-\r\n\t function OrdinaryMetadataKeys(O, P) {\r\n\t var ownKeys = OrdinaryOwnMetadataKeys(O, P);\r\n\t var parent = GetPrototypeOf(O);\r\n\t if (parent === null)\r\n\t return ownKeys;\r\n\t var parentKeys = OrdinaryMetadataKeys(parent, P);\r\n\t if (parentKeys.length <= 0)\r\n\t return ownKeys;\r\n\t if (ownKeys.length <= 0)\r\n\t return parentKeys;\r\n\t var keys = new _Set();\r\n\t for (var _i = 0; _i < ownKeys.length; _i++) {\r\n\t var key = ownKeys[_i];\r\n\t keys.add(key);\r\n\t }\r\n\t for (var _a = 0; _a < parentKeys.length; _a++) {\r\n\t var key = parentKeys[_a];\r\n\t keys.add(key);\r\n\t }\r\n\t return getKeys(keys);\r\n\t }\r\n\t // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinaryownmetadatakeys--o-p-\r\n\t function OrdinaryOwnMetadataKeys(target, targetKey) {\r\n\t var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n\t var keys = [];\r\n\t if (metadataMap)\r\n\t forEach(metadataMap, function (_, key) { return keys.push(key); });\r\n\t return keys;\r\n\t }\r\n\t // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type\r\n\t function IsUndefined(x) {\r\n\t return x === undefined;\r\n\t }\r\n\t // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray\r\n\t function IsArray(x) {\r\n\t return Array.isArray ? Array.isArray(x) : x instanceof Array || Object.prototype.toString.call(x) === \"[object Array]\";\r\n\t }\r\n\t // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type\r\n\t function IsObject(x) {\r\n\t return typeof x === \"object\" ? x !== null : typeof x === \"function\";\r\n\t }\r\n\t // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor\r\n\t function IsConstructor(x) {\r\n\t return typeof x === \"function\";\r\n\t }\r\n\t // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type\r\n\t function IsSymbol(x) {\r\n\t return typeof x === \"symbol\";\r\n\t }\r\n\t // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey\r\n\t function ToPropertyKey(value) {\r\n\t return IsSymbol(value) ? value : String(value);\r\n\t }\r\n\t function GetPrototypeOf(O) {\r\n\t var proto = Object.getPrototypeOf(O);\r\n\t if (typeof O !== \"function\" || O === functionPrototype)\r\n\t return proto;\r\n\t // TypeScript doesn't set __proto__ in ES5, as it's non-standard.\r\n\t // Try to determine the superclass Exampleonstructor. Compatible implementations\r\n\t // must either set __proto__ on a subclass Exampleonstructor to the superclass Exampleonstructor,\r\n\t // or ensure each class has a valid `constructor` property on its prototype that\r\n\t // points back to the constructor.\r\n\t // If this is not the same as Function.[[Prototype]], then this is definately inherited.\r\n\t // This is the case when in ES6 or when using __proto__ in a compatible browser.\r\n\t if (proto !== functionPrototype)\r\n\t return proto;\r\n\t // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\r\n\t var prototype = O.prototype;\r\n\t var prototypeProto = prototype && Object.getPrototypeOf(prototype);\r\n\t if (prototypeProto == null || prototypeProto === Object.prototype)\r\n\t return proto;\r\n\t // If the constructor was not a function, then we cannot determine the heritage.\r\n\t var constructor = prototypeProto.constructor;\r\n\t if (typeof constructor !== \"function\")\r\n\t return proto;\r\n\t // If we have some kind of self-reference, then we cannot determine the heritage.\r\n\t if (constructor === O)\r\n\t return proto;\r\n\t // we have a pretty good guess at the heritage.\r\n\t return constructor;\r\n\t }\r\n\t function IteratorStep(iterator) {\r\n\t var result = iterator.next();\r\n\t return result.done ? undefined : result;\r\n\t }\r\n\t function IteratorClose(iterator) {\r\n\t var f = iterator[\"return\"];\r\n\t if (f)\r\n\t f.call(iterator);\r\n\t }\r\n\t function forEach(source, callback, thisArg) {\r\n\t var entries = source.entries;\r\n\t if (typeof entries === \"function\") {\r\n\t var iterator = entries.call(source);\r\n\t var result;\r\n\t try {\r\n\t while (result = IteratorStep(iterator)) {\r\n\t var _a = result.value, key = _a[0], value = _a[1];\r\n\t callback.call(thisArg, value, key, source);\r\n\t }\r\n\t }\r\n\t finally {\r\n\t if (result)\r\n\t IteratorClose(iterator);\r\n\t }\r\n\t }\r\n\t else {\r\n\t var forEach_1 = source.forEach;\r\n\t if (typeof forEach_1 === \"function\") {\r\n\t forEach_1.call(source, callback, thisArg);\r\n\t }\r\n\t }\r\n\t }\r\n\t function getKeys(source) {\r\n\t var keys = [];\r\n\t forEach(source, function (_, key) { keys.push(key); });\r\n\t return keys;\r\n\t }\r\n\t // naive MapIterator shim\r\n\t function CreateMapIterator(keys, values, kind) {\r\n\t var index = 0;\r\n\t return {\r\n\t next: function () {\r\n\t if ((keys || values) && index < (keys || values).length) {\r\n\t var current = index++;\r\n\t switch (kind) {\r\n\t case \"key\": return { value: keys[current], done: false };\r\n\t case \"value\": return { value: values[current], done: false };\r\n\t case \"key+value\": return { value: [keys[current], values[current]], done: false };\r\n\t }\r\n\t }\r\n\t keys = undefined;\r\n\t values = undefined;\r\n\t return { value: undefined, done: true };\r\n\t },\r\n\t \"throw\": function (error) {\r\n\t if (keys || values) {\r\n\t keys = undefined;\r\n\t values = undefined;\r\n\t }\r\n\t throw error;\r\n\t },\r\n\t \"return\": function (value) {\r\n\t if (keys || values) {\r\n\t keys = undefined;\r\n\t values = undefined;\r\n\t }\r\n\t return { value: value, done: true };\r\n\t }\r\n\t };\r\n\t }\r\n\t // naive Map shim\r\n\t function CreateMapPolyfill() {\r\n\t var cacheSentinel = {};\r\n\t return (function () {\r\n\t function Map() {\r\n\t this._keys = [];\r\n\t this._values = [];\r\n\t this._cacheKey = cacheSentinel;\r\n\t this._cacheIndex = -2;\r\n\t }\r\n\t Object.defineProperty(Map.prototype, \"size\", {\r\n\t get: function () { return this._keys.length; },\r\n\t enumerable: true,\r\n\t configurable: true\r\n\t });\r\n\t Map.prototype.has = function (key) { return this._find(key, /*insert*/ false) >= 0; };\r\n\t Map.prototype.get = function (key) {\r\n\t var index = this._find(key, /*insert*/ false);\r\n\t return index >= 0 ? this._values[index] : undefined;\r\n\t };\r\n\t Map.prototype.set = function (key, value) {\r\n\t var index = this._find(key, /*insert*/ true);\r\n\t this._values[index] = value;\r\n\t return this;\r\n\t };\r\n\t Map.prototype.delete = function (key) {\r\n\t var index = this._find(key, /*insert*/ false);\r\n\t if (index >= 0) {\r\n\t var size = this._keys.length;\r\n\t for (var i = index + 1; i < size; i++) {\r\n\t this._keys[i - 1] = this._keys[i];\r\n\t this._values[i - 1] = this._values[i];\r\n\t }\r\n\t this._keys.length--;\r\n\t this._values.length--;\r\n\t this._cacheKey = cacheSentinel;\r\n\t this._cacheIndex = -2;\r\n\t return true;\r\n\t }\r\n\t return false;\r\n\t };\r\n\t Map.prototype.clear = function () {\r\n\t this._keys.length = 0;\r\n\t this._values.length = 0;\r\n\t this._cacheKey = cacheSentinel;\r\n\t this._cacheIndex = -2;\r\n\t };\r\n\t Map.prototype.keys = function () { return CreateMapIterator(this._keys, /*values*/ undefined, \"key\"); };\r\n\t Map.prototype.values = function () { return CreateMapIterator(/*keys*/ undefined, this._values, \"value\"); };\r\n\t Map.prototype.entries = function () { return CreateMapIterator(this._keys, this._values, \"key+value\"); };\r\n\t Map.prototype._find = function (key, insert) {\r\n\t if (this._cacheKey === key)\r\n\t return this._cacheIndex;\r\n\t var index = this._keys.indexOf(key);\r\n\t if (index < 0 && insert) {\r\n\t index = this._keys.length;\r\n\t this._keys.push(key);\r\n\t this._values.push(undefined);\r\n\t }\r\n\t return this._cacheKey = key, this._cacheIndex = index;\r\n\t };\r\n\t return Map;\r\n\t })();\r\n\t }\r\n\t // naive Set shim\r\n\t function CreateSetPolyfill() {\r\n\t return (function () {\r\n\t function Set() {\r\n\t this._map = new _Map();\r\n\t }\r\n\t Object.defineProperty(Set.prototype, \"size\", {\r\n\t get: function () { return this._map.size; },\r\n\t enumerable: true,\r\n\t configurable: true\r\n\t });\r\n\t Set.prototype.has = function (value) { return this._map.has(value); };\r\n\t Set.prototype.add = function (value) { return this._map.set(value, value), this; };\r\n\t Set.prototype.delete = function (value) { return this._map.delete(value); };\r\n\t Set.prototype.clear = function () { this._map.clear(); };\r\n\t Set.prototype.keys = function () { return this._map.keys(); };\r\n\t Set.prototype.values = function () { return this._map.values(); };\r\n\t Set.prototype.entries = function () { return this._map.entries(); };\r\n\t return Set;\r\n\t })();\r\n\t }\r\n\t // naive WeakMap shim\r\n\t function CreateWeakMapPolyfill() {\r\n\t var UUID_SIZE = 16;\r\n\t var keys = createDictionary();\r\n\t var rootKey = CreateUniqueKey();\r\n\t return (function () {\r\n\t function WeakMap() {\r\n\t this._key = CreateUniqueKey();\r\n\t }\r\n\t WeakMap.prototype.has = function (target) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n\t return table !== undefined ? HashMap.has(table, this._key) : false;\r\n\t };\r\n\t WeakMap.prototype.get = function (target) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n\t return table !== undefined ? HashMap.get(table, this._key) : undefined;\r\n\t };\r\n\t WeakMap.prototype.set = function (target, value) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ true);\r\n\t table[this._key] = value;\r\n\t return this;\r\n\t };\r\n\t WeakMap.prototype.delete = function (target) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n\t return table !== undefined ? delete table[this._key] : false;\r\n\t };\r\n\t WeakMap.prototype.clear = function () {\r\n\t // NOTE: not a real clear, just makes the previous data unreachable\r\n\t this._key = CreateUniqueKey();\r\n\t };\r\n\t return WeakMap;\r\n\t })();\r\n\t function FillRandomBytes(buffer, size) {\r\n\t for (var i = 0; i < size; ++i)\r\n\t buffer[i] = Math.random() * 0xff | 0;\r\n\t return buffer;\r\n\t }\r\n\t function GenRandomBytes(size) {\r\n\t if (typeof Uint8Array === \"function\") {\r\n\t if (typeof crypto !== \"undefined\")\r\n\t return crypto.getRandomValues(new Uint8Array(size));\r\n\t if (typeof msCrypto !== \"undefined\")\r\n\t return msCrypto.getRandomValues(new Uint8Array(size));\r\n\t return FillRandomBytes(new Uint8Array(size), size);\r\n\t }\r\n\t return FillRandomBytes(new Array(size), size);\r\n\t }\r\n\t function CreateUUID() {\r\n\t var data = GenRandomBytes(UUID_SIZE);\r\n\t // mark as random - RFC 4122 § 4.4\r\n\t data[6] = data[6] & 0x4f | 0x40;\r\n\t data[8] = data[8] & 0xbf | 0x80;\r\n\t var result = \"\";\r\n\t for (var offset = 0; offset < UUID_SIZE; ++offset) {\r\n\t var byte = data[offset];\r\n\t if (offset === 4 || offset === 6 || offset === 8)\r\n\t result += \"-\";\r\n\t if (byte < 16)\r\n\t result += \"0\";\r\n\t result += byte.toString(16).toLowerCase();\r\n\t }\r\n\t return result;\r\n\t }\r\n\t function CreateUniqueKey() {\r\n\t var key;\r\n\t do\r\n\t key = \"@@WeakMap@@\" + CreateUUID();\r\n\t while (HashMap.has(keys, key));\r\n\t keys[key] = true;\r\n\t return key;\r\n\t }\r\n\t function GetOrCreateWeakMapTable(target, create) {\r\n\t if (!hasOwn.call(target, rootKey)) {\r\n\t if (!create)\r\n\t return undefined;\r\n\t Object.defineProperty(target, rootKey, { value: createDictionary() });\r\n\t }\r\n\t return target[rootKey];\r\n\t }\r\n\t }\r\n\t // uses a heuristic used by v8 and chakra to force an object into dictionary mode.\r\n\t function MakeDictionary(obj) {\r\n\t obj.__DICTIONARY_MODE__ = 1;\r\n\t delete obj.____DICTIONARY_MODE__;\r\n\t return obj;\r\n\t }\r\n\t // patch global Reflect\r\n\t (function (__global) {\r\n\t if (typeof __global.Reflect !== \"undefined\") {\r\n\t if (__global.Reflect !== Reflect) {\r\n\t for (var p in Reflect) {\r\n\t if (hasOwn.call(Reflect, p)) {\r\n\t __global.Reflect[p] = Reflect[p];\r\n\t }\r\n\t }\r\n\t }\r\n\t }\r\n\t else {\r\n\t __global.Reflect = Reflect;\r\n\t }\r\n\t })(typeof window !== \"undefined\" ? window :\r\n\t typeof WorkerGlobalScope !== \"undefined\" ? self :\r\n\t typeof global !== \"undefined\" ? global :\r\n\t Function(\"return this;\")());\r\n\t})(Reflect || (Reflect = {}));\r\n\t//# sourceMappingURL=Reflect.js.map\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n\n/***/ 386:\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t\n\t/******/ \t// The require function\n\t/******/ \tfunction __webpack_require__(moduleId) {\n\t\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t\n\t\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__webpack_require__.m = modules;\n\t\n\t/******/ \t// expose the module cache\n\t/******/ \t__webpack_require__.c = installedModules;\n\t\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__webpack_require__.p = \"\";\n\t\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __webpack_require__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\t\t__webpack_require__(1);\n\t\tvar event_target_1 = __webpack_require__(2);\n\t\tvar define_property_1 = __webpack_require__(4);\n\t\tvar register_element_1 = __webpack_require__(5);\n\t\tvar property_descriptor_1 = __webpack_require__(6);\n\t\tvar timers_1 = __webpack_require__(8);\n\t\tvar utils_1 = __webpack_require__(3);\n\t\tvar set = 'set';\n\t\tvar clear = 'clear';\n\t\tvar blockingMethods = ['alert', 'prompt', 'confirm'];\n\t\tvar _global = typeof window == 'undefined' ? global : window;\n\t\ttimers_1.patchTimer(_global, set, clear, 'Timeout');\n\t\ttimers_1.patchTimer(_global, set, clear, 'Interval');\n\t\ttimers_1.patchTimer(_global, set, clear, 'Immediate');\n\t\ttimers_1.patchTimer(_global, 'request', 'cancel', 'AnimationFrame');\n\t\ttimers_1.patchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n\t\ttimers_1.patchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n\t\tfor (var i = 0; i < blockingMethods.length; i++) {\n\t\t var name = blockingMethods[i];\n\t\t utils_1.patchMethod(_global, name, function (delegate, symbol, name) {\n\t\t return function (s, args) {\n\t\t return Zone.current.run(delegate, _global, args, name);\n\t\t };\n\t\t });\n\t\t}\n\t\tevent_target_1.eventTargetPatch(_global);\n\t\tproperty_descriptor_1.propertyDescriptorPatch(_global);\n\t\tutils_1.patchClass('MutationObserver');\n\t\tutils_1.patchClass('WebKitMutationObserver');\n\t\tutils_1.patchClass('FileReader');\n\t\tdefine_property_1.propertyPatch();\n\t\tregister_element_1.registerElementPatch(_global);\n\t\t// Treat XMLHTTPRequest as a macrotask.\n\t\tpatchXHR(_global);\n\t\tvar XHR_TASK = utils_1.zoneSymbol('xhrTask');\n\t\tfunction patchXHR(window) {\n\t\t function findPendingTask(target) {\n\t\t var pendingTask = target[XHR_TASK];\n\t\t return pendingTask;\n\t\t }\n\t\t function scheduleTask(task) {\n\t\t var data = task.data;\n\t\t data.target.addEventListener('readystatechange', function () {\n\t\t if (data.target.readyState === XMLHttpRequest.DONE) {\n\t\t if (!data.aborted) {\n\t\t task.invoke();\n\t\t }\n\t\t }\n\t\t });\n\t\t var storedTask = data.target[XHR_TASK];\n\t\t if (!storedTask) {\n\t\t data.target[XHR_TASK] = task;\n\t\t }\n\t\t setNative.apply(data.target, data.args);\n\t\t return task;\n\t\t }\n\t\t function placeholderCallback() {\n\t\t }\n\t\t function clearTask(task) {\n\t\t var data = task.data;\n\t\t // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n\t\t // to prevent it from firing. So instead, we store info for the event listener.\n\t\t data.aborted = true;\n\t\t return clearNative.apply(data.target, data.args);\n\t\t }\n\t\t var setNative = utils_1.patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n\t\t var zone = Zone.current;\n\t\t var options = {\n\t\t target: self,\n\t\t isPeriodic: false,\n\t\t delay: null,\n\t\t args: args,\n\t\t aborted: false\n\t\t };\n\t\t return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n\t\t }; });\n\t\t var clearNative = utils_1.patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n\t\t var task = findPendingTask(self);\n\t\t if (task && typeof task.type == 'string') {\n\t\t // If the XHR has already completed, do nothing.\n\t\t if (task.cancelFn == null) {\n\t\t return;\n\t\t }\n\t\t task.zone.cancelTask(task);\n\t\t }\n\t\t // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task to cancel. Do nothing.\n\t\t }; });\n\t\t}\n\t\t/// GEO_LOCATION\n\t\tif (_global['navigator'] && _global['navigator'].geolocation) {\n\t\t utils_1.patchPrototype(_global['navigator'].geolocation, [\n\t\t 'getCurrentPosition',\n\t\t 'watchPosition'\n\t\t ]);\n\t\t}\n\t\n\t\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\t\n\t/***/ },\n\t/* 1 */\n\t/***/ function(module, exports) {\n\t\n\t\t/* WEBPACK VAR INJECTION */(function(global) {;\n\t\t;\n\t\tvar Zone = (function (global) {\n\t\t if (global.Zone) {\n\t\t throw new Error('Zone already loaded.');\n\t\t }\n\t\t var Zone = (function () {\n\t\t function Zone(parent, zoneSpec) {\n\t\t this._properties = null;\n\t\t this._parent = parent;\n\t\t this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n\t\t this._properties = zoneSpec && zoneSpec.properties || {};\n\t\t this._zoneDelegate = new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n\t\t }\n\t\t Object.defineProperty(Zone, \"current\", {\n\t\t get: function () { return _currentZone; },\n\t\t enumerable: true,\n\t\t configurable: true\n\t\t });\n\t\t ;\n\t\t Object.defineProperty(Zone, \"currentTask\", {\n\t\t get: function () { return _currentTask; },\n\t\t enumerable: true,\n\t\t configurable: true\n\t\t });\n\t\t ;\n\t\t Object.defineProperty(Zone.prototype, \"parent\", {\n\t\t get: function () { return this._parent; },\n\t\t enumerable: true,\n\t\t configurable: true\n\t\t });\n\t\t ;\n\t\t Object.defineProperty(Zone.prototype, \"name\", {\n\t\t get: function () { return this._name; },\n\t\t enumerable: true,\n\t\t configurable: true\n\t\t });\n\t\t ;\n\t\t Zone.prototype.get = function (key) {\n\t\t var zone = this.getZoneWith(key);\n\t\t if (zone)\n\t\t return zone._properties[key];\n\t\t };\n\t\t Zone.prototype.getZoneWith = function (key) {\n\t\t var current = this;\n\t\t while (current) {\n\t\t if (current._properties.hasOwnProperty(key)) {\n\t\t return current;\n\t\t }\n\t\t current = current._parent;\n\t\t }\n\t\t return null;\n\t\t };\n\t\t Zone.prototype.fork = function (zoneSpec) {\n\t\t if (!zoneSpec)\n\t\t throw new Error('ZoneSpec required!');\n\t\t return this._zoneDelegate.fork(this, zoneSpec);\n\t\t };\n\t\t Zone.prototype.wrap = function (callback, source) {\n\t\t if (typeof callback !== 'function') {\n\t\t throw new Error('Expecting function got: ' + callback);\n\t\t }\n\t\t var _callback = this._zoneDelegate.intercept(this, callback, source);\n\t\t var zone = this;\n\t\t return function () {\n\t\t return zone.runGuarded(_callback, this, arguments, source);\n\t\t };\n\t\t };\n\t\t Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n\t\t if (applyThis === void 0) { applyThis = null; }\n\t\t if (applyArgs === void 0) { applyArgs = null; }\n\t\t if (source === void 0) { source = null; }\n\t\t var oldZone = _currentZone;\n\t\t _currentZone = this;\n\t\t try {\n\t\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t\t }\n\t\t finally {\n\t\t _currentZone = oldZone;\n\t\t }\n\t\t };\n\t\t Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n\t\t if (applyThis === void 0) { applyThis = null; }\n\t\t if (applyArgs === void 0) { applyArgs = null; }\n\t\t if (source === void 0) { source = null; }\n\t\t var oldZone = _currentZone;\n\t\t _currentZone = this;\n\t\t try {\n\t\t try {\n\t\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t\t }\n\t\t catch (error) {\n\t\t if (this._zoneDelegate.handleError(this, error)) {\n\t\t throw error;\n\t\t }\n\t\t }\n\t\t }\n\t\t finally {\n\t\t _currentZone = oldZone;\n\t\t }\n\t\t };\n\t\t Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n\t\t task.runCount++;\n\t\t if (task.zone != this)\n\t\t throw new Error('A task can only be run in the zone which created it! (Creation: ' +\n\t\t task.zone.name + '; Execution: ' + this.name + ')');\n\t\t var previousTask = _currentTask;\n\t\t _currentTask = task;\n\t\t var oldZone = _currentZone;\n\t\t _currentZone = this;\n\t\t try {\n\t\t if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n\t\t task.cancelFn = null;\n\t\t }\n\t\t try {\n\t\t return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n\t\t }\n\t\t catch (error) {\n\t\t if (this._zoneDelegate.handleError(this, error)) {\n\t\t throw error;\n\t\t }\n\t\t }\n\t\t }\n\t\t finally {\n\t\t _currentZone = oldZone;\n\t\t _currentTask = previousTask;\n\t\t }\n\t\t };\n\t\t Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n\t\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n\t\t };\n\t\t Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n\t\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n\t\t };\n\t\t Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n\t\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n\t\t };\n\t\t Zone.prototype.cancelTask = function (task) {\n\t\t var value = this._zoneDelegate.cancelTask(this, task);\n\t\t task.runCount = -1;\n\t\t task.cancelFn = null;\n\t\t return value;\n\t\t };\n\t\t Zone.__symbol__ = __symbol__;\n\t\t return Zone;\n\t\t }());\n\t\t ;\n\t\t var ZoneDelegate = (function () {\n\t\t function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n\t\t this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n\t\t this.zone = zone;\n\t\t this._parentDelegate = parentDelegate;\n\t\t this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n\t\t this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n\t\t this._interceptZS = zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n\t\t this._interceptDlgt = zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n\t\t this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n\t\t this._invokeDlgt = zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n\t\t this._handleErrorZS = zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n\t\t this._handleErrorDlgt = zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n\t\t this._scheduleTaskZS = zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n\t\t this._scheduleTaskDlgt = zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n\t\t this._invokeTaskZS = zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n\t\t this._invokeTaskDlgt = zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n\t\t this._cancelTaskZS = zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n\t\t this._cancelTaskDlgt = zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n\t\t this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n\t\t this._hasTaskDlgt = zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n\t\t }\n\t\t ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n\t\t return this._forkZS\n\t\t ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec)\n\t\t : new Zone(targetZone, zoneSpec);\n\t\t };\n\t\t ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n\t\t return this._interceptZS\n\t\t ? this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source)\n\t\t : callback;\n\t\t };\n\t\t ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n\t\t return this._invokeZS\n\t\t ? this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source)\n\t\t : callback.apply(applyThis, applyArgs);\n\t\t };\n\t\t ZoneDelegate.prototype.handleError = function (targetZone, error) {\n\t\t return this._handleErrorZS\n\t\t ? this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error)\n\t\t : true;\n\t\t };\n\t\t ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n\t\t try {\n\t\t if (this._scheduleTaskZS) {\n\t\t return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n\t\t }\n\t\t else if (task.scheduleFn) {\n\t\t task.scheduleFn(task);\n\t\t }\n\t\t else if (task.type == 'microTask') {\n\t\t scheduleMicroTask(task);\n\t\t }\n\t\t else {\n\t\t throw new Error('Task is missing scheduleFn.');\n\t\t }\n\t\t return task;\n\t\t }\n\t\t finally {\n\t\t if (targetZone == this.zone) {\n\t\t this._updateTaskCount(task.type, 1);\n\t\t }\n\t\t }\n\t\t };\n\t\t ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n\t\t try {\n\t\t return this._invokeTaskZS\n\t\t ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs)\n\t\t : task.callback.apply(applyThis, applyArgs);\n\t\t }\n\t\t finally {\n\t\t if (targetZone == this.zone && (task.type != 'eventTask') && !(task.data && task.data.isPeriodic)) {\n\t\t this._updateTaskCount(task.type, -1);\n\t\t }\n\t\t }\n\t\t };\n\t\t ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n\t\t var value;\n\t\t if (this._cancelTaskZS) {\n\t\t value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n\t\t }\n\t\t else if (!task.cancelFn) {\n\t\t throw new Error('Task does not support cancellation, or is already canceled.');\n\t\t }\n\t\t else {\n\t\t value = task.cancelFn(task);\n\t\t }\n\t\t if (targetZone == this.zone) {\n\t\t // this should not be in the finally block, because exceptions assume not canceled.\n\t\t this._updateTaskCount(task.type, -1);\n\t\t }\n\t\t return value;\n\t\t };\n\t\t ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n\t\t return this._hasTaskZS && this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n\t\t };\n\t\t ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n\t\t var counts = this._taskCounts;\n\t\t var prev = counts[type];\n\t\t var next = counts[type] = prev + count;\n\t\t if (next < 0) {\n\t\t throw new Error('More tasks executed then were scheduled.');\n\t\t }\n\t\t if (prev == 0 || next == 0) {\n\t\t var isEmpty = {\n\t\t microTask: counts.microTask > 0,\n\t\t macroTask: counts.macroTask > 0,\n\t\t eventTask: counts.eventTask > 0,\n\t\t change: type\n\t\t };\n\t\t try {\n\t\t this.hasTask(this.zone, isEmpty);\n\t\t }\n\t\t finally {\n\t\t if (this._parentDelegate) {\n\t\t this._parentDelegate._updateTaskCount(type, count);\n\t\t }\n\t\t }\n\t\t }\n\t\t };\n\t\t return ZoneDelegate;\n\t\t }());\n\t\t var ZoneTask = (function () {\n\t\t function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n\t\t this.runCount = 0;\n\t\t this.type = type;\n\t\t this.zone = zone;\n\t\t this.source = source;\n\t\t this.data = options;\n\t\t this.scheduleFn = scheduleFn;\n\t\t this.cancelFn = cancelFn;\n\t\t this.callback = callback;\n\t\t var self = this;\n\t\t this.invoke = function () {\n\t\t _numberOfNestedTaskFrames++;\n\t\t try {\n\t\t return zone.runTask(self, this, arguments);\n\t\t }\n\t\t finally {\n\t\t if (_numberOfNestedTaskFrames == 1) {\n\t\t drainMicroTaskQueue();\n\t\t }\n\t\t _numberOfNestedTaskFrames--;\n\t\t }\n\t\t };\n\t\t }\n\t\t ZoneTask.prototype.toString = function () {\n\t\t if (this.data && typeof this.data.handleId !== 'undefined') {\n\t\t return this.data.handleId;\n\t\t }\n\t\t else {\n\t\t return this.toString();\n\t\t }\n\t\t };\n\t\t return ZoneTask;\n\t\t }());\n\t\t function __symbol__(name) { return '__zone_symbol__' + name; }\n\t\t ;\n\t\t var symbolSetTimeout = __symbol__('setTimeout');\n\t\t var symbolPromise = __symbol__('Promise');\n\t\t var symbolThen = __symbol__('then');\n\t\t var _currentZone = new Zone(null, null);\n\t\t var _currentTask = null;\n\t\t var _microTaskQueue = [];\n\t\t var _isDrainingMicrotaskQueue = false;\n\t\t var _uncaughtPromiseErrors = [];\n\t\t var _numberOfNestedTaskFrames = 0;\n\t\t function scheduleQueueDrain() {\n\t\t // if we are not running in any task, and there has not been anything scheduled\n\t\t // we must bootstrap the initial task creation by manually scheduling the drain\n\t\t if (_numberOfNestedTaskFrames == 0 && _microTaskQueue.length == 0) {\n\t\t // We are not running in Task, so we need to kickstart the microtask queue.\n\t\t if (global[symbolPromise]) {\n\t\t global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n\t\t }\n\t\t else {\n\t\t global[symbolSetTimeout](drainMicroTaskQueue, 0);\n\t\t }\n\t\t }\n\t\t }\n\t\t function scheduleMicroTask(task) {\n\t\t scheduleQueueDrain();\n\t\t _microTaskQueue.push(task);\n\t\t }\n\t\t function consoleError(e) {\n\t\t var rejection = e && e.rejection;\n\t\t if (rejection) {\n\t\t console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n\t\t }\n\t\t console.error(e);\n\t\t }\n\t\t function drainMicroTaskQueue() {\n\t\t if (!_isDrainingMicrotaskQueue) {\n\t\t _isDrainingMicrotaskQueue = true;\n\t\t while (_microTaskQueue.length) {\n\t\t var queue = _microTaskQueue;\n\t\t _microTaskQueue = [];\n\t\t for (var i = 0; i < queue.length; i++) {\n\t\t var task = queue[i];\n\t\t try {\n\t\t task.zone.runTask(task, null, null);\n\t\t }\n\t\t catch (e) {\n\t\t consoleError(e);\n\t\t }\n\t\t }\n\t\t }\n\t\t while (_uncaughtPromiseErrors.length) {\n\t\t var _loop_1 = function() {\n\t\t var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n\t\t try {\n\t\t uncaughtPromiseError.zone.runGuarded(function () { throw uncaughtPromiseError; });\n\t\t }\n\t\t catch (e) {\n\t\t consoleError(e);\n\t\t }\n\t\t };\n\t\t while (_uncaughtPromiseErrors.length) {\n\t\t _loop_1();\n\t\t }\n\t\t }\n\t\t _isDrainingMicrotaskQueue = false;\n\t\t }\n\t\t }\n\t\t function isThenable(value) {\n\t\t return value && value.then;\n\t\t }\n\t\t function forwardResolution(value) { return value; }\n\t\t function forwardRejection(rejection) { return ZoneAwarePromise.reject(rejection); }\n\t\t var symbolState = __symbol__('state');\n\t\t var symbolValue = __symbol__('value');\n\t\t var source = 'Promise.then';\n\t\t var UNRESOLVED = null;\n\t\t var RESOLVED = true;\n\t\t var REJECTED = false;\n\t\t var REJECTED_NO_CATCH = 0;\n\t\t function makeResolver(promise, state) {\n\t\t return function (v) {\n\t\t resolvePromise(promise, state, v);\n\t\t // Do not return value or you will break the Promise spec.\n\t\t };\n\t\t }\n\t\t function resolvePromise(promise, state, value) {\n\t\t if (promise[symbolState] === UNRESOLVED) {\n\t\t if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n\t\t clearRejectedNoCatch(value);\n\t\t resolvePromise(promise, value[symbolState], value[symbolValue]);\n\t\t }\n\t\t else if (isThenable(value)) {\n\t\t value.then(makeResolver(promise, state), makeResolver(promise, false));\n\t\t }\n\t\t else {\n\t\t promise[symbolState] = state;\n\t\t var queue = promise[symbolValue];\n\t\t promise[symbolValue] = value;\n\t\t for (var i = 0; i < queue.length;) {\n\t\t scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n\t\t }\n\t\t if (queue.length == 0 && state == REJECTED) {\n\t\t promise[symbolState] = REJECTED_NO_CATCH;\n\t\t try {\n\t\t throw new Error(\"Uncaught (in promise): \" + value);\n\t\t }\n\t\t catch (e) {\n\t\t var error = e;\n\t\t error.rejection = value;\n\t\t error.promise = promise;\n\t\t error.zone = Zone.current;\n\t\t error.task = Zone.currentTask;\n\t\t _uncaughtPromiseErrors.push(error);\n\t\t scheduleQueueDrain();\n\t\t }\n\t\t }\n\t\t }\n\t\t }\n\t\t // Resolving an already resolved promise is a noop.\n\t\t return promise;\n\t\t }\n\t\t function clearRejectedNoCatch(promise) {\n\t\t if (promise[symbolState] === REJECTED_NO_CATCH) {\n\t\t promise[symbolState] = REJECTED;\n\t\t for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n\t\t if (promise === _uncaughtPromiseErrors[i].promise) {\n\t\t _uncaughtPromiseErrors.splice(i, 1);\n\t\t break;\n\t\t }\n\t\t }\n\t\t }\n\t\t }\n\t\t function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n\t\t clearRejectedNoCatch(promise);\n\t\t var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n\t\t zone.scheduleMicroTask(source, function () {\n\t\t try {\n\t\t resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n\t\t }\n\t\t catch (error) {\n\t\t resolvePromise(chainPromise, false, error);\n\t\t }\n\t\t });\n\t\t }\n\t\t var ZoneAwarePromise = (function () {\n\t\t function ZoneAwarePromise(executor) {\n\t\t var promise = this;\n\t\t if (!(promise instanceof ZoneAwarePromise)) {\n\t\t throw new Error('Must be an instanceof Promise.');\n\t\t }\n\t\t promise[symbolState] = UNRESOLVED;\n\t\t promise[symbolValue] = []; // queue;\n\t\t try {\n\t\t executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n\t\t }\n\t\t catch (e) {\n\t\t resolvePromise(promise, false, e);\n\t\t }\n\t\t }\n\t\t ZoneAwarePromise.resolve = function (value) {\n\t\t return resolvePromise(new this(null), RESOLVED, value);\n\t\t };\n\t\t ZoneAwarePromise.reject = function (error) {\n\t\t return resolvePromise(new this(null), REJECTED, error);\n\t\t };\n\t\t ZoneAwarePromise.race = function (values) {\n\t\t var resolve;\n\t\t var reject;\n\t\t var promise = new this(function (res, rej) { resolve = res; reject = rej; });\n\t\t function onResolve(value) { promise && (promise = null || resolve(value)); }\n\t\t function onReject(error) { promise && (promise = null || reject(error)); }\n\t\t for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n\t\t var value = values_1[_i];\n\t\t if (!isThenable(value)) {\n\t\t value = this.resolve(value);\n\t\t }\n\t\t value.then(onResolve, onReject);\n\t\t }\n\t\t return promise;\n\t\t };\n\t\t ZoneAwarePromise.all = function (values) {\n\t\t var resolve;\n\t\t var reject;\n\t\t var promise = new this(function (res, rej) { resolve = res; reject = rej; });\n\t\t var count = 0;\n\t\t var resolvedValues = [];\n\t\t function onReject(error) { promise && reject(error); promise = null; }\n\t\t for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n\t\t var value = values_2[_i];\n\t\t if (!isThenable(value)) {\n\t\t value = this.resolve(value);\n\t\t }\n\t\t value.then((function (index) { return function (value) {\n\t\t resolvedValues[index] = value;\n\t\t count--;\n\t\t if (promise && !count) {\n\t\t resolve(resolvedValues);\n\t\t }\n\t\t promise == null;\n\t\t }; })(count), onReject);\n\t\t count++;\n\t\t }\n\t\t if (!count)\n\t\t resolve(resolvedValues);\n\t\t return promise;\n\t\t };\n\t\t ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n\t\t var chainPromise = new this.constructor(null);\n\t\t var zone = Zone.current;\n\t\t if (this[symbolState] == UNRESOLVED) {\n\t\t this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n\t\t }\n\t\t else {\n\t\t scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n\t\t }\n\t\t return chainPromise;\n\t\t };\n\t\t ZoneAwarePromise.prototype.catch = function (onRejected) {\n\t\t return this.then(null, onRejected);\n\t\t };\n\t\t return ZoneAwarePromise;\n\t\t }());\n\t\t var NativePromise = global[__symbol__('Promise')] = global.Promise;\n\t\t global.Promise = ZoneAwarePromise;\n\t\t if (NativePromise) {\n\t\t var NativePromiseProtototype = NativePromise.prototype;\n\t\t var NativePromiseThen_1 = NativePromiseProtototype[__symbol__('then')]\n\t\t = NativePromiseProtototype.then;\n\t\t NativePromiseProtototype.then = function (onResolve, onReject) {\n\t\t var nativePromise = this;\n\t\t return new ZoneAwarePromise(function (resolve, reject) {\n\t\t NativePromiseThen_1.call(nativePromise, resolve, reject);\n\t\t }).then(onResolve, onReject);\n\t\t };\n\t\t }\n\t\t // This is not part of public API, but it is usefull for tests, so we expose it.\n\t\t Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n\t\t return global.Zone = Zone;\n\t\t})(typeof window === 'undefined' ? global : window);\n\t\n\t\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\t\n\t/***/ },\n\t/* 2 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar utils_1 = __webpack_require__(3);\n\t\tvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n\t\tvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'.split(',');\n\t\tvar EVENT_TARGET = 'EventTarget';\n\t\tfunction eventTargetPatch(_global) {\n\t\t var apis = [];\n\t\t var isWtf = _global['wtf'];\n\t\t if (isWtf) {\n\t\t // Workaround for: https://github.com/google/tracing-framework/issues/555\n\t\t apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n\t\t }\n\t\t else if (_global[EVENT_TARGET]) {\n\t\t apis.push(EVENT_TARGET);\n\t\t }\n\t\t else {\n\t\t // Note: EventTarget is not available in all browsers,\n\t\t // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n\t\t apis = NO_EVENT_TARGET;\n\t\t }\n\t\t for (var i = 0; i < apis.length; i++) {\n\t\t var type = _global[apis[i]];\n\t\t utils_1.patchEventTargetMethods(type && type.prototype);\n\t\t }\n\t\t}\n\t\texports.eventTargetPatch = eventTargetPatch;\n\t\n\t\n\t/***/ },\n\t/* 3 */\n\t/***/ function(module, exports) {\n\t\n\t\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t\t * Suppress closure compiler errors about unknown 'process' variable\n\t\t * @fileoverview\n\t\t * @suppress {undefinedVars}\n\t\t */\n\t\t\"use strict\";\n\t\texports.zoneSymbol = Zone['__symbol__'];\n\t\tvar _global = typeof window == 'undefined' ? global : window;\n\t\tfunction bindArguments(args, source) {\n\t\t for (var i = args.length - 1; i >= 0; i--) {\n\t\t if (typeof args[i] === 'function') {\n\t\t args[i] = Zone.current.wrap(args[i], source + '_' + i);\n\t\t }\n\t\t }\n\t\t return args;\n\t\t}\n\t\texports.bindArguments = bindArguments;\n\t\t;\n\t\tfunction patchPrototype(prototype, fnNames) {\n\t\t var source = prototype.constructor['name'];\n\t\t var _loop_1 = function(i) {\n\t\t var name_1 = fnNames[i];\n\t\t var delegate = prototype[name_1];\n\t\t if (delegate) {\n\t\t prototype[name_1] = (function (delegate) {\n\t\t return function () {\n\t\t return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n\t\t };\n\t\t })(delegate);\n\t\t }\n\t\t };\n\t\t for (var i = 0; i < fnNames.length; i++) {\n\t\t _loop_1(i);\n\t\t }\n\t\t}\n\t\texports.patchPrototype = patchPrototype;\n\t\t;\n\t\texports.isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n\t\texports.isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\n\t\texports.isBrowser = !exports.isNode && !exports.isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n\t\tfunction patchProperty(obj, prop) {\n\t\t var desc = Object.getOwnPropertyDescriptor(obj, prop) || {\n\t\t enumerable: true,\n\t\t configurable: true\n\t\t };\n\t\t // A property descriptor cannot have getter/setter and be writable\n\t\t // deleting the writable and value properties avoids this error:\n\t\t //\n\t\t // TypeError: property descriptors must not specify a value or be writable when a\n\t\t // getter or setter has been specified\n\t\t delete desc.writable;\n\t\t delete desc.value;\n\t\t // substr(2) cuz 'onclick' -> 'click', etc\n\t\t var eventName = prop.substr(2);\n\t\t var _prop = '_' + prop;\n\t\t desc.set = function (fn) {\n\t\t if (this[_prop]) {\n\t\t this.removeEventListener(eventName, this[_prop]);\n\t\t }\n\t\t if (typeof fn === 'function') {\n\t\t var wrapFn = function (event) {\n\t\t var result;\n\t\t result = fn.apply(this, arguments);\n\t\t if (result != undefined && !result)\n\t\t event.preventDefault();\n\t\t };\n\t\t this[_prop] = wrapFn;\n\t\t this.addEventListener(eventName, wrapFn, false);\n\t\t }\n\t\t else {\n\t\t this[_prop] = null;\n\t\t }\n\t\t };\n\t\t desc.get = function () {\n\t\t return this[_prop];\n\t\t };\n\t\t Object.defineProperty(obj, prop, desc);\n\t\t}\n\t\texports.patchProperty = patchProperty;\n\t\t;\n\t\tfunction patchOnProperties(obj, properties) {\n\t\t var onProperties = [];\n\t\t for (var prop in obj) {\n\t\t if (prop.substr(0, 2) == 'on') {\n\t\t onProperties.push(prop);\n\t\t }\n\t\t }\n\t\t for (var j = 0; j < onProperties.length; j++) {\n\t\t patchProperty(obj, onProperties[j]);\n\t\t }\n\t\t if (properties) {\n\t\t for (var i = 0; i < properties.length; i++) {\n\t\t patchProperty(obj, 'on' + properties[i]);\n\t\t }\n\t\t }\n\t\t}\n\t\texports.patchOnProperties = patchOnProperties;\n\t\t;\n\t\tvar EVENT_TASKS = exports.zoneSymbol('eventTasks');\n\t\tvar ADD_EVENT_LISTENER = 'addEventListener';\n\t\tvar REMOVE_EVENT_LISTENER = 'removeEventListener';\n\t\tvar SYMBOL_ADD_EVENT_LISTENER = exports.zoneSymbol(ADD_EVENT_LISTENER);\n\t\tvar SYMBOL_REMOVE_EVENT_LISTENER = exports.zoneSymbol(REMOVE_EVENT_LISTENER);\n\t\tfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n\t\t var eventTasks = target[EVENT_TASKS];\n\t\t if (eventTasks) {\n\t\t for (var i = 0; i < eventTasks.length; i++) {\n\t\t var eventTask = eventTasks[i];\n\t\t var data = eventTask.data;\n\t\t if (data.handler === handler\n\t\t && data.useCapturing === capture\n\t\t && data.eventName === name) {\n\t\t if (remove) {\n\t\t eventTasks.splice(i, 1);\n\t\t }\n\t\t return eventTask;\n\t\t }\n\t\t }\n\t\t }\n\t\t return null;\n\t\t}\n\t\tfunction attachRegisteredEvent(target, eventTask) {\n\t\t var eventTasks = target[EVENT_TASKS];\n\t\t if (!eventTasks) {\n\t\t eventTasks = target[EVENT_TASKS] = [];\n\t\t }\n\t\t eventTasks.push(eventTask);\n\t\t}\n\t\tfunction scheduleEventListener(eventTask) {\n\t\t var meta = eventTask.data;\n\t\t attachRegisteredEvent(meta.target, eventTask);\n\t\t return meta.target[SYMBOL_ADD_EVENT_LISTENER](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t\t}\n\t\tfunction cancelEventListener(eventTask) {\n\t\t var meta = eventTask.data;\n\t\t findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n\t\t meta.target[SYMBOL_REMOVE_EVENT_LISTENER](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t\t}\n\t\tfunction zoneAwareAddEventListener(self, args) {\n\t\t var eventName = args[0];\n\t\t var handler = args[1];\n\t\t var useCapturing = args[2] || false;\n\t\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t\t // see https://github.com/angular/zone.js/issues/190\n\t\t var target = self || _global;\n\t\t var delegate = null;\n\t\t if (typeof handler == 'function') {\n\t\t delegate = handler;\n\t\t }\n\t\t else if (handler && handler.handleEvent) {\n\t\t delegate = function (event) { return handler.handleEvent(event); };\n\t\t }\n\t\t var validZoneHandler = false;\n\t\t try {\n\t\t // In cross site contexts (such as WebDriver frameworks like Selenium),\n\t\t // accessing the handler object here will cause an exception to be thrown which\n\t\t // will fail tests prematurely.\n\t\t validZoneHandler = handler && handler.toString() === \"[object FunctionWrapper]\";\n\t\t }\n\t\t catch (e) {\n\t\t // Returning nothing here is fine, because objects in a cross-site context are unusable\n\t\t return;\n\t\t }\n\t\t // Ignore special listeners of IE11 & Edge dev tools, see https://github.com/angular/zone.js/issues/150\n\t\t if (!delegate || validZoneHandler) {\n\t\t return target[SYMBOL_ADD_EVENT_LISTENER](eventName, handler, useCapturing);\n\t\t }\n\t\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n\t\t if (eventTask) {\n\t\t // we already registered, so this will have noop.\n\t\t return target[SYMBOL_ADD_EVENT_LISTENER](eventName, eventTask.invoke, useCapturing);\n\t\t }\n\t\t var zone = Zone.current;\n\t\t var source = target.constructor['name'] + '.addEventListener:' + eventName;\n\t\t var data = {\n\t\t target: target,\n\t\t eventName: eventName,\n\t\t name: eventName,\n\t\t useCapturing: useCapturing,\n\t\t handler: handler\n\t\t };\n\t\t zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n\t\t}\n\t\tfunction zoneAwareRemoveEventListener(self, args) {\n\t\t var eventName = args[0];\n\t\t var handler = args[1];\n\t\t var useCapturing = args[2] || false;\n\t\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t\t // see https://github.com/angular/zone.js/issues/190\n\t\t var target = self || _global;\n\t\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n\t\t if (eventTask) {\n\t\t eventTask.zone.cancelTask(eventTask);\n\t\t }\n\t\t else {\n\t\t target[SYMBOL_REMOVE_EVENT_LISTENER](eventName, handler, useCapturing);\n\t\t }\n\t\t}\n\t\tfunction patchEventTargetMethods(obj) {\n\t\t if (obj && obj.addEventListener) {\n\t\t patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n\t\t patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n\t\t return true;\n\t\t }\n\t\t else {\n\t\t return false;\n\t\t }\n\t\t}\n\t\texports.patchEventTargetMethods = patchEventTargetMethods;\n\t\t;\n\t\tvar originalInstanceKey = exports.zoneSymbol('originalInstance');\n\t\t// wrap some native API on `window`\n\t\tfunction patchClass(className) {\n\t\t var OriginalClass = _global[className];\n\t\t if (!OriginalClass)\n\t\t return;\n\t\t _global[className] = function () {\n\t\t var a = bindArguments(arguments, className);\n\t\t switch (a.length) {\n\t\t case 0:\n\t\t this[originalInstanceKey] = new OriginalClass();\n\t\t break;\n\t\t case 1:\n\t\t this[originalInstanceKey] = new OriginalClass(a[0]);\n\t\t break;\n\t\t case 2:\n\t\t this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n\t\t break;\n\t\t case 3:\n\t\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n\t\t break;\n\t\t case 4:\n\t\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n\t\t break;\n\t\t default: throw new Error('Arg list too long.');\n\t\t }\n\t\t };\n\t\t var instance = new OriginalClass(function () { });\n\t\t var prop;\n\t\t for (prop in instance) {\n\t\t // https://bugs.webkit.org/show_bug.cgi?id=44721\n\t\t if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n\t\t continue;\n\t\t (function (prop) {\n\t\t if (typeof instance[prop] === 'function') {\n\t\t _global[className].prototype[prop] = function () {\n\t\t return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n\t\t };\n\t\t }\n\t\t else {\n\t\t Object.defineProperty(_global[className].prototype, prop, {\n\t\t set: function (fn) {\n\t\t if (typeof fn === 'function') {\n\t\t this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n\t\t }\n\t\t else {\n\t\t this[originalInstanceKey][prop] = fn;\n\t\t }\n\t\t },\n\t\t get: function () {\n\t\t return this[originalInstanceKey][prop];\n\t\t }\n\t\t });\n\t\t }\n\t\t }(prop));\n\t\t }\n\t\t for (prop in OriginalClass) {\n\t\t if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n\t\t _global[className][prop] = OriginalClass[prop];\n\t\t }\n\t\t }\n\t\t}\n\t\texports.patchClass = patchClass;\n\t\t;\n\t\tfunction createNamedFn(name, delegate) {\n\t\t try {\n\t\t return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n\t\t }\n\t\t catch (e) {\n\t\t // if we fail, we must be CSP, just return delegate.\n\t\t return function () {\n\t\t return delegate(this, arguments);\n\t\t };\n\t\t }\n\t\t}\n\t\texports.createNamedFn = createNamedFn;\n\t\tfunction patchMethod(target, name, patchFn) {\n\t\t var proto = target;\n\t\t while (proto && !proto.hasOwnProperty(name)) {\n\t\t proto = Object.getPrototypeOf(proto);\n\t\t }\n\t\t if (!proto && target[name]) {\n\t\t // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n\t\t proto = target;\n\t\t }\n\t\t var delegateName = exports.zoneSymbol(name);\n\t\t var delegate;\n\t\t if (proto && !(delegate = proto[delegateName])) {\n\t\t delegate = proto[delegateName] = proto[name];\n\t\t proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n\t\t }\n\t\t return delegate;\n\t\t}\n\t\texports.patchMethod = patchMethod;\n\t\n\t\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\t\n\t/***/ },\n\t/* 4 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar utils_1 = __webpack_require__(3);\n\t\t/*\n\t\t * This is necessary for Chrome and Chrome mobile, to enable\n\t\t * things like redefining `createdCallback` on an element.\n\t\t */\n\t\tvar _defineProperty = Object.defineProperty;\n\t\tvar _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\t\tvar _create = Object.create;\n\t\tvar unconfigurablesKey = utils_1.zoneSymbol('unconfigurables');\n\t\tfunction propertyPatch() {\n\t\t Object.defineProperty = function (obj, prop, desc) {\n\t\t if (isUnconfigurable(obj, prop)) {\n\t\t throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n\t\t }\n\t\t var originalConfigurableFlag = desc.configurable;\n\t\t if (prop !== 'prototype') {\n\t\t desc = rewriteDescriptor(obj, prop, desc);\n\t\t }\n\t\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t\t };\n\t\t Object.defineProperties = function (obj, props) {\n\t\t Object.keys(props).forEach(function (prop) {\n\t\t Object.defineProperty(obj, prop, props[prop]);\n\t\t });\n\t\t return obj;\n\t\t };\n\t\t Object.create = function (obj, proto) {\n\t\t if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n\t\t Object.keys(proto).forEach(function (prop) {\n\t\t proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n\t\t });\n\t\t }\n\t\t return _create(obj, proto);\n\t\t };\n\t\t Object.getOwnPropertyDescriptor = function (obj, prop) {\n\t\t var desc = _getOwnPropertyDescriptor(obj, prop);\n\t\t if (isUnconfigurable(obj, prop)) {\n\t\t desc.configurable = false;\n\t\t }\n\t\t return desc;\n\t\t };\n\t\t}\n\t\texports.propertyPatch = propertyPatch;\n\t\t;\n\t\tfunction _redefineProperty(obj, prop, desc) {\n\t\t var originalConfigurableFlag = desc.configurable;\n\t\t desc = rewriteDescriptor(obj, prop, desc);\n\t\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t\t}\n\t\texports._redefineProperty = _redefineProperty;\n\t\t;\n\t\tfunction isUnconfigurable(obj, prop) {\n\t\t return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n\t\t}\n\t\tfunction rewriteDescriptor(obj, prop, desc) {\n\t\t desc.configurable = true;\n\t\t if (!desc.configurable) {\n\t\t if (!obj[unconfigurablesKey]) {\n\t\t _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n\t\t }\n\t\t obj[unconfigurablesKey][prop] = true;\n\t\t }\n\t\t return desc;\n\t\t}\n\t\tfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n\t\t try {\n\t\t return _defineProperty(obj, prop, desc);\n\t\t }\n\t\t catch (e) {\n\t\t if (desc.configurable) {\n\t\t // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's retry with the original flag value\n\t\t if (typeof originalConfigurableFlag == 'undefined') {\n\t\t delete desc.configurable;\n\t\t }\n\t\t else {\n\t\t desc.configurable = originalConfigurableFlag;\n\t\t }\n\t\t return _defineProperty(obj, prop, desc);\n\t\t }\n\t\t else {\n\t\t throw e;\n\t\t }\n\t\t }\n\t\t}\n\t\n\t\n\t/***/ },\n\t/* 5 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar define_property_1 = __webpack_require__(4);\n\t\tvar utils_1 = __webpack_require__(3);\n\t\tfunction registerElementPatch(_global) {\n\t\t if (!utils_1.isBrowser || !('registerElement' in _global.document)) {\n\t\t return;\n\t\t }\n\t\t var _registerElement = document.registerElement;\n\t\t var callbacks = [\n\t\t 'createdCallback',\n\t\t 'attachedCallback',\n\t\t 'detachedCallback',\n\t\t 'attributeChangedCallback'\n\t\t ];\n\t\t document.registerElement = function (name, opts) {\n\t\t if (opts && opts.prototype) {\n\t\t callbacks.forEach(function (callback) {\n\t\t var source = 'Document.registerElement::' + callback;\n\t\t if (opts.prototype.hasOwnProperty(callback)) {\n\t\t var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n\t\t if (descriptor && descriptor.value) {\n\t\t descriptor.value = Zone.current.wrap(descriptor.value, source);\n\t\t define_property_1._redefineProperty(opts.prototype, callback, descriptor);\n\t\t }\n\t\t else {\n\t\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t\t }\n\t\t }\n\t\t else if (opts.prototype[callback]) {\n\t\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t\t }\n\t\t });\n\t\t }\n\t\t return _registerElement.apply(document, [name, opts]);\n\t\t };\n\t\t}\n\t\texports.registerElementPatch = registerElementPatch;\n\t\n\t\n\t/***/ },\n\t/* 6 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar webSocketPatch = __webpack_require__(7);\n\t\tvar utils_1 = __webpack_require__(3);\n\t\tvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'.split(' ');\n\t\tfunction propertyDescriptorPatch(_global) {\n\t\t if (utils_1.isNode) {\n\t\t return;\n\t\t }\n\t\t var supportsWebSocket = typeof WebSocket !== 'undefined';\n\t\t if (canPatchViaPropertyDescriptor()) {\n\t\t // for browsers that we can patch the descriptor: Chrome & Firefox\n\t\t if (utils_1.isBrowser) {\n\t\t utils_1.patchOnProperties(HTMLElement.prototype, eventNames);\n\t\t }\n\t\t utils_1.patchOnProperties(XMLHttpRequest.prototype, null);\n\t\t if (typeof IDBIndex !== 'undefined') {\n\t\t utils_1.patchOnProperties(IDBIndex.prototype, null);\n\t\t utils_1.patchOnProperties(IDBRequest.prototype, null);\n\t\t utils_1.patchOnProperties(IDBOpenDBRequest.prototype, null);\n\t\t utils_1.patchOnProperties(IDBDatabase.prototype, null);\n\t\t utils_1.patchOnProperties(IDBTransaction.prototype, null);\n\t\t utils_1.patchOnProperties(IDBCursor.prototype, null);\n\t\t }\n\t\t if (supportsWebSocket) {\n\t\t utils_1.patchOnProperties(WebSocket.prototype, null);\n\t\t }\n\t\t }\n\t\t else {\n\t\t // Safari, Android browsers (Jelly Bean)\n\t\t patchViaCapturingAllTheEvents();\n\t\t utils_1.patchClass('XMLHttpRequest');\n\t\t if (supportsWebSocket) {\n\t\t webSocketPatch.apply(_global);\n\t\t }\n\t\t }\n\t\t}\n\t\texports.propertyDescriptorPatch = propertyDescriptorPatch;\n\t\tfunction canPatchViaPropertyDescriptor() {\n\t\t if (utils_1.isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick')\n\t\t && typeof Element !== 'undefined') {\n\t\t // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n\t\t // IDL interface attributes are not configurable\n\t\t var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n\t\t if (desc && !desc.configurable)\n\t\t return false;\n\t\t }\n\t\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n\t\t get: function () {\n\t\t return true;\n\t\t }\n\t\t });\n\t\t var req = new XMLHttpRequest();\n\t\t var result = !!req.onreadystatechange;\n\t\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n\t\t return result;\n\t\t}\n\t\t;\n\t\tvar unboundKey = utils_1.zoneSymbol('unbound');\n\t\t// Whenever any eventListener fires, we check the eventListener target and all parents\n\t\t// for `onwhatever` properties and replace them with zone-bound functions\n\t\t// - Chrome (for now)\n\t\tfunction patchViaCapturingAllTheEvents() {\n\t\t var _loop_1 = function(i) {\n\t\t var property = eventNames[i];\n\t\t var onproperty = 'on' + property;\n\t\t document.addEventListener(property, function (event) {\n\t\t var elt = event.target, bound, source;\n\t\t if (elt) {\n\t\t source = elt.constructor['name'] + '.' + onproperty;\n\t\t }\n\t\t else {\n\t\t source = 'unknown.' + onproperty;\n\t\t }\n\t\t while (elt) {\n\t\t if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n\t\t bound = Zone.current.wrap(elt[onproperty], source);\n\t\t bound[unboundKey] = elt[onproperty];\n\t\t elt[onproperty] = bound;\n\t\t }\n\t\t elt = elt.parentElement;\n\t\t }\n\t\t }, true);\n\t\t };\n\t\t for (var i = 0; i < eventNames.length; i++) {\n\t\t _loop_1(i);\n\t\t }\n\t\t ;\n\t\t}\n\t\t;\n\t\n\t\n\t/***/ },\n\t/* 7 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar utils_1 = __webpack_require__(3);\n\t\t// we have to patch the instance since the proto is non-configurable\n\t\tfunction apply(_global) {\n\t\t var WS = _global.WebSocket;\n\t\t // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n\t\t // On older Chrome, no need since EventTarget was already patched\n\t\t if (!_global.EventTarget) {\n\t\t utils_1.patchEventTargetMethods(WS.prototype);\n\t\t }\n\t\t _global.WebSocket = function (a, b) {\n\t\t var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n\t\t var proxySocket;\n\t\t // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n\t\t var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n\t\t if (onmessageDesc && onmessageDesc.configurable === false) {\n\t\t proxySocket = Object.create(socket);\n\t\t ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n\t\t proxySocket[propName] = function () {\n\t\t return socket[propName].apply(socket, arguments);\n\t\t };\n\t\t });\n\t\t }\n\t\t else {\n\t\t // we can patch the real socket\n\t\t proxySocket = socket;\n\t\t }\n\t\t utils_1.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n\t\t return proxySocket;\n\t\t };\n\t\t for (var prop in WS) {\n\t\t _global.WebSocket[prop] = WS[prop];\n\t\t }\n\t\t}\n\t\texports.apply = apply;\n\t\n\t\n\t/***/ },\n\t/* 8 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar utils_1 = __webpack_require__(3);\n\t\tfunction patchTimer(window, setName, cancelName, nameSuffix) {\n\t\t var setNative = null;\n\t\t var clearNative = null;\n\t\t setName += nameSuffix;\n\t\t cancelName += nameSuffix;\n\t\t function scheduleTask(task) {\n\t\t var data = task.data;\n\t\t data.args[0] = task.invoke;\n\t\t data.handleId = setNative.apply(window, data.args);\n\t\t return task;\n\t\t }\n\t\t function clearTask(task) {\n\t\t return clearNative(task.data.handleId);\n\t\t }\n\t\t setNative = utils_1.patchMethod(window, setName, function (delegate) { return function (self, args) {\n\t\t if (typeof args[0] === 'function') {\n\t\t var zone = Zone.current;\n\t\t var options = {\n\t\t handleId: null,\n\t\t isPeriodic: nameSuffix === 'Interval',\n\t\t delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n\t\t args: args\n\t\t };\n\t\t var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n\t\t if (!task) {\n\t\t return task;\n\t\t }\n\t\t // Node.js must additionally support the ref and unref functions.\n\t\t var handle = task.data.handleId;\n\t\t if (handle.ref && handle.unref) {\n\t\t task.ref = handle.ref.bind(handle);\n\t\t task.unref = handle.unref.bind(handle);\n\t\t }\n\t\t return task;\n\t\t }\n\t\t else {\n\t\t // cause an error by calling it directly.\n\t\t return delegate.apply(window, args);\n\t\t }\n\t\t }; });\n\t\t clearNative = utils_1.patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n\t\t var task = args[0];\n\t\t if (task && typeof task.type === 'string') {\n\t\t if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n\t\t // Do not cancel already canceled functions\n\t\t task.zone.cancelTask(task);\n\t\t }\n\t\t }\n\t\t else {\n\t\t // cause an error by calling it directly.\n\t\t delegate.apply(window, args);\n\t\t }\n\t\t }; });\n\t\t}\n\t\texports.patchTimer = patchTimer;\n\t\n\t\n\t/***/ }\n\t/******/ ]);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(387)))\n\n/***/ },\n\n/***/ 387:\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\t(function () {\n\t try {\n\t cachedSetTimeout = setTimeout;\n\t } catch (e) {\n\t cachedSetTimeout = function () {\n\t throw new Error('setTimeout is not defined');\n\t }\n\t }\n\t try {\n\t cachedClearTimeout = clearTimeout;\n\t } catch (e) {\n\t cachedClearTimeout = function () {\n\t throw new Error('clearTimeout is not defined');\n\t }\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ }\n\n/******/ });\n\n\n/** WEBPACK FOOTER **\n ** polyfills.js\n **/"," \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, callbacks = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId])\n \t\t\t\tcallbacks.push.apply(callbacks, installedChunks[chunkId]);\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules);\n \t\twhile(callbacks.length)\n \t\t\tcallbacks.shift().call(null, __webpack_require__);\n \t\tif(moreModules[0]) {\n \t\t\tinstalledModules[0] = 0;\n \t\t\treturn __webpack_require__(0);\n \t\t}\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// \"0\" means \"already loaded\"\n \t// Array means \"loading\", array contains callbacks\n \tvar installedChunks = {\n \t\t1:0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId, callback) {\n \t\t// \"0\" is the signal for \"already loaded\"\n \t\tif(installedChunks[chunkId] === 0)\n \t\t\treturn callback.call(null, __webpack_require__);\n\n \t\t// an array means \"currently loading\".\n \t\tif(installedChunks[chunkId] !== undefined) {\n \t\t\tinstalledChunks[chunkId].push(callback);\n \t\t} else {\n \t\t\t// start chunk loading\n \t\t\tinstalledChunks[chunkId] = [callback];\n \t\t\tvar head = document.getElementsByTagName('head')[0];\n \t\t\tvar script = document.createElement('script');\n \t\t\tscript.type = 'text/javascript';\n \t\t\tscript.charset = 'utf-8';\n \t\t\tscript.async = true;\n\n \t\t\tscript.src = __webpack_require__.p + \"\" + chunkId + \".bundle.js\";\n \t\t\thead.appendChild(script);\n \t\t}\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/ng2-animate/example/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 9052fc5384fbabb16fe4\n **/","import 'reflect-metadata';\nimport 'zone.js/dist/zone';\n\n\n/** WEBPACK FOOTER **\n ** ./example/src/polyfills.ts\n **/","/*! *****************************************************************************\r\nCopyright (C) Microsoft. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\nvar Reflect;\r\n(function (Reflect) {\r\n \"use strict\";\r\n var hasOwn = Object.prototype.hasOwnProperty;\r\n // feature test for Object.create support\r\n var supportsCreate = typeof Object.create === \"function\";\r\n // feature test for __proto__ support\r\n var supportsProto = (function () {\r\n var sentinel = {};\r\n function __() { }\r\n __.prototype = sentinel;\r\n var instance = new __();\r\n return instance.__proto__ === sentinel;\r\n })();\r\n // create an object in dictionary mode (a.k.a. \"slow\" mode in v8)\r\n var createDictionary = supportsCreate ? function () { return MakeDictionary(Object.create(null)); } :\r\n supportsProto ? function () { return MakeDictionary({ __proto__: null }); } :\r\n function () { return MakeDictionary({}); };\r\n var HashMap;\r\n (function (HashMap) {\r\n var downLevel = !supportsCreate && !supportsProto;\r\n HashMap.has = downLevel\r\n ? function (map, key) { return hasOwn.call(map, key); }\r\n : function (map, key) { return key in map; };\r\n HashMap.get = downLevel\r\n ? function (map, key) { return hasOwn.call(map, key) ? map[key] : undefined; }\r\n : function (map, key) { return map[key]; };\r\n })(HashMap || (HashMap = {}));\r\n // Load global or shim versions of Map, Set, and WeakMap\r\n var functionPrototype = Object.getPrototypeOf(Function);\r\n var _Map = typeof Map === \"function\" ? Map : CreateMapPolyfill();\r\n var _Set = typeof Set === \"function\" ? Set : CreateSetPolyfill();\r\n var _WeakMap = typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\r\n // [[Metadata]] internal slot\r\n var Metadata = new _WeakMap();\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param targetKey (Optional) The property key to decorate.\r\n * @param targetDescriptor (Optional) The property descriptor for the target key\r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * Example = Reflect.decorate(decoratorsArray, Example);\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(Example, \"staticMethod\",\r\n * Reflect.decorate(decoratorsArray, Example, \"staticMethod\",\r\n * Object.getOwnPropertyDescriptor(Example, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(Example.prototype, \"method\",\r\n * Reflect.decorate(decoratorsArray, Example.prototype, \"method\",\r\n * Object.getOwnPropertyDescriptor(Example.prototype, \"method\")));\r\n *\r\n */\r\n function decorate(decorators, target, targetKey, targetDescriptor) {\r\n if (!IsUndefined(targetDescriptor)) {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (IsUndefined(targetKey))\r\n throw new TypeError();\r\n if (!IsObject(targetDescriptor))\r\n throw new TypeError();\r\n targetKey = ToPropertyKey(targetKey);\r\n return DecoratePropertyWithDescriptor(decorators, target, targetKey, targetDescriptor);\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n targetKey = ToPropertyKey(targetKey);\r\n return DecoratePropertyWithoutDescriptor(decorators, target, targetKey);\r\n }\r\n else {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsConstructor(target))\r\n throw new TypeError();\r\n return DecorateConstructor(decorators, target);\r\n }\r\n }\r\n Reflect.decorate = decorate;\r\n /**\r\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\r\n * @param metadataKey The key for the metadata entry.\r\n * @param metadataValue The value for the metadata entry.\r\n * @returns A decorator function.\r\n * @remarks\r\n * If `metadataKey` is already defined for the target and target key, the\r\n * metadataValue for that key will be overwritten.\r\n * @example\r\n *\r\n * // constructor\r\n * @Reflect.metadata(key, value)\r\n * class Example {\r\n * }\r\n *\r\n * // property (on constructor, TypeScript only)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * static staticProperty;\r\n * }\r\n *\r\n * // property (on prototype, TypeScript only)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * property;\r\n * }\r\n *\r\n * // method (on constructor)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * static staticMethod() { }\r\n * }\r\n *\r\n * // method (on prototype)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * method() { }\r\n * }\r\n *\r\n */\r\n function metadata(metadataKey, metadataValue) {\r\n function decorator(target, targetKey) {\r\n if (!IsUndefined(targetKey)) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n targetKey = ToPropertyKey(targetKey);\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n }\r\n else {\r\n if (!IsConstructor(target))\r\n throw new TypeError();\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, /*targetKey*/ undefined);\r\n }\r\n }\r\n return decorator;\r\n }\r\n Reflect.metadata = metadata;\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example);\r\n *\r\n * // property (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"method\");\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): Decorator {\r\n * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n * }\r\n *\r\n */\r\n function defineMetadata(metadataKey, metadataValue, target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n }\r\n Reflect.defineMetadata = defineMetadata;\r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function hasMetadata(metadataKey, target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryHasMetadata(metadataKey, target, targetKey);\r\n }\r\n Reflect.hasMetadata = hasMetadata;\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function hasOwnMetadata(metadataKey, target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);\r\n }\r\n Reflect.hasOwnMetadata = hasOwnMetadata;\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function getMetadata(metadataKey, target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryGetMetadata(metadataKey, target, targetKey);\r\n }\r\n Reflect.getMetadata = getMetadata;\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function getOwnMetadata(metadataKey, target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);\r\n }\r\n Reflect.getOwnMetadata = getOwnMetadata;\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadataKeys(Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadataKeys(Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadataKeys(Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadataKeys(Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadataKeys(Example.prototype, \"method\");\r\n *\r\n */\r\n function getMetadataKeys(target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryMetadataKeys(target, targetKey);\r\n }\r\n Reflect.getMetadataKeys = getMetadataKeys;\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadataKeys(Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"method\");\r\n *\r\n */\r\n function getOwnMetadataKeys(target, targetKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n return OrdinaryOwnMetadataKeys(target, targetKey);\r\n }\r\n Reflect.getOwnMetadataKeys = getOwnMetadataKeys;\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function deleteMetadata(metadataKey, target, targetKey) {\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#deletemetadata-metadatakey-p-\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(targetKey))\r\n targetKey = ToPropertyKey(targetKey);\r\n var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n if (IsUndefined(metadataMap))\r\n return false;\r\n if (!metadataMap.delete(metadataKey))\r\n return false;\r\n if (metadataMap.size > 0)\r\n return true;\r\n var targetMetadata = Metadata.get(target);\r\n targetMetadata.delete(targetKey);\r\n if (targetMetadata.size > 0)\r\n return true;\r\n Metadata.delete(target);\r\n return true;\r\n }\r\n Reflect.deleteMetadata = deleteMetadata;\r\n function DecorateConstructor(decorators, target) {\r\n for (var i = decorators.length - 1; i >= 0; --i) {\r\n var decorator = decorators[i];\r\n var decorated = decorator(target);\r\n if (!IsUndefined(decorated)) {\r\n if (!IsConstructor(decorated))\r\n throw new TypeError();\r\n target = decorated;\r\n }\r\n }\r\n return target;\r\n }\r\n function DecoratePropertyWithDescriptor(decorators, target, propertyKey, descriptor) {\r\n for (var i = decorators.length - 1; i >= 0; --i) {\r\n var decorator = decorators[i];\r\n var decorated = decorator(target, propertyKey, descriptor);\r\n if (!IsUndefined(decorated)) {\r\n if (!IsObject(decorated))\r\n throw new TypeError();\r\n descriptor = decorated;\r\n }\r\n }\r\n return descriptor;\r\n }\r\n function DecoratePropertyWithoutDescriptor(decorators, target, propertyKey) {\r\n for (var i = decorators.length - 1; i >= 0; --i) {\r\n var decorator = decorators[i];\r\n decorator(target, propertyKey);\r\n }\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#getorcreatemetadatamap--o-p-create-\r\n function GetOrCreateMetadataMap(target, targetKey, create) {\r\n var targetMetadata = Metadata.get(target);\r\n if (!targetMetadata) {\r\n if (!create)\r\n return undefined;\r\n targetMetadata = new _Map();\r\n Metadata.set(target, targetMetadata);\r\n }\r\n var keyMetadata = targetMetadata.get(targetKey);\r\n if (!keyMetadata) {\r\n if (!create)\r\n return undefined;\r\n keyMetadata = new _Map();\r\n targetMetadata.set(targetKey, keyMetadata);\r\n }\r\n return keyMetadata;\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinaryhasmetadata--metadatakey-o-p-\r\n function OrdinaryHasMetadata(MetadataKey, O, P) {\r\n var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn)\r\n return true;\r\n var parent = GetPrototypeOf(O);\r\n return parent !== null ? OrdinaryHasMetadata(MetadataKey, parent, P) : false;\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-\r\n function OrdinaryHasOwnMetadata(MetadataKey, O, P) {\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n return metadataMap !== undefined && Boolean(metadataMap.has(MetadataKey));\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarygetmetadata--metadatakey-o-p-\r\n function OrdinaryGetMetadata(MetadataKey, O, P) {\r\n var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn)\r\n return OrdinaryGetOwnMetadata(MetadataKey, O, P);\r\n var parent = GetPrototypeOf(O);\r\n return parent !== null ? OrdinaryGetMetadata(MetadataKey, parent, P) : undefined;\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarygetownmetadata--metadatakey-o-p-\r\n function OrdinaryGetOwnMetadata(MetadataKey, O, P) {\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-\r\n function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ true);\r\n metadataMap.set(MetadataKey, MetadataValue);\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinarymetadatakeys--o-p-\r\n function OrdinaryMetadataKeys(O, P) {\r\n var ownKeys = OrdinaryOwnMetadataKeys(O, P);\r\n var parent = GetPrototypeOf(O);\r\n if (parent === null)\r\n return ownKeys;\r\n var parentKeys = OrdinaryMetadataKeys(parent, P);\r\n if (parentKeys.length <= 0)\r\n return ownKeys;\r\n if (ownKeys.length <= 0)\r\n return parentKeys;\r\n var keys = new _Set();\r\n for (var _i = 0; _i < ownKeys.length; _i++) {\r\n var key = ownKeys[_i];\r\n keys.add(key);\r\n }\r\n for (var _a = 0; _a < parentKeys.length; _a++) {\r\n var key = parentKeys[_a];\r\n keys.add(key);\r\n }\r\n return getKeys(keys);\r\n }\r\n // https://github.com/rbuckton/ReflectDecorators/blob/master/spec/metadata.md#ordinaryownmetadatakeys--o-p-\r\n function OrdinaryOwnMetadataKeys(target, targetKey) {\r\n var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n var keys = [];\r\n if (metadataMap)\r\n forEach(metadataMap, function (_, key) { return keys.push(key); });\r\n return keys;\r\n }\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type\r\n function IsUndefined(x) {\r\n return x === undefined;\r\n }\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray\r\n function IsArray(x) {\r\n return Array.isArray ? Array.isArray(x) : x instanceof Array || Object.prototype.toString.call(x) === \"[object Array]\";\r\n }\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type\r\n function IsObject(x) {\r\n return typeof x === \"object\" ? x !== null : typeof x === \"function\";\r\n }\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor\r\n function IsConstructor(x) {\r\n return typeof x === \"function\";\r\n }\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type\r\n function IsSymbol(x) {\r\n return typeof x === \"symbol\";\r\n }\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey\r\n function ToPropertyKey(value) {\r\n return IsSymbol(value) ? value : String(value);\r\n }\r\n function GetPrototypeOf(O) {\r\n var proto = Object.getPrototypeOf(O);\r\n if (typeof O !== \"function\" || O === functionPrototype)\r\n return proto;\r\n // TypeScript doesn't set __proto__ in ES5, as it's non-standard.\r\n // Try to determine the superclass Exampleonstructor. Compatible implementations\r\n // must either set __proto__ on a subclass Exampleonstructor to the superclass Exampleonstructor,\r\n // or ensure each class has a valid `constructor` property on its prototype that\r\n // points back to the constructor.\r\n // If this is not the same as Function.[[Prototype]], then this is definately inherited.\r\n // This is the case when in ES6 or when using __proto__ in a compatible browser.\r\n if (proto !== functionPrototype)\r\n return proto;\r\n // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\r\n var prototype = O.prototype;\r\n var prototypeProto = prototype && Object.getPrototypeOf(prototype);\r\n if (prototypeProto == null || prototypeProto === Object.prototype)\r\n return proto;\r\n // If the constructor was not a function, then we cannot determine the heritage.\r\n var constructor = prototypeProto.constructor;\r\n if (typeof constructor !== \"function\")\r\n return proto;\r\n // If we have some kind of self-reference, then we cannot determine the heritage.\r\n if (constructor === O)\r\n return proto;\r\n // we have a pretty good guess at the heritage.\r\n return constructor;\r\n }\r\n function IteratorStep(iterator) {\r\n var result = iterator.next();\r\n return result.done ? undefined : result;\r\n }\r\n function IteratorClose(iterator) {\r\n var f = iterator[\"return\"];\r\n if (f)\r\n f.call(iterator);\r\n }\r\n function forEach(source, callback, thisArg) {\r\n var entries = source.entries;\r\n if (typeof entries === \"function\") {\r\n var iterator = entries.call(source);\r\n var result;\r\n try {\r\n while (result = IteratorStep(iterator)) {\r\n var _a = result.value, key = _a[0], value = _a[1];\r\n callback.call(thisArg, value, key, source);\r\n }\r\n }\r\n finally {\r\n if (result)\r\n IteratorClose(iterator);\r\n }\r\n }\r\n else {\r\n var forEach_1 = source.forEach;\r\n if (typeof forEach_1 === \"function\") {\r\n forEach_1.call(source, callback, thisArg);\r\n }\r\n }\r\n }\r\n function getKeys(source) {\r\n var keys = [];\r\n forEach(source, function (_, key) { keys.push(key); });\r\n return keys;\r\n }\r\n // naive MapIterator shim\r\n function CreateMapIterator(keys, values, kind) {\r\n var index = 0;\r\n return {\r\n next: function () {\r\n if ((keys || values) && index < (keys || values).length) {\r\n var current = index++;\r\n switch (kind) {\r\n case \"key\": return { value: keys[current], done: false };\r\n case \"value\": return { value: values[current], done: false };\r\n case \"key+value\": return { value: [keys[current], values[current]], done: false };\r\n }\r\n }\r\n keys = undefined;\r\n values = undefined;\r\n return { value: undefined, done: true };\r\n },\r\n \"throw\": function (error) {\r\n if (keys || values) {\r\n keys = undefined;\r\n values = undefined;\r\n }\r\n throw error;\r\n },\r\n \"return\": function (value) {\r\n if (keys || values) {\r\n keys = undefined;\r\n values = undefined;\r\n }\r\n return { value: value, done: true };\r\n }\r\n };\r\n }\r\n // naive Map shim\r\n function CreateMapPolyfill() {\r\n var cacheSentinel = {};\r\n return (function () {\r\n function Map() {\r\n this._keys = [];\r\n this._values = [];\r\n this._cacheKey = cacheSentinel;\r\n this._cacheIndex = -2;\r\n }\r\n Object.defineProperty(Map.prototype, \"size\", {\r\n get: function () { return this._keys.length; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Map.prototype.has = function (key) { return this._find(key, /*insert*/ false) >= 0; };\r\n Map.prototype.get = function (key) {\r\n var index = this._find(key, /*insert*/ false);\r\n return index >= 0 ? this._values[index] : undefined;\r\n };\r\n Map.prototype.set = function (key, value) {\r\n var index = this._find(key, /*insert*/ true);\r\n this._values[index] = value;\r\n return this;\r\n };\r\n Map.prototype.delete = function (key) {\r\n var index = this._find(key, /*insert*/ false);\r\n if (index >= 0) {\r\n var size = this._keys.length;\r\n for (var i = index + 1; i < size; i++) {\r\n this._keys[i - 1] = this._keys[i];\r\n this._values[i - 1] = this._values[i];\r\n }\r\n this._keys.length--;\r\n this._values.length--;\r\n this._cacheKey = cacheSentinel;\r\n this._cacheIndex = -2;\r\n return true;\r\n }\r\n return false;\r\n };\r\n Map.prototype.clear = function () {\r\n this._keys.length = 0;\r\n this._values.length = 0;\r\n this._cacheKey = cacheSentinel;\r\n this._cacheIndex = -2;\r\n };\r\n Map.prototype.keys = function () { return CreateMapIterator(this._keys, /*values*/ undefined, \"key\"); };\r\n Map.prototype.values = function () { return CreateMapIterator(/*keys*/ undefined, this._values, \"value\"); };\r\n Map.prototype.entries = function () { return CreateMapIterator(this._keys, this._values, \"key+value\"); };\r\n Map.prototype._find = function (key, insert) {\r\n if (this._cacheKey === key)\r\n return this._cacheIndex;\r\n var index = this._keys.indexOf(key);\r\n if (index < 0 && insert) {\r\n index = this._keys.length;\r\n this._keys.push(key);\r\n this._values.push(undefined);\r\n }\r\n return this._cacheKey = key, this._cacheIndex = index;\r\n };\r\n return Map;\r\n })();\r\n }\r\n // naive Set shim\r\n function CreateSetPolyfill() {\r\n return (function () {\r\n function Set() {\r\n this._map = new _Map();\r\n }\r\n Object.defineProperty(Set.prototype, \"size\", {\r\n get: function () { return this._map.size; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Set.prototype.has = function (value) { return this._map.has(value); };\r\n Set.prototype.add = function (value) { return this._map.set(value, value), this; };\r\n Set.prototype.delete = function (value) { return this._map.delete(value); };\r\n Set.prototype.clear = function () { this._map.clear(); };\r\n Set.prototype.keys = function () { return this._map.keys(); };\r\n Set.prototype.values = function () { return this._map.values(); };\r\n Set.prototype.entries = function () { return this._map.entries(); };\r\n return Set;\r\n })();\r\n }\r\n // naive WeakMap shim\r\n function CreateWeakMapPolyfill() {\r\n var UUID_SIZE = 16;\r\n var keys = createDictionary();\r\n var rootKey = CreateUniqueKey();\r\n return (function () {\r\n function WeakMap() {\r\n this._key = CreateUniqueKey();\r\n }\r\n WeakMap.prototype.has = function (target) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n return table !== undefined ? HashMap.has(table, this._key) : false;\r\n };\r\n WeakMap.prototype.get = function (target) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n return table !== undefined ? HashMap.get(table, this._key) : undefined;\r\n };\r\n WeakMap.prototype.set = function (target, value) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ true);\r\n table[this._key] = value;\r\n return this;\r\n };\r\n WeakMap.prototype.delete = function (target) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n return table !== undefined ? delete table[this._key] : false;\r\n };\r\n WeakMap.prototype.clear = function () {\r\n // NOTE: not a real clear, just makes the previous data unreachable\r\n this._key = CreateUniqueKey();\r\n };\r\n return WeakMap;\r\n })();\r\n function FillRandomBytes(buffer, size) {\r\n for (var i = 0; i < size; ++i)\r\n buffer[i] = Math.random() * 0xff | 0;\r\n return buffer;\r\n }\r\n function GenRandomBytes(size) {\r\n if (typeof Uint8Array === \"function\") {\r\n if (typeof crypto !== \"undefined\")\r\n return crypto.getRandomValues(new Uint8Array(size));\r\n if (typeof msCrypto !== \"undefined\")\r\n return msCrypto.getRandomValues(new Uint8Array(size));\r\n return FillRandomBytes(new Uint8Array(size), size);\r\n }\r\n return FillRandomBytes(new Array(size), size);\r\n }\r\n function CreateUUID() {\r\n var data = GenRandomBytes(UUID_SIZE);\r\n // mark as random - RFC 4122 § 4.4\r\n data[6] = data[6] & 0x4f | 0x40;\r\n data[8] = data[8] & 0xbf | 0x80;\r\n var result = \"\";\r\n for (var offset = 0; offset < UUID_SIZE; ++offset) {\r\n var byte = data[offset];\r\n if (offset === 4 || offset === 6 || offset === 8)\r\n result += \"-\";\r\n if (byte < 16)\r\n result += \"0\";\r\n result += byte.toString(16).toLowerCase();\r\n }\r\n return result;\r\n }\r\n function CreateUniqueKey() {\r\n var key;\r\n do\r\n key = \"@@WeakMap@@\" + CreateUUID();\r\n while (HashMap.has(keys, key));\r\n keys[key] = true;\r\n return key;\r\n }\r\n function GetOrCreateWeakMapTable(target, create) {\r\n if (!hasOwn.call(target, rootKey)) {\r\n if (!create)\r\n return undefined;\r\n Object.defineProperty(target, rootKey, { value: createDictionary() });\r\n }\r\n return target[rootKey];\r\n }\r\n }\r\n // uses a heuristic used by v8 and chakra to force an object into dictionary mode.\r\n function MakeDictionary(obj) {\r\n obj.__DICTIONARY_MODE__ = 1;\r\n delete obj.____DICTIONARY_MODE__;\r\n return obj;\r\n }\r\n // patch global Reflect\r\n (function (__global) {\r\n if (typeof __global.Reflect !== \"undefined\") {\r\n if (__global.Reflect !== Reflect) {\r\n for (var p in Reflect) {\r\n if (hasOwn.call(Reflect, p)) {\r\n __global.Reflect[p] = Reflect[p];\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n __global.Reflect = Reflect;\r\n }\r\n })(typeof window !== \"undefined\" ? window :\r\n typeof WorkerGlobalScope !== \"undefined\" ? self :\r\n typeof global !== \"undefined\" ? global :\r\n Function(\"return this;\")());\r\n})(Reflect || (Reflect = {}));\r\n//# sourceMappingURL=Reflect.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/reflect-metadata/Reflect.js\n ** module id = 385\n ** module chunks = 1\n **/","/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\t__webpack_require__(1);\n\tvar event_target_1 = __webpack_require__(2);\n\tvar define_property_1 = __webpack_require__(4);\n\tvar register_element_1 = __webpack_require__(5);\n\tvar property_descriptor_1 = __webpack_require__(6);\n\tvar timers_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(3);\n\tvar set = 'set';\n\tvar clear = 'clear';\n\tvar blockingMethods = ['alert', 'prompt', 'confirm'];\n\tvar _global = typeof window == 'undefined' ? global : window;\n\ttimers_1.patchTimer(_global, set, clear, 'Timeout');\n\ttimers_1.patchTimer(_global, set, clear, 'Interval');\n\ttimers_1.patchTimer(_global, set, clear, 'Immediate');\n\ttimers_1.patchTimer(_global, 'request', 'cancel', 'AnimationFrame');\n\ttimers_1.patchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n\ttimers_1.patchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n\tfor (var i = 0; i < blockingMethods.length; i++) {\n\t var name = blockingMethods[i];\n\t utils_1.patchMethod(_global, name, function (delegate, symbol, name) {\n\t return function (s, args) {\n\t return Zone.current.run(delegate, _global, args, name);\n\t };\n\t });\n\t}\n\tevent_target_1.eventTargetPatch(_global);\n\tproperty_descriptor_1.propertyDescriptorPatch(_global);\n\tutils_1.patchClass('MutationObserver');\n\tutils_1.patchClass('WebKitMutationObserver');\n\tutils_1.patchClass('FileReader');\n\tdefine_property_1.propertyPatch();\n\tregister_element_1.registerElementPatch(_global);\n\t// Treat XMLHTTPRequest as a macrotask.\n\tpatchXHR(_global);\n\tvar XHR_TASK = utils_1.zoneSymbol('xhrTask');\n\tfunction patchXHR(window) {\n\t function findPendingTask(target) {\n\t var pendingTask = target[XHR_TASK];\n\t return pendingTask;\n\t }\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.target.addEventListener('readystatechange', function () {\n\t if (data.target.readyState === XMLHttpRequest.DONE) {\n\t if (!data.aborted) {\n\t task.invoke();\n\t }\n\t }\n\t });\n\t var storedTask = data.target[XHR_TASK];\n\t if (!storedTask) {\n\t data.target[XHR_TASK] = task;\n\t }\n\t setNative.apply(data.target, data.args);\n\t return task;\n\t }\n\t function placeholderCallback() {\n\t }\n\t function clearTask(task) {\n\t var data = task.data;\n\t // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n\t // to prevent it from firing. So instead, we store info for the event listener.\n\t data.aborted = true;\n\t return clearNative.apply(data.target, data.args);\n\t }\n\t var setNative = utils_1.patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n\t var zone = Zone.current;\n\t var options = {\n\t target: self,\n\t isPeriodic: false,\n\t delay: null,\n\t args: args,\n\t aborted: false\n\t };\n\t return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n\t }; });\n\t var clearNative = utils_1.patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n\t var task = findPendingTask(self);\n\t if (task && typeof task.type == 'string') {\n\t // If the XHR has already completed, do nothing.\n\t if (task.cancelFn == null) {\n\t return;\n\t }\n\t task.zone.cancelTask(task);\n\t }\n\t // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task to cancel. Do nothing.\n\t }; });\n\t}\n\t/// GEO_LOCATION\n\tif (_global['navigator'] && _global['navigator'].geolocation) {\n\t utils_1.patchPrototype(_global['navigator'].geolocation, [\n\t 'getCurrentPosition',\n\t 'watchPosition'\n\t ]);\n\t}\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {;\n\t;\n\tvar Zone = (function (global) {\n\t if (global.Zone) {\n\t throw new Error('Zone already loaded.');\n\t }\n\t var Zone = (function () {\n\t function Zone(parent, zoneSpec) {\n\t this._properties = null;\n\t this._parent = parent;\n\t this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n\t this._properties = zoneSpec && zoneSpec.properties || {};\n\t this._zoneDelegate = new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n\t }\n\t Object.defineProperty(Zone, \"current\", {\n\t get: function () { return _currentZone; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(Zone, \"currentTask\", {\n\t get: function () { return _currentTask; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(Zone.prototype, \"parent\", {\n\t get: function () { return this._parent; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(Zone.prototype, \"name\", {\n\t get: function () { return this._name; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Zone.prototype.get = function (key) {\n\t var zone = this.getZoneWith(key);\n\t if (zone)\n\t return zone._properties[key];\n\t };\n\t Zone.prototype.getZoneWith = function (key) {\n\t var current = this;\n\t while (current) {\n\t if (current._properties.hasOwnProperty(key)) {\n\t return current;\n\t }\n\t current = current._parent;\n\t }\n\t return null;\n\t };\n\t Zone.prototype.fork = function (zoneSpec) {\n\t if (!zoneSpec)\n\t throw new Error('ZoneSpec required!');\n\t return this._zoneDelegate.fork(this, zoneSpec);\n\t };\n\t Zone.prototype.wrap = function (callback, source) {\n\t if (typeof callback !== 'function') {\n\t throw new Error('Expecting function got: ' + callback);\n\t }\n\t var _callback = this._zoneDelegate.intercept(this, callback, source);\n\t var zone = this;\n\t return function () {\n\t return zone.runGuarded(_callback, this, arguments, source);\n\t };\n\t };\n\t Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n\t task.runCount++;\n\t if (task.zone != this)\n\t throw new Error('A task can only be run in the zone which created it! (Creation: ' +\n\t task.zone.name + '; Execution: ' + this.name + ')');\n\t var previousTask = _currentTask;\n\t _currentTask = task;\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n\t task.cancelFn = null;\n\t }\n\t try {\n\t return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t _currentTask = previousTask;\n\t }\n\t };\n\t Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n\t };\n\t Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.cancelTask = function (task) {\n\t var value = this._zoneDelegate.cancelTask(this, task);\n\t task.runCount = -1;\n\t task.cancelFn = null;\n\t return value;\n\t };\n\t Zone.__symbol__ = __symbol__;\n\t return Zone;\n\t }());\n\t ;\n\t var ZoneDelegate = (function () {\n\t function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n\t this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n\t this.zone = zone;\n\t this._parentDelegate = parentDelegate;\n\t this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n\t this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n\t this._interceptZS = zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n\t this._interceptDlgt = zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n\t this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n\t this._invokeDlgt = zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n\t this._handleErrorZS = zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n\t this._handleErrorDlgt = zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n\t this._scheduleTaskZS = zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n\t this._scheduleTaskDlgt = zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n\t this._invokeTaskZS = zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n\t this._invokeTaskDlgt = zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n\t this._cancelTaskZS = zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n\t this._cancelTaskDlgt = zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n\t this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n\t this._hasTaskDlgt = zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n\t }\n\t ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n\t return this._forkZS\n\t ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec)\n\t : new Zone(targetZone, zoneSpec);\n\t };\n\t ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n\t return this._interceptZS\n\t ? this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source)\n\t : callback;\n\t };\n\t ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n\t return this._invokeZS\n\t ? this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source)\n\t : callback.apply(applyThis, applyArgs);\n\t };\n\t ZoneDelegate.prototype.handleError = function (targetZone, error) {\n\t return this._handleErrorZS\n\t ? this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error)\n\t : true;\n\t };\n\t ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n\t try {\n\t if (this._scheduleTaskZS) {\n\t return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (task.scheduleFn) {\n\t task.scheduleFn(task);\n\t }\n\t else if (task.type == 'microTask') {\n\t scheduleMicroTask(task);\n\t }\n\t else {\n\t throw new Error('Task is missing scheduleFn.');\n\t }\n\t return task;\n\t }\n\t finally {\n\t if (targetZone == this.zone) {\n\t this._updateTaskCount(task.type, 1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n\t try {\n\t return this._invokeTaskZS\n\t ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs)\n\t : task.callback.apply(applyThis, applyArgs);\n\t }\n\t finally {\n\t if (targetZone == this.zone && (task.type != 'eventTask') && !(task.data && task.data.isPeriodic)) {\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n\t var value;\n\t if (this._cancelTaskZS) {\n\t value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (!task.cancelFn) {\n\t throw new Error('Task does not support cancellation, or is already canceled.');\n\t }\n\t else {\n\t value = task.cancelFn(task);\n\t }\n\t if (targetZone == this.zone) {\n\t // this should not be in the finally block, because exceptions assume not canceled.\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t return value;\n\t };\n\t ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n\t return this._hasTaskZS && this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n\t };\n\t ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n\t var counts = this._taskCounts;\n\t var prev = counts[type];\n\t var next = counts[type] = prev + count;\n\t if (next < 0) {\n\t throw new Error('More tasks executed then were scheduled.');\n\t }\n\t if (prev == 0 || next == 0) {\n\t var isEmpty = {\n\t microTask: counts.microTask > 0,\n\t macroTask: counts.macroTask > 0,\n\t eventTask: counts.eventTask > 0,\n\t change: type\n\t };\n\t try {\n\t this.hasTask(this.zone, isEmpty);\n\t }\n\t finally {\n\t if (this._parentDelegate) {\n\t this._parentDelegate._updateTaskCount(type, count);\n\t }\n\t }\n\t }\n\t };\n\t return ZoneDelegate;\n\t }());\n\t var ZoneTask = (function () {\n\t function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n\t this.runCount = 0;\n\t this.type = type;\n\t this.zone = zone;\n\t this.source = source;\n\t this.data = options;\n\t this.scheduleFn = scheduleFn;\n\t this.cancelFn = cancelFn;\n\t this.callback = callback;\n\t var self = this;\n\t this.invoke = function () {\n\t _numberOfNestedTaskFrames++;\n\t try {\n\t return zone.runTask(self, this, arguments);\n\t }\n\t finally {\n\t if (_numberOfNestedTaskFrames == 1) {\n\t drainMicroTaskQueue();\n\t }\n\t _numberOfNestedTaskFrames--;\n\t }\n\t };\n\t }\n\t ZoneTask.prototype.toString = function () {\n\t if (this.data && typeof this.data.handleId !== 'undefined') {\n\t return this.data.handleId;\n\t }\n\t else {\n\t return this.toString();\n\t }\n\t };\n\t return ZoneTask;\n\t }());\n\t function __symbol__(name) { return '__zone_symbol__' + name; }\n\t ;\n\t var symbolSetTimeout = __symbol__('setTimeout');\n\t var symbolPromise = __symbol__('Promise');\n\t var symbolThen = __symbol__('then');\n\t var _currentZone = new Zone(null, null);\n\t var _currentTask = null;\n\t var _microTaskQueue = [];\n\t var _isDrainingMicrotaskQueue = false;\n\t var _uncaughtPromiseErrors = [];\n\t var _numberOfNestedTaskFrames = 0;\n\t function scheduleQueueDrain() {\n\t // if we are not running in any task, and there has not been anything scheduled\n\t // we must bootstrap the initial task creation by manually scheduling the drain\n\t if (_numberOfNestedTaskFrames == 0 && _microTaskQueue.length == 0) {\n\t // We are not running in Task, so we need to kickstart the microtask queue.\n\t if (global[symbolPromise]) {\n\t global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n\t }\n\t else {\n\t global[symbolSetTimeout](drainMicroTaskQueue, 0);\n\t }\n\t }\n\t }\n\t function scheduleMicroTask(task) {\n\t scheduleQueueDrain();\n\t _microTaskQueue.push(task);\n\t }\n\t function consoleError(e) {\n\t var rejection = e && e.rejection;\n\t if (rejection) {\n\t console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n\t }\n\t console.error(e);\n\t }\n\t function drainMicroTaskQueue() {\n\t if (!_isDrainingMicrotaskQueue) {\n\t _isDrainingMicrotaskQueue = true;\n\t while (_microTaskQueue.length) {\n\t var queue = _microTaskQueue;\n\t _microTaskQueue = [];\n\t for (var i = 0; i < queue.length; i++) {\n\t var task = queue[i];\n\t try {\n\t task.zone.runTask(task, null, null);\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t }\n\t }\n\t while (_uncaughtPromiseErrors.length) {\n\t var _loop_1 = function() {\n\t var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n\t try {\n\t uncaughtPromiseError.zone.runGuarded(function () { throw uncaughtPromiseError; });\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t };\n\t while (_uncaughtPromiseErrors.length) {\n\t _loop_1();\n\t }\n\t }\n\t _isDrainingMicrotaskQueue = false;\n\t }\n\t }\n\t function isThenable(value) {\n\t return value && value.then;\n\t }\n\t function forwardResolution(value) { return value; }\n\t function forwardRejection(rejection) { return ZoneAwarePromise.reject(rejection); }\n\t var symbolState = __symbol__('state');\n\t var symbolValue = __symbol__('value');\n\t var source = 'Promise.then';\n\t var UNRESOLVED = null;\n\t var RESOLVED = true;\n\t var REJECTED = false;\n\t var REJECTED_NO_CATCH = 0;\n\t function makeResolver(promise, state) {\n\t return function (v) {\n\t resolvePromise(promise, state, v);\n\t // Do not return value or you will break the Promise spec.\n\t };\n\t }\n\t function resolvePromise(promise, state, value) {\n\t if (promise[symbolState] === UNRESOLVED) {\n\t if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n\t clearRejectedNoCatch(value);\n\t resolvePromise(promise, value[symbolState], value[symbolValue]);\n\t }\n\t else if (isThenable(value)) {\n\t value.then(makeResolver(promise, state), makeResolver(promise, false));\n\t }\n\t else {\n\t promise[symbolState] = state;\n\t var queue = promise[symbolValue];\n\t promise[symbolValue] = value;\n\t for (var i = 0; i < queue.length;) {\n\t scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n\t }\n\t if (queue.length == 0 && state == REJECTED) {\n\t promise[symbolState] = REJECTED_NO_CATCH;\n\t try {\n\t throw new Error(\"Uncaught (in promise): \" + value);\n\t }\n\t catch (e) {\n\t var error = e;\n\t error.rejection = value;\n\t error.promise = promise;\n\t error.zone = Zone.current;\n\t error.task = Zone.currentTask;\n\t _uncaughtPromiseErrors.push(error);\n\t scheduleQueueDrain();\n\t }\n\t }\n\t }\n\t }\n\t // Resolving an already resolved promise is a noop.\n\t return promise;\n\t }\n\t function clearRejectedNoCatch(promise) {\n\t if (promise[symbolState] === REJECTED_NO_CATCH) {\n\t promise[symbolState] = REJECTED;\n\t for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n\t if (promise === _uncaughtPromiseErrors[i].promise) {\n\t _uncaughtPromiseErrors.splice(i, 1);\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n\t clearRejectedNoCatch(promise);\n\t var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n\t zone.scheduleMicroTask(source, function () {\n\t try {\n\t resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n\t }\n\t catch (error) {\n\t resolvePromise(chainPromise, false, error);\n\t }\n\t });\n\t }\n\t var ZoneAwarePromise = (function () {\n\t function ZoneAwarePromise(executor) {\n\t var promise = this;\n\t if (!(promise instanceof ZoneAwarePromise)) {\n\t throw new Error('Must be an instanceof Promise.');\n\t }\n\t promise[symbolState] = UNRESOLVED;\n\t promise[symbolValue] = []; // queue;\n\t try {\n\t executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n\t }\n\t catch (e) {\n\t resolvePromise(promise, false, e);\n\t }\n\t }\n\t ZoneAwarePromise.resolve = function (value) {\n\t return resolvePromise(new this(null), RESOLVED, value);\n\t };\n\t ZoneAwarePromise.reject = function (error) {\n\t return resolvePromise(new this(null), REJECTED, error);\n\t };\n\t ZoneAwarePromise.race = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) { resolve = res; reject = rej; });\n\t function onResolve(value) { promise && (promise = null || resolve(value)); }\n\t function onReject(error) { promise && (promise = null || reject(error)); }\n\t for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n\t var value = values_1[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then(onResolve, onReject);\n\t }\n\t return promise;\n\t };\n\t ZoneAwarePromise.all = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) { resolve = res; reject = rej; });\n\t var count = 0;\n\t var resolvedValues = [];\n\t function onReject(error) { promise && reject(error); promise = null; }\n\t for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n\t var value = values_2[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then((function (index) { return function (value) {\n\t resolvedValues[index] = value;\n\t count--;\n\t if (promise && !count) {\n\t resolve(resolvedValues);\n\t }\n\t promise == null;\n\t }; })(count), onReject);\n\t count++;\n\t }\n\t if (!count)\n\t resolve(resolvedValues);\n\t return promise;\n\t };\n\t ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n\t var chainPromise = new this.constructor(null);\n\t var zone = Zone.current;\n\t if (this[symbolState] == UNRESOLVED) {\n\t this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t else {\n\t scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t return chainPromise;\n\t };\n\t ZoneAwarePromise.prototype.catch = function (onRejected) {\n\t return this.then(null, onRejected);\n\t };\n\t return ZoneAwarePromise;\n\t }());\n\t var NativePromise = global[__symbol__('Promise')] = global.Promise;\n\t global.Promise = ZoneAwarePromise;\n\t if (NativePromise) {\n\t var NativePromiseProtototype = NativePromise.prototype;\n\t var NativePromiseThen_1 = NativePromiseProtototype[__symbol__('then')]\n\t = NativePromiseProtototype.then;\n\t NativePromiseProtototype.then = function (onResolve, onReject) {\n\t var nativePromise = this;\n\t return new ZoneAwarePromise(function (resolve, reject) {\n\t NativePromiseThen_1.call(nativePromise, resolve, reject);\n\t }).then(onResolve, onReject);\n\t };\n\t }\n\t // This is not part of public API, but it is usefull for tests, so we expose it.\n\t Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n\t return global.Zone = Zone;\n\t})(typeof window === 'undefined' ? global : window);\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\tvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n\tvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'.split(',');\n\tvar EVENT_TARGET = 'EventTarget';\n\tfunction eventTargetPatch(_global) {\n\t var apis = [];\n\t var isWtf = _global['wtf'];\n\t if (isWtf) {\n\t // Workaround for: https://github.com/google/tracing-framework/issues/555\n\t apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n\t }\n\t else if (_global[EVENT_TARGET]) {\n\t apis.push(EVENT_TARGET);\n\t }\n\t else {\n\t // Note: EventTarget is not available in all browsers,\n\t // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n\t apis = NO_EVENT_TARGET;\n\t }\n\t for (var i = 0; i < apis.length; i++) {\n\t var type = _global[apis[i]];\n\t utils_1.patchEventTargetMethods(type && type.prototype);\n\t }\n\t}\n\texports.eventTargetPatch = eventTargetPatch;\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * Suppress closure compiler errors about unknown 'process' variable\n\t * @fileoverview\n\t * @suppress {undefinedVars}\n\t */\n\t\"use strict\";\n\texports.zoneSymbol = Zone['__symbol__'];\n\tvar _global = typeof window == 'undefined' ? global : window;\n\tfunction bindArguments(args, source) {\n\t for (var i = args.length - 1; i >= 0; i--) {\n\t if (typeof args[i] === 'function') {\n\t args[i] = Zone.current.wrap(args[i], source + '_' + i);\n\t }\n\t }\n\t return args;\n\t}\n\texports.bindArguments = bindArguments;\n\t;\n\tfunction patchPrototype(prototype, fnNames) {\n\t var source = prototype.constructor['name'];\n\t var _loop_1 = function(i) {\n\t var name_1 = fnNames[i];\n\t var delegate = prototype[name_1];\n\t if (delegate) {\n\t prototype[name_1] = (function (delegate) {\n\t return function () {\n\t return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n\t };\n\t })(delegate);\n\t }\n\t };\n\t for (var i = 0; i < fnNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t}\n\texports.patchPrototype = patchPrototype;\n\t;\n\texports.isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n\texports.isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\n\texports.isBrowser = !exports.isNode && !exports.isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n\tfunction patchProperty(obj, prop) {\n\t var desc = Object.getOwnPropertyDescriptor(obj, prop) || {\n\t enumerable: true,\n\t configurable: true\n\t };\n\t // A property descriptor cannot have getter/setter and be writable\n\t // deleting the writable and value properties avoids this error:\n\t //\n\t // TypeError: property descriptors must not specify a value or be writable when a\n\t // getter or setter has been specified\n\t delete desc.writable;\n\t delete desc.value;\n\t // substr(2) cuz 'onclick' -> 'click', etc\n\t var eventName = prop.substr(2);\n\t var _prop = '_' + prop;\n\t desc.set = function (fn) {\n\t if (this[_prop]) {\n\t this.removeEventListener(eventName, this[_prop]);\n\t }\n\t if (typeof fn === 'function') {\n\t var wrapFn = function (event) {\n\t var result;\n\t result = fn.apply(this, arguments);\n\t if (result != undefined && !result)\n\t event.preventDefault();\n\t };\n\t this[_prop] = wrapFn;\n\t this.addEventListener(eventName, wrapFn, false);\n\t }\n\t else {\n\t this[_prop] = null;\n\t }\n\t };\n\t desc.get = function () {\n\t return this[_prop];\n\t };\n\t Object.defineProperty(obj, prop, desc);\n\t}\n\texports.patchProperty = patchProperty;\n\t;\n\tfunction patchOnProperties(obj, properties) {\n\t var onProperties = [];\n\t for (var prop in obj) {\n\t if (prop.substr(0, 2) == 'on') {\n\t onProperties.push(prop);\n\t }\n\t }\n\t for (var j = 0; j < onProperties.length; j++) {\n\t patchProperty(obj, onProperties[j]);\n\t }\n\t if (properties) {\n\t for (var i = 0; i < properties.length; i++) {\n\t patchProperty(obj, 'on' + properties[i]);\n\t }\n\t }\n\t}\n\texports.patchOnProperties = patchOnProperties;\n\t;\n\tvar EVENT_TASKS = exports.zoneSymbol('eventTasks');\n\tvar ADD_EVENT_LISTENER = 'addEventListener';\n\tvar REMOVE_EVENT_LISTENER = 'removeEventListener';\n\tvar SYMBOL_ADD_EVENT_LISTENER = exports.zoneSymbol(ADD_EVENT_LISTENER);\n\tvar SYMBOL_REMOVE_EVENT_LISTENER = exports.zoneSymbol(REMOVE_EVENT_LISTENER);\n\tfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (eventTasks) {\n\t for (var i = 0; i < eventTasks.length; i++) {\n\t var eventTask = eventTasks[i];\n\t var data = eventTask.data;\n\t if (data.handler === handler\n\t && data.useCapturing === capture\n\t && data.eventName === name) {\n\t if (remove) {\n\t eventTasks.splice(i, 1);\n\t }\n\t return eventTask;\n\t }\n\t }\n\t }\n\t return null;\n\t}\n\tfunction attachRegisteredEvent(target, eventTask) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (!eventTasks) {\n\t eventTasks = target[EVENT_TASKS] = [];\n\t }\n\t eventTasks.push(eventTask);\n\t}\n\tfunction scheduleEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t attachRegisteredEvent(meta.target, eventTask);\n\t return meta.target[SYMBOL_ADD_EVENT_LISTENER](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t}\n\tfunction cancelEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n\t meta.target[SYMBOL_REMOVE_EVENT_LISTENER](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t}\n\tfunction zoneAwareAddEventListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || false;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global;\n\t var delegate = null;\n\t if (typeof handler == 'function') {\n\t delegate = handler;\n\t }\n\t else if (handler && handler.handleEvent) {\n\t delegate = function (event) { return handler.handleEvent(event); };\n\t }\n\t var validZoneHandler = false;\n\t try {\n\t // In cross site contexts (such as WebDriver frameworks like Selenium),\n\t // accessing the handler object here will cause an exception to be thrown which\n\t // will fail tests prematurely.\n\t validZoneHandler = handler && handler.toString() === \"[object FunctionWrapper]\";\n\t }\n\t catch (e) {\n\t // Returning nothing here is fine, because objects in a cross-site context are unusable\n\t return;\n\t }\n\t // Ignore special listeners of IE11 & Edge dev tools, see https://github.com/angular/zone.js/issues/150\n\t if (!delegate || validZoneHandler) {\n\t return target[SYMBOL_ADD_EVENT_LISTENER](eventName, handler, useCapturing);\n\t }\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n\t if (eventTask) {\n\t // we already registered, so this will have noop.\n\t return target[SYMBOL_ADD_EVENT_LISTENER](eventName, eventTask.invoke, useCapturing);\n\t }\n\t var zone = Zone.current;\n\t var source = target.constructor['name'] + '.addEventListener:' + eventName;\n\t var data = {\n\t target: target,\n\t eventName: eventName,\n\t name: eventName,\n\t useCapturing: useCapturing,\n\t handler: handler\n\t };\n\t zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n\t}\n\tfunction zoneAwareRemoveEventListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || false;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global;\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n\t if (eventTask) {\n\t eventTask.zone.cancelTask(eventTask);\n\t }\n\t else {\n\t target[SYMBOL_REMOVE_EVENT_LISTENER](eventName, handler, useCapturing);\n\t }\n\t}\n\tfunction patchEventTargetMethods(obj) {\n\t if (obj && obj.addEventListener) {\n\t patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n\t patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t}\n\texports.patchEventTargetMethods = patchEventTargetMethods;\n\t;\n\tvar originalInstanceKey = exports.zoneSymbol('originalInstance');\n\t// wrap some native API on `window`\n\tfunction patchClass(className) {\n\t var OriginalClass = _global[className];\n\t if (!OriginalClass)\n\t return;\n\t _global[className] = function () {\n\t var a = bindArguments(arguments, className);\n\t switch (a.length) {\n\t case 0:\n\t this[originalInstanceKey] = new OriginalClass();\n\t break;\n\t case 1:\n\t this[originalInstanceKey] = new OriginalClass(a[0]);\n\t break;\n\t case 2:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n\t break;\n\t case 3:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n\t break;\n\t case 4:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n\t break;\n\t default: throw new Error('Arg list too long.');\n\t }\n\t };\n\t var instance = new OriginalClass(function () { });\n\t var prop;\n\t for (prop in instance) {\n\t // https://bugs.webkit.org/show_bug.cgi?id=44721\n\t if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n\t continue;\n\t (function (prop) {\n\t if (typeof instance[prop] === 'function') {\n\t _global[className].prototype[prop] = function () {\n\t return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n\t };\n\t }\n\t else {\n\t Object.defineProperty(_global[className].prototype, prop, {\n\t set: function (fn) {\n\t if (typeof fn === 'function') {\n\t this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n\t }\n\t else {\n\t this[originalInstanceKey][prop] = fn;\n\t }\n\t },\n\t get: function () {\n\t return this[originalInstanceKey][prop];\n\t }\n\t });\n\t }\n\t }(prop));\n\t }\n\t for (prop in OriginalClass) {\n\t if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n\t _global[className][prop] = OriginalClass[prop];\n\t }\n\t }\n\t}\n\texports.patchClass = patchClass;\n\t;\n\tfunction createNamedFn(name, delegate) {\n\t try {\n\t return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n\t }\n\t catch (e) {\n\t // if we fail, we must be CSP, just return delegate.\n\t return function () {\n\t return delegate(this, arguments);\n\t };\n\t }\n\t}\n\texports.createNamedFn = createNamedFn;\n\tfunction patchMethod(target, name, patchFn) {\n\t var proto = target;\n\t while (proto && !proto.hasOwnProperty(name)) {\n\t proto = Object.getPrototypeOf(proto);\n\t }\n\t if (!proto && target[name]) {\n\t // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n\t proto = target;\n\t }\n\t var delegateName = exports.zoneSymbol(name);\n\t var delegate;\n\t if (proto && !(delegate = proto[delegateName])) {\n\t delegate = proto[delegateName] = proto[name];\n\t proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n\t }\n\t return delegate;\n\t}\n\texports.patchMethod = patchMethod;\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\t/*\n\t * This is necessary for Chrome and Chrome mobile, to enable\n\t * things like redefining `createdCallback` on an element.\n\t */\n\tvar _defineProperty = Object.defineProperty;\n\tvar _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\tvar _create = Object.create;\n\tvar unconfigurablesKey = utils_1.zoneSymbol('unconfigurables');\n\tfunction propertyPatch() {\n\t Object.defineProperty = function (obj, prop, desc) {\n\t if (isUnconfigurable(obj, prop)) {\n\t throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n\t }\n\t var originalConfigurableFlag = desc.configurable;\n\t if (prop !== 'prototype') {\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t }\n\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t };\n\t Object.defineProperties = function (obj, props) {\n\t Object.keys(props).forEach(function (prop) {\n\t Object.defineProperty(obj, prop, props[prop]);\n\t });\n\t return obj;\n\t };\n\t Object.create = function (obj, proto) {\n\t if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n\t Object.keys(proto).forEach(function (prop) {\n\t proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n\t });\n\t }\n\t return _create(obj, proto);\n\t };\n\t Object.getOwnPropertyDescriptor = function (obj, prop) {\n\t var desc = _getOwnPropertyDescriptor(obj, prop);\n\t if (isUnconfigurable(obj, prop)) {\n\t desc.configurable = false;\n\t }\n\t return desc;\n\t };\n\t}\n\texports.propertyPatch = propertyPatch;\n\t;\n\tfunction _redefineProperty(obj, prop, desc) {\n\t var originalConfigurableFlag = desc.configurable;\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t}\n\texports._redefineProperty = _redefineProperty;\n\t;\n\tfunction isUnconfigurable(obj, prop) {\n\t return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n\t}\n\tfunction rewriteDescriptor(obj, prop, desc) {\n\t desc.configurable = true;\n\t if (!desc.configurable) {\n\t if (!obj[unconfigurablesKey]) {\n\t _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n\t }\n\t obj[unconfigurablesKey][prop] = true;\n\t }\n\t return desc;\n\t}\n\tfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n\t try {\n\t return _defineProperty(obj, prop, desc);\n\t }\n\t catch (e) {\n\t if (desc.configurable) {\n\t // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's retry with the original flag value\n\t if (typeof originalConfigurableFlag == 'undefined') {\n\t delete desc.configurable;\n\t }\n\t else {\n\t desc.configurable = originalConfigurableFlag;\n\t }\n\t return _defineProperty(obj, prop, desc);\n\t }\n\t else {\n\t throw e;\n\t }\n\t }\n\t}\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar define_property_1 = __webpack_require__(4);\n\tvar utils_1 = __webpack_require__(3);\n\tfunction registerElementPatch(_global) {\n\t if (!utils_1.isBrowser || !('registerElement' in _global.document)) {\n\t return;\n\t }\n\t var _registerElement = document.registerElement;\n\t var callbacks = [\n\t 'createdCallback',\n\t 'attachedCallback',\n\t 'detachedCallback',\n\t 'attributeChangedCallback'\n\t ];\n\t document.registerElement = function (name, opts) {\n\t if (opts && opts.prototype) {\n\t callbacks.forEach(function (callback) {\n\t var source = 'Document.registerElement::' + callback;\n\t if (opts.prototype.hasOwnProperty(callback)) {\n\t var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n\t if (descriptor && descriptor.value) {\n\t descriptor.value = Zone.current.wrap(descriptor.value, source);\n\t define_property_1._redefineProperty(opts.prototype, callback, descriptor);\n\t }\n\t else {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t }\n\t else if (opts.prototype[callback]) {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t });\n\t }\n\t return _registerElement.apply(document, [name, opts]);\n\t };\n\t}\n\texports.registerElementPatch = registerElementPatch;\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar webSocketPatch = __webpack_require__(7);\n\tvar utils_1 = __webpack_require__(3);\n\tvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'.split(' ');\n\tfunction propertyDescriptorPatch(_global) {\n\t if (utils_1.isNode) {\n\t return;\n\t }\n\t var supportsWebSocket = typeof WebSocket !== 'undefined';\n\t if (canPatchViaPropertyDescriptor()) {\n\t // for browsers that we can patch the descriptor: Chrome & Firefox\n\t if (utils_1.isBrowser) {\n\t utils_1.patchOnProperties(HTMLElement.prototype, eventNames);\n\t }\n\t utils_1.patchOnProperties(XMLHttpRequest.prototype, null);\n\t if (typeof IDBIndex !== 'undefined') {\n\t utils_1.patchOnProperties(IDBIndex.prototype, null);\n\t utils_1.patchOnProperties(IDBRequest.prototype, null);\n\t utils_1.patchOnProperties(IDBOpenDBRequest.prototype, null);\n\t utils_1.patchOnProperties(IDBDatabase.prototype, null);\n\t utils_1.patchOnProperties(IDBTransaction.prototype, null);\n\t utils_1.patchOnProperties(IDBCursor.prototype, null);\n\t }\n\t if (supportsWebSocket) {\n\t utils_1.patchOnProperties(WebSocket.prototype, null);\n\t }\n\t }\n\t else {\n\t // Safari, Android browsers (Jelly Bean)\n\t patchViaCapturingAllTheEvents();\n\t utils_1.patchClass('XMLHttpRequest');\n\t if (supportsWebSocket) {\n\t webSocketPatch.apply(_global);\n\t }\n\t }\n\t}\n\texports.propertyDescriptorPatch = propertyDescriptorPatch;\n\tfunction canPatchViaPropertyDescriptor() {\n\t if (utils_1.isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick')\n\t && typeof Element !== 'undefined') {\n\t // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n\t // IDL interface attributes are not configurable\n\t var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n\t if (desc && !desc.configurable)\n\t return false;\n\t }\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n\t get: function () {\n\t return true;\n\t }\n\t });\n\t var req = new XMLHttpRequest();\n\t var result = !!req.onreadystatechange;\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n\t return result;\n\t}\n\t;\n\tvar unboundKey = utils_1.zoneSymbol('unbound');\n\t// Whenever any eventListener fires, we check the eventListener target and all parents\n\t// for `onwhatever` properties and replace them with zone-bound functions\n\t// - Chrome (for now)\n\tfunction patchViaCapturingAllTheEvents() {\n\t var _loop_1 = function(i) {\n\t var property = eventNames[i];\n\t var onproperty = 'on' + property;\n\t document.addEventListener(property, function (event) {\n\t var elt = event.target, bound, source;\n\t if (elt) {\n\t source = elt.constructor['name'] + '.' + onproperty;\n\t }\n\t else {\n\t source = 'unknown.' + onproperty;\n\t }\n\t while (elt) {\n\t if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n\t bound = Zone.current.wrap(elt[onproperty], source);\n\t bound[unboundKey] = elt[onproperty];\n\t elt[onproperty] = bound;\n\t }\n\t elt = elt.parentElement;\n\t }\n\t }, true);\n\t };\n\t for (var i = 0; i < eventNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t ;\n\t}\n\t;\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\t// we have to patch the instance since the proto is non-configurable\n\tfunction apply(_global) {\n\t var WS = _global.WebSocket;\n\t // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n\t // On older Chrome, no need since EventTarget was already patched\n\t if (!_global.EventTarget) {\n\t utils_1.patchEventTargetMethods(WS.prototype);\n\t }\n\t _global.WebSocket = function (a, b) {\n\t var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n\t var proxySocket;\n\t // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n\t var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n\t if (onmessageDesc && onmessageDesc.configurable === false) {\n\t proxySocket = Object.create(socket);\n\t ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n\t proxySocket[propName] = function () {\n\t return socket[propName].apply(socket, arguments);\n\t };\n\t });\n\t }\n\t else {\n\t // we can patch the real socket\n\t proxySocket = socket;\n\t }\n\t utils_1.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n\t return proxySocket;\n\t };\n\t for (var prop in WS) {\n\t _global.WebSocket[prop] = WS[prop];\n\t }\n\t}\n\texports.apply = apply;\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\tfunction patchTimer(window, setName, cancelName, nameSuffix) {\n\t var setNative = null;\n\t var clearNative = null;\n\t setName += nameSuffix;\n\t cancelName += nameSuffix;\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.args[0] = task.invoke;\n\t data.handleId = setNative.apply(window, data.args);\n\t return task;\n\t }\n\t function clearTask(task) {\n\t return clearNative(task.data.handleId);\n\t }\n\t setNative = utils_1.patchMethod(window, setName, function (delegate) { return function (self, args) {\n\t if (typeof args[0] === 'function') {\n\t var zone = Zone.current;\n\t var options = {\n\t handleId: null,\n\t isPeriodic: nameSuffix === 'Interval',\n\t delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n\t args: args\n\t };\n\t var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n\t if (!task) {\n\t return task;\n\t }\n\t // Node.js must additionally support the ref and unref functions.\n\t var handle = task.data.handleId;\n\t if (handle.ref && handle.unref) {\n\t task.ref = handle.ref.bind(handle);\n\t task.unref = handle.unref.bind(handle);\n\t }\n\t return task;\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t return delegate.apply(window, args);\n\t }\n\t }; });\n\t clearNative = utils_1.patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n\t var task = args[0];\n\t if (task && typeof task.type === 'string') {\n\t if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n\t // Do not cancel already canceled functions\n\t task.zone.cancelTask(task);\n\t }\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t delegate.apply(window, args);\n\t }\n\t }; });\n\t}\n\texports.patchTimer = patchTimer;\n\n\n/***/ }\n/******/ ]);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/zone.js/dist/zone.js\n ** module id = 386\n ** module chunks = 1\n **/","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\n(function () {\n try {\n cachedSetTimeout = setTimeout;\n } catch (e) {\n cachedSetTimeout = function () {\n throw new Error('setTimeout is not defined');\n }\n }\n try {\n cachedClearTimeout = clearTimeout;\n } catch (e) {\n cachedClearTimeout = function () {\n throw new Error('clearTimeout is not defined');\n }\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/process/browser.js\n ** module id = 387\n ** module chunks = 1\n **/"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///polyfills.js","webpack:///webpack/bootstrap 6ad92869e5b7959be9e3","webpack:///./example/src/polyfills.ts","webpack:///./~/reflect-metadata/Reflect.js","webpack:///./~/process/browser.js","webpack:///./~/zone.js/dist/zone.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","parentJsonpFunction","window","chunkIds","moreModules","chunkId","i","callbacks","length","installedChunks","push","apply","shift","1","e","callback","undefined","head","document","getElementsByTagName","script","createElement","type","charset","async","src","p","appendChild","m","c","0","Object","defineProperty","value","385","process","global","Reflect","decorate","decorators","target","propertyKey","attributes","IsUndefined","IsArray","TypeError","IsConstructor","DecorateConstructor","IsObject","IsNull","ToPropertyKey","DecorateProperty","metadata","metadataKey","metadataValue","decorator","IsPropertyKey","OrdinaryDefineOwnMetadata","defineMetadata","hasMetadata","OrdinaryHasMetadata","hasOwnMetadata","OrdinaryHasOwnMetadata","getMetadata","OrdinaryGetMetadata","getOwnMetadata","OrdinaryGetOwnMetadata","getMetadataKeys","OrdinaryMetadataKeys","getOwnMetadataKeys","OrdinaryOwnMetadataKeys","deleteMetadata","metadataMap","GetOrCreateMetadataMap","delete","size","targetMetadata","Metadata","get","decorated","descriptor","O","P","Create","_Map","set","MetadataKey","hasOwn","parent","OrdinaryGetPrototypeOf","ToBoolean","has","MetadataValue","ownKeys","parentKeys","_Set","keys","_i","ownKeys_1","key","hasKey","add","_a","parentKeys_1","keysObj","iterator","GetIterator","k","next","IteratorStep","nextValue","IteratorValue","IteratorClose","Type","x","IsSymbol","ToPrimitive","input","PreferredType","hint","exoticToPrim","GetMethod","toPrimitiveSymbol","result","OrdinaryToPrimitive","toString_1","toString","IsCallable","valueOf","toString_2","argument","ToString","Array","isArray","prototype","V","func","obj","method","iteratorSymbol","iterResult","done","f","proto","getPrototypeOf","functionPrototype","prototypeProto","constructor","CreateMapPolyfill","getKey","_","getValue","getEntry","cacheSentinel","arraySentinel","MapIterator","values","selector","this","_index","_keys","_values","_selector","index","throw","error","return","Map","_cacheKey","_cacheIndex","enumerable","configurable","_find","clear","entries","insert","indexOf","CreateSetPolyfill","Set","_map","CreateWeakMapPolyfill","CreateUniqueKey","CreateUUID","HashMap","GetOrCreateWeakMapTable","create","rootKey","FillRandomBytes","buffer","Math","random","GenRandomBytes","Uint8Array","crypto","getRandomValues","msCrypto","data","UUID_SIZE","offset","byte","toLowerCase","WeakMap","_key","table","MakeDictionary","__","hasOwnProperty","supportsSymbol","Symbol","toPrimitive","supportsCreate","supportsProto","__proto__","downLevel","map","Function","usePolyfill","env","_WeakMap","__global","self","386","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","setTimeout","runClearTimeout","marker","cachedClearTimeout","clearTimeout","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","timeout","len","run","Item","array","noop","nextTick","args","arguments","title","browser","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","cwd","chdir","dir","umask","387","factory","bindArguments","source","Zone","current","wrap","patchPrototype","fnNames","_loop_1","name_1","delegate","patchProperty","prop","desc","getOwnPropertyDescriptor","writable","eventName","substr","_prop","fn","removeEventListener","wrapFn","event","preventDefault","addEventListener","patchOnProperties","properties","onProperties","j","findExistingRegisteredTask","handler","capture","remove","eventTasks","EVENT_TASKS","eventTask","useCapturing","splice","attachRegisteredEvent","makeZoneAwareAddListener","addFnName","removeFnName","useCapturingParam","allowDuplicates","scheduleEventListener","meta","addFnSymbol","invoke","cancelEventListener","removeFnSymbol","zoneSymbol","defaultUseCapturing","_global$1","handleEvent","validZoneHandler","zone","scheduleEventTask","makeZoneAwareRemoveListener","fnName","symbol","cancelTask","patchEventTargetMethods","patchMethod","ADD_EVENT_LISTENER","zoneAwareAddEventListener","REMOVE_EVENT_LISTENER","zoneAwareRemoveEventListener","patchClass","className","OriginalClass","a","originalInstanceKey","instance","createNamedFn","patchFn","getOwnPropertyNames","delegateName","patchTimer","setName","cancelName","nameSuffix","scheduleTask","task","tasksByHandleId","handleId","setNative","clearTask","clearNative","options","isPeriodic","delay","scheduleMacroTask","handle","ref","unref","bind","cancelFn","runCount","propertyPatch","isUnconfigurable","originalConfigurableFlag","rewriteDescriptor","_tryDefineProperty","defineProperties","props","forEach","isFrozen","_create","_getOwnPropertyDescriptor","_redefineProperty","unconfigurablesKey","_defineProperty","descJson","JSON","stringify","console","log","eventTargetPatch","_global","apis","isWtf","WTF_ISSUE_555","split","v","NO_EVENT_TARGET","EVENT_TARGET","WS","WebSocket","EventTarget","b","proxySocket","socket","onmessageDesc","propName","propertyDescriptorPatch","isNode","supportsWebSocket","canPatchViaPropertyDescriptor","isBrowser","HTMLElement","eventNames","XMLHttpRequest","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","patchViaCapturingAllTheEvents","Element","req","onreadystatechange","property","onproperty","bound","elt","unboundKey","parentElement","registerElementPatch","_registerElement","registerElement","opts","patchXHR","findPendingTask","pendingTask","XHR_TASK","readyState","DONE","aborted","storedTask","sendNative","placeholderCallback","abortNative","openNative","XHR_SYNC","__symbol__","scheduleQueueDrain","_numberOfNestedTaskFrames","_microTaskQueue","symbolPromise","resolve","symbolThen","drainMicroTaskQueue","symbolSetTimeout","scheduleMicroTask","consoleError","rejection","message","stack","_isDrainingMicrotaskQueue","runTask","_uncaughtPromiseErrors","uncaughtPromiseError","runGuarded","isThenable","then","forwardResolution","forwardRejection","ZoneAwarePromise","reject","makeResolver","promise","state","resolvePromise","symbolState","UNRESOLVED","clearRejectedNoCatch","symbolValue","scheduleResolveOrReject","REJECTED","REJECTED_NO_CATCH","error_1","currentTask","chainPromise","onFulfilled","onRejected","patchThen","NativePromise","NativePromiseProtototype","NativePromiseThen","onResolve","onReject","nativePromise","zoneSpec","_properties","_parent","_name","_zoneDelegate","ZoneDelegate","assertZonePatched","Promise","_currentZone","_currentTask","getZoneWith","fork","_callback","intercept","applyThis","applyArgs","oldZone","handleError","previousTask","invokeTask","customSchedule","ZoneTask","customCancel","parentDelegate","_taskCounts","microTask","macroTask","_parentDelegate","_forkZS","onFork","_forkDlgt","_interceptZS","onIntercept","_interceptDlgt","_invokeZS","onInvoke","_invokeDlgt","_handleErrorZS","onHandleError","_handleErrorDlgt","_scheduleTaskZS","onScheduleTask","_scheduleTaskDlgt","_invokeTaskZS","onInvokeTask","_invokeTaskDlgt","_cancelTaskZS","onCancelTask","_cancelTaskDlgt","_hasTaskZS","onHasTask","_hasTaskDlgt","targetZone","scheduleFn","_updateTaskCount","hasTask","isEmpty","count","counts","prev","change","RESOLVED","executor","race","res","rej","values_1","all","resolvedValues","values_2","catch","fetchPromise","isWebWorker","WorkerGlobalScope","blockingMethods","s","geolocation"],"mappings":"CAAS,SAAUA,GCmCnB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,Q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AAAxV,OAAA0J,OACAiM,EAAA5D,EAAA,mBA+FAuE,EAAA,4aACAG,EAAA,sWACAF,MAAA,KACAG,EAAA,cAqEAe,EAAA,wmBACAlB,MAAA,KAqDAkC,EAAA1G,EAAA,WA2EAzO,EAAA,MACAwF,EAAA,QACAwY,GAAA,4BACAnL,EAAA,gBAAAhY,iBAAA,gBAAA0N,aAAAxL;AACAqT,EAAAyC,EAAA7S,EAAAwF,EAAA,WACA4K,EAAAyC,EAAA7S,EAAAwF,EAAA,YACA4K,EAAAyC,EAAA7S,EAAAwF,EAAA,aACA4K,EAAAyC,EAAA,qCACAzC,EAAAyC,EAAA,2CACAzC,EAAAyC,EAAA,gDACA,QAAA5X,GAAA,EAAeA,EAAA+iB,EAAA7iB,OAA4BF,IAAA,CAC3C,GAAAgQ,GAAA+S,EAAA/iB,EACAoU,GAAAwD,EAAA5H,EAAA,SAAAgB,EAAAiD,EAAAjE,GACA,gBAAAgT,EAAA/T,GACA,MAAAwB,MAAAC,QAAA9B,IAAAoC,EAAA4G,EAAA3I,EAAAe,MAIA2H,EAAAC,GACAgB,EAAAhB,GACAnD,EAAA,oBACAA,EAAA,0BACAA,EAAA,cACA+B,IACA4D,EAAAxC,GAEA4C,EAAA5C,EACA,IAAA+C,GAAAnH,EAAA,WACA4H,GAAA5H,EAAA,UA2DAoE,GAAA,WAAAA,EAAA,UAAAqL,aACArS,EAAAgH,EAAA,UAAAqL,aAAA,2CL45C8BvjB,KAAKJ,EAAU,WAAa,MAAOkK,SAAYrK,EAAoB","file":"polyfills.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n/******/ \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules) {\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, callbacks = [];\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(installedChunks[chunkId])\n/******/ \t\t\t\tcallbacks.push.apply(callbacks, installedChunks[chunkId]);\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules);\n/******/ \t\twhile(callbacks.length)\n/******/ \t\t\tcallbacks.shift().call(null, __webpack_require__);\n/******/ \t\tif(moreModules[0]) {\n/******/ \t\t\tinstalledModules[0] = 0;\n/******/ \t\t\treturn __webpack_require__(0);\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// object to store loaded and loading chunks\n/******/ \t// \"0\" means \"already loaded\"\n/******/ \t// Array means \"loading\", array contains callbacks\n/******/ \tvar installedChunks = {\n/******/ \t\t1:0\n/******/ \t};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/ \t// This file contains only the entry chunk.\n/******/ \t// The chunk loading function for additional chunks\n/******/ \t__webpack_require__.e = function requireEnsure(chunkId, callback) {\n/******/ \t\t// \"0\" is the signal for \"already loaded\"\n/******/ \t\tif(installedChunks[chunkId] === 0)\n/******/ \t\t\treturn callback.call(null, __webpack_require__);\n/******/\n/******/ \t\t// an array means \"currently loading\".\n/******/ \t\tif(installedChunks[chunkId] !== undefined) {\n/******/ \t\t\tinstalledChunks[chunkId].push(callback);\n/******/ \t\t} else {\n/******/ \t\t\t// start chunk loading\n/******/ \t\t\tinstalledChunks[chunkId] = [callback];\n/******/ \t\t\tvar head = document.getElementsByTagName('head')[0];\n/******/ \t\t\tvar script = document.createElement('script');\n/******/ \t\t\tscript.type = 'text/javascript';\n/******/ \t\t\tscript.charset = 'utf-8';\n/******/ \t\t\tscript.async = true;\n/******/\n/******/ \t\t\tscript.src = __webpack_require__.p + \"\" + chunkId + \".bundle.js\";\n/******/ \t\t\thead.appendChild(script);\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/ng2-animate/example/dist/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t__webpack_require__(385);\n\t__webpack_require__(387);\n\n\n/***/ },\n\n/***/ 385:\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process, global) {/*! *****************************************************************************\r\n\tCopyright (C) Microsoft. All rights reserved.\r\n\tLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n\tthis file except in compliance with the License. You may obtain a copy of the\r\n\tLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\t\r\n\tTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n\tKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n\tWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n\tMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\t\r\n\tSee the Apache Version 2.0 License for specific language governing permissions\r\n\tand limitations under the License.\r\n\t***************************************************************************** */\r\n\tvar Reflect;\r\n\t(function (Reflect) {\r\n\t \"use strict\";\r\n\t var hasOwn = Object.prototype.hasOwnProperty;\r\n\t // feature test for Symbol support\r\n\t var supportsSymbol = typeof Symbol === \"function\";\r\n\t var toPrimitiveSymbol = supportsSymbol && typeof Symbol.toPrimitive !== \"undefined\" ? Symbol.toPrimitive : \"@@toPrimitive\";\r\n\t var iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== \"undefined\" ? Symbol.iterator : \"@@iterator\";\r\n\t var HashMap;\r\n\t (function (HashMap) {\r\n\t var supportsCreate = typeof Object.create === \"function\"; // feature test for Object.create support\r\n\t var supportsProto = { __proto__: [] } instanceof Array; // feature test for __proto__ support\r\n\t var downLevel = !supportsCreate && !supportsProto;\r\n\t // create an object in dictionary mode (a.k.a. \"slow\" mode in v8)\r\n\t HashMap.create = supportsCreate\r\n\t ? function () { return MakeDictionary(Object.create(null)); }\r\n\t : supportsProto\r\n\t ? function () { return MakeDictionary({ __proto__: null }); }\r\n\t : function () { return MakeDictionary({}); };\r\n\t HashMap.has = downLevel\r\n\t ? function (map, key) { return hasOwn.call(map, key); }\r\n\t : function (map, key) { return key in map; };\r\n\t HashMap.get = downLevel\r\n\t ? function (map, key) { return hasOwn.call(map, key) ? map[key] : undefined; }\r\n\t : function (map, key) { return map[key]; };\r\n\t })(HashMap || (HashMap = {}));\r\n\t // Load global or shim versions of Map, Set, and WeakMap\r\n\t var functionPrototype = Object.getPrototypeOf(Function);\r\n\t var usePolyfill = typeof process === \"object\" && process.env && process.env[\"REFLECT_METADATA_USE_MAP_POLYFILL\"] === \"true\";\r\n\t var _Map = !usePolyfill && typeof Map === \"function\" && typeof Map.prototype.entries === \"function\" ? Map : CreateMapPolyfill();\r\n\t var _Set = !usePolyfill && typeof Set === \"function\" && typeof Set.prototype.entries === \"function\" ? Set : CreateSetPolyfill();\r\n\t var _WeakMap = !usePolyfill && typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\r\n\t // [[Metadata]] internal slot\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinary-object-internal-methods-and-internal-slots\r\n\t var Metadata = new _WeakMap();\r\n\t /**\r\n\t * Applies a set of decorators to a property of a target object.\r\n\t * @param decorators An array of decorators.\r\n\t * @param target The target object.\r\n\t * @param propertyKey (Optional) The property key to decorate.\r\n\t * @param attributes (Optional) The property descriptor for the target key.\r\n\t * @remarks Decorators are applied in reverse order.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * Example = Reflect.decorate(decoratorsArray, Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * Reflect.decorate(decoratorsArray, Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * Reflect.decorate(decoratorsArray, Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * Object.defineProperty(Example, \"staticMethod\",\r\n\t * Reflect.decorate(decoratorsArray, Example, \"staticMethod\",\r\n\t * Object.getOwnPropertyDescriptor(Example, \"staticMethod\")));\r\n\t *\r\n\t * // method (on prototype)\r\n\t * Object.defineProperty(Example.prototype, \"method\",\r\n\t * Reflect.decorate(decoratorsArray, Example.prototype, \"method\",\r\n\t * Object.getOwnPropertyDescriptor(Example.prototype, \"method\")));\r\n\t *\r\n\t */\r\n\t function decorate(decorators, target, propertyKey, attributes) {\r\n\t if (!IsUndefined(propertyKey)) {\r\n\t if (!IsArray(decorators))\r\n\t throw new TypeError();\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes))\r\n\t throw new TypeError();\r\n\t if (IsNull(attributes))\r\n\t attributes = undefined;\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return DecorateProperty(decorators, target, propertyKey, attributes);\r\n\t }\r\n\t else {\r\n\t if (!IsArray(decorators))\r\n\t throw new TypeError();\r\n\t if (!IsConstructor(target))\r\n\t throw new TypeError();\r\n\t return DecorateConstructor(decorators, target);\r\n\t }\r\n\t }\r\n\t Reflect.decorate = decorate;\r\n\t // 4.1.2 Reflect.metadata(metadataKey, metadataValue)\r\n\t // https://rbuckton.github.io/reflect-metadata/#reflect.metadata\r\n\t /**\r\n\t * A default metadata decorator factory that can be used on a class, class member, or parameter.\r\n\t * @param metadataKey The key for the metadata entry.\r\n\t * @param metadataValue The value for the metadata entry.\r\n\t * @returns A decorator function.\r\n\t * @remarks\r\n\t * If `metadataKey` is already defined for the target and target key, the\r\n\t * metadataValue for that key will be overwritten.\r\n\t * @example\r\n\t *\r\n\t * // constructor\r\n\t * @Reflect.metadata(key, value)\r\n\t * class Example {\r\n\t * }\r\n\t *\r\n\t * // property (on constructor, TypeScript only)\r\n\t * class Example {\r\n\t * @Reflect.metadata(key, value)\r\n\t * static staticProperty;\r\n\t * }\r\n\t *\r\n\t * // property (on prototype, TypeScript only)\r\n\t * class Example {\r\n\t * @Reflect.metadata(key, value)\r\n\t * property;\r\n\t * }\r\n\t *\r\n\t * // method (on constructor)\r\n\t * class Example {\r\n\t * @Reflect.metadata(key, value)\r\n\t * static staticMethod() { }\r\n\t * }\r\n\t *\r\n\t * // method (on prototype)\r\n\t * class Example {\r\n\t * @Reflect.metadata(key, value)\r\n\t * method() { }\r\n\t * }\r\n\t *\r\n\t */\r\n\t function metadata(metadataKey, metadataValue) {\r\n\t function decorator(target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey))\r\n\t throw new TypeError();\r\n\t OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\r\n\t }\r\n\t return decorator;\r\n\t }\r\n\t Reflect.metadata = metadata;\r\n\t /**\r\n\t * Define a unique metadata entry on the target.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param metadataValue A value that contains attached metadata.\r\n\t * @param target The target object on which to define metadata.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * Reflect.defineMetadata(\"custom:annotation\", options, Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"method\");\r\n\t *\r\n\t * // decorator factory as metadata-producing annotation.\r\n\t * function MyAnnotation(options): Decorator {\r\n\t * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n\t * }\r\n\t *\r\n\t */\r\n\t function defineMetadata(metadataKey, metadataValue, target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\r\n\t }\r\n\t Reflect.defineMetadata = defineMetadata;\r\n\t /**\r\n\t * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function hasMetadata(metadataKey, target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryHasMetadata(metadataKey, target, propertyKey);\r\n\t }\r\n\t Reflect.hasMetadata = hasMetadata;\r\n\t /**\r\n\t * Gets a value indicating whether the target object has the provided metadata key defined.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function hasOwnMetadata(metadataKey, target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);\r\n\t }\r\n\t Reflect.hasOwnMetadata = hasOwnMetadata;\r\n\t /**\r\n\t * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getMetadata(metadataKey, target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryGetMetadata(metadataKey, target, propertyKey);\r\n\t }\r\n\t Reflect.getMetadata = getMetadata;\r\n\t /**\r\n\t * Gets the metadata value for the provided metadata key on the target object.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getOwnMetadata(metadataKey, target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);\r\n\t }\r\n\t Reflect.getOwnMetadata = getOwnMetadata;\r\n\t /**\r\n\t * Gets the metadata keys defined on the target object or its prototype chain.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns An array of unique metadata keys.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getMetadataKeys(Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getMetadataKeys(Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getMetadataKeys(Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getMetadataKeys(Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getMetadataKeys(Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getMetadataKeys(target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryMetadataKeys(target, propertyKey);\r\n\t }\r\n\t Reflect.getMetadataKeys = getMetadataKeys;\r\n\t /**\r\n\t * Gets the unique metadata keys defined on the target object.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns An array of unique metadata keys.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.getOwnMetadataKeys(Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.getOwnMetadataKeys(Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.getOwnMetadataKeys(Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.getOwnMetadataKeys(Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.getOwnMetadataKeys(Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function getOwnMetadataKeys(target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t return OrdinaryOwnMetadataKeys(target, propertyKey);\r\n\t }\r\n\t Reflect.getOwnMetadataKeys = getOwnMetadataKeys;\r\n\t /**\r\n\t * Deletes the metadata entry from the target object with the provided key.\r\n\t * @param metadataKey A key used to store and retrieve metadata.\r\n\t * @param target The target object on which the metadata is defined.\r\n\t * @param propertyKey (Optional) The property key for the target.\r\n\t * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n\t * @example\r\n\t *\r\n\t * class Example {\r\n\t * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n\t * // static staticProperty;\r\n\t * // property;\r\n\t *\r\n\t * constructor(p) { }\r\n\t * static staticMethod(p) { }\r\n\t * method(p) { }\r\n\t * }\r\n\t *\r\n\t * // constructor\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example);\r\n\t *\r\n\t * // property (on constructor)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n\t *\r\n\t * // property (on prototype)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n\t *\r\n\t * // method (on constructor)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n\t *\r\n\t * // method (on prototype)\r\n\t * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n\t *\r\n\t */\r\n\t function deleteMetadata(metadataKey, target, propertyKey) {\r\n\t if (!IsObject(target))\r\n\t throw new TypeError();\r\n\t if (!IsUndefined(propertyKey))\r\n\t propertyKey = ToPropertyKey(propertyKey);\r\n\t var metadataMap = GetOrCreateMetadataMap(target, propertyKey, /*Create*/ false);\r\n\t if (IsUndefined(metadataMap))\r\n\t return false;\r\n\t if (!metadataMap.delete(metadataKey))\r\n\t return false;\r\n\t if (metadataMap.size > 0)\r\n\t return true;\r\n\t var targetMetadata = Metadata.get(target);\r\n\t targetMetadata.delete(propertyKey);\r\n\t if (targetMetadata.size > 0)\r\n\t return true;\r\n\t Metadata.delete(target);\r\n\t return true;\r\n\t }\r\n\t Reflect.deleteMetadata = deleteMetadata;\r\n\t function DecorateConstructor(decorators, target) {\r\n\t for (var i = decorators.length - 1; i >= 0; --i) {\r\n\t var decorator = decorators[i];\r\n\t var decorated = decorator(target);\r\n\t if (!IsUndefined(decorated) && !IsNull(decorated)) {\r\n\t if (!IsConstructor(decorated))\r\n\t throw new TypeError();\r\n\t target = decorated;\r\n\t }\r\n\t }\r\n\t return target;\r\n\t }\r\n\t function DecorateProperty(decorators, target, propertyKey, descriptor) {\r\n\t for (var i = decorators.length - 1; i >= 0; --i) {\r\n\t var decorator = decorators[i];\r\n\t var decorated = decorator(target, propertyKey, descriptor);\r\n\t if (!IsUndefined(decorated) && !IsNull(decorated)) {\r\n\t if (!IsObject(decorated))\r\n\t throw new TypeError();\r\n\t descriptor = decorated;\r\n\t }\r\n\t }\r\n\t return descriptor;\r\n\t }\r\n\t function GetOrCreateMetadataMap(O, P, Create) {\r\n\t var targetMetadata = Metadata.get(O);\r\n\t if (IsUndefined(targetMetadata)) {\r\n\t if (!Create)\r\n\t return undefined;\r\n\t targetMetadata = new _Map();\r\n\t Metadata.set(O, targetMetadata);\r\n\t }\r\n\t var metadataMap = targetMetadata.get(P);\r\n\t if (IsUndefined(metadataMap)) {\r\n\t if (!Create)\r\n\t return undefined;\r\n\t metadataMap = new _Map();\r\n\t targetMetadata.set(P, metadataMap);\r\n\t }\r\n\t return metadataMap;\r\n\t }\r\n\t // 3.1.1.1 OrdinaryHasMetadata(MetadataKey, O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinaryhasmetadata\r\n\t function OrdinaryHasMetadata(MetadataKey, O, P) {\r\n\t var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n\t if (hasOwn)\r\n\t return true;\r\n\t var parent = OrdinaryGetPrototypeOf(O);\r\n\t if (!IsNull(parent))\r\n\t return OrdinaryHasMetadata(MetadataKey, parent, P);\r\n\t return false;\r\n\t }\r\n\t // 3.1.2.1 OrdinaryHasOwnMetadata(MetadataKey, O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinaryhasownmetadata\r\n\t function OrdinaryHasOwnMetadata(MetadataKey, O, P) {\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\r\n\t if (IsUndefined(metadataMap))\r\n\t return false;\r\n\t return ToBoolean(metadataMap.has(MetadataKey));\r\n\t }\r\n\t // 3.1.3.1 OrdinaryGetMetadata(MetadataKey, O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinarygetmetadata\r\n\t function OrdinaryGetMetadata(MetadataKey, O, P) {\r\n\t var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n\t if (hasOwn)\r\n\t return OrdinaryGetOwnMetadata(MetadataKey, O, P);\r\n\t var parent = OrdinaryGetPrototypeOf(O);\r\n\t if (!IsNull(parent))\r\n\t return OrdinaryGetMetadata(MetadataKey, parent, P);\r\n\t return undefined;\r\n\t }\r\n\t // 3.1.4.1 OrdinaryGetOwnMetadata(MetadataKey, O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinarygetownmetadata\r\n\t function OrdinaryGetOwnMetadata(MetadataKey, O, P) {\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\r\n\t if (IsUndefined(metadataMap))\r\n\t return undefined;\r\n\t return metadataMap.get(MetadataKey);\r\n\t }\r\n\t // 3.1.5.1 OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinarydefineownmetadata\r\n\t function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ true);\r\n\t metadataMap.set(MetadataKey, MetadataValue);\r\n\t }\r\n\t // 3.1.6.1 OrdinaryMetadataKeys(O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinarymetadatakeys\r\n\t function OrdinaryMetadataKeys(O, P) {\r\n\t var ownKeys = OrdinaryOwnMetadataKeys(O, P);\r\n\t var parent = OrdinaryGetPrototypeOf(O);\r\n\t if (parent === null)\r\n\t return ownKeys;\r\n\t var parentKeys = OrdinaryMetadataKeys(parent, P);\r\n\t if (parentKeys.length <= 0)\r\n\t return ownKeys;\r\n\t if (ownKeys.length <= 0)\r\n\t return parentKeys;\r\n\t var set = new _Set();\r\n\t var keys = [];\r\n\t for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {\r\n\t var key = ownKeys_1[_i];\r\n\t var hasKey = set.has(key);\r\n\t if (!hasKey) {\r\n\t set.add(key);\r\n\t keys.push(key);\r\n\t }\r\n\t }\r\n\t for (var _a = 0, parentKeys_1 = parentKeys; _a < parentKeys_1.length; _a++) {\r\n\t var key = parentKeys_1[_a];\r\n\t var hasKey = set.has(key);\r\n\t if (!hasKey) {\r\n\t set.add(key);\r\n\t keys.push(key);\r\n\t }\r\n\t }\r\n\t return keys;\r\n\t }\r\n\t // 3.1.7.1 OrdinaryOwnMetadataKeys(O, P)\r\n\t // https://rbuckton.github.io/reflect-metadata/#ordinaryownmetadatakeys\r\n\t function OrdinaryOwnMetadataKeys(O, P) {\r\n\t var keys = [];\r\n\t var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\r\n\t if (IsUndefined(metadataMap))\r\n\t return keys;\r\n\t var keysObj = metadataMap.keys();\r\n\t var iterator = GetIterator(keysObj);\r\n\t var k = 0;\r\n\t while (true) {\r\n\t var next = IteratorStep(iterator);\r\n\t if (!next) {\r\n\t keys.length = k;\r\n\t return keys;\r\n\t }\r\n\t var nextValue = IteratorValue(next);\r\n\t try {\r\n\t keys[k] = nextValue;\r\n\t }\r\n\t catch (e) {\r\n\t try {\r\n\t IteratorClose(iterator);\r\n\t }\r\n\t finally {\r\n\t throw e;\r\n\t }\r\n\t }\r\n\t k++;\r\n\t }\r\n\t }\r\n\t // 6 ECMAScript Data Typ0es and Values\r\n\t // https://tc39.github.io/ecma262/#sec-ecmascript-data-types-and-values\r\n\t function Type(x) {\r\n\t if (x === null)\r\n\t return 1 /* Null */;\r\n\t switch (typeof x) {\r\n\t case \"undefined\": return 0 /* Undefined */;\r\n\t case \"boolean\": return 2 /* Boolean */;\r\n\t case \"string\": return 3 /* String */;\r\n\t case \"symbol\": return 4 /* Symbol */;\r\n\t case \"number\": return 5 /* Number */;\r\n\t case \"object\": return x === null ? 1 /* Null */ : 6 /* Object */;\r\n\t default: return 6 /* Object */;\r\n\t }\r\n\t }\r\n\t // 6.1.1 The Undefined Type\r\n\t // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-undefined-type\r\n\t function IsUndefined(x) {\r\n\t return x === undefined;\r\n\t }\r\n\t // 6.1.2 The Null Type\r\n\t // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-null-type\r\n\t function IsNull(x) {\r\n\t return x === null;\r\n\t }\r\n\t // 6.1.5 The Symbol Type\r\n\t // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-symbol-type\r\n\t function IsSymbol(x) {\r\n\t return typeof x === \"symbol\";\r\n\t }\r\n\t // 6.1.7 The Object Type\r\n\t // https://tc39.github.io/ecma262/#sec-object-type\r\n\t function IsObject(x) {\r\n\t return typeof x === \"object\" ? x !== null : typeof x === \"function\";\r\n\t }\r\n\t // 7.1 Type Conversion\r\n\t // https://tc39.github.io/ecma262/#sec-type-conversion\r\n\t // 7.1.1 ToPrimitive(input [, PreferredType])\r\n\t // https://tc39.github.io/ecma262/#sec-toprimitive\r\n\t function ToPrimitive(input, PreferredType) {\r\n\t switch (Type(input)) {\r\n\t case 0 /* Undefined */: return input;\r\n\t case 1 /* Null */: return input;\r\n\t case 2 /* Boolean */: return input;\r\n\t case 3 /* String */: return input;\r\n\t case 4 /* Symbol */: return input;\r\n\t case 5 /* Number */: return input;\r\n\t }\r\n\t var hint = PreferredType === 3 /* String */ ? \"string\" : PreferredType === 5 /* Number */ ? \"number\" : \"default\";\r\n\t var exoticToPrim = GetMethod(input, toPrimitiveSymbol);\r\n\t if (exoticToPrim !== undefined) {\r\n\t var result = exoticToPrim.call(input, hint);\r\n\t if (IsObject(result))\r\n\t throw new TypeError();\r\n\t return result;\r\n\t }\r\n\t return OrdinaryToPrimitive(input, hint === \"default\" ? \"number\" : hint);\r\n\t }\r\n\t // 7.1.1.1 OrdinaryToPrimitive(O, hint)\r\n\t // https://tc39.github.io/ecma262/#sec-ordinarytoprimitive\r\n\t function OrdinaryToPrimitive(O, hint) {\r\n\t if (hint === \"string\") {\r\n\t var toString_1 = O.toString;\r\n\t if (IsCallable(toString_1)) {\r\n\t var result = toString_1.call(O);\r\n\t if (!IsObject(result))\r\n\t return result;\r\n\t }\r\n\t var valueOf = O.valueOf;\r\n\t if (IsCallable(valueOf)) {\r\n\t var result = valueOf.call(O);\r\n\t if (!IsObject(result))\r\n\t return result;\r\n\t }\r\n\t }\r\n\t else {\r\n\t var valueOf = O.valueOf;\r\n\t if (IsCallable(valueOf)) {\r\n\t var result = valueOf.call(O);\r\n\t if (!IsObject(result))\r\n\t return result;\r\n\t }\r\n\t var toString_2 = O.toString;\r\n\t if (IsCallable(toString_2)) {\r\n\t var result = toString_2.call(O);\r\n\t if (!IsObject(result))\r\n\t return result;\r\n\t }\r\n\t }\r\n\t throw new TypeError();\r\n\t }\r\n\t // 7.1.2 ToBoolean(argument)\r\n\t // https://tc39.github.io/ecma262/2016/#sec-toboolean\r\n\t function ToBoolean(argument) {\r\n\t return !!argument;\r\n\t }\r\n\t // 7.1.12 ToString(argument)\r\n\t // https://tc39.github.io/ecma262/#sec-tostring\r\n\t function ToString(argument) {\r\n\t return \"\" + argument;\r\n\t }\r\n\t // 7.1.14 ToPropertyKey(argument)\r\n\t // https://tc39.github.io/ecma262/#sec-topropertykey\r\n\t function ToPropertyKey(argument) {\r\n\t var key = ToPrimitive(argument, 3 /* String */);\r\n\t if (IsSymbol(key))\r\n\t return key;\r\n\t return ToString(key);\r\n\t }\r\n\t // 7.2 Testing and Comparison Operations\r\n\t // https://tc39.github.io/ecma262/#sec-testing-and-comparison-operations\r\n\t // 7.2.2 IsArray(argument)\r\n\t // https://tc39.github.io/ecma262/#sec-isarray\r\n\t function IsArray(argument) {\r\n\t return Array.isArray\r\n\t ? Array.isArray(argument)\r\n\t : argument instanceof Object\r\n\t ? argument instanceof Array\r\n\t : Object.prototype.toString.call(argument) === \"[object Array]\";\r\n\t }\r\n\t // 7.2.3 IsCallable(argument)\r\n\t // https://tc39.github.io/ecma262/#sec-iscallable\r\n\t function IsCallable(argument) {\r\n\t // NOTE: This is an approximation as we cannot check for [[Call]] internal method.\r\n\t return typeof argument === \"function\";\r\n\t }\r\n\t // 7.2.4 IsConstructor(argument)\r\n\t // https://tc39.github.io/ecma262/#sec-isconstructor\r\n\t function IsConstructor(argument) {\r\n\t // NOTE: This is an approximation as we cannot check for [[Construct]] internal method.\r\n\t return typeof argument === \"function\";\r\n\t }\r\n\t // 7.2.7 IsPropertyKey(argument)\r\n\t // https://tc39.github.io/ecma262/#sec-ispropertykey\r\n\t function IsPropertyKey(argument) {\r\n\t switch (Type(argument)) {\r\n\t case 3 /* String */: return true;\r\n\t case 4 /* Symbol */: return true;\r\n\t default: return false;\r\n\t }\r\n\t }\r\n\t // 7.3 Operations on Objects\r\n\t // https://tc39.github.io/ecma262/#sec-operations-on-objects\r\n\t // 7.3.9 GetMethod(V, P)\r\n\t // https://tc39.github.io/ecma262/#sec-getmethod\r\n\t function GetMethod(V, P) {\r\n\t var func = V[P];\r\n\t if (func === undefined || func === null)\r\n\t return undefined;\r\n\t if (!IsCallable(func))\r\n\t throw new TypeError();\r\n\t return func;\r\n\t }\r\n\t // 7.4 Operations on Iterator Objects\r\n\t // https://tc39.github.io/ecma262/#sec-operations-on-iterator-objects\r\n\t function GetIterator(obj) {\r\n\t var method = GetMethod(obj, iteratorSymbol);\r\n\t if (!IsCallable(method))\r\n\t throw new TypeError(); // from Call\r\n\t var iterator = method.call(obj);\r\n\t if (!IsObject(iterator))\r\n\t throw new TypeError();\r\n\t return iterator;\r\n\t }\r\n\t // 7.4.4 IteratorValue(iterResult)\r\n\t // https://tc39.github.io/ecma262/2016/#sec-iteratorvalue\r\n\t function IteratorValue(iterResult) {\r\n\t return iterResult.value;\r\n\t }\r\n\t // 7.4.5 IteratorStep(iterator)\r\n\t // https://tc39.github.io/ecma262/#sec-iteratorstep\r\n\t function IteratorStep(iterator) {\r\n\t var result = iterator.next();\r\n\t return result.done ? false : result;\r\n\t }\r\n\t // 7.4.6 IteratorClose(iterator, completion)\r\n\t // https://tc39.github.io/ecma262/#sec-iteratorclose\r\n\t function IteratorClose(iterator) {\r\n\t var f = iterator[\"return\"];\r\n\t if (f)\r\n\t f.call(iterator);\r\n\t }\r\n\t // 9.1 Ordinary Object Internal Methods and Internal Slots\r\n\t // https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots\r\n\t // 9.1.1.1 OrdinaryGetPrototypeOf(O)\r\n\t // https://tc39.github.io/ecma262/#sec-ordinarygetprototypeof\r\n\t function OrdinaryGetPrototypeOf(O) {\r\n\t var proto = Object.getPrototypeOf(O);\r\n\t if (typeof O !== \"function\" || O === functionPrototype)\r\n\t return proto;\r\n\t // TypeScript doesn't set __proto__ in ES5, as it's non-standard.\r\n\t // Try to determine the superclass constructor. Compatible implementations\r\n\t // must either set __proto__ on a subclass constructor to the superclass constructor,\r\n\t // or ensure each class has a valid `constructor` property on its prototype that\r\n\t // points back to the constructor.\r\n\t // If this is not the same as Function.[[Prototype]], then this is definately inherited.\r\n\t // This is the case when in ES6 or when using __proto__ in a compatible browser.\r\n\t if (proto !== functionPrototype)\r\n\t return proto;\r\n\t // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\r\n\t var prototype = O.prototype;\r\n\t var prototypeProto = prototype && Object.getPrototypeOf(prototype);\r\n\t if (prototypeProto == null || prototypeProto === Object.prototype)\r\n\t return proto;\r\n\t // If the constructor was not a function, then we cannot determine the heritage.\r\n\t var constructor = prototypeProto.constructor;\r\n\t if (typeof constructor !== \"function\")\r\n\t return proto;\r\n\t // If we have some kind of self-reference, then we cannot determine the heritage.\r\n\t if (constructor === O)\r\n\t return proto;\r\n\t // we have a pretty good guess at the heritage.\r\n\t return constructor;\r\n\t }\r\n\t // naive Map shim\r\n\t function CreateMapPolyfill() {\r\n\t var cacheSentinel = {};\r\n\t var arraySentinel = [];\r\n\t var MapIterator = (function () {\r\n\t function MapIterator(keys, values, selector) {\r\n\t this._index = 0;\r\n\t this._keys = keys;\r\n\t this._values = values;\r\n\t this._selector = selector;\r\n\t }\r\n\t MapIterator.prototype[\"@@iterator\"] = function () { return this; };\r\n\t MapIterator.prototype[iteratorSymbol] = function () { return this; };\r\n\t MapIterator.prototype.next = function () {\r\n\t var index = this._index;\r\n\t if (index >= 0 && index < this._keys.length) {\r\n\t var result = this._selector(this._keys[index], this._values[index]);\r\n\t if (index + 1 >= this._keys.length) {\r\n\t this._index = -1;\r\n\t this._keys = arraySentinel;\r\n\t this._values = arraySentinel;\r\n\t }\r\n\t else {\r\n\t this._index++;\r\n\t }\r\n\t return { value: result, done: false };\r\n\t }\r\n\t return { value: undefined, done: true };\r\n\t };\r\n\t MapIterator.prototype.throw = function (error) {\r\n\t if (this._index >= 0) {\r\n\t this._index = -1;\r\n\t this._keys = arraySentinel;\r\n\t this._values = arraySentinel;\r\n\t }\r\n\t throw error;\r\n\t };\r\n\t MapIterator.prototype.return = function (value) {\r\n\t if (this._index >= 0) {\r\n\t this._index = -1;\r\n\t this._keys = arraySentinel;\r\n\t this._values = arraySentinel;\r\n\t }\r\n\t return { value: value, done: true };\r\n\t };\r\n\t return MapIterator;\r\n\t }());\r\n\t return (function () {\r\n\t function Map() {\r\n\t this._keys = [];\r\n\t this._values = [];\r\n\t this._cacheKey = cacheSentinel;\r\n\t this._cacheIndex = -2;\r\n\t }\r\n\t Object.defineProperty(Map.prototype, \"size\", {\r\n\t get: function () { return this._keys.length; },\r\n\t enumerable: true,\r\n\t configurable: true\r\n\t });\r\n\t Map.prototype.has = function (key) { return this._find(key, /*insert*/ false) >= 0; };\r\n\t Map.prototype.get = function (key) {\r\n\t var index = this._find(key, /*insert*/ false);\r\n\t return index >= 0 ? this._values[index] : undefined;\r\n\t };\r\n\t Map.prototype.set = function (key, value) {\r\n\t var index = this._find(key, /*insert*/ true);\r\n\t this._values[index] = value;\r\n\t return this;\r\n\t };\r\n\t Map.prototype.delete = function (key) {\r\n\t var index = this._find(key, /*insert*/ false);\r\n\t if (index >= 0) {\r\n\t var size = this._keys.length;\r\n\t for (var i = index + 1; i < size; i++) {\r\n\t this._keys[i - 1] = this._keys[i];\r\n\t this._values[i - 1] = this._values[i];\r\n\t }\r\n\t this._keys.length--;\r\n\t this._values.length--;\r\n\t if (key === this._cacheKey) {\r\n\t this._cacheKey = cacheSentinel;\r\n\t this._cacheIndex = -2;\r\n\t }\r\n\t return true;\r\n\t }\r\n\t return false;\r\n\t };\r\n\t Map.prototype.clear = function () {\r\n\t this._keys.length = 0;\r\n\t this._values.length = 0;\r\n\t this._cacheKey = cacheSentinel;\r\n\t this._cacheIndex = -2;\r\n\t };\r\n\t Map.prototype.keys = function () { return new MapIterator(this._keys, this._values, getKey); };\r\n\t Map.prototype.values = function () { return new MapIterator(this._keys, this._values, getValue); };\r\n\t Map.prototype.entries = function () { return new MapIterator(this._keys, this._values, getEntry); };\r\n\t Map.prototype[\"@@iterator\"] = function () { return this.entries(); };\r\n\t Map.prototype[iteratorSymbol] = function () { return this.entries(); };\r\n\t Map.prototype._find = function (key, insert) {\r\n\t if (this._cacheKey !== key) {\r\n\t this._cacheIndex = this._keys.indexOf(this._cacheKey = key);\r\n\t }\r\n\t if (this._cacheIndex < 0 && insert) {\r\n\t this._cacheIndex = this._keys.length;\r\n\t this._keys.push(key);\r\n\t this._values.push(undefined);\r\n\t }\r\n\t return this._cacheIndex;\r\n\t };\r\n\t return Map;\r\n\t }());\r\n\t function getKey(key, _) {\r\n\t return key;\r\n\t }\r\n\t function getValue(_, value) {\r\n\t return value;\r\n\t }\r\n\t function getEntry(key, value) {\r\n\t return [key, value];\r\n\t }\r\n\t }\r\n\t // naive Set shim\r\n\t function CreateSetPolyfill() {\r\n\t return (function () {\r\n\t function Set() {\r\n\t this._map = new _Map();\r\n\t }\r\n\t Object.defineProperty(Set.prototype, \"size\", {\r\n\t get: function () { return this._map.size; },\r\n\t enumerable: true,\r\n\t configurable: true\r\n\t });\r\n\t Set.prototype.has = function (value) { return this._map.has(value); };\r\n\t Set.prototype.add = function (value) { return this._map.set(value, value), this; };\r\n\t Set.prototype.delete = function (value) { return this._map.delete(value); };\r\n\t Set.prototype.clear = function () { this._map.clear(); };\r\n\t Set.prototype.keys = function () { return this._map.keys(); };\r\n\t Set.prototype.values = function () { return this._map.values(); };\r\n\t Set.prototype.entries = function () { return this._map.entries(); };\r\n\t Set.prototype[\"@@iterator\"] = function () { return this.keys(); };\r\n\t Set.prototype[iteratorSymbol] = function () { return this.keys(); };\r\n\t return Set;\r\n\t }());\r\n\t }\r\n\t // naive WeakMap shim\r\n\t function CreateWeakMapPolyfill() {\r\n\t var UUID_SIZE = 16;\r\n\t var keys = HashMap.create();\r\n\t var rootKey = CreateUniqueKey();\r\n\t return (function () {\r\n\t function WeakMap() {\r\n\t this._key = CreateUniqueKey();\r\n\t }\r\n\t WeakMap.prototype.has = function (target) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n\t return table !== undefined ? HashMap.has(table, this._key) : false;\r\n\t };\r\n\t WeakMap.prototype.get = function (target) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n\t return table !== undefined ? HashMap.get(table, this._key) : undefined;\r\n\t };\r\n\t WeakMap.prototype.set = function (target, value) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ true);\r\n\t table[this._key] = value;\r\n\t return this;\r\n\t };\r\n\t WeakMap.prototype.delete = function (target) {\r\n\t var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n\t return table !== undefined ? delete table[this._key] : false;\r\n\t };\r\n\t WeakMap.prototype.clear = function () {\r\n\t // NOTE: not a real clear, just makes the previous data unreachable\r\n\t this._key = CreateUniqueKey();\r\n\t };\r\n\t return WeakMap;\r\n\t }());\r\n\t function CreateUniqueKey() {\r\n\t var key;\r\n\t do\r\n\t key = \"@@WeakMap@@\" + CreateUUID();\r\n\t while (HashMap.has(keys, key));\r\n\t keys[key] = true;\r\n\t return key;\r\n\t }\r\n\t function GetOrCreateWeakMapTable(target, create) {\r\n\t if (!hasOwn.call(target, rootKey)) {\r\n\t if (!create)\r\n\t return undefined;\r\n\t Object.defineProperty(target, rootKey, { value: HashMap.create() });\r\n\t }\r\n\t return target[rootKey];\r\n\t }\r\n\t function FillRandomBytes(buffer, size) {\r\n\t for (var i = 0; i < size; ++i)\r\n\t buffer[i] = Math.random() * 0xff | 0;\r\n\t return buffer;\r\n\t }\r\n\t function GenRandomBytes(size) {\r\n\t if (typeof Uint8Array === \"function\") {\r\n\t if (typeof crypto !== \"undefined\")\r\n\t return crypto.getRandomValues(new Uint8Array(size));\r\n\t if (typeof msCrypto !== \"undefined\")\r\n\t return msCrypto.getRandomValues(new Uint8Array(size));\r\n\t return FillRandomBytes(new Uint8Array(size), size);\r\n\t }\r\n\t return FillRandomBytes(new Array(size), size);\r\n\t }\r\n\t function CreateUUID() {\r\n\t var data = GenRandomBytes(UUID_SIZE);\r\n\t // mark as random - RFC 4122 § 4.4\r\n\t data[6] = data[6] & 0x4f | 0x40;\r\n\t data[8] = data[8] & 0xbf | 0x80;\r\n\t var result = \"\";\r\n\t for (var offset = 0; offset < UUID_SIZE; ++offset) {\r\n\t var byte = data[offset];\r\n\t if (offset === 4 || offset === 6 || offset === 8)\r\n\t result += \"-\";\r\n\t if (byte < 16)\r\n\t result += \"0\";\r\n\t result += byte.toString(16).toLowerCase();\r\n\t }\r\n\t return result;\r\n\t }\r\n\t }\r\n\t // uses a heuristic used by v8 and chakra to force an object into dictionary mode.\r\n\t function MakeDictionary(obj) {\r\n\t obj.__ = undefined;\r\n\t delete obj.__;\r\n\t return obj;\r\n\t }\r\n\t // patch global Reflect\r\n\t (function (__global) {\r\n\t if (typeof __global.Reflect !== \"undefined\") {\r\n\t if (__global.Reflect !== Reflect) {\r\n\t for (var p in Reflect) {\r\n\t if (hasOwn.call(Reflect, p)) {\r\n\t __global.Reflect[p] = Reflect[p];\r\n\t }\r\n\t }\r\n\t }\r\n\t }\r\n\t else {\r\n\t __global.Reflect = Reflect;\r\n\t }\r\n\t })(typeof global !== \"undefined\" ? global :\r\n\t typeof self !== \"undefined\" ? self :\r\n\t Function(\"return this;\")());\r\n\t})(Reflect || (Reflect = {}));\r\n\t//# sourceMappingURL=Reflect.js.map\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(386), (function() { return this; }())))\n\n/***/ },\n\n/***/ 386:\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout () {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n\n/***/ 387:\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, process) {/**\n\t* @license\n\t* Copyright Google Inc. All Rights Reserved.\n\t*\n\t* Use of this source code is governed by an MIT-style license that can be\n\t* found in the LICENSE file at https://angular.io/license\n\t*/\n\t(function (global, factory) {\n\t true ? factory() :\n\t typeof define === 'function' && define.amd ? define(factory) :\n\t (factory());\n\t}(this, (function () { 'use strict';\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t\n\t\n\tvar Zone$1 = (function (global) {\n\t if (global.Zone) {\n\t throw new Error('Zone already loaded.');\n\t }\n\t var Zone = (function () {\n\t function Zone(parent, zoneSpec) {\n\t this._properties = null;\n\t this._parent = parent;\n\t this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n\t this._properties = zoneSpec && zoneSpec.properties || {};\n\t this._zoneDelegate =\n\t new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n\t }\n\t Zone.assertZonePatched = function () {\n\t if (global.Promise !== ZoneAwarePromise) {\n\t throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n\t 'has been overwritten.\\n' +\n\t 'Most likely cause is that a Promise polyfill has been loaded ' +\n\t 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n\t 'If you must load one, do so before loading zone.js.)');\n\t }\n\t };\n\t Object.defineProperty(Zone, \"current\", {\n\t get: function () {\n\t return _currentZone;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(Zone, \"currentTask\", {\n\t get: function () {\n\t return _currentTask;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(Zone.prototype, \"parent\", {\n\t get: function () {\n\t return this._parent;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(Zone.prototype, \"name\", {\n\t get: function () {\n\t return this._name;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Zone.prototype.get = function (key) {\n\t var zone = this.getZoneWith(key);\n\t if (zone)\n\t return zone._properties[key];\n\t };\n\t Zone.prototype.getZoneWith = function (key) {\n\t var current = this;\n\t while (current) {\n\t if (current._properties.hasOwnProperty(key)) {\n\t return current;\n\t }\n\t current = current._parent;\n\t }\n\t return null;\n\t };\n\t Zone.prototype.fork = function (zoneSpec) {\n\t if (!zoneSpec)\n\t throw new Error('ZoneSpec required!');\n\t return this._zoneDelegate.fork(this, zoneSpec);\n\t };\n\t Zone.prototype.wrap = function (callback, source) {\n\t if (typeof callback !== 'function') {\n\t throw new Error('Expecting function got: ' + callback);\n\t }\n\t var _callback = this._zoneDelegate.intercept(this, callback, source);\n\t var zone = this;\n\t return function () {\n\t return zone.runGuarded(_callback, this, arguments, source);\n\t };\n\t };\n\t Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n\t task.runCount++;\n\t if (task.zone != this)\n\t throw new Error('A task can only be run in the zone which created it! (Creation: ' + task.zone.name +\n\t '; Execution: ' + this.name + ')');\n\t var previousTask = _currentTask;\n\t _currentTask = task;\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n\t task.cancelFn = null;\n\t }\n\t try {\n\t return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t _currentTask = previousTask;\n\t }\n\t };\n\t Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n\t };\n\t Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.cancelTask = function (task) {\n\t var value = this._zoneDelegate.cancelTask(this, task);\n\t task.runCount = -1;\n\t task.cancelFn = null;\n\t return value;\n\t };\n\t Zone.__symbol__ = __symbol__;\n\t return Zone;\n\t }());\n\t \n\t var ZoneDelegate = (function () {\n\t function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n\t this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n\t this.zone = zone;\n\t this._parentDelegate = parentDelegate;\n\t this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n\t this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n\t this._interceptZS =\n\t zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n\t this._interceptDlgt =\n\t zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n\t this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n\t this._invokeDlgt =\n\t zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n\t this._handleErrorZS =\n\t zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n\t this._handleErrorDlgt =\n\t zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n\t this._scheduleTaskZS =\n\t zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n\t this._scheduleTaskDlgt =\n\t zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n\t this._invokeTaskZS =\n\t zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n\t this._invokeTaskDlgt =\n\t zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n\t this._cancelTaskZS =\n\t zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n\t this._cancelTaskDlgt =\n\t zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n\t this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n\t this._hasTaskDlgt =\n\t zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n\t }\n\t ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n\t return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n\t new Zone(targetZone, zoneSpec);\n\t };\n\t ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n\t return this._interceptZS ?\n\t this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source) :\n\t callback;\n\t };\n\t ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n\t return this._invokeZS ?\n\t this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source) :\n\t callback.apply(applyThis, applyArgs);\n\t };\n\t ZoneDelegate.prototype.handleError = function (targetZone, error) {\n\t return this._handleErrorZS ?\n\t this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error) :\n\t true;\n\t };\n\t ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n\t try {\n\t if (this._scheduleTaskZS) {\n\t return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (task.scheduleFn) {\n\t task.scheduleFn(task);\n\t }\n\t else if (task.type == 'microTask') {\n\t scheduleMicroTask(task);\n\t }\n\t else {\n\t throw new Error('Task is missing scheduleFn.');\n\t }\n\t return task;\n\t }\n\t finally {\n\t if (targetZone == this.zone) {\n\t this._updateTaskCount(task.type, 1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n\t try {\n\t return this._invokeTaskZS ?\n\t this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs) :\n\t task.callback.apply(applyThis, applyArgs);\n\t }\n\t finally {\n\t if (targetZone == this.zone && (task.type != 'eventTask') &&\n\t !(task.data && task.data.isPeriodic)) {\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n\t var value;\n\t if (this._cancelTaskZS) {\n\t value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (!task.cancelFn) {\n\t throw new Error('Task does not support cancellation, or is already canceled.');\n\t }\n\t else {\n\t value = task.cancelFn(task);\n\t }\n\t if (targetZone == this.zone) {\n\t // this should not be in the finally block, because exceptions assume not canceled.\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t return value;\n\t };\n\t ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n\t return this._hasTaskZS &&\n\t this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n\t };\n\t ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n\t var counts = this._taskCounts;\n\t var prev = counts[type];\n\t var next = counts[type] = prev + count;\n\t if (next < 0) {\n\t throw new Error('More tasks executed then were scheduled.');\n\t }\n\t if (prev == 0 || next == 0) {\n\t var isEmpty = {\n\t microTask: counts.microTask > 0,\n\t macroTask: counts.macroTask > 0,\n\t eventTask: counts.eventTask > 0,\n\t change: type\n\t };\n\t try {\n\t this.hasTask(this.zone, isEmpty);\n\t }\n\t finally {\n\t if (this._parentDelegate) {\n\t this._parentDelegate._updateTaskCount(type, count);\n\t }\n\t }\n\t }\n\t };\n\t return ZoneDelegate;\n\t }());\n\t var ZoneTask = (function () {\n\t function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n\t this.runCount = 0;\n\t this.type = type;\n\t this.zone = zone;\n\t this.source = source;\n\t this.data = options;\n\t this.scheduleFn = scheduleFn;\n\t this.cancelFn = cancelFn;\n\t this.callback = callback;\n\t var self = this;\n\t this.invoke = function () {\n\t _numberOfNestedTaskFrames++;\n\t try {\n\t return zone.runTask(self, this, arguments);\n\t }\n\t finally {\n\t if (_numberOfNestedTaskFrames == 1) {\n\t drainMicroTaskQueue();\n\t }\n\t _numberOfNestedTaskFrames--;\n\t }\n\t };\n\t }\n\t ZoneTask.prototype.toString = function () {\n\t if (this.data && typeof this.data.handleId !== 'undefined') {\n\t return this.data.handleId;\n\t }\n\t else {\n\t return Object.prototype.toString.call(this);\n\t }\n\t };\n\t return ZoneTask;\n\t }());\n\t function __symbol__(name) {\n\t return '__zone_symbol__' + name;\n\t }\n\t \n\t var symbolSetTimeout = __symbol__('setTimeout');\n\t var symbolPromise = __symbol__('Promise');\n\t var symbolThen = __symbol__('then');\n\t var _currentZone = new Zone(null, null);\n\t var _currentTask = null;\n\t var _microTaskQueue = [];\n\t var _isDrainingMicrotaskQueue = false;\n\t var _uncaughtPromiseErrors = [];\n\t var _numberOfNestedTaskFrames = 0;\n\t function scheduleQueueDrain() {\n\t // if we are not running in any task, and there has not been anything scheduled\n\t // we must bootstrap the initial task creation by manually scheduling the drain\n\t if (_numberOfNestedTaskFrames == 0 && _microTaskQueue.length == 0) {\n\t // We are not running in Task, so we need to kickstart the microtask queue.\n\t if (global[symbolPromise]) {\n\t global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n\t }\n\t else {\n\t global[symbolSetTimeout](drainMicroTaskQueue, 0);\n\t }\n\t }\n\t }\n\t function scheduleMicroTask(task) {\n\t scheduleQueueDrain();\n\t _microTaskQueue.push(task);\n\t }\n\t function consoleError(e) {\n\t var rejection = e && e.rejection;\n\t if (rejection) {\n\t console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n\t }\n\t console.error(e);\n\t }\n\t function drainMicroTaskQueue() {\n\t if (!_isDrainingMicrotaskQueue) {\n\t _isDrainingMicrotaskQueue = true;\n\t while (_microTaskQueue.length) {\n\t var queue = _microTaskQueue;\n\t _microTaskQueue = [];\n\t for (var i = 0; i < queue.length; i++) {\n\t var task = queue[i];\n\t try {\n\t task.zone.runTask(task, null, null);\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t }\n\t }\n\t while (_uncaughtPromiseErrors.length) {\n\t var _loop_1 = function() {\n\t var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n\t try {\n\t uncaughtPromiseError.zone.runGuarded(function () {\n\t throw uncaughtPromiseError;\n\t });\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t };\n\t while (_uncaughtPromiseErrors.length) {\n\t _loop_1();\n\t }\n\t }\n\t _isDrainingMicrotaskQueue = false;\n\t }\n\t }\n\t function isThenable(value) {\n\t return value && value.then;\n\t }\n\t function forwardResolution(value) {\n\t return value;\n\t }\n\t function forwardRejection(rejection) {\n\t return ZoneAwarePromise.reject(rejection);\n\t }\n\t var symbolState = __symbol__('state');\n\t var symbolValue = __symbol__('value');\n\t var source = 'Promise.then';\n\t var UNRESOLVED = null;\n\t var RESOLVED = true;\n\t var REJECTED = false;\n\t var REJECTED_NO_CATCH = 0;\n\t function makeResolver(promise, state) {\n\t return function (v) {\n\t resolvePromise(promise, state, v);\n\t // Do not return value or you will break the Promise spec.\n\t };\n\t }\n\t function resolvePromise(promise, state, value) {\n\t if (promise[symbolState] === UNRESOLVED) {\n\t if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n\t clearRejectedNoCatch(value);\n\t resolvePromise(promise, value[symbolState], value[symbolValue]);\n\t }\n\t else if (isThenable(value)) {\n\t value.then(makeResolver(promise, state), makeResolver(promise, false));\n\t }\n\t else {\n\t promise[symbolState] = state;\n\t var queue = promise[symbolValue];\n\t promise[symbolValue] = value;\n\t for (var i = 0; i < queue.length;) {\n\t scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n\t }\n\t if (queue.length == 0 && state == REJECTED) {\n\t promise[symbolState] = REJECTED_NO_CATCH;\n\t try {\n\t throw new Error('Uncaught (in promise): ' + value +\n\t (value && value.stack ? '\\n' + value.stack : ''));\n\t }\n\t catch (e) {\n\t var error_1 = e;\n\t error_1.rejection = value;\n\t error_1.promise = promise;\n\t error_1.zone = Zone.current;\n\t error_1.task = Zone.currentTask;\n\t _uncaughtPromiseErrors.push(error_1);\n\t scheduleQueueDrain();\n\t }\n\t }\n\t }\n\t }\n\t // Resolving an already resolved promise is a noop.\n\t return promise;\n\t }\n\t function clearRejectedNoCatch(promise) {\n\t if (promise[symbolState] === REJECTED_NO_CATCH) {\n\t promise[symbolState] = REJECTED;\n\t for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n\t if (promise === _uncaughtPromiseErrors[i].promise) {\n\t _uncaughtPromiseErrors.splice(i, 1);\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n\t clearRejectedNoCatch(promise);\n\t var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n\t zone.scheduleMicroTask(source, function () {\n\t try {\n\t resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n\t }\n\t catch (error) {\n\t resolvePromise(chainPromise, false, error);\n\t }\n\t });\n\t }\n\t var ZoneAwarePromise = (function () {\n\t function ZoneAwarePromise(executor) {\n\t var promise = this;\n\t if (!(promise instanceof ZoneAwarePromise)) {\n\t throw new Error('Must be an instanceof Promise.');\n\t }\n\t promise[symbolState] = UNRESOLVED;\n\t promise[symbolValue] = []; // queue;\n\t try {\n\t executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n\t }\n\t catch (e) {\n\t resolvePromise(promise, false, e);\n\t }\n\t }\n\t ZoneAwarePromise.resolve = function (value) {\n\t return resolvePromise(new this(null), RESOLVED, value);\n\t };\n\t ZoneAwarePromise.reject = function (error) {\n\t return resolvePromise(new this(null), REJECTED, error);\n\t };\n\t ZoneAwarePromise.race = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) {\n\t _a = [res, rej], resolve = _a[0], reject = _a[1];\n\t var _a;\n\t });\n\t function onResolve(value) {\n\t promise && (promise = null || resolve(value));\n\t }\n\t function onReject(error) {\n\t promise && (promise = null || reject(error));\n\t }\n\t for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n\t var value = values_1[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then(onResolve, onReject);\n\t }\n\t return promise;\n\t };\n\t ZoneAwarePromise.all = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) {\n\t resolve = res;\n\t reject = rej;\n\t });\n\t var count = 0;\n\t var resolvedValues = [];\n\t for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n\t var value = values_2[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then((function (index) { return function (value) {\n\t resolvedValues[index] = value;\n\t count--;\n\t if (!count) {\n\t resolve(resolvedValues);\n\t }\n\t }; })(count), reject);\n\t count++;\n\t }\n\t if (!count)\n\t resolve(resolvedValues);\n\t return promise;\n\t };\n\t ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n\t var chainPromise = new this.constructor(null);\n\t var zone = Zone.current;\n\t if (this[symbolState] == UNRESOLVED) {\n\t this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t else {\n\t scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t return chainPromise;\n\t };\n\t ZoneAwarePromise.prototype.catch = function (onRejected) {\n\t return this.then(null, onRejected);\n\t };\n\t return ZoneAwarePromise;\n\t }());\n\t // Protect against aggressive optimizers dropping seemingly unused properties.\n\t // E.g. Closure Compiler in advanced mode.\n\t ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n\t ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n\t ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n\t ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n\t var NativePromise = global[__symbol__('Promise')] = global.Promise;\n\t global.Promise = ZoneAwarePromise;\n\t function patchThen(NativePromise) {\n\t var NativePromiseProtototype = NativePromise.prototype;\n\t var NativePromiseThen = NativePromiseProtototype[__symbol__('then')] =\n\t NativePromiseProtototype.then;\n\t NativePromiseProtototype.then = function (onResolve, onReject) {\n\t var nativePromise = this;\n\t return new ZoneAwarePromise(function (resolve, reject) {\n\t NativePromiseThen.call(nativePromise, resolve, reject);\n\t })\n\t .then(onResolve, onReject);\n\t };\n\t }\n\t if (NativePromise) {\n\t patchThen(NativePromise);\n\t if (typeof global['fetch'] !== 'undefined') {\n\t var fetchPromise = void 0;\n\t try {\n\t // In MS Edge this throws\n\t fetchPromise = global['fetch']();\n\t }\n\t catch (e) {\n\t // In Chrome this throws instead.\n\t fetchPromise = global['fetch']('about:blank');\n\t }\n\t // ignore output to prevent error;\n\t fetchPromise.then(function () { return null; }, function () { return null; });\n\t if (fetchPromise.constructor != NativePromise &&\n\t fetchPromise.constructor != ZoneAwarePromise) {\n\t patchThen(fetchPromise.constructor);\n\t }\n\t }\n\t }\n\t // This is not part of public API, but it is usefull for tests, so we expose it.\n\t Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n\t return global.Zone = Zone;\n\t})(typeof window === 'object' && window || typeof self === 'object' && self || global);\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar zoneSymbol = Zone['__symbol__'];\n\tvar _global$1 = typeof window === 'object' && window || typeof self === 'object' && self || global;\n\tfunction bindArguments(args, source) {\n\t for (var i = args.length - 1; i >= 0; i--) {\n\t if (typeof args[i] === 'function') {\n\t args[i] = Zone.current.wrap(args[i], source + '_' + i);\n\t }\n\t }\n\t return args;\n\t}\n\t\n\tfunction patchPrototype(prototype, fnNames) {\n\t var source = prototype.constructor['name'];\n\t var _loop_1 = function(i) {\n\t var name_1 = fnNames[i];\n\t var delegate = prototype[name_1];\n\t if (delegate) {\n\t prototype[name_1] = (function (delegate) {\n\t return function () {\n\t return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n\t };\n\t })(delegate);\n\t }\n\t };\n\t for (var i = 0; i < fnNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t}\n\t\n\tvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n\tvar isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\n\tvar isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n\tfunction patchProperty(obj, prop) {\n\t var desc = Object.getOwnPropertyDescriptor(obj, prop) || { enumerable: true, configurable: true };\n\t // A property descriptor cannot have getter/setter and be writable\n\t // deleting the writable and value properties avoids this error:\n\t //\n\t // TypeError: property descriptors must not specify a value or be writable when a\n\t // getter or setter has been specified\n\t delete desc.writable;\n\t delete desc.value;\n\t // substr(2) cuz 'onclick' -> 'click', etc\n\t var eventName = prop.substr(2);\n\t var _prop = '_' + prop;\n\t desc.set = function (fn) {\n\t if (this[_prop]) {\n\t this.removeEventListener(eventName, this[_prop]);\n\t }\n\t if (typeof fn === 'function') {\n\t var wrapFn = function (event) {\n\t var result;\n\t result = fn.apply(this, arguments);\n\t if (result != undefined && !result)\n\t event.preventDefault();\n\t };\n\t this[_prop] = wrapFn;\n\t this.addEventListener(eventName, wrapFn, false);\n\t }\n\t else {\n\t this[_prop] = null;\n\t }\n\t };\n\t // The getter would return undefined for unassigned properties but the default value of an\n\t // unassigned property is null\n\t desc.get = function () {\n\t return this[_prop] || null;\n\t };\n\t Object.defineProperty(obj, prop, desc);\n\t}\n\t\n\tfunction patchOnProperties(obj, properties) {\n\t var onProperties = [];\n\t for (var prop in obj) {\n\t if (prop.substr(0, 2) == 'on') {\n\t onProperties.push(prop);\n\t }\n\t }\n\t for (var j = 0; j < onProperties.length; j++) {\n\t patchProperty(obj, onProperties[j]);\n\t }\n\t if (properties) {\n\t for (var i = 0; i < properties.length; i++) {\n\t patchProperty(obj, 'on' + properties[i]);\n\t }\n\t }\n\t}\n\t\n\tvar EVENT_TASKS = zoneSymbol('eventTasks');\n\t// For EventTarget\n\tvar ADD_EVENT_LISTENER = 'addEventListener';\n\tvar REMOVE_EVENT_LISTENER = 'removeEventListener';\n\tfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (eventTasks) {\n\t for (var i = 0; i < eventTasks.length; i++) {\n\t var eventTask = eventTasks[i];\n\t var data = eventTask.data;\n\t if (data.handler === handler && data.useCapturing === capture && data.eventName === name) {\n\t if (remove) {\n\t eventTasks.splice(i, 1);\n\t }\n\t return eventTask;\n\t }\n\t }\n\t }\n\t return null;\n\t}\n\tfunction attachRegisteredEvent(target, eventTask) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (!eventTasks) {\n\t eventTasks = target[EVENT_TASKS] = [];\n\t }\n\t eventTasks.push(eventTask);\n\t}\n\tfunction makeZoneAwareAddListener(addFnName, removeFnName, useCapturingParam, allowDuplicates) {\n\t if (useCapturingParam === void 0) { useCapturingParam = true; }\n\t if (allowDuplicates === void 0) { allowDuplicates = false; }\n\t var addFnSymbol = zoneSymbol(addFnName);\n\t var removeFnSymbol = zoneSymbol(removeFnName);\n\t var defaultUseCapturing = useCapturingParam ? false : undefined;\n\t function scheduleEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t attachRegisteredEvent(meta.target, eventTask);\n\t return meta.target[addFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t }\n\t function cancelEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n\t meta.target[removeFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t }\n\t return function zoneAwareAddListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || defaultUseCapturing;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global$1;\n\t var delegate = null;\n\t if (typeof handler == 'function') {\n\t delegate = handler;\n\t }\n\t else if (handler && handler.handleEvent) {\n\t delegate = function (event) { return handler.handleEvent(event); };\n\t }\n\t var validZoneHandler = false;\n\t try {\n\t // In cross site contexts (such as WebDriver frameworks like Selenium),\n\t // accessing the handler object here will cause an exception to be thrown which\n\t // will fail tests prematurely.\n\t validZoneHandler = handler && handler.toString() === '[object FunctionWrapper]';\n\t }\n\t catch (e) {\n\t // Returning nothing here is fine, because objects in a cross-site context are unusable\n\t return;\n\t }\n\t // Ignore special listeners of IE11 & Edge dev tools, see\n\t // https://github.com/angular/zone.js/issues/150\n\t if (!delegate || validZoneHandler) {\n\t return target[addFnSymbol](eventName, handler, useCapturing);\n\t }\n\t if (!allowDuplicates) {\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n\t if (eventTask) {\n\t // we already registered, so this will have noop.\n\t return target[addFnSymbol](eventName, eventTask.invoke, useCapturing);\n\t }\n\t }\n\t var zone = Zone.current;\n\t var source = target.constructor['name'] + '.' + addFnName + ':' + eventName;\n\t var data = {\n\t target: target,\n\t eventName: eventName,\n\t name: eventName,\n\t useCapturing: useCapturing,\n\t handler: handler\n\t };\n\t zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n\t };\n\t}\n\tfunction makeZoneAwareRemoveListener(fnName, useCapturingParam) {\n\t if (useCapturingParam === void 0) { useCapturingParam = true; }\n\t var symbol = zoneSymbol(fnName);\n\t var defaultUseCapturing = useCapturingParam ? false : undefined;\n\t return function zoneAwareRemoveListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || defaultUseCapturing;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global$1;\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n\t if (eventTask) {\n\t eventTask.zone.cancelTask(eventTask);\n\t }\n\t else {\n\t target[symbol](eventName, handler, useCapturing);\n\t }\n\t };\n\t}\n\t\n\tvar zoneAwareAddEventListener = makeZoneAwareAddListener(ADD_EVENT_LISTENER, REMOVE_EVENT_LISTENER);\n\tvar zoneAwareRemoveEventListener = makeZoneAwareRemoveListener(REMOVE_EVENT_LISTENER);\n\tfunction patchEventTargetMethods(obj) {\n\t if (obj && obj.addEventListener) {\n\t patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n\t patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t}\n\tvar originalInstanceKey = zoneSymbol('originalInstance');\n\t// wrap some native API on `window`\n\tfunction patchClass(className) {\n\t var OriginalClass = _global$1[className];\n\t if (!OriginalClass)\n\t return;\n\t _global$1[className] = function () {\n\t var a = bindArguments(arguments, className);\n\t switch (a.length) {\n\t case 0:\n\t this[originalInstanceKey] = new OriginalClass();\n\t break;\n\t case 1:\n\t this[originalInstanceKey] = new OriginalClass(a[0]);\n\t break;\n\t case 2:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n\t break;\n\t case 3:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n\t break;\n\t case 4:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n\t break;\n\t default:\n\t throw new Error('Arg list too long.');\n\t }\n\t };\n\t var instance = new OriginalClass(function () { });\n\t var prop;\n\t for (prop in instance) {\n\t // https://bugs.webkit.org/show_bug.cgi?id=44721\n\t if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n\t continue;\n\t (function (prop) {\n\t if (typeof instance[prop] === 'function') {\n\t _global$1[className].prototype[prop] = function () {\n\t return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n\t };\n\t }\n\t else {\n\t Object.defineProperty(_global$1[className].prototype, prop, {\n\t set: function (fn) {\n\t if (typeof fn === 'function') {\n\t this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n\t }\n\t else {\n\t this[originalInstanceKey][prop] = fn;\n\t }\n\t },\n\t get: function () {\n\t return this[originalInstanceKey][prop];\n\t }\n\t });\n\t }\n\t }(prop));\n\t }\n\t for (prop in OriginalClass) {\n\t if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n\t _global$1[className][prop] = OriginalClass[prop];\n\t }\n\t }\n\t}\n\t\n\tfunction createNamedFn(name, delegate) {\n\t try {\n\t return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n\t }\n\t catch (e) {\n\t // if we fail, we must be CSP, just return delegate.\n\t return function () {\n\t return delegate(this, arguments);\n\t };\n\t }\n\t}\n\tfunction patchMethod(target, name, patchFn) {\n\t var proto = target;\n\t while (proto && Object.getOwnPropertyNames(proto).indexOf(name) === -1) {\n\t proto = Object.getPrototypeOf(proto);\n\t }\n\t if (!proto && target[name]) {\n\t // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n\t proto = target;\n\t }\n\t var delegateName = zoneSymbol(name);\n\t var delegate;\n\t if (proto && !(delegate = proto[delegateName])) {\n\t delegate = proto[delegateName] = proto[name];\n\t proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n\t }\n\t return delegate;\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tfunction patchTimer(window, setName, cancelName, nameSuffix) {\n\t var setNative = null;\n\t var clearNative = null;\n\t setName += nameSuffix;\n\t cancelName += nameSuffix;\n\t var tasksByHandleId = {};\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.args[0] = function () {\n\t task.invoke.apply(this, arguments);\n\t delete tasksByHandleId[data.handleId];\n\t };\n\t data.handleId = setNative.apply(window, data.args);\n\t tasksByHandleId[data.handleId] = task;\n\t return task;\n\t }\n\t function clearTask(task) {\n\t delete tasksByHandleId[task.data.handleId];\n\t return clearNative(task.data.handleId);\n\t }\n\t setNative =\n\t patchMethod(window, setName, function (delegate) { return function (self, args) {\n\t if (typeof args[0] === 'function') {\n\t var zone = Zone.current;\n\t var options = {\n\t handleId: null,\n\t isPeriodic: nameSuffix === 'Interval',\n\t delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n\t args: args\n\t };\n\t var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n\t if (!task) {\n\t return task;\n\t }\n\t // Node.js must additionally support the ref and unref functions.\n\t var handle = task.data.handleId;\n\t if (handle.ref && handle.unref) {\n\t task.ref = handle.ref.bind(handle);\n\t task.unref = handle.unref.bind(handle);\n\t }\n\t return task;\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t return delegate.apply(window, args);\n\t }\n\t }; });\n\t clearNative =\n\t patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n\t var task = typeof args[0] === 'number' ? tasksByHandleId[args[0]] : args[0];\n\t if (task && typeof task.type === 'string') {\n\t if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n\t // Do not cancel already canceled functions\n\t task.zone.cancelTask(task);\n\t }\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t delegate.apply(window, args);\n\t }\n\t }; });\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t/*\n\t * This is necessary for Chrome and Chrome mobile, to enable\n\t * things like redefining `createdCallback` on an element.\n\t */\n\tvar _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;\n\tvar _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =\n\t Object.getOwnPropertyDescriptor;\n\tvar _create = Object.create;\n\tvar unconfigurablesKey = zoneSymbol('unconfigurables');\n\tfunction propertyPatch() {\n\t Object.defineProperty = function (obj, prop, desc) {\n\t if (isUnconfigurable(obj, prop)) {\n\t throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n\t }\n\t var originalConfigurableFlag = desc.configurable;\n\t if (prop !== 'prototype') {\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t }\n\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t };\n\t Object.defineProperties = function (obj, props) {\n\t Object.keys(props).forEach(function (prop) {\n\t Object.defineProperty(obj, prop, props[prop]);\n\t });\n\t return obj;\n\t };\n\t Object.create = function (obj, proto) {\n\t if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n\t Object.keys(proto).forEach(function (prop) {\n\t proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n\t });\n\t }\n\t return _create(obj, proto);\n\t };\n\t Object.getOwnPropertyDescriptor = function (obj, prop) {\n\t var desc = _getOwnPropertyDescriptor(obj, prop);\n\t if (isUnconfigurable(obj, prop)) {\n\t desc.configurable = false;\n\t }\n\t return desc;\n\t };\n\t}\n\t\n\tfunction _redefineProperty(obj, prop, desc) {\n\t var originalConfigurableFlag = desc.configurable;\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t}\n\t\n\tfunction isUnconfigurable(obj, prop) {\n\t return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n\t}\n\tfunction rewriteDescriptor(obj, prop, desc) {\n\t desc.configurable = true;\n\t if (!desc.configurable) {\n\t if (!obj[unconfigurablesKey]) {\n\t _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n\t }\n\t obj[unconfigurablesKey][prop] = true;\n\t }\n\t return desc;\n\t}\n\tfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n\t try {\n\t return _defineProperty(obj, prop, desc);\n\t }\n\t catch (e) {\n\t if (desc.configurable) {\n\t // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n\t // retry with the original flag value\n\t if (typeof originalConfigurableFlag == 'undefined') {\n\t delete desc.configurable;\n\t }\n\t else {\n\t desc.configurable = originalConfigurableFlag;\n\t }\n\t try {\n\t return _defineProperty(obj, prop, desc);\n\t }\n\t catch (e) {\n\t var descJson = null;\n\t try {\n\t descJson = JSON.stringify(desc);\n\t }\n\t catch (e) {\n\t descJson = descJson.toString();\n\t }\n\t console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + e);\n\t }\n\t }\n\t else {\n\t throw e;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n\tvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'\n\t .split(',');\n\tvar EVENT_TARGET = 'EventTarget';\n\tfunction eventTargetPatch(_global) {\n\t var apis = [];\n\t var isWtf = _global['wtf'];\n\t if (isWtf) {\n\t // Workaround for: https://github.com/google/tracing-framework/issues/555\n\t apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n\t }\n\t else if (_global[EVENT_TARGET]) {\n\t apis.push(EVENT_TARGET);\n\t }\n\t else {\n\t // Note: EventTarget is not available in all browsers,\n\t // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n\t apis = NO_EVENT_TARGET;\n\t }\n\t for (var i = 0; i < apis.length; i++) {\n\t var type = _global[apis[i]];\n\t patchEventTargetMethods(type && type.prototype);\n\t }\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t// we have to patch the instance since the proto is non-configurable\n\tfunction apply(_global) {\n\t var WS = _global.WebSocket;\n\t // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n\t // On older Chrome, no need since EventTarget was already patched\n\t if (!_global.EventTarget) {\n\t patchEventTargetMethods(WS.prototype);\n\t }\n\t _global.WebSocket = function (a, b) {\n\t var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n\t var proxySocket;\n\t // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n\t var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n\t if (onmessageDesc && onmessageDesc.configurable === false) {\n\t proxySocket = Object.create(socket);\n\t ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n\t proxySocket[propName] = function () {\n\t return socket[propName].apply(socket, arguments);\n\t };\n\t });\n\t }\n\t else {\n\t // we can patch the real socket\n\t proxySocket = socket;\n\t }\n\t patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n\t return proxySocket;\n\t };\n\t for (var prop in WS) {\n\t _global.WebSocket[prop] = WS[prop];\n\t }\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'\n\t .split(' ');\n\tfunction propertyDescriptorPatch(_global) {\n\t if (isNode) {\n\t return;\n\t }\n\t var supportsWebSocket = typeof WebSocket !== 'undefined';\n\t if (canPatchViaPropertyDescriptor()) {\n\t // for browsers that we can patch the descriptor: Chrome & Firefox\n\t if (isBrowser) {\n\t patchOnProperties(HTMLElement.prototype, eventNames);\n\t }\n\t patchOnProperties(XMLHttpRequest.prototype, null);\n\t if (typeof IDBIndex !== 'undefined') {\n\t patchOnProperties(IDBIndex.prototype, null);\n\t patchOnProperties(IDBRequest.prototype, null);\n\t patchOnProperties(IDBOpenDBRequest.prototype, null);\n\t patchOnProperties(IDBDatabase.prototype, null);\n\t patchOnProperties(IDBTransaction.prototype, null);\n\t patchOnProperties(IDBCursor.prototype, null);\n\t }\n\t if (supportsWebSocket) {\n\t patchOnProperties(WebSocket.prototype, null);\n\t }\n\t }\n\t else {\n\t // Safari, Android browsers (Jelly Bean)\n\t patchViaCapturingAllTheEvents();\n\t patchClass('XMLHttpRequest');\n\t if (supportsWebSocket) {\n\t apply(_global);\n\t }\n\t }\n\t}\n\tfunction canPatchViaPropertyDescriptor() {\n\t if (isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n\t typeof Element !== 'undefined') {\n\t // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n\t // IDL interface attributes are not configurable\n\t var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n\t if (desc && !desc.configurable)\n\t return false;\n\t }\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n\t get: function () {\n\t return true;\n\t }\n\t });\n\t var req = new XMLHttpRequest();\n\t var result = !!req.onreadystatechange;\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n\t return result;\n\t}\n\t\n\tvar unboundKey = zoneSymbol('unbound');\n\t// Whenever any eventListener fires, we check the eventListener target and all parents\n\t// for `onwhatever` properties and replace them with zone-bound functions\n\t// - Chrome (for now)\n\tfunction patchViaCapturingAllTheEvents() {\n\t var _loop_1 = function(i) {\n\t var property = eventNames[i];\n\t var onproperty = 'on' + property;\n\t self.addEventListener(property, function (event) {\n\t var elt = event.target, bound, source;\n\t if (elt) {\n\t source = elt.constructor['name'] + '.' + onproperty;\n\t }\n\t else {\n\t source = 'unknown.' + onproperty;\n\t }\n\t while (elt) {\n\t if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n\t bound = Zone.current.wrap(elt[onproperty], source);\n\t bound[unboundKey] = elt[onproperty];\n\t elt[onproperty] = bound;\n\t }\n\t elt = elt.parentElement;\n\t }\n\t }, true);\n\t };\n\t for (var i = 0; i < eventNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t \n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tfunction registerElementPatch(_global) {\n\t if (!isBrowser || !('registerElement' in _global.document)) {\n\t return;\n\t }\n\t var _registerElement = document.registerElement;\n\t var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n\t document.registerElement = function (name, opts) {\n\t if (opts && opts.prototype) {\n\t callbacks.forEach(function (callback) {\n\t var source = 'Document.registerElement::' + callback;\n\t if (opts.prototype.hasOwnProperty(callback)) {\n\t var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n\t if (descriptor && descriptor.value) {\n\t descriptor.value = Zone.current.wrap(descriptor.value, source);\n\t _redefineProperty(opts.prototype, callback, descriptor);\n\t }\n\t else {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t }\n\t else if (opts.prototype[callback]) {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t });\n\t }\n\t return _registerElement.apply(document, [name, opts]);\n\t };\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar set = 'set';\n\tvar clear = 'clear';\n\tvar blockingMethods = ['alert', 'prompt', 'confirm'];\n\tvar _global = typeof window === 'object' && window || typeof self === 'object' && self || global;\n\tpatchTimer(_global, set, clear, 'Timeout');\n\tpatchTimer(_global, set, clear, 'Interval');\n\tpatchTimer(_global, set, clear, 'Immediate');\n\tpatchTimer(_global, 'request', 'cancel', 'AnimationFrame');\n\tpatchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n\tpatchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n\tfor (var i = 0; i < blockingMethods.length; i++) {\n\t var name = blockingMethods[i];\n\t patchMethod(_global, name, function (delegate, symbol, name) {\n\t return function (s, args) {\n\t return Zone.current.run(delegate, _global, args, name);\n\t };\n\t });\n\t}\n\teventTargetPatch(_global);\n\tpropertyDescriptorPatch(_global);\n\tpatchClass('MutationObserver');\n\tpatchClass('WebKitMutationObserver');\n\tpatchClass('FileReader');\n\tpropertyPatch();\n\tregisterElementPatch(_global);\n\t// Treat XMLHTTPRequest as a macrotask.\n\tpatchXHR(_global);\n\tvar XHR_TASK = zoneSymbol('xhrTask');\n\tvar XHR_SYNC = zoneSymbol('xhrSync');\n\tfunction patchXHR(window) {\n\t function findPendingTask(target) {\n\t var pendingTask = target[XHR_TASK];\n\t return pendingTask;\n\t }\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.target.addEventListener('readystatechange', function () {\n\t if (data.target.readyState === data.target.DONE) {\n\t if (!data.aborted) {\n\t task.invoke();\n\t }\n\t }\n\t });\n\t var storedTask = data.target[XHR_TASK];\n\t if (!storedTask) {\n\t data.target[XHR_TASK] = task;\n\t }\n\t sendNative.apply(data.target, data.args);\n\t return task;\n\t }\n\t function placeholderCallback() { }\n\t function clearTask(task) {\n\t var data = task.data;\n\t // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n\t // to prevent it from firing. So instead, we store info for the event listener.\n\t data.aborted = true;\n\t return abortNative.apply(data.target, data.args);\n\t }\n\t var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) {\n\t self[XHR_SYNC] = args[2] == false;\n\t return openNative.apply(self, args);\n\t }; });\n\t var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n\t var zone = Zone.current;\n\t if (self[XHR_SYNC]) {\n\t // if the XHR is sync there is no task to schedule, just execute the code.\n\t return sendNative.apply(self, args);\n\t }\n\t else {\n\t var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false };\n\t return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n\t }\n\t }; });\n\t var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n\t var task = findPendingTask(self);\n\t if (task && typeof task.type == 'string') {\n\t // If the XHR has already completed, do nothing.\n\t if (task.cancelFn == null) {\n\t return;\n\t }\n\t task.zone.cancelTask(task);\n\t }\n\t // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task\n\t // to cancel. Do nothing.\n\t }; });\n\t}\n\t/// GEO_LOCATION\n\tif (_global['navigator'] && _global['navigator'].geolocation) {\n\t patchPrototype(_global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n\t}\n\t\n\t})));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(386)))\n\n/***/ }\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// polyfills.js"," \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, callbacks = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId])\n \t\t\t\tcallbacks.push.apply(callbacks, installedChunks[chunkId]);\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules);\n \t\twhile(callbacks.length)\n \t\t\tcallbacks.shift().call(null, __webpack_require__);\n \t\tif(moreModules[0]) {\n \t\t\tinstalledModules[0] = 0;\n \t\t\treturn __webpack_require__(0);\n \t\t}\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// \"0\" means \"already loaded\"\n \t// Array means \"loading\", array contains callbacks\n \tvar installedChunks = {\n \t\t1:0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId, callback) {\n \t\t// \"0\" is the signal for \"already loaded\"\n \t\tif(installedChunks[chunkId] === 0)\n \t\t\treturn callback.call(null, __webpack_require__);\n\n \t\t// an array means \"currently loading\".\n \t\tif(installedChunks[chunkId] !== undefined) {\n \t\t\tinstalledChunks[chunkId].push(callback);\n \t\t} else {\n \t\t\t// start chunk loading\n \t\t\tinstalledChunks[chunkId] = [callback];\n \t\t\tvar head = document.getElementsByTagName('head')[0];\n \t\t\tvar script = document.createElement('script');\n \t\t\tscript.type = 'text/javascript';\n \t\t\tscript.charset = 'utf-8';\n \t\t\tscript.async = true;\n\n \t\t\tscript.src = __webpack_require__.p + \"\" + chunkId + \".bundle.js\";\n \t\t\thead.appendChild(script);\n \t\t}\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/ng2-animate/example/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 6ad92869e5b7959be9e3","import 'reflect-metadata';\nimport 'zone.js/dist/zone';\n\n\n// WEBPACK FOOTER //\n// ./example/src/polyfills.ts","/*! *****************************************************************************\r\nCopyright (C) Microsoft. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\nvar Reflect;\r\n(function (Reflect) {\r\n \"use strict\";\r\n var hasOwn = Object.prototype.hasOwnProperty;\r\n // feature test for Symbol support\r\n var supportsSymbol = typeof Symbol === \"function\";\r\n var toPrimitiveSymbol = supportsSymbol && typeof Symbol.toPrimitive !== \"undefined\" ? Symbol.toPrimitive : \"@@toPrimitive\";\r\n var iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== \"undefined\" ? Symbol.iterator : \"@@iterator\";\r\n var HashMap;\r\n (function (HashMap) {\r\n var supportsCreate = typeof Object.create === \"function\"; // feature test for Object.create support\r\n var supportsProto = { __proto__: [] } instanceof Array; // feature test for __proto__ support\r\n var downLevel = !supportsCreate && !supportsProto;\r\n // create an object in dictionary mode (a.k.a. \"slow\" mode in v8)\r\n HashMap.create = supportsCreate\r\n ? function () { return MakeDictionary(Object.create(null)); }\r\n : supportsProto\r\n ? function () { return MakeDictionary({ __proto__: null }); }\r\n : function () { return MakeDictionary({}); };\r\n HashMap.has = downLevel\r\n ? function (map, key) { return hasOwn.call(map, key); }\r\n : function (map, key) { return key in map; };\r\n HashMap.get = downLevel\r\n ? function (map, key) { return hasOwn.call(map, key) ? map[key] : undefined; }\r\n : function (map, key) { return map[key]; };\r\n })(HashMap || (HashMap = {}));\r\n // Load global or shim versions of Map, Set, and WeakMap\r\n var functionPrototype = Object.getPrototypeOf(Function);\r\n var usePolyfill = typeof process === \"object\" && process.env && process.env[\"REFLECT_METADATA_USE_MAP_POLYFILL\"] === \"true\";\r\n var _Map = !usePolyfill && typeof Map === \"function\" && typeof Map.prototype.entries === \"function\" ? Map : CreateMapPolyfill();\r\n var _Set = !usePolyfill && typeof Set === \"function\" && typeof Set.prototype.entries === \"function\" ? Set : CreateSetPolyfill();\r\n var _WeakMap = !usePolyfill && typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\r\n // [[Metadata]] internal slot\r\n // https://rbuckton.github.io/reflect-metadata/#ordinary-object-internal-methods-and-internal-slots\r\n var Metadata = new _WeakMap();\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param propertyKey (Optional) The property key to decorate.\r\n * @param attributes (Optional) The property descriptor for the target key.\r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * Example = Reflect.decorate(decoratorsArray, Example);\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(Example, \"staticMethod\",\r\n * Reflect.decorate(decoratorsArray, Example, \"staticMethod\",\r\n * Object.getOwnPropertyDescriptor(Example, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(Example.prototype, \"method\",\r\n * Reflect.decorate(decoratorsArray, Example.prototype, \"method\",\r\n * Object.getOwnPropertyDescriptor(Example.prototype, \"method\")));\r\n *\r\n */\r\n function decorate(decorators, target, propertyKey, attributes) {\r\n if (!IsUndefined(propertyKey)) {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes))\r\n throw new TypeError();\r\n if (IsNull(attributes))\r\n attributes = undefined;\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return DecorateProperty(decorators, target, propertyKey, attributes);\r\n }\r\n else {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsConstructor(target))\r\n throw new TypeError();\r\n return DecorateConstructor(decorators, target);\r\n }\r\n }\r\n Reflect.decorate = decorate;\r\n // 4.1.2 Reflect.metadata(metadataKey, metadataValue)\r\n // https://rbuckton.github.io/reflect-metadata/#reflect.metadata\r\n /**\r\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\r\n * @param metadataKey The key for the metadata entry.\r\n * @param metadataValue The value for the metadata entry.\r\n * @returns A decorator function.\r\n * @remarks\r\n * If `metadataKey` is already defined for the target and target key, the\r\n * metadataValue for that key will be overwritten.\r\n * @example\r\n *\r\n * // constructor\r\n * @Reflect.metadata(key, value)\r\n * class Example {\r\n * }\r\n *\r\n * // property (on constructor, TypeScript only)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * static staticProperty;\r\n * }\r\n *\r\n * // property (on prototype, TypeScript only)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * property;\r\n * }\r\n *\r\n * // method (on constructor)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * static staticMethod() { }\r\n * }\r\n *\r\n * // method (on prototype)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * method() { }\r\n * }\r\n *\r\n */\r\n function metadata(metadataKey, metadataValue) {\r\n function decorator(target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey))\r\n throw new TypeError();\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\r\n }\r\n return decorator;\r\n }\r\n Reflect.metadata = metadata;\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example);\r\n *\r\n * // property (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"method\");\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): Decorator {\r\n * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n * }\r\n *\r\n */\r\n function defineMetadata(metadataKey, metadataValue, target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\r\n }\r\n Reflect.defineMetadata = defineMetadata;\r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function hasMetadata(metadataKey, target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryHasMetadata(metadataKey, target, propertyKey);\r\n }\r\n Reflect.hasMetadata = hasMetadata;\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function hasOwnMetadata(metadataKey, target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);\r\n }\r\n Reflect.hasOwnMetadata = hasOwnMetadata;\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function getMetadata(metadataKey, target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryGetMetadata(metadataKey, target, propertyKey);\r\n }\r\n Reflect.getMetadata = getMetadata;\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function getOwnMetadata(metadataKey, target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);\r\n }\r\n Reflect.getOwnMetadata = getOwnMetadata;\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadataKeys(Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadataKeys(Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadataKeys(Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadataKeys(Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadataKeys(Example.prototype, \"method\");\r\n *\r\n */\r\n function getMetadataKeys(target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryMetadataKeys(target, propertyKey);\r\n }\r\n Reflect.getMetadataKeys = getMetadataKeys;\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadataKeys(Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"method\");\r\n *\r\n */\r\n function getOwnMetadataKeys(target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return OrdinaryOwnMetadataKeys(target, propertyKey);\r\n }\r\n Reflect.getOwnMetadataKeys = getOwnMetadataKeys;\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param propertyKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"method\");\r\n *\r\n */\r\n function deleteMetadata(metadataKey, target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey))\r\n propertyKey = ToPropertyKey(propertyKey);\r\n var metadataMap = GetOrCreateMetadataMap(target, propertyKey, /*Create*/ false);\r\n if (IsUndefined(metadataMap))\r\n return false;\r\n if (!metadataMap.delete(metadataKey))\r\n return false;\r\n if (metadataMap.size > 0)\r\n return true;\r\n var targetMetadata = Metadata.get(target);\r\n targetMetadata.delete(propertyKey);\r\n if (targetMetadata.size > 0)\r\n return true;\r\n Metadata.delete(target);\r\n return true;\r\n }\r\n Reflect.deleteMetadata = deleteMetadata;\r\n function DecorateConstructor(decorators, target) {\r\n for (var i = decorators.length - 1; i >= 0; --i) {\r\n var decorator = decorators[i];\r\n var decorated = decorator(target);\r\n if (!IsUndefined(decorated) && !IsNull(decorated)) {\r\n if (!IsConstructor(decorated))\r\n throw new TypeError();\r\n target = decorated;\r\n }\r\n }\r\n return target;\r\n }\r\n function DecorateProperty(decorators, target, propertyKey, descriptor) {\r\n for (var i = decorators.length - 1; i >= 0; --i) {\r\n var decorator = decorators[i];\r\n var decorated = decorator(target, propertyKey, descriptor);\r\n if (!IsUndefined(decorated) && !IsNull(decorated)) {\r\n if (!IsObject(decorated))\r\n throw new TypeError();\r\n descriptor = decorated;\r\n }\r\n }\r\n return descriptor;\r\n }\r\n function GetOrCreateMetadataMap(O, P, Create) {\r\n var targetMetadata = Metadata.get(O);\r\n if (IsUndefined(targetMetadata)) {\r\n if (!Create)\r\n return undefined;\r\n targetMetadata = new _Map();\r\n Metadata.set(O, targetMetadata);\r\n }\r\n var metadataMap = targetMetadata.get(P);\r\n if (IsUndefined(metadataMap)) {\r\n if (!Create)\r\n return undefined;\r\n metadataMap = new _Map();\r\n targetMetadata.set(P, metadataMap);\r\n }\r\n return metadataMap;\r\n }\r\n // 3.1.1.1 OrdinaryHasMetadata(MetadataKey, O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinaryhasmetadata\r\n function OrdinaryHasMetadata(MetadataKey, O, P) {\r\n var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn)\r\n return true;\r\n var parent = OrdinaryGetPrototypeOf(O);\r\n if (!IsNull(parent))\r\n return OrdinaryHasMetadata(MetadataKey, parent, P);\r\n return false;\r\n }\r\n // 3.1.2.1 OrdinaryHasOwnMetadata(MetadataKey, O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinaryhasownmetadata\r\n function OrdinaryHasOwnMetadata(MetadataKey, O, P) {\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\r\n if (IsUndefined(metadataMap))\r\n return false;\r\n return ToBoolean(metadataMap.has(MetadataKey));\r\n }\r\n // 3.1.3.1 OrdinaryGetMetadata(MetadataKey, O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinarygetmetadata\r\n function OrdinaryGetMetadata(MetadataKey, O, P) {\r\n var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn)\r\n return OrdinaryGetOwnMetadata(MetadataKey, O, P);\r\n var parent = OrdinaryGetPrototypeOf(O);\r\n if (!IsNull(parent))\r\n return OrdinaryGetMetadata(MetadataKey, parent, P);\r\n return undefined;\r\n }\r\n // 3.1.4.1 OrdinaryGetOwnMetadata(MetadataKey, O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinarygetownmetadata\r\n function OrdinaryGetOwnMetadata(MetadataKey, O, P) {\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\r\n if (IsUndefined(metadataMap))\r\n return undefined;\r\n return metadataMap.get(MetadataKey);\r\n }\r\n // 3.1.5.1 OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinarydefineownmetadata\r\n function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ true);\r\n metadataMap.set(MetadataKey, MetadataValue);\r\n }\r\n // 3.1.6.1 OrdinaryMetadataKeys(O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinarymetadatakeys\r\n function OrdinaryMetadataKeys(O, P) {\r\n var ownKeys = OrdinaryOwnMetadataKeys(O, P);\r\n var parent = OrdinaryGetPrototypeOf(O);\r\n if (parent === null)\r\n return ownKeys;\r\n var parentKeys = OrdinaryMetadataKeys(parent, P);\r\n if (parentKeys.length <= 0)\r\n return ownKeys;\r\n if (ownKeys.length <= 0)\r\n return parentKeys;\r\n var set = new _Set();\r\n var keys = [];\r\n for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {\r\n var key = ownKeys_1[_i];\r\n var hasKey = set.has(key);\r\n if (!hasKey) {\r\n set.add(key);\r\n keys.push(key);\r\n }\r\n }\r\n for (var _a = 0, parentKeys_1 = parentKeys; _a < parentKeys_1.length; _a++) {\r\n var key = parentKeys_1[_a];\r\n var hasKey = set.has(key);\r\n if (!hasKey) {\r\n set.add(key);\r\n keys.push(key);\r\n }\r\n }\r\n return keys;\r\n }\r\n // 3.1.7.1 OrdinaryOwnMetadataKeys(O, P)\r\n // https://rbuckton.github.io/reflect-metadata/#ordinaryownmetadatakeys\r\n function OrdinaryOwnMetadataKeys(O, P) {\r\n var keys = [];\r\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\r\n if (IsUndefined(metadataMap))\r\n return keys;\r\n var keysObj = metadataMap.keys();\r\n var iterator = GetIterator(keysObj);\r\n var k = 0;\r\n while (true) {\r\n var next = IteratorStep(iterator);\r\n if (!next) {\r\n keys.length = k;\r\n return keys;\r\n }\r\n var nextValue = IteratorValue(next);\r\n try {\r\n keys[k] = nextValue;\r\n }\r\n catch (e) {\r\n try {\r\n IteratorClose(iterator);\r\n }\r\n finally {\r\n throw e;\r\n }\r\n }\r\n k++;\r\n }\r\n }\r\n // 6 ECMAScript Data Typ0es and Values\r\n // https://tc39.github.io/ecma262/#sec-ecmascript-data-types-and-values\r\n function Type(x) {\r\n if (x === null)\r\n return 1 /* Null */;\r\n switch (typeof x) {\r\n case \"undefined\": return 0 /* Undefined */;\r\n case \"boolean\": return 2 /* Boolean */;\r\n case \"string\": return 3 /* String */;\r\n case \"symbol\": return 4 /* Symbol */;\r\n case \"number\": return 5 /* Number */;\r\n case \"object\": return x === null ? 1 /* Null */ : 6 /* Object */;\r\n default: return 6 /* Object */;\r\n }\r\n }\r\n // 6.1.1 The Undefined Type\r\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-undefined-type\r\n function IsUndefined(x) {\r\n return x === undefined;\r\n }\r\n // 6.1.2 The Null Type\r\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-null-type\r\n function IsNull(x) {\r\n return x === null;\r\n }\r\n // 6.1.5 The Symbol Type\r\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-symbol-type\r\n function IsSymbol(x) {\r\n return typeof x === \"symbol\";\r\n }\r\n // 6.1.7 The Object Type\r\n // https://tc39.github.io/ecma262/#sec-object-type\r\n function IsObject(x) {\r\n return typeof x === \"object\" ? x !== null : typeof x === \"function\";\r\n }\r\n // 7.1 Type Conversion\r\n // https://tc39.github.io/ecma262/#sec-type-conversion\r\n // 7.1.1 ToPrimitive(input [, PreferredType])\r\n // https://tc39.github.io/ecma262/#sec-toprimitive\r\n function ToPrimitive(input, PreferredType) {\r\n switch (Type(input)) {\r\n case 0 /* Undefined */: return input;\r\n case 1 /* Null */: return input;\r\n case 2 /* Boolean */: return input;\r\n case 3 /* String */: return input;\r\n case 4 /* Symbol */: return input;\r\n case 5 /* Number */: return input;\r\n }\r\n var hint = PreferredType === 3 /* String */ ? \"string\" : PreferredType === 5 /* Number */ ? \"number\" : \"default\";\r\n var exoticToPrim = GetMethod(input, toPrimitiveSymbol);\r\n if (exoticToPrim !== undefined) {\r\n var result = exoticToPrim.call(input, hint);\r\n if (IsObject(result))\r\n throw new TypeError();\r\n return result;\r\n }\r\n return OrdinaryToPrimitive(input, hint === \"default\" ? \"number\" : hint);\r\n }\r\n // 7.1.1.1 OrdinaryToPrimitive(O, hint)\r\n // https://tc39.github.io/ecma262/#sec-ordinarytoprimitive\r\n function OrdinaryToPrimitive(O, hint) {\r\n if (hint === \"string\") {\r\n var toString_1 = O.toString;\r\n if (IsCallable(toString_1)) {\r\n var result = toString_1.call(O);\r\n if (!IsObject(result))\r\n return result;\r\n }\r\n var valueOf = O.valueOf;\r\n if (IsCallable(valueOf)) {\r\n var result = valueOf.call(O);\r\n if (!IsObject(result))\r\n return result;\r\n }\r\n }\r\n else {\r\n var valueOf = O.valueOf;\r\n if (IsCallable(valueOf)) {\r\n var result = valueOf.call(O);\r\n if (!IsObject(result))\r\n return result;\r\n }\r\n var toString_2 = O.toString;\r\n if (IsCallable(toString_2)) {\r\n var result = toString_2.call(O);\r\n if (!IsObject(result))\r\n return result;\r\n }\r\n }\r\n throw new TypeError();\r\n }\r\n // 7.1.2 ToBoolean(argument)\r\n // https://tc39.github.io/ecma262/2016/#sec-toboolean\r\n function ToBoolean(argument) {\r\n return !!argument;\r\n }\r\n // 7.1.12 ToString(argument)\r\n // https://tc39.github.io/ecma262/#sec-tostring\r\n function ToString(argument) {\r\n return \"\" + argument;\r\n }\r\n // 7.1.14 ToPropertyKey(argument)\r\n // https://tc39.github.io/ecma262/#sec-topropertykey\r\n function ToPropertyKey(argument) {\r\n var key = ToPrimitive(argument, 3 /* String */);\r\n if (IsSymbol(key))\r\n return key;\r\n return ToString(key);\r\n }\r\n // 7.2 Testing and Comparison Operations\r\n // https://tc39.github.io/ecma262/#sec-testing-and-comparison-operations\r\n // 7.2.2 IsArray(argument)\r\n // https://tc39.github.io/ecma262/#sec-isarray\r\n function IsArray(argument) {\r\n return Array.isArray\r\n ? Array.isArray(argument)\r\n : argument instanceof Object\r\n ? argument instanceof Array\r\n : Object.prototype.toString.call(argument) === \"[object Array]\";\r\n }\r\n // 7.2.3 IsCallable(argument)\r\n // https://tc39.github.io/ecma262/#sec-iscallable\r\n function IsCallable(argument) {\r\n // NOTE: This is an approximation as we cannot check for [[Call]] internal method.\r\n return typeof argument === \"function\";\r\n }\r\n // 7.2.4 IsConstructor(argument)\r\n // https://tc39.github.io/ecma262/#sec-isconstructor\r\n function IsConstructor(argument) {\r\n // NOTE: This is an approximation as we cannot check for [[Construct]] internal method.\r\n return typeof argument === \"function\";\r\n }\r\n // 7.2.7 IsPropertyKey(argument)\r\n // https://tc39.github.io/ecma262/#sec-ispropertykey\r\n function IsPropertyKey(argument) {\r\n switch (Type(argument)) {\r\n case 3 /* String */: return true;\r\n case 4 /* Symbol */: return true;\r\n default: return false;\r\n }\r\n }\r\n // 7.3 Operations on Objects\r\n // https://tc39.github.io/ecma262/#sec-operations-on-objects\r\n // 7.3.9 GetMethod(V, P)\r\n // https://tc39.github.io/ecma262/#sec-getmethod\r\n function GetMethod(V, P) {\r\n var func = V[P];\r\n if (func === undefined || func === null)\r\n return undefined;\r\n if (!IsCallable(func))\r\n throw new TypeError();\r\n return func;\r\n }\r\n // 7.4 Operations on Iterator Objects\r\n // https://tc39.github.io/ecma262/#sec-operations-on-iterator-objects\r\n function GetIterator(obj) {\r\n var method = GetMethod(obj, iteratorSymbol);\r\n if (!IsCallable(method))\r\n throw new TypeError(); // from Call\r\n var iterator = method.call(obj);\r\n if (!IsObject(iterator))\r\n throw new TypeError();\r\n return iterator;\r\n }\r\n // 7.4.4 IteratorValue(iterResult)\r\n // https://tc39.github.io/ecma262/2016/#sec-iteratorvalue\r\n function IteratorValue(iterResult) {\r\n return iterResult.value;\r\n }\r\n // 7.4.5 IteratorStep(iterator)\r\n // https://tc39.github.io/ecma262/#sec-iteratorstep\r\n function IteratorStep(iterator) {\r\n var result = iterator.next();\r\n return result.done ? false : result;\r\n }\r\n // 7.4.6 IteratorClose(iterator, completion)\r\n // https://tc39.github.io/ecma262/#sec-iteratorclose\r\n function IteratorClose(iterator) {\r\n var f = iterator[\"return\"];\r\n if (f)\r\n f.call(iterator);\r\n }\r\n // 9.1 Ordinary Object Internal Methods and Internal Slots\r\n // https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots\r\n // 9.1.1.1 OrdinaryGetPrototypeOf(O)\r\n // https://tc39.github.io/ecma262/#sec-ordinarygetprototypeof\r\n function OrdinaryGetPrototypeOf(O) {\r\n var proto = Object.getPrototypeOf(O);\r\n if (typeof O !== \"function\" || O === functionPrototype)\r\n return proto;\r\n // TypeScript doesn't set __proto__ in ES5, as it's non-standard.\r\n // Try to determine the superclass constructor. Compatible implementations\r\n // must either set __proto__ on a subclass constructor to the superclass constructor,\r\n // or ensure each class has a valid `constructor` property on its prototype that\r\n // points back to the constructor.\r\n // If this is not the same as Function.[[Prototype]], then this is definately inherited.\r\n // This is the case when in ES6 or when using __proto__ in a compatible browser.\r\n if (proto !== functionPrototype)\r\n return proto;\r\n // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\r\n var prototype = O.prototype;\r\n var prototypeProto = prototype && Object.getPrototypeOf(prototype);\r\n if (prototypeProto == null || prototypeProto === Object.prototype)\r\n return proto;\r\n // If the constructor was not a function, then we cannot determine the heritage.\r\n var constructor = prototypeProto.constructor;\r\n if (typeof constructor !== \"function\")\r\n return proto;\r\n // If we have some kind of self-reference, then we cannot determine the heritage.\r\n if (constructor === O)\r\n return proto;\r\n // we have a pretty good guess at the heritage.\r\n return constructor;\r\n }\r\n // naive Map shim\r\n function CreateMapPolyfill() {\r\n var cacheSentinel = {};\r\n var arraySentinel = [];\r\n var MapIterator = (function () {\r\n function MapIterator(keys, values, selector) {\r\n this._index = 0;\r\n this._keys = keys;\r\n this._values = values;\r\n this._selector = selector;\r\n }\r\n MapIterator.prototype[\"@@iterator\"] = function () { return this; };\r\n MapIterator.prototype[iteratorSymbol] = function () { return this; };\r\n MapIterator.prototype.next = function () {\r\n var index = this._index;\r\n if (index >= 0 && index < this._keys.length) {\r\n var result = this._selector(this._keys[index], this._values[index]);\r\n if (index + 1 >= this._keys.length) {\r\n this._index = -1;\r\n this._keys = arraySentinel;\r\n this._values = arraySentinel;\r\n }\r\n else {\r\n this._index++;\r\n }\r\n return { value: result, done: false };\r\n }\r\n return { value: undefined, done: true };\r\n };\r\n MapIterator.prototype.throw = function (error) {\r\n if (this._index >= 0) {\r\n this._index = -1;\r\n this._keys = arraySentinel;\r\n this._values = arraySentinel;\r\n }\r\n throw error;\r\n };\r\n MapIterator.prototype.return = function (value) {\r\n if (this._index >= 0) {\r\n this._index = -1;\r\n this._keys = arraySentinel;\r\n this._values = arraySentinel;\r\n }\r\n return { value: value, done: true };\r\n };\r\n return MapIterator;\r\n }());\r\n return (function () {\r\n function Map() {\r\n this._keys = [];\r\n this._values = [];\r\n this._cacheKey = cacheSentinel;\r\n this._cacheIndex = -2;\r\n }\r\n Object.defineProperty(Map.prototype, \"size\", {\r\n get: function () { return this._keys.length; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Map.prototype.has = function (key) { return this._find(key, /*insert*/ false) >= 0; };\r\n Map.prototype.get = function (key) {\r\n var index = this._find(key, /*insert*/ false);\r\n return index >= 0 ? this._values[index] : undefined;\r\n };\r\n Map.prototype.set = function (key, value) {\r\n var index = this._find(key, /*insert*/ true);\r\n this._values[index] = value;\r\n return this;\r\n };\r\n Map.prototype.delete = function (key) {\r\n var index = this._find(key, /*insert*/ false);\r\n if (index >= 0) {\r\n var size = this._keys.length;\r\n for (var i = index + 1; i < size; i++) {\r\n this._keys[i - 1] = this._keys[i];\r\n this._values[i - 1] = this._values[i];\r\n }\r\n this._keys.length--;\r\n this._values.length--;\r\n if (key === this._cacheKey) {\r\n this._cacheKey = cacheSentinel;\r\n this._cacheIndex = -2;\r\n }\r\n return true;\r\n }\r\n return false;\r\n };\r\n Map.prototype.clear = function () {\r\n this._keys.length = 0;\r\n this._values.length = 0;\r\n this._cacheKey = cacheSentinel;\r\n this._cacheIndex = -2;\r\n };\r\n Map.prototype.keys = function () { return new MapIterator(this._keys, this._values, getKey); };\r\n Map.prototype.values = function () { return new MapIterator(this._keys, this._values, getValue); };\r\n Map.prototype.entries = function () { return new MapIterator(this._keys, this._values, getEntry); };\r\n Map.prototype[\"@@iterator\"] = function () { return this.entries(); };\r\n Map.prototype[iteratorSymbol] = function () { return this.entries(); };\r\n Map.prototype._find = function (key, insert) {\r\n if (this._cacheKey !== key) {\r\n this._cacheIndex = this._keys.indexOf(this._cacheKey = key);\r\n }\r\n if (this._cacheIndex < 0 && insert) {\r\n this._cacheIndex = this._keys.length;\r\n this._keys.push(key);\r\n this._values.push(undefined);\r\n }\r\n return this._cacheIndex;\r\n };\r\n return Map;\r\n }());\r\n function getKey(key, _) {\r\n return key;\r\n }\r\n function getValue(_, value) {\r\n return value;\r\n }\r\n function getEntry(key, value) {\r\n return [key, value];\r\n }\r\n }\r\n // naive Set shim\r\n function CreateSetPolyfill() {\r\n return (function () {\r\n function Set() {\r\n this._map = new _Map();\r\n }\r\n Object.defineProperty(Set.prototype, \"size\", {\r\n get: function () { return this._map.size; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Set.prototype.has = function (value) { return this._map.has(value); };\r\n Set.prototype.add = function (value) { return this._map.set(value, value), this; };\r\n Set.prototype.delete = function (value) { return this._map.delete(value); };\r\n Set.prototype.clear = function () { this._map.clear(); };\r\n Set.prototype.keys = function () { return this._map.keys(); };\r\n Set.prototype.values = function () { return this._map.values(); };\r\n Set.prototype.entries = function () { return this._map.entries(); };\r\n Set.prototype[\"@@iterator\"] = function () { return this.keys(); };\r\n Set.prototype[iteratorSymbol] = function () { return this.keys(); };\r\n return Set;\r\n }());\r\n }\r\n // naive WeakMap shim\r\n function CreateWeakMapPolyfill() {\r\n var UUID_SIZE = 16;\r\n var keys = HashMap.create();\r\n var rootKey = CreateUniqueKey();\r\n return (function () {\r\n function WeakMap() {\r\n this._key = CreateUniqueKey();\r\n }\r\n WeakMap.prototype.has = function (target) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n return table !== undefined ? HashMap.has(table, this._key) : false;\r\n };\r\n WeakMap.prototype.get = function (target) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n return table !== undefined ? HashMap.get(table, this._key) : undefined;\r\n };\r\n WeakMap.prototype.set = function (target, value) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ true);\r\n table[this._key] = value;\r\n return this;\r\n };\r\n WeakMap.prototype.delete = function (target) {\r\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n return table !== undefined ? delete table[this._key] : false;\r\n };\r\n WeakMap.prototype.clear = function () {\r\n // NOTE: not a real clear, just makes the previous data unreachable\r\n this._key = CreateUniqueKey();\r\n };\r\n return WeakMap;\r\n }());\r\n function CreateUniqueKey() {\r\n var key;\r\n do\r\n key = \"@@WeakMap@@\" + CreateUUID();\r\n while (HashMap.has(keys, key));\r\n keys[key] = true;\r\n return key;\r\n }\r\n function GetOrCreateWeakMapTable(target, create) {\r\n if (!hasOwn.call(target, rootKey)) {\r\n if (!create)\r\n return undefined;\r\n Object.defineProperty(target, rootKey, { value: HashMap.create() });\r\n }\r\n return target[rootKey];\r\n }\r\n function FillRandomBytes(buffer, size) {\r\n for (var i = 0; i < size; ++i)\r\n buffer[i] = Math.random() * 0xff | 0;\r\n return buffer;\r\n }\r\n function GenRandomBytes(size) {\r\n if (typeof Uint8Array === \"function\") {\r\n if (typeof crypto !== \"undefined\")\r\n return crypto.getRandomValues(new Uint8Array(size));\r\n if (typeof msCrypto !== \"undefined\")\r\n return msCrypto.getRandomValues(new Uint8Array(size));\r\n return FillRandomBytes(new Uint8Array(size), size);\r\n }\r\n return FillRandomBytes(new Array(size), size);\r\n }\r\n function CreateUUID() {\r\n var data = GenRandomBytes(UUID_SIZE);\r\n // mark as random - RFC 4122 § 4.4\r\n data[6] = data[6] & 0x4f | 0x40;\r\n data[8] = data[8] & 0xbf | 0x80;\r\n var result = \"\";\r\n for (var offset = 0; offset < UUID_SIZE; ++offset) {\r\n var byte = data[offset];\r\n if (offset === 4 || offset === 6 || offset === 8)\r\n result += \"-\";\r\n if (byte < 16)\r\n result += \"0\";\r\n result += byte.toString(16).toLowerCase();\r\n }\r\n return result;\r\n }\r\n }\r\n // uses a heuristic used by v8 and chakra to force an object into dictionary mode.\r\n function MakeDictionary(obj) {\r\n obj.__ = undefined;\r\n delete obj.__;\r\n return obj;\r\n }\r\n // patch global Reflect\r\n (function (__global) {\r\n if (typeof __global.Reflect !== \"undefined\") {\r\n if (__global.Reflect !== Reflect) {\r\n for (var p in Reflect) {\r\n if (hasOwn.call(Reflect, p)) {\r\n __global.Reflect[p] = Reflect[p];\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n __global.Reflect = Reflect;\r\n }\r\n })(typeof global !== \"undefined\" ? global :\r\n typeof self !== \"undefined\" ? self :\r\n Function(\"return this;\")());\r\n})(Reflect || (Reflect = {}));\r\n//# sourceMappingURL=Reflect.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/reflect-metadata/Reflect.js\n// module id = 385\n// module chunks = 1","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/process/browser.js\n// module id = 386\n// module chunks = 1","/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nvar Zone$1 = (function (global) {\n if (global.Zone) {\n throw new Error('Zone already loaded.');\n }\n var Zone = (function () {\n function Zone(parent, zoneSpec) {\n this._properties = null;\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global.Promise !== ZoneAwarePromise) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZone;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: true,\n configurable: true\n });\n \n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== 'function') {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n var oldZone = _currentZone;\n _currentZone = this;\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZone = oldZone;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n var oldZone = _currentZone;\n _currentZone = this;\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZone = oldZone;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n task.runCount++;\n if (task.zone != this)\n throw new Error('A task can only be run in the zone which created it! (Creation: ' + task.zone.name +\n '; Execution: ' + this.name + ')');\n var previousTask = _currentTask;\n _currentTask = task;\n var oldZone = _currentZone;\n _currentZone = this;\n try {\n if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n task.cancelFn = null;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZone = oldZone;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n var value = this._zoneDelegate.cancelTask(this, task);\n task.runCount = -1;\n task.cancelFn = null;\n return value;\n };\n Zone.__symbol__ = __symbol__;\n return Zone;\n }());\n \n var ZoneDelegate = (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt =\n zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n this._hasTaskDlgt =\n zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ?\n this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n try {\n if (this._scheduleTaskZS) {\n return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n }\n else if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == 'microTask') {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n return task;\n }\n finally {\n if (targetZone == this.zone) {\n this._updateTaskCount(task.type, 1);\n }\n }\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n try {\n return this._invokeTaskZS ?\n this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n }\n finally {\n if (targetZone == this.zone && (task.type != 'eventTask') &&\n !(task.data && task.data.isPeriodic)) {\n this._updateTaskCount(task.type, -1);\n }\n }\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n }\n else if (!task.cancelFn) {\n throw new Error('Task does not support cancellation, or is already canceled.');\n }\n else {\n value = task.cancelFn(task);\n }\n if (targetZone == this.zone) {\n // this should not be in the finally block, because exceptions assume not canceled.\n this._updateTaskCount(task.type, -1);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n return this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n };\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts.microTask > 0,\n macroTask: counts.macroTask > 0,\n eventTask: counts.eventTask > 0,\n change: type\n };\n try {\n this.hasTask(this.zone, isEmpty);\n }\n finally {\n if (this._parentDelegate) {\n this._parentDelegate._updateTaskCount(type, count);\n }\n }\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = (function () {\n function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n this.runCount = 0;\n this.type = type;\n this.zone = zone;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n this.callback = callback;\n var self = this;\n this.invoke = function () {\n _numberOfNestedTaskFrames++;\n try {\n return zone.runTask(self, this, arguments);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n }\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId;\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n return ZoneTask;\n }());\n function __symbol__(name) {\n return '__zone_symbol__' + name;\n }\n \n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _currentZone = new Zone(null, null);\n var _currentTask = null;\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var _uncaughtPromiseErrors = [];\n var _numberOfNestedTaskFrames = 0;\n function scheduleQueueDrain() {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames == 0 && _microTaskQueue.length == 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (global[symbolPromise]) {\n global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n }\n function scheduleMicroTask(task) {\n scheduleQueueDrain();\n _microTaskQueue.push(task);\n }\n function consoleError(e) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n console.error(e);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (e) {\n consoleError(e);\n }\n }\n }\n while (_uncaughtPromiseErrors.length) {\n var _loop_1 = function() {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n throw uncaughtPromiseError;\n });\n }\n catch (e) {\n consoleError(e);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_1();\n }\n }\n _isDrainingMicrotaskQueue = false;\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n resolvePromise(promise, state, v);\n // Do not return value or you will break the Promise spec.\n };\n }\n function resolvePromise(promise, state, value) {\n if (promise[symbolState] === UNRESOLVED) {\n if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (isThenable(value)) {\n value.then(makeResolver(promise, state), makeResolver(promise, false));\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n try {\n throw new Error('Uncaught (in promise): ' + value +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (e) {\n var error_1 = e;\n error_1.rejection = value;\n error_1.promise = promise;\n error_1.zone = Zone.current;\n error_1.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(error_1);\n scheduleQueueDrain();\n }\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n break;\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n }\n catch (error) {\n resolvePromise(chainPromise, false, error);\n }\n });\n }\n var ZoneAwarePromise = (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (e) {\n resolvePromise(promise, false, e);\n }\n }\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n _a = [res, rej], resolve = _a[0], reject = _a[1];\n var _a;\n });\n function onResolve(value) {\n promise && (promise = null || resolve(value));\n }\n function onReject(error) {\n promise && (promise = null || reject(error));\n }\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var count = 0;\n var resolvedValues = [];\n for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n var value = values_2[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then((function (index) { return function (value) {\n resolvedValues[index] = value;\n count--;\n if (!count) {\n resolve(resolvedValues);\n }\n }; })(count), reject);\n count++;\n }\n if (!count)\n resolve(resolvedValues);\n return promise;\n };\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var chainPromise = new this.constructor(null);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[__symbol__('Promise')] = global.Promise;\n global.Promise = ZoneAwarePromise;\n function patchThen(NativePromise) {\n var NativePromiseProtototype = NativePromise.prototype;\n var NativePromiseThen = NativePromiseProtototype[__symbol__('then')] =\n NativePromiseProtototype.then;\n NativePromiseProtototype.then = function (onResolve, onReject) {\n var nativePromise = this;\n return new ZoneAwarePromise(function (resolve, reject) {\n NativePromiseThen.call(nativePromise, resolve, reject);\n })\n .then(onResolve, onReject);\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n if (typeof global['fetch'] !== 'undefined') {\n var fetchPromise = void 0;\n try {\n // In MS Edge this throws\n fetchPromise = global['fetch']();\n }\n catch (e) {\n // In Chrome this throws instead.\n fetchPromise = global['fetch']('about:blank');\n }\n // ignore output to prevent error;\n fetchPromise.then(function () { return null; }, function () { return null; });\n if (fetchPromise.constructor != NativePromise &&\n fetchPromise.constructor != ZoneAwarePromise) {\n patchThen(fetchPromise.constructor);\n }\n }\n }\n // This is not part of public API, but it is usefull for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return global.Zone = Zone;\n})(typeof window === 'object' && window || typeof self === 'object' && self || global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar zoneSymbol = Zone['__symbol__'];\nvar _global$1 = typeof window === 'object' && window || typeof self === 'object' && self || global;\nfunction bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === 'function') {\n args[i] = Zone.current.wrap(args[i], source + '_' + i);\n }\n }\n return args;\n}\n\nfunction patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function(i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n prototype[name_1] = (function (delegate) {\n return function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n}\n\nvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\nvar isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\nvar isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\nfunction patchProperty(obj, prop) {\n var desc = Object.getOwnPropertyDescriptor(obj, prop) || { enumerable: true, configurable: true };\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var _prop = '_' + prop;\n desc.set = function (fn) {\n if (this[_prop]) {\n this.removeEventListener(eventName, this[_prop]);\n }\n if (typeof fn === 'function') {\n var wrapFn = function (event) {\n var result;\n result = fn.apply(this, arguments);\n if (result != undefined && !result)\n event.preventDefault();\n };\n this[_prop] = wrapFn;\n this.addEventListener(eventName, wrapFn, false);\n }\n else {\n this[_prop] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n return this[_prop] || null;\n };\n Object.defineProperty(obj, prop, desc);\n}\n\nfunction patchOnProperties(obj, properties) {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j]);\n }\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i]);\n }\n }\n}\n\nvar EVENT_TASKS = zoneSymbol('eventTasks');\n// For EventTarget\nvar ADD_EVENT_LISTENER = 'addEventListener';\nvar REMOVE_EVENT_LISTENER = 'removeEventListener';\nfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n var eventTasks = target[EVENT_TASKS];\n if (eventTasks) {\n for (var i = 0; i < eventTasks.length; i++) {\n var eventTask = eventTasks[i];\n var data = eventTask.data;\n if (data.handler === handler && data.useCapturing === capture && data.eventName === name) {\n if (remove) {\n eventTasks.splice(i, 1);\n }\n return eventTask;\n }\n }\n }\n return null;\n}\nfunction attachRegisteredEvent(target, eventTask) {\n var eventTasks = target[EVENT_TASKS];\n if (!eventTasks) {\n eventTasks = target[EVENT_TASKS] = [];\n }\n eventTasks.push(eventTask);\n}\nfunction makeZoneAwareAddListener(addFnName, removeFnName, useCapturingParam, allowDuplicates) {\n if (useCapturingParam === void 0) { useCapturingParam = true; }\n if (allowDuplicates === void 0) { allowDuplicates = false; }\n var addFnSymbol = zoneSymbol(addFnName);\n var removeFnSymbol = zoneSymbol(removeFnName);\n var defaultUseCapturing = useCapturingParam ? false : undefined;\n function scheduleEventListener(eventTask) {\n var meta = eventTask.data;\n attachRegisteredEvent(meta.target, eventTask);\n return meta.target[addFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n }\n function cancelEventListener(eventTask) {\n var meta = eventTask.data;\n findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n meta.target[removeFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n }\n return function zoneAwareAddListener(self, args) {\n var eventName = args[0];\n var handler = args[1];\n var useCapturing = args[2] || defaultUseCapturing;\n // - Inside a Web Worker, `this` is undefined, the context is `global`\n // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n // see https://github.com/angular/zone.js/issues/190\n var target = self || _global$1;\n var delegate = null;\n if (typeof handler == 'function') {\n delegate = handler;\n }\n else if (handler && handler.handleEvent) {\n delegate = function (event) { return handler.handleEvent(event); };\n }\n var validZoneHandler = false;\n try {\n // In cross site contexts (such as WebDriver frameworks like Selenium),\n // accessing the handler object here will cause an exception to be thrown which\n // will fail tests prematurely.\n validZoneHandler = handler && handler.toString() === '[object FunctionWrapper]';\n }\n catch (e) {\n // Returning nothing here is fine, because objects in a cross-site context are unusable\n return;\n }\n // Ignore special listeners of IE11 & Edge dev tools, see\n // https://github.com/angular/zone.js/issues/150\n if (!delegate || validZoneHandler) {\n return target[addFnSymbol](eventName, handler, useCapturing);\n }\n if (!allowDuplicates) {\n var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n if (eventTask) {\n // we already registered, so this will have noop.\n return target[addFnSymbol](eventName, eventTask.invoke, useCapturing);\n }\n }\n var zone = Zone.current;\n var source = target.constructor['name'] + '.' + addFnName + ':' + eventName;\n var data = {\n target: target,\n eventName: eventName,\n name: eventName,\n useCapturing: useCapturing,\n handler: handler\n };\n zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n };\n}\nfunction makeZoneAwareRemoveListener(fnName, useCapturingParam) {\n if (useCapturingParam === void 0) { useCapturingParam = true; }\n var symbol = zoneSymbol(fnName);\n var defaultUseCapturing = useCapturingParam ? false : undefined;\n return function zoneAwareRemoveListener(self, args) {\n var eventName = args[0];\n var handler = args[1];\n var useCapturing = args[2] || defaultUseCapturing;\n // - Inside a Web Worker, `this` is undefined, the context is `global`\n // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n // see https://github.com/angular/zone.js/issues/190\n var target = self || _global$1;\n var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n if (eventTask) {\n eventTask.zone.cancelTask(eventTask);\n }\n else {\n target[symbol](eventName, handler, useCapturing);\n }\n };\n}\n\nvar zoneAwareAddEventListener = makeZoneAwareAddListener(ADD_EVENT_LISTENER, REMOVE_EVENT_LISTENER);\nvar zoneAwareRemoveEventListener = makeZoneAwareRemoveListener(REMOVE_EVENT_LISTENER);\nfunction patchEventTargetMethods(obj) {\n if (obj && obj.addEventListener) {\n patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n return true;\n }\n else {\n return false;\n }\n}\nvar originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n var OriginalClass = _global$1[className];\n if (!OriginalClass)\n return;\n _global$1[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global$1[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n Object.defineProperty(_global$1[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global$1[className][prop] = OriginalClass[prop];\n }\n }\n}\n\nfunction createNamedFn(name, delegate) {\n try {\n return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n }\n catch (e) {\n // if we fail, we must be CSP, just return delegate.\n return function () {\n return delegate(this, arguments);\n };\n }\n}\nfunction patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && Object.getOwnPropertyNames(proto).indexOf(name) === -1) {\n proto = Object.getPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate;\n if (proto && !(delegate = proto[delegateName])) {\n delegate = proto[delegateName] = proto[name];\n proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n }\n return delegate;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n function scheduleTask(task) {\n var data = task.data;\n data.args[0] = function () {\n task.invoke.apply(this, arguments);\n delete tasksByHandleId[data.handleId];\n };\n data.handleId = setNative.apply(window, data.args);\n tasksByHandleId[data.handleId] = task;\n return task;\n }\n function clearTask(task) {\n delete tasksByHandleId[task.data.handleId];\n return clearNative(task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === 'function') {\n var zone = Zone.current;\n var options = {\n handleId: null,\n isPeriodic: nameSuffix === 'Interval',\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n args: args\n };\n var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n if (handle.ref && handle.unref) {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var task = typeof args[0] === 'number' ? tasksByHandleId[args[0]] : args[0];\n if (task && typeof task.type === 'string') {\n if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\nvar _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;\nvar _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\nvar _create = Object.create;\nvar unconfigurablesKey = zoneSymbol('unconfigurables');\nfunction propertyPatch() {\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== 'prototype') {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n}\n\nfunction _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n}\n\nfunction isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n}\nfunction rewriteDescriptor(obj, prop, desc) {\n desc.configurable = true;\n if (!desc.configurable) {\n if (!obj[unconfigurablesKey]) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n obj[unconfigurablesKey][prop] = true;\n }\n return desc;\n}\nfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (e) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == 'undefined') {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (e) {\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (e) {\n descJson = descJson.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + e);\n }\n }\n else {\n throw e;\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\nvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'\n .split(',');\nvar EVENT_TARGET = 'EventTarget';\nfunction eventTargetPatch(_global) {\n var apis = [];\n var isWtf = _global['wtf'];\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n patchEventTargetMethods(type && type.prototype);\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// we have to patch the instance since the proto is non-configurable\nfunction apply(_global) {\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n patchEventTargetMethods(WS.prototype);\n }\n _global.WebSocket = function (a, b) {\n var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n var proxySocket;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = Object.create(socket);\n ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n return socket[propName].apply(socket, arguments);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n return proxySocket;\n };\n for (var prop in WS) {\n _global.WebSocket[prop] = WS[prop];\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'\n .split(' ');\nfunction propertyDescriptorPatch(_global) {\n if (isNode) {\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n if (canPatchViaPropertyDescriptor()) {\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n patchOnProperties(HTMLElement.prototype, eventNames);\n }\n patchOnProperties(XMLHttpRequest.prototype, null);\n if (typeof IDBIndex !== 'undefined') {\n patchOnProperties(IDBIndex.prototype, null);\n patchOnProperties(IDBRequest.prototype, null);\n patchOnProperties(IDBOpenDBRequest.prototype, null);\n patchOnProperties(IDBDatabase.prototype, null);\n patchOnProperties(IDBTransaction.prototype, null);\n patchOnProperties(IDBCursor.prototype, null);\n }\n if (supportsWebSocket) {\n patchOnProperties(WebSocket.prototype, null);\n }\n }\n else {\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents();\n patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(_global);\n }\n }\n}\nfunction canPatchViaPropertyDescriptor() {\n if (isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n }\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n return result;\n}\n\nvar unboundKey = zoneSymbol('unbound');\n// Whenever any eventListener fires, we check the eventListener target and all parents\n// for `onwhatever` properties and replace them with zone-bound functions\n// - Chrome (for now)\nfunction patchViaCapturingAllTheEvents() {\n var _loop_1 = function(i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = Zone.current.wrap(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_1(i);\n }\n \n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction registerElementPatch(_global) {\n if (!isBrowser || !('registerElement' in _global.document)) {\n return;\n }\n var _registerElement = document.registerElement;\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n document.registerElement = function (name, opts) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = 'Document.registerElement::' + callback;\n if (opts.prototype.hasOwnProperty(callback)) {\n var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = Zone.current.wrap(descriptor.value, source);\n _redefineProperty(opts.prototype, callback, descriptor);\n }\n else {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n }\n else if (opts.prototype[callback]) {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n });\n }\n return _registerElement.apply(document, [name, opts]);\n };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar set = 'set';\nvar clear = 'clear';\nvar blockingMethods = ['alert', 'prompt', 'confirm'];\nvar _global = typeof window === 'object' && window || typeof self === 'object' && self || global;\npatchTimer(_global, set, clear, 'Timeout');\npatchTimer(_global, set, clear, 'Interval');\npatchTimer(_global, set, clear, 'Immediate');\npatchTimer(_global, 'request', 'cancel', 'AnimationFrame');\npatchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\npatchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\nfor (var i = 0; i < blockingMethods.length; i++) {\n var name = blockingMethods[i];\n patchMethod(_global, name, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, _global, args, name);\n };\n });\n}\neventTargetPatch(_global);\npropertyDescriptorPatch(_global);\npatchClass('MutationObserver');\npatchClass('WebKitMutationObserver');\npatchClass('FileReader');\npropertyPatch();\nregisterElementPatch(_global);\n// Treat XMLHTTPRequest as a macrotask.\npatchXHR(_global);\nvar XHR_TASK = zoneSymbol('xhrTask');\nvar XHR_SYNC = zoneSymbol('xhrSync');\nfunction patchXHR(window) {\n function findPendingTask(target) {\n var pendingTask = target[XHR_TASK];\n return pendingTask;\n }\n function scheduleTask(task) {\n var data = task.data;\n data.target.addEventListener('readystatechange', function () {\n if (data.target.readyState === data.target.DONE) {\n if (!data.aborted) {\n task.invoke();\n }\n }\n });\n var storedTask = data.target[XHR_TASK];\n if (!storedTask) {\n data.target[XHR_TASK] = task;\n }\n sendNative.apply(data.target, data.args);\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n return openNative.apply(self, args);\n }; });\n var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n var zone = Zone.current;\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false };\n return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n }\n }; });\n var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == 'string') {\n // If the XHR has already completed, do nothing.\n if (task.cancelFn == null) {\n return;\n }\n task.zone.cancelTask(task);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task\n // to cancel. Do nothing.\n }; });\n}\n/// GEO_LOCATION\nif (_global['navigator'] && _global['navigator'].geolocation) {\n patchPrototype(_global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n}\n\n})));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/zone.js/dist/zone.js\n// module id = 387\n// module chunks = 1"],"sourceRoot":""} \ No newline at end of file diff --git a/example/dist/vendor.js b/example/dist/vendor.js index 5080252..256f553 100644 --- a/example/dist/vendor.js +++ b/example/dist/vendor.js @@ -1,29 +1,29 @@ -webpackJsonp([2],[function(e,t,n){"use strict";n(203),n(1),n(11),n(2),n(205),n(388),n(338)},function(e,t,n){"use strict";function r(e,n){var r,i=[],o=[],p=[],l=s.analyzeAppProvidersForDeprecatedConfiguration(n);i=l.moduleDeclarations.concat(i),r=l.compilerOptions,p=l.deprecationMessages;var f=function(){function t(){}return t.decorators=[{type:a.NgModule,args:[{providers:n,declarations:i.concat([e]),imports:[u.BrowserModule],entryComponents:o,bootstrap:[e],schemas:[a.CUSTOM_ELEMENTS_SCHEMA]}]}],t}();return t.platformBrowserDynamic().bootstrapModule(f,r).then(function(e){var t=e.injector.get(c.Console);p.forEach(function(e){return t.warn(e)});var n=e.injector.get(a.ApplicationRef);return n.components[0]})}function i(e,t){return void 0===t&&(t=[]),Promise.resolve(u.platformWorkerUi([{provide:u.WORKER_SCRIPT,useValue:e}].concat(t)))}function o(e,n){console.warn("bootstrapWorkerApp is deprecated. Create an @NgModule that includes the `WorkerAppModule` and use `bootstrapModule` with the `workerAppDynamicPlatform()` instead.");var r=s.analyzeAppProvidersForDeprecatedConfiguration(n),i=[r.moduleDeclarations.concat([e])],o=function(){function t(){}return t.decorators=[{type:a.NgModule,args:[{providers:n,declarations:i,imports:[u.WorkerAppModule],bootstrap:[e]}]}],t}();return t.platformWorkerAppDynamic().bootstrapModule(o,r.compilerOptions).then(function(e){var t=e.injector.get(c.Console);r.deprecationMessages.forEach(function(e){return t.warn(e)});var n=e.injector.get(a.ApplicationRef);return n.components[0]})}var s=n(2),a=n(11),u=n(203),c=n(327),p=n(328),l=n(332),f=n(330);t.BROWSER_APP_COMPILER_PROVIDERS=[],t.CACHED_TEMPLATE_PROVIDER=[{provide:s.XHR,useClass:l.CachedXHR}],t.platformBrowserDynamic=a.createPlatformFactory(s.platformCoreDynamic,"browserDynamic",p.INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS),t.browserDynamicPlatform=t.platformBrowserDynamic,t.bootstrap=r,t.bootstrapWorkerUi=i,t.platformWorkerAppDynamic=a.createPlatformFactory(s.platformCoreDynamic,"workerAppDynamic",[{provide:a.COMPILER_OPTIONS,useValue:{providers:[{provide:s.XHR,useClass:f.XHRImpl}]},multi:!0}]),t.workerAppDynamicPlatform=t.platformWorkerAppDynamic,t.bootstrapWorkerApp=o},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=n(3);t.i18n=i;var o=n(141);t.COMPILER_PROVIDERS=o.COMPILER_PROVIDERS,t.CompileDiDependencyMetadata=o.CompileDiDependencyMetadata,t.CompileDirectiveMetadata=o.CompileDirectiveMetadata,t.CompileFactoryMetadata=o.CompileFactoryMetadata,t.CompileIdentifierMetadata=o.CompileIdentifierMetadata,t.CompileMetadataWithIdentifier=o.CompileMetadataWithIdentifier,t.CompilePipeMetadata=o.CompilePipeMetadata,t.CompileProviderMetadata=o.CompileProviderMetadata,t.CompileQueryMetadata=o.CompileQueryMetadata,t.CompileTemplateMetadata=o.CompileTemplateMetadata,t.CompileTokenMetadata=o.CompileTokenMetadata,t.CompileTypeMetadata=o.CompileTypeMetadata,t.CompilerConfig=o.CompilerConfig,t.DEFAULT_PACKAGE_URL_PROVIDER=o.DEFAULT_PACKAGE_URL_PROVIDER,t.DirectiveResolver=o.DirectiveResolver,t.NgModuleResolver=o.NgModuleResolver,t.OfflineCompiler=o.OfflineCompiler,t.PipeResolver=o.PipeResolver,t.RenderTypes=o.RenderTypes,t.RuntimeCompiler=o.RuntimeCompiler,t.SourceModule=o.SourceModule,t.TEMPLATE_TRANSFORMS=o.TEMPLATE_TRANSFORMS,t.UrlResolver=o.UrlResolver,t.XHR=o.XHR,t.analyzeAppProvidersForDeprecatedConfiguration=o.analyzeAppProvidersForDeprecatedConfiguration,t.createOfflineCompileUrlResolver=o.createOfflineCompileUrlResolver,t.platformCoreDynamic=o.platformCoreDynamic;var s=n(125);t.InterpolationConfig=s.InterpolationConfig;var a=n(157);t.ElementSchemaRegistry=a.ElementSchemaRegistry,r(n(142)),r(n(201))},function(e,t,n){"use strict";var r=n(4);t.MessageBundle=r.MessageBundle;var i=n(134);t.Xmb=i.Xmb;var o=n(136);t.Xtb=o.Xtb},function(e,t,n){"use strict";var r=n(5),i=n(6),o=function(){function e(e,t,n){this._htmlParser=e,this._implicitTags=t,this._implicitAttrs=n,this._messageMap={}}return e.prototype.updateFromTemplate=function(e,t,n){var o=this,s=this._htmlParser.parse(e,t,!0,n);if(s.errors.length)return s.errors;var a=i.extractMessages(s.rootNodes,n,this._implicitTags,this._implicitAttrs);return a.errors.length?a.errors:void a.messages.forEach(function(e){o._messageMap[r.digestMessage(e)]=e})},e.prototype.write=function(e){return e.write(this._messageMap)},e}();t.MessageBundle=o},function(e,t){"use strict";function n(e){return r(i(e.nodes).join("")+("["+e.meaning+"]"))}function r(e){for(var t=0,n=0;n>>0;return t.toString(16)}function i(e){return e.map(function(e){return e.visit(s,null)})}t.digestMessage=n,t.strHash=r;var o=function(){function e(){}return e.prototype.visitText=function(e,t){return e.value},e.prototype.visitContainer=function(e,t){var n=this;return"["+e.children.map(function(e){return e.visit(n)}).join(", ")+"]"},e.prototype.visitIcu=function(e,t){var n=this,r=Object.keys(e.cases).map(function(t){return t+" {"+e.cases[t].visit(n)+"}"});return"{"+e.expression+", "+e.type+", "+r.join(", ")+"}"},e.prototype.visitTagPlaceholder=function(e,t){var n=this;return e.isVoid?'':''+e.children.map(function(e){return e.visit(n)}).join(", ")+''},e.prototype.visitPlaceholder=function(e,t){return''+e.value+""},e.prototype.visitIcuPlaceholder=function(e,t){return''+e.value.visit(this)+""},e}(),s=new o;t.serializeNodes=i},function(e,t,n){"use strict";function r(e,t,n,r){var i=new _(n,r);return i.extract(e,t)}function i(e,t,n,r,i){var o=new _(r,i);return o.merge(e,t,n)}function o(e){return e instanceof c.Comment&&e.value&&e.value.startsWith("i18n")}function s(e){return e instanceof c.Comment&&e.value&&"/i18n"===e.value}function a(e){return e.attrs.find(function(e){return e.name===d})||null}function u(e){if(!e)return["",""];var t=e.indexOf("|");return t==-1?["",e]:[e.slice(0,t),e.slice(t+1)]}var c=n(7),p=n(5),l=n(8),f=n(9),h=n(132),d="i18n",y="i18n-",m=/^i18n:?/;t.extractMessages=r,t.mergeTranslations=i;var v=function(){function e(e,t){this.messages=e,this.errors=t}return e}();t.ExtractionResult=v;var g;!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(g||(g={}));var _=function(){function e(e,t){this._implicitTags=e,this._implicitAttrs=t,this._inI18nNode=!1,this._depth=0,this._inIcu=!1}return e.prototype.extract=function(e,t){var n=this;return this._init(g.Extract,t),e.forEach(function(e){return e.visit(n,null)}),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new v(this._messages,this._errors)},e.prototype.merge=function(e,t,n){this._init(g.Merge,n),this._translations=t;var r=new c.Element("wrapper",[],e,null,null,null),i=r.visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),i.children},e.prototype.visitExpansionCase=function(e,t){var n=c.visitAll(this,e.expression,t);if(this._mode===g.Merge)return new c.ExpansionCase(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)},e.prototype.visitExpansion=function(e,t){this._mayBeAddBlockChildren(e);var n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);var r=c.visitAll(this,e.cases,t);return this._mode===g.Merge&&(e=new c.Expansion(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e},e.prototype.visitComment=function(e,t){var n=o(e);if(n&&this._isInTranslatableSection)return void this._reportError(e,"Could not start a block inside a translatable section");var r=s(e);if(r&&!this._inI18nBlock)return void this._reportError(e,"Trying to close an unopened block");if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(r){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;var i=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return this._translateMessage(e,i)}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else n&&(this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(m,"").trim(),this._openTranslatableSection(e))},e.prototype.visitText=function(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e},e.prototype.visitElement=function(e,t){var n=this;this._mayBeAddBlockChildren(e),this._depth++;var r,i=this._inI18nNode,o=a(e),s=this._implicitTags.some(function(t){return e.name===t});if(this._isInTranslatableSection||this._inIcu)(o||s)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==g.Extract&&c.visitAll(this,e.children),this._mode==g.Merge&&(r=[],e.children.forEach(function(e){var i=e.visit(n,t);i&&!n._isInTranslatableSection&&(r=r.concat(i))}));else{if(o){this._inI18nNode=!0;var u=this._addMessage(e.children,o.value);r=this._translateMessage(e,u)}else if(s){this._inI18nNode=!0;var u=this._addMessage(e.children);r=this._translateMessage(e,u)}if(this._mode==g.Extract){var p=o||s;p&&this._openTranslatableSection(e),c.visitAll(this,e.children),p&&this._closeTranslatableSection(e,e.children)}this._mode!==g.Merge||o||s||(r=[],e.children.forEach(function(e){var i=e.visit(n,t);i&&!n._isInTranslatableSection&&(r=r.concat(i))}))}if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=i,this._mode===g.Merge){var l=this._translateAttributes(e);return new c.Element(e.name,l,r,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}},e.prototype.visitAttribute=function(e,t){throw new Error("unreachable code")},e.prototype._init=function(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._createI18nMessage=f.createI18nMessageFactory(t)},e.prototype._visitAttributesOf=function(e){var t=this,n={},r=this._implicitAttrs[e.name]||[];e.attrs.filter(function(e){return e.name.startsWith(y)}).forEach(function(e){return n[e.name.slice(y.length)]=e.value}),e.attrs.forEach(function(e){e.name in n?t._addMessage([e],n[e.name]):r.some(function(t){return e.name===t})&&t._addMessage([e])})},e.prototype._addMessage=function(e,t){if(!(0==e.length||1==e.length&&e[0]instanceof c.Attribute&&!e[0].value)){var n=u(t),r=n[0],i=n[1],o=this._createI18nMessage(e,r,i);return this._messages.push(o),o}},e.prototype._translateMessage=function(e,t){if(t&&this._mode===g.Merge){var n=p.digestMessage(t),r=this._translations.get(n);if(r)return r;this._reportError(e,'Translation unavailable for message id="'+n+'"')}return[]},e.prototype._translateAttributes=function(e){var t=this,n=e.attrs,r={};n.forEach(function(e){e.name.startsWith(y)&&(r[e.name.slice(y.length)]=u(e.value)[0])});var i=[];return n.forEach(function(n){if(n.name!==d&&!n.name.startsWith(y))if(r.hasOwnProperty(n.name)){var o=r[n.name],s=t._createI18nMessage([n],o,""),a=p.digestMessage(s),u=t._translations.get(a);if(u)if(u[0]instanceof c.Text){var l=u[0].value;i.push(new c.Attribute(n.name,l,n.sourceSpan))}else t._reportError(e,'Unexpected translation for attribute "'+n.name+'" (id="'+a+'")');else t._reportError(e,'Translation unavailable for attribute "'+n.name+'" (id="'+a+'")')}else i.push(n)}),i},e.prototype._mayBeAddBlockChildren=function(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)},e.prototype._openTranslatableSection=function(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(e.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),e.prototype._closeTranslatableSection=function(e,t){if(!this._isInTranslatableSection)return void this._reportError(e,"Unexpected section end");var n=this._msgCountAtSectionStart,r=t.reduce(function(e,t){return e+(t instanceof c.Comment?0:1)},0);if(1==r)for(var i=this._messages.length-1;i>=n;i--){var o=this._messages[i].nodes;if(!(1==o.length&&o[0]instanceof l.Text)){this._messages.splice(i,1);break}}this._msgCountAtSectionStart=void 0},e.prototype._reportError=function(e,t){this._errors.push(new h.I18nError(e.sourceSpan,t))},e}()},function(e,t){"use strict";function n(e,t,n){void 0===n&&(n=null);var r=[];return t.forEach(function(t){var i=t.visit(e,n);i&&r.push(i)}),r}var r=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}();t.Text=r;var i=function(){function e(e,t,n,r,i){this.switchValue=e,this.type=t,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return e.prototype.visit=function(e,t){return e.visitExpansion(this,t)},e}();t.Expansion=i;var o=function(){function e(e,t,n,r,i){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return e.prototype.visit=function(e,t){return e.visitExpansionCase(this,t)},e}();t.ExpansionCase=o;var s=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitAttribute(this,t)},e}();t.Attribute=s;var a=function(){function e(e,t,n,r,i,o){this.name=e,this.attrs=t,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return e.prototype.visit=function(e,t){return e.visitElement(this,t)},e}();t.Element=a;var u=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitComment(this,t)},e}();t.Comment=u,t.visitAll=n},function(e,t){"use strict";var n=function(){function e(e,t,n,r){this.nodes=e,this.placeholders=t,this.meaning=n,this.description=r}return e}();t.Message=n;var r=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}();t.Text=r;var i=function(){function e(e,t){this.children=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitContainer(this,t)},e}();t.Container=i;var o=function(){function e(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitIcu(this,t)},e}();t.Icu=o;var s=function(){function e(e,t,n,r,i,o,s){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s}return e.prototype.visit=function(e,t){return e.visitTagPlaceholder(this,t)},e}();t.TagPlaceholder=s;var a=function(){function e(e,t,n){void 0===t&&(t=""),this.value=e,this.name=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitPlaceholder(this,t)},e}();t.Placeholder=a;var u=function(){function e(e,t,n){void 0===t&&(t=""),this.value=e,this.name=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitIcuPlaceholder(this,t)},e}();t.IcuPlaceholder=u},function(e,t,n){"use strict";function r(e){var t=new f(l,e);return function(e,n,r){return t.toI18nMessage(e,n,r)}}function i(e){return e.split(h)[1]}var o=n(10),s=n(124),a=n(7),u=n(129),c=n(8),p=n(131),l=new s.Parser(new o.Lexer);t.createI18nMessageFactory=r;var f=function(){function e(e,t){this._expressionParser=e,this._interpolationConfig=t}return e.prototype.toI18nMessage=function(e,t,n){this._isIcu=1==e.length&&e[0]instanceof a.Expansion,this._icuDepth=0,this._placeholderRegistry=new p.PlaceholderRegistry,this._placeholderToContent={};var r=a.visitAll(this,e,{});return new c.Message(r,this._placeholderToContent,t,n)},e.prototype.visitElement=function(e,t){var n=a.visitAll(this,e.children),r={};e.attrs.forEach(function(e){r[e.name]=e.value});var i=u.getHtmlTagDefinition(e.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(e.name,r,i);this._placeholderToContent[o]=e.sourceSpan.toString();var s="";return i||(s=this._placeholderRegistry.getCloseTagPlaceholderName(e.name),this._placeholderToContent[s]=""),new c.TagPlaceholder(e.name,r,o,s,n,i,e.sourceSpan)},e.prototype.visitAttribute=function(e,t){return this._visitTextWithInterpolation(e.value,e.sourceSpan)},e.prototype.visitText=function(e,t){return this._visitTextWithInterpolation(e.value,e.sourceSpan)},e.prototype.visitComment=function(e,t){return null},e.prototype.visitExpansion=function(e,t){var n=this;this._icuDepth++;var r={},i=new c.Icu(e.switchValue,e.type,r,e.sourceSpan);if(e.cases.forEach(function(e){r[e.value]=new c.Container(e.expression.map(function(e){return e.visit(n,{})}),e.expSourceSpan)}),this._icuDepth--,this._isIcu||this._icuDepth>0)return i;var o=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());return this._placeholderToContent[o]=e.sourceSpan.toString(),new c.IcuPlaceholder(i,o,e.sourceSpan)},e.prototype.visitExpansionCase=function(e,t){throw new Error("Unreachable code")},e.prototype._visitTextWithInterpolation=function(e,t){var n=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(!n)return new c.Text(e,t);for(var r=[],o=new c.Container(r,t),s=this._interpolationConfig,a=s.start,u=s.end,p=0;p=this.length?g.$EOF:_.StringWrapper.charCodeAt(this.input,this.index)},e.prototype.scanToken=function(){for(var e=this.input,t=this.length,n=this.peek,i=this.index;n<=g.$SPACE;){if(++i>=t){n=g.$EOF;break}n=_.StringWrapper.charCodeAt(e,i)}if(this.peek=n,this.index=i,i>=t)return null;if(p(n))return this.scanIdentifier();if(g.isDigit(n))return this.scanNumber(i);var o=i;switch(n){case g.$PERIOD:return this.advance(),g.isDigit(this.peek)?this.scanNumber(o):r(o,g.$PERIOD);case g.$LPAREN:case g.$RPAREN:case g.$LBRACE:case g.$RBRACE:case g.$LBRACKET:case g.$RBRACKET:case g.$COMMA:case g.$COLON:case g.$SEMICOLON:return this.scanCharacter(o,n);case g.$SQ:case g.$DQ:return this.scanString();case g.$HASH:case g.$PLUS:case g.$MINUS:case g.$STAR:case g.$SLASH:case g.$PERCENT:case g.$CARET:return this.scanOperator(o,_.StringWrapper.fromCharCode(n));case g.$QUESTION:return this.scanComplexOperator(o,"?",g.$PERIOD,".");case g.$LT:case g.$GT:return this.scanComplexOperator(o,_.StringWrapper.fromCharCode(n),g.$EQ,"=");case g.$BANG:case g.$EQ:return this.scanComplexOperator(o,_.StringWrapper.fromCharCode(n),g.$EQ,"=",g.$EQ,"=");case g.$AMPERSAND:return this.scanComplexOperator(o,"&",g.$AMPERSAND,"&");case g.$BAR:return this.scanComplexOperator(o,"|",g.$BAR,"|");case g.$NBSP:for(;g.isWhitespace(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+_.StringWrapper.fromCharCode(n)+"]",0)},e.prototype.scanCharacter=function(e,t){return this.advance(),r(e,t)},e.prototype.scanOperator=function(e,t){return this.advance(),s(e,t)},e.prototype.scanComplexOperator=function(e,t,n,r,i,o){this.advance();var a=t;return this.peek==n&&(this.advance(),a+=r),_.isPresent(i)&&this.peek==i&&(this.advance(),a+=o),s(e,a)},e.prototype.scanIdentifier=function(){var e=this.index;for(this.advance();f(this.peek);)this.advance();var t=this.input.substring(e,this.index);return b.indexOf(t)>-1?o(e,t):i(e,t)},e.prototype.scanNumber=function(e){var t=this.index===e;for(this.advance();;){if(g.isDigit(this.peek));else if(this.peek==g.$PERIOD)t=!1;else{if(!h(this.peek))break;if(this.advance(),d(this.peek)&&this.advance(),!g.isDigit(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var n=this.input.substring(e,this.index),r=t?_.NumberWrapper.parseIntAutoRadix(n):_.NumberWrapper.parseFloat(n);return u(e,r)},e.prototype.scanString=function(){var e=this.index,t=this.peek;this.advance();for(var n,r=this.index,i=this.input;this.peek!=t;)if(this.peek==g.$BACKSLASH){null==n&&(n=new _.StringJoiner),n.add(i.substring(r,this.index)),this.advance();var o;if(this.peek==g.$u){var s=i.substring(this.index+1,this.index+5);try{o=_.NumberWrapper.parseInt(s,16)}catch(u){return this.error("Invalid unicode escape [\\u"+s+"]",0)}for(var c=0;c<5;c++)this.advance()}else o=m(this.peek),this.advance();n.add(_.StringWrapper.fromCharCode(o)),r=this.index}else{if(this.peek==g.$EOF)return this.error("Unterminated quote",0);this.advance()}var p=i.substring(r,this.index);this.advance();var l=p;return null!=n&&(n.add(p),l=n.toString()),a(e,l)},e.prototype.error=function(e,t){var n=this.index+t;return c(n,"Lexer Error: "+e+" at column "+n+" in expression ["+this.input+"]")},e}();t.isIdentifier=l,t.isQuote=y},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}r(n(12)),r(n(25)),r(n(26));var i=n(42);t.createPlatform=i.createPlatform,t.assertPlatform=i.assertPlatform,t.disposePlatform=i.disposePlatform,t.getPlatform=i.getPlatform,t.coreBootstrap=i.coreBootstrap,t.coreLoadAndBootstrap=i.coreLoadAndBootstrap,t.PlatformRef=i.PlatformRef,t.ApplicationRef=i.ApplicationRef,t.enableProdMode=i.enableProdMode,t.lockRunMode=i.lockRunMode,t.isDevMode=i.isDevMode,t.createPlatformFactory=i.createPlatformFactory;var o=n(44);t.APP_ID=o.APP_ID,t.PACKAGE_ROOT_URL=o.PACKAGE_ROOT_URL,t.PLATFORM_INITIALIZER=o.PLATFORM_INITIALIZER,t.APP_BOOTSTRAP_LISTENER=o.APP_BOOTSTRAP_LISTENER;var s=n(43);t.APP_INITIALIZER=s.APP_INITIALIZER,t.ApplicationInitStatus=s.ApplicationInitStatus,r(n(89)),r(n(90)),r(n(91));var a=n(101);t.DebugElement=a.DebugElement,t.DebugNode=a.DebugNode,t.asNativeElements=a.asNativeElements,t.getDebugNode=a.getDebugNode,r(n(66)),r(n(102)),r(n(103)),r(n(104));var u=n(105);t.APPLICATION_COMMON_PROVIDERS=u.APPLICATION_COMMON_PROVIDERS,t.ApplicationModule=u.ApplicationModule;var c=n(61);t.wtfCreateScope=c.wtfCreateScope,t.wtfLeave=c.wtfLeave,t.wtfStartTimeRange=c.wtfStartTimeRange,t.wtfEndTimeRange=c.wtfEndTimeRange;var p=n(15);t.Type=p.Type;var l=n(68);t.EventEmitter=l.EventEmitter;var f=n(28);t.ExceptionHandler=f.ExceptionHandler,t.WrappedException=f.WrappedException,t.BaseException=f.BaseException,r(n(106)),r(n(114));var h=n(111);t.AnimationPlayer=h.AnimationPlayer;var d=n(57);t.SanitizationService=d.SanitizationService,t.SecurityContext=d.SecurityContext},function(e,t,n){"use strict";var r=n(13),i=n(20),o=n(22),s=n(19),a=n(13);t.ANALYZE_FOR_ENTRY_COMPONENTS=a.ANALYZE_FOR_ENTRY_COMPONENTS,t.AttributeMetadata=a.AttributeMetadata,t.ContentChildMetadata=a.ContentChildMetadata,t.ContentChildrenMetadata=a.ContentChildrenMetadata,t.QueryMetadata=a.QueryMetadata,t.ViewChildMetadata=a.ViewChildMetadata,t.ViewChildrenMetadata=a.ViewChildrenMetadata,t.ViewQueryMetadata=a.ViewQueryMetadata;var u=n(20);t.ComponentMetadata=u.ComponentMetadata,t.DirectiveMetadata=u.DirectiveMetadata,t.HostBindingMetadata=u.HostBindingMetadata,t.HostListenerMetadata=u.HostListenerMetadata,t.InputMetadata=u.InputMetadata,t.OutputMetadata=u.OutputMetadata,t.PipeMetadata=u.PipeMetadata;var c=n(23);t.AfterContentChecked=c.AfterContentChecked,t.AfterContentInit=c.AfterContentInit,t.AfterViewChecked=c.AfterViewChecked,t.AfterViewInit=c.AfterViewInit,t.DoCheck=c.DoCheck,t.OnChanges=c.OnChanges,t.OnDestroy=c.OnDestroy,t.OnInit=c.OnInit;var p=n(22);t.CUSTOM_ELEMENTS_SCHEMA=p.CUSTOM_ELEMENTS_SCHEMA,t.NgModuleMetadata=p.NgModuleMetadata;var l=n(24);t.ViewEncapsulation=l.ViewEncapsulation,t.ViewMetadata=l.ViewMetadata,t.Component=s.makeDecorator(i.ComponentMetadata),t.Directive=s.makeDecorator(i.DirectiveMetadata),t.Attribute=s.makeParamDecorator(r.AttributeMetadata),t.Query=s.makeParamDecorator(r.QueryMetadata),t.ContentChildren=s.makePropDecorator(r.ContentChildrenMetadata),t.ContentChild=s.makePropDecorator(r.ContentChildMetadata),t.ViewChildren=s.makePropDecorator(r.ViewChildrenMetadata),t.ViewChild=s.makePropDecorator(r.ViewChildMetadata),t.ViewQuery=s.makeParamDecorator(r.ViewQueryMetadata),t.Pipe=s.makeDecorator(i.PipeMetadata),t.Input=s.makePropDecorator(i.InputMetadata),t.Output=s.makePropDecorator(i.OutputMetadata),t.HostBinding=s.makePropDecorator(i.HostBindingMetadata),t.HostListener=s.makePropDecorator(i.HostListenerMetadata),t.NgModule=s.makeDecorator(o.NgModuleMetadata)},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(14),o=n(16),s=n(17),a=n(15);t.ANALYZE_FOR_ENTRY_COMPONENTS=new s.OpaqueToken("AnalyzeForEntryComponents");var u=function(e){function t(t){e.call(this),this.attributeName=t}return r(t,e),Object.defineProperty(t.prototype,"token",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"@Attribute("+a.stringify(this.attributeName)+")"},t}(o.DependencyMetadata);t.AttributeMetadata=u;var c=function(e){function t(t,n){var r=void 0===n?{}:n,i=r.descendants,o=void 0!==i&&i,s=r.first,a=void 0!==s&&s,u=r.read,c=void 0===u?null:u;e.call(this),this._selector=t,this.descendants=o,this.first=a,this.read=c}return r(t,e),Object.defineProperty(t.prototype,"isViewQuery",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selector",{get:function(){return i.resolveForwardRef(this._selector)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVarBindingQuery",{get:function(){return a.isString(this.selector)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"varBindings",{get:function(){return a.StringWrapper.split(this.selector,/\s*,\s*/g)},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"@Query("+a.stringify(this.selector)+")"},t}(o.DependencyMetadata);t.QueryMetadata=c;var p=function(e){function t(t,n){var r=void 0===n?{}:n,i=r.descendants,o=void 0!==i&&i,s=r.read,a=void 0===s?null:s;e.call(this,t,{descendants:o,read:a})}return r(t,e),t}(c);t.ContentChildrenMetadata=p;var l=function(e){function t(t,n){var r=(void 0===n?{}:n).read,i=void 0===r?null:r;e.call(this,t,{descendants:!0,first:!0,read:i})}return r(t,e),t}(c);t.ContentChildMetadata=l;var f=function(e){function t(t,n){var r=void 0===n?{}:n,i=r.descendants,o=void 0!==i&&i,s=r.first,a=void 0!==s&&s,u=r.read,c=void 0===u?null:u;e.call(this,t,{descendants:o,first:a,read:c})}return r(t,e),Object.defineProperty(t.prototype,"isViewQuery",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"@ViewQuery("+a.stringify(this.selector)+")"},t}(c);t.ViewQueryMetadata=f;var h=function(e){function t(t,n){var r=(void 0===n?{}:n).read,i=void 0===r?null:r;e.call(this,t,{descendants:!0,read:i})}return r(t,e),t}(f);t.ViewChildrenMetadata=h;var d=function(e){function t(t,n){var r=(void 0===n?{}:n).read,i=void 0===r?null:r;e.call(this,t,{descendants:!0,first:!0,read:i})}return r(t,e),t}(f);t.ViewChildMetadata=d},function(e,t,n){"use strict";function r(e){return e.__forward_ref__=r,e.toString=function(){return o.stringify(this())},e}function i(e){return o.isFunction(e)&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===r?e():e}var o=n(15);t.forwardRef=r,t.resolveForwardRef=i},function(e,t){(function(e){"use strict";function n(e){Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function r(e){return e.name?e.name:typeof e}function i(e){return void 0!==e&&null!==e}function o(e){return void 0===e||null===e}function s(e){return"boolean"==typeof e}function a(e){return"number"==typeof e}function u(e){return"string"==typeof e}function c(e){return"function"==typeof e}function p(e){return c(e)}function l(e){return"object"==typeof e&&null!==e}function f(e){return l(e)&&Object.getPrototypeOf(e)===j}function h(e){return i(e)&&c(e.then)}function d(e){return Array.isArray(e)}function y(e){return e instanceof t.Date&&!isNaN(e.valueOf())}function m(){}function v(e){if("string"==typeof e)return e;if(void 0===e||null===e)return""+e;if(e.overriddenName)return e.overriddenName;if(e.name)return e.name;var t=e.toString(),n=t.indexOf("\n");return n===-1?t:t.substring(0,n)}function g(e){return e}function _(e,t){return e}function E(e,t){return e[t]}function b(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function C(e){return e}function w(e){return o(e)?null:e}function S(e){return!o(e)&&e}function P(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function A(e){console.log(e)}function T(e){console.warn(e)}function O(e,t,n){for(var r=t.split("."),o=e;r.length>1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}void 0!==o&&null!==o||(o={}),o[r.shift()]=n}function M(){if(o(z))if(i(D.Symbol)&&i(Symbol.iterator))z=Symbol.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),t=0;t=0&&e[r]==t;r--)n--;e=e.substring(0,n)}return e},e.replace=function(e,t,n){return e.replace(t,n)},e.replaceAll=function(e,t,n){return e.replace(t,n)},e.slice=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=null),e.slice(t,null===n?void 0:n)},e.replaceAllMapped=function(e,t,n){return e.replace(t,function(){for(var e=[],t=0;tt?1:0},e}();t.StringWrapper=F;var B=function(){function e(e){void 0===e&&(e=[]),this.parts=e}return e.prototype.add=function(e){this.parts.push(e)},e.prototype.toString=function(){return this.parts.join("")},e}();t.StringJoiner=B;var U=function(e){function t(t){e.call(this),this.message=t}return V(t,e),t.prototype.toString=function(){return this.message},t}(Error);t.NumberParseError=U;var W=function(){function e(){}return e.toFixed=function(e,t){return e.toFixed(t)},e.equal=function(e,t){return e===t},e.parseIntAutoRadix=function(e){var t=parseInt(e);if(isNaN(t))throw new U("Invalid integer literal when parsing "+e);return t},e.parseInt=function(e,t){if(10==t){if(/^(\-|\+)?[0-9]+$/.test(e))return parseInt(e,t)}else if(16==t){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(e))return parseInt(e,t)}else{var n=parseInt(e,t);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+e+" in base "+t)},e.parseFloat=function(e){return parseFloat(e)},Object.defineProperty(e,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),e.isNumeric=function(e){return!isNaN(e-parseFloat(e))},e.isNaN=function(e){return isNaN(e)},e.isInteger=function(e){return Number.isInteger(e)},e}();t.NumberWrapper=W,t.RegExp=L.RegExp;var H=function(){function e(){}return e.apply=function(e,t){return e.apply(null,t)},e.bind=function(e,t){return e.bind(t)},e}();t.FunctionWrapper=H,t.looseIdentical=b,t.getMapKey=C,t.normalizeBlank=w,t.normalizeBool=S,t.isJsObject=P,t.print=A,t.warn=T;var G=function(){function e(){}return e.parse=function(e){return L.JSON.parse(e)},e.stringify=function(e){return L.JSON.stringify(e,null,2)},e}();t.Json=G;var q=function(){function e(){}return e.create=function(e,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new t.Date(e,n-1,r,i,o,s,a)},e.fromISOString=function(e){return new t.Date(e)},e.fromMillis=function(e){return new t.Date(e)},e.toMillis=function(e){return e.getTime()},e.now=function(){return new t.Date},e.toJson=function(e){return e.toJSON()},e}();t.DateWrapper=q,t.setValueOnPath=O;var z=null;t.getSymbolIterator=M,t.evalExpression=x,t.isPrimitive=R,t.hasConstructor=I,t.escape=N,t.escapeRegExp=k}).call(t,function(){return this}())},function(e,t,n){"use strict";var r=n(15),i=function(){function e(e){this.token=e}return e.prototype.toString=function(){return"@Inject("+r.stringify(this.token)+")"},e}();t.InjectMetadata=i;var o=function(){function e(){}return e.prototype.toString=function(){return"@Optional()"},e}();t.OptionalMetadata=o;var s=function(){function e(){}return Object.defineProperty(e.prototype,"token",{get:function(){return null},enumerable:!0,configurable:!0}),e}();t.DependencyMetadata=s;var a=function(){function e(){}return e}();t.InjectableMetadata=a;var u=function(){function e(){}return e.prototype.toString=function(){return"@Self()"},e}();t.SelfMetadata=u;var c=function(){function e(){}return e.prototype.toString=function(){return"@SkipSelf()"},e}();t.SkipSelfMetadata=c;var p=function(){function e(){}return e.prototype.toString=function(){return"@Host()"},e}();t.HostMetadata=p},function(e,t,n){"use strict";var r=n(18),i=function(){function e(e){this._desc=e}return e.prototype.toString=function(){return"Token "+this._desc},e.decorators=[{type:r.Injectable}],e.ctorParameters=[null],e}();t.OpaqueToken=i},function(e,t,n){"use strict";var r=n(19),i=n(16);t.Inject=r.makeParamDecorator(i.InjectMetadata),t.Optional=r.makeParamDecorator(i.OptionalMetadata),t.Injectable=r.makeDecorator(i.InjectableMetadata),t.Self=r.makeParamDecorator(i.SelfMetadata),t.Host=r.makeParamDecorator(i.HostMetadata),t.SkipSelf=r.makeParamDecorator(i.SkipSelfMetadata)},function(e,t,n){"use strict";function r(e){return c.isFunction(e)&&e.hasOwnProperty("annotation")&&(e=e.annotation),e}function i(e,t){if(e===Object||e===String||e===Function||e===Number||e===Array)throw new Error("Can not use native "+c.stringify(e)+" as constructor");if(c.isFunction(e))return e;if(e instanceof Array){var n=e,i=n.length-1,o=e[i];if(!c.isFunction(o))throw new Error("Last position of Class method array must be Function in key "+t+" was '"+c.stringify(o)+"'");if(i!=o.length)throw new Error("Number of annotations ("+i+") does not match number of arguments ("+o.length+") in the function: "+c.stringify(o));for(var s=[],a=0,u=n.length-1;a0?this._properties:this._inputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return s.isPresent(this._events)&&this._events.length>0?this._events:this._outputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.outputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providers",{get:function(){return this._providers},enumerable:!0,configurable:!0}),t}(o.InjectableMetadata);t.DirectiveMetadata=a;var u=function(e){function t(t){var n=void 0===t?{}:t,r=n.selector,o=n.inputs,s=n.outputs,a=n.properties,u=n.events,c=n.host,p=n.exportAs,l=n.moduleId,f=n.providers,h=n.viewProviders,d=n.changeDetection,y=void 0===d?i.ChangeDetectionStrategy.Default:d,m=n.queries,v=n.templateUrl,g=n.template,_=n.styleUrls,E=n.styles,b=n.animations,C=n.directives,w=n.pipes,S=n.encapsulation,P=n.interpolation,A=n.entryComponents;e.call(this,{selector:r,inputs:o,outputs:s,properties:a,events:u,host:c,exportAs:p,providers:f,queries:m}),this.changeDetection=y,this._viewProviders=h,this.templateUrl=v,this.template=g,this.styleUrls=_,this.styles=E,this.directives=C,this.pipes=w,this.encapsulation=S,this.moduleId=l,this.animations=b,this.interpolation=P,this.entryComponents=A}return r(t,e),Object.defineProperty(t.prototype,"viewProviders",{get:function(){return this._viewProviders},enumerable:!0,configurable:!0}),t}(a);t.ComponentMetadata=u;var c=function(e){function t(t){var n=t.name,r=t.pure;e.call(this),this.name=n,this._pure=r}return r(t,e),Object.defineProperty(t.prototype,"pure",{get:function(){return!s.isPresent(this._pure)||this._pure},enumerable:!0,configurable:!0}),t}(o.InjectableMetadata);t.PipeMetadata=c;var p=function(){function e(e){this.bindingPropertyName=e}return e}();t.InputMetadata=p;var l=function(){function e(e){this.bindingPropertyName=e}return e}();t.OutputMetadata=l;var f=function(){function e(e){this.hostPropertyName=e}return e}();t.HostBindingMetadata=f;var h=function(){function e(e,t){this.eventName=e,this.args=t}return e}();t.HostListenerMetadata=h},function(e,t,n){"use strict";function r(e){return i.isBlank(e)||e===o.Default}var i=n(15);!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(t.ChangeDetectionStrategy||(t.ChangeDetectionStrategy={}));var o=t.ChangeDetectionStrategy;!function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(t.ChangeDetectorStatus||(t.ChangeDetectorStatus={}));var s=t.ChangeDetectorStatus;t.CHANGE_DETECTION_STRATEGY_VALUES=[o.OnPush,o.Default],t.CHANGE_DETECTOR_STATUS_VALUES=[s.CheckOnce,s.Checked,s.CheckAlways,s.Detached,s.Errored,s.Destroyed],t.isDefaultChangeDetectionStrategy=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(16);t.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"};var o=function(e){function t(t){void 0===t&&(t={}),e.call(this),this._providers=t.providers,this.declarations=t.declarations,this.imports=t.imports,this.exports=t.exports,this.entryComponents=t.entryComponents,this.bootstrap=t.bootstrap,this.schemas=t.schemas}return r(t,e),Object.defineProperty(t.prototype,"providers",{get:function(){return this._providers},enumerable:!0,configurable:!0}),t}(i.InjectableMetadata);t.NgModuleMetadata=o},function(e,t){"use strict";!function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(t.LifecycleHooks||(t.LifecycleHooks={}));var n=t.LifecycleHooks;t.LIFECYCLE_HOOKS_VALUES=[n.OnInit,n.OnDestroy,n.DoCheck,n.OnChanges,n.AfterContentInit,n.AfterContentChecked,n.AfterViewInit,n.AfterViewChecked];var r=function(){function e(){}return e}();t.OnChanges=r;var i=function(){function e(){}return e}();t.OnInit=i;var o=function(){function e(){}return e}();t.DoCheck=o;var s=function(){function e(){}return e}();t.OnDestroy=s;var a=function(){function e(){}return e}();t.AfterContentInit=a;var u=function(){function e(){}return e}();t.AfterContentChecked=u;var c=function(){function e(){}return e}();t.AfterViewInit=c;var p=function(){function e(){}return e}();t.AfterViewChecked=p},function(e,t){"use strict";!function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None"}(t.ViewEncapsulation||(t.ViewEncapsulation={}));var n=t.ViewEncapsulation;t.VIEW_ENCAPSULATION_VALUES=[n.Emulated,n.Native,n.None];var r=function(){function e(e){var t=void 0===e?{}:e,n=t.templateUrl,r=t.template,i=t.directives,o=t.pipes,s=t.encapsulation,a=t.styles,u=t.styleUrls,c=t.animations,p=t.interpolation;this.templateUrl=n,this.template=r,this.styleUrls=u,this.styles=a,this.directives=i,this.pipes=o,this.encapsulation=s,this.animations=c,this.interpolation=p}return e}();t.ViewMetadata=r},function(e,t,n){"use strict";var r=n(19);t.Class=r.Class},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=n(16);t.HostMetadata=i.HostMetadata,t.InjectMetadata=i.InjectMetadata,t.InjectableMetadata=i.InjectableMetadata,t.OptionalMetadata=i.OptionalMetadata,t.SelfMetadata=i.SelfMetadata,t.SkipSelfMetadata=i.SkipSelfMetadata,r(n(18));var o=n(14);t.forwardRef=o.forwardRef,t.resolveForwardRef=o.resolveForwardRef;var s=n(27);t.Injector=s.Injector;var a=n(32);t.ReflectiveInjector=a.ReflectiveInjector;var u=n(40);t.Binding=u.Binding,t.ProviderBuilder=u.ProviderBuilder,t.bind=u.bind,t.Provider=u.Provider,t.provide=u.provide;var c=n(35);t.ResolvedReflectiveFactory=c.ResolvedReflectiveFactory;var p=n(34);t.ReflectiveKey=p.ReflectiveKey;var l=n(33);t.NoProviderError=l.NoProviderError,t.AbstractProviderError=l.AbstractProviderError,t.CyclicDependencyError=l.CyclicDependencyError,t.InstantiationError=l.InstantiationError,t.InvalidProviderError=l.InvalidProviderError,t.NoAnnotationError=l.NoAnnotationError,t.OutOfBoundsError=l.OutOfBoundsError;var f=n(17);t.OpaqueToken=f.OpaqueToken},function(e,t,n){"use strict";var r=n(28),i=n(15),o=new Object;t.THROW_IF_NOT_FOUND=o;var s=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=o),t===o)throw new r.BaseException("No provider for "+i.stringify(e)+"!");return t},e}(),a=function(){function e(){}return e.prototype.get=function(e,t){return r.unimplemented()},e.THROW_IF_NOT_FOUND=o,e.NULL=new s,e}();t.Injector=a},function(e,t,n){"use strict";function r(e){return new TypeError(e)}function i(){throw new c("unimplemented")}var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=n(29),a=n(30),u=n(30);t.ExceptionHandler=u.ExceptionHandler;var c=function(e){function t(t){void 0===t&&(t="--"),e.call(this,t),this.message=t,this.stack=new Error(t).stack}return o(t,e),t.prototype.toString=function(){return this.message},t}(Error);t.BaseException=c;var p=function(e){function t(t,n,r,i){e.call(this,t),this._wrapperMessage=t,this._originalException=n,this._originalStack=r,this._context=i,this._wrapperStack=new Error(t).stack}return o(t,e),Object.defineProperty(t.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return a.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.message},t}(s.BaseWrappedException);t.WrappedException=p,t.makeTypeError=r,t.unimplemented=i},function(e,t){"use strict";var n=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},r=function(e){function t(t){e.call(this,t)}return n(t,e),Object.defineProperty(t.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),t}(Error);t.BaseWrappedException=r},function(e,t,n){"use strict";var r=n(29),i=n(31),o=n(15),s=function(){function e(){this.res=[]}return e.prototype.log=function(e){this.res.push(e)},e.prototype.logError=function(e){this.res.push(e)},e.prototype.logGroup=function(e){this.res.push(e)},e.prototype.logGroupEnd=function(){},e}(),a=function(){function e(e,t){void 0===t&&(t=!0),this._logger=e,this._rethrowException=t}return e.exceptionToString=function(t,n,r){void 0===n&&(n=null),void 0===r&&(r=null);var i=new s,o=new e(i,(!1));return o.call(t,n,r),i.res.join("\n")},e.prototype.call=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=this._findOriginalException(e),i=this._findOriginalStack(e),s=this._findContext(e);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(e)),o.isPresent(t)&&o.isBlank(i)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(t))),o.isPresent(n)&&this._logger.logError("REASON: "+n),o.isPresent(r)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(r)),o.isPresent(i)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(i))),o.isPresent(s)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(s)),this._logger.logGroupEnd(),this._rethrowException)throw e},e.prototype._extractMessage=function(e){return e instanceof r.BaseWrappedException?e.wrapperMessage:e.toString()},e.prototype._longStackTrace=function(e){return i.isListLikeIterable(e)?e.join("\n\n-----async gap-----\n"):e.toString()},e.prototype._findContext=function(e){try{return e instanceof r.BaseWrappedException?o.isPresent(e.context)?e.context:this._findContext(e.originalException):null}catch(t){return null}},e.prototype._findOriginalException=function(e){if(!(e instanceof r.BaseWrappedException))return null;for(var t=e.originalException;t instanceof r.BaseWrappedException&&o.isPresent(t.originalException);)t=t.originalException;return t},e.prototype._findOriginalStack=function(e){if(!(e instanceof r.BaseWrappedException))return null;for(var t=e,n=e.originalStack;t instanceof r.BaseWrappedException&&o.isPresent(t.originalException);)t=t.originalException,t instanceof r.BaseWrappedException&&o.isPresent(t.originalException)&&(n=t.originalStack);return n},e}();t.ExceptionHandler=a},function(e,t,n){"use strict";function r(e,t){if(a.isPresent(e))for(var n=0;n-1&&(e.splice(n,1),!0)},e.clear=function(e){e.length=0},e.isEmpty=function(e){return 0==e.length},e.fill=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=null),e.fill(t,n,null===r?e.length:r)},e.equals=function(e,t){if(e.length!=t.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},e.flatten=function(e){var t=[];return r(e,t),t},e.addAll=function(e,t){for(var n=0;n0&&(this.provider0=t[0],this.keyId0=t[0].key.id),n>1&&(this.provider1=t[1],this.keyId1=t[1].key.id),n>2&&(this.provider2=t[2],this.keyId2=t[2].key.id),n>3&&(this.provider3=t[3],this.keyId3=t[3].key.id),n>4&&(this.provider4=t[4],this.keyId4=t[4].key.id),n>5&&(this.provider5=t[5],this.keyId5=t[5].key.id),n>6&&(this.provider6=t[6],this.keyId6=t[6].key.id),n>7&&(this.provider7=t[7],this.keyId7=t[7].key.id),n>8&&(this.provider8=t[8],this.keyId8=t[8].key.id),n>9&&(this.provider9=t[9],this.keyId9=t[9].key.id)}return e.prototype.getProviderAtIndex=function(e){if(0==e)return this.provider0;if(1==e)return this.provider1;if(2==e)return this.provider2;if(3==e)return this.provider3;if(4==e)return this.provider4;if(5==e)return this.provider5;if(6==e)return this.provider6;if(7==e)return this.provider7;if(8==e)return this.provider8;if(9==e)return this.provider9;throw new u.OutOfBoundsError(e)},e.prototype.createInjectorStrategy=function(e){return new m(e,this)},e}();t.ReflectiveProtoInjectorInlineStrategy=h;var d=function(){function e(e,t){this.providers=t;var n=t.length;this.keyIds=i.ListWrapper.createFixedSize(n);for(var r=0;r=this.providers.length)throw new u.OutOfBoundsError(e);return this.providers[e]},e.prototype.createInjectorStrategy=function(e){return new v(this,e)},e}();t.ReflectiveProtoInjectorDynamicStrategy=d;var y=function(){function e(e){this.numberOfProviders=e.length,this._strategy=e.length>l?new d(this,e):new h(this,e)}return e.fromResolvedProviders=function(t){return new e(t)},e.prototype.getProviderAtIndex=function(e){return this._strategy.getProviderAtIndex(e)},e}();t.ReflectiveProtoInjector=y;var m=function(){function e(e,t){this.injector=e,this.protoStrategy=t,this.obj0=f,this.obj1=f,this.obj2=f,this.obj3=f,this.obj4=f,this.obj5=f,this.obj6=f,this.obj7=f,this.obj8=f,this.obj9=f}return e.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},e.prototype.instantiateProvider=function(e){return this.injector._new(e)},e.prototype.getObjByKeyId=function(e){var t=this.protoStrategy,n=this.injector;return t.keyId0===e?(this.obj0===f&&(this.obj0=n._new(t.provider0)),this.obj0):t.keyId1===e?(this.obj1===f&&(this.obj1=n._new(t.provider1)),this.obj1):t.keyId2===e?(this.obj2===f&&(this.obj2=n._new(t.provider2)),this.obj2):t.keyId3===e?(this.obj3===f&&(this.obj3=n._new(t.provider3)),this.obj3):t.keyId4===e?(this.obj4===f&&(this.obj4=n._new(t.provider4)),this.obj4):t.keyId5===e?(this.obj5===f&&(this.obj5=n._new(t.provider5)),this.obj5):t.keyId6===e?(this.obj6===f&&(this.obj6=n._new(t.provider6)),this.obj6):t.keyId7===e?(this.obj7===f&&(this.obj7=n._new(t.provider7)),this.obj7):t.keyId8===e?(this.obj8===f&&(this.obj8=n._new(t.provider8)),this.obj8):t.keyId9===e?(this.obj9===f&&(this.obj9=n._new(t.provider9)),this.obj9):f},e.prototype.getObjAtIndex=function(e){if(0==e)return this.obj0;if(1==e)return this.obj1;if(2==e)return this.obj2;if(3==e)return this.obj3;if(4==e)return this.obj4;if(5==e)return this.obj5;if(6==e)return this.obj6;if(7==e)return this.obj7;if(8==e)return this.obj8;if(9==e)return this.obj9;throw new u.OutOfBoundsError(e)},e.prototype.getMaxNumberOfObjects=function(){return l},e}();t.ReflectiveInjectorInlineStrategy=m;var v=function(){function e(e,t){this.protoStrategy=e,this.injector=t,this.objs=i.ListWrapper.createFixedSize(e.providers.length),i.ListWrapper.fill(this.objs,f)}return e.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},e.prototype.instantiateProvider=function(e){return this.injector._new(e)},e.prototype.getObjByKeyId=function(e){for(var t=this.protoStrategy,n=0;n=this.objs.length)throw new u.OutOfBoundsError(e);return this.objs[e]},e.prototype.getMaxNumberOfObjects=function(){return this.objs.length},e}();t.ReflectiveInjectorDynamicStrategy=v;var g=function(){function e(){}return e.resolve=function(e){return p.resolveReflectiveProviders(e)},e.resolveAndCreate=function(t,n){void 0===n&&(n=null);var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return void 0===t&&(t=null),new _(y.fromResolvedProviders(e),t)},e.fromResolvedBindings=function(t){return e.fromResolvedProviders(t)},Object.defineProperty(e.prototype,"parent",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),e.prototype.debugContext=function(){return null},e.prototype.resolveAndCreateChild=function(e){return o.unimplemented()},e.prototype.createChildFromResolved=function(e){return o.unimplemented()},e.prototype.resolveAndInstantiate=function(e){return o.unimplemented()},e.prototype.instantiateResolved=function(e){return o.unimplemented()},e}();t.ReflectiveInjector=g;var _=function(){function e(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null),this._debugContext=n,this._constructionCounter=0,this._proto=e,this._parent=t,this._strategy=e._strategy.createInjectorStrategy(this)}return e.prototype.debugContext=function(){return this._debugContext()},e.prototype.get=function(e,t){return void 0===t&&(t=s.THROW_IF_NOT_FOUND), -this._getByKey(c.ReflectiveKey.get(e),null,null,t)},e.prototype.getAt=function(e){return this._strategy.getObjAtIndex(e)},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"internalStrategy",{get:function(){return this._strategy},enumerable:!0,configurable:!0}),e.prototype.resolveAndCreateChild=function(e){var t=g.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new y(t),r=new e(n);return r._parent=this,r},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(g.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype._new=function(e){if(this._constructionCounter++>this._strategy.getMaxNumberOfObjects())throw new u.CyclicDependencyError(this,e.key);return this._instantiateProvider(e)},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=i.ListWrapper.createFixedSize(e.resolvedFactories.length),n=0;n0?this._getByReflectiveDependency(e,P[0]):null,r=A>1?this._getByReflectiveDependency(e,P[1]):null,i=A>2?this._getByReflectiveDependency(e,P[2]):null,s=A>3?this._getByReflectiveDependency(e,P[3]):null,a=A>4?this._getByReflectiveDependency(e,P[4]):null,c=A>5?this._getByReflectiveDependency(e,P[5]):null,p=A>6?this._getByReflectiveDependency(e,P[6]):null,l=A>7?this._getByReflectiveDependency(e,P[7]):null,f=A>8?this._getByReflectiveDependency(e,P[8]):null,h=A>9?this._getByReflectiveDependency(e,P[9]):null,d=A>10?this._getByReflectiveDependency(e,P[10]):null,y=A>11?this._getByReflectiveDependency(e,P[11]):null,m=A>12?this._getByReflectiveDependency(e,P[12]):null,v=A>13?this._getByReflectiveDependency(e,P[13]):null,g=A>14?this._getByReflectiveDependency(e,P[14]):null,_=A>15?this._getByReflectiveDependency(e,P[15]):null,E=A>16?this._getByReflectiveDependency(e,P[16]):null,b=A>17?this._getByReflectiveDependency(e,P[17]):null,C=A>18?this._getByReflectiveDependency(e,P[18]):null,w=A>19?this._getByReflectiveDependency(e,P[19]):null}catch(T){throw(T instanceof u.AbstractProviderError||T instanceof u.InstantiationError)&&T.addKey(this,e.key),T}var O;try{switch(A){case 0:O=S();break;case 1:O=S(n);break;case 2:O=S(n,r);break;case 3:O=S(n,r,i);break;case 4:O=S(n,r,i,s);break;case 5:O=S(n,r,i,s,a);break;case 6:O=S(n,r,i,s,a,c);break;case 7:O=S(n,r,i,s,a,c,p);break;case 8:O=S(n,r,i,s,a,c,p,l);break;case 9:O=S(n,r,i,s,a,c,p,l,f);break;case 10:O=S(n,r,i,s,a,c,p,l,f,h);break;case 11:O=S(n,r,i,s,a,c,p,l,f,h,d);break;case 12:O=S(n,r,i,s,a,c,p,l,f,h,d,y);break;case 13:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m);break;case 14:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v);break;case 15:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v,g);break;case 16:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v,g,_);break;case 17:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v,g,_,E);break;case 18:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v,g,_,E,b);break;case 19:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v,g,_,E,b,C);break;case 20:O=S(n,r,i,s,a,c,p,l,f,h,d,y,m,v,g,_,E,b,C,w);break;default:throw new o.BaseException("Cannot instantiate '"+e.key.displayName+"' because it has more than 20 dependencies")}}catch(T){throw new u.InstantiationError(this,T,T.stack,e.key)}return O},e.prototype._getByReflectiveDependency=function(e,t){return this._getByKey(t.key,t.lowerBoundVisibility,t.upperBoundVisibility,t.optional?null:s.THROW_IF_NOT_FOUND)},e.prototype._getByKey=function(e,t,n,r){return e===E?this:n instanceof a.SelfMetadata?this._getByKeySelf(e,r):this._getByKeyDefault(e,r,t)},e.prototype._throwOrNull=function(e,t){if(t!==s.THROW_IF_NOT_FOUND)return t;throw new u.NoProviderError(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._strategy.getObjByKeyId(e.id);return n!==f?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var i;for(i=r instanceof a.SkipSelfMetadata?this._parent:this;i instanceof e;){var o=i,s=o._strategy.getObjByKeyId(t.id);if(s!==f)return s;i=o._parent}return null!==i?i.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){var e=r(this,function(e){return' "'+e.key.displayName+'" '}).join(", ");return"ReflectiveInjector(providers: ["+e+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e}();t.ReflectiveInjector_=_;var E=c.ReflectiveKey.get(s.Injector)},function(e,t,n){"use strict";function r(e){for(var t=[],n=0;n1){var t=r(s.ListWrapper.reversed(e)),n=t.map(function(e){return u.stringify(e.token)});return" ("+n.join(" -> ")+")"}return""}var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=n(31),a=n(28),u=n(15),c=function(e){function t(t,n,r){e.call(this,"DI Exception"),this.keys=[n],this.injectors=[t],this.constructResolvingMessage=r,this.message=this.constructResolvingMessage(this.keys)}return o(t,e),t.prototype.addKey=function(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)},Object.defineProperty(t.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),t}(a.BaseException);t.AbstractProviderError=c;var p=function(e){function t(t,n){e.call(this,t,n,function(e){var t=u.stringify(s.ListWrapper.first(e).token);return"No provider for "+t+"!"+i(e)})}return o(t,e),t}(c);t.NoProviderError=p;var l=function(e){function t(t,n){e.call(this,t,n,function(e){return"Cannot instantiate cyclic dependency!"+i(e)})}return o(t,e),t}(c);t.CyclicDependencyError=l;var f=function(e){function t(t,n,r,i){e.call(this,"DI Exception",n,r,null),this.keys=[i],this.injectors=[t]}return o(t,e),t.prototype.addKey=function(e,t){this.injectors.push(e),this.keys.push(t)},Object.defineProperty(t.prototype,"wrapperMessage",{get:function(){var e=u.stringify(s.ListWrapper.first(this.keys).token);return"Error during instantiation of "+e+"!"+i(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),t}(a.WrappedException);t.InstantiationError=f;var h=function(e){function t(t){e.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+t)}return o(t,e),t}(a.BaseException);t.InvalidProviderError=h;var d=function(e){function t(n,r){e.call(this,t._genMessage(n,r))}return o(t,e),t._genMessage=function(e,t){for(var n=[],r=0,i=t.length;r0)e.bootstrapFactories.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new g.BaseException("The module "+_.stringify(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}},t.decorators=[{type:w.Injectable}],t.ctorParameters=[{type:w.Injector}],t}(I);t.PlatformRef_=N;var k=function(){function e(){}return Object.defineProperty(e.prototype,"injector",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zone",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),e}();t.ApplicationRef=k;var D=function(e){function t(t,n,r,i,s,a,u,c){var p=this;e.call(this),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=a,this._testabilityRegistry=u,this._testability=c,this._bootstrapListeners=[],this._disposeListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._enforceNoNewChanges=o(),this._zone.onMicrotaskEmpty.subscribe({next:function(){p._zone.run(function(){p.tick()})}})}return m(t,e),t.prototype.registerBootstrapListener=function(e){this._bootstrapListeners.push(e)},t.prototype.registerDisposeListener=function(e){this._disposeListeners.push(e)},t.prototype.registerChangeDetector=function(e){this._changeDetectorRefs.push(e)},t.prototype.unregisterChangeDetector=function(e){v.ListWrapper.remove(this._changeDetectorRefs,e)},t.prototype.waitForAsyncInitializers=function(){return this._initStatus.donePromise},t.prototype.run=function(e){var t=this;return this._zone.run(function(){return d(t._exceptionHandler,e)})},t.prototype.bootstrap=function(e){var t=this;if(!this._initStatus.done)throw new g.BaseException("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var n;n=e instanceof P.ComponentFactory?e:this._componentFactoryResolver.resolveComponentFactory(e),this._rootComponentTypes.push(n.componentType);var r=n.create(this._injector,[],n.selector);r.onDestroy(function(){t._unloadComponent(r)});var i=r.injector.get(O.Testability,null);return _.isPresent(i)&&r.injector.get(O.TestabilityRegistry).registerApplication(r.location.nativeElement,i),this._loadComponent(r),o()&&this._console.log("Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode."),r},t.prototype._loadComponent=function(e){this._changeDetectorRefs.push(e.changeDetectorRef),this.tick(),this._rootComponents.push(e);var t=this._injector.get(b.APP_BOOTSTRAP_LISTENER,[]).concat(this._bootstrapListeners);t.forEach(function(t){return t(e)})},t.prototype._unloadComponent=function(e){v.ListWrapper.contains(this._rootComponents,e)&&(this.unregisterChangeDetector(e.changeDetectorRef),v.ListWrapper.remove(this._rootComponents,e))},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),t.prototype.tick=function(){if(this._runningTick)throw new g.BaseException("ApplicationRef.tick is called recursively");var e=t._tickScope();try{this._runningTick=!0,this._changeDetectorRefs.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(e){return e.checkNoChanges()})}finally{this._runningTick=!1,T.wtfLeave(e)}},t.prototype.ngOnDestroy=function(){v.ListWrapper.clone(this._rootComponents).forEach(function(e){return e.destroy()}),this._disposeListeners.forEach(function(e){return e()})},t.prototype.dispose=function(){this.ngOnDestroy()},Object.defineProperty(t.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),t._tickScope=T.wtfCreateScope("ApplicationRef#tick()"),t.decorators=[{type:w.Injectable}],t.ctorParameters=[{type:M.NgZone},{type:C.Console},{type:w.Injector},{type:g.ExceptionHandler},{type:A.ComponentFactoryResolver},{type:E.ApplicationInitStatus},{type:O.TestabilityRegistry,decorators:[{type:w.Optional}]},{type:O.Testability,decorators:[{type:w.Optional}]}],t}(k);t.ApplicationRef_=D},function(e,t,n){"use strict";var r=n(15),i=n(26);t.APP_INITIALIZER=new i.OpaqueToken("Application Initializer");var o=function(){function e(e){var t=this;this._done=!1;var n=[];if(e)for(var i=0;i"+s.stringify(this.currentIndex)+"]"},e}();t.CollectionChangeRecord=p;var l=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t"+o.stringify(this.currentValue)+"]"},e}();t.KeyValueChangeRecord=u},function(e,t,n){"use strict";var r=n(26),i=n(31),o=n(28),s=n(15),a=function(){function e(e){this.factories=e}return e.create=function(t,n){if(s.isPresent(n)){var r=i.ListWrapper.clone(n.factories);return t=t.concat(r),new e(t)}return new e(t)},e.extend=function(t){return new r.Provider(e,{useFactory:function(n){if(s.isBlank(n))throw new o.BaseException("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new r.SkipSelfMetadata,new r.OptionalMetadata]]})},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(s.isPresent(t))return t;throw new o.BaseException("Cannot find a differ supporting object '"+e+"' of type '"+s.getTypeNameForDebugging(e)+"'")},e}();t.IterableDiffers=a},function(e,t,n){"use strict";var r=n(26),i=n(31),o=n(28),s=n(15),a=function(){function e(e){this.factories=e}return e.create=function(t,n){if(s.isPresent(n)){var r=i.ListWrapper.clone(n.factories);return t=t.concat(r),new e(t)}return new e(t)},e.extend=function(t){return new r.Provider(e,{useFactory:function(n){if(s.isBlank(n))throw new o.BaseException("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new r.SkipSelfMetadata,new r.OptionalMetadata]]})},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(s.isPresent(t))return t;throw new o.BaseException("Cannot find a differ supporting object '"+e+"'")},e}();t.KeyValueDiffers=a},function(e,t,n){"use strict";function r(e,t){return i.isListLikeIterable(e)&&i.isListLikeIterable(t)?i.areIterablesEqual(e,t,r):!(i.isListLikeIterable(e)||o.isPrimitive(e)||i.isListLikeIterable(t)||o.isPrimitive(t))||o.looseIdentical(e,t)}var i=n(31),o=n(15),s=n(15);t.looseIdentical=s.looseIdentical,t.UNINITIALIZED={toString:function(){return"CD_INIT_VALUE"}},t.devModeEqual=r;var a=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e}();t.WrappedValue=a;var u=function(){function e(){this.hasWrappedValue=!1}return e.prototype.unwrap=function(e){return e instanceof a?(this.hasWrappedValue=!0,e.wrapped):e},e.prototype.reset=function(){this.hasWrappedValue=!1},e}();t.ValueUnwrapper=u;var c=function(){function e(e,t){this.previousValue=e,this.currentValue=t}return e.prototype.isFirstChange=function(){return this.previousValue===t.UNINITIALIZED},e}();t.SimpleChange=c},function(e,t){"use strict";var n=function(){function e(){}return e}();t.ChangeDetectorRef=n},function(e,t,n){"use strict";var r=n(28),i=function(){function e(e,t,n,r,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o}return e}();t.RenderComponentType=i;var o=function(){function e(){}return Object.defineProperty(e.prototype,"injector",{get:function(){return r.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return r.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return r.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return r.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return r.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return r.unimplemented()},enumerable:!0,configurable:!0}),e}();t.RenderDebugInfo=o;var s=function(){function e(){}return e}();t.Renderer=s;var a=function(){function e(){}return e}();t.RootRenderer=a},function(e,t){"use strict";!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(t.SecurityContext||(t.SecurityContext={}));var n=(t.SecurityContext,function(){function e(){}return e}());t.SanitizationService=n},function(e,t,n){"use strict";var r=n(31),i=n(28),o=n(15),s=n(59),a=n(60),u=n(63),c=function(){function e(e,t,n,r){this.index=e,this.parentIndex=t,this.parentView=n,this.nativeElement=r,this.nestedViews=null,this.componentView=null}return Object.defineProperty(e.prototype,"elementRef",{get:function(){return new s.ElementRef(this.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vcRef",{get:function(){return new a.ViewContainerRef_(this)},enumerable:!0,configurable:!0}),e.prototype.initComponent=function(e,t,n){this.component=e,this.componentConstructorViewQueries=t,this.componentView=n},Object.defineProperty(e.prototype,"parentInjector",{get:function(){return this.parentView.injector(this.parentIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this.parentView.injector(this.index)},enumerable:!0,configurable:!0}),e.prototype.mapNestedViews=function(e,t){var n=[];return o.isPresent(this.nestedViews)&&this.nestedViews.forEach(function(r){r.clazz===e&&n.push(t(r))}),n},e.prototype.moveView=function(e,t){var n=this.nestedViews.indexOf(e);if(e.type===u.ViewType.COMPONENT)throw new i.BaseException("Component views can't be moved!");var s=this.nestedViews;null==s&&(s=[],this.nestedViews=s),r.ListWrapper.removeAt(s,n),r.ListWrapper.insert(s,t,e);var a;if(t>0){var c=s[t-1];a=c.lastRootNode}else a=this.nativeElement;o.isPresent(a)&&e.renderer.attachViewAfter(a,e.flatRootNodes),e.markContentChildAsMoved(this)},e.prototype.attachView=function(e,t){if(e.type===u.ViewType.COMPONENT)throw new i.BaseException("Component views can't be moved!");var n=this.nestedViews;null==n&&(n=[],this.nestedViews=n),r.ListWrapper.insert(n,t,e);var s;if(t>0){var a=n[t-1];s=a.lastRootNode}else s=this.nativeElement;o.isPresent(s)&&e.renderer.attachViewAfter(s,e.flatRootNodes),e.addToContentChildren(this)},e.prototype.detachView=function(e){var t=r.ListWrapper.removeAt(this.nestedViews,e);if(t.type===u.ViewType.COMPONENT)throw new i.BaseException("Component views can't be moved!");return t.detach(),t.removeFromContentChildren(this),t},e}();t.AppElement=c},function(e,t){"use strict";var n=function(){function e(e){this.nativeElement=e}return e}();t.ElementRef=n},function(e,t,n){"use strict";var r=n(31),i=n(28),o=n(15),s=n(61),a=function(){function e(){}return Object.defineProperty(e.prototype,"element",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return i.unimplemented(); -},enumerable:!0,configurable:!0}),e}();t.ViewContainerRef=a;var u=function(){function e(e){this._element=e,this._createComponentInContainerScope=s.wtfCreateScope("ViewContainerRef#createComponent()"),this._insertScope=s.wtfCreateScope("ViewContainerRef#insert()"),this._removeScope=s.wtfCreateScope("ViewContainerRef#remove()"),this._detachScope=s.wtfCreateScope("ViewContainerRef#detach()")}return e.prototype.get=function(e){return this._element.nestedViews[e].ref},Object.defineProperty(e.prototype,"length",{get:function(){var e=this._element.nestedViews;return o.isPresent(e)?e.length:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._element.elementRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this._element.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){return this._element.parentInjector},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=-1);var r=e.createEmbeddedView(t);return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r){void 0===t&&(t=-1),void 0===n&&(n=null),void 0===r&&(r=null);var i=this._createComponentInContainerScope(),a=o.isPresent(n)?n:this._element.parentInjector,u=e.create(a,r);return this.insert(u.hostView,t),s.wtfLeave(i,u)},e.prototype.insert=function(e,t){void 0===t&&(t=-1);var n=this._insertScope();t==-1&&(t=this.length);var r=e;return this._element.attachView(r.internalView,t),s.wtfLeave(n,r)},e.prototype.move=function(e,t){var n=this._insertScope();if(t!=-1){var r=e;return this._element.moveView(r.internalView,t),s.wtfLeave(n,r)}},e.prototype.indexOf=function(e){return r.ListWrapper.indexOf(this._element.nestedViews,e.internalView)},e.prototype.remove=function(e){void 0===e&&(e=-1);var t=this._removeScope();e==-1&&(e=this.length-1);var n=this._element.detachView(e);n.destroy(),s.wtfLeave(t)},e.prototype.detach=function(e){void 0===e&&(e=-1);var t=this._detachScope();e==-1&&(e=this.length-1);var n=this._element.detachView(e);return s.wtfLeave(t,n.ref)},e.prototype.clear=function(){for(var e=this.length-1;e>=0;e--)this.remove(e)},e}();t.ViewContainerRef_=u},function(e,t,n){"use strict";function r(e,t){return null}var i=n(62);t.wtfEnabled=i.detectWTF(),t.wtfCreateScope=t.wtfEnabled?i.createScope:function(e,t){return r},t.wtfLeave=t.wtfEnabled?i.leave:function(e,t){return t},t.wtfStartTimeRange=t.wtfEnabled?i.startTimeRange:function(e,t){return null},t.wtfEndTimeRange=t.wtfEnabled?i.endTimeRange:function(e){return null}},function(e,t,n){"use strict";function r(){var e=p.global.wtf;return!(!e||!(u=e.trace))&&(c=u.events,!0)}function i(e,t){return void 0===t&&(t=null),c.createScope(e,t)}function o(e,t){return u.leaveScope(e,t),t}function s(e,t){return u.beginTimeRange(e,t)}function a(e){u.endTimeRange(e)}var u,c,p=n(15);t.detectWTF=r,t.createScope=i,t.leave=o,t.startTimeRange=s,t.endTimeRange=a},function(e,t){"use strict";!function(e){e[e.HOST=0]="HOST",e[e.COMPONENT=1]="COMPONENT",e[e.EMBEDDED=2]="EMBEDDED"}(t.ViewType||(t.ViewType={}));t.ViewType},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(54),o=n(28),s=function(e){function t(t,n,r){var o="Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";t===i.UNINITIALIZED&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),e.call(this,o)}return r(t,e),t}(o.BaseException);t.ExpressionChangedAfterItHasBeenCheckedException=s;var a=function(e){function t(t,n,r){e.call(this,"Error in "+r.source,t,n,r)}return r(t,e),t}(o.WrappedException);t.ViewWrappedException=a;var u=function(e){function t(t){e.call(this,"Attempt to use a destroyed view: "+t)}return r(t,e),t}(o.BaseException);t.ViewDestroyedException=u},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(28),o=n(15),s=function(e){function t(t){e.call(this,"No component factory found for "+o.stringify(t)),this.component=t}return r(t,e),t}(i.BaseException);t.NoComponentFactoryError=s;var a=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw new s(e)},e}(),u=function(){function e(){}return e.NULL=new a,e}();t.ComponentFactoryResolver=u;var c=function(){function e(e,t){this._parent=t,this._factories=new Map;for(var n=0;n0?i.ReflectiveInjector.fromResolvedProviders(n,s):s;return t.createComponent(e,t.length,a,r)})},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:s.Compiler}],t}(a);t.DynamicComponentLoader_=u},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(27),o=n(28),s=n(15),a=n(65),u=function(){function e(){}return Object.defineProperty(e.prototype,"injector",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),e}();t.NgModuleRef=u;var c=function(){function e(e,t){this._injectorClass=e,this._moduleype=t}return Object.defineProperty(e.prototype,"moduleType",{get:function(){return this._moduleype},enumerable:!0,configurable:!0}),e.prototype.create=function(e){e||(e=i.Injector.NULL);var t=new this._injectorClass(e);return t.create(),t},e}();t.NgModuleFactory=c;var p=new Object,l=function(e){function t(t,n,r){e.call(this,n,t.get(a.ComponentFactoryResolver,a.ComponentFactoryResolver.NULL)),this.parent=t,this.bootstrapFactories=r,this._destroyListeners=[],this._destroyed=!1}return r(t,e),t.prototype.create=function(){this.instance=this.createInternal()},t.prototype.get=function(e,t){if(void 0===t&&(t=i.THROW_IF_NOT_FOUND),e===i.Injector||e===a.ComponentFactoryResolver)return this;var n=this.getInternal(e,p);return n===p?this.parent.get(e,t):n},Object.defineProperty(t.prototype,"injector",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new o.BaseException("The ng module "+s.stringify(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,this.destroyInternal(),this._destroyListeners.forEach(function(e){return e()})},t.prototype.onDestroy=function(e){this._destroyListeners.push(e)},t}(a.CodegenComponentFactoryResolver);t.NgModuleInjector=l},function(e,t){"use strict";var n=function(){function e(){}return e}();t.NgModuleFactoryLoader=n},function(e,t,n){"use strict";var r=n(68),i=n(31),o=n(15),s=function(){function e(){this._dirty=!0,this._results=[],this._emitter=new r.EventEmitter}return Object.defineProperty(e.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[o.getSymbolIterator()]=function(){return this._results[o.getSymbolIterator()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=i.ListWrapper.flatten(e),this._dirty=!1},e.prototype.notifyOnChanges=function(){this._emitter.emit(this)},e.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(e.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),e}();t.QueryList=s},function(e,t,n){"use strict";function r(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var i=n(26),o=n(15),s=n(46),a="#",u=".ngfactory",c="NgFactory",p=function(){function e(e){this._compiler=e}return e.prototype.load=function(e){var t=this._compiler instanceof s.Compiler;return t?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,n=e.split(a),i=n[0],s=n[1];return void 0===s&&(s="default"),o.global.System["import"](i).then(function(e){return e[s]}).then(function(e){return r(e,i,s)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=e.split(a),n=t[0],i=t[1];return void 0===i&&(i="default"),o.global.System["import"](n+u).then(function(e){return e[i+c]}).then(function(e){return r(e,n,i)})},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:s.Compiler}],e}();t.SystemJsNgModuleLoader=p},function(e,t,n){"use strict";var r=n(45),i=n(26),o=n(15),s=n(92),a="#",u=function(){function e(e,t){this._resolver=e,this._console=t}return e.prototype.resolveComponent=function(e){var t=this;if(o.isString(e)){this._console.warn(s.ComponentResolver.LazyLoadingDeprecationMsg); -var n=e.split(a),r=n[0],i=n[1];return void 0===i&&(i="default"),o.global.System["import"](r).then(function(e){return t._resolver.resolveComponent(e[i])})}return this._resolver.resolveComponent(e)},e.prototype.clearCache=function(){},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:s.ComponentResolver},{type:r.Console}],e}();t.SystemJsComponentResolver=u;var c=".ngfactory",p="NgFactory",l=function(){function e(e){this._console=e}return e.prototype.resolveComponent=function(e){if(o.isString(e)){this._console.warn(s.ComponentResolver.LazyLoadingDeprecationMsg);var t=e.split(a),n=t[0],r=t[1];return o.global.System["import"](n+c).then(function(e){return e[r+p]})}return Promise.resolve(null)},e.prototype.clearCache=function(){},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:r.Console}],e}();t.SystemJsCmpFactoryResolver=l},function(e,t){"use strict";var n=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},r=function(){function e(){}return Object.defineProperty(e.prototype,"elementRef",{get:function(){return null},enumerable:!0,configurable:!0}),e}();t.TemplateRef=r;var i=function(e){function t(t,n){e.call(this),this._appElement=t,this._viewFactory=n}return n(t,e),t.prototype.createEmbeddedView=function(e){var t=this._viewFactory(this._appElement.parentView.viewUtils,this._appElement.parentInjector,this._appElement);return t.create(e||{},null,null),t.ref},Object.defineProperty(t.prototype,"elementRef",{get:function(){return this._appElement.elementRef},enumerable:!0,configurable:!0}),t}(r);t.TemplateRef_=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(21),o=n(28),s=function(){function e(){}return Object.defineProperty(e.prototype,"destroyed",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),e}();t.ViewRef=s;var a=function(e){function t(){e.apply(this,arguments)}return r(t,e),Object.defineProperty(t.prototype,"context",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootNodes",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),t}(s);t.EmbeddedViewRef=a;var u=function(){function e(e){this._view=e,this._view=e,this._originalMode=this._view.cdMode}return Object.defineProperty(e.prototype,"internalView",{get:function(){return this._view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootNodes",{get:function(){return this._view.flatRootNodes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._view.destroyed},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){this._view.markPathToRootAsCheckOnce()},e.prototype.detach=function(){this._view.cdMode=i.ChangeDetectorStatus.Detached},e.prototype.detectChanges=function(){this._view.detectChanges(!1)},e.prototype.checkNoChanges=function(){this._view.detectChanges(!0)},e.prototype.reattach=function(){this._view.cdMode=this._originalMode,this.markForCheck()},e.prototype.onDestroy=function(e){this._view.disposables.push(e)},e.prototype.destroy=function(){this._view.destroy()},e}();t.ViewRef_=u},function(e,t,n){"use strict";function r(e){return e.map(function(e){return e.nativeElement})}function i(e,t,n){e.childNodes.forEach(function(e){e instanceof y&&(t(e)&&n.push(e),i(e,t,n))})}function o(e,t,n){e instanceof y&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof y&&o(e,t,n)})}function s(e){return m.get(e)}function a(){return l.MapWrapper.values(m)}function u(e){m.set(e.nativeNode,e)}function c(e){m["delete"](e.nativeNode)}var p=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},l=n(31),f=n(15),h=function(){function e(e,t){this.name=e,this.callback=t}return e}();t.EventListener=h;var d=function(){function e(e,t,n){this._debugInfo=n,this.nativeNode=e,f.isPresent(t)&&t instanceof y?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return f.isPresent(this._debugInfo)?this._debugInfo.injector:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return f.isPresent(this._debugInfo)?this._debugInfo.component:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return f.isPresent(this._debugInfo)?this._debugInfo.context:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return f.isPresent(this._debugInfo)?this._debugInfo.references:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return f.isPresent(this._debugInfo)?this._debugInfo.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return f.isPresent(this._debugInfo)?this._debugInfo.source:null},enumerable:!0,configurable:!0}),e.prototype.inject=function(e){return this.injector.get(e)},e}();t.DebugNode=d;var y=function(e){function t(t,n,r){e.call(this,t,n,r),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}return p(t,e),t.prototype.addChild=function(e){f.isPresent(e)&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);t!==-1&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n=this.childNodes.indexOf(e);if(n!==-1){var r=this.childNodes.slice(0,n+1),i=this.childNodes.slice(n+1);this.childNodes=l.ListWrapper.concat(l.ListWrapper.concat(r,t),i);for(var o=0;o0?t[0]:null},t.prototype.queryAll=function(e){var t=[];return i(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return o(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){var e=[];return this.childNodes.forEach(function(n){n instanceof t&&e.push(n)}),e},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(d);t.DebugElement=y,t.asNativeElements=r;var m=new Map;t.getDebugNode=s,t.getAllDebugNodes=a,t.indexDebugNode=u,t.removeDebugNodeFromIndex=c},function(e,t,n){"use strict";var r=n(49);t.ChangeDetectionStrategy=r.ChangeDetectionStrategy,t.ChangeDetectorRef=r.ChangeDetectorRef,t.CollectionChangeRecord=r.CollectionChangeRecord,t.DefaultIterableDiffer=r.DefaultIterableDiffer,t.IterableDiffers=r.IterableDiffers,t.KeyValueChangeRecord=r.KeyValueChangeRecord,t.KeyValueDiffers=r.KeyValueDiffers,t.SimpleChange=r.SimpleChange,t.WrappedValue=r.WrappedValue},function(e,t,n){"use strict";var r=n(26);t.PLATFORM_DIRECTIVES=new r.OpaqueToken("Platform Directives"),t.PLATFORM_PIPES=new r.OpaqueToken("Platform Pipes")},function(e,t,n){"use strict";function r(){return s.reflector}var i=n(42),o=n(45),s=n(36),a=n(39),u=n(66),c=[i.PlatformRef_,{provide:i.PlatformRef,useExisting:i.PlatformRef_},{provide:s.Reflector,useFactory:r,deps:[]},{provide:a.ReflectorReader,useExisting:s.Reflector},u.TestabilityRegistry,o.Console];t.platformCore=i.createPlatformFactory(null,"core",c),t.PLATFORM_COMMON_PROVIDERS=c},function(e,t,n){"use strict";function r(){return u.defaultIterableDiffers}function i(){return u.defaultKeyValueDiffers}var o=n(43),s=n(42),a=n(44),u=n(49),c=n(46),p=n(92),l=n(93),f=n(48),h=n(12);t._iterableDiffersFactory=r,t._keyValueDiffersFactory=i,t.APPLICATION_COMMON_PROVIDERS=[];var d=function(){function e(){}return e.decorators=[{type:h.NgModule,args:[{providers:[s.ApplicationRef_,{provide:s.ApplicationRef,useExisting:s.ApplicationRef_},o.ApplicationInitStatus,c.Compiler,{provide:p.ComponentResolver,useExisting:c.Compiler},a.APP_ID_RANDOM_PROVIDER,f.ViewUtils,{provide:u.IterableDiffers,useFactory:r},{provide:u.KeyValueDiffers,useFactory:i},{provide:l.DynamicComponentLoader,useClass:l.DynamicComponentLoader_}]}]}],e}();t.ApplicationModule=d},function(e,t,n){"use strict";var r=n(107),i=n(108),o=n(110),s=n(111),a=n(112),u=n(113),c=n(115),p=n(54),l=n(21),f=n(45),h=n(116),d=n(41),y=n(35),m=n(65),v=n(117),g=n(58),_=n(94),E=n(99),b=n(118),C=n(63),w=n(48),S=n(23),P=n(24),A=n(121),T=n(36),O=n(37),M=n(39),x=n(56),R=n(19);t.__core_private__={isDefaultChangeDetectionStrategy:l.isDefaultChangeDetectionStrategy,ChangeDetectorStatus:l.ChangeDetectorStatus,CHANGE_DETECTION_STRATEGY_VALUES:l.CHANGE_DETECTION_STRATEGY_VALUES,constructDependencies:y.constructDependencies,LifecycleHooks:S.LifecycleHooks,LIFECYCLE_HOOKS_VALUES:S.LIFECYCLE_HOOKS_VALUES,ReflectorReader:M.ReflectorReader,CodegenComponentFactoryResolver:m.CodegenComponentFactoryResolver,AppElement:g.AppElement,AppView:b.AppView,DebugAppView:b.DebugAppView,NgModuleInjector:_.NgModuleInjector,ViewType:C.ViewType,MAX_INTERPOLATION_VALUES:w.MAX_INTERPOLATION_VALUES,checkBinding:w.checkBinding,flattenNestedViewRenderNodes:w.flattenNestedViewRenderNodes,interpolate:w.interpolate,ViewUtils:w.ViewUtils,VIEW_ENCAPSULATION_VALUES:P.VIEW_ENCAPSULATION_VALUES,DebugContext:v.DebugContext,StaticNodeDebugInfo:v.StaticNodeDebugInfo,devModeEqual:p.devModeEqual,UNINITIALIZED:p.UNINITIALIZED,ValueUnwrapper:p.ValueUnwrapper,RenderDebugInfo:x.RenderDebugInfo,TemplateRef_:E.TemplateRef_,wtfInit:A.wtfInit,ReflectionCapabilities:O.ReflectionCapabilities,makeDecorator:R.makeDecorator,DebugDomRootRenderer:h.DebugDomRootRenderer,createProvider:d.createProvider,isProviderLiteral:d.isProviderLiteral,EMPTY_ARRAY:w.EMPTY_ARRAY,EMPTY_MAP:w.EMPTY_MAP,pureProxy1:w.pureProxy1,pureProxy2:w.pureProxy2,pureProxy3:w.pureProxy3,pureProxy4:w.pureProxy4,pureProxy5:w.pureProxy5,pureProxy6:w.pureProxy6,pureProxy7:w.pureProxy7,pureProxy8:w.pureProxy8,pureProxy9:w.pureProxy9,pureProxy10:w.pureProxy10,castByValue:w.castByValue,Console:f.Console,reflector:T.reflector,Reflector:T.Reflector,NoOpAnimationPlayer:s.NoOpAnimationPlayer,AnimationPlayer:s.AnimationPlayer,AnimationSequencePlayer:a.AnimationSequencePlayer,AnimationGroupPlayer:i.AnimationGroupPlayer,AnimationKeyframe:o.AnimationKeyframe,prepareFinalAnimationStyles:u.prepareFinalAnimationStyles,balanceAnimationKeyframes:u.balanceAnimationKeyframes,flattenStyles:u.flattenStyles,clearStyles:u.clearStyles,renderStyles:u.renderStyles,collectAndResolveStyles:u.collectAndResolveStyles,AnimationStyles:c.AnimationStyles,ANY_STATE:r.ANY_STATE,DEFAULT_STATE:r.DEFAULT_STATE,EMPTY_STATE:r.EMPTY_STATE,FILL_STYLE_FLAG:r.FILL_STYLE_FLAG}},function(e,t){"use strict";t.FILL_STYLE_FLAG="true",t.ANY_STATE="*",t.DEFAULT_STATE="*",t.EMPTY_STATE="void"},function(e,t,n){"use strict";var r=n(15),i=n(109),o=function(){function e(e){var t=this;this._players=e,this._subscriptions=[],this._finished=!1,this._started=!1,this.parentPlayer=null;var n=0,i=this._players.length;0==i?r.scheduleMicroTask(function(){return t._onFinish()}):this._players.forEach(function(e){e.parentPlayer=t,e.onDone(function(){++n>=i&&t._onFinish()})})}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,r.isPresent(this.parentPlayer)||this.destroy(),this._subscriptions.forEach(function(e){return e()}),this._subscriptions=[])},e.prototype.init=function(){this._players.forEach(function(e){return e.init()})},e.prototype.onDone=function(e){this._subscriptions.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){r.isPresent(this.parentPlayer)||this.init(),this._started=!0,this._players.forEach(function(e){return e.play()})},e.prototype.pause=function(){this._players.forEach(function(e){return e.pause()})},e.prototype.restart=function(){this._players.forEach(function(e){return e.restart()})},e.prototype.finish=function(){this._onFinish(),this._players.forEach(function(e){return e.finish()})},e.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(e){return e.destroy()})},e.prototype.reset=function(){this._players.forEach(function(e){return e.reset()})},e.prototype.setPosition=function(e){this._players.forEach(function(t){t.setPosition(e)})},e.prototype.getPosition=function(){var e=0;return this._players.forEach(function(t){var n=t.getPosition();e=i.Math.min(n,e)}),e},e}();t.AnimationGroupPlayer=o},function(e,t,n){"use strict";var r=n(15);t.Math=r.global.Math,t.NaN=typeof t.NaN},function(e,t){"use strict";var n=function(){function e(e,t){this.offset=e,this.styles=t}return e}();t.AnimationKeyframe=n},function(e,t,n){"use strict";var r=n(28),i=n(15),o=function(){function e(){}return Object.defineProperty(e.prototype,"parentPlayer",{get:function(){throw new r.BaseException("NOT IMPLEMENTED: Base Class")},set:function(e){throw new r.BaseException("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),e}();t.AnimationPlayer=o;var s=function(){function e(){var e=this;this._subscriptions=[],this._started=!1,this.parentPlayer=null,i.scheduleMicroTask(function(){return e._onFinish()})}return e.prototype._onFinish=function(){this._subscriptions.forEach(function(e){e()}),this._subscriptions=[]},e.prototype.onDone=function(e){this._subscriptions.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this._started=!0},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e}();t.NoOpAnimationPlayer=s},function(e,t,n){"use strict";var r=n(15),i=n(111),o=function(){function e(e){var t=this;this._players=e,this._currentIndex=0,this._subscriptions=[],this._finished=!1,this._started=!1,this.parentPlayer=null,this._players.forEach(function(e){e.parentPlayer=t}),this._onNext(!1)}return e.prototype._onNext=function(e){var t=this;if(!this._finished)if(0==this._players.length)this._activePlayer=new i.NoOpAnimationPlayer,r.scheduleMicroTask(function(){return t._onFinish()});else if(this._currentIndex>=this._players.length)this._activePlayer=new i.NoOpAnimationPlayer,this._onFinish();else{var n=this._players[this._currentIndex++];n.onDone(function(){return t._onNext(!0)}),this._activePlayer=n,e&&n.play()}},e.prototype._onFinish=function(){this._finished||(this._finished=!0,r.isPresent(this.parentPlayer)||this.destroy(),this._subscriptions.forEach(function(e){return e()}),this._subscriptions=[])},e.prototype.init=function(){this._players.forEach(function(e){return e.init()})},e.prototype.onDone=function(e){this._subscriptions.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){r.isPresent(this.parentPlayer)||this.init(),this._started=!0,this._activePlayer.play()},e.prototype.pause=function(){this._activePlayer.pause()},e.prototype.restart=function(){this._players.length>0&&(this.reset(),this._players[0].restart())},e.prototype.reset=function(){this._players.forEach(function(e){return e.reset()})},e.prototype.finish=function(){this._onFinish(),this._players.forEach(function(e){return e.finish()})},e.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(e){return e.destroy()})},e.prototype.setPosition=function(e){this._players[0].setPosition(e)},e.prototype.getPosition=function(){return this._players[0].getPosition()},e}();t.AnimationSequencePlayer=o},function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n=null);var r={};return c.StringMapWrapper.forEach(t,function(e,t){r[t]=e==f.AUTO_STYLE?n:e.toString()}),c.StringMapWrapper.forEach(e,function(e,t){p.isPresent(r[t])||(r[t]=n)}),r}function i(e,t,n){var r=n.length-1,i=n[0],o=u(i.styles.styles),s={},a=!1;c.StringMapWrapper.forEach(e,function(e,t){o[t]||(o[t]=e,s[t]=e,a=!0)});var l=c.StringMapWrapper.merge({},o),h=n[r];c.ListWrapper.insert(h.styles.styles,0,t);var d=u(h.styles.styles),y={},m=!1;return c.StringMapWrapper.forEach(l,function(e,t){p.isPresent(d[t])||(y[t]=f.AUTO_STYLE,m=!0)}),m&&h.styles.styles.push(y),c.StringMapWrapper.forEach(d,function(e,t){p.isPresent(o[t])||(s[t]=f.AUTO_STYLE,a=!0)}),a&&i.styles.styles.push(s),n}function o(e){var t={};return c.StringMapWrapper.keys(e).forEach(function(e){t[e]=null}),t}function s(e,t){return t.map(function(t){var n={};return c.StringMapWrapper.forEach(t,function(t,r){t==l.FILL_STYLE_FLAG&&(t=e[r],p.isPresent(t)||(t=f.AUTO_STYLE)),e[r]=t,n[r]=t}),n})}function a(e,t,n){c.StringMapWrapper.forEach(n,function(n,r){t.setElementStyle(e,r,n)})}function u(e){var t={};return e.forEach(function(e){c.StringMapWrapper.forEach(e,function(e,n){t[n]=e})}),t}var c=n(31),p=n(15),l=n(107),f=n(114);t.prepareFinalAnimationStyles=r,t.balanceAnimationKeyframes=i,t.clearStyles=o,t.collectAndResolveStyles=s,t.renderStyles=a,t.flattenStyles=u},function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=null);var n=t;if(!h.isPresent(n)){var r={};n=new E([r],1)}return new b(e,n)}function i(e){return new S(e)}function o(e){return new w(e)}function s(e){var t,n=null;return h.isString(e)?t=[e]:(t=h.isArray(e)?e:[e],t.forEach(function(e){var t=e.offset;h.isPresent(t)&&(n=null==n?h.NumberWrapper.parseFloat(t):n)})),new E(t,n)}function a(e,t){return new m(e,t)}function u(e){return new _(e)}function c(e,t){var n=h.isArray(t)?new w(t):t;return new v(e,n)}function p(e,t){return new d(e,t)}var l=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},f=n(28),h=n(15);t.AUTO_STYLE="*";var d=function(){function e(e,t){this.name=e,this.definitions=t}return e}();t.AnimationEntryMetadata=d;var y=function(){function e(){}return e}();t.AnimationStateMetadata=y;var m=function(e){function t(t,n){e.call(this),this.stateNameExpr=t,this.styles=n}return l(t,e),t}(y);t.AnimationStateDeclarationMetadata=m;var v=function(e){function t(t,n){e.call(this),this.stateChangeExpr=t,this.steps=n}return l(t,e),t}(y);t.AnimationStateTransitionMetadata=v;var g=function(){function e(){}return e}();t.AnimationMetadata=g;var _=function(e){function t(t){e.call(this),this.steps=t}return l(t,e),t}(g);t.AnimationKeyframesSequenceMetadata=_;var E=function(e){function t(t,n){void 0===n&&(n=null),e.call(this),this.styles=t,this.offset=n}return l(t,e),t}(g);t.AnimationStyleMetadata=E;var b=function(e){function t(t,n){e.call(this),this.timings=t,this.styles=n}return l(t,e),t}(g);t.AnimationAnimateMetadata=b;var C=function(e){function t(){e.call(this)}return l(t,e),Object.defineProperty(t.prototype,"steps",{get:function(){throw new f.BaseException("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),t}(g);t.AnimationWithStepsMetadata=C;var w=function(e){function t(t){e.call(this),this._steps=t}return l(t,e),Object.defineProperty(t.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),t}(C);t.AnimationSequenceMetadata=w;var S=function(e){function t(t){e.call(this),this._steps=t}return l(t,e),Object.defineProperty(t.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),t}(C);t.AnimationGroupMetadata=S,t.animate=r,t.group=i,t.sequence=o,t.style=s,t.state=a,t.keyframes=u,t.transition=c,t.trigger=p},function(e,t){"use strict";var n=function(){function e(e){this.styles=e}return e}();t.AnimationStyles=n},function(e,t,n){"use strict";var r=n(15),i=n(101),o=function(){function e(e){this._delegate=e}return e.prototype.renderComponent=function(e){return new s(this._delegate.renderComponent(e))},e}();t.DebugDomRootRenderer=o;var s=function(){function e(e){this._delegate=e}return e.prototype.selectRootElement=function(e,t){var n=this._delegate.selectRootElement(e,t),r=new i.DebugElement(n,null,t);return i.indexDebugNode(r),n},e.prototype.createElement=function(e,t,n){var r=this._delegate.createElement(e,t,n),o=new i.DebugElement(r,i.getDebugNode(e),n);return o.name=t,i.indexDebugNode(o),r},e.prototype.createViewRoot=function(e){return this._delegate.createViewRoot(e)},e.prototype.createTemplateAnchor=function(e,t){var n=this._delegate.createTemplateAnchor(e,t),r=new i.DebugNode(n,i.getDebugNode(e),t);return i.indexDebugNode(r),n},e.prototype.createText=function(e,t,n){var r=this._delegate.createText(e,t,n),o=new i.DebugNode(r,i.getDebugNode(e),n);return i.indexDebugNode(o),r},e.prototype.projectNodes=function(e,t){var n=i.getDebugNode(e);if(r.isPresent(n)&&n instanceof i.DebugElement){var o=n;t.forEach(function(e){o.addChild(i.getDebugNode(e))})}this._delegate.projectNodes(e,t)},e.prototype.attachViewAfter=function(e,t){var n=i.getDebugNode(e);if(r.isPresent(n)){var o=n.parent;if(t.length>0&&r.isPresent(o)){var s=[];t.forEach(function(e){return s.push(i.getDebugNode(e))}),o.insertChildrenAfter(n,s)}}this._delegate.attachViewAfter(e,t)},e.prototype.detachView=function(e){e.forEach(function(e){var t=i.getDebugNode(e);r.isPresent(t)&&r.isPresent(t.parent)&&t.parent.removeChild(t)}),this._delegate.detachView(e)},e.prototype.destroyView=function(e,t){t.forEach(function(e){i.removeDebugNodeFromIndex(i.getDebugNode(e))}),this._delegate.destroyView(e,t)},e.prototype.listen=function(e,t,n){var o=i.getDebugNode(e);return r.isPresent(o)&&o.listeners.push(new i.EventListener(t,n)),this._delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this._delegate.listenGlobal(e,t,n)},e.prototype.setElementProperty=function(e,t,n){var o=i.getDebugNode(e);r.isPresent(o)&&o instanceof i.DebugElement&&(o.properties[t]=n),this._delegate.setElementProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var o=i.getDebugNode(e);r.isPresent(o)&&o instanceof i.DebugElement&&(o.attributes[t]=n),this._delegate.setElementAttribute(e,t,n)},e.prototype.setBindingDebugInfo=function(e,t,n){this._delegate.setBindingDebugInfo(e,t,n)},e.prototype.setElementClass=function(e,t,n){var o=i.getDebugNode(e);r.isPresent(o)&&o instanceof i.DebugElement&&(o.classes[t]=n),this._delegate.setElementClass(e,t,n)},e.prototype.setElementStyle=function(e,t,n){var o=i.getDebugNode(e);r.isPresent(o)&&o instanceof i.DebugElement&&(o.styles[t]=n),this._delegate.setElementStyle(e,t,n)},e.prototype.invokeElementMethod=function(e,t,n){this._delegate.invokeElementMethod(e,t,n)},e.prototype.setText=function(e,t){this._delegate.setText(e,t)},e.prototype.animate=function(e,t,n,r,i,o){return this._delegate.animate(e,t,n,r,i,o)},e}();t.DebugDomRenderer=s},function(e,t,n){"use strict";var r=n(31),i=n(15),o=n(63),s=function(){function e(e,t,n){this.providerTokens=e,this.componentToken=t,this.refTokens=n}return e}();t.StaticNodeDebugInfo=s;var a=function(){function e(e,t,n,r){this._view=e,this._nodeIndex=t,this._tplRow=n,this._tplCol=r}return Object.defineProperty(e.prototype,"_staticNodeInfo",{get:function(){return i.isPresent(this._nodeIndex)?this._view.staticNodeDebugInfos[this._nodeIndex]:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){var e=this._staticNodeInfo;return i.isPresent(e)&&i.isPresent(e.componentToken)?this.injector.get(e.componentToken):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){for(var e=this._view;i.isPresent(e.declarationAppElement)&&e.type!==o.ViewType.COMPONENT;)e=e.declarationAppElement.parentView;return i.isPresent(e.declarationAppElement)?e.declarationAppElement.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this._view.injector(this._nodeIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return i.isPresent(this._nodeIndex)&&this._view.allNodes?this._view.allNodes[this._nodeIndex]:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=this._staticNodeInfo;return i.isPresent(e)?e.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._view.componentType.templateUrl+":"+this._tplRow+":"+this._tplCol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e=this,t={},n=this._staticNodeInfo;if(i.isPresent(n)){var o=n.refTokens;r.StringMapWrapper.forEach(o,function(n,r){var o;o=i.isBlank(n)?e._view.allNodes?e._view.allNodes[e._nodeIndex]:null:e._view.injectorGet(n,e._nodeIndex,null),t[r]=o})}return t},enumerable:!0,configurable:!0}),e}();t.DebugContext=a},function(e,t,n){"use strict";function r(e){var t;if(e instanceof f.AppElement){var n=e;if(t=n.nativeElement,c.isPresent(n.nestedViews))for(var i=n.nestedViews.length-1;i>=0;i--){var o=n.nestedViews[i];o.rootNodesOrAppElements.length>0&&(t=r(o.rootNodesOrAppElements[o.rootNodesOrAppElements.length-1]))}}else t=e;return t}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(108),s=n(119),a=n(49),u=n(31),c=n(15),p=n(61),l=n(117),f=n(58),h=n(120),d=n(64),y=n(100),m=n(63),v=n(48),g=p.wtfCreateScope("AppView#check(ascii id)"),_=function(){function e(e,t,n,r,i,o,a){this.clazz=e,this.componentType=t,this.type=n,this.viewUtils=r,this.parentInjector=i,this.declarationAppElement=o,this.cdMode=a,this.contentChildren=[],this.viewChildren=[],this.viewContainerElement=null,this.numberOfChecks=0,this.animationPlayers=new s.ViewAnimationMap,this.ref=new y.ViewRef_(this),n===m.ViewType.COMPONENT||n===m.ViewType.HOST?this.renderer=r.renderComponent(t):this.renderer=o.parentView.renderer}return Object.defineProperty(e.prototype,"destroyed",{get:function(){return this.cdMode===a.ChangeDetectorStatus.Destroyed},enumerable:!0,configurable:!0}),e.prototype.cancelActiveAnimation=function(e,t,n){if(void 0===n&&(n=!1),n)this.animationPlayers.findAllPlayersByElement(e).forEach(function(e){return e.destroy()});else{var r=this.animationPlayers.find(e,t);c.isPresent(r)&&r.destroy()}},e.prototype.queueAnimation=function(e,t,n){var r=this;this.animationPlayers.set(e,t,n),n.onDone(function(){r.animationPlayers.remove(e,t)})},e.prototype.triggerQueuedAnimations=function(){this.animationPlayers.getAllPlayers().forEach(function(e){e.hasStarted()||e.play()})},e.prototype.create=function(e,t,n){this.context=e;var r;switch(this.type){case m.ViewType.COMPONENT:r=v.ensureSlotCount(t,this.componentType.slotCount);break;case m.ViewType.EMBEDDED:r=this.declarationAppElement.parentView.projectableNodes;break;case m.ViewType.HOST:r=t}return this._hasExternalHostElement=c.isPresent(n),this.projectableNodes=r,this.createInternal(n)},e.prototype.createInternal=function(e){return null},e.prototype.init=function(e,t,n,r){this.rootNodesOrAppElements=e,this.allNodes=t,this.disposables=n,this.subscriptions=r,this.type===m.ViewType.COMPONENT&&(this.declarationAppElement.parentView.viewChildren.push(this),this.dirtyParentQueriesInternal())},e.prototype.selectOrCreateHostElement=function(e,t,n){var r;return r=c.isPresent(t)?this.renderer.selectRootElement(t,n):this.renderer.createElement(null,e,n)},e.prototype.injectorGet=function(e,t,n){return this.injectorGetInternal(e,t,n)},e.prototype.injectorGetInternal=function(e,t,n){return n},e.prototype.injector=function(e){return c.isPresent(e)?new h.ElementInjector(this,e):this.parentInjector},e.prototype.destroy=function(){this._hasExternalHostElement?this.renderer.detachView(this.flatRootNodes):c.isPresent(this.viewContainerElement)&&this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this)),this._destroyRecurse()},e.prototype._destroyRecurse=function(){if(this.cdMode!==a.ChangeDetectorStatus.Destroyed){for(var e=this.contentChildren,t=0;t0?this.rootNodesOrAppElements[this.rootNodesOrAppElements.length-1]:null;return r(e)},enumerable:!0,configurable:!0}),e.prototype.dirtyParentQueriesInternal=function(){},e.prototype.detectChanges=function(e){var t=g(this.clazz);this.cdMode!==a.ChangeDetectorStatus.Checked&&this.cdMode!==a.ChangeDetectorStatus.Errored&&(this.cdMode===a.ChangeDetectorStatus.Destroyed&&this.throwDestroyedError("detectChanges"),this.detectChangesInternal(e),this.cdMode===a.ChangeDetectorStatus.CheckOnce&&(this.cdMode=a.ChangeDetectorStatus.Checked),this.numberOfChecks++,p.wtfLeave(t))},e.prototype.detectChangesInternal=function(e){this.detectContentChildrenChanges(e),this.detectViewChildrenChanges(e)},e.prototype.detectContentChildrenChanges=function(e){for(var t=0;t=t.$TAB&&e<=t.$SPACE||e==t.$NBSP}function r(e){return t.$0<=e&&e<=t.$9}function i(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z}function o(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||r(e)}t.$EOF=0,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=n,t.isDigit=r,t.isAsciiLetter=i,t.isAsciiHexDigit=o},function(e,t){(function(e){"use strict";function n(e){Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function r(e){return e.name?e.name:typeof e}function i(e){return void 0!==e&&null!==e}function o(e){return void 0===e||null===e}function s(e){return"boolean"==typeof e}function a(e){return"number"==typeof e}function u(e){return"string"==typeof e}function c(e){return"function"==typeof e}function p(e){return c(e)}function l(e){return"object"==typeof e&&null!==e}function f(e){return l(e)&&Object.getPrototypeOf(e)===j}function h(e){return i(e)&&c(e.then)}function d(e){return Array.isArray(e)}function y(e){return e instanceof t.Date&&!isNaN(e.valueOf())}function m(){}function v(e){if("string"==typeof e)return e;if(void 0===e||null===e)return""+e;if(e.overriddenName)return e.overriddenName;if(e.name)return e.name;var t=e.toString(),n=t.indexOf("\n");return n===-1?t:t.substring(0,n)}function g(e){return e}function _(e,t){return e}function E(e,t){return e[t]}function b(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function C(e){return e}function w(e){return o(e)?null:e}function S(e){return!o(e)&&e}function P(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function A(e){console.log(e)}function T(e){console.warn(e)}function O(e,t,n){for(var r=t.split("."),o=e;r.length>1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}void 0!==o&&null!==o||(o={}),o[r.shift()]=n}function M(){if(o(z))if(i(D.Symbol)&&i(Symbol.iterator))z=Symbol.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),t=0;t=0&&e[r]==t;r--)n--;e=e.substring(0,n)}return e},e.replace=function(e,t,n){return e.replace(t,n)},e.replaceAll=function(e,t,n){return e.replace(t,n)},e.slice=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=null),e.slice(t,null===n?void 0:n)},e.replaceAllMapped=function(e,t,n){return e.replace(t,function(){for(var e=[],t=0;tt?1:0},e}();t.StringWrapper=F;var B=function(){function e(e){void 0===e&&(e=[]),this.parts=e}return e.prototype.add=function(e){this.parts.push(e)},e.prototype.toString=function(){return this.parts.join("")},e}();t.StringJoiner=B;var U=function(e){function t(t){e.call(this),this.message=t}return V(t,e),t.prototype.toString=function(){return this.message},t}(Error);t.NumberParseError=U;var W=function(){function e(){}return e.toFixed=function(e,t){return e.toFixed(t)},e.equal=function(e,t){return e===t},e.parseIntAutoRadix=function(e){var t=parseInt(e);if(isNaN(t))throw new U("Invalid integer literal when parsing "+e);return t},e.parseInt=function(e,t){if(10==t){if(/^(\-|\+)?[0-9]+$/.test(e))return parseInt(e,t)}else if(16==t){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(e))return parseInt(e,t)}else{var n=parseInt(e,t);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+e+" in base "+t)},e.parseFloat=function(e){return parseFloat(e)},Object.defineProperty(e,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),e.isNumeric=function(e){return!isNaN(e-parseFloat(e))},e.isNaN=function(e){return isNaN(e)},e.isInteger=function(e){return Number.isInteger(e)},e}();t.NumberWrapper=W,t.RegExp=L.RegExp;var H=function(){function e(){}return e.apply=function(e,t){return e.apply(null,t)},e.bind=function(e,t){return e.bind(t)},e}();t.FunctionWrapper=H,t.looseIdentical=b,t.getMapKey=C,t.normalizeBlank=w,t.normalizeBool=S,t.isJsObject=P,t.print=A,t.warn=T;var G=function(){function e(){}return e.parse=function(e){return L.JSON.parse(e)},e.stringify=function(e){return L.JSON.stringify(e,null,2)},e}();t.Json=G;var q=function(){function e(){}return e.create=function(e,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new t.Date(e,n-1,r,i,o,s,a)},e.fromISOString=function(e){return new t.Date(e)},e.fromMillis=function(e){return new t.Date(e)},e.toMillis=function(e){return e.getTime()},e.now=function(){return new t.Date},e.toJson=function(e){return e.toJSON()},e}();t.DateWrapper=q,t.setValueOnPath=O;var z=null;t.getSymbolIterator=M,t.evalExpression=x,t.isPrimitive=R,t.hasConstructor=I,t.escape=N,t.escapeRegExp=k}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){var t=s.escapeRegExp(e.start)+"([\\s\\S]*?)"+s.escapeRegExp(e.end);return new RegExp(t,"g")}var i=n(11),o=n(122),s=n(123),a=n(125),u=n(127),c=n(10),p=function(){function e(e,t){this.strings=e,this.expressions=t}return e}();t.SplitInterpolation=p;var l=function(){function e(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}return e}();t.TemplateBindingParseResult=l;var f=function(){function e(e){this._lexer=e,this.errors=[]}return e.prototype.parseAction=function(e,t,n){void 0===n&&(n=a.DEFAULT_INTERPOLATION_CONFIG),this._checkNoInterpolation(e,t,n);var r=this._lexer.tokenize(this._stripComments(e)),i=new h(e,t,r,(!0),this.errors).parseChain();return new u.ASTWithSource(i,e,t,this.errors)},e.prototype.parseBinding=function(e,t,n){void 0===n&&(n=a.DEFAULT_INTERPOLATION_CONFIG);var r=this._parseBindingAst(e,t,n);return new u.ASTWithSource(r,e,t,this.errors)},e.prototype.parseSimpleBinding=function(e,t,n){void 0===n&&(n=a.DEFAULT_INTERPOLATION_CONFIG);var r=this._parseBindingAst(e,t,n);return d.check(r)||this._reportError("Host binding expression can only contain field access and constants",e,t),new u.ASTWithSource(r,e,t,this.errors)},e.prototype._reportError=function(e,t,n,r){this.errors.push(new u.ParserError(e,t,n,r))},e.prototype._parseBindingAst=function(e,t,n){var r=this._parseQuote(e,t);if(s.isPresent(r))return r;this._checkNoInterpolation(e,t,n);var i=this._lexer.tokenize(this._stripComments(e));return new h(e,t,i,(!1),this.errors).parseChain()},e.prototype._parseQuote=function(e,t){if(s.isBlank(e))return null;var n=e.indexOf(":");if(n==-1)return null;var r=e.substring(0,n).trim();if(!c.isIdentifier(r))return null;var i=e.substring(n+1);return new u.Quote(new u.ParseSpan(0,e.length),r,i,t)},e.prototype.parseTemplateBindings=function(e,t){var n=this._lexer.tokenize(e);return new h(e,t,n,(!1),this.errors).parseTemplateBindings()},e.prototype.parseInterpolation=function(e,t,n){void 0===n&&(n=a.DEFAULT_INTERPOLATION_CONFIG);var r=this.splitInterpolation(e,t,n);if(null==r)return null;for(var i=[],o=0;o0?c.push(f):this._reportError("Blank expressions are not allowed in interpolated strings",e,"at column "+this._findInterpolationErrorColumn(o,l,n)+" in",t)}return new p(u,c)},e.prototype.wrapLiteralPrimitive=function(e,t){return new u.ASTWithSource(new u.LiteralPrimitive(new u.ParseSpan(0,s.isBlank(e)?0:e.length),e),e,t,this.errors)},e.prototype._stripComments=function(e){var t=this._commentStart(e);return s.isPresent(t)?e.substring(0,t).trim():e},e.prototype._commentStart=function(e){for(var t=null,n=0;n1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",e,"at column "+this._findInterpolationErrorColumn(o,1,n)+" in",t)},e.prototype._findInterpolationErrorColumn=function(e,t,n){for(var r="",i=0;i":case"<=":case">=":this.advance();var n=this.parseAdditive();e=new u.Binary(this.span(e.span.start),t,e,n);continue}break}return e},e.prototype.parseAdditive=function(){for(var e=this.parseMultiplicative();this.next.type==c.TokenType.Operator;){var t=this.next.strValue;switch(t){case"+":case"-":this.advance();var n=this.parseMultiplicative();e=new u.Binary(this.span(e.span.start),t,e,n);continue}break}return e},e.prototype.parseMultiplicative=function(){for(var e=this.parsePrefix();this.next.type==c.TokenType.Operator;){var t=this.next.strValue;switch(t){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();e=new u.Binary(this.span(e.span.start),t,e,n);continue}break}return e},e.prototype.parsePrefix=function(){if(this.next.type==c.TokenType.Operator){var e=this.inputIndex,t=this.next.strValue,n=void 0;switch(t){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new u.Binary(this.span(e),t,new u.LiteralPrimitive(new u.ParseSpan(e,e),0),n);case"!":return this.advance(),n=this.parsePrefix(),new u.PrefixNot(this.span(e),n)}}return this.parseCallChain()},e.prototype.parseCallChain=function(){for(var e=this.parsePrimary();;)if(this.optionalCharacter(o.$PERIOD))e=this.parseAccessMemberOrMethodCall(e,!1);else if(this.optionalOperator("?."))e=this.parseAccessMemberOrMethodCall(e,!0);else if(this.optionalCharacter(o.$LBRACKET)){this.rbracketsExpected++;var t=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(o.$RBRACKET),this.optionalOperator("=")){var n=this.parseConditional();e=new u.KeyedWrite(this.span(e.span.start),e,t,n)}else e=new u.KeyedRead(this.span(e.span.start),e,t)}else{if(!this.optionalCharacter(o.$LPAREN))return e;this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(o.$RPAREN),e=new u.FunctionCall(this.span(e.span.start),e,r)}},e.prototype.parsePrimary=function(){var e=this.inputIndex;if(this.optionalCharacter(o.$LPAREN)){this.rparensExpected++;var t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(o.$RPAREN),t}if(this.next.isKeywordNull())return this.advance(),new u.LiteralPrimitive(this.span(e),null);if(this.next.isKeywordUndefined())return this.advance(),new u.LiteralPrimitive(this.span(e),(void 0));if(this.next.isKeywordTrue())return this.advance(),new u.LiteralPrimitive(this.span(e),(!0));if(this.next.isKeywordFalse())return this.advance(),new u.LiteralPrimitive(this.span(e),(!1));if(this.next.isKeywordThis())return this.advance(),new u.ImplicitReceiver(this.span(e));if(this.optionalCharacter(o.$LBRACKET)){this.rbracketsExpected++;var n=this.parseExpressionList(o.$RBRACKET);return this.rbracketsExpected--,this.expectCharacter(o.$RBRACKET),new u.LiteralArray(this.span(e),n)}if(this.next.isCharacter(o.$LBRACE))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new u.ImplicitReceiver(this.span(e)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new u.LiteralPrimitive(this.span(e),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new u.LiteralPrimitive(this.span(e),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new u.EmptyExpr(this.span(e))):(this.error("Unexpected token "+this.next),new u.EmptyExpr(this.span(e)))},e.prototype.parseExpressionList=function(e){var t=[];if(!this.next.isCharacter(e))do t.push(this.parsePipe());while(this.optionalCharacter(o.$COMMA));return t},e.prototype.parseLiteralMap=function(){var e=[],t=[],n=this.inputIndex;if(this.expectCharacter(o.$LBRACE),!this.optionalCharacter(o.$RBRACE)){this.rbracesExpected++;do{var r=this.expectIdentifierOrKeywordOrString();e.push(r),this.expectCharacter(o.$COLON),t.push(this.parsePipe())}while(this.optionalCharacter(o.$COMMA));this.rbracesExpected--,this.expectCharacter(o.$RBRACE)}return new u.LiteralMap(this.span(n),e,t)},e.prototype.parseAccessMemberOrMethodCall=function(e,t){void 0===t&&(t=!1);var n=e.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(o.$LPAREN)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(o.$RPAREN),this.rparensExpected--;var s=this.span(n);return t?new u.SafeMethodCall(s,e,r,i):new u.MethodCall(s,e,r,i)}if(t)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new u.EmptyExpr(this.span(n))):new u.SafePropertyRead(this.span(n),e,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new u.EmptyExpr(this.span(n));var a=this.parseConditional();return new u.PropertyWrite(this.span(n),e,r,a)}return new u.PropertyRead(this.span(n),e,r)},e.prototype.parseCallArguments=function(){if(this.next.isCharacter(o.$RPAREN))return[];var e=[];do e.push(this.parsePipe());while(this.optionalCharacter(o.$COMMA));return e},e.prototype.expectTemplateBindingKey=function(){var e="",t=!1;do e+=this.expectIdentifierOrKeywordOrString(),t=this.optionalOperator("-"),t&&(e+="-");while(t);return e.toString()},e.prototype.parseTemplateBindings=function(){for(var e=[],t=null,n=[];this.index]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];t.assertInterpolationSymbols=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(128),o=n(123),s=function(){function e(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+e+" "+n+" ["+t+"] in "+r}return e}();t.ParserError=s;var a=function(){function e(e,t){this.start=e,this.end=t}return e}();t.ParseSpan=a;var u=function(){function e(e){this.span=e}return e.prototype.visit=function(e,t){return void 0===t&&(t=null),null},e.prototype.toString=function(){return"AST"},e}();t.AST=u;var c=function(e){function t(t,n,r,i){e.call(this,t),this.prefix=n,this.uninterpretedExpression=r,this.location=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitQuote(this,t)},t.prototype.toString=function(){return"Quote"},t}(u);t.Quote=c;var p=function(e){function t(){e.apply(this,arguments)}return r(t,e),t.prototype.visit=function(e,t){void 0===t&&(t=null)},t}(u);t.EmptyExpr=p;var l=function(e){function t(){e.apply(this,arguments)}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitImplicitReceiver(this,t)},t}(u);t.ImplicitReceiver=l;var f=function(e){function t(t,n){e.call(this,t),this.expressions=n}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitChain(this,t)},t}(u);t.Chain=f;var h=function(e){function t(t,n,r,i){e.call(this,t),this.condition=n,this.trueExp=r,this.falseExp=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitConditional(this,t)},t}(u);t.Conditional=h;var d=function(e){function t(t,n,r){e.call(this,t),this.receiver=n,this.name=r}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPropertyRead(this,t)},t}(u);t.PropertyRead=d;var y=function(e){function t(t,n,r,i){e.call(this,t),this.receiver=n,this.name=r,this.value=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPropertyWrite(this,t)},t}(u);t.PropertyWrite=y;var m=function(e){function t(t,n,r){e.call(this,t),this.receiver=n,this.name=r}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitSafePropertyRead(this,t)},t}(u);t.SafePropertyRead=m;var v=function(e){function t(t,n,r){e.call(this,t),this.obj=n,this.key=r}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitKeyedRead(this,t)},t}(u);t.KeyedRead=v;var g=function(e){function t(t,n,r,i){e.call(this,t),this.obj=n,this.key=r,this.value=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitKeyedWrite(this,t)},t}(u);t.KeyedWrite=g;var _=function(e){function t(t,n,r,i){e.call(this,t),this.exp=n,this.name=r,this.args=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPipe(this,t)},t}(u);t.BindingPipe=_;var E=function(e){function t(t,n){e.call(this,t),this.value=n}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralPrimitive(this,t)},t}(u);t.LiteralPrimitive=E;var b=function(e){function t(t,n){e.call(this,t),this.expressions=n}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralArray(this,t)},t}(u);t.LiteralArray=b;var C=function(e){function t(t,n,r){e.call(this,t),this.keys=n,this.values=r}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralMap(this,t)},t}(u);t.LiteralMap=C;var w=function(e){function t(t,n,r){e.call(this,t),this.strings=n,this.expressions=r}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitInterpolation(this,t)},t}(u);t.Interpolation=w;var S=function(e){function t(t,n,r,i){e.call(this,t),this.operation=n,this.left=r,this.right=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitBinary(this,t)},t}(u);t.Binary=S;var P=function(e){function t(t,n){e.call(this,t),this.expression=n}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPrefixNot(this,t)},t}(u);t.PrefixNot=P;var A=function(e){function t(t,n,r,i){e.call(this,t),this.receiver=n,this.name=r,this.args=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitMethodCall(this,t)},t}(u);t.MethodCall=A;var T=function(e){function t(t,n,r,i){e.call(this,t),this.receiver=n,this.name=r,this.args=i}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitSafeMethodCall(this,t)},t}(u);t.SafeMethodCall=T;var O=function(e){function t(t,n,r){e.call(this,t),this.target=n,this.args=r}return r(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitFunctionCall(this,t)},t}(u);t.FunctionCall=O;var M=function(e){function t(t,n,r,i){e.call(this,new a(0,o.isBlank(n)?0:n.length)),this.ast=t,this.source=n,this.location=r,this.errors=i}return r(t,e),t.prototype.visit=function(e,t){ -return void 0===t&&(t=null),this.ast.visit(e,t)},t.prototype.toString=function(){return this.source+" in "+this.location},t}(u);t.ASTWithSource=M;var x=function(){function e(e,t,n,r){this.key=e,this.keyIsVar=t,this.name=n,this.expression=r}return e}();t.TemplateBinding=x;var R=function(){function e(){}return e.prototype.visitBinary=function(e,t){return e.left.visit(this),e.right.visit(this),null},e.prototype.visitChain=function(e,t){return this.visitAll(e.expressions,t)},e.prototype.visitConditional=function(e,t){return e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this),null},e.prototype.visitPipe=function(e,t){return e.exp.visit(this),this.visitAll(e.args,t),null},e.prototype.visitFunctionCall=function(e,t){return e.target.visit(this),this.visitAll(e.args,t),null},e.prototype.visitImplicitReceiver=function(e,t){return null},e.prototype.visitInterpolation=function(e,t){return this.visitAll(e.expressions,t)},e.prototype.visitKeyedRead=function(e,t){return e.obj.visit(this),e.key.visit(this),null},e.prototype.visitKeyedWrite=function(e,t){return e.obj.visit(this),e.key.visit(this),e.value.visit(this),null},e.prototype.visitLiteralArray=function(e,t){return this.visitAll(e.expressions,t)},e.prototype.visitLiteralMap=function(e,t){return this.visitAll(e.values,t)},e.prototype.visitLiteralPrimitive=function(e,t){return null},e.prototype.visitMethodCall=function(e,t){return e.receiver.visit(this),this.visitAll(e.args,t)},e.prototype.visitPrefixNot=function(e,t){return e.expression.visit(this),null},e.prototype.visitPropertyRead=function(e,t){return e.receiver.visit(this),null},e.prototype.visitPropertyWrite=function(e,t){return e.receiver.visit(this),e.value.visit(this),null},e.prototype.visitSafePropertyRead=function(e,t){return e.receiver.visit(this),null},e.prototype.visitSafeMethodCall=function(e,t){return e.receiver.visit(this),this.visitAll(e.args,t)},e.prototype.visitAll=function(e,t){var n=this;return e.forEach(function(e){return e.visit(n,t)}),null},e.prototype.visitQuote=function(e,t){return null},e}();t.RecursiveAstVisitor=R;var I=function(){function e(){}return e.prototype.visitImplicitReceiver=function(e,t){return e},e.prototype.visitInterpolation=function(e,t){return new w(e.span,e.strings,this.visitAll(e.expressions))},e.prototype.visitLiteralPrimitive=function(e,t){return new E(e.span,e.value)},e.prototype.visitPropertyRead=function(e,t){return new d(e.span,e.receiver.visit(this),e.name)},e.prototype.visitPropertyWrite=function(e,t){return new y(e.span,e.receiver.visit(this),e.name,e.value)},e.prototype.visitSafePropertyRead=function(e,t){return new m(e.span,e.receiver.visit(this),e.name)},e.prototype.visitMethodCall=function(e,t){return new A(e.span,e.receiver.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitSafeMethodCall=function(e,t){return new T(e.span,e.receiver.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitFunctionCall=function(e,t){return new O(e.span,e.target.visit(this),this.visitAll(e.args))},e.prototype.visitLiteralArray=function(e,t){return new b(e.span,this.visitAll(e.expressions))},e.prototype.visitLiteralMap=function(e,t){return new C(e.span,e.keys,this.visitAll(e.values))},e.prototype.visitBinary=function(e,t){return new S(e.span,e.operation,e.left.visit(this),e.right.visit(this))},e.prototype.visitPrefixNot=function(e,t){return new P(e.span,e.expression.visit(this))},e.prototype.visitConditional=function(e,t){return new h(e.span,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))},e.prototype.visitPipe=function(e,t){return new _(e.span,e.exp.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitKeyedRead=function(e,t){return new v(e.span,e.obj.visit(this),e.key.visit(this))},e.prototype.visitKeyedWrite=function(e,t){return new g(e.span,e.obj.visit(this),e.key.visit(this),e.value.visit(this))},e.prototype.visitAll=function(e){for(var t=i.ListWrapper.createFixedSize(e.length),n=0;n-1&&(e.splice(n,1),!0)},e.clear=function(e){e.length=0},e.isEmpty=function(e){return 0==e.length},e.fill=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=null),e.fill(t,n,null===r?e.length:r)},e.equals=function(e,t){if(e.length!=t.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},e.flatten=function(e){var t=[];return r(e,t),t},e.addAll=function(e,t){for(var n=0;n0&&r.forEach(function(e){return t.closedByChildren[e]=!0}),this.isVoid=f,this.closedByParent=p||f,o&&o.length>0&&(this.requiredParents={},this.parentToAdd=o[0],o.forEach(function(e){return t.requiredParents[e]=!0})),this.implicitNamespacePrefix=s,this.contentType=u,this.ignoreFirstLf=d}return e.prototype.requireExtraParent=function(e){if(!this.requiredParents)return!1;if(!e)return!0;var t=e.toLowerCase();return 1!=this.requiredParents[t]&&"template"!=t},e.prototype.isClosedByChild=function(e){return this.isVoid||e.toLowerCase()in this.closedByChildren},e}();t.HtmlTagDefinition=o;var s={base:new o({isVoid:!0}),meta:new o({isVoid:!0}),area:new o({isVoid:!0}),embed:new o({isVoid:!0}),link:new o({isVoid:!0}),img:new o({isVoid:!0}),input:new o({isVoid:!0}),param:new o({isVoid:!0}),hr:new o({isVoid:!0}),br:new o({isVoid:!0}),source:new o({isVoid:!0}),track:new o({isVoid:!0}),wbr:new o({isVoid:!0}),p:new o({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new o({closedByChildren:["tbody","tfoot"]}),tbody:new o({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new o({closedByChildren:["tbody"],closedByParent:!0}),tr:new o({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new o({closedByChildren:["td","th"],closedByParent:!0}),th:new o({closedByChildren:["td","th"],closedByParent:!0}),col:new o({requiredParents:["colgroup"],isVoid:!0}),svg:new o({implicitNamespacePrefix:"svg"}),math:new o({implicitNamespacePrefix:"math"}),li:new o({closedByChildren:["li"],closedByParent:!0}),dt:new o({closedByChildren:["dt","dd"]}),dd:new o({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new o({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new o({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new o({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new o({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new o({closedByChildren:["optgroup"],closedByParent:!0}),option:new o({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new o({ignoreFirstLf:!0}),listing:new o({ignoreFirstLf:!0}),style:new o({contentType:i.TagContentType.RAW_TEXT}),script:new o({contentType:i.TagContentType.RAW_TEXT}),title:new o({contentType:i.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new o({contentType:i.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},a=new o;t.getHtmlTagDefinition=r},function(e,t){"use strict";function n(e){if(":"!=e[0])return[null,e];var t=e.indexOf(":",1);if(t==-1)throw new Error('Unsupported format "'+e+'" expecting ":namespace:name"');return[e.slice(1,t),e.slice(t+1)]}function r(e){return null===e?null:n(e)[0]}function i(e,t){return e?":"+e+":"+t:t}!function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(t.TagContentType||(t.TagContentType={}));t.TagContentType;t.splitNsName=n,t.getNsPrefix=r,t.mergeNsAndName=i,t.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞","int":"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"}},function(e,t){"use strict";var n={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},r=function(){function e(){this._placeHolderNameCounts={},this._signatureToName={}}return e.prototype.getStartTagPlaceholderName=function(e,t,r){var i=this._hashTag(e,t,r);if(this._signatureToName[i])return this._signatureToName[i];var o=e.toUpperCase(),s=n[o]||"TAG_"+o,a=this._generateUniqueName(r?s:"START_"+s);return this._signatureToName[i]=a,a},e.prototype.getCloseTagPlaceholderName=function(e){var t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];var r=e.toUpperCase(),i=n[r]||"TAG_"+r,o=this._generateUniqueName("CLOSE_"+i);return this._signatureToName[t]=o,o},e.prototype.getPlaceholderName=function(e,t){var n=e.toUpperCase(),r="PH: "+n+"="+t;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i,i},e.prototype._hashTag=function(e,t,n){var r="<"+e,i=Object.keys(t).sort().map(function(e){return" "+e+"="+t[e]}).join(""),o=n?"/>":">";return r+i+o},e.prototype._hashClosingTag=function(e){return this._hashTag("/"+e,{},!1)},e.prototype._generateUniqueName=function(e){var t=e,n=this._placeHolderNameCounts[t];return n?(t+="_"+n,n++):n=1,this._placeHolderNameCounts[e]=n,t},e}();t.PlaceholderRegistry=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(133),o=function(e){function t(t,n){e.call(this,t,n)}return r(t,e),t}(i.ParseError);t.I18nError=o},function(e,t,n){"use strict";var r=n(123),i=function(){function e(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}return e.prototype.toString=function(){return r.isPresent(this.offset)?this.file.url+"@"+this.line+":"+this.col:this.file.url},e}();t.ParseLocation=i;var o=function(){function e(e,t){this.content=e,this.url=t}return e}();t.ParseSourceFile=o;var s=function(){function e(e,t,n){void 0===n&&(n=null),this.start=e,this.end=t,this.details=n}return e.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},e}();t.ParseSourceSpan=s,function(e){e[e.WARNING=0]="WARNING",e[e.FATAL=1]="FATAL"}(t.ParseErrorLevel||(t.ParseErrorLevel={}));var a=t.ParseErrorLevel,u=function(){function e(e,t,n){void 0===n&&(n=a.FATAL),this.span=e,this.msg=t,this.level=n}return e.prototype.toString=function(){var e=this.span.start.file.content,t=this.span.start.offset,n="",i="";if(r.isPresent(t)){t>e.length-1&&(t=e.length-1);for(var o=t,s=0,a=0;s<100&&t>0&&(t--,s++,"\n"!=e[t]||3!=++a););for(s=0,a=0;s<100&&o]"+e.substring(this.span.start.offset,o+1);n=' ("'+u+'")'}return this.span.details&&(i=", "+this.span.details),""+this.msg+n+": "+this.span.start+i},e}();t.ParseError=u},function(e,t,n){"use strict";var r=n(128),i=n(135),o="messagebundle",s="msg",a="ph",u="ex",c='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',p=function(){function e(){}return e.prototype.write=function(e){var t=new l,n=new i.Tag(o);return n.children.push(new i.Text("\n")),Object.keys(e).forEach(function(r){var o=e[r],a={id:r};o.description&&(a.desc=o.description),o.meaning&&(a.meaning=o.meaning),n.children.push(new i.Text(" "),new i.Tag(s,a,t.serialize(o.nodes)),new i.Text("\n"))}),i.serialize([new i.Declaration({version:"1.0",encoding:"UTF-8"}),new i.Text("\n"),new i.Doctype(o,c),new i.Text("\n"),n])},e.prototype.load=function(e,t,n){throw new Error("Unsupported")},e}();t.Xmb=p;var l=function(){function e(){}return e.prototype.visitText=function(e,t){return[new i.Text(e.value)]},e.prototype.visitContainer=function(e,t){var n=this,r=[];return e.children.forEach(function(e){return r.push.apply(r,e.visit(n))}),r},e.prototype.visitIcu=function(e,t){var n=this,r=[new i.Text("{"+e.expression+", "+e.type+", ")];return Object.keys(e.cases).forEach(function(t){r.push.apply(r,[new i.Text(t+" {")].concat(e.cases[t].visit(n),[new i.Text("}")]))}),r.push(new i.Text("}")),r},e.prototype.visitTagPlaceholder=function(e,t){var n=new i.Tag(u,{},[new i.Text("<"+e.tag+">")]),r=new i.Tag(a,{name:e.startName},[n]);if(e.isVoid)return[r];var o=new i.Tag(u,{},[new i.Text("")]),s=new i.Tag(a,{name:e.closeName},[o]);return[r].concat(this.serialize(e.children),[s])},e.prototype.visitPlaceholder=function(e,t){return[new i.Tag(a,{name:e.name})]},e.prototype.visitIcuPlaceholder=function(e,t){return[new i.Tag(a,{name:e.name})]},e.prototype.serialize=function(e){var t=this;return r.ListWrapper.flatten(e.map(function(e){return e.visit(t)}))},e}()},function(e,t){"use strict";function n(e){return e.map(function(e){return e.visit(o)}).join("")}function r(e){return p.reduce(function(e,t){return e.replace(t[0],t[1])},e)}var i=function(){function e(){}return e.prototype.visitTag=function(e){var t=this,n=this._serializeAttributes(e.attrs);if(0==e.children.length)return"<"+e.name+n+"/>";var r=e.children.map(function(e){return e.visit(t)});return"<"+e.name+n+">"+r.join("")+""},e.prototype.visitText=function(e){return e.value},e.prototype.visitDeclaration=function(e){return""},e.prototype._serializeAttributes=function(e){var t=Object.keys(e).map(function(t){return t+'="'+e[t]+'"'}).join(" ");return t.length>0?" "+t:""},e.prototype.visitDoctype=function(e){return""},e}(),o=new i;t.serialize=n;var s=function(){function e(e){var t=this;this.attrs={},Object.keys(e).forEach(function(n){t.attrs[n]=r(e[n])})}return e.prototype.visit=function(e){return e.visitDeclaration(this)},e}();t.Declaration=s;var a=function(){function e(e,t){this.rootTag=e,this.dtd=t}return e.prototype.visit=function(e){return e.visitDoctype(this)},e}();t.Doctype=a;var u=function(){function e(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n=[]),this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach(function(e){i.attrs[e]=r(t[e])})}return e.prototype.visit=function(e){return e.visitTag(this)},e}();t.Tag=u;var c=function(){function e(e){this.value=r(e)}return e.prototype.visit=function(e){return e.visitText(this)},e}();t.Text=c;var p=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]]},function(e,t,n){"use strict";var r=n(7),i=n(137),o=n(132),s="translationbundle",a="translation",u="ph",c=function(){function e(e,t){this._htmlParser=e,this._interpolationConfig=t}return e.prototype.write=function(e){throw new Error("Unsupported")},e.prototype.load=function(e,t,n){var r=this,o=(new i.XmlParser).parse(e,t);if(o.errors.length)throw new Error("xtb parse errors:\n"+o.errors.join("\n"));var s=(new p).parse(o.rootNodes,n),a=s.messages,u=s.errors;if(u.length)throw new Error("xtb parse errors:\n"+u.join("\n"));var c={},l=[];if(Object.keys(a).forEach(function(e){var n=r._htmlParser.parse(a[e],t,!0,r._interpolationConfig);l.push.apply(l,n.errors),c[e]=n.rootNodes}),l.length)throw new Error("xtb parse errors:\n"+l.join("\n"));return c},e}();t.Xtb=c;var p=function(){function e(){}return e.prototype.parse=function(e,t){return this._messages={},this._bundleDepth=0,this._translationDepth=0,this._errors=[],this._placeholders=t,r.visitAll(this,e,null),{messages:this._messages,errors:this._errors}},e.prototype.visitElement=function(e,t){switch(e.name){case s:this._bundleDepth++,this._bundleDepth>1&&this._addError(e,"<"+s+"> elements can not be nested"),r.visitAll(this,e.children,null),this._bundleDepth--;break;case a:this._translationDepth++,this._translationDepth>1&&this._addError(e,"<"+a+"> elements can not be nested");var n=e.attrs.find(function(e){return"id"===e.name});n?(this._currentPlaceholders=this._placeholders[n.value]||{},this._messages[n.value]=r.visitAll(this,e.children).join("")):this._addError(e,"<"+a+'> misses the "id" attribute'),this._translationDepth--;break;case u:var i=e.attrs.find(function(e){return"name"===e.name});if(i){if(this._currentPlaceholders.hasOwnProperty(i.value))return this._currentPlaceholders[i.value];this._addError(e,'The placeholder "'+i.value+'" does not exists in the source message')}else this._addError(e,"<"+u+'> misses the "name" attribute');break;default:this._addError(e,"Unexpected tag")}},e.prototype.visitAttribute=function(e,t){throw new Error("unreachable code")},e.prototype.visitText=function(e,t){return e.value},e.prototype.visitComment=function(e,t){return""},e.prototype.visitExpansion=function(e,t){var n=this;e.cases.map(function(e){return e.visit(n,null)});return"{"+e.switchValue+", "+e.type+", strCases.join(' ')}"},e.prototype.visitExpansionCase=function(e,t){return e.value+" {"+r.visitAll(this,e.expression,null)+"}"},e.prototype._addError=function(e,t){this._errors.push(new o.I18nError(e.sourceSpan,t))},e}()},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(138),o=n(140),s=n(138);t.ParseTreeResult=s.ParseTreeResult,t.TreeError=s.TreeError;var a=function(e){function t(){e.call(this,o.getXmlTagDefinition)}return r(t,e),t.prototype.parse=function(t,n,r){return void 0===r&&(r=!1),e.prototype.parse.call(this,t,n,r,null)},t}(i.Parser);t.XmlParser=a},function(e,t,n){"use strict";function r(e,t){return e.length>0&&e[e.length-1]===t}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(128),s=n(123),a=n(133),u=n(7),c=n(125),p=n(139),l=n(130),f=function(e){function t(t,n,r){e.call(this,n,r),this.elementName=t}return i(t,e),t.create=function(e,n,r){return new t(e,n,r)},t}(a.ParseError);t.TreeError=f;var h=function(){function e(e,t){this.rootNodes=e,this.errors=t}return e}();t.ParseTreeResult=h;var d=function(){function e(e){this._getTagDefinition=e}return e.prototype.parse=function(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r=c.DEFAULT_INTERPOLATION_CONFIG);var i=p.tokenize(e,t,this._getTagDefinition,n,r),o=new y(i.tokens,this._getTagDefinition).build();return new h(o.rootNodes,i.errors.concat(o.errors))},e}();t.Parser=d;var y=function(){function e(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return e.prototype.build=function(){for(;this._peek.type!==p.TokenType.EOF;)this._peek.type===p.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===p.TokenType.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===p.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===p.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===p.TokenType.TEXT||this._peek.type===p.TokenType.RAW_TEXT||this._peek.type===p.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===p.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new h(this._rootNodes,this._errors)},e.prototype._advance=function(){var e=this._peek;return this._index0)return this._errors=this._errors.concat(o.errors),null;var c=new a.ParseSourceSpan(t.sourceSpan.start,i.sourceSpan.end),l=new a.ParseSourceSpan(n.sourceSpan.start,i.sourceSpan.end);return new u.ExpansionCase(t.parts[0],o.rootNodes,c,t.sourceSpan,l)},e.prototype._collectExpansionExpTokens=function(e){for(var t=[],n=[p.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==p.TokenType.EXPANSION_FORM_START&&this._peek.type!==p.TokenType.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===p.TokenType.EXPANSION_CASE_EXP_END){if(!r(n,p.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(f.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===p.TokenType.EXPANSION_FORM_END){if(!r(n,p.TokenType.EXPANSION_FORM_START))return this._errors.push(f.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===p.TokenType.EOF)return this._errors.push(f.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}},e.prototype._consumeText=function(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var n=this._getParentElement();s.isPresent(n)&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new u.Text(t,e.sourceSpan))},e.prototype._closeVoidElement=function(){if(this._elementStack.length>0){var e=o.ListWrapper.last(this._elementStack);this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}},e.prototype._consumeStartTag=function(e){for(var t=e.parts[0],n=e.parts[1],r=[];this._peek.type===p.TokenType.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(t,n,this._getParentElement()),o=!1;if(this._peek.type===p.TokenType.TAG_OPEN_END_VOID){this._advance(),o=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==l.getNsPrefix(i)||s.isVoid||this._errors.push(f.create(i,e.sourceSpan,'Only void and foreign elements can be self closed "'+e.parts[1]+'"'))}else this._peek.type===p.TokenType.TAG_OPEN_END&&(this._advance(),o=!1);var c=this._peek.sourceSpan.start,h=new a.ParseSourceSpan(e.sourceSpan.start,c),d=new u.Element(i,r,[],h,h,null);this._pushElement(d),o&&(this._popElement(i),d.endSourceSpan=h)},e.prototype._pushElement=function(e){if(this._elementStack.length>0){var t=o.ListWrapper.last(this._elementStack);this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop()}var n=this.getTagDefinition(e.name),r=this._getParentElementSkippingContainers(),i=r.parent,a=r.container;if(s.isPresent(i)&&n.requireExtraParent(i.name)){var c=new u.Element(n.parentToAdd,[],[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan);this._insertBeforeContainer(i,a,c)}this._addToParent(e),this._elementStack.push(e)},e.prototype._consumeEndTag=function(e){var t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),this.getTagDefinition(t).isVoid?this._errors.push(f.create(t,e.sourceSpan,'Void elements do not have end tags "'+e.parts[1]+'"')):this._popElement(t)||this._errors.push(f.create(t,e.sourceSpan,'Unexpected closing tag "'+e.parts[1]+'"')); -},e.prototype._popElement=function(e){for(var t=this._elementStack.length-1;t>=0;t--){var n=this._elementStack[t];if(n.name==e)return o.ListWrapper.splice(this._elementStack,t,this._elementStack.length-t),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},e.prototype._consumeAttr=function(e){var t=l.mergeNsAndName(e.parts[0],e.parts[1]),n=e.sourceSpan.end,r="";if(this._peek.type===p.TokenType.ATTR_VALUE){var i=this._advance();r=i.parts[0],n=i.sourceSpan.end}return new u.Attribute(t,r,new a.ParseSourceSpan(e.sourceSpan.start,n))},e.prototype._getParentElement=function(){return this._elementStack.length>0?o.ListWrapper.last(this._elementStack):null},e.prototype._getParentElementSkippingContainers=function(){for(var e=null,t=this._elementStack.length-1;t>=0;t--){if("ng-container"!==this._elementStack[t].name)return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:o.ListWrapper.last(this._elementStack),container:e}},e.prototype._addToParent=function(e){var t=this._getParentElement();s.isPresent(t)?t.children.push(e):this._rootNodes.push(e)},e.prototype._insertBeforeContainer=function(e,t,n){if(t){if(e){var r=e.children.indexOf(t);e.children[r]=n}else this._rootNodes.push(n);n.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,n)}else this._addToParent(n),this._elementStack.push(n)},e.prototype._getElementFullName=function(e,t,n){return s.isBlank(e)&&(e=this.getTagDefinition(t).implicitNamespacePrefix,s.isBlank(e)&&s.isPresent(n)&&(e=l.getNsPrefix(n.name))),l.mergeNsAndName(e,t)},e}()},function(e,t,n){"use strict";function r(e,t,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=_.DEFAULT_INTERPOLATION_CONFIG),new T(new g.ParseSourceFile(e,t),n,r,i).tokenize()}function i(e){var t=e===v.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'+t+'"'}function o(e){return'Unknown entity "'+e+'" - use the "&#;" or "&#x;" syntax'}function s(e){return!v.isWhitespace(e)||e===v.$EOF}function a(e){return v.isWhitespace(e)||e===v.$GT||e===v.$SLASH||e===v.$SQ||e===v.$DQ||e===v.$EQ}function u(e){return(ev.$9)}function c(e){return e==v.$SEMICOLON||e==v.$EOF||!v.isAsciiHexDigit(e)}function p(e){return e==v.$SEMICOLON||e==v.$EOF||!v.isAsciiLetter(e)}function l(e,t,n){var r=!!n&&e.indexOf(n.start,t)==t;return e.charCodeAt(t)==v.$LBRACE&&!r}function f(e){return e===v.$EQ||v.isAsciiLetter(e)}function h(e,t){return d(e)==d(t)}function d(e){return e>=v.$a&&e<=v.$z?e-v.$a+v.$A:e}function y(e){for(var t,n=[],r=0;r=this._length)throw this._createError(i(v.$EOF),this._getSpan());this._peek===v.$LF?(this._line++,this._column=0):this._peek!==v.$LF&&this._peek!==v.$CR&&this._column++,this._index++,this._peek=this._index>=this._length?v.$EOF:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?v.$EOF:this._input.charCodeAt(this._index+1)},e.prototype._attemptCharCode=function(e){return this._peek===e&&(this._advance(),!0)},e.prototype._attemptCharCodeCaseInsensitive=function(e){return!!h(this._peek,e)&&(this._advance(),!0)},e.prototype._requireCharCode=function(e){var t=this._getLocation();if(!this._attemptCharCode(e))throw this._createError(i(this._peek),this._getSpan(t,t))},e.prototype._attemptStr=function(e){var t=e.length;if(this._index+t>this._length)return!1;for(var n=this._savePosition(),r=0;rr.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==t;)o.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},e.prototype._consumeComment=function(e){var t=this;this._beginToken(b.COMMENT_START,e),this._requireCharCode(v.$MINUS),this._endToken([]);var n=this._consumeRawText(!1,v.$MINUS,function(){return t._attemptStr("->")});this._beginToken(b.COMMENT_END,n.sourceSpan.end),this._endToken([])},e.prototype._consumeCdata=function(e){var t=this;this._beginToken(b.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,v.$RBRACKET,function(){return t._attemptStr("]>")});this._beginToken(b.CDATA_END,n.sourceSpan.end),this._endToken([])},e.prototype._consumeDocType=function(e){this._beginToken(b.DOC_TYPE,e),this._attemptUntilChar(v.$GT),this._advance(),this._endToken([this._input.substring(e.offset+2,this._index-1)])},e.prototype._consumePrefixAndName=function(){for(var e=this._index,t=null;this._peek!==v.$COLON&&!u(this._peek);)this._advance();var n;this._peek===v.$COLON?(this._advance(),t=this._input.substring(e,this._index-1),n=this._index):n=e,this._requireCharCodeUntilFn(a,this._index===n?1:0);var r=this._input.substring(n,this._index);return[t,r]},e.prototype._consumeTagOpen=function(e){var t,n,r=this._savePosition();try{if(!v.isAsciiLetter(this._peek))throw this._createError(i(this._peek),this._getSpan());var o=this._index;for(this._consumeTagOpenStart(e),t=this._input.substring(o,this._index),n=t.toLowerCase(),this._attemptCharCodeUntilFn(s);this._peek!==v.$SLASH&&this._peek!==v.$GT;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(s),this._attemptCharCode(v.$EQ)&&(this._attemptCharCodeUntilFn(s),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(s);this._consumeTagOpenEnd()}catch(a){if(a instanceof A)return this._restorePosition(r),this._beginToken(b.TEXT,e),void this._endToken(["<"]);throw a}var u=this._getTagDefinition(t).contentType;u===E.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):u===E.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},e.prototype._consumeRawTextWithTagClose=function(e,t){var n=this,r=this._consumeRawText(t,v.$LT,function(){return!!n._attemptCharCode(v.$SLASH)&&(n._attemptCharCodeUntilFn(s),!!n._attemptStrCaseInsensitive(e)&&(n._attemptCharCodeUntilFn(s),n._attemptCharCode(v.$GT)))});this._beginToken(b.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,e])},e.prototype._consumeTagOpenStart=function(e){this._beginToken(b.TAG_OPEN_START,e);var t=this._consumePrefixAndName();this._endToken(t)},e.prototype._consumeAttributeName=function(){this._beginToken(b.ATTR_NAME);var e=this._consumePrefixAndName();this._endToken(e)},e.prototype._consumeAttributeValue=function(){this._beginToken(b.ATTR_VALUE);var e;if(this._peek===v.$SQ||this._peek===v.$DQ){var t=this._peek;this._advance();for(var n=[];this._peek!==t;)n.push(this._readChar(!0));e=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(a,1),e=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(e)])},e.prototype._consumeTagOpenEnd=function(){var e=this._attemptCharCode(v.$SLASH)?b.TAG_OPEN_END_VOID:b.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(v.$GT),this._endToken([])},e.prototype._consumeTagClose=function(e){this._beginToken(b.TAG_CLOSE,e),this._attemptCharCodeUntilFn(s);var t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(s),this._requireCharCode(v.$GT),this._endToken(t)},e.prototype._consumeExpansionFormStart=function(){this._beginToken(b.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(v.$LBRACE),this._endToken([]),this._expansionCaseStack.push(b.EXPANSION_FORM_START),this._beginToken(b.RAW_TEXT,this._getLocation());var e=this._readUntil(v.$COMMA);this._endToken([e],this._getLocation()),this._requireCharCode(v.$COMMA),this._attemptCharCodeUntilFn(s),this._beginToken(b.RAW_TEXT,this._getLocation());var t=this._readUntil(v.$COMMA);this._endToken([t],this._getLocation()),this._requireCharCode(v.$COMMA),this._attemptCharCodeUntilFn(s)},e.prototype._consumeExpansionCaseStart=function(){this._beginToken(b.EXPANSION_CASE_VALUE,this._getLocation());var e=this._readUntil(v.$LBRACE).trim();this._endToken([e],this._getLocation()),this._attemptCharCodeUntilFn(s),this._beginToken(b.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(v.$LBRACE),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(s),this._expansionCaseStack.push(b.EXPANSION_CASE_EXP_START)},e.prototype._consumeExpansionCaseEnd=function(){this._beginToken(b.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(v.$RBRACE),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(s),this._expansionCaseStack.pop()},e.prototype._consumeExpansionFormEnd=function(){this._beginToken(b.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(v.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()},e.prototype._consumeText=function(){var e=this._getLocation();this._beginToken(b.TEXT,e);var t=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._attemptStr(this._interpolationConfig.end)&&this._inInterpolation?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])},e.prototype._isTextEnd=function(){if(this._peek===v.$LT||this._peek===v.$EOF)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(l(this._input,this._index,this._interpolationConfig))return!0;if(this._peek===v.$RBRACE&&this._isInExpansionCase())return!0}return!1},e.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},e.prototype._readUntil=function(e){var t=this._index;return this._attemptUntilChar(e),this._input.substring(t,this._index)},e.prototype._restorePosition=function(e){this._peek=e[0],this._index=e[1],this._column=e[2],this._line=e[3];var t=e[4];t0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===b.EXPANSION_CASE_EXP_START},e.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===b.EXPANSION_FORM_START},e}()},function(e,t,n){"use strict";function r(e){return s}var i=n(130),o=function(){function e(){this.closedByParent=!1,this.contentType=i.TagContentType.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return e.prototype.requireExtraParent=function(e){return!1},e.prototype.isClosedByChild=function(e){return!1},e}();t.XmlTagDefinition=o;var s=new o;t.getXmlTagDefinition=r},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function i(e){void 0===e&&(e=[]);var t,n,r,i=[],o=[],s=[],a=[],u=c.ReflectiveInjector.resolveAndCreate(e),p=u.get(P.CompilerConfig,null);p?(i=p.platformDirectives,o=p.platformPipes,n=p.useJit,t=p.genDebugInfo,r=p.defaultEncapsulation,a.push('Passing CompilerConfig as a regular provider is deprecated. Use the "compilerOptions" parameter of "bootstrap()" or use a custom "CompilerFactory" platform provider instead.')):(i=u.get(c.PLATFORM_DIRECTIVES,[]),o=u.get(c.PLATFORM_PIPES,[])),i=v.ListWrapper.flatten(i),o=v.ListWrapper.flatten(o);var l=u.get(V.XHR,null);l&&(s.push([{provide:V.XHR,useValue:l}]),a.push('Passing XHR as regular provider is deprecated. Pass the provider via "compilerOptions" instead.')),i.length>0&&a.push("The PLATFORM_DIRECTIVES provider and CompilerConfig.platformDirectives is deprecated. Add the directives to an NgModule instead! "+("(Directives: "+i.map(function(e){return m.stringify(e)})+")")),o.length>0&&a.push("The PLATFORM_PIPES provider and CompilerConfig.platformPipes is deprecated. Add the pipes to an NgModule instead! "+("(Pipes: "+o.map(function(e){return m.stringify(e)})+")"));var f={useJit:n,useDebug:t,defaultEncapsulation:r,providers:s},h=function(){function e(){}return e.decorators=[{type:c.Component,args:[{directives:i,pipes:o,template:""}]}],e}();return{compilerOptions:f,moduleDeclarations:[h],deprecationMessages:a}}function o(){D.reflector.reflectionCapabilities=new D.ReflectionCapabilities}function s(e){return{useDebug:a(e.map(function(e){return e.useDebug})),useJit:a(e.map(function(e){return e.useJit})),defaultEncapsulation:a(e.map(function(e){return e.defaultEncapsulation})),providers:u(e.map(function(e){return e.providers}))}}function a(e){for(var t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function u(e){var t=[];return e.forEach(function(e){return e&&t.push.apply(t,e)}),t}var c=n(11);r(n(142));var p=n(143);t.TEMPLATE_TRANSFORMS=p.TEMPLATE_TRANSFORMS;var l=n(160);t.CompilerConfig=l.CompilerConfig,t.RenderTypes=l.RenderTypes,r(n(145)),r(n(161));var f=n(183);t.RuntimeCompiler=f.RuntimeCompiler,r(n(150)),r(n(185));var h=n(187);t.DirectiveResolver=h.DirectiveResolver;var d=n(190);t.PipeResolver=d.PipeResolver;var y=n(189);t.NgModuleResolver=y.NgModuleResolver;var m=n(123),v=n(128),g=n(143),_=n(154),E=n(184),b=n(186),C=n(197),w=n(162),S=n(191),P=n(160),A=n(183),T=n(157),O=n(199),M=n(150),x=n(124),R=n(10),I=n(187),N=n(190),k=n(189),D=n(144),V=n(185),L={get:function(e){throw new Error("No XHR implementation has been provided. Can't read the url \""+e+'"')}};t.COMPILER_PROVIDERS=[{provide:D.Reflector,useValue:D.reflector},{provide:D.ReflectorReader,useExisting:D.Reflector},{provide:V.XHR,useValue:L},D.Console,R.Lexer,x.Parser,_.HtmlParser,g.TemplateParser,E.DirectiveNormalizer,b.CompileMetadataResolver,M.DEFAULT_PACKAGE_URL_PROVIDER,C.StyleCompiler,w.ViewCompiler,S.NgModuleCompiler,{provide:P.CompilerConfig,useValue:new P.CompilerConfig},A.RuntimeCompiler,{provide:c.Compiler,useExisting:A.RuntimeCompiler},O.DomElementSchemaRegistry,{provide:T.ElementSchemaRegistry,useExisting:O.DomElementSchemaRegistry},M.UrlResolver,I.DirectiveResolver,N.PipeResolver,k.NgModuleResolver],t.analyzeAppProvidersForDeprecatedConfiguration=i;var j=function(){function e(e){this._defaultOptions=[{useDebug:c.isDevMode(),useJit:!0,defaultEncapsulation:c.ViewEncapsulation.Emulated}].concat(e)}return e.prototype.createCompiler=function(e){void 0===e&&(e=[]);var n=s(this._defaultOptions.concat(e)),r=c.ReflectiveInjector.resolveAndCreate([t.COMPILER_PROVIDERS,{provide:P.CompilerConfig,useFactory:function(){return new P.CompilerConfig({genDebugInfo:n.useDebug,useJit:n.useJit,defaultEncapsulation:n.defaultEncapsulation,logBindingUpdate:n.useDebug})},deps:[]},n.providers]);return r.get(c.Compiler)},e.decorators=[{type:c.Injectable}],e.ctorParameters=[{type:Array,decorators:[{type:c.Inject,args:[c.COMPILER_OPTIONS]}]}],e}();t.RuntimeCompilerFactory=j,t.platformCoreDynamic=c.createPlatformFactory(c.platformCore,"coreDynamic",[{provide:c.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:c.CompilerFactory,useClass:j},{provide:c.PLATFORM_INITIALIZER,useValue:o,multi:!0}])},function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n=null);var r=[];return t.forEach(function(t){var o=t.visit(e,n);i.isPresent(o)&&r.push(o)}),r}var i=n(123),o=function(){function e(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}();t.TextAst=o;var s=function(){function e(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitBoundText(this,t)},e}();t.BoundTextAst=s;var a=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitAttr(this,t)},e}();t.AttrAst=a;var u=function(){function e(e,t,n,r,i,o){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o}return e.prototype.visit=function(e,t){return e.visitElementProperty(this,t)},e}();t.BoundElementPropertyAst=u;var c=function(){function e(e,t,n,r){this.name=e,this.target=t,this.handler=n,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitEvent(this,t)},Object.defineProperty(e.prototype,"fullName",{get:function(){return i.isPresent(this.target)?this.target+":"+this.name:this.name},enumerable:!0,configurable:!0}),e}();t.BoundEventAst=c;var p=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitReference(this,t)},e}();t.ReferenceAst=p;var l=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitVariable(this,t)},e}();t.VariableAst=l;var f=function(){function e(e,t,n,r,i,o,s,a,u,c,p){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=p}return e.prototype.visit=function(e,t){return e.visitElement(this,t)},e}();t.ElementAst=f;var h=function(){function e(e,t,n,r,i,o,s,a,u,c){this.attrs=e,this.outputs=t,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.children=a,this.ngContentIndex=u,this.sourceSpan=c}return e.prototype.visit=function(e,t){return e.visitEmbeddedTemplate(this,t)},e}();t.EmbeddedTemplateAst=h;var d=function(){function e(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitDirectiveProperty(this,t)},e}();t.BoundDirectivePropertyAst=d;var y=function(){function e(e,t,n,r,i){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.sourceSpan=i}return e.prototype.visit=function(e,t){return e.visitDirective(this,t)},e}();t.DirectiveAst=y;var m=function(){function e(e,t,n,r,i,o,s){this.token=e,this.multiProvider=t,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s}return e.prototype.visit=function(e,t){return null},e}();t.ProviderAst=m,function(e){e[e.PublicService=0]="PublicService",e[e.PrivateService=1]="PrivateService",e[e.Component=2]="Component",e[e.Directive=3]="Directive",e[e.Builtin=4]="Builtin"}(t.ProviderAstType||(t.ProviderAstType={}));var v=(t.ProviderAstType,function(){function e(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitNgContent(this,t)},e}());t.NgContentAst=v,function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.Animation=4]="Animation"}(t.PropertyBindingType||(t.PropertyBindingType={}));t.PropertyBindingType;t.templateVisitAll=r},function(e,t,n){"use strict";function r(e){return e.trim().split(/\s+/g)}function i(e,t){var n=new w.CssSelector,i=_.splitNsName(e)[1];n.setElement(i);for(var o=0;o0&&this._console.warn("Template parse warnings:\n"+a.join("\n")),u.length>0){var c=u.join("\n");throw new f.BaseException("Template parse errors:\n"+c)}return s.templateAst},e.prototype.tryParse=function(e,t,n,r,i,o){var s;e.template&&(s=g.InterpolationConfig.fromArray(e.template.interpolation));var a,c=this._htmlParser.parse(t,o,!0,s),p=c.errors;if(0==p.length){var l=v.expandNodes(c.rootNodes);p.push.apply(p,l.errors),c=new m.ParseTreeResult(l.nodes,p)}if(c.rootNodes.length>0){var f=u.removeIdentifierDuplicates(n),d=u.removeIdentifierDuplicates(r),_=new b.ProviderViewContext(e,c.rootNodes[0].sourceSpan),E=new U(_,f,d,i,this._exprParser,this._schemaRegistry);a=y.visitAll(E,c.rootNodes,z),p.push.apply(p,E.errors.concat(_.errors))}else a=[];return this._assertNoReferenceDuplicationOnTemplate(a,p),p.length>0?new F(a,p):(h.isPresent(this.transforms)&&this.transforms.forEach(function(e){a=A.templateVisitAll(e,a)}),new F(a,p))},e.prototype._assertNoReferenceDuplicationOnTemplate=function(e,t){var n=[];e.filter(function(e){return!!e.references}).forEach(function(e){return e.references.forEach(function(e){var r=e.name;if(n.indexOf(r)<0)n.push(r);else{var i=new j('Reference "#'+r+'" is defined several times',e.sourceSpan,E.ParseErrorLevel.FATAL);t.push(i)}})})},e.decorators=[{type:s.Injectable}],e.ctorParameters=[{type:p.Parser},{type:C.ElementSchemaRegistry},{type:m.HtmlParser},{type:a.Console},{type:Array,decorators:[{type:s.Optional},{type:s.Inject,args:[t.TEMPLATE_TRANSFORMS]}]}],e}();t.TemplateParser=B;var U=function(){function e(e,t,n,r,i,o){var s=this;this.providerViewContext=e,this._schemas=r,this._exprParser=i,this._schemaRegistry=o,this.errors=[],this.directivesIndex=new Map,this.ngContentCount=0,this.selectorMatcher=new w.SelectorMatcher;var a=e.component.template;h.isPresent(a)&&h.isPresent(a.interpolation)&&(this._interpolationConfig={start:a.interpolation[0],end:a.interpolation[1]}),l.ListWrapper.forEachWithIndex(t,function(e,t){var n=w.CssSelector.parse(e.selector);s.selectorMatcher.addSelectables(n,e),s.directivesIndex.set(e,t)}),this.pipesByName=new Map,n.forEach(function(e){return s.pipesByName.set(e.name,e)})}return e.prototype._reportError=function(e,t,n){void 0===n&&(n=E.ParseErrorLevel.FATAL),this.errors.push(new j(e,t,n))},e.prototype._reportParserErors=function(e,t){for(var n=0,r=e;na.MAX_INTERPOLATION_VALUES)throw new f.BaseException("Only support at most "+a.MAX_INTERPOLATION_VALUES+" interpolation values!");return r}catch(i){return this._reportError(""+i,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseAction=function(e,t){var n=t.start.toString();try{var r=this._exprParser.parseAction(e,n,this._interpolationConfig);return r&&this._reportParserErors(r.errors,t),!r||r.ast instanceof c.EmptyExpr?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,t),r)}catch(i){return this._reportError(""+i,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseBinding=function(e,t){var n=t.start.toString();try{var r=this._exprParser.parseBinding(e,n,this._interpolationConfig);return r&&this._reportParserErors(r.errors,t),this._checkPipes(r,t),r}catch(i){return this._reportError(""+i,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseTemplateBindings=function(e,t){var n=this,r=t.start.toString();try{var i=this._exprParser.parseTemplateBindings(e,r);return this._reportParserErors(i.errors,t),i.templateBindings.forEach(function(e){h.isPresent(e.expression)&&n._checkPipes(e.expression,t)}),i.warnings.forEach(function(e){n._reportError(e,t,E.ParseErrorLevel.WARNING)}),i.templateBindings}catch(o){return this._reportError(""+o,t),[]}},e.prototype._checkPipes=function(e,t){var n=this;if(h.isPresent(e)){var r=new $;e.visit(r),r.pipes.forEach(function(e){n.pipesByName.has(e)||n._reportError("The pipe '"+e+"' could not be found",t)})}},e.prototype.visitExpansion=function(e,t){return null},e.prototype.visitExpansionCase=function(e,t){return null},e.prototype.visitText=function(e,t){var n=t.findNgContentIndex(L),r=this._parseInterpolation(e.value,e.sourceSpan);return h.isPresent(r)?new A.BoundTextAst(r,n,e.sourceSpan):new A.TextAst(e.value,n,e.sourceSpan)},e.prototype.visitAttribute=function(e,t){return new A.AttrAst(e.name,e.value,e.sourceSpan)},e.prototype.visitComment=function(e,t){return null},e.prototype.visitElement=function(e,t){var n=this,r=e.name,o=T.preparseElement(e);if(o.type===T.PreparsedElementType.SCRIPT||o.type===T.PreparsedElementType.STYLE)return null;if(o.type===T.PreparsedElementType.STYLESHEET&&S.isStyleUrlResolvable(o.hrefAttr))return null;var s=[],a=[],u=[],c=[],p=[],l=[],f=[],d=[],m=[],v=!1,g=[],E=_.splitNsName(r.toLowerCase())[1],C=E==M;e.attrs.forEach(function(e){var t=n._parseAttr(C,e,s,a,p,l,u,c),r=n._parseInlineTemplateBinding(e,d,f,m);r&&v&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",e.sourceSpan),t||r||(g.push(n.visitAttribute(e,null)),s.push([e.name,e.value])),r&&(v=!0)});var P=i(r,s),O=this._parseDirectives(this.selectorMatcher,P),x=[],R=this._createDirectiveAsts(C,e.name,O,a,u,e.sourceSpan,x),I=this._createElementPropertyAsts(e.name,a,R).concat(p),N=t.isTemplateElement||v,k=new b.ProviderElementContext(this.providerViewContext,t.providerContext,N,R,g,x,e.sourceSpan),D=y.visitAll(o.nonBindable?K:this,e.children,q.create(C,R,C?t.providerContext:k));k.afterElement();var V,L=h.isPresent(o.projectAs)?w.CssSelector.parse(o.projectAs)[0]:P,j=t.findNgContentIndex(L);if(o.type===T.PreparsedElementType.NG_CONTENT)h.isPresent(e.children)&&e.children.length>0&&this._reportError(" element cannot have content. must be immediately followed by ",e.sourceSpan),V=new A.NgContentAst((this.ngContentCount++),v?null:j,e.sourceSpan);else if(C)this._assertAllEventsPublishedByDirectives(R,l), -this._assertNoComponentsNorElementBindingsOnTemplate(R,I,e.sourceSpan),V=new A.EmbeddedTemplateAst(g,l,x,c,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,D,v?null:j,e.sourceSpan);else{this._assertOnlyOneComponent(R,e.sourceSpan);var F=v?null:t.findNgContentIndex(L);V=new A.ElementAst(r,g,I,l,x,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,D,v?null:F,e.sourceSpan)}if(v){var B=i(M,d),U=this._parseDirectives(this.selectorMatcher,B),W=this._createDirectiveAsts(!0,e.name,U,f,[],e.sourceSpan,[]),H=this._createElementPropertyAsts(e.name,f,W);this._assertNoComponentsNorElementBindingsOnTemplate(W,H,e.sourceSpan);var G=new b.ProviderElementContext(this.providerViewContext,t.providerContext,t.isTemplateElement,W,[],[],e.sourceSpan);G.afterElement(),V=new A.EmbeddedTemplateAst([],[],[],m,G.transformedDirectiveAsts,G.transformProviders,G.transformedHasViewContainer,[V],j,e.sourceSpan)}return V},e.prototype._parseInlineTemplateBinding=function(e,t,n,r){var i=null;if(this._normalizeAttributeName(e.name)==x)i=e.value;else if(e.name.startsWith(R)){var o=e.name.substring(R.length);i=0==e.value.length?o:o+" "+e.value}if(h.isPresent(i)){for(var s=this._parseTemplateBindings(i,e.sourceSpan),a=0;a elements is deprecated. Use "let-" instead!',t.sourceSpan,E.ParseErrorLevel.WARNING),this._parseVariable(f,c,t.sourceSpan,a)):(this._reportError('"var-" on non