var vendor_lib = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmony imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 1016); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var root_1 = __webpack_require__(26); var toSubscriber_1 = __webpack_require__(1014); var observable_1 = __webpack_require__(141); /** * A representation of any set of values over any amount of time. This the most basic building block * of RxJS. * * @class Observable */ var Observable = (function () { /** * @constructor * @param {Function} subscribe the function that is called when the Observable is * initially subscribed to. This function is given a Subscriber, to which new values * can be `next`ed, or an `error` method can be called to raise an error, or * `complete` can be called to notify of a successful completion. */ function Observable(subscribe) { this._isScalar = false; if (subscribe) { this._subscribe = subscribe; } } /** * Creates a new Observable, with this Observable as the source, and the passed * operator defined as the new observable's operator. * @method lift * @param {Operator} operator the operator defining the operation to take on the observable * @return {Observable} a new observable with the Operator applied */ Observable.prototype.lift = function (operator) { var observable = new Observable(); observable.source = this; observable.operator = operator; return observable; }; Observable.prototype.subscribe = function (observerOrNext, error, complete) { var operator = this.operator; var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete); if (operator) { operator.call(sink, this.source); } else { sink.add(this._subscribe(sink)); } if (sink.syncErrorThrowable) { sink.syncErrorThrowable = false; if (sink.syncErrorThrown) { throw sink.syncErrorValue; } } return sink; }; /** * @method forEach * @param {Function} next a handler for each value emitted by the observable * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise * @return {Promise} a promise that either resolves on observable completion or * rejects with the handled error */ Observable.prototype.forEach = function (next, PromiseCtor) { var _this = this; if (!PromiseCtor) { if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { PromiseCtor = root_1.root.Rx.config.Promise; } else if (root_1.root.Promise) { PromiseCtor = root_1.root.Promise; } } if (!PromiseCtor) { throw new Error('no Promise impl found'); } return new PromiseCtor(function (resolve, reject) { var subscription = _this.subscribe(function (value) { if (subscription) { // if there is a subscription, then we can surmise // the next handling is asynchronous. Any errors thrown // need to be rejected explicitly and unsubscribe must be // called manually try { next(value); } catch (err) { reject(err); subscription.unsubscribe(); } } else { // if there is NO subscription, then we're getting a nexted // value synchronously during subscription. We can just call it. // If it errors, Observable's `subscribe` will ensure the // unsubscription logic is called, then synchronously rethrow the error. // After that, Promise will trap the error and send it // down the rejection path. next(value); } }, reject, resolve); }); }; Observable.prototype._subscribe = function (subscriber) { return this.source.subscribe(subscriber); }; /** * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable * @method Symbol.observable * @return {Observable} this instance of the observable */ Observable.prototype[observable_1.$$observable] = function () { return this; }; // HACK: Since TypeScript inherits static properties too, we have to // fight against TypeScript here so Subject can have a different static create signature /** * Creates a new cold Observable by calling the Observable constructor * @static true * @owner Observable * @method create * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor * @return {Observable} a new cold observable */ Observable.create = function (subscribe) { return new Observable(subscribe); }; return Observable; }()); exports.Observable = Observable; //# sourceMappingURL=Observable.js.map /***/ }), /* 1 */, /* 2 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_core__ = __webpack_require__(506); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createPlatform", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["createPlatform"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "assertPlatform", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["assertPlatform"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "destroyPlatform", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["destroyPlatform"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "getPlatform", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["getPlatform"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "PlatformRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["PlatformRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicationRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ApplicationRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "enableProdMode", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["enableProdMode"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "isDevMode", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["isDevMode"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createPlatformFactory", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["createPlatformFactory"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NgProbeToken", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NgProbeToken"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "APP_ID", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["APP_ID"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "PACKAGE_ROOT_URL", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["PACKAGE_ROOT_URL"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "PLATFORM_INITIALIZER", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["PLATFORM_INITIALIZER"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "APP_BOOTSTRAP_LISTENER", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["APP_BOOTSTRAP_LISTENER"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "APP_INITIALIZER", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["APP_INITIALIZER"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicationInitStatus", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ApplicationInitStatus"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "DebugElement", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["DebugElement"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "DebugNode", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["DebugNode"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "asNativeElements", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["asNativeElements"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "getDebugNode", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["getDebugNode"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Testability", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Testability"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TestabilityRegistry", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["TestabilityRegistry"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "setTestabilityGetter", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["setTestabilityGetter"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TRANSLATIONS", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["TRANSLATIONS"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TRANSLATIONS_FORMAT", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["TRANSLATIONS_FORMAT"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "LOCALE_ID", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["LOCALE_ID"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicationModule", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ApplicationModule"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "wtfCreateScope", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["wtfCreateScope"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "wtfLeave", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["wtfLeave"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "wtfStartTimeRange", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["wtfStartTimeRange"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "wtfEndTimeRange", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["wtfEndTimeRange"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Type", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Type"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "EventEmitter", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["EventEmitter"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ErrorHandler", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ErrorHandler"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationTransitionEvent", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationTransitionEvent"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationPlayer", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationPlayer"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationStyles", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationStyles"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationKeyframe", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationKeyframe"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Sanitizer", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Sanitizer"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SecurityContext", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["SecurityContext"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ANALYZE_FOR_ENTRY_COMPONENTS", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ANALYZE_FOR_ENTRY_COMPONENTS"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Attribute", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Attribute"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ContentChild", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ContentChild"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ContentChildren", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ContentChildren"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Query", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Query"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ViewChild", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ViewChild"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ViewChildren", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ViewChildren"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Component", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Component"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Directive", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Directive"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HostBinding", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["HostBinding"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HostListener", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["HostListener"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Input", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Input"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Output", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Output"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Pipe", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Pipe"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AfterContentChecked", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AfterContentChecked"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AfterContentInit", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AfterContentInit"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AfterViewChecked", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AfterViewChecked"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AfterViewInit", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AfterViewInit"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "DoCheck", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["DoCheck"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "OnChanges", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["OnChanges"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "OnDestroy", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["OnDestroy"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "OnInit", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["OnInit"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "CUSTOM_ELEMENTS_SCHEMA", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["CUSTOM_ELEMENTS_SCHEMA"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NO_ERRORS_SCHEMA", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NO_ERRORS_SCHEMA"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NgModule", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NgModule"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ViewEncapsulation", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ViewEncapsulation"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Version", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Version"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["VERSION"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Class", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Class"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "forwardRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["forwardRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "resolveForwardRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["resolveForwardRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Injector", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Injector"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ReflectiveInjector", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ReflectiveInjector"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ResolvedReflectiveFactory", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ResolvedReflectiveFactory"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ReflectiveKey", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ReflectiveKey"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "OpaqueToken", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["OpaqueToken"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Inject", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Inject"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Optional", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Optional"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Injectable", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Injectable"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Self", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Self"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SkipSelf", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["SkipSelf"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Host", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Host"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NgZone", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NgZone"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "RenderComponentType", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["RenderComponentType"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Renderer", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Renderer"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "RootRenderer", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["RootRenderer"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "COMPILER_OPTIONS", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["COMPILER_OPTIONS"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Compiler", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Compiler"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "CompilerFactory", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["CompilerFactory"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ModuleWithComponentFactories", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ModuleWithComponentFactories"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentFactory", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ComponentFactory"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ComponentRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentFactoryResolver", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ComponentFactoryResolver"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ElementRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ElementRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleFactory", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NgModuleFactory"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NgModuleRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleFactoryLoader", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["NgModuleFactoryLoader"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "getModuleFactory", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["getModuleFactory"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "QueryList", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["QueryList"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SystemJsNgModuleLoader", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["SystemJsNgModuleLoader"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SystemJsNgModuleLoaderConfig", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["SystemJsNgModuleLoaderConfig"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["TemplateRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ViewContainerRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ViewContainerRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "EmbeddedViewRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["EmbeddedViewRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ViewRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ViewRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ChangeDetectionStrategy", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ChangeDetectionStrategy"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ChangeDetectorRef", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["ChangeDetectorRef"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "CollectionChangeRecord", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["CollectionChangeRecord"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "DefaultIterableDiffer", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["DefaultIterableDiffer"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "IterableDiffers", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["IterableDiffers"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "KeyValueChangeRecord", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["KeyValueChangeRecord"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "KeyValueDiffers", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["KeyValueDiffers"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SimpleChange", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["SimpleChange"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "WrappedValue", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["WrappedValue"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "platformCore", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["platformCore"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "__core_private__", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["__core_private__"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AUTO_STYLE", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AUTO_STYLE"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationEntryMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationEntryMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationStateMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationStateMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationStateDeclarationMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationStateDeclarationMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationStateTransitionMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationStateTransitionMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationKeyframesSequenceMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationKeyframesSequenceMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationStyleMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationStyleMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationAnimateMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationAnimateMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationWithStepsMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationWithStepsMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationSequenceMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationSequenceMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationGroupMetadata", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["AnimationGroupMetadata"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "animate", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["animate"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "group", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["group"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "sequence", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["sequence"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "style", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["style"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "state", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["state"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "keyframes", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["keyframes"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "transition", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["transition"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "trigger", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["trigger"]; }); /** * @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 */ /** * @module * @description * Entry point for all public APIs of the core package. */ //# sourceMappingURL=index.js.map /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; 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 isFunction_1 = __webpack_require__(296); var Subscription_1 = __webpack_require__(21); var Observer_1 = __webpack_require__(413); var rxSubscriber_1 = __webpack_require__(198); /** * Implements the {@link Observer} interface and extends the * {@link Subscription} class. While the {@link Observer} is the public API for * consuming the values of an {@link Observable}, all Observers get converted to * a Subscriber, in order to provide Subscription-like capabilities such as * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for * implementing operators, but it is rarely used as a public API. * * @class Subscriber */ var Subscriber = (function (_super) { __extends(Subscriber, _super); /** * @param {Observer|function(value: T): void} [destinationOrNext] A partially * defined Observer or a `next` callback function. * @param {function(e: ?any): void} [error] The `error` callback of an * Observer. * @param {function(): void} [complete] The `complete` callback of an * Observer. */ function Subscriber(destinationOrNext, error, complete) { _super.call(this); this.syncErrorValue = null; this.syncErrorThrown = false; this.syncErrorThrowable = false; this.isStopped = false; switch (arguments.length) { case 0: this.destination = Observer_1.empty; break; case 1: if (!destinationOrNext) { this.destination = Observer_1.empty; break; } if (typeof destinationOrNext === 'object') { if (destinationOrNext instanceof Subscriber) { this.destination = destinationOrNext; this.destination.add(this); } else { this.syncErrorThrowable = true; this.destination = new SafeSubscriber(this, destinationOrNext); } break; } default: this.syncErrorThrowable = true; this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); break; } } Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function () { return this; }; /** * A static factory for a Subscriber, given a (potentially partial) definition * of an Observer. * @param {function(x: ?T): void} [next] The `next` callback of an Observer. * @param {function(e: ?any): void} [error] The `error` callback of an * Observer. * @param {function(): void} [complete] The `complete` callback of an * Observer. * @return {Subscriber} A Subscriber wrapping the (partially defined) * Observer represented by the given arguments. */ Subscriber.create = function (next, error, complete) { var subscriber = new Subscriber(next, error, complete); subscriber.syncErrorThrowable = false; return subscriber; }; /** * The {@link Observer} callback to receive notifications of type `next` from * the Observable, with a value. The Observable may call this method 0 or more * times. * @param {T} [value] The `next` value. * @return {void} */ Subscriber.prototype.next = function (value) { if (!this.isStopped) { this._next(value); } }; /** * The {@link Observer} callback to receive notifications of type `error` from * the Observable, with an attached {@link Error}. Notifies the Observer that * the Observable has experienced an error condition. * @param {any} [err] The `error` exception. * @return {void} */ Subscriber.prototype.error = function (err) { if (!this.isStopped) { this.isStopped = true; this._error(err); } }; /** * The {@link Observer} callback to receive a valueless notification of type * `complete` from the Observable. Notifies the Observer that the Observable * has finished sending push-based notifications. * @return {void} */ Subscriber.prototype.complete = function () { if (!this.isStopped) { this.isStopped = true; this._complete(); } }; Subscriber.prototype.unsubscribe = function () { if (this.closed) { return; } this.isStopped = true; _super.prototype.unsubscribe.call(this); }; Subscriber.prototype._next = function (value) { this.destination.next(value); }; Subscriber.prototype._error = function (err) { this.destination.error(err); this.unsubscribe(); }; Subscriber.prototype._complete = function () { this.destination.complete(); this.unsubscribe(); }; return Subscriber; }(Subscription_1.Subscription)); exports.Subscriber = Subscriber; /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var SafeSubscriber = (function (_super) { __extends(SafeSubscriber, _super); function SafeSubscriber(_parent, observerOrNext, error, complete) { _super.call(this); this._parent = _parent; var next; var context = this; if (isFunction_1.isFunction(observerOrNext)) { next = observerOrNext; } else if (observerOrNext) { context = observerOrNext; next = observerOrNext.next; error = observerOrNext.error; complete = observerOrNext.complete; if (isFunction_1.isFunction(context.unsubscribe)) { this.add(context.unsubscribe.bind(context)); } context.unsubscribe = this.unsubscribe.bind(this); } this._context = context; this._next = next; this._error = error; this._complete = complete; } SafeSubscriber.prototype.next = function (value) { if (!this.isStopped && this._next) { var _parent = this._parent; if (!_parent.syncErrorThrowable) { this.__tryOrUnsub(this._next, value); } else if (this.__tryOrSetError(_parent, this._next, value)) { this.unsubscribe(); } } }; SafeSubscriber.prototype.error = function (err) { if (!this.isStopped) { var _parent = this._parent; if (this._error) { if (!_parent.syncErrorThrowable) { this.__tryOrUnsub(this._error, err); this.unsubscribe(); } else { this.__tryOrSetError(_parent, this._error, err); this.unsubscribe(); } } else if (!_parent.syncErrorThrowable) { this.unsubscribe(); throw err; } else { _parent.syncErrorValue = err; _parent.syncErrorThrown = true; this.unsubscribe(); } } }; SafeSubscriber.prototype.complete = function () { if (!this.isStopped) { var _parent = this._parent; if (this._complete) { if (!_parent.syncErrorThrowable) { this.__tryOrUnsub(this._complete); this.unsubscribe(); } else { this.__tryOrSetError(_parent, this._complete); this.unsubscribe(); } } else { this.unsubscribe(); } } }; SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) { try { fn.call(this._context, value); } catch (err) { this.unsubscribe(); throw err; } }; SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) { try { fn.call(this._context, value); } catch (err) { parent.syncErrorValue = err; parent.syncErrorThrown = true; return true; } return false; }; SafeSubscriber.prototype._unsubscribe = function () { var _parent = this._parent; this._context = null; this._parent = null; _parent.unsubscribe(); }; return SafeSubscriber; }(Subscriber)); //# sourceMappingURL=Subscriber.js.map /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; 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 Subscriber_1 = __webpack_require__(3); /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var OuterSubscriber = (function (_super) { __extends(OuterSubscriber, _super); function OuterSubscriber() { _super.apply(this, arguments); } OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) { this.destination.next(innerValue); }; OuterSubscriber.prototype.notifyError = function (error, innerSub) { this.destination.error(error); }; OuterSubscriber.prototype.notifyComplete = function (innerSub) { this.destination.complete(); }; return OuterSubscriber; }(Subscriber_1.Subscriber)); exports.OuterSubscriber = OuterSubscriber; //# sourceMappingURL=OuterSubscriber.js.map /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var root_1 = __webpack_require__(26); var isArray_1 = __webpack_require__(56); var isPromise_1 = __webpack_require__(438); var isObject_1 = __webpack_require__(437); var Observable_1 = __webpack_require__(0); var iterator_1 = __webpack_require__(140); var InnerSubscriber_1 = __webpack_require__(751); var observable_1 = __webpack_require__(141); function subscribeToResult(outerSubscriber, result, outerValue, outerIndex) { var destination = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex); if (destination.closed) { return null; } if (result instanceof Observable_1.Observable) { if (result._isScalar) { destination.next(result.value); destination.complete(); return null; } else { return result.subscribe(destination); } } else if (isArray_1.isArray(result)) { for (var i = 0, len = result.length; i < len && !destination.closed; i++) { destination.next(result[i]); } if (!destination.closed) { destination.complete(); } } else if (isPromise_1.isPromise(result)) { result.then(function (value) { if (!destination.closed) { destination.next(value); destination.complete(); } }, function (err) { return destination.error(err); }) .then(null, function (err) { // Escaping the Promise trap: globally throw unhandled errors root_1.root.setTimeout(function () { throw err; }); }); return destination; } else if (result && typeof result[iterator_1.$$iterator] === 'function') { var iterator = result[iterator_1.$$iterator](); do { var item = iterator.next(); if (item.done) { destination.complete(); break; } destination.next(item.value); if (destination.closed) { break; } } while (true); } else if (result && typeof result[observable_1.$$observable] === 'function') { var obs = result[observable_1.$$observable](); if (typeof obs.subscribe !== 'function') { destination.error(new TypeError('Provided object does not correctly implement Symbol.observable')); } else { return obs.subscribe(new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex)); } } else { var value = isObject_1.isObject(result) ? 'an invalid object' : "'" + result + "'"; var msg = ("You provided " + value + " where a stream was expected.") + ' You can provide an Observable, Promise, Array, or Iterable.'; destination.error(new TypeError(msg)); } return null; } exports.subscribeToResult = subscribeToResult; //# sourceMappingURL=subscribeToResult.js.map /***/ }), /* 6 */, /* 7 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) {Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony export (immutable) */ __webpack_exports__["scheduleMicroTask"] = scheduleMicroTask; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "global", function() { return _global; }); /* harmony export (immutable) */ __webpack_exports__["getTypeNameForDebugging"] = getTypeNameForDebugging; /* harmony export (immutable) */ __webpack_exports__["isPresent"] = isPresent; /* harmony export (immutable) */ __webpack_exports__["isBlank"] = isBlank; /* harmony export (immutable) */ __webpack_exports__["isStrictStringMap"] = isStrictStringMap; /* harmony export (immutable) */ __webpack_exports__["stringify"] = stringify; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NumberWrapper", function() { return NumberWrapper; }); /* harmony export (immutable) */ __webpack_exports__["looseIdentical"] = looseIdentical; /* harmony export (immutable) */ __webpack_exports__["isJsObject"] = isJsObject; /* harmony export (immutable) */ __webpack_exports__["print"] = print; /* harmony export (immutable) */ __webpack_exports__["warn"] = warn; /* harmony export (immutable) */ __webpack_exports__["setValueOnPath"] = setValueOnPath; /* harmony export (immutable) */ __webpack_exports__["getSymbolIterator"] = getSymbolIterator; /* harmony export (immutable) */ __webpack_exports__["isPrimitive"] = isPrimitive; /* harmony export (immutable) */ __webpack_exports__["escapeRegExp"] = escapeRegExp; /** * @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 /** @type {?} */ 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); } /** * @param {?} fn * @return {?} */ function scheduleMicroTask(fn) { Zone.current.scheduleMicroTask('scheduleMicrotask', fn); } // Need to declare a new variable for global here since TypeScript // exports the original value of the symbol. var /** @type {?} */ _global = globalScope; /** * @param {?} type * @return {?} */ function getTypeNameForDebugging(type) { return type['name'] || typeof type; } // 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 }; /** * @param {?} obj * @return {?} */ function isPresent(obj) { return obj != null; } /** * @param {?} obj * @return {?} */ function isBlank(obj) { return obj == null; } var /** @type {?} */ STRING_MAP_PROTO = Object.getPrototypeOf({}); /** * @param {?} obj * @return {?} */ function isStrictStringMap(obj) { return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; } /** * @param {?} token * @return {?} */ function stringify(token) { if (typeof token === 'string') { return token; } if (token == null) { return '' + token; } if (token.overriddenName) { return "" + token.overriddenName; } if (token.name) { return "" + token.name; } var /** @type {?} */ res = token.toString(); var /** @type {?} */ newLineIndex = res.indexOf('\n'); return newLineIndex === -1 ? res : res.substring(0, newLineIndex); } var NumberWrapper = (function () { function NumberWrapper() { } /** * @param {?} text * @return {?} */ NumberWrapper.parseIntAutoRadix = function (text) { var /** @type {?} */ result = parseInt(text); if (isNaN(result)) { throw new Error('Invalid integer literal when parsing ' + text); } return result; }; /** * @param {?} value * @return {?} */ NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); }; return NumberWrapper; }()); /** * @param {?} a * @param {?} b * @return {?} */ function looseIdentical(a, b) { return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); } /** * @param {?} o * @return {?} */ function isJsObject(o) { return o !== null && (typeof o === 'function' || typeof o === 'object'); } /** * @param {?} obj * @return {?} */ function print(obj) { // tslint:disable-next-line:no-console console.log(obj); } /** * @param {?} obj * @return {?} */ function warn(obj) { console.warn(obj); } /** * @param {?} global * @param {?} path * @param {?} value * @return {?} */ function setValueOnPath(global, path, value) { var /** @type {?} */ parts = path.split('.'); var /** @type {?} */ obj = global; while (parts.length > 1) { var /** @type {?} */ name_1 = parts.shift(); if (obj.hasOwnProperty(name_1) && obj[name_1] != null) { obj = obj[name_1]; } else { obj = obj[name_1] = {}; } } if (obj === undefined || obj === null) { obj = {}; } obj[parts.shift()] = value; } var /** @type {?} */ _symbolIterator = null; /** * @return {?} */ function getSymbolIterator() { if (!_symbolIterator) { if (((globalScope)).Symbol && Symbol.iterator) { _symbolIterator = Symbol.iterator; } else { // es6-shim specific logic var /** @type {?} */ keys = Object.getOwnPropertyNames(Map.prototype); for (var /** @type {?} */ i = 0; i < keys.length; ++i) { var /** @type {?} */ key = keys[i]; if (key !== 'entries' && key !== 'size' && ((Map)).prototype[key] === Map.prototype['entries']) { _symbolIterator = key; } } } } return _symbolIterator; } /** * @param {?} obj * @return {?} */ function isPrimitive(obj) { return !isJsObject(obj); } /** * @param {?} s * @return {?} */ function escapeRegExp(s) { return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); } //# sourceMappingURL=lang.js.map /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(57))) /***/ }), /* 8 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) {Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony export (immutable) */ __webpack_exports__["scheduleMicroTask"] = scheduleMicroTask; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "global", function() { return _global; }); /* harmony export (immutable) */ __webpack_exports__["getTypeNameForDebugging"] = getTypeNameForDebugging; /* harmony export (immutable) */ __webpack_exports__["isPresent"] = isPresent; /* harmony export (immutable) */ __webpack_exports__["isBlank"] = isBlank; /* harmony export (immutable) */ __webpack_exports__["isStrictStringMap"] = isStrictStringMap; /* harmony export (immutable) */ __webpack_exports__["stringify"] = stringify; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NumberWrapper", function() { return NumberWrapper; }); /* harmony export (immutable) */ __webpack_exports__["looseIdentical"] = looseIdentical; /* harmony export (immutable) */ __webpack_exports__["isJsObject"] = isJsObject; /* harmony export (immutable) */ __webpack_exports__["print"] = print; /* harmony export (immutable) */ __webpack_exports__["warn"] = warn; /* harmony export (immutable) */ __webpack_exports__["setValueOnPath"] = setValueOnPath; /* harmony export (immutable) */ __webpack_exports__["getSymbolIterator"] = getSymbolIterator; /* harmony export (immutable) */ __webpack_exports__["isPrimitive"] = isPrimitive; /* harmony export (immutable) */ __webpack_exports__["escapeRegExp"] = escapeRegExp; /** * @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 /** @type {?} */ 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); } /** * @param {?} fn * @return {?} */ function scheduleMicroTask(fn) { Zone.current.scheduleMicroTask('scheduleMicrotask', fn); } // Need to declare a new variable for global here since TypeScript // exports the original value of the symbol. var /** @type {?} */ _global = globalScope; /** * @param {?} type * @return {?} */ function getTypeNameForDebugging(type) { return type['name'] || typeof type; } // 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 }; /** * @param {?} obj * @return {?} */ function isPresent(obj) { return obj != null; } /** * @param {?} obj * @return {?} */ function isBlank(obj) { return obj == null; } var /** @type {?} */ STRING_MAP_PROTO = Object.getPrototypeOf({}); /** * @param {?} obj * @return {?} */ function isStrictStringMap(obj) { return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; } /** * @param {?} token * @return {?} */ function stringify(token) { if (typeof token === 'string') { return token; } if (token == null) { return '' + token; } if (token.overriddenName) { return "" + token.overriddenName; } if (token.name) { return "" + token.name; } var /** @type {?} */ res = token.toString(); var /** @type {?} */ newLineIndex = res.indexOf('\n'); return newLineIndex === -1 ? res : res.substring(0, newLineIndex); } var NumberWrapper = (function () { function NumberWrapper() { } /** * @param {?} text * @return {?} */ NumberWrapper.parseIntAutoRadix = function (text) { var /** @type {?} */ result = parseInt(text); if (isNaN(result)) { throw new Error('Invalid integer literal when parsing ' + text); } return result; }; /** * @param {?} value * @return {?} */ NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); }; return NumberWrapper; }()); /** * @param {?} a * @param {?} b * @return {?} */ function looseIdentical(a, b) { return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); } /** * @param {?} o * @return {?} */ function isJsObject(o) { return o !== null && (typeof o === 'function' || typeof o === 'object'); } /** * @param {?} obj * @return {?} */ function print(obj) { // tslint:disable-next-line:no-console console.log(obj); } /** * @param {?} obj * @return {?} */ function warn(obj) { console.warn(obj); } /** * @param {?} global * @param {?} path * @param {?} value * @return {?} */ function setValueOnPath(global, path, value) { var /** @type {?} */ parts = path.split('.'); var /** @type {?} */ obj = global; while (parts.length > 1) { var /** @type {?} */ name_1 = parts.shift(); if (obj.hasOwnProperty(name_1) && obj[name_1] != null) { obj = obj[name_1]; } else { obj = obj[name_1] = {}; } } if (obj === undefined || obj === null) { obj = {}; } obj[parts.shift()] = value; } var /** @type {?} */ _symbolIterator = null; /** * @return {?} */ function getSymbolIterator() { if (!_symbolIterator) { if (((globalScope)).Symbol && Symbol.iterator) { _symbolIterator = Symbol.iterator; } else { // es6-shim specific logic var /** @type {?} */ keys = Object.getOwnPropertyNames(Map.prototype); for (var /** @type {?} */ i = 0; i < keys.length; ++i) { var /** @type {?} */ key = keys[i]; if (key !== 'entries' && key !== 'size' && ((Map)).prototype[key] === Map.prototype['entries']) { _symbolIterator = key; } } } } return _symbolIterator; } /** * @param {?} obj * @return {?} */ function isPrimitive(obj) { return !isJsObject(obj); } /** * @param {?} s * @return {?} */ function escapeRegExp(s) { return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); } //# sourceMappingURL=lang.js.map /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(57))) /***/ }), /* 9 */, /* 10 */, /* 11 */, /* 12 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(7); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeModifier", function() { return TypeModifier; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Type", function() { return Type; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinTypeName", function() { return BuiltinTypeName; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinType", function() { return BuiltinType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionType", function() { return ExpressionType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ArrayType", function() { return ArrayType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MapType", function() { return MapType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DYNAMIC_TYPE", function() { return DYNAMIC_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BOOL_TYPE", function() { return BOOL_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INT_TYPE", function() { return INT_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NUMBER_TYPE", function() { return NUMBER_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "STRING_TYPE", function() { return STRING_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FUNCTION_TYPE", function() { return FUNCTION_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NULL_TYPE", function() { return NULL_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BinaryOperator", function() { return BinaryOperator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Expression", function() { return Expression; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinVar", function() { return BuiltinVar; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadVarExpr", function() { return ReadVarExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WriteVarExpr", function() { return WriteVarExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WriteKeyExpr", function() { return WriteKeyExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WritePropExpr", function() { return WritePropExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinMethod", function() { return BuiltinMethod; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InvokeMethodExpr", function() { return InvokeMethodExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InvokeFunctionExpr", function() { return InvokeFunctionExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InstantiateExpr", function() { return InstantiateExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralExpr", function() { return LiteralExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalExpr", function() { return ExternalExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConditionalExpr", function() { return ConditionalExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotExpr", function() { return NotExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CastExpr", function() { return CastExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FnParam", function() { return FnParam; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FunctionExpr", function() { return FunctionExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BinaryOperatorExpr", function() { return BinaryOperatorExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadPropExpr", function() { return ReadPropExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadKeyExpr", function() { return ReadKeyExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralArrayExpr", function() { return LiteralArrayExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralMapEntry", function() { return LiteralMapEntry; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralMapExpr", function() { return LiteralMapExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "THIS_EXPR", function() { return THIS_EXPR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SUPER_EXPR", function() { return SUPER_EXPR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CATCH_ERROR_VAR", function() { return CATCH_ERROR_VAR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CATCH_STACK_VAR", function() { return CATCH_STACK_VAR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NULL_EXPR", function() { return NULL_EXPR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TYPED_NULL_EXPR", function() { return TYPED_NULL_EXPR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StmtModifier", function() { return StmtModifier; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Statement", function() { return Statement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeclareVarStmt", function() { return DeclareVarStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeclareFunctionStmt", function() { return DeclareFunctionStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionStatement", function() { return ExpressionStatement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReturnStatement", function() { return ReturnStatement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AbstractClassPart", function() { return AbstractClassPart; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassField", function() { return ClassField; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassMethod", function() { return ClassMethod; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassGetter", function() { return ClassGetter; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassStmt", function() { return ClassStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IfStmt", function() { return IfStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommentStmt", function() { return CommentStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TryCatchStmt", function() { return TryCatchStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ThrowStmt", function() { return ThrowStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionTransformer", function() { return ExpressionTransformer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecursiveExpressionVisitor", function() { return RecursiveExpressionVisitor; }); /* harmony export (immutable) */ __webpack_exports__["replaceVarInExpression"] = replaceVarInExpression; /* harmony export (immutable) */ __webpack_exports__["findReadVarNames"] = findReadVarNames; /* harmony export (immutable) */ __webpack_exports__["variable"] = variable; /* harmony export (immutable) */ __webpack_exports__["importExpr"] = importExpr; /* harmony export (immutable) */ __webpack_exports__["importType"] = importType; /* harmony export (immutable) */ __webpack_exports__["expressionType"] = expressionType; /* harmony export (immutable) */ __webpack_exports__["literalArr"] = literalArr; /* harmony export (immutable) */ __webpack_exports__["literalMap"] = literalMap; /* harmony export (immutable) */ __webpack_exports__["not"] = not; /* harmony export (immutable) */ __webpack_exports__["fn"] = fn; /* harmony export (immutable) */ __webpack_exports__["literal"] = literal; /** * @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 = (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 TypeModifier = {}; TypeModifier.Const = 0; TypeModifier[TypeModifier.Const] = "Const"; /** * @abstract */ var Type = (function () { /** * @param {?=} modifiers */ function Type(modifiers) { if (modifiers === void 0) { modifiers = null; } this.modifiers = modifiers; if (!modifiers) { this.modifiers = []; } } /** * @abstract * @param {?} visitor * @param {?} context * @return {?} */ Type.prototype.visitType = function (visitor, context) { }; /** * @param {?} modifier * @return {?} */ Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; }; return Type; }()); function Type_tsickle_Closure_declarations() { /** @type {?} */ Type.prototype.modifiers; } var BuiltinTypeName = {}; BuiltinTypeName.Dynamic = 0; BuiltinTypeName.Bool = 1; BuiltinTypeName.String = 2; BuiltinTypeName.Int = 3; BuiltinTypeName.Number = 4; BuiltinTypeName.Function = 5; BuiltinTypeName.Null = 6; BuiltinTypeName[BuiltinTypeName.Dynamic] = "Dynamic"; BuiltinTypeName[BuiltinTypeName.Bool] = "Bool"; BuiltinTypeName[BuiltinTypeName.String] = "String"; BuiltinTypeName[BuiltinTypeName.Int] = "Int"; BuiltinTypeName[BuiltinTypeName.Number] = "Number"; BuiltinTypeName[BuiltinTypeName.Function] = "Function"; BuiltinTypeName[BuiltinTypeName.Null] = "Null"; var BuiltinType = (function (_super) { __extends(BuiltinType, _super); /** * @param {?} name * @param {?=} modifiers */ function BuiltinType(name, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; } /** * @param {?} visitor * @param {?} context * @return {?} */ BuiltinType.prototype.visitType = function (visitor, context) { return visitor.visitBuiltintType(this, context); }; return BuiltinType; }(Type)); function BuiltinType_tsickle_Closure_declarations() { /** @type {?} */ BuiltinType.prototype.name; } var ExpressionType = (function (_super) { __extends(ExpressionType, _super); /** * @param {?} value * @param {?=} typeParams * @param {?=} modifiers */ function ExpressionType(value, typeParams, modifiers) { if (typeParams === void 0) { typeParams = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.value = value; this.typeParams = typeParams; } /** * @param {?} visitor * @param {?} context * @return {?} */ ExpressionType.prototype.visitType = function (visitor, context) { return visitor.visitExpressionType(this, context); }; return ExpressionType; }(Type)); function ExpressionType_tsickle_Closure_declarations() { /** @type {?} */ ExpressionType.prototype.value; /** @type {?} */ ExpressionType.prototype.typeParams; } var ArrayType = (function (_super) { __extends(ArrayType, _super); /** * @param {?} of * @param {?=} modifiers */ function ArrayType(of, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.of = of; } /** * @param {?} visitor * @param {?} context * @return {?} */ ArrayType.prototype.visitType = function (visitor, context) { return visitor.visitArrayType(this, context); }; return ArrayType; }(Type)); function ArrayType_tsickle_Closure_declarations() { /** @type {?} */ ArrayType.prototype.of; } var MapType = (function (_super) { __extends(MapType, _super); /** * @param {?} valueType * @param {?=} modifiers */ function MapType(valueType, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.valueType = valueType; } /** * @param {?} visitor * @param {?} context * @return {?} */ MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); }; return MapType; }(Type)); function MapType_tsickle_Closure_declarations() { /** @type {?} */ MapType.prototype.valueType; } var /** @type {?} */ DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic); var /** @type {?} */ BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool); var /** @type {?} */ INT_TYPE = new BuiltinType(BuiltinTypeName.Int); var /** @type {?} */ NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number); var /** @type {?} */ STRING_TYPE = new BuiltinType(BuiltinTypeName.String); var /** @type {?} */ FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function); var /** @type {?} */ NULL_TYPE = new BuiltinType(BuiltinTypeName.Null); var BinaryOperator = {}; BinaryOperator.Equals = 0; BinaryOperator.NotEquals = 1; BinaryOperator.Identical = 2; BinaryOperator.NotIdentical = 3; BinaryOperator.Minus = 4; BinaryOperator.Plus = 5; BinaryOperator.Divide = 6; BinaryOperator.Multiply = 7; BinaryOperator.Modulo = 8; BinaryOperator.And = 9; BinaryOperator.Or = 10; BinaryOperator.Lower = 11; BinaryOperator.LowerEquals = 12; BinaryOperator.Bigger = 13; BinaryOperator.BiggerEquals = 14; BinaryOperator[BinaryOperator.Equals] = "Equals"; BinaryOperator[BinaryOperator.NotEquals] = "NotEquals"; BinaryOperator[BinaryOperator.Identical] = "Identical"; BinaryOperator[BinaryOperator.NotIdentical] = "NotIdentical"; BinaryOperator[BinaryOperator.Minus] = "Minus"; BinaryOperator[BinaryOperator.Plus] = "Plus"; BinaryOperator[BinaryOperator.Divide] = "Divide"; BinaryOperator[BinaryOperator.Multiply] = "Multiply"; BinaryOperator[BinaryOperator.Modulo] = "Modulo"; BinaryOperator[BinaryOperator.And] = "And"; BinaryOperator[BinaryOperator.Or] = "Or"; BinaryOperator[BinaryOperator.Lower] = "Lower"; BinaryOperator[BinaryOperator.LowerEquals] = "LowerEquals"; BinaryOperator[BinaryOperator.Bigger] = "Bigger"; BinaryOperator[BinaryOperator.BiggerEquals] = "BiggerEquals"; /** * @abstract */ var Expression = (function () { /** * @param {?} type */ function Expression(type) { this.type = type; } /** * @abstract * @param {?} visitor * @param {?} context * @return {?} */ Expression.prototype.visitExpression = function (visitor, context) { }; /** * @param {?} name * @return {?} */ Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); }; /** * @param {?} index * @param {?=} type * @return {?} */ Expression.prototype.key = function (index, type) { if (type === void 0) { type = null; } return new ReadKeyExpr(this, index, type); }; /** * @param {?} name * @param {?} params * @return {?} */ Expression.prototype.callMethod = function (name, params) { return new InvokeMethodExpr(this, name, params); }; /** * @param {?} params * @return {?} */ Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); }; /** * @param {?} params * @param {?=} type * @return {?} */ Expression.prototype.instantiate = function (params, type) { if (type === void 0) { type = null; } return new InstantiateExpr(this, params, type); }; /** * @param {?} trueCase * @param {?=} falseCase * @return {?} */ Expression.prototype.conditional = function (trueCase, falseCase) { if (falseCase === void 0) { falseCase = null; } return new ConditionalExpr(this, trueCase, falseCase); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.equals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.notEquals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.identical = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.notIdentical = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.minus = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.plus = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.divide = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.multiply = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.modulo = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.and = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.And, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.or = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.lower = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.lowerEquals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.bigger = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.biggerEquals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs); }; /** * @return {?} */ Expression.prototype.isBlank = function () { // Note: We use equals by purpose here to compare to null and undefined in JS. // We use the typed null to allow strictNullChecks to narrow types. return this.equals(TYPED_NULL_EXPR); }; /** * @param {?} type * @return {?} */ Expression.prototype.cast = function (type) { return new CastExpr(this, type); }; /** * @return {?} */ Expression.prototype.toStmt = function () { return new ExpressionStatement(this); }; return Expression; }()); function Expression_tsickle_Closure_declarations() { /** @type {?} */ Expression.prototype.type; } var BuiltinVar = {}; BuiltinVar.This = 0; BuiltinVar.Super = 1; BuiltinVar.CatchError = 2; BuiltinVar.CatchStack = 3; BuiltinVar[BuiltinVar.This] = "This"; BuiltinVar[BuiltinVar.Super] = "Super"; BuiltinVar[BuiltinVar.CatchError] = "CatchError"; BuiltinVar[BuiltinVar.CatchStack] = "CatchStack"; var ReadVarExpr = (function (_super) { __extends(ReadVarExpr, _super); /** * @param {?} name * @param {?=} type */ function ReadVarExpr(name, type) { if (type === void 0) { type = null; } _super.call(this, type); if (typeof name === 'string') { this.name = name; this.builtin = null; } else { this.name = null; this.builtin = name; } } /** * @param {?} visitor * @param {?} context * @return {?} */ ReadVarExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitReadVarExpr(this, context); }; /** * @param {?} value * @return {?} */ ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); }; return ReadVarExpr; }(Expression)); function ReadVarExpr_tsickle_Closure_declarations() { /** @type {?} */ ReadVarExpr.prototype.name; /** @type {?} */ ReadVarExpr.prototype.builtin; } var WriteVarExpr = (function (_super) { __extends(WriteVarExpr, _super); /** * @param {?} name * @param {?} value * @param {?=} type */ function WriteVarExpr(name, value, type) { if (type === void 0) { type = null; } _super.call(this, type || value.type); this.name = name; this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ WriteVarExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitWriteVarExpr(this, context); }; /** * @param {?=} type * @param {?=} modifiers * @return {?} */ WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } return new DeclareVarStmt(this.name, this.value, type, modifiers); }; return WriteVarExpr; }(Expression)); function WriteVarExpr_tsickle_Closure_declarations() { /** @type {?} */ WriteVarExpr.prototype.value; /** @type {?} */ WriteVarExpr.prototype.name; } var WriteKeyExpr = (function (_super) { __extends(WriteKeyExpr, _super); /** * @param {?} receiver * @param {?} index * @param {?} value * @param {?=} type */ function WriteKeyExpr(receiver, index, value, type) { if (type === void 0) { type = null; } _super.call(this, type || value.type); this.receiver = receiver; this.index = index; this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ WriteKeyExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitWriteKeyExpr(this, context); }; return WriteKeyExpr; }(Expression)); function WriteKeyExpr_tsickle_Closure_declarations() { /** @type {?} */ WriteKeyExpr.prototype.value; /** @type {?} */ WriteKeyExpr.prototype.receiver; /** @type {?} */ WriteKeyExpr.prototype.index; } var WritePropExpr = (function (_super) { __extends(WritePropExpr, _super); /** * @param {?} receiver * @param {?} name * @param {?} value * @param {?=} type */ function WritePropExpr(receiver, name, value, type) { if (type === void 0) { type = null; } _super.call(this, type || value.type); this.receiver = receiver; this.name = name; this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ WritePropExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitWritePropExpr(this, context); }; return WritePropExpr; }(Expression)); function WritePropExpr_tsickle_Closure_declarations() { /** @type {?} */ WritePropExpr.prototype.value; /** @type {?} */ WritePropExpr.prototype.receiver; /** @type {?} */ WritePropExpr.prototype.name; } var BuiltinMethod = {}; BuiltinMethod.ConcatArray = 0; BuiltinMethod.SubscribeObservable = 1; BuiltinMethod.Bind = 2; BuiltinMethod[BuiltinMethod.ConcatArray] = "ConcatArray"; BuiltinMethod[BuiltinMethod.SubscribeObservable] = "SubscribeObservable"; BuiltinMethod[BuiltinMethod.Bind] = "Bind"; var InvokeMethodExpr = (function (_super) { __extends(InvokeMethodExpr, _super); /** * @param {?} receiver * @param {?} method * @param {?} args * @param {?=} type */ function InvokeMethodExpr(receiver, method, args, type) { if (type === void 0) { type = null; } _super.call(this, type); this.receiver = receiver; this.args = args; if (typeof method === 'string') { this.name = method; this.builtin = null; } else { this.name = null; this.builtin = method; } } /** * @param {?} visitor * @param {?} context * @return {?} */ InvokeMethodExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitInvokeMethodExpr(this, context); }; return InvokeMethodExpr; }(Expression)); function InvokeMethodExpr_tsickle_Closure_declarations() { /** @type {?} */ InvokeMethodExpr.prototype.name; /** @type {?} */ InvokeMethodExpr.prototype.builtin; /** @type {?} */ InvokeMethodExpr.prototype.receiver; /** @type {?} */ InvokeMethodExpr.prototype.args; } var InvokeFunctionExpr = (function (_super) { __extends(InvokeFunctionExpr, _super); /** * @param {?} fn * @param {?} args * @param {?=} type */ function InvokeFunctionExpr(fn, args, type) { if (type === void 0) { type = null; } _super.call(this, type); this.fn = fn; this.args = args; } /** * @param {?} visitor * @param {?} context * @return {?} */ InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitInvokeFunctionExpr(this, context); }; return InvokeFunctionExpr; }(Expression)); function InvokeFunctionExpr_tsickle_Closure_declarations() { /** @type {?} */ InvokeFunctionExpr.prototype.fn; /** @type {?} */ InvokeFunctionExpr.prototype.args; } var InstantiateExpr = (function (_super) { __extends(InstantiateExpr, _super); /** * @param {?} classExpr * @param {?} args * @param {?=} type */ function InstantiateExpr(classExpr, args, type) { _super.call(this, type); this.classExpr = classExpr; this.args = args; } /** * @param {?} visitor * @param {?} context * @return {?} */ InstantiateExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitInstantiateExpr(this, context); }; return InstantiateExpr; }(Expression)); function InstantiateExpr_tsickle_Closure_declarations() { /** @type {?} */ InstantiateExpr.prototype.classExpr; /** @type {?} */ InstantiateExpr.prototype.args; } var LiteralExpr = (function (_super) { __extends(LiteralExpr, _super); /** * @param {?} value * @param {?=} type */ function LiteralExpr(value, type) { if (type === void 0) { type = null; } _super.call(this, type); this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ LiteralExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitLiteralExpr(this, context); }; return LiteralExpr; }(Expression)); function LiteralExpr_tsickle_Closure_declarations() { /** @type {?} */ LiteralExpr.prototype.value; } var ExternalExpr = (function (_super) { __extends(ExternalExpr, _super); /** * @param {?} value * @param {?=} type * @param {?=} typeParams */ function ExternalExpr(value, type, typeParams) { if (type === void 0) { type = null; } if (typeParams === void 0) { typeParams = null; } _super.call(this, type); this.value = value; this.typeParams = typeParams; } /** * @param {?} visitor * @param {?} context * @return {?} */ ExternalExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitExternalExpr(this, context); }; return ExternalExpr; }(Expression)); function ExternalExpr_tsickle_Closure_declarations() { /** @type {?} */ ExternalExpr.prototype.value; /** @type {?} */ ExternalExpr.prototype.typeParams; } var ConditionalExpr = (function (_super) { __extends(ConditionalExpr, _super); /** * @param {?} condition * @param {?} trueCase * @param {?=} falseCase * @param {?=} type */ function ConditionalExpr(condition, trueCase, falseCase, type) { if (falseCase === void 0) { falseCase = null; } if (type === void 0) { type = null; } _super.call(this, type || trueCase.type); this.condition = condition; this.falseCase = falseCase; this.trueCase = trueCase; } /** * @param {?} visitor * @param {?} context * @return {?} */ ConditionalExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitConditionalExpr(this, context); }; return ConditionalExpr; }(Expression)); function ConditionalExpr_tsickle_Closure_declarations() { /** @type {?} */ ConditionalExpr.prototype.trueCase; /** @type {?} */ ConditionalExpr.prototype.condition; /** @type {?} */ ConditionalExpr.prototype.falseCase; } var NotExpr = (function (_super) { __extends(NotExpr, _super); /** * @param {?} condition */ function NotExpr(condition) { _super.call(this, BOOL_TYPE); this.condition = condition; } /** * @param {?} visitor * @param {?} context * @return {?} */ NotExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitNotExpr(this, context); }; return NotExpr; }(Expression)); function NotExpr_tsickle_Closure_declarations() { /** @type {?} */ NotExpr.prototype.condition; } var CastExpr = (function (_super) { __extends(CastExpr, _super); /** * @param {?} value * @param {?} type */ function CastExpr(value, type) { _super.call(this, type); this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ CastExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitCastExpr(this, context); }; return CastExpr; }(Expression)); function CastExpr_tsickle_Closure_declarations() { /** @type {?} */ CastExpr.prototype.value; } var FnParam = (function () { /** * @param {?} name * @param {?=} type */ function FnParam(name, type) { if (type === void 0) { type = null; } this.name = name; this.type = type; } return FnParam; }()); function FnParam_tsickle_Closure_declarations() { /** @type {?} */ FnParam.prototype.name; /** @type {?} */ FnParam.prototype.type; } var FunctionExpr = (function (_super) { __extends(FunctionExpr, _super); /** * @param {?} params * @param {?} statements * @param {?=} type */ function FunctionExpr(params, statements, type) { if (type === void 0) { type = null; } _super.call(this, type); this.params = params; this.statements = statements; } /** * @param {?} visitor * @param {?} context * @return {?} */ FunctionExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitFunctionExpr(this, context); }; /** * @param {?} name * @param {?=} modifiers * @return {?} */ FunctionExpr.prototype.toDeclStmt = function (name, modifiers) { if (modifiers === void 0) { modifiers = null; } return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers); }; return FunctionExpr; }(Expression)); function FunctionExpr_tsickle_Closure_declarations() { /** @type {?} */ FunctionExpr.prototype.params; /** @type {?} */ FunctionExpr.prototype.statements; } var BinaryOperatorExpr = (function (_super) { __extends(BinaryOperatorExpr, _super); /** * @param {?} operator * @param {?} lhs * @param {?} rhs * @param {?=} type */ function BinaryOperatorExpr(operator, lhs, rhs, type) { if (type === void 0) { type = null; } _super.call(this, type || lhs.type); this.operator = operator; this.rhs = rhs; this.lhs = lhs; } /** * @param {?} visitor * @param {?} context * @return {?} */ BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitBinaryOperatorExpr(this, context); }; return BinaryOperatorExpr; }(Expression)); function BinaryOperatorExpr_tsickle_Closure_declarations() { /** @type {?} */ BinaryOperatorExpr.prototype.lhs; /** @type {?} */ BinaryOperatorExpr.prototype.operator; /** @type {?} */ BinaryOperatorExpr.prototype.rhs; } var ReadPropExpr = (function (_super) { __extends(ReadPropExpr, _super); /** * @param {?} receiver * @param {?} name * @param {?=} type */ function ReadPropExpr(receiver, name, type) { if (type === void 0) { type = null; } _super.call(this, type); this.receiver = receiver; this.name = name; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReadPropExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitReadPropExpr(this, context); }; /** * @param {?} value * @return {?} */ ReadPropExpr.prototype.set = function (value) { return new WritePropExpr(this.receiver, this.name, value); }; return ReadPropExpr; }(Expression)); function ReadPropExpr_tsickle_Closure_declarations() { /** @type {?} */ ReadPropExpr.prototype.receiver; /** @type {?} */ ReadPropExpr.prototype.name; } var ReadKeyExpr = (function (_super) { __extends(ReadKeyExpr, _super); /** * @param {?} receiver * @param {?} index * @param {?=} type */ function ReadKeyExpr(receiver, index, type) { if (type === void 0) { type = null; } _super.call(this, type); this.receiver = receiver; this.index = index; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReadKeyExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitReadKeyExpr(this, context); }; /** * @param {?} value * @return {?} */ ReadKeyExpr.prototype.set = function (value) { return new WriteKeyExpr(this.receiver, this.index, value); }; return ReadKeyExpr; }(Expression)); function ReadKeyExpr_tsickle_Closure_declarations() { /** @type {?} */ ReadKeyExpr.prototype.receiver; /** @type {?} */ ReadKeyExpr.prototype.index; } var LiteralArrayExpr = (function (_super) { __extends(LiteralArrayExpr, _super); /** * @param {?} entries * @param {?=} type */ function LiteralArrayExpr(entries, type) { if (type === void 0) { type = null; } _super.call(this, type); this.entries = entries; } /** * @param {?} visitor * @param {?} context * @return {?} */ LiteralArrayExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitLiteralArrayExpr(this, context); }; return LiteralArrayExpr; }(Expression)); function LiteralArrayExpr_tsickle_Closure_declarations() { /** @type {?} */ LiteralArrayExpr.prototype.entries; } var LiteralMapEntry = (function () { /** * @param {?} key * @param {?} value * @param {?=} quoted */ function LiteralMapEntry(key, value, quoted) { if (quoted === void 0) { quoted = false; } this.key = key; this.value = value; this.quoted = quoted; } return LiteralMapEntry; }()); function LiteralMapEntry_tsickle_Closure_declarations() { /** @type {?} */ LiteralMapEntry.prototype.key; /** @type {?} */ LiteralMapEntry.prototype.value; /** @type {?} */ LiteralMapEntry.prototype.quoted; } var LiteralMapExpr = (function (_super) { __extends(LiteralMapExpr, _super); /** * @param {?} entries * @param {?=} type */ function LiteralMapExpr(entries, type) { if (type === void 0) { type = null; } _super.call(this, type); this.entries = entries; this.valueType = null; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__["isPresent"])(type)) { this.valueType = type.valueType; } } /** * @param {?} visitor * @param {?} context * @return {?} */ LiteralMapExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitLiteralMapExpr(this, context); }; return LiteralMapExpr; }(Expression)); function LiteralMapExpr_tsickle_Closure_declarations() { /** @type {?} */ LiteralMapExpr.prototype.valueType; /** @type {?} */ LiteralMapExpr.prototype.entries; } var /** @type {?} */ THIS_EXPR = new ReadVarExpr(BuiltinVar.This); var /** @type {?} */ SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super); var /** @type {?} */ CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError); var /** @type {?} */ CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack); var /** @type {?} */ NULL_EXPR = new LiteralExpr(null, null); var /** @type {?} */ TYPED_NULL_EXPR = new LiteralExpr(null, NULL_TYPE); var StmtModifier = {}; StmtModifier.Final = 0; StmtModifier.Private = 1; StmtModifier[StmtModifier.Final] = "Final"; StmtModifier[StmtModifier.Private] = "Private"; /** * @abstract */ var Statement = (function () { /** * @param {?=} modifiers */ function Statement(modifiers) { if (modifiers === void 0) { modifiers = null; } this.modifiers = modifiers; if (!modifiers) { this.modifiers = []; } } /** * @abstract * @param {?} visitor * @param {?} context * @return {?} */ Statement.prototype.visitStatement = function (visitor, context) { }; /** * @param {?} modifier * @return {?} */ Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; }; return Statement; }()); function Statement_tsickle_Closure_declarations() { /** @type {?} */ Statement.prototype.modifiers; } var DeclareVarStmt = (function (_super) { __extends(DeclareVarStmt, _super); /** * @param {?} name * @param {?} value * @param {?=} type * @param {?=} modifiers */ function DeclareVarStmt(name, value, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; this.value = value; this.type = type || value.type; } /** * @param {?} visitor * @param {?} context * @return {?} */ DeclareVarStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitDeclareVarStmt(this, context); }; return DeclareVarStmt; }(Statement)); function DeclareVarStmt_tsickle_Closure_declarations() { /** @type {?} */ DeclareVarStmt.prototype.type; /** @type {?} */ DeclareVarStmt.prototype.name; /** @type {?} */ DeclareVarStmt.prototype.value; } var DeclareFunctionStmt = (function (_super) { __extends(DeclareFunctionStmt, _super); /** * @param {?} name * @param {?} params * @param {?} statements * @param {?=} type * @param {?=} modifiers */ function DeclareFunctionStmt(name, params, statements, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; this.params = params; this.statements = statements; this.type = type; } /** * @param {?} visitor * @param {?} context * @return {?} */ DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitDeclareFunctionStmt(this, context); }; return DeclareFunctionStmt; }(Statement)); function DeclareFunctionStmt_tsickle_Closure_declarations() { /** @type {?} */ DeclareFunctionStmt.prototype.name; /** @type {?} */ DeclareFunctionStmt.prototype.params; /** @type {?} */ DeclareFunctionStmt.prototype.statements; /** @type {?} */ DeclareFunctionStmt.prototype.type; } var ExpressionStatement = (function (_super) { __extends(ExpressionStatement, _super); /** * @param {?} expr */ function ExpressionStatement(expr) { _super.call(this); this.expr = expr; } /** * @param {?} visitor * @param {?} context * @return {?} */ ExpressionStatement.prototype.visitStatement = function (visitor, context) { return visitor.visitExpressionStmt(this, context); }; return ExpressionStatement; }(Statement)); function ExpressionStatement_tsickle_Closure_declarations() { /** @type {?} */ ExpressionStatement.prototype.expr; } var ReturnStatement = (function (_super) { __extends(ReturnStatement, _super); /** * @param {?} value */ function ReturnStatement(value) { _super.call(this); this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReturnStatement.prototype.visitStatement = function (visitor, context) { return visitor.visitReturnStmt(this, context); }; return ReturnStatement; }(Statement)); function ReturnStatement_tsickle_Closure_declarations() { /** @type {?} */ ReturnStatement.prototype.value; } var AbstractClassPart = (function () { /** * @param {?=} type * @param {?} modifiers */ function AbstractClassPart(type, modifiers) { if (type === void 0) { type = null; } this.type = type; this.modifiers = modifiers; if (!modifiers) { this.modifiers = []; } } /** * @param {?} modifier * @return {?} */ AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; }; return AbstractClassPart; }()); function AbstractClassPart_tsickle_Closure_declarations() { /** @type {?} */ AbstractClassPart.prototype.type; /** @type {?} */ AbstractClassPart.prototype.modifiers; } var ClassField = (function (_super) { __extends(ClassField, _super); /** * @param {?} name * @param {?=} type * @param {?=} modifiers */ function ClassField(name, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, type, modifiers); this.name = name; } return ClassField; }(AbstractClassPart)); function ClassField_tsickle_Closure_declarations() { /** @type {?} */ ClassField.prototype.name; } var ClassMethod = (function (_super) { __extends(ClassMethod, _super); /** * @param {?} name * @param {?} params * @param {?} body * @param {?=} type * @param {?=} modifiers */ function ClassMethod(name, params, body, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, type, modifiers); this.name = name; this.params = params; this.body = body; } return ClassMethod; }(AbstractClassPart)); function ClassMethod_tsickle_Closure_declarations() { /** @type {?} */ ClassMethod.prototype.name; /** @type {?} */ ClassMethod.prototype.params; /** @type {?} */ ClassMethod.prototype.body; } var ClassGetter = (function (_super) { __extends(ClassGetter, _super); /** * @param {?} name * @param {?} body * @param {?=} type * @param {?=} modifiers */ function ClassGetter(name, body, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, type, modifiers); this.name = name; this.body = body; } return ClassGetter; }(AbstractClassPart)); function ClassGetter_tsickle_Closure_declarations() { /** @type {?} */ ClassGetter.prototype.name; /** @type {?} */ ClassGetter.prototype.body; } var ClassStmt = (function (_super) { __extends(ClassStmt, _super); /** * @param {?} name * @param {?} parent * @param {?} fields * @param {?} getters * @param {?} constructorMethod * @param {?} methods * @param {?=} modifiers */ function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; this.parent = parent; this.fields = fields; this.getters = getters; this.constructorMethod = constructorMethod; this.methods = methods; } /** * @param {?} visitor * @param {?} context * @return {?} */ ClassStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitDeclareClassStmt(this, context); }; return ClassStmt; }(Statement)); function ClassStmt_tsickle_Closure_declarations() { /** @type {?} */ ClassStmt.prototype.name; /** @type {?} */ ClassStmt.prototype.parent; /** @type {?} */ ClassStmt.prototype.fields; /** @type {?} */ ClassStmt.prototype.getters; /** @type {?} */ ClassStmt.prototype.constructorMethod; /** @type {?} */ ClassStmt.prototype.methods; } var IfStmt = (function (_super) { __extends(IfStmt, _super); /** * @param {?} condition * @param {?} trueCase * @param {?=} falseCase */ function IfStmt(condition, trueCase, falseCase) { if (falseCase === void 0) { falseCase = []; } _super.call(this); this.condition = condition; this.trueCase = trueCase; this.falseCase = falseCase; } /** * @param {?} visitor * @param {?} context * @return {?} */ IfStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitIfStmt(this, context); }; return IfStmt; }(Statement)); function IfStmt_tsickle_Closure_declarations() { /** @type {?} */ IfStmt.prototype.condition; /** @type {?} */ IfStmt.prototype.trueCase; /** @type {?} */ IfStmt.prototype.falseCase; } var CommentStmt = (function (_super) { __extends(CommentStmt, _super); /** * @param {?} comment */ function CommentStmt(comment) { _super.call(this); this.comment = comment; } /** * @param {?} visitor * @param {?} context * @return {?} */ CommentStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitCommentStmt(this, context); }; return CommentStmt; }(Statement)); function CommentStmt_tsickle_Closure_declarations() { /** @type {?} */ CommentStmt.prototype.comment; } var TryCatchStmt = (function (_super) { __extends(TryCatchStmt, _super); /** * @param {?} bodyStmts * @param {?} catchStmts */ function TryCatchStmt(bodyStmts, catchStmts) { _super.call(this); this.bodyStmts = bodyStmts; this.catchStmts = catchStmts; } /** * @param {?} visitor * @param {?} context * @return {?} */ TryCatchStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitTryCatchStmt(this, context); }; return TryCatchStmt; }(Statement)); function TryCatchStmt_tsickle_Closure_declarations() { /** @type {?} */ TryCatchStmt.prototype.bodyStmts; /** @type {?} */ TryCatchStmt.prototype.catchStmts; } var ThrowStmt = (function (_super) { __extends(ThrowStmt, _super); /** * @param {?} error */ function ThrowStmt(error) { _super.call(this); this.error = error; } /** * @param {?} visitor * @param {?} context * @return {?} */ ThrowStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitThrowStmt(this, context); }; return ThrowStmt; }(Statement)); function ThrowStmt_tsickle_Closure_declarations() { /** @type {?} */ ThrowStmt.prototype.error; } var ExpressionTransformer = (function () { function ExpressionTransformer() { } /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; }; /** * @param {?} expr * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) { return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context)); }; /** * @param {?} expr * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) { return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context)); }; /** * @param {?} expr * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) { return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) { var /** @type {?} */ method = ast.builtin || ast.name; return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) { return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) { return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) { return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitNotExpr = function (ast, context) { return new NotExpr(ast.condition.visitExpression(this, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitCastExpr = function (ast, context) { return new CastExpr(ast.value.visitExpression(this, context), context); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) { // Don't descend into nested functions return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) { return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) { return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) { return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) { return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) { var _this = this; var /** @type {?} */ entries = ast.entries.map(function (entry) { return new LiteralMapEntry(entry.key, entry.value.visitExpression(_this, context), entry.quoted); }); return new LiteralMapExpr(entries); }; /** * @param {?} exprs * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) { var _this = this; return exprs.map(function (expr) { return expr.visitExpression(_this, context); }); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) { return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) { return new ExpressionStatement(stmt.expr.visitExpression(this, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) { return new ReturnStatement(stmt.value.visitExpression(this, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) { return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) { return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) { return new ThrowStmt(stmt.error.visitExpression(this, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; }; /** * @param {?} stmts * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) { var _this = this; return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); }); }; return ExpressionTransformer; }()); var RecursiveExpressionVisitor = (function () { function RecursiveExpressionVisitor() { } /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; }; /** * @param {?} expr * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) { expr.value.visitExpression(this, context); return expr; }; /** * @param {?} expr * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) { expr.receiver.visitExpression(this, context); expr.index.visitExpression(this, context); expr.value.visitExpression(this, context); return expr; }; /** * @param {?} expr * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) { expr.receiver.visitExpression(this, context); expr.value.visitExpression(this, context); return expr; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) { ast.receiver.visitExpression(this, context); this.visitAllExpressions(ast.args, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) { ast.fn.visitExpression(this, context); this.visitAllExpressions(ast.args, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) { ast.classExpr.visitExpression(this, context); this.visitAllExpressions(ast.args, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) { ast.condition.visitExpression(this, context); ast.trueCase.visitExpression(this, context); ast.falseCase.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) { ast.condition.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) { ast.value.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) { ast.lhs.visitExpression(this, context); ast.rhs.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) { ast.receiver.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) { ast.receiver.visitExpression(this, context); ast.index.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) { this.visitAllExpressions(ast.entries, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) { var _this = this; ast.entries.forEach(function (entry) { return entry.value.visitExpression(_this, context); }); return ast; }; /** * @param {?} exprs * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) { var _this = this; exprs.forEach(function (expr) { return expr.visitExpression(_this, context); }); }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) { stmt.value.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) { stmt.expr.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) { stmt.value.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) { stmt.condition.visitExpression(this, context); this.visitAllStatements(stmt.trueCase, context); this.visitAllStatements(stmt.falseCase, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) { this.visitAllStatements(stmt.bodyStmts, context); this.visitAllStatements(stmt.catchStmts, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) { stmt.error.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; }; /** * @param {?} stmts * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) { var _this = this; stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); }); }; return RecursiveExpressionVisitor; }()); /** * @param {?} varName * @param {?} newValue * @param {?} expression * @return {?} */ function replaceVarInExpression(varName, newValue, expression) { var /** @type {?} */ transformer = new _ReplaceVariableTransformer(varName, newValue); return expression.visitExpression(transformer, null); } var _ReplaceVariableTransformer = (function (_super) { __extends(_ReplaceVariableTransformer, _super); /** * @param {?} _varName * @param {?} _newValue */ function _ReplaceVariableTransformer(_varName, _newValue) { _super.call(this); this._varName = _varName; this._newValue = _newValue; } /** * @param {?} ast * @param {?} context * @return {?} */ _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast.name == this._varName ? this._newValue : ast; }; return _ReplaceVariableTransformer; }(ExpressionTransformer)); function _ReplaceVariableTransformer_tsickle_Closure_declarations() { /** @type {?} */ _ReplaceVariableTransformer.prototype._varName; /** @type {?} */ _ReplaceVariableTransformer.prototype._newValue; } /** * @param {?} stmts * @return {?} */ function findReadVarNames(stmts) { var /** @type {?} */ finder = new _VariableFinder(); finder.visitAllStatements(stmts, null); return finder.varNames; } var _VariableFinder = (function (_super) { __extends(_VariableFinder, _super); function _VariableFinder() { _super.apply(this, arguments); this.varNames = new Set(); } /** * @param {?} ast * @param {?} context * @return {?} */ _VariableFinder.prototype.visitReadVarExpr = function (ast, context) { this.varNames.add(ast.name); return null; }; return _VariableFinder; }(RecursiveExpressionVisitor)); function _VariableFinder_tsickle_Closure_declarations() { /** @type {?} */ _VariableFinder.prototype.varNames; } /** * @param {?} name * @param {?=} type * @return {?} */ function variable(name, type) { if (type === void 0) { type = null; } return new ReadVarExpr(name, type); } /** * @param {?} id * @param {?=} typeParams * @return {?} */ function importExpr(id, typeParams) { if (typeParams === void 0) { typeParams = null; } return new ExternalExpr(id, null, typeParams); } /** * @param {?} id * @param {?=} typeParams * @param {?=} typeModifiers * @return {?} */ function importType(id, typeParams, typeModifiers) { if (typeParams === void 0) { typeParams = null; } if (typeModifiers === void 0) { typeModifiers = null; } return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__["isPresent"])(id) ? expressionType(importExpr(id), typeParams, typeModifiers) : null; } /** * @param {?} expr * @param {?=} typeParams * @param {?=} typeModifiers * @return {?} */ function expressionType(expr, typeParams, typeModifiers) { if (typeParams === void 0) { typeParams = null; } if (typeModifiers === void 0) { typeModifiers = null; } return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__["isPresent"])(expr) ? new ExpressionType(expr, typeParams, typeModifiers) : null; } /** * @param {?} values * @param {?=} type * @return {?} */ function literalArr(values, type) { if (type === void 0) { type = null; } return new LiteralArrayExpr(values, type); } /** * @param {?} values * @param {?=} type * @param {?=} quoted * @return {?} */ function literalMap(values, type, quoted) { if (type === void 0) { type = null; } if (quoted === void 0) { quoted = false; } return new LiteralMapExpr(values.map(function (entry) { return new LiteralMapEntry(entry[0], entry[1], quoted); }), type); } /** * @param {?} expr * @return {?} */ function not(expr) { return new NotExpr(expr); } /** * @param {?} params * @param {?} body * @param {?=} type * @return {?} */ function fn(params, body, type) { if (type === void 0) { type = null; } return new FunctionExpr(params, body, type); } /** * @param {?} value * @param {?=} type * @return {?} */ function literal(value, type) { if (type === void 0) { type = null; } return new LiteralExpr(value, type); } //# sourceMappingURL=output_ast.js.map /***/ }), /* 13 */, /* 14 */, /* 15 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__aot_static_symbol__ = __webpack_require__(66); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_collection__ = __webpack_require__(78); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__facade_lang__ = __webpack_require__(7); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__private_import_core__ = __webpack_require__(18); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__selector__ = __webpack_require__(155); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__util__ = __webpack_require__(32); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationEntryMetadata", function() { return CompileAnimationEntryMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationStateMetadata", function() { return CompileAnimationStateMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationStateDeclarationMetadata", function() { return CompileAnimationStateDeclarationMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationStateTransitionMetadata", function() { return CompileAnimationStateTransitionMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationMetadata", function() { return CompileAnimationMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationKeyframesSequenceMetadata", function() { return CompileAnimationKeyframesSequenceMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationStyleMetadata", function() { return CompileAnimationStyleMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationAnimateMetadata", function() { return CompileAnimationAnimateMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationWithStepsMetadata", function() { return CompileAnimationWithStepsMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationSequenceMetadata", function() { return CompileAnimationSequenceMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileAnimationGroupMetadata", function() { return CompileAnimationGroupMetadata; }); /* harmony export (immutable) */ __webpack_exports__["identifierName"] = identifierName; /* harmony export (immutable) */ __webpack_exports__["identifierModuleUrl"] = identifierModuleUrl; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileSummaryKind", function() { return CompileSummaryKind; }); /* harmony export (immutable) */ __webpack_exports__["tokenName"] = tokenName; /* harmony export (immutable) */ __webpack_exports__["tokenReference"] = tokenReference; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileStylesheetMetadata", function() { return CompileStylesheetMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileTemplateMetadata", function() { return CompileTemplateMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileDirectiveMetadata", function() { return CompileDirectiveMetadata; }); /* harmony export (immutable) */ __webpack_exports__["createHostComponentMeta"] = createHostComponentMeta; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompilePipeMetadata", function() { return CompilePipeMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileNgModuleMetadata", function() { return CompileNgModuleMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransitiveCompileNgModuleMetadata", function() { return TransitiveCompileNgModuleMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProviderMeta", function() { return ProviderMeta; }); /** * @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 = (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 __()); }; // group 0: "[prop] or (event) or @trigger" // group 1: "prop" from "[prop]" // group 2: "event" from "(event)" // group 3: "@trigger" from "@trigger" var /** @type {?} */ HOST_REG_EXP = /^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/; var CompileAnimationEntryMetadata = (function () { /** * @param {?=} name * @param {?=} definitions */ function CompileAnimationEntryMetadata(name, definitions) { if (name === void 0) { name = null; } if (definitions === void 0) { definitions = null; } this.name = name; this.definitions = definitions; } return CompileAnimationEntryMetadata; }()); function CompileAnimationEntryMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationEntryMetadata.prototype.name; /** @type {?} */ CompileAnimationEntryMetadata.prototype.definitions; } /** * @abstract */ var CompileAnimationStateMetadata = (function () { function CompileAnimationStateMetadata() { } return CompileAnimationStateMetadata; }()); var CompileAnimationStateDeclarationMetadata = (function (_super) { __extends(CompileAnimationStateDeclarationMetadata, _super); /** * @param {?} stateNameExpr * @param {?} styles */ function CompileAnimationStateDeclarationMetadata(stateNameExpr, styles) { _super.call(this); this.stateNameExpr = stateNameExpr; this.styles = styles; } return CompileAnimationStateDeclarationMetadata; }(CompileAnimationStateMetadata)); function CompileAnimationStateDeclarationMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationStateDeclarationMetadata.prototype.stateNameExpr; /** @type {?} */ CompileAnimationStateDeclarationMetadata.prototype.styles; } var CompileAnimationStateTransitionMetadata = (function (_super) { __extends(CompileAnimationStateTransitionMetadata, _super); /** * @param {?} stateChangeExpr * @param {?} steps */ function CompileAnimationStateTransitionMetadata(stateChangeExpr, steps) { _super.call(this); this.stateChangeExpr = stateChangeExpr; this.steps = steps; } return CompileAnimationStateTransitionMetadata; }(CompileAnimationStateMetadata)); function CompileAnimationStateTransitionMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationStateTransitionMetadata.prototype.stateChangeExpr; /** @type {?} */ CompileAnimationStateTransitionMetadata.prototype.steps; } /** * @abstract */ var CompileAnimationMetadata = (function () { function CompileAnimationMetadata() { } return CompileAnimationMetadata; }()); var CompileAnimationKeyframesSequenceMetadata = (function (_super) { __extends(CompileAnimationKeyframesSequenceMetadata, _super); /** * @param {?=} steps */ function CompileAnimationKeyframesSequenceMetadata(steps) { if (steps === void 0) { steps = []; } _super.call(this); this.steps = steps; } return CompileAnimationKeyframesSequenceMetadata; }(CompileAnimationMetadata)); function CompileAnimationKeyframesSequenceMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationKeyframesSequenceMetadata.prototype.steps; } var CompileAnimationStyleMetadata = (function (_super) { __extends(CompileAnimationStyleMetadata, _super); /** * @param {?} offset * @param {?=} styles */ function CompileAnimationStyleMetadata(offset, styles) { if (styles === void 0) { styles = null; } _super.call(this); this.offset = offset; this.styles = styles; } return CompileAnimationStyleMetadata; }(CompileAnimationMetadata)); function CompileAnimationStyleMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationStyleMetadata.prototype.offset; /** @type {?} */ CompileAnimationStyleMetadata.prototype.styles; } var CompileAnimationAnimateMetadata = (function (_super) { __extends(CompileAnimationAnimateMetadata, _super); /** * @param {?=} timings * @param {?=} styles */ function CompileAnimationAnimateMetadata(timings, styles) { if (timings === void 0) { timings = 0; } if (styles === void 0) { styles = null; } _super.call(this); this.timings = timings; this.styles = styles; } return CompileAnimationAnimateMetadata; }(CompileAnimationMetadata)); function CompileAnimationAnimateMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationAnimateMetadata.prototype.timings; /** @type {?} */ CompileAnimationAnimateMetadata.prototype.styles; } /** * @abstract */ var CompileAnimationWithStepsMetadata = (function (_super) { __extends(CompileAnimationWithStepsMetadata, _super); /** * @param {?=} steps */ function CompileAnimationWithStepsMetadata(steps) { if (steps === void 0) { steps = null; } _super.call(this); this.steps = steps; } return CompileAnimationWithStepsMetadata; }(CompileAnimationMetadata)); function CompileAnimationWithStepsMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationWithStepsMetadata.prototype.steps; } var CompileAnimationSequenceMetadata = (function (_super) { __extends(CompileAnimationSequenceMetadata, _super); /** * @param {?=} steps */ function CompileAnimationSequenceMetadata(steps) { if (steps === void 0) { steps = null; } _super.call(this, steps); } return CompileAnimationSequenceMetadata; }(CompileAnimationWithStepsMetadata)); var CompileAnimationGroupMetadata = (function (_super) { __extends(CompileAnimationGroupMetadata, _super); /** * @param {?=} steps */ function CompileAnimationGroupMetadata(steps) { if (steps === void 0) { steps = null; } _super.call(this, steps); } return CompileAnimationGroupMetadata; }(CompileAnimationWithStepsMetadata)); /** * @param {?} name * @return {?} */ function _sanitizeIdentifier(name) { return name.replace(/\W/g, '_'); } var /** @type {?} */ _anonymousTypeIndex = 0; /** * @param {?} compileIdentifier * @return {?} */ function identifierName(compileIdentifier) { if (!compileIdentifier || !compileIdentifier.reference) { return null; } var /** @type {?} */ ref = compileIdentifier.reference; if (ref instanceof __WEBPACK_IMPORTED_MODULE_1__aot_static_symbol__["StaticSymbol"]) { return ref.name; } if (ref['__anonymousType']) { return ref['__anonymousType']; } var /** @type {?} */ identifier = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["stringify"])(ref); if (identifier.indexOf('(') >= 0) { // case: anonymous functions! identifier = "anonymous_" + _anonymousTypeIndex++; ref['__anonymousType'] = identifier; } else { identifier = _sanitizeIdentifier(identifier); } return identifier; } /** * @param {?} compileIdentifier * @return {?} */ function identifierModuleUrl(compileIdentifier) { var /** @type {?} */ ref = compileIdentifier.reference; if (ref instanceof __WEBPACK_IMPORTED_MODULE_1__aot_static_symbol__["StaticSymbol"]) { return ref.filePath; } return __WEBPACK_IMPORTED_MODULE_4__private_import_core__["reflector"].importUri(ref); } var CompileSummaryKind = {}; CompileSummaryKind.Pipe = 0; CompileSummaryKind.Directive = 1; CompileSummaryKind.NgModule = 2; CompileSummaryKind.Injectable = 3; CompileSummaryKind[CompileSummaryKind.Pipe] = "Pipe"; CompileSummaryKind[CompileSummaryKind.Directive] = "Directive"; CompileSummaryKind[CompileSummaryKind.NgModule] = "NgModule"; CompileSummaryKind[CompileSummaryKind.Injectable] = "Injectable"; /** * @param {?} token * @return {?} */ function tokenName(token) { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(token.value) ? _sanitizeIdentifier(token.value) : identifierName(token.identifier); } /** * @param {?} token * @return {?} */ function tokenReference(token) { if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(token.identifier)) { return token.identifier.reference; } else { return token.value; } } /** * Metadata about a stylesheet */ var CompileStylesheetMetadata = (function () { /** * @param {?=} __0 */ function CompileStylesheetMetadata(_a) { var _b = _a === void 0 ? {} : _a, moduleUrl = _b.moduleUrl, styles = _b.styles, styleUrls = _b.styleUrls; this.moduleUrl = moduleUrl; this.styles = _normalizeArray(styles); this.styleUrls = _normalizeArray(styleUrls); } return CompileStylesheetMetadata; }()); function CompileStylesheetMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileStylesheetMetadata.prototype.moduleUrl; /** @type {?} */ CompileStylesheetMetadata.prototype.styles; /** @type {?} */ CompileStylesheetMetadata.prototype.styleUrls; } /** * Metadata regarding compilation of a template. */ var CompileTemplateMetadata = (function () { /** * @param {?=} __0 */ function CompileTemplateMetadata(_a) { var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, externalStylesheets = _b.externalStylesheets, animations = _b.animations, ngContentSelectors = _b.ngContentSelectors, interpolation = _b.interpolation; this.encapsulation = encapsulation; this.template = template; this.templateUrl = templateUrl; this.styles = _normalizeArray(styles); this.styleUrls = _normalizeArray(styleUrls); this.externalStylesheets = _normalizeArray(externalStylesheets); this.animations = animations ? __WEBPACK_IMPORTED_MODULE_2__facade_collection__["ListWrapper"].flatten(animations) : []; this.ngContentSelectors = ngContentSelectors || []; if (interpolation && interpolation.length != 2) { throw new Error("'interpolation' should have a start and an end symbol."); } this.interpolation = interpolation; } /** * @return {?} */ CompileTemplateMetadata.prototype.toSummary = function () { return { animations: this.animations.map(function (anim) { return anim.name; }), ngContentSelectors: this.ngContentSelectors, encapsulation: this.encapsulation }; }; return CompileTemplateMetadata; }()); function CompileTemplateMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileTemplateMetadata.prototype.encapsulation; /** @type {?} */ CompileTemplateMetadata.prototype.template; /** @type {?} */ CompileTemplateMetadata.prototype.templateUrl; /** @type {?} */ CompileTemplateMetadata.prototype.styles; /** @type {?} */ CompileTemplateMetadata.prototype.styleUrls; /** @type {?} */ CompileTemplateMetadata.prototype.externalStylesheets; /** @type {?} */ CompileTemplateMetadata.prototype.animations; /** @type {?} */ CompileTemplateMetadata.prototype.ngContentSelectors; /** @type {?} */ CompileTemplateMetadata.prototype.interpolation; } /** * Metadata regarding compilation of a directive. */ var CompileDirectiveMetadata = (function () { /** * @param {?=} __0 */ function CompileDirectiveMetadata(_a) { var _b = _a === void 0 ? {} : _a, isHost = _b.isHost, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template; this.isHost = !!isHost; this.type = type; this.isComponent = isComponent; this.selector = selector; this.exportAs = exportAs; this.changeDetection = changeDetection; this.inputs = inputs; this.outputs = outputs; this.hostListeners = hostListeners; this.hostProperties = hostProperties; this.hostAttributes = hostAttributes; this.providers = _normalizeArray(providers); this.viewProviders = _normalizeArray(viewProviders); this.queries = _normalizeArray(queries); this.viewQueries = _normalizeArray(viewQueries); this.entryComponents = _normalizeArray(entryComponents); this.template = template; } /** * @param {?=} __0 * @return {?} */ CompileDirectiveMetadata.create = function (_a) { var _b = _a === void 0 ? {} : _a, isHost = _b.isHost, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template; var /** @type {?} */ hostListeners = {}; var /** @type {?} */ hostProperties = {}; var /** @type {?} */ hostAttributes = {}; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(host)) { Object.keys(host).forEach(function (key) { var /** @type {?} */ value = host[key]; var /** @type {?} */ matches = key.match(HOST_REG_EXP); if (matches === null) { hostAttributes[key] = value; } else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(matches[1])) { hostProperties[matches[1]] = value; } else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(matches[2])) { hostListeners[matches[2]] = value; } }); } var /** @type {?} */ inputsMap = {}; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(inputs)) { inputs.forEach(function (bindConfig) { // canonical syntax: `dirProp: elProp` // if there is no `:`, use dirProp = elProp var /** @type {?} */ parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__util__["splitAtColon"])(bindConfig, [bindConfig, bindConfig]); inputsMap[parts[0]] = parts[1]; }); } var /** @type {?} */ outputsMap = {}; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["isPresent"])(outputs)) { outputs.forEach(function (bindConfig) { // canonical syntax: `dirProp: elProp` // if there is no `:`, use dirProp = elProp var /** @type {?} */ parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__util__["splitAtColon"])(bindConfig, [bindConfig, bindConfig]); outputsMap[parts[0]] = parts[1]; }); } return new CompileDirectiveMetadata({ isHost: isHost, type: type, isComponent: !!isComponent, selector: selector, exportAs: exportAs, changeDetection: changeDetection, inputs: inputsMap, outputs: outputsMap, hostListeners: hostListeners, hostProperties: hostProperties, hostAttributes: hostAttributes, providers: providers, viewProviders: viewProviders, queries: queries, viewQueries: viewQueries, entryComponents: entryComponents, template: template, }); }; /** * @return {?} */ CompileDirectiveMetadata.prototype.toSummary = function () { return { summaryKind: CompileSummaryKind.Directive, type: this.type, isComponent: this.isComponent, selector: this.selector, exportAs: this.exportAs, inputs: this.inputs, outputs: this.outputs, hostListeners: this.hostListeners, hostProperties: this.hostProperties, hostAttributes: this.hostAttributes, providers: this.providers, viewProviders: this.viewProviders, queries: this.queries, entryComponents: this.entryComponents, changeDetection: this.changeDetection, template: this.template && this.template.toSummary() }; }; return CompileDirectiveMetadata; }()); function CompileDirectiveMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileDirectiveMetadata.prototype.isHost; /** @type {?} */ CompileDirectiveMetadata.prototype.type; /** @type {?} */ CompileDirectiveMetadata.prototype.isComponent; /** @type {?} */ CompileDirectiveMetadata.prototype.selector; /** @type {?} */ CompileDirectiveMetadata.prototype.exportAs; /** @type {?} */ CompileDirectiveMetadata.prototype.changeDetection; /** @type {?} */ CompileDirectiveMetadata.prototype.inputs; /** @type {?} */ CompileDirectiveMetadata.prototype.outputs; /** @type {?} */ CompileDirectiveMetadata.prototype.hostListeners; /** @type {?} */ CompileDirectiveMetadata.prototype.hostProperties; /** @type {?} */ CompileDirectiveMetadata.prototype.hostAttributes; /** @type {?} */ CompileDirectiveMetadata.prototype.providers; /** @type {?} */ CompileDirectiveMetadata.prototype.viewProviders; /** @type {?} */ CompileDirectiveMetadata.prototype.queries; /** @type {?} */ CompileDirectiveMetadata.prototype.viewQueries; /** @type {?} */ CompileDirectiveMetadata.prototype.entryComponents; /** @type {?} */ CompileDirectiveMetadata.prototype.template; } /** * Construct {\@link CompileDirectiveMetadata} from {\@link ComponentTypeMetadata} and a selector. * @param {?} typeReference * @param {?} compMeta * @return {?} */ function createHostComponentMeta(typeReference, compMeta) { var /** @type {?} */ template = __WEBPACK_IMPORTED_MODULE_5__selector__["CssSelector"].parse(compMeta.selector)[0].getMatchingElementTemplate(); return CompileDirectiveMetadata.create({ isHost: true, type: { reference: typeReference, diDeps: [], lifecycleHooks: [] }, template: new CompileTemplateMetadata({ encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ViewEncapsulation"].None, template: template, templateUrl: '', styles: [], styleUrls: [], ngContentSelectors: [], animations: [] }), changeDetection: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ChangeDetectionStrategy"].Default, inputs: [], outputs: [], host: {}, isComponent: true, selector: '*', providers: [], viewProviders: [], queries: [], viewQueries: [] }); } var CompilePipeMetadata = (function () { /** * @param {?=} __0 */ function CompilePipeMetadata(_a) { var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure; this.type = type; this.name = name; this.pure = !!pure; } /** * @return {?} */ CompilePipeMetadata.prototype.toSummary = function () { return { summaryKind: CompileSummaryKind.Pipe, type: this.type, name: this.name, pure: this.pure }; }; return CompilePipeMetadata; }()); function CompilePipeMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompilePipeMetadata.prototype.type; /** @type {?} */ CompilePipeMetadata.prototype.name; /** @type {?} */ CompilePipeMetadata.prototype.pure; } /** * Metadata regarding compilation of a module. */ var CompileNgModuleMetadata = (function () { /** * @param {?=} __0 */ function CompileNgModuleMetadata(_a) { var _b = _a === void 0 ? {} : _a, type = _b.type, providers = _b.providers, declaredDirectives = _b.declaredDirectives, exportedDirectives = _b.exportedDirectives, declaredPipes = _b.declaredPipes, exportedPipes = _b.exportedPipes, entryComponents = _b.entryComponents, bootstrapComponents = _b.bootstrapComponents, importedModules = _b.importedModules, exportedModules = _b.exportedModules, schemas = _b.schemas, transitiveModule = _b.transitiveModule, id = _b.id; this.type = type; this.declaredDirectives = _normalizeArray(declaredDirectives); this.exportedDirectives = _normalizeArray(exportedDirectives); this.declaredPipes = _normalizeArray(declaredPipes); this.exportedPipes = _normalizeArray(exportedPipes); this.providers = _normalizeArray(providers); this.entryComponents = _normalizeArray(entryComponents); this.bootstrapComponents = _normalizeArray(bootstrapComponents); this.importedModules = _normalizeArray(importedModules); this.exportedModules = _normalizeArray(exportedModules); this.schemas = _normalizeArray(schemas); this.id = id; this.transitiveModule = transitiveModule; } /** * @return {?} */ CompileNgModuleMetadata.prototype.toSummary = function () { return { summaryKind: CompileSummaryKind.NgModule, type: this.type, entryComponents: this.transitiveModule.entryComponents, providers: this.transitiveModule.providers, modules: this.transitiveModule.modules, exportedDirectives: this.transitiveModule.exportedDirectives, exportedPipes: this.transitiveModule.exportedPipes }; }; return CompileNgModuleMetadata; }()); function CompileNgModuleMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileNgModuleMetadata.prototype.type; /** @type {?} */ CompileNgModuleMetadata.prototype.declaredDirectives; /** @type {?} */ CompileNgModuleMetadata.prototype.exportedDirectives; /** @type {?} */ CompileNgModuleMetadata.prototype.declaredPipes; /** @type {?} */ CompileNgModuleMetadata.prototype.exportedPipes; /** @type {?} */ CompileNgModuleMetadata.prototype.entryComponents; /** @type {?} */ CompileNgModuleMetadata.prototype.bootstrapComponents; /** @type {?} */ CompileNgModuleMetadata.prototype.providers; /** @type {?} */ CompileNgModuleMetadata.prototype.importedModules; /** @type {?} */ CompileNgModuleMetadata.prototype.exportedModules; /** @type {?} */ CompileNgModuleMetadata.prototype.schemas; /** @type {?} */ CompileNgModuleMetadata.prototype.id; /** @type {?} */ CompileNgModuleMetadata.prototype.transitiveModule; } var TransitiveCompileNgModuleMetadata = (function () { function TransitiveCompileNgModuleMetadata() { this.directivesSet = new Set(); this.directives = []; this.exportedDirectivesSet = new Set(); this.exportedDirectives = []; this.pipesSet = new Set(); this.pipes = []; this.exportedPipesSet = new Set(); this.exportedPipes = []; this.modulesSet = new Set(); this.modules = []; this.entryComponentsSet = new Set(); this.entryComponents = []; this.providers = []; } /** * @param {?} provider * @param {?} module * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addProvider = function (provider, module) { this.providers.push({ provider: provider, module: module }); }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addDirective = function (id) { if (!this.directivesSet.has(id.reference)) { this.directivesSet.add(id.reference); this.directives.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addExportedDirective = function (id) { if (!this.exportedDirectivesSet.has(id.reference)) { this.exportedDirectivesSet.add(id.reference); this.exportedDirectives.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addPipe = function (id) { if (!this.pipesSet.has(id.reference)) { this.pipesSet.add(id.reference); this.pipes.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addExportedPipe = function (id) { if (!this.exportedPipesSet.has(id.reference)) { this.exportedPipesSet.add(id.reference); this.exportedPipes.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addModule = function (id) { if (!this.modulesSet.has(id.reference)) { this.modulesSet.add(id.reference); this.modules.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addEntryComponent = function (id) { if (!this.entryComponentsSet.has(id.reference)) { this.entryComponentsSet.add(id.reference); this.entryComponents.push(id); } }; return TransitiveCompileNgModuleMetadata; }()); function TransitiveCompileNgModuleMetadata_tsickle_Closure_declarations() { /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.directivesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.directives; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedDirectivesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedDirectives; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.pipesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.pipes; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedPipesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedPipes; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.modulesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.modules; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.entryComponentsSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.entryComponents; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.providers; } /** * @param {?} obj * @return {?} */ function _normalizeArray(obj) { return obj || []; } var ProviderMeta = (function () { /** * @param {?} token * @param {?} __1 */ function ProviderMeta(token, _a) { var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi; this.token = token; this.useClass = useClass; this.useValue = useValue; this.useExisting = useExisting; this.useFactory = useFactory; this.dependencies = deps; this.multi = !!multi; } return ProviderMeta; }()); function ProviderMeta_tsickle_Closure_declarations() { /** @type {?} */ ProviderMeta.prototype.token; /** @type {?} */ ProviderMeta.prototype.useClass; /** @type {?} */ ProviderMeta.prototype.useValue; /** @type {?} */ ProviderMeta.prototype.useExisting; /** @type {?} */ ProviderMeta.prototype.useFactory; /** @type {?} */ ProviderMeta.prototype.dependencies; /** @type {?} */ ProviderMeta.prototype.multi; } //# sourceMappingURL=compile_metadata.js.map /***/ }), /* 16 */, /* 17 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; 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 Observable_1 = __webpack_require__(0); var Subscriber_1 = __webpack_require__(3); var Subscription_1 = __webpack_require__(21); var ObjectUnsubscribedError_1 = __webpack_require__(200); var SubjectSubscription_1 = __webpack_require__(414); var rxSubscriber_1 = __webpack_require__(198); /** * @class SubjectSubscriber */ var SubjectSubscriber = (function (_super) { __extends(SubjectSubscriber, _super); function SubjectSubscriber(destination) { _super.call(this, destination); this.destination = destination; } return SubjectSubscriber; }(Subscriber_1.Subscriber)); exports.SubjectSubscriber = SubjectSubscriber; /** * @class Subject */ var Subject = (function (_super) { __extends(Subject, _super); function Subject() { _super.call(this); this.observers = []; this.closed = false; this.isStopped = false; this.hasError = false; this.thrownError = null; } Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function () { return new SubjectSubscriber(this); }; Subject.prototype.lift = function (operator) { var subject = new AnonymousSubject(this, this); subject.operator = operator; return subject; }; Subject.prototype.next = function (value) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } if (!this.isStopped) { var observers = this.observers; var len = observers.length; var copy = observers.slice(); for (var i = 0; i < len; i++) { copy[i].next(value); } } }; Subject.prototype.error = function (err) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } this.hasError = true; this.thrownError = err; this.isStopped = true; var observers = this.observers; var len = observers.length; var copy = observers.slice(); for (var i = 0; i < len; i++) { copy[i].error(err); } this.observers.length = 0; }; Subject.prototype.complete = function () { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } this.isStopped = true; var observers = this.observers; var len = observers.length; var copy = observers.slice(); for (var i = 0; i < len; i++) { copy[i].complete(); } this.observers.length = 0; }; Subject.prototype.unsubscribe = function () { this.isStopped = true; this.closed = true; this.observers = null; }; Subject.prototype._subscribe = function (subscriber) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } else if (this.hasError) { subscriber.error(this.thrownError); return Subscription_1.Subscription.EMPTY; } else if (this.isStopped) { subscriber.complete(); return Subscription_1.Subscription.EMPTY; } else { this.observers.push(subscriber); return new SubjectSubscription_1.SubjectSubscription(this, subscriber); } }; Subject.prototype.asObservable = function () { var observable = new Observable_1.Observable(); observable.source = this; return observable; }; Subject.create = function (destination, source) { return new AnonymousSubject(destination, source); }; return Subject; }(Observable_1.Observable)); exports.Subject = Subject; /** * @class AnonymousSubject */ var AnonymousSubject = (function (_super) { __extends(AnonymousSubject, _super); function AnonymousSubject(destination, source) { _super.call(this); this.destination = destination; this.source = source; } AnonymousSubject.prototype.next = function (value) { var destination = this.destination; if (destination && destination.next) { destination.next(value); } }; AnonymousSubject.prototype.error = function (err) { var destination = this.destination; if (destination && destination.error) { this.destination.error(err); } }; AnonymousSubject.prototype.complete = function () { var destination = this.destination; if (destination && destination.complete) { this.destination.complete(); } }; AnonymousSubject.prototype._subscribe = function (subscriber) { var source = this.source; if (source) { return this.source.subscribe(subscriber); } else { return Subscription_1.Subscription.EMPTY; } }; return AnonymousSubject; }(Subject)); exports.AnonymousSubject = AnonymousSubject; //# sourceMappingURL=Subject.js.map /***/ }), /* 18 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isDefaultChangeDetectionStrategy", function() { return isDefaultChangeDetectionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChangeDetectorStatus", function() { return ChangeDetectorStatus; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LifecycleHooks", function() { return LifecycleHooks; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LIFECYCLE_HOOKS_VALUES", function() { return LIFECYCLE_HOOKS_VALUES; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReflectorReader", function() { return ReflectorReader; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewContainer", function() { return ViewContainer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CodegenComponentFactoryResolver", function() { return CodegenComponentFactoryResolver; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentRef_", function() { return ComponentRef_; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppView", function() { return AppView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugAppView", function() { return DebugAppView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleInjector", function() { return NgModuleInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerModuleFactory", function() { return registerModuleFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewType", function() { return ViewType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "view_utils", function() { return view_utils; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugContext", function() { return DebugContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaticNodeDebugInfo", function() { return StaticNodeDebugInfo; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "devModeEqual", function() { return devModeEqual; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UNINITIALIZED", function() { return UNINITIALIZED; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValueUnwrapper", function() { return ValueUnwrapper; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateRef_", function() { return TemplateRef_; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenderDebugInfo", function() { return RenderDebugInfo; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Console", function() { return Console; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reflector", function() { return reflector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Reflector", function() { return Reflector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReflectionCapabilities", function() { return ReflectionCapabilities; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NoOpAnimationPlayer", function() { return NoOpAnimationPlayer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationPlayer", function() { return AnimationPlayer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationSequencePlayer", function() { return AnimationSequencePlayer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationGroupPlayer", function() { return AnimationGroupPlayer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationKeyframe", function() { return AnimationKeyframe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationStyles", function() { return AnimationStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ANY_STATE", function() { return ANY_STATE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_STATE", function() { return DEFAULT_STATE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EMPTY_STATE", function() { return EMPTY_STATE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FILL_STYLE_FLAG", function() { return FILL_STYLE_FLAG; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "prepareFinalAnimationStyles", function() { return prepareFinalAnimationStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "balanceAnimationKeyframes", function() { return balanceAnimationKeyframes; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "clearStyles", function() { return clearStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "collectAndResolveStyles", function() { return collectAndResolveStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "renderStyles", function() { return renderStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewMetadata", function() { return ViewMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentStillLoadingError", function() { return ComponentStillLoadingError; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationTransition", function() { return AnimationTransition; }); /** * @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 /** @type {?} */ isDefaultChangeDetectionStrategy = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].isDefaultChangeDetectionStrategy; var /** @type {?} */ ChangeDetectorStatus = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ChangeDetectorStatus; var /** @type {?} */ LifecycleHooks = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].LifecycleHooks; var /** @type {?} */ LIFECYCLE_HOOKS_VALUES = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].LIFECYCLE_HOOKS_VALUES; var /** @type {?} */ ReflectorReader = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ReflectorReader; var /** @type {?} */ ViewContainer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ViewContainer; var /** @type {?} */ CodegenComponentFactoryResolver = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].CodegenComponentFactoryResolver; var /** @type {?} */ ComponentRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ComponentRef_; var /** @type {?} */ AppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AppView; var /** @type {?} */ DebugAppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].DebugAppView; var /** @type {?} */ NgModuleInjector = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].NgModuleInjector; var /** @type {?} */ registerModuleFactory = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].registerModuleFactory; var /** @type {?} */ ViewType = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ViewType; var /** @type {?} */ view_utils = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].view_utils; var /** @type {?} */ DebugContext = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].DebugContext; var /** @type {?} */ StaticNodeDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].StaticNodeDebugInfo; var /** @type {?} */ devModeEqual = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].devModeEqual; var /** @type {?} */ UNINITIALIZED = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].UNINITIALIZED; var /** @type {?} */ ValueUnwrapper = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ValueUnwrapper; var /** @type {?} */ TemplateRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].TemplateRef_; var /** @type {?} */ RenderDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].RenderDebugInfo; var /** @type {?} */ Console = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].Console; var /** @type {?} */ reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].reflector; var /** @type {?} */ Reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].Reflector; var /** @type {?} */ ReflectionCapabilities = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ReflectionCapabilities; var /** @type {?} */ NoOpAnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].NoOpAnimationPlayer; var /** @type {?} */ AnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AnimationPlayer; var /** @type {?} */ AnimationSequencePlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AnimationSequencePlayer; var /** @type {?} */ AnimationGroupPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AnimationGroupPlayer; var /** @type {?} */ AnimationKeyframe = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AnimationKeyframe; var /** @type {?} */ AnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AnimationStyles; var /** @type {?} */ ANY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ANY_STATE; var /** @type {?} */ DEFAULT_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].DEFAULT_STATE; var /** @type {?} */ EMPTY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].EMPTY_STATE; var /** @type {?} */ FILL_STYLE_FLAG = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].FILL_STYLE_FLAG; var /** @type {?} */ prepareFinalAnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].prepareFinalAnimationStyles; var /** @type {?} */ balanceAnimationKeyframes = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].balanceAnimationKeyframes; var /** @type {?} */ clearStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].clearStyles; var /** @type {?} */ collectAndResolveStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].collectAndResolveStyles; var /** @type {?} */ renderStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].renderStyles; var /** @type {?} */ ViewMetadata = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ViewMetadata; var /** @type {?} */ ComponentStillLoadingError = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].ComponentStillLoadingError; var /** @type {?} */ AnimationTransition = __WEBPACK_IMPORTED_MODULE_0__angular_core__["__core_private__"].AnimationTransition; //# sourceMappingURL=private_import_core.js.map /***/ }), /* 19 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__private_import_core__ = __webpack_require__(18); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Identifiers", function() { return Identifiers; }); /* harmony export (immutable) */ __webpack_exports__["assetUrl"] = assetUrl; /* harmony export (immutable) */ __webpack_exports__["resolveIdentifier"] = resolveIdentifier; /* harmony export (immutable) */ __webpack_exports__["createIdentifier"] = createIdentifier; /* harmony export (immutable) */ __webpack_exports__["identifierToken"] = identifierToken; /* harmony export (immutable) */ __webpack_exports__["createIdentifierToken"] = createIdentifierToken; /* harmony export (immutable) */ __webpack_exports__["createEnumIdentifier"] = createEnumIdentifier; /** * @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 /** @type {?} */ APP_VIEW_MODULE_URL = assetUrl('core', 'linker/view'); var /** @type {?} */ VIEW_UTILS_MODULE_URL = assetUrl('core', 'linker/view_utils'); var /** @type {?} */ CD_MODULE_URL = assetUrl('core', 'change_detection/change_detection'); var /** @type {?} */ ANIMATION_STYLE_UTIL_ASSET_URL = assetUrl('core', 'animation/animation_style_util'); var Identifiers = (function () { function Identifiers() { } Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = { name: 'ANALYZE_FOR_ENTRY_COMPONENTS', moduleUrl: assetUrl('core', 'metadata/di'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ANALYZE_FOR_ENTRY_COMPONENTS"] }; Identifiers.ViewUtils = { name: 'ViewUtils', moduleUrl: assetUrl('core', 'linker/view_utils'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].ViewUtils }; Identifiers.AppView = { name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["AppView"] }; Identifiers.DebugAppView = { name: 'DebugAppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["DebugAppView"] }; Identifiers.ViewContainer = { name: 'ViewContainer', moduleUrl: assetUrl('core', 'linker/view_container'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["ViewContainer"] }; Identifiers.ElementRef = { name: 'ElementRef', moduleUrl: assetUrl('core', 'linker/element_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ElementRef"] }; Identifiers.ViewContainerRef = { name: 'ViewContainerRef', moduleUrl: assetUrl('core', 'linker/view_container_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ViewContainerRef"] }; Identifiers.ChangeDetectorRef = { name: 'ChangeDetectorRef', moduleUrl: assetUrl('core', 'change_detection/change_detector_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ChangeDetectorRef"] }; Identifiers.RenderComponentType = { name: 'RenderComponentType', moduleUrl: assetUrl('core', 'render/api'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["RenderComponentType"] }; Identifiers.QueryList = { name: 'QueryList', moduleUrl: assetUrl('core', 'linker/query_list'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["QueryList"] }; Identifiers.TemplateRef = { name: 'TemplateRef', moduleUrl: assetUrl('core', 'linker/template_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["TemplateRef"] }; Identifiers.TemplateRef_ = { name: 'TemplateRef_', moduleUrl: assetUrl('core', 'linker/template_ref'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["TemplateRef_"] }; Identifiers.CodegenComponentFactoryResolver = { name: 'CodegenComponentFactoryResolver', moduleUrl: assetUrl('core', 'linker/component_factory_resolver'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["CodegenComponentFactoryResolver"] }; Identifiers.ComponentFactoryResolver = { name: 'ComponentFactoryResolver', moduleUrl: assetUrl('core', 'linker/component_factory_resolver'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ComponentFactoryResolver"] }; Identifiers.ComponentFactory = { name: 'ComponentFactory', runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ComponentFactory"], moduleUrl: assetUrl('core', 'linker/component_factory') }; Identifiers.ComponentRef_ = { name: 'ComponentRef_', runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["ComponentRef_"], moduleUrl: assetUrl('core', 'linker/component_factory') }; Identifiers.ComponentRef = { name: 'ComponentRef', runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ComponentRef"], moduleUrl: assetUrl('core', 'linker/component_factory') }; Identifiers.NgModuleFactory = { name: 'NgModuleFactory', runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModuleFactory"], moduleUrl: assetUrl('core', 'linker/ng_module_factory') }; Identifiers.NgModuleInjector = { name: 'NgModuleInjector', runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["NgModuleInjector"], moduleUrl: assetUrl('core', 'linker/ng_module_factory') }; Identifiers.RegisterModuleFactoryFn = { name: 'registerModuleFactory', runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["registerModuleFactory"], moduleUrl: assetUrl('core', 'linker/ng_module_factory_loader') }; Identifiers.ValueUnwrapper = { name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["ValueUnwrapper"] }; Identifiers.Injector = { name: 'Injector', moduleUrl: assetUrl('core', 'di/injector'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["Injector"] }; Identifiers.ViewEncapsulation = { name: 'ViewEncapsulation', moduleUrl: assetUrl('core', 'metadata/view'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ViewEncapsulation"] }; Identifiers.ViewType = { name: 'ViewType', moduleUrl: assetUrl('core', 'linker/view_type'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["ViewType"] }; Identifiers.ChangeDetectionStrategy = { name: 'ChangeDetectionStrategy', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["ChangeDetectionStrategy"] }; Identifiers.StaticNodeDebugInfo = { name: 'StaticNodeDebugInfo', moduleUrl: assetUrl('core', 'linker/debug_context'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["StaticNodeDebugInfo"] }; Identifiers.DebugContext = { name: 'DebugContext', moduleUrl: assetUrl('core', 'linker/debug_context'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["DebugContext"] }; Identifiers.Renderer = { name: 'Renderer', moduleUrl: assetUrl('core', 'render/api'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["Renderer"] }; Identifiers.SimpleChange = { name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["SimpleChange"] }; Identifiers.UNINITIALIZED = { name: 'UNINITIALIZED', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["UNINITIALIZED"] }; Identifiers.ChangeDetectorStatus = { name: 'ChangeDetectorStatus', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["ChangeDetectorStatus"] }; Identifiers.checkBinding = { name: 'checkBinding', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].checkBinding }; Identifiers.devModeEqual = { name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["devModeEqual"] }; Identifiers.inlineInterpolate = { name: 'inlineInterpolate', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].inlineInterpolate }; Identifiers.interpolate = { name: 'interpolate', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].interpolate }; Identifiers.castByValue = { name: 'castByValue', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].castByValue }; Identifiers.EMPTY_ARRAY = { name: 'EMPTY_ARRAY', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].EMPTY_ARRAY }; Identifiers.EMPTY_MAP = { name: 'EMPTY_MAP', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].EMPTY_MAP }; Identifiers.createRenderElement = { name: 'createRenderElement', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].createRenderElement }; Identifiers.selectOrCreateRenderHostElement = { name: 'selectOrCreateRenderHostElement', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].selectOrCreateRenderHostElement }; Identifiers.pureProxies = [ null, { name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy1 }, { name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy2 }, { name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy3 }, { name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy4 }, { name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy5 }, { name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy6 }, { name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy7 }, { name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy8 }, { name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy9 }, { name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].pureProxy10 }, ]; Identifiers.SecurityContext = { name: 'SecurityContext', moduleUrl: assetUrl('core', 'security'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["SecurityContext"], }; Identifiers.AnimationKeyframe = { name: 'AnimationKeyframe', moduleUrl: assetUrl('core', 'animation/animation_keyframe'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["AnimationKeyframe"] }; Identifiers.AnimationStyles = { name: 'AnimationStyles', moduleUrl: assetUrl('core', 'animation/animation_styles'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["AnimationStyles"] }; Identifiers.NoOpAnimationPlayer = { name: 'NoOpAnimationPlayer', moduleUrl: assetUrl('core', 'animation/animation_player'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["NoOpAnimationPlayer"] }; Identifiers.AnimationGroupPlayer = { name: 'AnimationGroupPlayer', moduleUrl: assetUrl('core', 'animation/animation_group_player'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["AnimationGroupPlayer"] }; Identifiers.AnimationSequencePlayer = { name: 'AnimationSequencePlayer', moduleUrl: assetUrl('core', 'animation/animation_sequence_player'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["AnimationSequencePlayer"] }; Identifiers.prepareFinalAnimationStyles = { name: 'prepareFinalAnimationStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["prepareFinalAnimationStyles"] }; Identifiers.balanceAnimationKeyframes = { name: 'balanceAnimationKeyframes', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["balanceAnimationKeyframes"] }; Identifiers.clearStyles = { name: 'clearStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["clearStyles"] }; Identifiers.renderStyles = { name: 'renderStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["renderStyles"] }; Identifiers.collectAndResolveStyles = { name: 'collectAndResolveStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["collectAndResolveStyles"] }; Identifiers.LOCALE_ID = { name: 'LOCALE_ID', moduleUrl: assetUrl('core', 'i18n/tokens'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["LOCALE_ID"] }; Identifiers.TRANSLATIONS_FORMAT = { name: 'TRANSLATIONS_FORMAT', moduleUrl: assetUrl('core', 'i18n/tokens'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["TRANSLATIONS_FORMAT"] }; Identifiers.setBindingDebugInfo = { name: 'setBindingDebugInfo', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].setBindingDebugInfo }; Identifiers.setBindingDebugInfoForChanges = { name: 'setBindingDebugInfoForChanges', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].setBindingDebugInfoForChanges }; Identifiers.AnimationTransition = { name: 'AnimationTransition', moduleUrl: assetUrl('core', 'animation/animation_transition'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["AnimationTransition"] }; // This is just the interface! Identifiers.InlineArray = { name: 'InlineArray', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: null }; Identifiers.inlineArrays = [ { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].InlineArray2 }, { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].InlineArray2 }, { name: 'InlineArray4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].InlineArray4 }, { name: 'InlineArray8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].InlineArray8 }, { name: 'InlineArray16', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].InlineArray16 }, ]; Identifiers.EMPTY_INLINE_ARRAY = { name: 'EMPTY_INLINE_ARRAY', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].EMPTY_INLINE_ARRAY }; Identifiers.InlineArrayDynamic = { name: 'InlineArrayDynamic', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].InlineArrayDynamic }; Identifiers.subscribeToRenderElement = { name: 'subscribeToRenderElement', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].subscribeToRenderElement }; Identifiers.createRenderComponentType = { name: 'createRenderComponentType', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].createRenderComponentType }; Identifiers.noop = { name: 'noop', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["view_utils"].noop }; return Identifiers; }()); function Identifiers_tsickle_Closure_declarations() { /** @type {?} */ Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS; /** @type {?} */ Identifiers.ViewUtils; /** @type {?} */ Identifiers.AppView; /** @type {?} */ Identifiers.DebugAppView; /** @type {?} */ Identifiers.ViewContainer; /** @type {?} */ Identifiers.ElementRef; /** @type {?} */ Identifiers.ViewContainerRef; /** @type {?} */ Identifiers.ChangeDetectorRef; /** @type {?} */ Identifiers.RenderComponentType; /** @type {?} */ Identifiers.QueryList; /** @type {?} */ Identifiers.TemplateRef; /** @type {?} */ Identifiers.TemplateRef_; /** @type {?} */ Identifiers.CodegenComponentFactoryResolver; /** @type {?} */ Identifiers.ComponentFactoryResolver; /** @type {?} */ Identifiers.ComponentFactory; /** @type {?} */ Identifiers.ComponentRef_; /** @type {?} */ Identifiers.ComponentRef; /** @type {?} */ Identifiers.NgModuleFactory; /** @type {?} */ Identifiers.NgModuleInjector; /** @type {?} */ Identifiers.RegisterModuleFactoryFn; /** @type {?} */ Identifiers.ValueUnwrapper; /** @type {?} */ Identifiers.Injector; /** @type {?} */ Identifiers.ViewEncapsulation; /** @type {?} */ Identifiers.ViewType; /** @type {?} */ Identifiers.ChangeDetectionStrategy; /** @type {?} */ Identifiers.StaticNodeDebugInfo; /** @type {?} */ Identifiers.DebugContext; /** @type {?} */ Identifiers.Renderer; /** @type {?} */ Identifiers.SimpleChange; /** @type {?} */ Identifiers.UNINITIALIZED; /** @type {?} */ Identifiers.ChangeDetectorStatus; /** @type {?} */ Identifiers.checkBinding; /** @type {?} */ Identifiers.devModeEqual; /** @type {?} */ Identifiers.inlineInterpolate; /** @type {?} */ Identifiers.interpolate; /** @type {?} */ Identifiers.castByValue; /** @type {?} */ Identifiers.EMPTY_ARRAY; /** @type {?} */ Identifiers.EMPTY_MAP; /** @type {?} */ Identifiers.createRenderElement; /** @type {?} */ Identifiers.selectOrCreateRenderHostElement; /** @type {?} */ Identifiers.pureProxies; /** @type {?} */ Identifiers.SecurityContext; /** @type {?} */ Identifiers.AnimationKeyframe; /** @type {?} */ Identifiers.AnimationStyles; /** @type {?} */ Identifiers.NoOpAnimationPlayer; /** @type {?} */ Identifiers.AnimationGroupPlayer; /** @type {?} */ Identifiers.AnimationSequencePlayer; /** @type {?} */ Identifiers.prepareFinalAnimationStyles; /** @type {?} */ Identifiers.balanceAnimationKeyframes; /** @type {?} */ Identifiers.clearStyles; /** @type {?} */ Identifiers.renderStyles; /** @type {?} */ Identifiers.collectAndResolveStyles; /** @type {?} */ Identifiers.LOCALE_ID; /** @type {?} */ Identifiers.TRANSLATIONS_FORMAT; /** @type {?} */ Identifiers.setBindingDebugInfo; /** @type {?} */ Identifiers.setBindingDebugInfoForChanges; /** @type {?} */ Identifiers.AnimationTransition; /** @type {?} */ Identifiers.InlineArray; /** @type {?} */ Identifiers.inlineArrays; /** @type {?} */ Identifiers.EMPTY_INLINE_ARRAY; /** @type {?} */ Identifiers.InlineArrayDynamic; /** @type {?} */ Identifiers.subscribeToRenderElement; /** @type {?} */ Identifiers.createRenderComponentType; /** @type {?} */ Identifiers.noop; } /** * @param {?} pkg * @param {?=} path * @param {?=} type * @return {?} */ function assetUrl(pkg, path, type) { if (path === void 0) { path = null; } if (type === void 0) { type = 'src'; } if (path == null) { return "@angular/" + pkg + "/index"; } else { return "@angular/" + pkg + "/" + type + "/" + path; } } /** * @param {?} identifier * @return {?} */ function resolveIdentifier(identifier) { return __WEBPACK_IMPORTED_MODULE_1__private_import_core__["reflector"].resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime); } /** * @param {?} identifier * @return {?} */ function createIdentifier(identifier) { var /** @type {?} */ reference = __WEBPACK_IMPORTED_MODULE_1__private_import_core__["reflector"].resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime); return { reference: reference }; } /** * @param {?} identifier * @return {?} */ function identifierToken(identifier) { return { identifier: identifier }; } /** * @param {?} identifier * @return {?} */ function createIdentifierToken(identifier) { return identifierToken(createIdentifier(identifier)); } /** * @param {?} enumType * @param {?} name * @return {?} */ function createEnumIdentifier(enumType, name) { var /** @type {?} */ resolvedEnum = __WEBPACK_IMPORTED_MODULE_1__private_import_core__["reflector"].resolveEnum(resolveIdentifier(enumType), name); return { reference: resolvedEnum }; } //# sourceMappingURL=identifiers.js.map /***/ }), /* 20 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony export (immutable) */ __webpack_exports__["CompilerInjectable"] = CompilerInjectable; /** * A replacement for \@Injectable to be used in the compiler, so that * we don't try to evaluate the metadata in the compiler during AoT. * This decorator is enough to make the compiler work with the ReflectiveInjector though. * @return {?} */ function CompilerInjectable() { return function (x) { return x; }; } //# sourceMappingURL=injectable.js.map /***/ }), /* 21 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var isArray_1 = __webpack_require__(56); var isObject_1 = __webpack_require__(437); var isFunction_1 = __webpack_require__(296); var tryCatch_1 = __webpack_require__(27); var errorObject_1 = __webpack_require__(24); var UnsubscriptionError_1 = __webpack_require__(435); /** * Represents a disposable resource, such as the execution of an Observable. A * Subscription has one important method, `unsubscribe`, that takes no argument * and just disposes the resource held by the subscription. * * Additionally, subscriptions may be grouped together through the `add()` * method, which will attach a child Subscription to the current Subscription. * When a Subscription is unsubscribed, all its children (and its grandchildren) * will be unsubscribed as well. * * @class Subscription */ var Subscription = (function () { /** * @param {function(): void} [unsubscribe] A function describing how to * perform the disposal of resources when the `unsubscribe` method is called. */ function Subscription(unsubscribe) { /** * A flag to indicate whether this Subscription has already been unsubscribed. * @type {boolean} */ this.closed = false; if (unsubscribe) { this._unsubscribe = unsubscribe; } } /** * Disposes the resources held by the subscription. May, for instance, cancel * an ongoing Observable execution or cancel any other type of work that * started when the Subscription was created. * @return {void} */ Subscription.prototype.unsubscribe = function () { var hasErrors = false; var errors; if (this.closed) { return; } this.closed = true; var _a = this, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions; this._subscriptions = null; if (isFunction_1.isFunction(_unsubscribe)) { var trial = tryCatch_1.tryCatch(_unsubscribe).call(this); if (trial === errorObject_1.errorObject) { hasErrors = true; (errors = errors || []).push(errorObject_1.errorObject.e); } } if (isArray_1.isArray(_subscriptions)) { var index = -1; var len = _subscriptions.length; while (++index < len) { var sub = _subscriptions[index]; if (isObject_1.isObject(sub)) { var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub); if (trial === errorObject_1.errorObject) { hasErrors = true; errors = errors || []; var err = errorObject_1.errorObject.e; if (err instanceof UnsubscriptionError_1.UnsubscriptionError) { errors = errors.concat(err.errors); } else { errors.push(err); } } } } } if (hasErrors) { throw new UnsubscriptionError_1.UnsubscriptionError(errors); } }; /** * Adds a tear down to be called during the unsubscribe() of this * Subscription. * * If the tear down being added is a subscription that is already * unsubscribed, is the same reference `add` is being called on, or is * `Subscription.EMPTY`, it will not be added. * * If this subscription is already in an `closed` state, the passed * tear down logic will be executed immediately. * * @param {TeardownLogic} teardown The additional logic to execute on * teardown. * @return {Subscription} Returns the Subscription used or created to be * added to the inner subscriptions list. This Subscription can be used with * `remove()` to remove the passed teardown logic from the inner subscriptions * list. */ Subscription.prototype.add = function (teardown) { if (!teardown || (teardown === Subscription.EMPTY)) { return Subscription.EMPTY; } if (teardown === this) { return this; } var sub = teardown; switch (typeof teardown) { case 'function': sub = new Subscription(teardown); case 'object': if (sub.closed || typeof sub.unsubscribe !== 'function') { break; } else if (this.closed) { sub.unsubscribe(); } else { (this._subscriptions || (this._subscriptions = [])).push(sub); } break; default: throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.'); } return sub; }; /** * Removes a Subscription from the internal list of subscriptions that will * unsubscribe during the unsubscribe process of this Subscription. * @param {Subscription} subscription The subscription to remove. * @return {void} */ Subscription.prototype.remove = function (subscription) { // HACK: This might be redundant because of the logic in `add()` if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) { return; } var subscriptions = this._subscriptions; if (subscriptions) { var subscriptionIndex = subscriptions.indexOf(subscription); if (subscriptionIndex !== -1) { subscriptions.splice(subscriptionIndex, 1); } } }; Subscription.EMPTY = (function (empty) { empty.closed = true; return empty; }(new Subscription())); return Subscription; }()); exports.Subscription = Subscription; //# sourceMappingURL=Subscription.js.map /***/ }), /* 22 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony export (immutable) */ __webpack_exports__["getDOM"] = getDOM; /* harmony export (immutable) */ __webpack_exports__["setDOM"] = setDOM; /* harmony export (immutable) */ __webpack_exports__["setRootDomAdapter"] = setRootDomAdapter; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomAdapter", function() { return DomAdapter; }); /** * @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 /** @type {?} */ _DOM = null; /** * @return {?} */ function getDOM() { return _DOM; } /** * @param {?} adapter * @return {?} */ function setDOM(adapter) { _DOM = adapter; } /** * @param {?} adapter * @return {?} */ function setRootDomAdapter(adapter) { if (!_DOM) { _DOM = adapter; } } /** * Provides DOM operations in an environment-agnostic way. * * \@security Tread carefully! Interacting with the DOM directly is dangerous and * can introduce XSS risks. * @abstract */ var DomAdapter = (function () { function DomAdapter() { this.resourceLoaderType = null; } /** * @abstract * @param {?} element * @param {?} name * @return {?} */ DomAdapter.prototype.hasProperty = function (element /** TODO #9100 */, name) { }; /** * @abstract * @param {?} el * @param {?} name * @param {?} value * @return {?} */ DomAdapter.prototype.setProperty = function (el, name, value) { }; /** * @abstract * @param {?} el * @param {?} name * @return {?} */ DomAdapter.prototype.getProperty = function (el, name) { }; /** * @abstract * @param {?} el * @param {?} methodName * @param {?} args * @return {?} */ DomAdapter.prototype.invoke = function (el, methodName, args) { }; /** * @abstract * @param {?} error * @return {?} */ DomAdapter.prototype.logError = function (error) { }; /** * @abstract * @param {?} error * @return {?} */ DomAdapter.prototype.log = function (error) { }; /** * @abstract * @param {?} error * @return {?} */ DomAdapter.prototype.logGroup = function (error) { }; /** * @abstract * @return {?} */ DomAdapter.prototype.logGroupEnd = function () { }; Object.defineProperty(DomAdapter.prototype, "attrToPropMap", { /** * Maps attribute names to their corresponding property names for cases * where attribute name doesn't match property name. * @return {?} */ get: function () { return this._attrToPropMap; }, /** * @param {?} value * @return {?} */ set: function (value) { this._attrToPropMap = value; }, enumerable: true, configurable: true }); ; ; /** * @abstract * @param {?} templateHtml * @return {?} */ DomAdapter.prototype.parse = function (templateHtml) { }; /** * @abstract * @param {?} selector * @return {?} */ DomAdapter.prototype.query = function (selector) { }; /** * @abstract * @param {?} el * @param {?} selector * @return {?} */ DomAdapter.prototype.querySelector = function (el /** TODO #9100 */, selector) { }; /** * @abstract * @param {?} el * @param {?} selector * @return {?} */ DomAdapter.prototype.querySelectorAll = function (el /** TODO #9100 */, selector) { }; /** * @abstract * @param {?} el * @param {?} evt * @param {?} listener * @return {?} */ DomAdapter.prototype.on = function (el /** TODO #9100 */, evt /** TODO #9100 */, listener) { }; /** * @abstract * @param {?} el * @param {?} evt * @param {?} listener * @return {?} */ DomAdapter.prototype.onAndCancel = function (el /** TODO #9100 */, evt /** TODO #9100 */, listener) { }; /** * @abstract * @param {?} el * @param {?} evt * @return {?} */ DomAdapter.prototype.dispatchEvent = function (el /** TODO #9100 */, evt) { }; /** * @abstract * @param {?} eventType * @return {?} */ DomAdapter.prototype.createMouseEvent = function (eventType) { }; /** * @abstract * @param {?} eventType * @return {?} */ DomAdapter.prototype.createEvent = function (eventType) { }; /** * @abstract * @param {?} evt * @return {?} */ DomAdapter.prototype.preventDefault = function (evt) { }; /** * @abstract * @param {?} evt * @return {?} */ DomAdapter.prototype.isPrevented = function (evt) { }; /** * @abstract * @param {?} el * @return {?} */ DomAdapter.prototype.getInnerHTML = function (el) { }; /** * Returns content if el is a