{"version":3,"file":"compiler-testing.umd.js","sources":["../../../../packages/compiler/testing/index.ts","../../../../packages/compiler/testing/src/testing.ts","../../../../packages/compiler/testing/src/metadata_overrider.ts","../../../../packages/compiler/testing/src/pipe_resolver_mock.ts","../../../../packages/compiler/testing/src/ng_module_resolver_mock.ts","../../../../packages/compiler/testing/src/directive_resolver_mock.ts","../../../../packages/compiler/testing/src/schema_registry_mock.ts","../../../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the compiler/testing package.\n */\n\nexport * from './src/testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all APIs of the compiler package.\n *\n *
\n *
Unstable APIs
\n *

\n * All compiler apis are currently considered experimental and private!\n *

\n *

\n * We expect the APIs in this package to keep on changing. Do not rely on them.\n *

\n *
\n */\nexport * from './schema_registry_mock';\nexport * from './directive_resolver_mock';\nexport * from './ng_module_resolver_mock';\nexport * from './pipe_resolver_mock';\n\nimport {createPlatformFactory, ModuleWithComponentFactories, Injectable, CompilerOptions, COMPILER_OPTIONS, CompilerFactory, ComponentFactory, NgModuleFactory, Injector, NgModule, Component, Directive, Pipe, Type, PlatformRef, ɵstringify} from '@angular/core';\nimport {MetadataOverride, ɵTestingCompilerFactory as TestingCompilerFactory, ɵTestingCompiler as TestingCompiler} from '@angular/core/testing';\nimport {platformCoreDynamic, JitCompiler, DirectiveResolver, NgModuleResolver, PipeResolver, CompileMetadataResolver} from '@angular/compiler';\nimport {MockDirectiveResolver} from './directive_resolver_mock';\nimport {MockNgModuleResolver} from './ng_module_resolver_mock';\nimport {MockPipeResolver} from './pipe_resolver_mock';\nimport {MetadataOverrider} from './metadata_overrider';\n\n\nexport class TestingCompilerFactoryImpl implements TestingCompilerFactory {\n constructor(private _compilerFactory: CompilerFactory) {}\n\n createTestingCompiler(options: CompilerOptions[]): TestingCompiler {\n const compiler = this._compilerFactory.createCompiler(options);\n return new TestingCompilerImpl(\n compiler, compiler.injector.get(MockDirectiveResolver),\n compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver),\n compiler.injector.get(CompileMetadataResolver));\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Injectable },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: CompilerFactory, },\n];\n}\n\nexport class TestingCompilerImpl implements TestingCompiler {\n private _overrider = new MetadataOverrider();\n constructor(\n private _compiler: JitCompiler, private _directiveResolver: MockDirectiveResolver,\n private _pipeResolver: MockPipeResolver, private _moduleResolver: MockNgModuleResolver,\n private _metadataResolver: CompileMetadataResolver) {}\n get injector(): Injector { return this._compiler.injector; }\n\n compileModuleSync(moduleType: Type): NgModuleFactory {\n return this._compiler.compileModuleSync(moduleType);\n }\n\n compileModuleAsync(moduleType: Type): Promise> {\n return this._compiler.compileModuleAsync(moduleType);\n }\n compileModuleAndAllComponentsSync(moduleType: Type): ModuleWithComponentFactories {\n return this._compiler.compileModuleAndAllComponentsSync(moduleType);\n }\n\n compileModuleAndAllComponentsAsync(moduleType: Type):\n Promise> {\n return this._compiler.compileModuleAndAllComponentsAsync(moduleType);\n }\n\n getNgContentSelectors(component: Type): string[] {\n return this._compiler.getNgContentSelectors(component);\n }\n\n getComponentFactory(component: Type): ComponentFactory {\n return this._compiler.getComponentFactory(component);\n }\n\n checkOverrideAllowed(type: Type) {\n if (this._compiler.hasAotSummary(type)) {\n throw new Error(`${ɵstringify(type)} was AOT compiled, so its metadata cannot be changed.`);\n }\n }\n\n overrideModule(ngModule: Type, override: MetadataOverride): void {\n this.checkOverrideAllowed(ngModule);\n const oldMetadata = this._moduleResolver.resolve(ngModule, false);\n this._moduleResolver.setNgModule(\n ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override));\n }\n overrideDirective(directive: Type, override: MetadataOverride): void {\n this.checkOverrideAllowed(directive);\n const oldMetadata = this._directiveResolver.resolve(directive, false);\n this._directiveResolver.setDirective(\n directive, this._overrider.overrideMetadata(Directive, oldMetadata !, override));\n }\n overrideComponent(component: Type, override: MetadataOverride): void {\n this.checkOverrideAllowed(component);\n const oldMetadata = this._directiveResolver.resolve(component, false);\n this._directiveResolver.setDirective(\n component, this._overrider.overrideMetadata(Component, oldMetadata !, override));\n }\n overridePipe(pipe: Type, override: MetadataOverride): void {\n this.checkOverrideAllowed(pipe);\n const oldMetadata = this._pipeResolver.resolve(pipe, false);\n this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override));\n }\n loadAotSummaries(summaries: () => any[]) { this._compiler.loadAotSummaries(summaries); }\n clearCache(): void { this._compiler.clearCache(); }\n clearCacheFor(type: Type) { this._compiler.clearCacheFor(type); }\n}\n\n/**\n * Platform for dynamic tests\n *\n * @experimental\n */\nexport const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef =\n createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [\n {\n provide: COMPILER_OPTIONS,\n useValue: {\n providers: [\n MockPipeResolver,\n {provide: PipeResolver, useExisting: MockPipeResolver},\n MockDirectiveResolver,\n {provide: DirectiveResolver, useExisting: MockDirectiveResolver},\n MockNgModuleResolver,\n {provide: NgModuleResolver, useExisting: MockNgModuleResolver},\n ]\n },\n multi: true\n },\n {provide: TestingCompilerFactory, useClass: TestingCompilerFactoryImpl}\n ]);\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ɵstringify as stringify} from '@angular/core';\nimport {MetadataOverride} from '@angular/core/testing';\n\ntype StringMap = {\n [key: string]: any\n};\n\nlet _nextReferenceId = 0;\n\nexport class MetadataOverrider {\n private _references = new Map();\n /**\n * Creates a new instance for the given metadata class\n * based on an old instance and overrides.\n */\n overrideMetadata(\n metadataClass: {new (options: T): C;}, oldMetadata: C, override: MetadataOverride): C {\n const props: StringMap = {};\n if (oldMetadata) {\n _valueProps(oldMetadata).forEach((prop) => props[prop] = (oldMetadata)[prop]);\n }\n\n if (override.set) {\n if (override.remove || override.add) {\n throw new Error(`Cannot set and add/remove ${stringify(metadataClass)} at the same time!`);\n }\n setMetadata(props, override.set);\n }\n if (override.remove) {\n removeMetadata(props, override.remove, this._references);\n }\n if (override.add) {\n addMetadata(props, override.add);\n }\n return new metadataClass(props);\n }\n}\n\nfunction removeMetadata(metadata: StringMap, remove: any, references: Map) {\n const removeObjects = new Set();\n for (const prop in remove) {\n const removeValue = remove[prop];\n if (removeValue instanceof Array) {\n removeValue.forEach(\n (value: any) => { removeObjects.add(_propHashKey(prop, value, references)); });\n } else {\n removeObjects.add(_propHashKey(prop, removeValue, references));\n }\n }\n\n for (const prop in metadata) {\n const propValue = metadata[prop];\n if (propValue instanceof Array) {\n metadata[prop] = propValue.filter(\n (value: any) => !removeObjects.has(_propHashKey(prop, value, references)));\n } else {\n if (removeObjects.has(_propHashKey(prop, propValue, references))) {\n metadata[prop] = undefined;\n }\n }\n }\n}\n\nfunction addMetadata(metadata: StringMap, add: any) {\n for (const prop in add) {\n const addValue = add[prop];\n const propValue = metadata[prop];\n if (propValue != null && propValue instanceof Array) {\n metadata[prop] = propValue.concat(addValue);\n } else {\n metadata[prop] = addValue;\n }\n }\n}\n\nfunction setMetadata(metadata: StringMap, set: any) {\n for (const prop in set) {\n metadata[prop] = set[prop];\n }\n}\n\nfunction _propHashKey(propName: any, propValue: any, references: Map): string {\n const replacer = (key: any, value: any) => {\n if (typeof value === 'function') {\n value = _serializeReference(value, references);\n }\n return value;\n };\n\n return `${propName}:${JSON.stringify(propValue, replacer)}`;\n}\n\nfunction _serializeReference(ref: any, references: Map): string {\n let id = references.get(ref);\n if (!id) {\n id = `${stringify(ref)}${_nextReferenceId++}`;\n references.set(ref, id);\n }\n return id;\n}\n\n\nfunction _valueProps(obj: any): string[] {\n const props: string[] = [];\n // regular public props\n Object.keys(obj).forEach((prop) => {\n if (!prop.startsWith('_')) {\n props.push(prop);\n }\n });\n\n // getters\n let proto = obj;\n while (proto = Object.getPrototypeOf(proto)) {\n Object.keys(proto).forEach((protoProp) => {\n const desc = Object.getOwnPropertyDescriptor(proto, protoProp);\n if (!protoProp.startsWith('_') && desc && 'get' in desc) {\n props.push(protoProp);\n }\n });\n }\n return props;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, PipeResolver} from '@angular/compiler';\nimport {Compiler, Injectable, Injector, Pipe, Type} from '@angular/core';\n\n\nexport class MockPipeResolver extends PipeResolver {\n private _pipes = new Map, Pipe>();\n\n constructor(private _injector: Injector, refector: CompileReflector) { super(refector); }\n\n private get _compiler(): Compiler { return this._injector.get(Compiler); }\n\n private _clearCacheFor(pipe: Type) { this._compiler.clearCacheFor(pipe); }\n\n /**\n * Overrides the {@link Pipe} for a pipe.\n */\n setPipe(type: Type, metadata: Pipe): void {\n this._pipes.set(type, metadata);\n this._clearCacheFor(type);\n }\n\n /**\n * Returns the {@link Pipe} for a pipe:\n * - Set the {@link Pipe} to the overridden view when it exists or fallback to the\n * default\n * `PipeResolver`, see `setPipe`.\n */\n resolve(type: Type, throwIfNotFound = true): Pipe {\n let metadata = this._pipes.get(type);\n if (!metadata) {\n metadata = super.resolve(type, throwIfNotFound) !;\n }\n return metadata;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Injectable },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: Injector, },\n{type: CompileReflector, },\n];\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, NgModuleResolver} from '@angular/compiler';\nimport {Compiler, Injectable, Injector, NgModule, Type} from '@angular/core';\n\n\nexport class MockNgModuleResolver extends NgModuleResolver {\n private _ngModules = new Map, NgModule>();\n\n constructor(private _injector: Injector, reflector: CompileReflector) { super(reflector); }\n\n /**\n * Overrides the {@link NgModule} for a module.\n */\n setNgModule(type: Type, metadata: NgModule): void {\n this._ngModules.set(type, metadata);\n this._clearCacheFor(type);\n }\n\n /**\n * Returns the {@link NgModule} for a module:\n * - Set the {@link NgModule} to the overridden view when it exists or fallback to the\n * default\n * `NgModuleResolver`, see `setNgModule`.\n */\n resolve(type: Type, throwIfNotFound = true): NgModule {\n return this._ngModules.get(type) || super.resolve(type, throwIfNotFound) !;\n }\n\n private get _compiler(): Compiler { return this._injector.get(Compiler); }\n\n private _clearCacheFor(component: Type) { this._compiler.clearCacheFor(component); }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Injectable },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: Injector, },\n{type: CompileReflector, },\n];\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {CompileReflector, DirectiveResolver} from '@angular/compiler';\nimport {Compiler, Component, Directive, Injectable, Injector, Provider, Type, resolveForwardRef, ɵViewMetadata as ViewMetadata} from '@angular/core';\n\n\n\n/**\n * An implementation of {@link DirectiveResolver} that allows overriding\n * various properties of directives.\n */\n\nexport class MockDirectiveResolver extends DirectiveResolver {\n private _directives = new Map, Directive>();\n private _providerOverrides = new Map, any[]>();\n private _viewProviderOverrides = new Map, any[]>();\n private _views = new Map, ViewMetadata>();\n private _inlineTemplates = new Map, string>();\n\n constructor(private _injector: Injector, reflector: CompileReflector) { super(reflector); }\n\n private get _compiler(): Compiler { return this._injector.get(Compiler); }\n\n private _clearCacheFor(component: Type) { this._compiler.clearCacheFor(component); }\n\n resolve(type: Type): Directive;\n resolve(type: Type, throwIfNotFound: true): Directive;\n resolve(type: Type, throwIfNotFound: boolean): Directive|null;\n resolve(type: Type, throwIfNotFound = true): Directive|null {\n let metadata = this._directives.get(type) || null;\n if (!metadata) {\n metadata = super.resolve(type, throwIfNotFound);\n }\n if (!metadata) {\n return null;\n }\n\n const providerOverrides = this._providerOverrides.get(type);\n const viewProviderOverrides = this._viewProviderOverrides.get(type);\n\n let providers = metadata.providers;\n if (providerOverrides != null) {\n const originalViewProviders: Provider[] = metadata.providers || [];\n providers = originalViewProviders.concat(providerOverrides);\n }\n\n if (metadata instanceof Component) {\n let viewProviders = metadata.viewProviders;\n if (viewProviderOverrides != null) {\n const originalViewProviders: Provider[] = metadata.viewProviders || [];\n viewProviders = originalViewProviders.concat(viewProviderOverrides);\n }\n\n let view = this._views.get(type) || metadata;\n let animations = view.animations;\n let templateUrl: string|undefined = view.templateUrl;\n\n let inlineTemplate = this._inlineTemplates.get(type);\n if (inlineTemplate) {\n templateUrl = undefined;\n } else {\n inlineTemplate = view.template;\n }\n\n return new Component({\n selector: metadata.selector,\n inputs: metadata.inputs,\n outputs: metadata.outputs,\n host: metadata.host,\n exportAs: metadata.exportAs,\n moduleId: metadata.moduleId,\n queries: metadata.queries,\n changeDetection: metadata.changeDetection,\n providers: providers,\n viewProviders: viewProviders,\n entryComponents: metadata.entryComponents,\n template: inlineTemplate,\n templateUrl: templateUrl,\n animations: animations,\n styles: view.styles,\n styleUrls: view.styleUrls,\n encapsulation: view.encapsulation,\n interpolation: view.interpolation,\n preserveWhitespaces: view.preserveWhitespaces,\n });\n }\n\n return new Directive({\n selector: metadata.selector,\n inputs: metadata.inputs,\n outputs: metadata.outputs,\n host: metadata.host,\n providers: providers,\n exportAs: metadata.exportAs,\n queries: metadata.queries\n });\n }\n\n /**\n * Overrides the {@link Directive} for a directive.\n */\n setDirective(type: Type, metadata: Directive): void {\n this._directives.set(type, metadata);\n this._clearCacheFor(type);\n }\n\n setProvidersOverride(type: Type, providers: Provider[]): void {\n this._providerOverrides.set(type, providers);\n this._clearCacheFor(type);\n }\n\n setViewProvidersOverride(type: Type, viewProviders: Provider[]): void {\n this._viewProviderOverrides.set(type, viewProviders);\n this._clearCacheFor(type);\n }\n\n /**\n * Overrides the {@link ViewMetadata} for a component.\n */\n setView(component: Type, view: ViewMetadata): void {\n this._views.set(component, view);\n this._clearCacheFor(component);\n }\n /**\n * Overrides the inline template for a component - other configuration remains unchanged.\n */\n setInlineTemplate(component: Type, template: string): void {\n this._inlineTemplates.set(component, template);\n this._clearCacheFor(component);\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Injectable },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: Injector, },\n{type: CompileReflector, },\n];\n}\n\nfunction flattenArray(tree: any[], out: Array|any[]>): void {\n if (tree == null) return;\n for (let i = 0; i < tree.length; i++) {\n const item = resolveForwardRef(tree[i]);\n if (Array.isArray(item)) {\n flattenArray(item, out);\n } else {\n out.push(item);\n }\n }\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ElementSchemaRegistry} from '@angular/compiler';\nimport {SchemaMetadata, SecurityContext} from '@angular/core';\n\nexport class MockSchemaRegistry implements ElementSchemaRegistry {\n constructor(\n public existingProperties: {[key: string]: boolean},\n public attrPropMapping: {[key: string]: string},\n public existingElements: {[key: string]: boolean}, public invalidProperties: Array,\n public invalidAttributes: Array) {}\n\n hasProperty(tagName: string, property: string, schemas: SchemaMetadata[]): boolean {\n const value = this.existingProperties[property];\n return value === void 0 ? true : value;\n }\n\n hasElement(tagName: string, schemaMetas: SchemaMetadata[]): boolean {\n const value = this.existingElements[tagName.toLowerCase()];\n return value === void 0 ? true : value;\n }\n\n allKnownElementNames(): string[] { return Object.keys(this.existingElements); }\n\n securityContext(selector: string, property: string, isAttribute: boolean): SecurityContext {\n return SecurityContext.NONE;\n }\n\n getMappedPropName(attrName: string): string { return this.attrPropMapping[attrName] || attrName; }\n\n getDefaultComponentElementName(): string { return 'ng-component'; }\n\n validateProperty(name: string): {error: boolean, msg?: string} {\n if (this.invalidProperties.indexOf(name) > -1) {\n return {error: true, msg: `Binding to property '${name}' is disallowed for security reasons`};\n } else {\n return {error: false};\n }\n }\n\n validateAttribute(name: string): {error: boolean, msg?: string} {\n if (this.invalidAttributes.indexOf(name) > -1) {\n return {\n error: true,\n msg: `Binding to attribute '${name}' is disallowed for security reasons`\n };\n } else {\n return {error: false};\n }\n }\n\n normalizeAnimationStyleProperty(propName: string): string { return propName; }\n normalizeAnimationStyleValue(camelCaseProp: string, userProvidedProp: string, val: string|number):\n {error: string, value: string} {\n return {error: null !, value: val.toString()};\n }\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator];\r\n return m ? m.call(o) : typeof __values === \"function\" ? __values(o) : o[Symbol.iterator]();\r\n}"],"names":["NgModuleResolver","DirectiveResolver","PipeResolver","COMPILER_OPTIONS","createPlatformFactory","platformCoreDynamic","Pipe","Component","Directive","NgModule","ɵstringify","CompilerFactory","Injectable","CompileMetadataResolver","Compiler","tslib_1.__extends","SecurityContext"],"mappings":";;;;;;AOAA;;;;;;;;;;;;;;;;AAgBA,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;KACpC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;;AAE/E,AAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAC5B,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACpB,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IACvC,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,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