webpackJsonp([2],[ /* 0 */ /***/ function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(484); __webpack_require__(371); /***/ }, /* 1 */, /* 2 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {/** * @license Angular v2.4.7 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { true ? factory(exports, __webpack_require__(3), __webpack_require__(4), __webpack_require__(22)) : typeof define === 'function' && define.amd ? define(['exports', '@angular/compiler', '@angular/core', '@angular/platform-browser'], factory) : (factory((global.ng = global.ng || {}, global.ng.platformBrowserDynamic = global.ng.platformBrowserDynamic || {}),global.ng.compiler,global.ng.core,global.ng.platformBrowser)); }(this, function (exports,_angular_compiler,_angular_core,_angular_platformBrowser) { 'use strict'; var INTERNAL_BROWSER_PLATFORM_PROVIDERS = _angular_platformBrowser.__platform_browser_private__.INTERNAL_BROWSER_PLATFORM_PROVIDERS; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var ResourceLoaderImpl = (function (_super) { __extends(ResourceLoaderImpl, _super); function ResourceLoaderImpl() { _super.apply(this, arguments); } ResourceLoaderImpl.prototype.get = function (url) { var resolve; var reject; var promise = new Promise(function (res, rej) { resolve = res; reject = rej; }); var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.responseType = 'text'; xhr.onload = function () { // responseText is the old-school way of retrieving response (supported by IE8 & 9) // response/responseType properties were introduced in ResourceLoader Level2 spec (supported // by IE10) var response = xhr.response || xhr.responseText; // normalize IE9 bug (http://bugs.jquery.com/ticket/1450) var status = xhr.status === 1223 ? 204 : xhr.status; // fix status code when it is 0 (0 status is undocumented). // Occurs when accessing file resources or on Android 4.1 stock browser // while retrieving files from application cache. if (status === 0) { status = response ? 200 : 0; } if (200 <= status && status <= 300) { resolve(response); } else { reject("Failed to load " + url); } }; xhr.onerror = function () { reject("Failed to load " + url); }; xhr.send(); return promise; }; ResourceLoaderImpl.decorators = [ { type: _angular_core.Injectable }, ]; /** @nocollapse */ ResourceLoaderImpl.ctorParameters = function () { return []; }; return ResourceLoaderImpl; }(_angular_compiler.ResourceLoader)); var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [ INTERNAL_BROWSER_PLATFORM_PROVIDERS, { provide: _angular_core.COMPILER_OPTIONS, useValue: { providers: [{ provide: _angular_compiler.ResourceLoader, useClass: ResourceLoaderImpl }] }, multi: true }, ]; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var globalScope; if (typeof window === 'undefined') { if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) { // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492 globalScope = self; } else { globalScope = global; } } else { globalScope = window; } // Need to declare a new variable for global here since TypeScript // exports the original value of the symbol. var _global = globalScope; // TODO: remove calls to assert in production environment // Note: Can't just export this and import in in other files // as `assert` is a reserved keyword in Dart _global.assert = function assert(condition) { // TODO: to be fixed properly via #2830, noop for now }; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var __extends$1 = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; /** * An implementation of ResourceLoader that uses a template cache to avoid doing an actual * ResourceLoader. * * The template cache needs to be built and loaded into window.$templateCache * via a separate mechanism. */ var CachedResourceLoader = (function (_super) { __extends$1(CachedResourceLoader, _super); function CachedResourceLoader() { _super.call(this); this._cache = _global.$templateCache; if (this._cache == null) { throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.'); } } CachedResourceLoader.prototype.get = function (url) { if (this._cache.hasOwnProperty(url)) { return Promise.resolve(this._cache[url]); } else { return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url); } }; return CachedResourceLoader; }(_angular_compiler.ResourceLoader)); var __platform_browser_dynamic_private__ = { INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, ResourceLoaderImpl: ResourceLoaderImpl }; /** * @stable */ var VERSION = new _angular_core.Version('2.4.7'); /** * @experimental */ var RESOURCE_CACHE_PROVIDER = [{ provide: _angular_compiler.ResourceLoader, useClass: CachedResourceLoader }]; /** * @stable */ var platformBrowserDynamic = _angular_core.createPlatformFactory(_angular_compiler.platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS); exports.RESOURCE_CACHE_PROVIDER = RESOURCE_CACHE_PROVIDER; exports.platformBrowserDynamic = platformBrowserDynamic; exports.VERSION = VERSION; exports.__platform_browser_dynamic_private__ = __platform_browser_dynamic_private__; })); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }, /* 3 */ /***/ function(module, exports, __webpack_require__) { /** * @license Angular v2.4.7 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { true ? factory(exports, __webpack_require__(4)) : typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) : (factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}),global.ng.core)); }(this, function (exports,_angular_core) { 'use strict'; /** * @stable */ var /** @type {?} */ VERSION = new _angular_core.Version('2.4.7'); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A segment of text within the template. */ var TextAst = (function () { /** * @param {?} value * @param {?} ngContentIndex * @param {?} sourceSpan */ function TextAst(value, ngContentIndex, sourceSpan) { this.value = value; this.ngContentIndex = ngContentIndex; this.sourceSpan = sourceSpan; } /** * @param {?} visitor * @param {?} context * @return {?} */ TextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); }; return TextAst; }()); /** * A bound expression within the text of a template. */ var BoundTextAst = (function () { /** * @param {?} value * @param {?} ngContentIndex * @param {?} sourceSpan */ function BoundTextAst(value, ngContentIndex, sourceSpan) { this.value = value; this.ngContentIndex = ngContentIndex; this.sourceSpan = sourceSpan; } /** * @param {?} visitor * @param {?} context * @return {?} */ BoundTextAst.prototype.visit = function (visitor, context) { return visitor.visitBoundText(this, context); }; return BoundTextAst; }()); /** * A plain attribute on an element. */ var AttrAst = (function () { /** * @param {?} name * @param {?} value * @param {?} sourceSpan */ function AttrAst(name, value, sourceSpan) { this.name = name; this.value = value; this.sourceSpan = sourceSpan; } /** * @param {?} visitor * @param {?} context * @return {?} */ AttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); }; return AttrAst; }()); /** * A binding for an element property (e.g. `[property]="expression"`) or an animation trigger (e.g. * `[\@trigger]="stateExp"`) */ var BoundElementPropertyAst = (function () { /** * @param {?} name * @param {?} type * @param {?} securityContext * @param {?} needsRuntimeSecurityContext * @param {?} value * @param {?} unit * @param {?} sourceSpan */ function BoundElementPropertyAst(name, type, securityContext, needsRuntimeSecurityContext, value, unit, sourceSpan) { this.name = name; this.type = type; this.securityContext = securityContext; this.needsRuntimeSecurityContext = needsRuntimeSecurityContext; this.value = value; this.unit = unit; this.sourceSpan = sourceSpan; } /** * @param {?} visitor * @param {?} context * @return {?} */ BoundElementPropertyAst.prototype.visit = function (visitor, context) { return visitor.visitElementProperty(this, context); }; Object.defineProperty(BoundElementPropertyAst.prototype, "isAnimation", { /** * @return {?} */ get: function () { return this.type === PropertyBindingType.Animation; }, enumerable: true, configurable: true }); return BoundElementPropertyAst; }()); /** * A binding for an element event (e.g. `(event)="handler()"`) or an animation trigger event (e.g. * `(\@trigger.phase)="callback($event)"`). */ var BoundEventAst = (function () { /** * @param {?} name * @param {?} target * @param {?} phase * @param {?} handler * @param {?} sourceSpan */ function BoundEventAst(name, target, phase, handler, sourceSpan) { this.name = name; this.target = target; this.phase = phase; this.handler = handler; this.sourceSpan = sourceSpan; } /** * @param {?} name * @param {?} target * @param {?} phase * @return {?} */ BoundEventAst.calcFullName = function (name, target, phase) { if (target) { return target + ":" + name; } else if (phase) { return "@" + name + "." + phase; } else { return name; } }; /** * @param {?} visitor * @param {?} context * @return {?} */ BoundEventAst.prototype.visit = function (visitor, context) { return visitor.visitEvent(this, context); }; Object.defineProperty(BoundEventAst.prototype, "fullName", { /** * @return {?} */ get: function () { return BoundEventAst.calcFullName(this.name, this.target, this.phase); }, enumerable: true, configurable: true }); Object.defineProperty(BoundEventAst.prototype, "isAnimation", { /** * @return {?} */ get: function () { return !!this.phase; }, enumerable: true, configurable: true }); return BoundEventAst; }()); /** * A reference declaration on an element (e.g. `let someName="expression"`). */ var ReferenceAst = (function () { /** * @param {?} name * @param {?} value * @param {?} sourceSpan */ function ReferenceAst(name, value, sourceSpan) { this.name = name; this.value = value; this.sourceSpan = sourceSpan; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReferenceAst.prototype.visit = function (visitor, context) { return visitor.visitReference(this, context); }; return ReferenceAst; }()); /** * A variable declaration on a